client/game/ddr.dll/lifted-0029.c (1263260B)
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_2B06A090(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(0x2B06A090u); 17 18 L_2B06A090: 19 SET_LO8(eax, MEM8(0x2B0EEE58)); /* 0x2B06A090: mov al, byte ptr [0x2b0eee58] */ 20 /* test LO8(eax), LO8(eax) */ /* 0x2B06A095: test al, al */ 21 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 22 _cf = 0; 23 _flag_k = FK_NARROW(FK_TEST, 24); 24 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A0AD; /* 0x2B06A097: je 0x2b06a0ad */ 25 L_2B06A099: 26 MEM8(0x2B0EEE58) = (uint8_t)(0); /* 0x2B06A099: mov byte ptr [0x2b0eee58], 0 */ 27 eax = MEM32(ecx); /* 0x2B06A0A0: mov eax, dword ptr [ecx] */ 28 ecx = MEM32(eax + 0x10); /* 0x2B06A0A2: mov ecx, dword ptr [eax + 0x10] */ 29 PUSH32(esp, 1); /* 0x2B06A0A5: push 1 */ 30 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06A0A7: call dword ptr [0x2b0b5ab4] */ 31 RECOMP_FLAGS_IN(); 32 L_2B06A0AD: 33 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A0AD: ret */ 34 RECOMP_REGS_OUT(); 35 } 36 37 void sub_2B06A0B0(void) { 38 int _fpu_cmp = 0; 39 uint32_t _cf = 0; 40 int _df = 1; 41 uint32_t _flag_k = FK_NONE; 42 uint32_t _flag_a = 0, _flag_b = 0; 43 uint32_t _itail_tgt = 0; 44 RECOMP_REGS_LOCALS 45 RECOMP_ENTER(0x2B06A0B0u); 46 47 L_2B06A0B0: 48 PUSH32(esp, ebp); /* 0x2B06A0B0: push ebp */ 49 ebp = esp; /* 0x2B06A0B1: mov ebp, esp */ 50 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 51 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 52 esp = esp - 0xCu; /* 0x2B06A0B3: sub esp, 0xc */ 53 _flag_k = FK_CMP; 54 PUSH32(esp, ebx); /* 0x2B06A0B6: push ebx */ 55 PUSH32(esp, esi); /* 0x2B06A0B7: push esi */ 56 PUSH32(esp, edi); /* 0x2B06A0B8: push edi */ 57 edi = ecx; /* 0x2B06A0B9: mov edi, ecx */ 58 ecx = MEM32(edi + 0x4); /* 0x2B06A0BB: mov ecx, dword ptr [edi + 4] */ 59 ebx = MEM32(ecx + 0x4); /* 0x2B06A0BE: mov ebx, dword ptr [ecx + 4] */ 60 edx = MEM32(edi + 0x8); /* 0x2B06A0C1: mov edx, dword ptr [edi + 8] */ 61 /* cmp ebx, edx */ /* 0x2B06A0C4: cmp ebx, edx */ 62 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 63 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 64 _flag_k = FK_CMP; 65 esi = ecx; /* 0x2B06A0C6: mov esi, ecx */ 66 SET_LO8(eax, 1); /* 0x2B06A0C8: mov al, 1 */ 67 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06A0EE; /* 0x2B06A0CA: je 0x2b06a0ee */ 68 L_2B06A0CC: 69 eax = MEM32(ebp + 0xC); /* 0x2B06A0CC: mov eax, dword ptr [ebp + 0xc] */ 70 eax = MEM32(eax); /* 0x2B06A0CF: mov eax, dword ptr [eax] */ 71 MEM32(ebp + (-0x8)) = eax; /* 0x2B06A0D1: mov dword ptr [ebp - 8], eax */ 72 L_2B06A0D4: 73 eax = MEM32(ebp + (-0x8)); /* 0x2B06A0D4: mov eax, dword ptr [ebp - 8] */ 74 /* cmp eax, MEM32(ebx + 0xC) */ /* 0x2B06A0D7: cmp eax, dword ptr [ebx + 0xc] */ 75 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebx + 0xC)); 76 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 77 _flag_k = FK_CMP; 78 esi = ebx; /* 0x2B06A0DA: mov esi, ebx */ 79 SET_LO8(eax, (CMP_L(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B06A0DC: setl al */ 80 /* test LO8(eax), LO8(eax) */ /* 0x2B06A0DF: test al, al */ 81 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 82 _cf = 0; 83 _flag_k = FK_NARROW(FK_TEST, 24); 84 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A0E7; /* 0x2B06A0E1: je 0x2b06a0e7 */ 85 L_2B06A0E3: 86 ebx = MEM32(ebx); /* 0x2B06A0E3: mov ebx, dword ptr [ebx] */ 87 goto L_2B06A0EA; /* 0x2B06A0E5: jmp 0x2b06a0ea */ 88 L_2B06A0E7: 89 ebx = MEM32(ebx + 0x8); /* 0x2B06A0E7: mov ebx, dword ptr [ebx + 8] */ 90 L_2B06A0EA: 91 /* cmp ebx, edx */ /* 0x2B06A0EA: cmp ebx, edx */ 92 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 93 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 94 _flag_k = FK_CMP; 95 RECOMP_BACKEDGE(); 96 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06A0D4; /* 0x2B06A0EC: jne 0x2b06a0d4 */ 97 L_2B06A0EE: 98 SET_LO8(edx, MEM8(edi + 0xC)); /* 0x2B06A0EE: mov dl, byte ptr [edi + 0xc] */ 99 /* test LO8(edx), LO8(edx) */ /* 0x2B06A0F1: test dl, dl */ 100 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 101 _cf = 0; 102 _flag_k = FK_NARROW(FK_TEST, 24); 103 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A269; /* 0x2B06A0F3: je 0x2b06a269 */ 104 L_2B06A0F9: 105 PUSH32(esp, 0); /* 0x2B06A0F9: push 0 */ 106 PUSH32(esp, esi); /* 0x2B06A0FB: push esi */ 107 ecx = edi; /* 0x2B06A0FC: mov ecx, edi */ 108 RECOMP_ICALL(0x2B078C00u); /* 0x2B06A0FE: call 0x2b078c00 */ /* not lifted */ 109 RECOMP_FLAGS_IN(); 110 ecx = MEM32(edi + 0x8); /* 0x2B06A103: mov ecx, dword ptr [edi + 8] */ 111 MEM32(eax) = ecx; /* 0x2B06A106: mov dword ptr [eax], ecx */ 112 edx = MEM32(edi + 0x8); /* 0x2B06A108: mov edx, dword ptr [edi + 8] */ 113 ecx = MEM32(ebp + 0xC); /* 0x2B06A10B: mov ecx, dword ptr [ebp + 0xc] */ 114 MEM32(ebp + (-0x4)) = eax; /* 0x2B06A10E: mov dword ptr [ebp - 4], eax */ 115 MEM32(eax + 0x8) = edx; /* 0x2B06A111: mov dword ptr [eax + 8], edx */ 116 PUSH32(esp, ecx); /* 0x2B06A114: push ecx */ 117 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 118 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 119 eax = eax + 0xCu; /* 0x2B06A115: add eax, 0xc */ 120 _flag_k = FK_ADD; 121 PUSH32(esp, eax); /* 0x2B06A118: push eax */ 122 RECOMP_ICALL(0x2B019D80u); /* 0x2B06A119: call 0x2b019d80 */ /* not lifted */ 123 RECOMP_FLAGS_IN(); 124 ecx = MEM32(edi + 0x10); /* 0x2B06A11E: mov ecx, dword ptr [edi + 0x10] */ 125 eax = MEM32(edi + 0x4); /* 0x2B06A121: mov eax, dword ptr [edi + 4] */ 126 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 127 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 128 esp = esp + 8; /* 0x2B06A124: add esp, 8 */ 129 _flag_k = FK_ADD; 130 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 131 ecx = ecx + 1; /* 0x2B06A127: inc ecx */ 132 _flag_k = FK_INC; 133 /* cmp esi, eax */ /* 0x2B06A128: cmp esi, eax */ 134 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 135 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 136 _flag_k = FK_CMP; 137 MEM32(edi + 0x10) = ecx; /* 0x2B06A12A: mov dword ptr [edi + 0x10], ecx */ 138 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06A151; /* 0x2B06A12D: je 0x2b06a151 */ 139 L_2B06A12F: 140 /* cmp ebx, MEM32(edi + 0x8) */ /* 0x2B06A12F: cmp ebx, dword ptr [edi + 8] */ 141 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 142 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 143 _flag_k = FK_CMP; 144 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06A151; /* 0x2B06A132: jne 0x2b06a151 */ 145 L_2B06A134: 146 edx = MEM32(ebp + 0xC); /* 0x2B06A134: mov edx, dword ptr [ebp + 0xc] */ 147 eax = MEM32(edx); /* 0x2B06A137: mov eax, dword ptr [edx] */ 148 /* cmp eax, MEM32(esi + 0xC) */ /* 0x2B06A139: cmp eax, dword ptr [esi + 0xc] */ 149 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0xC)); 150 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 151 _flag_k = FK_CMP; 152 if (CMP_L(_flag_a, _flag_b)) goto L_2B06A151; /* 0x2B06A13C: jl 0x2b06a151 */ 153 L_2B06A13E: 154 ebx = MEM32(ebp + (-0x4)); /* 0x2B06A13E: mov ebx, dword ptr [ebp - 4] */ 155 MEM32(esi + 0x8) = ebx; /* 0x2B06A141: mov dword ptr [esi + 8], ebx */ 156 eax = MEM32(edi + 0x4); /* 0x2B06A144: mov eax, dword ptr [edi + 4] */ 157 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B06A147: cmp esi, dword ptr [eax + 8] */ 158 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 159 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 160 _flag_k = FK_CMP; 161 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06A174; /* 0x2B06A14A: jne 0x2b06a174 */ 162 L_2B06A14C: 163 MEM32(eax + 0x8) = ebx; /* 0x2B06A14C: mov dword ptr [eax + 8], ebx */ 164 goto L_2B06A174; /* 0x2B06A14F: jmp 0x2b06a174 */ 165 L_2B06A151: 166 ecx = MEM32(ebp + (-0x4)); /* 0x2B06A151: mov ecx, dword ptr [ebp - 4] */ 167 MEM32(esi) = ecx; /* 0x2B06A154: mov dword ptr [esi], ecx */ 168 eax = MEM32(edi + 0x4); /* 0x2B06A156: mov eax, dword ptr [edi + 4] */ 169 /* cmp esi, eax */ /* 0x2B06A159: cmp esi, eax */ 170 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 171 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 172 _flag_k = FK_CMP; 173 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06A168; /* 0x2B06A15B: jne 0x2b06a168 */ 174 L_2B06A15D: 175 MEM32(eax + 0x4) = ecx; /* 0x2B06A15D: mov dword ptr [eax + 4], ecx */ 176 edx = MEM32(edi + 0x4); /* 0x2B06A160: mov edx, dword ptr [edi + 4] */ 177 MEM32(edx + 0x8) = ecx; /* 0x2B06A163: mov dword ptr [edx + 8], ecx */ 178 goto L_2B06A171; /* 0x2B06A166: jmp 0x2b06a171 */ 179 L_2B06A168: 180 /* cmp esi, MEM32(eax) */ /* 0x2B06A168: cmp esi, dword ptr [eax] */ 181 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax)); 182 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 183 _flag_k = FK_CMP; 184 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06A171; /* 0x2B06A16A: jne 0x2b06a171 */ 185 L_2B06A16C: 186 ecx = MEM32(ebp + (-0x4)); /* 0x2B06A16C: mov ecx, dword ptr [ebp - 4] */ 187 MEM32(eax) = ecx; /* 0x2B06A16F: mov dword ptr [eax], ecx */ 188 L_2B06A171: 189 ebx = MEM32(ebp + (-0x4)); /* 0x2B06A171: mov ebx, dword ptr [ebp - 4] */ 190 L_2B06A174: 191 edx = MEM32(edi + 0x4); /* 0x2B06A174: mov edx, dword ptr [edi + 4] */ 192 /* cmp ebx, MEM32(edx + 0x4) */ /* 0x2B06A177: cmp ebx, dword ptr [edx + 4] */ 193 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 194 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 195 _flag_k = FK_CMP; 196 esi = ebx; /* 0x2B06A17A: mov esi, ebx */ 197 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06A247; /* 0x2B06A17C: je 0x2b06a247 */ 198 L_2B06A182: 199 eax = MEM32(esi + 0x4); /* 0x2B06A182: mov eax, dword ptr [esi + 4] */ 200 SET_LO8(ecx, MEM8(eax + 0x14)); /* 0x2B06A185: mov cl, byte ptr [eax + 0x14] */ 201 /* test LO8(ecx), LO8(ecx) */ /* 0x2B06A188: test cl, cl */ 202 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 203 _cf = 0; 204 _flag_k = FK_NARROW(FK_TEST, 24); 205 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06A247; /* 0x2B06A18A: jne 0x2b06a247 */ 206 L_2B06A190: 207 edx = MEM32(eax + 0x4); /* 0x2B06A190: mov edx, dword ptr [eax + 4] */ 208 ecx = MEM32(edx); /* 0x2B06A193: mov ecx, dword ptr [edx] */ 209 /* cmp eax, ecx */ /* 0x2B06A195: cmp eax, ecx */ 210 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 211 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 212 _flag_k = FK_CMP; 213 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06A1ED; /* 0x2B06A197: jne 0x2b06a1ed */ 214 L_2B06A199: 215 ecx = MEM32(edx + 0x8); /* 0x2B06A199: mov ecx, dword ptr [edx + 8] */ 216 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2B06A19C: mov dl, byte ptr [ecx + 0x14] */ 217 /* test LO8(edx), LO8(edx) */ /* 0x2B06A19F: test dl, dl */ 218 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 219 _cf = 0; 220 _flag_k = FK_NARROW(FK_TEST, 24); 221 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06A1BD; /* 0x2B06A1A1: jne 0x2b06a1bd */ 222 L_2B06A1A3: 223 MEM8(eax + 0x14) = (uint8_t)(1); /* 0x2B06A1A3: mov byte ptr [eax + 0x14], 1 */ 224 MEM8(ecx + 0x14) = (uint8_t)(1); /* 0x2B06A1A7: mov byte ptr [ecx + 0x14], 1 */ 225 eax = MEM32(esi + 0x4); /* 0x2B06A1AB: mov eax, dword ptr [esi + 4] */ 226 ecx = MEM32(eax + 0x4); /* 0x2B06A1AE: mov ecx, dword ptr [eax + 4] */ 227 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06A1B1: mov byte ptr [ecx + 0x14], 0 */ 228 edx = MEM32(esi + 0x4); /* 0x2B06A1B5: mov edx, dword ptr [esi + 4] */ 229 esi = MEM32(edx + 0x4); /* 0x2B06A1B8: mov esi, dword ptr [edx + 4] */ 230 goto L_2B06A23B; /* 0x2B06A1BB: jmp 0x2b06a23b */ 231 L_2B06A1BD: 232 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B06A1BD: cmp esi, dword ptr [eax + 8] */ 233 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 234 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 235 _flag_k = FK_CMP; 236 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06A1CC; /* 0x2B06A1C0: jne 0x2b06a1cc */ 237 L_2B06A1C2: 238 esi = eax; /* 0x2B06A1C2: mov esi, eax */ 239 PUSH32(esp, esi); /* 0x2B06A1C4: push esi */ 240 ecx = edi; /* 0x2B06A1C5: mov ecx, edi */ 241 RECOMP_ICALL(0x2B02A580u); /* 0x2B06A1C7: call 0x2b02a580 */ /* not lifted */ 242 RECOMP_FLAGS_IN(); 243 L_2B06A1CC: 244 eax = MEM32(esi + 0x4); /* 0x2B06A1CC: mov eax, dword ptr [esi + 4] */ 245 MEM8(eax + 0x14) = (uint8_t)(1); /* 0x2B06A1CF: mov byte ptr [eax + 0x14], 1 */ 246 ecx = MEM32(esi + 0x4); /* 0x2B06A1D3: mov ecx, dword ptr [esi + 4] */ 247 edx = MEM32(ecx + 0x4); /* 0x2B06A1D6: mov edx, dword ptr [ecx + 4] */ 248 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x2B06A1D9: mov byte ptr [edx + 0x14], 0 */ 249 eax = MEM32(esi + 0x4); /* 0x2B06A1DD: mov eax, dword ptr [esi + 4] */ 250 ecx = MEM32(eax + 0x4); /* 0x2B06A1E0: mov ecx, dword ptr [eax + 4] */ 251 PUSH32(esp, ecx); /* 0x2B06A1E3: push ecx */ 252 ecx = edi; /* 0x2B06A1E4: mov ecx, edi */ 253 RECOMP_ICALL(0x2B08B210u); /* 0x2B06A1E6: call 0x2b08b210 */ /* not lifted */ 254 RECOMP_FLAGS_IN(); 255 goto L_2B06A23B; /* 0x2B06A1EB: jmp 0x2b06a23b */ 256 L_2B06A1ED: 257 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2B06A1ED: mov dl, byte ptr [ecx + 0x14] */ 258 /* test LO8(edx), LO8(edx) */ /* 0x2B06A1F0: test dl, dl */ 259 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 260 _cf = 0; 261 _flag_k = FK_NARROW(FK_TEST, 24); 262 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06A20E; /* 0x2B06A1F2: jne 0x2b06a20e */ 263 L_2B06A1F4: 264 MEM8(eax + 0x14) = (uint8_t)(1); /* 0x2B06A1F4: mov byte ptr [eax + 0x14], 1 */ 265 MEM8(ecx + 0x14) = (uint8_t)(1); /* 0x2B06A1F8: mov byte ptr [ecx + 0x14], 1 */ 266 edx = MEM32(esi + 0x4); /* 0x2B06A1FC: mov edx, dword ptr [esi + 4] */ 267 eax = MEM32(edx + 0x4); /* 0x2B06A1FF: mov eax, dword ptr [edx + 4] */ 268 MEM8(eax + 0x14) = (uint8_t)(0); /* 0x2B06A202: mov byte ptr [eax + 0x14], 0 */ 269 ecx = MEM32(esi + 0x4); /* 0x2B06A206: mov ecx, dword ptr [esi + 4] */ 270 esi = MEM32(ecx + 0x4); /* 0x2B06A209: mov esi, dword ptr [ecx + 4] */ 271 goto L_2B06A23B; /* 0x2B06A20C: jmp 0x2b06a23b */ 272 L_2B06A20E: 273 /* cmp esi, MEM32(eax) */ /* 0x2B06A20E: cmp esi, dword ptr [eax] */ 274 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax)); 275 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 276 _flag_k = FK_CMP; 277 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06A21C; /* 0x2B06A210: jne 0x2b06a21c */ 278 L_2B06A212: 279 esi = eax; /* 0x2B06A212: mov esi, eax */ 280 PUSH32(esp, esi); /* 0x2B06A214: push esi */ 281 ecx = edi; /* 0x2B06A215: mov ecx, edi */ 282 RECOMP_ICALL(0x2B08B210u); /* 0x2B06A217: call 0x2b08b210 */ /* not lifted */ 283 RECOMP_FLAGS_IN(); 284 L_2B06A21C: 285 edx = MEM32(esi + 0x4); /* 0x2B06A21C: mov edx, dword ptr [esi + 4] */ 286 MEM8(edx + 0x14) = (uint8_t)(1); /* 0x2B06A21F: mov byte ptr [edx + 0x14], 1 */ 287 eax = MEM32(esi + 0x4); /* 0x2B06A223: mov eax, dword ptr [esi + 4] */ 288 ecx = MEM32(eax + 0x4); /* 0x2B06A226: mov ecx, dword ptr [eax + 4] */ 289 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06A229: mov byte ptr [ecx + 0x14], 0 */ 290 edx = MEM32(esi + 0x4); /* 0x2B06A22D: mov edx, dword ptr [esi + 4] */ 291 eax = MEM32(edx + 0x4); /* 0x2B06A230: mov eax, dword ptr [edx + 4] */ 292 PUSH32(esp, eax); /* 0x2B06A233: push eax */ 293 ecx = edi; /* 0x2B06A234: mov ecx, edi */ 294 RECOMP_ICALL(0x2B02A580u); /* 0x2B06A236: call 0x2b02a580 */ /* not lifted */ 295 RECOMP_FLAGS_IN(); 296 L_2B06A23B: 297 ecx = MEM32(edi + 0x4); /* 0x2B06A23B: mov ecx, dword ptr [edi + 4] */ 298 /* cmp esi, MEM32(ecx + 0x4) */ /* 0x2B06A23E: cmp esi, dword ptr [ecx + 4] */ 299 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 300 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 301 _flag_k = FK_CMP; 302 RECOMP_BACKEDGE(); 303 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06A182; /* 0x2B06A241: jne 0x2b06a182 */ 304 L_2B06A247: 305 edx = MEM32(edi + 0x4); /* 0x2B06A247: mov edx, dword ptr [edi + 4] */ 306 eax = MEM32(edx + 0x4); /* 0x2B06A24A: mov eax, dword ptr [edx + 4] */ 307 MEM8(eax + 0x14) = (uint8_t)(1); /* 0x2B06A24D: mov byte ptr [eax + 0x14], 1 */ 308 eax = MEM32(ebp + 0x8); /* 0x2B06A251: mov eax, dword ptr [ebp + 8] */ 309 edi = POP32_VAL(esp); /* 0x2B06A254: pop edi */ 310 MEM8(ebp + (-0x8)) = (uint8_t)(1); /* 0x2B06A255: mov byte ptr [ebp - 8], 1 */ 311 ecx = MEM32(ebp + (-0x8)); /* 0x2B06A259: mov ecx, dword ptr [ebp - 8] */ 312 MEM32(eax) = ebx; /* 0x2B06A25C: mov dword ptr [eax], ebx */ 313 esi = POP32_VAL(esp); /* 0x2B06A25E: pop esi */ 314 MEM32(eax + 0x4) = ecx; /* 0x2B06A25F: mov dword ptr [eax + 4], ecx */ 315 ebx = POP32_VAL(esp); /* 0x2B06A262: pop ebx */ 316 esp = ebp; /* 0x2B06A263: mov esp, ebp */ 317 ebp = POP32_VAL(esp); /* 0x2B06A265: pop ebp */ 318 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B06A266: ret 8 */ 319 L_2B06A269: 320 /* test LO8(eax), LO8(eax) */ /* 0x2B06A269: test al, al */ 321 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 322 _cf = 0; 323 _flag_k = FK_NARROW(FK_TEST, 24); 324 edx = esi; /* 0x2B06A26B: mov edx, esi */ 325 MEM32(ebp + (-0x8)) = edx; /* 0x2B06A26D: mov dword ptr [ebp - 8], edx */ 326 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A2AC; /* 0x2B06A270: je 0x2b06a2ac */ 327 L_2B06A272: 328 /* cmp esi, MEM32(ecx) */ /* 0x2B06A272: cmp esi, dword ptr [ecx] */ 329 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ecx)); 330 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 331 _flag_k = FK_CMP; 332 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06A2A1; /* 0x2B06A274: jne 0x2b06a2a1 */ 333 L_2B06A276: 334 edx = MEM32(ebp + 0xC); /* 0x2B06A276: mov edx, dword ptr [ebp + 0xc] */ 335 PUSH32(esp, edx); /* 0x2B06A279: push edx */ 336 PUSH32(esp, esi); /* 0x2B06A27A: push esi */ 337 PUSH32(esp, ebx); /* 0x2B06A27B: push ebx */ 338 eax = ebp + 0xC; /* 0x2B06A27C: lea eax, [ebp + 0xc] */ 339 PUSH32(esp, eax); /* 0x2B06A27F: push eax */ 340 ecx = edi; /* 0x2B06A280: mov ecx, edi */ 341 RECOMP_ICALL(0x2B0325B0u); /* 0x2B06A282: call 0x2b0325b0 */ /* not lifted */ 342 RECOMP_FLAGS_IN(); 343 ecx = MEM32(eax); /* 0x2B06A287: mov ecx, dword ptr [eax] */ 344 eax = MEM32(ebp + 0x8); /* 0x2B06A289: mov eax, dword ptr [ebp + 8] */ 345 edi = POP32_VAL(esp); /* 0x2B06A28C: pop edi */ 346 MEM32(eax) = ecx; /* 0x2B06A28D: mov dword ptr [eax], ecx */ 347 MEM8(ebp + (-0x8)) = (uint8_t)(1); /* 0x2B06A28F: mov byte ptr [ebp - 8], 1 */ 348 ecx = MEM32(ebp + (-0x8)); /* 0x2B06A293: mov ecx, dword ptr [ebp - 8] */ 349 esi = POP32_VAL(esp); /* 0x2B06A296: pop esi */ 350 MEM32(eax + 0x4) = ecx; /* 0x2B06A297: mov dword ptr [eax + 4], ecx */ 351 ebx = POP32_VAL(esp); /* 0x2B06A29A: pop ebx */ 352 esp = ebp; /* 0x2B06A29B: mov esp, ebp */ 353 ebp = POP32_VAL(esp); /* 0x2B06A29D: pop ebp */ 354 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B06A29E: ret 8 */ 355 L_2B06A2A1: 356 ecx = ebp + (-0x8); /* 0x2B06A2A1: lea ecx, [ebp - 8] */ 357 RECOMP_ICALL(0x2B078C30u); /* 0x2B06A2A4: call 0x2b078c30 */ /* not lifted */ 358 RECOMP_FLAGS_IN(); 359 edx = MEM32(ebp + (-0x8)); /* 0x2B06A2A9: mov edx, dword ptr [ebp - 8] */ 360 L_2B06A2AC: 361 ecx = MEM32(edx + 0xC); /* 0x2B06A2AC: mov ecx, dword ptr [edx + 0xc] */ 362 eax = MEM32(ebp + 0xC); /* 0x2B06A2AF: mov eax, dword ptr [ebp + 0xc] */ 363 /* cmp ecx, MEM32(eax) */ /* 0x2B06A2B2: cmp ecx, dword ptr [eax] */ 364 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 365 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 366 _flag_k = FK_CMP; 367 if (CMP_GE(_flag_a, _flag_b)) goto L_2B06A2DE; /* 0x2B06A2B4: jge 0x2b06a2de */ 368 L_2B06A2B6: 369 PUSH32(esp, eax); /* 0x2B06A2B6: push eax */ 370 PUSH32(esp, esi); /* 0x2B06A2B7: push esi */ 371 PUSH32(esp, ebx); /* 0x2B06A2B8: push ebx */ 372 edx = ebp + 0xC; /* 0x2B06A2B9: lea edx, [ebp + 0xc] */ 373 PUSH32(esp, edx); /* 0x2B06A2BC: push edx */ 374 ecx = edi; /* 0x2B06A2BD: mov ecx, edi */ 375 RECOMP_ICALL(0x2B0325B0u); /* 0x2B06A2BF: call 0x2b0325b0 */ /* not lifted */ 376 RECOMP_FLAGS_IN(); 377 ecx = MEM32(eax); /* 0x2B06A2C4: mov ecx, dword ptr [eax] */ 378 eax = MEM32(ebp + 0x8); /* 0x2B06A2C6: mov eax, dword ptr [ebp + 8] */ 379 edi = POP32_VAL(esp); /* 0x2B06A2C9: pop edi */ 380 MEM32(eax) = ecx; /* 0x2B06A2CA: mov dword ptr [eax], ecx */ 381 MEM8(ebp + (-0x8)) = (uint8_t)(1); /* 0x2B06A2CC: mov byte ptr [ebp - 8], 1 */ 382 ecx = MEM32(ebp + (-0x8)); /* 0x2B06A2D0: mov ecx, dword ptr [ebp - 8] */ 383 esi = POP32_VAL(esp); /* 0x2B06A2D3: pop esi */ 384 MEM32(eax + 0x4) = ecx; /* 0x2B06A2D4: mov dword ptr [eax + 4], ecx */ 385 ebx = POP32_VAL(esp); /* 0x2B06A2D7: pop ebx */ 386 esp = ebp; /* 0x2B06A2D8: mov esp, ebp */ 387 ebp = POP32_VAL(esp); /* 0x2B06A2DA: pop ebp */ 388 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B06A2DB: ret 8 */ 389 L_2B06A2DE: 390 eax = MEM32(ebp + 0x8); /* 0x2B06A2DE: mov eax, dword ptr [ebp + 8] */ 391 edi = POP32_VAL(esp); /* 0x2B06A2E1: pop edi */ 392 MEM32(eax) = edx; /* 0x2B06A2E2: mov dword ptr [eax], edx */ 393 MEM8(ebp + (-0x8)) = (uint8_t)(0); /* 0x2B06A2E4: mov byte ptr [ebp - 8], 0 */ 394 edx = MEM32(ebp + (-0x8)); /* 0x2B06A2E8: mov edx, dword ptr [ebp - 8] */ 395 esi = POP32_VAL(esp); /* 0x2B06A2EB: pop esi */ 396 MEM32(eax + 0x4) = edx; /* 0x2B06A2EC: mov dword ptr [eax + 4], edx */ 397 ebx = POP32_VAL(esp); /* 0x2B06A2EF: pop ebx */ 398 esp = ebp; /* 0x2B06A2F0: mov esp, ebp */ 399 ebp = POP32_VAL(esp); /* 0x2B06A2F2: pop ebp */ 400 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B06A2F3: ret 8 */ 401 RECOMP_REGS_OUT(); 402 } 403 404 void sub_2B06A300(void) { 405 int _fpu_cmp = 0; 406 uint32_t _cf = 0; 407 int _df = 1; 408 uint32_t _flag_k = FK_NONE; 409 uint32_t _flag_a = 0, _flag_b = 0; 410 uint32_t _itail_tgt = 0; 411 RECOMP_REGS_LOCALS 412 RECOMP_ENTER(0x2B06A300u); 413 414 L_2B06A300: 415 eax = MEM32(ecx); /* 0x2B06A300: mov eax, dword ptr [ecx] */ 416 edx = MEM32(eax + 0x8); /* 0x2B06A302: mov edx, dword ptr [eax + 8] */ 417 PUSH32(esp, ebx); /* 0x2B06A305: push ebx */ 418 SET_LO8(ebx, MEM8(edx + 0x15)); /* 0x2B06A306: mov bl, byte ptr [edx + 0x15] */ 419 /* test LO8(ebx), LO8(ebx) */ /* 0x2B06A309: test bl, bl */ 420 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 421 _cf = 0; 422 _flag_k = FK_NARROW(FK_TEST, 24); 423 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06A325; /* 0x2B06A30B: jne 0x2b06a325 */ 424 L_2B06A30D: 425 eax = MEM32(edx); /* 0x2B06A30D: mov eax, dword ptr [edx] */ 426 SET_LO8(ebx, MEM8(eax + 0x15)); /* 0x2B06A30F: mov bl, byte ptr [eax + 0x15] */ 427 /* test LO8(ebx), LO8(ebx) */ /* 0x2B06A312: test bl, bl */ 428 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 429 _cf = 0; 430 _flag_k = FK_NARROW(FK_TEST, 24); 431 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06A321; /* 0x2B06A314: jne 0x2b06a321 */ 432 L_2B06A316: 433 edx = eax; /* 0x2B06A316: mov edx, eax */ 434 eax = MEM32(edx); /* 0x2B06A318: mov eax, dword ptr [edx] */ 435 SET_LO8(ebx, MEM8(eax + 0x15)); /* 0x2B06A31A: mov bl, byte ptr [eax + 0x15] */ 436 /* test LO8(ebx), LO8(ebx) */ /* 0x2B06A31D: test bl, bl */ 437 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 438 _cf = 0; 439 _flag_k = FK_NARROW(FK_TEST, 24); 440 RECOMP_BACKEDGE(); 441 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A316; /* 0x2B06A31F: je 0x2b06a316 */ 442 L_2B06A321: 443 MEM32(ecx) = edx; /* 0x2B06A321: mov dword ptr [ecx], edx */ 444 ebx = POP32_VAL(esp); /* 0x2B06A323: pop ebx */ 445 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A324: ret */ 446 L_2B06A325: 447 eax = MEM32(eax + 0x4); /* 0x2B06A325: mov eax, dword ptr [eax + 4] */ 448 edx = MEM32(ecx); /* 0x2B06A328: mov edx, dword ptr [ecx] */ 449 /* cmp edx, MEM32(eax + 0x8) */ /* 0x2B06A32A: cmp edx, dword ptr [eax + 8] */ 450 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 451 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 452 _flag_k = FK_CMP; 453 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06A33B; /* 0x2B06A32D: jne 0x2b06a33b */ 454 L_2B06A32F: 455 MEM32(ecx) = eax; /* 0x2B06A32F: mov dword ptr [ecx], eax */ 456 eax = MEM32(eax + 0x4); /* 0x2B06A331: mov eax, dword ptr [eax + 4] */ 457 edx = MEM32(ecx); /* 0x2B06A334: mov edx, dword ptr [ecx] */ 458 /* cmp edx, MEM32(eax + 0x8) */ /* 0x2B06A336: cmp edx, dword ptr [eax + 8] */ 459 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 460 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 461 _flag_k = FK_CMP; 462 RECOMP_BACKEDGE(); 463 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06A32F; /* 0x2B06A339: je 0x2b06a32f */ 464 L_2B06A33B: 465 edx = MEM32(ecx); /* 0x2B06A33B: mov edx, dword ptr [ecx] */ 466 /* cmp MEM32(edx + 0x8), eax */ /* 0x2B06A33D: cmp dword ptr [edx + 8], eax */ 467 _flag_a = (uint32_t)(MEM32(edx + 0x8)); _flag_b = (uint32_t)(eax); 468 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 469 _flag_k = FK_CMP; 470 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06A344; /* 0x2B06A340: je 0x2b06a344 */ 471 L_2B06A342: 472 MEM32(ecx) = eax; /* 0x2B06A342: mov dword ptr [ecx], eax */ 473 L_2B06A344: 474 ebx = POP32_VAL(esp); /* 0x2B06A344: pop ebx */ 475 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A345: ret */ 476 RECOMP_REGS_OUT(); 477 } 478 479 void sub_2B06A350(void) { 480 int _fpu_cmp = 0; 481 uint32_t _cf = 0; 482 int _df = 1; 483 uint32_t _flag_k = FK_NONE; 484 uint32_t _flag_a = 0, _flag_b = 0; 485 uint32_t _itail_tgt = 0; 486 RECOMP_REGS_LOCALS 487 RECOMP_ENTER(0x2B06A350u); 488 489 L_2B06A350: 490 MEM32(0x2B0EEE5C) = 0; /* 0x2B06A350: mov dword ptr [0x2b0eee5c], 0 */ 491 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A35A: ret */ 492 RECOMP_REGS_OUT(); 493 } 494 495 void sub_2B06A360(void) { 496 int _fpu_cmp = 0; 497 uint32_t _cf = 0; 498 int _df = 1; 499 uint32_t _flag_k = FK_NONE; 500 uint32_t _flag_a = 0, _flag_b = 0; 501 uint32_t _itail_tgt = 0; 502 RECOMP_REGS_LOCALS 503 RECOMP_ENTER(0x2B06A360u); 504 505 L_2B06A360: 506 PUSH32(esp, ebp); /* 0x2B06A360: push ebp */ 507 ebp = esp; /* 0x2B06A361: mov ebp, esp */ 508 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06A363: push -1 */ 509 PUSH32(esp, 0x2B0B0EFBu); /* 0x2B06A365: push 0x2b0b0efb */ 510 eax = MEM32(FS_BASE + (0)); /* 0x2B06A36A: mov eax, dword ptr fs:[0] */ 511 PUSH32(esp, eax); /* 0x2B06A370: push eax */ 512 MEM32(FS_BASE + (0)) = esp; /* 0x2B06A371: mov dword ptr fs:[0], esp */ 513 PUSH32(esp, ecx); /* 0x2B06A378: push ecx */ 514 eax = MEM32(0x2B0EEE5C); /* 0x2B06A379: mov eax, dword ptr [0x2b0eee5c] */ 515 /* test eax, eax */ /* 0x2B06A37E: test eax, eax */ 516 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 517 _cf = 0; 518 _flag_k = FK_TEST; 519 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06A3BB; /* 0x2B06A380: jne 0x2b06a3bb */ 520 L_2B06A382: 521 PUSH32(esp, 1); /* 0x2B06A382: push 1 */ 522 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06A384: call 0x2b0ab212 */ /* not lifted */ 523 RECOMP_FLAGS_IN(); 524 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 525 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 526 esp = esp + 4; /* 0x2B06A389: add esp, 4 */ 527 _flag_k = FK_ADD; 528 MEM32(ebp + (-0x10)) = eax; /* 0x2B06A38C: mov dword ptr [ebp - 0x10], eax */ 529 /* test eax, eax */ /* 0x2B06A38F: test eax, eax */ 530 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 531 _cf = 0; 532 _flag_k = FK_TEST; 533 MEM32(ebp + (-0x4)) = 0; /* 0x2B06A391: mov dword ptr [ebp - 4], 0 */ 534 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A3B4; /* 0x2B06A398: je 0x2b06a3b4 */ 535 L_2B06A39A: 536 ecx = eax; /* 0x2B06A39A: mov ecx, eax */ 537 RECOMP_ICALL(0x2B06A3E0u); /* 0x2B06A39C: call 0x2b06a3e0 */ /* not lifted */ 538 RECOMP_FLAGS_IN(); 539 MEM32(0x2B0EEE5C) = eax; /* 0x2B06A3A1: mov dword ptr [0x2b0eee5c], eax */ 540 ecx = MEM32(ebp + (-0xC)); /* 0x2B06A3A6: mov ecx, dword ptr [ebp - 0xc] */ 541 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06A3A9: mov dword ptr fs:[0], ecx */ 542 esp = ebp; /* 0x2B06A3B0: mov esp, ebp */ 543 ebp = POP32_VAL(esp); /* 0x2B06A3B2: pop ebp */ 544 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A3B3: ret */ 545 L_2B06A3B4: 546 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 547 eax = 0; /* 0x2B06A3B4: xor eax, eax */ 548 _cf = 0; 549 _flag_k = FK_TEST; 550 MEM32(0x2B0EEE5C) = eax; /* 0x2B06A3B6: mov dword ptr [0x2b0eee5c], eax */ 551 L_2B06A3BB: 552 ecx = MEM32(ebp + (-0xC)); /* 0x2B06A3BB: mov ecx, dword ptr [ebp - 0xc] */ 553 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06A3BE: mov dword ptr fs:[0], ecx */ 554 esp = ebp; /* 0x2B06A3C5: mov esp, ebp */ 555 ebp = POP32_VAL(esp); /* 0x2B06A3C7: pop ebp */ 556 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A3C8: ret */ 557 RECOMP_REGS_OUT(); 558 } 559 560 void sub_2B06A3D0(void) { 561 int _fpu_cmp = 0; 562 uint32_t _cf = 0; 563 int _df = 1; 564 uint32_t _flag_k = FK_NONE; 565 uint32_t _flag_a = 0, _flag_b = 0; 566 uint32_t _itail_tgt = 0; 567 RECOMP_REGS_LOCALS 568 RECOMP_ENTER(0x2B06A3D0u); 569 570 L_2B06A3D0: 571 eax = MEM32(0x2B0EEE5C); /* 0x2B06A3D0: mov eax, dword ptr [0x2b0eee5c] */ 572 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A3D5: ret */ 573 RECOMP_REGS_OUT(); 574 } 575 576 void sub_2B06A3E0(void) { 577 int _fpu_cmp = 0; 578 uint32_t _cf = 0; 579 int _df = 1; 580 uint32_t _flag_k = FK_NONE; 581 uint32_t _flag_a = 0, _flag_b = 0; 582 uint32_t _itail_tgt = 0; 583 RECOMP_REGS_LOCALS 584 RECOMP_ENTER(0x2B06A3E0u); 585 586 L_2B06A3E0: 587 PUSH32(esp, ebx); /* 0x2B06A3E0: push ebx */ 588 PUSH32(esp, esi); /* 0x2B06A3E1: push esi */ 589 esi = MEM32(0x2B0B53CC); /* 0x2B06A3E2: mov esi, dword ptr [0x2b0b53cc] */ 590 PUSH32(esp, edi); /* 0x2B06A3E8: push edi */ 591 ebx = ecx; /* 0x2B06A3E9: mov ebx, ecx */ 592 RECOMP_ICALL(esi); /* 0x2B06A3EB: call esi */ 593 RECOMP_FLAGS_IN(); 594 ecx = eax; /* 0x2B06A3ED: mov ecx, eax */ 595 RECOMP_ICALL(MEM32(0x2B0B5374)); /* 0x2B06A3EF: call dword ptr [0x2b0b5374] */ 596 RECOMP_FLAGS_IN(); 597 PUSH32(esp, 0); /* 0x2B06A3F5: push 0 */ 598 PUSH32(esp, 0x12u); /* 0x2B06A3F7: push 0x12 */ 599 PUSH32(esp, 1); /* 0x2B06A3F9: push 1 */ 600 RECOMP_ICALL(esi); /* 0x2B06A3FB: call esi */ 601 RECOMP_FLAGS_IN(); 602 ecx = eax; /* 0x2B06A3FD: mov ecx, eax */ 603 RECOMP_ICALL(MEM32(0x2B0B5378)); /* 0x2B06A3FF: call dword ptr [0x2b0b5378] */ 604 RECOMP_FLAGS_IN(); 605 PUSH32(esp, 0x2B001520u); /* 0x2B06A405: push 0x2b001520 */ 606 PUSH32(esp, 5); /* 0x2B06A40A: push 5 */ 607 RECOMP_ICALL(esi); /* 0x2B06A40C: call esi */ 608 RECOMP_FLAGS_IN(); 609 edi = MEM32(0x2B0B5324); /* 0x2B06A40E: mov edi, dword ptr [0x2b0b5324] */ 610 ecx = eax; /* 0x2B06A414: mov ecx, eax */ 611 RECOMP_ICALL(edi); /* 0x2B06A416: call edi */ 612 RECOMP_FLAGS_IN(); 613 PUSH32(esp, 0x2B06A530u); /* 0x2B06A418: push 0x2b06a530 */ 614 PUSH32(esp, 6); /* 0x2B06A41D: push 6 */ 615 RECOMP_ICALL(esi); /* 0x2B06A41F: call esi */ 616 RECOMP_FLAGS_IN(); 617 ecx = eax; /* 0x2B06A421: mov ecx, eax */ 618 RECOMP_ICALL(edi); /* 0x2B06A423: call edi */ 619 RECOMP_FLAGS_IN(); 620 PUSH32(esp, 0x2B06A700u); /* 0x2B06A425: push 0x2b06a700 */ 621 RECOMP_ICALL(esi); /* 0x2B06A42A: call esi */ 622 RECOMP_FLAGS_IN(); 623 ecx = eax; /* 0x2B06A42C: mov ecx, eax */ 624 RECOMP_ICALL(MEM32(0x2B0B537C)); /* 0x2B06A42E: call dword ptr [0x2b0b537c] */ 625 RECOMP_FLAGS_IN(); 626 PUSH32(esp, 0x2B06A560u); /* 0x2B06A434: push 0x2b06a560 */ 627 PUSH32(esp, 0xAAu); /* 0x2B06A439: push 0xaa */ 628 RECOMP_ICALL(esi); /* 0x2B06A43E: call esi */ 629 RECOMP_FLAGS_IN(); 630 ecx = eax; /* 0x2B06A440: mov ecx, eax */ 631 RECOMP_ICALL(edi); /* 0x2B06A442: call edi */ 632 RECOMP_FLAGS_IN(); 633 PUSH32(esp, 0x2B06A6A0u); /* 0x2B06A444: push 0x2b06a6a0 */ 634 PUSH32(esp, 0xE5u); /* 0x2B06A449: push 0xe5 */ 635 RECOMP_ICALL(esi); /* 0x2B06A44E: call esi */ 636 RECOMP_FLAGS_IN(); 637 ecx = eax; /* 0x2B06A450: mov ecx, eax */ 638 RECOMP_ICALL(edi); /* 0x2B06A452: call edi */ 639 RECOMP_FLAGS_IN(); 640 PUSH32(esp, 0x2B06A6E0u); /* 0x2B06A454: push 0x2b06a6e0 */ 641 PUSH32(esp, 0xE1u); /* 0x2B06A459: push 0xe1 */ 642 RECOMP_ICALL(esi); /* 0x2B06A45E: call esi */ 643 RECOMP_FLAGS_IN(); 644 ecx = eax; /* 0x2B06A460: mov ecx, eax */ 645 RECOMP_ICALL(edi); /* 0x2B06A462: call edi */ 646 RECOMP_FLAGS_IN(); 647 PUSH32(esp, 0x2B06A750u); /* 0x2B06A464: push 0x2b06a750 */ 648 PUSH32(esp, 0x3Fu); /* 0x2B06A469: push 0x3f */ 649 RECOMP_ICALL(esi); /* 0x2B06A46B: call esi */ 650 RECOMP_FLAGS_IN(); 651 ecx = eax; /* 0x2B06A46D: mov ecx, eax */ 652 RECOMP_ICALL(edi); /* 0x2B06A46F: call edi */ 653 RECOMP_FLAGS_IN(); 654 PUSH32(esp, 0x2B06A710u); /* 0x2B06A471: push 0x2b06a710 */ 655 PUSH32(esp, 0xE4u); /* 0x2B06A476: push 0xe4 */ 656 RECOMP_ICALL(esi); /* 0x2B06A47B: call esi */ 657 RECOMP_FLAGS_IN(); 658 ecx = eax; /* 0x2B06A47D: mov ecx, eax */ 659 RECOMP_ICALL(edi); /* 0x2B06A47F: call edi */ 660 RECOMP_FLAGS_IN(); 661 PUSH32(esp, 0x2B06A780u); /* 0x2B06A481: push 0x2b06a780 */ 662 PUSH32(esp, 0xE6u); /* 0x2B06A486: push 0xe6 */ 663 RECOMP_ICALL(esi); /* 0x2B06A48B: call esi */ 664 RECOMP_FLAGS_IN(); 665 ecx = eax; /* 0x2B06A48D: mov ecx, eax */ 666 RECOMP_ICALL(edi); /* 0x2B06A48F: call edi */ 667 RECOMP_FLAGS_IN(); 668 PUSH32(esp, 0x2B06A7C0u); /* 0x2B06A491: push 0x2b06a7c0 */ 669 PUSH32(esp, 0xE7u); /* 0x2B06A496: push 0xe7 */ 670 RECOMP_ICALL(esi); /* 0x2B06A49B: call esi */ 671 RECOMP_FLAGS_IN(); 672 ecx = eax; /* 0x2B06A49D: mov ecx, eax */ 673 RECOMP_ICALL(edi); /* 0x2B06A49F: call edi */ 674 RECOMP_FLAGS_IN(); 675 PUSH32(esp, 0x2B06A810u); /* 0x2B06A4A1: push 0x2b06a810 */ 676 PUSH32(esp, 0xE8u); /* 0x2B06A4A6: push 0xe8 */ 677 RECOMP_ICALL(esi); /* 0x2B06A4AB: call esi */ 678 RECOMP_FLAGS_IN(); 679 ecx = eax; /* 0x2B06A4AD: mov ecx, eax */ 680 RECOMP_ICALL(edi); /* 0x2B06A4AF: call edi */ 681 RECOMP_FLAGS_IN(); 682 PUSH32(esp, 0x2B06A820u); /* 0x2B06A4B1: push 0x2b06a820 */ 683 PUSH32(esp, 0xE9u); /* 0x2B06A4B6: push 0xe9 */ 684 RECOMP_ICALL(esi); /* 0x2B06A4BB: call esi */ 685 RECOMP_FLAGS_IN(); 686 ecx = eax; /* 0x2B06A4BD: mov ecx, eax */ 687 RECOMP_ICALL(edi); /* 0x2B06A4BF: call edi */ 688 RECOMP_FLAGS_IN(); 689 PUSH32(esp, 0x2B06A830u); /* 0x2B06A4C1: push 0x2b06a830 */ 690 PUSH32(esp, 0xEAu); /* 0x2B06A4C6: push 0xea */ 691 RECOMP_ICALL(esi); /* 0x2B06A4CB: call esi */ 692 RECOMP_FLAGS_IN(); 693 ecx = eax; /* 0x2B06A4CD: mov ecx, eax */ 694 RECOMP_ICALL(edi); /* 0x2B06A4CF: call edi */ 695 RECOMP_FLAGS_IN(); 696 PUSH32(esp, 0x2B06A840u); /* 0x2B06A4D1: push 0x2b06a840 */ 697 PUSH32(esp, 0xEBu); /* 0x2B06A4D6: push 0xeb */ 698 RECOMP_ICALL(esi); /* 0x2B06A4DB: call esi */ 699 RECOMP_FLAGS_IN(); 700 ecx = eax; /* 0x2B06A4DD: mov ecx, eax */ 701 RECOMP_ICALL(edi); /* 0x2B06A4DF: call edi */ 702 RECOMP_FLAGS_IN(); 703 PUSH32(esp, 0x2B06A860u); /* 0x2B06A4E1: push 0x2b06a860 */ 704 PUSH32(esp, 0x6Eu); /* 0x2B06A4E6: push 0x6e */ 705 RECOMP_ICALL(esi); /* 0x2B06A4E8: call esi */ 706 RECOMP_FLAGS_IN(); 707 ecx = eax; /* 0x2B06A4EA: mov ecx, eax */ 708 RECOMP_ICALL(edi); /* 0x2B06A4EC: call edi */ 709 RECOMP_FLAGS_IN(); 710 PUSH32(esp, 0x2B06A870u); /* 0x2B06A4EE: push 0x2b06a870 */ 711 PUSH32(esp, 0xECu); /* 0x2B06A4F3: push 0xec */ 712 RECOMP_ICALL(esi); /* 0x2B06A4F8: call esi */ 713 RECOMP_FLAGS_IN(); 714 ecx = eax; /* 0x2B06A4FA: mov ecx, eax */ 715 RECOMP_ICALL(edi); /* 0x2B06A4FC: call edi */ 716 RECOMP_FLAGS_IN(); 717 PUSH32(esp, 0x2B06A880u); /* 0x2B06A4FE: push 0x2b06a880 */ 718 PUSH32(esp, 0xE3u); /* 0x2B06A503: push 0xe3 */ 719 RECOMP_ICALL(esi); /* 0x2B06A508: call esi */ 720 RECOMP_FLAGS_IN(); 721 ecx = eax; /* 0x2B06A50A: mov ecx, eax */ 722 RECOMP_ICALL(edi); /* 0x2B06A50C: call edi */ 723 RECOMP_FLAGS_IN(); 724 PUSH32(esp, 0x2B06A890u); /* 0x2B06A50E: push 0x2b06a890 */ 725 PUSH32(esp, 0xE2u); /* 0x2B06A513: push 0xe2 */ 726 RECOMP_ICALL(esi); /* 0x2B06A518: call esi */ 727 RECOMP_FLAGS_IN(); 728 ecx = eax; /* 0x2B06A51A: mov ecx, eax */ 729 RECOMP_ICALL(edi); /* 0x2B06A51C: call edi */ 730 RECOMP_FLAGS_IN(); 731 edi = POP32_VAL(esp); /* 0x2B06A51E: pop edi */ 732 esi = POP32_VAL(esp); /* 0x2B06A51F: pop esi */ 733 eax = ebx; /* 0x2B06A520: mov eax, ebx */ 734 ebx = POP32_VAL(esp); /* 0x2B06A522: pop ebx */ 735 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A523: ret */ 736 RECOMP_REGS_OUT(); 737 } 738 739 void sub_2B06A530(void) { 740 int _fpu_cmp = 0; 741 uint32_t _cf = 0; 742 int _df = 1; 743 uint32_t _flag_k = FK_NONE; 744 uint32_t _flag_a = 0, _flag_b = 0; 745 uint32_t _itail_tgt = 0; 746 RECOMP_REGS_LOCALS 747 RECOMP_ENTER(0x2B06A530u); 748 749 L_2B06A530: 750 PUSH32(esp, esi); /* 0x2B06A530: push esi */ 751 esi = MEM32(0x2B0EEE60); /* 0x2B06A531: mov esi, dword ptr [0x2b0eee60] */ 752 /* test esi, esi */ /* 0x2B06A537: test esi, esi */ 753 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 754 _cf = 0; 755 _flag_k = FK_TEST; 756 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A54B; /* 0x2B06A539: je 0x2b06a54b */ 757 L_2B06A53B: 758 ecx = esi; /* 0x2B06A53B: mov ecx, esi */ 759 RECOMP_ICALL(0x2B0698E0u); /* 0x2B06A53D: call 0x2b0698e0 */ /* not lifted */ 760 RECOMP_FLAGS_IN(); 761 PUSH32(esp, esi); /* 0x2B06A542: push esi */ 762 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06A543: call 0x2b0ab1ba */ /* not lifted */ 763 RECOMP_FLAGS_IN(); 764 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 765 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 766 esp = esp + 4; /* 0x2B06A548: add esp, 4 */ 767 _flag_k = FK_ADD; 768 L_2B06A54B: 769 MEM32(0x2B0EEE60) = 0; /* 0x2B06A54B: mov dword ptr [0x2b0eee60], 0 */ 770 esi = POP32_VAL(esp); /* 0x2B06A555: pop esi */ 771 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A556: ret */ 772 RECOMP_REGS_OUT(); 773 } 774 775 void sub_2B06A560(void) { 776 int _fpu_cmp = 0; 777 uint32_t _cf = 0; 778 int _df = 1; 779 uint32_t _flag_k = FK_NONE; 780 uint32_t _flag_a = 0, _flag_b = 0; 781 uint32_t _itail_tgt = 0; 782 RECOMP_REGS_LOCALS 783 RECOMP_ENTER(0x2B06A560u); 784 785 L_2B06A560: 786 PUSH32(esp, ebp); /* 0x2B06A560: push ebp */ 787 ebp = esp; /* 0x2B06A561: mov ebp, esp */ 788 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06A563: push -1 */ 789 PUSH32(esp, 0x2B0B0F1Bu); /* 0x2B06A565: push 0x2b0b0f1b */ 790 eax = MEM32(FS_BASE + (0)); /* 0x2B06A56A: mov eax, dword ptr fs:[0] */ 791 PUSH32(esp, eax); /* 0x2B06A570: push eax */ 792 MEM32(FS_BASE + (0)) = esp; /* 0x2B06A571: mov dword ptr fs:[0], esp */ 793 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x74u); 794 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 795 esp = esp - 0x74u; /* 0x2B06A578: sub esp, 0x74 */ 796 _flag_k = FK_CMP; 797 PUSH32(esp, esi); /* 0x2B06A57B: push esi */ 798 esi = MEM32(0x2B0EEE60); /* 0x2B06A57C: mov esi, dword ptr [0x2b0eee60] */ 799 /* test esi, esi */ /* 0x2B06A582: test esi, esi */ 800 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 801 _cf = 0; 802 _flag_k = FK_TEST; 803 PUSH32(esp, edi); /* 0x2B06A584: push edi */ 804 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06A660; /* 0x2B06A585: jne 0x2b06a660 */ 805 L_2B06A58B: 806 esi = MEM32(0x2B0B5D6C); /* 0x2B06A58B: mov esi, dword ptr [0x2b0b5d6c] */ 807 PUSH32(esp, 2); /* 0x2B06A591: push 2 */ 808 PUSH32(esp, 0x3Cu); /* 0x2B06A593: push 0x3c */ 809 RECOMP_ICALL(esi); /* 0x2B06A595: call esi */ 810 RECOMP_FLAGS_IN(); 811 edi = MEM32(0x2B0B5D70); /* 0x2B06A597: mov edi, dword ptr [0x2b0b5d70] */ 812 ecx = eax; /* 0x2B06A59D: mov ecx, eax */ 813 RECOMP_ICALL(edi); /* 0x2B06A59F: call edi */ 814 RECOMP_FLAGS_IN(); 815 /* cmp eax, 1 */ /* 0x2B06A5A1: cmp eax, 1 */ 816 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 817 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 818 _flag_k = FK_CMP; 819 if (CMP_L(_flag_a, _flag_b)) goto L_2B06A63C; /* 0x2B06A5A4: jl 0x2b06a63c */ 820 L_2B06A5AA: 821 /* cmp eax, 0xCu */ /* 0x2B06A5AA: cmp eax, 0xc */ 822 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 823 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 824 _flag_k = FK_CMP; 825 if (CMP_G(_flag_a, _flag_b)) goto L_2B06A63C; /* 0x2B06A5AD: jg 0x2b06a63c */ 826 L_2B06A5B3: 827 PUSH32(esp, 2); /* 0x2B06A5B3: push 2 */ 828 PUSH32(esp, 0x21u); /* 0x2B06A5B5: push 0x21 */ 829 RECOMP_ICALL(esi); /* 0x2B06A5B7: call esi */ 830 RECOMP_FLAGS_IN(); 831 ecx = eax; /* 0x2B06A5B9: mov ecx, eax */ 832 RECOMP_ICALL(edi); /* 0x2B06A5BB: call edi */ 833 RECOMP_FLAGS_IN(); 834 /* cmp eax, 3 */ /* 0x2B06A5BD: cmp eax, 3 */ 835 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 836 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 837 _flag_k = FK_CMP; 838 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06A605; /* 0x2B06A5C0: je 0x2b06a605 */ 839 L_2B06A5C2: 840 PUSH32(esp, 0x28u); /* 0x2B06A5C2: push 0x28 */ 841 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06A5C4: call 0x2b0ab212 */ /* not lifted */ 842 RECOMP_FLAGS_IN(); 843 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 844 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 845 esp = esp + 4; /* 0x2B06A5C9: add esp, 4 */ 846 _flag_k = FK_ADD; 847 MEM32(ebp + (-0x10)) = eax; /* 0x2B06A5CC: mov dword ptr [ebp - 0x10], eax */ 848 /* test eax, eax */ /* 0x2B06A5CF: test eax, eax */ 849 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 850 _cf = 0; 851 _flag_k = FK_TEST; 852 MEM32(ebp + (-0x4)) = 0; /* 0x2B06A5D1: mov dword ptr [ebp - 4], 0 */ 853 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A5E3; /* 0x2B06A5D8: je 0x2b06a5e3 */ 854 L_2B06A5DA: 855 ecx = eax; /* 0x2B06A5DA: mov ecx, eax */ 856 RECOMP_ICALL(0x2B069310u); /* 0x2B06A5DC: call 0x2b069310 */ /* not lifted */ 857 RECOMP_FLAGS_IN(); 858 goto L_2B06A5E5; /* 0x2B06A5E1: jmp 0x2b06a5e5 */ 859 L_2B06A5E3: 860 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 861 eax = 0; /* 0x2B06A5E3: xor eax, eax */ 862 _cf = 0; 863 _flag_k = FK_TEST; 864 L_2B06A5E5: 865 MEM32(0x2B0EEE60) = eax; /* 0x2B06A5E5: mov dword ptr [0x2b0eee60], eax */ 866 eax = MEM32(0x2B0EF09C); /* 0x2B06A5EA: mov eax, dword ptr [0x2b0ef09c] */ 867 /* test eax, eax */ /* 0x2B06A5EF: test eax, eax */ 868 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 869 _cf = 0; 870 _flag_k = FK_TEST; 871 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B06A5F1: mov dword ptr [ebp - 4], 0xffffffff */ 872 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A68E; /* 0x2B06A5F8: je 0x2b06a68e */ 873 L_2B06A5FE: 874 PUSH32(esp, 2); /* 0x2B06A5FE: push 2 */ 875 goto L_2B06A685; /* 0x2B06A600: jmp 0x2b06a685 */ 876 L_2B06A605: 877 ecx = 0xEu; /* 0x2B06A605: mov ecx, 0xe */ 878 esi = 0x2B0EB3E0u; /* 0x2B06A60A: mov esi, 0x2b0eb3e0 */ 879 edi = ebp + (-0x80); /* 0x2B06A60F: lea edi, [ebp - 0x80] */ 880 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06A612: 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; } 881 MEM16(edi) = MEM16(esi); esi += _df * 2; edi += _df * 2; /* 0x2B06A614: movsw word ptr es:[edi], word ptr [esi] */ 882 MEM8(edi) = MEM8(esi); esi += _df; edi += _df; /* 0x2B06A616: movsb byte ptr es:[edi], byte ptr [esi] */ 883 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 884 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06A617: or ecx, 0xffffffff */ 885 _cf = 0; 886 _flag_k = FK_TEST; 887 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 888 eax = 0; /* 0x2B06A61A: xor eax, eax */ 889 _cf = 0; 890 _flag_k = FK_TEST; 891 edi = ebp + (-0x80); /* 0x2B06A61C: lea edi, [ebp - 0x80] */ 892 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; } /* 0x2B06A61F: repne scasb al, byte ptr es:[edi] */ 893 ecx = ~ecx; /* 0x2B06A621: not ecx */ 894 PUSH32(esp, ecx); /* 0x2B06A623: push ecx */ 895 eax = ebp + (-0x80); /* 0x2B06A624: lea eax, [ebp - 0x80] */ 896 PUSH32(esp, eax); /* 0x2B06A627: push eax */ 897 L_2B06A628: 898 PUSH32(esp, 0x3Fu); /* 0x2B06A628: push 0x3f */ 899 PUSH32(esp, 3); /* 0x2B06A62A: push 3 */ 900 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B06A62C: call dword ptr [0x2b0b53cc] */ 901 RECOMP_FLAGS_IN(); 902 ecx = eax; /* 0x2B06A632: mov ecx, eax */ 903 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B06A634: call dword ptr [0x2b0b53c4] */ 904 RECOMP_FLAGS_IN(); 905 goto L_2B06A67A; /* 0x2B06A63A: jmp 0x2b06a67a */ 906 L_2B06A63C: 907 ecx = 0xCu; /* 0x2B06A63C: mov ecx, 0xc */ 908 esi = 0x2B0EB3ACu; /* 0x2B06A641: mov esi, 0x2b0eb3ac */ 909 edi = ebp + (-0x44); /* 0x2B06A646: lea edi, [ebp - 0x44] */ 910 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06A649: 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; } 911 MEM16(edi) = MEM16(esi); esi += _df * 2; edi += _df * 2; /* 0x2B06A64B: movsw word ptr es:[edi], word ptr [esi] */ 912 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 913 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06A64D: or ecx, 0xffffffff */ 914 _cf = 0; 915 _flag_k = FK_TEST; 916 edi = ebp + (-0x44); /* 0x2B06A650: lea edi, [ebp - 0x44] */ 917 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 918 eax = 0; /* 0x2B06A653: xor eax, eax */ 919 _cf = 0; 920 _flag_k = FK_TEST; 921 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; } /* 0x2B06A655: repne scasb al, byte ptr es:[edi] */ 922 ecx = ~ecx; /* 0x2B06A657: not ecx */ 923 PUSH32(esp, ecx); /* 0x2B06A659: push ecx */ 924 ecx = ebp + (-0x44); /* 0x2B06A65A: lea ecx, [ebp - 0x44] */ 925 PUSH32(esp, ecx); /* 0x2B06A65D: push ecx */ 926 RECOMP_BACKEDGE(); 927 goto L_2B06A628; /* 0x2B06A65E: jmp 0x2b06a628 */ 928 L_2B06A660: 929 ecx = esi; /* 0x2B06A660: mov ecx, esi */ 930 RECOMP_ICALL(0x2B0698E0u); /* 0x2B06A662: call 0x2b0698e0 */ /* not lifted */ 931 RECOMP_FLAGS_IN(); 932 PUSH32(esp, esi); /* 0x2B06A667: push esi */ 933 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06A668: call 0x2b0ab1ba */ /* not lifted */ 934 RECOMP_FLAGS_IN(); 935 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 936 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 937 esp = esp + 4; /* 0x2B06A66D: add esp, 4 */ 938 _flag_k = FK_ADD; 939 MEM32(0x2B0EEE60) = 0; /* 0x2B06A670: mov dword ptr [0x2b0eee60], 0 */ 940 L_2B06A67A: 941 eax = MEM32(0x2B0EF09C); /* 0x2B06A67A: mov eax, dword ptr [0x2b0ef09c] */ 942 /* test eax, eax */ /* 0x2B06A67F: test eax, eax */ 943 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 944 _cf = 0; 945 _flag_k = FK_TEST; 946 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A68E; /* 0x2B06A681: je 0x2b06a68e */ 947 L_2B06A683: 948 PUSH32(esp, 1); /* 0x2B06A683: push 1 */ 949 L_2B06A685: 950 ecx = MEM32(eax + 0x10); /* 0x2B06A685: mov ecx, dword ptr [eax + 0x10] */ 951 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06A688: call dword ptr [0x2b0b5ab4] */ 952 RECOMP_FLAGS_IN(); 953 L_2B06A68E: 954 ecx = MEM32(ebp + (-0xC)); /* 0x2B06A68E: mov ecx, dword ptr [ebp - 0xc] */ 955 edi = POP32_VAL(esp); /* 0x2B06A691: pop edi */ 956 esi = POP32_VAL(esp); /* 0x2B06A692: pop esi */ 957 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06A693: mov dword ptr fs:[0], ecx */ 958 esp = ebp; /* 0x2B06A69A: mov esp, ebp */ 959 ebp = POP32_VAL(esp); /* 0x2B06A69C: pop ebp */ 960 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A69D: ret */ 961 RECOMP_REGS_OUT(); 962 } 963 964 void sub_2B06A685(void) { 965 int _fpu_cmp = 0; 966 uint32_t _cf = 0; 967 int _df = 1; 968 uint32_t _flag_k = FK_NONE; 969 uint32_t _flag_a = 0, _flag_b = 0; 970 uint32_t _itail_tgt = 0; 971 RECOMP_REGS_LOCALS 972 RECOMP_ENTER(0x2B06A685u); 973 974 L_2B06A685: 975 ecx = MEM32(eax + 0x10); /* 0x2B06A685: mov ecx, dword ptr [eax + 0x10] */ 976 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06A688: call dword ptr [0x2b0b5ab4] */ 977 RECOMP_FLAGS_IN(); 978 ecx = MEM32(ebp + (-0xC)); /* 0x2B06A68E: mov ecx, dword ptr [ebp - 0xc] */ 979 edi = POP32_VAL(esp); /* 0x2B06A691: pop edi */ 980 esi = POP32_VAL(esp); /* 0x2B06A692: pop esi */ 981 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06A693: mov dword ptr fs:[0], ecx */ 982 esp = ebp; /* 0x2B06A69A: mov esp, ebp */ 983 ebp = POP32_VAL(esp); /* 0x2B06A69C: pop ebp */ 984 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A69D: ret */ 985 RECOMP_REGS_OUT(); 986 } 987 988 void sub_2B06A6A0(void) { 989 int _fpu_cmp = 0; 990 uint32_t _cf = 0; 991 int _df = 1; 992 uint32_t _flag_k = FK_NONE; 993 uint32_t _flag_a = 0, _flag_b = 0; 994 uint32_t _itail_tgt = 0; 995 RECOMP_REGS_LOCALS 996 RECOMP_ENTER(0x2B06A6A0u); 997 998 L_2B06A6A0: 999 PUSH32(esp, esi); /* 0x2B06A6A0: push esi */ 1000 esi = MEM32(0x2B0EEE60); /* 0x2B06A6A1: mov esi, dword ptr [0x2b0eee60] */ 1001 /* test esi, esi */ /* 0x2B06A6A7: test esi, esi */ 1002 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 1003 _cf = 0; 1004 _flag_k = FK_TEST; 1005 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A6BB; /* 0x2B06A6A9: je 0x2b06a6bb */ 1006 L_2B06A6AB: 1007 ecx = esi; /* 0x2B06A6AB: mov ecx, esi */ 1008 RECOMP_ICALL(0x2B0698E0u); /* 0x2B06A6AD: call 0x2b0698e0 */ /* not lifted */ 1009 RECOMP_FLAGS_IN(); 1010 PUSH32(esp, esi); /* 0x2B06A6B2: push esi */ 1011 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06A6B3: call 0x2b0ab1ba */ /* not lifted */ 1012 RECOMP_FLAGS_IN(); 1013 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1014 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1015 esp = esp + 4; /* 0x2B06A6B8: add esp, 4 */ 1016 _flag_k = FK_ADD; 1017 L_2B06A6BB: 1018 eax = MEM32(0x2B0EF09C); /* 0x2B06A6BB: mov eax, dword ptr [0x2b0ef09c] */ 1019 /* test eax, eax */ /* 0x2B06A6C0: test eax, eax */ 1020 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1021 _cf = 0; 1022 _flag_k = FK_TEST; 1023 MEM32(0x2B0EEE60) = 0; /* 0x2B06A6C2: mov dword ptr [0x2b0eee60], 0 */ 1024 esi = POP32_VAL(esp); /* 0x2B06A6CC: pop esi */ 1025 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A6DA; /* 0x2B06A6CD: je 0x2b06a6da */ 1026 L_2B06A6CF: 1027 ecx = MEM32(eax + 0x10); /* 0x2B06A6CF: mov ecx, dword ptr [eax + 0x10] */ 1028 PUSH32(esp, 1); /* 0x2B06A6D2: push 1 */ 1029 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06A6D4: call dword ptr [0x2b0b5ab4] */ 1030 RECOMP_FLAGS_IN(); 1031 L_2B06A6DA: 1032 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A6DA: ret */ 1033 RECOMP_REGS_OUT(); 1034 } 1035 1036 void sub_2B06A6E0(void) { 1037 int _fpu_cmp = 0; 1038 uint32_t _cf = 0; 1039 int _df = 1; 1040 uint32_t _flag_k = FK_NONE; 1041 uint32_t _flag_a = 0, _flag_b = 0; 1042 uint32_t _itail_tgt = 0; 1043 RECOMP_REGS_LOCALS 1044 RECOMP_ENTER(0x2B06A6E0u); 1045 1046 L_2B06A6E0: 1047 eax = MEM32(0x2B0EEE60); /* 0x2B06A6E0: mov eax, dword ptr [0x2b0eee60] */ 1048 /* test eax, eax */ /* 0x2B06A6E5: test eax, eax */ 1049 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1050 _cf = 0; 1051 _flag_k = FK_TEST; 1052 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A6F5; /* 0x2B06A6E7: je 0x2b06a6f5 */ 1053 L_2B06A6E9: 1054 ecx = MEM32(eax); /* 0x2B06A6E9: mov ecx, dword ptr [eax] */ 1055 PUSH32(esp, 0x2B0EB41Cu); /* 0x2B06A6EB: push 0x2b0eb41c */ 1056 RECOMP_ICALL(0x2B0675E0u); /* 0x2B06A6F0: call 0x2b0675e0 */ /* not lifted */ 1057 RECOMP_FLAGS_IN(); 1058 L_2B06A6F5: 1059 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A6F5: ret */ 1060 RECOMP_REGS_OUT(); 1061 } 1062 1063 void sub_2B06A700(void) { 1064 int _fpu_cmp = 0; 1065 uint32_t _cf = 0; 1066 int _df = 1; 1067 uint32_t _flag_k = FK_NONE; 1068 uint32_t _flag_a = 0, _flag_b = 0; 1069 uint32_t _itail_tgt = 0; 1070 RECOMP_REGS_LOCALS 1071 RECOMP_ENTER(0x2B06A700u); 1072 1073 goto L_2B06A700; 1074 L_2B069BB0: 1075 SET_LO8(eax, MEM8(0x2B0EEE58)); /* 0x2B069BB0: mov al, byte ptr [0x2b0eee58] */ 1076 /* test LO8(eax), LO8(eax) */ /* 0x2B069BB5: test al, al */ 1077 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1078 _cf = 0; 1079 _flag_k = FK_NARROW(FK_TEST, 24); 1080 PUSH32(esp, esi); /* 0x2B069BB7: push esi */ 1081 esi = ecx; /* 0x2B069BB8: mov esi, ecx */ 1082 if (TEST_Z(_flag_a, _flag_b)) goto L_2B069BCE; /* 0x2B069BBA: je 0x2b069bce */ 1083 L_2B069BBC: 1084 PUSH32(esp, 0x37u); /* 0x2B069BBC: push 0x37 */ 1085 PUSH32(esp, 2); /* 0x2B069BBE: push 2 */ 1086 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B069BC0: call dword ptr [0x2b0b53cc] */ 1087 RECOMP_FLAGS_IN(); 1088 ecx = eax; /* 0x2B069BC6: mov ecx, eax */ 1089 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B069BC8: call dword ptr [0x2b0b53c8] */ 1090 RECOMP_FLAGS_IN(); 1091 L_2B069BCE: 1092 ecx = MEM32(esi); /* 0x2B069BCE: mov ecx, dword ptr [esi] */ 1093 RECOMP_ICALL(0x2B067740u); /* 0x2B069BD0: call 0x2b067740 */ /* not lifted */ 1094 RECOMP_FLAGS_IN(); 1095 esi = POP32_VAL(esp); /* 0x2B069BD5: pop esi */ 1096 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B069BD6: ret */ 1097 L_2B06A700: 1098 ecx = MEM32(0x2B0EEE60); /* 0x2B06A700: mov ecx, dword ptr [0x2b0eee60] */ 1099 /* test ecx, ecx */ /* 0x2B06A706: test ecx, ecx */ 1100 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1101 _cf = 0; 1102 _flag_k = FK_TEST; 1103 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A70F; /* 0x2B06A708: je 0x2b06a70f */ 1104 L_2B06A70A: 1105 RECOMP_BACKEDGE(); 1106 goto L_2B069BB0; /* 0x2B06A70A: jmp 0x2b069bb0 */ 1107 L_2B06A70F: 1108 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A70F: ret */ 1109 RECOMP_REGS_OUT(); 1110 } 1111 1112 void sub_2B06A710(void) { 1113 int _fpu_cmp = 0; 1114 uint32_t _cf = 0; 1115 int _df = 1; 1116 uint32_t _flag_k = FK_NONE; 1117 uint32_t _flag_a = 0, _flag_b = 0; 1118 uint32_t _itail_tgt = 0; 1119 RECOMP_REGS_LOCALS 1120 RECOMP_ENTER(0x2B06A710u); 1121 1122 L_2B06A710: 1123 PUSH32(esp, ebp); /* 0x2B06A710: push ebp */ 1124 ebp = esp; /* 0x2B06A711: mov ebp, esp */ 1125 PUSH32(esp, ecx); /* 0x2B06A713: push ecx */ 1126 eax = MEM32(0x2B0EEE60); /* 0x2B06A714: mov eax, dword ptr [0x2b0eee60] */ 1127 /* test eax, eax */ /* 0x2B06A719: test eax, eax */ 1128 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1129 _cf = 0; 1130 _flag_k = FK_TEST; 1131 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A73E; /* 0x2B06A71B: je 0x2b06a73e */ 1132 L_2B06A71D: 1133 eax = ebp + (-0x4); /* 0x2B06A71D: lea eax, [ebp - 4] */ 1134 PUSH32(esp, eax); /* 0x2B06A720: push eax */ 1135 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B06A721: call dword ptr [0x2b0b53cc] */ 1136 RECOMP_FLAGS_IN(); 1137 ecx = eax; /* 0x2B06A727: mov ecx, eax */ 1138 RECOMP_ICALL(MEM32(0x2B0B53A8)); /* 0x2B06A729: call dword ptr [0x2b0b53a8] */ 1139 RECOMP_FLAGS_IN(); 1140 ecx = MEM32(ebp + (-0x4)); /* 0x2B06A72F: mov ecx, dword ptr [ebp - 4] */ 1141 PUSH32(esp, ecx); /* 0x2B06A732: push ecx */ 1142 ecx = MEM32(0x2B0EEE60); /* 0x2B06A733: mov ecx, dword ptr [0x2b0eee60] */ 1143 RECOMP_ICALL(0x2B069E40u); /* 0x2B06A739: call 0x2b069e40 */ /* not lifted */ 1144 RECOMP_FLAGS_IN(); 1145 L_2B06A73E: 1146 esp = ebp; /* 0x2B06A73E: mov esp, ebp */ 1147 ebp = POP32_VAL(esp); /* 0x2B06A740: pop ebp */ 1148 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A741: ret */ 1149 RECOMP_REGS_OUT(); 1150 } 1151 1152 void sub_2B06A750(void) { 1153 int _fpu_cmp = 0; 1154 uint32_t _cf = 0; 1155 int _df = 1; 1156 uint32_t _flag_k = FK_NONE; 1157 uint32_t _flag_a = 0, _flag_b = 0; 1158 uint32_t _itail_tgt = 0; 1159 RECOMP_REGS_LOCALS 1160 RECOMP_ENTER(0x2B06A750u); 1161 1162 L_2B06A750: 1163 eax = MEM32(0x2B0EEE60); /* 0x2B06A750: mov eax, dword ptr [0x2b0eee60] */ 1164 /* test eax, eax */ /* 0x2B06A755: test eax, eax */ 1165 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1166 _cf = 0; 1167 _flag_k = FK_TEST; 1168 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A774; /* 0x2B06A757: je 0x2b06a774 */ 1169 L_2B06A759: 1170 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B06A759: call dword ptr [0x2b0b53cc] */ 1171 RECOMP_FLAGS_IN(); 1172 ecx = eax; /* 0x2B06A75F: mov ecx, eax */ 1173 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B06A761: call dword ptr [0x2b0b53a4] */ 1174 RECOMP_FLAGS_IN(); 1175 PUSH32(esp, eax); /* 0x2B06A767: push eax */ 1176 eax = MEM32(0x2B0EEE60); /* 0x2B06A768: mov eax, dword ptr [0x2b0eee60] */ 1177 ecx = MEM32(eax); /* 0x2B06A76D: mov ecx, dword ptr [eax] */ 1178 RECOMP_ICALL(0x2B0675E0u); /* 0x2B06A76F: call 0x2b0675e0 */ /* not lifted */ 1179 RECOMP_FLAGS_IN(); 1180 L_2B06A774: 1181 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A774: ret */ 1182 RECOMP_REGS_OUT(); 1183 } 1184 1185 void sub_2B06A780(void) { 1186 int _fpu_cmp = 0; 1187 uint32_t _cf = 0; 1188 int _df = 1; 1189 uint32_t _flag_k = FK_NONE; 1190 uint32_t _flag_a = 0, _flag_b = 0; 1191 uint32_t _itail_tgt = 0; 1192 RECOMP_REGS_LOCALS 1193 RECOMP_ENTER(0x2B06A780u); 1194 1195 L_2B06A780: 1196 PUSH32(esp, ebp); /* 0x2B06A780: push ebp */ 1197 ebp = esp; /* 0x2B06A781: mov ebp, esp */ 1198 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1199 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1200 esp = esp - 8; /* 0x2B06A783: sub esp, 8 */ 1201 _flag_k = FK_CMP; 1202 eax = MEM32(0x2B0EEE60); /* 0x2B06A786: mov eax, dword ptr [0x2b0eee60] */ 1203 /* test eax, eax */ /* 0x2B06A78B: test eax, eax */ 1204 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1205 _cf = 0; 1206 _flag_k = FK_TEST; 1207 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A7B8; /* 0x2B06A78D: je 0x2b06a7b8 */ 1208 L_2B06A78F: 1209 eax = ebp + (-0x4); /* 0x2B06A78F: lea eax, [ebp - 4] */ 1210 PUSH32(esp, eax); /* 0x2B06A792: push eax */ 1211 ecx = ebp + (-0x8); /* 0x2B06A793: lea ecx, [ebp - 8] */ 1212 PUSH32(esp, ecx); /* 0x2B06A796: push ecx */ 1213 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B06A797: call dword ptr [0x2b0b53cc] */ 1214 RECOMP_FLAGS_IN(); 1215 ecx = eax; /* 0x2B06A79D: mov ecx, eax */ 1216 RECOMP_ICALL(MEM32(0x2B0B5360)); /* 0x2B06A79F: call dword ptr [0x2b0b5360] */ 1217 RECOMP_FLAGS_IN(); 1218 edx = MEM32(ebp + (-0x4)); /* 0x2B06A7A5: mov edx, dword ptr [ebp - 4] */ 1219 eax = MEM32(ebp + (-0x8)); /* 0x2B06A7A8: mov eax, dword ptr [ebp - 8] */ 1220 ecx = MEM32(0x2B0EEE60); /* 0x2B06A7AB: mov ecx, dword ptr [0x2b0eee60] */ 1221 PUSH32(esp, edx); /* 0x2B06A7B1: push edx */ 1222 PUSH32(esp, eax); /* 0x2B06A7B2: push eax */ 1223 RECOMP_ICALL(0x2B069D90u); /* 0x2B06A7B3: call 0x2b069d90 */ /* not lifted */ 1224 RECOMP_FLAGS_IN(); 1225 L_2B06A7B8: 1226 esp = ebp; /* 0x2B06A7B8: mov esp, ebp */ 1227 ebp = POP32_VAL(esp); /* 0x2B06A7BA: pop ebp */ 1228 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A7BB: ret */ 1229 RECOMP_REGS_OUT(); 1230 } 1231 1232 void sub_2B06A7C0(void) { 1233 int _fpu_cmp = 0; 1234 uint32_t _cf = 0; 1235 int _df = 1; 1236 uint32_t _flag_k = FK_NONE; 1237 uint32_t _flag_a = 0, _flag_b = 0; 1238 uint32_t _itail_tgt = 0; 1239 RECOMP_REGS_LOCALS 1240 RECOMP_ENTER(0x2B06A7C0u); 1241 1242 L_2B06A7C0: 1243 PUSH32(esp, ebp); /* 0x2B06A7C0: push ebp */ 1244 ebp = esp; /* 0x2B06A7C1: mov ebp, esp */ 1245 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 1246 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1247 esp = esp - 0xCu; /* 0x2B06A7C3: sub esp, 0xc */ 1248 _flag_k = FK_CMP; 1249 eax = MEM32(0x2B0EEE60); /* 0x2B06A7C6: mov eax, dword ptr [0x2b0eee60] */ 1250 /* test eax, eax */ /* 0x2B06A7CB: test eax, eax */ 1251 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1252 _cf = 0; 1253 _flag_k = FK_TEST; 1254 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A800; /* 0x2B06A7CD: je 0x2b06a800 */ 1255 L_2B06A7CF: 1256 eax = ebp + (-0x4); /* 0x2B06A7CF: lea eax, [ebp - 4] */ 1257 PUSH32(esp, eax); /* 0x2B06A7D2: push eax */ 1258 ecx = ebp + (-0x8); /* 0x2B06A7D3: lea ecx, [ebp - 8] */ 1259 PUSH32(esp, ecx); /* 0x2B06A7D6: push ecx */ 1260 edx = ebp + (-0xC); /* 0x2B06A7D7: lea edx, [ebp - 0xc] */ 1261 PUSH32(esp, edx); /* 0x2B06A7DA: push edx */ 1262 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B06A7DB: call dword ptr [0x2b0b53cc] */ 1263 RECOMP_FLAGS_IN(); 1264 ecx = eax; /* 0x2B06A7E1: mov ecx, eax */ 1265 RECOMP_ICALL(MEM32(0x2B0B533C)); /* 0x2B06A7E3: call dword ptr [0x2b0b533c] */ 1266 RECOMP_FLAGS_IN(); 1267 eax = MEM32(ebp + (-0x4)); /* 0x2B06A7E9: mov eax, dword ptr [ebp - 4] */ 1268 ecx = MEM32(ebp + (-0x8)); /* 0x2B06A7EC: mov ecx, dword ptr [ebp - 8] */ 1269 edx = MEM32(ebp + (-0xC)); /* 0x2B06A7EF: mov edx, dword ptr [ebp - 0xc] */ 1270 PUSH32(esp, eax); /* 0x2B06A7F2: push eax */ 1271 PUSH32(esp, ecx); /* 0x2B06A7F3: push ecx */ 1272 ecx = MEM32(0x2B0EEE60); /* 0x2B06A7F4: mov ecx, dword ptr [0x2b0eee60] */ 1273 PUSH32(esp, edx); /* 0x2B06A7FA: push edx */ 1274 RECOMP_ICALL(0x2B069DE0u); /* 0x2B06A7FB: call 0x2b069de0 */ /* not lifted */ 1275 RECOMP_FLAGS_IN(); 1276 L_2B06A800: 1277 esp = ebp; /* 0x2B06A800: mov esp, ebp */ 1278 ebp = POP32_VAL(esp); /* 0x2B06A802: pop ebp */ 1279 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A803: ret */ 1280 RECOMP_REGS_OUT(); 1281 } 1282 1283 void sub_2B06A810(void) { 1284 int _fpu_cmp = 0; 1285 uint32_t _cf = 0; 1286 int _df = 1; 1287 uint32_t _flag_k = FK_NONE; 1288 uint32_t _flag_a = 0, _flag_b = 0; 1289 uint32_t _itail_tgt = 0; 1290 RECOMP_REGS_LOCALS 1291 RECOMP_ENTER(0x2B06A810u); 1292 1293 goto L_2B06A810; 1294 L_2B069F10: 1295 PUSH32(esp, ebx); /* 0x2B069F10: push ebx */ 1296 ebx = ecx; /* 0x2B069F11: mov ebx, ecx */ 1297 eax = MEM32(ebx + 0x1C); /* 0x2B069F13: mov eax, dword ptr [ebx + 0x1c] */ 1298 eax = MEM32(eax + 0x4); /* 0x2B069F16: mov eax, dword ptr [eax + 4] */ 1299 PUSH32(esp, esi); /* 0x2B069F19: push esi */ 1300 esi = MEM32(eax); /* 0x2B069F1A: mov esi, dword ptr [eax] */ 1301 /* cmp esi, eax */ /* 0x2B069F1C: cmp esi, eax */ 1302 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 1303 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1304 _flag_k = FK_CMP; 1305 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B069F76; /* 0x2B069F1E: je 0x2b069f76 */ 1306 L_2B069F20: 1307 PUSH32(esp, edi); /* 0x2B069F20: push edi */ 1308 L_2B069F21: 1309 edi = MEM32(esi + 0x10); /* 0x2B069F21: mov edi, dword ptr [esi + 0x10] */ 1310 ecx = edi; /* 0x2B069F24: mov ecx, edi */ 1311 RECOMP_ICALL(0x2B0685C0u); /* 0x2B069F26: call 0x2b0685c0 */ /* not lifted */ 1312 RECOMP_FLAGS_IN(); 1313 ecx = edi; /* 0x2B069F2B: mov ecx, edi */ 1314 RECOMP_ICALL(0x2B068960u); /* 0x2B069F2D: call 0x2b068960 */ /* not lifted */ 1315 RECOMP_FLAGS_IN(); 1316 eax = MEM32(esi + 0x8); /* 0x2B069F32: mov eax, dword ptr [esi + 8] */ 1317 SET_LO8(ecx, MEM8(eax + 0x15)); /* 0x2B069F35: mov cl, byte ptr [eax + 0x15] */ 1318 /* test LO8(ecx), LO8(ecx) */ /* 0x2B069F38: test cl, cl */ 1319 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1320 _cf = 0; 1321 _flag_k = FK_NARROW(FK_TEST, 24); 1322 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B069F54; /* 0x2B069F3A: jne 0x2b069f54 */ 1323 L_2B069F3C: 1324 esi = eax; /* 0x2B069F3C: mov esi, eax */ 1325 eax = MEM32(esi); /* 0x2B069F3E: mov eax, dword ptr [esi] */ 1326 SET_LO8(ecx, MEM8(eax + 0x15)); /* 0x2B069F40: mov cl, byte ptr [eax + 0x15] */ 1327 /* test LO8(ecx), LO8(ecx) */ /* 0x2B069F43: 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 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B069F6D; /* 0x2B069F45: jne 0x2b069f6d */ 1332 L_2B069F47: 1333 esi = eax; /* 0x2B069F47: mov esi, eax */ 1334 eax = MEM32(esi); /* 0x2B069F49: mov eax, dword ptr [esi] */ 1335 SET_LO8(ecx, MEM8(eax + 0x15)); /* 0x2B069F4B: mov cl, byte ptr [eax + 0x15] */ 1336 /* test LO8(ecx), LO8(ecx) */ /* 0x2B069F4E: test cl, cl */ 1337 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1338 _cf = 0; 1339 _flag_k = FK_NARROW(FK_TEST, 24); 1340 RECOMP_BACKEDGE(); 1341 if (TEST_Z(_flag_a, _flag_b)) goto L_2B069F47; /* 0x2B069F50: je 0x2b069f47 */ 1342 L_2B069F52: 1343 goto L_2B069F6D; /* 0x2B069F52: jmp 0x2b069f6d */ 1344 L_2B069F54: 1345 eax = MEM32(esi + 0x4); /* 0x2B069F54: mov eax, dword ptr [esi + 4] */ 1346 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B069F57: cmp esi, dword ptr [eax + 8] */ 1347 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 1348 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1349 _flag_k = FK_CMP; 1350 if (CMP_NE(_flag_a, _flag_b)) goto L_2B069F66; /* 0x2B069F5A: jne 0x2b069f66 */ 1351 L_2B069F5C: 1352 esi = eax; /* 0x2B069F5C: mov esi, eax */ 1353 eax = MEM32(eax + 0x4); /* 0x2B069F5E: mov eax, dword ptr [eax + 4] */ 1354 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B069F61: cmp esi, dword ptr [eax + 8] */ 1355 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 1356 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1357 _flag_k = FK_CMP; 1358 RECOMP_BACKEDGE(); 1359 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B069F5C; /* 0x2B069F64: je 0x2b069f5c */ 1360 L_2B069F66: 1361 /* cmp MEM32(esi + 0x8), eax */ /* 0x2B069F66: cmp dword ptr [esi + 8], eax */ 1362 _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(eax); 1363 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1364 _flag_k = FK_CMP; 1365 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B069F6D; /* 0x2B069F69: je 0x2b069f6d */ 1366 L_2B069F6B: 1367 esi = eax; /* 0x2B069F6B: mov esi, eax */ 1368 L_2B069F6D: 1369 ecx = MEM32(ebx + 0x1C); /* 0x2B069F6D: mov ecx, dword ptr [ebx + 0x1c] */ 1370 /* cmp esi, MEM32(ecx + 0x4) */ /* 0x2B069F70: cmp esi, dword ptr [ecx + 4] */ 1371 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 1372 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1373 _flag_k = FK_CMP; 1374 RECOMP_BACKEDGE(); 1375 if (CMP_NE(_flag_a, _flag_b)) goto L_2B069F21; /* 0x2B069F73: jne 0x2b069f21 */ 1376 L_2B069F75: 1377 edi = POP32_VAL(esp); /* 0x2B069F75: pop edi */ 1378 L_2B069F76: 1379 esi = POP32_VAL(esp); /* 0x2B069F76: pop esi */ 1380 ebx = POP32_VAL(esp); /* 0x2B069F77: pop ebx */ 1381 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B069F78: ret */ 1382 L_2B06A810: 1383 ecx = MEM32(0x2B0EEE60); /* 0x2B06A810: mov ecx, dword ptr [0x2b0eee60] */ 1384 /* test ecx, ecx */ /* 0x2B06A816: test ecx, ecx */ 1385 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1386 _cf = 0; 1387 _flag_k = FK_TEST; 1388 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A81F; /* 0x2B06A818: je 0x2b06a81f */ 1389 L_2B06A81A: 1390 RECOMP_BACKEDGE(); 1391 goto L_2B069F10; /* 0x2B06A81A: jmp 0x2b069f10 */ 1392 L_2B06A81F: 1393 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A81F: ret */ 1394 RECOMP_REGS_OUT(); 1395 } 1396 1397 void sub_2B06A820(void) { 1398 int _fpu_cmp = 0; 1399 uint32_t _cf = 0; 1400 int _df = 1; 1401 uint32_t _flag_k = FK_NONE; 1402 uint32_t _flag_a = 0, _flag_b = 0; 1403 uint32_t _itail_tgt = 0; 1404 RECOMP_REGS_LOCALS 1405 RECOMP_ENTER(0x2B06A820u); 1406 1407 goto L_2B06A820; 1408 L_2B069EC0: 1409 PUSH32(esp, 2); /* 0x2B069EC0: push 2 */ 1410 PUSH32(esp, 0x35u); /* 0x2B069EC2: push 0x35 */ 1411 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B069EC4: call dword ptr [0x2b0b5d6c] */ 1412 RECOMP_FLAGS_IN(); 1413 ecx = eax; /* 0x2B069ECA: mov ecx, eax */ 1414 RECOMP_ICALL(MEM32(0x2B0B5D70)); /* 0x2B069ECC: call dword ptr [0x2b0b5d70] */ 1415 RECOMP_FLAGS_IN(); 1416 PUSH32(esp, eax); /* 0x2B069ED2: push eax */ 1417 eax = MEM32(0x2B0EEE54); /* 0x2B069ED3: mov eax, dword ptr [0x2b0eee54] */ 1418 ecx = MEM32(eax); /* 0x2B069ED8: mov ecx, dword ptr [eax] */ 1419 RECOMP_ICALL(0x2B0673B0u); /* 0x2B069EDA: call 0x2b0673b0 */ /* not lifted */ 1420 RECOMP_FLAGS_IN(); 1421 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B069EDF: ret */ 1422 L_2B06A820: 1423 eax = MEM32(0x2B0EEE60); /* 0x2B06A820: mov eax, dword ptr [0x2b0eee60] */ 1424 /* test eax, eax */ /* 0x2B06A825: test eax, eax */ 1425 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1426 _cf = 0; 1427 _flag_k = FK_TEST; 1428 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A82E; /* 0x2B06A827: je 0x2b06a82e */ 1429 L_2B06A829: 1430 RECOMP_BACKEDGE(); 1431 goto L_2B069EC0; /* 0x2B06A829: jmp 0x2b069ec0 */ 1432 L_2B06A82E: 1433 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A82E: ret */ 1434 RECOMP_REGS_OUT(); 1435 } 1436 1437 void sub_2B06A830(void) { 1438 int _fpu_cmp = 0; 1439 uint32_t _cf = 0; 1440 int _df = 1; 1441 uint32_t _flag_k = FK_NONE; 1442 uint32_t _flag_a = 0, _flag_b = 0; 1443 uint32_t _itail_tgt = 0; 1444 RECOMP_REGS_LOCALS 1445 RECOMP_ENTER(0x2B06A830u); 1446 1447 goto L_2B06A830; 1448 L_2B069EE0: 1449 PUSH32(esp, 2); /* 0x2B069EE0: push 2 */ 1450 PUSH32(esp, 0xC7u); /* 0x2B069EE2: push 0xc7 */ 1451 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B069EE7: call dword ptr [0x2b0b5d6c] */ 1452 RECOMP_FLAGS_IN(); 1453 ecx = eax; /* 0x2B069EED: mov ecx, eax */ 1454 RECOMP_ICALL(MEM32(0x2B0B5D70)); /* 0x2B069EEF: call dword ptr [0x2b0b5d70] */ 1455 RECOMP_FLAGS_IN(); 1456 PUSH32(esp, eax); /* 0x2B069EF5: push eax */ 1457 eax = MEM32(0x2B0EEE54); /* 0x2B069EF6: mov eax, dword ptr [0x2b0eee54] */ 1458 ecx = MEM32(eax); /* 0x2B069EFB: mov ecx, dword ptr [eax] */ 1459 RECOMP_ICALL(0x2B0673F0u); /* 0x2B069EFD: call 0x2b0673f0 */ /* not lifted */ 1460 RECOMP_FLAGS_IN(); 1461 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B069F02: ret */ 1462 L_2B06A830: 1463 eax = MEM32(0x2B0EEE60); /* 0x2B06A830: mov eax, dword ptr [0x2b0eee60] */ 1464 /* test eax, eax */ /* 0x2B06A835: test eax, eax */ 1465 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1466 _cf = 0; 1467 _flag_k = FK_TEST; 1468 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A83E; /* 0x2B06A837: je 0x2b06a83e */ 1469 L_2B06A839: 1470 RECOMP_BACKEDGE(); 1471 goto L_2B069EE0; /* 0x2B06A839: jmp 0x2b069ee0 */ 1472 L_2B06A83E: 1473 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A83E: ret */ 1474 RECOMP_REGS_OUT(); 1475 } 1476 1477 void sub_2B06A840(void) { 1478 int _fpu_cmp = 0; 1479 uint32_t _cf = 0; 1480 int _df = 1; 1481 uint32_t _flag_k = FK_NONE; 1482 uint32_t _flag_a = 0, _flag_b = 0; 1483 uint32_t _itail_tgt = 0; 1484 RECOMP_REGS_LOCALS 1485 RECOMP_ENTER(0x2B06A840u); 1486 1487 goto L_2B06A840; 1488 L_2B069F10: 1489 PUSH32(esp, ebx); /* 0x2B069F10: push ebx */ 1490 ebx = ecx; /* 0x2B069F11: mov ebx, ecx */ 1491 eax = MEM32(ebx + 0x1C); /* 0x2B069F13: mov eax, dword ptr [ebx + 0x1c] */ 1492 eax = MEM32(eax + 0x4); /* 0x2B069F16: mov eax, dword ptr [eax + 4] */ 1493 PUSH32(esp, esi); /* 0x2B069F19: push esi */ 1494 esi = MEM32(eax); /* 0x2B069F1A: mov esi, dword ptr [eax] */ 1495 /* cmp esi, eax */ /* 0x2B069F1C: cmp esi, eax */ 1496 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 1497 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1498 _flag_k = FK_CMP; 1499 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B069F76; /* 0x2B069F1E: je 0x2b069f76 */ 1500 L_2B069F20: 1501 PUSH32(esp, edi); /* 0x2B069F20: push edi */ 1502 L_2B069F21: 1503 edi = MEM32(esi + 0x10); /* 0x2B069F21: mov edi, dword ptr [esi + 0x10] */ 1504 ecx = edi; /* 0x2B069F24: mov ecx, edi */ 1505 RECOMP_ICALL(0x2B0685C0u); /* 0x2B069F26: call 0x2b0685c0 */ /* not lifted */ 1506 RECOMP_FLAGS_IN(); 1507 ecx = edi; /* 0x2B069F2B: mov ecx, edi */ 1508 RECOMP_ICALL(0x2B068960u); /* 0x2B069F2D: call 0x2b068960 */ /* not lifted */ 1509 RECOMP_FLAGS_IN(); 1510 eax = MEM32(esi + 0x8); /* 0x2B069F32: mov eax, dword ptr [esi + 8] */ 1511 SET_LO8(ecx, MEM8(eax + 0x15)); /* 0x2B069F35: mov cl, byte ptr [eax + 0x15] */ 1512 /* test LO8(ecx), LO8(ecx) */ /* 0x2B069F38: test cl, cl */ 1513 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1514 _cf = 0; 1515 _flag_k = FK_NARROW(FK_TEST, 24); 1516 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B069F54; /* 0x2B069F3A: jne 0x2b069f54 */ 1517 L_2B069F3C: 1518 esi = eax; /* 0x2B069F3C: mov esi, eax */ 1519 eax = MEM32(esi); /* 0x2B069F3E: mov eax, dword ptr [esi] */ 1520 SET_LO8(ecx, MEM8(eax + 0x15)); /* 0x2B069F40: mov cl, byte ptr [eax + 0x15] */ 1521 /* test LO8(ecx), LO8(ecx) */ /* 0x2B069F43: test cl, cl */ 1522 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1523 _cf = 0; 1524 _flag_k = FK_NARROW(FK_TEST, 24); 1525 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B069F6D; /* 0x2B069F45: jne 0x2b069f6d */ 1526 L_2B069F47: 1527 esi = eax; /* 0x2B069F47: mov esi, eax */ 1528 eax = MEM32(esi); /* 0x2B069F49: mov eax, dword ptr [esi] */ 1529 SET_LO8(ecx, MEM8(eax + 0x15)); /* 0x2B069F4B: mov cl, byte ptr [eax + 0x15] */ 1530 /* test LO8(ecx), LO8(ecx) */ /* 0x2B069F4E: test cl, cl */ 1531 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1532 _cf = 0; 1533 _flag_k = FK_NARROW(FK_TEST, 24); 1534 RECOMP_BACKEDGE(); 1535 if (TEST_Z(_flag_a, _flag_b)) goto L_2B069F47; /* 0x2B069F50: je 0x2b069f47 */ 1536 L_2B069F52: 1537 goto L_2B069F6D; /* 0x2B069F52: jmp 0x2b069f6d */ 1538 L_2B069F54: 1539 eax = MEM32(esi + 0x4); /* 0x2B069F54: mov eax, dword ptr [esi + 4] */ 1540 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B069F57: cmp esi, dword ptr [eax + 8] */ 1541 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 1542 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1543 _flag_k = FK_CMP; 1544 if (CMP_NE(_flag_a, _flag_b)) goto L_2B069F66; /* 0x2B069F5A: jne 0x2b069f66 */ 1545 L_2B069F5C: 1546 esi = eax; /* 0x2B069F5C: mov esi, eax */ 1547 eax = MEM32(eax + 0x4); /* 0x2B069F5E: mov eax, dword ptr [eax + 4] */ 1548 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B069F61: cmp esi, dword ptr [eax + 8] */ 1549 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 1550 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1551 _flag_k = FK_CMP; 1552 RECOMP_BACKEDGE(); 1553 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B069F5C; /* 0x2B069F64: je 0x2b069f5c */ 1554 L_2B069F66: 1555 /* cmp MEM32(esi + 0x8), eax */ /* 0x2B069F66: cmp dword ptr [esi + 8], eax */ 1556 _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(eax); 1557 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1558 _flag_k = FK_CMP; 1559 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B069F6D; /* 0x2B069F69: je 0x2b069f6d */ 1560 L_2B069F6B: 1561 esi = eax; /* 0x2B069F6B: mov esi, eax */ 1562 L_2B069F6D: 1563 ecx = MEM32(ebx + 0x1C); /* 0x2B069F6D: mov ecx, dword ptr [ebx + 0x1c] */ 1564 /* cmp esi, MEM32(ecx + 0x4) */ /* 0x2B069F70: cmp esi, dword ptr [ecx + 4] */ 1565 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 1566 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1567 _flag_k = FK_CMP; 1568 RECOMP_BACKEDGE(); 1569 if (CMP_NE(_flag_a, _flag_b)) goto L_2B069F21; /* 0x2B069F73: jne 0x2b069f21 */ 1570 L_2B069F75: 1571 edi = POP32_VAL(esp); /* 0x2B069F75: pop edi */ 1572 L_2B069F76: 1573 esi = POP32_VAL(esp); /* 0x2B069F76: pop esi */ 1574 ebx = POP32_VAL(esp); /* 0x2B069F77: pop ebx */ 1575 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B069F78: ret */ 1576 L_2B06A840: 1577 eax = MEM32(0x2B0EEE60); /* 0x2B06A840: mov eax, dword ptr [0x2b0eee60] */ 1578 /* test eax, eax */ /* 0x2B06A845: test eax, eax */ 1579 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1580 _cf = 0; 1581 _flag_k = FK_TEST; 1582 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A85B; /* 0x2B06A847: je 0x2b06a85b */ 1583 L_2B06A849: 1584 ecx = MEM32(eax); /* 0x2B06A849: mov ecx, dword ptr [eax] */ 1585 RECOMP_ICALL(0x2B0672E0u); /* 0x2B06A84B: call 0x2b0672e0 */ /* not lifted */ 1586 RECOMP_FLAGS_IN(); 1587 ecx = MEM32(0x2B0EEE60); /* 0x2B06A850: mov ecx, dword ptr [0x2b0eee60] */ 1588 RECOMP_BACKEDGE(); 1589 goto L_2B069F10; /* 0x2B06A856: jmp 0x2b069f10 */ 1590 L_2B06A85B: 1591 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A85B: ret */ 1592 RECOMP_REGS_OUT(); 1593 } 1594 1595 void sub_2B06A860(void) { 1596 int _fpu_cmp = 0; 1597 uint32_t _cf = 0; 1598 int _df = 1; 1599 uint32_t _flag_k = FK_NONE; 1600 uint32_t _flag_a = 0, _flag_b = 0; 1601 uint32_t _itail_tgt = 0; 1602 RECOMP_REGS_LOCALS 1603 RECOMP_ENTER(0x2B06A860u); 1604 1605 goto L_2B06A860; 1606 L_2B069A20: 1607 PUSH32(esp, ebp); /* 0x2B069A20: push ebp */ 1608 ebp = esp; /* 0x2B069A21: mov ebp, esp */ 1609 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x3Cu); 1610 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1611 esp = esp - 0x3Cu; /* 0x2B069A23: sub esp, 0x3c */ 1612 _flag_k = FK_CMP; 1613 PUSH32(esp, ebx); /* 0x2B069A26: push ebx */ 1614 PUSH32(esp, esi); /* 0x2B069A27: push esi */ 1615 PUSH32(esp, edi); /* 0x2B069A28: push edi */ 1616 esi = ecx; /* 0x2B069A29: mov esi, ecx */ 1617 RECOMP_ICALL(0x2B0012E0u); /* 0x2B069A2B: call 0x2b0012e0 */ /* not lifted */ 1618 RECOMP_FLAGS_IN(); 1619 ecx = eax; /* 0x2B069A30: mov ecx, eax */ 1620 fp_push((double)(int32_t)MEM32(ecx + 0x8)); /* 0x2B069A32: fild dword ptr [ecx + 8] */ 1621 _st[0] *= (double)*(float*)ADDR(0x2B0B70EC); /* 0x2B069A35: fmul dword ptr [0x2b0b70ec] */ 1622 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B70E4)); /* 0x2B069A3B: fcomp dword ptr [0x2b0b70e4] */ 1623 fp_pop(); 1624 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B069A41: fnstsw ax */ 1625 /* test HI8(eax), 0x41u */ /* 0x2B069A43: test ah, 0x41 */ 1626 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 1627 _cf = 0; 1628 _flag_k = FK_NARROW(FK_TEST, 24); 1629 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B069BA0; /* 0x2B069A46: jne 0x2b069ba0 */ 1630 L_2B069A4C: 1631 fp_push((double)(int32_t)MEM32(ecx + 0xC)); /* 0x2B069A4C: fild dword ptr [ecx + 0xc] */ 1632 _st[0] *= (double)*(float*)ADDR(0x2B0B70E8); /* 0x2B069A4F: fmul dword ptr [0x2b0b70e8] */ 1633 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B70E4)); /* 0x2B069A55: fcomp dword ptr [0x2b0b70e4] */ 1634 fp_pop(); 1635 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B069A5B: fnstsw ax */ 1636 /* test HI8(eax), 0x41u */ /* 0x2B069A5D: test ah, 0x41 */ 1637 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 1638 _cf = 0; 1639 _flag_k = FK_NARROW(FK_TEST, 24); 1640 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B069BA0; /* 0x2B069A60: jne 0x2b069ba0 */ 1641 L_2B069A66: 1642 eax = 0xFFFFFF74u; /* 0x2B069A66: mov eax, 0xffffff74 */ 1643 ecx = 0xFFFFFF38u; /* 0x2B069A6B: mov ecx, 0xffffff38 */ 1644 MEM32(ebp + (-0xC)) = eax; /* 0x2B069A70: mov dword ptr [ebp - 0xc], eax */ 1645 eax = ebp + (-0xC); /* 0x2B069A73: lea eax, [ebp - 0xc] */ 1646 MEM32(ebp + (-0x8)) = ecx; /* 0x2B069A76: mov dword ptr [ebp - 8], ecx */ 1647 PUSH32(esp, eax); /* 0x2B069A79: push eax */ 1648 ecx = esi; /* 0x2B069A7A: mov ecx, esi */ 1649 RECOMP_ICALL(0x2B069F80u); /* 0x2B069A7C: call 0x2b069f80 */ /* not lifted */ 1650 RECOMP_FLAGS_IN(); 1651 ecx = ebp + (-0xC); /* 0x2B069A81: lea ecx, [ebp - 0xc] */ 1652 PUSH32(esp, ecx); /* 0x2B069A84: push ecx */ 1653 ecx = MEM32(esi); /* 0x2B069A85: mov ecx, dword ptr [esi] */ 1654 RECOMP_ICALL(0x2B069130u); /* 0x2B069A87: call 0x2b069130 */ /* not lifted */ 1655 RECOMP_FLAGS_IN(); 1656 edx = ebp + (-0xC); /* 0x2B069A8C: lea edx, [ebp - 0xc] */ 1657 eax = 0xFFFFFFBAu; /* 0x2B069A8F: mov eax, 0xffffffba */ 1658 edi = 0xAAu; /* 0x2B069A94: mov edi, 0xaa */ 1659 PUSH32(esp, edx); /* 0x2B069A99: push edx */ 1660 ecx = esi; /* 0x2B069A9A: mov ecx, esi */ 1661 MEM32(ebp + (-0xC)) = eax; /* 0x2B069A9C: mov dword ptr [ebp - 0xc], eax */ 1662 MEM32(ebp + (-0x8)) = edi; /* 0x2B069A9F: mov dword ptr [ebp - 8], edi */ 1663 RECOMP_ICALL(0x2B069F80u); /* 0x2B069AA2: call 0x2b069f80 */ /* not lifted */ 1664 RECOMP_FLAGS_IN(); 1665 ecx = MEM32(esi + 0x8); /* 0x2B069AA7: mov ecx, dword ptr [esi + 8] */ 1666 ebx = MEM32(0x2B0B5BB8); /* 0x2B069AAA: mov ebx, dword ptr [0x2b0b5bb8] */ 1667 eax = ebp + (-0xC); /* 0x2B069AB0: lea eax, [ebp - 0xc] */ 1668 PUSH32(esp, eax); /* 0x2B069AB3: push eax */ 1669 RECOMP_ICALL(ebx); /* 0x2B069AB4: call ebx */ 1670 RECOMP_FLAGS_IN(); 1671 ecx = ebp + (-0xC); /* 0x2B069AB6: lea ecx, [ebp - 0xc] */ 1672 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1673 eax = 0; /* 0x2B069AB9: xor eax, eax */ 1674 _cf = 0; 1675 _flag_k = FK_TEST; 1676 PUSH32(esp, ecx); /* 0x2B069ABB: push ecx */ 1677 ecx = esi; /* 0x2B069ABC: mov ecx, esi */ 1678 MEM32(ebp + (-0xC)) = eax; /* 0x2B069ABE: mov dword ptr [ebp - 0xc], eax */ 1679 MEM32(ebp + (-0x8)) = edi; /* 0x2B069AC1: mov dword ptr [ebp - 8], edi */ 1680 RECOMP_ICALL(0x2B069F80u); /* 0x2B069AC4: call 0x2b069f80 */ /* not lifted */ 1681 RECOMP_FLAGS_IN(); 1682 ecx = MEM32(esi + 0x10); /* 0x2B069AC9: mov ecx, dword ptr [esi + 0x10] */ 1683 edx = ebp + (-0xC); /* 0x2B069ACC: lea edx, [ebp - 0xc] */ 1684 PUSH32(esp, edx); /* 0x2B069ACF: push edx */ 1685 RECOMP_ICALL(ebx); /* 0x2B069AD0: call ebx */ 1686 RECOMP_FLAGS_IN(); 1687 eax = MEM32(0x2B0B6D24); /* 0x2B069AD2: mov eax, dword ptr [0x2b0b6d24] */ 1688 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1689 ebx = 0; /* 0x2B069AD7: xor ebx, ebx */ 1690 _cf = 0; 1691 _flag_k = FK_TEST; 1692 /* test eax, eax */ /* 0x2B069AD9: test eax, eax */ 1693 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1694 _cf = 0; 1695 _flag_k = FK_TEST; 1696 MEM32(ebp + (-0x10)) = 0xFFFFFF74u; /* 0x2B069ADB: mov dword ptr [ebp - 0x10], 0xffffff74 */ 1697 edi = 0xFFFFFF66u; /* 0x2B069AE2: mov edi, 0xffffff66 */ 1698 if (TEST_Z(_flag_a, _flag_b)) goto L_2B069BA0; /* 0x2B069AE7: je 0x2b069ba0 */ 1699 L_2B069AED: 1700 MEM32(ebp + (-0x4)) = 0x2B0B6D24u; /* 0x2B069AED: mov dword ptr [ebp - 4], 0x2b0b6d24 */ 1701 L_2B069AF4: 1702 eax = MEM32(ebp + (-0x10)); /* 0x2B069AF4: mov eax, dword ptr [ebp - 0x10] */ 1703 ecx = edi; /* 0x2B069AF7: mov ecx, edi */ 1704 ecx = (uint32_t)((int32_t)ecx * (int32_t)edi); /* 0x2B069AF9: imul ecx, edi */ 1705 MEM32(ebp + (-0x8)) = eax; /* 0x2B069AFC: mov dword ptr [ebp - 8], eax */ 1706 eax = 0x1B4E81B5u; /* 0x2B069AFF: mov eax, 0x1b4e81b5 */ 1707 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B069B04: imul ecx */ 1708 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 1709 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 1710 if (6u) _cf = (((edx) >> 5) & 1u); /* 0x2B069B06: sar edx, 6 */ 1711 if (6u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 6u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1712 edx = (uint32_t)((int32_t)edx >> 6u); 1713 ecx = edx; /* 0x2B069B09: mov ecx, edx */ 1714 if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x2B069B0B: shr ecx, 0x1f */ 1715 if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1716 ecx = ecx >> 31u; /* 0x2B069B0B: shr ecx, 0x1f */ 1717 edx = edx + ecx + (-0xD2); /* 0x2B069B0E: lea edx, [edx + ecx - 0xd2] */ 1718 eax = ebp + (-0xC); /* 0x2B069B15: lea eax, [ebp - 0xc] */ 1719 PUSH32(esp, eax); /* 0x2B069B18: push eax */ 1720 ecx = esi; /* 0x2B069B19: mov ecx, esi */ 1721 MEM32(ebp + (-0xC)) = edx; /* 0x2B069B1B: mov dword ptr [ebp - 0xc], edx */ 1722 RECOMP_ICALL(0x2B069F80u); /* 0x2B069B1E: call 0x2b069f80 */ /* not lifted */ 1723 RECOMP_FLAGS_IN(); 1724 ecx = MEM32(esi + 0x20); /* 0x2B069B23: mov ecx, dword ptr [esi + 0x20] */ 1725 edx = ebp + (-0x1C); /* 0x2B069B26: lea edx, [ebp - 0x1c] */ 1726 PUSH32(esp, edx); /* 0x2B069B29: push edx */ 1727 eax = ebp + (-0x2C); /* 0x2B069B2A: lea eax, [ebp - 0x2c] */ 1728 PUSH32(esp, eax); /* 0x2B069B2D: push eax */ 1729 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B069B2E: mov dword ptr [ebp - 0x1c], ebx */ 1730 MEM32(ebp + (-0x18)) = 0; /* 0x2B069B31: mov dword ptr [ebp - 0x18], 0 */ 1731 RECOMP_ICALL(0x2B06A0B0u); /* 0x2B069B38: call 0x2b06a0b0 */ /* not lifted */ 1732 RECOMP_FLAGS_IN(); 1733 ecx = eax; /* 0x2B069B3D: mov ecx, eax */ 1734 eax = MEM32(ecx); /* 0x2B069B3F: mov eax, dword ptr [ecx] */ 1735 edx = MEM32(ecx + 0x4); /* 0x2B069B41: mov edx, dword ptr [ecx + 4] */ 1736 ecx = ebp + (-0xC); /* 0x2B069B44: lea ecx, [ebp - 0xc] */ 1737 PUSH32(esp, ecx); /* 0x2B069B47: push ecx */ 1738 ecx = MEM32(eax + 0x10); /* 0x2B069B48: mov ecx, dword ptr [eax + 0x10] */ 1739 MEM32(ebp + (-0x30)) = edx; /* 0x2B069B4B: mov dword ptr [ebp - 0x30], edx */ 1740 RECOMP_ICALL(0x2B069130u); /* 0x2B069B4E: call 0x2b069130 */ /* not lifted */ 1741 RECOMP_FLAGS_IN(); 1742 ecx = MEM32(esi + 0x20); /* 0x2B069B53: mov ecx, dword ptr [esi + 0x20] */ 1743 edx = ebp + (-0x24); /* 0x2B069B56: lea edx, [ebp - 0x24] */ 1744 PUSH32(esp, edx); /* 0x2B069B59: push edx */ 1745 eax = ebp + (-0x3C); /* 0x2B069B5A: lea eax, [ebp - 0x3c] */ 1746 PUSH32(esp, eax); /* 0x2B069B5D: push eax */ 1747 MEM32(ebp + (-0x24)) = ebx; /* 0x2B069B5E: mov dword ptr [ebp - 0x24], ebx */ 1748 MEM32(ebp + (-0x20)) = 0; /* 0x2B069B61: mov dword ptr [ebp - 0x20], 0 */ 1749 RECOMP_ICALL(0x2B06A0B0u); /* 0x2B069B68: call 0x2b06a0b0 */ /* not lifted */ 1750 RECOMP_FLAGS_IN(); 1751 ecx = eax; /* 0x2B069B6D: mov ecx, eax */ 1752 eax = MEM32(ecx); /* 0x2B069B6F: mov eax, dword ptr [ecx] */ 1753 edx = MEM32(ecx + 0x4); /* 0x2B069B71: mov edx, dword ptr [ecx + 4] */ 1754 ecx = MEM32(eax + 0x10); /* 0x2B069B74: mov ecx, dword ptr [eax + 0x10] */ 1755 MEM32(ebp + (-0x30)) = edx; /* 0x2B069B77: mov dword ptr [ebp - 0x30], edx */ 1756 RECOMP_ICALL(0x2B069290u); /* 0x2B069B7A: call 0x2b069290 */ /* not lifted */ 1757 RECOMP_FLAGS_IN(); 1758 eax = MEM32(ebp + (-0x4)); /* 0x2B069B7F: mov eax, dword ptr [ebp - 4] */ 1759 edx = MEM32(ebp + (-0x10)); /* 0x2B069B82: mov edx, dword ptr [ebp - 0x10] */ 1760 ecx = MEM32(eax + 0x50); /* 0x2B069B85: mov ecx, dword ptr [eax + 0x50] */ 1761 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x50u); 1762 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1763 eax = eax + 0x50u; /* 0x2B069B88: add eax, 0x50 */ 1764 _flag_k = FK_ADD; 1765 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x1Cu); 1766 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1767 edx = edx + 0x1Cu; /* 0x2B069B8B: add edx, 0x1c */ 1768 _flag_k = FK_ADD; 1769 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x1Cu); 1770 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1771 edi = edi + 0x1Cu; /* 0x2B069B8E: add edi, 0x1c */ 1772 _flag_k = FK_ADD; 1773 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1); 1774 ebx = ebx + 1; /* 0x2B069B91: inc ebx */ 1775 _flag_k = FK_INC; 1776 /* test ecx, ecx */ /* 0x2B069B92: test ecx, ecx */ 1777 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1778 _cf = 0; 1779 _flag_k = FK_TEST; 1780 MEM32(ebp + (-0x10)) = edx; /* 0x2B069B94: mov dword ptr [ebp - 0x10], edx */ 1781 MEM32(ebp + (-0x4)) = eax; /* 0x2B069B97: mov dword ptr [ebp - 4], eax */ 1782 RECOMP_BACKEDGE(); 1783 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B069AF4; /* 0x2B069B9A: jne 0x2b069af4 */ 1784 L_2B069BA0: 1785 edi = POP32_VAL(esp); /* 0x2B069BA0: pop edi */ 1786 esi = POP32_VAL(esp); /* 0x2B069BA1: pop esi */ 1787 ebx = POP32_VAL(esp); /* 0x2B069BA2: pop ebx */ 1788 esp = ebp; /* 0x2B069BA3: mov esp, ebp */ 1789 ebp = POP32_VAL(esp); /* 0x2B069BA5: pop ebp */ 1790 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B069BA6: ret */ 1791 L_2B06A860: 1792 ecx = MEM32(0x2B0EEE60); /* 0x2B06A860: mov ecx, dword ptr [0x2b0eee60] */ 1793 /* test ecx, ecx */ /* 0x2B06A866: test ecx, ecx */ 1794 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1795 _cf = 0; 1796 _flag_k = FK_TEST; 1797 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A86F; /* 0x2B06A868: je 0x2b06a86f */ 1798 L_2B06A86A: 1799 RECOMP_BACKEDGE(); 1800 goto L_2B069A20; /* 0x2B06A86A: jmp 0x2b069a20 */ 1801 L_2B06A86F: 1802 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A86F: ret */ 1803 RECOMP_REGS_OUT(); 1804 } 1805 1806 void sub_2B06A870(void) { 1807 int _fpu_cmp = 0; 1808 uint32_t _cf = 0; 1809 int _df = 1; 1810 uint32_t _flag_k = FK_NONE; 1811 uint32_t _flag_a = 0, _flag_b = 0; 1812 uint32_t _itail_tgt = 0; 1813 RECOMP_REGS_LOCALS 1814 RECOMP_ENTER(0x2B06A870u); 1815 1816 goto L_2B06A870; 1817 L_2B06A030: 1818 SET_LO8(eax, MEM8(0x2B0EEE58)); /* 0x2B06A030: mov al, byte ptr [0x2b0eee58] */ 1819 /* test LO8(eax), LO8(eax) */ /* 0x2B06A035: test al, al */ 1820 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1821 _cf = 0; 1822 _flag_k = FK_NARROW(FK_TEST, 24); 1823 PUSH32(esp, esi); /* 0x2B06A037: push esi */ 1824 esi = ecx; /* 0x2B06A038: mov esi, ecx */ 1825 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06A089; /* 0x2B06A03A: jne 0x2b06a089 */ 1826 L_2B06A03C: 1827 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06A03C: call dword ptr [0x2b0b5d6c] */ 1828 RECOMP_FLAGS_IN(); 1829 ecx = eax; /* 0x2B06A042: mov ecx, eax */ 1830 RECOMP_ICALL(MEM32(0x2B0B5D8C)); /* 0x2B06A044: call dword ptr [0x2b0b5d8c] */ 1831 RECOMP_FLAGS_IN(); 1832 /* test LO8(eax), LO8(eax) */ /* 0x2B06A04A: test al, al */ 1833 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1834 _cf = 0; 1835 _flag_k = FK_NARROW(FK_TEST, 24); 1836 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A075; /* 0x2B06A04C: je 0x2b06a075 */ 1837 L_2B06A04E: 1838 PUSH32(esp, 0); /* 0x2B06A04E: push 0 */ 1839 PUSH32(esp, 0); /* 0x2B06A050: push 0 */ 1840 PUSH32(esp, 0); /* 0x2B06A052: push 0 */ 1841 PUSH32(esp, 0x2B0EB348u); /* 0x2B06A054: push 0x2b0eb348 */ 1842 PUSH32(esp, 0x2B0EB15Cu); /* 0x2B06A059: push 0x2b0eb15c */ 1843 RECOMP_ICALL(0x2B089BF0u); /* 0x2B06A05E: call 0x2b089bf0 */ /* not lifted */ 1844 RECOMP_FLAGS_IN(); 1845 eax = MEM32(esi); /* 0x2B06A063: mov eax, dword ptr [esi] */ 1846 ecx = MEM32(eax + 0x10); /* 0x2B06A065: mov ecx, dword ptr [eax + 0x10] */ 1847 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 1848 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1849 esp = esp + 0x14u; /* 0x2B06A068: add esp, 0x14 */ 1850 _flag_k = FK_ADD; 1851 PUSH32(esp, 1); /* 0x2B06A06B: push 1 */ 1852 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06A06D: call dword ptr [0x2b0b5ab4] */ 1853 RECOMP_FLAGS_IN(); 1854 esi = POP32_VAL(esp); /* 0x2B06A073: pop esi */ 1855 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A074: ret */ 1856 L_2B06A075: 1857 MEM8(0x2B0EEE58) = (uint8_t)(1); /* 0x2B06A075: mov byte ptr [0x2b0eee58], 1 */ 1858 ecx = MEM32(esi); /* 0x2B06A07C: mov ecx, dword ptr [esi] */ 1859 ecx = MEM32(ecx + 0x10); /* 0x2B06A07E: mov ecx, dword ptr [ecx + 0x10] */ 1860 PUSH32(esp, 2); /* 0x2B06A081: push 2 */ 1861 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06A083: call dword ptr [0x2b0b5ab4] */ 1862 RECOMP_FLAGS_IN(); 1863 L_2B06A089: 1864 esi = POP32_VAL(esp); /* 0x2B06A089: pop esi */ 1865 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A08A: ret */ 1866 L_2B06A870: 1867 ecx = MEM32(0x2B0EEE60); /* 0x2B06A870: mov ecx, dword ptr [0x2b0eee60] */ 1868 /* test ecx, ecx */ /* 0x2B06A876: test ecx, ecx */ 1869 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1870 _cf = 0; 1871 _flag_k = FK_TEST; 1872 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A87F; /* 0x2B06A878: je 0x2b06a87f */ 1873 L_2B06A87A: 1874 RECOMP_BACKEDGE(); 1875 goto L_2B06A030; /* 0x2B06A87A: jmp 0x2b06a030 */ 1876 L_2B06A87F: 1877 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A87F: ret */ 1878 RECOMP_REGS_OUT(); 1879 } 1880 1881 void sub_2B06A880(void) { 1882 int _fpu_cmp = 0; 1883 uint32_t _cf = 0; 1884 int _df = 1; 1885 uint32_t _flag_k = FK_NONE; 1886 uint32_t _flag_a = 0, _flag_b = 0; 1887 uint32_t _itail_tgt = 0; 1888 RECOMP_REGS_LOCALS 1889 RECOMP_ENTER(0x2B06A880u); 1890 1891 goto L_2B06A880; 1892 L_2B06A090: 1893 SET_LO8(eax, MEM8(0x2B0EEE58)); /* 0x2B06A090: mov al, byte ptr [0x2b0eee58] */ 1894 /* test LO8(eax), LO8(eax) */ /* 0x2B06A095: test al, al */ 1895 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1896 _cf = 0; 1897 _flag_k = FK_NARROW(FK_TEST, 24); 1898 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A0AD; /* 0x2B06A097: je 0x2b06a0ad */ 1899 L_2B06A099: 1900 MEM8(0x2B0EEE58) = (uint8_t)(0); /* 0x2B06A099: mov byte ptr [0x2b0eee58], 0 */ 1901 eax = MEM32(ecx); /* 0x2B06A0A0: mov eax, dword ptr [ecx] */ 1902 ecx = MEM32(eax + 0x10); /* 0x2B06A0A2: mov ecx, dword ptr [eax + 0x10] */ 1903 PUSH32(esp, 1); /* 0x2B06A0A5: push 1 */ 1904 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06A0A7: call dword ptr [0x2b0b5ab4] */ 1905 RECOMP_FLAGS_IN(); 1906 L_2B06A0AD: 1907 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A0AD: ret */ 1908 L_2B06A880: 1909 ecx = MEM32(0x2B0EEE60); /* 0x2B06A880: mov ecx, dword ptr [0x2b0eee60] */ 1910 /* test ecx, ecx */ /* 0x2B06A886: test ecx, ecx */ 1911 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1912 _cf = 0; 1913 _flag_k = FK_TEST; 1914 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A88F; /* 0x2B06A888: je 0x2b06a88f */ 1915 L_2B06A88A: 1916 RECOMP_BACKEDGE(); 1917 goto L_2B06A090; /* 0x2B06A88A: jmp 0x2b06a090 */ 1918 L_2B06A88F: 1919 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A88F: ret */ 1920 RECOMP_REGS_OUT(); 1921 } 1922 1923 void sub_2B06A890(void) { 1924 int _fpu_cmp = 0; 1925 uint32_t _cf = 0; 1926 int _df = 1; 1927 uint32_t _flag_k = FK_NONE; 1928 uint32_t _flag_a = 0, _flag_b = 0; 1929 uint32_t _itail_tgt = 0; 1930 RECOMP_REGS_LOCALS 1931 RECOMP_ENTER(0x2B06A890u); 1932 1933 goto L_2B06A890; 1934 L_2B06A030: 1935 SET_LO8(eax, MEM8(0x2B0EEE58)); /* 0x2B06A030: mov al, byte ptr [0x2b0eee58] */ 1936 /* test LO8(eax), LO8(eax) */ /* 0x2B06A035: test al, al */ 1937 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1938 _cf = 0; 1939 _flag_k = FK_NARROW(FK_TEST, 24); 1940 PUSH32(esp, esi); /* 0x2B06A037: push esi */ 1941 esi = ecx; /* 0x2B06A038: mov esi, ecx */ 1942 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06A089; /* 0x2B06A03A: jne 0x2b06a089 */ 1943 L_2B06A03C: 1944 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06A03C: call dword ptr [0x2b0b5d6c] */ 1945 RECOMP_FLAGS_IN(); 1946 ecx = eax; /* 0x2B06A042: mov ecx, eax */ 1947 RECOMP_ICALL(MEM32(0x2B0B5D8C)); /* 0x2B06A044: call dword ptr [0x2b0b5d8c] */ 1948 RECOMP_FLAGS_IN(); 1949 /* test LO8(eax), LO8(eax) */ /* 0x2B06A04A: test al, al */ 1950 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1951 _cf = 0; 1952 _flag_k = FK_NARROW(FK_TEST, 24); 1953 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A075; /* 0x2B06A04C: je 0x2b06a075 */ 1954 L_2B06A04E: 1955 PUSH32(esp, 0); /* 0x2B06A04E: push 0 */ 1956 PUSH32(esp, 0); /* 0x2B06A050: push 0 */ 1957 PUSH32(esp, 0); /* 0x2B06A052: push 0 */ 1958 PUSH32(esp, 0x2B0EB348u); /* 0x2B06A054: push 0x2b0eb348 */ 1959 PUSH32(esp, 0x2B0EB15Cu); /* 0x2B06A059: push 0x2b0eb15c */ 1960 RECOMP_ICALL(0x2B089BF0u); /* 0x2B06A05E: call 0x2b089bf0 */ /* not lifted */ 1961 RECOMP_FLAGS_IN(); 1962 eax = MEM32(esi); /* 0x2B06A063: mov eax, dword ptr [esi] */ 1963 ecx = MEM32(eax + 0x10); /* 0x2B06A065: mov ecx, dword ptr [eax + 0x10] */ 1964 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 1965 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1966 esp = esp + 0x14u; /* 0x2B06A068: add esp, 0x14 */ 1967 _flag_k = FK_ADD; 1968 PUSH32(esp, 1); /* 0x2B06A06B: push 1 */ 1969 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06A06D: call dword ptr [0x2b0b5ab4] */ 1970 RECOMP_FLAGS_IN(); 1971 esi = POP32_VAL(esp); /* 0x2B06A073: pop esi */ 1972 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A074: ret */ 1973 L_2B06A075: 1974 MEM8(0x2B0EEE58) = (uint8_t)(1); /* 0x2B06A075: mov byte ptr [0x2b0eee58], 1 */ 1975 ecx = MEM32(esi); /* 0x2B06A07C: mov ecx, dword ptr [esi] */ 1976 ecx = MEM32(ecx + 0x10); /* 0x2B06A07E: mov ecx, dword ptr [ecx + 0x10] */ 1977 PUSH32(esp, 2); /* 0x2B06A081: push 2 */ 1978 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06A083: call dword ptr [0x2b0b5ab4] */ 1979 RECOMP_FLAGS_IN(); 1980 L_2B06A089: 1981 esi = POP32_VAL(esp); /* 0x2B06A089: pop esi */ 1982 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A08A: ret */ 1983 L_2B06A090: 1984 SET_LO8(eax, MEM8(0x2B0EEE58)); /* 0x2B06A090: mov al, byte ptr [0x2b0eee58] */ 1985 /* test LO8(eax), LO8(eax) */ /* 0x2B06A095: test al, al */ 1986 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1987 _cf = 0; 1988 _flag_k = FK_NARROW(FK_TEST, 24); 1989 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A0AD; /* 0x2B06A097: je 0x2b06a0ad */ 1990 L_2B06A099: 1991 MEM8(0x2B0EEE58) = (uint8_t)(0); /* 0x2B06A099: mov byte ptr [0x2b0eee58], 0 */ 1992 eax = MEM32(ecx); /* 0x2B06A0A0: mov eax, dword ptr [ecx] */ 1993 ecx = MEM32(eax + 0x10); /* 0x2B06A0A2: mov ecx, dword ptr [eax + 0x10] */ 1994 PUSH32(esp, 1); /* 0x2B06A0A5: push 1 */ 1995 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06A0A7: call dword ptr [0x2b0b5ab4] */ 1996 RECOMP_FLAGS_IN(); 1997 L_2B06A0AD: 1998 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A0AD: ret */ 1999 L_2B06A890: 2000 ecx = MEM32(0x2B0EEE60); /* 0x2B06A890: mov ecx, dword ptr [0x2b0eee60] */ 2001 /* test ecx, ecx */ /* 0x2B06A896: test ecx, ecx */ 2002 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2003 _cf = 0; 2004 _flag_k = FK_TEST; 2005 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A8AD; /* 0x2B06A898: je 0x2b06a8ad */ 2006 L_2B06A89A: 2007 SET_LO8(eax, MEM8(0x2B0EEE58)); /* 0x2B06A89A: mov al, byte ptr [0x2b0eee58] */ 2008 /* test LO8(eax), LO8(eax) */ /* 0x2B06A89F: test al, al */ 2009 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2010 _cf = 0; 2011 _flag_k = FK_NARROW(FK_TEST, 24); 2012 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A8A8; /* 0x2B06A8A1: je 0x2b06a8a8 */ 2013 L_2B06A8A3: 2014 RECOMP_BACKEDGE(); 2015 goto L_2B06A090; /* 0x2B06A8A3: jmp 0x2b06a090 */ 2016 L_2B06A8A8: 2017 RECOMP_BACKEDGE(); 2018 goto L_2B06A030; /* 0x2B06A8A8: jmp 0x2b06a030 */ 2019 L_2B06A8AD: 2020 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A8AD: ret */ 2021 RECOMP_REGS_OUT(); 2022 } 2023 2024 void sub_2B06A8B0(void) { 2025 int _fpu_cmp = 0; 2026 uint32_t _cf = 0; 2027 int _df = 1; 2028 uint32_t _flag_k = FK_NONE; 2029 uint32_t _flag_a = 0, _flag_b = 0; 2030 uint32_t _itail_tgt = 0; 2031 RECOMP_REGS_LOCALS 2032 RECOMP_ENTER(0x2B06A8B0u); 2033 2034 L_2B06A8B0: 2035 PUSH32(esp, ebp); /* 0x2B06A8B0: push ebp */ 2036 ebp = esp; /* 0x2B06A8B1: mov ebp, esp */ 2037 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06A8B3: push -1 */ 2038 PUSH32(esp, 0x2B0B0F3Bu); /* 0x2B06A8B5: push 0x2b0b0f3b */ 2039 eax = MEM32(FS_BASE + (0)); /* 0x2B06A8BA: mov eax, dword ptr fs:[0] */ 2040 PUSH32(esp, eax); /* 0x2B06A8C0: push eax */ 2041 MEM32(FS_BASE + (0)) = esp; /* 0x2B06A8C1: mov dword ptr fs:[0], esp */ 2042 PUSH32(esp, ecx); /* 0x2B06A8C8: push ecx */ 2043 eax = MEM32(0x2B0EEE68); /* 0x2B06A8C9: mov eax, dword ptr [0x2b0eee68] */ 2044 /* test eax, eax */ /* 0x2B06A8CE: test eax, eax */ 2045 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2046 _cf = 0; 2047 _flag_k = FK_TEST; 2048 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06A90B; /* 0x2B06A8D0: jne 0x2b06a90b */ 2049 L_2B06A8D2: 2050 PUSH32(esp, 1); /* 0x2B06A8D2: push 1 */ 2051 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06A8D4: call 0x2b0ab212 */ /* not lifted */ 2052 RECOMP_FLAGS_IN(); 2053 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2054 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2055 esp = esp + 4; /* 0x2B06A8D9: add esp, 4 */ 2056 _flag_k = FK_ADD; 2057 MEM32(ebp + (-0x10)) = eax; /* 0x2B06A8DC: mov dword ptr [ebp - 0x10], eax */ 2058 /* test eax, eax */ /* 0x2B06A8DF: test eax, eax */ 2059 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2060 _cf = 0; 2061 _flag_k = FK_TEST; 2062 MEM32(ebp + (-0x4)) = 0; /* 0x2B06A8E1: mov dword ptr [ebp - 4], 0 */ 2063 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06A904; /* 0x2B06A8E8: je 0x2b06a904 */ 2064 L_2B06A8EA: 2065 ecx = eax; /* 0x2B06A8EA: mov ecx, eax */ 2066 RECOMP_ICALL(0x2B06A930u); /* 0x2B06A8EC: call 0x2b06a930 */ /* not lifted */ 2067 RECOMP_FLAGS_IN(); 2068 MEM32(0x2B0EEE68) = eax; /* 0x2B06A8F1: mov dword ptr [0x2b0eee68], eax */ 2069 ecx = MEM32(ebp + (-0xC)); /* 0x2B06A8F6: mov ecx, dword ptr [ebp - 0xc] */ 2070 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06A8F9: mov dword ptr fs:[0], ecx */ 2071 esp = ebp; /* 0x2B06A900: mov esp, ebp */ 2072 ebp = POP32_VAL(esp); /* 0x2B06A902: pop ebp */ 2073 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A903: ret */ 2074 L_2B06A904: 2075 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2076 eax = 0; /* 0x2B06A904: xor eax, eax */ 2077 _cf = 0; 2078 _flag_k = FK_TEST; 2079 MEM32(0x2B0EEE68) = eax; /* 0x2B06A906: mov dword ptr [0x2b0eee68], eax */ 2080 L_2B06A90B: 2081 ecx = MEM32(ebp + (-0xC)); /* 0x2B06A90B: mov ecx, dword ptr [ebp - 0xc] */ 2082 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06A90E: mov dword ptr fs:[0], ecx */ 2083 esp = ebp; /* 0x2B06A915: mov esp, ebp */ 2084 ebp = POP32_VAL(esp); /* 0x2B06A917: pop ebp */ 2085 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A918: ret */ 2086 RECOMP_REGS_OUT(); 2087 } 2088 2089 void sub_2B06A920(void) { 2090 int _fpu_cmp = 0; 2091 uint32_t _cf = 0; 2092 int _df = 1; 2093 uint32_t _flag_k = FK_NONE; 2094 uint32_t _flag_a = 0, _flag_b = 0; 2095 uint32_t _itail_tgt = 0; 2096 RECOMP_REGS_LOCALS 2097 RECOMP_ENTER(0x2B06A920u); 2098 2099 L_2B06A920: 2100 eax = MEM32(0x2B0EEE68); /* 0x2B06A920: mov eax, dword ptr [0x2b0eee68] */ 2101 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A925: ret */ 2102 RECOMP_REGS_OUT(); 2103 } 2104 2105 void sub_2B06A930(void) { 2106 int _fpu_cmp = 0; 2107 uint32_t _cf = 0; 2108 int _df = 1; 2109 uint32_t _flag_k = FK_NONE; 2110 uint32_t _flag_a = 0, _flag_b = 0; 2111 uint32_t _itail_tgt = 0; 2112 RECOMP_REGS_LOCALS 2113 RECOMP_ENTER(0x2B06A930u); 2114 2115 L_2B06A930: 2116 PUSH32(esp, ebx); /* 0x2B06A930: push ebx */ 2117 PUSH32(esp, esi); /* 0x2B06A931: push esi */ 2118 esi = MEM32(0x2B0B53CC); /* 0x2B06A932: mov esi, dword ptr [0x2b0b53cc] */ 2119 PUSH32(esp, edi); /* 0x2B06A938: push edi */ 2120 ebx = ecx; /* 0x2B06A939: mov ebx, ecx */ 2121 RECOMP_ICALL(esi); /* 0x2B06A93B: call esi */ 2122 RECOMP_FLAGS_IN(); 2123 ecx = eax; /* 0x2B06A93D: mov ecx, eax */ 2124 RECOMP_ICALL(MEM32(0x2B0B5374)); /* 0x2B06A93F: call dword ptr [0x2b0b5374] */ 2125 RECOMP_FLAGS_IN(); 2126 PUSH32(esp, 0); /* 0x2B06A945: push 0 */ 2127 PUSH32(esp, 0xBu); /* 0x2B06A947: push 0xb */ 2128 PUSH32(esp, 1); /* 0x2B06A949: push 1 */ 2129 RECOMP_ICALL(esi); /* 0x2B06A94B: call esi */ 2130 RECOMP_FLAGS_IN(); 2131 ecx = eax; /* 0x2B06A94D: mov ecx, eax */ 2132 RECOMP_ICALL(MEM32(0x2B0B5378)); /* 0x2B06A94F: call dword ptr [0x2b0b5378] */ 2133 RECOMP_FLAGS_IN(); 2134 PUSH32(esp, 0x2B06B1D0u); /* 0x2B06A955: push 0x2b06b1d0 */ 2135 RECOMP_ICALL(esi); /* 0x2B06A95A: call esi */ 2136 RECOMP_FLAGS_IN(); 2137 ecx = eax; /* 0x2B06A95C: mov ecx, eax */ 2138 RECOMP_ICALL(MEM32(0x2B0B537C)); /* 0x2B06A95E: call dword ptr [0x2b0b537c] */ 2139 RECOMP_FLAGS_IN(); 2140 PUSH32(esp, 0x2B06A9E0u); /* 0x2B06A964: push 0x2b06a9e0 */ 2141 PUSH32(esp, 5); /* 0x2B06A969: push 5 */ 2142 RECOMP_ICALL(esi); /* 0x2B06A96B: call esi */ 2143 RECOMP_FLAGS_IN(); 2144 edi = MEM32(0x2B0B5324); /* 0x2B06A96D: mov edi, dword ptr [0x2b0b5324] */ 2145 ecx = eax; /* 0x2B06A973: mov ecx, eax */ 2146 RECOMP_ICALL(edi); /* 0x2B06A975: call edi */ 2147 RECOMP_FLAGS_IN(); 2148 PUSH32(esp, 0x2B06AA60u); /* 0x2B06A977: push 0x2b06aa60 */ 2149 PUSH32(esp, 6); /* 0x2B06A97C: push 6 */ 2150 RECOMP_ICALL(esi); /* 0x2B06A97E: call esi */ 2151 RECOMP_FLAGS_IN(); 2152 ecx = eax; /* 0x2B06A980: mov ecx, eax */ 2153 RECOMP_ICALL(edi); /* 0x2B06A982: call edi */ 2154 RECOMP_FLAGS_IN(); 2155 PUSH32(esp, 0x2B06AB40u); /* 0x2B06A984: push 0x2b06ab40 */ 2156 PUSH32(esp, 0x39u); /* 0x2B06A989: push 0x39 */ 2157 RECOMP_ICALL(esi); /* 0x2B06A98B: call esi */ 2158 RECOMP_FLAGS_IN(); 2159 ecx = eax; /* 0x2B06A98D: mov ecx, eax */ 2160 RECOMP_ICALL(edi); /* 0x2B06A98F: call edi */ 2161 RECOMP_FLAGS_IN(); 2162 PUSH32(esp, 0x2B06AC90u); /* 0x2B06A991: push 0x2b06ac90 */ 2163 PUSH32(esp, 0x3Au); /* 0x2B06A996: push 0x3a */ 2164 RECOMP_ICALL(esi); /* 0x2B06A998: call esi */ 2165 RECOMP_FLAGS_IN(); 2166 ecx = eax; /* 0x2B06A99A: mov ecx, eax */ 2167 RECOMP_ICALL(edi); /* 0x2B06A99C: call edi */ 2168 RECOMP_FLAGS_IN(); 2169 PUSH32(esp, 0x2B06ADD0u); /* 0x2B06A99E: push 0x2b06add0 */ 2170 PUSH32(esp, 0x3Bu); /* 0x2B06A9A3: push 0x3b */ 2171 RECOMP_ICALL(esi); /* 0x2B06A9A5: call esi */ 2172 RECOMP_FLAGS_IN(); 2173 ecx = eax; /* 0x2B06A9A7: mov ecx, eax */ 2174 RECOMP_ICALL(edi); /* 0x2B06A9A9: call edi */ 2175 RECOMP_FLAGS_IN(); 2176 PUSH32(esp, 0x2B06AEC0u); /* 0x2B06A9AB: push 0x2b06aec0 */ 2177 PUSH32(esp, 0x3Cu); /* 0x2B06A9B0: push 0x3c */ 2178 RECOMP_ICALL(esi); /* 0x2B06A9B2: call esi */ 2179 RECOMP_FLAGS_IN(); 2180 ecx = eax; /* 0x2B06A9B4: mov ecx, eax */ 2181 RECOMP_ICALL(edi); /* 0x2B06A9B6: call edi */ 2182 RECOMP_FLAGS_IN(); 2183 PUSH32(esp, 0x2B06B010u); /* 0x2B06A9B8: push 0x2b06b010 */ 2184 PUSH32(esp, 0x3Du); /* 0x2B06A9BD: push 0x3d */ 2185 RECOMP_ICALL(esi); /* 0x2B06A9BF: call esi */ 2186 RECOMP_FLAGS_IN(); 2187 ecx = eax; /* 0x2B06A9C1: mov ecx, eax */ 2188 RECOMP_ICALL(edi); /* 0x2B06A9C3: call edi */ 2189 RECOMP_FLAGS_IN(); 2190 edi = POP32_VAL(esp); /* 0x2B06A9C5: pop edi */ 2191 esi = POP32_VAL(esp); /* 0x2B06A9C6: pop esi */ 2192 eax = ebx; /* 0x2B06A9C7: mov eax, ebx */ 2193 ebx = POP32_VAL(esp); /* 0x2B06A9C9: pop ebx */ 2194 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A9CA: ret */ 2195 RECOMP_REGS_OUT(); 2196 } 2197 2198 void sub_2B06A9D0(void) { 2199 int _fpu_cmp = 0; 2200 uint32_t _cf = 0; 2201 int _df = 1; 2202 uint32_t _flag_k = FK_NONE; 2203 uint32_t _flag_a = 0, _flag_b = 0; 2204 uint32_t _itail_tgt = 0; 2205 RECOMP_REGS_LOCALS 2206 RECOMP_ENTER(0x2B06A9D0u); 2207 2208 L_2B06A9D0: 2209 MEM32(0x2B0EEE68) = 0; /* 0x2B06A9D0: mov dword ptr [0x2b0eee68], 0 */ 2210 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06A9DA: ret */ 2211 RECOMP_REGS_OUT(); 2212 } 2213 2214 void sub_2B06A9E0(void) { 2215 int _fpu_cmp = 0; 2216 uint32_t _cf = 0; 2217 int _df = 1; 2218 uint32_t _flag_k = FK_NONE; 2219 uint32_t _flag_a = 0, _flag_b = 0; 2220 uint32_t _itail_tgt = 0; 2221 RECOMP_REGS_LOCALS 2222 RECOMP_ENTER(0x2B06A9E0u); 2223 2224 L_2B06A9E0: 2225 PUSH32(esp, ebp); /* 0x2B06A9E0: push ebp */ 2226 ebp = esp; /* 0x2B06A9E1: mov ebp, esp */ 2227 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06A9E3: push -1 */ 2228 PUSH32(esp, 0x2B0B0F5Bu); /* 0x2B06A9E5: push 0x2b0b0f5b */ 2229 eax = MEM32(FS_BASE + (0)); /* 0x2B06A9EA: mov eax, dword ptr fs:[0] */ 2230 PUSH32(esp, eax); /* 0x2B06A9F0: push eax */ 2231 MEM32(FS_BASE + (0)) = esp; /* 0x2B06A9F1: mov dword ptr fs:[0], esp */ 2232 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2233 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2234 esp = esp - 8; /* 0x2B06A9F8: sub esp, 8 */ 2235 _flag_k = FK_CMP; 2236 PUSH32(esp, esi); /* 0x2B06A9FB: push esi */ 2237 PUSH32(esp, edi); /* 0x2B06A9FC: push edi */ 2238 PUSH32(esp, 0xCu); /* 0x2B06A9FD: push 0xc */ 2239 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06A9FF: call 0x2b0ab212 */ /* not lifted */ 2240 RECOMP_FLAGS_IN(); 2241 esi = eax; /* 0x2B06AA04: mov esi, eax */ 2242 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2243 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2244 esp = esp + 4; /* 0x2B06AA06: add esp, 4 */ 2245 _flag_k = FK_ADD; 2246 MEM32(ebp + (-0x14)) = esi; /* 0x2B06AA09: mov dword ptr [ebp - 0x14], esi */ 2247 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2248 edi = 0; /* 0x2B06AA0C: xor edi, edi */ 2249 _cf = 0; 2250 _flag_k = FK_TEST; 2251 /* cmp esi, edi */ /* 0x2B06AA0E: cmp esi, edi */ 2252 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 2253 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2254 _flag_k = FK_CMP; 2255 MEM32(ebp + (-0x4)) = edi; /* 0x2B06AA10: mov dword ptr [ebp - 4], edi */ 2256 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06AA37; /* 0x2B06AA13: je 0x2b06aa37 */ 2257 L_2B06AA15: 2258 SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2B06AA15: mov al, byte ptr [ebp - 0xd] */ 2259 PUSH32(esp, 0xCu); /* 0x2B06AA18: push 0xc */ 2260 MEM8(esi) = (uint8_t)(LO8(eax)); /* 0x2B06AA1A: mov byte ptr [esi], al */ 2261 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06AA1C: call 0x2b0ab212 */ /* not lifted */ 2262 RECOMP_FLAGS_IN(); 2263 MEM32(eax) = eax; /* 0x2B06AA21: mov dword ptr [eax], eax */ 2264 MEM32(eax + 0x4) = eax; /* 0x2B06AA23: mov dword ptr [eax + 4], eax */ 2265 MEM32(esi + 0x4) = eax; /* 0x2B06AA26: mov dword ptr [esi + 4], eax */ 2266 MEM32(esi + 0x8) = edi; /* 0x2B06AA29: mov dword ptr [esi + 8], edi */ 2267 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2268 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2269 esp = esp + 4; /* 0x2B06AA2C: add esp, 4 */ 2270 _flag_k = FK_ADD; 2271 MEM32(0x2B0EEE6C) = esi; /* 0x2B06AA2F: mov dword ptr [0x2b0eee6c], esi */ 2272 goto L_2B06AA3E; /* 0x2B06AA35: jmp 0x2b06aa3e */ 2273 L_2B06AA37: 2274 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2275 eax = 0; /* 0x2B06AA37: xor eax, eax */ 2276 _cf = 0; 2277 _flag_k = FK_TEST; 2278 MEM32(0x2B0EEE6C) = eax; /* 0x2B06AA39: mov dword ptr [0x2b0eee6c], eax */ 2279 L_2B06AA3E: 2280 ecx = MEM32(ebp + (-0xC)); /* 0x2B06AA3E: mov ecx, dword ptr [ebp - 0xc] */ 2281 MEM32(0x2B0EEE70) = edi; /* 0x2B06AA41: mov dword ptr [0x2b0eee70], edi */ 2282 edi = POP32_VAL(esp); /* 0x2B06AA47: pop edi */ 2283 esi = POP32_VAL(esp); /* 0x2B06AA48: pop esi */ 2284 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06AA49: mov dword ptr fs:[0], ecx */ 2285 esp = ebp; /* 0x2B06AA50: mov esp, ebp */ 2286 ebp = POP32_VAL(esp); /* 0x2B06AA52: pop ebp */ 2287 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06AA53: ret */ 2288 RECOMP_REGS_OUT(); 2289 } 2290 2291 void sub_2B06AA60(void) { 2292 int _fpu_cmp = 0; 2293 uint32_t _cf = 0; 2294 int _df = 1; 2295 uint32_t _flag_k = FK_NONE; 2296 uint32_t _flag_a = 0, _flag_b = 0; 2297 uint32_t _itail_tgt = 0; 2298 RECOMP_REGS_LOCALS 2299 RECOMP_ENTER(0x2B06AA60u); 2300 2301 L_2B06AA60: 2302 PUSH32(esp, ebp); /* 0x2B06AA60: push ebp */ 2303 ebp = esp; /* 0x2B06AA61: mov ebp, esp */ 2304 PUSH32(esp, ecx); /* 0x2B06AA63: push ecx */ 2305 eax = MEM32(0x2B0EEE6C); /* 0x2B06AA64: mov eax, dword ptr [0x2b0eee6c] */ 2306 ecx = MEM32(eax + 0x4); /* 0x2B06AA69: mov ecx, dword ptr [eax + 4] */ 2307 PUSH32(esp, ebx); /* 0x2B06AA6C: push ebx */ 2308 ebx = MEM32(ecx); /* 0x2B06AA6D: mov ebx, dword ptr [ecx] */ 2309 ecx = MEM32(eax + 0x8); /* 0x2B06AA6F: mov ecx, dword ptr [eax + 8] */ 2310 /* test ecx, ecx */ /* 0x2B06AA72: test ecx, ecx */ 2311 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2312 _cf = 0; 2313 _flag_k = FK_TEST; 2314 PUSH32(esp, esi); /* 0x2B06AA74: push esi */ 2315 PUSH32(esp, edi); /* 0x2B06AA75: push edi */ 2316 if (TEST_LE(_flag_a, _flag_b)) goto L_2B06AA9B; /* 0x2B06AA76: jle 0x2b06aa9b */ 2317 L_2B06AA78: 2318 edi = ecx; /* 0x2B06AA78: mov edi, ecx */ 2319 L_2B06AA7A: 2320 esi = MEM32(ebx + 0x8); /* 0x2B06AA7A: mov esi, dword ptr [ebx + 8] */ 2321 /* test esi, esi */ /* 0x2B06AA7D: test esi, esi */ 2322 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 2323 _cf = 0; 2324 _flag_k = FK_TEST; 2325 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06AA96; /* 0x2B06AA7F: je 0x2b06aa96 */ 2326 L_2B06AA81: 2327 ecx = esi; /* 0x2B06AA81: mov ecx, esi */ 2328 RECOMP_ICALL(0x2B06B550u); /* 0x2B06AA83: call 0x2b06b550 */ /* not lifted */ 2329 RECOMP_FLAGS_IN(); 2330 PUSH32(esp, esi); /* 0x2B06AA88: push esi */ 2331 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06AA89: call 0x2b0ab1ba */ /* not lifted */ 2332 RECOMP_FLAGS_IN(); 2333 eax = MEM32(0x2B0EEE6C); /* 0x2B06AA8E: mov eax, dword ptr [0x2b0eee6c] */ 2334 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2335 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2336 esp = esp + 4; /* 0x2B06AA93: add esp, 4 */ 2337 _flag_k = FK_ADD; 2338 L_2B06AA96: 2339 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 2340 edi = edi - 1; /* 0x2B06AA96: dec edi */ 2341 _flag_k = FK_DEC; 2342 ebx = MEM32(ebx); /* 0x2B06AA97: mov ebx, dword ptr [ebx] */ 2343 RECOMP_BACKEDGE(); 2344 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B06AA7A; /* 0x2B06AA99: jne 0x2b06aa7a */ 2345 L_2B06AA9B: 2346 ebx = MEM32(eax + 0x4); /* 0x2B06AA9B: mov ebx, dword ptr [eax + 4] */ 2347 esi = MEM32(ebx); /* 0x2B06AA9E: mov esi, dword ptr [ebx] */ 2348 /* cmp esi, ebx */ /* 0x2B06AAA0: cmp esi, ebx */ 2349 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2350 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2351 _flag_k = FK_CMP; 2352 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06AAD1; /* 0x2B06AAA2: je 0x2b06aad1 */ 2353 L_2B06AAA4: 2354 edi = eax + 0x8; /* 0x2B06AAA4: lea edi, [eax + 8] */ 2355 L_2B06AAA7: 2356 eax = esi; /* 0x2B06AAA7: mov eax, esi */ 2357 edx = MEM32(eax + 0x4); /* 0x2B06AAA9: mov edx, dword ptr [eax + 4] */ 2358 ecx = MEM32(eax); /* 0x2B06AAAC: mov ecx, dword ptr [eax] */ 2359 esi = MEM32(esi); /* 0x2B06AAAE: mov esi, dword ptr [esi] */ 2360 MEM32(edx) = ecx; /* 0x2B06AAB0: mov dword ptr [edx], ecx */ 2361 edx = MEM32(eax); /* 0x2B06AAB2: mov edx, dword ptr [eax] */ 2362 ecx = MEM32(eax + 0x4); /* 0x2B06AAB4: mov ecx, dword ptr [eax + 4] */ 2363 PUSH32(esp, eax); /* 0x2B06AAB7: push eax */ 2364 MEM32(edx + 0x4) = ecx; /* 0x2B06AAB8: mov dword ptr [edx + 4], ecx */ 2365 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06AABB: call 0x2b0ab1ba */ /* not lifted */ 2366 RECOMP_FLAGS_IN(); 2367 ecx = MEM32(edi); /* 0x2B06AAC0: mov ecx, dword ptr [edi] */ 2368 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2369 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2370 esp = esp + 4; /* 0x2B06AAC2: add esp, 4 */ 2371 _flag_k = FK_ADD; 2372 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2373 ecx = ecx - 1; /* 0x2B06AAC5: dec ecx */ 2374 _flag_k = FK_DEC; 2375 /* cmp esi, ebx */ /* 0x2B06AAC6: cmp esi, ebx */ 2376 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2377 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2378 _flag_k = FK_CMP; 2379 MEM32(edi) = ecx; /* 0x2B06AAC8: mov dword ptr [edi], ecx */ 2380 RECOMP_BACKEDGE(); 2381 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06AAA7; /* 0x2B06AACA: jne 0x2b06aaa7 */ 2382 L_2B06AACC: 2383 eax = MEM32(0x2B0EEE6C); /* 0x2B06AACC: mov eax, dword ptr [0x2b0eee6c] */ 2384 L_2B06AAD1: 2385 edi = eax; /* 0x2B06AAD1: mov edi, eax */ 2386 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2387 eax = 0; /* 0x2B06AAD3: xor eax, eax */ 2388 _cf = 0; 2389 _flag_k = FK_TEST; 2390 /* cmp edi, eax */ /* 0x2B06AAD5: cmp edi, eax */ 2391 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 2392 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2393 _flag_k = FK_CMP; 2394 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06AB23; /* 0x2B06AAD7: je 0x2b06ab23 */ 2395 L_2B06AAD9: 2396 ebx = MEM32(edi + 0x4); /* 0x2B06AAD9: mov ebx, dword ptr [edi + 4] */ 2397 esi = MEM32(ebx); /* 0x2B06AADC: mov esi, dword ptr [ebx] */ 2398 /* cmp esi, ebx */ /* 0x2B06AADE: cmp esi, ebx */ 2399 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2400 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2401 _flag_k = FK_CMP; 2402 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06AAF6; /* 0x2B06AAE0: je 0x2b06aaf6 */ 2403 L_2B06AAE2: 2404 eax = esi; /* 0x2B06AAE2: mov eax, esi */ 2405 esi = MEM32(esi); /* 0x2B06AAE4: mov esi, dword ptr [esi] */ 2406 PUSH32(esp, eax); /* 0x2B06AAE6: push eax */ 2407 edx = ebp + (-0x4); /* 0x2B06AAE7: lea edx, [ebp - 4] */ 2408 PUSH32(esp, edx); /* 0x2B06AAEA: push edx */ 2409 ecx = edi; /* 0x2B06AAEB: mov ecx, edi */ 2410 RECOMP_ICALL(0x2B03BC50u); /* 0x2B06AAED: call 0x2b03bc50 */ /* not lifted */ 2411 RECOMP_FLAGS_IN(); 2412 /* cmp esi, ebx */ /* 0x2B06AAF2: cmp esi, ebx */ 2413 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2414 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2415 _flag_k = FK_CMP; 2416 RECOMP_BACKEDGE(); 2417 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06AAE2; /* 0x2B06AAF4: jne 0x2b06aae2 */ 2418 L_2B06AAF6: 2419 eax = MEM32(edi + 0x4); /* 0x2B06AAF6: mov eax, dword ptr [edi + 4] */ 2420 PUSH32(esp, eax); /* 0x2B06AAF9: push eax */ 2421 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06AAFA: call 0x2b0ab1ba */ /* not lifted */ 2422 RECOMP_FLAGS_IN(); 2423 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2424 esi = 0; /* 0x2B06AAFF: xor esi, esi */ 2425 _cf = 0; 2426 _flag_k = FK_TEST; 2427 PUSH32(esp, edi); /* 0x2B06AB01: push edi */ 2428 MEM32(edi + 0x4) = esi; /* 0x2B06AB02: mov dword ptr [edi + 4], esi */ 2429 MEM32(edi + 0x8) = esi; /* 0x2B06AB05: mov dword ptr [edi + 8], esi */ 2430 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06AB08: call 0x2b0ab1ba */ /* not lifted */ 2431 RECOMP_FLAGS_IN(); 2432 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2433 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2434 esp = esp + 8; /* 0x2B06AB0D: add esp, 8 */ 2435 _flag_k = FK_ADD; 2436 edi = POP32_VAL(esp); /* 0x2B06AB10: pop edi */ 2437 MEM32(0x2B0EEE6C) = esi; /* 0x2B06AB11: mov dword ptr [0x2b0eee6c], esi */ 2438 MEM32(0x2B0EEE70) = esi; /* 0x2B06AB17: mov dword ptr [0x2b0eee70], esi */ 2439 esi = POP32_VAL(esp); /* 0x2B06AB1D: pop esi */ 2440 ebx = POP32_VAL(esp); /* 0x2B06AB1E: pop ebx */ 2441 esp = ebp; /* 0x2B06AB1F: mov esp, ebp */ 2442 ebp = POP32_VAL(esp); /* 0x2B06AB21: pop ebp */ 2443 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06AB22: ret */ 2444 L_2B06AB23: 2445 edi = POP32_VAL(esp); /* 0x2B06AB23: pop edi */ 2446 esi = POP32_VAL(esp); /* 0x2B06AB24: pop esi */ 2447 MEM32(0x2B0EEE6C) = eax; /* 0x2B06AB25: mov dword ptr [0x2b0eee6c], eax */ 2448 MEM32(0x2B0EEE70) = eax; /* 0x2B06AB2A: mov dword ptr [0x2b0eee70], eax */ 2449 ebx = POP32_VAL(esp); /* 0x2B06AB2F: pop ebx */ 2450 esp = ebp; /* 0x2B06AB30: mov esp, ebp */ 2451 ebp = POP32_VAL(esp); /* 0x2B06AB32: pop ebp */ 2452 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06AB33: ret */ 2453 RECOMP_REGS_OUT(); 2454 } 2455 2456 void sub_2B06AB40(void) { 2457 int _fpu_cmp = 0; 2458 uint32_t _cf = 0; 2459 int _df = 1; 2460 uint32_t _flag_k = FK_NONE; 2461 uint32_t _flag_a = 0, _flag_b = 0; 2462 uint32_t _itail_tgt = 0; 2463 RECOMP_REGS_LOCALS 2464 RECOMP_ENTER(0x2B06AB40u); 2465 2466 L_2B06AB40: 2467 PUSH32(esp, ebp); /* 0x2B06AB40: push ebp */ 2468 ebp = esp; /* 0x2B06AB41: mov ebp, esp */ 2469 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06AB43: push -1 */ 2470 PUSH32(esp, 0x2B0B0F7Bu); /* 0x2B06AB45: push 0x2b0b0f7b */ 2471 eax = MEM32(FS_BASE + (0)); /* 0x2B06AB4A: mov eax, dword ptr fs:[0] */ 2472 PUSH32(esp, eax); /* 0x2B06AB50: push eax */ 2473 MEM32(FS_BASE + (0)) = esp; /* 0x2B06AB51: mov dword ptr fs:[0], esp */ 2474 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x2Cu); 2475 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2476 esp = esp - 0x2Cu; /* 0x2B06AB58: sub esp, 0x2c */ 2477 _flag_k = FK_CMP; 2478 PUSH32(esp, edi); /* 0x2B06AB5B: push edi */ 2479 eax = ebp + (-0x1C); /* 0x2B06AB5C: lea eax, [ebp - 0x1c] */ 2480 PUSH32(esp, eax); /* 0x2B06AB5F: push eax */ 2481 ecx = ebp + (-0x14); /* 0x2B06AB60: lea ecx, [ebp - 0x14] */ 2482 PUSH32(esp, ecx); /* 0x2B06AB63: push ecx */ 2483 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B06AB64: call dword ptr [0x2b0b53cc] */ 2484 RECOMP_FLAGS_IN(); 2485 ecx = eax; /* 0x2B06AB6A: mov ecx, eax */ 2486 RECOMP_ICALL(MEM32(0x2B0B5360)); /* 0x2B06AB6C: call dword ptr [0x2b0b5360] */ 2487 RECOMP_FLAGS_IN(); 2488 eax = MEM32(0x2B0EE690); /* 0x2B06AB72: mov eax, dword ptr [0x2b0ee690] */ 2489 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2490 edi = 0; /* 0x2B06AB77: xor edi, edi */ 2491 _cf = 0; 2492 _flag_k = FK_TEST; 2493 /* cmp eax, edi */ /* 0x2B06AB79: cmp eax, edi */ 2494 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2495 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2496 _flag_k = FK_CMP; 2497 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06AB8B; /* 0x2B06AB7B: je 0x2b06ab8b */ 2498 L_2B06AB7D: 2499 eax = MEM32(eax + 0xC); /* 0x2B06AB7D: mov eax, dword ptr [eax + 0xc] */ 2500 edx = MEM32(eax + 0x14); /* 0x2B06AB80: mov edx, dword ptr [eax + 0x14] */ 2501 eax = MEM32(edx + 0x30); /* 0x2B06AB83: mov eax, dword ptr [edx + 0x30] */ 2502 MEM32(0x2B0EEE64) = eax; /* 0x2B06AB86: mov dword ptr [0x2b0eee64], eax */ 2503 L_2B06AB8B: 2504 ecx = MEM32(0x2B0EEE64); /* 0x2B06AB8B: mov ecx, dword ptr [0x2b0eee64] */ 2505 PUSH32(esp, ebx); /* 0x2B06AB91: push ebx */ 2506 PUSH32(esp, esi); /* 0x2B06AB92: push esi */ 2507 esi = MEM32(0x2B0B523C); /* 0x2B06AB93: mov esi, dword ptr [0x2b0b523c] */ 2508 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xFFFFFFECu); 2509 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2510 ecx = ecx + 0xFFFFFFECu; /* 0x2B06AB99: add ecx, -0x14 */ 2511 _flag_k = FK_ADD; 2512 MEM32(ebp + (-0x24)) = 0x32u; /* 0x2B06AB9C: mov dword ptr [ebp - 0x24], 0x32 */ 2513 MEM32(ebp + (-0x20)) = ecx; /* 0x2B06ABA3: mov dword ptr [ebp - 0x20], ecx */ 2514 RECOMP_ICALL(esi); /* 0x2B06ABA6: call esi */ 2515 RECOMP_FLAGS_IN(); 2516 RECOMP_ICALL(esi); /* 0x2B06ABA8: call esi */ 2517 RECOMP_FLAGS_IN(); 2518 MEM32(ebp + (-0x10)) = eax; /* 0x2B06ABAA: mov dword ptr [ebp - 0x10], eax */ 2519 fp_push((double)(int32_t)MEM32(ebp + (-0x10))); /* 0x2B06ABAD: fild dword ptr [ebp - 0x10] */ 2520 _st[0] *= (double)*(float*)ADDR(0x2B0B70F4); /* 0x2B06ABB0: fmul dword ptr [0x2b0b70f4] */ 2521 _st[0] *= (double)*(float*)ADDR(0x2B0B70F0); /* 0x2B06ABB6: fmul dword ptr [0x2b0b70f0] */ 2522 _st[0] -= (double)*(float*)ADDR(0x2B0B6C80); /* 0x2B06ABBC: fsub dword ptr [0x2b0b6c80] */ 2523 RECOMP_ICALL(0x2B0AB220u); /* 0x2B06ABC2: call 0x2b0ab220 */ /* not lifted */ 2524 RECOMP_FLAGS_IN(); 2525 ebx = MEM32(ebp + (-0x24)); /* 0x2B06ABC7: mov ebx, dword ptr [ebp - 0x24] */ 2526 edx = MEM32(ebp + (-0x14)); /* 0x2B06ABCA: mov edx, dword ptr [ebp - 0x14] */ 2527 PUSH32(esp, edx); /* 0x2B06ABCD: push edx */ 2528 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 2529 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2530 ebx = ebx + eax; /* 0x2B06ABCE: add ebx, eax */ 2531 _flag_k = FK_ADD; 2532 eax = ebp + (-0x38); /* 0x2B06ABD0: lea eax, [ebp - 0x38] */ 2533 PUSH32(esp, 0x2B0E7354u); /* 0x2B06ABD3: push 0x2b0e7354 */ 2534 PUSH32(esp, eax); /* 0x2B06ABD8: push eax */ 2535 MEM32(ebp + (-0x24)) = ebx; /* 0x2B06ABD9: mov dword ptr [ebp - 0x24], ebx */ 2536 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B06ABDC: call dword ptr [0x2b0b51f0] */ 2537 RECOMP_FLAGS_IN(); 2538 PUSH32(esp, 0x24u); /* 0x2B06ABE2: push 0x24 */ 2539 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06ABE4: call 0x2b0ab212 */ /* not lifted */ 2540 RECOMP_FLAGS_IN(); 2541 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 2542 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2543 esp = esp + 0x10u; /* 0x2B06ABE9: add esp, 0x10 */ 2544 _flag_k = FK_ADD; 2545 MEM32(ebp + (-0x10)) = eax; /* 0x2B06ABEC: mov dword ptr [ebp - 0x10], eax */ 2546 /* cmp eax, edi */ /* 0x2B06ABEF: cmp eax, edi */ 2547 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2548 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2549 _flag_k = FK_CMP; 2550 MEM32(ebp + (-0x4)) = edi; /* 0x2B06ABF1: mov dword ptr [ebp - 4], edi */ 2551 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06AC27; /* 0x2B06ABF4: je 0x2b06ac27 */ 2552 L_2B06ABF6: 2553 edx = MEM32(ebp + (-0x1C)); /* 0x2B06ABF6: mov edx, dword ptr [ebp - 0x1c] */ 2554 PUSH32(esp, 0xBF800000u); /* 0x2B06ABF9: push 0xbf800000 */ 2555 PUSH32(esp, 0xBF800000u); /* 0x2B06ABFE: push 0xbf800000 */ 2556 PUSH32(esp, 1); /* 0x2B06AC03: push 1 */ 2557 ecx = ebp + (-0x18); /* 0x2B06AC05: lea ecx, [ebp - 0x18] */ 2558 PUSH32(esp, ecx); /* 0x2B06AC08: push ecx */ 2559 PUSH32(esp, edx); /* 0x2B06AC09: push edx */ 2560 ecx = ebp + (-0x24); /* 0x2B06AC0A: lea ecx, [ebp - 0x24] */ 2561 PUSH32(esp, ecx); /* 0x2B06AC0D: push ecx */ 2562 PUSH32(esp, 2); /* 0x2B06AC0E: push 2 */ 2563 edx = ebp + (-0x38); /* 0x2B06AC10: lea edx, [ebp - 0x38] */ 2564 PUSH32(esp, edx); /* 0x2B06AC13: push edx */ 2565 ecx = eax; /* 0x2B06AC14: mov ecx, eax */ 2566 MEM32(ebp + (-0x18)) = 0x40133333u; /* 0x2B06AC16: mov dword ptr [ebp - 0x18], 0x40133333 */ 2567 RECOMP_ICALL(0x2B06B2A0u); /* 0x2B06AC1D: call 0x2b06b2a0 */ /* not lifted */ 2568 RECOMP_FLAGS_IN(); 2569 MEM32(ebp + (-0x10)) = eax; /* 0x2B06AC22: mov dword ptr [ebp - 0x10], eax */ 2570 goto L_2B06AC2A; /* 0x2B06AC25: jmp 0x2b06ac2a */ 2571 L_2B06AC27: 2572 MEM32(ebp + (-0x10)) = edi; /* 0x2B06AC27: mov dword ptr [ebp - 0x10], edi */ 2573 L_2B06AC2A: 2574 edi = MEM32(0x2B0EEE6C); /* 0x2B06AC2A: mov edi, dword ptr [0x2b0eee6c] */ 2575 esi = MEM32(edi + 0x4); /* 0x2B06AC30: mov esi, dword ptr [edi + 4] */ 2576 ebx = MEM32(esi + 0x4); /* 0x2B06AC33: mov ebx, dword ptr [esi + 4] */ 2577 PUSH32(esp, 0xCu); /* 0x2B06AC36: push 0xc */ 2578 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B06AC38: mov dword ptr [ebp - 4], 0xffffffff */ 2579 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06AC3F: call 0x2b0ab212 */ /* not lifted */ 2580 RECOMP_FLAGS_IN(); 2581 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2582 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2583 esp = esp + 4; /* 0x2B06AC44: add esp, 4 */ 2584 _flag_k = FK_ADD; 2585 /* test esi, esi */ /* 0x2B06AC47: test esi, esi */ 2586 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 2587 _cf = 0; 2588 _flag_k = FK_TEST; 2589 ecx = esi; /* 0x2B06AC49: mov ecx, esi */ 2590 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06AC4F; /* 0x2B06AC4B: jne 0x2b06ac4f */ 2591 L_2B06AC4D: 2592 ecx = eax; /* 0x2B06AC4D: mov ecx, eax */ 2593 L_2B06AC4F: 2594 /* test ebx, ebx */ /* 0x2B06AC4F: test ebx, ebx */ 2595 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 2596 _cf = 0; 2597 _flag_k = FK_TEST; 2598 MEM32(eax) = ecx; /* 0x2B06AC51: mov dword ptr [eax], ecx */ 2599 ecx = ebx; /* 0x2B06AC53: mov ecx, ebx */ 2600 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06AC59; /* 0x2B06AC55: jne 0x2b06ac59 */ 2601 L_2B06AC57: 2602 ecx = eax; /* 0x2B06AC57: mov ecx, eax */ 2603 L_2B06AC59: 2604 MEM32(eax + 0x4) = ecx; /* 0x2B06AC59: mov dword ptr [eax + 4], ecx */ 2605 MEM32(esi + 0x4) = eax; /* 0x2B06AC5C: mov dword ptr [esi + 4], eax */ 2606 ecx = MEM32(eax + 0x4); /* 0x2B06AC5F: mov ecx, dword ptr [eax + 4] */ 2607 MEM32(ecx) = eax; /* 0x2B06AC62: mov dword ptr [ecx], eax */ 2608 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 2609 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2610 eax = eax + 8; /* 0x2B06AC64: add eax, 8 */ 2611 _flag_k = FK_ADD; 2612 /* test eax, eax */ /* 0x2B06AC67: test eax, eax */ 2613 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2614 _cf = 0; 2615 _flag_k = FK_TEST; 2616 esi = POP32_VAL(esp); /* 0x2B06AC69: pop esi */ 2617 ebx = POP32_VAL(esp); /* 0x2B06AC6A: pop ebx */ 2618 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06AC72; /* 0x2B06AC6B: je 0x2b06ac72 */ 2619 L_2B06AC6D: 2620 edx = MEM32(ebp + (-0x10)); /* 0x2B06AC6D: mov edx, dword ptr [ebp - 0x10] */ 2621 MEM32(eax) = edx; /* 0x2B06AC70: mov dword ptr [eax], edx */ 2622 L_2B06AC72: 2623 eax = MEM32(edi + 0x8); /* 0x2B06AC72: mov eax, dword ptr [edi + 8] */ 2624 ecx = MEM32(ebp + (-0xC)); /* 0x2B06AC75: mov ecx, dword ptr [ebp - 0xc] */ 2625 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2626 eax = eax + 1; /* 0x2B06AC78: inc eax */ 2627 _flag_k = FK_INC; 2628 MEM32(edi + 0x8) = eax; /* 0x2B06AC79: mov dword ptr [edi + 8], eax */ 2629 edi = POP32_VAL(esp); /* 0x2B06AC7C: pop edi */ 2630 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06AC7D: mov dword ptr fs:[0], ecx */ 2631 esp = ebp; /* 0x2B06AC84: mov esp, ebp */ 2632 ebp = POP32_VAL(esp); /* 0x2B06AC86: pop ebp */ 2633 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06AC87: ret */ 2634 RECOMP_REGS_OUT(); 2635 } 2636 2637 void sub_2B06AC90(void) { 2638 int _fpu_cmp = 0; 2639 uint32_t _cf = 0; 2640 int _df = 1; 2641 uint32_t _flag_k = FK_NONE; 2642 uint32_t _flag_a = 0, _flag_b = 0; 2643 uint32_t _itail_tgt = 0; 2644 RECOMP_REGS_LOCALS 2645 RECOMP_ENTER(0x2B06AC90u); 2646 2647 L_2B06AC90: 2648 PUSH32(esp, ebp); /* 0x2B06AC90: push ebp */ 2649 ebp = esp; /* 0x2B06AC91: mov ebp, esp */ 2650 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06AC93: push -1 */ 2651 PUSH32(esp, 0x2B0B0F9Bu); /* 0x2B06AC95: push 0x2b0b0f9b */ 2652 eax = MEM32(FS_BASE + (0)); /* 0x2B06AC9A: mov eax, dword ptr fs:[0] */ 2653 PUSH32(esp, eax); /* 0x2B06ACA0: push eax */ 2654 MEM32(FS_BASE + (0)) = esp; /* 0x2B06ACA1: mov dword ptr fs:[0], esp */ 2655 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u); 2656 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2657 esp = esp - 0x20u; /* 0x2B06ACA8: sub esp, 0x20 */ 2658 _flag_k = FK_CMP; 2659 PUSH32(esp, esi); /* 0x2B06ACAB: push esi */ 2660 esi = MEM32(0x2B0B53CC); /* 0x2B06ACAC: mov esi, dword ptr [0x2b0b53cc] */ 2661 PUSH32(esp, edi); /* 0x2B06ACB2: push edi */ 2662 MEM32(ebp + (-0x2C)) = 0; /* 0x2B06ACB3: mov dword ptr [ebp - 0x2c], 0 */ 2663 MEM32(ebp + (-0x28)) = 0; /* 0x2B06ACBA: mov dword ptr [ebp - 0x28], 0 */ 2664 MEM32(ebp + (-0x24)) = 0; /* 0x2B06ACC1: mov dword ptr [ebp - 0x24], 0 */ 2665 RECOMP_ICALL(esi); /* 0x2B06ACC8: call esi */ 2666 RECOMP_FLAGS_IN(); 2667 ecx = eax; /* 0x2B06ACCA: mov ecx, eax */ 2668 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B06ACCC: call dword ptr [0x2b0b53a4] */ 2669 RECOMP_FLAGS_IN(); 2670 edi = eax; /* 0x2B06ACD2: mov edi, eax */ 2671 eax = ebp + (-0x18); /* 0x2B06ACD4: lea eax, [ebp - 0x18] */ 2672 PUSH32(esp, eax); /* 0x2B06ACD7: push eax */ 2673 RECOMP_ICALL(esi); /* 0x2B06ACD8: call esi */ 2674 RECOMP_FLAGS_IN(); 2675 ecx = eax; /* 0x2B06ACDA: mov ecx, eax */ 2676 RECOMP_ICALL(MEM32(0x2B0B53A8)); /* 0x2B06ACDC: call dword ptr [0x2b0b53a8] */ 2677 RECOMP_FLAGS_IN(); 2678 ecx = ebp + (-0x2C); /* 0x2B06ACE2: lea ecx, [ebp - 0x2c] */ 2679 PUSH32(esp, ecx); /* 0x2B06ACE5: push ecx */ 2680 RECOMP_ICALL(esi); /* 0x2B06ACE6: call esi */ 2681 RECOMP_FLAGS_IN(); 2682 ecx = eax; /* 0x2B06ACE8: mov ecx, eax */ 2683 RECOMP_ICALL(MEM32(0x2B0B5338)); /* 0x2B06ACEA: call dword ptr [0x2b0b5338] */ 2684 RECOMP_FLAGS_IN(); 2685 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x2B06ACF0: fld dword ptr [ebp - 0x28] */ 2686 _st[0] += (double)*(float*)ADDR(0x2B0B70F8); /* 0x2B06ACF3: fadd dword ptr [0x2b0b70f8] */ 2687 esi = MEM32(0x2B0B5564); /* 0x2B06ACF9: mov esi, dword ptr [0x2b0b5564] */ 2688 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x28)) = _v; } /* 0x2B06ACFF: fstp dword ptr [ebp - 0x28] */ 2689 RECOMP_ICALL(esi); /* 0x2B06AD02: call esi */ 2690 RECOMP_FLAGS_IN(); 2691 /* test eax, eax */ /* 0x2B06AD04: test eax, eax */ 2692 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2693 _cf = 0; 2694 _flag_k = FK_TEST; 2695 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06ADB8; /* 0x2B06AD06: je 0x2b06adb8 */ 2696 L_2B06AD0C: 2697 edx = ebp + (-0x20); /* 0x2B06AD0C: lea edx, [ebp - 0x20] */ 2698 PUSH32(esp, edx); /* 0x2B06AD0F: push edx */ 2699 eax = ebp + (-0x2C); /* 0x2B06AD10: lea eax, [ebp - 0x2c] */ 2700 PUSH32(esp, eax); /* 0x2B06AD13: push eax */ 2701 RECOMP_ICALL(esi); /* 0x2B06AD14: call esi */ 2702 RECOMP_FLAGS_IN(); 2703 ecx = eax; /* 0x2B06AD16: mov ecx, eax */ 2704 RECOMP_ICALL(MEM32(0x2B0B54AC)); /* 0x2B06AD18: call dword ptr [0x2b0b54ac] */ 2705 RECOMP_FLAGS_IN(); 2706 /* test LO8(eax), LO8(eax) */ /* 0x2B06AD1E: test al, al */ 2707 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2708 _cf = 0; 2709 _flag_k = FK_NARROW(FK_TEST, 24); 2710 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06ADB8; /* 0x2B06AD20: je 0x2b06adb8 */ 2711 L_2B06AD26: 2712 PUSH32(esp, 0x24u); /* 0x2B06AD26: push 0x24 */ 2713 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06AD28: call 0x2b0ab212 */ /* not lifted */ 2714 RECOMP_FLAGS_IN(); 2715 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2716 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2717 esp = esp + 4; /* 0x2B06AD2D: add esp, 4 */ 2718 _flag_k = FK_ADD; 2719 MEM32(ebp + (-0x10)) = eax; /* 0x2B06AD30: mov dword ptr [ebp - 0x10], eax */ 2720 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2721 ecx = 0; /* 0x2B06AD33: xor ecx, ecx */ 2722 _cf = 0; 2723 _flag_k = FK_TEST; 2724 /* cmp eax, ecx */ /* 0x2B06AD35: cmp eax, ecx */ 2725 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2726 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2727 _flag_k = FK_CMP; 2728 MEM32(ebp + (-0x4)) = ecx; /* 0x2B06AD37: mov dword ptr [ebp - 4], ecx */ 2729 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06AD6A; /* 0x2B06AD3A: je 0x2b06ad6a */ 2730 L_2B06AD3C: 2731 edx = MEM32(ebp + (-0x18)); /* 0x2B06AD3C: mov edx, dword ptr [ebp - 0x18] */ 2732 PUSH32(esp, 0xBF800000u); /* 0x2B06AD3F: push 0xbf800000 */ 2733 PUSH32(esp, 0xBF800000u); /* 0x2B06AD44: push 0xbf800000 */ 2734 PUSH32(esp, 1); /* 0x2B06AD49: push 1 */ 2735 ecx = ebp + (-0x14); /* 0x2B06AD4B: lea ecx, [ebp - 0x14] */ 2736 PUSH32(esp, ecx); /* 0x2B06AD4E: push ecx */ 2737 PUSH32(esp, edx); /* 0x2B06AD4F: push edx */ 2738 ecx = ebp + (-0x20); /* 0x2B06AD50: lea ecx, [ebp - 0x20] */ 2739 PUSH32(esp, ecx); /* 0x2B06AD53: push ecx */ 2740 PUSH32(esp, 2); /* 0x2B06AD54: push 2 */ 2741 PUSH32(esp, edi); /* 0x2B06AD56: push edi */ 2742 ecx = eax; /* 0x2B06AD57: mov ecx, eax */ 2743 MEM32(ebp + (-0x14)) = 0x40133333u; /* 0x2B06AD59: mov dword ptr [ebp - 0x14], 0x40133333 */ 2744 RECOMP_ICALL(0x2B06B2A0u); /* 0x2B06AD60: call 0x2b06b2a0 */ /* not lifted */ 2745 RECOMP_FLAGS_IN(); 2746 MEM32(ebp + (-0x10)) = eax; /* 0x2B06AD65: mov dword ptr [ebp - 0x10], eax */ 2747 goto L_2B06AD6D; /* 0x2B06AD68: jmp 0x2b06ad6d */ 2748 L_2B06AD6A: 2749 MEM32(ebp + (-0x10)) = ecx; /* 0x2B06AD6A: mov dword ptr [ebp - 0x10], ecx */ 2750 L_2B06AD6D: 2751 PUSH32(esp, ebx); /* 0x2B06AD6D: push ebx */ 2752 ebx = MEM32(0x2B0EEE6C); /* 0x2B06AD6E: mov ebx, dword ptr [0x2b0eee6c] */ 2753 esi = MEM32(ebx + 0x4); /* 0x2B06AD74: mov esi, dword ptr [ebx + 4] */ 2754 edi = MEM32(esi + 0x4); /* 0x2B06AD77: mov edi, dword ptr [esi + 4] */ 2755 PUSH32(esp, 0xCu); /* 0x2B06AD7A: push 0xc */ 2756 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B06AD7C: mov dword ptr [ebp - 4], 0xffffffff */ 2757 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06AD83: call 0x2b0ab212 */ /* not lifted */ 2758 RECOMP_FLAGS_IN(); 2759 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2760 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2761 esp = esp + 4; /* 0x2B06AD88: add esp, 4 */ 2762 _flag_k = FK_ADD; 2763 /* test esi, esi */ /* 0x2B06AD8B: test esi, esi */ 2764 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 2765 _cf = 0; 2766 _flag_k = FK_TEST; 2767 ecx = esi; /* 0x2B06AD8D: mov ecx, esi */ 2768 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06AD93; /* 0x2B06AD8F: jne 0x2b06ad93 */ 2769 L_2B06AD91: 2770 ecx = eax; /* 0x2B06AD91: mov ecx, eax */ 2771 L_2B06AD93: 2772 /* test edi, edi */ /* 0x2B06AD93: test edi, edi */ 2773 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2774 _cf = 0; 2775 _flag_k = FK_TEST; 2776 MEM32(eax) = ecx; /* 0x2B06AD95: mov dword ptr [eax], ecx */ 2777 ecx = edi; /* 0x2B06AD97: mov ecx, edi */ 2778 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06AD9D; /* 0x2B06AD99: jne 0x2b06ad9d */ 2779 L_2B06AD9B: 2780 ecx = eax; /* 0x2B06AD9B: mov ecx, eax */ 2781 L_2B06AD9D: 2782 MEM32(eax + 0x4) = ecx; /* 0x2B06AD9D: mov dword ptr [eax + 4], ecx */ 2783 MEM32(esi + 0x4) = eax; /* 0x2B06ADA0: mov dword ptr [esi + 4], eax */ 2784 edx = MEM32(eax + 0x4); /* 0x2B06ADA3: mov edx, dword ptr [eax + 4] */ 2785 MEM32(edx) = eax; /* 0x2B06ADA6: mov dword ptr [edx], eax */ 2786 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 2787 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2788 eax = eax + 8; /* 0x2B06ADA8: add eax, 8 */ 2789 _flag_k = FK_ADD; 2790 /* test eax, eax */ /* 0x2B06ADAB: test eax, eax */ 2791 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2792 _cf = 0; 2793 _flag_k = FK_TEST; 2794 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06ADB4; /* 0x2B06ADAD: je 0x2b06adb4 */ 2795 L_2B06ADAF: 2796 ecx = MEM32(ebp + (-0x10)); /* 0x2B06ADAF: mov ecx, dword ptr [ebp - 0x10] */ 2797 MEM32(eax) = ecx; /* 0x2B06ADB2: mov dword ptr [eax], ecx */ 2798 L_2B06ADB4: 2799 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(1); 2800 MEM32(ebx + 0x8) = MEM32(ebx + 0x8) + 1; /* 0x2B06ADB4: inc dword ptr [ebx + 8] */ 2801 _flag_k = FK_INC; 2802 ebx = POP32_VAL(esp); /* 0x2B06ADB7: pop ebx */ 2803 L_2B06ADB8: 2804 ecx = MEM32(ebp + (-0xC)); /* 0x2B06ADB8: mov ecx, dword ptr [ebp - 0xc] */ 2805 edi = POP32_VAL(esp); /* 0x2B06ADBB: pop edi */ 2806 esi = POP32_VAL(esp); /* 0x2B06ADBC: pop esi */ 2807 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06ADBD: mov dword ptr fs:[0], ecx */ 2808 esp = ebp; /* 0x2B06ADC4: mov esp, ebp */ 2809 ebp = POP32_VAL(esp); /* 0x2B06ADC6: pop ebp */ 2810 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06ADC7: ret */ 2811 RECOMP_REGS_OUT(); 2812 } 2813 2814 void sub_2B06ADD0(void) { 2815 int _fpu_cmp = 0; 2816 uint32_t _cf = 0; 2817 int _df = 1; 2818 uint32_t _flag_k = FK_NONE; 2819 uint32_t _flag_a = 0, _flag_b = 0; 2820 uint32_t _itail_tgt = 0; 2821 RECOMP_REGS_LOCALS 2822 RECOMP_ENTER(0x2B06ADD0u); 2823 2824 L_2B06ADD0: 2825 PUSH32(esp, ebp); /* 0x2B06ADD0: push ebp */ 2826 ebp = esp; /* 0x2B06ADD1: mov ebp, esp */ 2827 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06ADD3: push -1 */ 2828 PUSH32(esp, 0x2B0B0FBBu); /* 0x2B06ADD5: push 0x2b0b0fbb */ 2829 eax = MEM32(FS_BASE + (0)); /* 0x2B06ADDA: mov eax, dword ptr fs:[0] */ 2830 PUSH32(esp, eax); /* 0x2B06ADE0: push eax */ 2831 MEM32(FS_BASE + (0)) = esp; /* 0x2B06ADE1: mov dword ptr fs:[0], esp */ 2832 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 2833 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2834 esp = esp - 0x10u; /* 0x2B06ADE8: sub esp, 0x10 */ 2835 _flag_k = FK_CMP; 2836 PUSH32(esp, esi); /* 0x2B06ADEB: push esi */ 2837 PUSH32(esp, edi); /* 0x2B06ADEC: push edi */ 2838 edi = MEM32(0x2B0B53CC); /* 0x2B06ADED: mov edi, dword ptr [0x2b0b53cc] */ 2839 RECOMP_ICALL(edi); /* 0x2B06ADF3: call edi */ 2840 RECOMP_FLAGS_IN(); 2841 ecx = eax; /* 0x2B06ADF5: mov ecx, eax */ 2842 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B06ADF7: call dword ptr [0x2b0b53a4] */ 2843 RECOMP_FLAGS_IN(); 2844 esi = eax; /* 0x2B06ADFD: mov esi, eax */ 2845 eax = ebp + (-0x1C); /* 0x2B06ADFF: lea eax, [ebp - 0x1c] */ 2846 PUSH32(esp, eax); /* 0x2B06AE02: push eax */ 2847 RECOMP_ICALL(edi); /* 0x2B06AE03: call edi */ 2848 RECOMP_FLAGS_IN(); 2849 ecx = eax; /* 0x2B06AE05: mov ecx, eax */ 2850 RECOMP_ICALL(MEM32(0x2B0B5334)); /* 0x2B06AE07: call dword ptr [0x2b0b5334] */ 2851 RECOMP_FLAGS_IN(); 2852 ecx = ebp + (-0x14); /* 0x2B06AE0D: lea ecx, [ebp - 0x14] */ 2853 PUSH32(esp, ecx); /* 0x2B06AE10: push ecx */ 2854 RECOMP_ICALL(edi); /* 0x2B06AE11: call edi */ 2855 RECOMP_FLAGS_IN(); 2856 ecx = eax; /* 0x2B06AE13: mov ecx, eax */ 2857 RECOMP_ICALL(MEM32(0x2B0B5370)); /* 0x2B06AE15: call dword ptr [0x2b0b5370] */ 2858 RECOMP_FLAGS_IN(); 2859 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2860 edi = 0; /* 0x2B06AE1B: xor edi, edi */ 2861 _cf = 0; 2862 _flag_k = FK_TEST; 2863 /* cmp esi, edi */ /* 0x2B06AE1D: cmp esi, edi */ 2864 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 2865 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2866 _flag_k = FK_CMP; 2867 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06AEAB; /* 0x2B06AE1F: je 0x2b06aeab */ 2868 L_2B06AE25: 2869 PUSH32(esp, 0x24u); /* 0x2B06AE25: push 0x24 */ 2870 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06AE27: call 0x2b0ab212 */ /* not lifted */ 2871 RECOMP_FLAGS_IN(); 2872 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2873 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2874 esp = esp + 4; /* 0x2B06AE2C: add esp, 4 */ 2875 _flag_k = FK_ADD; 2876 MEM32(ebp + (-0x10)) = eax; /* 0x2B06AE2F: mov dword ptr [ebp - 0x10], eax */ 2877 /* cmp eax, edi */ /* 0x2B06AE32: cmp eax, edi */ 2878 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2879 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2880 _flag_k = FK_CMP; 2881 MEM32(ebp + (-0x4)) = edi; /* 0x2B06AE34: mov dword ptr [ebp - 4], edi */ 2882 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06AE5D; /* 0x2B06AE37: je 0x2b06ae5d */ 2883 L_2B06AE39: 2884 PUSH32(esp, 0xBF800000u); /* 0x2B06AE39: push 0xbf800000 */ 2885 PUSH32(esp, 0xBF800000u); /* 0x2B06AE3E: push 0xbf800000 */ 2886 PUSH32(esp, 2); /* 0x2B06AE43: push 2 */ 2887 edx = ebp + (-0x14); /* 0x2B06AE45: lea edx, [ebp - 0x14] */ 2888 PUSH32(esp, edx); /* 0x2B06AE48: push edx */ 2889 PUSH32(esp, edi); /* 0x2B06AE49: push edi */ 2890 ecx = ebp + (-0x1C); /* 0x2B06AE4A: lea ecx, [ebp - 0x1c] */ 2891 PUSH32(esp, ecx); /* 0x2B06AE4D: push ecx */ 2892 PUSH32(esp, 2); /* 0x2B06AE4E: push 2 */ 2893 PUSH32(esp, esi); /* 0x2B06AE50: push esi */ 2894 ecx = eax; /* 0x2B06AE51: mov ecx, eax */ 2895 RECOMP_ICALL(0x2B06B2A0u); /* 0x2B06AE53: call 0x2b06b2a0 */ /* not lifted */ 2896 RECOMP_FLAGS_IN(); 2897 MEM32(ebp + (-0x10)) = eax; /* 0x2B06AE58: mov dword ptr [ebp - 0x10], eax */ 2898 goto L_2B06AE60; /* 0x2B06AE5B: jmp 0x2b06ae60 */ 2899 L_2B06AE5D: 2900 MEM32(ebp + (-0x10)) = edi; /* 0x2B06AE5D: mov dword ptr [ebp - 0x10], edi */ 2901 L_2B06AE60: 2902 PUSH32(esp, ebx); /* 0x2B06AE60: push ebx */ 2903 ebx = MEM32(0x2B0EEE6C); /* 0x2B06AE61: mov ebx, dword ptr [0x2b0eee6c] */ 2904 esi = MEM32(ebx + 0x4); /* 0x2B06AE67: mov esi, dword ptr [ebx + 4] */ 2905 edi = MEM32(esi + 0x4); /* 0x2B06AE6A: mov edi, dword ptr [esi + 4] */ 2906 PUSH32(esp, 0xCu); /* 0x2B06AE6D: push 0xc */ 2907 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B06AE6F: mov dword ptr [ebp - 4], 0xffffffff */ 2908 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06AE76: call 0x2b0ab212 */ /* not lifted */ 2909 RECOMP_FLAGS_IN(); 2910 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2911 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2912 esp = esp + 4; /* 0x2B06AE7B: add esp, 4 */ 2913 _flag_k = FK_ADD; 2914 /* test esi, esi */ /* 0x2B06AE7E: test esi, esi */ 2915 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 2916 _cf = 0; 2917 _flag_k = FK_TEST; 2918 ecx = esi; /* 0x2B06AE80: mov ecx, esi */ 2919 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06AE86; /* 0x2B06AE82: jne 0x2b06ae86 */ 2920 L_2B06AE84: 2921 ecx = eax; /* 0x2B06AE84: mov ecx, eax */ 2922 L_2B06AE86: 2923 /* test edi, edi */ /* 0x2B06AE86: test edi, edi */ 2924 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2925 _cf = 0; 2926 _flag_k = FK_TEST; 2927 MEM32(eax) = ecx; /* 0x2B06AE88: mov dword ptr [eax], ecx */ 2928 ecx = edi; /* 0x2B06AE8A: mov ecx, edi */ 2929 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06AE90; /* 0x2B06AE8C: jne 0x2b06ae90 */ 2930 L_2B06AE8E: 2931 ecx = eax; /* 0x2B06AE8E: mov ecx, eax */ 2932 L_2B06AE90: 2933 MEM32(eax + 0x4) = ecx; /* 0x2B06AE90: mov dword ptr [eax + 4], ecx */ 2934 MEM32(esi + 0x4) = eax; /* 0x2B06AE93: mov dword ptr [esi + 4], eax */ 2935 edx = MEM32(eax + 0x4); /* 0x2B06AE96: mov edx, dword ptr [eax + 4] */ 2936 MEM32(edx) = eax; /* 0x2B06AE99: mov dword ptr [edx], eax */ 2937 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 2938 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2939 eax = eax + 8; /* 0x2B06AE9B: add eax, 8 */ 2940 _flag_k = FK_ADD; 2941 /* test eax, eax */ /* 0x2B06AE9E: test eax, eax */ 2942 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2943 _cf = 0; 2944 _flag_k = FK_TEST; 2945 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06AEA7; /* 0x2B06AEA0: je 0x2b06aea7 */ 2946 L_2B06AEA2: 2947 ecx = MEM32(ebp + (-0x10)); /* 0x2B06AEA2: mov ecx, dword ptr [ebp - 0x10] */ 2948 MEM32(eax) = ecx; /* 0x2B06AEA5: mov dword ptr [eax], ecx */ 2949 L_2B06AEA7: 2950 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(1); 2951 MEM32(ebx + 0x8) = MEM32(ebx + 0x8) + 1; /* 0x2B06AEA7: inc dword ptr [ebx + 8] */ 2952 _flag_k = FK_INC; 2953 ebx = POP32_VAL(esp); /* 0x2B06AEAA: pop ebx */ 2954 L_2B06AEAB: 2955 ecx = MEM32(ebp + (-0xC)); /* 0x2B06AEAB: mov ecx, dword ptr [ebp - 0xc] */ 2956 edi = POP32_VAL(esp); /* 0x2B06AEAE: pop edi */ 2957 esi = POP32_VAL(esp); /* 0x2B06AEAF: pop esi */ 2958 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06AEB0: mov dword ptr fs:[0], ecx */ 2959 esp = ebp; /* 0x2B06AEB7: mov esp, ebp */ 2960 ebp = POP32_VAL(esp); /* 0x2B06AEB9: pop ebp */ 2961 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06AEBA: ret */ 2962 RECOMP_REGS_OUT(); 2963 } 2964 2965 void sub_2B06AEC0(void) { 2966 int _fpu_cmp = 0; 2967 uint32_t _cf = 0; 2968 int _df = 1; 2969 uint32_t _flag_k = FK_NONE; 2970 uint32_t _flag_a = 0, _flag_b = 0; 2971 uint32_t _itail_tgt = 0; 2972 RECOMP_REGS_LOCALS 2973 RECOMP_ENTER(0x2B06AEC0u); 2974 2975 L_2B06AEC0: 2976 PUSH32(esp, ebp); /* 0x2B06AEC0: push ebp */ 2977 ebp = esp; /* 0x2B06AEC1: mov ebp, esp */ 2978 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06AEC3: push -1 */ 2979 PUSH32(esp, 0x2B0B0FDBu); /* 0x2B06AEC5: push 0x2b0b0fdb */ 2980 eax = MEM32(FS_BASE + (0)); /* 0x2B06AECA: mov eax, dword ptr fs:[0] */ 2981 PUSH32(esp, eax); /* 0x2B06AED0: push eax */ 2982 MEM32(FS_BASE + (0)) = esp; /* 0x2B06AED1: mov dword ptr fs:[0], esp */ 2983 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 2984 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2985 esp = esp - 0x10u; /* 0x2B06AED8: sub esp, 0x10 */ 2986 _flag_k = FK_CMP; 2987 PUSH32(esp, esi); /* 0x2B06AEDB: push esi */ 2988 esi = MEM32(0x2B0B53CC); /* 0x2B06AEDC: mov esi, dword ptr [0x2b0b53cc] */ 2989 PUSH32(esp, edi); /* 0x2B06AEE2: push edi */ 2990 RECOMP_ICALL(esi); /* 0x2B06AEE3: call esi */ 2991 RECOMP_FLAGS_IN(); 2992 ecx = eax; /* 0x2B06AEE5: mov ecx, eax */ 2993 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B06AEE7: call dword ptr [0x2b0b53a4] */ 2994 RECOMP_FLAGS_IN(); 2995 edi = eax; /* 0x2B06AEED: mov edi, eax */ 2996 eax = ebp + (-0x1C); /* 0x2B06AEEF: lea eax, [ebp - 0x1c] */ 2997 PUSH32(esp, eax); /* 0x2B06AEF2: push eax */ 2998 RECOMP_ICALL(esi); /* 0x2B06AEF3: call esi */ 2999 RECOMP_FLAGS_IN(); 3000 ecx = eax; /* 0x2B06AEF5: mov ecx, eax */ 3001 RECOMP_ICALL(MEM32(0x2B0B5334)); /* 0x2B06AEF7: call dword ptr [0x2b0b5334] */ 3002 RECOMP_FLAGS_IN(); 3003 ecx = ebp + (-0x10); /* 0x2B06AEFD: lea ecx, [ebp - 0x10] */ 3004 PUSH32(esp, ecx); /* 0x2B06AF00: push ecx */ 3005 RECOMP_ICALL(esi); /* 0x2B06AF01: call esi */ 3006 RECOMP_FLAGS_IN(); 3007 ecx = eax; /* 0x2B06AF03: mov ecx, eax */ 3008 RECOMP_ICALL(MEM32(0x2B0B5370)); /* 0x2B06AF05: call dword ptr [0x2b0b5370] */ 3009 RECOMP_FLAGS_IN(); 3010 /* test edi, edi */ /* 0x2B06AF0B: test edi, edi */ 3011 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3012 _cf = 0; 3013 _flag_k = FK_TEST; 3014 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06AFFF; /* 0x2B06AF0D: je 0x2b06afff */ 3015 L_2B06AF13: 3016 edx = MEM32(0x2B0EEE70); /* 0x2B06AF13: mov edx, dword ptr [0x2b0eee70] */ 3017 /* test edx, edx */ /* 0x2B06AF19: test edx, edx */ 3018 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 3019 _cf = 0; 3020 _flag_k = FK_TEST; 3021 PUSH32(esp, ebx); /* 0x2B06AF1B: push ebx */ 3022 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06AF73; /* 0x2B06AF1C: je 0x2b06af73 */ 3023 L_2B06AF1E: 3024 esi = MEM32(0x2B0EEE6C); /* 0x2B06AF1E: mov esi, dword ptr [0x2b0eee6c] */ 3025 ecx = MEM32(esi + 0x4); /* 0x2B06AF24: mov ecx, dword ptr [esi + 4] */ 3026 eax = MEM32(ecx); /* 0x2B06AF27: mov eax, dword ptr [ecx] */ 3027 /* cmp ecx, eax */ /* 0x2B06AF29: cmp ecx, eax */ 3028 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 3029 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3030 _flag_k = FK_CMP; 3031 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06AF73; /* 0x2B06AF2B: je 0x2b06af73 */ 3032 L_2B06AF2D: 3033 /* cmp edx, MEM32(eax + 0x8) */ /* 0x2B06AF2D: cmp edx, dword ptr [eax + 8] */ 3034 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 3035 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3036 _flag_k = FK_CMP; 3037 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06AF3A; /* 0x2B06AF30: je 0x2b06af3a */ 3038 L_2B06AF32: 3039 eax = MEM32(eax); /* 0x2B06AF32: mov eax, dword ptr [eax] */ 3040 /* cmp ecx, eax */ /* 0x2B06AF34: cmp ecx, eax */ 3041 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 3042 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3043 _flag_k = FK_CMP; 3044 RECOMP_BACKEDGE(); 3045 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06AF2D; /* 0x2B06AF36: jne 0x2b06af2d */ 3046 L_2B06AF38: 3047 goto L_2B06AF73; /* 0x2B06AF38: jmp 0x2b06af73 */ 3048 L_2B06AF3A: 3049 ecx = MEM32(eax + 0x4); /* 0x2B06AF3A: mov ecx, dword ptr [eax + 4] */ 3050 edx = MEM32(eax); /* 0x2B06AF3D: mov edx, dword ptr [eax] */ 3051 MEM32(ecx) = edx; /* 0x2B06AF3F: mov dword ptr [ecx], edx */ 3052 ecx = MEM32(eax); /* 0x2B06AF41: mov ecx, dword ptr [eax] */ 3053 edx = MEM32(eax + 0x4); /* 0x2B06AF43: mov edx, dword ptr [eax + 4] */ 3054 PUSH32(esp, eax); /* 0x2B06AF46: push eax */ 3055 MEM32(ecx + 0x4) = edx; /* 0x2B06AF47: mov dword ptr [ecx + 4], edx */ 3056 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06AF4A: call 0x2b0ab1ba */ /* not lifted */ 3057 RECOMP_FLAGS_IN(); 3058 ecx = MEM32(esi + 0x8); /* 0x2B06AF4F: mov ecx, dword ptr [esi + 8] */ 3059 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3060 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3061 esp = esp + 4; /* 0x2B06AF52: add esp, 4 */ 3062 _flag_k = FK_ADD; 3063 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 3064 ecx = ecx - 1; /* 0x2B06AF55: dec ecx */ 3065 _flag_k = FK_DEC; 3066 MEM32(esi + 0x8) = ecx; /* 0x2B06AF56: mov dword ptr [esi + 8], ecx */ 3067 ecx = MEM32(0x2B0EEE70); /* 0x2B06AF59: mov ecx, dword ptr [0x2b0eee70] */ 3068 /* test ecx, ecx */ /* 0x2B06AF5F: test ecx, ecx */ 3069 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3070 _cf = 0; 3071 _flag_k = FK_TEST; 3072 esi = ecx; /* 0x2B06AF61: mov esi, ecx */ 3073 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06AF73; /* 0x2B06AF63: je 0x2b06af73 */ 3074 L_2B06AF65: 3075 RECOMP_ICALL(0x2B06B550u); /* 0x2B06AF65: call 0x2b06b550 */ /* not lifted */ 3076 RECOMP_FLAGS_IN(); 3077 PUSH32(esp, esi); /* 0x2B06AF6A: push esi */ 3078 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06AF6B: call 0x2b0ab1ba */ /* not lifted */ 3079 RECOMP_FLAGS_IN(); 3080 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3081 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3082 esp = esp + 4; /* 0x2B06AF70: add esp, 4 */ 3083 _flag_k = FK_ADD; 3084 L_2B06AF73: 3085 PUSH32(esp, 0x24u); /* 0x2B06AF73: push 0x24 */ 3086 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06AF75: call 0x2b0ab212 */ /* not lifted */ 3087 RECOMP_FLAGS_IN(); 3088 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3089 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3090 esp = esp + 4; /* 0x2B06AF7A: add esp, 4 */ 3091 _flag_k = FK_ADD; 3092 MEM32(ebp + (-0x14)) = eax; /* 0x2B06AF7D: mov dword ptr [ebp - 0x14], eax */ 3093 /* test eax, eax */ /* 0x2B06AF80: test eax, eax */ 3094 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3095 _cf = 0; 3096 _flag_k = FK_TEST; 3097 MEM32(ebp + (-0x4)) = 0; /* 0x2B06AF82: mov dword ptr [ebp - 4], 0 */ 3098 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06AFAD; /* 0x2B06AF89: je 0x2b06afad */ 3099 L_2B06AF8B: 3100 PUSH32(esp, 0xBF800000u); /* 0x2B06AF8B: push 0xbf800000 */ 3101 PUSH32(esp, 0xBF800000u); /* 0x2B06AF90: push 0xbf800000 */ 3102 PUSH32(esp, 2); /* 0x2B06AF95: push 2 */ 3103 ecx = ebp + (-0x10); /* 0x2B06AF97: lea ecx, [ebp - 0x10] */ 3104 PUSH32(esp, ecx); /* 0x2B06AF9A: push ecx */ 3105 PUSH32(esp, 0); /* 0x2B06AF9B: push 0 */ 3106 edx = ebp + (-0x1C); /* 0x2B06AF9D: lea edx, [ebp - 0x1c] */ 3107 PUSH32(esp, edx); /* 0x2B06AFA0: push edx */ 3108 PUSH32(esp, 2); /* 0x2B06AFA1: push 2 */ 3109 PUSH32(esp, edi); /* 0x2B06AFA3: push edi */ 3110 ecx = eax; /* 0x2B06AFA4: mov ecx, eax */ 3111 RECOMP_ICALL(0x2B06B2A0u); /* 0x2B06AFA6: call 0x2b06b2a0 */ /* not lifted */ 3112 RECOMP_FLAGS_IN(); 3113 goto L_2B06AFAF; /* 0x2B06AFAB: jmp 0x2b06afaf */ 3114 L_2B06AFAD: 3115 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3116 eax = 0; /* 0x2B06AFAD: xor eax, eax */ 3117 _cf = 0; 3118 _flag_k = FK_TEST; 3119 L_2B06AFAF: 3120 ebx = MEM32(0x2B0EEE6C); /* 0x2B06AFAF: mov ebx, dword ptr [0x2b0eee6c] */ 3121 MEM32(0x2B0EEE70) = eax; /* 0x2B06AFB5: mov dword ptr [0x2b0eee70], eax */ 3122 esi = MEM32(ebx + 0x4); /* 0x2B06AFBA: mov esi, dword ptr [ebx + 4] */ 3123 edi = MEM32(esi + 0x4); /* 0x2B06AFBD: mov edi, dword ptr [esi + 4] */ 3124 PUSH32(esp, 0xCu); /* 0x2B06AFC0: push 0xc */ 3125 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B06AFC2: mov dword ptr [ebp - 4], 0xffffffff */ 3126 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06AFC9: call 0x2b0ab212 */ /* not lifted */ 3127 RECOMP_FLAGS_IN(); 3128 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3129 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3130 esp = esp + 4; /* 0x2B06AFCE: add esp, 4 */ 3131 _flag_k = FK_ADD; 3132 /* test esi, esi */ /* 0x2B06AFD1: test esi, esi */ 3133 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 3134 _cf = 0; 3135 _flag_k = FK_TEST; 3136 ecx = esi; /* 0x2B06AFD3: mov ecx, esi */ 3137 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06AFD9; /* 0x2B06AFD5: jne 0x2b06afd9 */ 3138 L_2B06AFD7: 3139 ecx = eax; /* 0x2B06AFD7: mov ecx, eax */ 3140 L_2B06AFD9: 3141 /* test edi, edi */ /* 0x2B06AFD9: test edi, edi */ 3142 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3143 _cf = 0; 3144 _flag_k = FK_TEST; 3145 MEM32(eax) = ecx; /* 0x2B06AFDB: mov dword ptr [eax], ecx */ 3146 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06AFE1; /* 0x2B06AFDD: jne 0x2b06afe1 */ 3147 L_2B06AFDF: 3148 edi = eax; /* 0x2B06AFDF: mov edi, eax */ 3149 L_2B06AFE1: 3150 MEM32(eax + 0x4) = edi; /* 0x2B06AFE1: mov dword ptr [eax + 4], edi */ 3151 MEM32(esi + 0x4) = eax; /* 0x2B06AFE4: mov dword ptr [esi + 4], eax */ 3152 ecx = MEM32(eax + 0x4); /* 0x2B06AFE7: mov ecx, dword ptr [eax + 4] */ 3153 MEM32(ecx) = eax; /* 0x2B06AFEA: mov dword ptr [ecx], eax */ 3154 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 3155 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3156 eax = eax + 8; /* 0x2B06AFEC: add eax, 8 */ 3157 _flag_k = FK_ADD; 3158 /* test eax, eax */ /* 0x2B06AFEF: test eax, eax */ 3159 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3160 _cf = 0; 3161 _flag_k = FK_TEST; 3162 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06AFFB; /* 0x2B06AFF1: je 0x2b06affb */ 3163 L_2B06AFF3: 3164 edx = MEM32(0x2B0EEE70); /* 0x2B06AFF3: mov edx, dword ptr [0x2b0eee70] */ 3165 MEM32(eax) = edx; /* 0x2B06AFF9: mov dword ptr [eax], edx */ 3166 L_2B06AFFB: 3167 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(1); 3168 MEM32(ebx + 0x8) = MEM32(ebx + 0x8) + 1; /* 0x2B06AFFB: inc dword ptr [ebx + 8] */ 3169 _flag_k = FK_INC; 3170 ebx = POP32_VAL(esp); /* 0x2B06AFFE: pop ebx */ 3171 L_2B06AFFF: 3172 ecx = MEM32(ebp + (-0xC)); /* 0x2B06AFFF: mov ecx, dword ptr [ebp - 0xc] */ 3173 edi = POP32_VAL(esp); /* 0x2B06B002: pop edi */ 3174 esi = POP32_VAL(esp); /* 0x2B06B003: pop esi */ 3175 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06B004: mov dword ptr fs:[0], ecx */ 3176 esp = ebp; /* 0x2B06B00B: mov esp, ebp */ 3177 ebp = POP32_VAL(esp); /* 0x2B06B00D: pop ebp */ 3178 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06B00E: ret */ 3179 RECOMP_REGS_OUT(); 3180 } 3181 3182 void sub_2B06B010(void) { 3183 int _fpu_cmp = 0; 3184 uint32_t _cf = 0; 3185 int _df = 1; 3186 uint32_t _flag_k = FK_NONE; 3187 uint32_t _flag_a = 0, _flag_b = 0; 3188 uint32_t _itail_tgt = 0; 3189 RECOMP_REGS_LOCALS 3190 RECOMP_ENTER(0x2B06B010u); 3191 3192 L_2B06B010: 3193 PUSH32(esp, ebp); /* 0x2B06B010: push ebp */ 3194 ebp = esp; /* 0x2B06B011: mov ebp, esp */ 3195 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06B013: push -1 */ 3196 PUSH32(esp, 0x2B0B0FFBu); /* 0x2B06B015: push 0x2b0b0ffb */ 3197 eax = MEM32(FS_BASE + (0)); /* 0x2B06B01A: mov eax, dword ptr fs:[0] */ 3198 PUSH32(esp, eax); /* 0x2B06B020: push eax */ 3199 MEM32(FS_BASE + (0)) = esp; /* 0x2B06B021: mov dword ptr fs:[0], esp */ 3200 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x28u); 3201 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3202 esp = esp - 0x28u; /* 0x2B06B028: sub esp, 0x28 */ 3203 _flag_k = FK_CMP; 3204 PUSH32(esp, ebx); /* 0x2B06B02B: push ebx */ 3205 PUSH32(esp, esi); /* 0x2B06B02C: push esi */ 3206 esi = MEM32(0x2B0B53CC); /* 0x2B06B02D: mov esi, dword ptr [0x2b0b53cc] */ 3207 PUSH32(esp, edi); /* 0x2B06B033: push edi */ 3208 RECOMP_ICALL(esi); /* 0x2B06B034: call esi */ 3209 RECOMP_FLAGS_IN(); 3210 ecx = eax; /* 0x2B06B036: mov ecx, eax */ 3211 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B06B038: call dword ptr [0x2b0b53a4] */ 3212 RECOMP_FLAGS_IN(); 3213 edi = eax; /* 0x2B06B03E: mov edi, eax */ 3214 eax = ebp + (-0x20); /* 0x2B06B040: lea eax, [ebp - 0x20] */ 3215 PUSH32(esp, eax); /* 0x2B06B043: push eax */ 3216 ecx = ebp + (-0x24); /* 0x2B06B044: lea ecx, [ebp - 0x24] */ 3217 PUSH32(esp, ecx); /* 0x2B06B047: push ecx */ 3218 MEM32(ebp + (-0x18)) = edi; /* 0x2B06B048: mov dword ptr [ebp - 0x18], edi */ 3219 RECOMP_ICALL(esi); /* 0x2B06B04B: call esi */ 3220 RECOMP_FLAGS_IN(); 3221 ecx = eax; /* 0x2B06B04D: mov ecx, eax */ 3222 RECOMP_ICALL(MEM32(0x2B0B5360)); /* 0x2B06B04F: call dword ptr [0x2b0b5360] */ 3223 RECOMP_FLAGS_IN(); 3224 edx = ebp + (-0x10); /* 0x2B06B055: lea edx, [ebp - 0x10] */ 3225 PUSH32(esp, edx); /* 0x2B06B058: push edx */ 3226 eax = ebp + (-0x14); /* 0x2B06B059: lea eax, [ebp - 0x14] */ 3227 PUSH32(esp, eax); /* 0x2B06B05C: push eax */ 3228 ecx = ebp + (-0x1C); /* 0x2B06B05D: lea ecx, [ebp - 0x1c] */ 3229 PUSH32(esp, ecx); /* 0x2B06B060: push ecx */ 3230 RECOMP_ICALL(esi); /* 0x2B06B061: call esi */ 3231 RECOMP_FLAGS_IN(); 3232 ecx = eax; /* 0x2B06B063: mov ecx, eax */ 3233 RECOMP_ICALL(MEM32(0x2B0B5330)); /* 0x2B06B065: call dword ptr [0x2b0b5330] */ 3234 RECOMP_FLAGS_IN(); 3235 RECOMP_ICALL(0x2B001350u); /* 0x2B06B06B: call 0x2b001350 */ /* not lifted */ 3236 RECOMP_FLAGS_IN(); 3237 /* test edi, edi */ /* 0x2B06B070: test edi, edi */ 3238 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3239 _cf = 0; 3240 _flag_k = FK_TEST; 3241 ebx = eax; /* 0x2B06B072: mov ebx, eax */ 3242 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B1BD; /* 0x2B06B074: je 0x2b06b1bd */ 3243 L_2B06B07A: 3244 /* test ebx, ebx */ /* 0x2B06B07A: test ebx, ebx */ 3245 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 3246 _cf = 0; 3247 _flag_k = FK_TEST; 3248 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B1BD; /* 0x2B06B07C: je 0x2b06b1bd */ 3249 L_2B06B082: 3250 edi = MEM32(0x2B0EEE6C); /* 0x2B06B082: mov edi, dword ptr [0x2b0eee6c] */ 3251 edx = MEM32(edi + 0x4); /* 0x2B06B088: mov edx, dword ptr [edi + 4] */ 3252 ecx = MEM32(edx); /* 0x2B06B08B: mov ecx, dword ptr [edx] */ 3253 /* cmp edx, ecx */ /* 0x2B06B08D: cmp edx, ecx */ 3254 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 3255 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3256 _flag_k = FK_CMP; 3257 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B10B; /* 0x2B06B08F: je 0x2b06b10b */ 3258 L_2B06B091: 3259 esi = MEM32(ecx + 0x8); /* 0x2B06B091: mov esi, dword ptr [ecx + 8] */ 3260 fp_push(*(float*)&MEM32(esi + 0x14)); /* 0x2B06B094: fld dword ptr [esi + 0x14] */ 3261 _st[0] -= (double)*(float*)ADDR(ebp + (-0x14)); /* 0x2B06B097: fsub dword ptr [ebp - 0x14] */ 3262 _st[0] = fabs(_st[0]); /* 0x2B06B09A: fabs */ 3263 _fpu_cmp = FPU_CMP(_st[0], *(double*)ADDR(0x2B0B7100)); /* 0x2B06B09C: fcomp qword ptr [0x2b0b7100] */ 3264 fp_pop(); 3265 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B06B0A2: fnstsw ax */ 3266 /* test HI8(eax), 1 */ /* 0x2B06B0A4: test ah, 1 */ 3267 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3268 _cf = 0; 3269 _flag_k = FK_NARROW(FK_TEST, 24); 3270 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B0BE; /* 0x2B06B0A7: je 0x2b06b0be */ 3271 L_2B06B0A9: 3272 fp_push(*(float*)&MEM32(esi + 0x18)); /* 0x2B06B0A9: fld dword ptr [esi + 0x18] */ 3273 _st[0] -= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x2B06B0AC: fsub dword ptr [ebp - 0x10] */ 3274 _st[0] = fabs(_st[0]); /* 0x2B06B0AF: fabs */ 3275 _fpu_cmp = FPU_CMP(_st[0], *(double*)ADDR(0x2B0B7100)); /* 0x2B06B0B1: fcomp qword ptr [0x2b0b7100] */ 3276 fp_pop(); 3277 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B06B0B7: fnstsw ax */ 3278 /* test HI8(eax), 1 */ /* 0x2B06B0B9: test ah, 1 */ 3279 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3280 _cf = 0; 3281 _flag_k = FK_NARROW(FK_TEST, 24); 3282 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06B0C6; /* 0x2B06B0BC: jne 0x2b06b0c6 */ 3283 L_2B06B0BE: 3284 ecx = MEM32(ecx); /* 0x2B06B0BE: mov ecx, dword ptr [ecx] */ 3285 /* cmp edx, ecx */ /* 0x2B06B0C0: cmp edx, ecx */ 3286 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 3287 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3288 _flag_k = FK_CMP; 3289 RECOMP_BACKEDGE(); 3290 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06B091; /* 0x2B06B0C2: jne 0x2b06b091 */ 3291 L_2B06B0C4: 3292 goto L_2B06B10B; /* 0x2B06B0C4: jmp 0x2b06b10b */ 3293 L_2B06B0C6: 3294 eax = MEM32(ecx + 0x4); /* 0x2B06B0C6: mov eax, dword ptr [ecx + 4] */ 3295 edx = MEM32(ecx); /* 0x2B06B0C9: mov edx, dword ptr [ecx] */ 3296 MEM32(eax) = edx; /* 0x2B06B0CB: mov dword ptr [eax], edx */ 3297 eax = MEM32(ecx); /* 0x2B06B0CD: mov eax, dword ptr [ecx] */ 3298 edx = MEM32(ecx + 0x4); /* 0x2B06B0CF: mov edx, dword ptr [ecx + 4] */ 3299 PUSH32(esp, ecx); /* 0x2B06B0D2: push ecx */ 3300 MEM32(eax + 0x4) = edx; /* 0x2B06B0D3: mov dword ptr [eax + 4], edx */ 3301 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06B0D6: call 0x2b0ab1ba */ /* not lifted */ 3302 RECOMP_FLAGS_IN(); 3303 ecx = MEM32(edi + 0x8); /* 0x2B06B0DB: mov ecx, dword ptr [edi + 8] */ 3304 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3305 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3306 esp = esp + 4; /* 0x2B06B0DE: add esp, 4 */ 3307 _flag_k = FK_ADD; 3308 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 3309 ecx = ecx - 1; /* 0x2B06B0E1: dec ecx */ 3310 _flag_k = FK_DEC; 3311 MEM32(edi + 0x8) = ecx; /* 0x2B06B0E2: mov dword ptr [edi + 8], ecx */ 3312 /* cmp MEM32(0x2B0EEE70), esi */ /* 0x2B06B0E5: cmp dword ptr [0x2b0eee70], esi */ 3313 _flag_a = (uint32_t)(MEM32(0x2B0EEE70)); _flag_b = (uint32_t)(esi); 3314 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3315 _flag_k = FK_CMP; 3316 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06B0F7; /* 0x2B06B0EB: jne 0x2b06b0f7 */ 3317 L_2B06B0ED: 3318 MEM32(0x2B0EEE70) = 0; /* 0x2B06B0ED: mov dword ptr [0x2b0eee70], 0 */ 3319 L_2B06B0F7: 3320 /* test esi, esi */ /* 0x2B06B0F7: test esi, esi */ 3321 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 3322 _cf = 0; 3323 _flag_k = FK_TEST; 3324 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B10B; /* 0x2B06B0F9: je 0x2b06b10b */ 3325 L_2B06B0FB: 3326 ecx = esi; /* 0x2B06B0FB: mov ecx, esi */ 3327 RECOMP_ICALL(0x2B06B550u); /* 0x2B06B0FD: call 0x2b06b550 */ /* not lifted */ 3328 RECOMP_FLAGS_IN(); 3329 PUSH32(esp, esi); /* 0x2B06B102: push esi */ 3330 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06B103: call 0x2b0ab1ba */ /* not lifted */ 3331 RECOMP_FLAGS_IN(); 3332 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3333 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3334 esp = esp + 4; /* 0x2B06B108: add esp, 4 */ 3335 _flag_k = FK_ADD; 3336 L_2B06B10B: 3337 eax = MEM32(ebx + 0x8); /* 0x2B06B10B: mov eax, dword ptr [ebx + 8] */ 3338 ecx = MEM32(ebx + 0xC); /* 0x2B06B10E: mov ecx, dword ptr [ebx + 0xc] */ 3339 MEM32(ebp + (-0x2C)) = eax; /* 0x2B06B111: mov dword ptr [ebp - 0x2c], eax */ 3340 fp_push((double)(int32_t)MEM32(ebp + (-0x2C))); /* 0x2B06B114: fild dword ptr [ebp - 0x2c] */ 3341 MEM32(ebp + (-0x28)) = ecx; /* 0x2B06B117: mov dword ptr [ebp - 0x28], ecx */ 3342 _st[0] *= (double)*(float*)ADDR(ebp + (-0x14)); /* 0x2B06B11A: fmul dword ptr [ebp - 0x14] */ 3343 RECOMP_ICALL(0x2B0AB220u); /* 0x2B06B11D: call 0x2b0ab220 */ /* not lifted */ 3344 RECOMP_FLAGS_IN(); 3345 fp_push((double)(int32_t)MEM32(ebp + (-0x28))); /* 0x2B06B122: fild dword ptr [ebp - 0x28] */ 3346 MEM32(ebp + (-0x34)) = eax; /* 0x2B06B125: mov dword ptr [ebp - 0x34], eax */ 3347 _st[0] *= (double)*(float*)ADDR(ebp + (-0x10)); /* 0x2B06B128: fmul dword ptr [ebp - 0x10] */ 3348 RECOMP_ICALL(0x2B0AB220u); /* 0x2B06B12B: call 0x2b0ab220 */ /* not lifted */ 3349 RECOMP_FLAGS_IN(); 3350 PUSH32(esp, 0x24u); /* 0x2B06B130: push 0x24 */ 3351 MEM32(ebp + (-0x30)) = eax; /* 0x2B06B132: mov dword ptr [ebp - 0x30], eax */ 3352 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06B135: call 0x2b0ab212 */ /* not lifted */ 3353 RECOMP_FLAGS_IN(); 3354 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3355 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3356 esp = esp + 4; /* 0x2B06B13A: add esp, 4 */ 3357 _flag_k = FK_ADD; 3358 MEM32(ebp + (-0x28)) = eax; /* 0x2B06B13D: mov dword ptr [ebp - 0x28], eax */ 3359 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3360 ecx = 0; /* 0x2B06B140: xor ecx, ecx */ 3361 _cf = 0; 3362 _flag_k = FK_TEST; 3363 /* cmp eax, ecx */ /* 0x2B06B142: cmp eax, ecx */ 3364 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3365 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3366 _flag_k = FK_CMP; 3367 MEM32(ebp + (-0x4)) = ecx; /* 0x2B06B144: mov dword ptr [ebp - 4], ecx */ 3368 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B171; /* 0x2B06B147: je 0x2b06b171 */ 3369 L_2B06B149: 3370 edx = MEM32(ebp + (-0x10)); /* 0x2B06B149: mov edx, dword ptr [ebp - 0x10] */ 3371 ecx = MEM32(ebp + (-0x14)); /* 0x2B06B14C: mov ecx, dword ptr [ebp - 0x14] */ 3372 PUSH32(esp, edx); /* 0x2B06B14F: push edx */ 3373 PUSH32(esp, ecx); /* 0x2B06B150: push ecx */ 3374 ecx = MEM32(ebp + (-0x20)); /* 0x2B06B151: mov ecx, dword ptr [ebp - 0x20] */ 3375 PUSH32(esp, 2); /* 0x2B06B154: push 2 */ 3376 edx = ebp + (-0x1C); /* 0x2B06B156: lea edx, [ebp - 0x1c] */ 3377 PUSH32(esp, edx); /* 0x2B06B159: push edx */ 3378 PUSH32(esp, ecx); /* 0x2B06B15A: push ecx */ 3379 ecx = MEM32(ebp + (-0x18)); /* 0x2B06B15B: mov ecx, dword ptr [ebp - 0x18] */ 3380 edx = ebp + (-0x34); /* 0x2B06B15E: lea edx, [ebp - 0x34] */ 3381 PUSH32(esp, edx); /* 0x2B06B161: push edx */ 3382 PUSH32(esp, 2); /* 0x2B06B162: push 2 */ 3383 PUSH32(esp, ecx); /* 0x2B06B164: push ecx */ 3384 ecx = eax; /* 0x2B06B165: mov ecx, eax */ 3385 RECOMP_ICALL(0x2B06B2A0u); /* 0x2B06B167: call 0x2b06b2a0 */ /* not lifted */ 3386 RECOMP_FLAGS_IN(); 3387 MEM32(ebp + (-0x18)) = eax; /* 0x2B06B16C: mov dword ptr [ebp - 0x18], eax */ 3388 goto L_2B06B174; /* 0x2B06B16F: jmp 0x2b06b174 */ 3389 L_2B06B171: 3390 MEM32(ebp + (-0x18)) = ecx; /* 0x2B06B171: mov dword ptr [ebp - 0x18], ecx */ 3391 L_2B06B174: 3392 ebx = MEM32(0x2B0EEE6C); /* 0x2B06B174: mov ebx, dword ptr [0x2b0eee6c] */ 3393 esi = MEM32(ebx + 0x4); /* 0x2B06B17A: mov esi, dword ptr [ebx + 4] */ 3394 edi = MEM32(esi + 0x4); /* 0x2B06B17D: mov edi, dword ptr [esi + 4] */ 3395 PUSH32(esp, 0xCu); /* 0x2B06B180: push 0xc */ 3396 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B06B182: mov dword ptr [ebp - 4], 0xffffffff */ 3397 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06B189: call 0x2b0ab212 */ /* not lifted */ 3398 RECOMP_FLAGS_IN(); 3399 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3400 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3401 esp = esp + 4; /* 0x2B06B18E: add esp, 4 */ 3402 _flag_k = FK_ADD; 3403 /* test esi, esi */ /* 0x2B06B191: test esi, esi */ 3404 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 3405 _cf = 0; 3406 _flag_k = FK_TEST; 3407 ecx = esi; /* 0x2B06B193: mov ecx, esi */ 3408 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06B199; /* 0x2B06B195: jne 0x2b06b199 */ 3409 L_2B06B197: 3410 ecx = eax; /* 0x2B06B197: mov ecx, eax */ 3411 L_2B06B199: 3412 /* test edi, edi */ /* 0x2B06B199: test edi, edi */ 3413 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3414 _cf = 0; 3415 _flag_k = FK_TEST; 3416 MEM32(eax) = ecx; /* 0x2B06B19B: mov dword ptr [eax], ecx */ 3417 ecx = edi; /* 0x2B06B19D: mov ecx, edi */ 3418 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06B1A3; /* 0x2B06B19F: jne 0x2b06b1a3 */ 3419 L_2B06B1A1: 3420 ecx = eax; /* 0x2B06B1A1: mov ecx, eax */ 3421 L_2B06B1A3: 3422 MEM32(eax + 0x4) = ecx; /* 0x2B06B1A3: mov dword ptr [eax + 4], ecx */ 3423 MEM32(esi + 0x4) = eax; /* 0x2B06B1A6: mov dword ptr [esi + 4], eax */ 3424 edx = MEM32(eax + 0x4); /* 0x2B06B1A9: mov edx, dword ptr [eax + 4] */ 3425 MEM32(edx) = eax; /* 0x2B06B1AC: mov dword ptr [edx], eax */ 3426 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 3427 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3428 eax = eax + 8; /* 0x2B06B1AE: add eax, 8 */ 3429 _flag_k = FK_ADD; 3430 /* test eax, eax */ /* 0x2B06B1B1: test eax, eax */ 3431 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3432 _cf = 0; 3433 _flag_k = FK_TEST; 3434 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B1BA; /* 0x2B06B1B3: je 0x2b06b1ba */ 3435 L_2B06B1B5: 3436 ecx = MEM32(ebp + (-0x18)); /* 0x2B06B1B5: mov ecx, dword ptr [ebp - 0x18] */ 3437 MEM32(eax) = ecx; /* 0x2B06B1B8: mov dword ptr [eax], ecx */ 3438 L_2B06B1BA: 3439 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(1); 3440 MEM32(ebx + 0x8) = MEM32(ebx + 0x8) + 1; /* 0x2B06B1BA: inc dword ptr [ebx + 8] */ 3441 _flag_k = FK_INC; 3442 L_2B06B1BD: 3443 ecx = MEM32(ebp + (-0xC)); /* 0x2B06B1BD: mov ecx, dword ptr [ebp - 0xc] */ 3444 edi = POP32_VAL(esp); /* 0x2B06B1C0: pop edi */ 3445 esi = POP32_VAL(esp); /* 0x2B06B1C1: pop esi */ 3446 ebx = POP32_VAL(esp); /* 0x2B06B1C2: pop ebx */ 3447 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06B1C3: mov dword ptr fs:[0], ecx */ 3448 esp = ebp; /* 0x2B06B1CA: mov esp, ebp */ 3449 ebp = POP32_VAL(esp); /* 0x2B06B1CC: pop ebp */ 3450 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06B1CD: ret */ 3451 RECOMP_REGS_OUT(); 3452 } 3453 3454 void sub_2B06B1D0(void) { 3455 int _fpu_cmp = 0; 3456 uint32_t _cf = 0; 3457 int _df = 1; 3458 uint32_t _flag_k = FK_NONE; 3459 uint32_t _flag_a = 0, _flag_b = 0; 3460 uint32_t _itail_tgt = 0; 3461 RECOMP_REGS_LOCALS 3462 RECOMP_ENTER(0x2B06B1D0u); 3463 3464 L_2B06B1D0: 3465 PUSH32(esp, ebp); /* 0x2B06B1D0: push ebp */ 3466 ebp = esp; /* 0x2B06B1D1: mov ebp, esp */ 3467 PUSH32(esp, ecx); /* 0x2B06B1D3: push ecx */ 3468 PUSH32(esp, esi); /* 0x2B06B1D4: push esi */ 3469 RECOMP_ICALL(MEM32(0x2B0B5690)); /* 0x2B06B1D5: call dword ptr [0x2b0b5690] */ 3470 RECOMP_FLAGS_IN(); 3471 SET_LO8(ecx, MEM8(eax + 0x40)); /* 0x2B06B1DB: mov cl, byte ptr [eax + 0x40] */ 3472 /* test LO8(ecx), LO8(ecx) */ /* 0x2B06B1DE: test cl, cl */ 3473 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 3474 _cf = 0; 3475 _flag_k = FK_NARROW(FK_TEST, 24); 3476 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B29A; /* 0x2B06B1E0: je 0x2b06b29a */ 3477 L_2B06B1E6: 3478 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B06B1E6: call dword ptr [0x2b0b5b64] */ 3479 RECOMP_FLAGS_IN(); 3480 eax = MEM32(0x2B0B58C8); /* 0x2B06B1EC: mov eax, dword ptr [0x2b0b58c8] */ 3481 /* cmp MEM8(eax), 0 */ /* 0x2B06B1F1: cmp byte ptr [eax], 0 */ 3482 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0) << 24; 3483 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3484 _flag_k = FK_NARROW(FK_CMP, 24); 3485 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B29A; /* 0x2B06B1F4: je 0x2b06b29a */ 3486 L_2B06B1FA: 3487 RECOMP_ICALL(MEM32(0x2B0B53BC)); /* 0x2B06B1FA: call dword ptr [0x2b0b53bc] */ 3488 RECOMP_FLAGS_IN(); 3489 ecx = MEM32(eax + 0x14); /* 0x2B06B200: mov ecx, dword ptr [eax + 0x14] */ 3490 fp_push(*(float*)&MEM32(ecx)); /* 0x2B06B203: fld dword ptr [ecx] */ 3491 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x2B06B205: fst dword ptr [ebp - 4] */ 3492 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B63D0)); /* 0x2B06B208: fcomp dword ptr [0x2b0b63d0] */ 3493 fp_pop(); 3494 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B06B20E: fnstsw ax */ 3495 /* test HI8(eax), 1 */ /* 0x2B06B210: test ah, 1 */ 3496 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3497 _cf = 0; 3498 _flag_k = FK_NARROW(FK_TEST, 24); 3499 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B29A; /* 0x2B06B213: je 0x2b06b29a */ 3500 L_2B06B219: 3501 edx = MEM32(0x2B0EEE6C); /* 0x2B06B219: mov edx, dword ptr [0x2b0eee6c] */ 3502 eax = MEM32(edx + 0x4); /* 0x2B06B21F: mov eax, dword ptr [edx + 4] */ 3503 esi = MEM32(eax); /* 0x2B06B222: mov esi, dword ptr [eax] */ 3504 /* cmp esi, eax */ /* 0x2B06B224: cmp esi, eax */ 3505 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 3506 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3507 _flag_k = FK_CMP; 3508 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B29A; /* 0x2B06B226: je 0x2b06b29a */ 3509 L_2B06B228: 3510 PUSH32(esp, ebx); /* 0x2B06B228: push ebx */ 3511 PUSH32(esp, edi); /* 0x2B06B229: push edi */ 3512 L_2B06B22A: 3513 edi = MEM32(esi + 0x8); /* 0x2B06B22A: mov edi, dword ptr [esi + 8] */ 3514 eax = MEM32(ebp + (-0x4)); /* 0x2B06B22D: mov eax, dword ptr [ebp - 4] */ 3515 PUSH32(esp, eax); /* 0x2B06B230: push eax */ 3516 ecx = edi; /* 0x2B06B231: mov ecx, edi */ 3517 RECOMP_ICALL(0x2B06B590u); /* 0x2B06B233: call 0x2b06b590 */ /* not lifted */ 3518 RECOMP_FLAGS_IN(); 3519 /* test LO8(eax), LO8(eax) */ /* 0x2B06B238: test al, al */ 3520 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3521 _cf = 0; 3522 _flag_k = FK_NARROW(FK_TEST, 24); 3523 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B28B; /* 0x2B06B23A: je 0x2b06b28b */ 3524 L_2B06B23C: 3525 /* cmp MEM32(0x2B0EEE70), edi */ /* 0x2B06B23C: cmp dword ptr [0x2b0eee70], edi */ 3526 _flag_a = (uint32_t)(MEM32(0x2B0EEE70)); _flag_b = (uint32_t)(edi); 3527 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3528 _flag_k = FK_CMP; 3529 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06B24E; /* 0x2B06B242: jne 0x2b06b24e */ 3530 L_2B06B244: 3531 MEM32(0x2B0EEE70) = 0; /* 0x2B06B244: mov dword ptr [0x2b0eee70], 0 */ 3532 L_2B06B24E: 3533 /* test edi, edi */ /* 0x2B06B24E: test edi, edi */ 3534 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3535 _cf = 0; 3536 _flag_k = FK_TEST; 3537 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B262; /* 0x2B06B250: je 0x2b06b262 */ 3538 L_2B06B252: 3539 ecx = edi; /* 0x2B06B252: mov ecx, edi */ 3540 RECOMP_ICALL(0x2B06B550u); /* 0x2B06B254: call 0x2b06b550 */ /* not lifted */ 3541 RECOMP_FLAGS_IN(); 3542 PUSH32(esp, edi); /* 0x2B06B259: push edi */ 3543 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06B25A: call 0x2b0ab1ba */ /* not lifted */ 3544 RECOMP_FLAGS_IN(); 3545 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3546 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3547 esp = esp + 4; /* 0x2B06B25F: add esp, 4 */ 3548 _flag_k = FK_ADD; 3549 L_2B06B262: 3550 ebx = MEM32(esi); /* 0x2B06B262: mov ebx, dword ptr [esi] */ 3551 ecx = MEM32(esi + 0x4); /* 0x2B06B264: mov ecx, dword ptr [esi + 4] */ 3552 edi = MEM32(0x2B0EEE6C); /* 0x2B06B267: mov edi, dword ptr [0x2b0eee6c] */ 3553 MEM32(ecx) = ebx; /* 0x2B06B26D: mov dword ptr [ecx], ebx */ 3554 edx = MEM32(esi); /* 0x2B06B26F: mov edx, dword ptr [esi] */ 3555 eax = MEM32(esi + 0x4); /* 0x2B06B271: mov eax, dword ptr [esi + 4] */ 3556 PUSH32(esp, esi); /* 0x2B06B274: push esi */ 3557 MEM32(edx + 0x4) = eax; /* 0x2B06B275: mov dword ptr [edx + 4], eax */ 3558 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06B278: call 0x2b0ab1ba */ /* not lifted */ 3559 RECOMP_FLAGS_IN(); 3560 eax = MEM32(edi + 0x8); /* 0x2B06B27D: mov eax, dword ptr [edi + 8] */ 3561 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3562 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3563 esp = esp + 4; /* 0x2B06B280: add esp, 4 */ 3564 _flag_k = FK_ADD; 3565 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3566 eax = eax - 1; /* 0x2B06B283: dec eax */ 3567 _flag_k = FK_DEC; 3568 MEM32(edi + 0x8) = eax; /* 0x2B06B284: mov dword ptr [edi + 8], eax */ 3569 esi = ebx; /* 0x2B06B287: mov esi, ebx */ 3570 goto L_2B06B28D; /* 0x2B06B289: jmp 0x2b06b28d */ 3571 L_2B06B28B: 3572 esi = MEM32(esi); /* 0x2B06B28B: mov esi, dword ptr [esi] */ 3573 L_2B06B28D: 3574 ecx = MEM32(0x2B0EEE6C); /* 0x2B06B28D: mov ecx, dword ptr [0x2b0eee6c] */ 3575 /* cmp esi, MEM32(ecx + 0x4) */ /* 0x2B06B293: cmp esi, dword ptr [ecx + 4] */ 3576 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 3577 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3578 _flag_k = FK_CMP; 3579 RECOMP_BACKEDGE(); 3580 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06B22A; /* 0x2B06B296: jne 0x2b06b22a */ 3581 L_2B06B298: 3582 edi = POP32_VAL(esp); /* 0x2B06B298: pop edi */ 3583 ebx = POP32_VAL(esp); /* 0x2B06B299: pop ebx */ 3584 L_2B06B29A: 3585 esi = POP32_VAL(esp); /* 0x2B06B29A: pop esi */ 3586 esp = ebp; /* 0x2B06B29B: mov esp, ebp */ 3587 ebp = POP32_VAL(esp); /* 0x2B06B29D: pop ebp */ 3588 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06B29E: ret */ 3589 RECOMP_REGS_OUT(); 3590 } 3591 3592 void sub_2B06B2A0(void) { 3593 int _fpu_cmp = 0; 3594 uint32_t _cf = 0; 3595 int _df = 1; 3596 uint32_t _flag_k = FK_NONE; 3597 uint32_t _flag_a = 0, _flag_b = 0; 3598 uint32_t _itail_tgt = 0; 3599 RECOMP_REGS_LOCALS 3600 RECOMP_ENTER(0x2B06B2A0u); 3601 3602 L_2B06B2A0: 3603 PUSH32(esp, ebp); /* 0x2B06B2A0: push ebp */ 3604 ebp = esp; /* 0x2B06B2A1: mov ebp, esp */ 3605 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06B2A3: push -1 */ 3606 PUSH32(esp, 0x2B0B104Fu); /* 0x2B06B2A5: push 0x2b0b104f */ 3607 eax = MEM32(FS_BASE + (0)); /* 0x2B06B2AA: mov eax, dword ptr fs:[0] */ 3608 PUSH32(esp, eax); /* 0x2B06B2B0: push eax */ 3609 MEM32(FS_BASE + (0)) = esp; /* 0x2B06B2B1: mov dword ptr fs:[0], esp */ 3610 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 3611 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3612 esp = esp - 0x1Cu; /* 0x2B06B2B8: sub esp, 0x1c */ 3613 _flag_k = FK_CMP; 3614 eax = MEM32(ebp + 0x1C); /* 0x2B06B2BB: mov eax, dword ptr [ebp + 0x1c] */ 3615 edx = MEM32(ebp + 0x24); /* 0x2B06B2BE: mov edx, dword ptr [ebp + 0x24] */ 3616 PUSH32(esp, esi); /* 0x2B06B2C1: push esi */ 3617 esi = ecx; /* 0x2B06B2C2: mov esi, ecx */ 3618 ecx = MEM32(ebp + 0x20); /* 0x2B06B2C4: mov ecx, dword ptr [ebp + 0x20] */ 3619 MEM32(esi + 0x10) = eax; /* 0x2B06B2C7: mov dword ptr [esi + 0x10], eax */ 3620 eax = MEM32(ebp + 0x18); /* 0x2B06B2CA: mov eax, dword ptr [ebp + 0x18] */ 3621 MEM32(esi + 0x14) = ecx; /* 0x2B06B2CD: mov dword ptr [esi + 0x14], ecx */ 3622 MEM32(esi + 0x18) = edx; /* 0x2B06B2D0: mov dword ptr [esi + 0x18], edx */ 3623 ecx = MEM32(eax); /* 0x2B06B2D3: mov ecx, dword ptr [eax] */ 3624 MEM32(esi + 0x20) = ecx; /* 0x2B06B2D5: mov dword ptr [esi + 0x20], ecx */ 3625 edx = MEM32(0x2B0B5BCC); /* 0x2B06B2D8: mov edx, dword ptr [0x2b0b5bcc] */ 3626 eax = MEM32(edx); /* 0x2B06B2DE: mov eax, dword ptr [edx] */ 3627 PUSH32(esp, edi); /* 0x2B06B2E0: push edi */ 3628 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3629 edi = 0; /* 0x2B06B2E1: xor edi, edi */ 3630 _cf = 0; 3631 _flag_k = FK_TEST; 3632 /* cmp eax, edi */ /* 0x2B06B2E3: cmp eax, edi */ 3633 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3634 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3635 _flag_k = FK_CMP; 3636 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06B316; /* 0x2B06B2E5: jne 0x2b06b316 */ 3637 L_2B06B2E7: 3638 PUSH32(esp, 0x20u); /* 0x2B06B2E7: push 0x20 */ 3639 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06B2E9: call 0x2b0ab212 */ /* not lifted */ 3640 RECOMP_FLAGS_IN(); 3641 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3642 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3643 esp = esp + 4; /* 0x2B06B2EE: add esp, 4 */ 3644 _flag_k = FK_ADD; 3645 MEM32(ebp + 0x1C) = eax; /* 0x2B06B2F1: mov dword ptr [ebp + 0x1c], eax */ 3646 /* cmp eax, edi */ /* 0x2B06B2F4: cmp eax, edi */ 3647 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3648 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3649 _flag_k = FK_CMP; 3650 MEM32(ebp + (-0x4)) = edi; /* 0x2B06B2F6: mov dword ptr [ebp - 4], edi */ 3651 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B305; /* 0x2B06B2F9: je 0x2b06b305 */ 3652 L_2B06B2FB: 3653 ecx = eax; /* 0x2B06B2FB: mov ecx, eax */ 3654 RECOMP_ICALL(MEM32(0x2B0B5BD0)); /* 0x2B06B2FD: call dword ptr [0x2b0b5bd0] */ 3655 RECOMP_FLAGS_IN(); 3656 goto L_2B06B307; /* 0x2B06B303: jmp 0x2b06b307 */ 3657 L_2B06B305: 3658 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3659 eax = 0; /* 0x2B06B305: xor eax, eax */ 3660 _cf = 0; 3661 _flag_k = FK_TEST; 3662 L_2B06B307: 3663 ecx = MEM32(0x2B0B5BCC); /* 0x2B06B307: mov ecx, dword ptr [0x2b0b5bcc] */ 3664 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B06B30D: mov dword ptr [ebp - 4], 0xffffffff */ 3665 MEM32(ecx) = eax; /* 0x2B06B314: mov dword ptr [ecx], eax */ 3666 L_2B06B316: 3667 edx = MEM32(0x2B0B5BCC); /* 0x2B06B316: mov edx, dword ptr [0x2b0b5bcc] */ 3668 eax = MEM32(ebp + 0xC); /* 0x2B06B31C: mov eax, dword ptr [ebp + 0xc] */ 3669 ecx = MEM32(edx); /* 0x2B06B31F: mov ecx, dword ptr [edx] */ 3670 PUSH32(esp, ebx); /* 0x2B06B321: push ebx */ 3671 PUSH32(esp, eax); /* 0x2B06B322: push eax */ 3672 RECOMP_ICALL(MEM32(0x2B0B5BD4)); /* 0x2B06B323: call dword ptr [0x2b0b5bd4] */ 3673 RECOMP_FLAGS_IN(); 3674 SET_LO8(ecx, MEM8(ebp + 0xF)); /* 0x2B06B329: mov cl, byte ptr [ebp + 0xf] */ 3675 edx = MEM32(ebp + 0x8); /* 0x2B06B32C: mov edx, dword ptr [ebp + 8] */ 3676 MEM8(ebp + (-0x28)) = (uint8_t)(LO8(ecx)); /* 0x2B06B32F: mov byte ptr [ebp - 0x28], cl */ 3677 MEM32(ebp + (-0x24)) = edi; /* 0x2B06B332: mov dword ptr [ebp - 0x24], edi */ 3678 MEM32(ebp + (-0x20)) = edi; /* 0x2B06B335: mov dword ptr [ebp - 0x20], edi */ 3679 MEM32(ebp + (-0x1C)) = edi; /* 0x2B06B338: mov dword ptr [ebp - 0x1c], edi */ 3680 ebx = eax; /* 0x2B06B33B: mov ebx, eax */ 3681 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3682 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06B33D: or ecx, 0xffffffff */ 3683 _cf = 0; 3684 _flag_k = FK_TEST; 3685 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3686 eax = 0; /* 0x2B06B340: xor eax, eax */ 3687 _cf = 0; 3688 _flag_k = FK_TEST; 3689 edi = edx; /* 0x2B06B342: mov edi, edx */ 3690 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; } /* 0x2B06B344: repne scasb al, byte ptr es:[edi] */ 3691 ecx = ~ecx; /* 0x2B06B346: not ecx */ 3692 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 3693 ecx = ecx - 1; /* 0x2B06B348: dec ecx */ 3694 _flag_k = FK_DEC; 3695 PUSH32(esp, ecx); /* 0x2B06B349: push ecx */ 3696 PUSH32(esp, edx); /* 0x2B06B34A: push edx */ 3697 ecx = ebp + (-0x28); /* 0x2B06B34B: lea ecx, [ebp - 0x28] */ 3698 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B06B34E: call dword ptr [0x2b0b5148] */ 3699 RECOMP_FLAGS_IN(); 3700 MEM32(ebp + (-0x18)) = 0; /* 0x2B06B354: mov dword ptr [ebp - 0x18], 0 */ 3701 edx = MEM32(ebp + 0xC); /* 0x2B06B35B: mov edx, dword ptr [ebp + 0xc] */ 3702 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06B35E: push -1 */ 3703 PUSH32(esp, 0); /* 0x2B06B360: push 0 */ 3704 PUSH32(esp, edx); /* 0x2B06B362: push edx */ 3705 ecx = ebp + (-0x28); /* 0x2B06B363: lea ecx, [ebp - 0x28] */ 3706 MEM32(ebp + (-0x4)) = 1; /* 0x2B06B366: mov dword ptr [ebp - 4], 1 */ 3707 RECOMP_ICALL(MEM32(0x2B0B59B8)); /* 0x2B06B36D: call dword ptr [0x2b0b59b8] */ 3708 RECOMP_FLAGS_IN(); 3709 ecx = MEM32(ebp + 0x10); /* 0x2B06B373: mov ecx, dword ptr [ebp + 0x10] */ 3710 edi = eax; /* 0x2B06B376: mov edi, eax */ 3711 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B06B378: cdq */ 3712 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 3713 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3714 eax = eax - edx; /* 0x2B06B379: sub eax, edx */ 3715 _flag_k = FK_CMP; 3716 edx = MEM32(ecx); /* 0x2B06B37B: mov edx, dword ptr [ecx] */ 3717 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B06B37D: sar eax, 1 */ 3718 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3719 eax = (uint32_t)((int32_t)eax >> 1u); 3720 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 3721 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3722 edx = edx - eax; /* 0x2B06B37F: sub edx, eax */ 3723 _flag_k = FK_CMP; 3724 MEM32(esi + 0x8) = edx; /* 0x2B06B381: mov dword ptr [esi + 8], edx */ 3725 ecx = MEM32(ecx + 0x4); /* 0x2B06B384: mov ecx, dword ptr [ecx + 4] */ 3726 eax = ebx; /* 0x2B06B387: mov eax, ebx */ 3727 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B06B389: cdq */ 3728 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 3729 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3730 eax = eax - edx; /* 0x2B06B38A: sub eax, edx */ 3731 _flag_k = FK_CMP; 3732 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B06B38C: sar eax, 1 */ 3733 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3734 eax = (uint32_t)((int32_t)eax >> 1u); 3735 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 3736 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3737 ecx = ecx - eax; /* 0x2B06B38E: sub ecx, eax */ 3738 _flag_k = FK_CMP; 3739 MEM32(esi + 0xC) = ecx; /* 0x2B06B390: mov dword ptr [esi + 0xc], ecx */ 3740 MEM32(ebp + 0x20) = 0; /* 0x2B06B393: mov dword ptr [ebp + 0x20], 0 */ 3741 ecx = 4; /* 0x2B06B39A: mov ecx, 4 */ 3742 L_2B06B39F: 3743 edx = 1; /* 0x2B06B39F: mov edx, 1 */ 3744 if (((LO8(ecx)) & 31)) _cf = ((((LO8(ecx)) & 31)) <= 32 ? (((edx) >> (32 - (((LO8(ecx)) & 31)))) & 1u) : 0u); /* 0x2B06B3A4: shl edx, cl */ 3745 if (((LO8(ecx)) & 31)) { _flag_a = recomp_flags_pack((edx << ((LO8(ecx)) & 31)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3746 edx = edx << ((LO8(ecx)) & 31); /* 0x2B06B3A4: shl edx, cl */ 3747 /* cmp ebx, edx */ /* 0x2B06B3A6: cmp ebx, edx */ 3748 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 3749 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3750 _flag_k = FK_CMP; 3751 if (CMP_L(_flag_a, _flag_b)) goto L_2B06B3B2; /* 0x2B06B3A8: jl 0x2b06b3b2 */ 3752 L_2B06B3AA: 3753 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 3754 ecx = ecx + 1; /* 0x2B06B3AA: inc ecx */ 3755 _flag_k = FK_INC; 3756 /* cmp ecx, 8 */ /* 0x2B06B3AB: cmp ecx, 8 */ 3757 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8); 3758 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3759 _flag_k = FK_CMP; 3760 RECOMP_BACKEDGE(); 3761 if (CMP_L(_flag_a, _flag_b)) goto L_2B06B39F; /* 0x2B06B3AE: jl 0x2b06b39f */ 3762 L_2B06B3B0: 3763 goto L_2B06B3B5; /* 0x2B06B3B0: jmp 0x2b06b3b5 */ 3764 L_2B06B3B2: 3765 MEM32(ebp + 0x20) = ecx; /* 0x2B06B3B2: mov dword ptr [ebp + 0x20], ecx */ 3766 L_2B06B3B5: 3767 ecx = MEM32(ebp + 0x20); /* 0x2B06B3B5: mov ecx, dword ptr [ebp + 0x20] */ 3768 eax = 1; /* 0x2B06B3B8: mov eax, 1 */ 3769 if (((LO8(ecx)) & 31)) _cf = ((((LO8(ecx)) & 31)) <= 32 ? (((eax) >> (32 - (((LO8(ecx)) & 31)))) & 1u) : 0u); /* 0x2B06B3BD: shl eax, cl */ 3770 if (((LO8(ecx)) & 31)) { _flag_a = recomp_flags_pack((eax << ((LO8(ecx)) & 31)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3771 eax = eax << ((LO8(ecx)) & 31); /* 0x2B06B3BD: shl eax, cl */ 3772 MEM32(ebp + 0x1C) = eax; /* 0x2B06B3BF: mov dword ptr [ebp + 0x1c], eax */ 3773 ecx = MEM32(ebp + 0x1C); /* 0x2B06B3C2: mov ecx, dword ptr [ebp + 0x1c] */ 3774 eax = edi; /* 0x2B06B3C5: mov eax, edi */ 3775 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B06B3C7: cdq */ 3776 { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2B06B3C8: idiv ecx */ 3777 if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); } 3778 else { eax = 0; edx = 0; } } 3779 MEM32(ebp + 0x1C) = eax; /* 0x2B06B3CA: mov dword ptr [ebp + 0x1c], eax */ 3780 eax = edi; /* 0x2B06B3CD: mov eax, edi */ 3781 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B06B3CF: cdq */ 3782 { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2B06B3D0: idiv ecx */ 3783 if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); } 3784 else { eax = 0; edx = 0; } } 3785 /* test edx, edx */ /* 0x2B06B3D2: test edx, edx */ 3786 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 3787 _cf = 0; 3788 _flag_k = FK_TEST; 3789 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B3D9; /* 0x2B06B3D4: je 0x2b06b3d9 */ 3790 L_2B06B3D6: 3791 _flag_a = (uint32_t)(MEM32(ebp + 0x1C)); _flag_b = (uint32_t)(1); 3792 MEM32(ebp + 0x1C) = MEM32(ebp + 0x1C) + 1; /* 0x2B06B3D6: inc dword ptr [ebp + 0x1c] */ 3793 _flag_k = FK_INC; 3794 L_2B06B3D9: 3795 PUSH32(esp, 0x20u); /* 0x2B06B3D9: push 0x20 */ 3796 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06B3DB: call 0x2b0ab212 */ /* not lifted */ 3797 RECOMP_FLAGS_IN(); 3798 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3799 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3800 esp = esp + 4; /* 0x2B06B3E0: add esp, 4 */ 3801 _flag_k = FK_ADD; 3802 MEM32(ebp + 0x24) = eax; /* 0x2B06B3E3: mov dword ptr [ebp + 0x24], eax */ 3803 /* test eax, eax */ /* 0x2B06B3E6: test eax, eax */ 3804 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3805 _cf = 0; 3806 _flag_k = FK_TEST; 3807 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B06B3E8: mov byte ptr [ebp - 4], 2 */ 3808 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B40D; /* 0x2B06B3EC: je 0x2b06b40d */ 3809 L_2B06B3EE: 3810 edx = MEM32(ebp + 0x20); /* 0x2B06B3EE: mov edx, dword ptr [ebp + 0x20] */ 3811 PUSH32(esp, 0); /* 0x2B06B3F1: push 0 */ 3812 PUSH32(esp, 0xFC4u); /* 0x2B06B3F3: push 0xfc4 */ 3813 ecx = esi + 0x8; /* 0x2B06B3F8: lea ecx, [esi + 8] */ 3814 PUSH32(esp, ecx); /* 0x2B06B3FB: push ecx */ 3815 ecx = MEM32(ebp + 0x1C); /* 0x2B06B3FC: mov ecx, dword ptr [ebp + 0x1c] */ 3816 PUSH32(esp, 1); /* 0x2B06B3FF: push 1 */ 3817 PUSH32(esp, ecx); /* 0x2B06B401: push ecx */ 3818 PUSH32(esp, edx); /* 0x2B06B402: push edx */ 3819 ecx = eax; /* 0x2B06B403: mov ecx, eax */ 3820 RECOMP_ICALL(MEM32(0x2B0B54A0)); /* 0x2B06B405: call dword ptr [0x2b0b54a0] */ 3821 RECOMP_FLAGS_IN(); 3822 goto L_2B06B40F; /* 0x2B06B40B: jmp 0x2b06b40f */ 3823 L_2B06B40D: 3824 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3825 eax = 0; /* 0x2B06B40D: xor eax, eax */ 3826 _cf = 0; 3827 _flag_k = FK_TEST; 3828 L_2B06B40F: 3829 ecx = ebp + (-0x14); /* 0x2B06B40F: lea ecx, [ebp - 0x14] */ 3830 PUSH32(esp, ecx); /* 0x2B06B412: push ecx */ 3831 ecx = eax; /* 0x2B06B413: mov ecx, eax */ 3832 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06B415: mov byte ptr [ebp - 4], 1 */ 3833 MEM32(esi + 0x4) = eax; /* 0x2B06B419: mov dword ptr [esi + 4], eax */ 3834 MEM32(ebp + (-0x14)) = edi; /* 0x2B06B41C: mov dword ptr [ebp - 0x14], edi */ 3835 MEM32(ebp + (-0x10)) = ebx; /* 0x2B06B41F: mov dword ptr [ebp - 0x10], ebx */ 3836 RECOMP_ICALL(MEM32(0x2B0B54A4)); /* 0x2B06B422: call dword ptr [0x2b0b54a4] */ 3837 RECOMP_FLAGS_IN(); 3838 edx = MEM32(esi + 0x4); /* 0x2B06B428: mov edx, dword ptr [esi + 4] */ 3839 edi = MEM32(edx + 0x10); /* 0x2B06B42B: mov edi, dword ptr [edx + 0x10] */ 3840 PUSH32(esp, 1); /* 0x2B06B42E: push 1 */ 3841 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3842 ebx = 0; /* 0x2B06B430: xor ebx, ebx */ 3843 _cf = 0; 3844 _flag_k = FK_TEST; 3845 PUSH32(esp, ebx); /* 0x2B06B432: push ebx */ 3846 PUSH32(esp, ebx); /* 0x2B06B433: push ebx */ 3847 ecx = edi; /* 0x2B06B434: mov ecx, edi */ 3848 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B06B436: call dword ptr [0x2b0b564c] */ 3849 RECOMP_FLAGS_IN(); 3850 PUSH32(esp, 0x38u); /* 0x2B06B43C: push 0x38 */ 3851 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06B43E: call 0x2b0ab212 */ /* not lifted */ 3852 RECOMP_FLAGS_IN(); 3853 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3854 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3855 esp = esp + 4; /* 0x2B06B443: add esp, 4 */ 3856 _flag_k = FK_ADD; 3857 MEM32(ebp + 0x1C) = eax; /* 0x2B06B446: mov dword ptr [ebp + 0x1c], eax */ 3858 /* cmp eax, ebx */ /* 0x2B06B449: cmp eax, ebx */ 3859 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 3860 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3861 _flag_k = FK_CMP; 3862 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B06B44B: mov byte ptr [ebp - 4], 3 */ 3863 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B462; /* 0x2B06B44F: je 0x2b06b462 */ 3864 L_2B06B451: 3865 ecx = MEM32(ebp + 0xC); /* 0x2B06B451: mov ecx, dword ptr [ebp + 0xc] */ 3866 PUSH32(esp, edi); /* 0x2B06B454: push edi */ 3867 PUSH32(esp, 2); /* 0x2B06B455: push 2 */ 3868 PUSH32(esp, ecx); /* 0x2B06B457: push ecx */ 3869 ecx = eax; /* 0x2B06B458: mov ecx, eax */ 3870 RECOMP_ICALL(MEM32(0x2B0B5BF0)); /* 0x2B06B45A: call dword ptr [0x2b0b5bf0] */ 3871 RECOMP_FLAGS_IN(); 3872 goto L_2B06B464; /* 0x2B06B460: jmp 0x2b06b464 */ 3873 L_2B06B462: 3874 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3875 eax = 0; /* 0x2B06B462: xor eax, eax */ 3876 _cf = 0; 3877 _flag_k = FK_TEST; 3878 L_2B06B464: 3879 edx = MEM32(ebp + 0x14); /* 0x2B06B464: mov edx, dword ptr [ebp + 0x14] */ 3880 PUSH32(esp, edx); /* 0x2B06B467: push edx */ 3881 PUSH32(esp, ebx); /* 0x2B06B468: push ebx */ 3882 ecx = ebp + (-0x28); /* 0x2B06B469: lea ecx, [ebp - 0x28] */ 3883 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06B46C: mov byte ptr [ebp - 4], 1 */ 3884 MEM32(esi) = eax; /* 0x2B06B470: mov dword ptr [esi], eax */ 3885 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06B472: call dword ptr [0x2b0b5a74] */ 3886 RECOMP_FLAGS_IN(); 3887 ecx = MEM32(esi); /* 0x2B06B478: mov ecx, dword ptr [esi] */ 3888 PUSH32(esp, ebx); /* 0x2B06B47A: push ebx */ 3889 PUSH32(esp, ebx); /* 0x2B06B47B: push ebx */ 3890 PUSH32(esp, ebx); /* 0x2B06B47C: push ebx */ 3891 PUSH32(esp, ebx); /* 0x2B06B47D: push ebx */ 3892 eax = ebp + (-0x28); /* 0x2B06B47E: lea eax, [ebp - 0x28] */ 3893 PUSH32(esp, eax); /* 0x2B06B481: push eax */ 3894 RECOMP_ICALL(MEM32(0x2B0B5B78)); /* 0x2B06B482: call dword ptr [0x2b0b5b78] */ 3895 RECOMP_FLAGS_IN(); 3896 ecx = MEM32(esi + 0x4); /* 0x2B06B488: mov ecx, dword ptr [esi + 4] */ 3897 RECOMP_ICALL(MEM32(0x2B0B54A8)); /* 0x2B06B48B: call dword ptr [0x2b0b54a8] */ 3898 RECOMP_FLAGS_IN(); 3899 ecx = MEM32(esi + 0x20); /* 0x2B06B491: mov ecx, dword ptr [esi + 0x20] */ 3900 MEM32(esi + 0x1C) = ecx; /* 0x2B06B494: mov dword ptr [esi + 0x1c], ecx */ 3901 edi = MEM32(ebp + (-0x18)); /* 0x2B06B497: mov edi, dword ptr [ebp - 0x18] */ 3902 /* cmp edi, ebx */ /* 0x2B06B49A: cmp edi, ebx */ 3903 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 3904 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3905 _flag_k = FK_CMP; 3906 MEM32(ebp + (-0x4)) = 4; /* 0x2B06B49C: mov dword ptr [ebp - 4], 4 */ 3907 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B4FF; /* 0x2B06B4A3: je 0x2b06b4ff */ 3908 L_2B06B4A5: 3909 edx = MEM32(edi + 0x2C); /* 0x2B06B4A5: mov edx, dword ptr [edi + 0x2c] */ 3910 eax = edi + 0x2C; /* 0x2B06B4A8: lea eax, [edi + 0x2c] */ 3911 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 3912 edx = edx - 1; /* 0x2B06B4AB: dec edx */ 3913 _flag_k = FK_DEC; 3914 ecx = edx; /* 0x2B06B4AC: mov ecx, edx */ 3915 /* cmp ecx, ebx */ /* 0x2B06B4AE: cmp ecx, ebx */ 3916 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 3917 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3918 _flag_k = FK_CMP; 3919 MEM32(eax) = edx; /* 0x2B06B4B0: mov dword ptr [eax], edx */ 3920 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06B4FF; /* 0x2B06B4B2: jne 0x2b06b4ff */ 3921 L_2B06B4B4: 3922 /* cmp edi, ebx */ /* 0x2B06B4B4: cmp edi, ebx */ 3923 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 3924 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3925 _flag_k = FK_CMP; 3926 MEM32(ebp + 0xC) = edi; /* 0x2B06B4B6: mov dword ptr [ebp + 0xc], edi */ 3927 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B4FF; /* 0x2B06B4B9: je 0x2b06b4ff */ 3928 L_2B06B4BB: 3929 PUSH32(esp, 1); /* 0x2B06B4BB: push 1 */ 3930 ecx = edi + 0x1C; /* 0x2B06B4BD: lea ecx, [edi + 0x1c] */ 3931 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B06B4C0: mov byte ptr [ebp - 4], 5 */ 3932 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B06B4C4: call dword ptr [0x2b0b514c] */ 3933 RECOMP_FLAGS_IN(); 3934 eax = MEM32(edi + 0x10); /* 0x2B06B4CA: mov eax, dword ptr [edi + 0x10] */ 3935 /* cmp eax, ebx */ /* 0x2B06B4CD: cmp eax, ebx */ 3936 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 3937 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3938 _flag_k = FK_CMP; 3939 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B4ED; /* 0x2B06B4CF: je 0x2b06b4ed */ 3940 L_2B06B4D1: 3941 ecx = eax + (-0x1); /* 0x2B06B4D1: lea ecx, [eax - 1] */ 3942 SET_LO8(eax, MEM8(ecx)); /* 0x2B06B4D4: mov al, byte ptr [ecx] */ 3943 /* test LO8(eax), LO8(eax) */ /* 0x2B06B4D6: test al, al */ 3944 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3945 _cf = 0; 3946 _flag_k = FK_NARROW(FK_TEST, 24); 3947 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B4E4; /* 0x2B06B4D8: je 0x2b06b4e4 */ 3948 L_2B06B4DA: 3949 /* cmp LO8(eax), 0xFFu */ /* 0x2B06B4DA: cmp al, 0xff */ 3950 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3951 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3952 _flag_k = FK_NARROW(FK_CMP, 24); 3953 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B4E4; /* 0x2B06B4DC: je 0x2b06b4e4 */ 3954 L_2B06B4DE: 3955 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3956 SET_LO8(eax, LO8(eax) - 1); /* 0x2B06B4DE: dec al */ 3957 _flag_k = FK_NARROW(FK_DEC, 24); 3958 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B06B4E0: mov byte ptr [ecx], al */ 3959 goto L_2B06B4ED; /* 0x2B06B4E2: jmp 0x2b06b4ed */ 3960 L_2B06B4E4: 3961 PUSH32(esp, ecx); /* 0x2B06B4E4: push ecx */ 3962 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06B4E5: call 0x2b0ab1ba */ /* not lifted */ 3963 RECOMP_FLAGS_IN(); 3964 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3965 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3966 esp = esp + 4; /* 0x2B06B4EA: add esp, 4 */ 3967 _flag_k = FK_ADD; 3968 L_2B06B4ED: 3969 PUSH32(esp, edi); /* 0x2B06B4ED: push edi */ 3970 MEM32(edi + 0x10) = ebx; /* 0x2B06B4EE: mov dword ptr [edi + 0x10], ebx */ 3971 MEM32(edi + 0x14) = ebx; /* 0x2B06B4F1: mov dword ptr [edi + 0x14], ebx */ 3972 MEM32(edi + 0x18) = ebx; /* 0x2B06B4F4: mov dword ptr [edi + 0x18], ebx */ 3973 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06B4F7: call 0x2b0ab1ba */ /* not lifted */ 3974 RECOMP_FLAGS_IN(); 3975 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3976 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3977 esp = esp + 4; /* 0x2B06B4FC: add esp, 4 */ 3978 _flag_k = FK_ADD; 3979 L_2B06B4FF: 3980 ecx = MEM32(ebp + (-0x24)); /* 0x2B06B4FF: mov ecx, dword ptr [ebp - 0x24] */ 3981 /* cmp ecx, ebx */ /* 0x2B06B502: cmp ecx, ebx */ 3982 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 3983 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3984 _flag_k = FK_CMP; 3985 ebx = POP32_VAL(esp); /* 0x2B06B504: pop ebx */ 3986 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B535; /* 0x2B06B505: je 0x2b06b535 */ 3987 L_2B06B507: 3988 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B06B507: mov al, byte ptr [ecx - 1] */ 3989 /* test LO8(eax), LO8(eax) */ /* 0x2B06B50A: test al, al */ 3990 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3991 _cf = 0; 3992 _flag_k = FK_NARROW(FK_TEST, 24); 3993 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B52B; /* 0x2B06B50C: je 0x2b06b52b */ 3994 L_2B06B50E: 3995 /* cmp LO8(eax), 0xFFu */ /* 0x2B06B50E: cmp al, 0xff */ 3996 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3997 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3998 _flag_k = FK_NARROW(FK_CMP, 24); 3999 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B52B; /* 0x2B06B510: je 0x2b06b52b */ 4000 L_2B06B512: 4001 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4002 SET_LO8(eax, LO8(eax) - 1); /* 0x2B06B512: dec al */ 4003 _flag_k = FK_NARROW(FK_DEC, 24); 4004 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B06B514: mov byte ptr [ecx - 1], al */ 4005 edi = POP32_VAL(esp); /* 0x2B06B517: pop edi */ 4006 eax = esi; /* 0x2B06B518: mov eax, esi */ 4007 esi = POP32_VAL(esp); /* 0x2B06B51A: pop esi */ 4008 ecx = MEM32(ebp + (-0xC)); /* 0x2B06B51B: mov ecx, dword ptr [ebp - 0xc] */ 4009 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06B51E: mov dword ptr fs:[0], ecx */ 4010 esp = ebp; /* 0x2B06B525: mov esp, ebp */ 4011 ebp = POP32_VAL(esp); /* 0x2B06B527: pop ebp */ 4012 RECOMP_FLAGS_OUT(); esp += 36; { RECOMP_REGS_OUT(); return; } /* 0x2B06B528: ret 0x20 */ 4013 L_2B06B52B: 4014 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 4015 ecx = ecx - 1; /* 0x2B06B52B: dec ecx */ 4016 _flag_k = FK_DEC; 4017 PUSH32(esp, ecx); /* 0x2B06B52C: push ecx */ 4018 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06B52D: call 0x2b0ab1ba */ /* not lifted */ 4019 RECOMP_FLAGS_IN(); 4020 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4021 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4022 esp = esp + 4; /* 0x2B06B532: add esp, 4 */ 4023 _flag_k = FK_ADD; 4024 L_2B06B535: 4025 ecx = MEM32(ebp + (-0xC)); /* 0x2B06B535: mov ecx, dword ptr [ebp - 0xc] */ 4026 edi = POP32_VAL(esp); /* 0x2B06B538: pop edi */ 4027 eax = esi; /* 0x2B06B539: mov eax, esi */ 4028 esi = POP32_VAL(esp); /* 0x2B06B53B: pop esi */ 4029 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06B53C: mov dword ptr fs:[0], ecx */ 4030 esp = ebp; /* 0x2B06B543: mov esp, ebp */ 4031 ebp = POP32_VAL(esp); /* 0x2B06B545: pop ebp */ 4032 RECOMP_FLAGS_OUT(); esp += 36; { RECOMP_REGS_OUT(); return; } /* 0x2B06B546: ret 0x20 */ 4033 RECOMP_REGS_OUT(); 4034 } 4035 4036 void sub_2B06B35B(void) { 4037 int _fpu_cmp = 0; 4038 uint32_t _cf = 0; 4039 int _df = 1; 4040 uint32_t _flag_k = FK_NONE; 4041 uint32_t _flag_a = 0, _flag_b = 0; 4042 uint32_t _itail_tgt = 0; 4043 RECOMP_REGS_LOCALS 4044 RECOMP_ENTER(0x2B06B35Bu); 4045 4046 L_2B06B35B: 4047 edx = MEM32(ebp + 0xC); /* 0x2B06B35B: mov edx, dword ptr [ebp + 0xc] */ 4048 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06B35E: push -1 */ 4049 PUSH32(esp, 0); /* 0x2B06B360: push 0 */ 4050 PUSH32(esp, edx); /* 0x2B06B362: push edx */ 4051 ecx = ebp + (-0x28); /* 0x2B06B363: lea ecx, [ebp - 0x28] */ 4052 MEM32(ebp + (-0x4)) = 1; /* 0x2B06B366: mov dword ptr [ebp - 4], 1 */ 4053 RECOMP_ICALL(MEM32(0x2B0B59B8)); /* 0x2B06B36D: call dword ptr [0x2b0b59b8] */ 4054 RECOMP_FLAGS_IN(); 4055 ecx = MEM32(ebp + 0x10); /* 0x2B06B373: mov ecx, dword ptr [ebp + 0x10] */ 4056 edi = eax; /* 0x2B06B376: mov edi, eax */ 4057 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B06B378: cdq */ 4058 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4059 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4060 eax = eax - edx; /* 0x2B06B379: sub eax, edx */ 4061 _flag_k = FK_CMP; 4062 edx = MEM32(ecx); /* 0x2B06B37B: mov edx, dword ptr [ecx] */ 4063 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B06B37D: sar eax, 1 */ 4064 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4065 eax = (uint32_t)((int32_t)eax >> 1u); 4066 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 4067 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4068 edx = edx - eax; /* 0x2B06B37F: sub edx, eax */ 4069 _flag_k = FK_CMP; 4070 MEM32(esi + 0x8) = edx; /* 0x2B06B381: mov dword ptr [esi + 8], edx */ 4071 ecx = MEM32(ecx + 0x4); /* 0x2B06B384: mov ecx, dword ptr [ecx + 4] */ 4072 eax = ebx; /* 0x2B06B387: mov eax, ebx */ 4073 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B06B389: cdq */ 4074 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4075 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4076 eax = eax - edx; /* 0x2B06B38A: sub eax, edx */ 4077 _flag_k = FK_CMP; 4078 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B06B38C: sar eax, 1 */ 4079 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4080 eax = (uint32_t)((int32_t)eax >> 1u); 4081 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 4082 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4083 ecx = ecx - eax; /* 0x2B06B38E: sub ecx, eax */ 4084 _flag_k = FK_CMP; 4085 MEM32(esi + 0xC) = ecx; /* 0x2B06B390: mov dword ptr [esi + 0xc], ecx */ 4086 MEM32(ebp + 0x20) = 0; /* 0x2B06B393: mov dword ptr [ebp + 0x20], 0 */ 4087 ecx = 4; /* 0x2B06B39A: mov ecx, 4 */ 4088 L_2B06B39F: 4089 edx = 1; /* 0x2B06B39F: mov edx, 1 */ 4090 if (((LO8(ecx)) & 31)) _cf = ((((LO8(ecx)) & 31)) <= 32 ? (((edx) >> (32 - (((LO8(ecx)) & 31)))) & 1u) : 0u); /* 0x2B06B3A4: shl edx, cl */ 4091 if (((LO8(ecx)) & 31)) { _flag_a = recomp_flags_pack((edx << ((LO8(ecx)) & 31)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4092 edx = edx << ((LO8(ecx)) & 31); /* 0x2B06B3A4: shl edx, cl */ 4093 /* cmp ebx, edx */ /* 0x2B06B3A6: cmp ebx, edx */ 4094 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 4095 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4096 _flag_k = FK_CMP; 4097 if (CMP_L(_flag_a, _flag_b)) goto L_2B06B3B2; /* 0x2B06B3A8: jl 0x2b06b3b2 */ 4098 L_2B06B3AA: 4099 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 4100 ecx = ecx + 1; /* 0x2B06B3AA: inc ecx */ 4101 _flag_k = FK_INC; 4102 /* cmp ecx, 8 */ /* 0x2B06B3AB: cmp ecx, 8 */ 4103 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8); 4104 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4105 _flag_k = FK_CMP; 4106 RECOMP_BACKEDGE(); 4107 if (CMP_L(_flag_a, _flag_b)) goto L_2B06B39F; /* 0x2B06B3AE: jl 0x2b06b39f */ 4108 L_2B06B3B0: 4109 goto L_2B06B3B5; /* 0x2B06B3B0: jmp 0x2b06b3b5 */ 4110 L_2B06B3B2: 4111 MEM32(ebp + 0x20) = ecx; /* 0x2B06B3B2: mov dword ptr [ebp + 0x20], ecx */ 4112 L_2B06B3B5: 4113 ecx = MEM32(ebp + 0x20); /* 0x2B06B3B5: mov ecx, dword ptr [ebp + 0x20] */ 4114 eax = 1; /* 0x2B06B3B8: mov eax, 1 */ 4115 if (((LO8(ecx)) & 31)) _cf = ((((LO8(ecx)) & 31)) <= 32 ? (((eax) >> (32 - (((LO8(ecx)) & 31)))) & 1u) : 0u); /* 0x2B06B3BD: shl eax, cl */ 4116 if (((LO8(ecx)) & 31)) { _flag_a = recomp_flags_pack((eax << ((LO8(ecx)) & 31)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4117 eax = eax << ((LO8(ecx)) & 31); /* 0x2B06B3BD: shl eax, cl */ 4118 MEM32(ebp + 0x1C) = eax; /* 0x2B06B3BF: mov dword ptr [ebp + 0x1c], eax */ 4119 ecx = MEM32(ebp + 0x1C); /* 0x2B06B3C2: mov ecx, dword ptr [ebp + 0x1c] */ 4120 eax = edi; /* 0x2B06B3C5: mov eax, edi */ 4121 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B06B3C7: cdq */ 4122 { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2B06B3C8: idiv ecx */ 4123 if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); } 4124 else { eax = 0; edx = 0; } } 4125 MEM32(ebp + 0x1C) = eax; /* 0x2B06B3CA: mov dword ptr [ebp + 0x1c], eax */ 4126 eax = edi; /* 0x2B06B3CD: mov eax, edi */ 4127 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B06B3CF: cdq */ 4128 { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2B06B3D0: idiv ecx */ 4129 if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); } 4130 else { eax = 0; edx = 0; } } 4131 /* test edx, edx */ /* 0x2B06B3D2: test edx, edx */ 4132 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 4133 _cf = 0; 4134 _flag_k = FK_TEST; 4135 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B3D9; /* 0x2B06B3D4: je 0x2b06b3d9 */ 4136 L_2B06B3D6: 4137 _flag_a = (uint32_t)(MEM32(ebp + 0x1C)); _flag_b = (uint32_t)(1); 4138 MEM32(ebp + 0x1C) = MEM32(ebp + 0x1C) + 1; /* 0x2B06B3D6: inc dword ptr [ebp + 0x1c] */ 4139 _flag_k = FK_INC; 4140 L_2B06B3D9: 4141 PUSH32(esp, 0x20u); /* 0x2B06B3D9: push 0x20 */ 4142 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06B3DB: call 0x2b0ab212 */ /* not lifted */ 4143 RECOMP_FLAGS_IN(); 4144 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4145 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4146 esp = esp + 4; /* 0x2B06B3E0: add esp, 4 */ 4147 _flag_k = FK_ADD; 4148 MEM32(ebp + 0x24) = eax; /* 0x2B06B3E3: mov dword ptr [ebp + 0x24], eax */ 4149 /* test eax, eax */ /* 0x2B06B3E6: test eax, eax */ 4150 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4151 _cf = 0; 4152 _flag_k = FK_TEST; 4153 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B06B3E8: mov byte ptr [ebp - 4], 2 */ 4154 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B40D; /* 0x2B06B3EC: je 0x2b06b40d */ 4155 L_2B06B3EE: 4156 edx = MEM32(ebp + 0x20); /* 0x2B06B3EE: mov edx, dword ptr [ebp + 0x20] */ 4157 PUSH32(esp, 0); /* 0x2B06B3F1: push 0 */ 4158 PUSH32(esp, 0xFC4u); /* 0x2B06B3F3: push 0xfc4 */ 4159 ecx = esi + 0x8; /* 0x2B06B3F8: lea ecx, [esi + 8] */ 4160 PUSH32(esp, ecx); /* 0x2B06B3FB: push ecx */ 4161 ecx = MEM32(ebp + 0x1C); /* 0x2B06B3FC: mov ecx, dword ptr [ebp + 0x1c] */ 4162 PUSH32(esp, 1); /* 0x2B06B3FF: push 1 */ 4163 PUSH32(esp, ecx); /* 0x2B06B401: push ecx */ 4164 PUSH32(esp, edx); /* 0x2B06B402: push edx */ 4165 ecx = eax; /* 0x2B06B403: mov ecx, eax */ 4166 RECOMP_ICALL(MEM32(0x2B0B54A0)); /* 0x2B06B405: call dword ptr [0x2b0b54a0] */ 4167 RECOMP_FLAGS_IN(); 4168 goto L_2B06B40F; /* 0x2B06B40B: jmp 0x2b06b40f */ 4169 L_2B06B40D: 4170 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4171 eax = 0; /* 0x2B06B40D: xor eax, eax */ 4172 _cf = 0; 4173 _flag_k = FK_TEST; 4174 L_2B06B40F: 4175 ecx = ebp + (-0x14); /* 0x2B06B40F: lea ecx, [ebp - 0x14] */ 4176 PUSH32(esp, ecx); /* 0x2B06B412: push ecx */ 4177 ecx = eax; /* 0x2B06B413: mov ecx, eax */ 4178 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06B415: mov byte ptr [ebp - 4], 1 */ 4179 MEM32(esi + 0x4) = eax; /* 0x2B06B419: mov dword ptr [esi + 4], eax */ 4180 MEM32(ebp + (-0x14)) = edi; /* 0x2B06B41C: mov dword ptr [ebp - 0x14], edi */ 4181 MEM32(ebp + (-0x10)) = ebx; /* 0x2B06B41F: mov dword ptr [ebp - 0x10], ebx */ 4182 RECOMP_ICALL(MEM32(0x2B0B54A4)); /* 0x2B06B422: call dword ptr [0x2b0b54a4] */ 4183 RECOMP_FLAGS_IN(); 4184 edx = MEM32(esi + 0x4); /* 0x2B06B428: mov edx, dword ptr [esi + 4] */ 4185 edi = MEM32(edx + 0x10); /* 0x2B06B42B: mov edi, dword ptr [edx + 0x10] */ 4186 PUSH32(esp, 1); /* 0x2B06B42E: push 1 */ 4187 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4188 ebx = 0; /* 0x2B06B430: xor ebx, ebx */ 4189 _cf = 0; 4190 _flag_k = FK_TEST; 4191 PUSH32(esp, ebx); /* 0x2B06B432: push ebx */ 4192 PUSH32(esp, ebx); /* 0x2B06B433: push ebx */ 4193 ecx = edi; /* 0x2B06B434: mov ecx, edi */ 4194 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B06B436: call dword ptr [0x2b0b564c] */ 4195 RECOMP_FLAGS_IN(); 4196 PUSH32(esp, 0x38u); /* 0x2B06B43C: push 0x38 */ 4197 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06B43E: call 0x2b0ab212 */ /* not lifted */ 4198 RECOMP_FLAGS_IN(); 4199 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4200 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4201 esp = esp + 4; /* 0x2B06B443: add esp, 4 */ 4202 _flag_k = FK_ADD; 4203 MEM32(ebp + 0x1C) = eax; /* 0x2B06B446: mov dword ptr [ebp + 0x1c], eax */ 4204 /* cmp eax, ebx */ /* 0x2B06B449: cmp eax, ebx */ 4205 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 4206 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4207 _flag_k = FK_CMP; 4208 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B06B44B: mov byte ptr [ebp - 4], 3 */ 4209 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B462; /* 0x2B06B44F: je 0x2b06b462 */ 4210 L_2B06B451: 4211 ecx = MEM32(ebp + 0xC); /* 0x2B06B451: mov ecx, dword ptr [ebp + 0xc] */ 4212 PUSH32(esp, edi); /* 0x2B06B454: push edi */ 4213 PUSH32(esp, 2); /* 0x2B06B455: push 2 */ 4214 PUSH32(esp, ecx); /* 0x2B06B457: push ecx */ 4215 ecx = eax; /* 0x2B06B458: mov ecx, eax */ 4216 RECOMP_ICALL(MEM32(0x2B0B5BF0)); /* 0x2B06B45A: call dword ptr [0x2b0b5bf0] */ 4217 RECOMP_FLAGS_IN(); 4218 goto L_2B06B464; /* 0x2B06B460: jmp 0x2b06b464 */ 4219 L_2B06B462: 4220 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4221 eax = 0; /* 0x2B06B462: xor eax, eax */ 4222 _cf = 0; 4223 _flag_k = FK_TEST; 4224 L_2B06B464: 4225 edx = MEM32(ebp + 0x14); /* 0x2B06B464: mov edx, dword ptr [ebp + 0x14] */ 4226 PUSH32(esp, edx); /* 0x2B06B467: push edx */ 4227 PUSH32(esp, ebx); /* 0x2B06B468: push ebx */ 4228 ecx = ebp + (-0x28); /* 0x2B06B469: lea ecx, [ebp - 0x28] */ 4229 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06B46C: mov byte ptr [ebp - 4], 1 */ 4230 MEM32(esi) = eax; /* 0x2B06B470: mov dword ptr [esi], eax */ 4231 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06B472: call dword ptr [0x2b0b5a74] */ 4232 RECOMP_FLAGS_IN(); 4233 ecx = MEM32(esi); /* 0x2B06B478: mov ecx, dword ptr [esi] */ 4234 PUSH32(esp, ebx); /* 0x2B06B47A: push ebx */ 4235 PUSH32(esp, ebx); /* 0x2B06B47B: push ebx */ 4236 PUSH32(esp, ebx); /* 0x2B06B47C: push ebx */ 4237 PUSH32(esp, ebx); /* 0x2B06B47D: push ebx */ 4238 eax = ebp + (-0x28); /* 0x2B06B47E: lea eax, [ebp - 0x28] */ 4239 PUSH32(esp, eax); /* 0x2B06B481: push eax */ 4240 RECOMP_ICALL(MEM32(0x2B0B5B78)); /* 0x2B06B482: call dword ptr [0x2b0b5b78] */ 4241 RECOMP_FLAGS_IN(); 4242 ecx = MEM32(esi + 0x4); /* 0x2B06B488: mov ecx, dword ptr [esi + 4] */ 4243 RECOMP_ICALL(MEM32(0x2B0B54A8)); /* 0x2B06B48B: call dword ptr [0x2b0b54a8] */ 4244 RECOMP_FLAGS_IN(); 4245 ecx = MEM32(esi + 0x20); /* 0x2B06B491: mov ecx, dword ptr [esi + 0x20] */ 4246 MEM32(esi + 0x1C) = ecx; /* 0x2B06B494: mov dword ptr [esi + 0x1c], ecx */ 4247 edi = MEM32(ebp + (-0x18)); /* 0x2B06B497: mov edi, dword ptr [ebp - 0x18] */ 4248 /* cmp edi, ebx */ /* 0x2B06B49A: cmp edi, ebx */ 4249 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 4250 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4251 _flag_k = FK_CMP; 4252 MEM32(ebp + (-0x4)) = 4; /* 0x2B06B49C: mov dword ptr [ebp - 4], 4 */ 4253 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B4FF; /* 0x2B06B4A3: je 0x2b06b4ff */ 4254 L_2B06B4A5: 4255 edx = MEM32(edi + 0x2C); /* 0x2B06B4A5: mov edx, dword ptr [edi + 0x2c] */ 4256 eax = edi + 0x2C; /* 0x2B06B4A8: lea eax, [edi + 0x2c] */ 4257 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 4258 edx = edx - 1; /* 0x2B06B4AB: dec edx */ 4259 _flag_k = FK_DEC; 4260 ecx = edx; /* 0x2B06B4AC: mov ecx, edx */ 4261 /* cmp ecx, ebx */ /* 0x2B06B4AE: cmp ecx, ebx */ 4262 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 4263 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4264 _flag_k = FK_CMP; 4265 MEM32(eax) = edx; /* 0x2B06B4B0: mov dword ptr [eax], edx */ 4266 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06B4FF; /* 0x2B06B4B2: jne 0x2b06b4ff */ 4267 L_2B06B4B4: 4268 /* cmp edi, ebx */ /* 0x2B06B4B4: cmp edi, ebx */ 4269 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 4270 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4271 _flag_k = FK_CMP; 4272 MEM32(ebp + 0xC) = edi; /* 0x2B06B4B6: mov dword ptr [ebp + 0xc], edi */ 4273 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B4FF; /* 0x2B06B4B9: je 0x2b06b4ff */ 4274 L_2B06B4BB: 4275 PUSH32(esp, 1); /* 0x2B06B4BB: push 1 */ 4276 ecx = edi + 0x1C; /* 0x2B06B4BD: lea ecx, [edi + 0x1c] */ 4277 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B06B4C0: mov byte ptr [ebp - 4], 5 */ 4278 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B06B4C4: call dword ptr [0x2b0b514c] */ 4279 RECOMP_FLAGS_IN(); 4280 eax = MEM32(edi + 0x10); /* 0x2B06B4CA: mov eax, dword ptr [edi + 0x10] */ 4281 /* cmp eax, ebx */ /* 0x2B06B4CD: cmp eax, ebx */ 4282 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 4283 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4284 _flag_k = FK_CMP; 4285 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B4ED; /* 0x2B06B4CF: je 0x2b06b4ed */ 4286 L_2B06B4D1: 4287 ecx = eax + (-0x1); /* 0x2B06B4D1: lea ecx, [eax - 1] */ 4288 SET_LO8(eax, MEM8(ecx)); /* 0x2B06B4D4: mov al, byte ptr [ecx] */ 4289 /* test LO8(eax), LO8(eax) */ /* 0x2B06B4D6: test al, al */ 4290 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4291 _cf = 0; 4292 _flag_k = FK_NARROW(FK_TEST, 24); 4293 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B4E4; /* 0x2B06B4D8: je 0x2b06b4e4 */ 4294 L_2B06B4DA: 4295 /* cmp LO8(eax), 0xFFu */ /* 0x2B06B4DA: cmp al, 0xff */ 4296 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 4297 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4298 _flag_k = FK_NARROW(FK_CMP, 24); 4299 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B4E4; /* 0x2B06B4DC: je 0x2b06b4e4 */ 4300 L_2B06B4DE: 4301 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4302 SET_LO8(eax, LO8(eax) - 1); /* 0x2B06B4DE: dec al */ 4303 _flag_k = FK_NARROW(FK_DEC, 24); 4304 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B06B4E0: mov byte ptr [ecx], al */ 4305 goto L_2B06B4ED; /* 0x2B06B4E2: jmp 0x2b06b4ed */ 4306 L_2B06B4E4: 4307 PUSH32(esp, ecx); /* 0x2B06B4E4: push ecx */ 4308 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06B4E5: call 0x2b0ab1ba */ /* not lifted */ 4309 RECOMP_FLAGS_IN(); 4310 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4311 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4312 esp = esp + 4; /* 0x2B06B4EA: add esp, 4 */ 4313 _flag_k = FK_ADD; 4314 L_2B06B4ED: 4315 PUSH32(esp, edi); /* 0x2B06B4ED: push edi */ 4316 MEM32(edi + 0x10) = ebx; /* 0x2B06B4EE: mov dword ptr [edi + 0x10], ebx */ 4317 MEM32(edi + 0x14) = ebx; /* 0x2B06B4F1: mov dword ptr [edi + 0x14], ebx */ 4318 MEM32(edi + 0x18) = ebx; /* 0x2B06B4F4: mov dword ptr [edi + 0x18], ebx */ 4319 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06B4F7: call 0x2b0ab1ba */ /* not lifted */ 4320 RECOMP_FLAGS_IN(); 4321 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4322 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4323 esp = esp + 4; /* 0x2B06B4FC: add esp, 4 */ 4324 _flag_k = FK_ADD; 4325 L_2B06B4FF: 4326 ecx = MEM32(ebp + (-0x24)); /* 0x2B06B4FF: mov ecx, dword ptr [ebp - 0x24] */ 4327 /* cmp ecx, ebx */ /* 0x2B06B502: cmp ecx, ebx */ 4328 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 4329 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4330 _flag_k = FK_CMP; 4331 ebx = POP32_VAL(esp); /* 0x2B06B504: pop ebx */ 4332 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B535; /* 0x2B06B505: je 0x2b06b535 */ 4333 L_2B06B507: 4334 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B06B507: mov al, byte ptr [ecx - 1] */ 4335 /* test LO8(eax), LO8(eax) */ /* 0x2B06B50A: test al, al */ 4336 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4337 _cf = 0; 4338 _flag_k = FK_NARROW(FK_TEST, 24); 4339 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B52B; /* 0x2B06B50C: je 0x2b06b52b */ 4340 L_2B06B50E: 4341 /* cmp LO8(eax), 0xFFu */ /* 0x2B06B50E: cmp al, 0xff */ 4342 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 4343 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4344 _flag_k = FK_NARROW(FK_CMP, 24); 4345 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B52B; /* 0x2B06B510: je 0x2b06b52b */ 4346 L_2B06B512: 4347 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4348 SET_LO8(eax, LO8(eax) - 1); /* 0x2B06B512: dec al */ 4349 _flag_k = FK_NARROW(FK_DEC, 24); 4350 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B06B514: mov byte ptr [ecx - 1], al */ 4351 edi = POP32_VAL(esp); /* 0x2B06B517: pop edi */ 4352 eax = esi; /* 0x2B06B518: mov eax, esi */ 4353 esi = POP32_VAL(esp); /* 0x2B06B51A: pop esi */ 4354 ecx = MEM32(ebp + (-0xC)); /* 0x2B06B51B: mov ecx, dword ptr [ebp - 0xc] */ 4355 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06B51E: mov dword ptr fs:[0], ecx */ 4356 esp = ebp; /* 0x2B06B525: mov esp, ebp */ 4357 ebp = POP32_VAL(esp); /* 0x2B06B527: pop ebp */ 4358 RECOMP_FLAGS_OUT(); esp += 36; { RECOMP_REGS_OUT(); return; } /* 0x2B06B528: ret 0x20 */ 4359 L_2B06B52B: 4360 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 4361 ecx = ecx - 1; /* 0x2B06B52B: dec ecx */ 4362 _flag_k = FK_DEC; 4363 PUSH32(esp, ecx); /* 0x2B06B52C: push ecx */ 4364 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06B52D: call 0x2b0ab1ba */ /* not lifted */ 4365 RECOMP_FLAGS_IN(); 4366 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4367 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4368 esp = esp + 4; /* 0x2B06B532: add esp, 4 */ 4369 _flag_k = FK_ADD; 4370 L_2B06B535: 4371 ecx = MEM32(ebp + (-0xC)); /* 0x2B06B535: mov ecx, dword ptr [ebp - 0xc] */ 4372 edi = POP32_VAL(esp); /* 0x2B06B538: pop edi */ 4373 eax = esi; /* 0x2B06B539: mov eax, esi */ 4374 esi = POP32_VAL(esp); /* 0x2B06B53B: pop esi */ 4375 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06B53C: mov dword ptr fs:[0], ecx */ 4376 esp = ebp; /* 0x2B06B543: mov esp, ebp */ 4377 ebp = POP32_VAL(esp); /* 0x2B06B545: pop ebp */ 4378 RECOMP_FLAGS_OUT(); esp += 36; { RECOMP_REGS_OUT(); return; } /* 0x2B06B546: ret 0x20 */ 4379 RECOMP_REGS_OUT(); 4380 } 4381 4382 void sub_2B06B3B5(void) { 4383 int _fpu_cmp = 0; 4384 uint32_t _cf = 0; 4385 int _df = 1; 4386 uint32_t _flag_k = FK_NONE; 4387 uint32_t _flag_a = 0, _flag_b = 0; 4388 uint32_t _itail_tgt = 0; 4389 RECOMP_REGS_LOCALS 4390 RECOMP_ENTER(0x2B06B3B5u); 4391 4392 L_2B06B3B5: 4393 ecx = MEM32(ebp + 0x20); /* 0x2B06B3B5: mov ecx, dword ptr [ebp + 0x20] */ 4394 eax = 1; /* 0x2B06B3B8: mov eax, 1 */ 4395 if (((LO8(ecx)) & 31)) _cf = ((((LO8(ecx)) & 31)) <= 32 ? (((eax) >> (32 - (((LO8(ecx)) & 31)))) & 1u) : 0u); /* 0x2B06B3BD: shl eax, cl */ 4396 if (((LO8(ecx)) & 31)) { _flag_a = recomp_flags_pack((eax << ((LO8(ecx)) & 31)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4397 eax = eax << ((LO8(ecx)) & 31); /* 0x2B06B3BD: shl eax, cl */ 4398 MEM32(ebp + 0x1C) = eax; /* 0x2B06B3BF: mov dword ptr [ebp + 0x1c], eax */ 4399 ecx = MEM32(ebp + 0x1C); /* 0x2B06B3C2: mov ecx, dword ptr [ebp + 0x1c] */ 4400 eax = edi; /* 0x2B06B3C5: mov eax, edi */ 4401 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B06B3C7: cdq */ 4402 { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2B06B3C8: idiv ecx */ 4403 if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); } 4404 else { eax = 0; edx = 0; } } 4405 MEM32(ebp + 0x1C) = eax; /* 0x2B06B3CA: mov dword ptr [ebp + 0x1c], eax */ 4406 eax = edi; /* 0x2B06B3CD: mov eax, edi */ 4407 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B06B3CF: cdq */ 4408 { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2B06B3D0: idiv ecx */ 4409 if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); } 4410 else { eax = 0; edx = 0; } } 4411 /* test edx, edx */ /* 0x2B06B3D2: test edx, edx */ 4412 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 4413 _cf = 0; 4414 _flag_k = FK_TEST; 4415 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B3D9; /* 0x2B06B3D4: je 0x2b06b3d9 */ 4416 L_2B06B3D6: 4417 _flag_a = (uint32_t)(MEM32(ebp + 0x1C)); _flag_b = (uint32_t)(1); 4418 MEM32(ebp + 0x1C) = MEM32(ebp + 0x1C) + 1; /* 0x2B06B3D6: inc dword ptr [ebp + 0x1c] */ 4419 _flag_k = FK_INC; 4420 L_2B06B3D9: 4421 PUSH32(esp, 0x20u); /* 0x2B06B3D9: push 0x20 */ 4422 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06B3DB: call 0x2b0ab212 */ /* not lifted */ 4423 RECOMP_FLAGS_IN(); 4424 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4425 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4426 esp = esp + 4; /* 0x2B06B3E0: add esp, 4 */ 4427 _flag_k = FK_ADD; 4428 MEM32(ebp + 0x24) = eax; /* 0x2B06B3E3: mov dword ptr [ebp + 0x24], eax */ 4429 /* test eax, eax */ /* 0x2B06B3E6: test eax, eax */ 4430 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4431 _cf = 0; 4432 _flag_k = FK_TEST; 4433 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B06B3E8: mov byte ptr [ebp - 4], 2 */ 4434 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B40D; /* 0x2B06B3EC: je 0x2b06b40d */ 4435 L_2B06B3EE: 4436 edx = MEM32(ebp + 0x20); /* 0x2B06B3EE: mov edx, dword ptr [ebp + 0x20] */ 4437 PUSH32(esp, 0); /* 0x2B06B3F1: push 0 */ 4438 PUSH32(esp, 0xFC4u); /* 0x2B06B3F3: push 0xfc4 */ 4439 ecx = esi + 0x8; /* 0x2B06B3F8: lea ecx, [esi + 8] */ 4440 PUSH32(esp, ecx); /* 0x2B06B3FB: push ecx */ 4441 ecx = MEM32(ebp + 0x1C); /* 0x2B06B3FC: mov ecx, dword ptr [ebp + 0x1c] */ 4442 PUSH32(esp, 1); /* 0x2B06B3FF: push 1 */ 4443 PUSH32(esp, ecx); /* 0x2B06B401: push ecx */ 4444 PUSH32(esp, edx); /* 0x2B06B402: push edx */ 4445 ecx = eax; /* 0x2B06B403: mov ecx, eax */ 4446 RECOMP_ICALL(MEM32(0x2B0B54A0)); /* 0x2B06B405: call dword ptr [0x2b0b54a0] */ 4447 RECOMP_FLAGS_IN(); 4448 goto L_2B06B40F; /* 0x2B06B40B: jmp 0x2b06b40f */ 4449 L_2B06B40D: 4450 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4451 eax = 0; /* 0x2B06B40D: xor eax, eax */ 4452 _cf = 0; 4453 _flag_k = FK_TEST; 4454 L_2B06B40F: 4455 ecx = ebp + (-0x14); /* 0x2B06B40F: lea ecx, [ebp - 0x14] */ 4456 PUSH32(esp, ecx); /* 0x2B06B412: push ecx */ 4457 ecx = eax; /* 0x2B06B413: mov ecx, eax */ 4458 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06B415: mov byte ptr [ebp - 4], 1 */ 4459 MEM32(esi + 0x4) = eax; /* 0x2B06B419: mov dword ptr [esi + 4], eax */ 4460 MEM32(ebp + (-0x14)) = edi; /* 0x2B06B41C: mov dword ptr [ebp - 0x14], edi */ 4461 MEM32(ebp + (-0x10)) = ebx; /* 0x2B06B41F: mov dword ptr [ebp - 0x10], ebx */ 4462 RECOMP_ICALL(MEM32(0x2B0B54A4)); /* 0x2B06B422: call dword ptr [0x2b0b54a4] */ 4463 RECOMP_FLAGS_IN(); 4464 edx = MEM32(esi + 0x4); /* 0x2B06B428: mov edx, dword ptr [esi + 4] */ 4465 edi = MEM32(edx + 0x10); /* 0x2B06B42B: mov edi, dword ptr [edx + 0x10] */ 4466 PUSH32(esp, 1); /* 0x2B06B42E: push 1 */ 4467 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4468 ebx = 0; /* 0x2B06B430: xor ebx, ebx */ 4469 _cf = 0; 4470 _flag_k = FK_TEST; 4471 PUSH32(esp, ebx); /* 0x2B06B432: push ebx */ 4472 PUSH32(esp, ebx); /* 0x2B06B433: push ebx */ 4473 ecx = edi; /* 0x2B06B434: mov ecx, edi */ 4474 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B06B436: call dword ptr [0x2b0b564c] */ 4475 RECOMP_FLAGS_IN(); 4476 PUSH32(esp, 0x38u); /* 0x2B06B43C: push 0x38 */ 4477 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06B43E: call 0x2b0ab212 */ /* not lifted */ 4478 RECOMP_FLAGS_IN(); 4479 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4480 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4481 esp = esp + 4; /* 0x2B06B443: add esp, 4 */ 4482 _flag_k = FK_ADD; 4483 MEM32(ebp + 0x1C) = eax; /* 0x2B06B446: mov dword ptr [ebp + 0x1c], eax */ 4484 /* cmp eax, ebx */ /* 0x2B06B449: cmp eax, ebx */ 4485 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 4486 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4487 _flag_k = FK_CMP; 4488 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B06B44B: mov byte ptr [ebp - 4], 3 */ 4489 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B462; /* 0x2B06B44F: je 0x2b06b462 */ 4490 L_2B06B451: 4491 ecx = MEM32(ebp + 0xC); /* 0x2B06B451: mov ecx, dword ptr [ebp + 0xc] */ 4492 PUSH32(esp, edi); /* 0x2B06B454: push edi */ 4493 PUSH32(esp, 2); /* 0x2B06B455: push 2 */ 4494 PUSH32(esp, ecx); /* 0x2B06B457: push ecx */ 4495 ecx = eax; /* 0x2B06B458: mov ecx, eax */ 4496 RECOMP_ICALL(MEM32(0x2B0B5BF0)); /* 0x2B06B45A: call dword ptr [0x2b0b5bf0] */ 4497 RECOMP_FLAGS_IN(); 4498 goto L_2B06B464; /* 0x2B06B460: jmp 0x2b06b464 */ 4499 L_2B06B462: 4500 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4501 eax = 0; /* 0x2B06B462: xor eax, eax */ 4502 _cf = 0; 4503 _flag_k = FK_TEST; 4504 L_2B06B464: 4505 edx = MEM32(ebp + 0x14); /* 0x2B06B464: mov edx, dword ptr [ebp + 0x14] */ 4506 PUSH32(esp, edx); /* 0x2B06B467: push edx */ 4507 PUSH32(esp, ebx); /* 0x2B06B468: push ebx */ 4508 ecx = ebp + (-0x28); /* 0x2B06B469: lea ecx, [ebp - 0x28] */ 4509 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06B46C: mov byte ptr [ebp - 4], 1 */ 4510 MEM32(esi) = eax; /* 0x2B06B470: mov dword ptr [esi], eax */ 4511 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06B472: call dword ptr [0x2b0b5a74] */ 4512 RECOMP_FLAGS_IN(); 4513 ecx = MEM32(esi); /* 0x2B06B478: mov ecx, dword ptr [esi] */ 4514 PUSH32(esp, ebx); /* 0x2B06B47A: push ebx */ 4515 PUSH32(esp, ebx); /* 0x2B06B47B: push ebx */ 4516 PUSH32(esp, ebx); /* 0x2B06B47C: push ebx */ 4517 PUSH32(esp, ebx); /* 0x2B06B47D: push ebx */ 4518 eax = ebp + (-0x28); /* 0x2B06B47E: lea eax, [ebp - 0x28] */ 4519 PUSH32(esp, eax); /* 0x2B06B481: push eax */ 4520 RECOMP_ICALL(MEM32(0x2B0B5B78)); /* 0x2B06B482: call dword ptr [0x2b0b5b78] */ 4521 RECOMP_FLAGS_IN(); 4522 ecx = MEM32(esi + 0x4); /* 0x2B06B488: mov ecx, dword ptr [esi + 4] */ 4523 RECOMP_ICALL(MEM32(0x2B0B54A8)); /* 0x2B06B48B: call dword ptr [0x2b0b54a8] */ 4524 RECOMP_FLAGS_IN(); 4525 ecx = MEM32(esi + 0x20); /* 0x2B06B491: mov ecx, dword ptr [esi + 0x20] */ 4526 MEM32(esi + 0x1C) = ecx; /* 0x2B06B494: mov dword ptr [esi + 0x1c], ecx */ 4527 edi = MEM32(ebp + (-0x18)); /* 0x2B06B497: mov edi, dword ptr [ebp - 0x18] */ 4528 /* cmp edi, ebx */ /* 0x2B06B49A: cmp edi, ebx */ 4529 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 4530 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4531 _flag_k = FK_CMP; 4532 MEM32(ebp + (-0x4)) = 4; /* 0x2B06B49C: mov dword ptr [ebp - 4], 4 */ 4533 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B4FF; /* 0x2B06B4A3: je 0x2b06b4ff */ 4534 L_2B06B4A5: 4535 edx = MEM32(edi + 0x2C); /* 0x2B06B4A5: mov edx, dword ptr [edi + 0x2c] */ 4536 eax = edi + 0x2C; /* 0x2B06B4A8: lea eax, [edi + 0x2c] */ 4537 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 4538 edx = edx - 1; /* 0x2B06B4AB: dec edx */ 4539 _flag_k = FK_DEC; 4540 ecx = edx; /* 0x2B06B4AC: mov ecx, edx */ 4541 /* cmp ecx, ebx */ /* 0x2B06B4AE: cmp ecx, ebx */ 4542 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 4543 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4544 _flag_k = FK_CMP; 4545 MEM32(eax) = edx; /* 0x2B06B4B0: mov dword ptr [eax], edx */ 4546 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06B4FF; /* 0x2B06B4B2: jne 0x2b06b4ff */ 4547 L_2B06B4B4: 4548 /* cmp edi, ebx */ /* 0x2B06B4B4: cmp edi, ebx */ 4549 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 4550 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4551 _flag_k = FK_CMP; 4552 MEM32(ebp + 0xC) = edi; /* 0x2B06B4B6: mov dword ptr [ebp + 0xc], edi */ 4553 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B4FF; /* 0x2B06B4B9: je 0x2b06b4ff */ 4554 L_2B06B4BB: 4555 PUSH32(esp, 1); /* 0x2B06B4BB: push 1 */ 4556 ecx = edi + 0x1C; /* 0x2B06B4BD: lea ecx, [edi + 0x1c] */ 4557 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B06B4C0: mov byte ptr [ebp - 4], 5 */ 4558 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B06B4C4: call dword ptr [0x2b0b514c] */ 4559 RECOMP_FLAGS_IN(); 4560 eax = MEM32(edi + 0x10); /* 0x2B06B4CA: mov eax, dword ptr [edi + 0x10] */ 4561 /* cmp eax, ebx */ /* 0x2B06B4CD: cmp eax, ebx */ 4562 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 4563 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4564 _flag_k = FK_CMP; 4565 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B4ED; /* 0x2B06B4CF: je 0x2b06b4ed */ 4566 L_2B06B4D1: 4567 ecx = eax + (-0x1); /* 0x2B06B4D1: lea ecx, [eax - 1] */ 4568 SET_LO8(eax, MEM8(ecx)); /* 0x2B06B4D4: mov al, byte ptr [ecx] */ 4569 /* test LO8(eax), LO8(eax) */ /* 0x2B06B4D6: test al, al */ 4570 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4571 _cf = 0; 4572 _flag_k = FK_NARROW(FK_TEST, 24); 4573 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B4E4; /* 0x2B06B4D8: je 0x2b06b4e4 */ 4574 L_2B06B4DA: 4575 /* cmp LO8(eax), 0xFFu */ /* 0x2B06B4DA: cmp al, 0xff */ 4576 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 4577 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4578 _flag_k = FK_NARROW(FK_CMP, 24); 4579 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B4E4; /* 0x2B06B4DC: je 0x2b06b4e4 */ 4580 L_2B06B4DE: 4581 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4582 SET_LO8(eax, LO8(eax) - 1); /* 0x2B06B4DE: dec al */ 4583 _flag_k = FK_NARROW(FK_DEC, 24); 4584 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B06B4E0: mov byte ptr [ecx], al */ 4585 goto L_2B06B4ED; /* 0x2B06B4E2: jmp 0x2b06b4ed */ 4586 L_2B06B4E4: 4587 PUSH32(esp, ecx); /* 0x2B06B4E4: push ecx */ 4588 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06B4E5: call 0x2b0ab1ba */ /* not lifted */ 4589 RECOMP_FLAGS_IN(); 4590 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4591 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4592 esp = esp + 4; /* 0x2B06B4EA: add esp, 4 */ 4593 _flag_k = FK_ADD; 4594 L_2B06B4ED: 4595 PUSH32(esp, edi); /* 0x2B06B4ED: push edi */ 4596 MEM32(edi + 0x10) = ebx; /* 0x2B06B4EE: mov dword ptr [edi + 0x10], ebx */ 4597 MEM32(edi + 0x14) = ebx; /* 0x2B06B4F1: mov dword ptr [edi + 0x14], ebx */ 4598 MEM32(edi + 0x18) = ebx; /* 0x2B06B4F4: mov dword ptr [edi + 0x18], ebx */ 4599 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06B4F7: call 0x2b0ab1ba */ /* not lifted */ 4600 RECOMP_FLAGS_IN(); 4601 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4602 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4603 esp = esp + 4; /* 0x2B06B4FC: add esp, 4 */ 4604 _flag_k = FK_ADD; 4605 L_2B06B4FF: 4606 ecx = MEM32(ebp + (-0x24)); /* 0x2B06B4FF: mov ecx, dword ptr [ebp - 0x24] */ 4607 /* cmp ecx, ebx */ /* 0x2B06B502: cmp ecx, ebx */ 4608 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 4609 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4610 _flag_k = FK_CMP; 4611 ebx = POP32_VAL(esp); /* 0x2B06B504: pop ebx */ 4612 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B535; /* 0x2B06B505: je 0x2b06b535 */ 4613 L_2B06B507: 4614 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B06B507: mov al, byte ptr [ecx - 1] */ 4615 /* test LO8(eax), LO8(eax) */ /* 0x2B06B50A: test al, al */ 4616 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4617 _cf = 0; 4618 _flag_k = FK_NARROW(FK_TEST, 24); 4619 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B52B; /* 0x2B06B50C: je 0x2b06b52b */ 4620 L_2B06B50E: 4621 /* cmp LO8(eax), 0xFFu */ /* 0x2B06B50E: cmp al, 0xff */ 4622 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 4623 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4624 _flag_k = FK_NARROW(FK_CMP, 24); 4625 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B52B; /* 0x2B06B510: je 0x2b06b52b */ 4626 L_2B06B512: 4627 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4628 SET_LO8(eax, LO8(eax) - 1); /* 0x2B06B512: dec al */ 4629 _flag_k = FK_NARROW(FK_DEC, 24); 4630 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B06B514: mov byte ptr [ecx - 1], al */ 4631 edi = POP32_VAL(esp); /* 0x2B06B517: pop edi */ 4632 eax = esi; /* 0x2B06B518: mov eax, esi */ 4633 esi = POP32_VAL(esp); /* 0x2B06B51A: pop esi */ 4634 ecx = MEM32(ebp + (-0xC)); /* 0x2B06B51B: mov ecx, dword ptr [ebp - 0xc] */ 4635 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06B51E: mov dword ptr fs:[0], ecx */ 4636 esp = ebp; /* 0x2B06B525: mov esp, ebp */ 4637 ebp = POP32_VAL(esp); /* 0x2B06B527: pop ebp */ 4638 RECOMP_FLAGS_OUT(); esp += 36; { RECOMP_REGS_OUT(); return; } /* 0x2B06B528: ret 0x20 */ 4639 L_2B06B52B: 4640 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 4641 ecx = ecx - 1; /* 0x2B06B52B: dec ecx */ 4642 _flag_k = FK_DEC; 4643 PUSH32(esp, ecx); /* 0x2B06B52C: push ecx */ 4644 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06B52D: call 0x2b0ab1ba */ /* not lifted */ 4645 RECOMP_FLAGS_IN(); 4646 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4647 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4648 esp = esp + 4; /* 0x2B06B532: add esp, 4 */ 4649 _flag_k = FK_ADD; 4650 L_2B06B535: 4651 ecx = MEM32(ebp + (-0xC)); /* 0x2B06B535: mov ecx, dword ptr [ebp - 0xc] */ 4652 edi = POP32_VAL(esp); /* 0x2B06B538: pop edi */ 4653 eax = esi; /* 0x2B06B539: mov eax, esi */ 4654 esi = POP32_VAL(esp); /* 0x2B06B53B: pop esi */ 4655 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06B53C: mov dword ptr fs:[0], ecx */ 4656 esp = ebp; /* 0x2B06B543: mov esp, ebp */ 4657 ebp = POP32_VAL(esp); /* 0x2B06B545: pop ebp */ 4658 RECOMP_FLAGS_OUT(); esp += 36; { RECOMP_REGS_OUT(); return; } /* 0x2B06B546: ret 0x20 */ 4659 RECOMP_REGS_OUT(); 4660 } 4661 4662 void sub_2B06B40F(void) { 4663 int _fpu_cmp = 0; 4664 uint32_t _cf = 0; 4665 int _df = 1; 4666 uint32_t _flag_k = FK_NONE; 4667 uint32_t _flag_a = 0, _flag_b = 0; 4668 uint32_t _itail_tgt = 0; 4669 RECOMP_REGS_LOCALS 4670 RECOMP_ENTER(0x2B06B40Fu); 4671 4672 L_2B06B40F: 4673 ecx = ebp + (-0x14); /* 0x2B06B40F: lea ecx, [ebp - 0x14] */ 4674 PUSH32(esp, ecx); /* 0x2B06B412: push ecx */ 4675 ecx = eax; /* 0x2B06B413: mov ecx, eax */ 4676 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06B415: mov byte ptr [ebp - 4], 1 */ 4677 MEM32(esi + 0x4) = eax; /* 0x2B06B419: mov dword ptr [esi + 4], eax */ 4678 MEM32(ebp + (-0x14)) = edi; /* 0x2B06B41C: mov dword ptr [ebp - 0x14], edi */ 4679 MEM32(ebp + (-0x10)) = ebx; /* 0x2B06B41F: mov dword ptr [ebp - 0x10], ebx */ 4680 RECOMP_ICALL(MEM32(0x2B0B54A4)); /* 0x2B06B422: call dword ptr [0x2b0b54a4] */ 4681 RECOMP_FLAGS_IN(); 4682 edx = MEM32(esi + 0x4); /* 0x2B06B428: mov edx, dword ptr [esi + 4] */ 4683 edi = MEM32(edx + 0x10); /* 0x2B06B42B: mov edi, dword ptr [edx + 0x10] */ 4684 PUSH32(esp, 1); /* 0x2B06B42E: push 1 */ 4685 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4686 ebx = 0; /* 0x2B06B430: xor ebx, ebx */ 4687 _cf = 0; 4688 _flag_k = FK_TEST; 4689 PUSH32(esp, ebx); /* 0x2B06B432: push ebx */ 4690 PUSH32(esp, ebx); /* 0x2B06B433: push ebx */ 4691 ecx = edi; /* 0x2B06B434: mov ecx, edi */ 4692 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B06B436: call dword ptr [0x2b0b564c] */ 4693 RECOMP_FLAGS_IN(); 4694 PUSH32(esp, 0x38u); /* 0x2B06B43C: push 0x38 */ 4695 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06B43E: call 0x2b0ab212 */ /* not lifted */ 4696 RECOMP_FLAGS_IN(); 4697 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4698 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4699 esp = esp + 4; /* 0x2B06B443: add esp, 4 */ 4700 _flag_k = FK_ADD; 4701 MEM32(ebp + 0x1C) = eax; /* 0x2B06B446: mov dword ptr [ebp + 0x1c], eax */ 4702 /* cmp eax, ebx */ /* 0x2B06B449: cmp eax, ebx */ 4703 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 4704 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4705 _flag_k = FK_CMP; 4706 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B06B44B: mov byte ptr [ebp - 4], 3 */ 4707 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B462; /* 0x2B06B44F: je 0x2b06b462 */ 4708 L_2B06B451: 4709 ecx = MEM32(ebp + 0xC); /* 0x2B06B451: mov ecx, dword ptr [ebp + 0xc] */ 4710 PUSH32(esp, edi); /* 0x2B06B454: push edi */ 4711 PUSH32(esp, 2); /* 0x2B06B455: push 2 */ 4712 PUSH32(esp, ecx); /* 0x2B06B457: push ecx */ 4713 ecx = eax; /* 0x2B06B458: mov ecx, eax */ 4714 RECOMP_ICALL(MEM32(0x2B0B5BF0)); /* 0x2B06B45A: call dword ptr [0x2b0b5bf0] */ 4715 RECOMP_FLAGS_IN(); 4716 goto L_2B06B464; /* 0x2B06B460: jmp 0x2b06b464 */ 4717 L_2B06B462: 4718 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4719 eax = 0; /* 0x2B06B462: xor eax, eax */ 4720 _cf = 0; 4721 _flag_k = FK_TEST; 4722 L_2B06B464: 4723 edx = MEM32(ebp + 0x14); /* 0x2B06B464: mov edx, dword ptr [ebp + 0x14] */ 4724 PUSH32(esp, edx); /* 0x2B06B467: push edx */ 4725 PUSH32(esp, ebx); /* 0x2B06B468: push ebx */ 4726 ecx = ebp + (-0x28); /* 0x2B06B469: lea ecx, [ebp - 0x28] */ 4727 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06B46C: mov byte ptr [ebp - 4], 1 */ 4728 MEM32(esi) = eax; /* 0x2B06B470: mov dword ptr [esi], eax */ 4729 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06B472: call dword ptr [0x2b0b5a74] */ 4730 RECOMP_FLAGS_IN(); 4731 ecx = MEM32(esi); /* 0x2B06B478: mov ecx, dword ptr [esi] */ 4732 PUSH32(esp, ebx); /* 0x2B06B47A: push ebx */ 4733 PUSH32(esp, ebx); /* 0x2B06B47B: push ebx */ 4734 PUSH32(esp, ebx); /* 0x2B06B47C: push ebx */ 4735 PUSH32(esp, ebx); /* 0x2B06B47D: push ebx */ 4736 eax = ebp + (-0x28); /* 0x2B06B47E: lea eax, [ebp - 0x28] */ 4737 PUSH32(esp, eax); /* 0x2B06B481: push eax */ 4738 RECOMP_ICALL(MEM32(0x2B0B5B78)); /* 0x2B06B482: call dword ptr [0x2b0b5b78] */ 4739 RECOMP_FLAGS_IN(); 4740 ecx = MEM32(esi + 0x4); /* 0x2B06B488: mov ecx, dword ptr [esi + 4] */ 4741 RECOMP_ICALL(MEM32(0x2B0B54A8)); /* 0x2B06B48B: call dword ptr [0x2b0b54a8] */ 4742 RECOMP_FLAGS_IN(); 4743 ecx = MEM32(esi + 0x20); /* 0x2B06B491: mov ecx, dword ptr [esi + 0x20] */ 4744 MEM32(esi + 0x1C) = ecx; /* 0x2B06B494: mov dword ptr [esi + 0x1c], ecx */ 4745 edi = MEM32(ebp + (-0x18)); /* 0x2B06B497: mov edi, dword ptr [ebp - 0x18] */ 4746 /* cmp edi, ebx */ /* 0x2B06B49A: cmp edi, ebx */ 4747 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 4748 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4749 _flag_k = FK_CMP; 4750 MEM32(ebp + (-0x4)) = 4; /* 0x2B06B49C: mov dword ptr [ebp - 4], 4 */ 4751 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B4FF; /* 0x2B06B4A3: je 0x2b06b4ff */ 4752 L_2B06B4A5: 4753 edx = MEM32(edi + 0x2C); /* 0x2B06B4A5: mov edx, dword ptr [edi + 0x2c] */ 4754 eax = edi + 0x2C; /* 0x2B06B4A8: lea eax, [edi + 0x2c] */ 4755 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 4756 edx = edx - 1; /* 0x2B06B4AB: dec edx */ 4757 _flag_k = FK_DEC; 4758 ecx = edx; /* 0x2B06B4AC: mov ecx, edx */ 4759 /* cmp ecx, ebx */ /* 0x2B06B4AE: cmp ecx, ebx */ 4760 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 4761 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4762 _flag_k = FK_CMP; 4763 MEM32(eax) = edx; /* 0x2B06B4B0: mov dword ptr [eax], edx */ 4764 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06B4FF; /* 0x2B06B4B2: jne 0x2b06b4ff */ 4765 L_2B06B4B4: 4766 /* cmp edi, ebx */ /* 0x2B06B4B4: cmp edi, ebx */ 4767 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 4768 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4769 _flag_k = FK_CMP; 4770 MEM32(ebp + 0xC) = edi; /* 0x2B06B4B6: mov dword ptr [ebp + 0xc], edi */ 4771 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B4FF; /* 0x2B06B4B9: je 0x2b06b4ff */ 4772 L_2B06B4BB: 4773 PUSH32(esp, 1); /* 0x2B06B4BB: push 1 */ 4774 ecx = edi + 0x1C; /* 0x2B06B4BD: lea ecx, [edi + 0x1c] */ 4775 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B06B4C0: mov byte ptr [ebp - 4], 5 */ 4776 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B06B4C4: call dword ptr [0x2b0b514c] */ 4777 RECOMP_FLAGS_IN(); 4778 eax = MEM32(edi + 0x10); /* 0x2B06B4CA: mov eax, dword ptr [edi + 0x10] */ 4779 /* cmp eax, ebx */ /* 0x2B06B4CD: cmp eax, ebx */ 4780 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 4781 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4782 _flag_k = FK_CMP; 4783 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B4ED; /* 0x2B06B4CF: je 0x2b06b4ed */ 4784 L_2B06B4D1: 4785 ecx = eax + (-0x1); /* 0x2B06B4D1: lea ecx, [eax - 1] */ 4786 SET_LO8(eax, MEM8(ecx)); /* 0x2B06B4D4: mov al, byte ptr [ecx] */ 4787 /* test LO8(eax), LO8(eax) */ /* 0x2B06B4D6: test al, al */ 4788 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4789 _cf = 0; 4790 _flag_k = FK_NARROW(FK_TEST, 24); 4791 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B4E4; /* 0x2B06B4D8: je 0x2b06b4e4 */ 4792 L_2B06B4DA: 4793 /* cmp LO8(eax), 0xFFu */ /* 0x2B06B4DA: cmp al, 0xff */ 4794 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 4795 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4796 _flag_k = FK_NARROW(FK_CMP, 24); 4797 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B4E4; /* 0x2B06B4DC: je 0x2b06b4e4 */ 4798 L_2B06B4DE: 4799 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4800 SET_LO8(eax, LO8(eax) - 1); /* 0x2B06B4DE: dec al */ 4801 _flag_k = FK_NARROW(FK_DEC, 24); 4802 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B06B4E0: mov byte ptr [ecx], al */ 4803 goto L_2B06B4ED; /* 0x2B06B4E2: jmp 0x2b06b4ed */ 4804 L_2B06B4E4: 4805 PUSH32(esp, ecx); /* 0x2B06B4E4: push ecx */ 4806 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06B4E5: call 0x2b0ab1ba */ /* not lifted */ 4807 RECOMP_FLAGS_IN(); 4808 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4809 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4810 esp = esp + 4; /* 0x2B06B4EA: add esp, 4 */ 4811 _flag_k = FK_ADD; 4812 L_2B06B4ED: 4813 PUSH32(esp, edi); /* 0x2B06B4ED: push edi */ 4814 MEM32(edi + 0x10) = ebx; /* 0x2B06B4EE: mov dword ptr [edi + 0x10], ebx */ 4815 MEM32(edi + 0x14) = ebx; /* 0x2B06B4F1: mov dword ptr [edi + 0x14], ebx */ 4816 MEM32(edi + 0x18) = ebx; /* 0x2B06B4F4: mov dword ptr [edi + 0x18], ebx */ 4817 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06B4F7: call 0x2b0ab1ba */ /* not lifted */ 4818 RECOMP_FLAGS_IN(); 4819 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4820 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4821 esp = esp + 4; /* 0x2B06B4FC: add esp, 4 */ 4822 _flag_k = FK_ADD; 4823 L_2B06B4FF: 4824 ecx = MEM32(ebp + (-0x24)); /* 0x2B06B4FF: mov ecx, dword ptr [ebp - 0x24] */ 4825 /* cmp ecx, ebx */ /* 0x2B06B502: cmp ecx, ebx */ 4826 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 4827 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4828 _flag_k = FK_CMP; 4829 ebx = POP32_VAL(esp); /* 0x2B06B504: pop ebx */ 4830 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B535; /* 0x2B06B505: je 0x2b06b535 */ 4831 L_2B06B507: 4832 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B06B507: mov al, byte ptr [ecx - 1] */ 4833 /* test LO8(eax), LO8(eax) */ /* 0x2B06B50A: test al, al */ 4834 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4835 _cf = 0; 4836 _flag_k = FK_NARROW(FK_TEST, 24); 4837 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B52B; /* 0x2B06B50C: je 0x2b06b52b */ 4838 L_2B06B50E: 4839 /* cmp LO8(eax), 0xFFu */ /* 0x2B06B50E: cmp al, 0xff */ 4840 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 4841 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4842 _flag_k = FK_NARROW(FK_CMP, 24); 4843 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B52B; /* 0x2B06B510: je 0x2b06b52b */ 4844 L_2B06B512: 4845 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4846 SET_LO8(eax, LO8(eax) - 1); /* 0x2B06B512: dec al */ 4847 _flag_k = FK_NARROW(FK_DEC, 24); 4848 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B06B514: mov byte ptr [ecx - 1], al */ 4849 edi = POP32_VAL(esp); /* 0x2B06B517: pop edi */ 4850 eax = esi; /* 0x2B06B518: mov eax, esi */ 4851 esi = POP32_VAL(esp); /* 0x2B06B51A: pop esi */ 4852 ecx = MEM32(ebp + (-0xC)); /* 0x2B06B51B: mov ecx, dword ptr [ebp - 0xc] */ 4853 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06B51E: mov dword ptr fs:[0], ecx */ 4854 esp = ebp; /* 0x2B06B525: mov esp, ebp */ 4855 ebp = POP32_VAL(esp); /* 0x2B06B527: pop ebp */ 4856 RECOMP_FLAGS_OUT(); esp += 36; { RECOMP_REGS_OUT(); return; } /* 0x2B06B528: ret 0x20 */ 4857 L_2B06B52B: 4858 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 4859 ecx = ecx - 1; /* 0x2B06B52B: dec ecx */ 4860 _flag_k = FK_DEC; 4861 PUSH32(esp, ecx); /* 0x2B06B52C: push ecx */ 4862 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06B52D: call 0x2b0ab1ba */ /* not lifted */ 4863 RECOMP_FLAGS_IN(); 4864 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4865 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4866 esp = esp + 4; /* 0x2B06B532: add esp, 4 */ 4867 _flag_k = FK_ADD; 4868 L_2B06B535: 4869 ecx = MEM32(ebp + (-0xC)); /* 0x2B06B535: mov ecx, dword ptr [ebp - 0xc] */ 4870 edi = POP32_VAL(esp); /* 0x2B06B538: pop edi */ 4871 eax = esi; /* 0x2B06B539: mov eax, esi */ 4872 esi = POP32_VAL(esp); /* 0x2B06B53B: pop esi */ 4873 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06B53C: mov dword ptr fs:[0], ecx */ 4874 esp = ebp; /* 0x2B06B543: mov esp, ebp */ 4875 ebp = POP32_VAL(esp); /* 0x2B06B545: pop ebp */ 4876 RECOMP_FLAGS_OUT(); esp += 36; { RECOMP_REGS_OUT(); return; } /* 0x2B06B546: ret 0x20 */ 4877 RECOMP_REGS_OUT(); 4878 } 4879 4880 void sub_2B06B464(void) { 4881 int _fpu_cmp = 0; 4882 uint32_t _cf = 0; 4883 int _df = 1; 4884 uint32_t _flag_k = FK_NONE; 4885 uint32_t _flag_a = 0, _flag_b = 0; 4886 uint32_t _itail_tgt = 0; 4887 RECOMP_REGS_LOCALS 4888 RECOMP_ENTER(0x2B06B464u); 4889 4890 L_2B06B464: 4891 edx = MEM32(ebp + 0x14); /* 0x2B06B464: mov edx, dword ptr [ebp + 0x14] */ 4892 PUSH32(esp, edx); /* 0x2B06B467: push edx */ 4893 PUSH32(esp, ebx); /* 0x2B06B468: push ebx */ 4894 ecx = ebp + (-0x28); /* 0x2B06B469: lea ecx, [ebp - 0x28] */ 4895 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06B46C: mov byte ptr [ebp - 4], 1 */ 4896 MEM32(esi) = eax; /* 0x2B06B470: mov dword ptr [esi], eax */ 4897 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06B472: call dword ptr [0x2b0b5a74] */ 4898 RECOMP_FLAGS_IN(); 4899 ecx = MEM32(esi); /* 0x2B06B478: mov ecx, dword ptr [esi] */ 4900 PUSH32(esp, ebx); /* 0x2B06B47A: push ebx */ 4901 PUSH32(esp, ebx); /* 0x2B06B47B: push ebx */ 4902 PUSH32(esp, ebx); /* 0x2B06B47C: push ebx */ 4903 PUSH32(esp, ebx); /* 0x2B06B47D: push ebx */ 4904 eax = ebp + (-0x28); /* 0x2B06B47E: lea eax, [ebp - 0x28] */ 4905 PUSH32(esp, eax); /* 0x2B06B481: push eax */ 4906 RECOMP_ICALL(MEM32(0x2B0B5B78)); /* 0x2B06B482: call dword ptr [0x2b0b5b78] */ 4907 RECOMP_FLAGS_IN(); 4908 ecx = MEM32(esi + 0x4); /* 0x2B06B488: mov ecx, dword ptr [esi + 4] */ 4909 RECOMP_ICALL(MEM32(0x2B0B54A8)); /* 0x2B06B48B: call dword ptr [0x2b0b54a8] */ 4910 RECOMP_FLAGS_IN(); 4911 ecx = MEM32(esi + 0x20); /* 0x2B06B491: mov ecx, dword ptr [esi + 0x20] */ 4912 MEM32(esi + 0x1C) = ecx; /* 0x2B06B494: mov dword ptr [esi + 0x1c], ecx */ 4913 edi = MEM32(ebp + (-0x18)); /* 0x2B06B497: mov edi, dword ptr [ebp - 0x18] */ 4914 /* cmp edi, ebx */ /* 0x2B06B49A: cmp edi, ebx */ 4915 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 4916 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4917 _flag_k = FK_CMP; 4918 MEM32(ebp + (-0x4)) = 4; /* 0x2B06B49C: mov dword ptr [ebp - 4], 4 */ 4919 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B4FF; /* 0x2B06B4A3: je 0x2b06b4ff */ 4920 L_2B06B4A5: 4921 edx = MEM32(edi + 0x2C); /* 0x2B06B4A5: mov edx, dword ptr [edi + 0x2c] */ 4922 eax = edi + 0x2C; /* 0x2B06B4A8: lea eax, [edi + 0x2c] */ 4923 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 4924 edx = edx - 1; /* 0x2B06B4AB: dec edx */ 4925 _flag_k = FK_DEC; 4926 ecx = edx; /* 0x2B06B4AC: mov ecx, edx */ 4927 /* cmp ecx, ebx */ /* 0x2B06B4AE: cmp ecx, ebx */ 4928 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 4929 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4930 _flag_k = FK_CMP; 4931 MEM32(eax) = edx; /* 0x2B06B4B0: mov dword ptr [eax], edx */ 4932 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06B4FF; /* 0x2B06B4B2: jne 0x2b06b4ff */ 4933 L_2B06B4B4: 4934 /* cmp edi, ebx */ /* 0x2B06B4B4: cmp edi, ebx */ 4935 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 4936 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4937 _flag_k = FK_CMP; 4938 MEM32(ebp + 0xC) = edi; /* 0x2B06B4B6: mov dword ptr [ebp + 0xc], edi */ 4939 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B4FF; /* 0x2B06B4B9: je 0x2b06b4ff */ 4940 L_2B06B4BB: 4941 PUSH32(esp, 1); /* 0x2B06B4BB: push 1 */ 4942 ecx = edi + 0x1C; /* 0x2B06B4BD: lea ecx, [edi + 0x1c] */ 4943 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B06B4C0: mov byte ptr [ebp - 4], 5 */ 4944 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B06B4C4: call dword ptr [0x2b0b514c] */ 4945 RECOMP_FLAGS_IN(); 4946 eax = MEM32(edi + 0x10); /* 0x2B06B4CA: mov eax, dword ptr [edi + 0x10] */ 4947 /* cmp eax, ebx */ /* 0x2B06B4CD: cmp eax, ebx */ 4948 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 4949 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4950 _flag_k = FK_CMP; 4951 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B4ED; /* 0x2B06B4CF: je 0x2b06b4ed */ 4952 L_2B06B4D1: 4953 ecx = eax + (-0x1); /* 0x2B06B4D1: lea ecx, [eax - 1] */ 4954 SET_LO8(eax, MEM8(ecx)); /* 0x2B06B4D4: mov al, byte ptr [ecx] */ 4955 /* test LO8(eax), LO8(eax) */ /* 0x2B06B4D6: test al, al */ 4956 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4957 _cf = 0; 4958 _flag_k = FK_NARROW(FK_TEST, 24); 4959 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B4E4; /* 0x2B06B4D8: je 0x2b06b4e4 */ 4960 L_2B06B4DA: 4961 /* cmp LO8(eax), 0xFFu */ /* 0x2B06B4DA: cmp al, 0xff */ 4962 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 4963 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4964 _flag_k = FK_NARROW(FK_CMP, 24); 4965 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B4E4; /* 0x2B06B4DC: je 0x2b06b4e4 */ 4966 L_2B06B4DE: 4967 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4968 SET_LO8(eax, LO8(eax) - 1); /* 0x2B06B4DE: dec al */ 4969 _flag_k = FK_NARROW(FK_DEC, 24); 4970 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B06B4E0: mov byte ptr [ecx], al */ 4971 goto L_2B06B4ED; /* 0x2B06B4E2: jmp 0x2b06b4ed */ 4972 L_2B06B4E4: 4973 PUSH32(esp, ecx); /* 0x2B06B4E4: push ecx */ 4974 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06B4E5: call 0x2b0ab1ba */ /* not lifted */ 4975 RECOMP_FLAGS_IN(); 4976 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4977 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4978 esp = esp + 4; /* 0x2B06B4EA: add esp, 4 */ 4979 _flag_k = FK_ADD; 4980 L_2B06B4ED: 4981 PUSH32(esp, edi); /* 0x2B06B4ED: push edi */ 4982 MEM32(edi + 0x10) = ebx; /* 0x2B06B4EE: mov dword ptr [edi + 0x10], ebx */ 4983 MEM32(edi + 0x14) = ebx; /* 0x2B06B4F1: mov dword ptr [edi + 0x14], ebx */ 4984 MEM32(edi + 0x18) = ebx; /* 0x2B06B4F4: mov dword ptr [edi + 0x18], ebx */ 4985 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06B4F7: call 0x2b0ab1ba */ /* not lifted */ 4986 RECOMP_FLAGS_IN(); 4987 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4988 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4989 esp = esp + 4; /* 0x2B06B4FC: add esp, 4 */ 4990 _flag_k = FK_ADD; 4991 L_2B06B4FF: 4992 ecx = MEM32(ebp + (-0x24)); /* 0x2B06B4FF: mov ecx, dword ptr [ebp - 0x24] */ 4993 /* cmp ecx, ebx */ /* 0x2B06B502: cmp ecx, ebx */ 4994 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 4995 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4996 _flag_k = FK_CMP; 4997 ebx = POP32_VAL(esp); /* 0x2B06B504: pop ebx */ 4998 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B535; /* 0x2B06B505: je 0x2b06b535 */ 4999 L_2B06B507: 5000 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B06B507: mov al, byte ptr [ecx - 1] */ 5001 /* test LO8(eax), LO8(eax) */ /* 0x2B06B50A: test al, al */ 5002 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5003 _cf = 0; 5004 _flag_k = FK_NARROW(FK_TEST, 24); 5005 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B52B; /* 0x2B06B50C: je 0x2b06b52b */ 5006 L_2B06B50E: 5007 /* cmp LO8(eax), 0xFFu */ /* 0x2B06B50E: cmp al, 0xff */ 5008 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 5009 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5010 _flag_k = FK_NARROW(FK_CMP, 24); 5011 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B52B; /* 0x2B06B510: je 0x2b06b52b */ 5012 L_2B06B512: 5013 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 5014 SET_LO8(eax, LO8(eax) - 1); /* 0x2B06B512: dec al */ 5015 _flag_k = FK_NARROW(FK_DEC, 24); 5016 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B06B514: mov byte ptr [ecx - 1], al */ 5017 edi = POP32_VAL(esp); /* 0x2B06B517: pop edi */ 5018 eax = esi; /* 0x2B06B518: mov eax, esi */ 5019 esi = POP32_VAL(esp); /* 0x2B06B51A: pop esi */ 5020 ecx = MEM32(ebp + (-0xC)); /* 0x2B06B51B: mov ecx, dword ptr [ebp - 0xc] */ 5021 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06B51E: mov dword ptr fs:[0], ecx */ 5022 esp = ebp; /* 0x2B06B525: mov esp, ebp */ 5023 ebp = POP32_VAL(esp); /* 0x2B06B527: pop ebp */ 5024 RECOMP_FLAGS_OUT(); esp += 36; { RECOMP_REGS_OUT(); return; } /* 0x2B06B528: ret 0x20 */ 5025 L_2B06B52B: 5026 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 5027 ecx = ecx - 1; /* 0x2B06B52B: dec ecx */ 5028 _flag_k = FK_DEC; 5029 PUSH32(esp, ecx); /* 0x2B06B52C: push ecx */ 5030 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06B52D: call 0x2b0ab1ba */ /* not lifted */ 5031 RECOMP_FLAGS_IN(); 5032 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5033 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5034 esp = esp + 4; /* 0x2B06B532: add esp, 4 */ 5035 _flag_k = FK_ADD; 5036 L_2B06B535: 5037 ecx = MEM32(ebp + (-0xC)); /* 0x2B06B535: mov ecx, dword ptr [ebp - 0xc] */ 5038 edi = POP32_VAL(esp); /* 0x2B06B538: pop edi */ 5039 eax = esi; /* 0x2B06B539: mov eax, esi */ 5040 esi = POP32_VAL(esp); /* 0x2B06B53B: pop esi */ 5041 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06B53C: mov dword ptr fs:[0], ecx */ 5042 esp = ebp; /* 0x2B06B543: mov esp, ebp */ 5043 ebp = POP32_VAL(esp); /* 0x2B06B545: pop ebp */ 5044 RECOMP_FLAGS_OUT(); esp += 36; { RECOMP_REGS_OUT(); return; } /* 0x2B06B546: ret 0x20 */ 5045 RECOMP_REGS_OUT(); 5046 } 5047 5048 void sub_2B06B4ED(void) { 5049 int _fpu_cmp = 0; 5050 uint32_t _cf = 0; 5051 int _df = 1; 5052 uint32_t _flag_k = FK_NONE; 5053 uint32_t _flag_a = 0, _flag_b = 0; 5054 uint32_t _itail_tgt = 0; 5055 RECOMP_REGS_LOCALS 5056 RECOMP_ENTER(0x2B06B4EDu); 5057 5058 L_2B06B4ED: 5059 PUSH32(esp, edi); /* 0x2B06B4ED: push edi */ 5060 MEM32(edi + 0x10) = ebx; /* 0x2B06B4EE: mov dword ptr [edi + 0x10], ebx */ 5061 MEM32(edi + 0x14) = ebx; /* 0x2B06B4F1: mov dword ptr [edi + 0x14], ebx */ 5062 MEM32(edi + 0x18) = ebx; /* 0x2B06B4F4: mov dword ptr [edi + 0x18], ebx */ 5063 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06B4F7: call 0x2b0ab1ba */ /* not lifted */ 5064 RECOMP_FLAGS_IN(); 5065 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5066 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5067 esp = esp + 4; /* 0x2B06B4FC: add esp, 4 */ 5068 _flag_k = FK_ADD; 5069 ecx = MEM32(ebp + (-0x24)); /* 0x2B06B4FF: mov ecx, dword ptr [ebp - 0x24] */ 5070 /* cmp ecx, ebx */ /* 0x2B06B502: cmp ecx, ebx */ 5071 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 5072 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5073 _flag_k = FK_CMP; 5074 ebx = POP32_VAL(esp); /* 0x2B06B504: pop ebx */ 5075 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B535; /* 0x2B06B505: je 0x2b06b535 */ 5076 L_2B06B507: 5077 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B06B507: mov al, byte ptr [ecx - 1] */ 5078 /* test LO8(eax), LO8(eax) */ /* 0x2B06B50A: test al, al */ 5079 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5080 _cf = 0; 5081 _flag_k = FK_NARROW(FK_TEST, 24); 5082 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B52B; /* 0x2B06B50C: je 0x2b06b52b */ 5083 L_2B06B50E: 5084 /* cmp LO8(eax), 0xFFu */ /* 0x2B06B50E: cmp al, 0xff */ 5085 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 5086 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5087 _flag_k = FK_NARROW(FK_CMP, 24); 5088 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B52B; /* 0x2B06B510: je 0x2b06b52b */ 5089 L_2B06B512: 5090 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 5091 SET_LO8(eax, LO8(eax) - 1); /* 0x2B06B512: dec al */ 5092 _flag_k = FK_NARROW(FK_DEC, 24); 5093 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B06B514: mov byte ptr [ecx - 1], al */ 5094 edi = POP32_VAL(esp); /* 0x2B06B517: pop edi */ 5095 eax = esi; /* 0x2B06B518: mov eax, esi */ 5096 esi = POP32_VAL(esp); /* 0x2B06B51A: pop esi */ 5097 ecx = MEM32(ebp + (-0xC)); /* 0x2B06B51B: mov ecx, dword ptr [ebp - 0xc] */ 5098 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06B51E: mov dword ptr fs:[0], ecx */ 5099 esp = ebp; /* 0x2B06B525: mov esp, ebp */ 5100 ebp = POP32_VAL(esp); /* 0x2B06B527: pop ebp */ 5101 RECOMP_FLAGS_OUT(); esp += 36; { RECOMP_REGS_OUT(); return; } /* 0x2B06B528: ret 0x20 */ 5102 L_2B06B52B: 5103 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 5104 ecx = ecx - 1; /* 0x2B06B52B: dec ecx */ 5105 _flag_k = FK_DEC; 5106 PUSH32(esp, ecx); /* 0x2B06B52C: push ecx */ 5107 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06B52D: call 0x2b0ab1ba */ /* not lifted */ 5108 RECOMP_FLAGS_IN(); 5109 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5110 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5111 esp = esp + 4; /* 0x2B06B532: add esp, 4 */ 5112 _flag_k = FK_ADD; 5113 L_2B06B535: 5114 ecx = MEM32(ebp + (-0xC)); /* 0x2B06B535: mov ecx, dword ptr [ebp - 0xc] */ 5115 edi = POP32_VAL(esp); /* 0x2B06B538: pop edi */ 5116 eax = esi; /* 0x2B06B539: mov eax, esi */ 5117 esi = POP32_VAL(esp); /* 0x2B06B53B: pop esi */ 5118 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06B53C: mov dword ptr fs:[0], ecx */ 5119 esp = ebp; /* 0x2B06B543: mov esp, ebp */ 5120 ebp = POP32_VAL(esp); /* 0x2B06B545: pop ebp */ 5121 RECOMP_FLAGS_OUT(); esp += 36; { RECOMP_REGS_OUT(); return; } /* 0x2B06B546: ret 0x20 */ 5122 RECOMP_REGS_OUT(); 5123 } 5124 5125 void sub_2B06B550(void) { 5126 int _fpu_cmp = 0; 5127 uint32_t _cf = 0; 5128 int _df = 1; 5129 uint32_t _flag_k = FK_NONE; 5130 uint32_t _flag_a = 0, _flag_b = 0; 5131 uint32_t _itail_tgt = 0; 5132 RECOMP_REGS_LOCALS 5133 RECOMP_ENTER(0x2B06B550u); 5134 5135 L_2B06B550: 5136 PUSH32(esp, esi); /* 0x2B06B550: push esi */ 5137 esi = ecx; /* 0x2B06B551: mov esi, ecx */ 5138 PUSH32(esp, edi); /* 0x2B06B553: push edi */ 5139 edi = MEM32(esi + 0x4); /* 0x2B06B554: mov edi, dword ptr [esi + 4] */ 5140 /* test edi, edi */ /* 0x2B06B557: test edi, edi */ 5141 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 5142 _cf = 0; 5143 _flag_k = FK_TEST; 5144 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B56C; /* 0x2B06B559: je 0x2b06b56c */ 5145 L_2B06B55B: 5146 ecx = edi; /* 0x2B06B55B: mov ecx, edi */ 5147 RECOMP_ICALL(MEM32(0x2B0B549C)); /* 0x2B06B55D: call dword ptr [0x2b0b549c] */ 5148 RECOMP_FLAGS_IN(); 5149 PUSH32(esp, edi); /* 0x2B06B563: push edi */ 5150 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06B564: call 0x2b0ab1ba */ /* not lifted */ 5151 RECOMP_FLAGS_IN(); 5152 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5153 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5154 esp = esp + 4; /* 0x2B06B569: add esp, 4 */ 5155 _flag_k = FK_ADD; 5156 L_2B06B56C: 5157 esi = MEM32(esi); /* 0x2B06B56C: mov esi, dword ptr [esi] */ 5158 /* test esi, esi */ /* 0x2B06B56E: test esi, esi */ 5159 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 5160 _cf = 0; 5161 _flag_k = FK_TEST; 5162 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B583; /* 0x2B06B570: je 0x2b06b583 */ 5163 L_2B06B572: 5164 ecx = esi; /* 0x2B06B572: mov ecx, esi */ 5165 RECOMP_ICALL(MEM32(0x2B0B5BBC)); /* 0x2B06B574: call dword ptr [0x2b0b5bbc] */ 5166 RECOMP_FLAGS_IN(); 5167 PUSH32(esp, esi); /* 0x2B06B57A: push esi */ 5168 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06B57B: call 0x2b0ab1ba */ /* not lifted */ 5169 RECOMP_FLAGS_IN(); 5170 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5171 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5172 esp = esp + 4; /* 0x2B06B580: add esp, 4 */ 5173 _flag_k = FK_ADD; 5174 L_2B06B583: 5175 edi = POP32_VAL(esp); /* 0x2B06B583: pop edi */ 5176 esi = POP32_VAL(esp); /* 0x2B06B584: pop esi */ 5177 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06B585: ret */ 5178 RECOMP_REGS_OUT(); 5179 } 5180 5181 void sub_2B06B590(void) { 5182 int _fpu_cmp = 0; 5183 uint32_t _cf = 0; 5184 int _df = 1; 5185 uint32_t _flag_k = FK_NONE; 5186 uint32_t _flag_a = 0, _flag_b = 0; 5187 uint32_t _itail_tgt = 0; 5188 RECOMP_REGS_LOCALS 5189 RECOMP_ENTER(0x2B06B590u); 5190 5191 L_2B06B590: 5192 PUSH32(esp, ebp); /* 0x2B06B590: push ebp */ 5193 ebp = esp; /* 0x2B06B591: mov ebp, esp */ 5194 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 5195 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5196 esp = esp - 8; /* 0x2B06B593: sub esp, 8 */ 5197 _flag_k = FK_CMP; 5198 PUSH32(esp, esi); /* 0x2B06B596: push esi */ 5199 esi = ecx; /* 0x2B06B597: mov esi, ecx */ 5200 fp_push(*(float*)&MEM32(esi + 0x1C)); /* 0x2B06B599: fld dword ptr [esi + 0x1c] */ 5201 eax = MEM32(esi + 0x8); /* 0x2B06B59C: mov eax, dword ptr [esi + 8] */ 5202 _st[0] -= (double)*(float*)ADDR(ebp + 0x8); /* 0x2B06B59F: fsub dword ptr [ebp + 8] */ 5203 ecx = MEM32(esi + 0xC); /* 0x2B06B5A2: mov ecx, dword ptr [esi + 0xc] */ 5204 MEM32(ebp + (-0x8)) = eax; /* 0x2B06B5A5: mov dword ptr [ebp - 8], eax */ 5205 MEM32(ebp + (-0x4)) = ecx; /* 0x2B06B5A8: mov dword ptr [ebp - 4], ecx */ 5206 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x2B06B5AB: fstp dword ptr [ebp + 8] */ 5207 fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2B06B5AE: fld dword ptr [ebp + 8] */ 5208 edx = MEM32(ebp + 0x8); /* 0x2B06B5B1: mov edx, dword ptr [ebp + 8] */ 5209 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B06B5B4: fcomp dword ptr [0x2b0b61b8] */ 5210 fp_pop(); 5211 MEM32(esi + 0x1C) = edx; /* 0x2B06B5BA: mov dword ptr [esi + 0x1c], edx */ 5212 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B06B5BD: fnstsw ax */ 5213 /* test HI8(eax), 1 */ /* 0x2B06B5BF: test ah, 1 */ 5214 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 5215 _cf = 0; 5216 _flag_k = FK_NARROW(FK_TEST, 24); 5217 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B5CD; /* 0x2B06B5C2: je 0x2b06b5cd */ 5218 L_2B06B5C4: 5219 SET_LO8(eax, 1); /* 0x2B06B5C4: mov al, 1 */ 5220 esi = POP32_VAL(esp); /* 0x2B06B5C6: pop esi */ 5221 esp = ebp; /* 0x2B06B5C7: mov esp, ebp */ 5222 ebp = POP32_VAL(esp); /* 0x2B06B5C9: pop ebp */ 5223 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06B5CA: ret 4 */ 5224 L_2B06B5CD: 5225 /* test MEM8(esi + 0x10), 1 */ /* 0x2B06B5CD: test byte ptr [esi + 0x10], 1 */ 5226 _flag_a = (uint32_t)(MEM8(esi + 0x10)) << 24; _flag_b = (uint32_t)(1) << 24; 5227 _cf = 0; 5228 _flag_k = FK_NARROW(FK_TEST, 24); 5229 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B5FC; /* 0x2B06B5D1: je 0x2b06b5fc */ 5230 L_2B06B5D3: 5231 fp_push((double)(int32_t)MEM32(ebp + (-0x4))); /* 0x2B06B5D3: fild dword ptr [ebp - 4] */ 5232 fp_push(*(float*)&MEM32(esi + 0x20)); /* 0x2B06B5D6: fld dword ptr [esi + 0x20] */ 5233 _st[0] -= (double)*(float*)ADDR(ebp + 0x8); /* 0x2B06B5D9: fsub dword ptr [ebp + 8] */ 5234 _st[0] *= (double)*(float*)ADDR(0x2B0B7108); /* 0x2B06B5DC: fmul dword ptr [0x2b0b7108] */ 5235 _st[0] /= (double)*(float*)ADDR(esi + 0x20); /* 0x2B06B5E2: fdiv dword ptr [esi + 0x20] */ 5236 { double _v = fp_pop(); _st[0] -= _v; } /* 0x2B06B5E5: fsubp st(1) */ 5237 RECOMP_ICALL(0x2B0AB220u); /* 0x2B06B5E7: call 0x2b0ab220 */ /* not lifted */ 5238 RECOMP_FLAGS_IN(); 5239 ecx = MEM32(esi + 0x4); /* 0x2B06B5EC: mov ecx, dword ptr [esi + 4] */ 5240 MEM32(ebp + (-0x4)) = eax; /* 0x2B06B5EF: mov dword ptr [ebp - 4], eax */ 5241 eax = ebp + (-0x8); /* 0x2B06B5F2: lea eax, [ebp - 8] */ 5242 PUSH32(esp, eax); /* 0x2B06B5F5: push eax */ 5243 RECOMP_ICALL(MEM32(0x2B0B548C)); /* 0x2B06B5F6: call dword ptr [0x2b0b548c] */ 5244 RECOMP_FLAGS_IN(); 5245 L_2B06B5FC: 5246 /* test MEM8(esi + 0x10), 2 */ /* 0x2B06B5FC: test byte ptr [esi + 0x10], 2 */ 5247 _flag_a = (uint32_t)(MEM8(esi + 0x10)) << 24; _flag_b = (uint32_t)(2) << 24; 5248 _cf = 0; 5249 _flag_k = FK_NARROW(FK_TEST, 24); 5250 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B61D; /* 0x2B06B600: je 0x2b06b61d */ 5251 L_2B06B602: 5252 fp_push(*(float*)&MEM32(esi + 0x1C)); /* 0x2B06B602: fld dword ptr [esi + 0x1c] */ 5253 _st[0] *= (double)*(float*)ADDR(0x2B0B6888); /* 0x2B06B605: fmul dword ptr [0x2b0b6888] */ 5254 _st[0] /= (double)*(float*)ADDR(esi + 0x20); /* 0x2B06B60B: fdiv dword ptr [esi + 0x20] */ 5255 RECOMP_ICALL(0x2B0AB220u); /* 0x2B06B60E: call 0x2b0ab220 */ /* not lifted */ 5256 RECOMP_FLAGS_IN(); 5257 ecx = MEM32(esi + 0x4); /* 0x2B06B613: mov ecx, dword ptr [esi + 4] */ 5258 PUSH32(esp, eax); /* 0x2B06B616: push eax */ 5259 RECOMP_ICALL(MEM32(0x2B0B5490)); /* 0x2B06B617: call dword ptr [0x2b0b5490] */ 5260 RECOMP_FLAGS_IN(); 5261 L_2B06B61D: 5262 PUSH32(esp, edi); /* 0x2B06B61D: push edi */ 5263 edi = MEM32(0x2B0B5690); /* 0x2B06B61E: mov edi, dword ptr [0x2b0b5690] */ 5264 RECOMP_ICALL(edi); /* 0x2B06B624: call edi */ 5265 RECOMP_FLAGS_IN(); 5266 eax = MEM32(eax + 0x44); /* 0x2B06B626: mov eax, dword ptr [eax + 0x44] */ 5267 /* cmp MEM32(ebp + (-0x8)), eax */ /* 0x2B06B629: cmp dword ptr [ebp - 8], eax */ 5268 _flag_a = (uint32_t)(MEM32(ebp + (-0x8))); _flag_b = (uint32_t)(eax); 5269 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5270 _flag_k = FK_CMP; 5271 if (CMP_G(_flag_a, _flag_b)) goto L_2B06B64B; /* 0x2B06B62C: jg 0x2b06b64b */ 5272 L_2B06B62E: 5273 RECOMP_ICALL(edi); /* 0x2B06B62E: call edi */ 5274 RECOMP_FLAGS_IN(); 5275 eax = MEM32(eax + 0x48); /* 0x2B06B630: mov eax, dword ptr [eax + 0x48] */ 5276 /* cmp MEM32(ebp + (-0x4)), eax */ /* 0x2B06B633: cmp dword ptr [ebp - 4], eax */ 5277 _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(eax); 5278 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5279 _flag_k = FK_CMP; 5280 if (CMP_G(_flag_a, _flag_b)) goto L_2B06B64B; /* 0x2B06B636: jg 0x2b06b64b */ 5281 L_2B06B638: 5282 ecx = MEM32(esi + 0x4); /* 0x2B06B638: mov ecx, dword ptr [esi + 4] */ 5283 RECOMP_ICALL(MEM32(0x2B0B5494)); /* 0x2B06B63B: call dword ptr [0x2b0b5494] */ 5284 RECOMP_FLAGS_IN(); 5285 edi = POP32_VAL(esp); /* 0x2B06B641: pop edi */ 5286 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 5287 SET_LO8(eax, 0); /* 0x2B06B642: xor al, al */ 5288 _cf = 0; 5289 _flag_k = FK_NARROW(FK_TEST, 24); 5290 esi = POP32_VAL(esp); /* 0x2B06B644: pop esi */ 5291 esp = ebp; /* 0x2B06B645: mov esp, ebp */ 5292 ebp = POP32_VAL(esp); /* 0x2B06B647: pop ebp */ 5293 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06B648: ret 4 */ 5294 L_2B06B64B: 5295 ecx = MEM32(esi + 0x4); /* 0x2B06B64B: mov ecx, dword ptr [esi + 4] */ 5296 RECOMP_ICALL(MEM32(0x2B0B5498)); /* 0x2B06B64E: call dword ptr [0x2b0b5498] */ 5297 RECOMP_FLAGS_IN(); 5298 edi = POP32_VAL(esp); /* 0x2B06B654: pop edi */ 5299 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 5300 SET_LO8(eax, 0); /* 0x2B06B655: xor al, al */ 5301 _cf = 0; 5302 _flag_k = FK_NARROW(FK_TEST, 24); 5303 esi = POP32_VAL(esp); /* 0x2B06B657: pop esi */ 5304 esp = ebp; /* 0x2B06B658: mov esp, ebp */ 5305 ebp = POP32_VAL(esp); /* 0x2B06B65A: pop ebp */ 5306 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06B65B: ret 4 */ 5307 RECOMP_REGS_OUT(); 5308 } 5309 5310 void sub_2B06B660(void) { 5311 int _fpu_cmp = 0; 5312 uint32_t _cf = 0; 5313 int _df = 1; 5314 uint32_t _flag_k = FK_NONE; 5315 uint32_t _flag_a = 0, _flag_b = 0; 5316 uint32_t _itail_tgt = 0; 5317 RECOMP_REGS_LOCALS 5318 RECOMP_ENTER(0x2B06B660u); 5319 5320 L_2B06B660: 5321 PUSH32(esp, ebp); /* 0x2B06B660: push ebp */ 5322 ebp = esp; /* 0x2B06B661: mov ebp, esp */ 5323 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06B663: push -1 */ 5324 PUSH32(esp, 0x2B0B1173u); /* 0x2B06B665: push 0x2b0b1173 */ 5325 eax = MEM32(FS_BASE + (0)); /* 0x2B06B66A: mov eax, dword ptr fs:[0] */ 5326 PUSH32(esp, eax); /* 0x2B06B670: push eax */ 5327 MEM32(FS_BASE + (0)) = esp; /* 0x2B06B671: mov dword ptr fs:[0], esp */ 5328 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xD4u); 5329 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5330 esp = esp - 0xD4u; /* 0x2B06B678: sub esp, 0xd4 */ 5331 _flag_k = FK_CMP; 5332 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B06B67E: mov al, byte ptr [ebp + 0xb] */ 5333 PUSH32(esp, ebx); /* 0x2B06B681: push ebx */ 5334 ebx = ecx; /* 0x2B06B682: mov ebx, ecx */ 5335 PUSH32(esp, esi); /* 0x2B06B684: push esi */ 5336 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5337 esi = 0; /* 0x2B06B685: xor esi, esi */ 5338 _cf = 0; 5339 _flag_k = FK_TEST; 5340 MEM32(ebx) = esi; /* 0x2B06B687: mov dword ptr [ebx], esi */ 5341 MEM32(ebx + 0x4) = esi; /* 0x2B06B689: mov dword ptr [ebx + 4], esi */ 5342 MEM32(ebx + 0xC) = esi; /* 0x2B06B68C: mov dword ptr [ebx + 0xc], esi */ 5343 MEM32(ebx + 0x10) = esi; /* 0x2B06B68F: mov dword ptr [ebx + 0x10], esi */ 5344 MEM32(ebx + 0x14) = esi; /* 0x2B06B692: mov dword ptr [ebx + 0x14], esi */ 5345 MEM32(ebx + 0x18) = esi; /* 0x2B06B695: mov dword ptr [ebx + 0x18], esi */ 5346 MEM8(ebx + 0x1E) = (uint8_t)(0); /* 0x2B06B698: mov byte ptr [ebx + 0x1e], 0 */ 5347 MEM32(ebx + 0x20) = esi; /* 0x2B06B69C: mov dword ptr [ebx + 0x20], esi */ 5348 MEM32(ebx + 0x24) = esi; /* 0x2B06B69F: mov dword ptr [ebx + 0x24], esi */ 5349 PUSH32(esp, edi); /* 0x2B06B6A2: push edi */ 5350 MEM32(ebp + (-0x90)) = ebx; /* 0x2B06B6A3: mov dword ptr [ebp - 0x90], ebx */ 5351 MEM8(ebx + 0x30) = (uint8_t)(LO8(eax)); /* 0x2B06B6A9: mov byte ptr [ebx + 0x30], al */ 5352 MEM32(ebx + 0x34) = esi; /* 0x2B06B6AC: mov dword ptr [ebx + 0x34], esi */ 5353 MEM32(ebx + 0x38) = esi; /* 0x2B06B6AF: mov dword ptr [ebx + 0x38], esi */ 5354 MEM32(ebx + 0x3C) = esi; /* 0x2B06B6B2: mov dword ptr [ebx + 0x3c], esi */ 5355 eax = MEM32(ebp + 0x8); /* 0x2B06B6B5: mov eax, dword ptr [ebp + 8] */ 5356 MEM32(ebx + 0x40) = esi; /* 0x2B06B6B8: mov dword ptr [ebx + 0x40], esi */ 5357 MEM32(ebx + 0x44) = 1; /* 0x2B06B6BB: mov dword ptr [ebx + 0x44], 1 */ 5358 MEM8(ebx + 0x4C) = (uint8_t)(0); /* 0x2B06B6C2: mov byte ptr [ebx + 0x4c], 0 */ 5359 MEM8(ebx + 0x58) = (uint8_t)(1); /* 0x2B06B6C6: mov byte ptr [ebx + 0x58], 1 */ 5360 MEM32(ebx + 0x64) = esi; /* 0x2B06B6CA: mov dword ptr [ebx + 0x64], esi */ 5361 MEM32(ebx + 0x68) = esi; /* 0x2B06B6CD: mov dword ptr [ebx + 0x68], esi */ 5362 ecx = MEM32(eax); /* 0x2B06B6D0: mov ecx, dword ptr [eax] */ 5363 MEM32(ebx + 0x6C) = ecx; /* 0x2B06B6D2: mov dword ptr [ebx + 0x6c], ecx */ 5364 edx = MEM32(eax + 0x4); /* 0x2B06B6D5: mov edx, dword ptr [eax + 4] */ 5365 MEM32(ebx + 0x70) = edx; /* 0x2B06B6D8: mov dword ptr [ebx + 0x70], edx */ 5366 MEM32(ebx + 0x74) = esi; /* 0x2B06B6DB: mov dword ptr [ebx + 0x74], esi */ 5367 MEM32(ebx + 0x78) = esi; /* 0x2B06B6DE: mov dword ptr [ebx + 0x78], esi */ 5368 ecx = ebx + 0xE4; /* 0x2B06B6E1: lea ecx, [ebx + 0xe4] */ 5369 MEM32(ebp + (-0x4)) = esi; /* 0x2B06B6E7: mov dword ptr [ebp - 4], esi */ 5370 MEM8(ebx + 0xE0) = (uint8_t)(0); /* 0x2B06B6EA: mov byte ptr [ebx + 0xe0], 0 */ 5371 RECOMP_ICALL(MEM32(0x2B0B5750)); /* 0x2B06B6F1: call dword ptr [0x2b0b5750] */ 5372 RECOMP_FLAGS_IN(); 5373 edi = MEM32(0x2B0B602C); /* 0x2B06B6F7: mov edi, dword ptr [0x2b0b602c] */ 5374 MEM32(0x2B0EEE80) = ebx; /* 0x2B06B6FD: mov dword ptr [0x2b0eee80], ebx */ 5375 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5376 eax = 0; /* 0x2B06B703: xor eax, eax */ 5377 _cf = 0; 5378 _flag_k = FK_TEST; 5379 MEM32(ebx + 0x5C) = eax; /* 0x2B06B705: mov dword ptr [ebx + 0x5c], eax */ 5380 MEM32(ebx + 0x60) = esi; /* 0x2B06B708: mov dword ptr [ebx + 0x60], esi */ 5381 MEM32(ebx + 0x64) = esi; /* 0x2B06B70B: mov dword ptr [ebx + 0x64], esi */ 5382 MEM32(ebx + 0x68) = esi; /* 0x2B06B70E: mov dword ptr [ebx + 0x68], esi */ 5383 MEM32(ebx) = eax; /* 0x2B06B711: mov dword ptr [ebx], eax */ 5384 MEM32(ebx + 0x4) = esi; /* 0x2B06B713: mov dword ptr [ebx + 4], esi */ 5385 MEM32(ebx + 0x20) = eax; /* 0x2B06B716: mov dword ptr [ebx + 0x20], eax */ 5386 MEM32(ebx + 0x24) = esi; /* 0x2B06B719: mov dword ptr [ebx + 0x24], esi */ 5387 MEM32(ebx + 0x7C) = 0x10u; /* 0x2B06B71C: mov dword ptr [ebx + 0x7c], 0x10 */ 5388 MEM32(ebx + 0x80) = 4; /* 0x2B06B723: mov dword ptr [ebx + 0x80], 4 */ 5389 MEM32(ebx + 0x5C) = esi; /* 0x2B06B72D: mov dword ptr [ebx + 0x5c], esi */ 5390 MEM32(ebp + (-0x14)) = eax; /* 0x2B06B730: mov dword ptr [ebp - 0x14], eax */ 5391 MEM32(ebx + 0x60) = esi; /* 0x2B06B733: mov dword ptr [ebx + 0x60], esi */ 5392 eax = MEM32(0x2B0B6048); /* 0x2B06B736: mov eax, dword ptr [0x2b0b6048] */ 5393 PUSH32(esp, 1); /* 0x2B06B73B: push 1 */ 5394 MEM32(ebp + (-0x10)) = esi; /* 0x2B06B73D: mov dword ptr [ebp - 0x10], esi */ 5395 ecx = MEM32(eax); /* 0x2B06B740: mov ecx, dword ptr [eax] */ 5396 PUSH32(esp, 0x2B0EB4F0u); /* 0x2B06B742: push 0x2b0eb4f0 */ 5397 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06B747: mov byte ptr [ebp - 4], 1 */ 5398 RECOMP_ICALL(edi); /* 0x2B06B74B: call edi */ 5399 RECOMP_FLAGS_IN(); 5400 MEM32(ebx + 0x5C) = eax; /* 0x2B06B74D: mov dword ptr [ebx + 0x5c], eax */ 5401 ecx = MEM32(0x2B0B6048); /* 0x2B06B750: mov ecx, dword ptr [0x2b0b6048] */ 5402 ecx = MEM32(ecx); /* 0x2B06B756: mov ecx, dword ptr [ecx] */ 5403 PUSH32(esp, 1); /* 0x2B06B758: push 1 */ 5404 PUSH32(esp, 0x2B0EB4E8u); /* 0x2B06B75A: push 0x2b0eb4e8 */ 5405 RECOMP_ICALL(edi); /* 0x2B06B75F: call edi */ 5406 RECOMP_FLAGS_IN(); 5407 PUSH32(esp, 0x14u); /* 0x2B06B761: push 0x14 */ 5408 MEM32(ebx + 0x60) = eax; /* 0x2B06B763: mov dword ptr [ebx + 0x60], eax */ 5409 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06B766: call 0x2b0ab212 */ /* not lifted */ 5410 RECOMP_FLAGS_IN(); 5411 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5412 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5413 esp = esp + 4; /* 0x2B06B76B: add esp, 4 */ 5414 _flag_k = FK_ADD; 5415 /* cmp eax, esi */ /* 0x2B06B76E: cmp eax, esi */ 5416 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 5417 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5418 _flag_k = FK_CMP; 5419 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B785; /* 0x2B06B770: je 0x2b06b785 */ 5420 L_2B06B772: 5421 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B06B772: mov dl, byte ptr [ebp + 0xb] */ 5422 MEM8(eax) = (uint8_t)(LO8(edx)); /* 0x2B06B775: mov byte ptr [eax], dl */ 5423 MEM32(eax + 0x4) = esi; /* 0x2B06B777: mov dword ptr [eax + 4], esi */ 5424 MEM32(eax + 0x8) = esi; /* 0x2B06B77A: mov dword ptr [eax + 8], esi */ 5425 MEM32(eax + 0xC) = esi; /* 0x2B06B77D: mov dword ptr [eax + 0xc], esi */ 5426 MEM32(eax + 0x10) = esi; /* 0x2B06B780: mov dword ptr [eax + 0x10], esi */ 5427 goto L_2B06B787; /* 0x2B06B783: jmp 0x2b06b787 */ 5428 L_2B06B785: 5429 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5430 eax = 0; /* 0x2B06B785: xor eax, eax */ 5431 _cf = 0; 5432 _flag_k = FK_TEST; 5433 L_2B06B787: 5434 PUSH32(esp, 0x14u); /* 0x2B06B787: push 0x14 */ 5435 MEM32(ebx + 0x28) = eax; /* 0x2B06B789: mov dword ptr [ebx + 0x28], eax */ 5436 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06B78C: call 0x2b0ab212 */ /* not lifted */ 5437 RECOMP_FLAGS_IN(); 5438 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5439 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5440 esp = esp + 4; /* 0x2B06B791: add esp, 4 */ 5441 _flag_k = FK_ADD; 5442 /* cmp eax, esi */ /* 0x2B06B794: cmp eax, esi */ 5443 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 5444 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5445 _flag_k = FK_CMP; 5446 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B7AB; /* 0x2B06B796: je 0x2b06b7ab */ 5447 L_2B06B798: 5448 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B06B798: mov cl, byte ptr [ebp + 0xb] */ 5449 MEM8(eax) = (uint8_t)(LO8(ecx)); /* 0x2B06B79B: mov byte ptr [eax], cl */ 5450 MEM32(eax + 0x4) = esi; /* 0x2B06B79D: mov dword ptr [eax + 4], esi */ 5451 MEM32(eax + 0x8) = esi; /* 0x2B06B7A0: mov dword ptr [eax + 8], esi */ 5452 MEM32(eax + 0xC) = esi; /* 0x2B06B7A3: mov dword ptr [eax + 0xc], esi */ 5453 MEM32(eax + 0x10) = esi; /* 0x2B06B7A6: mov dword ptr [eax + 0x10], esi */ 5454 goto L_2B06B7AD; /* 0x2B06B7A9: jmp 0x2b06b7ad */ 5455 L_2B06B7AB: 5456 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5457 eax = 0; /* 0x2B06B7AB: xor eax, eax */ 5458 _cf = 0; 5459 _flag_k = FK_TEST; 5460 L_2B06B7AD: 5461 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 5462 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06B7AD: or ecx, 0xffffffff */ 5463 _cf = 0; 5464 _flag_k = FK_TEST; 5465 MEM32(ebx + 0x2C) = eax; /* 0x2B06B7B0: mov dword ptr [ebx + 0x2c], eax */ 5466 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5467 eax = 0; /* 0x2B06B7B3: xor eax, eax */ 5468 _cf = 0; 5469 _flag_k = FK_TEST; 5470 edi = 0x2B0EE648u; /* 0x2B06B7B5: mov edi, 0x2b0ee648 */ 5471 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; } /* 0x2B06B7BA: repne scasb al, byte ptr es:[edi] */ 5472 ecx = ~ecx; /* 0x2B06B7BC: not ecx */ 5473 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 5474 ecx = ecx - 1; /* 0x2B06B7BE: dec ecx */ 5475 _flag_k = FK_DEC; 5476 PUSH32(esp, 1); /* 0x2B06B7BF: push 1 */ 5477 MEM32(ebp + 0x8) = ecx; /* 0x2B06B7C1: mov dword ptr [ebp + 8], ecx */ 5478 PUSH32(esp, ecx); /* 0x2B06B7C4: push ecx */ 5479 ecx = ebx + 0x30; /* 0x2B06B7C5: lea ecx, [ebx + 0x30] */ 5480 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06B7C8: call dword ptr [0x2b0b5154] */ 5481 RECOMP_FLAGS_IN(); 5482 /* test LO8(eax), LO8(eax) */ /* 0x2B06B7CE: test al, al */ 5483 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5484 _cf = 0; 5485 _flag_k = FK_NARROW(FK_TEST, 24); 5486 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06B7FA; /* 0x2B06B7D0: je 0x2b06b7fa */ 5487 L_2B06B7D2: 5488 eax = MEM32(ebp + 0x8); /* 0x2B06B7D2: mov eax, dword ptr [ebp + 8] */ 5489 edi = MEM32(ebx + 0x34); /* 0x2B06B7D5: mov edi, dword ptr [ebx + 0x34] */ 5490 ecx = eax; /* 0x2B06B7D8: mov ecx, eax */ 5491 edx = ecx; /* 0x2B06B7DA: mov edx, ecx */ 5492 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06B7DC: shr ecx, 2 */ 5493 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5494 ecx = ecx >> 2u; /* 0x2B06B7DC: shr ecx, 2 */ 5495 esi = 0x2B0EE648u; /* 0x2B06B7DF: mov esi, 0x2b0ee648 */ 5496 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06B7E4: 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; } 5497 ecx = edx; /* 0x2B06B7E6: mov ecx, edx */ 5498 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 5499 ecx = ecx & 3; /* 0x2B06B7E8: and ecx, 3 */ 5500 _cf = 0; 5501 _flag_k = FK_TEST; 5502 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06B7EB: 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; } 5503 ecx = MEM32(ebx + 0x34); /* 0x2B06B7ED: mov ecx, dword ptr [ebx + 0x34] */ 5504 MEM32(ebx + 0x38) = eax; /* 0x2B06B7F0: mov dword ptr [ebx + 0x38], eax */ 5505 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5506 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5507 eax = eax + ecx; /* 0x2B06B7F3: add eax, ecx */ 5508 _flag_k = FK_ADD; 5509 MEM8(eax) = (uint8_t)(0); /* 0x2B06B7F5: mov byte ptr [eax], 0 */ 5510 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5511 esi = 0; /* 0x2B06B7F8: xor esi, esi */ 5512 _cf = 0; 5513 _flag_k = FK_TEST; 5514 L_2B06B7FA: 5515 ecx = MEM32(ebx + 0x6C); /* 0x2B06B7FA: mov ecx, dword ptr [ebx + 0x6c] */ 5516 eax = 0xA0u; /* 0x2B06B7FD: mov eax, 0xa0 */ 5517 /* cmp ecx, eax */ /* 0x2B06B802: cmp ecx, eax */ 5518 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 5519 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5520 _flag_k = FK_CMP; 5521 if (CMP_GE(_flag_a, _flag_b)) goto L_2B06B809; /* 0x2B06B804: jge 0x2b06b809 */ 5522 L_2B06B806: 5523 MEM32(ebx + 0x6C) = eax; /* 0x2B06B806: mov dword ptr [ebx + 0x6c], eax */ 5524 L_2B06B809: 5525 ecx = MEM32(ebx + 0x70); /* 0x2B06B809: mov ecx, dword ptr [ebx + 0x70] */ 5526 eax = 0x46u; /* 0x2B06B80C: mov eax, 0x46 */ 5527 /* cmp ecx, eax */ /* 0x2B06B811: cmp ecx, eax */ 5528 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 5529 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5530 _flag_k = FK_CMP; 5531 if (CMP_GE(_flag_a, _flag_b)) goto L_2B06B818; /* 0x2B06B813: jge 0x2b06b818 */ 5532 L_2B06B815: 5533 MEM32(ebx + 0x70) = eax; /* 0x2B06B815: mov dword ptr [ebx + 0x70], eax */ 5534 L_2B06B818: 5535 ecx = MEM32(ebx + 0x6C); /* 0x2B06B818: mov ecx, dword ptr [ebx + 0x6c] */ 5536 eax = 0x668u; /* 0x2B06B81B: mov eax, 0x668 */ 5537 /* cmp ecx, eax */ /* 0x2B06B820: cmp ecx, eax */ 5538 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 5539 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5540 _flag_k = FK_CMP; 5541 if (CMP_LE(_flag_a, _flag_b)) goto L_2B06B827; /* 0x2B06B822: jle 0x2b06b827 */ 5542 L_2B06B824: 5543 MEM32(ebx + 0x6C) = eax; /* 0x2B06B824: mov dword ptr [ebx + 0x6c], eax */ 5544 L_2B06B827: 5545 ecx = MEM32(ebx + 0x70); /* 0x2B06B827: mov ecx, dword ptr [ebx + 0x70] */ 5546 eax = 0x550u; /* 0x2B06B82A: mov eax, 0x550 */ 5547 /* cmp ecx, eax */ /* 0x2B06B82F: cmp ecx, eax */ 5548 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 5549 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5550 _flag_k = FK_CMP; 5551 if (CMP_LE(_flag_a, _flag_b)) goto L_2B06B836; /* 0x2B06B831: jle 0x2b06b836 */ 5552 L_2B06B833: 5553 MEM32(ebx + 0x70) = eax; /* 0x2B06B833: mov dword ptr [ebx + 0x70], eax */ 5554 L_2B06B836: 5555 edi = MEM32(0x2B0B5690); /* 0x2B06B836: mov edi, dword ptr [0x2b0b5690] */ 5556 RECOMP_ICALL(edi); /* 0x2B06B83C: call edi */ 5557 RECOMP_FLAGS_IN(); 5558 ecx = eax; /* 0x2B06B83E: mov ecx, eax */ 5559 RECOMP_ICALL(MEM32(0x2B0B5688)); /* 0x2B06B840: call dword ptr [0x2b0b5688] */ 5560 RECOMP_FLAGS_IN(); 5561 MEM32(ebp + 0x8) = eax; /* 0x2B06B846: mov dword ptr [ebp + 8], eax */ 5562 RECOMP_ICALL(edi); /* 0x2B06B849: call edi */ 5563 RECOMP_FLAGS_IN(); 5564 ecx = eax; /* 0x2B06B84B: mov ecx, eax */ 5565 RECOMP_ICALL(MEM32(0x2B0B568C)); /* 0x2B06B84D: call dword ptr [0x2b0b568c] */ 5566 RECOMP_FLAGS_IN(); 5567 edx = MEM32(ebx + 0x80); /* 0x2B06B853: mov edx, dword ptr [ebx + 0x80] */ 5568 ecx = MEM32(ebx + 0x70); /* 0x2B06B859: mov ecx, dword ptr [ebx + 0x70] */ 5569 edi = MEM32(ebx + 0x7C); /* 0x2B06B85C: mov edi, dword ptr [ebx + 0x7c] */ 5570 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 5571 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5572 ecx = ecx + edx; /* 0x2B06B85F: add ecx, edx */ 5573 _flag_k = FK_ADD; 5574 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 5575 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5576 ecx = ecx + edi; /* 0x2B06B861: add ecx, edi */ 5577 _flag_k = FK_ADD; 5578 edi = MEM32(ebx + 0x6C); /* 0x2B06B863: mov edi, dword ptr [ebx + 0x6c] */ 5579 edi = edi + edx * 2; /* 0x2B06B866: lea edi, [edi + edx*2] */ 5580 edx = MEM32(ebp + 0x8); /* 0x2B06B869: mov edx, dword ptr [ebp + 8] */ 5581 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 5582 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5583 edx = edx - edi; /* 0x2B06B86C: sub edx, edi */ 5584 _flag_k = FK_CMP; 5585 /* cmp MEM32(ebx + 0x5C), edx */ /* 0x2B06B86E: cmp dword ptr [ebx + 0x5c], edx */ 5586 _flag_a = (uint32_t)(MEM32(ebx + 0x5C)); _flag_b = (uint32_t)(edx); 5587 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5588 _flag_k = FK_CMP; 5589 if (CMP_LE(_flag_a, _flag_b)) goto L_2B06B876; /* 0x2B06B871: jle 0x2b06b876 */ 5590 L_2B06B873: 5591 MEM32(ebx + 0x5C) = edx; /* 0x2B06B873: mov dword ptr [ebx + 0x5c], edx */ 5592 L_2B06B876: 5593 edx = eax; /* 0x2B06B876: mov edx, eax */ 5594 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 5595 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5596 edx = edx - ecx; /* 0x2B06B878: sub edx, ecx */ 5597 _flag_k = FK_CMP; 5598 /* cmp MEM32(ebx + 0x60), edx */ /* 0x2B06B87A: cmp dword ptr [ebx + 0x60], edx */ 5599 _flag_a = (uint32_t)(MEM32(ebx + 0x60)); _flag_b = (uint32_t)(edx); 5600 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5601 _flag_k = FK_CMP; 5602 if (CMP_LE(_flag_a, _flag_b)) goto L_2B06B882; /* 0x2B06B87D: jle 0x2b06b882 */ 5603 L_2B06B87F: 5604 MEM32(ebx + 0x60) = edx; /* 0x2B06B87F: mov dword ptr [ebx + 0x60], edx */ 5605 L_2B06B882: 5606 /* cmp MEM32(ebx + 0x5C), esi */ /* 0x2B06B882: cmp dword ptr [ebx + 0x5c], esi */ 5607 _flag_a = (uint32_t)(MEM32(ebx + 0x5C)); _flag_b = (uint32_t)(esi); 5608 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5609 _flag_k = FK_CMP; 5610 if (CMP_GE(_flag_a, _flag_b)) goto L_2B06B88A; /* 0x2B06B885: jge 0x2b06b88a */ 5611 L_2B06B887: 5612 MEM32(ebx + 0x5C) = esi; /* 0x2B06B887: mov dword ptr [ebx + 0x5c], esi */ 5613 L_2B06B88A: 5614 /* cmp MEM32(ebx + 0x60), esi */ /* 0x2B06B88A: cmp dword ptr [ebx + 0x60], esi */ 5615 _flag_a = (uint32_t)(MEM32(ebx + 0x60)); _flag_b = (uint32_t)(esi); 5616 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5617 _flag_k = FK_CMP; 5618 if (CMP_GE(_flag_a, _flag_b)) goto L_2B06B892; /* 0x2B06B88D: jge 0x2b06b892 */ 5619 L_2B06B88F: 5620 MEM32(ebx + 0x60) = esi; /* 0x2B06B88F: mov dword ptr [ebx + 0x60], esi */ 5621 L_2B06B892: 5622 /* cmp edi, MEM32(ebp + 0x8) */ /* 0x2B06B892: cmp edi, dword ptr [ebp + 8] */ 5623 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ebp + 0x8)); 5624 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5625 _flag_k = FK_CMP; 5626 if (CMP_LE(_flag_a, _flag_b)) goto L_2B06B89E; /* 0x2B06B895: jle 0x2b06b89e */ 5627 L_2B06B897: 5628 MEM32(ebx + 0x6C) = 0xA0u; /* 0x2B06B897: mov dword ptr [ebx + 0x6c], 0xa0 */ 5629 L_2B06B89E: 5630 /* cmp ecx, eax */ /* 0x2B06B89E: cmp ecx, eax */ 5631 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 5632 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5633 _flag_k = FK_CMP; 5634 if (CMP_LE(_flag_a, _flag_b)) goto L_2B06B8A9; /* 0x2B06B8A0: jle 0x2b06b8a9 */ 5635 L_2B06B8A2: 5636 MEM32(ebx + 0x70) = 0x46u; /* 0x2B06B8A2: mov dword ptr [ebx + 0x70], 0x46 */ 5637 L_2B06B8A9: 5638 edx = MEM32(ebx + 0x6C); /* 0x2B06B8A9: mov edx, dword ptr [ebx + 0x6c] */ 5639 eax = MEM32(0x2B0B6048); /* 0x2B06B8AC: mov eax, dword ptr [0x2b0b6048] */ 5640 ecx = MEM32(eax); /* 0x2B06B8B1: mov ecx, dword ptr [eax] */ 5641 edi = MEM32(0x2B0B604C); /* 0x2B06B8B3: mov edi, dword ptr [0x2b0b604c] */ 5642 PUSH32(esp, 1); /* 0x2B06B8B9: push 1 */ 5643 PUSH32(esp, 1); /* 0x2B06B8BB: push 1 */ 5644 PUSH32(esp, edx); /* 0x2B06B8BD: push edx */ 5645 PUSH32(esp, 0x2B0EB4E0u); /* 0x2B06B8BE: push 0x2b0eb4e0 */ 5646 RECOMP_ICALL(edi); /* 0x2B06B8C3: call edi */ 5647 RECOMP_FLAGS_IN(); 5648 edx = MEM32(ebx + 0x70); /* 0x2B06B8C5: mov edx, dword ptr [ebx + 0x70] */ 5649 eax = MEM32(0x2B0B6048); /* 0x2B06B8C8: mov eax, dword ptr [0x2b0b6048] */ 5650 ecx = MEM32(eax); /* 0x2B06B8CD: mov ecx, dword ptr [eax] */ 5651 PUSH32(esp, 1); /* 0x2B06B8CF: push 1 */ 5652 PUSH32(esp, 1); /* 0x2B06B8D1: push 1 */ 5653 PUSH32(esp, edx); /* 0x2B06B8D3: push edx */ 5654 PUSH32(esp, 0x2B0EB4D8u); /* 0x2B06B8D4: push 0x2b0eb4d8 */ 5655 RECOMP_ICALL(edi); /* 0x2B06B8D9: call edi */ 5656 RECOMP_FLAGS_IN(); 5657 eax = ebp + (-0x6C); /* 0x2B06B8DB: lea eax, [ebp - 0x6c] */ 5658 PUSH32(esp, eax); /* 0x2B06B8DE: push eax */ 5659 ecx = ebp + (-0x68); /* 0x2B06B8DF: lea ecx, [ebp - 0x68] */ 5660 PUSH32(esp, ecx); /* 0x2B06B8E2: push ecx */ 5661 RECOMP_ICALL(MEM32(0x2B0B5690)); /* 0x2B06B8E3: call dword ptr [0x2b0b5690] */ 5662 RECOMP_FLAGS_IN(); 5663 ecx = eax; /* 0x2B06B8E9: mov ecx, eax */ 5664 RECOMP_ICALL(MEM32(0x2B0B5638)); /* 0x2B06B8EB: call dword ptr [0x2b0b5638] */ 5665 RECOMP_FLAGS_IN(); 5666 fp_push((double)(int32_t)MEM32(ebx + 0x6C)); /* 0x2B06B8F1: fild dword ptr [ebx + 0x6c] */ 5667 MEM32(ebp + (-0x68)) = 0x3F800000u; /* 0x2B06B8F4: mov dword ptr [ebp - 0x68], 0x3f800000 */ 5668 MEM32(ebp + (-0x6C)) = 0x3F800000u; /* 0x2B06B8FB: mov dword ptr [ebp - 0x6c], 0x3f800000 */ 5669 RECOMP_ICALL(0x2B0AB220u); /* 0x2B06B902: call 0x2b0ab220 */ /* not lifted */ 5670 RECOMP_FLAGS_IN(); 5671 fp_push((double)(int32_t)MEM32(ebx + 0x70)); /* 0x2B06B907: fild dword ptr [ebx + 0x70] */ 5672 MEM32(ebx + 0x74) = eax; /* 0x2B06B90A: mov dword ptr [ebx + 0x74], eax */ 5673 RECOMP_ICALL(0x2B0AB220u); /* 0x2B06B90D: call 0x2b0ab220 */ /* not lifted */ 5674 RECOMP_FLAGS_IN(); 5675 PUSH32(esp, 0x34u); /* 0x2B06B912: push 0x34 */ 5676 MEM32(ebx + 0x78) = eax; /* 0x2B06B914: mov dword ptr [ebx + 0x78], eax */ 5677 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06B917: call 0x2b0ab212 */ /* not lifted */ 5678 RECOMP_FLAGS_IN(); 5679 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5680 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5681 esp = esp + 4; /* 0x2B06B91C: add esp, 4 */ 5682 _flag_k = FK_ADD; 5683 MEM32(ebp + 0x8) = eax; /* 0x2B06B91F: mov dword ptr [ebp + 8], eax */ 5684 /* cmp eax, esi */ /* 0x2B06B922: cmp eax, esi */ 5685 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 5686 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5687 _flag_k = FK_CMP; 5688 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B06B924: mov byte ptr [ebp - 4], 2 */ 5689 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B93A; /* 0x2B06B928: je 0x2b06b93a */ 5690 L_2B06B92A: 5691 PUSH32(esp, 2); /* 0x2B06B92A: push 2 */ 5692 PUSH32(esp, 0x10u); /* 0x2B06B92C: push 0x10 */ 5693 PUSH32(esp, 0x10u); /* 0x2B06B92E: push 0x10 */ 5694 ecx = eax; /* 0x2B06B930: mov ecx, eax */ 5695 RECOMP_ICALL(MEM32(0x2B0B5650)); /* 0x2B06B932: call dword ptr [0x2b0b5650] */ 5696 RECOMP_FLAGS_IN(); 5697 goto L_2B06B93C; /* 0x2B06B938: jmp 0x2b06b93c */ 5698 L_2B06B93A: 5699 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5700 eax = 0; /* 0x2B06B93A: xor eax, eax */ 5701 _cf = 0; 5702 _flag_k = FK_TEST; 5703 L_2B06B93C: 5704 PUSH32(esp, esi); /* 0x2B06B93C: push esi */ 5705 PUSH32(esp, esi); /* 0x2B06B93D: push esi */ 5706 PUSH32(esp, esi); /* 0x2B06B93E: push esi */ 5707 ecx = eax; /* 0x2B06B93F: mov ecx, eax */ 5708 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06B941: mov byte ptr [ebp - 4], 1 */ 5709 MEM32(ebx + 0x90) = eax; /* 0x2B06B945: mov dword ptr [ebx + 0x90], eax */ 5710 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B06B94B: call dword ptr [0x2b0b564c] */ 5711 RECOMP_FLAGS_IN(); 5712 PUSH32(esp, 0xD8u); /* 0x2B06B951: push 0xd8 */ 5713 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06B956: call 0x2b0ab212 */ /* not lifted */ 5714 RECOMP_FLAGS_IN(); 5715 edi = eax; /* 0x2B06B95B: mov edi, eax */ 5716 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5717 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5718 esp = esp + 4; /* 0x2B06B95D: add esp, 4 */ 5719 _flag_k = FK_ADD; 5720 MEM32(ebp + (-0x20)) = edi; /* 0x2B06B960: mov dword ptr [ebp - 0x20], edi */ 5721 /* cmp edi, esi */ /* 0x2B06B963: cmp edi, esi */ 5722 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 5723 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5724 _flag_k = FK_CMP; 5725 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B06B965: mov byte ptr [ebp - 4], 3 */ 5726 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B9A2; /* 0x2B06B969: je 0x2b06b9a2 */ 5727 L_2B06B96B: 5728 ecx = MEM32(ebx + 0x90); /* 0x2B06B96B: mov ecx, dword ptr [ebx + 0x90] */ 5729 edx = ebp + 0x8; /* 0x2B06B971: lea edx, [ebp + 8] */ 5730 PUSH32(esp, edx); /* 0x2B06B974: push edx */ 5731 eax = ebp + (-0x18); /* 0x2B06B975: lea eax, [ebp - 0x18] */ 5732 PUSH32(esp, eax); /* 0x2B06B978: push eax */ 5733 PUSH32(esp, esi); /* 0x2B06B979: push esi */ 5734 PUSH32(esp, 0x6D60u); /* 0x2B06B97A: push 0x6d60 */ 5735 PUSH32(esp, ecx); /* 0x2B06B97F: push ecx */ 5736 edx = ebp + (-0x14); /* 0x2B06B980: lea edx, [ebp - 0x14] */ 5737 PUSH32(esp, edx); /* 0x2B06B983: push edx */ 5738 ecx = edi; /* 0x2B06B984: mov ecx, edi */ 5739 MEM32(ebp + 0x8) = 0x3F800000u; /* 0x2B06B986: mov dword ptr [ebp + 8], 0x3f800000 */ 5740 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06B98D: mov dword ptr [ebp - 0x18], 0x3f800000 */ 5741 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06B994: call dword ptr [0x2b0b5654] */ 5742 RECOMP_FLAGS_IN(); 5743 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06B99A: mov dword ptr [edi], 0x2b0b618c */ 5744 goto L_2B06B9A4; /* 0x2B06B9A0: jmp 0x2b06b9a4 */ 5745 L_2B06B9A2: 5746 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5747 edi = 0; /* 0x2B06B9A2: xor edi, edi */ 5748 _cf = 0; 5749 _flag_k = FK_TEST; 5750 L_2B06B9A4: 5751 PUSH32(esp, 0x50u); /* 0x2B06B9A4: push 0x50 */ 5752 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06B9A6: mov byte ptr [ebp - 4], 1 */ 5753 MEM32(ebx + 0x94) = edi; /* 0x2B06B9AA: mov dword ptr [ebx + 0x94], edi */ 5754 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06B9B0: call 0x2b0ab212 */ /* not lifted */ 5755 RECOMP_FLAGS_IN(); 5756 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5757 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5758 esp = esp + 4; /* 0x2B06B9B5: add esp, 4 */ 5759 _flag_k = FK_ADD; 5760 MEM32(ebp + 0x8) = eax; /* 0x2B06B9B8: mov dword ptr [ebp + 8], eax */ 5761 /* cmp eax, esi */ /* 0x2B06B9BB: cmp eax, esi */ 5762 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 5763 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5764 _flag_k = FK_CMP; 5765 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B06B9BD: mov byte ptr [ebp - 4], 4 */ 5766 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06B9E9; /* 0x2B06B9C1: je 0x2b06b9e9 */ 5767 L_2B06B9C3: 5768 PUSH32(esp, esi); /* 0x2B06B9C3: push esi */ 5769 PUSH32(esp, 0x3F800000u); /* 0x2B06B9C4: push 0x3f800000 */ 5770 PUSH32(esp, 0x3F800000u); /* 0x2B06B9C9: push 0x3f800000 */ 5771 PUSH32(esp, 0x6D61u); /* 0x2B06B9CE: push 0x6d61 */ 5772 ecx = ebp + (-0x14); /* 0x2B06B9D3: lea ecx, [ebp - 0x14] */ 5773 PUSH32(esp, ecx); /* 0x2B06B9D6: push ecx */ 5774 ecx = ebx + 0x74; /* 0x2B06B9D7: lea ecx, [ebx + 0x74] */ 5775 PUSH32(esp, ecx); /* 0x2B06B9DA: push ecx */ 5776 PUSH32(esp, 6); /* 0x2B06B9DB: push 6 */ 5777 PUSH32(esp, 6); /* 0x2B06B9DD: push 6 */ 5778 ecx = eax; /* 0x2B06B9DF: mov ecx, eax */ 5779 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B06B9E1: call dword ptr [0x2b0b5bd8] */ 5780 RECOMP_FLAGS_IN(); 5781 goto L_2B06B9EB; /* 0x2B06B9E7: jmp 0x2b06b9eb */ 5782 L_2B06B9E9: 5783 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5784 eax = 0; /* 0x2B06B9E9: xor eax, eax */ 5785 _cf = 0; 5786 _flag_k = FK_TEST; 5787 L_2B06B9EB: 5788 PUSH32(esp, 1); /* 0x2B06B9EB: push 1 */ 5789 MEM32(ebx + 0x98) = eax; /* 0x2B06B9ED: mov dword ptr [ebx + 0x98], eax */ 5790 eax = MEM32(eax + 0x28); /* 0x2B06B9F3: mov eax, dword ptr [eax + 0x28] */ 5791 PUSH32(esp, esi); /* 0x2B06B9F6: push esi */ 5792 PUSH32(esp, esi); /* 0x2B06B9F7: push esi */ 5793 ecx = eax; /* 0x2B06B9F8: mov ecx, eax */ 5794 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06B9FA: mov byte ptr [ebp - 4], 1 */ 5795 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B06B9FE: call dword ptr [0x2b0b564c] */ 5796 RECOMP_FLAGS_IN(); 5797 eax = MEM32(ebx + 0x74); /* 0x2B06BA04: mov eax, dword ptr [ebx + 0x74] */ 5798 ecx = MEM32(ebx + 0x78); /* 0x2B06BA07: mov ecx, dword ptr [ebx + 0x78] */ 5799 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(7); 5800 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5801 eax = eax + 7; /* 0x2B06BA0A: add eax, 7 */ 5802 _flag_k = FK_ADD; 5803 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(7); 5804 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5805 ecx = ecx + 7; /* 0x2B06BA0D: add ecx, 7 */ 5806 _flag_k = FK_ADD; 5807 PUSH32(esp, 0xACu); /* 0x2B06BA10: push 0xac */ 5808 MEM32(ebp + (-0x74)) = eax; /* 0x2B06BA15: mov dword ptr [ebp - 0x74], eax */ 5809 MEM32(ebp + (-0x70)) = ecx; /* 0x2B06BA18: mov dword ptr [ebp - 0x70], ecx */ 5810 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BA1B: call 0x2b0ab212 */ /* not lifted */ 5811 RECOMP_FLAGS_IN(); 5812 edi = eax; /* 0x2B06BA20: mov edi, eax */ 5813 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5814 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5815 esp = esp + 4; /* 0x2B06BA22: add esp, 4 */ 5816 _flag_k = FK_ADD; 5817 MEM32(ebp + 0x8) = edi; /* 0x2B06BA25: mov dword ptr [ebp + 8], edi */ 5818 /* cmp edi, esi */ /* 0x2B06BA28: cmp edi, esi */ 5819 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 5820 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5821 _flag_k = FK_CMP; 5822 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B06BA2A: mov byte ptr [ebp - 4], 5 */ 5823 eax = 8; /* 0x2B06BA2E: mov eax, 8 */ 5824 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BA9F; /* 0x2B06BA33: je 0x2b06ba9f */ 5825 L_2B06BA35: 5826 edx = MEM32(ebx + 0x98); /* 0x2B06BA35: mov edx, dword ptr [ebx + 0x98] */ 5827 PUSH32(esp, edx); /* 0x2B06BA3B: push edx */ 5828 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06BA3C: push -1 */ 5829 PUSH32(esp, 0xB1u); /* 0x2B06BA3E: push 0xb1 */ 5830 PUSH32(esp, 0x14u); /* 0x2B06BA43: push 0x14 */ 5831 PUSH32(esp, 0x6D67u); /* 0x2B06BA45: push 0x6d67 */ 5832 ecx = 1; /* 0x2B06BA4A: mov ecx, 1 */ 5833 MEM32(ebp + (-0x7C)) = eax; /* 0x2B06BA4F: mov dword ptr [ebp - 0x7c], eax */ 5834 MEM32(ebp + (-0x78)) = eax; /* 0x2B06BA52: mov dword ptr [ebp - 0x78], eax */ 5835 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B06BA55: mov dword ptr [ebp - 0x2c], ecx */ 5836 MEM32(ebp + (-0x28)) = ecx; /* 0x2B06BA58: mov dword ptr [ebp - 0x28], ecx */ 5837 eax = ebp + (-0x2C); /* 0x2B06BA5B: lea eax, [ebp - 0x2c] */ 5838 PUSH32(esp, eax); /* 0x2B06BA5E: push eax */ 5839 ecx = ebp + (-0x24); /* 0x2B06BA5F: lea ecx, [ebp - 0x24] */ 5840 PUSH32(esp, ecx); /* 0x2B06BA62: push ecx */ 5841 edx = ebp + (-0x1C); /* 0x2B06BA63: lea edx, [ebp - 0x1c] */ 5842 PUSH32(esp, edx); /* 0x2B06BA66: push edx */ 5843 eax = ebp + (-0x7C); /* 0x2B06BA67: lea eax, [ebp - 0x7c] */ 5844 PUSH32(esp, eax); /* 0x2B06BA6A: push eax */ 5845 ecx = ebp + (-0x74); /* 0x2B06BA6B: lea ecx, [ebp - 0x74] */ 5846 PUSH32(esp, ecx); /* 0x2B06BA6E: push ecx */ 5847 edx = ebp + (-0x14); /* 0x2B06BA6F: lea edx, [ebp - 0x14] */ 5848 PUSH32(esp, edx); /* 0x2B06BA72: push edx */ 5849 ecx = edi; /* 0x2B06BA73: mov ecx, edi */ 5850 MEM32(ebp + (-0x24)) = 0x668u; /* 0x2B06BA75: mov dword ptr [ebp - 0x24], 0x668 */ 5851 MEM32(ebp + (-0x20)) = 0x550u; /* 0x2B06BA7C: mov dword ptr [ebp - 0x20], 0x550 */ 5852 MEM32(ebp + (-0x1C)) = 0xA0u; /* 0x2B06BA83: mov dword ptr [ebp - 0x1c], 0xa0 */ 5853 MEM32(ebp + (-0x18)) = 0x46u; /* 0x2B06BA8A: mov dword ptr [ebp - 0x18], 0x46 */ 5854 RECOMP_ICALL(MEM32(0x2B0B574C)); /* 0x2B06BA91: call dword ptr [0x2b0b574c] */ 5855 RECOMP_FLAGS_IN(); 5856 MEM32(edi) = 0x2B0B7134u; /* 0x2B06BA97: mov dword ptr [edi], 0x2b0b7134 */ 5857 goto L_2B06BAA1; /* 0x2B06BA9D: jmp 0x2b06baa1 */ 5858 L_2B06BA9F: 5859 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5860 edi = 0; /* 0x2B06BA9F: xor edi, edi */ 5861 _cf = 0; 5862 _flag_k = FK_TEST; 5863 L_2B06BAA1: 5864 PUSH32(esp, 0x50u); /* 0x2B06BAA1: push 0x50 */ 5865 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BAA3: mov byte ptr [ebp - 4], 1 */ 5866 MEM32(ebx + 0xD4) = edi; /* 0x2B06BAA7: mov dword ptr [ebx + 0xd4], edi */ 5867 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BAAD: call 0x2b0ab212 */ /* not lifted */ 5868 RECOMP_FLAGS_IN(); 5869 edi = eax; /* 0x2B06BAB2: mov edi, eax */ 5870 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5871 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5872 esp = esp + 4; /* 0x2B06BAB4: add esp, 4 */ 5873 _flag_k = FK_ADD; 5874 MEM32(ebp + 0x8) = edi; /* 0x2B06BAB7: mov dword ptr [ebp + 8], edi */ 5875 /* cmp edi, esi */ /* 0x2B06BABA: cmp edi, esi */ 5876 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 5877 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5878 _flag_k = FK_CMP; 5879 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B06BABC: mov byte ptr [ebp - 4], 6 */ 5880 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BAF4; /* 0x2B06BAC0: je 0x2b06baf4 */ 5881 L_2B06BAC2: 5882 eax = MEM32(ebx + 0x98); /* 0x2B06BAC2: mov eax, dword ptr [ebx + 0x98] */ 5883 ecx = MEM32(ebp + (-0x10)); /* 0x2B06BAC8: mov ecx, dword ptr [ebp - 0x10] */ 5884 edx = MEM32(ebp + (-0x14)); /* 0x2B06BACB: mov edx, dword ptr [ebp - 0x14] */ 5885 PUSH32(esp, eax); /* 0x2B06BACE: push eax */ 5886 PUSH32(esp, 0x6000u); /* 0x2B06BACF: push 0x6000 */ 5887 PUSH32(esp, ecx); /* 0x2B06BAD4: push ecx */ 5888 PUSH32(esp, edx); /* 0x2B06BAD5: push edx */ 5889 PUSH32(esp, 0x6D61u); /* 0x2B06BAD6: push 0x6d61 */ 5890 PUSH32(esp, 0x2B0EE648u); /* 0x2B06BADB: push 0x2b0ee648 */ 5891 PUSH32(esp, 5); /* 0x2B06BAE0: push 5 */ 5892 ecx = edi; /* 0x2B06BAE2: mov ecx, edi */ 5893 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B06BAE4: call dword ptr [0x2b0b5950] */ 5894 RECOMP_FLAGS_IN(); 5895 MEM32(edi) = 0x2B0B6878u; /* 0x2B06BAEA: mov dword ptr [edi], 0x2b0b6878 */ 5896 ecx = edi; /* 0x2B06BAF0: mov ecx, edi */ 5897 goto L_2B06BAF6; /* 0x2B06BAF2: jmp 0x2b06baf6 */ 5898 L_2B06BAF4: 5899 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5900 ecx = 0; /* 0x2B06BAF4: xor ecx, ecx */ 5901 _cf = 0; 5902 _flag_k = FK_TEST; 5903 L_2B06BAF6: 5904 PUSH32(esp, 0x00FFFFFFu); /* 0x2B06BAF6: push 0xffffff */ 5905 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BAFB: mov byte ptr [ebp - 4], 1 */ 5906 MEM32(ebx + 0x9C) = ecx; /* 0x2B06BAFF: mov dword ptr [ebx + 0x9c], ecx */ 5907 RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B06BB05: call dword ptr [0x2b0b5858] */ 5908 RECOMP_FLAGS_IN(); 5909 eax = MEM32(ebx + 0x9C); /* 0x2B06BB0B: mov eax, dword ptr [ebx + 0x9c] */ 5910 eax = MEM32(eax + 0x34); /* 0x2B06BB11: mov eax, dword ptr [eax + 0x34] */ 5911 MEM32(ebx + 0xE8) = eax; /* 0x2B06BB14: mov dword ptr [ebx + 0xe8], eax */ 5912 eax = MEM32(ebx + 0x28); /* 0x2B06BB1A: mov eax, dword ptr [ebx + 0x28] */ 5913 ecx = MEM32(ebx + 0x78); /* 0x2B06BB1D: mov ecx, dword ptr [ebx + 0x78] */ 5914 edx = MEM32(ebx + 0x74); /* 0x2B06BB20: mov edx, dword ptr [ebx + 0x74] */ 5915 PUSH32(esp, 0x70u); /* 0x2B06BB23: push 0x70 */ 5916 MEM32(ebx + 0xE4) = eax; /* 0x2B06BB25: mov dword ptr [ebx + 0xe4], eax */ 5917 MEM32(ebp + (-0x18)) = ecx; /* 0x2B06BB2B: mov dword ptr [ebp - 0x18], ecx */ 5918 MEM32(ebp + 0x8) = edx; /* 0x2B06BB2E: mov dword ptr [ebp + 8], edx */ 5919 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BB31: call 0x2b0ab212 */ /* not lifted */ 5920 RECOMP_FLAGS_IN(); 5921 edi = eax; /* 0x2B06BB36: mov edi, eax */ 5922 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5923 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5924 esp = esp + 4; /* 0x2B06BB38: add esp, 4 */ 5925 _flag_k = FK_ADD; 5926 MEM32(ebp + (-0x20)) = edi; /* 0x2B06BB3B: mov dword ptr [ebp - 0x20], edi */ 5927 /* cmp edi, esi */ /* 0x2B06BB3E: cmp edi, esi */ 5928 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 5929 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5930 _flag_k = FK_CMP; 5931 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B06BB40: mov byte ptr [ebp - 4], 7 */ 5932 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BB83; /* 0x2B06BB44: je 0x2b06bb83 */ 5933 L_2B06BB46: 5934 eax = MEM32(ebx + 0x98); /* 0x2B06BB46: mov eax, dword ptr [ebx + 0x98] */ 5935 edx = MEM32(ebp + 0x8); /* 0x2B06BB4C: mov edx, dword ptr [ebp + 8] */ 5936 PUSH32(esp, eax); /* 0x2B06BB4F: push eax */ 5937 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06BB50: push -1 */ 5938 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06BB52: push -1 */ 5939 PUSH32(esp, 0x1Cu); /* 0x2B06BB54: push 0x1c */ 5940 PUSH32(esp, esi); /* 0x2B06BB56: push esi */ 5941 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 5942 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5943 esp = esp - 0x10u; /* 0x2B06BB57: sub esp, 0x10 */ 5944 _flag_k = FK_CMP; 5945 ecx = esp; /* 0x2B06BB5A: mov ecx, esp */ 5946 MEM32(ecx) = esi; /* 0x2B06BB5C: mov dword ptr [ecx], esi */ 5947 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5948 eax = 0; /* 0x2B06BB5E: xor eax, eax */ 5949 _cf = 0; 5950 _flag_k = FK_TEST; 5951 MEM32(ecx + 0x4) = eax; /* 0x2B06BB60: mov dword ptr [ecx + 4], eax */ 5952 eax = MEM32(ebp + (-0x18)); /* 0x2B06BB63: mov eax, dword ptr [ebp - 0x18] */ 5953 PUSH32(esp, 0x6D64u); /* 0x2B06BB66: push 0x6d64 */ 5954 MEM32(ecx + 0x8) = edx; /* 0x2B06BB6B: mov dword ptr [ecx + 8], edx */ 5955 PUSH32(esp, esi); /* 0x2B06BB6E: push esi */ 5956 MEM32(ecx + 0xC) = eax; /* 0x2B06BB6F: mov dword ptr [ecx + 0xc], eax */ 5957 PUSH32(esp, esi); /* 0x2B06BB72: push esi */ 5958 ecx = edi; /* 0x2B06BB73: mov ecx, edi */ 5959 RECOMP_ICALL(MEM32(0x2B0B5C00)); /* 0x2B06BB75: call dword ptr [0x2b0b5c00] */ 5960 RECOMP_FLAGS_IN(); 5961 MEM32(edi) = 0x2B0B6164u; /* 0x2B06BB7B: mov dword ptr [edi], 0x2b0b6164 */ 5962 goto L_2B06BB85; /* 0x2B06BB81: jmp 0x2b06bb85 */ 5963 L_2B06BB83: 5964 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5965 edi = 0; /* 0x2B06BB83: xor edi, edi */ 5966 _cf = 0; 5967 _flag_k = FK_TEST; 5968 L_2B06BB85: 5969 PUSH32(esp, 0x2B0EB4B0u); /* 0x2B06BB85: push 0x2b0eb4b0 */ 5970 ecx = edi; /* 0x2B06BB8A: mov ecx, edi */ 5971 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BB8C: mov byte ptr [ebp - 4], 1 */ 5972 MEM32(ebx + 0xA0) = edi; /* 0x2B06BB90: mov dword ptr [ebx + 0xa0], edi */ 5973 RECOMP_ICALL(MEM32(0x2B0B5C04)); /* 0x2B06BB96: call dword ptr [0x2b0b5c04] */ 5974 RECOMP_FLAGS_IN(); 5975 PUSH32(esp, 0x9Cu); /* 0x2B06BB9C: push 0x9c */ 5976 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BBA1: call 0x2b0ab212 */ /* not lifted */ 5977 RECOMP_FLAGS_IN(); 5978 edi = eax; /* 0x2B06BBA6: mov edi, eax */ 5979 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5980 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5981 esp = esp + 4; /* 0x2B06BBA8: add esp, 4 */ 5982 _flag_k = FK_ADD; 5983 MEM32(ebp + 0x8) = edi; /* 0x2B06BBAB: mov dword ptr [ebp + 8], edi */ 5984 /* cmp edi, esi */ /* 0x2B06BBAE: cmp edi, esi */ 5985 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 5986 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5987 _flag_k = FK_CMP; 5988 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B06BBB0: mov byte ptr [ebp - 4], 8 */ 5989 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BBE4; /* 0x2B06BBB4: je 0x2b06bbe4 */ 5990 L_2B06BBB6: 5991 ecx = MEM32(ebx + 0x68); /* 0x2B06BBB6: mov ecx, dword ptr [ebx + 0x68] */ 5992 edx = MEM32(ebx + 0x64); /* 0x2B06BBB9: mov edx, dword ptr [ebx + 0x64] */ 5993 eax = MEM32(ebp + (-0x10)); /* 0x2B06BBBC: mov eax, dword ptr [ebp - 0x10] */ 5994 PUSH32(esp, esi); /* 0x2B06BBBF: push esi */ 5995 PUSH32(esp, 4); /* 0x2B06BBC0: push 4 */ 5996 PUSH32(esp, esi); /* 0x2B06BBC2: push esi */ 5997 PUSH32(esp, 0x6D61u); /* 0x2B06BBC3: push 0x6d61 */ 5998 PUSH32(esp, esi); /* 0x2B06BBC8: push esi */ 5999 PUSH32(esp, esi); /* 0x2B06BBC9: push esi */ 6000 PUSH32(esp, esi); /* 0x2B06BBCA: push esi */ 6001 PUSH32(esp, ecx); /* 0x2B06BBCB: push ecx */ 6002 ecx = MEM32(ebp + (-0x14)); /* 0x2B06BBCC: mov ecx, dword ptr [ebp - 0x14] */ 6003 PUSH32(esp, edx); /* 0x2B06BBCF: push edx */ 6004 PUSH32(esp, eax); /* 0x2B06BBD0: push eax */ 6005 PUSH32(esp, ecx); /* 0x2B06BBD1: push ecx */ 6006 ecx = edi; /* 0x2B06BBD2: mov ecx, edi */ 6007 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B06BBD4: call dword ptr [0x2b0b5af0] */ 6008 RECOMP_FLAGS_IN(); 6009 MEM32(edi) = 0x2B0B642Cu; /* 0x2B06BBDA: mov dword ptr [edi], 0x2b0b642c */ 6010 eax = edi; /* 0x2B06BBE0: mov eax, edi */ 6011 goto L_2B06BBE6; /* 0x2B06BBE2: jmp 0x2b06bbe6 */ 6012 L_2B06BBE4: 6013 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6014 eax = 0; /* 0x2B06BBE4: xor eax, eax */ 6015 _cf = 0; 6016 _flag_k = FK_TEST; 6017 L_2B06BBE6: 6018 MEM32(ebx + 0x8C) = eax; /* 0x2B06BBE6: mov dword ptr [ebx + 0x8c], eax */ 6019 MEM32(eax + 0x7C) = 0x2B06D150u; /* 0x2B06BBEC: mov dword ptr [eax + 0x7c], 0x2b06d150 */ 6020 MEM32(eax + 0x80) = ebx; /* 0x2B06BBF3: mov dword ptr [eax + 0x80], ebx */ 6021 MEM8(eax + 0x24) = (uint8_t)(1); /* 0x2B06BBF9: mov byte ptr [eax + 0x24], 1 */ 6022 MEM8(eax + 0x25) = (uint8_t)(1); /* 0x2B06BBFD: mov byte ptr [eax + 0x25], 1 */ 6023 eax = MEM32(ebx + 0x8C); /* 0x2B06BC01: mov eax, dword ptr [ebx + 0x8c] */ 6024 PUSH32(esp, 0x9Cu); /* 0x2B06BC07: push 0x9c */ 6025 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BC0C: mov byte ptr [ebp - 4], 1 */ 6026 MEM32(eax + 0x1C) = 0x2B06D180u; /* 0x2B06BC10: mov dword ptr [eax + 0x1c], 0x2b06d180 */ 6027 MEM32(eax + 0x20) = ebx; /* 0x2B06BC17: mov dword ptr [eax + 0x20], ebx */ 6028 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BC1A: call 0x2b0ab212 */ /* not lifted */ 6029 RECOMP_FLAGS_IN(); 6030 edi = eax; /* 0x2B06BC1F: mov edi, eax */ 6031 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6032 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6033 esp = esp + 4; /* 0x2B06BC21: add esp, 4 */ 6034 _flag_k = FK_ADD; 6035 MEM32(ebp + 0x8) = edi; /* 0x2B06BC24: mov dword ptr [ebp + 8], edi */ 6036 /* cmp edi, esi */ /* 0x2B06BC27: cmp edi, esi */ 6037 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 6038 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6039 _flag_k = FK_CMP; 6040 MEM8(ebp + (-0x4)) = (uint8_t)(9); /* 0x2B06BC29: mov byte ptr [ebp - 4], 9 */ 6041 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BC5D; /* 0x2B06BC2D: je 0x2b06bc5d */ 6042 L_2B06BC2F: 6043 edx = MEM32(ebx + 0x68); /* 0x2B06BC2F: mov edx, dword ptr [ebx + 0x68] */ 6044 eax = MEM32(ebx + 0x64); /* 0x2B06BC32: mov eax, dword ptr [ebx + 0x64] */ 6045 ecx = MEM32(ebp + (-0x10)); /* 0x2B06BC35: mov ecx, dword ptr [ebp - 0x10] */ 6046 PUSH32(esp, esi); /* 0x2B06BC38: push esi */ 6047 PUSH32(esp, 4); /* 0x2B06BC39: push 4 */ 6048 PUSH32(esp, esi); /* 0x2B06BC3B: push esi */ 6049 PUSH32(esp, 0x6D60u); /* 0x2B06BC3C: push 0x6d60 */ 6050 PUSH32(esp, esi); /* 0x2B06BC41: push esi */ 6051 PUSH32(esp, esi); /* 0x2B06BC42: push esi */ 6052 PUSH32(esp, esi); /* 0x2B06BC43: push esi */ 6053 PUSH32(esp, edx); /* 0x2B06BC44: push edx */ 6054 edx = MEM32(ebp + (-0x14)); /* 0x2B06BC45: mov edx, dword ptr [ebp - 0x14] */ 6055 PUSH32(esp, eax); /* 0x2B06BC48: push eax */ 6056 PUSH32(esp, ecx); /* 0x2B06BC49: push ecx */ 6057 PUSH32(esp, edx); /* 0x2B06BC4A: push edx */ 6058 ecx = edi; /* 0x2B06BC4B: mov ecx, edi */ 6059 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B06BC4D: call dword ptr [0x2b0b5af0] */ 6060 RECOMP_FLAGS_IN(); 6061 MEM32(edi) = 0x2B0B642Cu; /* 0x2B06BC53: mov dword ptr [edi], 0x2b0b642c */ 6062 eax = edi; /* 0x2B06BC59: mov eax, edi */ 6063 goto L_2B06BC5F; /* 0x2B06BC5B: jmp 0x2b06bc5f */ 6064 L_2B06BC5D: 6065 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6066 eax = 0; /* 0x2B06BC5D: xor eax, eax */ 6067 _cf = 0; 6068 _flag_k = FK_TEST; 6069 L_2B06BC5F: 6070 MEM32(ebx + 0x88) = eax; /* 0x2B06BC5F: mov dword ptr [ebx + 0x88], eax */ 6071 MEM32(eax + 0x1C) = 0x2B06D180u; /* 0x2B06BC65: mov dword ptr [eax + 0x1c], 0x2b06d180 */ 6072 MEM32(eax + 0x20) = ebx; /* 0x2B06BC6C: mov dword ptr [eax + 0x20], ebx */ 6073 eax = MEM32(ebx + 0x7C); /* 0x2B06BC6F: mov eax, dword ptr [ebx + 0x7c] */ 6074 PUSH32(esp, 2); /* 0x2B06BC72: push 2 */ 6075 PUSH32(esp, 9); /* 0x2B06BC74: push 9 */ 6076 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BC76: mov byte ptr [ebp - 4], 1 */ 6077 MEM32(ebp + (-0x34)) = eax; /* 0x2B06BC7A: mov dword ptr [ebp - 0x34], eax */ 6078 MEM32(ebp + (-0x30)) = eax; /* 0x2B06BC7D: mov dword ptr [ebp - 0x30], eax */ 6079 MEM32(ebp + (-0x8C)) = esi; /* 0x2B06BC80: mov dword ptr [ebp - 0x8c], esi */ 6080 MEM32(ebp + (-0x88)) = esi; /* 0x2B06BC86: mov dword ptr [ebp - 0x88], esi */ 6081 MEM32(ebp + (-0x84)) = eax; /* 0x2B06BC8C: mov dword ptr [ebp - 0x84], eax */ 6082 MEM32(ebp + (-0x80)) = eax; /* 0x2B06BC92: mov dword ptr [ebp - 0x80], eax */ 6083 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06BC95: call dword ptr [0x2b0b5f80] */ 6084 RECOMP_FLAGS_IN(); 6085 ecx = eax; /* 0x2B06BC9B: mov ecx, eax */ 6086 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06BC9D: call dword ptr [0x2b0b5fbc] */ 6087 RECOMP_FLAGS_IN(); 6088 PUSH32(esp, 0x50u); /* 0x2B06BCA3: push 0x50 */ 6089 edi = eax; /* 0x2B06BCA5: mov edi, eax */ 6090 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BCA7: call 0x2b0ab212 */ /* not lifted */ 6091 RECOMP_FLAGS_IN(); 6092 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6093 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6094 esp = esp + 4; /* 0x2B06BCAC: add esp, 4 */ 6095 _flag_k = FK_ADD; 6096 MEM32(ebp + 0x8) = eax; /* 0x2B06BCAF: mov dword ptr [ebp + 8], eax */ 6097 /* cmp eax, esi */ /* 0x2B06BCB2: cmp eax, esi */ 6098 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 6099 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6100 _flag_k = FK_CMP; 6101 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B06BCB4: mov byte ptr [ebp - 4], 0xa */ 6102 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BCE0; /* 0x2B06BCB8: je 0x2b06bce0 */ 6103 L_2B06BCBA: 6104 PUSH32(esp, esi); /* 0x2B06BCBA: push esi */ 6105 PUSH32(esp, 0x3F800000u); /* 0x2B06BCBB: push 0x3f800000 */ 6106 PUSH32(esp, 0x3F800000u); /* 0x2B06BCC0: push 0x3f800000 */ 6107 PUSH32(esp, 0x6D60u); /* 0x2B06BCC5: push 0x6d60 */ 6108 ecx = ebp + (-0x14); /* 0x2B06BCCA: lea ecx, [ebp - 0x14] */ 6109 PUSH32(esp, ecx); /* 0x2B06BCCD: push ecx */ 6110 edx = ebp + (-0x34); /* 0x2B06BCCE: lea edx, [ebp - 0x34] */ 6111 PUSH32(esp, edx); /* 0x2B06BCD1: push edx */ 6112 PUSH32(esp, 4); /* 0x2B06BCD2: push 4 */ 6113 PUSH32(esp, 4); /* 0x2B06BCD4: push 4 */ 6114 ecx = eax; /* 0x2B06BCD6: mov ecx, eax */ 6115 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B06BCD8: call dword ptr [0x2b0b5bd8] */ 6116 RECOMP_FLAGS_IN(); 6117 goto L_2B06BCE2; /* 0x2B06BCDE: jmp 0x2b06bce2 */ 6118 L_2B06BCE0: 6119 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6120 eax = 0; /* 0x2B06BCE0: xor eax, eax */ 6121 _cf = 0; 6122 _flag_k = FK_TEST; 6123 L_2B06BCE2: 6124 PUSH32(esp, 1); /* 0x2B06BCE2: push 1 */ 6125 MEM32(ebx + 0xA4) = eax; /* 0x2B06BCE4: mov dword ptr [ebx + 0xa4], eax */ 6126 eax = MEM32(eax + 0x28); /* 0x2B06BCEA: mov eax, dword ptr [eax + 0x28] */ 6127 PUSH32(esp, esi); /* 0x2B06BCED: push esi */ 6128 PUSH32(esp, esi); /* 0x2B06BCEE: push esi */ 6129 ecx = eax; /* 0x2B06BCEF: mov ecx, eax */ 6130 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BCF1: mov byte ptr [ebp - 4], 1 */ 6131 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B06BCF5: call dword ptr [0x2b0b564c] */ 6132 RECOMP_FLAGS_IN(); 6133 eax = MEM32(ebx + 0xA4); /* 0x2B06BCFB: mov eax, dword ptr [ebx + 0xa4] */ 6134 ecx = MEM32(eax + 0x28); /* 0x2B06BD01: mov ecx, dword ptr [eax + 0x28] */ 6135 PUSH32(esp, 0xFF00u); /* 0x2B06BD04: push 0xff00 */ 6136 PUSH32(esp, edi); /* 0x2B06BD09: push edi */ 6137 edx = ebp + (-0x14); /* 0x2B06BD0A: lea edx, [ebp - 0x14] */ 6138 PUSH32(esp, edx); /* 0x2B06BD0D: push edx */ 6139 eax = ebp + (-0x8C); /* 0x2B06BD0E: lea eax, [ebp - 0x8c] */ 6140 PUSH32(esp, eax); /* 0x2B06BD14: push eax */ 6141 RECOMP_ICALL(MEM32(0x2B0B5554)); /* 0x2B06BD15: call dword ptr [0x2b0b5554] */ 6142 RECOMP_FLAGS_IN(); 6143 ecx = MEM32(ebx + 0xA4); /* 0x2B06BD1B: mov ecx, dword ptr [ebx + 0xa4] */ 6144 RECOMP_ICALL(MEM32(0x2B0B5BDC)); /* 0x2B06BD21: call dword ptr [0x2b0b5bdc] */ 6145 RECOMP_FLAGS_IN(); 6146 PUSH32(esp, edi); /* 0x2B06BD27: push edi */ 6147 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06BD28: call dword ptr [0x2b0b5f80] */ 6148 RECOMP_FLAGS_IN(); 6149 ecx = eax; /* 0x2B06BD2E: mov ecx, eax */ 6150 RECOMP_ICALL(MEM32(0x2B0B5FB8)); /* 0x2B06BD30: call dword ptr [0x2b0b5fb8] */ 6151 RECOMP_FLAGS_IN(); 6152 PUSH32(esp, 0x9Cu); /* 0x2B06BD36: push 0x9c */ 6153 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BD3B: call 0x2b0ab212 */ /* not lifted */ 6154 RECOMP_FLAGS_IN(); 6155 edi = eax; /* 0x2B06BD40: mov edi, eax */ 6156 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6157 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6158 esp = esp + 4; /* 0x2B06BD42: add esp, 4 */ 6159 _flag_k = FK_ADD; 6160 MEM32(ebp + 0x8) = edi; /* 0x2B06BD45: mov dword ptr [ebp + 8], edi */ 6161 /* cmp edi, esi */ /* 0x2B06BD48: cmp edi, esi */ 6162 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 6163 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6164 _flag_k = FK_CMP; 6165 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B06BD4A: mov byte ptr [ebp - 4], 0xb */ 6166 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BD84; /* 0x2B06BD4E: je 0x2b06bd84 */ 6167 L_2B06BD50: 6168 ecx = MEM32(ebx + 0xA4); /* 0x2B06BD50: mov ecx, dword ptr [ebx + 0xa4] */ 6169 edx = MEM32(ebp + (-0x30)); /* 0x2B06BD56: mov edx, dword ptr [ebp - 0x30] */ 6170 eax = MEM32(ebp + (-0x34)); /* 0x2B06BD59: mov eax, dword ptr [ebp - 0x34] */ 6171 PUSH32(esp, ecx); /* 0x2B06BD5C: push ecx */ 6172 ecx = MEM32(ebp + (-0x10)); /* 0x2B06BD5D: mov ecx, dword ptr [ebp - 0x10] */ 6173 PUSH32(esp, 4); /* 0x2B06BD60: push 4 */ 6174 PUSH32(esp, esi); /* 0x2B06BD62: push esi */ 6175 PUSH32(esp, 0x6D61u); /* 0x2B06BD63: push 0x6d61 */ 6176 PUSH32(esp, esi); /* 0x2B06BD68: push esi */ 6177 PUSH32(esp, esi); /* 0x2B06BD69: push esi */ 6178 PUSH32(esp, esi); /* 0x2B06BD6A: push esi */ 6179 PUSH32(esp, edx); /* 0x2B06BD6B: push edx */ 6180 edx = MEM32(ebp + (-0x14)); /* 0x2B06BD6C: mov edx, dword ptr [ebp - 0x14] */ 6181 PUSH32(esp, eax); /* 0x2B06BD6F: push eax */ 6182 PUSH32(esp, ecx); /* 0x2B06BD70: push ecx */ 6183 PUSH32(esp, edx); /* 0x2B06BD71: push edx */ 6184 ecx = edi; /* 0x2B06BD72: mov ecx, edi */ 6185 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B06BD74: call dword ptr [0x2b0b5af0] */ 6186 RECOMP_FLAGS_IN(); 6187 MEM32(edi) = 0x2B0B642Cu; /* 0x2B06BD7A: mov dword ptr [edi], 0x2b0b642c */ 6188 eax = edi; /* 0x2B06BD80: mov eax, edi */ 6189 goto L_2B06BD86; /* 0x2B06BD82: jmp 0x2b06bd86 */ 6190 L_2B06BD84: 6191 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6192 eax = 0; /* 0x2B06BD84: xor eax, eax */ 6193 _cf = 0; 6194 _flag_k = FK_TEST; 6195 L_2B06BD86: 6196 MEM32(ebx + 0xD0) = eax; /* 0x2B06BD86: mov dword ptr [ebx + 0xd0], eax */ 6197 MEM32(eax + 0x7C) = 0x2B06D300u; /* 0x2B06BD8C: mov dword ptr [eax + 0x7c], 0x2b06d300 */ 6198 MEM32(eax + 0x80) = ebx; /* 0x2B06BD93: mov dword ptr [eax + 0x80], ebx */ 6199 MEM8(eax + 0x24) = (uint8_t)(1); /* 0x2B06BD99: mov byte ptr [eax + 0x24], 1 */ 6200 MEM8(eax + 0x25) = (uint8_t)(1); /* 0x2B06BD9D: mov byte ptr [eax + 0x25], 1 */ 6201 eax = MEM32(ebx + 0xD0); /* 0x2B06BDA1: mov eax, dword ptr [ebx + 0xd0] */ 6202 MEM32(eax + 0x1C) = 0x2B06D180u; /* 0x2B06BDA7: mov dword ptr [eax + 0x1c], 0x2b06d180 */ 6203 MEM32(eax + 0x20) = ebx; /* 0x2B06BDAE: mov dword ptr [eax + 0x20], ebx */ 6204 eax = MEM32(ebx + 0x7C); /* 0x2B06BDB1: mov eax, dword ptr [ebx + 0x7c] */ 6205 if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2B06BDB4: shl eax, 2 */ 6206 if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6207 eax = eax << 2u; /* 0x2B06BDB4: shl eax, 2 */ 6208 PUSH32(esp, 0x50u); /* 0x2B06BDB7: push 0x50 */ 6209 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BDB9: mov byte ptr [ebp - 4], 1 */ 6210 MEM32(ebp + (-0x34)) = eax; /* 0x2B06BDBD: mov dword ptr [ebp - 0x34], eax */ 6211 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BDC0: call 0x2b0ab212 */ /* not lifted */ 6212 RECOMP_FLAGS_IN(); 6213 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6214 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6215 esp = esp + 4; /* 0x2B06BDC5: add esp, 4 */ 6216 _flag_k = FK_ADD; 6217 MEM32(ebp + 0x8) = eax; /* 0x2B06BDC8: mov dword ptr [ebp + 8], eax */ 6218 /* cmp eax, esi */ /* 0x2B06BDCB: cmp eax, esi */ 6219 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 6220 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6221 _flag_k = FK_CMP; 6222 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x2B06BDCD: mov byte ptr [ebp - 4], 0xc */ 6223 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BDF9; /* 0x2B06BDD1: je 0x2b06bdf9 */ 6224 L_2B06BDD3: 6225 PUSH32(esp, esi); /* 0x2B06BDD3: push esi */ 6226 PUSH32(esp, 0x3F800000u); /* 0x2B06BDD4: push 0x3f800000 */ 6227 PUSH32(esp, 0x3F800000u); /* 0x2B06BDD9: push 0x3f800000 */ 6228 PUSH32(esp, 0x6D60u); /* 0x2B06BDDE: push 0x6d60 */ 6229 ecx = ebp + (-0x14); /* 0x2B06BDE3: lea ecx, [ebp - 0x14] */ 6230 PUSH32(esp, ecx); /* 0x2B06BDE6: push ecx */ 6231 edx = ebp + (-0x34); /* 0x2B06BDE7: lea edx, [ebp - 0x34] */ 6232 PUSH32(esp, edx); /* 0x2B06BDEA: push edx */ 6233 PUSH32(esp, 4); /* 0x2B06BDEB: push 4 */ 6234 PUSH32(esp, 6); /* 0x2B06BDED: push 6 */ 6235 ecx = eax; /* 0x2B06BDEF: mov ecx, eax */ 6236 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B06BDF1: call dword ptr [0x2b0b5bd8] */ 6237 RECOMP_FLAGS_IN(); 6238 goto L_2B06BDFB; /* 0x2B06BDF7: jmp 0x2b06bdfb */ 6239 L_2B06BDF9: 6240 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6241 eax = 0; /* 0x2B06BDF9: xor eax, eax */ 6242 _cf = 0; 6243 _flag_k = FK_TEST; 6244 L_2B06BDFB: 6245 PUSH32(esp, 1); /* 0x2B06BDFB: push 1 */ 6246 MEM32(ebx + 0xA8) = eax; /* 0x2B06BDFD: mov dword ptr [ebx + 0xa8], eax */ 6247 eax = MEM32(eax + 0x28); /* 0x2B06BE03: mov eax, dword ptr [eax + 0x28] */ 6248 PUSH32(esp, esi); /* 0x2B06BE06: push esi */ 6249 PUSH32(esp, esi); /* 0x2B06BE07: push esi */ 6250 ecx = eax; /* 0x2B06BE08: mov ecx, eax */ 6251 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BE0A: mov byte ptr [ebp - 4], 1 */ 6252 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B06BE0E: call dword ptr [0x2b0b564c] */ 6253 RECOMP_FLAGS_IN(); 6254 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6255 eax = 0; /* 0x2B06BE14: xor eax, eax */ 6256 _cf = 0; 6257 _flag_k = FK_TEST; 6258 ecx = 0xCu; /* 0x2B06BE16: mov ecx, 0xc */ 6259 edi = ebp + (-0x64); /* 0x2B06BE1B: lea edi, [ebp - 0x64] */ 6260 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BE1E: 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; } 6261 ecx = 0xCu; /* 0x2B06BE20: mov ecx, 0xc */ 6262 edi = ebp + (-0x64); /* 0x2B06BE25: lea edi, [ebp - 0x64] */ 6263 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BE28: 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; } 6264 eax = MEM32(ebx + 0x7C); /* 0x2B06BE2A: mov eax, dword ptr [ebx + 0x7c] */ 6265 PUSH32(esp, 0xBCu); /* 0x2B06BE2D: push 0xbc */ 6266 MEM32(ebp + (-0x58)) = 0x2B0EB4A8u; /* 0x2B06BE32: mov dword ptr [ebp - 0x58], 0x2b0eb4a8 */ 6267 MEM32(ebp + (-0x54)) = eax; /* 0x2B06BE39: mov dword ptr [ebp - 0x54], eax */ 6268 MEM32(ebp + (-0x4C)) = 0x6D61u; /* 0x2B06BE3C: mov dword ptr [ebp - 0x4c], 0x6d61 */ 6269 MEM32(ebp + (-0x64)) = 1; /* 0x2B06BE43: mov dword ptr [ebp - 0x64], 1 */ 6270 MEM32(ebp + (-0x44)) = 0x64u; /* 0x2B06BE4A: mov dword ptr [ebp - 0x44], 0x64 */ 6271 MEM32(ebp + (-0x40)) = 0x65u; /* 0x2B06BE51: mov dword ptr [ebp - 0x40], 0x65 */ 6272 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BE58: call 0x2b0ab212 */ /* not lifted */ 6273 RECOMP_FLAGS_IN(); 6274 edi = eax; /* 0x2B06BE5D: mov edi, eax */ 6275 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6276 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6277 esp = esp + 4; /* 0x2B06BE5F: add esp, 4 */ 6278 _flag_k = FK_ADD; 6279 MEM32(ebp + 0x8) = edi; /* 0x2B06BE62: mov dword ptr [ebp + 8], edi */ 6280 /* cmp edi, esi */ /* 0x2B06BE65: cmp edi, esi */ 6281 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 6282 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6283 _flag_k = FK_CMP; 6284 MEM8(ebp + (-0x4)) = (uint8_t)(0xDu); /* 0x2B06BE67: mov byte ptr [ebp - 4], 0xd */ 6285 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BE8A; /* 0x2B06BE6B: je 0x2b06be8a */ 6286 L_2B06BE6D: 6287 ecx = MEM32(ebx + 0xA8); /* 0x2B06BE6D: mov ecx, dword ptr [ebx + 0xa8] */ 6288 PUSH32(esp, ecx); /* 0x2B06BE73: push ecx */ 6289 edx = ebp + (-0x64); /* 0x2B06BE74: lea edx, [ebp - 0x64] */ 6290 PUSH32(esp, edx); /* 0x2B06BE77: push edx */ 6291 ecx = edi; /* 0x2B06BE78: mov ecx, edi */ 6292 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B06BE7A: call dword ptr [0x2b0b5afc] */ 6293 RECOMP_FLAGS_IN(); 6294 MEM32(edi) = 0x2B0B645Cu; /* 0x2B06BE80: mov dword ptr [edi], 0x2b0b645c */ 6295 ecx = edi; /* 0x2B06BE86: mov ecx, edi */ 6296 goto L_2B06BE8C; /* 0x2B06BE88: jmp 0x2b06be8c */ 6297 L_2B06BE8A: 6298 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6299 ecx = 0; /* 0x2B06BE8A: xor ecx, ecx */ 6300 _cf = 0; 6301 _flag_k = FK_TEST; 6302 L_2B06BE8C: 6303 PUSH32(esp, ebx); /* 0x2B06BE8C: push ebx */ 6304 PUSH32(esp, 0x2B06D3A0u); /* 0x2B06BE8D: push 0x2b06d3a0 */ 6305 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BE92: mov byte ptr [ebp - 4], 1 */ 6306 MEM32(ebx + 0xCC) = ecx; /* 0x2B06BE96: mov dword ptr [ebx + 0xcc], ecx */ 6307 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B06BE9C: call dword ptr [0x2b0b5af8] */ 6308 RECOMP_FLAGS_IN(); 6309 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6310 eax = 0; /* 0x2B06BEA2: xor eax, eax */ 6311 _cf = 0; 6312 _flag_k = FK_TEST; 6313 ecx = 0xCu; /* 0x2B06BEA4: mov ecx, 0xc */ 6314 edi = ebp + (-0x64); /* 0x2B06BEA9: lea edi, [ebp - 0x64] */ 6315 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BEAC: 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; } 6316 eax = MEM32(ebx + 0x7C); /* 0x2B06BEAE: mov eax, dword ptr [ebx + 0x7c] */ 6317 if (1u) _cf = (((eax) >> 31) & 1u); /* 0x2B06BEB1: shl eax, 1 */ 6318 if (1u) { _flag_a = recomp_flags_pack((eax << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6319 eax = eax << 1u; /* 0x2B06BEB1: shl eax, 1 */ 6320 PUSH32(esp, 0xBCu); /* 0x2B06BEB3: push 0xbc */ 6321 MEM32(ebp + (-0x54)) = eax; /* 0x2B06BEB8: mov dword ptr [ebp - 0x54], eax */ 6322 MEM32(ebp + (-0x58)) = 0x2B0EB4A0u; /* 0x2B06BEBB: mov dword ptr [ebp - 0x58], 0x2b0eb4a0 */ 6323 MEM32(ebp + (-0x4C)) = 0x6D61u; /* 0x2B06BEC2: mov dword ptr [ebp - 0x4c], 0x6d61 */ 6324 MEM32(ebp + (-0x48)) = 0x66u; /* 0x2B06BEC9: mov dword ptr [ebp - 0x48], 0x66 */ 6325 MEM32(ebp + (-0x44)) = 0x67u; /* 0x2B06BED0: mov dword ptr [ebp - 0x44], 0x67 */ 6326 MEM32(ebp + (-0x40)) = 0x68u; /* 0x2B06BED7: mov dword ptr [ebp - 0x40], 0x68 */ 6327 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BEDE: call 0x2b0ab212 */ /* not lifted */ 6328 RECOMP_FLAGS_IN(); 6329 edi = eax; /* 0x2B06BEE3: mov edi, eax */ 6330 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6331 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6332 esp = esp + 4; /* 0x2B06BEE5: add esp, 4 */ 6333 _flag_k = FK_ADD; 6334 MEM32(ebp + 0x8) = edi; /* 0x2B06BEE8: mov dword ptr [ebp + 8], edi */ 6335 /* cmp edi, esi */ /* 0x2B06BEEB: cmp edi, esi */ 6336 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 6337 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6338 _flag_k = FK_CMP; 6339 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x2B06BEED: mov byte ptr [ebp - 4], 0xe */ 6340 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BF10; /* 0x2B06BEF1: je 0x2b06bf10 */ 6341 L_2B06BEF3: 6342 ecx = MEM32(ebx + 0xA8); /* 0x2B06BEF3: mov ecx, dword ptr [ebx + 0xa8] */ 6343 PUSH32(esp, ecx); /* 0x2B06BEF9: push ecx */ 6344 edx = ebp + (-0x64); /* 0x2B06BEFA: lea edx, [ebp - 0x64] */ 6345 PUSH32(esp, edx); /* 0x2B06BEFD: push edx */ 6346 ecx = edi; /* 0x2B06BEFE: mov ecx, edi */ 6347 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B06BF00: call dword ptr [0x2b0b5afc] */ 6348 RECOMP_FLAGS_IN(); 6349 MEM32(edi) = 0x2B0B645Cu; /* 0x2B06BF06: mov dword ptr [edi], 0x2b0b645c */ 6350 ecx = edi; /* 0x2B06BF0C: mov ecx, edi */ 6351 goto L_2B06BF12; /* 0x2B06BF0E: jmp 0x2b06bf12 */ 6352 L_2B06BF10: 6353 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6354 ecx = 0; /* 0x2B06BF10: xor ecx, ecx */ 6355 _cf = 0; 6356 _flag_k = FK_TEST; 6357 L_2B06BF12: 6358 PUSH32(esp, ebx); /* 0x2B06BF12: push ebx */ 6359 PUSH32(esp, 0x2B06D360u); /* 0x2B06BF13: push 0x2b06d360 */ 6360 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BF18: mov byte ptr [ebp - 4], 1 */ 6361 MEM32(ebx + 0xC8) = ecx; /* 0x2B06BF1C: mov dword ptr [ebx + 0xc8], ecx */ 6362 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B06BF22: call dword ptr [0x2b0b5af8] */ 6363 RECOMP_FLAGS_IN(); 6364 ecx = MEM32(ebx + 0xC8); /* 0x2B06BF28: mov ecx, dword ptr [ebx + 0xc8] */ 6365 PUSH32(esp, esi); /* 0x2B06BF2E: push esi */ 6366 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06BF2F: call dword ptr [0x2b0b5ab4] */ 6367 RECOMP_FLAGS_IN(); 6368 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6369 eax = 0; /* 0x2B06BF35: xor eax, eax */ 6370 _cf = 0; 6371 _flag_k = FK_TEST; 6372 ecx = 0xCu; /* 0x2B06BF37: mov ecx, 0xc */ 6373 edi = ebp + (-0x64); /* 0x2B06BF3C: lea edi, [ebp - 0x64] */ 6374 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BF3F: 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; } 6375 eax = MEM32(ebx + 0x7C); /* 0x2B06BF41: mov eax, dword ptr [ebx + 0x7c] */ 6376 eax = eax + eax * 2; /* 0x2B06BF44: lea eax, [eax + eax*2] */ 6377 PUSH32(esp, 0xBCu); /* 0x2B06BF47: push 0xbc */ 6378 MEM32(ebp + (-0x54)) = eax; /* 0x2B06BF4C: mov dword ptr [ebp - 0x54], eax */ 6379 MEM32(ebp + (-0x58)) = 0x2B0E6EE8u; /* 0x2B06BF4F: mov dword ptr [ebp - 0x58], 0x2b0e6ee8 */ 6380 MEM32(ebp + (-0x4C)) = 0x6D61u; /* 0x2B06BF56: mov dword ptr [ebp - 0x4c], 0x6d61 */ 6381 MEM32(ebp + (-0x48)) = 0xAu; /* 0x2B06BF5D: mov dword ptr [ebp - 0x48], 0xa */ 6382 MEM32(ebp + (-0x44)) = 0x69u; /* 0x2B06BF64: mov dword ptr [ebp - 0x44], 0x69 */ 6383 MEM32(ebp + (-0x40)) = 0x6Au; /* 0x2B06BF6B: mov dword ptr [ebp - 0x40], 0x6a */ 6384 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BF72: call 0x2b0ab212 */ /* not lifted */ 6385 RECOMP_FLAGS_IN(); 6386 edi = eax; /* 0x2B06BF77: mov edi, eax */ 6387 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6388 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6389 esp = esp + 4; /* 0x2B06BF79: add esp, 4 */ 6390 _flag_k = FK_ADD; 6391 MEM32(ebp + 0x8) = edi; /* 0x2B06BF7C: mov dword ptr [ebp + 8], edi */ 6392 /* cmp edi, esi */ /* 0x2B06BF7F: cmp edi, esi */ 6393 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 6394 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6395 _flag_k = FK_CMP; 6396 MEM8(ebp + (-0x4)) = (uint8_t)(0xFu); /* 0x2B06BF81: mov byte ptr [ebp - 4], 0xf */ 6397 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BFA4; /* 0x2B06BF85: je 0x2b06bfa4 */ 6398 L_2B06BF87: 6399 ecx = MEM32(ebx + 0xA8); /* 0x2B06BF87: mov ecx, dword ptr [ebx + 0xa8] */ 6400 PUSH32(esp, ecx); /* 0x2B06BF8D: push ecx */ 6401 edx = ebp + (-0x64); /* 0x2B06BF8E: lea edx, [ebp - 0x64] */ 6402 PUSH32(esp, edx); /* 0x2B06BF91: push edx */ 6403 ecx = edi; /* 0x2B06BF92: mov ecx, edi */ 6404 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B06BF94: call dword ptr [0x2b0b5afc] */ 6405 RECOMP_FLAGS_IN(); 6406 MEM32(edi) = 0x2B0B645Cu; /* 0x2B06BF9A: mov dword ptr [edi], 0x2b0b645c */ 6407 ecx = edi; /* 0x2B06BFA0: mov ecx, edi */ 6408 goto L_2B06BFA6; /* 0x2B06BFA2: jmp 0x2b06bfa6 */ 6409 L_2B06BFA4: 6410 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6411 ecx = 0; /* 0x2B06BFA4: xor ecx, ecx */ 6412 _cf = 0; 6413 _flag_k = FK_TEST; 6414 L_2B06BFA6: 6415 PUSH32(esp, ebx); /* 0x2B06BFA6: push ebx */ 6416 PUSH32(esp, 0x2B06D340u); /* 0x2B06BFA7: push 0x2b06d340 */ 6417 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BFAC: mov byte ptr [ebp - 4], 1 */ 6418 MEM32(ebx + 0xC4) = ecx; /* 0x2B06BFB0: mov dword ptr [ebx + 0xc4], ecx */ 6419 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B06BFB6: call dword ptr [0x2b0b5af8] */ 6420 RECOMP_FLAGS_IN(); 6421 PUSH32(esp, 2); /* 0x2B06BFBC: push 2 */ 6422 PUSH32(esp, 8); /* 0x2B06BFBE: push 8 */ 6423 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06BFC0: call dword ptr [0x2b0b5f80] */ 6424 RECOMP_FLAGS_IN(); 6425 ecx = eax; /* 0x2B06BFC6: mov ecx, eax */ 6426 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06BFC8: call dword ptr [0x2b0b5fbc] */ 6427 RECOMP_FLAGS_IN(); 6428 PUSH32(esp, 0xD8u); /* 0x2B06BFCE: push 0xd8 */ 6429 MEM32(ebp + 0x8) = eax; /* 0x2B06BFD3: mov dword ptr [ebp + 8], eax */ 6430 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BFD6: call 0x2b0ab212 */ /* not lifted */ 6431 RECOMP_FLAGS_IN(); 6432 edi = eax; /* 0x2B06BFDB: mov edi, eax */ 6433 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6434 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6435 esp = esp + 4; /* 0x2B06BFDD: add esp, 4 */ 6436 _flag_k = FK_ADD; 6437 MEM32(ebp + (-0x28)) = edi; /* 0x2B06BFE0: mov dword ptr [ebp - 0x28], edi */ 6438 /* cmp edi, esi */ /* 0x2B06BFE3: cmp edi, esi */ 6439 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 6440 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6441 _flag_k = FK_CMP; 6442 MEM8(ebp + (-0x4)) = (uint8_t)(0x10u); /* 0x2B06BFE5: mov byte ptr [ebp - 4], 0x10 */ 6443 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C01F; /* 0x2B06BFE9: je 0x2b06c01f */ 6444 L_2B06BFEB: 6445 edx = MEM32(ebp + 0x8); /* 0x2B06BFEB: mov edx, dword ptr [ebp + 8] */ 6446 eax = ebp + (-0x18); /* 0x2B06BFEE: lea eax, [ebp - 0x18] */ 6447 PUSH32(esp, eax); /* 0x2B06BFF1: push eax */ 6448 ecx = ebp + (-0x20); /* 0x2B06BFF2: lea ecx, [ebp - 0x20] */ 6449 PUSH32(esp, ecx); /* 0x2B06BFF5: push ecx */ 6450 PUSH32(esp, esi); /* 0x2B06BFF6: push esi */ 6451 PUSH32(esp, 0x6D60u); /* 0x2B06BFF7: push 0x6d60 */ 6452 PUSH32(esp, edx); /* 0x2B06BFFC: push edx */ 6453 eax = ebp + (-0x14); /* 0x2B06BFFD: lea eax, [ebp - 0x14] */ 6454 PUSH32(esp, eax); /* 0x2B06C000: push eax */ 6455 ecx = edi; /* 0x2B06C001: mov ecx, edi */ 6456 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C003: mov dword ptr [ebp - 0x18], 0x3f800000 */ 6457 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C00A: mov dword ptr [ebp - 0x20], 0x3f800000 */ 6458 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C011: call dword ptr [0x2b0b5654] */ 6459 RECOMP_FLAGS_IN(); 6460 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C017: mov dword ptr [edi], 0x2b0b618c */ 6461 goto L_2B06C021; /* 0x2B06C01D: jmp 0x2b06c021 */ 6462 L_2B06C01F: 6463 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6464 edi = 0; /* 0x2B06C01F: xor edi, edi */ 6465 _cf = 0; 6466 _flag_k = FK_TEST; 6467 L_2B06C021: 6468 PUSH32(esp, 2); /* 0x2B06C021: push 2 */ 6469 PUSH32(esp, 7); /* 0x2B06C023: push 7 */ 6470 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C025: mov byte ptr [ebp - 4], 1 */ 6471 MEM32(ebx + 0xAC) = edi; /* 0x2B06C029: mov dword ptr [ebx + 0xac], edi */ 6472 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C02F: call dword ptr [0x2b0b5f80] */ 6473 RECOMP_FLAGS_IN(); 6474 ecx = eax; /* 0x2B06C035: mov ecx, eax */ 6475 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C037: call dword ptr [0x2b0b5fbc] */ 6476 RECOMP_FLAGS_IN(); 6477 PUSH32(esp, 0xD8u); /* 0x2B06C03D: push 0xd8 */ 6478 MEM32(ebp + 0x8) = eax; /* 0x2B06C042: mov dword ptr [ebp + 8], eax */ 6479 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C045: call 0x2b0ab212 */ /* not lifted */ 6480 RECOMP_FLAGS_IN(); 6481 edi = eax; /* 0x2B06C04A: mov edi, eax */ 6482 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6483 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6484 esp = esp + 4; /* 0x2B06C04C: add esp, 4 */ 6485 _flag_k = FK_ADD; 6486 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C04F: mov dword ptr [ebp - 0x28], edi */ 6487 /* cmp edi, esi */ /* 0x2B06C052: cmp edi, esi */ 6488 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 6489 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6490 _flag_k = FK_CMP; 6491 MEM8(ebp + (-0x4)) = (uint8_t)(0x11u); /* 0x2B06C054: mov byte ptr [ebp - 4], 0x11 */ 6492 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C08E; /* 0x2B06C058: je 0x2b06c08e */ 6493 L_2B06C05A: 6494 eax = MEM32(ebp + 0x8); /* 0x2B06C05A: mov eax, dword ptr [ebp + 8] */ 6495 ecx = ebp + (-0x20); /* 0x2B06C05D: lea ecx, [ebp - 0x20] */ 6496 PUSH32(esp, ecx); /* 0x2B06C060: push ecx */ 6497 edx = ebp + (-0x18); /* 0x2B06C061: lea edx, [ebp - 0x18] */ 6498 PUSH32(esp, edx); /* 0x2B06C064: push edx */ 6499 PUSH32(esp, esi); /* 0x2B06C065: push esi */ 6500 PUSH32(esp, 0x6D60u); /* 0x2B06C066: push 0x6d60 */ 6501 PUSH32(esp, eax); /* 0x2B06C06B: push eax */ 6502 ecx = ebp + (-0x14); /* 0x2B06C06C: lea ecx, [ebp - 0x14] */ 6503 PUSH32(esp, ecx); /* 0x2B06C06F: push ecx */ 6504 ecx = edi; /* 0x2B06C070: mov ecx, edi */ 6505 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C072: mov dword ptr [ebp - 0x20], 0x3f800000 */ 6506 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C079: mov dword ptr [ebp - 0x18], 0x3f800000 */ 6507 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C080: call dword ptr [0x2b0b5654] */ 6508 RECOMP_FLAGS_IN(); 6509 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C086: mov dword ptr [edi], 0x2b0b618c */ 6510 goto L_2B06C090; /* 0x2B06C08C: jmp 0x2b06c090 */ 6511 L_2B06C08E: 6512 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6513 edi = 0; /* 0x2B06C08E: xor edi, edi */ 6514 _cf = 0; 6515 _flag_k = FK_TEST; 6516 L_2B06C090: 6517 PUSH32(esp, 2); /* 0x2B06C090: push 2 */ 6518 PUSH32(esp, 6); /* 0x2B06C092: push 6 */ 6519 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C094: mov byte ptr [ebp - 4], 1 */ 6520 MEM32(ebx + 0xB0) = edi; /* 0x2B06C098: mov dword ptr [ebx + 0xb0], edi */ 6521 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C09E: call dword ptr [0x2b0b5f80] */ 6522 RECOMP_FLAGS_IN(); 6523 ecx = eax; /* 0x2B06C0A4: mov ecx, eax */ 6524 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C0A6: call dword ptr [0x2b0b5fbc] */ 6525 RECOMP_FLAGS_IN(); 6526 PUSH32(esp, 0xD8u); /* 0x2B06C0AC: push 0xd8 */ 6527 MEM32(ebp + 0x8) = eax; /* 0x2B06C0B1: mov dword ptr [ebp + 8], eax */ 6528 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C0B4: call 0x2b0ab212 */ /* not lifted */ 6529 RECOMP_FLAGS_IN(); 6530 edi = eax; /* 0x2B06C0B9: mov edi, eax */ 6531 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6532 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6533 esp = esp + 4; /* 0x2B06C0BB: add esp, 4 */ 6534 _flag_k = FK_ADD; 6535 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C0BE: mov dword ptr [ebp - 0x28], edi */ 6536 /* cmp edi, esi */ /* 0x2B06C0C1: cmp edi, esi */ 6537 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 6538 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6539 _flag_k = FK_CMP; 6540 MEM8(ebp + (-0x4)) = (uint8_t)(0x12u); /* 0x2B06C0C3: mov byte ptr [ebp - 4], 0x12 */ 6541 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C0FD; /* 0x2B06C0C7: je 0x2b06c0fd */ 6542 L_2B06C0C9: 6543 ecx = MEM32(ebp + 0x8); /* 0x2B06C0C9: mov ecx, dword ptr [ebp + 8] */ 6544 edx = ebp + (-0x20); /* 0x2B06C0CC: lea edx, [ebp - 0x20] */ 6545 PUSH32(esp, edx); /* 0x2B06C0CF: push edx */ 6546 eax = ebp + (-0x18); /* 0x2B06C0D0: lea eax, [ebp - 0x18] */ 6547 PUSH32(esp, eax); /* 0x2B06C0D3: push eax */ 6548 PUSH32(esp, esi); /* 0x2B06C0D4: push esi */ 6549 PUSH32(esp, 0x6D60u); /* 0x2B06C0D5: push 0x6d60 */ 6550 PUSH32(esp, ecx); /* 0x2B06C0DA: push ecx */ 6551 edx = ebp + (-0x14); /* 0x2B06C0DB: lea edx, [ebp - 0x14] */ 6552 PUSH32(esp, edx); /* 0x2B06C0DE: push edx */ 6553 ecx = edi; /* 0x2B06C0DF: mov ecx, edi */ 6554 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C0E1: mov dword ptr [ebp - 0x20], 0x3f800000 */ 6555 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C0E8: mov dword ptr [ebp - 0x18], 0x3f800000 */ 6556 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C0EF: call dword ptr [0x2b0b5654] */ 6557 RECOMP_FLAGS_IN(); 6558 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C0F5: mov dword ptr [edi], 0x2b0b618c */ 6559 goto L_2B06C0FF; /* 0x2B06C0FB: jmp 0x2b06c0ff */ 6560 L_2B06C0FD: 6561 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6562 edi = 0; /* 0x2B06C0FD: xor edi, edi */ 6563 _cf = 0; 6564 _flag_k = FK_TEST; 6565 L_2B06C0FF: 6566 PUSH32(esp, 2); /* 0x2B06C0FF: push 2 */ 6567 PUSH32(esp, 5); /* 0x2B06C101: push 5 */ 6568 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C103: mov byte ptr [ebp - 4], 1 */ 6569 MEM32(ebx + 0xB4) = edi; /* 0x2B06C107: mov dword ptr [ebx + 0xb4], edi */ 6570 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C10D: call dword ptr [0x2b0b5f80] */ 6571 RECOMP_FLAGS_IN(); 6572 ecx = eax; /* 0x2B06C113: mov ecx, eax */ 6573 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C115: call dword ptr [0x2b0b5fbc] */ 6574 RECOMP_FLAGS_IN(); 6575 PUSH32(esp, 0xD8u); /* 0x2B06C11B: push 0xd8 */ 6576 MEM32(ebp + 0x8) = eax; /* 0x2B06C120: mov dword ptr [ebp + 8], eax */ 6577 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C123: call 0x2b0ab212 */ /* not lifted */ 6578 RECOMP_FLAGS_IN(); 6579 edi = eax; /* 0x2B06C128: mov edi, eax */ 6580 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6581 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6582 esp = esp + 4; /* 0x2B06C12A: add esp, 4 */ 6583 _flag_k = FK_ADD; 6584 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C12D: mov dword ptr [ebp - 0x28], edi */ 6585 /* cmp edi, esi */ /* 0x2B06C130: cmp edi, esi */ 6586 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 6587 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6588 _flag_k = FK_CMP; 6589 MEM8(ebp + (-0x4)) = (uint8_t)(0x13u); /* 0x2B06C132: mov byte ptr [ebp - 4], 0x13 */ 6590 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C16C; /* 0x2B06C136: je 0x2b06c16c */ 6591 L_2B06C138: 6592 edx = MEM32(ebp + 0x8); /* 0x2B06C138: mov edx, dword ptr [ebp + 8] */ 6593 eax = ebp + (-0x20); /* 0x2B06C13B: lea eax, [ebp - 0x20] */ 6594 PUSH32(esp, eax); /* 0x2B06C13E: push eax */ 6595 ecx = ebp + (-0x18); /* 0x2B06C13F: lea ecx, [ebp - 0x18] */ 6596 PUSH32(esp, ecx); /* 0x2B06C142: push ecx */ 6597 PUSH32(esp, esi); /* 0x2B06C143: push esi */ 6598 PUSH32(esp, 0x6D60u); /* 0x2B06C144: push 0x6d60 */ 6599 PUSH32(esp, edx); /* 0x2B06C149: push edx */ 6600 eax = ebp + (-0x14); /* 0x2B06C14A: lea eax, [ebp - 0x14] */ 6601 PUSH32(esp, eax); /* 0x2B06C14D: push eax */ 6602 ecx = edi; /* 0x2B06C14E: mov ecx, edi */ 6603 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C150: mov dword ptr [ebp - 0x20], 0x3f800000 */ 6604 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C157: mov dword ptr [ebp - 0x18], 0x3f800000 */ 6605 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C15E: call dword ptr [0x2b0b5654] */ 6606 RECOMP_FLAGS_IN(); 6607 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C164: mov dword ptr [edi], 0x2b0b618c */ 6608 goto L_2B06C16E; /* 0x2B06C16A: jmp 0x2b06c16e */ 6609 L_2B06C16C: 6610 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6611 edi = 0; /* 0x2B06C16C: xor edi, edi */ 6612 _cf = 0; 6613 _flag_k = FK_TEST; 6614 L_2B06C16E: 6615 PUSH32(esp, 2); /* 0x2B06C16E: push 2 */ 6616 PUSH32(esp, 3); /* 0x2B06C170: push 3 */ 6617 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C172: mov byte ptr [ebp - 4], 1 */ 6618 MEM32(ebx + 0xB8) = edi; /* 0x2B06C176: mov dword ptr [ebx + 0xb8], edi */ 6619 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C17C: call dword ptr [0x2b0b5f80] */ 6620 RECOMP_FLAGS_IN(); 6621 ecx = eax; /* 0x2B06C182: mov ecx, eax */ 6622 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C184: call dword ptr [0x2b0b5fbc] */ 6623 RECOMP_FLAGS_IN(); 6624 PUSH32(esp, 0xD8u); /* 0x2B06C18A: push 0xd8 */ 6625 MEM32(ebp + 0x8) = eax; /* 0x2B06C18F: mov dword ptr [ebp + 8], eax */ 6626 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C192: call 0x2b0ab212 */ /* not lifted */ 6627 RECOMP_FLAGS_IN(); 6628 edi = eax; /* 0x2B06C197: mov edi, eax */ 6629 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6630 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6631 esp = esp + 4; /* 0x2B06C199: add esp, 4 */ 6632 _flag_k = FK_ADD; 6633 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C19C: mov dword ptr [ebp - 0x28], edi */ 6634 /* cmp edi, esi */ /* 0x2B06C19F: cmp edi, esi */ 6635 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 6636 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6637 _flag_k = FK_CMP; 6638 MEM8(ebp + (-0x4)) = (uint8_t)(0x14u); /* 0x2B06C1A1: mov byte ptr [ebp - 4], 0x14 */ 6639 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C1DB; /* 0x2B06C1A5: je 0x2b06c1db */ 6640 L_2B06C1A7: 6641 eax = MEM32(ebp + 0x8); /* 0x2B06C1A7: mov eax, dword ptr [ebp + 8] */ 6642 ecx = ebp + (-0x20); /* 0x2B06C1AA: lea ecx, [ebp - 0x20] */ 6643 PUSH32(esp, ecx); /* 0x2B06C1AD: push ecx */ 6644 edx = ebp + (-0x18); /* 0x2B06C1AE: lea edx, [ebp - 0x18] */ 6645 PUSH32(esp, edx); /* 0x2B06C1B1: push edx */ 6646 PUSH32(esp, esi); /* 0x2B06C1B2: push esi */ 6647 PUSH32(esp, 0x6D60u); /* 0x2B06C1B3: push 0x6d60 */ 6648 PUSH32(esp, eax); /* 0x2B06C1B8: push eax */ 6649 ecx = ebp + (-0x14); /* 0x2B06C1B9: lea ecx, [ebp - 0x14] */ 6650 PUSH32(esp, ecx); /* 0x2B06C1BC: push ecx */ 6651 ecx = edi; /* 0x2B06C1BD: mov ecx, edi */ 6652 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C1BF: mov dword ptr [ebp - 0x20], 0x3f800000 */ 6653 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C1C6: mov dword ptr [ebp - 0x18], 0x3f800000 */ 6654 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C1CD: call dword ptr [0x2b0b5654] */ 6655 RECOMP_FLAGS_IN(); 6656 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C1D3: mov dword ptr [edi], 0x2b0b618c */ 6657 goto L_2B06C1DD; /* 0x2B06C1D9: jmp 0x2b06c1dd */ 6658 L_2B06C1DB: 6659 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6660 edi = 0; /* 0x2B06C1DB: xor edi, edi */ 6661 _cf = 0; 6662 _flag_k = FK_TEST; 6663 L_2B06C1DD: 6664 PUSH32(esp, 2); /* 0x2B06C1DD: push 2 */ 6665 PUSH32(esp, 4); /* 0x2B06C1DF: push 4 */ 6666 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C1E1: mov byte ptr [ebp - 4], 1 */ 6667 MEM32(ebx + 0xBC) = edi; /* 0x2B06C1E5: mov dword ptr [ebx + 0xbc], edi */ 6668 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C1EB: call dword ptr [0x2b0b5f80] */ 6669 RECOMP_FLAGS_IN(); 6670 ecx = eax; /* 0x2B06C1F1: mov ecx, eax */ 6671 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C1F3: call dword ptr [0x2b0b5fbc] */ 6672 RECOMP_FLAGS_IN(); 6673 PUSH32(esp, 0xD8u); /* 0x2B06C1F9: push 0xd8 */ 6674 MEM32(ebp + 0x8) = eax; /* 0x2B06C1FE: mov dword ptr [ebp + 8], eax */ 6675 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C201: call 0x2b0ab212 */ /* not lifted */ 6676 RECOMP_FLAGS_IN(); 6677 edi = eax; /* 0x2B06C206: mov edi, eax */ 6678 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6679 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6680 esp = esp + 4; /* 0x2B06C208: add esp, 4 */ 6681 _flag_k = FK_ADD; 6682 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C20B: mov dword ptr [ebp - 0x28], edi */ 6683 /* cmp edi, esi */ /* 0x2B06C20E: cmp edi, esi */ 6684 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 6685 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6686 _flag_k = FK_CMP; 6687 MEM8(ebp + (-0x4)) = (uint8_t)(0x15u); /* 0x2B06C210: mov byte ptr [ebp - 4], 0x15 */ 6688 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C24A; /* 0x2B06C214: je 0x2b06c24a */ 6689 L_2B06C216: 6690 ecx = MEM32(ebp + 0x8); /* 0x2B06C216: mov ecx, dword ptr [ebp + 8] */ 6691 edx = ebp + (-0x20); /* 0x2B06C219: lea edx, [ebp - 0x20] */ 6692 PUSH32(esp, edx); /* 0x2B06C21C: push edx */ 6693 eax = ebp + (-0x18); /* 0x2B06C21D: lea eax, [ebp - 0x18] */ 6694 PUSH32(esp, eax); /* 0x2B06C220: push eax */ 6695 PUSH32(esp, esi); /* 0x2B06C221: push esi */ 6696 PUSH32(esp, 0x6D60u); /* 0x2B06C222: push 0x6d60 */ 6697 PUSH32(esp, ecx); /* 0x2B06C227: push ecx */ 6698 edx = ebp + (-0x14); /* 0x2B06C228: lea edx, [ebp - 0x14] */ 6699 PUSH32(esp, edx); /* 0x2B06C22B: push edx */ 6700 ecx = edi; /* 0x2B06C22C: mov ecx, edi */ 6701 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C22E: mov dword ptr [ebp - 0x20], 0x3f800000 */ 6702 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C235: mov dword ptr [ebp - 0x18], 0x3f800000 */ 6703 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C23C: call dword ptr [0x2b0b5654] */ 6704 RECOMP_FLAGS_IN(); 6705 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C242: mov dword ptr [edi], 0x2b0b618c */ 6706 goto L_2B06C24C; /* 0x2B06C248: jmp 0x2b06c24c */ 6707 L_2B06C24A: 6708 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6709 edi = 0; /* 0x2B06C24A: xor edi, edi */ 6710 _cf = 0; 6711 _flag_k = FK_TEST; 6712 L_2B06C24C: 6713 eax = MEM32(ebx + 0x78); /* 0x2B06C24C: mov eax, dword ptr [ebx + 0x78] */ 6714 ecx = eax + (-0x16); /* 0x2B06C24F: lea ecx, [eax - 0x16] */ 6715 MEM32(ebx + 0xC0) = edi; /* 0x2B06C252: mov dword ptr [ebx + 0xc0], edi */ 6716 MEM32(ebp + (-0xC0)) = ecx; /* 0x2B06C258: mov dword ptr [ebp - 0xc0], ecx */ 6717 MEM32(ebp + (-0xAC)) = eax; /* 0x2B06C25E: mov dword ptr [ebp - 0xac], eax */ 6718 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6719 eax = 0; /* 0x2B06C264: xor eax, eax */ 6720 _cf = 0; 6721 _flag_k = FK_TEST; 6722 MEM32(ebp + (-0xE0)) = esi; /* 0x2B06C266: mov dword ptr [ebp - 0xe0], esi */ 6723 MEM32(ebp + (-0xDC)) = esi; /* 0x2B06C26C: mov dword ptr [ebp - 0xdc], esi */ 6724 MEM32(ebp + (-0xD8)) = esi; /* 0x2B06C272: mov dword ptr [ebp - 0xd8], esi */ 6725 MEM32(ebp + (-0xD4)) = 0x6D65u; /* 0x2B06C278: mov dword ptr [ebp - 0xd4], 0x6d65 */ 6726 MEM32(ebp + (-0xD0)) = esi; /* 0x2B06C282: mov dword ptr [ebp - 0xd0], esi */ 6727 MEM32(ebp + (-0xCC)) = esi; /* 0x2B06C288: mov dword ptr [ebp - 0xcc], esi */ 6728 MEM32(ebp + (-0xC8)) = esi; /* 0x2B06C28E: mov dword ptr [ebp - 0xc8], esi */ 6729 MEM32(ebp + (-0xC4)) = esi; /* 0x2B06C294: mov dword ptr [ebp - 0xc4], esi */ 6730 MEM32(ebp + (-0xBC)) = esi; /* 0x2B06C29A: mov dword ptr [ebp - 0xbc], esi */ 6731 MEM32(ebp + (-0xB8)) = esi; /* 0x2B06C2A0: mov dword ptr [ebp - 0xb8], esi */ 6732 MEM32(ebp + (-0xB4)) = esi; /* 0x2B06C2A6: mov dword ptr [ebp - 0xb4], esi */ 6733 MEM32(ebp + (-0xB0)) = 1; /* 0x2B06C2AC: mov dword ptr [ebp - 0xb0], 1 */ 6734 ecx = 6; /* 0x2B06C2B6: mov ecx, 6 */ 6735 edi = ebp + (-0xA8); /* 0x2B06C2BB: lea edi, [ebp - 0xa8] */ 6736 PUSH32(esp, 0xC8u); /* 0x2B06C2C1: push 0xc8 */ 6737 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C2C6: mov byte ptr [ebp - 4], 1 */ 6738 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06C2CA: 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; } 6739 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C2CC: call 0x2b0ab212 */ /* not lifted */ 6740 RECOMP_FLAGS_IN(); 6741 edi = eax; /* 0x2B06C2D1: mov edi, eax */ 6742 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6743 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6744 esp = esp + 4; /* 0x2B06C2D3: add esp, 4 */ 6745 _flag_k = FK_ADD; 6746 MEM32(ebp + 0x8) = edi; /* 0x2B06C2D6: mov dword ptr [ebp + 8], edi */ 6747 /* cmp edi, esi */ /* 0x2B06C2D9: cmp edi, esi */ 6748 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 6749 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6750 _flag_k = FK_CMP; 6751 MEM8(ebp + (-0x4)) = (uint8_t)(0x16u); /* 0x2B06C2DB: mov byte ptr [ebp - 4], 0x16 */ 6752 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C2FA; /* 0x2B06C2DF: je 0x2b06c2fa */ 6753 L_2B06C2E1: 6754 edx = ebp + (-0xE0); /* 0x2B06C2E1: lea edx, [ebp - 0xe0] */ 6755 PUSH32(esp, edx); /* 0x2B06C2E7: push edx */ 6756 ecx = edi; /* 0x2B06C2E8: mov ecx, edi */ 6757 RECOMP_ICALL(MEM32(0x2B0B5748)); /* 0x2B06C2EA: call dword ptr [0x2b0b5748] */ 6758 RECOMP_FLAGS_IN(); 6759 MEM32(edi) = 0x2B0B7110u; /* 0x2B06C2F0: mov dword ptr [edi], 0x2b0b7110 */ 6760 ecx = edi; /* 0x2B06C2F6: mov ecx, edi */ 6761 goto L_2B06C2FC; /* 0x2B06C2F8: jmp 0x2b06c2fc */ 6762 L_2B06C2FA: 6763 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6764 ecx = 0; /* 0x2B06C2FA: xor ecx, ecx */ 6765 _cf = 0; 6766 _flag_k = FK_TEST; 6767 L_2B06C2FC: 6768 PUSH32(esp, ebx); /* 0x2B06C2FC: push ebx */ 6769 PUSH32(esp, 0x2B06D3C0u); /* 0x2B06C2FD: push 0x2b06d3c0 */ 6770 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C302: mov byte ptr [ebp - 4], 1 */ 6771 MEM32(ebx + 0xD8) = ecx; /* 0x2B06C306: mov dword ptr [ebx + 0xd8], ecx */ 6772 RECOMP_ICALL(MEM32(0x2B0B5744)); /* 0x2B06C30C: call dword ptr [0x2b0b5744] */ 6773 RECOMP_FLAGS_IN(); 6774 ecx = MEM32(ebx + 0xD8); /* 0x2B06C312: mov ecx, dword ptr [ebx + 0xd8] */ 6775 PUSH32(esp, 0x64u); /* 0x2B06C318: push 0x64 */ 6776 RECOMP_ICALL(MEM32(0x2B0B5778)); /* 0x2B06C31A: call dword ptr [0x2b0b5778] */ 6777 RECOMP_FLAGS_IN(); 6778 eax = MEM32(ebx + 0x9C); /* 0x2B06C320: mov eax, dword ptr [ebx + 0x9c] */ 6779 ecx = MEM32(eax + 0x34); /* 0x2B06C326: mov ecx, dword ptr [eax + 0x34] */ 6780 RECOMP_ICALL(MEM32(0x2B0B56F8)); /* 0x2B06C329: call dword ptr [0x2b0b56f8] */ 6781 RECOMP_FLAGS_IN(); 6782 ecx = MEM32(ebx + 0xD8); /* 0x2B06C32F: mov ecx, dword ptr [ebx + 0xd8] */ 6783 MEM32(ebx + 0x48) = eax; /* 0x2B06C335: mov dword ptr [ebx + 0x48], eax */ 6784 PUSH32(esp, 0x64u); /* 0x2B06C338: push 0x64 */ 6785 MEM32(ecx + 0x98) = eax; /* 0x2B06C33A: mov dword ptr [ecx + 0x98], eax */ 6786 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C340: call 0x2b0ab212 */ /* not lifted */ 6787 RECOMP_FLAGS_IN(); 6788 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6789 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6790 esp = esp + 4; /* 0x2B06C345: add esp, 4 */ 6791 _flag_k = FK_ADD; 6792 MEM32(ebp + 0x8) = eax; /* 0x2B06C348: mov dword ptr [ebp + 8], eax */ 6793 /* cmp eax, esi */ /* 0x2B06C34B: cmp eax, esi */ 6794 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 6795 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6796 _flag_k = FK_CMP; 6797 MEM8(ebp + (-0x4)) = (uint8_t)(0x17u); /* 0x2B06C34D: mov byte ptr [ebp - 4], 0x17 */ 6798 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C384; /* 0x2B06C351: je 0x2b06c384 */ 6799 L_2B06C353: 6800 ecx = MEM32(ebx + 0x98); /* 0x2B06C353: mov ecx, dword ptr [ebx + 0x98] */ 6801 PUSH32(esp, ecx); /* 0x2B06C359: push ecx */ 6802 PUSH32(esp, esi); /* 0x2B06C35A: push esi */ 6803 PUSH32(esp, 0x30u); /* 0x2B06C35B: push 0x30 */ 6804 PUSH32(esp, esi); /* 0x2B06C35D: push esi */ 6805 PUSH32(esp, 0x6D63u); /* 0x2B06C35E: push 0x6d63 */ 6806 PUSH32(esp, 0x9Eu); /* 0x2B06C363: push 0x9e */ 6807 PUSH32(esp, esi); /* 0x2B06C368: push esi */ 6808 PUSH32(esp, 0x9Fu); /* 0x2B06C369: push 0x9f */ 6809 PUSH32(esp, 0x36u); /* 0x2B06C36E: push 0x36 */ 6810 PUSH32(esp, 0x36u); /* 0x2B06C370: push 0x36 */ 6811 PUSH32(esp, 3); /* 0x2B06C372: push 3 */ 6812 PUSH32(esp, 3); /* 0x2B06C374: push 3 */ 6813 edx = ebp + (-0x14); /* 0x2B06C376: lea edx, [ebp - 0x14] */ 6814 PUSH32(esp, edx); /* 0x2B06C379: push edx */ 6815 ecx = eax; /* 0x2B06C37A: mov ecx, eax */ 6816 RECOMP_ICALL(MEM32(0x2B0B58F8)); /* 0x2B06C37C: call dword ptr [0x2b0b58f8] */ 6817 RECOMP_FLAGS_IN(); 6818 goto L_2B06C386; /* 0x2B06C382: jmp 0x2b06c386 */ 6819 L_2B06C384: 6820 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6821 eax = 0; /* 0x2B06C384: xor eax, eax */ 6822 _cf = 0; 6823 _flag_k = FK_TEST; 6824 L_2B06C386: 6825 MEM32(ebx + 0xDC) = eax; /* 0x2B06C386: mov dword ptr [ebx + 0xdc], eax */ 6826 MEM32(eax + 0x5C) = 0x2B06D400u; /* 0x2B06C38C: mov dword ptr [eax + 0x5c], 0x2b06d400 */ 6827 MEM32(eax + 0x60) = ebx; /* 0x2B06C393: mov dword ptr [eax + 0x60], ebx */ 6828 eax = ebx + 0x5C; /* 0x2B06C396: lea eax, [ebx + 0x5c] */ 6829 PUSH32(esp, eax); /* 0x2B06C399: push eax */ 6830 ecx = ebx; /* 0x2B06C39A: mov ecx, ebx */ 6831 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C39C: mov byte ptr [ebp - 4], 1 */ 6832 RECOMP_ICALL(0x2B06CC00u); /* 0x2B06C3A0: call 0x2b06cc00 */ /* not lifted */ 6833 RECOMP_FLAGS_IN(); 6834 ecx = ebx; /* 0x2B06C3A5: mov ecx, ebx */ 6835 RECOMP_ICALL(0x2B06CBD0u); /* 0x2B06C3A7: call 0x2b06cbd0 */ /* not lifted */ 6836 RECOMP_FLAGS_IN(); 6837 eax = MEM32(0x2B0B6048); /* 0x2B06C3AC: mov eax, dword ptr [0x2b0b6048] */ 6838 ecx = MEM32(eax); /* 0x2B06C3B1: mov ecx, dword ptr [eax] */ 6839 PUSH32(esp, 1); /* 0x2B06C3B3: push 1 */ 6840 PUSH32(esp, 0x2B0EB490u); /* 0x2B06C3B5: push 0x2b0eb490 */ 6841 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B06C3BA: call dword ptr [0x2b0b602c] */ 6842 RECOMP_FLAGS_IN(); 6843 /* test eax, eax */ /* 0x2B06C3C0: test eax, eax */ 6844 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6845 _cf = 0; 6846 _flag_k = FK_TEST; 6847 SET_LO8(eax, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B06C3C2: setne al */ 6848 /* test LO8(eax), LO8(eax) */ /* 0x2B06C3C5: test al, al */ 6849 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6850 _cf = 0; 6851 _flag_k = FK_NARROW(FK_TEST, 24); 6852 MEM8(ebx + 0x58) = (uint8_t)(LO8(eax)); /* 0x2B06C3C7: mov byte ptr [ebx + 0x58], al */ 6853 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06C3DA; /* 0x2B06C3CA: jne 0x2b06c3da */ 6854 L_2B06C3CC: 6855 ecx = MEM32(ebx + 0xCC); /* 0x2B06C3CC: mov ecx, dword ptr [ebx + 0xcc] */ 6856 PUSH32(esp, 2); /* 0x2B06C3D2: push 2 */ 6857 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06C3D4: call dword ptr [0x2b0b5ab4] */ 6858 RECOMP_FLAGS_IN(); 6859 L_2B06C3DA: 6860 ecx = MEM32(ebp + (-0xC)); /* 0x2B06C3DA: mov ecx, dword ptr [ebp - 0xc] */ 6861 edi = POP32_VAL(esp); /* 0x2B06C3DD: pop edi */ 6862 esi = POP32_VAL(esp); /* 0x2B06C3DE: pop esi */ 6863 eax = ebx; /* 0x2B06C3DF: mov eax, ebx */ 6864 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06C3E1: mov dword ptr fs:[0], ecx */ 6865 ebx = POP32_VAL(esp); /* 0x2B06C3E8: pop ebx */ 6866 esp = ebp; /* 0x2B06C3E9: mov esp, ebp */ 6867 ebp = POP32_VAL(esp); /* 0x2B06C3EB: pop ebp */ 6868 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06C3EC: ret 4 */ 6869 RECOMP_REGS_OUT(); 6870 } 6871 6872 void sub_2B06BAF6(void) { 6873 int _fpu_cmp = 0; 6874 uint32_t _cf = 0; 6875 int _df = 1; 6876 uint32_t _flag_k = FK_NONE; 6877 uint32_t _flag_a = 0, _flag_b = 0; 6878 uint32_t _itail_tgt = 0; 6879 RECOMP_REGS_LOCALS 6880 RECOMP_ENTER(0x2B06BAF6u); 6881 6882 L_2B06BAF6: 6883 PUSH32(esp, 0x00FFFFFFu); /* 0x2B06BAF6: push 0xffffff */ 6884 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BAFB: mov byte ptr [ebp - 4], 1 */ 6885 MEM32(ebx + 0x9C) = ecx; /* 0x2B06BAFF: mov dword ptr [ebx + 0x9c], ecx */ 6886 RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B06BB05: call dword ptr [0x2b0b5858] */ 6887 RECOMP_FLAGS_IN(); 6888 eax = MEM32(ebx + 0x9C); /* 0x2B06BB0B: mov eax, dword ptr [ebx + 0x9c] */ 6889 eax = MEM32(eax + 0x34); /* 0x2B06BB11: mov eax, dword ptr [eax + 0x34] */ 6890 MEM32(ebx + 0xE8) = eax; /* 0x2B06BB14: mov dword ptr [ebx + 0xe8], eax */ 6891 eax = MEM32(ebx + 0x28); /* 0x2B06BB1A: mov eax, dword ptr [ebx + 0x28] */ 6892 ecx = MEM32(ebx + 0x78); /* 0x2B06BB1D: mov ecx, dword ptr [ebx + 0x78] */ 6893 edx = MEM32(ebx + 0x74); /* 0x2B06BB20: mov edx, dword ptr [ebx + 0x74] */ 6894 PUSH32(esp, 0x70u); /* 0x2B06BB23: push 0x70 */ 6895 MEM32(ebx + 0xE4) = eax; /* 0x2B06BB25: mov dword ptr [ebx + 0xe4], eax */ 6896 MEM32(ebp + (-0x18)) = ecx; /* 0x2B06BB2B: mov dword ptr [ebp - 0x18], ecx */ 6897 MEM32(ebp + 0x8) = edx; /* 0x2B06BB2E: mov dword ptr [ebp + 8], edx */ 6898 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BB31: call 0x2b0ab212 */ /* not lifted */ 6899 RECOMP_FLAGS_IN(); 6900 edi = eax; /* 0x2B06BB36: mov edi, eax */ 6901 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6902 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6903 esp = esp + 4; /* 0x2B06BB38: add esp, 4 */ 6904 _flag_k = FK_ADD; 6905 MEM32(ebp + (-0x20)) = edi; /* 0x2B06BB3B: mov dword ptr [ebp - 0x20], edi */ 6906 /* cmp edi, esi */ /* 0x2B06BB3E: cmp edi, esi */ 6907 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 6908 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6909 _flag_k = FK_CMP; 6910 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B06BB40: mov byte ptr [ebp - 4], 7 */ 6911 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BB83; /* 0x2B06BB44: je 0x2b06bb83 */ 6912 L_2B06BB46: 6913 eax = MEM32(ebx + 0x98); /* 0x2B06BB46: mov eax, dword ptr [ebx + 0x98] */ 6914 edx = MEM32(ebp + 0x8); /* 0x2B06BB4C: mov edx, dword ptr [ebp + 8] */ 6915 PUSH32(esp, eax); /* 0x2B06BB4F: push eax */ 6916 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06BB50: push -1 */ 6917 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06BB52: push -1 */ 6918 PUSH32(esp, 0x1Cu); /* 0x2B06BB54: push 0x1c */ 6919 PUSH32(esp, esi); /* 0x2B06BB56: push esi */ 6920 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 6921 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6922 esp = esp - 0x10u; /* 0x2B06BB57: sub esp, 0x10 */ 6923 _flag_k = FK_CMP; 6924 ecx = esp; /* 0x2B06BB5A: mov ecx, esp */ 6925 MEM32(ecx) = esi; /* 0x2B06BB5C: mov dword ptr [ecx], esi */ 6926 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6927 eax = 0; /* 0x2B06BB5E: xor eax, eax */ 6928 _cf = 0; 6929 _flag_k = FK_TEST; 6930 MEM32(ecx + 0x4) = eax; /* 0x2B06BB60: mov dword ptr [ecx + 4], eax */ 6931 eax = MEM32(ebp + (-0x18)); /* 0x2B06BB63: mov eax, dword ptr [ebp - 0x18] */ 6932 PUSH32(esp, 0x6D64u); /* 0x2B06BB66: push 0x6d64 */ 6933 MEM32(ecx + 0x8) = edx; /* 0x2B06BB6B: mov dword ptr [ecx + 8], edx */ 6934 PUSH32(esp, esi); /* 0x2B06BB6E: push esi */ 6935 MEM32(ecx + 0xC) = eax; /* 0x2B06BB6F: mov dword ptr [ecx + 0xc], eax */ 6936 PUSH32(esp, esi); /* 0x2B06BB72: push esi */ 6937 ecx = edi; /* 0x2B06BB73: mov ecx, edi */ 6938 RECOMP_ICALL(MEM32(0x2B0B5C00)); /* 0x2B06BB75: call dword ptr [0x2b0b5c00] */ 6939 RECOMP_FLAGS_IN(); 6940 MEM32(edi) = 0x2B0B6164u; /* 0x2B06BB7B: mov dword ptr [edi], 0x2b0b6164 */ 6941 goto L_2B06BB85; /* 0x2B06BB81: jmp 0x2b06bb85 */ 6942 L_2B06BB83: 6943 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6944 edi = 0; /* 0x2B06BB83: xor edi, edi */ 6945 _cf = 0; 6946 _flag_k = FK_TEST; 6947 L_2B06BB85: 6948 PUSH32(esp, 0x2B0EB4B0u); /* 0x2B06BB85: push 0x2b0eb4b0 */ 6949 ecx = edi; /* 0x2B06BB8A: mov ecx, edi */ 6950 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BB8C: mov byte ptr [ebp - 4], 1 */ 6951 MEM32(ebx + 0xA0) = edi; /* 0x2B06BB90: mov dword ptr [ebx + 0xa0], edi */ 6952 RECOMP_ICALL(MEM32(0x2B0B5C04)); /* 0x2B06BB96: call dword ptr [0x2b0b5c04] */ 6953 RECOMP_FLAGS_IN(); 6954 PUSH32(esp, 0x9Cu); /* 0x2B06BB9C: push 0x9c */ 6955 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BBA1: call 0x2b0ab212 */ /* not lifted */ 6956 RECOMP_FLAGS_IN(); 6957 edi = eax; /* 0x2B06BBA6: mov edi, eax */ 6958 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6959 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6960 esp = esp + 4; /* 0x2B06BBA8: add esp, 4 */ 6961 _flag_k = FK_ADD; 6962 MEM32(ebp + 0x8) = edi; /* 0x2B06BBAB: mov dword ptr [ebp + 8], edi */ 6963 /* cmp edi, esi */ /* 0x2B06BBAE: cmp edi, esi */ 6964 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 6965 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6966 _flag_k = FK_CMP; 6967 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B06BBB0: mov byte ptr [ebp - 4], 8 */ 6968 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BBE4; /* 0x2B06BBB4: je 0x2b06bbe4 */ 6969 L_2B06BBB6: 6970 ecx = MEM32(ebx + 0x68); /* 0x2B06BBB6: mov ecx, dword ptr [ebx + 0x68] */ 6971 edx = MEM32(ebx + 0x64); /* 0x2B06BBB9: mov edx, dword ptr [ebx + 0x64] */ 6972 eax = MEM32(ebp + (-0x10)); /* 0x2B06BBBC: mov eax, dword ptr [ebp - 0x10] */ 6973 PUSH32(esp, esi); /* 0x2B06BBBF: push esi */ 6974 PUSH32(esp, 4); /* 0x2B06BBC0: push 4 */ 6975 PUSH32(esp, esi); /* 0x2B06BBC2: push esi */ 6976 PUSH32(esp, 0x6D61u); /* 0x2B06BBC3: push 0x6d61 */ 6977 PUSH32(esp, esi); /* 0x2B06BBC8: push esi */ 6978 PUSH32(esp, esi); /* 0x2B06BBC9: push esi */ 6979 PUSH32(esp, esi); /* 0x2B06BBCA: push esi */ 6980 PUSH32(esp, ecx); /* 0x2B06BBCB: push ecx */ 6981 ecx = MEM32(ebp + (-0x14)); /* 0x2B06BBCC: mov ecx, dword ptr [ebp - 0x14] */ 6982 PUSH32(esp, edx); /* 0x2B06BBCF: push edx */ 6983 PUSH32(esp, eax); /* 0x2B06BBD0: push eax */ 6984 PUSH32(esp, ecx); /* 0x2B06BBD1: push ecx */ 6985 ecx = edi; /* 0x2B06BBD2: mov ecx, edi */ 6986 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B06BBD4: call dword ptr [0x2b0b5af0] */ 6987 RECOMP_FLAGS_IN(); 6988 MEM32(edi) = 0x2B0B642Cu; /* 0x2B06BBDA: mov dword ptr [edi], 0x2b0b642c */ 6989 eax = edi; /* 0x2B06BBE0: mov eax, edi */ 6990 goto L_2B06BBE6; /* 0x2B06BBE2: jmp 0x2b06bbe6 */ 6991 L_2B06BBE4: 6992 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6993 eax = 0; /* 0x2B06BBE4: xor eax, eax */ 6994 _cf = 0; 6995 _flag_k = FK_TEST; 6996 L_2B06BBE6: 6997 MEM32(ebx + 0x8C) = eax; /* 0x2B06BBE6: mov dword ptr [ebx + 0x8c], eax */ 6998 MEM32(eax + 0x7C) = 0x2B06D150u; /* 0x2B06BBEC: mov dword ptr [eax + 0x7c], 0x2b06d150 */ 6999 MEM32(eax + 0x80) = ebx; /* 0x2B06BBF3: mov dword ptr [eax + 0x80], ebx */ 7000 MEM8(eax + 0x24) = (uint8_t)(1); /* 0x2B06BBF9: mov byte ptr [eax + 0x24], 1 */ 7001 MEM8(eax + 0x25) = (uint8_t)(1); /* 0x2B06BBFD: mov byte ptr [eax + 0x25], 1 */ 7002 eax = MEM32(ebx + 0x8C); /* 0x2B06BC01: mov eax, dword ptr [ebx + 0x8c] */ 7003 PUSH32(esp, 0x9Cu); /* 0x2B06BC07: push 0x9c */ 7004 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BC0C: mov byte ptr [ebp - 4], 1 */ 7005 MEM32(eax + 0x1C) = 0x2B06D180u; /* 0x2B06BC10: mov dword ptr [eax + 0x1c], 0x2b06d180 */ 7006 MEM32(eax + 0x20) = ebx; /* 0x2B06BC17: mov dword ptr [eax + 0x20], ebx */ 7007 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BC1A: call 0x2b0ab212 */ /* not lifted */ 7008 RECOMP_FLAGS_IN(); 7009 edi = eax; /* 0x2B06BC1F: mov edi, eax */ 7010 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7011 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7012 esp = esp + 4; /* 0x2B06BC21: add esp, 4 */ 7013 _flag_k = FK_ADD; 7014 MEM32(ebp + 0x8) = edi; /* 0x2B06BC24: mov dword ptr [ebp + 8], edi */ 7015 /* cmp edi, esi */ /* 0x2B06BC27: cmp edi, esi */ 7016 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 7017 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7018 _flag_k = FK_CMP; 7019 MEM8(ebp + (-0x4)) = (uint8_t)(9); /* 0x2B06BC29: mov byte ptr [ebp - 4], 9 */ 7020 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BC5D; /* 0x2B06BC2D: je 0x2b06bc5d */ 7021 L_2B06BC2F: 7022 edx = MEM32(ebx + 0x68); /* 0x2B06BC2F: mov edx, dword ptr [ebx + 0x68] */ 7023 eax = MEM32(ebx + 0x64); /* 0x2B06BC32: mov eax, dword ptr [ebx + 0x64] */ 7024 ecx = MEM32(ebp + (-0x10)); /* 0x2B06BC35: mov ecx, dword ptr [ebp - 0x10] */ 7025 PUSH32(esp, esi); /* 0x2B06BC38: push esi */ 7026 PUSH32(esp, 4); /* 0x2B06BC39: push 4 */ 7027 PUSH32(esp, esi); /* 0x2B06BC3B: push esi */ 7028 PUSH32(esp, 0x6D60u); /* 0x2B06BC3C: push 0x6d60 */ 7029 PUSH32(esp, esi); /* 0x2B06BC41: push esi */ 7030 PUSH32(esp, esi); /* 0x2B06BC42: push esi */ 7031 PUSH32(esp, esi); /* 0x2B06BC43: push esi */ 7032 PUSH32(esp, edx); /* 0x2B06BC44: push edx */ 7033 edx = MEM32(ebp + (-0x14)); /* 0x2B06BC45: mov edx, dword ptr [ebp - 0x14] */ 7034 PUSH32(esp, eax); /* 0x2B06BC48: push eax */ 7035 PUSH32(esp, ecx); /* 0x2B06BC49: push ecx */ 7036 PUSH32(esp, edx); /* 0x2B06BC4A: push edx */ 7037 ecx = edi; /* 0x2B06BC4B: mov ecx, edi */ 7038 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B06BC4D: call dword ptr [0x2b0b5af0] */ 7039 RECOMP_FLAGS_IN(); 7040 MEM32(edi) = 0x2B0B642Cu; /* 0x2B06BC53: mov dword ptr [edi], 0x2b0b642c */ 7041 eax = edi; /* 0x2B06BC59: mov eax, edi */ 7042 goto L_2B06BC5F; /* 0x2B06BC5B: jmp 0x2b06bc5f */ 7043 L_2B06BC5D: 7044 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7045 eax = 0; /* 0x2B06BC5D: xor eax, eax */ 7046 _cf = 0; 7047 _flag_k = FK_TEST; 7048 L_2B06BC5F: 7049 MEM32(ebx + 0x88) = eax; /* 0x2B06BC5F: mov dword ptr [ebx + 0x88], eax */ 7050 MEM32(eax + 0x1C) = 0x2B06D180u; /* 0x2B06BC65: mov dword ptr [eax + 0x1c], 0x2b06d180 */ 7051 MEM32(eax + 0x20) = ebx; /* 0x2B06BC6C: mov dword ptr [eax + 0x20], ebx */ 7052 eax = MEM32(ebx + 0x7C); /* 0x2B06BC6F: mov eax, dword ptr [ebx + 0x7c] */ 7053 PUSH32(esp, 2); /* 0x2B06BC72: push 2 */ 7054 PUSH32(esp, 9); /* 0x2B06BC74: push 9 */ 7055 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BC76: mov byte ptr [ebp - 4], 1 */ 7056 MEM32(ebp + (-0x34)) = eax; /* 0x2B06BC7A: mov dword ptr [ebp - 0x34], eax */ 7057 MEM32(ebp + (-0x30)) = eax; /* 0x2B06BC7D: mov dword ptr [ebp - 0x30], eax */ 7058 MEM32(ebp + (-0x8C)) = esi; /* 0x2B06BC80: mov dword ptr [ebp - 0x8c], esi */ 7059 MEM32(ebp + (-0x88)) = esi; /* 0x2B06BC86: mov dword ptr [ebp - 0x88], esi */ 7060 MEM32(ebp + (-0x84)) = eax; /* 0x2B06BC8C: mov dword ptr [ebp - 0x84], eax */ 7061 MEM32(ebp + (-0x80)) = eax; /* 0x2B06BC92: mov dword ptr [ebp - 0x80], eax */ 7062 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06BC95: call dword ptr [0x2b0b5f80] */ 7063 RECOMP_FLAGS_IN(); 7064 ecx = eax; /* 0x2B06BC9B: mov ecx, eax */ 7065 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06BC9D: call dword ptr [0x2b0b5fbc] */ 7066 RECOMP_FLAGS_IN(); 7067 PUSH32(esp, 0x50u); /* 0x2B06BCA3: push 0x50 */ 7068 edi = eax; /* 0x2B06BCA5: mov edi, eax */ 7069 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BCA7: call 0x2b0ab212 */ /* not lifted */ 7070 RECOMP_FLAGS_IN(); 7071 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7072 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7073 esp = esp + 4; /* 0x2B06BCAC: add esp, 4 */ 7074 _flag_k = FK_ADD; 7075 MEM32(ebp + 0x8) = eax; /* 0x2B06BCAF: mov dword ptr [ebp + 8], eax */ 7076 /* cmp eax, esi */ /* 0x2B06BCB2: cmp eax, esi */ 7077 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 7078 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7079 _flag_k = FK_CMP; 7080 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B06BCB4: mov byte ptr [ebp - 4], 0xa */ 7081 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BCE0; /* 0x2B06BCB8: je 0x2b06bce0 */ 7082 L_2B06BCBA: 7083 PUSH32(esp, esi); /* 0x2B06BCBA: push esi */ 7084 PUSH32(esp, 0x3F800000u); /* 0x2B06BCBB: push 0x3f800000 */ 7085 PUSH32(esp, 0x3F800000u); /* 0x2B06BCC0: push 0x3f800000 */ 7086 PUSH32(esp, 0x6D60u); /* 0x2B06BCC5: push 0x6d60 */ 7087 ecx = ebp + (-0x14); /* 0x2B06BCCA: lea ecx, [ebp - 0x14] */ 7088 PUSH32(esp, ecx); /* 0x2B06BCCD: push ecx */ 7089 edx = ebp + (-0x34); /* 0x2B06BCCE: lea edx, [ebp - 0x34] */ 7090 PUSH32(esp, edx); /* 0x2B06BCD1: push edx */ 7091 PUSH32(esp, 4); /* 0x2B06BCD2: push 4 */ 7092 PUSH32(esp, 4); /* 0x2B06BCD4: push 4 */ 7093 ecx = eax; /* 0x2B06BCD6: mov ecx, eax */ 7094 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B06BCD8: call dword ptr [0x2b0b5bd8] */ 7095 RECOMP_FLAGS_IN(); 7096 goto L_2B06BCE2; /* 0x2B06BCDE: jmp 0x2b06bce2 */ 7097 L_2B06BCE0: 7098 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7099 eax = 0; /* 0x2B06BCE0: xor eax, eax */ 7100 _cf = 0; 7101 _flag_k = FK_TEST; 7102 L_2B06BCE2: 7103 PUSH32(esp, 1); /* 0x2B06BCE2: push 1 */ 7104 MEM32(ebx + 0xA4) = eax; /* 0x2B06BCE4: mov dword ptr [ebx + 0xa4], eax */ 7105 eax = MEM32(eax + 0x28); /* 0x2B06BCEA: mov eax, dword ptr [eax + 0x28] */ 7106 PUSH32(esp, esi); /* 0x2B06BCED: push esi */ 7107 PUSH32(esp, esi); /* 0x2B06BCEE: push esi */ 7108 ecx = eax; /* 0x2B06BCEF: mov ecx, eax */ 7109 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BCF1: mov byte ptr [ebp - 4], 1 */ 7110 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B06BCF5: call dword ptr [0x2b0b564c] */ 7111 RECOMP_FLAGS_IN(); 7112 eax = MEM32(ebx + 0xA4); /* 0x2B06BCFB: mov eax, dword ptr [ebx + 0xa4] */ 7113 ecx = MEM32(eax + 0x28); /* 0x2B06BD01: mov ecx, dword ptr [eax + 0x28] */ 7114 PUSH32(esp, 0xFF00u); /* 0x2B06BD04: push 0xff00 */ 7115 PUSH32(esp, edi); /* 0x2B06BD09: push edi */ 7116 edx = ebp + (-0x14); /* 0x2B06BD0A: lea edx, [ebp - 0x14] */ 7117 PUSH32(esp, edx); /* 0x2B06BD0D: push edx */ 7118 eax = ebp + (-0x8C); /* 0x2B06BD0E: lea eax, [ebp - 0x8c] */ 7119 PUSH32(esp, eax); /* 0x2B06BD14: push eax */ 7120 RECOMP_ICALL(MEM32(0x2B0B5554)); /* 0x2B06BD15: call dword ptr [0x2b0b5554] */ 7121 RECOMP_FLAGS_IN(); 7122 ecx = MEM32(ebx + 0xA4); /* 0x2B06BD1B: mov ecx, dword ptr [ebx + 0xa4] */ 7123 RECOMP_ICALL(MEM32(0x2B0B5BDC)); /* 0x2B06BD21: call dword ptr [0x2b0b5bdc] */ 7124 RECOMP_FLAGS_IN(); 7125 PUSH32(esp, edi); /* 0x2B06BD27: push edi */ 7126 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06BD28: call dword ptr [0x2b0b5f80] */ 7127 RECOMP_FLAGS_IN(); 7128 ecx = eax; /* 0x2B06BD2E: mov ecx, eax */ 7129 RECOMP_ICALL(MEM32(0x2B0B5FB8)); /* 0x2B06BD30: call dword ptr [0x2b0b5fb8] */ 7130 RECOMP_FLAGS_IN(); 7131 PUSH32(esp, 0x9Cu); /* 0x2B06BD36: push 0x9c */ 7132 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BD3B: call 0x2b0ab212 */ /* not lifted */ 7133 RECOMP_FLAGS_IN(); 7134 edi = eax; /* 0x2B06BD40: mov edi, eax */ 7135 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7136 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7137 esp = esp + 4; /* 0x2B06BD42: add esp, 4 */ 7138 _flag_k = FK_ADD; 7139 MEM32(ebp + 0x8) = edi; /* 0x2B06BD45: mov dword ptr [ebp + 8], edi */ 7140 /* cmp edi, esi */ /* 0x2B06BD48: cmp edi, esi */ 7141 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 7142 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7143 _flag_k = FK_CMP; 7144 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B06BD4A: mov byte ptr [ebp - 4], 0xb */ 7145 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BD84; /* 0x2B06BD4E: je 0x2b06bd84 */ 7146 L_2B06BD50: 7147 ecx = MEM32(ebx + 0xA4); /* 0x2B06BD50: mov ecx, dword ptr [ebx + 0xa4] */ 7148 edx = MEM32(ebp + (-0x30)); /* 0x2B06BD56: mov edx, dword ptr [ebp - 0x30] */ 7149 eax = MEM32(ebp + (-0x34)); /* 0x2B06BD59: mov eax, dword ptr [ebp - 0x34] */ 7150 PUSH32(esp, ecx); /* 0x2B06BD5C: push ecx */ 7151 ecx = MEM32(ebp + (-0x10)); /* 0x2B06BD5D: mov ecx, dword ptr [ebp - 0x10] */ 7152 PUSH32(esp, 4); /* 0x2B06BD60: push 4 */ 7153 PUSH32(esp, esi); /* 0x2B06BD62: push esi */ 7154 PUSH32(esp, 0x6D61u); /* 0x2B06BD63: push 0x6d61 */ 7155 PUSH32(esp, esi); /* 0x2B06BD68: push esi */ 7156 PUSH32(esp, esi); /* 0x2B06BD69: push esi */ 7157 PUSH32(esp, esi); /* 0x2B06BD6A: push esi */ 7158 PUSH32(esp, edx); /* 0x2B06BD6B: push edx */ 7159 edx = MEM32(ebp + (-0x14)); /* 0x2B06BD6C: mov edx, dword ptr [ebp - 0x14] */ 7160 PUSH32(esp, eax); /* 0x2B06BD6F: push eax */ 7161 PUSH32(esp, ecx); /* 0x2B06BD70: push ecx */ 7162 PUSH32(esp, edx); /* 0x2B06BD71: push edx */ 7163 ecx = edi; /* 0x2B06BD72: mov ecx, edi */ 7164 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B06BD74: call dword ptr [0x2b0b5af0] */ 7165 RECOMP_FLAGS_IN(); 7166 MEM32(edi) = 0x2B0B642Cu; /* 0x2B06BD7A: mov dword ptr [edi], 0x2b0b642c */ 7167 eax = edi; /* 0x2B06BD80: mov eax, edi */ 7168 goto L_2B06BD86; /* 0x2B06BD82: jmp 0x2b06bd86 */ 7169 L_2B06BD84: 7170 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7171 eax = 0; /* 0x2B06BD84: xor eax, eax */ 7172 _cf = 0; 7173 _flag_k = FK_TEST; 7174 L_2B06BD86: 7175 MEM32(ebx + 0xD0) = eax; /* 0x2B06BD86: mov dword ptr [ebx + 0xd0], eax */ 7176 MEM32(eax + 0x7C) = 0x2B06D300u; /* 0x2B06BD8C: mov dword ptr [eax + 0x7c], 0x2b06d300 */ 7177 MEM32(eax + 0x80) = ebx; /* 0x2B06BD93: mov dword ptr [eax + 0x80], ebx */ 7178 MEM8(eax + 0x24) = (uint8_t)(1); /* 0x2B06BD99: mov byte ptr [eax + 0x24], 1 */ 7179 MEM8(eax + 0x25) = (uint8_t)(1); /* 0x2B06BD9D: mov byte ptr [eax + 0x25], 1 */ 7180 eax = MEM32(ebx + 0xD0); /* 0x2B06BDA1: mov eax, dword ptr [ebx + 0xd0] */ 7181 MEM32(eax + 0x1C) = 0x2B06D180u; /* 0x2B06BDA7: mov dword ptr [eax + 0x1c], 0x2b06d180 */ 7182 MEM32(eax + 0x20) = ebx; /* 0x2B06BDAE: mov dword ptr [eax + 0x20], ebx */ 7183 eax = MEM32(ebx + 0x7C); /* 0x2B06BDB1: mov eax, dword ptr [ebx + 0x7c] */ 7184 if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2B06BDB4: shl eax, 2 */ 7185 if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7186 eax = eax << 2u; /* 0x2B06BDB4: shl eax, 2 */ 7187 PUSH32(esp, 0x50u); /* 0x2B06BDB7: push 0x50 */ 7188 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BDB9: mov byte ptr [ebp - 4], 1 */ 7189 MEM32(ebp + (-0x34)) = eax; /* 0x2B06BDBD: mov dword ptr [ebp - 0x34], eax */ 7190 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BDC0: call 0x2b0ab212 */ /* not lifted */ 7191 RECOMP_FLAGS_IN(); 7192 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7193 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7194 esp = esp + 4; /* 0x2B06BDC5: add esp, 4 */ 7195 _flag_k = FK_ADD; 7196 MEM32(ebp + 0x8) = eax; /* 0x2B06BDC8: mov dword ptr [ebp + 8], eax */ 7197 /* cmp eax, esi */ /* 0x2B06BDCB: cmp eax, esi */ 7198 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 7199 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7200 _flag_k = FK_CMP; 7201 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x2B06BDCD: mov byte ptr [ebp - 4], 0xc */ 7202 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BDF9; /* 0x2B06BDD1: je 0x2b06bdf9 */ 7203 L_2B06BDD3: 7204 PUSH32(esp, esi); /* 0x2B06BDD3: push esi */ 7205 PUSH32(esp, 0x3F800000u); /* 0x2B06BDD4: push 0x3f800000 */ 7206 PUSH32(esp, 0x3F800000u); /* 0x2B06BDD9: push 0x3f800000 */ 7207 PUSH32(esp, 0x6D60u); /* 0x2B06BDDE: push 0x6d60 */ 7208 ecx = ebp + (-0x14); /* 0x2B06BDE3: lea ecx, [ebp - 0x14] */ 7209 PUSH32(esp, ecx); /* 0x2B06BDE6: push ecx */ 7210 edx = ebp + (-0x34); /* 0x2B06BDE7: lea edx, [ebp - 0x34] */ 7211 PUSH32(esp, edx); /* 0x2B06BDEA: push edx */ 7212 PUSH32(esp, 4); /* 0x2B06BDEB: push 4 */ 7213 PUSH32(esp, 6); /* 0x2B06BDED: push 6 */ 7214 ecx = eax; /* 0x2B06BDEF: mov ecx, eax */ 7215 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B06BDF1: call dword ptr [0x2b0b5bd8] */ 7216 RECOMP_FLAGS_IN(); 7217 goto L_2B06BDFB; /* 0x2B06BDF7: jmp 0x2b06bdfb */ 7218 L_2B06BDF9: 7219 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7220 eax = 0; /* 0x2B06BDF9: xor eax, eax */ 7221 _cf = 0; 7222 _flag_k = FK_TEST; 7223 L_2B06BDFB: 7224 PUSH32(esp, 1); /* 0x2B06BDFB: push 1 */ 7225 MEM32(ebx + 0xA8) = eax; /* 0x2B06BDFD: mov dword ptr [ebx + 0xa8], eax */ 7226 eax = MEM32(eax + 0x28); /* 0x2B06BE03: mov eax, dword ptr [eax + 0x28] */ 7227 PUSH32(esp, esi); /* 0x2B06BE06: push esi */ 7228 PUSH32(esp, esi); /* 0x2B06BE07: push esi */ 7229 ecx = eax; /* 0x2B06BE08: mov ecx, eax */ 7230 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BE0A: mov byte ptr [ebp - 4], 1 */ 7231 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B06BE0E: call dword ptr [0x2b0b564c] */ 7232 RECOMP_FLAGS_IN(); 7233 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7234 eax = 0; /* 0x2B06BE14: xor eax, eax */ 7235 _cf = 0; 7236 _flag_k = FK_TEST; 7237 ecx = 0xCu; /* 0x2B06BE16: mov ecx, 0xc */ 7238 edi = ebp + (-0x64); /* 0x2B06BE1B: lea edi, [ebp - 0x64] */ 7239 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BE1E: 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; } 7240 ecx = 0xCu; /* 0x2B06BE20: mov ecx, 0xc */ 7241 edi = ebp + (-0x64); /* 0x2B06BE25: lea edi, [ebp - 0x64] */ 7242 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BE28: 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; } 7243 eax = MEM32(ebx + 0x7C); /* 0x2B06BE2A: mov eax, dword ptr [ebx + 0x7c] */ 7244 PUSH32(esp, 0xBCu); /* 0x2B06BE2D: push 0xbc */ 7245 MEM32(ebp + (-0x58)) = 0x2B0EB4A8u; /* 0x2B06BE32: mov dword ptr [ebp - 0x58], 0x2b0eb4a8 */ 7246 MEM32(ebp + (-0x54)) = eax; /* 0x2B06BE39: mov dword ptr [ebp - 0x54], eax */ 7247 MEM32(ebp + (-0x4C)) = 0x6D61u; /* 0x2B06BE3C: mov dword ptr [ebp - 0x4c], 0x6d61 */ 7248 MEM32(ebp + (-0x64)) = 1; /* 0x2B06BE43: mov dword ptr [ebp - 0x64], 1 */ 7249 MEM32(ebp + (-0x44)) = 0x64u; /* 0x2B06BE4A: mov dword ptr [ebp - 0x44], 0x64 */ 7250 MEM32(ebp + (-0x40)) = 0x65u; /* 0x2B06BE51: mov dword ptr [ebp - 0x40], 0x65 */ 7251 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BE58: call 0x2b0ab212 */ /* not lifted */ 7252 RECOMP_FLAGS_IN(); 7253 edi = eax; /* 0x2B06BE5D: mov edi, eax */ 7254 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7255 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7256 esp = esp + 4; /* 0x2B06BE5F: add esp, 4 */ 7257 _flag_k = FK_ADD; 7258 MEM32(ebp + 0x8) = edi; /* 0x2B06BE62: mov dword ptr [ebp + 8], edi */ 7259 /* cmp edi, esi */ /* 0x2B06BE65: cmp edi, esi */ 7260 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 7261 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7262 _flag_k = FK_CMP; 7263 MEM8(ebp + (-0x4)) = (uint8_t)(0xDu); /* 0x2B06BE67: mov byte ptr [ebp - 4], 0xd */ 7264 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BE8A; /* 0x2B06BE6B: je 0x2b06be8a */ 7265 L_2B06BE6D: 7266 ecx = MEM32(ebx + 0xA8); /* 0x2B06BE6D: mov ecx, dword ptr [ebx + 0xa8] */ 7267 PUSH32(esp, ecx); /* 0x2B06BE73: push ecx */ 7268 edx = ebp + (-0x64); /* 0x2B06BE74: lea edx, [ebp - 0x64] */ 7269 PUSH32(esp, edx); /* 0x2B06BE77: push edx */ 7270 ecx = edi; /* 0x2B06BE78: mov ecx, edi */ 7271 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B06BE7A: call dword ptr [0x2b0b5afc] */ 7272 RECOMP_FLAGS_IN(); 7273 MEM32(edi) = 0x2B0B645Cu; /* 0x2B06BE80: mov dword ptr [edi], 0x2b0b645c */ 7274 ecx = edi; /* 0x2B06BE86: mov ecx, edi */ 7275 goto L_2B06BE8C; /* 0x2B06BE88: jmp 0x2b06be8c */ 7276 L_2B06BE8A: 7277 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7278 ecx = 0; /* 0x2B06BE8A: xor ecx, ecx */ 7279 _cf = 0; 7280 _flag_k = FK_TEST; 7281 L_2B06BE8C: 7282 PUSH32(esp, ebx); /* 0x2B06BE8C: push ebx */ 7283 PUSH32(esp, 0x2B06D3A0u); /* 0x2B06BE8D: push 0x2b06d3a0 */ 7284 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BE92: mov byte ptr [ebp - 4], 1 */ 7285 MEM32(ebx + 0xCC) = ecx; /* 0x2B06BE96: mov dword ptr [ebx + 0xcc], ecx */ 7286 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B06BE9C: call dword ptr [0x2b0b5af8] */ 7287 RECOMP_FLAGS_IN(); 7288 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7289 eax = 0; /* 0x2B06BEA2: xor eax, eax */ 7290 _cf = 0; 7291 _flag_k = FK_TEST; 7292 ecx = 0xCu; /* 0x2B06BEA4: mov ecx, 0xc */ 7293 edi = ebp + (-0x64); /* 0x2B06BEA9: lea edi, [ebp - 0x64] */ 7294 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BEAC: 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; } 7295 eax = MEM32(ebx + 0x7C); /* 0x2B06BEAE: mov eax, dword ptr [ebx + 0x7c] */ 7296 if (1u) _cf = (((eax) >> 31) & 1u); /* 0x2B06BEB1: shl eax, 1 */ 7297 if (1u) { _flag_a = recomp_flags_pack((eax << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7298 eax = eax << 1u; /* 0x2B06BEB1: shl eax, 1 */ 7299 PUSH32(esp, 0xBCu); /* 0x2B06BEB3: push 0xbc */ 7300 MEM32(ebp + (-0x54)) = eax; /* 0x2B06BEB8: mov dword ptr [ebp - 0x54], eax */ 7301 MEM32(ebp + (-0x58)) = 0x2B0EB4A0u; /* 0x2B06BEBB: mov dword ptr [ebp - 0x58], 0x2b0eb4a0 */ 7302 MEM32(ebp + (-0x4C)) = 0x6D61u; /* 0x2B06BEC2: mov dword ptr [ebp - 0x4c], 0x6d61 */ 7303 MEM32(ebp + (-0x48)) = 0x66u; /* 0x2B06BEC9: mov dword ptr [ebp - 0x48], 0x66 */ 7304 MEM32(ebp + (-0x44)) = 0x67u; /* 0x2B06BED0: mov dword ptr [ebp - 0x44], 0x67 */ 7305 MEM32(ebp + (-0x40)) = 0x68u; /* 0x2B06BED7: mov dword ptr [ebp - 0x40], 0x68 */ 7306 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BEDE: call 0x2b0ab212 */ /* not lifted */ 7307 RECOMP_FLAGS_IN(); 7308 edi = eax; /* 0x2B06BEE3: mov edi, eax */ 7309 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7310 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7311 esp = esp + 4; /* 0x2B06BEE5: add esp, 4 */ 7312 _flag_k = FK_ADD; 7313 MEM32(ebp + 0x8) = edi; /* 0x2B06BEE8: mov dword ptr [ebp + 8], edi */ 7314 /* cmp edi, esi */ /* 0x2B06BEEB: cmp edi, esi */ 7315 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 7316 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7317 _flag_k = FK_CMP; 7318 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x2B06BEED: mov byte ptr [ebp - 4], 0xe */ 7319 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BF10; /* 0x2B06BEF1: je 0x2b06bf10 */ 7320 L_2B06BEF3: 7321 ecx = MEM32(ebx + 0xA8); /* 0x2B06BEF3: mov ecx, dword ptr [ebx + 0xa8] */ 7322 PUSH32(esp, ecx); /* 0x2B06BEF9: push ecx */ 7323 edx = ebp + (-0x64); /* 0x2B06BEFA: lea edx, [ebp - 0x64] */ 7324 PUSH32(esp, edx); /* 0x2B06BEFD: push edx */ 7325 ecx = edi; /* 0x2B06BEFE: mov ecx, edi */ 7326 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B06BF00: call dword ptr [0x2b0b5afc] */ 7327 RECOMP_FLAGS_IN(); 7328 MEM32(edi) = 0x2B0B645Cu; /* 0x2B06BF06: mov dword ptr [edi], 0x2b0b645c */ 7329 ecx = edi; /* 0x2B06BF0C: mov ecx, edi */ 7330 goto L_2B06BF12; /* 0x2B06BF0E: jmp 0x2b06bf12 */ 7331 L_2B06BF10: 7332 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7333 ecx = 0; /* 0x2B06BF10: xor ecx, ecx */ 7334 _cf = 0; 7335 _flag_k = FK_TEST; 7336 L_2B06BF12: 7337 PUSH32(esp, ebx); /* 0x2B06BF12: push ebx */ 7338 PUSH32(esp, 0x2B06D360u); /* 0x2B06BF13: push 0x2b06d360 */ 7339 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BF18: mov byte ptr [ebp - 4], 1 */ 7340 MEM32(ebx + 0xC8) = ecx; /* 0x2B06BF1C: mov dword ptr [ebx + 0xc8], ecx */ 7341 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B06BF22: call dword ptr [0x2b0b5af8] */ 7342 RECOMP_FLAGS_IN(); 7343 ecx = MEM32(ebx + 0xC8); /* 0x2B06BF28: mov ecx, dword ptr [ebx + 0xc8] */ 7344 PUSH32(esp, esi); /* 0x2B06BF2E: push esi */ 7345 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06BF2F: call dword ptr [0x2b0b5ab4] */ 7346 RECOMP_FLAGS_IN(); 7347 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7348 eax = 0; /* 0x2B06BF35: xor eax, eax */ 7349 _cf = 0; 7350 _flag_k = FK_TEST; 7351 ecx = 0xCu; /* 0x2B06BF37: mov ecx, 0xc */ 7352 edi = ebp + (-0x64); /* 0x2B06BF3C: lea edi, [ebp - 0x64] */ 7353 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BF3F: 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; } 7354 eax = MEM32(ebx + 0x7C); /* 0x2B06BF41: mov eax, dword ptr [ebx + 0x7c] */ 7355 eax = eax + eax * 2; /* 0x2B06BF44: lea eax, [eax + eax*2] */ 7356 PUSH32(esp, 0xBCu); /* 0x2B06BF47: push 0xbc */ 7357 MEM32(ebp + (-0x54)) = eax; /* 0x2B06BF4C: mov dword ptr [ebp - 0x54], eax */ 7358 MEM32(ebp + (-0x58)) = 0x2B0E6EE8u; /* 0x2B06BF4F: mov dword ptr [ebp - 0x58], 0x2b0e6ee8 */ 7359 MEM32(ebp + (-0x4C)) = 0x6D61u; /* 0x2B06BF56: mov dword ptr [ebp - 0x4c], 0x6d61 */ 7360 MEM32(ebp + (-0x48)) = 0xAu; /* 0x2B06BF5D: mov dword ptr [ebp - 0x48], 0xa */ 7361 MEM32(ebp + (-0x44)) = 0x69u; /* 0x2B06BF64: mov dword ptr [ebp - 0x44], 0x69 */ 7362 MEM32(ebp + (-0x40)) = 0x6Au; /* 0x2B06BF6B: mov dword ptr [ebp - 0x40], 0x6a */ 7363 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BF72: call 0x2b0ab212 */ /* not lifted */ 7364 RECOMP_FLAGS_IN(); 7365 edi = eax; /* 0x2B06BF77: mov edi, eax */ 7366 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7367 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7368 esp = esp + 4; /* 0x2B06BF79: add esp, 4 */ 7369 _flag_k = FK_ADD; 7370 MEM32(ebp + 0x8) = edi; /* 0x2B06BF7C: mov dword ptr [ebp + 8], edi */ 7371 /* cmp edi, esi */ /* 0x2B06BF7F: cmp edi, esi */ 7372 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 7373 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7374 _flag_k = FK_CMP; 7375 MEM8(ebp + (-0x4)) = (uint8_t)(0xFu); /* 0x2B06BF81: mov byte ptr [ebp - 4], 0xf */ 7376 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BFA4; /* 0x2B06BF85: je 0x2b06bfa4 */ 7377 L_2B06BF87: 7378 ecx = MEM32(ebx + 0xA8); /* 0x2B06BF87: mov ecx, dword ptr [ebx + 0xa8] */ 7379 PUSH32(esp, ecx); /* 0x2B06BF8D: push ecx */ 7380 edx = ebp + (-0x64); /* 0x2B06BF8E: lea edx, [ebp - 0x64] */ 7381 PUSH32(esp, edx); /* 0x2B06BF91: push edx */ 7382 ecx = edi; /* 0x2B06BF92: mov ecx, edi */ 7383 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B06BF94: call dword ptr [0x2b0b5afc] */ 7384 RECOMP_FLAGS_IN(); 7385 MEM32(edi) = 0x2B0B645Cu; /* 0x2B06BF9A: mov dword ptr [edi], 0x2b0b645c */ 7386 ecx = edi; /* 0x2B06BFA0: mov ecx, edi */ 7387 goto L_2B06BFA6; /* 0x2B06BFA2: jmp 0x2b06bfa6 */ 7388 L_2B06BFA4: 7389 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7390 ecx = 0; /* 0x2B06BFA4: xor ecx, ecx */ 7391 _cf = 0; 7392 _flag_k = FK_TEST; 7393 L_2B06BFA6: 7394 PUSH32(esp, ebx); /* 0x2B06BFA6: push ebx */ 7395 PUSH32(esp, 0x2B06D340u); /* 0x2B06BFA7: push 0x2b06d340 */ 7396 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BFAC: mov byte ptr [ebp - 4], 1 */ 7397 MEM32(ebx + 0xC4) = ecx; /* 0x2B06BFB0: mov dword ptr [ebx + 0xc4], ecx */ 7398 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B06BFB6: call dword ptr [0x2b0b5af8] */ 7399 RECOMP_FLAGS_IN(); 7400 PUSH32(esp, 2); /* 0x2B06BFBC: push 2 */ 7401 PUSH32(esp, 8); /* 0x2B06BFBE: push 8 */ 7402 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06BFC0: call dword ptr [0x2b0b5f80] */ 7403 RECOMP_FLAGS_IN(); 7404 ecx = eax; /* 0x2B06BFC6: mov ecx, eax */ 7405 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06BFC8: call dword ptr [0x2b0b5fbc] */ 7406 RECOMP_FLAGS_IN(); 7407 PUSH32(esp, 0xD8u); /* 0x2B06BFCE: push 0xd8 */ 7408 MEM32(ebp + 0x8) = eax; /* 0x2B06BFD3: mov dword ptr [ebp + 8], eax */ 7409 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BFD6: call 0x2b0ab212 */ /* not lifted */ 7410 RECOMP_FLAGS_IN(); 7411 edi = eax; /* 0x2B06BFDB: mov edi, eax */ 7412 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7413 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7414 esp = esp + 4; /* 0x2B06BFDD: add esp, 4 */ 7415 _flag_k = FK_ADD; 7416 MEM32(ebp + (-0x28)) = edi; /* 0x2B06BFE0: mov dword ptr [ebp - 0x28], edi */ 7417 /* cmp edi, esi */ /* 0x2B06BFE3: cmp edi, esi */ 7418 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 7419 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7420 _flag_k = FK_CMP; 7421 MEM8(ebp + (-0x4)) = (uint8_t)(0x10u); /* 0x2B06BFE5: mov byte ptr [ebp - 4], 0x10 */ 7422 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C01F; /* 0x2B06BFE9: je 0x2b06c01f */ 7423 L_2B06BFEB: 7424 edx = MEM32(ebp + 0x8); /* 0x2B06BFEB: mov edx, dword ptr [ebp + 8] */ 7425 eax = ebp + (-0x18); /* 0x2B06BFEE: lea eax, [ebp - 0x18] */ 7426 PUSH32(esp, eax); /* 0x2B06BFF1: push eax */ 7427 ecx = ebp + (-0x20); /* 0x2B06BFF2: lea ecx, [ebp - 0x20] */ 7428 PUSH32(esp, ecx); /* 0x2B06BFF5: push ecx */ 7429 PUSH32(esp, esi); /* 0x2B06BFF6: push esi */ 7430 PUSH32(esp, 0x6D60u); /* 0x2B06BFF7: push 0x6d60 */ 7431 PUSH32(esp, edx); /* 0x2B06BFFC: push edx */ 7432 eax = ebp + (-0x14); /* 0x2B06BFFD: lea eax, [ebp - 0x14] */ 7433 PUSH32(esp, eax); /* 0x2B06C000: push eax */ 7434 ecx = edi; /* 0x2B06C001: mov ecx, edi */ 7435 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C003: mov dword ptr [ebp - 0x18], 0x3f800000 */ 7436 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C00A: mov dword ptr [ebp - 0x20], 0x3f800000 */ 7437 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C011: call dword ptr [0x2b0b5654] */ 7438 RECOMP_FLAGS_IN(); 7439 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C017: mov dword ptr [edi], 0x2b0b618c */ 7440 goto L_2B06C021; /* 0x2B06C01D: jmp 0x2b06c021 */ 7441 L_2B06C01F: 7442 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7443 edi = 0; /* 0x2B06C01F: xor edi, edi */ 7444 _cf = 0; 7445 _flag_k = FK_TEST; 7446 L_2B06C021: 7447 PUSH32(esp, 2); /* 0x2B06C021: push 2 */ 7448 PUSH32(esp, 7); /* 0x2B06C023: push 7 */ 7449 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C025: mov byte ptr [ebp - 4], 1 */ 7450 MEM32(ebx + 0xAC) = edi; /* 0x2B06C029: mov dword ptr [ebx + 0xac], edi */ 7451 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C02F: call dword ptr [0x2b0b5f80] */ 7452 RECOMP_FLAGS_IN(); 7453 ecx = eax; /* 0x2B06C035: mov ecx, eax */ 7454 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C037: call dword ptr [0x2b0b5fbc] */ 7455 RECOMP_FLAGS_IN(); 7456 PUSH32(esp, 0xD8u); /* 0x2B06C03D: push 0xd8 */ 7457 MEM32(ebp + 0x8) = eax; /* 0x2B06C042: mov dword ptr [ebp + 8], eax */ 7458 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C045: call 0x2b0ab212 */ /* not lifted */ 7459 RECOMP_FLAGS_IN(); 7460 edi = eax; /* 0x2B06C04A: mov edi, eax */ 7461 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7462 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7463 esp = esp + 4; /* 0x2B06C04C: add esp, 4 */ 7464 _flag_k = FK_ADD; 7465 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C04F: mov dword ptr [ebp - 0x28], edi */ 7466 /* cmp edi, esi */ /* 0x2B06C052: cmp edi, esi */ 7467 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 7468 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7469 _flag_k = FK_CMP; 7470 MEM8(ebp + (-0x4)) = (uint8_t)(0x11u); /* 0x2B06C054: mov byte ptr [ebp - 4], 0x11 */ 7471 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C08E; /* 0x2B06C058: je 0x2b06c08e */ 7472 L_2B06C05A: 7473 eax = MEM32(ebp + 0x8); /* 0x2B06C05A: mov eax, dword ptr [ebp + 8] */ 7474 ecx = ebp + (-0x20); /* 0x2B06C05D: lea ecx, [ebp - 0x20] */ 7475 PUSH32(esp, ecx); /* 0x2B06C060: push ecx */ 7476 edx = ebp + (-0x18); /* 0x2B06C061: lea edx, [ebp - 0x18] */ 7477 PUSH32(esp, edx); /* 0x2B06C064: push edx */ 7478 PUSH32(esp, esi); /* 0x2B06C065: push esi */ 7479 PUSH32(esp, 0x6D60u); /* 0x2B06C066: push 0x6d60 */ 7480 PUSH32(esp, eax); /* 0x2B06C06B: push eax */ 7481 ecx = ebp + (-0x14); /* 0x2B06C06C: lea ecx, [ebp - 0x14] */ 7482 PUSH32(esp, ecx); /* 0x2B06C06F: push ecx */ 7483 ecx = edi; /* 0x2B06C070: mov ecx, edi */ 7484 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C072: mov dword ptr [ebp - 0x20], 0x3f800000 */ 7485 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C079: mov dword ptr [ebp - 0x18], 0x3f800000 */ 7486 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C080: call dword ptr [0x2b0b5654] */ 7487 RECOMP_FLAGS_IN(); 7488 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C086: mov dword ptr [edi], 0x2b0b618c */ 7489 goto L_2B06C090; /* 0x2B06C08C: jmp 0x2b06c090 */ 7490 L_2B06C08E: 7491 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7492 edi = 0; /* 0x2B06C08E: xor edi, edi */ 7493 _cf = 0; 7494 _flag_k = FK_TEST; 7495 L_2B06C090: 7496 PUSH32(esp, 2); /* 0x2B06C090: push 2 */ 7497 PUSH32(esp, 6); /* 0x2B06C092: push 6 */ 7498 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C094: mov byte ptr [ebp - 4], 1 */ 7499 MEM32(ebx + 0xB0) = edi; /* 0x2B06C098: mov dword ptr [ebx + 0xb0], edi */ 7500 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C09E: call dword ptr [0x2b0b5f80] */ 7501 RECOMP_FLAGS_IN(); 7502 ecx = eax; /* 0x2B06C0A4: mov ecx, eax */ 7503 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C0A6: call dword ptr [0x2b0b5fbc] */ 7504 RECOMP_FLAGS_IN(); 7505 PUSH32(esp, 0xD8u); /* 0x2B06C0AC: push 0xd8 */ 7506 MEM32(ebp + 0x8) = eax; /* 0x2B06C0B1: mov dword ptr [ebp + 8], eax */ 7507 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C0B4: call 0x2b0ab212 */ /* not lifted */ 7508 RECOMP_FLAGS_IN(); 7509 edi = eax; /* 0x2B06C0B9: mov edi, eax */ 7510 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7511 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7512 esp = esp + 4; /* 0x2B06C0BB: add esp, 4 */ 7513 _flag_k = FK_ADD; 7514 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C0BE: mov dword ptr [ebp - 0x28], edi */ 7515 /* cmp edi, esi */ /* 0x2B06C0C1: cmp edi, esi */ 7516 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 7517 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7518 _flag_k = FK_CMP; 7519 MEM8(ebp + (-0x4)) = (uint8_t)(0x12u); /* 0x2B06C0C3: mov byte ptr [ebp - 4], 0x12 */ 7520 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C0FD; /* 0x2B06C0C7: je 0x2b06c0fd */ 7521 L_2B06C0C9: 7522 ecx = MEM32(ebp + 0x8); /* 0x2B06C0C9: mov ecx, dword ptr [ebp + 8] */ 7523 edx = ebp + (-0x20); /* 0x2B06C0CC: lea edx, [ebp - 0x20] */ 7524 PUSH32(esp, edx); /* 0x2B06C0CF: push edx */ 7525 eax = ebp + (-0x18); /* 0x2B06C0D0: lea eax, [ebp - 0x18] */ 7526 PUSH32(esp, eax); /* 0x2B06C0D3: push eax */ 7527 PUSH32(esp, esi); /* 0x2B06C0D4: push esi */ 7528 PUSH32(esp, 0x6D60u); /* 0x2B06C0D5: push 0x6d60 */ 7529 PUSH32(esp, ecx); /* 0x2B06C0DA: push ecx */ 7530 edx = ebp + (-0x14); /* 0x2B06C0DB: lea edx, [ebp - 0x14] */ 7531 PUSH32(esp, edx); /* 0x2B06C0DE: push edx */ 7532 ecx = edi; /* 0x2B06C0DF: mov ecx, edi */ 7533 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C0E1: mov dword ptr [ebp - 0x20], 0x3f800000 */ 7534 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C0E8: mov dword ptr [ebp - 0x18], 0x3f800000 */ 7535 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C0EF: call dword ptr [0x2b0b5654] */ 7536 RECOMP_FLAGS_IN(); 7537 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C0F5: mov dword ptr [edi], 0x2b0b618c */ 7538 goto L_2B06C0FF; /* 0x2B06C0FB: jmp 0x2b06c0ff */ 7539 L_2B06C0FD: 7540 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7541 edi = 0; /* 0x2B06C0FD: xor edi, edi */ 7542 _cf = 0; 7543 _flag_k = FK_TEST; 7544 L_2B06C0FF: 7545 PUSH32(esp, 2); /* 0x2B06C0FF: push 2 */ 7546 PUSH32(esp, 5); /* 0x2B06C101: push 5 */ 7547 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C103: mov byte ptr [ebp - 4], 1 */ 7548 MEM32(ebx + 0xB4) = edi; /* 0x2B06C107: mov dword ptr [ebx + 0xb4], edi */ 7549 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C10D: call dword ptr [0x2b0b5f80] */ 7550 RECOMP_FLAGS_IN(); 7551 ecx = eax; /* 0x2B06C113: mov ecx, eax */ 7552 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C115: call dword ptr [0x2b0b5fbc] */ 7553 RECOMP_FLAGS_IN(); 7554 PUSH32(esp, 0xD8u); /* 0x2B06C11B: push 0xd8 */ 7555 MEM32(ebp + 0x8) = eax; /* 0x2B06C120: mov dword ptr [ebp + 8], eax */ 7556 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C123: call 0x2b0ab212 */ /* not lifted */ 7557 RECOMP_FLAGS_IN(); 7558 edi = eax; /* 0x2B06C128: mov edi, eax */ 7559 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7560 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7561 esp = esp + 4; /* 0x2B06C12A: add esp, 4 */ 7562 _flag_k = FK_ADD; 7563 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C12D: mov dword ptr [ebp - 0x28], edi */ 7564 /* cmp edi, esi */ /* 0x2B06C130: cmp edi, esi */ 7565 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 7566 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7567 _flag_k = FK_CMP; 7568 MEM8(ebp + (-0x4)) = (uint8_t)(0x13u); /* 0x2B06C132: mov byte ptr [ebp - 4], 0x13 */ 7569 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C16C; /* 0x2B06C136: je 0x2b06c16c */ 7570 L_2B06C138: 7571 edx = MEM32(ebp + 0x8); /* 0x2B06C138: mov edx, dword ptr [ebp + 8] */ 7572 eax = ebp + (-0x20); /* 0x2B06C13B: lea eax, [ebp - 0x20] */ 7573 PUSH32(esp, eax); /* 0x2B06C13E: push eax */ 7574 ecx = ebp + (-0x18); /* 0x2B06C13F: lea ecx, [ebp - 0x18] */ 7575 PUSH32(esp, ecx); /* 0x2B06C142: push ecx */ 7576 PUSH32(esp, esi); /* 0x2B06C143: push esi */ 7577 PUSH32(esp, 0x6D60u); /* 0x2B06C144: push 0x6d60 */ 7578 PUSH32(esp, edx); /* 0x2B06C149: push edx */ 7579 eax = ebp + (-0x14); /* 0x2B06C14A: lea eax, [ebp - 0x14] */ 7580 PUSH32(esp, eax); /* 0x2B06C14D: push eax */ 7581 ecx = edi; /* 0x2B06C14E: mov ecx, edi */ 7582 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C150: mov dword ptr [ebp - 0x20], 0x3f800000 */ 7583 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C157: mov dword ptr [ebp - 0x18], 0x3f800000 */ 7584 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C15E: call dword ptr [0x2b0b5654] */ 7585 RECOMP_FLAGS_IN(); 7586 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C164: mov dword ptr [edi], 0x2b0b618c */ 7587 goto L_2B06C16E; /* 0x2B06C16A: jmp 0x2b06c16e */ 7588 L_2B06C16C: 7589 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7590 edi = 0; /* 0x2B06C16C: xor edi, edi */ 7591 _cf = 0; 7592 _flag_k = FK_TEST; 7593 L_2B06C16E: 7594 PUSH32(esp, 2); /* 0x2B06C16E: push 2 */ 7595 PUSH32(esp, 3); /* 0x2B06C170: push 3 */ 7596 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C172: mov byte ptr [ebp - 4], 1 */ 7597 MEM32(ebx + 0xB8) = edi; /* 0x2B06C176: mov dword ptr [ebx + 0xb8], edi */ 7598 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C17C: call dword ptr [0x2b0b5f80] */ 7599 RECOMP_FLAGS_IN(); 7600 ecx = eax; /* 0x2B06C182: mov ecx, eax */ 7601 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C184: call dword ptr [0x2b0b5fbc] */ 7602 RECOMP_FLAGS_IN(); 7603 PUSH32(esp, 0xD8u); /* 0x2B06C18A: push 0xd8 */ 7604 MEM32(ebp + 0x8) = eax; /* 0x2B06C18F: mov dword ptr [ebp + 8], eax */ 7605 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C192: call 0x2b0ab212 */ /* not lifted */ 7606 RECOMP_FLAGS_IN(); 7607 edi = eax; /* 0x2B06C197: mov edi, eax */ 7608 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7609 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7610 esp = esp + 4; /* 0x2B06C199: add esp, 4 */ 7611 _flag_k = FK_ADD; 7612 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C19C: mov dword ptr [ebp - 0x28], edi */ 7613 /* cmp edi, esi */ /* 0x2B06C19F: cmp edi, esi */ 7614 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 7615 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7616 _flag_k = FK_CMP; 7617 MEM8(ebp + (-0x4)) = (uint8_t)(0x14u); /* 0x2B06C1A1: mov byte ptr [ebp - 4], 0x14 */ 7618 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C1DB; /* 0x2B06C1A5: je 0x2b06c1db */ 7619 L_2B06C1A7: 7620 eax = MEM32(ebp + 0x8); /* 0x2B06C1A7: mov eax, dword ptr [ebp + 8] */ 7621 ecx = ebp + (-0x20); /* 0x2B06C1AA: lea ecx, [ebp - 0x20] */ 7622 PUSH32(esp, ecx); /* 0x2B06C1AD: push ecx */ 7623 edx = ebp + (-0x18); /* 0x2B06C1AE: lea edx, [ebp - 0x18] */ 7624 PUSH32(esp, edx); /* 0x2B06C1B1: push edx */ 7625 PUSH32(esp, esi); /* 0x2B06C1B2: push esi */ 7626 PUSH32(esp, 0x6D60u); /* 0x2B06C1B3: push 0x6d60 */ 7627 PUSH32(esp, eax); /* 0x2B06C1B8: push eax */ 7628 ecx = ebp + (-0x14); /* 0x2B06C1B9: lea ecx, [ebp - 0x14] */ 7629 PUSH32(esp, ecx); /* 0x2B06C1BC: push ecx */ 7630 ecx = edi; /* 0x2B06C1BD: mov ecx, edi */ 7631 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C1BF: mov dword ptr [ebp - 0x20], 0x3f800000 */ 7632 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C1C6: mov dword ptr [ebp - 0x18], 0x3f800000 */ 7633 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C1CD: call dword ptr [0x2b0b5654] */ 7634 RECOMP_FLAGS_IN(); 7635 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C1D3: mov dword ptr [edi], 0x2b0b618c */ 7636 goto L_2B06C1DD; /* 0x2B06C1D9: jmp 0x2b06c1dd */ 7637 L_2B06C1DB: 7638 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7639 edi = 0; /* 0x2B06C1DB: xor edi, edi */ 7640 _cf = 0; 7641 _flag_k = FK_TEST; 7642 L_2B06C1DD: 7643 PUSH32(esp, 2); /* 0x2B06C1DD: push 2 */ 7644 PUSH32(esp, 4); /* 0x2B06C1DF: push 4 */ 7645 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C1E1: mov byte ptr [ebp - 4], 1 */ 7646 MEM32(ebx + 0xBC) = edi; /* 0x2B06C1E5: mov dword ptr [ebx + 0xbc], edi */ 7647 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C1EB: call dword ptr [0x2b0b5f80] */ 7648 RECOMP_FLAGS_IN(); 7649 ecx = eax; /* 0x2B06C1F1: mov ecx, eax */ 7650 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C1F3: call dword ptr [0x2b0b5fbc] */ 7651 RECOMP_FLAGS_IN(); 7652 PUSH32(esp, 0xD8u); /* 0x2B06C1F9: push 0xd8 */ 7653 MEM32(ebp + 0x8) = eax; /* 0x2B06C1FE: mov dword ptr [ebp + 8], eax */ 7654 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C201: call 0x2b0ab212 */ /* not lifted */ 7655 RECOMP_FLAGS_IN(); 7656 edi = eax; /* 0x2B06C206: mov edi, eax */ 7657 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7658 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7659 esp = esp + 4; /* 0x2B06C208: add esp, 4 */ 7660 _flag_k = FK_ADD; 7661 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C20B: mov dword ptr [ebp - 0x28], edi */ 7662 /* cmp edi, esi */ /* 0x2B06C20E: cmp edi, esi */ 7663 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 7664 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7665 _flag_k = FK_CMP; 7666 MEM8(ebp + (-0x4)) = (uint8_t)(0x15u); /* 0x2B06C210: mov byte ptr [ebp - 4], 0x15 */ 7667 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C24A; /* 0x2B06C214: je 0x2b06c24a */ 7668 L_2B06C216: 7669 ecx = MEM32(ebp + 0x8); /* 0x2B06C216: mov ecx, dword ptr [ebp + 8] */ 7670 edx = ebp + (-0x20); /* 0x2B06C219: lea edx, [ebp - 0x20] */ 7671 PUSH32(esp, edx); /* 0x2B06C21C: push edx */ 7672 eax = ebp + (-0x18); /* 0x2B06C21D: lea eax, [ebp - 0x18] */ 7673 PUSH32(esp, eax); /* 0x2B06C220: push eax */ 7674 PUSH32(esp, esi); /* 0x2B06C221: push esi */ 7675 PUSH32(esp, 0x6D60u); /* 0x2B06C222: push 0x6d60 */ 7676 PUSH32(esp, ecx); /* 0x2B06C227: push ecx */ 7677 edx = ebp + (-0x14); /* 0x2B06C228: lea edx, [ebp - 0x14] */ 7678 PUSH32(esp, edx); /* 0x2B06C22B: push edx */ 7679 ecx = edi; /* 0x2B06C22C: mov ecx, edi */ 7680 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C22E: mov dword ptr [ebp - 0x20], 0x3f800000 */ 7681 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C235: mov dword ptr [ebp - 0x18], 0x3f800000 */ 7682 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C23C: call dword ptr [0x2b0b5654] */ 7683 RECOMP_FLAGS_IN(); 7684 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C242: mov dword ptr [edi], 0x2b0b618c */ 7685 goto L_2B06C24C; /* 0x2B06C248: jmp 0x2b06c24c */ 7686 L_2B06C24A: 7687 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7688 edi = 0; /* 0x2B06C24A: xor edi, edi */ 7689 _cf = 0; 7690 _flag_k = FK_TEST; 7691 L_2B06C24C: 7692 eax = MEM32(ebx + 0x78); /* 0x2B06C24C: mov eax, dword ptr [ebx + 0x78] */ 7693 ecx = eax + (-0x16); /* 0x2B06C24F: lea ecx, [eax - 0x16] */ 7694 MEM32(ebx + 0xC0) = edi; /* 0x2B06C252: mov dword ptr [ebx + 0xc0], edi */ 7695 MEM32(ebp + (-0xC0)) = ecx; /* 0x2B06C258: mov dword ptr [ebp - 0xc0], ecx */ 7696 MEM32(ebp + (-0xAC)) = eax; /* 0x2B06C25E: mov dword ptr [ebp - 0xac], eax */ 7697 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7698 eax = 0; /* 0x2B06C264: xor eax, eax */ 7699 _cf = 0; 7700 _flag_k = FK_TEST; 7701 MEM32(ebp + (-0xE0)) = esi; /* 0x2B06C266: mov dword ptr [ebp - 0xe0], esi */ 7702 MEM32(ebp + (-0xDC)) = esi; /* 0x2B06C26C: mov dword ptr [ebp - 0xdc], esi */ 7703 MEM32(ebp + (-0xD8)) = esi; /* 0x2B06C272: mov dword ptr [ebp - 0xd8], esi */ 7704 MEM32(ebp + (-0xD4)) = 0x6D65u; /* 0x2B06C278: mov dword ptr [ebp - 0xd4], 0x6d65 */ 7705 MEM32(ebp + (-0xD0)) = esi; /* 0x2B06C282: mov dword ptr [ebp - 0xd0], esi */ 7706 MEM32(ebp + (-0xCC)) = esi; /* 0x2B06C288: mov dword ptr [ebp - 0xcc], esi */ 7707 MEM32(ebp + (-0xC8)) = esi; /* 0x2B06C28E: mov dword ptr [ebp - 0xc8], esi */ 7708 MEM32(ebp + (-0xC4)) = esi; /* 0x2B06C294: mov dword ptr [ebp - 0xc4], esi */ 7709 MEM32(ebp + (-0xBC)) = esi; /* 0x2B06C29A: mov dword ptr [ebp - 0xbc], esi */ 7710 MEM32(ebp + (-0xB8)) = esi; /* 0x2B06C2A0: mov dword ptr [ebp - 0xb8], esi */ 7711 MEM32(ebp + (-0xB4)) = esi; /* 0x2B06C2A6: mov dword ptr [ebp - 0xb4], esi */ 7712 MEM32(ebp + (-0xB0)) = 1; /* 0x2B06C2AC: mov dword ptr [ebp - 0xb0], 1 */ 7713 ecx = 6; /* 0x2B06C2B6: mov ecx, 6 */ 7714 edi = ebp + (-0xA8); /* 0x2B06C2BB: lea edi, [ebp - 0xa8] */ 7715 PUSH32(esp, 0xC8u); /* 0x2B06C2C1: push 0xc8 */ 7716 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C2C6: mov byte ptr [ebp - 4], 1 */ 7717 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06C2CA: 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; } 7718 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C2CC: call 0x2b0ab212 */ /* not lifted */ 7719 RECOMP_FLAGS_IN(); 7720 edi = eax; /* 0x2B06C2D1: mov edi, eax */ 7721 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7722 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7723 esp = esp + 4; /* 0x2B06C2D3: add esp, 4 */ 7724 _flag_k = FK_ADD; 7725 MEM32(ebp + 0x8) = edi; /* 0x2B06C2D6: mov dword ptr [ebp + 8], edi */ 7726 /* cmp edi, esi */ /* 0x2B06C2D9: cmp edi, esi */ 7727 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 7728 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7729 _flag_k = FK_CMP; 7730 MEM8(ebp + (-0x4)) = (uint8_t)(0x16u); /* 0x2B06C2DB: mov byte ptr [ebp - 4], 0x16 */ 7731 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C2FA; /* 0x2B06C2DF: je 0x2b06c2fa */ 7732 L_2B06C2E1: 7733 edx = ebp + (-0xE0); /* 0x2B06C2E1: lea edx, [ebp - 0xe0] */ 7734 PUSH32(esp, edx); /* 0x2B06C2E7: push edx */ 7735 ecx = edi; /* 0x2B06C2E8: mov ecx, edi */ 7736 RECOMP_ICALL(MEM32(0x2B0B5748)); /* 0x2B06C2EA: call dword ptr [0x2b0b5748] */ 7737 RECOMP_FLAGS_IN(); 7738 MEM32(edi) = 0x2B0B7110u; /* 0x2B06C2F0: mov dword ptr [edi], 0x2b0b7110 */ 7739 ecx = edi; /* 0x2B06C2F6: mov ecx, edi */ 7740 goto L_2B06C2FC; /* 0x2B06C2F8: jmp 0x2b06c2fc */ 7741 L_2B06C2FA: 7742 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7743 ecx = 0; /* 0x2B06C2FA: xor ecx, ecx */ 7744 _cf = 0; 7745 _flag_k = FK_TEST; 7746 L_2B06C2FC: 7747 PUSH32(esp, ebx); /* 0x2B06C2FC: push ebx */ 7748 PUSH32(esp, 0x2B06D3C0u); /* 0x2B06C2FD: push 0x2b06d3c0 */ 7749 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C302: mov byte ptr [ebp - 4], 1 */ 7750 MEM32(ebx + 0xD8) = ecx; /* 0x2B06C306: mov dword ptr [ebx + 0xd8], ecx */ 7751 RECOMP_ICALL(MEM32(0x2B0B5744)); /* 0x2B06C30C: call dword ptr [0x2b0b5744] */ 7752 RECOMP_FLAGS_IN(); 7753 ecx = MEM32(ebx + 0xD8); /* 0x2B06C312: mov ecx, dword ptr [ebx + 0xd8] */ 7754 PUSH32(esp, 0x64u); /* 0x2B06C318: push 0x64 */ 7755 RECOMP_ICALL(MEM32(0x2B0B5778)); /* 0x2B06C31A: call dword ptr [0x2b0b5778] */ 7756 RECOMP_FLAGS_IN(); 7757 eax = MEM32(ebx + 0x9C); /* 0x2B06C320: mov eax, dword ptr [ebx + 0x9c] */ 7758 ecx = MEM32(eax + 0x34); /* 0x2B06C326: mov ecx, dword ptr [eax + 0x34] */ 7759 RECOMP_ICALL(MEM32(0x2B0B56F8)); /* 0x2B06C329: call dword ptr [0x2b0b56f8] */ 7760 RECOMP_FLAGS_IN(); 7761 ecx = MEM32(ebx + 0xD8); /* 0x2B06C32F: mov ecx, dword ptr [ebx + 0xd8] */ 7762 MEM32(ebx + 0x48) = eax; /* 0x2B06C335: mov dword ptr [ebx + 0x48], eax */ 7763 PUSH32(esp, 0x64u); /* 0x2B06C338: push 0x64 */ 7764 MEM32(ecx + 0x98) = eax; /* 0x2B06C33A: mov dword ptr [ecx + 0x98], eax */ 7765 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C340: call 0x2b0ab212 */ /* not lifted */ 7766 RECOMP_FLAGS_IN(); 7767 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7768 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7769 esp = esp + 4; /* 0x2B06C345: add esp, 4 */ 7770 _flag_k = FK_ADD; 7771 MEM32(ebp + 0x8) = eax; /* 0x2B06C348: mov dword ptr [ebp + 8], eax */ 7772 /* cmp eax, esi */ /* 0x2B06C34B: cmp eax, esi */ 7773 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 7774 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7775 _flag_k = FK_CMP; 7776 MEM8(ebp + (-0x4)) = (uint8_t)(0x17u); /* 0x2B06C34D: mov byte ptr [ebp - 4], 0x17 */ 7777 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C384; /* 0x2B06C351: je 0x2b06c384 */ 7778 L_2B06C353: 7779 ecx = MEM32(ebx + 0x98); /* 0x2B06C353: mov ecx, dword ptr [ebx + 0x98] */ 7780 PUSH32(esp, ecx); /* 0x2B06C359: push ecx */ 7781 PUSH32(esp, esi); /* 0x2B06C35A: push esi */ 7782 PUSH32(esp, 0x30u); /* 0x2B06C35B: push 0x30 */ 7783 PUSH32(esp, esi); /* 0x2B06C35D: push esi */ 7784 PUSH32(esp, 0x6D63u); /* 0x2B06C35E: push 0x6d63 */ 7785 PUSH32(esp, 0x9Eu); /* 0x2B06C363: push 0x9e */ 7786 PUSH32(esp, esi); /* 0x2B06C368: push esi */ 7787 PUSH32(esp, 0x9Fu); /* 0x2B06C369: push 0x9f */ 7788 PUSH32(esp, 0x36u); /* 0x2B06C36E: push 0x36 */ 7789 PUSH32(esp, 0x36u); /* 0x2B06C370: push 0x36 */ 7790 PUSH32(esp, 3); /* 0x2B06C372: push 3 */ 7791 PUSH32(esp, 3); /* 0x2B06C374: push 3 */ 7792 edx = ebp + (-0x14); /* 0x2B06C376: lea edx, [ebp - 0x14] */ 7793 PUSH32(esp, edx); /* 0x2B06C379: push edx */ 7794 ecx = eax; /* 0x2B06C37A: mov ecx, eax */ 7795 RECOMP_ICALL(MEM32(0x2B0B58F8)); /* 0x2B06C37C: call dword ptr [0x2b0b58f8] */ 7796 RECOMP_FLAGS_IN(); 7797 goto L_2B06C386; /* 0x2B06C382: jmp 0x2b06c386 */ 7798 L_2B06C384: 7799 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7800 eax = 0; /* 0x2B06C384: xor eax, eax */ 7801 _cf = 0; 7802 _flag_k = FK_TEST; 7803 L_2B06C386: 7804 MEM32(ebx + 0xDC) = eax; /* 0x2B06C386: mov dword ptr [ebx + 0xdc], eax */ 7805 MEM32(eax + 0x5C) = 0x2B06D400u; /* 0x2B06C38C: mov dword ptr [eax + 0x5c], 0x2b06d400 */ 7806 MEM32(eax + 0x60) = ebx; /* 0x2B06C393: mov dword ptr [eax + 0x60], ebx */ 7807 eax = ebx + 0x5C; /* 0x2B06C396: lea eax, [ebx + 0x5c] */ 7808 PUSH32(esp, eax); /* 0x2B06C399: push eax */ 7809 ecx = ebx; /* 0x2B06C39A: mov ecx, ebx */ 7810 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C39C: mov byte ptr [ebp - 4], 1 */ 7811 RECOMP_ICALL(0x2B06CC00u); /* 0x2B06C3A0: call 0x2b06cc00 */ /* not lifted */ 7812 RECOMP_FLAGS_IN(); 7813 ecx = ebx; /* 0x2B06C3A5: mov ecx, ebx */ 7814 RECOMP_ICALL(0x2B06CBD0u); /* 0x2B06C3A7: call 0x2b06cbd0 */ /* not lifted */ 7815 RECOMP_FLAGS_IN(); 7816 eax = MEM32(0x2B0B6048); /* 0x2B06C3AC: mov eax, dword ptr [0x2b0b6048] */ 7817 ecx = MEM32(eax); /* 0x2B06C3B1: mov ecx, dword ptr [eax] */ 7818 PUSH32(esp, 1); /* 0x2B06C3B3: push 1 */ 7819 PUSH32(esp, 0x2B0EB490u); /* 0x2B06C3B5: push 0x2b0eb490 */ 7820 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B06C3BA: call dword ptr [0x2b0b602c] */ 7821 RECOMP_FLAGS_IN(); 7822 /* test eax, eax */ /* 0x2B06C3C0: test eax, eax */ 7823 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7824 _cf = 0; 7825 _flag_k = FK_TEST; 7826 SET_LO8(eax, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B06C3C2: setne al */ 7827 /* test LO8(eax), LO8(eax) */ /* 0x2B06C3C5: test al, al */ 7828 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7829 _cf = 0; 7830 _flag_k = FK_NARROW(FK_TEST, 24); 7831 MEM8(ebx + 0x58) = (uint8_t)(LO8(eax)); /* 0x2B06C3C7: mov byte ptr [ebx + 0x58], al */ 7832 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06C3DA; /* 0x2B06C3CA: jne 0x2b06c3da */ 7833 L_2B06C3CC: 7834 ecx = MEM32(ebx + 0xCC); /* 0x2B06C3CC: mov ecx, dword ptr [ebx + 0xcc] */ 7835 PUSH32(esp, 2); /* 0x2B06C3D2: push 2 */ 7836 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06C3D4: call dword ptr [0x2b0b5ab4] */ 7837 RECOMP_FLAGS_IN(); 7838 L_2B06C3DA: 7839 ecx = MEM32(ebp + (-0xC)); /* 0x2B06C3DA: mov ecx, dword ptr [ebp - 0xc] */ 7840 edi = POP32_VAL(esp); /* 0x2B06C3DD: pop edi */ 7841 esi = POP32_VAL(esp); /* 0x2B06C3DE: pop esi */ 7842 eax = ebx; /* 0x2B06C3DF: mov eax, ebx */ 7843 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06C3E1: mov dword ptr fs:[0], ecx */ 7844 ebx = POP32_VAL(esp); /* 0x2B06C3E8: pop ebx */ 7845 esp = ebp; /* 0x2B06C3E9: mov esp, ebp */ 7846 ebp = POP32_VAL(esp); /* 0x2B06C3EB: pop ebp */ 7847 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06C3EC: ret 4 */ 7848 RECOMP_REGS_OUT(); 7849 } 7850 7851 void sub_2B06BB85(void) { 7852 int _fpu_cmp = 0; 7853 uint32_t _cf = 0; 7854 int _df = 1; 7855 uint32_t _flag_k = FK_NONE; 7856 uint32_t _flag_a = 0, _flag_b = 0; 7857 uint32_t _itail_tgt = 0; 7858 RECOMP_REGS_LOCALS 7859 RECOMP_ENTER(0x2B06BB85u); 7860 7861 L_2B06BB85: 7862 PUSH32(esp, 0x2B0EB4B0u); /* 0x2B06BB85: push 0x2b0eb4b0 */ 7863 ecx = edi; /* 0x2B06BB8A: mov ecx, edi */ 7864 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BB8C: mov byte ptr [ebp - 4], 1 */ 7865 MEM32(ebx + 0xA0) = edi; /* 0x2B06BB90: mov dword ptr [ebx + 0xa0], edi */ 7866 RECOMP_ICALL(MEM32(0x2B0B5C04)); /* 0x2B06BB96: call dword ptr [0x2b0b5c04] */ 7867 RECOMP_FLAGS_IN(); 7868 PUSH32(esp, 0x9Cu); /* 0x2B06BB9C: push 0x9c */ 7869 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BBA1: call 0x2b0ab212 */ /* not lifted */ 7870 RECOMP_FLAGS_IN(); 7871 edi = eax; /* 0x2B06BBA6: mov edi, eax */ 7872 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7873 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7874 esp = esp + 4; /* 0x2B06BBA8: add esp, 4 */ 7875 _flag_k = FK_ADD; 7876 MEM32(ebp + 0x8) = edi; /* 0x2B06BBAB: mov dword ptr [ebp + 8], edi */ 7877 /* cmp edi, esi */ /* 0x2B06BBAE: cmp edi, esi */ 7878 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 7879 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7880 _flag_k = FK_CMP; 7881 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B06BBB0: mov byte ptr [ebp - 4], 8 */ 7882 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BBE4; /* 0x2B06BBB4: je 0x2b06bbe4 */ 7883 L_2B06BBB6: 7884 ecx = MEM32(ebx + 0x68); /* 0x2B06BBB6: mov ecx, dword ptr [ebx + 0x68] */ 7885 edx = MEM32(ebx + 0x64); /* 0x2B06BBB9: mov edx, dword ptr [ebx + 0x64] */ 7886 eax = MEM32(ebp + (-0x10)); /* 0x2B06BBBC: mov eax, dword ptr [ebp - 0x10] */ 7887 PUSH32(esp, esi); /* 0x2B06BBBF: push esi */ 7888 PUSH32(esp, 4); /* 0x2B06BBC0: push 4 */ 7889 PUSH32(esp, esi); /* 0x2B06BBC2: push esi */ 7890 PUSH32(esp, 0x6D61u); /* 0x2B06BBC3: push 0x6d61 */ 7891 PUSH32(esp, esi); /* 0x2B06BBC8: push esi */ 7892 PUSH32(esp, esi); /* 0x2B06BBC9: push esi */ 7893 PUSH32(esp, esi); /* 0x2B06BBCA: push esi */ 7894 PUSH32(esp, ecx); /* 0x2B06BBCB: push ecx */ 7895 ecx = MEM32(ebp + (-0x14)); /* 0x2B06BBCC: mov ecx, dword ptr [ebp - 0x14] */ 7896 PUSH32(esp, edx); /* 0x2B06BBCF: push edx */ 7897 PUSH32(esp, eax); /* 0x2B06BBD0: push eax */ 7898 PUSH32(esp, ecx); /* 0x2B06BBD1: push ecx */ 7899 ecx = edi; /* 0x2B06BBD2: mov ecx, edi */ 7900 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B06BBD4: call dword ptr [0x2b0b5af0] */ 7901 RECOMP_FLAGS_IN(); 7902 MEM32(edi) = 0x2B0B642Cu; /* 0x2B06BBDA: mov dword ptr [edi], 0x2b0b642c */ 7903 eax = edi; /* 0x2B06BBE0: mov eax, edi */ 7904 goto L_2B06BBE6; /* 0x2B06BBE2: jmp 0x2b06bbe6 */ 7905 L_2B06BBE4: 7906 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7907 eax = 0; /* 0x2B06BBE4: xor eax, eax */ 7908 _cf = 0; 7909 _flag_k = FK_TEST; 7910 L_2B06BBE6: 7911 MEM32(ebx + 0x8C) = eax; /* 0x2B06BBE6: mov dword ptr [ebx + 0x8c], eax */ 7912 MEM32(eax + 0x7C) = 0x2B06D150u; /* 0x2B06BBEC: mov dword ptr [eax + 0x7c], 0x2b06d150 */ 7913 MEM32(eax + 0x80) = ebx; /* 0x2B06BBF3: mov dword ptr [eax + 0x80], ebx */ 7914 MEM8(eax + 0x24) = (uint8_t)(1); /* 0x2B06BBF9: mov byte ptr [eax + 0x24], 1 */ 7915 MEM8(eax + 0x25) = (uint8_t)(1); /* 0x2B06BBFD: mov byte ptr [eax + 0x25], 1 */ 7916 eax = MEM32(ebx + 0x8C); /* 0x2B06BC01: mov eax, dword ptr [ebx + 0x8c] */ 7917 PUSH32(esp, 0x9Cu); /* 0x2B06BC07: push 0x9c */ 7918 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BC0C: mov byte ptr [ebp - 4], 1 */ 7919 MEM32(eax + 0x1C) = 0x2B06D180u; /* 0x2B06BC10: mov dword ptr [eax + 0x1c], 0x2b06d180 */ 7920 MEM32(eax + 0x20) = ebx; /* 0x2B06BC17: mov dword ptr [eax + 0x20], ebx */ 7921 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BC1A: call 0x2b0ab212 */ /* not lifted */ 7922 RECOMP_FLAGS_IN(); 7923 edi = eax; /* 0x2B06BC1F: mov edi, eax */ 7924 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7925 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7926 esp = esp + 4; /* 0x2B06BC21: add esp, 4 */ 7927 _flag_k = FK_ADD; 7928 MEM32(ebp + 0x8) = edi; /* 0x2B06BC24: mov dword ptr [ebp + 8], edi */ 7929 /* cmp edi, esi */ /* 0x2B06BC27: cmp edi, esi */ 7930 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 7931 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7932 _flag_k = FK_CMP; 7933 MEM8(ebp + (-0x4)) = (uint8_t)(9); /* 0x2B06BC29: mov byte ptr [ebp - 4], 9 */ 7934 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BC5D; /* 0x2B06BC2D: je 0x2b06bc5d */ 7935 L_2B06BC2F: 7936 edx = MEM32(ebx + 0x68); /* 0x2B06BC2F: mov edx, dword ptr [ebx + 0x68] */ 7937 eax = MEM32(ebx + 0x64); /* 0x2B06BC32: mov eax, dword ptr [ebx + 0x64] */ 7938 ecx = MEM32(ebp + (-0x10)); /* 0x2B06BC35: mov ecx, dword ptr [ebp - 0x10] */ 7939 PUSH32(esp, esi); /* 0x2B06BC38: push esi */ 7940 PUSH32(esp, 4); /* 0x2B06BC39: push 4 */ 7941 PUSH32(esp, esi); /* 0x2B06BC3B: push esi */ 7942 PUSH32(esp, 0x6D60u); /* 0x2B06BC3C: push 0x6d60 */ 7943 PUSH32(esp, esi); /* 0x2B06BC41: push esi */ 7944 PUSH32(esp, esi); /* 0x2B06BC42: push esi */ 7945 PUSH32(esp, esi); /* 0x2B06BC43: push esi */ 7946 PUSH32(esp, edx); /* 0x2B06BC44: push edx */ 7947 edx = MEM32(ebp + (-0x14)); /* 0x2B06BC45: mov edx, dword ptr [ebp - 0x14] */ 7948 PUSH32(esp, eax); /* 0x2B06BC48: push eax */ 7949 PUSH32(esp, ecx); /* 0x2B06BC49: push ecx */ 7950 PUSH32(esp, edx); /* 0x2B06BC4A: push edx */ 7951 ecx = edi; /* 0x2B06BC4B: mov ecx, edi */ 7952 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B06BC4D: call dword ptr [0x2b0b5af0] */ 7953 RECOMP_FLAGS_IN(); 7954 MEM32(edi) = 0x2B0B642Cu; /* 0x2B06BC53: mov dword ptr [edi], 0x2b0b642c */ 7955 eax = edi; /* 0x2B06BC59: mov eax, edi */ 7956 goto L_2B06BC5F; /* 0x2B06BC5B: jmp 0x2b06bc5f */ 7957 L_2B06BC5D: 7958 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7959 eax = 0; /* 0x2B06BC5D: xor eax, eax */ 7960 _cf = 0; 7961 _flag_k = FK_TEST; 7962 L_2B06BC5F: 7963 MEM32(ebx + 0x88) = eax; /* 0x2B06BC5F: mov dword ptr [ebx + 0x88], eax */ 7964 MEM32(eax + 0x1C) = 0x2B06D180u; /* 0x2B06BC65: mov dword ptr [eax + 0x1c], 0x2b06d180 */ 7965 MEM32(eax + 0x20) = ebx; /* 0x2B06BC6C: mov dword ptr [eax + 0x20], ebx */ 7966 eax = MEM32(ebx + 0x7C); /* 0x2B06BC6F: mov eax, dword ptr [ebx + 0x7c] */ 7967 PUSH32(esp, 2); /* 0x2B06BC72: push 2 */ 7968 PUSH32(esp, 9); /* 0x2B06BC74: push 9 */ 7969 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BC76: mov byte ptr [ebp - 4], 1 */ 7970 MEM32(ebp + (-0x34)) = eax; /* 0x2B06BC7A: mov dword ptr [ebp - 0x34], eax */ 7971 MEM32(ebp + (-0x30)) = eax; /* 0x2B06BC7D: mov dword ptr [ebp - 0x30], eax */ 7972 MEM32(ebp + (-0x8C)) = esi; /* 0x2B06BC80: mov dword ptr [ebp - 0x8c], esi */ 7973 MEM32(ebp + (-0x88)) = esi; /* 0x2B06BC86: mov dword ptr [ebp - 0x88], esi */ 7974 MEM32(ebp + (-0x84)) = eax; /* 0x2B06BC8C: mov dword ptr [ebp - 0x84], eax */ 7975 MEM32(ebp + (-0x80)) = eax; /* 0x2B06BC92: mov dword ptr [ebp - 0x80], eax */ 7976 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06BC95: call dword ptr [0x2b0b5f80] */ 7977 RECOMP_FLAGS_IN(); 7978 ecx = eax; /* 0x2B06BC9B: mov ecx, eax */ 7979 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06BC9D: call dword ptr [0x2b0b5fbc] */ 7980 RECOMP_FLAGS_IN(); 7981 PUSH32(esp, 0x50u); /* 0x2B06BCA3: push 0x50 */ 7982 edi = eax; /* 0x2B06BCA5: mov edi, eax */ 7983 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BCA7: call 0x2b0ab212 */ /* not lifted */ 7984 RECOMP_FLAGS_IN(); 7985 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7986 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7987 esp = esp + 4; /* 0x2B06BCAC: add esp, 4 */ 7988 _flag_k = FK_ADD; 7989 MEM32(ebp + 0x8) = eax; /* 0x2B06BCAF: mov dword ptr [ebp + 8], eax */ 7990 /* cmp eax, esi */ /* 0x2B06BCB2: cmp eax, esi */ 7991 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 7992 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7993 _flag_k = FK_CMP; 7994 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B06BCB4: mov byte ptr [ebp - 4], 0xa */ 7995 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BCE0; /* 0x2B06BCB8: je 0x2b06bce0 */ 7996 L_2B06BCBA: 7997 PUSH32(esp, esi); /* 0x2B06BCBA: push esi */ 7998 PUSH32(esp, 0x3F800000u); /* 0x2B06BCBB: push 0x3f800000 */ 7999 PUSH32(esp, 0x3F800000u); /* 0x2B06BCC0: push 0x3f800000 */ 8000 PUSH32(esp, 0x6D60u); /* 0x2B06BCC5: push 0x6d60 */ 8001 ecx = ebp + (-0x14); /* 0x2B06BCCA: lea ecx, [ebp - 0x14] */ 8002 PUSH32(esp, ecx); /* 0x2B06BCCD: push ecx */ 8003 edx = ebp + (-0x34); /* 0x2B06BCCE: lea edx, [ebp - 0x34] */ 8004 PUSH32(esp, edx); /* 0x2B06BCD1: push edx */ 8005 PUSH32(esp, 4); /* 0x2B06BCD2: push 4 */ 8006 PUSH32(esp, 4); /* 0x2B06BCD4: push 4 */ 8007 ecx = eax; /* 0x2B06BCD6: mov ecx, eax */ 8008 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B06BCD8: call dword ptr [0x2b0b5bd8] */ 8009 RECOMP_FLAGS_IN(); 8010 goto L_2B06BCE2; /* 0x2B06BCDE: jmp 0x2b06bce2 */ 8011 L_2B06BCE0: 8012 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8013 eax = 0; /* 0x2B06BCE0: xor eax, eax */ 8014 _cf = 0; 8015 _flag_k = FK_TEST; 8016 L_2B06BCE2: 8017 PUSH32(esp, 1); /* 0x2B06BCE2: push 1 */ 8018 MEM32(ebx + 0xA4) = eax; /* 0x2B06BCE4: mov dword ptr [ebx + 0xa4], eax */ 8019 eax = MEM32(eax + 0x28); /* 0x2B06BCEA: mov eax, dword ptr [eax + 0x28] */ 8020 PUSH32(esp, esi); /* 0x2B06BCED: push esi */ 8021 PUSH32(esp, esi); /* 0x2B06BCEE: push esi */ 8022 ecx = eax; /* 0x2B06BCEF: mov ecx, eax */ 8023 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BCF1: mov byte ptr [ebp - 4], 1 */ 8024 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B06BCF5: call dword ptr [0x2b0b564c] */ 8025 RECOMP_FLAGS_IN(); 8026 eax = MEM32(ebx + 0xA4); /* 0x2B06BCFB: mov eax, dword ptr [ebx + 0xa4] */ 8027 ecx = MEM32(eax + 0x28); /* 0x2B06BD01: mov ecx, dword ptr [eax + 0x28] */ 8028 PUSH32(esp, 0xFF00u); /* 0x2B06BD04: push 0xff00 */ 8029 PUSH32(esp, edi); /* 0x2B06BD09: push edi */ 8030 edx = ebp + (-0x14); /* 0x2B06BD0A: lea edx, [ebp - 0x14] */ 8031 PUSH32(esp, edx); /* 0x2B06BD0D: push edx */ 8032 eax = ebp + (-0x8C); /* 0x2B06BD0E: lea eax, [ebp - 0x8c] */ 8033 PUSH32(esp, eax); /* 0x2B06BD14: push eax */ 8034 RECOMP_ICALL(MEM32(0x2B0B5554)); /* 0x2B06BD15: call dword ptr [0x2b0b5554] */ 8035 RECOMP_FLAGS_IN(); 8036 ecx = MEM32(ebx + 0xA4); /* 0x2B06BD1B: mov ecx, dword ptr [ebx + 0xa4] */ 8037 RECOMP_ICALL(MEM32(0x2B0B5BDC)); /* 0x2B06BD21: call dword ptr [0x2b0b5bdc] */ 8038 RECOMP_FLAGS_IN(); 8039 PUSH32(esp, edi); /* 0x2B06BD27: push edi */ 8040 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06BD28: call dword ptr [0x2b0b5f80] */ 8041 RECOMP_FLAGS_IN(); 8042 ecx = eax; /* 0x2B06BD2E: mov ecx, eax */ 8043 RECOMP_ICALL(MEM32(0x2B0B5FB8)); /* 0x2B06BD30: call dword ptr [0x2b0b5fb8] */ 8044 RECOMP_FLAGS_IN(); 8045 PUSH32(esp, 0x9Cu); /* 0x2B06BD36: push 0x9c */ 8046 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BD3B: call 0x2b0ab212 */ /* not lifted */ 8047 RECOMP_FLAGS_IN(); 8048 edi = eax; /* 0x2B06BD40: mov edi, eax */ 8049 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8050 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8051 esp = esp + 4; /* 0x2B06BD42: add esp, 4 */ 8052 _flag_k = FK_ADD; 8053 MEM32(ebp + 0x8) = edi; /* 0x2B06BD45: mov dword ptr [ebp + 8], edi */ 8054 /* cmp edi, esi */ /* 0x2B06BD48: cmp edi, esi */ 8055 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 8056 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8057 _flag_k = FK_CMP; 8058 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B06BD4A: mov byte ptr [ebp - 4], 0xb */ 8059 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BD84; /* 0x2B06BD4E: je 0x2b06bd84 */ 8060 L_2B06BD50: 8061 ecx = MEM32(ebx + 0xA4); /* 0x2B06BD50: mov ecx, dword ptr [ebx + 0xa4] */ 8062 edx = MEM32(ebp + (-0x30)); /* 0x2B06BD56: mov edx, dword ptr [ebp - 0x30] */ 8063 eax = MEM32(ebp + (-0x34)); /* 0x2B06BD59: mov eax, dword ptr [ebp - 0x34] */ 8064 PUSH32(esp, ecx); /* 0x2B06BD5C: push ecx */ 8065 ecx = MEM32(ebp + (-0x10)); /* 0x2B06BD5D: mov ecx, dword ptr [ebp - 0x10] */ 8066 PUSH32(esp, 4); /* 0x2B06BD60: push 4 */ 8067 PUSH32(esp, esi); /* 0x2B06BD62: push esi */ 8068 PUSH32(esp, 0x6D61u); /* 0x2B06BD63: push 0x6d61 */ 8069 PUSH32(esp, esi); /* 0x2B06BD68: push esi */ 8070 PUSH32(esp, esi); /* 0x2B06BD69: push esi */ 8071 PUSH32(esp, esi); /* 0x2B06BD6A: push esi */ 8072 PUSH32(esp, edx); /* 0x2B06BD6B: push edx */ 8073 edx = MEM32(ebp + (-0x14)); /* 0x2B06BD6C: mov edx, dword ptr [ebp - 0x14] */ 8074 PUSH32(esp, eax); /* 0x2B06BD6F: push eax */ 8075 PUSH32(esp, ecx); /* 0x2B06BD70: push ecx */ 8076 PUSH32(esp, edx); /* 0x2B06BD71: push edx */ 8077 ecx = edi; /* 0x2B06BD72: mov ecx, edi */ 8078 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B06BD74: call dword ptr [0x2b0b5af0] */ 8079 RECOMP_FLAGS_IN(); 8080 MEM32(edi) = 0x2B0B642Cu; /* 0x2B06BD7A: mov dword ptr [edi], 0x2b0b642c */ 8081 eax = edi; /* 0x2B06BD80: mov eax, edi */ 8082 goto L_2B06BD86; /* 0x2B06BD82: jmp 0x2b06bd86 */ 8083 L_2B06BD84: 8084 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8085 eax = 0; /* 0x2B06BD84: xor eax, eax */ 8086 _cf = 0; 8087 _flag_k = FK_TEST; 8088 L_2B06BD86: 8089 MEM32(ebx + 0xD0) = eax; /* 0x2B06BD86: mov dword ptr [ebx + 0xd0], eax */ 8090 MEM32(eax + 0x7C) = 0x2B06D300u; /* 0x2B06BD8C: mov dword ptr [eax + 0x7c], 0x2b06d300 */ 8091 MEM32(eax + 0x80) = ebx; /* 0x2B06BD93: mov dword ptr [eax + 0x80], ebx */ 8092 MEM8(eax + 0x24) = (uint8_t)(1); /* 0x2B06BD99: mov byte ptr [eax + 0x24], 1 */ 8093 MEM8(eax + 0x25) = (uint8_t)(1); /* 0x2B06BD9D: mov byte ptr [eax + 0x25], 1 */ 8094 eax = MEM32(ebx + 0xD0); /* 0x2B06BDA1: mov eax, dword ptr [ebx + 0xd0] */ 8095 MEM32(eax + 0x1C) = 0x2B06D180u; /* 0x2B06BDA7: mov dword ptr [eax + 0x1c], 0x2b06d180 */ 8096 MEM32(eax + 0x20) = ebx; /* 0x2B06BDAE: mov dword ptr [eax + 0x20], ebx */ 8097 eax = MEM32(ebx + 0x7C); /* 0x2B06BDB1: mov eax, dword ptr [ebx + 0x7c] */ 8098 if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2B06BDB4: shl eax, 2 */ 8099 if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8100 eax = eax << 2u; /* 0x2B06BDB4: shl eax, 2 */ 8101 PUSH32(esp, 0x50u); /* 0x2B06BDB7: push 0x50 */ 8102 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BDB9: mov byte ptr [ebp - 4], 1 */ 8103 MEM32(ebp + (-0x34)) = eax; /* 0x2B06BDBD: mov dword ptr [ebp - 0x34], eax */ 8104 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BDC0: call 0x2b0ab212 */ /* not lifted */ 8105 RECOMP_FLAGS_IN(); 8106 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8107 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8108 esp = esp + 4; /* 0x2B06BDC5: add esp, 4 */ 8109 _flag_k = FK_ADD; 8110 MEM32(ebp + 0x8) = eax; /* 0x2B06BDC8: mov dword ptr [ebp + 8], eax */ 8111 /* cmp eax, esi */ /* 0x2B06BDCB: cmp eax, esi */ 8112 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 8113 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8114 _flag_k = FK_CMP; 8115 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x2B06BDCD: mov byte ptr [ebp - 4], 0xc */ 8116 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BDF9; /* 0x2B06BDD1: je 0x2b06bdf9 */ 8117 L_2B06BDD3: 8118 PUSH32(esp, esi); /* 0x2B06BDD3: push esi */ 8119 PUSH32(esp, 0x3F800000u); /* 0x2B06BDD4: push 0x3f800000 */ 8120 PUSH32(esp, 0x3F800000u); /* 0x2B06BDD9: push 0x3f800000 */ 8121 PUSH32(esp, 0x6D60u); /* 0x2B06BDDE: push 0x6d60 */ 8122 ecx = ebp + (-0x14); /* 0x2B06BDE3: lea ecx, [ebp - 0x14] */ 8123 PUSH32(esp, ecx); /* 0x2B06BDE6: push ecx */ 8124 edx = ebp + (-0x34); /* 0x2B06BDE7: lea edx, [ebp - 0x34] */ 8125 PUSH32(esp, edx); /* 0x2B06BDEA: push edx */ 8126 PUSH32(esp, 4); /* 0x2B06BDEB: push 4 */ 8127 PUSH32(esp, 6); /* 0x2B06BDED: push 6 */ 8128 ecx = eax; /* 0x2B06BDEF: mov ecx, eax */ 8129 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B06BDF1: call dword ptr [0x2b0b5bd8] */ 8130 RECOMP_FLAGS_IN(); 8131 goto L_2B06BDFB; /* 0x2B06BDF7: jmp 0x2b06bdfb */ 8132 L_2B06BDF9: 8133 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8134 eax = 0; /* 0x2B06BDF9: xor eax, eax */ 8135 _cf = 0; 8136 _flag_k = FK_TEST; 8137 L_2B06BDFB: 8138 PUSH32(esp, 1); /* 0x2B06BDFB: push 1 */ 8139 MEM32(ebx + 0xA8) = eax; /* 0x2B06BDFD: mov dword ptr [ebx + 0xa8], eax */ 8140 eax = MEM32(eax + 0x28); /* 0x2B06BE03: mov eax, dword ptr [eax + 0x28] */ 8141 PUSH32(esp, esi); /* 0x2B06BE06: push esi */ 8142 PUSH32(esp, esi); /* 0x2B06BE07: push esi */ 8143 ecx = eax; /* 0x2B06BE08: mov ecx, eax */ 8144 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BE0A: mov byte ptr [ebp - 4], 1 */ 8145 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B06BE0E: call dword ptr [0x2b0b564c] */ 8146 RECOMP_FLAGS_IN(); 8147 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8148 eax = 0; /* 0x2B06BE14: xor eax, eax */ 8149 _cf = 0; 8150 _flag_k = FK_TEST; 8151 ecx = 0xCu; /* 0x2B06BE16: mov ecx, 0xc */ 8152 edi = ebp + (-0x64); /* 0x2B06BE1B: lea edi, [ebp - 0x64] */ 8153 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BE1E: 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; } 8154 ecx = 0xCu; /* 0x2B06BE20: mov ecx, 0xc */ 8155 edi = ebp + (-0x64); /* 0x2B06BE25: lea edi, [ebp - 0x64] */ 8156 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BE28: 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; } 8157 eax = MEM32(ebx + 0x7C); /* 0x2B06BE2A: mov eax, dword ptr [ebx + 0x7c] */ 8158 PUSH32(esp, 0xBCu); /* 0x2B06BE2D: push 0xbc */ 8159 MEM32(ebp + (-0x58)) = 0x2B0EB4A8u; /* 0x2B06BE32: mov dword ptr [ebp - 0x58], 0x2b0eb4a8 */ 8160 MEM32(ebp + (-0x54)) = eax; /* 0x2B06BE39: mov dword ptr [ebp - 0x54], eax */ 8161 MEM32(ebp + (-0x4C)) = 0x6D61u; /* 0x2B06BE3C: mov dword ptr [ebp - 0x4c], 0x6d61 */ 8162 MEM32(ebp + (-0x64)) = 1; /* 0x2B06BE43: mov dword ptr [ebp - 0x64], 1 */ 8163 MEM32(ebp + (-0x44)) = 0x64u; /* 0x2B06BE4A: mov dword ptr [ebp - 0x44], 0x64 */ 8164 MEM32(ebp + (-0x40)) = 0x65u; /* 0x2B06BE51: mov dword ptr [ebp - 0x40], 0x65 */ 8165 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BE58: call 0x2b0ab212 */ /* not lifted */ 8166 RECOMP_FLAGS_IN(); 8167 edi = eax; /* 0x2B06BE5D: mov edi, eax */ 8168 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8169 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8170 esp = esp + 4; /* 0x2B06BE5F: add esp, 4 */ 8171 _flag_k = FK_ADD; 8172 MEM32(ebp + 0x8) = edi; /* 0x2B06BE62: mov dword ptr [ebp + 8], edi */ 8173 /* cmp edi, esi */ /* 0x2B06BE65: cmp edi, esi */ 8174 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 8175 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8176 _flag_k = FK_CMP; 8177 MEM8(ebp + (-0x4)) = (uint8_t)(0xDu); /* 0x2B06BE67: mov byte ptr [ebp - 4], 0xd */ 8178 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BE8A; /* 0x2B06BE6B: je 0x2b06be8a */ 8179 L_2B06BE6D: 8180 ecx = MEM32(ebx + 0xA8); /* 0x2B06BE6D: mov ecx, dword ptr [ebx + 0xa8] */ 8181 PUSH32(esp, ecx); /* 0x2B06BE73: push ecx */ 8182 edx = ebp + (-0x64); /* 0x2B06BE74: lea edx, [ebp - 0x64] */ 8183 PUSH32(esp, edx); /* 0x2B06BE77: push edx */ 8184 ecx = edi; /* 0x2B06BE78: mov ecx, edi */ 8185 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B06BE7A: call dword ptr [0x2b0b5afc] */ 8186 RECOMP_FLAGS_IN(); 8187 MEM32(edi) = 0x2B0B645Cu; /* 0x2B06BE80: mov dword ptr [edi], 0x2b0b645c */ 8188 ecx = edi; /* 0x2B06BE86: mov ecx, edi */ 8189 goto L_2B06BE8C; /* 0x2B06BE88: jmp 0x2b06be8c */ 8190 L_2B06BE8A: 8191 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8192 ecx = 0; /* 0x2B06BE8A: xor ecx, ecx */ 8193 _cf = 0; 8194 _flag_k = FK_TEST; 8195 L_2B06BE8C: 8196 PUSH32(esp, ebx); /* 0x2B06BE8C: push ebx */ 8197 PUSH32(esp, 0x2B06D3A0u); /* 0x2B06BE8D: push 0x2b06d3a0 */ 8198 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BE92: mov byte ptr [ebp - 4], 1 */ 8199 MEM32(ebx + 0xCC) = ecx; /* 0x2B06BE96: mov dword ptr [ebx + 0xcc], ecx */ 8200 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B06BE9C: call dword ptr [0x2b0b5af8] */ 8201 RECOMP_FLAGS_IN(); 8202 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8203 eax = 0; /* 0x2B06BEA2: xor eax, eax */ 8204 _cf = 0; 8205 _flag_k = FK_TEST; 8206 ecx = 0xCu; /* 0x2B06BEA4: mov ecx, 0xc */ 8207 edi = ebp + (-0x64); /* 0x2B06BEA9: lea edi, [ebp - 0x64] */ 8208 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BEAC: 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; } 8209 eax = MEM32(ebx + 0x7C); /* 0x2B06BEAE: mov eax, dword ptr [ebx + 0x7c] */ 8210 if (1u) _cf = (((eax) >> 31) & 1u); /* 0x2B06BEB1: shl eax, 1 */ 8211 if (1u) { _flag_a = recomp_flags_pack((eax << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8212 eax = eax << 1u; /* 0x2B06BEB1: shl eax, 1 */ 8213 PUSH32(esp, 0xBCu); /* 0x2B06BEB3: push 0xbc */ 8214 MEM32(ebp + (-0x54)) = eax; /* 0x2B06BEB8: mov dword ptr [ebp - 0x54], eax */ 8215 MEM32(ebp + (-0x58)) = 0x2B0EB4A0u; /* 0x2B06BEBB: mov dword ptr [ebp - 0x58], 0x2b0eb4a0 */ 8216 MEM32(ebp + (-0x4C)) = 0x6D61u; /* 0x2B06BEC2: mov dword ptr [ebp - 0x4c], 0x6d61 */ 8217 MEM32(ebp + (-0x48)) = 0x66u; /* 0x2B06BEC9: mov dword ptr [ebp - 0x48], 0x66 */ 8218 MEM32(ebp + (-0x44)) = 0x67u; /* 0x2B06BED0: mov dword ptr [ebp - 0x44], 0x67 */ 8219 MEM32(ebp + (-0x40)) = 0x68u; /* 0x2B06BED7: mov dword ptr [ebp - 0x40], 0x68 */ 8220 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BEDE: call 0x2b0ab212 */ /* not lifted */ 8221 RECOMP_FLAGS_IN(); 8222 edi = eax; /* 0x2B06BEE3: mov edi, eax */ 8223 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8224 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8225 esp = esp + 4; /* 0x2B06BEE5: add esp, 4 */ 8226 _flag_k = FK_ADD; 8227 MEM32(ebp + 0x8) = edi; /* 0x2B06BEE8: mov dword ptr [ebp + 8], edi */ 8228 /* cmp edi, esi */ /* 0x2B06BEEB: cmp edi, esi */ 8229 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 8230 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8231 _flag_k = FK_CMP; 8232 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x2B06BEED: mov byte ptr [ebp - 4], 0xe */ 8233 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BF10; /* 0x2B06BEF1: je 0x2b06bf10 */ 8234 L_2B06BEF3: 8235 ecx = MEM32(ebx + 0xA8); /* 0x2B06BEF3: mov ecx, dword ptr [ebx + 0xa8] */ 8236 PUSH32(esp, ecx); /* 0x2B06BEF9: push ecx */ 8237 edx = ebp + (-0x64); /* 0x2B06BEFA: lea edx, [ebp - 0x64] */ 8238 PUSH32(esp, edx); /* 0x2B06BEFD: push edx */ 8239 ecx = edi; /* 0x2B06BEFE: mov ecx, edi */ 8240 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B06BF00: call dword ptr [0x2b0b5afc] */ 8241 RECOMP_FLAGS_IN(); 8242 MEM32(edi) = 0x2B0B645Cu; /* 0x2B06BF06: mov dword ptr [edi], 0x2b0b645c */ 8243 ecx = edi; /* 0x2B06BF0C: mov ecx, edi */ 8244 goto L_2B06BF12; /* 0x2B06BF0E: jmp 0x2b06bf12 */ 8245 L_2B06BF10: 8246 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8247 ecx = 0; /* 0x2B06BF10: xor ecx, ecx */ 8248 _cf = 0; 8249 _flag_k = FK_TEST; 8250 L_2B06BF12: 8251 PUSH32(esp, ebx); /* 0x2B06BF12: push ebx */ 8252 PUSH32(esp, 0x2B06D360u); /* 0x2B06BF13: push 0x2b06d360 */ 8253 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BF18: mov byte ptr [ebp - 4], 1 */ 8254 MEM32(ebx + 0xC8) = ecx; /* 0x2B06BF1C: mov dword ptr [ebx + 0xc8], ecx */ 8255 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B06BF22: call dword ptr [0x2b0b5af8] */ 8256 RECOMP_FLAGS_IN(); 8257 ecx = MEM32(ebx + 0xC8); /* 0x2B06BF28: mov ecx, dword ptr [ebx + 0xc8] */ 8258 PUSH32(esp, esi); /* 0x2B06BF2E: push esi */ 8259 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06BF2F: call dword ptr [0x2b0b5ab4] */ 8260 RECOMP_FLAGS_IN(); 8261 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8262 eax = 0; /* 0x2B06BF35: xor eax, eax */ 8263 _cf = 0; 8264 _flag_k = FK_TEST; 8265 ecx = 0xCu; /* 0x2B06BF37: mov ecx, 0xc */ 8266 edi = ebp + (-0x64); /* 0x2B06BF3C: lea edi, [ebp - 0x64] */ 8267 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BF3F: 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; } 8268 eax = MEM32(ebx + 0x7C); /* 0x2B06BF41: mov eax, dword ptr [ebx + 0x7c] */ 8269 eax = eax + eax * 2; /* 0x2B06BF44: lea eax, [eax + eax*2] */ 8270 PUSH32(esp, 0xBCu); /* 0x2B06BF47: push 0xbc */ 8271 MEM32(ebp + (-0x54)) = eax; /* 0x2B06BF4C: mov dword ptr [ebp - 0x54], eax */ 8272 MEM32(ebp + (-0x58)) = 0x2B0E6EE8u; /* 0x2B06BF4F: mov dword ptr [ebp - 0x58], 0x2b0e6ee8 */ 8273 MEM32(ebp + (-0x4C)) = 0x6D61u; /* 0x2B06BF56: mov dword ptr [ebp - 0x4c], 0x6d61 */ 8274 MEM32(ebp + (-0x48)) = 0xAu; /* 0x2B06BF5D: mov dword ptr [ebp - 0x48], 0xa */ 8275 MEM32(ebp + (-0x44)) = 0x69u; /* 0x2B06BF64: mov dword ptr [ebp - 0x44], 0x69 */ 8276 MEM32(ebp + (-0x40)) = 0x6Au; /* 0x2B06BF6B: mov dword ptr [ebp - 0x40], 0x6a */ 8277 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BF72: call 0x2b0ab212 */ /* not lifted */ 8278 RECOMP_FLAGS_IN(); 8279 edi = eax; /* 0x2B06BF77: mov edi, eax */ 8280 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8281 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8282 esp = esp + 4; /* 0x2B06BF79: add esp, 4 */ 8283 _flag_k = FK_ADD; 8284 MEM32(ebp + 0x8) = edi; /* 0x2B06BF7C: mov dword ptr [ebp + 8], edi */ 8285 /* cmp edi, esi */ /* 0x2B06BF7F: cmp edi, esi */ 8286 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 8287 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8288 _flag_k = FK_CMP; 8289 MEM8(ebp + (-0x4)) = (uint8_t)(0xFu); /* 0x2B06BF81: mov byte ptr [ebp - 4], 0xf */ 8290 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BFA4; /* 0x2B06BF85: je 0x2b06bfa4 */ 8291 L_2B06BF87: 8292 ecx = MEM32(ebx + 0xA8); /* 0x2B06BF87: mov ecx, dword ptr [ebx + 0xa8] */ 8293 PUSH32(esp, ecx); /* 0x2B06BF8D: push ecx */ 8294 edx = ebp + (-0x64); /* 0x2B06BF8E: lea edx, [ebp - 0x64] */ 8295 PUSH32(esp, edx); /* 0x2B06BF91: push edx */ 8296 ecx = edi; /* 0x2B06BF92: mov ecx, edi */ 8297 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B06BF94: call dword ptr [0x2b0b5afc] */ 8298 RECOMP_FLAGS_IN(); 8299 MEM32(edi) = 0x2B0B645Cu; /* 0x2B06BF9A: mov dword ptr [edi], 0x2b0b645c */ 8300 ecx = edi; /* 0x2B06BFA0: mov ecx, edi */ 8301 goto L_2B06BFA6; /* 0x2B06BFA2: jmp 0x2b06bfa6 */ 8302 L_2B06BFA4: 8303 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8304 ecx = 0; /* 0x2B06BFA4: xor ecx, ecx */ 8305 _cf = 0; 8306 _flag_k = FK_TEST; 8307 L_2B06BFA6: 8308 PUSH32(esp, ebx); /* 0x2B06BFA6: push ebx */ 8309 PUSH32(esp, 0x2B06D340u); /* 0x2B06BFA7: push 0x2b06d340 */ 8310 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BFAC: mov byte ptr [ebp - 4], 1 */ 8311 MEM32(ebx + 0xC4) = ecx; /* 0x2B06BFB0: mov dword ptr [ebx + 0xc4], ecx */ 8312 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B06BFB6: call dword ptr [0x2b0b5af8] */ 8313 RECOMP_FLAGS_IN(); 8314 PUSH32(esp, 2); /* 0x2B06BFBC: push 2 */ 8315 PUSH32(esp, 8); /* 0x2B06BFBE: push 8 */ 8316 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06BFC0: call dword ptr [0x2b0b5f80] */ 8317 RECOMP_FLAGS_IN(); 8318 ecx = eax; /* 0x2B06BFC6: mov ecx, eax */ 8319 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06BFC8: call dword ptr [0x2b0b5fbc] */ 8320 RECOMP_FLAGS_IN(); 8321 PUSH32(esp, 0xD8u); /* 0x2B06BFCE: push 0xd8 */ 8322 MEM32(ebp + 0x8) = eax; /* 0x2B06BFD3: mov dword ptr [ebp + 8], eax */ 8323 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BFD6: call 0x2b0ab212 */ /* not lifted */ 8324 RECOMP_FLAGS_IN(); 8325 edi = eax; /* 0x2B06BFDB: mov edi, eax */ 8326 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8327 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8328 esp = esp + 4; /* 0x2B06BFDD: add esp, 4 */ 8329 _flag_k = FK_ADD; 8330 MEM32(ebp + (-0x28)) = edi; /* 0x2B06BFE0: mov dword ptr [ebp - 0x28], edi */ 8331 /* cmp edi, esi */ /* 0x2B06BFE3: cmp edi, esi */ 8332 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 8333 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8334 _flag_k = FK_CMP; 8335 MEM8(ebp + (-0x4)) = (uint8_t)(0x10u); /* 0x2B06BFE5: mov byte ptr [ebp - 4], 0x10 */ 8336 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C01F; /* 0x2B06BFE9: je 0x2b06c01f */ 8337 L_2B06BFEB: 8338 edx = MEM32(ebp + 0x8); /* 0x2B06BFEB: mov edx, dword ptr [ebp + 8] */ 8339 eax = ebp + (-0x18); /* 0x2B06BFEE: lea eax, [ebp - 0x18] */ 8340 PUSH32(esp, eax); /* 0x2B06BFF1: push eax */ 8341 ecx = ebp + (-0x20); /* 0x2B06BFF2: lea ecx, [ebp - 0x20] */ 8342 PUSH32(esp, ecx); /* 0x2B06BFF5: push ecx */ 8343 PUSH32(esp, esi); /* 0x2B06BFF6: push esi */ 8344 PUSH32(esp, 0x6D60u); /* 0x2B06BFF7: push 0x6d60 */ 8345 PUSH32(esp, edx); /* 0x2B06BFFC: push edx */ 8346 eax = ebp + (-0x14); /* 0x2B06BFFD: lea eax, [ebp - 0x14] */ 8347 PUSH32(esp, eax); /* 0x2B06C000: push eax */ 8348 ecx = edi; /* 0x2B06C001: mov ecx, edi */ 8349 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C003: mov dword ptr [ebp - 0x18], 0x3f800000 */ 8350 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C00A: mov dword ptr [ebp - 0x20], 0x3f800000 */ 8351 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C011: call dword ptr [0x2b0b5654] */ 8352 RECOMP_FLAGS_IN(); 8353 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C017: mov dword ptr [edi], 0x2b0b618c */ 8354 goto L_2B06C021; /* 0x2B06C01D: jmp 0x2b06c021 */ 8355 L_2B06C01F: 8356 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8357 edi = 0; /* 0x2B06C01F: xor edi, edi */ 8358 _cf = 0; 8359 _flag_k = FK_TEST; 8360 L_2B06C021: 8361 PUSH32(esp, 2); /* 0x2B06C021: push 2 */ 8362 PUSH32(esp, 7); /* 0x2B06C023: push 7 */ 8363 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C025: mov byte ptr [ebp - 4], 1 */ 8364 MEM32(ebx + 0xAC) = edi; /* 0x2B06C029: mov dword ptr [ebx + 0xac], edi */ 8365 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C02F: call dword ptr [0x2b0b5f80] */ 8366 RECOMP_FLAGS_IN(); 8367 ecx = eax; /* 0x2B06C035: mov ecx, eax */ 8368 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C037: call dword ptr [0x2b0b5fbc] */ 8369 RECOMP_FLAGS_IN(); 8370 PUSH32(esp, 0xD8u); /* 0x2B06C03D: push 0xd8 */ 8371 MEM32(ebp + 0x8) = eax; /* 0x2B06C042: mov dword ptr [ebp + 8], eax */ 8372 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C045: call 0x2b0ab212 */ /* not lifted */ 8373 RECOMP_FLAGS_IN(); 8374 edi = eax; /* 0x2B06C04A: mov edi, eax */ 8375 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8376 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8377 esp = esp + 4; /* 0x2B06C04C: add esp, 4 */ 8378 _flag_k = FK_ADD; 8379 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C04F: mov dword ptr [ebp - 0x28], edi */ 8380 /* cmp edi, esi */ /* 0x2B06C052: cmp edi, esi */ 8381 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 8382 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8383 _flag_k = FK_CMP; 8384 MEM8(ebp + (-0x4)) = (uint8_t)(0x11u); /* 0x2B06C054: mov byte ptr [ebp - 4], 0x11 */ 8385 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C08E; /* 0x2B06C058: je 0x2b06c08e */ 8386 L_2B06C05A: 8387 eax = MEM32(ebp + 0x8); /* 0x2B06C05A: mov eax, dword ptr [ebp + 8] */ 8388 ecx = ebp + (-0x20); /* 0x2B06C05D: lea ecx, [ebp - 0x20] */ 8389 PUSH32(esp, ecx); /* 0x2B06C060: push ecx */ 8390 edx = ebp + (-0x18); /* 0x2B06C061: lea edx, [ebp - 0x18] */ 8391 PUSH32(esp, edx); /* 0x2B06C064: push edx */ 8392 PUSH32(esp, esi); /* 0x2B06C065: push esi */ 8393 PUSH32(esp, 0x6D60u); /* 0x2B06C066: push 0x6d60 */ 8394 PUSH32(esp, eax); /* 0x2B06C06B: push eax */ 8395 ecx = ebp + (-0x14); /* 0x2B06C06C: lea ecx, [ebp - 0x14] */ 8396 PUSH32(esp, ecx); /* 0x2B06C06F: push ecx */ 8397 ecx = edi; /* 0x2B06C070: mov ecx, edi */ 8398 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C072: mov dword ptr [ebp - 0x20], 0x3f800000 */ 8399 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C079: mov dword ptr [ebp - 0x18], 0x3f800000 */ 8400 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C080: call dword ptr [0x2b0b5654] */ 8401 RECOMP_FLAGS_IN(); 8402 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C086: mov dword ptr [edi], 0x2b0b618c */ 8403 goto L_2B06C090; /* 0x2B06C08C: jmp 0x2b06c090 */ 8404 L_2B06C08E: 8405 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8406 edi = 0; /* 0x2B06C08E: xor edi, edi */ 8407 _cf = 0; 8408 _flag_k = FK_TEST; 8409 L_2B06C090: 8410 PUSH32(esp, 2); /* 0x2B06C090: push 2 */ 8411 PUSH32(esp, 6); /* 0x2B06C092: push 6 */ 8412 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C094: mov byte ptr [ebp - 4], 1 */ 8413 MEM32(ebx + 0xB0) = edi; /* 0x2B06C098: mov dword ptr [ebx + 0xb0], edi */ 8414 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C09E: call dword ptr [0x2b0b5f80] */ 8415 RECOMP_FLAGS_IN(); 8416 ecx = eax; /* 0x2B06C0A4: mov ecx, eax */ 8417 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C0A6: call dword ptr [0x2b0b5fbc] */ 8418 RECOMP_FLAGS_IN(); 8419 PUSH32(esp, 0xD8u); /* 0x2B06C0AC: push 0xd8 */ 8420 MEM32(ebp + 0x8) = eax; /* 0x2B06C0B1: mov dword ptr [ebp + 8], eax */ 8421 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C0B4: call 0x2b0ab212 */ /* not lifted */ 8422 RECOMP_FLAGS_IN(); 8423 edi = eax; /* 0x2B06C0B9: mov edi, eax */ 8424 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8425 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8426 esp = esp + 4; /* 0x2B06C0BB: add esp, 4 */ 8427 _flag_k = FK_ADD; 8428 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C0BE: mov dword ptr [ebp - 0x28], edi */ 8429 /* cmp edi, esi */ /* 0x2B06C0C1: cmp edi, esi */ 8430 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 8431 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8432 _flag_k = FK_CMP; 8433 MEM8(ebp + (-0x4)) = (uint8_t)(0x12u); /* 0x2B06C0C3: mov byte ptr [ebp - 4], 0x12 */ 8434 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C0FD; /* 0x2B06C0C7: je 0x2b06c0fd */ 8435 L_2B06C0C9: 8436 ecx = MEM32(ebp + 0x8); /* 0x2B06C0C9: mov ecx, dword ptr [ebp + 8] */ 8437 edx = ebp + (-0x20); /* 0x2B06C0CC: lea edx, [ebp - 0x20] */ 8438 PUSH32(esp, edx); /* 0x2B06C0CF: push edx */ 8439 eax = ebp + (-0x18); /* 0x2B06C0D0: lea eax, [ebp - 0x18] */ 8440 PUSH32(esp, eax); /* 0x2B06C0D3: push eax */ 8441 PUSH32(esp, esi); /* 0x2B06C0D4: push esi */ 8442 PUSH32(esp, 0x6D60u); /* 0x2B06C0D5: push 0x6d60 */ 8443 PUSH32(esp, ecx); /* 0x2B06C0DA: push ecx */ 8444 edx = ebp + (-0x14); /* 0x2B06C0DB: lea edx, [ebp - 0x14] */ 8445 PUSH32(esp, edx); /* 0x2B06C0DE: push edx */ 8446 ecx = edi; /* 0x2B06C0DF: mov ecx, edi */ 8447 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C0E1: mov dword ptr [ebp - 0x20], 0x3f800000 */ 8448 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C0E8: mov dword ptr [ebp - 0x18], 0x3f800000 */ 8449 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C0EF: call dword ptr [0x2b0b5654] */ 8450 RECOMP_FLAGS_IN(); 8451 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C0F5: mov dword ptr [edi], 0x2b0b618c */ 8452 goto L_2B06C0FF; /* 0x2B06C0FB: jmp 0x2b06c0ff */ 8453 L_2B06C0FD: 8454 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8455 edi = 0; /* 0x2B06C0FD: xor edi, edi */ 8456 _cf = 0; 8457 _flag_k = FK_TEST; 8458 L_2B06C0FF: 8459 PUSH32(esp, 2); /* 0x2B06C0FF: push 2 */ 8460 PUSH32(esp, 5); /* 0x2B06C101: push 5 */ 8461 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C103: mov byte ptr [ebp - 4], 1 */ 8462 MEM32(ebx + 0xB4) = edi; /* 0x2B06C107: mov dword ptr [ebx + 0xb4], edi */ 8463 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C10D: call dword ptr [0x2b0b5f80] */ 8464 RECOMP_FLAGS_IN(); 8465 ecx = eax; /* 0x2B06C113: mov ecx, eax */ 8466 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C115: call dword ptr [0x2b0b5fbc] */ 8467 RECOMP_FLAGS_IN(); 8468 PUSH32(esp, 0xD8u); /* 0x2B06C11B: push 0xd8 */ 8469 MEM32(ebp + 0x8) = eax; /* 0x2B06C120: mov dword ptr [ebp + 8], eax */ 8470 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C123: call 0x2b0ab212 */ /* not lifted */ 8471 RECOMP_FLAGS_IN(); 8472 edi = eax; /* 0x2B06C128: mov edi, eax */ 8473 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8474 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8475 esp = esp + 4; /* 0x2B06C12A: add esp, 4 */ 8476 _flag_k = FK_ADD; 8477 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C12D: mov dword ptr [ebp - 0x28], edi */ 8478 /* cmp edi, esi */ /* 0x2B06C130: cmp edi, esi */ 8479 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 8480 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8481 _flag_k = FK_CMP; 8482 MEM8(ebp + (-0x4)) = (uint8_t)(0x13u); /* 0x2B06C132: mov byte ptr [ebp - 4], 0x13 */ 8483 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C16C; /* 0x2B06C136: je 0x2b06c16c */ 8484 L_2B06C138: 8485 edx = MEM32(ebp + 0x8); /* 0x2B06C138: mov edx, dword ptr [ebp + 8] */ 8486 eax = ebp + (-0x20); /* 0x2B06C13B: lea eax, [ebp - 0x20] */ 8487 PUSH32(esp, eax); /* 0x2B06C13E: push eax */ 8488 ecx = ebp + (-0x18); /* 0x2B06C13F: lea ecx, [ebp - 0x18] */ 8489 PUSH32(esp, ecx); /* 0x2B06C142: push ecx */ 8490 PUSH32(esp, esi); /* 0x2B06C143: push esi */ 8491 PUSH32(esp, 0x6D60u); /* 0x2B06C144: push 0x6d60 */ 8492 PUSH32(esp, edx); /* 0x2B06C149: push edx */ 8493 eax = ebp + (-0x14); /* 0x2B06C14A: lea eax, [ebp - 0x14] */ 8494 PUSH32(esp, eax); /* 0x2B06C14D: push eax */ 8495 ecx = edi; /* 0x2B06C14E: mov ecx, edi */ 8496 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C150: mov dword ptr [ebp - 0x20], 0x3f800000 */ 8497 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C157: mov dword ptr [ebp - 0x18], 0x3f800000 */ 8498 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C15E: call dword ptr [0x2b0b5654] */ 8499 RECOMP_FLAGS_IN(); 8500 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C164: mov dword ptr [edi], 0x2b0b618c */ 8501 goto L_2B06C16E; /* 0x2B06C16A: jmp 0x2b06c16e */ 8502 L_2B06C16C: 8503 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8504 edi = 0; /* 0x2B06C16C: xor edi, edi */ 8505 _cf = 0; 8506 _flag_k = FK_TEST; 8507 L_2B06C16E: 8508 PUSH32(esp, 2); /* 0x2B06C16E: push 2 */ 8509 PUSH32(esp, 3); /* 0x2B06C170: push 3 */ 8510 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C172: mov byte ptr [ebp - 4], 1 */ 8511 MEM32(ebx + 0xB8) = edi; /* 0x2B06C176: mov dword ptr [ebx + 0xb8], edi */ 8512 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C17C: call dword ptr [0x2b0b5f80] */ 8513 RECOMP_FLAGS_IN(); 8514 ecx = eax; /* 0x2B06C182: mov ecx, eax */ 8515 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C184: call dword ptr [0x2b0b5fbc] */ 8516 RECOMP_FLAGS_IN(); 8517 PUSH32(esp, 0xD8u); /* 0x2B06C18A: push 0xd8 */ 8518 MEM32(ebp + 0x8) = eax; /* 0x2B06C18F: mov dword ptr [ebp + 8], eax */ 8519 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C192: call 0x2b0ab212 */ /* not lifted */ 8520 RECOMP_FLAGS_IN(); 8521 edi = eax; /* 0x2B06C197: mov edi, eax */ 8522 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8523 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8524 esp = esp + 4; /* 0x2B06C199: add esp, 4 */ 8525 _flag_k = FK_ADD; 8526 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C19C: mov dword ptr [ebp - 0x28], edi */ 8527 /* cmp edi, esi */ /* 0x2B06C19F: cmp edi, esi */ 8528 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 8529 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8530 _flag_k = FK_CMP; 8531 MEM8(ebp + (-0x4)) = (uint8_t)(0x14u); /* 0x2B06C1A1: mov byte ptr [ebp - 4], 0x14 */ 8532 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C1DB; /* 0x2B06C1A5: je 0x2b06c1db */ 8533 L_2B06C1A7: 8534 eax = MEM32(ebp + 0x8); /* 0x2B06C1A7: mov eax, dword ptr [ebp + 8] */ 8535 ecx = ebp + (-0x20); /* 0x2B06C1AA: lea ecx, [ebp - 0x20] */ 8536 PUSH32(esp, ecx); /* 0x2B06C1AD: push ecx */ 8537 edx = ebp + (-0x18); /* 0x2B06C1AE: lea edx, [ebp - 0x18] */ 8538 PUSH32(esp, edx); /* 0x2B06C1B1: push edx */ 8539 PUSH32(esp, esi); /* 0x2B06C1B2: push esi */ 8540 PUSH32(esp, 0x6D60u); /* 0x2B06C1B3: push 0x6d60 */ 8541 PUSH32(esp, eax); /* 0x2B06C1B8: push eax */ 8542 ecx = ebp + (-0x14); /* 0x2B06C1B9: lea ecx, [ebp - 0x14] */ 8543 PUSH32(esp, ecx); /* 0x2B06C1BC: push ecx */ 8544 ecx = edi; /* 0x2B06C1BD: mov ecx, edi */ 8545 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C1BF: mov dword ptr [ebp - 0x20], 0x3f800000 */ 8546 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C1C6: mov dword ptr [ebp - 0x18], 0x3f800000 */ 8547 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C1CD: call dword ptr [0x2b0b5654] */ 8548 RECOMP_FLAGS_IN(); 8549 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C1D3: mov dword ptr [edi], 0x2b0b618c */ 8550 goto L_2B06C1DD; /* 0x2B06C1D9: jmp 0x2b06c1dd */ 8551 L_2B06C1DB: 8552 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8553 edi = 0; /* 0x2B06C1DB: xor edi, edi */ 8554 _cf = 0; 8555 _flag_k = FK_TEST; 8556 L_2B06C1DD: 8557 PUSH32(esp, 2); /* 0x2B06C1DD: push 2 */ 8558 PUSH32(esp, 4); /* 0x2B06C1DF: push 4 */ 8559 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C1E1: mov byte ptr [ebp - 4], 1 */ 8560 MEM32(ebx + 0xBC) = edi; /* 0x2B06C1E5: mov dword ptr [ebx + 0xbc], edi */ 8561 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C1EB: call dword ptr [0x2b0b5f80] */ 8562 RECOMP_FLAGS_IN(); 8563 ecx = eax; /* 0x2B06C1F1: mov ecx, eax */ 8564 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C1F3: call dword ptr [0x2b0b5fbc] */ 8565 RECOMP_FLAGS_IN(); 8566 PUSH32(esp, 0xD8u); /* 0x2B06C1F9: push 0xd8 */ 8567 MEM32(ebp + 0x8) = eax; /* 0x2B06C1FE: mov dword ptr [ebp + 8], eax */ 8568 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C201: call 0x2b0ab212 */ /* not lifted */ 8569 RECOMP_FLAGS_IN(); 8570 edi = eax; /* 0x2B06C206: mov edi, eax */ 8571 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8572 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8573 esp = esp + 4; /* 0x2B06C208: add esp, 4 */ 8574 _flag_k = FK_ADD; 8575 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C20B: mov dword ptr [ebp - 0x28], edi */ 8576 /* cmp edi, esi */ /* 0x2B06C20E: cmp edi, esi */ 8577 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 8578 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8579 _flag_k = FK_CMP; 8580 MEM8(ebp + (-0x4)) = (uint8_t)(0x15u); /* 0x2B06C210: mov byte ptr [ebp - 4], 0x15 */ 8581 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C24A; /* 0x2B06C214: je 0x2b06c24a */ 8582 L_2B06C216: 8583 ecx = MEM32(ebp + 0x8); /* 0x2B06C216: mov ecx, dword ptr [ebp + 8] */ 8584 edx = ebp + (-0x20); /* 0x2B06C219: lea edx, [ebp - 0x20] */ 8585 PUSH32(esp, edx); /* 0x2B06C21C: push edx */ 8586 eax = ebp + (-0x18); /* 0x2B06C21D: lea eax, [ebp - 0x18] */ 8587 PUSH32(esp, eax); /* 0x2B06C220: push eax */ 8588 PUSH32(esp, esi); /* 0x2B06C221: push esi */ 8589 PUSH32(esp, 0x6D60u); /* 0x2B06C222: push 0x6d60 */ 8590 PUSH32(esp, ecx); /* 0x2B06C227: push ecx */ 8591 edx = ebp + (-0x14); /* 0x2B06C228: lea edx, [ebp - 0x14] */ 8592 PUSH32(esp, edx); /* 0x2B06C22B: push edx */ 8593 ecx = edi; /* 0x2B06C22C: mov ecx, edi */ 8594 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C22E: mov dword ptr [ebp - 0x20], 0x3f800000 */ 8595 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C235: mov dword ptr [ebp - 0x18], 0x3f800000 */ 8596 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C23C: call dword ptr [0x2b0b5654] */ 8597 RECOMP_FLAGS_IN(); 8598 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C242: mov dword ptr [edi], 0x2b0b618c */ 8599 goto L_2B06C24C; /* 0x2B06C248: jmp 0x2b06c24c */ 8600 L_2B06C24A: 8601 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8602 edi = 0; /* 0x2B06C24A: xor edi, edi */ 8603 _cf = 0; 8604 _flag_k = FK_TEST; 8605 L_2B06C24C: 8606 eax = MEM32(ebx + 0x78); /* 0x2B06C24C: mov eax, dword ptr [ebx + 0x78] */ 8607 ecx = eax + (-0x16); /* 0x2B06C24F: lea ecx, [eax - 0x16] */ 8608 MEM32(ebx + 0xC0) = edi; /* 0x2B06C252: mov dword ptr [ebx + 0xc0], edi */ 8609 MEM32(ebp + (-0xC0)) = ecx; /* 0x2B06C258: mov dword ptr [ebp - 0xc0], ecx */ 8610 MEM32(ebp + (-0xAC)) = eax; /* 0x2B06C25E: mov dword ptr [ebp - 0xac], eax */ 8611 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8612 eax = 0; /* 0x2B06C264: xor eax, eax */ 8613 _cf = 0; 8614 _flag_k = FK_TEST; 8615 MEM32(ebp + (-0xE0)) = esi; /* 0x2B06C266: mov dword ptr [ebp - 0xe0], esi */ 8616 MEM32(ebp + (-0xDC)) = esi; /* 0x2B06C26C: mov dword ptr [ebp - 0xdc], esi */ 8617 MEM32(ebp + (-0xD8)) = esi; /* 0x2B06C272: mov dword ptr [ebp - 0xd8], esi */ 8618 MEM32(ebp + (-0xD4)) = 0x6D65u; /* 0x2B06C278: mov dword ptr [ebp - 0xd4], 0x6d65 */ 8619 MEM32(ebp + (-0xD0)) = esi; /* 0x2B06C282: mov dword ptr [ebp - 0xd0], esi */ 8620 MEM32(ebp + (-0xCC)) = esi; /* 0x2B06C288: mov dword ptr [ebp - 0xcc], esi */ 8621 MEM32(ebp + (-0xC8)) = esi; /* 0x2B06C28E: mov dword ptr [ebp - 0xc8], esi */ 8622 MEM32(ebp + (-0xC4)) = esi; /* 0x2B06C294: mov dword ptr [ebp - 0xc4], esi */ 8623 MEM32(ebp + (-0xBC)) = esi; /* 0x2B06C29A: mov dword ptr [ebp - 0xbc], esi */ 8624 MEM32(ebp + (-0xB8)) = esi; /* 0x2B06C2A0: mov dword ptr [ebp - 0xb8], esi */ 8625 MEM32(ebp + (-0xB4)) = esi; /* 0x2B06C2A6: mov dword ptr [ebp - 0xb4], esi */ 8626 MEM32(ebp + (-0xB0)) = 1; /* 0x2B06C2AC: mov dword ptr [ebp - 0xb0], 1 */ 8627 ecx = 6; /* 0x2B06C2B6: mov ecx, 6 */ 8628 edi = ebp + (-0xA8); /* 0x2B06C2BB: lea edi, [ebp - 0xa8] */ 8629 PUSH32(esp, 0xC8u); /* 0x2B06C2C1: push 0xc8 */ 8630 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C2C6: mov byte ptr [ebp - 4], 1 */ 8631 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06C2CA: 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; } 8632 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C2CC: call 0x2b0ab212 */ /* not lifted */ 8633 RECOMP_FLAGS_IN(); 8634 edi = eax; /* 0x2B06C2D1: mov edi, eax */ 8635 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8636 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8637 esp = esp + 4; /* 0x2B06C2D3: add esp, 4 */ 8638 _flag_k = FK_ADD; 8639 MEM32(ebp + 0x8) = edi; /* 0x2B06C2D6: mov dword ptr [ebp + 8], edi */ 8640 /* cmp edi, esi */ /* 0x2B06C2D9: cmp edi, esi */ 8641 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 8642 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8643 _flag_k = FK_CMP; 8644 MEM8(ebp + (-0x4)) = (uint8_t)(0x16u); /* 0x2B06C2DB: mov byte ptr [ebp - 4], 0x16 */ 8645 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C2FA; /* 0x2B06C2DF: je 0x2b06c2fa */ 8646 L_2B06C2E1: 8647 edx = ebp + (-0xE0); /* 0x2B06C2E1: lea edx, [ebp - 0xe0] */ 8648 PUSH32(esp, edx); /* 0x2B06C2E7: push edx */ 8649 ecx = edi; /* 0x2B06C2E8: mov ecx, edi */ 8650 RECOMP_ICALL(MEM32(0x2B0B5748)); /* 0x2B06C2EA: call dword ptr [0x2b0b5748] */ 8651 RECOMP_FLAGS_IN(); 8652 MEM32(edi) = 0x2B0B7110u; /* 0x2B06C2F0: mov dword ptr [edi], 0x2b0b7110 */ 8653 ecx = edi; /* 0x2B06C2F6: mov ecx, edi */ 8654 goto L_2B06C2FC; /* 0x2B06C2F8: jmp 0x2b06c2fc */ 8655 L_2B06C2FA: 8656 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8657 ecx = 0; /* 0x2B06C2FA: xor ecx, ecx */ 8658 _cf = 0; 8659 _flag_k = FK_TEST; 8660 L_2B06C2FC: 8661 PUSH32(esp, ebx); /* 0x2B06C2FC: push ebx */ 8662 PUSH32(esp, 0x2B06D3C0u); /* 0x2B06C2FD: push 0x2b06d3c0 */ 8663 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C302: mov byte ptr [ebp - 4], 1 */ 8664 MEM32(ebx + 0xD8) = ecx; /* 0x2B06C306: mov dword ptr [ebx + 0xd8], ecx */ 8665 RECOMP_ICALL(MEM32(0x2B0B5744)); /* 0x2B06C30C: call dword ptr [0x2b0b5744] */ 8666 RECOMP_FLAGS_IN(); 8667 ecx = MEM32(ebx + 0xD8); /* 0x2B06C312: mov ecx, dword ptr [ebx + 0xd8] */ 8668 PUSH32(esp, 0x64u); /* 0x2B06C318: push 0x64 */ 8669 RECOMP_ICALL(MEM32(0x2B0B5778)); /* 0x2B06C31A: call dword ptr [0x2b0b5778] */ 8670 RECOMP_FLAGS_IN(); 8671 eax = MEM32(ebx + 0x9C); /* 0x2B06C320: mov eax, dword ptr [ebx + 0x9c] */ 8672 ecx = MEM32(eax + 0x34); /* 0x2B06C326: mov ecx, dword ptr [eax + 0x34] */ 8673 RECOMP_ICALL(MEM32(0x2B0B56F8)); /* 0x2B06C329: call dword ptr [0x2b0b56f8] */ 8674 RECOMP_FLAGS_IN(); 8675 ecx = MEM32(ebx + 0xD8); /* 0x2B06C32F: mov ecx, dword ptr [ebx + 0xd8] */ 8676 MEM32(ebx + 0x48) = eax; /* 0x2B06C335: mov dword ptr [ebx + 0x48], eax */ 8677 PUSH32(esp, 0x64u); /* 0x2B06C338: push 0x64 */ 8678 MEM32(ecx + 0x98) = eax; /* 0x2B06C33A: mov dword ptr [ecx + 0x98], eax */ 8679 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C340: call 0x2b0ab212 */ /* not lifted */ 8680 RECOMP_FLAGS_IN(); 8681 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8682 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8683 esp = esp + 4; /* 0x2B06C345: add esp, 4 */ 8684 _flag_k = FK_ADD; 8685 MEM32(ebp + 0x8) = eax; /* 0x2B06C348: mov dword ptr [ebp + 8], eax */ 8686 /* cmp eax, esi */ /* 0x2B06C34B: cmp eax, esi */ 8687 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 8688 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8689 _flag_k = FK_CMP; 8690 MEM8(ebp + (-0x4)) = (uint8_t)(0x17u); /* 0x2B06C34D: mov byte ptr [ebp - 4], 0x17 */ 8691 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C384; /* 0x2B06C351: je 0x2b06c384 */ 8692 L_2B06C353: 8693 ecx = MEM32(ebx + 0x98); /* 0x2B06C353: mov ecx, dword ptr [ebx + 0x98] */ 8694 PUSH32(esp, ecx); /* 0x2B06C359: push ecx */ 8695 PUSH32(esp, esi); /* 0x2B06C35A: push esi */ 8696 PUSH32(esp, 0x30u); /* 0x2B06C35B: push 0x30 */ 8697 PUSH32(esp, esi); /* 0x2B06C35D: push esi */ 8698 PUSH32(esp, 0x6D63u); /* 0x2B06C35E: push 0x6d63 */ 8699 PUSH32(esp, 0x9Eu); /* 0x2B06C363: push 0x9e */ 8700 PUSH32(esp, esi); /* 0x2B06C368: push esi */ 8701 PUSH32(esp, 0x9Fu); /* 0x2B06C369: push 0x9f */ 8702 PUSH32(esp, 0x36u); /* 0x2B06C36E: push 0x36 */ 8703 PUSH32(esp, 0x36u); /* 0x2B06C370: push 0x36 */ 8704 PUSH32(esp, 3); /* 0x2B06C372: push 3 */ 8705 PUSH32(esp, 3); /* 0x2B06C374: push 3 */ 8706 edx = ebp + (-0x14); /* 0x2B06C376: lea edx, [ebp - 0x14] */ 8707 PUSH32(esp, edx); /* 0x2B06C379: push edx */ 8708 ecx = eax; /* 0x2B06C37A: mov ecx, eax */ 8709 RECOMP_ICALL(MEM32(0x2B0B58F8)); /* 0x2B06C37C: call dword ptr [0x2b0b58f8] */ 8710 RECOMP_FLAGS_IN(); 8711 goto L_2B06C386; /* 0x2B06C382: jmp 0x2b06c386 */ 8712 L_2B06C384: 8713 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8714 eax = 0; /* 0x2B06C384: xor eax, eax */ 8715 _cf = 0; 8716 _flag_k = FK_TEST; 8717 L_2B06C386: 8718 MEM32(ebx + 0xDC) = eax; /* 0x2B06C386: mov dword ptr [ebx + 0xdc], eax */ 8719 MEM32(eax + 0x5C) = 0x2B06D400u; /* 0x2B06C38C: mov dword ptr [eax + 0x5c], 0x2b06d400 */ 8720 MEM32(eax + 0x60) = ebx; /* 0x2B06C393: mov dword ptr [eax + 0x60], ebx */ 8721 eax = ebx + 0x5C; /* 0x2B06C396: lea eax, [ebx + 0x5c] */ 8722 PUSH32(esp, eax); /* 0x2B06C399: push eax */ 8723 ecx = ebx; /* 0x2B06C39A: mov ecx, ebx */ 8724 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C39C: mov byte ptr [ebp - 4], 1 */ 8725 RECOMP_ICALL(0x2B06CC00u); /* 0x2B06C3A0: call 0x2b06cc00 */ /* not lifted */ 8726 RECOMP_FLAGS_IN(); 8727 ecx = ebx; /* 0x2B06C3A5: mov ecx, ebx */ 8728 RECOMP_ICALL(0x2B06CBD0u); /* 0x2B06C3A7: call 0x2b06cbd0 */ /* not lifted */ 8729 RECOMP_FLAGS_IN(); 8730 eax = MEM32(0x2B0B6048); /* 0x2B06C3AC: mov eax, dword ptr [0x2b0b6048] */ 8731 ecx = MEM32(eax); /* 0x2B06C3B1: mov ecx, dword ptr [eax] */ 8732 PUSH32(esp, 1); /* 0x2B06C3B3: push 1 */ 8733 PUSH32(esp, 0x2B0EB490u); /* 0x2B06C3B5: push 0x2b0eb490 */ 8734 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B06C3BA: call dword ptr [0x2b0b602c] */ 8735 RECOMP_FLAGS_IN(); 8736 /* test eax, eax */ /* 0x2B06C3C0: test eax, eax */ 8737 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8738 _cf = 0; 8739 _flag_k = FK_TEST; 8740 SET_LO8(eax, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B06C3C2: setne al */ 8741 /* test LO8(eax), LO8(eax) */ /* 0x2B06C3C5: test al, al */ 8742 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8743 _cf = 0; 8744 _flag_k = FK_NARROW(FK_TEST, 24); 8745 MEM8(ebx + 0x58) = (uint8_t)(LO8(eax)); /* 0x2B06C3C7: mov byte ptr [ebx + 0x58], al */ 8746 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06C3DA; /* 0x2B06C3CA: jne 0x2b06c3da */ 8747 L_2B06C3CC: 8748 ecx = MEM32(ebx + 0xCC); /* 0x2B06C3CC: mov ecx, dword ptr [ebx + 0xcc] */ 8749 PUSH32(esp, 2); /* 0x2B06C3D2: push 2 */ 8750 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06C3D4: call dword ptr [0x2b0b5ab4] */ 8751 RECOMP_FLAGS_IN(); 8752 L_2B06C3DA: 8753 ecx = MEM32(ebp + (-0xC)); /* 0x2B06C3DA: mov ecx, dword ptr [ebp - 0xc] */ 8754 edi = POP32_VAL(esp); /* 0x2B06C3DD: pop edi */ 8755 esi = POP32_VAL(esp); /* 0x2B06C3DE: pop esi */ 8756 eax = ebx; /* 0x2B06C3DF: mov eax, ebx */ 8757 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06C3E1: mov dword ptr fs:[0], ecx */ 8758 ebx = POP32_VAL(esp); /* 0x2B06C3E8: pop ebx */ 8759 esp = ebp; /* 0x2B06C3E9: mov esp, ebp */ 8760 ebp = POP32_VAL(esp); /* 0x2B06C3EB: pop ebp */ 8761 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06C3EC: ret 4 */ 8762 RECOMP_REGS_OUT(); 8763 } 8764 8765 void sub_2B06BBE6(void) { 8766 int _fpu_cmp = 0; 8767 uint32_t _cf = 0; 8768 int _df = 1; 8769 uint32_t _flag_k = FK_NONE; 8770 uint32_t _flag_a = 0, _flag_b = 0; 8771 uint32_t _itail_tgt = 0; 8772 RECOMP_REGS_LOCALS 8773 RECOMP_ENTER(0x2B06BBE6u); 8774 8775 L_2B06BBE6: 8776 MEM32(ebx + 0x8C) = eax; /* 0x2B06BBE6: mov dword ptr [ebx + 0x8c], eax */ 8777 MEM32(eax + 0x7C) = 0x2B06D150u; /* 0x2B06BBEC: mov dword ptr [eax + 0x7c], 0x2b06d150 */ 8778 MEM32(eax + 0x80) = ebx; /* 0x2B06BBF3: mov dword ptr [eax + 0x80], ebx */ 8779 MEM8(eax + 0x24) = (uint8_t)(1); /* 0x2B06BBF9: mov byte ptr [eax + 0x24], 1 */ 8780 MEM8(eax + 0x25) = (uint8_t)(1); /* 0x2B06BBFD: mov byte ptr [eax + 0x25], 1 */ 8781 eax = MEM32(ebx + 0x8C); /* 0x2B06BC01: mov eax, dword ptr [ebx + 0x8c] */ 8782 PUSH32(esp, 0x9Cu); /* 0x2B06BC07: push 0x9c */ 8783 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BC0C: mov byte ptr [ebp - 4], 1 */ 8784 MEM32(eax + 0x1C) = 0x2B06D180u; /* 0x2B06BC10: mov dword ptr [eax + 0x1c], 0x2b06d180 */ 8785 MEM32(eax + 0x20) = ebx; /* 0x2B06BC17: mov dword ptr [eax + 0x20], ebx */ 8786 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BC1A: call 0x2b0ab212 */ /* not lifted */ 8787 RECOMP_FLAGS_IN(); 8788 edi = eax; /* 0x2B06BC1F: mov edi, eax */ 8789 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8790 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8791 esp = esp + 4; /* 0x2B06BC21: add esp, 4 */ 8792 _flag_k = FK_ADD; 8793 MEM32(ebp + 0x8) = edi; /* 0x2B06BC24: mov dword ptr [ebp + 8], edi */ 8794 /* cmp edi, esi */ /* 0x2B06BC27: cmp edi, esi */ 8795 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 8796 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8797 _flag_k = FK_CMP; 8798 MEM8(ebp + (-0x4)) = (uint8_t)(9); /* 0x2B06BC29: mov byte ptr [ebp - 4], 9 */ 8799 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BC5D; /* 0x2B06BC2D: je 0x2b06bc5d */ 8800 L_2B06BC2F: 8801 edx = MEM32(ebx + 0x68); /* 0x2B06BC2F: mov edx, dword ptr [ebx + 0x68] */ 8802 eax = MEM32(ebx + 0x64); /* 0x2B06BC32: mov eax, dword ptr [ebx + 0x64] */ 8803 ecx = MEM32(ebp + (-0x10)); /* 0x2B06BC35: mov ecx, dword ptr [ebp - 0x10] */ 8804 PUSH32(esp, esi); /* 0x2B06BC38: push esi */ 8805 PUSH32(esp, 4); /* 0x2B06BC39: push 4 */ 8806 PUSH32(esp, esi); /* 0x2B06BC3B: push esi */ 8807 PUSH32(esp, 0x6D60u); /* 0x2B06BC3C: push 0x6d60 */ 8808 PUSH32(esp, esi); /* 0x2B06BC41: push esi */ 8809 PUSH32(esp, esi); /* 0x2B06BC42: push esi */ 8810 PUSH32(esp, esi); /* 0x2B06BC43: push esi */ 8811 PUSH32(esp, edx); /* 0x2B06BC44: push edx */ 8812 edx = MEM32(ebp + (-0x14)); /* 0x2B06BC45: mov edx, dword ptr [ebp - 0x14] */ 8813 PUSH32(esp, eax); /* 0x2B06BC48: push eax */ 8814 PUSH32(esp, ecx); /* 0x2B06BC49: push ecx */ 8815 PUSH32(esp, edx); /* 0x2B06BC4A: push edx */ 8816 ecx = edi; /* 0x2B06BC4B: mov ecx, edi */ 8817 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B06BC4D: call dword ptr [0x2b0b5af0] */ 8818 RECOMP_FLAGS_IN(); 8819 MEM32(edi) = 0x2B0B642Cu; /* 0x2B06BC53: mov dword ptr [edi], 0x2b0b642c */ 8820 eax = edi; /* 0x2B06BC59: mov eax, edi */ 8821 goto L_2B06BC5F; /* 0x2B06BC5B: jmp 0x2b06bc5f */ 8822 L_2B06BC5D: 8823 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8824 eax = 0; /* 0x2B06BC5D: xor eax, eax */ 8825 _cf = 0; 8826 _flag_k = FK_TEST; 8827 L_2B06BC5F: 8828 MEM32(ebx + 0x88) = eax; /* 0x2B06BC5F: mov dword ptr [ebx + 0x88], eax */ 8829 MEM32(eax + 0x1C) = 0x2B06D180u; /* 0x2B06BC65: mov dword ptr [eax + 0x1c], 0x2b06d180 */ 8830 MEM32(eax + 0x20) = ebx; /* 0x2B06BC6C: mov dword ptr [eax + 0x20], ebx */ 8831 eax = MEM32(ebx + 0x7C); /* 0x2B06BC6F: mov eax, dword ptr [ebx + 0x7c] */ 8832 PUSH32(esp, 2); /* 0x2B06BC72: push 2 */ 8833 PUSH32(esp, 9); /* 0x2B06BC74: push 9 */ 8834 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BC76: mov byte ptr [ebp - 4], 1 */ 8835 MEM32(ebp + (-0x34)) = eax; /* 0x2B06BC7A: mov dword ptr [ebp - 0x34], eax */ 8836 MEM32(ebp + (-0x30)) = eax; /* 0x2B06BC7D: mov dword ptr [ebp - 0x30], eax */ 8837 MEM32(ebp + (-0x8C)) = esi; /* 0x2B06BC80: mov dword ptr [ebp - 0x8c], esi */ 8838 MEM32(ebp + (-0x88)) = esi; /* 0x2B06BC86: mov dword ptr [ebp - 0x88], esi */ 8839 MEM32(ebp + (-0x84)) = eax; /* 0x2B06BC8C: mov dword ptr [ebp - 0x84], eax */ 8840 MEM32(ebp + (-0x80)) = eax; /* 0x2B06BC92: mov dword ptr [ebp - 0x80], eax */ 8841 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06BC95: call dword ptr [0x2b0b5f80] */ 8842 RECOMP_FLAGS_IN(); 8843 ecx = eax; /* 0x2B06BC9B: mov ecx, eax */ 8844 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06BC9D: call dword ptr [0x2b0b5fbc] */ 8845 RECOMP_FLAGS_IN(); 8846 PUSH32(esp, 0x50u); /* 0x2B06BCA3: push 0x50 */ 8847 edi = eax; /* 0x2B06BCA5: mov edi, eax */ 8848 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BCA7: call 0x2b0ab212 */ /* not lifted */ 8849 RECOMP_FLAGS_IN(); 8850 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8851 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8852 esp = esp + 4; /* 0x2B06BCAC: add esp, 4 */ 8853 _flag_k = FK_ADD; 8854 MEM32(ebp + 0x8) = eax; /* 0x2B06BCAF: mov dword ptr [ebp + 8], eax */ 8855 /* cmp eax, esi */ /* 0x2B06BCB2: cmp eax, esi */ 8856 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 8857 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8858 _flag_k = FK_CMP; 8859 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B06BCB4: mov byte ptr [ebp - 4], 0xa */ 8860 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BCE0; /* 0x2B06BCB8: je 0x2b06bce0 */ 8861 L_2B06BCBA: 8862 PUSH32(esp, esi); /* 0x2B06BCBA: push esi */ 8863 PUSH32(esp, 0x3F800000u); /* 0x2B06BCBB: push 0x3f800000 */ 8864 PUSH32(esp, 0x3F800000u); /* 0x2B06BCC0: push 0x3f800000 */ 8865 PUSH32(esp, 0x6D60u); /* 0x2B06BCC5: push 0x6d60 */ 8866 ecx = ebp + (-0x14); /* 0x2B06BCCA: lea ecx, [ebp - 0x14] */ 8867 PUSH32(esp, ecx); /* 0x2B06BCCD: push ecx */ 8868 edx = ebp + (-0x34); /* 0x2B06BCCE: lea edx, [ebp - 0x34] */ 8869 PUSH32(esp, edx); /* 0x2B06BCD1: push edx */ 8870 PUSH32(esp, 4); /* 0x2B06BCD2: push 4 */ 8871 PUSH32(esp, 4); /* 0x2B06BCD4: push 4 */ 8872 ecx = eax; /* 0x2B06BCD6: mov ecx, eax */ 8873 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B06BCD8: call dword ptr [0x2b0b5bd8] */ 8874 RECOMP_FLAGS_IN(); 8875 goto L_2B06BCE2; /* 0x2B06BCDE: jmp 0x2b06bce2 */ 8876 L_2B06BCE0: 8877 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8878 eax = 0; /* 0x2B06BCE0: xor eax, eax */ 8879 _cf = 0; 8880 _flag_k = FK_TEST; 8881 L_2B06BCE2: 8882 PUSH32(esp, 1); /* 0x2B06BCE2: push 1 */ 8883 MEM32(ebx + 0xA4) = eax; /* 0x2B06BCE4: mov dword ptr [ebx + 0xa4], eax */ 8884 eax = MEM32(eax + 0x28); /* 0x2B06BCEA: mov eax, dword ptr [eax + 0x28] */ 8885 PUSH32(esp, esi); /* 0x2B06BCED: push esi */ 8886 PUSH32(esp, esi); /* 0x2B06BCEE: push esi */ 8887 ecx = eax; /* 0x2B06BCEF: mov ecx, eax */ 8888 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BCF1: mov byte ptr [ebp - 4], 1 */ 8889 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B06BCF5: call dword ptr [0x2b0b564c] */ 8890 RECOMP_FLAGS_IN(); 8891 eax = MEM32(ebx + 0xA4); /* 0x2B06BCFB: mov eax, dword ptr [ebx + 0xa4] */ 8892 ecx = MEM32(eax + 0x28); /* 0x2B06BD01: mov ecx, dword ptr [eax + 0x28] */ 8893 PUSH32(esp, 0xFF00u); /* 0x2B06BD04: push 0xff00 */ 8894 PUSH32(esp, edi); /* 0x2B06BD09: push edi */ 8895 edx = ebp + (-0x14); /* 0x2B06BD0A: lea edx, [ebp - 0x14] */ 8896 PUSH32(esp, edx); /* 0x2B06BD0D: push edx */ 8897 eax = ebp + (-0x8C); /* 0x2B06BD0E: lea eax, [ebp - 0x8c] */ 8898 PUSH32(esp, eax); /* 0x2B06BD14: push eax */ 8899 RECOMP_ICALL(MEM32(0x2B0B5554)); /* 0x2B06BD15: call dword ptr [0x2b0b5554] */ 8900 RECOMP_FLAGS_IN(); 8901 ecx = MEM32(ebx + 0xA4); /* 0x2B06BD1B: mov ecx, dword ptr [ebx + 0xa4] */ 8902 RECOMP_ICALL(MEM32(0x2B0B5BDC)); /* 0x2B06BD21: call dword ptr [0x2b0b5bdc] */ 8903 RECOMP_FLAGS_IN(); 8904 PUSH32(esp, edi); /* 0x2B06BD27: push edi */ 8905 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06BD28: call dword ptr [0x2b0b5f80] */ 8906 RECOMP_FLAGS_IN(); 8907 ecx = eax; /* 0x2B06BD2E: mov ecx, eax */ 8908 RECOMP_ICALL(MEM32(0x2B0B5FB8)); /* 0x2B06BD30: call dword ptr [0x2b0b5fb8] */ 8909 RECOMP_FLAGS_IN(); 8910 PUSH32(esp, 0x9Cu); /* 0x2B06BD36: push 0x9c */ 8911 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BD3B: call 0x2b0ab212 */ /* not lifted */ 8912 RECOMP_FLAGS_IN(); 8913 edi = eax; /* 0x2B06BD40: mov edi, eax */ 8914 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8915 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8916 esp = esp + 4; /* 0x2B06BD42: add esp, 4 */ 8917 _flag_k = FK_ADD; 8918 MEM32(ebp + 0x8) = edi; /* 0x2B06BD45: mov dword ptr [ebp + 8], edi */ 8919 /* cmp edi, esi */ /* 0x2B06BD48: cmp edi, esi */ 8920 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 8921 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8922 _flag_k = FK_CMP; 8923 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B06BD4A: mov byte ptr [ebp - 4], 0xb */ 8924 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BD84; /* 0x2B06BD4E: je 0x2b06bd84 */ 8925 L_2B06BD50: 8926 ecx = MEM32(ebx + 0xA4); /* 0x2B06BD50: mov ecx, dword ptr [ebx + 0xa4] */ 8927 edx = MEM32(ebp + (-0x30)); /* 0x2B06BD56: mov edx, dword ptr [ebp - 0x30] */ 8928 eax = MEM32(ebp + (-0x34)); /* 0x2B06BD59: mov eax, dword ptr [ebp - 0x34] */ 8929 PUSH32(esp, ecx); /* 0x2B06BD5C: push ecx */ 8930 ecx = MEM32(ebp + (-0x10)); /* 0x2B06BD5D: mov ecx, dword ptr [ebp - 0x10] */ 8931 PUSH32(esp, 4); /* 0x2B06BD60: push 4 */ 8932 PUSH32(esp, esi); /* 0x2B06BD62: push esi */ 8933 PUSH32(esp, 0x6D61u); /* 0x2B06BD63: push 0x6d61 */ 8934 PUSH32(esp, esi); /* 0x2B06BD68: push esi */ 8935 PUSH32(esp, esi); /* 0x2B06BD69: push esi */ 8936 PUSH32(esp, esi); /* 0x2B06BD6A: push esi */ 8937 PUSH32(esp, edx); /* 0x2B06BD6B: push edx */ 8938 edx = MEM32(ebp + (-0x14)); /* 0x2B06BD6C: mov edx, dword ptr [ebp - 0x14] */ 8939 PUSH32(esp, eax); /* 0x2B06BD6F: push eax */ 8940 PUSH32(esp, ecx); /* 0x2B06BD70: push ecx */ 8941 PUSH32(esp, edx); /* 0x2B06BD71: push edx */ 8942 ecx = edi; /* 0x2B06BD72: mov ecx, edi */ 8943 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B06BD74: call dword ptr [0x2b0b5af0] */ 8944 RECOMP_FLAGS_IN(); 8945 MEM32(edi) = 0x2B0B642Cu; /* 0x2B06BD7A: mov dword ptr [edi], 0x2b0b642c */ 8946 eax = edi; /* 0x2B06BD80: mov eax, edi */ 8947 goto L_2B06BD86; /* 0x2B06BD82: jmp 0x2b06bd86 */ 8948 L_2B06BD84: 8949 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8950 eax = 0; /* 0x2B06BD84: xor eax, eax */ 8951 _cf = 0; 8952 _flag_k = FK_TEST; 8953 L_2B06BD86: 8954 MEM32(ebx + 0xD0) = eax; /* 0x2B06BD86: mov dword ptr [ebx + 0xd0], eax */ 8955 MEM32(eax + 0x7C) = 0x2B06D300u; /* 0x2B06BD8C: mov dword ptr [eax + 0x7c], 0x2b06d300 */ 8956 MEM32(eax + 0x80) = ebx; /* 0x2B06BD93: mov dword ptr [eax + 0x80], ebx */ 8957 MEM8(eax + 0x24) = (uint8_t)(1); /* 0x2B06BD99: mov byte ptr [eax + 0x24], 1 */ 8958 MEM8(eax + 0x25) = (uint8_t)(1); /* 0x2B06BD9D: mov byte ptr [eax + 0x25], 1 */ 8959 eax = MEM32(ebx + 0xD0); /* 0x2B06BDA1: mov eax, dword ptr [ebx + 0xd0] */ 8960 MEM32(eax + 0x1C) = 0x2B06D180u; /* 0x2B06BDA7: mov dword ptr [eax + 0x1c], 0x2b06d180 */ 8961 MEM32(eax + 0x20) = ebx; /* 0x2B06BDAE: mov dword ptr [eax + 0x20], ebx */ 8962 eax = MEM32(ebx + 0x7C); /* 0x2B06BDB1: mov eax, dword ptr [ebx + 0x7c] */ 8963 if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2B06BDB4: shl eax, 2 */ 8964 if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8965 eax = eax << 2u; /* 0x2B06BDB4: shl eax, 2 */ 8966 PUSH32(esp, 0x50u); /* 0x2B06BDB7: push 0x50 */ 8967 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BDB9: mov byte ptr [ebp - 4], 1 */ 8968 MEM32(ebp + (-0x34)) = eax; /* 0x2B06BDBD: mov dword ptr [ebp - 0x34], eax */ 8969 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BDC0: call 0x2b0ab212 */ /* not lifted */ 8970 RECOMP_FLAGS_IN(); 8971 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8972 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8973 esp = esp + 4; /* 0x2B06BDC5: add esp, 4 */ 8974 _flag_k = FK_ADD; 8975 MEM32(ebp + 0x8) = eax; /* 0x2B06BDC8: mov dword ptr [ebp + 8], eax */ 8976 /* cmp eax, esi */ /* 0x2B06BDCB: cmp eax, esi */ 8977 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 8978 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8979 _flag_k = FK_CMP; 8980 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x2B06BDCD: mov byte ptr [ebp - 4], 0xc */ 8981 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BDF9; /* 0x2B06BDD1: je 0x2b06bdf9 */ 8982 L_2B06BDD3: 8983 PUSH32(esp, esi); /* 0x2B06BDD3: push esi */ 8984 PUSH32(esp, 0x3F800000u); /* 0x2B06BDD4: push 0x3f800000 */ 8985 PUSH32(esp, 0x3F800000u); /* 0x2B06BDD9: push 0x3f800000 */ 8986 PUSH32(esp, 0x6D60u); /* 0x2B06BDDE: push 0x6d60 */ 8987 ecx = ebp + (-0x14); /* 0x2B06BDE3: lea ecx, [ebp - 0x14] */ 8988 PUSH32(esp, ecx); /* 0x2B06BDE6: push ecx */ 8989 edx = ebp + (-0x34); /* 0x2B06BDE7: lea edx, [ebp - 0x34] */ 8990 PUSH32(esp, edx); /* 0x2B06BDEA: push edx */ 8991 PUSH32(esp, 4); /* 0x2B06BDEB: push 4 */ 8992 PUSH32(esp, 6); /* 0x2B06BDED: push 6 */ 8993 ecx = eax; /* 0x2B06BDEF: mov ecx, eax */ 8994 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B06BDF1: call dword ptr [0x2b0b5bd8] */ 8995 RECOMP_FLAGS_IN(); 8996 goto L_2B06BDFB; /* 0x2B06BDF7: jmp 0x2b06bdfb */ 8997 L_2B06BDF9: 8998 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8999 eax = 0; /* 0x2B06BDF9: xor eax, eax */ 9000 _cf = 0; 9001 _flag_k = FK_TEST; 9002 L_2B06BDFB: 9003 PUSH32(esp, 1); /* 0x2B06BDFB: push 1 */ 9004 MEM32(ebx + 0xA8) = eax; /* 0x2B06BDFD: mov dword ptr [ebx + 0xa8], eax */ 9005 eax = MEM32(eax + 0x28); /* 0x2B06BE03: mov eax, dword ptr [eax + 0x28] */ 9006 PUSH32(esp, esi); /* 0x2B06BE06: push esi */ 9007 PUSH32(esp, esi); /* 0x2B06BE07: push esi */ 9008 ecx = eax; /* 0x2B06BE08: mov ecx, eax */ 9009 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BE0A: mov byte ptr [ebp - 4], 1 */ 9010 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B06BE0E: call dword ptr [0x2b0b564c] */ 9011 RECOMP_FLAGS_IN(); 9012 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9013 eax = 0; /* 0x2B06BE14: xor eax, eax */ 9014 _cf = 0; 9015 _flag_k = FK_TEST; 9016 ecx = 0xCu; /* 0x2B06BE16: mov ecx, 0xc */ 9017 edi = ebp + (-0x64); /* 0x2B06BE1B: lea edi, [ebp - 0x64] */ 9018 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BE1E: 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; } 9019 ecx = 0xCu; /* 0x2B06BE20: mov ecx, 0xc */ 9020 edi = ebp + (-0x64); /* 0x2B06BE25: lea edi, [ebp - 0x64] */ 9021 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BE28: 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; } 9022 eax = MEM32(ebx + 0x7C); /* 0x2B06BE2A: mov eax, dword ptr [ebx + 0x7c] */ 9023 PUSH32(esp, 0xBCu); /* 0x2B06BE2D: push 0xbc */ 9024 MEM32(ebp + (-0x58)) = 0x2B0EB4A8u; /* 0x2B06BE32: mov dword ptr [ebp - 0x58], 0x2b0eb4a8 */ 9025 MEM32(ebp + (-0x54)) = eax; /* 0x2B06BE39: mov dword ptr [ebp - 0x54], eax */ 9026 MEM32(ebp + (-0x4C)) = 0x6D61u; /* 0x2B06BE3C: mov dword ptr [ebp - 0x4c], 0x6d61 */ 9027 MEM32(ebp + (-0x64)) = 1; /* 0x2B06BE43: mov dword ptr [ebp - 0x64], 1 */ 9028 MEM32(ebp + (-0x44)) = 0x64u; /* 0x2B06BE4A: mov dword ptr [ebp - 0x44], 0x64 */ 9029 MEM32(ebp + (-0x40)) = 0x65u; /* 0x2B06BE51: mov dword ptr [ebp - 0x40], 0x65 */ 9030 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BE58: call 0x2b0ab212 */ /* not lifted */ 9031 RECOMP_FLAGS_IN(); 9032 edi = eax; /* 0x2B06BE5D: mov edi, eax */ 9033 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9034 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9035 esp = esp + 4; /* 0x2B06BE5F: add esp, 4 */ 9036 _flag_k = FK_ADD; 9037 MEM32(ebp + 0x8) = edi; /* 0x2B06BE62: mov dword ptr [ebp + 8], edi */ 9038 /* cmp edi, esi */ /* 0x2B06BE65: cmp edi, esi */ 9039 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 9040 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9041 _flag_k = FK_CMP; 9042 MEM8(ebp + (-0x4)) = (uint8_t)(0xDu); /* 0x2B06BE67: mov byte ptr [ebp - 4], 0xd */ 9043 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BE8A; /* 0x2B06BE6B: je 0x2b06be8a */ 9044 L_2B06BE6D: 9045 ecx = MEM32(ebx + 0xA8); /* 0x2B06BE6D: mov ecx, dword ptr [ebx + 0xa8] */ 9046 PUSH32(esp, ecx); /* 0x2B06BE73: push ecx */ 9047 edx = ebp + (-0x64); /* 0x2B06BE74: lea edx, [ebp - 0x64] */ 9048 PUSH32(esp, edx); /* 0x2B06BE77: push edx */ 9049 ecx = edi; /* 0x2B06BE78: mov ecx, edi */ 9050 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B06BE7A: call dword ptr [0x2b0b5afc] */ 9051 RECOMP_FLAGS_IN(); 9052 MEM32(edi) = 0x2B0B645Cu; /* 0x2B06BE80: mov dword ptr [edi], 0x2b0b645c */ 9053 ecx = edi; /* 0x2B06BE86: mov ecx, edi */ 9054 goto L_2B06BE8C; /* 0x2B06BE88: jmp 0x2b06be8c */ 9055 L_2B06BE8A: 9056 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9057 ecx = 0; /* 0x2B06BE8A: xor ecx, ecx */ 9058 _cf = 0; 9059 _flag_k = FK_TEST; 9060 L_2B06BE8C: 9061 PUSH32(esp, ebx); /* 0x2B06BE8C: push ebx */ 9062 PUSH32(esp, 0x2B06D3A0u); /* 0x2B06BE8D: push 0x2b06d3a0 */ 9063 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BE92: mov byte ptr [ebp - 4], 1 */ 9064 MEM32(ebx + 0xCC) = ecx; /* 0x2B06BE96: mov dword ptr [ebx + 0xcc], ecx */ 9065 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B06BE9C: call dword ptr [0x2b0b5af8] */ 9066 RECOMP_FLAGS_IN(); 9067 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9068 eax = 0; /* 0x2B06BEA2: xor eax, eax */ 9069 _cf = 0; 9070 _flag_k = FK_TEST; 9071 ecx = 0xCu; /* 0x2B06BEA4: mov ecx, 0xc */ 9072 edi = ebp + (-0x64); /* 0x2B06BEA9: lea edi, [ebp - 0x64] */ 9073 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BEAC: 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; } 9074 eax = MEM32(ebx + 0x7C); /* 0x2B06BEAE: mov eax, dword ptr [ebx + 0x7c] */ 9075 if (1u) _cf = (((eax) >> 31) & 1u); /* 0x2B06BEB1: shl eax, 1 */ 9076 if (1u) { _flag_a = recomp_flags_pack((eax << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9077 eax = eax << 1u; /* 0x2B06BEB1: shl eax, 1 */ 9078 PUSH32(esp, 0xBCu); /* 0x2B06BEB3: push 0xbc */ 9079 MEM32(ebp + (-0x54)) = eax; /* 0x2B06BEB8: mov dword ptr [ebp - 0x54], eax */ 9080 MEM32(ebp + (-0x58)) = 0x2B0EB4A0u; /* 0x2B06BEBB: mov dword ptr [ebp - 0x58], 0x2b0eb4a0 */ 9081 MEM32(ebp + (-0x4C)) = 0x6D61u; /* 0x2B06BEC2: mov dword ptr [ebp - 0x4c], 0x6d61 */ 9082 MEM32(ebp + (-0x48)) = 0x66u; /* 0x2B06BEC9: mov dword ptr [ebp - 0x48], 0x66 */ 9083 MEM32(ebp + (-0x44)) = 0x67u; /* 0x2B06BED0: mov dword ptr [ebp - 0x44], 0x67 */ 9084 MEM32(ebp + (-0x40)) = 0x68u; /* 0x2B06BED7: mov dword ptr [ebp - 0x40], 0x68 */ 9085 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BEDE: call 0x2b0ab212 */ /* not lifted */ 9086 RECOMP_FLAGS_IN(); 9087 edi = eax; /* 0x2B06BEE3: mov edi, eax */ 9088 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9089 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9090 esp = esp + 4; /* 0x2B06BEE5: add esp, 4 */ 9091 _flag_k = FK_ADD; 9092 MEM32(ebp + 0x8) = edi; /* 0x2B06BEE8: mov dword ptr [ebp + 8], edi */ 9093 /* cmp edi, esi */ /* 0x2B06BEEB: cmp edi, esi */ 9094 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 9095 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9096 _flag_k = FK_CMP; 9097 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x2B06BEED: mov byte ptr [ebp - 4], 0xe */ 9098 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BF10; /* 0x2B06BEF1: je 0x2b06bf10 */ 9099 L_2B06BEF3: 9100 ecx = MEM32(ebx + 0xA8); /* 0x2B06BEF3: mov ecx, dword ptr [ebx + 0xa8] */ 9101 PUSH32(esp, ecx); /* 0x2B06BEF9: push ecx */ 9102 edx = ebp + (-0x64); /* 0x2B06BEFA: lea edx, [ebp - 0x64] */ 9103 PUSH32(esp, edx); /* 0x2B06BEFD: push edx */ 9104 ecx = edi; /* 0x2B06BEFE: mov ecx, edi */ 9105 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B06BF00: call dword ptr [0x2b0b5afc] */ 9106 RECOMP_FLAGS_IN(); 9107 MEM32(edi) = 0x2B0B645Cu; /* 0x2B06BF06: mov dword ptr [edi], 0x2b0b645c */ 9108 ecx = edi; /* 0x2B06BF0C: mov ecx, edi */ 9109 goto L_2B06BF12; /* 0x2B06BF0E: jmp 0x2b06bf12 */ 9110 L_2B06BF10: 9111 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9112 ecx = 0; /* 0x2B06BF10: xor ecx, ecx */ 9113 _cf = 0; 9114 _flag_k = FK_TEST; 9115 L_2B06BF12: 9116 PUSH32(esp, ebx); /* 0x2B06BF12: push ebx */ 9117 PUSH32(esp, 0x2B06D360u); /* 0x2B06BF13: push 0x2b06d360 */ 9118 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BF18: mov byte ptr [ebp - 4], 1 */ 9119 MEM32(ebx + 0xC8) = ecx; /* 0x2B06BF1C: mov dword ptr [ebx + 0xc8], ecx */ 9120 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B06BF22: call dword ptr [0x2b0b5af8] */ 9121 RECOMP_FLAGS_IN(); 9122 ecx = MEM32(ebx + 0xC8); /* 0x2B06BF28: mov ecx, dword ptr [ebx + 0xc8] */ 9123 PUSH32(esp, esi); /* 0x2B06BF2E: push esi */ 9124 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06BF2F: call dword ptr [0x2b0b5ab4] */ 9125 RECOMP_FLAGS_IN(); 9126 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9127 eax = 0; /* 0x2B06BF35: xor eax, eax */ 9128 _cf = 0; 9129 _flag_k = FK_TEST; 9130 ecx = 0xCu; /* 0x2B06BF37: mov ecx, 0xc */ 9131 edi = ebp + (-0x64); /* 0x2B06BF3C: lea edi, [ebp - 0x64] */ 9132 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BF3F: 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; } 9133 eax = MEM32(ebx + 0x7C); /* 0x2B06BF41: mov eax, dword ptr [ebx + 0x7c] */ 9134 eax = eax + eax * 2; /* 0x2B06BF44: lea eax, [eax + eax*2] */ 9135 PUSH32(esp, 0xBCu); /* 0x2B06BF47: push 0xbc */ 9136 MEM32(ebp + (-0x54)) = eax; /* 0x2B06BF4C: mov dword ptr [ebp - 0x54], eax */ 9137 MEM32(ebp + (-0x58)) = 0x2B0E6EE8u; /* 0x2B06BF4F: mov dword ptr [ebp - 0x58], 0x2b0e6ee8 */ 9138 MEM32(ebp + (-0x4C)) = 0x6D61u; /* 0x2B06BF56: mov dword ptr [ebp - 0x4c], 0x6d61 */ 9139 MEM32(ebp + (-0x48)) = 0xAu; /* 0x2B06BF5D: mov dword ptr [ebp - 0x48], 0xa */ 9140 MEM32(ebp + (-0x44)) = 0x69u; /* 0x2B06BF64: mov dword ptr [ebp - 0x44], 0x69 */ 9141 MEM32(ebp + (-0x40)) = 0x6Au; /* 0x2B06BF6B: mov dword ptr [ebp - 0x40], 0x6a */ 9142 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BF72: call 0x2b0ab212 */ /* not lifted */ 9143 RECOMP_FLAGS_IN(); 9144 edi = eax; /* 0x2B06BF77: mov edi, eax */ 9145 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9146 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9147 esp = esp + 4; /* 0x2B06BF79: add esp, 4 */ 9148 _flag_k = FK_ADD; 9149 MEM32(ebp + 0x8) = edi; /* 0x2B06BF7C: mov dword ptr [ebp + 8], edi */ 9150 /* cmp edi, esi */ /* 0x2B06BF7F: cmp edi, esi */ 9151 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 9152 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9153 _flag_k = FK_CMP; 9154 MEM8(ebp + (-0x4)) = (uint8_t)(0xFu); /* 0x2B06BF81: mov byte ptr [ebp - 4], 0xf */ 9155 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BFA4; /* 0x2B06BF85: je 0x2b06bfa4 */ 9156 L_2B06BF87: 9157 ecx = MEM32(ebx + 0xA8); /* 0x2B06BF87: mov ecx, dword ptr [ebx + 0xa8] */ 9158 PUSH32(esp, ecx); /* 0x2B06BF8D: push ecx */ 9159 edx = ebp + (-0x64); /* 0x2B06BF8E: lea edx, [ebp - 0x64] */ 9160 PUSH32(esp, edx); /* 0x2B06BF91: push edx */ 9161 ecx = edi; /* 0x2B06BF92: mov ecx, edi */ 9162 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B06BF94: call dword ptr [0x2b0b5afc] */ 9163 RECOMP_FLAGS_IN(); 9164 MEM32(edi) = 0x2B0B645Cu; /* 0x2B06BF9A: mov dword ptr [edi], 0x2b0b645c */ 9165 ecx = edi; /* 0x2B06BFA0: mov ecx, edi */ 9166 goto L_2B06BFA6; /* 0x2B06BFA2: jmp 0x2b06bfa6 */ 9167 L_2B06BFA4: 9168 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9169 ecx = 0; /* 0x2B06BFA4: xor ecx, ecx */ 9170 _cf = 0; 9171 _flag_k = FK_TEST; 9172 L_2B06BFA6: 9173 PUSH32(esp, ebx); /* 0x2B06BFA6: push ebx */ 9174 PUSH32(esp, 0x2B06D340u); /* 0x2B06BFA7: push 0x2b06d340 */ 9175 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BFAC: mov byte ptr [ebp - 4], 1 */ 9176 MEM32(ebx + 0xC4) = ecx; /* 0x2B06BFB0: mov dword ptr [ebx + 0xc4], ecx */ 9177 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B06BFB6: call dword ptr [0x2b0b5af8] */ 9178 RECOMP_FLAGS_IN(); 9179 PUSH32(esp, 2); /* 0x2B06BFBC: push 2 */ 9180 PUSH32(esp, 8); /* 0x2B06BFBE: push 8 */ 9181 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06BFC0: call dword ptr [0x2b0b5f80] */ 9182 RECOMP_FLAGS_IN(); 9183 ecx = eax; /* 0x2B06BFC6: mov ecx, eax */ 9184 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06BFC8: call dword ptr [0x2b0b5fbc] */ 9185 RECOMP_FLAGS_IN(); 9186 PUSH32(esp, 0xD8u); /* 0x2B06BFCE: push 0xd8 */ 9187 MEM32(ebp + 0x8) = eax; /* 0x2B06BFD3: mov dword ptr [ebp + 8], eax */ 9188 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BFD6: call 0x2b0ab212 */ /* not lifted */ 9189 RECOMP_FLAGS_IN(); 9190 edi = eax; /* 0x2B06BFDB: mov edi, eax */ 9191 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9192 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9193 esp = esp + 4; /* 0x2B06BFDD: add esp, 4 */ 9194 _flag_k = FK_ADD; 9195 MEM32(ebp + (-0x28)) = edi; /* 0x2B06BFE0: mov dword ptr [ebp - 0x28], edi */ 9196 /* cmp edi, esi */ /* 0x2B06BFE3: cmp edi, esi */ 9197 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 9198 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9199 _flag_k = FK_CMP; 9200 MEM8(ebp + (-0x4)) = (uint8_t)(0x10u); /* 0x2B06BFE5: mov byte ptr [ebp - 4], 0x10 */ 9201 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C01F; /* 0x2B06BFE9: je 0x2b06c01f */ 9202 L_2B06BFEB: 9203 edx = MEM32(ebp + 0x8); /* 0x2B06BFEB: mov edx, dword ptr [ebp + 8] */ 9204 eax = ebp + (-0x18); /* 0x2B06BFEE: lea eax, [ebp - 0x18] */ 9205 PUSH32(esp, eax); /* 0x2B06BFF1: push eax */ 9206 ecx = ebp + (-0x20); /* 0x2B06BFF2: lea ecx, [ebp - 0x20] */ 9207 PUSH32(esp, ecx); /* 0x2B06BFF5: push ecx */ 9208 PUSH32(esp, esi); /* 0x2B06BFF6: push esi */ 9209 PUSH32(esp, 0x6D60u); /* 0x2B06BFF7: push 0x6d60 */ 9210 PUSH32(esp, edx); /* 0x2B06BFFC: push edx */ 9211 eax = ebp + (-0x14); /* 0x2B06BFFD: lea eax, [ebp - 0x14] */ 9212 PUSH32(esp, eax); /* 0x2B06C000: push eax */ 9213 ecx = edi; /* 0x2B06C001: mov ecx, edi */ 9214 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C003: mov dword ptr [ebp - 0x18], 0x3f800000 */ 9215 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C00A: mov dword ptr [ebp - 0x20], 0x3f800000 */ 9216 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C011: call dword ptr [0x2b0b5654] */ 9217 RECOMP_FLAGS_IN(); 9218 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C017: mov dword ptr [edi], 0x2b0b618c */ 9219 goto L_2B06C021; /* 0x2B06C01D: jmp 0x2b06c021 */ 9220 L_2B06C01F: 9221 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9222 edi = 0; /* 0x2B06C01F: xor edi, edi */ 9223 _cf = 0; 9224 _flag_k = FK_TEST; 9225 L_2B06C021: 9226 PUSH32(esp, 2); /* 0x2B06C021: push 2 */ 9227 PUSH32(esp, 7); /* 0x2B06C023: push 7 */ 9228 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C025: mov byte ptr [ebp - 4], 1 */ 9229 MEM32(ebx + 0xAC) = edi; /* 0x2B06C029: mov dword ptr [ebx + 0xac], edi */ 9230 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C02F: call dword ptr [0x2b0b5f80] */ 9231 RECOMP_FLAGS_IN(); 9232 ecx = eax; /* 0x2B06C035: mov ecx, eax */ 9233 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C037: call dword ptr [0x2b0b5fbc] */ 9234 RECOMP_FLAGS_IN(); 9235 PUSH32(esp, 0xD8u); /* 0x2B06C03D: push 0xd8 */ 9236 MEM32(ebp + 0x8) = eax; /* 0x2B06C042: mov dword ptr [ebp + 8], eax */ 9237 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C045: call 0x2b0ab212 */ /* not lifted */ 9238 RECOMP_FLAGS_IN(); 9239 edi = eax; /* 0x2B06C04A: mov edi, eax */ 9240 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9241 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9242 esp = esp + 4; /* 0x2B06C04C: add esp, 4 */ 9243 _flag_k = FK_ADD; 9244 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C04F: mov dword ptr [ebp - 0x28], edi */ 9245 /* cmp edi, esi */ /* 0x2B06C052: cmp edi, esi */ 9246 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 9247 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9248 _flag_k = FK_CMP; 9249 MEM8(ebp + (-0x4)) = (uint8_t)(0x11u); /* 0x2B06C054: mov byte ptr [ebp - 4], 0x11 */ 9250 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C08E; /* 0x2B06C058: je 0x2b06c08e */ 9251 L_2B06C05A: 9252 eax = MEM32(ebp + 0x8); /* 0x2B06C05A: mov eax, dword ptr [ebp + 8] */ 9253 ecx = ebp + (-0x20); /* 0x2B06C05D: lea ecx, [ebp - 0x20] */ 9254 PUSH32(esp, ecx); /* 0x2B06C060: push ecx */ 9255 edx = ebp + (-0x18); /* 0x2B06C061: lea edx, [ebp - 0x18] */ 9256 PUSH32(esp, edx); /* 0x2B06C064: push edx */ 9257 PUSH32(esp, esi); /* 0x2B06C065: push esi */ 9258 PUSH32(esp, 0x6D60u); /* 0x2B06C066: push 0x6d60 */ 9259 PUSH32(esp, eax); /* 0x2B06C06B: push eax */ 9260 ecx = ebp + (-0x14); /* 0x2B06C06C: lea ecx, [ebp - 0x14] */ 9261 PUSH32(esp, ecx); /* 0x2B06C06F: push ecx */ 9262 ecx = edi; /* 0x2B06C070: mov ecx, edi */ 9263 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C072: mov dword ptr [ebp - 0x20], 0x3f800000 */ 9264 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C079: mov dword ptr [ebp - 0x18], 0x3f800000 */ 9265 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C080: call dword ptr [0x2b0b5654] */ 9266 RECOMP_FLAGS_IN(); 9267 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C086: mov dword ptr [edi], 0x2b0b618c */ 9268 goto L_2B06C090; /* 0x2B06C08C: jmp 0x2b06c090 */ 9269 L_2B06C08E: 9270 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9271 edi = 0; /* 0x2B06C08E: xor edi, edi */ 9272 _cf = 0; 9273 _flag_k = FK_TEST; 9274 L_2B06C090: 9275 PUSH32(esp, 2); /* 0x2B06C090: push 2 */ 9276 PUSH32(esp, 6); /* 0x2B06C092: push 6 */ 9277 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C094: mov byte ptr [ebp - 4], 1 */ 9278 MEM32(ebx + 0xB0) = edi; /* 0x2B06C098: mov dword ptr [ebx + 0xb0], edi */ 9279 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C09E: call dword ptr [0x2b0b5f80] */ 9280 RECOMP_FLAGS_IN(); 9281 ecx = eax; /* 0x2B06C0A4: mov ecx, eax */ 9282 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C0A6: call dword ptr [0x2b0b5fbc] */ 9283 RECOMP_FLAGS_IN(); 9284 PUSH32(esp, 0xD8u); /* 0x2B06C0AC: push 0xd8 */ 9285 MEM32(ebp + 0x8) = eax; /* 0x2B06C0B1: mov dword ptr [ebp + 8], eax */ 9286 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C0B4: call 0x2b0ab212 */ /* not lifted */ 9287 RECOMP_FLAGS_IN(); 9288 edi = eax; /* 0x2B06C0B9: mov edi, eax */ 9289 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9290 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9291 esp = esp + 4; /* 0x2B06C0BB: add esp, 4 */ 9292 _flag_k = FK_ADD; 9293 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C0BE: mov dword ptr [ebp - 0x28], edi */ 9294 /* cmp edi, esi */ /* 0x2B06C0C1: cmp edi, esi */ 9295 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 9296 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9297 _flag_k = FK_CMP; 9298 MEM8(ebp + (-0x4)) = (uint8_t)(0x12u); /* 0x2B06C0C3: mov byte ptr [ebp - 4], 0x12 */ 9299 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C0FD; /* 0x2B06C0C7: je 0x2b06c0fd */ 9300 L_2B06C0C9: 9301 ecx = MEM32(ebp + 0x8); /* 0x2B06C0C9: mov ecx, dword ptr [ebp + 8] */ 9302 edx = ebp + (-0x20); /* 0x2B06C0CC: lea edx, [ebp - 0x20] */ 9303 PUSH32(esp, edx); /* 0x2B06C0CF: push edx */ 9304 eax = ebp + (-0x18); /* 0x2B06C0D0: lea eax, [ebp - 0x18] */ 9305 PUSH32(esp, eax); /* 0x2B06C0D3: push eax */ 9306 PUSH32(esp, esi); /* 0x2B06C0D4: push esi */ 9307 PUSH32(esp, 0x6D60u); /* 0x2B06C0D5: push 0x6d60 */ 9308 PUSH32(esp, ecx); /* 0x2B06C0DA: push ecx */ 9309 edx = ebp + (-0x14); /* 0x2B06C0DB: lea edx, [ebp - 0x14] */ 9310 PUSH32(esp, edx); /* 0x2B06C0DE: push edx */ 9311 ecx = edi; /* 0x2B06C0DF: mov ecx, edi */ 9312 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C0E1: mov dword ptr [ebp - 0x20], 0x3f800000 */ 9313 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C0E8: mov dword ptr [ebp - 0x18], 0x3f800000 */ 9314 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C0EF: call dword ptr [0x2b0b5654] */ 9315 RECOMP_FLAGS_IN(); 9316 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C0F5: mov dword ptr [edi], 0x2b0b618c */ 9317 goto L_2B06C0FF; /* 0x2B06C0FB: jmp 0x2b06c0ff */ 9318 L_2B06C0FD: 9319 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9320 edi = 0; /* 0x2B06C0FD: xor edi, edi */ 9321 _cf = 0; 9322 _flag_k = FK_TEST; 9323 L_2B06C0FF: 9324 PUSH32(esp, 2); /* 0x2B06C0FF: push 2 */ 9325 PUSH32(esp, 5); /* 0x2B06C101: push 5 */ 9326 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C103: mov byte ptr [ebp - 4], 1 */ 9327 MEM32(ebx + 0xB4) = edi; /* 0x2B06C107: mov dword ptr [ebx + 0xb4], edi */ 9328 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C10D: call dword ptr [0x2b0b5f80] */ 9329 RECOMP_FLAGS_IN(); 9330 ecx = eax; /* 0x2B06C113: mov ecx, eax */ 9331 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C115: call dword ptr [0x2b0b5fbc] */ 9332 RECOMP_FLAGS_IN(); 9333 PUSH32(esp, 0xD8u); /* 0x2B06C11B: push 0xd8 */ 9334 MEM32(ebp + 0x8) = eax; /* 0x2B06C120: mov dword ptr [ebp + 8], eax */ 9335 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C123: call 0x2b0ab212 */ /* not lifted */ 9336 RECOMP_FLAGS_IN(); 9337 edi = eax; /* 0x2B06C128: mov edi, eax */ 9338 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9339 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9340 esp = esp + 4; /* 0x2B06C12A: add esp, 4 */ 9341 _flag_k = FK_ADD; 9342 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C12D: mov dword ptr [ebp - 0x28], edi */ 9343 /* cmp edi, esi */ /* 0x2B06C130: cmp edi, esi */ 9344 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 9345 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9346 _flag_k = FK_CMP; 9347 MEM8(ebp + (-0x4)) = (uint8_t)(0x13u); /* 0x2B06C132: mov byte ptr [ebp - 4], 0x13 */ 9348 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C16C; /* 0x2B06C136: je 0x2b06c16c */ 9349 L_2B06C138: 9350 edx = MEM32(ebp + 0x8); /* 0x2B06C138: mov edx, dword ptr [ebp + 8] */ 9351 eax = ebp + (-0x20); /* 0x2B06C13B: lea eax, [ebp - 0x20] */ 9352 PUSH32(esp, eax); /* 0x2B06C13E: push eax */ 9353 ecx = ebp + (-0x18); /* 0x2B06C13F: lea ecx, [ebp - 0x18] */ 9354 PUSH32(esp, ecx); /* 0x2B06C142: push ecx */ 9355 PUSH32(esp, esi); /* 0x2B06C143: push esi */ 9356 PUSH32(esp, 0x6D60u); /* 0x2B06C144: push 0x6d60 */ 9357 PUSH32(esp, edx); /* 0x2B06C149: push edx */ 9358 eax = ebp + (-0x14); /* 0x2B06C14A: lea eax, [ebp - 0x14] */ 9359 PUSH32(esp, eax); /* 0x2B06C14D: push eax */ 9360 ecx = edi; /* 0x2B06C14E: mov ecx, edi */ 9361 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C150: mov dword ptr [ebp - 0x20], 0x3f800000 */ 9362 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C157: mov dword ptr [ebp - 0x18], 0x3f800000 */ 9363 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C15E: call dword ptr [0x2b0b5654] */ 9364 RECOMP_FLAGS_IN(); 9365 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C164: mov dword ptr [edi], 0x2b0b618c */ 9366 goto L_2B06C16E; /* 0x2B06C16A: jmp 0x2b06c16e */ 9367 L_2B06C16C: 9368 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9369 edi = 0; /* 0x2B06C16C: xor edi, edi */ 9370 _cf = 0; 9371 _flag_k = FK_TEST; 9372 L_2B06C16E: 9373 PUSH32(esp, 2); /* 0x2B06C16E: push 2 */ 9374 PUSH32(esp, 3); /* 0x2B06C170: push 3 */ 9375 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C172: mov byte ptr [ebp - 4], 1 */ 9376 MEM32(ebx + 0xB8) = edi; /* 0x2B06C176: mov dword ptr [ebx + 0xb8], edi */ 9377 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C17C: call dword ptr [0x2b0b5f80] */ 9378 RECOMP_FLAGS_IN(); 9379 ecx = eax; /* 0x2B06C182: mov ecx, eax */ 9380 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C184: call dword ptr [0x2b0b5fbc] */ 9381 RECOMP_FLAGS_IN(); 9382 PUSH32(esp, 0xD8u); /* 0x2B06C18A: push 0xd8 */ 9383 MEM32(ebp + 0x8) = eax; /* 0x2B06C18F: mov dword ptr [ebp + 8], eax */ 9384 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C192: call 0x2b0ab212 */ /* not lifted */ 9385 RECOMP_FLAGS_IN(); 9386 edi = eax; /* 0x2B06C197: mov edi, eax */ 9387 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9388 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9389 esp = esp + 4; /* 0x2B06C199: add esp, 4 */ 9390 _flag_k = FK_ADD; 9391 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C19C: mov dword ptr [ebp - 0x28], edi */ 9392 /* cmp edi, esi */ /* 0x2B06C19F: cmp edi, esi */ 9393 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 9394 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9395 _flag_k = FK_CMP; 9396 MEM8(ebp + (-0x4)) = (uint8_t)(0x14u); /* 0x2B06C1A1: mov byte ptr [ebp - 4], 0x14 */ 9397 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C1DB; /* 0x2B06C1A5: je 0x2b06c1db */ 9398 L_2B06C1A7: 9399 eax = MEM32(ebp + 0x8); /* 0x2B06C1A7: mov eax, dword ptr [ebp + 8] */ 9400 ecx = ebp + (-0x20); /* 0x2B06C1AA: lea ecx, [ebp - 0x20] */ 9401 PUSH32(esp, ecx); /* 0x2B06C1AD: push ecx */ 9402 edx = ebp + (-0x18); /* 0x2B06C1AE: lea edx, [ebp - 0x18] */ 9403 PUSH32(esp, edx); /* 0x2B06C1B1: push edx */ 9404 PUSH32(esp, esi); /* 0x2B06C1B2: push esi */ 9405 PUSH32(esp, 0x6D60u); /* 0x2B06C1B3: push 0x6d60 */ 9406 PUSH32(esp, eax); /* 0x2B06C1B8: push eax */ 9407 ecx = ebp + (-0x14); /* 0x2B06C1B9: lea ecx, [ebp - 0x14] */ 9408 PUSH32(esp, ecx); /* 0x2B06C1BC: push ecx */ 9409 ecx = edi; /* 0x2B06C1BD: mov ecx, edi */ 9410 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C1BF: mov dword ptr [ebp - 0x20], 0x3f800000 */ 9411 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C1C6: mov dword ptr [ebp - 0x18], 0x3f800000 */ 9412 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C1CD: call dword ptr [0x2b0b5654] */ 9413 RECOMP_FLAGS_IN(); 9414 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C1D3: mov dword ptr [edi], 0x2b0b618c */ 9415 goto L_2B06C1DD; /* 0x2B06C1D9: jmp 0x2b06c1dd */ 9416 L_2B06C1DB: 9417 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9418 edi = 0; /* 0x2B06C1DB: xor edi, edi */ 9419 _cf = 0; 9420 _flag_k = FK_TEST; 9421 L_2B06C1DD: 9422 PUSH32(esp, 2); /* 0x2B06C1DD: push 2 */ 9423 PUSH32(esp, 4); /* 0x2B06C1DF: push 4 */ 9424 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C1E1: mov byte ptr [ebp - 4], 1 */ 9425 MEM32(ebx + 0xBC) = edi; /* 0x2B06C1E5: mov dword ptr [ebx + 0xbc], edi */ 9426 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C1EB: call dword ptr [0x2b0b5f80] */ 9427 RECOMP_FLAGS_IN(); 9428 ecx = eax; /* 0x2B06C1F1: mov ecx, eax */ 9429 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C1F3: call dword ptr [0x2b0b5fbc] */ 9430 RECOMP_FLAGS_IN(); 9431 PUSH32(esp, 0xD8u); /* 0x2B06C1F9: push 0xd8 */ 9432 MEM32(ebp + 0x8) = eax; /* 0x2B06C1FE: mov dword ptr [ebp + 8], eax */ 9433 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C201: call 0x2b0ab212 */ /* not lifted */ 9434 RECOMP_FLAGS_IN(); 9435 edi = eax; /* 0x2B06C206: mov edi, eax */ 9436 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9437 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9438 esp = esp + 4; /* 0x2B06C208: add esp, 4 */ 9439 _flag_k = FK_ADD; 9440 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C20B: mov dword ptr [ebp - 0x28], edi */ 9441 /* cmp edi, esi */ /* 0x2B06C20E: cmp edi, esi */ 9442 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 9443 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9444 _flag_k = FK_CMP; 9445 MEM8(ebp + (-0x4)) = (uint8_t)(0x15u); /* 0x2B06C210: mov byte ptr [ebp - 4], 0x15 */ 9446 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C24A; /* 0x2B06C214: je 0x2b06c24a */ 9447 L_2B06C216: 9448 ecx = MEM32(ebp + 0x8); /* 0x2B06C216: mov ecx, dword ptr [ebp + 8] */ 9449 edx = ebp + (-0x20); /* 0x2B06C219: lea edx, [ebp - 0x20] */ 9450 PUSH32(esp, edx); /* 0x2B06C21C: push edx */ 9451 eax = ebp + (-0x18); /* 0x2B06C21D: lea eax, [ebp - 0x18] */ 9452 PUSH32(esp, eax); /* 0x2B06C220: push eax */ 9453 PUSH32(esp, esi); /* 0x2B06C221: push esi */ 9454 PUSH32(esp, 0x6D60u); /* 0x2B06C222: push 0x6d60 */ 9455 PUSH32(esp, ecx); /* 0x2B06C227: push ecx */ 9456 edx = ebp + (-0x14); /* 0x2B06C228: lea edx, [ebp - 0x14] */ 9457 PUSH32(esp, edx); /* 0x2B06C22B: push edx */ 9458 ecx = edi; /* 0x2B06C22C: mov ecx, edi */ 9459 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C22E: mov dword ptr [ebp - 0x20], 0x3f800000 */ 9460 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C235: mov dword ptr [ebp - 0x18], 0x3f800000 */ 9461 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C23C: call dword ptr [0x2b0b5654] */ 9462 RECOMP_FLAGS_IN(); 9463 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C242: mov dword ptr [edi], 0x2b0b618c */ 9464 goto L_2B06C24C; /* 0x2B06C248: jmp 0x2b06c24c */ 9465 L_2B06C24A: 9466 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9467 edi = 0; /* 0x2B06C24A: xor edi, edi */ 9468 _cf = 0; 9469 _flag_k = FK_TEST; 9470 L_2B06C24C: 9471 eax = MEM32(ebx + 0x78); /* 0x2B06C24C: mov eax, dword ptr [ebx + 0x78] */ 9472 ecx = eax + (-0x16); /* 0x2B06C24F: lea ecx, [eax - 0x16] */ 9473 MEM32(ebx + 0xC0) = edi; /* 0x2B06C252: mov dword ptr [ebx + 0xc0], edi */ 9474 MEM32(ebp + (-0xC0)) = ecx; /* 0x2B06C258: mov dword ptr [ebp - 0xc0], ecx */ 9475 MEM32(ebp + (-0xAC)) = eax; /* 0x2B06C25E: mov dword ptr [ebp - 0xac], eax */ 9476 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9477 eax = 0; /* 0x2B06C264: xor eax, eax */ 9478 _cf = 0; 9479 _flag_k = FK_TEST; 9480 MEM32(ebp + (-0xE0)) = esi; /* 0x2B06C266: mov dword ptr [ebp - 0xe0], esi */ 9481 MEM32(ebp + (-0xDC)) = esi; /* 0x2B06C26C: mov dword ptr [ebp - 0xdc], esi */ 9482 MEM32(ebp + (-0xD8)) = esi; /* 0x2B06C272: mov dword ptr [ebp - 0xd8], esi */ 9483 MEM32(ebp + (-0xD4)) = 0x6D65u; /* 0x2B06C278: mov dword ptr [ebp - 0xd4], 0x6d65 */ 9484 MEM32(ebp + (-0xD0)) = esi; /* 0x2B06C282: mov dword ptr [ebp - 0xd0], esi */ 9485 MEM32(ebp + (-0xCC)) = esi; /* 0x2B06C288: mov dword ptr [ebp - 0xcc], esi */ 9486 MEM32(ebp + (-0xC8)) = esi; /* 0x2B06C28E: mov dword ptr [ebp - 0xc8], esi */ 9487 MEM32(ebp + (-0xC4)) = esi; /* 0x2B06C294: mov dword ptr [ebp - 0xc4], esi */ 9488 MEM32(ebp + (-0xBC)) = esi; /* 0x2B06C29A: mov dword ptr [ebp - 0xbc], esi */ 9489 MEM32(ebp + (-0xB8)) = esi; /* 0x2B06C2A0: mov dword ptr [ebp - 0xb8], esi */ 9490 MEM32(ebp + (-0xB4)) = esi; /* 0x2B06C2A6: mov dword ptr [ebp - 0xb4], esi */ 9491 MEM32(ebp + (-0xB0)) = 1; /* 0x2B06C2AC: mov dword ptr [ebp - 0xb0], 1 */ 9492 ecx = 6; /* 0x2B06C2B6: mov ecx, 6 */ 9493 edi = ebp + (-0xA8); /* 0x2B06C2BB: lea edi, [ebp - 0xa8] */ 9494 PUSH32(esp, 0xC8u); /* 0x2B06C2C1: push 0xc8 */ 9495 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C2C6: mov byte ptr [ebp - 4], 1 */ 9496 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06C2CA: 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; } 9497 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C2CC: call 0x2b0ab212 */ /* not lifted */ 9498 RECOMP_FLAGS_IN(); 9499 edi = eax; /* 0x2B06C2D1: mov edi, eax */ 9500 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9501 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9502 esp = esp + 4; /* 0x2B06C2D3: add esp, 4 */ 9503 _flag_k = FK_ADD; 9504 MEM32(ebp + 0x8) = edi; /* 0x2B06C2D6: mov dword ptr [ebp + 8], edi */ 9505 /* cmp edi, esi */ /* 0x2B06C2D9: cmp edi, esi */ 9506 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 9507 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9508 _flag_k = FK_CMP; 9509 MEM8(ebp + (-0x4)) = (uint8_t)(0x16u); /* 0x2B06C2DB: mov byte ptr [ebp - 4], 0x16 */ 9510 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C2FA; /* 0x2B06C2DF: je 0x2b06c2fa */ 9511 L_2B06C2E1: 9512 edx = ebp + (-0xE0); /* 0x2B06C2E1: lea edx, [ebp - 0xe0] */ 9513 PUSH32(esp, edx); /* 0x2B06C2E7: push edx */ 9514 ecx = edi; /* 0x2B06C2E8: mov ecx, edi */ 9515 RECOMP_ICALL(MEM32(0x2B0B5748)); /* 0x2B06C2EA: call dword ptr [0x2b0b5748] */ 9516 RECOMP_FLAGS_IN(); 9517 MEM32(edi) = 0x2B0B7110u; /* 0x2B06C2F0: mov dword ptr [edi], 0x2b0b7110 */ 9518 ecx = edi; /* 0x2B06C2F6: mov ecx, edi */ 9519 goto L_2B06C2FC; /* 0x2B06C2F8: jmp 0x2b06c2fc */ 9520 L_2B06C2FA: 9521 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9522 ecx = 0; /* 0x2B06C2FA: xor ecx, ecx */ 9523 _cf = 0; 9524 _flag_k = FK_TEST; 9525 L_2B06C2FC: 9526 PUSH32(esp, ebx); /* 0x2B06C2FC: push ebx */ 9527 PUSH32(esp, 0x2B06D3C0u); /* 0x2B06C2FD: push 0x2b06d3c0 */ 9528 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C302: mov byte ptr [ebp - 4], 1 */ 9529 MEM32(ebx + 0xD8) = ecx; /* 0x2B06C306: mov dword ptr [ebx + 0xd8], ecx */ 9530 RECOMP_ICALL(MEM32(0x2B0B5744)); /* 0x2B06C30C: call dword ptr [0x2b0b5744] */ 9531 RECOMP_FLAGS_IN(); 9532 ecx = MEM32(ebx + 0xD8); /* 0x2B06C312: mov ecx, dword ptr [ebx + 0xd8] */ 9533 PUSH32(esp, 0x64u); /* 0x2B06C318: push 0x64 */ 9534 RECOMP_ICALL(MEM32(0x2B0B5778)); /* 0x2B06C31A: call dword ptr [0x2b0b5778] */ 9535 RECOMP_FLAGS_IN(); 9536 eax = MEM32(ebx + 0x9C); /* 0x2B06C320: mov eax, dword ptr [ebx + 0x9c] */ 9537 ecx = MEM32(eax + 0x34); /* 0x2B06C326: mov ecx, dword ptr [eax + 0x34] */ 9538 RECOMP_ICALL(MEM32(0x2B0B56F8)); /* 0x2B06C329: call dword ptr [0x2b0b56f8] */ 9539 RECOMP_FLAGS_IN(); 9540 ecx = MEM32(ebx + 0xD8); /* 0x2B06C32F: mov ecx, dword ptr [ebx + 0xd8] */ 9541 MEM32(ebx + 0x48) = eax; /* 0x2B06C335: mov dword ptr [ebx + 0x48], eax */ 9542 PUSH32(esp, 0x64u); /* 0x2B06C338: push 0x64 */ 9543 MEM32(ecx + 0x98) = eax; /* 0x2B06C33A: mov dword ptr [ecx + 0x98], eax */ 9544 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C340: call 0x2b0ab212 */ /* not lifted */ 9545 RECOMP_FLAGS_IN(); 9546 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9547 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9548 esp = esp + 4; /* 0x2B06C345: add esp, 4 */ 9549 _flag_k = FK_ADD; 9550 MEM32(ebp + 0x8) = eax; /* 0x2B06C348: mov dword ptr [ebp + 8], eax */ 9551 /* cmp eax, esi */ /* 0x2B06C34B: cmp eax, esi */ 9552 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 9553 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9554 _flag_k = FK_CMP; 9555 MEM8(ebp + (-0x4)) = (uint8_t)(0x17u); /* 0x2B06C34D: mov byte ptr [ebp - 4], 0x17 */ 9556 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C384; /* 0x2B06C351: je 0x2b06c384 */ 9557 L_2B06C353: 9558 ecx = MEM32(ebx + 0x98); /* 0x2B06C353: mov ecx, dword ptr [ebx + 0x98] */ 9559 PUSH32(esp, ecx); /* 0x2B06C359: push ecx */ 9560 PUSH32(esp, esi); /* 0x2B06C35A: push esi */ 9561 PUSH32(esp, 0x30u); /* 0x2B06C35B: push 0x30 */ 9562 PUSH32(esp, esi); /* 0x2B06C35D: push esi */ 9563 PUSH32(esp, 0x6D63u); /* 0x2B06C35E: push 0x6d63 */ 9564 PUSH32(esp, 0x9Eu); /* 0x2B06C363: push 0x9e */ 9565 PUSH32(esp, esi); /* 0x2B06C368: push esi */ 9566 PUSH32(esp, 0x9Fu); /* 0x2B06C369: push 0x9f */ 9567 PUSH32(esp, 0x36u); /* 0x2B06C36E: push 0x36 */ 9568 PUSH32(esp, 0x36u); /* 0x2B06C370: push 0x36 */ 9569 PUSH32(esp, 3); /* 0x2B06C372: push 3 */ 9570 PUSH32(esp, 3); /* 0x2B06C374: push 3 */ 9571 edx = ebp + (-0x14); /* 0x2B06C376: lea edx, [ebp - 0x14] */ 9572 PUSH32(esp, edx); /* 0x2B06C379: push edx */ 9573 ecx = eax; /* 0x2B06C37A: mov ecx, eax */ 9574 RECOMP_ICALL(MEM32(0x2B0B58F8)); /* 0x2B06C37C: call dword ptr [0x2b0b58f8] */ 9575 RECOMP_FLAGS_IN(); 9576 goto L_2B06C386; /* 0x2B06C382: jmp 0x2b06c386 */ 9577 L_2B06C384: 9578 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9579 eax = 0; /* 0x2B06C384: xor eax, eax */ 9580 _cf = 0; 9581 _flag_k = FK_TEST; 9582 L_2B06C386: 9583 MEM32(ebx + 0xDC) = eax; /* 0x2B06C386: mov dword ptr [ebx + 0xdc], eax */ 9584 MEM32(eax + 0x5C) = 0x2B06D400u; /* 0x2B06C38C: mov dword ptr [eax + 0x5c], 0x2b06d400 */ 9585 MEM32(eax + 0x60) = ebx; /* 0x2B06C393: mov dword ptr [eax + 0x60], ebx */ 9586 eax = ebx + 0x5C; /* 0x2B06C396: lea eax, [ebx + 0x5c] */ 9587 PUSH32(esp, eax); /* 0x2B06C399: push eax */ 9588 ecx = ebx; /* 0x2B06C39A: mov ecx, ebx */ 9589 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C39C: mov byte ptr [ebp - 4], 1 */ 9590 RECOMP_ICALL(0x2B06CC00u); /* 0x2B06C3A0: call 0x2b06cc00 */ /* not lifted */ 9591 RECOMP_FLAGS_IN(); 9592 ecx = ebx; /* 0x2B06C3A5: mov ecx, ebx */ 9593 RECOMP_ICALL(0x2B06CBD0u); /* 0x2B06C3A7: call 0x2b06cbd0 */ /* not lifted */ 9594 RECOMP_FLAGS_IN(); 9595 eax = MEM32(0x2B0B6048); /* 0x2B06C3AC: mov eax, dword ptr [0x2b0b6048] */ 9596 ecx = MEM32(eax); /* 0x2B06C3B1: mov ecx, dword ptr [eax] */ 9597 PUSH32(esp, 1); /* 0x2B06C3B3: push 1 */ 9598 PUSH32(esp, 0x2B0EB490u); /* 0x2B06C3B5: push 0x2b0eb490 */ 9599 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B06C3BA: call dword ptr [0x2b0b602c] */ 9600 RECOMP_FLAGS_IN(); 9601 /* test eax, eax */ /* 0x2B06C3C0: test eax, eax */ 9602 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9603 _cf = 0; 9604 _flag_k = FK_TEST; 9605 SET_LO8(eax, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B06C3C2: setne al */ 9606 /* test LO8(eax), LO8(eax) */ /* 0x2B06C3C5: test al, al */ 9607 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9608 _cf = 0; 9609 _flag_k = FK_NARROW(FK_TEST, 24); 9610 MEM8(ebx + 0x58) = (uint8_t)(LO8(eax)); /* 0x2B06C3C7: mov byte ptr [ebx + 0x58], al */ 9611 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06C3DA; /* 0x2B06C3CA: jne 0x2b06c3da */ 9612 L_2B06C3CC: 9613 ecx = MEM32(ebx + 0xCC); /* 0x2B06C3CC: mov ecx, dword ptr [ebx + 0xcc] */ 9614 PUSH32(esp, 2); /* 0x2B06C3D2: push 2 */ 9615 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06C3D4: call dword ptr [0x2b0b5ab4] */ 9616 RECOMP_FLAGS_IN(); 9617 L_2B06C3DA: 9618 ecx = MEM32(ebp + (-0xC)); /* 0x2B06C3DA: mov ecx, dword ptr [ebp - 0xc] */ 9619 edi = POP32_VAL(esp); /* 0x2B06C3DD: pop edi */ 9620 esi = POP32_VAL(esp); /* 0x2B06C3DE: pop esi */ 9621 eax = ebx; /* 0x2B06C3DF: mov eax, ebx */ 9622 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06C3E1: mov dword ptr fs:[0], ecx */ 9623 ebx = POP32_VAL(esp); /* 0x2B06C3E8: pop ebx */ 9624 esp = ebp; /* 0x2B06C3E9: mov esp, ebp */ 9625 ebp = POP32_VAL(esp); /* 0x2B06C3EB: pop ebp */ 9626 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06C3EC: ret 4 */ 9627 RECOMP_REGS_OUT(); 9628 } 9629 9630 void sub_2B06BC5F(void) { 9631 int _fpu_cmp = 0; 9632 uint32_t _cf = 0; 9633 int _df = 1; 9634 uint32_t _flag_k = FK_NONE; 9635 uint32_t _flag_a = 0, _flag_b = 0; 9636 uint32_t _itail_tgt = 0; 9637 RECOMP_REGS_LOCALS 9638 RECOMP_ENTER(0x2B06BC5Fu); 9639 9640 L_2B06BC5F: 9641 MEM32(ebx + 0x88) = eax; /* 0x2B06BC5F: mov dword ptr [ebx + 0x88], eax */ 9642 MEM32(eax + 0x1C) = 0x2B06D180u; /* 0x2B06BC65: mov dword ptr [eax + 0x1c], 0x2b06d180 */ 9643 MEM32(eax + 0x20) = ebx; /* 0x2B06BC6C: mov dword ptr [eax + 0x20], ebx */ 9644 eax = MEM32(ebx + 0x7C); /* 0x2B06BC6F: mov eax, dword ptr [ebx + 0x7c] */ 9645 PUSH32(esp, 2); /* 0x2B06BC72: push 2 */ 9646 PUSH32(esp, 9); /* 0x2B06BC74: push 9 */ 9647 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BC76: mov byte ptr [ebp - 4], 1 */ 9648 MEM32(ebp + (-0x34)) = eax; /* 0x2B06BC7A: mov dword ptr [ebp - 0x34], eax */ 9649 MEM32(ebp + (-0x30)) = eax; /* 0x2B06BC7D: mov dword ptr [ebp - 0x30], eax */ 9650 MEM32(ebp + (-0x8C)) = esi; /* 0x2B06BC80: mov dword ptr [ebp - 0x8c], esi */ 9651 MEM32(ebp + (-0x88)) = esi; /* 0x2B06BC86: mov dword ptr [ebp - 0x88], esi */ 9652 MEM32(ebp + (-0x84)) = eax; /* 0x2B06BC8C: mov dword ptr [ebp - 0x84], eax */ 9653 MEM32(ebp + (-0x80)) = eax; /* 0x2B06BC92: mov dword ptr [ebp - 0x80], eax */ 9654 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06BC95: call dword ptr [0x2b0b5f80] */ 9655 RECOMP_FLAGS_IN(); 9656 ecx = eax; /* 0x2B06BC9B: mov ecx, eax */ 9657 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06BC9D: call dword ptr [0x2b0b5fbc] */ 9658 RECOMP_FLAGS_IN(); 9659 PUSH32(esp, 0x50u); /* 0x2B06BCA3: push 0x50 */ 9660 edi = eax; /* 0x2B06BCA5: mov edi, eax */ 9661 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BCA7: call 0x2b0ab212 */ /* not lifted */ 9662 RECOMP_FLAGS_IN(); 9663 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9664 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9665 esp = esp + 4; /* 0x2B06BCAC: add esp, 4 */ 9666 _flag_k = FK_ADD; 9667 MEM32(ebp + 0x8) = eax; /* 0x2B06BCAF: mov dword ptr [ebp + 8], eax */ 9668 /* cmp eax, esi */ /* 0x2B06BCB2: cmp eax, esi */ 9669 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 9670 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9671 _flag_k = FK_CMP; 9672 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B06BCB4: mov byte ptr [ebp - 4], 0xa */ 9673 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BCE0; /* 0x2B06BCB8: je 0x2b06bce0 */ 9674 L_2B06BCBA: 9675 PUSH32(esp, esi); /* 0x2B06BCBA: push esi */ 9676 PUSH32(esp, 0x3F800000u); /* 0x2B06BCBB: push 0x3f800000 */ 9677 PUSH32(esp, 0x3F800000u); /* 0x2B06BCC0: push 0x3f800000 */ 9678 PUSH32(esp, 0x6D60u); /* 0x2B06BCC5: push 0x6d60 */ 9679 ecx = ebp + (-0x14); /* 0x2B06BCCA: lea ecx, [ebp - 0x14] */ 9680 PUSH32(esp, ecx); /* 0x2B06BCCD: push ecx */ 9681 edx = ebp + (-0x34); /* 0x2B06BCCE: lea edx, [ebp - 0x34] */ 9682 PUSH32(esp, edx); /* 0x2B06BCD1: push edx */ 9683 PUSH32(esp, 4); /* 0x2B06BCD2: push 4 */ 9684 PUSH32(esp, 4); /* 0x2B06BCD4: push 4 */ 9685 ecx = eax; /* 0x2B06BCD6: mov ecx, eax */ 9686 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B06BCD8: call dword ptr [0x2b0b5bd8] */ 9687 RECOMP_FLAGS_IN(); 9688 goto L_2B06BCE2; /* 0x2B06BCDE: jmp 0x2b06bce2 */ 9689 L_2B06BCE0: 9690 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9691 eax = 0; /* 0x2B06BCE0: xor eax, eax */ 9692 _cf = 0; 9693 _flag_k = FK_TEST; 9694 L_2B06BCE2: 9695 PUSH32(esp, 1); /* 0x2B06BCE2: push 1 */ 9696 MEM32(ebx + 0xA4) = eax; /* 0x2B06BCE4: mov dword ptr [ebx + 0xa4], eax */ 9697 eax = MEM32(eax + 0x28); /* 0x2B06BCEA: mov eax, dword ptr [eax + 0x28] */ 9698 PUSH32(esp, esi); /* 0x2B06BCED: push esi */ 9699 PUSH32(esp, esi); /* 0x2B06BCEE: push esi */ 9700 ecx = eax; /* 0x2B06BCEF: mov ecx, eax */ 9701 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BCF1: mov byte ptr [ebp - 4], 1 */ 9702 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B06BCF5: call dword ptr [0x2b0b564c] */ 9703 RECOMP_FLAGS_IN(); 9704 eax = MEM32(ebx + 0xA4); /* 0x2B06BCFB: mov eax, dword ptr [ebx + 0xa4] */ 9705 ecx = MEM32(eax + 0x28); /* 0x2B06BD01: mov ecx, dword ptr [eax + 0x28] */ 9706 PUSH32(esp, 0xFF00u); /* 0x2B06BD04: push 0xff00 */ 9707 PUSH32(esp, edi); /* 0x2B06BD09: push edi */ 9708 edx = ebp + (-0x14); /* 0x2B06BD0A: lea edx, [ebp - 0x14] */ 9709 PUSH32(esp, edx); /* 0x2B06BD0D: push edx */ 9710 eax = ebp + (-0x8C); /* 0x2B06BD0E: lea eax, [ebp - 0x8c] */ 9711 PUSH32(esp, eax); /* 0x2B06BD14: push eax */ 9712 RECOMP_ICALL(MEM32(0x2B0B5554)); /* 0x2B06BD15: call dword ptr [0x2b0b5554] */ 9713 RECOMP_FLAGS_IN(); 9714 ecx = MEM32(ebx + 0xA4); /* 0x2B06BD1B: mov ecx, dword ptr [ebx + 0xa4] */ 9715 RECOMP_ICALL(MEM32(0x2B0B5BDC)); /* 0x2B06BD21: call dword ptr [0x2b0b5bdc] */ 9716 RECOMP_FLAGS_IN(); 9717 PUSH32(esp, edi); /* 0x2B06BD27: push edi */ 9718 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06BD28: call dword ptr [0x2b0b5f80] */ 9719 RECOMP_FLAGS_IN(); 9720 ecx = eax; /* 0x2B06BD2E: mov ecx, eax */ 9721 RECOMP_ICALL(MEM32(0x2B0B5FB8)); /* 0x2B06BD30: call dword ptr [0x2b0b5fb8] */ 9722 RECOMP_FLAGS_IN(); 9723 PUSH32(esp, 0x9Cu); /* 0x2B06BD36: push 0x9c */ 9724 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BD3B: call 0x2b0ab212 */ /* not lifted */ 9725 RECOMP_FLAGS_IN(); 9726 edi = eax; /* 0x2B06BD40: mov edi, eax */ 9727 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9728 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9729 esp = esp + 4; /* 0x2B06BD42: add esp, 4 */ 9730 _flag_k = FK_ADD; 9731 MEM32(ebp + 0x8) = edi; /* 0x2B06BD45: mov dword ptr [ebp + 8], edi */ 9732 /* cmp edi, esi */ /* 0x2B06BD48: cmp edi, esi */ 9733 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 9734 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9735 _flag_k = FK_CMP; 9736 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B06BD4A: mov byte ptr [ebp - 4], 0xb */ 9737 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BD84; /* 0x2B06BD4E: je 0x2b06bd84 */ 9738 L_2B06BD50: 9739 ecx = MEM32(ebx + 0xA4); /* 0x2B06BD50: mov ecx, dword ptr [ebx + 0xa4] */ 9740 edx = MEM32(ebp + (-0x30)); /* 0x2B06BD56: mov edx, dword ptr [ebp - 0x30] */ 9741 eax = MEM32(ebp + (-0x34)); /* 0x2B06BD59: mov eax, dword ptr [ebp - 0x34] */ 9742 PUSH32(esp, ecx); /* 0x2B06BD5C: push ecx */ 9743 ecx = MEM32(ebp + (-0x10)); /* 0x2B06BD5D: mov ecx, dword ptr [ebp - 0x10] */ 9744 PUSH32(esp, 4); /* 0x2B06BD60: push 4 */ 9745 PUSH32(esp, esi); /* 0x2B06BD62: push esi */ 9746 PUSH32(esp, 0x6D61u); /* 0x2B06BD63: push 0x6d61 */ 9747 PUSH32(esp, esi); /* 0x2B06BD68: push esi */ 9748 PUSH32(esp, esi); /* 0x2B06BD69: push esi */ 9749 PUSH32(esp, esi); /* 0x2B06BD6A: push esi */ 9750 PUSH32(esp, edx); /* 0x2B06BD6B: push edx */ 9751 edx = MEM32(ebp + (-0x14)); /* 0x2B06BD6C: mov edx, dword ptr [ebp - 0x14] */ 9752 PUSH32(esp, eax); /* 0x2B06BD6F: push eax */ 9753 PUSH32(esp, ecx); /* 0x2B06BD70: push ecx */ 9754 PUSH32(esp, edx); /* 0x2B06BD71: push edx */ 9755 ecx = edi; /* 0x2B06BD72: mov ecx, edi */ 9756 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B06BD74: call dword ptr [0x2b0b5af0] */ 9757 RECOMP_FLAGS_IN(); 9758 MEM32(edi) = 0x2B0B642Cu; /* 0x2B06BD7A: mov dword ptr [edi], 0x2b0b642c */ 9759 eax = edi; /* 0x2B06BD80: mov eax, edi */ 9760 goto L_2B06BD86; /* 0x2B06BD82: jmp 0x2b06bd86 */ 9761 L_2B06BD84: 9762 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9763 eax = 0; /* 0x2B06BD84: xor eax, eax */ 9764 _cf = 0; 9765 _flag_k = FK_TEST; 9766 L_2B06BD86: 9767 MEM32(ebx + 0xD0) = eax; /* 0x2B06BD86: mov dword ptr [ebx + 0xd0], eax */ 9768 MEM32(eax + 0x7C) = 0x2B06D300u; /* 0x2B06BD8C: mov dword ptr [eax + 0x7c], 0x2b06d300 */ 9769 MEM32(eax + 0x80) = ebx; /* 0x2B06BD93: mov dword ptr [eax + 0x80], ebx */ 9770 MEM8(eax + 0x24) = (uint8_t)(1); /* 0x2B06BD99: mov byte ptr [eax + 0x24], 1 */ 9771 MEM8(eax + 0x25) = (uint8_t)(1); /* 0x2B06BD9D: mov byte ptr [eax + 0x25], 1 */ 9772 eax = MEM32(ebx + 0xD0); /* 0x2B06BDA1: mov eax, dword ptr [ebx + 0xd0] */ 9773 MEM32(eax + 0x1C) = 0x2B06D180u; /* 0x2B06BDA7: mov dword ptr [eax + 0x1c], 0x2b06d180 */ 9774 MEM32(eax + 0x20) = ebx; /* 0x2B06BDAE: mov dword ptr [eax + 0x20], ebx */ 9775 eax = MEM32(ebx + 0x7C); /* 0x2B06BDB1: mov eax, dword ptr [ebx + 0x7c] */ 9776 if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2B06BDB4: shl eax, 2 */ 9777 if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9778 eax = eax << 2u; /* 0x2B06BDB4: shl eax, 2 */ 9779 PUSH32(esp, 0x50u); /* 0x2B06BDB7: push 0x50 */ 9780 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BDB9: mov byte ptr [ebp - 4], 1 */ 9781 MEM32(ebp + (-0x34)) = eax; /* 0x2B06BDBD: mov dword ptr [ebp - 0x34], eax */ 9782 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BDC0: call 0x2b0ab212 */ /* not lifted */ 9783 RECOMP_FLAGS_IN(); 9784 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9785 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9786 esp = esp + 4; /* 0x2B06BDC5: add esp, 4 */ 9787 _flag_k = FK_ADD; 9788 MEM32(ebp + 0x8) = eax; /* 0x2B06BDC8: mov dword ptr [ebp + 8], eax */ 9789 /* cmp eax, esi */ /* 0x2B06BDCB: cmp eax, esi */ 9790 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 9791 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9792 _flag_k = FK_CMP; 9793 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x2B06BDCD: mov byte ptr [ebp - 4], 0xc */ 9794 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BDF9; /* 0x2B06BDD1: je 0x2b06bdf9 */ 9795 L_2B06BDD3: 9796 PUSH32(esp, esi); /* 0x2B06BDD3: push esi */ 9797 PUSH32(esp, 0x3F800000u); /* 0x2B06BDD4: push 0x3f800000 */ 9798 PUSH32(esp, 0x3F800000u); /* 0x2B06BDD9: push 0x3f800000 */ 9799 PUSH32(esp, 0x6D60u); /* 0x2B06BDDE: push 0x6d60 */ 9800 ecx = ebp + (-0x14); /* 0x2B06BDE3: lea ecx, [ebp - 0x14] */ 9801 PUSH32(esp, ecx); /* 0x2B06BDE6: push ecx */ 9802 edx = ebp + (-0x34); /* 0x2B06BDE7: lea edx, [ebp - 0x34] */ 9803 PUSH32(esp, edx); /* 0x2B06BDEA: push edx */ 9804 PUSH32(esp, 4); /* 0x2B06BDEB: push 4 */ 9805 PUSH32(esp, 6); /* 0x2B06BDED: push 6 */ 9806 ecx = eax; /* 0x2B06BDEF: mov ecx, eax */ 9807 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B06BDF1: call dword ptr [0x2b0b5bd8] */ 9808 RECOMP_FLAGS_IN(); 9809 goto L_2B06BDFB; /* 0x2B06BDF7: jmp 0x2b06bdfb */ 9810 L_2B06BDF9: 9811 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9812 eax = 0; /* 0x2B06BDF9: xor eax, eax */ 9813 _cf = 0; 9814 _flag_k = FK_TEST; 9815 L_2B06BDFB: 9816 PUSH32(esp, 1); /* 0x2B06BDFB: push 1 */ 9817 MEM32(ebx + 0xA8) = eax; /* 0x2B06BDFD: mov dword ptr [ebx + 0xa8], eax */ 9818 eax = MEM32(eax + 0x28); /* 0x2B06BE03: mov eax, dword ptr [eax + 0x28] */ 9819 PUSH32(esp, esi); /* 0x2B06BE06: push esi */ 9820 PUSH32(esp, esi); /* 0x2B06BE07: push esi */ 9821 ecx = eax; /* 0x2B06BE08: mov ecx, eax */ 9822 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BE0A: mov byte ptr [ebp - 4], 1 */ 9823 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B06BE0E: call dword ptr [0x2b0b564c] */ 9824 RECOMP_FLAGS_IN(); 9825 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9826 eax = 0; /* 0x2B06BE14: xor eax, eax */ 9827 _cf = 0; 9828 _flag_k = FK_TEST; 9829 ecx = 0xCu; /* 0x2B06BE16: mov ecx, 0xc */ 9830 edi = ebp + (-0x64); /* 0x2B06BE1B: lea edi, [ebp - 0x64] */ 9831 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BE1E: 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; } 9832 ecx = 0xCu; /* 0x2B06BE20: mov ecx, 0xc */ 9833 edi = ebp + (-0x64); /* 0x2B06BE25: lea edi, [ebp - 0x64] */ 9834 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BE28: 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; } 9835 eax = MEM32(ebx + 0x7C); /* 0x2B06BE2A: mov eax, dword ptr [ebx + 0x7c] */ 9836 PUSH32(esp, 0xBCu); /* 0x2B06BE2D: push 0xbc */ 9837 MEM32(ebp + (-0x58)) = 0x2B0EB4A8u; /* 0x2B06BE32: mov dword ptr [ebp - 0x58], 0x2b0eb4a8 */ 9838 MEM32(ebp + (-0x54)) = eax; /* 0x2B06BE39: mov dword ptr [ebp - 0x54], eax */ 9839 MEM32(ebp + (-0x4C)) = 0x6D61u; /* 0x2B06BE3C: mov dword ptr [ebp - 0x4c], 0x6d61 */ 9840 MEM32(ebp + (-0x64)) = 1; /* 0x2B06BE43: mov dword ptr [ebp - 0x64], 1 */ 9841 MEM32(ebp + (-0x44)) = 0x64u; /* 0x2B06BE4A: mov dword ptr [ebp - 0x44], 0x64 */ 9842 MEM32(ebp + (-0x40)) = 0x65u; /* 0x2B06BE51: mov dword ptr [ebp - 0x40], 0x65 */ 9843 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BE58: call 0x2b0ab212 */ /* not lifted */ 9844 RECOMP_FLAGS_IN(); 9845 edi = eax; /* 0x2B06BE5D: mov edi, eax */ 9846 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9847 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9848 esp = esp + 4; /* 0x2B06BE5F: add esp, 4 */ 9849 _flag_k = FK_ADD; 9850 MEM32(ebp + 0x8) = edi; /* 0x2B06BE62: mov dword ptr [ebp + 8], edi */ 9851 /* cmp edi, esi */ /* 0x2B06BE65: cmp edi, esi */ 9852 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 9853 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9854 _flag_k = FK_CMP; 9855 MEM8(ebp + (-0x4)) = (uint8_t)(0xDu); /* 0x2B06BE67: mov byte ptr [ebp - 4], 0xd */ 9856 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BE8A; /* 0x2B06BE6B: je 0x2b06be8a */ 9857 L_2B06BE6D: 9858 ecx = MEM32(ebx + 0xA8); /* 0x2B06BE6D: mov ecx, dword ptr [ebx + 0xa8] */ 9859 PUSH32(esp, ecx); /* 0x2B06BE73: push ecx */ 9860 edx = ebp + (-0x64); /* 0x2B06BE74: lea edx, [ebp - 0x64] */ 9861 PUSH32(esp, edx); /* 0x2B06BE77: push edx */ 9862 ecx = edi; /* 0x2B06BE78: mov ecx, edi */ 9863 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B06BE7A: call dword ptr [0x2b0b5afc] */ 9864 RECOMP_FLAGS_IN(); 9865 MEM32(edi) = 0x2B0B645Cu; /* 0x2B06BE80: mov dword ptr [edi], 0x2b0b645c */ 9866 ecx = edi; /* 0x2B06BE86: mov ecx, edi */ 9867 goto L_2B06BE8C; /* 0x2B06BE88: jmp 0x2b06be8c */ 9868 L_2B06BE8A: 9869 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9870 ecx = 0; /* 0x2B06BE8A: xor ecx, ecx */ 9871 _cf = 0; 9872 _flag_k = FK_TEST; 9873 L_2B06BE8C: 9874 PUSH32(esp, ebx); /* 0x2B06BE8C: push ebx */ 9875 PUSH32(esp, 0x2B06D3A0u); /* 0x2B06BE8D: push 0x2b06d3a0 */ 9876 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BE92: mov byte ptr [ebp - 4], 1 */ 9877 MEM32(ebx + 0xCC) = ecx; /* 0x2B06BE96: mov dword ptr [ebx + 0xcc], ecx */ 9878 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B06BE9C: call dword ptr [0x2b0b5af8] */ 9879 RECOMP_FLAGS_IN(); 9880 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9881 eax = 0; /* 0x2B06BEA2: xor eax, eax */ 9882 _cf = 0; 9883 _flag_k = FK_TEST; 9884 ecx = 0xCu; /* 0x2B06BEA4: mov ecx, 0xc */ 9885 edi = ebp + (-0x64); /* 0x2B06BEA9: lea edi, [ebp - 0x64] */ 9886 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BEAC: 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; } 9887 eax = MEM32(ebx + 0x7C); /* 0x2B06BEAE: mov eax, dword ptr [ebx + 0x7c] */ 9888 if (1u) _cf = (((eax) >> 31) & 1u); /* 0x2B06BEB1: shl eax, 1 */ 9889 if (1u) { _flag_a = recomp_flags_pack((eax << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9890 eax = eax << 1u; /* 0x2B06BEB1: shl eax, 1 */ 9891 PUSH32(esp, 0xBCu); /* 0x2B06BEB3: push 0xbc */ 9892 MEM32(ebp + (-0x54)) = eax; /* 0x2B06BEB8: mov dword ptr [ebp - 0x54], eax */ 9893 MEM32(ebp + (-0x58)) = 0x2B0EB4A0u; /* 0x2B06BEBB: mov dword ptr [ebp - 0x58], 0x2b0eb4a0 */ 9894 MEM32(ebp + (-0x4C)) = 0x6D61u; /* 0x2B06BEC2: mov dword ptr [ebp - 0x4c], 0x6d61 */ 9895 MEM32(ebp + (-0x48)) = 0x66u; /* 0x2B06BEC9: mov dword ptr [ebp - 0x48], 0x66 */ 9896 MEM32(ebp + (-0x44)) = 0x67u; /* 0x2B06BED0: mov dword ptr [ebp - 0x44], 0x67 */ 9897 MEM32(ebp + (-0x40)) = 0x68u; /* 0x2B06BED7: mov dword ptr [ebp - 0x40], 0x68 */ 9898 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BEDE: call 0x2b0ab212 */ /* not lifted */ 9899 RECOMP_FLAGS_IN(); 9900 edi = eax; /* 0x2B06BEE3: mov edi, eax */ 9901 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9902 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9903 esp = esp + 4; /* 0x2B06BEE5: add esp, 4 */ 9904 _flag_k = FK_ADD; 9905 MEM32(ebp + 0x8) = edi; /* 0x2B06BEE8: mov dword ptr [ebp + 8], edi */ 9906 /* cmp edi, esi */ /* 0x2B06BEEB: cmp edi, esi */ 9907 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 9908 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9909 _flag_k = FK_CMP; 9910 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x2B06BEED: mov byte ptr [ebp - 4], 0xe */ 9911 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BF10; /* 0x2B06BEF1: je 0x2b06bf10 */ 9912 L_2B06BEF3: 9913 ecx = MEM32(ebx + 0xA8); /* 0x2B06BEF3: mov ecx, dword ptr [ebx + 0xa8] */ 9914 PUSH32(esp, ecx); /* 0x2B06BEF9: push ecx */ 9915 edx = ebp + (-0x64); /* 0x2B06BEFA: lea edx, [ebp - 0x64] */ 9916 PUSH32(esp, edx); /* 0x2B06BEFD: push edx */ 9917 ecx = edi; /* 0x2B06BEFE: mov ecx, edi */ 9918 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B06BF00: call dword ptr [0x2b0b5afc] */ 9919 RECOMP_FLAGS_IN(); 9920 MEM32(edi) = 0x2B0B645Cu; /* 0x2B06BF06: mov dword ptr [edi], 0x2b0b645c */ 9921 ecx = edi; /* 0x2B06BF0C: mov ecx, edi */ 9922 goto L_2B06BF12; /* 0x2B06BF0E: jmp 0x2b06bf12 */ 9923 L_2B06BF10: 9924 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9925 ecx = 0; /* 0x2B06BF10: xor ecx, ecx */ 9926 _cf = 0; 9927 _flag_k = FK_TEST; 9928 L_2B06BF12: 9929 PUSH32(esp, ebx); /* 0x2B06BF12: push ebx */ 9930 PUSH32(esp, 0x2B06D360u); /* 0x2B06BF13: push 0x2b06d360 */ 9931 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BF18: mov byte ptr [ebp - 4], 1 */ 9932 MEM32(ebx + 0xC8) = ecx; /* 0x2B06BF1C: mov dword ptr [ebx + 0xc8], ecx */ 9933 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B06BF22: call dword ptr [0x2b0b5af8] */ 9934 RECOMP_FLAGS_IN(); 9935 ecx = MEM32(ebx + 0xC8); /* 0x2B06BF28: mov ecx, dword ptr [ebx + 0xc8] */ 9936 PUSH32(esp, esi); /* 0x2B06BF2E: push esi */ 9937 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06BF2F: call dword ptr [0x2b0b5ab4] */ 9938 RECOMP_FLAGS_IN(); 9939 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9940 eax = 0; /* 0x2B06BF35: xor eax, eax */ 9941 _cf = 0; 9942 _flag_k = FK_TEST; 9943 ecx = 0xCu; /* 0x2B06BF37: mov ecx, 0xc */ 9944 edi = ebp + (-0x64); /* 0x2B06BF3C: lea edi, [ebp - 0x64] */ 9945 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BF3F: 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; } 9946 eax = MEM32(ebx + 0x7C); /* 0x2B06BF41: mov eax, dword ptr [ebx + 0x7c] */ 9947 eax = eax + eax * 2; /* 0x2B06BF44: lea eax, [eax + eax*2] */ 9948 PUSH32(esp, 0xBCu); /* 0x2B06BF47: push 0xbc */ 9949 MEM32(ebp + (-0x54)) = eax; /* 0x2B06BF4C: mov dword ptr [ebp - 0x54], eax */ 9950 MEM32(ebp + (-0x58)) = 0x2B0E6EE8u; /* 0x2B06BF4F: mov dword ptr [ebp - 0x58], 0x2b0e6ee8 */ 9951 MEM32(ebp + (-0x4C)) = 0x6D61u; /* 0x2B06BF56: mov dword ptr [ebp - 0x4c], 0x6d61 */ 9952 MEM32(ebp + (-0x48)) = 0xAu; /* 0x2B06BF5D: mov dword ptr [ebp - 0x48], 0xa */ 9953 MEM32(ebp + (-0x44)) = 0x69u; /* 0x2B06BF64: mov dword ptr [ebp - 0x44], 0x69 */ 9954 MEM32(ebp + (-0x40)) = 0x6Au; /* 0x2B06BF6B: mov dword ptr [ebp - 0x40], 0x6a */ 9955 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BF72: call 0x2b0ab212 */ /* not lifted */ 9956 RECOMP_FLAGS_IN(); 9957 edi = eax; /* 0x2B06BF77: mov edi, eax */ 9958 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9959 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9960 esp = esp + 4; /* 0x2B06BF79: add esp, 4 */ 9961 _flag_k = FK_ADD; 9962 MEM32(ebp + 0x8) = edi; /* 0x2B06BF7C: mov dword ptr [ebp + 8], edi */ 9963 /* cmp edi, esi */ /* 0x2B06BF7F: cmp edi, esi */ 9964 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 9965 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9966 _flag_k = FK_CMP; 9967 MEM8(ebp + (-0x4)) = (uint8_t)(0xFu); /* 0x2B06BF81: mov byte ptr [ebp - 4], 0xf */ 9968 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BFA4; /* 0x2B06BF85: je 0x2b06bfa4 */ 9969 L_2B06BF87: 9970 ecx = MEM32(ebx + 0xA8); /* 0x2B06BF87: mov ecx, dword ptr [ebx + 0xa8] */ 9971 PUSH32(esp, ecx); /* 0x2B06BF8D: push ecx */ 9972 edx = ebp + (-0x64); /* 0x2B06BF8E: lea edx, [ebp - 0x64] */ 9973 PUSH32(esp, edx); /* 0x2B06BF91: push edx */ 9974 ecx = edi; /* 0x2B06BF92: mov ecx, edi */ 9975 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B06BF94: call dword ptr [0x2b0b5afc] */ 9976 RECOMP_FLAGS_IN(); 9977 MEM32(edi) = 0x2B0B645Cu; /* 0x2B06BF9A: mov dword ptr [edi], 0x2b0b645c */ 9978 ecx = edi; /* 0x2B06BFA0: mov ecx, edi */ 9979 goto L_2B06BFA6; /* 0x2B06BFA2: jmp 0x2b06bfa6 */ 9980 L_2B06BFA4: 9981 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9982 ecx = 0; /* 0x2B06BFA4: xor ecx, ecx */ 9983 _cf = 0; 9984 _flag_k = FK_TEST; 9985 L_2B06BFA6: 9986 PUSH32(esp, ebx); /* 0x2B06BFA6: push ebx */ 9987 PUSH32(esp, 0x2B06D340u); /* 0x2B06BFA7: push 0x2b06d340 */ 9988 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BFAC: mov byte ptr [ebp - 4], 1 */ 9989 MEM32(ebx + 0xC4) = ecx; /* 0x2B06BFB0: mov dword ptr [ebx + 0xc4], ecx */ 9990 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B06BFB6: call dword ptr [0x2b0b5af8] */ 9991 RECOMP_FLAGS_IN(); 9992 PUSH32(esp, 2); /* 0x2B06BFBC: push 2 */ 9993 PUSH32(esp, 8); /* 0x2B06BFBE: push 8 */ 9994 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06BFC0: call dword ptr [0x2b0b5f80] */ 9995 RECOMP_FLAGS_IN(); 9996 ecx = eax; /* 0x2B06BFC6: mov ecx, eax */ 9997 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06BFC8: call dword ptr [0x2b0b5fbc] */ 9998 RECOMP_FLAGS_IN(); 9999 PUSH32(esp, 0xD8u); /* 0x2B06BFCE: push 0xd8 */ 10000 MEM32(ebp + 0x8) = eax; /* 0x2B06BFD3: mov dword ptr [ebp + 8], eax */ 10001 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BFD6: call 0x2b0ab212 */ /* not lifted */ 10002 RECOMP_FLAGS_IN(); 10003 edi = eax; /* 0x2B06BFDB: mov edi, eax */ 10004 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10005 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10006 esp = esp + 4; /* 0x2B06BFDD: add esp, 4 */ 10007 _flag_k = FK_ADD; 10008 MEM32(ebp + (-0x28)) = edi; /* 0x2B06BFE0: mov dword ptr [ebp - 0x28], edi */ 10009 /* cmp edi, esi */ /* 0x2B06BFE3: cmp edi, esi */ 10010 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 10011 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10012 _flag_k = FK_CMP; 10013 MEM8(ebp + (-0x4)) = (uint8_t)(0x10u); /* 0x2B06BFE5: mov byte ptr [ebp - 4], 0x10 */ 10014 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C01F; /* 0x2B06BFE9: je 0x2b06c01f */ 10015 L_2B06BFEB: 10016 edx = MEM32(ebp + 0x8); /* 0x2B06BFEB: mov edx, dword ptr [ebp + 8] */ 10017 eax = ebp + (-0x18); /* 0x2B06BFEE: lea eax, [ebp - 0x18] */ 10018 PUSH32(esp, eax); /* 0x2B06BFF1: push eax */ 10019 ecx = ebp + (-0x20); /* 0x2B06BFF2: lea ecx, [ebp - 0x20] */ 10020 PUSH32(esp, ecx); /* 0x2B06BFF5: push ecx */ 10021 PUSH32(esp, esi); /* 0x2B06BFF6: push esi */ 10022 PUSH32(esp, 0x6D60u); /* 0x2B06BFF7: push 0x6d60 */ 10023 PUSH32(esp, edx); /* 0x2B06BFFC: push edx */ 10024 eax = ebp + (-0x14); /* 0x2B06BFFD: lea eax, [ebp - 0x14] */ 10025 PUSH32(esp, eax); /* 0x2B06C000: push eax */ 10026 ecx = edi; /* 0x2B06C001: mov ecx, edi */ 10027 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C003: mov dword ptr [ebp - 0x18], 0x3f800000 */ 10028 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C00A: mov dword ptr [ebp - 0x20], 0x3f800000 */ 10029 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C011: call dword ptr [0x2b0b5654] */ 10030 RECOMP_FLAGS_IN(); 10031 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C017: mov dword ptr [edi], 0x2b0b618c */ 10032 goto L_2B06C021; /* 0x2B06C01D: jmp 0x2b06c021 */ 10033 L_2B06C01F: 10034 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10035 edi = 0; /* 0x2B06C01F: xor edi, edi */ 10036 _cf = 0; 10037 _flag_k = FK_TEST; 10038 L_2B06C021: 10039 PUSH32(esp, 2); /* 0x2B06C021: push 2 */ 10040 PUSH32(esp, 7); /* 0x2B06C023: push 7 */ 10041 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C025: mov byte ptr [ebp - 4], 1 */ 10042 MEM32(ebx + 0xAC) = edi; /* 0x2B06C029: mov dword ptr [ebx + 0xac], edi */ 10043 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C02F: call dword ptr [0x2b0b5f80] */ 10044 RECOMP_FLAGS_IN(); 10045 ecx = eax; /* 0x2B06C035: mov ecx, eax */ 10046 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C037: call dword ptr [0x2b0b5fbc] */ 10047 RECOMP_FLAGS_IN(); 10048 PUSH32(esp, 0xD8u); /* 0x2B06C03D: push 0xd8 */ 10049 MEM32(ebp + 0x8) = eax; /* 0x2B06C042: mov dword ptr [ebp + 8], eax */ 10050 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C045: call 0x2b0ab212 */ /* not lifted */ 10051 RECOMP_FLAGS_IN(); 10052 edi = eax; /* 0x2B06C04A: mov edi, eax */ 10053 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10054 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10055 esp = esp + 4; /* 0x2B06C04C: add esp, 4 */ 10056 _flag_k = FK_ADD; 10057 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C04F: mov dword ptr [ebp - 0x28], edi */ 10058 /* cmp edi, esi */ /* 0x2B06C052: cmp edi, esi */ 10059 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 10060 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10061 _flag_k = FK_CMP; 10062 MEM8(ebp + (-0x4)) = (uint8_t)(0x11u); /* 0x2B06C054: mov byte ptr [ebp - 4], 0x11 */ 10063 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C08E; /* 0x2B06C058: je 0x2b06c08e */ 10064 L_2B06C05A: 10065 eax = MEM32(ebp + 0x8); /* 0x2B06C05A: mov eax, dword ptr [ebp + 8] */ 10066 ecx = ebp + (-0x20); /* 0x2B06C05D: lea ecx, [ebp - 0x20] */ 10067 PUSH32(esp, ecx); /* 0x2B06C060: push ecx */ 10068 edx = ebp + (-0x18); /* 0x2B06C061: lea edx, [ebp - 0x18] */ 10069 PUSH32(esp, edx); /* 0x2B06C064: push edx */ 10070 PUSH32(esp, esi); /* 0x2B06C065: push esi */ 10071 PUSH32(esp, 0x6D60u); /* 0x2B06C066: push 0x6d60 */ 10072 PUSH32(esp, eax); /* 0x2B06C06B: push eax */ 10073 ecx = ebp + (-0x14); /* 0x2B06C06C: lea ecx, [ebp - 0x14] */ 10074 PUSH32(esp, ecx); /* 0x2B06C06F: push ecx */ 10075 ecx = edi; /* 0x2B06C070: mov ecx, edi */ 10076 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C072: mov dword ptr [ebp - 0x20], 0x3f800000 */ 10077 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C079: mov dword ptr [ebp - 0x18], 0x3f800000 */ 10078 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C080: call dword ptr [0x2b0b5654] */ 10079 RECOMP_FLAGS_IN(); 10080 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C086: mov dword ptr [edi], 0x2b0b618c */ 10081 goto L_2B06C090; /* 0x2B06C08C: jmp 0x2b06c090 */ 10082 L_2B06C08E: 10083 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10084 edi = 0; /* 0x2B06C08E: xor edi, edi */ 10085 _cf = 0; 10086 _flag_k = FK_TEST; 10087 L_2B06C090: 10088 PUSH32(esp, 2); /* 0x2B06C090: push 2 */ 10089 PUSH32(esp, 6); /* 0x2B06C092: push 6 */ 10090 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C094: mov byte ptr [ebp - 4], 1 */ 10091 MEM32(ebx + 0xB0) = edi; /* 0x2B06C098: mov dword ptr [ebx + 0xb0], edi */ 10092 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C09E: call dword ptr [0x2b0b5f80] */ 10093 RECOMP_FLAGS_IN(); 10094 ecx = eax; /* 0x2B06C0A4: mov ecx, eax */ 10095 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C0A6: call dword ptr [0x2b0b5fbc] */ 10096 RECOMP_FLAGS_IN(); 10097 PUSH32(esp, 0xD8u); /* 0x2B06C0AC: push 0xd8 */ 10098 MEM32(ebp + 0x8) = eax; /* 0x2B06C0B1: mov dword ptr [ebp + 8], eax */ 10099 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C0B4: call 0x2b0ab212 */ /* not lifted */ 10100 RECOMP_FLAGS_IN(); 10101 edi = eax; /* 0x2B06C0B9: mov edi, eax */ 10102 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10103 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10104 esp = esp + 4; /* 0x2B06C0BB: add esp, 4 */ 10105 _flag_k = FK_ADD; 10106 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C0BE: mov dword ptr [ebp - 0x28], edi */ 10107 /* cmp edi, esi */ /* 0x2B06C0C1: cmp edi, esi */ 10108 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 10109 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10110 _flag_k = FK_CMP; 10111 MEM8(ebp + (-0x4)) = (uint8_t)(0x12u); /* 0x2B06C0C3: mov byte ptr [ebp - 4], 0x12 */ 10112 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C0FD; /* 0x2B06C0C7: je 0x2b06c0fd */ 10113 L_2B06C0C9: 10114 ecx = MEM32(ebp + 0x8); /* 0x2B06C0C9: mov ecx, dword ptr [ebp + 8] */ 10115 edx = ebp + (-0x20); /* 0x2B06C0CC: lea edx, [ebp - 0x20] */ 10116 PUSH32(esp, edx); /* 0x2B06C0CF: push edx */ 10117 eax = ebp + (-0x18); /* 0x2B06C0D0: lea eax, [ebp - 0x18] */ 10118 PUSH32(esp, eax); /* 0x2B06C0D3: push eax */ 10119 PUSH32(esp, esi); /* 0x2B06C0D4: push esi */ 10120 PUSH32(esp, 0x6D60u); /* 0x2B06C0D5: push 0x6d60 */ 10121 PUSH32(esp, ecx); /* 0x2B06C0DA: push ecx */ 10122 edx = ebp + (-0x14); /* 0x2B06C0DB: lea edx, [ebp - 0x14] */ 10123 PUSH32(esp, edx); /* 0x2B06C0DE: push edx */ 10124 ecx = edi; /* 0x2B06C0DF: mov ecx, edi */ 10125 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C0E1: mov dword ptr [ebp - 0x20], 0x3f800000 */ 10126 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C0E8: mov dword ptr [ebp - 0x18], 0x3f800000 */ 10127 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C0EF: call dword ptr [0x2b0b5654] */ 10128 RECOMP_FLAGS_IN(); 10129 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C0F5: mov dword ptr [edi], 0x2b0b618c */ 10130 goto L_2B06C0FF; /* 0x2B06C0FB: jmp 0x2b06c0ff */ 10131 L_2B06C0FD: 10132 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10133 edi = 0; /* 0x2B06C0FD: xor edi, edi */ 10134 _cf = 0; 10135 _flag_k = FK_TEST; 10136 L_2B06C0FF: 10137 PUSH32(esp, 2); /* 0x2B06C0FF: push 2 */ 10138 PUSH32(esp, 5); /* 0x2B06C101: push 5 */ 10139 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C103: mov byte ptr [ebp - 4], 1 */ 10140 MEM32(ebx + 0xB4) = edi; /* 0x2B06C107: mov dword ptr [ebx + 0xb4], edi */ 10141 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C10D: call dword ptr [0x2b0b5f80] */ 10142 RECOMP_FLAGS_IN(); 10143 ecx = eax; /* 0x2B06C113: mov ecx, eax */ 10144 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C115: call dword ptr [0x2b0b5fbc] */ 10145 RECOMP_FLAGS_IN(); 10146 PUSH32(esp, 0xD8u); /* 0x2B06C11B: push 0xd8 */ 10147 MEM32(ebp + 0x8) = eax; /* 0x2B06C120: mov dword ptr [ebp + 8], eax */ 10148 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C123: call 0x2b0ab212 */ /* not lifted */ 10149 RECOMP_FLAGS_IN(); 10150 edi = eax; /* 0x2B06C128: mov edi, eax */ 10151 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10152 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10153 esp = esp + 4; /* 0x2B06C12A: add esp, 4 */ 10154 _flag_k = FK_ADD; 10155 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C12D: mov dword ptr [ebp - 0x28], edi */ 10156 /* cmp edi, esi */ /* 0x2B06C130: cmp edi, esi */ 10157 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 10158 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10159 _flag_k = FK_CMP; 10160 MEM8(ebp + (-0x4)) = (uint8_t)(0x13u); /* 0x2B06C132: mov byte ptr [ebp - 4], 0x13 */ 10161 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C16C; /* 0x2B06C136: je 0x2b06c16c */ 10162 L_2B06C138: 10163 edx = MEM32(ebp + 0x8); /* 0x2B06C138: mov edx, dword ptr [ebp + 8] */ 10164 eax = ebp + (-0x20); /* 0x2B06C13B: lea eax, [ebp - 0x20] */ 10165 PUSH32(esp, eax); /* 0x2B06C13E: push eax */ 10166 ecx = ebp + (-0x18); /* 0x2B06C13F: lea ecx, [ebp - 0x18] */ 10167 PUSH32(esp, ecx); /* 0x2B06C142: push ecx */ 10168 PUSH32(esp, esi); /* 0x2B06C143: push esi */ 10169 PUSH32(esp, 0x6D60u); /* 0x2B06C144: push 0x6d60 */ 10170 PUSH32(esp, edx); /* 0x2B06C149: push edx */ 10171 eax = ebp + (-0x14); /* 0x2B06C14A: lea eax, [ebp - 0x14] */ 10172 PUSH32(esp, eax); /* 0x2B06C14D: push eax */ 10173 ecx = edi; /* 0x2B06C14E: mov ecx, edi */ 10174 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C150: mov dword ptr [ebp - 0x20], 0x3f800000 */ 10175 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C157: mov dword ptr [ebp - 0x18], 0x3f800000 */ 10176 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C15E: call dword ptr [0x2b0b5654] */ 10177 RECOMP_FLAGS_IN(); 10178 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C164: mov dword ptr [edi], 0x2b0b618c */ 10179 goto L_2B06C16E; /* 0x2B06C16A: jmp 0x2b06c16e */ 10180 L_2B06C16C: 10181 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10182 edi = 0; /* 0x2B06C16C: xor edi, edi */ 10183 _cf = 0; 10184 _flag_k = FK_TEST; 10185 L_2B06C16E: 10186 PUSH32(esp, 2); /* 0x2B06C16E: push 2 */ 10187 PUSH32(esp, 3); /* 0x2B06C170: push 3 */ 10188 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C172: mov byte ptr [ebp - 4], 1 */ 10189 MEM32(ebx + 0xB8) = edi; /* 0x2B06C176: mov dword ptr [ebx + 0xb8], edi */ 10190 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C17C: call dword ptr [0x2b0b5f80] */ 10191 RECOMP_FLAGS_IN(); 10192 ecx = eax; /* 0x2B06C182: mov ecx, eax */ 10193 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C184: call dword ptr [0x2b0b5fbc] */ 10194 RECOMP_FLAGS_IN(); 10195 PUSH32(esp, 0xD8u); /* 0x2B06C18A: push 0xd8 */ 10196 MEM32(ebp + 0x8) = eax; /* 0x2B06C18F: mov dword ptr [ebp + 8], eax */ 10197 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C192: call 0x2b0ab212 */ /* not lifted */ 10198 RECOMP_FLAGS_IN(); 10199 edi = eax; /* 0x2B06C197: mov edi, eax */ 10200 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10201 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10202 esp = esp + 4; /* 0x2B06C199: add esp, 4 */ 10203 _flag_k = FK_ADD; 10204 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C19C: mov dword ptr [ebp - 0x28], edi */ 10205 /* cmp edi, esi */ /* 0x2B06C19F: cmp edi, esi */ 10206 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 10207 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10208 _flag_k = FK_CMP; 10209 MEM8(ebp + (-0x4)) = (uint8_t)(0x14u); /* 0x2B06C1A1: mov byte ptr [ebp - 4], 0x14 */ 10210 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C1DB; /* 0x2B06C1A5: je 0x2b06c1db */ 10211 L_2B06C1A7: 10212 eax = MEM32(ebp + 0x8); /* 0x2B06C1A7: mov eax, dword ptr [ebp + 8] */ 10213 ecx = ebp + (-0x20); /* 0x2B06C1AA: lea ecx, [ebp - 0x20] */ 10214 PUSH32(esp, ecx); /* 0x2B06C1AD: push ecx */ 10215 edx = ebp + (-0x18); /* 0x2B06C1AE: lea edx, [ebp - 0x18] */ 10216 PUSH32(esp, edx); /* 0x2B06C1B1: push edx */ 10217 PUSH32(esp, esi); /* 0x2B06C1B2: push esi */ 10218 PUSH32(esp, 0x6D60u); /* 0x2B06C1B3: push 0x6d60 */ 10219 PUSH32(esp, eax); /* 0x2B06C1B8: push eax */ 10220 ecx = ebp + (-0x14); /* 0x2B06C1B9: lea ecx, [ebp - 0x14] */ 10221 PUSH32(esp, ecx); /* 0x2B06C1BC: push ecx */ 10222 ecx = edi; /* 0x2B06C1BD: mov ecx, edi */ 10223 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C1BF: mov dword ptr [ebp - 0x20], 0x3f800000 */ 10224 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C1C6: mov dword ptr [ebp - 0x18], 0x3f800000 */ 10225 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C1CD: call dword ptr [0x2b0b5654] */ 10226 RECOMP_FLAGS_IN(); 10227 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C1D3: mov dword ptr [edi], 0x2b0b618c */ 10228 goto L_2B06C1DD; /* 0x2B06C1D9: jmp 0x2b06c1dd */ 10229 L_2B06C1DB: 10230 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10231 edi = 0; /* 0x2B06C1DB: xor edi, edi */ 10232 _cf = 0; 10233 _flag_k = FK_TEST; 10234 L_2B06C1DD: 10235 PUSH32(esp, 2); /* 0x2B06C1DD: push 2 */ 10236 PUSH32(esp, 4); /* 0x2B06C1DF: push 4 */ 10237 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C1E1: mov byte ptr [ebp - 4], 1 */ 10238 MEM32(ebx + 0xBC) = edi; /* 0x2B06C1E5: mov dword ptr [ebx + 0xbc], edi */ 10239 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C1EB: call dword ptr [0x2b0b5f80] */ 10240 RECOMP_FLAGS_IN(); 10241 ecx = eax; /* 0x2B06C1F1: mov ecx, eax */ 10242 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C1F3: call dword ptr [0x2b0b5fbc] */ 10243 RECOMP_FLAGS_IN(); 10244 PUSH32(esp, 0xD8u); /* 0x2B06C1F9: push 0xd8 */ 10245 MEM32(ebp + 0x8) = eax; /* 0x2B06C1FE: mov dword ptr [ebp + 8], eax */ 10246 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C201: call 0x2b0ab212 */ /* not lifted */ 10247 RECOMP_FLAGS_IN(); 10248 edi = eax; /* 0x2B06C206: mov edi, eax */ 10249 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10250 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10251 esp = esp + 4; /* 0x2B06C208: add esp, 4 */ 10252 _flag_k = FK_ADD; 10253 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C20B: mov dword ptr [ebp - 0x28], edi */ 10254 /* cmp edi, esi */ /* 0x2B06C20E: cmp edi, esi */ 10255 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 10256 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10257 _flag_k = FK_CMP; 10258 MEM8(ebp + (-0x4)) = (uint8_t)(0x15u); /* 0x2B06C210: mov byte ptr [ebp - 4], 0x15 */ 10259 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C24A; /* 0x2B06C214: je 0x2b06c24a */ 10260 L_2B06C216: 10261 ecx = MEM32(ebp + 0x8); /* 0x2B06C216: mov ecx, dword ptr [ebp + 8] */ 10262 edx = ebp + (-0x20); /* 0x2B06C219: lea edx, [ebp - 0x20] */ 10263 PUSH32(esp, edx); /* 0x2B06C21C: push edx */ 10264 eax = ebp + (-0x18); /* 0x2B06C21D: lea eax, [ebp - 0x18] */ 10265 PUSH32(esp, eax); /* 0x2B06C220: push eax */ 10266 PUSH32(esp, esi); /* 0x2B06C221: push esi */ 10267 PUSH32(esp, 0x6D60u); /* 0x2B06C222: push 0x6d60 */ 10268 PUSH32(esp, ecx); /* 0x2B06C227: push ecx */ 10269 edx = ebp + (-0x14); /* 0x2B06C228: lea edx, [ebp - 0x14] */ 10270 PUSH32(esp, edx); /* 0x2B06C22B: push edx */ 10271 ecx = edi; /* 0x2B06C22C: mov ecx, edi */ 10272 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C22E: mov dword ptr [ebp - 0x20], 0x3f800000 */ 10273 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C235: mov dword ptr [ebp - 0x18], 0x3f800000 */ 10274 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C23C: call dword ptr [0x2b0b5654] */ 10275 RECOMP_FLAGS_IN(); 10276 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C242: mov dword ptr [edi], 0x2b0b618c */ 10277 goto L_2B06C24C; /* 0x2B06C248: jmp 0x2b06c24c */ 10278 L_2B06C24A: 10279 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10280 edi = 0; /* 0x2B06C24A: xor edi, edi */ 10281 _cf = 0; 10282 _flag_k = FK_TEST; 10283 L_2B06C24C: 10284 eax = MEM32(ebx + 0x78); /* 0x2B06C24C: mov eax, dword ptr [ebx + 0x78] */ 10285 ecx = eax + (-0x16); /* 0x2B06C24F: lea ecx, [eax - 0x16] */ 10286 MEM32(ebx + 0xC0) = edi; /* 0x2B06C252: mov dword ptr [ebx + 0xc0], edi */ 10287 MEM32(ebp + (-0xC0)) = ecx; /* 0x2B06C258: mov dword ptr [ebp - 0xc0], ecx */ 10288 MEM32(ebp + (-0xAC)) = eax; /* 0x2B06C25E: mov dword ptr [ebp - 0xac], eax */ 10289 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10290 eax = 0; /* 0x2B06C264: xor eax, eax */ 10291 _cf = 0; 10292 _flag_k = FK_TEST; 10293 MEM32(ebp + (-0xE0)) = esi; /* 0x2B06C266: mov dword ptr [ebp - 0xe0], esi */ 10294 MEM32(ebp + (-0xDC)) = esi; /* 0x2B06C26C: mov dword ptr [ebp - 0xdc], esi */ 10295 MEM32(ebp + (-0xD8)) = esi; /* 0x2B06C272: mov dword ptr [ebp - 0xd8], esi */ 10296 MEM32(ebp + (-0xD4)) = 0x6D65u; /* 0x2B06C278: mov dword ptr [ebp - 0xd4], 0x6d65 */ 10297 MEM32(ebp + (-0xD0)) = esi; /* 0x2B06C282: mov dword ptr [ebp - 0xd0], esi */ 10298 MEM32(ebp + (-0xCC)) = esi; /* 0x2B06C288: mov dword ptr [ebp - 0xcc], esi */ 10299 MEM32(ebp + (-0xC8)) = esi; /* 0x2B06C28E: mov dword ptr [ebp - 0xc8], esi */ 10300 MEM32(ebp + (-0xC4)) = esi; /* 0x2B06C294: mov dword ptr [ebp - 0xc4], esi */ 10301 MEM32(ebp + (-0xBC)) = esi; /* 0x2B06C29A: mov dword ptr [ebp - 0xbc], esi */ 10302 MEM32(ebp + (-0xB8)) = esi; /* 0x2B06C2A0: mov dword ptr [ebp - 0xb8], esi */ 10303 MEM32(ebp + (-0xB4)) = esi; /* 0x2B06C2A6: mov dword ptr [ebp - 0xb4], esi */ 10304 MEM32(ebp + (-0xB0)) = 1; /* 0x2B06C2AC: mov dword ptr [ebp - 0xb0], 1 */ 10305 ecx = 6; /* 0x2B06C2B6: mov ecx, 6 */ 10306 edi = ebp + (-0xA8); /* 0x2B06C2BB: lea edi, [ebp - 0xa8] */ 10307 PUSH32(esp, 0xC8u); /* 0x2B06C2C1: push 0xc8 */ 10308 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C2C6: mov byte ptr [ebp - 4], 1 */ 10309 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06C2CA: 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; } 10310 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C2CC: call 0x2b0ab212 */ /* not lifted */ 10311 RECOMP_FLAGS_IN(); 10312 edi = eax; /* 0x2B06C2D1: mov edi, eax */ 10313 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10314 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10315 esp = esp + 4; /* 0x2B06C2D3: add esp, 4 */ 10316 _flag_k = FK_ADD; 10317 MEM32(ebp + 0x8) = edi; /* 0x2B06C2D6: mov dword ptr [ebp + 8], edi */ 10318 /* cmp edi, esi */ /* 0x2B06C2D9: cmp edi, esi */ 10319 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 10320 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10321 _flag_k = FK_CMP; 10322 MEM8(ebp + (-0x4)) = (uint8_t)(0x16u); /* 0x2B06C2DB: mov byte ptr [ebp - 4], 0x16 */ 10323 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C2FA; /* 0x2B06C2DF: je 0x2b06c2fa */ 10324 L_2B06C2E1: 10325 edx = ebp + (-0xE0); /* 0x2B06C2E1: lea edx, [ebp - 0xe0] */ 10326 PUSH32(esp, edx); /* 0x2B06C2E7: push edx */ 10327 ecx = edi; /* 0x2B06C2E8: mov ecx, edi */ 10328 RECOMP_ICALL(MEM32(0x2B0B5748)); /* 0x2B06C2EA: call dword ptr [0x2b0b5748] */ 10329 RECOMP_FLAGS_IN(); 10330 MEM32(edi) = 0x2B0B7110u; /* 0x2B06C2F0: mov dword ptr [edi], 0x2b0b7110 */ 10331 ecx = edi; /* 0x2B06C2F6: mov ecx, edi */ 10332 goto L_2B06C2FC; /* 0x2B06C2F8: jmp 0x2b06c2fc */ 10333 L_2B06C2FA: 10334 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10335 ecx = 0; /* 0x2B06C2FA: xor ecx, ecx */ 10336 _cf = 0; 10337 _flag_k = FK_TEST; 10338 L_2B06C2FC: 10339 PUSH32(esp, ebx); /* 0x2B06C2FC: push ebx */ 10340 PUSH32(esp, 0x2B06D3C0u); /* 0x2B06C2FD: push 0x2b06d3c0 */ 10341 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C302: mov byte ptr [ebp - 4], 1 */ 10342 MEM32(ebx + 0xD8) = ecx; /* 0x2B06C306: mov dword ptr [ebx + 0xd8], ecx */ 10343 RECOMP_ICALL(MEM32(0x2B0B5744)); /* 0x2B06C30C: call dword ptr [0x2b0b5744] */ 10344 RECOMP_FLAGS_IN(); 10345 ecx = MEM32(ebx + 0xD8); /* 0x2B06C312: mov ecx, dword ptr [ebx + 0xd8] */ 10346 PUSH32(esp, 0x64u); /* 0x2B06C318: push 0x64 */ 10347 RECOMP_ICALL(MEM32(0x2B0B5778)); /* 0x2B06C31A: call dword ptr [0x2b0b5778] */ 10348 RECOMP_FLAGS_IN(); 10349 eax = MEM32(ebx + 0x9C); /* 0x2B06C320: mov eax, dword ptr [ebx + 0x9c] */ 10350 ecx = MEM32(eax + 0x34); /* 0x2B06C326: mov ecx, dword ptr [eax + 0x34] */ 10351 RECOMP_ICALL(MEM32(0x2B0B56F8)); /* 0x2B06C329: call dword ptr [0x2b0b56f8] */ 10352 RECOMP_FLAGS_IN(); 10353 ecx = MEM32(ebx + 0xD8); /* 0x2B06C32F: mov ecx, dword ptr [ebx + 0xd8] */ 10354 MEM32(ebx + 0x48) = eax; /* 0x2B06C335: mov dword ptr [ebx + 0x48], eax */ 10355 PUSH32(esp, 0x64u); /* 0x2B06C338: push 0x64 */ 10356 MEM32(ecx + 0x98) = eax; /* 0x2B06C33A: mov dword ptr [ecx + 0x98], eax */ 10357 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C340: call 0x2b0ab212 */ /* not lifted */ 10358 RECOMP_FLAGS_IN(); 10359 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10360 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10361 esp = esp + 4; /* 0x2B06C345: add esp, 4 */ 10362 _flag_k = FK_ADD; 10363 MEM32(ebp + 0x8) = eax; /* 0x2B06C348: mov dword ptr [ebp + 8], eax */ 10364 /* cmp eax, esi */ /* 0x2B06C34B: cmp eax, esi */ 10365 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 10366 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10367 _flag_k = FK_CMP; 10368 MEM8(ebp + (-0x4)) = (uint8_t)(0x17u); /* 0x2B06C34D: mov byte ptr [ebp - 4], 0x17 */ 10369 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C384; /* 0x2B06C351: je 0x2b06c384 */ 10370 L_2B06C353: 10371 ecx = MEM32(ebx + 0x98); /* 0x2B06C353: mov ecx, dword ptr [ebx + 0x98] */ 10372 PUSH32(esp, ecx); /* 0x2B06C359: push ecx */ 10373 PUSH32(esp, esi); /* 0x2B06C35A: push esi */ 10374 PUSH32(esp, 0x30u); /* 0x2B06C35B: push 0x30 */ 10375 PUSH32(esp, esi); /* 0x2B06C35D: push esi */ 10376 PUSH32(esp, 0x6D63u); /* 0x2B06C35E: push 0x6d63 */ 10377 PUSH32(esp, 0x9Eu); /* 0x2B06C363: push 0x9e */ 10378 PUSH32(esp, esi); /* 0x2B06C368: push esi */ 10379 PUSH32(esp, 0x9Fu); /* 0x2B06C369: push 0x9f */ 10380 PUSH32(esp, 0x36u); /* 0x2B06C36E: push 0x36 */ 10381 PUSH32(esp, 0x36u); /* 0x2B06C370: push 0x36 */ 10382 PUSH32(esp, 3); /* 0x2B06C372: push 3 */ 10383 PUSH32(esp, 3); /* 0x2B06C374: push 3 */ 10384 edx = ebp + (-0x14); /* 0x2B06C376: lea edx, [ebp - 0x14] */ 10385 PUSH32(esp, edx); /* 0x2B06C379: push edx */ 10386 ecx = eax; /* 0x2B06C37A: mov ecx, eax */ 10387 RECOMP_ICALL(MEM32(0x2B0B58F8)); /* 0x2B06C37C: call dword ptr [0x2b0b58f8] */ 10388 RECOMP_FLAGS_IN(); 10389 goto L_2B06C386; /* 0x2B06C382: jmp 0x2b06c386 */ 10390 L_2B06C384: 10391 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10392 eax = 0; /* 0x2B06C384: xor eax, eax */ 10393 _cf = 0; 10394 _flag_k = FK_TEST; 10395 L_2B06C386: 10396 MEM32(ebx + 0xDC) = eax; /* 0x2B06C386: mov dword ptr [ebx + 0xdc], eax */ 10397 MEM32(eax + 0x5C) = 0x2B06D400u; /* 0x2B06C38C: mov dword ptr [eax + 0x5c], 0x2b06d400 */ 10398 MEM32(eax + 0x60) = ebx; /* 0x2B06C393: mov dword ptr [eax + 0x60], ebx */ 10399 eax = ebx + 0x5C; /* 0x2B06C396: lea eax, [ebx + 0x5c] */ 10400 PUSH32(esp, eax); /* 0x2B06C399: push eax */ 10401 ecx = ebx; /* 0x2B06C39A: mov ecx, ebx */ 10402 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C39C: mov byte ptr [ebp - 4], 1 */ 10403 RECOMP_ICALL(0x2B06CC00u); /* 0x2B06C3A0: call 0x2b06cc00 */ /* not lifted */ 10404 RECOMP_FLAGS_IN(); 10405 ecx = ebx; /* 0x2B06C3A5: mov ecx, ebx */ 10406 RECOMP_ICALL(0x2B06CBD0u); /* 0x2B06C3A7: call 0x2b06cbd0 */ /* not lifted */ 10407 RECOMP_FLAGS_IN(); 10408 eax = MEM32(0x2B0B6048); /* 0x2B06C3AC: mov eax, dword ptr [0x2b0b6048] */ 10409 ecx = MEM32(eax); /* 0x2B06C3B1: mov ecx, dword ptr [eax] */ 10410 PUSH32(esp, 1); /* 0x2B06C3B3: push 1 */ 10411 PUSH32(esp, 0x2B0EB490u); /* 0x2B06C3B5: push 0x2b0eb490 */ 10412 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B06C3BA: call dword ptr [0x2b0b602c] */ 10413 RECOMP_FLAGS_IN(); 10414 /* test eax, eax */ /* 0x2B06C3C0: test eax, eax */ 10415 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10416 _cf = 0; 10417 _flag_k = FK_TEST; 10418 SET_LO8(eax, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B06C3C2: setne al */ 10419 /* test LO8(eax), LO8(eax) */ /* 0x2B06C3C5: test al, al */ 10420 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10421 _cf = 0; 10422 _flag_k = FK_NARROW(FK_TEST, 24); 10423 MEM8(ebx + 0x58) = (uint8_t)(LO8(eax)); /* 0x2B06C3C7: mov byte ptr [ebx + 0x58], al */ 10424 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06C3DA; /* 0x2B06C3CA: jne 0x2b06c3da */ 10425 L_2B06C3CC: 10426 ecx = MEM32(ebx + 0xCC); /* 0x2B06C3CC: mov ecx, dword ptr [ebx + 0xcc] */ 10427 PUSH32(esp, 2); /* 0x2B06C3D2: push 2 */ 10428 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06C3D4: call dword ptr [0x2b0b5ab4] */ 10429 RECOMP_FLAGS_IN(); 10430 L_2B06C3DA: 10431 ecx = MEM32(ebp + (-0xC)); /* 0x2B06C3DA: mov ecx, dword ptr [ebp - 0xc] */ 10432 edi = POP32_VAL(esp); /* 0x2B06C3DD: pop edi */ 10433 esi = POP32_VAL(esp); /* 0x2B06C3DE: pop esi */ 10434 eax = ebx; /* 0x2B06C3DF: mov eax, ebx */ 10435 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06C3E1: mov dword ptr fs:[0], ecx */ 10436 ebx = POP32_VAL(esp); /* 0x2B06C3E8: pop ebx */ 10437 esp = ebp; /* 0x2B06C3E9: mov esp, ebp */ 10438 ebp = POP32_VAL(esp); /* 0x2B06C3EB: pop ebp */ 10439 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06C3EC: ret 4 */ 10440 RECOMP_REGS_OUT(); 10441 } 10442 10443 void sub_2B06BCE2(void) { 10444 int _fpu_cmp = 0; 10445 uint32_t _cf = 0; 10446 int _df = 1; 10447 uint32_t _flag_k = FK_NONE; 10448 uint32_t _flag_a = 0, _flag_b = 0; 10449 uint32_t _itail_tgt = 0; 10450 RECOMP_REGS_LOCALS 10451 RECOMP_ENTER(0x2B06BCE2u); 10452 10453 L_2B06BCE2: 10454 PUSH32(esp, 1); /* 0x2B06BCE2: push 1 */ 10455 MEM32(ebx + 0xA4) = eax; /* 0x2B06BCE4: mov dword ptr [ebx + 0xa4], eax */ 10456 eax = MEM32(eax + 0x28); /* 0x2B06BCEA: mov eax, dword ptr [eax + 0x28] */ 10457 PUSH32(esp, esi); /* 0x2B06BCED: push esi */ 10458 PUSH32(esp, esi); /* 0x2B06BCEE: push esi */ 10459 ecx = eax; /* 0x2B06BCEF: mov ecx, eax */ 10460 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BCF1: mov byte ptr [ebp - 4], 1 */ 10461 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B06BCF5: call dword ptr [0x2b0b564c] */ 10462 RECOMP_FLAGS_IN(); 10463 eax = MEM32(ebx + 0xA4); /* 0x2B06BCFB: mov eax, dword ptr [ebx + 0xa4] */ 10464 ecx = MEM32(eax + 0x28); /* 0x2B06BD01: mov ecx, dword ptr [eax + 0x28] */ 10465 PUSH32(esp, 0xFF00u); /* 0x2B06BD04: push 0xff00 */ 10466 PUSH32(esp, edi); /* 0x2B06BD09: push edi */ 10467 edx = ebp + (-0x14); /* 0x2B06BD0A: lea edx, [ebp - 0x14] */ 10468 PUSH32(esp, edx); /* 0x2B06BD0D: push edx */ 10469 eax = ebp + (-0x8C); /* 0x2B06BD0E: lea eax, [ebp - 0x8c] */ 10470 PUSH32(esp, eax); /* 0x2B06BD14: push eax */ 10471 RECOMP_ICALL(MEM32(0x2B0B5554)); /* 0x2B06BD15: call dword ptr [0x2b0b5554] */ 10472 RECOMP_FLAGS_IN(); 10473 ecx = MEM32(ebx + 0xA4); /* 0x2B06BD1B: mov ecx, dword ptr [ebx + 0xa4] */ 10474 RECOMP_ICALL(MEM32(0x2B0B5BDC)); /* 0x2B06BD21: call dword ptr [0x2b0b5bdc] */ 10475 RECOMP_FLAGS_IN(); 10476 PUSH32(esp, edi); /* 0x2B06BD27: push edi */ 10477 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06BD28: call dword ptr [0x2b0b5f80] */ 10478 RECOMP_FLAGS_IN(); 10479 ecx = eax; /* 0x2B06BD2E: mov ecx, eax */ 10480 RECOMP_ICALL(MEM32(0x2B0B5FB8)); /* 0x2B06BD30: call dword ptr [0x2b0b5fb8] */ 10481 RECOMP_FLAGS_IN(); 10482 PUSH32(esp, 0x9Cu); /* 0x2B06BD36: push 0x9c */ 10483 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BD3B: call 0x2b0ab212 */ /* not lifted */ 10484 RECOMP_FLAGS_IN(); 10485 edi = eax; /* 0x2B06BD40: mov edi, eax */ 10486 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10487 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10488 esp = esp + 4; /* 0x2B06BD42: add esp, 4 */ 10489 _flag_k = FK_ADD; 10490 MEM32(ebp + 0x8) = edi; /* 0x2B06BD45: mov dword ptr [ebp + 8], edi */ 10491 /* cmp edi, esi */ /* 0x2B06BD48: cmp edi, esi */ 10492 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 10493 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10494 _flag_k = FK_CMP; 10495 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B06BD4A: mov byte ptr [ebp - 4], 0xb */ 10496 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BD84; /* 0x2B06BD4E: je 0x2b06bd84 */ 10497 L_2B06BD50: 10498 ecx = MEM32(ebx + 0xA4); /* 0x2B06BD50: mov ecx, dword ptr [ebx + 0xa4] */ 10499 edx = MEM32(ebp + (-0x30)); /* 0x2B06BD56: mov edx, dword ptr [ebp - 0x30] */ 10500 eax = MEM32(ebp + (-0x34)); /* 0x2B06BD59: mov eax, dword ptr [ebp - 0x34] */ 10501 PUSH32(esp, ecx); /* 0x2B06BD5C: push ecx */ 10502 ecx = MEM32(ebp + (-0x10)); /* 0x2B06BD5D: mov ecx, dword ptr [ebp - 0x10] */ 10503 PUSH32(esp, 4); /* 0x2B06BD60: push 4 */ 10504 PUSH32(esp, esi); /* 0x2B06BD62: push esi */ 10505 PUSH32(esp, 0x6D61u); /* 0x2B06BD63: push 0x6d61 */ 10506 PUSH32(esp, esi); /* 0x2B06BD68: push esi */ 10507 PUSH32(esp, esi); /* 0x2B06BD69: push esi */ 10508 PUSH32(esp, esi); /* 0x2B06BD6A: push esi */ 10509 PUSH32(esp, edx); /* 0x2B06BD6B: push edx */ 10510 edx = MEM32(ebp + (-0x14)); /* 0x2B06BD6C: mov edx, dword ptr [ebp - 0x14] */ 10511 PUSH32(esp, eax); /* 0x2B06BD6F: push eax */ 10512 PUSH32(esp, ecx); /* 0x2B06BD70: push ecx */ 10513 PUSH32(esp, edx); /* 0x2B06BD71: push edx */ 10514 ecx = edi; /* 0x2B06BD72: mov ecx, edi */ 10515 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B06BD74: call dword ptr [0x2b0b5af0] */ 10516 RECOMP_FLAGS_IN(); 10517 MEM32(edi) = 0x2B0B642Cu; /* 0x2B06BD7A: mov dword ptr [edi], 0x2b0b642c */ 10518 eax = edi; /* 0x2B06BD80: mov eax, edi */ 10519 goto L_2B06BD86; /* 0x2B06BD82: jmp 0x2b06bd86 */ 10520 L_2B06BD84: 10521 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10522 eax = 0; /* 0x2B06BD84: xor eax, eax */ 10523 _cf = 0; 10524 _flag_k = FK_TEST; 10525 L_2B06BD86: 10526 MEM32(ebx + 0xD0) = eax; /* 0x2B06BD86: mov dword ptr [ebx + 0xd0], eax */ 10527 MEM32(eax + 0x7C) = 0x2B06D300u; /* 0x2B06BD8C: mov dword ptr [eax + 0x7c], 0x2b06d300 */ 10528 MEM32(eax + 0x80) = ebx; /* 0x2B06BD93: mov dword ptr [eax + 0x80], ebx */ 10529 MEM8(eax + 0x24) = (uint8_t)(1); /* 0x2B06BD99: mov byte ptr [eax + 0x24], 1 */ 10530 MEM8(eax + 0x25) = (uint8_t)(1); /* 0x2B06BD9D: mov byte ptr [eax + 0x25], 1 */ 10531 eax = MEM32(ebx + 0xD0); /* 0x2B06BDA1: mov eax, dword ptr [ebx + 0xd0] */ 10532 MEM32(eax + 0x1C) = 0x2B06D180u; /* 0x2B06BDA7: mov dword ptr [eax + 0x1c], 0x2b06d180 */ 10533 MEM32(eax + 0x20) = ebx; /* 0x2B06BDAE: mov dword ptr [eax + 0x20], ebx */ 10534 eax = MEM32(ebx + 0x7C); /* 0x2B06BDB1: mov eax, dword ptr [ebx + 0x7c] */ 10535 if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2B06BDB4: shl eax, 2 */ 10536 if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10537 eax = eax << 2u; /* 0x2B06BDB4: shl eax, 2 */ 10538 PUSH32(esp, 0x50u); /* 0x2B06BDB7: push 0x50 */ 10539 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BDB9: mov byte ptr [ebp - 4], 1 */ 10540 MEM32(ebp + (-0x34)) = eax; /* 0x2B06BDBD: mov dword ptr [ebp - 0x34], eax */ 10541 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BDC0: call 0x2b0ab212 */ /* not lifted */ 10542 RECOMP_FLAGS_IN(); 10543 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10544 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10545 esp = esp + 4; /* 0x2B06BDC5: add esp, 4 */ 10546 _flag_k = FK_ADD; 10547 MEM32(ebp + 0x8) = eax; /* 0x2B06BDC8: mov dword ptr [ebp + 8], eax */ 10548 /* cmp eax, esi */ /* 0x2B06BDCB: cmp eax, esi */ 10549 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 10550 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10551 _flag_k = FK_CMP; 10552 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x2B06BDCD: mov byte ptr [ebp - 4], 0xc */ 10553 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BDF9; /* 0x2B06BDD1: je 0x2b06bdf9 */ 10554 L_2B06BDD3: 10555 PUSH32(esp, esi); /* 0x2B06BDD3: push esi */ 10556 PUSH32(esp, 0x3F800000u); /* 0x2B06BDD4: push 0x3f800000 */ 10557 PUSH32(esp, 0x3F800000u); /* 0x2B06BDD9: push 0x3f800000 */ 10558 PUSH32(esp, 0x6D60u); /* 0x2B06BDDE: push 0x6d60 */ 10559 ecx = ebp + (-0x14); /* 0x2B06BDE3: lea ecx, [ebp - 0x14] */ 10560 PUSH32(esp, ecx); /* 0x2B06BDE6: push ecx */ 10561 edx = ebp + (-0x34); /* 0x2B06BDE7: lea edx, [ebp - 0x34] */ 10562 PUSH32(esp, edx); /* 0x2B06BDEA: push edx */ 10563 PUSH32(esp, 4); /* 0x2B06BDEB: push 4 */ 10564 PUSH32(esp, 6); /* 0x2B06BDED: push 6 */ 10565 ecx = eax; /* 0x2B06BDEF: mov ecx, eax */ 10566 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B06BDF1: call dword ptr [0x2b0b5bd8] */ 10567 RECOMP_FLAGS_IN(); 10568 goto L_2B06BDFB; /* 0x2B06BDF7: jmp 0x2b06bdfb */ 10569 L_2B06BDF9: 10570 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10571 eax = 0; /* 0x2B06BDF9: xor eax, eax */ 10572 _cf = 0; 10573 _flag_k = FK_TEST; 10574 L_2B06BDFB: 10575 PUSH32(esp, 1); /* 0x2B06BDFB: push 1 */ 10576 MEM32(ebx + 0xA8) = eax; /* 0x2B06BDFD: mov dword ptr [ebx + 0xa8], eax */ 10577 eax = MEM32(eax + 0x28); /* 0x2B06BE03: mov eax, dword ptr [eax + 0x28] */ 10578 PUSH32(esp, esi); /* 0x2B06BE06: push esi */ 10579 PUSH32(esp, esi); /* 0x2B06BE07: push esi */ 10580 ecx = eax; /* 0x2B06BE08: mov ecx, eax */ 10581 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BE0A: mov byte ptr [ebp - 4], 1 */ 10582 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B06BE0E: call dword ptr [0x2b0b564c] */ 10583 RECOMP_FLAGS_IN(); 10584 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10585 eax = 0; /* 0x2B06BE14: xor eax, eax */ 10586 _cf = 0; 10587 _flag_k = FK_TEST; 10588 ecx = 0xCu; /* 0x2B06BE16: mov ecx, 0xc */ 10589 edi = ebp + (-0x64); /* 0x2B06BE1B: lea edi, [ebp - 0x64] */ 10590 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BE1E: 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; } 10591 ecx = 0xCu; /* 0x2B06BE20: mov ecx, 0xc */ 10592 edi = ebp + (-0x64); /* 0x2B06BE25: lea edi, [ebp - 0x64] */ 10593 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BE28: 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; } 10594 eax = MEM32(ebx + 0x7C); /* 0x2B06BE2A: mov eax, dword ptr [ebx + 0x7c] */ 10595 PUSH32(esp, 0xBCu); /* 0x2B06BE2D: push 0xbc */ 10596 MEM32(ebp + (-0x58)) = 0x2B0EB4A8u; /* 0x2B06BE32: mov dword ptr [ebp - 0x58], 0x2b0eb4a8 */ 10597 MEM32(ebp + (-0x54)) = eax; /* 0x2B06BE39: mov dword ptr [ebp - 0x54], eax */ 10598 MEM32(ebp + (-0x4C)) = 0x6D61u; /* 0x2B06BE3C: mov dword ptr [ebp - 0x4c], 0x6d61 */ 10599 MEM32(ebp + (-0x64)) = 1; /* 0x2B06BE43: mov dword ptr [ebp - 0x64], 1 */ 10600 MEM32(ebp + (-0x44)) = 0x64u; /* 0x2B06BE4A: mov dword ptr [ebp - 0x44], 0x64 */ 10601 MEM32(ebp + (-0x40)) = 0x65u; /* 0x2B06BE51: mov dword ptr [ebp - 0x40], 0x65 */ 10602 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BE58: call 0x2b0ab212 */ /* not lifted */ 10603 RECOMP_FLAGS_IN(); 10604 edi = eax; /* 0x2B06BE5D: mov edi, eax */ 10605 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10606 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10607 esp = esp + 4; /* 0x2B06BE5F: add esp, 4 */ 10608 _flag_k = FK_ADD; 10609 MEM32(ebp + 0x8) = edi; /* 0x2B06BE62: mov dword ptr [ebp + 8], edi */ 10610 /* cmp edi, esi */ /* 0x2B06BE65: cmp edi, esi */ 10611 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 10612 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10613 _flag_k = FK_CMP; 10614 MEM8(ebp + (-0x4)) = (uint8_t)(0xDu); /* 0x2B06BE67: mov byte ptr [ebp - 4], 0xd */ 10615 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BE8A; /* 0x2B06BE6B: je 0x2b06be8a */ 10616 L_2B06BE6D: 10617 ecx = MEM32(ebx + 0xA8); /* 0x2B06BE6D: mov ecx, dword ptr [ebx + 0xa8] */ 10618 PUSH32(esp, ecx); /* 0x2B06BE73: push ecx */ 10619 edx = ebp + (-0x64); /* 0x2B06BE74: lea edx, [ebp - 0x64] */ 10620 PUSH32(esp, edx); /* 0x2B06BE77: push edx */ 10621 ecx = edi; /* 0x2B06BE78: mov ecx, edi */ 10622 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B06BE7A: call dword ptr [0x2b0b5afc] */ 10623 RECOMP_FLAGS_IN(); 10624 MEM32(edi) = 0x2B0B645Cu; /* 0x2B06BE80: mov dword ptr [edi], 0x2b0b645c */ 10625 ecx = edi; /* 0x2B06BE86: mov ecx, edi */ 10626 goto L_2B06BE8C; /* 0x2B06BE88: jmp 0x2b06be8c */ 10627 L_2B06BE8A: 10628 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10629 ecx = 0; /* 0x2B06BE8A: xor ecx, ecx */ 10630 _cf = 0; 10631 _flag_k = FK_TEST; 10632 L_2B06BE8C: 10633 PUSH32(esp, ebx); /* 0x2B06BE8C: push ebx */ 10634 PUSH32(esp, 0x2B06D3A0u); /* 0x2B06BE8D: push 0x2b06d3a0 */ 10635 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BE92: mov byte ptr [ebp - 4], 1 */ 10636 MEM32(ebx + 0xCC) = ecx; /* 0x2B06BE96: mov dword ptr [ebx + 0xcc], ecx */ 10637 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B06BE9C: call dword ptr [0x2b0b5af8] */ 10638 RECOMP_FLAGS_IN(); 10639 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10640 eax = 0; /* 0x2B06BEA2: xor eax, eax */ 10641 _cf = 0; 10642 _flag_k = FK_TEST; 10643 ecx = 0xCu; /* 0x2B06BEA4: mov ecx, 0xc */ 10644 edi = ebp + (-0x64); /* 0x2B06BEA9: lea edi, [ebp - 0x64] */ 10645 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BEAC: 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; } 10646 eax = MEM32(ebx + 0x7C); /* 0x2B06BEAE: mov eax, dword ptr [ebx + 0x7c] */ 10647 if (1u) _cf = (((eax) >> 31) & 1u); /* 0x2B06BEB1: shl eax, 1 */ 10648 if (1u) { _flag_a = recomp_flags_pack((eax << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10649 eax = eax << 1u; /* 0x2B06BEB1: shl eax, 1 */ 10650 PUSH32(esp, 0xBCu); /* 0x2B06BEB3: push 0xbc */ 10651 MEM32(ebp + (-0x54)) = eax; /* 0x2B06BEB8: mov dword ptr [ebp - 0x54], eax */ 10652 MEM32(ebp + (-0x58)) = 0x2B0EB4A0u; /* 0x2B06BEBB: mov dword ptr [ebp - 0x58], 0x2b0eb4a0 */ 10653 MEM32(ebp + (-0x4C)) = 0x6D61u; /* 0x2B06BEC2: mov dword ptr [ebp - 0x4c], 0x6d61 */ 10654 MEM32(ebp + (-0x48)) = 0x66u; /* 0x2B06BEC9: mov dword ptr [ebp - 0x48], 0x66 */ 10655 MEM32(ebp + (-0x44)) = 0x67u; /* 0x2B06BED0: mov dword ptr [ebp - 0x44], 0x67 */ 10656 MEM32(ebp + (-0x40)) = 0x68u; /* 0x2B06BED7: mov dword ptr [ebp - 0x40], 0x68 */ 10657 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BEDE: call 0x2b0ab212 */ /* not lifted */ 10658 RECOMP_FLAGS_IN(); 10659 edi = eax; /* 0x2B06BEE3: mov edi, eax */ 10660 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10661 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10662 esp = esp + 4; /* 0x2B06BEE5: add esp, 4 */ 10663 _flag_k = FK_ADD; 10664 MEM32(ebp + 0x8) = edi; /* 0x2B06BEE8: mov dword ptr [ebp + 8], edi */ 10665 /* cmp edi, esi */ /* 0x2B06BEEB: cmp edi, esi */ 10666 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 10667 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10668 _flag_k = FK_CMP; 10669 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x2B06BEED: mov byte ptr [ebp - 4], 0xe */ 10670 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BF10; /* 0x2B06BEF1: je 0x2b06bf10 */ 10671 L_2B06BEF3: 10672 ecx = MEM32(ebx + 0xA8); /* 0x2B06BEF3: mov ecx, dword ptr [ebx + 0xa8] */ 10673 PUSH32(esp, ecx); /* 0x2B06BEF9: push ecx */ 10674 edx = ebp + (-0x64); /* 0x2B06BEFA: lea edx, [ebp - 0x64] */ 10675 PUSH32(esp, edx); /* 0x2B06BEFD: push edx */ 10676 ecx = edi; /* 0x2B06BEFE: mov ecx, edi */ 10677 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B06BF00: call dword ptr [0x2b0b5afc] */ 10678 RECOMP_FLAGS_IN(); 10679 MEM32(edi) = 0x2B0B645Cu; /* 0x2B06BF06: mov dword ptr [edi], 0x2b0b645c */ 10680 ecx = edi; /* 0x2B06BF0C: mov ecx, edi */ 10681 goto L_2B06BF12; /* 0x2B06BF0E: jmp 0x2b06bf12 */ 10682 L_2B06BF10: 10683 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10684 ecx = 0; /* 0x2B06BF10: xor ecx, ecx */ 10685 _cf = 0; 10686 _flag_k = FK_TEST; 10687 L_2B06BF12: 10688 PUSH32(esp, ebx); /* 0x2B06BF12: push ebx */ 10689 PUSH32(esp, 0x2B06D360u); /* 0x2B06BF13: push 0x2b06d360 */ 10690 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BF18: mov byte ptr [ebp - 4], 1 */ 10691 MEM32(ebx + 0xC8) = ecx; /* 0x2B06BF1C: mov dword ptr [ebx + 0xc8], ecx */ 10692 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B06BF22: call dword ptr [0x2b0b5af8] */ 10693 RECOMP_FLAGS_IN(); 10694 ecx = MEM32(ebx + 0xC8); /* 0x2B06BF28: mov ecx, dword ptr [ebx + 0xc8] */ 10695 PUSH32(esp, esi); /* 0x2B06BF2E: push esi */ 10696 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06BF2F: call dword ptr [0x2b0b5ab4] */ 10697 RECOMP_FLAGS_IN(); 10698 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10699 eax = 0; /* 0x2B06BF35: xor eax, eax */ 10700 _cf = 0; 10701 _flag_k = FK_TEST; 10702 ecx = 0xCu; /* 0x2B06BF37: mov ecx, 0xc */ 10703 edi = ebp + (-0x64); /* 0x2B06BF3C: lea edi, [ebp - 0x64] */ 10704 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BF3F: 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; } 10705 eax = MEM32(ebx + 0x7C); /* 0x2B06BF41: mov eax, dword ptr [ebx + 0x7c] */ 10706 eax = eax + eax * 2; /* 0x2B06BF44: lea eax, [eax + eax*2] */ 10707 PUSH32(esp, 0xBCu); /* 0x2B06BF47: push 0xbc */ 10708 MEM32(ebp + (-0x54)) = eax; /* 0x2B06BF4C: mov dword ptr [ebp - 0x54], eax */ 10709 MEM32(ebp + (-0x58)) = 0x2B0E6EE8u; /* 0x2B06BF4F: mov dword ptr [ebp - 0x58], 0x2b0e6ee8 */ 10710 MEM32(ebp + (-0x4C)) = 0x6D61u; /* 0x2B06BF56: mov dword ptr [ebp - 0x4c], 0x6d61 */ 10711 MEM32(ebp + (-0x48)) = 0xAu; /* 0x2B06BF5D: mov dword ptr [ebp - 0x48], 0xa */ 10712 MEM32(ebp + (-0x44)) = 0x69u; /* 0x2B06BF64: mov dword ptr [ebp - 0x44], 0x69 */ 10713 MEM32(ebp + (-0x40)) = 0x6Au; /* 0x2B06BF6B: mov dword ptr [ebp - 0x40], 0x6a */ 10714 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BF72: call 0x2b0ab212 */ /* not lifted */ 10715 RECOMP_FLAGS_IN(); 10716 edi = eax; /* 0x2B06BF77: mov edi, eax */ 10717 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10718 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10719 esp = esp + 4; /* 0x2B06BF79: add esp, 4 */ 10720 _flag_k = FK_ADD; 10721 MEM32(ebp + 0x8) = edi; /* 0x2B06BF7C: mov dword ptr [ebp + 8], edi */ 10722 /* cmp edi, esi */ /* 0x2B06BF7F: cmp edi, esi */ 10723 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 10724 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10725 _flag_k = FK_CMP; 10726 MEM8(ebp + (-0x4)) = (uint8_t)(0xFu); /* 0x2B06BF81: mov byte ptr [ebp - 4], 0xf */ 10727 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BFA4; /* 0x2B06BF85: je 0x2b06bfa4 */ 10728 L_2B06BF87: 10729 ecx = MEM32(ebx + 0xA8); /* 0x2B06BF87: mov ecx, dword ptr [ebx + 0xa8] */ 10730 PUSH32(esp, ecx); /* 0x2B06BF8D: push ecx */ 10731 edx = ebp + (-0x64); /* 0x2B06BF8E: lea edx, [ebp - 0x64] */ 10732 PUSH32(esp, edx); /* 0x2B06BF91: push edx */ 10733 ecx = edi; /* 0x2B06BF92: mov ecx, edi */ 10734 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B06BF94: call dword ptr [0x2b0b5afc] */ 10735 RECOMP_FLAGS_IN(); 10736 MEM32(edi) = 0x2B0B645Cu; /* 0x2B06BF9A: mov dword ptr [edi], 0x2b0b645c */ 10737 ecx = edi; /* 0x2B06BFA0: mov ecx, edi */ 10738 goto L_2B06BFA6; /* 0x2B06BFA2: jmp 0x2b06bfa6 */ 10739 L_2B06BFA4: 10740 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10741 ecx = 0; /* 0x2B06BFA4: xor ecx, ecx */ 10742 _cf = 0; 10743 _flag_k = FK_TEST; 10744 L_2B06BFA6: 10745 PUSH32(esp, ebx); /* 0x2B06BFA6: push ebx */ 10746 PUSH32(esp, 0x2B06D340u); /* 0x2B06BFA7: push 0x2b06d340 */ 10747 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BFAC: mov byte ptr [ebp - 4], 1 */ 10748 MEM32(ebx + 0xC4) = ecx; /* 0x2B06BFB0: mov dword ptr [ebx + 0xc4], ecx */ 10749 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B06BFB6: call dword ptr [0x2b0b5af8] */ 10750 RECOMP_FLAGS_IN(); 10751 PUSH32(esp, 2); /* 0x2B06BFBC: push 2 */ 10752 PUSH32(esp, 8); /* 0x2B06BFBE: push 8 */ 10753 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06BFC0: call dword ptr [0x2b0b5f80] */ 10754 RECOMP_FLAGS_IN(); 10755 ecx = eax; /* 0x2B06BFC6: mov ecx, eax */ 10756 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06BFC8: call dword ptr [0x2b0b5fbc] */ 10757 RECOMP_FLAGS_IN(); 10758 PUSH32(esp, 0xD8u); /* 0x2B06BFCE: push 0xd8 */ 10759 MEM32(ebp + 0x8) = eax; /* 0x2B06BFD3: mov dword ptr [ebp + 8], eax */ 10760 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BFD6: call 0x2b0ab212 */ /* not lifted */ 10761 RECOMP_FLAGS_IN(); 10762 edi = eax; /* 0x2B06BFDB: mov edi, eax */ 10763 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10764 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10765 esp = esp + 4; /* 0x2B06BFDD: add esp, 4 */ 10766 _flag_k = FK_ADD; 10767 MEM32(ebp + (-0x28)) = edi; /* 0x2B06BFE0: mov dword ptr [ebp - 0x28], edi */ 10768 /* cmp edi, esi */ /* 0x2B06BFE3: cmp edi, esi */ 10769 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 10770 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10771 _flag_k = FK_CMP; 10772 MEM8(ebp + (-0x4)) = (uint8_t)(0x10u); /* 0x2B06BFE5: mov byte ptr [ebp - 4], 0x10 */ 10773 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C01F; /* 0x2B06BFE9: je 0x2b06c01f */ 10774 L_2B06BFEB: 10775 edx = MEM32(ebp + 0x8); /* 0x2B06BFEB: mov edx, dword ptr [ebp + 8] */ 10776 eax = ebp + (-0x18); /* 0x2B06BFEE: lea eax, [ebp - 0x18] */ 10777 PUSH32(esp, eax); /* 0x2B06BFF1: push eax */ 10778 ecx = ebp + (-0x20); /* 0x2B06BFF2: lea ecx, [ebp - 0x20] */ 10779 PUSH32(esp, ecx); /* 0x2B06BFF5: push ecx */ 10780 PUSH32(esp, esi); /* 0x2B06BFF6: push esi */ 10781 PUSH32(esp, 0x6D60u); /* 0x2B06BFF7: push 0x6d60 */ 10782 PUSH32(esp, edx); /* 0x2B06BFFC: push edx */ 10783 eax = ebp + (-0x14); /* 0x2B06BFFD: lea eax, [ebp - 0x14] */ 10784 PUSH32(esp, eax); /* 0x2B06C000: push eax */ 10785 ecx = edi; /* 0x2B06C001: mov ecx, edi */ 10786 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C003: mov dword ptr [ebp - 0x18], 0x3f800000 */ 10787 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C00A: mov dword ptr [ebp - 0x20], 0x3f800000 */ 10788 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C011: call dword ptr [0x2b0b5654] */ 10789 RECOMP_FLAGS_IN(); 10790 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C017: mov dword ptr [edi], 0x2b0b618c */ 10791 goto L_2B06C021; /* 0x2B06C01D: jmp 0x2b06c021 */ 10792 L_2B06C01F: 10793 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10794 edi = 0; /* 0x2B06C01F: xor edi, edi */ 10795 _cf = 0; 10796 _flag_k = FK_TEST; 10797 L_2B06C021: 10798 PUSH32(esp, 2); /* 0x2B06C021: push 2 */ 10799 PUSH32(esp, 7); /* 0x2B06C023: push 7 */ 10800 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C025: mov byte ptr [ebp - 4], 1 */ 10801 MEM32(ebx + 0xAC) = edi; /* 0x2B06C029: mov dword ptr [ebx + 0xac], edi */ 10802 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C02F: call dword ptr [0x2b0b5f80] */ 10803 RECOMP_FLAGS_IN(); 10804 ecx = eax; /* 0x2B06C035: mov ecx, eax */ 10805 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C037: call dword ptr [0x2b0b5fbc] */ 10806 RECOMP_FLAGS_IN(); 10807 PUSH32(esp, 0xD8u); /* 0x2B06C03D: push 0xd8 */ 10808 MEM32(ebp + 0x8) = eax; /* 0x2B06C042: mov dword ptr [ebp + 8], eax */ 10809 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C045: call 0x2b0ab212 */ /* not lifted */ 10810 RECOMP_FLAGS_IN(); 10811 edi = eax; /* 0x2B06C04A: mov edi, eax */ 10812 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10813 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10814 esp = esp + 4; /* 0x2B06C04C: add esp, 4 */ 10815 _flag_k = FK_ADD; 10816 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C04F: mov dword ptr [ebp - 0x28], edi */ 10817 /* cmp edi, esi */ /* 0x2B06C052: cmp edi, esi */ 10818 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 10819 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10820 _flag_k = FK_CMP; 10821 MEM8(ebp + (-0x4)) = (uint8_t)(0x11u); /* 0x2B06C054: mov byte ptr [ebp - 4], 0x11 */ 10822 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C08E; /* 0x2B06C058: je 0x2b06c08e */ 10823 L_2B06C05A: 10824 eax = MEM32(ebp + 0x8); /* 0x2B06C05A: mov eax, dword ptr [ebp + 8] */ 10825 ecx = ebp + (-0x20); /* 0x2B06C05D: lea ecx, [ebp - 0x20] */ 10826 PUSH32(esp, ecx); /* 0x2B06C060: push ecx */ 10827 edx = ebp + (-0x18); /* 0x2B06C061: lea edx, [ebp - 0x18] */ 10828 PUSH32(esp, edx); /* 0x2B06C064: push edx */ 10829 PUSH32(esp, esi); /* 0x2B06C065: push esi */ 10830 PUSH32(esp, 0x6D60u); /* 0x2B06C066: push 0x6d60 */ 10831 PUSH32(esp, eax); /* 0x2B06C06B: push eax */ 10832 ecx = ebp + (-0x14); /* 0x2B06C06C: lea ecx, [ebp - 0x14] */ 10833 PUSH32(esp, ecx); /* 0x2B06C06F: push ecx */ 10834 ecx = edi; /* 0x2B06C070: mov ecx, edi */ 10835 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C072: mov dword ptr [ebp - 0x20], 0x3f800000 */ 10836 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C079: mov dword ptr [ebp - 0x18], 0x3f800000 */ 10837 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C080: call dword ptr [0x2b0b5654] */ 10838 RECOMP_FLAGS_IN(); 10839 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C086: mov dword ptr [edi], 0x2b0b618c */ 10840 goto L_2B06C090; /* 0x2B06C08C: jmp 0x2b06c090 */ 10841 L_2B06C08E: 10842 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10843 edi = 0; /* 0x2B06C08E: xor edi, edi */ 10844 _cf = 0; 10845 _flag_k = FK_TEST; 10846 L_2B06C090: 10847 PUSH32(esp, 2); /* 0x2B06C090: push 2 */ 10848 PUSH32(esp, 6); /* 0x2B06C092: push 6 */ 10849 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C094: mov byte ptr [ebp - 4], 1 */ 10850 MEM32(ebx + 0xB0) = edi; /* 0x2B06C098: mov dword ptr [ebx + 0xb0], edi */ 10851 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C09E: call dword ptr [0x2b0b5f80] */ 10852 RECOMP_FLAGS_IN(); 10853 ecx = eax; /* 0x2B06C0A4: mov ecx, eax */ 10854 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C0A6: call dword ptr [0x2b0b5fbc] */ 10855 RECOMP_FLAGS_IN(); 10856 PUSH32(esp, 0xD8u); /* 0x2B06C0AC: push 0xd8 */ 10857 MEM32(ebp + 0x8) = eax; /* 0x2B06C0B1: mov dword ptr [ebp + 8], eax */ 10858 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C0B4: call 0x2b0ab212 */ /* not lifted */ 10859 RECOMP_FLAGS_IN(); 10860 edi = eax; /* 0x2B06C0B9: mov edi, eax */ 10861 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10862 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10863 esp = esp + 4; /* 0x2B06C0BB: add esp, 4 */ 10864 _flag_k = FK_ADD; 10865 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C0BE: mov dword ptr [ebp - 0x28], edi */ 10866 /* cmp edi, esi */ /* 0x2B06C0C1: cmp edi, esi */ 10867 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 10868 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10869 _flag_k = FK_CMP; 10870 MEM8(ebp + (-0x4)) = (uint8_t)(0x12u); /* 0x2B06C0C3: mov byte ptr [ebp - 4], 0x12 */ 10871 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C0FD; /* 0x2B06C0C7: je 0x2b06c0fd */ 10872 L_2B06C0C9: 10873 ecx = MEM32(ebp + 0x8); /* 0x2B06C0C9: mov ecx, dword ptr [ebp + 8] */ 10874 edx = ebp + (-0x20); /* 0x2B06C0CC: lea edx, [ebp - 0x20] */ 10875 PUSH32(esp, edx); /* 0x2B06C0CF: push edx */ 10876 eax = ebp + (-0x18); /* 0x2B06C0D0: lea eax, [ebp - 0x18] */ 10877 PUSH32(esp, eax); /* 0x2B06C0D3: push eax */ 10878 PUSH32(esp, esi); /* 0x2B06C0D4: push esi */ 10879 PUSH32(esp, 0x6D60u); /* 0x2B06C0D5: push 0x6d60 */ 10880 PUSH32(esp, ecx); /* 0x2B06C0DA: push ecx */ 10881 edx = ebp + (-0x14); /* 0x2B06C0DB: lea edx, [ebp - 0x14] */ 10882 PUSH32(esp, edx); /* 0x2B06C0DE: push edx */ 10883 ecx = edi; /* 0x2B06C0DF: mov ecx, edi */ 10884 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C0E1: mov dword ptr [ebp - 0x20], 0x3f800000 */ 10885 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C0E8: mov dword ptr [ebp - 0x18], 0x3f800000 */ 10886 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C0EF: call dword ptr [0x2b0b5654] */ 10887 RECOMP_FLAGS_IN(); 10888 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C0F5: mov dword ptr [edi], 0x2b0b618c */ 10889 goto L_2B06C0FF; /* 0x2B06C0FB: jmp 0x2b06c0ff */ 10890 L_2B06C0FD: 10891 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10892 edi = 0; /* 0x2B06C0FD: xor edi, edi */ 10893 _cf = 0; 10894 _flag_k = FK_TEST; 10895 L_2B06C0FF: 10896 PUSH32(esp, 2); /* 0x2B06C0FF: push 2 */ 10897 PUSH32(esp, 5); /* 0x2B06C101: push 5 */ 10898 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C103: mov byte ptr [ebp - 4], 1 */ 10899 MEM32(ebx + 0xB4) = edi; /* 0x2B06C107: mov dword ptr [ebx + 0xb4], edi */ 10900 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C10D: call dword ptr [0x2b0b5f80] */ 10901 RECOMP_FLAGS_IN(); 10902 ecx = eax; /* 0x2B06C113: mov ecx, eax */ 10903 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C115: call dword ptr [0x2b0b5fbc] */ 10904 RECOMP_FLAGS_IN(); 10905 PUSH32(esp, 0xD8u); /* 0x2B06C11B: push 0xd8 */ 10906 MEM32(ebp + 0x8) = eax; /* 0x2B06C120: mov dword ptr [ebp + 8], eax */ 10907 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C123: call 0x2b0ab212 */ /* not lifted */ 10908 RECOMP_FLAGS_IN(); 10909 edi = eax; /* 0x2B06C128: mov edi, eax */ 10910 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10911 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10912 esp = esp + 4; /* 0x2B06C12A: add esp, 4 */ 10913 _flag_k = FK_ADD; 10914 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C12D: mov dword ptr [ebp - 0x28], edi */ 10915 /* cmp edi, esi */ /* 0x2B06C130: cmp edi, esi */ 10916 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 10917 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10918 _flag_k = FK_CMP; 10919 MEM8(ebp + (-0x4)) = (uint8_t)(0x13u); /* 0x2B06C132: mov byte ptr [ebp - 4], 0x13 */ 10920 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C16C; /* 0x2B06C136: je 0x2b06c16c */ 10921 L_2B06C138: 10922 edx = MEM32(ebp + 0x8); /* 0x2B06C138: mov edx, dword ptr [ebp + 8] */ 10923 eax = ebp + (-0x20); /* 0x2B06C13B: lea eax, [ebp - 0x20] */ 10924 PUSH32(esp, eax); /* 0x2B06C13E: push eax */ 10925 ecx = ebp + (-0x18); /* 0x2B06C13F: lea ecx, [ebp - 0x18] */ 10926 PUSH32(esp, ecx); /* 0x2B06C142: push ecx */ 10927 PUSH32(esp, esi); /* 0x2B06C143: push esi */ 10928 PUSH32(esp, 0x6D60u); /* 0x2B06C144: push 0x6d60 */ 10929 PUSH32(esp, edx); /* 0x2B06C149: push edx */ 10930 eax = ebp + (-0x14); /* 0x2B06C14A: lea eax, [ebp - 0x14] */ 10931 PUSH32(esp, eax); /* 0x2B06C14D: push eax */ 10932 ecx = edi; /* 0x2B06C14E: mov ecx, edi */ 10933 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C150: mov dword ptr [ebp - 0x20], 0x3f800000 */ 10934 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C157: mov dword ptr [ebp - 0x18], 0x3f800000 */ 10935 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C15E: call dword ptr [0x2b0b5654] */ 10936 RECOMP_FLAGS_IN(); 10937 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C164: mov dword ptr [edi], 0x2b0b618c */ 10938 goto L_2B06C16E; /* 0x2B06C16A: jmp 0x2b06c16e */ 10939 L_2B06C16C: 10940 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10941 edi = 0; /* 0x2B06C16C: xor edi, edi */ 10942 _cf = 0; 10943 _flag_k = FK_TEST; 10944 L_2B06C16E: 10945 PUSH32(esp, 2); /* 0x2B06C16E: push 2 */ 10946 PUSH32(esp, 3); /* 0x2B06C170: push 3 */ 10947 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C172: mov byte ptr [ebp - 4], 1 */ 10948 MEM32(ebx + 0xB8) = edi; /* 0x2B06C176: mov dword ptr [ebx + 0xb8], edi */ 10949 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C17C: call dword ptr [0x2b0b5f80] */ 10950 RECOMP_FLAGS_IN(); 10951 ecx = eax; /* 0x2B06C182: mov ecx, eax */ 10952 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C184: call dword ptr [0x2b0b5fbc] */ 10953 RECOMP_FLAGS_IN(); 10954 PUSH32(esp, 0xD8u); /* 0x2B06C18A: push 0xd8 */ 10955 MEM32(ebp + 0x8) = eax; /* 0x2B06C18F: mov dword ptr [ebp + 8], eax */ 10956 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C192: call 0x2b0ab212 */ /* not lifted */ 10957 RECOMP_FLAGS_IN(); 10958 edi = eax; /* 0x2B06C197: mov edi, eax */ 10959 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10960 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10961 esp = esp + 4; /* 0x2B06C199: add esp, 4 */ 10962 _flag_k = FK_ADD; 10963 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C19C: mov dword ptr [ebp - 0x28], edi */ 10964 /* cmp edi, esi */ /* 0x2B06C19F: cmp edi, esi */ 10965 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 10966 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10967 _flag_k = FK_CMP; 10968 MEM8(ebp + (-0x4)) = (uint8_t)(0x14u); /* 0x2B06C1A1: mov byte ptr [ebp - 4], 0x14 */ 10969 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C1DB; /* 0x2B06C1A5: je 0x2b06c1db */ 10970 L_2B06C1A7: 10971 eax = MEM32(ebp + 0x8); /* 0x2B06C1A7: mov eax, dword ptr [ebp + 8] */ 10972 ecx = ebp + (-0x20); /* 0x2B06C1AA: lea ecx, [ebp - 0x20] */ 10973 PUSH32(esp, ecx); /* 0x2B06C1AD: push ecx */ 10974 edx = ebp + (-0x18); /* 0x2B06C1AE: lea edx, [ebp - 0x18] */ 10975 PUSH32(esp, edx); /* 0x2B06C1B1: push edx */ 10976 PUSH32(esp, esi); /* 0x2B06C1B2: push esi */ 10977 PUSH32(esp, 0x6D60u); /* 0x2B06C1B3: push 0x6d60 */ 10978 PUSH32(esp, eax); /* 0x2B06C1B8: push eax */ 10979 ecx = ebp + (-0x14); /* 0x2B06C1B9: lea ecx, [ebp - 0x14] */ 10980 PUSH32(esp, ecx); /* 0x2B06C1BC: push ecx */ 10981 ecx = edi; /* 0x2B06C1BD: mov ecx, edi */ 10982 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C1BF: mov dword ptr [ebp - 0x20], 0x3f800000 */ 10983 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C1C6: mov dword ptr [ebp - 0x18], 0x3f800000 */ 10984 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C1CD: call dword ptr [0x2b0b5654] */ 10985 RECOMP_FLAGS_IN(); 10986 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C1D3: mov dword ptr [edi], 0x2b0b618c */ 10987 goto L_2B06C1DD; /* 0x2B06C1D9: jmp 0x2b06c1dd */ 10988 L_2B06C1DB: 10989 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10990 edi = 0; /* 0x2B06C1DB: xor edi, edi */ 10991 _cf = 0; 10992 _flag_k = FK_TEST; 10993 L_2B06C1DD: 10994 PUSH32(esp, 2); /* 0x2B06C1DD: push 2 */ 10995 PUSH32(esp, 4); /* 0x2B06C1DF: push 4 */ 10996 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C1E1: mov byte ptr [ebp - 4], 1 */ 10997 MEM32(ebx + 0xBC) = edi; /* 0x2B06C1E5: mov dword ptr [ebx + 0xbc], edi */ 10998 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C1EB: call dword ptr [0x2b0b5f80] */ 10999 RECOMP_FLAGS_IN(); 11000 ecx = eax; /* 0x2B06C1F1: mov ecx, eax */ 11001 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C1F3: call dword ptr [0x2b0b5fbc] */ 11002 RECOMP_FLAGS_IN(); 11003 PUSH32(esp, 0xD8u); /* 0x2B06C1F9: push 0xd8 */ 11004 MEM32(ebp + 0x8) = eax; /* 0x2B06C1FE: mov dword ptr [ebp + 8], eax */ 11005 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C201: call 0x2b0ab212 */ /* not lifted */ 11006 RECOMP_FLAGS_IN(); 11007 edi = eax; /* 0x2B06C206: mov edi, eax */ 11008 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11009 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11010 esp = esp + 4; /* 0x2B06C208: add esp, 4 */ 11011 _flag_k = FK_ADD; 11012 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C20B: mov dword ptr [ebp - 0x28], edi */ 11013 /* cmp edi, esi */ /* 0x2B06C20E: cmp edi, esi */ 11014 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 11015 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11016 _flag_k = FK_CMP; 11017 MEM8(ebp + (-0x4)) = (uint8_t)(0x15u); /* 0x2B06C210: mov byte ptr [ebp - 4], 0x15 */ 11018 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C24A; /* 0x2B06C214: je 0x2b06c24a */ 11019 L_2B06C216: 11020 ecx = MEM32(ebp + 0x8); /* 0x2B06C216: mov ecx, dword ptr [ebp + 8] */ 11021 edx = ebp + (-0x20); /* 0x2B06C219: lea edx, [ebp - 0x20] */ 11022 PUSH32(esp, edx); /* 0x2B06C21C: push edx */ 11023 eax = ebp + (-0x18); /* 0x2B06C21D: lea eax, [ebp - 0x18] */ 11024 PUSH32(esp, eax); /* 0x2B06C220: push eax */ 11025 PUSH32(esp, esi); /* 0x2B06C221: push esi */ 11026 PUSH32(esp, 0x6D60u); /* 0x2B06C222: push 0x6d60 */ 11027 PUSH32(esp, ecx); /* 0x2B06C227: push ecx */ 11028 edx = ebp + (-0x14); /* 0x2B06C228: lea edx, [ebp - 0x14] */ 11029 PUSH32(esp, edx); /* 0x2B06C22B: push edx */ 11030 ecx = edi; /* 0x2B06C22C: mov ecx, edi */ 11031 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C22E: mov dword ptr [ebp - 0x20], 0x3f800000 */ 11032 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C235: mov dword ptr [ebp - 0x18], 0x3f800000 */ 11033 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C23C: call dword ptr [0x2b0b5654] */ 11034 RECOMP_FLAGS_IN(); 11035 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C242: mov dword ptr [edi], 0x2b0b618c */ 11036 goto L_2B06C24C; /* 0x2B06C248: jmp 0x2b06c24c */ 11037 L_2B06C24A: 11038 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11039 edi = 0; /* 0x2B06C24A: xor edi, edi */ 11040 _cf = 0; 11041 _flag_k = FK_TEST; 11042 L_2B06C24C: 11043 eax = MEM32(ebx + 0x78); /* 0x2B06C24C: mov eax, dword ptr [ebx + 0x78] */ 11044 ecx = eax + (-0x16); /* 0x2B06C24F: lea ecx, [eax - 0x16] */ 11045 MEM32(ebx + 0xC0) = edi; /* 0x2B06C252: mov dword ptr [ebx + 0xc0], edi */ 11046 MEM32(ebp + (-0xC0)) = ecx; /* 0x2B06C258: mov dword ptr [ebp - 0xc0], ecx */ 11047 MEM32(ebp + (-0xAC)) = eax; /* 0x2B06C25E: mov dword ptr [ebp - 0xac], eax */ 11048 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11049 eax = 0; /* 0x2B06C264: xor eax, eax */ 11050 _cf = 0; 11051 _flag_k = FK_TEST; 11052 MEM32(ebp + (-0xE0)) = esi; /* 0x2B06C266: mov dword ptr [ebp - 0xe0], esi */ 11053 MEM32(ebp + (-0xDC)) = esi; /* 0x2B06C26C: mov dword ptr [ebp - 0xdc], esi */ 11054 MEM32(ebp + (-0xD8)) = esi; /* 0x2B06C272: mov dword ptr [ebp - 0xd8], esi */ 11055 MEM32(ebp + (-0xD4)) = 0x6D65u; /* 0x2B06C278: mov dword ptr [ebp - 0xd4], 0x6d65 */ 11056 MEM32(ebp + (-0xD0)) = esi; /* 0x2B06C282: mov dword ptr [ebp - 0xd0], esi */ 11057 MEM32(ebp + (-0xCC)) = esi; /* 0x2B06C288: mov dword ptr [ebp - 0xcc], esi */ 11058 MEM32(ebp + (-0xC8)) = esi; /* 0x2B06C28E: mov dword ptr [ebp - 0xc8], esi */ 11059 MEM32(ebp + (-0xC4)) = esi; /* 0x2B06C294: mov dword ptr [ebp - 0xc4], esi */ 11060 MEM32(ebp + (-0xBC)) = esi; /* 0x2B06C29A: mov dword ptr [ebp - 0xbc], esi */ 11061 MEM32(ebp + (-0xB8)) = esi; /* 0x2B06C2A0: mov dword ptr [ebp - 0xb8], esi */ 11062 MEM32(ebp + (-0xB4)) = esi; /* 0x2B06C2A6: mov dword ptr [ebp - 0xb4], esi */ 11063 MEM32(ebp + (-0xB0)) = 1; /* 0x2B06C2AC: mov dword ptr [ebp - 0xb0], 1 */ 11064 ecx = 6; /* 0x2B06C2B6: mov ecx, 6 */ 11065 edi = ebp + (-0xA8); /* 0x2B06C2BB: lea edi, [ebp - 0xa8] */ 11066 PUSH32(esp, 0xC8u); /* 0x2B06C2C1: push 0xc8 */ 11067 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C2C6: mov byte ptr [ebp - 4], 1 */ 11068 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06C2CA: 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; } 11069 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C2CC: call 0x2b0ab212 */ /* not lifted */ 11070 RECOMP_FLAGS_IN(); 11071 edi = eax; /* 0x2B06C2D1: mov edi, eax */ 11072 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11073 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11074 esp = esp + 4; /* 0x2B06C2D3: add esp, 4 */ 11075 _flag_k = FK_ADD; 11076 MEM32(ebp + 0x8) = edi; /* 0x2B06C2D6: mov dword ptr [ebp + 8], edi */ 11077 /* cmp edi, esi */ /* 0x2B06C2D9: cmp edi, esi */ 11078 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 11079 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11080 _flag_k = FK_CMP; 11081 MEM8(ebp + (-0x4)) = (uint8_t)(0x16u); /* 0x2B06C2DB: mov byte ptr [ebp - 4], 0x16 */ 11082 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C2FA; /* 0x2B06C2DF: je 0x2b06c2fa */ 11083 L_2B06C2E1: 11084 edx = ebp + (-0xE0); /* 0x2B06C2E1: lea edx, [ebp - 0xe0] */ 11085 PUSH32(esp, edx); /* 0x2B06C2E7: push edx */ 11086 ecx = edi; /* 0x2B06C2E8: mov ecx, edi */ 11087 RECOMP_ICALL(MEM32(0x2B0B5748)); /* 0x2B06C2EA: call dword ptr [0x2b0b5748] */ 11088 RECOMP_FLAGS_IN(); 11089 MEM32(edi) = 0x2B0B7110u; /* 0x2B06C2F0: mov dword ptr [edi], 0x2b0b7110 */ 11090 ecx = edi; /* 0x2B06C2F6: mov ecx, edi */ 11091 goto L_2B06C2FC; /* 0x2B06C2F8: jmp 0x2b06c2fc */ 11092 L_2B06C2FA: 11093 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11094 ecx = 0; /* 0x2B06C2FA: xor ecx, ecx */ 11095 _cf = 0; 11096 _flag_k = FK_TEST; 11097 L_2B06C2FC: 11098 PUSH32(esp, ebx); /* 0x2B06C2FC: push ebx */ 11099 PUSH32(esp, 0x2B06D3C0u); /* 0x2B06C2FD: push 0x2b06d3c0 */ 11100 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C302: mov byte ptr [ebp - 4], 1 */ 11101 MEM32(ebx + 0xD8) = ecx; /* 0x2B06C306: mov dword ptr [ebx + 0xd8], ecx */ 11102 RECOMP_ICALL(MEM32(0x2B0B5744)); /* 0x2B06C30C: call dword ptr [0x2b0b5744] */ 11103 RECOMP_FLAGS_IN(); 11104 ecx = MEM32(ebx + 0xD8); /* 0x2B06C312: mov ecx, dword ptr [ebx + 0xd8] */ 11105 PUSH32(esp, 0x64u); /* 0x2B06C318: push 0x64 */ 11106 RECOMP_ICALL(MEM32(0x2B0B5778)); /* 0x2B06C31A: call dword ptr [0x2b0b5778] */ 11107 RECOMP_FLAGS_IN(); 11108 eax = MEM32(ebx + 0x9C); /* 0x2B06C320: mov eax, dword ptr [ebx + 0x9c] */ 11109 ecx = MEM32(eax + 0x34); /* 0x2B06C326: mov ecx, dword ptr [eax + 0x34] */ 11110 RECOMP_ICALL(MEM32(0x2B0B56F8)); /* 0x2B06C329: call dword ptr [0x2b0b56f8] */ 11111 RECOMP_FLAGS_IN(); 11112 ecx = MEM32(ebx + 0xD8); /* 0x2B06C32F: mov ecx, dword ptr [ebx + 0xd8] */ 11113 MEM32(ebx + 0x48) = eax; /* 0x2B06C335: mov dword ptr [ebx + 0x48], eax */ 11114 PUSH32(esp, 0x64u); /* 0x2B06C338: push 0x64 */ 11115 MEM32(ecx + 0x98) = eax; /* 0x2B06C33A: mov dword ptr [ecx + 0x98], eax */ 11116 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C340: call 0x2b0ab212 */ /* not lifted */ 11117 RECOMP_FLAGS_IN(); 11118 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11119 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11120 esp = esp + 4; /* 0x2B06C345: add esp, 4 */ 11121 _flag_k = FK_ADD; 11122 MEM32(ebp + 0x8) = eax; /* 0x2B06C348: mov dword ptr [ebp + 8], eax */ 11123 /* cmp eax, esi */ /* 0x2B06C34B: cmp eax, esi */ 11124 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 11125 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11126 _flag_k = FK_CMP; 11127 MEM8(ebp + (-0x4)) = (uint8_t)(0x17u); /* 0x2B06C34D: mov byte ptr [ebp - 4], 0x17 */ 11128 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C384; /* 0x2B06C351: je 0x2b06c384 */ 11129 L_2B06C353: 11130 ecx = MEM32(ebx + 0x98); /* 0x2B06C353: mov ecx, dword ptr [ebx + 0x98] */ 11131 PUSH32(esp, ecx); /* 0x2B06C359: push ecx */ 11132 PUSH32(esp, esi); /* 0x2B06C35A: push esi */ 11133 PUSH32(esp, 0x30u); /* 0x2B06C35B: push 0x30 */ 11134 PUSH32(esp, esi); /* 0x2B06C35D: push esi */ 11135 PUSH32(esp, 0x6D63u); /* 0x2B06C35E: push 0x6d63 */ 11136 PUSH32(esp, 0x9Eu); /* 0x2B06C363: push 0x9e */ 11137 PUSH32(esp, esi); /* 0x2B06C368: push esi */ 11138 PUSH32(esp, 0x9Fu); /* 0x2B06C369: push 0x9f */ 11139 PUSH32(esp, 0x36u); /* 0x2B06C36E: push 0x36 */ 11140 PUSH32(esp, 0x36u); /* 0x2B06C370: push 0x36 */ 11141 PUSH32(esp, 3); /* 0x2B06C372: push 3 */ 11142 PUSH32(esp, 3); /* 0x2B06C374: push 3 */ 11143 edx = ebp + (-0x14); /* 0x2B06C376: lea edx, [ebp - 0x14] */ 11144 PUSH32(esp, edx); /* 0x2B06C379: push edx */ 11145 ecx = eax; /* 0x2B06C37A: mov ecx, eax */ 11146 RECOMP_ICALL(MEM32(0x2B0B58F8)); /* 0x2B06C37C: call dword ptr [0x2b0b58f8] */ 11147 RECOMP_FLAGS_IN(); 11148 goto L_2B06C386; /* 0x2B06C382: jmp 0x2b06c386 */ 11149 L_2B06C384: 11150 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11151 eax = 0; /* 0x2B06C384: xor eax, eax */ 11152 _cf = 0; 11153 _flag_k = FK_TEST; 11154 L_2B06C386: 11155 MEM32(ebx + 0xDC) = eax; /* 0x2B06C386: mov dword ptr [ebx + 0xdc], eax */ 11156 MEM32(eax + 0x5C) = 0x2B06D400u; /* 0x2B06C38C: mov dword ptr [eax + 0x5c], 0x2b06d400 */ 11157 MEM32(eax + 0x60) = ebx; /* 0x2B06C393: mov dword ptr [eax + 0x60], ebx */ 11158 eax = ebx + 0x5C; /* 0x2B06C396: lea eax, [ebx + 0x5c] */ 11159 PUSH32(esp, eax); /* 0x2B06C399: push eax */ 11160 ecx = ebx; /* 0x2B06C39A: mov ecx, ebx */ 11161 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C39C: mov byte ptr [ebp - 4], 1 */ 11162 RECOMP_ICALL(0x2B06CC00u); /* 0x2B06C3A0: call 0x2b06cc00 */ /* not lifted */ 11163 RECOMP_FLAGS_IN(); 11164 ecx = ebx; /* 0x2B06C3A5: mov ecx, ebx */ 11165 RECOMP_ICALL(0x2B06CBD0u); /* 0x2B06C3A7: call 0x2b06cbd0 */ /* not lifted */ 11166 RECOMP_FLAGS_IN(); 11167 eax = MEM32(0x2B0B6048); /* 0x2B06C3AC: mov eax, dword ptr [0x2b0b6048] */ 11168 ecx = MEM32(eax); /* 0x2B06C3B1: mov ecx, dword ptr [eax] */ 11169 PUSH32(esp, 1); /* 0x2B06C3B3: push 1 */ 11170 PUSH32(esp, 0x2B0EB490u); /* 0x2B06C3B5: push 0x2b0eb490 */ 11171 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B06C3BA: call dword ptr [0x2b0b602c] */ 11172 RECOMP_FLAGS_IN(); 11173 /* test eax, eax */ /* 0x2B06C3C0: test eax, eax */ 11174 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11175 _cf = 0; 11176 _flag_k = FK_TEST; 11177 SET_LO8(eax, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B06C3C2: setne al */ 11178 /* test LO8(eax), LO8(eax) */ /* 0x2B06C3C5: test al, al */ 11179 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11180 _cf = 0; 11181 _flag_k = FK_NARROW(FK_TEST, 24); 11182 MEM8(ebx + 0x58) = (uint8_t)(LO8(eax)); /* 0x2B06C3C7: mov byte ptr [ebx + 0x58], al */ 11183 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06C3DA; /* 0x2B06C3CA: jne 0x2b06c3da */ 11184 L_2B06C3CC: 11185 ecx = MEM32(ebx + 0xCC); /* 0x2B06C3CC: mov ecx, dword ptr [ebx + 0xcc] */ 11186 PUSH32(esp, 2); /* 0x2B06C3D2: push 2 */ 11187 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06C3D4: call dword ptr [0x2b0b5ab4] */ 11188 RECOMP_FLAGS_IN(); 11189 L_2B06C3DA: 11190 ecx = MEM32(ebp + (-0xC)); /* 0x2B06C3DA: mov ecx, dword ptr [ebp - 0xc] */ 11191 edi = POP32_VAL(esp); /* 0x2B06C3DD: pop edi */ 11192 esi = POP32_VAL(esp); /* 0x2B06C3DE: pop esi */ 11193 eax = ebx; /* 0x2B06C3DF: mov eax, ebx */ 11194 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06C3E1: mov dword ptr fs:[0], ecx */ 11195 ebx = POP32_VAL(esp); /* 0x2B06C3E8: pop ebx */ 11196 esp = ebp; /* 0x2B06C3E9: mov esp, ebp */ 11197 ebp = POP32_VAL(esp); /* 0x2B06C3EB: pop ebp */ 11198 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06C3EC: ret 4 */ 11199 RECOMP_REGS_OUT(); 11200 } 11201 11202 void sub_2B06BD86(void) { 11203 int _fpu_cmp = 0; 11204 uint32_t _cf = 0; 11205 int _df = 1; 11206 uint32_t _flag_k = FK_NONE; 11207 uint32_t _flag_a = 0, _flag_b = 0; 11208 uint32_t _itail_tgt = 0; 11209 RECOMP_REGS_LOCALS 11210 RECOMP_ENTER(0x2B06BD86u); 11211 11212 L_2B06BD86: 11213 MEM32(ebx + 0xD0) = eax; /* 0x2B06BD86: mov dword ptr [ebx + 0xd0], eax */ 11214 MEM32(eax + 0x7C) = 0x2B06D300u; /* 0x2B06BD8C: mov dword ptr [eax + 0x7c], 0x2b06d300 */ 11215 MEM32(eax + 0x80) = ebx; /* 0x2B06BD93: mov dword ptr [eax + 0x80], ebx */ 11216 MEM8(eax + 0x24) = (uint8_t)(1); /* 0x2B06BD99: mov byte ptr [eax + 0x24], 1 */ 11217 MEM8(eax + 0x25) = (uint8_t)(1); /* 0x2B06BD9D: mov byte ptr [eax + 0x25], 1 */ 11218 eax = MEM32(ebx + 0xD0); /* 0x2B06BDA1: mov eax, dword ptr [ebx + 0xd0] */ 11219 MEM32(eax + 0x1C) = 0x2B06D180u; /* 0x2B06BDA7: mov dword ptr [eax + 0x1c], 0x2b06d180 */ 11220 MEM32(eax + 0x20) = ebx; /* 0x2B06BDAE: mov dword ptr [eax + 0x20], ebx */ 11221 eax = MEM32(ebx + 0x7C); /* 0x2B06BDB1: mov eax, dword ptr [ebx + 0x7c] */ 11222 if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2B06BDB4: shl eax, 2 */ 11223 if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11224 eax = eax << 2u; /* 0x2B06BDB4: shl eax, 2 */ 11225 PUSH32(esp, 0x50u); /* 0x2B06BDB7: push 0x50 */ 11226 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BDB9: mov byte ptr [ebp - 4], 1 */ 11227 MEM32(ebp + (-0x34)) = eax; /* 0x2B06BDBD: mov dword ptr [ebp - 0x34], eax */ 11228 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BDC0: call 0x2b0ab212 */ /* not lifted */ 11229 RECOMP_FLAGS_IN(); 11230 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11231 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11232 esp = esp + 4; /* 0x2B06BDC5: add esp, 4 */ 11233 _flag_k = FK_ADD; 11234 MEM32(ebp + 0x8) = eax; /* 0x2B06BDC8: mov dword ptr [ebp + 8], eax */ 11235 /* cmp eax, esi */ /* 0x2B06BDCB: cmp eax, esi */ 11236 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 11237 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11238 _flag_k = FK_CMP; 11239 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x2B06BDCD: mov byte ptr [ebp - 4], 0xc */ 11240 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BDF9; /* 0x2B06BDD1: je 0x2b06bdf9 */ 11241 L_2B06BDD3: 11242 PUSH32(esp, esi); /* 0x2B06BDD3: push esi */ 11243 PUSH32(esp, 0x3F800000u); /* 0x2B06BDD4: push 0x3f800000 */ 11244 PUSH32(esp, 0x3F800000u); /* 0x2B06BDD9: push 0x3f800000 */ 11245 PUSH32(esp, 0x6D60u); /* 0x2B06BDDE: push 0x6d60 */ 11246 ecx = ebp + (-0x14); /* 0x2B06BDE3: lea ecx, [ebp - 0x14] */ 11247 PUSH32(esp, ecx); /* 0x2B06BDE6: push ecx */ 11248 edx = ebp + (-0x34); /* 0x2B06BDE7: lea edx, [ebp - 0x34] */ 11249 PUSH32(esp, edx); /* 0x2B06BDEA: push edx */ 11250 PUSH32(esp, 4); /* 0x2B06BDEB: push 4 */ 11251 PUSH32(esp, 6); /* 0x2B06BDED: push 6 */ 11252 ecx = eax; /* 0x2B06BDEF: mov ecx, eax */ 11253 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B06BDF1: call dword ptr [0x2b0b5bd8] */ 11254 RECOMP_FLAGS_IN(); 11255 goto L_2B06BDFB; /* 0x2B06BDF7: jmp 0x2b06bdfb */ 11256 L_2B06BDF9: 11257 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11258 eax = 0; /* 0x2B06BDF9: xor eax, eax */ 11259 _cf = 0; 11260 _flag_k = FK_TEST; 11261 L_2B06BDFB: 11262 PUSH32(esp, 1); /* 0x2B06BDFB: push 1 */ 11263 MEM32(ebx + 0xA8) = eax; /* 0x2B06BDFD: mov dword ptr [ebx + 0xa8], eax */ 11264 eax = MEM32(eax + 0x28); /* 0x2B06BE03: mov eax, dword ptr [eax + 0x28] */ 11265 PUSH32(esp, esi); /* 0x2B06BE06: push esi */ 11266 PUSH32(esp, esi); /* 0x2B06BE07: push esi */ 11267 ecx = eax; /* 0x2B06BE08: mov ecx, eax */ 11268 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BE0A: mov byte ptr [ebp - 4], 1 */ 11269 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B06BE0E: call dword ptr [0x2b0b564c] */ 11270 RECOMP_FLAGS_IN(); 11271 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11272 eax = 0; /* 0x2B06BE14: xor eax, eax */ 11273 _cf = 0; 11274 _flag_k = FK_TEST; 11275 ecx = 0xCu; /* 0x2B06BE16: mov ecx, 0xc */ 11276 edi = ebp + (-0x64); /* 0x2B06BE1B: lea edi, [ebp - 0x64] */ 11277 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BE1E: 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; } 11278 ecx = 0xCu; /* 0x2B06BE20: mov ecx, 0xc */ 11279 edi = ebp + (-0x64); /* 0x2B06BE25: lea edi, [ebp - 0x64] */ 11280 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BE28: 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; } 11281 eax = MEM32(ebx + 0x7C); /* 0x2B06BE2A: mov eax, dword ptr [ebx + 0x7c] */ 11282 PUSH32(esp, 0xBCu); /* 0x2B06BE2D: push 0xbc */ 11283 MEM32(ebp + (-0x58)) = 0x2B0EB4A8u; /* 0x2B06BE32: mov dword ptr [ebp - 0x58], 0x2b0eb4a8 */ 11284 MEM32(ebp + (-0x54)) = eax; /* 0x2B06BE39: mov dword ptr [ebp - 0x54], eax */ 11285 MEM32(ebp + (-0x4C)) = 0x6D61u; /* 0x2B06BE3C: mov dword ptr [ebp - 0x4c], 0x6d61 */ 11286 MEM32(ebp + (-0x64)) = 1; /* 0x2B06BE43: mov dword ptr [ebp - 0x64], 1 */ 11287 MEM32(ebp + (-0x44)) = 0x64u; /* 0x2B06BE4A: mov dword ptr [ebp - 0x44], 0x64 */ 11288 MEM32(ebp + (-0x40)) = 0x65u; /* 0x2B06BE51: mov dword ptr [ebp - 0x40], 0x65 */ 11289 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BE58: call 0x2b0ab212 */ /* not lifted */ 11290 RECOMP_FLAGS_IN(); 11291 edi = eax; /* 0x2B06BE5D: mov edi, eax */ 11292 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11293 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11294 esp = esp + 4; /* 0x2B06BE5F: add esp, 4 */ 11295 _flag_k = FK_ADD; 11296 MEM32(ebp + 0x8) = edi; /* 0x2B06BE62: mov dword ptr [ebp + 8], edi */ 11297 /* cmp edi, esi */ /* 0x2B06BE65: cmp edi, esi */ 11298 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 11299 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11300 _flag_k = FK_CMP; 11301 MEM8(ebp + (-0x4)) = (uint8_t)(0xDu); /* 0x2B06BE67: mov byte ptr [ebp - 4], 0xd */ 11302 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BE8A; /* 0x2B06BE6B: je 0x2b06be8a */ 11303 L_2B06BE6D: 11304 ecx = MEM32(ebx + 0xA8); /* 0x2B06BE6D: mov ecx, dword ptr [ebx + 0xa8] */ 11305 PUSH32(esp, ecx); /* 0x2B06BE73: push ecx */ 11306 edx = ebp + (-0x64); /* 0x2B06BE74: lea edx, [ebp - 0x64] */ 11307 PUSH32(esp, edx); /* 0x2B06BE77: push edx */ 11308 ecx = edi; /* 0x2B06BE78: mov ecx, edi */ 11309 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B06BE7A: call dword ptr [0x2b0b5afc] */ 11310 RECOMP_FLAGS_IN(); 11311 MEM32(edi) = 0x2B0B645Cu; /* 0x2B06BE80: mov dword ptr [edi], 0x2b0b645c */ 11312 ecx = edi; /* 0x2B06BE86: mov ecx, edi */ 11313 goto L_2B06BE8C; /* 0x2B06BE88: jmp 0x2b06be8c */ 11314 L_2B06BE8A: 11315 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11316 ecx = 0; /* 0x2B06BE8A: xor ecx, ecx */ 11317 _cf = 0; 11318 _flag_k = FK_TEST; 11319 L_2B06BE8C: 11320 PUSH32(esp, ebx); /* 0x2B06BE8C: push ebx */ 11321 PUSH32(esp, 0x2B06D3A0u); /* 0x2B06BE8D: push 0x2b06d3a0 */ 11322 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BE92: mov byte ptr [ebp - 4], 1 */ 11323 MEM32(ebx + 0xCC) = ecx; /* 0x2B06BE96: mov dword ptr [ebx + 0xcc], ecx */ 11324 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B06BE9C: call dword ptr [0x2b0b5af8] */ 11325 RECOMP_FLAGS_IN(); 11326 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11327 eax = 0; /* 0x2B06BEA2: xor eax, eax */ 11328 _cf = 0; 11329 _flag_k = FK_TEST; 11330 ecx = 0xCu; /* 0x2B06BEA4: mov ecx, 0xc */ 11331 edi = ebp + (-0x64); /* 0x2B06BEA9: lea edi, [ebp - 0x64] */ 11332 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BEAC: 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; } 11333 eax = MEM32(ebx + 0x7C); /* 0x2B06BEAE: mov eax, dword ptr [ebx + 0x7c] */ 11334 if (1u) _cf = (((eax) >> 31) & 1u); /* 0x2B06BEB1: shl eax, 1 */ 11335 if (1u) { _flag_a = recomp_flags_pack((eax << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11336 eax = eax << 1u; /* 0x2B06BEB1: shl eax, 1 */ 11337 PUSH32(esp, 0xBCu); /* 0x2B06BEB3: push 0xbc */ 11338 MEM32(ebp + (-0x54)) = eax; /* 0x2B06BEB8: mov dword ptr [ebp - 0x54], eax */ 11339 MEM32(ebp + (-0x58)) = 0x2B0EB4A0u; /* 0x2B06BEBB: mov dword ptr [ebp - 0x58], 0x2b0eb4a0 */ 11340 MEM32(ebp + (-0x4C)) = 0x6D61u; /* 0x2B06BEC2: mov dword ptr [ebp - 0x4c], 0x6d61 */ 11341 MEM32(ebp + (-0x48)) = 0x66u; /* 0x2B06BEC9: mov dword ptr [ebp - 0x48], 0x66 */ 11342 MEM32(ebp + (-0x44)) = 0x67u; /* 0x2B06BED0: mov dword ptr [ebp - 0x44], 0x67 */ 11343 MEM32(ebp + (-0x40)) = 0x68u; /* 0x2B06BED7: mov dword ptr [ebp - 0x40], 0x68 */ 11344 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BEDE: call 0x2b0ab212 */ /* not lifted */ 11345 RECOMP_FLAGS_IN(); 11346 edi = eax; /* 0x2B06BEE3: mov edi, eax */ 11347 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11348 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11349 esp = esp + 4; /* 0x2B06BEE5: add esp, 4 */ 11350 _flag_k = FK_ADD; 11351 MEM32(ebp + 0x8) = edi; /* 0x2B06BEE8: mov dword ptr [ebp + 8], edi */ 11352 /* cmp edi, esi */ /* 0x2B06BEEB: cmp edi, esi */ 11353 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 11354 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11355 _flag_k = FK_CMP; 11356 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x2B06BEED: mov byte ptr [ebp - 4], 0xe */ 11357 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BF10; /* 0x2B06BEF1: je 0x2b06bf10 */ 11358 L_2B06BEF3: 11359 ecx = MEM32(ebx + 0xA8); /* 0x2B06BEF3: mov ecx, dword ptr [ebx + 0xa8] */ 11360 PUSH32(esp, ecx); /* 0x2B06BEF9: push ecx */ 11361 edx = ebp + (-0x64); /* 0x2B06BEFA: lea edx, [ebp - 0x64] */ 11362 PUSH32(esp, edx); /* 0x2B06BEFD: push edx */ 11363 ecx = edi; /* 0x2B06BEFE: mov ecx, edi */ 11364 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B06BF00: call dword ptr [0x2b0b5afc] */ 11365 RECOMP_FLAGS_IN(); 11366 MEM32(edi) = 0x2B0B645Cu; /* 0x2B06BF06: mov dword ptr [edi], 0x2b0b645c */ 11367 ecx = edi; /* 0x2B06BF0C: mov ecx, edi */ 11368 goto L_2B06BF12; /* 0x2B06BF0E: jmp 0x2b06bf12 */ 11369 L_2B06BF10: 11370 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11371 ecx = 0; /* 0x2B06BF10: xor ecx, ecx */ 11372 _cf = 0; 11373 _flag_k = FK_TEST; 11374 L_2B06BF12: 11375 PUSH32(esp, ebx); /* 0x2B06BF12: push ebx */ 11376 PUSH32(esp, 0x2B06D360u); /* 0x2B06BF13: push 0x2b06d360 */ 11377 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BF18: mov byte ptr [ebp - 4], 1 */ 11378 MEM32(ebx + 0xC8) = ecx; /* 0x2B06BF1C: mov dword ptr [ebx + 0xc8], ecx */ 11379 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B06BF22: call dword ptr [0x2b0b5af8] */ 11380 RECOMP_FLAGS_IN(); 11381 ecx = MEM32(ebx + 0xC8); /* 0x2B06BF28: mov ecx, dword ptr [ebx + 0xc8] */ 11382 PUSH32(esp, esi); /* 0x2B06BF2E: push esi */ 11383 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06BF2F: call dword ptr [0x2b0b5ab4] */ 11384 RECOMP_FLAGS_IN(); 11385 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11386 eax = 0; /* 0x2B06BF35: xor eax, eax */ 11387 _cf = 0; 11388 _flag_k = FK_TEST; 11389 ecx = 0xCu; /* 0x2B06BF37: mov ecx, 0xc */ 11390 edi = ebp + (-0x64); /* 0x2B06BF3C: lea edi, [ebp - 0x64] */ 11391 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BF3F: 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; } 11392 eax = MEM32(ebx + 0x7C); /* 0x2B06BF41: mov eax, dword ptr [ebx + 0x7c] */ 11393 eax = eax + eax * 2; /* 0x2B06BF44: lea eax, [eax + eax*2] */ 11394 PUSH32(esp, 0xBCu); /* 0x2B06BF47: push 0xbc */ 11395 MEM32(ebp + (-0x54)) = eax; /* 0x2B06BF4C: mov dword ptr [ebp - 0x54], eax */ 11396 MEM32(ebp + (-0x58)) = 0x2B0E6EE8u; /* 0x2B06BF4F: mov dword ptr [ebp - 0x58], 0x2b0e6ee8 */ 11397 MEM32(ebp + (-0x4C)) = 0x6D61u; /* 0x2B06BF56: mov dword ptr [ebp - 0x4c], 0x6d61 */ 11398 MEM32(ebp + (-0x48)) = 0xAu; /* 0x2B06BF5D: mov dword ptr [ebp - 0x48], 0xa */ 11399 MEM32(ebp + (-0x44)) = 0x69u; /* 0x2B06BF64: mov dword ptr [ebp - 0x44], 0x69 */ 11400 MEM32(ebp + (-0x40)) = 0x6Au; /* 0x2B06BF6B: mov dword ptr [ebp - 0x40], 0x6a */ 11401 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BF72: call 0x2b0ab212 */ /* not lifted */ 11402 RECOMP_FLAGS_IN(); 11403 edi = eax; /* 0x2B06BF77: mov edi, eax */ 11404 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11405 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11406 esp = esp + 4; /* 0x2B06BF79: add esp, 4 */ 11407 _flag_k = FK_ADD; 11408 MEM32(ebp + 0x8) = edi; /* 0x2B06BF7C: mov dword ptr [ebp + 8], edi */ 11409 /* cmp edi, esi */ /* 0x2B06BF7F: cmp edi, esi */ 11410 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 11411 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11412 _flag_k = FK_CMP; 11413 MEM8(ebp + (-0x4)) = (uint8_t)(0xFu); /* 0x2B06BF81: mov byte ptr [ebp - 4], 0xf */ 11414 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BFA4; /* 0x2B06BF85: je 0x2b06bfa4 */ 11415 L_2B06BF87: 11416 ecx = MEM32(ebx + 0xA8); /* 0x2B06BF87: mov ecx, dword ptr [ebx + 0xa8] */ 11417 PUSH32(esp, ecx); /* 0x2B06BF8D: push ecx */ 11418 edx = ebp + (-0x64); /* 0x2B06BF8E: lea edx, [ebp - 0x64] */ 11419 PUSH32(esp, edx); /* 0x2B06BF91: push edx */ 11420 ecx = edi; /* 0x2B06BF92: mov ecx, edi */ 11421 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B06BF94: call dword ptr [0x2b0b5afc] */ 11422 RECOMP_FLAGS_IN(); 11423 MEM32(edi) = 0x2B0B645Cu; /* 0x2B06BF9A: mov dword ptr [edi], 0x2b0b645c */ 11424 ecx = edi; /* 0x2B06BFA0: mov ecx, edi */ 11425 goto L_2B06BFA6; /* 0x2B06BFA2: jmp 0x2b06bfa6 */ 11426 L_2B06BFA4: 11427 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11428 ecx = 0; /* 0x2B06BFA4: xor ecx, ecx */ 11429 _cf = 0; 11430 _flag_k = FK_TEST; 11431 L_2B06BFA6: 11432 PUSH32(esp, ebx); /* 0x2B06BFA6: push ebx */ 11433 PUSH32(esp, 0x2B06D340u); /* 0x2B06BFA7: push 0x2b06d340 */ 11434 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BFAC: mov byte ptr [ebp - 4], 1 */ 11435 MEM32(ebx + 0xC4) = ecx; /* 0x2B06BFB0: mov dword ptr [ebx + 0xc4], ecx */ 11436 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B06BFB6: call dword ptr [0x2b0b5af8] */ 11437 RECOMP_FLAGS_IN(); 11438 PUSH32(esp, 2); /* 0x2B06BFBC: push 2 */ 11439 PUSH32(esp, 8); /* 0x2B06BFBE: push 8 */ 11440 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06BFC0: call dword ptr [0x2b0b5f80] */ 11441 RECOMP_FLAGS_IN(); 11442 ecx = eax; /* 0x2B06BFC6: mov ecx, eax */ 11443 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06BFC8: call dword ptr [0x2b0b5fbc] */ 11444 RECOMP_FLAGS_IN(); 11445 PUSH32(esp, 0xD8u); /* 0x2B06BFCE: push 0xd8 */ 11446 MEM32(ebp + 0x8) = eax; /* 0x2B06BFD3: mov dword ptr [ebp + 8], eax */ 11447 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BFD6: call 0x2b0ab212 */ /* not lifted */ 11448 RECOMP_FLAGS_IN(); 11449 edi = eax; /* 0x2B06BFDB: mov edi, eax */ 11450 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11451 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11452 esp = esp + 4; /* 0x2B06BFDD: add esp, 4 */ 11453 _flag_k = FK_ADD; 11454 MEM32(ebp + (-0x28)) = edi; /* 0x2B06BFE0: mov dword ptr [ebp - 0x28], edi */ 11455 /* cmp edi, esi */ /* 0x2B06BFE3: cmp edi, esi */ 11456 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 11457 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11458 _flag_k = FK_CMP; 11459 MEM8(ebp + (-0x4)) = (uint8_t)(0x10u); /* 0x2B06BFE5: mov byte ptr [ebp - 4], 0x10 */ 11460 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C01F; /* 0x2B06BFE9: je 0x2b06c01f */ 11461 L_2B06BFEB: 11462 edx = MEM32(ebp + 0x8); /* 0x2B06BFEB: mov edx, dword ptr [ebp + 8] */ 11463 eax = ebp + (-0x18); /* 0x2B06BFEE: lea eax, [ebp - 0x18] */ 11464 PUSH32(esp, eax); /* 0x2B06BFF1: push eax */ 11465 ecx = ebp + (-0x20); /* 0x2B06BFF2: lea ecx, [ebp - 0x20] */ 11466 PUSH32(esp, ecx); /* 0x2B06BFF5: push ecx */ 11467 PUSH32(esp, esi); /* 0x2B06BFF6: push esi */ 11468 PUSH32(esp, 0x6D60u); /* 0x2B06BFF7: push 0x6d60 */ 11469 PUSH32(esp, edx); /* 0x2B06BFFC: push edx */ 11470 eax = ebp + (-0x14); /* 0x2B06BFFD: lea eax, [ebp - 0x14] */ 11471 PUSH32(esp, eax); /* 0x2B06C000: push eax */ 11472 ecx = edi; /* 0x2B06C001: mov ecx, edi */ 11473 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C003: mov dword ptr [ebp - 0x18], 0x3f800000 */ 11474 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C00A: mov dword ptr [ebp - 0x20], 0x3f800000 */ 11475 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C011: call dword ptr [0x2b0b5654] */ 11476 RECOMP_FLAGS_IN(); 11477 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C017: mov dword ptr [edi], 0x2b0b618c */ 11478 goto L_2B06C021; /* 0x2B06C01D: jmp 0x2b06c021 */ 11479 L_2B06C01F: 11480 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11481 edi = 0; /* 0x2B06C01F: xor edi, edi */ 11482 _cf = 0; 11483 _flag_k = FK_TEST; 11484 L_2B06C021: 11485 PUSH32(esp, 2); /* 0x2B06C021: push 2 */ 11486 PUSH32(esp, 7); /* 0x2B06C023: push 7 */ 11487 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C025: mov byte ptr [ebp - 4], 1 */ 11488 MEM32(ebx + 0xAC) = edi; /* 0x2B06C029: mov dword ptr [ebx + 0xac], edi */ 11489 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C02F: call dword ptr [0x2b0b5f80] */ 11490 RECOMP_FLAGS_IN(); 11491 ecx = eax; /* 0x2B06C035: mov ecx, eax */ 11492 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C037: call dword ptr [0x2b0b5fbc] */ 11493 RECOMP_FLAGS_IN(); 11494 PUSH32(esp, 0xD8u); /* 0x2B06C03D: push 0xd8 */ 11495 MEM32(ebp + 0x8) = eax; /* 0x2B06C042: mov dword ptr [ebp + 8], eax */ 11496 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C045: call 0x2b0ab212 */ /* not lifted */ 11497 RECOMP_FLAGS_IN(); 11498 edi = eax; /* 0x2B06C04A: mov edi, eax */ 11499 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11500 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11501 esp = esp + 4; /* 0x2B06C04C: add esp, 4 */ 11502 _flag_k = FK_ADD; 11503 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C04F: mov dword ptr [ebp - 0x28], edi */ 11504 /* cmp edi, esi */ /* 0x2B06C052: cmp edi, esi */ 11505 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 11506 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11507 _flag_k = FK_CMP; 11508 MEM8(ebp + (-0x4)) = (uint8_t)(0x11u); /* 0x2B06C054: mov byte ptr [ebp - 4], 0x11 */ 11509 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C08E; /* 0x2B06C058: je 0x2b06c08e */ 11510 L_2B06C05A: 11511 eax = MEM32(ebp + 0x8); /* 0x2B06C05A: mov eax, dword ptr [ebp + 8] */ 11512 ecx = ebp + (-0x20); /* 0x2B06C05D: lea ecx, [ebp - 0x20] */ 11513 PUSH32(esp, ecx); /* 0x2B06C060: push ecx */ 11514 edx = ebp + (-0x18); /* 0x2B06C061: lea edx, [ebp - 0x18] */ 11515 PUSH32(esp, edx); /* 0x2B06C064: push edx */ 11516 PUSH32(esp, esi); /* 0x2B06C065: push esi */ 11517 PUSH32(esp, 0x6D60u); /* 0x2B06C066: push 0x6d60 */ 11518 PUSH32(esp, eax); /* 0x2B06C06B: push eax */ 11519 ecx = ebp + (-0x14); /* 0x2B06C06C: lea ecx, [ebp - 0x14] */ 11520 PUSH32(esp, ecx); /* 0x2B06C06F: push ecx */ 11521 ecx = edi; /* 0x2B06C070: mov ecx, edi */ 11522 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C072: mov dword ptr [ebp - 0x20], 0x3f800000 */ 11523 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C079: mov dword ptr [ebp - 0x18], 0x3f800000 */ 11524 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C080: call dword ptr [0x2b0b5654] */ 11525 RECOMP_FLAGS_IN(); 11526 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C086: mov dword ptr [edi], 0x2b0b618c */ 11527 goto L_2B06C090; /* 0x2B06C08C: jmp 0x2b06c090 */ 11528 L_2B06C08E: 11529 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11530 edi = 0; /* 0x2B06C08E: xor edi, edi */ 11531 _cf = 0; 11532 _flag_k = FK_TEST; 11533 L_2B06C090: 11534 PUSH32(esp, 2); /* 0x2B06C090: push 2 */ 11535 PUSH32(esp, 6); /* 0x2B06C092: push 6 */ 11536 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C094: mov byte ptr [ebp - 4], 1 */ 11537 MEM32(ebx + 0xB0) = edi; /* 0x2B06C098: mov dword ptr [ebx + 0xb0], edi */ 11538 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C09E: call dword ptr [0x2b0b5f80] */ 11539 RECOMP_FLAGS_IN(); 11540 ecx = eax; /* 0x2B06C0A4: mov ecx, eax */ 11541 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C0A6: call dword ptr [0x2b0b5fbc] */ 11542 RECOMP_FLAGS_IN(); 11543 PUSH32(esp, 0xD8u); /* 0x2B06C0AC: push 0xd8 */ 11544 MEM32(ebp + 0x8) = eax; /* 0x2B06C0B1: mov dword ptr [ebp + 8], eax */ 11545 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C0B4: call 0x2b0ab212 */ /* not lifted */ 11546 RECOMP_FLAGS_IN(); 11547 edi = eax; /* 0x2B06C0B9: mov edi, eax */ 11548 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11549 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11550 esp = esp + 4; /* 0x2B06C0BB: add esp, 4 */ 11551 _flag_k = FK_ADD; 11552 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C0BE: mov dword ptr [ebp - 0x28], edi */ 11553 /* cmp edi, esi */ /* 0x2B06C0C1: cmp edi, esi */ 11554 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 11555 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11556 _flag_k = FK_CMP; 11557 MEM8(ebp + (-0x4)) = (uint8_t)(0x12u); /* 0x2B06C0C3: mov byte ptr [ebp - 4], 0x12 */ 11558 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C0FD; /* 0x2B06C0C7: je 0x2b06c0fd */ 11559 L_2B06C0C9: 11560 ecx = MEM32(ebp + 0x8); /* 0x2B06C0C9: mov ecx, dword ptr [ebp + 8] */ 11561 edx = ebp + (-0x20); /* 0x2B06C0CC: lea edx, [ebp - 0x20] */ 11562 PUSH32(esp, edx); /* 0x2B06C0CF: push edx */ 11563 eax = ebp + (-0x18); /* 0x2B06C0D0: lea eax, [ebp - 0x18] */ 11564 PUSH32(esp, eax); /* 0x2B06C0D3: push eax */ 11565 PUSH32(esp, esi); /* 0x2B06C0D4: push esi */ 11566 PUSH32(esp, 0x6D60u); /* 0x2B06C0D5: push 0x6d60 */ 11567 PUSH32(esp, ecx); /* 0x2B06C0DA: push ecx */ 11568 edx = ebp + (-0x14); /* 0x2B06C0DB: lea edx, [ebp - 0x14] */ 11569 PUSH32(esp, edx); /* 0x2B06C0DE: push edx */ 11570 ecx = edi; /* 0x2B06C0DF: mov ecx, edi */ 11571 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C0E1: mov dword ptr [ebp - 0x20], 0x3f800000 */ 11572 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C0E8: mov dword ptr [ebp - 0x18], 0x3f800000 */ 11573 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C0EF: call dword ptr [0x2b0b5654] */ 11574 RECOMP_FLAGS_IN(); 11575 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C0F5: mov dword ptr [edi], 0x2b0b618c */ 11576 goto L_2B06C0FF; /* 0x2B06C0FB: jmp 0x2b06c0ff */ 11577 L_2B06C0FD: 11578 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11579 edi = 0; /* 0x2B06C0FD: xor edi, edi */ 11580 _cf = 0; 11581 _flag_k = FK_TEST; 11582 L_2B06C0FF: 11583 PUSH32(esp, 2); /* 0x2B06C0FF: push 2 */ 11584 PUSH32(esp, 5); /* 0x2B06C101: push 5 */ 11585 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C103: mov byte ptr [ebp - 4], 1 */ 11586 MEM32(ebx + 0xB4) = edi; /* 0x2B06C107: mov dword ptr [ebx + 0xb4], edi */ 11587 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C10D: call dword ptr [0x2b0b5f80] */ 11588 RECOMP_FLAGS_IN(); 11589 ecx = eax; /* 0x2B06C113: mov ecx, eax */ 11590 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C115: call dword ptr [0x2b0b5fbc] */ 11591 RECOMP_FLAGS_IN(); 11592 PUSH32(esp, 0xD8u); /* 0x2B06C11B: push 0xd8 */ 11593 MEM32(ebp + 0x8) = eax; /* 0x2B06C120: mov dword ptr [ebp + 8], eax */ 11594 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C123: call 0x2b0ab212 */ /* not lifted */ 11595 RECOMP_FLAGS_IN(); 11596 edi = eax; /* 0x2B06C128: mov edi, eax */ 11597 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11598 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11599 esp = esp + 4; /* 0x2B06C12A: add esp, 4 */ 11600 _flag_k = FK_ADD; 11601 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C12D: mov dword ptr [ebp - 0x28], edi */ 11602 /* cmp edi, esi */ /* 0x2B06C130: cmp edi, esi */ 11603 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 11604 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11605 _flag_k = FK_CMP; 11606 MEM8(ebp + (-0x4)) = (uint8_t)(0x13u); /* 0x2B06C132: mov byte ptr [ebp - 4], 0x13 */ 11607 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C16C; /* 0x2B06C136: je 0x2b06c16c */ 11608 L_2B06C138: 11609 edx = MEM32(ebp + 0x8); /* 0x2B06C138: mov edx, dword ptr [ebp + 8] */ 11610 eax = ebp + (-0x20); /* 0x2B06C13B: lea eax, [ebp - 0x20] */ 11611 PUSH32(esp, eax); /* 0x2B06C13E: push eax */ 11612 ecx = ebp + (-0x18); /* 0x2B06C13F: lea ecx, [ebp - 0x18] */ 11613 PUSH32(esp, ecx); /* 0x2B06C142: push ecx */ 11614 PUSH32(esp, esi); /* 0x2B06C143: push esi */ 11615 PUSH32(esp, 0x6D60u); /* 0x2B06C144: push 0x6d60 */ 11616 PUSH32(esp, edx); /* 0x2B06C149: push edx */ 11617 eax = ebp + (-0x14); /* 0x2B06C14A: lea eax, [ebp - 0x14] */ 11618 PUSH32(esp, eax); /* 0x2B06C14D: push eax */ 11619 ecx = edi; /* 0x2B06C14E: mov ecx, edi */ 11620 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C150: mov dword ptr [ebp - 0x20], 0x3f800000 */ 11621 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C157: mov dword ptr [ebp - 0x18], 0x3f800000 */ 11622 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C15E: call dword ptr [0x2b0b5654] */ 11623 RECOMP_FLAGS_IN(); 11624 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C164: mov dword ptr [edi], 0x2b0b618c */ 11625 goto L_2B06C16E; /* 0x2B06C16A: jmp 0x2b06c16e */ 11626 L_2B06C16C: 11627 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11628 edi = 0; /* 0x2B06C16C: xor edi, edi */ 11629 _cf = 0; 11630 _flag_k = FK_TEST; 11631 L_2B06C16E: 11632 PUSH32(esp, 2); /* 0x2B06C16E: push 2 */ 11633 PUSH32(esp, 3); /* 0x2B06C170: push 3 */ 11634 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C172: mov byte ptr [ebp - 4], 1 */ 11635 MEM32(ebx + 0xB8) = edi; /* 0x2B06C176: mov dword ptr [ebx + 0xb8], edi */ 11636 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C17C: call dword ptr [0x2b0b5f80] */ 11637 RECOMP_FLAGS_IN(); 11638 ecx = eax; /* 0x2B06C182: mov ecx, eax */ 11639 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C184: call dword ptr [0x2b0b5fbc] */ 11640 RECOMP_FLAGS_IN(); 11641 PUSH32(esp, 0xD8u); /* 0x2B06C18A: push 0xd8 */ 11642 MEM32(ebp + 0x8) = eax; /* 0x2B06C18F: mov dword ptr [ebp + 8], eax */ 11643 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C192: call 0x2b0ab212 */ /* not lifted */ 11644 RECOMP_FLAGS_IN(); 11645 edi = eax; /* 0x2B06C197: mov edi, eax */ 11646 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11647 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11648 esp = esp + 4; /* 0x2B06C199: add esp, 4 */ 11649 _flag_k = FK_ADD; 11650 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C19C: mov dword ptr [ebp - 0x28], edi */ 11651 /* cmp edi, esi */ /* 0x2B06C19F: cmp edi, esi */ 11652 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 11653 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11654 _flag_k = FK_CMP; 11655 MEM8(ebp + (-0x4)) = (uint8_t)(0x14u); /* 0x2B06C1A1: mov byte ptr [ebp - 4], 0x14 */ 11656 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C1DB; /* 0x2B06C1A5: je 0x2b06c1db */ 11657 L_2B06C1A7: 11658 eax = MEM32(ebp + 0x8); /* 0x2B06C1A7: mov eax, dword ptr [ebp + 8] */ 11659 ecx = ebp + (-0x20); /* 0x2B06C1AA: lea ecx, [ebp - 0x20] */ 11660 PUSH32(esp, ecx); /* 0x2B06C1AD: push ecx */ 11661 edx = ebp + (-0x18); /* 0x2B06C1AE: lea edx, [ebp - 0x18] */ 11662 PUSH32(esp, edx); /* 0x2B06C1B1: push edx */ 11663 PUSH32(esp, esi); /* 0x2B06C1B2: push esi */ 11664 PUSH32(esp, 0x6D60u); /* 0x2B06C1B3: push 0x6d60 */ 11665 PUSH32(esp, eax); /* 0x2B06C1B8: push eax */ 11666 ecx = ebp + (-0x14); /* 0x2B06C1B9: lea ecx, [ebp - 0x14] */ 11667 PUSH32(esp, ecx); /* 0x2B06C1BC: push ecx */ 11668 ecx = edi; /* 0x2B06C1BD: mov ecx, edi */ 11669 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C1BF: mov dword ptr [ebp - 0x20], 0x3f800000 */ 11670 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C1C6: mov dword ptr [ebp - 0x18], 0x3f800000 */ 11671 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C1CD: call dword ptr [0x2b0b5654] */ 11672 RECOMP_FLAGS_IN(); 11673 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C1D3: mov dword ptr [edi], 0x2b0b618c */ 11674 goto L_2B06C1DD; /* 0x2B06C1D9: jmp 0x2b06c1dd */ 11675 L_2B06C1DB: 11676 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11677 edi = 0; /* 0x2B06C1DB: xor edi, edi */ 11678 _cf = 0; 11679 _flag_k = FK_TEST; 11680 L_2B06C1DD: 11681 PUSH32(esp, 2); /* 0x2B06C1DD: push 2 */ 11682 PUSH32(esp, 4); /* 0x2B06C1DF: push 4 */ 11683 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C1E1: mov byte ptr [ebp - 4], 1 */ 11684 MEM32(ebx + 0xBC) = edi; /* 0x2B06C1E5: mov dword ptr [ebx + 0xbc], edi */ 11685 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C1EB: call dword ptr [0x2b0b5f80] */ 11686 RECOMP_FLAGS_IN(); 11687 ecx = eax; /* 0x2B06C1F1: mov ecx, eax */ 11688 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C1F3: call dword ptr [0x2b0b5fbc] */ 11689 RECOMP_FLAGS_IN(); 11690 PUSH32(esp, 0xD8u); /* 0x2B06C1F9: push 0xd8 */ 11691 MEM32(ebp + 0x8) = eax; /* 0x2B06C1FE: mov dword ptr [ebp + 8], eax */ 11692 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C201: call 0x2b0ab212 */ /* not lifted */ 11693 RECOMP_FLAGS_IN(); 11694 edi = eax; /* 0x2B06C206: mov edi, eax */ 11695 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11696 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11697 esp = esp + 4; /* 0x2B06C208: add esp, 4 */ 11698 _flag_k = FK_ADD; 11699 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C20B: mov dword ptr [ebp - 0x28], edi */ 11700 /* cmp edi, esi */ /* 0x2B06C20E: cmp edi, esi */ 11701 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 11702 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11703 _flag_k = FK_CMP; 11704 MEM8(ebp + (-0x4)) = (uint8_t)(0x15u); /* 0x2B06C210: mov byte ptr [ebp - 4], 0x15 */ 11705 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C24A; /* 0x2B06C214: je 0x2b06c24a */ 11706 L_2B06C216: 11707 ecx = MEM32(ebp + 0x8); /* 0x2B06C216: mov ecx, dword ptr [ebp + 8] */ 11708 edx = ebp + (-0x20); /* 0x2B06C219: lea edx, [ebp - 0x20] */ 11709 PUSH32(esp, edx); /* 0x2B06C21C: push edx */ 11710 eax = ebp + (-0x18); /* 0x2B06C21D: lea eax, [ebp - 0x18] */ 11711 PUSH32(esp, eax); /* 0x2B06C220: push eax */ 11712 PUSH32(esp, esi); /* 0x2B06C221: push esi */ 11713 PUSH32(esp, 0x6D60u); /* 0x2B06C222: push 0x6d60 */ 11714 PUSH32(esp, ecx); /* 0x2B06C227: push ecx */ 11715 edx = ebp + (-0x14); /* 0x2B06C228: lea edx, [ebp - 0x14] */ 11716 PUSH32(esp, edx); /* 0x2B06C22B: push edx */ 11717 ecx = edi; /* 0x2B06C22C: mov ecx, edi */ 11718 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C22E: mov dword ptr [ebp - 0x20], 0x3f800000 */ 11719 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C235: mov dword ptr [ebp - 0x18], 0x3f800000 */ 11720 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C23C: call dword ptr [0x2b0b5654] */ 11721 RECOMP_FLAGS_IN(); 11722 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C242: mov dword ptr [edi], 0x2b0b618c */ 11723 goto L_2B06C24C; /* 0x2B06C248: jmp 0x2b06c24c */ 11724 L_2B06C24A: 11725 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11726 edi = 0; /* 0x2B06C24A: xor edi, edi */ 11727 _cf = 0; 11728 _flag_k = FK_TEST; 11729 L_2B06C24C: 11730 eax = MEM32(ebx + 0x78); /* 0x2B06C24C: mov eax, dword ptr [ebx + 0x78] */ 11731 ecx = eax + (-0x16); /* 0x2B06C24F: lea ecx, [eax - 0x16] */ 11732 MEM32(ebx + 0xC0) = edi; /* 0x2B06C252: mov dword ptr [ebx + 0xc0], edi */ 11733 MEM32(ebp + (-0xC0)) = ecx; /* 0x2B06C258: mov dword ptr [ebp - 0xc0], ecx */ 11734 MEM32(ebp + (-0xAC)) = eax; /* 0x2B06C25E: mov dword ptr [ebp - 0xac], eax */ 11735 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11736 eax = 0; /* 0x2B06C264: xor eax, eax */ 11737 _cf = 0; 11738 _flag_k = FK_TEST; 11739 MEM32(ebp + (-0xE0)) = esi; /* 0x2B06C266: mov dword ptr [ebp - 0xe0], esi */ 11740 MEM32(ebp + (-0xDC)) = esi; /* 0x2B06C26C: mov dword ptr [ebp - 0xdc], esi */ 11741 MEM32(ebp + (-0xD8)) = esi; /* 0x2B06C272: mov dword ptr [ebp - 0xd8], esi */ 11742 MEM32(ebp + (-0xD4)) = 0x6D65u; /* 0x2B06C278: mov dword ptr [ebp - 0xd4], 0x6d65 */ 11743 MEM32(ebp + (-0xD0)) = esi; /* 0x2B06C282: mov dword ptr [ebp - 0xd0], esi */ 11744 MEM32(ebp + (-0xCC)) = esi; /* 0x2B06C288: mov dword ptr [ebp - 0xcc], esi */ 11745 MEM32(ebp + (-0xC8)) = esi; /* 0x2B06C28E: mov dword ptr [ebp - 0xc8], esi */ 11746 MEM32(ebp + (-0xC4)) = esi; /* 0x2B06C294: mov dword ptr [ebp - 0xc4], esi */ 11747 MEM32(ebp + (-0xBC)) = esi; /* 0x2B06C29A: mov dword ptr [ebp - 0xbc], esi */ 11748 MEM32(ebp + (-0xB8)) = esi; /* 0x2B06C2A0: mov dword ptr [ebp - 0xb8], esi */ 11749 MEM32(ebp + (-0xB4)) = esi; /* 0x2B06C2A6: mov dword ptr [ebp - 0xb4], esi */ 11750 MEM32(ebp + (-0xB0)) = 1; /* 0x2B06C2AC: mov dword ptr [ebp - 0xb0], 1 */ 11751 ecx = 6; /* 0x2B06C2B6: mov ecx, 6 */ 11752 edi = ebp + (-0xA8); /* 0x2B06C2BB: lea edi, [ebp - 0xa8] */ 11753 PUSH32(esp, 0xC8u); /* 0x2B06C2C1: push 0xc8 */ 11754 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C2C6: mov byte ptr [ebp - 4], 1 */ 11755 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06C2CA: 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; } 11756 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C2CC: call 0x2b0ab212 */ /* not lifted */ 11757 RECOMP_FLAGS_IN(); 11758 edi = eax; /* 0x2B06C2D1: mov edi, eax */ 11759 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11760 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11761 esp = esp + 4; /* 0x2B06C2D3: add esp, 4 */ 11762 _flag_k = FK_ADD; 11763 MEM32(ebp + 0x8) = edi; /* 0x2B06C2D6: mov dword ptr [ebp + 8], edi */ 11764 /* cmp edi, esi */ /* 0x2B06C2D9: cmp edi, esi */ 11765 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 11766 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11767 _flag_k = FK_CMP; 11768 MEM8(ebp + (-0x4)) = (uint8_t)(0x16u); /* 0x2B06C2DB: mov byte ptr [ebp - 4], 0x16 */ 11769 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C2FA; /* 0x2B06C2DF: je 0x2b06c2fa */ 11770 L_2B06C2E1: 11771 edx = ebp + (-0xE0); /* 0x2B06C2E1: lea edx, [ebp - 0xe0] */ 11772 PUSH32(esp, edx); /* 0x2B06C2E7: push edx */ 11773 ecx = edi; /* 0x2B06C2E8: mov ecx, edi */ 11774 RECOMP_ICALL(MEM32(0x2B0B5748)); /* 0x2B06C2EA: call dword ptr [0x2b0b5748] */ 11775 RECOMP_FLAGS_IN(); 11776 MEM32(edi) = 0x2B0B7110u; /* 0x2B06C2F0: mov dword ptr [edi], 0x2b0b7110 */ 11777 ecx = edi; /* 0x2B06C2F6: mov ecx, edi */ 11778 goto L_2B06C2FC; /* 0x2B06C2F8: jmp 0x2b06c2fc */ 11779 L_2B06C2FA: 11780 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11781 ecx = 0; /* 0x2B06C2FA: xor ecx, ecx */ 11782 _cf = 0; 11783 _flag_k = FK_TEST; 11784 L_2B06C2FC: 11785 PUSH32(esp, ebx); /* 0x2B06C2FC: push ebx */ 11786 PUSH32(esp, 0x2B06D3C0u); /* 0x2B06C2FD: push 0x2b06d3c0 */ 11787 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C302: mov byte ptr [ebp - 4], 1 */ 11788 MEM32(ebx + 0xD8) = ecx; /* 0x2B06C306: mov dword ptr [ebx + 0xd8], ecx */ 11789 RECOMP_ICALL(MEM32(0x2B0B5744)); /* 0x2B06C30C: call dword ptr [0x2b0b5744] */ 11790 RECOMP_FLAGS_IN(); 11791 ecx = MEM32(ebx + 0xD8); /* 0x2B06C312: mov ecx, dword ptr [ebx + 0xd8] */ 11792 PUSH32(esp, 0x64u); /* 0x2B06C318: push 0x64 */ 11793 RECOMP_ICALL(MEM32(0x2B0B5778)); /* 0x2B06C31A: call dword ptr [0x2b0b5778] */ 11794 RECOMP_FLAGS_IN(); 11795 eax = MEM32(ebx + 0x9C); /* 0x2B06C320: mov eax, dword ptr [ebx + 0x9c] */ 11796 ecx = MEM32(eax + 0x34); /* 0x2B06C326: mov ecx, dword ptr [eax + 0x34] */ 11797 RECOMP_ICALL(MEM32(0x2B0B56F8)); /* 0x2B06C329: call dword ptr [0x2b0b56f8] */ 11798 RECOMP_FLAGS_IN(); 11799 ecx = MEM32(ebx + 0xD8); /* 0x2B06C32F: mov ecx, dword ptr [ebx + 0xd8] */ 11800 MEM32(ebx + 0x48) = eax; /* 0x2B06C335: mov dword ptr [ebx + 0x48], eax */ 11801 PUSH32(esp, 0x64u); /* 0x2B06C338: push 0x64 */ 11802 MEM32(ecx + 0x98) = eax; /* 0x2B06C33A: mov dword ptr [ecx + 0x98], eax */ 11803 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C340: call 0x2b0ab212 */ /* not lifted */ 11804 RECOMP_FLAGS_IN(); 11805 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11806 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11807 esp = esp + 4; /* 0x2B06C345: add esp, 4 */ 11808 _flag_k = FK_ADD; 11809 MEM32(ebp + 0x8) = eax; /* 0x2B06C348: mov dword ptr [ebp + 8], eax */ 11810 /* cmp eax, esi */ /* 0x2B06C34B: cmp eax, esi */ 11811 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 11812 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11813 _flag_k = FK_CMP; 11814 MEM8(ebp + (-0x4)) = (uint8_t)(0x17u); /* 0x2B06C34D: mov byte ptr [ebp - 4], 0x17 */ 11815 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C384; /* 0x2B06C351: je 0x2b06c384 */ 11816 L_2B06C353: 11817 ecx = MEM32(ebx + 0x98); /* 0x2B06C353: mov ecx, dword ptr [ebx + 0x98] */ 11818 PUSH32(esp, ecx); /* 0x2B06C359: push ecx */ 11819 PUSH32(esp, esi); /* 0x2B06C35A: push esi */ 11820 PUSH32(esp, 0x30u); /* 0x2B06C35B: push 0x30 */ 11821 PUSH32(esp, esi); /* 0x2B06C35D: push esi */ 11822 PUSH32(esp, 0x6D63u); /* 0x2B06C35E: push 0x6d63 */ 11823 PUSH32(esp, 0x9Eu); /* 0x2B06C363: push 0x9e */ 11824 PUSH32(esp, esi); /* 0x2B06C368: push esi */ 11825 PUSH32(esp, 0x9Fu); /* 0x2B06C369: push 0x9f */ 11826 PUSH32(esp, 0x36u); /* 0x2B06C36E: push 0x36 */ 11827 PUSH32(esp, 0x36u); /* 0x2B06C370: push 0x36 */ 11828 PUSH32(esp, 3); /* 0x2B06C372: push 3 */ 11829 PUSH32(esp, 3); /* 0x2B06C374: push 3 */ 11830 edx = ebp + (-0x14); /* 0x2B06C376: lea edx, [ebp - 0x14] */ 11831 PUSH32(esp, edx); /* 0x2B06C379: push edx */ 11832 ecx = eax; /* 0x2B06C37A: mov ecx, eax */ 11833 RECOMP_ICALL(MEM32(0x2B0B58F8)); /* 0x2B06C37C: call dword ptr [0x2b0b58f8] */ 11834 RECOMP_FLAGS_IN(); 11835 goto L_2B06C386; /* 0x2B06C382: jmp 0x2b06c386 */ 11836 L_2B06C384: 11837 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11838 eax = 0; /* 0x2B06C384: xor eax, eax */ 11839 _cf = 0; 11840 _flag_k = FK_TEST; 11841 L_2B06C386: 11842 MEM32(ebx + 0xDC) = eax; /* 0x2B06C386: mov dword ptr [ebx + 0xdc], eax */ 11843 MEM32(eax + 0x5C) = 0x2B06D400u; /* 0x2B06C38C: mov dword ptr [eax + 0x5c], 0x2b06d400 */ 11844 MEM32(eax + 0x60) = ebx; /* 0x2B06C393: mov dword ptr [eax + 0x60], ebx */ 11845 eax = ebx + 0x5C; /* 0x2B06C396: lea eax, [ebx + 0x5c] */ 11846 PUSH32(esp, eax); /* 0x2B06C399: push eax */ 11847 ecx = ebx; /* 0x2B06C39A: mov ecx, ebx */ 11848 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C39C: mov byte ptr [ebp - 4], 1 */ 11849 RECOMP_ICALL(0x2B06CC00u); /* 0x2B06C3A0: call 0x2b06cc00 */ /* not lifted */ 11850 RECOMP_FLAGS_IN(); 11851 ecx = ebx; /* 0x2B06C3A5: mov ecx, ebx */ 11852 RECOMP_ICALL(0x2B06CBD0u); /* 0x2B06C3A7: call 0x2b06cbd0 */ /* not lifted */ 11853 RECOMP_FLAGS_IN(); 11854 eax = MEM32(0x2B0B6048); /* 0x2B06C3AC: mov eax, dword ptr [0x2b0b6048] */ 11855 ecx = MEM32(eax); /* 0x2B06C3B1: mov ecx, dword ptr [eax] */ 11856 PUSH32(esp, 1); /* 0x2B06C3B3: push 1 */ 11857 PUSH32(esp, 0x2B0EB490u); /* 0x2B06C3B5: push 0x2b0eb490 */ 11858 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B06C3BA: call dword ptr [0x2b0b602c] */ 11859 RECOMP_FLAGS_IN(); 11860 /* test eax, eax */ /* 0x2B06C3C0: test eax, eax */ 11861 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11862 _cf = 0; 11863 _flag_k = FK_TEST; 11864 SET_LO8(eax, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B06C3C2: setne al */ 11865 /* test LO8(eax), LO8(eax) */ /* 0x2B06C3C5: test al, al */ 11866 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11867 _cf = 0; 11868 _flag_k = FK_NARROW(FK_TEST, 24); 11869 MEM8(ebx + 0x58) = (uint8_t)(LO8(eax)); /* 0x2B06C3C7: mov byte ptr [ebx + 0x58], al */ 11870 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06C3DA; /* 0x2B06C3CA: jne 0x2b06c3da */ 11871 L_2B06C3CC: 11872 ecx = MEM32(ebx + 0xCC); /* 0x2B06C3CC: mov ecx, dword ptr [ebx + 0xcc] */ 11873 PUSH32(esp, 2); /* 0x2B06C3D2: push 2 */ 11874 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06C3D4: call dword ptr [0x2b0b5ab4] */ 11875 RECOMP_FLAGS_IN(); 11876 L_2B06C3DA: 11877 ecx = MEM32(ebp + (-0xC)); /* 0x2B06C3DA: mov ecx, dword ptr [ebp - 0xc] */ 11878 edi = POP32_VAL(esp); /* 0x2B06C3DD: pop edi */ 11879 esi = POP32_VAL(esp); /* 0x2B06C3DE: pop esi */ 11880 eax = ebx; /* 0x2B06C3DF: mov eax, ebx */ 11881 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06C3E1: mov dword ptr fs:[0], ecx */ 11882 ebx = POP32_VAL(esp); /* 0x2B06C3E8: pop ebx */ 11883 esp = ebp; /* 0x2B06C3E9: mov esp, ebp */ 11884 ebp = POP32_VAL(esp); /* 0x2B06C3EB: pop ebp */ 11885 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06C3EC: ret 4 */ 11886 RECOMP_REGS_OUT(); 11887 } 11888 11889 void sub_2B06BDFB(void) { 11890 int _fpu_cmp = 0; 11891 uint32_t _cf = 0; 11892 int _df = 1; 11893 uint32_t _flag_k = FK_NONE; 11894 uint32_t _flag_a = 0, _flag_b = 0; 11895 uint32_t _itail_tgt = 0; 11896 RECOMP_REGS_LOCALS 11897 RECOMP_ENTER(0x2B06BDFBu); 11898 11899 L_2B06BDFB: 11900 PUSH32(esp, 1); /* 0x2B06BDFB: push 1 */ 11901 MEM32(ebx + 0xA8) = eax; /* 0x2B06BDFD: mov dword ptr [ebx + 0xa8], eax */ 11902 eax = MEM32(eax + 0x28); /* 0x2B06BE03: mov eax, dword ptr [eax + 0x28] */ 11903 PUSH32(esp, esi); /* 0x2B06BE06: push esi */ 11904 PUSH32(esp, esi); /* 0x2B06BE07: push esi */ 11905 ecx = eax; /* 0x2B06BE08: mov ecx, eax */ 11906 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BE0A: mov byte ptr [ebp - 4], 1 */ 11907 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B06BE0E: call dword ptr [0x2b0b564c] */ 11908 RECOMP_FLAGS_IN(); 11909 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11910 eax = 0; /* 0x2B06BE14: xor eax, eax */ 11911 _cf = 0; 11912 _flag_k = FK_TEST; 11913 ecx = 0xCu; /* 0x2B06BE16: mov ecx, 0xc */ 11914 edi = ebp + (-0x64); /* 0x2B06BE1B: lea edi, [ebp - 0x64] */ 11915 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BE1E: 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; } 11916 ecx = 0xCu; /* 0x2B06BE20: mov ecx, 0xc */ 11917 edi = ebp + (-0x64); /* 0x2B06BE25: lea edi, [ebp - 0x64] */ 11918 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BE28: 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; } 11919 eax = MEM32(ebx + 0x7C); /* 0x2B06BE2A: mov eax, dword ptr [ebx + 0x7c] */ 11920 PUSH32(esp, 0xBCu); /* 0x2B06BE2D: push 0xbc */ 11921 MEM32(ebp + (-0x58)) = 0x2B0EB4A8u; /* 0x2B06BE32: mov dword ptr [ebp - 0x58], 0x2b0eb4a8 */ 11922 MEM32(ebp + (-0x54)) = eax; /* 0x2B06BE39: mov dword ptr [ebp - 0x54], eax */ 11923 MEM32(ebp + (-0x4C)) = 0x6D61u; /* 0x2B06BE3C: mov dword ptr [ebp - 0x4c], 0x6d61 */ 11924 MEM32(ebp + (-0x64)) = 1; /* 0x2B06BE43: mov dword ptr [ebp - 0x64], 1 */ 11925 MEM32(ebp + (-0x44)) = 0x64u; /* 0x2B06BE4A: mov dword ptr [ebp - 0x44], 0x64 */ 11926 MEM32(ebp + (-0x40)) = 0x65u; /* 0x2B06BE51: mov dword ptr [ebp - 0x40], 0x65 */ 11927 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BE58: call 0x2b0ab212 */ /* not lifted */ 11928 RECOMP_FLAGS_IN(); 11929 edi = eax; /* 0x2B06BE5D: mov edi, eax */ 11930 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11931 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11932 esp = esp + 4; /* 0x2B06BE5F: add esp, 4 */ 11933 _flag_k = FK_ADD; 11934 MEM32(ebp + 0x8) = edi; /* 0x2B06BE62: mov dword ptr [ebp + 8], edi */ 11935 /* cmp edi, esi */ /* 0x2B06BE65: cmp edi, esi */ 11936 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 11937 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11938 _flag_k = FK_CMP; 11939 MEM8(ebp + (-0x4)) = (uint8_t)(0xDu); /* 0x2B06BE67: mov byte ptr [ebp - 4], 0xd */ 11940 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BE8A; /* 0x2B06BE6B: je 0x2b06be8a */ 11941 L_2B06BE6D: 11942 ecx = MEM32(ebx + 0xA8); /* 0x2B06BE6D: mov ecx, dword ptr [ebx + 0xa8] */ 11943 PUSH32(esp, ecx); /* 0x2B06BE73: push ecx */ 11944 edx = ebp + (-0x64); /* 0x2B06BE74: lea edx, [ebp - 0x64] */ 11945 PUSH32(esp, edx); /* 0x2B06BE77: push edx */ 11946 ecx = edi; /* 0x2B06BE78: mov ecx, edi */ 11947 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B06BE7A: call dword ptr [0x2b0b5afc] */ 11948 RECOMP_FLAGS_IN(); 11949 MEM32(edi) = 0x2B0B645Cu; /* 0x2B06BE80: mov dword ptr [edi], 0x2b0b645c */ 11950 ecx = edi; /* 0x2B06BE86: mov ecx, edi */ 11951 goto L_2B06BE8C; /* 0x2B06BE88: jmp 0x2b06be8c */ 11952 L_2B06BE8A: 11953 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11954 ecx = 0; /* 0x2B06BE8A: xor ecx, ecx */ 11955 _cf = 0; 11956 _flag_k = FK_TEST; 11957 L_2B06BE8C: 11958 PUSH32(esp, ebx); /* 0x2B06BE8C: push ebx */ 11959 PUSH32(esp, 0x2B06D3A0u); /* 0x2B06BE8D: push 0x2b06d3a0 */ 11960 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BE92: mov byte ptr [ebp - 4], 1 */ 11961 MEM32(ebx + 0xCC) = ecx; /* 0x2B06BE96: mov dword ptr [ebx + 0xcc], ecx */ 11962 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B06BE9C: call dword ptr [0x2b0b5af8] */ 11963 RECOMP_FLAGS_IN(); 11964 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11965 eax = 0; /* 0x2B06BEA2: xor eax, eax */ 11966 _cf = 0; 11967 _flag_k = FK_TEST; 11968 ecx = 0xCu; /* 0x2B06BEA4: mov ecx, 0xc */ 11969 edi = ebp + (-0x64); /* 0x2B06BEA9: lea edi, [ebp - 0x64] */ 11970 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BEAC: 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; } 11971 eax = MEM32(ebx + 0x7C); /* 0x2B06BEAE: mov eax, dword ptr [ebx + 0x7c] */ 11972 if (1u) _cf = (((eax) >> 31) & 1u); /* 0x2B06BEB1: shl eax, 1 */ 11973 if (1u) { _flag_a = recomp_flags_pack((eax << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11974 eax = eax << 1u; /* 0x2B06BEB1: shl eax, 1 */ 11975 PUSH32(esp, 0xBCu); /* 0x2B06BEB3: push 0xbc */ 11976 MEM32(ebp + (-0x54)) = eax; /* 0x2B06BEB8: mov dword ptr [ebp - 0x54], eax */ 11977 MEM32(ebp + (-0x58)) = 0x2B0EB4A0u; /* 0x2B06BEBB: mov dword ptr [ebp - 0x58], 0x2b0eb4a0 */ 11978 MEM32(ebp + (-0x4C)) = 0x6D61u; /* 0x2B06BEC2: mov dword ptr [ebp - 0x4c], 0x6d61 */ 11979 MEM32(ebp + (-0x48)) = 0x66u; /* 0x2B06BEC9: mov dword ptr [ebp - 0x48], 0x66 */ 11980 MEM32(ebp + (-0x44)) = 0x67u; /* 0x2B06BED0: mov dword ptr [ebp - 0x44], 0x67 */ 11981 MEM32(ebp + (-0x40)) = 0x68u; /* 0x2B06BED7: mov dword ptr [ebp - 0x40], 0x68 */ 11982 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BEDE: call 0x2b0ab212 */ /* not lifted */ 11983 RECOMP_FLAGS_IN(); 11984 edi = eax; /* 0x2B06BEE3: mov edi, eax */ 11985 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11986 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11987 esp = esp + 4; /* 0x2B06BEE5: add esp, 4 */ 11988 _flag_k = FK_ADD; 11989 MEM32(ebp + 0x8) = edi; /* 0x2B06BEE8: mov dword ptr [ebp + 8], edi */ 11990 /* cmp edi, esi */ /* 0x2B06BEEB: cmp edi, esi */ 11991 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 11992 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11993 _flag_k = FK_CMP; 11994 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x2B06BEED: mov byte ptr [ebp - 4], 0xe */ 11995 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BF10; /* 0x2B06BEF1: je 0x2b06bf10 */ 11996 L_2B06BEF3: 11997 ecx = MEM32(ebx + 0xA8); /* 0x2B06BEF3: mov ecx, dword ptr [ebx + 0xa8] */ 11998 PUSH32(esp, ecx); /* 0x2B06BEF9: push ecx */ 11999 edx = ebp + (-0x64); /* 0x2B06BEFA: lea edx, [ebp - 0x64] */ 12000 PUSH32(esp, edx); /* 0x2B06BEFD: push edx */ 12001 ecx = edi; /* 0x2B06BEFE: mov ecx, edi */ 12002 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B06BF00: call dword ptr [0x2b0b5afc] */ 12003 RECOMP_FLAGS_IN(); 12004 MEM32(edi) = 0x2B0B645Cu; /* 0x2B06BF06: mov dword ptr [edi], 0x2b0b645c */ 12005 ecx = edi; /* 0x2B06BF0C: mov ecx, edi */ 12006 goto L_2B06BF12; /* 0x2B06BF0E: jmp 0x2b06bf12 */ 12007 L_2B06BF10: 12008 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12009 ecx = 0; /* 0x2B06BF10: xor ecx, ecx */ 12010 _cf = 0; 12011 _flag_k = FK_TEST; 12012 L_2B06BF12: 12013 PUSH32(esp, ebx); /* 0x2B06BF12: push ebx */ 12014 PUSH32(esp, 0x2B06D360u); /* 0x2B06BF13: push 0x2b06d360 */ 12015 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BF18: mov byte ptr [ebp - 4], 1 */ 12016 MEM32(ebx + 0xC8) = ecx; /* 0x2B06BF1C: mov dword ptr [ebx + 0xc8], ecx */ 12017 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B06BF22: call dword ptr [0x2b0b5af8] */ 12018 RECOMP_FLAGS_IN(); 12019 ecx = MEM32(ebx + 0xC8); /* 0x2B06BF28: mov ecx, dword ptr [ebx + 0xc8] */ 12020 PUSH32(esp, esi); /* 0x2B06BF2E: push esi */ 12021 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06BF2F: call dword ptr [0x2b0b5ab4] */ 12022 RECOMP_FLAGS_IN(); 12023 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12024 eax = 0; /* 0x2B06BF35: xor eax, eax */ 12025 _cf = 0; 12026 _flag_k = FK_TEST; 12027 ecx = 0xCu; /* 0x2B06BF37: mov ecx, 0xc */ 12028 edi = ebp + (-0x64); /* 0x2B06BF3C: lea edi, [ebp - 0x64] */ 12029 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BF3F: 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; } 12030 eax = MEM32(ebx + 0x7C); /* 0x2B06BF41: mov eax, dword ptr [ebx + 0x7c] */ 12031 eax = eax + eax * 2; /* 0x2B06BF44: lea eax, [eax + eax*2] */ 12032 PUSH32(esp, 0xBCu); /* 0x2B06BF47: push 0xbc */ 12033 MEM32(ebp + (-0x54)) = eax; /* 0x2B06BF4C: mov dword ptr [ebp - 0x54], eax */ 12034 MEM32(ebp + (-0x58)) = 0x2B0E6EE8u; /* 0x2B06BF4F: mov dword ptr [ebp - 0x58], 0x2b0e6ee8 */ 12035 MEM32(ebp + (-0x4C)) = 0x6D61u; /* 0x2B06BF56: mov dword ptr [ebp - 0x4c], 0x6d61 */ 12036 MEM32(ebp + (-0x48)) = 0xAu; /* 0x2B06BF5D: mov dword ptr [ebp - 0x48], 0xa */ 12037 MEM32(ebp + (-0x44)) = 0x69u; /* 0x2B06BF64: mov dword ptr [ebp - 0x44], 0x69 */ 12038 MEM32(ebp + (-0x40)) = 0x6Au; /* 0x2B06BF6B: mov dword ptr [ebp - 0x40], 0x6a */ 12039 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BF72: call 0x2b0ab212 */ /* not lifted */ 12040 RECOMP_FLAGS_IN(); 12041 edi = eax; /* 0x2B06BF77: mov edi, eax */ 12042 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12043 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12044 esp = esp + 4; /* 0x2B06BF79: add esp, 4 */ 12045 _flag_k = FK_ADD; 12046 MEM32(ebp + 0x8) = edi; /* 0x2B06BF7C: mov dword ptr [ebp + 8], edi */ 12047 /* cmp edi, esi */ /* 0x2B06BF7F: cmp edi, esi */ 12048 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 12049 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12050 _flag_k = FK_CMP; 12051 MEM8(ebp + (-0x4)) = (uint8_t)(0xFu); /* 0x2B06BF81: mov byte ptr [ebp - 4], 0xf */ 12052 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BFA4; /* 0x2B06BF85: je 0x2b06bfa4 */ 12053 L_2B06BF87: 12054 ecx = MEM32(ebx + 0xA8); /* 0x2B06BF87: mov ecx, dword ptr [ebx + 0xa8] */ 12055 PUSH32(esp, ecx); /* 0x2B06BF8D: push ecx */ 12056 edx = ebp + (-0x64); /* 0x2B06BF8E: lea edx, [ebp - 0x64] */ 12057 PUSH32(esp, edx); /* 0x2B06BF91: push edx */ 12058 ecx = edi; /* 0x2B06BF92: mov ecx, edi */ 12059 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B06BF94: call dword ptr [0x2b0b5afc] */ 12060 RECOMP_FLAGS_IN(); 12061 MEM32(edi) = 0x2B0B645Cu; /* 0x2B06BF9A: mov dword ptr [edi], 0x2b0b645c */ 12062 ecx = edi; /* 0x2B06BFA0: mov ecx, edi */ 12063 goto L_2B06BFA6; /* 0x2B06BFA2: jmp 0x2b06bfa6 */ 12064 L_2B06BFA4: 12065 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12066 ecx = 0; /* 0x2B06BFA4: xor ecx, ecx */ 12067 _cf = 0; 12068 _flag_k = FK_TEST; 12069 L_2B06BFA6: 12070 PUSH32(esp, ebx); /* 0x2B06BFA6: push ebx */ 12071 PUSH32(esp, 0x2B06D340u); /* 0x2B06BFA7: push 0x2b06d340 */ 12072 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BFAC: mov byte ptr [ebp - 4], 1 */ 12073 MEM32(ebx + 0xC4) = ecx; /* 0x2B06BFB0: mov dword ptr [ebx + 0xc4], ecx */ 12074 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B06BFB6: call dword ptr [0x2b0b5af8] */ 12075 RECOMP_FLAGS_IN(); 12076 PUSH32(esp, 2); /* 0x2B06BFBC: push 2 */ 12077 PUSH32(esp, 8); /* 0x2B06BFBE: push 8 */ 12078 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06BFC0: call dword ptr [0x2b0b5f80] */ 12079 RECOMP_FLAGS_IN(); 12080 ecx = eax; /* 0x2B06BFC6: mov ecx, eax */ 12081 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06BFC8: call dword ptr [0x2b0b5fbc] */ 12082 RECOMP_FLAGS_IN(); 12083 PUSH32(esp, 0xD8u); /* 0x2B06BFCE: push 0xd8 */ 12084 MEM32(ebp + 0x8) = eax; /* 0x2B06BFD3: mov dword ptr [ebp + 8], eax */ 12085 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BFD6: call 0x2b0ab212 */ /* not lifted */ 12086 RECOMP_FLAGS_IN(); 12087 edi = eax; /* 0x2B06BFDB: mov edi, eax */ 12088 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12089 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12090 esp = esp + 4; /* 0x2B06BFDD: add esp, 4 */ 12091 _flag_k = FK_ADD; 12092 MEM32(ebp + (-0x28)) = edi; /* 0x2B06BFE0: mov dword ptr [ebp - 0x28], edi */ 12093 /* cmp edi, esi */ /* 0x2B06BFE3: cmp edi, esi */ 12094 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 12095 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12096 _flag_k = FK_CMP; 12097 MEM8(ebp + (-0x4)) = (uint8_t)(0x10u); /* 0x2B06BFE5: mov byte ptr [ebp - 4], 0x10 */ 12098 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C01F; /* 0x2B06BFE9: je 0x2b06c01f */ 12099 L_2B06BFEB: 12100 edx = MEM32(ebp + 0x8); /* 0x2B06BFEB: mov edx, dword ptr [ebp + 8] */ 12101 eax = ebp + (-0x18); /* 0x2B06BFEE: lea eax, [ebp - 0x18] */ 12102 PUSH32(esp, eax); /* 0x2B06BFF1: push eax */ 12103 ecx = ebp + (-0x20); /* 0x2B06BFF2: lea ecx, [ebp - 0x20] */ 12104 PUSH32(esp, ecx); /* 0x2B06BFF5: push ecx */ 12105 PUSH32(esp, esi); /* 0x2B06BFF6: push esi */ 12106 PUSH32(esp, 0x6D60u); /* 0x2B06BFF7: push 0x6d60 */ 12107 PUSH32(esp, edx); /* 0x2B06BFFC: push edx */ 12108 eax = ebp + (-0x14); /* 0x2B06BFFD: lea eax, [ebp - 0x14] */ 12109 PUSH32(esp, eax); /* 0x2B06C000: push eax */ 12110 ecx = edi; /* 0x2B06C001: mov ecx, edi */ 12111 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C003: mov dword ptr [ebp - 0x18], 0x3f800000 */ 12112 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C00A: mov dword ptr [ebp - 0x20], 0x3f800000 */ 12113 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C011: call dword ptr [0x2b0b5654] */ 12114 RECOMP_FLAGS_IN(); 12115 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C017: mov dword ptr [edi], 0x2b0b618c */ 12116 goto L_2B06C021; /* 0x2B06C01D: jmp 0x2b06c021 */ 12117 L_2B06C01F: 12118 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12119 edi = 0; /* 0x2B06C01F: xor edi, edi */ 12120 _cf = 0; 12121 _flag_k = FK_TEST; 12122 L_2B06C021: 12123 PUSH32(esp, 2); /* 0x2B06C021: push 2 */ 12124 PUSH32(esp, 7); /* 0x2B06C023: push 7 */ 12125 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C025: mov byte ptr [ebp - 4], 1 */ 12126 MEM32(ebx + 0xAC) = edi; /* 0x2B06C029: mov dword ptr [ebx + 0xac], edi */ 12127 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C02F: call dword ptr [0x2b0b5f80] */ 12128 RECOMP_FLAGS_IN(); 12129 ecx = eax; /* 0x2B06C035: mov ecx, eax */ 12130 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C037: call dword ptr [0x2b0b5fbc] */ 12131 RECOMP_FLAGS_IN(); 12132 PUSH32(esp, 0xD8u); /* 0x2B06C03D: push 0xd8 */ 12133 MEM32(ebp + 0x8) = eax; /* 0x2B06C042: mov dword ptr [ebp + 8], eax */ 12134 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C045: call 0x2b0ab212 */ /* not lifted */ 12135 RECOMP_FLAGS_IN(); 12136 edi = eax; /* 0x2B06C04A: mov edi, eax */ 12137 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12138 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12139 esp = esp + 4; /* 0x2B06C04C: add esp, 4 */ 12140 _flag_k = FK_ADD; 12141 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C04F: mov dword ptr [ebp - 0x28], edi */ 12142 /* cmp edi, esi */ /* 0x2B06C052: cmp edi, esi */ 12143 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 12144 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12145 _flag_k = FK_CMP; 12146 MEM8(ebp + (-0x4)) = (uint8_t)(0x11u); /* 0x2B06C054: mov byte ptr [ebp - 4], 0x11 */ 12147 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C08E; /* 0x2B06C058: je 0x2b06c08e */ 12148 L_2B06C05A: 12149 eax = MEM32(ebp + 0x8); /* 0x2B06C05A: mov eax, dword ptr [ebp + 8] */ 12150 ecx = ebp + (-0x20); /* 0x2B06C05D: lea ecx, [ebp - 0x20] */ 12151 PUSH32(esp, ecx); /* 0x2B06C060: push ecx */ 12152 edx = ebp + (-0x18); /* 0x2B06C061: lea edx, [ebp - 0x18] */ 12153 PUSH32(esp, edx); /* 0x2B06C064: push edx */ 12154 PUSH32(esp, esi); /* 0x2B06C065: push esi */ 12155 PUSH32(esp, 0x6D60u); /* 0x2B06C066: push 0x6d60 */ 12156 PUSH32(esp, eax); /* 0x2B06C06B: push eax */ 12157 ecx = ebp + (-0x14); /* 0x2B06C06C: lea ecx, [ebp - 0x14] */ 12158 PUSH32(esp, ecx); /* 0x2B06C06F: push ecx */ 12159 ecx = edi; /* 0x2B06C070: mov ecx, edi */ 12160 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C072: mov dword ptr [ebp - 0x20], 0x3f800000 */ 12161 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C079: mov dword ptr [ebp - 0x18], 0x3f800000 */ 12162 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C080: call dword ptr [0x2b0b5654] */ 12163 RECOMP_FLAGS_IN(); 12164 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C086: mov dword ptr [edi], 0x2b0b618c */ 12165 goto L_2B06C090; /* 0x2B06C08C: jmp 0x2b06c090 */ 12166 L_2B06C08E: 12167 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12168 edi = 0; /* 0x2B06C08E: xor edi, edi */ 12169 _cf = 0; 12170 _flag_k = FK_TEST; 12171 L_2B06C090: 12172 PUSH32(esp, 2); /* 0x2B06C090: push 2 */ 12173 PUSH32(esp, 6); /* 0x2B06C092: push 6 */ 12174 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C094: mov byte ptr [ebp - 4], 1 */ 12175 MEM32(ebx + 0xB0) = edi; /* 0x2B06C098: mov dword ptr [ebx + 0xb0], edi */ 12176 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C09E: call dword ptr [0x2b0b5f80] */ 12177 RECOMP_FLAGS_IN(); 12178 ecx = eax; /* 0x2B06C0A4: mov ecx, eax */ 12179 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C0A6: call dword ptr [0x2b0b5fbc] */ 12180 RECOMP_FLAGS_IN(); 12181 PUSH32(esp, 0xD8u); /* 0x2B06C0AC: push 0xd8 */ 12182 MEM32(ebp + 0x8) = eax; /* 0x2B06C0B1: mov dword ptr [ebp + 8], eax */ 12183 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C0B4: call 0x2b0ab212 */ /* not lifted */ 12184 RECOMP_FLAGS_IN(); 12185 edi = eax; /* 0x2B06C0B9: mov edi, eax */ 12186 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12187 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12188 esp = esp + 4; /* 0x2B06C0BB: add esp, 4 */ 12189 _flag_k = FK_ADD; 12190 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C0BE: mov dword ptr [ebp - 0x28], edi */ 12191 /* cmp edi, esi */ /* 0x2B06C0C1: cmp edi, esi */ 12192 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 12193 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12194 _flag_k = FK_CMP; 12195 MEM8(ebp + (-0x4)) = (uint8_t)(0x12u); /* 0x2B06C0C3: mov byte ptr [ebp - 4], 0x12 */ 12196 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C0FD; /* 0x2B06C0C7: je 0x2b06c0fd */ 12197 L_2B06C0C9: 12198 ecx = MEM32(ebp + 0x8); /* 0x2B06C0C9: mov ecx, dword ptr [ebp + 8] */ 12199 edx = ebp + (-0x20); /* 0x2B06C0CC: lea edx, [ebp - 0x20] */ 12200 PUSH32(esp, edx); /* 0x2B06C0CF: push edx */ 12201 eax = ebp + (-0x18); /* 0x2B06C0D0: lea eax, [ebp - 0x18] */ 12202 PUSH32(esp, eax); /* 0x2B06C0D3: push eax */ 12203 PUSH32(esp, esi); /* 0x2B06C0D4: push esi */ 12204 PUSH32(esp, 0x6D60u); /* 0x2B06C0D5: push 0x6d60 */ 12205 PUSH32(esp, ecx); /* 0x2B06C0DA: push ecx */ 12206 edx = ebp + (-0x14); /* 0x2B06C0DB: lea edx, [ebp - 0x14] */ 12207 PUSH32(esp, edx); /* 0x2B06C0DE: push edx */ 12208 ecx = edi; /* 0x2B06C0DF: mov ecx, edi */ 12209 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C0E1: mov dword ptr [ebp - 0x20], 0x3f800000 */ 12210 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C0E8: mov dword ptr [ebp - 0x18], 0x3f800000 */ 12211 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C0EF: call dword ptr [0x2b0b5654] */ 12212 RECOMP_FLAGS_IN(); 12213 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C0F5: mov dword ptr [edi], 0x2b0b618c */ 12214 goto L_2B06C0FF; /* 0x2B06C0FB: jmp 0x2b06c0ff */ 12215 L_2B06C0FD: 12216 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12217 edi = 0; /* 0x2B06C0FD: xor edi, edi */ 12218 _cf = 0; 12219 _flag_k = FK_TEST; 12220 L_2B06C0FF: 12221 PUSH32(esp, 2); /* 0x2B06C0FF: push 2 */ 12222 PUSH32(esp, 5); /* 0x2B06C101: push 5 */ 12223 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C103: mov byte ptr [ebp - 4], 1 */ 12224 MEM32(ebx + 0xB4) = edi; /* 0x2B06C107: mov dword ptr [ebx + 0xb4], edi */ 12225 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C10D: call dword ptr [0x2b0b5f80] */ 12226 RECOMP_FLAGS_IN(); 12227 ecx = eax; /* 0x2B06C113: mov ecx, eax */ 12228 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C115: call dword ptr [0x2b0b5fbc] */ 12229 RECOMP_FLAGS_IN(); 12230 PUSH32(esp, 0xD8u); /* 0x2B06C11B: push 0xd8 */ 12231 MEM32(ebp + 0x8) = eax; /* 0x2B06C120: mov dword ptr [ebp + 8], eax */ 12232 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C123: call 0x2b0ab212 */ /* not lifted */ 12233 RECOMP_FLAGS_IN(); 12234 edi = eax; /* 0x2B06C128: mov edi, eax */ 12235 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12236 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12237 esp = esp + 4; /* 0x2B06C12A: add esp, 4 */ 12238 _flag_k = FK_ADD; 12239 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C12D: mov dword ptr [ebp - 0x28], edi */ 12240 /* cmp edi, esi */ /* 0x2B06C130: cmp edi, esi */ 12241 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 12242 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12243 _flag_k = FK_CMP; 12244 MEM8(ebp + (-0x4)) = (uint8_t)(0x13u); /* 0x2B06C132: mov byte ptr [ebp - 4], 0x13 */ 12245 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C16C; /* 0x2B06C136: je 0x2b06c16c */ 12246 L_2B06C138: 12247 edx = MEM32(ebp + 0x8); /* 0x2B06C138: mov edx, dword ptr [ebp + 8] */ 12248 eax = ebp + (-0x20); /* 0x2B06C13B: lea eax, [ebp - 0x20] */ 12249 PUSH32(esp, eax); /* 0x2B06C13E: push eax */ 12250 ecx = ebp + (-0x18); /* 0x2B06C13F: lea ecx, [ebp - 0x18] */ 12251 PUSH32(esp, ecx); /* 0x2B06C142: push ecx */ 12252 PUSH32(esp, esi); /* 0x2B06C143: push esi */ 12253 PUSH32(esp, 0x6D60u); /* 0x2B06C144: push 0x6d60 */ 12254 PUSH32(esp, edx); /* 0x2B06C149: push edx */ 12255 eax = ebp + (-0x14); /* 0x2B06C14A: lea eax, [ebp - 0x14] */ 12256 PUSH32(esp, eax); /* 0x2B06C14D: push eax */ 12257 ecx = edi; /* 0x2B06C14E: mov ecx, edi */ 12258 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C150: mov dword ptr [ebp - 0x20], 0x3f800000 */ 12259 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C157: mov dword ptr [ebp - 0x18], 0x3f800000 */ 12260 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C15E: call dword ptr [0x2b0b5654] */ 12261 RECOMP_FLAGS_IN(); 12262 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C164: mov dword ptr [edi], 0x2b0b618c */ 12263 goto L_2B06C16E; /* 0x2B06C16A: jmp 0x2b06c16e */ 12264 L_2B06C16C: 12265 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12266 edi = 0; /* 0x2B06C16C: xor edi, edi */ 12267 _cf = 0; 12268 _flag_k = FK_TEST; 12269 L_2B06C16E: 12270 PUSH32(esp, 2); /* 0x2B06C16E: push 2 */ 12271 PUSH32(esp, 3); /* 0x2B06C170: push 3 */ 12272 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C172: mov byte ptr [ebp - 4], 1 */ 12273 MEM32(ebx + 0xB8) = edi; /* 0x2B06C176: mov dword ptr [ebx + 0xb8], edi */ 12274 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C17C: call dword ptr [0x2b0b5f80] */ 12275 RECOMP_FLAGS_IN(); 12276 ecx = eax; /* 0x2B06C182: mov ecx, eax */ 12277 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C184: call dword ptr [0x2b0b5fbc] */ 12278 RECOMP_FLAGS_IN(); 12279 PUSH32(esp, 0xD8u); /* 0x2B06C18A: push 0xd8 */ 12280 MEM32(ebp + 0x8) = eax; /* 0x2B06C18F: mov dword ptr [ebp + 8], eax */ 12281 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C192: call 0x2b0ab212 */ /* not lifted */ 12282 RECOMP_FLAGS_IN(); 12283 edi = eax; /* 0x2B06C197: mov edi, eax */ 12284 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12285 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12286 esp = esp + 4; /* 0x2B06C199: add esp, 4 */ 12287 _flag_k = FK_ADD; 12288 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C19C: mov dword ptr [ebp - 0x28], edi */ 12289 /* cmp edi, esi */ /* 0x2B06C19F: cmp edi, esi */ 12290 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 12291 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12292 _flag_k = FK_CMP; 12293 MEM8(ebp + (-0x4)) = (uint8_t)(0x14u); /* 0x2B06C1A1: mov byte ptr [ebp - 4], 0x14 */ 12294 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C1DB; /* 0x2B06C1A5: je 0x2b06c1db */ 12295 L_2B06C1A7: 12296 eax = MEM32(ebp + 0x8); /* 0x2B06C1A7: mov eax, dword ptr [ebp + 8] */ 12297 ecx = ebp + (-0x20); /* 0x2B06C1AA: lea ecx, [ebp - 0x20] */ 12298 PUSH32(esp, ecx); /* 0x2B06C1AD: push ecx */ 12299 edx = ebp + (-0x18); /* 0x2B06C1AE: lea edx, [ebp - 0x18] */ 12300 PUSH32(esp, edx); /* 0x2B06C1B1: push edx */ 12301 PUSH32(esp, esi); /* 0x2B06C1B2: push esi */ 12302 PUSH32(esp, 0x6D60u); /* 0x2B06C1B3: push 0x6d60 */ 12303 PUSH32(esp, eax); /* 0x2B06C1B8: push eax */ 12304 ecx = ebp + (-0x14); /* 0x2B06C1B9: lea ecx, [ebp - 0x14] */ 12305 PUSH32(esp, ecx); /* 0x2B06C1BC: push ecx */ 12306 ecx = edi; /* 0x2B06C1BD: mov ecx, edi */ 12307 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C1BF: mov dword ptr [ebp - 0x20], 0x3f800000 */ 12308 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C1C6: mov dword ptr [ebp - 0x18], 0x3f800000 */ 12309 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C1CD: call dword ptr [0x2b0b5654] */ 12310 RECOMP_FLAGS_IN(); 12311 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C1D3: mov dword ptr [edi], 0x2b0b618c */ 12312 goto L_2B06C1DD; /* 0x2B06C1D9: jmp 0x2b06c1dd */ 12313 L_2B06C1DB: 12314 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12315 edi = 0; /* 0x2B06C1DB: xor edi, edi */ 12316 _cf = 0; 12317 _flag_k = FK_TEST; 12318 L_2B06C1DD: 12319 PUSH32(esp, 2); /* 0x2B06C1DD: push 2 */ 12320 PUSH32(esp, 4); /* 0x2B06C1DF: push 4 */ 12321 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C1E1: mov byte ptr [ebp - 4], 1 */ 12322 MEM32(ebx + 0xBC) = edi; /* 0x2B06C1E5: mov dword ptr [ebx + 0xbc], edi */ 12323 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C1EB: call dword ptr [0x2b0b5f80] */ 12324 RECOMP_FLAGS_IN(); 12325 ecx = eax; /* 0x2B06C1F1: mov ecx, eax */ 12326 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C1F3: call dword ptr [0x2b0b5fbc] */ 12327 RECOMP_FLAGS_IN(); 12328 PUSH32(esp, 0xD8u); /* 0x2B06C1F9: push 0xd8 */ 12329 MEM32(ebp + 0x8) = eax; /* 0x2B06C1FE: mov dword ptr [ebp + 8], eax */ 12330 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C201: call 0x2b0ab212 */ /* not lifted */ 12331 RECOMP_FLAGS_IN(); 12332 edi = eax; /* 0x2B06C206: mov edi, eax */ 12333 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12334 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12335 esp = esp + 4; /* 0x2B06C208: add esp, 4 */ 12336 _flag_k = FK_ADD; 12337 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C20B: mov dword ptr [ebp - 0x28], edi */ 12338 /* cmp edi, esi */ /* 0x2B06C20E: cmp edi, esi */ 12339 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 12340 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12341 _flag_k = FK_CMP; 12342 MEM8(ebp + (-0x4)) = (uint8_t)(0x15u); /* 0x2B06C210: mov byte ptr [ebp - 4], 0x15 */ 12343 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C24A; /* 0x2B06C214: je 0x2b06c24a */ 12344 L_2B06C216: 12345 ecx = MEM32(ebp + 0x8); /* 0x2B06C216: mov ecx, dword ptr [ebp + 8] */ 12346 edx = ebp + (-0x20); /* 0x2B06C219: lea edx, [ebp - 0x20] */ 12347 PUSH32(esp, edx); /* 0x2B06C21C: push edx */ 12348 eax = ebp + (-0x18); /* 0x2B06C21D: lea eax, [ebp - 0x18] */ 12349 PUSH32(esp, eax); /* 0x2B06C220: push eax */ 12350 PUSH32(esp, esi); /* 0x2B06C221: push esi */ 12351 PUSH32(esp, 0x6D60u); /* 0x2B06C222: push 0x6d60 */ 12352 PUSH32(esp, ecx); /* 0x2B06C227: push ecx */ 12353 edx = ebp + (-0x14); /* 0x2B06C228: lea edx, [ebp - 0x14] */ 12354 PUSH32(esp, edx); /* 0x2B06C22B: push edx */ 12355 ecx = edi; /* 0x2B06C22C: mov ecx, edi */ 12356 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C22E: mov dword ptr [ebp - 0x20], 0x3f800000 */ 12357 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C235: mov dword ptr [ebp - 0x18], 0x3f800000 */ 12358 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C23C: call dword ptr [0x2b0b5654] */ 12359 RECOMP_FLAGS_IN(); 12360 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C242: mov dword ptr [edi], 0x2b0b618c */ 12361 goto L_2B06C24C; /* 0x2B06C248: jmp 0x2b06c24c */ 12362 L_2B06C24A: 12363 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12364 edi = 0; /* 0x2B06C24A: xor edi, edi */ 12365 _cf = 0; 12366 _flag_k = FK_TEST; 12367 L_2B06C24C: 12368 eax = MEM32(ebx + 0x78); /* 0x2B06C24C: mov eax, dword ptr [ebx + 0x78] */ 12369 ecx = eax + (-0x16); /* 0x2B06C24F: lea ecx, [eax - 0x16] */ 12370 MEM32(ebx + 0xC0) = edi; /* 0x2B06C252: mov dword ptr [ebx + 0xc0], edi */ 12371 MEM32(ebp + (-0xC0)) = ecx; /* 0x2B06C258: mov dword ptr [ebp - 0xc0], ecx */ 12372 MEM32(ebp + (-0xAC)) = eax; /* 0x2B06C25E: mov dword ptr [ebp - 0xac], eax */ 12373 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12374 eax = 0; /* 0x2B06C264: xor eax, eax */ 12375 _cf = 0; 12376 _flag_k = FK_TEST; 12377 MEM32(ebp + (-0xE0)) = esi; /* 0x2B06C266: mov dword ptr [ebp - 0xe0], esi */ 12378 MEM32(ebp + (-0xDC)) = esi; /* 0x2B06C26C: mov dword ptr [ebp - 0xdc], esi */ 12379 MEM32(ebp + (-0xD8)) = esi; /* 0x2B06C272: mov dword ptr [ebp - 0xd8], esi */ 12380 MEM32(ebp + (-0xD4)) = 0x6D65u; /* 0x2B06C278: mov dword ptr [ebp - 0xd4], 0x6d65 */ 12381 MEM32(ebp + (-0xD0)) = esi; /* 0x2B06C282: mov dword ptr [ebp - 0xd0], esi */ 12382 MEM32(ebp + (-0xCC)) = esi; /* 0x2B06C288: mov dword ptr [ebp - 0xcc], esi */ 12383 MEM32(ebp + (-0xC8)) = esi; /* 0x2B06C28E: mov dword ptr [ebp - 0xc8], esi */ 12384 MEM32(ebp + (-0xC4)) = esi; /* 0x2B06C294: mov dword ptr [ebp - 0xc4], esi */ 12385 MEM32(ebp + (-0xBC)) = esi; /* 0x2B06C29A: mov dword ptr [ebp - 0xbc], esi */ 12386 MEM32(ebp + (-0xB8)) = esi; /* 0x2B06C2A0: mov dword ptr [ebp - 0xb8], esi */ 12387 MEM32(ebp + (-0xB4)) = esi; /* 0x2B06C2A6: mov dword ptr [ebp - 0xb4], esi */ 12388 MEM32(ebp + (-0xB0)) = 1; /* 0x2B06C2AC: mov dword ptr [ebp - 0xb0], 1 */ 12389 ecx = 6; /* 0x2B06C2B6: mov ecx, 6 */ 12390 edi = ebp + (-0xA8); /* 0x2B06C2BB: lea edi, [ebp - 0xa8] */ 12391 PUSH32(esp, 0xC8u); /* 0x2B06C2C1: push 0xc8 */ 12392 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C2C6: mov byte ptr [ebp - 4], 1 */ 12393 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06C2CA: 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; } 12394 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C2CC: call 0x2b0ab212 */ /* not lifted */ 12395 RECOMP_FLAGS_IN(); 12396 edi = eax; /* 0x2B06C2D1: mov edi, eax */ 12397 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12398 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12399 esp = esp + 4; /* 0x2B06C2D3: add esp, 4 */ 12400 _flag_k = FK_ADD; 12401 MEM32(ebp + 0x8) = edi; /* 0x2B06C2D6: mov dword ptr [ebp + 8], edi */ 12402 /* cmp edi, esi */ /* 0x2B06C2D9: cmp edi, esi */ 12403 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 12404 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12405 _flag_k = FK_CMP; 12406 MEM8(ebp + (-0x4)) = (uint8_t)(0x16u); /* 0x2B06C2DB: mov byte ptr [ebp - 4], 0x16 */ 12407 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C2FA; /* 0x2B06C2DF: je 0x2b06c2fa */ 12408 L_2B06C2E1: 12409 edx = ebp + (-0xE0); /* 0x2B06C2E1: lea edx, [ebp - 0xe0] */ 12410 PUSH32(esp, edx); /* 0x2B06C2E7: push edx */ 12411 ecx = edi; /* 0x2B06C2E8: mov ecx, edi */ 12412 RECOMP_ICALL(MEM32(0x2B0B5748)); /* 0x2B06C2EA: call dword ptr [0x2b0b5748] */ 12413 RECOMP_FLAGS_IN(); 12414 MEM32(edi) = 0x2B0B7110u; /* 0x2B06C2F0: mov dword ptr [edi], 0x2b0b7110 */ 12415 ecx = edi; /* 0x2B06C2F6: mov ecx, edi */ 12416 goto L_2B06C2FC; /* 0x2B06C2F8: jmp 0x2b06c2fc */ 12417 L_2B06C2FA: 12418 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12419 ecx = 0; /* 0x2B06C2FA: xor ecx, ecx */ 12420 _cf = 0; 12421 _flag_k = FK_TEST; 12422 L_2B06C2FC: 12423 PUSH32(esp, ebx); /* 0x2B06C2FC: push ebx */ 12424 PUSH32(esp, 0x2B06D3C0u); /* 0x2B06C2FD: push 0x2b06d3c0 */ 12425 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C302: mov byte ptr [ebp - 4], 1 */ 12426 MEM32(ebx + 0xD8) = ecx; /* 0x2B06C306: mov dword ptr [ebx + 0xd8], ecx */ 12427 RECOMP_ICALL(MEM32(0x2B0B5744)); /* 0x2B06C30C: call dword ptr [0x2b0b5744] */ 12428 RECOMP_FLAGS_IN(); 12429 ecx = MEM32(ebx + 0xD8); /* 0x2B06C312: mov ecx, dword ptr [ebx + 0xd8] */ 12430 PUSH32(esp, 0x64u); /* 0x2B06C318: push 0x64 */ 12431 RECOMP_ICALL(MEM32(0x2B0B5778)); /* 0x2B06C31A: call dword ptr [0x2b0b5778] */ 12432 RECOMP_FLAGS_IN(); 12433 eax = MEM32(ebx + 0x9C); /* 0x2B06C320: mov eax, dword ptr [ebx + 0x9c] */ 12434 ecx = MEM32(eax + 0x34); /* 0x2B06C326: mov ecx, dword ptr [eax + 0x34] */ 12435 RECOMP_ICALL(MEM32(0x2B0B56F8)); /* 0x2B06C329: call dword ptr [0x2b0b56f8] */ 12436 RECOMP_FLAGS_IN(); 12437 ecx = MEM32(ebx + 0xD8); /* 0x2B06C32F: mov ecx, dword ptr [ebx + 0xd8] */ 12438 MEM32(ebx + 0x48) = eax; /* 0x2B06C335: mov dword ptr [ebx + 0x48], eax */ 12439 PUSH32(esp, 0x64u); /* 0x2B06C338: push 0x64 */ 12440 MEM32(ecx + 0x98) = eax; /* 0x2B06C33A: mov dword ptr [ecx + 0x98], eax */ 12441 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C340: call 0x2b0ab212 */ /* not lifted */ 12442 RECOMP_FLAGS_IN(); 12443 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12444 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12445 esp = esp + 4; /* 0x2B06C345: add esp, 4 */ 12446 _flag_k = FK_ADD; 12447 MEM32(ebp + 0x8) = eax; /* 0x2B06C348: mov dword ptr [ebp + 8], eax */ 12448 /* cmp eax, esi */ /* 0x2B06C34B: cmp eax, esi */ 12449 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 12450 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12451 _flag_k = FK_CMP; 12452 MEM8(ebp + (-0x4)) = (uint8_t)(0x17u); /* 0x2B06C34D: mov byte ptr [ebp - 4], 0x17 */ 12453 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C384; /* 0x2B06C351: je 0x2b06c384 */ 12454 L_2B06C353: 12455 ecx = MEM32(ebx + 0x98); /* 0x2B06C353: mov ecx, dword ptr [ebx + 0x98] */ 12456 PUSH32(esp, ecx); /* 0x2B06C359: push ecx */ 12457 PUSH32(esp, esi); /* 0x2B06C35A: push esi */ 12458 PUSH32(esp, 0x30u); /* 0x2B06C35B: push 0x30 */ 12459 PUSH32(esp, esi); /* 0x2B06C35D: push esi */ 12460 PUSH32(esp, 0x6D63u); /* 0x2B06C35E: push 0x6d63 */ 12461 PUSH32(esp, 0x9Eu); /* 0x2B06C363: push 0x9e */ 12462 PUSH32(esp, esi); /* 0x2B06C368: push esi */ 12463 PUSH32(esp, 0x9Fu); /* 0x2B06C369: push 0x9f */ 12464 PUSH32(esp, 0x36u); /* 0x2B06C36E: push 0x36 */ 12465 PUSH32(esp, 0x36u); /* 0x2B06C370: push 0x36 */ 12466 PUSH32(esp, 3); /* 0x2B06C372: push 3 */ 12467 PUSH32(esp, 3); /* 0x2B06C374: push 3 */ 12468 edx = ebp + (-0x14); /* 0x2B06C376: lea edx, [ebp - 0x14] */ 12469 PUSH32(esp, edx); /* 0x2B06C379: push edx */ 12470 ecx = eax; /* 0x2B06C37A: mov ecx, eax */ 12471 RECOMP_ICALL(MEM32(0x2B0B58F8)); /* 0x2B06C37C: call dword ptr [0x2b0b58f8] */ 12472 RECOMP_FLAGS_IN(); 12473 goto L_2B06C386; /* 0x2B06C382: jmp 0x2b06c386 */ 12474 L_2B06C384: 12475 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12476 eax = 0; /* 0x2B06C384: xor eax, eax */ 12477 _cf = 0; 12478 _flag_k = FK_TEST; 12479 L_2B06C386: 12480 MEM32(ebx + 0xDC) = eax; /* 0x2B06C386: mov dword ptr [ebx + 0xdc], eax */ 12481 MEM32(eax + 0x5C) = 0x2B06D400u; /* 0x2B06C38C: mov dword ptr [eax + 0x5c], 0x2b06d400 */ 12482 MEM32(eax + 0x60) = ebx; /* 0x2B06C393: mov dword ptr [eax + 0x60], ebx */ 12483 eax = ebx + 0x5C; /* 0x2B06C396: lea eax, [ebx + 0x5c] */ 12484 PUSH32(esp, eax); /* 0x2B06C399: push eax */ 12485 ecx = ebx; /* 0x2B06C39A: mov ecx, ebx */ 12486 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C39C: mov byte ptr [ebp - 4], 1 */ 12487 RECOMP_ICALL(0x2B06CC00u); /* 0x2B06C3A0: call 0x2b06cc00 */ /* not lifted */ 12488 RECOMP_FLAGS_IN(); 12489 ecx = ebx; /* 0x2B06C3A5: mov ecx, ebx */ 12490 RECOMP_ICALL(0x2B06CBD0u); /* 0x2B06C3A7: call 0x2b06cbd0 */ /* not lifted */ 12491 RECOMP_FLAGS_IN(); 12492 eax = MEM32(0x2B0B6048); /* 0x2B06C3AC: mov eax, dword ptr [0x2b0b6048] */ 12493 ecx = MEM32(eax); /* 0x2B06C3B1: mov ecx, dword ptr [eax] */ 12494 PUSH32(esp, 1); /* 0x2B06C3B3: push 1 */ 12495 PUSH32(esp, 0x2B0EB490u); /* 0x2B06C3B5: push 0x2b0eb490 */ 12496 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B06C3BA: call dword ptr [0x2b0b602c] */ 12497 RECOMP_FLAGS_IN(); 12498 /* test eax, eax */ /* 0x2B06C3C0: test eax, eax */ 12499 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12500 _cf = 0; 12501 _flag_k = FK_TEST; 12502 SET_LO8(eax, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B06C3C2: setne al */ 12503 /* test LO8(eax), LO8(eax) */ /* 0x2B06C3C5: test al, al */ 12504 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12505 _cf = 0; 12506 _flag_k = FK_NARROW(FK_TEST, 24); 12507 MEM8(ebx + 0x58) = (uint8_t)(LO8(eax)); /* 0x2B06C3C7: mov byte ptr [ebx + 0x58], al */ 12508 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06C3DA; /* 0x2B06C3CA: jne 0x2b06c3da */ 12509 L_2B06C3CC: 12510 ecx = MEM32(ebx + 0xCC); /* 0x2B06C3CC: mov ecx, dword ptr [ebx + 0xcc] */ 12511 PUSH32(esp, 2); /* 0x2B06C3D2: push 2 */ 12512 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06C3D4: call dword ptr [0x2b0b5ab4] */ 12513 RECOMP_FLAGS_IN(); 12514 L_2B06C3DA: 12515 ecx = MEM32(ebp + (-0xC)); /* 0x2B06C3DA: mov ecx, dword ptr [ebp - 0xc] */ 12516 edi = POP32_VAL(esp); /* 0x2B06C3DD: pop edi */ 12517 esi = POP32_VAL(esp); /* 0x2B06C3DE: pop esi */ 12518 eax = ebx; /* 0x2B06C3DF: mov eax, ebx */ 12519 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06C3E1: mov dword ptr fs:[0], ecx */ 12520 ebx = POP32_VAL(esp); /* 0x2B06C3E8: pop ebx */ 12521 esp = ebp; /* 0x2B06C3E9: mov esp, ebp */ 12522 ebp = POP32_VAL(esp); /* 0x2B06C3EB: pop ebp */ 12523 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06C3EC: ret 4 */ 12524 RECOMP_REGS_OUT(); 12525 } 12526 12527 void sub_2B06BE8C(void) { 12528 int _fpu_cmp = 0; 12529 uint32_t _cf = 0; 12530 int _df = 1; 12531 uint32_t _flag_k = FK_NONE; 12532 uint32_t _flag_a = 0, _flag_b = 0; 12533 uint32_t _itail_tgt = 0; 12534 RECOMP_REGS_LOCALS 12535 RECOMP_ENTER(0x2B06BE8Cu); 12536 12537 L_2B06BE8C: 12538 PUSH32(esp, ebx); /* 0x2B06BE8C: push ebx */ 12539 PUSH32(esp, 0x2B06D3A0u); /* 0x2B06BE8D: push 0x2b06d3a0 */ 12540 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BE92: mov byte ptr [ebp - 4], 1 */ 12541 MEM32(ebx + 0xCC) = ecx; /* 0x2B06BE96: mov dword ptr [ebx + 0xcc], ecx */ 12542 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B06BE9C: call dword ptr [0x2b0b5af8] */ 12543 RECOMP_FLAGS_IN(); 12544 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12545 eax = 0; /* 0x2B06BEA2: xor eax, eax */ 12546 _cf = 0; 12547 _flag_k = FK_TEST; 12548 ecx = 0xCu; /* 0x2B06BEA4: mov ecx, 0xc */ 12549 edi = ebp + (-0x64); /* 0x2B06BEA9: lea edi, [ebp - 0x64] */ 12550 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BEAC: 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; } 12551 eax = MEM32(ebx + 0x7C); /* 0x2B06BEAE: mov eax, dword ptr [ebx + 0x7c] */ 12552 if (1u) _cf = (((eax) >> 31) & 1u); /* 0x2B06BEB1: shl eax, 1 */ 12553 if (1u) { _flag_a = recomp_flags_pack((eax << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12554 eax = eax << 1u; /* 0x2B06BEB1: shl eax, 1 */ 12555 PUSH32(esp, 0xBCu); /* 0x2B06BEB3: push 0xbc */ 12556 MEM32(ebp + (-0x54)) = eax; /* 0x2B06BEB8: mov dword ptr [ebp - 0x54], eax */ 12557 MEM32(ebp + (-0x58)) = 0x2B0EB4A0u; /* 0x2B06BEBB: mov dword ptr [ebp - 0x58], 0x2b0eb4a0 */ 12558 MEM32(ebp + (-0x4C)) = 0x6D61u; /* 0x2B06BEC2: mov dword ptr [ebp - 0x4c], 0x6d61 */ 12559 MEM32(ebp + (-0x48)) = 0x66u; /* 0x2B06BEC9: mov dword ptr [ebp - 0x48], 0x66 */ 12560 MEM32(ebp + (-0x44)) = 0x67u; /* 0x2B06BED0: mov dword ptr [ebp - 0x44], 0x67 */ 12561 MEM32(ebp + (-0x40)) = 0x68u; /* 0x2B06BED7: mov dword ptr [ebp - 0x40], 0x68 */ 12562 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BEDE: call 0x2b0ab212 */ /* not lifted */ 12563 RECOMP_FLAGS_IN(); 12564 edi = eax; /* 0x2B06BEE3: mov edi, eax */ 12565 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12566 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12567 esp = esp + 4; /* 0x2B06BEE5: add esp, 4 */ 12568 _flag_k = FK_ADD; 12569 MEM32(ebp + 0x8) = edi; /* 0x2B06BEE8: mov dword ptr [ebp + 8], edi */ 12570 /* cmp edi, esi */ /* 0x2B06BEEB: cmp edi, esi */ 12571 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 12572 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12573 _flag_k = FK_CMP; 12574 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x2B06BEED: mov byte ptr [ebp - 4], 0xe */ 12575 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BF10; /* 0x2B06BEF1: je 0x2b06bf10 */ 12576 L_2B06BEF3: 12577 ecx = MEM32(ebx + 0xA8); /* 0x2B06BEF3: mov ecx, dword ptr [ebx + 0xa8] */ 12578 PUSH32(esp, ecx); /* 0x2B06BEF9: push ecx */ 12579 edx = ebp + (-0x64); /* 0x2B06BEFA: lea edx, [ebp - 0x64] */ 12580 PUSH32(esp, edx); /* 0x2B06BEFD: push edx */ 12581 ecx = edi; /* 0x2B06BEFE: mov ecx, edi */ 12582 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B06BF00: call dword ptr [0x2b0b5afc] */ 12583 RECOMP_FLAGS_IN(); 12584 MEM32(edi) = 0x2B0B645Cu; /* 0x2B06BF06: mov dword ptr [edi], 0x2b0b645c */ 12585 ecx = edi; /* 0x2B06BF0C: mov ecx, edi */ 12586 goto L_2B06BF12; /* 0x2B06BF0E: jmp 0x2b06bf12 */ 12587 L_2B06BF10: 12588 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12589 ecx = 0; /* 0x2B06BF10: xor ecx, ecx */ 12590 _cf = 0; 12591 _flag_k = FK_TEST; 12592 L_2B06BF12: 12593 PUSH32(esp, ebx); /* 0x2B06BF12: push ebx */ 12594 PUSH32(esp, 0x2B06D360u); /* 0x2B06BF13: push 0x2b06d360 */ 12595 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BF18: mov byte ptr [ebp - 4], 1 */ 12596 MEM32(ebx + 0xC8) = ecx; /* 0x2B06BF1C: mov dword ptr [ebx + 0xc8], ecx */ 12597 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B06BF22: call dword ptr [0x2b0b5af8] */ 12598 RECOMP_FLAGS_IN(); 12599 ecx = MEM32(ebx + 0xC8); /* 0x2B06BF28: mov ecx, dword ptr [ebx + 0xc8] */ 12600 PUSH32(esp, esi); /* 0x2B06BF2E: push esi */ 12601 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06BF2F: call dword ptr [0x2b0b5ab4] */ 12602 RECOMP_FLAGS_IN(); 12603 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12604 eax = 0; /* 0x2B06BF35: xor eax, eax */ 12605 _cf = 0; 12606 _flag_k = FK_TEST; 12607 ecx = 0xCu; /* 0x2B06BF37: mov ecx, 0xc */ 12608 edi = ebp + (-0x64); /* 0x2B06BF3C: lea edi, [ebp - 0x64] */ 12609 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BF3F: 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; } 12610 eax = MEM32(ebx + 0x7C); /* 0x2B06BF41: mov eax, dword ptr [ebx + 0x7c] */ 12611 eax = eax + eax * 2; /* 0x2B06BF44: lea eax, [eax + eax*2] */ 12612 PUSH32(esp, 0xBCu); /* 0x2B06BF47: push 0xbc */ 12613 MEM32(ebp + (-0x54)) = eax; /* 0x2B06BF4C: mov dword ptr [ebp - 0x54], eax */ 12614 MEM32(ebp + (-0x58)) = 0x2B0E6EE8u; /* 0x2B06BF4F: mov dword ptr [ebp - 0x58], 0x2b0e6ee8 */ 12615 MEM32(ebp + (-0x4C)) = 0x6D61u; /* 0x2B06BF56: mov dword ptr [ebp - 0x4c], 0x6d61 */ 12616 MEM32(ebp + (-0x48)) = 0xAu; /* 0x2B06BF5D: mov dword ptr [ebp - 0x48], 0xa */ 12617 MEM32(ebp + (-0x44)) = 0x69u; /* 0x2B06BF64: mov dword ptr [ebp - 0x44], 0x69 */ 12618 MEM32(ebp + (-0x40)) = 0x6Au; /* 0x2B06BF6B: mov dword ptr [ebp - 0x40], 0x6a */ 12619 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BF72: call 0x2b0ab212 */ /* not lifted */ 12620 RECOMP_FLAGS_IN(); 12621 edi = eax; /* 0x2B06BF77: mov edi, eax */ 12622 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12623 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12624 esp = esp + 4; /* 0x2B06BF79: add esp, 4 */ 12625 _flag_k = FK_ADD; 12626 MEM32(ebp + 0x8) = edi; /* 0x2B06BF7C: mov dword ptr [ebp + 8], edi */ 12627 /* cmp edi, esi */ /* 0x2B06BF7F: cmp edi, esi */ 12628 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 12629 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12630 _flag_k = FK_CMP; 12631 MEM8(ebp + (-0x4)) = (uint8_t)(0xFu); /* 0x2B06BF81: mov byte ptr [ebp - 4], 0xf */ 12632 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BFA4; /* 0x2B06BF85: je 0x2b06bfa4 */ 12633 L_2B06BF87: 12634 ecx = MEM32(ebx + 0xA8); /* 0x2B06BF87: mov ecx, dword ptr [ebx + 0xa8] */ 12635 PUSH32(esp, ecx); /* 0x2B06BF8D: push ecx */ 12636 edx = ebp + (-0x64); /* 0x2B06BF8E: lea edx, [ebp - 0x64] */ 12637 PUSH32(esp, edx); /* 0x2B06BF91: push edx */ 12638 ecx = edi; /* 0x2B06BF92: mov ecx, edi */ 12639 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B06BF94: call dword ptr [0x2b0b5afc] */ 12640 RECOMP_FLAGS_IN(); 12641 MEM32(edi) = 0x2B0B645Cu; /* 0x2B06BF9A: mov dword ptr [edi], 0x2b0b645c */ 12642 ecx = edi; /* 0x2B06BFA0: mov ecx, edi */ 12643 goto L_2B06BFA6; /* 0x2B06BFA2: jmp 0x2b06bfa6 */ 12644 L_2B06BFA4: 12645 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12646 ecx = 0; /* 0x2B06BFA4: xor ecx, ecx */ 12647 _cf = 0; 12648 _flag_k = FK_TEST; 12649 L_2B06BFA6: 12650 PUSH32(esp, ebx); /* 0x2B06BFA6: push ebx */ 12651 PUSH32(esp, 0x2B06D340u); /* 0x2B06BFA7: push 0x2b06d340 */ 12652 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BFAC: mov byte ptr [ebp - 4], 1 */ 12653 MEM32(ebx + 0xC4) = ecx; /* 0x2B06BFB0: mov dword ptr [ebx + 0xc4], ecx */ 12654 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B06BFB6: call dword ptr [0x2b0b5af8] */ 12655 RECOMP_FLAGS_IN(); 12656 PUSH32(esp, 2); /* 0x2B06BFBC: push 2 */ 12657 PUSH32(esp, 8); /* 0x2B06BFBE: push 8 */ 12658 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06BFC0: call dword ptr [0x2b0b5f80] */ 12659 RECOMP_FLAGS_IN(); 12660 ecx = eax; /* 0x2B06BFC6: mov ecx, eax */ 12661 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06BFC8: call dword ptr [0x2b0b5fbc] */ 12662 RECOMP_FLAGS_IN(); 12663 PUSH32(esp, 0xD8u); /* 0x2B06BFCE: push 0xd8 */ 12664 MEM32(ebp + 0x8) = eax; /* 0x2B06BFD3: mov dword ptr [ebp + 8], eax */ 12665 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BFD6: call 0x2b0ab212 */ /* not lifted */ 12666 RECOMP_FLAGS_IN(); 12667 edi = eax; /* 0x2B06BFDB: mov edi, eax */ 12668 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12669 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12670 esp = esp + 4; /* 0x2B06BFDD: add esp, 4 */ 12671 _flag_k = FK_ADD; 12672 MEM32(ebp + (-0x28)) = edi; /* 0x2B06BFE0: mov dword ptr [ebp - 0x28], edi */ 12673 /* cmp edi, esi */ /* 0x2B06BFE3: cmp edi, esi */ 12674 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 12675 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12676 _flag_k = FK_CMP; 12677 MEM8(ebp + (-0x4)) = (uint8_t)(0x10u); /* 0x2B06BFE5: mov byte ptr [ebp - 4], 0x10 */ 12678 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C01F; /* 0x2B06BFE9: je 0x2b06c01f */ 12679 L_2B06BFEB: 12680 edx = MEM32(ebp + 0x8); /* 0x2B06BFEB: mov edx, dword ptr [ebp + 8] */ 12681 eax = ebp + (-0x18); /* 0x2B06BFEE: lea eax, [ebp - 0x18] */ 12682 PUSH32(esp, eax); /* 0x2B06BFF1: push eax */ 12683 ecx = ebp + (-0x20); /* 0x2B06BFF2: lea ecx, [ebp - 0x20] */ 12684 PUSH32(esp, ecx); /* 0x2B06BFF5: push ecx */ 12685 PUSH32(esp, esi); /* 0x2B06BFF6: push esi */ 12686 PUSH32(esp, 0x6D60u); /* 0x2B06BFF7: push 0x6d60 */ 12687 PUSH32(esp, edx); /* 0x2B06BFFC: push edx */ 12688 eax = ebp + (-0x14); /* 0x2B06BFFD: lea eax, [ebp - 0x14] */ 12689 PUSH32(esp, eax); /* 0x2B06C000: push eax */ 12690 ecx = edi; /* 0x2B06C001: mov ecx, edi */ 12691 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C003: mov dword ptr [ebp - 0x18], 0x3f800000 */ 12692 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C00A: mov dword ptr [ebp - 0x20], 0x3f800000 */ 12693 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C011: call dword ptr [0x2b0b5654] */ 12694 RECOMP_FLAGS_IN(); 12695 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C017: mov dword ptr [edi], 0x2b0b618c */ 12696 goto L_2B06C021; /* 0x2B06C01D: jmp 0x2b06c021 */ 12697 L_2B06C01F: 12698 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12699 edi = 0; /* 0x2B06C01F: xor edi, edi */ 12700 _cf = 0; 12701 _flag_k = FK_TEST; 12702 L_2B06C021: 12703 PUSH32(esp, 2); /* 0x2B06C021: push 2 */ 12704 PUSH32(esp, 7); /* 0x2B06C023: push 7 */ 12705 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C025: mov byte ptr [ebp - 4], 1 */ 12706 MEM32(ebx + 0xAC) = edi; /* 0x2B06C029: mov dword ptr [ebx + 0xac], edi */ 12707 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C02F: call dword ptr [0x2b0b5f80] */ 12708 RECOMP_FLAGS_IN(); 12709 ecx = eax; /* 0x2B06C035: mov ecx, eax */ 12710 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C037: call dword ptr [0x2b0b5fbc] */ 12711 RECOMP_FLAGS_IN(); 12712 PUSH32(esp, 0xD8u); /* 0x2B06C03D: push 0xd8 */ 12713 MEM32(ebp + 0x8) = eax; /* 0x2B06C042: mov dword ptr [ebp + 8], eax */ 12714 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C045: call 0x2b0ab212 */ /* not lifted */ 12715 RECOMP_FLAGS_IN(); 12716 edi = eax; /* 0x2B06C04A: mov edi, eax */ 12717 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12718 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12719 esp = esp + 4; /* 0x2B06C04C: add esp, 4 */ 12720 _flag_k = FK_ADD; 12721 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C04F: mov dword ptr [ebp - 0x28], edi */ 12722 /* cmp edi, esi */ /* 0x2B06C052: cmp edi, esi */ 12723 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 12724 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12725 _flag_k = FK_CMP; 12726 MEM8(ebp + (-0x4)) = (uint8_t)(0x11u); /* 0x2B06C054: mov byte ptr [ebp - 4], 0x11 */ 12727 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C08E; /* 0x2B06C058: je 0x2b06c08e */ 12728 L_2B06C05A: 12729 eax = MEM32(ebp + 0x8); /* 0x2B06C05A: mov eax, dword ptr [ebp + 8] */ 12730 ecx = ebp + (-0x20); /* 0x2B06C05D: lea ecx, [ebp - 0x20] */ 12731 PUSH32(esp, ecx); /* 0x2B06C060: push ecx */ 12732 edx = ebp + (-0x18); /* 0x2B06C061: lea edx, [ebp - 0x18] */ 12733 PUSH32(esp, edx); /* 0x2B06C064: push edx */ 12734 PUSH32(esp, esi); /* 0x2B06C065: push esi */ 12735 PUSH32(esp, 0x6D60u); /* 0x2B06C066: push 0x6d60 */ 12736 PUSH32(esp, eax); /* 0x2B06C06B: push eax */ 12737 ecx = ebp + (-0x14); /* 0x2B06C06C: lea ecx, [ebp - 0x14] */ 12738 PUSH32(esp, ecx); /* 0x2B06C06F: push ecx */ 12739 ecx = edi; /* 0x2B06C070: mov ecx, edi */ 12740 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C072: mov dword ptr [ebp - 0x20], 0x3f800000 */ 12741 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C079: mov dword ptr [ebp - 0x18], 0x3f800000 */ 12742 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C080: call dword ptr [0x2b0b5654] */ 12743 RECOMP_FLAGS_IN(); 12744 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C086: mov dword ptr [edi], 0x2b0b618c */ 12745 goto L_2B06C090; /* 0x2B06C08C: jmp 0x2b06c090 */ 12746 L_2B06C08E: 12747 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12748 edi = 0; /* 0x2B06C08E: xor edi, edi */ 12749 _cf = 0; 12750 _flag_k = FK_TEST; 12751 L_2B06C090: 12752 PUSH32(esp, 2); /* 0x2B06C090: push 2 */ 12753 PUSH32(esp, 6); /* 0x2B06C092: push 6 */ 12754 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C094: mov byte ptr [ebp - 4], 1 */ 12755 MEM32(ebx + 0xB0) = edi; /* 0x2B06C098: mov dword ptr [ebx + 0xb0], edi */ 12756 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C09E: call dword ptr [0x2b0b5f80] */ 12757 RECOMP_FLAGS_IN(); 12758 ecx = eax; /* 0x2B06C0A4: mov ecx, eax */ 12759 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C0A6: call dword ptr [0x2b0b5fbc] */ 12760 RECOMP_FLAGS_IN(); 12761 PUSH32(esp, 0xD8u); /* 0x2B06C0AC: push 0xd8 */ 12762 MEM32(ebp + 0x8) = eax; /* 0x2B06C0B1: mov dword ptr [ebp + 8], eax */ 12763 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C0B4: call 0x2b0ab212 */ /* not lifted */ 12764 RECOMP_FLAGS_IN(); 12765 edi = eax; /* 0x2B06C0B9: mov edi, eax */ 12766 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12767 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12768 esp = esp + 4; /* 0x2B06C0BB: add esp, 4 */ 12769 _flag_k = FK_ADD; 12770 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C0BE: mov dword ptr [ebp - 0x28], edi */ 12771 /* cmp edi, esi */ /* 0x2B06C0C1: cmp edi, esi */ 12772 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 12773 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12774 _flag_k = FK_CMP; 12775 MEM8(ebp + (-0x4)) = (uint8_t)(0x12u); /* 0x2B06C0C3: mov byte ptr [ebp - 4], 0x12 */ 12776 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C0FD; /* 0x2B06C0C7: je 0x2b06c0fd */ 12777 L_2B06C0C9: 12778 ecx = MEM32(ebp + 0x8); /* 0x2B06C0C9: mov ecx, dword ptr [ebp + 8] */ 12779 edx = ebp + (-0x20); /* 0x2B06C0CC: lea edx, [ebp - 0x20] */ 12780 PUSH32(esp, edx); /* 0x2B06C0CF: push edx */ 12781 eax = ebp + (-0x18); /* 0x2B06C0D0: lea eax, [ebp - 0x18] */ 12782 PUSH32(esp, eax); /* 0x2B06C0D3: push eax */ 12783 PUSH32(esp, esi); /* 0x2B06C0D4: push esi */ 12784 PUSH32(esp, 0x6D60u); /* 0x2B06C0D5: push 0x6d60 */ 12785 PUSH32(esp, ecx); /* 0x2B06C0DA: push ecx */ 12786 edx = ebp + (-0x14); /* 0x2B06C0DB: lea edx, [ebp - 0x14] */ 12787 PUSH32(esp, edx); /* 0x2B06C0DE: push edx */ 12788 ecx = edi; /* 0x2B06C0DF: mov ecx, edi */ 12789 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C0E1: mov dword ptr [ebp - 0x20], 0x3f800000 */ 12790 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C0E8: mov dword ptr [ebp - 0x18], 0x3f800000 */ 12791 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C0EF: call dword ptr [0x2b0b5654] */ 12792 RECOMP_FLAGS_IN(); 12793 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C0F5: mov dword ptr [edi], 0x2b0b618c */ 12794 goto L_2B06C0FF; /* 0x2B06C0FB: jmp 0x2b06c0ff */ 12795 L_2B06C0FD: 12796 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12797 edi = 0; /* 0x2B06C0FD: xor edi, edi */ 12798 _cf = 0; 12799 _flag_k = FK_TEST; 12800 L_2B06C0FF: 12801 PUSH32(esp, 2); /* 0x2B06C0FF: push 2 */ 12802 PUSH32(esp, 5); /* 0x2B06C101: push 5 */ 12803 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C103: mov byte ptr [ebp - 4], 1 */ 12804 MEM32(ebx + 0xB4) = edi; /* 0x2B06C107: mov dword ptr [ebx + 0xb4], edi */ 12805 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C10D: call dword ptr [0x2b0b5f80] */ 12806 RECOMP_FLAGS_IN(); 12807 ecx = eax; /* 0x2B06C113: mov ecx, eax */ 12808 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C115: call dword ptr [0x2b0b5fbc] */ 12809 RECOMP_FLAGS_IN(); 12810 PUSH32(esp, 0xD8u); /* 0x2B06C11B: push 0xd8 */ 12811 MEM32(ebp + 0x8) = eax; /* 0x2B06C120: mov dword ptr [ebp + 8], eax */ 12812 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C123: call 0x2b0ab212 */ /* not lifted */ 12813 RECOMP_FLAGS_IN(); 12814 edi = eax; /* 0x2B06C128: mov edi, eax */ 12815 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12816 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12817 esp = esp + 4; /* 0x2B06C12A: add esp, 4 */ 12818 _flag_k = FK_ADD; 12819 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C12D: mov dword ptr [ebp - 0x28], edi */ 12820 /* cmp edi, esi */ /* 0x2B06C130: cmp edi, esi */ 12821 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 12822 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12823 _flag_k = FK_CMP; 12824 MEM8(ebp + (-0x4)) = (uint8_t)(0x13u); /* 0x2B06C132: mov byte ptr [ebp - 4], 0x13 */ 12825 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C16C; /* 0x2B06C136: je 0x2b06c16c */ 12826 L_2B06C138: 12827 edx = MEM32(ebp + 0x8); /* 0x2B06C138: mov edx, dword ptr [ebp + 8] */ 12828 eax = ebp + (-0x20); /* 0x2B06C13B: lea eax, [ebp - 0x20] */ 12829 PUSH32(esp, eax); /* 0x2B06C13E: push eax */ 12830 ecx = ebp + (-0x18); /* 0x2B06C13F: lea ecx, [ebp - 0x18] */ 12831 PUSH32(esp, ecx); /* 0x2B06C142: push ecx */ 12832 PUSH32(esp, esi); /* 0x2B06C143: push esi */ 12833 PUSH32(esp, 0x6D60u); /* 0x2B06C144: push 0x6d60 */ 12834 PUSH32(esp, edx); /* 0x2B06C149: push edx */ 12835 eax = ebp + (-0x14); /* 0x2B06C14A: lea eax, [ebp - 0x14] */ 12836 PUSH32(esp, eax); /* 0x2B06C14D: push eax */ 12837 ecx = edi; /* 0x2B06C14E: mov ecx, edi */ 12838 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C150: mov dword ptr [ebp - 0x20], 0x3f800000 */ 12839 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C157: mov dword ptr [ebp - 0x18], 0x3f800000 */ 12840 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C15E: call dword ptr [0x2b0b5654] */ 12841 RECOMP_FLAGS_IN(); 12842 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C164: mov dword ptr [edi], 0x2b0b618c */ 12843 goto L_2B06C16E; /* 0x2B06C16A: jmp 0x2b06c16e */ 12844 L_2B06C16C: 12845 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12846 edi = 0; /* 0x2B06C16C: xor edi, edi */ 12847 _cf = 0; 12848 _flag_k = FK_TEST; 12849 L_2B06C16E: 12850 PUSH32(esp, 2); /* 0x2B06C16E: push 2 */ 12851 PUSH32(esp, 3); /* 0x2B06C170: push 3 */ 12852 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C172: mov byte ptr [ebp - 4], 1 */ 12853 MEM32(ebx + 0xB8) = edi; /* 0x2B06C176: mov dword ptr [ebx + 0xb8], edi */ 12854 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C17C: call dword ptr [0x2b0b5f80] */ 12855 RECOMP_FLAGS_IN(); 12856 ecx = eax; /* 0x2B06C182: mov ecx, eax */ 12857 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C184: call dword ptr [0x2b0b5fbc] */ 12858 RECOMP_FLAGS_IN(); 12859 PUSH32(esp, 0xD8u); /* 0x2B06C18A: push 0xd8 */ 12860 MEM32(ebp + 0x8) = eax; /* 0x2B06C18F: mov dword ptr [ebp + 8], eax */ 12861 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C192: call 0x2b0ab212 */ /* not lifted */ 12862 RECOMP_FLAGS_IN(); 12863 edi = eax; /* 0x2B06C197: mov edi, eax */ 12864 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12865 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12866 esp = esp + 4; /* 0x2B06C199: add esp, 4 */ 12867 _flag_k = FK_ADD; 12868 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C19C: mov dword ptr [ebp - 0x28], edi */ 12869 /* cmp edi, esi */ /* 0x2B06C19F: cmp edi, esi */ 12870 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 12871 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12872 _flag_k = FK_CMP; 12873 MEM8(ebp + (-0x4)) = (uint8_t)(0x14u); /* 0x2B06C1A1: mov byte ptr [ebp - 4], 0x14 */ 12874 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C1DB; /* 0x2B06C1A5: je 0x2b06c1db */ 12875 L_2B06C1A7: 12876 eax = MEM32(ebp + 0x8); /* 0x2B06C1A7: mov eax, dword ptr [ebp + 8] */ 12877 ecx = ebp + (-0x20); /* 0x2B06C1AA: lea ecx, [ebp - 0x20] */ 12878 PUSH32(esp, ecx); /* 0x2B06C1AD: push ecx */ 12879 edx = ebp + (-0x18); /* 0x2B06C1AE: lea edx, [ebp - 0x18] */ 12880 PUSH32(esp, edx); /* 0x2B06C1B1: push edx */ 12881 PUSH32(esp, esi); /* 0x2B06C1B2: push esi */ 12882 PUSH32(esp, 0x6D60u); /* 0x2B06C1B3: push 0x6d60 */ 12883 PUSH32(esp, eax); /* 0x2B06C1B8: push eax */ 12884 ecx = ebp + (-0x14); /* 0x2B06C1B9: lea ecx, [ebp - 0x14] */ 12885 PUSH32(esp, ecx); /* 0x2B06C1BC: push ecx */ 12886 ecx = edi; /* 0x2B06C1BD: mov ecx, edi */ 12887 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C1BF: mov dword ptr [ebp - 0x20], 0x3f800000 */ 12888 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C1C6: mov dword ptr [ebp - 0x18], 0x3f800000 */ 12889 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C1CD: call dword ptr [0x2b0b5654] */ 12890 RECOMP_FLAGS_IN(); 12891 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C1D3: mov dword ptr [edi], 0x2b0b618c */ 12892 goto L_2B06C1DD; /* 0x2B06C1D9: jmp 0x2b06c1dd */ 12893 L_2B06C1DB: 12894 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12895 edi = 0; /* 0x2B06C1DB: xor edi, edi */ 12896 _cf = 0; 12897 _flag_k = FK_TEST; 12898 L_2B06C1DD: 12899 PUSH32(esp, 2); /* 0x2B06C1DD: push 2 */ 12900 PUSH32(esp, 4); /* 0x2B06C1DF: push 4 */ 12901 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C1E1: mov byte ptr [ebp - 4], 1 */ 12902 MEM32(ebx + 0xBC) = edi; /* 0x2B06C1E5: mov dword ptr [ebx + 0xbc], edi */ 12903 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C1EB: call dword ptr [0x2b0b5f80] */ 12904 RECOMP_FLAGS_IN(); 12905 ecx = eax; /* 0x2B06C1F1: mov ecx, eax */ 12906 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C1F3: call dword ptr [0x2b0b5fbc] */ 12907 RECOMP_FLAGS_IN(); 12908 PUSH32(esp, 0xD8u); /* 0x2B06C1F9: push 0xd8 */ 12909 MEM32(ebp + 0x8) = eax; /* 0x2B06C1FE: mov dword ptr [ebp + 8], eax */ 12910 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C201: call 0x2b0ab212 */ /* not lifted */ 12911 RECOMP_FLAGS_IN(); 12912 edi = eax; /* 0x2B06C206: mov edi, eax */ 12913 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12914 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12915 esp = esp + 4; /* 0x2B06C208: add esp, 4 */ 12916 _flag_k = FK_ADD; 12917 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C20B: mov dword ptr [ebp - 0x28], edi */ 12918 /* cmp edi, esi */ /* 0x2B06C20E: cmp edi, esi */ 12919 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 12920 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12921 _flag_k = FK_CMP; 12922 MEM8(ebp + (-0x4)) = (uint8_t)(0x15u); /* 0x2B06C210: mov byte ptr [ebp - 4], 0x15 */ 12923 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C24A; /* 0x2B06C214: je 0x2b06c24a */ 12924 L_2B06C216: 12925 ecx = MEM32(ebp + 0x8); /* 0x2B06C216: mov ecx, dword ptr [ebp + 8] */ 12926 edx = ebp + (-0x20); /* 0x2B06C219: lea edx, [ebp - 0x20] */ 12927 PUSH32(esp, edx); /* 0x2B06C21C: push edx */ 12928 eax = ebp + (-0x18); /* 0x2B06C21D: lea eax, [ebp - 0x18] */ 12929 PUSH32(esp, eax); /* 0x2B06C220: push eax */ 12930 PUSH32(esp, esi); /* 0x2B06C221: push esi */ 12931 PUSH32(esp, 0x6D60u); /* 0x2B06C222: push 0x6d60 */ 12932 PUSH32(esp, ecx); /* 0x2B06C227: push ecx */ 12933 edx = ebp + (-0x14); /* 0x2B06C228: lea edx, [ebp - 0x14] */ 12934 PUSH32(esp, edx); /* 0x2B06C22B: push edx */ 12935 ecx = edi; /* 0x2B06C22C: mov ecx, edi */ 12936 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C22E: mov dword ptr [ebp - 0x20], 0x3f800000 */ 12937 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C235: mov dword ptr [ebp - 0x18], 0x3f800000 */ 12938 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C23C: call dword ptr [0x2b0b5654] */ 12939 RECOMP_FLAGS_IN(); 12940 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C242: mov dword ptr [edi], 0x2b0b618c */ 12941 goto L_2B06C24C; /* 0x2B06C248: jmp 0x2b06c24c */ 12942 L_2B06C24A: 12943 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12944 edi = 0; /* 0x2B06C24A: xor edi, edi */ 12945 _cf = 0; 12946 _flag_k = FK_TEST; 12947 L_2B06C24C: 12948 eax = MEM32(ebx + 0x78); /* 0x2B06C24C: mov eax, dword ptr [ebx + 0x78] */ 12949 ecx = eax + (-0x16); /* 0x2B06C24F: lea ecx, [eax - 0x16] */ 12950 MEM32(ebx + 0xC0) = edi; /* 0x2B06C252: mov dword ptr [ebx + 0xc0], edi */ 12951 MEM32(ebp + (-0xC0)) = ecx; /* 0x2B06C258: mov dword ptr [ebp - 0xc0], ecx */ 12952 MEM32(ebp + (-0xAC)) = eax; /* 0x2B06C25E: mov dword ptr [ebp - 0xac], eax */ 12953 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12954 eax = 0; /* 0x2B06C264: xor eax, eax */ 12955 _cf = 0; 12956 _flag_k = FK_TEST; 12957 MEM32(ebp + (-0xE0)) = esi; /* 0x2B06C266: mov dword ptr [ebp - 0xe0], esi */ 12958 MEM32(ebp + (-0xDC)) = esi; /* 0x2B06C26C: mov dword ptr [ebp - 0xdc], esi */ 12959 MEM32(ebp + (-0xD8)) = esi; /* 0x2B06C272: mov dword ptr [ebp - 0xd8], esi */ 12960 MEM32(ebp + (-0xD4)) = 0x6D65u; /* 0x2B06C278: mov dword ptr [ebp - 0xd4], 0x6d65 */ 12961 MEM32(ebp + (-0xD0)) = esi; /* 0x2B06C282: mov dword ptr [ebp - 0xd0], esi */ 12962 MEM32(ebp + (-0xCC)) = esi; /* 0x2B06C288: mov dword ptr [ebp - 0xcc], esi */ 12963 MEM32(ebp + (-0xC8)) = esi; /* 0x2B06C28E: mov dword ptr [ebp - 0xc8], esi */ 12964 MEM32(ebp + (-0xC4)) = esi; /* 0x2B06C294: mov dword ptr [ebp - 0xc4], esi */ 12965 MEM32(ebp + (-0xBC)) = esi; /* 0x2B06C29A: mov dword ptr [ebp - 0xbc], esi */ 12966 MEM32(ebp + (-0xB8)) = esi; /* 0x2B06C2A0: mov dword ptr [ebp - 0xb8], esi */ 12967 MEM32(ebp + (-0xB4)) = esi; /* 0x2B06C2A6: mov dword ptr [ebp - 0xb4], esi */ 12968 MEM32(ebp + (-0xB0)) = 1; /* 0x2B06C2AC: mov dword ptr [ebp - 0xb0], 1 */ 12969 ecx = 6; /* 0x2B06C2B6: mov ecx, 6 */ 12970 edi = ebp + (-0xA8); /* 0x2B06C2BB: lea edi, [ebp - 0xa8] */ 12971 PUSH32(esp, 0xC8u); /* 0x2B06C2C1: push 0xc8 */ 12972 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C2C6: mov byte ptr [ebp - 4], 1 */ 12973 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06C2CA: 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; } 12974 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C2CC: call 0x2b0ab212 */ /* not lifted */ 12975 RECOMP_FLAGS_IN(); 12976 edi = eax; /* 0x2B06C2D1: mov edi, eax */ 12977 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12978 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12979 esp = esp + 4; /* 0x2B06C2D3: add esp, 4 */ 12980 _flag_k = FK_ADD; 12981 MEM32(ebp + 0x8) = edi; /* 0x2B06C2D6: mov dword ptr [ebp + 8], edi */ 12982 /* cmp edi, esi */ /* 0x2B06C2D9: cmp edi, esi */ 12983 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 12984 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12985 _flag_k = FK_CMP; 12986 MEM8(ebp + (-0x4)) = (uint8_t)(0x16u); /* 0x2B06C2DB: mov byte ptr [ebp - 4], 0x16 */ 12987 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C2FA; /* 0x2B06C2DF: je 0x2b06c2fa */ 12988 L_2B06C2E1: 12989 edx = ebp + (-0xE0); /* 0x2B06C2E1: lea edx, [ebp - 0xe0] */ 12990 PUSH32(esp, edx); /* 0x2B06C2E7: push edx */ 12991 ecx = edi; /* 0x2B06C2E8: mov ecx, edi */ 12992 RECOMP_ICALL(MEM32(0x2B0B5748)); /* 0x2B06C2EA: call dword ptr [0x2b0b5748] */ 12993 RECOMP_FLAGS_IN(); 12994 MEM32(edi) = 0x2B0B7110u; /* 0x2B06C2F0: mov dword ptr [edi], 0x2b0b7110 */ 12995 ecx = edi; /* 0x2B06C2F6: mov ecx, edi */ 12996 goto L_2B06C2FC; /* 0x2B06C2F8: jmp 0x2b06c2fc */ 12997 L_2B06C2FA: 12998 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12999 ecx = 0; /* 0x2B06C2FA: xor ecx, ecx */ 13000 _cf = 0; 13001 _flag_k = FK_TEST; 13002 L_2B06C2FC: 13003 PUSH32(esp, ebx); /* 0x2B06C2FC: push ebx */ 13004 PUSH32(esp, 0x2B06D3C0u); /* 0x2B06C2FD: push 0x2b06d3c0 */ 13005 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C302: mov byte ptr [ebp - 4], 1 */ 13006 MEM32(ebx + 0xD8) = ecx; /* 0x2B06C306: mov dword ptr [ebx + 0xd8], ecx */ 13007 RECOMP_ICALL(MEM32(0x2B0B5744)); /* 0x2B06C30C: call dword ptr [0x2b0b5744] */ 13008 RECOMP_FLAGS_IN(); 13009 ecx = MEM32(ebx + 0xD8); /* 0x2B06C312: mov ecx, dword ptr [ebx + 0xd8] */ 13010 PUSH32(esp, 0x64u); /* 0x2B06C318: push 0x64 */ 13011 RECOMP_ICALL(MEM32(0x2B0B5778)); /* 0x2B06C31A: call dword ptr [0x2b0b5778] */ 13012 RECOMP_FLAGS_IN(); 13013 eax = MEM32(ebx + 0x9C); /* 0x2B06C320: mov eax, dword ptr [ebx + 0x9c] */ 13014 ecx = MEM32(eax + 0x34); /* 0x2B06C326: mov ecx, dword ptr [eax + 0x34] */ 13015 RECOMP_ICALL(MEM32(0x2B0B56F8)); /* 0x2B06C329: call dword ptr [0x2b0b56f8] */ 13016 RECOMP_FLAGS_IN(); 13017 ecx = MEM32(ebx + 0xD8); /* 0x2B06C32F: mov ecx, dword ptr [ebx + 0xd8] */ 13018 MEM32(ebx + 0x48) = eax; /* 0x2B06C335: mov dword ptr [ebx + 0x48], eax */ 13019 PUSH32(esp, 0x64u); /* 0x2B06C338: push 0x64 */ 13020 MEM32(ecx + 0x98) = eax; /* 0x2B06C33A: mov dword ptr [ecx + 0x98], eax */ 13021 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C340: call 0x2b0ab212 */ /* not lifted */ 13022 RECOMP_FLAGS_IN(); 13023 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13024 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13025 esp = esp + 4; /* 0x2B06C345: add esp, 4 */ 13026 _flag_k = FK_ADD; 13027 MEM32(ebp + 0x8) = eax; /* 0x2B06C348: mov dword ptr [ebp + 8], eax */ 13028 /* cmp eax, esi */ /* 0x2B06C34B: cmp eax, esi */ 13029 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 13030 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13031 _flag_k = FK_CMP; 13032 MEM8(ebp + (-0x4)) = (uint8_t)(0x17u); /* 0x2B06C34D: mov byte ptr [ebp - 4], 0x17 */ 13033 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C384; /* 0x2B06C351: je 0x2b06c384 */ 13034 L_2B06C353: 13035 ecx = MEM32(ebx + 0x98); /* 0x2B06C353: mov ecx, dword ptr [ebx + 0x98] */ 13036 PUSH32(esp, ecx); /* 0x2B06C359: push ecx */ 13037 PUSH32(esp, esi); /* 0x2B06C35A: push esi */ 13038 PUSH32(esp, 0x30u); /* 0x2B06C35B: push 0x30 */ 13039 PUSH32(esp, esi); /* 0x2B06C35D: push esi */ 13040 PUSH32(esp, 0x6D63u); /* 0x2B06C35E: push 0x6d63 */ 13041 PUSH32(esp, 0x9Eu); /* 0x2B06C363: push 0x9e */ 13042 PUSH32(esp, esi); /* 0x2B06C368: push esi */ 13043 PUSH32(esp, 0x9Fu); /* 0x2B06C369: push 0x9f */ 13044 PUSH32(esp, 0x36u); /* 0x2B06C36E: push 0x36 */ 13045 PUSH32(esp, 0x36u); /* 0x2B06C370: push 0x36 */ 13046 PUSH32(esp, 3); /* 0x2B06C372: push 3 */ 13047 PUSH32(esp, 3); /* 0x2B06C374: push 3 */ 13048 edx = ebp + (-0x14); /* 0x2B06C376: lea edx, [ebp - 0x14] */ 13049 PUSH32(esp, edx); /* 0x2B06C379: push edx */ 13050 ecx = eax; /* 0x2B06C37A: mov ecx, eax */ 13051 RECOMP_ICALL(MEM32(0x2B0B58F8)); /* 0x2B06C37C: call dword ptr [0x2b0b58f8] */ 13052 RECOMP_FLAGS_IN(); 13053 goto L_2B06C386; /* 0x2B06C382: jmp 0x2b06c386 */ 13054 L_2B06C384: 13055 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13056 eax = 0; /* 0x2B06C384: xor eax, eax */ 13057 _cf = 0; 13058 _flag_k = FK_TEST; 13059 L_2B06C386: 13060 MEM32(ebx + 0xDC) = eax; /* 0x2B06C386: mov dword ptr [ebx + 0xdc], eax */ 13061 MEM32(eax + 0x5C) = 0x2B06D400u; /* 0x2B06C38C: mov dword ptr [eax + 0x5c], 0x2b06d400 */ 13062 MEM32(eax + 0x60) = ebx; /* 0x2B06C393: mov dword ptr [eax + 0x60], ebx */ 13063 eax = ebx + 0x5C; /* 0x2B06C396: lea eax, [ebx + 0x5c] */ 13064 PUSH32(esp, eax); /* 0x2B06C399: push eax */ 13065 ecx = ebx; /* 0x2B06C39A: mov ecx, ebx */ 13066 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C39C: mov byte ptr [ebp - 4], 1 */ 13067 RECOMP_ICALL(0x2B06CC00u); /* 0x2B06C3A0: call 0x2b06cc00 */ /* not lifted */ 13068 RECOMP_FLAGS_IN(); 13069 ecx = ebx; /* 0x2B06C3A5: mov ecx, ebx */ 13070 RECOMP_ICALL(0x2B06CBD0u); /* 0x2B06C3A7: call 0x2b06cbd0 */ /* not lifted */ 13071 RECOMP_FLAGS_IN(); 13072 eax = MEM32(0x2B0B6048); /* 0x2B06C3AC: mov eax, dword ptr [0x2b0b6048] */ 13073 ecx = MEM32(eax); /* 0x2B06C3B1: mov ecx, dword ptr [eax] */ 13074 PUSH32(esp, 1); /* 0x2B06C3B3: push 1 */ 13075 PUSH32(esp, 0x2B0EB490u); /* 0x2B06C3B5: push 0x2b0eb490 */ 13076 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B06C3BA: call dword ptr [0x2b0b602c] */ 13077 RECOMP_FLAGS_IN(); 13078 /* test eax, eax */ /* 0x2B06C3C0: test eax, eax */ 13079 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13080 _cf = 0; 13081 _flag_k = FK_TEST; 13082 SET_LO8(eax, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B06C3C2: setne al */ 13083 /* test LO8(eax), LO8(eax) */ /* 0x2B06C3C5: test al, al */ 13084 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13085 _cf = 0; 13086 _flag_k = FK_NARROW(FK_TEST, 24); 13087 MEM8(ebx + 0x58) = (uint8_t)(LO8(eax)); /* 0x2B06C3C7: mov byte ptr [ebx + 0x58], al */ 13088 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06C3DA; /* 0x2B06C3CA: jne 0x2b06c3da */ 13089 L_2B06C3CC: 13090 ecx = MEM32(ebx + 0xCC); /* 0x2B06C3CC: mov ecx, dword ptr [ebx + 0xcc] */ 13091 PUSH32(esp, 2); /* 0x2B06C3D2: push 2 */ 13092 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06C3D4: call dword ptr [0x2b0b5ab4] */ 13093 RECOMP_FLAGS_IN(); 13094 L_2B06C3DA: 13095 ecx = MEM32(ebp + (-0xC)); /* 0x2B06C3DA: mov ecx, dword ptr [ebp - 0xc] */ 13096 edi = POP32_VAL(esp); /* 0x2B06C3DD: pop edi */ 13097 esi = POP32_VAL(esp); /* 0x2B06C3DE: pop esi */ 13098 eax = ebx; /* 0x2B06C3DF: mov eax, ebx */ 13099 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06C3E1: mov dword ptr fs:[0], ecx */ 13100 ebx = POP32_VAL(esp); /* 0x2B06C3E8: pop ebx */ 13101 esp = ebp; /* 0x2B06C3E9: mov esp, ebp */ 13102 ebp = POP32_VAL(esp); /* 0x2B06C3EB: pop ebp */ 13103 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06C3EC: ret 4 */ 13104 RECOMP_REGS_OUT(); 13105 } 13106 13107 void sub_2B06BF12(void) { 13108 int _fpu_cmp = 0; 13109 uint32_t _cf = 0; 13110 int _df = 1; 13111 uint32_t _flag_k = FK_NONE; 13112 uint32_t _flag_a = 0, _flag_b = 0; 13113 uint32_t _itail_tgt = 0; 13114 RECOMP_REGS_LOCALS 13115 RECOMP_ENTER(0x2B06BF12u); 13116 13117 L_2B06BF12: 13118 PUSH32(esp, ebx); /* 0x2B06BF12: push ebx */ 13119 PUSH32(esp, 0x2B06D360u); /* 0x2B06BF13: push 0x2b06d360 */ 13120 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BF18: mov byte ptr [ebp - 4], 1 */ 13121 MEM32(ebx + 0xC8) = ecx; /* 0x2B06BF1C: mov dword ptr [ebx + 0xc8], ecx */ 13122 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B06BF22: call dword ptr [0x2b0b5af8] */ 13123 RECOMP_FLAGS_IN(); 13124 ecx = MEM32(ebx + 0xC8); /* 0x2B06BF28: mov ecx, dword ptr [ebx + 0xc8] */ 13125 PUSH32(esp, esi); /* 0x2B06BF2E: push esi */ 13126 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06BF2F: call dword ptr [0x2b0b5ab4] */ 13127 RECOMP_FLAGS_IN(); 13128 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13129 eax = 0; /* 0x2B06BF35: xor eax, eax */ 13130 _cf = 0; 13131 _flag_k = FK_TEST; 13132 ecx = 0xCu; /* 0x2B06BF37: mov ecx, 0xc */ 13133 edi = ebp + (-0x64); /* 0x2B06BF3C: lea edi, [ebp - 0x64] */ 13134 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06BF3F: 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; } 13135 eax = MEM32(ebx + 0x7C); /* 0x2B06BF41: mov eax, dword ptr [ebx + 0x7c] */ 13136 eax = eax + eax * 2; /* 0x2B06BF44: lea eax, [eax + eax*2] */ 13137 PUSH32(esp, 0xBCu); /* 0x2B06BF47: push 0xbc */ 13138 MEM32(ebp + (-0x54)) = eax; /* 0x2B06BF4C: mov dword ptr [ebp - 0x54], eax */ 13139 MEM32(ebp + (-0x58)) = 0x2B0E6EE8u; /* 0x2B06BF4F: mov dword ptr [ebp - 0x58], 0x2b0e6ee8 */ 13140 MEM32(ebp + (-0x4C)) = 0x6D61u; /* 0x2B06BF56: mov dword ptr [ebp - 0x4c], 0x6d61 */ 13141 MEM32(ebp + (-0x48)) = 0xAu; /* 0x2B06BF5D: mov dword ptr [ebp - 0x48], 0xa */ 13142 MEM32(ebp + (-0x44)) = 0x69u; /* 0x2B06BF64: mov dword ptr [ebp - 0x44], 0x69 */ 13143 MEM32(ebp + (-0x40)) = 0x6Au; /* 0x2B06BF6B: mov dword ptr [ebp - 0x40], 0x6a */ 13144 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BF72: call 0x2b0ab212 */ /* not lifted */ 13145 RECOMP_FLAGS_IN(); 13146 edi = eax; /* 0x2B06BF77: mov edi, eax */ 13147 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13148 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13149 esp = esp + 4; /* 0x2B06BF79: add esp, 4 */ 13150 _flag_k = FK_ADD; 13151 MEM32(ebp + 0x8) = edi; /* 0x2B06BF7C: mov dword ptr [ebp + 8], edi */ 13152 /* cmp edi, esi */ /* 0x2B06BF7F: cmp edi, esi */ 13153 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 13154 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13155 _flag_k = FK_CMP; 13156 MEM8(ebp + (-0x4)) = (uint8_t)(0xFu); /* 0x2B06BF81: mov byte ptr [ebp - 4], 0xf */ 13157 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06BFA4; /* 0x2B06BF85: je 0x2b06bfa4 */ 13158 L_2B06BF87: 13159 ecx = MEM32(ebx + 0xA8); /* 0x2B06BF87: mov ecx, dword ptr [ebx + 0xa8] */ 13160 PUSH32(esp, ecx); /* 0x2B06BF8D: push ecx */ 13161 edx = ebp + (-0x64); /* 0x2B06BF8E: lea edx, [ebp - 0x64] */ 13162 PUSH32(esp, edx); /* 0x2B06BF91: push edx */ 13163 ecx = edi; /* 0x2B06BF92: mov ecx, edi */ 13164 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B06BF94: call dword ptr [0x2b0b5afc] */ 13165 RECOMP_FLAGS_IN(); 13166 MEM32(edi) = 0x2B0B645Cu; /* 0x2B06BF9A: mov dword ptr [edi], 0x2b0b645c */ 13167 ecx = edi; /* 0x2B06BFA0: mov ecx, edi */ 13168 goto L_2B06BFA6; /* 0x2B06BFA2: jmp 0x2b06bfa6 */ 13169 L_2B06BFA4: 13170 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13171 ecx = 0; /* 0x2B06BFA4: xor ecx, ecx */ 13172 _cf = 0; 13173 _flag_k = FK_TEST; 13174 L_2B06BFA6: 13175 PUSH32(esp, ebx); /* 0x2B06BFA6: push ebx */ 13176 PUSH32(esp, 0x2B06D340u); /* 0x2B06BFA7: push 0x2b06d340 */ 13177 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BFAC: mov byte ptr [ebp - 4], 1 */ 13178 MEM32(ebx + 0xC4) = ecx; /* 0x2B06BFB0: mov dword ptr [ebx + 0xc4], ecx */ 13179 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B06BFB6: call dword ptr [0x2b0b5af8] */ 13180 RECOMP_FLAGS_IN(); 13181 PUSH32(esp, 2); /* 0x2B06BFBC: push 2 */ 13182 PUSH32(esp, 8); /* 0x2B06BFBE: push 8 */ 13183 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06BFC0: call dword ptr [0x2b0b5f80] */ 13184 RECOMP_FLAGS_IN(); 13185 ecx = eax; /* 0x2B06BFC6: mov ecx, eax */ 13186 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06BFC8: call dword ptr [0x2b0b5fbc] */ 13187 RECOMP_FLAGS_IN(); 13188 PUSH32(esp, 0xD8u); /* 0x2B06BFCE: push 0xd8 */ 13189 MEM32(ebp + 0x8) = eax; /* 0x2B06BFD3: mov dword ptr [ebp + 8], eax */ 13190 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BFD6: call 0x2b0ab212 */ /* not lifted */ 13191 RECOMP_FLAGS_IN(); 13192 edi = eax; /* 0x2B06BFDB: mov edi, eax */ 13193 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13194 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13195 esp = esp + 4; /* 0x2B06BFDD: add esp, 4 */ 13196 _flag_k = FK_ADD; 13197 MEM32(ebp + (-0x28)) = edi; /* 0x2B06BFE0: mov dword ptr [ebp - 0x28], edi */ 13198 /* cmp edi, esi */ /* 0x2B06BFE3: cmp edi, esi */ 13199 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 13200 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13201 _flag_k = FK_CMP; 13202 MEM8(ebp + (-0x4)) = (uint8_t)(0x10u); /* 0x2B06BFE5: mov byte ptr [ebp - 4], 0x10 */ 13203 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C01F; /* 0x2B06BFE9: je 0x2b06c01f */ 13204 L_2B06BFEB: 13205 edx = MEM32(ebp + 0x8); /* 0x2B06BFEB: mov edx, dword ptr [ebp + 8] */ 13206 eax = ebp + (-0x18); /* 0x2B06BFEE: lea eax, [ebp - 0x18] */ 13207 PUSH32(esp, eax); /* 0x2B06BFF1: push eax */ 13208 ecx = ebp + (-0x20); /* 0x2B06BFF2: lea ecx, [ebp - 0x20] */ 13209 PUSH32(esp, ecx); /* 0x2B06BFF5: push ecx */ 13210 PUSH32(esp, esi); /* 0x2B06BFF6: push esi */ 13211 PUSH32(esp, 0x6D60u); /* 0x2B06BFF7: push 0x6d60 */ 13212 PUSH32(esp, edx); /* 0x2B06BFFC: push edx */ 13213 eax = ebp + (-0x14); /* 0x2B06BFFD: lea eax, [ebp - 0x14] */ 13214 PUSH32(esp, eax); /* 0x2B06C000: push eax */ 13215 ecx = edi; /* 0x2B06C001: mov ecx, edi */ 13216 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C003: mov dword ptr [ebp - 0x18], 0x3f800000 */ 13217 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C00A: mov dword ptr [ebp - 0x20], 0x3f800000 */ 13218 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C011: call dword ptr [0x2b0b5654] */ 13219 RECOMP_FLAGS_IN(); 13220 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C017: mov dword ptr [edi], 0x2b0b618c */ 13221 goto L_2B06C021; /* 0x2B06C01D: jmp 0x2b06c021 */ 13222 L_2B06C01F: 13223 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13224 edi = 0; /* 0x2B06C01F: xor edi, edi */ 13225 _cf = 0; 13226 _flag_k = FK_TEST; 13227 L_2B06C021: 13228 PUSH32(esp, 2); /* 0x2B06C021: push 2 */ 13229 PUSH32(esp, 7); /* 0x2B06C023: push 7 */ 13230 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C025: mov byte ptr [ebp - 4], 1 */ 13231 MEM32(ebx + 0xAC) = edi; /* 0x2B06C029: mov dword ptr [ebx + 0xac], edi */ 13232 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C02F: call dword ptr [0x2b0b5f80] */ 13233 RECOMP_FLAGS_IN(); 13234 ecx = eax; /* 0x2B06C035: mov ecx, eax */ 13235 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C037: call dword ptr [0x2b0b5fbc] */ 13236 RECOMP_FLAGS_IN(); 13237 PUSH32(esp, 0xD8u); /* 0x2B06C03D: push 0xd8 */ 13238 MEM32(ebp + 0x8) = eax; /* 0x2B06C042: mov dword ptr [ebp + 8], eax */ 13239 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C045: call 0x2b0ab212 */ /* not lifted */ 13240 RECOMP_FLAGS_IN(); 13241 edi = eax; /* 0x2B06C04A: mov edi, eax */ 13242 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13243 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13244 esp = esp + 4; /* 0x2B06C04C: add esp, 4 */ 13245 _flag_k = FK_ADD; 13246 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C04F: mov dword ptr [ebp - 0x28], edi */ 13247 /* cmp edi, esi */ /* 0x2B06C052: cmp edi, esi */ 13248 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 13249 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13250 _flag_k = FK_CMP; 13251 MEM8(ebp + (-0x4)) = (uint8_t)(0x11u); /* 0x2B06C054: mov byte ptr [ebp - 4], 0x11 */ 13252 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C08E; /* 0x2B06C058: je 0x2b06c08e */ 13253 L_2B06C05A: 13254 eax = MEM32(ebp + 0x8); /* 0x2B06C05A: mov eax, dword ptr [ebp + 8] */ 13255 ecx = ebp + (-0x20); /* 0x2B06C05D: lea ecx, [ebp - 0x20] */ 13256 PUSH32(esp, ecx); /* 0x2B06C060: push ecx */ 13257 edx = ebp + (-0x18); /* 0x2B06C061: lea edx, [ebp - 0x18] */ 13258 PUSH32(esp, edx); /* 0x2B06C064: push edx */ 13259 PUSH32(esp, esi); /* 0x2B06C065: push esi */ 13260 PUSH32(esp, 0x6D60u); /* 0x2B06C066: push 0x6d60 */ 13261 PUSH32(esp, eax); /* 0x2B06C06B: push eax */ 13262 ecx = ebp + (-0x14); /* 0x2B06C06C: lea ecx, [ebp - 0x14] */ 13263 PUSH32(esp, ecx); /* 0x2B06C06F: push ecx */ 13264 ecx = edi; /* 0x2B06C070: mov ecx, edi */ 13265 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C072: mov dword ptr [ebp - 0x20], 0x3f800000 */ 13266 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C079: mov dword ptr [ebp - 0x18], 0x3f800000 */ 13267 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C080: call dword ptr [0x2b0b5654] */ 13268 RECOMP_FLAGS_IN(); 13269 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C086: mov dword ptr [edi], 0x2b0b618c */ 13270 goto L_2B06C090; /* 0x2B06C08C: jmp 0x2b06c090 */ 13271 L_2B06C08E: 13272 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13273 edi = 0; /* 0x2B06C08E: xor edi, edi */ 13274 _cf = 0; 13275 _flag_k = FK_TEST; 13276 L_2B06C090: 13277 PUSH32(esp, 2); /* 0x2B06C090: push 2 */ 13278 PUSH32(esp, 6); /* 0x2B06C092: push 6 */ 13279 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C094: mov byte ptr [ebp - 4], 1 */ 13280 MEM32(ebx + 0xB0) = edi; /* 0x2B06C098: mov dword ptr [ebx + 0xb0], edi */ 13281 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C09E: call dword ptr [0x2b0b5f80] */ 13282 RECOMP_FLAGS_IN(); 13283 ecx = eax; /* 0x2B06C0A4: mov ecx, eax */ 13284 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C0A6: call dword ptr [0x2b0b5fbc] */ 13285 RECOMP_FLAGS_IN(); 13286 PUSH32(esp, 0xD8u); /* 0x2B06C0AC: push 0xd8 */ 13287 MEM32(ebp + 0x8) = eax; /* 0x2B06C0B1: mov dword ptr [ebp + 8], eax */ 13288 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C0B4: call 0x2b0ab212 */ /* not lifted */ 13289 RECOMP_FLAGS_IN(); 13290 edi = eax; /* 0x2B06C0B9: mov edi, eax */ 13291 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13292 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13293 esp = esp + 4; /* 0x2B06C0BB: add esp, 4 */ 13294 _flag_k = FK_ADD; 13295 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C0BE: mov dword ptr [ebp - 0x28], edi */ 13296 /* cmp edi, esi */ /* 0x2B06C0C1: cmp edi, esi */ 13297 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 13298 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13299 _flag_k = FK_CMP; 13300 MEM8(ebp + (-0x4)) = (uint8_t)(0x12u); /* 0x2B06C0C3: mov byte ptr [ebp - 4], 0x12 */ 13301 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C0FD; /* 0x2B06C0C7: je 0x2b06c0fd */ 13302 L_2B06C0C9: 13303 ecx = MEM32(ebp + 0x8); /* 0x2B06C0C9: mov ecx, dword ptr [ebp + 8] */ 13304 edx = ebp + (-0x20); /* 0x2B06C0CC: lea edx, [ebp - 0x20] */ 13305 PUSH32(esp, edx); /* 0x2B06C0CF: push edx */ 13306 eax = ebp + (-0x18); /* 0x2B06C0D0: lea eax, [ebp - 0x18] */ 13307 PUSH32(esp, eax); /* 0x2B06C0D3: push eax */ 13308 PUSH32(esp, esi); /* 0x2B06C0D4: push esi */ 13309 PUSH32(esp, 0x6D60u); /* 0x2B06C0D5: push 0x6d60 */ 13310 PUSH32(esp, ecx); /* 0x2B06C0DA: push ecx */ 13311 edx = ebp + (-0x14); /* 0x2B06C0DB: lea edx, [ebp - 0x14] */ 13312 PUSH32(esp, edx); /* 0x2B06C0DE: push edx */ 13313 ecx = edi; /* 0x2B06C0DF: mov ecx, edi */ 13314 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C0E1: mov dword ptr [ebp - 0x20], 0x3f800000 */ 13315 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C0E8: mov dword ptr [ebp - 0x18], 0x3f800000 */ 13316 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C0EF: call dword ptr [0x2b0b5654] */ 13317 RECOMP_FLAGS_IN(); 13318 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C0F5: mov dword ptr [edi], 0x2b0b618c */ 13319 goto L_2B06C0FF; /* 0x2B06C0FB: jmp 0x2b06c0ff */ 13320 L_2B06C0FD: 13321 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13322 edi = 0; /* 0x2B06C0FD: xor edi, edi */ 13323 _cf = 0; 13324 _flag_k = FK_TEST; 13325 L_2B06C0FF: 13326 PUSH32(esp, 2); /* 0x2B06C0FF: push 2 */ 13327 PUSH32(esp, 5); /* 0x2B06C101: push 5 */ 13328 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C103: mov byte ptr [ebp - 4], 1 */ 13329 MEM32(ebx + 0xB4) = edi; /* 0x2B06C107: mov dword ptr [ebx + 0xb4], edi */ 13330 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C10D: call dword ptr [0x2b0b5f80] */ 13331 RECOMP_FLAGS_IN(); 13332 ecx = eax; /* 0x2B06C113: mov ecx, eax */ 13333 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C115: call dword ptr [0x2b0b5fbc] */ 13334 RECOMP_FLAGS_IN(); 13335 PUSH32(esp, 0xD8u); /* 0x2B06C11B: push 0xd8 */ 13336 MEM32(ebp + 0x8) = eax; /* 0x2B06C120: mov dword ptr [ebp + 8], eax */ 13337 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C123: call 0x2b0ab212 */ /* not lifted */ 13338 RECOMP_FLAGS_IN(); 13339 edi = eax; /* 0x2B06C128: mov edi, eax */ 13340 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13341 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13342 esp = esp + 4; /* 0x2B06C12A: add esp, 4 */ 13343 _flag_k = FK_ADD; 13344 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C12D: mov dword ptr [ebp - 0x28], edi */ 13345 /* cmp edi, esi */ /* 0x2B06C130: cmp edi, esi */ 13346 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 13347 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13348 _flag_k = FK_CMP; 13349 MEM8(ebp + (-0x4)) = (uint8_t)(0x13u); /* 0x2B06C132: mov byte ptr [ebp - 4], 0x13 */ 13350 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C16C; /* 0x2B06C136: je 0x2b06c16c */ 13351 L_2B06C138: 13352 edx = MEM32(ebp + 0x8); /* 0x2B06C138: mov edx, dword ptr [ebp + 8] */ 13353 eax = ebp + (-0x20); /* 0x2B06C13B: lea eax, [ebp - 0x20] */ 13354 PUSH32(esp, eax); /* 0x2B06C13E: push eax */ 13355 ecx = ebp + (-0x18); /* 0x2B06C13F: lea ecx, [ebp - 0x18] */ 13356 PUSH32(esp, ecx); /* 0x2B06C142: push ecx */ 13357 PUSH32(esp, esi); /* 0x2B06C143: push esi */ 13358 PUSH32(esp, 0x6D60u); /* 0x2B06C144: push 0x6d60 */ 13359 PUSH32(esp, edx); /* 0x2B06C149: push edx */ 13360 eax = ebp + (-0x14); /* 0x2B06C14A: lea eax, [ebp - 0x14] */ 13361 PUSH32(esp, eax); /* 0x2B06C14D: push eax */ 13362 ecx = edi; /* 0x2B06C14E: mov ecx, edi */ 13363 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C150: mov dword ptr [ebp - 0x20], 0x3f800000 */ 13364 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C157: mov dword ptr [ebp - 0x18], 0x3f800000 */ 13365 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C15E: call dword ptr [0x2b0b5654] */ 13366 RECOMP_FLAGS_IN(); 13367 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C164: mov dword ptr [edi], 0x2b0b618c */ 13368 goto L_2B06C16E; /* 0x2B06C16A: jmp 0x2b06c16e */ 13369 L_2B06C16C: 13370 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13371 edi = 0; /* 0x2B06C16C: xor edi, edi */ 13372 _cf = 0; 13373 _flag_k = FK_TEST; 13374 L_2B06C16E: 13375 PUSH32(esp, 2); /* 0x2B06C16E: push 2 */ 13376 PUSH32(esp, 3); /* 0x2B06C170: push 3 */ 13377 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C172: mov byte ptr [ebp - 4], 1 */ 13378 MEM32(ebx + 0xB8) = edi; /* 0x2B06C176: mov dword ptr [ebx + 0xb8], edi */ 13379 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C17C: call dword ptr [0x2b0b5f80] */ 13380 RECOMP_FLAGS_IN(); 13381 ecx = eax; /* 0x2B06C182: mov ecx, eax */ 13382 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C184: call dword ptr [0x2b0b5fbc] */ 13383 RECOMP_FLAGS_IN(); 13384 PUSH32(esp, 0xD8u); /* 0x2B06C18A: push 0xd8 */ 13385 MEM32(ebp + 0x8) = eax; /* 0x2B06C18F: mov dword ptr [ebp + 8], eax */ 13386 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C192: call 0x2b0ab212 */ /* not lifted */ 13387 RECOMP_FLAGS_IN(); 13388 edi = eax; /* 0x2B06C197: mov edi, eax */ 13389 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13390 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13391 esp = esp + 4; /* 0x2B06C199: add esp, 4 */ 13392 _flag_k = FK_ADD; 13393 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C19C: mov dword ptr [ebp - 0x28], edi */ 13394 /* cmp edi, esi */ /* 0x2B06C19F: cmp edi, esi */ 13395 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 13396 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13397 _flag_k = FK_CMP; 13398 MEM8(ebp + (-0x4)) = (uint8_t)(0x14u); /* 0x2B06C1A1: mov byte ptr [ebp - 4], 0x14 */ 13399 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C1DB; /* 0x2B06C1A5: je 0x2b06c1db */ 13400 L_2B06C1A7: 13401 eax = MEM32(ebp + 0x8); /* 0x2B06C1A7: mov eax, dword ptr [ebp + 8] */ 13402 ecx = ebp + (-0x20); /* 0x2B06C1AA: lea ecx, [ebp - 0x20] */ 13403 PUSH32(esp, ecx); /* 0x2B06C1AD: push ecx */ 13404 edx = ebp + (-0x18); /* 0x2B06C1AE: lea edx, [ebp - 0x18] */ 13405 PUSH32(esp, edx); /* 0x2B06C1B1: push edx */ 13406 PUSH32(esp, esi); /* 0x2B06C1B2: push esi */ 13407 PUSH32(esp, 0x6D60u); /* 0x2B06C1B3: push 0x6d60 */ 13408 PUSH32(esp, eax); /* 0x2B06C1B8: push eax */ 13409 ecx = ebp + (-0x14); /* 0x2B06C1B9: lea ecx, [ebp - 0x14] */ 13410 PUSH32(esp, ecx); /* 0x2B06C1BC: push ecx */ 13411 ecx = edi; /* 0x2B06C1BD: mov ecx, edi */ 13412 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C1BF: mov dword ptr [ebp - 0x20], 0x3f800000 */ 13413 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C1C6: mov dword ptr [ebp - 0x18], 0x3f800000 */ 13414 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C1CD: call dword ptr [0x2b0b5654] */ 13415 RECOMP_FLAGS_IN(); 13416 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C1D3: mov dword ptr [edi], 0x2b0b618c */ 13417 goto L_2B06C1DD; /* 0x2B06C1D9: jmp 0x2b06c1dd */ 13418 L_2B06C1DB: 13419 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13420 edi = 0; /* 0x2B06C1DB: xor edi, edi */ 13421 _cf = 0; 13422 _flag_k = FK_TEST; 13423 L_2B06C1DD: 13424 PUSH32(esp, 2); /* 0x2B06C1DD: push 2 */ 13425 PUSH32(esp, 4); /* 0x2B06C1DF: push 4 */ 13426 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C1E1: mov byte ptr [ebp - 4], 1 */ 13427 MEM32(ebx + 0xBC) = edi; /* 0x2B06C1E5: mov dword ptr [ebx + 0xbc], edi */ 13428 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C1EB: call dword ptr [0x2b0b5f80] */ 13429 RECOMP_FLAGS_IN(); 13430 ecx = eax; /* 0x2B06C1F1: mov ecx, eax */ 13431 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C1F3: call dword ptr [0x2b0b5fbc] */ 13432 RECOMP_FLAGS_IN(); 13433 PUSH32(esp, 0xD8u); /* 0x2B06C1F9: push 0xd8 */ 13434 MEM32(ebp + 0x8) = eax; /* 0x2B06C1FE: mov dword ptr [ebp + 8], eax */ 13435 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C201: call 0x2b0ab212 */ /* not lifted */ 13436 RECOMP_FLAGS_IN(); 13437 edi = eax; /* 0x2B06C206: mov edi, eax */ 13438 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13439 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13440 esp = esp + 4; /* 0x2B06C208: add esp, 4 */ 13441 _flag_k = FK_ADD; 13442 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C20B: mov dword ptr [ebp - 0x28], edi */ 13443 /* cmp edi, esi */ /* 0x2B06C20E: cmp edi, esi */ 13444 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 13445 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13446 _flag_k = FK_CMP; 13447 MEM8(ebp + (-0x4)) = (uint8_t)(0x15u); /* 0x2B06C210: mov byte ptr [ebp - 4], 0x15 */ 13448 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C24A; /* 0x2B06C214: je 0x2b06c24a */ 13449 L_2B06C216: 13450 ecx = MEM32(ebp + 0x8); /* 0x2B06C216: mov ecx, dword ptr [ebp + 8] */ 13451 edx = ebp + (-0x20); /* 0x2B06C219: lea edx, [ebp - 0x20] */ 13452 PUSH32(esp, edx); /* 0x2B06C21C: push edx */ 13453 eax = ebp + (-0x18); /* 0x2B06C21D: lea eax, [ebp - 0x18] */ 13454 PUSH32(esp, eax); /* 0x2B06C220: push eax */ 13455 PUSH32(esp, esi); /* 0x2B06C221: push esi */ 13456 PUSH32(esp, 0x6D60u); /* 0x2B06C222: push 0x6d60 */ 13457 PUSH32(esp, ecx); /* 0x2B06C227: push ecx */ 13458 edx = ebp + (-0x14); /* 0x2B06C228: lea edx, [ebp - 0x14] */ 13459 PUSH32(esp, edx); /* 0x2B06C22B: push edx */ 13460 ecx = edi; /* 0x2B06C22C: mov ecx, edi */ 13461 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C22E: mov dword ptr [ebp - 0x20], 0x3f800000 */ 13462 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C235: mov dword ptr [ebp - 0x18], 0x3f800000 */ 13463 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C23C: call dword ptr [0x2b0b5654] */ 13464 RECOMP_FLAGS_IN(); 13465 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C242: mov dword ptr [edi], 0x2b0b618c */ 13466 goto L_2B06C24C; /* 0x2B06C248: jmp 0x2b06c24c */ 13467 L_2B06C24A: 13468 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13469 edi = 0; /* 0x2B06C24A: xor edi, edi */ 13470 _cf = 0; 13471 _flag_k = FK_TEST; 13472 L_2B06C24C: 13473 eax = MEM32(ebx + 0x78); /* 0x2B06C24C: mov eax, dword ptr [ebx + 0x78] */ 13474 ecx = eax + (-0x16); /* 0x2B06C24F: lea ecx, [eax - 0x16] */ 13475 MEM32(ebx + 0xC0) = edi; /* 0x2B06C252: mov dword ptr [ebx + 0xc0], edi */ 13476 MEM32(ebp + (-0xC0)) = ecx; /* 0x2B06C258: mov dword ptr [ebp - 0xc0], ecx */ 13477 MEM32(ebp + (-0xAC)) = eax; /* 0x2B06C25E: mov dword ptr [ebp - 0xac], eax */ 13478 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13479 eax = 0; /* 0x2B06C264: xor eax, eax */ 13480 _cf = 0; 13481 _flag_k = FK_TEST; 13482 MEM32(ebp + (-0xE0)) = esi; /* 0x2B06C266: mov dword ptr [ebp - 0xe0], esi */ 13483 MEM32(ebp + (-0xDC)) = esi; /* 0x2B06C26C: mov dword ptr [ebp - 0xdc], esi */ 13484 MEM32(ebp + (-0xD8)) = esi; /* 0x2B06C272: mov dword ptr [ebp - 0xd8], esi */ 13485 MEM32(ebp + (-0xD4)) = 0x6D65u; /* 0x2B06C278: mov dword ptr [ebp - 0xd4], 0x6d65 */ 13486 MEM32(ebp + (-0xD0)) = esi; /* 0x2B06C282: mov dword ptr [ebp - 0xd0], esi */ 13487 MEM32(ebp + (-0xCC)) = esi; /* 0x2B06C288: mov dword ptr [ebp - 0xcc], esi */ 13488 MEM32(ebp + (-0xC8)) = esi; /* 0x2B06C28E: mov dword ptr [ebp - 0xc8], esi */ 13489 MEM32(ebp + (-0xC4)) = esi; /* 0x2B06C294: mov dword ptr [ebp - 0xc4], esi */ 13490 MEM32(ebp + (-0xBC)) = esi; /* 0x2B06C29A: mov dword ptr [ebp - 0xbc], esi */ 13491 MEM32(ebp + (-0xB8)) = esi; /* 0x2B06C2A0: mov dword ptr [ebp - 0xb8], esi */ 13492 MEM32(ebp + (-0xB4)) = esi; /* 0x2B06C2A6: mov dword ptr [ebp - 0xb4], esi */ 13493 MEM32(ebp + (-0xB0)) = 1; /* 0x2B06C2AC: mov dword ptr [ebp - 0xb0], 1 */ 13494 ecx = 6; /* 0x2B06C2B6: mov ecx, 6 */ 13495 edi = ebp + (-0xA8); /* 0x2B06C2BB: lea edi, [ebp - 0xa8] */ 13496 PUSH32(esp, 0xC8u); /* 0x2B06C2C1: push 0xc8 */ 13497 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C2C6: mov byte ptr [ebp - 4], 1 */ 13498 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06C2CA: 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; } 13499 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C2CC: call 0x2b0ab212 */ /* not lifted */ 13500 RECOMP_FLAGS_IN(); 13501 edi = eax; /* 0x2B06C2D1: mov edi, eax */ 13502 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13503 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13504 esp = esp + 4; /* 0x2B06C2D3: add esp, 4 */ 13505 _flag_k = FK_ADD; 13506 MEM32(ebp + 0x8) = edi; /* 0x2B06C2D6: mov dword ptr [ebp + 8], edi */ 13507 /* cmp edi, esi */ /* 0x2B06C2D9: cmp edi, esi */ 13508 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 13509 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13510 _flag_k = FK_CMP; 13511 MEM8(ebp + (-0x4)) = (uint8_t)(0x16u); /* 0x2B06C2DB: mov byte ptr [ebp - 4], 0x16 */ 13512 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C2FA; /* 0x2B06C2DF: je 0x2b06c2fa */ 13513 L_2B06C2E1: 13514 edx = ebp + (-0xE0); /* 0x2B06C2E1: lea edx, [ebp - 0xe0] */ 13515 PUSH32(esp, edx); /* 0x2B06C2E7: push edx */ 13516 ecx = edi; /* 0x2B06C2E8: mov ecx, edi */ 13517 RECOMP_ICALL(MEM32(0x2B0B5748)); /* 0x2B06C2EA: call dword ptr [0x2b0b5748] */ 13518 RECOMP_FLAGS_IN(); 13519 MEM32(edi) = 0x2B0B7110u; /* 0x2B06C2F0: mov dword ptr [edi], 0x2b0b7110 */ 13520 ecx = edi; /* 0x2B06C2F6: mov ecx, edi */ 13521 goto L_2B06C2FC; /* 0x2B06C2F8: jmp 0x2b06c2fc */ 13522 L_2B06C2FA: 13523 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13524 ecx = 0; /* 0x2B06C2FA: xor ecx, ecx */ 13525 _cf = 0; 13526 _flag_k = FK_TEST; 13527 L_2B06C2FC: 13528 PUSH32(esp, ebx); /* 0x2B06C2FC: push ebx */ 13529 PUSH32(esp, 0x2B06D3C0u); /* 0x2B06C2FD: push 0x2b06d3c0 */ 13530 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C302: mov byte ptr [ebp - 4], 1 */ 13531 MEM32(ebx + 0xD8) = ecx; /* 0x2B06C306: mov dword ptr [ebx + 0xd8], ecx */ 13532 RECOMP_ICALL(MEM32(0x2B0B5744)); /* 0x2B06C30C: call dword ptr [0x2b0b5744] */ 13533 RECOMP_FLAGS_IN(); 13534 ecx = MEM32(ebx + 0xD8); /* 0x2B06C312: mov ecx, dword ptr [ebx + 0xd8] */ 13535 PUSH32(esp, 0x64u); /* 0x2B06C318: push 0x64 */ 13536 RECOMP_ICALL(MEM32(0x2B0B5778)); /* 0x2B06C31A: call dword ptr [0x2b0b5778] */ 13537 RECOMP_FLAGS_IN(); 13538 eax = MEM32(ebx + 0x9C); /* 0x2B06C320: mov eax, dword ptr [ebx + 0x9c] */ 13539 ecx = MEM32(eax + 0x34); /* 0x2B06C326: mov ecx, dword ptr [eax + 0x34] */ 13540 RECOMP_ICALL(MEM32(0x2B0B56F8)); /* 0x2B06C329: call dword ptr [0x2b0b56f8] */ 13541 RECOMP_FLAGS_IN(); 13542 ecx = MEM32(ebx + 0xD8); /* 0x2B06C32F: mov ecx, dword ptr [ebx + 0xd8] */ 13543 MEM32(ebx + 0x48) = eax; /* 0x2B06C335: mov dword ptr [ebx + 0x48], eax */ 13544 PUSH32(esp, 0x64u); /* 0x2B06C338: push 0x64 */ 13545 MEM32(ecx + 0x98) = eax; /* 0x2B06C33A: mov dword ptr [ecx + 0x98], eax */ 13546 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C340: call 0x2b0ab212 */ /* not lifted */ 13547 RECOMP_FLAGS_IN(); 13548 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13549 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13550 esp = esp + 4; /* 0x2B06C345: add esp, 4 */ 13551 _flag_k = FK_ADD; 13552 MEM32(ebp + 0x8) = eax; /* 0x2B06C348: mov dword ptr [ebp + 8], eax */ 13553 /* cmp eax, esi */ /* 0x2B06C34B: cmp eax, esi */ 13554 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 13555 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13556 _flag_k = FK_CMP; 13557 MEM8(ebp + (-0x4)) = (uint8_t)(0x17u); /* 0x2B06C34D: mov byte ptr [ebp - 4], 0x17 */ 13558 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C384; /* 0x2B06C351: je 0x2b06c384 */ 13559 L_2B06C353: 13560 ecx = MEM32(ebx + 0x98); /* 0x2B06C353: mov ecx, dword ptr [ebx + 0x98] */ 13561 PUSH32(esp, ecx); /* 0x2B06C359: push ecx */ 13562 PUSH32(esp, esi); /* 0x2B06C35A: push esi */ 13563 PUSH32(esp, 0x30u); /* 0x2B06C35B: push 0x30 */ 13564 PUSH32(esp, esi); /* 0x2B06C35D: push esi */ 13565 PUSH32(esp, 0x6D63u); /* 0x2B06C35E: push 0x6d63 */ 13566 PUSH32(esp, 0x9Eu); /* 0x2B06C363: push 0x9e */ 13567 PUSH32(esp, esi); /* 0x2B06C368: push esi */ 13568 PUSH32(esp, 0x9Fu); /* 0x2B06C369: push 0x9f */ 13569 PUSH32(esp, 0x36u); /* 0x2B06C36E: push 0x36 */ 13570 PUSH32(esp, 0x36u); /* 0x2B06C370: push 0x36 */ 13571 PUSH32(esp, 3); /* 0x2B06C372: push 3 */ 13572 PUSH32(esp, 3); /* 0x2B06C374: push 3 */ 13573 edx = ebp + (-0x14); /* 0x2B06C376: lea edx, [ebp - 0x14] */ 13574 PUSH32(esp, edx); /* 0x2B06C379: push edx */ 13575 ecx = eax; /* 0x2B06C37A: mov ecx, eax */ 13576 RECOMP_ICALL(MEM32(0x2B0B58F8)); /* 0x2B06C37C: call dword ptr [0x2b0b58f8] */ 13577 RECOMP_FLAGS_IN(); 13578 goto L_2B06C386; /* 0x2B06C382: jmp 0x2b06c386 */ 13579 L_2B06C384: 13580 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13581 eax = 0; /* 0x2B06C384: xor eax, eax */ 13582 _cf = 0; 13583 _flag_k = FK_TEST; 13584 L_2B06C386: 13585 MEM32(ebx + 0xDC) = eax; /* 0x2B06C386: mov dword ptr [ebx + 0xdc], eax */ 13586 MEM32(eax + 0x5C) = 0x2B06D400u; /* 0x2B06C38C: mov dword ptr [eax + 0x5c], 0x2b06d400 */ 13587 MEM32(eax + 0x60) = ebx; /* 0x2B06C393: mov dword ptr [eax + 0x60], ebx */ 13588 eax = ebx + 0x5C; /* 0x2B06C396: lea eax, [ebx + 0x5c] */ 13589 PUSH32(esp, eax); /* 0x2B06C399: push eax */ 13590 ecx = ebx; /* 0x2B06C39A: mov ecx, ebx */ 13591 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C39C: mov byte ptr [ebp - 4], 1 */ 13592 RECOMP_ICALL(0x2B06CC00u); /* 0x2B06C3A0: call 0x2b06cc00 */ /* not lifted */ 13593 RECOMP_FLAGS_IN(); 13594 ecx = ebx; /* 0x2B06C3A5: mov ecx, ebx */ 13595 RECOMP_ICALL(0x2B06CBD0u); /* 0x2B06C3A7: call 0x2b06cbd0 */ /* not lifted */ 13596 RECOMP_FLAGS_IN(); 13597 eax = MEM32(0x2B0B6048); /* 0x2B06C3AC: mov eax, dword ptr [0x2b0b6048] */ 13598 ecx = MEM32(eax); /* 0x2B06C3B1: mov ecx, dword ptr [eax] */ 13599 PUSH32(esp, 1); /* 0x2B06C3B3: push 1 */ 13600 PUSH32(esp, 0x2B0EB490u); /* 0x2B06C3B5: push 0x2b0eb490 */ 13601 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B06C3BA: call dword ptr [0x2b0b602c] */ 13602 RECOMP_FLAGS_IN(); 13603 /* test eax, eax */ /* 0x2B06C3C0: test eax, eax */ 13604 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13605 _cf = 0; 13606 _flag_k = FK_TEST; 13607 SET_LO8(eax, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B06C3C2: setne al */ 13608 /* test LO8(eax), LO8(eax) */ /* 0x2B06C3C5: test al, al */ 13609 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13610 _cf = 0; 13611 _flag_k = FK_NARROW(FK_TEST, 24); 13612 MEM8(ebx + 0x58) = (uint8_t)(LO8(eax)); /* 0x2B06C3C7: mov byte ptr [ebx + 0x58], al */ 13613 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06C3DA; /* 0x2B06C3CA: jne 0x2b06c3da */ 13614 L_2B06C3CC: 13615 ecx = MEM32(ebx + 0xCC); /* 0x2B06C3CC: mov ecx, dword ptr [ebx + 0xcc] */ 13616 PUSH32(esp, 2); /* 0x2B06C3D2: push 2 */ 13617 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06C3D4: call dword ptr [0x2b0b5ab4] */ 13618 RECOMP_FLAGS_IN(); 13619 L_2B06C3DA: 13620 ecx = MEM32(ebp + (-0xC)); /* 0x2B06C3DA: mov ecx, dword ptr [ebp - 0xc] */ 13621 edi = POP32_VAL(esp); /* 0x2B06C3DD: pop edi */ 13622 esi = POP32_VAL(esp); /* 0x2B06C3DE: pop esi */ 13623 eax = ebx; /* 0x2B06C3DF: mov eax, ebx */ 13624 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06C3E1: mov dword ptr fs:[0], ecx */ 13625 ebx = POP32_VAL(esp); /* 0x2B06C3E8: pop ebx */ 13626 esp = ebp; /* 0x2B06C3E9: mov esp, ebp */ 13627 ebp = POP32_VAL(esp); /* 0x2B06C3EB: pop ebp */ 13628 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06C3EC: ret 4 */ 13629 RECOMP_REGS_OUT(); 13630 } 13631 13632 void sub_2B06BFA6(void) { 13633 int _fpu_cmp = 0; 13634 uint32_t _cf = 0; 13635 int _df = 1; 13636 uint32_t _flag_k = FK_NONE; 13637 uint32_t _flag_a = 0, _flag_b = 0; 13638 uint32_t _itail_tgt = 0; 13639 RECOMP_REGS_LOCALS 13640 RECOMP_ENTER(0x2B06BFA6u); 13641 13642 L_2B06BFA6: 13643 PUSH32(esp, ebx); /* 0x2B06BFA6: push ebx */ 13644 PUSH32(esp, 0x2B06D340u); /* 0x2B06BFA7: push 0x2b06d340 */ 13645 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06BFAC: mov byte ptr [ebp - 4], 1 */ 13646 MEM32(ebx + 0xC4) = ecx; /* 0x2B06BFB0: mov dword ptr [ebx + 0xc4], ecx */ 13647 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B06BFB6: call dword ptr [0x2b0b5af8] */ 13648 RECOMP_FLAGS_IN(); 13649 PUSH32(esp, 2); /* 0x2B06BFBC: push 2 */ 13650 PUSH32(esp, 8); /* 0x2B06BFBE: push 8 */ 13651 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06BFC0: call dword ptr [0x2b0b5f80] */ 13652 RECOMP_FLAGS_IN(); 13653 ecx = eax; /* 0x2B06BFC6: mov ecx, eax */ 13654 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06BFC8: call dword ptr [0x2b0b5fbc] */ 13655 RECOMP_FLAGS_IN(); 13656 PUSH32(esp, 0xD8u); /* 0x2B06BFCE: push 0xd8 */ 13657 MEM32(ebp + 0x8) = eax; /* 0x2B06BFD3: mov dword ptr [ebp + 8], eax */ 13658 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06BFD6: call 0x2b0ab212 */ /* not lifted */ 13659 RECOMP_FLAGS_IN(); 13660 edi = eax; /* 0x2B06BFDB: mov edi, eax */ 13661 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13662 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13663 esp = esp + 4; /* 0x2B06BFDD: add esp, 4 */ 13664 _flag_k = FK_ADD; 13665 MEM32(ebp + (-0x28)) = edi; /* 0x2B06BFE0: mov dword ptr [ebp - 0x28], edi */ 13666 /* cmp edi, esi */ /* 0x2B06BFE3: cmp edi, esi */ 13667 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 13668 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13669 _flag_k = FK_CMP; 13670 MEM8(ebp + (-0x4)) = (uint8_t)(0x10u); /* 0x2B06BFE5: mov byte ptr [ebp - 4], 0x10 */ 13671 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C01F; /* 0x2B06BFE9: je 0x2b06c01f */ 13672 L_2B06BFEB: 13673 edx = MEM32(ebp + 0x8); /* 0x2B06BFEB: mov edx, dword ptr [ebp + 8] */ 13674 eax = ebp + (-0x18); /* 0x2B06BFEE: lea eax, [ebp - 0x18] */ 13675 PUSH32(esp, eax); /* 0x2B06BFF1: push eax */ 13676 ecx = ebp + (-0x20); /* 0x2B06BFF2: lea ecx, [ebp - 0x20] */ 13677 PUSH32(esp, ecx); /* 0x2B06BFF5: push ecx */ 13678 PUSH32(esp, esi); /* 0x2B06BFF6: push esi */ 13679 PUSH32(esp, 0x6D60u); /* 0x2B06BFF7: push 0x6d60 */ 13680 PUSH32(esp, edx); /* 0x2B06BFFC: push edx */ 13681 eax = ebp + (-0x14); /* 0x2B06BFFD: lea eax, [ebp - 0x14] */ 13682 PUSH32(esp, eax); /* 0x2B06C000: push eax */ 13683 ecx = edi; /* 0x2B06C001: mov ecx, edi */ 13684 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C003: mov dword ptr [ebp - 0x18], 0x3f800000 */ 13685 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C00A: mov dword ptr [ebp - 0x20], 0x3f800000 */ 13686 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C011: call dword ptr [0x2b0b5654] */ 13687 RECOMP_FLAGS_IN(); 13688 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C017: mov dword ptr [edi], 0x2b0b618c */ 13689 goto L_2B06C021; /* 0x2B06C01D: jmp 0x2b06c021 */ 13690 L_2B06C01F: 13691 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13692 edi = 0; /* 0x2B06C01F: xor edi, edi */ 13693 _cf = 0; 13694 _flag_k = FK_TEST; 13695 L_2B06C021: 13696 PUSH32(esp, 2); /* 0x2B06C021: push 2 */ 13697 PUSH32(esp, 7); /* 0x2B06C023: push 7 */ 13698 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C025: mov byte ptr [ebp - 4], 1 */ 13699 MEM32(ebx + 0xAC) = edi; /* 0x2B06C029: mov dword ptr [ebx + 0xac], edi */ 13700 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C02F: call dword ptr [0x2b0b5f80] */ 13701 RECOMP_FLAGS_IN(); 13702 ecx = eax; /* 0x2B06C035: mov ecx, eax */ 13703 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C037: call dword ptr [0x2b0b5fbc] */ 13704 RECOMP_FLAGS_IN(); 13705 PUSH32(esp, 0xD8u); /* 0x2B06C03D: push 0xd8 */ 13706 MEM32(ebp + 0x8) = eax; /* 0x2B06C042: mov dword ptr [ebp + 8], eax */ 13707 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C045: call 0x2b0ab212 */ /* not lifted */ 13708 RECOMP_FLAGS_IN(); 13709 edi = eax; /* 0x2B06C04A: mov edi, eax */ 13710 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13711 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13712 esp = esp + 4; /* 0x2B06C04C: add esp, 4 */ 13713 _flag_k = FK_ADD; 13714 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C04F: mov dword ptr [ebp - 0x28], edi */ 13715 /* cmp edi, esi */ /* 0x2B06C052: cmp edi, esi */ 13716 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 13717 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13718 _flag_k = FK_CMP; 13719 MEM8(ebp + (-0x4)) = (uint8_t)(0x11u); /* 0x2B06C054: mov byte ptr [ebp - 4], 0x11 */ 13720 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C08E; /* 0x2B06C058: je 0x2b06c08e */ 13721 L_2B06C05A: 13722 eax = MEM32(ebp + 0x8); /* 0x2B06C05A: mov eax, dword ptr [ebp + 8] */ 13723 ecx = ebp + (-0x20); /* 0x2B06C05D: lea ecx, [ebp - 0x20] */ 13724 PUSH32(esp, ecx); /* 0x2B06C060: push ecx */ 13725 edx = ebp + (-0x18); /* 0x2B06C061: lea edx, [ebp - 0x18] */ 13726 PUSH32(esp, edx); /* 0x2B06C064: push edx */ 13727 PUSH32(esp, esi); /* 0x2B06C065: push esi */ 13728 PUSH32(esp, 0x6D60u); /* 0x2B06C066: push 0x6d60 */ 13729 PUSH32(esp, eax); /* 0x2B06C06B: push eax */ 13730 ecx = ebp + (-0x14); /* 0x2B06C06C: lea ecx, [ebp - 0x14] */ 13731 PUSH32(esp, ecx); /* 0x2B06C06F: push ecx */ 13732 ecx = edi; /* 0x2B06C070: mov ecx, edi */ 13733 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C072: mov dword ptr [ebp - 0x20], 0x3f800000 */ 13734 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C079: mov dword ptr [ebp - 0x18], 0x3f800000 */ 13735 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C080: call dword ptr [0x2b0b5654] */ 13736 RECOMP_FLAGS_IN(); 13737 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C086: mov dword ptr [edi], 0x2b0b618c */ 13738 goto L_2B06C090; /* 0x2B06C08C: jmp 0x2b06c090 */ 13739 L_2B06C08E: 13740 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13741 edi = 0; /* 0x2B06C08E: xor edi, edi */ 13742 _cf = 0; 13743 _flag_k = FK_TEST; 13744 L_2B06C090: 13745 PUSH32(esp, 2); /* 0x2B06C090: push 2 */ 13746 PUSH32(esp, 6); /* 0x2B06C092: push 6 */ 13747 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C094: mov byte ptr [ebp - 4], 1 */ 13748 MEM32(ebx + 0xB0) = edi; /* 0x2B06C098: mov dword ptr [ebx + 0xb0], edi */ 13749 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C09E: call dword ptr [0x2b0b5f80] */ 13750 RECOMP_FLAGS_IN(); 13751 ecx = eax; /* 0x2B06C0A4: mov ecx, eax */ 13752 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C0A6: call dword ptr [0x2b0b5fbc] */ 13753 RECOMP_FLAGS_IN(); 13754 PUSH32(esp, 0xD8u); /* 0x2B06C0AC: push 0xd8 */ 13755 MEM32(ebp + 0x8) = eax; /* 0x2B06C0B1: mov dword ptr [ebp + 8], eax */ 13756 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C0B4: call 0x2b0ab212 */ /* not lifted */ 13757 RECOMP_FLAGS_IN(); 13758 edi = eax; /* 0x2B06C0B9: mov edi, eax */ 13759 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13760 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13761 esp = esp + 4; /* 0x2B06C0BB: add esp, 4 */ 13762 _flag_k = FK_ADD; 13763 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C0BE: mov dword ptr [ebp - 0x28], edi */ 13764 /* cmp edi, esi */ /* 0x2B06C0C1: cmp edi, esi */ 13765 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 13766 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13767 _flag_k = FK_CMP; 13768 MEM8(ebp + (-0x4)) = (uint8_t)(0x12u); /* 0x2B06C0C3: mov byte ptr [ebp - 4], 0x12 */ 13769 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C0FD; /* 0x2B06C0C7: je 0x2b06c0fd */ 13770 L_2B06C0C9: 13771 ecx = MEM32(ebp + 0x8); /* 0x2B06C0C9: mov ecx, dword ptr [ebp + 8] */ 13772 edx = ebp + (-0x20); /* 0x2B06C0CC: lea edx, [ebp - 0x20] */ 13773 PUSH32(esp, edx); /* 0x2B06C0CF: push edx */ 13774 eax = ebp + (-0x18); /* 0x2B06C0D0: lea eax, [ebp - 0x18] */ 13775 PUSH32(esp, eax); /* 0x2B06C0D3: push eax */ 13776 PUSH32(esp, esi); /* 0x2B06C0D4: push esi */ 13777 PUSH32(esp, 0x6D60u); /* 0x2B06C0D5: push 0x6d60 */ 13778 PUSH32(esp, ecx); /* 0x2B06C0DA: push ecx */ 13779 edx = ebp + (-0x14); /* 0x2B06C0DB: lea edx, [ebp - 0x14] */ 13780 PUSH32(esp, edx); /* 0x2B06C0DE: push edx */ 13781 ecx = edi; /* 0x2B06C0DF: mov ecx, edi */ 13782 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C0E1: mov dword ptr [ebp - 0x20], 0x3f800000 */ 13783 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C0E8: mov dword ptr [ebp - 0x18], 0x3f800000 */ 13784 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C0EF: call dword ptr [0x2b0b5654] */ 13785 RECOMP_FLAGS_IN(); 13786 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C0F5: mov dword ptr [edi], 0x2b0b618c */ 13787 goto L_2B06C0FF; /* 0x2B06C0FB: jmp 0x2b06c0ff */ 13788 L_2B06C0FD: 13789 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13790 edi = 0; /* 0x2B06C0FD: xor edi, edi */ 13791 _cf = 0; 13792 _flag_k = FK_TEST; 13793 L_2B06C0FF: 13794 PUSH32(esp, 2); /* 0x2B06C0FF: push 2 */ 13795 PUSH32(esp, 5); /* 0x2B06C101: push 5 */ 13796 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C103: mov byte ptr [ebp - 4], 1 */ 13797 MEM32(ebx + 0xB4) = edi; /* 0x2B06C107: mov dword ptr [ebx + 0xb4], edi */ 13798 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C10D: call dword ptr [0x2b0b5f80] */ 13799 RECOMP_FLAGS_IN(); 13800 ecx = eax; /* 0x2B06C113: mov ecx, eax */ 13801 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C115: call dword ptr [0x2b0b5fbc] */ 13802 RECOMP_FLAGS_IN(); 13803 PUSH32(esp, 0xD8u); /* 0x2B06C11B: push 0xd8 */ 13804 MEM32(ebp + 0x8) = eax; /* 0x2B06C120: mov dword ptr [ebp + 8], eax */ 13805 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C123: call 0x2b0ab212 */ /* not lifted */ 13806 RECOMP_FLAGS_IN(); 13807 edi = eax; /* 0x2B06C128: mov edi, eax */ 13808 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13809 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13810 esp = esp + 4; /* 0x2B06C12A: add esp, 4 */ 13811 _flag_k = FK_ADD; 13812 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C12D: mov dword ptr [ebp - 0x28], edi */ 13813 /* cmp edi, esi */ /* 0x2B06C130: cmp edi, esi */ 13814 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 13815 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13816 _flag_k = FK_CMP; 13817 MEM8(ebp + (-0x4)) = (uint8_t)(0x13u); /* 0x2B06C132: mov byte ptr [ebp - 4], 0x13 */ 13818 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C16C; /* 0x2B06C136: je 0x2b06c16c */ 13819 L_2B06C138: 13820 edx = MEM32(ebp + 0x8); /* 0x2B06C138: mov edx, dword ptr [ebp + 8] */ 13821 eax = ebp + (-0x20); /* 0x2B06C13B: lea eax, [ebp - 0x20] */ 13822 PUSH32(esp, eax); /* 0x2B06C13E: push eax */ 13823 ecx = ebp + (-0x18); /* 0x2B06C13F: lea ecx, [ebp - 0x18] */ 13824 PUSH32(esp, ecx); /* 0x2B06C142: push ecx */ 13825 PUSH32(esp, esi); /* 0x2B06C143: push esi */ 13826 PUSH32(esp, 0x6D60u); /* 0x2B06C144: push 0x6d60 */ 13827 PUSH32(esp, edx); /* 0x2B06C149: push edx */ 13828 eax = ebp + (-0x14); /* 0x2B06C14A: lea eax, [ebp - 0x14] */ 13829 PUSH32(esp, eax); /* 0x2B06C14D: push eax */ 13830 ecx = edi; /* 0x2B06C14E: mov ecx, edi */ 13831 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C150: mov dword ptr [ebp - 0x20], 0x3f800000 */ 13832 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C157: mov dword ptr [ebp - 0x18], 0x3f800000 */ 13833 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C15E: call dword ptr [0x2b0b5654] */ 13834 RECOMP_FLAGS_IN(); 13835 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C164: mov dword ptr [edi], 0x2b0b618c */ 13836 goto L_2B06C16E; /* 0x2B06C16A: jmp 0x2b06c16e */ 13837 L_2B06C16C: 13838 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13839 edi = 0; /* 0x2B06C16C: xor edi, edi */ 13840 _cf = 0; 13841 _flag_k = FK_TEST; 13842 L_2B06C16E: 13843 PUSH32(esp, 2); /* 0x2B06C16E: push 2 */ 13844 PUSH32(esp, 3); /* 0x2B06C170: push 3 */ 13845 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C172: mov byte ptr [ebp - 4], 1 */ 13846 MEM32(ebx + 0xB8) = edi; /* 0x2B06C176: mov dword ptr [ebx + 0xb8], edi */ 13847 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C17C: call dword ptr [0x2b0b5f80] */ 13848 RECOMP_FLAGS_IN(); 13849 ecx = eax; /* 0x2B06C182: mov ecx, eax */ 13850 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C184: call dword ptr [0x2b0b5fbc] */ 13851 RECOMP_FLAGS_IN(); 13852 PUSH32(esp, 0xD8u); /* 0x2B06C18A: push 0xd8 */ 13853 MEM32(ebp + 0x8) = eax; /* 0x2B06C18F: mov dword ptr [ebp + 8], eax */ 13854 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C192: call 0x2b0ab212 */ /* not lifted */ 13855 RECOMP_FLAGS_IN(); 13856 edi = eax; /* 0x2B06C197: mov edi, eax */ 13857 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13858 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13859 esp = esp + 4; /* 0x2B06C199: add esp, 4 */ 13860 _flag_k = FK_ADD; 13861 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C19C: mov dword ptr [ebp - 0x28], edi */ 13862 /* cmp edi, esi */ /* 0x2B06C19F: cmp edi, esi */ 13863 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 13864 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13865 _flag_k = FK_CMP; 13866 MEM8(ebp + (-0x4)) = (uint8_t)(0x14u); /* 0x2B06C1A1: mov byte ptr [ebp - 4], 0x14 */ 13867 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C1DB; /* 0x2B06C1A5: je 0x2b06c1db */ 13868 L_2B06C1A7: 13869 eax = MEM32(ebp + 0x8); /* 0x2B06C1A7: mov eax, dword ptr [ebp + 8] */ 13870 ecx = ebp + (-0x20); /* 0x2B06C1AA: lea ecx, [ebp - 0x20] */ 13871 PUSH32(esp, ecx); /* 0x2B06C1AD: push ecx */ 13872 edx = ebp + (-0x18); /* 0x2B06C1AE: lea edx, [ebp - 0x18] */ 13873 PUSH32(esp, edx); /* 0x2B06C1B1: push edx */ 13874 PUSH32(esp, esi); /* 0x2B06C1B2: push esi */ 13875 PUSH32(esp, 0x6D60u); /* 0x2B06C1B3: push 0x6d60 */ 13876 PUSH32(esp, eax); /* 0x2B06C1B8: push eax */ 13877 ecx = ebp + (-0x14); /* 0x2B06C1B9: lea ecx, [ebp - 0x14] */ 13878 PUSH32(esp, ecx); /* 0x2B06C1BC: push ecx */ 13879 ecx = edi; /* 0x2B06C1BD: mov ecx, edi */ 13880 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C1BF: mov dword ptr [ebp - 0x20], 0x3f800000 */ 13881 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C1C6: mov dword ptr [ebp - 0x18], 0x3f800000 */ 13882 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C1CD: call dword ptr [0x2b0b5654] */ 13883 RECOMP_FLAGS_IN(); 13884 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C1D3: mov dword ptr [edi], 0x2b0b618c */ 13885 goto L_2B06C1DD; /* 0x2B06C1D9: jmp 0x2b06c1dd */ 13886 L_2B06C1DB: 13887 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13888 edi = 0; /* 0x2B06C1DB: xor edi, edi */ 13889 _cf = 0; 13890 _flag_k = FK_TEST; 13891 L_2B06C1DD: 13892 PUSH32(esp, 2); /* 0x2B06C1DD: push 2 */ 13893 PUSH32(esp, 4); /* 0x2B06C1DF: push 4 */ 13894 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C1E1: mov byte ptr [ebp - 4], 1 */ 13895 MEM32(ebx + 0xBC) = edi; /* 0x2B06C1E5: mov dword ptr [ebx + 0xbc], edi */ 13896 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C1EB: call dword ptr [0x2b0b5f80] */ 13897 RECOMP_FLAGS_IN(); 13898 ecx = eax; /* 0x2B06C1F1: mov ecx, eax */ 13899 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C1F3: call dword ptr [0x2b0b5fbc] */ 13900 RECOMP_FLAGS_IN(); 13901 PUSH32(esp, 0xD8u); /* 0x2B06C1F9: push 0xd8 */ 13902 MEM32(ebp + 0x8) = eax; /* 0x2B06C1FE: mov dword ptr [ebp + 8], eax */ 13903 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C201: call 0x2b0ab212 */ /* not lifted */ 13904 RECOMP_FLAGS_IN(); 13905 edi = eax; /* 0x2B06C206: mov edi, eax */ 13906 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13907 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13908 esp = esp + 4; /* 0x2B06C208: add esp, 4 */ 13909 _flag_k = FK_ADD; 13910 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C20B: mov dword ptr [ebp - 0x28], edi */ 13911 /* cmp edi, esi */ /* 0x2B06C20E: cmp edi, esi */ 13912 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 13913 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13914 _flag_k = FK_CMP; 13915 MEM8(ebp + (-0x4)) = (uint8_t)(0x15u); /* 0x2B06C210: mov byte ptr [ebp - 4], 0x15 */ 13916 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C24A; /* 0x2B06C214: je 0x2b06c24a */ 13917 L_2B06C216: 13918 ecx = MEM32(ebp + 0x8); /* 0x2B06C216: mov ecx, dword ptr [ebp + 8] */ 13919 edx = ebp + (-0x20); /* 0x2B06C219: lea edx, [ebp - 0x20] */ 13920 PUSH32(esp, edx); /* 0x2B06C21C: push edx */ 13921 eax = ebp + (-0x18); /* 0x2B06C21D: lea eax, [ebp - 0x18] */ 13922 PUSH32(esp, eax); /* 0x2B06C220: push eax */ 13923 PUSH32(esp, esi); /* 0x2B06C221: push esi */ 13924 PUSH32(esp, 0x6D60u); /* 0x2B06C222: push 0x6d60 */ 13925 PUSH32(esp, ecx); /* 0x2B06C227: push ecx */ 13926 edx = ebp + (-0x14); /* 0x2B06C228: lea edx, [ebp - 0x14] */ 13927 PUSH32(esp, edx); /* 0x2B06C22B: push edx */ 13928 ecx = edi; /* 0x2B06C22C: mov ecx, edi */ 13929 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C22E: mov dword ptr [ebp - 0x20], 0x3f800000 */ 13930 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C235: mov dword ptr [ebp - 0x18], 0x3f800000 */ 13931 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C23C: call dword ptr [0x2b0b5654] */ 13932 RECOMP_FLAGS_IN(); 13933 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C242: mov dword ptr [edi], 0x2b0b618c */ 13934 goto L_2B06C24C; /* 0x2B06C248: jmp 0x2b06c24c */ 13935 L_2B06C24A: 13936 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13937 edi = 0; /* 0x2B06C24A: xor edi, edi */ 13938 _cf = 0; 13939 _flag_k = FK_TEST; 13940 L_2B06C24C: 13941 eax = MEM32(ebx + 0x78); /* 0x2B06C24C: mov eax, dword ptr [ebx + 0x78] */ 13942 ecx = eax + (-0x16); /* 0x2B06C24F: lea ecx, [eax - 0x16] */ 13943 MEM32(ebx + 0xC0) = edi; /* 0x2B06C252: mov dword ptr [ebx + 0xc0], edi */ 13944 MEM32(ebp + (-0xC0)) = ecx; /* 0x2B06C258: mov dword ptr [ebp - 0xc0], ecx */ 13945 MEM32(ebp + (-0xAC)) = eax; /* 0x2B06C25E: mov dword ptr [ebp - 0xac], eax */ 13946 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13947 eax = 0; /* 0x2B06C264: xor eax, eax */ 13948 _cf = 0; 13949 _flag_k = FK_TEST; 13950 MEM32(ebp + (-0xE0)) = esi; /* 0x2B06C266: mov dword ptr [ebp - 0xe0], esi */ 13951 MEM32(ebp + (-0xDC)) = esi; /* 0x2B06C26C: mov dword ptr [ebp - 0xdc], esi */ 13952 MEM32(ebp + (-0xD8)) = esi; /* 0x2B06C272: mov dword ptr [ebp - 0xd8], esi */ 13953 MEM32(ebp + (-0xD4)) = 0x6D65u; /* 0x2B06C278: mov dword ptr [ebp - 0xd4], 0x6d65 */ 13954 MEM32(ebp + (-0xD0)) = esi; /* 0x2B06C282: mov dword ptr [ebp - 0xd0], esi */ 13955 MEM32(ebp + (-0xCC)) = esi; /* 0x2B06C288: mov dword ptr [ebp - 0xcc], esi */ 13956 MEM32(ebp + (-0xC8)) = esi; /* 0x2B06C28E: mov dword ptr [ebp - 0xc8], esi */ 13957 MEM32(ebp + (-0xC4)) = esi; /* 0x2B06C294: mov dword ptr [ebp - 0xc4], esi */ 13958 MEM32(ebp + (-0xBC)) = esi; /* 0x2B06C29A: mov dword ptr [ebp - 0xbc], esi */ 13959 MEM32(ebp + (-0xB8)) = esi; /* 0x2B06C2A0: mov dword ptr [ebp - 0xb8], esi */ 13960 MEM32(ebp + (-0xB4)) = esi; /* 0x2B06C2A6: mov dword ptr [ebp - 0xb4], esi */ 13961 MEM32(ebp + (-0xB0)) = 1; /* 0x2B06C2AC: mov dword ptr [ebp - 0xb0], 1 */ 13962 ecx = 6; /* 0x2B06C2B6: mov ecx, 6 */ 13963 edi = ebp + (-0xA8); /* 0x2B06C2BB: lea edi, [ebp - 0xa8] */ 13964 PUSH32(esp, 0xC8u); /* 0x2B06C2C1: push 0xc8 */ 13965 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C2C6: mov byte ptr [ebp - 4], 1 */ 13966 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06C2CA: 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; } 13967 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C2CC: call 0x2b0ab212 */ /* not lifted */ 13968 RECOMP_FLAGS_IN(); 13969 edi = eax; /* 0x2B06C2D1: mov edi, eax */ 13970 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13971 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13972 esp = esp + 4; /* 0x2B06C2D3: add esp, 4 */ 13973 _flag_k = FK_ADD; 13974 MEM32(ebp + 0x8) = edi; /* 0x2B06C2D6: mov dword ptr [ebp + 8], edi */ 13975 /* cmp edi, esi */ /* 0x2B06C2D9: cmp edi, esi */ 13976 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 13977 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13978 _flag_k = FK_CMP; 13979 MEM8(ebp + (-0x4)) = (uint8_t)(0x16u); /* 0x2B06C2DB: mov byte ptr [ebp - 4], 0x16 */ 13980 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C2FA; /* 0x2B06C2DF: je 0x2b06c2fa */ 13981 L_2B06C2E1: 13982 edx = ebp + (-0xE0); /* 0x2B06C2E1: lea edx, [ebp - 0xe0] */ 13983 PUSH32(esp, edx); /* 0x2B06C2E7: push edx */ 13984 ecx = edi; /* 0x2B06C2E8: mov ecx, edi */ 13985 RECOMP_ICALL(MEM32(0x2B0B5748)); /* 0x2B06C2EA: call dword ptr [0x2b0b5748] */ 13986 RECOMP_FLAGS_IN(); 13987 MEM32(edi) = 0x2B0B7110u; /* 0x2B06C2F0: mov dword ptr [edi], 0x2b0b7110 */ 13988 ecx = edi; /* 0x2B06C2F6: mov ecx, edi */ 13989 goto L_2B06C2FC; /* 0x2B06C2F8: jmp 0x2b06c2fc */ 13990 L_2B06C2FA: 13991 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13992 ecx = 0; /* 0x2B06C2FA: xor ecx, ecx */ 13993 _cf = 0; 13994 _flag_k = FK_TEST; 13995 L_2B06C2FC: 13996 PUSH32(esp, ebx); /* 0x2B06C2FC: push ebx */ 13997 PUSH32(esp, 0x2B06D3C0u); /* 0x2B06C2FD: push 0x2b06d3c0 */ 13998 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C302: mov byte ptr [ebp - 4], 1 */ 13999 MEM32(ebx + 0xD8) = ecx; /* 0x2B06C306: mov dword ptr [ebx + 0xd8], ecx */ 14000 RECOMP_ICALL(MEM32(0x2B0B5744)); /* 0x2B06C30C: call dword ptr [0x2b0b5744] */ 14001 RECOMP_FLAGS_IN(); 14002 ecx = MEM32(ebx + 0xD8); /* 0x2B06C312: mov ecx, dword ptr [ebx + 0xd8] */ 14003 PUSH32(esp, 0x64u); /* 0x2B06C318: push 0x64 */ 14004 RECOMP_ICALL(MEM32(0x2B0B5778)); /* 0x2B06C31A: call dword ptr [0x2b0b5778] */ 14005 RECOMP_FLAGS_IN(); 14006 eax = MEM32(ebx + 0x9C); /* 0x2B06C320: mov eax, dword ptr [ebx + 0x9c] */ 14007 ecx = MEM32(eax + 0x34); /* 0x2B06C326: mov ecx, dword ptr [eax + 0x34] */ 14008 RECOMP_ICALL(MEM32(0x2B0B56F8)); /* 0x2B06C329: call dword ptr [0x2b0b56f8] */ 14009 RECOMP_FLAGS_IN(); 14010 ecx = MEM32(ebx + 0xD8); /* 0x2B06C32F: mov ecx, dword ptr [ebx + 0xd8] */ 14011 MEM32(ebx + 0x48) = eax; /* 0x2B06C335: mov dword ptr [ebx + 0x48], eax */ 14012 PUSH32(esp, 0x64u); /* 0x2B06C338: push 0x64 */ 14013 MEM32(ecx + 0x98) = eax; /* 0x2B06C33A: mov dword ptr [ecx + 0x98], eax */ 14014 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C340: call 0x2b0ab212 */ /* not lifted */ 14015 RECOMP_FLAGS_IN(); 14016 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14017 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14018 esp = esp + 4; /* 0x2B06C345: add esp, 4 */ 14019 _flag_k = FK_ADD; 14020 MEM32(ebp + 0x8) = eax; /* 0x2B06C348: mov dword ptr [ebp + 8], eax */ 14021 /* cmp eax, esi */ /* 0x2B06C34B: cmp eax, esi */ 14022 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 14023 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14024 _flag_k = FK_CMP; 14025 MEM8(ebp + (-0x4)) = (uint8_t)(0x17u); /* 0x2B06C34D: mov byte ptr [ebp - 4], 0x17 */ 14026 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C384; /* 0x2B06C351: je 0x2b06c384 */ 14027 L_2B06C353: 14028 ecx = MEM32(ebx + 0x98); /* 0x2B06C353: mov ecx, dword ptr [ebx + 0x98] */ 14029 PUSH32(esp, ecx); /* 0x2B06C359: push ecx */ 14030 PUSH32(esp, esi); /* 0x2B06C35A: push esi */ 14031 PUSH32(esp, 0x30u); /* 0x2B06C35B: push 0x30 */ 14032 PUSH32(esp, esi); /* 0x2B06C35D: push esi */ 14033 PUSH32(esp, 0x6D63u); /* 0x2B06C35E: push 0x6d63 */ 14034 PUSH32(esp, 0x9Eu); /* 0x2B06C363: push 0x9e */ 14035 PUSH32(esp, esi); /* 0x2B06C368: push esi */ 14036 PUSH32(esp, 0x9Fu); /* 0x2B06C369: push 0x9f */ 14037 PUSH32(esp, 0x36u); /* 0x2B06C36E: push 0x36 */ 14038 PUSH32(esp, 0x36u); /* 0x2B06C370: push 0x36 */ 14039 PUSH32(esp, 3); /* 0x2B06C372: push 3 */ 14040 PUSH32(esp, 3); /* 0x2B06C374: push 3 */ 14041 edx = ebp + (-0x14); /* 0x2B06C376: lea edx, [ebp - 0x14] */ 14042 PUSH32(esp, edx); /* 0x2B06C379: push edx */ 14043 ecx = eax; /* 0x2B06C37A: mov ecx, eax */ 14044 RECOMP_ICALL(MEM32(0x2B0B58F8)); /* 0x2B06C37C: call dword ptr [0x2b0b58f8] */ 14045 RECOMP_FLAGS_IN(); 14046 goto L_2B06C386; /* 0x2B06C382: jmp 0x2b06c386 */ 14047 L_2B06C384: 14048 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14049 eax = 0; /* 0x2B06C384: xor eax, eax */ 14050 _cf = 0; 14051 _flag_k = FK_TEST; 14052 L_2B06C386: 14053 MEM32(ebx + 0xDC) = eax; /* 0x2B06C386: mov dword ptr [ebx + 0xdc], eax */ 14054 MEM32(eax + 0x5C) = 0x2B06D400u; /* 0x2B06C38C: mov dword ptr [eax + 0x5c], 0x2b06d400 */ 14055 MEM32(eax + 0x60) = ebx; /* 0x2B06C393: mov dword ptr [eax + 0x60], ebx */ 14056 eax = ebx + 0x5C; /* 0x2B06C396: lea eax, [ebx + 0x5c] */ 14057 PUSH32(esp, eax); /* 0x2B06C399: push eax */ 14058 ecx = ebx; /* 0x2B06C39A: mov ecx, ebx */ 14059 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C39C: mov byte ptr [ebp - 4], 1 */ 14060 RECOMP_ICALL(0x2B06CC00u); /* 0x2B06C3A0: call 0x2b06cc00 */ /* not lifted */ 14061 RECOMP_FLAGS_IN(); 14062 ecx = ebx; /* 0x2B06C3A5: mov ecx, ebx */ 14063 RECOMP_ICALL(0x2B06CBD0u); /* 0x2B06C3A7: call 0x2b06cbd0 */ /* not lifted */ 14064 RECOMP_FLAGS_IN(); 14065 eax = MEM32(0x2B0B6048); /* 0x2B06C3AC: mov eax, dword ptr [0x2b0b6048] */ 14066 ecx = MEM32(eax); /* 0x2B06C3B1: mov ecx, dword ptr [eax] */ 14067 PUSH32(esp, 1); /* 0x2B06C3B3: push 1 */ 14068 PUSH32(esp, 0x2B0EB490u); /* 0x2B06C3B5: push 0x2b0eb490 */ 14069 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B06C3BA: call dword ptr [0x2b0b602c] */ 14070 RECOMP_FLAGS_IN(); 14071 /* test eax, eax */ /* 0x2B06C3C0: test eax, eax */ 14072 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14073 _cf = 0; 14074 _flag_k = FK_TEST; 14075 SET_LO8(eax, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B06C3C2: setne al */ 14076 /* test LO8(eax), LO8(eax) */ /* 0x2B06C3C5: test al, al */ 14077 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 14078 _cf = 0; 14079 _flag_k = FK_NARROW(FK_TEST, 24); 14080 MEM8(ebx + 0x58) = (uint8_t)(LO8(eax)); /* 0x2B06C3C7: mov byte ptr [ebx + 0x58], al */ 14081 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06C3DA; /* 0x2B06C3CA: jne 0x2b06c3da */ 14082 L_2B06C3CC: 14083 ecx = MEM32(ebx + 0xCC); /* 0x2B06C3CC: mov ecx, dword ptr [ebx + 0xcc] */ 14084 PUSH32(esp, 2); /* 0x2B06C3D2: push 2 */ 14085 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06C3D4: call dword ptr [0x2b0b5ab4] */ 14086 RECOMP_FLAGS_IN(); 14087 L_2B06C3DA: 14088 ecx = MEM32(ebp + (-0xC)); /* 0x2B06C3DA: mov ecx, dword ptr [ebp - 0xc] */ 14089 edi = POP32_VAL(esp); /* 0x2B06C3DD: pop edi */ 14090 esi = POP32_VAL(esp); /* 0x2B06C3DE: pop esi */ 14091 eax = ebx; /* 0x2B06C3DF: mov eax, ebx */ 14092 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06C3E1: mov dword ptr fs:[0], ecx */ 14093 ebx = POP32_VAL(esp); /* 0x2B06C3E8: pop ebx */ 14094 esp = ebp; /* 0x2B06C3E9: mov esp, ebp */ 14095 ebp = POP32_VAL(esp); /* 0x2B06C3EB: pop ebp */ 14096 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06C3EC: ret 4 */ 14097 RECOMP_REGS_OUT(); 14098 } 14099 14100 void sub_2B06C021(void) { 14101 int _fpu_cmp = 0; 14102 uint32_t _cf = 0; 14103 int _df = 1; 14104 uint32_t _flag_k = FK_NONE; 14105 uint32_t _flag_a = 0, _flag_b = 0; 14106 uint32_t _itail_tgt = 0; 14107 RECOMP_REGS_LOCALS 14108 RECOMP_ENTER(0x2B06C021u); 14109 14110 L_2B06C021: 14111 PUSH32(esp, 2); /* 0x2B06C021: push 2 */ 14112 PUSH32(esp, 7); /* 0x2B06C023: push 7 */ 14113 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C025: mov byte ptr [ebp - 4], 1 */ 14114 MEM32(ebx + 0xAC) = edi; /* 0x2B06C029: mov dword ptr [ebx + 0xac], edi */ 14115 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C02F: call dword ptr [0x2b0b5f80] */ 14116 RECOMP_FLAGS_IN(); 14117 ecx = eax; /* 0x2B06C035: mov ecx, eax */ 14118 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C037: call dword ptr [0x2b0b5fbc] */ 14119 RECOMP_FLAGS_IN(); 14120 PUSH32(esp, 0xD8u); /* 0x2B06C03D: push 0xd8 */ 14121 MEM32(ebp + 0x8) = eax; /* 0x2B06C042: mov dword ptr [ebp + 8], eax */ 14122 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C045: call 0x2b0ab212 */ /* not lifted */ 14123 RECOMP_FLAGS_IN(); 14124 edi = eax; /* 0x2B06C04A: mov edi, eax */ 14125 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14126 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14127 esp = esp + 4; /* 0x2B06C04C: add esp, 4 */ 14128 _flag_k = FK_ADD; 14129 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C04F: mov dword ptr [ebp - 0x28], edi */ 14130 /* cmp edi, esi */ /* 0x2B06C052: cmp edi, esi */ 14131 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 14132 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14133 _flag_k = FK_CMP; 14134 MEM8(ebp + (-0x4)) = (uint8_t)(0x11u); /* 0x2B06C054: mov byte ptr [ebp - 4], 0x11 */ 14135 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C08E; /* 0x2B06C058: je 0x2b06c08e */ 14136 L_2B06C05A: 14137 eax = MEM32(ebp + 0x8); /* 0x2B06C05A: mov eax, dword ptr [ebp + 8] */ 14138 ecx = ebp + (-0x20); /* 0x2B06C05D: lea ecx, [ebp - 0x20] */ 14139 PUSH32(esp, ecx); /* 0x2B06C060: push ecx */ 14140 edx = ebp + (-0x18); /* 0x2B06C061: lea edx, [ebp - 0x18] */ 14141 PUSH32(esp, edx); /* 0x2B06C064: push edx */ 14142 PUSH32(esp, esi); /* 0x2B06C065: push esi */ 14143 PUSH32(esp, 0x6D60u); /* 0x2B06C066: push 0x6d60 */ 14144 PUSH32(esp, eax); /* 0x2B06C06B: push eax */ 14145 ecx = ebp + (-0x14); /* 0x2B06C06C: lea ecx, [ebp - 0x14] */ 14146 PUSH32(esp, ecx); /* 0x2B06C06F: push ecx */ 14147 ecx = edi; /* 0x2B06C070: mov ecx, edi */ 14148 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C072: mov dword ptr [ebp - 0x20], 0x3f800000 */ 14149 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C079: mov dword ptr [ebp - 0x18], 0x3f800000 */ 14150 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C080: call dword ptr [0x2b0b5654] */ 14151 RECOMP_FLAGS_IN(); 14152 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C086: mov dword ptr [edi], 0x2b0b618c */ 14153 goto L_2B06C090; /* 0x2B06C08C: jmp 0x2b06c090 */ 14154 L_2B06C08E: 14155 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14156 edi = 0; /* 0x2B06C08E: xor edi, edi */ 14157 _cf = 0; 14158 _flag_k = FK_TEST; 14159 L_2B06C090: 14160 PUSH32(esp, 2); /* 0x2B06C090: push 2 */ 14161 PUSH32(esp, 6); /* 0x2B06C092: push 6 */ 14162 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C094: mov byte ptr [ebp - 4], 1 */ 14163 MEM32(ebx + 0xB0) = edi; /* 0x2B06C098: mov dword ptr [ebx + 0xb0], edi */ 14164 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C09E: call dword ptr [0x2b0b5f80] */ 14165 RECOMP_FLAGS_IN(); 14166 ecx = eax; /* 0x2B06C0A4: mov ecx, eax */ 14167 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C0A6: call dword ptr [0x2b0b5fbc] */ 14168 RECOMP_FLAGS_IN(); 14169 PUSH32(esp, 0xD8u); /* 0x2B06C0AC: push 0xd8 */ 14170 MEM32(ebp + 0x8) = eax; /* 0x2B06C0B1: mov dword ptr [ebp + 8], eax */ 14171 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C0B4: call 0x2b0ab212 */ /* not lifted */ 14172 RECOMP_FLAGS_IN(); 14173 edi = eax; /* 0x2B06C0B9: mov edi, eax */ 14174 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14175 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14176 esp = esp + 4; /* 0x2B06C0BB: add esp, 4 */ 14177 _flag_k = FK_ADD; 14178 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C0BE: mov dword ptr [ebp - 0x28], edi */ 14179 /* cmp edi, esi */ /* 0x2B06C0C1: cmp edi, esi */ 14180 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 14181 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14182 _flag_k = FK_CMP; 14183 MEM8(ebp + (-0x4)) = (uint8_t)(0x12u); /* 0x2B06C0C3: mov byte ptr [ebp - 4], 0x12 */ 14184 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C0FD; /* 0x2B06C0C7: je 0x2b06c0fd */ 14185 L_2B06C0C9: 14186 ecx = MEM32(ebp + 0x8); /* 0x2B06C0C9: mov ecx, dword ptr [ebp + 8] */ 14187 edx = ebp + (-0x20); /* 0x2B06C0CC: lea edx, [ebp - 0x20] */ 14188 PUSH32(esp, edx); /* 0x2B06C0CF: push edx */ 14189 eax = ebp + (-0x18); /* 0x2B06C0D0: lea eax, [ebp - 0x18] */ 14190 PUSH32(esp, eax); /* 0x2B06C0D3: push eax */ 14191 PUSH32(esp, esi); /* 0x2B06C0D4: push esi */ 14192 PUSH32(esp, 0x6D60u); /* 0x2B06C0D5: push 0x6d60 */ 14193 PUSH32(esp, ecx); /* 0x2B06C0DA: push ecx */ 14194 edx = ebp + (-0x14); /* 0x2B06C0DB: lea edx, [ebp - 0x14] */ 14195 PUSH32(esp, edx); /* 0x2B06C0DE: push edx */ 14196 ecx = edi; /* 0x2B06C0DF: mov ecx, edi */ 14197 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C0E1: mov dword ptr [ebp - 0x20], 0x3f800000 */ 14198 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C0E8: mov dword ptr [ebp - 0x18], 0x3f800000 */ 14199 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C0EF: call dword ptr [0x2b0b5654] */ 14200 RECOMP_FLAGS_IN(); 14201 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C0F5: mov dword ptr [edi], 0x2b0b618c */ 14202 goto L_2B06C0FF; /* 0x2B06C0FB: jmp 0x2b06c0ff */ 14203 L_2B06C0FD: 14204 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14205 edi = 0; /* 0x2B06C0FD: xor edi, edi */ 14206 _cf = 0; 14207 _flag_k = FK_TEST; 14208 L_2B06C0FF: 14209 PUSH32(esp, 2); /* 0x2B06C0FF: push 2 */ 14210 PUSH32(esp, 5); /* 0x2B06C101: push 5 */ 14211 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C103: mov byte ptr [ebp - 4], 1 */ 14212 MEM32(ebx + 0xB4) = edi; /* 0x2B06C107: mov dword ptr [ebx + 0xb4], edi */ 14213 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C10D: call dword ptr [0x2b0b5f80] */ 14214 RECOMP_FLAGS_IN(); 14215 ecx = eax; /* 0x2B06C113: mov ecx, eax */ 14216 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C115: call dword ptr [0x2b0b5fbc] */ 14217 RECOMP_FLAGS_IN(); 14218 PUSH32(esp, 0xD8u); /* 0x2B06C11B: push 0xd8 */ 14219 MEM32(ebp + 0x8) = eax; /* 0x2B06C120: mov dword ptr [ebp + 8], eax */ 14220 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C123: call 0x2b0ab212 */ /* not lifted */ 14221 RECOMP_FLAGS_IN(); 14222 edi = eax; /* 0x2B06C128: mov edi, eax */ 14223 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14224 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14225 esp = esp + 4; /* 0x2B06C12A: add esp, 4 */ 14226 _flag_k = FK_ADD; 14227 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C12D: mov dword ptr [ebp - 0x28], edi */ 14228 /* cmp edi, esi */ /* 0x2B06C130: cmp edi, esi */ 14229 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 14230 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14231 _flag_k = FK_CMP; 14232 MEM8(ebp + (-0x4)) = (uint8_t)(0x13u); /* 0x2B06C132: mov byte ptr [ebp - 4], 0x13 */ 14233 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C16C; /* 0x2B06C136: je 0x2b06c16c */ 14234 L_2B06C138: 14235 edx = MEM32(ebp + 0x8); /* 0x2B06C138: mov edx, dword ptr [ebp + 8] */ 14236 eax = ebp + (-0x20); /* 0x2B06C13B: lea eax, [ebp - 0x20] */ 14237 PUSH32(esp, eax); /* 0x2B06C13E: push eax */ 14238 ecx = ebp + (-0x18); /* 0x2B06C13F: lea ecx, [ebp - 0x18] */ 14239 PUSH32(esp, ecx); /* 0x2B06C142: push ecx */ 14240 PUSH32(esp, esi); /* 0x2B06C143: push esi */ 14241 PUSH32(esp, 0x6D60u); /* 0x2B06C144: push 0x6d60 */ 14242 PUSH32(esp, edx); /* 0x2B06C149: push edx */ 14243 eax = ebp + (-0x14); /* 0x2B06C14A: lea eax, [ebp - 0x14] */ 14244 PUSH32(esp, eax); /* 0x2B06C14D: push eax */ 14245 ecx = edi; /* 0x2B06C14E: mov ecx, edi */ 14246 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C150: mov dword ptr [ebp - 0x20], 0x3f800000 */ 14247 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C157: mov dword ptr [ebp - 0x18], 0x3f800000 */ 14248 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C15E: call dword ptr [0x2b0b5654] */ 14249 RECOMP_FLAGS_IN(); 14250 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C164: mov dword ptr [edi], 0x2b0b618c */ 14251 goto L_2B06C16E; /* 0x2B06C16A: jmp 0x2b06c16e */ 14252 L_2B06C16C: 14253 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14254 edi = 0; /* 0x2B06C16C: xor edi, edi */ 14255 _cf = 0; 14256 _flag_k = FK_TEST; 14257 L_2B06C16E: 14258 PUSH32(esp, 2); /* 0x2B06C16E: push 2 */ 14259 PUSH32(esp, 3); /* 0x2B06C170: push 3 */ 14260 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C172: mov byte ptr [ebp - 4], 1 */ 14261 MEM32(ebx + 0xB8) = edi; /* 0x2B06C176: mov dword ptr [ebx + 0xb8], edi */ 14262 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C17C: call dword ptr [0x2b0b5f80] */ 14263 RECOMP_FLAGS_IN(); 14264 ecx = eax; /* 0x2B06C182: mov ecx, eax */ 14265 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C184: call dword ptr [0x2b0b5fbc] */ 14266 RECOMP_FLAGS_IN(); 14267 PUSH32(esp, 0xD8u); /* 0x2B06C18A: push 0xd8 */ 14268 MEM32(ebp + 0x8) = eax; /* 0x2B06C18F: mov dword ptr [ebp + 8], eax */ 14269 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C192: call 0x2b0ab212 */ /* not lifted */ 14270 RECOMP_FLAGS_IN(); 14271 edi = eax; /* 0x2B06C197: mov edi, eax */ 14272 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14273 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14274 esp = esp + 4; /* 0x2B06C199: add esp, 4 */ 14275 _flag_k = FK_ADD; 14276 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C19C: mov dword ptr [ebp - 0x28], edi */ 14277 /* cmp edi, esi */ /* 0x2B06C19F: cmp edi, esi */ 14278 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 14279 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14280 _flag_k = FK_CMP; 14281 MEM8(ebp + (-0x4)) = (uint8_t)(0x14u); /* 0x2B06C1A1: mov byte ptr [ebp - 4], 0x14 */ 14282 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C1DB; /* 0x2B06C1A5: je 0x2b06c1db */ 14283 L_2B06C1A7: 14284 eax = MEM32(ebp + 0x8); /* 0x2B06C1A7: mov eax, dword ptr [ebp + 8] */ 14285 ecx = ebp + (-0x20); /* 0x2B06C1AA: lea ecx, [ebp - 0x20] */ 14286 PUSH32(esp, ecx); /* 0x2B06C1AD: push ecx */ 14287 edx = ebp + (-0x18); /* 0x2B06C1AE: lea edx, [ebp - 0x18] */ 14288 PUSH32(esp, edx); /* 0x2B06C1B1: push edx */ 14289 PUSH32(esp, esi); /* 0x2B06C1B2: push esi */ 14290 PUSH32(esp, 0x6D60u); /* 0x2B06C1B3: push 0x6d60 */ 14291 PUSH32(esp, eax); /* 0x2B06C1B8: push eax */ 14292 ecx = ebp + (-0x14); /* 0x2B06C1B9: lea ecx, [ebp - 0x14] */ 14293 PUSH32(esp, ecx); /* 0x2B06C1BC: push ecx */ 14294 ecx = edi; /* 0x2B06C1BD: mov ecx, edi */ 14295 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C1BF: mov dword ptr [ebp - 0x20], 0x3f800000 */ 14296 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C1C6: mov dword ptr [ebp - 0x18], 0x3f800000 */ 14297 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C1CD: call dword ptr [0x2b0b5654] */ 14298 RECOMP_FLAGS_IN(); 14299 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C1D3: mov dword ptr [edi], 0x2b0b618c */ 14300 goto L_2B06C1DD; /* 0x2B06C1D9: jmp 0x2b06c1dd */ 14301 L_2B06C1DB: 14302 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14303 edi = 0; /* 0x2B06C1DB: xor edi, edi */ 14304 _cf = 0; 14305 _flag_k = FK_TEST; 14306 L_2B06C1DD: 14307 PUSH32(esp, 2); /* 0x2B06C1DD: push 2 */ 14308 PUSH32(esp, 4); /* 0x2B06C1DF: push 4 */ 14309 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C1E1: mov byte ptr [ebp - 4], 1 */ 14310 MEM32(ebx + 0xBC) = edi; /* 0x2B06C1E5: mov dword ptr [ebx + 0xbc], edi */ 14311 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C1EB: call dword ptr [0x2b0b5f80] */ 14312 RECOMP_FLAGS_IN(); 14313 ecx = eax; /* 0x2B06C1F1: mov ecx, eax */ 14314 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C1F3: call dword ptr [0x2b0b5fbc] */ 14315 RECOMP_FLAGS_IN(); 14316 PUSH32(esp, 0xD8u); /* 0x2B06C1F9: push 0xd8 */ 14317 MEM32(ebp + 0x8) = eax; /* 0x2B06C1FE: mov dword ptr [ebp + 8], eax */ 14318 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C201: call 0x2b0ab212 */ /* not lifted */ 14319 RECOMP_FLAGS_IN(); 14320 edi = eax; /* 0x2B06C206: mov edi, eax */ 14321 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14322 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14323 esp = esp + 4; /* 0x2B06C208: add esp, 4 */ 14324 _flag_k = FK_ADD; 14325 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C20B: mov dword ptr [ebp - 0x28], edi */ 14326 /* cmp edi, esi */ /* 0x2B06C20E: cmp edi, esi */ 14327 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 14328 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14329 _flag_k = FK_CMP; 14330 MEM8(ebp + (-0x4)) = (uint8_t)(0x15u); /* 0x2B06C210: mov byte ptr [ebp - 4], 0x15 */ 14331 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C24A; /* 0x2B06C214: je 0x2b06c24a */ 14332 L_2B06C216: 14333 ecx = MEM32(ebp + 0x8); /* 0x2B06C216: mov ecx, dword ptr [ebp + 8] */ 14334 edx = ebp + (-0x20); /* 0x2B06C219: lea edx, [ebp - 0x20] */ 14335 PUSH32(esp, edx); /* 0x2B06C21C: push edx */ 14336 eax = ebp + (-0x18); /* 0x2B06C21D: lea eax, [ebp - 0x18] */ 14337 PUSH32(esp, eax); /* 0x2B06C220: push eax */ 14338 PUSH32(esp, esi); /* 0x2B06C221: push esi */ 14339 PUSH32(esp, 0x6D60u); /* 0x2B06C222: push 0x6d60 */ 14340 PUSH32(esp, ecx); /* 0x2B06C227: push ecx */ 14341 edx = ebp + (-0x14); /* 0x2B06C228: lea edx, [ebp - 0x14] */ 14342 PUSH32(esp, edx); /* 0x2B06C22B: push edx */ 14343 ecx = edi; /* 0x2B06C22C: mov ecx, edi */ 14344 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C22E: mov dword ptr [ebp - 0x20], 0x3f800000 */ 14345 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C235: mov dword ptr [ebp - 0x18], 0x3f800000 */ 14346 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C23C: call dword ptr [0x2b0b5654] */ 14347 RECOMP_FLAGS_IN(); 14348 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C242: mov dword ptr [edi], 0x2b0b618c */ 14349 goto L_2B06C24C; /* 0x2B06C248: jmp 0x2b06c24c */ 14350 L_2B06C24A: 14351 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14352 edi = 0; /* 0x2B06C24A: xor edi, edi */ 14353 _cf = 0; 14354 _flag_k = FK_TEST; 14355 L_2B06C24C: 14356 eax = MEM32(ebx + 0x78); /* 0x2B06C24C: mov eax, dword ptr [ebx + 0x78] */ 14357 ecx = eax + (-0x16); /* 0x2B06C24F: lea ecx, [eax - 0x16] */ 14358 MEM32(ebx + 0xC0) = edi; /* 0x2B06C252: mov dword ptr [ebx + 0xc0], edi */ 14359 MEM32(ebp + (-0xC0)) = ecx; /* 0x2B06C258: mov dword ptr [ebp - 0xc0], ecx */ 14360 MEM32(ebp + (-0xAC)) = eax; /* 0x2B06C25E: mov dword ptr [ebp - 0xac], eax */ 14361 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14362 eax = 0; /* 0x2B06C264: xor eax, eax */ 14363 _cf = 0; 14364 _flag_k = FK_TEST; 14365 MEM32(ebp + (-0xE0)) = esi; /* 0x2B06C266: mov dword ptr [ebp - 0xe0], esi */ 14366 MEM32(ebp + (-0xDC)) = esi; /* 0x2B06C26C: mov dword ptr [ebp - 0xdc], esi */ 14367 MEM32(ebp + (-0xD8)) = esi; /* 0x2B06C272: mov dword ptr [ebp - 0xd8], esi */ 14368 MEM32(ebp + (-0xD4)) = 0x6D65u; /* 0x2B06C278: mov dword ptr [ebp - 0xd4], 0x6d65 */ 14369 MEM32(ebp + (-0xD0)) = esi; /* 0x2B06C282: mov dword ptr [ebp - 0xd0], esi */ 14370 MEM32(ebp + (-0xCC)) = esi; /* 0x2B06C288: mov dword ptr [ebp - 0xcc], esi */ 14371 MEM32(ebp + (-0xC8)) = esi; /* 0x2B06C28E: mov dword ptr [ebp - 0xc8], esi */ 14372 MEM32(ebp + (-0xC4)) = esi; /* 0x2B06C294: mov dword ptr [ebp - 0xc4], esi */ 14373 MEM32(ebp + (-0xBC)) = esi; /* 0x2B06C29A: mov dword ptr [ebp - 0xbc], esi */ 14374 MEM32(ebp + (-0xB8)) = esi; /* 0x2B06C2A0: mov dword ptr [ebp - 0xb8], esi */ 14375 MEM32(ebp + (-0xB4)) = esi; /* 0x2B06C2A6: mov dword ptr [ebp - 0xb4], esi */ 14376 MEM32(ebp + (-0xB0)) = 1; /* 0x2B06C2AC: mov dword ptr [ebp - 0xb0], 1 */ 14377 ecx = 6; /* 0x2B06C2B6: mov ecx, 6 */ 14378 edi = ebp + (-0xA8); /* 0x2B06C2BB: lea edi, [ebp - 0xa8] */ 14379 PUSH32(esp, 0xC8u); /* 0x2B06C2C1: push 0xc8 */ 14380 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C2C6: mov byte ptr [ebp - 4], 1 */ 14381 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06C2CA: 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; } 14382 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C2CC: call 0x2b0ab212 */ /* not lifted */ 14383 RECOMP_FLAGS_IN(); 14384 edi = eax; /* 0x2B06C2D1: mov edi, eax */ 14385 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14386 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14387 esp = esp + 4; /* 0x2B06C2D3: add esp, 4 */ 14388 _flag_k = FK_ADD; 14389 MEM32(ebp + 0x8) = edi; /* 0x2B06C2D6: mov dword ptr [ebp + 8], edi */ 14390 /* cmp edi, esi */ /* 0x2B06C2D9: cmp edi, esi */ 14391 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 14392 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14393 _flag_k = FK_CMP; 14394 MEM8(ebp + (-0x4)) = (uint8_t)(0x16u); /* 0x2B06C2DB: mov byte ptr [ebp - 4], 0x16 */ 14395 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C2FA; /* 0x2B06C2DF: je 0x2b06c2fa */ 14396 L_2B06C2E1: 14397 edx = ebp + (-0xE0); /* 0x2B06C2E1: lea edx, [ebp - 0xe0] */ 14398 PUSH32(esp, edx); /* 0x2B06C2E7: push edx */ 14399 ecx = edi; /* 0x2B06C2E8: mov ecx, edi */ 14400 RECOMP_ICALL(MEM32(0x2B0B5748)); /* 0x2B06C2EA: call dword ptr [0x2b0b5748] */ 14401 RECOMP_FLAGS_IN(); 14402 MEM32(edi) = 0x2B0B7110u; /* 0x2B06C2F0: mov dword ptr [edi], 0x2b0b7110 */ 14403 ecx = edi; /* 0x2B06C2F6: mov ecx, edi */ 14404 goto L_2B06C2FC; /* 0x2B06C2F8: jmp 0x2b06c2fc */ 14405 L_2B06C2FA: 14406 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14407 ecx = 0; /* 0x2B06C2FA: xor ecx, ecx */ 14408 _cf = 0; 14409 _flag_k = FK_TEST; 14410 L_2B06C2FC: 14411 PUSH32(esp, ebx); /* 0x2B06C2FC: push ebx */ 14412 PUSH32(esp, 0x2B06D3C0u); /* 0x2B06C2FD: push 0x2b06d3c0 */ 14413 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C302: mov byte ptr [ebp - 4], 1 */ 14414 MEM32(ebx + 0xD8) = ecx; /* 0x2B06C306: mov dword ptr [ebx + 0xd8], ecx */ 14415 RECOMP_ICALL(MEM32(0x2B0B5744)); /* 0x2B06C30C: call dword ptr [0x2b0b5744] */ 14416 RECOMP_FLAGS_IN(); 14417 ecx = MEM32(ebx + 0xD8); /* 0x2B06C312: mov ecx, dword ptr [ebx + 0xd8] */ 14418 PUSH32(esp, 0x64u); /* 0x2B06C318: push 0x64 */ 14419 RECOMP_ICALL(MEM32(0x2B0B5778)); /* 0x2B06C31A: call dword ptr [0x2b0b5778] */ 14420 RECOMP_FLAGS_IN(); 14421 eax = MEM32(ebx + 0x9C); /* 0x2B06C320: mov eax, dword ptr [ebx + 0x9c] */ 14422 ecx = MEM32(eax + 0x34); /* 0x2B06C326: mov ecx, dword ptr [eax + 0x34] */ 14423 RECOMP_ICALL(MEM32(0x2B0B56F8)); /* 0x2B06C329: call dword ptr [0x2b0b56f8] */ 14424 RECOMP_FLAGS_IN(); 14425 ecx = MEM32(ebx + 0xD8); /* 0x2B06C32F: mov ecx, dword ptr [ebx + 0xd8] */ 14426 MEM32(ebx + 0x48) = eax; /* 0x2B06C335: mov dword ptr [ebx + 0x48], eax */ 14427 PUSH32(esp, 0x64u); /* 0x2B06C338: push 0x64 */ 14428 MEM32(ecx + 0x98) = eax; /* 0x2B06C33A: mov dword ptr [ecx + 0x98], eax */ 14429 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C340: call 0x2b0ab212 */ /* not lifted */ 14430 RECOMP_FLAGS_IN(); 14431 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14432 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14433 esp = esp + 4; /* 0x2B06C345: add esp, 4 */ 14434 _flag_k = FK_ADD; 14435 MEM32(ebp + 0x8) = eax; /* 0x2B06C348: mov dword ptr [ebp + 8], eax */ 14436 /* cmp eax, esi */ /* 0x2B06C34B: cmp eax, esi */ 14437 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 14438 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14439 _flag_k = FK_CMP; 14440 MEM8(ebp + (-0x4)) = (uint8_t)(0x17u); /* 0x2B06C34D: mov byte ptr [ebp - 4], 0x17 */ 14441 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C384; /* 0x2B06C351: je 0x2b06c384 */ 14442 L_2B06C353: 14443 ecx = MEM32(ebx + 0x98); /* 0x2B06C353: mov ecx, dword ptr [ebx + 0x98] */ 14444 PUSH32(esp, ecx); /* 0x2B06C359: push ecx */ 14445 PUSH32(esp, esi); /* 0x2B06C35A: push esi */ 14446 PUSH32(esp, 0x30u); /* 0x2B06C35B: push 0x30 */ 14447 PUSH32(esp, esi); /* 0x2B06C35D: push esi */ 14448 PUSH32(esp, 0x6D63u); /* 0x2B06C35E: push 0x6d63 */ 14449 PUSH32(esp, 0x9Eu); /* 0x2B06C363: push 0x9e */ 14450 PUSH32(esp, esi); /* 0x2B06C368: push esi */ 14451 PUSH32(esp, 0x9Fu); /* 0x2B06C369: push 0x9f */ 14452 PUSH32(esp, 0x36u); /* 0x2B06C36E: push 0x36 */ 14453 PUSH32(esp, 0x36u); /* 0x2B06C370: push 0x36 */ 14454 PUSH32(esp, 3); /* 0x2B06C372: push 3 */ 14455 PUSH32(esp, 3); /* 0x2B06C374: push 3 */ 14456 edx = ebp + (-0x14); /* 0x2B06C376: lea edx, [ebp - 0x14] */ 14457 PUSH32(esp, edx); /* 0x2B06C379: push edx */ 14458 ecx = eax; /* 0x2B06C37A: mov ecx, eax */ 14459 RECOMP_ICALL(MEM32(0x2B0B58F8)); /* 0x2B06C37C: call dword ptr [0x2b0b58f8] */ 14460 RECOMP_FLAGS_IN(); 14461 goto L_2B06C386; /* 0x2B06C382: jmp 0x2b06c386 */ 14462 L_2B06C384: 14463 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14464 eax = 0; /* 0x2B06C384: xor eax, eax */ 14465 _cf = 0; 14466 _flag_k = FK_TEST; 14467 L_2B06C386: 14468 MEM32(ebx + 0xDC) = eax; /* 0x2B06C386: mov dword ptr [ebx + 0xdc], eax */ 14469 MEM32(eax + 0x5C) = 0x2B06D400u; /* 0x2B06C38C: mov dword ptr [eax + 0x5c], 0x2b06d400 */ 14470 MEM32(eax + 0x60) = ebx; /* 0x2B06C393: mov dword ptr [eax + 0x60], ebx */ 14471 eax = ebx + 0x5C; /* 0x2B06C396: lea eax, [ebx + 0x5c] */ 14472 PUSH32(esp, eax); /* 0x2B06C399: push eax */ 14473 ecx = ebx; /* 0x2B06C39A: mov ecx, ebx */ 14474 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C39C: mov byte ptr [ebp - 4], 1 */ 14475 RECOMP_ICALL(0x2B06CC00u); /* 0x2B06C3A0: call 0x2b06cc00 */ /* not lifted */ 14476 RECOMP_FLAGS_IN(); 14477 ecx = ebx; /* 0x2B06C3A5: mov ecx, ebx */ 14478 RECOMP_ICALL(0x2B06CBD0u); /* 0x2B06C3A7: call 0x2b06cbd0 */ /* not lifted */ 14479 RECOMP_FLAGS_IN(); 14480 eax = MEM32(0x2B0B6048); /* 0x2B06C3AC: mov eax, dword ptr [0x2b0b6048] */ 14481 ecx = MEM32(eax); /* 0x2B06C3B1: mov ecx, dword ptr [eax] */ 14482 PUSH32(esp, 1); /* 0x2B06C3B3: push 1 */ 14483 PUSH32(esp, 0x2B0EB490u); /* 0x2B06C3B5: push 0x2b0eb490 */ 14484 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B06C3BA: call dword ptr [0x2b0b602c] */ 14485 RECOMP_FLAGS_IN(); 14486 /* test eax, eax */ /* 0x2B06C3C0: test eax, eax */ 14487 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14488 _cf = 0; 14489 _flag_k = FK_TEST; 14490 SET_LO8(eax, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B06C3C2: setne al */ 14491 /* test LO8(eax), LO8(eax) */ /* 0x2B06C3C5: test al, al */ 14492 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 14493 _cf = 0; 14494 _flag_k = FK_NARROW(FK_TEST, 24); 14495 MEM8(ebx + 0x58) = (uint8_t)(LO8(eax)); /* 0x2B06C3C7: mov byte ptr [ebx + 0x58], al */ 14496 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06C3DA; /* 0x2B06C3CA: jne 0x2b06c3da */ 14497 L_2B06C3CC: 14498 ecx = MEM32(ebx + 0xCC); /* 0x2B06C3CC: mov ecx, dword ptr [ebx + 0xcc] */ 14499 PUSH32(esp, 2); /* 0x2B06C3D2: push 2 */ 14500 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06C3D4: call dword ptr [0x2b0b5ab4] */ 14501 RECOMP_FLAGS_IN(); 14502 L_2B06C3DA: 14503 ecx = MEM32(ebp + (-0xC)); /* 0x2B06C3DA: mov ecx, dword ptr [ebp - 0xc] */ 14504 edi = POP32_VAL(esp); /* 0x2B06C3DD: pop edi */ 14505 esi = POP32_VAL(esp); /* 0x2B06C3DE: pop esi */ 14506 eax = ebx; /* 0x2B06C3DF: mov eax, ebx */ 14507 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06C3E1: mov dword ptr fs:[0], ecx */ 14508 ebx = POP32_VAL(esp); /* 0x2B06C3E8: pop ebx */ 14509 esp = ebp; /* 0x2B06C3E9: mov esp, ebp */ 14510 ebp = POP32_VAL(esp); /* 0x2B06C3EB: pop ebp */ 14511 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06C3EC: ret 4 */ 14512 RECOMP_REGS_OUT(); 14513 } 14514 14515 void sub_2B06C090(void) { 14516 int _fpu_cmp = 0; 14517 uint32_t _cf = 0; 14518 int _df = 1; 14519 uint32_t _flag_k = FK_NONE; 14520 uint32_t _flag_a = 0, _flag_b = 0; 14521 uint32_t _itail_tgt = 0; 14522 RECOMP_REGS_LOCALS 14523 RECOMP_ENTER(0x2B06C090u); 14524 14525 L_2B06C090: 14526 PUSH32(esp, 2); /* 0x2B06C090: push 2 */ 14527 PUSH32(esp, 6); /* 0x2B06C092: push 6 */ 14528 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C094: mov byte ptr [ebp - 4], 1 */ 14529 MEM32(ebx + 0xB0) = edi; /* 0x2B06C098: mov dword ptr [ebx + 0xb0], edi */ 14530 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C09E: call dword ptr [0x2b0b5f80] */ 14531 RECOMP_FLAGS_IN(); 14532 ecx = eax; /* 0x2B06C0A4: mov ecx, eax */ 14533 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C0A6: call dword ptr [0x2b0b5fbc] */ 14534 RECOMP_FLAGS_IN(); 14535 PUSH32(esp, 0xD8u); /* 0x2B06C0AC: push 0xd8 */ 14536 MEM32(ebp + 0x8) = eax; /* 0x2B06C0B1: mov dword ptr [ebp + 8], eax */ 14537 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C0B4: call 0x2b0ab212 */ /* not lifted */ 14538 RECOMP_FLAGS_IN(); 14539 edi = eax; /* 0x2B06C0B9: mov edi, eax */ 14540 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14541 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14542 esp = esp + 4; /* 0x2B06C0BB: add esp, 4 */ 14543 _flag_k = FK_ADD; 14544 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C0BE: mov dword ptr [ebp - 0x28], edi */ 14545 /* cmp edi, esi */ /* 0x2B06C0C1: cmp edi, esi */ 14546 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 14547 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14548 _flag_k = FK_CMP; 14549 MEM8(ebp + (-0x4)) = (uint8_t)(0x12u); /* 0x2B06C0C3: mov byte ptr [ebp - 4], 0x12 */ 14550 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C0FD; /* 0x2B06C0C7: je 0x2b06c0fd */ 14551 L_2B06C0C9: 14552 ecx = MEM32(ebp + 0x8); /* 0x2B06C0C9: mov ecx, dword ptr [ebp + 8] */ 14553 edx = ebp + (-0x20); /* 0x2B06C0CC: lea edx, [ebp - 0x20] */ 14554 PUSH32(esp, edx); /* 0x2B06C0CF: push edx */ 14555 eax = ebp + (-0x18); /* 0x2B06C0D0: lea eax, [ebp - 0x18] */ 14556 PUSH32(esp, eax); /* 0x2B06C0D3: push eax */ 14557 PUSH32(esp, esi); /* 0x2B06C0D4: push esi */ 14558 PUSH32(esp, 0x6D60u); /* 0x2B06C0D5: push 0x6d60 */ 14559 PUSH32(esp, ecx); /* 0x2B06C0DA: push ecx */ 14560 edx = ebp + (-0x14); /* 0x2B06C0DB: lea edx, [ebp - 0x14] */ 14561 PUSH32(esp, edx); /* 0x2B06C0DE: push edx */ 14562 ecx = edi; /* 0x2B06C0DF: mov ecx, edi */ 14563 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C0E1: mov dword ptr [ebp - 0x20], 0x3f800000 */ 14564 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C0E8: mov dword ptr [ebp - 0x18], 0x3f800000 */ 14565 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C0EF: call dword ptr [0x2b0b5654] */ 14566 RECOMP_FLAGS_IN(); 14567 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C0F5: mov dword ptr [edi], 0x2b0b618c */ 14568 goto L_2B06C0FF; /* 0x2B06C0FB: jmp 0x2b06c0ff */ 14569 L_2B06C0FD: 14570 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14571 edi = 0; /* 0x2B06C0FD: xor edi, edi */ 14572 _cf = 0; 14573 _flag_k = FK_TEST; 14574 L_2B06C0FF: 14575 PUSH32(esp, 2); /* 0x2B06C0FF: push 2 */ 14576 PUSH32(esp, 5); /* 0x2B06C101: push 5 */ 14577 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C103: mov byte ptr [ebp - 4], 1 */ 14578 MEM32(ebx + 0xB4) = edi; /* 0x2B06C107: mov dword ptr [ebx + 0xb4], edi */ 14579 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C10D: call dword ptr [0x2b0b5f80] */ 14580 RECOMP_FLAGS_IN(); 14581 ecx = eax; /* 0x2B06C113: mov ecx, eax */ 14582 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C115: call dword ptr [0x2b0b5fbc] */ 14583 RECOMP_FLAGS_IN(); 14584 PUSH32(esp, 0xD8u); /* 0x2B06C11B: push 0xd8 */ 14585 MEM32(ebp + 0x8) = eax; /* 0x2B06C120: mov dword ptr [ebp + 8], eax */ 14586 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C123: call 0x2b0ab212 */ /* not lifted */ 14587 RECOMP_FLAGS_IN(); 14588 edi = eax; /* 0x2B06C128: mov edi, eax */ 14589 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14590 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14591 esp = esp + 4; /* 0x2B06C12A: add esp, 4 */ 14592 _flag_k = FK_ADD; 14593 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C12D: mov dword ptr [ebp - 0x28], edi */ 14594 /* cmp edi, esi */ /* 0x2B06C130: cmp edi, esi */ 14595 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 14596 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14597 _flag_k = FK_CMP; 14598 MEM8(ebp + (-0x4)) = (uint8_t)(0x13u); /* 0x2B06C132: mov byte ptr [ebp - 4], 0x13 */ 14599 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C16C; /* 0x2B06C136: je 0x2b06c16c */ 14600 L_2B06C138: 14601 edx = MEM32(ebp + 0x8); /* 0x2B06C138: mov edx, dword ptr [ebp + 8] */ 14602 eax = ebp + (-0x20); /* 0x2B06C13B: lea eax, [ebp - 0x20] */ 14603 PUSH32(esp, eax); /* 0x2B06C13E: push eax */ 14604 ecx = ebp + (-0x18); /* 0x2B06C13F: lea ecx, [ebp - 0x18] */ 14605 PUSH32(esp, ecx); /* 0x2B06C142: push ecx */ 14606 PUSH32(esp, esi); /* 0x2B06C143: push esi */ 14607 PUSH32(esp, 0x6D60u); /* 0x2B06C144: push 0x6d60 */ 14608 PUSH32(esp, edx); /* 0x2B06C149: push edx */ 14609 eax = ebp + (-0x14); /* 0x2B06C14A: lea eax, [ebp - 0x14] */ 14610 PUSH32(esp, eax); /* 0x2B06C14D: push eax */ 14611 ecx = edi; /* 0x2B06C14E: mov ecx, edi */ 14612 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C150: mov dword ptr [ebp - 0x20], 0x3f800000 */ 14613 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C157: mov dword ptr [ebp - 0x18], 0x3f800000 */ 14614 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C15E: call dword ptr [0x2b0b5654] */ 14615 RECOMP_FLAGS_IN(); 14616 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C164: mov dword ptr [edi], 0x2b0b618c */ 14617 goto L_2B06C16E; /* 0x2B06C16A: jmp 0x2b06c16e */ 14618 L_2B06C16C: 14619 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14620 edi = 0; /* 0x2B06C16C: xor edi, edi */ 14621 _cf = 0; 14622 _flag_k = FK_TEST; 14623 L_2B06C16E: 14624 PUSH32(esp, 2); /* 0x2B06C16E: push 2 */ 14625 PUSH32(esp, 3); /* 0x2B06C170: push 3 */ 14626 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C172: mov byte ptr [ebp - 4], 1 */ 14627 MEM32(ebx + 0xB8) = edi; /* 0x2B06C176: mov dword ptr [ebx + 0xb8], edi */ 14628 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C17C: call dword ptr [0x2b0b5f80] */ 14629 RECOMP_FLAGS_IN(); 14630 ecx = eax; /* 0x2B06C182: mov ecx, eax */ 14631 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C184: call dword ptr [0x2b0b5fbc] */ 14632 RECOMP_FLAGS_IN(); 14633 PUSH32(esp, 0xD8u); /* 0x2B06C18A: push 0xd8 */ 14634 MEM32(ebp + 0x8) = eax; /* 0x2B06C18F: mov dword ptr [ebp + 8], eax */ 14635 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C192: call 0x2b0ab212 */ /* not lifted */ 14636 RECOMP_FLAGS_IN(); 14637 edi = eax; /* 0x2B06C197: mov edi, eax */ 14638 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14639 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14640 esp = esp + 4; /* 0x2B06C199: add esp, 4 */ 14641 _flag_k = FK_ADD; 14642 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C19C: mov dword ptr [ebp - 0x28], edi */ 14643 /* cmp edi, esi */ /* 0x2B06C19F: cmp edi, esi */ 14644 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 14645 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14646 _flag_k = FK_CMP; 14647 MEM8(ebp + (-0x4)) = (uint8_t)(0x14u); /* 0x2B06C1A1: mov byte ptr [ebp - 4], 0x14 */ 14648 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C1DB; /* 0x2B06C1A5: je 0x2b06c1db */ 14649 L_2B06C1A7: 14650 eax = MEM32(ebp + 0x8); /* 0x2B06C1A7: mov eax, dword ptr [ebp + 8] */ 14651 ecx = ebp + (-0x20); /* 0x2B06C1AA: lea ecx, [ebp - 0x20] */ 14652 PUSH32(esp, ecx); /* 0x2B06C1AD: push ecx */ 14653 edx = ebp + (-0x18); /* 0x2B06C1AE: lea edx, [ebp - 0x18] */ 14654 PUSH32(esp, edx); /* 0x2B06C1B1: push edx */ 14655 PUSH32(esp, esi); /* 0x2B06C1B2: push esi */ 14656 PUSH32(esp, 0x6D60u); /* 0x2B06C1B3: push 0x6d60 */ 14657 PUSH32(esp, eax); /* 0x2B06C1B8: push eax */ 14658 ecx = ebp + (-0x14); /* 0x2B06C1B9: lea ecx, [ebp - 0x14] */ 14659 PUSH32(esp, ecx); /* 0x2B06C1BC: push ecx */ 14660 ecx = edi; /* 0x2B06C1BD: mov ecx, edi */ 14661 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C1BF: mov dword ptr [ebp - 0x20], 0x3f800000 */ 14662 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C1C6: mov dword ptr [ebp - 0x18], 0x3f800000 */ 14663 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C1CD: call dword ptr [0x2b0b5654] */ 14664 RECOMP_FLAGS_IN(); 14665 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C1D3: mov dword ptr [edi], 0x2b0b618c */ 14666 goto L_2B06C1DD; /* 0x2B06C1D9: jmp 0x2b06c1dd */ 14667 L_2B06C1DB: 14668 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14669 edi = 0; /* 0x2B06C1DB: xor edi, edi */ 14670 _cf = 0; 14671 _flag_k = FK_TEST; 14672 L_2B06C1DD: 14673 PUSH32(esp, 2); /* 0x2B06C1DD: push 2 */ 14674 PUSH32(esp, 4); /* 0x2B06C1DF: push 4 */ 14675 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C1E1: mov byte ptr [ebp - 4], 1 */ 14676 MEM32(ebx + 0xBC) = edi; /* 0x2B06C1E5: mov dword ptr [ebx + 0xbc], edi */ 14677 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C1EB: call dword ptr [0x2b0b5f80] */ 14678 RECOMP_FLAGS_IN(); 14679 ecx = eax; /* 0x2B06C1F1: mov ecx, eax */ 14680 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C1F3: call dword ptr [0x2b0b5fbc] */ 14681 RECOMP_FLAGS_IN(); 14682 PUSH32(esp, 0xD8u); /* 0x2B06C1F9: push 0xd8 */ 14683 MEM32(ebp + 0x8) = eax; /* 0x2B06C1FE: mov dword ptr [ebp + 8], eax */ 14684 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C201: call 0x2b0ab212 */ /* not lifted */ 14685 RECOMP_FLAGS_IN(); 14686 edi = eax; /* 0x2B06C206: mov edi, eax */ 14687 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14688 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14689 esp = esp + 4; /* 0x2B06C208: add esp, 4 */ 14690 _flag_k = FK_ADD; 14691 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C20B: mov dword ptr [ebp - 0x28], edi */ 14692 /* cmp edi, esi */ /* 0x2B06C20E: cmp edi, esi */ 14693 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 14694 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14695 _flag_k = FK_CMP; 14696 MEM8(ebp + (-0x4)) = (uint8_t)(0x15u); /* 0x2B06C210: mov byte ptr [ebp - 4], 0x15 */ 14697 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C24A; /* 0x2B06C214: je 0x2b06c24a */ 14698 L_2B06C216: 14699 ecx = MEM32(ebp + 0x8); /* 0x2B06C216: mov ecx, dword ptr [ebp + 8] */ 14700 edx = ebp + (-0x20); /* 0x2B06C219: lea edx, [ebp - 0x20] */ 14701 PUSH32(esp, edx); /* 0x2B06C21C: push edx */ 14702 eax = ebp + (-0x18); /* 0x2B06C21D: lea eax, [ebp - 0x18] */ 14703 PUSH32(esp, eax); /* 0x2B06C220: push eax */ 14704 PUSH32(esp, esi); /* 0x2B06C221: push esi */ 14705 PUSH32(esp, 0x6D60u); /* 0x2B06C222: push 0x6d60 */ 14706 PUSH32(esp, ecx); /* 0x2B06C227: push ecx */ 14707 edx = ebp + (-0x14); /* 0x2B06C228: lea edx, [ebp - 0x14] */ 14708 PUSH32(esp, edx); /* 0x2B06C22B: push edx */ 14709 ecx = edi; /* 0x2B06C22C: mov ecx, edi */ 14710 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C22E: mov dword ptr [ebp - 0x20], 0x3f800000 */ 14711 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C235: mov dword ptr [ebp - 0x18], 0x3f800000 */ 14712 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C23C: call dword ptr [0x2b0b5654] */ 14713 RECOMP_FLAGS_IN(); 14714 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C242: mov dword ptr [edi], 0x2b0b618c */ 14715 goto L_2B06C24C; /* 0x2B06C248: jmp 0x2b06c24c */ 14716 L_2B06C24A: 14717 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14718 edi = 0; /* 0x2B06C24A: xor edi, edi */ 14719 _cf = 0; 14720 _flag_k = FK_TEST; 14721 L_2B06C24C: 14722 eax = MEM32(ebx + 0x78); /* 0x2B06C24C: mov eax, dword ptr [ebx + 0x78] */ 14723 ecx = eax + (-0x16); /* 0x2B06C24F: lea ecx, [eax - 0x16] */ 14724 MEM32(ebx + 0xC0) = edi; /* 0x2B06C252: mov dword ptr [ebx + 0xc0], edi */ 14725 MEM32(ebp + (-0xC0)) = ecx; /* 0x2B06C258: mov dword ptr [ebp - 0xc0], ecx */ 14726 MEM32(ebp + (-0xAC)) = eax; /* 0x2B06C25E: mov dword ptr [ebp - 0xac], eax */ 14727 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14728 eax = 0; /* 0x2B06C264: xor eax, eax */ 14729 _cf = 0; 14730 _flag_k = FK_TEST; 14731 MEM32(ebp + (-0xE0)) = esi; /* 0x2B06C266: mov dword ptr [ebp - 0xe0], esi */ 14732 MEM32(ebp + (-0xDC)) = esi; /* 0x2B06C26C: mov dword ptr [ebp - 0xdc], esi */ 14733 MEM32(ebp + (-0xD8)) = esi; /* 0x2B06C272: mov dword ptr [ebp - 0xd8], esi */ 14734 MEM32(ebp + (-0xD4)) = 0x6D65u; /* 0x2B06C278: mov dword ptr [ebp - 0xd4], 0x6d65 */ 14735 MEM32(ebp + (-0xD0)) = esi; /* 0x2B06C282: mov dword ptr [ebp - 0xd0], esi */ 14736 MEM32(ebp + (-0xCC)) = esi; /* 0x2B06C288: mov dword ptr [ebp - 0xcc], esi */ 14737 MEM32(ebp + (-0xC8)) = esi; /* 0x2B06C28E: mov dword ptr [ebp - 0xc8], esi */ 14738 MEM32(ebp + (-0xC4)) = esi; /* 0x2B06C294: mov dword ptr [ebp - 0xc4], esi */ 14739 MEM32(ebp + (-0xBC)) = esi; /* 0x2B06C29A: mov dword ptr [ebp - 0xbc], esi */ 14740 MEM32(ebp + (-0xB8)) = esi; /* 0x2B06C2A0: mov dword ptr [ebp - 0xb8], esi */ 14741 MEM32(ebp + (-0xB4)) = esi; /* 0x2B06C2A6: mov dword ptr [ebp - 0xb4], esi */ 14742 MEM32(ebp + (-0xB0)) = 1; /* 0x2B06C2AC: mov dword ptr [ebp - 0xb0], 1 */ 14743 ecx = 6; /* 0x2B06C2B6: mov ecx, 6 */ 14744 edi = ebp + (-0xA8); /* 0x2B06C2BB: lea edi, [ebp - 0xa8] */ 14745 PUSH32(esp, 0xC8u); /* 0x2B06C2C1: push 0xc8 */ 14746 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C2C6: mov byte ptr [ebp - 4], 1 */ 14747 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06C2CA: 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; } 14748 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C2CC: call 0x2b0ab212 */ /* not lifted */ 14749 RECOMP_FLAGS_IN(); 14750 edi = eax; /* 0x2B06C2D1: mov edi, eax */ 14751 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14752 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14753 esp = esp + 4; /* 0x2B06C2D3: add esp, 4 */ 14754 _flag_k = FK_ADD; 14755 MEM32(ebp + 0x8) = edi; /* 0x2B06C2D6: mov dword ptr [ebp + 8], edi */ 14756 /* cmp edi, esi */ /* 0x2B06C2D9: cmp edi, esi */ 14757 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 14758 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14759 _flag_k = FK_CMP; 14760 MEM8(ebp + (-0x4)) = (uint8_t)(0x16u); /* 0x2B06C2DB: mov byte ptr [ebp - 4], 0x16 */ 14761 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C2FA; /* 0x2B06C2DF: je 0x2b06c2fa */ 14762 L_2B06C2E1: 14763 edx = ebp + (-0xE0); /* 0x2B06C2E1: lea edx, [ebp - 0xe0] */ 14764 PUSH32(esp, edx); /* 0x2B06C2E7: push edx */ 14765 ecx = edi; /* 0x2B06C2E8: mov ecx, edi */ 14766 RECOMP_ICALL(MEM32(0x2B0B5748)); /* 0x2B06C2EA: call dword ptr [0x2b0b5748] */ 14767 RECOMP_FLAGS_IN(); 14768 MEM32(edi) = 0x2B0B7110u; /* 0x2B06C2F0: mov dword ptr [edi], 0x2b0b7110 */ 14769 ecx = edi; /* 0x2B06C2F6: mov ecx, edi */ 14770 goto L_2B06C2FC; /* 0x2B06C2F8: jmp 0x2b06c2fc */ 14771 L_2B06C2FA: 14772 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14773 ecx = 0; /* 0x2B06C2FA: xor ecx, ecx */ 14774 _cf = 0; 14775 _flag_k = FK_TEST; 14776 L_2B06C2FC: 14777 PUSH32(esp, ebx); /* 0x2B06C2FC: push ebx */ 14778 PUSH32(esp, 0x2B06D3C0u); /* 0x2B06C2FD: push 0x2b06d3c0 */ 14779 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C302: mov byte ptr [ebp - 4], 1 */ 14780 MEM32(ebx + 0xD8) = ecx; /* 0x2B06C306: mov dword ptr [ebx + 0xd8], ecx */ 14781 RECOMP_ICALL(MEM32(0x2B0B5744)); /* 0x2B06C30C: call dword ptr [0x2b0b5744] */ 14782 RECOMP_FLAGS_IN(); 14783 ecx = MEM32(ebx + 0xD8); /* 0x2B06C312: mov ecx, dword ptr [ebx + 0xd8] */ 14784 PUSH32(esp, 0x64u); /* 0x2B06C318: push 0x64 */ 14785 RECOMP_ICALL(MEM32(0x2B0B5778)); /* 0x2B06C31A: call dword ptr [0x2b0b5778] */ 14786 RECOMP_FLAGS_IN(); 14787 eax = MEM32(ebx + 0x9C); /* 0x2B06C320: mov eax, dword ptr [ebx + 0x9c] */ 14788 ecx = MEM32(eax + 0x34); /* 0x2B06C326: mov ecx, dword ptr [eax + 0x34] */ 14789 RECOMP_ICALL(MEM32(0x2B0B56F8)); /* 0x2B06C329: call dword ptr [0x2b0b56f8] */ 14790 RECOMP_FLAGS_IN(); 14791 ecx = MEM32(ebx + 0xD8); /* 0x2B06C32F: mov ecx, dword ptr [ebx + 0xd8] */ 14792 MEM32(ebx + 0x48) = eax; /* 0x2B06C335: mov dword ptr [ebx + 0x48], eax */ 14793 PUSH32(esp, 0x64u); /* 0x2B06C338: push 0x64 */ 14794 MEM32(ecx + 0x98) = eax; /* 0x2B06C33A: mov dword ptr [ecx + 0x98], eax */ 14795 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C340: call 0x2b0ab212 */ /* not lifted */ 14796 RECOMP_FLAGS_IN(); 14797 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14798 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14799 esp = esp + 4; /* 0x2B06C345: add esp, 4 */ 14800 _flag_k = FK_ADD; 14801 MEM32(ebp + 0x8) = eax; /* 0x2B06C348: mov dword ptr [ebp + 8], eax */ 14802 /* cmp eax, esi */ /* 0x2B06C34B: cmp eax, esi */ 14803 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 14804 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14805 _flag_k = FK_CMP; 14806 MEM8(ebp + (-0x4)) = (uint8_t)(0x17u); /* 0x2B06C34D: mov byte ptr [ebp - 4], 0x17 */ 14807 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C384; /* 0x2B06C351: je 0x2b06c384 */ 14808 L_2B06C353: 14809 ecx = MEM32(ebx + 0x98); /* 0x2B06C353: mov ecx, dword ptr [ebx + 0x98] */ 14810 PUSH32(esp, ecx); /* 0x2B06C359: push ecx */ 14811 PUSH32(esp, esi); /* 0x2B06C35A: push esi */ 14812 PUSH32(esp, 0x30u); /* 0x2B06C35B: push 0x30 */ 14813 PUSH32(esp, esi); /* 0x2B06C35D: push esi */ 14814 PUSH32(esp, 0x6D63u); /* 0x2B06C35E: push 0x6d63 */ 14815 PUSH32(esp, 0x9Eu); /* 0x2B06C363: push 0x9e */ 14816 PUSH32(esp, esi); /* 0x2B06C368: push esi */ 14817 PUSH32(esp, 0x9Fu); /* 0x2B06C369: push 0x9f */ 14818 PUSH32(esp, 0x36u); /* 0x2B06C36E: push 0x36 */ 14819 PUSH32(esp, 0x36u); /* 0x2B06C370: push 0x36 */ 14820 PUSH32(esp, 3); /* 0x2B06C372: push 3 */ 14821 PUSH32(esp, 3); /* 0x2B06C374: push 3 */ 14822 edx = ebp + (-0x14); /* 0x2B06C376: lea edx, [ebp - 0x14] */ 14823 PUSH32(esp, edx); /* 0x2B06C379: push edx */ 14824 ecx = eax; /* 0x2B06C37A: mov ecx, eax */ 14825 RECOMP_ICALL(MEM32(0x2B0B58F8)); /* 0x2B06C37C: call dword ptr [0x2b0b58f8] */ 14826 RECOMP_FLAGS_IN(); 14827 goto L_2B06C386; /* 0x2B06C382: jmp 0x2b06c386 */ 14828 L_2B06C384: 14829 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14830 eax = 0; /* 0x2B06C384: xor eax, eax */ 14831 _cf = 0; 14832 _flag_k = FK_TEST; 14833 L_2B06C386: 14834 MEM32(ebx + 0xDC) = eax; /* 0x2B06C386: mov dword ptr [ebx + 0xdc], eax */ 14835 MEM32(eax + 0x5C) = 0x2B06D400u; /* 0x2B06C38C: mov dword ptr [eax + 0x5c], 0x2b06d400 */ 14836 MEM32(eax + 0x60) = ebx; /* 0x2B06C393: mov dword ptr [eax + 0x60], ebx */ 14837 eax = ebx + 0x5C; /* 0x2B06C396: lea eax, [ebx + 0x5c] */ 14838 PUSH32(esp, eax); /* 0x2B06C399: push eax */ 14839 ecx = ebx; /* 0x2B06C39A: mov ecx, ebx */ 14840 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C39C: mov byte ptr [ebp - 4], 1 */ 14841 RECOMP_ICALL(0x2B06CC00u); /* 0x2B06C3A0: call 0x2b06cc00 */ /* not lifted */ 14842 RECOMP_FLAGS_IN(); 14843 ecx = ebx; /* 0x2B06C3A5: mov ecx, ebx */ 14844 RECOMP_ICALL(0x2B06CBD0u); /* 0x2B06C3A7: call 0x2b06cbd0 */ /* not lifted */ 14845 RECOMP_FLAGS_IN(); 14846 eax = MEM32(0x2B0B6048); /* 0x2B06C3AC: mov eax, dword ptr [0x2b0b6048] */ 14847 ecx = MEM32(eax); /* 0x2B06C3B1: mov ecx, dword ptr [eax] */ 14848 PUSH32(esp, 1); /* 0x2B06C3B3: push 1 */ 14849 PUSH32(esp, 0x2B0EB490u); /* 0x2B06C3B5: push 0x2b0eb490 */ 14850 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B06C3BA: call dword ptr [0x2b0b602c] */ 14851 RECOMP_FLAGS_IN(); 14852 /* test eax, eax */ /* 0x2B06C3C0: test eax, eax */ 14853 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14854 _cf = 0; 14855 _flag_k = FK_TEST; 14856 SET_LO8(eax, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B06C3C2: setne al */ 14857 /* test LO8(eax), LO8(eax) */ /* 0x2B06C3C5: test al, al */ 14858 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 14859 _cf = 0; 14860 _flag_k = FK_NARROW(FK_TEST, 24); 14861 MEM8(ebx + 0x58) = (uint8_t)(LO8(eax)); /* 0x2B06C3C7: mov byte ptr [ebx + 0x58], al */ 14862 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06C3DA; /* 0x2B06C3CA: jne 0x2b06c3da */ 14863 L_2B06C3CC: 14864 ecx = MEM32(ebx + 0xCC); /* 0x2B06C3CC: mov ecx, dword ptr [ebx + 0xcc] */ 14865 PUSH32(esp, 2); /* 0x2B06C3D2: push 2 */ 14866 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06C3D4: call dword ptr [0x2b0b5ab4] */ 14867 RECOMP_FLAGS_IN(); 14868 L_2B06C3DA: 14869 ecx = MEM32(ebp + (-0xC)); /* 0x2B06C3DA: mov ecx, dword ptr [ebp - 0xc] */ 14870 edi = POP32_VAL(esp); /* 0x2B06C3DD: pop edi */ 14871 esi = POP32_VAL(esp); /* 0x2B06C3DE: pop esi */ 14872 eax = ebx; /* 0x2B06C3DF: mov eax, ebx */ 14873 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06C3E1: mov dword ptr fs:[0], ecx */ 14874 ebx = POP32_VAL(esp); /* 0x2B06C3E8: pop ebx */ 14875 esp = ebp; /* 0x2B06C3E9: mov esp, ebp */ 14876 ebp = POP32_VAL(esp); /* 0x2B06C3EB: pop ebp */ 14877 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06C3EC: ret 4 */ 14878 RECOMP_REGS_OUT(); 14879 } 14880 14881 void sub_2B06C0FF(void) { 14882 int _fpu_cmp = 0; 14883 uint32_t _cf = 0; 14884 int _df = 1; 14885 uint32_t _flag_k = FK_NONE; 14886 uint32_t _flag_a = 0, _flag_b = 0; 14887 uint32_t _itail_tgt = 0; 14888 RECOMP_REGS_LOCALS 14889 RECOMP_ENTER(0x2B06C0FFu); 14890 14891 L_2B06C0FF: 14892 PUSH32(esp, 2); /* 0x2B06C0FF: push 2 */ 14893 PUSH32(esp, 5); /* 0x2B06C101: push 5 */ 14894 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C103: mov byte ptr [ebp - 4], 1 */ 14895 MEM32(ebx + 0xB4) = edi; /* 0x2B06C107: mov dword ptr [ebx + 0xb4], edi */ 14896 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C10D: call dword ptr [0x2b0b5f80] */ 14897 RECOMP_FLAGS_IN(); 14898 ecx = eax; /* 0x2B06C113: mov ecx, eax */ 14899 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C115: call dword ptr [0x2b0b5fbc] */ 14900 RECOMP_FLAGS_IN(); 14901 PUSH32(esp, 0xD8u); /* 0x2B06C11B: push 0xd8 */ 14902 MEM32(ebp + 0x8) = eax; /* 0x2B06C120: mov dword ptr [ebp + 8], eax */ 14903 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C123: call 0x2b0ab212 */ /* not lifted */ 14904 RECOMP_FLAGS_IN(); 14905 edi = eax; /* 0x2B06C128: mov edi, eax */ 14906 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14907 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14908 esp = esp + 4; /* 0x2B06C12A: add esp, 4 */ 14909 _flag_k = FK_ADD; 14910 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C12D: mov dword ptr [ebp - 0x28], edi */ 14911 /* cmp edi, esi */ /* 0x2B06C130: cmp edi, esi */ 14912 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 14913 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14914 _flag_k = FK_CMP; 14915 MEM8(ebp + (-0x4)) = (uint8_t)(0x13u); /* 0x2B06C132: mov byte ptr [ebp - 4], 0x13 */ 14916 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C16C; /* 0x2B06C136: je 0x2b06c16c */ 14917 L_2B06C138: 14918 edx = MEM32(ebp + 0x8); /* 0x2B06C138: mov edx, dword ptr [ebp + 8] */ 14919 eax = ebp + (-0x20); /* 0x2B06C13B: lea eax, [ebp - 0x20] */ 14920 PUSH32(esp, eax); /* 0x2B06C13E: push eax */ 14921 ecx = ebp + (-0x18); /* 0x2B06C13F: lea ecx, [ebp - 0x18] */ 14922 PUSH32(esp, ecx); /* 0x2B06C142: push ecx */ 14923 PUSH32(esp, esi); /* 0x2B06C143: push esi */ 14924 PUSH32(esp, 0x6D60u); /* 0x2B06C144: push 0x6d60 */ 14925 PUSH32(esp, edx); /* 0x2B06C149: push edx */ 14926 eax = ebp + (-0x14); /* 0x2B06C14A: lea eax, [ebp - 0x14] */ 14927 PUSH32(esp, eax); /* 0x2B06C14D: push eax */ 14928 ecx = edi; /* 0x2B06C14E: mov ecx, edi */ 14929 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C150: mov dword ptr [ebp - 0x20], 0x3f800000 */ 14930 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C157: mov dword ptr [ebp - 0x18], 0x3f800000 */ 14931 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C15E: call dword ptr [0x2b0b5654] */ 14932 RECOMP_FLAGS_IN(); 14933 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C164: mov dword ptr [edi], 0x2b0b618c */ 14934 goto L_2B06C16E; /* 0x2B06C16A: jmp 0x2b06c16e */ 14935 L_2B06C16C: 14936 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14937 edi = 0; /* 0x2B06C16C: xor edi, edi */ 14938 _cf = 0; 14939 _flag_k = FK_TEST; 14940 L_2B06C16E: 14941 PUSH32(esp, 2); /* 0x2B06C16E: push 2 */ 14942 PUSH32(esp, 3); /* 0x2B06C170: push 3 */ 14943 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C172: mov byte ptr [ebp - 4], 1 */ 14944 MEM32(ebx + 0xB8) = edi; /* 0x2B06C176: mov dword ptr [ebx + 0xb8], edi */ 14945 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C17C: call dword ptr [0x2b0b5f80] */ 14946 RECOMP_FLAGS_IN(); 14947 ecx = eax; /* 0x2B06C182: mov ecx, eax */ 14948 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C184: call dword ptr [0x2b0b5fbc] */ 14949 RECOMP_FLAGS_IN(); 14950 PUSH32(esp, 0xD8u); /* 0x2B06C18A: push 0xd8 */ 14951 MEM32(ebp + 0x8) = eax; /* 0x2B06C18F: mov dword ptr [ebp + 8], eax */ 14952 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C192: call 0x2b0ab212 */ /* not lifted */ 14953 RECOMP_FLAGS_IN(); 14954 edi = eax; /* 0x2B06C197: mov edi, eax */ 14955 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14956 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14957 esp = esp + 4; /* 0x2B06C199: add esp, 4 */ 14958 _flag_k = FK_ADD; 14959 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C19C: mov dword ptr [ebp - 0x28], edi */ 14960 /* cmp edi, esi */ /* 0x2B06C19F: cmp edi, esi */ 14961 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 14962 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14963 _flag_k = FK_CMP; 14964 MEM8(ebp + (-0x4)) = (uint8_t)(0x14u); /* 0x2B06C1A1: mov byte ptr [ebp - 4], 0x14 */ 14965 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C1DB; /* 0x2B06C1A5: je 0x2b06c1db */ 14966 L_2B06C1A7: 14967 eax = MEM32(ebp + 0x8); /* 0x2B06C1A7: mov eax, dword ptr [ebp + 8] */ 14968 ecx = ebp + (-0x20); /* 0x2B06C1AA: lea ecx, [ebp - 0x20] */ 14969 PUSH32(esp, ecx); /* 0x2B06C1AD: push ecx */ 14970 edx = ebp + (-0x18); /* 0x2B06C1AE: lea edx, [ebp - 0x18] */ 14971 PUSH32(esp, edx); /* 0x2B06C1B1: push edx */ 14972 PUSH32(esp, esi); /* 0x2B06C1B2: push esi */ 14973 PUSH32(esp, 0x6D60u); /* 0x2B06C1B3: push 0x6d60 */ 14974 PUSH32(esp, eax); /* 0x2B06C1B8: push eax */ 14975 ecx = ebp + (-0x14); /* 0x2B06C1B9: lea ecx, [ebp - 0x14] */ 14976 PUSH32(esp, ecx); /* 0x2B06C1BC: push ecx */ 14977 ecx = edi; /* 0x2B06C1BD: mov ecx, edi */ 14978 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C1BF: mov dword ptr [ebp - 0x20], 0x3f800000 */ 14979 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C1C6: mov dword ptr [ebp - 0x18], 0x3f800000 */ 14980 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C1CD: call dword ptr [0x2b0b5654] */ 14981 RECOMP_FLAGS_IN(); 14982 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C1D3: mov dword ptr [edi], 0x2b0b618c */ 14983 goto L_2B06C1DD; /* 0x2B06C1D9: jmp 0x2b06c1dd */ 14984 L_2B06C1DB: 14985 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14986 edi = 0; /* 0x2B06C1DB: xor edi, edi */ 14987 _cf = 0; 14988 _flag_k = FK_TEST; 14989 L_2B06C1DD: 14990 PUSH32(esp, 2); /* 0x2B06C1DD: push 2 */ 14991 PUSH32(esp, 4); /* 0x2B06C1DF: push 4 */ 14992 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C1E1: mov byte ptr [ebp - 4], 1 */ 14993 MEM32(ebx + 0xBC) = edi; /* 0x2B06C1E5: mov dword ptr [ebx + 0xbc], edi */ 14994 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C1EB: call dword ptr [0x2b0b5f80] */ 14995 RECOMP_FLAGS_IN(); 14996 ecx = eax; /* 0x2B06C1F1: mov ecx, eax */ 14997 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C1F3: call dword ptr [0x2b0b5fbc] */ 14998 RECOMP_FLAGS_IN(); 14999 PUSH32(esp, 0xD8u); /* 0x2B06C1F9: push 0xd8 */ 15000 MEM32(ebp + 0x8) = eax; /* 0x2B06C1FE: mov dword ptr [ebp + 8], eax */ 15001 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C201: call 0x2b0ab212 */ /* not lifted */ 15002 RECOMP_FLAGS_IN(); 15003 edi = eax; /* 0x2B06C206: mov edi, eax */ 15004 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15005 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15006 esp = esp + 4; /* 0x2B06C208: add esp, 4 */ 15007 _flag_k = FK_ADD; 15008 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C20B: mov dword ptr [ebp - 0x28], edi */ 15009 /* cmp edi, esi */ /* 0x2B06C20E: cmp edi, esi */ 15010 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 15011 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15012 _flag_k = FK_CMP; 15013 MEM8(ebp + (-0x4)) = (uint8_t)(0x15u); /* 0x2B06C210: mov byte ptr [ebp - 4], 0x15 */ 15014 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C24A; /* 0x2B06C214: je 0x2b06c24a */ 15015 L_2B06C216: 15016 ecx = MEM32(ebp + 0x8); /* 0x2B06C216: mov ecx, dword ptr [ebp + 8] */ 15017 edx = ebp + (-0x20); /* 0x2B06C219: lea edx, [ebp - 0x20] */ 15018 PUSH32(esp, edx); /* 0x2B06C21C: push edx */ 15019 eax = ebp + (-0x18); /* 0x2B06C21D: lea eax, [ebp - 0x18] */ 15020 PUSH32(esp, eax); /* 0x2B06C220: push eax */ 15021 PUSH32(esp, esi); /* 0x2B06C221: push esi */ 15022 PUSH32(esp, 0x6D60u); /* 0x2B06C222: push 0x6d60 */ 15023 PUSH32(esp, ecx); /* 0x2B06C227: push ecx */ 15024 edx = ebp + (-0x14); /* 0x2B06C228: lea edx, [ebp - 0x14] */ 15025 PUSH32(esp, edx); /* 0x2B06C22B: push edx */ 15026 ecx = edi; /* 0x2B06C22C: mov ecx, edi */ 15027 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C22E: mov dword ptr [ebp - 0x20], 0x3f800000 */ 15028 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C235: mov dword ptr [ebp - 0x18], 0x3f800000 */ 15029 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C23C: call dword ptr [0x2b0b5654] */ 15030 RECOMP_FLAGS_IN(); 15031 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C242: mov dword ptr [edi], 0x2b0b618c */ 15032 goto L_2B06C24C; /* 0x2B06C248: jmp 0x2b06c24c */ 15033 L_2B06C24A: 15034 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15035 edi = 0; /* 0x2B06C24A: xor edi, edi */ 15036 _cf = 0; 15037 _flag_k = FK_TEST; 15038 L_2B06C24C: 15039 eax = MEM32(ebx + 0x78); /* 0x2B06C24C: mov eax, dword ptr [ebx + 0x78] */ 15040 ecx = eax + (-0x16); /* 0x2B06C24F: lea ecx, [eax - 0x16] */ 15041 MEM32(ebx + 0xC0) = edi; /* 0x2B06C252: mov dword ptr [ebx + 0xc0], edi */ 15042 MEM32(ebp + (-0xC0)) = ecx; /* 0x2B06C258: mov dword ptr [ebp - 0xc0], ecx */ 15043 MEM32(ebp + (-0xAC)) = eax; /* 0x2B06C25E: mov dword ptr [ebp - 0xac], eax */ 15044 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15045 eax = 0; /* 0x2B06C264: xor eax, eax */ 15046 _cf = 0; 15047 _flag_k = FK_TEST; 15048 MEM32(ebp + (-0xE0)) = esi; /* 0x2B06C266: mov dword ptr [ebp - 0xe0], esi */ 15049 MEM32(ebp + (-0xDC)) = esi; /* 0x2B06C26C: mov dword ptr [ebp - 0xdc], esi */ 15050 MEM32(ebp + (-0xD8)) = esi; /* 0x2B06C272: mov dword ptr [ebp - 0xd8], esi */ 15051 MEM32(ebp + (-0xD4)) = 0x6D65u; /* 0x2B06C278: mov dword ptr [ebp - 0xd4], 0x6d65 */ 15052 MEM32(ebp + (-0xD0)) = esi; /* 0x2B06C282: mov dword ptr [ebp - 0xd0], esi */ 15053 MEM32(ebp + (-0xCC)) = esi; /* 0x2B06C288: mov dword ptr [ebp - 0xcc], esi */ 15054 MEM32(ebp + (-0xC8)) = esi; /* 0x2B06C28E: mov dword ptr [ebp - 0xc8], esi */ 15055 MEM32(ebp + (-0xC4)) = esi; /* 0x2B06C294: mov dword ptr [ebp - 0xc4], esi */ 15056 MEM32(ebp + (-0xBC)) = esi; /* 0x2B06C29A: mov dword ptr [ebp - 0xbc], esi */ 15057 MEM32(ebp + (-0xB8)) = esi; /* 0x2B06C2A0: mov dword ptr [ebp - 0xb8], esi */ 15058 MEM32(ebp + (-0xB4)) = esi; /* 0x2B06C2A6: mov dword ptr [ebp - 0xb4], esi */ 15059 MEM32(ebp + (-0xB0)) = 1; /* 0x2B06C2AC: mov dword ptr [ebp - 0xb0], 1 */ 15060 ecx = 6; /* 0x2B06C2B6: mov ecx, 6 */ 15061 edi = ebp + (-0xA8); /* 0x2B06C2BB: lea edi, [ebp - 0xa8] */ 15062 PUSH32(esp, 0xC8u); /* 0x2B06C2C1: push 0xc8 */ 15063 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C2C6: mov byte ptr [ebp - 4], 1 */ 15064 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06C2CA: 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; } 15065 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C2CC: call 0x2b0ab212 */ /* not lifted */ 15066 RECOMP_FLAGS_IN(); 15067 edi = eax; /* 0x2B06C2D1: mov edi, eax */ 15068 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15069 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15070 esp = esp + 4; /* 0x2B06C2D3: add esp, 4 */ 15071 _flag_k = FK_ADD; 15072 MEM32(ebp + 0x8) = edi; /* 0x2B06C2D6: mov dword ptr [ebp + 8], edi */ 15073 /* cmp edi, esi */ /* 0x2B06C2D9: cmp edi, esi */ 15074 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 15075 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15076 _flag_k = FK_CMP; 15077 MEM8(ebp + (-0x4)) = (uint8_t)(0x16u); /* 0x2B06C2DB: mov byte ptr [ebp - 4], 0x16 */ 15078 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C2FA; /* 0x2B06C2DF: je 0x2b06c2fa */ 15079 L_2B06C2E1: 15080 edx = ebp + (-0xE0); /* 0x2B06C2E1: lea edx, [ebp - 0xe0] */ 15081 PUSH32(esp, edx); /* 0x2B06C2E7: push edx */ 15082 ecx = edi; /* 0x2B06C2E8: mov ecx, edi */ 15083 RECOMP_ICALL(MEM32(0x2B0B5748)); /* 0x2B06C2EA: call dword ptr [0x2b0b5748] */ 15084 RECOMP_FLAGS_IN(); 15085 MEM32(edi) = 0x2B0B7110u; /* 0x2B06C2F0: mov dword ptr [edi], 0x2b0b7110 */ 15086 ecx = edi; /* 0x2B06C2F6: mov ecx, edi */ 15087 goto L_2B06C2FC; /* 0x2B06C2F8: jmp 0x2b06c2fc */ 15088 L_2B06C2FA: 15089 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15090 ecx = 0; /* 0x2B06C2FA: xor ecx, ecx */ 15091 _cf = 0; 15092 _flag_k = FK_TEST; 15093 L_2B06C2FC: 15094 PUSH32(esp, ebx); /* 0x2B06C2FC: push ebx */ 15095 PUSH32(esp, 0x2B06D3C0u); /* 0x2B06C2FD: push 0x2b06d3c0 */ 15096 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C302: mov byte ptr [ebp - 4], 1 */ 15097 MEM32(ebx + 0xD8) = ecx; /* 0x2B06C306: mov dword ptr [ebx + 0xd8], ecx */ 15098 RECOMP_ICALL(MEM32(0x2B0B5744)); /* 0x2B06C30C: call dword ptr [0x2b0b5744] */ 15099 RECOMP_FLAGS_IN(); 15100 ecx = MEM32(ebx + 0xD8); /* 0x2B06C312: mov ecx, dword ptr [ebx + 0xd8] */ 15101 PUSH32(esp, 0x64u); /* 0x2B06C318: push 0x64 */ 15102 RECOMP_ICALL(MEM32(0x2B0B5778)); /* 0x2B06C31A: call dword ptr [0x2b0b5778] */ 15103 RECOMP_FLAGS_IN(); 15104 eax = MEM32(ebx + 0x9C); /* 0x2B06C320: mov eax, dword ptr [ebx + 0x9c] */ 15105 ecx = MEM32(eax + 0x34); /* 0x2B06C326: mov ecx, dword ptr [eax + 0x34] */ 15106 RECOMP_ICALL(MEM32(0x2B0B56F8)); /* 0x2B06C329: call dword ptr [0x2b0b56f8] */ 15107 RECOMP_FLAGS_IN(); 15108 ecx = MEM32(ebx + 0xD8); /* 0x2B06C32F: mov ecx, dword ptr [ebx + 0xd8] */ 15109 MEM32(ebx + 0x48) = eax; /* 0x2B06C335: mov dword ptr [ebx + 0x48], eax */ 15110 PUSH32(esp, 0x64u); /* 0x2B06C338: push 0x64 */ 15111 MEM32(ecx + 0x98) = eax; /* 0x2B06C33A: mov dword ptr [ecx + 0x98], eax */ 15112 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C340: call 0x2b0ab212 */ /* not lifted */ 15113 RECOMP_FLAGS_IN(); 15114 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15115 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15116 esp = esp + 4; /* 0x2B06C345: add esp, 4 */ 15117 _flag_k = FK_ADD; 15118 MEM32(ebp + 0x8) = eax; /* 0x2B06C348: mov dword ptr [ebp + 8], eax */ 15119 /* cmp eax, esi */ /* 0x2B06C34B: cmp eax, esi */ 15120 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 15121 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15122 _flag_k = FK_CMP; 15123 MEM8(ebp + (-0x4)) = (uint8_t)(0x17u); /* 0x2B06C34D: mov byte ptr [ebp - 4], 0x17 */ 15124 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C384; /* 0x2B06C351: je 0x2b06c384 */ 15125 L_2B06C353: 15126 ecx = MEM32(ebx + 0x98); /* 0x2B06C353: mov ecx, dword ptr [ebx + 0x98] */ 15127 PUSH32(esp, ecx); /* 0x2B06C359: push ecx */ 15128 PUSH32(esp, esi); /* 0x2B06C35A: push esi */ 15129 PUSH32(esp, 0x30u); /* 0x2B06C35B: push 0x30 */ 15130 PUSH32(esp, esi); /* 0x2B06C35D: push esi */ 15131 PUSH32(esp, 0x6D63u); /* 0x2B06C35E: push 0x6d63 */ 15132 PUSH32(esp, 0x9Eu); /* 0x2B06C363: push 0x9e */ 15133 PUSH32(esp, esi); /* 0x2B06C368: push esi */ 15134 PUSH32(esp, 0x9Fu); /* 0x2B06C369: push 0x9f */ 15135 PUSH32(esp, 0x36u); /* 0x2B06C36E: push 0x36 */ 15136 PUSH32(esp, 0x36u); /* 0x2B06C370: push 0x36 */ 15137 PUSH32(esp, 3); /* 0x2B06C372: push 3 */ 15138 PUSH32(esp, 3); /* 0x2B06C374: push 3 */ 15139 edx = ebp + (-0x14); /* 0x2B06C376: lea edx, [ebp - 0x14] */ 15140 PUSH32(esp, edx); /* 0x2B06C379: push edx */ 15141 ecx = eax; /* 0x2B06C37A: mov ecx, eax */ 15142 RECOMP_ICALL(MEM32(0x2B0B58F8)); /* 0x2B06C37C: call dword ptr [0x2b0b58f8] */ 15143 RECOMP_FLAGS_IN(); 15144 goto L_2B06C386; /* 0x2B06C382: jmp 0x2b06c386 */ 15145 L_2B06C384: 15146 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15147 eax = 0; /* 0x2B06C384: xor eax, eax */ 15148 _cf = 0; 15149 _flag_k = FK_TEST; 15150 L_2B06C386: 15151 MEM32(ebx + 0xDC) = eax; /* 0x2B06C386: mov dword ptr [ebx + 0xdc], eax */ 15152 MEM32(eax + 0x5C) = 0x2B06D400u; /* 0x2B06C38C: mov dword ptr [eax + 0x5c], 0x2b06d400 */ 15153 MEM32(eax + 0x60) = ebx; /* 0x2B06C393: mov dword ptr [eax + 0x60], ebx */ 15154 eax = ebx + 0x5C; /* 0x2B06C396: lea eax, [ebx + 0x5c] */ 15155 PUSH32(esp, eax); /* 0x2B06C399: push eax */ 15156 ecx = ebx; /* 0x2B06C39A: mov ecx, ebx */ 15157 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C39C: mov byte ptr [ebp - 4], 1 */ 15158 RECOMP_ICALL(0x2B06CC00u); /* 0x2B06C3A0: call 0x2b06cc00 */ /* not lifted */ 15159 RECOMP_FLAGS_IN(); 15160 ecx = ebx; /* 0x2B06C3A5: mov ecx, ebx */ 15161 RECOMP_ICALL(0x2B06CBD0u); /* 0x2B06C3A7: call 0x2b06cbd0 */ /* not lifted */ 15162 RECOMP_FLAGS_IN(); 15163 eax = MEM32(0x2B0B6048); /* 0x2B06C3AC: mov eax, dword ptr [0x2b0b6048] */ 15164 ecx = MEM32(eax); /* 0x2B06C3B1: mov ecx, dword ptr [eax] */ 15165 PUSH32(esp, 1); /* 0x2B06C3B3: push 1 */ 15166 PUSH32(esp, 0x2B0EB490u); /* 0x2B06C3B5: push 0x2b0eb490 */ 15167 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B06C3BA: call dword ptr [0x2b0b602c] */ 15168 RECOMP_FLAGS_IN(); 15169 /* test eax, eax */ /* 0x2B06C3C0: test eax, eax */ 15170 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15171 _cf = 0; 15172 _flag_k = FK_TEST; 15173 SET_LO8(eax, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B06C3C2: setne al */ 15174 /* test LO8(eax), LO8(eax) */ /* 0x2B06C3C5: test al, al */ 15175 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15176 _cf = 0; 15177 _flag_k = FK_NARROW(FK_TEST, 24); 15178 MEM8(ebx + 0x58) = (uint8_t)(LO8(eax)); /* 0x2B06C3C7: mov byte ptr [ebx + 0x58], al */ 15179 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06C3DA; /* 0x2B06C3CA: jne 0x2b06c3da */ 15180 L_2B06C3CC: 15181 ecx = MEM32(ebx + 0xCC); /* 0x2B06C3CC: mov ecx, dword ptr [ebx + 0xcc] */ 15182 PUSH32(esp, 2); /* 0x2B06C3D2: push 2 */ 15183 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06C3D4: call dword ptr [0x2b0b5ab4] */ 15184 RECOMP_FLAGS_IN(); 15185 L_2B06C3DA: 15186 ecx = MEM32(ebp + (-0xC)); /* 0x2B06C3DA: mov ecx, dword ptr [ebp - 0xc] */ 15187 edi = POP32_VAL(esp); /* 0x2B06C3DD: pop edi */ 15188 esi = POP32_VAL(esp); /* 0x2B06C3DE: pop esi */ 15189 eax = ebx; /* 0x2B06C3DF: mov eax, ebx */ 15190 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06C3E1: mov dword ptr fs:[0], ecx */ 15191 ebx = POP32_VAL(esp); /* 0x2B06C3E8: pop ebx */ 15192 esp = ebp; /* 0x2B06C3E9: mov esp, ebp */ 15193 ebp = POP32_VAL(esp); /* 0x2B06C3EB: pop ebp */ 15194 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06C3EC: ret 4 */ 15195 RECOMP_REGS_OUT(); 15196 } 15197 15198 void sub_2B06C16E(void) { 15199 int _fpu_cmp = 0; 15200 uint32_t _cf = 0; 15201 int _df = 1; 15202 uint32_t _flag_k = FK_NONE; 15203 uint32_t _flag_a = 0, _flag_b = 0; 15204 uint32_t _itail_tgt = 0; 15205 RECOMP_REGS_LOCALS 15206 RECOMP_ENTER(0x2B06C16Eu); 15207 15208 L_2B06C16E: 15209 PUSH32(esp, 2); /* 0x2B06C16E: push 2 */ 15210 PUSH32(esp, 3); /* 0x2B06C170: push 3 */ 15211 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C172: mov byte ptr [ebp - 4], 1 */ 15212 MEM32(ebx + 0xB8) = edi; /* 0x2B06C176: mov dword ptr [ebx + 0xb8], edi */ 15213 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C17C: call dword ptr [0x2b0b5f80] */ 15214 RECOMP_FLAGS_IN(); 15215 ecx = eax; /* 0x2B06C182: mov ecx, eax */ 15216 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C184: call dword ptr [0x2b0b5fbc] */ 15217 RECOMP_FLAGS_IN(); 15218 PUSH32(esp, 0xD8u); /* 0x2B06C18A: push 0xd8 */ 15219 MEM32(ebp + 0x8) = eax; /* 0x2B06C18F: mov dword ptr [ebp + 8], eax */ 15220 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C192: call 0x2b0ab212 */ /* not lifted */ 15221 RECOMP_FLAGS_IN(); 15222 edi = eax; /* 0x2B06C197: mov edi, eax */ 15223 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15224 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15225 esp = esp + 4; /* 0x2B06C199: add esp, 4 */ 15226 _flag_k = FK_ADD; 15227 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C19C: mov dword ptr [ebp - 0x28], edi */ 15228 /* cmp edi, esi */ /* 0x2B06C19F: cmp edi, esi */ 15229 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 15230 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15231 _flag_k = FK_CMP; 15232 MEM8(ebp + (-0x4)) = (uint8_t)(0x14u); /* 0x2B06C1A1: mov byte ptr [ebp - 4], 0x14 */ 15233 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C1DB; /* 0x2B06C1A5: je 0x2b06c1db */ 15234 L_2B06C1A7: 15235 eax = MEM32(ebp + 0x8); /* 0x2B06C1A7: mov eax, dword ptr [ebp + 8] */ 15236 ecx = ebp + (-0x20); /* 0x2B06C1AA: lea ecx, [ebp - 0x20] */ 15237 PUSH32(esp, ecx); /* 0x2B06C1AD: push ecx */ 15238 edx = ebp + (-0x18); /* 0x2B06C1AE: lea edx, [ebp - 0x18] */ 15239 PUSH32(esp, edx); /* 0x2B06C1B1: push edx */ 15240 PUSH32(esp, esi); /* 0x2B06C1B2: push esi */ 15241 PUSH32(esp, 0x6D60u); /* 0x2B06C1B3: push 0x6d60 */ 15242 PUSH32(esp, eax); /* 0x2B06C1B8: push eax */ 15243 ecx = ebp + (-0x14); /* 0x2B06C1B9: lea ecx, [ebp - 0x14] */ 15244 PUSH32(esp, ecx); /* 0x2B06C1BC: push ecx */ 15245 ecx = edi; /* 0x2B06C1BD: mov ecx, edi */ 15246 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C1BF: mov dword ptr [ebp - 0x20], 0x3f800000 */ 15247 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C1C6: mov dword ptr [ebp - 0x18], 0x3f800000 */ 15248 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C1CD: call dword ptr [0x2b0b5654] */ 15249 RECOMP_FLAGS_IN(); 15250 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C1D3: mov dword ptr [edi], 0x2b0b618c */ 15251 goto L_2B06C1DD; /* 0x2B06C1D9: jmp 0x2b06c1dd */ 15252 L_2B06C1DB: 15253 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15254 edi = 0; /* 0x2B06C1DB: xor edi, edi */ 15255 _cf = 0; 15256 _flag_k = FK_TEST; 15257 L_2B06C1DD: 15258 PUSH32(esp, 2); /* 0x2B06C1DD: push 2 */ 15259 PUSH32(esp, 4); /* 0x2B06C1DF: push 4 */ 15260 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C1E1: mov byte ptr [ebp - 4], 1 */ 15261 MEM32(ebx + 0xBC) = edi; /* 0x2B06C1E5: mov dword ptr [ebx + 0xbc], edi */ 15262 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C1EB: call dword ptr [0x2b0b5f80] */ 15263 RECOMP_FLAGS_IN(); 15264 ecx = eax; /* 0x2B06C1F1: mov ecx, eax */ 15265 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C1F3: call dword ptr [0x2b0b5fbc] */ 15266 RECOMP_FLAGS_IN(); 15267 PUSH32(esp, 0xD8u); /* 0x2B06C1F9: push 0xd8 */ 15268 MEM32(ebp + 0x8) = eax; /* 0x2B06C1FE: mov dword ptr [ebp + 8], eax */ 15269 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C201: call 0x2b0ab212 */ /* not lifted */ 15270 RECOMP_FLAGS_IN(); 15271 edi = eax; /* 0x2B06C206: mov edi, eax */ 15272 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15273 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15274 esp = esp + 4; /* 0x2B06C208: add esp, 4 */ 15275 _flag_k = FK_ADD; 15276 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C20B: mov dword ptr [ebp - 0x28], edi */ 15277 /* cmp edi, esi */ /* 0x2B06C20E: cmp edi, esi */ 15278 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 15279 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15280 _flag_k = FK_CMP; 15281 MEM8(ebp + (-0x4)) = (uint8_t)(0x15u); /* 0x2B06C210: mov byte ptr [ebp - 4], 0x15 */ 15282 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C24A; /* 0x2B06C214: je 0x2b06c24a */ 15283 L_2B06C216: 15284 ecx = MEM32(ebp + 0x8); /* 0x2B06C216: mov ecx, dword ptr [ebp + 8] */ 15285 edx = ebp + (-0x20); /* 0x2B06C219: lea edx, [ebp - 0x20] */ 15286 PUSH32(esp, edx); /* 0x2B06C21C: push edx */ 15287 eax = ebp + (-0x18); /* 0x2B06C21D: lea eax, [ebp - 0x18] */ 15288 PUSH32(esp, eax); /* 0x2B06C220: push eax */ 15289 PUSH32(esp, esi); /* 0x2B06C221: push esi */ 15290 PUSH32(esp, 0x6D60u); /* 0x2B06C222: push 0x6d60 */ 15291 PUSH32(esp, ecx); /* 0x2B06C227: push ecx */ 15292 edx = ebp + (-0x14); /* 0x2B06C228: lea edx, [ebp - 0x14] */ 15293 PUSH32(esp, edx); /* 0x2B06C22B: push edx */ 15294 ecx = edi; /* 0x2B06C22C: mov ecx, edi */ 15295 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C22E: mov dword ptr [ebp - 0x20], 0x3f800000 */ 15296 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C235: mov dword ptr [ebp - 0x18], 0x3f800000 */ 15297 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C23C: call dword ptr [0x2b0b5654] */ 15298 RECOMP_FLAGS_IN(); 15299 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C242: mov dword ptr [edi], 0x2b0b618c */ 15300 goto L_2B06C24C; /* 0x2B06C248: jmp 0x2b06c24c */ 15301 L_2B06C24A: 15302 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15303 edi = 0; /* 0x2B06C24A: xor edi, edi */ 15304 _cf = 0; 15305 _flag_k = FK_TEST; 15306 L_2B06C24C: 15307 eax = MEM32(ebx + 0x78); /* 0x2B06C24C: mov eax, dword ptr [ebx + 0x78] */ 15308 ecx = eax + (-0x16); /* 0x2B06C24F: lea ecx, [eax - 0x16] */ 15309 MEM32(ebx + 0xC0) = edi; /* 0x2B06C252: mov dword ptr [ebx + 0xc0], edi */ 15310 MEM32(ebp + (-0xC0)) = ecx; /* 0x2B06C258: mov dword ptr [ebp - 0xc0], ecx */ 15311 MEM32(ebp + (-0xAC)) = eax; /* 0x2B06C25E: mov dword ptr [ebp - 0xac], eax */ 15312 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15313 eax = 0; /* 0x2B06C264: xor eax, eax */ 15314 _cf = 0; 15315 _flag_k = FK_TEST; 15316 MEM32(ebp + (-0xE0)) = esi; /* 0x2B06C266: mov dword ptr [ebp - 0xe0], esi */ 15317 MEM32(ebp + (-0xDC)) = esi; /* 0x2B06C26C: mov dword ptr [ebp - 0xdc], esi */ 15318 MEM32(ebp + (-0xD8)) = esi; /* 0x2B06C272: mov dword ptr [ebp - 0xd8], esi */ 15319 MEM32(ebp + (-0xD4)) = 0x6D65u; /* 0x2B06C278: mov dword ptr [ebp - 0xd4], 0x6d65 */ 15320 MEM32(ebp + (-0xD0)) = esi; /* 0x2B06C282: mov dword ptr [ebp - 0xd0], esi */ 15321 MEM32(ebp + (-0xCC)) = esi; /* 0x2B06C288: mov dword ptr [ebp - 0xcc], esi */ 15322 MEM32(ebp + (-0xC8)) = esi; /* 0x2B06C28E: mov dword ptr [ebp - 0xc8], esi */ 15323 MEM32(ebp + (-0xC4)) = esi; /* 0x2B06C294: mov dword ptr [ebp - 0xc4], esi */ 15324 MEM32(ebp + (-0xBC)) = esi; /* 0x2B06C29A: mov dword ptr [ebp - 0xbc], esi */ 15325 MEM32(ebp + (-0xB8)) = esi; /* 0x2B06C2A0: mov dword ptr [ebp - 0xb8], esi */ 15326 MEM32(ebp + (-0xB4)) = esi; /* 0x2B06C2A6: mov dword ptr [ebp - 0xb4], esi */ 15327 MEM32(ebp + (-0xB0)) = 1; /* 0x2B06C2AC: mov dword ptr [ebp - 0xb0], 1 */ 15328 ecx = 6; /* 0x2B06C2B6: mov ecx, 6 */ 15329 edi = ebp + (-0xA8); /* 0x2B06C2BB: lea edi, [ebp - 0xa8] */ 15330 PUSH32(esp, 0xC8u); /* 0x2B06C2C1: push 0xc8 */ 15331 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C2C6: mov byte ptr [ebp - 4], 1 */ 15332 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06C2CA: 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; } 15333 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C2CC: call 0x2b0ab212 */ /* not lifted */ 15334 RECOMP_FLAGS_IN(); 15335 edi = eax; /* 0x2B06C2D1: mov edi, eax */ 15336 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15337 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15338 esp = esp + 4; /* 0x2B06C2D3: add esp, 4 */ 15339 _flag_k = FK_ADD; 15340 MEM32(ebp + 0x8) = edi; /* 0x2B06C2D6: mov dword ptr [ebp + 8], edi */ 15341 /* cmp edi, esi */ /* 0x2B06C2D9: cmp edi, esi */ 15342 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 15343 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15344 _flag_k = FK_CMP; 15345 MEM8(ebp + (-0x4)) = (uint8_t)(0x16u); /* 0x2B06C2DB: mov byte ptr [ebp - 4], 0x16 */ 15346 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C2FA; /* 0x2B06C2DF: je 0x2b06c2fa */ 15347 L_2B06C2E1: 15348 edx = ebp + (-0xE0); /* 0x2B06C2E1: lea edx, [ebp - 0xe0] */ 15349 PUSH32(esp, edx); /* 0x2B06C2E7: push edx */ 15350 ecx = edi; /* 0x2B06C2E8: mov ecx, edi */ 15351 RECOMP_ICALL(MEM32(0x2B0B5748)); /* 0x2B06C2EA: call dword ptr [0x2b0b5748] */ 15352 RECOMP_FLAGS_IN(); 15353 MEM32(edi) = 0x2B0B7110u; /* 0x2B06C2F0: mov dword ptr [edi], 0x2b0b7110 */ 15354 ecx = edi; /* 0x2B06C2F6: mov ecx, edi */ 15355 goto L_2B06C2FC; /* 0x2B06C2F8: jmp 0x2b06c2fc */ 15356 L_2B06C2FA: 15357 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15358 ecx = 0; /* 0x2B06C2FA: xor ecx, ecx */ 15359 _cf = 0; 15360 _flag_k = FK_TEST; 15361 L_2B06C2FC: 15362 PUSH32(esp, ebx); /* 0x2B06C2FC: push ebx */ 15363 PUSH32(esp, 0x2B06D3C0u); /* 0x2B06C2FD: push 0x2b06d3c0 */ 15364 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C302: mov byte ptr [ebp - 4], 1 */ 15365 MEM32(ebx + 0xD8) = ecx; /* 0x2B06C306: mov dword ptr [ebx + 0xd8], ecx */ 15366 RECOMP_ICALL(MEM32(0x2B0B5744)); /* 0x2B06C30C: call dword ptr [0x2b0b5744] */ 15367 RECOMP_FLAGS_IN(); 15368 ecx = MEM32(ebx + 0xD8); /* 0x2B06C312: mov ecx, dword ptr [ebx + 0xd8] */ 15369 PUSH32(esp, 0x64u); /* 0x2B06C318: push 0x64 */ 15370 RECOMP_ICALL(MEM32(0x2B0B5778)); /* 0x2B06C31A: call dword ptr [0x2b0b5778] */ 15371 RECOMP_FLAGS_IN(); 15372 eax = MEM32(ebx + 0x9C); /* 0x2B06C320: mov eax, dword ptr [ebx + 0x9c] */ 15373 ecx = MEM32(eax + 0x34); /* 0x2B06C326: mov ecx, dword ptr [eax + 0x34] */ 15374 RECOMP_ICALL(MEM32(0x2B0B56F8)); /* 0x2B06C329: call dword ptr [0x2b0b56f8] */ 15375 RECOMP_FLAGS_IN(); 15376 ecx = MEM32(ebx + 0xD8); /* 0x2B06C32F: mov ecx, dword ptr [ebx + 0xd8] */ 15377 MEM32(ebx + 0x48) = eax; /* 0x2B06C335: mov dword ptr [ebx + 0x48], eax */ 15378 PUSH32(esp, 0x64u); /* 0x2B06C338: push 0x64 */ 15379 MEM32(ecx + 0x98) = eax; /* 0x2B06C33A: mov dword ptr [ecx + 0x98], eax */ 15380 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C340: call 0x2b0ab212 */ /* not lifted */ 15381 RECOMP_FLAGS_IN(); 15382 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15383 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15384 esp = esp + 4; /* 0x2B06C345: add esp, 4 */ 15385 _flag_k = FK_ADD; 15386 MEM32(ebp + 0x8) = eax; /* 0x2B06C348: mov dword ptr [ebp + 8], eax */ 15387 /* cmp eax, esi */ /* 0x2B06C34B: cmp eax, esi */ 15388 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 15389 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15390 _flag_k = FK_CMP; 15391 MEM8(ebp + (-0x4)) = (uint8_t)(0x17u); /* 0x2B06C34D: mov byte ptr [ebp - 4], 0x17 */ 15392 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C384; /* 0x2B06C351: je 0x2b06c384 */ 15393 L_2B06C353: 15394 ecx = MEM32(ebx + 0x98); /* 0x2B06C353: mov ecx, dword ptr [ebx + 0x98] */ 15395 PUSH32(esp, ecx); /* 0x2B06C359: push ecx */ 15396 PUSH32(esp, esi); /* 0x2B06C35A: push esi */ 15397 PUSH32(esp, 0x30u); /* 0x2B06C35B: push 0x30 */ 15398 PUSH32(esp, esi); /* 0x2B06C35D: push esi */ 15399 PUSH32(esp, 0x6D63u); /* 0x2B06C35E: push 0x6d63 */ 15400 PUSH32(esp, 0x9Eu); /* 0x2B06C363: push 0x9e */ 15401 PUSH32(esp, esi); /* 0x2B06C368: push esi */ 15402 PUSH32(esp, 0x9Fu); /* 0x2B06C369: push 0x9f */ 15403 PUSH32(esp, 0x36u); /* 0x2B06C36E: push 0x36 */ 15404 PUSH32(esp, 0x36u); /* 0x2B06C370: push 0x36 */ 15405 PUSH32(esp, 3); /* 0x2B06C372: push 3 */ 15406 PUSH32(esp, 3); /* 0x2B06C374: push 3 */ 15407 edx = ebp + (-0x14); /* 0x2B06C376: lea edx, [ebp - 0x14] */ 15408 PUSH32(esp, edx); /* 0x2B06C379: push edx */ 15409 ecx = eax; /* 0x2B06C37A: mov ecx, eax */ 15410 RECOMP_ICALL(MEM32(0x2B0B58F8)); /* 0x2B06C37C: call dword ptr [0x2b0b58f8] */ 15411 RECOMP_FLAGS_IN(); 15412 goto L_2B06C386; /* 0x2B06C382: jmp 0x2b06c386 */ 15413 L_2B06C384: 15414 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15415 eax = 0; /* 0x2B06C384: xor eax, eax */ 15416 _cf = 0; 15417 _flag_k = FK_TEST; 15418 L_2B06C386: 15419 MEM32(ebx + 0xDC) = eax; /* 0x2B06C386: mov dword ptr [ebx + 0xdc], eax */ 15420 MEM32(eax + 0x5C) = 0x2B06D400u; /* 0x2B06C38C: mov dword ptr [eax + 0x5c], 0x2b06d400 */ 15421 MEM32(eax + 0x60) = ebx; /* 0x2B06C393: mov dword ptr [eax + 0x60], ebx */ 15422 eax = ebx + 0x5C; /* 0x2B06C396: lea eax, [ebx + 0x5c] */ 15423 PUSH32(esp, eax); /* 0x2B06C399: push eax */ 15424 ecx = ebx; /* 0x2B06C39A: mov ecx, ebx */ 15425 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C39C: mov byte ptr [ebp - 4], 1 */ 15426 RECOMP_ICALL(0x2B06CC00u); /* 0x2B06C3A0: call 0x2b06cc00 */ /* not lifted */ 15427 RECOMP_FLAGS_IN(); 15428 ecx = ebx; /* 0x2B06C3A5: mov ecx, ebx */ 15429 RECOMP_ICALL(0x2B06CBD0u); /* 0x2B06C3A7: call 0x2b06cbd0 */ /* not lifted */ 15430 RECOMP_FLAGS_IN(); 15431 eax = MEM32(0x2B0B6048); /* 0x2B06C3AC: mov eax, dword ptr [0x2b0b6048] */ 15432 ecx = MEM32(eax); /* 0x2B06C3B1: mov ecx, dword ptr [eax] */ 15433 PUSH32(esp, 1); /* 0x2B06C3B3: push 1 */ 15434 PUSH32(esp, 0x2B0EB490u); /* 0x2B06C3B5: push 0x2b0eb490 */ 15435 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B06C3BA: call dword ptr [0x2b0b602c] */ 15436 RECOMP_FLAGS_IN(); 15437 /* test eax, eax */ /* 0x2B06C3C0: test eax, eax */ 15438 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15439 _cf = 0; 15440 _flag_k = FK_TEST; 15441 SET_LO8(eax, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B06C3C2: setne al */ 15442 /* test LO8(eax), LO8(eax) */ /* 0x2B06C3C5: test al, al */ 15443 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15444 _cf = 0; 15445 _flag_k = FK_NARROW(FK_TEST, 24); 15446 MEM8(ebx + 0x58) = (uint8_t)(LO8(eax)); /* 0x2B06C3C7: mov byte ptr [ebx + 0x58], al */ 15447 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06C3DA; /* 0x2B06C3CA: jne 0x2b06c3da */ 15448 L_2B06C3CC: 15449 ecx = MEM32(ebx + 0xCC); /* 0x2B06C3CC: mov ecx, dword ptr [ebx + 0xcc] */ 15450 PUSH32(esp, 2); /* 0x2B06C3D2: push 2 */ 15451 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06C3D4: call dword ptr [0x2b0b5ab4] */ 15452 RECOMP_FLAGS_IN(); 15453 L_2B06C3DA: 15454 ecx = MEM32(ebp + (-0xC)); /* 0x2B06C3DA: mov ecx, dword ptr [ebp - 0xc] */ 15455 edi = POP32_VAL(esp); /* 0x2B06C3DD: pop edi */ 15456 esi = POP32_VAL(esp); /* 0x2B06C3DE: pop esi */ 15457 eax = ebx; /* 0x2B06C3DF: mov eax, ebx */ 15458 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06C3E1: mov dword ptr fs:[0], ecx */ 15459 ebx = POP32_VAL(esp); /* 0x2B06C3E8: pop ebx */ 15460 esp = ebp; /* 0x2B06C3E9: mov esp, ebp */ 15461 ebp = POP32_VAL(esp); /* 0x2B06C3EB: pop ebp */ 15462 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06C3EC: ret 4 */ 15463 RECOMP_REGS_OUT(); 15464 } 15465 15466 void sub_2B06C1DD(void) { 15467 int _fpu_cmp = 0; 15468 uint32_t _cf = 0; 15469 int _df = 1; 15470 uint32_t _flag_k = FK_NONE; 15471 uint32_t _flag_a = 0, _flag_b = 0; 15472 uint32_t _itail_tgt = 0; 15473 RECOMP_REGS_LOCALS 15474 RECOMP_ENTER(0x2B06C1DDu); 15475 15476 L_2B06C1DD: 15477 PUSH32(esp, 2); /* 0x2B06C1DD: push 2 */ 15478 PUSH32(esp, 4); /* 0x2B06C1DF: push 4 */ 15479 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C1E1: mov byte ptr [ebp - 4], 1 */ 15480 MEM32(ebx + 0xBC) = edi; /* 0x2B06C1E5: mov dword ptr [ebx + 0xbc], edi */ 15481 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B06C1EB: call dword ptr [0x2b0b5f80] */ 15482 RECOMP_FLAGS_IN(); 15483 ecx = eax; /* 0x2B06C1F1: mov ecx, eax */ 15484 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B06C1F3: call dword ptr [0x2b0b5fbc] */ 15485 RECOMP_FLAGS_IN(); 15486 PUSH32(esp, 0xD8u); /* 0x2B06C1F9: push 0xd8 */ 15487 MEM32(ebp + 0x8) = eax; /* 0x2B06C1FE: mov dword ptr [ebp + 8], eax */ 15488 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C201: call 0x2b0ab212 */ /* not lifted */ 15489 RECOMP_FLAGS_IN(); 15490 edi = eax; /* 0x2B06C206: mov edi, eax */ 15491 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15492 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15493 esp = esp + 4; /* 0x2B06C208: add esp, 4 */ 15494 _flag_k = FK_ADD; 15495 MEM32(ebp + (-0x28)) = edi; /* 0x2B06C20B: mov dword ptr [ebp - 0x28], edi */ 15496 /* cmp edi, esi */ /* 0x2B06C20E: cmp edi, esi */ 15497 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 15498 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15499 _flag_k = FK_CMP; 15500 MEM8(ebp + (-0x4)) = (uint8_t)(0x15u); /* 0x2B06C210: mov byte ptr [ebp - 4], 0x15 */ 15501 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C24A; /* 0x2B06C214: je 0x2b06c24a */ 15502 L_2B06C216: 15503 ecx = MEM32(ebp + 0x8); /* 0x2B06C216: mov ecx, dword ptr [ebp + 8] */ 15504 edx = ebp + (-0x20); /* 0x2B06C219: lea edx, [ebp - 0x20] */ 15505 PUSH32(esp, edx); /* 0x2B06C21C: push edx */ 15506 eax = ebp + (-0x18); /* 0x2B06C21D: lea eax, [ebp - 0x18] */ 15507 PUSH32(esp, eax); /* 0x2B06C220: push eax */ 15508 PUSH32(esp, esi); /* 0x2B06C221: push esi */ 15509 PUSH32(esp, 0x6D60u); /* 0x2B06C222: push 0x6d60 */ 15510 PUSH32(esp, ecx); /* 0x2B06C227: push ecx */ 15511 edx = ebp + (-0x14); /* 0x2B06C228: lea edx, [ebp - 0x14] */ 15512 PUSH32(esp, edx); /* 0x2B06C22B: push edx */ 15513 ecx = edi; /* 0x2B06C22C: mov ecx, edi */ 15514 MEM32(ebp + (-0x20)) = 0x3F800000u; /* 0x2B06C22E: mov dword ptr [ebp - 0x20], 0x3f800000 */ 15515 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06C235: mov dword ptr [ebp - 0x18], 0x3f800000 */ 15516 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06C23C: call dword ptr [0x2b0b5654] */ 15517 RECOMP_FLAGS_IN(); 15518 MEM32(edi) = 0x2B0B618Cu; /* 0x2B06C242: mov dword ptr [edi], 0x2b0b618c */ 15519 goto L_2B06C24C; /* 0x2B06C248: jmp 0x2b06c24c */ 15520 L_2B06C24A: 15521 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15522 edi = 0; /* 0x2B06C24A: xor edi, edi */ 15523 _cf = 0; 15524 _flag_k = FK_TEST; 15525 L_2B06C24C: 15526 eax = MEM32(ebx + 0x78); /* 0x2B06C24C: mov eax, dword ptr [ebx + 0x78] */ 15527 ecx = eax + (-0x16); /* 0x2B06C24F: lea ecx, [eax - 0x16] */ 15528 MEM32(ebx + 0xC0) = edi; /* 0x2B06C252: mov dword ptr [ebx + 0xc0], edi */ 15529 MEM32(ebp + (-0xC0)) = ecx; /* 0x2B06C258: mov dword ptr [ebp - 0xc0], ecx */ 15530 MEM32(ebp + (-0xAC)) = eax; /* 0x2B06C25E: mov dword ptr [ebp - 0xac], eax */ 15531 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15532 eax = 0; /* 0x2B06C264: xor eax, eax */ 15533 _cf = 0; 15534 _flag_k = FK_TEST; 15535 MEM32(ebp + (-0xE0)) = esi; /* 0x2B06C266: mov dword ptr [ebp - 0xe0], esi */ 15536 MEM32(ebp + (-0xDC)) = esi; /* 0x2B06C26C: mov dword ptr [ebp - 0xdc], esi */ 15537 MEM32(ebp + (-0xD8)) = esi; /* 0x2B06C272: mov dword ptr [ebp - 0xd8], esi */ 15538 MEM32(ebp + (-0xD4)) = 0x6D65u; /* 0x2B06C278: mov dword ptr [ebp - 0xd4], 0x6d65 */ 15539 MEM32(ebp + (-0xD0)) = esi; /* 0x2B06C282: mov dword ptr [ebp - 0xd0], esi */ 15540 MEM32(ebp + (-0xCC)) = esi; /* 0x2B06C288: mov dword ptr [ebp - 0xcc], esi */ 15541 MEM32(ebp + (-0xC8)) = esi; /* 0x2B06C28E: mov dword ptr [ebp - 0xc8], esi */ 15542 MEM32(ebp + (-0xC4)) = esi; /* 0x2B06C294: mov dword ptr [ebp - 0xc4], esi */ 15543 MEM32(ebp + (-0xBC)) = esi; /* 0x2B06C29A: mov dword ptr [ebp - 0xbc], esi */ 15544 MEM32(ebp + (-0xB8)) = esi; /* 0x2B06C2A0: mov dword ptr [ebp - 0xb8], esi */ 15545 MEM32(ebp + (-0xB4)) = esi; /* 0x2B06C2A6: mov dword ptr [ebp - 0xb4], esi */ 15546 MEM32(ebp + (-0xB0)) = 1; /* 0x2B06C2AC: mov dword ptr [ebp - 0xb0], 1 */ 15547 ecx = 6; /* 0x2B06C2B6: mov ecx, 6 */ 15548 edi = ebp + (-0xA8); /* 0x2B06C2BB: lea edi, [ebp - 0xa8] */ 15549 PUSH32(esp, 0xC8u); /* 0x2B06C2C1: push 0xc8 */ 15550 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C2C6: mov byte ptr [ebp - 4], 1 */ 15551 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06C2CA: 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; } 15552 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C2CC: call 0x2b0ab212 */ /* not lifted */ 15553 RECOMP_FLAGS_IN(); 15554 edi = eax; /* 0x2B06C2D1: mov edi, eax */ 15555 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15556 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15557 esp = esp + 4; /* 0x2B06C2D3: add esp, 4 */ 15558 _flag_k = FK_ADD; 15559 MEM32(ebp + 0x8) = edi; /* 0x2B06C2D6: mov dword ptr [ebp + 8], edi */ 15560 /* cmp edi, esi */ /* 0x2B06C2D9: cmp edi, esi */ 15561 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 15562 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15563 _flag_k = FK_CMP; 15564 MEM8(ebp + (-0x4)) = (uint8_t)(0x16u); /* 0x2B06C2DB: mov byte ptr [ebp - 4], 0x16 */ 15565 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C2FA; /* 0x2B06C2DF: je 0x2b06c2fa */ 15566 L_2B06C2E1: 15567 edx = ebp + (-0xE0); /* 0x2B06C2E1: lea edx, [ebp - 0xe0] */ 15568 PUSH32(esp, edx); /* 0x2B06C2E7: push edx */ 15569 ecx = edi; /* 0x2B06C2E8: mov ecx, edi */ 15570 RECOMP_ICALL(MEM32(0x2B0B5748)); /* 0x2B06C2EA: call dword ptr [0x2b0b5748] */ 15571 RECOMP_FLAGS_IN(); 15572 MEM32(edi) = 0x2B0B7110u; /* 0x2B06C2F0: mov dword ptr [edi], 0x2b0b7110 */ 15573 ecx = edi; /* 0x2B06C2F6: mov ecx, edi */ 15574 goto L_2B06C2FC; /* 0x2B06C2F8: jmp 0x2b06c2fc */ 15575 L_2B06C2FA: 15576 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15577 ecx = 0; /* 0x2B06C2FA: xor ecx, ecx */ 15578 _cf = 0; 15579 _flag_k = FK_TEST; 15580 L_2B06C2FC: 15581 PUSH32(esp, ebx); /* 0x2B06C2FC: push ebx */ 15582 PUSH32(esp, 0x2B06D3C0u); /* 0x2B06C2FD: push 0x2b06d3c0 */ 15583 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C302: mov byte ptr [ebp - 4], 1 */ 15584 MEM32(ebx + 0xD8) = ecx; /* 0x2B06C306: mov dword ptr [ebx + 0xd8], ecx */ 15585 RECOMP_ICALL(MEM32(0x2B0B5744)); /* 0x2B06C30C: call dword ptr [0x2b0b5744] */ 15586 RECOMP_FLAGS_IN(); 15587 ecx = MEM32(ebx + 0xD8); /* 0x2B06C312: mov ecx, dword ptr [ebx + 0xd8] */ 15588 PUSH32(esp, 0x64u); /* 0x2B06C318: push 0x64 */ 15589 RECOMP_ICALL(MEM32(0x2B0B5778)); /* 0x2B06C31A: call dword ptr [0x2b0b5778] */ 15590 RECOMP_FLAGS_IN(); 15591 eax = MEM32(ebx + 0x9C); /* 0x2B06C320: mov eax, dword ptr [ebx + 0x9c] */ 15592 ecx = MEM32(eax + 0x34); /* 0x2B06C326: mov ecx, dword ptr [eax + 0x34] */ 15593 RECOMP_ICALL(MEM32(0x2B0B56F8)); /* 0x2B06C329: call dword ptr [0x2b0b56f8] */ 15594 RECOMP_FLAGS_IN(); 15595 ecx = MEM32(ebx + 0xD8); /* 0x2B06C32F: mov ecx, dword ptr [ebx + 0xd8] */ 15596 MEM32(ebx + 0x48) = eax; /* 0x2B06C335: mov dword ptr [ebx + 0x48], eax */ 15597 PUSH32(esp, 0x64u); /* 0x2B06C338: push 0x64 */ 15598 MEM32(ecx + 0x98) = eax; /* 0x2B06C33A: mov dword ptr [ecx + 0x98], eax */ 15599 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C340: call 0x2b0ab212 */ /* not lifted */ 15600 RECOMP_FLAGS_IN(); 15601 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15602 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15603 esp = esp + 4; /* 0x2B06C345: add esp, 4 */ 15604 _flag_k = FK_ADD; 15605 MEM32(ebp + 0x8) = eax; /* 0x2B06C348: mov dword ptr [ebp + 8], eax */ 15606 /* cmp eax, esi */ /* 0x2B06C34B: cmp eax, esi */ 15607 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 15608 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15609 _flag_k = FK_CMP; 15610 MEM8(ebp + (-0x4)) = (uint8_t)(0x17u); /* 0x2B06C34D: mov byte ptr [ebp - 4], 0x17 */ 15611 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C384; /* 0x2B06C351: je 0x2b06c384 */ 15612 L_2B06C353: 15613 ecx = MEM32(ebx + 0x98); /* 0x2B06C353: mov ecx, dword ptr [ebx + 0x98] */ 15614 PUSH32(esp, ecx); /* 0x2B06C359: push ecx */ 15615 PUSH32(esp, esi); /* 0x2B06C35A: push esi */ 15616 PUSH32(esp, 0x30u); /* 0x2B06C35B: push 0x30 */ 15617 PUSH32(esp, esi); /* 0x2B06C35D: push esi */ 15618 PUSH32(esp, 0x6D63u); /* 0x2B06C35E: push 0x6d63 */ 15619 PUSH32(esp, 0x9Eu); /* 0x2B06C363: push 0x9e */ 15620 PUSH32(esp, esi); /* 0x2B06C368: push esi */ 15621 PUSH32(esp, 0x9Fu); /* 0x2B06C369: push 0x9f */ 15622 PUSH32(esp, 0x36u); /* 0x2B06C36E: push 0x36 */ 15623 PUSH32(esp, 0x36u); /* 0x2B06C370: push 0x36 */ 15624 PUSH32(esp, 3); /* 0x2B06C372: push 3 */ 15625 PUSH32(esp, 3); /* 0x2B06C374: push 3 */ 15626 edx = ebp + (-0x14); /* 0x2B06C376: lea edx, [ebp - 0x14] */ 15627 PUSH32(esp, edx); /* 0x2B06C379: push edx */ 15628 ecx = eax; /* 0x2B06C37A: mov ecx, eax */ 15629 RECOMP_ICALL(MEM32(0x2B0B58F8)); /* 0x2B06C37C: call dword ptr [0x2b0b58f8] */ 15630 RECOMP_FLAGS_IN(); 15631 goto L_2B06C386; /* 0x2B06C382: jmp 0x2b06c386 */ 15632 L_2B06C384: 15633 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15634 eax = 0; /* 0x2B06C384: xor eax, eax */ 15635 _cf = 0; 15636 _flag_k = FK_TEST; 15637 L_2B06C386: 15638 MEM32(ebx + 0xDC) = eax; /* 0x2B06C386: mov dword ptr [ebx + 0xdc], eax */ 15639 MEM32(eax + 0x5C) = 0x2B06D400u; /* 0x2B06C38C: mov dword ptr [eax + 0x5c], 0x2b06d400 */ 15640 MEM32(eax + 0x60) = ebx; /* 0x2B06C393: mov dword ptr [eax + 0x60], ebx */ 15641 eax = ebx + 0x5C; /* 0x2B06C396: lea eax, [ebx + 0x5c] */ 15642 PUSH32(esp, eax); /* 0x2B06C399: push eax */ 15643 ecx = ebx; /* 0x2B06C39A: mov ecx, ebx */ 15644 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C39C: mov byte ptr [ebp - 4], 1 */ 15645 RECOMP_ICALL(0x2B06CC00u); /* 0x2B06C3A0: call 0x2b06cc00 */ /* not lifted */ 15646 RECOMP_FLAGS_IN(); 15647 ecx = ebx; /* 0x2B06C3A5: mov ecx, ebx */ 15648 RECOMP_ICALL(0x2B06CBD0u); /* 0x2B06C3A7: call 0x2b06cbd0 */ /* not lifted */ 15649 RECOMP_FLAGS_IN(); 15650 eax = MEM32(0x2B0B6048); /* 0x2B06C3AC: mov eax, dword ptr [0x2b0b6048] */ 15651 ecx = MEM32(eax); /* 0x2B06C3B1: mov ecx, dword ptr [eax] */ 15652 PUSH32(esp, 1); /* 0x2B06C3B3: push 1 */ 15653 PUSH32(esp, 0x2B0EB490u); /* 0x2B06C3B5: push 0x2b0eb490 */ 15654 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B06C3BA: call dword ptr [0x2b0b602c] */ 15655 RECOMP_FLAGS_IN(); 15656 /* test eax, eax */ /* 0x2B06C3C0: test eax, eax */ 15657 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15658 _cf = 0; 15659 _flag_k = FK_TEST; 15660 SET_LO8(eax, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B06C3C2: setne al */ 15661 /* test LO8(eax), LO8(eax) */ /* 0x2B06C3C5: test al, al */ 15662 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15663 _cf = 0; 15664 _flag_k = FK_NARROW(FK_TEST, 24); 15665 MEM8(ebx + 0x58) = (uint8_t)(LO8(eax)); /* 0x2B06C3C7: mov byte ptr [ebx + 0x58], al */ 15666 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06C3DA; /* 0x2B06C3CA: jne 0x2b06c3da */ 15667 L_2B06C3CC: 15668 ecx = MEM32(ebx + 0xCC); /* 0x2B06C3CC: mov ecx, dword ptr [ebx + 0xcc] */ 15669 PUSH32(esp, 2); /* 0x2B06C3D2: push 2 */ 15670 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06C3D4: call dword ptr [0x2b0b5ab4] */ 15671 RECOMP_FLAGS_IN(); 15672 L_2B06C3DA: 15673 ecx = MEM32(ebp + (-0xC)); /* 0x2B06C3DA: mov ecx, dword ptr [ebp - 0xc] */ 15674 edi = POP32_VAL(esp); /* 0x2B06C3DD: pop edi */ 15675 esi = POP32_VAL(esp); /* 0x2B06C3DE: pop esi */ 15676 eax = ebx; /* 0x2B06C3DF: mov eax, ebx */ 15677 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06C3E1: mov dword ptr fs:[0], ecx */ 15678 ebx = POP32_VAL(esp); /* 0x2B06C3E8: pop ebx */ 15679 esp = ebp; /* 0x2B06C3E9: mov esp, ebp */ 15680 ebp = POP32_VAL(esp); /* 0x2B06C3EB: pop ebp */ 15681 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06C3EC: ret 4 */ 15682 RECOMP_REGS_OUT(); 15683 } 15684 15685 void sub_2B06C24C(void) { 15686 int _fpu_cmp = 0; 15687 uint32_t _cf = 0; 15688 int _df = 1; 15689 uint32_t _flag_k = FK_NONE; 15690 uint32_t _flag_a = 0, _flag_b = 0; 15691 uint32_t _itail_tgt = 0; 15692 RECOMP_REGS_LOCALS 15693 RECOMP_ENTER(0x2B06C24Cu); 15694 15695 L_2B06C24C: 15696 eax = MEM32(ebx + 0x78); /* 0x2B06C24C: mov eax, dword ptr [ebx + 0x78] */ 15697 ecx = eax + (-0x16); /* 0x2B06C24F: lea ecx, [eax - 0x16] */ 15698 MEM32(ebx + 0xC0) = edi; /* 0x2B06C252: mov dword ptr [ebx + 0xc0], edi */ 15699 MEM32(ebp + (-0xC0)) = ecx; /* 0x2B06C258: mov dword ptr [ebp - 0xc0], ecx */ 15700 MEM32(ebp + (-0xAC)) = eax; /* 0x2B06C25E: mov dword ptr [ebp - 0xac], eax */ 15701 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15702 eax = 0; /* 0x2B06C264: xor eax, eax */ 15703 _cf = 0; 15704 _flag_k = FK_TEST; 15705 MEM32(ebp + (-0xE0)) = esi; /* 0x2B06C266: mov dword ptr [ebp - 0xe0], esi */ 15706 MEM32(ebp + (-0xDC)) = esi; /* 0x2B06C26C: mov dword ptr [ebp - 0xdc], esi */ 15707 MEM32(ebp + (-0xD8)) = esi; /* 0x2B06C272: mov dword ptr [ebp - 0xd8], esi */ 15708 MEM32(ebp + (-0xD4)) = 0x6D65u; /* 0x2B06C278: mov dword ptr [ebp - 0xd4], 0x6d65 */ 15709 MEM32(ebp + (-0xD0)) = esi; /* 0x2B06C282: mov dword ptr [ebp - 0xd0], esi */ 15710 MEM32(ebp + (-0xCC)) = esi; /* 0x2B06C288: mov dword ptr [ebp - 0xcc], esi */ 15711 MEM32(ebp + (-0xC8)) = esi; /* 0x2B06C28E: mov dword ptr [ebp - 0xc8], esi */ 15712 MEM32(ebp + (-0xC4)) = esi; /* 0x2B06C294: mov dword ptr [ebp - 0xc4], esi */ 15713 MEM32(ebp + (-0xBC)) = esi; /* 0x2B06C29A: mov dword ptr [ebp - 0xbc], esi */ 15714 MEM32(ebp + (-0xB8)) = esi; /* 0x2B06C2A0: mov dword ptr [ebp - 0xb8], esi */ 15715 MEM32(ebp + (-0xB4)) = esi; /* 0x2B06C2A6: mov dword ptr [ebp - 0xb4], esi */ 15716 MEM32(ebp + (-0xB0)) = 1; /* 0x2B06C2AC: mov dword ptr [ebp - 0xb0], 1 */ 15717 ecx = 6; /* 0x2B06C2B6: mov ecx, 6 */ 15718 edi = ebp + (-0xA8); /* 0x2B06C2BB: lea edi, [ebp - 0xa8] */ 15719 PUSH32(esp, 0xC8u); /* 0x2B06C2C1: push 0xc8 */ 15720 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C2C6: mov byte ptr [ebp - 4], 1 */ 15721 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06C2CA: 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; } 15722 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C2CC: call 0x2b0ab212 */ /* not lifted */ 15723 RECOMP_FLAGS_IN(); 15724 edi = eax; /* 0x2B06C2D1: mov edi, eax */ 15725 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15726 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15727 esp = esp + 4; /* 0x2B06C2D3: add esp, 4 */ 15728 _flag_k = FK_ADD; 15729 MEM32(ebp + 0x8) = edi; /* 0x2B06C2D6: mov dword ptr [ebp + 8], edi */ 15730 /* cmp edi, esi */ /* 0x2B06C2D9: cmp edi, esi */ 15731 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 15732 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15733 _flag_k = FK_CMP; 15734 MEM8(ebp + (-0x4)) = (uint8_t)(0x16u); /* 0x2B06C2DB: mov byte ptr [ebp - 4], 0x16 */ 15735 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C2FA; /* 0x2B06C2DF: je 0x2b06c2fa */ 15736 L_2B06C2E1: 15737 edx = ebp + (-0xE0); /* 0x2B06C2E1: lea edx, [ebp - 0xe0] */ 15738 PUSH32(esp, edx); /* 0x2B06C2E7: push edx */ 15739 ecx = edi; /* 0x2B06C2E8: mov ecx, edi */ 15740 RECOMP_ICALL(MEM32(0x2B0B5748)); /* 0x2B06C2EA: call dword ptr [0x2b0b5748] */ 15741 RECOMP_FLAGS_IN(); 15742 MEM32(edi) = 0x2B0B7110u; /* 0x2B06C2F0: mov dword ptr [edi], 0x2b0b7110 */ 15743 ecx = edi; /* 0x2B06C2F6: mov ecx, edi */ 15744 goto L_2B06C2FC; /* 0x2B06C2F8: jmp 0x2b06c2fc */ 15745 L_2B06C2FA: 15746 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15747 ecx = 0; /* 0x2B06C2FA: xor ecx, ecx */ 15748 _cf = 0; 15749 _flag_k = FK_TEST; 15750 L_2B06C2FC: 15751 PUSH32(esp, ebx); /* 0x2B06C2FC: push ebx */ 15752 PUSH32(esp, 0x2B06D3C0u); /* 0x2B06C2FD: push 0x2b06d3c0 */ 15753 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C302: mov byte ptr [ebp - 4], 1 */ 15754 MEM32(ebx + 0xD8) = ecx; /* 0x2B06C306: mov dword ptr [ebx + 0xd8], ecx */ 15755 RECOMP_ICALL(MEM32(0x2B0B5744)); /* 0x2B06C30C: call dword ptr [0x2b0b5744] */ 15756 RECOMP_FLAGS_IN(); 15757 ecx = MEM32(ebx + 0xD8); /* 0x2B06C312: mov ecx, dword ptr [ebx + 0xd8] */ 15758 PUSH32(esp, 0x64u); /* 0x2B06C318: push 0x64 */ 15759 RECOMP_ICALL(MEM32(0x2B0B5778)); /* 0x2B06C31A: call dword ptr [0x2b0b5778] */ 15760 RECOMP_FLAGS_IN(); 15761 eax = MEM32(ebx + 0x9C); /* 0x2B06C320: mov eax, dword ptr [ebx + 0x9c] */ 15762 ecx = MEM32(eax + 0x34); /* 0x2B06C326: mov ecx, dword ptr [eax + 0x34] */ 15763 RECOMP_ICALL(MEM32(0x2B0B56F8)); /* 0x2B06C329: call dword ptr [0x2b0b56f8] */ 15764 RECOMP_FLAGS_IN(); 15765 ecx = MEM32(ebx + 0xD8); /* 0x2B06C32F: mov ecx, dword ptr [ebx + 0xd8] */ 15766 MEM32(ebx + 0x48) = eax; /* 0x2B06C335: mov dword ptr [ebx + 0x48], eax */ 15767 PUSH32(esp, 0x64u); /* 0x2B06C338: push 0x64 */ 15768 MEM32(ecx + 0x98) = eax; /* 0x2B06C33A: mov dword ptr [ecx + 0x98], eax */ 15769 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C340: call 0x2b0ab212 */ /* not lifted */ 15770 RECOMP_FLAGS_IN(); 15771 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15772 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15773 esp = esp + 4; /* 0x2B06C345: add esp, 4 */ 15774 _flag_k = FK_ADD; 15775 MEM32(ebp + 0x8) = eax; /* 0x2B06C348: mov dword ptr [ebp + 8], eax */ 15776 /* cmp eax, esi */ /* 0x2B06C34B: cmp eax, esi */ 15777 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 15778 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15779 _flag_k = FK_CMP; 15780 MEM8(ebp + (-0x4)) = (uint8_t)(0x17u); /* 0x2B06C34D: mov byte ptr [ebp - 4], 0x17 */ 15781 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C384; /* 0x2B06C351: je 0x2b06c384 */ 15782 L_2B06C353: 15783 ecx = MEM32(ebx + 0x98); /* 0x2B06C353: mov ecx, dword ptr [ebx + 0x98] */ 15784 PUSH32(esp, ecx); /* 0x2B06C359: push ecx */ 15785 PUSH32(esp, esi); /* 0x2B06C35A: push esi */ 15786 PUSH32(esp, 0x30u); /* 0x2B06C35B: push 0x30 */ 15787 PUSH32(esp, esi); /* 0x2B06C35D: push esi */ 15788 PUSH32(esp, 0x6D63u); /* 0x2B06C35E: push 0x6d63 */ 15789 PUSH32(esp, 0x9Eu); /* 0x2B06C363: push 0x9e */ 15790 PUSH32(esp, esi); /* 0x2B06C368: push esi */ 15791 PUSH32(esp, 0x9Fu); /* 0x2B06C369: push 0x9f */ 15792 PUSH32(esp, 0x36u); /* 0x2B06C36E: push 0x36 */ 15793 PUSH32(esp, 0x36u); /* 0x2B06C370: push 0x36 */ 15794 PUSH32(esp, 3); /* 0x2B06C372: push 3 */ 15795 PUSH32(esp, 3); /* 0x2B06C374: push 3 */ 15796 edx = ebp + (-0x14); /* 0x2B06C376: lea edx, [ebp - 0x14] */ 15797 PUSH32(esp, edx); /* 0x2B06C379: push edx */ 15798 ecx = eax; /* 0x2B06C37A: mov ecx, eax */ 15799 RECOMP_ICALL(MEM32(0x2B0B58F8)); /* 0x2B06C37C: call dword ptr [0x2b0b58f8] */ 15800 RECOMP_FLAGS_IN(); 15801 goto L_2B06C386; /* 0x2B06C382: jmp 0x2b06c386 */ 15802 L_2B06C384: 15803 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15804 eax = 0; /* 0x2B06C384: xor eax, eax */ 15805 _cf = 0; 15806 _flag_k = FK_TEST; 15807 L_2B06C386: 15808 MEM32(ebx + 0xDC) = eax; /* 0x2B06C386: mov dword ptr [ebx + 0xdc], eax */ 15809 MEM32(eax + 0x5C) = 0x2B06D400u; /* 0x2B06C38C: mov dword ptr [eax + 0x5c], 0x2b06d400 */ 15810 MEM32(eax + 0x60) = ebx; /* 0x2B06C393: mov dword ptr [eax + 0x60], ebx */ 15811 eax = ebx + 0x5C; /* 0x2B06C396: lea eax, [ebx + 0x5c] */ 15812 PUSH32(esp, eax); /* 0x2B06C399: push eax */ 15813 ecx = ebx; /* 0x2B06C39A: mov ecx, ebx */ 15814 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C39C: mov byte ptr [ebp - 4], 1 */ 15815 RECOMP_ICALL(0x2B06CC00u); /* 0x2B06C3A0: call 0x2b06cc00 */ /* not lifted */ 15816 RECOMP_FLAGS_IN(); 15817 ecx = ebx; /* 0x2B06C3A5: mov ecx, ebx */ 15818 RECOMP_ICALL(0x2B06CBD0u); /* 0x2B06C3A7: call 0x2b06cbd0 */ /* not lifted */ 15819 RECOMP_FLAGS_IN(); 15820 eax = MEM32(0x2B0B6048); /* 0x2B06C3AC: mov eax, dword ptr [0x2b0b6048] */ 15821 ecx = MEM32(eax); /* 0x2B06C3B1: mov ecx, dword ptr [eax] */ 15822 PUSH32(esp, 1); /* 0x2B06C3B3: push 1 */ 15823 PUSH32(esp, 0x2B0EB490u); /* 0x2B06C3B5: push 0x2b0eb490 */ 15824 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B06C3BA: call dword ptr [0x2b0b602c] */ 15825 RECOMP_FLAGS_IN(); 15826 /* test eax, eax */ /* 0x2B06C3C0: test eax, eax */ 15827 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15828 _cf = 0; 15829 _flag_k = FK_TEST; 15830 SET_LO8(eax, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B06C3C2: setne al */ 15831 /* test LO8(eax), LO8(eax) */ /* 0x2B06C3C5: test al, al */ 15832 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15833 _cf = 0; 15834 _flag_k = FK_NARROW(FK_TEST, 24); 15835 MEM8(ebx + 0x58) = (uint8_t)(LO8(eax)); /* 0x2B06C3C7: mov byte ptr [ebx + 0x58], al */ 15836 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06C3DA; /* 0x2B06C3CA: jne 0x2b06c3da */ 15837 L_2B06C3CC: 15838 ecx = MEM32(ebx + 0xCC); /* 0x2B06C3CC: mov ecx, dword ptr [ebx + 0xcc] */ 15839 PUSH32(esp, 2); /* 0x2B06C3D2: push 2 */ 15840 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06C3D4: call dword ptr [0x2b0b5ab4] */ 15841 RECOMP_FLAGS_IN(); 15842 L_2B06C3DA: 15843 ecx = MEM32(ebp + (-0xC)); /* 0x2B06C3DA: mov ecx, dword ptr [ebp - 0xc] */ 15844 edi = POP32_VAL(esp); /* 0x2B06C3DD: pop edi */ 15845 esi = POP32_VAL(esp); /* 0x2B06C3DE: pop esi */ 15846 eax = ebx; /* 0x2B06C3DF: mov eax, ebx */ 15847 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06C3E1: mov dword ptr fs:[0], ecx */ 15848 ebx = POP32_VAL(esp); /* 0x2B06C3E8: pop ebx */ 15849 esp = ebp; /* 0x2B06C3E9: mov esp, ebp */ 15850 ebp = POP32_VAL(esp); /* 0x2B06C3EB: pop ebp */ 15851 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06C3EC: ret 4 */ 15852 RECOMP_REGS_OUT(); 15853 } 15854 15855 void sub_2B06C2FC(void) { 15856 int _fpu_cmp = 0; 15857 uint32_t _cf = 0; 15858 int _df = 1; 15859 uint32_t _flag_k = FK_NONE; 15860 uint32_t _flag_a = 0, _flag_b = 0; 15861 uint32_t _itail_tgt = 0; 15862 RECOMP_REGS_LOCALS 15863 RECOMP_ENTER(0x2B06C2FCu); 15864 15865 L_2B06C2FC: 15866 PUSH32(esp, ebx); /* 0x2B06C2FC: push ebx */ 15867 PUSH32(esp, 0x2B06D3C0u); /* 0x2B06C2FD: push 0x2b06d3c0 */ 15868 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C302: mov byte ptr [ebp - 4], 1 */ 15869 MEM32(ebx + 0xD8) = ecx; /* 0x2B06C306: mov dword ptr [ebx + 0xd8], ecx */ 15870 RECOMP_ICALL(MEM32(0x2B0B5744)); /* 0x2B06C30C: call dword ptr [0x2b0b5744] */ 15871 RECOMP_FLAGS_IN(); 15872 ecx = MEM32(ebx + 0xD8); /* 0x2B06C312: mov ecx, dword ptr [ebx + 0xd8] */ 15873 PUSH32(esp, 0x64u); /* 0x2B06C318: push 0x64 */ 15874 RECOMP_ICALL(MEM32(0x2B0B5778)); /* 0x2B06C31A: call dword ptr [0x2b0b5778] */ 15875 RECOMP_FLAGS_IN(); 15876 eax = MEM32(ebx + 0x9C); /* 0x2B06C320: mov eax, dword ptr [ebx + 0x9c] */ 15877 ecx = MEM32(eax + 0x34); /* 0x2B06C326: mov ecx, dword ptr [eax + 0x34] */ 15878 RECOMP_ICALL(MEM32(0x2B0B56F8)); /* 0x2B06C329: call dword ptr [0x2b0b56f8] */ 15879 RECOMP_FLAGS_IN(); 15880 ecx = MEM32(ebx + 0xD8); /* 0x2B06C32F: mov ecx, dword ptr [ebx + 0xd8] */ 15881 MEM32(ebx + 0x48) = eax; /* 0x2B06C335: mov dword ptr [ebx + 0x48], eax */ 15882 PUSH32(esp, 0x64u); /* 0x2B06C338: push 0x64 */ 15883 MEM32(ecx + 0x98) = eax; /* 0x2B06C33A: mov dword ptr [ecx + 0x98], eax */ 15884 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06C340: call 0x2b0ab212 */ /* not lifted */ 15885 RECOMP_FLAGS_IN(); 15886 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15887 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15888 esp = esp + 4; /* 0x2B06C345: add esp, 4 */ 15889 _flag_k = FK_ADD; 15890 MEM32(ebp + 0x8) = eax; /* 0x2B06C348: mov dword ptr [ebp + 8], eax */ 15891 /* cmp eax, esi */ /* 0x2B06C34B: cmp eax, esi */ 15892 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 15893 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15894 _flag_k = FK_CMP; 15895 MEM8(ebp + (-0x4)) = (uint8_t)(0x17u); /* 0x2B06C34D: mov byte ptr [ebp - 4], 0x17 */ 15896 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C384; /* 0x2B06C351: je 0x2b06c384 */ 15897 L_2B06C353: 15898 ecx = MEM32(ebx + 0x98); /* 0x2B06C353: mov ecx, dword ptr [ebx + 0x98] */ 15899 PUSH32(esp, ecx); /* 0x2B06C359: push ecx */ 15900 PUSH32(esp, esi); /* 0x2B06C35A: push esi */ 15901 PUSH32(esp, 0x30u); /* 0x2B06C35B: push 0x30 */ 15902 PUSH32(esp, esi); /* 0x2B06C35D: push esi */ 15903 PUSH32(esp, 0x6D63u); /* 0x2B06C35E: push 0x6d63 */ 15904 PUSH32(esp, 0x9Eu); /* 0x2B06C363: push 0x9e */ 15905 PUSH32(esp, esi); /* 0x2B06C368: push esi */ 15906 PUSH32(esp, 0x9Fu); /* 0x2B06C369: push 0x9f */ 15907 PUSH32(esp, 0x36u); /* 0x2B06C36E: push 0x36 */ 15908 PUSH32(esp, 0x36u); /* 0x2B06C370: push 0x36 */ 15909 PUSH32(esp, 3); /* 0x2B06C372: push 3 */ 15910 PUSH32(esp, 3); /* 0x2B06C374: push 3 */ 15911 edx = ebp + (-0x14); /* 0x2B06C376: lea edx, [ebp - 0x14] */ 15912 PUSH32(esp, edx); /* 0x2B06C379: push edx */ 15913 ecx = eax; /* 0x2B06C37A: mov ecx, eax */ 15914 RECOMP_ICALL(MEM32(0x2B0B58F8)); /* 0x2B06C37C: call dword ptr [0x2b0b58f8] */ 15915 RECOMP_FLAGS_IN(); 15916 goto L_2B06C386; /* 0x2B06C382: jmp 0x2b06c386 */ 15917 L_2B06C384: 15918 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15919 eax = 0; /* 0x2B06C384: xor eax, eax */ 15920 _cf = 0; 15921 _flag_k = FK_TEST; 15922 L_2B06C386: 15923 MEM32(ebx + 0xDC) = eax; /* 0x2B06C386: mov dword ptr [ebx + 0xdc], eax */ 15924 MEM32(eax + 0x5C) = 0x2B06D400u; /* 0x2B06C38C: mov dword ptr [eax + 0x5c], 0x2b06d400 */ 15925 MEM32(eax + 0x60) = ebx; /* 0x2B06C393: mov dword ptr [eax + 0x60], ebx */ 15926 eax = ebx + 0x5C; /* 0x2B06C396: lea eax, [ebx + 0x5c] */ 15927 PUSH32(esp, eax); /* 0x2B06C399: push eax */ 15928 ecx = ebx; /* 0x2B06C39A: mov ecx, ebx */ 15929 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C39C: mov byte ptr [ebp - 4], 1 */ 15930 RECOMP_ICALL(0x2B06CC00u); /* 0x2B06C3A0: call 0x2b06cc00 */ /* not lifted */ 15931 RECOMP_FLAGS_IN(); 15932 ecx = ebx; /* 0x2B06C3A5: mov ecx, ebx */ 15933 RECOMP_ICALL(0x2B06CBD0u); /* 0x2B06C3A7: call 0x2b06cbd0 */ /* not lifted */ 15934 RECOMP_FLAGS_IN(); 15935 eax = MEM32(0x2B0B6048); /* 0x2B06C3AC: mov eax, dword ptr [0x2b0b6048] */ 15936 ecx = MEM32(eax); /* 0x2B06C3B1: mov ecx, dword ptr [eax] */ 15937 PUSH32(esp, 1); /* 0x2B06C3B3: push 1 */ 15938 PUSH32(esp, 0x2B0EB490u); /* 0x2B06C3B5: push 0x2b0eb490 */ 15939 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B06C3BA: call dword ptr [0x2b0b602c] */ 15940 RECOMP_FLAGS_IN(); 15941 /* test eax, eax */ /* 0x2B06C3C0: test eax, eax */ 15942 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15943 _cf = 0; 15944 _flag_k = FK_TEST; 15945 SET_LO8(eax, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B06C3C2: setne al */ 15946 /* test LO8(eax), LO8(eax) */ /* 0x2B06C3C5: test al, al */ 15947 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15948 _cf = 0; 15949 _flag_k = FK_NARROW(FK_TEST, 24); 15950 MEM8(ebx + 0x58) = (uint8_t)(LO8(eax)); /* 0x2B06C3C7: mov byte ptr [ebx + 0x58], al */ 15951 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06C3DA; /* 0x2B06C3CA: jne 0x2b06c3da */ 15952 L_2B06C3CC: 15953 ecx = MEM32(ebx + 0xCC); /* 0x2B06C3CC: mov ecx, dword ptr [ebx + 0xcc] */ 15954 PUSH32(esp, 2); /* 0x2B06C3D2: push 2 */ 15955 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06C3D4: call dword ptr [0x2b0b5ab4] */ 15956 RECOMP_FLAGS_IN(); 15957 L_2B06C3DA: 15958 ecx = MEM32(ebp + (-0xC)); /* 0x2B06C3DA: mov ecx, dword ptr [ebp - 0xc] */ 15959 edi = POP32_VAL(esp); /* 0x2B06C3DD: pop edi */ 15960 esi = POP32_VAL(esp); /* 0x2B06C3DE: pop esi */ 15961 eax = ebx; /* 0x2B06C3DF: mov eax, ebx */ 15962 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06C3E1: mov dword ptr fs:[0], ecx */ 15963 ebx = POP32_VAL(esp); /* 0x2B06C3E8: pop ebx */ 15964 esp = ebp; /* 0x2B06C3E9: mov esp, ebp */ 15965 ebp = POP32_VAL(esp); /* 0x2B06C3EB: pop ebp */ 15966 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06C3EC: ret 4 */ 15967 RECOMP_REGS_OUT(); 15968 } 15969 15970 void sub_2B06C386(void) { 15971 int _fpu_cmp = 0; 15972 uint32_t _cf = 0; 15973 int _df = 1; 15974 uint32_t _flag_k = FK_NONE; 15975 uint32_t _flag_a = 0, _flag_b = 0; 15976 uint32_t _itail_tgt = 0; 15977 RECOMP_REGS_LOCALS 15978 RECOMP_ENTER(0x2B06C386u); 15979 15980 L_2B06C386: 15981 MEM32(ebx + 0xDC) = eax; /* 0x2B06C386: mov dword ptr [ebx + 0xdc], eax */ 15982 MEM32(eax + 0x5C) = 0x2B06D400u; /* 0x2B06C38C: mov dword ptr [eax + 0x5c], 0x2b06d400 */ 15983 MEM32(eax + 0x60) = ebx; /* 0x2B06C393: mov dword ptr [eax + 0x60], ebx */ 15984 eax = ebx + 0x5C; /* 0x2B06C396: lea eax, [ebx + 0x5c] */ 15985 PUSH32(esp, eax); /* 0x2B06C399: push eax */ 15986 ecx = ebx; /* 0x2B06C39A: mov ecx, ebx */ 15987 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C39C: mov byte ptr [ebp - 4], 1 */ 15988 RECOMP_ICALL(0x2B06CC00u); /* 0x2B06C3A0: call 0x2b06cc00 */ /* not lifted */ 15989 RECOMP_FLAGS_IN(); 15990 ecx = ebx; /* 0x2B06C3A5: mov ecx, ebx */ 15991 RECOMP_ICALL(0x2B06CBD0u); /* 0x2B06C3A7: call 0x2b06cbd0 */ /* not lifted */ 15992 RECOMP_FLAGS_IN(); 15993 eax = MEM32(0x2B0B6048); /* 0x2B06C3AC: mov eax, dword ptr [0x2b0b6048] */ 15994 ecx = MEM32(eax); /* 0x2B06C3B1: mov ecx, dword ptr [eax] */ 15995 PUSH32(esp, 1); /* 0x2B06C3B3: push 1 */ 15996 PUSH32(esp, 0x2B0EB490u); /* 0x2B06C3B5: push 0x2b0eb490 */ 15997 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B06C3BA: call dword ptr [0x2b0b602c] */ 15998 RECOMP_FLAGS_IN(); 15999 /* test eax, eax */ /* 0x2B06C3C0: test eax, eax */ 16000 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 16001 _cf = 0; 16002 _flag_k = FK_TEST; 16003 SET_LO8(eax, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B06C3C2: setne al */ 16004 /* test LO8(eax), LO8(eax) */ /* 0x2B06C3C5: test al, al */ 16005 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 16006 _cf = 0; 16007 _flag_k = FK_NARROW(FK_TEST, 24); 16008 MEM8(ebx + 0x58) = (uint8_t)(LO8(eax)); /* 0x2B06C3C7: mov byte ptr [ebx + 0x58], al */ 16009 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06C3DA; /* 0x2B06C3CA: jne 0x2b06c3da */ 16010 L_2B06C3CC: 16011 ecx = MEM32(ebx + 0xCC); /* 0x2B06C3CC: mov ecx, dword ptr [ebx + 0xcc] */ 16012 PUSH32(esp, 2); /* 0x2B06C3D2: push 2 */ 16013 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06C3D4: call dword ptr [0x2b0b5ab4] */ 16014 RECOMP_FLAGS_IN(); 16015 L_2B06C3DA: 16016 ecx = MEM32(ebp + (-0xC)); /* 0x2B06C3DA: mov ecx, dword ptr [ebp - 0xc] */ 16017 edi = POP32_VAL(esp); /* 0x2B06C3DD: pop edi */ 16018 esi = POP32_VAL(esp); /* 0x2B06C3DE: pop esi */ 16019 eax = ebx; /* 0x2B06C3DF: mov eax, ebx */ 16020 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06C3E1: mov dword ptr fs:[0], ecx */ 16021 ebx = POP32_VAL(esp); /* 0x2B06C3E8: pop ebx */ 16022 esp = ebp; /* 0x2B06C3E9: mov esp, ebp */ 16023 ebp = POP32_VAL(esp); /* 0x2B06C3EB: pop ebp */ 16024 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06C3EC: ret 4 */ 16025 RECOMP_REGS_OUT(); 16026 } 16027 16028 void sub_2B06C3F0(void) { 16029 int _fpu_cmp = 0; 16030 uint32_t _cf = 0; 16031 int _df = 1; 16032 uint32_t _flag_k = FK_NONE; 16033 uint32_t _flag_a = 0, _flag_b = 0; 16034 uint32_t _itail_tgt = 0; 16035 RECOMP_REGS_LOCALS 16036 RECOMP_ENTER(0x2B06C3F0u); 16037 16038 L_2B06C3F0: 16039 PUSH32(esp, ebp); /* 0x2B06C3F0: push ebp */ 16040 ebp = esp; /* 0x2B06C3F1: mov ebp, esp */ 16041 PUSH32(esp, esi); /* 0x2B06C3F3: push esi */ 16042 esi = ecx; /* 0x2B06C3F4: mov esi, ecx */ 16043 RECOMP_ICALL(MEM32(0x2B0B5754)); /* 0x2B06C3F6: call dword ptr [0x2b0b5754] */ 16044 RECOMP_FLAGS_IN(); 16045 /* test MEM8(ebp + 0x8), 1 */ /* 0x2B06C3FC: test byte ptr [ebp + 8], 1 */ 16046 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 16047 _cf = 0; 16048 _flag_k = FK_NARROW(FK_TEST, 24); 16049 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C40B; /* 0x2B06C400: je 0x2b06c40b */ 16050 L_2B06C402: 16051 PUSH32(esp, esi); /* 0x2B06C402: push esi */ 16052 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06C403: call 0x2b0ab1ba */ /* not lifted */ 16053 RECOMP_FLAGS_IN(); 16054 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16055 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16056 esp = esp + 4; /* 0x2B06C408: add esp, 4 */ 16057 _flag_k = FK_ADD; 16058 L_2B06C40B: 16059 eax = esi; /* 0x2B06C40B: mov eax, esi */ 16060 esi = POP32_VAL(esp); /* 0x2B06C40D: pop esi */ 16061 ebp = POP32_VAL(esp); /* 0x2B06C40E: pop ebp */ 16062 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06C40F: ret 4 */ 16063 RECOMP_REGS_OUT(); 16064 } 16065 16066 void sub_2B06C420(void) { 16067 int _fpu_cmp = 0; 16068 uint32_t _cf = 0; 16069 int _df = 1; 16070 uint32_t _flag_k = FK_NONE; 16071 uint32_t _flag_a = 0, _flag_b = 0; 16072 uint32_t _itail_tgt = 0; 16073 RECOMP_REGS_LOCALS 16074 RECOMP_ENTER(0x2B06C420u); 16075 16076 L_2B06C420: 16077 PUSH32(esp, ebp); /* 0x2B06C420: push ebp */ 16078 ebp = esp; /* 0x2B06C421: mov ebp, esp */ 16079 PUSH32(esp, esi); /* 0x2B06C423: push esi */ 16080 esi = ecx; /* 0x2B06C424: mov esi, ecx */ 16081 RECOMP_ICALL(MEM32(0x2B0B5758)); /* 0x2B06C426: call dword ptr [0x2b0b5758] */ 16082 RECOMP_FLAGS_IN(); 16083 /* test MEM8(ebp + 0x8), 1 */ /* 0x2B06C42C: test byte ptr [ebp + 8], 1 */ 16084 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 16085 _cf = 0; 16086 _flag_k = FK_NARROW(FK_TEST, 24); 16087 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C43B; /* 0x2B06C430: je 0x2b06c43b */ 16088 L_2B06C432: 16089 PUSH32(esp, esi); /* 0x2B06C432: push esi */ 16090 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06C433: call 0x2b0ab1ba */ /* not lifted */ 16091 RECOMP_FLAGS_IN(); 16092 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16093 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16094 esp = esp + 4; /* 0x2B06C438: add esp, 4 */ 16095 _flag_k = FK_ADD; 16096 L_2B06C43B: 16097 eax = esi; /* 0x2B06C43B: mov eax, esi */ 16098 esi = POP32_VAL(esp); /* 0x2B06C43D: pop esi */ 16099 ebp = POP32_VAL(esp); /* 0x2B06C43E: pop ebp */ 16100 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06C43F: ret 4 */ 16101 RECOMP_REGS_OUT(); 16102 } 16103 16104 void sub_2B06C450(void) { 16105 int _fpu_cmp = 0; 16106 uint32_t _cf = 0; 16107 int _df = 1; 16108 uint32_t _flag_k = FK_NONE; 16109 uint32_t _flag_a = 0, _flag_b = 0; 16110 uint32_t _itail_tgt = 0; 16111 RECOMP_REGS_LOCALS 16112 RECOMP_ENTER(0x2B06C450u); 16113 16114 L_2B06C450: 16115 PUSH32(esp, ebp); /* 0x2B06C450: push ebp */ 16116 ebp = esp; /* 0x2B06C451: mov ebp, esp */ 16117 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06C453: push -1 */ 16118 PUSH32(esp, 0x2B0B11B8u); /* 0x2B06C455: push 0x2b0b11b8 */ 16119 eax = MEM32(FS_BASE + (0)); /* 0x2B06C45A: mov eax, dword ptr fs:[0] */ 16120 PUSH32(esp, eax); /* 0x2B06C460: push eax */ 16121 MEM32(FS_BASE + (0)) = esp; /* 0x2B06C461: mov dword ptr fs:[0], esp */ 16122 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 16123 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16124 esp = esp - 0x10u; /* 0x2B06C468: sub esp, 0x10 */ 16125 _flag_k = FK_CMP; 16126 PUSH32(esp, ebx); /* 0x2B06C46B: push ebx */ 16127 PUSH32(esp, esi); /* 0x2B06C46C: push esi */ 16128 esi = ecx; /* 0x2B06C46D: mov esi, ecx */ 16129 PUSH32(esp, edi); /* 0x2B06C46F: push edi */ 16130 MEM32(ebp + (-0x18)) = esi; /* 0x2B06C470: mov dword ptr [ebp - 0x18], esi */ 16131 edx = MEM32(esi + 0x5C); /* 0x2B06C473: mov edx, dword ptr [esi + 0x5c] */ 16132 eax = MEM32(0x2B0B6048); /* 0x2B06C476: mov eax, dword ptr [0x2b0b6048] */ 16133 ecx = MEM32(eax); /* 0x2B06C47B: mov ecx, dword ptr [eax] */ 16134 edi = MEM32(0x2B0B604C); /* 0x2B06C47D: mov edi, dword ptr [0x2b0b604c] */ 16135 PUSH32(esp, 1); /* 0x2B06C483: push 1 */ 16136 PUSH32(esp, 1); /* 0x2B06C485: push 1 */ 16137 PUSH32(esp, edx); /* 0x2B06C487: push edx */ 16138 PUSH32(esp, 0x2B0EB4F0u); /* 0x2B06C488: push 0x2b0eb4f0 */ 16139 MEM32(ebp + (-0x4)) = 1; /* 0x2B06C48D: mov dword ptr [ebp - 4], 1 */ 16140 RECOMP_ICALL(edi); /* 0x2B06C494: call edi */ 16141 RECOMP_FLAGS_IN(); 16142 edx = MEM32(esi + 0x60); /* 0x2B06C496: mov edx, dword ptr [esi + 0x60] */ 16143 eax = MEM32(0x2B0B6048); /* 0x2B06C499: mov eax, dword ptr [0x2b0b6048] */ 16144 ecx = MEM32(eax); /* 0x2B06C49E: mov ecx, dword ptr [eax] */ 16145 PUSH32(esp, 1); /* 0x2B06C4A0: push 1 */ 16146 PUSH32(esp, 1); /* 0x2B06C4A2: push 1 */ 16147 PUSH32(esp, edx); /* 0x2B06C4A4: push edx */ 16148 PUSH32(esp, 0x2B0EB4E8u); /* 0x2B06C4A5: push 0x2b0eb4e8 */ 16149 RECOMP_ICALL(edi); /* 0x2B06C4AA: call edi */ 16150 RECOMP_FLAGS_IN(); 16151 ecx = esi; /* 0x2B06C4AC: mov ecx, esi */ 16152 RECOMP_ICALL(0x2B073330u); /* 0x2B06C4AE: call 0x2b073330 */ /* not lifted */ 16153 RECOMP_FLAGS_IN(); 16154 edi = MEM32(esi + 0xDC); /* 0x2B06C4B3: mov edi, dword ptr [esi + 0xdc] */ 16155 /* test edi, edi */ /* 0x2B06C4B9: test edi, edi */ 16156 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16157 _cf = 0; 16158 _flag_k = FK_TEST; 16159 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C4CE; /* 0x2B06C4BB: je 0x2b06c4ce */ 16160 L_2B06C4BD: 16161 ecx = edi; /* 0x2B06C4BD: mov ecx, edi */ 16162 RECOMP_ICALL(MEM32(0x2B0B58E8)); /* 0x2B06C4BF: call dword ptr [0x2b0b58e8] */ 16163 RECOMP_FLAGS_IN(); 16164 PUSH32(esp, edi); /* 0x2B06C4C5: push edi */ 16165 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06C4C6: call 0x2b0ab1ba */ /* not lifted */ 16166 RECOMP_FLAGS_IN(); 16167 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16168 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16169 esp = esp + 4; /* 0x2B06C4CB: add esp, 4 */ 16170 _flag_k = FK_ADD; 16171 L_2B06C4CE: 16172 ecx = MEM32(esi + 0xD8); /* 0x2B06C4CE: mov ecx, dword ptr [esi + 0xd8] */ 16173 /* test ecx, ecx */ /* 0x2B06C4D4: test ecx, ecx */ 16174 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16175 _cf = 0; 16176 _flag_k = FK_TEST; 16177 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C4DE; /* 0x2B06C4D6: je 0x2b06c4de */ 16178 L_2B06C4D8: 16179 eax = MEM32(ecx); /* 0x2B06C4D8: mov eax, dword ptr [ecx] */ 16180 PUSH32(esp, 1); /* 0x2B06C4DA: push 1 */ 16181 RECOMP_ICALL(MEM32(eax)); /* 0x2B06C4DC: call dword ptr [eax] */ 16182 RECOMP_FLAGS_IN(); 16183 L_2B06C4DE: 16184 ecx = MEM32(esi + 0x88); /* 0x2B06C4DE: mov ecx, dword ptr [esi + 0x88] */ 16185 /* test ecx, ecx */ /* 0x2B06C4E4: test ecx, ecx */ 16186 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16187 _cf = 0; 16188 _flag_k = FK_TEST; 16189 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C4EE; /* 0x2B06C4E6: je 0x2b06c4ee */ 16190 L_2B06C4E8: 16191 edx = MEM32(ecx); /* 0x2B06C4E8: mov edx, dword ptr [ecx] */ 16192 PUSH32(esp, 1); /* 0x2B06C4EA: push 1 */ 16193 RECOMP_ICALL(MEM32(edx)); /* 0x2B06C4EC: call dword ptr [edx] */ 16194 RECOMP_FLAGS_IN(); 16195 L_2B06C4EE: 16196 ecx = MEM32(esi + 0x8C); /* 0x2B06C4EE: mov ecx, dword ptr [esi + 0x8c] */ 16197 /* test ecx, ecx */ /* 0x2B06C4F4: test ecx, ecx */ 16198 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16199 _cf = 0; 16200 _flag_k = FK_TEST; 16201 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C4FE; /* 0x2B06C4F6: je 0x2b06c4fe */ 16202 L_2B06C4F8: 16203 eax = MEM32(ecx); /* 0x2B06C4F8: mov eax, dword ptr [ecx] */ 16204 PUSH32(esp, 1); /* 0x2B06C4FA: push 1 */ 16205 RECOMP_ICALL(MEM32(eax)); /* 0x2B06C4FC: call dword ptr [eax] */ 16206 RECOMP_FLAGS_IN(); 16207 L_2B06C4FE: 16208 edi = MEM32(esi + 0x28); /* 0x2B06C4FE: mov edi, dword ptr [esi + 0x28] */ 16209 /* test edi, edi */ /* 0x2B06C501: test edi, edi */ 16210 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16211 _cf = 0; 16212 _flag_k = FK_TEST; 16213 MEM32(ebp + (-0x14)) = edi; /* 0x2B06C503: mov dword ptr [ebp - 0x14], edi */ 16214 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C53A; /* 0x2B06C506: je 0x2b06c53a */ 16215 L_2B06C508: 16216 ecx = MEM32(edi + 0x10); /* 0x2B06C508: mov ecx, dword ptr [edi + 0x10] */ 16217 /* test ecx, ecx */ /* 0x2B06C50B: test ecx, ecx */ 16218 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16219 _cf = 0; 16220 _flag_k = FK_TEST; 16221 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B06C50D: mov byte ptr [ebp - 4], 2 */ 16222 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C523; /* 0x2B06C511: je 0x2b06c523 */ 16223 L_2B06C513: 16224 _flag_a = (uint32_t)(MEM32(ecx + 0x2C)); _flag_b = (uint32_t)(1); 16225 MEM32(ecx + 0x2C) = MEM32(ecx + 0x2C) - 1; /* 0x2B06C513: dec dword ptr [ecx + 0x2c] */ 16226 _flag_k = FK_DEC; 16227 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B06C523; /* 0x2B06C516: jne 0x2b06c523 */ 16228 L_2B06C518: 16229 /* test ecx, ecx */ /* 0x2B06C518: test ecx, ecx */ 16230 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16231 _cf = 0; 16232 _flag_k = FK_TEST; 16233 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C523; /* 0x2B06C51A: je 0x2b06c523 */ 16234 L_2B06C51C: 16235 PUSH32(esp, 1); /* 0x2B06C51C: push 1 */ 16236 RECOMP_ICALL(0x2B007900u); /* 0x2B06C51E: call 0x2b007900 */ /* not lifted */ 16237 RECOMP_FLAGS_IN(); 16238 L_2B06C523: 16239 PUSH32(esp, 1); /* 0x2B06C523: push 1 */ 16240 ecx = edi; /* 0x2B06C525: mov ecx, edi */ 16241 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C527: mov byte ptr [ebp - 4], 1 */ 16242 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B06C52B: call dword ptr [0x2b0b514c] */ 16243 RECOMP_FLAGS_IN(); 16244 PUSH32(esp, edi); /* 0x2B06C531: push edi */ 16245 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06C532: call 0x2b0ab1ba */ /* not lifted */ 16246 RECOMP_FLAGS_IN(); 16247 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16248 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16249 esp = esp + 4; /* 0x2B06C537: add esp, 4 */ 16250 _flag_k = FK_ADD; 16251 L_2B06C53A: 16252 edi = MEM32(esi + 0x2C); /* 0x2B06C53A: mov edi, dword ptr [esi + 0x2c] */ 16253 /* test edi, edi */ /* 0x2B06C53D: test edi, edi */ 16254 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16255 _cf = 0; 16256 _flag_k = FK_TEST; 16257 MEM32(ebp + (-0x14)) = edi; /* 0x2B06C53F: mov dword ptr [ebp - 0x14], edi */ 16258 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C576; /* 0x2B06C542: je 0x2b06c576 */ 16259 L_2B06C544: 16260 ecx = MEM32(edi + 0x10); /* 0x2B06C544: mov ecx, dword ptr [edi + 0x10] */ 16261 /* test ecx, ecx */ /* 0x2B06C547: test ecx, ecx */ 16262 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16263 _cf = 0; 16264 _flag_k = FK_TEST; 16265 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B06C549: mov byte ptr [ebp - 4], 3 */ 16266 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C55F; /* 0x2B06C54D: je 0x2b06c55f */ 16267 L_2B06C54F: 16268 _flag_a = (uint32_t)(MEM32(ecx + 0x2C)); _flag_b = (uint32_t)(1); 16269 MEM32(ecx + 0x2C) = MEM32(ecx + 0x2C) - 1; /* 0x2B06C54F: dec dword ptr [ecx + 0x2c] */ 16270 _flag_k = FK_DEC; 16271 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B06C55F; /* 0x2B06C552: jne 0x2b06c55f */ 16272 L_2B06C554: 16273 /* test ecx, ecx */ /* 0x2B06C554: test ecx, ecx */ 16274 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16275 _cf = 0; 16276 _flag_k = FK_TEST; 16277 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C55F; /* 0x2B06C556: je 0x2b06c55f */ 16278 L_2B06C558: 16279 PUSH32(esp, 1); /* 0x2B06C558: push 1 */ 16280 RECOMP_ICALL(0x2B007900u); /* 0x2B06C55A: call 0x2b007900 */ /* not lifted */ 16281 RECOMP_FLAGS_IN(); 16282 L_2B06C55F: 16283 PUSH32(esp, 1); /* 0x2B06C55F: push 1 */ 16284 ecx = edi; /* 0x2B06C561: mov ecx, edi */ 16285 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B06C563: mov byte ptr [ebp - 4], 1 */ 16286 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B06C567: call dword ptr [0x2b0b514c] */ 16287 RECOMP_FLAGS_IN(); 16288 PUSH32(esp, edi); /* 0x2B06C56D: push edi */ 16289 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06C56E: 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; /* 0x2B06C573: add esp, 4 */ 16294 _flag_k = FK_ADD; 16295 L_2B06C576: 16296 ecx = MEM32(esi + 0x9C); /* 0x2B06C576: mov ecx, dword ptr [esi + 0x9c] */ 16297 /* test ecx, ecx */ /* 0x2B06C57C: 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_2B06C586; /* 0x2B06C57E: je 0x2b06c586 */ 16302 L_2B06C580: 16303 edx = MEM32(ecx); /* 0x2B06C580: mov edx, dword ptr [ecx] */ 16304 PUSH32(esp, 1); /* 0x2B06C582: push 1 */ 16305 RECOMP_ICALL(MEM32(edx)); /* 0x2B06C584: call dword ptr [edx] */ 16306 RECOMP_FLAGS_IN(); 16307 L_2B06C586: 16308 ecx = MEM32(esi + 0xA0); /* 0x2B06C586: mov ecx, dword ptr [esi + 0xa0] */ 16309 /* test ecx, ecx */ /* 0x2B06C58C: test ecx, ecx */ 16310 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16311 _cf = 0; 16312 _flag_k = FK_TEST; 16313 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C596; /* 0x2B06C58E: je 0x2b06c596 */ 16314 L_2B06C590: 16315 eax = MEM32(ecx); /* 0x2B06C590: mov eax, dword ptr [ecx] */ 16316 PUSH32(esp, 1); /* 0x2B06C592: push 1 */ 16317 RECOMP_ICALL(MEM32(eax)); /* 0x2B06C594: call dword ptr [eax] */ 16318 RECOMP_FLAGS_IN(); 16319 L_2B06C596: 16320 ecx = MEM32(esi + 0xD4); /* 0x2B06C596: mov ecx, dword ptr [esi + 0xd4] */ 16321 /* test ecx, ecx */ /* 0x2B06C59C: test ecx, ecx */ 16322 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16323 _cf = 0; 16324 _flag_k = FK_TEST; 16325 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C5A6; /* 0x2B06C59E: je 0x2b06c5a6 */ 16326 L_2B06C5A0: 16327 edx = MEM32(ecx); /* 0x2B06C5A0: mov edx, dword ptr [ecx] */ 16328 PUSH32(esp, 1); /* 0x2B06C5A2: push 1 */ 16329 RECOMP_ICALL(MEM32(edx)); /* 0x2B06C5A4: call dword ptr [edx] */ 16330 RECOMP_FLAGS_IN(); 16331 L_2B06C5A6: 16332 edi = MEM32(esi + 0x98); /* 0x2B06C5A6: mov edi, dword ptr [esi + 0x98] */ 16333 /* test edi, edi */ /* 0x2B06C5AC: test edi, edi */ 16334 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16335 _cf = 0; 16336 _flag_k = FK_TEST; 16337 ebx = MEM32(0x2B0B5BC4); /* 0x2B06C5AE: mov ebx, dword ptr [0x2b0b5bc4] */ 16338 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C5C3; /* 0x2B06C5B4: je 0x2b06c5c3 */ 16339 L_2B06C5B6: 16340 ecx = edi; /* 0x2B06C5B6: mov ecx, edi */ 16341 RECOMP_ICALL(ebx); /* 0x2B06C5B8: call ebx */ 16342 RECOMP_FLAGS_IN(); 16343 PUSH32(esp, edi); /* 0x2B06C5BA: push edi */ 16344 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06C5BB: call 0x2b0ab1ba */ /* not lifted */ 16345 RECOMP_FLAGS_IN(); 16346 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16347 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16348 esp = esp + 4; /* 0x2B06C5C0: add esp, 4 */ 16349 _flag_k = FK_ADD; 16350 L_2B06C5C3: 16351 ecx = MEM32(esi + 0x94); /* 0x2B06C5C3: mov ecx, dword ptr [esi + 0x94] */ 16352 /* test ecx, ecx */ /* 0x2B06C5C9: test ecx, ecx */ 16353 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16354 _cf = 0; 16355 _flag_k = FK_TEST; 16356 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C5D3; /* 0x2B06C5CB: je 0x2b06c5d3 */ 16357 L_2B06C5CD: 16358 eax = MEM32(ecx); /* 0x2B06C5CD: mov eax, dword ptr [ecx] */ 16359 PUSH32(esp, 1); /* 0x2B06C5CF: push 1 */ 16360 RECOMP_ICALL(MEM32(eax)); /* 0x2B06C5D1: call dword ptr [eax] */ 16361 RECOMP_FLAGS_IN(); 16362 L_2B06C5D3: 16363 edi = MEM32(esi + 0x90); /* 0x2B06C5D3: mov edi, dword ptr [esi + 0x90] */ 16364 /* test edi, edi */ /* 0x2B06C5D9: test edi, edi */ 16365 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16366 _cf = 0; 16367 _flag_k = FK_TEST; 16368 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C5EE; /* 0x2B06C5DB: je 0x2b06c5ee */ 16369 L_2B06C5DD: 16370 ecx = edi; /* 0x2B06C5DD: mov ecx, edi */ 16371 RECOMP_ICALL(MEM32(0x2B0B5644)); /* 0x2B06C5DF: call dword ptr [0x2b0b5644] */ 16372 RECOMP_FLAGS_IN(); 16373 PUSH32(esp, edi); /* 0x2B06C5E5: push edi */ 16374 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06C5E6: call 0x2b0ab1ba */ /* not lifted */ 16375 RECOMP_FLAGS_IN(); 16376 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16377 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16378 esp = esp + 4; /* 0x2B06C5EB: add esp, 4 */ 16379 _flag_k = FK_ADD; 16380 L_2B06C5EE: 16381 ecx = MEM32(esi + 0xC4); /* 0x2B06C5EE: mov ecx, dword ptr [esi + 0xc4] */ 16382 /* test ecx, ecx */ /* 0x2B06C5F4: test ecx, ecx */ 16383 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16384 _cf = 0; 16385 _flag_k = FK_TEST; 16386 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C5FE; /* 0x2B06C5F6: je 0x2b06c5fe */ 16387 L_2B06C5F8: 16388 edx = MEM32(ecx); /* 0x2B06C5F8: mov edx, dword ptr [ecx] */ 16389 PUSH32(esp, 1); /* 0x2B06C5FA: push 1 */ 16390 RECOMP_ICALL(MEM32(edx)); /* 0x2B06C5FC: call dword ptr [edx] */ 16391 RECOMP_FLAGS_IN(); 16392 L_2B06C5FE: 16393 ecx = MEM32(esi + 0xC8); /* 0x2B06C5FE: mov ecx, dword ptr [esi + 0xc8] */ 16394 /* test ecx, ecx */ /* 0x2B06C604: test ecx, ecx */ 16395 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16396 _cf = 0; 16397 _flag_k = FK_TEST; 16398 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C60E; /* 0x2B06C606: je 0x2b06c60e */ 16399 L_2B06C608: 16400 eax = MEM32(ecx); /* 0x2B06C608: mov eax, dword ptr [ecx] */ 16401 PUSH32(esp, 1); /* 0x2B06C60A: push 1 */ 16402 RECOMP_ICALL(MEM32(eax)); /* 0x2B06C60C: call dword ptr [eax] */ 16403 RECOMP_FLAGS_IN(); 16404 L_2B06C60E: 16405 ecx = MEM32(esi + 0xCC); /* 0x2B06C60E: mov ecx, dword ptr [esi + 0xcc] */ 16406 /* test ecx, ecx */ /* 0x2B06C614: test ecx, ecx */ 16407 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16408 _cf = 0; 16409 _flag_k = FK_TEST; 16410 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C61E; /* 0x2B06C616: je 0x2b06c61e */ 16411 L_2B06C618: 16412 edx = MEM32(ecx); /* 0x2B06C618: mov edx, dword ptr [ecx] */ 16413 PUSH32(esp, 1); /* 0x2B06C61A: push 1 */ 16414 RECOMP_ICALL(MEM32(edx)); /* 0x2B06C61C: call dword ptr [edx] */ 16415 RECOMP_FLAGS_IN(); 16416 L_2B06C61E: 16417 ecx = MEM32(esi + 0xD0); /* 0x2B06C61E: mov ecx, dword ptr [esi + 0xd0] */ 16418 /* test ecx, ecx */ /* 0x2B06C624: test ecx, ecx */ 16419 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16420 _cf = 0; 16421 _flag_k = FK_TEST; 16422 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C62E; /* 0x2B06C626: je 0x2b06c62e */ 16423 L_2B06C628: 16424 eax = MEM32(ecx); /* 0x2B06C628: mov eax, dword ptr [ecx] */ 16425 PUSH32(esp, 1); /* 0x2B06C62A: push 1 */ 16426 RECOMP_ICALL(MEM32(eax)); /* 0x2B06C62C: call dword ptr [eax] */ 16427 RECOMP_FLAGS_IN(); 16428 L_2B06C62E: 16429 edi = MEM32(esi + 0xA4); /* 0x2B06C62E: mov edi, dword ptr [esi + 0xa4] */ 16430 /* test edi, edi */ /* 0x2B06C634: test edi, edi */ 16431 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16432 _cf = 0; 16433 _flag_k = FK_TEST; 16434 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C645; /* 0x2B06C636: je 0x2b06c645 */ 16435 L_2B06C638: 16436 ecx = edi; /* 0x2B06C638: mov ecx, edi */ 16437 RECOMP_ICALL(ebx); /* 0x2B06C63A: call ebx */ 16438 RECOMP_FLAGS_IN(); 16439 PUSH32(esp, edi); /* 0x2B06C63C: push edi */ 16440 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06C63D: call 0x2b0ab1ba */ /* not lifted */ 16441 RECOMP_FLAGS_IN(); 16442 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16443 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16444 esp = esp + 4; /* 0x2B06C642: add esp, 4 */ 16445 _flag_k = FK_ADD; 16446 L_2B06C645: 16447 edi = MEM32(esi + 0xA8); /* 0x2B06C645: mov edi, dword ptr [esi + 0xa8] */ 16448 /* test edi, edi */ /* 0x2B06C64B: test edi, edi */ 16449 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16450 _cf = 0; 16451 _flag_k = FK_TEST; 16452 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C65C; /* 0x2B06C64D: je 0x2b06c65c */ 16453 L_2B06C64F: 16454 ecx = edi; /* 0x2B06C64F: mov ecx, edi */ 16455 RECOMP_ICALL(ebx); /* 0x2B06C651: call ebx */ 16456 RECOMP_FLAGS_IN(); 16457 PUSH32(esp, edi); /* 0x2B06C653: push edi */ 16458 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06C654: call 0x2b0ab1ba */ /* not lifted */ 16459 RECOMP_FLAGS_IN(); 16460 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16461 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16462 esp = esp + 4; /* 0x2B06C659: add esp, 4 */ 16463 _flag_k = FK_ADD; 16464 L_2B06C65C: 16465 ecx = MEM32(esi + 0xAC); /* 0x2B06C65C: mov ecx, dword ptr [esi + 0xac] */ 16466 eax = MEM32(ecx + 0x28); /* 0x2B06C662: mov eax, dword ptr [ecx + 0x28] */ 16467 edi = MEM32(0x2B0B5F80); /* 0x2B06C665: mov edi, dword ptr [0x2b0b5f80] */ 16468 PUSH32(esp, eax); /* 0x2B06C66B: push eax */ 16469 RECOMP_ICALL(edi); /* 0x2B06C66C: call edi */ 16470 RECOMP_FLAGS_IN(); 16471 ebx = MEM32(0x2B0B5FB8); /* 0x2B06C66E: mov ebx, dword ptr [0x2b0b5fb8] */ 16472 ecx = eax; /* 0x2B06C674: mov ecx, eax */ 16473 RECOMP_ICALL(ebx); /* 0x2B06C676: call ebx */ 16474 RECOMP_FLAGS_IN(); 16475 ecx = MEM32(esi + 0xAC); /* 0x2B06C678: mov ecx, dword ptr [esi + 0xac] */ 16476 /* test ecx, ecx */ /* 0x2B06C67E: test ecx, ecx */ 16477 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16478 _cf = 0; 16479 _flag_k = FK_TEST; 16480 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C688; /* 0x2B06C680: je 0x2b06c688 */ 16481 L_2B06C682: 16482 edx = MEM32(ecx); /* 0x2B06C682: mov edx, dword ptr [ecx] */ 16483 PUSH32(esp, 1); /* 0x2B06C684: push 1 */ 16484 RECOMP_ICALL(MEM32(edx)); /* 0x2B06C686: call dword ptr [edx] */ 16485 RECOMP_FLAGS_IN(); 16486 L_2B06C688: 16487 eax = MEM32(esi + 0xB0); /* 0x2B06C688: mov eax, dword ptr [esi + 0xb0] */ 16488 eax = MEM32(eax + 0x28); /* 0x2B06C68E: mov eax, dword ptr [eax + 0x28] */ 16489 PUSH32(esp, eax); /* 0x2B06C691: push eax */ 16490 RECOMP_ICALL(edi); /* 0x2B06C692: call edi */ 16491 RECOMP_FLAGS_IN(); 16492 ecx = eax; /* 0x2B06C694: mov ecx, eax */ 16493 RECOMP_ICALL(ebx); /* 0x2B06C696: call ebx */ 16494 RECOMP_FLAGS_IN(); 16495 ecx = MEM32(esi + 0xB0); /* 0x2B06C698: mov ecx, dword ptr [esi + 0xb0] */ 16496 /* test ecx, ecx */ /* 0x2B06C69E: test ecx, ecx */ 16497 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16498 _cf = 0; 16499 _flag_k = FK_TEST; 16500 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C6A8; /* 0x2B06C6A0: je 0x2b06c6a8 */ 16501 L_2B06C6A2: 16502 edx = MEM32(ecx); /* 0x2B06C6A2: mov edx, dword ptr [ecx] */ 16503 PUSH32(esp, 1); /* 0x2B06C6A4: push 1 */ 16504 RECOMP_ICALL(MEM32(edx)); /* 0x2B06C6A6: call dword ptr [edx] */ 16505 RECOMP_FLAGS_IN(); 16506 L_2B06C6A8: 16507 eax = MEM32(esi + 0xB4); /* 0x2B06C6A8: mov eax, dword ptr [esi + 0xb4] */ 16508 eax = MEM32(eax + 0x28); /* 0x2B06C6AE: mov eax, dword ptr [eax + 0x28] */ 16509 PUSH32(esp, eax); /* 0x2B06C6B1: push eax */ 16510 RECOMP_ICALL(edi); /* 0x2B06C6B2: call edi */ 16511 RECOMP_FLAGS_IN(); 16512 ecx = eax; /* 0x2B06C6B4: mov ecx, eax */ 16513 RECOMP_ICALL(ebx); /* 0x2B06C6B6: call ebx */ 16514 RECOMP_FLAGS_IN(); 16515 ecx = MEM32(esi + 0xB4); /* 0x2B06C6B8: mov ecx, dword ptr [esi + 0xb4] */ 16516 /* test ecx, ecx */ /* 0x2B06C6BE: test ecx, ecx */ 16517 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16518 _cf = 0; 16519 _flag_k = FK_TEST; 16520 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C6C8; /* 0x2B06C6C0: je 0x2b06c6c8 */ 16521 L_2B06C6C2: 16522 edx = MEM32(ecx); /* 0x2B06C6C2: mov edx, dword ptr [ecx] */ 16523 PUSH32(esp, 1); /* 0x2B06C6C4: push 1 */ 16524 RECOMP_ICALL(MEM32(edx)); /* 0x2B06C6C6: call dword ptr [edx] */ 16525 RECOMP_FLAGS_IN(); 16526 L_2B06C6C8: 16527 eax = MEM32(esi + 0xB8); /* 0x2B06C6C8: mov eax, dword ptr [esi + 0xb8] */ 16528 eax = MEM32(eax + 0x28); /* 0x2B06C6CE: mov eax, dword ptr [eax + 0x28] */ 16529 PUSH32(esp, eax); /* 0x2B06C6D1: push eax */ 16530 RECOMP_ICALL(edi); /* 0x2B06C6D2: call edi */ 16531 RECOMP_FLAGS_IN(); 16532 ecx = eax; /* 0x2B06C6D4: mov ecx, eax */ 16533 RECOMP_ICALL(ebx); /* 0x2B06C6D6: call ebx */ 16534 RECOMP_FLAGS_IN(); 16535 ecx = MEM32(esi + 0xB8); /* 0x2B06C6D8: mov ecx, dword ptr [esi + 0xb8] */ 16536 /* test ecx, ecx */ /* 0x2B06C6DE: test ecx, ecx */ 16537 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16538 _cf = 0; 16539 _flag_k = FK_TEST; 16540 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C6E8; /* 0x2B06C6E0: je 0x2b06c6e8 */ 16541 L_2B06C6E2: 16542 edx = MEM32(ecx); /* 0x2B06C6E2: mov edx, dword ptr [ecx] */ 16543 PUSH32(esp, 1); /* 0x2B06C6E4: push 1 */ 16544 RECOMP_ICALL(MEM32(edx)); /* 0x2B06C6E6: call dword ptr [edx] */ 16545 RECOMP_FLAGS_IN(); 16546 L_2B06C6E8: 16547 eax = MEM32(esi + 0xBC); /* 0x2B06C6E8: mov eax, dword ptr [esi + 0xbc] */ 16548 eax = MEM32(eax + 0x28); /* 0x2B06C6EE: mov eax, dword ptr [eax + 0x28] */ 16549 PUSH32(esp, eax); /* 0x2B06C6F1: push eax */ 16550 RECOMP_ICALL(edi); /* 0x2B06C6F2: call edi */ 16551 RECOMP_FLAGS_IN(); 16552 ecx = eax; /* 0x2B06C6F4: mov ecx, eax */ 16553 RECOMP_ICALL(ebx); /* 0x2B06C6F6: call ebx */ 16554 RECOMP_FLAGS_IN(); 16555 ecx = MEM32(esi + 0xBC); /* 0x2B06C6F8: mov ecx, dword ptr [esi + 0xbc] */ 16556 /* test ecx, ecx */ /* 0x2B06C6FE: test ecx, ecx */ 16557 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16558 _cf = 0; 16559 _flag_k = FK_TEST; 16560 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C708; /* 0x2B06C700: je 0x2b06c708 */ 16561 L_2B06C702: 16562 edx = MEM32(ecx); /* 0x2B06C702: mov edx, dword ptr [ecx] */ 16563 PUSH32(esp, 1); /* 0x2B06C704: push 1 */ 16564 RECOMP_ICALL(MEM32(edx)); /* 0x2B06C706: call dword ptr [edx] */ 16565 RECOMP_FLAGS_IN(); 16566 L_2B06C708: 16567 eax = MEM32(esi + 0xC0); /* 0x2B06C708: mov eax, dword ptr [esi + 0xc0] */ 16568 eax = MEM32(eax + 0x28); /* 0x2B06C70E: mov eax, dword ptr [eax + 0x28] */ 16569 PUSH32(esp, eax); /* 0x2B06C711: push eax */ 16570 RECOMP_ICALL(edi); /* 0x2B06C712: call edi */ 16571 RECOMP_FLAGS_IN(); 16572 ecx = eax; /* 0x2B06C714: mov ecx, eax */ 16573 RECOMP_ICALL(ebx); /* 0x2B06C716: call ebx */ 16574 RECOMP_FLAGS_IN(); 16575 ecx = MEM32(esi + 0xC0); /* 0x2B06C718: mov ecx, dword ptr [esi + 0xc0] */ 16576 /* test ecx, ecx */ /* 0x2B06C71E: test ecx, ecx */ 16577 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16578 _cf = 0; 16579 _flag_k = FK_TEST; 16580 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C728; /* 0x2B06C720: je 0x2b06c728 */ 16581 L_2B06C722: 16582 edx = MEM32(ecx); /* 0x2B06C722: mov edx, dword ptr [ecx] */ 16583 PUSH32(esp, 1); /* 0x2B06C724: push 1 */ 16584 RECOMP_ICALL(MEM32(edx)); /* 0x2B06C726: call dword ptr [edx] */ 16585 RECOMP_FLAGS_IN(); 16586 L_2B06C728: 16587 edi = esi + 0xE4; /* 0x2B06C728: lea edi, [esi + 0xe4] */ 16588 MEM32(0x2B0EEE80) = 0; /* 0x2B06C72E: mov dword ptr [0x2b0eee80], 0 */ 16589 MEM32(ebp + (-0x1C)) = edi; /* 0x2B06C738: mov dword ptr [ebp - 0x1c], edi */ 16590 eax = MEM32(edi + 0x24); /* 0x2B06C73B: mov eax, dword ptr [edi + 0x24] */ 16591 ebx = MEM32(edi + 0x20); /* 0x2B06C73E: mov ebx, dword ptr [edi + 0x20] */ 16592 /* cmp ebx, eax */ /* 0x2B06C741: cmp ebx, eax */ 16593 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 16594 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16595 _flag_k = FK_CMP; 16596 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B06C743: mov byte ptr [ebp - 4], 4 */ 16597 MEM32(ebp + (-0x14)) = eax; /* 0x2B06C747: mov dword ptr [ebp - 0x14], eax */ 16598 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C770; /* 0x2B06C74A: je 0x2b06c770 */ 16599 L_2B06C74C: 16600 eax = ebx + 0x8; /* 0x2B06C74C: lea eax, [ebx + 8] */ 16601 MEM32(ebp + (-0x10)) = eax; /* 0x2B06C74F: mov dword ptr [ebp - 0x10], eax */ 16602 L_2B06C752: 16603 ecx = MEM32(ebp + (-0x10)); /* 0x2B06C752: mov ecx, dword ptr [ebp - 0x10] */ 16604 PUSH32(esp, 1); /* 0x2B06C755: push 1 */ 16605 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B06C757: call dword ptr [0x2b0b514c] */ 16606 RECOMP_FLAGS_IN(); 16607 ecx = MEM32(ebp + (-0x10)); /* 0x2B06C75D: mov ecx, dword ptr [ebp - 0x10] */ 16608 eax = MEM32(ebp + (-0x14)); /* 0x2B06C760: mov eax, dword ptr [ebp - 0x14] */ 16609 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x18u); 16610 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16611 ebx = ebx + 0x18u; /* 0x2B06C763: add ebx, 0x18 */ 16612 _flag_k = FK_ADD; 16613 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x18u); 16614 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16615 ecx = ecx + 0x18u; /* 0x2B06C766: add ecx, 0x18 */ 16616 _flag_k = FK_ADD; 16617 /* cmp ebx, eax */ /* 0x2B06C769: cmp ebx, eax */ 16618 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 16619 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16620 _flag_k = FK_CMP; 16621 MEM32(ebp + (-0x10)) = ecx; /* 0x2B06C76B: mov dword ptr [ebp - 0x10], ecx */ 16622 RECOMP_BACKEDGE(); 16623 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06C752; /* 0x2B06C76E: jne 0x2b06c752 */ 16624 L_2B06C770: 16625 eax = MEM32(edi + 0x20); /* 0x2B06C770: mov eax, dword ptr [edi + 0x20] */ 16626 PUSH32(esp, eax); /* 0x2B06C773: push eax */ 16627 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06C774: call 0x2b0ab1ba */ /* not lifted */ 16628 RECOMP_FLAGS_IN(); 16629 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16630 ecx = 0; /* 0x2B06C779: xor ecx, ecx */ 16631 _cf = 0; 16632 _flag_k = FK_TEST; 16633 MEM32(edi + 0x20) = ecx; /* 0x2B06C77B: mov dword ptr [edi + 0x20], ecx */ 16634 MEM32(edi + 0x24) = ecx; /* 0x2B06C77E: mov dword ptr [edi + 0x24], ecx */ 16635 MEM32(edi + 0x28) = ecx; /* 0x2B06C781: mov dword ptr [edi + 0x28], ecx */ 16636 eax = MEM32(edi + 0xC); /* 0x2B06C784: mov eax, dword ptr [edi + 0xc] */ 16637 edx = MEM32(edi + 0x18); /* 0x2B06C787: mov edx, dword ptr [edi + 0x18] */ 16638 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(8); 16639 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16640 edi = edi + 8; /* 0x2B06C78A: add edi, 8 */ 16641 _flag_k = FK_ADD; 16642 ebx = eax; /* 0x2B06C78D: mov ebx, eax */ 16643 eax = MEM32(eax); /* 0x2B06C78F: mov eax, dword ptr [eax] */ 16644 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16645 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16646 esp = esp + 4; /* 0x2B06C791: add esp, 4 */ 16647 _flag_k = FK_ADD; 16648 /* cmp edx, ecx */ /* 0x2B06C794: cmp edx, ecx */ 16649 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 16650 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16651 _flag_k = FK_CMP; 16652 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ecx)); /* 0x2B06C796: mov byte ptr [ebp - 4], cl */ 16653 MEM32(ebp + (-0x10)) = eax; /* 0x2B06C799: mov dword ptr [ebp - 0x10], eax */ 16654 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C7EC; /* 0x2B06C79C: je 0x2b06c7ec */ 16655 L_2B06C79E: 16656 ecx = ebp + (-0x1C); /* 0x2B06C79E: lea ecx, [ebp - 0x1c] */ 16657 PUSH32(esp, ecx); /* 0x2B06C7A1: push ecx */ 16658 ecx = edi; /* 0x2B06C7A2: mov ecx, edi */ 16659 RECOMP_ICALL(0x2B018B60u); /* 0x2B06C7A4: call 0x2b018b60 */ /* not lifted */ 16660 RECOMP_FLAGS_IN(); 16661 edx = eax; /* 0x2B06C7A9: mov edx, eax */ 16662 eax = MEM32(ebp + (-0x10)); /* 0x2B06C7AB: mov eax, dword ptr [ebp - 0x10] */ 16663 /* cmp eax, MEM32(edx) */ /* 0x2B06C7AE: cmp eax, dword ptr [edx] */ 16664 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 16665 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16666 _flag_k = FK_CMP; 16667 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06C7EC; /* 0x2B06C7B0: jne 0x2b06c7ec */ 16668 L_2B06C7B2: 16669 ecx = MEM32(edi + 0x4); /* 0x2B06C7B2: mov ecx, dword ptr [edi + 4] */ 16670 /* cmp ebx, ecx */ /* 0x2B06C7B5: cmp ebx, ecx */ 16671 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 16672 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16673 _flag_k = FK_CMP; 16674 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06C7EC; /* 0x2B06C7B7: jne 0x2b06c7ec */ 16675 L_2B06C7B9: 16676 eax = MEM32(ecx + 0x4); /* 0x2B06C7B9: mov eax, dword ptr [ecx + 4] */ 16677 PUSH32(esp, eax); /* 0x2B06C7BC: push eax */ 16678 ecx = edi; /* 0x2B06C7BD: mov ecx, edi */ 16679 RECOMP_ICALL(0x2B06D8B0u); /* 0x2B06C7BF: call 0x2b06d8b0 */ /* not lifted */ 16680 RECOMP_FLAGS_IN(); 16681 ecx = MEM32(edi + 0x4); /* 0x2B06C7C4: mov ecx, dword ptr [edi + 4] */ 16682 edx = MEM32(edi + 0x8); /* 0x2B06C7C7: mov edx, dword ptr [edi + 8] */ 16683 MEM32(ecx + 0x4) = edx; /* 0x2B06C7CA: mov dword ptr [ecx + 4], edx */ 16684 eax = MEM32(edi + 0x4); /* 0x2B06C7CD: mov eax, dword ptr [edi + 4] */ 16685 MEM32(edi + 0x10) = 0; /* 0x2B06C7D0: mov dword ptr [edi + 0x10], 0 */ 16686 MEM32(eax) = eax; /* 0x2B06C7D7: mov dword ptr [eax], eax */ 16687 eax = MEM32(edi + 0x4); /* 0x2B06C7D9: mov eax, dword ptr [edi + 4] */ 16688 MEM32(eax + 0x8) = eax; /* 0x2B06C7DC: mov dword ptr [eax + 8], eax */ 16689 eax = ebp + (-0x1C); /* 0x2B06C7DF: lea eax, [ebp - 0x1c] */ 16690 PUSH32(esp, eax); /* 0x2B06C7E2: push eax */ 16691 ecx = edi; /* 0x2B06C7E3: mov ecx, edi */ 16692 RECOMP_ICALL(0x2B018B60u); /* 0x2B06C7E5: call 0x2b018b60 */ /* not lifted */ 16693 RECOMP_FLAGS_IN(); 16694 goto L_2B06C811; /* 0x2B06C7EA: jmp 0x2b06c811 */ 16695 L_2B06C7EC: 16696 /* cmp eax, ebx */ /* 0x2B06C7EC: cmp eax, ebx */ 16697 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 16698 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16699 _flag_k = FK_CMP; 16700 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C811; /* 0x2B06C7EE: je 0x2b06c811 */ 16701 L_2B06C7F0: 16702 PUSH32(esp, 0); /* 0x2B06C7F0: push 0 */ 16703 ecx = ebp + (-0x1C); /* 0x2B06C7F2: lea ecx, [ebp - 0x1c] */ 16704 PUSH32(esp, ecx); /* 0x2B06C7F5: push ecx */ 16705 ecx = ebp + (-0x10); /* 0x2B06C7F6: lea ecx, [ebp - 0x10] */ 16706 RECOMP_ICALL(0x2B019100u); /* 0x2B06C7F9: call 0x2b019100 */ /* not lifted */ 16707 RECOMP_FLAGS_IN(); 16708 edx = MEM32(eax); /* 0x2B06C7FE: mov edx, dword ptr [eax] */ 16709 PUSH32(esp, edx); /* 0x2B06C800: push edx */ 16710 eax = ebp + (-0x14); /* 0x2B06C801: lea eax, [ebp - 0x14] */ 16711 PUSH32(esp, eax); /* 0x2B06C804: push eax */ 16712 ecx = edi; /* 0x2B06C805: mov ecx, edi */ 16713 RECOMP_ICALL(0x2B06D4F0u); /* 0x2B06C807: call 0x2b06d4f0 */ /* not lifted */ 16714 RECOMP_FLAGS_IN(); 16715 /* cmp MEM32(ebp + (-0x10)), ebx */ /* 0x2B06C80C: cmp dword ptr [ebp - 0x10], ebx */ 16716 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ebx); 16717 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16718 _flag_k = FK_CMP; 16719 RECOMP_BACKEDGE(); 16720 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06C7F0; /* 0x2B06C80F: jne 0x2b06c7f0 */ 16721 L_2B06C811: 16722 ecx = MEM32(edi + 0x4); /* 0x2B06C811: mov ecx, dword ptr [edi + 4] */ 16723 PUSH32(esp, ecx); /* 0x2B06C814: push ecx */ 16724 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06C815: call 0x2b0ab1ba */ /* not lifted */ 16725 RECOMP_FLAGS_IN(); 16726 edx = MEM32(edi + 0x8); /* 0x2B06C81A: mov edx, dword ptr [edi + 8] */ 16727 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16728 ebx = 0; /* 0x2B06C81D: xor ebx, ebx */ 16729 _cf = 0; 16730 _flag_k = FK_TEST; 16731 PUSH32(esp, edx); /* 0x2B06C81F: push edx */ 16732 MEM32(edi + 0x4) = ebx; /* 0x2B06C820: mov dword ptr [edi + 4], ebx */ 16733 MEM32(edi + 0x10) = ebx; /* 0x2B06C823: mov dword ptr [edi + 0x10], ebx */ 16734 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06C826: call 0x2b0ab1ba */ /* not lifted */ 16735 RECOMP_FLAGS_IN(); 16736 MEM32(edi + 0x8) = ebx; /* 0x2B06C82B: mov dword ptr [edi + 8], ebx */ 16737 eax = MEM32(esi + 0x34); /* 0x2B06C82E: mov eax, dword ptr [esi + 0x34] */ 16738 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 16739 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16740 esp = esp + 8; /* 0x2B06C831: add esp, 8 */ 16741 _flag_k = FK_ADD; 16742 /* cmp eax, ebx */ /* 0x2B06C834: cmp eax, ebx */ 16743 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 16744 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16745 _flag_k = FK_CMP; 16746 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C854; /* 0x2B06C836: je 0x2b06c854 */ 16747 L_2B06C838: 16748 ecx = eax + (-0x1); /* 0x2B06C838: lea ecx, [eax - 1] */ 16749 SET_LO8(eax, MEM8(ecx)); /* 0x2B06C83B: mov al, byte ptr [ecx] */ 16750 /* test LO8(eax), LO8(eax) */ /* 0x2B06C83D: test al, al */ 16751 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 16752 _cf = 0; 16753 _flag_k = FK_NARROW(FK_TEST, 24); 16754 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C84B; /* 0x2B06C83F: je 0x2b06c84b */ 16755 L_2B06C841: 16756 /* cmp LO8(eax), 0xFFu */ /* 0x2B06C841: cmp al, 0xff */ 16757 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 16758 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16759 _flag_k = FK_NARROW(FK_CMP, 24); 16760 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C84B; /* 0x2B06C843: je 0x2b06c84b */ 16761 L_2B06C845: 16762 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 16763 SET_LO8(eax, LO8(eax) - 1); /* 0x2B06C845: dec al */ 16764 _flag_k = FK_NARROW(FK_DEC, 24); 16765 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B06C847: mov byte ptr [ecx], al */ 16766 goto L_2B06C854; /* 0x2B06C849: jmp 0x2b06c854 */ 16767 L_2B06C84B: 16768 PUSH32(esp, ecx); /* 0x2B06C84B: push ecx */ 16769 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06C84C: call 0x2b0ab1ba */ /* not lifted */ 16770 RECOMP_FLAGS_IN(); 16771 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16772 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16773 esp = esp + 4; /* 0x2B06C851: add esp, 4 */ 16774 _flag_k = FK_ADD; 16775 L_2B06C854: 16776 ecx = MEM32(ebp + (-0xC)); /* 0x2B06C854: mov ecx, dword ptr [ebp - 0xc] */ 16777 MEM32(esi + 0x34) = ebx; /* 0x2B06C857: mov dword ptr [esi + 0x34], ebx */ 16778 MEM32(esi + 0x38) = ebx; /* 0x2B06C85A: mov dword ptr [esi + 0x38], ebx */ 16779 MEM32(esi + 0x3C) = ebx; /* 0x2B06C85D: mov dword ptr [esi + 0x3c], ebx */ 16780 edi = POP32_VAL(esp); /* 0x2B06C860: pop edi */ 16781 esi = POP32_VAL(esp); /* 0x2B06C861: pop esi */ 16782 ebx = POP32_VAL(esp); /* 0x2B06C862: pop ebx */ 16783 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06C863: mov dword ptr fs:[0], ecx */ 16784 esp = ebp; /* 0x2B06C86A: mov esp, ebp */ 16785 ebp = POP32_VAL(esp); /* 0x2B06C86C: pop ebp */ 16786 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06C86D: ret */ 16787 RECOMP_REGS_OUT(); 16788 } 16789 16790 void sub_2B06C870(void) { 16791 int _fpu_cmp = 0; 16792 uint32_t _cf = 0; 16793 int _df = 1; 16794 uint32_t _flag_k = FK_NONE; 16795 uint32_t _flag_a = 0, _flag_b = 0; 16796 uint32_t _itail_tgt = 0; 16797 RECOMP_REGS_LOCALS 16798 RECOMP_ENTER(0x2B06C870u); 16799 16800 L_2B06C870: 16801 PUSH32(esp, ebp); /* 0x2B06C870: push ebp */ 16802 ebp = esp; /* 0x2B06C871: mov ebp, esp */ 16803 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 16804 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16805 esp = esp - 8; /* 0x2B06C873: sub esp, 8 */ 16806 _flag_k = FK_CMP; 16807 PUSH32(esp, ebx); /* 0x2B06C876: push ebx */ 16808 PUSH32(esp, esi); /* 0x2B06C877: push esi */ 16809 esi = ecx; /* 0x2B06C878: mov esi, ecx */ 16810 ecx = MEM32(esi + 0x10); /* 0x2B06C87A: mov ecx, dword ptr [esi + 0x10] */ 16811 /* test ecx, ecx */ /* 0x2B06C87D: test ecx, ecx */ 16812 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16813 _cf = 0; 16814 _flag_k = FK_TEST; 16815 PUSH32(esp, edi); /* 0x2B06C87F: push edi */ 16816 edi = MEM32(esi + 0x4); /* 0x2B06C880: mov edi, dword ptr [esi + 4] */ 16817 eax = MEM32(edi); /* 0x2B06C883: mov eax, dword ptr [edi] */ 16818 MEM32(ebp + (-0x4)) = eax; /* 0x2B06C885: mov dword ptr [ebp - 4], eax */ 16819 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06C8E5; /* 0x2B06C888: je 0x2b06c8e5 */ 16820 L_2B06C88A: 16821 ecx = eax; /* 0x2B06C88A: mov ecx, eax */ 16822 /* cmp eax, ecx */ /* 0x2B06C88C: cmp eax, ecx */ 16823 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 16824 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16825 _flag_k = FK_CMP; 16826 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06C8E5; /* 0x2B06C88E: jne 0x2b06c8e5 */ 16827 L_2B06C890: 16828 /* cmp edi, edi */ /* 0x2B06C890: cmp edi, edi */ 16829 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16830 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16831 _flag_k = FK_CMP; 16832 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06C8E5; /* 0x2B06C892: jne 0x2b06c8e5 */ 16833 L_2B06C894: 16834 ebx = MEM32(edi + 0x4); /* 0x2B06C894: mov ebx, dword ptr [edi + 4] */ 16835 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B06C897: cmp ebx, dword ptr [esi + 8] */ 16836 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16837 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16838 _flag_k = FK_CMP; 16839 edi = ebx; /* 0x2B06C89A: mov edi, ebx */ 16840 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C8BD; /* 0x2B06C89C: je 0x2b06c8bd */ 16841 L_2B06C89E: 16842 eax = MEM32(edi + 0x8); /* 0x2B06C89E: mov eax, dword ptr [edi + 8] */ 16843 PUSH32(esp, eax); /* 0x2B06C8A1: push eax */ 16844 ecx = esi; /* 0x2B06C8A2: mov ecx, esi */ 16845 RECOMP_ICALL(0x2B06D8B0u); /* 0x2B06C8A4: call 0x2b06d8b0 */ /* not lifted */ 16846 RECOMP_FLAGS_IN(); 16847 edi = MEM32(edi); /* 0x2B06C8A9: mov edi, dword ptr [edi] */ 16848 PUSH32(esp, ebx); /* 0x2B06C8AB: push ebx */ 16849 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06C8AC: call 0x2b0ab1ba */ /* not lifted */ 16850 RECOMP_FLAGS_IN(); 16851 eax = MEM32(esi + 0x8); /* 0x2B06C8B1: mov eax, dword ptr [esi + 8] */ 16852 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16853 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16854 esp = esp + 4; /* 0x2B06C8B4: add esp, 4 */ 16855 _flag_k = FK_ADD; 16856 /* cmp edi, eax */ /* 0x2B06C8B7: cmp edi, eax */ 16857 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 16858 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16859 _flag_k = FK_CMP; 16860 ebx = edi; /* 0x2B06C8B9: mov ebx, edi */ 16861 RECOMP_BACKEDGE(); 16862 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06C89E; /* 0x2B06C8BB: jne 0x2b06c89e */ 16863 L_2B06C8BD: 16864 ecx = MEM32(esi + 0x4); /* 0x2B06C8BD: mov ecx, dword ptr [esi + 4] */ 16865 edx = MEM32(esi + 0x8); /* 0x2B06C8C0: mov edx, dword ptr [esi + 8] */ 16866 MEM32(ecx + 0x4) = edx; /* 0x2B06C8C3: mov dword ptr [ecx + 4], edx */ 16867 eax = MEM32(esi + 0x4); /* 0x2B06C8C6: mov eax, dword ptr [esi + 4] */ 16868 MEM32(esi + 0x10) = 0; /* 0x2B06C8C9: mov dword ptr [esi + 0x10], 0 */ 16869 MEM32(eax) = eax; /* 0x2B06C8D0: mov dword ptr [eax], eax */ 16870 eax = MEM32(esi + 0x4); /* 0x2B06C8D2: mov eax, dword ptr [esi + 4] */ 16871 MEM32(eax + 0x8) = eax; /* 0x2B06C8D5: mov dword ptr [eax + 8], eax */ 16872 eax = ebp + (-0x8); /* 0x2B06C8D8: lea eax, [ebp - 8] */ 16873 PUSH32(esp, eax); /* 0x2B06C8DB: push eax */ 16874 ecx = esi; /* 0x2B06C8DC: mov ecx, esi */ 16875 RECOMP_ICALL(0x2B018B60u); /* 0x2B06C8DE: call 0x2b018b60 */ /* not lifted */ 16876 RECOMP_FLAGS_IN(); 16877 goto L_2B06C906; /* 0x2B06C8E3: jmp 0x2b06c906 */ 16878 L_2B06C8E5: 16879 /* cmp eax, edi */ /* 0x2B06C8E5: cmp eax, edi */ 16880 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 16881 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16882 _flag_k = FK_CMP; 16883 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06C906; /* 0x2B06C8E7: je 0x2b06c906 */ 16884 L_2B06C8E9: 16885 ecx = ebp + (-0x4); /* 0x2B06C8E9: lea ecx, [ebp - 4] */ 16886 ebx = eax; /* 0x2B06C8EC: mov ebx, eax */ 16887 RECOMP_ICALL(0x2B06A300u); /* 0x2B06C8EE: call 0x2b06a300 */ /* not lifted */ 16888 RECOMP_FLAGS_IN(); 16889 PUSH32(esp, ebx); /* 0x2B06C8F3: push ebx */ 16890 ecx = ebp + (-0x8); /* 0x2B06C8F4: lea ecx, [ebp - 8] */ 16891 PUSH32(esp, ecx); /* 0x2B06C8F7: push ecx */ 16892 ecx = esi; /* 0x2B06C8F8: mov ecx, esi */ 16893 RECOMP_ICALL(0x2B06D4F0u); /* 0x2B06C8FA: call 0x2b06d4f0 */ /* not lifted */ 16894 RECOMP_FLAGS_IN(); 16895 eax = MEM32(ebp + (-0x4)); /* 0x2B06C8FF: mov eax, dword ptr [ebp - 4] */ 16896 /* cmp eax, edi */ /* 0x2B06C902: cmp eax, edi */ 16897 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 16898 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16899 _flag_k = FK_CMP; 16900 RECOMP_BACKEDGE(); 16901 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06C8E9; /* 0x2B06C904: jne 0x2b06c8e9 */ 16902 L_2B06C906: 16903 edx = MEM32(esi + 0x4); /* 0x2B06C906: mov edx, dword ptr [esi + 4] */ 16904 PUSH32(esp, edx); /* 0x2B06C909: push edx */ 16905 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06C90A: call 0x2b0ab1ba */ /* not lifted */ 16906 RECOMP_FLAGS_IN(); 16907 eax = MEM32(esi + 0x8); /* 0x2B06C90F: mov eax, dword ptr [esi + 8] */ 16908 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16909 edi = 0; /* 0x2B06C912: xor edi, edi */ 16910 _cf = 0; 16911 _flag_k = FK_TEST; 16912 PUSH32(esp, eax); /* 0x2B06C914: push eax */ 16913 MEM32(esi + 0x4) = edi; /* 0x2B06C915: mov dword ptr [esi + 4], edi */ 16914 MEM32(esi + 0x10) = edi; /* 0x2B06C918: mov dword ptr [esi + 0x10], edi */ 16915 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06C91B: call 0x2b0ab1ba */ /* not lifted */ 16916 RECOMP_FLAGS_IN(); 16917 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 16918 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16919 esp = esp + 8; /* 0x2B06C920: add esp, 8 */ 16920 _flag_k = FK_ADD; 16921 MEM32(esi + 0x8) = edi; /* 0x2B06C923: mov dword ptr [esi + 8], edi */ 16922 edi = POP32_VAL(esp); /* 0x2B06C926: pop edi */ 16923 esi = POP32_VAL(esp); /* 0x2B06C927: pop esi */ 16924 ebx = POP32_VAL(esp); /* 0x2B06C928: pop ebx */ 16925 esp = ebp; /* 0x2B06C929: mov esp, ebp */ 16926 ebp = POP32_VAL(esp); /* 0x2B06C92B: pop ebp */ 16927 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06C92C: ret */ 16928 RECOMP_REGS_OUT(); 16929 } 16930 16931 void sub_2B06C906(void) { 16932 int _fpu_cmp = 0; 16933 uint32_t _cf = 0; 16934 int _df = 1; 16935 uint32_t _flag_k = FK_NONE; 16936 uint32_t _flag_a = 0, _flag_b = 0; 16937 uint32_t _itail_tgt = 0; 16938 RECOMP_REGS_LOCALS 16939 RECOMP_ENTER(0x2B06C906u); 16940 16941 L_2B06C906: 16942 edx = MEM32(esi + 0x4); /* 0x2B06C906: mov edx, dword ptr [esi + 4] */ 16943 PUSH32(esp, edx); /* 0x2B06C909: push edx */ 16944 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06C90A: call 0x2b0ab1ba */ /* not lifted */ 16945 RECOMP_FLAGS_IN(); 16946 eax = MEM32(esi + 0x8); /* 0x2B06C90F: mov eax, dword ptr [esi + 8] */ 16947 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16948 edi = 0; /* 0x2B06C912: xor edi, edi */ 16949 _cf = 0; 16950 _flag_k = FK_TEST; 16951 PUSH32(esp, eax); /* 0x2B06C914: push eax */ 16952 MEM32(esi + 0x4) = edi; /* 0x2B06C915: mov dword ptr [esi + 4], edi */ 16953 MEM32(esi + 0x10) = edi; /* 0x2B06C918: mov dword ptr [esi + 0x10], edi */ 16954 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06C91B: call 0x2b0ab1ba */ /* not lifted */ 16955 RECOMP_FLAGS_IN(); 16956 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 16957 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16958 esp = esp + 8; /* 0x2B06C920: add esp, 8 */ 16959 _flag_k = FK_ADD; 16960 MEM32(esi + 0x8) = edi; /* 0x2B06C923: mov dword ptr [esi + 8], edi */ 16961 edi = POP32_VAL(esp); /* 0x2B06C926: pop edi */ 16962 esi = POP32_VAL(esp); /* 0x2B06C927: pop esi */ 16963 ebx = POP32_VAL(esp); /* 0x2B06C928: pop ebx */ 16964 esp = ebp; /* 0x2B06C929: mov esp, ebp */ 16965 ebp = POP32_VAL(esp); /* 0x2B06C92B: pop ebp */ 16966 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06C92C: ret */ 16967 RECOMP_REGS_OUT(); 16968 } 16969 16970 void sub_2B06C930(void) { 16971 int _fpu_cmp = 0; 16972 uint32_t _cf = 0; 16973 int _df = 1; 16974 uint32_t _flag_k = FK_NONE; 16975 uint32_t _flag_a = 0, _flag_b = 0; 16976 uint32_t _itail_tgt = 0; 16977 RECOMP_REGS_LOCALS 16978 RECOMP_ENTER(0x2B06C930u); 16979 16980 L_2B06C930: 16981 PUSH32(esp, ebp); /* 0x2B06C930: push ebp */ 16982 ebp = esp; /* 0x2B06C931: mov ebp, esp */ 16983 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x24u); 16984 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16985 esp = esp - 0x24u; /* 0x2B06C933: sub esp, 0x24 */ 16986 _flag_k = FK_CMP; 16987 PUSH32(esp, ebx); /* 0x2B06C936: push ebx */ 16988 ebx = MEM32(0x2B0B5658); /* 0x2B06C937: mov ebx, dword ptr [0x2b0b5658] */ 16989 PUSH32(esp, esi); /* 0x2B06C93D: push esi */ 16990 esi = ecx; /* 0x2B06C93E: mov esi, ecx */ 16991 eax = MEM32(esi + 0x74); /* 0x2B06C940: mov eax, dword ptr [esi + 0x74] */ 16992 ecx = MEM32(esi + 0x78); /* 0x2B06C943: mov ecx, dword ptr [esi + 0x78] */ 16993 PUSH32(esp, edi); /* 0x2B06C946: push edi */ 16994 edi = esi + 0x64; /* 0x2B06C947: lea edi, [esi + 0x64] */ 16995 MEM32(edi) = eax; /* 0x2B06C94A: mov dword ptr [edi], eax */ 16996 MEM32(edi + 0x4) = ecx; /* 0x2B06C94C: mov dword ptr [edi + 4], ecx */ 16997 fp_push((double)(int32_t)MEM32(esi + 0x68)); /* 0x2B06C94F: fild dword ptr [esi + 0x68] */ 16998 ecx = MEM32(esi + 0x94); /* 0x2B06C952: mov ecx, dword ptr [esi + 0x94] */ 16999 edx = ebp + (-0x8); /* 0x2B06C958: lea edx, [ebp - 8] */ 17000 _st[0] *= (double)*(float*)ADDR(0x2B0B6184); /* 0x2B06C95B: fmul dword ptr [0x2b0b6184] */ 17001 PUSH32(esp, edx); /* 0x2B06C961: push edx */ 17002 eax = ebp + (-0xC); /* 0x2B06C962: lea eax, [ebp - 0xc] */ 17003 PUSH32(esp, eax); /* 0x2B06C965: push eax */ 17004 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x2B06C966: fstp dword ptr [ebp - 8] */ 17005 MEM32(esi + 0x40) = 0; /* 0x2B06C969: mov dword ptr [esi + 0x40], 0 */ 17006 fp_push((double)(int32_t)MEM32(edi)); /* 0x2B06C970: fild dword ptr [edi] */ 17007 MEM32(esi + 0x50) = 0x41100000u; /* 0x2B06C972: mov dword ptr [esi + 0x50], 0x41100000 */ 17008 MEM32(esi + 0x54) = 0x40000000u; /* 0x2B06C979: mov dword ptr [esi + 0x54], 0x40000000 */ 17009 _st[0] *= (double)*(float*)ADDR(0x2B0B6184); /* 0x2B06C980: fmul dword ptr [0x2b0b6184] */ 17010 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x2B06C986: fstp dword ptr [ebp - 0xc] */ 17011 RECOMP_ICALL(ebx); /* 0x2B06C989: call ebx */ 17012 RECOMP_FLAGS_IN(); 17013 ecx = MEM32(esi + 0x8C); /* 0x2B06C98B: mov ecx, dword ptr [esi + 0x8c] */ 17014 edx = MEM32(ecx); /* 0x2B06C991: mov edx, dword ptr [ecx] */ 17015 PUSH32(esp, edi); /* 0x2B06C993: push edi */ 17016 RECOMP_ICALL(MEM32(edx + 0x18)); /* 0x2B06C994: call dword ptr [edx + 0x18] */ 17017 RECOMP_FLAGS_IN(); 17018 eax = MEM32(esi + 0x80); /* 0x2B06C997: mov eax, dword ptr [esi + 0x80] */ 17019 ecx = MEM32(edi); /* 0x2B06C99D: mov ecx, dword ptr [edi] */ 17020 edx = ecx + eax * 2; /* 0x2B06C99F: lea edx, [ecx + eax*2] */ 17021 ecx = MEM32(esi + 0x68); /* 0x2B06C9A2: mov ecx, dword ptr [esi + 0x68] */ 17022 MEM32(ebp + (-0x1C)) = edx; /* 0x2B06C9A5: mov dword ptr [ebp - 0x1c], edx */ 17023 edx = MEM32(esi + 0x7C); /* 0x2B06C9A8: mov edx, dword ptr [esi + 0x7c] */ 17024 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 17025 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17026 ecx = ecx + eax; /* 0x2B06C9AB: add ecx, eax */ 17027 _flag_k = FK_ADD; 17028 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 17029 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17030 ecx = ecx + edx; /* 0x2B06C9AD: add ecx, edx */ 17031 _flag_k = FK_ADD; 17032 MEM32(ebp + (-0x18)) = ecx; /* 0x2B06C9AF: mov dword ptr [ebp - 0x18], ecx */ 17033 ecx = MEM32(esi + 0x88); /* 0x2B06C9B2: mov ecx, dword ptr [esi + 0x88] */ 17034 edx = MEM32(ecx); /* 0x2B06C9B8: mov edx, dword ptr [ecx] */ 17035 eax = ebp + (-0x1C); /* 0x2B06C9BA: lea eax, [ebp - 0x1c] */ 17036 PUSH32(esp, eax); /* 0x2B06C9BD: push eax */ 17037 RECOMP_ICALL(MEM32(edx + 0x18)); /* 0x2B06C9BE: call dword ptr [edx + 0x18] */ 17038 RECOMP_FLAGS_IN(); 17039 eax = MEM32(esi + 0x7C); /* 0x2B06C9C1: mov eax, dword ptr [esi + 0x7c] */ 17040 ecx = MEM32(edi); /* 0x2B06C9C4: mov ecx, dword ptr [edi] */ 17041 MEM32(ebp + (-0x4)) = ecx; /* 0x2B06C9C6: mov dword ptr [ebp - 4], ecx */ 17042 MEM32(ebp + (-0xC)) = eax; /* 0x2B06C9C9: mov dword ptr [ebp - 0xc], eax */ 17043 fp_push((double)(int32_t)MEM32(ebp + (-0xC))); /* 0x2B06C9CC: fild dword ptr [ebp - 0xc] */ 17044 fp_push((double)(int32_t)MEM32(ebp + (-0x4))); /* 0x2B06C9CF: fild dword ptr [ebp - 4] */ 17045 edx = MEM32(esi + 0x80); /* 0x2B06C9D2: mov edx, dword ptr [esi + 0x80] */ 17046 ecx = eax * 4; /* 0x2B06C9D8: lea ecx, [eax*4] */ 17047 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 17048 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17049 ecx = ecx - eax; /* 0x2B06C9DF: sub ecx, eax */ 17050 _flag_k = FK_CMP; 17051 _st[0] /= _st[1]; /* 0x2B06C9E1: fdiv st(1) */ 17052 if (1u) _cf = (((edx) >> 31) & 1u); /* 0x2B06C9E3: shl edx, 1 */ 17053 if (1u) { _flag_a = recomp_flags_pack((edx << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17054 edx = edx << 1u; /* 0x2B06C9E3: shl edx, 1 */ 17055 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(ecx); 17056 _cf = (ecx) != 0; 17057 ecx = (uint32_t)(-(int32_t)ecx); /* 0x2B06C9E5: neg ecx */ 17058 _flag_k = FK_CMP; 17059 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 17060 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17061 ecx = ecx - edx; /* 0x2B06C9E7: sub ecx, edx */ 17062 _flag_k = FK_CMP; 17063 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + (-0x4))); 17064 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17065 ecx = ecx + MEM32(ebp + (-0x4)); /* 0x2B06C9E9: add ecx, dword ptr [ebp - 4] */ 17066 _flag_k = FK_ADD; 17067 MEM32(ebp + (-0xC)) = ecx; /* 0x2B06C9EC: mov dword ptr [ebp - 0xc], ecx */ 17068 ecx = MEM32(esi + 0xB4); /* 0x2B06C9EF: mov ecx, dword ptr [esi + 0xb4] */ 17069 edx = ebp + (-0xC); /* 0x2B06C9F5: lea edx, [ebp - 0xc] */ 17070 PUSH32(esp, edx); /* 0x2B06C9F8: push edx */ 17071 eax = ebp + (-0x10); /* 0x2B06C9F9: lea eax, [ebp - 0x10] */ 17072 PUSH32(esp, eax); /* 0x2B06C9FC: push eax */ 17073 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x2B06C9FD: fstp dword ptr [ebp - 0x14] */ 17074 fp_push((double)(int32_t)MEM32(ebp + (-0xC))); /* 0x2B06CA00: fild dword ptr [ebp - 0xc] */ 17075 MEM32(ebp + (-0xC)) = 0x3F800000u; /* 0x2B06CA03: mov dword ptr [ebp - 0xc], 0x3f800000 */ 17076 _st[0] /= _st[1]; /* 0x2B06CA0A: fdiv st(1) */ 17077 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x2B06CA0C: fstp dword ptr [ebp - 0x10] */ 17078 fp_push((double)(int32_t)MEM32(esi + 0x68)); /* 0x2B06CA0F: fild dword ptr [esi + 0x68] */ 17079 _st[0] /= _st[1]; /* 0x2B06CA12: fdiv st(1) */ 17080 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x2B06CA14: fstp dword ptr [ebp - 4] */ 17081 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x2B06CA17: fstp st(0) */ 17082 RECOMP_ICALL(ebx); /* 0x2B06CA19: call ebx */ 17083 RECOMP_FLAGS_IN(); 17084 ecx = ebp + (-0x4); /* 0x2B06CA1B: lea ecx, [ebp - 4] */ 17085 PUSH32(esp, ecx); /* 0x2B06CA1E: push ecx */ 17086 ecx = MEM32(esi + 0xB8); /* 0x2B06CA1F: mov ecx, dword ptr [esi + 0xb8] */ 17087 edx = ebp + (-0xC); /* 0x2B06CA25: lea edx, [ebp - 0xc] */ 17088 PUSH32(esp, edx); /* 0x2B06CA28: push edx */ 17089 MEM32(ebp + (-0xC)) = 0x3F800000u; /* 0x2B06CA29: mov dword ptr [ebp - 0xc], 0x3f800000 */ 17090 RECOMP_ICALL(ebx); /* 0x2B06CA30: call ebx */ 17091 RECOMP_FLAGS_IN(); 17092 eax = ebp + (-0xC); /* 0x2B06CA32: lea eax, [ebp - 0xc] */ 17093 PUSH32(esp, eax); /* 0x2B06CA35: push eax */ 17094 ecx = ebp + (-0x14); /* 0x2B06CA36: lea ecx, [ebp - 0x14] */ 17095 PUSH32(esp, ecx); /* 0x2B06CA39: push ecx */ 17096 ecx = MEM32(esi + 0xBC); /* 0x2B06CA3A: mov ecx, dword ptr [esi + 0xbc] */ 17097 MEM32(ebp + (-0xC)) = 0x3F800000u; /* 0x2B06CA40: mov dword ptr [ebp - 0xc], 0x3f800000 */ 17098 RECOMP_ICALL(ebx); /* 0x2B06CA47: call ebx */ 17099 RECOMP_FLAGS_IN(); 17100 ecx = MEM32(esi + 0xC0); /* 0x2B06CA49: mov ecx, dword ptr [esi + 0xc0] */ 17101 edx = ebp + (-0x4); /* 0x2B06CA4F: lea edx, [ebp - 4] */ 17102 PUSH32(esp, edx); /* 0x2B06CA52: push edx */ 17103 eax = ebp + (-0xC); /* 0x2B06CA53: lea eax, [ebp - 0xc] */ 17104 PUSH32(esp, eax); /* 0x2B06CA56: push eax */ 17105 MEM32(ebp + (-0xC)) = 0x3F800000u; /* 0x2B06CA57: mov dword ptr [ebp - 0xc], 0x3f800000 */ 17106 RECOMP_ICALL(ebx); /* 0x2B06CA5E: call ebx */ 17107 RECOMP_FLAGS_IN(); 17108 ecx = MEM32(ebp + (-0x1C)); /* 0x2B06CA60: mov ecx, dword ptr [ebp - 0x1c] */ 17109 edx = MEM32(esi + 0x7C); /* 0x2B06CA63: mov edx, dword ptr [esi + 0x7c] */ 17110 MEM32(ebp + (-0x24)) = ecx; /* 0x2B06CA66: mov dword ptr [ebp - 0x24], ecx */ 17111 ecx = MEM32(esi + 0xD0); /* 0x2B06CA69: mov ecx, dword ptr [esi + 0xd0] */ 17112 MEM32(ebp + (-0x20)) = edx; /* 0x2B06CA6F: mov dword ptr [ebp - 0x20], edx */ 17113 eax = MEM32(ecx); /* 0x2B06CA72: mov eax, dword ptr [ecx] */ 17114 edx = ebp + (-0x24); /* 0x2B06CA74: lea edx, [ebp - 0x24] */ 17115 PUSH32(esp, edx); /* 0x2B06CA77: push edx */ 17116 RECOMP_ICALL(MEM32(eax + 0x18)); /* 0x2B06CA78: call dword ptr [eax + 0x18] */ 17117 RECOMP_FLAGS_IN(); 17118 eax = MEM32(0x2B0B515C); /* 0x2B06CA7B: mov eax, dword ptr [0x2b0b515c] */ 17119 ecx = MEM32(eax); /* 0x2B06CA80: mov ecx, dword ptr [eax] */ 17120 edx = MEM32(esi + 0x28); /* 0x2B06CA82: mov edx, dword ptr [esi + 0x28] */ 17121 PUSH32(esp, ecx); /* 0x2B06CA85: push ecx */ 17122 ecx = MEM32(esi + 0x9C); /* 0x2B06CA86: mov ecx, dword ptr [esi + 0x9c] */ 17123 PUSH32(esp, 0); /* 0x2B06CA8C: push 0 */ 17124 PUSH32(esp, edx); /* 0x2B06CA8E: push edx */ 17125 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x14u); 17126 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17127 ecx = ecx + 0x14u; /* 0x2B06CA8F: add ecx, 0x14 */ 17128 _flag_k = FK_ADD; 17129 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B06CA92: call dword ptr [0x2b0b5158] */ 17130 RECOMP_FLAGS_IN(); 17131 ebx = MEM32(esi + 0x9C); /* 0x2B06CA98: mov ebx, dword ptr [esi + 0x9c] */ 17132 edi = MEM32(edi); /* 0x2B06CA9E: mov edi, dword ptr [edi] */ 17133 ebx = MEM32(ebx + 0x34); /* 0x2B06CAA0: mov ebx, dword ptr [ebx + 0x34] */ 17134 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17135 eax = 0; /* 0x2B06CAA3: xor eax, eax */ 17136 _cf = 0; 17137 _flag_k = FK_TEST; 17138 MEM32(ebx) = eax; /* 0x2B06CAA5: mov dword ptr [ebx], eax */ 17139 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17140 ecx = 0; /* 0x2B06CAA7: xor ecx, ecx */ 17141 _cf = 0; 17142 _flag_k = FK_TEST; 17143 MEM32(ebx + 0x4) = ecx; /* 0x2B06CAA9: mov dword ptr [ebx + 4], ecx */ 17144 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x13u); 17145 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17146 edi = edi - 0x13u; /* 0x2B06CAAC: sub edi, 0x13 */ 17147 _flag_k = FK_CMP; 17148 MEM32(ebx + 0x8) = edi; /* 0x2B06CAAF: mov dword ptr [ebx + 8], edi */ 17149 edx = 0x00015F90u; /* 0x2B06CAB2: mov edx, 0x15f90 */ 17150 MEM32(ebx + 0xC) = edx; /* 0x2B06CAB7: mov dword ptr [ebx + 0xc], edx */ 17151 eax = MEM32(esi + 0x104); /* 0x2B06CABA: mov eax, dword ptr [esi + 0x104] */ 17152 /* test eax, eax */ /* 0x2B06CAC0: test eax, eax */ 17153 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 17154 _cf = 0; 17155 _flag_k = FK_TEST; 17156 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06CAF5; /* 0x2B06CAC2: je 0x2b06caf5 */ 17157 L_2B06CAC4: 17158 ecx = MEM32(esi + 0x108); /* 0x2B06CAC4: mov ecx, dword ptr [esi + 0x108] */ 17159 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 17160 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17161 ecx = ecx - eax; /* 0x2B06CACA: sub ecx, eax */ 17162 _flag_k = FK_CMP; 17163 eax = 0x2AAAAAABu; /* 0x2B06CACC: mov eax, 0x2aaaaaab */ 17164 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B06CAD1: imul ecx */ 17165 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 17166 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 17167 if (2u) _cf = (((edx) >> 1) & 1u); /* 0x2B06CAD3: sar edx, 2 */ 17168 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17169 edx = (uint32_t)((int32_t)edx >> 2u); 17170 eax = edx; /* 0x2B06CAD6: mov eax, edx */ 17171 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B06CAD8: shr eax, 0x1f */ 17172 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17173 eax = eax >> 31u; /* 0x2B06CAD8: shr eax, 0x1f */ 17174 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 17175 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17176 edx = edx + eax; /* 0x2B06CADB: add edx, eax */ 17177 _flag_k = FK_ADD; 17178 if (/* add result */ recomp_cond(_flag_k, _flag_a, _flag_b, CC_E)) goto L_2B06CAF5; /* 0x2B06CADD: je 0x2b06caf5 */ 17179 L_2B06CADF: 17180 edi = esi + 0xE4; /* 0x2B06CADF: lea edi, [esi + 0xe4] */ 17181 ecx = edi; /* 0x2B06CAE5: mov ecx, edi */ 17182 RECOMP_ICALL(MEM32(0x2B0B576C)); /* 0x2B06CAE7: call dword ptr [0x2b0b576c] */ 17183 RECOMP_FLAGS_IN(); 17184 ecx = edi; /* 0x2B06CAED: mov ecx, edi */ 17185 RECOMP_ICALL(MEM32(0x2B0B5768)); /* 0x2B06CAEF: call dword ptr [0x2b0b5768] */ 17186 RECOMP_FLAGS_IN(); 17187 L_2B06CAF5: 17188 ecx = MEM32(esi + 0x28); /* 0x2B06CAF5: mov ecx, dword ptr [esi + 0x28] */ 17189 edx = MEM32(esi + 0x9C); /* 0x2B06CAF8: mov edx, dword ptr [esi + 0x9c] */ 17190 PUSH32(esp, 0); /* 0x2B06CAFE: push 0 */ 17191 edi = esi + 0x44; /* 0x2B06CB00: lea edi, [esi + 0x44] */ 17192 PUSH32(esp, edi); /* 0x2B06CB03: push edi */ 17193 PUSH32(esp, 0); /* 0x2B06CB04: push 0 */ 17194 PUSH32(esp, 0); /* 0x2B06CB06: push 0 */ 17195 PUSH32(esp, ecx); /* 0x2B06CB08: push ecx */ 17196 ecx = MEM32(edx + 0x34); /* 0x2B06CB09: mov ecx, dword ptr [edx + 0x34] */ 17197 RECOMP_ICALL(MEM32(0x2B0B5878)); /* 0x2B06CB0C: call dword ptr [0x2b0b5878] */ 17198 RECOMP_FLAGS_IN(); 17199 eax = MEM32(esi + 0x48); /* 0x2B06CB12: mov eax, dword ptr [esi + 0x48] */ 17200 edx = MEM32(edi); /* 0x2B06CB15: mov edx, dword ptr [edi] */ 17201 SET_LO8(ecx, MEM8(esi + 0xE0)); /* 0x2B06CB17: mov cl, byte ptr [esi + 0xe0] */ 17202 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 17203 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17204 edx = edx + eax; /* 0x2B06CB1D: add edx, eax */ 17205 _flag_k = FK_ADD; 17206 /* test LO8(ecx), LO8(ecx) */ /* 0x2B06CB1F: test cl, cl */ 17207 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 17208 _cf = 0; 17209 _flag_k = FK_NARROW(FK_TEST, 24); 17210 MEM32(edi) = edx; /* 0x2B06CB21: mov dword ptr [edi], edx */ 17211 eax = edx; /* 0x2B06CB23: mov eax, edx */ 17212 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06CB2E; /* 0x2B06CB25: je 0x2b06cb2e */ 17213 L_2B06CB27: 17214 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x9Eu); 17215 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17216 eax = eax + 0x9Eu; /* 0x2B06CB27: add eax, 0x9e */ 17217 _flag_k = FK_ADD; 17218 MEM32(edi) = eax; /* 0x2B06CB2C: mov dword ptr [edi], eax */ 17219 L_2B06CB2E: 17220 PUSH32(esp, 1); /* 0x2B06CB2E: push 1 */ 17221 PUSH32(esp, 1); /* 0x2B06CB30: push 1 */ 17222 PUSH32(esp, 0); /* 0x2B06CB32: push 0 */ 17223 ecx = esi; /* 0x2B06CB34: mov ecx, esi */ 17224 RECOMP_ICALL(0x2B06D1C0u); /* 0x2B06CB36: call 0x2b06d1c0 */ /* not lifted */ 17225 RECOMP_FLAGS_IN(); 17226 ecx = MEM32(edi); /* 0x2B06CB3B: mov ecx, dword ptr [edi] */ 17227 PUSH32(esp, ecx); /* 0x2B06CB3D: push ecx */ 17228 ecx = MEM32(esi + 0xD8); /* 0x2B06CB3E: mov ecx, dword ptr [esi + 0xd8] */ 17229 RECOMP_ICALL(MEM32(0x2B0B5764)); /* 0x2B06CB44: call dword ptr [0x2b0b5764] */ 17230 RECOMP_FLAGS_IN(); 17231 ecx = MEM32(esi + 0xD8); /* 0x2B06CB4A: mov ecx, dword ptr [esi + 0xd8] */ 17232 PUSH32(esp, 0); /* 0x2B06CB50: push 0 */ 17233 RECOMP_ICALL(MEM32(0x2B0B5760)); /* 0x2B06CB52: call dword ptr [0x2b0b5760] */ 17234 RECOMP_FLAGS_IN(); 17235 ecx = MEM32(esi + 0xD8); /* 0x2B06CB58: mov ecx, dword ptr [esi + 0xd8] */ 17236 RECOMP_ICALL(MEM32(0x2B0B575C)); /* 0x2B06CB5E: call dword ptr [0x2b0b575c] */ 17237 RECOMP_FLAGS_IN(); 17238 SET_LO8(eax, MEM8(esi + 0x1E)); /* 0x2B06CB64: mov al, byte ptr [esi + 0x1e] */ 17239 /* test LO8(eax), LO8(eax) */ /* 0x2B06CB67: test al, al */ 17240 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17241 _cf = 0; 17242 _flag_k = FK_NARROW(FK_TEST, 24); 17243 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06CB6F; /* 0x2B06CB69: je 0x2b06cb6f */ 17244 L_2B06CB6B: 17245 PUSH32(esp, 1); /* 0x2B06CB6B: push 1 */ 17246 goto L_2B06CB71; /* 0x2B06CB6D: jmp 0x2b06cb71 */ 17247 L_2B06CB6F: 17248 PUSH32(esp, 0); /* 0x2B06CB6F: push 0 */ 17249 L_2B06CB71: 17250 ecx = MEM32(esi + 0xC8); /* 0x2B06CB71: mov ecx, dword ptr [esi + 0xc8] */ 17251 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B06CB77: call dword ptr [0x2b0b5ab4] */ 17252 RECOMP_FLAGS_IN(); 17253 ecx = MEM32(esi + 0xC8); /* 0x2B06CB7D: mov ecx, dword ptr [esi + 0xc8] */ 17254 RECOMP_ICALL(MEM32(0x2B0B5960)); /* 0x2B06CB83: call dword ptr [0x2b0b5960] */ 17255 RECOMP_FLAGS_IN(); 17256 edx = esi + 0x5C; /* 0x2B06CB89: lea edx, [esi + 0x5c] */ 17257 PUSH32(esp, edx); /* 0x2B06CB8C: push edx */ 17258 ecx = esi; /* 0x2B06CB8D: mov ecx, esi */ 17259 RECOMP_ICALL(0x2B06CC00u); /* 0x2B06CB8F: call 0x2b06cc00 */ /* not lifted */ 17260 RECOMP_FLAGS_IN(); 17261 ecx = esi; /* 0x2B06CB94: mov ecx, esi */ 17262 RECOMP_ICALL(0x2B06CE30u); /* 0x2B06CB96: call 0x2b06ce30 */ /* not lifted */ 17263 RECOMP_FLAGS_IN(); 17264 PUSH32(esp, 0x3F800000u); /* 0x2B06CB9B: push 0x3f800000 */ 17265 ecx = esi; /* 0x2B06CBA0: mov ecx, esi */ 17266 RECOMP_ICALL(0x2B06D0A0u); /* 0x2B06CBA2: call 0x2b06d0a0 */ /* not lifted */ 17267 RECOMP_FLAGS_IN(); 17268 PUSH32(esp, 0x10u); /* 0x2B06CBA7: push 0x10 */ 17269 MEM8(esi + 0x4C) = (uint8_t)(1); /* 0x2B06CBA9: mov byte ptr [esi + 0x4c], 1 */ 17270 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B06CBAD: call dword ptr [0x2b0b5b64] */ 17271 RECOMP_FLAGS_IN(); 17272 ecx = eax; /* 0x2B06CBB3: mov ecx, eax */ 17273 RECOMP_ICALL(MEM32(0x2B0B5AA0)); /* 0x2B06CBB5: call dword ptr [0x2b0b5aa0] */ 17274 RECOMP_FLAGS_IN(); 17275 edi = POP32_VAL(esp); /* 0x2B06CBBB: pop edi */ 17276 esi = POP32_VAL(esp); /* 0x2B06CBBC: pop esi */ 17277 ebx = POP32_VAL(esp); /* 0x2B06CBBD: pop ebx */ 17278 esp = ebp; /* 0x2B06CBBE: mov esp, ebp */ 17279 ebp = POP32_VAL(esp); /* 0x2B06CBC0: pop ebp */ 17280 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06CBC1: ret */ 17281 RECOMP_REGS_OUT(); 17282 } 17283 17284 void sub_2B06CBD0(void) { 17285 int _fpu_cmp = 0; 17286 uint32_t _cf = 0; 17287 int _df = 1; 17288 uint32_t _flag_k = FK_NONE; 17289 uint32_t _flag_a = 0, _flag_b = 0; 17290 uint32_t _itail_tgt = 0; 17291 RECOMP_REGS_LOCALS 17292 RECOMP_ENTER(0x2B06CBD0u); 17293 17294 L_2B06CBD0: 17295 PUSH32(esp, esi); /* 0x2B06CBD0: push esi */ 17296 esi = ecx; /* 0x2B06CBD1: mov esi, ecx */ 17297 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17298 eax = 0; /* 0x2B06CBD3: xor eax, eax */ 17299 _cf = 0; 17300 _flag_k = FK_TEST; 17301 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17302 ecx = 0; /* 0x2B06CBD5: xor ecx, ecx */ 17303 _cf = 0; 17304 _flag_k = FK_TEST; 17305 MEM32(esi + 0xC) = eax; /* 0x2B06CBD7: mov dword ptr [esi + 0xc], eax */ 17306 PUSH32(esp, 0x10u); /* 0x2B06CBDA: push 0x10 */ 17307 MEM32(esi + 0x10) = ecx; /* 0x2B06CBDC: mov dword ptr [esi + 0x10], ecx */ 17308 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B06CBDF: call dword ptr [0x2b0b5b64] */ 17309 RECOMP_FLAGS_IN(); 17310 ecx = eax; /* 0x2B06CBE5: mov ecx, eax */ 17311 RECOMP_ICALL(MEM32(0x2B0B5B68)); /* 0x2B06CBE7: call dword ptr [0x2b0b5b68] */ 17312 RECOMP_FLAGS_IN(); 17313 ecx = esi; /* 0x2B06CBED: mov ecx, esi */ 17314 MEM8(esi + 0x4C) = (uint8_t)(0); /* 0x2B06CBEF: mov byte ptr [esi + 0x4c], 0 */ 17315 RECOMP_ICALL(0x2B06CF30u); /* 0x2B06CBF3: call 0x2b06cf30 */ /* not lifted */ 17316 RECOMP_FLAGS_IN(); 17317 esi = POP32_VAL(esp); /* 0x2B06CBF8: pop esi */ 17318 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06CBF9: ret */ 17319 RECOMP_REGS_OUT(); 17320 } 17321 17322 void sub_2B06CC00(void) { 17323 int _fpu_cmp = 0; 17324 uint32_t _cf = 0; 17325 int _df = 1; 17326 uint32_t _flag_k = FK_NONE; 17327 uint32_t _flag_a = 0, _flag_b = 0; 17328 uint32_t _itail_tgt = 0; 17329 RECOMP_REGS_LOCALS 17330 RECOMP_ENTER(0x2B06CC00u); 17331 17332 L_2B06CC00: 17333 PUSH32(esp, ebp); /* 0x2B06CC00: push ebp */ 17334 ebp = esp; /* 0x2B06CC01: mov ebp, esp */ 17335 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 17336 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17337 esp = esp - 8; /* 0x2B06CC03: sub esp, 8 */ 17338 _flag_k = FK_CMP; 17339 eax = MEM32(ebp + 0x8); /* 0x2B06CC06: mov eax, dword ptr [ebp + 8] */ 17340 PUSH32(esp, ebx); /* 0x2B06CC09: push ebx */ 17341 PUSH32(esp, esi); /* 0x2B06CC0A: push esi */ 17342 esi = ecx; /* 0x2B06CC0B: mov esi, ecx */ 17343 ecx = MEM32(eax); /* 0x2B06CC0D: mov ecx, dword ptr [eax] */ 17344 MEM32(esi + 0x5C) = ecx; /* 0x2B06CC0F: mov dword ptr [esi + 0x5c], ecx */ 17345 edx = MEM32(eax + 0x4); /* 0x2B06CC12: mov edx, dword ptr [eax + 4] */ 17346 MEM32(esi + 0x60) = edx; /* 0x2B06CC15: mov dword ptr [esi + 0x60], edx */ 17347 SET_LO8(ecx, MEM8(0x2B0EEE7C)); /* 0x2B06CC18: mov cl, byte ptr [0x2b0eee7c] */ 17348 SET_LO8(eax, 1); /* 0x2B06CC1E: mov al, 1 */ 17349 /* test LO8(eax), LO8(ecx) */ /* 0x2B06CC20: test al, cl */ 17350 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 17351 _cf = 0; 17352 _flag_k = FK_NARROW(FK_TEST, 24); 17353 PUSH32(esp, edi); /* 0x2B06CC22: push edi */ 17354 edi = MEM32(0x2B0B5690); /* 0x2B06CC23: mov edi, dword ptr [0x2b0b5690] */ 17355 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06CC47; /* 0x2B06CC29: jne 0x2b06cc47 */ 17356 L_2B06CC2B: 17357 _flag_a = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; _flag_b = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; 17358 SET_LO8(ecx, LO8(ecx) | LO8(eax)); /* 0x2B06CC2B: or cl, al */ 17359 _cf = 0; 17360 _flag_k = FK_NARROW(FK_TEST, 24); 17361 MEM8(0x2B0EEE7C) = (uint8_t)(LO8(ecx)); /* 0x2B06CC2D: mov byte ptr [0x2b0eee7c], cl */ 17362 RECOMP_ICALL(edi); /* 0x2B06CC33: call edi */ 17363 RECOMP_FLAGS_IN(); 17364 ecx = eax; /* 0x2B06CC35: mov ecx, eax */ 17365 RECOMP_ICALL(MEM32(0x2B0B5688)); /* 0x2B06CC37: call dword ptr [0x2b0b5688] */ 17366 RECOMP_FLAGS_IN(); 17367 ecx = eax; /* 0x2B06CC3D: mov ecx, eax */ 17368 MEM32(0x2B0EEE78) = ecx; /* 0x2B06CC3F: mov dword ptr [0x2b0eee78], ecx */ 17369 goto L_2B06CC4D; /* 0x2B06CC45: jmp 0x2b06cc4d */ 17370 L_2B06CC47: 17371 ecx = MEM32(0x2B0EEE78); /* 0x2B06CC47: mov ecx, dword ptr [0x2b0eee78] */ 17372 L_2B06CC4D: 17373 SET_LO8(edx, MEM8(0x2B0EEE7C)); /* 0x2B06CC4D: mov dl, byte ptr [0x2b0eee7c] */ 17374 SET_LO8(eax, 2); /* 0x2B06CC53: mov al, 2 */ 17375 /* test LO8(eax), LO8(edx) */ /* 0x2B06CC55: test al, dl */ 17376 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 17377 _cf = 0; 17378 _flag_k = FK_NARROW(FK_TEST, 24); 17379 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06CC7A; /* 0x2B06CC57: jne 0x2b06cc7a */ 17380 L_2B06CC59: 17381 SET_LO8(ecx, LO8(edx)); /* 0x2B06CC59: mov cl, dl */ 17382 _flag_a = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; _flag_b = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; 17383 SET_LO8(ecx, LO8(ecx) | LO8(eax)); /* 0x2B06CC5B: or cl, al */ 17384 _cf = 0; 17385 _flag_k = FK_NARROW(FK_TEST, 24); 17386 MEM8(0x2B0EEE7C) = (uint8_t)(LO8(ecx)); /* 0x2B06CC5D: mov byte ptr [0x2b0eee7c], cl */ 17387 RECOMP_ICALL(edi); /* 0x2B06CC63: call edi */ 17388 RECOMP_FLAGS_IN(); 17389 ecx = eax; /* 0x2B06CC65: mov ecx, eax */ 17390 RECOMP_ICALL(MEM32(0x2B0B568C)); /* 0x2B06CC67: call dword ptr [0x2b0b568c] */ 17391 RECOMP_FLAGS_IN(); 17392 ecx = MEM32(0x2B0EEE78); /* 0x2B06CC6D: mov ecx, dword ptr [0x2b0eee78] */ 17393 MEM32(0x2B0EEE74) = eax; /* 0x2B06CC73: mov dword ptr [0x2b0eee74], eax */ 17394 goto L_2B06CC7F; /* 0x2B06CC78: jmp 0x2b06cc7f */ 17395 L_2B06CC7A: 17396 eax = MEM32(0x2B0EEE74); /* 0x2B06CC7A: mov eax, dword ptr [0x2b0eee74] */ 17397 L_2B06CC7F: 17398 edx = MEM32(esi + 0x80); /* 0x2B06CC7F: mov edx, dword ptr [esi + 0x80] */ 17399 ebx = MEM32(esi + 0x74); /* 0x2B06CC85: mov ebx, dword ptr [esi + 0x74] */ 17400 edi = edx + edx; /* 0x2B06CC88: lea edi, [edx + edx] */ 17401 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 17402 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17403 ecx = ecx - edi; /* 0x2B06CC8B: sub ecx, edi */ 17404 _flag_k = FK_CMP; 17405 edi = MEM32(esi + 0x5C); /* 0x2B06CC8D: mov edi, dword ptr [esi + 0x5c] */ 17406 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 17407 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17408 ecx = ecx - ebx; /* 0x2B06CC90: sub ecx, ebx */ 17409 _flag_k = FK_CMP; 17410 /* cmp edi, ecx */ /* 0x2B06CC92: cmp edi, ecx */ 17411 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 17412 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17413 _flag_k = FK_CMP; 17414 if (CMP_LE(_flag_a, _flag_b)) goto L_2B06CC9E; /* 0x2B06CC94: jle 0x2b06cc9e */ 17415 L_2B06CC96: 17416 MEM32(esi + 0x5C) = ecx; /* 0x2B06CC96: mov dword ptr [esi + 0x5c], ecx */ 17417 eax = MEM32(0x2B0EEE74); /* 0x2B06CC99: mov eax, dword ptr [0x2b0eee74] */ 17418 L_2B06CC9E: 17419 ecx = MEM32(esi + 0x78); /* 0x2B06CC9E: mov ecx, dword ptr [esi + 0x78] */ 17420 ebx = MEM32(esi + 0x7C); /* 0x2B06CCA1: mov ebx, dword ptr [esi + 0x7c] */ 17421 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 17422 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17423 eax = eax - ecx; /* 0x2B06CCA4: sub eax, ecx */ 17424 _flag_k = FK_CMP; 17425 ecx = MEM32(esi + 0x60); /* 0x2B06CCA6: mov ecx, dword ptr [esi + 0x60] */ 17426 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 17427 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17428 eax = eax - ebx; /* 0x2B06CCA9: sub eax, ebx */ 17429 _flag_k = FK_CMP; 17430 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 17431 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17432 eax = eax - edx; /* 0x2B06CCAB: sub eax, edx */ 17433 _flag_k = FK_CMP; 17434 /* cmp ecx, eax */ /* 0x2B06CCAD: cmp ecx, eax */ 17435 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 17436 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17437 _flag_k = FK_CMP; 17438 if (CMP_LE(_flag_a, _flag_b)) goto L_2B06CCB4; /* 0x2B06CCAF: jle 0x2b06ccb4 */ 17439 L_2B06CCB1: 17440 MEM32(esi + 0x60) = eax; /* 0x2B06CCB1: mov dword ptr [esi + 0x60], eax */ 17441 L_2B06CCB4: 17442 ecx = MEM32(esi + 0x5C); /* 0x2B06CCB4: mov ecx, dword ptr [esi + 0x5c] */ 17443 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17444 eax = 0; /* 0x2B06CCB7: xor eax, eax */ 17445 _cf = 0; 17446 _flag_k = FK_TEST; 17447 /* cmp ecx, eax */ /* 0x2B06CCB9: cmp ecx, eax */ 17448 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 17449 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17450 _flag_k = FK_CMP; 17451 if (CMP_GE(_flag_a, _flag_b)) goto L_2B06CCC0; /* 0x2B06CCBB: jge 0x2b06ccc0 */ 17452 L_2B06CCBD: 17453 MEM32(esi + 0x5C) = eax; /* 0x2B06CCBD: mov dword ptr [esi + 0x5c], eax */ 17454 L_2B06CCC0: 17455 /* cmp MEM32(esi + 0x60), eax */ /* 0x2B06CCC0: cmp dword ptr [esi + 0x60], eax */ 17456 _flag_a = (uint32_t)(MEM32(esi + 0x60)); _flag_b = (uint32_t)(eax); 17457 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17458 _flag_k = FK_CMP; 17459 if (CMP_GE(_flag_a, _flag_b)) goto L_2B06CCC8; /* 0x2B06CCC3: jge 0x2b06ccc8 */ 17460 L_2B06CCC5: 17461 MEM32(esi + 0x60) = eax; /* 0x2B06CCC5: mov dword ptr [esi + 0x60], eax */ 17462 L_2B06CCC8: 17463 eax = MEM32(esi + 0x5C); /* 0x2B06CCC8: mov eax, dword ptr [esi + 0x5c] */ 17464 ecx = MEM32(esi + 0x60); /* 0x2B06CCCB: mov ecx, dword ptr [esi + 0x60] */ 17465 MEM32(ebp + (-0x8)) = eax; /* 0x2B06CCCE: mov dword ptr [ebp - 8], eax */ 17466 MEM32(ebp + (-0x4)) = ecx; /* 0x2B06CCD1: mov dword ptr [ebp - 4], ecx */ 17467 ecx = MEM32(esi + 0x88); /* 0x2B06CCD4: mov ecx, dword ptr [esi + 0x88] */ 17468 edx = MEM32(ecx); /* 0x2B06CCDA: mov edx, dword ptr [ecx] */ 17469 eax = ebp + (-0x8); /* 0x2B06CCDC: lea eax, [ebp - 8] */ 17470 PUSH32(esp, eax); /* 0x2B06CCDF: push eax */ 17471 RECOMP_ICALL(MEM32(edx + 0x14)); /* 0x2B06CCE0: call dword ptr [edx + 0x14] */ 17472 RECOMP_FLAGS_IN(); 17473 ebx = MEM32(0x2B0B5BB8); /* 0x2B06CCE3: mov ebx, dword ptr [0x2b0b5bb8] */ 17474 ecx = ebp + (-0x8); /* 0x2B06CCE9: lea ecx, [ebp - 8] */ 17475 PUSH32(esp, ecx); /* 0x2B06CCEC: push ecx */ 17476 ecx = MEM32(esi + 0xA4); /* 0x2B06CCED: mov ecx, dword ptr [esi + 0xa4] */ 17477 RECOMP_ICALL(ebx); /* 0x2B06CCF3: call ebx */ 17478 RECOMP_FLAGS_IN(); 17479 edi = MEM32(ebp + (-0x8)); /* 0x2B06CCF5: mov edi, dword ptr [ebp - 8] */ 17480 edx = MEM32(esi + 0x7C); /* 0x2B06CCF8: mov edx, dword ptr [esi + 0x7c] */ 17481 ecx = MEM32(esi + 0xB4); /* 0x2B06CCFB: mov ecx, dword ptr [esi + 0xb4] */ 17482 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 17483 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17484 edi = edi + edx; /* 0x2B06CD01: add edi, edx */ 17485 _flag_k = FK_ADD; 17486 eax = ebp + (-0x8); /* 0x2B06CD03: lea eax, [ebp - 8] */ 17487 MEM32(ebp + (-0x8)) = edi; /* 0x2B06CD06: mov dword ptr [ebp - 8], edi */ 17488 edi = MEM32(0x2B0B5640); /* 0x2B06CD09: mov edi, dword ptr [0x2b0b5640] */ 17489 PUSH32(esp, eax); /* 0x2B06CD0F: push eax */ 17490 RECOMP_ICALL(edi); /* 0x2B06CD10: call edi */ 17491 RECOMP_FLAGS_IN(); 17492 ecx = MEM32(esi + 0x7C); /* 0x2B06CD12: mov ecx, dword ptr [esi + 0x7c] */ 17493 edx = MEM32(esi + 0x80); /* 0x2B06CD15: mov edx, dword ptr [esi + 0x80] */ 17494 eax = edx + ecx * 2; /* 0x2B06CD1B: lea eax, [edx + ecx*2] */ 17495 ecx = MEM32(esi + 0x64); /* 0x2B06CD1E: mov ecx, dword ptr [esi + 0x64] */ 17496 edx = MEM32(ebp + (-0x8)); /* 0x2B06CD21: mov edx, dword ptr [ebp - 8] */ 17497 if (1u) _cf = (((eax) >> 31) & 1u); /* 0x2B06CD24: shl eax, 1 */ 17498 if (1u) { _flag_a = recomp_flags_pack((eax << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17499 eax = eax << 1u; /* 0x2B06CD24: shl eax, 1 */ 17500 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 17501 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17502 ecx = ecx - eax; /* 0x2B06CD26: sub ecx, eax */ 17503 _flag_k = FK_CMP; 17504 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 17505 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17506 edx = edx + ecx; /* 0x2B06CD28: add edx, ecx */ 17507 _flag_k = FK_ADD; 17508 ecx = MEM32(esi + 0xA8); /* 0x2B06CD2A: mov ecx, dword ptr [esi + 0xa8] */ 17509 MEM32(ebp + (-0x8)) = edx; /* 0x2B06CD30: mov dword ptr [ebp - 8], edx */ 17510 edx = ebp + (-0x8); /* 0x2B06CD33: lea edx, [ebp - 8] */ 17511 PUSH32(esp, edx); /* 0x2B06CD36: push edx */ 17512 RECOMP_ICALL(ebx); /* 0x2B06CD37: call ebx */ 17513 RECOMP_FLAGS_IN(); 17514 edx = MEM32(esi + 0x60); /* 0x2B06CD39: mov edx, dword ptr [esi + 0x60] */ 17515 ecx = MEM32(esi + 0x7C); /* 0x2B06CD3C: mov ecx, dword ptr [esi + 0x7c] */ 17516 eax = MEM32(esi + 0x5C); /* 0x2B06CD3F: mov eax, dword ptr [esi + 0x5c] */ 17517 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 17518 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17519 ecx = ecx + edx; /* 0x2B06CD42: add ecx, edx */ 17520 _flag_k = FK_ADD; 17521 edx = ebp + (-0x8); /* 0x2B06CD44: lea edx, [ebp - 8] */ 17522 MEM32(ebp + (-0x4)) = ecx; /* 0x2B06CD47: mov dword ptr [ebp - 4], ecx */ 17523 ecx = MEM32(esi + 0xC0); /* 0x2B06CD4A: mov ecx, dword ptr [esi + 0xc0] */ 17524 PUSH32(esp, edx); /* 0x2B06CD50: push edx */ 17525 MEM32(ebp + (-0x8)) = eax; /* 0x2B06CD51: mov dword ptr [ebp - 8], eax */ 17526 RECOMP_ICALL(edi); /* 0x2B06CD54: call edi */ 17527 RECOMP_FLAGS_IN(); 17528 eax = MEM32(esi + 0x80); /* 0x2B06CD56: mov eax, dword ptr [esi + 0x80] */ 17529 edx = MEM32(esi + 0x64); /* 0x2B06CD5C: mov edx, dword ptr [esi + 0x64] */ 17530 ecx = MEM32(ebp + (-0x8)); /* 0x2B06CD5F: mov ecx, dword ptr [ebp - 8] */ 17531 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 17532 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17533 eax = eax + edx; /* 0x2B06CD62: add eax, edx */ 17534 _flag_k = FK_ADD; 17535 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 17536 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17537 ecx = ecx + eax; /* 0x2B06CD64: add ecx, eax */ 17538 _flag_k = FK_ADD; 17539 MEM32(ebp + (-0x8)) = ecx; /* 0x2B06CD66: mov dword ptr [ebp - 8], ecx */ 17540 ecx = ebp + (-0x8); /* 0x2B06CD69: lea ecx, [ebp - 8] */ 17541 PUSH32(esp, ecx); /* 0x2B06CD6C: push ecx */ 17542 ecx = MEM32(esi + 0xB8); /* 0x2B06CD6D: mov ecx, dword ptr [esi + 0xb8] */ 17543 RECOMP_ICALL(edi); /* 0x2B06CD73: call edi */ 17544 RECOMP_FLAGS_IN(); 17545 edx = MEM32(esi + 0x5C); /* 0x2B06CD75: mov edx, dword ptr [esi + 0x5c] */ 17546 eax = MEM32(esi + 0x68); /* 0x2B06CD78: mov eax, dword ptr [esi + 0x68] */ 17547 ecx = MEM32(esi + 0x60); /* 0x2B06CD7B: mov ecx, dword ptr [esi + 0x60] */ 17548 MEM32(ebp + (-0x8)) = edx; /* 0x2B06CD7E: mov dword ptr [ebp - 8], edx */ 17549 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x7C)); 17550 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17551 eax = eax + MEM32(esi + 0x7C); /* 0x2B06CD81: add eax, dword ptr [esi + 0x7c] */ 17552 _flag_k = FK_ADD; 17553 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 17554 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17555 eax = eax + ecx; /* 0x2B06CD84: add eax, ecx */ 17556 _flag_k = FK_ADD; 17557 ecx = ebp + (-0x8); /* 0x2B06CD86: lea ecx, [ebp - 8] */ 17558 PUSH32(esp, ecx); /* 0x2B06CD89: push ecx */ 17559 ecx = MEM32(esi + 0xB0); /* 0x2B06CD8A: mov ecx, dword ptr [esi + 0xb0] */ 17560 MEM32(ebp + (-0x4)) = eax; /* 0x2B06CD90: mov dword ptr [ebp - 4], eax */ 17561 RECOMP_ICALL(edi); /* 0x2B06CD93: call edi */ 17562 RECOMP_FLAGS_IN(); 17563 eax = MEM32(ebp + (-0x8)); /* 0x2B06CD95: mov eax, dword ptr [ebp - 8] */ 17564 edx = MEM32(esi + 0x80); /* 0x2B06CD98: mov edx, dword ptr [esi + 0x80] */ 17565 ecx = MEM32(esi + 0xBC); /* 0x2B06CD9E: mov ecx, dword ptr [esi + 0xbc] */ 17566 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 17567 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17568 eax = eax + edx; /* 0x2B06CDA4: add eax, edx */ 17569 _flag_k = FK_ADD; 17570 MEM32(ebp + (-0x8)) = eax; /* 0x2B06CDA6: mov dword ptr [ebp - 8], eax */ 17571 eax = ebp + (-0x8); /* 0x2B06CDA9: lea eax, [ebp - 8] */ 17572 PUSH32(esp, eax); /* 0x2B06CDAC: push eax */ 17573 RECOMP_ICALL(edi); /* 0x2B06CDAD: call edi */ 17574 RECOMP_FLAGS_IN(); 17575 edx = MEM32(ebp + (-0x8)); /* 0x2B06CDAF: mov edx, dword ptr [ebp - 8] */ 17576 ecx = MEM32(esi + 0x64); /* 0x2B06CDB2: mov ecx, dword ptr [esi + 0x64] */ 17577 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 17578 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17579 edx = edx + ecx; /* 0x2B06CDB5: add edx, ecx */ 17580 _flag_k = FK_ADD; 17581 MEM32(ebp + (-0x8)) = edx; /* 0x2B06CDB7: mov dword ptr [ebp - 8], edx */ 17582 edx = ebp + (-0x8); /* 0x2B06CDBA: lea edx, [ebp - 8] */ 17583 ecx = MEM32(esi + 0xAC); /* 0x2B06CDBD: mov ecx, dword ptr [esi + 0xac] */ 17584 PUSH32(esp, edx); /* 0x2B06CDC3: push edx */ 17585 RECOMP_ICALL(edi); /* 0x2B06CDC4: call edi */ 17586 RECOMP_FLAGS_IN(); 17587 ecx = MEM32(esi + 0x5C); /* 0x2B06CDC6: mov ecx, dword ptr [esi + 0x5c] */ 17588 eax = MEM32(esi + 0x80); /* 0x2B06CDC9: mov eax, dword ptr [esi + 0x80] */ 17589 edx = MEM32(esi + 0x60); /* 0x2B06CDCF: mov edx, dword ptr [esi + 0x60] */ 17590 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 17591 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17592 eax = eax + ecx; /* 0x2B06CDD2: add eax, ecx */ 17593 _flag_k = FK_ADD; 17594 ecx = MEM32(esi + 0x7C); /* 0x2B06CDD4: mov ecx, dword ptr [esi + 0x7c] */ 17595 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 17596 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17597 ecx = ecx + edx; /* 0x2B06CDD7: add ecx, edx */ 17598 _flag_k = FK_ADD; 17599 MEM32(ebp + (-0x8)) = eax; /* 0x2B06CDD9: mov dword ptr [ebp - 8], eax */ 17600 MEM32(ebp + (-0x4)) = ecx; /* 0x2B06CDDC: mov dword ptr [ebp - 4], ecx */ 17601 ecx = MEM32(esi + 0x8C); /* 0x2B06CDDF: mov ecx, dword ptr [esi + 0x8c] */ 17602 edx = MEM32(ecx); /* 0x2B06CDE5: mov edx, dword ptr [ecx] */ 17603 eax = ebp + (-0x8); /* 0x2B06CDE7: lea eax, [ebp - 8] */ 17604 PUSH32(esp, eax); /* 0x2B06CDEA: push eax */ 17605 RECOMP_ICALL(MEM32(edx + 0x14)); /* 0x2B06CDEB: call dword ptr [edx + 0x14] */ 17606 RECOMP_FLAGS_IN(); 17607 ecx = ebp + (-0x8); /* 0x2B06CDEE: lea ecx, [ebp - 8] */ 17608 PUSH32(esp, ecx); /* 0x2B06CDF1: push ecx */ 17609 ecx = MEM32(esi + 0x94); /* 0x2B06CDF2: mov ecx, dword ptr [esi + 0x94] */ 17610 RECOMP_ICALL(edi); /* 0x2B06CDF8: call edi */ 17611 RECOMP_FLAGS_IN(); 17612 ecx = MEM32(esi + 0x98); /* 0x2B06CDFA: mov ecx, dword ptr [esi + 0x98] */ 17613 edx = ebp + (-0x8); /* 0x2B06CE00: lea edx, [ebp - 8] */ 17614 PUSH32(esp, edx); /* 0x2B06CE03: push edx */ 17615 RECOMP_ICALL(ebx); /* 0x2B06CE04: call ebx */ 17616 RECOMP_FLAGS_IN(); 17617 ecx = MEM32(ebp + (-0x8)); /* 0x2B06CE06: mov ecx, dword ptr [ebp - 8] */ 17618 eax = MEM32(esi + 0x74); /* 0x2B06CE09: mov eax, dword ptr [esi + 0x74] */ 17619 edx = ecx + eax + (-0xB); /* 0x2B06CE0C: lea edx, [ecx + eax - 0xb] */ 17620 ecx = MEM32(esi + 0xD8); /* 0x2B06CE10: mov ecx, dword ptr [esi + 0xd8] */ 17621 MEM32(ebp + (-0x8)) = edx; /* 0x2B06CE16: mov dword ptr [ebp - 8], edx */ 17622 eax = MEM32(ecx); /* 0x2B06CE19: mov eax, dword ptr [ecx] */ 17623 edx = ebp + (-0x8); /* 0x2B06CE1B: lea edx, [ebp - 8] */ 17624 PUSH32(esp, edx); /* 0x2B06CE1E: push edx */ 17625 RECOMP_ICALL(MEM32(eax + 0x14)); /* 0x2B06CE1F: call dword ptr [eax + 0x14] */ 17626 RECOMP_FLAGS_IN(); 17627 edi = POP32_VAL(esp); /* 0x2B06CE22: pop edi */ 17628 esi = POP32_VAL(esp); /* 0x2B06CE23: pop esi */ 17629 ebx = POP32_VAL(esp); /* 0x2B06CE24: pop ebx */ 17630 esp = ebp; /* 0x2B06CE25: mov esp, ebp */ 17631 ebp = POP32_VAL(esp); /* 0x2B06CE27: pop ebp */ 17632 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06CE28: ret 4 */ 17633 RECOMP_REGS_OUT(); 17634 } 17635 17636 void sub_2B06CE30(void) { 17637 int _fpu_cmp = 0; 17638 uint32_t _cf = 0; 17639 int _df = 1; 17640 uint32_t _flag_k = FK_NONE; 17641 uint32_t _flag_a = 0, _flag_b = 0; 17642 uint32_t _itail_tgt = 0; 17643 RECOMP_REGS_LOCALS 17644 RECOMP_ENTER(0x2B06CE30u); 17645 17646 L_2B06CE30: 17647 PUSH32(esp, ebx); /* 0x2B06CE30: push ebx */ 17648 PUSH32(esp, esi); /* 0x2B06CE31: push esi */ 17649 esi = ecx; /* 0x2B06CE32: mov esi, ecx */ 17650 ecx = MEM32(esi + 0xD8); /* 0x2B06CE34: mov ecx, dword ptr [esi + 0xd8] */ 17651 PUSH32(esp, edi); /* 0x2B06CE3A: push edi */ 17652 RECOMP_ICALL(MEM32(0x2B0B5770)); /* 0x2B06CE3B: call dword ptr [0x2b0b5770] */ 17653 RECOMP_FLAGS_IN(); 17654 eax = MEM32(esi + 0x88); /* 0x2B06CE41: mov eax, dword ptr [esi + 0x88] */ 17655 SET_LO8(ebx, 1); /* 0x2B06CE47: mov bl, 1 */ 17656 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B06CE49: mov byte ptr [eax + 8], bl */ 17657 ecx = MEM32(esi + 0x8C); /* 0x2B06CE4C: mov ecx, dword ptr [esi + 0x8c] */ 17658 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B06CE52: mov byte ptr [ecx + 8], bl */ 17659 edx = MEM32(esi + 0xD4); /* 0x2B06CE55: mov edx, dword ptr [esi + 0xd4] */ 17660 MEM8(edx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B06CE5B: mov byte ptr [edx + 8], bl */ 17661 eax = MEM32(esi + 0x9C); /* 0x2B06CE5E: mov eax, dword ptr [esi + 0x9c] */ 17662 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B06CE64: mov byte ptr [eax + 8], bl */ 17663 ecx = MEM32(esi + 0xA0); /* 0x2B06CE67: mov ecx, dword ptr [esi + 0xa0] */ 17664 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B06CE6D: mov byte ptr [ecx + 8], bl */ 17665 SET_LO8(eax, MEM8(esi + 0xE0)); /* 0x2B06CE70: mov al, byte ptr [esi + 0xe0] */ 17666 /* test LO8(eax), LO8(eax) */ /* 0x2B06CE76: test al, al */ 17667 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17668 _cf = 0; 17669 _flag_k = FK_NARROW(FK_TEST, 24); 17670 ecx = MEM32(esi + 0xDC); /* 0x2B06CE78: mov ecx, dword ptr [esi + 0xdc] */ 17671 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06CE88; /* 0x2B06CE7E: je 0x2b06ce88 */ 17672 L_2B06CE80: 17673 RECOMP_ICALL(MEM32(0x2B0B58DC)); /* 0x2B06CE80: call dword ptr [0x2b0b58dc] */ 17674 RECOMP_FLAGS_IN(); 17675 goto L_2B06CE8E; /* 0x2B06CE86: jmp 0x2b06ce8e */ 17676 L_2B06CE88: 17677 RECOMP_ICALL(MEM32(0x2B0B58D8)); /* 0x2B06CE88: call dword ptr [0x2b0b58d8] */ 17678 RECOMP_FLAGS_IN(); 17679 L_2B06CE8E: 17680 ecx = MEM32(esi + 0x98); /* 0x2B06CE8E: mov ecx, dword ptr [esi + 0x98] */ 17681 edi = MEM32(0x2B0B5BB4); /* 0x2B06CE94: mov edi, dword ptr [0x2b0b5bb4] */ 17682 RECOMP_ICALL(edi); /* 0x2B06CE9A: call edi */ 17683 RECOMP_FLAGS_IN(); 17684 ecx = MEM32(esi + 0x94); /* 0x2B06CE9C: mov ecx, dword ptr [esi + 0x94] */ 17685 edx = MEM32(ecx); /* 0x2B06CEA2: mov edx, dword ptr [ecx] */ 17686 RECOMP_ICALL(MEM32(edx + 0x8)); /* 0x2B06CEA4: call dword ptr [edx + 8] */ 17687 RECOMP_FLAGS_IN(); 17688 ecx = MEM32(esi + 0xA4); /* 0x2B06CEA7: mov ecx, dword ptr [esi + 0xa4] */ 17689 RECOMP_ICALL(edi); /* 0x2B06CEAD: call edi */ 17690 RECOMP_FLAGS_IN(); 17691 ecx = MEM32(esi + 0xA8); /* 0x2B06CEAF: mov ecx, dword ptr [esi + 0xa8] */ 17692 RECOMP_ICALL(edi); /* 0x2B06CEB5: call edi */ 17693 RECOMP_FLAGS_IN(); 17694 ecx = MEM32(esi + 0xAC); /* 0x2B06CEB7: mov ecx, dword ptr [esi + 0xac] */ 17695 eax = MEM32(ecx); /* 0x2B06CEBD: mov eax, dword ptr [ecx] */ 17696 RECOMP_ICALL(MEM32(eax + 0x8)); /* 0x2B06CEBF: call dword ptr [eax + 8] */ 17697 RECOMP_FLAGS_IN(); 17698 ecx = MEM32(esi + 0xB0); /* 0x2B06CEC2: mov ecx, dword ptr [esi + 0xb0] */ 17699 edx = MEM32(ecx); /* 0x2B06CEC8: mov edx, dword ptr [ecx] */ 17700 RECOMP_ICALL(MEM32(edx + 0x8)); /* 0x2B06CECA: call dword ptr [edx + 8] */ 17701 RECOMP_FLAGS_IN(); 17702 ecx = MEM32(esi + 0xB4); /* 0x2B06CECD: mov ecx, dword ptr [esi + 0xb4] */ 17703 eax = MEM32(ecx); /* 0x2B06CED3: mov eax, dword ptr [ecx] */ 17704 RECOMP_ICALL(MEM32(eax + 0x8)); /* 0x2B06CED5: call dword ptr [eax + 8] */ 17705 RECOMP_FLAGS_IN(); 17706 ecx = MEM32(esi + 0xB8); /* 0x2B06CED8: mov ecx, dword ptr [esi + 0xb8] */ 17707 edx = MEM32(ecx); /* 0x2B06CEDE: mov edx, dword ptr [ecx] */ 17708 RECOMP_ICALL(MEM32(edx + 0x8)); /* 0x2B06CEE0: call dword ptr [edx + 8] */ 17709 RECOMP_FLAGS_IN(); 17710 ecx = MEM32(esi + 0xBC); /* 0x2B06CEE3: mov ecx, dword ptr [esi + 0xbc] */ 17711 eax = MEM32(ecx); /* 0x2B06CEE9: mov eax, dword ptr [ecx] */ 17712 RECOMP_ICALL(MEM32(eax + 0x8)); /* 0x2B06CEEB: call dword ptr [eax + 8] */ 17713 RECOMP_FLAGS_IN(); 17714 ecx = MEM32(esi + 0xC0); /* 0x2B06CEEE: mov ecx, dword ptr [esi + 0xc0] */ 17715 edx = MEM32(ecx); /* 0x2B06CEF4: mov edx, dword ptr [ecx] */ 17716 RECOMP_ICALL(MEM32(edx + 0x8)); /* 0x2B06CEF6: call dword ptr [edx + 8] */ 17717 RECOMP_FLAGS_IN(); 17718 ecx = MEM32(esi + 0xC4); /* 0x2B06CEF9: mov ecx, dword ptr [esi + 0xc4] */ 17719 edi = MEM32(0x2B0B5B3C); /* 0x2B06CEFF: mov edi, dword ptr [0x2b0b5b3c] */ 17720 RECOMP_ICALL(edi); /* 0x2B06CF05: call edi */ 17721 RECOMP_FLAGS_IN(); 17722 ecx = MEM32(esi + 0xC8); /* 0x2B06CF07: mov ecx, dword ptr [esi + 0xc8] */ 17723 RECOMP_ICALL(edi); /* 0x2B06CF0D: call edi */ 17724 RECOMP_FLAGS_IN(); 17725 ecx = MEM32(esi + 0xCC); /* 0x2B06CF0F: mov ecx, dword ptr [esi + 0xcc] */ 17726 RECOMP_ICALL(edi); /* 0x2B06CF15: call edi */ 17727 RECOMP_FLAGS_IN(); 17728 eax = MEM32(esi + 0xD0); /* 0x2B06CF17: mov eax, dword ptr [esi + 0xd0] */ 17729 edi = POP32_VAL(esp); /* 0x2B06CF1D: pop edi */ 17730 esi = POP32_VAL(esp); /* 0x2B06CF1E: pop esi */ 17731 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B06CF1F: mov byte ptr [eax + 8], bl */ 17732 ebx = POP32_VAL(esp); /* 0x2B06CF22: pop ebx */ 17733 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06CF23: ret */ 17734 RECOMP_REGS_OUT(); 17735 } 17736 17737 void sub_2B06CF30(void) { 17738 int _fpu_cmp = 0; 17739 uint32_t _cf = 0; 17740 int _df = 1; 17741 uint32_t _flag_k = FK_NONE; 17742 uint32_t _flag_a = 0, _flag_b = 0; 17743 uint32_t _itail_tgt = 0; 17744 RECOMP_REGS_LOCALS 17745 RECOMP_ENTER(0x2B06CF30u); 17746 17747 L_2B06CF30: 17748 PUSH32(esp, ebx); /* 0x2B06CF30: push ebx */ 17749 PUSH32(esp, esi); /* 0x2B06CF31: push esi */ 17750 esi = ecx; /* 0x2B06CF32: mov esi, ecx */ 17751 ecx = MEM32(esi + 0xD8); /* 0x2B06CF34: mov ecx, dword ptr [esi + 0xd8] */ 17752 PUSH32(esp, edi); /* 0x2B06CF3A: push edi */ 17753 RECOMP_ICALL(MEM32(0x2B0B5A60)); /* 0x2B06CF3B: call dword ptr [0x2b0b5a60] */ 17754 RECOMP_FLAGS_IN(); 17755 eax = MEM32(esi + 0x88); /* 0x2B06CF41: mov eax, dword ptr [esi + 0x88] */ 17756 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 17757 SET_LO8(ebx, 0); /* 0x2B06CF47: xor bl, bl */ 17758 _cf = 0; 17759 _flag_k = FK_NARROW(FK_TEST, 24); 17760 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B06CF49: mov byte ptr [eax + 8], bl */ 17761 ecx = MEM32(esi + 0x8C); /* 0x2B06CF4C: mov ecx, dword ptr [esi + 0x8c] */ 17762 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B06CF52: mov byte ptr [ecx + 8], bl */ 17763 edx = MEM32(esi + 0xD4); /* 0x2B06CF55: mov edx, dword ptr [esi + 0xd4] */ 17764 MEM8(edx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B06CF5B: mov byte ptr [edx + 8], bl */ 17765 eax = MEM32(esi + 0x9C); /* 0x2B06CF5E: mov eax, dword ptr [esi + 0x9c] */ 17766 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B06CF64: mov byte ptr [eax + 8], bl */ 17767 ecx = MEM32(esi + 0xA0); /* 0x2B06CF67: mov ecx, dword ptr [esi + 0xa0] */ 17768 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B06CF6D: mov byte ptr [ecx + 8], bl */ 17769 ecx = MEM32(esi + 0xDC); /* 0x2B06CF70: mov ecx, dword ptr [esi + 0xdc] */ 17770 RECOMP_ICALL(MEM32(0x2B0B58D8)); /* 0x2B06CF76: call dword ptr [0x2b0b58d8] */ 17771 RECOMP_FLAGS_IN(); 17772 ecx = MEM32(esi + 0x98); /* 0x2B06CF7C: mov ecx, dword ptr [esi + 0x98] */ 17773 edi = MEM32(0x2B0B5BAC); /* 0x2B06CF82: mov edi, dword ptr [0x2b0b5bac] */ 17774 RECOMP_ICALL(edi); /* 0x2B06CF88: call edi */ 17775 RECOMP_FLAGS_IN(); 17776 ecx = MEM32(esi + 0x94); /* 0x2B06CF8A: mov ecx, dword ptr [esi + 0x94] */ 17777 edx = MEM32(ecx); /* 0x2B06CF90: mov edx, dword ptr [ecx] */ 17778 RECOMP_ICALL(MEM32(edx + 0xC)); /* 0x2B06CF92: call dword ptr [edx + 0xc] */ 17779 RECOMP_FLAGS_IN(); 17780 ecx = MEM32(esi + 0xA4); /* 0x2B06CF95: mov ecx, dword ptr [esi + 0xa4] */ 17781 RECOMP_ICALL(edi); /* 0x2B06CF9B: call edi */ 17782 RECOMP_FLAGS_IN(); 17783 ecx = MEM32(esi + 0xA8); /* 0x2B06CF9D: mov ecx, dword ptr [esi + 0xa8] */ 17784 RECOMP_ICALL(edi); /* 0x2B06CFA3: call edi */ 17785 RECOMP_FLAGS_IN(); 17786 ecx = MEM32(esi + 0xAC); /* 0x2B06CFA5: mov ecx, dword ptr [esi + 0xac] */ 17787 eax = MEM32(ecx); /* 0x2B06CFAB: mov eax, dword ptr [ecx] */ 17788 RECOMP_ICALL(MEM32(eax + 0xC)); /* 0x2B06CFAD: call dword ptr [eax + 0xc] */ 17789 RECOMP_FLAGS_IN(); 17790 ecx = MEM32(esi + 0xB0); /* 0x2B06CFB0: mov ecx, dword ptr [esi + 0xb0] */ 17791 edx = MEM32(ecx); /* 0x2B06CFB6: mov edx, dword ptr [ecx] */ 17792 RECOMP_ICALL(MEM32(edx + 0xC)); /* 0x2B06CFB8: call dword ptr [edx + 0xc] */ 17793 RECOMP_FLAGS_IN(); 17794 ecx = MEM32(esi + 0xB4); /* 0x2B06CFBB: mov ecx, dword ptr [esi + 0xb4] */ 17795 eax = MEM32(ecx); /* 0x2B06CFC1: mov eax, dword ptr [ecx] */ 17796 RECOMP_ICALL(MEM32(eax + 0xC)); /* 0x2B06CFC3: call dword ptr [eax + 0xc] */ 17797 RECOMP_FLAGS_IN(); 17798 ecx = MEM32(esi + 0xB8); /* 0x2B06CFC6: mov ecx, dword ptr [esi + 0xb8] */ 17799 edx = MEM32(ecx); /* 0x2B06CFCC: mov edx, dword ptr [ecx] */ 17800 RECOMP_ICALL(MEM32(edx + 0xC)); /* 0x2B06CFCE: call dword ptr [edx + 0xc] */ 17801 RECOMP_FLAGS_IN(); 17802 ecx = MEM32(esi + 0xBC); /* 0x2B06CFD1: mov ecx, dword ptr [esi + 0xbc] */ 17803 eax = MEM32(ecx); /* 0x2B06CFD7: mov eax, dword ptr [ecx] */ 17804 RECOMP_ICALL(MEM32(eax + 0xC)); /* 0x2B06CFD9: call dword ptr [eax + 0xc] */ 17805 RECOMP_FLAGS_IN(); 17806 ecx = MEM32(esi + 0xC0); /* 0x2B06CFDC: mov ecx, dword ptr [esi + 0xc0] */ 17807 edx = MEM32(ecx); /* 0x2B06CFE2: mov edx, dword ptr [ecx] */ 17808 RECOMP_ICALL(MEM32(edx + 0xC)); /* 0x2B06CFE4: call dword ptr [edx + 0xc] */ 17809 RECOMP_FLAGS_IN(); 17810 ecx = MEM32(esi + 0xC4); /* 0x2B06CFE7: mov ecx, dword ptr [esi + 0xc4] */ 17811 edi = MEM32(0x2B0B5B34); /* 0x2B06CFED: mov edi, dword ptr [0x2b0b5b34] */ 17812 RECOMP_ICALL(edi); /* 0x2B06CFF3: call edi */ 17813 RECOMP_FLAGS_IN(); 17814 ecx = MEM32(esi + 0xC8); /* 0x2B06CFF5: mov ecx, dword ptr [esi + 0xc8] */ 17815 RECOMP_ICALL(edi); /* 0x2B06CFFB: call edi */ 17816 RECOMP_FLAGS_IN(); 17817 ecx = MEM32(esi + 0xCC); /* 0x2B06CFFD: mov ecx, dword ptr [esi + 0xcc] */ 17818 RECOMP_ICALL(edi); /* 0x2B06D003: call edi */ 17819 RECOMP_FLAGS_IN(); 17820 eax = MEM32(esi + 0xD0); /* 0x2B06D005: mov eax, dword ptr [esi + 0xd0] */ 17821 edi = POP32_VAL(esp); /* 0x2B06D00B: pop edi */ 17822 esi = POP32_VAL(esp); /* 0x2B06D00C: pop esi */ 17823 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B06D00D: mov byte ptr [eax + 8], bl */ 17824 ebx = POP32_VAL(esp); /* 0x2B06D010: pop ebx */ 17825 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06D011: ret */ 17826 RECOMP_REGS_OUT(); 17827 } 17828 17829 void sub_2B06D020(void) { 17830 int _fpu_cmp = 0; 17831 uint32_t _cf = 0; 17832 int _df = 1; 17833 uint32_t _flag_k = FK_NONE; 17834 uint32_t _flag_a = 0, _flag_b = 0; 17835 uint32_t _itail_tgt = 0; 17836 RECOMP_REGS_LOCALS 17837 RECOMP_ENTER(0x2B06D020u); 17838 17839 L_2B06D020: 17840 PUSH32(esp, esi); /* 0x2B06D020: push esi */ 17841 esi = ecx; /* 0x2B06D021: mov esi, ecx */ 17842 SET_LO8(eax, MEM8(esi + 0x4C)); /* 0x2B06D023: mov al, byte ptr [esi + 0x4c] */ 17843 /* test LO8(eax), LO8(eax) */ /* 0x2B06D026: test al, al */ 17844 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17845 _cf = 0; 17846 _flag_k = FK_NARROW(FK_TEST, 24); 17847 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06D094; /* 0x2B06D028: je 0x2b06d094 */ 17848 L_2B06D02A: 17849 SET_LO8(eax, MEM8(esi + 0x58)); /* 0x2B06D02A: mov al, byte ptr [esi + 0x58] */ 17850 /* test LO8(eax), LO8(eax) */ /* 0x2B06D02D: test al, al */ 17851 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17852 _cf = 0; 17853 _flag_k = FK_NARROW(FK_TEST, 24); 17854 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06D094; /* 0x2B06D02F: je 0x2b06d094 */ 17855 L_2B06D031: 17856 eax = MEM32(esi + 0xD4); /* 0x2B06D031: mov eax, dword ptr [esi + 0xd4] */ 17857 SET_LO8(ecx, MEM8(eax + 0xA8)); /* 0x2B06D037: mov cl, byte ptr [eax + 0xa8] */ 17858 /* test LO8(ecx), LO8(ecx) */ /* 0x2B06D03D: test cl, cl */ 17859 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 17860 _cf = 0; 17861 _flag_k = FK_NARROW(FK_TEST, 24); 17862 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06D094; /* 0x2B06D03F: jne 0x2b06d094 */ 17863 L_2B06D041: 17864 RECOMP_ICALL(MEM32(0x2B0B53BC)); /* 0x2B06D041: call dword ptr [0x2b0b53bc] */ 17865 RECOMP_FLAGS_IN(); 17866 ecx = MEM32(eax + 0x14); /* 0x2B06D047: mov ecx, dword ptr [eax + 0x14] */ 17867 fp_push(*(float*)&MEM32(ecx)); /* 0x2B06D04A: fld dword ptr [ecx] */ 17868 fp_push(*(float*)&MEM32(esi + 0x50)); /* 0x2B06D04C: fld dword ptr [esi + 0x50] */ 17869 _st[0] -= _st[1]; /* 0x2B06D04F: fsub st(1) */ 17870 { float _v = (float)_st[0]; *(float*)ADDR(esi + 0x50) = _v; } /* 0x2B06D051: fst dword ptr [esi + 0x50] */ 17871 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B06D054: fcomp dword ptr [0x2b0b61b8] */ 17872 fp_pop(); 17873 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B06D05A: fnstsw ax */ 17874 /* test HI8(eax), 1 */ /* 0x2B06D05C: test ah, 1 */ 17875 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 17876 _cf = 0; 17877 _flag_k = FK_NARROW(FK_TEST, 24); 17878 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06D092; /* 0x2B06D05F: je 0x2b06d092 */ 17879 L_2B06D061: 17880 _st[0] = (double)*(float*)ADDR(esi + 0x54) - _st[0]; /* 0x2B06D061: fsubr dword ptr [esi + 0x54] */ 17881 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B06D064: fcom dword ptr [0x2b0b61b8] */ 17882 { float _v = (float)_st[0]; *(float*)ADDR(esi + 0x54) = _v; } /* 0x2B06D06A: fst dword ptr [esi + 0x54] */ 17883 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B06D06D: fnstsw ax */ 17884 /* test HI8(eax), 1 */ /* 0x2B06D06F: test ah, 1 */ 17885 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 17886 _cf = 0; 17887 _flag_k = FK_NARROW(FK_TEST, 24); 17888 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06D07F; /* 0x2B06D072: je 0x2b06d07f */ 17889 L_2B06D074: 17890 ecx = esi; /* 0x2B06D074: mov ecx, esi */ 17891 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x2B06D076: fstp st(0) */ 17892 RECOMP_ICALL(0x2B06CBD0u); /* 0x2B06D078: call 0x2b06cbd0 */ /* not lifted */ 17893 RECOMP_FLAGS_IN(); 17894 esi = POP32_VAL(esp); /* 0x2B06D07D: pop esi */ 17895 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06D07E: ret */ 17896 L_2B06D07F: 17897 _st[0] *= *(double*)ADDR(0x2B0B64D0); /* 0x2B06D07F: fmul qword ptr [0x2b0b64d0] */ 17898 PUSH32(esp, ecx); /* 0x2B06D085: push ecx */ 17899 ecx = esi; /* 0x2B06D086: mov ecx, esi */ 17900 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x2B06D088: fstp dword ptr [esp] */ 17901 RECOMP_ICALL(0x2B06D0A0u); /* 0x2B06D08B: call 0x2b06d0a0 */ /* not lifted */ 17902 RECOMP_FLAGS_IN(); 17903 esi = POP32_VAL(esp); /* 0x2B06D090: pop esi */ 17904 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06D091: ret */ 17905 L_2B06D092: 17906 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x2B06D092: fstp st(0) */ 17907 L_2B06D094: 17908 esi = POP32_VAL(esp); /* 0x2B06D094: pop esi */ 17909 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06D095: ret */ 17910 RECOMP_REGS_OUT(); 17911 } 17912 17913 void sub_2B06D0A0(void) { 17914 int _fpu_cmp = 0; 17915 uint32_t _cf = 0; 17916 int _df = 1; 17917 uint32_t _flag_k = FK_NONE; 17918 uint32_t _flag_a = 0, _flag_b = 0; 17919 uint32_t _itail_tgt = 0; 17920 RECOMP_REGS_LOCALS 17921 RECOMP_ENTER(0x2B06D0A0u); 17922 17923 L_2B06D0A0: 17924 PUSH32(esp, ebp); /* 0x2B06D0A0: push ebp */ 17925 ebp = esp; /* 0x2B06D0A1: mov ebp, esp */ 17926 fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2B06D0A3: fld dword ptr [ebp + 8] */ 17927 PUSH32(esp, ebx); /* 0x2B06D0A6: push ebx */ 17928 _st[0] *= (double)*(float*)ADDR(0x2B0B6888); /* 0x2B06D0A7: fmul dword ptr [0x2b0b6888] */ 17929 PUSH32(esp, esi); /* 0x2B06D0AD: push esi */ 17930 PUSH32(esp, edi); /* 0x2B06D0AE: push edi */ 17931 esi = ecx; /* 0x2B06D0AF: mov esi, ecx */ 17932 RECOMP_ICALL(0x2B0AB220u); /* 0x2B06D0B1: call 0x2b0ab220 */ /* not lifted */ 17933 RECOMP_FLAGS_IN(); 17934 fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2B06D0B6: fld dword ptr [ebp + 8] */ 17935 _st[0] *= *(double*)ADDR(0x2B0B7158); /* 0x2B06D0B9: fmul qword ptr [0x2b0b7158] */ 17936 edi = eax; /* 0x2B06D0BF: mov edi, eax */ 17937 RECOMP_ICALL(0x2B0AB220u); /* 0x2B06D0C1: call 0x2b0ab220 */ /* not lifted */ 17938 RECOMP_FLAGS_IN(); 17939 ecx = MEM32(esi + 0x94); /* 0x2B06D0C6: mov ecx, dword ptr [esi + 0x94] */ 17940 ebx = MEM32(0x2B0B565C); /* 0x2B06D0CC: mov ebx, dword ptr [0x2b0b565c] */ 17941 PUSH32(esp, eax); /* 0x2B06D0D2: push eax */ 17942 RECOMP_ICALL(ebx); /* 0x2B06D0D3: call ebx */ 17943 RECOMP_FLAGS_IN(); 17944 ecx = MEM32(esi + 0x98); /* 0x2B06D0D5: mov ecx, dword ptr [esi + 0x98] */ 17945 PUSH32(esp, edi); /* 0x2B06D0DB: push edi */ 17946 RECOMP_ICALL(MEM32(0x2B0B5BE0)); /* 0x2B06D0DC: call dword ptr [0x2b0b5be0] */ 17947 RECOMP_FLAGS_IN(); 17948 ecx = MEM32(esi + 0xD8); /* 0x2B06D0E2: mov ecx, dword ptr [esi + 0xd8] */ 17949 PUSH32(esp, edi); /* 0x2B06D0E8: push edi */ 17950 RECOMP_ICALL(MEM32(0x2B0B5A64)); /* 0x2B06D0E9: call dword ptr [0x2b0b5a64] */ 17951 RECOMP_FLAGS_IN(); 17952 ecx = MEM32(esi + 0xA4); /* 0x2B06D0EF: mov ecx, dword ptr [esi + 0xa4] */ 17953 PUSH32(esp, edi); /* 0x2B06D0F5: push edi */ 17954 RECOMP_ICALL(MEM32(0x2B0B5BE0)); /* 0x2B06D0F6: call dword ptr [0x2b0b5be0] */ 17955 RECOMP_FLAGS_IN(); 17956 ecx = MEM32(esi + 0xA8); /* 0x2B06D0FC: mov ecx, dword ptr [esi + 0xa8] */ 17957 PUSH32(esp, edi); /* 0x2B06D102: push edi */ 17958 RECOMP_ICALL(MEM32(0x2B0B5BE0)); /* 0x2B06D103: call dword ptr [0x2b0b5be0] */ 17959 RECOMP_FLAGS_IN(); 17960 ecx = MEM32(esi + 0xAC); /* 0x2B06D109: mov ecx, dword ptr [esi + 0xac] */ 17961 PUSH32(esp, edi); /* 0x2B06D10F: push edi */ 17962 RECOMP_ICALL(ebx); /* 0x2B06D110: call ebx */ 17963 RECOMP_FLAGS_IN(); 17964 ecx = MEM32(esi + 0xB0); /* 0x2B06D112: mov ecx, dword ptr [esi + 0xb0] */ 17965 PUSH32(esp, edi); /* 0x2B06D118: push edi */ 17966 RECOMP_ICALL(ebx); /* 0x2B06D119: call ebx */ 17967 RECOMP_FLAGS_IN(); 17968 ecx = MEM32(esi + 0xB4); /* 0x2B06D11B: mov ecx, dword ptr [esi + 0xb4] */ 17969 PUSH32(esp, edi); /* 0x2B06D121: push edi */ 17970 RECOMP_ICALL(ebx); /* 0x2B06D122: call ebx */ 17971 RECOMP_FLAGS_IN(); 17972 ecx = MEM32(esi + 0xB8); /* 0x2B06D124: mov ecx, dword ptr [esi + 0xb8] */ 17973 PUSH32(esp, edi); /* 0x2B06D12A: push edi */ 17974 RECOMP_ICALL(ebx); /* 0x2B06D12B: call ebx */ 17975 RECOMP_FLAGS_IN(); 17976 ecx = MEM32(esi + 0xBC); /* 0x2B06D12D: mov ecx, dword ptr [esi + 0xbc] */ 17977 PUSH32(esp, edi); /* 0x2B06D133: push edi */ 17978 RECOMP_ICALL(ebx); /* 0x2B06D134: call ebx */ 17979 RECOMP_FLAGS_IN(); 17980 ecx = MEM32(esi + 0xC0); /* 0x2B06D136: mov ecx, dword ptr [esi + 0xc0] */ 17981 PUSH32(esp, edi); /* 0x2B06D13C: push edi */ 17982 RECOMP_ICALL(ebx); /* 0x2B06D13D: call ebx */ 17983 RECOMP_FLAGS_IN(); 17984 edi = POP32_VAL(esp); /* 0x2B06D13F: pop edi */ 17985 esi = POP32_VAL(esp); /* 0x2B06D140: pop esi */ 17986 ebx = POP32_VAL(esp); /* 0x2B06D141: pop ebx */ 17987 ebp = POP32_VAL(esp); /* 0x2B06D142: pop ebp */ 17988 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06D143: ret 4 */ 17989 RECOMP_REGS_OUT(); 17990 } 17991 17992 void sub_2B06D150(void) { 17993 int _fpu_cmp = 0; 17994 uint32_t _cf = 0; 17995 int _df = 1; 17996 uint32_t _flag_k = FK_NONE; 17997 uint32_t _flag_a = 0, _flag_b = 0; 17998 uint32_t _itail_tgt = 0; 17999 RECOMP_REGS_LOCALS 18000 RECOMP_ENTER(0x2B06D150u); 18001 18002 L_2B06D150: 18003 PUSH32(esp, ebp); /* 0x2B06D150: push ebp */ 18004 ebp = esp; /* 0x2B06D151: mov ebp, esp */ 18005 ecx = MEM32(ebp + 0x8); /* 0x2B06D153: mov ecx, dword ptr [ebp + 8] */ 18006 /* test ecx, ecx */ /* 0x2B06D156: test ecx, ecx */ 18007 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 18008 _cf = 0; 18009 _flag_k = FK_TEST; 18010 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06D178; /* 0x2B06D158: je 0x2b06d178 */ 18011 L_2B06D15A: 18012 eax = MEM32(ebp + 0xC); /* 0x2B06D15A: mov eax, dword ptr [ebp + 0xc] */ 18013 MEM32(ecx + 0x50) = 0x41100000u; /* 0x2B06D15D: mov dword ptr [ecx + 0x50], 0x41100000 */ 18014 edx = MEM32(eax + 0x4); /* 0x2B06D164: mov edx, dword ptr [eax + 4] */ 18015 eax = MEM32(ecx + 0x40); /* 0x2B06D167: mov eax, dword ptr [ecx + 0x40] */ 18016 PUSH32(esp, 1); /* 0x2B06D16A: push 1 */ 18017 if (1u) _cf = (((edx) >> 31) & 1u); /* 0x2B06D16C: shl edx, 1 */ 18018 if (1u) { _flag_a = recomp_flags_pack((edx << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 18019 edx = edx << 1u; /* 0x2B06D16C: shl edx, 1 */ 18020 PUSH32(esp, 1); /* 0x2B06D16E: push 1 */ 18021 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 18022 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18023 eax = eax - edx; /* 0x2B06D170: sub eax, edx */ 18024 _flag_k = FK_CMP; 18025 PUSH32(esp, eax); /* 0x2B06D172: push eax */ 18026 RECOMP_ICALL(0x2B06D1C0u); /* 0x2B06D173: call 0x2b06d1c0 */ /* not lifted */ 18027 RECOMP_FLAGS_IN(); 18028 L_2B06D178: 18029 ebp = POP32_VAL(esp); /* 0x2B06D178: pop ebp */ 18030 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06D179: ret */ 18031 RECOMP_REGS_OUT(); 18032 } 18033 18034 void sub_2B06D180(void) { 18035 int _fpu_cmp = 0; 18036 uint32_t _cf = 0; 18037 int _df = 1; 18038 uint32_t _flag_k = FK_NONE; 18039 uint32_t _flag_a = 0, _flag_b = 0; 18040 uint32_t _itail_tgt = 0; 18041 RECOMP_REGS_LOCALS 18042 RECOMP_ENTER(0x2B06D180u); 18043 18044 L_2B06D180: 18045 PUSH32(esp, ebp); /* 0x2B06D180: push ebp */ 18046 ebp = esp; /* 0x2B06D181: mov ebp, esp */ 18047 ecx = MEM32(ebp + 0x8); /* 0x2B06D183: mov ecx, dword ptr [ebp + 8] */ 18048 /* test ecx, ecx */ /* 0x2B06D186: test ecx, ecx */ 18049 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 18050 _cf = 0; 18051 _flag_k = FK_TEST; 18052 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06D1B2; /* 0x2B06D188: je 0x2b06d1b2 */ 18053 L_2B06D18A: 18054 fp_push(*(float*)&MEM32(ecx + 0x54)); /* 0x2B06D18A: fld dword ptr [ecx + 0x54] */ 18055 MEM32(ecx + 0x50) = 0x41100000u; /* 0x2B06D18D: mov dword ptr [ecx + 0x50], 0x41100000 */ 18056 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B06D194: fcomp dword ptr [0x2b0b61b8] */ 18057 fp_pop(); 18058 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B06D19A: fnstsw ax */ 18059 /* test HI8(eax), 0x41u */ /* 0x2B06D19C: test ah, 0x41 */ 18060 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 18061 _cf = 0; 18062 _flag_k = FK_NARROW(FK_TEST, 24); 18063 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06D1B2; /* 0x2B06D19F: jne 0x2b06d1b2 */ 18064 L_2B06D1A1: 18065 PUSH32(esp, 0x3F800000u); /* 0x2B06D1A1: push 0x3f800000 */ 18066 MEM32(ecx + 0x54) = 0x40000000u; /* 0x2B06D1A6: mov dword ptr [ecx + 0x54], 0x40000000 */ 18067 RECOMP_ICALL(0x2B06D0A0u); /* 0x2B06D1AD: call 0x2b06d0a0 */ /* not lifted */ 18068 RECOMP_FLAGS_IN(); 18069 L_2B06D1B2: 18070 ebp = POP32_VAL(esp); /* 0x2B06D1B2: pop ebp */ 18071 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06D1B3: ret */ 18072 RECOMP_REGS_OUT(); 18073 } 18074 18075 void sub_2B06D1C0(void) { 18076 int _fpu_cmp = 0; 18077 uint32_t _cf = 0; 18078 int _df = 1; 18079 uint32_t _flag_k = FK_NONE; 18080 uint32_t _flag_a = 0, _flag_b = 0; 18081 uint32_t _itail_tgt = 0; 18082 RECOMP_REGS_LOCALS 18083 RECOMP_ENTER(0x2B06D1C0u); 18084 18085 L_2B06D1C0: 18086 PUSH32(esp, ebp); /* 0x2B06D1C0: push ebp */ 18087 ebp = esp; /* 0x2B06D1C1: mov ebp, esp */ 18088 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u); 18089 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18090 esp = esp - 0x20u; /* 0x2B06D1C3: sub esp, 0x20 */ 18091 _flag_k = FK_CMP; 18092 PUSH32(esp, ebx); /* 0x2B06D1C6: push ebx */ 18093 ebx = MEM32(ebp + 0x8); /* 0x2B06D1C7: mov ebx, dword ptr [ebp + 8] */ 18094 PUSH32(esp, esi); /* 0x2B06D1CA: push esi */ 18095 esi = ecx; /* 0x2B06D1CB: mov esi, ecx */ 18096 eax = MEM32(esi + 0x68); /* 0x2B06D1CD: mov eax, dword ptr [esi + 0x68] */ 18097 PUSH32(esp, edi); /* 0x2B06D1D0: push edi */ 18098 edi = MEM32(esi + 0x44); /* 0x2B06D1D1: mov edi, dword ptr [esi + 0x44] */ 18099 ecx = eax; /* 0x2B06D1D4: mov ecx, eax */ 18100 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 18101 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18102 ecx = ecx - edi; /* 0x2B06D1D6: sub ecx, edi */ 18103 _flag_k = FK_CMP; 18104 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xFFFFFFFCu); 18105 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18106 ecx = ecx + 0xFFFFFFFCu; /* 0x2B06D1D8: add ecx, -4 */ 18107 _flag_k = FK_ADD; 18108 /* cmp ebx, ecx */ /* 0x2B06D1DB: cmp ebx, ecx */ 18109 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 18110 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18111 _flag_k = FK_CMP; 18112 if (CMP_GE(_flag_a, _flag_b)) goto L_2B06D1E4; /* 0x2B06D1DD: jge 0x2b06d1e4 */ 18113 L_2B06D1DF: 18114 ebx = ecx; /* 0x2B06D1DF: mov ebx, ecx */ 18115 MEM32(ebp + 0x8) = ebx; /* 0x2B06D1E1: mov dword ptr [ebp + 8], ebx */ 18116 L_2B06D1E4: 18117 /* test ebx, ebx */ /* 0x2B06D1E4: test ebx, ebx */ 18118 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 18119 _cf = 0; 18120 _flag_k = FK_TEST; 18121 if (TEST_LE(_flag_a, _flag_b)) goto L_2B06D1ED; /* 0x2B06D1E6: jle 0x2b06d1ed */ 18122 L_2B06D1E8: 18123 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18124 ebx = 0; /* 0x2B06D1E8: xor ebx, ebx */ 18125 _cf = 0; 18126 _flag_k = FK_TEST; 18127 MEM32(ebp + 0x8) = ebx; /* 0x2B06D1EA: mov dword ptr [ebp + 8], ebx */ 18128 L_2B06D1ED: 18129 /* cmp MEM32(esi + 0x40), ebx */ /* 0x2B06D1ED: cmp dword ptr [esi + 0x40], ebx */ 18130 _flag_a = (uint32_t)(MEM32(esi + 0x40)); _flag_b = (uint32_t)(ebx); 18131 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18132 _flag_k = FK_CMP; 18133 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D1FD; /* 0x2B06D1F0: jne 0x2b06d1fd */ 18134 L_2B06D1F2: 18135 SET_LO8(ecx, MEM8(ebp + 0xC)); /* 0x2B06D1F2: mov cl, byte ptr [ebp + 0xc] */ 18136 /* test LO8(ecx), LO8(ecx) */ /* 0x2B06D1F5: test cl, cl */ 18137 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 18138 _cf = 0; 18139 _flag_k = FK_NARROW(FK_TEST, 24); 18140 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06D2F5; /* 0x2B06D1F7: je 0x2b06d2f5 */ 18141 L_2B06D1FD: 18142 edi = MEM32(esi + 0x64); /* 0x2B06D1FD: mov edi, dword ptr [esi + 0x64] */ 18143 ecx = MEM32(esi + 0x9C); /* 0x2B06D200: mov ecx, dword ptr [esi + 0x9c] */ 18144 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFCu); 18145 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18146 eax = eax + 0xFFFFFFFCu; /* 0x2B06D206: add eax, -4 */ 18147 _flag_k = FK_ADD; 18148 MEM32(ebp + (-0x4)) = eax; /* 0x2B06D209: mov dword ptr [ebp - 4], eax */ 18149 eax = ebx + 0x2; /* 0x2B06D20C: lea eax, [ebx + 2] */ 18150 PUSH32(esp, eax); /* 0x2B06D20F: push eax */ 18151 PUSH32(esp, 2); /* 0x2B06D210: push 2 */ 18152 MEM32(esi + 0x40) = ebx; /* 0x2B06D212: mov dword ptr [esi + 0x40], ebx */ 18153 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x13u); 18154 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18155 edi = edi - 0x13u; /* 0x2B06D215: sub edi, 0x13 */ 18156 _flag_k = FK_CMP; 18157 RECOMP_ICALL(MEM32(0x2B0B5924)); /* 0x2B06D218: call dword ptr [0x2b0b5924] */ 18158 RECOMP_FLAGS_IN(); 18159 edx = MEM32(esi + 0x9C); /* 0x2B06D21E: mov edx, dword ptr [esi + 0x9c] */ 18160 ecx = MEM32(edx + 0x34); /* 0x2B06D224: mov ecx, dword ptr [edx + 0x34] */ 18161 edx = MEM32(ebp + (-0x4)); /* 0x2B06D227: mov edx, dword ptr [ebp - 4] */ 18162 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18163 eax = 0; /* 0x2B06D22A: xor eax, eax */ 18164 _cf = 0; 18165 _flag_k = FK_TEST; 18166 MEM32(ecx) = eax; /* 0x2B06D22C: mov dword ptr [ecx], eax */ 18167 MEM32(ecx + 0x4) = eax; /* 0x2B06D22E: mov dword ptr [ecx + 4], eax */ 18168 MEM32(ecx + 0x8) = edi; /* 0x2B06D231: mov dword ptr [ecx + 8], edi */ 18169 MEM32(ecx + 0xC) = edx; /* 0x2B06D234: mov dword ptr [ecx + 0xc], edx */ 18170 eax = MEM32(esi + 0x9C); /* 0x2B06D237: mov eax, dword ptr [esi + 0x9c] */ 18171 MEM8(eax + 0x9) = (uint8_t)(1); /* 0x2B06D23D: mov byte ptr [eax + 9], 1 */ 18172 SET_LO8(eax, MEM8(esi + 0xE0)); /* 0x2B06D241: mov al, byte ptr [esi + 0xe0] */ 18173 /* test LO8(eax), LO8(eax) */ /* 0x2B06D247: test al, al */ 18174 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18175 _cf = 0; 18176 _flag_k = FK_NARROW(FK_TEST, 24); 18177 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06D27F; /* 0x2B06D249: je 0x2b06d27f */ 18178 L_2B06D24B: 18179 ecx = MEM32(esi + 0x44); /* 0x2B06D24B: mov ecx, dword ptr [esi + 0x44] */ 18180 edx = ecx + ebx + (-0x9E); /* 0x2B06D24E: lea edx, [ecx + ebx - 0x9e] */ 18181 ecx = MEM32(esi + 0xDC); /* 0x2B06D255: mov ecx, dword ptr [esi + 0xdc] */ 18182 eax = ebp + (-0x8); /* 0x2B06D25B: lea eax, [ebp - 8] */ 18183 PUSH32(esp, eax); /* 0x2B06D25E: push eax */ 18184 MEM32(ebp + (-0x8)) = 2; /* 0x2B06D25F: mov dword ptr [ebp - 8], 2 */ 18185 MEM32(ebp + (-0x4)) = edx; /* 0x2B06D266: mov dword ptr [ebp - 4], edx */ 18186 RECOMP_ICALL(MEM32(0x2B0B58E0)); /* 0x2B06D269: call dword ptr [0x2b0b58e0] */ 18187 RECOMP_FLAGS_IN(); 18188 ecx = MEM32(esi + 0xDC); /* 0x2B06D26F: mov ecx, dword ptr [esi + 0xdc] */ 18189 PUSH32(esp, 0); /* 0x2B06D275: push 0 */ 18190 RECOMP_ICALL(MEM32(0x2B0B58E4)); /* 0x2B06D277: call dword ptr [0x2b0b58e4] */ 18191 RECOMP_FLAGS_IN(); 18192 goto L_2B06D28B; /* 0x2B06D27D: jmp 0x2b06d28b */ 18193 L_2B06D27F: 18194 ecx = MEM32(esi + 0xDC); /* 0x2B06D27F: mov ecx, dword ptr [esi + 0xdc] */ 18195 RECOMP_ICALL(MEM32(0x2B0B58D8)); /* 0x2B06D285: call dword ptr [0x2b0b58d8] */ 18196 RECOMP_FLAGS_IN(); 18197 L_2B06D28B: 18198 ecx = MEM32(esi + 0x64); /* 0x2B06D28B: mov ecx, dword ptr [esi + 0x64] */ 18199 edx = MEM32(esi + 0x68); /* 0x2B06D28E: mov edx, dword ptr [esi + 0x68] */ 18200 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18201 eax = 0; /* 0x2B06D291: xor eax, eax */ 18202 _cf = 0; 18203 _flag_k = FK_TEST; 18204 edi = esi + 0x64; /* 0x2B06D293: lea edi, [esi + 0x64] */ 18205 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xBu); 18206 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18207 ecx = ecx - 0xBu; /* 0x2B06D296: sub ecx, 0xb */ 18208 _flag_k = FK_CMP; 18209 PUSH32(esp, 1); /* 0x2B06D299: push 1 */ 18210 MEM32(ebp + (-0x20)) = eax; /* 0x2B06D29B: mov dword ptr [ebp - 0x20], eax */ 18211 MEM32(ebp + (-0x1C)) = eax; /* 0x2B06D29E: mov dword ptr [ebp - 0x1c], eax */ 18212 MEM32(ebp + (-0x18)) = ecx; /* 0x2B06D2A1: mov dword ptr [ebp - 0x18], ecx */ 18213 ecx = MEM32(esi + 0x98); /* 0x2B06D2A4: mov ecx, dword ptr [esi + 0x98] */ 18214 PUSH32(esp, eax); /* 0x2B06D2AA: push eax */ 18215 eax = ebp + (-0x20); /* 0x2B06D2AB: lea eax, [ebp - 0x20] */ 18216 MEM32(ebp + (-0x14)) = edx; /* 0x2B06D2AE: mov dword ptr [ebp - 0x14], edx */ 18217 ecx = MEM32(ecx + 0x28); /* 0x2B06D2B1: mov ecx, dword ptr [ecx + 0x28] */ 18218 PUSH32(esp, eax); /* 0x2B06D2B4: push eax */ 18219 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B06D2B5: call dword ptr [0x2b0b564c] */ 18220 RECOMP_FLAGS_IN(); 18221 ecx = MEM32(esi + 0x98); /* 0x2B06D2BB: mov ecx, dword ptr [esi + 0x98] */ 18222 PUSH32(esp, edi); /* 0x2B06D2C1: push edi */ 18223 RECOMP_ICALL(MEM32(0x2B0B5978)); /* 0x2B06D2C2: call dword ptr [0x2b0b5978] */ 18224 RECOMP_FLAGS_IN(); 18225 SET_LO8(eax, MEM8(ebp + 0x10)); /* 0x2B06D2C8: mov al, byte ptr [ebp + 0x10] */ 18226 /* test LO8(eax), LO8(eax) */ /* 0x2B06D2CB: test al, al */ 18227 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18228 _cf = 0; 18229 _flag_k = FK_NARROW(FK_TEST, 24); 18230 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06D2F5; /* 0x2B06D2CD: je 0x2b06d2f5 */ 18231 L_2B06D2CF: 18232 edx = MEM32(esi + 0x44); /* 0x2B06D2CF: mov edx, dword ptr [esi + 0x44] */ 18233 fp_push((double)(int32_t)MEM32(ebp + 0x8)); /* 0x2B06D2D2: fild dword ptr [ebp + 8] */ 18234 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x68)); 18235 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18236 edx = edx - MEM32(esi + 0x68); /* 0x2B06D2D5: sub edx, dword ptr [esi + 0x68] */ 18237 _flag_k = FK_CMP; 18238 _st[0] = -_st[0]; /* 0x2B06D2D8: fchs */ 18239 MEM32(ebp + 0xC) = edx; /* 0x2B06D2DA: mov dword ptr [ebp + 0xc], edx */ 18240 _st[0] = _st[0] / (double)(int32_t)MEM32(ebp + 0xC); /* 0x2B06D2DD: fidiv dword ptr [ebp + 0xc] */ 18241 ecx = MEM32(esi + 0xD8); /* 0x2B06D2E0: mov ecx, dword ptr [esi + 0xd8] */ 18242 PUSH32(esp, 1); /* 0x2B06D2E6: push 1 */ 18243 eax = ebp + (-0x8); /* 0x2B06D2E8: lea eax, [ebp - 8] */ 18244 PUSH32(esp, eax); /* 0x2B06D2EB: push eax */ 18245 { double _v = fp_pop(); *(double*)ADDR(ebp + (-0x8)) = _v; } /* 0x2B06D2EC: fstp qword ptr [ebp - 8] */ 18246 RECOMP_ICALL(MEM32(0x2B0B577C)); /* 0x2B06D2EF: call dword ptr [0x2b0b577c] */ 18247 RECOMP_FLAGS_IN(); 18248 L_2B06D2F5: 18249 edi = POP32_VAL(esp); /* 0x2B06D2F5: pop edi */ 18250 esi = POP32_VAL(esp); /* 0x2B06D2F6: pop esi */ 18251 ebx = POP32_VAL(esp); /* 0x2B06D2F7: pop ebx */ 18252 esp = ebp; /* 0x2B06D2F8: mov esp, ebp */ 18253 ebp = POP32_VAL(esp); /* 0x2B06D2FA: pop ebp */ 18254 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B06D2FB: ret 0xc */ 18255 RECOMP_REGS_OUT(); 18256 } 18257 18258 void sub_2B06D300(void) { 18259 int _fpu_cmp = 0; 18260 uint32_t _cf = 0; 18261 int _df = 1; 18262 uint32_t _flag_k = FK_NONE; 18263 uint32_t _flag_a = 0, _flag_b = 0; 18264 uint32_t _itail_tgt = 0; 18265 RECOMP_REGS_LOCALS 18266 RECOMP_ENTER(0x2B06D300u); 18267 18268 L_2B06D300: 18269 PUSH32(esp, ebp); /* 0x2B06D300: push ebp */ 18270 ebp = esp; /* 0x2B06D301: mov ebp, esp */ 18271 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 18272 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18273 esp = esp - 8; /* 0x2B06D303: sub esp, 8 */ 18274 _flag_k = FK_CMP; 18275 ecx = MEM32(ebp + 0x8); /* 0x2B06D306: mov ecx, dword ptr [ebp + 8] */ 18276 /* test ecx, ecx */ /* 0x2B06D309: test ecx, ecx */ 18277 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 18278 _cf = 0; 18279 _flag_k = FK_TEST; 18280 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06D333; /* 0x2B06D30B: je 0x2b06d333 */ 18281 L_2B06D30D: 18282 eax = MEM32(ecx + 0x5C); /* 0x2B06D30D: mov eax, dword ptr [ecx + 0x5c] */ 18283 edx = MEM32(ecx + 0x60); /* 0x2B06D310: mov edx, dword ptr [ecx + 0x60] */ 18284 PUSH32(esp, esi); /* 0x2B06D313: push esi */ 18285 esi = MEM32(ebp + 0xC); /* 0x2B06D314: mov esi, dword ptr [ebp + 0xc] */ 18286 MEM32(ecx + 0x50) = 0x41100000u; /* 0x2B06D317: mov dword ptr [ecx + 0x50], 0x41100000 */ 18287 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi)); 18288 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18289 eax = eax + MEM32(esi); /* 0x2B06D31E: add eax, dword ptr [esi] */ 18290 _flag_k = FK_ADD; 18291 MEM32(ebp + (-0x8)) = eax; /* 0x2B06D320: mov dword ptr [ebp - 8], eax */ 18292 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18293 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18294 edx = edx + MEM32(esi + 0x4); /* 0x2B06D323: add edx, dword ptr [esi + 4] */ 18295 _flag_k = FK_ADD; 18296 eax = ebp + (-0x8); /* 0x2B06D326: lea eax, [ebp - 8] */ 18297 PUSH32(esp, eax); /* 0x2B06D329: push eax */ 18298 MEM32(ebp + (-0x4)) = edx; /* 0x2B06D32A: mov dword ptr [ebp - 4], edx */ 18299 RECOMP_ICALL(0x2B06CC00u); /* 0x2B06D32D: call 0x2b06cc00 */ /* not lifted */ 18300 RECOMP_FLAGS_IN(); 18301 esi = POP32_VAL(esp); /* 0x2B06D332: pop esi */ 18302 L_2B06D333: 18303 esp = ebp; /* 0x2B06D333: mov esp, ebp */ 18304 ebp = POP32_VAL(esp); /* 0x2B06D335: pop ebp */ 18305 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06D336: ret */ 18306 RECOMP_REGS_OUT(); 18307 } 18308 18309 void sub_2B06D340(void) { 18310 int _fpu_cmp = 0; 18311 uint32_t _cf = 0; 18312 int _df = 1; 18313 uint32_t _flag_k = FK_NONE; 18314 uint32_t _flag_a = 0, _flag_b = 0; 18315 uint32_t _itail_tgt = 0; 18316 RECOMP_REGS_LOCALS 18317 RECOMP_ENTER(0x2B06D340u); 18318 18319 L_2B06D340: 18320 PUSH32(esp, ebp); /* 0x2B06D340: push ebp */ 18321 ebp = esp; /* 0x2B06D341: mov ebp, esp */ 18322 ecx = MEM32(ebp + 0x8); /* 0x2B06D343: mov ecx, dword ptr [ebp + 8] */ 18323 /* test ecx, ecx */ /* 0x2B06D346: test ecx, ecx */ 18324 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 18325 _cf = 0; 18326 _flag_k = FK_TEST; 18327 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06D34F; /* 0x2B06D348: je 0x2b06d34f */ 18328 L_2B06D34A: 18329 RECOMP_ICALL(0x2B06CBD0u); /* 0x2B06D34A: call 0x2b06cbd0 */ /* not lifted */ 18330 RECOMP_FLAGS_IN(); 18331 L_2B06D34F: 18332 ebp = POP32_VAL(esp); /* 0x2B06D34F: pop ebp */ 18333 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06D350: ret */ 18334 RECOMP_REGS_OUT(); 18335 } 18336 18337 void sub_2B06D360(void) { 18338 int _fpu_cmp = 0; 18339 uint32_t _cf = 0; 18340 int _df = 1; 18341 uint32_t _flag_k = FK_NONE; 18342 uint32_t _flag_a = 0, _flag_b = 0; 18343 uint32_t _itail_tgt = 0; 18344 RECOMP_REGS_LOCALS 18345 RECOMP_ENTER(0x2B06D360u); 18346 18347 L_2B06D360: 18348 PUSH32(esp, ebp); /* 0x2B06D360: push ebp */ 18349 ebp = esp; /* 0x2B06D361: mov ebp, esp */ 18350 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 18351 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18352 esp = esp - 8; /* 0x2B06D363: sub esp, 8 */ 18353 _flag_k = FK_CMP; 18354 ecx = MEM32(ebp + 0x8); /* 0x2B06D366: mov ecx, dword ptr [ebp + 8] */ 18355 /* test ecx, ecx */ /* 0x2B06D369: test ecx, ecx */ 18356 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 18357 _cf = 0; 18358 _flag_k = FK_TEST; 18359 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06D397; /* 0x2B06D36B: je 0x2b06d397 */ 18360 L_2B06D36D: 18361 eax = ecx + 0x14; /* 0x2B06D36D: lea eax, [ecx + 0x14] */ 18362 edx = ebp + (-0x8); /* 0x2B06D370: lea edx, [ebp - 8] */ 18363 /* cmp edx, eax */ /* 0x2B06D373: cmp edx, eax */ 18364 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 18365 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18366 _flag_k = FK_CMP; 18367 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D382; /* 0x2B06D375: je 0x2b06d382 */ 18368 L_2B06D377: 18369 edx = MEM32(eax); /* 0x2B06D377: mov edx, dword ptr [eax] */ 18370 eax = MEM32(eax + 0x4); /* 0x2B06D379: mov eax, dword ptr [eax + 4] */ 18371 MEM32(ebp + (-0x8)) = edx; /* 0x2B06D37C: mov dword ptr [ebp - 8], edx */ 18372 MEM32(ebp + (-0x4)) = eax; /* 0x2B06D37F: mov dword ptr [ebp - 4], eax */ 18373 L_2B06D382: 18374 PUSH32(esp, 0); /* 0x2B06D382: push 0 */ 18375 PUSH32(esp, 0); /* 0x2B06D384: push 0 */ 18376 PUSH32(esp, 0); /* 0x2B06D386: push 0 */ 18377 PUSH32(esp, 0); /* 0x2B06D388: push 0 */ 18378 PUSH32(esp, 0); /* 0x2B06D38A: push 0 */ 18379 PUSH32(esp, 0); /* 0x2B06D38C: push 0 */ 18380 edx = ebp + (-0x8); /* 0x2B06D38E: lea edx, [ebp - 8] */ 18381 PUSH32(esp, edx); /* 0x2B06D391: push edx */ 18382 RECOMP_ICALL(0x2B06D8F0u); /* 0x2B06D392: call 0x2b06d8f0 */ /* not lifted */ 18383 RECOMP_FLAGS_IN(); 18384 L_2B06D397: 18385 esp = ebp; /* 0x2B06D397: mov esp, ebp */ 18386 ebp = POP32_VAL(esp); /* 0x2B06D399: pop ebp */ 18387 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06D39A: ret */ 18388 RECOMP_REGS_OUT(); 18389 } 18390 18391 void sub_2B06D3A0(void) { 18392 int _fpu_cmp = 0; 18393 uint32_t _cf = 0; 18394 int _df = 1; 18395 uint32_t _flag_k = FK_NONE; 18396 uint32_t _flag_a = 0, _flag_b = 0; 18397 uint32_t _itail_tgt = 0; 18398 RECOMP_REGS_LOCALS 18399 RECOMP_ENTER(0x2B06D3A0u); 18400 18401 L_2B06D3A0: 18402 PUSH32(esp, ebp); /* 0x2B06D3A0: push ebp */ 18403 ebp = esp; /* 0x2B06D3A1: mov ebp, esp */ 18404 ecx = MEM32(ebp + 0x8); /* 0x2B06D3A3: mov ecx, dword ptr [ebp + 8] */ 18405 /* test ecx, ecx */ /* 0x2B06D3A6: test ecx, ecx */ 18406 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 18407 _cf = 0; 18408 _flag_k = FK_TEST; 18409 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06D3AF; /* 0x2B06D3A8: je 0x2b06d3af */ 18410 L_2B06D3AA: 18411 RECOMP_ICALL(0x2B06D420u); /* 0x2B06D3AA: call 0x2b06d420 */ /* not lifted */ 18412 RECOMP_FLAGS_IN(); 18413 L_2B06D3AF: 18414 ebp = POP32_VAL(esp); /* 0x2B06D3AF: pop ebp */ 18415 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06D3B0: ret */ 18416 RECOMP_REGS_OUT(); 18417 } 18418 18419 void sub_2B06D3C0(void) { 18420 int _fpu_cmp = 0; 18421 uint32_t _cf = 0; 18422 int _df = 1; 18423 uint32_t _flag_k = FK_NONE; 18424 uint32_t _flag_a = 0, _flag_b = 0; 18425 uint32_t _itail_tgt = 0; 18426 RECOMP_REGS_LOCALS 18427 RECOMP_ENTER(0x2B06D3C0u); 18428 18429 L_2B06D3C0: 18430 PUSH32(esp, ebp); /* 0x2B06D3C0: push ebp */ 18431 ebp = esp; /* 0x2B06D3C1: mov ebp, esp */ 18432 SET_LO8(edx, MEM8(ebp + 0x10)); /* 0x2B06D3C3: mov dl, byte ptr [ebp + 0x10] */ 18433 /* test LO8(edx), LO8(edx) */ /* 0x2B06D3C6: test dl, dl */ 18434 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 18435 _cf = 0; 18436 _flag_k = FK_NARROW(FK_TEST, 24); 18437 SET_LO8(eax, (TEST_Z(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B06D3C8: sete al */ 18438 PUSH32(esp, esi); /* 0x2B06D3CB: push esi */ 18439 esi = MEM32(ebp + 0xC); /* 0x2B06D3CC: mov esi, dword ptr [ebp + 0xc] */ 18440 ecx = MEM32(esi + 0xD8); /* 0x2B06D3CF: mov ecx, dword ptr [esi + 0xd8] */ 18441 PUSH32(esp, 0); /* 0x2B06D3D5: push 0 */ 18442 MEM32(esi + 0x50) = 0x41100000u; /* 0x2B06D3D7: mov dword ptr [esi + 0x50], 0x41100000 */ 18443 PUSH32(esp, eax); /* 0x2B06D3DE: push eax */ 18444 RECOMP_ICALL(MEM32(0x2B0B5780)); /* 0x2B06D3DF: call dword ptr [0x2b0b5780] */ 18445 RECOMP_FLAGS_IN(); 18446 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 18447 _cf = (eax) != 0; 18448 eax = (uint32_t)(-(int32_t)eax); /* 0x2B06D3E5: neg eax */ 18449 _flag_k = FK_CMP; 18450 PUSH32(esp, eax); /* 0x2B06D3E7: push eax */ 18451 ecx = esi; /* 0x2B06D3E8: mov ecx, esi */ 18452 RECOMP_ICALL(0x2B06D1C0u); /* 0x2B06D3EA: call 0x2b06d1c0 */ /* not lifted */ 18453 RECOMP_FLAGS_IN(); 18454 esi = POP32_VAL(esp); /* 0x2B06D3EF: pop esi */ 18455 ebp = POP32_VAL(esp); /* 0x2B06D3F0: pop ebp */ 18456 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06D3F1: ret */ 18457 RECOMP_REGS_OUT(); 18458 } 18459 18460 void sub_2B06D400(void) { 18461 int _fpu_cmp = 0; 18462 uint32_t _cf = 0; 18463 int _df = 1; 18464 uint32_t _flag_k = FK_NONE; 18465 uint32_t _flag_a = 0, _flag_b = 0; 18466 uint32_t _itail_tgt = 0; 18467 RECOMP_REGS_LOCALS 18468 RECOMP_ENTER(0x2B06D400u); 18469 18470 L_2B06D400: 18471 PUSH32(esp, ebp); /* 0x2B06D400: push ebp */ 18472 ebp = esp; /* 0x2B06D401: mov ebp, esp */ 18473 ecx = MEM32(ebp + 0x8); /* 0x2B06D403: mov ecx, dword ptr [ebp + 8] */ 18474 /* test ecx, ecx */ /* 0x2B06D406: test ecx, ecx */ 18475 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 18476 _cf = 0; 18477 _flag_k = FK_TEST; 18478 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06D417; /* 0x2B06D408: je 0x2b06d417 */ 18479 L_2B06D40A: 18480 eax = MEM32(ecx + 0x40); /* 0x2B06D40A: mov eax, dword ptr [ecx + 0x40] */ 18481 PUSH32(esp, 1); /* 0x2B06D40D: push 1 */ 18482 PUSH32(esp, 0); /* 0x2B06D40F: push 0 */ 18483 PUSH32(esp, eax); /* 0x2B06D411: push eax */ 18484 RECOMP_ICALL(0x2B06D1C0u); /* 0x2B06D412: call 0x2b06d1c0 */ /* not lifted */ 18485 RECOMP_FLAGS_IN(); 18486 L_2B06D417: 18487 ebp = POP32_VAL(esp); /* 0x2B06D417: pop ebp */ 18488 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06D418: ret */ 18489 RECOMP_REGS_OUT(); 18490 } 18491 18492 void sub_2B06D420(void) { 18493 int _fpu_cmp = 0; 18494 uint32_t _cf = 0; 18495 int _df = 1; 18496 uint32_t _flag_k = FK_NONE; 18497 uint32_t _flag_a = 0, _flag_b = 0; 18498 uint32_t _itail_tgt = 0; 18499 RECOMP_REGS_LOCALS 18500 RECOMP_ENTER(0x2B06D420u); 18501 18502 L_2B06D420: 18503 PUSH32(esp, esi); /* 0x2B06D420: push esi */ 18504 esi = ecx; /* 0x2B06D421: mov esi, ecx */ 18505 SET_LO8(eax, MEM8(esi + 0x58)); /* 0x2B06D423: mov al, byte ptr [esi + 0x58] */ 18506 /* test LO8(eax), LO8(eax) */ /* 0x2B06D426: test al, al */ 18507 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18508 _cf = 0; 18509 _flag_k = FK_NARROW(FK_TEST, 24); 18510 SET_LO8(eax, (TEST_Z(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B06D428: sete al */ 18511 PUSH32(esp, 0x3F800000u); /* 0x2B06D42B: push 0x3f800000 */ 18512 MEM8(esi + 0x58) = (uint8_t)(LO8(eax)); /* 0x2B06D430: mov byte ptr [esi + 0x58], al */ 18513 RECOMP_ICALL(0x2B06D0A0u); /* 0x2B06D433: call 0x2b06d0a0 */ /* not lifted */ 18514 RECOMP_FLAGS_IN(); 18515 SET_LO8(ecx, MEM8(esi + 0x58)); /* 0x2B06D438: mov cl, byte ptr [esi + 0x58] */ 18516 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18517 eax = 0; /* 0x2B06D43B: xor eax, eax */ 18518 _cf = 0; 18519 _flag_k = FK_TEST; 18520 /* test LO8(ecx), LO8(ecx) */ /* 0x2B06D43D: test cl, cl */ 18521 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 18522 _cf = 0; 18523 _flag_k = FK_NARROW(FK_TEST, 24); 18524 MEM32(esi + 0x50) = 0x41100000u; /* 0x2B06D43F: mov dword ptr [esi + 0x50], 0x41100000 */ 18525 esi = POP32_VAL(esp); /* 0x2B06D446: pop esi */ 18526 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06D44E; /* 0x2B06D447: je 0x2b06d44e */ 18527 L_2B06D449: 18528 eax = 1; /* 0x2B06D449: mov eax, 1 */ 18529 L_2B06D44E: 18530 ecx = MEM32(0x2B0B6048); /* 0x2B06D44E: mov ecx, dword ptr [0x2b0b6048] */ 18531 ecx = MEM32(ecx); /* 0x2B06D454: mov ecx, dword ptr [ecx] */ 18532 PUSH32(esp, 1); /* 0x2B06D456: push 1 */ 18533 PUSH32(esp, 1); /* 0x2B06D458: push 1 */ 18534 PUSH32(esp, eax); /* 0x2B06D45A: push eax */ 18535 PUSH32(esp, 0x2B0EB490u); /* 0x2B06D45B: push 0x2b0eb490 */ 18536 RECOMP_ICALL(MEM32(0x2B0B604C)); /* 0x2B06D460: call dword ptr [0x2b0b604c] */ 18537 RECOMP_FLAGS_IN(); 18538 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06D466: ret */ 18539 RECOMP_REGS_OUT(); 18540 } 18541 18542 void sub_2B06D470(void) { 18543 int _fpu_cmp = 0; 18544 uint32_t _cf = 0; 18545 int _df = 1; 18546 uint32_t _flag_k = FK_NONE; 18547 uint32_t _flag_a = 0, _flag_b = 0; 18548 uint32_t _itail_tgt = 0; 18549 RECOMP_REGS_LOCALS 18550 RECOMP_ENTER(0x2B06D470u); 18551 18552 L_2B06D470: 18553 PUSH32(esp, ebp); /* 0x2B06D470: push ebp */ 18554 ebp = esp; /* 0x2B06D471: mov ebp, esp */ 18555 eax = MEM32(ecx + 0x104); /* 0x2B06D473: mov eax, dword ptr [ecx + 0x104] */ 18556 /* test eax, eax */ /* 0x2B06D479: test eax, eax */ 18557 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 18558 _cf = 0; 18559 _flag_k = FK_TEST; 18560 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06D4EC; /* 0x2B06D47B: je 0x2b06d4ec */ 18561 L_2B06D47D: 18562 edx = MEM32(ecx + 0x108); /* 0x2B06D47D: mov edx, dword ptr [ecx + 0x108] */ 18563 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 18564 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18565 edx = edx - eax; /* 0x2B06D483: sub edx, eax */ 18566 _flag_k = FK_CMP; 18567 eax = 0x2AAAAAABu; /* 0x2B06D485: mov eax, 0x2aaaaaab */ 18568 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x2B06D48A: imul edx */ 18569 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 18570 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 18571 if (2u) _cf = (((edx) >> 1) & 1u); /* 0x2B06D48C: sar edx, 2 */ 18572 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 18573 edx = (uint32_t)((int32_t)edx >> 2u); 18574 eax = edx; /* 0x2B06D48F: mov eax, edx */ 18575 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B06D491: shr eax, 0x1f */ 18576 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 18577 eax = eax >> 31u; /* 0x2B06D491: shr eax, 0x1f */ 18578 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 18579 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18580 edx = edx + eax; /* 0x2B06D494: add edx, eax */ 18581 _flag_k = FK_ADD; 18582 if (/* add result */ recomp_cond(_flag_k, _flag_a, _flag_b, CC_E)) goto L_2B06D4EC; /* 0x2B06D496: je 0x2b06d4ec */ 18583 L_2B06D498: 18584 edx = MEM32(ebp + 0x8); /* 0x2B06D498: mov edx, dword ptr [ebp + 8] */ 18585 eax = MEM32(edx + 0x4); /* 0x2B06D49B: mov eax, dword ptr [edx + 4] */ 18586 edx = MEM32(edx); /* 0x2B06D49E: mov edx, dword ptr [edx] */ 18587 PUSH32(esp, esi); /* 0x2B06D4A0: push esi */ 18588 esi = MEM32(ecx + 0x98); /* 0x2B06D4A1: mov esi, dword ptr [ecx + 0x98] */ 18589 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x30)); 18590 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18591 eax = eax - MEM32(esi + 0x30); /* 0x2B06D4A7: sub eax, dword ptr [esi + 0x30] */ 18592 _flag_k = FK_CMP; 18593 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x40)); 18594 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18595 eax = eax - MEM32(ecx + 0x40); /* 0x2B06D4AA: sub eax, dword ptr [ecx + 0x40] */ 18596 _flag_k = FK_CMP; 18597 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x2C)); 18598 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18599 edx = edx - MEM32(esi + 0x2C); /* 0x2B06D4AD: sub edx, dword ptr [esi + 0x2c] */ 18600 _flag_k = FK_CMP; 18601 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(2); 18602 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18603 edx = edx - 2; /* 0x2B06D4B0: sub edx, 2 */ 18604 _flag_k = FK_CMP; 18605 PUSH32(esp, eax); /* 0x2B06D4B3: push eax */ 18606 PUSH32(esp, edx); /* 0x2B06D4B4: push edx */ 18607 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xE4u); 18608 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18609 ecx = ecx + 0xE4u; /* 0x2B06D4B5: add ecx, 0xe4 */ 18610 _flag_k = FK_ADD; 18611 RECOMP_ICALL(MEM32(0x2B0B5784)); /* 0x2B06D4BB: call dword ptr [0x2b0b5784] */ 18612 RECOMP_FLAGS_IN(); 18613 /* test eax, eax */ /* 0x2B06D4C1: test eax, eax */ 18614 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 18615 _cf = 0; 18616 _flag_k = FK_TEST; 18617 esi = POP32_VAL(esp); /* 0x2B06D4C3: pop esi */ 18618 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06D4EC; /* 0x2B06D4C4: je 0x2b06d4ec */ 18619 L_2B06D4C6: 18620 ecx = MEM32(eax + 0x8); /* 0x2B06D4C6: mov ecx, dword ptr [eax + 8] */ 18621 eax = MEM32(eax + 0x4); /* 0x2B06D4C9: mov eax, dword ptr [eax + 4] */ 18622 /* test eax, eax */ /* 0x2B06D4CC: test eax, eax */ 18623 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 18624 _cf = 0; 18625 _flag_k = FK_TEST; 18626 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06D4D5; /* 0x2B06D4CE: jne 0x2b06d4d5 */ 18627 L_2B06D4D0: 18628 eax = MEM32(0x2B0B513C); /* 0x2B06D4D0: mov eax, dword ptr [0x2b0b513c] */ 18629 L_2B06D4D5: 18630 PUSH32(esp, ecx); /* 0x2B06D4D5: push ecx */ 18631 PUSH32(esp, eax); /* 0x2B06D4D6: push eax */ 18632 PUSH32(esp, 0x8Du); /* 0x2B06D4D7: push 0x8d */ 18633 PUSH32(esp, 3); /* 0x2B06D4DC: push 3 */ 18634 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B06D4DE: call dword ptr [0x2b0b53cc] */ 18635 RECOMP_FLAGS_IN(); 18636 ecx = eax; /* 0x2B06D4E4: mov ecx, eax */ 18637 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B06D4E6: call dword ptr [0x2b0b53c4] */ 18638 RECOMP_FLAGS_IN(); 18639 L_2B06D4EC: 18640 ebp = POP32_VAL(esp); /* 0x2B06D4EC: pop ebp */ 18641 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06D4ED: ret 4 */ 18642 RECOMP_REGS_OUT(); 18643 } 18644 18645 void sub_2B06D4F0(void) { 18646 int _fpu_cmp = 0; 18647 uint32_t _cf = 0; 18648 int _df = 1; 18649 uint32_t _flag_k = FK_NONE; 18650 uint32_t _flag_a = 0, _flag_b = 0; 18651 uint32_t _itail_tgt = 0; 18652 RECOMP_REGS_LOCALS 18653 RECOMP_ENTER(0x2B06D4F0u); 18654 18655 L_2B06D4F0: 18656 PUSH32(esp, ebp); /* 0x2B06D4F0: push ebp */ 18657 ebp = esp; /* 0x2B06D4F1: mov ebp, esp */ 18658 PUSH32(esp, ecx); /* 0x2B06D4F3: push ecx */ 18659 PUSH32(esp, ebx); /* 0x2B06D4F4: push ebx */ 18660 PUSH32(esp, esi); /* 0x2B06D4F5: push esi */ 18661 esi = MEM32(ebp + 0xC); /* 0x2B06D4F6: mov esi, dword ptr [ebp + 0xc] */ 18662 PUSH32(esp, edi); /* 0x2B06D4F9: push edi */ 18663 edi = ecx; /* 0x2B06D4FA: mov edi, ecx */ 18664 ecx = ebp + 0xC; /* 0x2B06D4FC: lea ecx, [ebp + 0xc] */ 18665 RECOMP_ICALL(0x2B06A300u); /* 0x2B06D4FF: call 0x2b06a300 */ /* not lifted */ 18666 RECOMP_FLAGS_IN(); 18667 edx = MEM32(esi); /* 0x2B06D504: mov edx, dword ptr [esi] */ 18668 eax = MEM32(edi + 0x8); /* 0x2B06D506: mov eax, dword ptr [edi + 8] */ 18669 /* cmp edx, eax */ /* 0x2B06D509: cmp edx, eax */ 18670 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 18671 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18672 _flag_k = FK_CMP; 18673 MEM32(ebp + (-0x4)) = esi; /* 0x2B06D50B: mov dword ptr [ebp - 4], esi */ 18674 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D530; /* 0x2B06D50E: jne 0x2b06d530 */ 18675 L_2B06D510: 18676 eax = MEM32(esi + 0x8); /* 0x2B06D510: mov eax, dword ptr [esi + 8] */ 18677 L_2B06D513: 18678 ecx = MEM32(ebp + (-0x4)); /* 0x2B06D513: mov ecx, dword ptr [ebp - 4] */ 18679 edx = MEM32(ecx + 0x4); /* 0x2B06D516: mov edx, dword ptr [ecx + 4] */ 18680 MEM32(eax + 0x4) = edx; /* 0x2B06D519: mov dword ptr [eax + 4], edx */ 18681 ecx = MEM32(edi + 0x4); /* 0x2B06D51C: mov ecx, dword ptr [edi + 4] */ 18682 /* cmp MEM32(ecx + 0x4), esi */ /* 0x2B06D51F: cmp dword ptr [ecx + 4], esi */ 18683 _flag_a = (uint32_t)(MEM32(ecx + 0x4)); _flag_b = (uint32_t)(esi); 18684 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18685 _flag_k = FK_CMP; 18686 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D5B3; /* 0x2B06D522: jne 0x2b06d5b3 */ 18687 L_2B06D528: 18688 MEM32(ecx + 0x4) = eax; /* 0x2B06D528: mov dword ptr [ecx + 4], eax */ 18689 goto L_2B06D5C1; /* 0x2B06D52B: jmp 0x2b06d5c1 */ 18690 L_2B06D530: 18691 ecx = MEM32(esi + 0x8); /* 0x2B06D530: mov ecx, dword ptr [esi + 8] */ 18692 /* cmp ecx, eax */ /* 0x2B06D533: cmp ecx, eax */ 18693 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 18694 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18695 _flag_k = FK_CMP; 18696 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D53B; /* 0x2B06D535: jne 0x2b06d53b */ 18697 L_2B06D537: 18698 eax = edx; /* 0x2B06D537: mov eax, edx */ 18699 RECOMP_BACKEDGE(); 18700 goto L_2B06D513; /* 0x2B06D539: jmp 0x2b06d513 */ 18701 L_2B06D53B: 18702 eax = MEM32(ecx); /* 0x2B06D53B: mov eax, dword ptr [ecx] */ 18703 SET_LO8(ebx, MEM8(eax + 0x15)); /* 0x2B06D53D: mov bl, byte ptr [eax + 0x15] */ 18704 /* test LO8(ebx), LO8(ebx) */ /* 0x2B06D540: test bl, bl */ 18705 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18706 _cf = 0; 18707 _flag_k = FK_NARROW(FK_TEST, 24); 18708 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06D54F; /* 0x2B06D542: jne 0x2b06d54f */ 18709 L_2B06D544: 18710 ecx = eax; /* 0x2B06D544: mov ecx, eax */ 18711 eax = MEM32(ecx); /* 0x2B06D546: mov eax, dword ptr [ecx] */ 18712 SET_LO8(ebx, MEM8(eax + 0x15)); /* 0x2B06D548: mov bl, byte ptr [eax + 0x15] */ 18713 /* test LO8(ebx), LO8(ebx) */ /* 0x2B06D54B: test bl, bl */ 18714 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18715 _cf = 0; 18716 _flag_k = FK_NARROW(FK_TEST, 24); 18717 RECOMP_BACKEDGE(); 18718 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06D544; /* 0x2B06D54D: je 0x2b06d544 */ 18719 L_2B06D54F: 18720 /* cmp ecx, esi */ /* 0x2B06D54F: cmp ecx, esi */ 18721 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 18722 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18723 _flag_k = FK_CMP; 18724 eax = MEM32(ecx + 0x8); /* 0x2B06D551: mov eax, dword ptr [ecx + 8] */ 18725 MEM32(ebp + (-0x4)) = ecx; /* 0x2B06D554: mov dword ptr [ebp - 4], ecx */ 18726 RECOMP_BACKEDGE(); 18727 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D513; /* 0x2B06D557: je 0x2b06d513 */ 18728 L_2B06D559: 18729 MEM32(edx + 0x4) = ecx; /* 0x2B06D559: mov dword ptr [edx + 4], ecx */ 18730 edx = MEM32(esi); /* 0x2B06D55C: mov edx, dword ptr [esi] */ 18731 MEM32(ecx) = edx; /* 0x2B06D55E: mov dword ptr [ecx], edx */ 18732 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D560: cmp ecx, dword ptr [esi + 8] */ 18733 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18734 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18735 _flag_k = FK_CMP; 18736 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D56A; /* 0x2B06D563: jne 0x2b06d56a */ 18737 L_2B06D565: 18738 MEM32(eax + 0x4) = ecx; /* 0x2B06D565: mov dword ptr [eax + 4], ecx */ 18739 goto L_2B06D581; /* 0x2B06D568: jmp 0x2b06d581 */ 18740 L_2B06D56A: 18741 edx = MEM32(ecx + 0x4); /* 0x2B06D56A: mov edx, dword ptr [ecx + 4] */ 18742 MEM32(eax + 0x4) = edx; /* 0x2B06D56D: mov dword ptr [eax + 4], edx */ 18743 edx = MEM32(ecx + 0x4); /* 0x2B06D570: mov edx, dword ptr [ecx + 4] */ 18744 MEM32(edx) = eax; /* 0x2B06D573: mov dword ptr [edx], eax */ 18745 edx = MEM32(esi + 0x8); /* 0x2B06D575: mov edx, dword ptr [esi + 8] */ 18746 MEM32(ecx + 0x8) = edx; /* 0x2B06D578: mov dword ptr [ecx + 8], edx */ 18747 edx = MEM32(esi + 0x8); /* 0x2B06D57B: mov edx, dword ptr [esi + 8] */ 18748 MEM32(edx + 0x4) = ecx; /* 0x2B06D57E: mov dword ptr [edx + 4], ecx */ 18749 L_2B06D581: 18750 edx = MEM32(edi + 0x4); /* 0x2B06D581: mov edx, dword ptr [edi + 4] */ 18751 /* cmp MEM32(edx + 0x4), esi */ /* 0x2B06D584: cmp dword ptr [edx + 4], esi */ 18752 _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(esi); 18753 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18754 _flag_k = FK_CMP; 18755 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D58E; /* 0x2B06D587: jne 0x2b06d58e */ 18756 L_2B06D589: 18757 MEM32(edx + 0x4) = ecx; /* 0x2B06D589: mov dword ptr [edx + 4], ecx */ 18758 goto L_2B06D59C; /* 0x2B06D58C: jmp 0x2b06d59c */ 18759 L_2B06D58E: 18760 edx = MEM32(esi + 0x4); /* 0x2B06D58E: mov edx, dword ptr [esi + 4] */ 18761 /* cmp MEM32(edx), esi */ /* 0x2B06D591: cmp dword ptr [edx], esi */ 18762 _flag_a = (uint32_t)(MEM32(edx)); _flag_b = (uint32_t)(esi); 18763 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18764 _flag_k = FK_CMP; 18765 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D599; /* 0x2B06D593: jne 0x2b06d599 */ 18766 L_2B06D595: 18767 MEM32(edx) = ecx; /* 0x2B06D595: mov dword ptr [edx], ecx */ 18768 goto L_2B06D59C; /* 0x2B06D597: jmp 0x2b06d59c */ 18769 L_2B06D599: 18770 MEM32(edx + 0x8) = ecx; /* 0x2B06D599: mov dword ptr [edx + 8], ecx */ 18771 L_2B06D59C: 18772 edx = MEM32(esi + 0x4); /* 0x2B06D59C: mov edx, dword ptr [esi + 4] */ 18773 MEM32(ecx + 0x4) = edx; /* 0x2B06D59F: mov dword ptr [ecx + 4], edx */ 18774 SET_LO8(ebx, MEM8(esi + 0x14)); /* 0x2B06D5A2: mov bl, byte ptr [esi + 0x14] */ 18775 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2B06D5A5: mov dl, byte ptr [ecx + 0x14] */ 18776 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D5A8: mov byte ptr [ecx + 0x14], bl */ 18777 MEM8(esi + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B06D5AB: mov byte ptr [esi + 0x14], dl */ 18778 MEM32(ebp + (-0x4)) = esi; /* 0x2B06D5AE: mov dword ptr [ebp - 4], esi */ 18779 goto L_2B06D618; /* 0x2B06D5B1: jmp 0x2b06d618 */ 18780 L_2B06D5B3: 18781 ecx = MEM32(esi + 0x4); /* 0x2B06D5B3: mov ecx, dword ptr [esi + 4] */ 18782 /* cmp MEM32(ecx), esi */ /* 0x2B06D5B6: cmp dword ptr [ecx], esi */ 18783 _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(esi); 18784 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18785 _flag_k = FK_CMP; 18786 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D5BE; /* 0x2B06D5B8: jne 0x2b06d5be */ 18787 L_2B06D5BA: 18788 MEM32(ecx) = eax; /* 0x2B06D5BA: mov dword ptr [ecx], eax */ 18789 goto L_2B06D5C1; /* 0x2B06D5BC: jmp 0x2b06d5c1 */ 18790 L_2B06D5BE: 18791 MEM32(ecx + 0x8) = eax; /* 0x2B06D5BE: mov dword ptr [ecx + 8], eax */ 18792 L_2B06D5C1: 18793 ebx = MEM32(edi + 0x4); /* 0x2B06D5C1: mov ebx, dword ptr [edi + 4] */ 18794 /* cmp MEM32(ebx), esi */ /* 0x2B06D5C4: cmp dword ptr [ebx], esi */ 18795 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi); 18796 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18797 _flag_k = FK_CMP; 18798 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D5EB; /* 0x2B06D5C6: jne 0x2b06d5eb */ 18799 L_2B06D5C8: 18800 ecx = MEM32(esi + 0x8); /* 0x2B06D5C8: mov ecx, dword ptr [esi + 8] */ 18801 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B06D5CB: cmp ecx, dword ptr [edi + 8] */ 18802 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18803 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18804 _flag_k = FK_CMP; 18805 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D5D5; /* 0x2B06D5CE: jne 0x2b06d5d5 */ 18806 L_2B06D5D0: 18807 edx = MEM32(esi + 0x4); /* 0x2B06D5D0: mov edx, dword ptr [esi + 4] */ 18808 goto L_2B06D5E9; /* 0x2B06D5D3: jmp 0x2b06d5e9 */ 18809 L_2B06D5D5: 18810 ecx = MEM32(eax); /* 0x2B06D5D5: mov ecx, dword ptr [eax] */ 18811 /* cmp MEM8(ecx + 0x15), 0 */ /* 0x2B06D5D7: cmp byte ptr [ecx + 0x15], 0 */ 18812 _flag_a = (uint32_t)(MEM8(ecx + 0x15)) << 24; _flag_b = (uint32_t)(0) << 24; 18813 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18814 _flag_k = FK_NARROW(FK_CMP, 24); 18815 edx = eax; /* 0x2B06D5DB: mov edx, eax */ 18816 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D5E9; /* 0x2B06D5DD: jne 0x2b06d5e9 */ 18817 L_2B06D5DF: 18818 edx = ecx; /* 0x2B06D5DF: mov edx, ecx */ 18819 ecx = MEM32(edx); /* 0x2B06D5E1: mov ecx, dword ptr [edx] */ 18820 /* cmp MEM8(ecx + 0x15), 0 */ /* 0x2B06D5E3: cmp byte ptr [ecx + 0x15], 0 */ 18821 _flag_a = (uint32_t)(MEM8(ecx + 0x15)) << 24; _flag_b = (uint32_t)(0) << 24; 18822 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18823 _flag_k = FK_NARROW(FK_CMP, 24); 18824 RECOMP_BACKEDGE(); 18825 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D5DF; /* 0x2B06D5E7: je 0x2b06d5df */ 18826 L_2B06D5E9: 18827 MEM32(ebx) = edx; /* 0x2B06D5E9: mov dword ptr [ebx], edx */ 18828 L_2B06D5EB: 18829 ebx = MEM32(edi + 0x4); /* 0x2B06D5EB: mov ebx, dword ptr [edi + 4] */ 18830 /* cmp MEM32(ebx + 0x8), esi */ /* 0x2B06D5EE: cmp dword ptr [ebx + 8], esi */ 18831 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 18832 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18833 _flag_k = FK_CMP; 18834 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D618; /* 0x2B06D5F1: jne 0x2b06d618 */ 18835 L_2B06D5F3: 18836 ecx = MEM32(esi); /* 0x2B06D5F3: mov ecx, dword ptr [esi] */ 18837 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B06D5F5: cmp ecx, dword ptr [edi + 8] */ 18838 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18839 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18840 _flag_k = FK_CMP; 18841 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D5FF; /* 0x2B06D5F8: jne 0x2b06d5ff */ 18842 L_2B06D5FA: 18843 edx = MEM32(esi + 0x4); /* 0x2B06D5FA: mov edx, dword ptr [esi + 4] */ 18844 goto L_2B06D615; /* 0x2B06D5FD: jmp 0x2b06d615 */ 18845 L_2B06D5FF: 18846 ecx = MEM32(eax + 0x8); /* 0x2B06D5FF: mov ecx, dword ptr [eax + 8] */ 18847 /* cmp MEM8(ecx + 0x15), 0 */ /* 0x2B06D602: cmp byte ptr [ecx + 0x15], 0 */ 18848 _flag_a = (uint32_t)(MEM8(ecx + 0x15)) << 24; _flag_b = (uint32_t)(0) << 24; 18849 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18850 _flag_k = FK_NARROW(FK_CMP, 24); 18851 edx = eax; /* 0x2B06D606: mov edx, eax */ 18852 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D615; /* 0x2B06D608: jne 0x2b06d615 */ 18853 L_2B06D60A: 18854 edx = ecx; /* 0x2B06D60A: mov edx, ecx */ 18855 ecx = MEM32(edx + 0x8); /* 0x2B06D60C: mov ecx, dword ptr [edx + 8] */ 18856 /* cmp MEM8(ecx + 0x15), 0 */ /* 0x2B06D60F: cmp byte ptr [ecx + 0x15], 0 */ 18857 _flag_a = (uint32_t)(MEM8(ecx + 0x15)) << 24; _flag_b = (uint32_t)(0) << 24; 18858 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18859 _flag_k = FK_NARROW(FK_CMP, 24); 18860 RECOMP_BACKEDGE(); 18861 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D60A; /* 0x2B06D613: je 0x2b06d60a */ 18862 L_2B06D615: 18863 MEM32(ebx + 0x8) = edx; /* 0x2B06D615: mov dword ptr [ebx + 8], edx */ 18864 L_2B06D618: 18865 ecx = MEM32(ebp + (-0x4)); /* 0x2B06D618: mov ecx, dword ptr [ebp - 4] */ 18866 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2B06D61B: mov dl, byte ptr [ecx + 0x14] */ 18867 SET_LO8(ebx, 1); /* 0x2B06D61E: mov bl, 1 */ 18868 /* cmp LO8(edx), LO8(ebx) */ /* 0x2B06D620: cmp dl, bl */ 18869 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18870 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18871 _flag_k = FK_NARROW(FK_CMP, 24); 18872 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D885; /* 0x2B06D622: jne 0x2b06d885 */ 18873 L_2B06D628: 18874 edx = MEM32(edi + 0x4); /* 0x2B06D628: mov edx, dword ptr [edi + 4] */ 18875 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B06D62B: cmp eax, dword ptr [edx + 4] */ 18876 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 18877 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18878 _flag_k = FK_CMP; 18879 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D882; /* 0x2B06D62E: je 0x2b06d882 */ 18880 L_2B06D634: 18881 /* cmp MEM8(eax + 0x14), LO8(ebx) */ /* 0x2B06D634: cmp byte ptr [eax + 0x14], bl */ 18882 _flag_a = (uint32_t)(MEM8(eax + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18883 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18884 _flag_k = FK_NARROW(FK_CMP, 24); 18885 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D882; /* 0x2B06D637: jne 0x2b06d882 */ 18886 L_2B06D63D: 18887 edx = MEM32(eax + 0x4); /* 0x2B06D63D: mov edx, dword ptr [eax + 4] */ 18888 ecx = MEM32(edx); /* 0x2B06D640: mov ecx, dword ptr [edx] */ 18889 /* cmp eax, ecx */ /* 0x2B06D642: cmp eax, ecx */ 18890 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 18891 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18892 _flag_k = FK_CMP; 18893 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6B4; /* 0x2B06D644: jne 0x2b06d6b4 */ 18894 L_2B06D646: 18895 ecx = MEM32(edx + 0x8); /* 0x2B06D646: mov ecx, dword ptr [edx + 8] */ 18896 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2B06D649: mov dl, byte ptr [ecx + 0x14] */ 18897 /* test LO8(edx), LO8(edx) */ /* 0x2B06D64C: test dl, dl */ 18898 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 18899 _cf = 0; 18900 _flag_k = FK_NARROW(FK_TEST, 24); 18901 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06D69B; /* 0x2B06D64E: jne 0x2b06d69b */ 18902 L_2B06D650: 18903 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D650: mov byte ptr [ecx + 0x14], bl */ 18904 ecx = MEM32(eax + 0x4); /* 0x2B06D653: mov ecx, dword ptr [eax + 4] */ 18905 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D656: mov byte ptr [ecx + 0x14], 0 */ 18906 ecx = MEM32(eax + 0x4); /* 0x2B06D65A: mov ecx, dword ptr [eax + 4] */ 18907 edx = MEM32(ecx + 0x8); /* 0x2B06D65D: mov edx, dword ptr [ecx + 8] */ 18908 esi = MEM32(edx); /* 0x2B06D660: mov esi, dword ptr [edx] */ 18909 MEM32(ecx + 0x8) = esi; /* 0x2B06D662: mov dword ptr [ecx + 8], esi */ 18910 esi = MEM32(edx); /* 0x2B06D665: mov esi, dword ptr [edx] */ 18911 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D667: cmp esi, dword ptr [edi + 8] */ 18912 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18913 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18914 _flag_k = FK_CMP; 18915 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D66F; /* 0x2B06D66A: je 0x2b06d66f */ 18916 L_2B06D66C: 18917 MEM32(esi + 0x4) = ecx; /* 0x2B06D66C: mov dword ptr [esi + 4], ecx */ 18918 L_2B06D66F: 18919 esi = MEM32(ecx + 0x4); /* 0x2B06D66F: mov esi, dword ptr [ecx + 4] */ 18920 MEM32(edx + 0x4) = esi; /* 0x2B06D672: mov dword ptr [edx + 4], esi */ 18921 esi = MEM32(edi + 0x4); /* 0x2B06D675: mov esi, dword ptr [edi + 4] */ 18922 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D678: cmp ecx, dword ptr [esi + 4] */ 18923 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18924 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18925 _flag_k = FK_CMP; 18926 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D682; /* 0x2B06D67B: jne 0x2b06d682 */ 18927 L_2B06D67D: 18928 MEM32(esi + 0x4) = edx; /* 0x2B06D67D: mov dword ptr [esi + 4], edx */ 18929 goto L_2B06D690; /* 0x2B06D680: jmp 0x2b06d690 */ 18930 L_2B06D682: 18931 esi = MEM32(ecx + 0x4); /* 0x2B06D682: mov esi, dword ptr [ecx + 4] */ 18932 /* cmp ecx, MEM32(esi) */ /* 0x2B06D685: cmp ecx, dword ptr [esi] */ 18933 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 18934 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18935 _flag_k = FK_CMP; 18936 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D68D; /* 0x2B06D687: jne 0x2b06d68d */ 18937 L_2B06D689: 18938 MEM32(esi) = edx; /* 0x2B06D689: mov dword ptr [esi], edx */ 18939 goto L_2B06D690; /* 0x2B06D68B: jmp 0x2b06d690 */ 18940 L_2B06D68D: 18941 MEM32(esi + 0x8) = edx; /* 0x2B06D68D: mov dword ptr [esi + 8], edx */ 18942 L_2B06D690: 18943 MEM32(edx) = ecx; /* 0x2B06D690: mov dword ptr [edx], ecx */ 18944 MEM32(ecx + 0x4) = edx; /* 0x2B06D692: mov dword ptr [ecx + 4], edx */ 18945 edx = MEM32(eax + 0x4); /* 0x2B06D695: mov edx, dword ptr [eax + 4] */ 18946 ecx = MEM32(edx + 0x8); /* 0x2B06D698: mov ecx, dword ptr [edx + 8] */ 18947 L_2B06D69B: 18948 edx = MEM32(ecx); /* 0x2B06D69B: mov edx, dword ptr [ecx] */ 18949 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D69D: cmp byte ptr [edx + 0x14], bl */ 18950 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18951 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18952 _flag_k = FK_NARROW(FK_CMP, 24); 18953 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D736; /* 0x2B06D6A0: jne 0x2b06d736 */ 18954 L_2B06D6A6: 18955 edx = MEM32(ecx + 0x8); /* 0x2B06D6A6: mov edx, dword ptr [ecx + 8] */ 18956 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D6A9: cmp byte ptr [edx + 0x14], bl */ 18957 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18958 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18959 _flag_k = FK_NARROW(FK_CMP, 24); 18960 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D736; /* 0x2B06D6AC: jne 0x2b06d736 */ 18961 L_2B06D6B2: 18962 goto L_2B06D71E; /* 0x2B06D6B2: jmp 0x2b06d71e */ 18963 L_2B06D6B4: 18964 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2B06D6B4: mov dl, byte ptr [ecx + 0x14] */ 18965 /* test LO8(edx), LO8(edx) */ /* 0x2B06D6B7: test dl, dl */ 18966 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 18967 _cf = 0; 18968 _flag_k = FK_NARROW(FK_TEST, 24); 18969 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06D707; /* 0x2B06D6B9: jne 0x2b06d707 */ 18970 L_2B06D6BB: 18971 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D6BB: mov byte ptr [ecx + 0x14], bl */ 18972 ecx = MEM32(eax + 0x4); /* 0x2B06D6BE: mov ecx, dword ptr [eax + 4] */ 18973 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D6C1: mov byte ptr [ecx + 0x14], 0 */ 18974 ecx = MEM32(eax + 0x4); /* 0x2B06D6C5: mov ecx, dword ptr [eax + 4] */ 18975 edx = MEM32(ecx); /* 0x2B06D6C8: mov edx, dword ptr [ecx] */ 18976 esi = MEM32(edx + 0x8); /* 0x2B06D6CA: mov esi, dword ptr [edx + 8] */ 18977 MEM32(ecx) = esi; /* 0x2B06D6CD: mov dword ptr [ecx], esi */ 18978 esi = MEM32(edx + 0x8); /* 0x2B06D6CF: mov esi, dword ptr [edx + 8] */ 18979 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D6D2: cmp esi, dword ptr [edi + 8] */ 18980 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18981 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18982 _flag_k = FK_CMP; 18983 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D6DA; /* 0x2B06D6D5: je 0x2b06d6da */ 18984 L_2B06D6D7: 18985 MEM32(esi + 0x4) = ecx; /* 0x2B06D6D7: mov dword ptr [esi + 4], ecx */ 18986 L_2B06D6DA: 18987 esi = MEM32(ecx + 0x4); /* 0x2B06D6DA: mov esi, dword ptr [ecx + 4] */ 18988 MEM32(edx + 0x4) = esi; /* 0x2B06D6DD: mov dword ptr [edx + 4], esi */ 18989 esi = MEM32(edi + 0x4); /* 0x2B06D6E0: mov esi, dword ptr [edi + 4] */ 18990 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D6E3: cmp ecx, dword ptr [esi + 4] */ 18991 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18992 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18993 _flag_k = FK_CMP; 18994 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6ED; /* 0x2B06D6E6: jne 0x2b06d6ed */ 18995 L_2B06D6E8: 18996 MEM32(esi + 0x4) = edx; /* 0x2B06D6E8: mov dword ptr [esi + 4], edx */ 18997 goto L_2B06D6FC; /* 0x2B06D6EB: jmp 0x2b06d6fc */ 18998 L_2B06D6ED: 18999 esi = MEM32(ecx + 0x4); /* 0x2B06D6ED: mov esi, dword ptr [ecx + 4] */ 19000 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D6F0: cmp ecx, dword ptr [esi + 8] */ 19001 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19002 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19003 _flag_k = FK_CMP; 19004 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6FA; /* 0x2B06D6F3: jne 0x2b06d6fa */ 19005 L_2B06D6F5: 19006 MEM32(esi + 0x8) = edx; /* 0x2B06D6F5: mov dword ptr [esi + 8], edx */ 19007 goto L_2B06D6FC; /* 0x2B06D6F8: jmp 0x2b06d6fc */ 19008 L_2B06D6FA: 19009 MEM32(esi) = edx; /* 0x2B06D6FA: mov dword ptr [esi], edx */ 19010 L_2B06D6FC: 19011 MEM32(edx + 0x8) = ecx; /* 0x2B06D6FC: mov dword ptr [edx + 8], ecx */ 19012 MEM32(ecx + 0x4) = edx; /* 0x2B06D6FF: mov dword ptr [ecx + 4], edx */ 19013 edx = MEM32(eax + 0x4); /* 0x2B06D702: mov edx, dword ptr [eax + 4] */ 19014 ecx = MEM32(edx); /* 0x2B06D705: mov ecx, dword ptr [edx] */ 19015 L_2B06D707: 19016 edx = MEM32(ecx + 0x8); /* 0x2B06D707: mov edx, dword ptr [ecx + 8] */ 19017 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D70A: cmp byte ptr [edx + 0x14], bl */ 19018 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 19019 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19020 _flag_k = FK_NARROW(FK_CMP, 24); 19021 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7E3; /* 0x2B06D70D: jne 0x2b06d7e3 */ 19022 L_2B06D713: 19023 edx = MEM32(ecx); /* 0x2B06D713: mov edx, dword ptr [ecx] */ 19024 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D715: cmp byte ptr [edx + 0x14], bl */ 19025 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 19026 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19027 _flag_k = FK_NARROW(FK_CMP, 24); 19028 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7E3; /* 0x2B06D718: jne 0x2b06d7e3 */ 19029 L_2B06D71E: 19030 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D71E: mov byte ptr [ecx + 0x14], 0 */ 19031 ecx = MEM32(edi + 0x4); /* 0x2B06D722: mov ecx, dword ptr [edi + 4] */ 19032 eax = MEM32(eax + 0x4); /* 0x2B06D725: mov eax, dword ptr [eax + 4] */ 19033 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B06D728: cmp eax, dword ptr [ecx + 4] */ 19034 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 19035 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19036 _flag_k = FK_CMP; 19037 RECOMP_BACKEDGE(); 19038 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D634; /* 0x2B06D72B: jne 0x2b06d634 */ 19039 L_2B06D731: 19040 goto L_2B06D882; /* 0x2B06D731: jmp 0x2b06d882 */ 19041 L_2B06D736: 19042 edx = MEM32(ecx + 0x8); /* 0x2B06D736: mov edx, dword ptr [ecx + 8] */ 19043 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D739: cmp byte ptr [edx + 0x14], bl */ 19044 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 19045 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19046 _flag_k = FK_NARROW(FK_CMP, 24); 19047 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D787; /* 0x2B06D73C: jne 0x2b06d787 */ 19048 L_2B06D73E: 19049 edx = MEM32(ecx); /* 0x2B06D73E: mov edx, dword ptr [ecx] */ 19050 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D740: mov byte ptr [edx + 0x14], bl */ 19051 edx = MEM32(ecx); /* 0x2B06D743: mov edx, dword ptr [ecx] */ 19052 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D745: mov byte ptr [ecx + 0x14], 0 */ 19053 esi = MEM32(edx + 0x8); /* 0x2B06D749: mov esi, dword ptr [edx + 8] */ 19054 MEM32(ecx) = esi; /* 0x2B06D74C: mov dword ptr [ecx], esi */ 19055 esi = MEM32(edx + 0x8); /* 0x2B06D74E: mov esi, dword ptr [edx + 8] */ 19056 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D751: cmp esi, dword ptr [edi + 8] */ 19057 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19058 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19059 _flag_k = FK_CMP; 19060 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D759; /* 0x2B06D754: je 0x2b06d759 */ 19061 L_2B06D756: 19062 MEM32(esi + 0x4) = ecx; /* 0x2B06D756: mov dword ptr [esi + 4], ecx */ 19063 L_2B06D759: 19064 esi = MEM32(ecx + 0x4); /* 0x2B06D759: mov esi, dword ptr [ecx + 4] */ 19065 MEM32(edx + 0x4) = esi; /* 0x2B06D75C: mov dword ptr [edx + 4], esi */ 19066 esi = MEM32(edi + 0x4); /* 0x2B06D75F: mov esi, dword ptr [edi + 4] */ 19067 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D762: cmp ecx, dword ptr [esi + 4] */ 19068 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 19069 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19070 _flag_k = FK_CMP; 19071 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D76C; /* 0x2B06D765: jne 0x2b06d76c */ 19072 L_2B06D767: 19073 MEM32(esi + 0x4) = edx; /* 0x2B06D767: mov dword ptr [esi + 4], edx */ 19074 goto L_2B06D77B; /* 0x2B06D76A: jmp 0x2b06d77b */ 19075 L_2B06D76C: 19076 esi = MEM32(ecx + 0x4); /* 0x2B06D76C: mov esi, dword ptr [ecx + 4] */ 19077 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D76F: cmp ecx, dword ptr [esi + 8] */ 19078 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19079 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19080 _flag_k = FK_CMP; 19081 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D779; /* 0x2B06D772: jne 0x2b06d779 */ 19082 L_2B06D774: 19083 MEM32(esi + 0x8) = edx; /* 0x2B06D774: mov dword ptr [esi + 8], edx */ 19084 goto L_2B06D77B; /* 0x2B06D777: jmp 0x2b06d77b */ 19085 L_2B06D779: 19086 MEM32(esi) = edx; /* 0x2B06D779: mov dword ptr [esi], edx */ 19087 L_2B06D77B: 19088 MEM32(edx + 0x8) = ecx; /* 0x2B06D77B: mov dword ptr [edx + 8], ecx */ 19089 MEM32(ecx + 0x4) = edx; /* 0x2B06D77E: mov dword ptr [ecx + 4], edx */ 19090 ecx = MEM32(eax + 0x4); /* 0x2B06D781: mov ecx, dword ptr [eax + 4] */ 19091 ecx = MEM32(ecx + 0x8); /* 0x2B06D784: mov ecx, dword ptr [ecx + 8] */ 19092 L_2B06D787: 19093 edx = MEM32(eax + 0x4); /* 0x2B06D787: mov edx, dword ptr [eax + 4] */ 19094 SET_LO8(edx, MEM8(edx + 0x14)); /* 0x2B06D78A: mov dl, byte ptr [edx + 0x14] */ 19095 MEM8(ecx + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B06D78D: mov byte ptr [ecx + 0x14], dl */ 19096 edx = MEM32(eax + 0x4); /* 0x2B06D790: mov edx, dword ptr [eax + 4] */ 19097 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D793: mov byte ptr [edx + 0x14], bl */ 19098 ecx = MEM32(ecx + 0x8); /* 0x2B06D796: mov ecx, dword ptr [ecx + 8] */ 19099 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D799: mov byte ptr [ecx + 0x14], bl */ 19100 ecx = MEM32(eax + 0x4); /* 0x2B06D79C: mov ecx, dword ptr [eax + 4] */ 19101 edx = MEM32(ecx + 0x8); /* 0x2B06D79F: mov edx, dword ptr [ecx + 8] */ 19102 esi = MEM32(edx); /* 0x2B06D7A2: mov esi, dword ptr [edx] */ 19103 MEM32(ecx + 0x8) = esi; /* 0x2B06D7A4: mov dword ptr [ecx + 8], esi */ 19104 esi = MEM32(edx); /* 0x2B06D7A7: mov esi, dword ptr [edx] */ 19105 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D7A9: cmp esi, dword ptr [edi + 8] */ 19106 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19107 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19108 _flag_k = FK_CMP; 19109 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D7B1; /* 0x2B06D7AC: je 0x2b06d7b1 */ 19110 L_2B06D7AE: 19111 MEM32(esi + 0x4) = ecx; /* 0x2B06D7AE: mov dword ptr [esi + 4], ecx */ 19112 L_2B06D7B1: 19113 esi = MEM32(ecx + 0x4); /* 0x2B06D7B1: mov esi, dword ptr [ecx + 4] */ 19114 MEM32(edx + 0x4) = esi; /* 0x2B06D7B4: mov dword ptr [edx + 4], esi */ 19115 esi = MEM32(edi + 0x4); /* 0x2B06D7B7: mov esi, dword ptr [edi + 4] */ 19116 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D7BA: cmp ecx, dword ptr [esi + 4] */ 19117 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 19118 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19119 _flag_k = FK_CMP; 19120 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7C9; /* 0x2B06D7BD: jne 0x2b06d7c9 */ 19121 L_2B06D7BF: 19122 MEM32(esi + 0x4) = edx; /* 0x2B06D7BF: mov dword ptr [esi + 4], edx */ 19123 MEM32(edx) = ecx; /* 0x2B06D7C2: mov dword ptr [edx], ecx */ 19124 goto L_2B06D87F; /* 0x2B06D7C4: jmp 0x2b06d87f */ 19125 L_2B06D7C9: 19126 esi = MEM32(ecx + 0x4); /* 0x2B06D7C9: mov esi, dword ptr [ecx + 4] */ 19127 /* cmp ecx, MEM32(esi) */ /* 0x2B06D7CC: cmp ecx, dword ptr [esi] */ 19128 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 19129 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19130 _flag_k = FK_CMP; 19131 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7D9; /* 0x2B06D7CE: jne 0x2b06d7d9 */ 19132 L_2B06D7D0: 19133 MEM32(esi) = edx; /* 0x2B06D7D0: mov dword ptr [esi], edx */ 19134 MEM32(edx) = ecx; /* 0x2B06D7D2: mov dword ptr [edx], ecx */ 19135 goto L_2B06D87F; /* 0x2B06D7D4: jmp 0x2b06d87f */ 19136 L_2B06D7D9: 19137 MEM32(esi + 0x8) = edx; /* 0x2B06D7D9: mov dword ptr [esi + 8], edx */ 19138 MEM32(edx) = ecx; /* 0x2B06D7DC: mov dword ptr [edx], ecx */ 19139 goto L_2B06D87F; /* 0x2B06D7DE: jmp 0x2b06d87f */ 19140 L_2B06D7E3: 19141 edx = MEM32(ecx); /* 0x2B06D7E3: mov edx, dword ptr [ecx] */ 19142 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D7E5: cmp byte ptr [edx + 0x14], bl */ 19143 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 19144 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19145 _flag_k = FK_NARROW(FK_CMP, 24); 19146 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D831; /* 0x2B06D7E8: jne 0x2b06d831 */ 19147 L_2B06D7EA: 19148 edx = MEM32(ecx + 0x8); /* 0x2B06D7EA: mov edx, dword ptr [ecx + 8] */ 19149 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D7ED: mov byte ptr [edx + 0x14], bl */ 19150 edx = MEM32(ecx + 0x8); /* 0x2B06D7F0: mov edx, dword ptr [ecx + 8] */ 19151 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D7F3: mov byte ptr [ecx + 0x14], 0 */ 19152 esi = MEM32(edx); /* 0x2B06D7F7: mov esi, dword ptr [edx] */ 19153 MEM32(ecx + 0x8) = esi; /* 0x2B06D7F9: mov dword ptr [ecx + 8], esi */ 19154 esi = MEM32(edx); /* 0x2B06D7FC: mov esi, dword ptr [edx] */ 19155 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D7FE: cmp esi, dword ptr [edi + 8] */ 19156 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19157 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19158 _flag_k = FK_CMP; 19159 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D806; /* 0x2B06D801: je 0x2b06d806 */ 19160 L_2B06D803: 19161 MEM32(esi + 0x4) = ecx; /* 0x2B06D803: mov dword ptr [esi + 4], ecx */ 19162 L_2B06D806: 19163 esi = MEM32(ecx + 0x4); /* 0x2B06D806: mov esi, dword ptr [ecx + 4] */ 19164 MEM32(edx + 0x4) = esi; /* 0x2B06D809: mov dword ptr [edx + 4], esi */ 19165 esi = MEM32(edi + 0x4); /* 0x2B06D80C: mov esi, dword ptr [edi + 4] */ 19166 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D80F: cmp ecx, dword ptr [esi + 4] */ 19167 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 19168 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19169 _flag_k = FK_CMP; 19170 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D819; /* 0x2B06D812: jne 0x2b06d819 */ 19171 L_2B06D814: 19172 MEM32(esi + 0x4) = edx; /* 0x2B06D814: mov dword ptr [esi + 4], edx */ 19173 goto L_2B06D827; /* 0x2B06D817: jmp 0x2b06d827 */ 19174 L_2B06D819: 19175 esi = MEM32(ecx + 0x4); /* 0x2B06D819: mov esi, dword ptr [ecx + 4] */ 19176 /* cmp ecx, MEM32(esi) */ /* 0x2B06D81C: cmp ecx, dword ptr [esi] */ 19177 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 19178 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19179 _flag_k = FK_CMP; 19180 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D824; /* 0x2B06D81E: jne 0x2b06d824 */ 19181 L_2B06D820: 19182 MEM32(esi) = edx; /* 0x2B06D820: mov dword ptr [esi], edx */ 19183 goto L_2B06D827; /* 0x2B06D822: jmp 0x2b06d827 */ 19184 L_2B06D824: 19185 MEM32(esi + 0x8) = edx; /* 0x2B06D824: mov dword ptr [esi + 8], edx */ 19186 L_2B06D827: 19187 MEM32(edx) = ecx; /* 0x2B06D827: mov dword ptr [edx], ecx */ 19188 MEM32(ecx + 0x4) = edx; /* 0x2B06D829: mov dword ptr [ecx + 4], edx */ 19189 ecx = MEM32(eax + 0x4); /* 0x2B06D82C: mov ecx, dword ptr [eax + 4] */ 19190 ecx = MEM32(ecx); /* 0x2B06D82F: mov ecx, dword ptr [ecx] */ 19191 L_2B06D831: 19192 edx = MEM32(eax + 0x4); /* 0x2B06D831: mov edx, dword ptr [eax + 4] */ 19193 SET_LO8(edx, MEM8(edx + 0x14)); /* 0x2B06D834: mov dl, byte ptr [edx + 0x14] */ 19194 MEM8(ecx + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B06D837: mov byte ptr [ecx + 0x14], dl */ 19195 edx = MEM32(eax + 0x4); /* 0x2B06D83A: mov edx, dword ptr [eax + 4] */ 19196 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D83D: mov byte ptr [edx + 0x14], bl */ 19197 ecx = MEM32(ecx); /* 0x2B06D840: mov ecx, dword ptr [ecx] */ 19198 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D842: mov byte ptr [ecx + 0x14], bl */ 19199 ecx = MEM32(eax + 0x4); /* 0x2B06D845: mov ecx, dword ptr [eax + 4] */ 19200 edx = MEM32(ecx); /* 0x2B06D848: mov edx, dword ptr [ecx] */ 19201 esi = MEM32(edx + 0x8); /* 0x2B06D84A: mov esi, dword ptr [edx + 8] */ 19202 MEM32(ecx) = esi; /* 0x2B06D84D: mov dword ptr [ecx], esi */ 19203 esi = MEM32(edx + 0x8); /* 0x2B06D84F: mov esi, dword ptr [edx + 8] */ 19204 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D852: cmp esi, dword ptr [edi + 8] */ 19205 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19206 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19207 _flag_k = FK_CMP; 19208 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D85A; /* 0x2B06D855: je 0x2b06d85a */ 19209 L_2B06D857: 19210 MEM32(esi + 0x4) = ecx; /* 0x2B06D857: mov dword ptr [esi + 4], ecx */ 19211 L_2B06D85A: 19212 esi = MEM32(ecx + 0x4); /* 0x2B06D85A: mov esi, dword ptr [ecx + 4] */ 19213 MEM32(edx + 0x4) = esi; /* 0x2B06D85D: mov dword ptr [edx + 4], esi */ 19214 esi = MEM32(edi + 0x4); /* 0x2B06D860: mov esi, dword ptr [edi + 4] */ 19215 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D863: cmp ecx, dword ptr [esi + 4] */ 19216 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 19217 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19218 _flag_k = FK_CMP; 19219 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D86D; /* 0x2B06D866: jne 0x2b06d86d */ 19220 L_2B06D868: 19221 MEM32(esi + 0x4) = edx; /* 0x2B06D868: mov dword ptr [esi + 4], edx */ 19222 goto L_2B06D87C; /* 0x2B06D86B: jmp 0x2b06d87c */ 19223 L_2B06D86D: 19224 esi = MEM32(ecx + 0x4); /* 0x2B06D86D: mov esi, dword ptr [ecx + 4] */ 19225 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D870: cmp ecx, dword ptr [esi + 8] */ 19226 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19227 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19228 _flag_k = FK_CMP; 19229 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D87A; /* 0x2B06D873: jne 0x2b06d87a */ 19230 L_2B06D875: 19231 MEM32(esi + 0x8) = edx; /* 0x2B06D875: mov dword ptr [esi + 8], edx */ 19232 goto L_2B06D87C; /* 0x2B06D878: jmp 0x2b06d87c */ 19233 L_2B06D87A: 19234 MEM32(esi) = edx; /* 0x2B06D87A: mov dword ptr [esi], edx */ 19235 L_2B06D87C: 19236 MEM32(edx + 0x8) = ecx; /* 0x2B06D87C: mov dword ptr [edx + 8], ecx */ 19237 L_2B06D87F: 19238 MEM32(ecx + 0x4) = edx; /* 0x2B06D87F: mov dword ptr [ecx + 4], edx */ 19239 L_2B06D882: 19240 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D882: mov byte ptr [eax + 0x14], bl */ 19241 L_2B06D885: 19242 edx = MEM32(ebp + (-0x4)); /* 0x2B06D885: mov edx, dword ptr [ebp - 4] */ 19243 PUSH32(esp, edx); /* 0x2B06D888: push edx */ 19244 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06D889: call 0x2b0ab1ba */ /* not lifted */ 19245 RECOMP_FLAGS_IN(); 19246 eax = MEM32(edi + 0x10); /* 0x2B06D88E: mov eax, dword ptr [edi + 0x10] */ 19247 ecx = MEM32(ebp + 0xC); /* 0x2B06D891: mov ecx, dword ptr [ebp + 0xc] */ 19248 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19249 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19250 esp = esp + 4; /* 0x2B06D894: add esp, 4 */ 19251 _flag_k = FK_ADD; 19252 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 19253 eax = eax - 1; /* 0x2B06D897: dec eax */ 19254 _flag_k = FK_DEC; 19255 MEM32(edi + 0x10) = eax; /* 0x2B06D898: mov dword ptr [edi + 0x10], eax */ 19256 eax = MEM32(ebp + 0x8); /* 0x2B06D89B: mov eax, dword ptr [ebp + 8] */ 19257 edi = POP32_VAL(esp); /* 0x2B06D89E: pop edi */ 19258 esi = POP32_VAL(esp); /* 0x2B06D89F: pop esi */ 19259 MEM32(eax) = ecx; /* 0x2B06D8A0: mov dword ptr [eax], ecx */ 19260 ebx = POP32_VAL(esp); /* 0x2B06D8A2: pop ebx */ 19261 esp = ebp; /* 0x2B06D8A3: mov esp, ebp */ 19262 ebp = POP32_VAL(esp); /* 0x2B06D8A5: pop ebp */ 19263 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B06D8A6: ret 8 */ 19264 RECOMP_REGS_OUT(); 19265 } 19266 19267 void sub_2B06D5C1(void) { 19268 int _fpu_cmp = 0; 19269 uint32_t _cf = 0; 19270 int _df = 1; 19271 uint32_t _flag_k = FK_NONE; 19272 uint32_t _flag_a = 0, _flag_b = 0; 19273 uint32_t _itail_tgt = 0; 19274 RECOMP_REGS_LOCALS 19275 RECOMP_ENTER(0x2B06D5C1u); 19276 19277 L_2B06D5C1: 19278 ebx = MEM32(edi + 0x4); /* 0x2B06D5C1: mov ebx, dword ptr [edi + 4] */ 19279 /* cmp MEM32(ebx), esi */ /* 0x2B06D5C4: cmp dword ptr [ebx], esi */ 19280 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi); 19281 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19282 _flag_k = FK_CMP; 19283 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D5EB; /* 0x2B06D5C6: jne 0x2b06d5eb */ 19284 L_2B06D5C8: 19285 ecx = MEM32(esi + 0x8); /* 0x2B06D5C8: mov ecx, dword ptr [esi + 8] */ 19286 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B06D5CB: cmp ecx, dword ptr [edi + 8] */ 19287 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19288 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19289 _flag_k = FK_CMP; 19290 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D5D5; /* 0x2B06D5CE: jne 0x2b06d5d5 */ 19291 L_2B06D5D0: 19292 edx = MEM32(esi + 0x4); /* 0x2B06D5D0: mov edx, dword ptr [esi + 4] */ 19293 goto L_2B06D5E9; /* 0x2B06D5D3: jmp 0x2b06d5e9 */ 19294 L_2B06D5D5: 19295 ecx = MEM32(eax); /* 0x2B06D5D5: mov ecx, dword ptr [eax] */ 19296 /* cmp MEM8(ecx + 0x15), 0 */ /* 0x2B06D5D7: cmp byte ptr [ecx + 0x15], 0 */ 19297 _flag_a = (uint32_t)(MEM8(ecx + 0x15)) << 24; _flag_b = (uint32_t)(0) << 24; 19298 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19299 _flag_k = FK_NARROW(FK_CMP, 24); 19300 edx = eax; /* 0x2B06D5DB: mov edx, eax */ 19301 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D5E9; /* 0x2B06D5DD: jne 0x2b06d5e9 */ 19302 L_2B06D5DF: 19303 edx = ecx; /* 0x2B06D5DF: mov edx, ecx */ 19304 ecx = MEM32(edx); /* 0x2B06D5E1: mov ecx, dword ptr [edx] */ 19305 /* cmp MEM8(ecx + 0x15), 0 */ /* 0x2B06D5E3: cmp byte ptr [ecx + 0x15], 0 */ 19306 _flag_a = (uint32_t)(MEM8(ecx + 0x15)) << 24; _flag_b = (uint32_t)(0) << 24; 19307 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19308 _flag_k = FK_NARROW(FK_CMP, 24); 19309 RECOMP_BACKEDGE(); 19310 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D5DF; /* 0x2B06D5E7: je 0x2b06d5df */ 19311 L_2B06D5E9: 19312 MEM32(ebx) = edx; /* 0x2B06D5E9: mov dword ptr [ebx], edx */ 19313 L_2B06D5EB: 19314 ebx = MEM32(edi + 0x4); /* 0x2B06D5EB: mov ebx, dword ptr [edi + 4] */ 19315 /* cmp MEM32(ebx + 0x8), esi */ /* 0x2B06D5EE: cmp dword ptr [ebx + 8], esi */ 19316 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 19317 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19318 _flag_k = FK_CMP; 19319 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D618; /* 0x2B06D5F1: jne 0x2b06d618 */ 19320 L_2B06D5F3: 19321 ecx = MEM32(esi); /* 0x2B06D5F3: mov ecx, dword ptr [esi] */ 19322 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B06D5F5: cmp ecx, dword ptr [edi + 8] */ 19323 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19324 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19325 _flag_k = FK_CMP; 19326 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D5FF; /* 0x2B06D5F8: jne 0x2b06d5ff */ 19327 L_2B06D5FA: 19328 edx = MEM32(esi + 0x4); /* 0x2B06D5FA: mov edx, dword ptr [esi + 4] */ 19329 goto L_2B06D615; /* 0x2B06D5FD: jmp 0x2b06d615 */ 19330 L_2B06D5FF: 19331 ecx = MEM32(eax + 0x8); /* 0x2B06D5FF: mov ecx, dword ptr [eax + 8] */ 19332 /* cmp MEM8(ecx + 0x15), 0 */ /* 0x2B06D602: cmp byte ptr [ecx + 0x15], 0 */ 19333 _flag_a = (uint32_t)(MEM8(ecx + 0x15)) << 24; _flag_b = (uint32_t)(0) << 24; 19334 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19335 _flag_k = FK_NARROW(FK_CMP, 24); 19336 edx = eax; /* 0x2B06D606: mov edx, eax */ 19337 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D615; /* 0x2B06D608: jne 0x2b06d615 */ 19338 L_2B06D60A: 19339 edx = ecx; /* 0x2B06D60A: mov edx, ecx */ 19340 ecx = MEM32(edx + 0x8); /* 0x2B06D60C: mov ecx, dword ptr [edx + 8] */ 19341 /* cmp MEM8(ecx + 0x15), 0 */ /* 0x2B06D60F: cmp byte ptr [ecx + 0x15], 0 */ 19342 _flag_a = (uint32_t)(MEM8(ecx + 0x15)) << 24; _flag_b = (uint32_t)(0) << 24; 19343 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19344 _flag_k = FK_NARROW(FK_CMP, 24); 19345 RECOMP_BACKEDGE(); 19346 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D60A; /* 0x2B06D613: je 0x2b06d60a */ 19347 L_2B06D615: 19348 MEM32(ebx + 0x8) = edx; /* 0x2B06D615: mov dword ptr [ebx + 8], edx */ 19349 L_2B06D618: 19350 ecx = MEM32(ebp + (-0x4)); /* 0x2B06D618: mov ecx, dword ptr [ebp - 4] */ 19351 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2B06D61B: mov dl, byte ptr [ecx + 0x14] */ 19352 SET_LO8(ebx, 1); /* 0x2B06D61E: mov bl, 1 */ 19353 /* cmp LO8(edx), LO8(ebx) */ /* 0x2B06D620: cmp dl, bl */ 19354 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 19355 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19356 _flag_k = FK_NARROW(FK_CMP, 24); 19357 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D885; /* 0x2B06D622: jne 0x2b06d885 */ 19358 L_2B06D628: 19359 edx = MEM32(edi + 0x4); /* 0x2B06D628: mov edx, dword ptr [edi + 4] */ 19360 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B06D62B: cmp eax, dword ptr [edx + 4] */ 19361 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 19362 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19363 _flag_k = FK_CMP; 19364 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D882; /* 0x2B06D62E: je 0x2b06d882 */ 19365 L_2B06D634: 19366 /* cmp MEM8(eax + 0x14), LO8(ebx) */ /* 0x2B06D634: cmp byte ptr [eax + 0x14], bl */ 19367 _flag_a = (uint32_t)(MEM8(eax + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 19368 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19369 _flag_k = FK_NARROW(FK_CMP, 24); 19370 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D882; /* 0x2B06D637: jne 0x2b06d882 */ 19371 L_2B06D63D: 19372 edx = MEM32(eax + 0x4); /* 0x2B06D63D: mov edx, dword ptr [eax + 4] */ 19373 ecx = MEM32(edx); /* 0x2B06D640: mov ecx, dword ptr [edx] */ 19374 /* cmp eax, ecx */ /* 0x2B06D642: cmp eax, ecx */ 19375 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 19376 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19377 _flag_k = FK_CMP; 19378 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6B4; /* 0x2B06D644: jne 0x2b06d6b4 */ 19379 L_2B06D646: 19380 ecx = MEM32(edx + 0x8); /* 0x2B06D646: mov ecx, dword ptr [edx + 8] */ 19381 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2B06D649: mov dl, byte ptr [ecx + 0x14] */ 19382 /* test LO8(edx), LO8(edx) */ /* 0x2B06D64C: test dl, dl */ 19383 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 19384 _cf = 0; 19385 _flag_k = FK_NARROW(FK_TEST, 24); 19386 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06D69B; /* 0x2B06D64E: jne 0x2b06d69b */ 19387 L_2B06D650: 19388 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D650: mov byte ptr [ecx + 0x14], bl */ 19389 ecx = MEM32(eax + 0x4); /* 0x2B06D653: mov ecx, dword ptr [eax + 4] */ 19390 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D656: mov byte ptr [ecx + 0x14], 0 */ 19391 ecx = MEM32(eax + 0x4); /* 0x2B06D65A: mov ecx, dword ptr [eax + 4] */ 19392 edx = MEM32(ecx + 0x8); /* 0x2B06D65D: mov edx, dword ptr [ecx + 8] */ 19393 esi = MEM32(edx); /* 0x2B06D660: mov esi, dword ptr [edx] */ 19394 MEM32(ecx + 0x8) = esi; /* 0x2B06D662: mov dword ptr [ecx + 8], esi */ 19395 esi = MEM32(edx); /* 0x2B06D665: mov esi, dword ptr [edx] */ 19396 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D667: cmp esi, dword ptr [edi + 8] */ 19397 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19398 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19399 _flag_k = FK_CMP; 19400 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D66F; /* 0x2B06D66A: je 0x2b06d66f */ 19401 L_2B06D66C: 19402 MEM32(esi + 0x4) = ecx; /* 0x2B06D66C: mov dword ptr [esi + 4], ecx */ 19403 L_2B06D66F: 19404 esi = MEM32(ecx + 0x4); /* 0x2B06D66F: mov esi, dword ptr [ecx + 4] */ 19405 MEM32(edx + 0x4) = esi; /* 0x2B06D672: mov dword ptr [edx + 4], esi */ 19406 esi = MEM32(edi + 0x4); /* 0x2B06D675: mov esi, dword ptr [edi + 4] */ 19407 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D678: cmp ecx, dword ptr [esi + 4] */ 19408 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 19409 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19410 _flag_k = FK_CMP; 19411 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D682; /* 0x2B06D67B: jne 0x2b06d682 */ 19412 L_2B06D67D: 19413 MEM32(esi + 0x4) = edx; /* 0x2B06D67D: mov dword ptr [esi + 4], edx */ 19414 goto L_2B06D690; /* 0x2B06D680: jmp 0x2b06d690 */ 19415 L_2B06D682: 19416 esi = MEM32(ecx + 0x4); /* 0x2B06D682: mov esi, dword ptr [ecx + 4] */ 19417 /* cmp ecx, MEM32(esi) */ /* 0x2B06D685: cmp ecx, dword ptr [esi] */ 19418 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 19419 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19420 _flag_k = FK_CMP; 19421 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D68D; /* 0x2B06D687: jne 0x2b06d68d */ 19422 L_2B06D689: 19423 MEM32(esi) = edx; /* 0x2B06D689: mov dword ptr [esi], edx */ 19424 goto L_2B06D690; /* 0x2B06D68B: jmp 0x2b06d690 */ 19425 L_2B06D68D: 19426 MEM32(esi + 0x8) = edx; /* 0x2B06D68D: mov dword ptr [esi + 8], edx */ 19427 L_2B06D690: 19428 MEM32(edx) = ecx; /* 0x2B06D690: mov dword ptr [edx], ecx */ 19429 MEM32(ecx + 0x4) = edx; /* 0x2B06D692: mov dword ptr [ecx + 4], edx */ 19430 edx = MEM32(eax + 0x4); /* 0x2B06D695: mov edx, dword ptr [eax + 4] */ 19431 ecx = MEM32(edx + 0x8); /* 0x2B06D698: mov ecx, dword ptr [edx + 8] */ 19432 L_2B06D69B: 19433 edx = MEM32(ecx); /* 0x2B06D69B: mov edx, dword ptr [ecx] */ 19434 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D69D: cmp byte ptr [edx + 0x14], bl */ 19435 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 19436 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19437 _flag_k = FK_NARROW(FK_CMP, 24); 19438 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D736; /* 0x2B06D6A0: jne 0x2b06d736 */ 19439 L_2B06D6A6: 19440 edx = MEM32(ecx + 0x8); /* 0x2B06D6A6: mov edx, dword ptr [ecx + 8] */ 19441 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D6A9: cmp byte ptr [edx + 0x14], bl */ 19442 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 19443 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19444 _flag_k = FK_NARROW(FK_CMP, 24); 19445 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D736; /* 0x2B06D6AC: jne 0x2b06d736 */ 19446 L_2B06D6B2: 19447 goto L_2B06D71E; /* 0x2B06D6B2: jmp 0x2b06d71e */ 19448 L_2B06D6B4: 19449 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2B06D6B4: mov dl, byte ptr [ecx + 0x14] */ 19450 /* test LO8(edx), LO8(edx) */ /* 0x2B06D6B7: test dl, dl */ 19451 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 19452 _cf = 0; 19453 _flag_k = FK_NARROW(FK_TEST, 24); 19454 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06D707; /* 0x2B06D6B9: jne 0x2b06d707 */ 19455 L_2B06D6BB: 19456 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D6BB: mov byte ptr [ecx + 0x14], bl */ 19457 ecx = MEM32(eax + 0x4); /* 0x2B06D6BE: mov ecx, dword ptr [eax + 4] */ 19458 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D6C1: mov byte ptr [ecx + 0x14], 0 */ 19459 ecx = MEM32(eax + 0x4); /* 0x2B06D6C5: mov ecx, dword ptr [eax + 4] */ 19460 edx = MEM32(ecx); /* 0x2B06D6C8: mov edx, dword ptr [ecx] */ 19461 esi = MEM32(edx + 0x8); /* 0x2B06D6CA: mov esi, dword ptr [edx + 8] */ 19462 MEM32(ecx) = esi; /* 0x2B06D6CD: mov dword ptr [ecx], esi */ 19463 esi = MEM32(edx + 0x8); /* 0x2B06D6CF: mov esi, dword ptr [edx + 8] */ 19464 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D6D2: cmp esi, dword ptr [edi + 8] */ 19465 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19466 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19467 _flag_k = FK_CMP; 19468 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D6DA; /* 0x2B06D6D5: je 0x2b06d6da */ 19469 L_2B06D6D7: 19470 MEM32(esi + 0x4) = ecx; /* 0x2B06D6D7: mov dword ptr [esi + 4], ecx */ 19471 L_2B06D6DA: 19472 esi = MEM32(ecx + 0x4); /* 0x2B06D6DA: mov esi, dword ptr [ecx + 4] */ 19473 MEM32(edx + 0x4) = esi; /* 0x2B06D6DD: mov dword ptr [edx + 4], esi */ 19474 esi = MEM32(edi + 0x4); /* 0x2B06D6E0: mov esi, dword ptr [edi + 4] */ 19475 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D6E3: cmp ecx, dword ptr [esi + 4] */ 19476 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 19477 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19478 _flag_k = FK_CMP; 19479 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6ED; /* 0x2B06D6E6: jne 0x2b06d6ed */ 19480 L_2B06D6E8: 19481 MEM32(esi + 0x4) = edx; /* 0x2B06D6E8: mov dword ptr [esi + 4], edx */ 19482 goto L_2B06D6FC; /* 0x2B06D6EB: jmp 0x2b06d6fc */ 19483 L_2B06D6ED: 19484 esi = MEM32(ecx + 0x4); /* 0x2B06D6ED: mov esi, dword ptr [ecx + 4] */ 19485 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D6F0: cmp ecx, dword ptr [esi + 8] */ 19486 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19487 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19488 _flag_k = FK_CMP; 19489 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6FA; /* 0x2B06D6F3: jne 0x2b06d6fa */ 19490 L_2B06D6F5: 19491 MEM32(esi + 0x8) = edx; /* 0x2B06D6F5: mov dword ptr [esi + 8], edx */ 19492 goto L_2B06D6FC; /* 0x2B06D6F8: jmp 0x2b06d6fc */ 19493 L_2B06D6FA: 19494 MEM32(esi) = edx; /* 0x2B06D6FA: mov dword ptr [esi], edx */ 19495 L_2B06D6FC: 19496 MEM32(edx + 0x8) = ecx; /* 0x2B06D6FC: mov dword ptr [edx + 8], ecx */ 19497 MEM32(ecx + 0x4) = edx; /* 0x2B06D6FF: mov dword ptr [ecx + 4], edx */ 19498 edx = MEM32(eax + 0x4); /* 0x2B06D702: mov edx, dword ptr [eax + 4] */ 19499 ecx = MEM32(edx); /* 0x2B06D705: mov ecx, dword ptr [edx] */ 19500 L_2B06D707: 19501 edx = MEM32(ecx + 0x8); /* 0x2B06D707: mov edx, dword ptr [ecx + 8] */ 19502 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D70A: cmp byte ptr [edx + 0x14], bl */ 19503 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 19504 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19505 _flag_k = FK_NARROW(FK_CMP, 24); 19506 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7E3; /* 0x2B06D70D: jne 0x2b06d7e3 */ 19507 L_2B06D713: 19508 edx = MEM32(ecx); /* 0x2B06D713: mov edx, dword ptr [ecx] */ 19509 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D715: cmp byte ptr [edx + 0x14], bl */ 19510 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 19511 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19512 _flag_k = FK_NARROW(FK_CMP, 24); 19513 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7E3; /* 0x2B06D718: jne 0x2b06d7e3 */ 19514 L_2B06D71E: 19515 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D71E: mov byte ptr [ecx + 0x14], 0 */ 19516 ecx = MEM32(edi + 0x4); /* 0x2B06D722: mov ecx, dword ptr [edi + 4] */ 19517 eax = MEM32(eax + 0x4); /* 0x2B06D725: mov eax, dword ptr [eax + 4] */ 19518 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B06D728: cmp eax, dword ptr [ecx + 4] */ 19519 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 19520 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19521 _flag_k = FK_CMP; 19522 RECOMP_BACKEDGE(); 19523 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D634; /* 0x2B06D72B: jne 0x2b06d634 */ 19524 L_2B06D731: 19525 goto L_2B06D882; /* 0x2B06D731: jmp 0x2b06d882 */ 19526 L_2B06D736: 19527 edx = MEM32(ecx + 0x8); /* 0x2B06D736: mov edx, dword ptr [ecx + 8] */ 19528 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D739: cmp byte ptr [edx + 0x14], bl */ 19529 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 19530 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19531 _flag_k = FK_NARROW(FK_CMP, 24); 19532 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D787; /* 0x2B06D73C: jne 0x2b06d787 */ 19533 L_2B06D73E: 19534 edx = MEM32(ecx); /* 0x2B06D73E: mov edx, dword ptr [ecx] */ 19535 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D740: mov byte ptr [edx + 0x14], bl */ 19536 edx = MEM32(ecx); /* 0x2B06D743: mov edx, dword ptr [ecx] */ 19537 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D745: mov byte ptr [ecx + 0x14], 0 */ 19538 esi = MEM32(edx + 0x8); /* 0x2B06D749: mov esi, dword ptr [edx + 8] */ 19539 MEM32(ecx) = esi; /* 0x2B06D74C: mov dword ptr [ecx], esi */ 19540 esi = MEM32(edx + 0x8); /* 0x2B06D74E: mov esi, dword ptr [edx + 8] */ 19541 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D751: cmp esi, dword ptr [edi + 8] */ 19542 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19543 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19544 _flag_k = FK_CMP; 19545 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D759; /* 0x2B06D754: je 0x2b06d759 */ 19546 L_2B06D756: 19547 MEM32(esi + 0x4) = ecx; /* 0x2B06D756: mov dword ptr [esi + 4], ecx */ 19548 L_2B06D759: 19549 esi = MEM32(ecx + 0x4); /* 0x2B06D759: mov esi, dword ptr [ecx + 4] */ 19550 MEM32(edx + 0x4) = esi; /* 0x2B06D75C: mov dword ptr [edx + 4], esi */ 19551 esi = MEM32(edi + 0x4); /* 0x2B06D75F: mov esi, dword ptr [edi + 4] */ 19552 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D762: cmp ecx, dword ptr [esi + 4] */ 19553 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 19554 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19555 _flag_k = FK_CMP; 19556 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D76C; /* 0x2B06D765: jne 0x2b06d76c */ 19557 L_2B06D767: 19558 MEM32(esi + 0x4) = edx; /* 0x2B06D767: mov dword ptr [esi + 4], edx */ 19559 goto L_2B06D77B; /* 0x2B06D76A: jmp 0x2b06d77b */ 19560 L_2B06D76C: 19561 esi = MEM32(ecx + 0x4); /* 0x2B06D76C: mov esi, dword ptr [ecx + 4] */ 19562 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D76F: cmp ecx, dword ptr [esi + 8] */ 19563 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19564 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19565 _flag_k = FK_CMP; 19566 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D779; /* 0x2B06D772: jne 0x2b06d779 */ 19567 L_2B06D774: 19568 MEM32(esi + 0x8) = edx; /* 0x2B06D774: mov dword ptr [esi + 8], edx */ 19569 goto L_2B06D77B; /* 0x2B06D777: jmp 0x2b06d77b */ 19570 L_2B06D779: 19571 MEM32(esi) = edx; /* 0x2B06D779: mov dword ptr [esi], edx */ 19572 L_2B06D77B: 19573 MEM32(edx + 0x8) = ecx; /* 0x2B06D77B: mov dword ptr [edx + 8], ecx */ 19574 MEM32(ecx + 0x4) = edx; /* 0x2B06D77E: mov dword ptr [ecx + 4], edx */ 19575 ecx = MEM32(eax + 0x4); /* 0x2B06D781: mov ecx, dword ptr [eax + 4] */ 19576 ecx = MEM32(ecx + 0x8); /* 0x2B06D784: mov ecx, dword ptr [ecx + 8] */ 19577 L_2B06D787: 19578 edx = MEM32(eax + 0x4); /* 0x2B06D787: mov edx, dword ptr [eax + 4] */ 19579 SET_LO8(edx, MEM8(edx + 0x14)); /* 0x2B06D78A: mov dl, byte ptr [edx + 0x14] */ 19580 MEM8(ecx + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B06D78D: mov byte ptr [ecx + 0x14], dl */ 19581 edx = MEM32(eax + 0x4); /* 0x2B06D790: mov edx, dword ptr [eax + 4] */ 19582 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D793: mov byte ptr [edx + 0x14], bl */ 19583 ecx = MEM32(ecx + 0x8); /* 0x2B06D796: mov ecx, dword ptr [ecx + 8] */ 19584 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D799: mov byte ptr [ecx + 0x14], bl */ 19585 ecx = MEM32(eax + 0x4); /* 0x2B06D79C: mov ecx, dword ptr [eax + 4] */ 19586 edx = MEM32(ecx + 0x8); /* 0x2B06D79F: mov edx, dword ptr [ecx + 8] */ 19587 esi = MEM32(edx); /* 0x2B06D7A2: mov esi, dword ptr [edx] */ 19588 MEM32(ecx + 0x8) = esi; /* 0x2B06D7A4: mov dword ptr [ecx + 8], esi */ 19589 esi = MEM32(edx); /* 0x2B06D7A7: mov esi, dword ptr [edx] */ 19590 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D7A9: cmp esi, dword ptr [edi + 8] */ 19591 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19592 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19593 _flag_k = FK_CMP; 19594 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D7B1; /* 0x2B06D7AC: je 0x2b06d7b1 */ 19595 L_2B06D7AE: 19596 MEM32(esi + 0x4) = ecx; /* 0x2B06D7AE: mov dword ptr [esi + 4], ecx */ 19597 L_2B06D7B1: 19598 esi = MEM32(ecx + 0x4); /* 0x2B06D7B1: mov esi, dword ptr [ecx + 4] */ 19599 MEM32(edx + 0x4) = esi; /* 0x2B06D7B4: mov dword ptr [edx + 4], esi */ 19600 esi = MEM32(edi + 0x4); /* 0x2B06D7B7: mov esi, dword ptr [edi + 4] */ 19601 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D7BA: cmp ecx, dword ptr [esi + 4] */ 19602 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 19603 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19604 _flag_k = FK_CMP; 19605 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7C9; /* 0x2B06D7BD: jne 0x2b06d7c9 */ 19606 L_2B06D7BF: 19607 MEM32(esi + 0x4) = edx; /* 0x2B06D7BF: mov dword ptr [esi + 4], edx */ 19608 MEM32(edx) = ecx; /* 0x2B06D7C2: mov dword ptr [edx], ecx */ 19609 goto L_2B06D87F; /* 0x2B06D7C4: jmp 0x2b06d87f */ 19610 L_2B06D7C9: 19611 esi = MEM32(ecx + 0x4); /* 0x2B06D7C9: mov esi, dword ptr [ecx + 4] */ 19612 /* cmp ecx, MEM32(esi) */ /* 0x2B06D7CC: cmp ecx, dword ptr [esi] */ 19613 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 19614 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19615 _flag_k = FK_CMP; 19616 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7D9; /* 0x2B06D7CE: jne 0x2b06d7d9 */ 19617 L_2B06D7D0: 19618 MEM32(esi) = edx; /* 0x2B06D7D0: mov dword ptr [esi], edx */ 19619 MEM32(edx) = ecx; /* 0x2B06D7D2: mov dword ptr [edx], ecx */ 19620 goto L_2B06D87F; /* 0x2B06D7D4: jmp 0x2b06d87f */ 19621 L_2B06D7D9: 19622 MEM32(esi + 0x8) = edx; /* 0x2B06D7D9: mov dword ptr [esi + 8], edx */ 19623 MEM32(edx) = ecx; /* 0x2B06D7DC: mov dword ptr [edx], ecx */ 19624 goto L_2B06D87F; /* 0x2B06D7DE: jmp 0x2b06d87f */ 19625 L_2B06D7E3: 19626 edx = MEM32(ecx); /* 0x2B06D7E3: mov edx, dword ptr [ecx] */ 19627 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D7E5: cmp byte ptr [edx + 0x14], bl */ 19628 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 19629 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19630 _flag_k = FK_NARROW(FK_CMP, 24); 19631 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D831; /* 0x2B06D7E8: jne 0x2b06d831 */ 19632 L_2B06D7EA: 19633 edx = MEM32(ecx + 0x8); /* 0x2B06D7EA: mov edx, dword ptr [ecx + 8] */ 19634 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D7ED: mov byte ptr [edx + 0x14], bl */ 19635 edx = MEM32(ecx + 0x8); /* 0x2B06D7F0: mov edx, dword ptr [ecx + 8] */ 19636 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D7F3: mov byte ptr [ecx + 0x14], 0 */ 19637 esi = MEM32(edx); /* 0x2B06D7F7: mov esi, dword ptr [edx] */ 19638 MEM32(ecx + 0x8) = esi; /* 0x2B06D7F9: mov dword ptr [ecx + 8], esi */ 19639 esi = MEM32(edx); /* 0x2B06D7FC: mov esi, dword ptr [edx] */ 19640 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D7FE: cmp esi, dword ptr [edi + 8] */ 19641 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19642 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19643 _flag_k = FK_CMP; 19644 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D806; /* 0x2B06D801: je 0x2b06d806 */ 19645 L_2B06D803: 19646 MEM32(esi + 0x4) = ecx; /* 0x2B06D803: mov dword ptr [esi + 4], ecx */ 19647 L_2B06D806: 19648 esi = MEM32(ecx + 0x4); /* 0x2B06D806: mov esi, dword ptr [ecx + 4] */ 19649 MEM32(edx + 0x4) = esi; /* 0x2B06D809: mov dword ptr [edx + 4], esi */ 19650 esi = MEM32(edi + 0x4); /* 0x2B06D80C: mov esi, dword ptr [edi + 4] */ 19651 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D80F: cmp ecx, dword ptr [esi + 4] */ 19652 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 19653 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19654 _flag_k = FK_CMP; 19655 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D819; /* 0x2B06D812: jne 0x2b06d819 */ 19656 L_2B06D814: 19657 MEM32(esi + 0x4) = edx; /* 0x2B06D814: mov dword ptr [esi + 4], edx */ 19658 goto L_2B06D827; /* 0x2B06D817: jmp 0x2b06d827 */ 19659 L_2B06D819: 19660 esi = MEM32(ecx + 0x4); /* 0x2B06D819: mov esi, dword ptr [ecx + 4] */ 19661 /* cmp ecx, MEM32(esi) */ /* 0x2B06D81C: cmp ecx, dword ptr [esi] */ 19662 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 19663 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19664 _flag_k = FK_CMP; 19665 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D824; /* 0x2B06D81E: jne 0x2b06d824 */ 19666 L_2B06D820: 19667 MEM32(esi) = edx; /* 0x2B06D820: mov dword ptr [esi], edx */ 19668 goto L_2B06D827; /* 0x2B06D822: jmp 0x2b06d827 */ 19669 L_2B06D824: 19670 MEM32(esi + 0x8) = edx; /* 0x2B06D824: mov dword ptr [esi + 8], edx */ 19671 L_2B06D827: 19672 MEM32(edx) = ecx; /* 0x2B06D827: mov dword ptr [edx], ecx */ 19673 MEM32(ecx + 0x4) = edx; /* 0x2B06D829: mov dword ptr [ecx + 4], edx */ 19674 ecx = MEM32(eax + 0x4); /* 0x2B06D82C: mov ecx, dword ptr [eax + 4] */ 19675 ecx = MEM32(ecx); /* 0x2B06D82F: mov ecx, dword ptr [ecx] */ 19676 L_2B06D831: 19677 edx = MEM32(eax + 0x4); /* 0x2B06D831: mov edx, dword ptr [eax + 4] */ 19678 SET_LO8(edx, MEM8(edx + 0x14)); /* 0x2B06D834: mov dl, byte ptr [edx + 0x14] */ 19679 MEM8(ecx + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B06D837: mov byte ptr [ecx + 0x14], dl */ 19680 edx = MEM32(eax + 0x4); /* 0x2B06D83A: mov edx, dword ptr [eax + 4] */ 19681 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D83D: mov byte ptr [edx + 0x14], bl */ 19682 ecx = MEM32(ecx); /* 0x2B06D840: mov ecx, dword ptr [ecx] */ 19683 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D842: mov byte ptr [ecx + 0x14], bl */ 19684 ecx = MEM32(eax + 0x4); /* 0x2B06D845: mov ecx, dword ptr [eax + 4] */ 19685 edx = MEM32(ecx); /* 0x2B06D848: mov edx, dword ptr [ecx] */ 19686 esi = MEM32(edx + 0x8); /* 0x2B06D84A: mov esi, dword ptr [edx + 8] */ 19687 MEM32(ecx) = esi; /* 0x2B06D84D: mov dword ptr [ecx], esi */ 19688 esi = MEM32(edx + 0x8); /* 0x2B06D84F: mov esi, dword ptr [edx + 8] */ 19689 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D852: cmp esi, dword ptr [edi + 8] */ 19690 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19691 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19692 _flag_k = FK_CMP; 19693 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D85A; /* 0x2B06D855: je 0x2b06d85a */ 19694 L_2B06D857: 19695 MEM32(esi + 0x4) = ecx; /* 0x2B06D857: mov dword ptr [esi + 4], ecx */ 19696 L_2B06D85A: 19697 esi = MEM32(ecx + 0x4); /* 0x2B06D85A: mov esi, dword ptr [ecx + 4] */ 19698 MEM32(edx + 0x4) = esi; /* 0x2B06D85D: mov dword ptr [edx + 4], esi */ 19699 esi = MEM32(edi + 0x4); /* 0x2B06D860: mov esi, dword ptr [edi + 4] */ 19700 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D863: cmp ecx, dword ptr [esi + 4] */ 19701 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 19702 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19703 _flag_k = FK_CMP; 19704 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D86D; /* 0x2B06D866: jne 0x2b06d86d */ 19705 L_2B06D868: 19706 MEM32(esi + 0x4) = edx; /* 0x2B06D868: mov dword ptr [esi + 4], edx */ 19707 goto L_2B06D87C; /* 0x2B06D86B: jmp 0x2b06d87c */ 19708 L_2B06D86D: 19709 esi = MEM32(ecx + 0x4); /* 0x2B06D86D: mov esi, dword ptr [ecx + 4] */ 19710 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D870: cmp ecx, dword ptr [esi + 8] */ 19711 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19712 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19713 _flag_k = FK_CMP; 19714 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D87A; /* 0x2B06D873: jne 0x2b06d87a */ 19715 L_2B06D875: 19716 MEM32(esi + 0x8) = edx; /* 0x2B06D875: mov dword ptr [esi + 8], edx */ 19717 goto L_2B06D87C; /* 0x2B06D878: jmp 0x2b06d87c */ 19718 L_2B06D87A: 19719 MEM32(esi) = edx; /* 0x2B06D87A: mov dword ptr [esi], edx */ 19720 L_2B06D87C: 19721 MEM32(edx + 0x8) = ecx; /* 0x2B06D87C: mov dword ptr [edx + 8], ecx */ 19722 L_2B06D87F: 19723 MEM32(ecx + 0x4) = edx; /* 0x2B06D87F: mov dword ptr [ecx + 4], edx */ 19724 L_2B06D882: 19725 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D882: mov byte ptr [eax + 0x14], bl */ 19726 L_2B06D885: 19727 edx = MEM32(ebp + (-0x4)); /* 0x2B06D885: mov edx, dword ptr [ebp - 4] */ 19728 PUSH32(esp, edx); /* 0x2B06D888: push edx */ 19729 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06D889: call 0x2b0ab1ba */ /* not lifted */ 19730 RECOMP_FLAGS_IN(); 19731 eax = MEM32(edi + 0x10); /* 0x2B06D88E: mov eax, dword ptr [edi + 0x10] */ 19732 ecx = MEM32(ebp + 0xC); /* 0x2B06D891: mov ecx, dword ptr [ebp + 0xc] */ 19733 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19734 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19735 esp = esp + 4; /* 0x2B06D894: add esp, 4 */ 19736 _flag_k = FK_ADD; 19737 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 19738 eax = eax - 1; /* 0x2B06D897: dec eax */ 19739 _flag_k = FK_DEC; 19740 MEM32(edi + 0x10) = eax; /* 0x2B06D898: mov dword ptr [edi + 0x10], eax */ 19741 eax = MEM32(ebp + 0x8); /* 0x2B06D89B: mov eax, dword ptr [ebp + 8] */ 19742 edi = POP32_VAL(esp); /* 0x2B06D89E: pop edi */ 19743 esi = POP32_VAL(esp); /* 0x2B06D89F: pop esi */ 19744 MEM32(eax) = ecx; /* 0x2B06D8A0: mov dword ptr [eax], ecx */ 19745 ebx = POP32_VAL(esp); /* 0x2B06D8A2: pop ebx */ 19746 esp = ebp; /* 0x2B06D8A3: mov esp, ebp */ 19747 ebp = POP32_VAL(esp); /* 0x2B06D8A5: pop ebp */ 19748 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B06D8A6: ret 8 */ 19749 RECOMP_REGS_OUT(); 19750 } 19751 19752 void sub_2B06D5E9(void) { 19753 int _fpu_cmp = 0; 19754 uint32_t _cf = 0; 19755 int _df = 1; 19756 uint32_t _flag_k = FK_NONE; 19757 uint32_t _flag_a = 0, _flag_b = 0; 19758 uint32_t _itail_tgt = 0; 19759 RECOMP_REGS_LOCALS 19760 RECOMP_ENTER(0x2B06D5E9u); 19761 19762 L_2B06D5E9: 19763 MEM32(ebx) = edx; /* 0x2B06D5E9: mov dword ptr [ebx], edx */ 19764 ebx = MEM32(edi + 0x4); /* 0x2B06D5EB: mov ebx, dword ptr [edi + 4] */ 19765 /* cmp MEM32(ebx + 0x8), esi */ /* 0x2B06D5EE: cmp dword ptr [ebx + 8], esi */ 19766 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 19767 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19768 _flag_k = FK_CMP; 19769 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D618; /* 0x2B06D5F1: jne 0x2b06d618 */ 19770 L_2B06D5F3: 19771 ecx = MEM32(esi); /* 0x2B06D5F3: mov ecx, dword ptr [esi] */ 19772 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B06D5F5: cmp ecx, dword ptr [edi + 8] */ 19773 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19774 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19775 _flag_k = FK_CMP; 19776 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D5FF; /* 0x2B06D5F8: jne 0x2b06d5ff */ 19777 L_2B06D5FA: 19778 edx = MEM32(esi + 0x4); /* 0x2B06D5FA: mov edx, dword ptr [esi + 4] */ 19779 goto L_2B06D615; /* 0x2B06D5FD: jmp 0x2b06d615 */ 19780 L_2B06D5FF: 19781 ecx = MEM32(eax + 0x8); /* 0x2B06D5FF: mov ecx, dword ptr [eax + 8] */ 19782 /* cmp MEM8(ecx + 0x15), 0 */ /* 0x2B06D602: cmp byte ptr [ecx + 0x15], 0 */ 19783 _flag_a = (uint32_t)(MEM8(ecx + 0x15)) << 24; _flag_b = (uint32_t)(0) << 24; 19784 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19785 _flag_k = FK_NARROW(FK_CMP, 24); 19786 edx = eax; /* 0x2B06D606: mov edx, eax */ 19787 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D615; /* 0x2B06D608: jne 0x2b06d615 */ 19788 L_2B06D60A: 19789 edx = ecx; /* 0x2B06D60A: mov edx, ecx */ 19790 ecx = MEM32(edx + 0x8); /* 0x2B06D60C: mov ecx, dword ptr [edx + 8] */ 19791 /* cmp MEM8(ecx + 0x15), 0 */ /* 0x2B06D60F: cmp byte ptr [ecx + 0x15], 0 */ 19792 _flag_a = (uint32_t)(MEM8(ecx + 0x15)) << 24; _flag_b = (uint32_t)(0) << 24; 19793 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19794 _flag_k = FK_NARROW(FK_CMP, 24); 19795 RECOMP_BACKEDGE(); 19796 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D60A; /* 0x2B06D613: je 0x2b06d60a */ 19797 L_2B06D615: 19798 MEM32(ebx + 0x8) = edx; /* 0x2B06D615: mov dword ptr [ebx + 8], edx */ 19799 L_2B06D618: 19800 ecx = MEM32(ebp + (-0x4)); /* 0x2B06D618: mov ecx, dword ptr [ebp - 4] */ 19801 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2B06D61B: mov dl, byte ptr [ecx + 0x14] */ 19802 SET_LO8(ebx, 1); /* 0x2B06D61E: mov bl, 1 */ 19803 /* cmp LO8(edx), LO8(ebx) */ /* 0x2B06D620: cmp dl, bl */ 19804 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 19805 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19806 _flag_k = FK_NARROW(FK_CMP, 24); 19807 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D885; /* 0x2B06D622: jne 0x2b06d885 */ 19808 L_2B06D628: 19809 edx = MEM32(edi + 0x4); /* 0x2B06D628: mov edx, dword ptr [edi + 4] */ 19810 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B06D62B: cmp eax, dword ptr [edx + 4] */ 19811 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 19812 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19813 _flag_k = FK_CMP; 19814 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D882; /* 0x2B06D62E: je 0x2b06d882 */ 19815 L_2B06D634: 19816 /* cmp MEM8(eax + 0x14), LO8(ebx) */ /* 0x2B06D634: cmp byte ptr [eax + 0x14], bl */ 19817 _flag_a = (uint32_t)(MEM8(eax + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 19818 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19819 _flag_k = FK_NARROW(FK_CMP, 24); 19820 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D882; /* 0x2B06D637: jne 0x2b06d882 */ 19821 L_2B06D63D: 19822 edx = MEM32(eax + 0x4); /* 0x2B06D63D: mov edx, dword ptr [eax + 4] */ 19823 ecx = MEM32(edx); /* 0x2B06D640: mov ecx, dword ptr [edx] */ 19824 /* cmp eax, ecx */ /* 0x2B06D642: cmp eax, ecx */ 19825 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 19826 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19827 _flag_k = FK_CMP; 19828 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6B4; /* 0x2B06D644: jne 0x2b06d6b4 */ 19829 L_2B06D646: 19830 ecx = MEM32(edx + 0x8); /* 0x2B06D646: mov ecx, dword ptr [edx + 8] */ 19831 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2B06D649: mov dl, byte ptr [ecx + 0x14] */ 19832 /* test LO8(edx), LO8(edx) */ /* 0x2B06D64C: test dl, dl */ 19833 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 19834 _cf = 0; 19835 _flag_k = FK_NARROW(FK_TEST, 24); 19836 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06D69B; /* 0x2B06D64E: jne 0x2b06d69b */ 19837 L_2B06D650: 19838 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D650: mov byte ptr [ecx + 0x14], bl */ 19839 ecx = MEM32(eax + 0x4); /* 0x2B06D653: mov ecx, dword ptr [eax + 4] */ 19840 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D656: mov byte ptr [ecx + 0x14], 0 */ 19841 ecx = MEM32(eax + 0x4); /* 0x2B06D65A: mov ecx, dword ptr [eax + 4] */ 19842 edx = MEM32(ecx + 0x8); /* 0x2B06D65D: mov edx, dword ptr [ecx + 8] */ 19843 esi = MEM32(edx); /* 0x2B06D660: mov esi, dword ptr [edx] */ 19844 MEM32(ecx + 0x8) = esi; /* 0x2B06D662: mov dword ptr [ecx + 8], esi */ 19845 esi = MEM32(edx); /* 0x2B06D665: mov esi, dword ptr [edx] */ 19846 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D667: cmp esi, dword ptr [edi + 8] */ 19847 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19848 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19849 _flag_k = FK_CMP; 19850 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D66F; /* 0x2B06D66A: je 0x2b06d66f */ 19851 L_2B06D66C: 19852 MEM32(esi + 0x4) = ecx; /* 0x2B06D66C: mov dword ptr [esi + 4], ecx */ 19853 L_2B06D66F: 19854 esi = MEM32(ecx + 0x4); /* 0x2B06D66F: mov esi, dword ptr [ecx + 4] */ 19855 MEM32(edx + 0x4) = esi; /* 0x2B06D672: mov dword ptr [edx + 4], esi */ 19856 esi = MEM32(edi + 0x4); /* 0x2B06D675: mov esi, dword ptr [edi + 4] */ 19857 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D678: cmp ecx, dword ptr [esi + 4] */ 19858 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 19859 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19860 _flag_k = FK_CMP; 19861 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D682; /* 0x2B06D67B: jne 0x2b06d682 */ 19862 L_2B06D67D: 19863 MEM32(esi + 0x4) = edx; /* 0x2B06D67D: mov dword ptr [esi + 4], edx */ 19864 goto L_2B06D690; /* 0x2B06D680: jmp 0x2b06d690 */ 19865 L_2B06D682: 19866 esi = MEM32(ecx + 0x4); /* 0x2B06D682: mov esi, dword ptr [ecx + 4] */ 19867 /* cmp ecx, MEM32(esi) */ /* 0x2B06D685: cmp ecx, dword ptr [esi] */ 19868 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 19869 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19870 _flag_k = FK_CMP; 19871 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D68D; /* 0x2B06D687: jne 0x2b06d68d */ 19872 L_2B06D689: 19873 MEM32(esi) = edx; /* 0x2B06D689: mov dword ptr [esi], edx */ 19874 goto L_2B06D690; /* 0x2B06D68B: jmp 0x2b06d690 */ 19875 L_2B06D68D: 19876 MEM32(esi + 0x8) = edx; /* 0x2B06D68D: mov dword ptr [esi + 8], edx */ 19877 L_2B06D690: 19878 MEM32(edx) = ecx; /* 0x2B06D690: mov dword ptr [edx], ecx */ 19879 MEM32(ecx + 0x4) = edx; /* 0x2B06D692: mov dword ptr [ecx + 4], edx */ 19880 edx = MEM32(eax + 0x4); /* 0x2B06D695: mov edx, dword ptr [eax + 4] */ 19881 ecx = MEM32(edx + 0x8); /* 0x2B06D698: mov ecx, dword ptr [edx + 8] */ 19882 L_2B06D69B: 19883 edx = MEM32(ecx); /* 0x2B06D69B: mov edx, dword ptr [ecx] */ 19884 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D69D: cmp byte ptr [edx + 0x14], bl */ 19885 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 19886 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19887 _flag_k = FK_NARROW(FK_CMP, 24); 19888 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D736; /* 0x2B06D6A0: jne 0x2b06d736 */ 19889 L_2B06D6A6: 19890 edx = MEM32(ecx + 0x8); /* 0x2B06D6A6: mov edx, dword ptr [ecx + 8] */ 19891 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D6A9: cmp byte ptr [edx + 0x14], bl */ 19892 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 19893 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19894 _flag_k = FK_NARROW(FK_CMP, 24); 19895 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D736; /* 0x2B06D6AC: jne 0x2b06d736 */ 19896 L_2B06D6B2: 19897 goto L_2B06D71E; /* 0x2B06D6B2: jmp 0x2b06d71e */ 19898 L_2B06D6B4: 19899 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2B06D6B4: mov dl, byte ptr [ecx + 0x14] */ 19900 /* test LO8(edx), LO8(edx) */ /* 0x2B06D6B7: test dl, dl */ 19901 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 19902 _cf = 0; 19903 _flag_k = FK_NARROW(FK_TEST, 24); 19904 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06D707; /* 0x2B06D6B9: jne 0x2b06d707 */ 19905 L_2B06D6BB: 19906 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D6BB: mov byte ptr [ecx + 0x14], bl */ 19907 ecx = MEM32(eax + 0x4); /* 0x2B06D6BE: mov ecx, dword ptr [eax + 4] */ 19908 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D6C1: mov byte ptr [ecx + 0x14], 0 */ 19909 ecx = MEM32(eax + 0x4); /* 0x2B06D6C5: mov ecx, dword ptr [eax + 4] */ 19910 edx = MEM32(ecx); /* 0x2B06D6C8: mov edx, dword ptr [ecx] */ 19911 esi = MEM32(edx + 0x8); /* 0x2B06D6CA: mov esi, dword ptr [edx + 8] */ 19912 MEM32(ecx) = esi; /* 0x2B06D6CD: mov dword ptr [ecx], esi */ 19913 esi = MEM32(edx + 0x8); /* 0x2B06D6CF: mov esi, dword ptr [edx + 8] */ 19914 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D6D2: cmp esi, dword ptr [edi + 8] */ 19915 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19916 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19917 _flag_k = FK_CMP; 19918 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D6DA; /* 0x2B06D6D5: je 0x2b06d6da */ 19919 L_2B06D6D7: 19920 MEM32(esi + 0x4) = ecx; /* 0x2B06D6D7: mov dword ptr [esi + 4], ecx */ 19921 L_2B06D6DA: 19922 esi = MEM32(ecx + 0x4); /* 0x2B06D6DA: mov esi, dword ptr [ecx + 4] */ 19923 MEM32(edx + 0x4) = esi; /* 0x2B06D6DD: mov dword ptr [edx + 4], esi */ 19924 esi = MEM32(edi + 0x4); /* 0x2B06D6E0: mov esi, dword ptr [edi + 4] */ 19925 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D6E3: cmp ecx, dword ptr [esi + 4] */ 19926 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 19927 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19928 _flag_k = FK_CMP; 19929 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6ED; /* 0x2B06D6E6: jne 0x2b06d6ed */ 19930 L_2B06D6E8: 19931 MEM32(esi + 0x4) = edx; /* 0x2B06D6E8: mov dword ptr [esi + 4], edx */ 19932 goto L_2B06D6FC; /* 0x2B06D6EB: jmp 0x2b06d6fc */ 19933 L_2B06D6ED: 19934 esi = MEM32(ecx + 0x4); /* 0x2B06D6ED: mov esi, dword ptr [ecx + 4] */ 19935 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D6F0: cmp ecx, dword ptr [esi + 8] */ 19936 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19937 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19938 _flag_k = FK_CMP; 19939 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6FA; /* 0x2B06D6F3: jne 0x2b06d6fa */ 19940 L_2B06D6F5: 19941 MEM32(esi + 0x8) = edx; /* 0x2B06D6F5: mov dword ptr [esi + 8], edx */ 19942 goto L_2B06D6FC; /* 0x2B06D6F8: jmp 0x2b06d6fc */ 19943 L_2B06D6FA: 19944 MEM32(esi) = edx; /* 0x2B06D6FA: mov dword ptr [esi], edx */ 19945 L_2B06D6FC: 19946 MEM32(edx + 0x8) = ecx; /* 0x2B06D6FC: mov dword ptr [edx + 8], ecx */ 19947 MEM32(ecx + 0x4) = edx; /* 0x2B06D6FF: mov dword ptr [ecx + 4], edx */ 19948 edx = MEM32(eax + 0x4); /* 0x2B06D702: mov edx, dword ptr [eax + 4] */ 19949 ecx = MEM32(edx); /* 0x2B06D705: mov ecx, dword ptr [edx] */ 19950 L_2B06D707: 19951 edx = MEM32(ecx + 0x8); /* 0x2B06D707: mov edx, dword ptr [ecx + 8] */ 19952 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D70A: cmp byte ptr [edx + 0x14], bl */ 19953 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 19954 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19955 _flag_k = FK_NARROW(FK_CMP, 24); 19956 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7E3; /* 0x2B06D70D: jne 0x2b06d7e3 */ 19957 L_2B06D713: 19958 edx = MEM32(ecx); /* 0x2B06D713: mov edx, dword ptr [ecx] */ 19959 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D715: cmp byte ptr [edx + 0x14], bl */ 19960 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 19961 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19962 _flag_k = FK_NARROW(FK_CMP, 24); 19963 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7E3; /* 0x2B06D718: jne 0x2b06d7e3 */ 19964 L_2B06D71E: 19965 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D71E: mov byte ptr [ecx + 0x14], 0 */ 19966 ecx = MEM32(edi + 0x4); /* 0x2B06D722: mov ecx, dword ptr [edi + 4] */ 19967 eax = MEM32(eax + 0x4); /* 0x2B06D725: mov eax, dword ptr [eax + 4] */ 19968 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B06D728: cmp eax, dword ptr [ecx + 4] */ 19969 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 19970 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19971 _flag_k = FK_CMP; 19972 RECOMP_BACKEDGE(); 19973 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D634; /* 0x2B06D72B: jne 0x2b06d634 */ 19974 L_2B06D731: 19975 goto L_2B06D882; /* 0x2B06D731: jmp 0x2b06d882 */ 19976 L_2B06D736: 19977 edx = MEM32(ecx + 0x8); /* 0x2B06D736: mov edx, dword ptr [ecx + 8] */ 19978 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D739: cmp byte ptr [edx + 0x14], bl */ 19979 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 19980 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19981 _flag_k = FK_NARROW(FK_CMP, 24); 19982 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D787; /* 0x2B06D73C: jne 0x2b06d787 */ 19983 L_2B06D73E: 19984 edx = MEM32(ecx); /* 0x2B06D73E: mov edx, dword ptr [ecx] */ 19985 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D740: mov byte ptr [edx + 0x14], bl */ 19986 edx = MEM32(ecx); /* 0x2B06D743: mov edx, dword ptr [ecx] */ 19987 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D745: mov byte ptr [ecx + 0x14], 0 */ 19988 esi = MEM32(edx + 0x8); /* 0x2B06D749: mov esi, dword ptr [edx + 8] */ 19989 MEM32(ecx) = esi; /* 0x2B06D74C: mov dword ptr [ecx], esi */ 19990 esi = MEM32(edx + 0x8); /* 0x2B06D74E: mov esi, dword ptr [edx + 8] */ 19991 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D751: cmp esi, dword ptr [edi + 8] */ 19992 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19993 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19994 _flag_k = FK_CMP; 19995 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D759; /* 0x2B06D754: je 0x2b06d759 */ 19996 L_2B06D756: 19997 MEM32(esi + 0x4) = ecx; /* 0x2B06D756: mov dword ptr [esi + 4], ecx */ 19998 L_2B06D759: 19999 esi = MEM32(ecx + 0x4); /* 0x2B06D759: mov esi, dword ptr [ecx + 4] */ 20000 MEM32(edx + 0x4) = esi; /* 0x2B06D75C: mov dword ptr [edx + 4], esi */ 20001 esi = MEM32(edi + 0x4); /* 0x2B06D75F: mov esi, dword ptr [edi + 4] */ 20002 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D762: cmp ecx, dword ptr [esi + 4] */ 20003 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 20004 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20005 _flag_k = FK_CMP; 20006 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D76C; /* 0x2B06D765: jne 0x2b06d76c */ 20007 L_2B06D767: 20008 MEM32(esi + 0x4) = edx; /* 0x2B06D767: mov dword ptr [esi + 4], edx */ 20009 goto L_2B06D77B; /* 0x2B06D76A: jmp 0x2b06d77b */ 20010 L_2B06D76C: 20011 esi = MEM32(ecx + 0x4); /* 0x2B06D76C: mov esi, dword ptr [ecx + 4] */ 20012 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D76F: cmp ecx, dword ptr [esi + 8] */ 20013 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20014 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20015 _flag_k = FK_CMP; 20016 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D779; /* 0x2B06D772: jne 0x2b06d779 */ 20017 L_2B06D774: 20018 MEM32(esi + 0x8) = edx; /* 0x2B06D774: mov dword ptr [esi + 8], edx */ 20019 goto L_2B06D77B; /* 0x2B06D777: jmp 0x2b06d77b */ 20020 L_2B06D779: 20021 MEM32(esi) = edx; /* 0x2B06D779: mov dword ptr [esi], edx */ 20022 L_2B06D77B: 20023 MEM32(edx + 0x8) = ecx; /* 0x2B06D77B: mov dword ptr [edx + 8], ecx */ 20024 MEM32(ecx + 0x4) = edx; /* 0x2B06D77E: mov dword ptr [ecx + 4], edx */ 20025 ecx = MEM32(eax + 0x4); /* 0x2B06D781: mov ecx, dword ptr [eax + 4] */ 20026 ecx = MEM32(ecx + 0x8); /* 0x2B06D784: mov ecx, dword ptr [ecx + 8] */ 20027 L_2B06D787: 20028 edx = MEM32(eax + 0x4); /* 0x2B06D787: mov edx, dword ptr [eax + 4] */ 20029 SET_LO8(edx, MEM8(edx + 0x14)); /* 0x2B06D78A: mov dl, byte ptr [edx + 0x14] */ 20030 MEM8(ecx + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B06D78D: mov byte ptr [ecx + 0x14], dl */ 20031 edx = MEM32(eax + 0x4); /* 0x2B06D790: mov edx, dword ptr [eax + 4] */ 20032 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D793: mov byte ptr [edx + 0x14], bl */ 20033 ecx = MEM32(ecx + 0x8); /* 0x2B06D796: mov ecx, dword ptr [ecx + 8] */ 20034 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D799: mov byte ptr [ecx + 0x14], bl */ 20035 ecx = MEM32(eax + 0x4); /* 0x2B06D79C: mov ecx, dword ptr [eax + 4] */ 20036 edx = MEM32(ecx + 0x8); /* 0x2B06D79F: mov edx, dword ptr [ecx + 8] */ 20037 esi = MEM32(edx); /* 0x2B06D7A2: mov esi, dword ptr [edx] */ 20038 MEM32(ecx + 0x8) = esi; /* 0x2B06D7A4: mov dword ptr [ecx + 8], esi */ 20039 esi = MEM32(edx); /* 0x2B06D7A7: mov esi, dword ptr [edx] */ 20040 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D7A9: cmp esi, dword ptr [edi + 8] */ 20041 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20042 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20043 _flag_k = FK_CMP; 20044 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D7B1; /* 0x2B06D7AC: je 0x2b06d7b1 */ 20045 L_2B06D7AE: 20046 MEM32(esi + 0x4) = ecx; /* 0x2B06D7AE: mov dword ptr [esi + 4], ecx */ 20047 L_2B06D7B1: 20048 esi = MEM32(ecx + 0x4); /* 0x2B06D7B1: mov esi, dword ptr [ecx + 4] */ 20049 MEM32(edx + 0x4) = esi; /* 0x2B06D7B4: mov dword ptr [edx + 4], esi */ 20050 esi = MEM32(edi + 0x4); /* 0x2B06D7B7: mov esi, dword ptr [edi + 4] */ 20051 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D7BA: cmp ecx, dword ptr [esi + 4] */ 20052 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 20053 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20054 _flag_k = FK_CMP; 20055 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7C9; /* 0x2B06D7BD: jne 0x2b06d7c9 */ 20056 L_2B06D7BF: 20057 MEM32(esi + 0x4) = edx; /* 0x2B06D7BF: mov dword ptr [esi + 4], edx */ 20058 MEM32(edx) = ecx; /* 0x2B06D7C2: mov dword ptr [edx], ecx */ 20059 goto L_2B06D87F; /* 0x2B06D7C4: jmp 0x2b06d87f */ 20060 L_2B06D7C9: 20061 esi = MEM32(ecx + 0x4); /* 0x2B06D7C9: mov esi, dword ptr [ecx + 4] */ 20062 /* cmp ecx, MEM32(esi) */ /* 0x2B06D7CC: cmp ecx, dword ptr [esi] */ 20063 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 20064 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20065 _flag_k = FK_CMP; 20066 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7D9; /* 0x2B06D7CE: jne 0x2b06d7d9 */ 20067 L_2B06D7D0: 20068 MEM32(esi) = edx; /* 0x2B06D7D0: mov dword ptr [esi], edx */ 20069 MEM32(edx) = ecx; /* 0x2B06D7D2: mov dword ptr [edx], ecx */ 20070 goto L_2B06D87F; /* 0x2B06D7D4: jmp 0x2b06d87f */ 20071 L_2B06D7D9: 20072 MEM32(esi + 0x8) = edx; /* 0x2B06D7D9: mov dword ptr [esi + 8], edx */ 20073 MEM32(edx) = ecx; /* 0x2B06D7DC: mov dword ptr [edx], ecx */ 20074 goto L_2B06D87F; /* 0x2B06D7DE: jmp 0x2b06d87f */ 20075 L_2B06D7E3: 20076 edx = MEM32(ecx); /* 0x2B06D7E3: mov edx, dword ptr [ecx] */ 20077 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D7E5: cmp byte ptr [edx + 0x14], bl */ 20078 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20079 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20080 _flag_k = FK_NARROW(FK_CMP, 24); 20081 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D831; /* 0x2B06D7E8: jne 0x2b06d831 */ 20082 L_2B06D7EA: 20083 edx = MEM32(ecx + 0x8); /* 0x2B06D7EA: mov edx, dword ptr [ecx + 8] */ 20084 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D7ED: mov byte ptr [edx + 0x14], bl */ 20085 edx = MEM32(ecx + 0x8); /* 0x2B06D7F0: mov edx, dword ptr [ecx + 8] */ 20086 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D7F3: mov byte ptr [ecx + 0x14], 0 */ 20087 esi = MEM32(edx); /* 0x2B06D7F7: mov esi, dword ptr [edx] */ 20088 MEM32(ecx + 0x8) = esi; /* 0x2B06D7F9: mov dword ptr [ecx + 8], esi */ 20089 esi = MEM32(edx); /* 0x2B06D7FC: mov esi, dword ptr [edx] */ 20090 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D7FE: cmp esi, dword ptr [edi + 8] */ 20091 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20092 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20093 _flag_k = FK_CMP; 20094 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D806; /* 0x2B06D801: je 0x2b06d806 */ 20095 L_2B06D803: 20096 MEM32(esi + 0x4) = ecx; /* 0x2B06D803: mov dword ptr [esi + 4], ecx */ 20097 L_2B06D806: 20098 esi = MEM32(ecx + 0x4); /* 0x2B06D806: mov esi, dword ptr [ecx + 4] */ 20099 MEM32(edx + 0x4) = esi; /* 0x2B06D809: mov dword ptr [edx + 4], esi */ 20100 esi = MEM32(edi + 0x4); /* 0x2B06D80C: mov esi, dword ptr [edi + 4] */ 20101 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D80F: cmp ecx, dword ptr [esi + 4] */ 20102 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 20103 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20104 _flag_k = FK_CMP; 20105 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D819; /* 0x2B06D812: jne 0x2b06d819 */ 20106 L_2B06D814: 20107 MEM32(esi + 0x4) = edx; /* 0x2B06D814: mov dword ptr [esi + 4], edx */ 20108 goto L_2B06D827; /* 0x2B06D817: jmp 0x2b06d827 */ 20109 L_2B06D819: 20110 esi = MEM32(ecx + 0x4); /* 0x2B06D819: mov esi, dword ptr [ecx + 4] */ 20111 /* cmp ecx, MEM32(esi) */ /* 0x2B06D81C: cmp ecx, dword ptr [esi] */ 20112 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 20113 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20114 _flag_k = FK_CMP; 20115 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D824; /* 0x2B06D81E: jne 0x2b06d824 */ 20116 L_2B06D820: 20117 MEM32(esi) = edx; /* 0x2B06D820: mov dword ptr [esi], edx */ 20118 goto L_2B06D827; /* 0x2B06D822: jmp 0x2b06d827 */ 20119 L_2B06D824: 20120 MEM32(esi + 0x8) = edx; /* 0x2B06D824: mov dword ptr [esi + 8], edx */ 20121 L_2B06D827: 20122 MEM32(edx) = ecx; /* 0x2B06D827: mov dword ptr [edx], ecx */ 20123 MEM32(ecx + 0x4) = edx; /* 0x2B06D829: mov dword ptr [ecx + 4], edx */ 20124 ecx = MEM32(eax + 0x4); /* 0x2B06D82C: mov ecx, dword ptr [eax + 4] */ 20125 ecx = MEM32(ecx); /* 0x2B06D82F: mov ecx, dword ptr [ecx] */ 20126 L_2B06D831: 20127 edx = MEM32(eax + 0x4); /* 0x2B06D831: mov edx, dword ptr [eax + 4] */ 20128 SET_LO8(edx, MEM8(edx + 0x14)); /* 0x2B06D834: mov dl, byte ptr [edx + 0x14] */ 20129 MEM8(ecx + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B06D837: mov byte ptr [ecx + 0x14], dl */ 20130 edx = MEM32(eax + 0x4); /* 0x2B06D83A: mov edx, dword ptr [eax + 4] */ 20131 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D83D: mov byte ptr [edx + 0x14], bl */ 20132 ecx = MEM32(ecx); /* 0x2B06D840: mov ecx, dword ptr [ecx] */ 20133 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D842: mov byte ptr [ecx + 0x14], bl */ 20134 ecx = MEM32(eax + 0x4); /* 0x2B06D845: mov ecx, dword ptr [eax + 4] */ 20135 edx = MEM32(ecx); /* 0x2B06D848: mov edx, dword ptr [ecx] */ 20136 esi = MEM32(edx + 0x8); /* 0x2B06D84A: mov esi, dword ptr [edx + 8] */ 20137 MEM32(ecx) = esi; /* 0x2B06D84D: mov dword ptr [ecx], esi */ 20138 esi = MEM32(edx + 0x8); /* 0x2B06D84F: mov esi, dword ptr [edx + 8] */ 20139 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D852: cmp esi, dword ptr [edi + 8] */ 20140 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20141 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20142 _flag_k = FK_CMP; 20143 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D85A; /* 0x2B06D855: je 0x2b06d85a */ 20144 L_2B06D857: 20145 MEM32(esi + 0x4) = ecx; /* 0x2B06D857: mov dword ptr [esi + 4], ecx */ 20146 L_2B06D85A: 20147 esi = MEM32(ecx + 0x4); /* 0x2B06D85A: mov esi, dword ptr [ecx + 4] */ 20148 MEM32(edx + 0x4) = esi; /* 0x2B06D85D: mov dword ptr [edx + 4], esi */ 20149 esi = MEM32(edi + 0x4); /* 0x2B06D860: mov esi, dword ptr [edi + 4] */ 20150 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D863: cmp ecx, dword ptr [esi + 4] */ 20151 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 20152 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20153 _flag_k = FK_CMP; 20154 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D86D; /* 0x2B06D866: jne 0x2b06d86d */ 20155 L_2B06D868: 20156 MEM32(esi + 0x4) = edx; /* 0x2B06D868: mov dword ptr [esi + 4], edx */ 20157 goto L_2B06D87C; /* 0x2B06D86B: jmp 0x2b06d87c */ 20158 L_2B06D86D: 20159 esi = MEM32(ecx + 0x4); /* 0x2B06D86D: mov esi, dword ptr [ecx + 4] */ 20160 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D870: cmp ecx, dword ptr [esi + 8] */ 20161 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20162 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20163 _flag_k = FK_CMP; 20164 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D87A; /* 0x2B06D873: jne 0x2b06d87a */ 20165 L_2B06D875: 20166 MEM32(esi + 0x8) = edx; /* 0x2B06D875: mov dword ptr [esi + 8], edx */ 20167 goto L_2B06D87C; /* 0x2B06D878: jmp 0x2b06d87c */ 20168 L_2B06D87A: 20169 MEM32(esi) = edx; /* 0x2B06D87A: mov dword ptr [esi], edx */ 20170 L_2B06D87C: 20171 MEM32(edx + 0x8) = ecx; /* 0x2B06D87C: mov dword ptr [edx + 8], ecx */ 20172 L_2B06D87F: 20173 MEM32(ecx + 0x4) = edx; /* 0x2B06D87F: mov dword ptr [ecx + 4], edx */ 20174 L_2B06D882: 20175 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D882: mov byte ptr [eax + 0x14], bl */ 20176 L_2B06D885: 20177 edx = MEM32(ebp + (-0x4)); /* 0x2B06D885: mov edx, dword ptr [ebp - 4] */ 20178 PUSH32(esp, edx); /* 0x2B06D888: push edx */ 20179 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06D889: call 0x2b0ab1ba */ /* not lifted */ 20180 RECOMP_FLAGS_IN(); 20181 eax = MEM32(edi + 0x10); /* 0x2B06D88E: mov eax, dword ptr [edi + 0x10] */ 20182 ecx = MEM32(ebp + 0xC); /* 0x2B06D891: mov ecx, dword ptr [ebp + 0xc] */ 20183 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 20184 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20185 esp = esp + 4; /* 0x2B06D894: add esp, 4 */ 20186 _flag_k = FK_ADD; 20187 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 20188 eax = eax - 1; /* 0x2B06D897: dec eax */ 20189 _flag_k = FK_DEC; 20190 MEM32(edi + 0x10) = eax; /* 0x2B06D898: mov dword ptr [edi + 0x10], eax */ 20191 eax = MEM32(ebp + 0x8); /* 0x2B06D89B: mov eax, dword ptr [ebp + 8] */ 20192 edi = POP32_VAL(esp); /* 0x2B06D89E: pop edi */ 20193 esi = POP32_VAL(esp); /* 0x2B06D89F: pop esi */ 20194 MEM32(eax) = ecx; /* 0x2B06D8A0: mov dword ptr [eax], ecx */ 20195 ebx = POP32_VAL(esp); /* 0x2B06D8A2: pop ebx */ 20196 esp = ebp; /* 0x2B06D8A3: mov esp, ebp */ 20197 ebp = POP32_VAL(esp); /* 0x2B06D8A5: pop ebp */ 20198 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B06D8A6: ret 8 */ 20199 RECOMP_REGS_OUT(); 20200 } 20201 20202 void sub_2B06D615(void) { 20203 int _fpu_cmp = 0; 20204 uint32_t _cf = 0; 20205 int _df = 1; 20206 uint32_t _flag_k = FK_NONE; 20207 uint32_t _flag_a = 0, _flag_b = 0; 20208 uint32_t _itail_tgt = 0; 20209 RECOMP_REGS_LOCALS 20210 RECOMP_ENTER(0x2B06D615u); 20211 20212 L_2B06D615: 20213 MEM32(ebx + 0x8) = edx; /* 0x2B06D615: mov dword ptr [ebx + 8], edx */ 20214 ecx = MEM32(ebp + (-0x4)); /* 0x2B06D618: mov ecx, dword ptr [ebp - 4] */ 20215 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2B06D61B: mov dl, byte ptr [ecx + 0x14] */ 20216 SET_LO8(ebx, 1); /* 0x2B06D61E: mov bl, 1 */ 20217 /* cmp LO8(edx), LO8(ebx) */ /* 0x2B06D620: cmp dl, bl */ 20218 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20219 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20220 _flag_k = FK_NARROW(FK_CMP, 24); 20221 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D885; /* 0x2B06D622: jne 0x2b06d885 */ 20222 L_2B06D628: 20223 edx = MEM32(edi + 0x4); /* 0x2B06D628: mov edx, dword ptr [edi + 4] */ 20224 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B06D62B: cmp eax, dword ptr [edx + 4] */ 20225 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20226 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20227 _flag_k = FK_CMP; 20228 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D882; /* 0x2B06D62E: je 0x2b06d882 */ 20229 L_2B06D634: 20230 /* cmp MEM8(eax + 0x14), LO8(ebx) */ /* 0x2B06D634: cmp byte ptr [eax + 0x14], bl */ 20231 _flag_a = (uint32_t)(MEM8(eax + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20232 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20233 _flag_k = FK_NARROW(FK_CMP, 24); 20234 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D882; /* 0x2B06D637: jne 0x2b06d882 */ 20235 L_2B06D63D: 20236 edx = MEM32(eax + 0x4); /* 0x2B06D63D: mov edx, dword ptr [eax + 4] */ 20237 ecx = MEM32(edx); /* 0x2B06D640: mov ecx, dword ptr [edx] */ 20238 /* cmp eax, ecx */ /* 0x2B06D642: cmp eax, ecx */ 20239 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 20240 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20241 _flag_k = FK_CMP; 20242 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6B4; /* 0x2B06D644: jne 0x2b06d6b4 */ 20243 L_2B06D646: 20244 ecx = MEM32(edx + 0x8); /* 0x2B06D646: mov ecx, dword ptr [edx + 8] */ 20245 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2B06D649: mov dl, byte ptr [ecx + 0x14] */ 20246 /* test LO8(edx), LO8(edx) */ /* 0x2B06D64C: test dl, dl */ 20247 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 20248 _cf = 0; 20249 _flag_k = FK_NARROW(FK_TEST, 24); 20250 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06D69B; /* 0x2B06D64E: jne 0x2b06d69b */ 20251 L_2B06D650: 20252 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D650: mov byte ptr [ecx + 0x14], bl */ 20253 ecx = MEM32(eax + 0x4); /* 0x2B06D653: mov ecx, dword ptr [eax + 4] */ 20254 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D656: mov byte ptr [ecx + 0x14], 0 */ 20255 ecx = MEM32(eax + 0x4); /* 0x2B06D65A: mov ecx, dword ptr [eax + 4] */ 20256 edx = MEM32(ecx + 0x8); /* 0x2B06D65D: mov edx, dword ptr [ecx + 8] */ 20257 esi = MEM32(edx); /* 0x2B06D660: mov esi, dword ptr [edx] */ 20258 MEM32(ecx + 0x8) = esi; /* 0x2B06D662: mov dword ptr [ecx + 8], esi */ 20259 esi = MEM32(edx); /* 0x2B06D665: mov esi, dword ptr [edx] */ 20260 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D667: cmp esi, dword ptr [edi + 8] */ 20261 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20262 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20263 _flag_k = FK_CMP; 20264 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D66F; /* 0x2B06D66A: je 0x2b06d66f */ 20265 L_2B06D66C: 20266 MEM32(esi + 0x4) = ecx; /* 0x2B06D66C: mov dword ptr [esi + 4], ecx */ 20267 L_2B06D66F: 20268 esi = MEM32(ecx + 0x4); /* 0x2B06D66F: mov esi, dword ptr [ecx + 4] */ 20269 MEM32(edx + 0x4) = esi; /* 0x2B06D672: mov dword ptr [edx + 4], esi */ 20270 esi = MEM32(edi + 0x4); /* 0x2B06D675: mov esi, dword ptr [edi + 4] */ 20271 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D678: cmp ecx, dword ptr [esi + 4] */ 20272 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 20273 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20274 _flag_k = FK_CMP; 20275 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D682; /* 0x2B06D67B: jne 0x2b06d682 */ 20276 L_2B06D67D: 20277 MEM32(esi + 0x4) = edx; /* 0x2B06D67D: mov dword ptr [esi + 4], edx */ 20278 goto L_2B06D690; /* 0x2B06D680: jmp 0x2b06d690 */ 20279 L_2B06D682: 20280 esi = MEM32(ecx + 0x4); /* 0x2B06D682: mov esi, dword ptr [ecx + 4] */ 20281 /* cmp ecx, MEM32(esi) */ /* 0x2B06D685: cmp ecx, dword ptr [esi] */ 20282 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 20283 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20284 _flag_k = FK_CMP; 20285 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D68D; /* 0x2B06D687: jne 0x2b06d68d */ 20286 L_2B06D689: 20287 MEM32(esi) = edx; /* 0x2B06D689: mov dword ptr [esi], edx */ 20288 goto L_2B06D690; /* 0x2B06D68B: jmp 0x2b06d690 */ 20289 L_2B06D68D: 20290 MEM32(esi + 0x8) = edx; /* 0x2B06D68D: mov dword ptr [esi + 8], edx */ 20291 L_2B06D690: 20292 MEM32(edx) = ecx; /* 0x2B06D690: mov dword ptr [edx], ecx */ 20293 MEM32(ecx + 0x4) = edx; /* 0x2B06D692: mov dword ptr [ecx + 4], edx */ 20294 edx = MEM32(eax + 0x4); /* 0x2B06D695: mov edx, dword ptr [eax + 4] */ 20295 ecx = MEM32(edx + 0x8); /* 0x2B06D698: mov ecx, dword ptr [edx + 8] */ 20296 L_2B06D69B: 20297 edx = MEM32(ecx); /* 0x2B06D69B: mov edx, dword ptr [ecx] */ 20298 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D69D: cmp byte ptr [edx + 0x14], bl */ 20299 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20300 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20301 _flag_k = FK_NARROW(FK_CMP, 24); 20302 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D736; /* 0x2B06D6A0: jne 0x2b06d736 */ 20303 L_2B06D6A6: 20304 edx = MEM32(ecx + 0x8); /* 0x2B06D6A6: mov edx, dword ptr [ecx + 8] */ 20305 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D6A9: cmp byte ptr [edx + 0x14], bl */ 20306 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20307 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20308 _flag_k = FK_NARROW(FK_CMP, 24); 20309 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D736; /* 0x2B06D6AC: jne 0x2b06d736 */ 20310 L_2B06D6B2: 20311 goto L_2B06D71E; /* 0x2B06D6B2: jmp 0x2b06d71e */ 20312 L_2B06D6B4: 20313 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2B06D6B4: mov dl, byte ptr [ecx + 0x14] */ 20314 /* test LO8(edx), LO8(edx) */ /* 0x2B06D6B7: test dl, dl */ 20315 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 20316 _cf = 0; 20317 _flag_k = FK_NARROW(FK_TEST, 24); 20318 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06D707; /* 0x2B06D6B9: jne 0x2b06d707 */ 20319 L_2B06D6BB: 20320 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D6BB: mov byte ptr [ecx + 0x14], bl */ 20321 ecx = MEM32(eax + 0x4); /* 0x2B06D6BE: mov ecx, dword ptr [eax + 4] */ 20322 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D6C1: mov byte ptr [ecx + 0x14], 0 */ 20323 ecx = MEM32(eax + 0x4); /* 0x2B06D6C5: mov ecx, dword ptr [eax + 4] */ 20324 edx = MEM32(ecx); /* 0x2B06D6C8: mov edx, dword ptr [ecx] */ 20325 esi = MEM32(edx + 0x8); /* 0x2B06D6CA: mov esi, dword ptr [edx + 8] */ 20326 MEM32(ecx) = esi; /* 0x2B06D6CD: mov dword ptr [ecx], esi */ 20327 esi = MEM32(edx + 0x8); /* 0x2B06D6CF: mov esi, dword ptr [edx + 8] */ 20328 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D6D2: cmp esi, dword ptr [edi + 8] */ 20329 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20330 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20331 _flag_k = FK_CMP; 20332 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D6DA; /* 0x2B06D6D5: je 0x2b06d6da */ 20333 L_2B06D6D7: 20334 MEM32(esi + 0x4) = ecx; /* 0x2B06D6D7: mov dword ptr [esi + 4], ecx */ 20335 L_2B06D6DA: 20336 esi = MEM32(ecx + 0x4); /* 0x2B06D6DA: mov esi, dword ptr [ecx + 4] */ 20337 MEM32(edx + 0x4) = esi; /* 0x2B06D6DD: mov dword ptr [edx + 4], esi */ 20338 esi = MEM32(edi + 0x4); /* 0x2B06D6E0: mov esi, dword ptr [edi + 4] */ 20339 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D6E3: cmp ecx, dword ptr [esi + 4] */ 20340 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 20341 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20342 _flag_k = FK_CMP; 20343 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6ED; /* 0x2B06D6E6: jne 0x2b06d6ed */ 20344 L_2B06D6E8: 20345 MEM32(esi + 0x4) = edx; /* 0x2B06D6E8: mov dword ptr [esi + 4], edx */ 20346 goto L_2B06D6FC; /* 0x2B06D6EB: jmp 0x2b06d6fc */ 20347 L_2B06D6ED: 20348 esi = MEM32(ecx + 0x4); /* 0x2B06D6ED: mov esi, dword ptr [ecx + 4] */ 20349 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D6F0: cmp ecx, dword ptr [esi + 8] */ 20350 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20351 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20352 _flag_k = FK_CMP; 20353 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6FA; /* 0x2B06D6F3: jne 0x2b06d6fa */ 20354 L_2B06D6F5: 20355 MEM32(esi + 0x8) = edx; /* 0x2B06D6F5: mov dword ptr [esi + 8], edx */ 20356 goto L_2B06D6FC; /* 0x2B06D6F8: jmp 0x2b06d6fc */ 20357 L_2B06D6FA: 20358 MEM32(esi) = edx; /* 0x2B06D6FA: mov dword ptr [esi], edx */ 20359 L_2B06D6FC: 20360 MEM32(edx + 0x8) = ecx; /* 0x2B06D6FC: mov dword ptr [edx + 8], ecx */ 20361 MEM32(ecx + 0x4) = edx; /* 0x2B06D6FF: mov dword ptr [ecx + 4], edx */ 20362 edx = MEM32(eax + 0x4); /* 0x2B06D702: mov edx, dword ptr [eax + 4] */ 20363 ecx = MEM32(edx); /* 0x2B06D705: mov ecx, dword ptr [edx] */ 20364 L_2B06D707: 20365 edx = MEM32(ecx + 0x8); /* 0x2B06D707: mov edx, dword ptr [ecx + 8] */ 20366 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D70A: cmp byte ptr [edx + 0x14], bl */ 20367 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20368 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20369 _flag_k = FK_NARROW(FK_CMP, 24); 20370 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7E3; /* 0x2B06D70D: jne 0x2b06d7e3 */ 20371 L_2B06D713: 20372 edx = MEM32(ecx); /* 0x2B06D713: mov edx, dword ptr [ecx] */ 20373 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D715: cmp byte ptr [edx + 0x14], bl */ 20374 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20375 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20376 _flag_k = FK_NARROW(FK_CMP, 24); 20377 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7E3; /* 0x2B06D718: jne 0x2b06d7e3 */ 20378 L_2B06D71E: 20379 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D71E: mov byte ptr [ecx + 0x14], 0 */ 20380 ecx = MEM32(edi + 0x4); /* 0x2B06D722: mov ecx, dword ptr [edi + 4] */ 20381 eax = MEM32(eax + 0x4); /* 0x2B06D725: mov eax, dword ptr [eax + 4] */ 20382 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B06D728: cmp eax, dword ptr [ecx + 4] */ 20383 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 20384 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20385 _flag_k = FK_CMP; 20386 RECOMP_BACKEDGE(); 20387 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D634; /* 0x2B06D72B: jne 0x2b06d634 */ 20388 L_2B06D731: 20389 goto L_2B06D882; /* 0x2B06D731: jmp 0x2b06d882 */ 20390 L_2B06D736: 20391 edx = MEM32(ecx + 0x8); /* 0x2B06D736: mov edx, dword ptr [ecx + 8] */ 20392 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D739: cmp byte ptr [edx + 0x14], bl */ 20393 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20394 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20395 _flag_k = FK_NARROW(FK_CMP, 24); 20396 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D787; /* 0x2B06D73C: jne 0x2b06d787 */ 20397 L_2B06D73E: 20398 edx = MEM32(ecx); /* 0x2B06D73E: mov edx, dword ptr [ecx] */ 20399 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D740: mov byte ptr [edx + 0x14], bl */ 20400 edx = MEM32(ecx); /* 0x2B06D743: mov edx, dword ptr [ecx] */ 20401 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D745: mov byte ptr [ecx + 0x14], 0 */ 20402 esi = MEM32(edx + 0x8); /* 0x2B06D749: mov esi, dword ptr [edx + 8] */ 20403 MEM32(ecx) = esi; /* 0x2B06D74C: mov dword ptr [ecx], esi */ 20404 esi = MEM32(edx + 0x8); /* 0x2B06D74E: mov esi, dword ptr [edx + 8] */ 20405 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D751: cmp esi, dword ptr [edi + 8] */ 20406 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20407 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20408 _flag_k = FK_CMP; 20409 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D759; /* 0x2B06D754: je 0x2b06d759 */ 20410 L_2B06D756: 20411 MEM32(esi + 0x4) = ecx; /* 0x2B06D756: mov dword ptr [esi + 4], ecx */ 20412 L_2B06D759: 20413 esi = MEM32(ecx + 0x4); /* 0x2B06D759: mov esi, dword ptr [ecx + 4] */ 20414 MEM32(edx + 0x4) = esi; /* 0x2B06D75C: mov dword ptr [edx + 4], esi */ 20415 esi = MEM32(edi + 0x4); /* 0x2B06D75F: mov esi, dword ptr [edi + 4] */ 20416 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D762: cmp ecx, dword ptr [esi + 4] */ 20417 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 20418 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20419 _flag_k = FK_CMP; 20420 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D76C; /* 0x2B06D765: jne 0x2b06d76c */ 20421 L_2B06D767: 20422 MEM32(esi + 0x4) = edx; /* 0x2B06D767: mov dword ptr [esi + 4], edx */ 20423 goto L_2B06D77B; /* 0x2B06D76A: jmp 0x2b06d77b */ 20424 L_2B06D76C: 20425 esi = MEM32(ecx + 0x4); /* 0x2B06D76C: mov esi, dword ptr [ecx + 4] */ 20426 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D76F: cmp ecx, dword ptr [esi + 8] */ 20427 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20428 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20429 _flag_k = FK_CMP; 20430 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D779; /* 0x2B06D772: jne 0x2b06d779 */ 20431 L_2B06D774: 20432 MEM32(esi + 0x8) = edx; /* 0x2B06D774: mov dword ptr [esi + 8], edx */ 20433 goto L_2B06D77B; /* 0x2B06D777: jmp 0x2b06d77b */ 20434 L_2B06D779: 20435 MEM32(esi) = edx; /* 0x2B06D779: mov dword ptr [esi], edx */ 20436 L_2B06D77B: 20437 MEM32(edx + 0x8) = ecx; /* 0x2B06D77B: mov dword ptr [edx + 8], ecx */ 20438 MEM32(ecx + 0x4) = edx; /* 0x2B06D77E: mov dword ptr [ecx + 4], edx */ 20439 ecx = MEM32(eax + 0x4); /* 0x2B06D781: mov ecx, dword ptr [eax + 4] */ 20440 ecx = MEM32(ecx + 0x8); /* 0x2B06D784: mov ecx, dword ptr [ecx + 8] */ 20441 L_2B06D787: 20442 edx = MEM32(eax + 0x4); /* 0x2B06D787: mov edx, dword ptr [eax + 4] */ 20443 SET_LO8(edx, MEM8(edx + 0x14)); /* 0x2B06D78A: mov dl, byte ptr [edx + 0x14] */ 20444 MEM8(ecx + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B06D78D: mov byte ptr [ecx + 0x14], dl */ 20445 edx = MEM32(eax + 0x4); /* 0x2B06D790: mov edx, dword ptr [eax + 4] */ 20446 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D793: mov byte ptr [edx + 0x14], bl */ 20447 ecx = MEM32(ecx + 0x8); /* 0x2B06D796: mov ecx, dword ptr [ecx + 8] */ 20448 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D799: mov byte ptr [ecx + 0x14], bl */ 20449 ecx = MEM32(eax + 0x4); /* 0x2B06D79C: mov ecx, dword ptr [eax + 4] */ 20450 edx = MEM32(ecx + 0x8); /* 0x2B06D79F: mov edx, dword ptr [ecx + 8] */ 20451 esi = MEM32(edx); /* 0x2B06D7A2: mov esi, dword ptr [edx] */ 20452 MEM32(ecx + 0x8) = esi; /* 0x2B06D7A4: mov dword ptr [ecx + 8], esi */ 20453 esi = MEM32(edx); /* 0x2B06D7A7: mov esi, dword ptr [edx] */ 20454 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D7A9: cmp esi, dword ptr [edi + 8] */ 20455 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20456 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20457 _flag_k = FK_CMP; 20458 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D7B1; /* 0x2B06D7AC: je 0x2b06d7b1 */ 20459 L_2B06D7AE: 20460 MEM32(esi + 0x4) = ecx; /* 0x2B06D7AE: mov dword ptr [esi + 4], ecx */ 20461 L_2B06D7B1: 20462 esi = MEM32(ecx + 0x4); /* 0x2B06D7B1: mov esi, dword ptr [ecx + 4] */ 20463 MEM32(edx + 0x4) = esi; /* 0x2B06D7B4: mov dword ptr [edx + 4], esi */ 20464 esi = MEM32(edi + 0x4); /* 0x2B06D7B7: mov esi, dword ptr [edi + 4] */ 20465 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D7BA: cmp ecx, dword ptr [esi + 4] */ 20466 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 20467 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20468 _flag_k = FK_CMP; 20469 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7C9; /* 0x2B06D7BD: jne 0x2b06d7c9 */ 20470 L_2B06D7BF: 20471 MEM32(esi + 0x4) = edx; /* 0x2B06D7BF: mov dword ptr [esi + 4], edx */ 20472 MEM32(edx) = ecx; /* 0x2B06D7C2: mov dword ptr [edx], ecx */ 20473 goto L_2B06D87F; /* 0x2B06D7C4: jmp 0x2b06d87f */ 20474 L_2B06D7C9: 20475 esi = MEM32(ecx + 0x4); /* 0x2B06D7C9: mov esi, dword ptr [ecx + 4] */ 20476 /* cmp ecx, MEM32(esi) */ /* 0x2B06D7CC: cmp ecx, dword ptr [esi] */ 20477 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 20478 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20479 _flag_k = FK_CMP; 20480 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7D9; /* 0x2B06D7CE: jne 0x2b06d7d9 */ 20481 L_2B06D7D0: 20482 MEM32(esi) = edx; /* 0x2B06D7D0: mov dword ptr [esi], edx */ 20483 MEM32(edx) = ecx; /* 0x2B06D7D2: mov dword ptr [edx], ecx */ 20484 goto L_2B06D87F; /* 0x2B06D7D4: jmp 0x2b06d87f */ 20485 L_2B06D7D9: 20486 MEM32(esi + 0x8) = edx; /* 0x2B06D7D9: mov dword ptr [esi + 8], edx */ 20487 MEM32(edx) = ecx; /* 0x2B06D7DC: mov dword ptr [edx], ecx */ 20488 goto L_2B06D87F; /* 0x2B06D7DE: jmp 0x2b06d87f */ 20489 L_2B06D7E3: 20490 edx = MEM32(ecx); /* 0x2B06D7E3: mov edx, dword ptr [ecx] */ 20491 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D7E5: cmp byte ptr [edx + 0x14], bl */ 20492 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20493 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20494 _flag_k = FK_NARROW(FK_CMP, 24); 20495 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D831; /* 0x2B06D7E8: jne 0x2b06d831 */ 20496 L_2B06D7EA: 20497 edx = MEM32(ecx + 0x8); /* 0x2B06D7EA: mov edx, dword ptr [ecx + 8] */ 20498 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D7ED: mov byte ptr [edx + 0x14], bl */ 20499 edx = MEM32(ecx + 0x8); /* 0x2B06D7F0: mov edx, dword ptr [ecx + 8] */ 20500 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D7F3: mov byte ptr [ecx + 0x14], 0 */ 20501 esi = MEM32(edx); /* 0x2B06D7F7: mov esi, dword ptr [edx] */ 20502 MEM32(ecx + 0x8) = esi; /* 0x2B06D7F9: mov dword ptr [ecx + 8], esi */ 20503 esi = MEM32(edx); /* 0x2B06D7FC: mov esi, dword ptr [edx] */ 20504 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D7FE: cmp esi, dword ptr [edi + 8] */ 20505 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20506 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20507 _flag_k = FK_CMP; 20508 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D806; /* 0x2B06D801: je 0x2b06d806 */ 20509 L_2B06D803: 20510 MEM32(esi + 0x4) = ecx; /* 0x2B06D803: mov dword ptr [esi + 4], ecx */ 20511 L_2B06D806: 20512 esi = MEM32(ecx + 0x4); /* 0x2B06D806: mov esi, dword ptr [ecx + 4] */ 20513 MEM32(edx + 0x4) = esi; /* 0x2B06D809: mov dword ptr [edx + 4], esi */ 20514 esi = MEM32(edi + 0x4); /* 0x2B06D80C: mov esi, dword ptr [edi + 4] */ 20515 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D80F: cmp ecx, dword ptr [esi + 4] */ 20516 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 20517 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20518 _flag_k = FK_CMP; 20519 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D819; /* 0x2B06D812: jne 0x2b06d819 */ 20520 L_2B06D814: 20521 MEM32(esi + 0x4) = edx; /* 0x2B06D814: mov dword ptr [esi + 4], edx */ 20522 goto L_2B06D827; /* 0x2B06D817: jmp 0x2b06d827 */ 20523 L_2B06D819: 20524 esi = MEM32(ecx + 0x4); /* 0x2B06D819: mov esi, dword ptr [ecx + 4] */ 20525 /* cmp ecx, MEM32(esi) */ /* 0x2B06D81C: cmp ecx, dword ptr [esi] */ 20526 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 20527 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20528 _flag_k = FK_CMP; 20529 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D824; /* 0x2B06D81E: jne 0x2b06d824 */ 20530 L_2B06D820: 20531 MEM32(esi) = edx; /* 0x2B06D820: mov dword ptr [esi], edx */ 20532 goto L_2B06D827; /* 0x2B06D822: jmp 0x2b06d827 */ 20533 L_2B06D824: 20534 MEM32(esi + 0x8) = edx; /* 0x2B06D824: mov dword ptr [esi + 8], edx */ 20535 L_2B06D827: 20536 MEM32(edx) = ecx; /* 0x2B06D827: mov dword ptr [edx], ecx */ 20537 MEM32(ecx + 0x4) = edx; /* 0x2B06D829: mov dword ptr [ecx + 4], edx */ 20538 ecx = MEM32(eax + 0x4); /* 0x2B06D82C: mov ecx, dword ptr [eax + 4] */ 20539 ecx = MEM32(ecx); /* 0x2B06D82F: mov ecx, dword ptr [ecx] */ 20540 L_2B06D831: 20541 edx = MEM32(eax + 0x4); /* 0x2B06D831: mov edx, dword ptr [eax + 4] */ 20542 SET_LO8(edx, MEM8(edx + 0x14)); /* 0x2B06D834: mov dl, byte ptr [edx + 0x14] */ 20543 MEM8(ecx + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B06D837: mov byte ptr [ecx + 0x14], dl */ 20544 edx = MEM32(eax + 0x4); /* 0x2B06D83A: mov edx, dword ptr [eax + 4] */ 20545 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D83D: mov byte ptr [edx + 0x14], bl */ 20546 ecx = MEM32(ecx); /* 0x2B06D840: mov ecx, dword ptr [ecx] */ 20547 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D842: mov byte ptr [ecx + 0x14], bl */ 20548 ecx = MEM32(eax + 0x4); /* 0x2B06D845: mov ecx, dword ptr [eax + 4] */ 20549 edx = MEM32(ecx); /* 0x2B06D848: mov edx, dword ptr [ecx] */ 20550 esi = MEM32(edx + 0x8); /* 0x2B06D84A: mov esi, dword ptr [edx + 8] */ 20551 MEM32(ecx) = esi; /* 0x2B06D84D: mov dword ptr [ecx], esi */ 20552 esi = MEM32(edx + 0x8); /* 0x2B06D84F: mov esi, dword ptr [edx + 8] */ 20553 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D852: cmp esi, dword ptr [edi + 8] */ 20554 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20555 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20556 _flag_k = FK_CMP; 20557 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D85A; /* 0x2B06D855: je 0x2b06d85a */ 20558 L_2B06D857: 20559 MEM32(esi + 0x4) = ecx; /* 0x2B06D857: mov dword ptr [esi + 4], ecx */ 20560 L_2B06D85A: 20561 esi = MEM32(ecx + 0x4); /* 0x2B06D85A: mov esi, dword ptr [ecx + 4] */ 20562 MEM32(edx + 0x4) = esi; /* 0x2B06D85D: mov dword ptr [edx + 4], esi */ 20563 esi = MEM32(edi + 0x4); /* 0x2B06D860: mov esi, dword ptr [edi + 4] */ 20564 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D863: cmp ecx, dword ptr [esi + 4] */ 20565 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 20566 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20567 _flag_k = FK_CMP; 20568 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D86D; /* 0x2B06D866: jne 0x2b06d86d */ 20569 L_2B06D868: 20570 MEM32(esi + 0x4) = edx; /* 0x2B06D868: mov dword ptr [esi + 4], edx */ 20571 goto L_2B06D87C; /* 0x2B06D86B: jmp 0x2b06d87c */ 20572 L_2B06D86D: 20573 esi = MEM32(ecx + 0x4); /* 0x2B06D86D: mov esi, dword ptr [ecx + 4] */ 20574 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D870: cmp ecx, dword ptr [esi + 8] */ 20575 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20576 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20577 _flag_k = FK_CMP; 20578 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D87A; /* 0x2B06D873: jne 0x2b06d87a */ 20579 L_2B06D875: 20580 MEM32(esi + 0x8) = edx; /* 0x2B06D875: mov dword ptr [esi + 8], edx */ 20581 goto L_2B06D87C; /* 0x2B06D878: jmp 0x2b06d87c */ 20582 L_2B06D87A: 20583 MEM32(esi) = edx; /* 0x2B06D87A: mov dword ptr [esi], edx */ 20584 L_2B06D87C: 20585 MEM32(edx + 0x8) = ecx; /* 0x2B06D87C: mov dword ptr [edx + 8], ecx */ 20586 L_2B06D87F: 20587 MEM32(ecx + 0x4) = edx; /* 0x2B06D87F: mov dword ptr [ecx + 4], edx */ 20588 L_2B06D882: 20589 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D882: mov byte ptr [eax + 0x14], bl */ 20590 L_2B06D885: 20591 edx = MEM32(ebp + (-0x4)); /* 0x2B06D885: mov edx, dword ptr [ebp - 4] */ 20592 PUSH32(esp, edx); /* 0x2B06D888: push edx */ 20593 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06D889: call 0x2b0ab1ba */ /* not lifted */ 20594 RECOMP_FLAGS_IN(); 20595 eax = MEM32(edi + 0x10); /* 0x2B06D88E: mov eax, dword ptr [edi + 0x10] */ 20596 ecx = MEM32(ebp + 0xC); /* 0x2B06D891: mov ecx, dword ptr [ebp + 0xc] */ 20597 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 20598 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20599 esp = esp + 4; /* 0x2B06D894: add esp, 4 */ 20600 _flag_k = FK_ADD; 20601 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 20602 eax = eax - 1; /* 0x2B06D897: dec eax */ 20603 _flag_k = FK_DEC; 20604 MEM32(edi + 0x10) = eax; /* 0x2B06D898: mov dword ptr [edi + 0x10], eax */ 20605 eax = MEM32(ebp + 0x8); /* 0x2B06D89B: mov eax, dword ptr [ebp + 8] */ 20606 edi = POP32_VAL(esp); /* 0x2B06D89E: pop edi */ 20607 esi = POP32_VAL(esp); /* 0x2B06D89F: pop esi */ 20608 MEM32(eax) = ecx; /* 0x2B06D8A0: mov dword ptr [eax], ecx */ 20609 ebx = POP32_VAL(esp); /* 0x2B06D8A2: pop ebx */ 20610 esp = ebp; /* 0x2B06D8A3: mov esp, ebp */ 20611 ebp = POP32_VAL(esp); /* 0x2B06D8A5: pop ebp */ 20612 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B06D8A6: ret 8 */ 20613 RECOMP_REGS_OUT(); 20614 } 20615 20616 void sub_2B06D634(void) { 20617 int _fpu_cmp = 0; 20618 uint32_t _cf = 0; 20619 int _df = 1; 20620 uint32_t _flag_k = FK_NONE; 20621 uint32_t _flag_a = 0, _flag_b = 0; 20622 uint32_t _itail_tgt = 0; 20623 RECOMP_REGS_LOCALS 20624 RECOMP_ENTER(0x2B06D634u); 20625 20626 L_2B06D634: 20627 /* cmp MEM8(eax + 0x14), LO8(ebx) */ /* 0x2B06D634: cmp byte ptr [eax + 0x14], bl */ 20628 _flag_a = (uint32_t)(MEM8(eax + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20629 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20630 _flag_k = FK_NARROW(FK_CMP, 24); 20631 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D882; /* 0x2B06D637: jne 0x2b06d882 */ 20632 L_2B06D63D: 20633 edx = MEM32(eax + 0x4); /* 0x2B06D63D: mov edx, dword ptr [eax + 4] */ 20634 ecx = MEM32(edx); /* 0x2B06D640: mov ecx, dword ptr [edx] */ 20635 /* cmp eax, ecx */ /* 0x2B06D642: cmp eax, ecx */ 20636 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 20637 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20638 _flag_k = FK_CMP; 20639 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6B4; /* 0x2B06D644: jne 0x2b06d6b4 */ 20640 L_2B06D646: 20641 ecx = MEM32(edx + 0x8); /* 0x2B06D646: mov ecx, dword ptr [edx + 8] */ 20642 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2B06D649: mov dl, byte ptr [ecx + 0x14] */ 20643 /* test LO8(edx), LO8(edx) */ /* 0x2B06D64C: test dl, dl */ 20644 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 20645 _cf = 0; 20646 _flag_k = FK_NARROW(FK_TEST, 24); 20647 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06D69B; /* 0x2B06D64E: jne 0x2b06d69b */ 20648 L_2B06D650: 20649 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D650: mov byte ptr [ecx + 0x14], bl */ 20650 ecx = MEM32(eax + 0x4); /* 0x2B06D653: mov ecx, dword ptr [eax + 4] */ 20651 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D656: mov byte ptr [ecx + 0x14], 0 */ 20652 ecx = MEM32(eax + 0x4); /* 0x2B06D65A: mov ecx, dword ptr [eax + 4] */ 20653 edx = MEM32(ecx + 0x8); /* 0x2B06D65D: mov edx, dword ptr [ecx + 8] */ 20654 esi = MEM32(edx); /* 0x2B06D660: mov esi, dword ptr [edx] */ 20655 MEM32(ecx + 0x8) = esi; /* 0x2B06D662: mov dword ptr [ecx + 8], esi */ 20656 esi = MEM32(edx); /* 0x2B06D665: mov esi, dword ptr [edx] */ 20657 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D667: cmp esi, dword ptr [edi + 8] */ 20658 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20659 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20660 _flag_k = FK_CMP; 20661 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D66F; /* 0x2B06D66A: je 0x2b06d66f */ 20662 L_2B06D66C: 20663 MEM32(esi + 0x4) = ecx; /* 0x2B06D66C: mov dword ptr [esi + 4], ecx */ 20664 L_2B06D66F: 20665 esi = MEM32(ecx + 0x4); /* 0x2B06D66F: mov esi, dword ptr [ecx + 4] */ 20666 MEM32(edx + 0x4) = esi; /* 0x2B06D672: mov dword ptr [edx + 4], esi */ 20667 esi = MEM32(edi + 0x4); /* 0x2B06D675: mov esi, dword ptr [edi + 4] */ 20668 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D678: cmp ecx, dword ptr [esi + 4] */ 20669 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 20670 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20671 _flag_k = FK_CMP; 20672 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D682; /* 0x2B06D67B: jne 0x2b06d682 */ 20673 L_2B06D67D: 20674 MEM32(esi + 0x4) = edx; /* 0x2B06D67D: mov dword ptr [esi + 4], edx */ 20675 goto L_2B06D690; /* 0x2B06D680: jmp 0x2b06d690 */ 20676 L_2B06D682: 20677 esi = MEM32(ecx + 0x4); /* 0x2B06D682: mov esi, dword ptr [ecx + 4] */ 20678 /* cmp ecx, MEM32(esi) */ /* 0x2B06D685: cmp ecx, dword ptr [esi] */ 20679 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 20680 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20681 _flag_k = FK_CMP; 20682 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D68D; /* 0x2B06D687: jne 0x2b06d68d */ 20683 L_2B06D689: 20684 MEM32(esi) = edx; /* 0x2B06D689: mov dword ptr [esi], edx */ 20685 goto L_2B06D690; /* 0x2B06D68B: jmp 0x2b06d690 */ 20686 L_2B06D68D: 20687 MEM32(esi + 0x8) = edx; /* 0x2B06D68D: mov dword ptr [esi + 8], edx */ 20688 L_2B06D690: 20689 MEM32(edx) = ecx; /* 0x2B06D690: mov dword ptr [edx], ecx */ 20690 MEM32(ecx + 0x4) = edx; /* 0x2B06D692: mov dword ptr [ecx + 4], edx */ 20691 edx = MEM32(eax + 0x4); /* 0x2B06D695: mov edx, dword ptr [eax + 4] */ 20692 ecx = MEM32(edx + 0x8); /* 0x2B06D698: mov ecx, dword ptr [edx + 8] */ 20693 L_2B06D69B: 20694 edx = MEM32(ecx); /* 0x2B06D69B: mov edx, dword ptr [ecx] */ 20695 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D69D: cmp byte ptr [edx + 0x14], bl */ 20696 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20697 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20698 _flag_k = FK_NARROW(FK_CMP, 24); 20699 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D736; /* 0x2B06D6A0: jne 0x2b06d736 */ 20700 L_2B06D6A6: 20701 edx = MEM32(ecx + 0x8); /* 0x2B06D6A6: mov edx, dword ptr [ecx + 8] */ 20702 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D6A9: cmp byte ptr [edx + 0x14], bl */ 20703 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20704 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20705 _flag_k = FK_NARROW(FK_CMP, 24); 20706 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D736; /* 0x2B06D6AC: jne 0x2b06d736 */ 20707 L_2B06D6B2: 20708 goto L_2B06D71E; /* 0x2B06D6B2: jmp 0x2b06d71e */ 20709 L_2B06D6B4: 20710 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2B06D6B4: mov dl, byte ptr [ecx + 0x14] */ 20711 /* test LO8(edx), LO8(edx) */ /* 0x2B06D6B7: test dl, dl */ 20712 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 20713 _cf = 0; 20714 _flag_k = FK_NARROW(FK_TEST, 24); 20715 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06D707; /* 0x2B06D6B9: jne 0x2b06d707 */ 20716 L_2B06D6BB: 20717 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D6BB: mov byte ptr [ecx + 0x14], bl */ 20718 ecx = MEM32(eax + 0x4); /* 0x2B06D6BE: mov ecx, dword ptr [eax + 4] */ 20719 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D6C1: mov byte ptr [ecx + 0x14], 0 */ 20720 ecx = MEM32(eax + 0x4); /* 0x2B06D6C5: mov ecx, dword ptr [eax + 4] */ 20721 edx = MEM32(ecx); /* 0x2B06D6C8: mov edx, dword ptr [ecx] */ 20722 esi = MEM32(edx + 0x8); /* 0x2B06D6CA: mov esi, dword ptr [edx + 8] */ 20723 MEM32(ecx) = esi; /* 0x2B06D6CD: mov dword ptr [ecx], esi */ 20724 esi = MEM32(edx + 0x8); /* 0x2B06D6CF: mov esi, dword ptr [edx + 8] */ 20725 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D6D2: cmp esi, dword ptr [edi + 8] */ 20726 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20727 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20728 _flag_k = FK_CMP; 20729 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D6DA; /* 0x2B06D6D5: je 0x2b06d6da */ 20730 L_2B06D6D7: 20731 MEM32(esi + 0x4) = ecx; /* 0x2B06D6D7: mov dword ptr [esi + 4], ecx */ 20732 L_2B06D6DA: 20733 esi = MEM32(ecx + 0x4); /* 0x2B06D6DA: mov esi, dword ptr [ecx + 4] */ 20734 MEM32(edx + 0x4) = esi; /* 0x2B06D6DD: mov dword ptr [edx + 4], esi */ 20735 esi = MEM32(edi + 0x4); /* 0x2B06D6E0: mov esi, dword ptr [edi + 4] */ 20736 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D6E3: cmp ecx, dword ptr [esi + 4] */ 20737 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 20738 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20739 _flag_k = FK_CMP; 20740 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6ED; /* 0x2B06D6E6: jne 0x2b06d6ed */ 20741 L_2B06D6E8: 20742 MEM32(esi + 0x4) = edx; /* 0x2B06D6E8: mov dword ptr [esi + 4], edx */ 20743 goto L_2B06D6FC; /* 0x2B06D6EB: jmp 0x2b06d6fc */ 20744 L_2B06D6ED: 20745 esi = MEM32(ecx + 0x4); /* 0x2B06D6ED: mov esi, dword ptr [ecx + 4] */ 20746 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D6F0: cmp ecx, dword ptr [esi + 8] */ 20747 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20748 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20749 _flag_k = FK_CMP; 20750 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6FA; /* 0x2B06D6F3: jne 0x2b06d6fa */ 20751 L_2B06D6F5: 20752 MEM32(esi + 0x8) = edx; /* 0x2B06D6F5: mov dword ptr [esi + 8], edx */ 20753 goto L_2B06D6FC; /* 0x2B06D6F8: jmp 0x2b06d6fc */ 20754 L_2B06D6FA: 20755 MEM32(esi) = edx; /* 0x2B06D6FA: mov dword ptr [esi], edx */ 20756 L_2B06D6FC: 20757 MEM32(edx + 0x8) = ecx; /* 0x2B06D6FC: mov dword ptr [edx + 8], ecx */ 20758 MEM32(ecx + 0x4) = edx; /* 0x2B06D6FF: mov dword ptr [ecx + 4], edx */ 20759 edx = MEM32(eax + 0x4); /* 0x2B06D702: mov edx, dword ptr [eax + 4] */ 20760 ecx = MEM32(edx); /* 0x2B06D705: mov ecx, dword ptr [edx] */ 20761 L_2B06D707: 20762 edx = MEM32(ecx + 0x8); /* 0x2B06D707: mov edx, dword ptr [ecx + 8] */ 20763 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D70A: cmp byte ptr [edx + 0x14], bl */ 20764 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20765 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20766 _flag_k = FK_NARROW(FK_CMP, 24); 20767 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7E3; /* 0x2B06D70D: jne 0x2b06d7e3 */ 20768 L_2B06D713: 20769 edx = MEM32(ecx); /* 0x2B06D713: mov edx, dword ptr [ecx] */ 20770 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D715: cmp byte ptr [edx + 0x14], bl */ 20771 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20772 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20773 _flag_k = FK_NARROW(FK_CMP, 24); 20774 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7E3; /* 0x2B06D718: jne 0x2b06d7e3 */ 20775 L_2B06D71E: 20776 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D71E: mov byte ptr [ecx + 0x14], 0 */ 20777 ecx = MEM32(edi + 0x4); /* 0x2B06D722: mov ecx, dword ptr [edi + 4] */ 20778 eax = MEM32(eax + 0x4); /* 0x2B06D725: mov eax, dword ptr [eax + 4] */ 20779 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B06D728: cmp eax, dword ptr [ecx + 4] */ 20780 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 20781 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20782 _flag_k = FK_CMP; 20783 RECOMP_BACKEDGE(); 20784 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D634; /* 0x2B06D72B: jne 0x2b06d634 */ 20785 L_2B06D731: 20786 goto L_2B06D882; /* 0x2B06D731: jmp 0x2b06d882 */ 20787 L_2B06D736: 20788 edx = MEM32(ecx + 0x8); /* 0x2B06D736: mov edx, dword ptr [ecx + 8] */ 20789 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D739: cmp byte ptr [edx + 0x14], bl */ 20790 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20791 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20792 _flag_k = FK_NARROW(FK_CMP, 24); 20793 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D787; /* 0x2B06D73C: jne 0x2b06d787 */ 20794 L_2B06D73E: 20795 edx = MEM32(ecx); /* 0x2B06D73E: mov edx, dword ptr [ecx] */ 20796 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D740: mov byte ptr [edx + 0x14], bl */ 20797 edx = MEM32(ecx); /* 0x2B06D743: mov edx, dword ptr [ecx] */ 20798 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D745: mov byte ptr [ecx + 0x14], 0 */ 20799 esi = MEM32(edx + 0x8); /* 0x2B06D749: mov esi, dword ptr [edx + 8] */ 20800 MEM32(ecx) = esi; /* 0x2B06D74C: mov dword ptr [ecx], esi */ 20801 esi = MEM32(edx + 0x8); /* 0x2B06D74E: mov esi, dword ptr [edx + 8] */ 20802 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D751: cmp esi, dword ptr [edi + 8] */ 20803 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20804 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20805 _flag_k = FK_CMP; 20806 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D759; /* 0x2B06D754: je 0x2b06d759 */ 20807 L_2B06D756: 20808 MEM32(esi + 0x4) = ecx; /* 0x2B06D756: mov dword ptr [esi + 4], ecx */ 20809 L_2B06D759: 20810 esi = MEM32(ecx + 0x4); /* 0x2B06D759: mov esi, dword ptr [ecx + 4] */ 20811 MEM32(edx + 0x4) = esi; /* 0x2B06D75C: mov dword ptr [edx + 4], esi */ 20812 esi = MEM32(edi + 0x4); /* 0x2B06D75F: mov esi, dword ptr [edi + 4] */ 20813 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D762: cmp ecx, dword ptr [esi + 4] */ 20814 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 20815 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20816 _flag_k = FK_CMP; 20817 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D76C; /* 0x2B06D765: jne 0x2b06d76c */ 20818 L_2B06D767: 20819 MEM32(esi + 0x4) = edx; /* 0x2B06D767: mov dword ptr [esi + 4], edx */ 20820 goto L_2B06D77B; /* 0x2B06D76A: jmp 0x2b06d77b */ 20821 L_2B06D76C: 20822 esi = MEM32(ecx + 0x4); /* 0x2B06D76C: mov esi, dword ptr [ecx + 4] */ 20823 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D76F: cmp ecx, dword ptr [esi + 8] */ 20824 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20825 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20826 _flag_k = FK_CMP; 20827 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D779; /* 0x2B06D772: jne 0x2b06d779 */ 20828 L_2B06D774: 20829 MEM32(esi + 0x8) = edx; /* 0x2B06D774: mov dword ptr [esi + 8], edx */ 20830 goto L_2B06D77B; /* 0x2B06D777: jmp 0x2b06d77b */ 20831 L_2B06D779: 20832 MEM32(esi) = edx; /* 0x2B06D779: mov dword ptr [esi], edx */ 20833 L_2B06D77B: 20834 MEM32(edx + 0x8) = ecx; /* 0x2B06D77B: mov dword ptr [edx + 8], ecx */ 20835 MEM32(ecx + 0x4) = edx; /* 0x2B06D77E: mov dword ptr [ecx + 4], edx */ 20836 ecx = MEM32(eax + 0x4); /* 0x2B06D781: mov ecx, dword ptr [eax + 4] */ 20837 ecx = MEM32(ecx + 0x8); /* 0x2B06D784: mov ecx, dword ptr [ecx + 8] */ 20838 L_2B06D787: 20839 edx = MEM32(eax + 0x4); /* 0x2B06D787: mov edx, dword ptr [eax + 4] */ 20840 SET_LO8(edx, MEM8(edx + 0x14)); /* 0x2B06D78A: mov dl, byte ptr [edx + 0x14] */ 20841 MEM8(ecx + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B06D78D: mov byte ptr [ecx + 0x14], dl */ 20842 edx = MEM32(eax + 0x4); /* 0x2B06D790: mov edx, dword ptr [eax + 4] */ 20843 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D793: mov byte ptr [edx + 0x14], bl */ 20844 ecx = MEM32(ecx + 0x8); /* 0x2B06D796: mov ecx, dword ptr [ecx + 8] */ 20845 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D799: mov byte ptr [ecx + 0x14], bl */ 20846 ecx = MEM32(eax + 0x4); /* 0x2B06D79C: mov ecx, dword ptr [eax + 4] */ 20847 edx = MEM32(ecx + 0x8); /* 0x2B06D79F: mov edx, dword ptr [ecx + 8] */ 20848 esi = MEM32(edx); /* 0x2B06D7A2: mov esi, dword ptr [edx] */ 20849 MEM32(ecx + 0x8) = esi; /* 0x2B06D7A4: mov dword ptr [ecx + 8], esi */ 20850 esi = MEM32(edx); /* 0x2B06D7A7: mov esi, dword ptr [edx] */ 20851 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D7A9: cmp esi, dword ptr [edi + 8] */ 20852 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20853 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20854 _flag_k = FK_CMP; 20855 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D7B1; /* 0x2B06D7AC: je 0x2b06d7b1 */ 20856 L_2B06D7AE: 20857 MEM32(esi + 0x4) = ecx; /* 0x2B06D7AE: mov dword ptr [esi + 4], ecx */ 20858 L_2B06D7B1: 20859 esi = MEM32(ecx + 0x4); /* 0x2B06D7B1: mov esi, dword ptr [ecx + 4] */ 20860 MEM32(edx + 0x4) = esi; /* 0x2B06D7B4: mov dword ptr [edx + 4], esi */ 20861 esi = MEM32(edi + 0x4); /* 0x2B06D7B7: mov esi, dword ptr [edi + 4] */ 20862 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D7BA: cmp ecx, dword ptr [esi + 4] */ 20863 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 20864 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20865 _flag_k = FK_CMP; 20866 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7C9; /* 0x2B06D7BD: jne 0x2b06d7c9 */ 20867 L_2B06D7BF: 20868 MEM32(esi + 0x4) = edx; /* 0x2B06D7BF: mov dword ptr [esi + 4], edx */ 20869 MEM32(edx) = ecx; /* 0x2B06D7C2: mov dword ptr [edx], ecx */ 20870 goto L_2B06D87F; /* 0x2B06D7C4: jmp 0x2b06d87f */ 20871 L_2B06D7C9: 20872 esi = MEM32(ecx + 0x4); /* 0x2B06D7C9: mov esi, dword ptr [ecx + 4] */ 20873 /* cmp ecx, MEM32(esi) */ /* 0x2B06D7CC: cmp ecx, dword ptr [esi] */ 20874 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 20875 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20876 _flag_k = FK_CMP; 20877 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7D9; /* 0x2B06D7CE: jne 0x2b06d7d9 */ 20878 L_2B06D7D0: 20879 MEM32(esi) = edx; /* 0x2B06D7D0: mov dword ptr [esi], edx */ 20880 MEM32(edx) = ecx; /* 0x2B06D7D2: mov dword ptr [edx], ecx */ 20881 goto L_2B06D87F; /* 0x2B06D7D4: jmp 0x2b06d87f */ 20882 L_2B06D7D9: 20883 MEM32(esi + 0x8) = edx; /* 0x2B06D7D9: mov dword ptr [esi + 8], edx */ 20884 MEM32(edx) = ecx; /* 0x2B06D7DC: mov dword ptr [edx], ecx */ 20885 goto L_2B06D87F; /* 0x2B06D7DE: jmp 0x2b06d87f */ 20886 L_2B06D7E3: 20887 edx = MEM32(ecx); /* 0x2B06D7E3: mov edx, dword ptr [ecx] */ 20888 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D7E5: cmp byte ptr [edx + 0x14], bl */ 20889 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20890 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20891 _flag_k = FK_NARROW(FK_CMP, 24); 20892 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D831; /* 0x2B06D7E8: jne 0x2b06d831 */ 20893 L_2B06D7EA: 20894 edx = MEM32(ecx + 0x8); /* 0x2B06D7EA: mov edx, dword ptr [ecx + 8] */ 20895 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D7ED: mov byte ptr [edx + 0x14], bl */ 20896 edx = MEM32(ecx + 0x8); /* 0x2B06D7F0: mov edx, dword ptr [ecx + 8] */ 20897 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D7F3: mov byte ptr [ecx + 0x14], 0 */ 20898 esi = MEM32(edx); /* 0x2B06D7F7: mov esi, dword ptr [edx] */ 20899 MEM32(ecx + 0x8) = esi; /* 0x2B06D7F9: mov dword ptr [ecx + 8], esi */ 20900 esi = MEM32(edx); /* 0x2B06D7FC: mov esi, dword ptr [edx] */ 20901 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D7FE: cmp esi, dword ptr [edi + 8] */ 20902 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20903 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20904 _flag_k = FK_CMP; 20905 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D806; /* 0x2B06D801: je 0x2b06d806 */ 20906 L_2B06D803: 20907 MEM32(esi + 0x4) = ecx; /* 0x2B06D803: mov dword ptr [esi + 4], ecx */ 20908 L_2B06D806: 20909 esi = MEM32(ecx + 0x4); /* 0x2B06D806: mov esi, dword ptr [ecx + 4] */ 20910 MEM32(edx + 0x4) = esi; /* 0x2B06D809: mov dword ptr [edx + 4], esi */ 20911 esi = MEM32(edi + 0x4); /* 0x2B06D80C: mov esi, dword ptr [edi + 4] */ 20912 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D80F: cmp ecx, dword ptr [esi + 4] */ 20913 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 20914 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20915 _flag_k = FK_CMP; 20916 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D819; /* 0x2B06D812: jne 0x2b06d819 */ 20917 L_2B06D814: 20918 MEM32(esi + 0x4) = edx; /* 0x2B06D814: mov dword ptr [esi + 4], edx */ 20919 goto L_2B06D827; /* 0x2B06D817: jmp 0x2b06d827 */ 20920 L_2B06D819: 20921 esi = MEM32(ecx + 0x4); /* 0x2B06D819: mov esi, dword ptr [ecx + 4] */ 20922 /* cmp ecx, MEM32(esi) */ /* 0x2B06D81C: cmp ecx, dword ptr [esi] */ 20923 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 20924 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20925 _flag_k = FK_CMP; 20926 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D824; /* 0x2B06D81E: jne 0x2b06d824 */ 20927 L_2B06D820: 20928 MEM32(esi) = edx; /* 0x2B06D820: mov dword ptr [esi], edx */ 20929 goto L_2B06D827; /* 0x2B06D822: jmp 0x2b06d827 */ 20930 L_2B06D824: 20931 MEM32(esi + 0x8) = edx; /* 0x2B06D824: mov dword ptr [esi + 8], edx */ 20932 L_2B06D827: 20933 MEM32(edx) = ecx; /* 0x2B06D827: mov dword ptr [edx], ecx */ 20934 MEM32(ecx + 0x4) = edx; /* 0x2B06D829: mov dword ptr [ecx + 4], edx */ 20935 ecx = MEM32(eax + 0x4); /* 0x2B06D82C: mov ecx, dword ptr [eax + 4] */ 20936 ecx = MEM32(ecx); /* 0x2B06D82F: mov ecx, dword ptr [ecx] */ 20937 L_2B06D831: 20938 edx = MEM32(eax + 0x4); /* 0x2B06D831: mov edx, dword ptr [eax + 4] */ 20939 SET_LO8(edx, MEM8(edx + 0x14)); /* 0x2B06D834: mov dl, byte ptr [edx + 0x14] */ 20940 MEM8(ecx + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B06D837: mov byte ptr [ecx + 0x14], dl */ 20941 edx = MEM32(eax + 0x4); /* 0x2B06D83A: mov edx, dword ptr [eax + 4] */ 20942 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D83D: mov byte ptr [edx + 0x14], bl */ 20943 ecx = MEM32(ecx); /* 0x2B06D840: mov ecx, dword ptr [ecx] */ 20944 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D842: mov byte ptr [ecx + 0x14], bl */ 20945 ecx = MEM32(eax + 0x4); /* 0x2B06D845: mov ecx, dword ptr [eax + 4] */ 20946 edx = MEM32(ecx); /* 0x2B06D848: mov edx, dword ptr [ecx] */ 20947 esi = MEM32(edx + 0x8); /* 0x2B06D84A: mov esi, dword ptr [edx + 8] */ 20948 MEM32(ecx) = esi; /* 0x2B06D84D: mov dword ptr [ecx], esi */ 20949 esi = MEM32(edx + 0x8); /* 0x2B06D84F: mov esi, dword ptr [edx + 8] */ 20950 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D852: cmp esi, dword ptr [edi + 8] */ 20951 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20952 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20953 _flag_k = FK_CMP; 20954 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D85A; /* 0x2B06D855: je 0x2b06d85a */ 20955 L_2B06D857: 20956 MEM32(esi + 0x4) = ecx; /* 0x2B06D857: mov dword ptr [esi + 4], ecx */ 20957 L_2B06D85A: 20958 esi = MEM32(ecx + 0x4); /* 0x2B06D85A: mov esi, dword ptr [ecx + 4] */ 20959 MEM32(edx + 0x4) = esi; /* 0x2B06D85D: mov dword ptr [edx + 4], esi */ 20960 esi = MEM32(edi + 0x4); /* 0x2B06D860: mov esi, dword ptr [edi + 4] */ 20961 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D863: cmp ecx, dword ptr [esi + 4] */ 20962 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 20963 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20964 _flag_k = FK_CMP; 20965 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D86D; /* 0x2B06D866: jne 0x2b06d86d */ 20966 L_2B06D868: 20967 MEM32(esi + 0x4) = edx; /* 0x2B06D868: mov dword ptr [esi + 4], edx */ 20968 goto L_2B06D87C; /* 0x2B06D86B: jmp 0x2b06d87c */ 20969 L_2B06D86D: 20970 esi = MEM32(ecx + 0x4); /* 0x2B06D86D: mov esi, dword ptr [ecx + 4] */ 20971 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D870: cmp ecx, dword ptr [esi + 8] */ 20972 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20973 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20974 _flag_k = FK_CMP; 20975 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D87A; /* 0x2B06D873: jne 0x2b06d87a */ 20976 L_2B06D875: 20977 MEM32(esi + 0x8) = edx; /* 0x2B06D875: mov dword ptr [esi + 8], edx */ 20978 goto L_2B06D87C; /* 0x2B06D878: jmp 0x2b06d87c */ 20979 L_2B06D87A: 20980 MEM32(esi) = edx; /* 0x2B06D87A: mov dword ptr [esi], edx */ 20981 L_2B06D87C: 20982 MEM32(edx + 0x8) = ecx; /* 0x2B06D87C: mov dword ptr [edx + 8], ecx */ 20983 L_2B06D87F: 20984 MEM32(ecx + 0x4) = edx; /* 0x2B06D87F: mov dword ptr [ecx + 4], edx */ 20985 L_2B06D882: 20986 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D882: mov byte ptr [eax + 0x14], bl */ 20987 edx = MEM32(ebp + (-0x4)); /* 0x2B06D885: mov edx, dword ptr [ebp - 4] */ 20988 PUSH32(esp, edx); /* 0x2B06D888: push edx */ 20989 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06D889: call 0x2b0ab1ba */ /* not lifted */ 20990 RECOMP_FLAGS_IN(); 20991 eax = MEM32(edi + 0x10); /* 0x2B06D88E: mov eax, dword ptr [edi + 0x10] */ 20992 ecx = MEM32(ebp + 0xC); /* 0x2B06D891: mov ecx, dword ptr [ebp + 0xc] */ 20993 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 20994 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20995 esp = esp + 4; /* 0x2B06D894: add esp, 4 */ 20996 _flag_k = FK_ADD; 20997 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 20998 eax = eax - 1; /* 0x2B06D897: dec eax */ 20999 _flag_k = FK_DEC; 21000 MEM32(edi + 0x10) = eax; /* 0x2B06D898: mov dword ptr [edi + 0x10], eax */ 21001 eax = MEM32(ebp + 0x8); /* 0x2B06D89B: mov eax, dword ptr [ebp + 8] */ 21002 edi = POP32_VAL(esp); /* 0x2B06D89E: pop edi */ 21003 esi = POP32_VAL(esp); /* 0x2B06D89F: pop esi */ 21004 MEM32(eax) = ecx; /* 0x2B06D8A0: mov dword ptr [eax], ecx */ 21005 ebx = POP32_VAL(esp); /* 0x2B06D8A2: pop ebx */ 21006 esp = ebp; /* 0x2B06D8A3: mov esp, ebp */ 21007 ebp = POP32_VAL(esp); /* 0x2B06D8A5: pop ebp */ 21008 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B06D8A6: ret 8 */ 21009 RECOMP_REGS_OUT(); 21010 } 21011 21012 void sub_2B06D690(void) { 21013 int _fpu_cmp = 0; 21014 uint32_t _cf = 0; 21015 int _df = 1; 21016 uint32_t _flag_k = FK_NONE; 21017 uint32_t _flag_a = 0, _flag_b = 0; 21018 uint32_t _itail_tgt = 0; 21019 RECOMP_REGS_LOCALS 21020 RECOMP_ENTER(0x2B06D690u); 21021 21022 goto L_2B06D690; 21023 L_2B06D634: 21024 /* cmp MEM8(eax + 0x14), LO8(ebx) */ /* 0x2B06D634: cmp byte ptr [eax + 0x14], bl */ 21025 _flag_a = (uint32_t)(MEM8(eax + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21026 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21027 _flag_k = FK_NARROW(FK_CMP, 24); 21028 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D882; /* 0x2B06D637: jne 0x2b06d882 */ 21029 L_2B06D63D: 21030 edx = MEM32(eax + 0x4); /* 0x2B06D63D: mov edx, dword ptr [eax + 4] */ 21031 ecx = MEM32(edx); /* 0x2B06D640: mov ecx, dword ptr [edx] */ 21032 /* cmp eax, ecx */ /* 0x2B06D642: cmp eax, ecx */ 21033 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 21034 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21035 _flag_k = FK_CMP; 21036 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6B4; /* 0x2B06D644: jne 0x2b06d6b4 */ 21037 L_2B06D646: 21038 ecx = MEM32(edx + 0x8); /* 0x2B06D646: mov ecx, dword ptr [edx + 8] */ 21039 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2B06D649: mov dl, byte ptr [ecx + 0x14] */ 21040 /* test LO8(edx), LO8(edx) */ /* 0x2B06D64C: test dl, dl */ 21041 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 21042 _cf = 0; 21043 _flag_k = FK_NARROW(FK_TEST, 24); 21044 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06D69B; /* 0x2B06D64E: jne 0x2b06d69b */ 21045 L_2B06D650: 21046 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D650: mov byte ptr [ecx + 0x14], bl */ 21047 ecx = MEM32(eax + 0x4); /* 0x2B06D653: mov ecx, dword ptr [eax + 4] */ 21048 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D656: mov byte ptr [ecx + 0x14], 0 */ 21049 ecx = MEM32(eax + 0x4); /* 0x2B06D65A: mov ecx, dword ptr [eax + 4] */ 21050 edx = MEM32(ecx + 0x8); /* 0x2B06D65D: mov edx, dword ptr [ecx + 8] */ 21051 esi = MEM32(edx); /* 0x2B06D660: mov esi, dword ptr [edx] */ 21052 MEM32(ecx + 0x8) = esi; /* 0x2B06D662: mov dword ptr [ecx + 8], esi */ 21053 esi = MEM32(edx); /* 0x2B06D665: mov esi, dword ptr [edx] */ 21054 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D667: cmp esi, dword ptr [edi + 8] */ 21055 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21056 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21057 _flag_k = FK_CMP; 21058 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D66F; /* 0x2B06D66A: je 0x2b06d66f */ 21059 L_2B06D66C: 21060 MEM32(esi + 0x4) = ecx; /* 0x2B06D66C: mov dword ptr [esi + 4], ecx */ 21061 L_2B06D66F: 21062 esi = MEM32(ecx + 0x4); /* 0x2B06D66F: mov esi, dword ptr [ecx + 4] */ 21063 MEM32(edx + 0x4) = esi; /* 0x2B06D672: mov dword ptr [edx + 4], esi */ 21064 esi = MEM32(edi + 0x4); /* 0x2B06D675: mov esi, dword ptr [edi + 4] */ 21065 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D678: cmp ecx, dword ptr [esi + 4] */ 21066 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 21067 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21068 _flag_k = FK_CMP; 21069 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D682; /* 0x2B06D67B: jne 0x2b06d682 */ 21070 L_2B06D67D: 21071 MEM32(esi + 0x4) = edx; /* 0x2B06D67D: mov dword ptr [esi + 4], edx */ 21072 goto L_2B06D690; /* 0x2B06D680: jmp 0x2b06d690 */ 21073 L_2B06D682: 21074 esi = MEM32(ecx + 0x4); /* 0x2B06D682: mov esi, dword ptr [ecx + 4] */ 21075 /* cmp ecx, MEM32(esi) */ /* 0x2B06D685: cmp ecx, dword ptr [esi] */ 21076 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 21077 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21078 _flag_k = FK_CMP; 21079 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D68D; /* 0x2B06D687: jne 0x2b06d68d */ 21080 L_2B06D689: 21081 MEM32(esi) = edx; /* 0x2B06D689: mov dword ptr [esi], edx */ 21082 goto L_2B06D690; /* 0x2B06D68B: jmp 0x2b06d690 */ 21083 L_2B06D68D: 21084 MEM32(esi + 0x8) = edx; /* 0x2B06D68D: mov dword ptr [esi + 8], edx */ 21085 L_2B06D690: 21086 MEM32(edx) = ecx; /* 0x2B06D690: mov dword ptr [edx], ecx */ 21087 MEM32(ecx + 0x4) = edx; /* 0x2B06D692: mov dword ptr [ecx + 4], edx */ 21088 edx = MEM32(eax + 0x4); /* 0x2B06D695: mov edx, dword ptr [eax + 4] */ 21089 ecx = MEM32(edx + 0x8); /* 0x2B06D698: mov ecx, dword ptr [edx + 8] */ 21090 L_2B06D69B: 21091 edx = MEM32(ecx); /* 0x2B06D69B: mov edx, dword ptr [ecx] */ 21092 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D69D: cmp byte ptr [edx + 0x14], bl */ 21093 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21094 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21095 _flag_k = FK_NARROW(FK_CMP, 24); 21096 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D736; /* 0x2B06D6A0: jne 0x2b06d736 */ 21097 L_2B06D6A6: 21098 edx = MEM32(ecx + 0x8); /* 0x2B06D6A6: mov edx, dword ptr [ecx + 8] */ 21099 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D6A9: cmp byte ptr [edx + 0x14], bl */ 21100 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21101 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21102 _flag_k = FK_NARROW(FK_CMP, 24); 21103 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D736; /* 0x2B06D6AC: jne 0x2b06d736 */ 21104 L_2B06D6B2: 21105 goto L_2B06D71E; /* 0x2B06D6B2: jmp 0x2b06d71e */ 21106 L_2B06D6B4: 21107 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2B06D6B4: mov dl, byte ptr [ecx + 0x14] */ 21108 /* test LO8(edx), LO8(edx) */ /* 0x2B06D6B7: test dl, dl */ 21109 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 21110 _cf = 0; 21111 _flag_k = FK_NARROW(FK_TEST, 24); 21112 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06D707; /* 0x2B06D6B9: jne 0x2b06d707 */ 21113 L_2B06D6BB: 21114 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D6BB: mov byte ptr [ecx + 0x14], bl */ 21115 ecx = MEM32(eax + 0x4); /* 0x2B06D6BE: mov ecx, dword ptr [eax + 4] */ 21116 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D6C1: mov byte ptr [ecx + 0x14], 0 */ 21117 ecx = MEM32(eax + 0x4); /* 0x2B06D6C5: mov ecx, dword ptr [eax + 4] */ 21118 edx = MEM32(ecx); /* 0x2B06D6C8: mov edx, dword ptr [ecx] */ 21119 esi = MEM32(edx + 0x8); /* 0x2B06D6CA: mov esi, dword ptr [edx + 8] */ 21120 MEM32(ecx) = esi; /* 0x2B06D6CD: mov dword ptr [ecx], esi */ 21121 esi = MEM32(edx + 0x8); /* 0x2B06D6CF: mov esi, dword ptr [edx + 8] */ 21122 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D6D2: cmp esi, dword ptr [edi + 8] */ 21123 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21124 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21125 _flag_k = FK_CMP; 21126 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D6DA; /* 0x2B06D6D5: je 0x2b06d6da */ 21127 L_2B06D6D7: 21128 MEM32(esi + 0x4) = ecx; /* 0x2B06D6D7: mov dword ptr [esi + 4], ecx */ 21129 L_2B06D6DA: 21130 esi = MEM32(ecx + 0x4); /* 0x2B06D6DA: mov esi, dword ptr [ecx + 4] */ 21131 MEM32(edx + 0x4) = esi; /* 0x2B06D6DD: mov dword ptr [edx + 4], esi */ 21132 esi = MEM32(edi + 0x4); /* 0x2B06D6E0: mov esi, dword ptr [edi + 4] */ 21133 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D6E3: cmp ecx, dword ptr [esi + 4] */ 21134 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 21135 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21136 _flag_k = FK_CMP; 21137 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6ED; /* 0x2B06D6E6: jne 0x2b06d6ed */ 21138 L_2B06D6E8: 21139 MEM32(esi + 0x4) = edx; /* 0x2B06D6E8: mov dword ptr [esi + 4], edx */ 21140 goto L_2B06D6FC; /* 0x2B06D6EB: jmp 0x2b06d6fc */ 21141 L_2B06D6ED: 21142 esi = MEM32(ecx + 0x4); /* 0x2B06D6ED: mov esi, dword ptr [ecx + 4] */ 21143 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D6F0: cmp ecx, dword ptr [esi + 8] */ 21144 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21145 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21146 _flag_k = FK_CMP; 21147 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6FA; /* 0x2B06D6F3: jne 0x2b06d6fa */ 21148 L_2B06D6F5: 21149 MEM32(esi + 0x8) = edx; /* 0x2B06D6F5: mov dword ptr [esi + 8], edx */ 21150 goto L_2B06D6FC; /* 0x2B06D6F8: jmp 0x2b06d6fc */ 21151 L_2B06D6FA: 21152 MEM32(esi) = edx; /* 0x2B06D6FA: mov dword ptr [esi], edx */ 21153 L_2B06D6FC: 21154 MEM32(edx + 0x8) = ecx; /* 0x2B06D6FC: mov dword ptr [edx + 8], ecx */ 21155 MEM32(ecx + 0x4) = edx; /* 0x2B06D6FF: mov dword ptr [ecx + 4], edx */ 21156 edx = MEM32(eax + 0x4); /* 0x2B06D702: mov edx, dword ptr [eax + 4] */ 21157 ecx = MEM32(edx); /* 0x2B06D705: mov ecx, dword ptr [edx] */ 21158 L_2B06D707: 21159 edx = MEM32(ecx + 0x8); /* 0x2B06D707: mov edx, dword ptr [ecx + 8] */ 21160 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D70A: cmp byte ptr [edx + 0x14], bl */ 21161 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21162 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21163 _flag_k = FK_NARROW(FK_CMP, 24); 21164 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7E3; /* 0x2B06D70D: jne 0x2b06d7e3 */ 21165 L_2B06D713: 21166 edx = MEM32(ecx); /* 0x2B06D713: mov edx, dword ptr [ecx] */ 21167 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D715: cmp byte ptr [edx + 0x14], bl */ 21168 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21169 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21170 _flag_k = FK_NARROW(FK_CMP, 24); 21171 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7E3; /* 0x2B06D718: jne 0x2b06d7e3 */ 21172 L_2B06D71E: 21173 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D71E: mov byte ptr [ecx + 0x14], 0 */ 21174 ecx = MEM32(edi + 0x4); /* 0x2B06D722: mov ecx, dword ptr [edi + 4] */ 21175 eax = MEM32(eax + 0x4); /* 0x2B06D725: mov eax, dword ptr [eax + 4] */ 21176 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B06D728: cmp eax, dword ptr [ecx + 4] */ 21177 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 21178 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21179 _flag_k = FK_CMP; 21180 RECOMP_BACKEDGE(); 21181 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D634; /* 0x2B06D72B: jne 0x2b06d634 */ 21182 L_2B06D731: 21183 goto L_2B06D882; /* 0x2B06D731: jmp 0x2b06d882 */ 21184 L_2B06D736: 21185 edx = MEM32(ecx + 0x8); /* 0x2B06D736: mov edx, dword ptr [ecx + 8] */ 21186 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D739: cmp byte ptr [edx + 0x14], bl */ 21187 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21188 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21189 _flag_k = FK_NARROW(FK_CMP, 24); 21190 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D787; /* 0x2B06D73C: jne 0x2b06d787 */ 21191 L_2B06D73E: 21192 edx = MEM32(ecx); /* 0x2B06D73E: mov edx, dword ptr [ecx] */ 21193 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D740: mov byte ptr [edx + 0x14], bl */ 21194 edx = MEM32(ecx); /* 0x2B06D743: mov edx, dword ptr [ecx] */ 21195 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D745: mov byte ptr [ecx + 0x14], 0 */ 21196 esi = MEM32(edx + 0x8); /* 0x2B06D749: mov esi, dword ptr [edx + 8] */ 21197 MEM32(ecx) = esi; /* 0x2B06D74C: mov dword ptr [ecx], esi */ 21198 esi = MEM32(edx + 0x8); /* 0x2B06D74E: mov esi, dword ptr [edx + 8] */ 21199 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D751: cmp esi, dword ptr [edi + 8] */ 21200 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21201 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21202 _flag_k = FK_CMP; 21203 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D759; /* 0x2B06D754: je 0x2b06d759 */ 21204 L_2B06D756: 21205 MEM32(esi + 0x4) = ecx; /* 0x2B06D756: mov dword ptr [esi + 4], ecx */ 21206 L_2B06D759: 21207 esi = MEM32(ecx + 0x4); /* 0x2B06D759: mov esi, dword ptr [ecx + 4] */ 21208 MEM32(edx + 0x4) = esi; /* 0x2B06D75C: mov dword ptr [edx + 4], esi */ 21209 esi = MEM32(edi + 0x4); /* 0x2B06D75F: mov esi, dword ptr [edi + 4] */ 21210 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D762: cmp ecx, dword ptr [esi + 4] */ 21211 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 21212 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21213 _flag_k = FK_CMP; 21214 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D76C; /* 0x2B06D765: jne 0x2b06d76c */ 21215 L_2B06D767: 21216 MEM32(esi + 0x4) = edx; /* 0x2B06D767: mov dword ptr [esi + 4], edx */ 21217 goto L_2B06D77B; /* 0x2B06D76A: jmp 0x2b06d77b */ 21218 L_2B06D76C: 21219 esi = MEM32(ecx + 0x4); /* 0x2B06D76C: mov esi, dword ptr [ecx + 4] */ 21220 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D76F: cmp ecx, dword ptr [esi + 8] */ 21221 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21222 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21223 _flag_k = FK_CMP; 21224 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D779; /* 0x2B06D772: jne 0x2b06d779 */ 21225 L_2B06D774: 21226 MEM32(esi + 0x8) = edx; /* 0x2B06D774: mov dword ptr [esi + 8], edx */ 21227 goto L_2B06D77B; /* 0x2B06D777: jmp 0x2b06d77b */ 21228 L_2B06D779: 21229 MEM32(esi) = edx; /* 0x2B06D779: mov dword ptr [esi], edx */ 21230 L_2B06D77B: 21231 MEM32(edx + 0x8) = ecx; /* 0x2B06D77B: mov dword ptr [edx + 8], ecx */ 21232 MEM32(ecx + 0x4) = edx; /* 0x2B06D77E: mov dword ptr [ecx + 4], edx */ 21233 ecx = MEM32(eax + 0x4); /* 0x2B06D781: mov ecx, dword ptr [eax + 4] */ 21234 ecx = MEM32(ecx + 0x8); /* 0x2B06D784: mov ecx, dword ptr [ecx + 8] */ 21235 L_2B06D787: 21236 edx = MEM32(eax + 0x4); /* 0x2B06D787: mov edx, dword ptr [eax + 4] */ 21237 SET_LO8(edx, MEM8(edx + 0x14)); /* 0x2B06D78A: mov dl, byte ptr [edx + 0x14] */ 21238 MEM8(ecx + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B06D78D: mov byte ptr [ecx + 0x14], dl */ 21239 edx = MEM32(eax + 0x4); /* 0x2B06D790: mov edx, dword ptr [eax + 4] */ 21240 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D793: mov byte ptr [edx + 0x14], bl */ 21241 ecx = MEM32(ecx + 0x8); /* 0x2B06D796: mov ecx, dword ptr [ecx + 8] */ 21242 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D799: mov byte ptr [ecx + 0x14], bl */ 21243 ecx = MEM32(eax + 0x4); /* 0x2B06D79C: mov ecx, dword ptr [eax + 4] */ 21244 edx = MEM32(ecx + 0x8); /* 0x2B06D79F: mov edx, dword ptr [ecx + 8] */ 21245 esi = MEM32(edx); /* 0x2B06D7A2: mov esi, dword ptr [edx] */ 21246 MEM32(ecx + 0x8) = esi; /* 0x2B06D7A4: mov dword ptr [ecx + 8], esi */ 21247 esi = MEM32(edx); /* 0x2B06D7A7: mov esi, dword ptr [edx] */ 21248 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D7A9: cmp esi, dword ptr [edi + 8] */ 21249 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21250 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21251 _flag_k = FK_CMP; 21252 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D7B1; /* 0x2B06D7AC: je 0x2b06d7b1 */ 21253 L_2B06D7AE: 21254 MEM32(esi + 0x4) = ecx; /* 0x2B06D7AE: mov dword ptr [esi + 4], ecx */ 21255 L_2B06D7B1: 21256 esi = MEM32(ecx + 0x4); /* 0x2B06D7B1: mov esi, dword ptr [ecx + 4] */ 21257 MEM32(edx + 0x4) = esi; /* 0x2B06D7B4: mov dword ptr [edx + 4], esi */ 21258 esi = MEM32(edi + 0x4); /* 0x2B06D7B7: mov esi, dword ptr [edi + 4] */ 21259 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D7BA: cmp ecx, dword ptr [esi + 4] */ 21260 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 21261 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21262 _flag_k = FK_CMP; 21263 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7C9; /* 0x2B06D7BD: jne 0x2b06d7c9 */ 21264 L_2B06D7BF: 21265 MEM32(esi + 0x4) = edx; /* 0x2B06D7BF: mov dword ptr [esi + 4], edx */ 21266 MEM32(edx) = ecx; /* 0x2B06D7C2: mov dword ptr [edx], ecx */ 21267 goto L_2B06D87F; /* 0x2B06D7C4: jmp 0x2b06d87f */ 21268 L_2B06D7C9: 21269 esi = MEM32(ecx + 0x4); /* 0x2B06D7C9: mov esi, dword ptr [ecx + 4] */ 21270 /* cmp ecx, MEM32(esi) */ /* 0x2B06D7CC: cmp ecx, dword ptr [esi] */ 21271 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 21272 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21273 _flag_k = FK_CMP; 21274 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7D9; /* 0x2B06D7CE: jne 0x2b06d7d9 */ 21275 L_2B06D7D0: 21276 MEM32(esi) = edx; /* 0x2B06D7D0: mov dword ptr [esi], edx */ 21277 MEM32(edx) = ecx; /* 0x2B06D7D2: mov dword ptr [edx], ecx */ 21278 goto L_2B06D87F; /* 0x2B06D7D4: jmp 0x2b06d87f */ 21279 L_2B06D7D9: 21280 MEM32(esi + 0x8) = edx; /* 0x2B06D7D9: mov dword ptr [esi + 8], edx */ 21281 MEM32(edx) = ecx; /* 0x2B06D7DC: mov dword ptr [edx], ecx */ 21282 goto L_2B06D87F; /* 0x2B06D7DE: jmp 0x2b06d87f */ 21283 L_2B06D7E3: 21284 edx = MEM32(ecx); /* 0x2B06D7E3: mov edx, dword ptr [ecx] */ 21285 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D7E5: cmp byte ptr [edx + 0x14], bl */ 21286 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21287 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21288 _flag_k = FK_NARROW(FK_CMP, 24); 21289 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D831; /* 0x2B06D7E8: jne 0x2b06d831 */ 21290 L_2B06D7EA: 21291 edx = MEM32(ecx + 0x8); /* 0x2B06D7EA: mov edx, dword ptr [ecx + 8] */ 21292 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D7ED: mov byte ptr [edx + 0x14], bl */ 21293 edx = MEM32(ecx + 0x8); /* 0x2B06D7F0: mov edx, dword ptr [ecx + 8] */ 21294 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D7F3: mov byte ptr [ecx + 0x14], 0 */ 21295 esi = MEM32(edx); /* 0x2B06D7F7: mov esi, dword ptr [edx] */ 21296 MEM32(ecx + 0x8) = esi; /* 0x2B06D7F9: mov dword ptr [ecx + 8], esi */ 21297 esi = MEM32(edx); /* 0x2B06D7FC: mov esi, dword ptr [edx] */ 21298 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D7FE: cmp esi, dword ptr [edi + 8] */ 21299 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21300 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21301 _flag_k = FK_CMP; 21302 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D806; /* 0x2B06D801: je 0x2b06d806 */ 21303 L_2B06D803: 21304 MEM32(esi + 0x4) = ecx; /* 0x2B06D803: mov dword ptr [esi + 4], ecx */ 21305 L_2B06D806: 21306 esi = MEM32(ecx + 0x4); /* 0x2B06D806: mov esi, dword ptr [ecx + 4] */ 21307 MEM32(edx + 0x4) = esi; /* 0x2B06D809: mov dword ptr [edx + 4], esi */ 21308 esi = MEM32(edi + 0x4); /* 0x2B06D80C: mov esi, dword ptr [edi + 4] */ 21309 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D80F: cmp ecx, dword ptr [esi + 4] */ 21310 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 21311 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21312 _flag_k = FK_CMP; 21313 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D819; /* 0x2B06D812: jne 0x2b06d819 */ 21314 L_2B06D814: 21315 MEM32(esi + 0x4) = edx; /* 0x2B06D814: mov dword ptr [esi + 4], edx */ 21316 goto L_2B06D827; /* 0x2B06D817: jmp 0x2b06d827 */ 21317 L_2B06D819: 21318 esi = MEM32(ecx + 0x4); /* 0x2B06D819: mov esi, dword ptr [ecx + 4] */ 21319 /* cmp ecx, MEM32(esi) */ /* 0x2B06D81C: cmp ecx, dword ptr [esi] */ 21320 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 21321 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21322 _flag_k = FK_CMP; 21323 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D824; /* 0x2B06D81E: jne 0x2b06d824 */ 21324 L_2B06D820: 21325 MEM32(esi) = edx; /* 0x2B06D820: mov dword ptr [esi], edx */ 21326 goto L_2B06D827; /* 0x2B06D822: jmp 0x2b06d827 */ 21327 L_2B06D824: 21328 MEM32(esi + 0x8) = edx; /* 0x2B06D824: mov dword ptr [esi + 8], edx */ 21329 L_2B06D827: 21330 MEM32(edx) = ecx; /* 0x2B06D827: mov dword ptr [edx], ecx */ 21331 MEM32(ecx + 0x4) = edx; /* 0x2B06D829: mov dword ptr [ecx + 4], edx */ 21332 ecx = MEM32(eax + 0x4); /* 0x2B06D82C: mov ecx, dword ptr [eax + 4] */ 21333 ecx = MEM32(ecx); /* 0x2B06D82F: mov ecx, dword ptr [ecx] */ 21334 L_2B06D831: 21335 edx = MEM32(eax + 0x4); /* 0x2B06D831: mov edx, dword ptr [eax + 4] */ 21336 SET_LO8(edx, MEM8(edx + 0x14)); /* 0x2B06D834: mov dl, byte ptr [edx + 0x14] */ 21337 MEM8(ecx + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B06D837: mov byte ptr [ecx + 0x14], dl */ 21338 edx = MEM32(eax + 0x4); /* 0x2B06D83A: mov edx, dword ptr [eax + 4] */ 21339 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D83D: mov byte ptr [edx + 0x14], bl */ 21340 ecx = MEM32(ecx); /* 0x2B06D840: mov ecx, dword ptr [ecx] */ 21341 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D842: mov byte ptr [ecx + 0x14], bl */ 21342 ecx = MEM32(eax + 0x4); /* 0x2B06D845: mov ecx, dword ptr [eax + 4] */ 21343 edx = MEM32(ecx); /* 0x2B06D848: mov edx, dword ptr [ecx] */ 21344 esi = MEM32(edx + 0x8); /* 0x2B06D84A: mov esi, dword ptr [edx + 8] */ 21345 MEM32(ecx) = esi; /* 0x2B06D84D: mov dword ptr [ecx], esi */ 21346 esi = MEM32(edx + 0x8); /* 0x2B06D84F: mov esi, dword ptr [edx + 8] */ 21347 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D852: cmp esi, dword ptr [edi + 8] */ 21348 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21349 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21350 _flag_k = FK_CMP; 21351 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D85A; /* 0x2B06D855: je 0x2b06d85a */ 21352 L_2B06D857: 21353 MEM32(esi + 0x4) = ecx; /* 0x2B06D857: mov dword ptr [esi + 4], ecx */ 21354 L_2B06D85A: 21355 esi = MEM32(ecx + 0x4); /* 0x2B06D85A: mov esi, dword ptr [ecx + 4] */ 21356 MEM32(edx + 0x4) = esi; /* 0x2B06D85D: mov dword ptr [edx + 4], esi */ 21357 esi = MEM32(edi + 0x4); /* 0x2B06D860: mov esi, dword ptr [edi + 4] */ 21358 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D863: cmp ecx, dword ptr [esi + 4] */ 21359 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 21360 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21361 _flag_k = FK_CMP; 21362 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D86D; /* 0x2B06D866: jne 0x2b06d86d */ 21363 L_2B06D868: 21364 MEM32(esi + 0x4) = edx; /* 0x2B06D868: mov dword ptr [esi + 4], edx */ 21365 goto L_2B06D87C; /* 0x2B06D86B: jmp 0x2b06d87c */ 21366 L_2B06D86D: 21367 esi = MEM32(ecx + 0x4); /* 0x2B06D86D: mov esi, dword ptr [ecx + 4] */ 21368 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D870: cmp ecx, dword ptr [esi + 8] */ 21369 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21370 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21371 _flag_k = FK_CMP; 21372 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D87A; /* 0x2B06D873: jne 0x2b06d87a */ 21373 L_2B06D875: 21374 MEM32(esi + 0x8) = edx; /* 0x2B06D875: mov dword ptr [esi + 8], edx */ 21375 goto L_2B06D87C; /* 0x2B06D878: jmp 0x2b06d87c */ 21376 L_2B06D87A: 21377 MEM32(esi) = edx; /* 0x2B06D87A: mov dword ptr [esi], edx */ 21378 L_2B06D87C: 21379 MEM32(edx + 0x8) = ecx; /* 0x2B06D87C: mov dword ptr [edx + 8], ecx */ 21380 L_2B06D87F: 21381 MEM32(ecx + 0x4) = edx; /* 0x2B06D87F: mov dword ptr [ecx + 4], edx */ 21382 L_2B06D882: 21383 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D882: mov byte ptr [eax + 0x14], bl */ 21384 edx = MEM32(ebp + (-0x4)); /* 0x2B06D885: mov edx, dword ptr [ebp - 4] */ 21385 PUSH32(esp, edx); /* 0x2B06D888: push edx */ 21386 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06D889: call 0x2b0ab1ba */ /* not lifted */ 21387 RECOMP_FLAGS_IN(); 21388 eax = MEM32(edi + 0x10); /* 0x2B06D88E: mov eax, dword ptr [edi + 0x10] */ 21389 ecx = MEM32(ebp + 0xC); /* 0x2B06D891: mov ecx, dword ptr [ebp + 0xc] */ 21390 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 21391 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21392 esp = esp + 4; /* 0x2B06D894: add esp, 4 */ 21393 _flag_k = FK_ADD; 21394 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 21395 eax = eax - 1; /* 0x2B06D897: dec eax */ 21396 _flag_k = FK_DEC; 21397 MEM32(edi + 0x10) = eax; /* 0x2B06D898: mov dword ptr [edi + 0x10], eax */ 21398 eax = MEM32(ebp + 0x8); /* 0x2B06D89B: mov eax, dword ptr [ebp + 8] */ 21399 edi = POP32_VAL(esp); /* 0x2B06D89E: pop edi */ 21400 esi = POP32_VAL(esp); /* 0x2B06D89F: pop esi */ 21401 MEM32(eax) = ecx; /* 0x2B06D8A0: mov dword ptr [eax], ecx */ 21402 ebx = POP32_VAL(esp); /* 0x2B06D8A2: pop ebx */ 21403 esp = ebp; /* 0x2B06D8A3: mov esp, ebp */ 21404 ebp = POP32_VAL(esp); /* 0x2B06D8A5: pop ebp */ 21405 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B06D8A6: ret 8 */ 21406 RECOMP_REGS_OUT(); 21407 } 21408 21409 void sub_2B06D69B(void) { 21410 int _fpu_cmp = 0; 21411 uint32_t _cf = 0; 21412 int _df = 1; 21413 uint32_t _flag_k = FK_NONE; 21414 uint32_t _flag_a = 0, _flag_b = 0; 21415 uint32_t _itail_tgt = 0; 21416 RECOMP_REGS_LOCALS 21417 RECOMP_ENTER(0x2B06D69Bu); 21418 21419 goto L_2B06D69B; 21420 L_2B06D634: 21421 /* cmp MEM8(eax + 0x14), LO8(ebx) */ /* 0x2B06D634: cmp byte ptr [eax + 0x14], bl */ 21422 _flag_a = (uint32_t)(MEM8(eax + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21423 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21424 _flag_k = FK_NARROW(FK_CMP, 24); 21425 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D882; /* 0x2B06D637: jne 0x2b06d882 */ 21426 L_2B06D63D: 21427 edx = MEM32(eax + 0x4); /* 0x2B06D63D: mov edx, dword ptr [eax + 4] */ 21428 ecx = MEM32(edx); /* 0x2B06D640: mov ecx, dword ptr [edx] */ 21429 /* cmp eax, ecx */ /* 0x2B06D642: cmp eax, ecx */ 21430 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 21431 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21432 _flag_k = FK_CMP; 21433 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6B4; /* 0x2B06D644: jne 0x2b06d6b4 */ 21434 L_2B06D646: 21435 ecx = MEM32(edx + 0x8); /* 0x2B06D646: mov ecx, dword ptr [edx + 8] */ 21436 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2B06D649: mov dl, byte ptr [ecx + 0x14] */ 21437 /* test LO8(edx), LO8(edx) */ /* 0x2B06D64C: test dl, dl */ 21438 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 21439 _cf = 0; 21440 _flag_k = FK_NARROW(FK_TEST, 24); 21441 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06D69B; /* 0x2B06D64E: jne 0x2b06d69b */ 21442 L_2B06D650: 21443 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D650: mov byte ptr [ecx + 0x14], bl */ 21444 ecx = MEM32(eax + 0x4); /* 0x2B06D653: mov ecx, dword ptr [eax + 4] */ 21445 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D656: mov byte ptr [ecx + 0x14], 0 */ 21446 ecx = MEM32(eax + 0x4); /* 0x2B06D65A: mov ecx, dword ptr [eax + 4] */ 21447 edx = MEM32(ecx + 0x8); /* 0x2B06D65D: mov edx, dword ptr [ecx + 8] */ 21448 esi = MEM32(edx); /* 0x2B06D660: mov esi, dword ptr [edx] */ 21449 MEM32(ecx + 0x8) = esi; /* 0x2B06D662: mov dword ptr [ecx + 8], esi */ 21450 esi = MEM32(edx); /* 0x2B06D665: mov esi, dword ptr [edx] */ 21451 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D667: cmp esi, dword ptr [edi + 8] */ 21452 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21453 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21454 _flag_k = FK_CMP; 21455 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D66F; /* 0x2B06D66A: je 0x2b06d66f */ 21456 L_2B06D66C: 21457 MEM32(esi + 0x4) = ecx; /* 0x2B06D66C: mov dword ptr [esi + 4], ecx */ 21458 L_2B06D66F: 21459 esi = MEM32(ecx + 0x4); /* 0x2B06D66F: mov esi, dword ptr [ecx + 4] */ 21460 MEM32(edx + 0x4) = esi; /* 0x2B06D672: mov dword ptr [edx + 4], esi */ 21461 esi = MEM32(edi + 0x4); /* 0x2B06D675: mov esi, dword ptr [edi + 4] */ 21462 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D678: cmp ecx, dword ptr [esi + 4] */ 21463 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 21464 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21465 _flag_k = FK_CMP; 21466 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D682; /* 0x2B06D67B: jne 0x2b06d682 */ 21467 L_2B06D67D: 21468 MEM32(esi + 0x4) = edx; /* 0x2B06D67D: mov dword ptr [esi + 4], edx */ 21469 goto L_2B06D690; /* 0x2B06D680: jmp 0x2b06d690 */ 21470 L_2B06D682: 21471 esi = MEM32(ecx + 0x4); /* 0x2B06D682: mov esi, dword ptr [ecx + 4] */ 21472 /* cmp ecx, MEM32(esi) */ /* 0x2B06D685: cmp ecx, dword ptr [esi] */ 21473 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 21474 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21475 _flag_k = FK_CMP; 21476 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D68D; /* 0x2B06D687: jne 0x2b06d68d */ 21477 L_2B06D689: 21478 MEM32(esi) = edx; /* 0x2B06D689: mov dword ptr [esi], edx */ 21479 goto L_2B06D690; /* 0x2B06D68B: jmp 0x2b06d690 */ 21480 L_2B06D68D: 21481 MEM32(esi + 0x8) = edx; /* 0x2B06D68D: mov dword ptr [esi + 8], edx */ 21482 L_2B06D690: 21483 MEM32(edx) = ecx; /* 0x2B06D690: mov dword ptr [edx], ecx */ 21484 MEM32(ecx + 0x4) = edx; /* 0x2B06D692: mov dword ptr [ecx + 4], edx */ 21485 edx = MEM32(eax + 0x4); /* 0x2B06D695: mov edx, dword ptr [eax + 4] */ 21486 ecx = MEM32(edx + 0x8); /* 0x2B06D698: mov ecx, dword ptr [edx + 8] */ 21487 L_2B06D69B: 21488 edx = MEM32(ecx); /* 0x2B06D69B: mov edx, dword ptr [ecx] */ 21489 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D69D: cmp byte ptr [edx + 0x14], bl */ 21490 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21491 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21492 _flag_k = FK_NARROW(FK_CMP, 24); 21493 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D736; /* 0x2B06D6A0: jne 0x2b06d736 */ 21494 L_2B06D6A6: 21495 edx = MEM32(ecx + 0x8); /* 0x2B06D6A6: mov edx, dword ptr [ecx + 8] */ 21496 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D6A9: cmp byte ptr [edx + 0x14], bl */ 21497 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21498 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21499 _flag_k = FK_NARROW(FK_CMP, 24); 21500 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D736; /* 0x2B06D6AC: jne 0x2b06d736 */ 21501 L_2B06D6B2: 21502 goto L_2B06D71E; /* 0x2B06D6B2: jmp 0x2b06d71e */ 21503 L_2B06D6B4: 21504 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2B06D6B4: mov dl, byte ptr [ecx + 0x14] */ 21505 /* test LO8(edx), LO8(edx) */ /* 0x2B06D6B7: test dl, dl */ 21506 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 21507 _cf = 0; 21508 _flag_k = FK_NARROW(FK_TEST, 24); 21509 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06D707; /* 0x2B06D6B9: jne 0x2b06d707 */ 21510 L_2B06D6BB: 21511 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D6BB: mov byte ptr [ecx + 0x14], bl */ 21512 ecx = MEM32(eax + 0x4); /* 0x2B06D6BE: mov ecx, dword ptr [eax + 4] */ 21513 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D6C1: mov byte ptr [ecx + 0x14], 0 */ 21514 ecx = MEM32(eax + 0x4); /* 0x2B06D6C5: mov ecx, dword ptr [eax + 4] */ 21515 edx = MEM32(ecx); /* 0x2B06D6C8: mov edx, dword ptr [ecx] */ 21516 esi = MEM32(edx + 0x8); /* 0x2B06D6CA: mov esi, dword ptr [edx + 8] */ 21517 MEM32(ecx) = esi; /* 0x2B06D6CD: mov dword ptr [ecx], esi */ 21518 esi = MEM32(edx + 0x8); /* 0x2B06D6CF: mov esi, dword ptr [edx + 8] */ 21519 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D6D2: cmp esi, dword ptr [edi + 8] */ 21520 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21521 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21522 _flag_k = FK_CMP; 21523 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D6DA; /* 0x2B06D6D5: je 0x2b06d6da */ 21524 L_2B06D6D7: 21525 MEM32(esi + 0x4) = ecx; /* 0x2B06D6D7: mov dword ptr [esi + 4], ecx */ 21526 L_2B06D6DA: 21527 esi = MEM32(ecx + 0x4); /* 0x2B06D6DA: mov esi, dword ptr [ecx + 4] */ 21528 MEM32(edx + 0x4) = esi; /* 0x2B06D6DD: mov dword ptr [edx + 4], esi */ 21529 esi = MEM32(edi + 0x4); /* 0x2B06D6E0: mov esi, dword ptr [edi + 4] */ 21530 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D6E3: cmp ecx, dword ptr [esi + 4] */ 21531 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 21532 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21533 _flag_k = FK_CMP; 21534 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6ED; /* 0x2B06D6E6: jne 0x2b06d6ed */ 21535 L_2B06D6E8: 21536 MEM32(esi + 0x4) = edx; /* 0x2B06D6E8: mov dword ptr [esi + 4], edx */ 21537 goto L_2B06D6FC; /* 0x2B06D6EB: jmp 0x2b06d6fc */ 21538 L_2B06D6ED: 21539 esi = MEM32(ecx + 0x4); /* 0x2B06D6ED: mov esi, dword ptr [ecx + 4] */ 21540 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D6F0: cmp ecx, dword ptr [esi + 8] */ 21541 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21542 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21543 _flag_k = FK_CMP; 21544 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6FA; /* 0x2B06D6F3: jne 0x2b06d6fa */ 21545 L_2B06D6F5: 21546 MEM32(esi + 0x8) = edx; /* 0x2B06D6F5: mov dword ptr [esi + 8], edx */ 21547 goto L_2B06D6FC; /* 0x2B06D6F8: jmp 0x2b06d6fc */ 21548 L_2B06D6FA: 21549 MEM32(esi) = edx; /* 0x2B06D6FA: mov dword ptr [esi], edx */ 21550 L_2B06D6FC: 21551 MEM32(edx + 0x8) = ecx; /* 0x2B06D6FC: mov dword ptr [edx + 8], ecx */ 21552 MEM32(ecx + 0x4) = edx; /* 0x2B06D6FF: mov dword ptr [ecx + 4], edx */ 21553 edx = MEM32(eax + 0x4); /* 0x2B06D702: mov edx, dword ptr [eax + 4] */ 21554 ecx = MEM32(edx); /* 0x2B06D705: mov ecx, dword ptr [edx] */ 21555 L_2B06D707: 21556 edx = MEM32(ecx + 0x8); /* 0x2B06D707: mov edx, dword ptr [ecx + 8] */ 21557 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D70A: cmp byte ptr [edx + 0x14], bl */ 21558 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21559 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21560 _flag_k = FK_NARROW(FK_CMP, 24); 21561 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7E3; /* 0x2B06D70D: jne 0x2b06d7e3 */ 21562 L_2B06D713: 21563 edx = MEM32(ecx); /* 0x2B06D713: mov edx, dword ptr [ecx] */ 21564 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D715: cmp byte ptr [edx + 0x14], bl */ 21565 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21566 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21567 _flag_k = FK_NARROW(FK_CMP, 24); 21568 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7E3; /* 0x2B06D718: jne 0x2b06d7e3 */ 21569 L_2B06D71E: 21570 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D71E: mov byte ptr [ecx + 0x14], 0 */ 21571 ecx = MEM32(edi + 0x4); /* 0x2B06D722: mov ecx, dword ptr [edi + 4] */ 21572 eax = MEM32(eax + 0x4); /* 0x2B06D725: mov eax, dword ptr [eax + 4] */ 21573 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B06D728: cmp eax, dword ptr [ecx + 4] */ 21574 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 21575 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21576 _flag_k = FK_CMP; 21577 RECOMP_BACKEDGE(); 21578 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D634; /* 0x2B06D72B: jne 0x2b06d634 */ 21579 L_2B06D731: 21580 goto L_2B06D882; /* 0x2B06D731: jmp 0x2b06d882 */ 21581 L_2B06D736: 21582 edx = MEM32(ecx + 0x8); /* 0x2B06D736: mov edx, dword ptr [ecx + 8] */ 21583 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D739: cmp byte ptr [edx + 0x14], bl */ 21584 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21585 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21586 _flag_k = FK_NARROW(FK_CMP, 24); 21587 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D787; /* 0x2B06D73C: jne 0x2b06d787 */ 21588 L_2B06D73E: 21589 edx = MEM32(ecx); /* 0x2B06D73E: mov edx, dword ptr [ecx] */ 21590 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D740: mov byte ptr [edx + 0x14], bl */ 21591 edx = MEM32(ecx); /* 0x2B06D743: mov edx, dword ptr [ecx] */ 21592 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D745: mov byte ptr [ecx + 0x14], 0 */ 21593 esi = MEM32(edx + 0x8); /* 0x2B06D749: mov esi, dword ptr [edx + 8] */ 21594 MEM32(ecx) = esi; /* 0x2B06D74C: mov dword ptr [ecx], esi */ 21595 esi = MEM32(edx + 0x8); /* 0x2B06D74E: mov esi, dword ptr [edx + 8] */ 21596 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D751: cmp esi, dword ptr [edi + 8] */ 21597 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21598 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21599 _flag_k = FK_CMP; 21600 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D759; /* 0x2B06D754: je 0x2b06d759 */ 21601 L_2B06D756: 21602 MEM32(esi + 0x4) = ecx; /* 0x2B06D756: mov dword ptr [esi + 4], ecx */ 21603 L_2B06D759: 21604 esi = MEM32(ecx + 0x4); /* 0x2B06D759: mov esi, dword ptr [ecx + 4] */ 21605 MEM32(edx + 0x4) = esi; /* 0x2B06D75C: mov dword ptr [edx + 4], esi */ 21606 esi = MEM32(edi + 0x4); /* 0x2B06D75F: mov esi, dword ptr [edi + 4] */ 21607 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D762: cmp ecx, dword ptr [esi + 4] */ 21608 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 21609 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21610 _flag_k = FK_CMP; 21611 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D76C; /* 0x2B06D765: jne 0x2b06d76c */ 21612 L_2B06D767: 21613 MEM32(esi + 0x4) = edx; /* 0x2B06D767: mov dword ptr [esi + 4], edx */ 21614 goto L_2B06D77B; /* 0x2B06D76A: jmp 0x2b06d77b */ 21615 L_2B06D76C: 21616 esi = MEM32(ecx + 0x4); /* 0x2B06D76C: mov esi, dword ptr [ecx + 4] */ 21617 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D76F: cmp ecx, dword ptr [esi + 8] */ 21618 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21619 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21620 _flag_k = FK_CMP; 21621 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D779; /* 0x2B06D772: jne 0x2b06d779 */ 21622 L_2B06D774: 21623 MEM32(esi + 0x8) = edx; /* 0x2B06D774: mov dword ptr [esi + 8], edx */ 21624 goto L_2B06D77B; /* 0x2B06D777: jmp 0x2b06d77b */ 21625 L_2B06D779: 21626 MEM32(esi) = edx; /* 0x2B06D779: mov dword ptr [esi], edx */ 21627 L_2B06D77B: 21628 MEM32(edx + 0x8) = ecx; /* 0x2B06D77B: mov dword ptr [edx + 8], ecx */ 21629 MEM32(ecx + 0x4) = edx; /* 0x2B06D77E: mov dword ptr [ecx + 4], edx */ 21630 ecx = MEM32(eax + 0x4); /* 0x2B06D781: mov ecx, dword ptr [eax + 4] */ 21631 ecx = MEM32(ecx + 0x8); /* 0x2B06D784: mov ecx, dword ptr [ecx + 8] */ 21632 L_2B06D787: 21633 edx = MEM32(eax + 0x4); /* 0x2B06D787: mov edx, dword ptr [eax + 4] */ 21634 SET_LO8(edx, MEM8(edx + 0x14)); /* 0x2B06D78A: mov dl, byte ptr [edx + 0x14] */ 21635 MEM8(ecx + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B06D78D: mov byte ptr [ecx + 0x14], dl */ 21636 edx = MEM32(eax + 0x4); /* 0x2B06D790: mov edx, dword ptr [eax + 4] */ 21637 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D793: mov byte ptr [edx + 0x14], bl */ 21638 ecx = MEM32(ecx + 0x8); /* 0x2B06D796: mov ecx, dword ptr [ecx + 8] */ 21639 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D799: mov byte ptr [ecx + 0x14], bl */ 21640 ecx = MEM32(eax + 0x4); /* 0x2B06D79C: mov ecx, dword ptr [eax + 4] */ 21641 edx = MEM32(ecx + 0x8); /* 0x2B06D79F: mov edx, dword ptr [ecx + 8] */ 21642 esi = MEM32(edx); /* 0x2B06D7A2: mov esi, dword ptr [edx] */ 21643 MEM32(ecx + 0x8) = esi; /* 0x2B06D7A4: mov dword ptr [ecx + 8], esi */ 21644 esi = MEM32(edx); /* 0x2B06D7A7: mov esi, dword ptr [edx] */ 21645 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D7A9: cmp esi, dword ptr [edi + 8] */ 21646 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21647 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21648 _flag_k = FK_CMP; 21649 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D7B1; /* 0x2B06D7AC: je 0x2b06d7b1 */ 21650 L_2B06D7AE: 21651 MEM32(esi + 0x4) = ecx; /* 0x2B06D7AE: mov dword ptr [esi + 4], ecx */ 21652 L_2B06D7B1: 21653 esi = MEM32(ecx + 0x4); /* 0x2B06D7B1: mov esi, dword ptr [ecx + 4] */ 21654 MEM32(edx + 0x4) = esi; /* 0x2B06D7B4: mov dword ptr [edx + 4], esi */ 21655 esi = MEM32(edi + 0x4); /* 0x2B06D7B7: mov esi, dword ptr [edi + 4] */ 21656 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D7BA: cmp ecx, dword ptr [esi + 4] */ 21657 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 21658 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21659 _flag_k = FK_CMP; 21660 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7C9; /* 0x2B06D7BD: jne 0x2b06d7c9 */ 21661 L_2B06D7BF: 21662 MEM32(esi + 0x4) = edx; /* 0x2B06D7BF: mov dword ptr [esi + 4], edx */ 21663 MEM32(edx) = ecx; /* 0x2B06D7C2: mov dword ptr [edx], ecx */ 21664 goto L_2B06D87F; /* 0x2B06D7C4: jmp 0x2b06d87f */ 21665 L_2B06D7C9: 21666 esi = MEM32(ecx + 0x4); /* 0x2B06D7C9: mov esi, dword ptr [ecx + 4] */ 21667 /* cmp ecx, MEM32(esi) */ /* 0x2B06D7CC: cmp ecx, dword ptr [esi] */ 21668 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 21669 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21670 _flag_k = FK_CMP; 21671 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7D9; /* 0x2B06D7CE: jne 0x2b06d7d9 */ 21672 L_2B06D7D0: 21673 MEM32(esi) = edx; /* 0x2B06D7D0: mov dword ptr [esi], edx */ 21674 MEM32(edx) = ecx; /* 0x2B06D7D2: mov dword ptr [edx], ecx */ 21675 goto L_2B06D87F; /* 0x2B06D7D4: jmp 0x2b06d87f */ 21676 L_2B06D7D9: 21677 MEM32(esi + 0x8) = edx; /* 0x2B06D7D9: mov dword ptr [esi + 8], edx */ 21678 MEM32(edx) = ecx; /* 0x2B06D7DC: mov dword ptr [edx], ecx */ 21679 goto L_2B06D87F; /* 0x2B06D7DE: jmp 0x2b06d87f */ 21680 L_2B06D7E3: 21681 edx = MEM32(ecx); /* 0x2B06D7E3: mov edx, dword ptr [ecx] */ 21682 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D7E5: cmp byte ptr [edx + 0x14], bl */ 21683 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21684 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21685 _flag_k = FK_NARROW(FK_CMP, 24); 21686 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D831; /* 0x2B06D7E8: jne 0x2b06d831 */ 21687 L_2B06D7EA: 21688 edx = MEM32(ecx + 0x8); /* 0x2B06D7EA: mov edx, dword ptr [ecx + 8] */ 21689 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D7ED: mov byte ptr [edx + 0x14], bl */ 21690 edx = MEM32(ecx + 0x8); /* 0x2B06D7F0: mov edx, dword ptr [ecx + 8] */ 21691 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D7F3: mov byte ptr [ecx + 0x14], 0 */ 21692 esi = MEM32(edx); /* 0x2B06D7F7: mov esi, dword ptr [edx] */ 21693 MEM32(ecx + 0x8) = esi; /* 0x2B06D7F9: mov dword ptr [ecx + 8], esi */ 21694 esi = MEM32(edx); /* 0x2B06D7FC: mov esi, dword ptr [edx] */ 21695 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D7FE: cmp esi, dword ptr [edi + 8] */ 21696 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21697 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21698 _flag_k = FK_CMP; 21699 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D806; /* 0x2B06D801: je 0x2b06d806 */ 21700 L_2B06D803: 21701 MEM32(esi + 0x4) = ecx; /* 0x2B06D803: mov dword ptr [esi + 4], ecx */ 21702 L_2B06D806: 21703 esi = MEM32(ecx + 0x4); /* 0x2B06D806: mov esi, dword ptr [ecx + 4] */ 21704 MEM32(edx + 0x4) = esi; /* 0x2B06D809: mov dword ptr [edx + 4], esi */ 21705 esi = MEM32(edi + 0x4); /* 0x2B06D80C: mov esi, dword ptr [edi + 4] */ 21706 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D80F: cmp ecx, dword ptr [esi + 4] */ 21707 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 21708 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21709 _flag_k = FK_CMP; 21710 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D819; /* 0x2B06D812: jne 0x2b06d819 */ 21711 L_2B06D814: 21712 MEM32(esi + 0x4) = edx; /* 0x2B06D814: mov dword ptr [esi + 4], edx */ 21713 goto L_2B06D827; /* 0x2B06D817: jmp 0x2b06d827 */ 21714 L_2B06D819: 21715 esi = MEM32(ecx + 0x4); /* 0x2B06D819: mov esi, dword ptr [ecx + 4] */ 21716 /* cmp ecx, MEM32(esi) */ /* 0x2B06D81C: cmp ecx, dword ptr [esi] */ 21717 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 21718 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21719 _flag_k = FK_CMP; 21720 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D824; /* 0x2B06D81E: jne 0x2b06d824 */ 21721 L_2B06D820: 21722 MEM32(esi) = edx; /* 0x2B06D820: mov dword ptr [esi], edx */ 21723 goto L_2B06D827; /* 0x2B06D822: jmp 0x2b06d827 */ 21724 L_2B06D824: 21725 MEM32(esi + 0x8) = edx; /* 0x2B06D824: mov dword ptr [esi + 8], edx */ 21726 L_2B06D827: 21727 MEM32(edx) = ecx; /* 0x2B06D827: mov dword ptr [edx], ecx */ 21728 MEM32(ecx + 0x4) = edx; /* 0x2B06D829: mov dword ptr [ecx + 4], edx */ 21729 ecx = MEM32(eax + 0x4); /* 0x2B06D82C: mov ecx, dword ptr [eax + 4] */ 21730 ecx = MEM32(ecx); /* 0x2B06D82F: mov ecx, dword ptr [ecx] */ 21731 L_2B06D831: 21732 edx = MEM32(eax + 0x4); /* 0x2B06D831: mov edx, dword ptr [eax + 4] */ 21733 SET_LO8(edx, MEM8(edx + 0x14)); /* 0x2B06D834: mov dl, byte ptr [edx + 0x14] */ 21734 MEM8(ecx + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B06D837: mov byte ptr [ecx + 0x14], dl */ 21735 edx = MEM32(eax + 0x4); /* 0x2B06D83A: mov edx, dword ptr [eax + 4] */ 21736 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D83D: mov byte ptr [edx + 0x14], bl */ 21737 ecx = MEM32(ecx); /* 0x2B06D840: mov ecx, dword ptr [ecx] */ 21738 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D842: mov byte ptr [ecx + 0x14], bl */ 21739 ecx = MEM32(eax + 0x4); /* 0x2B06D845: mov ecx, dword ptr [eax + 4] */ 21740 edx = MEM32(ecx); /* 0x2B06D848: mov edx, dword ptr [ecx] */ 21741 esi = MEM32(edx + 0x8); /* 0x2B06D84A: mov esi, dword ptr [edx + 8] */ 21742 MEM32(ecx) = esi; /* 0x2B06D84D: mov dword ptr [ecx], esi */ 21743 esi = MEM32(edx + 0x8); /* 0x2B06D84F: mov esi, dword ptr [edx + 8] */ 21744 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D852: cmp esi, dword ptr [edi + 8] */ 21745 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21746 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21747 _flag_k = FK_CMP; 21748 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D85A; /* 0x2B06D855: je 0x2b06d85a */ 21749 L_2B06D857: 21750 MEM32(esi + 0x4) = ecx; /* 0x2B06D857: mov dword ptr [esi + 4], ecx */ 21751 L_2B06D85A: 21752 esi = MEM32(ecx + 0x4); /* 0x2B06D85A: mov esi, dword ptr [ecx + 4] */ 21753 MEM32(edx + 0x4) = esi; /* 0x2B06D85D: mov dword ptr [edx + 4], esi */ 21754 esi = MEM32(edi + 0x4); /* 0x2B06D860: mov esi, dword ptr [edi + 4] */ 21755 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D863: cmp ecx, dword ptr [esi + 4] */ 21756 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 21757 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21758 _flag_k = FK_CMP; 21759 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D86D; /* 0x2B06D866: jne 0x2b06d86d */ 21760 L_2B06D868: 21761 MEM32(esi + 0x4) = edx; /* 0x2B06D868: mov dword ptr [esi + 4], edx */ 21762 goto L_2B06D87C; /* 0x2B06D86B: jmp 0x2b06d87c */ 21763 L_2B06D86D: 21764 esi = MEM32(ecx + 0x4); /* 0x2B06D86D: mov esi, dword ptr [ecx + 4] */ 21765 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D870: cmp ecx, dword ptr [esi + 8] */ 21766 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21767 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21768 _flag_k = FK_CMP; 21769 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D87A; /* 0x2B06D873: jne 0x2b06d87a */ 21770 L_2B06D875: 21771 MEM32(esi + 0x8) = edx; /* 0x2B06D875: mov dword ptr [esi + 8], edx */ 21772 goto L_2B06D87C; /* 0x2B06D878: jmp 0x2b06d87c */ 21773 L_2B06D87A: 21774 MEM32(esi) = edx; /* 0x2B06D87A: mov dword ptr [esi], edx */ 21775 L_2B06D87C: 21776 MEM32(edx + 0x8) = ecx; /* 0x2B06D87C: mov dword ptr [edx + 8], ecx */ 21777 L_2B06D87F: 21778 MEM32(ecx + 0x4) = edx; /* 0x2B06D87F: mov dword ptr [ecx + 4], edx */ 21779 L_2B06D882: 21780 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D882: mov byte ptr [eax + 0x14], bl */ 21781 edx = MEM32(ebp + (-0x4)); /* 0x2B06D885: mov edx, dword ptr [ebp - 4] */ 21782 PUSH32(esp, edx); /* 0x2B06D888: push edx */ 21783 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06D889: call 0x2b0ab1ba */ /* not lifted */ 21784 RECOMP_FLAGS_IN(); 21785 eax = MEM32(edi + 0x10); /* 0x2B06D88E: mov eax, dword ptr [edi + 0x10] */ 21786 ecx = MEM32(ebp + 0xC); /* 0x2B06D891: mov ecx, dword ptr [ebp + 0xc] */ 21787 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 21788 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21789 esp = esp + 4; /* 0x2B06D894: add esp, 4 */ 21790 _flag_k = FK_ADD; 21791 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 21792 eax = eax - 1; /* 0x2B06D897: dec eax */ 21793 _flag_k = FK_DEC; 21794 MEM32(edi + 0x10) = eax; /* 0x2B06D898: mov dword ptr [edi + 0x10], eax */ 21795 eax = MEM32(ebp + 0x8); /* 0x2B06D89B: mov eax, dword ptr [ebp + 8] */ 21796 edi = POP32_VAL(esp); /* 0x2B06D89E: pop edi */ 21797 esi = POP32_VAL(esp); /* 0x2B06D89F: pop esi */ 21798 MEM32(eax) = ecx; /* 0x2B06D8A0: mov dword ptr [eax], ecx */ 21799 ebx = POP32_VAL(esp); /* 0x2B06D8A2: pop ebx */ 21800 esp = ebp; /* 0x2B06D8A3: mov esp, ebp */ 21801 ebp = POP32_VAL(esp); /* 0x2B06D8A5: pop ebp */ 21802 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B06D8A6: ret 8 */ 21803 RECOMP_REGS_OUT(); 21804 } 21805 21806 void sub_2B06D6B4(void) { 21807 int _fpu_cmp = 0; 21808 uint32_t _cf = 0; 21809 int _df = 1; 21810 uint32_t _flag_k = FK_NONE; 21811 uint32_t _flag_a = 0, _flag_b = 0; 21812 uint32_t _itail_tgt = 0; 21813 RECOMP_REGS_LOCALS 21814 RECOMP_ENTER(0x2B06D6B4u); 21815 21816 goto L_2B06D6B4; 21817 L_2B06D634: 21818 /* cmp MEM8(eax + 0x14), LO8(ebx) */ /* 0x2B06D634: cmp byte ptr [eax + 0x14], bl */ 21819 _flag_a = (uint32_t)(MEM8(eax + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21820 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21821 _flag_k = FK_NARROW(FK_CMP, 24); 21822 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D882; /* 0x2B06D637: jne 0x2b06d882 */ 21823 L_2B06D63D: 21824 edx = MEM32(eax + 0x4); /* 0x2B06D63D: mov edx, dword ptr [eax + 4] */ 21825 ecx = MEM32(edx); /* 0x2B06D640: mov ecx, dword ptr [edx] */ 21826 /* cmp eax, ecx */ /* 0x2B06D642: cmp eax, ecx */ 21827 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 21828 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21829 _flag_k = FK_CMP; 21830 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6B4; /* 0x2B06D644: jne 0x2b06d6b4 */ 21831 L_2B06D646: 21832 ecx = MEM32(edx + 0x8); /* 0x2B06D646: mov ecx, dword ptr [edx + 8] */ 21833 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2B06D649: mov dl, byte ptr [ecx + 0x14] */ 21834 /* test LO8(edx), LO8(edx) */ /* 0x2B06D64C: test dl, dl */ 21835 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 21836 _cf = 0; 21837 _flag_k = FK_NARROW(FK_TEST, 24); 21838 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06D69B; /* 0x2B06D64E: jne 0x2b06d69b */ 21839 L_2B06D650: 21840 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D650: mov byte ptr [ecx + 0x14], bl */ 21841 ecx = MEM32(eax + 0x4); /* 0x2B06D653: mov ecx, dword ptr [eax + 4] */ 21842 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D656: mov byte ptr [ecx + 0x14], 0 */ 21843 ecx = MEM32(eax + 0x4); /* 0x2B06D65A: mov ecx, dword ptr [eax + 4] */ 21844 edx = MEM32(ecx + 0x8); /* 0x2B06D65D: mov edx, dword ptr [ecx + 8] */ 21845 esi = MEM32(edx); /* 0x2B06D660: mov esi, dword ptr [edx] */ 21846 MEM32(ecx + 0x8) = esi; /* 0x2B06D662: mov dword ptr [ecx + 8], esi */ 21847 esi = MEM32(edx); /* 0x2B06D665: mov esi, dword ptr [edx] */ 21848 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D667: cmp esi, dword ptr [edi + 8] */ 21849 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21850 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21851 _flag_k = FK_CMP; 21852 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D66F; /* 0x2B06D66A: je 0x2b06d66f */ 21853 L_2B06D66C: 21854 MEM32(esi + 0x4) = ecx; /* 0x2B06D66C: mov dword ptr [esi + 4], ecx */ 21855 L_2B06D66F: 21856 esi = MEM32(ecx + 0x4); /* 0x2B06D66F: mov esi, dword ptr [ecx + 4] */ 21857 MEM32(edx + 0x4) = esi; /* 0x2B06D672: mov dword ptr [edx + 4], esi */ 21858 esi = MEM32(edi + 0x4); /* 0x2B06D675: mov esi, dword ptr [edi + 4] */ 21859 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D678: cmp ecx, dword ptr [esi + 4] */ 21860 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 21861 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21862 _flag_k = FK_CMP; 21863 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D682; /* 0x2B06D67B: jne 0x2b06d682 */ 21864 L_2B06D67D: 21865 MEM32(esi + 0x4) = edx; /* 0x2B06D67D: mov dword ptr [esi + 4], edx */ 21866 goto L_2B06D690; /* 0x2B06D680: jmp 0x2b06d690 */ 21867 L_2B06D682: 21868 esi = MEM32(ecx + 0x4); /* 0x2B06D682: mov esi, dword ptr [ecx + 4] */ 21869 /* cmp ecx, MEM32(esi) */ /* 0x2B06D685: cmp ecx, dword ptr [esi] */ 21870 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 21871 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21872 _flag_k = FK_CMP; 21873 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D68D; /* 0x2B06D687: jne 0x2b06d68d */ 21874 L_2B06D689: 21875 MEM32(esi) = edx; /* 0x2B06D689: mov dword ptr [esi], edx */ 21876 goto L_2B06D690; /* 0x2B06D68B: jmp 0x2b06d690 */ 21877 L_2B06D68D: 21878 MEM32(esi + 0x8) = edx; /* 0x2B06D68D: mov dword ptr [esi + 8], edx */ 21879 L_2B06D690: 21880 MEM32(edx) = ecx; /* 0x2B06D690: mov dword ptr [edx], ecx */ 21881 MEM32(ecx + 0x4) = edx; /* 0x2B06D692: mov dword ptr [ecx + 4], edx */ 21882 edx = MEM32(eax + 0x4); /* 0x2B06D695: mov edx, dword ptr [eax + 4] */ 21883 ecx = MEM32(edx + 0x8); /* 0x2B06D698: mov ecx, dword ptr [edx + 8] */ 21884 L_2B06D69B: 21885 edx = MEM32(ecx); /* 0x2B06D69B: mov edx, dword ptr [ecx] */ 21886 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D69D: cmp byte ptr [edx + 0x14], bl */ 21887 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21888 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21889 _flag_k = FK_NARROW(FK_CMP, 24); 21890 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D736; /* 0x2B06D6A0: jne 0x2b06d736 */ 21891 L_2B06D6A6: 21892 edx = MEM32(ecx + 0x8); /* 0x2B06D6A6: mov edx, dword ptr [ecx + 8] */ 21893 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D6A9: cmp byte ptr [edx + 0x14], bl */ 21894 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21895 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21896 _flag_k = FK_NARROW(FK_CMP, 24); 21897 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D736; /* 0x2B06D6AC: jne 0x2b06d736 */ 21898 L_2B06D6B2: 21899 goto L_2B06D71E; /* 0x2B06D6B2: jmp 0x2b06d71e */ 21900 L_2B06D6B4: 21901 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2B06D6B4: mov dl, byte ptr [ecx + 0x14] */ 21902 /* test LO8(edx), LO8(edx) */ /* 0x2B06D6B7: test dl, dl */ 21903 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 21904 _cf = 0; 21905 _flag_k = FK_NARROW(FK_TEST, 24); 21906 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06D707; /* 0x2B06D6B9: jne 0x2b06d707 */ 21907 L_2B06D6BB: 21908 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D6BB: mov byte ptr [ecx + 0x14], bl */ 21909 ecx = MEM32(eax + 0x4); /* 0x2B06D6BE: mov ecx, dword ptr [eax + 4] */ 21910 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D6C1: mov byte ptr [ecx + 0x14], 0 */ 21911 ecx = MEM32(eax + 0x4); /* 0x2B06D6C5: mov ecx, dword ptr [eax + 4] */ 21912 edx = MEM32(ecx); /* 0x2B06D6C8: mov edx, dword ptr [ecx] */ 21913 esi = MEM32(edx + 0x8); /* 0x2B06D6CA: mov esi, dword ptr [edx + 8] */ 21914 MEM32(ecx) = esi; /* 0x2B06D6CD: mov dword ptr [ecx], esi */ 21915 esi = MEM32(edx + 0x8); /* 0x2B06D6CF: mov esi, dword ptr [edx + 8] */ 21916 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D6D2: cmp esi, dword ptr [edi + 8] */ 21917 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21918 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21919 _flag_k = FK_CMP; 21920 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D6DA; /* 0x2B06D6D5: je 0x2b06d6da */ 21921 L_2B06D6D7: 21922 MEM32(esi + 0x4) = ecx; /* 0x2B06D6D7: mov dword ptr [esi + 4], ecx */ 21923 L_2B06D6DA: 21924 esi = MEM32(ecx + 0x4); /* 0x2B06D6DA: mov esi, dword ptr [ecx + 4] */ 21925 MEM32(edx + 0x4) = esi; /* 0x2B06D6DD: mov dword ptr [edx + 4], esi */ 21926 esi = MEM32(edi + 0x4); /* 0x2B06D6E0: mov esi, dword ptr [edi + 4] */ 21927 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D6E3: cmp ecx, dword ptr [esi + 4] */ 21928 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 21929 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21930 _flag_k = FK_CMP; 21931 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6ED; /* 0x2B06D6E6: jne 0x2b06d6ed */ 21932 L_2B06D6E8: 21933 MEM32(esi + 0x4) = edx; /* 0x2B06D6E8: mov dword ptr [esi + 4], edx */ 21934 goto L_2B06D6FC; /* 0x2B06D6EB: jmp 0x2b06d6fc */ 21935 L_2B06D6ED: 21936 esi = MEM32(ecx + 0x4); /* 0x2B06D6ED: mov esi, dword ptr [ecx + 4] */ 21937 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D6F0: cmp ecx, dword ptr [esi + 8] */ 21938 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21939 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21940 _flag_k = FK_CMP; 21941 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6FA; /* 0x2B06D6F3: jne 0x2b06d6fa */ 21942 L_2B06D6F5: 21943 MEM32(esi + 0x8) = edx; /* 0x2B06D6F5: mov dword ptr [esi + 8], edx */ 21944 goto L_2B06D6FC; /* 0x2B06D6F8: jmp 0x2b06d6fc */ 21945 L_2B06D6FA: 21946 MEM32(esi) = edx; /* 0x2B06D6FA: mov dword ptr [esi], edx */ 21947 L_2B06D6FC: 21948 MEM32(edx + 0x8) = ecx; /* 0x2B06D6FC: mov dword ptr [edx + 8], ecx */ 21949 MEM32(ecx + 0x4) = edx; /* 0x2B06D6FF: mov dword ptr [ecx + 4], edx */ 21950 edx = MEM32(eax + 0x4); /* 0x2B06D702: mov edx, dword ptr [eax + 4] */ 21951 ecx = MEM32(edx); /* 0x2B06D705: mov ecx, dword ptr [edx] */ 21952 L_2B06D707: 21953 edx = MEM32(ecx + 0x8); /* 0x2B06D707: mov edx, dword ptr [ecx + 8] */ 21954 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D70A: cmp byte ptr [edx + 0x14], bl */ 21955 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21956 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21957 _flag_k = FK_NARROW(FK_CMP, 24); 21958 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7E3; /* 0x2B06D70D: jne 0x2b06d7e3 */ 21959 L_2B06D713: 21960 edx = MEM32(ecx); /* 0x2B06D713: mov edx, dword ptr [ecx] */ 21961 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D715: cmp byte ptr [edx + 0x14], bl */ 21962 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21963 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21964 _flag_k = FK_NARROW(FK_CMP, 24); 21965 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7E3; /* 0x2B06D718: jne 0x2b06d7e3 */ 21966 L_2B06D71E: 21967 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D71E: mov byte ptr [ecx + 0x14], 0 */ 21968 ecx = MEM32(edi + 0x4); /* 0x2B06D722: mov ecx, dword ptr [edi + 4] */ 21969 eax = MEM32(eax + 0x4); /* 0x2B06D725: mov eax, dword ptr [eax + 4] */ 21970 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B06D728: cmp eax, dword ptr [ecx + 4] */ 21971 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 21972 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21973 _flag_k = FK_CMP; 21974 RECOMP_BACKEDGE(); 21975 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D634; /* 0x2B06D72B: jne 0x2b06d634 */ 21976 L_2B06D731: 21977 goto L_2B06D882; /* 0x2B06D731: jmp 0x2b06d882 */ 21978 L_2B06D736: 21979 edx = MEM32(ecx + 0x8); /* 0x2B06D736: mov edx, dword ptr [ecx + 8] */ 21980 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D739: cmp byte ptr [edx + 0x14], bl */ 21981 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21982 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21983 _flag_k = FK_NARROW(FK_CMP, 24); 21984 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D787; /* 0x2B06D73C: jne 0x2b06d787 */ 21985 L_2B06D73E: 21986 edx = MEM32(ecx); /* 0x2B06D73E: mov edx, dword ptr [ecx] */ 21987 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D740: mov byte ptr [edx + 0x14], bl */ 21988 edx = MEM32(ecx); /* 0x2B06D743: mov edx, dword ptr [ecx] */ 21989 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D745: mov byte ptr [ecx + 0x14], 0 */ 21990 esi = MEM32(edx + 0x8); /* 0x2B06D749: mov esi, dword ptr [edx + 8] */ 21991 MEM32(ecx) = esi; /* 0x2B06D74C: mov dword ptr [ecx], esi */ 21992 esi = MEM32(edx + 0x8); /* 0x2B06D74E: mov esi, dword ptr [edx + 8] */ 21993 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D751: cmp esi, dword ptr [edi + 8] */ 21994 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21995 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21996 _flag_k = FK_CMP; 21997 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D759; /* 0x2B06D754: je 0x2b06d759 */ 21998 L_2B06D756: 21999 MEM32(esi + 0x4) = ecx; /* 0x2B06D756: mov dword ptr [esi + 4], ecx */ 22000 L_2B06D759: 22001 esi = MEM32(ecx + 0x4); /* 0x2B06D759: mov esi, dword ptr [ecx + 4] */ 22002 MEM32(edx + 0x4) = esi; /* 0x2B06D75C: mov dword ptr [edx + 4], esi */ 22003 esi = MEM32(edi + 0x4); /* 0x2B06D75F: mov esi, dword ptr [edi + 4] */ 22004 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D762: cmp ecx, dword ptr [esi + 4] */ 22005 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22006 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22007 _flag_k = FK_CMP; 22008 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D76C; /* 0x2B06D765: jne 0x2b06d76c */ 22009 L_2B06D767: 22010 MEM32(esi + 0x4) = edx; /* 0x2B06D767: mov dword ptr [esi + 4], edx */ 22011 goto L_2B06D77B; /* 0x2B06D76A: jmp 0x2b06d77b */ 22012 L_2B06D76C: 22013 esi = MEM32(ecx + 0x4); /* 0x2B06D76C: mov esi, dword ptr [ecx + 4] */ 22014 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D76F: cmp ecx, dword ptr [esi + 8] */ 22015 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22016 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22017 _flag_k = FK_CMP; 22018 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D779; /* 0x2B06D772: jne 0x2b06d779 */ 22019 L_2B06D774: 22020 MEM32(esi + 0x8) = edx; /* 0x2B06D774: mov dword ptr [esi + 8], edx */ 22021 goto L_2B06D77B; /* 0x2B06D777: jmp 0x2b06d77b */ 22022 L_2B06D779: 22023 MEM32(esi) = edx; /* 0x2B06D779: mov dword ptr [esi], edx */ 22024 L_2B06D77B: 22025 MEM32(edx + 0x8) = ecx; /* 0x2B06D77B: mov dword ptr [edx + 8], ecx */ 22026 MEM32(ecx + 0x4) = edx; /* 0x2B06D77E: mov dword ptr [ecx + 4], edx */ 22027 ecx = MEM32(eax + 0x4); /* 0x2B06D781: mov ecx, dword ptr [eax + 4] */ 22028 ecx = MEM32(ecx + 0x8); /* 0x2B06D784: mov ecx, dword ptr [ecx + 8] */ 22029 L_2B06D787: 22030 edx = MEM32(eax + 0x4); /* 0x2B06D787: mov edx, dword ptr [eax + 4] */ 22031 SET_LO8(edx, MEM8(edx + 0x14)); /* 0x2B06D78A: mov dl, byte ptr [edx + 0x14] */ 22032 MEM8(ecx + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B06D78D: mov byte ptr [ecx + 0x14], dl */ 22033 edx = MEM32(eax + 0x4); /* 0x2B06D790: mov edx, dword ptr [eax + 4] */ 22034 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D793: mov byte ptr [edx + 0x14], bl */ 22035 ecx = MEM32(ecx + 0x8); /* 0x2B06D796: mov ecx, dword ptr [ecx + 8] */ 22036 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D799: mov byte ptr [ecx + 0x14], bl */ 22037 ecx = MEM32(eax + 0x4); /* 0x2B06D79C: mov ecx, dword ptr [eax + 4] */ 22038 edx = MEM32(ecx + 0x8); /* 0x2B06D79F: mov edx, dword ptr [ecx + 8] */ 22039 esi = MEM32(edx); /* 0x2B06D7A2: mov esi, dword ptr [edx] */ 22040 MEM32(ecx + 0x8) = esi; /* 0x2B06D7A4: mov dword ptr [ecx + 8], esi */ 22041 esi = MEM32(edx); /* 0x2B06D7A7: mov esi, dword ptr [edx] */ 22042 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D7A9: cmp esi, dword ptr [edi + 8] */ 22043 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22044 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22045 _flag_k = FK_CMP; 22046 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D7B1; /* 0x2B06D7AC: je 0x2b06d7b1 */ 22047 L_2B06D7AE: 22048 MEM32(esi + 0x4) = ecx; /* 0x2B06D7AE: mov dword ptr [esi + 4], ecx */ 22049 L_2B06D7B1: 22050 esi = MEM32(ecx + 0x4); /* 0x2B06D7B1: mov esi, dword ptr [ecx + 4] */ 22051 MEM32(edx + 0x4) = esi; /* 0x2B06D7B4: mov dword ptr [edx + 4], esi */ 22052 esi = MEM32(edi + 0x4); /* 0x2B06D7B7: mov esi, dword ptr [edi + 4] */ 22053 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D7BA: cmp ecx, dword ptr [esi + 4] */ 22054 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22055 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22056 _flag_k = FK_CMP; 22057 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7C9; /* 0x2B06D7BD: jne 0x2b06d7c9 */ 22058 L_2B06D7BF: 22059 MEM32(esi + 0x4) = edx; /* 0x2B06D7BF: mov dword ptr [esi + 4], edx */ 22060 MEM32(edx) = ecx; /* 0x2B06D7C2: mov dword ptr [edx], ecx */ 22061 goto L_2B06D87F; /* 0x2B06D7C4: jmp 0x2b06d87f */ 22062 L_2B06D7C9: 22063 esi = MEM32(ecx + 0x4); /* 0x2B06D7C9: mov esi, dword ptr [ecx + 4] */ 22064 /* cmp ecx, MEM32(esi) */ /* 0x2B06D7CC: cmp ecx, dword ptr [esi] */ 22065 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 22066 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22067 _flag_k = FK_CMP; 22068 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7D9; /* 0x2B06D7CE: jne 0x2b06d7d9 */ 22069 L_2B06D7D0: 22070 MEM32(esi) = edx; /* 0x2B06D7D0: mov dword ptr [esi], edx */ 22071 MEM32(edx) = ecx; /* 0x2B06D7D2: mov dword ptr [edx], ecx */ 22072 goto L_2B06D87F; /* 0x2B06D7D4: jmp 0x2b06d87f */ 22073 L_2B06D7D9: 22074 MEM32(esi + 0x8) = edx; /* 0x2B06D7D9: mov dword ptr [esi + 8], edx */ 22075 MEM32(edx) = ecx; /* 0x2B06D7DC: mov dword ptr [edx], ecx */ 22076 goto L_2B06D87F; /* 0x2B06D7DE: jmp 0x2b06d87f */ 22077 L_2B06D7E3: 22078 edx = MEM32(ecx); /* 0x2B06D7E3: mov edx, dword ptr [ecx] */ 22079 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D7E5: cmp byte ptr [edx + 0x14], bl */ 22080 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22081 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22082 _flag_k = FK_NARROW(FK_CMP, 24); 22083 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D831; /* 0x2B06D7E8: jne 0x2b06d831 */ 22084 L_2B06D7EA: 22085 edx = MEM32(ecx + 0x8); /* 0x2B06D7EA: mov edx, dword ptr [ecx + 8] */ 22086 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D7ED: mov byte ptr [edx + 0x14], bl */ 22087 edx = MEM32(ecx + 0x8); /* 0x2B06D7F0: mov edx, dword ptr [ecx + 8] */ 22088 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D7F3: mov byte ptr [ecx + 0x14], 0 */ 22089 esi = MEM32(edx); /* 0x2B06D7F7: mov esi, dword ptr [edx] */ 22090 MEM32(ecx + 0x8) = esi; /* 0x2B06D7F9: mov dword ptr [ecx + 8], esi */ 22091 esi = MEM32(edx); /* 0x2B06D7FC: mov esi, dword ptr [edx] */ 22092 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D7FE: cmp esi, dword ptr [edi + 8] */ 22093 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22094 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22095 _flag_k = FK_CMP; 22096 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D806; /* 0x2B06D801: je 0x2b06d806 */ 22097 L_2B06D803: 22098 MEM32(esi + 0x4) = ecx; /* 0x2B06D803: mov dword ptr [esi + 4], ecx */ 22099 L_2B06D806: 22100 esi = MEM32(ecx + 0x4); /* 0x2B06D806: mov esi, dword ptr [ecx + 4] */ 22101 MEM32(edx + 0x4) = esi; /* 0x2B06D809: mov dword ptr [edx + 4], esi */ 22102 esi = MEM32(edi + 0x4); /* 0x2B06D80C: mov esi, dword ptr [edi + 4] */ 22103 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D80F: cmp ecx, dword ptr [esi + 4] */ 22104 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22105 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22106 _flag_k = FK_CMP; 22107 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D819; /* 0x2B06D812: jne 0x2b06d819 */ 22108 L_2B06D814: 22109 MEM32(esi + 0x4) = edx; /* 0x2B06D814: mov dword ptr [esi + 4], edx */ 22110 goto L_2B06D827; /* 0x2B06D817: jmp 0x2b06d827 */ 22111 L_2B06D819: 22112 esi = MEM32(ecx + 0x4); /* 0x2B06D819: mov esi, dword ptr [ecx + 4] */ 22113 /* cmp ecx, MEM32(esi) */ /* 0x2B06D81C: cmp ecx, dword ptr [esi] */ 22114 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 22115 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22116 _flag_k = FK_CMP; 22117 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D824; /* 0x2B06D81E: jne 0x2b06d824 */ 22118 L_2B06D820: 22119 MEM32(esi) = edx; /* 0x2B06D820: mov dword ptr [esi], edx */ 22120 goto L_2B06D827; /* 0x2B06D822: jmp 0x2b06d827 */ 22121 L_2B06D824: 22122 MEM32(esi + 0x8) = edx; /* 0x2B06D824: mov dword ptr [esi + 8], edx */ 22123 L_2B06D827: 22124 MEM32(edx) = ecx; /* 0x2B06D827: mov dword ptr [edx], ecx */ 22125 MEM32(ecx + 0x4) = edx; /* 0x2B06D829: mov dword ptr [ecx + 4], edx */ 22126 ecx = MEM32(eax + 0x4); /* 0x2B06D82C: mov ecx, dword ptr [eax + 4] */ 22127 ecx = MEM32(ecx); /* 0x2B06D82F: mov ecx, dword ptr [ecx] */ 22128 L_2B06D831: 22129 edx = MEM32(eax + 0x4); /* 0x2B06D831: mov edx, dword ptr [eax + 4] */ 22130 SET_LO8(edx, MEM8(edx + 0x14)); /* 0x2B06D834: mov dl, byte ptr [edx + 0x14] */ 22131 MEM8(ecx + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B06D837: mov byte ptr [ecx + 0x14], dl */ 22132 edx = MEM32(eax + 0x4); /* 0x2B06D83A: mov edx, dword ptr [eax + 4] */ 22133 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D83D: mov byte ptr [edx + 0x14], bl */ 22134 ecx = MEM32(ecx); /* 0x2B06D840: mov ecx, dword ptr [ecx] */ 22135 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D842: mov byte ptr [ecx + 0x14], bl */ 22136 ecx = MEM32(eax + 0x4); /* 0x2B06D845: mov ecx, dword ptr [eax + 4] */ 22137 edx = MEM32(ecx); /* 0x2B06D848: mov edx, dword ptr [ecx] */ 22138 esi = MEM32(edx + 0x8); /* 0x2B06D84A: mov esi, dword ptr [edx + 8] */ 22139 MEM32(ecx) = esi; /* 0x2B06D84D: mov dword ptr [ecx], esi */ 22140 esi = MEM32(edx + 0x8); /* 0x2B06D84F: mov esi, dword ptr [edx + 8] */ 22141 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D852: cmp esi, dword ptr [edi + 8] */ 22142 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22143 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22144 _flag_k = FK_CMP; 22145 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D85A; /* 0x2B06D855: je 0x2b06d85a */ 22146 L_2B06D857: 22147 MEM32(esi + 0x4) = ecx; /* 0x2B06D857: mov dword ptr [esi + 4], ecx */ 22148 L_2B06D85A: 22149 esi = MEM32(ecx + 0x4); /* 0x2B06D85A: mov esi, dword ptr [ecx + 4] */ 22150 MEM32(edx + 0x4) = esi; /* 0x2B06D85D: mov dword ptr [edx + 4], esi */ 22151 esi = MEM32(edi + 0x4); /* 0x2B06D860: mov esi, dword ptr [edi + 4] */ 22152 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D863: cmp ecx, dword ptr [esi + 4] */ 22153 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22154 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22155 _flag_k = FK_CMP; 22156 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D86D; /* 0x2B06D866: jne 0x2b06d86d */ 22157 L_2B06D868: 22158 MEM32(esi + 0x4) = edx; /* 0x2B06D868: mov dword ptr [esi + 4], edx */ 22159 goto L_2B06D87C; /* 0x2B06D86B: jmp 0x2b06d87c */ 22160 L_2B06D86D: 22161 esi = MEM32(ecx + 0x4); /* 0x2B06D86D: mov esi, dword ptr [ecx + 4] */ 22162 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D870: cmp ecx, dword ptr [esi + 8] */ 22163 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22164 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22165 _flag_k = FK_CMP; 22166 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D87A; /* 0x2B06D873: jne 0x2b06d87a */ 22167 L_2B06D875: 22168 MEM32(esi + 0x8) = edx; /* 0x2B06D875: mov dword ptr [esi + 8], edx */ 22169 goto L_2B06D87C; /* 0x2B06D878: jmp 0x2b06d87c */ 22170 L_2B06D87A: 22171 MEM32(esi) = edx; /* 0x2B06D87A: mov dword ptr [esi], edx */ 22172 L_2B06D87C: 22173 MEM32(edx + 0x8) = ecx; /* 0x2B06D87C: mov dword ptr [edx + 8], ecx */ 22174 L_2B06D87F: 22175 MEM32(ecx + 0x4) = edx; /* 0x2B06D87F: mov dword ptr [ecx + 4], edx */ 22176 L_2B06D882: 22177 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D882: mov byte ptr [eax + 0x14], bl */ 22178 edx = MEM32(ebp + (-0x4)); /* 0x2B06D885: mov edx, dword ptr [ebp - 4] */ 22179 PUSH32(esp, edx); /* 0x2B06D888: push edx */ 22180 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06D889: call 0x2b0ab1ba */ /* not lifted */ 22181 RECOMP_FLAGS_IN(); 22182 eax = MEM32(edi + 0x10); /* 0x2B06D88E: mov eax, dword ptr [edi + 0x10] */ 22183 ecx = MEM32(ebp + 0xC); /* 0x2B06D891: mov ecx, dword ptr [ebp + 0xc] */ 22184 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 22185 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22186 esp = esp + 4; /* 0x2B06D894: add esp, 4 */ 22187 _flag_k = FK_ADD; 22188 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 22189 eax = eax - 1; /* 0x2B06D897: dec eax */ 22190 _flag_k = FK_DEC; 22191 MEM32(edi + 0x10) = eax; /* 0x2B06D898: mov dword ptr [edi + 0x10], eax */ 22192 eax = MEM32(ebp + 0x8); /* 0x2B06D89B: mov eax, dword ptr [ebp + 8] */ 22193 edi = POP32_VAL(esp); /* 0x2B06D89E: pop edi */ 22194 esi = POP32_VAL(esp); /* 0x2B06D89F: pop esi */ 22195 MEM32(eax) = ecx; /* 0x2B06D8A0: mov dword ptr [eax], ecx */ 22196 ebx = POP32_VAL(esp); /* 0x2B06D8A2: pop ebx */ 22197 esp = ebp; /* 0x2B06D8A3: mov esp, ebp */ 22198 ebp = POP32_VAL(esp); /* 0x2B06D8A5: pop ebp */ 22199 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B06D8A6: ret 8 */ 22200 RECOMP_REGS_OUT(); 22201 } 22202 22203 void sub_2B06D6FC(void) { 22204 int _fpu_cmp = 0; 22205 uint32_t _cf = 0; 22206 int _df = 1; 22207 uint32_t _flag_k = FK_NONE; 22208 uint32_t _flag_a = 0, _flag_b = 0; 22209 uint32_t _itail_tgt = 0; 22210 RECOMP_REGS_LOCALS 22211 RECOMP_ENTER(0x2B06D6FCu); 22212 22213 goto L_2B06D6FC; 22214 L_2B06D634: 22215 /* cmp MEM8(eax + 0x14), LO8(ebx) */ /* 0x2B06D634: cmp byte ptr [eax + 0x14], bl */ 22216 _flag_a = (uint32_t)(MEM8(eax + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22217 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22218 _flag_k = FK_NARROW(FK_CMP, 24); 22219 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D882; /* 0x2B06D637: jne 0x2b06d882 */ 22220 L_2B06D63D: 22221 edx = MEM32(eax + 0x4); /* 0x2B06D63D: mov edx, dword ptr [eax + 4] */ 22222 ecx = MEM32(edx); /* 0x2B06D640: mov ecx, dword ptr [edx] */ 22223 /* cmp eax, ecx */ /* 0x2B06D642: cmp eax, ecx */ 22224 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 22225 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22226 _flag_k = FK_CMP; 22227 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6B4; /* 0x2B06D644: jne 0x2b06d6b4 */ 22228 L_2B06D646: 22229 ecx = MEM32(edx + 0x8); /* 0x2B06D646: mov ecx, dword ptr [edx + 8] */ 22230 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2B06D649: mov dl, byte ptr [ecx + 0x14] */ 22231 /* test LO8(edx), LO8(edx) */ /* 0x2B06D64C: test dl, dl */ 22232 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 22233 _cf = 0; 22234 _flag_k = FK_NARROW(FK_TEST, 24); 22235 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06D69B; /* 0x2B06D64E: jne 0x2b06d69b */ 22236 L_2B06D650: 22237 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D650: mov byte ptr [ecx + 0x14], bl */ 22238 ecx = MEM32(eax + 0x4); /* 0x2B06D653: mov ecx, dword ptr [eax + 4] */ 22239 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D656: mov byte ptr [ecx + 0x14], 0 */ 22240 ecx = MEM32(eax + 0x4); /* 0x2B06D65A: mov ecx, dword ptr [eax + 4] */ 22241 edx = MEM32(ecx + 0x8); /* 0x2B06D65D: mov edx, dword ptr [ecx + 8] */ 22242 esi = MEM32(edx); /* 0x2B06D660: mov esi, dword ptr [edx] */ 22243 MEM32(ecx + 0x8) = esi; /* 0x2B06D662: mov dword ptr [ecx + 8], esi */ 22244 esi = MEM32(edx); /* 0x2B06D665: mov esi, dword ptr [edx] */ 22245 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D667: cmp esi, dword ptr [edi + 8] */ 22246 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22247 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22248 _flag_k = FK_CMP; 22249 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D66F; /* 0x2B06D66A: je 0x2b06d66f */ 22250 L_2B06D66C: 22251 MEM32(esi + 0x4) = ecx; /* 0x2B06D66C: mov dword ptr [esi + 4], ecx */ 22252 L_2B06D66F: 22253 esi = MEM32(ecx + 0x4); /* 0x2B06D66F: mov esi, dword ptr [ecx + 4] */ 22254 MEM32(edx + 0x4) = esi; /* 0x2B06D672: mov dword ptr [edx + 4], esi */ 22255 esi = MEM32(edi + 0x4); /* 0x2B06D675: mov esi, dword ptr [edi + 4] */ 22256 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D678: cmp ecx, dword ptr [esi + 4] */ 22257 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22258 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22259 _flag_k = FK_CMP; 22260 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D682; /* 0x2B06D67B: jne 0x2b06d682 */ 22261 L_2B06D67D: 22262 MEM32(esi + 0x4) = edx; /* 0x2B06D67D: mov dword ptr [esi + 4], edx */ 22263 goto L_2B06D690; /* 0x2B06D680: jmp 0x2b06d690 */ 22264 L_2B06D682: 22265 esi = MEM32(ecx + 0x4); /* 0x2B06D682: mov esi, dword ptr [ecx + 4] */ 22266 /* cmp ecx, MEM32(esi) */ /* 0x2B06D685: cmp ecx, dword ptr [esi] */ 22267 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 22268 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22269 _flag_k = FK_CMP; 22270 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D68D; /* 0x2B06D687: jne 0x2b06d68d */ 22271 L_2B06D689: 22272 MEM32(esi) = edx; /* 0x2B06D689: mov dword ptr [esi], edx */ 22273 goto L_2B06D690; /* 0x2B06D68B: jmp 0x2b06d690 */ 22274 L_2B06D68D: 22275 MEM32(esi + 0x8) = edx; /* 0x2B06D68D: mov dword ptr [esi + 8], edx */ 22276 L_2B06D690: 22277 MEM32(edx) = ecx; /* 0x2B06D690: mov dword ptr [edx], ecx */ 22278 MEM32(ecx + 0x4) = edx; /* 0x2B06D692: mov dword ptr [ecx + 4], edx */ 22279 edx = MEM32(eax + 0x4); /* 0x2B06D695: mov edx, dword ptr [eax + 4] */ 22280 ecx = MEM32(edx + 0x8); /* 0x2B06D698: mov ecx, dword ptr [edx + 8] */ 22281 L_2B06D69B: 22282 edx = MEM32(ecx); /* 0x2B06D69B: mov edx, dword ptr [ecx] */ 22283 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D69D: cmp byte ptr [edx + 0x14], bl */ 22284 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22285 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22286 _flag_k = FK_NARROW(FK_CMP, 24); 22287 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D736; /* 0x2B06D6A0: jne 0x2b06d736 */ 22288 L_2B06D6A6: 22289 edx = MEM32(ecx + 0x8); /* 0x2B06D6A6: mov edx, dword ptr [ecx + 8] */ 22290 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D6A9: cmp byte ptr [edx + 0x14], bl */ 22291 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22292 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22293 _flag_k = FK_NARROW(FK_CMP, 24); 22294 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D736; /* 0x2B06D6AC: jne 0x2b06d736 */ 22295 L_2B06D6B2: 22296 goto L_2B06D71E; /* 0x2B06D6B2: jmp 0x2b06d71e */ 22297 L_2B06D6B4: 22298 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2B06D6B4: mov dl, byte ptr [ecx + 0x14] */ 22299 /* test LO8(edx), LO8(edx) */ /* 0x2B06D6B7: test dl, dl */ 22300 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 22301 _cf = 0; 22302 _flag_k = FK_NARROW(FK_TEST, 24); 22303 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06D707; /* 0x2B06D6B9: jne 0x2b06d707 */ 22304 L_2B06D6BB: 22305 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D6BB: mov byte ptr [ecx + 0x14], bl */ 22306 ecx = MEM32(eax + 0x4); /* 0x2B06D6BE: mov ecx, dword ptr [eax + 4] */ 22307 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D6C1: mov byte ptr [ecx + 0x14], 0 */ 22308 ecx = MEM32(eax + 0x4); /* 0x2B06D6C5: mov ecx, dword ptr [eax + 4] */ 22309 edx = MEM32(ecx); /* 0x2B06D6C8: mov edx, dword ptr [ecx] */ 22310 esi = MEM32(edx + 0x8); /* 0x2B06D6CA: mov esi, dword ptr [edx + 8] */ 22311 MEM32(ecx) = esi; /* 0x2B06D6CD: mov dword ptr [ecx], esi */ 22312 esi = MEM32(edx + 0x8); /* 0x2B06D6CF: mov esi, dword ptr [edx + 8] */ 22313 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D6D2: cmp esi, dword ptr [edi + 8] */ 22314 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22315 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22316 _flag_k = FK_CMP; 22317 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D6DA; /* 0x2B06D6D5: je 0x2b06d6da */ 22318 L_2B06D6D7: 22319 MEM32(esi + 0x4) = ecx; /* 0x2B06D6D7: mov dword ptr [esi + 4], ecx */ 22320 L_2B06D6DA: 22321 esi = MEM32(ecx + 0x4); /* 0x2B06D6DA: mov esi, dword ptr [ecx + 4] */ 22322 MEM32(edx + 0x4) = esi; /* 0x2B06D6DD: mov dword ptr [edx + 4], esi */ 22323 esi = MEM32(edi + 0x4); /* 0x2B06D6E0: mov esi, dword ptr [edi + 4] */ 22324 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D6E3: cmp ecx, dword ptr [esi + 4] */ 22325 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22326 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22327 _flag_k = FK_CMP; 22328 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6ED; /* 0x2B06D6E6: jne 0x2b06d6ed */ 22329 L_2B06D6E8: 22330 MEM32(esi + 0x4) = edx; /* 0x2B06D6E8: mov dword ptr [esi + 4], edx */ 22331 goto L_2B06D6FC; /* 0x2B06D6EB: jmp 0x2b06d6fc */ 22332 L_2B06D6ED: 22333 esi = MEM32(ecx + 0x4); /* 0x2B06D6ED: mov esi, dword ptr [ecx + 4] */ 22334 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D6F0: cmp ecx, dword ptr [esi + 8] */ 22335 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22336 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22337 _flag_k = FK_CMP; 22338 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6FA; /* 0x2B06D6F3: jne 0x2b06d6fa */ 22339 L_2B06D6F5: 22340 MEM32(esi + 0x8) = edx; /* 0x2B06D6F5: mov dword ptr [esi + 8], edx */ 22341 goto L_2B06D6FC; /* 0x2B06D6F8: jmp 0x2b06d6fc */ 22342 L_2B06D6FA: 22343 MEM32(esi) = edx; /* 0x2B06D6FA: mov dword ptr [esi], edx */ 22344 L_2B06D6FC: 22345 MEM32(edx + 0x8) = ecx; /* 0x2B06D6FC: mov dword ptr [edx + 8], ecx */ 22346 MEM32(ecx + 0x4) = edx; /* 0x2B06D6FF: mov dword ptr [ecx + 4], edx */ 22347 edx = MEM32(eax + 0x4); /* 0x2B06D702: mov edx, dword ptr [eax + 4] */ 22348 ecx = MEM32(edx); /* 0x2B06D705: mov ecx, dword ptr [edx] */ 22349 L_2B06D707: 22350 edx = MEM32(ecx + 0x8); /* 0x2B06D707: mov edx, dword ptr [ecx + 8] */ 22351 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D70A: cmp byte ptr [edx + 0x14], bl */ 22352 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22353 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22354 _flag_k = FK_NARROW(FK_CMP, 24); 22355 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7E3; /* 0x2B06D70D: jne 0x2b06d7e3 */ 22356 L_2B06D713: 22357 edx = MEM32(ecx); /* 0x2B06D713: mov edx, dword ptr [ecx] */ 22358 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D715: cmp byte ptr [edx + 0x14], bl */ 22359 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22360 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22361 _flag_k = FK_NARROW(FK_CMP, 24); 22362 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7E3; /* 0x2B06D718: jne 0x2b06d7e3 */ 22363 L_2B06D71E: 22364 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D71E: mov byte ptr [ecx + 0x14], 0 */ 22365 ecx = MEM32(edi + 0x4); /* 0x2B06D722: mov ecx, dword ptr [edi + 4] */ 22366 eax = MEM32(eax + 0x4); /* 0x2B06D725: mov eax, dword ptr [eax + 4] */ 22367 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B06D728: cmp eax, dword ptr [ecx + 4] */ 22368 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 22369 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22370 _flag_k = FK_CMP; 22371 RECOMP_BACKEDGE(); 22372 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D634; /* 0x2B06D72B: jne 0x2b06d634 */ 22373 L_2B06D731: 22374 goto L_2B06D882; /* 0x2B06D731: jmp 0x2b06d882 */ 22375 L_2B06D736: 22376 edx = MEM32(ecx + 0x8); /* 0x2B06D736: mov edx, dword ptr [ecx + 8] */ 22377 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D739: cmp byte ptr [edx + 0x14], bl */ 22378 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22379 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22380 _flag_k = FK_NARROW(FK_CMP, 24); 22381 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D787; /* 0x2B06D73C: jne 0x2b06d787 */ 22382 L_2B06D73E: 22383 edx = MEM32(ecx); /* 0x2B06D73E: mov edx, dword ptr [ecx] */ 22384 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D740: mov byte ptr [edx + 0x14], bl */ 22385 edx = MEM32(ecx); /* 0x2B06D743: mov edx, dword ptr [ecx] */ 22386 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D745: mov byte ptr [ecx + 0x14], 0 */ 22387 esi = MEM32(edx + 0x8); /* 0x2B06D749: mov esi, dword ptr [edx + 8] */ 22388 MEM32(ecx) = esi; /* 0x2B06D74C: mov dword ptr [ecx], esi */ 22389 esi = MEM32(edx + 0x8); /* 0x2B06D74E: mov esi, dword ptr [edx + 8] */ 22390 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D751: cmp esi, dword ptr [edi + 8] */ 22391 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22392 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22393 _flag_k = FK_CMP; 22394 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D759; /* 0x2B06D754: je 0x2b06d759 */ 22395 L_2B06D756: 22396 MEM32(esi + 0x4) = ecx; /* 0x2B06D756: mov dword ptr [esi + 4], ecx */ 22397 L_2B06D759: 22398 esi = MEM32(ecx + 0x4); /* 0x2B06D759: mov esi, dword ptr [ecx + 4] */ 22399 MEM32(edx + 0x4) = esi; /* 0x2B06D75C: mov dword ptr [edx + 4], esi */ 22400 esi = MEM32(edi + 0x4); /* 0x2B06D75F: mov esi, dword ptr [edi + 4] */ 22401 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D762: cmp ecx, dword ptr [esi + 4] */ 22402 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22403 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22404 _flag_k = FK_CMP; 22405 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D76C; /* 0x2B06D765: jne 0x2b06d76c */ 22406 L_2B06D767: 22407 MEM32(esi + 0x4) = edx; /* 0x2B06D767: mov dword ptr [esi + 4], edx */ 22408 goto L_2B06D77B; /* 0x2B06D76A: jmp 0x2b06d77b */ 22409 L_2B06D76C: 22410 esi = MEM32(ecx + 0x4); /* 0x2B06D76C: mov esi, dword ptr [ecx + 4] */ 22411 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D76F: cmp ecx, dword ptr [esi + 8] */ 22412 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22413 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22414 _flag_k = FK_CMP; 22415 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D779; /* 0x2B06D772: jne 0x2b06d779 */ 22416 L_2B06D774: 22417 MEM32(esi + 0x8) = edx; /* 0x2B06D774: mov dword ptr [esi + 8], edx */ 22418 goto L_2B06D77B; /* 0x2B06D777: jmp 0x2b06d77b */ 22419 L_2B06D779: 22420 MEM32(esi) = edx; /* 0x2B06D779: mov dword ptr [esi], edx */ 22421 L_2B06D77B: 22422 MEM32(edx + 0x8) = ecx; /* 0x2B06D77B: mov dword ptr [edx + 8], ecx */ 22423 MEM32(ecx + 0x4) = edx; /* 0x2B06D77E: mov dword ptr [ecx + 4], edx */ 22424 ecx = MEM32(eax + 0x4); /* 0x2B06D781: mov ecx, dword ptr [eax + 4] */ 22425 ecx = MEM32(ecx + 0x8); /* 0x2B06D784: mov ecx, dword ptr [ecx + 8] */ 22426 L_2B06D787: 22427 edx = MEM32(eax + 0x4); /* 0x2B06D787: mov edx, dword ptr [eax + 4] */ 22428 SET_LO8(edx, MEM8(edx + 0x14)); /* 0x2B06D78A: mov dl, byte ptr [edx + 0x14] */ 22429 MEM8(ecx + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B06D78D: mov byte ptr [ecx + 0x14], dl */ 22430 edx = MEM32(eax + 0x4); /* 0x2B06D790: mov edx, dword ptr [eax + 4] */ 22431 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D793: mov byte ptr [edx + 0x14], bl */ 22432 ecx = MEM32(ecx + 0x8); /* 0x2B06D796: mov ecx, dword ptr [ecx + 8] */ 22433 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D799: mov byte ptr [ecx + 0x14], bl */ 22434 ecx = MEM32(eax + 0x4); /* 0x2B06D79C: mov ecx, dword ptr [eax + 4] */ 22435 edx = MEM32(ecx + 0x8); /* 0x2B06D79F: mov edx, dword ptr [ecx + 8] */ 22436 esi = MEM32(edx); /* 0x2B06D7A2: mov esi, dword ptr [edx] */ 22437 MEM32(ecx + 0x8) = esi; /* 0x2B06D7A4: mov dword ptr [ecx + 8], esi */ 22438 esi = MEM32(edx); /* 0x2B06D7A7: mov esi, dword ptr [edx] */ 22439 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D7A9: cmp esi, dword ptr [edi + 8] */ 22440 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22441 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22442 _flag_k = FK_CMP; 22443 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D7B1; /* 0x2B06D7AC: je 0x2b06d7b1 */ 22444 L_2B06D7AE: 22445 MEM32(esi + 0x4) = ecx; /* 0x2B06D7AE: mov dword ptr [esi + 4], ecx */ 22446 L_2B06D7B1: 22447 esi = MEM32(ecx + 0x4); /* 0x2B06D7B1: mov esi, dword ptr [ecx + 4] */ 22448 MEM32(edx + 0x4) = esi; /* 0x2B06D7B4: mov dword ptr [edx + 4], esi */ 22449 esi = MEM32(edi + 0x4); /* 0x2B06D7B7: mov esi, dword ptr [edi + 4] */ 22450 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D7BA: cmp ecx, dword ptr [esi + 4] */ 22451 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22452 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22453 _flag_k = FK_CMP; 22454 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7C9; /* 0x2B06D7BD: jne 0x2b06d7c9 */ 22455 L_2B06D7BF: 22456 MEM32(esi + 0x4) = edx; /* 0x2B06D7BF: mov dword ptr [esi + 4], edx */ 22457 MEM32(edx) = ecx; /* 0x2B06D7C2: mov dword ptr [edx], ecx */ 22458 goto L_2B06D87F; /* 0x2B06D7C4: jmp 0x2b06d87f */ 22459 L_2B06D7C9: 22460 esi = MEM32(ecx + 0x4); /* 0x2B06D7C9: mov esi, dword ptr [ecx + 4] */ 22461 /* cmp ecx, MEM32(esi) */ /* 0x2B06D7CC: cmp ecx, dword ptr [esi] */ 22462 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 22463 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22464 _flag_k = FK_CMP; 22465 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7D9; /* 0x2B06D7CE: jne 0x2b06d7d9 */ 22466 L_2B06D7D0: 22467 MEM32(esi) = edx; /* 0x2B06D7D0: mov dword ptr [esi], edx */ 22468 MEM32(edx) = ecx; /* 0x2B06D7D2: mov dword ptr [edx], ecx */ 22469 goto L_2B06D87F; /* 0x2B06D7D4: jmp 0x2b06d87f */ 22470 L_2B06D7D9: 22471 MEM32(esi + 0x8) = edx; /* 0x2B06D7D9: mov dword ptr [esi + 8], edx */ 22472 MEM32(edx) = ecx; /* 0x2B06D7DC: mov dword ptr [edx], ecx */ 22473 goto L_2B06D87F; /* 0x2B06D7DE: jmp 0x2b06d87f */ 22474 L_2B06D7E3: 22475 edx = MEM32(ecx); /* 0x2B06D7E3: mov edx, dword ptr [ecx] */ 22476 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D7E5: cmp byte ptr [edx + 0x14], bl */ 22477 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22478 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22479 _flag_k = FK_NARROW(FK_CMP, 24); 22480 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D831; /* 0x2B06D7E8: jne 0x2b06d831 */ 22481 L_2B06D7EA: 22482 edx = MEM32(ecx + 0x8); /* 0x2B06D7EA: mov edx, dword ptr [ecx + 8] */ 22483 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D7ED: mov byte ptr [edx + 0x14], bl */ 22484 edx = MEM32(ecx + 0x8); /* 0x2B06D7F0: mov edx, dword ptr [ecx + 8] */ 22485 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D7F3: mov byte ptr [ecx + 0x14], 0 */ 22486 esi = MEM32(edx); /* 0x2B06D7F7: mov esi, dword ptr [edx] */ 22487 MEM32(ecx + 0x8) = esi; /* 0x2B06D7F9: mov dword ptr [ecx + 8], esi */ 22488 esi = MEM32(edx); /* 0x2B06D7FC: mov esi, dword ptr [edx] */ 22489 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D7FE: cmp esi, dword ptr [edi + 8] */ 22490 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22491 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22492 _flag_k = FK_CMP; 22493 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D806; /* 0x2B06D801: je 0x2b06d806 */ 22494 L_2B06D803: 22495 MEM32(esi + 0x4) = ecx; /* 0x2B06D803: mov dword ptr [esi + 4], ecx */ 22496 L_2B06D806: 22497 esi = MEM32(ecx + 0x4); /* 0x2B06D806: mov esi, dword ptr [ecx + 4] */ 22498 MEM32(edx + 0x4) = esi; /* 0x2B06D809: mov dword ptr [edx + 4], esi */ 22499 esi = MEM32(edi + 0x4); /* 0x2B06D80C: mov esi, dword ptr [edi + 4] */ 22500 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D80F: cmp ecx, dword ptr [esi + 4] */ 22501 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22502 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22503 _flag_k = FK_CMP; 22504 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D819; /* 0x2B06D812: jne 0x2b06d819 */ 22505 L_2B06D814: 22506 MEM32(esi + 0x4) = edx; /* 0x2B06D814: mov dword ptr [esi + 4], edx */ 22507 goto L_2B06D827; /* 0x2B06D817: jmp 0x2b06d827 */ 22508 L_2B06D819: 22509 esi = MEM32(ecx + 0x4); /* 0x2B06D819: mov esi, dword ptr [ecx + 4] */ 22510 /* cmp ecx, MEM32(esi) */ /* 0x2B06D81C: cmp ecx, dword ptr [esi] */ 22511 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 22512 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22513 _flag_k = FK_CMP; 22514 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D824; /* 0x2B06D81E: jne 0x2b06d824 */ 22515 L_2B06D820: 22516 MEM32(esi) = edx; /* 0x2B06D820: mov dword ptr [esi], edx */ 22517 goto L_2B06D827; /* 0x2B06D822: jmp 0x2b06d827 */ 22518 L_2B06D824: 22519 MEM32(esi + 0x8) = edx; /* 0x2B06D824: mov dword ptr [esi + 8], edx */ 22520 L_2B06D827: 22521 MEM32(edx) = ecx; /* 0x2B06D827: mov dword ptr [edx], ecx */ 22522 MEM32(ecx + 0x4) = edx; /* 0x2B06D829: mov dword ptr [ecx + 4], edx */ 22523 ecx = MEM32(eax + 0x4); /* 0x2B06D82C: mov ecx, dword ptr [eax + 4] */ 22524 ecx = MEM32(ecx); /* 0x2B06D82F: mov ecx, dword ptr [ecx] */ 22525 L_2B06D831: 22526 edx = MEM32(eax + 0x4); /* 0x2B06D831: mov edx, dword ptr [eax + 4] */ 22527 SET_LO8(edx, MEM8(edx + 0x14)); /* 0x2B06D834: mov dl, byte ptr [edx + 0x14] */ 22528 MEM8(ecx + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B06D837: mov byte ptr [ecx + 0x14], dl */ 22529 edx = MEM32(eax + 0x4); /* 0x2B06D83A: mov edx, dword ptr [eax + 4] */ 22530 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D83D: mov byte ptr [edx + 0x14], bl */ 22531 ecx = MEM32(ecx); /* 0x2B06D840: mov ecx, dword ptr [ecx] */ 22532 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D842: mov byte ptr [ecx + 0x14], bl */ 22533 ecx = MEM32(eax + 0x4); /* 0x2B06D845: mov ecx, dword ptr [eax + 4] */ 22534 edx = MEM32(ecx); /* 0x2B06D848: mov edx, dword ptr [ecx] */ 22535 esi = MEM32(edx + 0x8); /* 0x2B06D84A: mov esi, dword ptr [edx + 8] */ 22536 MEM32(ecx) = esi; /* 0x2B06D84D: mov dword ptr [ecx], esi */ 22537 esi = MEM32(edx + 0x8); /* 0x2B06D84F: mov esi, dword ptr [edx + 8] */ 22538 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D852: cmp esi, dword ptr [edi + 8] */ 22539 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22540 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22541 _flag_k = FK_CMP; 22542 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D85A; /* 0x2B06D855: je 0x2b06d85a */ 22543 L_2B06D857: 22544 MEM32(esi + 0x4) = ecx; /* 0x2B06D857: mov dword ptr [esi + 4], ecx */ 22545 L_2B06D85A: 22546 esi = MEM32(ecx + 0x4); /* 0x2B06D85A: mov esi, dword ptr [ecx + 4] */ 22547 MEM32(edx + 0x4) = esi; /* 0x2B06D85D: mov dword ptr [edx + 4], esi */ 22548 esi = MEM32(edi + 0x4); /* 0x2B06D860: mov esi, dword ptr [edi + 4] */ 22549 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D863: cmp ecx, dword ptr [esi + 4] */ 22550 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22551 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22552 _flag_k = FK_CMP; 22553 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D86D; /* 0x2B06D866: jne 0x2b06d86d */ 22554 L_2B06D868: 22555 MEM32(esi + 0x4) = edx; /* 0x2B06D868: mov dword ptr [esi + 4], edx */ 22556 goto L_2B06D87C; /* 0x2B06D86B: jmp 0x2b06d87c */ 22557 L_2B06D86D: 22558 esi = MEM32(ecx + 0x4); /* 0x2B06D86D: mov esi, dword ptr [ecx + 4] */ 22559 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D870: cmp ecx, dword ptr [esi + 8] */ 22560 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22561 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22562 _flag_k = FK_CMP; 22563 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D87A; /* 0x2B06D873: jne 0x2b06d87a */ 22564 L_2B06D875: 22565 MEM32(esi + 0x8) = edx; /* 0x2B06D875: mov dword ptr [esi + 8], edx */ 22566 goto L_2B06D87C; /* 0x2B06D878: jmp 0x2b06d87c */ 22567 L_2B06D87A: 22568 MEM32(esi) = edx; /* 0x2B06D87A: mov dword ptr [esi], edx */ 22569 L_2B06D87C: 22570 MEM32(edx + 0x8) = ecx; /* 0x2B06D87C: mov dword ptr [edx + 8], ecx */ 22571 L_2B06D87F: 22572 MEM32(ecx + 0x4) = edx; /* 0x2B06D87F: mov dword ptr [ecx + 4], edx */ 22573 L_2B06D882: 22574 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D882: mov byte ptr [eax + 0x14], bl */ 22575 edx = MEM32(ebp + (-0x4)); /* 0x2B06D885: mov edx, dword ptr [ebp - 4] */ 22576 PUSH32(esp, edx); /* 0x2B06D888: push edx */ 22577 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06D889: call 0x2b0ab1ba */ /* not lifted */ 22578 RECOMP_FLAGS_IN(); 22579 eax = MEM32(edi + 0x10); /* 0x2B06D88E: mov eax, dword ptr [edi + 0x10] */ 22580 ecx = MEM32(ebp + 0xC); /* 0x2B06D891: mov ecx, dword ptr [ebp + 0xc] */ 22581 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 22582 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22583 esp = esp + 4; /* 0x2B06D894: add esp, 4 */ 22584 _flag_k = FK_ADD; 22585 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 22586 eax = eax - 1; /* 0x2B06D897: dec eax */ 22587 _flag_k = FK_DEC; 22588 MEM32(edi + 0x10) = eax; /* 0x2B06D898: mov dword ptr [edi + 0x10], eax */ 22589 eax = MEM32(ebp + 0x8); /* 0x2B06D89B: mov eax, dword ptr [ebp + 8] */ 22590 edi = POP32_VAL(esp); /* 0x2B06D89E: pop edi */ 22591 esi = POP32_VAL(esp); /* 0x2B06D89F: pop esi */ 22592 MEM32(eax) = ecx; /* 0x2B06D8A0: mov dword ptr [eax], ecx */ 22593 ebx = POP32_VAL(esp); /* 0x2B06D8A2: pop ebx */ 22594 esp = ebp; /* 0x2B06D8A3: mov esp, ebp */ 22595 ebp = POP32_VAL(esp); /* 0x2B06D8A5: pop ebp */ 22596 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B06D8A6: ret 8 */ 22597 RECOMP_REGS_OUT(); 22598 } 22599 22600 void sub_2B06D707(void) { 22601 int _fpu_cmp = 0; 22602 uint32_t _cf = 0; 22603 int _df = 1; 22604 uint32_t _flag_k = FK_NONE; 22605 uint32_t _flag_a = 0, _flag_b = 0; 22606 uint32_t _itail_tgt = 0; 22607 RECOMP_REGS_LOCALS 22608 RECOMP_ENTER(0x2B06D707u); 22609 22610 goto L_2B06D707; 22611 L_2B06D634: 22612 /* cmp MEM8(eax + 0x14), LO8(ebx) */ /* 0x2B06D634: cmp byte ptr [eax + 0x14], bl */ 22613 _flag_a = (uint32_t)(MEM8(eax + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22614 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22615 _flag_k = FK_NARROW(FK_CMP, 24); 22616 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D882; /* 0x2B06D637: jne 0x2b06d882 */ 22617 L_2B06D63D: 22618 edx = MEM32(eax + 0x4); /* 0x2B06D63D: mov edx, dword ptr [eax + 4] */ 22619 ecx = MEM32(edx); /* 0x2B06D640: mov ecx, dword ptr [edx] */ 22620 /* cmp eax, ecx */ /* 0x2B06D642: cmp eax, ecx */ 22621 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 22622 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22623 _flag_k = FK_CMP; 22624 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6B4; /* 0x2B06D644: jne 0x2b06d6b4 */ 22625 L_2B06D646: 22626 ecx = MEM32(edx + 0x8); /* 0x2B06D646: mov ecx, dword ptr [edx + 8] */ 22627 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2B06D649: mov dl, byte ptr [ecx + 0x14] */ 22628 /* test LO8(edx), LO8(edx) */ /* 0x2B06D64C: test dl, dl */ 22629 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 22630 _cf = 0; 22631 _flag_k = FK_NARROW(FK_TEST, 24); 22632 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06D69B; /* 0x2B06D64E: jne 0x2b06d69b */ 22633 L_2B06D650: 22634 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D650: mov byte ptr [ecx + 0x14], bl */ 22635 ecx = MEM32(eax + 0x4); /* 0x2B06D653: mov ecx, dword ptr [eax + 4] */ 22636 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D656: mov byte ptr [ecx + 0x14], 0 */ 22637 ecx = MEM32(eax + 0x4); /* 0x2B06D65A: mov ecx, dword ptr [eax + 4] */ 22638 edx = MEM32(ecx + 0x8); /* 0x2B06D65D: mov edx, dword ptr [ecx + 8] */ 22639 esi = MEM32(edx); /* 0x2B06D660: mov esi, dword ptr [edx] */ 22640 MEM32(ecx + 0x8) = esi; /* 0x2B06D662: mov dword ptr [ecx + 8], esi */ 22641 esi = MEM32(edx); /* 0x2B06D665: mov esi, dword ptr [edx] */ 22642 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D667: cmp esi, dword ptr [edi + 8] */ 22643 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22644 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22645 _flag_k = FK_CMP; 22646 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D66F; /* 0x2B06D66A: je 0x2b06d66f */ 22647 L_2B06D66C: 22648 MEM32(esi + 0x4) = ecx; /* 0x2B06D66C: mov dword ptr [esi + 4], ecx */ 22649 L_2B06D66F: 22650 esi = MEM32(ecx + 0x4); /* 0x2B06D66F: mov esi, dword ptr [ecx + 4] */ 22651 MEM32(edx + 0x4) = esi; /* 0x2B06D672: mov dword ptr [edx + 4], esi */ 22652 esi = MEM32(edi + 0x4); /* 0x2B06D675: mov esi, dword ptr [edi + 4] */ 22653 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D678: cmp ecx, dword ptr [esi + 4] */ 22654 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22655 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22656 _flag_k = FK_CMP; 22657 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D682; /* 0x2B06D67B: jne 0x2b06d682 */ 22658 L_2B06D67D: 22659 MEM32(esi + 0x4) = edx; /* 0x2B06D67D: mov dword ptr [esi + 4], edx */ 22660 goto L_2B06D690; /* 0x2B06D680: jmp 0x2b06d690 */ 22661 L_2B06D682: 22662 esi = MEM32(ecx + 0x4); /* 0x2B06D682: mov esi, dword ptr [ecx + 4] */ 22663 /* cmp ecx, MEM32(esi) */ /* 0x2B06D685: cmp ecx, dword ptr [esi] */ 22664 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 22665 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22666 _flag_k = FK_CMP; 22667 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D68D; /* 0x2B06D687: jne 0x2b06d68d */ 22668 L_2B06D689: 22669 MEM32(esi) = edx; /* 0x2B06D689: mov dword ptr [esi], edx */ 22670 goto L_2B06D690; /* 0x2B06D68B: jmp 0x2b06d690 */ 22671 L_2B06D68D: 22672 MEM32(esi + 0x8) = edx; /* 0x2B06D68D: mov dword ptr [esi + 8], edx */ 22673 L_2B06D690: 22674 MEM32(edx) = ecx; /* 0x2B06D690: mov dword ptr [edx], ecx */ 22675 MEM32(ecx + 0x4) = edx; /* 0x2B06D692: mov dword ptr [ecx + 4], edx */ 22676 edx = MEM32(eax + 0x4); /* 0x2B06D695: mov edx, dword ptr [eax + 4] */ 22677 ecx = MEM32(edx + 0x8); /* 0x2B06D698: mov ecx, dword ptr [edx + 8] */ 22678 L_2B06D69B: 22679 edx = MEM32(ecx); /* 0x2B06D69B: mov edx, dword ptr [ecx] */ 22680 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D69D: cmp byte ptr [edx + 0x14], bl */ 22681 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22682 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22683 _flag_k = FK_NARROW(FK_CMP, 24); 22684 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D736; /* 0x2B06D6A0: jne 0x2b06d736 */ 22685 L_2B06D6A6: 22686 edx = MEM32(ecx + 0x8); /* 0x2B06D6A6: mov edx, dword ptr [ecx + 8] */ 22687 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D6A9: cmp byte ptr [edx + 0x14], bl */ 22688 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22689 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22690 _flag_k = FK_NARROW(FK_CMP, 24); 22691 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D736; /* 0x2B06D6AC: jne 0x2b06d736 */ 22692 L_2B06D6B2: 22693 goto L_2B06D71E; /* 0x2B06D6B2: jmp 0x2b06d71e */ 22694 L_2B06D6B4: 22695 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2B06D6B4: mov dl, byte ptr [ecx + 0x14] */ 22696 /* test LO8(edx), LO8(edx) */ /* 0x2B06D6B7: test dl, dl */ 22697 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 22698 _cf = 0; 22699 _flag_k = FK_NARROW(FK_TEST, 24); 22700 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06D707; /* 0x2B06D6B9: jne 0x2b06d707 */ 22701 L_2B06D6BB: 22702 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D6BB: mov byte ptr [ecx + 0x14], bl */ 22703 ecx = MEM32(eax + 0x4); /* 0x2B06D6BE: mov ecx, dword ptr [eax + 4] */ 22704 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D6C1: mov byte ptr [ecx + 0x14], 0 */ 22705 ecx = MEM32(eax + 0x4); /* 0x2B06D6C5: mov ecx, dword ptr [eax + 4] */ 22706 edx = MEM32(ecx); /* 0x2B06D6C8: mov edx, dword ptr [ecx] */ 22707 esi = MEM32(edx + 0x8); /* 0x2B06D6CA: mov esi, dword ptr [edx + 8] */ 22708 MEM32(ecx) = esi; /* 0x2B06D6CD: mov dword ptr [ecx], esi */ 22709 esi = MEM32(edx + 0x8); /* 0x2B06D6CF: mov esi, dword ptr [edx + 8] */ 22710 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D6D2: cmp esi, dword ptr [edi + 8] */ 22711 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22712 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22713 _flag_k = FK_CMP; 22714 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D6DA; /* 0x2B06D6D5: je 0x2b06d6da */ 22715 L_2B06D6D7: 22716 MEM32(esi + 0x4) = ecx; /* 0x2B06D6D7: mov dword ptr [esi + 4], ecx */ 22717 L_2B06D6DA: 22718 esi = MEM32(ecx + 0x4); /* 0x2B06D6DA: mov esi, dword ptr [ecx + 4] */ 22719 MEM32(edx + 0x4) = esi; /* 0x2B06D6DD: mov dword ptr [edx + 4], esi */ 22720 esi = MEM32(edi + 0x4); /* 0x2B06D6E0: mov esi, dword ptr [edi + 4] */ 22721 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D6E3: cmp ecx, dword ptr [esi + 4] */ 22722 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22723 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22724 _flag_k = FK_CMP; 22725 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6ED; /* 0x2B06D6E6: jne 0x2b06d6ed */ 22726 L_2B06D6E8: 22727 MEM32(esi + 0x4) = edx; /* 0x2B06D6E8: mov dword ptr [esi + 4], edx */ 22728 goto L_2B06D6FC; /* 0x2B06D6EB: jmp 0x2b06d6fc */ 22729 L_2B06D6ED: 22730 esi = MEM32(ecx + 0x4); /* 0x2B06D6ED: mov esi, dword ptr [ecx + 4] */ 22731 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D6F0: cmp ecx, dword ptr [esi + 8] */ 22732 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22733 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22734 _flag_k = FK_CMP; 22735 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6FA; /* 0x2B06D6F3: jne 0x2b06d6fa */ 22736 L_2B06D6F5: 22737 MEM32(esi + 0x8) = edx; /* 0x2B06D6F5: mov dword ptr [esi + 8], edx */ 22738 goto L_2B06D6FC; /* 0x2B06D6F8: jmp 0x2b06d6fc */ 22739 L_2B06D6FA: 22740 MEM32(esi) = edx; /* 0x2B06D6FA: mov dword ptr [esi], edx */ 22741 L_2B06D6FC: 22742 MEM32(edx + 0x8) = ecx; /* 0x2B06D6FC: mov dword ptr [edx + 8], ecx */ 22743 MEM32(ecx + 0x4) = edx; /* 0x2B06D6FF: mov dword ptr [ecx + 4], edx */ 22744 edx = MEM32(eax + 0x4); /* 0x2B06D702: mov edx, dword ptr [eax + 4] */ 22745 ecx = MEM32(edx); /* 0x2B06D705: mov ecx, dword ptr [edx] */ 22746 L_2B06D707: 22747 edx = MEM32(ecx + 0x8); /* 0x2B06D707: mov edx, dword ptr [ecx + 8] */ 22748 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D70A: cmp byte ptr [edx + 0x14], bl */ 22749 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22750 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22751 _flag_k = FK_NARROW(FK_CMP, 24); 22752 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7E3; /* 0x2B06D70D: jne 0x2b06d7e3 */ 22753 L_2B06D713: 22754 edx = MEM32(ecx); /* 0x2B06D713: mov edx, dword ptr [ecx] */ 22755 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D715: cmp byte ptr [edx + 0x14], bl */ 22756 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22757 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22758 _flag_k = FK_NARROW(FK_CMP, 24); 22759 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7E3; /* 0x2B06D718: jne 0x2b06d7e3 */ 22760 L_2B06D71E: 22761 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D71E: mov byte ptr [ecx + 0x14], 0 */ 22762 ecx = MEM32(edi + 0x4); /* 0x2B06D722: mov ecx, dword ptr [edi + 4] */ 22763 eax = MEM32(eax + 0x4); /* 0x2B06D725: mov eax, dword ptr [eax + 4] */ 22764 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B06D728: cmp eax, dword ptr [ecx + 4] */ 22765 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 22766 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22767 _flag_k = FK_CMP; 22768 RECOMP_BACKEDGE(); 22769 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D634; /* 0x2B06D72B: jne 0x2b06d634 */ 22770 L_2B06D731: 22771 goto L_2B06D882; /* 0x2B06D731: jmp 0x2b06d882 */ 22772 L_2B06D736: 22773 edx = MEM32(ecx + 0x8); /* 0x2B06D736: mov edx, dword ptr [ecx + 8] */ 22774 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D739: cmp byte ptr [edx + 0x14], bl */ 22775 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22776 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22777 _flag_k = FK_NARROW(FK_CMP, 24); 22778 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D787; /* 0x2B06D73C: jne 0x2b06d787 */ 22779 L_2B06D73E: 22780 edx = MEM32(ecx); /* 0x2B06D73E: mov edx, dword ptr [ecx] */ 22781 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D740: mov byte ptr [edx + 0x14], bl */ 22782 edx = MEM32(ecx); /* 0x2B06D743: mov edx, dword ptr [ecx] */ 22783 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D745: mov byte ptr [ecx + 0x14], 0 */ 22784 esi = MEM32(edx + 0x8); /* 0x2B06D749: mov esi, dword ptr [edx + 8] */ 22785 MEM32(ecx) = esi; /* 0x2B06D74C: mov dword ptr [ecx], esi */ 22786 esi = MEM32(edx + 0x8); /* 0x2B06D74E: mov esi, dword ptr [edx + 8] */ 22787 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D751: cmp esi, dword ptr [edi + 8] */ 22788 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22789 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22790 _flag_k = FK_CMP; 22791 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D759; /* 0x2B06D754: je 0x2b06d759 */ 22792 L_2B06D756: 22793 MEM32(esi + 0x4) = ecx; /* 0x2B06D756: mov dword ptr [esi + 4], ecx */ 22794 L_2B06D759: 22795 esi = MEM32(ecx + 0x4); /* 0x2B06D759: mov esi, dword ptr [ecx + 4] */ 22796 MEM32(edx + 0x4) = esi; /* 0x2B06D75C: mov dword ptr [edx + 4], esi */ 22797 esi = MEM32(edi + 0x4); /* 0x2B06D75F: mov esi, dword ptr [edi + 4] */ 22798 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D762: cmp ecx, dword ptr [esi + 4] */ 22799 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22800 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22801 _flag_k = FK_CMP; 22802 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D76C; /* 0x2B06D765: jne 0x2b06d76c */ 22803 L_2B06D767: 22804 MEM32(esi + 0x4) = edx; /* 0x2B06D767: mov dword ptr [esi + 4], edx */ 22805 goto L_2B06D77B; /* 0x2B06D76A: jmp 0x2b06d77b */ 22806 L_2B06D76C: 22807 esi = MEM32(ecx + 0x4); /* 0x2B06D76C: mov esi, dword ptr [ecx + 4] */ 22808 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D76F: cmp ecx, dword ptr [esi + 8] */ 22809 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22810 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22811 _flag_k = FK_CMP; 22812 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D779; /* 0x2B06D772: jne 0x2b06d779 */ 22813 L_2B06D774: 22814 MEM32(esi + 0x8) = edx; /* 0x2B06D774: mov dword ptr [esi + 8], edx */ 22815 goto L_2B06D77B; /* 0x2B06D777: jmp 0x2b06d77b */ 22816 L_2B06D779: 22817 MEM32(esi) = edx; /* 0x2B06D779: mov dword ptr [esi], edx */ 22818 L_2B06D77B: 22819 MEM32(edx + 0x8) = ecx; /* 0x2B06D77B: mov dword ptr [edx + 8], ecx */ 22820 MEM32(ecx + 0x4) = edx; /* 0x2B06D77E: mov dword ptr [ecx + 4], edx */ 22821 ecx = MEM32(eax + 0x4); /* 0x2B06D781: mov ecx, dword ptr [eax + 4] */ 22822 ecx = MEM32(ecx + 0x8); /* 0x2B06D784: mov ecx, dword ptr [ecx + 8] */ 22823 L_2B06D787: 22824 edx = MEM32(eax + 0x4); /* 0x2B06D787: mov edx, dword ptr [eax + 4] */ 22825 SET_LO8(edx, MEM8(edx + 0x14)); /* 0x2B06D78A: mov dl, byte ptr [edx + 0x14] */ 22826 MEM8(ecx + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B06D78D: mov byte ptr [ecx + 0x14], dl */ 22827 edx = MEM32(eax + 0x4); /* 0x2B06D790: mov edx, dword ptr [eax + 4] */ 22828 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D793: mov byte ptr [edx + 0x14], bl */ 22829 ecx = MEM32(ecx + 0x8); /* 0x2B06D796: mov ecx, dword ptr [ecx + 8] */ 22830 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D799: mov byte ptr [ecx + 0x14], bl */ 22831 ecx = MEM32(eax + 0x4); /* 0x2B06D79C: mov ecx, dword ptr [eax + 4] */ 22832 edx = MEM32(ecx + 0x8); /* 0x2B06D79F: mov edx, dword ptr [ecx + 8] */ 22833 esi = MEM32(edx); /* 0x2B06D7A2: mov esi, dword ptr [edx] */ 22834 MEM32(ecx + 0x8) = esi; /* 0x2B06D7A4: mov dword ptr [ecx + 8], esi */ 22835 esi = MEM32(edx); /* 0x2B06D7A7: mov esi, dword ptr [edx] */ 22836 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D7A9: cmp esi, dword ptr [edi + 8] */ 22837 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22838 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22839 _flag_k = FK_CMP; 22840 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D7B1; /* 0x2B06D7AC: je 0x2b06d7b1 */ 22841 L_2B06D7AE: 22842 MEM32(esi + 0x4) = ecx; /* 0x2B06D7AE: mov dword ptr [esi + 4], ecx */ 22843 L_2B06D7B1: 22844 esi = MEM32(ecx + 0x4); /* 0x2B06D7B1: mov esi, dword ptr [ecx + 4] */ 22845 MEM32(edx + 0x4) = esi; /* 0x2B06D7B4: mov dword ptr [edx + 4], esi */ 22846 esi = MEM32(edi + 0x4); /* 0x2B06D7B7: mov esi, dword ptr [edi + 4] */ 22847 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D7BA: cmp ecx, dword ptr [esi + 4] */ 22848 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22849 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22850 _flag_k = FK_CMP; 22851 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7C9; /* 0x2B06D7BD: jne 0x2b06d7c9 */ 22852 L_2B06D7BF: 22853 MEM32(esi + 0x4) = edx; /* 0x2B06D7BF: mov dword ptr [esi + 4], edx */ 22854 MEM32(edx) = ecx; /* 0x2B06D7C2: mov dword ptr [edx], ecx */ 22855 goto L_2B06D87F; /* 0x2B06D7C4: jmp 0x2b06d87f */ 22856 L_2B06D7C9: 22857 esi = MEM32(ecx + 0x4); /* 0x2B06D7C9: mov esi, dword ptr [ecx + 4] */ 22858 /* cmp ecx, MEM32(esi) */ /* 0x2B06D7CC: cmp ecx, dword ptr [esi] */ 22859 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 22860 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22861 _flag_k = FK_CMP; 22862 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7D9; /* 0x2B06D7CE: jne 0x2b06d7d9 */ 22863 L_2B06D7D0: 22864 MEM32(esi) = edx; /* 0x2B06D7D0: mov dword ptr [esi], edx */ 22865 MEM32(edx) = ecx; /* 0x2B06D7D2: mov dword ptr [edx], ecx */ 22866 goto L_2B06D87F; /* 0x2B06D7D4: jmp 0x2b06d87f */ 22867 L_2B06D7D9: 22868 MEM32(esi + 0x8) = edx; /* 0x2B06D7D9: mov dword ptr [esi + 8], edx */ 22869 MEM32(edx) = ecx; /* 0x2B06D7DC: mov dword ptr [edx], ecx */ 22870 goto L_2B06D87F; /* 0x2B06D7DE: jmp 0x2b06d87f */ 22871 L_2B06D7E3: 22872 edx = MEM32(ecx); /* 0x2B06D7E3: mov edx, dword ptr [ecx] */ 22873 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D7E5: cmp byte ptr [edx + 0x14], bl */ 22874 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22875 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22876 _flag_k = FK_NARROW(FK_CMP, 24); 22877 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D831; /* 0x2B06D7E8: jne 0x2b06d831 */ 22878 L_2B06D7EA: 22879 edx = MEM32(ecx + 0x8); /* 0x2B06D7EA: mov edx, dword ptr [ecx + 8] */ 22880 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D7ED: mov byte ptr [edx + 0x14], bl */ 22881 edx = MEM32(ecx + 0x8); /* 0x2B06D7F0: mov edx, dword ptr [ecx + 8] */ 22882 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D7F3: mov byte ptr [ecx + 0x14], 0 */ 22883 esi = MEM32(edx); /* 0x2B06D7F7: mov esi, dword ptr [edx] */ 22884 MEM32(ecx + 0x8) = esi; /* 0x2B06D7F9: mov dword ptr [ecx + 8], esi */ 22885 esi = MEM32(edx); /* 0x2B06D7FC: mov esi, dword ptr [edx] */ 22886 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D7FE: cmp esi, dword ptr [edi + 8] */ 22887 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22888 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22889 _flag_k = FK_CMP; 22890 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D806; /* 0x2B06D801: je 0x2b06d806 */ 22891 L_2B06D803: 22892 MEM32(esi + 0x4) = ecx; /* 0x2B06D803: mov dword ptr [esi + 4], ecx */ 22893 L_2B06D806: 22894 esi = MEM32(ecx + 0x4); /* 0x2B06D806: mov esi, dword ptr [ecx + 4] */ 22895 MEM32(edx + 0x4) = esi; /* 0x2B06D809: mov dword ptr [edx + 4], esi */ 22896 esi = MEM32(edi + 0x4); /* 0x2B06D80C: mov esi, dword ptr [edi + 4] */ 22897 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D80F: cmp ecx, dword ptr [esi + 4] */ 22898 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22899 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22900 _flag_k = FK_CMP; 22901 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D819; /* 0x2B06D812: jne 0x2b06d819 */ 22902 L_2B06D814: 22903 MEM32(esi + 0x4) = edx; /* 0x2B06D814: mov dword ptr [esi + 4], edx */ 22904 goto L_2B06D827; /* 0x2B06D817: jmp 0x2b06d827 */ 22905 L_2B06D819: 22906 esi = MEM32(ecx + 0x4); /* 0x2B06D819: mov esi, dword ptr [ecx + 4] */ 22907 /* cmp ecx, MEM32(esi) */ /* 0x2B06D81C: cmp ecx, dword ptr [esi] */ 22908 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 22909 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22910 _flag_k = FK_CMP; 22911 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D824; /* 0x2B06D81E: jne 0x2b06d824 */ 22912 L_2B06D820: 22913 MEM32(esi) = edx; /* 0x2B06D820: mov dword ptr [esi], edx */ 22914 goto L_2B06D827; /* 0x2B06D822: jmp 0x2b06d827 */ 22915 L_2B06D824: 22916 MEM32(esi + 0x8) = edx; /* 0x2B06D824: mov dword ptr [esi + 8], edx */ 22917 L_2B06D827: 22918 MEM32(edx) = ecx; /* 0x2B06D827: mov dword ptr [edx], ecx */ 22919 MEM32(ecx + 0x4) = edx; /* 0x2B06D829: mov dword ptr [ecx + 4], edx */ 22920 ecx = MEM32(eax + 0x4); /* 0x2B06D82C: mov ecx, dword ptr [eax + 4] */ 22921 ecx = MEM32(ecx); /* 0x2B06D82F: mov ecx, dword ptr [ecx] */ 22922 L_2B06D831: 22923 edx = MEM32(eax + 0x4); /* 0x2B06D831: mov edx, dword ptr [eax + 4] */ 22924 SET_LO8(edx, MEM8(edx + 0x14)); /* 0x2B06D834: mov dl, byte ptr [edx + 0x14] */ 22925 MEM8(ecx + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B06D837: mov byte ptr [ecx + 0x14], dl */ 22926 edx = MEM32(eax + 0x4); /* 0x2B06D83A: mov edx, dword ptr [eax + 4] */ 22927 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D83D: mov byte ptr [edx + 0x14], bl */ 22928 ecx = MEM32(ecx); /* 0x2B06D840: mov ecx, dword ptr [ecx] */ 22929 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D842: mov byte ptr [ecx + 0x14], bl */ 22930 ecx = MEM32(eax + 0x4); /* 0x2B06D845: mov ecx, dword ptr [eax + 4] */ 22931 edx = MEM32(ecx); /* 0x2B06D848: mov edx, dword ptr [ecx] */ 22932 esi = MEM32(edx + 0x8); /* 0x2B06D84A: mov esi, dword ptr [edx + 8] */ 22933 MEM32(ecx) = esi; /* 0x2B06D84D: mov dword ptr [ecx], esi */ 22934 esi = MEM32(edx + 0x8); /* 0x2B06D84F: mov esi, dword ptr [edx + 8] */ 22935 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D852: cmp esi, dword ptr [edi + 8] */ 22936 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22937 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22938 _flag_k = FK_CMP; 22939 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D85A; /* 0x2B06D855: je 0x2b06d85a */ 22940 L_2B06D857: 22941 MEM32(esi + 0x4) = ecx; /* 0x2B06D857: mov dword ptr [esi + 4], ecx */ 22942 L_2B06D85A: 22943 esi = MEM32(ecx + 0x4); /* 0x2B06D85A: mov esi, dword ptr [ecx + 4] */ 22944 MEM32(edx + 0x4) = esi; /* 0x2B06D85D: mov dword ptr [edx + 4], esi */ 22945 esi = MEM32(edi + 0x4); /* 0x2B06D860: mov esi, dword ptr [edi + 4] */ 22946 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D863: cmp ecx, dword ptr [esi + 4] */ 22947 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22948 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22949 _flag_k = FK_CMP; 22950 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D86D; /* 0x2B06D866: jne 0x2b06d86d */ 22951 L_2B06D868: 22952 MEM32(esi + 0x4) = edx; /* 0x2B06D868: mov dword ptr [esi + 4], edx */ 22953 goto L_2B06D87C; /* 0x2B06D86B: jmp 0x2b06d87c */ 22954 L_2B06D86D: 22955 esi = MEM32(ecx + 0x4); /* 0x2B06D86D: mov esi, dword ptr [ecx + 4] */ 22956 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D870: cmp ecx, dword ptr [esi + 8] */ 22957 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22958 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22959 _flag_k = FK_CMP; 22960 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D87A; /* 0x2B06D873: jne 0x2b06d87a */ 22961 L_2B06D875: 22962 MEM32(esi + 0x8) = edx; /* 0x2B06D875: mov dword ptr [esi + 8], edx */ 22963 goto L_2B06D87C; /* 0x2B06D878: jmp 0x2b06d87c */ 22964 L_2B06D87A: 22965 MEM32(esi) = edx; /* 0x2B06D87A: mov dword ptr [esi], edx */ 22966 L_2B06D87C: 22967 MEM32(edx + 0x8) = ecx; /* 0x2B06D87C: mov dword ptr [edx + 8], ecx */ 22968 L_2B06D87F: 22969 MEM32(ecx + 0x4) = edx; /* 0x2B06D87F: mov dword ptr [ecx + 4], edx */ 22970 L_2B06D882: 22971 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D882: mov byte ptr [eax + 0x14], bl */ 22972 edx = MEM32(ebp + (-0x4)); /* 0x2B06D885: mov edx, dword ptr [ebp - 4] */ 22973 PUSH32(esp, edx); /* 0x2B06D888: push edx */ 22974 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06D889: call 0x2b0ab1ba */ /* not lifted */ 22975 RECOMP_FLAGS_IN(); 22976 eax = MEM32(edi + 0x10); /* 0x2B06D88E: mov eax, dword ptr [edi + 0x10] */ 22977 ecx = MEM32(ebp + 0xC); /* 0x2B06D891: mov ecx, dword ptr [ebp + 0xc] */ 22978 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 22979 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22980 esp = esp + 4; /* 0x2B06D894: add esp, 4 */ 22981 _flag_k = FK_ADD; 22982 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 22983 eax = eax - 1; /* 0x2B06D897: dec eax */ 22984 _flag_k = FK_DEC; 22985 MEM32(edi + 0x10) = eax; /* 0x2B06D898: mov dword ptr [edi + 0x10], eax */ 22986 eax = MEM32(ebp + 0x8); /* 0x2B06D89B: mov eax, dword ptr [ebp + 8] */ 22987 edi = POP32_VAL(esp); /* 0x2B06D89E: pop edi */ 22988 esi = POP32_VAL(esp); /* 0x2B06D89F: pop esi */ 22989 MEM32(eax) = ecx; /* 0x2B06D8A0: mov dword ptr [eax], ecx */ 22990 ebx = POP32_VAL(esp); /* 0x2B06D8A2: pop ebx */ 22991 esp = ebp; /* 0x2B06D8A3: mov esp, ebp */ 22992 ebp = POP32_VAL(esp); /* 0x2B06D8A5: pop ebp */ 22993 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B06D8A6: ret 8 */ 22994 RECOMP_REGS_OUT(); 22995 } 22996 22997 void sub_2B06D71E(void) { 22998 int _fpu_cmp = 0; 22999 uint32_t _cf = 0; 23000 int _df = 1; 23001 uint32_t _flag_k = FK_NONE; 23002 uint32_t _flag_a = 0, _flag_b = 0; 23003 uint32_t _itail_tgt = 0; 23004 RECOMP_REGS_LOCALS 23005 RECOMP_ENTER(0x2B06D71Eu); 23006 23007 goto L_2B06D71E; 23008 L_2B06D634: 23009 /* cmp MEM8(eax + 0x14), LO8(ebx) */ /* 0x2B06D634: cmp byte ptr [eax + 0x14], bl */ 23010 _flag_a = (uint32_t)(MEM8(eax + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 23011 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23012 _flag_k = FK_NARROW(FK_CMP, 24); 23013 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D882; /* 0x2B06D637: jne 0x2b06d882 */ 23014 L_2B06D63D: 23015 edx = MEM32(eax + 0x4); /* 0x2B06D63D: mov edx, dword ptr [eax + 4] */ 23016 ecx = MEM32(edx); /* 0x2B06D640: mov ecx, dword ptr [edx] */ 23017 /* cmp eax, ecx */ /* 0x2B06D642: cmp eax, ecx */ 23018 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 23019 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23020 _flag_k = FK_CMP; 23021 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6B4; /* 0x2B06D644: jne 0x2b06d6b4 */ 23022 L_2B06D646: 23023 ecx = MEM32(edx + 0x8); /* 0x2B06D646: mov ecx, dword ptr [edx + 8] */ 23024 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2B06D649: mov dl, byte ptr [ecx + 0x14] */ 23025 /* test LO8(edx), LO8(edx) */ /* 0x2B06D64C: test dl, dl */ 23026 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 23027 _cf = 0; 23028 _flag_k = FK_NARROW(FK_TEST, 24); 23029 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06D69B; /* 0x2B06D64E: jne 0x2b06d69b */ 23030 L_2B06D650: 23031 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D650: mov byte ptr [ecx + 0x14], bl */ 23032 ecx = MEM32(eax + 0x4); /* 0x2B06D653: mov ecx, dword ptr [eax + 4] */ 23033 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D656: mov byte ptr [ecx + 0x14], 0 */ 23034 ecx = MEM32(eax + 0x4); /* 0x2B06D65A: mov ecx, dword ptr [eax + 4] */ 23035 edx = MEM32(ecx + 0x8); /* 0x2B06D65D: mov edx, dword ptr [ecx + 8] */ 23036 esi = MEM32(edx); /* 0x2B06D660: mov esi, dword ptr [edx] */ 23037 MEM32(ecx + 0x8) = esi; /* 0x2B06D662: mov dword ptr [ecx + 8], esi */ 23038 esi = MEM32(edx); /* 0x2B06D665: mov esi, dword ptr [edx] */ 23039 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D667: cmp esi, dword ptr [edi + 8] */ 23040 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 23041 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23042 _flag_k = FK_CMP; 23043 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D66F; /* 0x2B06D66A: je 0x2b06d66f */ 23044 L_2B06D66C: 23045 MEM32(esi + 0x4) = ecx; /* 0x2B06D66C: mov dword ptr [esi + 4], ecx */ 23046 L_2B06D66F: 23047 esi = MEM32(ecx + 0x4); /* 0x2B06D66F: mov esi, dword ptr [ecx + 4] */ 23048 MEM32(edx + 0x4) = esi; /* 0x2B06D672: mov dword ptr [edx + 4], esi */ 23049 esi = MEM32(edi + 0x4); /* 0x2B06D675: mov esi, dword ptr [edi + 4] */ 23050 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D678: cmp ecx, dword ptr [esi + 4] */ 23051 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 23052 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23053 _flag_k = FK_CMP; 23054 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D682; /* 0x2B06D67B: jne 0x2b06d682 */ 23055 L_2B06D67D: 23056 MEM32(esi + 0x4) = edx; /* 0x2B06D67D: mov dword ptr [esi + 4], edx */ 23057 goto L_2B06D690; /* 0x2B06D680: jmp 0x2b06d690 */ 23058 L_2B06D682: 23059 esi = MEM32(ecx + 0x4); /* 0x2B06D682: mov esi, dword ptr [ecx + 4] */ 23060 /* cmp ecx, MEM32(esi) */ /* 0x2B06D685: cmp ecx, dword ptr [esi] */ 23061 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 23062 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23063 _flag_k = FK_CMP; 23064 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D68D; /* 0x2B06D687: jne 0x2b06d68d */ 23065 L_2B06D689: 23066 MEM32(esi) = edx; /* 0x2B06D689: mov dword ptr [esi], edx */ 23067 goto L_2B06D690; /* 0x2B06D68B: jmp 0x2b06d690 */ 23068 L_2B06D68D: 23069 MEM32(esi + 0x8) = edx; /* 0x2B06D68D: mov dword ptr [esi + 8], edx */ 23070 L_2B06D690: 23071 MEM32(edx) = ecx; /* 0x2B06D690: mov dword ptr [edx], ecx */ 23072 MEM32(ecx + 0x4) = edx; /* 0x2B06D692: mov dword ptr [ecx + 4], edx */ 23073 edx = MEM32(eax + 0x4); /* 0x2B06D695: mov edx, dword ptr [eax + 4] */ 23074 ecx = MEM32(edx + 0x8); /* 0x2B06D698: mov ecx, dword ptr [edx + 8] */ 23075 L_2B06D69B: 23076 edx = MEM32(ecx); /* 0x2B06D69B: mov edx, dword ptr [ecx] */ 23077 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D69D: cmp byte ptr [edx + 0x14], bl */ 23078 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 23079 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23080 _flag_k = FK_NARROW(FK_CMP, 24); 23081 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D736; /* 0x2B06D6A0: jne 0x2b06d736 */ 23082 L_2B06D6A6: 23083 edx = MEM32(ecx + 0x8); /* 0x2B06D6A6: mov edx, dword ptr [ecx + 8] */ 23084 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D6A9: cmp byte ptr [edx + 0x14], bl */ 23085 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 23086 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23087 _flag_k = FK_NARROW(FK_CMP, 24); 23088 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D736; /* 0x2B06D6AC: jne 0x2b06d736 */ 23089 L_2B06D6B2: 23090 goto L_2B06D71E; /* 0x2B06D6B2: jmp 0x2b06d71e */ 23091 L_2B06D6B4: 23092 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x2B06D6B4: mov dl, byte ptr [ecx + 0x14] */ 23093 /* test LO8(edx), LO8(edx) */ /* 0x2B06D6B7: test dl, dl */ 23094 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 23095 _cf = 0; 23096 _flag_k = FK_NARROW(FK_TEST, 24); 23097 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06D707; /* 0x2B06D6B9: jne 0x2b06d707 */ 23098 L_2B06D6BB: 23099 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D6BB: mov byte ptr [ecx + 0x14], bl */ 23100 ecx = MEM32(eax + 0x4); /* 0x2B06D6BE: mov ecx, dword ptr [eax + 4] */ 23101 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D6C1: mov byte ptr [ecx + 0x14], 0 */ 23102 ecx = MEM32(eax + 0x4); /* 0x2B06D6C5: mov ecx, dword ptr [eax + 4] */ 23103 edx = MEM32(ecx); /* 0x2B06D6C8: mov edx, dword ptr [ecx] */ 23104 esi = MEM32(edx + 0x8); /* 0x2B06D6CA: mov esi, dword ptr [edx + 8] */ 23105 MEM32(ecx) = esi; /* 0x2B06D6CD: mov dword ptr [ecx], esi */ 23106 esi = MEM32(edx + 0x8); /* 0x2B06D6CF: mov esi, dword ptr [edx + 8] */ 23107 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D6D2: cmp esi, dword ptr [edi + 8] */ 23108 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 23109 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23110 _flag_k = FK_CMP; 23111 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D6DA; /* 0x2B06D6D5: je 0x2b06d6da */ 23112 L_2B06D6D7: 23113 MEM32(esi + 0x4) = ecx; /* 0x2B06D6D7: mov dword ptr [esi + 4], ecx */ 23114 L_2B06D6DA: 23115 esi = MEM32(ecx + 0x4); /* 0x2B06D6DA: mov esi, dword ptr [ecx + 4] */ 23116 MEM32(edx + 0x4) = esi; /* 0x2B06D6DD: mov dword ptr [edx + 4], esi */ 23117 esi = MEM32(edi + 0x4); /* 0x2B06D6E0: mov esi, dword ptr [edi + 4] */ 23118 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D6E3: cmp ecx, dword ptr [esi + 4] */ 23119 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 23120 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23121 _flag_k = FK_CMP; 23122 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6ED; /* 0x2B06D6E6: jne 0x2b06d6ed */ 23123 L_2B06D6E8: 23124 MEM32(esi + 0x4) = edx; /* 0x2B06D6E8: mov dword ptr [esi + 4], edx */ 23125 goto L_2B06D6FC; /* 0x2B06D6EB: jmp 0x2b06d6fc */ 23126 L_2B06D6ED: 23127 esi = MEM32(ecx + 0x4); /* 0x2B06D6ED: mov esi, dword ptr [ecx + 4] */ 23128 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D6F0: cmp ecx, dword ptr [esi + 8] */ 23129 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23130 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23131 _flag_k = FK_CMP; 23132 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D6FA; /* 0x2B06D6F3: jne 0x2b06d6fa */ 23133 L_2B06D6F5: 23134 MEM32(esi + 0x8) = edx; /* 0x2B06D6F5: mov dword ptr [esi + 8], edx */ 23135 goto L_2B06D6FC; /* 0x2B06D6F8: jmp 0x2b06d6fc */ 23136 L_2B06D6FA: 23137 MEM32(esi) = edx; /* 0x2B06D6FA: mov dword ptr [esi], edx */ 23138 L_2B06D6FC: 23139 MEM32(edx + 0x8) = ecx; /* 0x2B06D6FC: mov dword ptr [edx + 8], ecx */ 23140 MEM32(ecx + 0x4) = edx; /* 0x2B06D6FF: mov dword ptr [ecx + 4], edx */ 23141 edx = MEM32(eax + 0x4); /* 0x2B06D702: mov edx, dword ptr [eax + 4] */ 23142 ecx = MEM32(edx); /* 0x2B06D705: mov ecx, dword ptr [edx] */ 23143 L_2B06D707: 23144 edx = MEM32(ecx + 0x8); /* 0x2B06D707: mov edx, dword ptr [ecx + 8] */ 23145 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D70A: cmp byte ptr [edx + 0x14], bl */ 23146 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 23147 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23148 _flag_k = FK_NARROW(FK_CMP, 24); 23149 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7E3; /* 0x2B06D70D: jne 0x2b06d7e3 */ 23150 L_2B06D713: 23151 edx = MEM32(ecx); /* 0x2B06D713: mov edx, dword ptr [ecx] */ 23152 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D715: cmp byte ptr [edx + 0x14], bl */ 23153 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 23154 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23155 _flag_k = FK_NARROW(FK_CMP, 24); 23156 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7E3; /* 0x2B06D718: jne 0x2b06d7e3 */ 23157 L_2B06D71E: 23158 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D71E: mov byte ptr [ecx + 0x14], 0 */ 23159 ecx = MEM32(edi + 0x4); /* 0x2B06D722: mov ecx, dword ptr [edi + 4] */ 23160 eax = MEM32(eax + 0x4); /* 0x2B06D725: mov eax, dword ptr [eax + 4] */ 23161 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B06D728: cmp eax, dword ptr [ecx + 4] */ 23162 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 23163 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23164 _flag_k = FK_CMP; 23165 RECOMP_BACKEDGE(); 23166 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D634; /* 0x2B06D72B: jne 0x2b06d634 */ 23167 L_2B06D731: 23168 goto L_2B06D882; /* 0x2B06D731: jmp 0x2b06d882 */ 23169 L_2B06D736: 23170 edx = MEM32(ecx + 0x8); /* 0x2B06D736: mov edx, dword ptr [ecx + 8] */ 23171 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D739: cmp byte ptr [edx + 0x14], bl */ 23172 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 23173 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23174 _flag_k = FK_NARROW(FK_CMP, 24); 23175 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D787; /* 0x2B06D73C: jne 0x2b06d787 */ 23176 L_2B06D73E: 23177 edx = MEM32(ecx); /* 0x2B06D73E: mov edx, dword ptr [ecx] */ 23178 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D740: mov byte ptr [edx + 0x14], bl */ 23179 edx = MEM32(ecx); /* 0x2B06D743: mov edx, dword ptr [ecx] */ 23180 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D745: mov byte ptr [ecx + 0x14], 0 */ 23181 esi = MEM32(edx + 0x8); /* 0x2B06D749: mov esi, dword ptr [edx + 8] */ 23182 MEM32(ecx) = esi; /* 0x2B06D74C: mov dword ptr [ecx], esi */ 23183 esi = MEM32(edx + 0x8); /* 0x2B06D74E: mov esi, dword ptr [edx + 8] */ 23184 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D751: cmp esi, dword ptr [edi + 8] */ 23185 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 23186 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23187 _flag_k = FK_CMP; 23188 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D759; /* 0x2B06D754: je 0x2b06d759 */ 23189 L_2B06D756: 23190 MEM32(esi + 0x4) = ecx; /* 0x2B06D756: mov dword ptr [esi + 4], ecx */ 23191 L_2B06D759: 23192 esi = MEM32(ecx + 0x4); /* 0x2B06D759: mov esi, dword ptr [ecx + 4] */ 23193 MEM32(edx + 0x4) = esi; /* 0x2B06D75C: mov dword ptr [edx + 4], esi */ 23194 esi = MEM32(edi + 0x4); /* 0x2B06D75F: mov esi, dword ptr [edi + 4] */ 23195 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D762: cmp ecx, dword ptr [esi + 4] */ 23196 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 23197 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23198 _flag_k = FK_CMP; 23199 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D76C; /* 0x2B06D765: jne 0x2b06d76c */ 23200 L_2B06D767: 23201 MEM32(esi + 0x4) = edx; /* 0x2B06D767: mov dword ptr [esi + 4], edx */ 23202 goto L_2B06D77B; /* 0x2B06D76A: jmp 0x2b06d77b */ 23203 L_2B06D76C: 23204 esi = MEM32(ecx + 0x4); /* 0x2B06D76C: mov esi, dword ptr [ecx + 4] */ 23205 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D76F: cmp ecx, dword ptr [esi + 8] */ 23206 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23207 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23208 _flag_k = FK_CMP; 23209 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D779; /* 0x2B06D772: jne 0x2b06d779 */ 23210 L_2B06D774: 23211 MEM32(esi + 0x8) = edx; /* 0x2B06D774: mov dword ptr [esi + 8], edx */ 23212 goto L_2B06D77B; /* 0x2B06D777: jmp 0x2b06d77b */ 23213 L_2B06D779: 23214 MEM32(esi) = edx; /* 0x2B06D779: mov dword ptr [esi], edx */ 23215 L_2B06D77B: 23216 MEM32(edx + 0x8) = ecx; /* 0x2B06D77B: mov dword ptr [edx + 8], ecx */ 23217 MEM32(ecx + 0x4) = edx; /* 0x2B06D77E: mov dword ptr [ecx + 4], edx */ 23218 ecx = MEM32(eax + 0x4); /* 0x2B06D781: mov ecx, dword ptr [eax + 4] */ 23219 ecx = MEM32(ecx + 0x8); /* 0x2B06D784: mov ecx, dword ptr [ecx + 8] */ 23220 L_2B06D787: 23221 edx = MEM32(eax + 0x4); /* 0x2B06D787: mov edx, dword ptr [eax + 4] */ 23222 SET_LO8(edx, MEM8(edx + 0x14)); /* 0x2B06D78A: mov dl, byte ptr [edx + 0x14] */ 23223 MEM8(ecx + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B06D78D: mov byte ptr [ecx + 0x14], dl */ 23224 edx = MEM32(eax + 0x4); /* 0x2B06D790: mov edx, dword ptr [eax + 4] */ 23225 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D793: mov byte ptr [edx + 0x14], bl */ 23226 ecx = MEM32(ecx + 0x8); /* 0x2B06D796: mov ecx, dword ptr [ecx + 8] */ 23227 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D799: mov byte ptr [ecx + 0x14], bl */ 23228 ecx = MEM32(eax + 0x4); /* 0x2B06D79C: mov ecx, dword ptr [eax + 4] */ 23229 edx = MEM32(ecx + 0x8); /* 0x2B06D79F: mov edx, dword ptr [ecx + 8] */ 23230 esi = MEM32(edx); /* 0x2B06D7A2: mov esi, dword ptr [edx] */ 23231 MEM32(ecx + 0x8) = esi; /* 0x2B06D7A4: mov dword ptr [ecx + 8], esi */ 23232 esi = MEM32(edx); /* 0x2B06D7A7: mov esi, dword ptr [edx] */ 23233 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D7A9: cmp esi, dword ptr [edi + 8] */ 23234 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 23235 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23236 _flag_k = FK_CMP; 23237 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D7B1; /* 0x2B06D7AC: je 0x2b06d7b1 */ 23238 L_2B06D7AE: 23239 MEM32(esi + 0x4) = ecx; /* 0x2B06D7AE: mov dword ptr [esi + 4], ecx */ 23240 L_2B06D7B1: 23241 esi = MEM32(ecx + 0x4); /* 0x2B06D7B1: mov esi, dword ptr [ecx + 4] */ 23242 MEM32(edx + 0x4) = esi; /* 0x2B06D7B4: mov dword ptr [edx + 4], esi */ 23243 esi = MEM32(edi + 0x4); /* 0x2B06D7B7: mov esi, dword ptr [edi + 4] */ 23244 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D7BA: cmp ecx, dword ptr [esi + 4] */ 23245 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 23246 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23247 _flag_k = FK_CMP; 23248 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7C9; /* 0x2B06D7BD: jne 0x2b06d7c9 */ 23249 L_2B06D7BF: 23250 MEM32(esi + 0x4) = edx; /* 0x2B06D7BF: mov dword ptr [esi + 4], edx */ 23251 MEM32(edx) = ecx; /* 0x2B06D7C2: mov dword ptr [edx], ecx */ 23252 goto L_2B06D87F; /* 0x2B06D7C4: jmp 0x2b06d87f */ 23253 L_2B06D7C9: 23254 esi = MEM32(ecx + 0x4); /* 0x2B06D7C9: mov esi, dword ptr [ecx + 4] */ 23255 /* cmp ecx, MEM32(esi) */ /* 0x2B06D7CC: cmp ecx, dword ptr [esi] */ 23256 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 23257 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23258 _flag_k = FK_CMP; 23259 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7D9; /* 0x2B06D7CE: jne 0x2b06d7d9 */ 23260 L_2B06D7D0: 23261 MEM32(esi) = edx; /* 0x2B06D7D0: mov dword ptr [esi], edx */ 23262 MEM32(edx) = ecx; /* 0x2B06D7D2: mov dword ptr [edx], ecx */ 23263 goto L_2B06D87F; /* 0x2B06D7D4: jmp 0x2b06d87f */ 23264 L_2B06D7D9: 23265 MEM32(esi + 0x8) = edx; /* 0x2B06D7D9: mov dword ptr [esi + 8], edx */ 23266 MEM32(edx) = ecx; /* 0x2B06D7DC: mov dword ptr [edx], ecx */ 23267 goto L_2B06D87F; /* 0x2B06D7DE: jmp 0x2b06d87f */ 23268 L_2B06D7E3: 23269 edx = MEM32(ecx); /* 0x2B06D7E3: mov edx, dword ptr [ecx] */ 23270 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D7E5: cmp byte ptr [edx + 0x14], bl */ 23271 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 23272 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23273 _flag_k = FK_NARROW(FK_CMP, 24); 23274 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D831; /* 0x2B06D7E8: jne 0x2b06d831 */ 23275 L_2B06D7EA: 23276 edx = MEM32(ecx + 0x8); /* 0x2B06D7EA: mov edx, dword ptr [ecx + 8] */ 23277 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D7ED: mov byte ptr [edx + 0x14], bl */ 23278 edx = MEM32(ecx + 0x8); /* 0x2B06D7F0: mov edx, dword ptr [ecx + 8] */ 23279 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D7F3: mov byte ptr [ecx + 0x14], 0 */ 23280 esi = MEM32(edx); /* 0x2B06D7F7: mov esi, dword ptr [edx] */ 23281 MEM32(ecx + 0x8) = esi; /* 0x2B06D7F9: mov dword ptr [ecx + 8], esi */ 23282 esi = MEM32(edx); /* 0x2B06D7FC: mov esi, dword ptr [edx] */ 23283 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D7FE: cmp esi, dword ptr [edi + 8] */ 23284 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 23285 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23286 _flag_k = FK_CMP; 23287 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D806; /* 0x2B06D801: je 0x2b06d806 */ 23288 L_2B06D803: 23289 MEM32(esi + 0x4) = ecx; /* 0x2B06D803: mov dword ptr [esi + 4], ecx */ 23290 L_2B06D806: 23291 esi = MEM32(ecx + 0x4); /* 0x2B06D806: mov esi, dword ptr [ecx + 4] */ 23292 MEM32(edx + 0x4) = esi; /* 0x2B06D809: mov dword ptr [edx + 4], esi */ 23293 esi = MEM32(edi + 0x4); /* 0x2B06D80C: mov esi, dword ptr [edi + 4] */ 23294 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D80F: cmp ecx, dword ptr [esi + 4] */ 23295 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 23296 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23297 _flag_k = FK_CMP; 23298 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D819; /* 0x2B06D812: jne 0x2b06d819 */ 23299 L_2B06D814: 23300 MEM32(esi + 0x4) = edx; /* 0x2B06D814: mov dword ptr [esi + 4], edx */ 23301 goto L_2B06D827; /* 0x2B06D817: jmp 0x2b06d827 */ 23302 L_2B06D819: 23303 esi = MEM32(ecx + 0x4); /* 0x2B06D819: mov esi, dword ptr [ecx + 4] */ 23304 /* cmp ecx, MEM32(esi) */ /* 0x2B06D81C: cmp ecx, dword ptr [esi] */ 23305 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 23306 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23307 _flag_k = FK_CMP; 23308 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D824; /* 0x2B06D81E: jne 0x2b06d824 */ 23309 L_2B06D820: 23310 MEM32(esi) = edx; /* 0x2B06D820: mov dword ptr [esi], edx */ 23311 goto L_2B06D827; /* 0x2B06D822: jmp 0x2b06d827 */ 23312 L_2B06D824: 23313 MEM32(esi + 0x8) = edx; /* 0x2B06D824: mov dword ptr [esi + 8], edx */ 23314 L_2B06D827: 23315 MEM32(edx) = ecx; /* 0x2B06D827: mov dword ptr [edx], ecx */ 23316 MEM32(ecx + 0x4) = edx; /* 0x2B06D829: mov dword ptr [ecx + 4], edx */ 23317 ecx = MEM32(eax + 0x4); /* 0x2B06D82C: mov ecx, dword ptr [eax + 4] */ 23318 ecx = MEM32(ecx); /* 0x2B06D82F: mov ecx, dword ptr [ecx] */ 23319 L_2B06D831: 23320 edx = MEM32(eax + 0x4); /* 0x2B06D831: mov edx, dword ptr [eax + 4] */ 23321 SET_LO8(edx, MEM8(edx + 0x14)); /* 0x2B06D834: mov dl, byte ptr [edx + 0x14] */ 23322 MEM8(ecx + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B06D837: mov byte ptr [ecx + 0x14], dl */ 23323 edx = MEM32(eax + 0x4); /* 0x2B06D83A: mov edx, dword ptr [eax + 4] */ 23324 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D83D: mov byte ptr [edx + 0x14], bl */ 23325 ecx = MEM32(ecx); /* 0x2B06D840: mov ecx, dword ptr [ecx] */ 23326 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D842: mov byte ptr [ecx + 0x14], bl */ 23327 ecx = MEM32(eax + 0x4); /* 0x2B06D845: mov ecx, dword ptr [eax + 4] */ 23328 edx = MEM32(ecx); /* 0x2B06D848: mov edx, dword ptr [ecx] */ 23329 esi = MEM32(edx + 0x8); /* 0x2B06D84A: mov esi, dword ptr [edx + 8] */ 23330 MEM32(ecx) = esi; /* 0x2B06D84D: mov dword ptr [ecx], esi */ 23331 esi = MEM32(edx + 0x8); /* 0x2B06D84F: mov esi, dword ptr [edx + 8] */ 23332 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D852: cmp esi, dword ptr [edi + 8] */ 23333 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 23334 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23335 _flag_k = FK_CMP; 23336 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D85A; /* 0x2B06D855: je 0x2b06d85a */ 23337 L_2B06D857: 23338 MEM32(esi + 0x4) = ecx; /* 0x2B06D857: mov dword ptr [esi + 4], ecx */ 23339 L_2B06D85A: 23340 esi = MEM32(ecx + 0x4); /* 0x2B06D85A: mov esi, dword ptr [ecx + 4] */ 23341 MEM32(edx + 0x4) = esi; /* 0x2B06D85D: mov dword ptr [edx + 4], esi */ 23342 esi = MEM32(edi + 0x4); /* 0x2B06D860: mov esi, dword ptr [edi + 4] */ 23343 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D863: cmp ecx, dword ptr [esi + 4] */ 23344 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 23345 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23346 _flag_k = FK_CMP; 23347 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D86D; /* 0x2B06D866: jne 0x2b06d86d */ 23348 L_2B06D868: 23349 MEM32(esi + 0x4) = edx; /* 0x2B06D868: mov dword ptr [esi + 4], edx */ 23350 goto L_2B06D87C; /* 0x2B06D86B: jmp 0x2b06d87c */ 23351 L_2B06D86D: 23352 esi = MEM32(ecx + 0x4); /* 0x2B06D86D: mov esi, dword ptr [ecx + 4] */ 23353 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D870: cmp ecx, dword ptr [esi + 8] */ 23354 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23355 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23356 _flag_k = FK_CMP; 23357 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D87A; /* 0x2B06D873: jne 0x2b06d87a */ 23358 L_2B06D875: 23359 MEM32(esi + 0x8) = edx; /* 0x2B06D875: mov dword ptr [esi + 8], edx */ 23360 goto L_2B06D87C; /* 0x2B06D878: jmp 0x2b06d87c */ 23361 L_2B06D87A: 23362 MEM32(esi) = edx; /* 0x2B06D87A: mov dword ptr [esi], edx */ 23363 L_2B06D87C: 23364 MEM32(edx + 0x8) = ecx; /* 0x2B06D87C: mov dword ptr [edx + 8], ecx */ 23365 L_2B06D87F: 23366 MEM32(ecx + 0x4) = edx; /* 0x2B06D87F: mov dword ptr [ecx + 4], edx */ 23367 L_2B06D882: 23368 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D882: mov byte ptr [eax + 0x14], bl */ 23369 edx = MEM32(ebp + (-0x4)); /* 0x2B06D885: mov edx, dword ptr [ebp - 4] */ 23370 PUSH32(esp, edx); /* 0x2B06D888: push edx */ 23371 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06D889: call 0x2b0ab1ba */ /* not lifted */ 23372 RECOMP_FLAGS_IN(); 23373 eax = MEM32(edi + 0x10); /* 0x2B06D88E: mov eax, dword ptr [edi + 0x10] */ 23374 ecx = MEM32(ebp + 0xC); /* 0x2B06D891: mov ecx, dword ptr [ebp + 0xc] */ 23375 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 23376 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23377 esp = esp + 4; /* 0x2B06D894: add esp, 4 */ 23378 _flag_k = FK_ADD; 23379 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 23380 eax = eax - 1; /* 0x2B06D897: dec eax */ 23381 _flag_k = FK_DEC; 23382 MEM32(edi + 0x10) = eax; /* 0x2B06D898: mov dword ptr [edi + 0x10], eax */ 23383 eax = MEM32(ebp + 0x8); /* 0x2B06D89B: mov eax, dword ptr [ebp + 8] */ 23384 edi = POP32_VAL(esp); /* 0x2B06D89E: pop edi */ 23385 esi = POP32_VAL(esp); /* 0x2B06D89F: pop esi */ 23386 MEM32(eax) = ecx; /* 0x2B06D8A0: mov dword ptr [eax], ecx */ 23387 ebx = POP32_VAL(esp); /* 0x2B06D8A2: pop ebx */ 23388 esp = ebp; /* 0x2B06D8A3: mov esp, ebp */ 23389 ebp = POP32_VAL(esp); /* 0x2B06D8A5: pop ebp */ 23390 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B06D8A6: ret 8 */ 23391 RECOMP_REGS_OUT(); 23392 } 23393 23394 void sub_2B06D736(void) { 23395 int _fpu_cmp = 0; 23396 uint32_t _cf = 0; 23397 int _df = 1; 23398 uint32_t _flag_k = FK_NONE; 23399 uint32_t _flag_a = 0, _flag_b = 0; 23400 uint32_t _itail_tgt = 0; 23401 RECOMP_REGS_LOCALS 23402 RECOMP_ENTER(0x2B06D736u); 23403 23404 L_2B06D736: 23405 edx = MEM32(ecx + 0x8); /* 0x2B06D736: mov edx, dword ptr [ecx + 8] */ 23406 /* cmp MEM8(edx + 0x14), LO8(ebx) */ /* 0x2B06D739: cmp byte ptr [edx + 0x14], bl */ 23407 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 23408 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23409 _flag_k = FK_NARROW(FK_CMP, 24); 23410 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D787; /* 0x2B06D73C: jne 0x2b06d787 */ 23411 L_2B06D73E: 23412 edx = MEM32(ecx); /* 0x2B06D73E: mov edx, dword ptr [ecx] */ 23413 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D740: mov byte ptr [edx + 0x14], bl */ 23414 edx = MEM32(ecx); /* 0x2B06D743: mov edx, dword ptr [ecx] */ 23415 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06D745: mov byte ptr [ecx + 0x14], 0 */ 23416 esi = MEM32(edx + 0x8); /* 0x2B06D749: mov esi, dword ptr [edx + 8] */ 23417 MEM32(ecx) = esi; /* 0x2B06D74C: mov dword ptr [ecx], esi */ 23418 esi = MEM32(edx + 0x8); /* 0x2B06D74E: mov esi, dword ptr [edx + 8] */ 23419 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D751: cmp esi, dword ptr [edi + 8] */ 23420 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 23421 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23422 _flag_k = FK_CMP; 23423 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D759; /* 0x2B06D754: je 0x2b06d759 */ 23424 L_2B06D756: 23425 MEM32(esi + 0x4) = ecx; /* 0x2B06D756: mov dword ptr [esi + 4], ecx */ 23426 L_2B06D759: 23427 esi = MEM32(ecx + 0x4); /* 0x2B06D759: mov esi, dword ptr [ecx + 4] */ 23428 MEM32(edx + 0x4) = esi; /* 0x2B06D75C: mov dword ptr [edx + 4], esi */ 23429 esi = MEM32(edi + 0x4); /* 0x2B06D75F: mov esi, dword ptr [edi + 4] */ 23430 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D762: cmp ecx, dword ptr [esi + 4] */ 23431 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 23432 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23433 _flag_k = FK_CMP; 23434 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D76C; /* 0x2B06D765: jne 0x2b06d76c */ 23435 L_2B06D767: 23436 MEM32(esi + 0x4) = edx; /* 0x2B06D767: mov dword ptr [esi + 4], edx */ 23437 goto L_2B06D77B; /* 0x2B06D76A: jmp 0x2b06d77b */ 23438 L_2B06D76C: 23439 esi = MEM32(ecx + 0x4); /* 0x2B06D76C: mov esi, dword ptr [ecx + 4] */ 23440 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D76F: cmp ecx, dword ptr [esi + 8] */ 23441 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23442 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23443 _flag_k = FK_CMP; 23444 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D779; /* 0x2B06D772: jne 0x2b06d779 */ 23445 L_2B06D774: 23446 MEM32(esi + 0x8) = edx; /* 0x2B06D774: mov dword ptr [esi + 8], edx */ 23447 goto L_2B06D77B; /* 0x2B06D777: jmp 0x2b06d77b */ 23448 L_2B06D779: 23449 MEM32(esi) = edx; /* 0x2B06D779: mov dword ptr [esi], edx */ 23450 L_2B06D77B: 23451 MEM32(edx + 0x8) = ecx; /* 0x2B06D77B: mov dword ptr [edx + 8], ecx */ 23452 MEM32(ecx + 0x4) = edx; /* 0x2B06D77E: mov dword ptr [ecx + 4], edx */ 23453 ecx = MEM32(eax + 0x4); /* 0x2B06D781: mov ecx, dword ptr [eax + 4] */ 23454 ecx = MEM32(ecx + 0x8); /* 0x2B06D784: mov ecx, dword ptr [ecx + 8] */ 23455 L_2B06D787: 23456 edx = MEM32(eax + 0x4); /* 0x2B06D787: mov edx, dword ptr [eax + 4] */ 23457 SET_LO8(edx, MEM8(edx + 0x14)); /* 0x2B06D78A: mov dl, byte ptr [edx + 0x14] */ 23458 MEM8(ecx + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B06D78D: mov byte ptr [ecx + 0x14], dl */ 23459 edx = MEM32(eax + 0x4); /* 0x2B06D790: mov edx, dword ptr [eax + 4] */ 23460 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D793: mov byte ptr [edx + 0x14], bl */ 23461 ecx = MEM32(ecx + 0x8); /* 0x2B06D796: mov ecx, dword ptr [ecx + 8] */ 23462 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D799: mov byte ptr [ecx + 0x14], bl */ 23463 ecx = MEM32(eax + 0x4); /* 0x2B06D79C: mov ecx, dword ptr [eax + 4] */ 23464 edx = MEM32(ecx + 0x8); /* 0x2B06D79F: mov edx, dword ptr [ecx + 8] */ 23465 esi = MEM32(edx); /* 0x2B06D7A2: mov esi, dword ptr [edx] */ 23466 MEM32(ecx + 0x8) = esi; /* 0x2B06D7A4: mov dword ptr [ecx + 8], esi */ 23467 esi = MEM32(edx); /* 0x2B06D7A7: mov esi, dword ptr [edx] */ 23468 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D7A9: cmp esi, dword ptr [edi + 8] */ 23469 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 23470 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23471 _flag_k = FK_CMP; 23472 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D7B1; /* 0x2B06D7AC: je 0x2b06d7b1 */ 23473 L_2B06D7AE: 23474 MEM32(esi + 0x4) = ecx; /* 0x2B06D7AE: mov dword ptr [esi + 4], ecx */ 23475 L_2B06D7B1: 23476 esi = MEM32(ecx + 0x4); /* 0x2B06D7B1: mov esi, dword ptr [ecx + 4] */ 23477 MEM32(edx + 0x4) = esi; /* 0x2B06D7B4: mov dword ptr [edx + 4], esi */ 23478 esi = MEM32(edi + 0x4); /* 0x2B06D7B7: mov esi, dword ptr [edi + 4] */ 23479 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D7BA: cmp ecx, dword ptr [esi + 4] */ 23480 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 23481 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23482 _flag_k = FK_CMP; 23483 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7C9; /* 0x2B06D7BD: jne 0x2b06d7c9 */ 23484 L_2B06D7BF: 23485 MEM32(esi + 0x4) = edx; /* 0x2B06D7BF: mov dword ptr [esi + 4], edx */ 23486 MEM32(edx) = ecx; /* 0x2B06D7C2: mov dword ptr [edx], ecx */ 23487 goto L_2B06D87F; /* 0x2B06D7C4: jmp 0x2b06d87f */ 23488 L_2B06D7C9: 23489 esi = MEM32(ecx + 0x4); /* 0x2B06D7C9: mov esi, dword ptr [ecx + 4] */ 23490 /* cmp ecx, MEM32(esi) */ /* 0x2B06D7CC: cmp ecx, dword ptr [esi] */ 23491 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 23492 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23493 _flag_k = FK_CMP; 23494 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7D9; /* 0x2B06D7CE: jne 0x2b06d7d9 */ 23495 L_2B06D7D0: 23496 MEM32(esi) = edx; /* 0x2B06D7D0: mov dword ptr [esi], edx */ 23497 MEM32(edx) = ecx; /* 0x2B06D7D2: mov dword ptr [edx], ecx */ 23498 goto L_2B06D87F; /* 0x2B06D7D4: jmp 0x2b06d87f */ 23499 L_2B06D7D9: 23500 MEM32(esi + 0x8) = edx; /* 0x2B06D7D9: mov dword ptr [esi + 8], edx */ 23501 MEM32(edx) = ecx; /* 0x2B06D7DC: mov dword ptr [edx], ecx */ 23502 goto L_2B06D87F; /* 0x2B06D7DE: jmp 0x2b06d87f */ 23503 L_2B06D87F: 23504 MEM32(ecx + 0x4) = edx; /* 0x2B06D87F: mov dword ptr [ecx + 4], edx */ 23505 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D882: mov byte ptr [eax + 0x14], bl */ 23506 edx = MEM32(ebp + (-0x4)); /* 0x2B06D885: mov edx, dword ptr [ebp - 4] */ 23507 PUSH32(esp, edx); /* 0x2B06D888: push edx */ 23508 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06D889: call 0x2b0ab1ba */ /* not lifted */ 23509 RECOMP_FLAGS_IN(); 23510 eax = MEM32(edi + 0x10); /* 0x2B06D88E: mov eax, dword ptr [edi + 0x10] */ 23511 ecx = MEM32(ebp + 0xC); /* 0x2B06D891: mov ecx, dword ptr [ebp + 0xc] */ 23512 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 23513 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23514 esp = esp + 4; /* 0x2B06D894: add esp, 4 */ 23515 _flag_k = FK_ADD; 23516 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 23517 eax = eax - 1; /* 0x2B06D897: dec eax */ 23518 _flag_k = FK_DEC; 23519 MEM32(edi + 0x10) = eax; /* 0x2B06D898: mov dword ptr [edi + 0x10], eax */ 23520 eax = MEM32(ebp + 0x8); /* 0x2B06D89B: mov eax, dword ptr [ebp + 8] */ 23521 edi = POP32_VAL(esp); /* 0x2B06D89E: pop edi */ 23522 esi = POP32_VAL(esp); /* 0x2B06D89F: pop esi */ 23523 MEM32(eax) = ecx; /* 0x2B06D8A0: mov dword ptr [eax], ecx */ 23524 ebx = POP32_VAL(esp); /* 0x2B06D8A2: pop ebx */ 23525 esp = ebp; /* 0x2B06D8A3: mov esp, ebp */ 23526 ebp = POP32_VAL(esp); /* 0x2B06D8A5: pop ebp */ 23527 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B06D8A6: ret 8 */ 23528 RECOMP_REGS_OUT(); 23529 } 23530 23531 void sub_2B06D77B(void) { 23532 int _fpu_cmp = 0; 23533 uint32_t _cf = 0; 23534 int _df = 1; 23535 uint32_t _flag_k = FK_NONE; 23536 uint32_t _flag_a = 0, _flag_b = 0; 23537 uint32_t _itail_tgt = 0; 23538 RECOMP_REGS_LOCALS 23539 RECOMP_ENTER(0x2B06D77Bu); 23540 23541 L_2B06D77B: 23542 MEM32(edx + 0x8) = ecx; /* 0x2B06D77B: mov dword ptr [edx + 8], ecx */ 23543 MEM32(ecx + 0x4) = edx; /* 0x2B06D77E: mov dword ptr [ecx + 4], edx */ 23544 ecx = MEM32(eax + 0x4); /* 0x2B06D781: mov ecx, dword ptr [eax + 4] */ 23545 ecx = MEM32(ecx + 0x8); /* 0x2B06D784: mov ecx, dword ptr [ecx + 8] */ 23546 edx = MEM32(eax + 0x4); /* 0x2B06D787: mov edx, dword ptr [eax + 4] */ 23547 SET_LO8(edx, MEM8(edx + 0x14)); /* 0x2B06D78A: mov dl, byte ptr [edx + 0x14] */ 23548 MEM8(ecx + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B06D78D: mov byte ptr [ecx + 0x14], dl */ 23549 edx = MEM32(eax + 0x4); /* 0x2B06D790: mov edx, dword ptr [eax + 4] */ 23550 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D793: mov byte ptr [edx + 0x14], bl */ 23551 ecx = MEM32(ecx + 0x8); /* 0x2B06D796: mov ecx, dword ptr [ecx + 8] */ 23552 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D799: mov byte ptr [ecx + 0x14], bl */ 23553 ecx = MEM32(eax + 0x4); /* 0x2B06D79C: mov ecx, dword ptr [eax + 4] */ 23554 edx = MEM32(ecx + 0x8); /* 0x2B06D79F: mov edx, dword ptr [ecx + 8] */ 23555 esi = MEM32(edx); /* 0x2B06D7A2: mov esi, dword ptr [edx] */ 23556 MEM32(ecx + 0x8) = esi; /* 0x2B06D7A4: mov dword ptr [ecx + 8], esi */ 23557 esi = MEM32(edx); /* 0x2B06D7A7: mov esi, dword ptr [edx] */ 23558 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D7A9: cmp esi, dword ptr [edi + 8] */ 23559 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 23560 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23561 _flag_k = FK_CMP; 23562 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D7B1; /* 0x2B06D7AC: je 0x2b06d7b1 */ 23563 L_2B06D7AE: 23564 MEM32(esi + 0x4) = ecx; /* 0x2B06D7AE: mov dword ptr [esi + 4], ecx */ 23565 L_2B06D7B1: 23566 esi = MEM32(ecx + 0x4); /* 0x2B06D7B1: mov esi, dword ptr [ecx + 4] */ 23567 MEM32(edx + 0x4) = esi; /* 0x2B06D7B4: mov dword ptr [edx + 4], esi */ 23568 esi = MEM32(edi + 0x4); /* 0x2B06D7B7: mov esi, dword ptr [edi + 4] */ 23569 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D7BA: cmp ecx, dword ptr [esi + 4] */ 23570 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 23571 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23572 _flag_k = FK_CMP; 23573 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7C9; /* 0x2B06D7BD: jne 0x2b06d7c9 */ 23574 L_2B06D7BF: 23575 MEM32(esi + 0x4) = edx; /* 0x2B06D7BF: mov dword ptr [esi + 4], edx */ 23576 MEM32(edx) = ecx; /* 0x2B06D7C2: mov dword ptr [edx], ecx */ 23577 goto L_2B06D87F; /* 0x2B06D7C4: jmp 0x2b06d87f */ 23578 L_2B06D7C9: 23579 esi = MEM32(ecx + 0x4); /* 0x2B06D7C9: mov esi, dword ptr [ecx + 4] */ 23580 /* cmp ecx, MEM32(esi) */ /* 0x2B06D7CC: cmp ecx, dword ptr [esi] */ 23581 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 23582 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23583 _flag_k = FK_CMP; 23584 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D7D9; /* 0x2B06D7CE: jne 0x2b06d7d9 */ 23585 L_2B06D7D0: 23586 MEM32(esi) = edx; /* 0x2B06D7D0: mov dword ptr [esi], edx */ 23587 MEM32(edx) = ecx; /* 0x2B06D7D2: mov dword ptr [edx], ecx */ 23588 goto L_2B06D87F; /* 0x2B06D7D4: jmp 0x2b06d87f */ 23589 L_2B06D7D9: 23590 MEM32(esi + 0x8) = edx; /* 0x2B06D7D9: mov dword ptr [esi + 8], edx */ 23591 MEM32(edx) = ecx; /* 0x2B06D7DC: mov dword ptr [edx], ecx */ 23592 goto L_2B06D87F; /* 0x2B06D7DE: jmp 0x2b06d87f */ 23593 L_2B06D87F: 23594 MEM32(ecx + 0x4) = edx; /* 0x2B06D87F: mov dword ptr [ecx + 4], edx */ 23595 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D882: mov byte ptr [eax + 0x14], bl */ 23596 edx = MEM32(ebp + (-0x4)); /* 0x2B06D885: mov edx, dword ptr [ebp - 4] */ 23597 PUSH32(esp, edx); /* 0x2B06D888: push edx */ 23598 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06D889: call 0x2b0ab1ba */ /* not lifted */ 23599 RECOMP_FLAGS_IN(); 23600 eax = MEM32(edi + 0x10); /* 0x2B06D88E: mov eax, dword ptr [edi + 0x10] */ 23601 ecx = MEM32(ebp + 0xC); /* 0x2B06D891: mov ecx, dword ptr [ebp + 0xc] */ 23602 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 23603 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23604 esp = esp + 4; /* 0x2B06D894: add esp, 4 */ 23605 _flag_k = FK_ADD; 23606 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 23607 eax = eax - 1; /* 0x2B06D897: dec eax */ 23608 _flag_k = FK_DEC; 23609 MEM32(edi + 0x10) = eax; /* 0x2B06D898: mov dword ptr [edi + 0x10], eax */ 23610 eax = MEM32(ebp + 0x8); /* 0x2B06D89B: mov eax, dword ptr [ebp + 8] */ 23611 edi = POP32_VAL(esp); /* 0x2B06D89E: pop edi */ 23612 esi = POP32_VAL(esp); /* 0x2B06D89F: pop esi */ 23613 MEM32(eax) = ecx; /* 0x2B06D8A0: mov dword ptr [eax], ecx */ 23614 ebx = POP32_VAL(esp); /* 0x2B06D8A2: pop ebx */ 23615 esp = ebp; /* 0x2B06D8A3: mov esp, ebp */ 23616 ebp = POP32_VAL(esp); /* 0x2B06D8A5: pop ebp */ 23617 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B06D8A6: ret 8 */ 23618 RECOMP_REGS_OUT(); 23619 }