client/game/ddr.dll/lifted-0017.c (987467B)
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_2B041540(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(0x2B041540u); 17 18 L_2B041540: 19 PUSH32(esp, ebp); /* 0x2B041540: push ebp */ 20 ebp = esp; /* 0x2B041541: mov ebp, esp */ 21 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B041543: push -1 */ 22 PUSH32(esp, 0x2B0AEDB8u); /* 0x2B041545: push 0x2b0aedb8 */ 23 eax = MEM32(FS_BASE + (0)); /* 0x2B04154A: mov eax, dword ptr fs:[0] */ 24 PUSH32(esp, eax); /* 0x2B041550: push eax */ 25 MEM32(FS_BASE + (0)) = esp; /* 0x2B041551: mov dword ptr fs:[0], esp */ 26 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 27 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 28 esp = esp - 8; /* 0x2B041558: sub esp, 8 */ 29 _flag_k = FK_CMP; 30 PUSH32(esp, esi); /* 0x2B04155B: push esi */ 31 esi = ecx; /* 0x2B04155C: mov esi, ecx */ 32 MEM32(ebp + (-0x14)) = esi; /* 0x2B04155E: mov dword ptr [ebp - 0x14], esi */ 33 MEM32(esi) = 0x2B0B69A0u; /* 0x2B041561: mov dword ptr [esi], 0x2b0b69a0 */ 34 ecx = MEM32(esi + 0xB8); /* 0x2B041567: mov ecx, dword ptr [esi + 0xb8] */ 35 /* test ecx, ecx */ /* 0x2B04156D: test ecx, ecx */ 36 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 37 _cf = 0; 38 _flag_k = FK_TEST; 39 MEM32(ebp + (-0x4)) = 0; /* 0x2B04156F: mov dword ptr [ebp - 4], 0 */ 40 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04157E; /* 0x2B041576: je 0x2b04157e */ 41 L_2B041578: 42 eax = MEM32(ecx); /* 0x2B041578: mov eax, dword ptr [ecx] */ 43 PUSH32(esp, 1); /* 0x2B04157A: push 1 */ 44 RECOMP_ICALL(MEM32(eax)); /* 0x2B04157C: call dword ptr [eax] */ 45 RECOMP_FLAGS_IN(); 46 L_2B04157E: 47 ecx = MEM32(esi + 0xB0); /* 0x2B04157E: mov ecx, dword ptr [esi + 0xb0] */ 48 /* test ecx, ecx */ /* 0x2B041584: test ecx, ecx */ 49 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 50 _cf = 0; 51 _flag_k = FK_TEST; 52 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04158E; /* 0x2B041586: je 0x2b04158e */ 53 L_2B041588: 54 edx = MEM32(ecx); /* 0x2B041588: mov edx, dword ptr [ecx] */ 55 PUSH32(esp, 1); /* 0x2B04158A: push 1 */ 56 RECOMP_ICALL(MEM32(edx)); /* 0x2B04158C: call dword ptr [edx] */ 57 RECOMP_FLAGS_IN(); 58 L_2B04158E: 59 ecx = MEM32(esi + 0xB4); /* 0x2B04158E: mov ecx, dword ptr [esi + 0xb4] */ 60 /* test ecx, ecx */ /* 0x2B041594: test ecx, ecx */ 61 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 62 _cf = 0; 63 _flag_k = FK_TEST; 64 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04159E; /* 0x2B041596: je 0x2b04159e */ 65 L_2B041598: 66 eax = MEM32(ecx); /* 0x2B041598: mov eax, dword ptr [ecx] */ 67 PUSH32(esp, 1); /* 0x2B04159A: push 1 */ 68 RECOMP_ICALL(MEM32(eax)); /* 0x2B04159C: call dword ptr [eax] */ 69 RECOMP_FLAGS_IN(); 70 L_2B04159E: 71 ecx = MEM32(esi + 0xAC); /* 0x2B04159E: mov ecx, dword ptr [esi + 0xac] */ 72 /* test ecx, ecx */ /* 0x2B0415A4: test ecx, ecx */ 73 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 74 _cf = 0; 75 _flag_k = FK_TEST; 76 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0415AE; /* 0x2B0415A6: je 0x2b0415ae */ 77 L_2B0415A8: 78 edx = MEM32(ecx); /* 0x2B0415A8: mov edx, dword ptr [ecx] */ 79 PUSH32(esp, 1); /* 0x2B0415AA: push 1 */ 80 RECOMP_ICALL(MEM32(edx)); /* 0x2B0415AC: call dword ptr [edx] */ 81 RECOMP_FLAGS_IN(); 82 L_2B0415AE: 83 eax = MEM32(esi + 0x8C); /* 0x2B0415AE: mov eax, dword ptr [esi + 0x8c] */ 84 ecx = MEM32(eax + 0x8); /* 0x2B0415B4: mov ecx, dword ptr [eax + 8] */ 85 /* test ecx, ecx */ /* 0x2B0415B7: test ecx, ecx */ 86 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 87 _cf = 0; 88 _flag_k = FK_TEST; 89 PUSH32(esp, edi); /* 0x2B0415B9: push edi */ 90 if (TEST_Z(_flag_a, _flag_b)) goto L_2B041628; /* 0x2B0415BA: je 0x2b041628 */ 91 L_2B0415BC: 92 eax = MEM32(eax + 0x4); /* 0x2B0415BC: mov eax, dword ptr [eax + 4] */ 93 eax = MEM32(eax); /* 0x2B0415BF: mov eax, dword ptr [eax] */ 94 edi = MEM32(eax + 0x8); /* 0x2B0415C1: mov edi, dword ptr [eax + 8] */ 95 ecx = MEM32(edi + 0x20); /* 0x2B0415C4: mov ecx, dword ptr [edi + 0x20] */ 96 /* test ecx, ecx */ /* 0x2B0415C7: test ecx, ecx */ 97 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 98 _cf = 0; 99 _flag_k = FK_TEST; 100 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0415D1; /* 0x2B0415C9: je 0x2b0415d1 */ 101 L_2B0415CB: 102 eax = MEM32(ecx); /* 0x2B0415CB: mov eax, dword ptr [ecx] */ 103 PUSH32(esp, 1); /* 0x2B0415CD: push 1 */ 104 RECOMP_ICALL(MEM32(eax)); /* 0x2B0415CF: call dword ptr [eax] */ 105 RECOMP_FLAGS_IN(); 106 L_2B0415D1: 107 ecx = MEM32(edi + 0x24); /* 0x2B0415D1: mov ecx, dword ptr [edi + 0x24] */ 108 /* test ecx, ecx */ /* 0x2B0415D4: test ecx, ecx */ 109 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 110 _cf = 0; 111 _flag_k = FK_TEST; 112 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0415DE; /* 0x2B0415D6: je 0x2b0415de */ 113 L_2B0415D8: 114 edx = MEM32(ecx); /* 0x2B0415D8: mov edx, dword ptr [ecx] */ 115 PUSH32(esp, 1); /* 0x2B0415DA: push 1 */ 116 RECOMP_ICALL(MEM32(edx)); /* 0x2B0415DC: call dword ptr [edx] */ 117 RECOMP_FLAGS_IN(); 118 L_2B0415DE: 119 ecx = MEM32(edi + 0x28); /* 0x2B0415DE: mov ecx, dword ptr [edi + 0x28] */ 120 /* test ecx, ecx */ /* 0x2B0415E1: test ecx, ecx */ 121 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 122 _cf = 0; 123 _flag_k = FK_TEST; 124 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0415EB; /* 0x2B0415E3: je 0x2b0415eb */ 125 L_2B0415E5: 126 eax = MEM32(ecx); /* 0x2B0415E5: mov eax, dword ptr [ecx] */ 127 PUSH32(esp, 1); /* 0x2B0415E7: push 1 */ 128 RECOMP_ICALL(MEM32(eax)); /* 0x2B0415E9: call dword ptr [eax] */ 129 RECOMP_FLAGS_IN(); 130 L_2B0415EB: 131 PUSH32(esp, edi); /* 0x2B0415EB: push edi */ 132 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0415EC: call 0x2b0ab1ba */ /* not lifted */ 133 RECOMP_FLAGS_IN(); 134 edi = MEM32(esi + 0x8C); /* 0x2B0415F1: mov edi, dword ptr [esi + 0x8c] */ 135 eax = MEM32(edi + 0x4); /* 0x2B0415F7: mov eax, dword ptr [edi + 4] */ 136 eax = MEM32(eax); /* 0x2B0415FA: mov eax, dword ptr [eax] */ 137 ecx = MEM32(eax + 0x4); /* 0x2B0415FC: mov ecx, dword ptr [eax + 4] */ 138 edx = MEM32(eax); /* 0x2B0415FF: mov edx, dword ptr [eax] */ 139 MEM32(ecx) = edx; /* 0x2B041601: mov dword ptr [ecx], edx */ 140 ecx = MEM32(eax); /* 0x2B041603: mov ecx, dword ptr [eax] */ 141 edx = MEM32(eax + 0x4); /* 0x2B041605: mov edx, dword ptr [eax + 4] */ 142 PUSH32(esp, eax); /* 0x2B041608: push eax */ 143 MEM32(ecx + 0x4) = edx; /* 0x2B041609: mov dword ptr [ecx + 4], edx */ 144 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B04160C: call 0x2b0ab1ba */ /* not lifted */ 145 RECOMP_FLAGS_IN(); 146 edx = MEM32(edi + 0x8); /* 0x2B041611: mov edx, dword ptr [edi + 8] */ 147 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 148 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 149 esp = esp + 8; /* 0x2B041614: add esp, 8 */ 150 _flag_k = FK_ADD; 151 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 152 edx = edx - 1; /* 0x2B041617: dec edx */ 153 _flag_k = FK_DEC; 154 MEM32(edi + 0x8) = edx; /* 0x2B041618: mov dword ptr [edi + 8], edx */ 155 eax = MEM32(esi + 0x8C); /* 0x2B04161B: mov eax, dword ptr [esi + 0x8c] */ 156 ecx = MEM32(eax + 0x8); /* 0x2B041621: mov ecx, dword ptr [eax + 8] */ 157 /* test ecx, ecx */ /* 0x2B041624: test ecx, ecx */ 158 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 159 _cf = 0; 160 _flag_k = FK_TEST; 161 RECOMP_BACKEDGE(); 162 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0415BC; /* 0x2B041626: jne 0x2b0415bc */ 163 L_2B041628: 164 ecx = MEM32(esi + 0x7C); /* 0x2B041628: mov ecx, dword ptr [esi + 0x7c] */ 165 /* test ecx, ecx */ /* 0x2B04162B: test ecx, ecx */ 166 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 167 _cf = 0; 168 _flag_k = FK_TEST; 169 if (TEST_Z(_flag_a, _flag_b)) goto L_2B041635; /* 0x2B04162D: je 0x2b041635 */ 170 L_2B04162F: 171 eax = MEM32(ecx); /* 0x2B04162F: mov eax, dword ptr [ecx] */ 172 PUSH32(esp, 1); /* 0x2B041631: push 1 */ 173 RECOMP_ICALL(MEM32(eax)); /* 0x2B041633: call dword ptr [eax] */ 174 RECOMP_FLAGS_IN(); 175 L_2B041635: 176 ecx = MEM32(esi + 0x80); /* 0x2B041635: mov ecx, dword ptr [esi + 0x80] */ 177 /* test ecx, ecx */ /* 0x2B04163B: test ecx, ecx */ 178 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 179 _cf = 0; 180 _flag_k = FK_TEST; 181 if (TEST_Z(_flag_a, _flag_b)) goto L_2B041645; /* 0x2B04163D: je 0x2b041645 */ 182 L_2B04163F: 183 edx = MEM32(ecx); /* 0x2B04163F: mov edx, dword ptr [ecx] */ 184 PUSH32(esp, 1); /* 0x2B041641: push 1 */ 185 RECOMP_ICALL(MEM32(edx)); /* 0x2B041643: call dword ptr [edx] */ 186 RECOMP_FLAGS_IN(); 187 L_2B041645: 188 ecx = MEM32(esi + 0x84); /* 0x2B041645: mov ecx, dword ptr [esi + 0x84] */ 189 /* test ecx, ecx */ /* 0x2B04164B: test ecx, ecx */ 190 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 191 _cf = 0; 192 _flag_k = FK_TEST; 193 if (TEST_Z(_flag_a, _flag_b)) goto L_2B041655; /* 0x2B04164D: je 0x2b041655 */ 194 L_2B04164F: 195 eax = MEM32(ecx); /* 0x2B04164F: mov eax, dword ptr [ecx] */ 196 PUSH32(esp, 1); /* 0x2B041651: push 1 */ 197 RECOMP_ICALL(MEM32(eax)); /* 0x2B041653: call dword ptr [eax] */ 198 RECOMP_FLAGS_IN(); 199 L_2B041655: 200 ecx = MEM32(esi + 0x70); /* 0x2B041655: mov ecx, dword ptr [esi + 0x70] */ 201 /* test ecx, ecx */ /* 0x2B041658: test ecx, ecx */ 202 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 203 _cf = 0; 204 _flag_k = FK_TEST; 205 if (TEST_Z(_flag_a, _flag_b)) goto L_2B041662; /* 0x2B04165A: je 0x2b041662 */ 206 L_2B04165C: 207 edx = MEM32(ecx); /* 0x2B04165C: mov edx, dword ptr [ecx] */ 208 PUSH32(esp, 1); /* 0x2B04165E: push 1 */ 209 RECOMP_ICALL(MEM32(edx)); /* 0x2B041660: call dword ptr [edx] */ 210 RECOMP_FLAGS_IN(); 211 L_2B041662: 212 ecx = MEM32(esi + 0x6C); /* 0x2B041662: mov ecx, dword ptr [esi + 0x6c] */ 213 /* test ecx, ecx */ /* 0x2B041665: test ecx, ecx */ 214 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 215 _cf = 0; 216 _flag_k = FK_TEST; 217 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04166F; /* 0x2B041667: je 0x2b04166f */ 218 L_2B041669: 219 eax = MEM32(ecx); /* 0x2B041669: mov eax, dword ptr [ecx] */ 220 PUSH32(esp, 1); /* 0x2B04166B: push 1 */ 221 RECOMP_ICALL(MEM32(eax)); /* 0x2B04166D: call dword ptr [eax] */ 222 RECOMP_FLAGS_IN(); 223 L_2B04166F: 224 ecx = MEM32(esi + 0xA8); /* 0x2B04166F: mov ecx, dword ptr [esi + 0xa8] */ 225 /* test ecx, ecx */ /* 0x2B041675: test ecx, ecx */ 226 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 227 _cf = 0; 228 _flag_k = FK_TEST; 229 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04167F; /* 0x2B041677: je 0x2b04167f */ 230 L_2B041679: 231 edx = MEM32(ecx); /* 0x2B041679: mov edx, dword ptr [ecx] */ 232 PUSH32(esp, 1); /* 0x2B04167B: push 1 */ 233 RECOMP_ICALL(MEM32(edx)); /* 0x2B04167D: call dword ptr [edx] */ 234 RECOMP_FLAGS_IN(); 235 L_2B04167F: 236 edi = MEM32(esi + 0x9C); /* 0x2B04167F: mov edi, dword ptr [esi + 0x9c] */ 237 /* test edi, edi */ /* 0x2B041685: test edi, edi */ 238 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 239 _cf = 0; 240 _flag_k = FK_TEST; 241 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04169A; /* 0x2B041687: je 0x2b04169a */ 242 L_2B041689: 243 ecx = edi; /* 0x2B041689: mov ecx, edi */ 244 RECOMP_ICALL(MEM32(0x2B0B5BC0)); /* 0x2B04168B: call dword ptr [0x2b0b5bc0] */ 245 RECOMP_FLAGS_IN(); 246 PUSH32(esp, edi); /* 0x2B041691: push edi */ 247 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B041692: call 0x2b0ab1ba */ /* not lifted */ 248 RECOMP_FLAGS_IN(); 249 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 250 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 251 esp = esp + 4; /* 0x2B041697: add esp, 4 */ 252 _flag_k = FK_ADD; 253 L_2B04169A: 254 ecx = MEM32(esi + 0x50); /* 0x2B04169A: mov ecx, dword ptr [esi + 0x50] */ 255 /* test ecx, ecx */ /* 0x2B04169D: test ecx, ecx */ 256 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 257 _cf = 0; 258 _flag_k = FK_TEST; 259 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0416A7; /* 0x2B04169F: je 0x2b0416a7 */ 260 L_2B0416A1: 261 eax = MEM32(ecx); /* 0x2B0416A1: mov eax, dword ptr [ecx] */ 262 PUSH32(esp, 1); /* 0x2B0416A3: push 1 */ 263 RECOMP_ICALL(MEM32(eax)); /* 0x2B0416A5: call dword ptr [eax] */ 264 RECOMP_FLAGS_IN(); 265 L_2B0416A7: 266 ecx = MEM32(esi + 0x54); /* 0x2B0416A7: mov ecx, dword ptr [esi + 0x54] */ 267 /* test ecx, ecx */ /* 0x2B0416AA: test ecx, ecx */ 268 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 269 _cf = 0; 270 _flag_k = FK_TEST; 271 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0416B4; /* 0x2B0416AC: je 0x2b0416b4 */ 272 L_2B0416AE: 273 edx = MEM32(ecx); /* 0x2B0416AE: mov edx, dword ptr [ecx] */ 274 PUSH32(esp, 1); /* 0x2B0416B0: push 1 */ 275 RECOMP_ICALL(MEM32(edx)); /* 0x2B0416B2: call dword ptr [edx] */ 276 RECOMP_FLAGS_IN(); 277 L_2B0416B4: 278 ecx = MEM32(esi + 0x58); /* 0x2B0416B4: mov ecx, dword ptr [esi + 0x58] */ 279 /* test ecx, ecx */ /* 0x2B0416B7: test ecx, ecx */ 280 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 281 _cf = 0; 282 _flag_k = FK_TEST; 283 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0416C1; /* 0x2B0416B9: je 0x2b0416c1 */ 284 L_2B0416BB: 285 eax = MEM32(ecx); /* 0x2B0416BB: mov eax, dword ptr [ecx] */ 286 PUSH32(esp, 1); /* 0x2B0416BD: push 1 */ 287 RECOMP_ICALL(MEM32(eax)); /* 0x2B0416BF: call dword ptr [eax] */ 288 RECOMP_FLAGS_IN(); 289 L_2B0416C1: 290 ecx = MEM32(esi + 0x5C); /* 0x2B0416C1: mov ecx, dword ptr [esi + 0x5c] */ 291 /* test ecx, ecx */ /* 0x2B0416C4: test ecx, ecx */ 292 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 293 _cf = 0; 294 _flag_k = FK_TEST; 295 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0416CE; /* 0x2B0416C6: je 0x2b0416ce */ 296 L_2B0416C8: 297 edx = MEM32(ecx); /* 0x2B0416C8: mov edx, dword ptr [ecx] */ 298 PUSH32(esp, 1); /* 0x2B0416CA: push 1 */ 299 RECOMP_ICALL(MEM32(edx)); /* 0x2B0416CC: call dword ptr [edx] */ 300 RECOMP_FLAGS_IN(); 301 L_2B0416CE: 302 ecx = MEM32(esi + 0x60); /* 0x2B0416CE: mov ecx, dword ptr [esi + 0x60] */ 303 /* test ecx, ecx */ /* 0x2B0416D1: test ecx, ecx */ 304 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 305 _cf = 0; 306 _flag_k = FK_TEST; 307 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0416DB; /* 0x2B0416D3: je 0x2b0416db */ 308 L_2B0416D5: 309 eax = MEM32(ecx); /* 0x2B0416D5: mov eax, dword ptr [ecx] */ 310 PUSH32(esp, 1); /* 0x2B0416D7: push 1 */ 311 RECOMP_ICALL(MEM32(eax)); /* 0x2B0416D9: call dword ptr [eax] */ 312 RECOMP_FLAGS_IN(); 313 L_2B0416DB: 314 ecx = MEM32(esi + 0x64); /* 0x2B0416DB: mov ecx, dword ptr [esi + 0x64] */ 315 /* test ecx, ecx */ /* 0x2B0416DE: test ecx, ecx */ 316 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 317 _cf = 0; 318 _flag_k = FK_TEST; 319 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0416E8; /* 0x2B0416E0: je 0x2b0416e8 */ 320 L_2B0416E2: 321 edx = MEM32(ecx); /* 0x2B0416E2: mov edx, dword ptr [ecx] */ 322 PUSH32(esp, 1); /* 0x2B0416E4: push 1 */ 323 RECOMP_ICALL(MEM32(edx)); /* 0x2B0416E6: call dword ptr [edx] */ 324 RECOMP_FLAGS_IN(); 325 L_2B0416E8: 326 ecx = MEM32(esi + 0x68); /* 0x2B0416E8: mov ecx, dword ptr [esi + 0x68] */ 327 /* test ecx, ecx */ /* 0x2B0416EB: test ecx, ecx */ 328 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 329 _cf = 0; 330 _flag_k = FK_TEST; 331 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0416F5; /* 0x2B0416ED: je 0x2b0416f5 */ 332 L_2B0416EF: 333 eax = MEM32(ecx); /* 0x2B0416EF: mov eax, dword ptr [ecx] */ 334 PUSH32(esp, 1); /* 0x2B0416F1: push 1 */ 335 RECOMP_ICALL(MEM32(eax)); /* 0x2B0416F3: call dword ptr [eax] */ 336 RECOMP_FLAGS_IN(); 337 L_2B0416F5: 338 PUSH32(esp, ebx); /* 0x2B0416F5: push ebx */ 339 ebx = MEM32(esi + 0x8C); /* 0x2B0416F6: mov ebx, dword ptr [esi + 0x8c] */ 340 /* test ebx, ebx */ /* 0x2B0416FC: test ebx, ebx */ 341 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 342 _cf = 0; 343 _flag_k = FK_TEST; 344 if (TEST_Z(_flag_a, _flag_b)) goto L_2B041750; /* 0x2B0416FE: je 0x2b041750 */ 345 L_2B041700: 346 eax = MEM32(ebx + 0x4); /* 0x2B041700: mov eax, dword ptr [ebx + 4] */ 347 edi = MEM32(eax); /* 0x2B041703: mov edi, dword ptr [eax] */ 348 /* cmp edi, eax */ /* 0x2B041705: cmp edi, eax */ 349 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 350 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 351 _flag_k = FK_CMP; 352 MEM32(ebp + (-0x10)) = eax; /* 0x2B041707: mov dword ptr [ebp - 0x10], eax */ 353 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B041736; /* 0x2B04170A: je 0x2b041736 */ 354 L_2B04170C: 355 eax = edi; /* 0x2B04170C: mov eax, edi */ 356 ecx = MEM32(eax + 0x4); /* 0x2B04170E: mov ecx, dword ptr [eax + 4] */ 357 edx = MEM32(eax); /* 0x2B041711: mov edx, dword ptr [eax] */ 358 edi = MEM32(edi); /* 0x2B041713: mov edi, dword ptr [edi] */ 359 MEM32(ecx) = edx; /* 0x2B041715: mov dword ptr [ecx], edx */ 360 ecx = MEM32(eax); /* 0x2B041717: mov ecx, dword ptr [eax] */ 361 edx = MEM32(eax + 0x4); /* 0x2B041719: mov edx, dword ptr [eax + 4] */ 362 PUSH32(esp, eax); /* 0x2B04171C: push eax */ 363 MEM32(ecx + 0x4) = edx; /* 0x2B04171D: mov dword ptr [ecx + 4], edx */ 364 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B041720: call 0x2b0ab1ba */ /* not lifted */ 365 RECOMP_FLAGS_IN(); 366 ecx = MEM32(ebx + 0x8); /* 0x2B041725: mov ecx, dword ptr [ebx + 8] */ 367 eax = MEM32(ebp + (-0x10)); /* 0x2B041728: mov eax, dword ptr [ebp - 0x10] */ 368 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 369 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 370 esp = esp + 4; /* 0x2B04172B: add esp, 4 */ 371 _flag_k = FK_ADD; 372 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 373 ecx = ecx - 1; /* 0x2B04172E: dec ecx */ 374 _flag_k = FK_DEC; 375 /* cmp edi, eax */ /* 0x2B04172F: cmp edi, eax */ 376 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 377 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 378 _flag_k = FK_CMP; 379 MEM32(ebx + 0x8) = ecx; /* 0x2B041731: mov dword ptr [ebx + 8], ecx */ 380 RECOMP_BACKEDGE(); 381 if (CMP_NE(_flag_a, _flag_b)) goto L_2B04170C; /* 0x2B041734: jne 0x2b04170c */ 382 L_2B041736: 383 eax = MEM32(ebx + 0x4); /* 0x2B041736: mov eax, dword ptr [ebx + 4] */ 384 PUSH32(esp, eax); /* 0x2B041739: push eax */ 385 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B04173A: call 0x2b0ab1ba */ /* not lifted */ 386 RECOMP_FLAGS_IN(); 387 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 388 eax = 0; /* 0x2B04173F: xor eax, eax */ 389 _cf = 0; 390 _flag_k = FK_TEST; 391 PUSH32(esp, ebx); /* 0x2B041741: push ebx */ 392 MEM32(ebx + 0x4) = eax; /* 0x2B041742: mov dword ptr [ebx + 4], eax */ 393 MEM32(ebx + 0x8) = eax; /* 0x2B041745: mov dword ptr [ebx + 8], eax */ 394 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B041748: call 0x2b0ab1ba */ /* not lifted */ 395 RECOMP_FLAGS_IN(); 396 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 397 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 398 esp = esp + 8; /* 0x2B04174D: add esp, 8 */ 399 _flag_k = FK_ADD; 400 L_2B041750: 401 ecx = MEM32(esi + 0x28); /* 0x2B041750: mov ecx, dword ptr [esi + 0x28] */ 402 /* test ecx, ecx */ /* 0x2B041753: test ecx, ecx */ 403 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 404 _cf = 0; 405 _flag_k = FK_TEST; 406 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04175D; /* 0x2B041755: je 0x2b04175d */ 407 L_2B041757: 408 eax = MEM32(ecx); /* 0x2B041757: mov eax, dword ptr [ecx] */ 409 PUSH32(esp, 1); /* 0x2B041759: push 1 */ 410 RECOMP_ICALL(MEM32(eax)); /* 0x2B04175B: call dword ptr [eax] */ 411 RECOMP_FLAGS_IN(); 412 L_2B04175D: 413 ecx = MEM32(esi + 0x2C); /* 0x2B04175D: mov ecx, dword ptr [esi + 0x2c] */ 414 /* test ecx, ecx */ /* 0x2B041760: test ecx, ecx */ 415 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 416 _cf = 0; 417 _flag_k = FK_TEST; 418 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04176A; /* 0x2B041762: je 0x2b04176a */ 419 L_2B041764: 420 edx = MEM32(ecx); /* 0x2B041764: mov edx, dword ptr [ecx] */ 421 PUSH32(esp, 1); /* 0x2B041766: push 1 */ 422 RECOMP_ICALL(MEM32(edx)); /* 0x2B041768: call dword ptr [edx] */ 423 RECOMP_FLAGS_IN(); 424 L_2B04176A: 425 ecx = MEM32(esi + 0x30); /* 0x2B04176A: mov ecx, dword ptr [esi + 0x30] */ 426 /* test ecx, ecx */ /* 0x2B04176D: test ecx, ecx */ 427 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 428 _cf = 0; 429 _flag_k = FK_TEST; 430 if (TEST_Z(_flag_a, _flag_b)) goto L_2B041777; /* 0x2B04176F: je 0x2b041777 */ 431 L_2B041771: 432 eax = MEM32(ecx); /* 0x2B041771: mov eax, dword ptr [ecx] */ 433 PUSH32(esp, 1); /* 0x2B041773: push 1 */ 434 RECOMP_ICALL(MEM32(eax)); /* 0x2B041775: call dword ptr [eax] */ 435 RECOMP_FLAGS_IN(); 436 L_2B041777: 437 ecx = MEM32(esi + 0x34); /* 0x2B041777: mov ecx, dword ptr [esi + 0x34] */ 438 /* test ecx, ecx */ /* 0x2B04177A: test ecx, ecx */ 439 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 440 _cf = 0; 441 _flag_k = FK_TEST; 442 if (TEST_Z(_flag_a, _flag_b)) goto L_2B041784; /* 0x2B04177C: je 0x2b041784 */ 443 L_2B04177E: 444 edx = MEM32(ecx); /* 0x2B04177E: mov edx, dword ptr [ecx] */ 445 PUSH32(esp, 1); /* 0x2B041780: push 1 */ 446 RECOMP_ICALL(MEM32(edx)); /* 0x2B041782: call dword ptr [edx] */ 447 RECOMP_FLAGS_IN(); 448 L_2B041784: 449 ecx = MEM32(esi + 0x40); /* 0x2B041784: mov ecx, dword ptr [esi + 0x40] */ 450 /* test ecx, ecx */ /* 0x2B041787: test ecx, ecx */ 451 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 452 _cf = 0; 453 _flag_k = FK_TEST; 454 if (TEST_Z(_flag_a, _flag_b)) goto L_2B041791; /* 0x2B041789: je 0x2b041791 */ 455 L_2B04178B: 456 eax = MEM32(ecx); /* 0x2B04178B: mov eax, dword ptr [ecx] */ 457 PUSH32(esp, 1); /* 0x2B04178D: push 1 */ 458 RECOMP_ICALL(MEM32(eax)); /* 0x2B04178F: call dword ptr [eax] */ 459 RECOMP_FLAGS_IN(); 460 L_2B041791: 461 ecx = MEM32(esi + 0x44); /* 0x2B041791: mov ecx, dword ptr [esi + 0x44] */ 462 /* test ecx, ecx */ /* 0x2B041794: test ecx, ecx */ 463 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 464 _cf = 0; 465 _flag_k = FK_TEST; 466 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04179E; /* 0x2B041796: je 0x2b04179e */ 467 L_2B041798: 468 edx = MEM32(ecx); /* 0x2B041798: mov edx, dword ptr [ecx] */ 469 PUSH32(esp, 1); /* 0x2B04179A: push 1 */ 470 RECOMP_ICALL(MEM32(edx)); /* 0x2B04179C: call dword ptr [edx] */ 471 RECOMP_FLAGS_IN(); 472 L_2B04179E: 473 ecx = MEM32(esi + 0x48); /* 0x2B04179E: mov ecx, dword ptr [esi + 0x48] */ 474 /* test ecx, ecx */ /* 0x2B0417A1: test ecx, ecx */ 475 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 476 _cf = 0; 477 _flag_k = FK_TEST; 478 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0417AB; /* 0x2B0417A3: je 0x2b0417ab */ 479 L_2B0417A5: 480 eax = MEM32(ecx); /* 0x2B0417A5: mov eax, dword ptr [ecx] */ 481 PUSH32(esp, 1); /* 0x2B0417A7: push 1 */ 482 RECOMP_ICALL(MEM32(eax)); /* 0x2B0417A9: call dword ptr [eax] */ 483 RECOMP_FLAGS_IN(); 484 L_2B0417AB: 485 ecx = MEM32(esi + 0x4C); /* 0x2B0417AB: mov ecx, dword ptr [esi + 0x4c] */ 486 /* test ecx, ecx */ /* 0x2B0417AE: test ecx, ecx */ 487 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 488 _cf = 0; 489 _flag_k = FK_TEST; 490 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0417B8; /* 0x2B0417B0: je 0x2b0417b8 */ 491 L_2B0417B2: 492 edx = MEM32(ecx); /* 0x2B0417B2: mov edx, dword ptr [ecx] */ 493 PUSH32(esp, 1); /* 0x2B0417B4: push 1 */ 494 RECOMP_ICALL(MEM32(edx)); /* 0x2B0417B6: call dword ptr [edx] */ 495 RECOMP_FLAGS_IN(); 496 L_2B0417B8: 497 ecx = MEM32(esi + 0x88); /* 0x2B0417B8: mov ecx, dword ptr [esi + 0x88] */ 498 /* test ecx, ecx */ /* 0x2B0417BE: test ecx, ecx */ 499 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 500 _cf = 0; 501 _flag_k = FK_TEST; 502 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0417C8; /* 0x2B0417C0: je 0x2b0417c8 */ 503 L_2B0417C2: 504 eax = MEM32(ecx); /* 0x2B0417C2: mov eax, dword ptr [ecx] */ 505 PUSH32(esp, 1); /* 0x2B0417C4: push 1 */ 506 RECOMP_ICALL(MEM32(eax)); /* 0x2B0417C6: call dword ptr [eax] */ 507 RECOMP_FLAGS_IN(); 508 L_2B0417C8: 509 ecx = MEM32(esi + 0x38); /* 0x2B0417C8: mov ecx, dword ptr [esi + 0x38] */ 510 /* test ecx, ecx */ /* 0x2B0417CB: test ecx, ecx */ 511 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 512 _cf = 0; 513 _flag_k = FK_TEST; 514 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0417D5; /* 0x2B0417CD: je 0x2b0417d5 */ 515 L_2B0417CF: 516 edx = MEM32(ecx); /* 0x2B0417CF: mov edx, dword ptr [ecx] */ 517 PUSH32(esp, 1); /* 0x2B0417D1: push 1 */ 518 RECOMP_ICALL(MEM32(edx)); /* 0x2B0417D3: call dword ptr [edx] */ 519 RECOMP_FLAGS_IN(); 520 L_2B0417D5: 521 ecx = MEM32(esi + 0x3C); /* 0x2B0417D5: mov ecx, dword ptr [esi + 0x3c] */ 522 /* test ecx, ecx */ /* 0x2B0417D8: test ecx, ecx */ 523 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 524 _cf = 0; 525 _flag_k = FK_TEST; 526 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0417E2; /* 0x2B0417DA: je 0x2b0417e2 */ 527 L_2B0417DC: 528 eax = MEM32(ecx); /* 0x2B0417DC: mov eax, dword ptr [ecx] */ 529 PUSH32(esp, 1); /* 0x2B0417DE: push 1 */ 530 RECOMP_ICALL(MEM32(eax)); /* 0x2B0417E0: call dword ptr [eax] */ 531 RECOMP_FLAGS_IN(); 532 L_2B0417E2: 533 ecx = MEM32(esi + 0xC8); /* 0x2B0417E2: mov ecx, dword ptr [esi + 0xc8] */ 534 edi = MEM32(0x2B0B5F80); /* 0x2B0417E8: mov edi, dword ptr [0x2b0b5f80] */ 535 PUSH32(esp, ecx); /* 0x2B0417EE: push ecx */ 536 RECOMP_ICALL(edi); /* 0x2B0417EF: call edi */ 537 RECOMP_FLAGS_IN(); 538 ebx = MEM32(0x2B0B5FB8); /* 0x2B0417F1: mov ebx, dword ptr [0x2b0b5fb8] */ 539 ecx = eax; /* 0x2B0417F7: mov ecx, eax */ 540 RECOMP_ICALL(ebx); /* 0x2B0417F9: call ebx */ 541 RECOMP_FLAGS_IN(); 542 edx = MEM32(esi + 0xCC); /* 0x2B0417FB: mov edx, dword ptr [esi + 0xcc] */ 543 PUSH32(esp, edx); /* 0x2B041801: push edx */ 544 RECOMP_ICALL(edi); /* 0x2B041802: call edi */ 545 RECOMP_FLAGS_IN(); 546 ecx = eax; /* 0x2B041804: mov ecx, eax */ 547 RECOMP_ICALL(ebx); /* 0x2B041806: call ebx */ 548 RECOMP_FLAGS_IN(); 549 ecx = MEM32(esi + 0xC4); /* 0x2B041808: mov ecx, dword ptr [esi + 0xc4] */ 550 /* test ecx, ecx */ /* 0x2B04180E: test ecx, ecx */ 551 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 552 _cf = 0; 553 _flag_k = FK_TEST; 554 MEM32(ebp + (-0x10)) = ecx; /* 0x2B041810: mov dword ptr [ebp - 0x10], ecx */ 555 if (TEST_Z(_flag_a, _flag_b)) goto L_2B041827; /* 0x2B041813: je 0x2b041827 */ 556 L_2B041815: 557 RECOMP_ICALL(MEM32(0x2B0B5644)); /* 0x2B041815: call dword ptr [0x2b0b5644] */ 558 RECOMP_FLAGS_IN(); 559 eax = MEM32(ebp + (-0x10)); /* 0x2B04181B: mov eax, dword ptr [ebp - 0x10] */ 560 PUSH32(esp, eax); /* 0x2B04181E: push eax */ 561 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B04181F: call 0x2b0ab1ba */ /* not lifted */ 562 RECOMP_FLAGS_IN(); 563 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 564 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 565 esp = esp + 4; /* 0x2B041824: add esp, 4 */ 566 _flag_k = FK_ADD; 567 L_2B041827: 568 ecx = MEM32(esi + 0xD4); /* 0x2B041827: mov ecx, dword ptr [esi + 0xd4] */ 569 PUSH32(esp, ecx); /* 0x2B04182D: push ecx */ 570 RECOMP_ICALL(edi); /* 0x2B04182E: call edi */ 571 RECOMP_FLAGS_IN(); 572 ecx = eax; /* 0x2B041830: mov ecx, eax */ 573 RECOMP_ICALL(ebx); /* 0x2B041832: call ebx */ 574 RECOMP_FLAGS_IN(); 575 edx = MEM32(esi + 0xD8); /* 0x2B041834: mov edx, dword ptr [esi + 0xd8] */ 576 PUSH32(esp, edx); /* 0x2B04183A: push edx */ 577 RECOMP_ICALL(edi); /* 0x2B04183B: call edi */ 578 RECOMP_FLAGS_IN(); 579 ecx = eax; /* 0x2B04183D: mov ecx, eax */ 580 RECOMP_ICALL(ebx); /* 0x2B04183F: call ebx */ 581 RECOMP_FLAGS_IN(); 582 edi = MEM32(esi + 0xD0); /* 0x2B041841: mov edi, dword ptr [esi + 0xd0] */ 583 /* test edi, edi */ /* 0x2B041847: test edi, edi */ 584 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 585 _cf = 0; 586 _flag_k = FK_TEST; 587 ebx = POP32_VAL(esp); /* 0x2B041849: pop ebx */ 588 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04185D; /* 0x2B04184A: je 0x2b04185d */ 589 L_2B04184C: 590 ecx = edi; /* 0x2B04184C: mov ecx, edi */ 591 RECOMP_ICALL(MEM32(0x2B0B5644)); /* 0x2B04184E: call dword ptr [0x2b0b5644] */ 592 RECOMP_FLAGS_IN(); 593 PUSH32(esp, edi); /* 0x2B041854: push edi */ 594 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B041855: call 0x2b0ab1ba */ /* not lifted */ 595 RECOMP_FLAGS_IN(); 596 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 597 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 598 esp = esp + 4; /* 0x2B04185A: add esp, 4 */ 599 _flag_k = FK_ADD; 600 L_2B04185D: 601 ecx = MEM32(esi + 0xDC); /* 0x2B04185D: mov ecx, dword ptr [esi + 0xdc] */ 602 /* test ecx, ecx */ /* 0x2B041863: test ecx, ecx */ 603 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 604 _cf = 0; 605 _flag_k = FK_TEST; 606 edi = POP32_VAL(esp); /* 0x2B041865: pop edi */ 607 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04186E; /* 0x2B041866: je 0x2b04186e */ 608 L_2B041868: 609 eax = MEM32(ecx); /* 0x2B041868: mov eax, dword ptr [ecx] */ 610 PUSH32(esp, 1); /* 0x2B04186A: push 1 */ 611 RECOMP_ICALL(MEM32(eax)); /* 0x2B04186C: call dword ptr [eax] */ 612 RECOMP_FLAGS_IN(); 613 L_2B04186E: 614 ecx = MEM32(esi + 0xE0); /* 0x2B04186E: mov ecx, dword ptr [esi + 0xe0] */ 615 /* test ecx, ecx */ /* 0x2B041874: test ecx, ecx */ 616 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 617 _cf = 0; 618 _flag_k = FK_TEST; 619 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04187E; /* 0x2B041876: je 0x2b04187e */ 620 L_2B041878: 621 edx = MEM32(ecx); /* 0x2B041878: mov edx, dword ptr [ecx] */ 622 PUSH32(esp, 1); /* 0x2B04187A: push 1 */ 623 RECOMP_ICALL(MEM32(edx)); /* 0x2B04187C: call dword ptr [edx] */ 624 RECOMP_FLAGS_IN(); 625 L_2B04187E: 626 ecx = MEM32(esi + 0xE8); /* 0x2B04187E: mov ecx, dword ptr [esi + 0xe8] */ 627 /* test ecx, ecx */ /* 0x2B041884: test ecx, ecx */ 628 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 629 _cf = 0; 630 _flag_k = FK_TEST; 631 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04188E; /* 0x2B041886: je 0x2b04188e */ 632 L_2B041888: 633 eax = MEM32(ecx); /* 0x2B041888: mov eax, dword ptr [ecx] */ 634 PUSH32(esp, 1); /* 0x2B04188A: push 1 */ 635 RECOMP_ICALL(MEM32(eax)); /* 0x2B04188C: call dword ptr [eax] */ 636 RECOMP_FLAGS_IN(); 637 L_2B04188E: 638 ecx = MEM32(esi + 0xE4); /* 0x2B04188E: mov ecx, dword ptr [esi + 0xe4] */ 639 /* test ecx, ecx */ /* 0x2B041894: test ecx, ecx */ 640 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 641 _cf = 0; 642 _flag_k = FK_TEST; 643 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04189E; /* 0x2B041896: je 0x2b04189e */ 644 L_2B041898: 645 edx = MEM32(ecx); /* 0x2B041898: mov edx, dword ptr [ecx] */ 646 PUSH32(esp, 1); /* 0x2B04189A: push 1 */ 647 RECOMP_ICALL(MEM32(edx)); /* 0x2B04189C: call dword ptr [edx] */ 648 RECOMP_FLAGS_IN(); 649 L_2B04189E: 650 ecx = esi; /* 0x2B04189E: mov ecx, esi */ 651 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B0418A0: mov dword ptr [ebp - 4], 0xffffffff */ 652 RECOMP_ICALL(0x2B03A290u); /* 0x2B0418A7: call 0x2b03a290 */ /* not lifted */ 653 RECOMP_FLAGS_IN(); 654 ecx = MEM32(ebp + (-0xC)); /* 0x2B0418AC: mov ecx, dword ptr [ebp - 0xc] */ 655 esi = POP32_VAL(esp); /* 0x2B0418AF: pop esi */ 656 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0418B0: mov dword ptr fs:[0], ecx */ 657 esp = ebp; /* 0x2B0418B7: mov esp, ebp */ 658 ebp = POP32_VAL(esp); /* 0x2B0418B9: pop ebp */ 659 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0418BA: ret */ 660 RECOMP_REGS_OUT(); 661 } 662 663 void sub_2B0418C0(void) { 664 int _fpu_cmp = 0; 665 uint32_t _cf = 0; 666 int _df = 1; 667 uint32_t _flag_k = FK_NONE; 668 uint32_t _flag_a = 0, _flag_b = 0; 669 uint32_t _itail_tgt = 0; 670 RECOMP_REGS_LOCALS 671 RECOMP_ENTER(0x2B0418C0u); 672 673 L_2B0418C0: 674 PUSH32(esp, ebp); /* 0x2B0418C0: push ebp */ 675 ebp = esp; /* 0x2B0418C1: mov ebp, esp */ 676 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 677 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 678 esp = esp - 8; /* 0x2B0418C3: sub esp, 8 */ 679 _flag_k = FK_CMP; 680 eax = MEM32(ecx + 0x30); /* 0x2B0418C6: mov eax, dword ptr [ecx + 0x30] */ 681 edx = MEM32(eax + 0x14); /* 0x2B0418C9: mov edx, dword ptr [eax + 0x14] */ 682 eax = MEM32(edx + 0x8); /* 0x2B0418CC: mov eax, dword ptr [edx + 8] */ 683 eax = (uint32_t)((int32_t)eax * (int32_t)MEM32(ecx + 0x94)); /* 0x2B0418CF: imul eax, dword ptr [ecx + 0x94] */ 684 edx = MEM32(ecx + 0x74); /* 0x2B0418D6: mov edx, dword ptr [ecx + 0x74] */ 685 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 686 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 687 eax = eax + edx; /* 0x2B0418D9: add eax, edx */ 688 _flag_k = FK_ADD; 689 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B0418DB: mov dl, byte ptr [ecx + 0x1c] */ 690 /* test LO8(edx), LO8(edx) */ /* 0x2B0418DE: test dl, dl */ 691 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 692 _cf = 0; 693 _flag_k = FK_NARROW(FK_TEST, 24); 694 MEM32(ecx + 0x20) = eax; /* 0x2B0418E0: mov dword ptr [ecx + 0x20], eax */ 695 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0418EF; /* 0x2B0418E3: je 0x2b0418ef */ 696 L_2B0418E5: 697 SET_LO8(edx, MEM8(ecx + 0xC)); /* 0x2B0418E5: mov dl, byte ptr [ecx + 0xc] */ 698 /* test LO8(edx), LO8(edx) */ /* 0x2B0418E8: test dl, dl */ 699 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 700 _cf = 0; 701 _flag_k = FK_NARROW(FK_TEST, 24); 702 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0418EF; /* 0x2B0418EA: je 0x2b0418ef */ 703 L_2B0418EC: 704 MEM32(ecx + 0x18) = eax; /* 0x2B0418EC: mov dword ptr [ecx + 0x18], eax */ 705 L_2B0418EF: 706 eax = MEM32(ecx + 0x20); /* 0x2B0418EF: mov eax, dword ptr [ecx + 0x20] */ 707 ecx = MEM32(ecx + 0xB8); /* 0x2B0418F2: mov ecx, dword ptr [ecx + 0xb8] */ 708 MEM32(ebp + (-0x4)) = eax; /* 0x2B0418F8: mov dword ptr [ebp - 4], eax */ 709 eax = ebp + (-0x8); /* 0x2B0418FB: lea eax, [ebp - 8] */ 710 MEM32(ebp + (-0x8)) = 0xC0u; /* 0x2B0418FE: mov dword ptr [ebp - 8], 0xc0 */ 711 edx = MEM32(ecx); /* 0x2B041905: mov edx, dword ptr [ecx] */ 712 PUSH32(esp, eax); /* 0x2B041907: push eax */ 713 RECOMP_ICALL(MEM32(edx + 0x18)); /* 0x2B041908: call dword ptr [edx + 0x18] */ 714 RECOMP_FLAGS_IN(); 715 SET_LO8(eax, 1); /* 0x2B04190B: mov al, 1 */ 716 esp = ebp; /* 0x2B04190D: mov esp, ebp */ 717 ebp = POP32_VAL(esp); /* 0x2B04190F: pop ebp */ 718 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B041910: ret */ 719 RECOMP_REGS_OUT(); 720 } 721 722 void sub_2B041920(void) { 723 int _fpu_cmp = 0; 724 uint32_t _cf = 0; 725 int _df = 1; 726 uint32_t _flag_k = FK_NONE; 727 uint32_t _flag_a = 0, _flag_b = 0; 728 uint32_t _itail_tgt = 0; 729 RECOMP_REGS_LOCALS 730 RECOMP_ENTER(0x2B041920u); 731 732 L_2B041920: 733 PUSH32(esp, ebx); /* 0x2B041920: push ebx */ 734 PUSH32(esp, esi); /* 0x2B041921: push esi */ 735 esi = ecx; /* 0x2B041922: mov esi, ecx */ 736 SET_LO8(eax, MEM8(esi + 0x1C)); /* 0x2B041924: mov al, byte ptr [esi + 0x1c] */ 737 /* test LO8(eax), LO8(eax) */ /* 0x2B041927: test al, al */ 738 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 739 _cf = 0; 740 _flag_k = FK_NARROW(FK_TEST, 24); 741 if (TEST_Z(_flag_a, _flag_b)) goto L_2B041A11; /* 0x2B041929: je 0x2b041a11 */ 742 L_2B04192F: 743 SET_LO8(eax, MEM8(esi + 0xC)); /* 0x2B04192F: mov al, byte ptr [esi + 0xc] */ 744 /* test LO8(eax), LO8(eax) */ /* 0x2B041932: test al, al */ 745 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 746 _cf = 0; 747 _flag_k = FK_NARROW(FK_TEST, 24); 748 if (TEST_Z(_flag_a, _flag_b)) goto L_2B041A11; /* 0x2B041934: je 0x2b041a11 */ 749 L_2B04193A: 750 eax = MEM32(esi + 0x88); /* 0x2B04193A: mov eax, dword ptr [esi + 0x88] */ 751 SET_LO8(ebx, 1); /* 0x2B041940: mov bl, 1 */ 752 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041942: mov byte ptr [eax + 8], bl */ 753 ecx = MEM32(esi + 0x50); /* 0x2B041945: mov ecx, dword ptr [esi + 0x50] */ 754 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041948: mov byte ptr [ecx + 8], bl */ 755 edx = MEM32(esi + 0x54); /* 0x2B04194B: mov edx, dword ptr [esi + 0x54] */ 756 MEM8(edx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B04194E: mov byte ptr [edx + 8], bl */ 757 eax = MEM32(esi + 0x58); /* 0x2B041951: mov eax, dword ptr [esi + 0x58] */ 758 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041954: mov byte ptr [eax + 8], bl */ 759 ecx = MEM32(esi + 0x5C); /* 0x2B041957: mov ecx, dword ptr [esi + 0x5c] */ 760 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B04195A: mov byte ptr [ecx + 8], bl */ 761 edx = MEM32(esi + 0x60); /* 0x2B04195D: mov edx, dword ptr [esi + 0x60] */ 762 MEM8(edx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041960: mov byte ptr [edx + 8], bl */ 763 eax = MEM32(esi + 0x64); /* 0x2B041963: mov eax, dword ptr [esi + 0x64] */ 764 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041966: mov byte ptr [eax + 8], bl */ 765 ecx = MEM32(esi + 0x68); /* 0x2B041969: mov ecx, dword ptr [esi + 0x68] */ 766 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B04196C: mov byte ptr [ecx + 8], bl */ 767 edx = MEM32(esi + 0x28); /* 0x2B04196F: mov edx, dword ptr [esi + 0x28] */ 768 MEM8(edx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041972: mov byte ptr [edx + 8], bl */ 769 eax = MEM32(esi + 0x2C); /* 0x2B041975: mov eax, dword ptr [esi + 0x2c] */ 770 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041978: mov byte ptr [eax + 8], bl */ 771 ecx = MEM32(esi + 0x40); /* 0x2B04197B: mov ecx, dword ptr [esi + 0x40] */ 772 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B04197E: mov byte ptr [ecx + 8], bl */ 773 edx = MEM32(esi + 0x44); /* 0x2B041981: mov edx, dword ptr [esi + 0x44] */ 774 MEM8(edx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041984: mov byte ptr [edx + 8], bl */ 775 eax = MEM32(esi + 0x48); /* 0x2B041987: mov eax, dword ptr [esi + 0x48] */ 776 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B04198A: mov byte ptr [eax + 8], bl */ 777 ecx = MEM32(esi + 0x4C); /* 0x2B04198D: mov ecx, dword ptr [esi + 0x4c] */ 778 RECOMP_ICALL(MEM32(0x2B0B5864)); /* 0x2B041990: call dword ptr [0x2b0b5864] */ 779 RECOMP_FLAGS_IN(); 780 ecx = MEM32(esi + 0xAC); /* 0x2B041996: mov ecx, dword ptr [esi + 0xac] */ 781 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B04199C: mov byte ptr [ecx + 8], bl */ 782 edx = MEM32(esi + 0xB0); /* 0x2B04199F: mov edx, dword ptr [esi + 0xb0] */ 783 MEM8(edx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B0419A5: mov byte ptr [edx + 8], bl */ 784 eax = MEM32(esi + 0xB4); /* 0x2B0419A8: mov eax, dword ptr [esi + 0xb4] */ 785 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B0419AE: mov byte ptr [eax + 8], bl */ 786 ecx = MEM32(esi + 0xB8); /* 0x2B0419B1: mov ecx, dword ptr [esi + 0xb8] */ 787 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B0419B7: mov byte ptr [ecx + 8], bl */ 788 ecx = MEM32(esi + 0x94); /* 0x2B0419BA: mov ecx, dword ptr [esi + 0x94] */ 789 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 790 eax = 0; /* 0x2B0419C0: xor eax, eax */ 791 _cf = 0; 792 _flag_k = FK_TEST; 793 /* test ecx, ecx */ /* 0x2B0419C2: test ecx, ecx */ 794 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 795 _cf = 0; 796 _flag_k = FK_TEST; 797 if (TEST_LE(_flag_a, _flag_b)) goto L_2B0419DC; /* 0x2B0419C4: jle 0x2b0419dc */ 798 L_2B0419C6: 799 ecx = esi + 0x30; /* 0x2B0419C6: lea ecx, [esi + 0x30] */ 800 L_2B0419C9: 801 edx = MEM32(ecx); /* 0x2B0419C9: mov edx, dword ptr [ecx] */ 802 MEM8(edx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B0419CB: mov byte ptr [edx + 8], bl */ 803 edx = MEM32(esi + 0x94); /* 0x2B0419CE: mov edx, dword ptr [esi + 0x94] */ 804 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 805 eax = eax + 1; /* 0x2B0419D4: inc eax */ 806 _flag_k = FK_INC; 807 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 808 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 809 ecx = ecx + 4; /* 0x2B0419D5: add ecx, 4 */ 810 _flag_k = FK_ADD; 811 /* cmp eax, edx */ /* 0x2B0419D8: cmp eax, edx */ 812 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 813 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 814 _flag_k = FK_CMP; 815 RECOMP_BACKEDGE(); 816 if (CMP_L(_flag_a, _flag_b)) goto L_2B0419C9; /* 0x2B0419DA: jl 0x2b0419c9 */ 817 L_2B0419DC: 818 SET_LO8(eax, MEM8(esi + 0x98)); /* 0x2B0419DC: mov al, byte ptr [esi + 0x98] */ 819 /* test LO8(eax), LO8(eax) */ /* 0x2B0419E2: test al, al */ 820 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 821 _cf = 0; 822 _flag_k = FK_NARROW(FK_TEST, 24); 823 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0419F2; /* 0x2B0419E4: je 0x2b0419f2 */ 824 L_2B0419E6: 825 ecx = MEM32(esi + 0x9C); /* 0x2B0419E6: mov ecx, dword ptr [esi + 0x9c] */ 826 RECOMP_ICALL(MEM32(0x2B0B5BB0)); /* 0x2B0419EC: call dword ptr [0x2b0b5bb0] */ 827 RECOMP_FLAGS_IN(); 828 L_2B0419F2: 829 SET_LO8(eax, MEM8(esi + 0x78)); /* 0x2B0419F2: mov al, byte ptr [esi + 0x78] */ 830 /* test LO8(eax), LO8(eax) */ /* 0x2B0419F5: test al, al */ 831 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 832 _cf = 0; 833 _flag_k = FK_NARROW(FK_TEST, 24); 834 if (TEST_Z(_flag_a, _flag_b)) goto L_2B041A11; /* 0x2B0419F7: je 0x2b041a11 */ 835 L_2B0419F9: 836 eax = MEM32(esi + 0x7C); /* 0x2B0419F9: mov eax, dword ptr [esi + 0x7c] */ 837 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B0419FC: mov byte ptr [eax + 8], bl */ 838 ecx = MEM32(esi + 0x80); /* 0x2B0419FF: mov ecx, dword ptr [esi + 0x80] */ 839 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041A05: mov byte ptr [ecx + 8], bl */ 840 edx = MEM32(esi + 0x84); /* 0x2B041A08: mov edx, dword ptr [esi + 0x84] */ 841 MEM8(edx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041A0E: mov byte ptr [edx + 8], bl */ 842 L_2B041A11: 843 esi = POP32_VAL(esp); /* 0x2B041A11: pop esi */ 844 ebx = POP32_VAL(esp); /* 0x2B041A12: pop ebx */ 845 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B041A13: ret */ 846 RECOMP_REGS_OUT(); 847 } 848 849 void sub_2B041A20(void) { 850 int _fpu_cmp = 0; 851 uint32_t _cf = 0; 852 int _df = 1; 853 uint32_t _flag_k = FK_NONE; 854 uint32_t _flag_a = 0, _flag_b = 0; 855 uint32_t _itail_tgt = 0; 856 RECOMP_REGS_LOCALS 857 RECOMP_ENTER(0x2B041A20u); 858 859 L_2B041A20: 860 PUSH32(esp, ebx); /* 0x2B041A20: push ebx */ 861 PUSH32(esp, esi); /* 0x2B041A21: push esi */ 862 esi = ecx; /* 0x2B041A22: mov esi, ecx */ 863 eax = MEM32(esi + 0x3C); /* 0x2B041A24: mov eax, dword ptr [esi + 0x3c] */ 864 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 865 ebx = 0; /* 0x2B041A27: xor ebx, ebx */ 866 _cf = 0; 867 _flag_k = FK_TEST; 868 /* cmp eax, ebx */ /* 0x2B041A29: cmp eax, ebx */ 869 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 870 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 871 _flag_k = FK_CMP; 872 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B041A30; /* 0x2B041A2B: je 0x2b041a30 */ 873 L_2B041A2D: 874 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041A2D: mov byte ptr [eax + 8], bl */ 875 L_2B041A30: 876 eax = MEM32(esi + 0x38); /* 0x2B041A30: mov eax, dword ptr [esi + 0x38] */ 877 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041A33: mov byte ptr [eax + 8], bl */ 878 ecx = MEM32(esi + 0x88); /* 0x2B041A36: mov ecx, dword ptr [esi + 0x88] */ 879 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041A3C: mov byte ptr [ecx + 8], bl */ 880 edx = MEM32(esi + 0xA8); /* 0x2B041A3F: mov edx, dword ptr [esi + 0xa8] */ 881 MEM8(edx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041A45: mov byte ptr [edx + 8], bl */ 882 eax = MEM32(esi + 0x50); /* 0x2B041A48: mov eax, dword ptr [esi + 0x50] */ 883 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041A4B: mov byte ptr [eax + 8], bl */ 884 ecx = MEM32(esi + 0x54); /* 0x2B041A4E: mov ecx, dword ptr [esi + 0x54] */ 885 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041A51: mov byte ptr [ecx + 8], bl */ 886 edx = MEM32(esi + 0x58); /* 0x2B041A54: mov edx, dword ptr [esi + 0x58] */ 887 MEM8(edx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041A57: mov byte ptr [edx + 8], bl */ 888 eax = MEM32(esi + 0x5C); /* 0x2B041A5A: mov eax, dword ptr [esi + 0x5c] */ 889 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041A5D: mov byte ptr [eax + 8], bl */ 890 ecx = MEM32(esi + 0x60); /* 0x2B041A60: mov ecx, dword ptr [esi + 0x60] */ 891 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041A63: mov byte ptr [ecx + 8], bl */ 892 edx = MEM32(esi + 0x64); /* 0x2B041A66: mov edx, dword ptr [esi + 0x64] */ 893 MEM8(edx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041A69: mov byte ptr [edx + 8], bl */ 894 eax = MEM32(esi + 0x68); /* 0x2B041A6C: mov eax, dword ptr [esi + 0x68] */ 895 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041A6F: mov byte ptr [eax + 8], bl */ 896 ecx = MEM32(esi + 0x6C); /* 0x2B041A72: mov ecx, dword ptr [esi + 0x6c] */ 897 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041A75: mov byte ptr [ecx + 8], bl */ 898 edx = MEM32(esi + 0x70); /* 0x2B041A78: mov edx, dword ptr [esi + 0x70] */ 899 MEM8(edx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041A7B: mov byte ptr [edx + 8], bl */ 900 eax = MEM32(esi + 0x28); /* 0x2B041A7E: mov eax, dword ptr [esi + 0x28] */ 901 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041A81: mov byte ptr [eax + 8], bl */ 902 ecx = MEM32(esi + 0x2C); /* 0x2B041A84: mov ecx, dword ptr [esi + 0x2c] */ 903 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041A87: mov byte ptr [ecx + 8], bl */ 904 edx = MEM32(esi + 0x40); /* 0x2B041A8A: mov edx, dword ptr [esi + 0x40] */ 905 MEM8(edx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041A8D: mov byte ptr [edx + 8], bl */ 906 eax = MEM32(esi + 0x44); /* 0x2B041A90: mov eax, dword ptr [esi + 0x44] */ 907 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041A93: mov byte ptr [eax + 8], bl */ 908 ecx = MEM32(esi + 0x48); /* 0x2B041A96: mov ecx, dword ptr [esi + 0x48] */ 909 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041A99: mov byte ptr [ecx + 8], bl */ 910 ecx = MEM32(esi + 0x4C); /* 0x2B041A9C: mov ecx, dword ptr [esi + 0x4c] */ 911 RECOMP_ICALL(MEM32(0x2B0B5870)); /* 0x2B041A9F: call dword ptr [0x2b0b5870] */ 912 RECOMP_FLAGS_IN(); 913 edx = MEM32(esi + 0xAC); /* 0x2B041AA5: mov edx, dword ptr [esi + 0xac] */ 914 MEM8(edx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041AAB: mov byte ptr [edx + 8], bl */ 915 eax = MEM32(esi + 0xB0); /* 0x2B041AAE: mov eax, dword ptr [esi + 0xb0] */ 916 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041AB4: mov byte ptr [eax + 8], bl */ 917 ecx = MEM32(esi + 0xB4); /* 0x2B041AB7: mov ecx, dword ptr [esi + 0xb4] */ 918 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041ABD: mov byte ptr [ecx + 8], bl */ 919 ecx = MEM32(esi + 0x9C); /* 0x2B041AC0: mov ecx, dword ptr [esi + 0x9c] */ 920 RECOMP_ICALL(MEM32(0x2B0B5BA8)); /* 0x2B041AC6: call dword ptr [0x2b0b5ba8] */ 921 RECOMP_FLAGS_IN(); 922 edx = MEM32(esi + 0x7C); /* 0x2B041ACC: mov edx, dword ptr [esi + 0x7c] */ 923 MEM8(edx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041ACF: mov byte ptr [edx + 8], bl */ 924 eax = MEM32(esi + 0x80); /* 0x2B041AD2: mov eax, dword ptr [esi + 0x80] */ 925 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041AD8: mov byte ptr [eax + 8], bl */ 926 ecx = MEM32(esi + 0x84); /* 0x2B041ADB: mov ecx, dword ptr [esi + 0x84] */ 927 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041AE1: mov byte ptr [ecx + 8], bl */ 928 edx = MEM32(esi + 0xB8); /* 0x2B041AE4: mov edx, dword ptr [esi + 0xb8] */ 929 MEM8(edx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041AEA: mov byte ptr [edx + 8], bl */ 930 ecx = MEM32(esi + 0x94); /* 0x2B041AED: mov ecx, dword ptr [esi + 0x94] */ 931 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 932 eax = 0; /* 0x2B041AF3: xor eax, eax */ 933 _cf = 0; 934 _flag_k = FK_TEST; 935 /* cmp ecx, ebx */ /* 0x2B041AF5: cmp ecx, ebx */ 936 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 937 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 938 _flag_k = FK_CMP; 939 if (CMP_LE(_flag_a, _flag_b)) goto L_2B041B0F; /* 0x2B041AF7: jle 0x2b041b0f */ 940 L_2B041AF9: 941 ecx = esi + 0x30; /* 0x2B041AF9: lea ecx, [esi + 0x30] */ 942 L_2B041AFC: 943 edx = MEM32(ecx); /* 0x2B041AFC: mov edx, dword ptr [ecx] */ 944 MEM8(edx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041AFE: mov byte ptr [edx + 8], bl */ 945 edx = MEM32(esi + 0x94); /* 0x2B041B01: mov edx, dword ptr [esi + 0x94] */ 946 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 947 eax = eax + 1; /* 0x2B041B07: inc eax */ 948 _flag_k = FK_INC; 949 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 950 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 951 ecx = ecx + 4; /* 0x2B041B08: add ecx, 4 */ 952 _flag_k = FK_ADD; 953 /* cmp eax, edx */ /* 0x2B041B0B: cmp eax, edx */ 954 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 955 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 956 _flag_k = FK_CMP; 957 RECOMP_BACKEDGE(); 958 if (CMP_L(_flag_a, _flag_b)) goto L_2B041AFC; /* 0x2B041B0D: jl 0x2b041afc */ 959 L_2B041B0F: 960 esi = MEM32(esi + 0x8C); /* 0x2B041B0F: mov esi, dword ptr [esi + 0x8c] */ 961 eax = MEM32(esi + 0x4); /* 0x2B041B15: mov eax, dword ptr [esi + 4] */ 962 esi = MEM32(esi + 0x8); /* 0x2B041B18: mov esi, dword ptr [esi + 8] */ 963 /* cmp esi, ebx */ /* 0x2B041B1B: cmp esi, ebx */ 964 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 965 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 966 _flag_k = FK_CMP; 967 edx = MEM32(eax); /* 0x2B041B1D: mov edx, dword ptr [eax] */ 968 if (CMP_LE(_flag_a, _flag_b)) goto L_2B041B47; /* 0x2B041B1F: jle 0x2b041b47 */ 969 L_2B041B21: 970 eax = MEM32(edx + 0x8); /* 0x2B041B21: mov eax, dword ptr [edx + 8] */ 971 ecx = MEM32(eax + 0x20); /* 0x2B041B24: mov ecx, dword ptr [eax + 0x20] */ 972 /* cmp ecx, ebx */ /* 0x2B041B27: cmp ecx, ebx */ 973 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 974 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 975 _flag_k = FK_CMP; 976 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B041B2E; /* 0x2B041B29: je 0x2b041b2e */ 977 L_2B041B2B: 978 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041B2B: mov byte ptr [ecx + 8], bl */ 979 L_2B041B2E: 980 ecx = MEM32(eax + 0x24); /* 0x2B041B2E: mov ecx, dword ptr [eax + 0x24] */ 981 /* cmp ecx, ebx */ /* 0x2B041B31: cmp ecx, ebx */ 982 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 983 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 984 _flag_k = FK_CMP; 985 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B041B38; /* 0x2B041B33: je 0x2b041b38 */ 986 L_2B041B35: 987 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041B35: mov byte ptr [ecx + 8], bl */ 988 L_2B041B38: 989 eax = MEM32(eax + 0x28); /* 0x2B041B38: mov eax, dword ptr [eax + 0x28] */ 990 /* cmp eax, ebx */ /* 0x2B041B3B: cmp eax, ebx */ 991 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 992 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 993 _flag_k = FK_CMP; 994 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B041B42; /* 0x2B041B3D: je 0x2b041b42 */ 995 L_2B041B3F: 996 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041B3F: mov byte ptr [eax + 8], bl */ 997 L_2B041B42: 998 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 999 esi = esi - 1; /* 0x2B041B42: dec esi */ 1000 _flag_k = FK_DEC; 1001 edx = MEM32(edx); /* 0x2B041B43: mov edx, dword ptr [edx] */ 1002 RECOMP_BACKEDGE(); 1003 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B041B21; /* 0x2B041B45: jne 0x2b041b21 */ 1004 L_2B041B47: 1005 esi = POP32_VAL(esp); /* 0x2B041B47: pop esi */ 1006 ebx = POP32_VAL(esp); /* 0x2B041B48: pop ebx */ 1007 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B041B49: ret */ 1008 RECOMP_REGS_OUT(); 1009 } 1010 1011 void sub_2B041B50(void) { 1012 int _fpu_cmp = 0; 1013 uint32_t _cf = 0; 1014 int _df = 1; 1015 uint32_t _flag_k = FK_NONE; 1016 uint32_t _flag_a = 0, _flag_b = 0; 1017 uint32_t _itail_tgt = 0; 1018 RECOMP_REGS_LOCALS 1019 RECOMP_ENTER(0x2B041B50u); 1020 1021 L_2B041B50: 1022 PUSH32(esp, ebp); /* 0x2B041B50: push ebp */ 1023 ebp = esp; /* 0x2B041B51: mov ebp, esp */ 1024 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x48u); 1025 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1026 esp = esp - 0x48u; /* 0x2B041B53: sub esp, 0x48 */ 1027 _flag_k = FK_CMP; 1028 PUSH32(esp, ebx); /* 0x2B041B56: push ebx */ 1029 PUSH32(esp, esi); /* 0x2B041B57: push esi */ 1030 esi = ecx; /* 0x2B041B58: mov esi, ecx */ 1031 eax = MEM32(esi + 0x8C); /* 0x2B041B5A: mov eax, dword ptr [esi + 0x8c] */ 1032 ecx = MEM32(eax + 0x4); /* 0x2B041B60: mov ecx, dword ptr [eax + 4] */ 1033 edx = MEM32(ecx); /* 0x2B041B63: mov edx, dword ptr [ecx] */ 1034 PUSH32(esp, edi); /* 0x2B041B65: push edi */ 1035 edi = MEM32(eax + 0x8); /* 0x2B041B66: mov edi, dword ptr [eax + 8] */ 1036 /* cmp edi, 6 */ /* 0x2B041B69: cmp edi, 6 */ 1037 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(6); 1038 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1039 _flag_k = FK_CMP; 1040 MEM32(ebp + (-0xC)) = edx; /* 0x2B041B6C: mov dword ptr [ebp - 0xc], edx */ 1041 MEM32(ebp + (-0x10)) = edi; /* 0x2B041B6F: mov dword ptr [ebp - 0x10], edi */ 1042 SET_LO8(ebx, 1); /* 0x2B041B72: mov bl, 1 */ 1043 if (CMP_LE(_flag_a, _flag_b)) goto L_2B041BCC; /* 0x2B041B74: jle 0x2b041bcc */ 1044 L_2B041B76: 1045 fp_push((double)(int32_t)MEM32(ebp + (-0x10))); /* 0x2B041B76: fild dword ptr [ebp - 0x10] */ 1046 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1047 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1048 esp = esp - 8; /* 0x2B041B79: sub esp, 8 */ 1049 _flag_k = FK_CMP; 1050 MEM8(esi + 0x98) = (uint8_t)(LO8(ebx)); /* 0x2B041B7C: mov byte ptr [esi + 0x98], bl */ 1051 _st[0] -= (double)*(float*)ADDR(0x2B0B69C4); /* 0x2B041B82: fsub dword ptr [0x2b0b69c4] */ 1052 _st[0] *= (double)*(float*)ADDR(0x2B0B69C0); /* 0x2B041B88: fmul dword ptr [0x2b0b69c0] */ 1053 { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x2B041B8E: fstp qword ptr [esp] */ 1054 RECOMP_ICALL(MEM32(0x2B0B524C)); /* 0x2B041B91: call dword ptr [0x2b0b524c] */ 1055 RECOMP_FLAGS_IN(); 1056 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1057 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1058 esp = esp + 8; /* 0x2B041B97: add esp, 8 */ 1059 _flag_k = FK_ADD; 1060 RECOMP_ICALL(0x2B0AB220u); /* 0x2B041B9A: call 0x2b0ab220 */ /* not lifted */ 1061 RECOMP_FLAGS_IN(); 1062 /* cmp MEM32(esi + 0x90), eax */ /* 0x2B041B9F: cmp dword ptr [esi + 0x90], eax */ 1063 _flag_a = (uint32_t)(MEM32(esi + 0x90)); _flag_b = (uint32_t)(eax); 1064 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1065 _flag_k = FK_CMP; 1066 if (CMP_LE(_flag_a, _flag_b)) goto L_2B041BAD; /* 0x2B041BA5: jle 0x2b041bad */ 1067 L_2B041BA7: 1068 MEM32(esi + 0x90) = eax; /* 0x2B041BA7: mov dword ptr [esi + 0x90], eax */ 1069 L_2B041BAD: 1070 edi = MEM32(esi + 0x9C); /* 0x2B041BAD: mov edi, dword ptr [esi + 0x9c] */ 1071 ecx = MEM32(edi); /* 0x2B041BB3: mov ecx, dword ptr [edi] */ 1072 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1073 eax = eax + 1; /* 0x2B041BB5: inc eax */ 1074 _flag_k = FK_INC; 1075 PUSH32(esp, eax); /* 0x2B041BB6: push eax */ 1076 RECOMP_ICALL(MEM32(0x2B0B5B9C)); /* 0x2B041BB7: call dword ptr [0x2b0b5b9c] */ 1077 RECOMP_FLAGS_IN(); 1078 ecx = MEM32(edi); /* 0x2B041BBD: mov ecx, dword ptr [edi] */ 1079 PUSH32(esp, 0); /* 0x2B041BBF: push 0 */ 1080 RECOMP_ICALL(MEM32(0x2B0B5BA0)); /* 0x2B041BC1: call dword ptr [0x2b0b5ba0] */ 1081 RECOMP_FLAGS_IN(); 1082 edi = MEM32(ebp + (-0x10)); /* 0x2B041BC7: mov edi, dword ptr [ebp - 0x10] */ 1083 goto L_2B041C0B; /* 0x2B041BCA: jmp 0x2b041c0b */ 1084 L_2B041BCC: 1085 MEM8(esi + 0x98) = (uint8_t)(0); /* 0x2B041BCC: mov byte ptr [esi + 0x98], 0 */ 1086 MEM32(esi + 0x90) = 0; /* 0x2B041BD3: mov dword ptr [esi + 0x90], 0 */ 1087 ecx = MEM32(esi + 0x9C); /* 0x2B041BDD: mov ecx, dword ptr [esi + 0x9c] */ 1088 RECOMP_ICALL(MEM32(0x2B0B5BA8)); /* 0x2B041BE3: call dword ptr [0x2b0b5ba8] */ 1089 RECOMP_FLAGS_IN(); 1090 ecx = MEM32(esi + 0x9C); /* 0x2B041BE9: mov ecx, dword ptr [esi + 0x9c] */ 1091 PUSH32(esp, 0); /* 0x2B041BEF: push 0 */ 1092 eax = ebp + (-0x18); /* 0x2B041BF1: lea eax, [ebp - 0x18] */ 1093 MEM32(ebp + (-0x18)) = 0; /* 0x2B041BF4: mov dword ptr [ebp - 0x18], 0 */ 1094 MEM32(ebp + (-0x14)) = 0; /* 0x2B041BFB: mov dword ptr [ebp - 0x14], 0 */ 1095 ecx = MEM32(ecx); /* 0x2B041C02: mov ecx, dword ptr [ecx] */ 1096 PUSH32(esp, eax); /* 0x2B041C04: push eax */ 1097 RECOMP_ICALL(MEM32(0x2B0B5BA4)); /* 0x2B041C05: call dword ptr [0x2b0b5ba4] */ 1098 RECOMP_FLAGS_IN(); 1099 L_2B041C0B: 1100 /* test edi, edi */ /* 0x2B041C0B: test edi, edi */ 1101 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1102 _cf = 0; 1103 _flag_k = FK_TEST; 1104 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B041C13; /* 0x2B041C0D: jne 0x2b041c13 */ 1105 L_2B041C0F: 1106 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1107 ecx = 0; /* 0x2B041C0F: xor ecx, ecx */ 1108 _cf = 0; 1109 _flag_k = FK_TEST; 1110 goto L_2B041C1C; /* 0x2B041C11: jmp 0x2b041c1c */ 1111 L_2B041C13: 1112 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1113 ecx = 0; /* 0x2B041C13: xor ecx, ecx */ 1114 _cf = 0; 1115 _flag_k = FK_TEST; 1116 /* cmp edi, 3 */ /* 0x2B041C15: cmp edi, 3 */ 1117 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(3); 1118 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1119 _flag_k = FK_CMP; 1120 SET_LO8(ecx, (CMP_G(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B041C18: setg cl */ 1121 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1122 ecx = ecx + 1; /* 0x2B041C1B: inc ecx */ 1123 _flag_k = FK_INC; 1124 L_2B041C1C: 1125 eax = MEM32(esi + 0x94); /* 0x2B041C1C: mov eax, dword ptr [esi + 0x94] */ 1126 /* cmp eax, ecx */ /* 0x2B041C22: cmp eax, ecx */ 1127 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1128 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1129 _flag_k = FK_CMP; 1130 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B041C38; /* 0x2B041C24: je 0x2b041c38 */ 1131 L_2B041C26: 1132 MEM32(esi + 0x94) = ecx; /* 0x2B041C26: mov dword ptr [esi + 0x94], ecx */ 1133 RECOMP_ICALL(0x2B03B100u); /* 0x2B041C2C: call 0x2b03b100 */ /* not lifted */ 1134 RECOMP_FLAGS_IN(); 1135 edi = POP32_VAL(esp); /* 0x2B041C31: pop edi */ 1136 esi = POP32_VAL(esp); /* 0x2B041C32: pop esi */ 1137 ebx = POP32_VAL(esp); /* 0x2B041C33: pop ebx */ 1138 esp = ebp; /* 0x2B041C34: mov esp, ebp */ 1139 ebp = POP32_VAL(esp); /* 0x2B041C36: pop ebp */ 1140 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B041C37: ret */ 1141 L_2B041C38: 1142 edx = MEM32(esi + 0x30); /* 0x2B041C38: mov edx, dword ptr [esi + 0x30] */ 1143 ecx = MEM32(edx + 0x14); /* 0x2B041C3B: mov ecx, dword ptr [edx + 0x14] */ 1144 edx = MEM32(ecx + 0x8); /* 0x2B041C3E: mov edx, dword ptr [ecx + 8] */ 1145 edx = (uint32_t)((int32_t)edx * (int32_t)eax); /* 0x2B041C41: imul edx, eax */ 1146 eax = MEM32(esi + 0x74); /* 0x2B041C44: mov eax, dword ptr [esi + 0x74] */ 1147 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1148 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1149 eax = eax + edx; /* 0x2B041C47: add eax, edx */ 1150 _flag_k = FK_ADD; 1151 MEM32(esi + 0x20) = eax; /* 0x2B041C49: mov dword ptr [esi + 0x20], eax */ 1152 SET_LO8(ecx, MEM8(esi + 0x1C)); /* 0x2B041C4C: mov cl, byte ptr [esi + 0x1c] */ 1153 /* test LO8(ecx), LO8(ecx) */ /* 0x2B041C4F: test cl, cl */ 1154 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1155 _cf = 0; 1156 _flag_k = FK_NARROW(FK_TEST, 24); 1157 if (TEST_Z(_flag_a, _flag_b)) goto L_2B041C5D; /* 0x2B041C51: je 0x2b041c5d */ 1158 L_2B041C53: 1159 SET_LO8(ecx, MEM8(esi + 0xC)); /* 0x2B041C53: mov cl, byte ptr [esi + 0xc] */ 1160 /* test LO8(ecx), LO8(ecx) */ /* 0x2B041C56: test cl, cl */ 1161 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1162 _cf = 0; 1163 _flag_k = FK_NARROW(FK_TEST, 24); 1164 if (TEST_Z(_flag_a, _flag_b)) goto L_2B041C5D; /* 0x2B041C58: je 0x2b041c5d */ 1165 L_2B041C5A: 1166 MEM32(esi + 0x18) = eax; /* 0x2B041C5A: mov dword ptr [esi + 0x18], eax */ 1167 L_2B041C5D: 1168 ecx = MEM32(esi + 0xA8); /* 0x2B041C5D: mov ecx, dword ptr [esi + 0xa8] */ 1169 MEM8(ecx + 0x8) = (uint8_t)(0); /* 0x2B041C63: mov byte ptr [ecx + 8], 0 */ 1170 eax = MEM32(esi + 0x4); /* 0x2B041C67: mov eax, dword ptr [esi + 4] */ 1171 ecx = MEM32(esi + 0x8); /* 0x2B041C6A: mov ecx, dword ptr [esi + 8] */ 1172 edx = eax + 0xF; /* 0x2B041C6D: lea edx, [eax + 0xf] */ 1173 MEM32(ebp + (-0x28)) = edx; /* 0x2B041C70: mov dword ptr [ebp - 0x28], edx */ 1174 edx = ecx + 0xEC; /* 0x2B041C73: lea edx, [ecx + 0xec] */ 1175 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xE8u); 1176 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1177 ecx = ecx + 0xE8u; /* 0x2B041C79: add ecx, 0xe8 */ 1178 _flag_k = FK_ADD; 1179 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B041C7F: mov dword ptr [ebp - 0x2c], ecx */ 1180 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1181 ecx = 0; /* 0x2B041C82: xor ecx, ecx */ 1182 _cf = 0; 1183 _flag_k = FK_TEST; 1184 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xAu); 1185 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1186 eax = eax + 0xAu; /* 0x2B041C84: add eax, 0xa */ 1187 _flag_k = FK_ADD; 1188 /* cmp edi, ecx */ /* 0x2B041C87: cmp edi, ecx */ 1189 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 1190 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1191 _flag_k = FK_CMP; 1192 MEM32(ebp + (-0x24)) = edx; /* 0x2B041C89: mov dword ptr [ebp - 0x24], edx */ 1193 MEM32(ebp + (-0x30)) = eax; /* 0x2B041C8C: mov dword ptr [ebp - 0x30], eax */ 1194 MEM32(ebp + (-0x8)) = ecx; /* 0x2B041C8F: mov dword ptr [ebp - 8], ecx */ 1195 MEM32(ebp + (-0x4)) = ecx; /* 0x2B041C92: mov dword ptr [ebp - 4], ecx */ 1196 if (CMP_LE(_flag_a, _flag_b)) goto L_2B041E23; /* 0x2B041C95: jle 0x2b041e23 */ 1197 L_2B041C9B: 1198 eax = MEM32(esi + 0x4); /* 0x2B041C9B: mov eax, dword ptr [esi + 4] */ 1199 edx = eax + 0xF; /* 0x2B041C9E: lea edx, [eax + 0xf] */ 1200 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xAu); 1201 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1202 eax = eax + 0xAu; /* 0x2B041CA1: add eax, 0xa */ 1203 _flag_k = FK_ADD; 1204 MEM32(ebp + (-0x28)) = edx; /* 0x2B041CA4: mov dword ptr [ebp - 0x28], edx */ 1205 MEM32(ebp + (-0x30)) = eax; /* 0x2B041CA7: mov dword ptr [ebp - 0x30], eax */ 1206 MEM32(ebp + (-0x14)) = 0; /* 0x2B041CAA: mov dword ptr [ebp - 0x14], 0 */ 1207 L_2B041CB1: 1208 eax = MEM32(ebp + (-0xC)); /* 0x2B041CB1: mov eax, dword ptr [ebp - 0xc] */ 1209 edi = MEM32(eax + 0x8); /* 0x2B041CB4: mov edi, dword ptr [eax + 8] */ 1210 eax = MEM32(esi + 0x90); /* 0x2B041CB7: mov eax, dword ptr [esi + 0x90] */ 1211 /* cmp ecx, eax */ /* 0x2B041CBD: cmp ecx, eax */ 1212 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 1213 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1214 _flag_k = FK_CMP; 1215 if (CMP_L(_flag_a, _flag_b)) goto L_2B041D8A; /* 0x2B041CBF: jl 0x2b041d8a */ 1216 L_2B041CC5: 1217 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 1218 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1219 eax = eax + 2; /* 0x2B041CC5: add eax, 2 */ 1220 _flag_k = FK_ADD; 1221 /* cmp ecx, eax */ /* 0x2B041CC8: cmp ecx, eax */ 1222 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 1223 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1224 _flag_k = FK_CMP; 1225 if (CMP_GE(_flag_a, _flag_b)) goto L_2B041D8A; /* 0x2B041CCA: jge 0x2b041d8a */ 1226 L_2B041CD0: 1227 edx = MEM32(ebp + (-0x8)); /* 0x2B041CD0: mov edx, dword ptr [ebp - 8] */ 1228 /* cmp edx, MEM32(esi + 0xA4) */ /* 0x2B041CD3: cmp edx, dword ptr [esi + 0xa4] */ 1229 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0xA4)); 1230 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1231 _flag_k = FK_CMP; 1232 if (CMP_NE(_flag_a, _flag_b)) goto L_2B041D16; /* 0x2B041CD9: jne 0x2b041d16 */ 1233 L_2B041CDB: 1234 SET_LO8(eax, MEM8(esi + 0xA1)); /* 0x2B041CDB: mov al, byte ptr [esi + 0xa1] */ 1235 /* test LO8(eax), LO8(eax) */ /* 0x2B041CE1: test al, al */ 1236 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1237 _cf = 0; 1238 _flag_k = FK_NARROW(FK_TEST, 24); 1239 if (TEST_Z(_flag_a, _flag_b)) goto L_2B041D16; /* 0x2B041CE3: je 0x2b041d16 */ 1240 L_2B041CE5: 1241 ecx = MEM32(ebp + (-0x2C)); /* 0x2B041CE5: mov ecx, dword ptr [ebp - 0x2c] */ 1242 eax = MEM32(ebp + (-0x30)); /* 0x2B041CE8: mov eax, dword ptr [ebp - 0x30] */ 1243 edx = ebp + (-0x40); /* 0x2B041CEB: lea edx, [ebp - 0x40] */ 1244 MEM32(ebp + (-0x3C)) = ecx; /* 0x2B041CEE: mov dword ptr [ebp - 0x3c], ecx */ 1245 ecx = MEM32(esi + 0xA8); /* 0x2B041CF1: mov ecx, dword ptr [esi + 0xa8] */ 1246 PUSH32(esp, edx); /* 0x2B041CF7: push edx */ 1247 MEM32(ebp + (-0x40)) = eax; /* 0x2B041CF8: mov dword ptr [ebp - 0x40], eax */ 1248 RECOMP_ICALL(MEM32(0x2B0B5940)); /* 0x2B041CFB: call dword ptr [0x2b0b5940] */ 1249 RECOMP_FLAGS_IN(); 1250 eax = MEM32(esi + 0xA8); /* 0x2B041D01: mov eax, dword ptr [esi + 0xa8] */ 1251 MEM8(eax + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B041D07: mov byte ptr [eax + 9], bl */ 1252 ecx = MEM32(esi + 0xA8); /* 0x2B041D0A: mov ecx, dword ptr [esi + 0xa8] */ 1253 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041D10: mov byte ptr [ecx + 8], bl */ 1254 ecx = MEM32(ebp + (-0x4)); /* 0x2B041D13: mov ecx, dword ptr [ebp - 4] */ 1255 L_2B041D16: 1256 /* cmp MEM32(edi + 0x8), 2 */ /* 0x2B041D16: cmp dword ptr [edi + 8], 2 */ 1257 _flag_a = (uint32_t)(MEM32(edi + 0x8)); _flag_b = (uint32_t)(2); 1258 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1259 _flag_k = FK_CMP; 1260 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B041DA3; /* 0x2B041D1A: je 0x2b041da3 */ 1261 L_2B041D20: 1262 eax = MEM32(edi + 0x20); /* 0x2B041D20: mov eax, dword ptr [edi + 0x20] */ 1263 /* test eax, eax */ /* 0x2B041D23: test eax, eax */ 1264 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1265 _cf = 0; 1266 _flag_k = FK_TEST; 1267 if (TEST_Z(_flag_a, _flag_b)) goto L_2B041DA3; /* 0x2B041D25: je 0x2b041da3 */ 1268 L_2B041D27: 1269 SET_LO8(ecx, MEM8(edi + 0x1C)); /* 0x2B041D27: mov cl, byte ptr [edi + 0x1c] */ 1270 /* test LO8(ecx), LO8(ecx) */ /* 0x2B041D2A: test cl, cl */ 1271 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1272 _cf = 0; 1273 _flag_k = FK_NARROW(FK_TEST, 24); 1274 if (TEST_Z(_flag_a, _flag_b)) goto L_2B041D37; /* 0x2B041D2C: je 0x2b041d37 */ 1275 L_2B041D2E: 1276 MEM8(eax + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B041D2E: mov byte ptr [eax + 9], bl */ 1277 edx = MEM32(edi + 0x24); /* 0x2B041D31: mov edx, dword ptr [edi + 0x24] */ 1278 MEM8(edx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B041D34: mov byte ptr [edx + 9], bl */ 1279 L_2B041D37: 1280 eax = MEM32(edi + 0x20); /* 0x2B041D37: mov eax, dword ptr [edi + 0x20] */ 1281 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041D3A: mov byte ptr [eax + 8], bl */ 1282 ecx = MEM32(edi + 0x24); /* 0x2B041D3D: mov ecx, dword ptr [edi + 0x24] */ 1283 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041D40: mov byte ptr [ecx + 8], bl */ 1284 edx = MEM32(edi + 0x28); /* 0x2B041D43: mov edx, dword ptr [edi + 0x28] */ 1285 eax = ebp + (-0x28); /* 0x2B041D46: lea eax, [ebp - 0x28] */ 1286 MEM8(edx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B041D49: mov byte ptr [edx + 8], bl */ 1287 ecx = MEM32(edi + 0x20); /* 0x2B041D4C: mov ecx, dword ptr [edi + 0x20] */ 1288 PUSH32(esp, eax); /* 0x2B041D4F: push eax */ 1289 RECOMP_ICALL(MEM32(0x2B0B5940)); /* 0x2B041D50: call dword ptr [0x2b0b5940] */ 1290 RECOMP_FLAGS_IN(); 1291 eax = MEM32(ebp + (-0x28)); /* 0x2B041D56: mov eax, dword ptr [ebp - 0x28] */ 1292 ecx = MEM32(ebp + (-0x24)); /* 0x2B041D59: mov ecx, dword ptr [ebp - 0x24] */ 1293 MEM32(ebp + (-0x38)) = eax; /* 0x2B041D5C: mov dword ptr [ebp - 0x38], eax */ 1294 MEM32(ebp + (-0x34)) = ecx; /* 0x2B041D5F: mov dword ptr [ebp - 0x34], ecx */ 1295 edx = MEM32(edi + 0x18); /* 0x2B041D62: mov edx, dword ptr [edi + 0x18] */ 1296 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 1297 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1298 edx = edx + eax; /* 0x2B041D65: add edx, eax */ 1299 _flag_k = FK_ADD; 1300 eax = ebp + (-0x38); /* 0x2B041D67: lea eax, [ebp - 0x38] */ 1301 MEM32(ebp + (-0x38)) = edx; /* 0x2B041D6A: mov dword ptr [ebp - 0x38], edx */ 1302 ecx = MEM32(edi + 0x24); /* 0x2B041D6D: mov ecx, dword ptr [edi + 0x24] */ 1303 PUSH32(esp, eax); /* 0x2B041D70: push eax */ 1304 RECOMP_ICALL(MEM32(0x2B0B5940)); /* 0x2B041D71: call dword ptr [0x2b0b5940] */ 1305 RECOMP_FLAGS_IN(); 1306 edi = MEM32(edi + 0x28); /* 0x2B041D77: mov edi, dword ptr [edi + 0x28] */ 1307 edx = MEM32(edi); /* 0x2B041D7A: mov edx, dword ptr [edi] */ 1308 eax = ebp + (-0x30); /* 0x2B041D7C: lea eax, [ebp - 0x30] */ 1309 PUSH32(esp, eax); /* 0x2B041D7F: push eax */ 1310 ecx = edi; /* 0x2B041D80: mov ecx, edi */ 1311 RECOMP_ICALL(MEM32(edx + 0x14)); /* 0x2B041D82: call dword ptr [edx + 0x14] */ 1312 RECOMP_FLAGS_IN(); 1313 ecx = MEM32(ebp + (-0x4)); /* 0x2B041D85: mov ecx, dword ptr [ebp - 4] */ 1314 goto L_2B041DA3; /* 0x2B041D88: jmp 0x2b041da3 */ 1315 L_2B041D8A: 1316 eax = MEM32(edi + 0x20); /* 0x2B041D8A: mov eax, dword ptr [edi + 0x20] */ 1317 /* test eax, eax */ /* 0x2B041D8D: test eax, eax */ 1318 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1319 _cf = 0; 1320 _flag_k = FK_TEST; 1321 if (TEST_Z(_flag_a, _flag_b)) goto L_2B041DA3; /* 0x2B041D8F: je 0x2b041da3 */ 1322 L_2B041D91: 1323 MEM8(eax + 0x8) = (uint8_t)(0); /* 0x2B041D91: mov byte ptr [eax + 8], 0 */ 1324 edx = MEM32(edi + 0x24); /* 0x2B041D95: mov edx, dword ptr [edi + 0x24] */ 1325 MEM8(edx + 0x8) = (uint8_t)(0); /* 0x2B041D98: mov byte ptr [edx + 8], 0 */ 1326 eax = MEM32(edi + 0x28); /* 0x2B041D9C: mov eax, dword ptr [edi + 0x28] */ 1327 MEM8(eax + 0x8) = (uint8_t)(0); /* 0x2B041D9F: mov byte ptr [eax + 8], 0 */ 1328 L_2B041DA3: 1329 eax = MEM32(ebp + (-0x8)); /* 0x2B041DA3: mov eax, dword ptr [ebp - 8] */ 1330 edx = MEM32(ebp + (-0xC)); /* 0x2B041DA6: mov edx, dword ptr [ebp - 0xc] */ 1331 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1332 eax = eax + 1; /* 0x2B041DA9: inc eax */ 1333 _flag_k = FK_INC; 1334 MEM32(ebp + (-0x8)) = eax; /* 0x2B041DAA: mov dword ptr [ebp - 8], eax */ 1335 eax = MEM32(edx); /* 0x2B041DAD: mov eax, dword ptr [edx] */ 1336 edx = MEM32(esi + 0x8C); /* 0x2B041DAF: mov edx, dword ptr [esi + 0x8c] */ 1337 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B041DB5: cmp eax, dword ptr [edx + 4] */ 1338 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 1339 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1340 _flag_k = FK_CMP; 1341 MEM32(ebp + (-0xC)) = eax; /* 0x2B041DB8: mov dword ptr [ebp - 0xc], eax */ 1342 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B041DE4; /* 0x2B041DBB: je 0x2b041de4 */ 1343 L_2B041DBD: 1344 edi = MEM32(ebp + (-0x28)); /* 0x2B041DBD: mov edi, dword ptr [ebp - 0x28] */ 1345 edx = MEM32(ebp + (-0x30)); /* 0x2B041DC0: mov edx, dword ptr [ebp - 0x30] */ 1346 eax = 0x38u; /* 0x2B041DC3: mov eax, 0x38 */ 1347 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1348 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1349 edi = edi + eax; /* 0x2B041DC8: add edi, eax */ 1350 _flag_k = FK_ADD; 1351 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 1352 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1353 edx = edx + eax; /* 0x2B041DCA: add edx, eax */ 1354 _flag_k = FK_ADD; 1355 eax = MEM32(ebp + (-0x14)); /* 0x2B041DCC: mov eax, dword ptr [ebp - 0x14] */ 1356 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1357 eax = eax + 1; /* 0x2B041DCF: inc eax */ 1358 _flag_k = FK_INC; 1359 /* cmp eax, 3 */ /* 0x2B041DD0: cmp eax, 3 */ 1360 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 1361 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1362 _flag_k = FK_CMP; 1363 MEM32(ebp + (-0x28)) = edi; /* 0x2B041DD3: mov dword ptr [ebp - 0x28], edi */ 1364 MEM32(ebp + (-0x30)) = edx; /* 0x2B041DD6: mov dword ptr [ebp - 0x30], edx */ 1365 MEM32(ebp + (-0x14)) = eax; /* 0x2B041DD9: mov dword ptr [ebp - 0x14], eax */ 1366 RECOMP_BACKEDGE(); 1367 if (CMP_L(_flag_a, _flag_b)) goto L_2B041CB1; /* 0x2B041DDC: jl 0x2b041cb1 */ 1368 L_2B041DE2: 1369 goto L_2B041DEE; /* 0x2B041DE2: jmp 0x2b041dee */ 1370 L_2B041DE4: 1371 MEM32(ebp + (-0x4)) = 0x3E7u; /* 0x2B041DE4: mov dword ptr [ebp - 4], 0x3e7 */ 1372 ecx = MEM32(ebp + (-0x4)); /* 0x2B041DEB: mov ecx, dword ptr [ebp - 4] */ 1373 L_2B041DEE: 1374 eax = MEM32(esi + 0x90); /* 0x2B041DEE: mov eax, dword ptr [esi + 0x90] */ 1375 /* cmp ecx, eax */ /* 0x2B041DF4: cmp ecx, eax */ 1376 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 1377 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1378 _flag_k = FK_CMP; 1379 if (CMP_L(_flag_a, _flag_b)) goto L_2B041E14; /* 0x2B041DF6: jl 0x2b041e14 */ 1380 L_2B041DF8: 1381 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 1382 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1383 eax = eax + 2; /* 0x2B041DF8: add eax, 2 */ 1384 _flag_k = FK_ADD; 1385 /* cmp ecx, eax */ /* 0x2B041DFB: cmp ecx, eax */ 1386 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 1387 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1388 _flag_k = FK_CMP; 1389 if (CMP_GE(_flag_a, _flag_b)) goto L_2B041E14; /* 0x2B041DFD: jge 0x2b041e14 */ 1390 L_2B041DFF: 1391 eax = MEM32(esi + 0x30); /* 0x2B041DFF: mov eax, dword ptr [esi + 0x30] */ 1392 edx = MEM32(eax + 0x14); /* 0x2B041E02: mov edx, dword ptr [eax + 0x14] */ 1393 edx = MEM32(edx + 0x8); /* 0x2B041E05: mov edx, dword ptr [edx + 8] */ 1394 _flag_a = (uint32_t)(MEM32(ebp + (-0x24))); _flag_b = (uint32_t)(edx); 1395 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1396 MEM32(ebp + (-0x24)) = MEM32(ebp + (-0x24)) + edx; /* 0x2B041E08: add dword ptr [ebp - 0x24], edx */ 1397 _flag_k = FK_ADD; 1398 eax = MEM32(eax + 0x14); /* 0x2B041E0B: mov eax, dword ptr [eax + 0x14] */ 1399 edx = MEM32(eax + 0x8); /* 0x2B041E0E: mov edx, dword ptr [eax + 8] */ 1400 _flag_a = (uint32_t)(MEM32(ebp + (-0x2C))); _flag_b = (uint32_t)(edx); 1401 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1402 MEM32(ebp + (-0x2C)) = MEM32(ebp + (-0x2C)) + edx; /* 0x2B041E11: add dword ptr [ebp - 0x2c], edx */ 1403 _flag_k = FK_ADD; 1404 L_2B041E14: 1405 eax = MEM32(ebp + (-0x10)); /* 0x2B041E14: mov eax, dword ptr [ebp - 0x10] */ 1406 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1407 ecx = ecx + 1; /* 0x2B041E17: inc ecx */ 1408 _flag_k = FK_INC; 1409 /* cmp ecx, eax */ /* 0x2B041E18: cmp ecx, eax */ 1410 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 1411 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1412 _flag_k = FK_CMP; 1413 MEM32(ebp + (-0x4)) = ecx; /* 0x2B041E1A: mov dword ptr [ebp - 4], ecx */ 1414 RECOMP_BACKEDGE(); 1415 if (CMP_L(_flag_a, _flag_b)) goto L_2B041C9B; /* 0x2B041E1D: jl 0x2b041c9b */ 1416 L_2B041E23: 1417 SET_LO8(eax, MEM8(esi + 0x98)); /* 0x2B041E23: mov al, byte ptr [esi + 0x98] */ 1418 /* test LO8(eax), LO8(eax) */ /* 0x2B041E29: test al, al */ 1419 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1420 _cf = 0; 1421 _flag_k = FK_NARROW(FK_TEST, 24); 1422 if (TEST_Z(_flag_a, _flag_b)) goto L_2B041E74; /* 0x2B041E2B: je 0x2b041e74 */ 1423 L_2B041E2D: 1424 ecx = MEM32(esi + 0x8); /* 0x2B041E2D: mov ecx, dword ptr [esi + 8] */ 1425 eax = MEM32(esi + 0x4); /* 0x2B041E30: mov eax, dword ptr [esi + 4] */ 1426 edi = ecx + 0xE2; /* 0x2B041E33: lea edi, [ecx + 0xe2] */ 1427 PUSH32(esp, edi); /* 0x2B041E39: push edi */ 1428 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xB4u); 1429 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1430 eax = eax + 0xB4u; /* 0x2B041E3A: add eax, 0xb4 */ 1431 _flag_k = FK_ADD; 1432 edx = ecx + 0xED; /* 0x2B041E3F: lea edx, [ecx + 0xed] */ 1433 PUSH32(esp, eax); /* 0x2B041E45: push eax */ 1434 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x12Cu); 1435 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1436 ecx = ecx + 0x12Cu; /* 0x2B041E46: add ecx, 0x12c */ 1437 _flag_k = FK_ADD; 1438 PUSH32(esp, ecx); /* 0x2B041E4C: push ecx */ 1439 ecx = MEM32(esi + 0x9C); /* 0x2B041E4D: mov ecx, dword ptr [esi + 0x9c] */ 1440 PUSH32(esp, eax); /* 0x2B041E53: push eax */ 1441 PUSH32(esp, edx); /* 0x2B041E54: push edx */ 1442 PUSH32(esp, eax); /* 0x2B041E55: push eax */ 1443 RECOMP_ICALL(MEM32(0x2B0B585C)); /* 0x2B041E56: call dword ptr [0x2b0b585c] */ 1444 RECOMP_FLAGS_IN(); 1445 ecx = MEM32(esi + 0x9C); /* 0x2B041E5C: mov ecx, dword ptr [esi + 0x9c] */ 1446 RECOMP_ICALL(MEM32(0x2B0B5BB0)); /* 0x2B041E62: call dword ptr [0x2b0b5bb0] */ 1447 RECOMP_FLAGS_IN(); 1448 ecx = MEM32(esi + 0x9C); /* 0x2B041E68: mov ecx, dword ptr [esi + 0x9c] */ 1449 RECOMP_ICALL(MEM32(0x2B0B5B74)); /* 0x2B041E6E: call dword ptr [0x2b0b5b74] */ 1450 RECOMP_FLAGS_IN(); 1451 L_2B041E74: 1452 ecx = MEM32(esi + 0x8); /* 0x2B041E74: mov ecx, dword ptr [esi + 8] */ 1453 eax = MEM32(esi + 0x4); /* 0x2B041E77: mov eax, dword ptr [esi + 4] */ 1454 edi = MEM32(0x2B0B5940); /* 0x2B041E7A: mov edi, dword ptr [0x2b0b5940] */ 1455 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x14u); 1456 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1457 ecx = ecx + 0x14u; /* 0x2B041E80: add ecx, 0x14 */ 1458 _flag_k = FK_ADD; 1459 edx = ebp + (-0x20); /* 0x2B041E83: lea edx, [ebp - 0x20] */ 1460 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B041E86: mov dword ptr [ebp - 0x1c], ecx */ 1461 ecx = MEM32(esi + 0x28); /* 0x2B041E89: mov ecx, dword ptr [esi + 0x28] */ 1462 PUSH32(esp, edx); /* 0x2B041E8C: push edx */ 1463 MEM32(ebp + (-0x20)) = eax; /* 0x2B041E8D: mov dword ptr [ebp - 0x20], eax */ 1464 RECOMP_ICALL(edi); /* 0x2B041E90: call edi */ 1465 RECOMP_FLAGS_IN(); 1466 eax = MEM32(esi + 0x28); /* 0x2B041E92: mov eax, dword ptr [esi + 0x28] */ 1467 MEM8(eax + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B041E95: mov byte ptr [eax + 9], bl */ 1468 ecx = MEM32(esi + 0x20); /* 0x2B041E98: mov ecx, dword ptr [esi + 0x20] */ 1469 MEM32(ebp + (-0x44)) = ecx; /* 0x2B041E9B: mov dword ptr [ebp - 0x44], ecx */ 1470 ecx = MEM32(esi + 0xB8); /* 0x2B041E9E: mov ecx, dword ptr [esi + 0xb8] */ 1471 eax = ebp + (-0x20); /* 0x2B041EA4: lea eax, [ebp - 0x20] */ 1472 MEM32(ebp + (-0x48)) = 0xC0u; /* 0x2B041EA7: mov dword ptr [ebp - 0x48], 0xc0 */ 1473 edx = MEM32(ecx); /* 0x2B041EAE: mov edx, dword ptr [ecx] */ 1474 PUSH32(esp, eax); /* 0x2B041EB0: push eax */ 1475 RECOMP_ICALL(MEM32(edx + 0x14)); /* 0x2B041EB1: call dword ptr [edx + 0x14] */ 1476 RECOMP_FLAGS_IN(); 1477 ecx = MEM32(esi + 0xB8); /* 0x2B041EB4: mov ecx, dword ptr [esi + 0xb8] */ 1478 edx = MEM32(ecx); /* 0x2B041EBA: mov edx, dword ptr [ecx] */ 1479 eax = ebp + (-0x48); /* 0x2B041EBC: lea eax, [ebp - 0x48] */ 1480 PUSH32(esp, eax); /* 0x2B041EBF: push eax */ 1481 RECOMP_ICALL(MEM32(edx + 0x18)); /* 0x2B041EC0: call dword ptr [edx + 0x18] */ 1482 RECOMP_FLAGS_IN(); 1483 ecx = MEM32(esi + 0x4); /* 0x2B041EC3: mov ecx, dword ptr [esi + 4] */ 1484 edx = MEM32(esi + 0x30); /* 0x2B041EC6: mov edx, dword ptr [esi + 0x30] */ 1485 MEM32(ebp + (-0x20)) = ecx; /* 0x2B041EC9: mov dword ptr [ebp - 0x20], ecx */ 1486 eax = MEM32(edx + 0x14); /* 0x2B041ECC: mov eax, dword ptr [edx + 0x14] */ 1487 ecx = MEM32(eax + 0x8); /* 0x2B041ECF: mov ecx, dword ptr [eax + 8] */ 1488 ecx = (uint32_t)((int32_t)ecx * (int32_t)MEM32(esi + 0x94)); /* 0x2B041ED2: imul ecx, dword ptr [esi + 0x94] */ 1489 edx = MEM32(esi + 0x28); /* 0x2B041ED9: mov edx, dword ptr [esi + 0x28] */ 1490 eax = MEM32(edx + 0x14); /* 0x2B041EDC: mov eax, dword ptr [edx + 0x14] */ 1491 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 1492 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1493 ecx = ecx + MEM32(eax + 0x8); /* 0x2B041EDF: add ecx, dword ptr [eax + 8] */ 1494 _flag_k = FK_ADD; 1495 edx = MEM32(esi + 0x8); /* 0x2B041EE2: mov edx, dword ptr [esi + 8] */ 1496 eax = ecx + edx + 0x14; /* 0x2B041EE5: lea eax, [ecx + edx + 0x14] */ 1497 ecx = ebp + (-0x20); /* 0x2B041EE9: lea ecx, [ebp - 0x20] */ 1498 PUSH32(esp, ecx); /* 0x2B041EEC: push ecx */ 1499 ecx = MEM32(esi + 0x2C); /* 0x2B041EED: mov ecx, dword ptr [esi + 0x2c] */ 1500 MEM32(ebp + (-0x1C)) = eax; /* 0x2B041EF0: mov dword ptr [ebp - 0x1c], eax */ 1501 RECOMP_ICALL(edi); /* 0x2B041EF3: call edi */ 1502 RECOMP_FLAGS_IN(); 1503 edx = MEM32(esi + 0x2C); /* 0x2B041EF5: mov edx, dword ptr [esi + 0x2c] */ 1504 edi = MEM32(0x2B0B5924); /* 0x2B041EF8: mov edi, dword ptr [0x2b0b5924] */ 1505 MEM8(edx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B041EFE: mov byte ptr [edx + 9], bl */ 1506 ecx = MEM32(esi + 0x8); /* 0x2B041F01: mov ecx, dword ptr [esi + 8] */ 1507 eax = MEM32(esi + 0x4); /* 0x2B041F04: mov eax, dword ptr [esi + 4] */ 1508 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x1Eu); 1509 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1510 ecx = ecx + 0x1Eu; /* 0x2B041F07: add ecx, 0x1e */ 1511 _flag_k = FK_ADD; 1512 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 1513 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1514 eax = eax + 4; /* 0x2B041F0A: add eax, 4 */ 1515 _flag_k = FK_ADD; 1516 PUSH32(esp, ecx); /* 0x2B041F0D: push ecx */ 1517 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B041F0E: mov dword ptr [ebp - 0x1c], ecx */ 1518 ecx = MEM32(esi + 0x50); /* 0x2B041F11: mov ecx, dword ptr [esi + 0x50] */ 1519 PUSH32(esp, eax); /* 0x2B041F14: push eax */ 1520 MEM32(ebp + (-0x20)) = eax; /* 0x2B041F15: mov dword ptr [ebp - 0x20], eax */ 1521 RECOMP_ICALL(edi); /* 0x2B041F18: call edi */ 1522 RECOMP_FLAGS_IN(); 1523 eax = MEM32(esi + 0x50); /* 0x2B041F1A: mov eax, dword ptr [esi + 0x50] */ 1524 MEM8(eax + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B041F1D: mov byte ptr [eax + 9], bl */ 1525 ecx = MEM32(esi + 0x8); /* 0x2B041F20: mov ecx, dword ptr [esi + 8] */ 1526 eax = MEM32(esi + 0x4); /* 0x2B041F23: mov eax, dword ptr [esi + 4] */ 1527 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x32u); 1528 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1529 ecx = ecx + 0x32u; /* 0x2B041F26: add ecx, 0x32 */ 1530 _flag_k = FK_ADD; 1531 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Eu); 1532 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1533 eax = eax + 0x2Eu; /* 0x2B041F29: add eax, 0x2e */ 1534 _flag_k = FK_ADD; 1535 PUSH32(esp, ecx); /* 0x2B041F2C: push ecx */ 1536 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B041F2D: mov dword ptr [ebp - 0x1c], ecx */ 1537 ecx = MEM32(esi + 0x54); /* 0x2B041F30: mov ecx, dword ptr [esi + 0x54] */ 1538 PUSH32(esp, eax); /* 0x2B041F33: push eax */ 1539 MEM32(ebp + (-0x20)) = eax; /* 0x2B041F34: mov dword ptr [ebp - 0x20], eax */ 1540 RECOMP_ICALL(edi); /* 0x2B041F37: call edi */ 1541 RECOMP_FLAGS_IN(); 1542 ecx = MEM32(esi + 0x54); /* 0x2B041F39: mov ecx, dword ptr [esi + 0x54] */ 1543 MEM8(ecx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B041F3C: mov byte ptr [ecx + 9], bl */ 1544 ecx = MEM32(esi + 0x8); /* 0x2B041F3F: mov ecx, dword ptr [esi + 8] */ 1545 eax = MEM32(esi + 0x4); /* 0x2B041F42: mov eax, dword ptr [esi + 4] */ 1546 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x32u); 1547 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1548 ecx = ecx + 0x32u; /* 0x2B041F45: add ecx, 0x32 */ 1549 _flag_k = FK_ADD; 1550 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x8Du); 1551 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1552 eax = eax + 0x8Du; /* 0x2B041F48: add eax, 0x8d */ 1553 _flag_k = FK_ADD; 1554 PUSH32(esp, ecx); /* 0x2B041F4D: push ecx */ 1555 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B041F4E: mov dword ptr [ebp - 0x1c], ecx */ 1556 ecx = MEM32(esi + 0x58); /* 0x2B041F51: mov ecx, dword ptr [esi + 0x58] */ 1557 PUSH32(esp, eax); /* 0x2B041F54: push eax */ 1558 MEM32(ebp + (-0x20)) = eax; /* 0x2B041F55: mov dword ptr [ebp - 0x20], eax */ 1559 RECOMP_ICALL(edi); /* 0x2B041F58: call edi */ 1560 RECOMP_FLAGS_IN(); 1561 edx = MEM32(esi + 0x58); /* 0x2B041F5A: mov edx, dword ptr [esi + 0x58] */ 1562 MEM8(edx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B041F5D: mov byte ptr [edx + 9], bl */ 1563 ecx = MEM32(esi + 0x8); /* 0x2B041F60: mov ecx, dword ptr [esi + 8] */ 1564 eax = MEM32(esi + 0x4); /* 0x2B041F63: mov eax, dword ptr [esi + 4] */ 1565 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x41u); 1566 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1567 ecx = ecx + 0x41u; /* 0x2B041F66: add ecx, 0x41 */ 1568 _flag_k = FK_ADD; 1569 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x54u); 1570 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1571 eax = eax + 0x54u; /* 0x2B041F69: add eax, 0x54 */ 1572 _flag_k = FK_ADD; 1573 PUSH32(esp, ecx); /* 0x2B041F6C: push ecx */ 1574 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B041F6D: mov dword ptr [ebp - 0x1c], ecx */ 1575 ecx = MEM32(esi + 0x5C); /* 0x2B041F70: mov ecx, dword ptr [esi + 0x5c] */ 1576 PUSH32(esp, eax); /* 0x2B041F73: push eax */ 1577 MEM32(ebp + (-0x20)) = eax; /* 0x2B041F74: mov dword ptr [ebp - 0x20], eax */ 1578 RECOMP_ICALL(edi); /* 0x2B041F77: call edi */ 1579 RECOMP_FLAGS_IN(); 1580 eax = MEM32(esi + 0x5C); /* 0x2B041F79: mov eax, dword ptr [esi + 0x5c] */ 1581 MEM8(eax + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B041F7C: mov byte ptr [eax + 9], bl */ 1582 ecx = MEM32(esi + 0x8); /* 0x2B041F7F: mov ecx, dword ptr [esi + 8] */ 1583 eax = MEM32(esi + 0x4); /* 0x2B041F82: mov eax, dword ptr [esi + 4] */ 1584 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x4Au); 1585 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1586 ecx = ecx + 0x4Au; /* 0x2B041F85: add ecx, 0x4a */ 1587 _flag_k = FK_ADD; 1588 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x54u); 1589 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1590 eax = eax + 0x54u; /* 0x2B041F88: add eax, 0x54 */ 1591 _flag_k = FK_ADD; 1592 PUSH32(esp, ecx); /* 0x2B041F8B: push ecx */ 1593 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B041F8C: mov dword ptr [ebp - 0x1c], ecx */ 1594 ecx = MEM32(esi + 0x64); /* 0x2B041F8F: mov ecx, dword ptr [esi + 0x64] */ 1595 PUSH32(esp, eax); /* 0x2B041F92: push eax */ 1596 MEM32(ebp + (-0x20)) = eax; /* 0x2B041F93: mov dword ptr [ebp - 0x20], eax */ 1597 RECOMP_ICALL(edi); /* 0x2B041F96: call edi */ 1598 RECOMP_FLAGS_IN(); 1599 ecx = MEM32(esi + 0x64); /* 0x2B041F98: mov ecx, dword ptr [esi + 0x64] */ 1600 MEM8(ecx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B041F9B: mov byte ptr [ecx + 9], bl */ 1601 ecx = MEM32(esi + 0x8); /* 0x2B041F9E: mov ecx, dword ptr [esi + 8] */ 1602 eax = MEM32(esi + 0x4); /* 0x2B041FA1: mov eax, dword ptr [esi + 4] */ 1603 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x54u); 1604 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1605 ecx = ecx + 0x54u; /* 0x2B041FA4: add ecx, 0x54 */ 1606 _flag_k = FK_ADD; 1607 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x54u); 1608 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1609 eax = eax + 0x54u; /* 0x2B041FA7: add eax, 0x54 */ 1610 _flag_k = FK_ADD; 1611 PUSH32(esp, ecx); /* 0x2B041FAA: push ecx */ 1612 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B041FAB: mov dword ptr [ebp - 0x1c], ecx */ 1613 ecx = MEM32(esi + 0x60); /* 0x2B041FAE: mov ecx, dword ptr [esi + 0x60] */ 1614 PUSH32(esp, eax); /* 0x2B041FB1: push eax */ 1615 MEM32(ebp + (-0x20)) = eax; /* 0x2B041FB2: mov dword ptr [ebp - 0x20], eax */ 1616 RECOMP_ICALL(edi); /* 0x2B041FB5: call edi */ 1617 RECOMP_FLAGS_IN(); 1618 edx = MEM32(esi + 0x60); /* 0x2B041FB7: mov edx, dword ptr [esi + 0x60] */ 1619 MEM8(edx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B041FBA: mov byte ptr [edx + 9], bl */ 1620 ecx = MEM32(esi + 0x8); /* 0x2B041FBD: mov ecx, dword ptr [esi + 8] */ 1621 eax = MEM32(esi + 0x4); /* 0x2B041FC0: mov eax, dword ptr [esi + 4] */ 1622 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x50u); 1623 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1624 ecx = ecx + 0x50u; /* 0x2B041FC3: add ecx, 0x50 */ 1625 _flag_k = FK_ADD; 1626 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x7Bu); 1627 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1628 eax = eax + 0x7Bu; /* 0x2B041FC6: add eax, 0x7b */ 1629 _flag_k = FK_ADD; 1630 PUSH32(esp, ecx); /* 0x2B041FC9: push ecx */ 1631 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B041FCA: mov dword ptr [ebp - 0x1c], ecx */ 1632 ecx = MEM32(esi + 0x68); /* 0x2B041FCD: mov ecx, dword ptr [esi + 0x68] */ 1633 PUSH32(esp, eax); /* 0x2B041FD0: push eax */ 1634 MEM32(ebp + (-0x20)) = eax; /* 0x2B041FD1: mov dword ptr [ebp - 0x20], eax */ 1635 RECOMP_ICALL(edi); /* 0x2B041FD4: call edi */ 1636 RECOMP_FLAGS_IN(); 1637 eax = MEM32(esi + 0x68); /* 0x2B041FD6: mov eax, dword ptr [esi + 0x68] */ 1638 MEM8(eax + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B041FD9: mov byte ptr [eax + 9], bl */ 1639 SET_LO8(eax, MEM8(esi + 0xA1)); /* 0x2B041FDC: mov al, byte ptr [esi + 0xa1] */ 1640 /* test LO8(eax), LO8(eax) */ /* 0x2B041FE2: test al, al */ 1641 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1642 _cf = 0; 1643 _flag_k = FK_NARROW(FK_TEST, 24); 1644 eax = MEM32(esi + 0x4); /* 0x2B041FE4: mov eax, dword ptr [esi + 4] */ 1645 if (TEST_Z(_flag_a, _flag_b)) goto L_2B042040; /* 0x2B041FE7: je 0x2b042040 */ 1646 L_2B041FE9: 1647 ecx = MEM32(esi + 0x8); /* 0x2B041FE9: mov ecx, dword ptr [esi + 8] */ 1648 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xC3u); 1649 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1650 ecx = ecx + 0xC3u; /* 0x2B041FEC: add ecx, 0xc3 */ 1651 _flag_k = FK_ADD; 1652 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x33u); 1653 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1654 eax = eax + 0x33u; /* 0x2B041FF2: add eax, 0x33 */ 1655 _flag_k = FK_ADD; 1656 PUSH32(esp, ecx); /* 0x2B041FF5: push ecx */ 1657 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B041FF6: mov dword ptr [ebp - 0x1c], ecx */ 1658 ecx = MEM32(esi + 0x6C); /* 0x2B041FF9: mov ecx, dword ptr [esi + 0x6c] */ 1659 PUSH32(esp, eax); /* 0x2B041FFC: push eax */ 1660 MEM32(ebp + (-0x20)) = eax; /* 0x2B041FFD: mov dword ptr [ebp - 0x20], eax */ 1661 RECOMP_ICALL(edi); /* 0x2B042000: call edi */ 1662 RECOMP_FLAGS_IN(); 1663 ecx = MEM32(esi + 0x6C); /* 0x2B042002: mov ecx, dword ptr [esi + 0x6c] */ 1664 MEM8(ecx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B042005: mov byte ptr [ecx + 9], bl */ 1665 edx = MEM32(esi + 0x4); /* 0x2B042008: mov edx, dword ptr [esi + 4] */ 1666 eax = MEM32(esi + 0x8); /* 0x2B04200B: mov eax, dword ptr [esi + 8] */ 1667 ecx = ebp + (-0x20); /* 0x2B04200E: lea ecx, [ebp - 0x20] */ 1668 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(5); 1669 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1670 edx = edx + 5; /* 0x2B042011: add edx, 5 */ 1671 _flag_k = FK_ADD; 1672 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xC3u); 1673 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1674 eax = eax + 0xC3u; /* 0x2B042014: add eax, 0xc3 */ 1675 _flag_k = FK_ADD; 1676 PUSH32(esp, ecx); /* 0x2B042019: push ecx */ 1677 ecx = MEM32(esi + 0x3C); /* 0x2B04201A: mov ecx, dword ptr [esi + 0x3c] */ 1678 MEM32(ebp + (-0x20)) = edx; /* 0x2B04201D: mov dword ptr [ebp - 0x20], edx */ 1679 MEM32(ebp + (-0x1C)) = eax; /* 0x2B042020: mov dword ptr [ebp - 0x1c], eax */ 1680 RECOMP_ICALL(MEM32(0x2B0B5940)); /* 0x2B042023: call dword ptr [0x2b0b5940] */ 1681 RECOMP_FLAGS_IN(); 1682 edx = MEM32(esi + 0x3C); /* 0x2B042029: mov edx, dword ptr [esi + 0x3c] */ 1683 MEM8(edx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B04202C: mov byte ptr [edx + 9], bl */ 1684 eax = MEM32(esi + 0x3C); /* 0x2B04202F: mov eax, dword ptr [esi + 0x3c] */ 1685 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B042032: mov byte ptr [eax + 8], bl */ 1686 ecx = MEM32(esi + 0x6C); /* 0x2B042035: mov ecx, dword ptr [esi + 0x6c] */ 1687 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B042038: mov byte ptr [ecx + 8], bl */ 1688 edx = MEM32(esi + 0x70); /* 0x2B04203B: mov edx, dword ptr [esi + 0x70] */ 1689 goto L_2B042068; /* 0x2B04203E: jmp 0x2b042068 */ 1690 L_2B042040: 1691 ecx = MEM32(esi + 0x8); /* 0x2B042040: mov ecx, dword ptr [esi + 8] */ 1692 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCAu); 1693 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1694 ecx = ecx + 0xCAu; /* 0x2B042043: add ecx, 0xca */ 1695 _flag_k = FK_ADD; 1696 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xAu); 1697 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1698 eax = eax + 0xAu; /* 0x2B042049: add eax, 0xa */ 1699 _flag_k = FK_ADD; 1700 PUSH32(esp, ecx); /* 0x2B04204C: push ecx */ 1701 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B04204D: mov dword ptr [ebp - 0x1c], ecx */ 1702 ecx = MEM32(esi + 0x70); /* 0x2B042050: mov ecx, dword ptr [esi + 0x70] */ 1703 PUSH32(esp, eax); /* 0x2B042053: push eax */ 1704 MEM32(ebp + (-0x20)) = eax; /* 0x2B042054: mov dword ptr [ebp - 0x20], eax */ 1705 RECOMP_ICALL(edi); /* 0x2B042057: call edi */ 1706 RECOMP_FLAGS_IN(); 1707 eax = MEM32(esi + 0x70); /* 0x2B042059: mov eax, dword ptr [esi + 0x70] */ 1708 MEM8(eax + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B04205C: mov byte ptr [eax + 9], bl */ 1709 ecx = MEM32(esi + 0x70); /* 0x2B04205F: mov ecx, dword ptr [esi + 0x70] */ 1710 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B042062: mov byte ptr [ecx + 8], bl */ 1711 edx = MEM32(esi + 0x6C); /* 0x2B042065: mov edx, dword ptr [esi + 0x6c] */ 1712 L_2B042068: 1713 MEM8(edx + 0x8) = (uint8_t)(0); /* 0x2B042068: mov byte ptr [edx + 8], 0 */ 1714 ecx = MEM32(esi + 0x30); /* 0x2B04206C: mov ecx, dword ptr [esi + 0x30] */ 1715 eax = esi + 0x30; /* 0x2B04206F: lea eax, [esi + 0x30] */ 1716 MEM8(ecx + 0x8) = (uint8_t)(0); /* 0x2B042072: mov byte ptr [ecx + 8], 0 */ 1717 edx = MEM32(esi + 0x34); /* 0x2B042076: mov edx, dword ptr [esi + 0x34] */ 1718 MEM8(edx + 0x8) = (uint8_t)(0); /* 0x2B042079: mov byte ptr [edx + 8], 0 */ 1719 ecx = MEM32(esi + 0x4); /* 0x2B04207D: mov ecx, dword ptr [esi + 4] */ 1720 MEM32(ebp + (-0x20)) = ecx; /* 0x2B042080: mov dword ptr [ebp - 0x20], ecx */ 1721 ecx = MEM32(esi + 0x94); /* 0x2B042083: mov ecx, dword ptr [esi + 0x94] */ 1722 /* test ecx, ecx */ /* 0x2B042089: test ecx, ecx */ 1723 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1724 _cf = 0; 1725 _flag_k = FK_TEST; 1726 MEM32(ebp + (-0x10)) = 0; /* 0x2B04208B: mov dword ptr [ebp - 0x10], 0 */ 1727 if (TEST_LE(_flag_a, _flag_b)) goto L_2B0420E8; /* 0x2B042092: jle 0x2b0420e8 */ 1728 L_2B042094: 1729 MEM32(ebp + (-0xC)) = eax; /* 0x2B042094: mov dword ptr [ebp - 0xc], eax */ 1730 L_2B042097: 1731 edx = MEM32(esi + 0x30); /* 0x2B042097: mov edx, dword ptr [esi + 0x30] */ 1732 eax = MEM32(edx + 0x14); /* 0x2B04209A: mov eax, dword ptr [edx + 0x14] */ 1733 ecx = MEM32(eax + 0x8); /* 0x2B04209D: mov ecx, dword ptr [eax + 8] */ 1734 ecx = (uint32_t)((int32_t)ecx * (int32_t)MEM32(ebp + (-0x10))); /* 0x2B0420A0: imul ecx, dword ptr [ebp - 0x10] */ 1735 edx = MEM32(esi + 0x28); /* 0x2B0420A4: mov edx, dword ptr [esi + 0x28] */ 1736 eax = MEM32(edx + 0x14); /* 0x2B0420A7: mov eax, dword ptr [edx + 0x14] */ 1737 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 1738 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1739 ecx = ecx + MEM32(eax + 0x8); /* 0x2B0420AA: add ecx, dword ptr [eax + 8] */ 1740 _flag_k = FK_ADD; 1741 edx = MEM32(esi + 0x8); /* 0x2B0420AD: mov edx, dword ptr [esi + 8] */ 1742 eax = ecx + edx + 0x14; /* 0x2B0420B0: lea eax, [ecx + edx + 0x14] */ 1743 edx = MEM32(ebp + (-0xC)); /* 0x2B0420B4: mov edx, dword ptr [ebp - 0xc] */ 1744 ecx = ebp + (-0x20); /* 0x2B0420B7: lea ecx, [ebp - 0x20] */ 1745 PUSH32(esp, ecx); /* 0x2B0420BA: push ecx */ 1746 ecx = MEM32(edx); /* 0x2B0420BB: mov ecx, dword ptr [edx] */ 1747 MEM32(ebp + (-0x1C)) = eax; /* 0x2B0420BD: mov dword ptr [ebp - 0x1c], eax */ 1748 RECOMP_ICALL(MEM32(0x2B0B5940)); /* 0x2B0420C0: call dword ptr [0x2b0b5940] */ 1749 RECOMP_FLAGS_IN(); 1750 eax = MEM32(ebp + (-0xC)); /* 0x2B0420C6: mov eax, dword ptr [ebp - 0xc] */ 1751 ecx = MEM32(eax); /* 0x2B0420C9: mov ecx, dword ptr [eax] */ 1752 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B0420CB: mov byte ptr [ecx + 8], bl */ 1753 edx = MEM32(eax); /* 0x2B0420CE: mov edx, dword ptr [eax] */ 1754 ecx = MEM32(ebp + (-0x10)); /* 0x2B0420D0: mov ecx, dword ptr [ebp - 0x10] */ 1755 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 1756 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1757 eax = eax + 4; /* 0x2B0420D3: add eax, 4 */ 1758 _flag_k = FK_ADD; 1759 MEM8(edx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B0420D6: mov byte ptr [edx + 9], bl */ 1760 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1761 ecx = ecx + 1; /* 0x2B0420D9: inc ecx */ 1762 _flag_k = FK_INC; 1763 MEM32(ebp + (-0xC)) = eax; /* 0x2B0420DA: mov dword ptr [ebp - 0xc], eax */ 1764 /* cmp ecx, MEM32(esi + 0x94) */ /* 0x2B0420DD: cmp ecx, dword ptr [esi + 0x94] */ 1765 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x94)); 1766 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1767 _flag_k = FK_CMP; 1768 MEM32(ebp + (-0x10)) = ecx; /* 0x2B0420E3: mov dword ptr [ebp - 0x10], ecx */ 1769 RECOMP_BACKEDGE(); 1770 if (CMP_L(_flag_a, _flag_b)) goto L_2B042097; /* 0x2B0420E6: jl 0x2b042097 */ 1771 L_2B0420E8: 1772 ecx = MEM32(esi + 0x8); /* 0x2B0420E8: mov ecx, dword ptr [esi + 8] */ 1773 eax = MEM32(esi + 0x4); /* 0x2B0420EB: mov eax, dword ptr [esi + 4] */ 1774 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x61u); 1775 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1776 ecx = ecx + 0x61u; /* 0x2B0420EE: add ecx, 0x61 */ 1777 _flag_k = FK_ADD; 1778 edx = ebp + (-0x20); /* 0x2B0420F1: lea edx, [ebp - 0x20] */ 1779 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x18u); 1780 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1781 eax = eax + 0x18u; /* 0x2B0420F4: add eax, 0x18 */ 1782 _flag_k = FK_ADD; 1783 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B0420F7: mov dword ptr [ebp - 0x1c], ecx */ 1784 ecx = MEM32(esi + 0x40); /* 0x2B0420FA: mov ecx, dword ptr [esi + 0x40] */ 1785 PUSH32(esp, edx); /* 0x2B0420FD: push edx */ 1786 MEM32(ebp + (-0x20)) = eax; /* 0x2B0420FE: mov dword ptr [ebp - 0x20], eax */ 1787 RECOMP_ICALL(MEM32(0x2B0B5940)); /* 0x2B042101: call dword ptr [0x2b0b5940] */ 1788 RECOMP_FLAGS_IN(); 1789 eax = MEM32(esi + 0x40); /* 0x2B042107: mov eax, dword ptr [esi + 0x40] */ 1790 MEM8(eax + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B04210A: mov byte ptr [eax + 9], bl */ 1791 ecx = MEM32(esi + 0xAC); /* 0x2B04210D: mov ecx, dword ptr [esi + 0xac] */ 1792 edx = MEM32(ecx); /* 0x2B042113: mov edx, dword ptr [ecx] */ 1793 eax = ebp + (-0x20); /* 0x2B042115: lea eax, [ebp - 0x20] */ 1794 PUSH32(esp, eax); /* 0x2B042118: push eax */ 1795 RECOMP_ICALL(MEM32(edx + 0x14)); /* 0x2B042119: call dword ptr [edx + 0x14] */ 1796 RECOMP_FLAGS_IN(); 1797 eax = MEM32(ebp + (-0x1C)); /* 0x2B04211C: mov eax, dword ptr [ebp - 0x1c] */ 1798 ecx = MEM32(ebp + (-0x20)); /* 0x2B04211F: mov ecx, dword ptr [ebp - 0x20] */ 1799 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(7); 1800 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1801 eax = eax + 7; /* 0x2B042122: add eax, 7 */ 1802 _flag_k = FK_ADD; 1803 PUSH32(esp, eax); /* 0x2B042125: push eax */ 1804 PUSH32(esp, ecx); /* 0x2B042126: push ecx */ 1805 ecx = MEM32(esi + 0x7C); /* 0x2B042127: mov ecx, dword ptr [esi + 0x7c] */ 1806 MEM32(ebp + (-0x1C)) = eax; /* 0x2B04212A: mov dword ptr [ebp - 0x1c], eax */ 1807 RECOMP_ICALL(edi); /* 0x2B04212D: call edi */ 1808 RECOMP_FLAGS_IN(); 1809 edx = MEM32(esi + 0x4); /* 0x2B04212F: mov edx, dword ptr [esi + 4] */ 1810 eax = MEM32(esi + 0x8); /* 0x2B042132: mov eax, dword ptr [esi + 8] */ 1811 ecx = ebp + (-0x20); /* 0x2B042135: lea ecx, [ebp - 0x20] */ 1812 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x18u); 1813 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1814 edx = edx + 0x18u; /* 0x2B042138: add edx, 0x18 */ 1815 _flag_k = FK_ADD; 1816 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x76u); 1817 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1818 eax = eax + 0x76u; /* 0x2B04213B: add eax, 0x76 */ 1819 _flag_k = FK_ADD; 1820 PUSH32(esp, ecx); /* 0x2B04213E: push ecx */ 1821 ecx = MEM32(esi + 0x44); /* 0x2B04213F: mov ecx, dword ptr [esi + 0x44] */ 1822 MEM32(ebp + (-0x20)) = edx; /* 0x2B042142: mov dword ptr [ebp - 0x20], edx */ 1823 MEM32(ebp + (-0x1C)) = eax; /* 0x2B042145: mov dword ptr [ebp - 0x1c], eax */ 1824 RECOMP_ICALL(MEM32(0x2B0B5940)); /* 0x2B042148: call dword ptr [0x2b0b5940] */ 1825 RECOMP_FLAGS_IN(); 1826 edx = MEM32(esi + 0x44); /* 0x2B04214E: mov edx, dword ptr [esi + 0x44] */ 1827 MEM8(edx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B042151: mov byte ptr [edx + 9], bl */ 1828 ecx = MEM32(esi + 0xB0); /* 0x2B042154: mov ecx, dword ptr [esi + 0xb0] */ 1829 eax = MEM32(ecx); /* 0x2B04215A: mov eax, dword ptr [ecx] */ 1830 edx = ebp + (-0x20); /* 0x2B04215C: lea edx, [ebp - 0x20] */ 1831 PUSH32(esp, edx); /* 0x2B04215F: push edx */ 1832 RECOMP_ICALL(MEM32(eax + 0x14)); /* 0x2B042160: call dword ptr [eax + 0x14] */ 1833 RECOMP_FLAGS_IN(); 1834 eax = MEM32(ebp + (-0x1C)); /* 0x2B042163: mov eax, dword ptr [ebp - 0x1c] */ 1835 ecx = MEM32(esi + 0x80); /* 0x2B042166: mov ecx, dword ptr [esi + 0x80] */ 1836 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(7); 1837 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1838 eax = eax + 7; /* 0x2B04216C: add eax, 7 */ 1839 _flag_k = FK_ADD; 1840 PUSH32(esp, eax); /* 0x2B04216F: push eax */ 1841 MEM32(ebp + (-0x1C)) = eax; /* 0x2B042170: mov dword ptr [ebp - 0x1c], eax */ 1842 eax = MEM32(ebp + (-0x20)); /* 0x2B042173: mov eax, dword ptr [ebp - 0x20] */ 1843 PUSH32(esp, eax); /* 0x2B042176: push eax */ 1844 RECOMP_ICALL(edi); /* 0x2B042177: call edi */ 1845 RECOMP_FLAGS_IN(); 1846 ecx = MEM32(esi + 0x4); /* 0x2B042179: mov ecx, dword ptr [esi + 4] */ 1847 edx = MEM32(esi + 0x8); /* 0x2B04217C: mov edx, dword ptr [esi + 8] */ 1848 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x18u); 1849 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1850 ecx = ecx + 0x18u; /* 0x2B04217F: add ecx, 0x18 */ 1851 _flag_k = FK_ADD; 1852 eax = ebp + (-0x20); /* 0x2B042182: lea eax, [ebp - 0x20] */ 1853 MEM32(ebp + (-0x20)) = ecx; /* 0x2B042185: mov dword ptr [ebp - 0x20], ecx */ 1854 ecx = MEM32(esi + 0x48); /* 0x2B042188: mov ecx, dword ptr [esi + 0x48] */ 1855 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x8Bu); 1856 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1857 edx = edx + 0x8Bu; /* 0x2B04218B: add edx, 0x8b */ 1858 _flag_k = FK_ADD; 1859 PUSH32(esp, eax); /* 0x2B042191: push eax */ 1860 MEM32(ebp + (-0x1C)) = edx; /* 0x2B042192: mov dword ptr [ebp - 0x1c], edx */ 1861 RECOMP_ICALL(MEM32(0x2B0B5940)); /* 0x2B042195: call dword ptr [0x2b0b5940] */ 1862 RECOMP_FLAGS_IN(); 1863 ecx = MEM32(esi + 0x48); /* 0x2B04219B: mov ecx, dword ptr [esi + 0x48] */ 1864 MEM8(ecx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B04219E: mov byte ptr [ecx + 9], bl */ 1865 ecx = MEM32(esi + 0xB4); /* 0x2B0421A1: mov ecx, dword ptr [esi + 0xb4] */ 1866 edx = MEM32(ecx); /* 0x2B0421A7: mov edx, dword ptr [ecx] */ 1867 eax = ebp + (-0x20); /* 0x2B0421A9: lea eax, [ebp - 0x20] */ 1868 PUSH32(esp, eax); /* 0x2B0421AC: push eax */ 1869 RECOMP_ICALL(MEM32(edx + 0x14)); /* 0x2B0421AD: call dword ptr [edx + 0x14] */ 1870 RECOMP_FLAGS_IN(); 1871 eax = MEM32(ebp + (-0x1C)); /* 0x2B0421B0: mov eax, dword ptr [ebp - 0x1c] */ 1872 ecx = MEM32(ebp + (-0x20)); /* 0x2B0421B3: mov ecx, dword ptr [ebp - 0x20] */ 1873 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(7); 1874 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1875 eax = eax + 7; /* 0x2B0421B6: add eax, 7 */ 1876 _flag_k = FK_ADD; 1877 PUSH32(esp, eax); /* 0x2B0421B9: push eax */ 1878 PUSH32(esp, ecx); /* 0x2B0421BA: push ecx */ 1879 ecx = MEM32(esi + 0x84); /* 0x2B0421BB: mov ecx, dword ptr [esi + 0x84] */ 1880 MEM32(ebp + (-0x1C)) = eax; /* 0x2B0421C1: mov dword ptr [ebp - 0x1c], eax */ 1881 RECOMP_ICALL(edi); /* 0x2B0421C4: call edi */ 1882 RECOMP_FLAGS_IN(); 1883 SET_LO8(eax, MEM8(esi + 0x78)); /* 0x2B0421C6: mov al, byte ptr [esi + 0x78] */ 1884 /* test LO8(eax), LO8(eax) */ /* 0x2B0421C9: test al, al */ 1885 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1886 _cf = 0; 1887 _flag_k = FK_NARROW(FK_TEST, 24); 1888 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0421E5; /* 0x2B0421CB: je 0x2b0421e5 */ 1889 L_2B0421CD: 1890 edx = MEM32(esi + 0x7C); /* 0x2B0421CD: mov edx, dword ptr [esi + 0x7c] */ 1891 MEM8(edx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B0421D0: mov byte ptr [edx + 9], bl */ 1892 eax = MEM32(esi + 0x80); /* 0x2B0421D3: mov eax, dword ptr [esi + 0x80] */ 1893 MEM8(eax + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B0421D9: mov byte ptr [eax + 9], bl */ 1894 ecx = MEM32(esi + 0x84); /* 0x2B0421DC: mov ecx, dword ptr [esi + 0x84] */ 1895 MEM8(ecx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B0421E2: mov byte ptr [ecx + 9], bl */ 1896 L_2B0421E5: 1897 eax = MEM32(esi + 0x8); /* 0x2B0421E5: mov eax, dword ptr [esi + 8] */ 1898 edx = MEM32(esi + 0x4); /* 0x2B0421E8: mov edx, dword ptr [esi + 4] */ 1899 ecx = MEM32(esi + 0x4C); /* 0x2B0421EB: mov ecx, dword ptr [esi + 0x4c] */ 1900 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xA0u); 1901 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1902 eax = eax + 0xA0u; /* 0x2B0421EE: add eax, 0xa0 */ 1903 _flag_k = FK_ADD; 1904 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x26u); 1905 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1906 edx = edx + 0x26u; /* 0x2B0421F3: add edx, 0x26 */ 1907 _flag_k = FK_ADD; 1908 MEM32(ebp + (-0x1C)) = eax; /* 0x2B0421F6: mov dword ptr [ebp - 0x1c], eax */ 1909 eax = ebp + (-0x20); /* 0x2B0421F9: lea eax, [ebp - 0x20] */ 1910 MEM32(ebp + (-0x20)) = edx; /* 0x2B0421FC: mov dword ptr [ebp - 0x20], edx */ 1911 edx = MEM32(ecx); /* 0x2B0421FF: mov edx, dword ptr [ecx] */ 1912 PUSH32(esp, eax); /* 0x2B042201: push eax */ 1913 RECOMP_ICALL(MEM32(edx + 0x14)); /* 0x2B042202: call dword ptr [edx + 0x14] */ 1914 RECOMP_FLAGS_IN(); 1915 ecx = MEM32(esi + 0x4C); /* 0x2B042205: mov ecx, dword ptr [esi + 0x4c] */ 1916 RECOMP_ICALL(MEM32(0x2B0B5860)); /* 0x2B042208: call dword ptr [0x2b0b5860] */ 1917 RECOMP_FLAGS_IN(); 1918 ecx = MEM32(esi + 0x4); /* 0x2B04220E: mov ecx, dword ptr [esi + 4] */ 1919 edx = MEM32(esi + 0x8); /* 0x2B042211: mov edx, dword ptr [esi + 8] */ 1920 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(5); 1921 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1922 ecx = ecx + 5; /* 0x2B042214: add ecx, 5 */ 1923 _flag_k = FK_ADD; 1924 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0xC5u); 1925 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1926 edx = edx + 0xC5u; /* 0x2B042217: add edx, 0xc5 */ 1927 _flag_k = FK_ADD; 1928 MEM32(ebp + (-0x20)) = ecx; /* 0x2B04221D: mov dword ptr [ebp - 0x20], ecx */ 1929 ecx = MEM32(esi + 0x88); /* 0x2B042220: mov ecx, dword ptr [esi + 0x88] */ 1930 MEM32(ebp + (-0x1C)) = edx; /* 0x2B042226: mov dword ptr [ebp - 0x1c], edx */ 1931 eax = MEM32(ecx); /* 0x2B042229: mov eax, dword ptr [ecx] */ 1932 edx = ebp + (-0x20); /* 0x2B04222B: lea edx, [ebp - 0x20] */ 1933 PUSH32(esp, edx); /* 0x2B04222E: push edx */ 1934 RECOMP_ICALL(MEM32(eax + 0x14)); /* 0x2B04222F: call dword ptr [eax + 0x14] */ 1935 RECOMP_FLAGS_IN(); 1936 edi = POP32_VAL(esp); /* 0x2B042232: pop edi */ 1937 esi = POP32_VAL(esp); /* 0x2B042233: pop esi */ 1938 ebx = POP32_VAL(esp); /* 0x2B042234: pop ebx */ 1939 esp = ebp; /* 0x2B042235: mov esp, ebp */ 1940 ebp = POP32_VAL(esp); /* 0x2B042237: pop ebp */ 1941 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B042238: ret */ 1942 RECOMP_REGS_OUT(); 1943 } 1944 1945 void sub_2B042240(void) { 1946 int _fpu_cmp = 0; 1947 uint32_t _cf = 0; 1948 int _df = 1; 1949 uint32_t _flag_k = FK_NONE; 1950 uint32_t _flag_a = 0, _flag_b = 0; 1951 uint32_t _itail_tgt = 0; 1952 RECOMP_REGS_LOCALS 1953 RECOMP_ENTER(0x2B042240u); 1954 1955 L_2B042240: 1956 PUSH32(esp, ebp); /* 0x2B042240: push ebp */ 1957 ebp = esp; /* 0x2B042241: mov ebp, esp */ 1958 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1959 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1960 esp = esp - 8; /* 0x2B042243: sub esp, 8 */ 1961 _flag_k = FK_CMP; 1962 PUSH32(esp, esi); /* 0x2B042246: push esi */ 1963 esi = ecx; /* 0x2B042247: mov esi, ecx */ 1964 SET_LO8(eax, MEM8(esi + 0x1C)); /* 0x2B042249: mov al, byte ptr [esi + 0x1c] */ 1965 /* test LO8(eax), LO8(eax) */ /* 0x2B04224C: test al, al */ 1966 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1967 _cf = 0; 1968 _flag_k = FK_NARROW(FK_TEST, 24); 1969 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0422E8; /* 0x2B04224E: je 0x2b0422e8 */ 1970 L_2B042254: 1971 SET_LO8(eax, MEM8(esi + 0xC)); /* 0x2B042254: mov al, byte ptr [esi + 0xc] */ 1972 /* test LO8(eax), LO8(eax) */ /* 0x2B042257: test al, al */ 1973 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1974 _cf = 0; 1975 _flag_k = FK_NARROW(FK_TEST, 24); 1976 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0422E8; /* 0x2B042259: je 0x2b0422e8 */ 1977 L_2B04225F: 1978 ecx = MEM32(esi + 0x8); /* 0x2B04225F: mov ecx, dword ptr [esi + 8] */ 1979 eax = MEM32(esi + 0x4); /* 0x2B042262: mov eax, dword ptr [esi + 4] */ 1980 PUSH32(esp, ebx); /* 0x2B042265: push ebx */ 1981 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xC0u); 1982 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1983 ecx = ecx + 0xC0u; /* 0x2B042266: add ecx, 0xc0 */ 1984 _flag_k = FK_ADD; 1985 PUSH32(esp, edi); /* 0x2B04226C: push edi */ 1986 edi = MEM32(0x2B0B5940); /* 0x2B04226D: mov edi, dword ptr [0x2b0b5940] */ 1987 edx = ebp + (-0x8); /* 0x2B042273: lea edx, [ebp - 8] */ 1988 MEM32(ebp + (-0x4)) = ecx; /* 0x2B042276: mov dword ptr [ebp - 4], ecx */ 1989 ecx = MEM32(esi + 0x38); /* 0x2B042279: mov ecx, dword ptr [esi + 0x38] */ 1990 PUSH32(esp, edx); /* 0x2B04227C: push edx */ 1991 MEM32(ebp + (-0x8)) = eax; /* 0x2B04227D: mov dword ptr [ebp - 8], eax */ 1992 RECOMP_ICALL(edi); /* 0x2B042280: call edi */ 1993 RECOMP_FLAGS_IN(); 1994 eax = MEM32(esi + 0x38); /* 0x2B042282: mov eax, dword ptr [esi + 0x38] */ 1995 SET_LO8(ebx, 1); /* 0x2B042285: mov bl, 1 */ 1996 MEM8(eax + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B042287: mov byte ptr [eax + 9], bl */ 1997 ecx = MEM32(esi + 0x38); /* 0x2B04228A: mov ecx, dword ptr [esi + 0x38] */ 1998 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B04228D: mov byte ptr [ecx + 8], bl */ 1999 ecx = MEM32(esi + 0x8); /* 0x2B042290: mov ecx, dword ptr [esi + 8] */ 2000 eax = MEM32(esi + 0x4); /* 0x2B042293: mov eax, dword ptr [esi + 4] */ 2001 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xC3u); 2002 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2003 ecx = ecx + 0xC3u; /* 0x2B042296: add ecx, 0xc3 */ 2004 _flag_k = FK_ADD; 2005 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x33u); 2006 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2007 eax = eax + 0x33u; /* 0x2B04229C: add eax, 0x33 */ 2008 _flag_k = FK_ADD; 2009 PUSH32(esp, ecx); /* 0x2B04229F: push ecx */ 2010 MEM32(ebp + (-0x4)) = ecx; /* 0x2B0422A0: mov dword ptr [ebp - 4], ecx */ 2011 ecx = MEM32(esi + 0x6C); /* 0x2B0422A3: mov ecx, dword ptr [esi + 0x6c] */ 2012 PUSH32(esp, eax); /* 0x2B0422A6: push eax */ 2013 MEM32(ebp + (-0x8)) = eax; /* 0x2B0422A7: mov dword ptr [ebp - 8], eax */ 2014 RECOMP_ICALL(MEM32(0x2B0B5924)); /* 0x2B0422AA: call dword ptr [0x2b0b5924] */ 2015 RECOMP_FLAGS_IN(); 2016 edx = MEM32(esi + 0x6C); /* 0x2B0422B0: mov edx, dword ptr [esi + 0x6c] */ 2017 MEM8(edx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B0422B3: mov byte ptr [edx + 9], bl */ 2018 eax = MEM32(esi + 0x6C); /* 0x2B0422B6: mov eax, dword ptr [esi + 0x6c] */ 2019 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B0422B9: mov byte ptr [eax + 8], bl */ 2020 ecx = MEM32(esi + 0x4); /* 0x2B0422BC: mov ecx, dword ptr [esi + 4] */ 2021 edx = MEM32(esi + 0x8); /* 0x2B0422BF: mov edx, dword ptr [esi + 8] */ 2022 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(5); 2023 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2024 ecx = ecx + 5; /* 0x2B0422C2: add ecx, 5 */ 2025 _flag_k = FK_ADD; 2026 eax = ebp + (-0x8); /* 0x2B0422C5: lea eax, [ebp - 8] */ 2027 MEM32(ebp + (-0x8)) = ecx; /* 0x2B0422C8: mov dword ptr [ebp - 8], ecx */ 2028 ecx = MEM32(esi + 0x3C); /* 0x2B0422CB: mov ecx, dword ptr [esi + 0x3c] */ 2029 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0xC3u); 2030 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2031 edx = edx + 0xC3u; /* 0x2B0422CE: add edx, 0xc3 */ 2032 _flag_k = FK_ADD; 2033 PUSH32(esp, eax); /* 0x2B0422D4: push eax */ 2034 MEM32(ebp + (-0x4)) = edx; /* 0x2B0422D5: mov dword ptr [ebp - 4], edx */ 2035 RECOMP_ICALL(edi); /* 0x2B0422D8: call edi */ 2036 RECOMP_FLAGS_IN(); 2037 ecx = MEM32(esi + 0x3C); /* 0x2B0422DA: mov ecx, dword ptr [esi + 0x3c] */ 2038 MEM8(ecx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B0422DD: mov byte ptr [ecx + 9], bl */ 2039 edx = MEM32(esi + 0x3C); /* 0x2B0422E0: mov edx, dword ptr [esi + 0x3c] */ 2040 edi = POP32_VAL(esp); /* 0x2B0422E3: pop edi */ 2041 MEM8(edx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B0422E4: mov byte ptr [edx + 8], bl */ 2042 ebx = POP32_VAL(esp); /* 0x2B0422E7: pop ebx */ 2043 L_2B0422E8: 2044 esi = POP32_VAL(esp); /* 0x2B0422E8: pop esi */ 2045 esp = ebp; /* 0x2B0422E9: mov esp, ebp */ 2046 ebp = POP32_VAL(esp); /* 0x2B0422EB: pop ebp */ 2047 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0422EC: ret */ 2048 RECOMP_REGS_OUT(); 2049 } 2050 2051 void sub_2B0422F0(void) { 2052 int _fpu_cmp = 0; 2053 uint32_t _cf = 0; 2054 int _df = 1; 2055 uint32_t _flag_k = FK_NONE; 2056 uint32_t _flag_a = 0, _flag_b = 0; 2057 uint32_t _itail_tgt = 0; 2058 RECOMP_REGS_LOCALS 2059 RECOMP_ENTER(0x2B0422F0u); 2060 2061 L_2B0422F0: 2062 PUSH32(esp, ebx); /* 0x2B0422F0: push ebx */ 2063 PUSH32(esp, esi); /* 0x2B0422F1: push esi */ 2064 PUSH32(esp, edi); /* 0x2B0422F2: push edi */ 2065 PUSH32(esp, 0); /* 0x2B0422F3: push 0 */ 2066 esi = ecx; /* 0x2B0422F5: mov esi, ecx */ 2067 PUSH32(esp, 0xEu); /* 0x2B0422F7: push 0xe */ 2068 RECOMP_ICALL(0x2B0424D0u); /* 0x2B0422F9: call 0x2b0424d0 */ /* not lifted */ 2069 RECOMP_FLAGS_IN(); 2070 PUSH32(esp, 0); /* 0x2B0422FE: push 0 */ 2071 PUSH32(esp, 0x34u); /* 0x2B042300: push 0x34 */ 2072 ecx = esi; /* 0x2B042302: mov ecx, esi */ 2073 RECOMP_ICALL(0x2B0424D0u); /* 0x2B042304: call 0x2b0424d0 */ /* not lifted */ 2074 RECOMP_FLAGS_IN(); 2075 edi = MEM32(0x2B0B5D6C); /* 0x2B042309: mov edi, dword ptr [0x2b0b5d6c] */ 2076 PUSH32(esp, 2); /* 0x2B04230F: push 2 */ 2077 PUSH32(esp, 0x36u); /* 0x2B042311: push 0x36 */ 2078 RECOMP_ICALL(edi); /* 0x2B042313: call edi */ 2079 RECOMP_FLAGS_IN(); 2080 ebx = MEM32(0x2B0B5D70); /* 0x2B042315: mov ebx, dword ptr [0x2b0b5d70] */ 2081 ecx = eax; /* 0x2B04231B: mov ecx, eax */ 2082 RECOMP_ICALL(ebx); /* 0x2B04231D: call ebx */ 2083 RECOMP_FLAGS_IN(); 2084 PUSH32(esp, eax); /* 0x2B04231F: push eax */ 2085 PUSH32(esp, 0x36u); /* 0x2B042320: push 0x36 */ 2086 ecx = esi; /* 0x2B042322: mov ecx, esi */ 2087 RECOMP_ICALL(0x2B0424D0u); /* 0x2B042324: call 0x2b0424d0 */ /* not lifted */ 2088 RECOMP_FLAGS_IN(); 2089 PUSH32(esp, 0); /* 0x2B042329: push 0 */ 2090 PUSH32(esp, 0x1Bu); /* 0x2B04232B: push 0x1b */ 2091 ecx = esi; /* 0x2B04232D: mov ecx, esi */ 2092 RECOMP_ICALL(0x2B0424D0u); /* 0x2B04232F: call 0x2b0424d0 */ /* not lifted */ 2093 RECOMP_FLAGS_IN(); 2094 PUSH32(esp, 0); /* 0x2B042334: push 0 */ 2095 PUSH32(esp, 0xD6u); /* 0x2B042336: push 0xd6 */ 2096 ecx = esi; /* 0x2B04233B: mov ecx, esi */ 2097 RECOMP_ICALL(0x2B0424D0u); /* 0x2B04233D: call 0x2b0424d0 */ /* not lifted */ 2098 RECOMP_FLAGS_IN(); 2099 PUSH32(esp, 2); /* 0x2B042342: push 2 */ 2100 PUSH32(esp, 0x5Au); /* 0x2B042344: push 0x5a */ 2101 RECOMP_ICALL(edi); /* 0x2B042346: call edi */ 2102 RECOMP_FLAGS_IN(); 2103 ecx = eax; /* 0x2B042348: mov ecx, eax */ 2104 RECOMP_ICALL(ebx); /* 0x2B04234A: call ebx */ 2105 RECOMP_FLAGS_IN(); 2106 PUSH32(esp, eax); /* 0x2B04234C: push eax */ 2107 PUSH32(esp, 0x5Au); /* 0x2B04234D: push 0x5a */ 2108 ecx = esi; /* 0x2B04234F: mov ecx, esi */ 2109 RECOMP_ICALL(0x2B0424D0u); /* 0x2B042351: call 0x2b0424d0 */ /* not lifted */ 2110 RECOMP_FLAGS_IN(); 2111 PUSH32(esp, 2); /* 0x2B042356: push 2 */ 2112 PUSH32(esp, 0x5Bu); /* 0x2B042358: push 0x5b */ 2113 RECOMP_ICALL(edi); /* 0x2B04235A: call edi */ 2114 RECOMP_FLAGS_IN(); 2115 ecx = eax; /* 0x2B04235C: mov ecx, eax */ 2116 RECOMP_ICALL(ebx); /* 0x2B04235E: call ebx */ 2117 RECOMP_FLAGS_IN(); 2118 PUSH32(esp, eax); /* 0x2B042360: push eax */ 2119 PUSH32(esp, 0x5Bu); /* 0x2B042361: push 0x5b */ 2120 ecx = esi; /* 0x2B042363: mov ecx, esi */ 2121 RECOMP_ICALL(0x2B0424D0u); /* 0x2B042365: call 0x2b0424d0 */ /* not lifted */ 2122 RECOMP_FLAGS_IN(); 2123 PUSH32(esp, 2); /* 0x2B04236A: push 2 */ 2124 PUSH32(esp, 0x5Cu); /* 0x2B04236C: push 0x5c */ 2125 RECOMP_ICALL(edi); /* 0x2B04236E: call edi */ 2126 RECOMP_FLAGS_IN(); 2127 ecx = eax; /* 0x2B042370: mov ecx, eax */ 2128 RECOMP_ICALL(ebx); /* 0x2B042372: call ebx */ 2129 RECOMP_FLAGS_IN(); 2130 PUSH32(esp, eax); /* 0x2B042374: push eax */ 2131 PUSH32(esp, 0x5Cu); /* 0x2B042375: push 0x5c */ 2132 ecx = esi; /* 0x2B042377: mov ecx, esi */ 2133 RECOMP_ICALL(0x2B0424D0u); /* 0x2B042379: call 0x2b0424d0 */ /* not lifted */ 2134 RECOMP_FLAGS_IN(); 2135 PUSH32(esp, 2); /* 0x2B04237E: push 2 */ 2136 PUSH32(esp, 0x16u); /* 0x2B042380: push 0x16 */ 2137 RECOMP_ICALL(edi); /* 0x2B042382: call edi */ 2138 RECOMP_FLAGS_IN(); 2139 ecx = eax; /* 0x2B042384: mov ecx, eax */ 2140 RECOMP_ICALL(ebx); /* 0x2B042386: call ebx */ 2141 RECOMP_FLAGS_IN(); 2142 PUSH32(esp, eax); /* 0x2B042388: push eax */ 2143 PUSH32(esp, 0x16u); /* 0x2B042389: push 0x16 */ 2144 ecx = esi; /* 0x2B04238B: mov ecx, esi */ 2145 RECOMP_ICALL(0x2B0424D0u); /* 0x2B04238D: call 0x2b0424d0 */ /* not lifted */ 2146 RECOMP_FLAGS_IN(); 2147 PUSH32(esp, 0); /* 0x2B042392: push 0 */ 2148 PUSH32(esp, 0xB4u); /* 0x2B042394: push 0xb4 */ 2149 ecx = esi; /* 0x2B042399: mov ecx, esi */ 2150 RECOMP_ICALL(0x2B0424D0u); /* 0x2B04239B: call 0x2b0424d0 */ /* not lifted */ 2151 RECOMP_FLAGS_IN(); 2152 PUSH32(esp, 0); /* 0x2B0423A0: push 0 */ 2153 PUSH32(esp, 0x4Eu); /* 0x2B0423A2: push 0x4e */ 2154 ecx = esi; /* 0x2B0423A4: mov ecx, esi */ 2155 RECOMP_ICALL(0x2B0424D0u); /* 0x2B0423A6: call 0x2b0424d0 */ /* not lifted */ 2156 RECOMP_FLAGS_IN(); 2157 RECOMP_ICALL(edi); /* 0x2B0423AB: call edi */ 2158 RECOMP_FLAGS_IN(); 2159 ecx = eax; /* 0x2B0423AD: mov ecx, eax */ 2160 RECOMP_ICALL(MEM32(0x2B0B5EC8)); /* 0x2B0423AF: call dword ptr [0x2b0b5ec8] */ 2161 RECOMP_FLAGS_IN(); 2162 _st[0] += (double)*(float*)ADDR(0x2B0B63B8); /* 0x2B0423B5: fadd dword ptr [0x2b0b63b8] */ 2163 RECOMP_ICALL(0x2B0AB220u); /* 0x2B0423BB: call 0x2b0ab220 */ /* not lifted */ 2164 RECOMP_FLAGS_IN(); 2165 ecx = MEM32(esi + 0x4C); /* 0x2B0423C0: mov ecx, dword ptr [esi + 0x4c] */ 2166 MEM32(ecx + 0xA0) = eax; /* 0x2B0423C3: mov dword ptr [ecx + 0xa0], eax */ 2167 PUSH32(esp, 0); /* 0x2B0423C9: push 0 */ 2168 RECOMP_ICALL(MEM32(0x2B0B5BA0)); /* 0x2B0423CB: call dword ptr [0x2b0b5ba0] */ 2169 RECOMP_FLAGS_IN(); 2170 ecx = esi; /* 0x2B0423D1: mov ecx, esi */ 2171 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B0423D3: call 0x2b03a2b0 */ /* not lifted */ 2172 RECOMP_FLAGS_IN(); 2173 edi = POP32_VAL(esp); /* 0x2B0423D8: pop edi */ 2174 esi = POP32_VAL(esp); /* 0x2B0423D9: pop esi */ 2175 ebx = POP32_VAL(esp); /* 0x2B0423DA: pop ebx */ 2176 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0423DB: ret */ 2177 RECOMP_REGS_OUT(); 2178 } 2179 2180 void sub_2B0423E0(void) { 2181 int _fpu_cmp = 0; 2182 uint32_t _cf = 0; 2183 int _df = 1; 2184 uint32_t _flag_k = FK_NONE; 2185 uint32_t _flag_a = 0, _flag_b = 0; 2186 uint32_t _itail_tgt = 0; 2187 RECOMP_REGS_LOCALS 2188 RECOMP_ENTER(0x2B0423E0u); 2189 2190 L_2B0423E0: 2191 PUSH32(esp, edi); /* 0x2B0423E0: push edi */ 2192 edi = ecx; /* 0x2B0423E1: mov edi, ecx */ 2193 eax = MEM32(edi + 0x8C); /* 0x2B0423E3: mov eax, dword ptr [edi + 0x8c] */ 2194 ecx = MEM32(eax + 0x8); /* 0x2B0423E9: mov ecx, dword ptr [eax + 8] */ 2195 /* test ecx, ecx */ /* 0x2B0423EC: test ecx, ecx */ 2196 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2197 _cf = 0; 2198 _flag_k = FK_TEST; 2199 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04245E; /* 0x2B0423EE: je 0x2b04245e */ 2200 L_2B0423F0: 2201 PUSH32(esp, esi); /* 0x2B0423F0: push esi */ 2202 L_2B0423F1: 2203 eax = MEM32(eax + 0x4); /* 0x2B0423F1: mov eax, dword ptr [eax + 4] */ 2204 eax = MEM32(eax); /* 0x2B0423F4: mov eax, dword ptr [eax] */ 2205 esi = MEM32(eax + 0x8); /* 0x2B0423F6: mov esi, dword ptr [eax + 8] */ 2206 ecx = MEM32(esi + 0x20); /* 0x2B0423F9: mov ecx, dword ptr [esi + 0x20] */ 2207 /* test ecx, ecx */ /* 0x2B0423FC: test ecx, ecx */ 2208 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2209 _cf = 0; 2210 _flag_k = FK_TEST; 2211 if (TEST_Z(_flag_a, _flag_b)) goto L_2B042406; /* 0x2B0423FE: je 0x2b042406 */ 2212 L_2B042400: 2213 edx = MEM32(ecx); /* 0x2B042400: mov edx, dword ptr [ecx] */ 2214 PUSH32(esp, 1); /* 0x2B042402: push 1 */ 2215 RECOMP_ICALL(MEM32(edx)); /* 0x2B042404: call dword ptr [edx] */ 2216 RECOMP_FLAGS_IN(); 2217 L_2B042406: 2218 ecx = MEM32(esi + 0x24); /* 0x2B042406: mov ecx, dword ptr [esi + 0x24] */ 2219 /* test ecx, ecx */ /* 0x2B042409: test ecx, ecx */ 2220 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2221 _cf = 0; 2222 _flag_k = FK_TEST; 2223 if (TEST_Z(_flag_a, _flag_b)) goto L_2B042413; /* 0x2B04240B: je 0x2b042413 */ 2224 L_2B04240D: 2225 eax = MEM32(ecx); /* 0x2B04240D: mov eax, dword ptr [ecx] */ 2226 PUSH32(esp, 1); /* 0x2B04240F: push 1 */ 2227 RECOMP_ICALL(MEM32(eax)); /* 0x2B042411: call dword ptr [eax] */ 2228 RECOMP_FLAGS_IN(); 2229 L_2B042413: 2230 ecx = MEM32(esi + 0x28); /* 0x2B042413: mov ecx, dword ptr [esi + 0x28] */ 2231 /* test ecx, ecx */ /* 0x2B042416: test ecx, ecx */ 2232 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2233 _cf = 0; 2234 _flag_k = FK_TEST; 2235 if (TEST_Z(_flag_a, _flag_b)) goto L_2B042420; /* 0x2B042418: je 0x2b042420 */ 2236 L_2B04241A: 2237 edx = MEM32(ecx); /* 0x2B04241A: mov edx, dword ptr [ecx] */ 2238 PUSH32(esp, 1); /* 0x2B04241C: push 1 */ 2239 RECOMP_ICALL(MEM32(edx)); /* 0x2B04241E: call dword ptr [edx] */ 2240 RECOMP_FLAGS_IN(); 2241 L_2B042420: 2242 PUSH32(esp, esi); /* 0x2B042420: push esi */ 2243 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B042421: call 0x2b0ab1ba */ /* not lifted */ 2244 RECOMP_FLAGS_IN(); 2245 esi = MEM32(edi + 0x8C); /* 0x2B042426: mov esi, dword ptr [edi + 0x8c] */ 2246 eax = MEM32(esi + 0x4); /* 0x2B04242C: mov eax, dword ptr [esi + 4] */ 2247 eax = MEM32(eax); /* 0x2B04242F: mov eax, dword ptr [eax] */ 2248 ecx = MEM32(eax + 0x4); /* 0x2B042431: mov ecx, dword ptr [eax + 4] */ 2249 edx = MEM32(eax); /* 0x2B042434: mov edx, dword ptr [eax] */ 2250 MEM32(ecx) = edx; /* 0x2B042436: mov dword ptr [ecx], edx */ 2251 ecx = MEM32(eax); /* 0x2B042438: mov ecx, dword ptr [eax] */ 2252 edx = MEM32(eax + 0x4); /* 0x2B04243A: mov edx, dword ptr [eax + 4] */ 2253 PUSH32(esp, eax); /* 0x2B04243D: push eax */ 2254 MEM32(ecx + 0x4) = edx; /* 0x2B04243E: mov dword ptr [ecx + 4], edx */ 2255 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B042441: call 0x2b0ab1ba */ /* not lifted */ 2256 RECOMP_FLAGS_IN(); 2257 edx = MEM32(esi + 0x8); /* 0x2B042446: mov edx, dword ptr [esi + 8] */ 2258 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2259 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2260 esp = esp + 8; /* 0x2B042449: add esp, 8 */ 2261 _flag_k = FK_ADD; 2262 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 2263 edx = edx - 1; /* 0x2B04244C: dec edx */ 2264 _flag_k = FK_DEC; 2265 MEM32(esi + 0x8) = edx; /* 0x2B04244D: mov dword ptr [esi + 8], edx */ 2266 eax = MEM32(edi + 0x8C); /* 0x2B042450: mov eax, dword ptr [edi + 0x8c] */ 2267 ecx = MEM32(eax + 0x8); /* 0x2B042456: mov ecx, dword ptr [eax + 8] */ 2268 /* test ecx, ecx */ /* 0x2B042459: test ecx, ecx */ 2269 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2270 _cf = 0; 2271 _flag_k = FK_TEST; 2272 RECOMP_BACKEDGE(); 2273 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0423F1; /* 0x2B04245B: jne 0x2b0423f1 */ 2274 L_2B04245D: 2275 esi = POP32_VAL(esp); /* 0x2B04245D: pop esi */ 2276 L_2B04245E: 2277 edi = POP32_VAL(esp); /* 0x2B04245E: pop edi */ 2278 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B04245F: ret */ 2279 RECOMP_REGS_OUT(); 2280 } 2281 2282 void sub_2B042460(void) { 2283 int _fpu_cmp = 0; 2284 uint32_t _cf = 0; 2285 int _df = 1; 2286 uint32_t _flag_k = FK_NONE; 2287 uint32_t _flag_a = 0, _flag_b = 0; 2288 uint32_t _itail_tgt = 0; 2289 RECOMP_REGS_LOCALS 2290 RECOMP_ENTER(0x2B042460u); 2291 2292 L_2B042460: 2293 PUSH32(esp, ebp); /* 0x2B042460: push ebp */ 2294 ebp = esp; /* 0x2B042461: mov ebp, esp */ 2295 eax = MEM32(ebp + 0xC); /* 0x2B042463: mov eax, dword ptr [ebp + 0xc] */ 2296 /* cmp eax, 0x5Au */ /* 0x2B042466: cmp eax, 0x5a */ 2297 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x5Au); 2298 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2299 _flag_k = FK_CMP; 2300 if (CMP_L(_flag_a, _flag_b)) goto L_2B04248B; /* 0x2B042469: jl 0x2b04248b */ 2301 L_2B04246B: 2302 /* cmp eax, 0x5Cu */ /* 0x2B04246B: cmp eax, 0x5c */ 2303 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x5Cu); 2304 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2305 _flag_k = FK_CMP; 2306 if (CMP_G(_flag_a, _flag_b)) goto L_2B04248B; /* 0x2B04246E: jg 0x2b04248b */ 2307 L_2B042470: 2308 SET_LO8(edx, MEM8(ecx + 0xA0)); /* 0x2B042470: mov dl, byte ptr [ecx + 0xa0] */ 2309 /* test LO8(edx), LO8(edx) */ /* 0x2B042476: test dl, dl */ 2310 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 2311 _cf = 0; 2312 _flag_k = FK_NARROW(FK_TEST, 24); 2313 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04248B; /* 0x2B042478: je 0x2b04248b */ 2314 L_2B04247A: 2315 eax = MEM32(ebp + 0x8); /* 0x2B04247A: mov eax, dword ptr [ebp + 8] */ 2316 ecx = MEM32(eax + 0x34); /* 0x2B04247D: mov ecx, dword ptr [eax + 0x34] */ 2317 MEM32(ecx + 0x30) = 0x00D73535u; /* 0x2B042480: mov dword ptr [ecx + 0x30], 0xd73535 */ 2318 ebp = POP32_VAL(esp); /* 0x2B042487: pop ebp */ 2319 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B042488: ret 8 */ 2320 L_2B04248B: 2321 PUSH32(esp, eax); /* 0x2B04248B: push eax */ 2322 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B04248C: call dword ptr [0x2b0b5d6c] */ 2323 RECOMP_FLAGS_IN(); 2324 ecx = eax; /* 0x2B042492: mov ecx, eax */ 2325 RECOMP_ICALL(MEM32(0x2B0B5EC4)); /* 0x2B042494: call dword ptr [0x2b0b5ec4] */ 2326 RECOMP_FLAGS_IN(); 2327 /* test eax, eax */ /* 0x2B04249A: test eax, eax */ 2328 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2329 _cf = 0; 2330 _flag_k = FK_TEST; 2331 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0424AF; /* 0x2B04249C: jne 0x2b0424af */ 2332 L_2B04249E: 2333 edx = MEM32(ebp + 0x8); /* 0x2B04249E: mov edx, dword ptr [ebp + 8] */ 2334 eax = MEM32(edx + 0x34); /* 0x2B0424A1: mov eax, dword ptr [edx + 0x34] */ 2335 MEM32(eax + 0x30) = 0x00D7F0FFu; /* 0x2B0424A4: mov dword ptr [eax + 0x30], 0xd7f0ff */ 2336 ebp = POP32_VAL(esp); /* 0x2B0424AB: pop ebp */ 2337 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0424AC: ret 8 */ 2338 L_2B0424AF: 2339 ecx = MEM32(ebp + 0x8); /* 0x2B0424AF: mov ecx, dword ptr [ebp + 8] */ 2340 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_2B0424BE; /* 0x2B0424B2: jle 0x2b0424be */ 2341 L_2B0424B4: 2342 edx = MEM32(ecx + 0x34); /* 0x2B0424B4: mov edx, dword ptr [ecx + 0x34] */ 2343 MEM32(edx + 0x30) = 0xD200u; /* 0x2B0424B7: mov dword ptr [edx + 0x30], 0xd200 */ 2344 L_2B0424BE: 2345 /* test eax, eax */ /* 0x2B0424BE: test eax, eax */ 2346 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2347 _cf = 0; 2348 _flag_k = FK_TEST; 2349 if (TEST_NS(_flag_a, _flag_b)) goto L_2B0424CC; /* 0x2B0424C0: jge 0x2b0424cc */ 2350 L_2B0424C2: 2351 eax = MEM32(ecx + 0x34); /* 0x2B0424C2: mov eax, dword ptr [ecx + 0x34] */ 2352 MEM32(eax + 0x30) = 0x00D73535u; /* 0x2B0424C5: mov dword ptr [eax + 0x30], 0xd73535 */ 2353 L_2B0424CC: 2354 ebp = POP32_VAL(esp); /* 0x2B0424CC: pop ebp */ 2355 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0424CD: ret 8 */ 2356 RECOMP_REGS_OUT(); 2357 } 2358 2359 void sub_2B0424D0(void) { 2360 int _fpu_cmp = 0; 2361 uint32_t _cf = 0; 2362 int _df = 1; 2363 uint32_t _flag_k = FK_NONE; 2364 uint32_t _flag_a = 0, _flag_b = 0; 2365 uint32_t _itail_tgt = 0; 2366 RECOMP_REGS_LOCALS 2367 RECOMP_ENTER(0x2B0424D0u); 2368 2369 L_2B0424D0: 2370 PUSH32(esp, ebp); /* 0x2B0424D0: push ebp */ 2371 L_2B0424D1: 2372 ebp = esp; /* 0x2B0424D1: mov ebp, esp */ 2373 L_2B0424D3: 2374 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0424D3: push -1 */ 2375 L_2B0424D5: 2376 PUSH32(esp, 0x2B0AEDEEu); /* 0x2B0424D5: push 0x2b0aedee */ 2377 L_2B0424DA: 2378 eax = MEM32(FS_BASE + (0)); /* 0x2B0424DA: mov eax, dword ptr fs:[0] */ 2379 L_2B0424E0: 2380 PUSH32(esp, eax); /* 0x2B0424E0: push eax */ 2381 L_2B0424E1: 2382 MEM32(FS_BASE + (0)) = esp; /* 0x2B0424E1: mov dword ptr fs:[0], esp */ 2383 L_2B0424E8: 2384 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x44u); 2385 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2386 esp = esp - 0x44u; /* 0x2B0424E8: sub esp, 0x44 */ 2387 _flag_k = FK_CMP; 2388 L_2B0424EB: 2389 PUSH32(esp, ebx); /* 0x2B0424EB: push ebx */ 2390 L_2B0424EC: 2391 PUSH32(esp, esi); /* 0x2B0424EC: push esi */ 2392 L_2B0424ED: 2393 PUSH32(esp, edi); /* 0x2B0424ED: push edi */ 2394 L_2B0424EE: 2395 edi = MEM32(ebp + 0x8); /* 0x2B0424EE: mov edi, dword ptr [ebp + 8] */ 2396 L_2B0424F1: 2397 eax = edi + (-0x1); /* 0x2B0424F1: lea eax, [edi - 1] */ 2398 L_2B0424F4: 2399 /* cmp eax, 0xDCu */ /* 0x2B0424F4: cmp eax, 0xdc */ 2400 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xDCu); 2401 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2402 _flag_k = FK_CMP; 2403 L_2B0424F9: 2404 ebx = ecx; /* 0x2B0424F9: mov ebx, ecx */ 2405 L_2B0424FB: 2406 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_2B042BEA; /* 0x2B0424FB: ja 0x2b042bea */ 2407 L_2B042501: 2408 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2409 ecx = 0; /* 0x2B042501: xor ecx, ecx */ 2410 _cf = 0; 2411 _flag_k = FK_TEST; 2412 L_2B042503: 2413 SET_LO8(ecx, MEM8(eax + 0x2B042C34)); /* 0x2B042503: mov cl, byte ptr [eax + 0x2b042c34] */ 2414 L_2B042509: 2415 { _itail_tgt = (uint32_t)(MEM32(ecx * 4 + 0x2B042C04)); goto _ljump; } 2416 L_2B042510: 2417 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B042510: call dword ptr [0x2b0b5b64] */ 2418 RECOMP_FLAGS_IN(); 2419 L_2B042516: 2420 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 2421 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2422 eax = eax + 0xD4u; /* 0x2B042516: add eax, 0xd4 */ 2423 _flag_k = FK_ADD; 2424 L_2B04251B: 2425 edx = ebp + (-0x1C); /* 0x2B04251B: lea edx, [ebp - 0x1c] */ 2426 L_2B04251E: 2427 /* cmp edx, eax */ /* 0x2B04251E: cmp edx, eax */ 2428 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 2429 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2430 _flag_k = FK_CMP; 2431 L_2B042520: 2432 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B042529; /* 0x2B042520: je 0x2b042529 */ 2433 L_2B042522: 2434 ecx = MEM32(eax); /* 0x2B042522: mov ecx, dword ptr [eax] */ 2435 L_2B042524: 2436 eax = MEM32(eax + 0x4); /* 0x2B042524: mov eax, dword ptr [eax + 4] */ 2437 L_2B042527: 2438 goto L_2B04252F; /* 0x2B042527: jmp 0x2b04252f */ 2439 L_2B042529: 2440 eax = MEM32(ebp + (-0x18)); /* 0x2B042529: mov eax, dword ptr [ebp - 0x18] */ 2441 L_2B04252C: 2442 ecx = MEM32(ebp + (-0x1C)); /* 0x2B04252C: mov ecx, dword ptr [ebp - 0x1c] */ 2443 L_2B04252F: 2444 MEM32(ebp + (-0x10)) = eax; /* 0x2B04252F: mov dword ptr [ebp - 0x10], eax */ 2445 L_2B042532: 2446 eax = ebp + (-0x14); /* 0x2B042532: lea eax, [ebp - 0x14] */ 2447 L_2B042535: 2448 PUSH32(esp, eax); /* 0x2B042535: push eax */ 2449 L_2B042536: 2450 MEM32(ebp + (-0x14)) = ecx; /* 0x2B042536: mov dword ptr [ebp - 0x14], ecx */ 2451 L_2B042539: 2452 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B042539: call dword ptr [0x2b0b5d6c] */ 2453 RECOMP_FLAGS_IN(); 2454 L_2B04253F: 2455 ecx = eax; /* 0x2B04253F: mov ecx, eax */ 2456 L_2B042541: 2457 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B042541: call dword ptr [0x2b0b5d50] */ 2458 RECOMP_FLAGS_IN(); 2459 L_2B042547: 2460 SET_LO8(ecx, MEM8(ebp + 0xF)); /* 0x2B042547: mov cl, byte ptr [ebp + 0xf] */ 2461 L_2B04254A: 2462 MEM8(ebp + (-0x50)) = (uint8_t)(LO8(ecx)); /* 0x2B04254A: mov byte ptr [ebp - 0x50], cl */ 2463 L_2B04254D: 2464 esi = eax; /* 0x2B04254D: mov esi, eax */ 2465 L_2B04254F: 2466 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2467 eax = 0; /* 0x2B04254F: xor eax, eax */ 2468 _cf = 0; 2469 _flag_k = FK_TEST; 2470 L_2B042551: 2471 MEM32(ebp + (-0x4C)) = eax; /* 0x2B042551: mov dword ptr [ebp - 0x4c], eax */ 2472 L_2B042554: 2473 MEM32(ebp + (-0x48)) = eax; /* 0x2B042554: mov dword ptr [ebp - 0x48], eax */ 2474 L_2B042557: 2475 MEM32(ebp + (-0x44)) = eax; /* 0x2B042557: mov dword ptr [ebp - 0x44], eax */ 2476 L_2B04255A: 2477 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 2478 ecx = ecx | 0xFFFFFFFFu; /* 0x2B04255A: or ecx, 0xffffffff */ 2479 _cf = 0; 2480 _flag_k = FK_TEST; 2481 L_2B04255D: 2482 edi = esi; /* 0x2B04255D: mov edi, esi */ 2483 L_2B04255F: 2484 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; } /* 0x2B04255F: repne scasb al, byte ptr es:[edi] */ 2485 L_2B042561: 2486 ecx = ~ecx; /* 0x2B042561: not ecx */ 2487 L_2B042563: 2488 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2489 ecx = ecx - 1; /* 0x2B042563: dec ecx */ 2490 _flag_k = FK_DEC; 2491 L_2B042564: 2492 edi = ecx; /* 0x2B042564: mov edi, ecx */ 2493 L_2B042566: 2494 PUSH32(esp, 1); /* 0x2B042566: push 1 */ 2495 L_2B042568: 2496 PUSH32(esp, edi); /* 0x2B042568: push edi */ 2497 L_2B042569: 2498 ecx = ebp + (-0x50); /* 0x2B042569: lea ecx, [ebp - 0x50] */ 2499 L_2B04256C: 2500 MEM32(ebp + 0xC) = edi; /* 0x2B04256C: mov dword ptr [ebp + 0xc], edi */ 2501 L_2B04256F: 2502 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B04256F: call dword ptr [0x2b0b5154] */ 2503 RECOMP_FLAGS_IN(); 2504 L_2B042575: 2505 /* test LO8(eax), LO8(eax) */ /* 0x2B042575: test al, al */ 2506 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2507 _cf = 0; 2508 _flag_k = FK_NARROW(FK_TEST, 24); 2509 L_2B042577: 2510 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B042598; /* 0x2B042577: je 0x2b042598 */ 2511 L_2B042579: 2512 ecx = edi; /* 0x2B042579: mov ecx, edi */ 2513 L_2B04257B: 2514 edi = MEM32(ebp + (-0x4C)); /* 0x2B04257B: mov edi, dword ptr [ebp - 0x4c] */ 2515 L_2B04257E: 2516 edx = ecx; /* 0x2B04257E: mov edx, ecx */ 2517 L_2B042580: 2518 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B042580: shr ecx, 2 */ 2519 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2520 ecx = ecx >> 2u; /* 0x2B042580: shr ecx, 2 */ 2521 L_2B042583: 2522 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B042583: 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; } 2523 L_2B042585: 2524 ecx = edx; /* 0x2B042585: mov ecx, edx */ 2525 L_2B042587: 2526 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 2527 ecx = ecx & 3; /* 0x2B042587: and ecx, 3 */ 2528 _cf = 0; 2529 _flag_k = FK_TEST; 2530 L_2B04258A: 2531 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B04258A: 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; } 2532 L_2B04258C: 2533 ecx = MEM32(ebp + (-0x4C)); /* 0x2B04258C: mov ecx, dword ptr [ebp - 0x4c] */ 2534 L_2B04258F: 2535 eax = edx; /* 0x2B04258F: mov eax, edx */ 2536 L_2B042591: 2537 MEM32(ebp + (-0x48)) = eax; /* 0x2B042591: mov dword ptr [ebp - 0x48], eax */ 2538 L_2B042594: 2539 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B042594: mov byte ptr [ecx + eax], 0 */ 2540 L_2B042598: 2541 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2542 eax = 0; /* 0x2B042598: xor eax, eax */ 2543 _cf = 0; 2544 _flag_k = FK_TEST; 2545 L_2B04259A: 2546 MEM32(ebp + (-0x40)) = eax; /* 0x2B04259A: mov dword ptr [ebp - 0x40], eax */ 2547 L_2B04259D: 2548 edx = MEM32(0x2B0B515C); /* 0x2B04259D: mov edx, dword ptr [0x2b0b515c] */ 2549 L_2B0425A3: 2550 ecx = MEM32(ebp + (-0x48)); /* 0x2B0425A3: mov ecx, dword ptr [ebp - 0x48] */ 2551 L_2B0425A6: 2552 edi = MEM32(ebx + 0x50); /* 0x2B0425A6: mov edi, dword ptr [ebx + 0x50] */ 2553 L_2B0425A9: 2554 MEM32(ebp + (-0x4)) = eax; /* 0x2B0425A9: mov dword ptr [ebp - 4], eax */ 2555 L_2B0425AC: 2556 eax = MEM32(edx); /* 0x2B0425AC: mov eax, dword ptr [edx] */ 2557 L_2B0425AE: 2558 esi = ecx; /* 0x2B0425AE: mov esi, ecx */ 2559 L_2B0425B0: 2560 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x14u); 2561 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2562 edi = edi + 0x14u; /* 0x2B0425B0: add edi, 0x14 */ 2563 _flag_k = FK_ADD; 2564 L_2B0425B3: 2565 /* cmp eax, esi */ /* 0x2B0425B3: cmp eax, esi */ 2566 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 2567 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2568 _flag_k = FK_CMP; 2569 L_2B0425B5: 2570 MEM32(ebp + 0x8) = edi; /* 0x2B0425B5: mov dword ptr [ebp + 8], edi */ 2571 L_2B0425B8: 2572 MEM32(ebp + 0xC) = esi; /* 0x2B0425B8: mov dword ptr [ebp + 0xc], esi */ 2573 L_2B0425BB: 2574 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_AE, _cf)) goto L_2B0425C2; /* 0x2B0425BB: jae 0x2b0425c2 */ 2575 L_2B0425BD: 2576 MEM32(ebp + 0xC) = eax; /* 0x2B0425BD: mov dword ptr [ebp + 0xc], eax */ 2577 L_2B0425C0: 2578 esi = eax; /* 0x2B0425C0: mov esi, eax */ 2579 L_2B0425C2: 2580 edx = ebp + (-0x50); /* 0x2B0425C2: lea edx, [ebp - 0x50] */ 2581 L_2B0425C5: 2582 /* cmp edi, edx */ /* 0x2B0425C5: cmp edi, edx */ 2583 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 2584 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2585 _flag_k = FK_CMP; 2586 L_2B0425C7: 2587 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B042643; /* 0x2B0425C7: jne 0x2b042643 */ 2588 L_2B0425C9: 2589 MEM32(ebp + 0xC) = eax; /* 0x2B0425C9: mov dword ptr [ebp + 0xc], eax */ 2590 L_2B0425CC: 2591 /* cmp MEM32(edi + 0x8), esi */ /* 0x2B0425CC: cmp dword ptr [edi + 8], esi */ 2592 _flag_a = (uint32_t)(MEM32(edi + 0x8)); _flag_b = (uint32_t)(esi); 2593 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2594 _flag_k = FK_CMP; 2595 L_2B0425CF: 2596 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_AE, _cf)) goto L_2B0425D7; /* 0x2B0425CF: jae 0x2b0425d7 */ 2597 L_2B0425D1: 2598 RECOMP_ICALL(MEM32(0x2B0B519C)); /* 0x2B0425D1: call dword ptr [0x2b0b519c] */ 2599 RECOMP_FLAGS_IN(); 2600 L_2B0425D7: 2601 eax = MEM32(edi + 0x8); /* 0x2B0425D7: mov eax, dword ptr [edi + 8] */ 2602 L_2B0425DA: 2603 ecx = MEM32(ebp + 0xC); /* 0x2B0425DA: mov ecx, dword ptr [ebp + 0xc] */ 2604 L_2B0425DD: 2605 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 2606 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2607 eax = eax - esi; /* 0x2B0425DD: sub eax, esi */ 2608 _flag_k = FK_CMP; 2609 L_2B0425DF: 2610 /* cmp eax, ecx */ /* 0x2B0425DF: cmp eax, ecx */ 2611 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2612 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2613 _flag_k = FK_CMP; 2614 L_2B0425E1: 2615 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_AE, _cf)) goto L_2B0425E6; /* 0x2B0425E1: jae 0x2b0425e6 */ 2616 L_2B0425E3: 2617 MEM32(ebp + 0xC) = eax; /* 0x2B0425E3: mov dword ptr [ebp + 0xc], eax */ 2618 L_2B0425E6: 2619 eax = MEM32(ebp + 0xC); /* 0x2B0425E6: mov eax, dword ptr [ebp + 0xc] */ 2620 L_2B0425E9: 2621 /* test eax, eax */ /* 0x2B0425E9: test eax, eax */ 2622 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2623 _cf = 0; 2624 _flag_k = FK_TEST; 2625 L_2B0425EB: 2626 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_BE, _cf)) goto L_2B042632; /* 0x2B0425EB: jbe 0x2b042632 */ 2627 L_2B0425ED: 2628 ecx = edi; /* 0x2B0425ED: mov ecx, edi */ 2629 L_2B0425EF: 2630 RECOMP_ICALL(MEM32(0x2B0B516C)); /* 0x2B0425EF: call dword ptr [0x2b0b516c] */ 2631 RECOMP_FLAGS_IN(); 2632 L_2B0425F5: 2633 eax = MEM32(edi + 0x8); /* 0x2B0425F5: mov eax, dword ptr [edi + 8] */ 2634 L_2B0425F8: 2635 ecx = MEM32(ebp + 0xC); /* 0x2B0425F8: mov ecx, dword ptr [ebp + 0xc] */ 2636 L_2B0425FB: 2637 edx = MEM32(edi + 0x4); /* 0x2B0425FB: mov edx, dword ptr [edi + 4] */ 2638 L_2B0425FE: 2639 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2640 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2641 eax = eax - ecx; /* 0x2B0425FE: sub eax, ecx */ 2642 _flag_k = FK_CMP; 2643 L_2B042600: 2644 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 2645 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2646 eax = eax - esi; /* 0x2B042600: sub eax, esi */ 2647 _flag_k = FK_CMP; 2648 L_2B042602: 2649 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx); 2650 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2651 esi = esi + edx; /* 0x2B042602: add esi, edx */ 2652 _flag_k = FK_ADD; 2653 L_2B042604: 2654 PUSH32(esp, eax); /* 0x2B042604: push eax */ 2655 L_2B042605: 2656 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 2657 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2658 ecx = ecx + esi; /* 0x2B042605: add ecx, esi */ 2659 _flag_k = FK_ADD; 2660 L_2B042607: 2661 PUSH32(esp, ecx); /* 0x2B042607: push ecx */ 2662 L_2B042608: 2663 PUSH32(esp, esi); /* 0x2B042608: push esi */ 2664 L_2B042609: 2665 RECOMP_ICALL(MEM32(0x2B0B51D4)); /* 0x2B042609: call dword ptr [0x2b0b51d4] */ 2666 RECOMP_FLAGS_IN(); 2667 L_2B04260F: 2668 esi = MEM32(edi + 0x8); /* 0x2B04260F: mov esi, dword ptr [edi + 8] */ 2669 L_2B042612: 2670 ecx = MEM32(ebp + 0xC); /* 0x2B042612: mov ecx, dword ptr [ebp + 0xc] */ 2671 L_2B042615: 2672 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 2673 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2674 esp = esp + 0xCu; /* 0x2B042615: add esp, 0xc */ 2675 _flag_k = FK_ADD; 2676 L_2B042618: 2677 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 2678 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2679 esi = esi - ecx; /* 0x2B042618: sub esi, ecx */ 2680 _flag_k = FK_CMP; 2681 L_2B04261A: 2682 PUSH32(esp, 0); /* 0x2B04261A: push 0 */ 2683 L_2B04261C: 2684 PUSH32(esp, esi); /* 0x2B04261C: push esi */ 2685 L_2B04261D: 2686 ecx = edi; /* 0x2B04261D: mov ecx, edi */ 2687 L_2B04261F: 2688 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B04261F: call dword ptr [0x2b0b5154] */ 2689 RECOMP_FLAGS_IN(); 2690 L_2B042625: 2691 /* test LO8(eax), LO8(eax) */ /* 0x2B042625: test al, al */ 2692 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2693 _cf = 0; 2694 _flag_k = FK_NARROW(FK_TEST, 24); 2695 L_2B042627: 2696 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B042632; /* 0x2B042627: je 0x2b042632 */ 2697 L_2B042629: 2698 PUSH32(esp, esi); /* 0x2B042629: push esi */ 2699 L_2B04262A: 2700 ecx = edi; /* 0x2B04262A: mov ecx, edi */ 2701 L_2B04262C: 2702 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B04262C: call dword ptr [0x2b0b5150] */ 2703 RECOMP_FLAGS_IN(); 2704 L_2B042632: 2705 PUSH32(esp, 0); /* 0x2B042632: push 0 */ 2706 L_2B042634: 2707 PUSH32(esp, 0); /* 0x2B042634: push 0 */ 2708 L_2B042636: 2709 ecx = edi; /* 0x2B042636: mov ecx, edi */ 2710 L_2B042638: 2711 RECOMP_ICALL(MEM32(0x2B0B51AC)); /* 0x2B042638: call dword ptr [0x2b0b51ac] */ 2712 RECOMP_FLAGS_IN(); 2713 L_2B04263E: 2714 goto L_2B0426C4; /* 0x2B04263E: jmp 0x2b0426c4 */ 2715 L_2B042643: 2716 /* test esi, esi */ /* 0x2B042643: test esi, esi */ 2717 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 2718 _cf = 0; 2719 _flag_k = FK_TEST; 2720 L_2B042645: 2721 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_BE, _cf)) goto L_2B042687; /* 0x2B042645: jbe 0x2b042687 */ 2722 L_2B042647: 2723 /* cmp esi, ecx */ /* 0x2B042647: cmp esi, ecx */ 2724 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 2725 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2726 _flag_k = FK_CMP; 2727 L_2B042649: 2728 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B042687; /* 0x2B042649: jne 0x2b042687 */ 2729 L_2B04264B: 2730 eax = MEM32(ebp + (-0x4C)); /* 0x2B04264B: mov eax, dword ptr [ebp - 0x4c] */ 2731 L_2B04264E: 2732 /* test eax, eax */ /* 0x2B04264E: test eax, eax */ 2733 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2734 _cf = 0; 2735 _flag_k = FK_TEST; 2736 L_2B042650: 2737 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B042657; /* 0x2B042650: jne 0x2b042657 */ 2738 L_2B042652: 2739 eax = MEM32(0x2B0B513C); /* 0x2B042652: mov eax, dword ptr [0x2b0b513c] */ 2740 L_2B042657: 2741 /* cmp MEM8(eax + (-0x1)), 0xFEu */ /* 0x2B042657: cmp byte ptr [eax - 1], 0xfe */ 2742 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(0xFEu) << 24; 2743 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2744 _flag_k = FK_NARROW(FK_CMP, 24); 2745 L_2B04265B: 2746 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_AE, _cf)) goto L_2B042687; /* 0x2B04265B: jae 0x2b042687 */ 2747 L_2B04265D: 2748 PUSH32(esp, 1); /* 0x2B04265D: push 1 */ 2749 L_2B04265F: 2750 ecx = edi; /* 0x2B04265F: mov ecx, edi */ 2751 L_2B042661: 2752 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B042661: call dword ptr [0x2b0b514c] */ 2753 RECOMP_FLAGS_IN(); 2754 L_2B042667: 2755 eax = MEM32(ebp + (-0x4C)); /* 0x2B042667: mov eax, dword ptr [ebp - 0x4c] */ 2756 L_2B04266A: 2757 /* test eax, eax */ /* 0x2B04266A: test eax, eax */ 2758 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2759 _cf = 0; 2760 _flag_k = FK_TEST; 2761 L_2B04266C: 2762 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B042673; /* 0x2B04266C: jne 0x2b042673 */ 2763 L_2B04266E: 2764 eax = MEM32(0x2B0B513C); /* 0x2B04266E: mov eax, dword ptr [0x2b0b513c] */ 2765 L_2B042673: 2766 MEM32(edi + 0x4) = eax; /* 0x2B042673: mov dword ptr [edi + 4], eax */ 2767 L_2B042676: 2768 ecx = MEM32(ebp + (-0x48)); /* 0x2B042676: mov ecx, dword ptr [ebp - 0x48] */ 2769 L_2B042679: 2770 MEM32(edi + 0x8) = ecx; /* 0x2B042679: mov dword ptr [edi + 8], ecx */ 2771 L_2B04267C: 2772 edx = MEM32(ebp + (-0x44)); /* 0x2B04267C: mov edx, dword ptr [ebp - 0x44] */ 2773 L_2B04267F: 2774 MEM32(edi + 0xC) = edx; /* 0x2B04267F: mov dword ptr [edi + 0xc], edx */ 2775 L_2B042682: 2776 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(1) << 24; 2777 MEM8(eax + (-0x1)) = (uint8_t)(MEM8(eax + (-0x1)) + 1); /* 0x2B042682: inc byte ptr [eax - 1] */ 2778 _flag_k = FK_NARROW(FK_INC, 24); 2779 L_2B042685: 2780 goto L_2B0426C4; /* 0x2B042685: jmp 0x2b0426c4 */ 2781 L_2B042687: 2782 PUSH32(esp, 1); /* 0x2B042687: push 1 */ 2783 L_2B042689: 2784 PUSH32(esp, esi); /* 0x2B042689: push esi */ 2785 L_2B04268A: 2786 ecx = edi; /* 0x2B04268A: mov ecx, edi */ 2787 L_2B04268C: 2788 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B04268C: call dword ptr [0x2b0b5154] */ 2789 RECOMP_FLAGS_IN(); 2790 L_2B042692: 2791 /* test LO8(eax), LO8(eax) */ /* 0x2B042692: test al, al */ 2792 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2793 _cf = 0; 2794 _flag_k = FK_NARROW(FK_TEST, 24); 2795 L_2B042694: 2796 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0426C4; /* 0x2B042694: je 0x2b0426c4 */ 2797 L_2B042696: 2798 eax = MEM32(ebp + (-0x4C)); /* 0x2B042696: mov eax, dword ptr [ebp - 0x4c] */ 2799 L_2B042699: 2800 /* test eax, eax */ /* 0x2B042699: test eax, eax */ 2801 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2802 _cf = 0; 2803 _flag_k = FK_TEST; 2804 L_2B04269B: 2805 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B0426A2; /* 0x2B04269B: jne 0x2b0426a2 */ 2806 L_2B04269D: 2807 eax = MEM32(0x2B0B513C); /* 0x2B04269D: mov eax, dword ptr [0x2b0b513c] */ 2808 L_2B0426A2: 2809 edi = MEM32(edi + 0x4); /* 0x2B0426A2: mov edi, dword ptr [edi + 4] */ 2810 L_2B0426A5: 2811 ecx = esi; /* 0x2B0426A5: mov ecx, esi */ 2812 L_2B0426A7: 2813 esi = eax; /* 0x2B0426A7: mov esi, eax */ 2814 L_2B0426A9: 2815 eax = ecx; /* 0x2B0426A9: mov eax, ecx */ 2816 L_2B0426AB: 2817 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0426AB: shr ecx, 2 */ 2818 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2819 ecx = ecx >> 2u; /* 0x2B0426AB: shr ecx, 2 */ 2820 L_2B0426AE: 2821 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0426AE: 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; } 2822 L_2B0426B0: 2823 ecx = eax; /* 0x2B0426B0: mov ecx, eax */ 2824 L_2B0426B2: 2825 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 2826 ecx = ecx & 3; /* 0x2B0426B2: and ecx, 3 */ 2827 _cf = 0; 2828 _flag_k = FK_TEST; 2829 L_2B0426B5: 2830 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0426B5: 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; } 2831 L_2B0426B7: 2832 ecx = MEM32(ebp + 0xC); /* 0x2B0426B7: mov ecx, dword ptr [ebp + 0xc] */ 2833 L_2B0426BA: 2834 PUSH32(esp, ecx); /* 0x2B0426BA: push ecx */ 2835 L_2B0426BB: 2836 ecx = MEM32(ebp + 0x8); /* 0x2B0426BB: mov ecx, dword ptr [ebp + 8] */ 2837 L_2B0426BE: 2838 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B0426BE: call dword ptr [0x2b0b5150] */ 2839 RECOMP_FLAGS_IN(); 2840 L_2B0426C4: 2841 eax = MEM32(ebp + (-0x40)); /* 0x2B0426C4: mov eax, dword ptr [ebp - 0x40] */ 2842 L_2B0426C7: 2843 /* test eax, eax */ /* 0x2B0426C7: test eax, eax */ 2844 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2845 _cf = 0; 2846 _flag_k = FK_TEST; 2847 L_2B0426C9: 2848 MEM32(ebp + (-0x4)) = 1; /* 0x2B0426C9: mov dword ptr [ebp - 4], 1 */ 2849 L_2B0426D0: 2850 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B042711; /* 0x2B0426D0: je 0x2b042711 */ 2851 L_2B0426D2: 2852 edx = MEM32(eax + 0x2C); /* 0x2B0426D2: mov edx, dword ptr [eax + 0x2c] */ 2853 L_2B0426D5: 2854 esi = eax; /* 0x2B0426D5: mov esi, eax */ 2855 L_2B0426D7: 2856 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 2857 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2858 eax = eax + 0x2Cu; /* 0x2B0426D7: add eax, 0x2c */ 2859 _flag_k = FK_ADD; 2860 L_2B0426DA: 2861 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 2862 edx = edx - 1; /* 0x2B0426DA: dec edx */ 2863 _flag_k = FK_DEC; 2864 L_2B0426DB: 2865 ecx = edx; /* 0x2B0426DB: mov ecx, edx */ 2866 L_2B0426DD: 2867 /* test ecx, ecx */ /* 0x2B0426DD: test ecx, ecx */ 2868 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2869 _cf = 0; 2870 _flag_k = FK_TEST; 2871 L_2B0426DF: 2872 MEM32(eax) = edx; /* 0x2B0426DF: mov dword ptr [eax], edx */ 2873 L_2B0426E1: 2874 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B042711; /* 0x2B0426E1: jne 0x2b042711 */ 2875 L_2B0426E3: 2876 /* test esi, esi */ /* 0x2B0426E3: test esi, esi */ 2877 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 2878 _cf = 0; 2879 _flag_k = FK_TEST; 2880 L_2B0426E5: 2881 MEM32(ebp + 0xC) = esi; /* 0x2B0426E5: mov dword ptr [ebp + 0xc], esi */ 2882 L_2B0426E8: 2883 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B042711; /* 0x2B0426E8: je 0x2b042711 */ 2884 L_2B0426EA: 2885 PUSH32(esp, 1); /* 0x2B0426EA: push 1 */ 2886 L_2B0426EC: 2887 ecx = esi + 0x1C; /* 0x2B0426EC: lea ecx, [esi + 0x1c] */ 2888 L_2B0426EF: 2889 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B0426EF: mov byte ptr [ebp - 4], 2 */ 2890 L_2B0426F3: 2891 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0426F3: call dword ptr [0x2b0b514c] */ 2892 RECOMP_FLAGS_IN(); 2893 L_2B0426F9: 2894 PUSH32(esp, 1); /* 0x2B0426F9: push 1 */ 2895 L_2B0426FB: 2896 ecx = esi + 0xC; /* 0x2B0426FB: lea ecx, [esi + 0xc] */ 2897 L_2B0426FE: 2898 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B0426FE: mov byte ptr [ebp - 4], 1 */ 2899 L_2B042702: 2900 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B042702: call dword ptr [0x2b0b514c] */ 2901 RECOMP_FLAGS_IN(); 2902 L_2B042708: 2903 PUSH32(esp, esi); /* 0x2B042708: push esi */ 2904 L_2B042709: 2905 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B042709: call 0x2b0ab1ba */ /* not lifted */ 2906 RECOMP_FLAGS_IN(); 2907 L_2B04270E: 2908 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2909 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2910 esp = esp + 4; /* 0x2B04270E: add esp, 4 */ 2911 _flag_k = FK_ADD; 2912 L_2B042711: 2913 eax = MEM32(ebp + (-0x4C)); /* 0x2B042711: mov eax, dword ptr [ebp - 0x4c] */ 2914 L_2B042714: 2915 /* test eax, eax */ /* 0x2B042714: test eax, eax */ 2916 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2917 _cf = 0; 2918 _flag_k = FK_TEST; 2919 L_2B042716: 2920 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B042716: mov dword ptr [ebp - 4], 0xffffffff */ 2921 L_2B04271D: 2922 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B042749; /* 0x2B04271D: je 0x2b042749 */ 2923 L_2B04271F: 2924 ecx = eax + (-0x1); /* 0x2B04271F: lea ecx, [eax - 1] */ 2925 L_2B042722: 2926 SET_LO8(eax, MEM8(ecx)); /* 0x2B042722: mov al, byte ptr [ecx] */ 2927 L_2B042724: 2928 /* test LO8(eax), LO8(eax) */ /* 0x2B042724: test al, al */ 2929 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2930 _cf = 0; 2931 _flag_k = FK_NARROW(FK_TEST, 24); 2932 L_2B042726: 2933 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B042740; /* 0x2B042726: je 0x2b042740 */ 2934 L_2B042728: 2935 /* cmp LO8(eax), 0xFFu */ /* 0x2B042728: cmp al, 0xff */ 2936 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2937 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2938 _flag_k = FK_NARROW(FK_CMP, 24); 2939 L_2B04272A: 2940 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B042740; /* 0x2B04272A: je 0x2b042740 */ 2941 L_2B04272C: 2942 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2943 SET_LO8(eax, LO8(eax) - 1); /* 0x2B04272C: dec al */ 2944 _flag_k = FK_NARROW(FK_DEC, 24); 2945 L_2B04272E: 2946 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B04272E: mov byte ptr [ecx], al */ 2947 L_2B042730: 2948 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2949 eax = 0; /* 0x2B042730: xor eax, eax */ 2950 _cf = 0; 2951 _flag_k = FK_TEST; 2952 L_2B042732: 2953 MEM32(ebp + (-0x4C)) = eax; /* 0x2B042732: mov dword ptr [ebp - 0x4c], eax */ 2954 L_2B042735: 2955 MEM32(ebp + (-0x48)) = eax; /* 0x2B042735: mov dword ptr [ebp - 0x48], eax */ 2956 L_2B042738: 2957 MEM32(ebp + (-0x44)) = eax; /* 0x2B042738: mov dword ptr [ebp - 0x44], eax */ 2958 L_2B04273B: 2959 goto L_2B042BEA; /* 0x2B04273B: jmp 0x2b042bea */ 2960 L_2B042740: 2961 PUSH32(esp, ecx); /* 0x2B042740: push ecx */ 2962 L_2B042741: 2963 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B042741: call 0x2b0ab1ba */ /* not lifted */ 2964 RECOMP_FLAGS_IN(); 2965 L_2B042746: 2966 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2967 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2968 esp = esp + 4; /* 0x2B042746: add esp, 4 */ 2969 _flag_k = FK_ADD; 2970 L_2B042749: 2971 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2972 eax = 0; /* 0x2B042749: xor eax, eax */ 2973 _cf = 0; 2974 _flag_k = FK_TEST; 2975 L_2B04274B: 2976 MEM32(ebp + (-0x4C)) = eax; /* 0x2B04274B: mov dword ptr [ebp - 0x4c], eax */ 2977 L_2B04274E: 2978 MEM32(ebp + (-0x48)) = eax; /* 0x2B04274E: mov dword ptr [ebp - 0x48], eax */ 2979 L_2B042751: 2980 MEM32(ebp + (-0x44)) = eax; /* 0x2B042751: mov dword ptr [ebp - 0x44], eax */ 2981 L_2B042754: 2982 goto L_2B042BEA; /* 0x2B042754: jmp 0x2b042bea */ 2983 L_2B042759: 2984 edx = MEM32(ebp + 0xC); /* 0x2B042759: mov edx, dword ptr [ebp + 0xc] */ 2985 L_2B04275C: 2986 PUSH32(esp, edx); /* 0x2B04275C: push edx */ 2987 L_2B04275D: 2988 PUSH32(esp, 0x2B0E7354u); /* 0x2B04275D: push 0x2b0e7354 */ 2989 L_2B042762: 2990 PUSH32(esp, 0x2B0EEA30u); /* 0x2B042762: push 0x2b0eea30 */ 2991 L_2B042767: 2992 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B042767: call dword ptr [0x2b0b51f0] */ 2993 RECOMP_FLAGS_IN(); 2994 L_2B04276D: 2995 ecx = MEM32(ebx + 0x58); /* 0x2B04276D: mov ecx, dword ptr [ebx + 0x58] */ 2996 L_2B042770: 2997 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 2998 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2999 esp = esp + 0xCu; /* 0x2B042770: add esp, 0xc */ 3000 _flag_k = FK_ADD; 3001 L_2B042773: 3002 PUSH32(esp, 0x2B0EEA30u); /* 0x2B042773: push 0x2b0eea30 */ 3003 L_2B042778: 3004 RECOMP_ICALL(MEM32(0x2B0B5850)); /* 0x2B042778: call dword ptr [0x2b0b5850] */ 3005 RECOMP_FLAGS_IN(); 3006 L_2B04277E: 3007 eax = MEM32(ebx + 0x58); /* 0x2B04277E: mov eax, dword ptr [ebx + 0x58] */ 3008 L_2B042781: 3009 PUSH32(esp, edi); /* 0x2B042781: push edi */ 3010 L_2B042782: 3011 PUSH32(esp, eax); /* 0x2B042782: push eax */ 3012 L_2B042783: 3013 ecx = ebx; /* 0x2B042783: mov ecx, ebx */ 3014 L_2B042785: 3015 RECOMP_ICALL(0x2B042460u); /* 0x2B042785: call 0x2b042460 */ /* not lifted */ 3016 RECOMP_FLAGS_IN(); 3017 L_2B04278A: 3018 goto L_2B042BEA; /* 0x2B04278A: jmp 0x2b042bea */ 3019 L_2B04278F: 3020 ecx = MEM32(ebp + 0xC); /* 0x2B04278F: mov ecx, dword ptr [ebp + 0xc] */ 3021 L_2B042792: 3022 PUSH32(esp, ecx); /* 0x2B042792: push ecx */ 3023 L_2B042793: 3024 PUSH32(esp, 0x2B0E7354u); /* 0x2B042793: push 0x2b0e7354 */ 3025 L_2B042798: 3026 PUSH32(esp, 0x2B0EEA30u); /* 0x2B042798: push 0x2b0eea30 */ 3027 L_2B04279D: 3028 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B04279D: call dword ptr [0x2b0b51f0] */ 3029 RECOMP_FLAGS_IN(); 3030 L_2B0427A3: 3031 ecx = MEM32(ebx + 0x54); /* 0x2B0427A3: mov ecx, dword ptr [ebx + 0x54] */ 3032 L_2B0427A6: 3033 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 3034 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3035 esp = esp + 0xCu; /* 0x2B0427A6: add esp, 0xc */ 3036 _flag_k = FK_ADD; 3037 L_2B0427A9: 3038 PUSH32(esp, 0x2B0EEA30u); /* 0x2B0427A9: push 0x2b0eea30 */ 3039 L_2B0427AE: 3040 RECOMP_ICALL(MEM32(0x2B0B5850)); /* 0x2B0427AE: call dword ptr [0x2b0b5850] */ 3041 RECOMP_FLAGS_IN(); 3042 L_2B0427B4: 3043 esi = MEM32(0x2B0B5D6C); /* 0x2B0427B4: mov esi, dword ptr [0x2b0b5d6c] */ 3044 L_2B0427BA: 3045 PUSH32(esp, 2); /* 0x2B0427BA: push 2 */ 3046 L_2B0427BC: 3047 PUSH32(esp, 0x34u); /* 0x2B0427BC: push 0x34 */ 3048 L_2B0427BE: 3049 RECOMP_ICALL(esi); /* 0x2B0427BE: call esi */ 3050 RECOMP_FLAGS_IN(); 3051 L_2B0427C0: 3052 edi = MEM32(0x2B0B5D70); /* 0x2B0427C0: mov edi, dword ptr [0x2b0b5d70] */ 3053 L_2B0427C6: 3054 ecx = eax; /* 0x2B0427C6: mov ecx, eax */ 3055 L_2B0427C8: 3056 RECOMP_ICALL(edi); /* 0x2B0427C8: call edi */ 3057 RECOMP_FLAGS_IN(); 3058 L_2B0427CA: 3059 PUSH32(esp, 2); /* 0x2B0427CA: push 2 */ 3060 L_2B0427CC: 3061 PUSH32(esp, 0x15Eu); /* 0x2B0427CC: push 0x15e */ 3062 L_2B0427D1: 3063 MEM32(ebp + 0xC) = eax; /* 0x2B0427D1: mov dword ptr [ebp + 0xc], eax */ 3064 L_2B0427D4: 3065 RECOMP_ICALL(esi); /* 0x2B0427D4: call esi */ 3066 RECOMP_FLAGS_IN(); 3067 L_2B0427D6: 3068 ecx = eax; /* 0x2B0427D6: mov ecx, eax */ 3069 L_2B0427D8: 3070 RECOMP_ICALL(edi); /* 0x2B0427D8: call edi */ 3071 RECOMP_FLAGS_IN(); 3072 L_2B0427DA: 3073 PUSH32(esp, 2); /* 0x2B0427DA: push 2 */ 3074 L_2B0427DC: 3075 PUSH32(esp, 0x39u); /* 0x2B0427DC: push 0x39 */ 3076 L_2B0427DE: 3077 MEM32(ebp + 0x8) = eax; /* 0x2B0427DE: mov dword ptr [ebp + 8], eax */ 3078 L_2B0427E1: 3079 RECOMP_ICALL(esi); /* 0x2B0427E1: call esi */ 3080 RECOMP_FLAGS_IN(); 3081 L_2B0427E3: 3082 ecx = eax; /* 0x2B0427E3: mov ecx, eax */ 3083 L_2B0427E5: 3084 RECOMP_ICALL(edi); /* 0x2B0427E5: call edi */ 3085 RECOMP_FLAGS_IN(); 3086 L_2B0427E7: 3087 esi = MEM32(ebp + 0xC); /* 0x2B0427E7: mov esi, dword ptr [ebp + 0xc] */ 3088 L_2B0427EA: 3089 edi = MEM32(ebp + 0x8); /* 0x2B0427EA: mov edi, dword ptr [ebp + 8] */ 3090 L_2B0427ED: 3091 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 3092 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3093 esi = esi - eax; /* 0x2B0427ED: sub esi, eax */ 3094 _flag_k = FK_CMP; 3095 L_2B0427EF: 3096 MEM32(ebp + 0xC) = esi; /* 0x2B0427EF: mov dword ptr [ebp + 0xc], esi */ 3097 L_2B0427F2: 3098 fp_push((double)(int32_t)MEM32(ebp + 0xC)); /* 0x2B0427F2: fild dword ptr [ebp + 0xc] */ 3099 L_2B0427F5: 3100 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 3101 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3102 edi = edi - eax; /* 0x2B0427F5: sub edi, eax */ 3103 _flag_k = FK_CMP; 3104 L_2B0427F7: 3105 MEM32(ebp + 0x8) = edi; /* 0x2B0427F7: mov dword ptr [ebp + 8], edi */ 3106 L_2B0427FA: 3107 _st[0] = _st[0] / (double)(int32_t)MEM32(ebp + 0x8); /* 0x2B0427FA: fidiv dword ptr [ebp + 8] */ 3108 L_2B0427FD: 3109 PUSH32(esp, ecx); /* 0x2B0427FD: push ecx */ 3110 L_2B0427FE: 3111 ecx = MEM32(ebx + 0x48); /* 0x2B0427FE: mov ecx, dword ptr [ebx + 0x48] */ 3112 L_2B042801: 3113 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x2B042801: fstp dword ptr [esp] */ 3114 L_2B042804: 3115 RECOMP_ICALL(MEM32(0x2B0B5854)); /* 0x2B042804: call dword ptr [0x2b0b5854] */ 3116 RECOMP_FLAGS_IN(); 3117 L_2B04280A: 3118 PUSH32(esp, edi); /* 0x2B04280A: push edi */ 3119 L_2B04280B: 3120 PUSH32(esp, esi); /* 0x2B04280B: push esi */ 3121 L_2B04280C: 3122 PUSH32(esp, 0x2B0E734Cu); /* 0x2B04280C: push 0x2b0e734c */ 3123 L_2B042811: 3124 PUSH32(esp, 0x2B0EEA30u); /* 0x2B042811: push 0x2b0eea30 */ 3125 L_2B042816: 3126 MEM32(ebx + 0xBC) = esi; /* 0x2B042816: mov dword ptr [ebx + 0xbc], esi */ 3127 L_2B04281C: 3128 MEM32(ebx + 0xC0) = edi; /* 0x2B04281C: mov dword ptr [ebx + 0xc0], edi */ 3129 L_2B042822: 3130 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B042822: call dword ptr [0x2b0b51f0] */ 3131 RECOMP_FLAGS_IN(); 3132 L_2B042828: 3133 ecx = MEM32(ebx + 0x84); /* 0x2B042828: mov ecx, dword ptr [ebx + 0x84] */ 3134 L_2B04282E: 3135 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 3136 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3137 esp = esp + 0x10u; /* 0x2B04282E: add esp, 0x10 */ 3138 _flag_k = FK_ADD; 3139 L_2B042831: 3140 PUSH32(esp, 0x2B0EEA30u); /* 0x2B042831: push 0x2b0eea30 */ 3141 L_2B042836: 3142 goto L_2B042BE4; /* 0x2B042836: jmp 0x2b042be4 */ 3143 L_2B04283B: 3144 edi = MEM32(0x2B0B5D6C); /* 0x2B04283B: mov edi, dword ptr [0x2b0b5d6c] */ 3145 L_2B042841: 3146 PUSH32(esp, 2); /* 0x2B042841: push 2 */ 3147 L_2B042843: 3148 PUSH32(esp, 1); /* 0x2B042843: push 1 */ 3149 L_2B042845: 3150 RECOMP_ICALL(edi); /* 0x2B042845: call edi */ 3151 RECOMP_FLAGS_IN(); 3152 L_2B042847: 3153 ecx = eax; /* 0x2B042847: mov ecx, eax */ 3154 L_2B042849: 3155 RECOMP_ICALL(MEM32(0x2B0B5D70)); /* 0x2B042849: call dword ptr [0x2b0b5d70] */ 3156 RECOMP_FLAGS_IN(); 3157 L_2B04284F: 3158 esi = eax; /* 0x2B04284F: mov esi, eax */ 3159 L_2B042851: 3160 PUSH32(esp, 2); /* 0x2B042851: push 2 */ 3161 L_2B042853: 3162 PUSH32(esp, 0x1Bu); /* 0x2B042853: push 0x1b */ 3163 L_2B042855: 3164 MEM32(ebp + 0x8) = esi; /* 0x2B042855: mov dword ptr [ebp + 8], esi */ 3165 L_2B042858: 3166 RECOMP_ICALL(edi); /* 0x2B042858: call edi */ 3167 RECOMP_FLAGS_IN(); 3168 L_2B04285A: 3169 ecx = eax; /* 0x2B04285A: mov ecx, eax */ 3170 L_2B04285C: 3171 RECOMP_ICALL(MEM32(0x2B0B5D70)); /* 0x2B04285C: call dword ptr [0x2b0b5d70] */ 3172 RECOMP_FLAGS_IN(); 3173 L_2B042862: 3174 edi = eax; /* 0x2B042862: mov edi, eax */ 3175 L_2B042864: 3176 MEM32(ebp + 0xC) = edi; /* 0x2B042864: mov dword ptr [ebp + 0xc], edi */ 3177 L_2B042867: 3178 fp_push((double)(int32_t)MEM32(ebp + 0xC)); /* 0x2B042867: fild dword ptr [ebp + 0xc] */ 3179 L_2B04286A: 3180 _st[0] = _st[0] / (double)(int32_t)MEM32(ebp + 0x8); /* 0x2B04286A: fidiv dword ptr [ebp + 8] */ 3181 L_2B04286D: 3182 { float _v = (float)_st[0]; *(float*)ADDR(ebp + 0xC) = _v; } /* 0x2B04286D: fst dword ptr [ebp + 0xc] */ 3183 L_2B042870: 3184 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B63D0)); /* 0x2B042870: fcomp dword ptr [0x2b0b63d0] */ 3185 fp_pop(); 3186 L_2B042876: 3187 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B042876: fnstsw ax */ 3188 L_2B042878: 3189 /* test HI8(eax), 0x41u */ /* 0x2B042878: test ah, 0x41 */ 3190 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 3191 _cf = 0; 3192 _flag_k = FK_NARROW(FK_TEST, 24); 3193 L_2B04287B: 3194 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B042884; /* 0x2B04287B: jne 0x2b042884 */ 3195 L_2B04287D: 3196 MEM32(ebp + 0xC) = 0x3F800000u; /* 0x2B04287D: mov dword ptr [ebp + 0xc], 0x3f800000 */ 3197 L_2B042884: 3198 edx = MEM32(ebp + 0xC); /* 0x2B042884: mov edx, dword ptr [ebp + 0xc] */ 3199 L_2B042887: 3200 ecx = MEM32(ebx + 0x40); /* 0x2B042887: mov ecx, dword ptr [ebx + 0x40] */ 3201 L_2B04288A: 3202 PUSH32(esp, edx); /* 0x2B04288A: push edx */ 3203 L_2B04288B: 3204 RECOMP_ICALL(MEM32(0x2B0B5854)); /* 0x2B04288B: call dword ptr [0x2b0b5854] */ 3205 RECOMP_FLAGS_IN(); 3206 L_2B042891: 3207 PUSH32(esp, esi); /* 0x2B042891: push esi */ 3208 L_2B042892: 3209 PUSH32(esp, edi); /* 0x2B042892: push edi */ 3210 L_2B042893: 3211 PUSH32(esp, 0x2B0E734Cu); /* 0x2B042893: push 0x2b0e734c */ 3212 L_2B042898: 3213 PUSH32(esp, 0x2B0EEA30u); /* 0x2B042898: push 0x2b0eea30 */ 3214 L_2B04289D: 3215 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B04289D: call dword ptr [0x2b0b51f0] */ 3216 RECOMP_FLAGS_IN(); 3217 L_2B0428A3: 3218 ecx = MEM32(ebx + 0x7C); /* 0x2B0428A3: mov ecx, dword ptr [ebx + 0x7c] */ 3219 L_2B0428A6: 3220 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 3221 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3222 esp = esp + 0x10u; /* 0x2B0428A6: add esp, 0x10 */ 3223 _flag_k = FK_ADD; 3224 L_2B0428A9: 3225 PUSH32(esp, 0x2B0EEA30u); /* 0x2B0428A9: push 0x2b0eea30 */ 3226 L_2B0428AE: 3227 RECOMP_ICALL(MEM32(0x2B0B5850)); /* 0x2B0428AE: call dword ptr [0x2b0b5850] */ 3228 RECOMP_FLAGS_IN(); 3229 L_2B0428B4: 3230 fp_push(*(float*)&MEM32(ebp + 0xC)); /* 0x2B0428B4: fld dword ptr [ebp + 0xc] */ 3231 L_2B0428B7: 3232 _st[0] *= (double)*(float*)ADDR(0x2B0B69C8); /* 0x2B0428B7: fmul dword ptr [0x2b0b69c8] */ 3233 L_2B0428BD: 3234 _st[0] += (double)*(float*)ADDR(0x2B0B6864); /* 0x2B0428BD: fadd dword ptr [0x2b0b6864] */ 3235 L_2B0428C3: 3236 RECOMP_ICALL(0x2B0AB220u); /* 0x2B0428C3: call 0x2b0ab220 */ /* not lifted */ 3237 RECOMP_FLAGS_IN(); 3238 L_2B0428C8: 3239 edi = MEM32(0x2B0B5554); /* 0x2B0428C8: mov edi, dword ptr [0x2b0b5554] */ 3240 L_2B0428CE: 3241 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3242 ecx = 0; /* 0x2B0428CE: xor ecx, ecx */ 3243 _cf = 0; 3244 _flag_k = FK_TEST; 3245 L_2B0428D0: 3246 esi = 0x80u; /* 0x2B0428D0: mov esi, 0x80 */ 3247 L_2B0428D5: 3248 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 3249 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3250 esi = esi - eax; /* 0x2B0428D5: sub esi, eax */ 3251 _flag_k = FK_CMP; 3252 L_2B0428D7: 3253 eax = MEM32(ebx + 0xCC); /* 0x2B0428D7: mov eax, dword ptr [ebx + 0xcc] */ 3254 L_2B0428DD: 3255 PUSH32(esp, 0xFF00u); /* 0x2B0428DD: push 0xff00 */ 3256 L_2B0428E2: 3257 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B0428E2: mov dword ptr [ebp - 0x2c], ecx */ 3258 L_2B0428E5: 3259 MEM32(ebp + (-0x28)) = ecx; /* 0x2B0428E5: mov dword ptr [ebp - 0x28], ecx */ 3260 L_2B0428E8: 3261 MEM32(ebp + (-0x14)) = ecx; /* 0x2B0428E8: mov dword ptr [ebp - 0x14], ecx */ 3262 L_2B0428EB: 3263 MEM32(ebp + (-0x10)) = ecx; /* 0x2B0428EB: mov dword ptr [ebp - 0x10], ecx */ 3264 L_2B0428EE: 3265 PUSH32(esp, eax); /* 0x2B0428EE: push eax */ 3266 L_2B0428EF: 3267 ecx = ebp + (-0x14); /* 0x2B0428EF: lea ecx, [ebp - 0x14] */ 3268 L_2B0428F2: 3269 PUSH32(esp, ecx); /* 0x2B0428F2: push ecx */ 3270 L_2B0428F3: 3271 ecx = MEM32(ebx + 0xC4); /* 0x2B0428F3: mov ecx, dword ptr [ebx + 0xc4] */ 3272 L_2B0428F9: 3273 edx = ebp + (-0x2C); /* 0x2B0428F9: lea edx, [ebp - 0x2c] */ 3274 L_2B0428FC: 3275 PUSH32(esp, edx); /* 0x2B0428FC: push edx */ 3276 L_2B0428FD: 3277 MEM32(ebp + (-0x24)) = 0xAu; /* 0x2B0428FD: mov dword ptr [ebp - 0x24], 0xa */ 3278 L_2B042904: 3279 MEM32(ebp + (-0x20)) = esi; /* 0x2B042904: mov dword ptr [ebp - 0x20], esi */ 3280 L_2B042907: 3281 RECOMP_ICALL(edi); /* 0x2B042907: call edi */ 3282 RECOMP_FLAGS_IN(); 3283 L_2B042909: 3284 eax = MEM32(ebx + 0xC8); /* 0x2B042909: mov eax, dword ptr [ebx + 0xc8] */ 3285 L_2B04290F: 3286 PUSH32(esp, 0xFF00u); /* 0x2B04290F: push 0xff00 */ 3287 L_2B042914: 3288 PUSH32(esp, eax); /* 0x2B042914: push eax */ 3289 L_2B042915: 3290 ecx = ebp + (-0x14); /* 0x2B042915: lea ecx, [ebp - 0x14] */ 3291 L_2B042918: 3292 PUSH32(esp, ecx); /* 0x2B042918: push ecx */ 3293 L_2B042919: 3294 ecx = MEM32(ebx + 0xC4); /* 0x2B042919: mov ecx, dword ptr [ebx + 0xc4] */ 3295 L_2B04291F: 3296 edx = ebp + (-0x2C); /* 0x2B04291F: lea edx, [ebp - 0x2c] */ 3297 L_2B042922: 3298 PUSH32(esp, edx); /* 0x2B042922: push edx */ 3299 L_2B042923: 3300 MEM32(ebp + (-0x28)) = esi; /* 0x2B042923: mov dword ptr [ebp - 0x28], esi */ 3301 L_2B042926: 3302 MEM32(ebp + (-0x20)) = 0x80u; /* 0x2B042926: mov dword ptr [ebp - 0x20], 0x80 */ 3303 L_2B04292D: 3304 MEM32(ebp + (-0x10)) = esi; /* 0x2B04292D: mov dword ptr [ebp - 0x10], esi */ 3305 L_2B042930: 3306 RECOMP_ICALL(edi); /* 0x2B042930: call edi */ 3307 RECOMP_FLAGS_IN(); 3308 L_2B042932: 3309 eax = MEM32(ebx + 0xC4); /* 0x2B042932: mov eax, dword ptr [ebx + 0xc4] */ 3310 L_2B042938: 3311 ecx = MEM32(ebx + 0xDC); /* 0x2B042938: mov ecx, dword ptr [ebx + 0xdc] */ 3312 L_2B04293E: 3313 PUSH32(esp, eax); /* 0x2B04293E: push eax */ 3314 L_2B04293F: 3315 RECOMP_ICALL(MEM32(0x2B0B555C)); /* 0x2B04293F: call dword ptr [0x2b0b555c] */ 3316 RECOMP_FLAGS_IN(); 3317 L_2B042945: 3318 goto L_2B042BEA; /* 0x2B042945: jmp 0x2b042bea */ 3319 L_2B04294A: 3320 esi = MEM32(0x2B0B5D6C); /* 0x2B04294A: mov esi, dword ptr [0x2b0b5d6c] */ 3321 L_2B042950: 3322 PUSH32(esp, 2); /* 0x2B042950: push 2 */ 3323 L_2B042952: 3324 PUSH32(esp, 0xDDu); /* 0x2B042952: push 0xdd */ 3325 L_2B042957: 3326 RECOMP_ICALL(esi); /* 0x2B042957: call esi */ 3327 RECOMP_FLAGS_IN(); 3328 L_2B042959: 3329 ecx = eax; /* 0x2B042959: mov ecx, eax */ 3330 L_2B04295B: 3331 RECOMP_ICALL(MEM32(0x2B0B5D70)); /* 0x2B04295B: call dword ptr [0x2b0b5d70] */ 3332 RECOMP_FLAGS_IN(); 3333 L_2B042961: 3334 PUSH32(esp, 2); /* 0x2B042961: push 2 */ 3335 L_2B042963: 3336 PUSH32(esp, 0xD6u); /* 0x2B042963: push 0xd6 */ 3337 L_2B042968: 3338 MEM32(ebp + 0xC) = eax; /* 0x2B042968: mov dword ptr [ebp + 0xc], eax */ 3339 L_2B04296B: 3340 RECOMP_ICALL(esi); /* 0x2B04296B: call esi */ 3341 RECOMP_FLAGS_IN(); 3342 L_2B04296D: 3343 ecx = eax; /* 0x2B04296D: mov ecx, eax */ 3344 L_2B04296F: 3345 RECOMP_ICALL(MEM32(0x2B0B5D70)); /* 0x2B04296F: call dword ptr [0x2b0b5d70] */ 3346 RECOMP_FLAGS_IN(); 3347 L_2B042975: 3348 esi = eax; /* 0x2B042975: mov esi, eax */ 3349 L_2B042977: 3350 /* cmp esi, 0x499602D2u */ /* 0x2B042977: cmp esi, 0x499602d2 */ 3351 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x499602D2u); 3352 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3353 _flag_k = FK_CMP; 3354 L_2B04297D: 3355 MEM32(ebp + 0x8) = esi; /* 0x2B04297D: mov dword ptr [ebp + 8], esi */ 3356 L_2B042980: 3357 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B042987; /* 0x2B042980: jne 0x2b042987 */ 3358 L_2B042982: 3359 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3360 esi = 0; /* 0x2B042982: xor esi, esi */ 3361 _cf = 0; 3362 _flag_k = FK_TEST; 3363 L_2B042984: 3364 MEM32(ebp + 0x8) = esi; /* 0x2B042984: mov dword ptr [ebp + 8], esi */ 3365 L_2B042987: 3366 fp_push((double)(int32_t)MEM32(ebp + 0x8)); /* 0x2B042987: fild dword ptr [ebp + 8] */ 3367 L_2B04298A: 3368 _st[0] = _st[0] / (double)(int32_t)MEM32(ebp + 0xC); /* 0x2B04298A: fidiv dword ptr [ebp + 0xc] */ 3369 L_2B04298D: 3370 { float _v = (float)_st[0]; *(float*)ADDR(ebp + 0x8) = _v; } /* 0x2B04298D: fst dword ptr [ebp + 8] */ 3371 L_2B042990: 3372 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B63D0)); /* 0x2B042990: fcomp dword ptr [0x2b0b63d0] */ 3373 fp_pop(); 3374 L_2B042996: 3375 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B042996: fnstsw ax */ 3376 L_2B042998: 3377 /* test HI8(eax), 0x41u */ /* 0x2B042998: test ah, 0x41 */ 3378 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 3379 _cf = 0; 3380 _flag_k = FK_NARROW(FK_TEST, 24); 3381 L_2B04299B: 3382 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B0429A4; /* 0x2B04299B: jne 0x2b0429a4 */ 3383 L_2B04299D: 3384 MEM32(ebp + 0x8) = 0x3F800000u; /* 0x2B04299D: mov dword ptr [ebp + 8], 0x3f800000 */ 3385 L_2B0429A4: 3386 ecx = MEM32(ebp + 0x8); /* 0x2B0429A4: mov ecx, dword ptr [ebp + 8] */ 3387 L_2B0429A7: 3388 PUSH32(esp, ecx); /* 0x2B0429A7: push ecx */ 3389 L_2B0429A8: 3390 ecx = MEM32(ebx + 0x44); /* 0x2B0429A8: mov ecx, dword ptr [ebx + 0x44] */ 3391 L_2B0429AB: 3392 RECOMP_ICALL(MEM32(0x2B0B5854)); /* 0x2B0429AB: call dword ptr [0x2b0b5854] */ 3393 RECOMP_FLAGS_IN(); 3394 L_2B0429B1: 3395 edx = MEM32(ebp + 0xC); /* 0x2B0429B1: mov edx, dword ptr [ebp + 0xc] */ 3396 L_2B0429B4: 3397 PUSH32(esp, edx); /* 0x2B0429B4: push edx */ 3398 L_2B0429B5: 3399 PUSH32(esp, esi); /* 0x2B0429B5: push esi */ 3400 L_2B0429B6: 3401 PUSH32(esp, 0x2B0E734Cu); /* 0x2B0429B6: push 0x2b0e734c */ 3402 L_2B0429BB: 3403 PUSH32(esp, 0x2B0EEA30u); /* 0x2B0429BB: push 0x2b0eea30 */ 3404 L_2B0429C0: 3405 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B0429C0: call dword ptr [0x2b0b51f0] */ 3406 RECOMP_FLAGS_IN(); 3407 L_2B0429C6: 3408 ecx = MEM32(ebx + 0x80); /* 0x2B0429C6: mov ecx, dword ptr [ebx + 0x80] */ 3409 L_2B0429CC: 3410 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 3411 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3412 esp = esp + 0x10u; /* 0x2B0429CC: add esp, 0x10 */ 3413 _flag_k = FK_ADD; 3414 L_2B0429CF: 3415 PUSH32(esp, 0x2B0EEA30u); /* 0x2B0429CF: push 0x2b0eea30 */ 3416 L_2B0429D4: 3417 RECOMP_ICALL(MEM32(0x2B0B5850)); /* 0x2B0429D4: call dword ptr [0x2b0b5850] */ 3418 RECOMP_FLAGS_IN(); 3419 L_2B0429DA: 3420 /* cmp edi, 0xDDu */ /* 0x2B0429DA: cmp edi, 0xdd */ 3421 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xDDu); 3422 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3423 _flag_k = FK_CMP; 3424 L_2B0429E0: 3425 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B0429F8; /* 0x2B0429E0: jne 0x2b0429f8 */ 3426 L_2B0429E2: 3427 eax = MEM32(ebp + 0xC); /* 0x2B0429E2: mov eax, dword ptr [ebp + 0xc] */ 3428 L_2B0429E5: 3429 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3430 edi = 0; /* 0x2B0429E5: xor edi, edi */ 3431 _cf = 0; 3432 _flag_k = FK_TEST; 3433 L_2B0429E7: 3434 /* cmp eax, edi */ /* 0x2B0429E7: cmp eax, edi */ 3435 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3436 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3437 _flag_k = FK_CMP; 3438 L_2B0429E9: 3439 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_G, _cf)) goto L_2B0429FA; /* 0x2B0429E9: jg 0x2b0429fa */ 3440 L_2B0429EB: 3441 ecx = MEM32(ebx + 0xE0); /* 0x2B0429EB: mov ecx, dword ptr [ebx + 0xe0] */ 3442 L_2B0429F1: 3443 eax = MEM32(ecx); /* 0x2B0429F1: mov eax, dword ptr [ecx] */ 3444 L_2B0429F3: 3445 RECOMP_ICALL(MEM32(eax + 0xC)); /* 0x2B0429F3: call dword ptr [eax + 0xc] */ 3446 RECOMP_FLAGS_IN(); 3447 L_2B0429F6: 3448 goto L_2B042A05; /* 0x2B0429F6: jmp 0x2b042a05 */ 3449 L_2B0429F8: 3450 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3451 edi = 0; /* 0x2B0429F8: xor edi, edi */ 3452 _cf = 0; 3453 _flag_k = FK_TEST; 3454 L_2B0429FA: 3455 ecx = MEM32(ebx + 0xE0); /* 0x2B0429FA: mov ecx, dword ptr [ebx + 0xe0] */ 3456 L_2B042A00: 3457 edx = MEM32(ecx); /* 0x2B042A00: mov edx, dword ptr [ecx] */ 3458 L_2B042A02: 3459 RECOMP_ICALL(MEM32(edx + 0x8)); /* 0x2B042A02: call dword ptr [edx + 8] */ 3460 RECOMP_FLAGS_IN(); 3461 L_2B042A05: 3462 fp_push(*(float*)&MEM32(ebp + 0x8)); /* 0x2B042A05: fld dword ptr [ebp + 8] */ 3463 L_2B042A08: 3464 _st[0] *= (double)*(float*)ADDR(0x2B0B69C8); /* 0x2B042A08: fmul dword ptr [0x2b0b69c8] */ 3465 L_2B042A0E: 3466 _st[0] += (double)*(float*)ADDR(0x2B0B6864); /* 0x2B042A0E: fadd dword ptr [0x2b0b6864] */ 3467 L_2B042A14: 3468 RECOMP_ICALL(0x2B0AB220u); /* 0x2B042A14: call 0x2b0ab220 */ /* not lifted */ 3469 RECOMP_FLAGS_IN(); 3470 L_2B042A19: 3471 esi = 0x80u; /* 0x2B042A19: mov esi, 0x80 */ 3472 L_2B042A1E: 3473 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 3474 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3475 esi = esi - eax; /* 0x2B042A1E: sub esi, eax */ 3476 _flag_k = FK_CMP; 3477 L_2B042A20: 3478 eax = MEM32(ebx + 0xD8); /* 0x2B042A20: mov eax, dword ptr [ebx + 0xd8] */ 3479 L_2B042A26: 3480 PUSH32(esp, 0xFF00u); /* 0x2B042A26: push 0xff00 */ 3481 L_2B042A2B: 3482 PUSH32(esp, eax); /* 0x2B042A2B: push eax */ 3483 L_2B042A2C: 3484 ecx = ebp + (-0x1C); /* 0x2B042A2C: lea ecx, [ebp - 0x1c] */ 3485 L_2B042A2F: 3486 PUSH32(esp, ecx); /* 0x2B042A2F: push ecx */ 3487 L_2B042A30: 3488 ecx = MEM32(ebx + 0xD0); /* 0x2B042A30: mov ecx, dword ptr [ebx + 0xd0] */ 3489 L_2B042A36: 3490 edx = ebp + (-0x3C); /* 0x2B042A36: lea edx, [ebp - 0x3c] */ 3491 L_2B042A39: 3492 MEM32(ebp + (-0x3C)) = edi; /* 0x2B042A39: mov dword ptr [ebp - 0x3c], edi */ 3493 L_2B042A3C: 3494 MEM32(ebp + (-0x38)) = edi; /* 0x2B042A3C: mov dword ptr [ebp - 0x38], edi */ 3495 L_2B042A3F: 3496 MEM32(ebp + (-0x1C)) = edi; /* 0x2B042A3F: mov dword ptr [ebp - 0x1c], edi */ 3497 L_2B042A42: 3498 MEM32(ebp + (-0x18)) = edi; /* 0x2B042A42: mov dword ptr [ebp - 0x18], edi */ 3499 L_2B042A45: 3500 edi = MEM32(0x2B0B5554); /* 0x2B042A45: mov edi, dword ptr [0x2b0b5554] */ 3501 L_2B042A4B: 3502 PUSH32(esp, edx); /* 0x2B042A4B: push edx */ 3503 L_2B042A4C: 3504 MEM32(ebp + (-0x34)) = 0xAu; /* 0x2B042A4C: mov dword ptr [ebp - 0x34], 0xa */ 3505 L_2B042A53: 3506 MEM32(ebp + (-0x30)) = esi; /* 0x2B042A53: mov dword ptr [ebp - 0x30], esi */ 3507 L_2B042A56: 3508 RECOMP_ICALL(edi); /* 0x2B042A56: call edi */ 3509 RECOMP_FLAGS_IN(); 3510 L_2B042A58: 3511 eax = MEM32(ebx + 0xD4); /* 0x2B042A58: mov eax, dword ptr [ebx + 0xd4] */ 3512 L_2B042A5E: 3513 PUSH32(esp, 0xFF00u); /* 0x2B042A5E: push 0xff00 */ 3514 L_2B042A63: 3515 PUSH32(esp, eax); /* 0x2B042A63: push eax */ 3516 L_2B042A64: 3517 ecx = ebp + (-0x1C); /* 0x2B042A64: lea ecx, [ebp - 0x1c] */ 3518 L_2B042A67: 3519 PUSH32(esp, ecx); /* 0x2B042A67: push ecx */ 3520 L_2B042A68: 3521 ecx = MEM32(ebx + 0xD0); /* 0x2B042A68: mov ecx, dword ptr [ebx + 0xd0] */ 3522 L_2B042A6E: 3523 edx = ebp + (-0x3C); /* 0x2B042A6E: lea edx, [ebp - 0x3c] */ 3524 L_2B042A71: 3525 PUSH32(esp, edx); /* 0x2B042A71: push edx */ 3526 L_2B042A72: 3527 MEM32(ebp + (-0x38)) = esi; /* 0x2B042A72: mov dword ptr [ebp - 0x38], esi */ 3528 L_2B042A75: 3529 MEM32(ebp + (-0x30)) = 0x80u; /* 0x2B042A75: mov dword ptr [ebp - 0x30], 0x80 */ 3530 L_2B042A7C: 3531 MEM32(ebp + (-0x18)) = esi; /* 0x2B042A7C: mov dword ptr [ebp - 0x18], esi */ 3532 L_2B042A7F: 3533 RECOMP_ICALL(edi); /* 0x2B042A7F: call edi */ 3534 RECOMP_FLAGS_IN(); 3535 L_2B042A81: 3536 eax = MEM32(ebx + 0xD0); /* 0x2B042A81: mov eax, dword ptr [ebx + 0xd0] */ 3537 L_2B042A87: 3538 ecx = MEM32(ebx + 0xE0); /* 0x2B042A87: mov ecx, dword ptr [ebx + 0xe0] */ 3539 L_2B042A8D: 3540 PUSH32(esp, eax); /* 0x2B042A8D: push eax */ 3541 L_2B042A8E: 3542 RECOMP_ICALL(MEM32(0x2B0B555C)); /* 0x2B042A8E: call dword ptr [0x2b0b555c] */ 3543 RECOMP_FLAGS_IN(); 3544 L_2B042A94: 3545 goto L_2B042BEA; /* 0x2B042A94: jmp 0x2b042bea */ 3546 L_2B042A99: 3547 ecx = ebx; /* 0x2B042A99: mov ecx, ebx */ 3548 L_2B042A9B: 3549 RECOMP_ICALL(0x2B0438F0u); /* 0x2B042A9B: call 0x2b0438f0 */ /* not lifted */ 3550 RECOMP_FLAGS_IN(); 3551 L_2B042AA0: 3552 ecx = MEM32(ebp + 0xC); /* 0x2B042AA0: mov ecx, dword ptr [ebp + 0xc] */ 3553 L_2B042AA3: 3554 PUSH32(esp, ecx); /* 0x2B042AA3: push ecx */ 3555 L_2B042AA4: 3556 PUSH32(esp, 0x2B0E7354u); /* 0x2B042AA4: push 0x2b0e7354 */ 3557 L_2B042AA9: 3558 PUSH32(esp, 0x2B0EEA30u); /* 0x2B042AA9: push 0x2b0eea30 */ 3559 L_2B042AAE: 3560 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B042AAE: call dword ptr [0x2b0b51f0] */ 3561 RECOMP_FLAGS_IN(); 3562 L_2B042AB4: 3563 ecx = MEM32(ebx + 0x5C); /* 0x2B042AB4: mov ecx, dword ptr [ebx + 0x5c] */ 3564 L_2B042AB7: 3565 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 3566 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3567 esp = esp + 0xCu; /* 0x2B042AB7: add esp, 0xc */ 3568 _flag_k = FK_ADD; 3569 L_2B042ABA: 3570 PUSH32(esp, 0x2B0EEA30u); /* 0x2B042ABA: push 0x2b0eea30 */ 3571 L_2B042ABF: 3572 RECOMP_ICALL(MEM32(0x2B0B5850)); /* 0x2B042ABF: call dword ptr [0x2b0b5850] */ 3573 RECOMP_FLAGS_IN(); 3574 L_2B042AC5: 3575 edx = MEM32(ebx + 0x5C); /* 0x2B042AC5: mov edx, dword ptr [ebx + 0x5c] */ 3576 L_2B042AC8: 3577 PUSH32(esp, edi); /* 0x2B042AC8: push edi */ 3578 L_2B042AC9: 3579 PUSH32(esp, edx); /* 0x2B042AC9: push edx */ 3580 L_2B042ACA: 3581 ecx = ebx; /* 0x2B042ACA: mov ecx, ebx */ 3582 L_2B042ACC: 3583 RECOMP_ICALL(0x2B042460u); /* 0x2B042ACC: call 0x2b042460 */ /* not lifted */ 3584 RECOMP_FLAGS_IN(); 3585 L_2B042AD1: 3586 goto L_2B042BEA; /* 0x2B042AD1: jmp 0x2b042bea */ 3587 L_2B042AD6: 3588 ecx = ebx; /* 0x2B042AD6: mov ecx, ebx */ 3589 L_2B042AD8: 3590 RECOMP_ICALL(0x2B0438F0u); /* 0x2B042AD8: call 0x2b0438f0 */ /* not lifted */ 3591 RECOMP_FLAGS_IN(); 3592 L_2B042ADD: 3593 eax = MEM32(ebp + 0xC); /* 0x2B042ADD: mov eax, dword ptr [ebp + 0xc] */ 3594 L_2B042AE0: 3595 PUSH32(esp, eax); /* 0x2B042AE0: push eax */ 3596 L_2B042AE1: 3597 PUSH32(esp, 0x2B0E7354u); /* 0x2B042AE1: push 0x2b0e7354 */ 3598 L_2B042AE6: 3599 PUSH32(esp, 0x2B0EEA30u); /* 0x2B042AE6: push 0x2b0eea30 */ 3600 L_2B042AEB: 3601 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B042AEB: call dword ptr [0x2b0b51f0] */ 3602 RECOMP_FLAGS_IN(); 3603 L_2B042AF1: 3604 ecx = MEM32(ebx + 0x60); /* 0x2B042AF1: mov ecx, dword ptr [ebx + 0x60] */ 3605 L_2B042AF4: 3606 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 3607 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3608 esp = esp + 0xCu; /* 0x2B042AF4: add esp, 0xc */ 3609 _flag_k = FK_ADD; 3610 L_2B042AF7: 3611 PUSH32(esp, 0x2B0EEA30u); /* 0x2B042AF7: push 0x2b0eea30 */ 3612 L_2B042AFC: 3613 RECOMP_ICALL(MEM32(0x2B0B5850)); /* 0x2B042AFC: call dword ptr [0x2b0b5850] */ 3614 RECOMP_FLAGS_IN(); 3615 L_2B042B02: 3616 ecx = MEM32(ebx + 0x60); /* 0x2B042B02: mov ecx, dword ptr [ebx + 0x60] */ 3617 L_2B042B05: 3618 PUSH32(esp, edi); /* 0x2B042B05: push edi */ 3619 L_2B042B06: 3620 PUSH32(esp, ecx); /* 0x2B042B06: push ecx */ 3621 L_2B042B07: 3622 ecx = ebx; /* 0x2B042B07: mov ecx, ebx */ 3623 L_2B042B09: 3624 RECOMP_ICALL(0x2B042460u); /* 0x2B042B09: call 0x2b042460 */ /* not lifted */ 3625 RECOMP_FLAGS_IN(); 3626 L_2B042B0E: 3627 goto L_2B042BEA; /* 0x2B042B0E: jmp 0x2b042bea */ 3628 L_2B042B13: 3629 ecx = ebx; /* 0x2B042B13: mov ecx, ebx */ 3630 L_2B042B15: 3631 RECOMP_ICALL(0x2B0438F0u); /* 0x2B042B15: call 0x2b0438f0 */ /* not lifted */ 3632 RECOMP_FLAGS_IN(); 3633 L_2B042B1A: 3634 edx = MEM32(ebp + 0xC); /* 0x2B042B1A: mov edx, dword ptr [ebp + 0xc] */ 3635 L_2B042B1D: 3636 PUSH32(esp, edx); /* 0x2B042B1D: push edx */ 3637 L_2B042B1E: 3638 PUSH32(esp, 0x2B0E7354u); /* 0x2B042B1E: push 0x2b0e7354 */ 3639 L_2B042B23: 3640 PUSH32(esp, 0x2B0EEA30u); /* 0x2B042B23: push 0x2b0eea30 */ 3641 L_2B042B28: 3642 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B042B28: call dword ptr [0x2b0b51f0] */ 3643 RECOMP_FLAGS_IN(); 3644 L_2B042B2E: 3645 ecx = MEM32(ebx + 0x64); /* 0x2B042B2E: mov ecx, dword ptr [ebx + 0x64] */ 3646 L_2B042B31: 3647 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 3648 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3649 esp = esp + 0xCu; /* 0x2B042B31: add esp, 0xc */ 3650 _flag_k = FK_ADD; 3651 L_2B042B34: 3652 PUSH32(esp, 0x2B0EEA30u); /* 0x2B042B34: push 0x2b0eea30 */ 3653 L_2B042B39: 3654 RECOMP_ICALL(MEM32(0x2B0B5850)); /* 0x2B042B39: call dword ptr [0x2b0b5850] */ 3655 RECOMP_FLAGS_IN(); 3656 L_2B042B3F: 3657 eax = MEM32(ebx + 0x64); /* 0x2B042B3F: mov eax, dword ptr [ebx + 0x64] */ 3658 L_2B042B42: 3659 PUSH32(esp, edi); /* 0x2B042B42: push edi */ 3660 L_2B042B43: 3661 PUSH32(esp, eax); /* 0x2B042B43: push eax */ 3662 L_2B042B44: 3663 ecx = ebx; /* 0x2B042B44: mov ecx, ebx */ 3664 L_2B042B46: 3665 RECOMP_ICALL(0x2B042460u); /* 0x2B042B46: call 0x2b042460 */ /* not lifted */ 3666 RECOMP_FLAGS_IN(); 3667 L_2B042B4B: 3668 goto L_2B042BEA; /* 0x2B042B4B: jmp 0x2b042bea */ 3669 L_2B042B50: 3670 esi = MEM32(0x2B0B5D6C); /* 0x2B042B50: mov esi, dword ptr [0x2b0b5d6c] */ 3671 L_2B042B56: 3672 PUSH32(esp, 2); /* 0x2B042B56: push 2 */ 3673 L_2B042B58: 3674 PUSH32(esp, 0xB5u); /* 0x2B042B58: push 0xb5 */ 3675 L_2B042B5D: 3676 RECOMP_ICALL(esi); /* 0x2B042B5D: call esi */ 3677 RECOMP_FLAGS_IN(); 3678 L_2B042B5F: 3679 edi = MEM32(0x2B0B5D70); /* 0x2B042B5F: mov edi, dword ptr [0x2b0b5d70] */ 3680 L_2B042B65: 3681 ecx = eax; /* 0x2B042B65: mov ecx, eax */ 3682 L_2B042B67: 3683 RECOMP_ICALL(edi); /* 0x2B042B67: call edi */ 3684 RECOMP_FLAGS_IN(); 3685 L_2B042B69: 3686 PUSH32(esp, 2); /* 0x2B042B69: push 2 */ 3687 L_2B042B6B: 3688 PUSH32(esp, 0xB4u); /* 0x2B042B6B: push 0xb4 */ 3689 L_2B042B70: 3690 MEM32(ebp + 0xC) = eax; /* 0x2B042B70: mov dword ptr [ebp + 0xc], eax */ 3691 L_2B042B73: 3692 RECOMP_ICALL(esi); /* 0x2B042B73: call esi */ 3693 RECOMP_FLAGS_IN(); 3694 L_2B042B75: 3695 ecx = eax; /* 0x2B042B75: mov ecx, eax */ 3696 L_2B042B77: 3697 RECOMP_ICALL(edi); /* 0x2B042B77: call edi */ 3698 RECOMP_FLAGS_IN(); 3699 L_2B042B79: 3700 ecx = MEM32(ebp + 0xC); /* 0x2B042B79: mov ecx, dword ptr [ebp + 0xc] */ 3701 L_2B042B7C: 3702 PUSH32(esp, ecx); /* 0x2B042B7C: push ecx */ 3703 L_2B042B7D: 3704 PUSH32(esp, eax); /* 0x2B042B7D: push eax */ 3705 L_2B042B7E: 3706 PUSH32(esp, 0x2B0E7340u); /* 0x2B042B7E: push 0x2b0e7340 */ 3707 L_2B042B83: 3708 PUSH32(esp, 0x2B0EEA30u); /* 0x2B042B83: push 0x2b0eea30 */ 3709 L_2B042B88: 3710 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B042B88: call dword ptr [0x2b0b51f0] */ 3711 RECOMP_FLAGS_IN(); 3712 L_2B042B8E: 3713 ecx = MEM32(ebx + 0x70); /* 0x2B042B8E: mov ecx, dword ptr [ebx + 0x70] */ 3714 L_2B042B91: 3715 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 3716 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3717 esp = esp + 0x10u; /* 0x2B042B91: add esp, 0x10 */ 3718 _flag_k = FK_ADD; 3719 L_2B042B94: 3720 PUSH32(esp, 0x2B0EEA30u); /* 0x2B042B94: push 0x2b0eea30 */ 3721 L_2B042B99: 3722 goto L_2B042BE4; /* 0x2B042B99: jmp 0x2b042be4 */ 3723 L_2B042B9B: 3724 esi = MEM32(0x2B0B5D6C); /* 0x2B042B9B: mov esi, dword ptr [0x2b0b5d6c] */ 3725 L_2B042BA1: 3726 PUSH32(esp, 3); /* 0x2B042BA1: push 3 */ 3727 L_2B042BA3: 3728 PUSH32(esp, 0x10u); /* 0x2B042BA3: push 0x10 */ 3729 L_2B042BA5: 3730 RECOMP_ICALL(esi); /* 0x2B042BA5: call esi */ 3731 RECOMP_FLAGS_IN(); 3732 L_2B042BA7: 3733 edi = MEM32(0x2B0B5D70); /* 0x2B042BA7: mov edi, dword ptr [0x2b0b5d70] */ 3734 L_2B042BAD: 3735 ecx = eax; /* 0x2B042BAD: mov ecx, eax */ 3736 L_2B042BAF: 3737 RECOMP_ICALL(edi); /* 0x2B042BAF: call edi */ 3738 RECOMP_FLAGS_IN(); 3739 L_2B042BB1: 3740 PUSH32(esp, 2); /* 0x2B042BB1: push 2 */ 3741 L_2B042BB3: 3742 PUSH32(esp, 0x4Eu); /* 0x2B042BB3: push 0x4e */ 3743 L_2B042BB5: 3744 RECOMP_ICALL(esi); /* 0x2B042BB5: call esi */ 3745 RECOMP_FLAGS_IN(); 3746 L_2B042BB7: 3747 ecx = eax; /* 0x2B042BB7: mov ecx, eax */ 3748 L_2B042BB9: 3749 RECOMP_ICALL(edi); /* 0x2B042BB9: call edi */ 3750 RECOMP_FLAGS_IN(); 3751 L_2B042BBB: 3752 PUSH32(esp, 0x2B0E7338u); /* 0x2B042BBB: push 0x2b0e7338 */ 3753 L_2B042BC0: 3754 PUSH32(esp, 0x2B0EEA30u); /* 0x2B042BC0: push 0x2b0eea30 */ 3755 L_2B042BC5: 3756 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B042BC5: call dword ptr [0x2b0b51f0] */ 3757 RECOMP_FLAGS_IN(); 3758 L_2B042BCB: 3759 ecx = MEM32(ebx + 0x68); /* 0x2B042BCB: mov ecx, dword ptr [ebx + 0x68] */ 3760 L_2B042BCE: 3761 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 3762 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3763 esp = esp + 8; /* 0x2B042BCE: add esp, 8 */ 3764 _flag_k = FK_ADD; 3765 L_2B042BD1: 3766 PUSH32(esp, 0x00FFFFFFu); /* 0x2B042BD1: push 0xffffff */ 3767 L_2B042BD6: 3768 RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B042BD6: call dword ptr [0x2b0b5858] */ 3769 RECOMP_FLAGS_IN(); 3770 L_2B042BDC: 3771 ecx = MEM32(ebx + 0x68); /* 0x2B042BDC: mov ecx, dword ptr [ebx + 0x68] */ 3772 L_2B042BDF: 3773 PUSH32(esp, 0x2B0EEA30u); /* 0x2B042BDF: push 0x2b0eea30 */ 3774 L_2B042BE4: 3775 RECOMP_ICALL(MEM32(0x2B0B5850)); /* 0x2B042BE4: call dword ptr [0x2b0b5850] */ 3776 RECOMP_FLAGS_IN(); 3777 L_2B042BEA: 3778 ecx = ebx; /* 0x2B042BEA: mov ecx, ebx */ 3779 L_2B042BEC: 3780 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B042BEC: call 0x2b03a2b0 */ /* not lifted */ 3781 RECOMP_FLAGS_IN(); 3782 L_2B042BF1: 3783 ecx = MEM32(ebp + (-0xC)); /* 0x2B042BF1: mov ecx, dword ptr [ebp - 0xc] */ 3784 L_2B042BF4: 3785 edi = POP32_VAL(esp); /* 0x2B042BF4: pop edi */ 3786 L_2B042BF5: 3787 esi = POP32_VAL(esp); /* 0x2B042BF5: pop esi */ 3788 L_2B042BF6: 3789 ebx = POP32_VAL(esp); /* 0x2B042BF6: pop ebx */ 3790 L_2B042BF7: 3791 MEM32(FS_BASE + (0)) = ecx; /* 0x2B042BF7: mov dword ptr fs:[0], ecx */ 3792 L_2B042BFE: 3793 esp = ebp; /* 0x2B042BFE: mov esp, ebp */ 3794 L_2B042C00: 3795 ebp = POP32_VAL(esp); /* 0x2B042C00: pop ebp */ 3796 L_2B042C01: 3797 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B042C01: ret 8 */ 3798 _ljump: 3799 switch (_itail_tgt) { 3800 case 0x2B0424D0u: goto L_2B0424D0; 3801 case 0x2B0424D1u: goto L_2B0424D1; 3802 case 0x2B0424D3u: goto L_2B0424D3; 3803 case 0x2B0424D5u: goto L_2B0424D5; 3804 case 0x2B0424DAu: goto L_2B0424DA; 3805 case 0x2B0424E0u: goto L_2B0424E0; 3806 case 0x2B0424E1u: goto L_2B0424E1; 3807 case 0x2B0424E8u: goto L_2B0424E8; 3808 case 0x2B0424EBu: goto L_2B0424EB; 3809 case 0x2B0424ECu: goto L_2B0424EC; 3810 case 0x2B0424EDu: goto L_2B0424ED; 3811 case 0x2B0424EEu: goto L_2B0424EE; 3812 case 0x2B0424F1u: goto L_2B0424F1; 3813 case 0x2B0424F4u: goto L_2B0424F4; 3814 case 0x2B0424F9u: goto L_2B0424F9; 3815 case 0x2B0424FBu: goto L_2B0424FB; 3816 case 0x2B042501u: goto L_2B042501; 3817 case 0x2B042503u: goto L_2B042503; 3818 case 0x2B042509u: goto L_2B042509; 3819 case 0x2B042510u: goto L_2B042510; 3820 case 0x2B042516u: goto L_2B042516; 3821 case 0x2B04251Bu: goto L_2B04251B; 3822 case 0x2B04251Eu: goto L_2B04251E; 3823 case 0x2B042520u: goto L_2B042520; 3824 case 0x2B042522u: goto L_2B042522; 3825 case 0x2B042524u: goto L_2B042524; 3826 case 0x2B042527u: goto L_2B042527; 3827 case 0x2B042529u: goto L_2B042529; 3828 case 0x2B04252Cu: goto L_2B04252C; 3829 case 0x2B04252Fu: goto L_2B04252F; 3830 case 0x2B042532u: goto L_2B042532; 3831 case 0x2B042535u: goto L_2B042535; 3832 case 0x2B042536u: goto L_2B042536; 3833 case 0x2B042539u: goto L_2B042539; 3834 case 0x2B04253Fu: goto L_2B04253F; 3835 case 0x2B042541u: goto L_2B042541; 3836 case 0x2B042547u: goto L_2B042547; 3837 case 0x2B04254Au: goto L_2B04254A; 3838 case 0x2B04254Du: goto L_2B04254D; 3839 case 0x2B04254Fu: goto L_2B04254F; 3840 case 0x2B042551u: goto L_2B042551; 3841 case 0x2B042554u: goto L_2B042554; 3842 case 0x2B042557u: goto L_2B042557; 3843 case 0x2B04255Au: goto L_2B04255A; 3844 case 0x2B04255Du: goto L_2B04255D; 3845 case 0x2B04255Fu: goto L_2B04255F; 3846 case 0x2B042561u: goto L_2B042561; 3847 case 0x2B042563u: goto L_2B042563; 3848 case 0x2B042564u: goto L_2B042564; 3849 case 0x2B042566u: goto L_2B042566; 3850 case 0x2B042568u: goto L_2B042568; 3851 case 0x2B042569u: goto L_2B042569; 3852 case 0x2B04256Cu: goto L_2B04256C; 3853 case 0x2B04256Fu: goto L_2B04256F; 3854 case 0x2B042575u: goto L_2B042575; 3855 case 0x2B042577u: goto L_2B042577; 3856 case 0x2B042579u: goto L_2B042579; 3857 case 0x2B04257Bu: goto L_2B04257B; 3858 case 0x2B04257Eu: goto L_2B04257E; 3859 case 0x2B042580u: goto L_2B042580; 3860 case 0x2B042583u: goto L_2B042583; 3861 case 0x2B042585u: goto L_2B042585; 3862 case 0x2B042587u: goto L_2B042587; 3863 case 0x2B04258Au: goto L_2B04258A; 3864 case 0x2B04258Cu: goto L_2B04258C; 3865 case 0x2B04258Fu: goto L_2B04258F; 3866 case 0x2B042591u: goto L_2B042591; 3867 case 0x2B042594u: goto L_2B042594; 3868 case 0x2B042598u: goto L_2B042598; 3869 case 0x2B04259Au: goto L_2B04259A; 3870 case 0x2B04259Du: goto L_2B04259D; 3871 case 0x2B0425A3u: goto L_2B0425A3; 3872 case 0x2B0425A6u: goto L_2B0425A6; 3873 case 0x2B0425A9u: goto L_2B0425A9; 3874 case 0x2B0425ACu: goto L_2B0425AC; 3875 case 0x2B0425AEu: goto L_2B0425AE; 3876 case 0x2B0425B0u: goto L_2B0425B0; 3877 case 0x2B0425B3u: goto L_2B0425B3; 3878 case 0x2B0425B5u: goto L_2B0425B5; 3879 case 0x2B0425B8u: goto L_2B0425B8; 3880 case 0x2B0425BBu: goto L_2B0425BB; 3881 case 0x2B0425BDu: goto L_2B0425BD; 3882 case 0x2B0425C0u: goto L_2B0425C0; 3883 case 0x2B0425C2u: goto L_2B0425C2; 3884 case 0x2B0425C5u: goto L_2B0425C5; 3885 case 0x2B0425C7u: goto L_2B0425C7; 3886 case 0x2B0425C9u: goto L_2B0425C9; 3887 case 0x2B0425CCu: goto L_2B0425CC; 3888 case 0x2B0425CFu: goto L_2B0425CF; 3889 case 0x2B0425D1u: goto L_2B0425D1; 3890 case 0x2B0425D7u: goto L_2B0425D7; 3891 case 0x2B0425DAu: goto L_2B0425DA; 3892 case 0x2B0425DDu: goto L_2B0425DD; 3893 case 0x2B0425DFu: goto L_2B0425DF; 3894 case 0x2B0425E1u: goto L_2B0425E1; 3895 case 0x2B0425E3u: goto L_2B0425E3; 3896 case 0x2B0425E6u: goto L_2B0425E6; 3897 case 0x2B0425E9u: goto L_2B0425E9; 3898 case 0x2B0425EBu: goto L_2B0425EB; 3899 case 0x2B0425EDu: goto L_2B0425ED; 3900 case 0x2B0425EFu: goto L_2B0425EF; 3901 case 0x2B0425F5u: goto L_2B0425F5; 3902 case 0x2B0425F8u: goto L_2B0425F8; 3903 case 0x2B0425FBu: goto L_2B0425FB; 3904 case 0x2B0425FEu: goto L_2B0425FE; 3905 case 0x2B042600u: goto L_2B042600; 3906 case 0x2B042602u: goto L_2B042602; 3907 case 0x2B042604u: goto L_2B042604; 3908 case 0x2B042605u: goto L_2B042605; 3909 case 0x2B042607u: goto L_2B042607; 3910 case 0x2B042608u: goto L_2B042608; 3911 case 0x2B042609u: goto L_2B042609; 3912 case 0x2B04260Fu: goto L_2B04260F; 3913 case 0x2B042612u: goto L_2B042612; 3914 case 0x2B042615u: goto L_2B042615; 3915 case 0x2B042618u: goto L_2B042618; 3916 case 0x2B04261Au: goto L_2B04261A; 3917 case 0x2B04261Cu: goto L_2B04261C; 3918 case 0x2B04261Du: goto L_2B04261D; 3919 case 0x2B04261Fu: goto L_2B04261F; 3920 case 0x2B042625u: goto L_2B042625; 3921 case 0x2B042627u: goto L_2B042627; 3922 case 0x2B042629u: goto L_2B042629; 3923 case 0x2B04262Au: goto L_2B04262A; 3924 case 0x2B04262Cu: goto L_2B04262C; 3925 case 0x2B042632u: goto L_2B042632; 3926 case 0x2B042634u: goto L_2B042634; 3927 case 0x2B042636u: goto L_2B042636; 3928 case 0x2B042638u: goto L_2B042638; 3929 case 0x2B04263Eu: goto L_2B04263E; 3930 case 0x2B042643u: goto L_2B042643; 3931 case 0x2B042645u: goto L_2B042645; 3932 case 0x2B042647u: goto L_2B042647; 3933 case 0x2B042649u: goto L_2B042649; 3934 case 0x2B04264Bu: goto L_2B04264B; 3935 case 0x2B04264Eu: goto L_2B04264E; 3936 case 0x2B042650u: goto L_2B042650; 3937 case 0x2B042652u: goto L_2B042652; 3938 case 0x2B042657u: goto L_2B042657; 3939 case 0x2B04265Bu: goto L_2B04265B; 3940 case 0x2B04265Du: goto L_2B04265D; 3941 case 0x2B04265Fu: goto L_2B04265F; 3942 case 0x2B042661u: goto L_2B042661; 3943 case 0x2B042667u: goto L_2B042667; 3944 case 0x2B04266Au: goto L_2B04266A; 3945 case 0x2B04266Cu: goto L_2B04266C; 3946 case 0x2B04266Eu: goto L_2B04266E; 3947 case 0x2B042673u: goto L_2B042673; 3948 case 0x2B042676u: goto L_2B042676; 3949 case 0x2B042679u: goto L_2B042679; 3950 case 0x2B04267Cu: goto L_2B04267C; 3951 case 0x2B04267Fu: goto L_2B04267F; 3952 case 0x2B042682u: goto L_2B042682; 3953 case 0x2B042685u: goto L_2B042685; 3954 case 0x2B042687u: goto L_2B042687; 3955 case 0x2B042689u: goto L_2B042689; 3956 case 0x2B04268Au: goto L_2B04268A; 3957 case 0x2B04268Cu: goto L_2B04268C; 3958 case 0x2B042692u: goto L_2B042692; 3959 case 0x2B042694u: goto L_2B042694; 3960 case 0x2B042696u: goto L_2B042696; 3961 case 0x2B042699u: goto L_2B042699; 3962 case 0x2B04269Bu: goto L_2B04269B; 3963 case 0x2B04269Du: goto L_2B04269D; 3964 case 0x2B0426A2u: goto L_2B0426A2; 3965 case 0x2B0426A5u: goto L_2B0426A5; 3966 case 0x2B0426A7u: goto L_2B0426A7; 3967 case 0x2B0426A9u: goto L_2B0426A9; 3968 case 0x2B0426ABu: goto L_2B0426AB; 3969 case 0x2B0426AEu: goto L_2B0426AE; 3970 case 0x2B0426B0u: goto L_2B0426B0; 3971 case 0x2B0426B2u: goto L_2B0426B2; 3972 case 0x2B0426B5u: goto L_2B0426B5; 3973 case 0x2B0426B7u: goto L_2B0426B7; 3974 case 0x2B0426BAu: goto L_2B0426BA; 3975 case 0x2B0426BBu: goto L_2B0426BB; 3976 case 0x2B0426BEu: goto L_2B0426BE; 3977 case 0x2B0426C4u: goto L_2B0426C4; 3978 case 0x2B0426C7u: goto L_2B0426C7; 3979 case 0x2B0426C9u: goto L_2B0426C9; 3980 case 0x2B0426D0u: goto L_2B0426D0; 3981 case 0x2B0426D2u: goto L_2B0426D2; 3982 case 0x2B0426D5u: goto L_2B0426D5; 3983 case 0x2B0426D7u: goto L_2B0426D7; 3984 case 0x2B0426DAu: goto L_2B0426DA; 3985 case 0x2B0426DBu: goto L_2B0426DB; 3986 case 0x2B0426DDu: goto L_2B0426DD; 3987 case 0x2B0426DFu: goto L_2B0426DF; 3988 case 0x2B0426E1u: goto L_2B0426E1; 3989 case 0x2B0426E3u: goto L_2B0426E3; 3990 case 0x2B0426E5u: goto L_2B0426E5; 3991 case 0x2B0426E8u: goto L_2B0426E8; 3992 case 0x2B0426EAu: goto L_2B0426EA; 3993 case 0x2B0426ECu: goto L_2B0426EC; 3994 case 0x2B0426EFu: goto L_2B0426EF; 3995 case 0x2B0426F3u: goto L_2B0426F3; 3996 case 0x2B0426F9u: goto L_2B0426F9; 3997 case 0x2B0426FBu: goto L_2B0426FB; 3998 case 0x2B0426FEu: goto L_2B0426FE; 3999 case 0x2B042702u: goto L_2B042702; 4000 case 0x2B042708u: goto L_2B042708; 4001 case 0x2B042709u: goto L_2B042709; 4002 case 0x2B04270Eu: goto L_2B04270E; 4003 case 0x2B042711u: goto L_2B042711; 4004 case 0x2B042714u: goto L_2B042714; 4005 case 0x2B042716u: goto L_2B042716; 4006 case 0x2B04271Du: goto L_2B04271D; 4007 case 0x2B04271Fu: goto L_2B04271F; 4008 case 0x2B042722u: goto L_2B042722; 4009 case 0x2B042724u: goto L_2B042724; 4010 case 0x2B042726u: goto L_2B042726; 4011 case 0x2B042728u: goto L_2B042728; 4012 case 0x2B04272Au: goto L_2B04272A; 4013 case 0x2B04272Cu: goto L_2B04272C; 4014 case 0x2B04272Eu: goto L_2B04272E; 4015 case 0x2B042730u: goto L_2B042730; 4016 case 0x2B042732u: goto L_2B042732; 4017 case 0x2B042735u: goto L_2B042735; 4018 case 0x2B042738u: goto L_2B042738; 4019 case 0x2B04273Bu: goto L_2B04273B; 4020 case 0x2B042740u: goto L_2B042740; 4021 case 0x2B042741u: goto L_2B042741; 4022 case 0x2B042746u: goto L_2B042746; 4023 case 0x2B042749u: goto L_2B042749; 4024 case 0x2B04274Bu: goto L_2B04274B; 4025 case 0x2B04274Eu: goto L_2B04274E; 4026 case 0x2B042751u: goto L_2B042751; 4027 case 0x2B042754u: goto L_2B042754; 4028 case 0x2B042759u: goto L_2B042759; 4029 case 0x2B04275Cu: goto L_2B04275C; 4030 case 0x2B04275Du: goto L_2B04275D; 4031 case 0x2B042762u: goto L_2B042762; 4032 case 0x2B042767u: goto L_2B042767; 4033 case 0x2B04276Du: goto L_2B04276D; 4034 case 0x2B042770u: goto L_2B042770; 4035 case 0x2B042773u: goto L_2B042773; 4036 case 0x2B042778u: goto L_2B042778; 4037 case 0x2B04277Eu: goto L_2B04277E; 4038 case 0x2B042781u: goto L_2B042781; 4039 case 0x2B042782u: goto L_2B042782; 4040 case 0x2B042783u: goto L_2B042783; 4041 case 0x2B042785u: goto L_2B042785; 4042 case 0x2B04278Au: goto L_2B04278A; 4043 case 0x2B04278Fu: goto L_2B04278F; 4044 case 0x2B042792u: goto L_2B042792; 4045 case 0x2B042793u: goto L_2B042793; 4046 case 0x2B042798u: goto L_2B042798; 4047 case 0x2B04279Du: goto L_2B04279D; 4048 case 0x2B0427A3u: goto L_2B0427A3; 4049 case 0x2B0427A6u: goto L_2B0427A6; 4050 case 0x2B0427A9u: goto L_2B0427A9; 4051 case 0x2B0427AEu: goto L_2B0427AE; 4052 case 0x2B0427B4u: goto L_2B0427B4; 4053 case 0x2B0427BAu: goto L_2B0427BA; 4054 case 0x2B0427BCu: goto L_2B0427BC; 4055 case 0x2B0427BEu: goto L_2B0427BE; 4056 case 0x2B0427C0u: goto L_2B0427C0; 4057 case 0x2B0427C6u: goto L_2B0427C6; 4058 case 0x2B0427C8u: goto L_2B0427C8; 4059 case 0x2B0427CAu: goto L_2B0427CA; 4060 case 0x2B0427CCu: goto L_2B0427CC; 4061 case 0x2B0427D1u: goto L_2B0427D1; 4062 case 0x2B0427D4u: goto L_2B0427D4; 4063 case 0x2B0427D6u: goto L_2B0427D6; 4064 case 0x2B0427D8u: goto L_2B0427D8; 4065 case 0x2B0427DAu: goto L_2B0427DA; 4066 case 0x2B0427DCu: goto L_2B0427DC; 4067 case 0x2B0427DEu: goto L_2B0427DE; 4068 case 0x2B0427E1u: goto L_2B0427E1; 4069 case 0x2B0427E3u: goto L_2B0427E3; 4070 case 0x2B0427E5u: goto L_2B0427E5; 4071 case 0x2B0427E7u: goto L_2B0427E7; 4072 case 0x2B0427EAu: goto L_2B0427EA; 4073 case 0x2B0427EDu: goto L_2B0427ED; 4074 case 0x2B0427EFu: goto L_2B0427EF; 4075 case 0x2B0427F2u: goto L_2B0427F2; 4076 case 0x2B0427F5u: goto L_2B0427F5; 4077 case 0x2B0427F7u: goto L_2B0427F7; 4078 case 0x2B0427FAu: goto L_2B0427FA; 4079 case 0x2B0427FDu: goto L_2B0427FD; 4080 case 0x2B0427FEu: goto L_2B0427FE; 4081 case 0x2B042801u: goto L_2B042801; 4082 case 0x2B042804u: goto L_2B042804; 4083 case 0x2B04280Au: goto L_2B04280A; 4084 case 0x2B04280Bu: goto L_2B04280B; 4085 case 0x2B04280Cu: goto L_2B04280C; 4086 case 0x2B042811u: goto L_2B042811; 4087 case 0x2B042816u: goto L_2B042816; 4088 case 0x2B04281Cu: goto L_2B04281C; 4089 case 0x2B042822u: goto L_2B042822; 4090 case 0x2B042828u: goto L_2B042828; 4091 case 0x2B04282Eu: goto L_2B04282E; 4092 case 0x2B042831u: goto L_2B042831; 4093 case 0x2B042836u: goto L_2B042836; 4094 case 0x2B04283Bu: goto L_2B04283B; 4095 case 0x2B042841u: goto L_2B042841; 4096 case 0x2B042843u: goto L_2B042843; 4097 case 0x2B042845u: goto L_2B042845; 4098 case 0x2B042847u: goto L_2B042847; 4099 case 0x2B042849u: goto L_2B042849; 4100 case 0x2B04284Fu: goto L_2B04284F; 4101 case 0x2B042851u: goto L_2B042851; 4102 case 0x2B042853u: goto L_2B042853; 4103 case 0x2B042855u: goto L_2B042855; 4104 case 0x2B042858u: goto L_2B042858; 4105 case 0x2B04285Au: goto L_2B04285A; 4106 case 0x2B04285Cu: goto L_2B04285C; 4107 case 0x2B042862u: goto L_2B042862; 4108 case 0x2B042864u: goto L_2B042864; 4109 case 0x2B042867u: goto L_2B042867; 4110 case 0x2B04286Au: goto L_2B04286A; 4111 case 0x2B04286Du: goto L_2B04286D; 4112 case 0x2B042870u: goto L_2B042870; 4113 case 0x2B042876u: goto L_2B042876; 4114 case 0x2B042878u: goto L_2B042878; 4115 case 0x2B04287Bu: goto L_2B04287B; 4116 case 0x2B04287Du: goto L_2B04287D; 4117 case 0x2B042884u: goto L_2B042884; 4118 case 0x2B042887u: goto L_2B042887; 4119 case 0x2B04288Au: goto L_2B04288A; 4120 case 0x2B04288Bu: goto L_2B04288B; 4121 case 0x2B042891u: goto L_2B042891; 4122 case 0x2B042892u: goto L_2B042892; 4123 case 0x2B042893u: goto L_2B042893; 4124 case 0x2B042898u: goto L_2B042898; 4125 case 0x2B04289Du: goto L_2B04289D; 4126 case 0x2B0428A3u: goto L_2B0428A3; 4127 case 0x2B0428A6u: goto L_2B0428A6; 4128 case 0x2B0428A9u: goto L_2B0428A9; 4129 case 0x2B0428AEu: goto L_2B0428AE; 4130 case 0x2B0428B4u: goto L_2B0428B4; 4131 case 0x2B0428B7u: goto L_2B0428B7; 4132 case 0x2B0428BDu: goto L_2B0428BD; 4133 case 0x2B0428C3u: goto L_2B0428C3; 4134 case 0x2B0428C8u: goto L_2B0428C8; 4135 case 0x2B0428CEu: goto L_2B0428CE; 4136 case 0x2B0428D0u: goto L_2B0428D0; 4137 case 0x2B0428D5u: goto L_2B0428D5; 4138 case 0x2B0428D7u: goto L_2B0428D7; 4139 case 0x2B0428DDu: goto L_2B0428DD; 4140 case 0x2B0428E2u: goto L_2B0428E2; 4141 case 0x2B0428E5u: goto L_2B0428E5; 4142 case 0x2B0428E8u: goto L_2B0428E8; 4143 case 0x2B0428EBu: goto L_2B0428EB; 4144 case 0x2B0428EEu: goto L_2B0428EE; 4145 case 0x2B0428EFu: goto L_2B0428EF; 4146 case 0x2B0428F2u: goto L_2B0428F2; 4147 case 0x2B0428F3u: goto L_2B0428F3; 4148 case 0x2B0428F9u: goto L_2B0428F9; 4149 case 0x2B0428FCu: goto L_2B0428FC; 4150 case 0x2B0428FDu: goto L_2B0428FD; 4151 case 0x2B042904u: goto L_2B042904; 4152 case 0x2B042907u: goto L_2B042907; 4153 case 0x2B042909u: goto L_2B042909; 4154 case 0x2B04290Fu: goto L_2B04290F; 4155 case 0x2B042914u: goto L_2B042914; 4156 case 0x2B042915u: goto L_2B042915; 4157 case 0x2B042918u: goto L_2B042918; 4158 case 0x2B042919u: goto L_2B042919; 4159 case 0x2B04291Fu: goto L_2B04291F; 4160 case 0x2B042922u: goto L_2B042922; 4161 case 0x2B042923u: goto L_2B042923; 4162 case 0x2B042926u: goto L_2B042926; 4163 case 0x2B04292Du: goto L_2B04292D; 4164 case 0x2B042930u: goto L_2B042930; 4165 case 0x2B042932u: goto L_2B042932; 4166 case 0x2B042938u: goto L_2B042938; 4167 case 0x2B04293Eu: goto L_2B04293E; 4168 case 0x2B04293Fu: goto L_2B04293F; 4169 case 0x2B042945u: goto L_2B042945; 4170 case 0x2B04294Au: goto L_2B04294A; 4171 case 0x2B042950u: goto L_2B042950; 4172 case 0x2B042952u: goto L_2B042952; 4173 case 0x2B042957u: goto L_2B042957; 4174 case 0x2B042959u: goto L_2B042959; 4175 case 0x2B04295Bu: goto L_2B04295B; 4176 case 0x2B042961u: goto L_2B042961; 4177 case 0x2B042963u: goto L_2B042963; 4178 case 0x2B042968u: goto L_2B042968; 4179 case 0x2B04296Bu: goto L_2B04296B; 4180 case 0x2B04296Du: goto L_2B04296D; 4181 case 0x2B04296Fu: goto L_2B04296F; 4182 case 0x2B042975u: goto L_2B042975; 4183 case 0x2B042977u: goto L_2B042977; 4184 case 0x2B04297Du: goto L_2B04297D; 4185 case 0x2B042980u: goto L_2B042980; 4186 case 0x2B042982u: goto L_2B042982; 4187 case 0x2B042984u: goto L_2B042984; 4188 case 0x2B042987u: goto L_2B042987; 4189 case 0x2B04298Au: goto L_2B04298A; 4190 case 0x2B04298Du: goto L_2B04298D; 4191 case 0x2B042990u: goto L_2B042990; 4192 case 0x2B042996u: goto L_2B042996; 4193 case 0x2B042998u: goto L_2B042998; 4194 case 0x2B04299Bu: goto L_2B04299B; 4195 case 0x2B04299Du: goto L_2B04299D; 4196 case 0x2B0429A4u: goto L_2B0429A4; 4197 case 0x2B0429A7u: goto L_2B0429A7; 4198 case 0x2B0429A8u: goto L_2B0429A8; 4199 case 0x2B0429ABu: goto L_2B0429AB; 4200 case 0x2B0429B1u: goto L_2B0429B1; 4201 case 0x2B0429B4u: goto L_2B0429B4; 4202 case 0x2B0429B5u: goto L_2B0429B5; 4203 case 0x2B0429B6u: goto L_2B0429B6; 4204 case 0x2B0429BBu: goto L_2B0429BB; 4205 case 0x2B0429C0u: goto L_2B0429C0; 4206 case 0x2B0429C6u: goto L_2B0429C6; 4207 case 0x2B0429CCu: goto L_2B0429CC; 4208 case 0x2B0429CFu: goto L_2B0429CF; 4209 case 0x2B0429D4u: goto L_2B0429D4; 4210 case 0x2B0429DAu: goto L_2B0429DA; 4211 case 0x2B0429E0u: goto L_2B0429E0; 4212 case 0x2B0429E2u: goto L_2B0429E2; 4213 case 0x2B0429E5u: goto L_2B0429E5; 4214 case 0x2B0429E7u: goto L_2B0429E7; 4215 case 0x2B0429E9u: goto L_2B0429E9; 4216 case 0x2B0429EBu: goto L_2B0429EB; 4217 case 0x2B0429F1u: goto L_2B0429F1; 4218 case 0x2B0429F3u: goto L_2B0429F3; 4219 case 0x2B0429F6u: goto L_2B0429F6; 4220 case 0x2B0429F8u: goto L_2B0429F8; 4221 case 0x2B0429FAu: goto L_2B0429FA; 4222 case 0x2B042A00u: goto L_2B042A00; 4223 case 0x2B042A02u: goto L_2B042A02; 4224 case 0x2B042A05u: goto L_2B042A05; 4225 case 0x2B042A08u: goto L_2B042A08; 4226 case 0x2B042A0Eu: goto L_2B042A0E; 4227 case 0x2B042A14u: goto L_2B042A14; 4228 case 0x2B042A19u: goto L_2B042A19; 4229 case 0x2B042A1Eu: goto L_2B042A1E; 4230 case 0x2B042A20u: goto L_2B042A20; 4231 case 0x2B042A26u: goto L_2B042A26; 4232 case 0x2B042A2Bu: goto L_2B042A2B; 4233 case 0x2B042A2Cu: goto L_2B042A2C; 4234 case 0x2B042A2Fu: goto L_2B042A2F; 4235 case 0x2B042A30u: goto L_2B042A30; 4236 case 0x2B042A36u: goto L_2B042A36; 4237 case 0x2B042A39u: goto L_2B042A39; 4238 case 0x2B042A3Cu: goto L_2B042A3C; 4239 case 0x2B042A3Fu: goto L_2B042A3F; 4240 case 0x2B042A42u: goto L_2B042A42; 4241 case 0x2B042A45u: goto L_2B042A45; 4242 case 0x2B042A4Bu: goto L_2B042A4B; 4243 case 0x2B042A4Cu: goto L_2B042A4C; 4244 case 0x2B042A53u: goto L_2B042A53; 4245 case 0x2B042A56u: goto L_2B042A56; 4246 case 0x2B042A58u: goto L_2B042A58; 4247 case 0x2B042A5Eu: goto L_2B042A5E; 4248 case 0x2B042A63u: goto L_2B042A63; 4249 case 0x2B042A64u: goto L_2B042A64; 4250 case 0x2B042A67u: goto L_2B042A67; 4251 case 0x2B042A68u: goto L_2B042A68; 4252 case 0x2B042A6Eu: goto L_2B042A6E; 4253 case 0x2B042A71u: goto L_2B042A71; 4254 case 0x2B042A72u: goto L_2B042A72; 4255 case 0x2B042A75u: goto L_2B042A75; 4256 case 0x2B042A7Cu: goto L_2B042A7C; 4257 case 0x2B042A7Fu: goto L_2B042A7F; 4258 case 0x2B042A81u: goto L_2B042A81; 4259 case 0x2B042A87u: goto L_2B042A87; 4260 case 0x2B042A8Du: goto L_2B042A8D; 4261 case 0x2B042A8Eu: goto L_2B042A8E; 4262 case 0x2B042A94u: goto L_2B042A94; 4263 case 0x2B042A99u: goto L_2B042A99; 4264 case 0x2B042A9Bu: goto L_2B042A9B; 4265 case 0x2B042AA0u: goto L_2B042AA0; 4266 case 0x2B042AA3u: goto L_2B042AA3; 4267 case 0x2B042AA4u: goto L_2B042AA4; 4268 case 0x2B042AA9u: goto L_2B042AA9; 4269 case 0x2B042AAEu: goto L_2B042AAE; 4270 case 0x2B042AB4u: goto L_2B042AB4; 4271 case 0x2B042AB7u: goto L_2B042AB7; 4272 case 0x2B042ABAu: goto L_2B042ABA; 4273 case 0x2B042ABFu: goto L_2B042ABF; 4274 case 0x2B042AC5u: goto L_2B042AC5; 4275 case 0x2B042AC8u: goto L_2B042AC8; 4276 case 0x2B042AC9u: goto L_2B042AC9; 4277 case 0x2B042ACAu: goto L_2B042ACA; 4278 case 0x2B042ACCu: goto L_2B042ACC; 4279 case 0x2B042AD1u: goto L_2B042AD1; 4280 case 0x2B042AD6u: goto L_2B042AD6; 4281 case 0x2B042AD8u: goto L_2B042AD8; 4282 case 0x2B042ADDu: goto L_2B042ADD; 4283 case 0x2B042AE0u: goto L_2B042AE0; 4284 case 0x2B042AE1u: goto L_2B042AE1; 4285 case 0x2B042AE6u: goto L_2B042AE6; 4286 case 0x2B042AEBu: goto L_2B042AEB; 4287 case 0x2B042AF1u: goto L_2B042AF1; 4288 case 0x2B042AF4u: goto L_2B042AF4; 4289 case 0x2B042AF7u: goto L_2B042AF7; 4290 case 0x2B042AFCu: goto L_2B042AFC; 4291 case 0x2B042B02u: goto L_2B042B02; 4292 case 0x2B042B05u: goto L_2B042B05; 4293 case 0x2B042B06u: goto L_2B042B06; 4294 case 0x2B042B07u: goto L_2B042B07; 4295 case 0x2B042B09u: goto L_2B042B09; 4296 case 0x2B042B0Eu: goto L_2B042B0E; 4297 case 0x2B042B13u: goto L_2B042B13; 4298 case 0x2B042B15u: goto L_2B042B15; 4299 case 0x2B042B1Au: goto L_2B042B1A; 4300 case 0x2B042B1Du: goto L_2B042B1D; 4301 case 0x2B042B1Eu: goto L_2B042B1E; 4302 case 0x2B042B23u: goto L_2B042B23; 4303 case 0x2B042B28u: goto L_2B042B28; 4304 case 0x2B042B2Eu: goto L_2B042B2E; 4305 case 0x2B042B31u: goto L_2B042B31; 4306 case 0x2B042B34u: goto L_2B042B34; 4307 case 0x2B042B39u: goto L_2B042B39; 4308 case 0x2B042B3Fu: goto L_2B042B3F; 4309 case 0x2B042B42u: goto L_2B042B42; 4310 case 0x2B042B43u: goto L_2B042B43; 4311 case 0x2B042B44u: goto L_2B042B44; 4312 case 0x2B042B46u: goto L_2B042B46; 4313 case 0x2B042B4Bu: goto L_2B042B4B; 4314 case 0x2B042B50u: goto L_2B042B50; 4315 case 0x2B042B56u: goto L_2B042B56; 4316 case 0x2B042B58u: goto L_2B042B58; 4317 case 0x2B042B5Du: goto L_2B042B5D; 4318 case 0x2B042B5Fu: goto L_2B042B5F; 4319 case 0x2B042B65u: goto L_2B042B65; 4320 case 0x2B042B67u: goto L_2B042B67; 4321 case 0x2B042B69u: goto L_2B042B69; 4322 case 0x2B042B6Bu: goto L_2B042B6B; 4323 case 0x2B042B70u: goto L_2B042B70; 4324 case 0x2B042B73u: goto L_2B042B73; 4325 case 0x2B042B75u: goto L_2B042B75; 4326 case 0x2B042B77u: goto L_2B042B77; 4327 case 0x2B042B79u: goto L_2B042B79; 4328 case 0x2B042B7Cu: goto L_2B042B7C; 4329 case 0x2B042B7Du: goto L_2B042B7D; 4330 case 0x2B042B7Eu: goto L_2B042B7E; 4331 case 0x2B042B83u: goto L_2B042B83; 4332 case 0x2B042B88u: goto L_2B042B88; 4333 case 0x2B042B8Eu: goto L_2B042B8E; 4334 case 0x2B042B91u: goto L_2B042B91; 4335 case 0x2B042B94u: goto L_2B042B94; 4336 case 0x2B042B99u: goto L_2B042B99; 4337 case 0x2B042B9Bu: goto L_2B042B9B; 4338 case 0x2B042BA1u: goto L_2B042BA1; 4339 case 0x2B042BA3u: goto L_2B042BA3; 4340 case 0x2B042BA5u: goto L_2B042BA5; 4341 case 0x2B042BA7u: goto L_2B042BA7; 4342 case 0x2B042BADu: goto L_2B042BAD; 4343 case 0x2B042BAFu: goto L_2B042BAF; 4344 case 0x2B042BB1u: goto L_2B042BB1; 4345 case 0x2B042BB3u: goto L_2B042BB3; 4346 case 0x2B042BB5u: goto L_2B042BB5; 4347 case 0x2B042BB7u: goto L_2B042BB7; 4348 case 0x2B042BB9u: goto L_2B042BB9; 4349 case 0x2B042BBBu: goto L_2B042BBB; 4350 case 0x2B042BC0u: goto L_2B042BC0; 4351 case 0x2B042BC5u: goto L_2B042BC5; 4352 case 0x2B042BCBu: goto L_2B042BCB; 4353 case 0x2B042BCEu: goto L_2B042BCE; 4354 case 0x2B042BD1u: goto L_2B042BD1; 4355 case 0x2B042BD6u: goto L_2B042BD6; 4356 case 0x2B042BDCu: goto L_2B042BDC; 4357 case 0x2B042BDFu: goto L_2B042BDF; 4358 case 0x2B042BE4u: goto L_2B042BE4; 4359 case 0x2B042BEAu: goto L_2B042BEA; 4360 case 0x2B042BECu: goto L_2B042BEC; 4361 case 0x2B042BF1u: goto L_2B042BF1; 4362 case 0x2B042BF4u: goto L_2B042BF4; 4363 case 0x2B042BF5u: goto L_2B042BF5; 4364 case 0x2B042BF6u: goto L_2B042BF6; 4365 case 0x2B042BF7u: goto L_2B042BF7; 4366 case 0x2B042BFEu: goto L_2B042BFE; 4367 case 0x2B042C00u: goto L_2B042C00; 4368 case 0x2B042C01u: goto L_2B042C01; 4369 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 4370 } 4371 RECOMP_REGS_OUT(); 4372 } 4373 4374 void sub_2B0426C4(void) { 4375 int _fpu_cmp = 0; 4376 uint32_t _cf = 0; 4377 int _df = 1; 4378 uint32_t _flag_k = FK_NONE; 4379 uint32_t _flag_a = 0, _flag_b = 0; 4380 uint32_t _itail_tgt = 0; 4381 RECOMP_REGS_LOCALS 4382 RECOMP_ENTER(0x2B0426C4u); 4383 4384 L_2B0426C4: 4385 eax = MEM32(ebp + (-0x40)); /* 0x2B0426C4: mov eax, dword ptr [ebp - 0x40] */ 4386 /* test eax, eax */ /* 0x2B0426C7: test eax, eax */ 4387 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4388 _cf = 0; 4389 _flag_k = FK_TEST; 4390 MEM32(ebp + (-0x4)) = 1; /* 0x2B0426C9: mov dword ptr [ebp - 4], 1 */ 4391 if (TEST_Z(_flag_a, _flag_b)) goto L_2B042711; /* 0x2B0426D0: je 0x2b042711 */ 4392 L_2B0426D2: 4393 edx = MEM32(eax + 0x2C); /* 0x2B0426D2: mov edx, dword ptr [eax + 0x2c] */ 4394 esi = eax; /* 0x2B0426D5: mov esi, eax */ 4395 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 4396 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4397 eax = eax + 0x2Cu; /* 0x2B0426D7: add eax, 0x2c */ 4398 _flag_k = FK_ADD; 4399 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 4400 edx = edx - 1; /* 0x2B0426DA: dec edx */ 4401 _flag_k = FK_DEC; 4402 ecx = edx; /* 0x2B0426DB: mov ecx, edx */ 4403 /* test ecx, ecx */ /* 0x2B0426DD: test ecx, ecx */ 4404 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 4405 _cf = 0; 4406 _flag_k = FK_TEST; 4407 MEM32(eax) = edx; /* 0x2B0426DF: mov dword ptr [eax], edx */ 4408 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B042711; /* 0x2B0426E1: jne 0x2b042711 */ 4409 L_2B0426E3: 4410 /* test esi, esi */ /* 0x2B0426E3: test esi, esi */ 4411 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 4412 _cf = 0; 4413 _flag_k = FK_TEST; 4414 MEM32(ebp + 0xC) = esi; /* 0x2B0426E5: mov dword ptr [ebp + 0xc], esi */ 4415 if (TEST_Z(_flag_a, _flag_b)) goto L_2B042711; /* 0x2B0426E8: je 0x2b042711 */ 4416 L_2B0426EA: 4417 PUSH32(esp, 1); /* 0x2B0426EA: push 1 */ 4418 ecx = esi + 0x1C; /* 0x2B0426EC: lea ecx, [esi + 0x1c] */ 4419 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B0426EF: mov byte ptr [ebp - 4], 2 */ 4420 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0426F3: call dword ptr [0x2b0b514c] */ 4421 RECOMP_FLAGS_IN(); 4422 PUSH32(esp, 1); /* 0x2B0426F9: push 1 */ 4423 ecx = esi + 0xC; /* 0x2B0426FB: lea ecx, [esi + 0xc] */ 4424 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B0426FE: mov byte ptr [ebp - 4], 1 */ 4425 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B042702: call dword ptr [0x2b0b514c] */ 4426 RECOMP_FLAGS_IN(); 4427 PUSH32(esp, esi); /* 0x2B042708: push esi */ 4428 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B042709: call 0x2b0ab1ba */ /* not lifted */ 4429 RECOMP_FLAGS_IN(); 4430 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4431 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4432 esp = esp + 4; /* 0x2B04270E: add esp, 4 */ 4433 _flag_k = FK_ADD; 4434 L_2B042711: 4435 eax = MEM32(ebp + (-0x4C)); /* 0x2B042711: mov eax, dword ptr [ebp - 0x4c] */ 4436 /* test eax, eax */ /* 0x2B042714: test eax, eax */ 4437 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4438 _cf = 0; 4439 _flag_k = FK_TEST; 4440 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B042716: mov dword ptr [ebp - 4], 0xffffffff */ 4441 if (TEST_Z(_flag_a, _flag_b)) goto L_2B042749; /* 0x2B04271D: je 0x2b042749 */ 4442 L_2B04271F: 4443 ecx = eax + (-0x1); /* 0x2B04271F: lea ecx, [eax - 1] */ 4444 SET_LO8(eax, MEM8(ecx)); /* 0x2B042722: mov al, byte ptr [ecx] */ 4445 /* test LO8(eax), LO8(eax) */ /* 0x2B042724: test al, al */ 4446 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4447 _cf = 0; 4448 _flag_k = FK_NARROW(FK_TEST, 24); 4449 if (TEST_Z(_flag_a, _flag_b)) goto L_2B042740; /* 0x2B042726: je 0x2b042740 */ 4450 L_2B042728: 4451 /* cmp LO8(eax), 0xFFu */ /* 0x2B042728: cmp al, 0xff */ 4452 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 4453 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4454 _flag_k = FK_NARROW(FK_CMP, 24); 4455 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B042740; /* 0x2B04272A: je 0x2b042740 */ 4456 L_2B04272C: 4457 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4458 SET_LO8(eax, LO8(eax) - 1); /* 0x2B04272C: dec al */ 4459 _flag_k = FK_NARROW(FK_DEC, 24); 4460 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B04272E: mov byte ptr [ecx], al */ 4461 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4462 eax = 0; /* 0x2B042730: xor eax, eax */ 4463 _cf = 0; 4464 _flag_k = FK_TEST; 4465 MEM32(ebp + (-0x4C)) = eax; /* 0x2B042732: mov dword ptr [ebp - 0x4c], eax */ 4466 MEM32(ebp + (-0x48)) = eax; /* 0x2B042735: mov dword ptr [ebp - 0x48], eax */ 4467 MEM32(ebp + (-0x44)) = eax; /* 0x2B042738: mov dword ptr [ebp - 0x44], eax */ 4468 goto L_2B042BEA; /* 0x2B04273B: jmp 0x2b042bea */ 4469 L_2B042740: 4470 PUSH32(esp, ecx); /* 0x2B042740: push ecx */ 4471 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B042741: call 0x2b0ab1ba */ /* not lifted */ 4472 RECOMP_FLAGS_IN(); 4473 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4474 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4475 esp = esp + 4; /* 0x2B042746: add esp, 4 */ 4476 _flag_k = FK_ADD; 4477 L_2B042749: 4478 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4479 eax = 0; /* 0x2B042749: xor eax, eax */ 4480 _cf = 0; 4481 _flag_k = FK_TEST; 4482 MEM32(ebp + (-0x4C)) = eax; /* 0x2B04274B: mov dword ptr [ebp - 0x4c], eax */ 4483 MEM32(ebp + (-0x48)) = eax; /* 0x2B04274E: mov dword ptr [ebp - 0x48], eax */ 4484 MEM32(ebp + (-0x44)) = eax; /* 0x2B042751: mov dword ptr [ebp - 0x44], eax */ 4485 goto L_2B042BEA; /* 0x2B042754: jmp 0x2b042bea */ 4486 L_2B042BEA: 4487 ecx = ebx; /* 0x2B042BEA: mov ecx, ebx */ 4488 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B042BEC: call 0x2b03a2b0 */ /* not lifted */ 4489 RECOMP_FLAGS_IN(); 4490 ecx = MEM32(ebp + (-0xC)); /* 0x2B042BF1: mov ecx, dword ptr [ebp - 0xc] */ 4491 edi = POP32_VAL(esp); /* 0x2B042BF4: pop edi */ 4492 esi = POP32_VAL(esp); /* 0x2B042BF5: pop esi */ 4493 ebx = POP32_VAL(esp); /* 0x2B042BF6: pop ebx */ 4494 MEM32(FS_BASE + (0)) = ecx; /* 0x2B042BF7: mov dword ptr fs:[0], ecx */ 4495 esp = ebp; /* 0x2B042BFE: mov esp, ebp */ 4496 ebp = POP32_VAL(esp); /* 0x2B042C00: pop ebp */ 4497 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B042C01: ret 8 */ 4498 RECOMP_REGS_OUT(); 4499 } 4500 4501 void sub_2B042BE4(void) { 4502 int _fpu_cmp = 0; 4503 uint32_t _cf = 0; 4504 int _df = 1; 4505 uint32_t _flag_k = FK_NONE; 4506 uint32_t _flag_a = 0, _flag_b = 0; 4507 uint32_t _itail_tgt = 0; 4508 RECOMP_REGS_LOCALS 4509 RECOMP_ENTER(0x2B042BE4u); 4510 4511 L_2B042BE4: 4512 RECOMP_ICALL(MEM32(0x2B0B5850)); /* 0x2B042BE4: call dword ptr [0x2b0b5850] */ 4513 RECOMP_FLAGS_IN(); 4514 ecx = ebx; /* 0x2B042BEA: mov ecx, ebx */ 4515 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B042BEC: call 0x2b03a2b0 */ /* not lifted */ 4516 RECOMP_FLAGS_IN(); 4517 ecx = MEM32(ebp + (-0xC)); /* 0x2B042BF1: mov ecx, dword ptr [ebp - 0xc] */ 4518 edi = POP32_VAL(esp); /* 0x2B042BF4: pop edi */ 4519 esi = POP32_VAL(esp); /* 0x2B042BF5: pop esi */ 4520 ebx = POP32_VAL(esp); /* 0x2B042BF6: pop ebx */ 4521 MEM32(FS_BASE + (0)) = ecx; /* 0x2B042BF7: mov dword ptr fs:[0], ecx */ 4522 esp = ebp; /* 0x2B042BFE: mov esp, ebp */ 4523 ebp = POP32_VAL(esp); /* 0x2B042C00: pop ebp */ 4524 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B042C01: ret 8 */ 4525 RECOMP_REGS_OUT(); 4526 } 4527 4528 void sub_2B042BEA(void) { 4529 int _fpu_cmp = 0; 4530 uint32_t _cf = 0; 4531 int _df = 1; 4532 uint32_t _flag_k = FK_NONE; 4533 uint32_t _flag_a = 0, _flag_b = 0; 4534 uint32_t _itail_tgt = 0; 4535 RECOMP_REGS_LOCALS 4536 RECOMP_ENTER(0x2B042BEAu); 4537 4538 L_2B042BEA: 4539 ecx = ebx; /* 0x2B042BEA: mov ecx, ebx */ 4540 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B042BEC: call 0x2b03a2b0 */ /* not lifted */ 4541 RECOMP_FLAGS_IN(); 4542 ecx = MEM32(ebp + (-0xC)); /* 0x2B042BF1: mov ecx, dword ptr [ebp - 0xc] */ 4543 edi = POP32_VAL(esp); /* 0x2B042BF4: pop edi */ 4544 esi = POP32_VAL(esp); /* 0x2B042BF5: pop esi */ 4545 ebx = POP32_VAL(esp); /* 0x2B042BF6: pop ebx */ 4546 MEM32(FS_BASE + (0)) = ecx; /* 0x2B042BF7: mov dword ptr fs:[0], ecx */ 4547 esp = ebp; /* 0x2B042BFE: mov esp, ebp */ 4548 ebp = POP32_VAL(esp); /* 0x2B042C00: pop ebp */ 4549 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B042C01: ret 8 */ 4550 RECOMP_REGS_OUT(); 4551 } 4552 4553 void sub_2B042D20(void) { 4554 int _fpu_cmp = 0; 4555 uint32_t _cf = 0; 4556 int _df = 1; 4557 uint32_t _flag_k = FK_NONE; 4558 uint32_t _flag_a = 0, _flag_b = 0; 4559 uint32_t _itail_tgt = 0; 4560 RECOMP_REGS_LOCALS 4561 RECOMP_ENTER(0x2B042D20u); 4562 4563 L_2B042D20: 4564 PUSH32(esp, ebp); /* 0x2B042D20: push ebp */ 4565 ebp = esp; /* 0x2B042D21: mov ebp, esp */ 4566 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B042D23: push -1 */ 4567 PUSH32(esp, 0x2B0AEE37u); /* 0x2B042D25: push 0x2b0aee37 */ 4568 eax = MEM32(FS_BASE + (0)); /* 0x2B042D2A: mov eax, dword ptr fs:[0] */ 4569 PUSH32(esp, eax); /* 0x2B042D30: push eax */ 4570 MEM32(FS_BASE + (0)) = esp; /* 0x2B042D31: mov dword ptr fs:[0], esp */ 4571 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 4572 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4573 esp = esp - 0x10u; /* 0x2B042D38: sub esp, 0x10 */ 4574 _flag_k = FK_CMP; 4575 PUSH32(esp, ebx); /* 0x2B042D3B: push ebx */ 4576 PUSH32(esp, esi); /* 0x2B042D3C: push esi */ 4577 PUSH32(esp, edi); /* 0x2B042D3D: push edi */ 4578 PUSH32(esp, 0x30u); /* 0x2B042D3E: push 0x30 */ 4579 MEM32(ebp + (-0x10)) = ecx; /* 0x2B042D40: mov dword ptr [ebp - 0x10], ecx */ 4580 RECOMP_ICALL(0x2B0AB212u); /* 0x2B042D43: call 0x2b0ab212 */ /* not lifted */ 4581 RECOMP_FLAGS_IN(); 4582 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4583 edi = 0; /* 0x2B042D48: xor edi, edi */ 4584 _cf = 0; 4585 _flag_k = FK_TEST; 4586 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4587 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4588 esp = esp + 4; /* 0x2B042D4A: add esp, 4 */ 4589 _flag_k = FK_ADD; 4590 /* cmp eax, edi */ /* 0x2B042D4D: cmp eax, edi */ 4591 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4592 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4593 _flag_k = FK_CMP; 4594 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B042D5A; /* 0x2B042D4F: je 0x2b042d5a */ 4595 L_2B042D51: 4596 MEM32(eax) = edi; /* 0x2B042D51: mov dword ptr [eax], edi */ 4597 MEM32(eax + 0x4) = edi; /* 0x2B042D53: mov dword ptr [eax + 4], edi */ 4598 esi = eax; /* 0x2B042D56: mov esi, eax */ 4599 goto L_2B042D5C; /* 0x2B042D58: jmp 0x2b042d5c */ 4600 L_2B042D5A: 4601 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4602 esi = 0; /* 0x2B042D5A: xor esi, esi */ 4603 _cf = 0; 4604 _flag_k = FK_TEST; 4605 L_2B042D5C: 4606 eax = MEM32(ebp + 0x8); /* 0x2B042D5C: mov eax, dword ptr [ebp + 8] */ 4607 MEM8(esi + 0x2C) = (uint8_t)(0); /* 0x2B042D5F: mov byte ptr [esi + 0x2c], 0 */ 4608 ecx = MEM32(eax); /* 0x2B042D63: mov ecx, dword ptr [eax] */ 4609 MEM32(esi) = ecx; /* 0x2B042D65: mov dword ptr [esi], ecx */ 4610 edx = MEM32(eax + 0x4); /* 0x2B042D67: mov edx, dword ptr [eax + 4] */ 4611 MEM32(esi + 0x4) = edx; /* 0x2B042D6A: mov dword ptr [esi + 4], edx */ 4612 MEM32(esi + 0x8) = edi; /* 0x2B042D6D: mov dword ptr [esi + 8], edi */ 4613 PUSH32(esp, 0xB7u); /* 0x2B042D70: push 0xb7 */ 4614 PUSH32(esp, eax); /* 0x2B042D75: push eax */ 4615 MEM32(ebp + (-0x1C)) = edi; /* 0x2B042D76: mov dword ptr [ebp - 0x1c], edi */ 4616 MEM32(ebp + (-0x18)) = edi; /* 0x2B042D79: mov dword ptr [ebp - 0x18], edi */ 4617 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B042D7C: call dword ptr [0x2b0b5d6c] */ 4618 RECOMP_FLAGS_IN(); 4619 ecx = eax; /* 0x2B042D82: mov ecx, eax */ 4620 RECOMP_ICALL(MEM32(0x2B0B5EE0)); /* 0x2B042D84: call dword ptr [0x2b0b5ee0] */ 4621 RECOMP_FLAGS_IN(); 4622 ebx = eax; /* 0x2B042D8A: mov ebx, eax */ 4623 /* cmp ebx, edi */ /* 0x2B042D8C: cmp ebx, edi */ 4624 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edi); 4625 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4626 _flag_k = FK_CMP; 4627 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B042E25; /* 0x2B042D8E: je 0x2b042e25 */ 4628 L_2B042D94: 4629 /* cmp ebx, 0xFFFFFFFFu */ /* 0x2B042D94: cmp ebx, -1 */ 4630 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0xFFFFFFFFu); 4631 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4632 _flag_k = FK_CMP; 4633 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B042E25; /* 0x2B042D97: je 0x2b042e25 */ 4634 L_2B042D9D: 4635 PUSH32(esp, 0x38u); /* 0x2B042D9D: push 0x38 */ 4636 RECOMP_ICALL(0x2B0AB212u); /* 0x2B042D9F: call 0x2b0ab212 */ /* not lifted */ 4637 RECOMP_FLAGS_IN(); 4638 edi = eax; /* 0x2B042DA4: mov edi, eax */ 4639 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4640 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4641 esp = esp + 4; /* 0x2B042DA6: add esp, 4 */ 4642 _flag_k = FK_ADD; 4643 MEM32(ebp + (-0x14)) = edi; /* 0x2B042DA9: mov dword ptr [ebp - 0x14], edi */ 4644 /* test edi, edi */ /* 0x2B042DAC: test edi, edi */ 4645 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4646 _cf = 0; 4647 _flag_k = FK_TEST; 4648 MEM32(ebp + (-0x4)) = 2; /* 0x2B042DAE: mov dword ptr [ebp - 4], 2 */ 4649 if (TEST_Z(_flag_a, _flag_b)) goto L_2B042DD7; /* 0x2B042DB5: je 0x2b042dd7 */ 4650 L_2B042DB7: 4651 eax = MEM32(0x2B0EE9DC); /* 0x2B042DB7: mov eax, dword ptr [0x2b0ee9dc] */ 4652 PUSH32(esp, eax); /* 0x2B042DBC: push eax */ 4653 PUSH32(esp, 0xFA5u); /* 0x2B042DBD: push 0xfa5 */ 4654 ecx = ebp + (-0x1C); /* 0x2B042DC2: lea ecx, [ebp - 0x1c] */ 4655 PUSH32(esp, ecx); /* 0x2B042DC5: push ecx */ 4656 PUSH32(esp, ebx); /* 0x2B042DC6: push ebx */ 4657 ecx = edi; /* 0x2B042DC7: mov ecx, edi */ 4658 RECOMP_ICALL(MEM32(0x2B0B584C)); /* 0x2B042DC9: call dword ptr [0x2b0b584c] */ 4659 RECOMP_FLAGS_IN(); 4660 MEM32(edi) = 0x2B0B68F4u; /* 0x2B042DCF: mov dword ptr [edi], 0x2b0b68f4 */ 4661 goto L_2B042DD9; /* 0x2B042DD5: jmp 0x2b042dd9 */ 4662 L_2B042DD7: 4663 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4664 edi = 0; /* 0x2B042DD7: xor edi, edi */ 4665 _cf = 0; 4666 _flag_k = FK_TEST; 4667 L_2B042DD9: 4668 PUSH32(esp, 0x38u); /* 0x2B042DD9: push 0x38 */ 4669 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B042DDB: mov dword ptr [ebp - 4], 0xffffffff */ 4670 MEM32(esi + 0x20) = edi; /* 0x2B042DE2: mov dword ptr [esi + 0x20], edi */ 4671 RECOMP_ICALL(0x2B0AB212u); /* 0x2B042DE5: call 0x2b0ab212 */ /* not lifted */ 4672 RECOMP_FLAGS_IN(); 4673 edi = eax; /* 0x2B042DEA: mov edi, eax */ 4674 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4675 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4676 esp = esp + 4; /* 0x2B042DEC: add esp, 4 */ 4677 _flag_k = FK_ADD; 4678 MEM32(ebp + (-0x14)) = edi; /* 0x2B042DEF: mov dword ptr [ebp - 0x14], edi */ 4679 /* test edi, edi */ /* 0x2B042DF2: test edi, edi */ 4680 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4681 _cf = 0; 4682 _flag_k = FK_TEST; 4683 MEM32(ebp + (-0x4)) = 3; /* 0x2B042DF4: mov dword ptr [ebp - 4], 3 */ 4684 if (TEST_Z(_flag_a, _flag_b)) goto L_2B042EAC; /* 0x2B042DFB: je 0x2b042eac */ 4685 L_2B042E01: 4686 edx = MEM32(0x2B0EE9DC); /* 0x2B042E01: mov edx, dword ptr [0x2b0ee9dc] */ 4687 PUSH32(esp, edx); /* 0x2B042E07: push edx */ 4688 PUSH32(esp, 0xFA4u); /* 0x2B042E08: push 0xfa4 */ 4689 eax = ebp + (-0x1C); /* 0x2B042E0D: lea eax, [ebp - 0x1c] */ 4690 PUSH32(esp, eax); /* 0x2B042E10: push eax */ 4691 PUSH32(esp, ebx); /* 0x2B042E11: push ebx */ 4692 ecx = edi; /* 0x2B042E12: mov ecx, edi */ 4693 RECOMP_ICALL(MEM32(0x2B0B584C)); /* 0x2B042E14: call dword ptr [0x2b0b584c] */ 4694 RECOMP_FLAGS_IN(); 4695 MEM32(edi) = 0x2B0B68F4u; /* 0x2B042E1A: mov dword ptr [edi], 0x2b0b68f4 */ 4696 goto L_2B042EAE; /* 0x2B042E20: jmp 0x2b042eae */ 4697 L_2B042E25: 4698 PUSH32(esp, 0x38u); /* 0x2B042E25: push 0x38 */ 4699 RECOMP_ICALL(0x2B0AB212u); /* 0x2B042E27: call 0x2b0ab212 */ /* not lifted */ 4700 RECOMP_FLAGS_IN(); 4701 edi = eax; /* 0x2B042E2C: mov edi, eax */ 4702 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4703 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4704 esp = esp + 4; /* 0x2B042E2E: add esp, 4 */ 4705 _flag_k = FK_ADD; 4706 MEM32(ebp + (-0x14)) = edi; /* 0x2B042E31: mov dword ptr [ebp - 0x14], edi */ 4707 /* test edi, edi */ /* 0x2B042E34: test edi, edi */ 4708 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4709 _cf = 0; 4710 _flag_k = FK_TEST; 4711 ebx = MEM32(0x2B0B5948); /* 0x2B042E36: mov ebx, dword ptr [0x2b0b5948] */ 4712 MEM32(ebp + (-0x4)) = 0; /* 0x2B042E3C: mov dword ptr [ebp - 4], 0 */ 4713 if (TEST_Z(_flag_a, _flag_b)) goto L_2B042E66; /* 0x2B042E43: je 0x2b042e66 */ 4714 L_2B042E45: 4715 ecx = MEM32(0x2B0EE9DC); /* 0x2B042E45: mov ecx, dword ptr [0x2b0ee9dc] */ 4716 PUSH32(esp, ecx); /* 0x2B042E4B: push ecx */ 4717 PUSH32(esp, 0xFA5u); /* 0x2B042E4C: push 0xfa5 */ 4718 PUSH32(esp, 0x15Cu); /* 0x2B042E51: push 0x15c */ 4719 edx = ebp + (-0x1C); /* 0x2B042E56: lea edx, [ebp - 0x1c] */ 4720 PUSH32(esp, edx); /* 0x2B042E59: push edx */ 4721 ecx = edi; /* 0x2B042E5A: mov ecx, edi */ 4722 RECOMP_ICALL(ebx); /* 0x2B042E5C: call ebx */ 4723 RECOMP_FLAGS_IN(); 4724 MEM32(edi) = 0x2B0B68F4u; /* 0x2B042E5E: mov dword ptr [edi], 0x2b0b68f4 */ 4725 goto L_2B042E68; /* 0x2B042E64: jmp 0x2b042e68 */ 4726 L_2B042E66: 4727 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4728 edi = 0; /* 0x2B042E66: xor edi, edi */ 4729 _cf = 0; 4730 _flag_k = FK_TEST; 4731 L_2B042E68: 4732 PUSH32(esp, 0x38u); /* 0x2B042E68: push 0x38 */ 4733 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B042E6A: mov dword ptr [ebp - 4], 0xffffffff */ 4734 MEM32(esi + 0x20) = edi; /* 0x2B042E71: mov dword ptr [esi + 0x20], edi */ 4735 RECOMP_ICALL(0x2B0AB212u); /* 0x2B042E74: call 0x2b0ab212 */ /* not lifted */ 4736 RECOMP_FLAGS_IN(); 4737 edi = eax; /* 0x2B042E79: mov edi, eax */ 4738 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4739 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4740 esp = esp + 4; /* 0x2B042E7B: add esp, 4 */ 4741 _flag_k = FK_ADD; 4742 MEM32(ebp + (-0x14)) = edi; /* 0x2B042E7E: mov dword ptr [ebp - 0x14], edi */ 4743 /* test edi, edi */ /* 0x2B042E81: test edi, edi */ 4744 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4745 _cf = 0; 4746 _flag_k = FK_TEST; 4747 MEM32(ebp + (-0x4)) = 1; /* 0x2B042E83: mov dword ptr [ebp - 4], 1 */ 4748 if (TEST_Z(_flag_a, _flag_b)) goto L_2B042EAC; /* 0x2B042E8A: je 0x2b042eac */ 4749 L_2B042E8C: 4750 eax = MEM32(0x2B0EE9DC); /* 0x2B042E8C: mov eax, dword ptr [0x2b0ee9dc] */ 4751 PUSH32(esp, eax); /* 0x2B042E91: push eax */ 4752 PUSH32(esp, 0xFA4u); /* 0x2B042E92: push 0xfa4 */ 4753 PUSH32(esp, 0x15Cu); /* 0x2B042E97: push 0x15c */ 4754 ecx = ebp + (-0x1C); /* 0x2B042E9C: lea ecx, [ebp - 0x1c] */ 4755 PUSH32(esp, ecx); /* 0x2B042E9F: push ecx */ 4756 ecx = edi; /* 0x2B042EA0: mov ecx, edi */ 4757 RECOMP_ICALL(ebx); /* 0x2B042EA2: call ebx */ 4758 RECOMP_FLAGS_IN(); 4759 MEM32(edi) = 0x2B0B68F4u; /* 0x2B042EA4: mov dword ptr [edi], 0x2b0b68f4 */ 4760 goto L_2B042EAE; /* 0x2B042EAA: jmp 0x2b042eae */ 4761 L_2B042EAC: 4762 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4763 edi = 0; /* 0x2B042EAC: xor edi, edi */ 4764 _cf = 0; 4765 _flag_k = FK_TEST; 4766 L_2B042EAE: 4767 eax = MEM32(esi + 0x20); /* 0x2B042EAE: mov eax, dword ptr [esi + 0x20] */ 4768 MEM32(esi + 0x24) = edi; /* 0x2B042EB1: mov dword ptr [esi + 0x24], edi */ 4769 MEM8(eax + 0x8) = (uint8_t)(0); /* 0x2B042EB4: mov byte ptr [eax + 8], 0 */ 4770 eax = MEM32(esi + 0x24); /* 0x2B042EB8: mov eax, dword ptr [esi + 0x24] */ 4771 PUSH32(esp, 0x9Cu); /* 0x2B042EBB: push 0x9c */ 4772 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B042EC0: mov dword ptr [ebp - 4], 0xffffffff */ 4773 MEM8(eax + 0x8) = (uint8_t)(0); /* 0x2B042EC7: mov byte ptr [eax + 8], 0 */ 4774 ebx = 0x35u; /* 0x2B042ECB: mov ebx, 0x35 */ 4775 RECOMP_ICALL(0x2B0AB212u); /* 0x2B042ED0: call 0x2b0ab212 */ /* not lifted */ 4776 RECOMP_FLAGS_IN(); 4777 edi = eax; /* 0x2B042ED5: mov edi, eax */ 4778 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4779 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4780 esp = esp + 4; /* 0x2B042ED7: add esp, 4 */ 4781 _flag_k = FK_ADD; 4782 MEM32(ebp + (-0x14)) = edi; /* 0x2B042EDA: mov dword ptr [ebp - 0x14], edi */ 4783 /* test edi, edi */ /* 0x2B042EDD: test edi, edi */ 4784 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4785 _cf = 0; 4786 _flag_k = FK_TEST; 4787 MEM32(ebp + (-0x4)) = 4; /* 0x2B042EDF: mov dword ptr [ebp - 4], 4 */ 4788 if (TEST_Z(_flag_a, _flag_b)) goto L_2B042F1F; /* 0x2B042EE6: je 0x2b042f1f */ 4789 L_2B042EE8: 4790 edx = MEM32(0x2B0EE9DC); /* 0x2B042EE8: mov edx, dword ptr [0x2b0ee9dc] */ 4791 ecx = MEM32(ebp + (-0x1C)); /* 0x2B042EEE: mov ecx, dword ptr [ebp - 0x1c] */ 4792 PUSH32(esp, edx); /* 0x2B042EF1: push edx */ 4793 PUSH32(esp, 0); /* 0x2B042EF2: push 0 */ 4794 PUSH32(esp, 0); /* 0x2B042EF4: push 0 */ 4795 PUSH32(esp, 0xFA4u); /* 0x2B042EF6: push 0xfa4 */ 4796 PUSH32(esp, 0); /* 0x2B042EFB: push 0 */ 4797 PUSH32(esp, 0); /* 0x2B042EFD: push 0 */ 4798 PUSH32(esp, 0); /* 0x2B042EFF: push 0 */ 4799 eax = 0x2Au; /* 0x2B042F01: mov eax, 0x2a */ 4800 PUSH32(esp, eax); /* 0x2B042F06: push eax */ 4801 eax = MEM32(ebp + (-0x18)); /* 0x2B042F07: mov eax, dword ptr [ebp - 0x18] */ 4802 PUSH32(esp, ebx); /* 0x2B042F0A: push ebx */ 4803 PUSH32(esp, eax); /* 0x2B042F0B: push eax */ 4804 PUSH32(esp, ecx); /* 0x2B042F0C: push ecx */ 4805 ecx = edi; /* 0x2B042F0D: mov ecx, edi */ 4806 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B042F0F: call dword ptr [0x2b0b5af0] */ 4807 RECOMP_FLAGS_IN(); 4808 MEM32(edi) = 0x2B0B642Cu; /* 0x2B042F15: mov dword ptr [edi], 0x2b0b642c */ 4809 ecx = edi; /* 0x2B042F1B: mov ecx, edi */ 4810 goto L_2B042F21; /* 0x2B042F1D: jmp 0x2b042f21 */ 4811 L_2B042F1F: 4812 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4813 ecx = 0; /* 0x2B042F1F: xor ecx, ecx */ 4814 _cf = 0; 4815 _flag_k = FK_TEST; 4816 L_2B042F21: 4817 PUSH32(esp, ecx); /* 0x2B042F21: push ecx */ 4818 PUSH32(esp, 0x2B0436E0u); /* 0x2B042F22: push 0x2b0436e0 */ 4819 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B042F27: mov dword ptr [ebp - 4], 0xffffffff */ 4820 MEM32(esi + 0x28) = ecx; /* 0x2B042F2E: mov dword ptr [esi + 0x28], ecx */ 4821 RECOMP_ICALL(MEM32(0x2B0B5B44)); /* 0x2B042F31: call dword ptr [0x2b0b5b44] */ 4822 RECOMP_FLAGS_IN(); 4823 eax = MEM32(esi + 0x28); /* 0x2B042F37: mov eax, dword ptr [esi + 0x28] */ 4824 edi = MEM32(ebp + 0x8); /* 0x2B042F3A: mov edi, dword ptr [ebp + 8] */ 4825 ebx = MEM32(0x2B0B5D6C); /* 0x2B042F3D: mov ebx, dword ptr [0x2b0b5d6c] */ 4826 MEM32(eax + 0x70) = 0x2B043660u; /* 0x2B042F43: mov dword ptr [eax + 0x70], 0x2b043660 */ 4827 MEM32(eax + 0x74) = esi; /* 0x2B042F4A: mov dword ptr [eax + 0x74], esi */ 4828 edx = MEM32(esi + 0x28); /* 0x2B042F4D: mov edx, dword ptr [esi + 0x28] */ 4829 MEM8(edx + 0x8) = (uint8_t)(0); /* 0x2B042F50: mov byte ptr [edx + 8], 0 */ 4830 eax = MEM32(esi + 0x28); /* 0x2B042F54: mov eax, dword ptr [esi + 0x28] */ 4831 PUSH32(esp, edi); /* 0x2B042F57: push edi */ 4832 MEM32(eax + 0x10) = 0x2B043080u; /* 0x2B042F58: mov dword ptr [eax + 0x10], 0x2b043080 */ 4833 MEM32(eax + 0x14) = esi; /* 0x2B042F5F: mov dword ptr [eax + 0x14], esi */ 4834 RECOMP_ICALL(ebx); /* 0x2B042F62: call ebx */ 4835 RECOMP_FLAGS_IN(); 4836 ecx = eax; /* 0x2B042F64: mov ecx, eax */ 4837 RECOMP_ICALL(MEM32(0x2B0B5EBC)); /* 0x2B042F66: call dword ptr [0x2b0b5ebc] */ 4838 RECOMP_FLAGS_IN(); 4839 /* test eax, eax */ /* 0x2B042F6C: test eax, eax */ 4840 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4841 _cf = 0; 4842 _flag_k = FK_TEST; 4843 MEM32(esi + 0x10) = eax; /* 0x2B042F6E: mov dword ptr [esi + 0x10], eax */ 4844 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B042F7A; /* 0x2B042F71: jne 0x2b042f7a */ 4845 L_2B042F73: 4846 MEM32(esi + 0x10) = 1; /* 0x2B042F73: mov dword ptr [esi + 0x10], 1 */ 4847 L_2B042F7A: 4848 PUSH32(esp, edi); /* 0x2B042F7A: push edi */ 4849 RECOMP_ICALL(ebx); /* 0x2B042F7B: call ebx */ 4850 RECOMP_FLAGS_IN(); 4851 ecx = eax; /* 0x2B042F7D: mov ecx, eax */ 4852 RECOMP_ICALL(MEM32(0x2B0B5EC0)); /* 0x2B042F7F: call dword ptr [0x2b0b5ec0] */ 4853 RECOMP_FLAGS_IN(); 4854 ecx = MEM32(esi + 0x10); /* 0x2B042F85: mov ecx, dword ptr [esi + 0x10] */ 4855 edx = MEM32(ebp + (-0x10)); /* 0x2B042F88: mov edx, dword ptr [ebp - 0x10] */ 4856 ecx = ecx + ecx * 4; /* 0x2B042F8B: lea ecx, [ecx + ecx*4] */ 4857 eax = eax + eax * 4; /* 0x2B042F8E: lea eax, [eax + eax*4] */ 4858 if (1u) _cf = (((ecx) >> 31) & 1u); /* 0x2B042F91: shl ecx, 1 */ 4859 if (1u) { _flag_a = recomp_flags_pack((ecx << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4860 ecx = ecx << 1u; /* 0x2B042F91: shl ecx, 1 */ 4861 if (1u) _cf = (((eax) >> 31) & 1u); /* 0x2B042F93: shl eax, 1 */ 4862 if (1u) { _flag_a = recomp_flags_pack((eax << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4863 eax = eax << 1u; /* 0x2B042F93: shl eax, 1 */ 4864 MEM32(esi + 0xC) = eax; /* 0x2B042F95: mov dword ptr [esi + 0xc], eax */ 4865 MEM32(esi + 0x10) = ecx; /* 0x2B042F98: mov dword ptr [esi + 0x10], ecx */ 4866 MEM32(esi + 0x14) = 0; /* 0x2B042F9B: mov dword ptr [esi + 0x14], 0 */ 4867 MEM32(esi + 0x18) = 0x28u; /* 0x2B042FA2: mov dword ptr [esi + 0x18], 0x28 */ 4868 MEM8(esi + 0x1C) = (uint8_t)(1); /* 0x2B042FA9: mov byte ptr [esi + 0x1c], 1 */ 4869 ebx = MEM32(edx + 0x8C); /* 0x2B042FAD: mov ebx, dword ptr [edx + 0x8c] */ 4870 ecx = MEM32(ebx + 0x4); /* 0x2B042FB3: mov ecx, dword ptr [ebx + 4] */ 4871 edi = MEM32(ecx); /* 0x2B042FB6: mov edi, dword ptr [ecx] */ 4872 /* cmp ecx, edi */ /* 0x2B042FB8: cmp ecx, edi */ 4873 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 4874 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4875 _flag_k = FK_CMP; 4876 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B042FCA; /* 0x2B042FBA: je 0x2b042fca */ 4877 L_2B042FBC: 4878 edx = MEM32(edi + 0x8); /* 0x2B042FBC: mov edx, dword ptr [edi + 8] */ 4879 /* cmp MEM32(edx + 0xC), eax */ /* 0x2B042FBF: cmp dword ptr [edx + 0xc], eax */ 4880 _flag_a = (uint32_t)(MEM32(edx + 0xC)); _flag_b = (uint32_t)(eax); 4881 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4882 _flag_k = FK_CMP; 4883 if (CMP_G(_flag_a, _flag_b)) goto L_2B042FCA; /* 0x2B042FC2: jg 0x2b042fca */ 4884 L_2B042FC4: 4885 edi = MEM32(edi); /* 0x2B042FC4: mov edi, dword ptr [edi] */ 4886 /* cmp ecx, edi */ /* 0x2B042FC6: cmp ecx, edi */ 4887 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 4888 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4889 _flag_k = FK_CMP; 4890 RECOMP_BACKEDGE(); 4891 if (CMP_NE(_flag_a, _flag_b)) goto L_2B042FBC; /* 0x2B042FC8: jne 0x2b042fbc */ 4892 L_2B042FCA: 4893 eax = MEM32(edi + 0x4); /* 0x2B042FCA: mov eax, dword ptr [edi + 4] */ 4894 PUSH32(esp, 0xCu); /* 0x2B042FCD: push 0xc */ 4895 MEM32(ebp + 0x8) = eax; /* 0x2B042FCF: mov dword ptr [ebp + 8], eax */ 4896 RECOMP_ICALL(0x2B0AB212u); /* 0x2B042FD2: call 0x2b0ab212 */ /* not lifted */ 4897 RECOMP_FLAGS_IN(); 4898 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4899 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4900 esp = esp + 4; /* 0x2B042FD7: add esp, 4 */ 4901 _flag_k = FK_ADD; 4902 /* test edi, edi */ /* 0x2B042FDA: test edi, edi */ 4903 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4904 _cf = 0; 4905 _flag_k = FK_TEST; 4906 ecx = edi; /* 0x2B042FDC: mov ecx, edi */ 4907 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B042FE2; /* 0x2B042FDE: jne 0x2b042fe2 */ 4908 L_2B042FE0: 4909 ecx = eax; /* 0x2B042FE0: mov ecx, eax */ 4910 L_2B042FE2: 4911 MEM32(eax) = ecx; /* 0x2B042FE2: mov dword ptr [eax], ecx */ 4912 ecx = MEM32(ebp + 0x8); /* 0x2B042FE4: mov ecx, dword ptr [ebp + 8] */ 4913 /* test ecx, ecx */ /* 0x2B042FE7: test ecx, ecx */ 4914 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 4915 _cf = 0; 4916 _flag_k = FK_TEST; 4917 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B042FED; /* 0x2B042FE9: jne 0x2b042fed */ 4918 L_2B042FEB: 4919 ecx = eax; /* 0x2B042FEB: mov ecx, eax */ 4920 L_2B042FED: 4921 MEM32(eax + 0x4) = ecx; /* 0x2B042FED: mov dword ptr [eax + 4], ecx */ 4922 MEM32(edi + 0x4) = eax; /* 0x2B042FF0: mov dword ptr [edi + 4], eax */ 4923 ecx = MEM32(eax + 0x4); /* 0x2B042FF3: mov ecx, dword ptr [eax + 4] */ 4924 MEM32(ecx) = eax; /* 0x2B042FF6: mov dword ptr [ecx], eax */ 4925 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 4926 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4927 eax = eax + 8; /* 0x2B042FF8: add eax, 8 */ 4928 _flag_k = FK_ADD; 4929 /* test eax, eax */ /* 0x2B042FFB: test eax, eax */ 4930 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4931 _cf = 0; 4932 _flag_k = FK_TEST; 4933 if (TEST_Z(_flag_a, _flag_b)) goto L_2B043001; /* 0x2B042FFD: je 0x2b043001 */ 4934 L_2B042FFF: 4935 MEM32(eax) = esi; /* 0x2B042FFF: mov dword ptr [eax], esi */ 4936 L_2B043001: 4937 edx = MEM32(ebx + 0x8); /* 0x2B043001: mov edx, dword ptr [ebx + 8] */ 4938 esi = MEM32(ebp + (-0x10)); /* 0x2B043004: mov esi, dword ptr [ebp - 0x10] */ 4939 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 4940 edx = edx + 1; /* 0x2B043007: inc edx */ 4941 _flag_k = FK_INC; 4942 ecx = esi; /* 0x2B043008: mov ecx, esi */ 4943 MEM32(ebx + 0x8) = edx; /* 0x2B04300A: mov dword ptr [ebx + 8], edx */ 4944 RECOMP_ICALL(0x2B03A490u); /* 0x2B04300D: call 0x2b03a490 */ /* not lifted */ 4945 RECOMP_FLAGS_IN(); 4946 PUSH32(esp, esi); /* 0x2B043012: push esi */ 4947 RECOMP_ICALL(0x2B03BA50u); /* 0x2B043013: call 0x2b03ba50 */ /* not lifted */ 4948 RECOMP_FLAGS_IN(); 4949 ecx = MEM32(ebp + (-0xC)); /* 0x2B043018: mov ecx, dword ptr [ebp - 0xc] */ 4950 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4951 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4952 esp = esp + 4; /* 0x2B04301B: add esp, 4 */ 4953 _flag_k = FK_ADD; 4954 edi = POP32_VAL(esp); /* 0x2B04301E: pop edi */ 4955 esi = POP32_VAL(esp); /* 0x2B04301F: pop esi */ 4956 ebx = POP32_VAL(esp); /* 0x2B043020: pop ebx */ 4957 MEM32(FS_BASE + (0)) = ecx; /* 0x2B043021: mov dword ptr fs:[0], ecx */ 4958 esp = ebp; /* 0x2B043028: mov esp, ebp */ 4959 ebp = POP32_VAL(esp); /* 0x2B04302A: pop ebp */ 4960 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B04302B: ret 4 */ 4961 RECOMP_REGS_OUT(); 4962 } 4963 4964 void sub_2B042EAE(void) { 4965 int _fpu_cmp = 0; 4966 uint32_t _cf = 0; 4967 int _df = 1; 4968 uint32_t _flag_k = FK_NONE; 4969 uint32_t _flag_a = 0, _flag_b = 0; 4970 uint32_t _itail_tgt = 0; 4971 RECOMP_REGS_LOCALS 4972 RECOMP_ENTER(0x2B042EAEu); 4973 4974 L_2B042EAE: 4975 eax = MEM32(esi + 0x20); /* 0x2B042EAE: mov eax, dword ptr [esi + 0x20] */ 4976 MEM32(esi + 0x24) = edi; /* 0x2B042EB1: mov dword ptr [esi + 0x24], edi */ 4977 MEM8(eax + 0x8) = (uint8_t)(0); /* 0x2B042EB4: mov byte ptr [eax + 8], 0 */ 4978 eax = MEM32(esi + 0x24); /* 0x2B042EB8: mov eax, dword ptr [esi + 0x24] */ 4979 PUSH32(esp, 0x9Cu); /* 0x2B042EBB: push 0x9c */ 4980 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B042EC0: mov dword ptr [ebp - 4], 0xffffffff */ 4981 MEM8(eax + 0x8) = (uint8_t)(0); /* 0x2B042EC7: mov byte ptr [eax + 8], 0 */ 4982 ebx = 0x35u; /* 0x2B042ECB: mov ebx, 0x35 */ 4983 RECOMP_ICALL(0x2B0AB212u); /* 0x2B042ED0: call 0x2b0ab212 */ /* not lifted */ 4984 RECOMP_FLAGS_IN(); 4985 edi = eax; /* 0x2B042ED5: mov edi, eax */ 4986 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4987 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4988 esp = esp + 4; /* 0x2B042ED7: add esp, 4 */ 4989 _flag_k = FK_ADD; 4990 MEM32(ebp + (-0x14)) = edi; /* 0x2B042EDA: mov dword ptr [ebp - 0x14], edi */ 4991 /* test edi, edi */ /* 0x2B042EDD: test edi, edi */ 4992 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4993 _cf = 0; 4994 _flag_k = FK_TEST; 4995 MEM32(ebp + (-0x4)) = 4; /* 0x2B042EDF: mov dword ptr [ebp - 4], 4 */ 4996 if (TEST_Z(_flag_a, _flag_b)) goto L_2B042F1F; /* 0x2B042EE6: je 0x2b042f1f */ 4997 L_2B042EE8: 4998 edx = MEM32(0x2B0EE9DC); /* 0x2B042EE8: mov edx, dword ptr [0x2b0ee9dc] */ 4999 ecx = MEM32(ebp + (-0x1C)); /* 0x2B042EEE: mov ecx, dword ptr [ebp - 0x1c] */ 5000 PUSH32(esp, edx); /* 0x2B042EF1: push edx */ 5001 PUSH32(esp, 0); /* 0x2B042EF2: push 0 */ 5002 PUSH32(esp, 0); /* 0x2B042EF4: push 0 */ 5003 PUSH32(esp, 0xFA4u); /* 0x2B042EF6: push 0xfa4 */ 5004 PUSH32(esp, 0); /* 0x2B042EFB: push 0 */ 5005 PUSH32(esp, 0); /* 0x2B042EFD: push 0 */ 5006 PUSH32(esp, 0); /* 0x2B042EFF: push 0 */ 5007 eax = 0x2Au; /* 0x2B042F01: mov eax, 0x2a */ 5008 PUSH32(esp, eax); /* 0x2B042F06: push eax */ 5009 eax = MEM32(ebp + (-0x18)); /* 0x2B042F07: mov eax, dword ptr [ebp - 0x18] */ 5010 PUSH32(esp, ebx); /* 0x2B042F0A: push ebx */ 5011 PUSH32(esp, eax); /* 0x2B042F0B: push eax */ 5012 PUSH32(esp, ecx); /* 0x2B042F0C: push ecx */ 5013 ecx = edi; /* 0x2B042F0D: mov ecx, edi */ 5014 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B042F0F: call dword ptr [0x2b0b5af0] */ 5015 RECOMP_FLAGS_IN(); 5016 MEM32(edi) = 0x2B0B642Cu; /* 0x2B042F15: mov dword ptr [edi], 0x2b0b642c */ 5017 ecx = edi; /* 0x2B042F1B: mov ecx, edi */ 5018 goto L_2B042F21; /* 0x2B042F1D: jmp 0x2b042f21 */ 5019 L_2B042F1F: 5020 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5021 ecx = 0; /* 0x2B042F1F: xor ecx, ecx */ 5022 _cf = 0; 5023 _flag_k = FK_TEST; 5024 L_2B042F21: 5025 PUSH32(esp, ecx); /* 0x2B042F21: push ecx */ 5026 PUSH32(esp, 0x2B0436E0u); /* 0x2B042F22: push 0x2b0436e0 */ 5027 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B042F27: mov dword ptr [ebp - 4], 0xffffffff */ 5028 MEM32(esi + 0x28) = ecx; /* 0x2B042F2E: mov dword ptr [esi + 0x28], ecx */ 5029 RECOMP_ICALL(MEM32(0x2B0B5B44)); /* 0x2B042F31: call dword ptr [0x2b0b5b44] */ 5030 RECOMP_FLAGS_IN(); 5031 eax = MEM32(esi + 0x28); /* 0x2B042F37: mov eax, dword ptr [esi + 0x28] */ 5032 edi = MEM32(ebp + 0x8); /* 0x2B042F3A: mov edi, dword ptr [ebp + 8] */ 5033 ebx = MEM32(0x2B0B5D6C); /* 0x2B042F3D: mov ebx, dword ptr [0x2b0b5d6c] */ 5034 MEM32(eax + 0x70) = 0x2B043660u; /* 0x2B042F43: mov dword ptr [eax + 0x70], 0x2b043660 */ 5035 MEM32(eax + 0x74) = esi; /* 0x2B042F4A: mov dword ptr [eax + 0x74], esi */ 5036 edx = MEM32(esi + 0x28); /* 0x2B042F4D: mov edx, dword ptr [esi + 0x28] */ 5037 MEM8(edx + 0x8) = (uint8_t)(0); /* 0x2B042F50: mov byte ptr [edx + 8], 0 */ 5038 eax = MEM32(esi + 0x28); /* 0x2B042F54: mov eax, dword ptr [esi + 0x28] */ 5039 PUSH32(esp, edi); /* 0x2B042F57: push edi */ 5040 MEM32(eax + 0x10) = 0x2B043080u; /* 0x2B042F58: mov dword ptr [eax + 0x10], 0x2b043080 */ 5041 MEM32(eax + 0x14) = esi; /* 0x2B042F5F: mov dword ptr [eax + 0x14], esi */ 5042 RECOMP_ICALL(ebx); /* 0x2B042F62: call ebx */ 5043 RECOMP_FLAGS_IN(); 5044 ecx = eax; /* 0x2B042F64: mov ecx, eax */ 5045 RECOMP_ICALL(MEM32(0x2B0B5EBC)); /* 0x2B042F66: call dword ptr [0x2b0b5ebc] */ 5046 RECOMP_FLAGS_IN(); 5047 /* test eax, eax */ /* 0x2B042F6C: test eax, eax */ 5048 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5049 _cf = 0; 5050 _flag_k = FK_TEST; 5051 MEM32(esi + 0x10) = eax; /* 0x2B042F6E: mov dword ptr [esi + 0x10], eax */ 5052 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B042F7A; /* 0x2B042F71: jne 0x2b042f7a */ 5053 L_2B042F73: 5054 MEM32(esi + 0x10) = 1; /* 0x2B042F73: mov dword ptr [esi + 0x10], 1 */ 5055 L_2B042F7A: 5056 PUSH32(esp, edi); /* 0x2B042F7A: push edi */ 5057 RECOMP_ICALL(ebx); /* 0x2B042F7B: call ebx */ 5058 RECOMP_FLAGS_IN(); 5059 ecx = eax; /* 0x2B042F7D: mov ecx, eax */ 5060 RECOMP_ICALL(MEM32(0x2B0B5EC0)); /* 0x2B042F7F: call dword ptr [0x2b0b5ec0] */ 5061 RECOMP_FLAGS_IN(); 5062 ecx = MEM32(esi + 0x10); /* 0x2B042F85: mov ecx, dword ptr [esi + 0x10] */ 5063 edx = MEM32(ebp + (-0x10)); /* 0x2B042F88: mov edx, dword ptr [ebp - 0x10] */ 5064 ecx = ecx + ecx * 4; /* 0x2B042F8B: lea ecx, [ecx + ecx*4] */ 5065 eax = eax + eax * 4; /* 0x2B042F8E: lea eax, [eax + eax*4] */ 5066 if (1u) _cf = (((ecx) >> 31) & 1u); /* 0x2B042F91: shl ecx, 1 */ 5067 if (1u) { _flag_a = recomp_flags_pack((ecx << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5068 ecx = ecx << 1u; /* 0x2B042F91: shl ecx, 1 */ 5069 if (1u) _cf = (((eax) >> 31) & 1u); /* 0x2B042F93: shl eax, 1 */ 5070 if (1u) { _flag_a = recomp_flags_pack((eax << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5071 eax = eax << 1u; /* 0x2B042F93: shl eax, 1 */ 5072 MEM32(esi + 0xC) = eax; /* 0x2B042F95: mov dword ptr [esi + 0xc], eax */ 5073 MEM32(esi + 0x10) = ecx; /* 0x2B042F98: mov dword ptr [esi + 0x10], ecx */ 5074 MEM32(esi + 0x14) = 0; /* 0x2B042F9B: mov dword ptr [esi + 0x14], 0 */ 5075 MEM32(esi + 0x18) = 0x28u; /* 0x2B042FA2: mov dword ptr [esi + 0x18], 0x28 */ 5076 MEM8(esi + 0x1C) = (uint8_t)(1); /* 0x2B042FA9: mov byte ptr [esi + 0x1c], 1 */ 5077 ebx = MEM32(edx + 0x8C); /* 0x2B042FAD: mov ebx, dword ptr [edx + 0x8c] */ 5078 ecx = MEM32(ebx + 0x4); /* 0x2B042FB3: mov ecx, dword ptr [ebx + 4] */ 5079 edi = MEM32(ecx); /* 0x2B042FB6: mov edi, dword ptr [ecx] */ 5080 /* cmp ecx, edi */ /* 0x2B042FB8: cmp ecx, edi */ 5081 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 5082 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5083 _flag_k = FK_CMP; 5084 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B042FCA; /* 0x2B042FBA: je 0x2b042fca */ 5085 L_2B042FBC: 5086 edx = MEM32(edi + 0x8); /* 0x2B042FBC: mov edx, dword ptr [edi + 8] */ 5087 /* cmp MEM32(edx + 0xC), eax */ /* 0x2B042FBF: cmp dword ptr [edx + 0xc], eax */ 5088 _flag_a = (uint32_t)(MEM32(edx + 0xC)); _flag_b = (uint32_t)(eax); 5089 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5090 _flag_k = FK_CMP; 5091 if (CMP_G(_flag_a, _flag_b)) goto L_2B042FCA; /* 0x2B042FC2: jg 0x2b042fca */ 5092 L_2B042FC4: 5093 edi = MEM32(edi); /* 0x2B042FC4: mov edi, dword ptr [edi] */ 5094 /* cmp ecx, edi */ /* 0x2B042FC6: cmp ecx, edi */ 5095 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 5096 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5097 _flag_k = FK_CMP; 5098 RECOMP_BACKEDGE(); 5099 if (CMP_NE(_flag_a, _flag_b)) goto L_2B042FBC; /* 0x2B042FC8: jne 0x2b042fbc */ 5100 L_2B042FCA: 5101 eax = MEM32(edi + 0x4); /* 0x2B042FCA: mov eax, dword ptr [edi + 4] */ 5102 PUSH32(esp, 0xCu); /* 0x2B042FCD: push 0xc */ 5103 MEM32(ebp + 0x8) = eax; /* 0x2B042FCF: mov dword ptr [ebp + 8], eax */ 5104 RECOMP_ICALL(0x2B0AB212u); /* 0x2B042FD2: call 0x2b0ab212 */ /* not lifted */ 5105 RECOMP_FLAGS_IN(); 5106 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5107 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5108 esp = esp + 4; /* 0x2B042FD7: add esp, 4 */ 5109 _flag_k = FK_ADD; 5110 /* test edi, edi */ /* 0x2B042FDA: test edi, edi */ 5111 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 5112 _cf = 0; 5113 _flag_k = FK_TEST; 5114 ecx = edi; /* 0x2B042FDC: mov ecx, edi */ 5115 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B042FE2; /* 0x2B042FDE: jne 0x2b042fe2 */ 5116 L_2B042FE0: 5117 ecx = eax; /* 0x2B042FE0: mov ecx, eax */ 5118 L_2B042FE2: 5119 MEM32(eax) = ecx; /* 0x2B042FE2: mov dword ptr [eax], ecx */ 5120 ecx = MEM32(ebp + 0x8); /* 0x2B042FE4: mov ecx, dword ptr [ebp + 8] */ 5121 /* test ecx, ecx */ /* 0x2B042FE7: test ecx, ecx */ 5122 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5123 _cf = 0; 5124 _flag_k = FK_TEST; 5125 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B042FED; /* 0x2B042FE9: jne 0x2b042fed */ 5126 L_2B042FEB: 5127 ecx = eax; /* 0x2B042FEB: mov ecx, eax */ 5128 L_2B042FED: 5129 MEM32(eax + 0x4) = ecx; /* 0x2B042FED: mov dword ptr [eax + 4], ecx */ 5130 MEM32(edi + 0x4) = eax; /* 0x2B042FF0: mov dword ptr [edi + 4], eax */ 5131 ecx = MEM32(eax + 0x4); /* 0x2B042FF3: mov ecx, dword ptr [eax + 4] */ 5132 MEM32(ecx) = eax; /* 0x2B042FF6: mov dword ptr [ecx], eax */ 5133 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 5134 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5135 eax = eax + 8; /* 0x2B042FF8: add eax, 8 */ 5136 _flag_k = FK_ADD; 5137 /* test eax, eax */ /* 0x2B042FFB: test eax, eax */ 5138 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5139 _cf = 0; 5140 _flag_k = FK_TEST; 5141 if (TEST_Z(_flag_a, _flag_b)) goto L_2B043001; /* 0x2B042FFD: je 0x2b043001 */ 5142 L_2B042FFF: 5143 MEM32(eax) = esi; /* 0x2B042FFF: mov dword ptr [eax], esi */ 5144 L_2B043001: 5145 edx = MEM32(ebx + 0x8); /* 0x2B043001: mov edx, dword ptr [ebx + 8] */ 5146 esi = MEM32(ebp + (-0x10)); /* 0x2B043004: mov esi, dword ptr [ebp - 0x10] */ 5147 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 5148 edx = edx + 1; /* 0x2B043007: inc edx */ 5149 _flag_k = FK_INC; 5150 ecx = esi; /* 0x2B043008: mov ecx, esi */ 5151 MEM32(ebx + 0x8) = edx; /* 0x2B04300A: mov dword ptr [ebx + 8], edx */ 5152 RECOMP_ICALL(0x2B03A490u); /* 0x2B04300D: call 0x2b03a490 */ /* not lifted */ 5153 RECOMP_FLAGS_IN(); 5154 PUSH32(esp, esi); /* 0x2B043012: push esi */ 5155 RECOMP_ICALL(0x2B03BA50u); /* 0x2B043013: call 0x2b03ba50 */ /* not lifted */ 5156 RECOMP_FLAGS_IN(); 5157 ecx = MEM32(ebp + (-0xC)); /* 0x2B043018: mov ecx, dword ptr [ebp - 0xc] */ 5158 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5159 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5160 esp = esp + 4; /* 0x2B04301B: add esp, 4 */ 5161 _flag_k = FK_ADD; 5162 edi = POP32_VAL(esp); /* 0x2B04301E: pop edi */ 5163 esi = POP32_VAL(esp); /* 0x2B04301F: pop esi */ 5164 ebx = POP32_VAL(esp); /* 0x2B043020: pop ebx */ 5165 MEM32(FS_BASE + (0)) = ecx; /* 0x2B043021: mov dword ptr fs:[0], ecx */ 5166 esp = ebp; /* 0x2B043028: mov esp, ebp */ 5167 ebp = POP32_VAL(esp); /* 0x2B04302A: pop ebp */ 5168 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B04302B: ret 4 */ 5169 RECOMP_REGS_OUT(); 5170 } 5171 5172 void sub_2B042F21(void) { 5173 int _fpu_cmp = 0; 5174 uint32_t _cf = 0; 5175 int _df = 1; 5176 uint32_t _flag_k = FK_NONE; 5177 uint32_t _flag_a = 0, _flag_b = 0; 5178 uint32_t _itail_tgt = 0; 5179 RECOMP_REGS_LOCALS 5180 RECOMP_ENTER(0x2B042F21u); 5181 5182 L_2B042F21: 5183 PUSH32(esp, ecx); /* 0x2B042F21: push ecx */ 5184 PUSH32(esp, 0x2B0436E0u); /* 0x2B042F22: push 0x2b0436e0 */ 5185 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B042F27: mov dword ptr [ebp - 4], 0xffffffff */ 5186 MEM32(esi + 0x28) = ecx; /* 0x2B042F2E: mov dword ptr [esi + 0x28], ecx */ 5187 RECOMP_ICALL(MEM32(0x2B0B5B44)); /* 0x2B042F31: call dword ptr [0x2b0b5b44] */ 5188 RECOMP_FLAGS_IN(); 5189 eax = MEM32(esi + 0x28); /* 0x2B042F37: mov eax, dword ptr [esi + 0x28] */ 5190 edi = MEM32(ebp + 0x8); /* 0x2B042F3A: mov edi, dword ptr [ebp + 8] */ 5191 ebx = MEM32(0x2B0B5D6C); /* 0x2B042F3D: mov ebx, dword ptr [0x2b0b5d6c] */ 5192 MEM32(eax + 0x70) = 0x2B043660u; /* 0x2B042F43: mov dword ptr [eax + 0x70], 0x2b043660 */ 5193 MEM32(eax + 0x74) = esi; /* 0x2B042F4A: mov dword ptr [eax + 0x74], esi */ 5194 edx = MEM32(esi + 0x28); /* 0x2B042F4D: mov edx, dword ptr [esi + 0x28] */ 5195 MEM8(edx + 0x8) = (uint8_t)(0); /* 0x2B042F50: mov byte ptr [edx + 8], 0 */ 5196 eax = MEM32(esi + 0x28); /* 0x2B042F54: mov eax, dword ptr [esi + 0x28] */ 5197 PUSH32(esp, edi); /* 0x2B042F57: push edi */ 5198 MEM32(eax + 0x10) = 0x2B043080u; /* 0x2B042F58: mov dword ptr [eax + 0x10], 0x2b043080 */ 5199 MEM32(eax + 0x14) = esi; /* 0x2B042F5F: mov dword ptr [eax + 0x14], esi */ 5200 RECOMP_ICALL(ebx); /* 0x2B042F62: call ebx */ 5201 RECOMP_FLAGS_IN(); 5202 ecx = eax; /* 0x2B042F64: mov ecx, eax */ 5203 RECOMP_ICALL(MEM32(0x2B0B5EBC)); /* 0x2B042F66: call dword ptr [0x2b0b5ebc] */ 5204 RECOMP_FLAGS_IN(); 5205 /* test eax, eax */ /* 0x2B042F6C: test eax, eax */ 5206 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5207 _cf = 0; 5208 _flag_k = FK_TEST; 5209 MEM32(esi + 0x10) = eax; /* 0x2B042F6E: mov dword ptr [esi + 0x10], eax */ 5210 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B042F7A; /* 0x2B042F71: jne 0x2b042f7a */ 5211 L_2B042F73: 5212 MEM32(esi + 0x10) = 1; /* 0x2B042F73: mov dword ptr [esi + 0x10], 1 */ 5213 L_2B042F7A: 5214 PUSH32(esp, edi); /* 0x2B042F7A: push edi */ 5215 RECOMP_ICALL(ebx); /* 0x2B042F7B: call ebx */ 5216 RECOMP_FLAGS_IN(); 5217 ecx = eax; /* 0x2B042F7D: mov ecx, eax */ 5218 RECOMP_ICALL(MEM32(0x2B0B5EC0)); /* 0x2B042F7F: call dword ptr [0x2b0b5ec0] */ 5219 RECOMP_FLAGS_IN(); 5220 ecx = MEM32(esi + 0x10); /* 0x2B042F85: mov ecx, dword ptr [esi + 0x10] */ 5221 edx = MEM32(ebp + (-0x10)); /* 0x2B042F88: mov edx, dword ptr [ebp - 0x10] */ 5222 ecx = ecx + ecx * 4; /* 0x2B042F8B: lea ecx, [ecx + ecx*4] */ 5223 eax = eax + eax * 4; /* 0x2B042F8E: lea eax, [eax + eax*4] */ 5224 if (1u) _cf = (((ecx) >> 31) & 1u); /* 0x2B042F91: shl ecx, 1 */ 5225 if (1u) { _flag_a = recomp_flags_pack((ecx << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5226 ecx = ecx << 1u; /* 0x2B042F91: shl ecx, 1 */ 5227 if (1u) _cf = (((eax) >> 31) & 1u); /* 0x2B042F93: shl eax, 1 */ 5228 if (1u) { _flag_a = recomp_flags_pack((eax << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5229 eax = eax << 1u; /* 0x2B042F93: shl eax, 1 */ 5230 MEM32(esi + 0xC) = eax; /* 0x2B042F95: mov dword ptr [esi + 0xc], eax */ 5231 MEM32(esi + 0x10) = ecx; /* 0x2B042F98: mov dword ptr [esi + 0x10], ecx */ 5232 MEM32(esi + 0x14) = 0; /* 0x2B042F9B: mov dword ptr [esi + 0x14], 0 */ 5233 MEM32(esi + 0x18) = 0x28u; /* 0x2B042FA2: mov dword ptr [esi + 0x18], 0x28 */ 5234 MEM8(esi + 0x1C) = (uint8_t)(1); /* 0x2B042FA9: mov byte ptr [esi + 0x1c], 1 */ 5235 ebx = MEM32(edx + 0x8C); /* 0x2B042FAD: mov ebx, dword ptr [edx + 0x8c] */ 5236 ecx = MEM32(ebx + 0x4); /* 0x2B042FB3: mov ecx, dword ptr [ebx + 4] */ 5237 edi = MEM32(ecx); /* 0x2B042FB6: mov edi, dword ptr [ecx] */ 5238 /* cmp ecx, edi */ /* 0x2B042FB8: cmp ecx, edi */ 5239 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 5240 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5241 _flag_k = FK_CMP; 5242 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B042FCA; /* 0x2B042FBA: je 0x2b042fca */ 5243 L_2B042FBC: 5244 edx = MEM32(edi + 0x8); /* 0x2B042FBC: mov edx, dword ptr [edi + 8] */ 5245 /* cmp MEM32(edx + 0xC), eax */ /* 0x2B042FBF: cmp dword ptr [edx + 0xc], eax */ 5246 _flag_a = (uint32_t)(MEM32(edx + 0xC)); _flag_b = (uint32_t)(eax); 5247 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5248 _flag_k = FK_CMP; 5249 if (CMP_G(_flag_a, _flag_b)) goto L_2B042FCA; /* 0x2B042FC2: jg 0x2b042fca */ 5250 L_2B042FC4: 5251 edi = MEM32(edi); /* 0x2B042FC4: mov edi, dword ptr [edi] */ 5252 /* cmp ecx, edi */ /* 0x2B042FC6: cmp ecx, edi */ 5253 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 5254 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5255 _flag_k = FK_CMP; 5256 RECOMP_BACKEDGE(); 5257 if (CMP_NE(_flag_a, _flag_b)) goto L_2B042FBC; /* 0x2B042FC8: jne 0x2b042fbc */ 5258 L_2B042FCA: 5259 eax = MEM32(edi + 0x4); /* 0x2B042FCA: mov eax, dword ptr [edi + 4] */ 5260 PUSH32(esp, 0xCu); /* 0x2B042FCD: push 0xc */ 5261 MEM32(ebp + 0x8) = eax; /* 0x2B042FCF: mov dword ptr [ebp + 8], eax */ 5262 RECOMP_ICALL(0x2B0AB212u); /* 0x2B042FD2: call 0x2b0ab212 */ /* not lifted */ 5263 RECOMP_FLAGS_IN(); 5264 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5265 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5266 esp = esp + 4; /* 0x2B042FD7: add esp, 4 */ 5267 _flag_k = FK_ADD; 5268 /* test edi, edi */ /* 0x2B042FDA: test edi, edi */ 5269 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 5270 _cf = 0; 5271 _flag_k = FK_TEST; 5272 ecx = edi; /* 0x2B042FDC: mov ecx, edi */ 5273 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B042FE2; /* 0x2B042FDE: jne 0x2b042fe2 */ 5274 L_2B042FE0: 5275 ecx = eax; /* 0x2B042FE0: mov ecx, eax */ 5276 L_2B042FE2: 5277 MEM32(eax) = ecx; /* 0x2B042FE2: mov dword ptr [eax], ecx */ 5278 ecx = MEM32(ebp + 0x8); /* 0x2B042FE4: mov ecx, dword ptr [ebp + 8] */ 5279 /* test ecx, ecx */ /* 0x2B042FE7: test ecx, ecx */ 5280 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5281 _cf = 0; 5282 _flag_k = FK_TEST; 5283 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B042FED; /* 0x2B042FE9: jne 0x2b042fed */ 5284 L_2B042FEB: 5285 ecx = eax; /* 0x2B042FEB: mov ecx, eax */ 5286 L_2B042FED: 5287 MEM32(eax + 0x4) = ecx; /* 0x2B042FED: mov dword ptr [eax + 4], ecx */ 5288 MEM32(edi + 0x4) = eax; /* 0x2B042FF0: mov dword ptr [edi + 4], eax */ 5289 ecx = MEM32(eax + 0x4); /* 0x2B042FF3: mov ecx, dword ptr [eax + 4] */ 5290 MEM32(ecx) = eax; /* 0x2B042FF6: mov dword ptr [ecx], eax */ 5291 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 5292 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5293 eax = eax + 8; /* 0x2B042FF8: add eax, 8 */ 5294 _flag_k = FK_ADD; 5295 /* test eax, eax */ /* 0x2B042FFB: test eax, eax */ 5296 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5297 _cf = 0; 5298 _flag_k = FK_TEST; 5299 if (TEST_Z(_flag_a, _flag_b)) goto L_2B043001; /* 0x2B042FFD: je 0x2b043001 */ 5300 L_2B042FFF: 5301 MEM32(eax) = esi; /* 0x2B042FFF: mov dword ptr [eax], esi */ 5302 L_2B043001: 5303 edx = MEM32(ebx + 0x8); /* 0x2B043001: mov edx, dword ptr [ebx + 8] */ 5304 esi = MEM32(ebp + (-0x10)); /* 0x2B043004: mov esi, dword ptr [ebp - 0x10] */ 5305 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 5306 edx = edx + 1; /* 0x2B043007: inc edx */ 5307 _flag_k = FK_INC; 5308 ecx = esi; /* 0x2B043008: mov ecx, esi */ 5309 MEM32(ebx + 0x8) = edx; /* 0x2B04300A: mov dword ptr [ebx + 8], edx */ 5310 RECOMP_ICALL(0x2B03A490u); /* 0x2B04300D: call 0x2b03a490 */ /* not lifted */ 5311 RECOMP_FLAGS_IN(); 5312 PUSH32(esp, esi); /* 0x2B043012: push esi */ 5313 RECOMP_ICALL(0x2B03BA50u); /* 0x2B043013: call 0x2b03ba50 */ /* not lifted */ 5314 RECOMP_FLAGS_IN(); 5315 ecx = MEM32(ebp + (-0xC)); /* 0x2B043018: mov ecx, dword ptr [ebp - 0xc] */ 5316 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5317 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5318 esp = esp + 4; /* 0x2B04301B: add esp, 4 */ 5319 _flag_k = FK_ADD; 5320 edi = POP32_VAL(esp); /* 0x2B04301E: pop edi */ 5321 esi = POP32_VAL(esp); /* 0x2B04301F: pop esi */ 5322 ebx = POP32_VAL(esp); /* 0x2B043020: pop ebx */ 5323 MEM32(FS_BASE + (0)) = ecx; /* 0x2B043021: mov dword ptr fs:[0], ecx */ 5324 esp = ebp; /* 0x2B043028: mov esp, ebp */ 5325 ebp = POP32_VAL(esp); /* 0x2B04302A: pop ebp */ 5326 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B04302B: ret 4 */ 5327 RECOMP_REGS_OUT(); 5328 } 5329 5330 void sub_2B043030(void) { 5331 int _fpu_cmp = 0; 5332 uint32_t _cf = 0; 5333 int _df = 1; 5334 uint32_t _flag_k = FK_NONE; 5335 uint32_t _flag_a = 0, _flag_b = 0; 5336 uint32_t _itail_tgt = 0; 5337 RECOMP_REGS_LOCALS 5338 RECOMP_ENTER(0x2B043030u); 5339 5340 L_2B043030: 5341 PUSH32(esp, ebp); /* 0x2B043030: push ebp */ 5342 ebp = esp; /* 0x2B043031: mov ebp, esp */ 5343 eax = MEM32(ecx + 0x8C); /* 0x2B043033: mov eax, dword ptr [ecx + 0x8c] */ 5344 edx = MEM32(eax + 0x4); /* 0x2B043039: mov edx, dword ptr [eax + 4] */ 5345 eax = MEM32(eax + 0x8); /* 0x2B04303C: mov eax, dword ptr [eax + 8] */ 5346 /* test eax, eax */ /* 0x2B04303F: test eax, eax */ 5347 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5348 _cf = 0; 5349 _flag_k = FK_TEST; 5350 edx = MEM32(edx); /* 0x2B043041: mov edx, dword ptr [edx] */ 5351 if (TEST_LE(_flag_a, _flag_b)) goto L_2B043074; /* 0x2B043043: jle 0x2b043074 */ 5352 L_2B043045: 5353 PUSH32(esp, ebx); /* 0x2B043045: push ebx */ 5354 PUSH32(esp, esi); /* 0x2B043046: push esi */ 5355 esi = MEM32(ebp + 0x8); /* 0x2B043047: mov esi, dword ptr [ebp + 8] */ 5356 PUSH32(esp, edi); /* 0x2B04304A: push edi */ 5357 edi = eax; /* 0x2B04304B: mov edi, eax */ 5358 L_2B04304D: 5359 eax = MEM32(edx + 0x8); /* 0x2B04304D: mov eax, dword ptr [edx + 8] */ 5360 ebx = MEM32(eax + 0x4); /* 0x2B043050: mov ebx, dword ptr [eax + 4] */ 5361 /* cmp ebx, MEM32(esi + 0x4) */ /* 0x2B043053: cmp ebx, dword ptr [esi + 4] */ 5362 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5363 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5364 _flag_k = FK_CMP; 5365 if (CMP_NE(_flag_a, _flag_b)) goto L_2B04306C; /* 0x2B043056: jne 0x2b04306c */ 5366 L_2B043058: 5367 ebx = MEM32(eax); /* 0x2B043058: mov ebx, dword ptr [eax] */ 5368 /* cmp ebx, MEM32(esi) */ /* 0x2B04305A: cmp ebx, dword ptr [esi] */ 5369 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi)); 5370 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5371 _flag_k = FK_CMP; 5372 if (CMP_NE(_flag_a, _flag_b)) goto L_2B04306C; /* 0x2B04305C: jne 0x2b04306c */ 5373 L_2B04305E: 5374 MEM32(eax + 0x8) = 1; /* 0x2B04305E: mov dword ptr [eax + 8], 1 */ 5375 MEM32(eax + 0xC) = 0; /* 0x2B043065: mov dword ptr [eax + 0xc], 0 */ 5376 L_2B04306C: 5377 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 5378 edi = edi - 1; /* 0x2B04306C: dec edi */ 5379 _flag_k = FK_DEC; 5380 edx = MEM32(edx); /* 0x2B04306D: mov edx, dword ptr [edx] */ 5381 RECOMP_BACKEDGE(); 5382 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B04304D; /* 0x2B04306F: jne 0x2b04304d */ 5383 L_2B043071: 5384 edi = POP32_VAL(esp); /* 0x2B043071: pop edi */ 5385 esi = POP32_VAL(esp); /* 0x2B043072: pop esi */ 5386 ebx = POP32_VAL(esp); /* 0x2B043073: pop ebx */ 5387 L_2B043074: 5388 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B043074: call 0x2b03a2b0 */ /* not lifted */ 5389 RECOMP_FLAGS_IN(); 5390 ebp = POP32_VAL(esp); /* 0x2B043079: pop ebp */ 5391 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B04307A: ret 4 */ 5392 RECOMP_REGS_OUT(); 5393 } 5394 5395 void sub_2B043080(void) { 5396 int _fpu_cmp = 0; 5397 uint32_t _cf = 0; 5398 int _df = 1; 5399 uint32_t _flag_k = FK_NONE; 5400 uint32_t _flag_a = 0, _flag_b = 0; 5401 uint32_t _itail_tgt = 0; 5402 RECOMP_REGS_LOCALS 5403 RECOMP_ENTER(0x2B043080u); 5404 5405 L_2B043080: 5406 PUSH32(esp, ebp); /* 0x2B043080: push ebp */ 5407 ebp = esp; /* 0x2B043081: mov ebp, esp */ 5408 ecx = MEM32(0x2B0EEA60); /* 0x2B043083: mov ecx, dword ptr [0x2b0eea60] */ 5409 /* test ecx, ecx */ /* 0x2B043089: test ecx, ecx */ 5410 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5411 _cf = 0; 5412 _flag_k = FK_TEST; 5413 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04309A; /* 0x2B04308B: je 0x2b04309a */ 5414 L_2B04308D: 5415 eax = MEM32(ebp + 0xC); /* 0x2B04308D: mov eax, dword ptr [ebp + 0xc] */ 5416 edx = MEM32(ebp + 0x8); /* 0x2B043090: mov edx, dword ptr [ebp + 8] */ 5417 PUSH32(esp, eax); /* 0x2B043093: push eax */ 5418 PUSH32(esp, edx); /* 0x2B043094: push edx */ 5419 RECOMP_ICALL(0x2B0430A0u); /* 0x2B043095: call 0x2b0430a0 */ /* not lifted */ 5420 RECOMP_FLAGS_IN(); 5421 L_2B04309A: 5422 ebp = POP32_VAL(esp); /* 0x2B04309A: pop ebp */ 5423 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B04309B: ret */ 5424 RECOMP_REGS_OUT(); 5425 } 5426 5427 void sub_2B0430A0(void) { 5428 int _fpu_cmp = 0; 5429 uint32_t _cf = 0; 5430 int _df = 1; 5431 uint32_t _flag_k = FK_NONE; 5432 uint32_t _flag_a = 0, _flag_b = 0; 5433 uint32_t _itail_tgt = 0; 5434 RECOMP_REGS_LOCALS 5435 RECOMP_ENTER(0x2B0430A0u); 5436 5437 L_2B0430A0: 5438 PUSH32(esp, ebp); /* 0x2B0430A0: push ebp */ 5439 ebp = esp; /* 0x2B0430A1: mov ebp, esp */ 5440 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x34u); 5441 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5442 esp = esp - 0x34u; /* 0x2B0430A3: sub esp, 0x34 */ 5443 _flag_k = FK_CMP; 5444 eax = MEM32(ebp + 0x8); /* 0x2B0430A6: mov eax, dword ptr [ebp + 8] */ 5445 /* cmp eax, MEM32(ecx + 0xAC) */ /* 0x2B0430A9: cmp eax, dword ptr [ecx + 0xac] */ 5446 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0xAC)); 5447 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5448 _flag_k = FK_CMP; 5449 PUSH32(esp, ebx); /* 0x2B0430AF: push ebx */ 5450 PUSH32(esp, esi); /* 0x2B0430B0: push esi */ 5451 PUSH32(esp, edi); /* 0x2B0430B1: push edi */ 5452 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0430E1; /* 0x2B0430B2: jne 0x2b0430e1 */ 5453 L_2B0430B4: 5454 esi = MEM32(0x2B0B5D6C); /* 0x2B0430B4: mov esi, dword ptr [0x2b0b5d6c] */ 5455 PUSH32(esp, 2); /* 0x2B0430BA: push 2 */ 5456 PUSH32(esp, 1); /* 0x2B0430BC: push 1 */ 5457 RECOMP_ICALL(esi); /* 0x2B0430BE: call esi */ 5458 RECOMP_FLAGS_IN(); 5459 edi = MEM32(0x2B0B5D70); /* 0x2B0430C0: mov edi, dword ptr [0x2b0b5d70] */ 5460 ecx = eax; /* 0x2B0430C6: mov ecx, eax */ 5461 RECOMP_ICALL(edi); /* 0x2B0430C8: call edi */ 5462 RECOMP_FLAGS_IN(); 5463 PUSH32(esp, eax); /* 0x2B0430CA: push eax */ 5464 PUSH32(esp, 2); /* 0x2B0430CB: push 2 */ 5465 PUSH32(esp, 0x1Bu); /* 0x2B0430CD: push 0x1b */ 5466 RECOMP_ICALL(esi); /* 0x2B0430CF: call esi */ 5467 RECOMP_FLAGS_IN(); 5468 ecx = eax; /* 0x2B0430D1: mov ecx, eax */ 5469 RECOMP_ICALL(edi); /* 0x2B0430D3: call edi */ 5470 RECOMP_FLAGS_IN(); 5471 PUSH32(esp, eax); /* 0x2B0430D5: push eax */ 5472 PUSH32(esp, 0x2B0E7358u); /* 0x2B0430D6: push 0x2b0e7358 */ 5473 eax = ebp + (-0x34); /* 0x2B0430DB: lea eax, [ebp - 0x34] */ 5474 PUSH32(esp, eax); /* 0x2B0430DE: push eax */ 5475 goto L_2B04313E; /* 0x2B0430DF: jmp 0x2b04313e */ 5476 L_2B0430E1: 5477 /* cmp eax, MEM32(ecx + 0xB0) */ /* 0x2B0430E1: cmp eax, dword ptr [ecx + 0xb0] */ 5478 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0xB0)); 5479 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5480 _flag_k = FK_CMP; 5481 if (CMP_NE(_flag_a, _flag_b)) goto L_2B04311F; /* 0x2B0430E7: jne 0x2b04311f */ 5482 L_2B0430E9: 5483 edi = MEM32(0x2B0B5D6C); /* 0x2B0430E9: mov edi, dword ptr [0x2b0b5d6c] */ 5484 PUSH32(esp, 2); /* 0x2B0430EF: push 2 */ 5485 PUSH32(esp, 0xD6u); /* 0x2B0430F1: push 0xd6 */ 5486 RECOMP_ICALL(edi); /* 0x2B0430F6: call edi */ 5487 RECOMP_FLAGS_IN(); 5488 ebx = MEM32(0x2B0B5D70); /* 0x2B0430F8: mov ebx, dword ptr [0x2b0b5d70] */ 5489 ecx = eax; /* 0x2B0430FE: mov ecx, eax */ 5490 RECOMP_ICALL(ebx); /* 0x2B043100: call ebx */ 5491 RECOMP_FLAGS_IN(); 5492 esi = eax; /* 0x2B043102: mov esi, eax */ 5493 /* cmp esi, 0x499602D2u */ /* 0x2B043104: cmp esi, 0x499602d2 */ 5494 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x499602D2u); 5495 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5496 _flag_k = FK_CMP; 5497 if (CMP_NE(_flag_a, _flag_b)) goto L_2B04310E; /* 0x2B04310A: jne 0x2b04310e */ 5498 L_2B04310C: 5499 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5500 esi = 0; /* 0x2B04310C: xor esi, esi */ 5501 _cf = 0; 5502 _flag_k = FK_TEST; 5503 L_2B04310E: 5504 PUSH32(esp, 2); /* 0x2B04310E: push 2 */ 5505 PUSH32(esp, 0xDDu); /* 0x2B043110: push 0xdd */ 5506 RECOMP_ICALL(edi); /* 0x2B043115: call edi */ 5507 RECOMP_FLAGS_IN(); 5508 ecx = eax; /* 0x2B043117: mov ecx, eax */ 5509 RECOMP_ICALL(ebx); /* 0x2B043119: call ebx */ 5510 RECOMP_FLAGS_IN(); 5511 PUSH32(esp, eax); /* 0x2B04311B: push eax */ 5512 PUSH32(esp, esi); /* 0x2B04311C: push esi */ 5513 goto L_2B043135; /* 0x2B04311D: jmp 0x2b043135 */ 5514 L_2B04311F: 5515 /* cmp eax, MEM32(ecx + 0xB4) */ /* 0x2B04311F: cmp eax, dword ptr [ecx + 0xb4] */ 5516 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0xB4)); 5517 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5518 _flag_k = FK_CMP; 5519 if (CMP_NE(_flag_a, _flag_b)) goto L_2B043176; /* 0x2B043125: jne 0x2b043176 */ 5520 L_2B043127: 5521 edx = MEM32(ecx + 0xC0); /* 0x2B043127: mov edx, dword ptr [ecx + 0xc0] */ 5522 eax = MEM32(ecx + 0xBC); /* 0x2B04312D: mov eax, dword ptr [ecx + 0xbc] */ 5523 PUSH32(esp, edx); /* 0x2B043133: push edx */ 5524 PUSH32(esp, eax); /* 0x2B043134: push eax */ 5525 L_2B043135: 5526 PUSH32(esp, 0x2B0E7358u); /* 0x2B043135: push 0x2b0e7358 */ 5527 ecx = ebp + (-0x34); /* 0x2B04313A: lea ecx, [ebp - 0x34] */ 5528 PUSH32(esp, ecx); /* 0x2B04313D: push ecx */ 5529 L_2B04313E: 5530 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B04313E: call dword ptr [0x2b0b51f0] */ 5531 RECOMP_FLAGS_IN(); 5532 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 5533 ecx = ecx | 0xFFFFFFFFu; /* 0x2B043144: or ecx, 0xffffffff */ 5534 _cf = 0; 5535 _flag_k = FK_TEST; 5536 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 5537 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5538 esp = esp + 0x10u; /* 0x2B043147: add esp, 0x10 */ 5539 _flag_k = FK_ADD; 5540 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5541 eax = 0; /* 0x2B04314A: xor eax, eax */ 5542 _cf = 0; 5543 _flag_k = FK_TEST; 5544 edi = ebp + (-0x34); /* 0x2B04314C: lea edi, [ebp - 0x34] */ 5545 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; } /* 0x2B04314F: repne scasb al, byte ptr es:[edi] */ 5546 edi = MEM32(ebp + 0xC); /* 0x2B043151: mov edi, dword ptr [ebp + 0xc] */ 5547 ecx = ~ecx; /* 0x2B043154: not ecx */ 5548 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 5549 ecx = ecx - 1; /* 0x2B043156: dec ecx */ 5550 _flag_k = FK_DEC; 5551 ebx = ecx; /* 0x2B043157: mov ebx, ecx */ 5552 PUSH32(esp, 1); /* 0x2B043159: push 1 */ 5553 PUSH32(esp, ebx); /* 0x2B04315B: push ebx */ 5554 ecx = edi; /* 0x2B04315C: mov ecx, edi */ 5555 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B04315E: call dword ptr [0x2b0b5154] */ 5556 RECOMP_FLAGS_IN(); 5557 /* test LO8(eax), LO8(eax) */ /* 0x2B043164: test al, al */ 5558 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5559 _cf = 0; 5560 _flag_k = FK_NARROW(FK_TEST, 24); 5561 if (TEST_Z(_flag_a, _flag_b)) goto L_2B043229; /* 0x2B043166: je 0x2b043229 */ 5562 L_2B04316C: 5563 ecx = ebx; /* 0x2B04316C: mov ecx, ebx */ 5564 esi = ebp + (-0x34); /* 0x2B04316E: lea esi, [ebp - 0x34] */ 5565 goto L_2B04320B; /* 0x2B043171: jmp 0x2b04320b */ 5566 L_2B043176: 5567 PUSH32(esp, eax); /* 0x2B043176: push eax */ 5568 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B043177: call dword ptr [0x2b0b5d6c] */ 5569 RECOMP_FLAGS_IN(); 5570 ecx = eax; /* 0x2B04317D: mov ecx, eax */ 5571 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B04317F: call dword ptr [0x2b0b5d50] */ 5572 RECOMP_FLAGS_IN(); 5573 esi = eax; /* 0x2B043185: mov esi, eax */ 5574 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 5575 ecx = ecx | 0xFFFFFFFFu; /* 0x2B043187: or ecx, 0xffffffff */ 5576 _cf = 0; 5577 _flag_k = FK_TEST; 5578 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5579 eax = 0; /* 0x2B04318A: xor eax, eax */ 5580 _cf = 0; 5581 _flag_k = FK_TEST; 5582 edi = esi; /* 0x2B04318C: mov edi, esi */ 5583 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; } /* 0x2B04318E: repne scasb al, byte ptr es:[edi] */ 5584 ecx = ~ecx; /* 0x2B043190: not ecx */ 5585 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 5586 ecx = ecx - 1; /* 0x2B043192: dec ecx */ 5587 _flag_k = FK_DEC; 5588 ebx = ecx; /* 0x2B043193: mov ebx, ecx */ 5589 /* cmp ebx, 0xFFFFFFFDu */ /* 0x2B043195: cmp ebx, -3 */ 5590 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0xFFFFFFFDu); 5591 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5592 _flag_k = FK_CMP; 5593 if (CMP_BE(_flag_a, _flag_b)) goto L_2B0431A0; /* 0x2B043198: jbe 0x2b0431a0 */ 5594 L_2B04319A: 5595 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B04319A: call dword ptr [0x2b0b51a8] */ 5596 RECOMP_FLAGS_IN(); 5597 L_2B0431A0: 5598 edi = MEM32(ebp + 0xC); /* 0x2B0431A0: mov edi, dword ptr [ebp + 0xc] */ 5599 eax = MEM32(edi + 0x4); /* 0x2B0431A3: mov eax, dword ptr [edi + 4] */ 5600 /* test eax, eax */ /* 0x2B0431A6: test eax, eax */ 5601 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5602 _cf = 0; 5603 _flag_k = FK_TEST; 5604 MEM32(edi + 0x8) = 0; /* 0x2B0431A8: mov dword ptr [edi + 8], 0 */ 5605 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0431D3; /* 0x2B0431AF: je 0x2b0431d3 */ 5606 L_2B0431B1: 5607 SET_LO8(eax, MEM8(eax + (-0x1))); /* 0x2B0431B1: mov al, byte ptr [eax - 1] */ 5608 /* test LO8(eax), LO8(eax) */ /* 0x2B0431B4: test al, al */ 5609 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5610 _cf = 0; 5611 _flag_k = FK_NARROW(FK_TEST, 24); 5612 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0431D3; /* 0x2B0431B6: je 0x2b0431d3 */ 5613 L_2B0431B8: 5614 /* cmp LO8(eax), 0xFFu */ /* 0x2B0431B8: cmp al, 0xff */ 5615 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 5616 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5617 _flag_k = FK_NARROW(FK_CMP, 24); 5618 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0431D3; /* 0x2B0431BA: je 0x2b0431d3 */ 5619 L_2B0431BC: 5620 /* test ebx, ebx */ /* 0x2B0431BC: test ebx, ebx */ 5621 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 5622 _cf = 0; 5623 _flag_k = FK_TEST; 5624 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B043200; /* 0x2B0431BE: jne 0x2b043200 */ 5625 L_2B0431C0: 5626 PUSH32(esp, 1); /* 0x2B0431C0: push 1 */ 5627 ecx = edi; /* 0x2B0431C2: mov ecx, edi */ 5628 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0431C4: call dword ptr [0x2b0b514c] */ 5629 RECOMP_FLAGS_IN(); 5630 edi = POP32_VAL(esp); /* 0x2B0431CA: pop edi */ 5631 esi = POP32_VAL(esp); /* 0x2B0431CB: pop esi */ 5632 ebx = POP32_VAL(esp); /* 0x2B0431CC: pop ebx */ 5633 esp = ebp; /* 0x2B0431CD: mov esp, ebp */ 5634 ebp = POP32_VAL(esp); /* 0x2B0431CF: pop ebp */ 5635 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0431D0: ret 8 */ 5636 L_2B0431D3: 5637 /* test ebx, ebx */ /* 0x2B0431D3: test ebx, ebx */ 5638 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 5639 _cf = 0; 5640 _flag_k = FK_TEST; 5641 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0431EA; /* 0x2B0431D5: jne 0x2b0431ea */ 5642 L_2B0431D7: 5643 PUSH32(esp, 1); /* 0x2B0431D7: push 1 */ 5644 ecx = edi; /* 0x2B0431D9: mov ecx, edi */ 5645 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0431DB: call dword ptr [0x2b0b514c] */ 5646 RECOMP_FLAGS_IN(); 5647 edi = POP32_VAL(esp); /* 0x2B0431E1: pop edi */ 5648 esi = POP32_VAL(esp); /* 0x2B0431E2: pop esi */ 5649 ebx = POP32_VAL(esp); /* 0x2B0431E3: pop ebx */ 5650 esp = ebp; /* 0x2B0431E4: mov esp, ebp */ 5651 ebp = POP32_VAL(esp); /* 0x2B0431E6: pop ebp */ 5652 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0431E7: ret 8 */ 5653 L_2B0431EA: 5654 eax = MEM32(edi + 0xC); /* 0x2B0431EA: mov eax, dword ptr [edi + 0xc] */ 5655 /* cmp eax, 0x1Fu */ /* 0x2B0431ED: cmp eax, 0x1f */ 5656 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1Fu); 5657 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5658 _flag_k = FK_CMP; 5659 if (CMP_A(_flag_a, _flag_b)) goto L_2B0431F6; /* 0x2B0431F0: ja 0x2b0431f6 */ 5660 L_2B0431F2: 5661 /* cmp eax, ebx */ /* 0x2B0431F2: cmp eax, ebx */ 5662 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 5663 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5664 _flag_k = FK_CMP; 5665 if (CMP_AE(_flag_a, _flag_b)) goto L_2B043209; /* 0x2B0431F4: jae 0x2b043209 */ 5666 L_2B0431F6: 5667 PUSH32(esp, 1); /* 0x2B0431F6: push 1 */ 5668 ecx = edi; /* 0x2B0431F8: mov ecx, edi */ 5669 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0431FA: call dword ptr [0x2b0b514c] */ 5670 RECOMP_FLAGS_IN(); 5671 L_2B043200: 5672 PUSH32(esp, ebx); /* 0x2B043200: push ebx */ 5673 ecx = edi; /* 0x2B043201: mov ecx, edi */ 5674 RECOMP_ICALL(MEM32(0x2B0B5110)); /* 0x2B043203: call dword ptr [0x2b0b5110] */ 5675 RECOMP_FLAGS_IN(); 5676 L_2B043209: 5677 ecx = ebx; /* 0x2B043209: mov ecx, ebx */ 5678 L_2B04320B: 5679 edi = MEM32(edi + 0x4); /* 0x2B04320B: mov edi, dword ptr [edi + 4] */ 5680 eax = MEM32(ebp + 0xC); /* 0x2B04320E: mov eax, dword ptr [ebp + 0xc] */ 5681 edx = ecx; /* 0x2B043211: mov edx, ecx */ 5682 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B043213: shr ecx, 2 */ 5683 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5684 ecx = ecx >> 2u; /* 0x2B043213: shr ecx, 2 */ 5685 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B043216: 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; } 5686 ecx = edx; /* 0x2B043218: mov ecx, edx */ 5687 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 5688 ecx = ecx & 3; /* 0x2B04321A: and ecx, 3 */ 5689 _cf = 0; 5690 _flag_k = FK_TEST; 5691 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B04321D: 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; } 5692 MEM32(eax + 0x8) = ebx; /* 0x2B04321F: mov dword ptr [eax + 8], ebx */ 5693 eax = MEM32(eax + 0x4); /* 0x2B043222: mov eax, dword ptr [eax + 4] */ 5694 MEM8(eax + ebx) = (uint8_t)(0); /* 0x2B043225: mov byte ptr [eax + ebx], 0 */ 5695 L_2B043229: 5696 edi = POP32_VAL(esp); /* 0x2B043229: pop edi */ 5697 esi = POP32_VAL(esp); /* 0x2B04322A: pop esi */ 5698 ebx = POP32_VAL(esp); /* 0x2B04322B: pop ebx */ 5699 esp = ebp; /* 0x2B04322C: mov esp, ebp */ 5700 ebp = POP32_VAL(esp); /* 0x2B04322E: pop ebp */ 5701 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B04322F: ret 8 */ 5702 RECOMP_REGS_OUT(); 5703 } 5704 5705 void sub_2B04320B(void) { 5706 int _fpu_cmp = 0; 5707 uint32_t _cf = 0; 5708 int _df = 1; 5709 uint32_t _flag_k = FK_NONE; 5710 uint32_t _flag_a = 0, _flag_b = 0; 5711 uint32_t _itail_tgt = 0; 5712 RECOMP_REGS_LOCALS 5713 RECOMP_ENTER(0x2B04320Bu); 5714 5715 L_2B04320B: 5716 edi = MEM32(edi + 0x4); /* 0x2B04320B: mov edi, dword ptr [edi + 4] */ 5717 eax = MEM32(ebp + 0xC); /* 0x2B04320E: mov eax, dword ptr [ebp + 0xc] */ 5718 edx = ecx; /* 0x2B043211: mov edx, ecx */ 5719 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B043213: shr ecx, 2 */ 5720 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5721 ecx = ecx >> 2u; /* 0x2B043213: shr ecx, 2 */ 5722 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B043216: 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; } 5723 ecx = edx; /* 0x2B043218: mov ecx, edx */ 5724 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 5725 ecx = ecx & 3; /* 0x2B04321A: and ecx, 3 */ 5726 _cf = 0; 5727 _flag_k = FK_TEST; 5728 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B04321D: 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; } 5729 MEM32(eax + 0x8) = ebx; /* 0x2B04321F: mov dword ptr [eax + 8], ebx */ 5730 eax = MEM32(eax + 0x4); /* 0x2B043222: mov eax, dword ptr [eax + 4] */ 5731 MEM8(eax + ebx) = (uint8_t)(0); /* 0x2B043225: mov byte ptr [eax + ebx], 0 */ 5732 edi = POP32_VAL(esp); /* 0x2B043229: pop edi */ 5733 esi = POP32_VAL(esp); /* 0x2B04322A: pop esi */ 5734 ebx = POP32_VAL(esp); /* 0x2B04322B: pop ebx */ 5735 esp = ebp; /* 0x2B04322C: mov esp, ebp */ 5736 ebp = POP32_VAL(esp); /* 0x2B04322E: pop ebp */ 5737 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B04322F: ret 8 */ 5738 RECOMP_REGS_OUT(); 5739 } 5740 5741 void sub_2B043240(void) { 5742 int _fpu_cmp = 0; 5743 uint32_t _cf = 0; 5744 int _df = 1; 5745 uint32_t _flag_k = FK_NONE; 5746 uint32_t _flag_a = 0, _flag_b = 0; 5747 uint32_t _itail_tgt = 0; 5748 RECOMP_REGS_LOCALS 5749 RECOMP_ENTER(0x2B043240u); 5750 5751 L_2B043240: 5752 PUSH32(esp, ebp); /* 0x2B043240: push ebp */ 5753 L_2B043241: 5754 ebp = esp; /* 0x2B043241: mov ebp, esp */ 5755 L_2B043243: 5756 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xB4u); 5757 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5758 esp = esp - 0xB4u; /* 0x2B043243: sub esp, 0xb4 */ 5759 _flag_k = FK_CMP; 5760 L_2B043249: 5761 PUSH32(esp, esi); /* 0x2B043249: push esi */ 5762 L_2B04324A: 5763 esi = ecx; /* 0x2B04324A: mov esi, ecx */ 5764 L_2B04324C: 5765 PUSH32(esp, edi); /* 0x2B04324C: push edi */ 5766 L_2B04324D: 5767 MEM32(ebp + (-0x8)) = esi; /* 0x2B04324D: mov dword ptr [ebp - 8], esi */ 5768 L_2B043250: 5769 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B043250: call dword ptr [0x2b0b5d6c] */ 5770 RECOMP_FLAGS_IN(); 5771 L_2B043256: 5772 ecx = eax; /* 0x2B043256: mov ecx, eax */ 5773 L_2B043258: 5774 RECOMP_ICALL(MEM32(0x2B0B5EB8)); /* 0x2B043258: call dword ptr [0x2b0b5eb8] */ 5775 RECOMP_FLAGS_IN(); 5776 L_2B04325E: 5777 /* test LO8(eax), LO8(eax) */ /* 0x2B04325E: test al, al */ 5778 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5779 _cf = 0; 5780 _flag_k = FK_NARROW(FK_TEST, 24); 5781 L_2B043260: 5782 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0434B1; /* 0x2B043260: je 0x2b0434b1 */ 5783 L_2B043266: 5784 eax = MEM32(esi + 0x8C); /* 0x2B043266: mov eax, dword ptr [esi + 0x8c] */ 5785 L_2B04326C: 5786 eax = MEM32(eax + 0x4); /* 0x2B04326C: mov eax, dword ptr [eax + 4] */ 5787 L_2B04326F: 5788 edi = MEM32(eax); /* 0x2B04326F: mov edi, dword ptr [eax] */ 5789 L_2B043271: 5790 /* cmp eax, edi */ /* 0x2B043271: cmp eax, edi */ 5791 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 5792 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5793 _flag_k = FK_CMP; 5794 L_2B043273: 5795 MEM32(ebp + (-0x4)) = edi; /* 0x2B043273: mov dword ptr [ebp - 4], edi */ 5796 L_2B043276: 5797 MEM32(ebp + (-0xC)) = 0; /* 0x2B043276: mov dword ptr [ebp - 0xc], 0 */ 5798 L_2B04327D: 5799 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0434B1; /* 0x2B04327D: je 0x2b0434b1 */ 5800 L_2B043283: 5801 PUSH32(esp, ebx); /* 0x2B043283: push ebx */ 5802 L_2B043284: 5803 goto L_2B043289; /* 0x2B043284: jmp 0x2b043289 */ 5804 L_2B043286: 5805 edi = MEM32(ebp + (-0x4)); /* 0x2B043286: mov edi, dword ptr [ebp - 4] */ 5806 L_2B043289: 5807 esi = MEM32(edi + 0x8); /* 0x2B043289: mov esi, dword ptr [edi + 8] */ 5808 L_2B04328C: 5809 RECOMP_ICALL(MEM32(0x2B0B53BC)); /* 0x2B04328C: call dword ptr [0x2b0b53bc] */ 5810 RECOMP_FLAGS_IN(); 5811 L_2B043292: 5812 eax = MEM32(eax + 0x28); /* 0x2B043292: mov eax, dword ptr [eax + 0x28] */ 5813 L_2B043295: 5814 edx = MEM32(esi + 0xC); /* 0x2B043295: mov edx, dword ptr [esi + 0xc] */ 5815 L_2B043298: 5816 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 5817 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5818 edx = edx - eax; /* 0x2B043298: sub edx, eax */ 5819 _flag_k = FK_CMP; 5820 L_2B04329A: 5821 PUSH32(esp, 0); /* 0x2B04329A: push 0 */ 5822 L_2B04329C: 5823 PUSH32(esp, esi); /* 0x2B04329C: push esi */ 5824 L_2B04329D: 5825 MEM32(esi + 0xC) = edx; /* 0x2B04329D: mov dword ptr [esi + 0xc], edx */ 5826 L_2B0432A0: 5827 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0432A0: call dword ptr [0x2b0b5d6c] */ 5828 RECOMP_FLAGS_IN(); 5829 L_2B0432A6: 5830 ecx = eax; /* 0x2B0432A6: mov ecx, eax */ 5831 L_2B0432A8: 5832 RECOMP_ICALL(MEM32(0x2B0B5EE0)); /* 0x2B0432A8: call dword ptr [0x2b0b5ee0] */ 5833 RECOMP_FLAGS_IN(); 5834 L_2B0432AE: 5835 edx = MEM32(esi + 0xC); /* 0x2B0432AE: mov edx, dword ptr [esi + 0xc] */ 5836 L_2B0432B1: 5837 ecx = eax; /* 0x2B0432B1: mov ecx, eax */ 5838 L_2B0432B3: 5839 eax = 0x10624DD3u; /* 0x2B0432B3: mov eax, 0x10624dd3 */ 5840 L_2B0432B8: 5841 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x2B0432B8: imul edx */ 5842 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 5843 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 5844 L_2B0432BA: 5845 if (6u) _cf = (((edx) >> 5) & 1u); /* 0x2B0432BA: sar edx, 6 */ 5846 if (6u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 6u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5847 edx = (uint32_t)((int32_t)edx >> 6u); 5848 L_2B0432BD: 5849 eax = edx; /* 0x2B0432BD: mov eax, edx */ 5850 L_2B0432BF: 5851 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B0432BF: shr eax, 0x1f */ 5852 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5853 eax = eax >> 31u; /* 0x2B0432BF: shr eax, 0x1f */ 5854 L_2B0432C2: 5855 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 5856 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5857 edx = edx + eax; /* 0x2B0432C2: add edx, eax */ 5858 _flag_k = FK_ADD; 5859 L_2B0432C4: 5860 SET_LO8(eax, MEM8(esi + 0x2C)); /* 0x2B0432C4: mov al, byte ptr [esi + 0x2c] */ 5861 L_2B0432C7: 5862 if (19u) _cf = (((ecx) >> 18) & 1u); /* 0x2B0432C7: shr ecx, 0x13 */ 5863 if (19u) { _flag_a = recomp_flags_pack((ecx >> 19u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5864 ecx = ecx >> 19u; /* 0x2B0432C7: shr ecx, 0x13 */ 5865 L_2B0432CA: 5866 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(1) << 24; 5867 SET_LO8(ecx, LO8(ecx) & 1); /* 0x2B0432CA: and cl, 1 */ 5868 _cf = 0; 5869 _flag_k = FK_NARROW(FK_TEST, 24); 5870 L_2B0432CD: 5871 /* test LO8(eax), LO8(eax) */ /* 0x2B0432CD: test al, al */ 5872 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5873 _cf = 0; 5874 _flag_k = FK_NARROW(FK_TEST, 24); 5875 L_2B0432CF: 5876 ebx = edx; /* 0x2B0432CF: mov ebx, edx */ 5877 L_2B0432D1: 5878 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B043338; /* 0x2B0432D1: jne 0x2b043338 */ 5879 L_2B0432D3: 5880 /* cmp ebx, 0xAu */ /* 0x2B0432D3: cmp ebx, 0xa */ 5881 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0xAu); 5882 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5883 _flag_k = FK_CMP; 5884 L_2B0432D6: 5885 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_G, _cf)) goto L_2B043338; /* 0x2B0432D6: jg 0x2b043338 */ 5886 L_2B0432D8: 5887 /* cmp ebx, 2 */ /* 0x2B0432D8: cmp ebx, 2 */ 5888 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(2); 5889 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5890 _flag_k = FK_CMP; 5891 L_2B0432DB: 5892 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_2B043338; /* 0x2B0432DB: jle 0x2b043338 */ 5893 L_2B0432DD: 5894 /* test LO8(ecx), LO8(ecx) */ /* 0x2B0432DD: test cl, cl */ 5895 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 5896 _cf = 0; 5897 _flag_k = FK_NARROW(FK_TEST, 24); 5898 L_2B0432DF: 5899 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B043338; /* 0x2B0432DF: jne 0x2b043338 */ 5900 L_2B0432E1: 5901 PUSH32(esp, ebx); /* 0x2B0432E1: push ebx */ 5902 L_2B0432E2: 5903 PUSH32(esp, esi); /* 0x2B0432E2: push esi */ 5904 L_2B0432E3: 5905 MEM8(esi + 0x2C) = (uint8_t)(1); /* 0x2B0432E3: mov byte ptr [esi + 0x2c], 1 */ 5906 L_2B0432E7: 5907 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0432E7: call dword ptr [0x2b0b5d6c] */ 5908 RECOMP_FLAGS_IN(); 5909 L_2B0432ED: 5910 ecx = eax; /* 0x2B0432ED: mov ecx, eax */ 5911 L_2B0432EF: 5912 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B0432EF: call dword ptr [0x2b0b5d50] */ 5913 RECOMP_FLAGS_IN(); 5914 L_2B0432F5: 5915 PUSH32(esp, eax); /* 0x2B0432F5: push eax */ 5916 L_2B0432F6: 5917 PUSH32(esp, 0x2B0E7378u); /* 0x2B0432F6: push 0x2b0e7378 */ 5918 L_2B0432FB: 5919 ecx = ebp + (-0xB4); /* 0x2B0432FB: lea ecx, [ebp - 0xb4] */ 5920 L_2B043301: 5921 PUSH32(esp, 0x64u); /* 0x2B043301: push 0x64 */ 5922 L_2B043303: 5923 PUSH32(esp, ecx); /* 0x2B043303: push ecx */ 5924 L_2B043304: 5925 RECOMP_ICALL(0x2B012180u); /* 0x2B043304: call 0x2b012180 */ /* not lifted */ 5926 RECOMP_FLAGS_IN(); 5927 L_2B043309: 5928 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 5929 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5930 esp = esp + 0x14u; /* 0x2B043309: add esp, 0x14 */ 5931 _flag_k = FK_ADD; 5932 L_2B04330C: 5933 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 5934 ecx = ecx | 0xFFFFFFFFu; /* 0x2B04330C: or ecx, 0xffffffff */ 5935 _cf = 0; 5936 _flag_k = FK_TEST; 5937 L_2B04330F: 5938 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5939 eax = 0; /* 0x2B04330F: xor eax, eax */ 5940 _cf = 0; 5941 _flag_k = FK_TEST; 5942 L_2B043311: 5943 edi = ebp + (-0xB4); /* 0x2B043311: lea edi, [ebp - 0xb4] */ 5944 L_2B043317: 5945 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; } /* 0x2B043317: repne scasb al, byte ptr es:[edi] */ 5946 L_2B043319: 5947 ecx = ~ecx; /* 0x2B043319: not ecx */ 5948 L_2B04331B: 5949 PUSH32(esp, ecx); /* 0x2B04331B: push ecx */ 5950 L_2B04331C: 5951 edx = ebp + (-0xB4); /* 0x2B04331C: lea edx, [ebp - 0xb4] */ 5952 L_2B043322: 5953 PUSH32(esp, edx); /* 0x2B043322: push edx */ 5954 L_2B043323: 5955 PUSH32(esp, 0x3Fu); /* 0x2B043323: push 0x3f */ 5956 L_2B043325: 5957 PUSH32(esp, 3); /* 0x2B043325: push 3 */ 5958 L_2B043327: 5959 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B043327: call dword ptr [0x2b0b53cc] */ 5960 RECOMP_FLAGS_IN(); 5961 L_2B04332D: 5962 ecx = eax; /* 0x2B04332D: mov ecx, eax */ 5963 L_2B04332F: 5964 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B04332F: call dword ptr [0x2b0b53c4] */ 5965 RECOMP_FLAGS_IN(); 5966 L_2B043335: 5967 edi = MEM32(ebp + (-0x4)); /* 0x2B043335: mov edi, dword ptr [ebp - 4] */ 5968 L_2B043338: 5969 eax = MEM32(ebp + (-0x8)); /* 0x2B043338: mov eax, dword ptr [ebp - 8] */ 5970 L_2B04333B: 5971 SET_LO8(ecx, MEM8(eax + 0xA1)); /* 0x2B04333B: mov cl, byte ptr [eax + 0xa1] */ 5972 L_2B043341: 5973 /* test LO8(ecx), LO8(ecx) */ /* 0x2B043341: test cl, cl */ 5974 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 5975 _cf = 0; 5976 _flag_k = FK_NARROW(FK_TEST, 24); 5977 L_2B043343: 5978 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0433FD; /* 0x2B043343: je 0x2b0433fd */ 5979 L_2B043349: 5980 ecx = MEM32(ebp + (-0xC)); /* 0x2B043349: mov ecx, dword ptr [ebp - 0xc] */ 5981 L_2B04334C: 5982 /* cmp ecx, MEM32(eax + 0xA4) */ /* 0x2B04334C: cmp ecx, dword ptr [eax + 0xa4] */ 5983 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax + 0xA4)); 5984 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5985 _flag_k = FK_CMP; 5986 L_2B043352: 5987 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B0433FD; /* 0x2B043352: jne 0x2b0433fd */ 5988 L_2B043358: 5989 /* cmp ebx, MEM32(esi + 0x14) */ /* 0x2B043358: cmp ebx, dword ptr [esi + 0x14] */ 5990 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x14)); 5991 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5992 _flag_k = FK_CMP; 5993 L_2B04335B: 5994 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0433FD; /* 0x2B04335B: je 0x2b0433fd */ 5995 L_2B043361: 5996 eax = 0x91A2B3C5u; /* 0x2B043361: mov eax, 0x91a2b3c5 */ 5997 L_2B043366: 5998 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ebx); /* 0x2B043366: imul ebx */ 5999 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 6000 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 6001 L_2B043368: 6002 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 6003 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6004 edx = edx + ebx; /* 0x2B043368: add edx, ebx */ 6005 _flag_k = FK_ADD; 6006 L_2B04336A: 6007 if (11u) _cf = (((edx) >> 10) & 1u); /* 0x2B04336A: sar edx, 0xb */ 6008 if (11u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 11u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6009 edx = (uint32_t)((int32_t)edx >> 11u); 6010 L_2B04336D: 6011 eax = edx; /* 0x2B04336D: mov eax, edx */ 6012 L_2B04336F: 6013 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B04336F: shr eax, 0x1f */ 6014 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6015 eax = eax >> 31u; /* 0x2B04336F: shr eax, 0x1f */ 6016 L_2B043372: 6017 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 6018 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6019 edx = edx + eax; /* 0x2B043372: add edx, eax */ 6020 _flag_k = FK_ADD; 6021 L_2B043374: 6022 ecx = edx; /* 0x2B043374: mov ecx, edx */ 6023 L_2B043376: 6024 eax = ecx; /* 0x2B043376: mov eax, ecx */ 6025 L_2B043378: 6026 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 6027 _cf = (eax) != 0; 6028 eax = (uint32_t)(-(int32_t)eax); /* 0x2B043378: neg eax */ 6029 _flag_k = FK_CMP; 6030 L_2B04337A: 6031 if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2B04337A: shl eax, 2 */ 6032 if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6033 eax = eax << 2u; /* 0x2B04337A: shl eax, 2 */ 6034 L_2B04337D: 6035 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6036 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6037 eax = eax - ecx; /* 0x2B04337D: sub eax, ecx */ 6038 _flag_k = FK_CMP; 6039 L_2B04337F: 6040 eax = eax + eax * 4; /* 0x2B04337F: lea eax, [eax + eax*4] */ 6041 L_2B043382: 6042 edx = eax + eax * 8; /* 0x2B043382: lea edx, [eax + eax*8] */ 6043 L_2B043385: 6044 if (4u) _cf = (((edx) >> 28) & 1u); /* 0x2B043385: shl edx, 4 */ 6045 if (4u) { _flag_a = recomp_flags_pack((edx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6046 edx = edx << 4u; /* 0x2B043385: shl edx, 4 */ 6047 L_2B043388: 6048 MEM32(esi + 0x14) = ebx; /* 0x2B043388: mov dword ptr [esi + 0x14], ebx */ 6049 L_2B04338B: 6050 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 6051 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6052 ebx = ebx + edx; /* 0x2B04338B: add ebx, edx */ 6053 _flag_k = FK_ADD; 6054 L_2B04338D: 6055 eax = 0x88888889u; /* 0x2B04338D: mov eax, 0x88888889 */ 6056 L_2B043392: 6057 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ebx); /* 0x2B043392: imul ebx */ 6058 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 6059 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 6060 L_2B043394: 6061 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 6062 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6063 edx = edx + ebx; /* 0x2B043394: add edx, ebx */ 6064 _flag_k = FK_ADD; 6065 L_2B043396: 6066 if (5u) _cf = (((edx) >> 4) & 1u); /* 0x2B043396: sar edx, 5 */ 6067 if (5u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 5u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6068 edx = (uint32_t)((int32_t)edx >> 5u); 6069 L_2B043399: 6070 eax = edx; /* 0x2B043399: mov eax, edx */ 6071 L_2B04339B: 6072 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B04339B: shr eax, 0x1f */ 6073 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6074 eax = eax >> 31u; /* 0x2B04339B: shr eax, 0x1f */ 6075 L_2B04339E: 6076 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 6077 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6078 edx = edx + eax; /* 0x2B04339E: add edx, eax */ 6079 _flag_k = FK_ADD; 6080 L_2B0433A0: 6081 eax = edx + edx * 2; /* 0x2B0433A0: lea eax, [edx + edx*2] */ 6082 L_2B0433A3: 6083 eax = eax + eax * 4; /* 0x2B0433A3: lea eax, [eax + eax*4] */ 6084 L_2B0433A6: 6085 if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2B0433A6: shl eax, 2 */ 6086 if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6087 eax = eax << 2u; /* 0x2B0433A6: shl eax, 2 */ 6088 L_2B0433A9: 6089 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 6090 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6091 ebx = ebx - eax; /* 0x2B0433A9: sub ebx, eax */ 6092 _flag_k = FK_CMP; 6093 L_2B0433AB: 6094 PUSH32(esp, ebx); /* 0x2B0433AB: push ebx */ 6095 L_2B0433AC: 6096 ebx = MEM32(0x2B0B5D6C); /* 0x2B0433AC: mov ebx, dword ptr [0x2b0b5d6c] */ 6097 L_2B0433B2: 6098 PUSH32(esp, edx); /* 0x2B0433B2: push edx */ 6099 L_2B0433B3: 6100 PUSH32(esp, ecx); /* 0x2B0433B3: push ecx */ 6101 L_2B0433B4: 6102 ecx = MEM32(edi + 0x8); /* 0x2B0433B4: mov ecx, dword ptr [edi + 8] */ 6103 L_2B0433B7: 6104 PUSH32(esp, 0x36u); /* 0x2B0433B7: push 0x36 */ 6105 L_2B0433B9: 6106 PUSH32(esp, ecx); /* 0x2B0433B9: push ecx */ 6107 L_2B0433BA: 6108 RECOMP_ICALL(ebx); /* 0x2B0433BA: call ebx */ 6109 RECOMP_FLAGS_IN(); 6110 L_2B0433BC: 6111 ecx = eax; /* 0x2B0433BC: mov ecx, eax */ 6112 L_2B0433BE: 6113 RECOMP_ICALL(MEM32(0x2B0B5EE0)); /* 0x2B0433BE: call dword ptr [0x2b0b5ee0] */ 6114 RECOMP_FLAGS_IN(); 6115 L_2B0433C4: 6116 edx = MEM32(edi + 0x8); /* 0x2B0433C4: mov edx, dword ptr [edi + 8] */ 6117 L_2B0433C7: 6118 PUSH32(esp, eax); /* 0x2B0433C7: push eax */ 6119 L_2B0433C8: 6120 PUSH32(esp, edx); /* 0x2B0433C8: push edx */ 6121 L_2B0433C9: 6122 RECOMP_ICALL(ebx); /* 0x2B0433C9: call ebx */ 6123 RECOMP_FLAGS_IN(); 6124 L_2B0433CB: 6125 ecx = eax; /* 0x2B0433CB: mov ecx, eax */ 6126 L_2B0433CD: 6127 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B0433CD: call dword ptr [0x2b0b5d50] */ 6128 RECOMP_FLAGS_IN(); 6129 L_2B0433D3: 6130 PUSH32(esp, eax); /* 0x2B0433D3: push eax */ 6131 L_2B0433D4: 6132 eax = ebp + (-0x50); /* 0x2B0433D4: lea eax, [ebp - 0x50] */ 6133 L_2B0433D7: 6134 PUSH32(esp, 0x2B0E7360u); /* 0x2B0433D7: push 0x2b0e7360 */ 6135 L_2B0433DC: 6136 PUSH32(esp, eax); /* 0x2B0433DC: push eax */ 6137 L_2B0433DD: 6138 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B0433DD: call dword ptr [0x2b0b51f0] */ 6139 RECOMP_FLAGS_IN(); 6140 L_2B0433E3: 6141 ebx = MEM32(ebp + (-0x8)); /* 0x2B0433E3: mov ebx, dword ptr [ebp - 8] */ 6142 L_2B0433E6: 6143 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 6144 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6145 esp = esp + 0x1Cu; /* 0x2B0433E6: add esp, 0x1c */ 6146 _flag_k = FK_ADD; 6147 L_2B0433E9: 6148 ecx = ebp + (-0x50); /* 0x2B0433E9: lea ecx, [ebp - 0x50] */ 6149 L_2B0433EC: 6150 PUSH32(esp, ecx); /* 0x2B0433EC: push ecx */ 6151 L_2B0433ED: 6152 ecx = MEM32(ebx + 0x6C); /* 0x2B0433ED: mov ecx, dword ptr [ebx + 0x6c] */ 6153 L_2B0433F0: 6154 RECOMP_ICALL(MEM32(0x2B0B5850)); /* 0x2B0433F0: call dword ptr [0x2b0b5850] */ 6155 RECOMP_FLAGS_IN(); 6156 L_2B0433F6: 6157 ecx = ebx; /* 0x2B0433F6: mov ecx, ebx */ 6158 L_2B0433F8: 6159 RECOMP_ICALL(0x2B042240u); /* 0x2B0433F8: call 0x2b042240 */ /* not lifted */ 6160 RECOMP_FLAGS_IN(); 6161 L_2B0433FD: 6162 ecx = MEM32(esi + 0x20); /* 0x2B0433FD: mov ecx, dword ptr [esi + 0x20] */ 6163 L_2B043400: 6164 /* test ecx, ecx */ /* 0x2B043400: test ecx, ecx */ 6165 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6166 _cf = 0; 6167 _flag_k = FK_TEST; 6168 L_2B043402: 6169 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B043479; /* 0x2B043402: je 0x2b043479 */ 6170 L_2B043404: 6171 eax = MEM32(esi + 0xC); /* 0x2B043404: mov eax, dword ptr [esi + 0xc] */ 6172 L_2B043407: 6173 eax = eax + eax * 4; /* 0x2B043407: lea eax, [eax + eax*4] */ 6174 L_2B04340A: 6175 if (3u) _cf = (((eax) >> 29) & 1u); /* 0x2B04340A: shl eax, 3 */ 6176 if (3u) { _flag_a = recomp_flags_pack((eax << 3u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6177 eax = eax << 3u; /* 0x2B04340A: shl eax, 3 */ 6178 L_2B04340D: 6179 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B04340D: cdq */ 6180 L_2B04340E: 6181 { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)MEM32(esi + 0x10); /* 0x2B04340E: idiv dword ptr [esi + 0x10] */ 6182 if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); } 6183 else { eax = 0; edx = 0; } } 6184 L_2B043411: 6185 ebx = eax; /* 0x2B043411: mov ebx, eax */ 6186 L_2B043413: 6187 /* cmp ebx, MEM32(esi + 0x18) */ /* 0x2B043413: cmp ebx, dword ptr [esi + 0x18] */ 6188 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x18)); 6189 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6190 _flag_k = FK_CMP; 6191 L_2B043416: 6192 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B043479; /* 0x2B043416: je 0x2b043479 */ 6193 L_2B043418: 6194 edx = MEM32(ecx + 0x14); /* 0x2B043418: mov edx, dword ptr [ecx + 0x14] */ 6195 L_2B04341B: 6196 eax = MEM32(edx + 0xC); /* 0x2B04341B: mov eax, dword ptr [edx + 0xc] */ 6197 L_2B04341E: 6198 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B04341E: cdq */ 6199 L_2B04341F: 6200 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 6201 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6202 eax = eax - edx; /* 0x2B04341F: sub eax, edx */ 6203 _flag_k = FK_CMP; 6204 L_2B043421: 6205 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B043421: sar eax, 1 */ 6206 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6207 eax = (uint32_t)((int32_t)eax >> 1u); 6208 L_2B043423: 6209 /* cmp ebx, eax */ /* 0x2B043423: cmp ebx, eax */ 6210 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 6211 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6212 _flag_k = FK_CMP; 6213 L_2B043425: 6214 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_2B043429; /* 0x2B043425: jle 0x2b043429 */ 6215 L_2B043427: 6216 ebx = eax; /* 0x2B043427: mov ebx, eax */ 6217 L_2B043429: 6218 eax = ebp + (-0x14); /* 0x2B043429: lea eax, [ebp - 0x14] */ 6219 L_2B04342C: 6220 PUSH32(esp, eax); /* 0x2B04342C: push eax */ 6221 L_2B04342D: 6222 MEM32(esi + 0x18) = ebx; /* 0x2B04342D: mov dword ptr [esi + 0x18], ebx */ 6223 L_2B043430: 6224 MEM32(ebp + (-0x14)) = ebx; /* 0x2B043430: mov dword ptr [ebp - 0x14], ebx */ 6225 L_2B043433: 6226 MEM32(ebp + (-0x10)) = 0x18u; /* 0x2B043433: mov dword ptr [ebp - 0x10], 0x18 */ 6227 L_2B04343A: 6228 RECOMP_ICALL(MEM32(0x2B0B5844)); /* 0x2B04343A: call dword ptr [0x2b0b5844] */ 6229 RECOMP_FLAGS_IN(); 6230 L_2B043440: 6231 ecx = ebx + 0x28; /* 0x2B043440: lea ecx, [ebx + 0x28] */ 6232 L_2B043443: 6233 edx = ebp + (-0x1C); /* 0x2B043443: lea edx, [ebp - 0x1c] */ 6234 L_2B043446: 6235 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B043446: mov dword ptr [ebp - 0x1c], ecx */ 6236 L_2B043449: 6237 ecx = MEM32(esi + 0x24); /* 0x2B043449: mov ecx, dword ptr [esi + 0x24] */ 6238 L_2B04344C: 6239 PUSH32(esp, edx); /* 0x2B04344C: push edx */ 6240 L_2B04344D: 6241 MEM32(ebp + (-0x18)) = 0; /* 0x2B04344D: mov dword ptr [ebp - 0x18], 0 */ 6242 L_2B043454: 6243 RECOMP_ICALL(MEM32(0x2B0B5848)); /* 0x2B043454: call dword ptr [0x2b0b5848] */ 6244 RECOMP_FLAGS_IN(); 6245 L_2B04345A: 6246 ecx = ebp + (-0x14); /* 0x2B04345A: lea ecx, [ebp - 0x14] */ 6247 L_2B04345D: 6248 eax = 0x28u; /* 0x2B04345D: mov eax, 0x28 */ 6249 L_2B043462: 6250 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 6251 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6252 eax = eax - ebx; /* 0x2B043462: sub eax, ebx */ 6253 _flag_k = FK_CMP; 6254 L_2B043464: 6255 PUSH32(esp, ecx); /* 0x2B043464: push ecx */ 6256 L_2B043465: 6257 ecx = MEM32(esi + 0x24); /* 0x2B043465: mov ecx, dword ptr [esi + 0x24] */ 6258 L_2B043468: 6259 MEM32(ebp + (-0x14)) = eax; /* 0x2B043468: mov dword ptr [ebp - 0x14], eax */ 6260 L_2B04346B: 6261 RECOMP_ICALL(MEM32(0x2B0B5844)); /* 0x2B04346B: call dword ptr [0x2b0b5844] */ 6262 RECOMP_FLAGS_IN(); 6263 L_2B043471: 6264 ecx = MEM32(ebp + (-0x8)); /* 0x2B043471: mov ecx, dword ptr [ebp - 8] */ 6265 L_2B043474: 6266 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B043474: call 0x2b03a2b0 */ /* not lifted */ 6267 RECOMP_FLAGS_IN(); 6268 L_2B043479: 6269 eax = MEM32(esi + 0x8); /* 0x2B043479: mov eax, dword ptr [esi + 8] */ 6270 L_2B04347C: 6271 /* cmp eax, 3 */ /* 0x2B04347C: cmp eax, 3 */ 6272 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 6273 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6274 _flag_k = FK_CMP; 6275 L_2B04347F: 6276 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_2B04348F; /* 0x2B04347F: ja 0x2b04348f */ 6277 L_2B043481: 6278 { _itail_tgt = (uint32_t)(MEM32(eax * 4 + 0x2B0435D0)); goto _ljump; } 6279 L_2B043488: 6280 MEM32(esi + 0x8) = 3; /* 0x2B043488: mov dword ptr [esi + 8], 3 */ 6281 L_2B04348F: 6282 edx = MEM32(edi); /* 0x2B04348F: mov edx, dword ptr [edi] */ 6283 L_2B043491: 6284 MEM32(ebp + (-0x4)) = edx; /* 0x2B043491: mov dword ptr [ebp - 4], edx */ 6285 L_2B043494: 6286 ecx = MEM32(ebp + (-0xC)); /* 0x2B043494: mov ecx, dword ptr [ebp - 0xc] */ 6287 L_2B043497: 6288 eax = MEM32(ebp + (-0x8)); /* 0x2B043497: mov eax, dword ptr [ebp - 8] */ 6289 L_2B04349A: 6290 edx = MEM32(ebp + (-0x4)); /* 0x2B04349A: mov edx, dword ptr [ebp - 4] */ 6291 L_2B04349D: 6292 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 6293 ecx = ecx + 1; /* 0x2B04349D: inc ecx */ 6294 _flag_k = FK_INC; 6295 L_2B04349E: 6296 MEM32(ebp + (-0xC)) = ecx; /* 0x2B04349E: mov dword ptr [ebp - 0xc], ecx */ 6297 L_2B0434A1: 6298 ecx = MEM32(eax + 0x8C); /* 0x2B0434A1: mov ecx, dword ptr [eax + 0x8c] */ 6299 L_2B0434A7: 6300 /* cmp MEM32(ecx + 0x4), edx */ /* 0x2B0434A7: cmp dword ptr [ecx + 4], edx */ 6301 _flag_a = (uint32_t)(MEM32(ecx + 0x4)); _flag_b = (uint32_t)(edx); 6302 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6303 _flag_k = FK_CMP; 6304 L_2B0434AA: 6305 RECOMP_BACKEDGE(); 6306 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B043286; /* 0x2B0434AA: jne 0x2b043286 */ 6307 L_2B0434B0: 6308 ebx = POP32_VAL(esp); /* 0x2B0434B0: pop ebx */ 6309 L_2B0434B1: 6310 edi = POP32_VAL(esp); /* 0x2B0434B1: pop edi */ 6311 L_2B0434B2: 6312 esi = POP32_VAL(esp); /* 0x2B0434B2: pop esi */ 6313 L_2B0434B3: 6314 esp = ebp; /* 0x2B0434B3: mov esp, ebp */ 6315 L_2B0434B5: 6316 ebp = POP32_VAL(esp); /* 0x2B0434B5: pop ebp */ 6317 L_2B0434B6: 6318 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0434B6: ret */ 6319 L_2B0434B7: 6320 /* cmp MEM32(esi + 0xC), 0x1388u */ /* 0x2B0434B7: cmp dword ptr [esi + 0xc], 0x1388 */ 6321 _flag_a = (uint32_t)(MEM32(esi + 0xC)); _flag_b = (uint32_t)(0x1388u); 6322 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6323 _flag_k = FK_CMP; 6324 L_2B0434BE: 6325 RECOMP_BACKEDGE(); 6326 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_GE, _cf)) goto L_2B04348F; /* 0x2B0434BE: jge 0x2b04348f */ 6327 L_2B0434C0: 6328 MEM32(esi + 0x8) = 1; /* 0x2B0434C0: mov dword ptr [esi + 8], 1 */ 6329 L_2B0434C7: 6330 RECOMP_BACKEDGE(); 6331 goto L_2B04348F; /* 0x2B0434C7: jmp 0x2b04348f */ 6332 L_2B0434C9: 6333 eax = MEM32(esi + 0xC); /* 0x2B0434C9: mov eax, dword ptr [esi + 0xc] */ 6334 L_2B0434CC: 6335 /* test eax, eax */ /* 0x2B0434CC: test eax, eax */ 6336 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6337 _cf = 0; 6338 _flag_k = FK_TEST; 6339 L_2B0434CE: 6340 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_G, _cf)) goto L_2B04353B; /* 0x2B0434CE: jg 0x2b04353b */ 6341 L_2B0434D0: 6342 ecx = MEM32(esi + 0x20); /* 0x2B0434D0: mov ecx, dword ptr [esi + 0x20] */ 6343 L_2B0434D3: 6344 /* test ecx, ecx */ /* 0x2B0434D3: test ecx, ecx */ 6345 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6346 _cf = 0; 6347 _flag_k = FK_TEST; 6348 L_2B0434D5: 6349 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0434DD; /* 0x2B0434D5: je 0x2b0434dd */ 6350 L_2B0434D7: 6351 edx = MEM32(ecx); /* 0x2B0434D7: mov edx, dword ptr [ecx] */ 6352 L_2B0434D9: 6353 PUSH32(esp, 1); /* 0x2B0434D9: push 1 */ 6354 L_2B0434DB: 6355 RECOMP_ICALL(MEM32(edx)); /* 0x2B0434DB: call dword ptr [edx] */ 6356 RECOMP_FLAGS_IN(); 6357 L_2B0434DD: 6358 ecx = MEM32(esi + 0x24); /* 0x2B0434DD: mov ecx, dword ptr [esi + 0x24] */ 6359 L_2B0434E0: 6360 /* test ecx, ecx */ /* 0x2B0434E0: test ecx, ecx */ 6361 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6362 _cf = 0; 6363 _flag_k = FK_TEST; 6364 L_2B0434E2: 6365 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0434EA; /* 0x2B0434E2: je 0x2b0434ea */ 6366 L_2B0434E4: 6367 eax = MEM32(ecx); /* 0x2B0434E4: mov eax, dword ptr [ecx] */ 6368 L_2B0434E6: 6369 PUSH32(esp, 1); /* 0x2B0434E6: push 1 */ 6370 L_2B0434E8: 6371 RECOMP_ICALL(MEM32(eax)); /* 0x2B0434E8: call dword ptr [eax] */ 6372 RECOMP_FLAGS_IN(); 6373 L_2B0434EA: 6374 ecx = MEM32(esi + 0x28); /* 0x2B0434EA: mov ecx, dword ptr [esi + 0x28] */ 6375 L_2B0434ED: 6376 /* test ecx, ecx */ /* 0x2B0434ED: test ecx, ecx */ 6377 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6378 _cf = 0; 6379 _flag_k = FK_TEST; 6380 L_2B0434EF: 6381 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0434F7; /* 0x2B0434EF: je 0x2b0434f7 */ 6382 L_2B0434F1: 6383 edx = MEM32(ecx); /* 0x2B0434F1: mov edx, dword ptr [ecx] */ 6384 L_2B0434F3: 6385 PUSH32(esp, 1); /* 0x2B0434F3: push 1 */ 6386 L_2B0434F5: 6387 RECOMP_ICALL(MEM32(edx)); /* 0x2B0434F5: call dword ptr [edx] */ 6388 RECOMP_FLAGS_IN(); 6389 L_2B0434F7: 6390 ecx = MEM32(ebp + (-0x8)); /* 0x2B0434F7: mov ecx, dword ptr [ebp - 8] */ 6391 L_2B0434FA: 6392 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6393 eax = 0; /* 0x2B0434FA: xor eax, eax */ 6394 _cf = 0; 6395 _flag_k = FK_TEST; 6396 L_2B0434FC: 6397 MEM32(esi + 0x20) = eax; /* 0x2B0434FC: mov dword ptr [esi + 0x20], eax */ 6398 L_2B0434FF: 6399 MEM32(esi + 0x24) = eax; /* 0x2B0434FF: mov dword ptr [esi + 0x24], eax */ 6400 L_2B043502: 6401 MEM32(esi + 0x28) = eax; /* 0x2B043502: mov dword ptr [esi + 0x28], eax */ 6402 L_2B043505: 6403 MEM32(esi + 0x8) = 2; /* 0x2B043505: mov dword ptr [esi + 8], 2 */ 6404 L_2B04350C: 6405 MEM32(esi + 0xC) = 0x7D0u; /* 0x2B04350C: mov dword ptr [esi + 0xc], 0x7d0 */ 6406 L_2B043513: 6407 SET_LO8(edx, MEM8(ecx + 0xA1)); /* 0x2B043513: mov dl, byte ptr [ecx + 0xa1] */ 6408 L_2B043519: 6409 /* test LO8(edx), LO8(edx) */ /* 0x2B043519: test dl, dl */ 6410 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6411 _cf = 0; 6412 _flag_k = FK_NARROW(FK_TEST, 24); 6413 L_2B04351B: 6414 RECOMP_BACKEDGE(); 6415 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B04348F; /* 0x2B04351B: je 0x2b04348f */ 6416 L_2B043521: 6417 edx = MEM32(ebp + (-0xC)); /* 0x2B043521: mov edx, dword ptr [ebp - 0xc] */ 6418 L_2B043524: 6419 /* cmp edx, MEM32(ecx + 0xA4) */ /* 0x2B043524: cmp edx, dword ptr [ecx + 0xa4] */ 6420 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ecx + 0xA4)); 6421 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6422 _flag_k = FK_CMP; 6423 L_2B04352A: 6424 RECOMP_BACKEDGE(); 6425 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B04348F; /* 0x2B04352A: jne 0x2b04348f */ 6426 L_2B043530: 6427 PUSH32(esp, eax); /* 0x2B043530: push eax */ 6428 L_2B043531: 6429 RECOMP_ICALL(0x2B043700u); /* 0x2B043531: call 0x2b043700 */ /* not lifted */ 6430 RECOMP_FLAGS_IN(); 6431 L_2B043536: 6432 RECOMP_BACKEDGE(); 6433 goto L_2B04348F; /* 0x2B043536: jmp 0x2b04348f */ 6434 L_2B04353B: 6435 SET_LO8(ecx, MEM8(esi + 0x1C)); /* 0x2B04353B: mov cl, byte ptr [esi + 0x1c] */ 6436 L_2B04353E: 6437 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x100u); 6438 eax = eax & 0x100u; /* 0x2B04353E: and eax, 0x100 */ 6439 _cf = 0; 6440 _flag_k = FK_TEST; 6441 L_2B043543: 6442 /* cmp eax, 0x80u */ /* 0x2B043543: cmp eax, 0x80 */ 6443 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80u); 6444 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6445 _flag_k = FK_CMP; 6446 L_2B043548: 6447 SET_LO8(eax, (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) ? 1 : 0); /* 0x2B043548: setle al */ 6448 L_2B04354B: 6449 /* cmp LO8(ecx), LO8(eax) */ /* 0x2B04354B: cmp cl, al */ 6450 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6451 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6452 _flag_k = FK_NARROW(FK_CMP, 24); 6453 L_2B04354D: 6454 MEM8(esi + 0x1C) = (uint8_t)(LO8(eax)); /* 0x2B04354D: mov byte ptr [esi + 0x1c], al */ 6455 L_2B043550: 6456 RECOMP_BACKEDGE(); 6457 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B04348F; /* 0x2B043550: je 0x2b04348f */ 6458 L_2B043556: 6459 ecx = MEM32(ebp + (-0x8)); /* 0x2B043556: mov ecx, dword ptr [ebp - 8] */ 6460 L_2B043559: 6461 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B043559: call 0x2b03a2b0 */ /* not lifted */ 6462 RECOMP_FLAGS_IN(); 6463 L_2B04355E: 6464 RECOMP_BACKEDGE(); 6465 goto L_2B04348F; /* 0x2B04355E: jmp 0x2b04348f */ 6466 L_2B043563: 6467 eax = MEM32(esi + 0xC); /* 0x2B043563: mov eax, dword ptr [esi + 0xc] */ 6468 L_2B043566: 6469 /* test eax, eax */ /* 0x2B043566: test eax, eax */ 6470 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6471 _cf = 0; 6472 _flag_k = FK_TEST; 6473 L_2B043568: 6474 RECOMP_BACKEDGE(); 6475 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_GE, _cf)) goto L_2B04348F; /* 0x2B043568: jge 0x2b04348f */ 6476 L_2B04356E: 6477 PUSH32(esp, esi); /* 0x2B04356E: push esi */ 6478 L_2B04356F: 6479 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B04356F: call 0x2b0ab1ba */ /* not lifted */ 6480 RECOMP_FLAGS_IN(); 6481 L_2B043574: 6482 eax = MEM32(edi); /* 0x2B043574: mov eax, dword ptr [edi] */ 6483 L_2B043576: 6484 ecx = MEM32(edi + 0x4); /* 0x2B043576: mov ecx, dword ptr [edi + 4] */ 6485 L_2B043579: 6486 esi = MEM32(ebp + (-0x8)); /* 0x2B043579: mov esi, dword ptr [ebp - 8] */ 6487 L_2B04357C: 6488 ebx = MEM32(esi + 0x8C); /* 0x2B04357C: mov ebx, dword ptr [esi + 0x8c] */ 6489 L_2B043582: 6490 MEM32(ecx) = eax; /* 0x2B043582: mov dword ptr [ecx], eax */ 6491 L_2B043584: 6492 edx = MEM32(edi); /* 0x2B043584: mov edx, dword ptr [edi] */ 6493 L_2B043586: 6494 MEM32(ebp + (-0x4)) = eax; /* 0x2B043586: mov dword ptr [ebp - 4], eax */ 6495 L_2B043589: 6496 eax = MEM32(edi + 0x4); /* 0x2B043589: mov eax, dword ptr [edi + 4] */ 6497 L_2B04358C: 6498 PUSH32(esp, edi); /* 0x2B04358C: push edi */ 6499 L_2B04358D: 6500 MEM32(edx + 0x4) = eax; /* 0x2B04358D: mov dword ptr [edx + 4], eax */ 6501 L_2B043590: 6502 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B043590: call 0x2b0ab1ba */ /* not lifted */ 6503 RECOMP_FLAGS_IN(); 6504 L_2B043595: 6505 ecx = MEM32(ebx + 0x8); /* 0x2B043595: mov ecx, dword ptr [ebx + 8] */ 6506 L_2B043598: 6507 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 6508 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6509 esp = esp + 8; /* 0x2B043598: add esp, 8 */ 6510 _flag_k = FK_ADD; 6511 L_2B04359B: 6512 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 6513 ecx = ecx - 1; /* 0x2B04359B: dec ecx */ 6514 _flag_k = FK_DEC; 6515 L_2B04359C: 6516 MEM32(ebx + 0x8) = ecx; /* 0x2B04359C: mov dword ptr [ebx + 8], ecx */ 6517 L_2B04359F: 6518 SET_LO8(eax, MEM8(esi + 0xA1)); /* 0x2B04359F: mov al, byte ptr [esi + 0xa1] */ 6519 L_2B0435A5: 6520 /* test LO8(eax), LO8(eax) */ /* 0x2B0435A5: test al, al */ 6521 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6522 _cf = 0; 6523 _flag_k = FK_NARROW(FK_TEST, 24); 6524 L_2B0435A7: 6525 ecx = MEM32(ebp + (-0x4)); /* 0x2B0435A7: mov ecx, dword ptr [ebp - 4] */ 6526 L_2B0435AA: 6527 MEM32(ebp + (-0x4)) = ecx; /* 0x2B0435AA: mov dword ptr [ebp - 4], ecx */ 6528 L_2B0435AD: 6529 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0435C1; /* 0x2B0435AD: je 0x2b0435c1 */ 6530 L_2B0435AF: 6531 eax = MEM32(esi + 0xA4); /* 0x2B0435AF: mov eax, dword ptr [esi + 0xa4] */ 6532 L_2B0435B5: 6533 /* cmp MEM32(ebp + (-0xC)), eax */ /* 0x2B0435B5: cmp dword ptr [ebp - 0xc], eax */ 6534 _flag_a = (uint32_t)(MEM32(ebp + (-0xC))); _flag_b = (uint32_t)(eax); 6535 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6536 _flag_k = FK_CMP; 6537 L_2B0435B8: 6538 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_GE, _cf)) goto L_2B0435C1; /* 0x2B0435B8: jge 0x2b0435c1 */ 6539 L_2B0435BA: 6540 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6541 eax = eax - 1; /* 0x2B0435BA: dec eax */ 6542 _flag_k = FK_DEC; 6543 L_2B0435BB: 6544 MEM32(esi + 0xA4) = eax; /* 0x2B0435BB: mov dword ptr [esi + 0xa4], eax */ 6545 L_2B0435C1: 6546 ecx = esi; /* 0x2B0435C1: mov ecx, esi */ 6547 L_2B0435C3: 6548 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B0435C3: call 0x2b03a2b0 */ /* not lifted */ 6549 RECOMP_FLAGS_IN(); 6550 L_2B0435C8: 6551 RECOMP_BACKEDGE(); 6552 goto L_2B043494; /* 0x2B0435C8: jmp 0x2b043494 */ 6553 { RECOMP_REGS_OUT(); return; } /* end of function */ 6554 _ljump: 6555 switch (_itail_tgt) { 6556 case 0x2B043240u: goto L_2B043240; 6557 case 0x2B043241u: goto L_2B043241; 6558 case 0x2B043243u: goto L_2B043243; 6559 case 0x2B043249u: goto L_2B043249; 6560 case 0x2B04324Au: goto L_2B04324A; 6561 case 0x2B04324Cu: goto L_2B04324C; 6562 case 0x2B04324Du: goto L_2B04324D; 6563 case 0x2B043250u: goto L_2B043250; 6564 case 0x2B043256u: goto L_2B043256; 6565 case 0x2B043258u: goto L_2B043258; 6566 case 0x2B04325Eu: goto L_2B04325E; 6567 case 0x2B043260u: goto L_2B043260; 6568 case 0x2B043266u: goto L_2B043266; 6569 case 0x2B04326Cu: goto L_2B04326C; 6570 case 0x2B04326Fu: goto L_2B04326F; 6571 case 0x2B043271u: goto L_2B043271; 6572 case 0x2B043273u: goto L_2B043273; 6573 case 0x2B043276u: goto L_2B043276; 6574 case 0x2B04327Du: goto L_2B04327D; 6575 case 0x2B043283u: goto L_2B043283; 6576 case 0x2B043284u: goto L_2B043284; 6577 case 0x2B043286u: goto L_2B043286; 6578 case 0x2B043289u: goto L_2B043289; 6579 case 0x2B04328Cu: goto L_2B04328C; 6580 case 0x2B043292u: goto L_2B043292; 6581 case 0x2B043295u: goto L_2B043295; 6582 case 0x2B043298u: goto L_2B043298; 6583 case 0x2B04329Au: goto L_2B04329A; 6584 case 0x2B04329Cu: goto L_2B04329C; 6585 case 0x2B04329Du: goto L_2B04329D; 6586 case 0x2B0432A0u: goto L_2B0432A0; 6587 case 0x2B0432A6u: goto L_2B0432A6; 6588 case 0x2B0432A8u: goto L_2B0432A8; 6589 case 0x2B0432AEu: goto L_2B0432AE; 6590 case 0x2B0432B1u: goto L_2B0432B1; 6591 case 0x2B0432B3u: goto L_2B0432B3; 6592 case 0x2B0432B8u: goto L_2B0432B8; 6593 case 0x2B0432BAu: goto L_2B0432BA; 6594 case 0x2B0432BDu: goto L_2B0432BD; 6595 case 0x2B0432BFu: goto L_2B0432BF; 6596 case 0x2B0432C2u: goto L_2B0432C2; 6597 case 0x2B0432C4u: goto L_2B0432C4; 6598 case 0x2B0432C7u: goto L_2B0432C7; 6599 case 0x2B0432CAu: goto L_2B0432CA; 6600 case 0x2B0432CDu: goto L_2B0432CD; 6601 case 0x2B0432CFu: goto L_2B0432CF; 6602 case 0x2B0432D1u: goto L_2B0432D1; 6603 case 0x2B0432D3u: goto L_2B0432D3; 6604 case 0x2B0432D6u: goto L_2B0432D6; 6605 case 0x2B0432D8u: goto L_2B0432D8; 6606 case 0x2B0432DBu: goto L_2B0432DB; 6607 case 0x2B0432DDu: goto L_2B0432DD; 6608 case 0x2B0432DFu: goto L_2B0432DF; 6609 case 0x2B0432E1u: goto L_2B0432E1; 6610 case 0x2B0432E2u: goto L_2B0432E2; 6611 case 0x2B0432E3u: goto L_2B0432E3; 6612 case 0x2B0432E7u: goto L_2B0432E7; 6613 case 0x2B0432EDu: goto L_2B0432ED; 6614 case 0x2B0432EFu: goto L_2B0432EF; 6615 case 0x2B0432F5u: goto L_2B0432F5; 6616 case 0x2B0432F6u: goto L_2B0432F6; 6617 case 0x2B0432FBu: goto L_2B0432FB; 6618 case 0x2B043301u: goto L_2B043301; 6619 case 0x2B043303u: goto L_2B043303; 6620 case 0x2B043304u: goto L_2B043304; 6621 case 0x2B043309u: goto L_2B043309; 6622 case 0x2B04330Cu: goto L_2B04330C; 6623 case 0x2B04330Fu: goto L_2B04330F; 6624 case 0x2B043311u: goto L_2B043311; 6625 case 0x2B043317u: goto L_2B043317; 6626 case 0x2B043319u: goto L_2B043319; 6627 case 0x2B04331Bu: goto L_2B04331B; 6628 case 0x2B04331Cu: goto L_2B04331C; 6629 case 0x2B043322u: goto L_2B043322; 6630 case 0x2B043323u: goto L_2B043323; 6631 case 0x2B043325u: goto L_2B043325; 6632 case 0x2B043327u: goto L_2B043327; 6633 case 0x2B04332Du: goto L_2B04332D; 6634 case 0x2B04332Fu: goto L_2B04332F; 6635 case 0x2B043335u: goto L_2B043335; 6636 case 0x2B043338u: goto L_2B043338; 6637 case 0x2B04333Bu: goto L_2B04333B; 6638 case 0x2B043341u: goto L_2B043341; 6639 case 0x2B043343u: goto L_2B043343; 6640 case 0x2B043349u: goto L_2B043349; 6641 case 0x2B04334Cu: goto L_2B04334C; 6642 case 0x2B043352u: goto L_2B043352; 6643 case 0x2B043358u: goto L_2B043358; 6644 case 0x2B04335Bu: goto L_2B04335B; 6645 case 0x2B043361u: goto L_2B043361; 6646 case 0x2B043366u: goto L_2B043366; 6647 case 0x2B043368u: goto L_2B043368; 6648 case 0x2B04336Au: goto L_2B04336A; 6649 case 0x2B04336Du: goto L_2B04336D; 6650 case 0x2B04336Fu: goto L_2B04336F; 6651 case 0x2B043372u: goto L_2B043372; 6652 case 0x2B043374u: goto L_2B043374; 6653 case 0x2B043376u: goto L_2B043376; 6654 case 0x2B043378u: goto L_2B043378; 6655 case 0x2B04337Au: goto L_2B04337A; 6656 case 0x2B04337Du: goto L_2B04337D; 6657 case 0x2B04337Fu: goto L_2B04337F; 6658 case 0x2B043382u: goto L_2B043382; 6659 case 0x2B043385u: goto L_2B043385; 6660 case 0x2B043388u: goto L_2B043388; 6661 case 0x2B04338Bu: goto L_2B04338B; 6662 case 0x2B04338Du: goto L_2B04338D; 6663 case 0x2B043392u: goto L_2B043392; 6664 case 0x2B043394u: goto L_2B043394; 6665 case 0x2B043396u: goto L_2B043396; 6666 case 0x2B043399u: goto L_2B043399; 6667 case 0x2B04339Bu: goto L_2B04339B; 6668 case 0x2B04339Eu: goto L_2B04339E; 6669 case 0x2B0433A0u: goto L_2B0433A0; 6670 case 0x2B0433A3u: goto L_2B0433A3; 6671 case 0x2B0433A6u: goto L_2B0433A6; 6672 case 0x2B0433A9u: goto L_2B0433A9; 6673 case 0x2B0433ABu: goto L_2B0433AB; 6674 case 0x2B0433ACu: goto L_2B0433AC; 6675 case 0x2B0433B2u: goto L_2B0433B2; 6676 case 0x2B0433B3u: goto L_2B0433B3; 6677 case 0x2B0433B4u: goto L_2B0433B4; 6678 case 0x2B0433B7u: goto L_2B0433B7; 6679 case 0x2B0433B9u: goto L_2B0433B9; 6680 case 0x2B0433BAu: goto L_2B0433BA; 6681 case 0x2B0433BCu: goto L_2B0433BC; 6682 case 0x2B0433BEu: goto L_2B0433BE; 6683 case 0x2B0433C4u: goto L_2B0433C4; 6684 case 0x2B0433C7u: goto L_2B0433C7; 6685 case 0x2B0433C8u: goto L_2B0433C8; 6686 case 0x2B0433C9u: goto L_2B0433C9; 6687 case 0x2B0433CBu: goto L_2B0433CB; 6688 case 0x2B0433CDu: goto L_2B0433CD; 6689 case 0x2B0433D3u: goto L_2B0433D3; 6690 case 0x2B0433D4u: goto L_2B0433D4; 6691 case 0x2B0433D7u: goto L_2B0433D7; 6692 case 0x2B0433DCu: goto L_2B0433DC; 6693 case 0x2B0433DDu: goto L_2B0433DD; 6694 case 0x2B0433E3u: goto L_2B0433E3; 6695 case 0x2B0433E6u: goto L_2B0433E6; 6696 case 0x2B0433E9u: goto L_2B0433E9; 6697 case 0x2B0433ECu: goto L_2B0433EC; 6698 case 0x2B0433EDu: goto L_2B0433ED; 6699 case 0x2B0433F0u: goto L_2B0433F0; 6700 case 0x2B0433F6u: goto L_2B0433F6; 6701 case 0x2B0433F8u: goto L_2B0433F8; 6702 case 0x2B0433FDu: goto L_2B0433FD; 6703 case 0x2B043400u: goto L_2B043400; 6704 case 0x2B043402u: goto L_2B043402; 6705 case 0x2B043404u: goto L_2B043404; 6706 case 0x2B043407u: goto L_2B043407; 6707 case 0x2B04340Au: goto L_2B04340A; 6708 case 0x2B04340Du: goto L_2B04340D; 6709 case 0x2B04340Eu: goto L_2B04340E; 6710 case 0x2B043411u: goto L_2B043411; 6711 case 0x2B043413u: goto L_2B043413; 6712 case 0x2B043416u: goto L_2B043416; 6713 case 0x2B043418u: goto L_2B043418; 6714 case 0x2B04341Bu: goto L_2B04341B; 6715 case 0x2B04341Eu: goto L_2B04341E; 6716 case 0x2B04341Fu: goto L_2B04341F; 6717 case 0x2B043421u: goto L_2B043421; 6718 case 0x2B043423u: goto L_2B043423; 6719 case 0x2B043425u: goto L_2B043425; 6720 case 0x2B043427u: goto L_2B043427; 6721 case 0x2B043429u: goto L_2B043429; 6722 case 0x2B04342Cu: goto L_2B04342C; 6723 case 0x2B04342Du: goto L_2B04342D; 6724 case 0x2B043430u: goto L_2B043430; 6725 case 0x2B043433u: goto L_2B043433; 6726 case 0x2B04343Au: goto L_2B04343A; 6727 case 0x2B043440u: goto L_2B043440; 6728 case 0x2B043443u: goto L_2B043443; 6729 case 0x2B043446u: goto L_2B043446; 6730 case 0x2B043449u: goto L_2B043449; 6731 case 0x2B04344Cu: goto L_2B04344C; 6732 case 0x2B04344Du: goto L_2B04344D; 6733 case 0x2B043454u: goto L_2B043454; 6734 case 0x2B04345Au: goto L_2B04345A; 6735 case 0x2B04345Du: goto L_2B04345D; 6736 case 0x2B043462u: goto L_2B043462; 6737 case 0x2B043464u: goto L_2B043464; 6738 case 0x2B043465u: goto L_2B043465; 6739 case 0x2B043468u: goto L_2B043468; 6740 case 0x2B04346Bu: goto L_2B04346B; 6741 case 0x2B043471u: goto L_2B043471; 6742 case 0x2B043474u: goto L_2B043474; 6743 case 0x2B043479u: goto L_2B043479; 6744 case 0x2B04347Cu: goto L_2B04347C; 6745 case 0x2B04347Fu: goto L_2B04347F; 6746 case 0x2B043481u: goto L_2B043481; 6747 case 0x2B043488u: goto L_2B043488; 6748 case 0x2B04348Fu: goto L_2B04348F; 6749 case 0x2B043491u: goto L_2B043491; 6750 case 0x2B043494u: goto L_2B043494; 6751 case 0x2B043497u: goto L_2B043497; 6752 case 0x2B04349Au: goto L_2B04349A; 6753 case 0x2B04349Du: goto L_2B04349D; 6754 case 0x2B04349Eu: goto L_2B04349E; 6755 case 0x2B0434A1u: goto L_2B0434A1; 6756 case 0x2B0434A7u: goto L_2B0434A7; 6757 case 0x2B0434AAu: goto L_2B0434AA; 6758 case 0x2B0434B0u: goto L_2B0434B0; 6759 case 0x2B0434B1u: goto L_2B0434B1; 6760 case 0x2B0434B2u: goto L_2B0434B2; 6761 case 0x2B0434B3u: goto L_2B0434B3; 6762 case 0x2B0434B5u: goto L_2B0434B5; 6763 case 0x2B0434B6u: goto L_2B0434B6; 6764 case 0x2B0434B7u: goto L_2B0434B7; 6765 case 0x2B0434BEu: goto L_2B0434BE; 6766 case 0x2B0434C0u: goto L_2B0434C0; 6767 case 0x2B0434C7u: goto L_2B0434C7; 6768 case 0x2B0434C9u: goto L_2B0434C9; 6769 case 0x2B0434CCu: goto L_2B0434CC; 6770 case 0x2B0434CEu: goto L_2B0434CE; 6771 case 0x2B0434D0u: goto L_2B0434D0; 6772 case 0x2B0434D3u: goto L_2B0434D3; 6773 case 0x2B0434D5u: goto L_2B0434D5; 6774 case 0x2B0434D7u: goto L_2B0434D7; 6775 case 0x2B0434D9u: goto L_2B0434D9; 6776 case 0x2B0434DBu: goto L_2B0434DB; 6777 case 0x2B0434DDu: goto L_2B0434DD; 6778 case 0x2B0434E0u: goto L_2B0434E0; 6779 case 0x2B0434E2u: goto L_2B0434E2; 6780 case 0x2B0434E4u: goto L_2B0434E4; 6781 case 0x2B0434E6u: goto L_2B0434E6; 6782 case 0x2B0434E8u: goto L_2B0434E8; 6783 case 0x2B0434EAu: goto L_2B0434EA; 6784 case 0x2B0434EDu: goto L_2B0434ED; 6785 case 0x2B0434EFu: goto L_2B0434EF; 6786 case 0x2B0434F1u: goto L_2B0434F1; 6787 case 0x2B0434F3u: goto L_2B0434F3; 6788 case 0x2B0434F5u: goto L_2B0434F5; 6789 case 0x2B0434F7u: goto L_2B0434F7; 6790 case 0x2B0434FAu: goto L_2B0434FA; 6791 case 0x2B0434FCu: goto L_2B0434FC; 6792 case 0x2B0434FFu: goto L_2B0434FF; 6793 case 0x2B043502u: goto L_2B043502; 6794 case 0x2B043505u: goto L_2B043505; 6795 case 0x2B04350Cu: goto L_2B04350C; 6796 case 0x2B043513u: goto L_2B043513; 6797 case 0x2B043519u: goto L_2B043519; 6798 case 0x2B04351Bu: goto L_2B04351B; 6799 case 0x2B043521u: goto L_2B043521; 6800 case 0x2B043524u: goto L_2B043524; 6801 case 0x2B04352Au: goto L_2B04352A; 6802 case 0x2B043530u: goto L_2B043530; 6803 case 0x2B043531u: goto L_2B043531; 6804 case 0x2B043536u: goto L_2B043536; 6805 case 0x2B04353Bu: goto L_2B04353B; 6806 case 0x2B04353Eu: goto L_2B04353E; 6807 case 0x2B043543u: goto L_2B043543; 6808 case 0x2B043548u: goto L_2B043548; 6809 case 0x2B04354Bu: goto L_2B04354B; 6810 case 0x2B04354Du: goto L_2B04354D; 6811 case 0x2B043550u: goto L_2B043550; 6812 case 0x2B043556u: goto L_2B043556; 6813 case 0x2B043559u: goto L_2B043559; 6814 case 0x2B04355Eu: goto L_2B04355E; 6815 case 0x2B043563u: goto L_2B043563; 6816 case 0x2B043566u: goto L_2B043566; 6817 case 0x2B043568u: goto L_2B043568; 6818 case 0x2B04356Eu: goto L_2B04356E; 6819 case 0x2B04356Fu: goto L_2B04356F; 6820 case 0x2B043574u: goto L_2B043574; 6821 case 0x2B043576u: goto L_2B043576; 6822 case 0x2B043579u: goto L_2B043579; 6823 case 0x2B04357Cu: goto L_2B04357C; 6824 case 0x2B043582u: goto L_2B043582; 6825 case 0x2B043584u: goto L_2B043584; 6826 case 0x2B043586u: goto L_2B043586; 6827 case 0x2B043589u: goto L_2B043589; 6828 case 0x2B04358Cu: goto L_2B04358C; 6829 case 0x2B04358Du: goto L_2B04358D; 6830 case 0x2B043590u: goto L_2B043590; 6831 case 0x2B043595u: goto L_2B043595; 6832 case 0x2B043598u: goto L_2B043598; 6833 case 0x2B04359Bu: goto L_2B04359B; 6834 case 0x2B04359Cu: goto L_2B04359C; 6835 case 0x2B04359Fu: goto L_2B04359F; 6836 case 0x2B0435A5u: goto L_2B0435A5; 6837 case 0x2B0435A7u: goto L_2B0435A7; 6838 case 0x2B0435AAu: goto L_2B0435AA; 6839 case 0x2B0435ADu: goto L_2B0435AD; 6840 case 0x2B0435AFu: goto L_2B0435AF; 6841 case 0x2B0435B5u: goto L_2B0435B5; 6842 case 0x2B0435B8u: goto L_2B0435B8; 6843 case 0x2B0435BAu: goto L_2B0435BA; 6844 case 0x2B0435BBu: goto L_2B0435BB; 6845 case 0x2B0435C1u: goto L_2B0435C1; 6846 case 0x2B0435C3u: goto L_2B0435C3; 6847 case 0x2B0435C8u: goto L_2B0435C8; 6848 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 6849 } 6850 RECOMP_REGS_OUT(); 6851 } 6852 6853 void sub_2B043286(void) { 6854 int _fpu_cmp = 0; 6855 uint32_t _cf = 0; 6856 int _df = 1; 6857 uint32_t _flag_k = FK_NONE; 6858 uint32_t _flag_a = 0, _flag_b = 0; 6859 uint32_t _itail_tgt = 0; 6860 RECOMP_REGS_LOCALS 6861 RECOMP_ENTER(0x2B043286u); 6862 6863 L_2B043286: 6864 edi = MEM32(ebp + (-0x4)); /* 0x2B043286: mov edi, dword ptr [ebp - 4] */ 6865 L_2B043289: 6866 esi = MEM32(edi + 0x8); /* 0x2B043289: mov esi, dword ptr [edi + 8] */ 6867 L_2B04328C: 6868 RECOMP_ICALL(MEM32(0x2B0B53BC)); /* 0x2B04328C: call dword ptr [0x2b0b53bc] */ 6869 RECOMP_FLAGS_IN(); 6870 L_2B043292: 6871 eax = MEM32(eax + 0x28); /* 0x2B043292: mov eax, dword ptr [eax + 0x28] */ 6872 L_2B043295: 6873 edx = MEM32(esi + 0xC); /* 0x2B043295: mov edx, dword ptr [esi + 0xc] */ 6874 L_2B043298: 6875 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 6876 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6877 edx = edx - eax; /* 0x2B043298: sub edx, eax */ 6878 _flag_k = FK_CMP; 6879 L_2B04329A: 6880 PUSH32(esp, 0); /* 0x2B04329A: push 0 */ 6881 L_2B04329C: 6882 PUSH32(esp, esi); /* 0x2B04329C: push esi */ 6883 L_2B04329D: 6884 MEM32(esi + 0xC) = edx; /* 0x2B04329D: mov dword ptr [esi + 0xc], edx */ 6885 L_2B0432A0: 6886 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0432A0: call dword ptr [0x2b0b5d6c] */ 6887 RECOMP_FLAGS_IN(); 6888 L_2B0432A6: 6889 ecx = eax; /* 0x2B0432A6: mov ecx, eax */ 6890 L_2B0432A8: 6891 RECOMP_ICALL(MEM32(0x2B0B5EE0)); /* 0x2B0432A8: call dword ptr [0x2b0b5ee0] */ 6892 RECOMP_FLAGS_IN(); 6893 L_2B0432AE: 6894 edx = MEM32(esi + 0xC); /* 0x2B0432AE: mov edx, dword ptr [esi + 0xc] */ 6895 L_2B0432B1: 6896 ecx = eax; /* 0x2B0432B1: mov ecx, eax */ 6897 L_2B0432B3: 6898 eax = 0x10624DD3u; /* 0x2B0432B3: mov eax, 0x10624dd3 */ 6899 L_2B0432B8: 6900 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x2B0432B8: imul edx */ 6901 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 6902 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 6903 L_2B0432BA: 6904 if (6u) _cf = (((edx) >> 5) & 1u); /* 0x2B0432BA: sar edx, 6 */ 6905 if (6u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 6u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6906 edx = (uint32_t)((int32_t)edx >> 6u); 6907 L_2B0432BD: 6908 eax = edx; /* 0x2B0432BD: mov eax, edx */ 6909 L_2B0432BF: 6910 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B0432BF: shr eax, 0x1f */ 6911 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6912 eax = eax >> 31u; /* 0x2B0432BF: shr eax, 0x1f */ 6913 L_2B0432C2: 6914 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 6915 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6916 edx = edx + eax; /* 0x2B0432C2: add edx, eax */ 6917 _flag_k = FK_ADD; 6918 L_2B0432C4: 6919 SET_LO8(eax, MEM8(esi + 0x2C)); /* 0x2B0432C4: mov al, byte ptr [esi + 0x2c] */ 6920 L_2B0432C7: 6921 if (19u) _cf = (((ecx) >> 18) & 1u); /* 0x2B0432C7: shr ecx, 0x13 */ 6922 if (19u) { _flag_a = recomp_flags_pack((ecx >> 19u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6923 ecx = ecx >> 19u; /* 0x2B0432C7: shr ecx, 0x13 */ 6924 L_2B0432CA: 6925 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(1) << 24; 6926 SET_LO8(ecx, LO8(ecx) & 1); /* 0x2B0432CA: and cl, 1 */ 6927 _cf = 0; 6928 _flag_k = FK_NARROW(FK_TEST, 24); 6929 L_2B0432CD: 6930 /* test LO8(eax), LO8(eax) */ /* 0x2B0432CD: test al, al */ 6931 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6932 _cf = 0; 6933 _flag_k = FK_NARROW(FK_TEST, 24); 6934 L_2B0432CF: 6935 ebx = edx; /* 0x2B0432CF: mov ebx, edx */ 6936 L_2B0432D1: 6937 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B043338; /* 0x2B0432D1: jne 0x2b043338 */ 6938 L_2B0432D3: 6939 /* cmp ebx, 0xAu */ /* 0x2B0432D3: cmp ebx, 0xa */ 6940 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0xAu); 6941 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6942 _flag_k = FK_CMP; 6943 L_2B0432D6: 6944 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_G, _cf)) goto L_2B043338; /* 0x2B0432D6: jg 0x2b043338 */ 6945 L_2B0432D8: 6946 /* cmp ebx, 2 */ /* 0x2B0432D8: cmp ebx, 2 */ 6947 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(2); 6948 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6949 _flag_k = FK_CMP; 6950 L_2B0432DB: 6951 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_2B043338; /* 0x2B0432DB: jle 0x2b043338 */ 6952 L_2B0432DD: 6953 /* test LO8(ecx), LO8(ecx) */ /* 0x2B0432DD: test cl, cl */ 6954 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 6955 _cf = 0; 6956 _flag_k = FK_NARROW(FK_TEST, 24); 6957 L_2B0432DF: 6958 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B043338; /* 0x2B0432DF: jne 0x2b043338 */ 6959 L_2B0432E1: 6960 PUSH32(esp, ebx); /* 0x2B0432E1: push ebx */ 6961 L_2B0432E2: 6962 PUSH32(esp, esi); /* 0x2B0432E2: push esi */ 6963 L_2B0432E3: 6964 MEM8(esi + 0x2C) = (uint8_t)(1); /* 0x2B0432E3: mov byte ptr [esi + 0x2c], 1 */ 6965 L_2B0432E7: 6966 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0432E7: call dword ptr [0x2b0b5d6c] */ 6967 RECOMP_FLAGS_IN(); 6968 L_2B0432ED: 6969 ecx = eax; /* 0x2B0432ED: mov ecx, eax */ 6970 L_2B0432EF: 6971 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B0432EF: call dword ptr [0x2b0b5d50] */ 6972 RECOMP_FLAGS_IN(); 6973 L_2B0432F5: 6974 PUSH32(esp, eax); /* 0x2B0432F5: push eax */ 6975 L_2B0432F6: 6976 PUSH32(esp, 0x2B0E7378u); /* 0x2B0432F6: push 0x2b0e7378 */ 6977 L_2B0432FB: 6978 ecx = ebp + (-0xB4); /* 0x2B0432FB: lea ecx, [ebp - 0xb4] */ 6979 L_2B043301: 6980 PUSH32(esp, 0x64u); /* 0x2B043301: push 0x64 */ 6981 L_2B043303: 6982 PUSH32(esp, ecx); /* 0x2B043303: push ecx */ 6983 L_2B043304: 6984 RECOMP_ICALL(0x2B012180u); /* 0x2B043304: call 0x2b012180 */ /* not lifted */ 6985 RECOMP_FLAGS_IN(); 6986 L_2B043309: 6987 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 6988 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6989 esp = esp + 0x14u; /* 0x2B043309: add esp, 0x14 */ 6990 _flag_k = FK_ADD; 6991 L_2B04330C: 6992 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6993 ecx = ecx | 0xFFFFFFFFu; /* 0x2B04330C: or ecx, 0xffffffff */ 6994 _cf = 0; 6995 _flag_k = FK_TEST; 6996 L_2B04330F: 6997 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6998 eax = 0; /* 0x2B04330F: xor eax, eax */ 6999 _cf = 0; 7000 _flag_k = FK_TEST; 7001 L_2B043311: 7002 edi = ebp + (-0xB4); /* 0x2B043311: lea edi, [ebp - 0xb4] */ 7003 L_2B043317: 7004 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; } /* 0x2B043317: repne scasb al, byte ptr es:[edi] */ 7005 L_2B043319: 7006 ecx = ~ecx; /* 0x2B043319: not ecx */ 7007 L_2B04331B: 7008 PUSH32(esp, ecx); /* 0x2B04331B: push ecx */ 7009 L_2B04331C: 7010 edx = ebp + (-0xB4); /* 0x2B04331C: lea edx, [ebp - 0xb4] */ 7011 L_2B043322: 7012 PUSH32(esp, edx); /* 0x2B043322: push edx */ 7013 L_2B043323: 7014 PUSH32(esp, 0x3Fu); /* 0x2B043323: push 0x3f */ 7015 L_2B043325: 7016 PUSH32(esp, 3); /* 0x2B043325: push 3 */ 7017 L_2B043327: 7018 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B043327: call dword ptr [0x2b0b53cc] */ 7019 RECOMP_FLAGS_IN(); 7020 L_2B04332D: 7021 ecx = eax; /* 0x2B04332D: mov ecx, eax */ 7022 L_2B04332F: 7023 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B04332F: call dword ptr [0x2b0b53c4] */ 7024 RECOMP_FLAGS_IN(); 7025 L_2B043335: 7026 edi = MEM32(ebp + (-0x4)); /* 0x2B043335: mov edi, dword ptr [ebp - 4] */ 7027 L_2B043338: 7028 eax = MEM32(ebp + (-0x8)); /* 0x2B043338: mov eax, dword ptr [ebp - 8] */ 7029 L_2B04333B: 7030 SET_LO8(ecx, MEM8(eax + 0xA1)); /* 0x2B04333B: mov cl, byte ptr [eax + 0xa1] */ 7031 L_2B043341: 7032 /* test LO8(ecx), LO8(ecx) */ /* 0x2B043341: test cl, cl */ 7033 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 7034 _cf = 0; 7035 _flag_k = FK_NARROW(FK_TEST, 24); 7036 L_2B043343: 7037 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0433FD; /* 0x2B043343: je 0x2b0433fd */ 7038 L_2B043349: 7039 ecx = MEM32(ebp + (-0xC)); /* 0x2B043349: mov ecx, dword ptr [ebp - 0xc] */ 7040 L_2B04334C: 7041 /* cmp ecx, MEM32(eax + 0xA4) */ /* 0x2B04334C: cmp ecx, dword ptr [eax + 0xa4] */ 7042 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax + 0xA4)); 7043 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7044 _flag_k = FK_CMP; 7045 L_2B043352: 7046 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B0433FD; /* 0x2B043352: jne 0x2b0433fd */ 7047 L_2B043358: 7048 /* cmp ebx, MEM32(esi + 0x14) */ /* 0x2B043358: cmp ebx, dword ptr [esi + 0x14] */ 7049 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x14)); 7050 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7051 _flag_k = FK_CMP; 7052 L_2B04335B: 7053 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0433FD; /* 0x2B04335B: je 0x2b0433fd */ 7054 L_2B043361: 7055 eax = 0x91A2B3C5u; /* 0x2B043361: mov eax, 0x91a2b3c5 */ 7056 L_2B043366: 7057 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ebx); /* 0x2B043366: imul ebx */ 7058 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 7059 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 7060 L_2B043368: 7061 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 7062 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7063 edx = edx + ebx; /* 0x2B043368: add edx, ebx */ 7064 _flag_k = FK_ADD; 7065 L_2B04336A: 7066 if (11u) _cf = (((edx) >> 10) & 1u); /* 0x2B04336A: sar edx, 0xb */ 7067 if (11u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 11u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7068 edx = (uint32_t)((int32_t)edx >> 11u); 7069 L_2B04336D: 7070 eax = edx; /* 0x2B04336D: mov eax, edx */ 7071 L_2B04336F: 7072 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B04336F: shr eax, 0x1f */ 7073 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7074 eax = eax >> 31u; /* 0x2B04336F: shr eax, 0x1f */ 7075 L_2B043372: 7076 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 7077 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7078 edx = edx + eax; /* 0x2B043372: add edx, eax */ 7079 _flag_k = FK_ADD; 7080 L_2B043374: 7081 ecx = edx; /* 0x2B043374: mov ecx, edx */ 7082 L_2B043376: 7083 eax = ecx; /* 0x2B043376: mov eax, ecx */ 7084 L_2B043378: 7085 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 7086 _cf = (eax) != 0; 7087 eax = (uint32_t)(-(int32_t)eax); /* 0x2B043378: neg eax */ 7088 _flag_k = FK_CMP; 7089 L_2B04337A: 7090 if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2B04337A: shl eax, 2 */ 7091 if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7092 eax = eax << 2u; /* 0x2B04337A: shl eax, 2 */ 7093 L_2B04337D: 7094 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7095 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7096 eax = eax - ecx; /* 0x2B04337D: sub eax, ecx */ 7097 _flag_k = FK_CMP; 7098 L_2B04337F: 7099 eax = eax + eax * 4; /* 0x2B04337F: lea eax, [eax + eax*4] */ 7100 L_2B043382: 7101 edx = eax + eax * 8; /* 0x2B043382: lea edx, [eax + eax*8] */ 7102 L_2B043385: 7103 if (4u) _cf = (((edx) >> 28) & 1u); /* 0x2B043385: shl edx, 4 */ 7104 if (4u) { _flag_a = recomp_flags_pack((edx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7105 edx = edx << 4u; /* 0x2B043385: shl edx, 4 */ 7106 L_2B043388: 7107 MEM32(esi + 0x14) = ebx; /* 0x2B043388: mov dword ptr [esi + 0x14], ebx */ 7108 L_2B04338B: 7109 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 7110 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7111 ebx = ebx + edx; /* 0x2B04338B: add ebx, edx */ 7112 _flag_k = FK_ADD; 7113 L_2B04338D: 7114 eax = 0x88888889u; /* 0x2B04338D: mov eax, 0x88888889 */ 7115 L_2B043392: 7116 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ebx); /* 0x2B043392: imul ebx */ 7117 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 7118 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 7119 L_2B043394: 7120 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 7121 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7122 edx = edx + ebx; /* 0x2B043394: add edx, ebx */ 7123 _flag_k = FK_ADD; 7124 L_2B043396: 7125 if (5u) _cf = (((edx) >> 4) & 1u); /* 0x2B043396: sar edx, 5 */ 7126 if (5u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 5u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7127 edx = (uint32_t)((int32_t)edx >> 5u); 7128 L_2B043399: 7129 eax = edx; /* 0x2B043399: mov eax, edx */ 7130 L_2B04339B: 7131 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B04339B: shr eax, 0x1f */ 7132 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7133 eax = eax >> 31u; /* 0x2B04339B: shr eax, 0x1f */ 7134 L_2B04339E: 7135 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 7136 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7137 edx = edx + eax; /* 0x2B04339E: add edx, eax */ 7138 _flag_k = FK_ADD; 7139 L_2B0433A0: 7140 eax = edx + edx * 2; /* 0x2B0433A0: lea eax, [edx + edx*2] */ 7141 L_2B0433A3: 7142 eax = eax + eax * 4; /* 0x2B0433A3: lea eax, [eax + eax*4] */ 7143 L_2B0433A6: 7144 if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2B0433A6: shl eax, 2 */ 7145 if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7146 eax = eax << 2u; /* 0x2B0433A6: shl eax, 2 */ 7147 L_2B0433A9: 7148 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 7149 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7150 ebx = ebx - eax; /* 0x2B0433A9: sub ebx, eax */ 7151 _flag_k = FK_CMP; 7152 L_2B0433AB: 7153 PUSH32(esp, ebx); /* 0x2B0433AB: push ebx */ 7154 L_2B0433AC: 7155 ebx = MEM32(0x2B0B5D6C); /* 0x2B0433AC: mov ebx, dword ptr [0x2b0b5d6c] */ 7156 L_2B0433B2: 7157 PUSH32(esp, edx); /* 0x2B0433B2: push edx */ 7158 L_2B0433B3: 7159 PUSH32(esp, ecx); /* 0x2B0433B3: push ecx */ 7160 L_2B0433B4: 7161 ecx = MEM32(edi + 0x8); /* 0x2B0433B4: mov ecx, dword ptr [edi + 8] */ 7162 L_2B0433B7: 7163 PUSH32(esp, 0x36u); /* 0x2B0433B7: push 0x36 */ 7164 L_2B0433B9: 7165 PUSH32(esp, ecx); /* 0x2B0433B9: push ecx */ 7166 L_2B0433BA: 7167 RECOMP_ICALL(ebx); /* 0x2B0433BA: call ebx */ 7168 RECOMP_FLAGS_IN(); 7169 L_2B0433BC: 7170 ecx = eax; /* 0x2B0433BC: mov ecx, eax */ 7171 L_2B0433BE: 7172 RECOMP_ICALL(MEM32(0x2B0B5EE0)); /* 0x2B0433BE: call dword ptr [0x2b0b5ee0] */ 7173 RECOMP_FLAGS_IN(); 7174 L_2B0433C4: 7175 edx = MEM32(edi + 0x8); /* 0x2B0433C4: mov edx, dword ptr [edi + 8] */ 7176 L_2B0433C7: 7177 PUSH32(esp, eax); /* 0x2B0433C7: push eax */ 7178 L_2B0433C8: 7179 PUSH32(esp, edx); /* 0x2B0433C8: push edx */ 7180 L_2B0433C9: 7181 RECOMP_ICALL(ebx); /* 0x2B0433C9: call ebx */ 7182 RECOMP_FLAGS_IN(); 7183 L_2B0433CB: 7184 ecx = eax; /* 0x2B0433CB: mov ecx, eax */ 7185 L_2B0433CD: 7186 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B0433CD: call dword ptr [0x2b0b5d50] */ 7187 RECOMP_FLAGS_IN(); 7188 L_2B0433D3: 7189 PUSH32(esp, eax); /* 0x2B0433D3: push eax */ 7190 L_2B0433D4: 7191 eax = ebp + (-0x50); /* 0x2B0433D4: lea eax, [ebp - 0x50] */ 7192 L_2B0433D7: 7193 PUSH32(esp, 0x2B0E7360u); /* 0x2B0433D7: push 0x2b0e7360 */ 7194 L_2B0433DC: 7195 PUSH32(esp, eax); /* 0x2B0433DC: push eax */ 7196 L_2B0433DD: 7197 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B0433DD: call dword ptr [0x2b0b51f0] */ 7198 RECOMP_FLAGS_IN(); 7199 L_2B0433E3: 7200 ebx = MEM32(ebp + (-0x8)); /* 0x2B0433E3: mov ebx, dword ptr [ebp - 8] */ 7201 L_2B0433E6: 7202 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 7203 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7204 esp = esp + 0x1Cu; /* 0x2B0433E6: add esp, 0x1c */ 7205 _flag_k = FK_ADD; 7206 L_2B0433E9: 7207 ecx = ebp + (-0x50); /* 0x2B0433E9: lea ecx, [ebp - 0x50] */ 7208 L_2B0433EC: 7209 PUSH32(esp, ecx); /* 0x2B0433EC: push ecx */ 7210 L_2B0433ED: 7211 ecx = MEM32(ebx + 0x6C); /* 0x2B0433ED: mov ecx, dword ptr [ebx + 0x6c] */ 7212 L_2B0433F0: 7213 RECOMP_ICALL(MEM32(0x2B0B5850)); /* 0x2B0433F0: call dword ptr [0x2b0b5850] */ 7214 RECOMP_FLAGS_IN(); 7215 L_2B0433F6: 7216 ecx = ebx; /* 0x2B0433F6: mov ecx, ebx */ 7217 L_2B0433F8: 7218 RECOMP_ICALL(0x2B042240u); /* 0x2B0433F8: call 0x2b042240 */ /* not lifted */ 7219 RECOMP_FLAGS_IN(); 7220 L_2B0433FD: 7221 ecx = MEM32(esi + 0x20); /* 0x2B0433FD: mov ecx, dword ptr [esi + 0x20] */ 7222 L_2B043400: 7223 /* test ecx, ecx */ /* 0x2B043400: test ecx, ecx */ 7224 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7225 _cf = 0; 7226 _flag_k = FK_TEST; 7227 L_2B043402: 7228 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B043479; /* 0x2B043402: je 0x2b043479 */ 7229 L_2B043404: 7230 eax = MEM32(esi + 0xC); /* 0x2B043404: mov eax, dword ptr [esi + 0xc] */ 7231 L_2B043407: 7232 eax = eax + eax * 4; /* 0x2B043407: lea eax, [eax + eax*4] */ 7233 L_2B04340A: 7234 if (3u) _cf = (((eax) >> 29) & 1u); /* 0x2B04340A: shl eax, 3 */ 7235 if (3u) { _flag_a = recomp_flags_pack((eax << 3u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7236 eax = eax << 3u; /* 0x2B04340A: shl eax, 3 */ 7237 L_2B04340D: 7238 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B04340D: cdq */ 7239 L_2B04340E: 7240 { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)MEM32(esi + 0x10); /* 0x2B04340E: idiv dword ptr [esi + 0x10] */ 7241 if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); } 7242 else { eax = 0; edx = 0; } } 7243 L_2B043411: 7244 ebx = eax; /* 0x2B043411: mov ebx, eax */ 7245 L_2B043413: 7246 /* cmp ebx, MEM32(esi + 0x18) */ /* 0x2B043413: cmp ebx, dword ptr [esi + 0x18] */ 7247 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x18)); 7248 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7249 _flag_k = FK_CMP; 7250 L_2B043416: 7251 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B043479; /* 0x2B043416: je 0x2b043479 */ 7252 L_2B043418: 7253 edx = MEM32(ecx + 0x14); /* 0x2B043418: mov edx, dword ptr [ecx + 0x14] */ 7254 L_2B04341B: 7255 eax = MEM32(edx + 0xC); /* 0x2B04341B: mov eax, dword ptr [edx + 0xc] */ 7256 L_2B04341E: 7257 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B04341E: cdq */ 7258 L_2B04341F: 7259 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7260 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7261 eax = eax - edx; /* 0x2B04341F: sub eax, edx */ 7262 _flag_k = FK_CMP; 7263 L_2B043421: 7264 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B043421: sar eax, 1 */ 7265 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7266 eax = (uint32_t)((int32_t)eax >> 1u); 7267 L_2B043423: 7268 /* cmp ebx, eax */ /* 0x2B043423: cmp ebx, eax */ 7269 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 7270 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7271 _flag_k = FK_CMP; 7272 L_2B043425: 7273 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_2B043429; /* 0x2B043425: jle 0x2b043429 */ 7274 L_2B043427: 7275 ebx = eax; /* 0x2B043427: mov ebx, eax */ 7276 L_2B043429: 7277 eax = ebp + (-0x14); /* 0x2B043429: lea eax, [ebp - 0x14] */ 7278 L_2B04342C: 7279 PUSH32(esp, eax); /* 0x2B04342C: push eax */ 7280 L_2B04342D: 7281 MEM32(esi + 0x18) = ebx; /* 0x2B04342D: mov dword ptr [esi + 0x18], ebx */ 7282 L_2B043430: 7283 MEM32(ebp + (-0x14)) = ebx; /* 0x2B043430: mov dword ptr [ebp - 0x14], ebx */ 7284 L_2B043433: 7285 MEM32(ebp + (-0x10)) = 0x18u; /* 0x2B043433: mov dword ptr [ebp - 0x10], 0x18 */ 7286 L_2B04343A: 7287 RECOMP_ICALL(MEM32(0x2B0B5844)); /* 0x2B04343A: call dword ptr [0x2b0b5844] */ 7288 RECOMP_FLAGS_IN(); 7289 L_2B043440: 7290 ecx = ebx + 0x28; /* 0x2B043440: lea ecx, [ebx + 0x28] */ 7291 L_2B043443: 7292 edx = ebp + (-0x1C); /* 0x2B043443: lea edx, [ebp - 0x1c] */ 7293 L_2B043446: 7294 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B043446: mov dword ptr [ebp - 0x1c], ecx */ 7295 L_2B043449: 7296 ecx = MEM32(esi + 0x24); /* 0x2B043449: mov ecx, dword ptr [esi + 0x24] */ 7297 L_2B04344C: 7298 PUSH32(esp, edx); /* 0x2B04344C: push edx */ 7299 L_2B04344D: 7300 MEM32(ebp + (-0x18)) = 0; /* 0x2B04344D: mov dword ptr [ebp - 0x18], 0 */ 7301 L_2B043454: 7302 RECOMP_ICALL(MEM32(0x2B0B5848)); /* 0x2B043454: call dword ptr [0x2b0b5848] */ 7303 RECOMP_FLAGS_IN(); 7304 L_2B04345A: 7305 ecx = ebp + (-0x14); /* 0x2B04345A: lea ecx, [ebp - 0x14] */ 7306 L_2B04345D: 7307 eax = 0x28u; /* 0x2B04345D: mov eax, 0x28 */ 7308 L_2B043462: 7309 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 7310 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7311 eax = eax - ebx; /* 0x2B043462: sub eax, ebx */ 7312 _flag_k = FK_CMP; 7313 L_2B043464: 7314 PUSH32(esp, ecx); /* 0x2B043464: push ecx */ 7315 L_2B043465: 7316 ecx = MEM32(esi + 0x24); /* 0x2B043465: mov ecx, dword ptr [esi + 0x24] */ 7317 L_2B043468: 7318 MEM32(ebp + (-0x14)) = eax; /* 0x2B043468: mov dword ptr [ebp - 0x14], eax */ 7319 L_2B04346B: 7320 RECOMP_ICALL(MEM32(0x2B0B5844)); /* 0x2B04346B: call dword ptr [0x2b0b5844] */ 7321 RECOMP_FLAGS_IN(); 7322 L_2B043471: 7323 ecx = MEM32(ebp + (-0x8)); /* 0x2B043471: mov ecx, dword ptr [ebp - 8] */ 7324 L_2B043474: 7325 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B043474: call 0x2b03a2b0 */ /* not lifted */ 7326 RECOMP_FLAGS_IN(); 7327 L_2B043479: 7328 eax = MEM32(esi + 0x8); /* 0x2B043479: mov eax, dword ptr [esi + 8] */ 7329 L_2B04347C: 7330 /* cmp eax, 3 */ /* 0x2B04347C: cmp eax, 3 */ 7331 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 7332 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7333 _flag_k = FK_CMP; 7334 L_2B04347F: 7335 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_2B04348F; /* 0x2B04347F: ja 0x2b04348f */ 7336 L_2B043481: 7337 { _itail_tgt = (uint32_t)(MEM32(eax * 4 + 0x2B0435D0)); goto _ljump; } 7338 L_2B043488: 7339 MEM32(esi + 0x8) = 3; /* 0x2B043488: mov dword ptr [esi + 8], 3 */ 7340 L_2B04348F: 7341 edx = MEM32(edi); /* 0x2B04348F: mov edx, dword ptr [edi] */ 7342 L_2B043491: 7343 MEM32(ebp + (-0x4)) = edx; /* 0x2B043491: mov dword ptr [ebp - 4], edx */ 7344 L_2B043494: 7345 ecx = MEM32(ebp + (-0xC)); /* 0x2B043494: mov ecx, dword ptr [ebp - 0xc] */ 7346 L_2B043497: 7347 eax = MEM32(ebp + (-0x8)); /* 0x2B043497: mov eax, dword ptr [ebp - 8] */ 7348 L_2B04349A: 7349 edx = MEM32(ebp + (-0x4)); /* 0x2B04349A: mov edx, dword ptr [ebp - 4] */ 7350 L_2B04349D: 7351 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7352 ecx = ecx + 1; /* 0x2B04349D: inc ecx */ 7353 _flag_k = FK_INC; 7354 L_2B04349E: 7355 MEM32(ebp + (-0xC)) = ecx; /* 0x2B04349E: mov dword ptr [ebp - 0xc], ecx */ 7356 L_2B0434A1: 7357 ecx = MEM32(eax + 0x8C); /* 0x2B0434A1: mov ecx, dword ptr [eax + 0x8c] */ 7358 L_2B0434A7: 7359 /* cmp MEM32(ecx + 0x4), edx */ /* 0x2B0434A7: cmp dword ptr [ecx + 4], edx */ 7360 _flag_a = (uint32_t)(MEM32(ecx + 0x4)); _flag_b = (uint32_t)(edx); 7361 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7362 _flag_k = FK_CMP; 7363 L_2B0434AA: 7364 RECOMP_BACKEDGE(); 7365 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B043286; /* 0x2B0434AA: jne 0x2b043286 */ 7366 L_2B0434B0: 7367 ebx = POP32_VAL(esp); /* 0x2B0434B0: pop ebx */ 7368 L_2B0434B1: 7369 edi = POP32_VAL(esp); /* 0x2B0434B1: pop edi */ 7370 L_2B0434B2: 7371 esi = POP32_VAL(esp); /* 0x2B0434B2: pop esi */ 7372 L_2B0434B3: 7373 esp = ebp; /* 0x2B0434B3: mov esp, ebp */ 7374 L_2B0434B5: 7375 ebp = POP32_VAL(esp); /* 0x2B0434B5: pop ebp */ 7376 L_2B0434B6: 7377 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0434B6: ret */ 7378 L_2B0434B7: 7379 /* cmp MEM32(esi + 0xC), 0x1388u */ /* 0x2B0434B7: cmp dword ptr [esi + 0xc], 0x1388 */ 7380 _flag_a = (uint32_t)(MEM32(esi + 0xC)); _flag_b = (uint32_t)(0x1388u); 7381 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7382 _flag_k = FK_CMP; 7383 L_2B0434BE: 7384 RECOMP_BACKEDGE(); 7385 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_GE, _cf)) goto L_2B04348F; /* 0x2B0434BE: jge 0x2b04348f */ 7386 L_2B0434C0: 7387 MEM32(esi + 0x8) = 1; /* 0x2B0434C0: mov dword ptr [esi + 8], 1 */ 7388 L_2B0434C7: 7389 RECOMP_BACKEDGE(); 7390 goto L_2B04348F; /* 0x2B0434C7: jmp 0x2b04348f */ 7391 L_2B0434C9: 7392 eax = MEM32(esi + 0xC); /* 0x2B0434C9: mov eax, dword ptr [esi + 0xc] */ 7393 L_2B0434CC: 7394 /* test eax, eax */ /* 0x2B0434CC: test eax, eax */ 7395 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7396 _cf = 0; 7397 _flag_k = FK_TEST; 7398 L_2B0434CE: 7399 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_G, _cf)) goto L_2B04353B; /* 0x2B0434CE: jg 0x2b04353b */ 7400 L_2B0434D0: 7401 ecx = MEM32(esi + 0x20); /* 0x2B0434D0: mov ecx, dword ptr [esi + 0x20] */ 7402 L_2B0434D3: 7403 /* test ecx, ecx */ /* 0x2B0434D3: test ecx, ecx */ 7404 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7405 _cf = 0; 7406 _flag_k = FK_TEST; 7407 L_2B0434D5: 7408 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0434DD; /* 0x2B0434D5: je 0x2b0434dd */ 7409 L_2B0434D7: 7410 edx = MEM32(ecx); /* 0x2B0434D7: mov edx, dword ptr [ecx] */ 7411 L_2B0434D9: 7412 PUSH32(esp, 1); /* 0x2B0434D9: push 1 */ 7413 L_2B0434DB: 7414 RECOMP_ICALL(MEM32(edx)); /* 0x2B0434DB: call dword ptr [edx] */ 7415 RECOMP_FLAGS_IN(); 7416 L_2B0434DD: 7417 ecx = MEM32(esi + 0x24); /* 0x2B0434DD: mov ecx, dword ptr [esi + 0x24] */ 7418 L_2B0434E0: 7419 /* test ecx, ecx */ /* 0x2B0434E0: test ecx, ecx */ 7420 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7421 _cf = 0; 7422 _flag_k = FK_TEST; 7423 L_2B0434E2: 7424 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0434EA; /* 0x2B0434E2: je 0x2b0434ea */ 7425 L_2B0434E4: 7426 eax = MEM32(ecx); /* 0x2B0434E4: mov eax, dword ptr [ecx] */ 7427 L_2B0434E6: 7428 PUSH32(esp, 1); /* 0x2B0434E6: push 1 */ 7429 L_2B0434E8: 7430 RECOMP_ICALL(MEM32(eax)); /* 0x2B0434E8: call dword ptr [eax] */ 7431 RECOMP_FLAGS_IN(); 7432 L_2B0434EA: 7433 ecx = MEM32(esi + 0x28); /* 0x2B0434EA: mov ecx, dword ptr [esi + 0x28] */ 7434 L_2B0434ED: 7435 /* test ecx, ecx */ /* 0x2B0434ED: test ecx, ecx */ 7436 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7437 _cf = 0; 7438 _flag_k = FK_TEST; 7439 L_2B0434EF: 7440 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0434F7; /* 0x2B0434EF: je 0x2b0434f7 */ 7441 L_2B0434F1: 7442 edx = MEM32(ecx); /* 0x2B0434F1: mov edx, dword ptr [ecx] */ 7443 L_2B0434F3: 7444 PUSH32(esp, 1); /* 0x2B0434F3: push 1 */ 7445 L_2B0434F5: 7446 RECOMP_ICALL(MEM32(edx)); /* 0x2B0434F5: call dword ptr [edx] */ 7447 RECOMP_FLAGS_IN(); 7448 L_2B0434F7: 7449 ecx = MEM32(ebp + (-0x8)); /* 0x2B0434F7: mov ecx, dword ptr [ebp - 8] */ 7450 L_2B0434FA: 7451 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7452 eax = 0; /* 0x2B0434FA: xor eax, eax */ 7453 _cf = 0; 7454 _flag_k = FK_TEST; 7455 L_2B0434FC: 7456 MEM32(esi + 0x20) = eax; /* 0x2B0434FC: mov dword ptr [esi + 0x20], eax */ 7457 L_2B0434FF: 7458 MEM32(esi + 0x24) = eax; /* 0x2B0434FF: mov dword ptr [esi + 0x24], eax */ 7459 L_2B043502: 7460 MEM32(esi + 0x28) = eax; /* 0x2B043502: mov dword ptr [esi + 0x28], eax */ 7461 L_2B043505: 7462 MEM32(esi + 0x8) = 2; /* 0x2B043505: mov dword ptr [esi + 8], 2 */ 7463 L_2B04350C: 7464 MEM32(esi + 0xC) = 0x7D0u; /* 0x2B04350C: mov dword ptr [esi + 0xc], 0x7d0 */ 7465 L_2B043513: 7466 SET_LO8(edx, MEM8(ecx + 0xA1)); /* 0x2B043513: mov dl, byte ptr [ecx + 0xa1] */ 7467 L_2B043519: 7468 /* test LO8(edx), LO8(edx) */ /* 0x2B043519: test dl, dl */ 7469 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 7470 _cf = 0; 7471 _flag_k = FK_NARROW(FK_TEST, 24); 7472 L_2B04351B: 7473 RECOMP_BACKEDGE(); 7474 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B04348F; /* 0x2B04351B: je 0x2b04348f */ 7475 L_2B043521: 7476 edx = MEM32(ebp + (-0xC)); /* 0x2B043521: mov edx, dword ptr [ebp - 0xc] */ 7477 L_2B043524: 7478 /* cmp edx, MEM32(ecx + 0xA4) */ /* 0x2B043524: cmp edx, dword ptr [ecx + 0xa4] */ 7479 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ecx + 0xA4)); 7480 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7481 _flag_k = FK_CMP; 7482 L_2B04352A: 7483 RECOMP_BACKEDGE(); 7484 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B04348F; /* 0x2B04352A: jne 0x2b04348f */ 7485 L_2B043530: 7486 PUSH32(esp, eax); /* 0x2B043530: push eax */ 7487 L_2B043531: 7488 RECOMP_ICALL(0x2B043700u); /* 0x2B043531: call 0x2b043700 */ /* not lifted */ 7489 RECOMP_FLAGS_IN(); 7490 L_2B043536: 7491 RECOMP_BACKEDGE(); 7492 goto L_2B04348F; /* 0x2B043536: jmp 0x2b04348f */ 7493 L_2B04353B: 7494 SET_LO8(ecx, MEM8(esi + 0x1C)); /* 0x2B04353B: mov cl, byte ptr [esi + 0x1c] */ 7495 L_2B04353E: 7496 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x100u); 7497 eax = eax & 0x100u; /* 0x2B04353E: and eax, 0x100 */ 7498 _cf = 0; 7499 _flag_k = FK_TEST; 7500 L_2B043543: 7501 /* cmp eax, 0x80u */ /* 0x2B043543: cmp eax, 0x80 */ 7502 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80u); 7503 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7504 _flag_k = FK_CMP; 7505 L_2B043548: 7506 SET_LO8(eax, (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) ? 1 : 0); /* 0x2B043548: setle al */ 7507 L_2B04354B: 7508 /* cmp LO8(ecx), LO8(eax) */ /* 0x2B04354B: cmp cl, al */ 7509 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7510 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7511 _flag_k = FK_NARROW(FK_CMP, 24); 7512 L_2B04354D: 7513 MEM8(esi + 0x1C) = (uint8_t)(LO8(eax)); /* 0x2B04354D: mov byte ptr [esi + 0x1c], al */ 7514 L_2B043550: 7515 RECOMP_BACKEDGE(); 7516 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B04348F; /* 0x2B043550: je 0x2b04348f */ 7517 L_2B043556: 7518 ecx = MEM32(ebp + (-0x8)); /* 0x2B043556: mov ecx, dword ptr [ebp - 8] */ 7519 L_2B043559: 7520 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B043559: call 0x2b03a2b0 */ /* not lifted */ 7521 RECOMP_FLAGS_IN(); 7522 L_2B04355E: 7523 RECOMP_BACKEDGE(); 7524 goto L_2B04348F; /* 0x2B04355E: jmp 0x2b04348f */ 7525 L_2B043563: 7526 eax = MEM32(esi + 0xC); /* 0x2B043563: mov eax, dword ptr [esi + 0xc] */ 7527 L_2B043566: 7528 /* test eax, eax */ /* 0x2B043566: test eax, eax */ 7529 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7530 _cf = 0; 7531 _flag_k = FK_TEST; 7532 L_2B043568: 7533 RECOMP_BACKEDGE(); 7534 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_GE, _cf)) goto L_2B04348F; /* 0x2B043568: jge 0x2b04348f */ 7535 L_2B04356E: 7536 PUSH32(esp, esi); /* 0x2B04356E: push esi */ 7537 L_2B04356F: 7538 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B04356F: call 0x2b0ab1ba */ /* not lifted */ 7539 RECOMP_FLAGS_IN(); 7540 L_2B043574: 7541 eax = MEM32(edi); /* 0x2B043574: mov eax, dword ptr [edi] */ 7542 L_2B043576: 7543 ecx = MEM32(edi + 0x4); /* 0x2B043576: mov ecx, dword ptr [edi + 4] */ 7544 L_2B043579: 7545 esi = MEM32(ebp + (-0x8)); /* 0x2B043579: mov esi, dword ptr [ebp - 8] */ 7546 L_2B04357C: 7547 ebx = MEM32(esi + 0x8C); /* 0x2B04357C: mov ebx, dword ptr [esi + 0x8c] */ 7548 L_2B043582: 7549 MEM32(ecx) = eax; /* 0x2B043582: mov dword ptr [ecx], eax */ 7550 L_2B043584: 7551 edx = MEM32(edi); /* 0x2B043584: mov edx, dword ptr [edi] */ 7552 L_2B043586: 7553 MEM32(ebp + (-0x4)) = eax; /* 0x2B043586: mov dword ptr [ebp - 4], eax */ 7554 L_2B043589: 7555 eax = MEM32(edi + 0x4); /* 0x2B043589: mov eax, dword ptr [edi + 4] */ 7556 L_2B04358C: 7557 PUSH32(esp, edi); /* 0x2B04358C: push edi */ 7558 L_2B04358D: 7559 MEM32(edx + 0x4) = eax; /* 0x2B04358D: mov dword ptr [edx + 4], eax */ 7560 L_2B043590: 7561 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B043590: call 0x2b0ab1ba */ /* not lifted */ 7562 RECOMP_FLAGS_IN(); 7563 L_2B043595: 7564 ecx = MEM32(ebx + 0x8); /* 0x2B043595: mov ecx, dword ptr [ebx + 8] */ 7565 L_2B043598: 7566 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 7567 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7568 esp = esp + 8; /* 0x2B043598: add esp, 8 */ 7569 _flag_k = FK_ADD; 7570 L_2B04359B: 7571 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7572 ecx = ecx - 1; /* 0x2B04359B: dec ecx */ 7573 _flag_k = FK_DEC; 7574 L_2B04359C: 7575 MEM32(ebx + 0x8) = ecx; /* 0x2B04359C: mov dword ptr [ebx + 8], ecx */ 7576 L_2B04359F: 7577 SET_LO8(eax, MEM8(esi + 0xA1)); /* 0x2B04359F: mov al, byte ptr [esi + 0xa1] */ 7578 L_2B0435A5: 7579 /* test LO8(eax), LO8(eax) */ /* 0x2B0435A5: test al, al */ 7580 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7581 _cf = 0; 7582 _flag_k = FK_NARROW(FK_TEST, 24); 7583 L_2B0435A7: 7584 ecx = MEM32(ebp + (-0x4)); /* 0x2B0435A7: mov ecx, dword ptr [ebp - 4] */ 7585 L_2B0435AA: 7586 MEM32(ebp + (-0x4)) = ecx; /* 0x2B0435AA: mov dword ptr [ebp - 4], ecx */ 7587 L_2B0435AD: 7588 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0435C1; /* 0x2B0435AD: je 0x2b0435c1 */ 7589 L_2B0435AF: 7590 eax = MEM32(esi + 0xA4); /* 0x2B0435AF: mov eax, dword ptr [esi + 0xa4] */ 7591 L_2B0435B5: 7592 /* cmp MEM32(ebp + (-0xC)), eax */ /* 0x2B0435B5: cmp dword ptr [ebp - 0xc], eax */ 7593 _flag_a = (uint32_t)(MEM32(ebp + (-0xC))); _flag_b = (uint32_t)(eax); 7594 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7595 _flag_k = FK_CMP; 7596 L_2B0435B8: 7597 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_GE, _cf)) goto L_2B0435C1; /* 0x2B0435B8: jge 0x2b0435c1 */ 7598 L_2B0435BA: 7599 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7600 eax = eax - 1; /* 0x2B0435BA: dec eax */ 7601 _flag_k = FK_DEC; 7602 L_2B0435BB: 7603 MEM32(esi + 0xA4) = eax; /* 0x2B0435BB: mov dword ptr [esi + 0xa4], eax */ 7604 L_2B0435C1: 7605 ecx = esi; /* 0x2B0435C1: mov ecx, esi */ 7606 L_2B0435C3: 7607 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B0435C3: call 0x2b03a2b0 */ /* not lifted */ 7608 RECOMP_FLAGS_IN(); 7609 L_2B0435C8: 7610 RECOMP_BACKEDGE(); 7611 goto L_2B043494; /* 0x2B0435C8: jmp 0x2b043494 */ 7612 { RECOMP_REGS_OUT(); return; } /* end of function */ 7613 _ljump: 7614 switch (_itail_tgt) { 7615 case 0x2B043286u: goto L_2B043286; 7616 case 0x2B043289u: goto L_2B043289; 7617 case 0x2B04328Cu: goto L_2B04328C; 7618 case 0x2B043292u: goto L_2B043292; 7619 case 0x2B043295u: goto L_2B043295; 7620 case 0x2B043298u: goto L_2B043298; 7621 case 0x2B04329Au: goto L_2B04329A; 7622 case 0x2B04329Cu: goto L_2B04329C; 7623 case 0x2B04329Du: goto L_2B04329D; 7624 case 0x2B0432A0u: goto L_2B0432A0; 7625 case 0x2B0432A6u: goto L_2B0432A6; 7626 case 0x2B0432A8u: goto L_2B0432A8; 7627 case 0x2B0432AEu: goto L_2B0432AE; 7628 case 0x2B0432B1u: goto L_2B0432B1; 7629 case 0x2B0432B3u: goto L_2B0432B3; 7630 case 0x2B0432B8u: goto L_2B0432B8; 7631 case 0x2B0432BAu: goto L_2B0432BA; 7632 case 0x2B0432BDu: goto L_2B0432BD; 7633 case 0x2B0432BFu: goto L_2B0432BF; 7634 case 0x2B0432C2u: goto L_2B0432C2; 7635 case 0x2B0432C4u: goto L_2B0432C4; 7636 case 0x2B0432C7u: goto L_2B0432C7; 7637 case 0x2B0432CAu: goto L_2B0432CA; 7638 case 0x2B0432CDu: goto L_2B0432CD; 7639 case 0x2B0432CFu: goto L_2B0432CF; 7640 case 0x2B0432D1u: goto L_2B0432D1; 7641 case 0x2B0432D3u: goto L_2B0432D3; 7642 case 0x2B0432D6u: goto L_2B0432D6; 7643 case 0x2B0432D8u: goto L_2B0432D8; 7644 case 0x2B0432DBu: goto L_2B0432DB; 7645 case 0x2B0432DDu: goto L_2B0432DD; 7646 case 0x2B0432DFu: goto L_2B0432DF; 7647 case 0x2B0432E1u: goto L_2B0432E1; 7648 case 0x2B0432E2u: goto L_2B0432E2; 7649 case 0x2B0432E3u: goto L_2B0432E3; 7650 case 0x2B0432E7u: goto L_2B0432E7; 7651 case 0x2B0432EDu: goto L_2B0432ED; 7652 case 0x2B0432EFu: goto L_2B0432EF; 7653 case 0x2B0432F5u: goto L_2B0432F5; 7654 case 0x2B0432F6u: goto L_2B0432F6; 7655 case 0x2B0432FBu: goto L_2B0432FB; 7656 case 0x2B043301u: goto L_2B043301; 7657 case 0x2B043303u: goto L_2B043303; 7658 case 0x2B043304u: goto L_2B043304; 7659 case 0x2B043309u: goto L_2B043309; 7660 case 0x2B04330Cu: goto L_2B04330C; 7661 case 0x2B04330Fu: goto L_2B04330F; 7662 case 0x2B043311u: goto L_2B043311; 7663 case 0x2B043317u: goto L_2B043317; 7664 case 0x2B043319u: goto L_2B043319; 7665 case 0x2B04331Bu: goto L_2B04331B; 7666 case 0x2B04331Cu: goto L_2B04331C; 7667 case 0x2B043322u: goto L_2B043322; 7668 case 0x2B043323u: goto L_2B043323; 7669 case 0x2B043325u: goto L_2B043325; 7670 case 0x2B043327u: goto L_2B043327; 7671 case 0x2B04332Du: goto L_2B04332D; 7672 case 0x2B04332Fu: goto L_2B04332F; 7673 case 0x2B043335u: goto L_2B043335; 7674 case 0x2B043338u: goto L_2B043338; 7675 case 0x2B04333Bu: goto L_2B04333B; 7676 case 0x2B043341u: goto L_2B043341; 7677 case 0x2B043343u: goto L_2B043343; 7678 case 0x2B043349u: goto L_2B043349; 7679 case 0x2B04334Cu: goto L_2B04334C; 7680 case 0x2B043352u: goto L_2B043352; 7681 case 0x2B043358u: goto L_2B043358; 7682 case 0x2B04335Bu: goto L_2B04335B; 7683 case 0x2B043361u: goto L_2B043361; 7684 case 0x2B043366u: goto L_2B043366; 7685 case 0x2B043368u: goto L_2B043368; 7686 case 0x2B04336Au: goto L_2B04336A; 7687 case 0x2B04336Du: goto L_2B04336D; 7688 case 0x2B04336Fu: goto L_2B04336F; 7689 case 0x2B043372u: goto L_2B043372; 7690 case 0x2B043374u: goto L_2B043374; 7691 case 0x2B043376u: goto L_2B043376; 7692 case 0x2B043378u: goto L_2B043378; 7693 case 0x2B04337Au: goto L_2B04337A; 7694 case 0x2B04337Du: goto L_2B04337D; 7695 case 0x2B04337Fu: goto L_2B04337F; 7696 case 0x2B043382u: goto L_2B043382; 7697 case 0x2B043385u: goto L_2B043385; 7698 case 0x2B043388u: goto L_2B043388; 7699 case 0x2B04338Bu: goto L_2B04338B; 7700 case 0x2B04338Du: goto L_2B04338D; 7701 case 0x2B043392u: goto L_2B043392; 7702 case 0x2B043394u: goto L_2B043394; 7703 case 0x2B043396u: goto L_2B043396; 7704 case 0x2B043399u: goto L_2B043399; 7705 case 0x2B04339Bu: goto L_2B04339B; 7706 case 0x2B04339Eu: goto L_2B04339E; 7707 case 0x2B0433A0u: goto L_2B0433A0; 7708 case 0x2B0433A3u: goto L_2B0433A3; 7709 case 0x2B0433A6u: goto L_2B0433A6; 7710 case 0x2B0433A9u: goto L_2B0433A9; 7711 case 0x2B0433ABu: goto L_2B0433AB; 7712 case 0x2B0433ACu: goto L_2B0433AC; 7713 case 0x2B0433B2u: goto L_2B0433B2; 7714 case 0x2B0433B3u: goto L_2B0433B3; 7715 case 0x2B0433B4u: goto L_2B0433B4; 7716 case 0x2B0433B7u: goto L_2B0433B7; 7717 case 0x2B0433B9u: goto L_2B0433B9; 7718 case 0x2B0433BAu: goto L_2B0433BA; 7719 case 0x2B0433BCu: goto L_2B0433BC; 7720 case 0x2B0433BEu: goto L_2B0433BE; 7721 case 0x2B0433C4u: goto L_2B0433C4; 7722 case 0x2B0433C7u: goto L_2B0433C7; 7723 case 0x2B0433C8u: goto L_2B0433C8; 7724 case 0x2B0433C9u: goto L_2B0433C9; 7725 case 0x2B0433CBu: goto L_2B0433CB; 7726 case 0x2B0433CDu: goto L_2B0433CD; 7727 case 0x2B0433D3u: goto L_2B0433D3; 7728 case 0x2B0433D4u: goto L_2B0433D4; 7729 case 0x2B0433D7u: goto L_2B0433D7; 7730 case 0x2B0433DCu: goto L_2B0433DC; 7731 case 0x2B0433DDu: goto L_2B0433DD; 7732 case 0x2B0433E3u: goto L_2B0433E3; 7733 case 0x2B0433E6u: goto L_2B0433E6; 7734 case 0x2B0433E9u: goto L_2B0433E9; 7735 case 0x2B0433ECu: goto L_2B0433EC; 7736 case 0x2B0433EDu: goto L_2B0433ED; 7737 case 0x2B0433F0u: goto L_2B0433F0; 7738 case 0x2B0433F6u: goto L_2B0433F6; 7739 case 0x2B0433F8u: goto L_2B0433F8; 7740 case 0x2B0433FDu: goto L_2B0433FD; 7741 case 0x2B043400u: goto L_2B043400; 7742 case 0x2B043402u: goto L_2B043402; 7743 case 0x2B043404u: goto L_2B043404; 7744 case 0x2B043407u: goto L_2B043407; 7745 case 0x2B04340Au: goto L_2B04340A; 7746 case 0x2B04340Du: goto L_2B04340D; 7747 case 0x2B04340Eu: goto L_2B04340E; 7748 case 0x2B043411u: goto L_2B043411; 7749 case 0x2B043413u: goto L_2B043413; 7750 case 0x2B043416u: goto L_2B043416; 7751 case 0x2B043418u: goto L_2B043418; 7752 case 0x2B04341Bu: goto L_2B04341B; 7753 case 0x2B04341Eu: goto L_2B04341E; 7754 case 0x2B04341Fu: goto L_2B04341F; 7755 case 0x2B043421u: goto L_2B043421; 7756 case 0x2B043423u: goto L_2B043423; 7757 case 0x2B043425u: goto L_2B043425; 7758 case 0x2B043427u: goto L_2B043427; 7759 case 0x2B043429u: goto L_2B043429; 7760 case 0x2B04342Cu: goto L_2B04342C; 7761 case 0x2B04342Du: goto L_2B04342D; 7762 case 0x2B043430u: goto L_2B043430; 7763 case 0x2B043433u: goto L_2B043433; 7764 case 0x2B04343Au: goto L_2B04343A; 7765 case 0x2B043440u: goto L_2B043440; 7766 case 0x2B043443u: goto L_2B043443; 7767 case 0x2B043446u: goto L_2B043446; 7768 case 0x2B043449u: goto L_2B043449; 7769 case 0x2B04344Cu: goto L_2B04344C; 7770 case 0x2B04344Du: goto L_2B04344D; 7771 case 0x2B043454u: goto L_2B043454; 7772 case 0x2B04345Au: goto L_2B04345A; 7773 case 0x2B04345Du: goto L_2B04345D; 7774 case 0x2B043462u: goto L_2B043462; 7775 case 0x2B043464u: goto L_2B043464; 7776 case 0x2B043465u: goto L_2B043465; 7777 case 0x2B043468u: goto L_2B043468; 7778 case 0x2B04346Bu: goto L_2B04346B; 7779 case 0x2B043471u: goto L_2B043471; 7780 case 0x2B043474u: goto L_2B043474; 7781 case 0x2B043479u: goto L_2B043479; 7782 case 0x2B04347Cu: goto L_2B04347C; 7783 case 0x2B04347Fu: goto L_2B04347F; 7784 case 0x2B043481u: goto L_2B043481; 7785 case 0x2B043488u: goto L_2B043488; 7786 case 0x2B04348Fu: goto L_2B04348F; 7787 case 0x2B043491u: goto L_2B043491; 7788 case 0x2B043494u: goto L_2B043494; 7789 case 0x2B043497u: goto L_2B043497; 7790 case 0x2B04349Au: goto L_2B04349A; 7791 case 0x2B04349Du: goto L_2B04349D; 7792 case 0x2B04349Eu: goto L_2B04349E; 7793 case 0x2B0434A1u: goto L_2B0434A1; 7794 case 0x2B0434A7u: goto L_2B0434A7; 7795 case 0x2B0434AAu: goto L_2B0434AA; 7796 case 0x2B0434B0u: goto L_2B0434B0; 7797 case 0x2B0434B1u: goto L_2B0434B1; 7798 case 0x2B0434B2u: goto L_2B0434B2; 7799 case 0x2B0434B3u: goto L_2B0434B3; 7800 case 0x2B0434B5u: goto L_2B0434B5; 7801 case 0x2B0434B6u: goto L_2B0434B6; 7802 case 0x2B0434B7u: goto L_2B0434B7; 7803 case 0x2B0434BEu: goto L_2B0434BE; 7804 case 0x2B0434C0u: goto L_2B0434C0; 7805 case 0x2B0434C7u: goto L_2B0434C7; 7806 case 0x2B0434C9u: goto L_2B0434C9; 7807 case 0x2B0434CCu: goto L_2B0434CC; 7808 case 0x2B0434CEu: goto L_2B0434CE; 7809 case 0x2B0434D0u: goto L_2B0434D0; 7810 case 0x2B0434D3u: goto L_2B0434D3; 7811 case 0x2B0434D5u: goto L_2B0434D5; 7812 case 0x2B0434D7u: goto L_2B0434D7; 7813 case 0x2B0434D9u: goto L_2B0434D9; 7814 case 0x2B0434DBu: goto L_2B0434DB; 7815 case 0x2B0434DDu: goto L_2B0434DD; 7816 case 0x2B0434E0u: goto L_2B0434E0; 7817 case 0x2B0434E2u: goto L_2B0434E2; 7818 case 0x2B0434E4u: goto L_2B0434E4; 7819 case 0x2B0434E6u: goto L_2B0434E6; 7820 case 0x2B0434E8u: goto L_2B0434E8; 7821 case 0x2B0434EAu: goto L_2B0434EA; 7822 case 0x2B0434EDu: goto L_2B0434ED; 7823 case 0x2B0434EFu: goto L_2B0434EF; 7824 case 0x2B0434F1u: goto L_2B0434F1; 7825 case 0x2B0434F3u: goto L_2B0434F3; 7826 case 0x2B0434F5u: goto L_2B0434F5; 7827 case 0x2B0434F7u: goto L_2B0434F7; 7828 case 0x2B0434FAu: goto L_2B0434FA; 7829 case 0x2B0434FCu: goto L_2B0434FC; 7830 case 0x2B0434FFu: goto L_2B0434FF; 7831 case 0x2B043502u: goto L_2B043502; 7832 case 0x2B043505u: goto L_2B043505; 7833 case 0x2B04350Cu: goto L_2B04350C; 7834 case 0x2B043513u: goto L_2B043513; 7835 case 0x2B043519u: goto L_2B043519; 7836 case 0x2B04351Bu: goto L_2B04351B; 7837 case 0x2B043521u: goto L_2B043521; 7838 case 0x2B043524u: goto L_2B043524; 7839 case 0x2B04352Au: goto L_2B04352A; 7840 case 0x2B043530u: goto L_2B043530; 7841 case 0x2B043531u: goto L_2B043531; 7842 case 0x2B043536u: goto L_2B043536; 7843 case 0x2B04353Bu: goto L_2B04353B; 7844 case 0x2B04353Eu: goto L_2B04353E; 7845 case 0x2B043543u: goto L_2B043543; 7846 case 0x2B043548u: goto L_2B043548; 7847 case 0x2B04354Bu: goto L_2B04354B; 7848 case 0x2B04354Du: goto L_2B04354D; 7849 case 0x2B043550u: goto L_2B043550; 7850 case 0x2B043556u: goto L_2B043556; 7851 case 0x2B043559u: goto L_2B043559; 7852 case 0x2B04355Eu: goto L_2B04355E; 7853 case 0x2B043563u: goto L_2B043563; 7854 case 0x2B043566u: goto L_2B043566; 7855 case 0x2B043568u: goto L_2B043568; 7856 case 0x2B04356Eu: goto L_2B04356E; 7857 case 0x2B04356Fu: goto L_2B04356F; 7858 case 0x2B043574u: goto L_2B043574; 7859 case 0x2B043576u: goto L_2B043576; 7860 case 0x2B043579u: goto L_2B043579; 7861 case 0x2B04357Cu: goto L_2B04357C; 7862 case 0x2B043582u: goto L_2B043582; 7863 case 0x2B043584u: goto L_2B043584; 7864 case 0x2B043586u: goto L_2B043586; 7865 case 0x2B043589u: goto L_2B043589; 7866 case 0x2B04358Cu: goto L_2B04358C; 7867 case 0x2B04358Du: goto L_2B04358D; 7868 case 0x2B043590u: goto L_2B043590; 7869 case 0x2B043595u: goto L_2B043595; 7870 case 0x2B043598u: goto L_2B043598; 7871 case 0x2B04359Bu: goto L_2B04359B; 7872 case 0x2B04359Cu: goto L_2B04359C; 7873 case 0x2B04359Fu: goto L_2B04359F; 7874 case 0x2B0435A5u: goto L_2B0435A5; 7875 case 0x2B0435A7u: goto L_2B0435A7; 7876 case 0x2B0435AAu: goto L_2B0435AA; 7877 case 0x2B0435ADu: goto L_2B0435AD; 7878 case 0x2B0435AFu: goto L_2B0435AF; 7879 case 0x2B0435B5u: goto L_2B0435B5; 7880 case 0x2B0435B8u: goto L_2B0435B8; 7881 case 0x2B0435BAu: goto L_2B0435BA; 7882 case 0x2B0435BBu: goto L_2B0435BB; 7883 case 0x2B0435C1u: goto L_2B0435C1; 7884 case 0x2B0435C3u: goto L_2B0435C3; 7885 case 0x2B0435C8u: goto L_2B0435C8; 7886 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 7887 } 7888 RECOMP_REGS_OUT(); 7889 } 7890 7891 void sub_2B043289(void) { 7892 int _fpu_cmp = 0; 7893 uint32_t _cf = 0; 7894 int _df = 1; 7895 uint32_t _flag_k = FK_NONE; 7896 uint32_t _flag_a = 0, _flag_b = 0; 7897 uint32_t _itail_tgt = 0; 7898 RECOMP_REGS_LOCALS 7899 RECOMP_ENTER(0x2B043289u); 7900 7901 goto L_2B043289; 7902 L_2B043286: 7903 edi = MEM32(ebp + (-0x4)); /* 0x2B043286: mov edi, dword ptr [ebp - 4] */ 7904 L_2B043289: 7905 esi = MEM32(edi + 0x8); /* 0x2B043289: mov esi, dword ptr [edi + 8] */ 7906 L_2B04328C: 7907 RECOMP_ICALL(MEM32(0x2B0B53BC)); /* 0x2B04328C: call dword ptr [0x2b0b53bc] */ 7908 RECOMP_FLAGS_IN(); 7909 L_2B043292: 7910 eax = MEM32(eax + 0x28); /* 0x2B043292: mov eax, dword ptr [eax + 0x28] */ 7911 L_2B043295: 7912 edx = MEM32(esi + 0xC); /* 0x2B043295: mov edx, dword ptr [esi + 0xc] */ 7913 L_2B043298: 7914 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 7915 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7916 edx = edx - eax; /* 0x2B043298: sub edx, eax */ 7917 _flag_k = FK_CMP; 7918 L_2B04329A: 7919 PUSH32(esp, 0); /* 0x2B04329A: push 0 */ 7920 L_2B04329C: 7921 PUSH32(esp, esi); /* 0x2B04329C: push esi */ 7922 L_2B04329D: 7923 MEM32(esi + 0xC) = edx; /* 0x2B04329D: mov dword ptr [esi + 0xc], edx */ 7924 L_2B0432A0: 7925 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0432A0: call dword ptr [0x2b0b5d6c] */ 7926 RECOMP_FLAGS_IN(); 7927 L_2B0432A6: 7928 ecx = eax; /* 0x2B0432A6: mov ecx, eax */ 7929 L_2B0432A8: 7930 RECOMP_ICALL(MEM32(0x2B0B5EE0)); /* 0x2B0432A8: call dword ptr [0x2b0b5ee0] */ 7931 RECOMP_FLAGS_IN(); 7932 L_2B0432AE: 7933 edx = MEM32(esi + 0xC); /* 0x2B0432AE: mov edx, dword ptr [esi + 0xc] */ 7934 L_2B0432B1: 7935 ecx = eax; /* 0x2B0432B1: mov ecx, eax */ 7936 L_2B0432B3: 7937 eax = 0x10624DD3u; /* 0x2B0432B3: mov eax, 0x10624dd3 */ 7938 L_2B0432B8: 7939 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x2B0432B8: imul edx */ 7940 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 7941 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 7942 L_2B0432BA: 7943 if (6u) _cf = (((edx) >> 5) & 1u); /* 0x2B0432BA: sar edx, 6 */ 7944 if (6u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 6u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7945 edx = (uint32_t)((int32_t)edx >> 6u); 7946 L_2B0432BD: 7947 eax = edx; /* 0x2B0432BD: mov eax, edx */ 7948 L_2B0432BF: 7949 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B0432BF: shr eax, 0x1f */ 7950 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7951 eax = eax >> 31u; /* 0x2B0432BF: shr eax, 0x1f */ 7952 L_2B0432C2: 7953 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 7954 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7955 edx = edx + eax; /* 0x2B0432C2: add edx, eax */ 7956 _flag_k = FK_ADD; 7957 L_2B0432C4: 7958 SET_LO8(eax, MEM8(esi + 0x2C)); /* 0x2B0432C4: mov al, byte ptr [esi + 0x2c] */ 7959 L_2B0432C7: 7960 if (19u) _cf = (((ecx) >> 18) & 1u); /* 0x2B0432C7: shr ecx, 0x13 */ 7961 if (19u) { _flag_a = recomp_flags_pack((ecx >> 19u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7962 ecx = ecx >> 19u; /* 0x2B0432C7: shr ecx, 0x13 */ 7963 L_2B0432CA: 7964 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(1) << 24; 7965 SET_LO8(ecx, LO8(ecx) & 1); /* 0x2B0432CA: and cl, 1 */ 7966 _cf = 0; 7967 _flag_k = FK_NARROW(FK_TEST, 24); 7968 L_2B0432CD: 7969 /* test LO8(eax), LO8(eax) */ /* 0x2B0432CD: test al, al */ 7970 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7971 _cf = 0; 7972 _flag_k = FK_NARROW(FK_TEST, 24); 7973 L_2B0432CF: 7974 ebx = edx; /* 0x2B0432CF: mov ebx, edx */ 7975 L_2B0432D1: 7976 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B043338; /* 0x2B0432D1: jne 0x2b043338 */ 7977 L_2B0432D3: 7978 /* cmp ebx, 0xAu */ /* 0x2B0432D3: cmp ebx, 0xa */ 7979 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0xAu); 7980 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7981 _flag_k = FK_CMP; 7982 L_2B0432D6: 7983 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_G, _cf)) goto L_2B043338; /* 0x2B0432D6: jg 0x2b043338 */ 7984 L_2B0432D8: 7985 /* cmp ebx, 2 */ /* 0x2B0432D8: cmp ebx, 2 */ 7986 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(2); 7987 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7988 _flag_k = FK_CMP; 7989 L_2B0432DB: 7990 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_2B043338; /* 0x2B0432DB: jle 0x2b043338 */ 7991 L_2B0432DD: 7992 /* test LO8(ecx), LO8(ecx) */ /* 0x2B0432DD: test cl, cl */ 7993 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 7994 _cf = 0; 7995 _flag_k = FK_NARROW(FK_TEST, 24); 7996 L_2B0432DF: 7997 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B043338; /* 0x2B0432DF: jne 0x2b043338 */ 7998 L_2B0432E1: 7999 PUSH32(esp, ebx); /* 0x2B0432E1: push ebx */ 8000 L_2B0432E2: 8001 PUSH32(esp, esi); /* 0x2B0432E2: push esi */ 8002 L_2B0432E3: 8003 MEM8(esi + 0x2C) = (uint8_t)(1); /* 0x2B0432E3: mov byte ptr [esi + 0x2c], 1 */ 8004 L_2B0432E7: 8005 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0432E7: call dword ptr [0x2b0b5d6c] */ 8006 RECOMP_FLAGS_IN(); 8007 L_2B0432ED: 8008 ecx = eax; /* 0x2B0432ED: mov ecx, eax */ 8009 L_2B0432EF: 8010 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B0432EF: call dword ptr [0x2b0b5d50] */ 8011 RECOMP_FLAGS_IN(); 8012 L_2B0432F5: 8013 PUSH32(esp, eax); /* 0x2B0432F5: push eax */ 8014 L_2B0432F6: 8015 PUSH32(esp, 0x2B0E7378u); /* 0x2B0432F6: push 0x2b0e7378 */ 8016 L_2B0432FB: 8017 ecx = ebp + (-0xB4); /* 0x2B0432FB: lea ecx, [ebp - 0xb4] */ 8018 L_2B043301: 8019 PUSH32(esp, 0x64u); /* 0x2B043301: push 0x64 */ 8020 L_2B043303: 8021 PUSH32(esp, ecx); /* 0x2B043303: push ecx */ 8022 L_2B043304: 8023 RECOMP_ICALL(0x2B012180u); /* 0x2B043304: call 0x2b012180 */ /* not lifted */ 8024 RECOMP_FLAGS_IN(); 8025 L_2B043309: 8026 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 8027 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8028 esp = esp + 0x14u; /* 0x2B043309: add esp, 0x14 */ 8029 _flag_k = FK_ADD; 8030 L_2B04330C: 8031 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8032 ecx = ecx | 0xFFFFFFFFu; /* 0x2B04330C: or ecx, 0xffffffff */ 8033 _cf = 0; 8034 _flag_k = FK_TEST; 8035 L_2B04330F: 8036 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8037 eax = 0; /* 0x2B04330F: xor eax, eax */ 8038 _cf = 0; 8039 _flag_k = FK_TEST; 8040 L_2B043311: 8041 edi = ebp + (-0xB4); /* 0x2B043311: lea edi, [ebp - 0xb4] */ 8042 L_2B043317: 8043 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; } /* 0x2B043317: repne scasb al, byte ptr es:[edi] */ 8044 L_2B043319: 8045 ecx = ~ecx; /* 0x2B043319: not ecx */ 8046 L_2B04331B: 8047 PUSH32(esp, ecx); /* 0x2B04331B: push ecx */ 8048 L_2B04331C: 8049 edx = ebp + (-0xB4); /* 0x2B04331C: lea edx, [ebp - 0xb4] */ 8050 L_2B043322: 8051 PUSH32(esp, edx); /* 0x2B043322: push edx */ 8052 L_2B043323: 8053 PUSH32(esp, 0x3Fu); /* 0x2B043323: push 0x3f */ 8054 L_2B043325: 8055 PUSH32(esp, 3); /* 0x2B043325: push 3 */ 8056 L_2B043327: 8057 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B043327: call dword ptr [0x2b0b53cc] */ 8058 RECOMP_FLAGS_IN(); 8059 L_2B04332D: 8060 ecx = eax; /* 0x2B04332D: mov ecx, eax */ 8061 L_2B04332F: 8062 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B04332F: call dword ptr [0x2b0b53c4] */ 8063 RECOMP_FLAGS_IN(); 8064 L_2B043335: 8065 edi = MEM32(ebp + (-0x4)); /* 0x2B043335: mov edi, dword ptr [ebp - 4] */ 8066 L_2B043338: 8067 eax = MEM32(ebp + (-0x8)); /* 0x2B043338: mov eax, dword ptr [ebp - 8] */ 8068 L_2B04333B: 8069 SET_LO8(ecx, MEM8(eax + 0xA1)); /* 0x2B04333B: mov cl, byte ptr [eax + 0xa1] */ 8070 L_2B043341: 8071 /* test LO8(ecx), LO8(ecx) */ /* 0x2B043341: test cl, cl */ 8072 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 8073 _cf = 0; 8074 _flag_k = FK_NARROW(FK_TEST, 24); 8075 L_2B043343: 8076 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0433FD; /* 0x2B043343: je 0x2b0433fd */ 8077 L_2B043349: 8078 ecx = MEM32(ebp + (-0xC)); /* 0x2B043349: mov ecx, dword ptr [ebp - 0xc] */ 8079 L_2B04334C: 8080 /* cmp ecx, MEM32(eax + 0xA4) */ /* 0x2B04334C: cmp ecx, dword ptr [eax + 0xa4] */ 8081 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax + 0xA4)); 8082 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8083 _flag_k = FK_CMP; 8084 L_2B043352: 8085 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B0433FD; /* 0x2B043352: jne 0x2b0433fd */ 8086 L_2B043358: 8087 /* cmp ebx, MEM32(esi + 0x14) */ /* 0x2B043358: cmp ebx, dword ptr [esi + 0x14] */ 8088 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x14)); 8089 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8090 _flag_k = FK_CMP; 8091 L_2B04335B: 8092 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0433FD; /* 0x2B04335B: je 0x2b0433fd */ 8093 L_2B043361: 8094 eax = 0x91A2B3C5u; /* 0x2B043361: mov eax, 0x91a2b3c5 */ 8095 L_2B043366: 8096 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ebx); /* 0x2B043366: imul ebx */ 8097 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 8098 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 8099 L_2B043368: 8100 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 8101 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8102 edx = edx + ebx; /* 0x2B043368: add edx, ebx */ 8103 _flag_k = FK_ADD; 8104 L_2B04336A: 8105 if (11u) _cf = (((edx) >> 10) & 1u); /* 0x2B04336A: sar edx, 0xb */ 8106 if (11u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 11u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8107 edx = (uint32_t)((int32_t)edx >> 11u); 8108 L_2B04336D: 8109 eax = edx; /* 0x2B04336D: mov eax, edx */ 8110 L_2B04336F: 8111 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B04336F: shr eax, 0x1f */ 8112 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8113 eax = eax >> 31u; /* 0x2B04336F: shr eax, 0x1f */ 8114 L_2B043372: 8115 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 8116 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8117 edx = edx + eax; /* 0x2B043372: add edx, eax */ 8118 _flag_k = FK_ADD; 8119 L_2B043374: 8120 ecx = edx; /* 0x2B043374: mov ecx, edx */ 8121 L_2B043376: 8122 eax = ecx; /* 0x2B043376: mov eax, ecx */ 8123 L_2B043378: 8124 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 8125 _cf = (eax) != 0; 8126 eax = (uint32_t)(-(int32_t)eax); /* 0x2B043378: neg eax */ 8127 _flag_k = FK_CMP; 8128 L_2B04337A: 8129 if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2B04337A: shl eax, 2 */ 8130 if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8131 eax = eax << 2u; /* 0x2B04337A: shl eax, 2 */ 8132 L_2B04337D: 8133 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8134 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8135 eax = eax - ecx; /* 0x2B04337D: sub eax, ecx */ 8136 _flag_k = FK_CMP; 8137 L_2B04337F: 8138 eax = eax + eax * 4; /* 0x2B04337F: lea eax, [eax + eax*4] */ 8139 L_2B043382: 8140 edx = eax + eax * 8; /* 0x2B043382: lea edx, [eax + eax*8] */ 8141 L_2B043385: 8142 if (4u) _cf = (((edx) >> 28) & 1u); /* 0x2B043385: shl edx, 4 */ 8143 if (4u) { _flag_a = recomp_flags_pack((edx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8144 edx = edx << 4u; /* 0x2B043385: shl edx, 4 */ 8145 L_2B043388: 8146 MEM32(esi + 0x14) = ebx; /* 0x2B043388: mov dword ptr [esi + 0x14], ebx */ 8147 L_2B04338B: 8148 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 8149 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8150 ebx = ebx + edx; /* 0x2B04338B: add ebx, edx */ 8151 _flag_k = FK_ADD; 8152 L_2B04338D: 8153 eax = 0x88888889u; /* 0x2B04338D: mov eax, 0x88888889 */ 8154 L_2B043392: 8155 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ebx); /* 0x2B043392: imul ebx */ 8156 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 8157 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 8158 L_2B043394: 8159 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 8160 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8161 edx = edx + ebx; /* 0x2B043394: add edx, ebx */ 8162 _flag_k = FK_ADD; 8163 L_2B043396: 8164 if (5u) _cf = (((edx) >> 4) & 1u); /* 0x2B043396: sar edx, 5 */ 8165 if (5u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 5u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8166 edx = (uint32_t)((int32_t)edx >> 5u); 8167 L_2B043399: 8168 eax = edx; /* 0x2B043399: mov eax, edx */ 8169 L_2B04339B: 8170 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B04339B: shr eax, 0x1f */ 8171 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8172 eax = eax >> 31u; /* 0x2B04339B: shr eax, 0x1f */ 8173 L_2B04339E: 8174 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 8175 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8176 edx = edx + eax; /* 0x2B04339E: add edx, eax */ 8177 _flag_k = FK_ADD; 8178 L_2B0433A0: 8179 eax = edx + edx * 2; /* 0x2B0433A0: lea eax, [edx + edx*2] */ 8180 L_2B0433A3: 8181 eax = eax + eax * 4; /* 0x2B0433A3: lea eax, [eax + eax*4] */ 8182 L_2B0433A6: 8183 if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2B0433A6: shl eax, 2 */ 8184 if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8185 eax = eax << 2u; /* 0x2B0433A6: shl eax, 2 */ 8186 L_2B0433A9: 8187 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 8188 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8189 ebx = ebx - eax; /* 0x2B0433A9: sub ebx, eax */ 8190 _flag_k = FK_CMP; 8191 L_2B0433AB: 8192 PUSH32(esp, ebx); /* 0x2B0433AB: push ebx */ 8193 L_2B0433AC: 8194 ebx = MEM32(0x2B0B5D6C); /* 0x2B0433AC: mov ebx, dword ptr [0x2b0b5d6c] */ 8195 L_2B0433B2: 8196 PUSH32(esp, edx); /* 0x2B0433B2: push edx */ 8197 L_2B0433B3: 8198 PUSH32(esp, ecx); /* 0x2B0433B3: push ecx */ 8199 L_2B0433B4: 8200 ecx = MEM32(edi + 0x8); /* 0x2B0433B4: mov ecx, dword ptr [edi + 8] */ 8201 L_2B0433B7: 8202 PUSH32(esp, 0x36u); /* 0x2B0433B7: push 0x36 */ 8203 L_2B0433B9: 8204 PUSH32(esp, ecx); /* 0x2B0433B9: push ecx */ 8205 L_2B0433BA: 8206 RECOMP_ICALL(ebx); /* 0x2B0433BA: call ebx */ 8207 RECOMP_FLAGS_IN(); 8208 L_2B0433BC: 8209 ecx = eax; /* 0x2B0433BC: mov ecx, eax */ 8210 L_2B0433BE: 8211 RECOMP_ICALL(MEM32(0x2B0B5EE0)); /* 0x2B0433BE: call dword ptr [0x2b0b5ee0] */ 8212 RECOMP_FLAGS_IN(); 8213 L_2B0433C4: 8214 edx = MEM32(edi + 0x8); /* 0x2B0433C4: mov edx, dword ptr [edi + 8] */ 8215 L_2B0433C7: 8216 PUSH32(esp, eax); /* 0x2B0433C7: push eax */ 8217 L_2B0433C8: 8218 PUSH32(esp, edx); /* 0x2B0433C8: push edx */ 8219 L_2B0433C9: 8220 RECOMP_ICALL(ebx); /* 0x2B0433C9: call ebx */ 8221 RECOMP_FLAGS_IN(); 8222 L_2B0433CB: 8223 ecx = eax; /* 0x2B0433CB: mov ecx, eax */ 8224 L_2B0433CD: 8225 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B0433CD: call dword ptr [0x2b0b5d50] */ 8226 RECOMP_FLAGS_IN(); 8227 L_2B0433D3: 8228 PUSH32(esp, eax); /* 0x2B0433D3: push eax */ 8229 L_2B0433D4: 8230 eax = ebp + (-0x50); /* 0x2B0433D4: lea eax, [ebp - 0x50] */ 8231 L_2B0433D7: 8232 PUSH32(esp, 0x2B0E7360u); /* 0x2B0433D7: push 0x2b0e7360 */ 8233 L_2B0433DC: 8234 PUSH32(esp, eax); /* 0x2B0433DC: push eax */ 8235 L_2B0433DD: 8236 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B0433DD: call dword ptr [0x2b0b51f0] */ 8237 RECOMP_FLAGS_IN(); 8238 L_2B0433E3: 8239 ebx = MEM32(ebp + (-0x8)); /* 0x2B0433E3: mov ebx, dword ptr [ebp - 8] */ 8240 L_2B0433E6: 8241 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 8242 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8243 esp = esp + 0x1Cu; /* 0x2B0433E6: add esp, 0x1c */ 8244 _flag_k = FK_ADD; 8245 L_2B0433E9: 8246 ecx = ebp + (-0x50); /* 0x2B0433E9: lea ecx, [ebp - 0x50] */ 8247 L_2B0433EC: 8248 PUSH32(esp, ecx); /* 0x2B0433EC: push ecx */ 8249 L_2B0433ED: 8250 ecx = MEM32(ebx + 0x6C); /* 0x2B0433ED: mov ecx, dword ptr [ebx + 0x6c] */ 8251 L_2B0433F0: 8252 RECOMP_ICALL(MEM32(0x2B0B5850)); /* 0x2B0433F0: call dword ptr [0x2b0b5850] */ 8253 RECOMP_FLAGS_IN(); 8254 L_2B0433F6: 8255 ecx = ebx; /* 0x2B0433F6: mov ecx, ebx */ 8256 L_2B0433F8: 8257 RECOMP_ICALL(0x2B042240u); /* 0x2B0433F8: call 0x2b042240 */ /* not lifted */ 8258 RECOMP_FLAGS_IN(); 8259 L_2B0433FD: 8260 ecx = MEM32(esi + 0x20); /* 0x2B0433FD: mov ecx, dword ptr [esi + 0x20] */ 8261 L_2B043400: 8262 /* test ecx, ecx */ /* 0x2B043400: test ecx, ecx */ 8263 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8264 _cf = 0; 8265 _flag_k = FK_TEST; 8266 L_2B043402: 8267 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B043479; /* 0x2B043402: je 0x2b043479 */ 8268 L_2B043404: 8269 eax = MEM32(esi + 0xC); /* 0x2B043404: mov eax, dword ptr [esi + 0xc] */ 8270 L_2B043407: 8271 eax = eax + eax * 4; /* 0x2B043407: lea eax, [eax + eax*4] */ 8272 L_2B04340A: 8273 if (3u) _cf = (((eax) >> 29) & 1u); /* 0x2B04340A: shl eax, 3 */ 8274 if (3u) { _flag_a = recomp_flags_pack((eax << 3u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8275 eax = eax << 3u; /* 0x2B04340A: shl eax, 3 */ 8276 L_2B04340D: 8277 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B04340D: cdq */ 8278 L_2B04340E: 8279 { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)MEM32(esi + 0x10); /* 0x2B04340E: idiv dword ptr [esi + 0x10] */ 8280 if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); } 8281 else { eax = 0; edx = 0; } } 8282 L_2B043411: 8283 ebx = eax; /* 0x2B043411: mov ebx, eax */ 8284 L_2B043413: 8285 /* cmp ebx, MEM32(esi + 0x18) */ /* 0x2B043413: cmp ebx, dword ptr [esi + 0x18] */ 8286 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x18)); 8287 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8288 _flag_k = FK_CMP; 8289 L_2B043416: 8290 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B043479; /* 0x2B043416: je 0x2b043479 */ 8291 L_2B043418: 8292 edx = MEM32(ecx + 0x14); /* 0x2B043418: mov edx, dword ptr [ecx + 0x14] */ 8293 L_2B04341B: 8294 eax = MEM32(edx + 0xC); /* 0x2B04341B: mov eax, dword ptr [edx + 0xc] */ 8295 L_2B04341E: 8296 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B04341E: cdq */ 8297 L_2B04341F: 8298 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 8299 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8300 eax = eax - edx; /* 0x2B04341F: sub eax, edx */ 8301 _flag_k = FK_CMP; 8302 L_2B043421: 8303 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B043421: sar eax, 1 */ 8304 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8305 eax = (uint32_t)((int32_t)eax >> 1u); 8306 L_2B043423: 8307 /* cmp ebx, eax */ /* 0x2B043423: cmp ebx, eax */ 8308 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 8309 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8310 _flag_k = FK_CMP; 8311 L_2B043425: 8312 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_2B043429; /* 0x2B043425: jle 0x2b043429 */ 8313 L_2B043427: 8314 ebx = eax; /* 0x2B043427: mov ebx, eax */ 8315 L_2B043429: 8316 eax = ebp + (-0x14); /* 0x2B043429: lea eax, [ebp - 0x14] */ 8317 L_2B04342C: 8318 PUSH32(esp, eax); /* 0x2B04342C: push eax */ 8319 L_2B04342D: 8320 MEM32(esi + 0x18) = ebx; /* 0x2B04342D: mov dword ptr [esi + 0x18], ebx */ 8321 L_2B043430: 8322 MEM32(ebp + (-0x14)) = ebx; /* 0x2B043430: mov dword ptr [ebp - 0x14], ebx */ 8323 L_2B043433: 8324 MEM32(ebp + (-0x10)) = 0x18u; /* 0x2B043433: mov dword ptr [ebp - 0x10], 0x18 */ 8325 L_2B04343A: 8326 RECOMP_ICALL(MEM32(0x2B0B5844)); /* 0x2B04343A: call dword ptr [0x2b0b5844] */ 8327 RECOMP_FLAGS_IN(); 8328 L_2B043440: 8329 ecx = ebx + 0x28; /* 0x2B043440: lea ecx, [ebx + 0x28] */ 8330 L_2B043443: 8331 edx = ebp + (-0x1C); /* 0x2B043443: lea edx, [ebp - 0x1c] */ 8332 L_2B043446: 8333 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B043446: mov dword ptr [ebp - 0x1c], ecx */ 8334 L_2B043449: 8335 ecx = MEM32(esi + 0x24); /* 0x2B043449: mov ecx, dword ptr [esi + 0x24] */ 8336 L_2B04344C: 8337 PUSH32(esp, edx); /* 0x2B04344C: push edx */ 8338 L_2B04344D: 8339 MEM32(ebp + (-0x18)) = 0; /* 0x2B04344D: mov dword ptr [ebp - 0x18], 0 */ 8340 L_2B043454: 8341 RECOMP_ICALL(MEM32(0x2B0B5848)); /* 0x2B043454: call dword ptr [0x2b0b5848] */ 8342 RECOMP_FLAGS_IN(); 8343 L_2B04345A: 8344 ecx = ebp + (-0x14); /* 0x2B04345A: lea ecx, [ebp - 0x14] */ 8345 L_2B04345D: 8346 eax = 0x28u; /* 0x2B04345D: mov eax, 0x28 */ 8347 L_2B043462: 8348 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 8349 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8350 eax = eax - ebx; /* 0x2B043462: sub eax, ebx */ 8351 _flag_k = FK_CMP; 8352 L_2B043464: 8353 PUSH32(esp, ecx); /* 0x2B043464: push ecx */ 8354 L_2B043465: 8355 ecx = MEM32(esi + 0x24); /* 0x2B043465: mov ecx, dword ptr [esi + 0x24] */ 8356 L_2B043468: 8357 MEM32(ebp + (-0x14)) = eax; /* 0x2B043468: mov dword ptr [ebp - 0x14], eax */ 8358 L_2B04346B: 8359 RECOMP_ICALL(MEM32(0x2B0B5844)); /* 0x2B04346B: call dword ptr [0x2b0b5844] */ 8360 RECOMP_FLAGS_IN(); 8361 L_2B043471: 8362 ecx = MEM32(ebp + (-0x8)); /* 0x2B043471: mov ecx, dword ptr [ebp - 8] */ 8363 L_2B043474: 8364 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B043474: call 0x2b03a2b0 */ /* not lifted */ 8365 RECOMP_FLAGS_IN(); 8366 L_2B043479: 8367 eax = MEM32(esi + 0x8); /* 0x2B043479: mov eax, dword ptr [esi + 8] */ 8368 L_2B04347C: 8369 /* cmp eax, 3 */ /* 0x2B04347C: cmp eax, 3 */ 8370 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 8371 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8372 _flag_k = FK_CMP; 8373 L_2B04347F: 8374 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_2B04348F; /* 0x2B04347F: ja 0x2b04348f */ 8375 L_2B043481: 8376 { _itail_tgt = (uint32_t)(MEM32(eax * 4 + 0x2B0435D0)); goto _ljump; } 8377 L_2B043488: 8378 MEM32(esi + 0x8) = 3; /* 0x2B043488: mov dword ptr [esi + 8], 3 */ 8379 L_2B04348F: 8380 edx = MEM32(edi); /* 0x2B04348F: mov edx, dword ptr [edi] */ 8381 L_2B043491: 8382 MEM32(ebp + (-0x4)) = edx; /* 0x2B043491: mov dword ptr [ebp - 4], edx */ 8383 L_2B043494: 8384 ecx = MEM32(ebp + (-0xC)); /* 0x2B043494: mov ecx, dword ptr [ebp - 0xc] */ 8385 L_2B043497: 8386 eax = MEM32(ebp + (-0x8)); /* 0x2B043497: mov eax, dword ptr [ebp - 8] */ 8387 L_2B04349A: 8388 edx = MEM32(ebp + (-0x4)); /* 0x2B04349A: mov edx, dword ptr [ebp - 4] */ 8389 L_2B04349D: 8390 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 8391 ecx = ecx + 1; /* 0x2B04349D: inc ecx */ 8392 _flag_k = FK_INC; 8393 L_2B04349E: 8394 MEM32(ebp + (-0xC)) = ecx; /* 0x2B04349E: mov dword ptr [ebp - 0xc], ecx */ 8395 L_2B0434A1: 8396 ecx = MEM32(eax + 0x8C); /* 0x2B0434A1: mov ecx, dword ptr [eax + 0x8c] */ 8397 L_2B0434A7: 8398 /* cmp MEM32(ecx + 0x4), edx */ /* 0x2B0434A7: cmp dword ptr [ecx + 4], edx */ 8399 _flag_a = (uint32_t)(MEM32(ecx + 0x4)); _flag_b = (uint32_t)(edx); 8400 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8401 _flag_k = FK_CMP; 8402 L_2B0434AA: 8403 RECOMP_BACKEDGE(); 8404 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B043286; /* 0x2B0434AA: jne 0x2b043286 */ 8405 L_2B0434B0: 8406 ebx = POP32_VAL(esp); /* 0x2B0434B0: pop ebx */ 8407 L_2B0434B1: 8408 edi = POP32_VAL(esp); /* 0x2B0434B1: pop edi */ 8409 L_2B0434B2: 8410 esi = POP32_VAL(esp); /* 0x2B0434B2: pop esi */ 8411 L_2B0434B3: 8412 esp = ebp; /* 0x2B0434B3: mov esp, ebp */ 8413 L_2B0434B5: 8414 ebp = POP32_VAL(esp); /* 0x2B0434B5: pop ebp */ 8415 L_2B0434B6: 8416 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0434B6: ret */ 8417 L_2B0434B7: 8418 /* cmp MEM32(esi + 0xC), 0x1388u */ /* 0x2B0434B7: cmp dword ptr [esi + 0xc], 0x1388 */ 8419 _flag_a = (uint32_t)(MEM32(esi + 0xC)); _flag_b = (uint32_t)(0x1388u); 8420 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8421 _flag_k = FK_CMP; 8422 L_2B0434BE: 8423 RECOMP_BACKEDGE(); 8424 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_GE, _cf)) goto L_2B04348F; /* 0x2B0434BE: jge 0x2b04348f */ 8425 L_2B0434C0: 8426 MEM32(esi + 0x8) = 1; /* 0x2B0434C0: mov dword ptr [esi + 8], 1 */ 8427 L_2B0434C7: 8428 RECOMP_BACKEDGE(); 8429 goto L_2B04348F; /* 0x2B0434C7: jmp 0x2b04348f */ 8430 L_2B0434C9: 8431 eax = MEM32(esi + 0xC); /* 0x2B0434C9: mov eax, dword ptr [esi + 0xc] */ 8432 L_2B0434CC: 8433 /* test eax, eax */ /* 0x2B0434CC: test eax, eax */ 8434 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8435 _cf = 0; 8436 _flag_k = FK_TEST; 8437 L_2B0434CE: 8438 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_G, _cf)) goto L_2B04353B; /* 0x2B0434CE: jg 0x2b04353b */ 8439 L_2B0434D0: 8440 ecx = MEM32(esi + 0x20); /* 0x2B0434D0: mov ecx, dword ptr [esi + 0x20] */ 8441 L_2B0434D3: 8442 /* test ecx, ecx */ /* 0x2B0434D3: test ecx, ecx */ 8443 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8444 _cf = 0; 8445 _flag_k = FK_TEST; 8446 L_2B0434D5: 8447 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0434DD; /* 0x2B0434D5: je 0x2b0434dd */ 8448 L_2B0434D7: 8449 edx = MEM32(ecx); /* 0x2B0434D7: mov edx, dword ptr [ecx] */ 8450 L_2B0434D9: 8451 PUSH32(esp, 1); /* 0x2B0434D9: push 1 */ 8452 L_2B0434DB: 8453 RECOMP_ICALL(MEM32(edx)); /* 0x2B0434DB: call dword ptr [edx] */ 8454 RECOMP_FLAGS_IN(); 8455 L_2B0434DD: 8456 ecx = MEM32(esi + 0x24); /* 0x2B0434DD: mov ecx, dword ptr [esi + 0x24] */ 8457 L_2B0434E0: 8458 /* test ecx, ecx */ /* 0x2B0434E0: test ecx, ecx */ 8459 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8460 _cf = 0; 8461 _flag_k = FK_TEST; 8462 L_2B0434E2: 8463 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0434EA; /* 0x2B0434E2: je 0x2b0434ea */ 8464 L_2B0434E4: 8465 eax = MEM32(ecx); /* 0x2B0434E4: mov eax, dword ptr [ecx] */ 8466 L_2B0434E6: 8467 PUSH32(esp, 1); /* 0x2B0434E6: push 1 */ 8468 L_2B0434E8: 8469 RECOMP_ICALL(MEM32(eax)); /* 0x2B0434E8: call dword ptr [eax] */ 8470 RECOMP_FLAGS_IN(); 8471 L_2B0434EA: 8472 ecx = MEM32(esi + 0x28); /* 0x2B0434EA: mov ecx, dword ptr [esi + 0x28] */ 8473 L_2B0434ED: 8474 /* test ecx, ecx */ /* 0x2B0434ED: test ecx, ecx */ 8475 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8476 _cf = 0; 8477 _flag_k = FK_TEST; 8478 L_2B0434EF: 8479 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0434F7; /* 0x2B0434EF: je 0x2b0434f7 */ 8480 L_2B0434F1: 8481 edx = MEM32(ecx); /* 0x2B0434F1: mov edx, dword ptr [ecx] */ 8482 L_2B0434F3: 8483 PUSH32(esp, 1); /* 0x2B0434F3: push 1 */ 8484 L_2B0434F5: 8485 RECOMP_ICALL(MEM32(edx)); /* 0x2B0434F5: call dword ptr [edx] */ 8486 RECOMP_FLAGS_IN(); 8487 L_2B0434F7: 8488 ecx = MEM32(ebp + (-0x8)); /* 0x2B0434F7: mov ecx, dword ptr [ebp - 8] */ 8489 L_2B0434FA: 8490 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8491 eax = 0; /* 0x2B0434FA: xor eax, eax */ 8492 _cf = 0; 8493 _flag_k = FK_TEST; 8494 L_2B0434FC: 8495 MEM32(esi + 0x20) = eax; /* 0x2B0434FC: mov dword ptr [esi + 0x20], eax */ 8496 L_2B0434FF: 8497 MEM32(esi + 0x24) = eax; /* 0x2B0434FF: mov dword ptr [esi + 0x24], eax */ 8498 L_2B043502: 8499 MEM32(esi + 0x28) = eax; /* 0x2B043502: mov dword ptr [esi + 0x28], eax */ 8500 L_2B043505: 8501 MEM32(esi + 0x8) = 2; /* 0x2B043505: mov dword ptr [esi + 8], 2 */ 8502 L_2B04350C: 8503 MEM32(esi + 0xC) = 0x7D0u; /* 0x2B04350C: mov dword ptr [esi + 0xc], 0x7d0 */ 8504 L_2B043513: 8505 SET_LO8(edx, MEM8(ecx + 0xA1)); /* 0x2B043513: mov dl, byte ptr [ecx + 0xa1] */ 8506 L_2B043519: 8507 /* test LO8(edx), LO8(edx) */ /* 0x2B043519: test dl, dl */ 8508 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8509 _cf = 0; 8510 _flag_k = FK_NARROW(FK_TEST, 24); 8511 L_2B04351B: 8512 RECOMP_BACKEDGE(); 8513 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B04348F; /* 0x2B04351B: je 0x2b04348f */ 8514 L_2B043521: 8515 edx = MEM32(ebp + (-0xC)); /* 0x2B043521: mov edx, dword ptr [ebp - 0xc] */ 8516 L_2B043524: 8517 /* cmp edx, MEM32(ecx + 0xA4) */ /* 0x2B043524: cmp edx, dword ptr [ecx + 0xa4] */ 8518 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ecx + 0xA4)); 8519 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8520 _flag_k = FK_CMP; 8521 L_2B04352A: 8522 RECOMP_BACKEDGE(); 8523 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B04348F; /* 0x2B04352A: jne 0x2b04348f */ 8524 L_2B043530: 8525 PUSH32(esp, eax); /* 0x2B043530: push eax */ 8526 L_2B043531: 8527 RECOMP_ICALL(0x2B043700u); /* 0x2B043531: call 0x2b043700 */ /* not lifted */ 8528 RECOMP_FLAGS_IN(); 8529 L_2B043536: 8530 RECOMP_BACKEDGE(); 8531 goto L_2B04348F; /* 0x2B043536: jmp 0x2b04348f */ 8532 L_2B04353B: 8533 SET_LO8(ecx, MEM8(esi + 0x1C)); /* 0x2B04353B: mov cl, byte ptr [esi + 0x1c] */ 8534 L_2B04353E: 8535 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x100u); 8536 eax = eax & 0x100u; /* 0x2B04353E: and eax, 0x100 */ 8537 _cf = 0; 8538 _flag_k = FK_TEST; 8539 L_2B043543: 8540 /* cmp eax, 0x80u */ /* 0x2B043543: cmp eax, 0x80 */ 8541 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80u); 8542 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8543 _flag_k = FK_CMP; 8544 L_2B043548: 8545 SET_LO8(eax, (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) ? 1 : 0); /* 0x2B043548: setle al */ 8546 L_2B04354B: 8547 /* cmp LO8(ecx), LO8(eax) */ /* 0x2B04354B: cmp cl, al */ 8548 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8549 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8550 _flag_k = FK_NARROW(FK_CMP, 24); 8551 L_2B04354D: 8552 MEM8(esi + 0x1C) = (uint8_t)(LO8(eax)); /* 0x2B04354D: mov byte ptr [esi + 0x1c], al */ 8553 L_2B043550: 8554 RECOMP_BACKEDGE(); 8555 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B04348F; /* 0x2B043550: je 0x2b04348f */ 8556 L_2B043556: 8557 ecx = MEM32(ebp + (-0x8)); /* 0x2B043556: mov ecx, dword ptr [ebp - 8] */ 8558 L_2B043559: 8559 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B043559: call 0x2b03a2b0 */ /* not lifted */ 8560 RECOMP_FLAGS_IN(); 8561 L_2B04355E: 8562 RECOMP_BACKEDGE(); 8563 goto L_2B04348F; /* 0x2B04355E: jmp 0x2b04348f */ 8564 L_2B043563: 8565 eax = MEM32(esi + 0xC); /* 0x2B043563: mov eax, dword ptr [esi + 0xc] */ 8566 L_2B043566: 8567 /* test eax, eax */ /* 0x2B043566: test eax, eax */ 8568 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8569 _cf = 0; 8570 _flag_k = FK_TEST; 8571 L_2B043568: 8572 RECOMP_BACKEDGE(); 8573 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_GE, _cf)) goto L_2B04348F; /* 0x2B043568: jge 0x2b04348f */ 8574 L_2B04356E: 8575 PUSH32(esp, esi); /* 0x2B04356E: push esi */ 8576 L_2B04356F: 8577 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B04356F: call 0x2b0ab1ba */ /* not lifted */ 8578 RECOMP_FLAGS_IN(); 8579 L_2B043574: 8580 eax = MEM32(edi); /* 0x2B043574: mov eax, dword ptr [edi] */ 8581 L_2B043576: 8582 ecx = MEM32(edi + 0x4); /* 0x2B043576: mov ecx, dword ptr [edi + 4] */ 8583 L_2B043579: 8584 esi = MEM32(ebp + (-0x8)); /* 0x2B043579: mov esi, dword ptr [ebp - 8] */ 8585 L_2B04357C: 8586 ebx = MEM32(esi + 0x8C); /* 0x2B04357C: mov ebx, dword ptr [esi + 0x8c] */ 8587 L_2B043582: 8588 MEM32(ecx) = eax; /* 0x2B043582: mov dword ptr [ecx], eax */ 8589 L_2B043584: 8590 edx = MEM32(edi); /* 0x2B043584: mov edx, dword ptr [edi] */ 8591 L_2B043586: 8592 MEM32(ebp + (-0x4)) = eax; /* 0x2B043586: mov dword ptr [ebp - 4], eax */ 8593 L_2B043589: 8594 eax = MEM32(edi + 0x4); /* 0x2B043589: mov eax, dword ptr [edi + 4] */ 8595 L_2B04358C: 8596 PUSH32(esp, edi); /* 0x2B04358C: push edi */ 8597 L_2B04358D: 8598 MEM32(edx + 0x4) = eax; /* 0x2B04358D: mov dword ptr [edx + 4], eax */ 8599 L_2B043590: 8600 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B043590: call 0x2b0ab1ba */ /* not lifted */ 8601 RECOMP_FLAGS_IN(); 8602 L_2B043595: 8603 ecx = MEM32(ebx + 0x8); /* 0x2B043595: mov ecx, dword ptr [ebx + 8] */ 8604 L_2B043598: 8605 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 8606 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8607 esp = esp + 8; /* 0x2B043598: add esp, 8 */ 8608 _flag_k = FK_ADD; 8609 L_2B04359B: 8610 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 8611 ecx = ecx - 1; /* 0x2B04359B: dec ecx */ 8612 _flag_k = FK_DEC; 8613 L_2B04359C: 8614 MEM32(ebx + 0x8) = ecx; /* 0x2B04359C: mov dword ptr [ebx + 8], ecx */ 8615 L_2B04359F: 8616 SET_LO8(eax, MEM8(esi + 0xA1)); /* 0x2B04359F: mov al, byte ptr [esi + 0xa1] */ 8617 L_2B0435A5: 8618 /* test LO8(eax), LO8(eax) */ /* 0x2B0435A5: test al, al */ 8619 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8620 _cf = 0; 8621 _flag_k = FK_NARROW(FK_TEST, 24); 8622 L_2B0435A7: 8623 ecx = MEM32(ebp + (-0x4)); /* 0x2B0435A7: mov ecx, dword ptr [ebp - 4] */ 8624 L_2B0435AA: 8625 MEM32(ebp + (-0x4)) = ecx; /* 0x2B0435AA: mov dword ptr [ebp - 4], ecx */ 8626 L_2B0435AD: 8627 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0435C1; /* 0x2B0435AD: je 0x2b0435c1 */ 8628 L_2B0435AF: 8629 eax = MEM32(esi + 0xA4); /* 0x2B0435AF: mov eax, dword ptr [esi + 0xa4] */ 8630 L_2B0435B5: 8631 /* cmp MEM32(ebp + (-0xC)), eax */ /* 0x2B0435B5: cmp dword ptr [ebp - 0xc], eax */ 8632 _flag_a = (uint32_t)(MEM32(ebp + (-0xC))); _flag_b = (uint32_t)(eax); 8633 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8634 _flag_k = FK_CMP; 8635 L_2B0435B8: 8636 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_GE, _cf)) goto L_2B0435C1; /* 0x2B0435B8: jge 0x2b0435c1 */ 8637 L_2B0435BA: 8638 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 8639 eax = eax - 1; /* 0x2B0435BA: dec eax */ 8640 _flag_k = FK_DEC; 8641 L_2B0435BB: 8642 MEM32(esi + 0xA4) = eax; /* 0x2B0435BB: mov dword ptr [esi + 0xa4], eax */ 8643 L_2B0435C1: 8644 ecx = esi; /* 0x2B0435C1: mov ecx, esi */ 8645 L_2B0435C3: 8646 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B0435C3: call 0x2b03a2b0 */ /* not lifted */ 8647 RECOMP_FLAGS_IN(); 8648 L_2B0435C8: 8649 RECOMP_BACKEDGE(); 8650 goto L_2B043494; /* 0x2B0435C8: jmp 0x2b043494 */ 8651 { RECOMP_REGS_OUT(); return; } /* end of function */ 8652 _ljump: 8653 switch (_itail_tgt) { 8654 case 0x2B043286u: goto L_2B043286; 8655 case 0x2B043289u: goto L_2B043289; 8656 case 0x2B04328Cu: goto L_2B04328C; 8657 case 0x2B043292u: goto L_2B043292; 8658 case 0x2B043295u: goto L_2B043295; 8659 case 0x2B043298u: goto L_2B043298; 8660 case 0x2B04329Au: goto L_2B04329A; 8661 case 0x2B04329Cu: goto L_2B04329C; 8662 case 0x2B04329Du: goto L_2B04329D; 8663 case 0x2B0432A0u: goto L_2B0432A0; 8664 case 0x2B0432A6u: goto L_2B0432A6; 8665 case 0x2B0432A8u: goto L_2B0432A8; 8666 case 0x2B0432AEu: goto L_2B0432AE; 8667 case 0x2B0432B1u: goto L_2B0432B1; 8668 case 0x2B0432B3u: goto L_2B0432B3; 8669 case 0x2B0432B8u: goto L_2B0432B8; 8670 case 0x2B0432BAu: goto L_2B0432BA; 8671 case 0x2B0432BDu: goto L_2B0432BD; 8672 case 0x2B0432BFu: goto L_2B0432BF; 8673 case 0x2B0432C2u: goto L_2B0432C2; 8674 case 0x2B0432C4u: goto L_2B0432C4; 8675 case 0x2B0432C7u: goto L_2B0432C7; 8676 case 0x2B0432CAu: goto L_2B0432CA; 8677 case 0x2B0432CDu: goto L_2B0432CD; 8678 case 0x2B0432CFu: goto L_2B0432CF; 8679 case 0x2B0432D1u: goto L_2B0432D1; 8680 case 0x2B0432D3u: goto L_2B0432D3; 8681 case 0x2B0432D6u: goto L_2B0432D6; 8682 case 0x2B0432D8u: goto L_2B0432D8; 8683 case 0x2B0432DBu: goto L_2B0432DB; 8684 case 0x2B0432DDu: goto L_2B0432DD; 8685 case 0x2B0432DFu: goto L_2B0432DF; 8686 case 0x2B0432E1u: goto L_2B0432E1; 8687 case 0x2B0432E2u: goto L_2B0432E2; 8688 case 0x2B0432E3u: goto L_2B0432E3; 8689 case 0x2B0432E7u: goto L_2B0432E7; 8690 case 0x2B0432EDu: goto L_2B0432ED; 8691 case 0x2B0432EFu: goto L_2B0432EF; 8692 case 0x2B0432F5u: goto L_2B0432F5; 8693 case 0x2B0432F6u: goto L_2B0432F6; 8694 case 0x2B0432FBu: goto L_2B0432FB; 8695 case 0x2B043301u: goto L_2B043301; 8696 case 0x2B043303u: goto L_2B043303; 8697 case 0x2B043304u: goto L_2B043304; 8698 case 0x2B043309u: goto L_2B043309; 8699 case 0x2B04330Cu: goto L_2B04330C; 8700 case 0x2B04330Fu: goto L_2B04330F; 8701 case 0x2B043311u: goto L_2B043311; 8702 case 0x2B043317u: goto L_2B043317; 8703 case 0x2B043319u: goto L_2B043319; 8704 case 0x2B04331Bu: goto L_2B04331B; 8705 case 0x2B04331Cu: goto L_2B04331C; 8706 case 0x2B043322u: goto L_2B043322; 8707 case 0x2B043323u: goto L_2B043323; 8708 case 0x2B043325u: goto L_2B043325; 8709 case 0x2B043327u: goto L_2B043327; 8710 case 0x2B04332Du: goto L_2B04332D; 8711 case 0x2B04332Fu: goto L_2B04332F; 8712 case 0x2B043335u: goto L_2B043335; 8713 case 0x2B043338u: goto L_2B043338; 8714 case 0x2B04333Bu: goto L_2B04333B; 8715 case 0x2B043341u: goto L_2B043341; 8716 case 0x2B043343u: goto L_2B043343; 8717 case 0x2B043349u: goto L_2B043349; 8718 case 0x2B04334Cu: goto L_2B04334C; 8719 case 0x2B043352u: goto L_2B043352; 8720 case 0x2B043358u: goto L_2B043358; 8721 case 0x2B04335Bu: goto L_2B04335B; 8722 case 0x2B043361u: goto L_2B043361; 8723 case 0x2B043366u: goto L_2B043366; 8724 case 0x2B043368u: goto L_2B043368; 8725 case 0x2B04336Au: goto L_2B04336A; 8726 case 0x2B04336Du: goto L_2B04336D; 8727 case 0x2B04336Fu: goto L_2B04336F; 8728 case 0x2B043372u: goto L_2B043372; 8729 case 0x2B043374u: goto L_2B043374; 8730 case 0x2B043376u: goto L_2B043376; 8731 case 0x2B043378u: goto L_2B043378; 8732 case 0x2B04337Au: goto L_2B04337A; 8733 case 0x2B04337Du: goto L_2B04337D; 8734 case 0x2B04337Fu: goto L_2B04337F; 8735 case 0x2B043382u: goto L_2B043382; 8736 case 0x2B043385u: goto L_2B043385; 8737 case 0x2B043388u: goto L_2B043388; 8738 case 0x2B04338Bu: goto L_2B04338B; 8739 case 0x2B04338Du: goto L_2B04338D; 8740 case 0x2B043392u: goto L_2B043392; 8741 case 0x2B043394u: goto L_2B043394; 8742 case 0x2B043396u: goto L_2B043396; 8743 case 0x2B043399u: goto L_2B043399; 8744 case 0x2B04339Bu: goto L_2B04339B; 8745 case 0x2B04339Eu: goto L_2B04339E; 8746 case 0x2B0433A0u: goto L_2B0433A0; 8747 case 0x2B0433A3u: goto L_2B0433A3; 8748 case 0x2B0433A6u: goto L_2B0433A6; 8749 case 0x2B0433A9u: goto L_2B0433A9; 8750 case 0x2B0433ABu: goto L_2B0433AB; 8751 case 0x2B0433ACu: goto L_2B0433AC; 8752 case 0x2B0433B2u: goto L_2B0433B2; 8753 case 0x2B0433B3u: goto L_2B0433B3; 8754 case 0x2B0433B4u: goto L_2B0433B4; 8755 case 0x2B0433B7u: goto L_2B0433B7; 8756 case 0x2B0433B9u: goto L_2B0433B9; 8757 case 0x2B0433BAu: goto L_2B0433BA; 8758 case 0x2B0433BCu: goto L_2B0433BC; 8759 case 0x2B0433BEu: goto L_2B0433BE; 8760 case 0x2B0433C4u: goto L_2B0433C4; 8761 case 0x2B0433C7u: goto L_2B0433C7; 8762 case 0x2B0433C8u: goto L_2B0433C8; 8763 case 0x2B0433C9u: goto L_2B0433C9; 8764 case 0x2B0433CBu: goto L_2B0433CB; 8765 case 0x2B0433CDu: goto L_2B0433CD; 8766 case 0x2B0433D3u: goto L_2B0433D3; 8767 case 0x2B0433D4u: goto L_2B0433D4; 8768 case 0x2B0433D7u: goto L_2B0433D7; 8769 case 0x2B0433DCu: goto L_2B0433DC; 8770 case 0x2B0433DDu: goto L_2B0433DD; 8771 case 0x2B0433E3u: goto L_2B0433E3; 8772 case 0x2B0433E6u: goto L_2B0433E6; 8773 case 0x2B0433E9u: goto L_2B0433E9; 8774 case 0x2B0433ECu: goto L_2B0433EC; 8775 case 0x2B0433EDu: goto L_2B0433ED; 8776 case 0x2B0433F0u: goto L_2B0433F0; 8777 case 0x2B0433F6u: goto L_2B0433F6; 8778 case 0x2B0433F8u: goto L_2B0433F8; 8779 case 0x2B0433FDu: goto L_2B0433FD; 8780 case 0x2B043400u: goto L_2B043400; 8781 case 0x2B043402u: goto L_2B043402; 8782 case 0x2B043404u: goto L_2B043404; 8783 case 0x2B043407u: goto L_2B043407; 8784 case 0x2B04340Au: goto L_2B04340A; 8785 case 0x2B04340Du: goto L_2B04340D; 8786 case 0x2B04340Eu: goto L_2B04340E; 8787 case 0x2B043411u: goto L_2B043411; 8788 case 0x2B043413u: goto L_2B043413; 8789 case 0x2B043416u: goto L_2B043416; 8790 case 0x2B043418u: goto L_2B043418; 8791 case 0x2B04341Bu: goto L_2B04341B; 8792 case 0x2B04341Eu: goto L_2B04341E; 8793 case 0x2B04341Fu: goto L_2B04341F; 8794 case 0x2B043421u: goto L_2B043421; 8795 case 0x2B043423u: goto L_2B043423; 8796 case 0x2B043425u: goto L_2B043425; 8797 case 0x2B043427u: goto L_2B043427; 8798 case 0x2B043429u: goto L_2B043429; 8799 case 0x2B04342Cu: goto L_2B04342C; 8800 case 0x2B04342Du: goto L_2B04342D; 8801 case 0x2B043430u: goto L_2B043430; 8802 case 0x2B043433u: goto L_2B043433; 8803 case 0x2B04343Au: goto L_2B04343A; 8804 case 0x2B043440u: goto L_2B043440; 8805 case 0x2B043443u: goto L_2B043443; 8806 case 0x2B043446u: goto L_2B043446; 8807 case 0x2B043449u: goto L_2B043449; 8808 case 0x2B04344Cu: goto L_2B04344C; 8809 case 0x2B04344Du: goto L_2B04344D; 8810 case 0x2B043454u: goto L_2B043454; 8811 case 0x2B04345Au: goto L_2B04345A; 8812 case 0x2B04345Du: goto L_2B04345D; 8813 case 0x2B043462u: goto L_2B043462; 8814 case 0x2B043464u: goto L_2B043464; 8815 case 0x2B043465u: goto L_2B043465; 8816 case 0x2B043468u: goto L_2B043468; 8817 case 0x2B04346Bu: goto L_2B04346B; 8818 case 0x2B043471u: goto L_2B043471; 8819 case 0x2B043474u: goto L_2B043474; 8820 case 0x2B043479u: goto L_2B043479; 8821 case 0x2B04347Cu: goto L_2B04347C; 8822 case 0x2B04347Fu: goto L_2B04347F; 8823 case 0x2B043481u: goto L_2B043481; 8824 case 0x2B043488u: goto L_2B043488; 8825 case 0x2B04348Fu: goto L_2B04348F; 8826 case 0x2B043491u: goto L_2B043491; 8827 case 0x2B043494u: goto L_2B043494; 8828 case 0x2B043497u: goto L_2B043497; 8829 case 0x2B04349Au: goto L_2B04349A; 8830 case 0x2B04349Du: goto L_2B04349D; 8831 case 0x2B04349Eu: goto L_2B04349E; 8832 case 0x2B0434A1u: goto L_2B0434A1; 8833 case 0x2B0434A7u: goto L_2B0434A7; 8834 case 0x2B0434AAu: goto L_2B0434AA; 8835 case 0x2B0434B0u: goto L_2B0434B0; 8836 case 0x2B0434B1u: goto L_2B0434B1; 8837 case 0x2B0434B2u: goto L_2B0434B2; 8838 case 0x2B0434B3u: goto L_2B0434B3; 8839 case 0x2B0434B5u: goto L_2B0434B5; 8840 case 0x2B0434B6u: goto L_2B0434B6; 8841 case 0x2B0434B7u: goto L_2B0434B7; 8842 case 0x2B0434BEu: goto L_2B0434BE; 8843 case 0x2B0434C0u: goto L_2B0434C0; 8844 case 0x2B0434C7u: goto L_2B0434C7; 8845 case 0x2B0434C9u: goto L_2B0434C9; 8846 case 0x2B0434CCu: goto L_2B0434CC; 8847 case 0x2B0434CEu: goto L_2B0434CE; 8848 case 0x2B0434D0u: goto L_2B0434D0; 8849 case 0x2B0434D3u: goto L_2B0434D3; 8850 case 0x2B0434D5u: goto L_2B0434D5; 8851 case 0x2B0434D7u: goto L_2B0434D7; 8852 case 0x2B0434D9u: goto L_2B0434D9; 8853 case 0x2B0434DBu: goto L_2B0434DB; 8854 case 0x2B0434DDu: goto L_2B0434DD; 8855 case 0x2B0434E0u: goto L_2B0434E0; 8856 case 0x2B0434E2u: goto L_2B0434E2; 8857 case 0x2B0434E4u: goto L_2B0434E4; 8858 case 0x2B0434E6u: goto L_2B0434E6; 8859 case 0x2B0434E8u: goto L_2B0434E8; 8860 case 0x2B0434EAu: goto L_2B0434EA; 8861 case 0x2B0434EDu: goto L_2B0434ED; 8862 case 0x2B0434EFu: goto L_2B0434EF; 8863 case 0x2B0434F1u: goto L_2B0434F1; 8864 case 0x2B0434F3u: goto L_2B0434F3; 8865 case 0x2B0434F5u: goto L_2B0434F5; 8866 case 0x2B0434F7u: goto L_2B0434F7; 8867 case 0x2B0434FAu: goto L_2B0434FA; 8868 case 0x2B0434FCu: goto L_2B0434FC; 8869 case 0x2B0434FFu: goto L_2B0434FF; 8870 case 0x2B043502u: goto L_2B043502; 8871 case 0x2B043505u: goto L_2B043505; 8872 case 0x2B04350Cu: goto L_2B04350C; 8873 case 0x2B043513u: goto L_2B043513; 8874 case 0x2B043519u: goto L_2B043519; 8875 case 0x2B04351Bu: goto L_2B04351B; 8876 case 0x2B043521u: goto L_2B043521; 8877 case 0x2B043524u: goto L_2B043524; 8878 case 0x2B04352Au: goto L_2B04352A; 8879 case 0x2B043530u: goto L_2B043530; 8880 case 0x2B043531u: goto L_2B043531; 8881 case 0x2B043536u: goto L_2B043536; 8882 case 0x2B04353Bu: goto L_2B04353B; 8883 case 0x2B04353Eu: goto L_2B04353E; 8884 case 0x2B043543u: goto L_2B043543; 8885 case 0x2B043548u: goto L_2B043548; 8886 case 0x2B04354Bu: goto L_2B04354B; 8887 case 0x2B04354Du: goto L_2B04354D; 8888 case 0x2B043550u: goto L_2B043550; 8889 case 0x2B043556u: goto L_2B043556; 8890 case 0x2B043559u: goto L_2B043559; 8891 case 0x2B04355Eu: goto L_2B04355E; 8892 case 0x2B043563u: goto L_2B043563; 8893 case 0x2B043566u: goto L_2B043566; 8894 case 0x2B043568u: goto L_2B043568; 8895 case 0x2B04356Eu: goto L_2B04356E; 8896 case 0x2B04356Fu: goto L_2B04356F; 8897 case 0x2B043574u: goto L_2B043574; 8898 case 0x2B043576u: goto L_2B043576; 8899 case 0x2B043579u: goto L_2B043579; 8900 case 0x2B04357Cu: goto L_2B04357C; 8901 case 0x2B043582u: goto L_2B043582; 8902 case 0x2B043584u: goto L_2B043584; 8903 case 0x2B043586u: goto L_2B043586; 8904 case 0x2B043589u: goto L_2B043589; 8905 case 0x2B04358Cu: goto L_2B04358C; 8906 case 0x2B04358Du: goto L_2B04358D; 8907 case 0x2B043590u: goto L_2B043590; 8908 case 0x2B043595u: goto L_2B043595; 8909 case 0x2B043598u: goto L_2B043598; 8910 case 0x2B04359Bu: goto L_2B04359B; 8911 case 0x2B04359Cu: goto L_2B04359C; 8912 case 0x2B04359Fu: goto L_2B04359F; 8913 case 0x2B0435A5u: goto L_2B0435A5; 8914 case 0x2B0435A7u: goto L_2B0435A7; 8915 case 0x2B0435AAu: goto L_2B0435AA; 8916 case 0x2B0435ADu: goto L_2B0435AD; 8917 case 0x2B0435AFu: goto L_2B0435AF; 8918 case 0x2B0435B5u: goto L_2B0435B5; 8919 case 0x2B0435B8u: goto L_2B0435B8; 8920 case 0x2B0435BAu: goto L_2B0435BA; 8921 case 0x2B0435BBu: goto L_2B0435BB; 8922 case 0x2B0435C1u: goto L_2B0435C1; 8923 case 0x2B0435C3u: goto L_2B0435C3; 8924 case 0x2B0435C8u: goto L_2B0435C8; 8925 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 8926 } 8927 RECOMP_REGS_OUT(); 8928 } 8929 8930 void sub_2B043454(void) { 8931 int _fpu_cmp = 0; 8932 uint32_t _cf = 0; 8933 int _df = 1; 8934 uint32_t _flag_k = FK_NONE; 8935 uint32_t _flag_a = 0, _flag_b = 0; 8936 uint32_t _itail_tgt = 0; 8937 RECOMP_REGS_LOCALS 8938 RECOMP_ENTER(0x2B043454u); 8939 8940 goto L_2B043454; 8941 L_2B043286: 8942 edi = MEM32(ebp + (-0x4)); /* 0x2B043286: mov edi, dword ptr [ebp - 4] */ 8943 L_2B043289: 8944 esi = MEM32(edi + 0x8); /* 0x2B043289: mov esi, dword ptr [edi + 8] */ 8945 L_2B04328C: 8946 RECOMP_ICALL(MEM32(0x2B0B53BC)); /* 0x2B04328C: call dword ptr [0x2b0b53bc] */ 8947 RECOMP_FLAGS_IN(); 8948 L_2B043292: 8949 eax = MEM32(eax + 0x28); /* 0x2B043292: mov eax, dword ptr [eax + 0x28] */ 8950 L_2B043295: 8951 edx = MEM32(esi + 0xC); /* 0x2B043295: mov edx, dword ptr [esi + 0xc] */ 8952 L_2B043298: 8953 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 8954 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8955 edx = edx - eax; /* 0x2B043298: sub edx, eax */ 8956 _flag_k = FK_CMP; 8957 L_2B04329A: 8958 PUSH32(esp, 0); /* 0x2B04329A: push 0 */ 8959 L_2B04329C: 8960 PUSH32(esp, esi); /* 0x2B04329C: push esi */ 8961 L_2B04329D: 8962 MEM32(esi + 0xC) = edx; /* 0x2B04329D: mov dword ptr [esi + 0xc], edx */ 8963 L_2B0432A0: 8964 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0432A0: call dword ptr [0x2b0b5d6c] */ 8965 RECOMP_FLAGS_IN(); 8966 L_2B0432A6: 8967 ecx = eax; /* 0x2B0432A6: mov ecx, eax */ 8968 L_2B0432A8: 8969 RECOMP_ICALL(MEM32(0x2B0B5EE0)); /* 0x2B0432A8: call dword ptr [0x2b0b5ee0] */ 8970 RECOMP_FLAGS_IN(); 8971 L_2B0432AE: 8972 edx = MEM32(esi + 0xC); /* 0x2B0432AE: mov edx, dword ptr [esi + 0xc] */ 8973 L_2B0432B1: 8974 ecx = eax; /* 0x2B0432B1: mov ecx, eax */ 8975 L_2B0432B3: 8976 eax = 0x10624DD3u; /* 0x2B0432B3: mov eax, 0x10624dd3 */ 8977 L_2B0432B8: 8978 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x2B0432B8: imul edx */ 8979 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 8980 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 8981 L_2B0432BA: 8982 if (6u) _cf = (((edx) >> 5) & 1u); /* 0x2B0432BA: sar edx, 6 */ 8983 if (6u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 6u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8984 edx = (uint32_t)((int32_t)edx >> 6u); 8985 L_2B0432BD: 8986 eax = edx; /* 0x2B0432BD: mov eax, edx */ 8987 L_2B0432BF: 8988 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B0432BF: shr eax, 0x1f */ 8989 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8990 eax = eax >> 31u; /* 0x2B0432BF: shr eax, 0x1f */ 8991 L_2B0432C2: 8992 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 8993 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8994 edx = edx + eax; /* 0x2B0432C2: add edx, eax */ 8995 _flag_k = FK_ADD; 8996 L_2B0432C4: 8997 SET_LO8(eax, MEM8(esi + 0x2C)); /* 0x2B0432C4: mov al, byte ptr [esi + 0x2c] */ 8998 L_2B0432C7: 8999 if (19u) _cf = (((ecx) >> 18) & 1u); /* 0x2B0432C7: shr ecx, 0x13 */ 9000 if (19u) { _flag_a = recomp_flags_pack((ecx >> 19u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9001 ecx = ecx >> 19u; /* 0x2B0432C7: shr ecx, 0x13 */ 9002 L_2B0432CA: 9003 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(1) << 24; 9004 SET_LO8(ecx, LO8(ecx) & 1); /* 0x2B0432CA: and cl, 1 */ 9005 _cf = 0; 9006 _flag_k = FK_NARROW(FK_TEST, 24); 9007 L_2B0432CD: 9008 /* test LO8(eax), LO8(eax) */ /* 0x2B0432CD: test al, al */ 9009 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9010 _cf = 0; 9011 _flag_k = FK_NARROW(FK_TEST, 24); 9012 L_2B0432CF: 9013 ebx = edx; /* 0x2B0432CF: mov ebx, edx */ 9014 L_2B0432D1: 9015 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B043338; /* 0x2B0432D1: jne 0x2b043338 */ 9016 L_2B0432D3: 9017 /* cmp ebx, 0xAu */ /* 0x2B0432D3: cmp ebx, 0xa */ 9018 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0xAu); 9019 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9020 _flag_k = FK_CMP; 9021 L_2B0432D6: 9022 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_G, _cf)) goto L_2B043338; /* 0x2B0432D6: jg 0x2b043338 */ 9023 L_2B0432D8: 9024 /* cmp ebx, 2 */ /* 0x2B0432D8: cmp ebx, 2 */ 9025 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(2); 9026 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9027 _flag_k = FK_CMP; 9028 L_2B0432DB: 9029 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_2B043338; /* 0x2B0432DB: jle 0x2b043338 */ 9030 L_2B0432DD: 9031 /* test LO8(ecx), LO8(ecx) */ /* 0x2B0432DD: test cl, cl */ 9032 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 9033 _cf = 0; 9034 _flag_k = FK_NARROW(FK_TEST, 24); 9035 L_2B0432DF: 9036 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B043338; /* 0x2B0432DF: jne 0x2b043338 */ 9037 L_2B0432E1: 9038 PUSH32(esp, ebx); /* 0x2B0432E1: push ebx */ 9039 L_2B0432E2: 9040 PUSH32(esp, esi); /* 0x2B0432E2: push esi */ 9041 L_2B0432E3: 9042 MEM8(esi + 0x2C) = (uint8_t)(1); /* 0x2B0432E3: mov byte ptr [esi + 0x2c], 1 */ 9043 L_2B0432E7: 9044 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0432E7: call dword ptr [0x2b0b5d6c] */ 9045 RECOMP_FLAGS_IN(); 9046 L_2B0432ED: 9047 ecx = eax; /* 0x2B0432ED: mov ecx, eax */ 9048 L_2B0432EF: 9049 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B0432EF: call dword ptr [0x2b0b5d50] */ 9050 RECOMP_FLAGS_IN(); 9051 L_2B0432F5: 9052 PUSH32(esp, eax); /* 0x2B0432F5: push eax */ 9053 L_2B0432F6: 9054 PUSH32(esp, 0x2B0E7378u); /* 0x2B0432F6: push 0x2b0e7378 */ 9055 L_2B0432FB: 9056 ecx = ebp + (-0xB4); /* 0x2B0432FB: lea ecx, [ebp - 0xb4] */ 9057 L_2B043301: 9058 PUSH32(esp, 0x64u); /* 0x2B043301: push 0x64 */ 9059 L_2B043303: 9060 PUSH32(esp, ecx); /* 0x2B043303: push ecx */ 9061 L_2B043304: 9062 RECOMP_ICALL(0x2B012180u); /* 0x2B043304: call 0x2b012180 */ /* not lifted */ 9063 RECOMP_FLAGS_IN(); 9064 L_2B043309: 9065 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 9066 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9067 esp = esp + 0x14u; /* 0x2B043309: add esp, 0x14 */ 9068 _flag_k = FK_ADD; 9069 L_2B04330C: 9070 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 9071 ecx = ecx | 0xFFFFFFFFu; /* 0x2B04330C: or ecx, 0xffffffff */ 9072 _cf = 0; 9073 _flag_k = FK_TEST; 9074 L_2B04330F: 9075 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9076 eax = 0; /* 0x2B04330F: xor eax, eax */ 9077 _cf = 0; 9078 _flag_k = FK_TEST; 9079 L_2B043311: 9080 edi = ebp + (-0xB4); /* 0x2B043311: lea edi, [ebp - 0xb4] */ 9081 L_2B043317: 9082 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; } /* 0x2B043317: repne scasb al, byte ptr es:[edi] */ 9083 L_2B043319: 9084 ecx = ~ecx; /* 0x2B043319: not ecx */ 9085 L_2B04331B: 9086 PUSH32(esp, ecx); /* 0x2B04331B: push ecx */ 9087 L_2B04331C: 9088 edx = ebp + (-0xB4); /* 0x2B04331C: lea edx, [ebp - 0xb4] */ 9089 L_2B043322: 9090 PUSH32(esp, edx); /* 0x2B043322: push edx */ 9091 L_2B043323: 9092 PUSH32(esp, 0x3Fu); /* 0x2B043323: push 0x3f */ 9093 L_2B043325: 9094 PUSH32(esp, 3); /* 0x2B043325: push 3 */ 9095 L_2B043327: 9096 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B043327: call dword ptr [0x2b0b53cc] */ 9097 RECOMP_FLAGS_IN(); 9098 L_2B04332D: 9099 ecx = eax; /* 0x2B04332D: mov ecx, eax */ 9100 L_2B04332F: 9101 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B04332F: call dword ptr [0x2b0b53c4] */ 9102 RECOMP_FLAGS_IN(); 9103 L_2B043335: 9104 edi = MEM32(ebp + (-0x4)); /* 0x2B043335: mov edi, dword ptr [ebp - 4] */ 9105 L_2B043338: 9106 eax = MEM32(ebp + (-0x8)); /* 0x2B043338: mov eax, dword ptr [ebp - 8] */ 9107 L_2B04333B: 9108 SET_LO8(ecx, MEM8(eax + 0xA1)); /* 0x2B04333B: mov cl, byte ptr [eax + 0xa1] */ 9109 L_2B043341: 9110 /* test LO8(ecx), LO8(ecx) */ /* 0x2B043341: test cl, cl */ 9111 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 9112 _cf = 0; 9113 _flag_k = FK_NARROW(FK_TEST, 24); 9114 L_2B043343: 9115 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0433FD; /* 0x2B043343: je 0x2b0433fd */ 9116 L_2B043349: 9117 ecx = MEM32(ebp + (-0xC)); /* 0x2B043349: mov ecx, dword ptr [ebp - 0xc] */ 9118 L_2B04334C: 9119 /* cmp ecx, MEM32(eax + 0xA4) */ /* 0x2B04334C: cmp ecx, dword ptr [eax + 0xa4] */ 9120 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax + 0xA4)); 9121 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9122 _flag_k = FK_CMP; 9123 L_2B043352: 9124 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B0433FD; /* 0x2B043352: jne 0x2b0433fd */ 9125 L_2B043358: 9126 /* cmp ebx, MEM32(esi + 0x14) */ /* 0x2B043358: cmp ebx, dword ptr [esi + 0x14] */ 9127 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x14)); 9128 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9129 _flag_k = FK_CMP; 9130 L_2B04335B: 9131 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0433FD; /* 0x2B04335B: je 0x2b0433fd */ 9132 L_2B043361: 9133 eax = 0x91A2B3C5u; /* 0x2B043361: mov eax, 0x91a2b3c5 */ 9134 L_2B043366: 9135 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ebx); /* 0x2B043366: imul ebx */ 9136 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 9137 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 9138 L_2B043368: 9139 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 9140 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9141 edx = edx + ebx; /* 0x2B043368: add edx, ebx */ 9142 _flag_k = FK_ADD; 9143 L_2B04336A: 9144 if (11u) _cf = (((edx) >> 10) & 1u); /* 0x2B04336A: sar edx, 0xb */ 9145 if (11u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 11u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9146 edx = (uint32_t)((int32_t)edx >> 11u); 9147 L_2B04336D: 9148 eax = edx; /* 0x2B04336D: mov eax, edx */ 9149 L_2B04336F: 9150 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B04336F: shr eax, 0x1f */ 9151 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9152 eax = eax >> 31u; /* 0x2B04336F: shr eax, 0x1f */ 9153 L_2B043372: 9154 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 9155 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9156 edx = edx + eax; /* 0x2B043372: add edx, eax */ 9157 _flag_k = FK_ADD; 9158 L_2B043374: 9159 ecx = edx; /* 0x2B043374: mov ecx, edx */ 9160 L_2B043376: 9161 eax = ecx; /* 0x2B043376: mov eax, ecx */ 9162 L_2B043378: 9163 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 9164 _cf = (eax) != 0; 9165 eax = (uint32_t)(-(int32_t)eax); /* 0x2B043378: neg eax */ 9166 _flag_k = FK_CMP; 9167 L_2B04337A: 9168 if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2B04337A: shl eax, 2 */ 9169 if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9170 eax = eax << 2u; /* 0x2B04337A: shl eax, 2 */ 9171 L_2B04337D: 9172 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9173 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9174 eax = eax - ecx; /* 0x2B04337D: sub eax, ecx */ 9175 _flag_k = FK_CMP; 9176 L_2B04337F: 9177 eax = eax + eax * 4; /* 0x2B04337F: lea eax, [eax + eax*4] */ 9178 L_2B043382: 9179 edx = eax + eax * 8; /* 0x2B043382: lea edx, [eax + eax*8] */ 9180 L_2B043385: 9181 if (4u) _cf = (((edx) >> 28) & 1u); /* 0x2B043385: shl edx, 4 */ 9182 if (4u) { _flag_a = recomp_flags_pack((edx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9183 edx = edx << 4u; /* 0x2B043385: shl edx, 4 */ 9184 L_2B043388: 9185 MEM32(esi + 0x14) = ebx; /* 0x2B043388: mov dword ptr [esi + 0x14], ebx */ 9186 L_2B04338B: 9187 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 9188 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9189 ebx = ebx + edx; /* 0x2B04338B: add ebx, edx */ 9190 _flag_k = FK_ADD; 9191 L_2B04338D: 9192 eax = 0x88888889u; /* 0x2B04338D: mov eax, 0x88888889 */ 9193 L_2B043392: 9194 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ebx); /* 0x2B043392: imul ebx */ 9195 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 9196 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 9197 L_2B043394: 9198 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 9199 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9200 edx = edx + ebx; /* 0x2B043394: add edx, ebx */ 9201 _flag_k = FK_ADD; 9202 L_2B043396: 9203 if (5u) _cf = (((edx) >> 4) & 1u); /* 0x2B043396: sar edx, 5 */ 9204 if (5u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 5u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9205 edx = (uint32_t)((int32_t)edx >> 5u); 9206 L_2B043399: 9207 eax = edx; /* 0x2B043399: mov eax, edx */ 9208 L_2B04339B: 9209 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B04339B: shr eax, 0x1f */ 9210 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9211 eax = eax >> 31u; /* 0x2B04339B: shr eax, 0x1f */ 9212 L_2B04339E: 9213 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 9214 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9215 edx = edx + eax; /* 0x2B04339E: add edx, eax */ 9216 _flag_k = FK_ADD; 9217 L_2B0433A0: 9218 eax = edx + edx * 2; /* 0x2B0433A0: lea eax, [edx + edx*2] */ 9219 L_2B0433A3: 9220 eax = eax + eax * 4; /* 0x2B0433A3: lea eax, [eax + eax*4] */ 9221 L_2B0433A6: 9222 if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2B0433A6: shl eax, 2 */ 9223 if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9224 eax = eax << 2u; /* 0x2B0433A6: shl eax, 2 */ 9225 L_2B0433A9: 9226 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 9227 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9228 ebx = ebx - eax; /* 0x2B0433A9: sub ebx, eax */ 9229 _flag_k = FK_CMP; 9230 L_2B0433AB: 9231 PUSH32(esp, ebx); /* 0x2B0433AB: push ebx */ 9232 L_2B0433AC: 9233 ebx = MEM32(0x2B0B5D6C); /* 0x2B0433AC: mov ebx, dword ptr [0x2b0b5d6c] */ 9234 L_2B0433B2: 9235 PUSH32(esp, edx); /* 0x2B0433B2: push edx */ 9236 L_2B0433B3: 9237 PUSH32(esp, ecx); /* 0x2B0433B3: push ecx */ 9238 L_2B0433B4: 9239 ecx = MEM32(edi + 0x8); /* 0x2B0433B4: mov ecx, dword ptr [edi + 8] */ 9240 L_2B0433B7: 9241 PUSH32(esp, 0x36u); /* 0x2B0433B7: push 0x36 */ 9242 L_2B0433B9: 9243 PUSH32(esp, ecx); /* 0x2B0433B9: push ecx */ 9244 L_2B0433BA: 9245 RECOMP_ICALL(ebx); /* 0x2B0433BA: call ebx */ 9246 RECOMP_FLAGS_IN(); 9247 L_2B0433BC: 9248 ecx = eax; /* 0x2B0433BC: mov ecx, eax */ 9249 L_2B0433BE: 9250 RECOMP_ICALL(MEM32(0x2B0B5EE0)); /* 0x2B0433BE: call dword ptr [0x2b0b5ee0] */ 9251 RECOMP_FLAGS_IN(); 9252 L_2B0433C4: 9253 edx = MEM32(edi + 0x8); /* 0x2B0433C4: mov edx, dword ptr [edi + 8] */ 9254 L_2B0433C7: 9255 PUSH32(esp, eax); /* 0x2B0433C7: push eax */ 9256 L_2B0433C8: 9257 PUSH32(esp, edx); /* 0x2B0433C8: push edx */ 9258 L_2B0433C9: 9259 RECOMP_ICALL(ebx); /* 0x2B0433C9: call ebx */ 9260 RECOMP_FLAGS_IN(); 9261 L_2B0433CB: 9262 ecx = eax; /* 0x2B0433CB: mov ecx, eax */ 9263 L_2B0433CD: 9264 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B0433CD: call dword ptr [0x2b0b5d50] */ 9265 RECOMP_FLAGS_IN(); 9266 L_2B0433D3: 9267 PUSH32(esp, eax); /* 0x2B0433D3: push eax */ 9268 L_2B0433D4: 9269 eax = ebp + (-0x50); /* 0x2B0433D4: lea eax, [ebp - 0x50] */ 9270 L_2B0433D7: 9271 PUSH32(esp, 0x2B0E7360u); /* 0x2B0433D7: push 0x2b0e7360 */ 9272 L_2B0433DC: 9273 PUSH32(esp, eax); /* 0x2B0433DC: push eax */ 9274 L_2B0433DD: 9275 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B0433DD: call dword ptr [0x2b0b51f0] */ 9276 RECOMP_FLAGS_IN(); 9277 L_2B0433E3: 9278 ebx = MEM32(ebp + (-0x8)); /* 0x2B0433E3: mov ebx, dword ptr [ebp - 8] */ 9279 L_2B0433E6: 9280 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 9281 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9282 esp = esp + 0x1Cu; /* 0x2B0433E6: add esp, 0x1c */ 9283 _flag_k = FK_ADD; 9284 L_2B0433E9: 9285 ecx = ebp + (-0x50); /* 0x2B0433E9: lea ecx, [ebp - 0x50] */ 9286 L_2B0433EC: 9287 PUSH32(esp, ecx); /* 0x2B0433EC: push ecx */ 9288 L_2B0433ED: 9289 ecx = MEM32(ebx + 0x6C); /* 0x2B0433ED: mov ecx, dword ptr [ebx + 0x6c] */ 9290 L_2B0433F0: 9291 RECOMP_ICALL(MEM32(0x2B0B5850)); /* 0x2B0433F0: call dword ptr [0x2b0b5850] */ 9292 RECOMP_FLAGS_IN(); 9293 L_2B0433F6: 9294 ecx = ebx; /* 0x2B0433F6: mov ecx, ebx */ 9295 L_2B0433F8: 9296 RECOMP_ICALL(0x2B042240u); /* 0x2B0433F8: call 0x2b042240 */ /* not lifted */ 9297 RECOMP_FLAGS_IN(); 9298 L_2B0433FD: 9299 ecx = MEM32(esi + 0x20); /* 0x2B0433FD: mov ecx, dword ptr [esi + 0x20] */ 9300 L_2B043400: 9301 /* test ecx, ecx */ /* 0x2B043400: test ecx, ecx */ 9302 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9303 _cf = 0; 9304 _flag_k = FK_TEST; 9305 L_2B043402: 9306 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B043479; /* 0x2B043402: je 0x2b043479 */ 9307 L_2B043404: 9308 eax = MEM32(esi + 0xC); /* 0x2B043404: mov eax, dword ptr [esi + 0xc] */ 9309 L_2B043407: 9310 eax = eax + eax * 4; /* 0x2B043407: lea eax, [eax + eax*4] */ 9311 L_2B04340A: 9312 if (3u) _cf = (((eax) >> 29) & 1u); /* 0x2B04340A: shl eax, 3 */ 9313 if (3u) { _flag_a = recomp_flags_pack((eax << 3u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9314 eax = eax << 3u; /* 0x2B04340A: shl eax, 3 */ 9315 L_2B04340D: 9316 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B04340D: cdq */ 9317 L_2B04340E: 9318 { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)MEM32(esi + 0x10); /* 0x2B04340E: idiv dword ptr [esi + 0x10] */ 9319 if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); } 9320 else { eax = 0; edx = 0; } } 9321 L_2B043411: 9322 ebx = eax; /* 0x2B043411: mov ebx, eax */ 9323 L_2B043413: 9324 /* cmp ebx, MEM32(esi + 0x18) */ /* 0x2B043413: cmp ebx, dword ptr [esi + 0x18] */ 9325 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x18)); 9326 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9327 _flag_k = FK_CMP; 9328 L_2B043416: 9329 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B043479; /* 0x2B043416: je 0x2b043479 */ 9330 L_2B043418: 9331 edx = MEM32(ecx + 0x14); /* 0x2B043418: mov edx, dword ptr [ecx + 0x14] */ 9332 L_2B04341B: 9333 eax = MEM32(edx + 0xC); /* 0x2B04341B: mov eax, dword ptr [edx + 0xc] */ 9334 L_2B04341E: 9335 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B04341E: cdq */ 9336 L_2B04341F: 9337 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 9338 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9339 eax = eax - edx; /* 0x2B04341F: sub eax, edx */ 9340 _flag_k = FK_CMP; 9341 L_2B043421: 9342 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B043421: sar eax, 1 */ 9343 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9344 eax = (uint32_t)((int32_t)eax >> 1u); 9345 L_2B043423: 9346 /* cmp ebx, eax */ /* 0x2B043423: cmp ebx, eax */ 9347 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 9348 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9349 _flag_k = FK_CMP; 9350 L_2B043425: 9351 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_2B043429; /* 0x2B043425: jle 0x2b043429 */ 9352 L_2B043427: 9353 ebx = eax; /* 0x2B043427: mov ebx, eax */ 9354 L_2B043429: 9355 eax = ebp + (-0x14); /* 0x2B043429: lea eax, [ebp - 0x14] */ 9356 L_2B04342C: 9357 PUSH32(esp, eax); /* 0x2B04342C: push eax */ 9358 L_2B04342D: 9359 MEM32(esi + 0x18) = ebx; /* 0x2B04342D: mov dword ptr [esi + 0x18], ebx */ 9360 L_2B043430: 9361 MEM32(ebp + (-0x14)) = ebx; /* 0x2B043430: mov dword ptr [ebp - 0x14], ebx */ 9362 L_2B043433: 9363 MEM32(ebp + (-0x10)) = 0x18u; /* 0x2B043433: mov dword ptr [ebp - 0x10], 0x18 */ 9364 L_2B04343A: 9365 RECOMP_ICALL(MEM32(0x2B0B5844)); /* 0x2B04343A: call dword ptr [0x2b0b5844] */ 9366 RECOMP_FLAGS_IN(); 9367 L_2B043440: 9368 ecx = ebx + 0x28; /* 0x2B043440: lea ecx, [ebx + 0x28] */ 9369 L_2B043443: 9370 edx = ebp + (-0x1C); /* 0x2B043443: lea edx, [ebp - 0x1c] */ 9371 L_2B043446: 9372 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B043446: mov dword ptr [ebp - 0x1c], ecx */ 9373 L_2B043449: 9374 ecx = MEM32(esi + 0x24); /* 0x2B043449: mov ecx, dword ptr [esi + 0x24] */ 9375 L_2B04344C: 9376 PUSH32(esp, edx); /* 0x2B04344C: push edx */ 9377 L_2B04344D: 9378 MEM32(ebp + (-0x18)) = 0; /* 0x2B04344D: mov dword ptr [ebp - 0x18], 0 */ 9379 L_2B043454: 9380 RECOMP_ICALL(MEM32(0x2B0B5848)); /* 0x2B043454: call dword ptr [0x2b0b5848] */ 9381 RECOMP_FLAGS_IN(); 9382 L_2B04345A: 9383 ecx = ebp + (-0x14); /* 0x2B04345A: lea ecx, [ebp - 0x14] */ 9384 L_2B04345D: 9385 eax = 0x28u; /* 0x2B04345D: mov eax, 0x28 */ 9386 L_2B043462: 9387 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 9388 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9389 eax = eax - ebx; /* 0x2B043462: sub eax, ebx */ 9390 _flag_k = FK_CMP; 9391 L_2B043464: 9392 PUSH32(esp, ecx); /* 0x2B043464: push ecx */ 9393 L_2B043465: 9394 ecx = MEM32(esi + 0x24); /* 0x2B043465: mov ecx, dword ptr [esi + 0x24] */ 9395 L_2B043468: 9396 MEM32(ebp + (-0x14)) = eax; /* 0x2B043468: mov dword ptr [ebp - 0x14], eax */ 9397 L_2B04346B: 9398 RECOMP_ICALL(MEM32(0x2B0B5844)); /* 0x2B04346B: call dword ptr [0x2b0b5844] */ 9399 RECOMP_FLAGS_IN(); 9400 L_2B043471: 9401 ecx = MEM32(ebp + (-0x8)); /* 0x2B043471: mov ecx, dword ptr [ebp - 8] */ 9402 L_2B043474: 9403 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B043474: call 0x2b03a2b0 */ /* not lifted */ 9404 RECOMP_FLAGS_IN(); 9405 L_2B043479: 9406 eax = MEM32(esi + 0x8); /* 0x2B043479: mov eax, dword ptr [esi + 8] */ 9407 L_2B04347C: 9408 /* cmp eax, 3 */ /* 0x2B04347C: cmp eax, 3 */ 9409 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 9410 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9411 _flag_k = FK_CMP; 9412 L_2B04347F: 9413 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_2B04348F; /* 0x2B04347F: ja 0x2b04348f */ 9414 L_2B043481: 9415 { _itail_tgt = (uint32_t)(MEM32(eax * 4 + 0x2B0435D0)); goto _ljump; } 9416 L_2B043488: 9417 MEM32(esi + 0x8) = 3; /* 0x2B043488: mov dword ptr [esi + 8], 3 */ 9418 L_2B04348F: 9419 edx = MEM32(edi); /* 0x2B04348F: mov edx, dword ptr [edi] */ 9420 L_2B043491: 9421 MEM32(ebp + (-0x4)) = edx; /* 0x2B043491: mov dword ptr [ebp - 4], edx */ 9422 L_2B043494: 9423 ecx = MEM32(ebp + (-0xC)); /* 0x2B043494: mov ecx, dword ptr [ebp - 0xc] */ 9424 L_2B043497: 9425 eax = MEM32(ebp + (-0x8)); /* 0x2B043497: mov eax, dword ptr [ebp - 8] */ 9426 L_2B04349A: 9427 edx = MEM32(ebp + (-0x4)); /* 0x2B04349A: mov edx, dword ptr [ebp - 4] */ 9428 L_2B04349D: 9429 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 9430 ecx = ecx + 1; /* 0x2B04349D: inc ecx */ 9431 _flag_k = FK_INC; 9432 L_2B04349E: 9433 MEM32(ebp + (-0xC)) = ecx; /* 0x2B04349E: mov dword ptr [ebp - 0xc], ecx */ 9434 L_2B0434A1: 9435 ecx = MEM32(eax + 0x8C); /* 0x2B0434A1: mov ecx, dword ptr [eax + 0x8c] */ 9436 L_2B0434A7: 9437 /* cmp MEM32(ecx + 0x4), edx */ /* 0x2B0434A7: cmp dword ptr [ecx + 4], edx */ 9438 _flag_a = (uint32_t)(MEM32(ecx + 0x4)); _flag_b = (uint32_t)(edx); 9439 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9440 _flag_k = FK_CMP; 9441 L_2B0434AA: 9442 RECOMP_BACKEDGE(); 9443 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B043286; /* 0x2B0434AA: jne 0x2b043286 */ 9444 L_2B0434B0: 9445 ebx = POP32_VAL(esp); /* 0x2B0434B0: pop ebx */ 9446 L_2B0434B1: 9447 edi = POP32_VAL(esp); /* 0x2B0434B1: pop edi */ 9448 L_2B0434B2: 9449 esi = POP32_VAL(esp); /* 0x2B0434B2: pop esi */ 9450 L_2B0434B3: 9451 esp = ebp; /* 0x2B0434B3: mov esp, ebp */ 9452 L_2B0434B5: 9453 ebp = POP32_VAL(esp); /* 0x2B0434B5: pop ebp */ 9454 L_2B0434B6: 9455 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0434B6: ret */ 9456 L_2B0434B7: 9457 /* cmp MEM32(esi + 0xC), 0x1388u */ /* 0x2B0434B7: cmp dword ptr [esi + 0xc], 0x1388 */ 9458 _flag_a = (uint32_t)(MEM32(esi + 0xC)); _flag_b = (uint32_t)(0x1388u); 9459 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9460 _flag_k = FK_CMP; 9461 L_2B0434BE: 9462 RECOMP_BACKEDGE(); 9463 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_GE, _cf)) goto L_2B04348F; /* 0x2B0434BE: jge 0x2b04348f */ 9464 L_2B0434C0: 9465 MEM32(esi + 0x8) = 1; /* 0x2B0434C0: mov dword ptr [esi + 8], 1 */ 9466 L_2B0434C7: 9467 RECOMP_BACKEDGE(); 9468 goto L_2B04348F; /* 0x2B0434C7: jmp 0x2b04348f */ 9469 L_2B0434C9: 9470 eax = MEM32(esi + 0xC); /* 0x2B0434C9: mov eax, dword ptr [esi + 0xc] */ 9471 L_2B0434CC: 9472 /* test eax, eax */ /* 0x2B0434CC: test eax, eax */ 9473 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9474 _cf = 0; 9475 _flag_k = FK_TEST; 9476 L_2B0434CE: 9477 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_G, _cf)) goto L_2B04353B; /* 0x2B0434CE: jg 0x2b04353b */ 9478 L_2B0434D0: 9479 ecx = MEM32(esi + 0x20); /* 0x2B0434D0: mov ecx, dword ptr [esi + 0x20] */ 9480 L_2B0434D3: 9481 /* test ecx, ecx */ /* 0x2B0434D3: test ecx, ecx */ 9482 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9483 _cf = 0; 9484 _flag_k = FK_TEST; 9485 L_2B0434D5: 9486 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0434DD; /* 0x2B0434D5: je 0x2b0434dd */ 9487 L_2B0434D7: 9488 edx = MEM32(ecx); /* 0x2B0434D7: mov edx, dword ptr [ecx] */ 9489 L_2B0434D9: 9490 PUSH32(esp, 1); /* 0x2B0434D9: push 1 */ 9491 L_2B0434DB: 9492 RECOMP_ICALL(MEM32(edx)); /* 0x2B0434DB: call dword ptr [edx] */ 9493 RECOMP_FLAGS_IN(); 9494 L_2B0434DD: 9495 ecx = MEM32(esi + 0x24); /* 0x2B0434DD: mov ecx, dword ptr [esi + 0x24] */ 9496 L_2B0434E0: 9497 /* test ecx, ecx */ /* 0x2B0434E0: test ecx, ecx */ 9498 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9499 _cf = 0; 9500 _flag_k = FK_TEST; 9501 L_2B0434E2: 9502 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0434EA; /* 0x2B0434E2: je 0x2b0434ea */ 9503 L_2B0434E4: 9504 eax = MEM32(ecx); /* 0x2B0434E4: mov eax, dword ptr [ecx] */ 9505 L_2B0434E6: 9506 PUSH32(esp, 1); /* 0x2B0434E6: push 1 */ 9507 L_2B0434E8: 9508 RECOMP_ICALL(MEM32(eax)); /* 0x2B0434E8: call dword ptr [eax] */ 9509 RECOMP_FLAGS_IN(); 9510 L_2B0434EA: 9511 ecx = MEM32(esi + 0x28); /* 0x2B0434EA: mov ecx, dword ptr [esi + 0x28] */ 9512 L_2B0434ED: 9513 /* test ecx, ecx */ /* 0x2B0434ED: test ecx, ecx */ 9514 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9515 _cf = 0; 9516 _flag_k = FK_TEST; 9517 L_2B0434EF: 9518 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0434F7; /* 0x2B0434EF: je 0x2b0434f7 */ 9519 L_2B0434F1: 9520 edx = MEM32(ecx); /* 0x2B0434F1: mov edx, dword ptr [ecx] */ 9521 L_2B0434F3: 9522 PUSH32(esp, 1); /* 0x2B0434F3: push 1 */ 9523 L_2B0434F5: 9524 RECOMP_ICALL(MEM32(edx)); /* 0x2B0434F5: call dword ptr [edx] */ 9525 RECOMP_FLAGS_IN(); 9526 L_2B0434F7: 9527 ecx = MEM32(ebp + (-0x8)); /* 0x2B0434F7: mov ecx, dword ptr [ebp - 8] */ 9528 L_2B0434FA: 9529 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9530 eax = 0; /* 0x2B0434FA: xor eax, eax */ 9531 _cf = 0; 9532 _flag_k = FK_TEST; 9533 L_2B0434FC: 9534 MEM32(esi + 0x20) = eax; /* 0x2B0434FC: mov dword ptr [esi + 0x20], eax */ 9535 L_2B0434FF: 9536 MEM32(esi + 0x24) = eax; /* 0x2B0434FF: mov dword ptr [esi + 0x24], eax */ 9537 L_2B043502: 9538 MEM32(esi + 0x28) = eax; /* 0x2B043502: mov dword ptr [esi + 0x28], eax */ 9539 L_2B043505: 9540 MEM32(esi + 0x8) = 2; /* 0x2B043505: mov dword ptr [esi + 8], 2 */ 9541 L_2B04350C: 9542 MEM32(esi + 0xC) = 0x7D0u; /* 0x2B04350C: mov dword ptr [esi + 0xc], 0x7d0 */ 9543 L_2B043513: 9544 SET_LO8(edx, MEM8(ecx + 0xA1)); /* 0x2B043513: mov dl, byte ptr [ecx + 0xa1] */ 9545 L_2B043519: 9546 /* test LO8(edx), LO8(edx) */ /* 0x2B043519: test dl, dl */ 9547 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 9548 _cf = 0; 9549 _flag_k = FK_NARROW(FK_TEST, 24); 9550 L_2B04351B: 9551 RECOMP_BACKEDGE(); 9552 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B04348F; /* 0x2B04351B: je 0x2b04348f */ 9553 L_2B043521: 9554 edx = MEM32(ebp + (-0xC)); /* 0x2B043521: mov edx, dword ptr [ebp - 0xc] */ 9555 L_2B043524: 9556 /* cmp edx, MEM32(ecx + 0xA4) */ /* 0x2B043524: cmp edx, dword ptr [ecx + 0xa4] */ 9557 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ecx + 0xA4)); 9558 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9559 _flag_k = FK_CMP; 9560 L_2B04352A: 9561 RECOMP_BACKEDGE(); 9562 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B04348F; /* 0x2B04352A: jne 0x2b04348f */ 9563 L_2B043530: 9564 PUSH32(esp, eax); /* 0x2B043530: push eax */ 9565 L_2B043531: 9566 RECOMP_ICALL(0x2B043700u); /* 0x2B043531: call 0x2b043700 */ /* not lifted */ 9567 RECOMP_FLAGS_IN(); 9568 L_2B043536: 9569 RECOMP_BACKEDGE(); 9570 goto L_2B04348F; /* 0x2B043536: jmp 0x2b04348f */ 9571 L_2B04353B: 9572 SET_LO8(ecx, MEM8(esi + 0x1C)); /* 0x2B04353B: mov cl, byte ptr [esi + 0x1c] */ 9573 L_2B04353E: 9574 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x100u); 9575 eax = eax & 0x100u; /* 0x2B04353E: and eax, 0x100 */ 9576 _cf = 0; 9577 _flag_k = FK_TEST; 9578 L_2B043543: 9579 /* cmp eax, 0x80u */ /* 0x2B043543: cmp eax, 0x80 */ 9580 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80u); 9581 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9582 _flag_k = FK_CMP; 9583 L_2B043548: 9584 SET_LO8(eax, (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) ? 1 : 0); /* 0x2B043548: setle al */ 9585 L_2B04354B: 9586 /* cmp LO8(ecx), LO8(eax) */ /* 0x2B04354B: cmp cl, al */ 9587 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9588 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9589 _flag_k = FK_NARROW(FK_CMP, 24); 9590 L_2B04354D: 9591 MEM8(esi + 0x1C) = (uint8_t)(LO8(eax)); /* 0x2B04354D: mov byte ptr [esi + 0x1c], al */ 9592 L_2B043550: 9593 RECOMP_BACKEDGE(); 9594 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B04348F; /* 0x2B043550: je 0x2b04348f */ 9595 L_2B043556: 9596 ecx = MEM32(ebp + (-0x8)); /* 0x2B043556: mov ecx, dword ptr [ebp - 8] */ 9597 L_2B043559: 9598 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B043559: call 0x2b03a2b0 */ /* not lifted */ 9599 RECOMP_FLAGS_IN(); 9600 L_2B04355E: 9601 RECOMP_BACKEDGE(); 9602 goto L_2B04348F; /* 0x2B04355E: jmp 0x2b04348f */ 9603 L_2B043563: 9604 eax = MEM32(esi + 0xC); /* 0x2B043563: mov eax, dword ptr [esi + 0xc] */ 9605 L_2B043566: 9606 /* test eax, eax */ /* 0x2B043566: test eax, eax */ 9607 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9608 _cf = 0; 9609 _flag_k = FK_TEST; 9610 L_2B043568: 9611 RECOMP_BACKEDGE(); 9612 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_GE, _cf)) goto L_2B04348F; /* 0x2B043568: jge 0x2b04348f */ 9613 L_2B04356E: 9614 PUSH32(esp, esi); /* 0x2B04356E: push esi */ 9615 L_2B04356F: 9616 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B04356F: call 0x2b0ab1ba */ /* not lifted */ 9617 RECOMP_FLAGS_IN(); 9618 L_2B043574: 9619 eax = MEM32(edi); /* 0x2B043574: mov eax, dword ptr [edi] */ 9620 L_2B043576: 9621 ecx = MEM32(edi + 0x4); /* 0x2B043576: mov ecx, dword ptr [edi + 4] */ 9622 L_2B043579: 9623 esi = MEM32(ebp + (-0x8)); /* 0x2B043579: mov esi, dword ptr [ebp - 8] */ 9624 L_2B04357C: 9625 ebx = MEM32(esi + 0x8C); /* 0x2B04357C: mov ebx, dword ptr [esi + 0x8c] */ 9626 L_2B043582: 9627 MEM32(ecx) = eax; /* 0x2B043582: mov dword ptr [ecx], eax */ 9628 L_2B043584: 9629 edx = MEM32(edi); /* 0x2B043584: mov edx, dword ptr [edi] */ 9630 L_2B043586: 9631 MEM32(ebp + (-0x4)) = eax; /* 0x2B043586: mov dword ptr [ebp - 4], eax */ 9632 L_2B043589: 9633 eax = MEM32(edi + 0x4); /* 0x2B043589: mov eax, dword ptr [edi + 4] */ 9634 L_2B04358C: 9635 PUSH32(esp, edi); /* 0x2B04358C: push edi */ 9636 L_2B04358D: 9637 MEM32(edx + 0x4) = eax; /* 0x2B04358D: mov dword ptr [edx + 4], eax */ 9638 L_2B043590: 9639 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B043590: call 0x2b0ab1ba */ /* not lifted */ 9640 RECOMP_FLAGS_IN(); 9641 L_2B043595: 9642 ecx = MEM32(ebx + 0x8); /* 0x2B043595: mov ecx, dword ptr [ebx + 8] */ 9643 L_2B043598: 9644 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 9645 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9646 esp = esp + 8; /* 0x2B043598: add esp, 8 */ 9647 _flag_k = FK_ADD; 9648 L_2B04359B: 9649 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 9650 ecx = ecx - 1; /* 0x2B04359B: dec ecx */ 9651 _flag_k = FK_DEC; 9652 L_2B04359C: 9653 MEM32(ebx + 0x8) = ecx; /* 0x2B04359C: mov dword ptr [ebx + 8], ecx */ 9654 L_2B04359F: 9655 SET_LO8(eax, MEM8(esi + 0xA1)); /* 0x2B04359F: mov al, byte ptr [esi + 0xa1] */ 9656 L_2B0435A5: 9657 /* test LO8(eax), LO8(eax) */ /* 0x2B0435A5: test al, al */ 9658 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9659 _cf = 0; 9660 _flag_k = FK_NARROW(FK_TEST, 24); 9661 L_2B0435A7: 9662 ecx = MEM32(ebp + (-0x4)); /* 0x2B0435A7: mov ecx, dword ptr [ebp - 4] */ 9663 L_2B0435AA: 9664 MEM32(ebp + (-0x4)) = ecx; /* 0x2B0435AA: mov dword ptr [ebp - 4], ecx */ 9665 L_2B0435AD: 9666 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0435C1; /* 0x2B0435AD: je 0x2b0435c1 */ 9667 L_2B0435AF: 9668 eax = MEM32(esi + 0xA4); /* 0x2B0435AF: mov eax, dword ptr [esi + 0xa4] */ 9669 L_2B0435B5: 9670 /* cmp MEM32(ebp + (-0xC)), eax */ /* 0x2B0435B5: cmp dword ptr [ebp - 0xc], eax */ 9671 _flag_a = (uint32_t)(MEM32(ebp + (-0xC))); _flag_b = (uint32_t)(eax); 9672 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9673 _flag_k = FK_CMP; 9674 L_2B0435B8: 9675 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_GE, _cf)) goto L_2B0435C1; /* 0x2B0435B8: jge 0x2b0435c1 */ 9676 L_2B0435BA: 9677 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 9678 eax = eax - 1; /* 0x2B0435BA: dec eax */ 9679 _flag_k = FK_DEC; 9680 L_2B0435BB: 9681 MEM32(esi + 0xA4) = eax; /* 0x2B0435BB: mov dword ptr [esi + 0xa4], eax */ 9682 L_2B0435C1: 9683 ecx = esi; /* 0x2B0435C1: mov ecx, esi */ 9684 L_2B0435C3: 9685 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B0435C3: call 0x2b03a2b0 */ /* not lifted */ 9686 RECOMP_FLAGS_IN(); 9687 L_2B0435C8: 9688 RECOMP_BACKEDGE(); 9689 goto L_2B043494; /* 0x2B0435C8: jmp 0x2b043494 */ 9690 { RECOMP_REGS_OUT(); return; } /* end of function */ 9691 _ljump: 9692 switch (_itail_tgt) { 9693 case 0x2B043286u: goto L_2B043286; 9694 case 0x2B043289u: goto L_2B043289; 9695 case 0x2B04328Cu: goto L_2B04328C; 9696 case 0x2B043292u: goto L_2B043292; 9697 case 0x2B043295u: goto L_2B043295; 9698 case 0x2B043298u: goto L_2B043298; 9699 case 0x2B04329Au: goto L_2B04329A; 9700 case 0x2B04329Cu: goto L_2B04329C; 9701 case 0x2B04329Du: goto L_2B04329D; 9702 case 0x2B0432A0u: goto L_2B0432A0; 9703 case 0x2B0432A6u: goto L_2B0432A6; 9704 case 0x2B0432A8u: goto L_2B0432A8; 9705 case 0x2B0432AEu: goto L_2B0432AE; 9706 case 0x2B0432B1u: goto L_2B0432B1; 9707 case 0x2B0432B3u: goto L_2B0432B3; 9708 case 0x2B0432B8u: goto L_2B0432B8; 9709 case 0x2B0432BAu: goto L_2B0432BA; 9710 case 0x2B0432BDu: goto L_2B0432BD; 9711 case 0x2B0432BFu: goto L_2B0432BF; 9712 case 0x2B0432C2u: goto L_2B0432C2; 9713 case 0x2B0432C4u: goto L_2B0432C4; 9714 case 0x2B0432C7u: goto L_2B0432C7; 9715 case 0x2B0432CAu: goto L_2B0432CA; 9716 case 0x2B0432CDu: goto L_2B0432CD; 9717 case 0x2B0432CFu: goto L_2B0432CF; 9718 case 0x2B0432D1u: goto L_2B0432D1; 9719 case 0x2B0432D3u: goto L_2B0432D3; 9720 case 0x2B0432D6u: goto L_2B0432D6; 9721 case 0x2B0432D8u: goto L_2B0432D8; 9722 case 0x2B0432DBu: goto L_2B0432DB; 9723 case 0x2B0432DDu: goto L_2B0432DD; 9724 case 0x2B0432DFu: goto L_2B0432DF; 9725 case 0x2B0432E1u: goto L_2B0432E1; 9726 case 0x2B0432E2u: goto L_2B0432E2; 9727 case 0x2B0432E3u: goto L_2B0432E3; 9728 case 0x2B0432E7u: goto L_2B0432E7; 9729 case 0x2B0432EDu: goto L_2B0432ED; 9730 case 0x2B0432EFu: goto L_2B0432EF; 9731 case 0x2B0432F5u: goto L_2B0432F5; 9732 case 0x2B0432F6u: goto L_2B0432F6; 9733 case 0x2B0432FBu: goto L_2B0432FB; 9734 case 0x2B043301u: goto L_2B043301; 9735 case 0x2B043303u: goto L_2B043303; 9736 case 0x2B043304u: goto L_2B043304; 9737 case 0x2B043309u: goto L_2B043309; 9738 case 0x2B04330Cu: goto L_2B04330C; 9739 case 0x2B04330Fu: goto L_2B04330F; 9740 case 0x2B043311u: goto L_2B043311; 9741 case 0x2B043317u: goto L_2B043317; 9742 case 0x2B043319u: goto L_2B043319; 9743 case 0x2B04331Bu: goto L_2B04331B; 9744 case 0x2B04331Cu: goto L_2B04331C; 9745 case 0x2B043322u: goto L_2B043322; 9746 case 0x2B043323u: goto L_2B043323; 9747 case 0x2B043325u: goto L_2B043325; 9748 case 0x2B043327u: goto L_2B043327; 9749 case 0x2B04332Du: goto L_2B04332D; 9750 case 0x2B04332Fu: goto L_2B04332F; 9751 case 0x2B043335u: goto L_2B043335; 9752 case 0x2B043338u: goto L_2B043338; 9753 case 0x2B04333Bu: goto L_2B04333B; 9754 case 0x2B043341u: goto L_2B043341; 9755 case 0x2B043343u: goto L_2B043343; 9756 case 0x2B043349u: goto L_2B043349; 9757 case 0x2B04334Cu: goto L_2B04334C; 9758 case 0x2B043352u: goto L_2B043352; 9759 case 0x2B043358u: goto L_2B043358; 9760 case 0x2B04335Bu: goto L_2B04335B; 9761 case 0x2B043361u: goto L_2B043361; 9762 case 0x2B043366u: goto L_2B043366; 9763 case 0x2B043368u: goto L_2B043368; 9764 case 0x2B04336Au: goto L_2B04336A; 9765 case 0x2B04336Du: goto L_2B04336D; 9766 case 0x2B04336Fu: goto L_2B04336F; 9767 case 0x2B043372u: goto L_2B043372; 9768 case 0x2B043374u: goto L_2B043374; 9769 case 0x2B043376u: goto L_2B043376; 9770 case 0x2B043378u: goto L_2B043378; 9771 case 0x2B04337Au: goto L_2B04337A; 9772 case 0x2B04337Du: goto L_2B04337D; 9773 case 0x2B04337Fu: goto L_2B04337F; 9774 case 0x2B043382u: goto L_2B043382; 9775 case 0x2B043385u: goto L_2B043385; 9776 case 0x2B043388u: goto L_2B043388; 9777 case 0x2B04338Bu: goto L_2B04338B; 9778 case 0x2B04338Du: goto L_2B04338D; 9779 case 0x2B043392u: goto L_2B043392; 9780 case 0x2B043394u: goto L_2B043394; 9781 case 0x2B043396u: goto L_2B043396; 9782 case 0x2B043399u: goto L_2B043399; 9783 case 0x2B04339Bu: goto L_2B04339B; 9784 case 0x2B04339Eu: goto L_2B04339E; 9785 case 0x2B0433A0u: goto L_2B0433A0; 9786 case 0x2B0433A3u: goto L_2B0433A3; 9787 case 0x2B0433A6u: goto L_2B0433A6; 9788 case 0x2B0433A9u: goto L_2B0433A9; 9789 case 0x2B0433ABu: goto L_2B0433AB; 9790 case 0x2B0433ACu: goto L_2B0433AC; 9791 case 0x2B0433B2u: goto L_2B0433B2; 9792 case 0x2B0433B3u: goto L_2B0433B3; 9793 case 0x2B0433B4u: goto L_2B0433B4; 9794 case 0x2B0433B7u: goto L_2B0433B7; 9795 case 0x2B0433B9u: goto L_2B0433B9; 9796 case 0x2B0433BAu: goto L_2B0433BA; 9797 case 0x2B0433BCu: goto L_2B0433BC; 9798 case 0x2B0433BEu: goto L_2B0433BE; 9799 case 0x2B0433C4u: goto L_2B0433C4; 9800 case 0x2B0433C7u: goto L_2B0433C7; 9801 case 0x2B0433C8u: goto L_2B0433C8; 9802 case 0x2B0433C9u: goto L_2B0433C9; 9803 case 0x2B0433CBu: goto L_2B0433CB; 9804 case 0x2B0433CDu: goto L_2B0433CD; 9805 case 0x2B0433D3u: goto L_2B0433D3; 9806 case 0x2B0433D4u: goto L_2B0433D4; 9807 case 0x2B0433D7u: goto L_2B0433D7; 9808 case 0x2B0433DCu: goto L_2B0433DC; 9809 case 0x2B0433DDu: goto L_2B0433DD; 9810 case 0x2B0433E3u: goto L_2B0433E3; 9811 case 0x2B0433E6u: goto L_2B0433E6; 9812 case 0x2B0433E9u: goto L_2B0433E9; 9813 case 0x2B0433ECu: goto L_2B0433EC; 9814 case 0x2B0433EDu: goto L_2B0433ED; 9815 case 0x2B0433F0u: goto L_2B0433F0; 9816 case 0x2B0433F6u: goto L_2B0433F6; 9817 case 0x2B0433F8u: goto L_2B0433F8; 9818 case 0x2B0433FDu: goto L_2B0433FD; 9819 case 0x2B043400u: goto L_2B043400; 9820 case 0x2B043402u: goto L_2B043402; 9821 case 0x2B043404u: goto L_2B043404; 9822 case 0x2B043407u: goto L_2B043407; 9823 case 0x2B04340Au: goto L_2B04340A; 9824 case 0x2B04340Du: goto L_2B04340D; 9825 case 0x2B04340Eu: goto L_2B04340E; 9826 case 0x2B043411u: goto L_2B043411; 9827 case 0x2B043413u: goto L_2B043413; 9828 case 0x2B043416u: goto L_2B043416; 9829 case 0x2B043418u: goto L_2B043418; 9830 case 0x2B04341Bu: goto L_2B04341B; 9831 case 0x2B04341Eu: goto L_2B04341E; 9832 case 0x2B04341Fu: goto L_2B04341F; 9833 case 0x2B043421u: goto L_2B043421; 9834 case 0x2B043423u: goto L_2B043423; 9835 case 0x2B043425u: goto L_2B043425; 9836 case 0x2B043427u: goto L_2B043427; 9837 case 0x2B043429u: goto L_2B043429; 9838 case 0x2B04342Cu: goto L_2B04342C; 9839 case 0x2B04342Du: goto L_2B04342D; 9840 case 0x2B043430u: goto L_2B043430; 9841 case 0x2B043433u: goto L_2B043433; 9842 case 0x2B04343Au: goto L_2B04343A; 9843 case 0x2B043440u: goto L_2B043440; 9844 case 0x2B043443u: goto L_2B043443; 9845 case 0x2B043446u: goto L_2B043446; 9846 case 0x2B043449u: goto L_2B043449; 9847 case 0x2B04344Cu: goto L_2B04344C; 9848 case 0x2B04344Du: goto L_2B04344D; 9849 case 0x2B043454u: goto L_2B043454; 9850 case 0x2B04345Au: goto L_2B04345A; 9851 case 0x2B04345Du: goto L_2B04345D; 9852 case 0x2B043462u: goto L_2B043462; 9853 case 0x2B043464u: goto L_2B043464; 9854 case 0x2B043465u: goto L_2B043465; 9855 case 0x2B043468u: goto L_2B043468; 9856 case 0x2B04346Bu: goto L_2B04346B; 9857 case 0x2B043471u: goto L_2B043471; 9858 case 0x2B043474u: goto L_2B043474; 9859 case 0x2B043479u: goto L_2B043479; 9860 case 0x2B04347Cu: goto L_2B04347C; 9861 case 0x2B04347Fu: goto L_2B04347F; 9862 case 0x2B043481u: goto L_2B043481; 9863 case 0x2B043488u: goto L_2B043488; 9864 case 0x2B04348Fu: goto L_2B04348F; 9865 case 0x2B043491u: goto L_2B043491; 9866 case 0x2B043494u: goto L_2B043494; 9867 case 0x2B043497u: goto L_2B043497; 9868 case 0x2B04349Au: goto L_2B04349A; 9869 case 0x2B04349Du: goto L_2B04349D; 9870 case 0x2B04349Eu: goto L_2B04349E; 9871 case 0x2B0434A1u: goto L_2B0434A1; 9872 case 0x2B0434A7u: goto L_2B0434A7; 9873 case 0x2B0434AAu: goto L_2B0434AA; 9874 case 0x2B0434B0u: goto L_2B0434B0; 9875 case 0x2B0434B1u: goto L_2B0434B1; 9876 case 0x2B0434B2u: goto L_2B0434B2; 9877 case 0x2B0434B3u: goto L_2B0434B3; 9878 case 0x2B0434B5u: goto L_2B0434B5; 9879 case 0x2B0434B6u: goto L_2B0434B6; 9880 case 0x2B0434B7u: goto L_2B0434B7; 9881 case 0x2B0434BEu: goto L_2B0434BE; 9882 case 0x2B0434C0u: goto L_2B0434C0; 9883 case 0x2B0434C7u: goto L_2B0434C7; 9884 case 0x2B0434C9u: goto L_2B0434C9; 9885 case 0x2B0434CCu: goto L_2B0434CC; 9886 case 0x2B0434CEu: goto L_2B0434CE; 9887 case 0x2B0434D0u: goto L_2B0434D0; 9888 case 0x2B0434D3u: goto L_2B0434D3; 9889 case 0x2B0434D5u: goto L_2B0434D5; 9890 case 0x2B0434D7u: goto L_2B0434D7; 9891 case 0x2B0434D9u: goto L_2B0434D9; 9892 case 0x2B0434DBu: goto L_2B0434DB; 9893 case 0x2B0434DDu: goto L_2B0434DD; 9894 case 0x2B0434E0u: goto L_2B0434E0; 9895 case 0x2B0434E2u: goto L_2B0434E2; 9896 case 0x2B0434E4u: goto L_2B0434E4; 9897 case 0x2B0434E6u: goto L_2B0434E6; 9898 case 0x2B0434E8u: goto L_2B0434E8; 9899 case 0x2B0434EAu: goto L_2B0434EA; 9900 case 0x2B0434EDu: goto L_2B0434ED; 9901 case 0x2B0434EFu: goto L_2B0434EF; 9902 case 0x2B0434F1u: goto L_2B0434F1; 9903 case 0x2B0434F3u: goto L_2B0434F3; 9904 case 0x2B0434F5u: goto L_2B0434F5; 9905 case 0x2B0434F7u: goto L_2B0434F7; 9906 case 0x2B0434FAu: goto L_2B0434FA; 9907 case 0x2B0434FCu: goto L_2B0434FC; 9908 case 0x2B0434FFu: goto L_2B0434FF; 9909 case 0x2B043502u: goto L_2B043502; 9910 case 0x2B043505u: goto L_2B043505; 9911 case 0x2B04350Cu: goto L_2B04350C; 9912 case 0x2B043513u: goto L_2B043513; 9913 case 0x2B043519u: goto L_2B043519; 9914 case 0x2B04351Bu: goto L_2B04351B; 9915 case 0x2B043521u: goto L_2B043521; 9916 case 0x2B043524u: goto L_2B043524; 9917 case 0x2B04352Au: goto L_2B04352A; 9918 case 0x2B043530u: goto L_2B043530; 9919 case 0x2B043531u: goto L_2B043531; 9920 case 0x2B043536u: goto L_2B043536; 9921 case 0x2B04353Bu: goto L_2B04353B; 9922 case 0x2B04353Eu: goto L_2B04353E; 9923 case 0x2B043543u: goto L_2B043543; 9924 case 0x2B043548u: goto L_2B043548; 9925 case 0x2B04354Bu: goto L_2B04354B; 9926 case 0x2B04354Du: goto L_2B04354D; 9927 case 0x2B043550u: goto L_2B043550; 9928 case 0x2B043556u: goto L_2B043556; 9929 case 0x2B043559u: goto L_2B043559; 9930 case 0x2B04355Eu: goto L_2B04355E; 9931 case 0x2B043563u: goto L_2B043563; 9932 case 0x2B043566u: goto L_2B043566; 9933 case 0x2B043568u: goto L_2B043568; 9934 case 0x2B04356Eu: goto L_2B04356E; 9935 case 0x2B04356Fu: goto L_2B04356F; 9936 case 0x2B043574u: goto L_2B043574; 9937 case 0x2B043576u: goto L_2B043576; 9938 case 0x2B043579u: goto L_2B043579; 9939 case 0x2B04357Cu: goto L_2B04357C; 9940 case 0x2B043582u: goto L_2B043582; 9941 case 0x2B043584u: goto L_2B043584; 9942 case 0x2B043586u: goto L_2B043586; 9943 case 0x2B043589u: goto L_2B043589; 9944 case 0x2B04358Cu: goto L_2B04358C; 9945 case 0x2B04358Du: goto L_2B04358D; 9946 case 0x2B043590u: goto L_2B043590; 9947 case 0x2B043595u: goto L_2B043595; 9948 case 0x2B043598u: goto L_2B043598; 9949 case 0x2B04359Bu: goto L_2B04359B; 9950 case 0x2B04359Cu: goto L_2B04359C; 9951 case 0x2B04359Fu: goto L_2B04359F; 9952 case 0x2B0435A5u: goto L_2B0435A5; 9953 case 0x2B0435A7u: goto L_2B0435A7; 9954 case 0x2B0435AAu: goto L_2B0435AA; 9955 case 0x2B0435ADu: goto L_2B0435AD; 9956 case 0x2B0435AFu: goto L_2B0435AF; 9957 case 0x2B0435B5u: goto L_2B0435B5; 9958 case 0x2B0435B8u: goto L_2B0435B8; 9959 case 0x2B0435BAu: goto L_2B0435BA; 9960 case 0x2B0435BBu: goto L_2B0435BB; 9961 case 0x2B0435C1u: goto L_2B0435C1; 9962 case 0x2B0435C3u: goto L_2B0435C3; 9963 case 0x2B0435C8u: goto L_2B0435C8; 9964 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 9965 } 9966 RECOMP_REGS_OUT(); 9967 } 9968 9969 void sub_2B04348F(void) { 9970 int _fpu_cmp = 0; 9971 uint32_t _cf = 0; 9972 int _df = 1; 9973 uint32_t _flag_k = FK_NONE; 9974 uint32_t _flag_a = 0, _flag_b = 0; 9975 uint32_t _itail_tgt = 0; 9976 RECOMP_REGS_LOCALS 9977 RECOMP_ENTER(0x2B04348Fu); 9978 9979 goto L_2B04348F; 9980 L_2B043286: 9981 edi = MEM32(ebp + (-0x4)); /* 0x2B043286: mov edi, dword ptr [ebp - 4] */ 9982 L_2B043289: 9983 esi = MEM32(edi + 0x8); /* 0x2B043289: mov esi, dword ptr [edi + 8] */ 9984 L_2B04328C: 9985 RECOMP_ICALL(MEM32(0x2B0B53BC)); /* 0x2B04328C: call dword ptr [0x2b0b53bc] */ 9986 RECOMP_FLAGS_IN(); 9987 L_2B043292: 9988 eax = MEM32(eax + 0x28); /* 0x2B043292: mov eax, dword ptr [eax + 0x28] */ 9989 L_2B043295: 9990 edx = MEM32(esi + 0xC); /* 0x2B043295: mov edx, dword ptr [esi + 0xc] */ 9991 L_2B043298: 9992 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 9993 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9994 edx = edx - eax; /* 0x2B043298: sub edx, eax */ 9995 _flag_k = FK_CMP; 9996 L_2B04329A: 9997 PUSH32(esp, 0); /* 0x2B04329A: push 0 */ 9998 L_2B04329C: 9999 PUSH32(esp, esi); /* 0x2B04329C: push esi */ 10000 L_2B04329D: 10001 MEM32(esi + 0xC) = edx; /* 0x2B04329D: mov dword ptr [esi + 0xc], edx */ 10002 L_2B0432A0: 10003 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0432A0: call dword ptr [0x2b0b5d6c] */ 10004 RECOMP_FLAGS_IN(); 10005 L_2B0432A6: 10006 ecx = eax; /* 0x2B0432A6: mov ecx, eax */ 10007 L_2B0432A8: 10008 RECOMP_ICALL(MEM32(0x2B0B5EE0)); /* 0x2B0432A8: call dword ptr [0x2b0b5ee0] */ 10009 RECOMP_FLAGS_IN(); 10010 L_2B0432AE: 10011 edx = MEM32(esi + 0xC); /* 0x2B0432AE: mov edx, dword ptr [esi + 0xc] */ 10012 L_2B0432B1: 10013 ecx = eax; /* 0x2B0432B1: mov ecx, eax */ 10014 L_2B0432B3: 10015 eax = 0x10624DD3u; /* 0x2B0432B3: mov eax, 0x10624dd3 */ 10016 L_2B0432B8: 10017 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x2B0432B8: imul edx */ 10018 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 10019 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 10020 L_2B0432BA: 10021 if (6u) _cf = (((edx) >> 5) & 1u); /* 0x2B0432BA: sar edx, 6 */ 10022 if (6u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 6u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10023 edx = (uint32_t)((int32_t)edx >> 6u); 10024 L_2B0432BD: 10025 eax = edx; /* 0x2B0432BD: mov eax, edx */ 10026 L_2B0432BF: 10027 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B0432BF: shr eax, 0x1f */ 10028 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10029 eax = eax >> 31u; /* 0x2B0432BF: shr eax, 0x1f */ 10030 L_2B0432C2: 10031 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 10032 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10033 edx = edx + eax; /* 0x2B0432C2: add edx, eax */ 10034 _flag_k = FK_ADD; 10035 L_2B0432C4: 10036 SET_LO8(eax, MEM8(esi + 0x2C)); /* 0x2B0432C4: mov al, byte ptr [esi + 0x2c] */ 10037 L_2B0432C7: 10038 if (19u) _cf = (((ecx) >> 18) & 1u); /* 0x2B0432C7: shr ecx, 0x13 */ 10039 if (19u) { _flag_a = recomp_flags_pack((ecx >> 19u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10040 ecx = ecx >> 19u; /* 0x2B0432C7: shr ecx, 0x13 */ 10041 L_2B0432CA: 10042 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(1) << 24; 10043 SET_LO8(ecx, LO8(ecx) & 1); /* 0x2B0432CA: and cl, 1 */ 10044 _cf = 0; 10045 _flag_k = FK_NARROW(FK_TEST, 24); 10046 L_2B0432CD: 10047 /* test LO8(eax), LO8(eax) */ /* 0x2B0432CD: test al, al */ 10048 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10049 _cf = 0; 10050 _flag_k = FK_NARROW(FK_TEST, 24); 10051 L_2B0432CF: 10052 ebx = edx; /* 0x2B0432CF: mov ebx, edx */ 10053 L_2B0432D1: 10054 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B043338; /* 0x2B0432D1: jne 0x2b043338 */ 10055 L_2B0432D3: 10056 /* cmp ebx, 0xAu */ /* 0x2B0432D3: cmp ebx, 0xa */ 10057 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0xAu); 10058 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10059 _flag_k = FK_CMP; 10060 L_2B0432D6: 10061 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_G, _cf)) goto L_2B043338; /* 0x2B0432D6: jg 0x2b043338 */ 10062 L_2B0432D8: 10063 /* cmp ebx, 2 */ /* 0x2B0432D8: cmp ebx, 2 */ 10064 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(2); 10065 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10066 _flag_k = FK_CMP; 10067 L_2B0432DB: 10068 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_2B043338; /* 0x2B0432DB: jle 0x2b043338 */ 10069 L_2B0432DD: 10070 /* test LO8(ecx), LO8(ecx) */ /* 0x2B0432DD: test cl, cl */ 10071 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 10072 _cf = 0; 10073 _flag_k = FK_NARROW(FK_TEST, 24); 10074 L_2B0432DF: 10075 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B043338; /* 0x2B0432DF: jne 0x2b043338 */ 10076 L_2B0432E1: 10077 PUSH32(esp, ebx); /* 0x2B0432E1: push ebx */ 10078 L_2B0432E2: 10079 PUSH32(esp, esi); /* 0x2B0432E2: push esi */ 10080 L_2B0432E3: 10081 MEM8(esi + 0x2C) = (uint8_t)(1); /* 0x2B0432E3: mov byte ptr [esi + 0x2c], 1 */ 10082 L_2B0432E7: 10083 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0432E7: call dword ptr [0x2b0b5d6c] */ 10084 RECOMP_FLAGS_IN(); 10085 L_2B0432ED: 10086 ecx = eax; /* 0x2B0432ED: mov ecx, eax */ 10087 L_2B0432EF: 10088 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B0432EF: call dword ptr [0x2b0b5d50] */ 10089 RECOMP_FLAGS_IN(); 10090 L_2B0432F5: 10091 PUSH32(esp, eax); /* 0x2B0432F5: push eax */ 10092 L_2B0432F6: 10093 PUSH32(esp, 0x2B0E7378u); /* 0x2B0432F6: push 0x2b0e7378 */ 10094 L_2B0432FB: 10095 ecx = ebp + (-0xB4); /* 0x2B0432FB: lea ecx, [ebp - 0xb4] */ 10096 L_2B043301: 10097 PUSH32(esp, 0x64u); /* 0x2B043301: push 0x64 */ 10098 L_2B043303: 10099 PUSH32(esp, ecx); /* 0x2B043303: push ecx */ 10100 L_2B043304: 10101 RECOMP_ICALL(0x2B012180u); /* 0x2B043304: call 0x2b012180 */ /* not lifted */ 10102 RECOMP_FLAGS_IN(); 10103 L_2B043309: 10104 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 10105 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10106 esp = esp + 0x14u; /* 0x2B043309: add esp, 0x14 */ 10107 _flag_k = FK_ADD; 10108 L_2B04330C: 10109 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 10110 ecx = ecx | 0xFFFFFFFFu; /* 0x2B04330C: or ecx, 0xffffffff */ 10111 _cf = 0; 10112 _flag_k = FK_TEST; 10113 L_2B04330F: 10114 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10115 eax = 0; /* 0x2B04330F: xor eax, eax */ 10116 _cf = 0; 10117 _flag_k = FK_TEST; 10118 L_2B043311: 10119 edi = ebp + (-0xB4); /* 0x2B043311: lea edi, [ebp - 0xb4] */ 10120 L_2B043317: 10121 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; } /* 0x2B043317: repne scasb al, byte ptr es:[edi] */ 10122 L_2B043319: 10123 ecx = ~ecx; /* 0x2B043319: not ecx */ 10124 L_2B04331B: 10125 PUSH32(esp, ecx); /* 0x2B04331B: push ecx */ 10126 L_2B04331C: 10127 edx = ebp + (-0xB4); /* 0x2B04331C: lea edx, [ebp - 0xb4] */ 10128 L_2B043322: 10129 PUSH32(esp, edx); /* 0x2B043322: push edx */ 10130 L_2B043323: 10131 PUSH32(esp, 0x3Fu); /* 0x2B043323: push 0x3f */ 10132 L_2B043325: 10133 PUSH32(esp, 3); /* 0x2B043325: push 3 */ 10134 L_2B043327: 10135 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B043327: call dword ptr [0x2b0b53cc] */ 10136 RECOMP_FLAGS_IN(); 10137 L_2B04332D: 10138 ecx = eax; /* 0x2B04332D: mov ecx, eax */ 10139 L_2B04332F: 10140 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B04332F: call dword ptr [0x2b0b53c4] */ 10141 RECOMP_FLAGS_IN(); 10142 L_2B043335: 10143 edi = MEM32(ebp + (-0x4)); /* 0x2B043335: mov edi, dword ptr [ebp - 4] */ 10144 L_2B043338: 10145 eax = MEM32(ebp + (-0x8)); /* 0x2B043338: mov eax, dword ptr [ebp - 8] */ 10146 L_2B04333B: 10147 SET_LO8(ecx, MEM8(eax + 0xA1)); /* 0x2B04333B: mov cl, byte ptr [eax + 0xa1] */ 10148 L_2B043341: 10149 /* test LO8(ecx), LO8(ecx) */ /* 0x2B043341: test cl, cl */ 10150 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 10151 _cf = 0; 10152 _flag_k = FK_NARROW(FK_TEST, 24); 10153 L_2B043343: 10154 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0433FD; /* 0x2B043343: je 0x2b0433fd */ 10155 L_2B043349: 10156 ecx = MEM32(ebp + (-0xC)); /* 0x2B043349: mov ecx, dword ptr [ebp - 0xc] */ 10157 L_2B04334C: 10158 /* cmp ecx, MEM32(eax + 0xA4) */ /* 0x2B04334C: cmp ecx, dword ptr [eax + 0xa4] */ 10159 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax + 0xA4)); 10160 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10161 _flag_k = FK_CMP; 10162 L_2B043352: 10163 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B0433FD; /* 0x2B043352: jne 0x2b0433fd */ 10164 L_2B043358: 10165 /* cmp ebx, MEM32(esi + 0x14) */ /* 0x2B043358: cmp ebx, dword ptr [esi + 0x14] */ 10166 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x14)); 10167 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10168 _flag_k = FK_CMP; 10169 L_2B04335B: 10170 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0433FD; /* 0x2B04335B: je 0x2b0433fd */ 10171 L_2B043361: 10172 eax = 0x91A2B3C5u; /* 0x2B043361: mov eax, 0x91a2b3c5 */ 10173 L_2B043366: 10174 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ebx); /* 0x2B043366: imul ebx */ 10175 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 10176 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 10177 L_2B043368: 10178 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 10179 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10180 edx = edx + ebx; /* 0x2B043368: add edx, ebx */ 10181 _flag_k = FK_ADD; 10182 L_2B04336A: 10183 if (11u) _cf = (((edx) >> 10) & 1u); /* 0x2B04336A: sar edx, 0xb */ 10184 if (11u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 11u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10185 edx = (uint32_t)((int32_t)edx >> 11u); 10186 L_2B04336D: 10187 eax = edx; /* 0x2B04336D: mov eax, edx */ 10188 L_2B04336F: 10189 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B04336F: shr eax, 0x1f */ 10190 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10191 eax = eax >> 31u; /* 0x2B04336F: shr eax, 0x1f */ 10192 L_2B043372: 10193 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 10194 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10195 edx = edx + eax; /* 0x2B043372: add edx, eax */ 10196 _flag_k = FK_ADD; 10197 L_2B043374: 10198 ecx = edx; /* 0x2B043374: mov ecx, edx */ 10199 L_2B043376: 10200 eax = ecx; /* 0x2B043376: mov eax, ecx */ 10201 L_2B043378: 10202 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 10203 _cf = (eax) != 0; 10204 eax = (uint32_t)(-(int32_t)eax); /* 0x2B043378: neg eax */ 10205 _flag_k = FK_CMP; 10206 L_2B04337A: 10207 if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2B04337A: shl eax, 2 */ 10208 if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10209 eax = eax << 2u; /* 0x2B04337A: shl eax, 2 */ 10210 L_2B04337D: 10211 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10212 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10213 eax = eax - ecx; /* 0x2B04337D: sub eax, ecx */ 10214 _flag_k = FK_CMP; 10215 L_2B04337F: 10216 eax = eax + eax * 4; /* 0x2B04337F: lea eax, [eax + eax*4] */ 10217 L_2B043382: 10218 edx = eax + eax * 8; /* 0x2B043382: lea edx, [eax + eax*8] */ 10219 L_2B043385: 10220 if (4u) _cf = (((edx) >> 28) & 1u); /* 0x2B043385: shl edx, 4 */ 10221 if (4u) { _flag_a = recomp_flags_pack((edx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10222 edx = edx << 4u; /* 0x2B043385: shl edx, 4 */ 10223 L_2B043388: 10224 MEM32(esi + 0x14) = ebx; /* 0x2B043388: mov dword ptr [esi + 0x14], ebx */ 10225 L_2B04338B: 10226 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 10227 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10228 ebx = ebx + edx; /* 0x2B04338B: add ebx, edx */ 10229 _flag_k = FK_ADD; 10230 L_2B04338D: 10231 eax = 0x88888889u; /* 0x2B04338D: mov eax, 0x88888889 */ 10232 L_2B043392: 10233 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ebx); /* 0x2B043392: imul ebx */ 10234 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 10235 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 10236 L_2B043394: 10237 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 10238 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10239 edx = edx + ebx; /* 0x2B043394: add edx, ebx */ 10240 _flag_k = FK_ADD; 10241 L_2B043396: 10242 if (5u) _cf = (((edx) >> 4) & 1u); /* 0x2B043396: sar edx, 5 */ 10243 if (5u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 5u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10244 edx = (uint32_t)((int32_t)edx >> 5u); 10245 L_2B043399: 10246 eax = edx; /* 0x2B043399: mov eax, edx */ 10247 L_2B04339B: 10248 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B04339B: shr eax, 0x1f */ 10249 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10250 eax = eax >> 31u; /* 0x2B04339B: shr eax, 0x1f */ 10251 L_2B04339E: 10252 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 10253 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10254 edx = edx + eax; /* 0x2B04339E: add edx, eax */ 10255 _flag_k = FK_ADD; 10256 L_2B0433A0: 10257 eax = edx + edx * 2; /* 0x2B0433A0: lea eax, [edx + edx*2] */ 10258 L_2B0433A3: 10259 eax = eax + eax * 4; /* 0x2B0433A3: lea eax, [eax + eax*4] */ 10260 L_2B0433A6: 10261 if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2B0433A6: shl eax, 2 */ 10262 if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10263 eax = eax << 2u; /* 0x2B0433A6: shl eax, 2 */ 10264 L_2B0433A9: 10265 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 10266 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10267 ebx = ebx - eax; /* 0x2B0433A9: sub ebx, eax */ 10268 _flag_k = FK_CMP; 10269 L_2B0433AB: 10270 PUSH32(esp, ebx); /* 0x2B0433AB: push ebx */ 10271 L_2B0433AC: 10272 ebx = MEM32(0x2B0B5D6C); /* 0x2B0433AC: mov ebx, dword ptr [0x2b0b5d6c] */ 10273 L_2B0433B2: 10274 PUSH32(esp, edx); /* 0x2B0433B2: push edx */ 10275 L_2B0433B3: 10276 PUSH32(esp, ecx); /* 0x2B0433B3: push ecx */ 10277 L_2B0433B4: 10278 ecx = MEM32(edi + 0x8); /* 0x2B0433B4: mov ecx, dword ptr [edi + 8] */ 10279 L_2B0433B7: 10280 PUSH32(esp, 0x36u); /* 0x2B0433B7: push 0x36 */ 10281 L_2B0433B9: 10282 PUSH32(esp, ecx); /* 0x2B0433B9: push ecx */ 10283 L_2B0433BA: 10284 RECOMP_ICALL(ebx); /* 0x2B0433BA: call ebx */ 10285 RECOMP_FLAGS_IN(); 10286 L_2B0433BC: 10287 ecx = eax; /* 0x2B0433BC: mov ecx, eax */ 10288 L_2B0433BE: 10289 RECOMP_ICALL(MEM32(0x2B0B5EE0)); /* 0x2B0433BE: call dword ptr [0x2b0b5ee0] */ 10290 RECOMP_FLAGS_IN(); 10291 L_2B0433C4: 10292 edx = MEM32(edi + 0x8); /* 0x2B0433C4: mov edx, dword ptr [edi + 8] */ 10293 L_2B0433C7: 10294 PUSH32(esp, eax); /* 0x2B0433C7: push eax */ 10295 L_2B0433C8: 10296 PUSH32(esp, edx); /* 0x2B0433C8: push edx */ 10297 L_2B0433C9: 10298 RECOMP_ICALL(ebx); /* 0x2B0433C9: call ebx */ 10299 RECOMP_FLAGS_IN(); 10300 L_2B0433CB: 10301 ecx = eax; /* 0x2B0433CB: mov ecx, eax */ 10302 L_2B0433CD: 10303 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B0433CD: call dword ptr [0x2b0b5d50] */ 10304 RECOMP_FLAGS_IN(); 10305 L_2B0433D3: 10306 PUSH32(esp, eax); /* 0x2B0433D3: push eax */ 10307 L_2B0433D4: 10308 eax = ebp + (-0x50); /* 0x2B0433D4: lea eax, [ebp - 0x50] */ 10309 L_2B0433D7: 10310 PUSH32(esp, 0x2B0E7360u); /* 0x2B0433D7: push 0x2b0e7360 */ 10311 L_2B0433DC: 10312 PUSH32(esp, eax); /* 0x2B0433DC: push eax */ 10313 L_2B0433DD: 10314 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B0433DD: call dword ptr [0x2b0b51f0] */ 10315 RECOMP_FLAGS_IN(); 10316 L_2B0433E3: 10317 ebx = MEM32(ebp + (-0x8)); /* 0x2B0433E3: mov ebx, dword ptr [ebp - 8] */ 10318 L_2B0433E6: 10319 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 10320 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10321 esp = esp + 0x1Cu; /* 0x2B0433E6: add esp, 0x1c */ 10322 _flag_k = FK_ADD; 10323 L_2B0433E9: 10324 ecx = ebp + (-0x50); /* 0x2B0433E9: lea ecx, [ebp - 0x50] */ 10325 L_2B0433EC: 10326 PUSH32(esp, ecx); /* 0x2B0433EC: push ecx */ 10327 L_2B0433ED: 10328 ecx = MEM32(ebx + 0x6C); /* 0x2B0433ED: mov ecx, dword ptr [ebx + 0x6c] */ 10329 L_2B0433F0: 10330 RECOMP_ICALL(MEM32(0x2B0B5850)); /* 0x2B0433F0: call dword ptr [0x2b0b5850] */ 10331 RECOMP_FLAGS_IN(); 10332 L_2B0433F6: 10333 ecx = ebx; /* 0x2B0433F6: mov ecx, ebx */ 10334 L_2B0433F8: 10335 RECOMP_ICALL(0x2B042240u); /* 0x2B0433F8: call 0x2b042240 */ /* not lifted */ 10336 RECOMP_FLAGS_IN(); 10337 L_2B0433FD: 10338 ecx = MEM32(esi + 0x20); /* 0x2B0433FD: mov ecx, dword ptr [esi + 0x20] */ 10339 L_2B043400: 10340 /* test ecx, ecx */ /* 0x2B043400: test ecx, ecx */ 10341 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 10342 _cf = 0; 10343 _flag_k = FK_TEST; 10344 L_2B043402: 10345 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B043479; /* 0x2B043402: je 0x2b043479 */ 10346 L_2B043404: 10347 eax = MEM32(esi + 0xC); /* 0x2B043404: mov eax, dword ptr [esi + 0xc] */ 10348 L_2B043407: 10349 eax = eax + eax * 4; /* 0x2B043407: lea eax, [eax + eax*4] */ 10350 L_2B04340A: 10351 if (3u) _cf = (((eax) >> 29) & 1u); /* 0x2B04340A: shl eax, 3 */ 10352 if (3u) { _flag_a = recomp_flags_pack((eax << 3u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10353 eax = eax << 3u; /* 0x2B04340A: shl eax, 3 */ 10354 L_2B04340D: 10355 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B04340D: cdq */ 10356 L_2B04340E: 10357 { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)MEM32(esi + 0x10); /* 0x2B04340E: idiv dword ptr [esi + 0x10] */ 10358 if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); } 10359 else { eax = 0; edx = 0; } } 10360 L_2B043411: 10361 ebx = eax; /* 0x2B043411: mov ebx, eax */ 10362 L_2B043413: 10363 /* cmp ebx, MEM32(esi + 0x18) */ /* 0x2B043413: cmp ebx, dword ptr [esi + 0x18] */ 10364 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x18)); 10365 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10366 _flag_k = FK_CMP; 10367 L_2B043416: 10368 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B043479; /* 0x2B043416: je 0x2b043479 */ 10369 L_2B043418: 10370 edx = MEM32(ecx + 0x14); /* 0x2B043418: mov edx, dword ptr [ecx + 0x14] */ 10371 L_2B04341B: 10372 eax = MEM32(edx + 0xC); /* 0x2B04341B: mov eax, dword ptr [edx + 0xc] */ 10373 L_2B04341E: 10374 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B04341E: cdq */ 10375 L_2B04341F: 10376 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 10377 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10378 eax = eax - edx; /* 0x2B04341F: sub eax, edx */ 10379 _flag_k = FK_CMP; 10380 L_2B043421: 10381 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B043421: sar eax, 1 */ 10382 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10383 eax = (uint32_t)((int32_t)eax >> 1u); 10384 L_2B043423: 10385 /* cmp ebx, eax */ /* 0x2B043423: cmp ebx, eax */ 10386 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 10387 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10388 _flag_k = FK_CMP; 10389 L_2B043425: 10390 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_2B043429; /* 0x2B043425: jle 0x2b043429 */ 10391 L_2B043427: 10392 ebx = eax; /* 0x2B043427: mov ebx, eax */ 10393 L_2B043429: 10394 eax = ebp + (-0x14); /* 0x2B043429: lea eax, [ebp - 0x14] */ 10395 L_2B04342C: 10396 PUSH32(esp, eax); /* 0x2B04342C: push eax */ 10397 L_2B04342D: 10398 MEM32(esi + 0x18) = ebx; /* 0x2B04342D: mov dword ptr [esi + 0x18], ebx */ 10399 L_2B043430: 10400 MEM32(ebp + (-0x14)) = ebx; /* 0x2B043430: mov dword ptr [ebp - 0x14], ebx */ 10401 L_2B043433: 10402 MEM32(ebp + (-0x10)) = 0x18u; /* 0x2B043433: mov dword ptr [ebp - 0x10], 0x18 */ 10403 L_2B04343A: 10404 RECOMP_ICALL(MEM32(0x2B0B5844)); /* 0x2B04343A: call dword ptr [0x2b0b5844] */ 10405 RECOMP_FLAGS_IN(); 10406 L_2B043440: 10407 ecx = ebx + 0x28; /* 0x2B043440: lea ecx, [ebx + 0x28] */ 10408 L_2B043443: 10409 edx = ebp + (-0x1C); /* 0x2B043443: lea edx, [ebp - 0x1c] */ 10410 L_2B043446: 10411 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B043446: mov dword ptr [ebp - 0x1c], ecx */ 10412 L_2B043449: 10413 ecx = MEM32(esi + 0x24); /* 0x2B043449: mov ecx, dword ptr [esi + 0x24] */ 10414 L_2B04344C: 10415 PUSH32(esp, edx); /* 0x2B04344C: push edx */ 10416 L_2B04344D: 10417 MEM32(ebp + (-0x18)) = 0; /* 0x2B04344D: mov dword ptr [ebp - 0x18], 0 */ 10418 L_2B043454: 10419 RECOMP_ICALL(MEM32(0x2B0B5848)); /* 0x2B043454: call dword ptr [0x2b0b5848] */ 10420 RECOMP_FLAGS_IN(); 10421 L_2B04345A: 10422 ecx = ebp + (-0x14); /* 0x2B04345A: lea ecx, [ebp - 0x14] */ 10423 L_2B04345D: 10424 eax = 0x28u; /* 0x2B04345D: mov eax, 0x28 */ 10425 L_2B043462: 10426 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 10427 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10428 eax = eax - ebx; /* 0x2B043462: sub eax, ebx */ 10429 _flag_k = FK_CMP; 10430 L_2B043464: 10431 PUSH32(esp, ecx); /* 0x2B043464: push ecx */ 10432 L_2B043465: 10433 ecx = MEM32(esi + 0x24); /* 0x2B043465: mov ecx, dword ptr [esi + 0x24] */ 10434 L_2B043468: 10435 MEM32(ebp + (-0x14)) = eax; /* 0x2B043468: mov dword ptr [ebp - 0x14], eax */ 10436 L_2B04346B: 10437 RECOMP_ICALL(MEM32(0x2B0B5844)); /* 0x2B04346B: call dword ptr [0x2b0b5844] */ 10438 RECOMP_FLAGS_IN(); 10439 L_2B043471: 10440 ecx = MEM32(ebp + (-0x8)); /* 0x2B043471: mov ecx, dword ptr [ebp - 8] */ 10441 L_2B043474: 10442 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B043474: call 0x2b03a2b0 */ /* not lifted */ 10443 RECOMP_FLAGS_IN(); 10444 L_2B043479: 10445 eax = MEM32(esi + 0x8); /* 0x2B043479: mov eax, dword ptr [esi + 8] */ 10446 L_2B04347C: 10447 /* cmp eax, 3 */ /* 0x2B04347C: cmp eax, 3 */ 10448 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 10449 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10450 _flag_k = FK_CMP; 10451 L_2B04347F: 10452 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_2B04348F; /* 0x2B04347F: ja 0x2b04348f */ 10453 L_2B043481: 10454 { _itail_tgt = (uint32_t)(MEM32(eax * 4 + 0x2B0435D0)); goto _ljump; } 10455 L_2B043488: 10456 MEM32(esi + 0x8) = 3; /* 0x2B043488: mov dword ptr [esi + 8], 3 */ 10457 L_2B04348F: 10458 edx = MEM32(edi); /* 0x2B04348F: mov edx, dword ptr [edi] */ 10459 L_2B043491: 10460 MEM32(ebp + (-0x4)) = edx; /* 0x2B043491: mov dword ptr [ebp - 4], edx */ 10461 L_2B043494: 10462 ecx = MEM32(ebp + (-0xC)); /* 0x2B043494: mov ecx, dword ptr [ebp - 0xc] */ 10463 L_2B043497: 10464 eax = MEM32(ebp + (-0x8)); /* 0x2B043497: mov eax, dword ptr [ebp - 8] */ 10465 L_2B04349A: 10466 edx = MEM32(ebp + (-0x4)); /* 0x2B04349A: mov edx, dword ptr [ebp - 4] */ 10467 L_2B04349D: 10468 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10469 ecx = ecx + 1; /* 0x2B04349D: inc ecx */ 10470 _flag_k = FK_INC; 10471 L_2B04349E: 10472 MEM32(ebp + (-0xC)) = ecx; /* 0x2B04349E: mov dword ptr [ebp - 0xc], ecx */ 10473 L_2B0434A1: 10474 ecx = MEM32(eax + 0x8C); /* 0x2B0434A1: mov ecx, dword ptr [eax + 0x8c] */ 10475 L_2B0434A7: 10476 /* cmp MEM32(ecx + 0x4), edx */ /* 0x2B0434A7: cmp dword ptr [ecx + 4], edx */ 10477 _flag_a = (uint32_t)(MEM32(ecx + 0x4)); _flag_b = (uint32_t)(edx); 10478 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10479 _flag_k = FK_CMP; 10480 L_2B0434AA: 10481 RECOMP_BACKEDGE(); 10482 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B043286; /* 0x2B0434AA: jne 0x2b043286 */ 10483 L_2B0434B0: 10484 ebx = POP32_VAL(esp); /* 0x2B0434B0: pop ebx */ 10485 L_2B0434B1: 10486 edi = POP32_VAL(esp); /* 0x2B0434B1: pop edi */ 10487 L_2B0434B2: 10488 esi = POP32_VAL(esp); /* 0x2B0434B2: pop esi */ 10489 L_2B0434B3: 10490 esp = ebp; /* 0x2B0434B3: mov esp, ebp */ 10491 L_2B0434B5: 10492 ebp = POP32_VAL(esp); /* 0x2B0434B5: pop ebp */ 10493 L_2B0434B6: 10494 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0434B6: ret */ 10495 L_2B0434B7: 10496 /* cmp MEM32(esi + 0xC), 0x1388u */ /* 0x2B0434B7: cmp dword ptr [esi + 0xc], 0x1388 */ 10497 _flag_a = (uint32_t)(MEM32(esi + 0xC)); _flag_b = (uint32_t)(0x1388u); 10498 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10499 _flag_k = FK_CMP; 10500 L_2B0434BE: 10501 RECOMP_BACKEDGE(); 10502 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_GE, _cf)) goto L_2B04348F; /* 0x2B0434BE: jge 0x2b04348f */ 10503 L_2B0434C0: 10504 MEM32(esi + 0x8) = 1; /* 0x2B0434C0: mov dword ptr [esi + 8], 1 */ 10505 L_2B0434C7: 10506 RECOMP_BACKEDGE(); 10507 goto L_2B04348F; /* 0x2B0434C7: jmp 0x2b04348f */ 10508 L_2B0434C9: 10509 eax = MEM32(esi + 0xC); /* 0x2B0434C9: mov eax, dword ptr [esi + 0xc] */ 10510 L_2B0434CC: 10511 /* test eax, eax */ /* 0x2B0434CC: test eax, eax */ 10512 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10513 _cf = 0; 10514 _flag_k = FK_TEST; 10515 L_2B0434CE: 10516 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_G, _cf)) goto L_2B04353B; /* 0x2B0434CE: jg 0x2b04353b */ 10517 L_2B0434D0: 10518 ecx = MEM32(esi + 0x20); /* 0x2B0434D0: mov ecx, dword ptr [esi + 0x20] */ 10519 L_2B0434D3: 10520 /* test ecx, ecx */ /* 0x2B0434D3: test ecx, ecx */ 10521 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 10522 _cf = 0; 10523 _flag_k = FK_TEST; 10524 L_2B0434D5: 10525 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0434DD; /* 0x2B0434D5: je 0x2b0434dd */ 10526 L_2B0434D7: 10527 edx = MEM32(ecx); /* 0x2B0434D7: mov edx, dword ptr [ecx] */ 10528 L_2B0434D9: 10529 PUSH32(esp, 1); /* 0x2B0434D9: push 1 */ 10530 L_2B0434DB: 10531 RECOMP_ICALL(MEM32(edx)); /* 0x2B0434DB: call dword ptr [edx] */ 10532 RECOMP_FLAGS_IN(); 10533 L_2B0434DD: 10534 ecx = MEM32(esi + 0x24); /* 0x2B0434DD: mov ecx, dword ptr [esi + 0x24] */ 10535 L_2B0434E0: 10536 /* test ecx, ecx */ /* 0x2B0434E0: test ecx, ecx */ 10537 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 10538 _cf = 0; 10539 _flag_k = FK_TEST; 10540 L_2B0434E2: 10541 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0434EA; /* 0x2B0434E2: je 0x2b0434ea */ 10542 L_2B0434E4: 10543 eax = MEM32(ecx); /* 0x2B0434E4: mov eax, dword ptr [ecx] */ 10544 L_2B0434E6: 10545 PUSH32(esp, 1); /* 0x2B0434E6: push 1 */ 10546 L_2B0434E8: 10547 RECOMP_ICALL(MEM32(eax)); /* 0x2B0434E8: call dword ptr [eax] */ 10548 RECOMP_FLAGS_IN(); 10549 L_2B0434EA: 10550 ecx = MEM32(esi + 0x28); /* 0x2B0434EA: mov ecx, dword ptr [esi + 0x28] */ 10551 L_2B0434ED: 10552 /* test ecx, ecx */ /* 0x2B0434ED: test ecx, ecx */ 10553 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 10554 _cf = 0; 10555 _flag_k = FK_TEST; 10556 L_2B0434EF: 10557 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0434F7; /* 0x2B0434EF: je 0x2b0434f7 */ 10558 L_2B0434F1: 10559 edx = MEM32(ecx); /* 0x2B0434F1: mov edx, dword ptr [ecx] */ 10560 L_2B0434F3: 10561 PUSH32(esp, 1); /* 0x2B0434F3: push 1 */ 10562 L_2B0434F5: 10563 RECOMP_ICALL(MEM32(edx)); /* 0x2B0434F5: call dword ptr [edx] */ 10564 RECOMP_FLAGS_IN(); 10565 L_2B0434F7: 10566 ecx = MEM32(ebp + (-0x8)); /* 0x2B0434F7: mov ecx, dword ptr [ebp - 8] */ 10567 L_2B0434FA: 10568 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10569 eax = 0; /* 0x2B0434FA: xor eax, eax */ 10570 _cf = 0; 10571 _flag_k = FK_TEST; 10572 L_2B0434FC: 10573 MEM32(esi + 0x20) = eax; /* 0x2B0434FC: mov dword ptr [esi + 0x20], eax */ 10574 L_2B0434FF: 10575 MEM32(esi + 0x24) = eax; /* 0x2B0434FF: mov dword ptr [esi + 0x24], eax */ 10576 L_2B043502: 10577 MEM32(esi + 0x28) = eax; /* 0x2B043502: mov dword ptr [esi + 0x28], eax */ 10578 L_2B043505: 10579 MEM32(esi + 0x8) = 2; /* 0x2B043505: mov dword ptr [esi + 8], 2 */ 10580 L_2B04350C: 10581 MEM32(esi + 0xC) = 0x7D0u; /* 0x2B04350C: mov dword ptr [esi + 0xc], 0x7d0 */ 10582 L_2B043513: 10583 SET_LO8(edx, MEM8(ecx + 0xA1)); /* 0x2B043513: mov dl, byte ptr [ecx + 0xa1] */ 10584 L_2B043519: 10585 /* test LO8(edx), LO8(edx) */ /* 0x2B043519: test dl, dl */ 10586 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 10587 _cf = 0; 10588 _flag_k = FK_NARROW(FK_TEST, 24); 10589 L_2B04351B: 10590 RECOMP_BACKEDGE(); 10591 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B04348F; /* 0x2B04351B: je 0x2b04348f */ 10592 L_2B043521: 10593 edx = MEM32(ebp + (-0xC)); /* 0x2B043521: mov edx, dword ptr [ebp - 0xc] */ 10594 L_2B043524: 10595 /* cmp edx, MEM32(ecx + 0xA4) */ /* 0x2B043524: cmp edx, dword ptr [ecx + 0xa4] */ 10596 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ecx + 0xA4)); 10597 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10598 _flag_k = FK_CMP; 10599 L_2B04352A: 10600 RECOMP_BACKEDGE(); 10601 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B04348F; /* 0x2B04352A: jne 0x2b04348f */ 10602 L_2B043530: 10603 PUSH32(esp, eax); /* 0x2B043530: push eax */ 10604 L_2B043531: 10605 RECOMP_ICALL(0x2B043700u); /* 0x2B043531: call 0x2b043700 */ /* not lifted */ 10606 RECOMP_FLAGS_IN(); 10607 L_2B043536: 10608 RECOMP_BACKEDGE(); 10609 goto L_2B04348F; /* 0x2B043536: jmp 0x2b04348f */ 10610 L_2B04353B: 10611 SET_LO8(ecx, MEM8(esi + 0x1C)); /* 0x2B04353B: mov cl, byte ptr [esi + 0x1c] */ 10612 L_2B04353E: 10613 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x100u); 10614 eax = eax & 0x100u; /* 0x2B04353E: and eax, 0x100 */ 10615 _cf = 0; 10616 _flag_k = FK_TEST; 10617 L_2B043543: 10618 /* cmp eax, 0x80u */ /* 0x2B043543: cmp eax, 0x80 */ 10619 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80u); 10620 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10621 _flag_k = FK_CMP; 10622 L_2B043548: 10623 SET_LO8(eax, (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) ? 1 : 0); /* 0x2B043548: setle al */ 10624 L_2B04354B: 10625 /* cmp LO8(ecx), LO8(eax) */ /* 0x2B04354B: cmp cl, al */ 10626 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10627 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10628 _flag_k = FK_NARROW(FK_CMP, 24); 10629 L_2B04354D: 10630 MEM8(esi + 0x1C) = (uint8_t)(LO8(eax)); /* 0x2B04354D: mov byte ptr [esi + 0x1c], al */ 10631 L_2B043550: 10632 RECOMP_BACKEDGE(); 10633 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B04348F; /* 0x2B043550: je 0x2b04348f */ 10634 L_2B043556: 10635 ecx = MEM32(ebp + (-0x8)); /* 0x2B043556: mov ecx, dword ptr [ebp - 8] */ 10636 L_2B043559: 10637 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B043559: call 0x2b03a2b0 */ /* not lifted */ 10638 RECOMP_FLAGS_IN(); 10639 L_2B04355E: 10640 RECOMP_BACKEDGE(); 10641 goto L_2B04348F; /* 0x2B04355E: jmp 0x2b04348f */ 10642 L_2B043563: 10643 eax = MEM32(esi + 0xC); /* 0x2B043563: mov eax, dword ptr [esi + 0xc] */ 10644 L_2B043566: 10645 /* test eax, eax */ /* 0x2B043566: test eax, eax */ 10646 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10647 _cf = 0; 10648 _flag_k = FK_TEST; 10649 L_2B043568: 10650 RECOMP_BACKEDGE(); 10651 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_GE, _cf)) goto L_2B04348F; /* 0x2B043568: jge 0x2b04348f */ 10652 L_2B04356E: 10653 PUSH32(esp, esi); /* 0x2B04356E: push esi */ 10654 L_2B04356F: 10655 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B04356F: call 0x2b0ab1ba */ /* not lifted */ 10656 RECOMP_FLAGS_IN(); 10657 L_2B043574: 10658 eax = MEM32(edi); /* 0x2B043574: mov eax, dword ptr [edi] */ 10659 L_2B043576: 10660 ecx = MEM32(edi + 0x4); /* 0x2B043576: mov ecx, dword ptr [edi + 4] */ 10661 L_2B043579: 10662 esi = MEM32(ebp + (-0x8)); /* 0x2B043579: mov esi, dword ptr [ebp - 8] */ 10663 L_2B04357C: 10664 ebx = MEM32(esi + 0x8C); /* 0x2B04357C: mov ebx, dword ptr [esi + 0x8c] */ 10665 L_2B043582: 10666 MEM32(ecx) = eax; /* 0x2B043582: mov dword ptr [ecx], eax */ 10667 L_2B043584: 10668 edx = MEM32(edi); /* 0x2B043584: mov edx, dword ptr [edi] */ 10669 L_2B043586: 10670 MEM32(ebp + (-0x4)) = eax; /* 0x2B043586: mov dword ptr [ebp - 4], eax */ 10671 L_2B043589: 10672 eax = MEM32(edi + 0x4); /* 0x2B043589: mov eax, dword ptr [edi + 4] */ 10673 L_2B04358C: 10674 PUSH32(esp, edi); /* 0x2B04358C: push edi */ 10675 L_2B04358D: 10676 MEM32(edx + 0x4) = eax; /* 0x2B04358D: mov dword ptr [edx + 4], eax */ 10677 L_2B043590: 10678 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B043590: call 0x2b0ab1ba */ /* not lifted */ 10679 RECOMP_FLAGS_IN(); 10680 L_2B043595: 10681 ecx = MEM32(ebx + 0x8); /* 0x2B043595: mov ecx, dword ptr [ebx + 8] */ 10682 L_2B043598: 10683 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 10684 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10685 esp = esp + 8; /* 0x2B043598: add esp, 8 */ 10686 _flag_k = FK_ADD; 10687 L_2B04359B: 10688 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10689 ecx = ecx - 1; /* 0x2B04359B: dec ecx */ 10690 _flag_k = FK_DEC; 10691 L_2B04359C: 10692 MEM32(ebx + 0x8) = ecx; /* 0x2B04359C: mov dword ptr [ebx + 8], ecx */ 10693 L_2B04359F: 10694 SET_LO8(eax, MEM8(esi + 0xA1)); /* 0x2B04359F: mov al, byte ptr [esi + 0xa1] */ 10695 L_2B0435A5: 10696 /* test LO8(eax), LO8(eax) */ /* 0x2B0435A5: test al, al */ 10697 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10698 _cf = 0; 10699 _flag_k = FK_NARROW(FK_TEST, 24); 10700 L_2B0435A7: 10701 ecx = MEM32(ebp + (-0x4)); /* 0x2B0435A7: mov ecx, dword ptr [ebp - 4] */ 10702 L_2B0435AA: 10703 MEM32(ebp + (-0x4)) = ecx; /* 0x2B0435AA: mov dword ptr [ebp - 4], ecx */ 10704 L_2B0435AD: 10705 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0435C1; /* 0x2B0435AD: je 0x2b0435c1 */ 10706 L_2B0435AF: 10707 eax = MEM32(esi + 0xA4); /* 0x2B0435AF: mov eax, dword ptr [esi + 0xa4] */ 10708 L_2B0435B5: 10709 /* cmp MEM32(ebp + (-0xC)), eax */ /* 0x2B0435B5: cmp dword ptr [ebp - 0xc], eax */ 10710 _flag_a = (uint32_t)(MEM32(ebp + (-0xC))); _flag_b = (uint32_t)(eax); 10711 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10712 _flag_k = FK_CMP; 10713 L_2B0435B8: 10714 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_GE, _cf)) goto L_2B0435C1; /* 0x2B0435B8: jge 0x2b0435c1 */ 10715 L_2B0435BA: 10716 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 10717 eax = eax - 1; /* 0x2B0435BA: dec eax */ 10718 _flag_k = FK_DEC; 10719 L_2B0435BB: 10720 MEM32(esi + 0xA4) = eax; /* 0x2B0435BB: mov dword ptr [esi + 0xa4], eax */ 10721 L_2B0435C1: 10722 ecx = esi; /* 0x2B0435C1: mov ecx, esi */ 10723 L_2B0435C3: 10724 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B0435C3: call 0x2b03a2b0 */ /* not lifted */ 10725 RECOMP_FLAGS_IN(); 10726 L_2B0435C8: 10727 RECOMP_BACKEDGE(); 10728 goto L_2B043494; /* 0x2B0435C8: jmp 0x2b043494 */ 10729 { RECOMP_REGS_OUT(); return; } /* end of function */ 10730 _ljump: 10731 switch (_itail_tgt) { 10732 case 0x2B043286u: goto L_2B043286; 10733 case 0x2B043289u: goto L_2B043289; 10734 case 0x2B04328Cu: goto L_2B04328C; 10735 case 0x2B043292u: goto L_2B043292; 10736 case 0x2B043295u: goto L_2B043295; 10737 case 0x2B043298u: goto L_2B043298; 10738 case 0x2B04329Au: goto L_2B04329A; 10739 case 0x2B04329Cu: goto L_2B04329C; 10740 case 0x2B04329Du: goto L_2B04329D; 10741 case 0x2B0432A0u: goto L_2B0432A0; 10742 case 0x2B0432A6u: goto L_2B0432A6; 10743 case 0x2B0432A8u: goto L_2B0432A8; 10744 case 0x2B0432AEu: goto L_2B0432AE; 10745 case 0x2B0432B1u: goto L_2B0432B1; 10746 case 0x2B0432B3u: goto L_2B0432B3; 10747 case 0x2B0432B8u: goto L_2B0432B8; 10748 case 0x2B0432BAu: goto L_2B0432BA; 10749 case 0x2B0432BDu: goto L_2B0432BD; 10750 case 0x2B0432BFu: goto L_2B0432BF; 10751 case 0x2B0432C2u: goto L_2B0432C2; 10752 case 0x2B0432C4u: goto L_2B0432C4; 10753 case 0x2B0432C7u: goto L_2B0432C7; 10754 case 0x2B0432CAu: goto L_2B0432CA; 10755 case 0x2B0432CDu: goto L_2B0432CD; 10756 case 0x2B0432CFu: goto L_2B0432CF; 10757 case 0x2B0432D1u: goto L_2B0432D1; 10758 case 0x2B0432D3u: goto L_2B0432D3; 10759 case 0x2B0432D6u: goto L_2B0432D6; 10760 case 0x2B0432D8u: goto L_2B0432D8; 10761 case 0x2B0432DBu: goto L_2B0432DB; 10762 case 0x2B0432DDu: goto L_2B0432DD; 10763 case 0x2B0432DFu: goto L_2B0432DF; 10764 case 0x2B0432E1u: goto L_2B0432E1; 10765 case 0x2B0432E2u: goto L_2B0432E2; 10766 case 0x2B0432E3u: goto L_2B0432E3; 10767 case 0x2B0432E7u: goto L_2B0432E7; 10768 case 0x2B0432EDu: goto L_2B0432ED; 10769 case 0x2B0432EFu: goto L_2B0432EF; 10770 case 0x2B0432F5u: goto L_2B0432F5; 10771 case 0x2B0432F6u: goto L_2B0432F6; 10772 case 0x2B0432FBu: goto L_2B0432FB; 10773 case 0x2B043301u: goto L_2B043301; 10774 case 0x2B043303u: goto L_2B043303; 10775 case 0x2B043304u: goto L_2B043304; 10776 case 0x2B043309u: goto L_2B043309; 10777 case 0x2B04330Cu: goto L_2B04330C; 10778 case 0x2B04330Fu: goto L_2B04330F; 10779 case 0x2B043311u: goto L_2B043311; 10780 case 0x2B043317u: goto L_2B043317; 10781 case 0x2B043319u: goto L_2B043319; 10782 case 0x2B04331Bu: goto L_2B04331B; 10783 case 0x2B04331Cu: goto L_2B04331C; 10784 case 0x2B043322u: goto L_2B043322; 10785 case 0x2B043323u: goto L_2B043323; 10786 case 0x2B043325u: goto L_2B043325; 10787 case 0x2B043327u: goto L_2B043327; 10788 case 0x2B04332Du: goto L_2B04332D; 10789 case 0x2B04332Fu: goto L_2B04332F; 10790 case 0x2B043335u: goto L_2B043335; 10791 case 0x2B043338u: goto L_2B043338; 10792 case 0x2B04333Bu: goto L_2B04333B; 10793 case 0x2B043341u: goto L_2B043341; 10794 case 0x2B043343u: goto L_2B043343; 10795 case 0x2B043349u: goto L_2B043349; 10796 case 0x2B04334Cu: goto L_2B04334C; 10797 case 0x2B043352u: goto L_2B043352; 10798 case 0x2B043358u: goto L_2B043358; 10799 case 0x2B04335Bu: goto L_2B04335B; 10800 case 0x2B043361u: goto L_2B043361; 10801 case 0x2B043366u: goto L_2B043366; 10802 case 0x2B043368u: goto L_2B043368; 10803 case 0x2B04336Au: goto L_2B04336A; 10804 case 0x2B04336Du: goto L_2B04336D; 10805 case 0x2B04336Fu: goto L_2B04336F; 10806 case 0x2B043372u: goto L_2B043372; 10807 case 0x2B043374u: goto L_2B043374; 10808 case 0x2B043376u: goto L_2B043376; 10809 case 0x2B043378u: goto L_2B043378; 10810 case 0x2B04337Au: goto L_2B04337A; 10811 case 0x2B04337Du: goto L_2B04337D; 10812 case 0x2B04337Fu: goto L_2B04337F; 10813 case 0x2B043382u: goto L_2B043382; 10814 case 0x2B043385u: goto L_2B043385; 10815 case 0x2B043388u: goto L_2B043388; 10816 case 0x2B04338Bu: goto L_2B04338B; 10817 case 0x2B04338Du: goto L_2B04338D; 10818 case 0x2B043392u: goto L_2B043392; 10819 case 0x2B043394u: goto L_2B043394; 10820 case 0x2B043396u: goto L_2B043396; 10821 case 0x2B043399u: goto L_2B043399; 10822 case 0x2B04339Bu: goto L_2B04339B; 10823 case 0x2B04339Eu: goto L_2B04339E; 10824 case 0x2B0433A0u: goto L_2B0433A0; 10825 case 0x2B0433A3u: goto L_2B0433A3; 10826 case 0x2B0433A6u: goto L_2B0433A6; 10827 case 0x2B0433A9u: goto L_2B0433A9; 10828 case 0x2B0433ABu: goto L_2B0433AB; 10829 case 0x2B0433ACu: goto L_2B0433AC; 10830 case 0x2B0433B2u: goto L_2B0433B2; 10831 case 0x2B0433B3u: goto L_2B0433B3; 10832 case 0x2B0433B4u: goto L_2B0433B4; 10833 case 0x2B0433B7u: goto L_2B0433B7; 10834 case 0x2B0433B9u: goto L_2B0433B9; 10835 case 0x2B0433BAu: goto L_2B0433BA; 10836 case 0x2B0433BCu: goto L_2B0433BC; 10837 case 0x2B0433BEu: goto L_2B0433BE; 10838 case 0x2B0433C4u: goto L_2B0433C4; 10839 case 0x2B0433C7u: goto L_2B0433C7; 10840 case 0x2B0433C8u: goto L_2B0433C8; 10841 case 0x2B0433C9u: goto L_2B0433C9; 10842 case 0x2B0433CBu: goto L_2B0433CB; 10843 case 0x2B0433CDu: goto L_2B0433CD; 10844 case 0x2B0433D3u: goto L_2B0433D3; 10845 case 0x2B0433D4u: goto L_2B0433D4; 10846 case 0x2B0433D7u: goto L_2B0433D7; 10847 case 0x2B0433DCu: goto L_2B0433DC; 10848 case 0x2B0433DDu: goto L_2B0433DD; 10849 case 0x2B0433E3u: goto L_2B0433E3; 10850 case 0x2B0433E6u: goto L_2B0433E6; 10851 case 0x2B0433E9u: goto L_2B0433E9; 10852 case 0x2B0433ECu: goto L_2B0433EC; 10853 case 0x2B0433EDu: goto L_2B0433ED; 10854 case 0x2B0433F0u: goto L_2B0433F0; 10855 case 0x2B0433F6u: goto L_2B0433F6; 10856 case 0x2B0433F8u: goto L_2B0433F8; 10857 case 0x2B0433FDu: goto L_2B0433FD; 10858 case 0x2B043400u: goto L_2B043400; 10859 case 0x2B043402u: goto L_2B043402; 10860 case 0x2B043404u: goto L_2B043404; 10861 case 0x2B043407u: goto L_2B043407; 10862 case 0x2B04340Au: goto L_2B04340A; 10863 case 0x2B04340Du: goto L_2B04340D; 10864 case 0x2B04340Eu: goto L_2B04340E; 10865 case 0x2B043411u: goto L_2B043411; 10866 case 0x2B043413u: goto L_2B043413; 10867 case 0x2B043416u: goto L_2B043416; 10868 case 0x2B043418u: goto L_2B043418; 10869 case 0x2B04341Bu: goto L_2B04341B; 10870 case 0x2B04341Eu: goto L_2B04341E; 10871 case 0x2B04341Fu: goto L_2B04341F; 10872 case 0x2B043421u: goto L_2B043421; 10873 case 0x2B043423u: goto L_2B043423; 10874 case 0x2B043425u: goto L_2B043425; 10875 case 0x2B043427u: goto L_2B043427; 10876 case 0x2B043429u: goto L_2B043429; 10877 case 0x2B04342Cu: goto L_2B04342C; 10878 case 0x2B04342Du: goto L_2B04342D; 10879 case 0x2B043430u: goto L_2B043430; 10880 case 0x2B043433u: goto L_2B043433; 10881 case 0x2B04343Au: goto L_2B04343A; 10882 case 0x2B043440u: goto L_2B043440; 10883 case 0x2B043443u: goto L_2B043443; 10884 case 0x2B043446u: goto L_2B043446; 10885 case 0x2B043449u: goto L_2B043449; 10886 case 0x2B04344Cu: goto L_2B04344C; 10887 case 0x2B04344Du: goto L_2B04344D; 10888 case 0x2B043454u: goto L_2B043454; 10889 case 0x2B04345Au: goto L_2B04345A; 10890 case 0x2B04345Du: goto L_2B04345D; 10891 case 0x2B043462u: goto L_2B043462; 10892 case 0x2B043464u: goto L_2B043464; 10893 case 0x2B043465u: goto L_2B043465; 10894 case 0x2B043468u: goto L_2B043468; 10895 case 0x2B04346Bu: goto L_2B04346B; 10896 case 0x2B043471u: goto L_2B043471; 10897 case 0x2B043474u: goto L_2B043474; 10898 case 0x2B043479u: goto L_2B043479; 10899 case 0x2B04347Cu: goto L_2B04347C; 10900 case 0x2B04347Fu: goto L_2B04347F; 10901 case 0x2B043481u: goto L_2B043481; 10902 case 0x2B043488u: goto L_2B043488; 10903 case 0x2B04348Fu: goto L_2B04348F; 10904 case 0x2B043491u: goto L_2B043491; 10905 case 0x2B043494u: goto L_2B043494; 10906 case 0x2B043497u: goto L_2B043497; 10907 case 0x2B04349Au: goto L_2B04349A; 10908 case 0x2B04349Du: goto L_2B04349D; 10909 case 0x2B04349Eu: goto L_2B04349E; 10910 case 0x2B0434A1u: goto L_2B0434A1; 10911 case 0x2B0434A7u: goto L_2B0434A7; 10912 case 0x2B0434AAu: goto L_2B0434AA; 10913 case 0x2B0434B0u: goto L_2B0434B0; 10914 case 0x2B0434B1u: goto L_2B0434B1; 10915 case 0x2B0434B2u: goto L_2B0434B2; 10916 case 0x2B0434B3u: goto L_2B0434B3; 10917 case 0x2B0434B5u: goto L_2B0434B5; 10918 case 0x2B0434B6u: goto L_2B0434B6; 10919 case 0x2B0434B7u: goto L_2B0434B7; 10920 case 0x2B0434BEu: goto L_2B0434BE; 10921 case 0x2B0434C0u: goto L_2B0434C0; 10922 case 0x2B0434C7u: goto L_2B0434C7; 10923 case 0x2B0434C9u: goto L_2B0434C9; 10924 case 0x2B0434CCu: goto L_2B0434CC; 10925 case 0x2B0434CEu: goto L_2B0434CE; 10926 case 0x2B0434D0u: goto L_2B0434D0; 10927 case 0x2B0434D3u: goto L_2B0434D3; 10928 case 0x2B0434D5u: goto L_2B0434D5; 10929 case 0x2B0434D7u: goto L_2B0434D7; 10930 case 0x2B0434D9u: goto L_2B0434D9; 10931 case 0x2B0434DBu: goto L_2B0434DB; 10932 case 0x2B0434DDu: goto L_2B0434DD; 10933 case 0x2B0434E0u: goto L_2B0434E0; 10934 case 0x2B0434E2u: goto L_2B0434E2; 10935 case 0x2B0434E4u: goto L_2B0434E4; 10936 case 0x2B0434E6u: goto L_2B0434E6; 10937 case 0x2B0434E8u: goto L_2B0434E8; 10938 case 0x2B0434EAu: goto L_2B0434EA; 10939 case 0x2B0434EDu: goto L_2B0434ED; 10940 case 0x2B0434EFu: goto L_2B0434EF; 10941 case 0x2B0434F1u: goto L_2B0434F1; 10942 case 0x2B0434F3u: goto L_2B0434F3; 10943 case 0x2B0434F5u: goto L_2B0434F5; 10944 case 0x2B0434F7u: goto L_2B0434F7; 10945 case 0x2B0434FAu: goto L_2B0434FA; 10946 case 0x2B0434FCu: goto L_2B0434FC; 10947 case 0x2B0434FFu: goto L_2B0434FF; 10948 case 0x2B043502u: goto L_2B043502; 10949 case 0x2B043505u: goto L_2B043505; 10950 case 0x2B04350Cu: goto L_2B04350C; 10951 case 0x2B043513u: goto L_2B043513; 10952 case 0x2B043519u: goto L_2B043519; 10953 case 0x2B04351Bu: goto L_2B04351B; 10954 case 0x2B043521u: goto L_2B043521; 10955 case 0x2B043524u: goto L_2B043524; 10956 case 0x2B04352Au: goto L_2B04352A; 10957 case 0x2B043530u: goto L_2B043530; 10958 case 0x2B043531u: goto L_2B043531; 10959 case 0x2B043536u: goto L_2B043536; 10960 case 0x2B04353Bu: goto L_2B04353B; 10961 case 0x2B04353Eu: goto L_2B04353E; 10962 case 0x2B043543u: goto L_2B043543; 10963 case 0x2B043548u: goto L_2B043548; 10964 case 0x2B04354Bu: goto L_2B04354B; 10965 case 0x2B04354Du: goto L_2B04354D; 10966 case 0x2B043550u: goto L_2B043550; 10967 case 0x2B043556u: goto L_2B043556; 10968 case 0x2B043559u: goto L_2B043559; 10969 case 0x2B04355Eu: goto L_2B04355E; 10970 case 0x2B043563u: goto L_2B043563; 10971 case 0x2B043566u: goto L_2B043566; 10972 case 0x2B043568u: goto L_2B043568; 10973 case 0x2B04356Eu: goto L_2B04356E; 10974 case 0x2B04356Fu: goto L_2B04356F; 10975 case 0x2B043574u: goto L_2B043574; 10976 case 0x2B043576u: goto L_2B043576; 10977 case 0x2B043579u: goto L_2B043579; 10978 case 0x2B04357Cu: goto L_2B04357C; 10979 case 0x2B043582u: goto L_2B043582; 10980 case 0x2B043584u: goto L_2B043584; 10981 case 0x2B043586u: goto L_2B043586; 10982 case 0x2B043589u: goto L_2B043589; 10983 case 0x2B04358Cu: goto L_2B04358C; 10984 case 0x2B04358Du: goto L_2B04358D; 10985 case 0x2B043590u: goto L_2B043590; 10986 case 0x2B043595u: goto L_2B043595; 10987 case 0x2B043598u: goto L_2B043598; 10988 case 0x2B04359Bu: goto L_2B04359B; 10989 case 0x2B04359Cu: goto L_2B04359C; 10990 case 0x2B04359Fu: goto L_2B04359F; 10991 case 0x2B0435A5u: goto L_2B0435A5; 10992 case 0x2B0435A7u: goto L_2B0435A7; 10993 case 0x2B0435AAu: goto L_2B0435AA; 10994 case 0x2B0435ADu: goto L_2B0435AD; 10995 case 0x2B0435AFu: goto L_2B0435AF; 10996 case 0x2B0435B5u: goto L_2B0435B5; 10997 case 0x2B0435B8u: goto L_2B0435B8; 10998 case 0x2B0435BAu: goto L_2B0435BA; 10999 case 0x2B0435BBu: goto L_2B0435BB; 11000 case 0x2B0435C1u: goto L_2B0435C1; 11001 case 0x2B0435C3u: goto L_2B0435C3; 11002 case 0x2B0435C8u: goto L_2B0435C8; 11003 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 11004 } 11005 RECOMP_REGS_OUT(); 11006 } 11007 11008 void sub_2B043494(void) { 11009 int _fpu_cmp = 0; 11010 uint32_t _cf = 0; 11011 int _df = 1; 11012 uint32_t _flag_k = FK_NONE; 11013 uint32_t _flag_a = 0, _flag_b = 0; 11014 uint32_t _itail_tgt = 0; 11015 RECOMP_REGS_LOCALS 11016 RECOMP_ENTER(0x2B043494u); 11017 11018 goto L_2B043494; 11019 L_2B043286: 11020 edi = MEM32(ebp + (-0x4)); /* 0x2B043286: mov edi, dword ptr [ebp - 4] */ 11021 L_2B043289: 11022 esi = MEM32(edi + 0x8); /* 0x2B043289: mov esi, dword ptr [edi + 8] */ 11023 L_2B04328C: 11024 RECOMP_ICALL(MEM32(0x2B0B53BC)); /* 0x2B04328C: call dword ptr [0x2b0b53bc] */ 11025 RECOMP_FLAGS_IN(); 11026 L_2B043292: 11027 eax = MEM32(eax + 0x28); /* 0x2B043292: mov eax, dword ptr [eax + 0x28] */ 11028 L_2B043295: 11029 edx = MEM32(esi + 0xC); /* 0x2B043295: mov edx, dword ptr [esi + 0xc] */ 11030 L_2B043298: 11031 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 11032 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11033 edx = edx - eax; /* 0x2B043298: sub edx, eax */ 11034 _flag_k = FK_CMP; 11035 L_2B04329A: 11036 PUSH32(esp, 0); /* 0x2B04329A: push 0 */ 11037 L_2B04329C: 11038 PUSH32(esp, esi); /* 0x2B04329C: push esi */ 11039 L_2B04329D: 11040 MEM32(esi + 0xC) = edx; /* 0x2B04329D: mov dword ptr [esi + 0xc], edx */ 11041 L_2B0432A0: 11042 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0432A0: call dword ptr [0x2b0b5d6c] */ 11043 RECOMP_FLAGS_IN(); 11044 L_2B0432A6: 11045 ecx = eax; /* 0x2B0432A6: mov ecx, eax */ 11046 L_2B0432A8: 11047 RECOMP_ICALL(MEM32(0x2B0B5EE0)); /* 0x2B0432A8: call dword ptr [0x2b0b5ee0] */ 11048 RECOMP_FLAGS_IN(); 11049 L_2B0432AE: 11050 edx = MEM32(esi + 0xC); /* 0x2B0432AE: mov edx, dword ptr [esi + 0xc] */ 11051 L_2B0432B1: 11052 ecx = eax; /* 0x2B0432B1: mov ecx, eax */ 11053 L_2B0432B3: 11054 eax = 0x10624DD3u; /* 0x2B0432B3: mov eax, 0x10624dd3 */ 11055 L_2B0432B8: 11056 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x2B0432B8: imul edx */ 11057 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 11058 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 11059 L_2B0432BA: 11060 if (6u) _cf = (((edx) >> 5) & 1u); /* 0x2B0432BA: sar edx, 6 */ 11061 if (6u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 6u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11062 edx = (uint32_t)((int32_t)edx >> 6u); 11063 L_2B0432BD: 11064 eax = edx; /* 0x2B0432BD: mov eax, edx */ 11065 L_2B0432BF: 11066 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B0432BF: shr eax, 0x1f */ 11067 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11068 eax = eax >> 31u; /* 0x2B0432BF: shr eax, 0x1f */ 11069 L_2B0432C2: 11070 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 11071 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11072 edx = edx + eax; /* 0x2B0432C2: add edx, eax */ 11073 _flag_k = FK_ADD; 11074 L_2B0432C4: 11075 SET_LO8(eax, MEM8(esi + 0x2C)); /* 0x2B0432C4: mov al, byte ptr [esi + 0x2c] */ 11076 L_2B0432C7: 11077 if (19u) _cf = (((ecx) >> 18) & 1u); /* 0x2B0432C7: shr ecx, 0x13 */ 11078 if (19u) { _flag_a = recomp_flags_pack((ecx >> 19u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11079 ecx = ecx >> 19u; /* 0x2B0432C7: shr ecx, 0x13 */ 11080 L_2B0432CA: 11081 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(1) << 24; 11082 SET_LO8(ecx, LO8(ecx) & 1); /* 0x2B0432CA: and cl, 1 */ 11083 _cf = 0; 11084 _flag_k = FK_NARROW(FK_TEST, 24); 11085 L_2B0432CD: 11086 /* test LO8(eax), LO8(eax) */ /* 0x2B0432CD: test al, al */ 11087 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11088 _cf = 0; 11089 _flag_k = FK_NARROW(FK_TEST, 24); 11090 L_2B0432CF: 11091 ebx = edx; /* 0x2B0432CF: mov ebx, edx */ 11092 L_2B0432D1: 11093 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B043338; /* 0x2B0432D1: jne 0x2b043338 */ 11094 L_2B0432D3: 11095 /* cmp ebx, 0xAu */ /* 0x2B0432D3: cmp ebx, 0xa */ 11096 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0xAu); 11097 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11098 _flag_k = FK_CMP; 11099 L_2B0432D6: 11100 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_G, _cf)) goto L_2B043338; /* 0x2B0432D6: jg 0x2b043338 */ 11101 L_2B0432D8: 11102 /* cmp ebx, 2 */ /* 0x2B0432D8: cmp ebx, 2 */ 11103 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(2); 11104 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11105 _flag_k = FK_CMP; 11106 L_2B0432DB: 11107 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_2B043338; /* 0x2B0432DB: jle 0x2b043338 */ 11108 L_2B0432DD: 11109 /* test LO8(ecx), LO8(ecx) */ /* 0x2B0432DD: test cl, cl */ 11110 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 11111 _cf = 0; 11112 _flag_k = FK_NARROW(FK_TEST, 24); 11113 L_2B0432DF: 11114 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B043338; /* 0x2B0432DF: jne 0x2b043338 */ 11115 L_2B0432E1: 11116 PUSH32(esp, ebx); /* 0x2B0432E1: push ebx */ 11117 L_2B0432E2: 11118 PUSH32(esp, esi); /* 0x2B0432E2: push esi */ 11119 L_2B0432E3: 11120 MEM8(esi + 0x2C) = (uint8_t)(1); /* 0x2B0432E3: mov byte ptr [esi + 0x2c], 1 */ 11121 L_2B0432E7: 11122 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0432E7: call dword ptr [0x2b0b5d6c] */ 11123 RECOMP_FLAGS_IN(); 11124 L_2B0432ED: 11125 ecx = eax; /* 0x2B0432ED: mov ecx, eax */ 11126 L_2B0432EF: 11127 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B0432EF: call dword ptr [0x2b0b5d50] */ 11128 RECOMP_FLAGS_IN(); 11129 L_2B0432F5: 11130 PUSH32(esp, eax); /* 0x2B0432F5: push eax */ 11131 L_2B0432F6: 11132 PUSH32(esp, 0x2B0E7378u); /* 0x2B0432F6: push 0x2b0e7378 */ 11133 L_2B0432FB: 11134 ecx = ebp + (-0xB4); /* 0x2B0432FB: lea ecx, [ebp - 0xb4] */ 11135 L_2B043301: 11136 PUSH32(esp, 0x64u); /* 0x2B043301: push 0x64 */ 11137 L_2B043303: 11138 PUSH32(esp, ecx); /* 0x2B043303: push ecx */ 11139 L_2B043304: 11140 RECOMP_ICALL(0x2B012180u); /* 0x2B043304: call 0x2b012180 */ /* not lifted */ 11141 RECOMP_FLAGS_IN(); 11142 L_2B043309: 11143 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 11144 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11145 esp = esp + 0x14u; /* 0x2B043309: add esp, 0x14 */ 11146 _flag_k = FK_ADD; 11147 L_2B04330C: 11148 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11149 ecx = ecx | 0xFFFFFFFFu; /* 0x2B04330C: or ecx, 0xffffffff */ 11150 _cf = 0; 11151 _flag_k = FK_TEST; 11152 L_2B04330F: 11153 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11154 eax = 0; /* 0x2B04330F: xor eax, eax */ 11155 _cf = 0; 11156 _flag_k = FK_TEST; 11157 L_2B043311: 11158 edi = ebp + (-0xB4); /* 0x2B043311: lea edi, [ebp - 0xb4] */ 11159 L_2B043317: 11160 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; } /* 0x2B043317: repne scasb al, byte ptr es:[edi] */ 11161 L_2B043319: 11162 ecx = ~ecx; /* 0x2B043319: not ecx */ 11163 L_2B04331B: 11164 PUSH32(esp, ecx); /* 0x2B04331B: push ecx */ 11165 L_2B04331C: 11166 edx = ebp + (-0xB4); /* 0x2B04331C: lea edx, [ebp - 0xb4] */ 11167 L_2B043322: 11168 PUSH32(esp, edx); /* 0x2B043322: push edx */ 11169 L_2B043323: 11170 PUSH32(esp, 0x3Fu); /* 0x2B043323: push 0x3f */ 11171 L_2B043325: 11172 PUSH32(esp, 3); /* 0x2B043325: push 3 */ 11173 L_2B043327: 11174 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B043327: call dword ptr [0x2b0b53cc] */ 11175 RECOMP_FLAGS_IN(); 11176 L_2B04332D: 11177 ecx = eax; /* 0x2B04332D: mov ecx, eax */ 11178 L_2B04332F: 11179 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B04332F: call dword ptr [0x2b0b53c4] */ 11180 RECOMP_FLAGS_IN(); 11181 L_2B043335: 11182 edi = MEM32(ebp + (-0x4)); /* 0x2B043335: mov edi, dword ptr [ebp - 4] */ 11183 L_2B043338: 11184 eax = MEM32(ebp + (-0x8)); /* 0x2B043338: mov eax, dword ptr [ebp - 8] */ 11185 L_2B04333B: 11186 SET_LO8(ecx, MEM8(eax + 0xA1)); /* 0x2B04333B: mov cl, byte ptr [eax + 0xa1] */ 11187 L_2B043341: 11188 /* test LO8(ecx), LO8(ecx) */ /* 0x2B043341: test cl, cl */ 11189 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 11190 _cf = 0; 11191 _flag_k = FK_NARROW(FK_TEST, 24); 11192 L_2B043343: 11193 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0433FD; /* 0x2B043343: je 0x2b0433fd */ 11194 L_2B043349: 11195 ecx = MEM32(ebp + (-0xC)); /* 0x2B043349: mov ecx, dword ptr [ebp - 0xc] */ 11196 L_2B04334C: 11197 /* cmp ecx, MEM32(eax + 0xA4) */ /* 0x2B04334C: cmp ecx, dword ptr [eax + 0xa4] */ 11198 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax + 0xA4)); 11199 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11200 _flag_k = FK_CMP; 11201 L_2B043352: 11202 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B0433FD; /* 0x2B043352: jne 0x2b0433fd */ 11203 L_2B043358: 11204 /* cmp ebx, MEM32(esi + 0x14) */ /* 0x2B043358: cmp ebx, dword ptr [esi + 0x14] */ 11205 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x14)); 11206 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11207 _flag_k = FK_CMP; 11208 L_2B04335B: 11209 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0433FD; /* 0x2B04335B: je 0x2b0433fd */ 11210 L_2B043361: 11211 eax = 0x91A2B3C5u; /* 0x2B043361: mov eax, 0x91a2b3c5 */ 11212 L_2B043366: 11213 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ebx); /* 0x2B043366: imul ebx */ 11214 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 11215 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 11216 L_2B043368: 11217 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 11218 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11219 edx = edx + ebx; /* 0x2B043368: add edx, ebx */ 11220 _flag_k = FK_ADD; 11221 L_2B04336A: 11222 if (11u) _cf = (((edx) >> 10) & 1u); /* 0x2B04336A: sar edx, 0xb */ 11223 if (11u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 11u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11224 edx = (uint32_t)((int32_t)edx >> 11u); 11225 L_2B04336D: 11226 eax = edx; /* 0x2B04336D: mov eax, edx */ 11227 L_2B04336F: 11228 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B04336F: shr eax, 0x1f */ 11229 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11230 eax = eax >> 31u; /* 0x2B04336F: shr eax, 0x1f */ 11231 L_2B043372: 11232 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 11233 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11234 edx = edx + eax; /* 0x2B043372: add edx, eax */ 11235 _flag_k = FK_ADD; 11236 L_2B043374: 11237 ecx = edx; /* 0x2B043374: mov ecx, edx */ 11238 L_2B043376: 11239 eax = ecx; /* 0x2B043376: mov eax, ecx */ 11240 L_2B043378: 11241 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 11242 _cf = (eax) != 0; 11243 eax = (uint32_t)(-(int32_t)eax); /* 0x2B043378: neg eax */ 11244 _flag_k = FK_CMP; 11245 L_2B04337A: 11246 if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2B04337A: shl eax, 2 */ 11247 if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11248 eax = eax << 2u; /* 0x2B04337A: shl eax, 2 */ 11249 L_2B04337D: 11250 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11251 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11252 eax = eax - ecx; /* 0x2B04337D: sub eax, ecx */ 11253 _flag_k = FK_CMP; 11254 L_2B04337F: 11255 eax = eax + eax * 4; /* 0x2B04337F: lea eax, [eax + eax*4] */ 11256 L_2B043382: 11257 edx = eax + eax * 8; /* 0x2B043382: lea edx, [eax + eax*8] */ 11258 L_2B043385: 11259 if (4u) _cf = (((edx) >> 28) & 1u); /* 0x2B043385: shl edx, 4 */ 11260 if (4u) { _flag_a = recomp_flags_pack((edx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11261 edx = edx << 4u; /* 0x2B043385: shl edx, 4 */ 11262 L_2B043388: 11263 MEM32(esi + 0x14) = ebx; /* 0x2B043388: mov dword ptr [esi + 0x14], ebx */ 11264 L_2B04338B: 11265 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 11266 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11267 ebx = ebx + edx; /* 0x2B04338B: add ebx, edx */ 11268 _flag_k = FK_ADD; 11269 L_2B04338D: 11270 eax = 0x88888889u; /* 0x2B04338D: mov eax, 0x88888889 */ 11271 L_2B043392: 11272 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ebx); /* 0x2B043392: imul ebx */ 11273 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 11274 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 11275 L_2B043394: 11276 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 11277 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11278 edx = edx + ebx; /* 0x2B043394: add edx, ebx */ 11279 _flag_k = FK_ADD; 11280 L_2B043396: 11281 if (5u) _cf = (((edx) >> 4) & 1u); /* 0x2B043396: sar edx, 5 */ 11282 if (5u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 5u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11283 edx = (uint32_t)((int32_t)edx >> 5u); 11284 L_2B043399: 11285 eax = edx; /* 0x2B043399: mov eax, edx */ 11286 L_2B04339B: 11287 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B04339B: shr eax, 0x1f */ 11288 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11289 eax = eax >> 31u; /* 0x2B04339B: shr eax, 0x1f */ 11290 L_2B04339E: 11291 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 11292 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11293 edx = edx + eax; /* 0x2B04339E: add edx, eax */ 11294 _flag_k = FK_ADD; 11295 L_2B0433A0: 11296 eax = edx + edx * 2; /* 0x2B0433A0: lea eax, [edx + edx*2] */ 11297 L_2B0433A3: 11298 eax = eax + eax * 4; /* 0x2B0433A3: lea eax, [eax + eax*4] */ 11299 L_2B0433A6: 11300 if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2B0433A6: shl eax, 2 */ 11301 if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11302 eax = eax << 2u; /* 0x2B0433A6: shl eax, 2 */ 11303 L_2B0433A9: 11304 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 11305 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11306 ebx = ebx - eax; /* 0x2B0433A9: sub ebx, eax */ 11307 _flag_k = FK_CMP; 11308 L_2B0433AB: 11309 PUSH32(esp, ebx); /* 0x2B0433AB: push ebx */ 11310 L_2B0433AC: 11311 ebx = MEM32(0x2B0B5D6C); /* 0x2B0433AC: mov ebx, dword ptr [0x2b0b5d6c] */ 11312 L_2B0433B2: 11313 PUSH32(esp, edx); /* 0x2B0433B2: push edx */ 11314 L_2B0433B3: 11315 PUSH32(esp, ecx); /* 0x2B0433B3: push ecx */ 11316 L_2B0433B4: 11317 ecx = MEM32(edi + 0x8); /* 0x2B0433B4: mov ecx, dword ptr [edi + 8] */ 11318 L_2B0433B7: 11319 PUSH32(esp, 0x36u); /* 0x2B0433B7: push 0x36 */ 11320 L_2B0433B9: 11321 PUSH32(esp, ecx); /* 0x2B0433B9: push ecx */ 11322 L_2B0433BA: 11323 RECOMP_ICALL(ebx); /* 0x2B0433BA: call ebx */ 11324 RECOMP_FLAGS_IN(); 11325 L_2B0433BC: 11326 ecx = eax; /* 0x2B0433BC: mov ecx, eax */ 11327 L_2B0433BE: 11328 RECOMP_ICALL(MEM32(0x2B0B5EE0)); /* 0x2B0433BE: call dword ptr [0x2b0b5ee0] */ 11329 RECOMP_FLAGS_IN(); 11330 L_2B0433C4: 11331 edx = MEM32(edi + 0x8); /* 0x2B0433C4: mov edx, dword ptr [edi + 8] */ 11332 L_2B0433C7: 11333 PUSH32(esp, eax); /* 0x2B0433C7: push eax */ 11334 L_2B0433C8: 11335 PUSH32(esp, edx); /* 0x2B0433C8: push edx */ 11336 L_2B0433C9: 11337 RECOMP_ICALL(ebx); /* 0x2B0433C9: call ebx */ 11338 RECOMP_FLAGS_IN(); 11339 L_2B0433CB: 11340 ecx = eax; /* 0x2B0433CB: mov ecx, eax */ 11341 L_2B0433CD: 11342 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B0433CD: call dword ptr [0x2b0b5d50] */ 11343 RECOMP_FLAGS_IN(); 11344 L_2B0433D3: 11345 PUSH32(esp, eax); /* 0x2B0433D3: push eax */ 11346 L_2B0433D4: 11347 eax = ebp + (-0x50); /* 0x2B0433D4: lea eax, [ebp - 0x50] */ 11348 L_2B0433D7: 11349 PUSH32(esp, 0x2B0E7360u); /* 0x2B0433D7: push 0x2b0e7360 */ 11350 L_2B0433DC: 11351 PUSH32(esp, eax); /* 0x2B0433DC: push eax */ 11352 L_2B0433DD: 11353 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B0433DD: call dword ptr [0x2b0b51f0] */ 11354 RECOMP_FLAGS_IN(); 11355 L_2B0433E3: 11356 ebx = MEM32(ebp + (-0x8)); /* 0x2B0433E3: mov ebx, dword ptr [ebp - 8] */ 11357 L_2B0433E6: 11358 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 11359 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11360 esp = esp + 0x1Cu; /* 0x2B0433E6: add esp, 0x1c */ 11361 _flag_k = FK_ADD; 11362 L_2B0433E9: 11363 ecx = ebp + (-0x50); /* 0x2B0433E9: lea ecx, [ebp - 0x50] */ 11364 L_2B0433EC: 11365 PUSH32(esp, ecx); /* 0x2B0433EC: push ecx */ 11366 L_2B0433ED: 11367 ecx = MEM32(ebx + 0x6C); /* 0x2B0433ED: mov ecx, dword ptr [ebx + 0x6c] */ 11368 L_2B0433F0: 11369 RECOMP_ICALL(MEM32(0x2B0B5850)); /* 0x2B0433F0: call dword ptr [0x2b0b5850] */ 11370 RECOMP_FLAGS_IN(); 11371 L_2B0433F6: 11372 ecx = ebx; /* 0x2B0433F6: mov ecx, ebx */ 11373 L_2B0433F8: 11374 RECOMP_ICALL(0x2B042240u); /* 0x2B0433F8: call 0x2b042240 */ /* not lifted */ 11375 RECOMP_FLAGS_IN(); 11376 L_2B0433FD: 11377 ecx = MEM32(esi + 0x20); /* 0x2B0433FD: mov ecx, dword ptr [esi + 0x20] */ 11378 L_2B043400: 11379 /* test ecx, ecx */ /* 0x2B043400: test ecx, ecx */ 11380 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11381 _cf = 0; 11382 _flag_k = FK_TEST; 11383 L_2B043402: 11384 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B043479; /* 0x2B043402: je 0x2b043479 */ 11385 L_2B043404: 11386 eax = MEM32(esi + 0xC); /* 0x2B043404: mov eax, dword ptr [esi + 0xc] */ 11387 L_2B043407: 11388 eax = eax + eax * 4; /* 0x2B043407: lea eax, [eax + eax*4] */ 11389 L_2B04340A: 11390 if (3u) _cf = (((eax) >> 29) & 1u); /* 0x2B04340A: shl eax, 3 */ 11391 if (3u) { _flag_a = recomp_flags_pack((eax << 3u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11392 eax = eax << 3u; /* 0x2B04340A: shl eax, 3 */ 11393 L_2B04340D: 11394 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B04340D: cdq */ 11395 L_2B04340E: 11396 { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)MEM32(esi + 0x10); /* 0x2B04340E: idiv dword ptr [esi + 0x10] */ 11397 if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); } 11398 else { eax = 0; edx = 0; } } 11399 L_2B043411: 11400 ebx = eax; /* 0x2B043411: mov ebx, eax */ 11401 L_2B043413: 11402 /* cmp ebx, MEM32(esi + 0x18) */ /* 0x2B043413: cmp ebx, dword ptr [esi + 0x18] */ 11403 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x18)); 11404 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11405 _flag_k = FK_CMP; 11406 L_2B043416: 11407 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B043479; /* 0x2B043416: je 0x2b043479 */ 11408 L_2B043418: 11409 edx = MEM32(ecx + 0x14); /* 0x2B043418: mov edx, dword ptr [ecx + 0x14] */ 11410 L_2B04341B: 11411 eax = MEM32(edx + 0xC); /* 0x2B04341B: mov eax, dword ptr [edx + 0xc] */ 11412 L_2B04341E: 11413 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B04341E: cdq */ 11414 L_2B04341F: 11415 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 11416 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11417 eax = eax - edx; /* 0x2B04341F: sub eax, edx */ 11418 _flag_k = FK_CMP; 11419 L_2B043421: 11420 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B043421: sar eax, 1 */ 11421 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11422 eax = (uint32_t)((int32_t)eax >> 1u); 11423 L_2B043423: 11424 /* cmp ebx, eax */ /* 0x2B043423: cmp ebx, eax */ 11425 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 11426 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11427 _flag_k = FK_CMP; 11428 L_2B043425: 11429 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_2B043429; /* 0x2B043425: jle 0x2b043429 */ 11430 L_2B043427: 11431 ebx = eax; /* 0x2B043427: mov ebx, eax */ 11432 L_2B043429: 11433 eax = ebp + (-0x14); /* 0x2B043429: lea eax, [ebp - 0x14] */ 11434 L_2B04342C: 11435 PUSH32(esp, eax); /* 0x2B04342C: push eax */ 11436 L_2B04342D: 11437 MEM32(esi + 0x18) = ebx; /* 0x2B04342D: mov dword ptr [esi + 0x18], ebx */ 11438 L_2B043430: 11439 MEM32(ebp + (-0x14)) = ebx; /* 0x2B043430: mov dword ptr [ebp - 0x14], ebx */ 11440 L_2B043433: 11441 MEM32(ebp + (-0x10)) = 0x18u; /* 0x2B043433: mov dword ptr [ebp - 0x10], 0x18 */ 11442 L_2B04343A: 11443 RECOMP_ICALL(MEM32(0x2B0B5844)); /* 0x2B04343A: call dword ptr [0x2b0b5844] */ 11444 RECOMP_FLAGS_IN(); 11445 L_2B043440: 11446 ecx = ebx + 0x28; /* 0x2B043440: lea ecx, [ebx + 0x28] */ 11447 L_2B043443: 11448 edx = ebp + (-0x1C); /* 0x2B043443: lea edx, [ebp - 0x1c] */ 11449 L_2B043446: 11450 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B043446: mov dword ptr [ebp - 0x1c], ecx */ 11451 L_2B043449: 11452 ecx = MEM32(esi + 0x24); /* 0x2B043449: mov ecx, dword ptr [esi + 0x24] */ 11453 L_2B04344C: 11454 PUSH32(esp, edx); /* 0x2B04344C: push edx */ 11455 L_2B04344D: 11456 MEM32(ebp + (-0x18)) = 0; /* 0x2B04344D: mov dword ptr [ebp - 0x18], 0 */ 11457 L_2B043454: 11458 RECOMP_ICALL(MEM32(0x2B0B5848)); /* 0x2B043454: call dword ptr [0x2b0b5848] */ 11459 RECOMP_FLAGS_IN(); 11460 L_2B04345A: 11461 ecx = ebp + (-0x14); /* 0x2B04345A: lea ecx, [ebp - 0x14] */ 11462 L_2B04345D: 11463 eax = 0x28u; /* 0x2B04345D: mov eax, 0x28 */ 11464 L_2B043462: 11465 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 11466 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11467 eax = eax - ebx; /* 0x2B043462: sub eax, ebx */ 11468 _flag_k = FK_CMP; 11469 L_2B043464: 11470 PUSH32(esp, ecx); /* 0x2B043464: push ecx */ 11471 L_2B043465: 11472 ecx = MEM32(esi + 0x24); /* 0x2B043465: mov ecx, dword ptr [esi + 0x24] */ 11473 L_2B043468: 11474 MEM32(ebp + (-0x14)) = eax; /* 0x2B043468: mov dword ptr [ebp - 0x14], eax */ 11475 L_2B04346B: 11476 RECOMP_ICALL(MEM32(0x2B0B5844)); /* 0x2B04346B: call dword ptr [0x2b0b5844] */ 11477 RECOMP_FLAGS_IN(); 11478 L_2B043471: 11479 ecx = MEM32(ebp + (-0x8)); /* 0x2B043471: mov ecx, dword ptr [ebp - 8] */ 11480 L_2B043474: 11481 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B043474: call 0x2b03a2b0 */ /* not lifted */ 11482 RECOMP_FLAGS_IN(); 11483 L_2B043479: 11484 eax = MEM32(esi + 0x8); /* 0x2B043479: mov eax, dword ptr [esi + 8] */ 11485 L_2B04347C: 11486 /* cmp eax, 3 */ /* 0x2B04347C: cmp eax, 3 */ 11487 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 11488 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11489 _flag_k = FK_CMP; 11490 L_2B04347F: 11491 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_2B04348F; /* 0x2B04347F: ja 0x2b04348f */ 11492 L_2B043481: 11493 { _itail_tgt = (uint32_t)(MEM32(eax * 4 + 0x2B0435D0)); goto _ljump; } 11494 L_2B043488: 11495 MEM32(esi + 0x8) = 3; /* 0x2B043488: mov dword ptr [esi + 8], 3 */ 11496 L_2B04348F: 11497 edx = MEM32(edi); /* 0x2B04348F: mov edx, dword ptr [edi] */ 11498 L_2B043491: 11499 MEM32(ebp + (-0x4)) = edx; /* 0x2B043491: mov dword ptr [ebp - 4], edx */ 11500 L_2B043494: 11501 ecx = MEM32(ebp + (-0xC)); /* 0x2B043494: mov ecx, dword ptr [ebp - 0xc] */ 11502 L_2B043497: 11503 eax = MEM32(ebp + (-0x8)); /* 0x2B043497: mov eax, dword ptr [ebp - 8] */ 11504 L_2B04349A: 11505 edx = MEM32(ebp + (-0x4)); /* 0x2B04349A: mov edx, dword ptr [ebp - 4] */ 11506 L_2B04349D: 11507 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 11508 ecx = ecx + 1; /* 0x2B04349D: inc ecx */ 11509 _flag_k = FK_INC; 11510 L_2B04349E: 11511 MEM32(ebp + (-0xC)) = ecx; /* 0x2B04349E: mov dword ptr [ebp - 0xc], ecx */ 11512 L_2B0434A1: 11513 ecx = MEM32(eax + 0x8C); /* 0x2B0434A1: mov ecx, dword ptr [eax + 0x8c] */ 11514 L_2B0434A7: 11515 /* cmp MEM32(ecx + 0x4), edx */ /* 0x2B0434A7: cmp dword ptr [ecx + 4], edx */ 11516 _flag_a = (uint32_t)(MEM32(ecx + 0x4)); _flag_b = (uint32_t)(edx); 11517 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11518 _flag_k = FK_CMP; 11519 L_2B0434AA: 11520 RECOMP_BACKEDGE(); 11521 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B043286; /* 0x2B0434AA: jne 0x2b043286 */ 11522 L_2B0434B0: 11523 ebx = POP32_VAL(esp); /* 0x2B0434B0: pop ebx */ 11524 L_2B0434B1: 11525 edi = POP32_VAL(esp); /* 0x2B0434B1: pop edi */ 11526 L_2B0434B2: 11527 esi = POP32_VAL(esp); /* 0x2B0434B2: pop esi */ 11528 L_2B0434B3: 11529 esp = ebp; /* 0x2B0434B3: mov esp, ebp */ 11530 L_2B0434B5: 11531 ebp = POP32_VAL(esp); /* 0x2B0434B5: pop ebp */ 11532 L_2B0434B6: 11533 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0434B6: ret */ 11534 L_2B0434B7: 11535 /* cmp MEM32(esi + 0xC), 0x1388u */ /* 0x2B0434B7: cmp dword ptr [esi + 0xc], 0x1388 */ 11536 _flag_a = (uint32_t)(MEM32(esi + 0xC)); _flag_b = (uint32_t)(0x1388u); 11537 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11538 _flag_k = FK_CMP; 11539 L_2B0434BE: 11540 RECOMP_BACKEDGE(); 11541 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_GE, _cf)) goto L_2B04348F; /* 0x2B0434BE: jge 0x2b04348f */ 11542 L_2B0434C0: 11543 MEM32(esi + 0x8) = 1; /* 0x2B0434C0: mov dword ptr [esi + 8], 1 */ 11544 L_2B0434C7: 11545 RECOMP_BACKEDGE(); 11546 goto L_2B04348F; /* 0x2B0434C7: jmp 0x2b04348f */ 11547 L_2B0434C9: 11548 eax = MEM32(esi + 0xC); /* 0x2B0434C9: mov eax, dword ptr [esi + 0xc] */ 11549 L_2B0434CC: 11550 /* test eax, eax */ /* 0x2B0434CC: test eax, eax */ 11551 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11552 _cf = 0; 11553 _flag_k = FK_TEST; 11554 L_2B0434CE: 11555 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_G, _cf)) goto L_2B04353B; /* 0x2B0434CE: jg 0x2b04353b */ 11556 L_2B0434D0: 11557 ecx = MEM32(esi + 0x20); /* 0x2B0434D0: mov ecx, dword ptr [esi + 0x20] */ 11558 L_2B0434D3: 11559 /* test ecx, ecx */ /* 0x2B0434D3: test ecx, ecx */ 11560 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11561 _cf = 0; 11562 _flag_k = FK_TEST; 11563 L_2B0434D5: 11564 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0434DD; /* 0x2B0434D5: je 0x2b0434dd */ 11565 L_2B0434D7: 11566 edx = MEM32(ecx); /* 0x2B0434D7: mov edx, dword ptr [ecx] */ 11567 L_2B0434D9: 11568 PUSH32(esp, 1); /* 0x2B0434D9: push 1 */ 11569 L_2B0434DB: 11570 RECOMP_ICALL(MEM32(edx)); /* 0x2B0434DB: call dword ptr [edx] */ 11571 RECOMP_FLAGS_IN(); 11572 L_2B0434DD: 11573 ecx = MEM32(esi + 0x24); /* 0x2B0434DD: mov ecx, dword ptr [esi + 0x24] */ 11574 L_2B0434E0: 11575 /* test ecx, ecx */ /* 0x2B0434E0: test ecx, ecx */ 11576 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11577 _cf = 0; 11578 _flag_k = FK_TEST; 11579 L_2B0434E2: 11580 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0434EA; /* 0x2B0434E2: je 0x2b0434ea */ 11581 L_2B0434E4: 11582 eax = MEM32(ecx); /* 0x2B0434E4: mov eax, dword ptr [ecx] */ 11583 L_2B0434E6: 11584 PUSH32(esp, 1); /* 0x2B0434E6: push 1 */ 11585 L_2B0434E8: 11586 RECOMP_ICALL(MEM32(eax)); /* 0x2B0434E8: call dword ptr [eax] */ 11587 RECOMP_FLAGS_IN(); 11588 L_2B0434EA: 11589 ecx = MEM32(esi + 0x28); /* 0x2B0434EA: mov ecx, dword ptr [esi + 0x28] */ 11590 L_2B0434ED: 11591 /* test ecx, ecx */ /* 0x2B0434ED: test ecx, ecx */ 11592 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11593 _cf = 0; 11594 _flag_k = FK_TEST; 11595 L_2B0434EF: 11596 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0434F7; /* 0x2B0434EF: je 0x2b0434f7 */ 11597 L_2B0434F1: 11598 edx = MEM32(ecx); /* 0x2B0434F1: mov edx, dword ptr [ecx] */ 11599 L_2B0434F3: 11600 PUSH32(esp, 1); /* 0x2B0434F3: push 1 */ 11601 L_2B0434F5: 11602 RECOMP_ICALL(MEM32(edx)); /* 0x2B0434F5: call dword ptr [edx] */ 11603 RECOMP_FLAGS_IN(); 11604 L_2B0434F7: 11605 ecx = MEM32(ebp + (-0x8)); /* 0x2B0434F7: mov ecx, dword ptr [ebp - 8] */ 11606 L_2B0434FA: 11607 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11608 eax = 0; /* 0x2B0434FA: xor eax, eax */ 11609 _cf = 0; 11610 _flag_k = FK_TEST; 11611 L_2B0434FC: 11612 MEM32(esi + 0x20) = eax; /* 0x2B0434FC: mov dword ptr [esi + 0x20], eax */ 11613 L_2B0434FF: 11614 MEM32(esi + 0x24) = eax; /* 0x2B0434FF: mov dword ptr [esi + 0x24], eax */ 11615 L_2B043502: 11616 MEM32(esi + 0x28) = eax; /* 0x2B043502: mov dword ptr [esi + 0x28], eax */ 11617 L_2B043505: 11618 MEM32(esi + 0x8) = 2; /* 0x2B043505: mov dword ptr [esi + 8], 2 */ 11619 L_2B04350C: 11620 MEM32(esi + 0xC) = 0x7D0u; /* 0x2B04350C: mov dword ptr [esi + 0xc], 0x7d0 */ 11621 L_2B043513: 11622 SET_LO8(edx, MEM8(ecx + 0xA1)); /* 0x2B043513: mov dl, byte ptr [ecx + 0xa1] */ 11623 L_2B043519: 11624 /* test LO8(edx), LO8(edx) */ /* 0x2B043519: test dl, dl */ 11625 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 11626 _cf = 0; 11627 _flag_k = FK_NARROW(FK_TEST, 24); 11628 L_2B04351B: 11629 RECOMP_BACKEDGE(); 11630 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B04348F; /* 0x2B04351B: je 0x2b04348f */ 11631 L_2B043521: 11632 edx = MEM32(ebp + (-0xC)); /* 0x2B043521: mov edx, dword ptr [ebp - 0xc] */ 11633 L_2B043524: 11634 /* cmp edx, MEM32(ecx + 0xA4) */ /* 0x2B043524: cmp edx, dword ptr [ecx + 0xa4] */ 11635 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ecx + 0xA4)); 11636 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11637 _flag_k = FK_CMP; 11638 L_2B04352A: 11639 RECOMP_BACKEDGE(); 11640 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B04348F; /* 0x2B04352A: jne 0x2b04348f */ 11641 L_2B043530: 11642 PUSH32(esp, eax); /* 0x2B043530: push eax */ 11643 L_2B043531: 11644 RECOMP_ICALL(0x2B043700u); /* 0x2B043531: call 0x2b043700 */ /* not lifted */ 11645 RECOMP_FLAGS_IN(); 11646 L_2B043536: 11647 RECOMP_BACKEDGE(); 11648 goto L_2B04348F; /* 0x2B043536: jmp 0x2b04348f */ 11649 L_2B04353B: 11650 SET_LO8(ecx, MEM8(esi + 0x1C)); /* 0x2B04353B: mov cl, byte ptr [esi + 0x1c] */ 11651 L_2B04353E: 11652 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x100u); 11653 eax = eax & 0x100u; /* 0x2B04353E: and eax, 0x100 */ 11654 _cf = 0; 11655 _flag_k = FK_TEST; 11656 L_2B043543: 11657 /* cmp eax, 0x80u */ /* 0x2B043543: cmp eax, 0x80 */ 11658 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80u); 11659 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11660 _flag_k = FK_CMP; 11661 L_2B043548: 11662 SET_LO8(eax, (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) ? 1 : 0); /* 0x2B043548: setle al */ 11663 L_2B04354B: 11664 /* cmp LO8(ecx), LO8(eax) */ /* 0x2B04354B: cmp cl, al */ 11665 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11666 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11667 _flag_k = FK_NARROW(FK_CMP, 24); 11668 L_2B04354D: 11669 MEM8(esi + 0x1C) = (uint8_t)(LO8(eax)); /* 0x2B04354D: mov byte ptr [esi + 0x1c], al */ 11670 L_2B043550: 11671 RECOMP_BACKEDGE(); 11672 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B04348F; /* 0x2B043550: je 0x2b04348f */ 11673 L_2B043556: 11674 ecx = MEM32(ebp + (-0x8)); /* 0x2B043556: mov ecx, dword ptr [ebp - 8] */ 11675 L_2B043559: 11676 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B043559: call 0x2b03a2b0 */ /* not lifted */ 11677 RECOMP_FLAGS_IN(); 11678 L_2B04355E: 11679 RECOMP_BACKEDGE(); 11680 goto L_2B04348F; /* 0x2B04355E: jmp 0x2b04348f */ 11681 L_2B043563: 11682 eax = MEM32(esi + 0xC); /* 0x2B043563: mov eax, dword ptr [esi + 0xc] */ 11683 L_2B043566: 11684 /* test eax, eax */ /* 0x2B043566: test eax, eax */ 11685 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11686 _cf = 0; 11687 _flag_k = FK_TEST; 11688 L_2B043568: 11689 RECOMP_BACKEDGE(); 11690 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_GE, _cf)) goto L_2B04348F; /* 0x2B043568: jge 0x2b04348f */ 11691 L_2B04356E: 11692 PUSH32(esp, esi); /* 0x2B04356E: push esi */ 11693 L_2B04356F: 11694 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B04356F: call 0x2b0ab1ba */ /* not lifted */ 11695 RECOMP_FLAGS_IN(); 11696 L_2B043574: 11697 eax = MEM32(edi); /* 0x2B043574: mov eax, dword ptr [edi] */ 11698 L_2B043576: 11699 ecx = MEM32(edi + 0x4); /* 0x2B043576: mov ecx, dword ptr [edi + 4] */ 11700 L_2B043579: 11701 esi = MEM32(ebp + (-0x8)); /* 0x2B043579: mov esi, dword ptr [ebp - 8] */ 11702 L_2B04357C: 11703 ebx = MEM32(esi + 0x8C); /* 0x2B04357C: mov ebx, dword ptr [esi + 0x8c] */ 11704 L_2B043582: 11705 MEM32(ecx) = eax; /* 0x2B043582: mov dword ptr [ecx], eax */ 11706 L_2B043584: 11707 edx = MEM32(edi); /* 0x2B043584: mov edx, dword ptr [edi] */ 11708 L_2B043586: 11709 MEM32(ebp + (-0x4)) = eax; /* 0x2B043586: mov dword ptr [ebp - 4], eax */ 11710 L_2B043589: 11711 eax = MEM32(edi + 0x4); /* 0x2B043589: mov eax, dword ptr [edi + 4] */ 11712 L_2B04358C: 11713 PUSH32(esp, edi); /* 0x2B04358C: push edi */ 11714 L_2B04358D: 11715 MEM32(edx + 0x4) = eax; /* 0x2B04358D: mov dword ptr [edx + 4], eax */ 11716 L_2B043590: 11717 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B043590: call 0x2b0ab1ba */ /* not lifted */ 11718 RECOMP_FLAGS_IN(); 11719 L_2B043595: 11720 ecx = MEM32(ebx + 0x8); /* 0x2B043595: mov ecx, dword ptr [ebx + 8] */ 11721 L_2B043598: 11722 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 11723 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11724 esp = esp + 8; /* 0x2B043598: add esp, 8 */ 11725 _flag_k = FK_ADD; 11726 L_2B04359B: 11727 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 11728 ecx = ecx - 1; /* 0x2B04359B: dec ecx */ 11729 _flag_k = FK_DEC; 11730 L_2B04359C: 11731 MEM32(ebx + 0x8) = ecx; /* 0x2B04359C: mov dword ptr [ebx + 8], ecx */ 11732 L_2B04359F: 11733 SET_LO8(eax, MEM8(esi + 0xA1)); /* 0x2B04359F: mov al, byte ptr [esi + 0xa1] */ 11734 L_2B0435A5: 11735 /* test LO8(eax), LO8(eax) */ /* 0x2B0435A5: test al, al */ 11736 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11737 _cf = 0; 11738 _flag_k = FK_NARROW(FK_TEST, 24); 11739 L_2B0435A7: 11740 ecx = MEM32(ebp + (-0x4)); /* 0x2B0435A7: mov ecx, dword ptr [ebp - 4] */ 11741 L_2B0435AA: 11742 MEM32(ebp + (-0x4)) = ecx; /* 0x2B0435AA: mov dword ptr [ebp - 4], ecx */ 11743 L_2B0435AD: 11744 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0435C1; /* 0x2B0435AD: je 0x2b0435c1 */ 11745 L_2B0435AF: 11746 eax = MEM32(esi + 0xA4); /* 0x2B0435AF: mov eax, dword ptr [esi + 0xa4] */ 11747 L_2B0435B5: 11748 /* cmp MEM32(ebp + (-0xC)), eax */ /* 0x2B0435B5: cmp dword ptr [ebp - 0xc], eax */ 11749 _flag_a = (uint32_t)(MEM32(ebp + (-0xC))); _flag_b = (uint32_t)(eax); 11750 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11751 _flag_k = FK_CMP; 11752 L_2B0435B8: 11753 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_GE, _cf)) goto L_2B0435C1; /* 0x2B0435B8: jge 0x2b0435c1 */ 11754 L_2B0435BA: 11755 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 11756 eax = eax - 1; /* 0x2B0435BA: dec eax */ 11757 _flag_k = FK_DEC; 11758 L_2B0435BB: 11759 MEM32(esi + 0xA4) = eax; /* 0x2B0435BB: mov dword ptr [esi + 0xa4], eax */ 11760 L_2B0435C1: 11761 ecx = esi; /* 0x2B0435C1: mov ecx, esi */ 11762 L_2B0435C3: 11763 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B0435C3: call 0x2b03a2b0 */ /* not lifted */ 11764 RECOMP_FLAGS_IN(); 11765 L_2B0435C8: 11766 RECOMP_BACKEDGE(); 11767 goto L_2B043494; /* 0x2B0435C8: jmp 0x2b043494 */ 11768 { RECOMP_REGS_OUT(); return; } /* end of function */ 11769 _ljump: 11770 switch (_itail_tgt) { 11771 case 0x2B043286u: goto L_2B043286; 11772 case 0x2B043289u: goto L_2B043289; 11773 case 0x2B04328Cu: goto L_2B04328C; 11774 case 0x2B043292u: goto L_2B043292; 11775 case 0x2B043295u: goto L_2B043295; 11776 case 0x2B043298u: goto L_2B043298; 11777 case 0x2B04329Au: goto L_2B04329A; 11778 case 0x2B04329Cu: goto L_2B04329C; 11779 case 0x2B04329Du: goto L_2B04329D; 11780 case 0x2B0432A0u: goto L_2B0432A0; 11781 case 0x2B0432A6u: goto L_2B0432A6; 11782 case 0x2B0432A8u: goto L_2B0432A8; 11783 case 0x2B0432AEu: goto L_2B0432AE; 11784 case 0x2B0432B1u: goto L_2B0432B1; 11785 case 0x2B0432B3u: goto L_2B0432B3; 11786 case 0x2B0432B8u: goto L_2B0432B8; 11787 case 0x2B0432BAu: goto L_2B0432BA; 11788 case 0x2B0432BDu: goto L_2B0432BD; 11789 case 0x2B0432BFu: goto L_2B0432BF; 11790 case 0x2B0432C2u: goto L_2B0432C2; 11791 case 0x2B0432C4u: goto L_2B0432C4; 11792 case 0x2B0432C7u: goto L_2B0432C7; 11793 case 0x2B0432CAu: goto L_2B0432CA; 11794 case 0x2B0432CDu: goto L_2B0432CD; 11795 case 0x2B0432CFu: goto L_2B0432CF; 11796 case 0x2B0432D1u: goto L_2B0432D1; 11797 case 0x2B0432D3u: goto L_2B0432D3; 11798 case 0x2B0432D6u: goto L_2B0432D6; 11799 case 0x2B0432D8u: goto L_2B0432D8; 11800 case 0x2B0432DBu: goto L_2B0432DB; 11801 case 0x2B0432DDu: goto L_2B0432DD; 11802 case 0x2B0432DFu: goto L_2B0432DF; 11803 case 0x2B0432E1u: goto L_2B0432E1; 11804 case 0x2B0432E2u: goto L_2B0432E2; 11805 case 0x2B0432E3u: goto L_2B0432E3; 11806 case 0x2B0432E7u: goto L_2B0432E7; 11807 case 0x2B0432EDu: goto L_2B0432ED; 11808 case 0x2B0432EFu: goto L_2B0432EF; 11809 case 0x2B0432F5u: goto L_2B0432F5; 11810 case 0x2B0432F6u: goto L_2B0432F6; 11811 case 0x2B0432FBu: goto L_2B0432FB; 11812 case 0x2B043301u: goto L_2B043301; 11813 case 0x2B043303u: goto L_2B043303; 11814 case 0x2B043304u: goto L_2B043304; 11815 case 0x2B043309u: goto L_2B043309; 11816 case 0x2B04330Cu: goto L_2B04330C; 11817 case 0x2B04330Fu: goto L_2B04330F; 11818 case 0x2B043311u: goto L_2B043311; 11819 case 0x2B043317u: goto L_2B043317; 11820 case 0x2B043319u: goto L_2B043319; 11821 case 0x2B04331Bu: goto L_2B04331B; 11822 case 0x2B04331Cu: goto L_2B04331C; 11823 case 0x2B043322u: goto L_2B043322; 11824 case 0x2B043323u: goto L_2B043323; 11825 case 0x2B043325u: goto L_2B043325; 11826 case 0x2B043327u: goto L_2B043327; 11827 case 0x2B04332Du: goto L_2B04332D; 11828 case 0x2B04332Fu: goto L_2B04332F; 11829 case 0x2B043335u: goto L_2B043335; 11830 case 0x2B043338u: goto L_2B043338; 11831 case 0x2B04333Bu: goto L_2B04333B; 11832 case 0x2B043341u: goto L_2B043341; 11833 case 0x2B043343u: goto L_2B043343; 11834 case 0x2B043349u: goto L_2B043349; 11835 case 0x2B04334Cu: goto L_2B04334C; 11836 case 0x2B043352u: goto L_2B043352; 11837 case 0x2B043358u: goto L_2B043358; 11838 case 0x2B04335Bu: goto L_2B04335B; 11839 case 0x2B043361u: goto L_2B043361; 11840 case 0x2B043366u: goto L_2B043366; 11841 case 0x2B043368u: goto L_2B043368; 11842 case 0x2B04336Au: goto L_2B04336A; 11843 case 0x2B04336Du: goto L_2B04336D; 11844 case 0x2B04336Fu: goto L_2B04336F; 11845 case 0x2B043372u: goto L_2B043372; 11846 case 0x2B043374u: goto L_2B043374; 11847 case 0x2B043376u: goto L_2B043376; 11848 case 0x2B043378u: goto L_2B043378; 11849 case 0x2B04337Au: goto L_2B04337A; 11850 case 0x2B04337Du: goto L_2B04337D; 11851 case 0x2B04337Fu: goto L_2B04337F; 11852 case 0x2B043382u: goto L_2B043382; 11853 case 0x2B043385u: goto L_2B043385; 11854 case 0x2B043388u: goto L_2B043388; 11855 case 0x2B04338Bu: goto L_2B04338B; 11856 case 0x2B04338Du: goto L_2B04338D; 11857 case 0x2B043392u: goto L_2B043392; 11858 case 0x2B043394u: goto L_2B043394; 11859 case 0x2B043396u: goto L_2B043396; 11860 case 0x2B043399u: goto L_2B043399; 11861 case 0x2B04339Bu: goto L_2B04339B; 11862 case 0x2B04339Eu: goto L_2B04339E; 11863 case 0x2B0433A0u: goto L_2B0433A0; 11864 case 0x2B0433A3u: goto L_2B0433A3; 11865 case 0x2B0433A6u: goto L_2B0433A6; 11866 case 0x2B0433A9u: goto L_2B0433A9; 11867 case 0x2B0433ABu: goto L_2B0433AB; 11868 case 0x2B0433ACu: goto L_2B0433AC; 11869 case 0x2B0433B2u: goto L_2B0433B2; 11870 case 0x2B0433B3u: goto L_2B0433B3; 11871 case 0x2B0433B4u: goto L_2B0433B4; 11872 case 0x2B0433B7u: goto L_2B0433B7; 11873 case 0x2B0433B9u: goto L_2B0433B9; 11874 case 0x2B0433BAu: goto L_2B0433BA; 11875 case 0x2B0433BCu: goto L_2B0433BC; 11876 case 0x2B0433BEu: goto L_2B0433BE; 11877 case 0x2B0433C4u: goto L_2B0433C4; 11878 case 0x2B0433C7u: goto L_2B0433C7; 11879 case 0x2B0433C8u: goto L_2B0433C8; 11880 case 0x2B0433C9u: goto L_2B0433C9; 11881 case 0x2B0433CBu: goto L_2B0433CB; 11882 case 0x2B0433CDu: goto L_2B0433CD; 11883 case 0x2B0433D3u: goto L_2B0433D3; 11884 case 0x2B0433D4u: goto L_2B0433D4; 11885 case 0x2B0433D7u: goto L_2B0433D7; 11886 case 0x2B0433DCu: goto L_2B0433DC; 11887 case 0x2B0433DDu: goto L_2B0433DD; 11888 case 0x2B0433E3u: goto L_2B0433E3; 11889 case 0x2B0433E6u: goto L_2B0433E6; 11890 case 0x2B0433E9u: goto L_2B0433E9; 11891 case 0x2B0433ECu: goto L_2B0433EC; 11892 case 0x2B0433EDu: goto L_2B0433ED; 11893 case 0x2B0433F0u: goto L_2B0433F0; 11894 case 0x2B0433F6u: goto L_2B0433F6; 11895 case 0x2B0433F8u: goto L_2B0433F8; 11896 case 0x2B0433FDu: goto L_2B0433FD; 11897 case 0x2B043400u: goto L_2B043400; 11898 case 0x2B043402u: goto L_2B043402; 11899 case 0x2B043404u: goto L_2B043404; 11900 case 0x2B043407u: goto L_2B043407; 11901 case 0x2B04340Au: goto L_2B04340A; 11902 case 0x2B04340Du: goto L_2B04340D; 11903 case 0x2B04340Eu: goto L_2B04340E; 11904 case 0x2B043411u: goto L_2B043411; 11905 case 0x2B043413u: goto L_2B043413; 11906 case 0x2B043416u: goto L_2B043416; 11907 case 0x2B043418u: goto L_2B043418; 11908 case 0x2B04341Bu: goto L_2B04341B; 11909 case 0x2B04341Eu: goto L_2B04341E; 11910 case 0x2B04341Fu: goto L_2B04341F; 11911 case 0x2B043421u: goto L_2B043421; 11912 case 0x2B043423u: goto L_2B043423; 11913 case 0x2B043425u: goto L_2B043425; 11914 case 0x2B043427u: goto L_2B043427; 11915 case 0x2B043429u: goto L_2B043429; 11916 case 0x2B04342Cu: goto L_2B04342C; 11917 case 0x2B04342Du: goto L_2B04342D; 11918 case 0x2B043430u: goto L_2B043430; 11919 case 0x2B043433u: goto L_2B043433; 11920 case 0x2B04343Au: goto L_2B04343A; 11921 case 0x2B043440u: goto L_2B043440; 11922 case 0x2B043443u: goto L_2B043443; 11923 case 0x2B043446u: goto L_2B043446; 11924 case 0x2B043449u: goto L_2B043449; 11925 case 0x2B04344Cu: goto L_2B04344C; 11926 case 0x2B04344Du: goto L_2B04344D; 11927 case 0x2B043454u: goto L_2B043454; 11928 case 0x2B04345Au: goto L_2B04345A; 11929 case 0x2B04345Du: goto L_2B04345D; 11930 case 0x2B043462u: goto L_2B043462; 11931 case 0x2B043464u: goto L_2B043464; 11932 case 0x2B043465u: goto L_2B043465; 11933 case 0x2B043468u: goto L_2B043468; 11934 case 0x2B04346Bu: goto L_2B04346B; 11935 case 0x2B043471u: goto L_2B043471; 11936 case 0x2B043474u: goto L_2B043474; 11937 case 0x2B043479u: goto L_2B043479; 11938 case 0x2B04347Cu: goto L_2B04347C; 11939 case 0x2B04347Fu: goto L_2B04347F; 11940 case 0x2B043481u: goto L_2B043481; 11941 case 0x2B043488u: goto L_2B043488; 11942 case 0x2B04348Fu: goto L_2B04348F; 11943 case 0x2B043491u: goto L_2B043491; 11944 case 0x2B043494u: goto L_2B043494; 11945 case 0x2B043497u: goto L_2B043497; 11946 case 0x2B04349Au: goto L_2B04349A; 11947 case 0x2B04349Du: goto L_2B04349D; 11948 case 0x2B04349Eu: goto L_2B04349E; 11949 case 0x2B0434A1u: goto L_2B0434A1; 11950 case 0x2B0434A7u: goto L_2B0434A7; 11951 case 0x2B0434AAu: goto L_2B0434AA; 11952 case 0x2B0434B0u: goto L_2B0434B0; 11953 case 0x2B0434B1u: goto L_2B0434B1; 11954 case 0x2B0434B2u: goto L_2B0434B2; 11955 case 0x2B0434B3u: goto L_2B0434B3; 11956 case 0x2B0434B5u: goto L_2B0434B5; 11957 case 0x2B0434B6u: goto L_2B0434B6; 11958 case 0x2B0434B7u: goto L_2B0434B7; 11959 case 0x2B0434BEu: goto L_2B0434BE; 11960 case 0x2B0434C0u: goto L_2B0434C0; 11961 case 0x2B0434C7u: goto L_2B0434C7; 11962 case 0x2B0434C9u: goto L_2B0434C9; 11963 case 0x2B0434CCu: goto L_2B0434CC; 11964 case 0x2B0434CEu: goto L_2B0434CE; 11965 case 0x2B0434D0u: goto L_2B0434D0; 11966 case 0x2B0434D3u: goto L_2B0434D3; 11967 case 0x2B0434D5u: goto L_2B0434D5; 11968 case 0x2B0434D7u: goto L_2B0434D7; 11969 case 0x2B0434D9u: goto L_2B0434D9; 11970 case 0x2B0434DBu: goto L_2B0434DB; 11971 case 0x2B0434DDu: goto L_2B0434DD; 11972 case 0x2B0434E0u: goto L_2B0434E0; 11973 case 0x2B0434E2u: goto L_2B0434E2; 11974 case 0x2B0434E4u: goto L_2B0434E4; 11975 case 0x2B0434E6u: goto L_2B0434E6; 11976 case 0x2B0434E8u: goto L_2B0434E8; 11977 case 0x2B0434EAu: goto L_2B0434EA; 11978 case 0x2B0434EDu: goto L_2B0434ED; 11979 case 0x2B0434EFu: goto L_2B0434EF; 11980 case 0x2B0434F1u: goto L_2B0434F1; 11981 case 0x2B0434F3u: goto L_2B0434F3; 11982 case 0x2B0434F5u: goto L_2B0434F5; 11983 case 0x2B0434F7u: goto L_2B0434F7; 11984 case 0x2B0434FAu: goto L_2B0434FA; 11985 case 0x2B0434FCu: goto L_2B0434FC; 11986 case 0x2B0434FFu: goto L_2B0434FF; 11987 case 0x2B043502u: goto L_2B043502; 11988 case 0x2B043505u: goto L_2B043505; 11989 case 0x2B04350Cu: goto L_2B04350C; 11990 case 0x2B043513u: goto L_2B043513; 11991 case 0x2B043519u: goto L_2B043519; 11992 case 0x2B04351Bu: goto L_2B04351B; 11993 case 0x2B043521u: goto L_2B043521; 11994 case 0x2B043524u: goto L_2B043524; 11995 case 0x2B04352Au: goto L_2B04352A; 11996 case 0x2B043530u: goto L_2B043530; 11997 case 0x2B043531u: goto L_2B043531; 11998 case 0x2B043536u: goto L_2B043536; 11999 case 0x2B04353Bu: goto L_2B04353B; 12000 case 0x2B04353Eu: goto L_2B04353E; 12001 case 0x2B043543u: goto L_2B043543; 12002 case 0x2B043548u: goto L_2B043548; 12003 case 0x2B04354Bu: goto L_2B04354B; 12004 case 0x2B04354Du: goto L_2B04354D; 12005 case 0x2B043550u: goto L_2B043550; 12006 case 0x2B043556u: goto L_2B043556; 12007 case 0x2B043559u: goto L_2B043559; 12008 case 0x2B04355Eu: goto L_2B04355E; 12009 case 0x2B043563u: goto L_2B043563; 12010 case 0x2B043566u: goto L_2B043566; 12011 case 0x2B043568u: goto L_2B043568; 12012 case 0x2B04356Eu: goto L_2B04356E; 12013 case 0x2B04356Fu: goto L_2B04356F; 12014 case 0x2B043574u: goto L_2B043574; 12015 case 0x2B043576u: goto L_2B043576; 12016 case 0x2B043579u: goto L_2B043579; 12017 case 0x2B04357Cu: goto L_2B04357C; 12018 case 0x2B043582u: goto L_2B043582; 12019 case 0x2B043584u: goto L_2B043584; 12020 case 0x2B043586u: goto L_2B043586; 12021 case 0x2B043589u: goto L_2B043589; 12022 case 0x2B04358Cu: goto L_2B04358C; 12023 case 0x2B04358Du: goto L_2B04358D; 12024 case 0x2B043590u: goto L_2B043590; 12025 case 0x2B043595u: goto L_2B043595; 12026 case 0x2B043598u: goto L_2B043598; 12027 case 0x2B04359Bu: goto L_2B04359B; 12028 case 0x2B04359Cu: goto L_2B04359C; 12029 case 0x2B04359Fu: goto L_2B04359F; 12030 case 0x2B0435A5u: goto L_2B0435A5; 12031 case 0x2B0435A7u: goto L_2B0435A7; 12032 case 0x2B0435AAu: goto L_2B0435AA; 12033 case 0x2B0435ADu: goto L_2B0435AD; 12034 case 0x2B0435AFu: goto L_2B0435AF; 12035 case 0x2B0435B5u: goto L_2B0435B5; 12036 case 0x2B0435B8u: goto L_2B0435B8; 12037 case 0x2B0435BAu: goto L_2B0435BA; 12038 case 0x2B0435BBu: goto L_2B0435BB; 12039 case 0x2B0435C1u: goto L_2B0435C1; 12040 case 0x2B0435C3u: goto L_2B0435C3; 12041 case 0x2B0435C8u: goto L_2B0435C8; 12042 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 12043 } 12044 RECOMP_REGS_OUT(); 12045 } 12046 12047 void sub_2B0435E0(void) { 12048 int _fpu_cmp = 0; 12049 uint32_t _cf = 0; 12050 int _df = 1; 12051 uint32_t _flag_k = FK_NONE; 12052 uint32_t _flag_a = 0, _flag_b = 0; 12053 uint32_t _itail_tgt = 0; 12054 RECOMP_REGS_LOCALS 12055 RECOMP_ENTER(0x2B0435E0u); 12056 12057 L_2B0435E0: 12058 PUSH32(esp, ebp); /* 0x2B0435E0: push ebp */ 12059 ebp = esp; /* 0x2B0435E1: mov ebp, esp */ 12060 eax = MEM32(ebp + 0x8); /* 0x2B0435E3: mov eax, dword ptr [ebp + 8] */ 12061 ecx = MEM32(ebp + 0xC); /* 0x2B0435E6: mov ecx, dword ptr [ebp + 0xc] */ 12062 PUSH32(esp, eax); /* 0x2B0435E9: push eax */ 12063 RECOMP_ICALL(0x2B043600u); /* 0x2B0435EA: call 0x2b043600 */ /* not lifted */ 12064 RECOMP_FLAGS_IN(); 12065 ebp = POP32_VAL(esp); /* 0x2B0435EF: pop ebp */ 12066 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0435F0: ret */ 12067 RECOMP_REGS_OUT(); 12068 } 12069 12070 void sub_2B043600(void) { 12071 int _fpu_cmp = 0; 12072 uint32_t _cf = 0; 12073 int _df = 1; 12074 uint32_t _flag_k = FK_NONE; 12075 uint32_t _flag_a = 0, _flag_b = 0; 12076 uint32_t _itail_tgt = 0; 12077 RECOMP_REGS_LOCALS 12078 RECOMP_ENTER(0x2B043600u); 12079 12080 L_2B043600: 12081 PUSH32(esp, ebp); /* 0x2B043600: push ebp */ 12082 ebp = esp; /* 0x2B043601: mov ebp, esp */ 12083 PUSH32(esp, ecx); /* 0x2B043603: push ecx */ 12084 ecx = MEM32(ecx + 0x4C); /* 0x2B043604: mov ecx, dword ptr [ecx + 0x4c] */ 12085 RECOMP_ICALL(MEM32(0x2B0B5840)); /* 0x2B043607: call dword ptr [0x2b0b5840] */ 12086 RECOMP_FLAGS_IN(); 12087 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFF9Cu); 12088 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12089 eax = eax + 0xFFFFFF9Cu; /* 0x2B04360D: add eax, -0x64 */ 12090 _flag_k = FK_ADD; 12091 MEM32(ebp + (-0x4)) = eax; /* 0x2B043610: mov dword ptr [ebp - 4], eax */ 12092 fp_push((double)(int32_t)MEM32(ebp + (-0x4))); /* 0x2B043613: fild dword ptr [ebp - 4] */ 12093 PUSH32(esp, ecx); /* 0x2B043616: push ecx */ 12094 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x2B043617: fstp dword ptr [esp] */ 12095 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B04361A: call dword ptr [0x2b0b5d6c] */ 12096 RECOMP_FLAGS_IN(); 12097 ecx = eax; /* 0x2B043620: mov ecx, eax */ 12098 RECOMP_ICALL(MEM32(0x2B0B5EB4)); /* 0x2B043622: call dword ptr [0x2b0b5eb4] */ 12099 RECOMP_FLAGS_IN(); 12100 esp = ebp; /* 0x2B043628: mov esp, ebp */ 12101 ebp = POP32_VAL(esp); /* 0x2B04362A: pop ebp */ 12102 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B04362B: ret 4 */ 12103 RECOMP_REGS_OUT(); 12104 } 12105 12106 void sub_2B043630(void) { 12107 int _fpu_cmp = 0; 12108 uint32_t _cf = 0; 12109 int _df = 1; 12110 uint32_t _flag_k = FK_NONE; 12111 uint32_t _flag_a = 0, _flag_b = 0; 12112 uint32_t _itail_tgt = 0; 12113 RECOMP_REGS_LOCALS 12114 RECOMP_ENTER(0x2B043630u); 12115 12116 L_2B043630: 12117 PUSH32(esp, ebp); /* 0x2B043630: push ebp */ 12118 ebp = esp; /* 0x2B043631: mov ebp, esp */ 12119 PUSH32(esp, esi); /* 0x2B043633: push esi */ 12120 esi = MEM32(ebp + 0xC); /* 0x2B043634: mov esi, dword ptr [ebp + 0xc] */ 12121 eax = MEM32(esi + 0x9C); /* 0x2B043637: mov eax, dword ptr [esi + 0x9c] */ 12122 ecx = MEM32(eax); /* 0x2B04363D: mov ecx, dword ptr [eax] */ 12123 RECOMP_ICALL(MEM32(0x2B0B5840)); /* 0x2B04363F: call dword ptr [0x2b0b5840] */ 12124 RECOMP_FLAGS_IN(); 12125 ecx = esi; /* 0x2B043645: mov ecx, esi */ 12126 MEM32(esi + 0x90) = eax; /* 0x2B043647: mov dword ptr [esi + 0x90], eax */ 12127 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B04364D: call 0x2b03a2b0 */ /* not lifted */ 12128 RECOMP_FLAGS_IN(); 12129 esi = POP32_VAL(esp); /* 0x2B043652: pop esi */ 12130 ebp = POP32_VAL(esp); /* 0x2B043653: pop ebp */ 12131 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B043654: ret */ 12132 RECOMP_REGS_OUT(); 12133 } 12134 12135 void sub_2B043660(void) { 12136 int _fpu_cmp = 0; 12137 uint32_t _cf = 0; 12138 int _df = 1; 12139 uint32_t _flag_k = FK_NONE; 12140 uint32_t _flag_a = 0, _flag_b = 0; 12141 uint32_t _itail_tgt = 0; 12142 RECOMP_REGS_LOCALS 12143 RECOMP_ENTER(0x2B043660u); 12144 12145 L_2B043660: 12146 PUSH32(esp, ebp); /* 0x2B043660: push ebp */ 12147 ebp = esp; /* 0x2B043661: mov ebp, esp */ 12148 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x2Cu); 12149 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12150 esp = esp - 0x2Cu; /* 0x2B043663: sub esp, 0x2c */ 12151 _flag_k = FK_CMP; 12152 eax = MEM32(ebp + 0x8); /* 0x2B043666: mov eax, dword ptr [ebp + 8] */ 12153 PUSH32(esp, esi); /* 0x2B043669: push esi */ 12154 PUSH32(esp, edi); /* 0x2B04366A: push edi */ 12155 PUSH32(esp, eax); /* 0x2B04366B: push eax */ 12156 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B04366C: call dword ptr [0x2b0b5d6c] */ 12157 RECOMP_FLAGS_IN(); 12158 ecx = eax; /* 0x2B043672: mov ecx, eax */ 12159 RECOMP_ICALL(MEM32(0x2B0B5EB0)); /* 0x2B043674: call dword ptr [0x2b0b5eb0] */ 12160 RECOMP_FLAGS_IN(); 12161 /* test LO8(eax), LO8(eax) */ /* 0x2B04367A: test al, al */ 12162 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12163 _cf = 0; 12164 _flag_k = FK_NARROW(FK_TEST, 24); 12165 ecx = 0xAu; /* 0x2B04367C: mov ecx, 0xa */ 12166 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0436A0; /* 0x2B043681: jne 0x2b0436a0 */ 12167 L_2B043683: 12168 esi = 0x2B0E73C4u; /* 0x2B043683: mov esi, 0x2b0e73c4 */ 12169 edi = ebp + (-0x2C); /* 0x2B043688: lea edi, [ebp - 0x2c] */ 12170 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B04368B: 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; } 12171 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12172 ecx = ecx | 0xFFFFFFFFu; /* 0x2B04368D: or ecx, 0xffffffff */ 12173 _cf = 0; 12174 _flag_k = FK_TEST; 12175 edi = ebp + (-0x2C); /* 0x2B043690: lea edi, [ebp - 0x2c] */ 12176 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12177 eax = 0; /* 0x2B043693: xor eax, eax */ 12178 _cf = 0; 12179 _flag_k = FK_TEST; 12180 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; } /* 0x2B043695: repne scasb al, byte ptr es:[edi] */ 12181 ecx = ~ecx; /* 0x2B043697: not ecx */ 12182 PUSH32(esp, ecx); /* 0x2B043699: push ecx */ 12183 ecx = ebp + (-0x2C); /* 0x2B04369A: lea ecx, [ebp - 0x2c] */ 12184 PUSH32(esp, ecx); /* 0x2B04369D: push ecx */ 12185 goto L_2B0436BC; /* 0x2B04369E: jmp 0x2b0436bc */ 12186 L_2B0436A0: 12187 esi = 0x2B0E7398u; /* 0x2B0436A0: mov esi, 0x2b0e7398 */ 12188 edi = ebp + (-0x2C); /* 0x2B0436A5: lea edi, [ebp - 0x2c] */ 12189 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0436A8: 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; } 12190 MEM8(edi) = MEM8(esi); esi += _df; edi += _df; /* 0x2B0436AA: movsb byte ptr es:[edi], byte ptr [esi] */ 12191 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12192 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0436AB: or ecx, 0xffffffff */ 12193 _cf = 0; 12194 _flag_k = FK_TEST; 12195 edi = ebp + (-0x2C); /* 0x2B0436AE: lea edi, [ebp - 0x2c] */ 12196 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12197 eax = 0; /* 0x2B0436B1: xor eax, eax */ 12198 _cf = 0; 12199 _flag_k = FK_TEST; 12200 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; } /* 0x2B0436B3: repne scasb al, byte ptr es:[edi] */ 12201 ecx = ~ecx; /* 0x2B0436B5: not ecx */ 12202 PUSH32(esp, ecx); /* 0x2B0436B7: push ecx */ 12203 edx = ebp + (-0x2C); /* 0x2B0436B8: lea edx, [ebp - 0x2c] */ 12204 PUSH32(esp, edx); /* 0x2B0436BB: push edx */ 12205 L_2B0436BC: 12206 PUSH32(esp, 0x3Fu); /* 0x2B0436BC: push 0x3f */ 12207 PUSH32(esp, 3); /* 0x2B0436BE: push 3 */ 12208 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B0436C0: call dword ptr [0x2b0b53cc] */ 12209 RECOMP_FLAGS_IN(); 12210 ecx = eax; /* 0x2B0436C6: mov ecx, eax */ 12211 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B0436C8: call dword ptr [0x2b0b53c4] */ 12212 RECOMP_FLAGS_IN(); 12213 edi = POP32_VAL(esp); /* 0x2B0436CE: pop edi */ 12214 esi = POP32_VAL(esp); /* 0x2B0436CF: pop esi */ 12215 esp = ebp; /* 0x2B0436D0: mov esp, ebp */ 12216 ebp = POP32_VAL(esp); /* 0x2B0436D2: pop ebp */ 12217 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0436D3: ret */ 12218 RECOMP_REGS_OUT(); 12219 } 12220 12221 void sub_2B0436E0(void) { 12222 int _fpu_cmp = 0; 12223 uint32_t _cf = 0; 12224 int _df = 1; 12225 uint32_t _flag_k = FK_NONE; 12226 uint32_t _flag_a = 0, _flag_b = 0; 12227 uint32_t _itail_tgt = 0; 12228 RECOMP_REGS_LOCALS 12229 RECOMP_ENTER(0x2B0436E0u); 12230 12231 L_2B0436E0: 12232 PUSH32(esp, ebp); /* 0x2B0436E0: push ebp */ 12233 ebp = esp; /* 0x2B0436E1: mov ebp, esp */ 12234 eax = MEM32(ebp + 0x8); /* 0x2B0436E3: mov eax, dword ptr [ebp + 8] */ 12235 ecx = MEM32(0x2B0EEA60); /* 0x2B0436E6: mov ecx, dword ptr [0x2b0eea60] */ 12236 PUSH32(esp, eax); /* 0x2B0436EC: push eax */ 12237 RECOMP_ICALL(0x2B043700u); /* 0x2B0436ED: call 0x2b043700 */ /* not lifted */ 12238 RECOMP_FLAGS_IN(); 12239 ebp = POP32_VAL(esp); /* 0x2B0436F2: pop ebp */ 12240 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0436F3: ret */ 12241 RECOMP_REGS_OUT(); 12242 } 12243 12244 void sub_2B043700(void) { 12245 int _fpu_cmp = 0; 12246 uint32_t _cf = 0; 12247 int _df = 1; 12248 uint32_t _flag_k = FK_NONE; 12249 uint32_t _flag_a = 0, _flag_b = 0; 12250 uint32_t _itail_tgt = 0; 12251 RECOMP_REGS_LOCALS 12252 RECOMP_ENTER(0x2B043700u); 12253 12254 L_2B043700: 12255 PUSH32(esp, ebp); /* 0x2B043700: push ebp */ 12256 ebp = esp; /* 0x2B043701: mov ebp, esp */ 12257 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B043703: push -1 */ 12258 PUSH32(esp, 0x2B0AEE66u); /* 0x2B043705: push 0x2b0aee66 */ 12259 eax = MEM32(FS_BASE + (0)); /* 0x2B04370A: mov eax, dword ptr fs:[0] */ 12260 PUSH32(esp, eax); /* 0x2B043710: push eax */ 12261 MEM32(FS_BASE + (0)) = esp; /* 0x2B043711: mov dword ptr fs:[0], esp */ 12262 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 12263 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12264 esp = esp - 8; /* 0x2B043718: sub esp, 8 */ 12265 _flag_k = FK_CMP; 12266 eax = MEM32(ebp + 0x8); /* 0x2B04371B: mov eax, dword ptr [ebp + 8] */ 12267 PUSH32(esp, ebx); /* 0x2B04371E: push ebx */ 12268 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12269 ebx = 0; /* 0x2B04371F: xor ebx, ebx */ 12270 _cf = 0; 12271 _flag_k = FK_TEST; 12272 /* cmp eax, ebx */ /* 0x2B043721: cmp eax, ebx */ 12273 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 12274 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12275 _flag_k = FK_CMP; 12276 PUSH32(esp, esi); /* 0x2B043723: push esi */ 12277 esi = ecx; /* 0x2B043724: mov esi, ecx */ 12278 if (CMP_NE(_flag_a, _flag_b)) goto L_2B043744; /* 0x2B043726: jne 0x2b043744 */ 12279 L_2B043728: 12280 ecx = MEM32(esi + 0x3C); /* 0x2B043728: mov ecx, dword ptr [esi + 0x3c] */ 12281 /* cmp ecx, ebx */ /* 0x2B04372B: cmp ecx, ebx */ 12282 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 12283 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12284 _flag_k = FK_CMP; 12285 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B043735; /* 0x2B04372D: je 0x2b043735 */ 12286 L_2B04372F: 12287 eax = MEM32(ecx); /* 0x2B04372F: mov eax, dword ptr [ecx] */ 12288 PUSH32(esp, 1); /* 0x2B043731: push 1 */ 12289 RECOMP_ICALL(MEM32(eax)); /* 0x2B043733: call dword ptr [eax] */ 12290 RECOMP_FLAGS_IN(); 12291 L_2B043735: 12292 MEM32(esi + 0x3C) = ebx; /* 0x2B043735: mov dword ptr [esi + 0x3c], ebx */ 12293 MEM8(esi + 0xA1) = (uint8_t)(0); /* 0x2B043738: mov byte ptr [esi + 0xa1], 0 */ 12294 goto L_2B0438D2; /* 0x2B04373F: jmp 0x2b0438d2 */ 12295 L_2B043744: 12296 /* cmp eax, 1 */ /* 0x2B043744: cmp eax, 1 */ 12297 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 12298 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12299 _flag_k = FK_CMP; 12300 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0437A3; /* 0x2B043747: jne 0x2b0437a3 */ 12301 L_2B043749: 12302 SET_LO8(eax, MEM8(esi + 0x78)); /* 0x2B043749: mov al, byte ptr [esi + 0x78] */ 12303 /* test LO8(eax), LO8(eax) */ /* 0x2B04374C: test al, al */ 12304 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12305 _cf = 0; 12306 _flag_k = FK_NARROW(FK_TEST, 24); 12307 ecx = MEM32(esi + 0x7C); /* 0x2B04374E: mov ecx, dword ptr [esi + 0x7c] */ 12308 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B04377B; /* 0x2B043751: jne 0x2b04377b */ 12309 L_2B043753: 12310 MEM8(ecx + 0x8) = (uint8_t)(1); /* 0x2B043753: mov byte ptr [ecx + 8], 1 */ 12311 edx = MEM32(esi + 0x80); /* 0x2B043757: mov edx, dword ptr [esi + 0x80] */ 12312 MEM8(edx + 0x8) = (uint8_t)(1); /* 0x2B04375D: mov byte ptr [edx + 8], 1 */ 12313 eax = MEM32(esi + 0x84); /* 0x2B043761: mov eax, dword ptr [esi + 0x84] */ 12314 MEM8(eax + 0x8) = (uint8_t)(1); /* 0x2B043767: mov byte ptr [eax + 8], 1 */ 12315 SET_LO8(eax, MEM8(esi + 0x78)); /* 0x2B04376B: mov al, byte ptr [esi + 0x78] */ 12316 /* test LO8(eax), LO8(eax) */ /* 0x2B04376E: test al, al */ 12317 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12318 _cf = 0; 12319 _flag_k = FK_NARROW(FK_TEST, 24); 12320 SET_LO8(ecx, (TEST_Z(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B043770: sete cl */ 12321 MEM8(esi + 0x78) = (uint8_t)(LO8(ecx)); /* 0x2B043773: mov byte ptr [esi + 0x78], cl */ 12322 goto L_2B0438D2; /* 0x2B043776: jmp 0x2b0438d2 */ 12323 L_2B04377B: 12324 MEM8(ecx + 0x8) = (uint8_t)(0); /* 0x2B04377B: mov byte ptr [ecx + 8], 0 */ 12325 edx = MEM32(esi + 0x80); /* 0x2B04377F: mov edx, dword ptr [esi + 0x80] */ 12326 MEM8(edx + 0x8) = (uint8_t)(0); /* 0x2B043785: mov byte ptr [edx + 8], 0 */ 12327 eax = MEM32(esi + 0x84); /* 0x2B043789: mov eax, dword ptr [esi + 0x84] */ 12328 MEM8(eax + 0x8) = (uint8_t)(0); /* 0x2B04378F: mov byte ptr [eax + 8], 0 */ 12329 SET_LO8(eax, MEM8(esi + 0x78)); /* 0x2B043793: mov al, byte ptr [esi + 0x78] */ 12330 /* test LO8(eax), LO8(eax) */ /* 0x2B043796: test al, al */ 12331 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12332 _cf = 0; 12333 _flag_k = FK_NARROW(FK_TEST, 24); 12334 SET_LO8(ecx, (TEST_Z(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B043798: sete cl */ 12335 MEM8(esi + 0x78) = (uint8_t)(LO8(ecx)); /* 0x2B04379B: mov byte ptr [esi + 0x78], cl */ 12336 goto L_2B0438D2; /* 0x2B04379E: jmp 0x2b0438d2 */ 12337 L_2B0437A3: 12338 ecx = MEM32(esi + 0x3C); /* 0x2B0437A3: mov ecx, dword ptr [esi + 0x3c] */ 12339 /* cmp ecx, ebx */ /* 0x2B0437A6: cmp ecx, ebx */ 12340 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 12341 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12342 _flag_k = FK_CMP; 12343 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0437B0; /* 0x2B0437A8: je 0x2b0437b0 */ 12344 L_2B0437AA: 12345 edx = MEM32(ecx); /* 0x2B0437AA: mov edx, dword ptr [ecx] */ 12346 PUSH32(esp, 1); /* 0x2B0437AC: push 1 */ 12347 RECOMP_ICALL(MEM32(edx)); /* 0x2B0437AE: call dword ptr [edx] */ 12348 RECOMP_FLAGS_IN(); 12349 L_2B0437B0: 12350 eax = MEM32(esi + 0x8C); /* 0x2B0437B0: mov eax, dword ptr [esi + 0x8c] */ 12351 MEM32(esi + 0x3C) = ebx; /* 0x2B0437B6: mov dword ptr [esi + 0x3c], ebx */ 12352 ecx = MEM32(eax + 0x4); /* 0x2B0437B9: mov ecx, dword ptr [eax + 4] */ 12353 eax = MEM32(eax + 0x8); /* 0x2B0437BC: mov eax, dword ptr [eax + 8] */ 12354 PUSH32(esp, edi); /* 0x2B0437BF: push edi */ 12355 edi = MEM32(ecx); /* 0x2B0437C0: mov edi, dword ptr [ecx] */ 12356 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12357 ecx = 0; /* 0x2B0437C2: xor ecx, ecx */ 12358 _cf = 0; 12359 _flag_k = FK_TEST; 12360 /* cmp eax, ebx */ /* 0x2B0437C4: cmp eax, ebx */ 12361 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 12362 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12363 _flag_k = FK_CMP; 12364 if (CMP_LE(_flag_a, _flag_b)) goto L_2B0437E4; /* 0x2B0437C6: jle 0x2b0437e4 */ 12365 L_2B0437C8: 12366 edx = MEM32(edi + 0x8); /* 0x2B0437C8: mov edx, dword ptr [edi + 8] */ 12367 ebx = MEM32(ebp + 0x8); /* 0x2B0437CB: mov ebx, dword ptr [ebp + 8] */ 12368 /* cmp ebx, MEM32(edx + 0x28) */ /* 0x2B0437CE: cmp ebx, dword ptr [edx + 0x28] */ 12369 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edx + 0x28)); 12370 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12371 _flag_k = FK_CMP; 12372 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0437DC; /* 0x2B0437D1: je 0x2b0437dc */ 12373 L_2B0437D3: 12374 edi = MEM32(edi); /* 0x2B0437D3: mov edi, dword ptr [edi] */ 12375 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12376 ecx = ecx + 1; /* 0x2B0437D5: inc ecx */ 12377 _flag_k = FK_INC; 12378 /* cmp ecx, eax */ /* 0x2B0437D6: cmp ecx, eax */ 12379 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 12380 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12381 _flag_k = FK_CMP; 12382 RECOMP_BACKEDGE(); 12383 if (CMP_L(_flag_a, _flag_b)) goto L_2B0437C8; /* 0x2B0437D8: jl 0x2b0437c8 */ 12384 L_2B0437DA: 12385 goto L_2B0437E2; /* 0x2B0437DA: jmp 0x2b0437e2 */ 12386 L_2B0437DC: 12387 MEM32(esi + 0xA4) = ecx; /* 0x2B0437DC: mov dword ptr [esi + 0xa4], ecx */ 12388 L_2B0437E2: 12389 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12390 ebx = 0; /* 0x2B0437E2: xor ebx, ebx */ 12391 _cf = 0; 12392 _flag_k = FK_TEST; 12393 L_2B0437E4: 12394 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B0437E4: call dword ptr [0x2b0b5b64] */ 12395 RECOMP_FLAGS_IN(); 12396 ecx = eax; /* 0x2B0437EA: mov ecx, eax */ 12397 RECOMP_ICALL(MEM32(0x2B0B583C)); /* 0x2B0437EC: call dword ptr [0x2b0b583c] */ 12398 RECOMP_FLAGS_IN(); 12399 /* test LO8(eax), LO8(eax) */ /* 0x2B0437F2: test al, al */ 12400 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12401 _cf = 0; 12402 _flag_k = FK_NARROW(FK_TEST, 24); 12403 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04380F; /* 0x2B0437F4: je 0x2b04380f */ 12404 L_2B0437F6: 12405 eax = MEM32(edi + 0x8); /* 0x2B0437F6: mov eax, dword ptr [edi + 8] */ 12406 PUSH32(esp, eax); /* 0x2B0437F9: push eax */ 12407 PUSH32(esp, 0xB3u); /* 0x2B0437FA: push 0xb3 */ 12408 PUSH32(esp, 0x14u); /* 0x2B0437FF: push 0x14 */ 12409 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B043801: call dword ptr [0x2b0b53cc] */ 12410 RECOMP_FLAGS_IN(); 12411 ecx = eax; /* 0x2B043807: mov ecx, eax */ 12412 RECOMP_ICALL(MEM32(0x2B0B5380)); /* 0x2B043809: call dword ptr [0x2b0b5380] */ 12413 RECOMP_FLAGS_IN(); 12414 L_2B04380F: 12415 MEM32(ebp + (-0x14)) = ebx; /* 0x2B04380F: mov dword ptr [ebp - 0x14], ebx */ 12416 MEM32(ebp + (-0x10)) = ebx; /* 0x2B043812: mov dword ptr [ebp - 0x10], ebx */ 12417 ecx = MEM32(edi + 0x8); /* 0x2B043815: mov ecx, dword ptr [edi + 8] */ 12418 PUSH32(esp, 0xB7u); /* 0x2B043818: push 0xb7 */ 12419 PUSH32(esp, ecx); /* 0x2B04381D: push ecx */ 12420 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B04381E: call dword ptr [0x2b0b5d6c] */ 12421 RECOMP_FLAGS_IN(); 12422 ecx = eax; /* 0x2B043824: mov ecx, eax */ 12423 RECOMP_ICALL(MEM32(0x2B0B5EE0)); /* 0x2B043826: call dword ptr [0x2b0b5ee0] */ 12424 RECOMP_FLAGS_IN(); 12425 ebx = eax; /* 0x2B04382C: mov ebx, eax */ 12426 /* test ebx, ebx */ /* 0x2B04382E: test ebx, ebx */ 12427 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 12428 _cf = 0; 12429 _flag_k = FK_TEST; 12430 if (TEST_Z(_flag_a, _flag_b)) goto L_2B043872; /* 0x2B043830: je 0x2b043872 */ 12431 L_2B043832: 12432 /* cmp ebx, 0xFFFFFFFFu */ /* 0x2B043832: cmp ebx, -1 */ 12433 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0xFFFFFFFFu); 12434 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12435 _flag_k = FK_CMP; 12436 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B043872; /* 0x2B043835: je 0x2b043872 */ 12437 L_2B043837: 12438 PUSH32(esp, 0x38u); /* 0x2B043837: push 0x38 */ 12439 RECOMP_ICALL(0x2B0AB212u); /* 0x2B043839: call 0x2b0ab212 */ /* not lifted */ 12440 RECOMP_FLAGS_IN(); 12441 edi = eax; /* 0x2B04383E: mov edi, eax */ 12442 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12443 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12444 esp = esp + 4; /* 0x2B043840: add esp, 4 */ 12445 _flag_k = FK_ADD; 12446 MEM32(ebp + 0x8) = edi; /* 0x2B043843: mov dword ptr [ebp + 8], edi */ 12447 /* test edi, edi */ /* 0x2B043846: test edi, edi */ 12448 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 12449 _cf = 0; 12450 _flag_k = FK_TEST; 12451 MEM32(ebp + (-0x4)) = 1; /* 0x2B043848: mov dword ptr [ebp - 4], 1 */ 12452 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0438B1; /* 0x2B04384F: je 0x2b0438b1 */ 12453 L_2B043851: 12454 edx = MEM32(0x2B0EE9DC); /* 0x2B043851: mov edx, dword ptr [0x2b0ee9dc] */ 12455 PUSH32(esp, edx); /* 0x2B043857: push edx */ 12456 PUSH32(esp, 0xFA4u); /* 0x2B043858: push 0xfa4 */ 12457 eax = ebp + (-0x14); /* 0x2B04385D: lea eax, [ebp - 0x14] */ 12458 PUSH32(esp, eax); /* 0x2B043860: push eax */ 12459 PUSH32(esp, ebx); /* 0x2B043861: push ebx */ 12460 ecx = edi; /* 0x2B043862: mov ecx, edi */ 12461 RECOMP_ICALL(MEM32(0x2B0B584C)); /* 0x2B043864: call dword ptr [0x2b0b584c] */ 12462 RECOMP_FLAGS_IN(); 12463 MEM32(edi) = 0x2B0B68F4u; /* 0x2B04386A: mov dword ptr [edi], 0x2b0b68f4 */ 12464 goto L_2B0438B3; /* 0x2B043870: jmp 0x2b0438b3 */ 12465 L_2B043872: 12466 PUSH32(esp, 0x38u); /* 0x2B043872: push 0x38 */ 12467 RECOMP_ICALL(0x2B0AB212u); /* 0x2B043874: call 0x2b0ab212 */ /* not lifted */ 12468 RECOMP_FLAGS_IN(); 12469 edi = eax; /* 0x2B043879: mov edi, eax */ 12470 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12471 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12472 esp = esp + 4; /* 0x2B04387B: add esp, 4 */ 12473 _flag_k = FK_ADD; 12474 MEM32(ebp + 0x8) = edi; /* 0x2B04387E: mov dword ptr [ebp + 8], edi */ 12475 /* test edi, edi */ /* 0x2B043881: test edi, edi */ 12476 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 12477 _cf = 0; 12478 _flag_k = FK_TEST; 12479 MEM32(ebp + (-0x4)) = 0; /* 0x2B043883: mov dword ptr [ebp - 4], 0 */ 12480 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0438B1; /* 0x2B04388A: je 0x2b0438b1 */ 12481 L_2B04388C: 12482 ecx = MEM32(0x2B0EE9DC); /* 0x2B04388C: mov ecx, dword ptr [0x2b0ee9dc] */ 12483 PUSH32(esp, ecx); /* 0x2B043892: push ecx */ 12484 PUSH32(esp, 0xFA4u); /* 0x2B043893: push 0xfa4 */ 12485 PUSH32(esp, 0x15Cu); /* 0x2B043898: push 0x15c */ 12486 edx = ebp + (-0x14); /* 0x2B04389D: lea edx, [ebp - 0x14] */ 12487 PUSH32(esp, edx); /* 0x2B0438A0: push edx */ 12488 ecx = edi; /* 0x2B0438A1: mov ecx, edi */ 12489 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B0438A3: call dword ptr [0x2b0b5948] */ 12490 RECOMP_FLAGS_IN(); 12491 MEM32(edi) = 0x2B0B68F4u; /* 0x2B0438A9: mov dword ptr [edi], 0x2b0b68f4 */ 12492 goto L_2B0438B3; /* 0x2B0438AF: jmp 0x2b0438b3 */ 12493 L_2B0438B1: 12494 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12495 edi = 0; /* 0x2B0438B1: xor edi, edi */ 12496 _cf = 0; 12497 _flag_k = FK_TEST; 12498 L_2B0438B3: 12499 PUSH32(esp, 0x3F000000u); /* 0x2B0438B3: push 0x3f000000 */ 12500 ecx = edi; /* 0x2B0438B8: mov ecx, edi */ 12501 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B0438BA: mov dword ptr [ebp - 4], 0xffffffff */ 12502 MEM32(esi + 0x3C) = edi; /* 0x2B0438C1: mov dword ptr [esi + 0x3c], edi */ 12503 RECOMP_ICALL(MEM32(0x2B0B5854)); /* 0x2B0438C4: call dword ptr [0x2b0b5854] */ 12504 RECOMP_FLAGS_IN(); 12505 MEM8(esi + 0xA1) = (uint8_t)(1); /* 0x2B0438CA: mov byte ptr [esi + 0xa1], 1 */ 12506 edi = POP32_VAL(esp); /* 0x2B0438D1: pop edi */ 12507 L_2B0438D2: 12508 ecx = esi; /* 0x2B0438D2: mov ecx, esi */ 12509 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B0438D4: call 0x2b03a2b0 */ /* not lifted */ 12510 RECOMP_FLAGS_IN(); 12511 ecx = MEM32(ebp + (-0xC)); /* 0x2B0438D9: mov ecx, dword ptr [ebp - 0xc] */ 12512 esi = POP32_VAL(esp); /* 0x2B0438DC: pop esi */ 12513 ebx = POP32_VAL(esp); /* 0x2B0438DD: pop ebx */ 12514 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0438DE: mov dword ptr fs:[0], ecx */ 12515 esp = ebp; /* 0x2B0438E5: mov esp, ebp */ 12516 ebp = POP32_VAL(esp); /* 0x2B0438E7: pop ebp */ 12517 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0438E8: ret 4 */ 12518 RECOMP_REGS_OUT(); 12519 } 12520 12521 void sub_2B0438D2(void) { 12522 int _fpu_cmp = 0; 12523 uint32_t _cf = 0; 12524 int _df = 1; 12525 uint32_t _flag_k = FK_NONE; 12526 uint32_t _flag_a = 0, _flag_b = 0; 12527 uint32_t _itail_tgt = 0; 12528 RECOMP_REGS_LOCALS 12529 RECOMP_ENTER(0x2B0438D2u); 12530 12531 L_2B0438D2: 12532 ecx = esi; /* 0x2B0438D2: mov ecx, esi */ 12533 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B0438D4: call 0x2b03a2b0 */ /* not lifted */ 12534 RECOMP_FLAGS_IN(); 12535 ecx = MEM32(ebp + (-0xC)); /* 0x2B0438D9: mov ecx, dword ptr [ebp - 0xc] */ 12536 esi = POP32_VAL(esp); /* 0x2B0438DC: pop esi */ 12537 ebx = POP32_VAL(esp); /* 0x2B0438DD: pop ebx */ 12538 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0438DE: mov dword ptr fs:[0], ecx */ 12539 esp = ebp; /* 0x2B0438E5: mov esp, ebp */ 12540 ebp = POP32_VAL(esp); /* 0x2B0438E7: pop ebp */ 12541 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0438E8: ret 4 */ 12542 RECOMP_REGS_OUT(); 12543 } 12544 12545 void sub_2B0438F0(void) { 12546 int _fpu_cmp = 0; 12547 uint32_t _cf = 0; 12548 int _df = 1; 12549 uint32_t _flag_k = FK_NONE; 12550 uint32_t _flag_a = 0, _flag_b = 0; 12551 uint32_t _itail_tgt = 0; 12552 RECOMP_REGS_LOCALS 12553 RECOMP_ENTER(0x2B0438F0u); 12554 12555 L_2B0438F0: 12556 PUSH32(esp, ebp); /* 0x2B0438F0: push ebp */ 12557 ebp = esp; /* 0x2B0438F1: mov ebp, esp */ 12558 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 12559 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12560 esp = esp - 0x1Cu; /* 0x2B0438F3: sub esp, 0x1c */ 12561 _flag_k = FK_CMP; 12562 PUSH32(esp, ebx); /* 0x2B0438F6: push ebx */ 12563 PUSH32(esp, esi); /* 0x2B0438F7: push esi */ 12564 esi = ecx; /* 0x2B0438F8: mov esi, ecx */ 12565 PUSH32(esp, edi); /* 0x2B0438FA: push edi */ 12566 MEM32(ebp + (-0x8)) = esi; /* 0x2B0438FB: mov dword ptr [ebp - 8], esi */ 12567 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0438FE: call dword ptr [0x2b0b5d6c] */ 12568 RECOMP_FLAGS_IN(); 12569 ecx = eax; /* 0x2B043904: mov ecx, eax */ 12570 RECOMP_ICALL(MEM32(0x2B0B5ED4)); /* 0x2B043906: call dword ptr [0x2b0b5ed4] */ 12571 RECOMP_FLAGS_IN(); 12572 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12573 ecx = 0; /* 0x2B04390C: xor ecx, ecx */ 12574 _cf = 0; 12575 _flag_k = FK_TEST; 12576 /* cmp eax, ecx */ /* 0x2B04390E: cmp eax, ecx */ 12577 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12578 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12579 _flag_k = FK_CMP; 12580 MEM32(ebp + (-0x4)) = eax; /* 0x2B043910: mov dword ptr [ebp - 4], eax */ 12581 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B043913: mov dword ptr [ebp - 0x1c], ecx */ 12582 MEM32(ebp + (-0x18)) = ecx; /* 0x2B043916: mov dword ptr [ebp - 0x18], ecx */ 12583 MEM32(ebp + (-0x14)) = ecx; /* 0x2B043919: mov dword ptr [ebp - 0x14], ecx */ 12584 MEM32(ebp + (-0x10)) = ecx; /* 0x2B04391C: mov dword ptr [ebp - 0x10], ecx */ 12585 MEM8(esi + 0xA0) = (uint8_t)(LO8(ecx)); /* 0x2B04391F: mov byte ptr [esi + 0xa0], cl */ 12586 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B04396E; /* 0x2B043925: je 0x2b04396e */ 12587 L_2B043927: 12588 eax = MEM32(eax + 0x4); /* 0x2B043927: mov eax, dword ptr [eax + 4] */ 12589 ebx = MEM32(eax); /* 0x2B04392A: mov ebx, dword ptr [eax] */ 12590 /* cmp ebx, eax */ /* 0x2B04392C: cmp ebx, eax */ 12591 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 12592 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12593 _flag_k = FK_CMP; 12594 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B04396E; /* 0x2B04392E: je 0x2b04396e */ 12595 L_2B043930: 12596 eax = ebp + (-0x1C); /* 0x2B043930: lea eax, [ebp - 0x1c] */ 12597 esi = ebx + 0x8; /* 0x2B043933: lea esi, [ebx + 8] */ 12598 ecx = 5; /* 0x2B043936: mov ecx, 5 */ 12599 edi = ebp + (-0x1C); /* 0x2B04393B: lea edi, [ebp - 0x1c] */ 12600 PUSH32(esp, eax); /* 0x2B04393E: push eax */ 12601 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B04393F: 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; } 12602 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B043941: call dword ptr [0x2b0b5d6c] */ 12603 RECOMP_FLAGS_IN(); 12604 ecx = eax; /* 0x2B043947: mov ecx, eax */ 12605 RECOMP_ICALL(MEM32(0x2B0B5EAC)); /* 0x2B043949: call dword ptr [0x2b0b5eac] */ 12606 RECOMP_FLAGS_IN(); 12607 /* test eax, eax */ /* 0x2B04394F: test eax, eax */ 12608 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12609 _cf = 0; 12610 _flag_k = FK_TEST; 12611 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B043964; /* 0x2B043951: jne 0x2b043964 */ 12612 L_2B043953: 12613 ecx = MEM32(ebp + (-0x4)); /* 0x2B043953: mov ecx, dword ptr [ebp - 4] */ 12614 ebx = MEM32(ebx); /* 0x2B043956: mov ebx, dword ptr [ebx] */ 12615 /* cmp ebx, MEM32(ecx + 0x4) */ /* 0x2B043958: cmp ebx, dword ptr [ecx + 4] */ 12616 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 12617 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12618 _flag_k = FK_CMP; 12619 RECOMP_BACKEDGE(); 12620 if (CMP_NE(_flag_a, _flag_b)) goto L_2B043930; /* 0x2B04395B: jne 0x2b043930 */ 12621 L_2B04395D: 12622 edi = POP32_VAL(esp); /* 0x2B04395D: pop edi */ 12623 esi = POP32_VAL(esp); /* 0x2B04395E: pop esi */ 12624 ebx = POP32_VAL(esp); /* 0x2B04395F: pop ebx */ 12625 esp = ebp; /* 0x2B043960: mov esp, ebp */ 12626 ebp = POP32_VAL(esp); /* 0x2B043962: pop ebp */ 12627 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B043963: ret */ 12628 L_2B043964: 12629 edx = MEM32(ebp + (-0x8)); /* 0x2B043964: mov edx, dword ptr [ebp - 8] */ 12630 MEM8(edx + 0xA0) = (uint8_t)(1); /* 0x2B043967: mov byte ptr [edx + 0xa0], 1 */ 12631 L_2B04396E: 12632 edi = POP32_VAL(esp); /* 0x2B04396E: pop edi */ 12633 esi = POP32_VAL(esp); /* 0x2B04396F: pop esi */ 12634 ebx = POP32_VAL(esp); /* 0x2B043970: pop ebx */ 12635 esp = ebp; /* 0x2B043971: mov esp, ebp */ 12636 ebp = POP32_VAL(esp); /* 0x2B043973: pop ebp */ 12637 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B043974: ret */ 12638 RECOMP_REGS_OUT(); 12639 } 12640 12641 void sub_2B043980(void) { 12642 int _fpu_cmp = 0; 12643 uint32_t _cf = 0; 12644 int _df = 1; 12645 uint32_t _flag_k = FK_NONE; 12646 uint32_t _flag_a = 0, _flag_b = 0; 12647 uint32_t _itail_tgt = 0; 12648 RECOMP_REGS_LOCALS 12649 RECOMP_ENTER(0x2B043980u); 12650 12651 L_2B043980: 12652 PUSH32(esp, ebx); /* 0x2B043980: push ebx */ 12653 PUSH32(esp, esi); /* 0x2B043981: push esi */ 12654 esi = MEM32(0x2B0B53CC); /* 0x2B043982: mov esi, dword ptr [0x2b0b53cc] */ 12655 PUSH32(esp, edi); /* 0x2B043988: push edi */ 12656 ebx = ecx; /* 0x2B043989: mov ebx, ecx */ 12657 RECOMP_ICALL(esi); /* 0x2B04398B: call esi */ 12658 RECOMP_FLAGS_IN(); 12659 ecx = eax; /* 0x2B04398D: mov ecx, eax */ 12660 RECOMP_ICALL(MEM32(0x2B0B5374)); /* 0x2B04398F: call dword ptr [0x2b0b5374] */ 12661 RECOMP_FLAGS_IN(); 12662 PUSH32(esp, 0x36B0u); /* 0x2B043995: push 0x36b0 */ 12663 PUSH32(esp, 0x32u); /* 0x2B04399A: push 0x32 */ 12664 PUSH32(esp, 1); /* 0x2B04399C: push 1 */ 12665 RECOMP_ICALL(esi); /* 0x2B04399E: call esi */ 12666 RECOMP_FLAGS_IN(); 12667 ecx = eax; /* 0x2B0439A0: mov ecx, eax */ 12668 RECOMP_ICALL(MEM32(0x2B0B5378)); /* 0x2B0439A2: call dword ptr [0x2b0b5378] */ 12669 RECOMP_FLAGS_IN(); 12670 PUSH32(esp, 0x2B043B40u); /* 0x2B0439A8: push 0x2b043b40 */ 12671 RECOMP_ICALL(esi); /* 0x2B0439AD: call esi */ 12672 RECOMP_FLAGS_IN(); 12673 ecx = eax; /* 0x2B0439AF: mov ecx, eax */ 12674 RECOMP_ICALL(MEM32(0x2B0B537C)); /* 0x2B0439B1: call dword ptr [0x2b0b537c] */ 12675 RECOMP_FLAGS_IN(); 12676 PUSH32(esp, 0x2B043AB0u); /* 0x2B0439B7: push 0x2b043ab0 */ 12677 PUSH32(esp, 5); /* 0x2B0439BC: push 5 */ 12678 RECOMP_ICALL(esi); /* 0x2B0439BE: call esi */ 12679 RECOMP_FLAGS_IN(); 12680 edi = MEM32(0x2B0B5324); /* 0x2B0439C0: mov edi, dword ptr [0x2b0b5324] */ 12681 ecx = eax; /* 0x2B0439C6: mov ecx, eax */ 12682 RECOMP_ICALL(edi); /* 0x2B0439C8: call edi */ 12683 RECOMP_FLAGS_IN(); 12684 PUSH32(esp, 0x2B043B20u); /* 0x2B0439CA: push 0x2b043b20 */ 12685 PUSH32(esp, 6); /* 0x2B0439CF: push 6 */ 12686 RECOMP_ICALL(esi); /* 0x2B0439D1: call esi */ 12687 RECOMP_FLAGS_IN(); 12688 ecx = eax; /* 0x2B0439D3: mov ecx, eax */ 12689 RECOMP_ICALL(edi); /* 0x2B0439D5: call edi */ 12690 RECOMP_FLAGS_IN(); 12691 PUSH32(esp, 0x2B043BE0u); /* 0x2B0439D7: push 0x2b043be0 */ 12692 PUSH32(esp, 0x152u); /* 0x2B0439DC: push 0x152 */ 12693 RECOMP_ICALL(esi); /* 0x2B0439E1: call esi */ 12694 RECOMP_FLAGS_IN(); 12695 ecx = eax; /* 0x2B0439E3: mov ecx, eax */ 12696 RECOMP_ICALL(edi); /* 0x2B0439E5: call edi */ 12697 RECOMP_FLAGS_IN(); 12698 PUSH32(esp, 0x2B043B60u); /* 0x2B0439E7: push 0x2b043b60 */ 12699 PUSH32(esp, 0x153u); /* 0x2B0439EC: push 0x153 */ 12700 RECOMP_ICALL(esi); /* 0x2B0439F1: call esi */ 12701 RECOMP_FLAGS_IN(); 12702 ecx = eax; /* 0x2B0439F3: mov ecx, eax */ 12703 RECOMP_ICALL(edi); /* 0x2B0439F5: call edi */ 12704 RECOMP_FLAGS_IN(); 12705 PUSH32(esp, 0x2B043BA0u); /* 0x2B0439F7: push 0x2b043ba0 */ 12706 PUSH32(esp, 0x154u); /* 0x2B0439FC: push 0x154 */ 12707 RECOMP_ICALL(esi); /* 0x2B043A01: call esi */ 12708 RECOMP_FLAGS_IN(); 12709 ecx = eax; /* 0x2B043A03: mov ecx, eax */ 12710 RECOMP_ICALL(edi); /* 0x2B043A05: call edi */ 12711 RECOMP_FLAGS_IN(); 12712 PUSH32(esp, 0x2B001520u); /* 0x2B043A07: push 0x2b001520 */ 12713 PUSH32(esp, 0x155u); /* 0x2B043A0C: push 0x155 */ 12714 RECOMP_ICALL(esi); /* 0x2B043A11: call esi */ 12715 RECOMP_FLAGS_IN(); 12716 ecx = eax; /* 0x2B043A13: mov ecx, eax */ 12717 RECOMP_ICALL(edi); /* 0x2B043A15: call edi */ 12718 RECOMP_FLAGS_IN(); 12719 edi = POP32_VAL(esp); /* 0x2B043A17: pop edi */ 12720 esi = POP32_VAL(esp); /* 0x2B043A18: pop esi */ 12721 eax = ebx; /* 0x2B043A19: mov eax, ebx */ 12722 ebx = POP32_VAL(esp); /* 0x2B043A1B: pop ebx */ 12723 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B043A1C: ret */ 12724 RECOMP_REGS_OUT(); 12725 } 12726 12727 void sub_2B043A20(void) { 12728 int _fpu_cmp = 0; 12729 uint32_t _cf = 0; 12730 int _df = 1; 12731 uint32_t _flag_k = FK_NONE; 12732 uint32_t _flag_a = 0, _flag_b = 0; 12733 uint32_t _itail_tgt = 0; 12734 RECOMP_REGS_LOCALS 12735 RECOMP_ENTER(0x2B043A20u); 12736 12737 L_2B043A20: 12738 RECOMP_ICALL(0x2B043B20u); /* 0x2B043A20: call 0x2b043b20 */ /* not lifted */ 12739 RECOMP_FLAGS_IN(); 12740 MEM32(0x2B0EEA5C) = 0; /* 0x2B043A25: mov dword ptr [0x2b0eea5c], 0 */ 12741 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B043A2F: ret */ 12742 RECOMP_REGS_OUT(); 12743 } 12744 12745 void sub_2B043A30(void) { 12746 int _fpu_cmp = 0; 12747 uint32_t _cf = 0; 12748 int _df = 1; 12749 uint32_t _flag_k = FK_NONE; 12750 uint32_t _flag_a = 0, _flag_b = 0; 12751 uint32_t _itail_tgt = 0; 12752 RECOMP_REGS_LOCALS 12753 RECOMP_ENTER(0x2B043A30u); 12754 12755 L_2B043A30: 12756 PUSH32(esp, ebp); /* 0x2B043A30: push ebp */ 12757 ebp = esp; /* 0x2B043A31: mov ebp, esp */ 12758 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B043A33: push -1 */ 12759 PUSH32(esp, 0x2B0AEE7Bu); /* 0x2B043A35: push 0x2b0aee7b */ 12760 eax = MEM32(FS_BASE + (0)); /* 0x2B043A3A: mov eax, dword ptr fs:[0] */ 12761 PUSH32(esp, eax); /* 0x2B043A40: push eax */ 12762 MEM32(FS_BASE + (0)) = esp; /* 0x2B043A41: mov dword ptr fs:[0], esp */ 12763 PUSH32(esp, ecx); /* 0x2B043A48: push ecx */ 12764 eax = MEM32(0x2B0EEA58); /* 0x2B043A49: mov eax, dword ptr [0x2b0eea58] */ 12765 /* test eax, eax */ /* 0x2B043A4E: test eax, eax */ 12766 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12767 _cf = 0; 12768 _flag_k = FK_TEST; 12769 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B043A8B; /* 0x2B043A50: jne 0x2b043a8b */ 12770 L_2B043A52: 12771 PUSH32(esp, 1); /* 0x2B043A52: push 1 */ 12772 RECOMP_ICALL(0x2B0AB212u); /* 0x2B043A54: call 0x2b0ab212 */ /* not lifted */ 12773 RECOMP_FLAGS_IN(); 12774 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12775 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12776 esp = esp + 4; /* 0x2B043A59: add esp, 4 */ 12777 _flag_k = FK_ADD; 12778 MEM32(ebp + (-0x10)) = eax; /* 0x2B043A5C: mov dword ptr [ebp - 0x10], eax */ 12779 /* test eax, eax */ /* 0x2B043A5F: test eax, eax */ 12780 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12781 _cf = 0; 12782 _flag_k = FK_TEST; 12783 MEM32(ebp + (-0x4)) = 0; /* 0x2B043A61: mov dword ptr [ebp - 4], 0 */ 12784 if (TEST_Z(_flag_a, _flag_b)) goto L_2B043A84; /* 0x2B043A68: je 0x2b043a84 */ 12785 L_2B043A6A: 12786 ecx = eax; /* 0x2B043A6A: mov ecx, eax */ 12787 RECOMP_ICALL(0x2B043980u); /* 0x2B043A6C: call 0x2b043980 */ /* not lifted */ 12788 RECOMP_FLAGS_IN(); 12789 MEM32(0x2B0EEA58) = eax; /* 0x2B043A71: mov dword ptr [0x2b0eea58], eax */ 12790 ecx = MEM32(ebp + (-0xC)); /* 0x2B043A76: mov ecx, dword ptr [ebp - 0xc] */ 12791 MEM32(FS_BASE + (0)) = ecx; /* 0x2B043A79: mov dword ptr fs:[0], ecx */ 12792 esp = ebp; /* 0x2B043A80: mov esp, ebp */ 12793 ebp = POP32_VAL(esp); /* 0x2B043A82: pop ebp */ 12794 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B043A83: ret */ 12795 L_2B043A84: 12796 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12797 eax = 0; /* 0x2B043A84: xor eax, eax */ 12798 _cf = 0; 12799 _flag_k = FK_TEST; 12800 MEM32(0x2B0EEA58) = eax; /* 0x2B043A86: mov dword ptr [0x2b0eea58], eax */ 12801 L_2B043A8B: 12802 ecx = MEM32(ebp + (-0xC)); /* 0x2B043A8B: mov ecx, dword ptr [ebp - 0xc] */ 12803 MEM32(FS_BASE + (0)) = ecx; /* 0x2B043A8E: mov dword ptr fs:[0], ecx */ 12804 esp = ebp; /* 0x2B043A95: mov esp, ebp */ 12805 ebp = POP32_VAL(esp); /* 0x2B043A97: pop ebp */ 12806 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B043A98: ret */ 12807 RECOMP_REGS_OUT(); 12808 } 12809 12810 void sub_2B043AA0(void) { 12811 int _fpu_cmp = 0; 12812 uint32_t _cf = 0; 12813 int _df = 1; 12814 uint32_t _flag_k = FK_NONE; 12815 uint32_t _flag_a = 0, _flag_b = 0; 12816 uint32_t _itail_tgt = 0; 12817 RECOMP_REGS_LOCALS 12818 RECOMP_ENTER(0x2B043AA0u); 12819 12820 L_2B043AA0: 12821 eax = MEM32(0x2B0EEA58); /* 0x2B043AA0: mov eax, dword ptr [0x2b0eea58] */ 12822 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B043AA5: ret */ 12823 RECOMP_REGS_OUT(); 12824 } 12825 12826 void sub_2B043AB0(void) { 12827 int _fpu_cmp = 0; 12828 uint32_t _cf = 0; 12829 int _df = 1; 12830 uint32_t _flag_k = FK_NONE; 12831 uint32_t _flag_a = 0, _flag_b = 0; 12832 uint32_t _itail_tgt = 0; 12833 RECOMP_REGS_LOCALS 12834 RECOMP_ENTER(0x2B043AB0u); 12835 12836 L_2B043AB0: 12837 PUSH32(esp, ebp); /* 0x2B043AB0: push ebp */ 12838 ebp = esp; /* 0x2B043AB1: mov ebp, esp */ 12839 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B043AB3: push -1 */ 12840 PUSH32(esp, 0x2B0AEE9Bu); /* 0x2B043AB5: push 0x2b0aee9b */ 12841 eax = MEM32(FS_BASE + (0)); /* 0x2B043ABA: mov eax, dword ptr fs:[0] */ 12842 PUSH32(esp, eax); /* 0x2B043AC0: push eax */ 12843 MEM32(FS_BASE + (0)) = esp; /* 0x2B043AC1: mov dword ptr fs:[0], esp */ 12844 PUSH32(esp, ecx); /* 0x2B043AC8: push ecx */ 12845 eax = MEM32(0x2B0EEA5C); /* 0x2B043AC9: mov eax, dword ptr [0x2b0eea5c] */ 12846 /* test eax, eax */ /* 0x2B043ACE: test eax, eax */ 12847 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12848 _cf = 0; 12849 _flag_k = FK_TEST; 12850 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B043B0E; /* 0x2B043AD0: jne 0x2b043b0e */ 12851 L_2B043AD2: 12852 PUSH32(esp, 0xECu); /* 0x2B043AD2: push 0xec */ 12853 RECOMP_ICALL(0x2B0AB212u); /* 0x2B043AD7: call 0x2b0ab212 */ /* not lifted */ 12854 RECOMP_FLAGS_IN(); 12855 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12856 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12857 esp = esp + 4; /* 0x2B043ADC: add esp, 4 */ 12858 _flag_k = FK_ADD; 12859 MEM32(ebp + (-0x10)) = eax; /* 0x2B043ADF: mov dword ptr [ebp - 0x10], eax */ 12860 /* test eax, eax */ /* 0x2B043AE2: test eax, eax */ 12861 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12862 _cf = 0; 12863 _flag_k = FK_TEST; 12864 MEM32(ebp + (-0x4)) = 0; /* 0x2B043AE4: mov dword ptr [ebp - 4], 0 */ 12865 if (TEST_Z(_flag_a, _flag_b)) goto L_2B043B07; /* 0x2B043AEB: je 0x2b043b07 */ 12866 L_2B043AED: 12867 ecx = eax; /* 0x2B043AED: mov ecx, eax */ 12868 RECOMP_ICALL(0x2B0403D0u); /* 0x2B043AEF: call 0x2b0403d0 */ /* not lifted */ 12869 RECOMP_FLAGS_IN(); 12870 MEM32(0x2B0EEA5C) = eax; /* 0x2B043AF4: mov dword ptr [0x2b0eea5c], eax */ 12871 ecx = MEM32(ebp + (-0xC)); /* 0x2B043AF9: mov ecx, dword ptr [ebp - 0xc] */ 12872 MEM32(FS_BASE + (0)) = ecx; /* 0x2B043AFC: mov dword ptr fs:[0], ecx */ 12873 esp = ebp; /* 0x2B043B03: mov esp, ebp */ 12874 ebp = POP32_VAL(esp); /* 0x2B043B05: pop ebp */ 12875 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B043B06: ret */ 12876 L_2B043B07: 12877 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12878 eax = 0; /* 0x2B043B07: xor eax, eax */ 12879 _cf = 0; 12880 _flag_k = FK_TEST; 12881 MEM32(0x2B0EEA5C) = eax; /* 0x2B043B09: mov dword ptr [0x2b0eea5c], eax */ 12882 L_2B043B0E: 12883 ecx = MEM32(ebp + (-0xC)); /* 0x2B043B0E: mov ecx, dword ptr [ebp - 0xc] */ 12884 MEM32(FS_BASE + (0)) = ecx; /* 0x2B043B11: mov dword ptr fs:[0], ecx */ 12885 esp = ebp; /* 0x2B043B18: mov esp, ebp */ 12886 ebp = POP32_VAL(esp); /* 0x2B043B1A: pop ebp */ 12887 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B043B1B: ret */ 12888 RECOMP_REGS_OUT(); 12889 } 12890 12891 void sub_2B043B20(void) { 12892 int _fpu_cmp = 0; 12893 uint32_t _cf = 0; 12894 int _df = 1; 12895 uint32_t _flag_k = FK_NONE; 12896 uint32_t _flag_a = 0, _flag_b = 0; 12897 uint32_t _itail_tgt = 0; 12898 RECOMP_REGS_LOCALS 12899 RECOMP_ENTER(0x2B043B20u); 12900 12901 L_2B043B20: 12902 ecx = MEM32(0x2B0EEA5C); /* 0x2B043B20: mov ecx, dword ptr [0x2b0eea5c] */ 12903 /* test ecx, ecx */ /* 0x2B043B26: test ecx, ecx */ 12904 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12905 _cf = 0; 12906 _flag_k = FK_TEST; 12907 if (TEST_Z(_flag_a, _flag_b)) goto L_2B043B30; /* 0x2B043B28: je 0x2b043b30 */ 12908 L_2B043B2A: 12909 eax = MEM32(ecx); /* 0x2B043B2A: mov eax, dword ptr [ecx] */ 12910 PUSH32(esp, 1); /* 0x2B043B2C: push 1 */ 12911 RECOMP_ICALL(MEM32(eax)); /* 0x2B043B2E: call dword ptr [eax] */ 12912 RECOMP_FLAGS_IN(); 12913 L_2B043B30: 12914 MEM32(0x2B0EEA5C) = 0; /* 0x2B043B30: mov dword ptr [0x2b0eea5c], 0 */ 12915 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B043B3A: ret */ 12916 RECOMP_REGS_OUT(); 12917 } 12918 12919 void sub_2B043B40(void) { 12920 int _fpu_cmp = 0; 12921 uint32_t _cf = 0; 12922 int _df = 1; 12923 uint32_t _flag_k = FK_NONE; 12924 uint32_t _flag_a = 0, _flag_b = 0; 12925 uint32_t _itail_tgt = 0; 12926 RECOMP_REGS_LOCALS 12927 RECOMP_ENTER(0x2B043B40u); 12928 12929 goto L_2B043B40; 12930 L_2B043240: 12931 PUSH32(esp, ebp); /* 0x2B043240: push ebp */ 12932 L_2B043241: 12933 ebp = esp; /* 0x2B043241: mov ebp, esp */ 12934 L_2B043243: 12935 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xB4u); 12936 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12937 esp = esp - 0xB4u; /* 0x2B043243: sub esp, 0xb4 */ 12938 _flag_k = FK_CMP; 12939 L_2B043249: 12940 PUSH32(esp, esi); /* 0x2B043249: push esi */ 12941 L_2B04324A: 12942 esi = ecx; /* 0x2B04324A: mov esi, ecx */ 12943 L_2B04324C: 12944 PUSH32(esp, edi); /* 0x2B04324C: push edi */ 12945 L_2B04324D: 12946 MEM32(ebp + (-0x8)) = esi; /* 0x2B04324D: mov dword ptr [ebp - 8], esi */ 12947 L_2B043250: 12948 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B043250: call dword ptr [0x2b0b5d6c] */ 12949 RECOMP_FLAGS_IN(); 12950 L_2B043256: 12951 ecx = eax; /* 0x2B043256: mov ecx, eax */ 12952 L_2B043258: 12953 RECOMP_ICALL(MEM32(0x2B0B5EB8)); /* 0x2B043258: call dword ptr [0x2b0b5eb8] */ 12954 RECOMP_FLAGS_IN(); 12955 L_2B04325E: 12956 /* test LO8(eax), LO8(eax) */ /* 0x2B04325E: test al, al */ 12957 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12958 _cf = 0; 12959 _flag_k = FK_NARROW(FK_TEST, 24); 12960 L_2B043260: 12961 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0434B1; /* 0x2B043260: je 0x2b0434b1 */ 12962 L_2B043266: 12963 eax = MEM32(esi + 0x8C); /* 0x2B043266: mov eax, dword ptr [esi + 0x8c] */ 12964 L_2B04326C: 12965 eax = MEM32(eax + 0x4); /* 0x2B04326C: mov eax, dword ptr [eax + 4] */ 12966 L_2B04326F: 12967 edi = MEM32(eax); /* 0x2B04326F: mov edi, dword ptr [eax] */ 12968 L_2B043271: 12969 /* cmp eax, edi */ /* 0x2B043271: cmp eax, edi */ 12970 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 12971 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12972 _flag_k = FK_CMP; 12973 L_2B043273: 12974 MEM32(ebp + (-0x4)) = edi; /* 0x2B043273: mov dword ptr [ebp - 4], edi */ 12975 L_2B043276: 12976 MEM32(ebp + (-0xC)) = 0; /* 0x2B043276: mov dword ptr [ebp - 0xc], 0 */ 12977 L_2B04327D: 12978 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0434B1; /* 0x2B04327D: je 0x2b0434b1 */ 12979 L_2B043283: 12980 PUSH32(esp, ebx); /* 0x2B043283: push ebx */ 12981 L_2B043284: 12982 goto L_2B043289; /* 0x2B043284: jmp 0x2b043289 */ 12983 L_2B043286: 12984 edi = MEM32(ebp + (-0x4)); /* 0x2B043286: mov edi, dword ptr [ebp - 4] */ 12985 L_2B043289: 12986 esi = MEM32(edi + 0x8); /* 0x2B043289: mov esi, dword ptr [edi + 8] */ 12987 L_2B04328C: 12988 RECOMP_ICALL(MEM32(0x2B0B53BC)); /* 0x2B04328C: call dword ptr [0x2b0b53bc] */ 12989 RECOMP_FLAGS_IN(); 12990 L_2B043292: 12991 eax = MEM32(eax + 0x28); /* 0x2B043292: mov eax, dword ptr [eax + 0x28] */ 12992 L_2B043295: 12993 edx = MEM32(esi + 0xC); /* 0x2B043295: mov edx, dword ptr [esi + 0xc] */ 12994 L_2B043298: 12995 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 12996 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12997 edx = edx - eax; /* 0x2B043298: sub edx, eax */ 12998 _flag_k = FK_CMP; 12999 L_2B04329A: 13000 PUSH32(esp, 0); /* 0x2B04329A: push 0 */ 13001 L_2B04329C: 13002 PUSH32(esp, esi); /* 0x2B04329C: push esi */ 13003 L_2B04329D: 13004 MEM32(esi + 0xC) = edx; /* 0x2B04329D: mov dword ptr [esi + 0xc], edx */ 13005 L_2B0432A0: 13006 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0432A0: call dword ptr [0x2b0b5d6c] */ 13007 RECOMP_FLAGS_IN(); 13008 L_2B0432A6: 13009 ecx = eax; /* 0x2B0432A6: mov ecx, eax */ 13010 L_2B0432A8: 13011 RECOMP_ICALL(MEM32(0x2B0B5EE0)); /* 0x2B0432A8: call dword ptr [0x2b0b5ee0] */ 13012 RECOMP_FLAGS_IN(); 13013 L_2B0432AE: 13014 edx = MEM32(esi + 0xC); /* 0x2B0432AE: mov edx, dword ptr [esi + 0xc] */ 13015 L_2B0432B1: 13016 ecx = eax; /* 0x2B0432B1: mov ecx, eax */ 13017 L_2B0432B3: 13018 eax = 0x10624DD3u; /* 0x2B0432B3: mov eax, 0x10624dd3 */ 13019 L_2B0432B8: 13020 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x2B0432B8: imul edx */ 13021 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 13022 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 13023 L_2B0432BA: 13024 if (6u) _cf = (((edx) >> 5) & 1u); /* 0x2B0432BA: sar edx, 6 */ 13025 if (6u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 6u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13026 edx = (uint32_t)((int32_t)edx >> 6u); 13027 L_2B0432BD: 13028 eax = edx; /* 0x2B0432BD: mov eax, edx */ 13029 L_2B0432BF: 13030 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B0432BF: shr eax, 0x1f */ 13031 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13032 eax = eax >> 31u; /* 0x2B0432BF: shr eax, 0x1f */ 13033 L_2B0432C2: 13034 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 13035 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13036 edx = edx + eax; /* 0x2B0432C2: add edx, eax */ 13037 _flag_k = FK_ADD; 13038 L_2B0432C4: 13039 SET_LO8(eax, MEM8(esi + 0x2C)); /* 0x2B0432C4: mov al, byte ptr [esi + 0x2c] */ 13040 L_2B0432C7: 13041 if (19u) _cf = (((ecx) >> 18) & 1u); /* 0x2B0432C7: shr ecx, 0x13 */ 13042 if (19u) { _flag_a = recomp_flags_pack((ecx >> 19u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13043 ecx = ecx >> 19u; /* 0x2B0432C7: shr ecx, 0x13 */ 13044 L_2B0432CA: 13045 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(1) << 24; 13046 SET_LO8(ecx, LO8(ecx) & 1); /* 0x2B0432CA: and cl, 1 */ 13047 _cf = 0; 13048 _flag_k = FK_NARROW(FK_TEST, 24); 13049 L_2B0432CD: 13050 /* test LO8(eax), LO8(eax) */ /* 0x2B0432CD: test al, al */ 13051 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13052 _cf = 0; 13053 _flag_k = FK_NARROW(FK_TEST, 24); 13054 L_2B0432CF: 13055 ebx = edx; /* 0x2B0432CF: mov ebx, edx */ 13056 L_2B0432D1: 13057 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B043338; /* 0x2B0432D1: jne 0x2b043338 */ 13058 L_2B0432D3: 13059 /* cmp ebx, 0xAu */ /* 0x2B0432D3: cmp ebx, 0xa */ 13060 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0xAu); 13061 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13062 _flag_k = FK_CMP; 13063 L_2B0432D6: 13064 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_G, _cf)) goto L_2B043338; /* 0x2B0432D6: jg 0x2b043338 */ 13065 L_2B0432D8: 13066 /* cmp ebx, 2 */ /* 0x2B0432D8: cmp ebx, 2 */ 13067 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(2); 13068 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13069 _flag_k = FK_CMP; 13070 L_2B0432DB: 13071 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_2B043338; /* 0x2B0432DB: jle 0x2b043338 */ 13072 L_2B0432DD: 13073 /* test LO8(ecx), LO8(ecx) */ /* 0x2B0432DD: test cl, cl */ 13074 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 13075 _cf = 0; 13076 _flag_k = FK_NARROW(FK_TEST, 24); 13077 L_2B0432DF: 13078 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B043338; /* 0x2B0432DF: jne 0x2b043338 */ 13079 L_2B0432E1: 13080 PUSH32(esp, ebx); /* 0x2B0432E1: push ebx */ 13081 L_2B0432E2: 13082 PUSH32(esp, esi); /* 0x2B0432E2: push esi */ 13083 L_2B0432E3: 13084 MEM8(esi + 0x2C) = (uint8_t)(1); /* 0x2B0432E3: mov byte ptr [esi + 0x2c], 1 */ 13085 L_2B0432E7: 13086 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0432E7: call dword ptr [0x2b0b5d6c] */ 13087 RECOMP_FLAGS_IN(); 13088 L_2B0432ED: 13089 ecx = eax; /* 0x2B0432ED: mov ecx, eax */ 13090 L_2B0432EF: 13091 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B0432EF: call dword ptr [0x2b0b5d50] */ 13092 RECOMP_FLAGS_IN(); 13093 L_2B0432F5: 13094 PUSH32(esp, eax); /* 0x2B0432F5: push eax */ 13095 L_2B0432F6: 13096 PUSH32(esp, 0x2B0E7378u); /* 0x2B0432F6: push 0x2b0e7378 */ 13097 L_2B0432FB: 13098 ecx = ebp + (-0xB4); /* 0x2B0432FB: lea ecx, [ebp - 0xb4] */ 13099 L_2B043301: 13100 PUSH32(esp, 0x64u); /* 0x2B043301: push 0x64 */ 13101 L_2B043303: 13102 PUSH32(esp, ecx); /* 0x2B043303: push ecx */ 13103 L_2B043304: 13104 RECOMP_ICALL(0x2B012180u); /* 0x2B043304: call 0x2b012180 */ /* not lifted */ 13105 RECOMP_FLAGS_IN(); 13106 L_2B043309: 13107 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 13108 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13109 esp = esp + 0x14u; /* 0x2B043309: add esp, 0x14 */ 13110 _flag_k = FK_ADD; 13111 L_2B04330C: 13112 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 13113 ecx = ecx | 0xFFFFFFFFu; /* 0x2B04330C: or ecx, 0xffffffff */ 13114 _cf = 0; 13115 _flag_k = FK_TEST; 13116 L_2B04330F: 13117 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13118 eax = 0; /* 0x2B04330F: xor eax, eax */ 13119 _cf = 0; 13120 _flag_k = FK_TEST; 13121 L_2B043311: 13122 edi = ebp + (-0xB4); /* 0x2B043311: lea edi, [ebp - 0xb4] */ 13123 L_2B043317: 13124 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; } /* 0x2B043317: repne scasb al, byte ptr es:[edi] */ 13125 L_2B043319: 13126 ecx = ~ecx; /* 0x2B043319: not ecx */ 13127 L_2B04331B: 13128 PUSH32(esp, ecx); /* 0x2B04331B: push ecx */ 13129 L_2B04331C: 13130 edx = ebp + (-0xB4); /* 0x2B04331C: lea edx, [ebp - 0xb4] */ 13131 L_2B043322: 13132 PUSH32(esp, edx); /* 0x2B043322: push edx */ 13133 L_2B043323: 13134 PUSH32(esp, 0x3Fu); /* 0x2B043323: push 0x3f */ 13135 L_2B043325: 13136 PUSH32(esp, 3); /* 0x2B043325: push 3 */ 13137 L_2B043327: 13138 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B043327: call dword ptr [0x2b0b53cc] */ 13139 RECOMP_FLAGS_IN(); 13140 L_2B04332D: 13141 ecx = eax; /* 0x2B04332D: mov ecx, eax */ 13142 L_2B04332F: 13143 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B04332F: call dword ptr [0x2b0b53c4] */ 13144 RECOMP_FLAGS_IN(); 13145 L_2B043335: 13146 edi = MEM32(ebp + (-0x4)); /* 0x2B043335: mov edi, dword ptr [ebp - 4] */ 13147 L_2B043338: 13148 eax = MEM32(ebp + (-0x8)); /* 0x2B043338: mov eax, dword ptr [ebp - 8] */ 13149 L_2B04333B: 13150 SET_LO8(ecx, MEM8(eax + 0xA1)); /* 0x2B04333B: mov cl, byte ptr [eax + 0xa1] */ 13151 L_2B043341: 13152 /* test LO8(ecx), LO8(ecx) */ /* 0x2B043341: test cl, cl */ 13153 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 13154 _cf = 0; 13155 _flag_k = FK_NARROW(FK_TEST, 24); 13156 L_2B043343: 13157 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0433FD; /* 0x2B043343: je 0x2b0433fd */ 13158 L_2B043349: 13159 ecx = MEM32(ebp + (-0xC)); /* 0x2B043349: mov ecx, dword ptr [ebp - 0xc] */ 13160 L_2B04334C: 13161 /* cmp ecx, MEM32(eax + 0xA4) */ /* 0x2B04334C: cmp ecx, dword ptr [eax + 0xa4] */ 13162 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax + 0xA4)); 13163 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13164 _flag_k = FK_CMP; 13165 L_2B043352: 13166 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B0433FD; /* 0x2B043352: jne 0x2b0433fd */ 13167 L_2B043358: 13168 /* cmp ebx, MEM32(esi + 0x14) */ /* 0x2B043358: cmp ebx, dword ptr [esi + 0x14] */ 13169 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x14)); 13170 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13171 _flag_k = FK_CMP; 13172 L_2B04335B: 13173 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0433FD; /* 0x2B04335B: je 0x2b0433fd */ 13174 L_2B043361: 13175 eax = 0x91A2B3C5u; /* 0x2B043361: mov eax, 0x91a2b3c5 */ 13176 L_2B043366: 13177 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ebx); /* 0x2B043366: imul ebx */ 13178 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 13179 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 13180 L_2B043368: 13181 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 13182 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13183 edx = edx + ebx; /* 0x2B043368: add edx, ebx */ 13184 _flag_k = FK_ADD; 13185 L_2B04336A: 13186 if (11u) _cf = (((edx) >> 10) & 1u); /* 0x2B04336A: sar edx, 0xb */ 13187 if (11u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 11u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13188 edx = (uint32_t)((int32_t)edx >> 11u); 13189 L_2B04336D: 13190 eax = edx; /* 0x2B04336D: mov eax, edx */ 13191 L_2B04336F: 13192 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B04336F: shr eax, 0x1f */ 13193 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13194 eax = eax >> 31u; /* 0x2B04336F: shr eax, 0x1f */ 13195 L_2B043372: 13196 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 13197 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13198 edx = edx + eax; /* 0x2B043372: add edx, eax */ 13199 _flag_k = FK_ADD; 13200 L_2B043374: 13201 ecx = edx; /* 0x2B043374: mov ecx, edx */ 13202 L_2B043376: 13203 eax = ecx; /* 0x2B043376: mov eax, ecx */ 13204 L_2B043378: 13205 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 13206 _cf = (eax) != 0; 13207 eax = (uint32_t)(-(int32_t)eax); /* 0x2B043378: neg eax */ 13208 _flag_k = FK_CMP; 13209 L_2B04337A: 13210 if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2B04337A: shl eax, 2 */ 13211 if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13212 eax = eax << 2u; /* 0x2B04337A: shl eax, 2 */ 13213 L_2B04337D: 13214 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13215 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13216 eax = eax - ecx; /* 0x2B04337D: sub eax, ecx */ 13217 _flag_k = FK_CMP; 13218 L_2B04337F: 13219 eax = eax + eax * 4; /* 0x2B04337F: lea eax, [eax + eax*4] */ 13220 L_2B043382: 13221 edx = eax + eax * 8; /* 0x2B043382: lea edx, [eax + eax*8] */ 13222 L_2B043385: 13223 if (4u) _cf = (((edx) >> 28) & 1u); /* 0x2B043385: shl edx, 4 */ 13224 if (4u) { _flag_a = recomp_flags_pack((edx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13225 edx = edx << 4u; /* 0x2B043385: shl edx, 4 */ 13226 L_2B043388: 13227 MEM32(esi + 0x14) = ebx; /* 0x2B043388: mov dword ptr [esi + 0x14], ebx */ 13228 L_2B04338B: 13229 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 13230 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13231 ebx = ebx + edx; /* 0x2B04338B: add ebx, edx */ 13232 _flag_k = FK_ADD; 13233 L_2B04338D: 13234 eax = 0x88888889u; /* 0x2B04338D: mov eax, 0x88888889 */ 13235 L_2B043392: 13236 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ebx); /* 0x2B043392: imul ebx */ 13237 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 13238 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 13239 L_2B043394: 13240 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 13241 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13242 edx = edx + ebx; /* 0x2B043394: add edx, ebx */ 13243 _flag_k = FK_ADD; 13244 L_2B043396: 13245 if (5u) _cf = (((edx) >> 4) & 1u); /* 0x2B043396: sar edx, 5 */ 13246 if (5u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 5u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13247 edx = (uint32_t)((int32_t)edx >> 5u); 13248 L_2B043399: 13249 eax = edx; /* 0x2B043399: mov eax, edx */ 13250 L_2B04339B: 13251 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B04339B: shr eax, 0x1f */ 13252 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13253 eax = eax >> 31u; /* 0x2B04339B: shr eax, 0x1f */ 13254 L_2B04339E: 13255 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 13256 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13257 edx = edx + eax; /* 0x2B04339E: add edx, eax */ 13258 _flag_k = FK_ADD; 13259 L_2B0433A0: 13260 eax = edx + edx * 2; /* 0x2B0433A0: lea eax, [edx + edx*2] */ 13261 L_2B0433A3: 13262 eax = eax + eax * 4; /* 0x2B0433A3: lea eax, [eax + eax*4] */ 13263 L_2B0433A6: 13264 if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2B0433A6: shl eax, 2 */ 13265 if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13266 eax = eax << 2u; /* 0x2B0433A6: shl eax, 2 */ 13267 L_2B0433A9: 13268 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 13269 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13270 ebx = ebx - eax; /* 0x2B0433A9: sub ebx, eax */ 13271 _flag_k = FK_CMP; 13272 L_2B0433AB: 13273 PUSH32(esp, ebx); /* 0x2B0433AB: push ebx */ 13274 L_2B0433AC: 13275 ebx = MEM32(0x2B0B5D6C); /* 0x2B0433AC: mov ebx, dword ptr [0x2b0b5d6c] */ 13276 L_2B0433B2: 13277 PUSH32(esp, edx); /* 0x2B0433B2: push edx */ 13278 L_2B0433B3: 13279 PUSH32(esp, ecx); /* 0x2B0433B3: push ecx */ 13280 L_2B0433B4: 13281 ecx = MEM32(edi + 0x8); /* 0x2B0433B4: mov ecx, dword ptr [edi + 8] */ 13282 L_2B0433B7: 13283 PUSH32(esp, 0x36u); /* 0x2B0433B7: push 0x36 */ 13284 L_2B0433B9: 13285 PUSH32(esp, ecx); /* 0x2B0433B9: push ecx */ 13286 L_2B0433BA: 13287 RECOMP_ICALL(ebx); /* 0x2B0433BA: call ebx */ 13288 RECOMP_FLAGS_IN(); 13289 L_2B0433BC: 13290 ecx = eax; /* 0x2B0433BC: mov ecx, eax */ 13291 L_2B0433BE: 13292 RECOMP_ICALL(MEM32(0x2B0B5EE0)); /* 0x2B0433BE: call dword ptr [0x2b0b5ee0] */ 13293 RECOMP_FLAGS_IN(); 13294 L_2B0433C4: 13295 edx = MEM32(edi + 0x8); /* 0x2B0433C4: mov edx, dword ptr [edi + 8] */ 13296 L_2B0433C7: 13297 PUSH32(esp, eax); /* 0x2B0433C7: push eax */ 13298 L_2B0433C8: 13299 PUSH32(esp, edx); /* 0x2B0433C8: push edx */ 13300 L_2B0433C9: 13301 RECOMP_ICALL(ebx); /* 0x2B0433C9: call ebx */ 13302 RECOMP_FLAGS_IN(); 13303 L_2B0433CB: 13304 ecx = eax; /* 0x2B0433CB: mov ecx, eax */ 13305 L_2B0433CD: 13306 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B0433CD: call dword ptr [0x2b0b5d50] */ 13307 RECOMP_FLAGS_IN(); 13308 L_2B0433D3: 13309 PUSH32(esp, eax); /* 0x2B0433D3: push eax */ 13310 L_2B0433D4: 13311 eax = ebp + (-0x50); /* 0x2B0433D4: lea eax, [ebp - 0x50] */ 13312 L_2B0433D7: 13313 PUSH32(esp, 0x2B0E7360u); /* 0x2B0433D7: push 0x2b0e7360 */ 13314 L_2B0433DC: 13315 PUSH32(esp, eax); /* 0x2B0433DC: push eax */ 13316 L_2B0433DD: 13317 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B0433DD: call dword ptr [0x2b0b51f0] */ 13318 RECOMP_FLAGS_IN(); 13319 L_2B0433E3: 13320 ebx = MEM32(ebp + (-0x8)); /* 0x2B0433E3: mov ebx, dword ptr [ebp - 8] */ 13321 L_2B0433E6: 13322 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 13323 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13324 esp = esp + 0x1Cu; /* 0x2B0433E6: add esp, 0x1c */ 13325 _flag_k = FK_ADD; 13326 L_2B0433E9: 13327 ecx = ebp + (-0x50); /* 0x2B0433E9: lea ecx, [ebp - 0x50] */ 13328 L_2B0433EC: 13329 PUSH32(esp, ecx); /* 0x2B0433EC: push ecx */ 13330 L_2B0433ED: 13331 ecx = MEM32(ebx + 0x6C); /* 0x2B0433ED: mov ecx, dword ptr [ebx + 0x6c] */ 13332 L_2B0433F0: 13333 RECOMP_ICALL(MEM32(0x2B0B5850)); /* 0x2B0433F0: call dword ptr [0x2b0b5850] */ 13334 RECOMP_FLAGS_IN(); 13335 L_2B0433F6: 13336 ecx = ebx; /* 0x2B0433F6: mov ecx, ebx */ 13337 L_2B0433F8: 13338 RECOMP_ICALL(0x2B042240u); /* 0x2B0433F8: call 0x2b042240 */ /* not lifted */ 13339 RECOMP_FLAGS_IN(); 13340 L_2B0433FD: 13341 ecx = MEM32(esi + 0x20); /* 0x2B0433FD: mov ecx, dword ptr [esi + 0x20] */ 13342 L_2B043400: 13343 /* test ecx, ecx */ /* 0x2B043400: test ecx, ecx */ 13344 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 13345 _cf = 0; 13346 _flag_k = FK_TEST; 13347 L_2B043402: 13348 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B043479; /* 0x2B043402: je 0x2b043479 */ 13349 L_2B043404: 13350 eax = MEM32(esi + 0xC); /* 0x2B043404: mov eax, dword ptr [esi + 0xc] */ 13351 L_2B043407: 13352 eax = eax + eax * 4; /* 0x2B043407: lea eax, [eax + eax*4] */ 13353 L_2B04340A: 13354 if (3u) _cf = (((eax) >> 29) & 1u); /* 0x2B04340A: shl eax, 3 */ 13355 if (3u) { _flag_a = recomp_flags_pack((eax << 3u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13356 eax = eax << 3u; /* 0x2B04340A: shl eax, 3 */ 13357 L_2B04340D: 13358 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B04340D: cdq */ 13359 L_2B04340E: 13360 { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)MEM32(esi + 0x10); /* 0x2B04340E: idiv dword ptr [esi + 0x10] */ 13361 if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); } 13362 else { eax = 0; edx = 0; } } 13363 L_2B043411: 13364 ebx = eax; /* 0x2B043411: mov ebx, eax */ 13365 L_2B043413: 13366 /* cmp ebx, MEM32(esi + 0x18) */ /* 0x2B043413: cmp ebx, dword ptr [esi + 0x18] */ 13367 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x18)); 13368 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13369 _flag_k = FK_CMP; 13370 L_2B043416: 13371 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B043479; /* 0x2B043416: je 0x2b043479 */ 13372 L_2B043418: 13373 edx = MEM32(ecx + 0x14); /* 0x2B043418: mov edx, dword ptr [ecx + 0x14] */ 13374 L_2B04341B: 13375 eax = MEM32(edx + 0xC); /* 0x2B04341B: mov eax, dword ptr [edx + 0xc] */ 13376 L_2B04341E: 13377 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B04341E: cdq */ 13378 L_2B04341F: 13379 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 13380 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13381 eax = eax - edx; /* 0x2B04341F: sub eax, edx */ 13382 _flag_k = FK_CMP; 13383 L_2B043421: 13384 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B043421: sar eax, 1 */ 13385 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13386 eax = (uint32_t)((int32_t)eax >> 1u); 13387 L_2B043423: 13388 /* cmp ebx, eax */ /* 0x2B043423: cmp ebx, eax */ 13389 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 13390 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13391 _flag_k = FK_CMP; 13392 L_2B043425: 13393 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_2B043429; /* 0x2B043425: jle 0x2b043429 */ 13394 L_2B043427: 13395 ebx = eax; /* 0x2B043427: mov ebx, eax */ 13396 L_2B043429: 13397 eax = ebp + (-0x14); /* 0x2B043429: lea eax, [ebp - 0x14] */ 13398 L_2B04342C: 13399 PUSH32(esp, eax); /* 0x2B04342C: push eax */ 13400 L_2B04342D: 13401 MEM32(esi + 0x18) = ebx; /* 0x2B04342D: mov dword ptr [esi + 0x18], ebx */ 13402 L_2B043430: 13403 MEM32(ebp + (-0x14)) = ebx; /* 0x2B043430: mov dword ptr [ebp - 0x14], ebx */ 13404 L_2B043433: 13405 MEM32(ebp + (-0x10)) = 0x18u; /* 0x2B043433: mov dword ptr [ebp - 0x10], 0x18 */ 13406 L_2B04343A: 13407 RECOMP_ICALL(MEM32(0x2B0B5844)); /* 0x2B04343A: call dword ptr [0x2b0b5844] */ 13408 RECOMP_FLAGS_IN(); 13409 L_2B043440: 13410 ecx = ebx + 0x28; /* 0x2B043440: lea ecx, [ebx + 0x28] */ 13411 L_2B043443: 13412 edx = ebp + (-0x1C); /* 0x2B043443: lea edx, [ebp - 0x1c] */ 13413 L_2B043446: 13414 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B043446: mov dword ptr [ebp - 0x1c], ecx */ 13415 L_2B043449: 13416 ecx = MEM32(esi + 0x24); /* 0x2B043449: mov ecx, dword ptr [esi + 0x24] */ 13417 L_2B04344C: 13418 PUSH32(esp, edx); /* 0x2B04344C: push edx */ 13419 L_2B04344D: 13420 MEM32(ebp + (-0x18)) = 0; /* 0x2B04344D: mov dword ptr [ebp - 0x18], 0 */ 13421 L_2B043454: 13422 RECOMP_ICALL(MEM32(0x2B0B5848)); /* 0x2B043454: call dword ptr [0x2b0b5848] */ 13423 RECOMP_FLAGS_IN(); 13424 L_2B04345A: 13425 ecx = ebp + (-0x14); /* 0x2B04345A: lea ecx, [ebp - 0x14] */ 13426 L_2B04345D: 13427 eax = 0x28u; /* 0x2B04345D: mov eax, 0x28 */ 13428 L_2B043462: 13429 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 13430 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13431 eax = eax - ebx; /* 0x2B043462: sub eax, ebx */ 13432 _flag_k = FK_CMP; 13433 L_2B043464: 13434 PUSH32(esp, ecx); /* 0x2B043464: push ecx */ 13435 L_2B043465: 13436 ecx = MEM32(esi + 0x24); /* 0x2B043465: mov ecx, dword ptr [esi + 0x24] */ 13437 L_2B043468: 13438 MEM32(ebp + (-0x14)) = eax; /* 0x2B043468: mov dword ptr [ebp - 0x14], eax */ 13439 L_2B04346B: 13440 RECOMP_ICALL(MEM32(0x2B0B5844)); /* 0x2B04346B: call dword ptr [0x2b0b5844] */ 13441 RECOMP_FLAGS_IN(); 13442 L_2B043471: 13443 ecx = MEM32(ebp + (-0x8)); /* 0x2B043471: mov ecx, dword ptr [ebp - 8] */ 13444 L_2B043474: 13445 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B043474: call 0x2b03a2b0 */ /* not lifted */ 13446 RECOMP_FLAGS_IN(); 13447 L_2B043479: 13448 eax = MEM32(esi + 0x8); /* 0x2B043479: mov eax, dword ptr [esi + 8] */ 13449 L_2B04347C: 13450 /* cmp eax, 3 */ /* 0x2B04347C: cmp eax, 3 */ 13451 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 13452 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13453 _flag_k = FK_CMP; 13454 L_2B04347F: 13455 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_2B04348F; /* 0x2B04347F: ja 0x2b04348f */ 13456 L_2B043481: 13457 { _itail_tgt = (uint32_t)(MEM32(eax * 4 + 0x2B0435D0)); goto _ljump; } 13458 L_2B043488: 13459 MEM32(esi + 0x8) = 3; /* 0x2B043488: mov dword ptr [esi + 8], 3 */ 13460 L_2B04348F: 13461 edx = MEM32(edi); /* 0x2B04348F: mov edx, dword ptr [edi] */ 13462 L_2B043491: 13463 MEM32(ebp + (-0x4)) = edx; /* 0x2B043491: mov dword ptr [ebp - 4], edx */ 13464 L_2B043494: 13465 ecx = MEM32(ebp + (-0xC)); /* 0x2B043494: mov ecx, dword ptr [ebp - 0xc] */ 13466 L_2B043497: 13467 eax = MEM32(ebp + (-0x8)); /* 0x2B043497: mov eax, dword ptr [ebp - 8] */ 13468 L_2B04349A: 13469 edx = MEM32(ebp + (-0x4)); /* 0x2B04349A: mov edx, dword ptr [ebp - 4] */ 13470 L_2B04349D: 13471 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13472 ecx = ecx + 1; /* 0x2B04349D: inc ecx */ 13473 _flag_k = FK_INC; 13474 L_2B04349E: 13475 MEM32(ebp + (-0xC)) = ecx; /* 0x2B04349E: mov dword ptr [ebp - 0xc], ecx */ 13476 L_2B0434A1: 13477 ecx = MEM32(eax + 0x8C); /* 0x2B0434A1: mov ecx, dword ptr [eax + 0x8c] */ 13478 L_2B0434A7: 13479 /* cmp MEM32(ecx + 0x4), edx */ /* 0x2B0434A7: cmp dword ptr [ecx + 4], edx */ 13480 _flag_a = (uint32_t)(MEM32(ecx + 0x4)); _flag_b = (uint32_t)(edx); 13481 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13482 _flag_k = FK_CMP; 13483 L_2B0434AA: 13484 RECOMP_BACKEDGE(); 13485 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B043286; /* 0x2B0434AA: jne 0x2b043286 */ 13486 L_2B0434B0: 13487 ebx = POP32_VAL(esp); /* 0x2B0434B0: pop ebx */ 13488 L_2B0434B1: 13489 edi = POP32_VAL(esp); /* 0x2B0434B1: pop edi */ 13490 L_2B0434B2: 13491 esi = POP32_VAL(esp); /* 0x2B0434B2: pop esi */ 13492 L_2B0434B3: 13493 esp = ebp; /* 0x2B0434B3: mov esp, ebp */ 13494 L_2B0434B5: 13495 ebp = POP32_VAL(esp); /* 0x2B0434B5: pop ebp */ 13496 L_2B0434B6: 13497 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0434B6: ret */ 13498 L_2B0434B7: 13499 /* cmp MEM32(esi + 0xC), 0x1388u */ /* 0x2B0434B7: cmp dword ptr [esi + 0xc], 0x1388 */ 13500 _flag_a = (uint32_t)(MEM32(esi + 0xC)); _flag_b = (uint32_t)(0x1388u); 13501 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13502 _flag_k = FK_CMP; 13503 L_2B0434BE: 13504 RECOMP_BACKEDGE(); 13505 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_GE, _cf)) goto L_2B04348F; /* 0x2B0434BE: jge 0x2b04348f */ 13506 L_2B0434C0: 13507 MEM32(esi + 0x8) = 1; /* 0x2B0434C0: mov dword ptr [esi + 8], 1 */ 13508 L_2B0434C7: 13509 RECOMP_BACKEDGE(); 13510 goto L_2B04348F; /* 0x2B0434C7: jmp 0x2b04348f */ 13511 L_2B0434C9: 13512 eax = MEM32(esi + 0xC); /* 0x2B0434C9: mov eax, dword ptr [esi + 0xc] */ 13513 L_2B0434CC: 13514 /* test eax, eax */ /* 0x2B0434CC: test eax, eax */ 13515 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13516 _cf = 0; 13517 _flag_k = FK_TEST; 13518 L_2B0434CE: 13519 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_G, _cf)) goto L_2B04353B; /* 0x2B0434CE: jg 0x2b04353b */ 13520 L_2B0434D0: 13521 ecx = MEM32(esi + 0x20); /* 0x2B0434D0: mov ecx, dword ptr [esi + 0x20] */ 13522 L_2B0434D3: 13523 /* test ecx, ecx */ /* 0x2B0434D3: test ecx, ecx */ 13524 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 13525 _cf = 0; 13526 _flag_k = FK_TEST; 13527 L_2B0434D5: 13528 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0434DD; /* 0x2B0434D5: je 0x2b0434dd */ 13529 L_2B0434D7: 13530 edx = MEM32(ecx); /* 0x2B0434D7: mov edx, dword ptr [ecx] */ 13531 L_2B0434D9: 13532 PUSH32(esp, 1); /* 0x2B0434D9: push 1 */ 13533 L_2B0434DB: 13534 RECOMP_ICALL(MEM32(edx)); /* 0x2B0434DB: call dword ptr [edx] */ 13535 RECOMP_FLAGS_IN(); 13536 L_2B0434DD: 13537 ecx = MEM32(esi + 0x24); /* 0x2B0434DD: mov ecx, dword ptr [esi + 0x24] */ 13538 L_2B0434E0: 13539 /* test ecx, ecx */ /* 0x2B0434E0: test ecx, ecx */ 13540 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 13541 _cf = 0; 13542 _flag_k = FK_TEST; 13543 L_2B0434E2: 13544 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0434EA; /* 0x2B0434E2: je 0x2b0434ea */ 13545 L_2B0434E4: 13546 eax = MEM32(ecx); /* 0x2B0434E4: mov eax, dword ptr [ecx] */ 13547 L_2B0434E6: 13548 PUSH32(esp, 1); /* 0x2B0434E6: push 1 */ 13549 L_2B0434E8: 13550 RECOMP_ICALL(MEM32(eax)); /* 0x2B0434E8: call dword ptr [eax] */ 13551 RECOMP_FLAGS_IN(); 13552 L_2B0434EA: 13553 ecx = MEM32(esi + 0x28); /* 0x2B0434EA: mov ecx, dword ptr [esi + 0x28] */ 13554 L_2B0434ED: 13555 /* test ecx, ecx */ /* 0x2B0434ED: test ecx, ecx */ 13556 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 13557 _cf = 0; 13558 _flag_k = FK_TEST; 13559 L_2B0434EF: 13560 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0434F7; /* 0x2B0434EF: je 0x2b0434f7 */ 13561 L_2B0434F1: 13562 edx = MEM32(ecx); /* 0x2B0434F1: mov edx, dword ptr [ecx] */ 13563 L_2B0434F3: 13564 PUSH32(esp, 1); /* 0x2B0434F3: push 1 */ 13565 L_2B0434F5: 13566 RECOMP_ICALL(MEM32(edx)); /* 0x2B0434F5: call dword ptr [edx] */ 13567 RECOMP_FLAGS_IN(); 13568 L_2B0434F7: 13569 ecx = MEM32(ebp + (-0x8)); /* 0x2B0434F7: mov ecx, dword ptr [ebp - 8] */ 13570 L_2B0434FA: 13571 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13572 eax = 0; /* 0x2B0434FA: xor eax, eax */ 13573 _cf = 0; 13574 _flag_k = FK_TEST; 13575 L_2B0434FC: 13576 MEM32(esi + 0x20) = eax; /* 0x2B0434FC: mov dword ptr [esi + 0x20], eax */ 13577 L_2B0434FF: 13578 MEM32(esi + 0x24) = eax; /* 0x2B0434FF: mov dword ptr [esi + 0x24], eax */ 13579 L_2B043502: 13580 MEM32(esi + 0x28) = eax; /* 0x2B043502: mov dword ptr [esi + 0x28], eax */ 13581 L_2B043505: 13582 MEM32(esi + 0x8) = 2; /* 0x2B043505: mov dword ptr [esi + 8], 2 */ 13583 L_2B04350C: 13584 MEM32(esi + 0xC) = 0x7D0u; /* 0x2B04350C: mov dword ptr [esi + 0xc], 0x7d0 */ 13585 L_2B043513: 13586 SET_LO8(edx, MEM8(ecx + 0xA1)); /* 0x2B043513: mov dl, byte ptr [ecx + 0xa1] */ 13587 L_2B043519: 13588 /* test LO8(edx), LO8(edx) */ /* 0x2B043519: test dl, dl */ 13589 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 13590 _cf = 0; 13591 _flag_k = FK_NARROW(FK_TEST, 24); 13592 L_2B04351B: 13593 RECOMP_BACKEDGE(); 13594 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B04348F; /* 0x2B04351B: je 0x2b04348f */ 13595 L_2B043521: 13596 edx = MEM32(ebp + (-0xC)); /* 0x2B043521: mov edx, dword ptr [ebp - 0xc] */ 13597 L_2B043524: 13598 /* cmp edx, MEM32(ecx + 0xA4) */ /* 0x2B043524: cmp edx, dword ptr [ecx + 0xa4] */ 13599 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ecx + 0xA4)); 13600 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13601 _flag_k = FK_CMP; 13602 L_2B04352A: 13603 RECOMP_BACKEDGE(); 13604 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B04348F; /* 0x2B04352A: jne 0x2b04348f */ 13605 L_2B043530: 13606 PUSH32(esp, eax); /* 0x2B043530: push eax */ 13607 L_2B043531: 13608 RECOMP_ICALL(0x2B043700u); /* 0x2B043531: call 0x2b043700 */ /* not lifted */ 13609 RECOMP_FLAGS_IN(); 13610 L_2B043536: 13611 RECOMP_BACKEDGE(); 13612 goto L_2B04348F; /* 0x2B043536: jmp 0x2b04348f */ 13613 L_2B04353B: 13614 SET_LO8(ecx, MEM8(esi + 0x1C)); /* 0x2B04353B: mov cl, byte ptr [esi + 0x1c] */ 13615 L_2B04353E: 13616 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x100u); 13617 eax = eax & 0x100u; /* 0x2B04353E: and eax, 0x100 */ 13618 _cf = 0; 13619 _flag_k = FK_TEST; 13620 L_2B043543: 13621 /* cmp eax, 0x80u */ /* 0x2B043543: cmp eax, 0x80 */ 13622 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80u); 13623 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13624 _flag_k = FK_CMP; 13625 L_2B043548: 13626 SET_LO8(eax, (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) ? 1 : 0); /* 0x2B043548: setle al */ 13627 L_2B04354B: 13628 /* cmp LO8(ecx), LO8(eax) */ /* 0x2B04354B: cmp cl, al */ 13629 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13630 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13631 _flag_k = FK_NARROW(FK_CMP, 24); 13632 L_2B04354D: 13633 MEM8(esi + 0x1C) = (uint8_t)(LO8(eax)); /* 0x2B04354D: mov byte ptr [esi + 0x1c], al */ 13634 L_2B043550: 13635 RECOMP_BACKEDGE(); 13636 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B04348F; /* 0x2B043550: je 0x2b04348f */ 13637 L_2B043556: 13638 ecx = MEM32(ebp + (-0x8)); /* 0x2B043556: mov ecx, dword ptr [ebp - 8] */ 13639 L_2B043559: 13640 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B043559: call 0x2b03a2b0 */ /* not lifted */ 13641 RECOMP_FLAGS_IN(); 13642 L_2B04355E: 13643 RECOMP_BACKEDGE(); 13644 goto L_2B04348F; /* 0x2B04355E: jmp 0x2b04348f */ 13645 L_2B043563: 13646 eax = MEM32(esi + 0xC); /* 0x2B043563: mov eax, dword ptr [esi + 0xc] */ 13647 L_2B043566: 13648 /* test eax, eax */ /* 0x2B043566: test eax, eax */ 13649 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13650 _cf = 0; 13651 _flag_k = FK_TEST; 13652 L_2B043568: 13653 RECOMP_BACKEDGE(); 13654 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_GE, _cf)) goto L_2B04348F; /* 0x2B043568: jge 0x2b04348f */ 13655 L_2B04356E: 13656 PUSH32(esp, esi); /* 0x2B04356E: push esi */ 13657 L_2B04356F: 13658 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B04356F: call 0x2b0ab1ba */ /* not lifted */ 13659 RECOMP_FLAGS_IN(); 13660 L_2B043574: 13661 eax = MEM32(edi); /* 0x2B043574: mov eax, dword ptr [edi] */ 13662 L_2B043576: 13663 ecx = MEM32(edi + 0x4); /* 0x2B043576: mov ecx, dword ptr [edi + 4] */ 13664 L_2B043579: 13665 esi = MEM32(ebp + (-0x8)); /* 0x2B043579: mov esi, dword ptr [ebp - 8] */ 13666 L_2B04357C: 13667 ebx = MEM32(esi + 0x8C); /* 0x2B04357C: mov ebx, dword ptr [esi + 0x8c] */ 13668 L_2B043582: 13669 MEM32(ecx) = eax; /* 0x2B043582: mov dword ptr [ecx], eax */ 13670 L_2B043584: 13671 edx = MEM32(edi); /* 0x2B043584: mov edx, dword ptr [edi] */ 13672 L_2B043586: 13673 MEM32(ebp + (-0x4)) = eax; /* 0x2B043586: mov dword ptr [ebp - 4], eax */ 13674 L_2B043589: 13675 eax = MEM32(edi + 0x4); /* 0x2B043589: mov eax, dword ptr [edi + 4] */ 13676 L_2B04358C: 13677 PUSH32(esp, edi); /* 0x2B04358C: push edi */ 13678 L_2B04358D: 13679 MEM32(edx + 0x4) = eax; /* 0x2B04358D: mov dword ptr [edx + 4], eax */ 13680 L_2B043590: 13681 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B043590: call 0x2b0ab1ba */ /* not lifted */ 13682 RECOMP_FLAGS_IN(); 13683 L_2B043595: 13684 ecx = MEM32(ebx + 0x8); /* 0x2B043595: mov ecx, dword ptr [ebx + 8] */ 13685 L_2B043598: 13686 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 13687 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13688 esp = esp + 8; /* 0x2B043598: add esp, 8 */ 13689 _flag_k = FK_ADD; 13690 L_2B04359B: 13691 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13692 ecx = ecx - 1; /* 0x2B04359B: dec ecx */ 13693 _flag_k = FK_DEC; 13694 L_2B04359C: 13695 MEM32(ebx + 0x8) = ecx; /* 0x2B04359C: mov dword ptr [ebx + 8], ecx */ 13696 L_2B04359F: 13697 SET_LO8(eax, MEM8(esi + 0xA1)); /* 0x2B04359F: mov al, byte ptr [esi + 0xa1] */ 13698 L_2B0435A5: 13699 /* test LO8(eax), LO8(eax) */ /* 0x2B0435A5: test al, al */ 13700 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13701 _cf = 0; 13702 _flag_k = FK_NARROW(FK_TEST, 24); 13703 L_2B0435A7: 13704 ecx = MEM32(ebp + (-0x4)); /* 0x2B0435A7: mov ecx, dword ptr [ebp - 4] */ 13705 L_2B0435AA: 13706 MEM32(ebp + (-0x4)) = ecx; /* 0x2B0435AA: mov dword ptr [ebp - 4], ecx */ 13707 L_2B0435AD: 13708 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0435C1; /* 0x2B0435AD: je 0x2b0435c1 */ 13709 L_2B0435AF: 13710 eax = MEM32(esi + 0xA4); /* 0x2B0435AF: mov eax, dword ptr [esi + 0xa4] */ 13711 L_2B0435B5: 13712 /* cmp MEM32(ebp + (-0xC)), eax */ /* 0x2B0435B5: cmp dword ptr [ebp - 0xc], eax */ 13713 _flag_a = (uint32_t)(MEM32(ebp + (-0xC))); _flag_b = (uint32_t)(eax); 13714 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13715 _flag_k = FK_CMP; 13716 L_2B0435B8: 13717 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_GE, _cf)) goto L_2B0435C1; /* 0x2B0435B8: jge 0x2b0435c1 */ 13718 L_2B0435BA: 13719 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 13720 eax = eax - 1; /* 0x2B0435BA: dec eax */ 13721 _flag_k = FK_DEC; 13722 L_2B0435BB: 13723 MEM32(esi + 0xA4) = eax; /* 0x2B0435BB: mov dword ptr [esi + 0xa4], eax */ 13724 L_2B0435C1: 13725 ecx = esi; /* 0x2B0435C1: mov ecx, esi */ 13726 L_2B0435C3: 13727 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B0435C3: call 0x2b03a2b0 */ /* not lifted */ 13728 RECOMP_FLAGS_IN(); 13729 L_2B0435C8: 13730 RECOMP_BACKEDGE(); 13731 goto L_2B043494; /* 0x2B0435C8: jmp 0x2b043494 */ 13732 L_2B043B40: 13733 ecx = MEM32(0x2B0EEA5C); /* 0x2B043B40: mov ecx, dword ptr [0x2b0eea5c] */ 13734 L_2B043B46: 13735 RECOMP_BACKEDGE(); 13736 goto L_2B043240; /* 0x2B043B46: jmp 0x2b043240 */ 13737 { RECOMP_REGS_OUT(); return; } /* end of function */ 13738 _ljump: 13739 switch (_itail_tgt) { 13740 case 0x2B043240u: goto L_2B043240; 13741 case 0x2B043241u: goto L_2B043241; 13742 case 0x2B043243u: goto L_2B043243; 13743 case 0x2B043249u: goto L_2B043249; 13744 case 0x2B04324Au: goto L_2B04324A; 13745 case 0x2B04324Cu: goto L_2B04324C; 13746 case 0x2B04324Du: goto L_2B04324D; 13747 case 0x2B043250u: goto L_2B043250; 13748 case 0x2B043256u: goto L_2B043256; 13749 case 0x2B043258u: goto L_2B043258; 13750 case 0x2B04325Eu: goto L_2B04325E; 13751 case 0x2B043260u: goto L_2B043260; 13752 case 0x2B043266u: goto L_2B043266; 13753 case 0x2B04326Cu: goto L_2B04326C; 13754 case 0x2B04326Fu: goto L_2B04326F; 13755 case 0x2B043271u: goto L_2B043271; 13756 case 0x2B043273u: goto L_2B043273; 13757 case 0x2B043276u: goto L_2B043276; 13758 case 0x2B04327Du: goto L_2B04327D; 13759 case 0x2B043283u: goto L_2B043283; 13760 case 0x2B043284u: goto L_2B043284; 13761 case 0x2B043286u: goto L_2B043286; 13762 case 0x2B043289u: goto L_2B043289; 13763 case 0x2B04328Cu: goto L_2B04328C; 13764 case 0x2B043292u: goto L_2B043292; 13765 case 0x2B043295u: goto L_2B043295; 13766 case 0x2B043298u: goto L_2B043298; 13767 case 0x2B04329Au: goto L_2B04329A; 13768 case 0x2B04329Cu: goto L_2B04329C; 13769 case 0x2B04329Du: goto L_2B04329D; 13770 case 0x2B0432A0u: goto L_2B0432A0; 13771 case 0x2B0432A6u: goto L_2B0432A6; 13772 case 0x2B0432A8u: goto L_2B0432A8; 13773 case 0x2B0432AEu: goto L_2B0432AE; 13774 case 0x2B0432B1u: goto L_2B0432B1; 13775 case 0x2B0432B3u: goto L_2B0432B3; 13776 case 0x2B0432B8u: goto L_2B0432B8; 13777 case 0x2B0432BAu: goto L_2B0432BA; 13778 case 0x2B0432BDu: goto L_2B0432BD; 13779 case 0x2B0432BFu: goto L_2B0432BF; 13780 case 0x2B0432C2u: goto L_2B0432C2; 13781 case 0x2B0432C4u: goto L_2B0432C4; 13782 case 0x2B0432C7u: goto L_2B0432C7; 13783 case 0x2B0432CAu: goto L_2B0432CA; 13784 case 0x2B0432CDu: goto L_2B0432CD; 13785 case 0x2B0432CFu: goto L_2B0432CF; 13786 case 0x2B0432D1u: goto L_2B0432D1; 13787 case 0x2B0432D3u: goto L_2B0432D3; 13788 case 0x2B0432D6u: goto L_2B0432D6; 13789 case 0x2B0432D8u: goto L_2B0432D8; 13790 case 0x2B0432DBu: goto L_2B0432DB; 13791 case 0x2B0432DDu: goto L_2B0432DD; 13792 case 0x2B0432DFu: goto L_2B0432DF; 13793 case 0x2B0432E1u: goto L_2B0432E1; 13794 case 0x2B0432E2u: goto L_2B0432E2; 13795 case 0x2B0432E3u: goto L_2B0432E3; 13796 case 0x2B0432E7u: goto L_2B0432E7; 13797 case 0x2B0432EDu: goto L_2B0432ED; 13798 case 0x2B0432EFu: goto L_2B0432EF; 13799 case 0x2B0432F5u: goto L_2B0432F5; 13800 case 0x2B0432F6u: goto L_2B0432F6; 13801 case 0x2B0432FBu: goto L_2B0432FB; 13802 case 0x2B043301u: goto L_2B043301; 13803 case 0x2B043303u: goto L_2B043303; 13804 case 0x2B043304u: goto L_2B043304; 13805 case 0x2B043309u: goto L_2B043309; 13806 case 0x2B04330Cu: goto L_2B04330C; 13807 case 0x2B04330Fu: goto L_2B04330F; 13808 case 0x2B043311u: goto L_2B043311; 13809 case 0x2B043317u: goto L_2B043317; 13810 case 0x2B043319u: goto L_2B043319; 13811 case 0x2B04331Bu: goto L_2B04331B; 13812 case 0x2B04331Cu: goto L_2B04331C; 13813 case 0x2B043322u: goto L_2B043322; 13814 case 0x2B043323u: goto L_2B043323; 13815 case 0x2B043325u: goto L_2B043325; 13816 case 0x2B043327u: goto L_2B043327; 13817 case 0x2B04332Du: goto L_2B04332D; 13818 case 0x2B04332Fu: goto L_2B04332F; 13819 case 0x2B043335u: goto L_2B043335; 13820 case 0x2B043338u: goto L_2B043338; 13821 case 0x2B04333Bu: goto L_2B04333B; 13822 case 0x2B043341u: goto L_2B043341; 13823 case 0x2B043343u: goto L_2B043343; 13824 case 0x2B043349u: goto L_2B043349; 13825 case 0x2B04334Cu: goto L_2B04334C; 13826 case 0x2B043352u: goto L_2B043352; 13827 case 0x2B043358u: goto L_2B043358; 13828 case 0x2B04335Bu: goto L_2B04335B; 13829 case 0x2B043361u: goto L_2B043361; 13830 case 0x2B043366u: goto L_2B043366; 13831 case 0x2B043368u: goto L_2B043368; 13832 case 0x2B04336Au: goto L_2B04336A; 13833 case 0x2B04336Du: goto L_2B04336D; 13834 case 0x2B04336Fu: goto L_2B04336F; 13835 case 0x2B043372u: goto L_2B043372; 13836 case 0x2B043374u: goto L_2B043374; 13837 case 0x2B043376u: goto L_2B043376; 13838 case 0x2B043378u: goto L_2B043378; 13839 case 0x2B04337Au: goto L_2B04337A; 13840 case 0x2B04337Du: goto L_2B04337D; 13841 case 0x2B04337Fu: goto L_2B04337F; 13842 case 0x2B043382u: goto L_2B043382; 13843 case 0x2B043385u: goto L_2B043385; 13844 case 0x2B043388u: goto L_2B043388; 13845 case 0x2B04338Bu: goto L_2B04338B; 13846 case 0x2B04338Du: goto L_2B04338D; 13847 case 0x2B043392u: goto L_2B043392; 13848 case 0x2B043394u: goto L_2B043394; 13849 case 0x2B043396u: goto L_2B043396; 13850 case 0x2B043399u: goto L_2B043399; 13851 case 0x2B04339Bu: goto L_2B04339B; 13852 case 0x2B04339Eu: goto L_2B04339E; 13853 case 0x2B0433A0u: goto L_2B0433A0; 13854 case 0x2B0433A3u: goto L_2B0433A3; 13855 case 0x2B0433A6u: goto L_2B0433A6; 13856 case 0x2B0433A9u: goto L_2B0433A9; 13857 case 0x2B0433ABu: goto L_2B0433AB; 13858 case 0x2B0433ACu: goto L_2B0433AC; 13859 case 0x2B0433B2u: goto L_2B0433B2; 13860 case 0x2B0433B3u: goto L_2B0433B3; 13861 case 0x2B0433B4u: goto L_2B0433B4; 13862 case 0x2B0433B7u: goto L_2B0433B7; 13863 case 0x2B0433B9u: goto L_2B0433B9; 13864 case 0x2B0433BAu: goto L_2B0433BA; 13865 case 0x2B0433BCu: goto L_2B0433BC; 13866 case 0x2B0433BEu: goto L_2B0433BE; 13867 case 0x2B0433C4u: goto L_2B0433C4; 13868 case 0x2B0433C7u: goto L_2B0433C7; 13869 case 0x2B0433C8u: goto L_2B0433C8; 13870 case 0x2B0433C9u: goto L_2B0433C9; 13871 case 0x2B0433CBu: goto L_2B0433CB; 13872 case 0x2B0433CDu: goto L_2B0433CD; 13873 case 0x2B0433D3u: goto L_2B0433D3; 13874 case 0x2B0433D4u: goto L_2B0433D4; 13875 case 0x2B0433D7u: goto L_2B0433D7; 13876 case 0x2B0433DCu: goto L_2B0433DC; 13877 case 0x2B0433DDu: goto L_2B0433DD; 13878 case 0x2B0433E3u: goto L_2B0433E3; 13879 case 0x2B0433E6u: goto L_2B0433E6; 13880 case 0x2B0433E9u: goto L_2B0433E9; 13881 case 0x2B0433ECu: goto L_2B0433EC; 13882 case 0x2B0433EDu: goto L_2B0433ED; 13883 case 0x2B0433F0u: goto L_2B0433F0; 13884 case 0x2B0433F6u: goto L_2B0433F6; 13885 case 0x2B0433F8u: goto L_2B0433F8; 13886 case 0x2B0433FDu: goto L_2B0433FD; 13887 case 0x2B043400u: goto L_2B043400; 13888 case 0x2B043402u: goto L_2B043402; 13889 case 0x2B043404u: goto L_2B043404; 13890 case 0x2B043407u: goto L_2B043407; 13891 case 0x2B04340Au: goto L_2B04340A; 13892 case 0x2B04340Du: goto L_2B04340D; 13893 case 0x2B04340Eu: goto L_2B04340E; 13894 case 0x2B043411u: goto L_2B043411; 13895 case 0x2B043413u: goto L_2B043413; 13896 case 0x2B043416u: goto L_2B043416; 13897 case 0x2B043418u: goto L_2B043418; 13898 case 0x2B04341Bu: goto L_2B04341B; 13899 case 0x2B04341Eu: goto L_2B04341E; 13900 case 0x2B04341Fu: goto L_2B04341F; 13901 case 0x2B043421u: goto L_2B043421; 13902 case 0x2B043423u: goto L_2B043423; 13903 case 0x2B043425u: goto L_2B043425; 13904 case 0x2B043427u: goto L_2B043427; 13905 case 0x2B043429u: goto L_2B043429; 13906 case 0x2B04342Cu: goto L_2B04342C; 13907 case 0x2B04342Du: goto L_2B04342D; 13908 case 0x2B043430u: goto L_2B043430; 13909 case 0x2B043433u: goto L_2B043433; 13910 case 0x2B04343Au: goto L_2B04343A; 13911 case 0x2B043440u: goto L_2B043440; 13912 case 0x2B043443u: goto L_2B043443; 13913 case 0x2B043446u: goto L_2B043446; 13914 case 0x2B043449u: goto L_2B043449; 13915 case 0x2B04344Cu: goto L_2B04344C; 13916 case 0x2B04344Du: goto L_2B04344D; 13917 case 0x2B043454u: goto L_2B043454; 13918 case 0x2B04345Au: goto L_2B04345A; 13919 case 0x2B04345Du: goto L_2B04345D; 13920 case 0x2B043462u: goto L_2B043462; 13921 case 0x2B043464u: goto L_2B043464; 13922 case 0x2B043465u: goto L_2B043465; 13923 case 0x2B043468u: goto L_2B043468; 13924 case 0x2B04346Bu: goto L_2B04346B; 13925 case 0x2B043471u: goto L_2B043471; 13926 case 0x2B043474u: goto L_2B043474; 13927 case 0x2B043479u: goto L_2B043479; 13928 case 0x2B04347Cu: goto L_2B04347C; 13929 case 0x2B04347Fu: goto L_2B04347F; 13930 case 0x2B043481u: goto L_2B043481; 13931 case 0x2B043488u: goto L_2B043488; 13932 case 0x2B04348Fu: goto L_2B04348F; 13933 case 0x2B043491u: goto L_2B043491; 13934 case 0x2B043494u: goto L_2B043494; 13935 case 0x2B043497u: goto L_2B043497; 13936 case 0x2B04349Au: goto L_2B04349A; 13937 case 0x2B04349Du: goto L_2B04349D; 13938 case 0x2B04349Eu: goto L_2B04349E; 13939 case 0x2B0434A1u: goto L_2B0434A1; 13940 case 0x2B0434A7u: goto L_2B0434A7; 13941 case 0x2B0434AAu: goto L_2B0434AA; 13942 case 0x2B0434B0u: goto L_2B0434B0; 13943 case 0x2B0434B1u: goto L_2B0434B1; 13944 case 0x2B0434B2u: goto L_2B0434B2; 13945 case 0x2B0434B3u: goto L_2B0434B3; 13946 case 0x2B0434B5u: goto L_2B0434B5; 13947 case 0x2B0434B6u: goto L_2B0434B6; 13948 case 0x2B0434B7u: goto L_2B0434B7; 13949 case 0x2B0434BEu: goto L_2B0434BE; 13950 case 0x2B0434C0u: goto L_2B0434C0; 13951 case 0x2B0434C7u: goto L_2B0434C7; 13952 case 0x2B0434C9u: goto L_2B0434C9; 13953 case 0x2B0434CCu: goto L_2B0434CC; 13954 case 0x2B0434CEu: goto L_2B0434CE; 13955 case 0x2B0434D0u: goto L_2B0434D0; 13956 case 0x2B0434D3u: goto L_2B0434D3; 13957 case 0x2B0434D5u: goto L_2B0434D5; 13958 case 0x2B0434D7u: goto L_2B0434D7; 13959 case 0x2B0434D9u: goto L_2B0434D9; 13960 case 0x2B0434DBu: goto L_2B0434DB; 13961 case 0x2B0434DDu: goto L_2B0434DD; 13962 case 0x2B0434E0u: goto L_2B0434E0; 13963 case 0x2B0434E2u: goto L_2B0434E2; 13964 case 0x2B0434E4u: goto L_2B0434E4; 13965 case 0x2B0434E6u: goto L_2B0434E6; 13966 case 0x2B0434E8u: goto L_2B0434E8; 13967 case 0x2B0434EAu: goto L_2B0434EA; 13968 case 0x2B0434EDu: goto L_2B0434ED; 13969 case 0x2B0434EFu: goto L_2B0434EF; 13970 case 0x2B0434F1u: goto L_2B0434F1; 13971 case 0x2B0434F3u: goto L_2B0434F3; 13972 case 0x2B0434F5u: goto L_2B0434F5; 13973 case 0x2B0434F7u: goto L_2B0434F7; 13974 case 0x2B0434FAu: goto L_2B0434FA; 13975 case 0x2B0434FCu: goto L_2B0434FC; 13976 case 0x2B0434FFu: goto L_2B0434FF; 13977 case 0x2B043502u: goto L_2B043502; 13978 case 0x2B043505u: goto L_2B043505; 13979 case 0x2B04350Cu: goto L_2B04350C; 13980 case 0x2B043513u: goto L_2B043513; 13981 case 0x2B043519u: goto L_2B043519; 13982 case 0x2B04351Bu: goto L_2B04351B; 13983 case 0x2B043521u: goto L_2B043521; 13984 case 0x2B043524u: goto L_2B043524; 13985 case 0x2B04352Au: goto L_2B04352A; 13986 case 0x2B043530u: goto L_2B043530; 13987 case 0x2B043531u: goto L_2B043531; 13988 case 0x2B043536u: goto L_2B043536; 13989 case 0x2B04353Bu: goto L_2B04353B; 13990 case 0x2B04353Eu: goto L_2B04353E; 13991 case 0x2B043543u: goto L_2B043543; 13992 case 0x2B043548u: goto L_2B043548; 13993 case 0x2B04354Bu: goto L_2B04354B; 13994 case 0x2B04354Du: goto L_2B04354D; 13995 case 0x2B043550u: goto L_2B043550; 13996 case 0x2B043556u: goto L_2B043556; 13997 case 0x2B043559u: goto L_2B043559; 13998 case 0x2B04355Eu: goto L_2B04355E; 13999 case 0x2B043563u: goto L_2B043563; 14000 case 0x2B043566u: goto L_2B043566; 14001 case 0x2B043568u: goto L_2B043568; 14002 case 0x2B04356Eu: goto L_2B04356E; 14003 case 0x2B04356Fu: goto L_2B04356F; 14004 case 0x2B043574u: goto L_2B043574; 14005 case 0x2B043576u: goto L_2B043576; 14006 case 0x2B043579u: goto L_2B043579; 14007 case 0x2B04357Cu: goto L_2B04357C; 14008 case 0x2B043582u: goto L_2B043582; 14009 case 0x2B043584u: goto L_2B043584; 14010 case 0x2B043586u: goto L_2B043586; 14011 case 0x2B043589u: goto L_2B043589; 14012 case 0x2B04358Cu: goto L_2B04358C; 14013 case 0x2B04358Du: goto L_2B04358D; 14014 case 0x2B043590u: goto L_2B043590; 14015 case 0x2B043595u: goto L_2B043595; 14016 case 0x2B043598u: goto L_2B043598; 14017 case 0x2B04359Bu: goto L_2B04359B; 14018 case 0x2B04359Cu: goto L_2B04359C; 14019 case 0x2B04359Fu: goto L_2B04359F; 14020 case 0x2B0435A5u: goto L_2B0435A5; 14021 case 0x2B0435A7u: goto L_2B0435A7; 14022 case 0x2B0435AAu: goto L_2B0435AA; 14023 case 0x2B0435ADu: goto L_2B0435AD; 14024 case 0x2B0435AFu: goto L_2B0435AF; 14025 case 0x2B0435B5u: goto L_2B0435B5; 14026 case 0x2B0435B8u: goto L_2B0435B8; 14027 case 0x2B0435BAu: goto L_2B0435BA; 14028 case 0x2B0435BBu: goto L_2B0435BB; 14029 case 0x2B0435C1u: goto L_2B0435C1; 14030 case 0x2B0435C3u: goto L_2B0435C3; 14031 case 0x2B0435C8u: goto L_2B0435C8; 14032 case 0x2B043B40u: goto L_2B043B40; 14033 case 0x2B043B46u: goto L_2B043B46; 14034 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 14035 } 14036 RECOMP_REGS_OUT(); 14037 } 14038 14039 void sub_2B043B50(void) { 14040 int _fpu_cmp = 0; 14041 uint32_t _cf = 0; 14042 int _df = 1; 14043 uint32_t _flag_k = FK_NONE; 14044 uint32_t _flag_a = 0, _flag_b = 0; 14045 uint32_t _itail_tgt = 0; 14046 RECOMP_REGS_LOCALS 14047 RECOMP_ENTER(0x2B043B50u); 14048 14049 L_2B043B50: 14050 eax = MEM32(0x2B0EEA5C); /* 0x2B043B50: mov eax, dword ptr [0x2b0eea5c] */ 14051 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B043B55: ret */ 14052 RECOMP_REGS_OUT(); 14053 } 14054 14055 void sub_2B043B60(void) { 14056 int _fpu_cmp = 0; 14057 uint32_t _cf = 0; 14058 int _df = 1; 14059 uint32_t _flag_k = FK_NONE; 14060 uint32_t _flag_a = 0, _flag_b = 0; 14061 uint32_t _itail_tgt = 0; 14062 RECOMP_REGS_LOCALS 14063 RECOMP_ENTER(0x2B043B60u); 14064 14065 L_2B043B60: 14066 PUSH32(esp, ebp); /* 0x2B043B60: push ebp */ 14067 ebp = esp; /* 0x2B043B61: mov ebp, esp */ 14068 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 14069 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14070 esp = esp - 8; /* 0x2B043B63: sub esp, 8 */ 14071 _flag_k = FK_CMP; 14072 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14073 eax = 0; /* 0x2B043B66: xor eax, eax */ 14074 _cf = 0; 14075 _flag_k = FK_TEST; 14076 MEM32(ebp + (-0x8)) = eax; /* 0x2B043B68: mov dword ptr [ebp - 8], eax */ 14077 MEM32(ebp + (-0x4)) = eax; /* 0x2B043B6B: mov dword ptr [ebp - 4], eax */ 14078 eax = ebp + (-0x8); /* 0x2B043B6E: lea eax, [ebp - 8] */ 14079 PUSH32(esp, eax); /* 0x2B043B71: push eax */ 14080 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B043B72: call dword ptr [0x2b0b53cc] */ 14081 RECOMP_FLAGS_IN(); 14082 ecx = eax; /* 0x2B043B78: mov ecx, eax */ 14083 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B043B7A: call dword ptr [0x2b0b53ac] */ 14084 RECOMP_FLAGS_IN(); 14085 ecx = ebp + (-0x8); /* 0x2B043B80: lea ecx, [ebp - 8] */ 14086 PUSH32(esp, ecx); /* 0x2B043B83: push ecx */ 14087 ecx = MEM32(0x2B0EEA5C); /* 0x2B043B84: mov ecx, dword ptr [0x2b0eea5c] */ 14088 RECOMP_ICALL(0x2B042D20u); /* 0x2B043B8A: call 0x2b042d20 */ /* not lifted */ 14089 RECOMP_FLAGS_IN(); 14090 esp = ebp; /* 0x2B043B8F: mov esp, ebp */ 14091 ebp = POP32_VAL(esp); /* 0x2B043B91: pop ebp */ 14092 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B043B92: ret */ 14093 RECOMP_REGS_OUT(); 14094 } 14095 14096 void sub_2B043BA0(void) { 14097 int _fpu_cmp = 0; 14098 uint32_t _cf = 0; 14099 int _df = 1; 14100 uint32_t _flag_k = FK_NONE; 14101 uint32_t _flag_a = 0, _flag_b = 0; 14102 uint32_t _itail_tgt = 0; 14103 RECOMP_REGS_LOCALS 14104 RECOMP_ENTER(0x2B043BA0u); 14105 14106 L_2B043BA0: 14107 PUSH32(esp, ebp); /* 0x2B043BA0: push ebp */ 14108 ebp = esp; /* 0x2B043BA1: mov ebp, esp */ 14109 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 14110 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14111 esp = esp - 8; /* 0x2B043BA3: sub esp, 8 */ 14112 _flag_k = FK_CMP; 14113 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14114 eax = 0; /* 0x2B043BA6: xor eax, eax */ 14115 _cf = 0; 14116 _flag_k = FK_TEST; 14117 MEM32(ebp + (-0x8)) = eax; /* 0x2B043BA8: mov dword ptr [ebp - 8], eax */ 14118 MEM32(ebp + (-0x4)) = eax; /* 0x2B043BAB: mov dword ptr [ebp - 4], eax */ 14119 eax = ebp + (-0x8); /* 0x2B043BAE: lea eax, [ebp - 8] */ 14120 PUSH32(esp, eax); /* 0x2B043BB1: push eax */ 14121 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B043BB2: call dword ptr [0x2b0b53cc] */ 14122 RECOMP_FLAGS_IN(); 14123 ecx = eax; /* 0x2B043BB8: mov ecx, eax */ 14124 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B043BBA: call dword ptr [0x2b0b53ac] */ 14125 RECOMP_FLAGS_IN(); 14126 ecx = ebp + (-0x8); /* 0x2B043BC0: lea ecx, [ebp - 8] */ 14127 PUSH32(esp, ecx); /* 0x2B043BC3: push ecx */ 14128 ecx = MEM32(0x2B0EEA5C); /* 0x2B043BC4: mov ecx, dword ptr [0x2b0eea5c] */ 14129 RECOMP_ICALL(0x2B043030u); /* 0x2B043BCA: call 0x2b043030 */ /* not lifted */ 14130 RECOMP_FLAGS_IN(); 14131 esp = ebp; /* 0x2B043BCF: mov esp, ebp */ 14132 ebp = POP32_VAL(esp); /* 0x2B043BD1: pop ebp */ 14133 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B043BD2: ret */ 14134 RECOMP_REGS_OUT(); 14135 } 14136 14137 void sub_2B043BE0(void) { 14138 int _fpu_cmp = 0; 14139 uint32_t _cf = 0; 14140 int _df = 1; 14141 uint32_t _flag_k = FK_NONE; 14142 uint32_t _flag_a = 0, _flag_b = 0; 14143 uint32_t _itail_tgt = 0; 14144 RECOMP_REGS_LOCALS 14145 RECOMP_ENTER(0x2B043BE0u); 14146 14147 L_2B043BE0: 14148 PUSH32(esp, ebp); /* 0x2B043BE0: push ebp */ 14149 ebp = esp; /* 0x2B043BE1: mov ebp, esp */ 14150 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 14151 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14152 esp = esp - 8; /* 0x2B043BE3: sub esp, 8 */ 14153 _flag_k = FK_CMP; 14154 eax = ebp + (-0x4); /* 0x2B043BE6: lea eax, [ebp - 4] */ 14155 PUSH32(esp, eax); /* 0x2B043BE9: push eax */ 14156 ecx = ebp + (-0x8); /* 0x2B043BEA: lea ecx, [ebp - 8] */ 14157 PUSH32(esp, ecx); /* 0x2B043BED: push ecx */ 14158 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B043BEE: call dword ptr [0x2b0b53cc] */ 14159 RECOMP_FLAGS_IN(); 14160 ecx = eax; /* 0x2B043BF4: mov ecx, eax */ 14161 RECOMP_ICALL(MEM32(0x2B0B5360)); /* 0x2B043BF6: call dword ptr [0x2b0b5360] */ 14162 RECOMP_FLAGS_IN(); 14163 ecx = MEM32(0x2B0EEA5C); /* 0x2B043BFC: mov ecx, dword ptr [0x2b0eea5c] */ 14164 /* test ecx, ecx */ /* 0x2B043C02: test ecx, ecx */ 14165 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 14166 _cf = 0; 14167 _flag_k = FK_TEST; 14168 if (TEST_Z(_flag_a, _flag_b)) goto L_2B043C13; /* 0x2B043C04: je 0x2b043c13 */ 14169 L_2B043C06: 14170 edx = MEM32(ebp + (-0x4)); /* 0x2B043C06: mov edx, dword ptr [ebp - 4] */ 14171 eax = MEM32(ebp + (-0x8)); /* 0x2B043C09: mov eax, dword ptr [ebp - 8] */ 14172 PUSH32(esp, edx); /* 0x2B043C0C: push edx */ 14173 PUSH32(esp, eax); /* 0x2B043C0D: push eax */ 14174 RECOMP_ICALL(0x2B0424D0u); /* 0x2B043C0E: call 0x2b0424d0 */ /* not lifted */ 14175 RECOMP_FLAGS_IN(); 14176 L_2B043C13: 14177 esp = ebp; /* 0x2B043C13: mov esp, ebp */ 14178 ebp = POP32_VAL(esp); /* 0x2B043C15: pop ebp */ 14179 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B043C16: ret */ 14180 RECOMP_REGS_OUT(); 14181 } 14182 14183 void sub_2B043C20(void) { 14184 int _fpu_cmp = 0; 14185 uint32_t _cf = 0; 14186 int _df = 1; 14187 uint32_t _flag_k = FK_NONE; 14188 uint32_t _flag_a = 0, _flag_b = 0; 14189 uint32_t _itail_tgt = 0; 14190 RECOMP_REGS_LOCALS 14191 RECOMP_ENTER(0x2B043C20u); 14192 14193 L_2B043C20: 14194 PUSH32(esp, ebx); /* 0x2B043C20: push ebx */ 14195 PUSH32(esp, esi); /* 0x2B043C21: push esi */ 14196 esi = MEM32(0x2B0B53CC); /* 0x2B043C22: mov esi, dword ptr [0x2b0b53cc] */ 14197 PUSH32(esp, edi); /* 0x2B043C28: push edi */ 14198 ebx = ecx; /* 0x2B043C29: mov ebx, ecx */ 14199 RECOMP_ICALL(esi); /* 0x2B043C2B: call esi */ 14200 RECOMP_FLAGS_IN(); 14201 ecx = eax; /* 0x2B043C2D: mov ecx, eax */ 14202 RECOMP_ICALL(MEM32(0x2B0B5374)); /* 0x2B043C2F: call dword ptr [0x2b0b5374] */ 14203 RECOMP_FLAGS_IN(); 14204 PUSH32(esp, 0x7D0u); /* 0x2B043C35: push 0x7d0 */ 14205 PUSH32(esp, 5); /* 0x2B043C3A: push 5 */ 14206 PUSH32(esp, 1); /* 0x2B043C3C: push 1 */ 14207 RECOMP_ICALL(esi); /* 0x2B043C3E: call esi */ 14208 RECOMP_FLAGS_IN(); 14209 ecx = eax; /* 0x2B043C40: mov ecx, eax */ 14210 RECOMP_ICALL(MEM32(0x2B0B5378)); /* 0x2B043C42: call dword ptr [0x2b0b5378] */ 14211 RECOMP_FLAGS_IN(); 14212 PUSH32(esp, 0x2B043D30u); /* 0x2B043C48: push 0x2b043d30 */ 14213 PUSH32(esp, 5); /* 0x2B043C4D: push 5 */ 14214 RECOMP_ICALL(esi); /* 0x2B043C4F: call esi */ 14215 RECOMP_FLAGS_IN(); 14216 edi = MEM32(0x2B0B5324); /* 0x2B043C51: mov edi, dword ptr [0x2b0b5324] */ 14217 ecx = eax; /* 0x2B043C57: mov ecx, eax */ 14218 RECOMP_ICALL(edi); /* 0x2B043C59: call edi */ 14219 RECOMP_FLAGS_IN(); 14220 PUSH32(esp, 0x2B043DD0u); /* 0x2B043C5B: push 0x2b043dd0 */ 14221 PUSH32(esp, 6); /* 0x2B043C60: push 6 */ 14222 RECOMP_ICALL(esi); /* 0x2B043C62: call esi */ 14223 RECOMP_FLAGS_IN(); 14224 ecx = eax; /* 0x2B043C64: mov ecx, eax */ 14225 RECOMP_ICALL(edi); /* 0x2B043C66: call edi */ 14226 RECOMP_FLAGS_IN(); 14227 PUSH32(esp, 0x2B043E20u); /* 0x2B043C68: push 0x2b043e20 */ 14228 PUSH32(esp, 0x9Fu); /* 0x2B043C6D: push 0x9f */ 14229 RECOMP_ICALL(esi); /* 0x2B043C72: call esi */ 14230 RECOMP_FLAGS_IN(); 14231 ecx = eax; /* 0x2B043C74: mov ecx, eax */ 14232 RECOMP_ICALL(edi); /* 0x2B043C76: call edi */ 14233 RECOMP_FLAGS_IN(); 14234 PUSH32(esp, 0x2B043F40u); /* 0x2B043C78: push 0x2b043f40 */ 14235 PUSH32(esp, 0xA0u); /* 0x2B043C7D: push 0xa0 */ 14236 RECOMP_ICALL(esi); /* 0x2B043C82: call esi */ 14237 RECOMP_FLAGS_IN(); 14238 ecx = eax; /* 0x2B043C84: mov ecx, eax */ 14239 RECOMP_ICALL(edi); /* 0x2B043C86: call edi */ 14240 RECOMP_FLAGS_IN(); 14241 PUSH32(esp, 0x2B043FE0u); /* 0x2B043C88: push 0x2b043fe0 */ 14242 PUSH32(esp, 0xA1u); /* 0x2B043C8D: push 0xa1 */ 14243 RECOMP_ICALL(esi); /* 0x2B043C92: call esi */ 14244 RECOMP_FLAGS_IN(); 14245 ecx = eax; /* 0x2B043C94: mov ecx, eax */ 14246 RECOMP_ICALL(edi); /* 0x2B043C96: call edi */ 14247 RECOMP_FLAGS_IN(); 14248 PUSH32(esp, 0x2B044030u); /* 0x2B043C98: push 0x2b044030 */ 14249 PUSH32(esp, 0xA2u); /* 0x2B043C9D: push 0xa2 */ 14250 RECOMP_ICALL(esi); /* 0x2B043CA2: call esi */ 14251 RECOMP_FLAGS_IN(); 14252 ecx = eax; /* 0x2B043CA4: mov ecx, eax */ 14253 RECOMP_ICALL(edi); /* 0x2B043CA6: call edi */ 14254 RECOMP_FLAGS_IN(); 14255 PUSH32(esp, 0x2B044080u); /* 0x2B043CA8: push 0x2b044080 */ 14256 PUSH32(esp, 0xA3u); /* 0x2B043CAD: push 0xa3 */ 14257 RECOMP_ICALL(esi); /* 0x2B043CB2: call esi */ 14258 RECOMP_FLAGS_IN(); 14259 ecx = eax; /* 0x2B043CB4: mov ecx, eax */ 14260 RECOMP_ICALL(edi); /* 0x2B043CB6: call edi */ 14261 RECOMP_FLAGS_IN(); 14262 PUSH32(esp, 0x2B044130u); /* 0x2B043CB8: push 0x2b044130 */ 14263 PUSH32(esp, 0xA4u); /* 0x2B043CBD: push 0xa4 */ 14264 RECOMP_ICALL(esi); /* 0x2B043CC2: call esi */ 14265 RECOMP_FLAGS_IN(); 14266 ecx = eax; /* 0x2B043CC4: mov ecx, eax */ 14267 RECOMP_ICALL(edi); /* 0x2B043CC6: call edi */ 14268 RECOMP_FLAGS_IN(); 14269 PUSH32(esp, 0x2B0441E0u); /* 0x2B043CC8: push 0x2b0441e0 */ 14270 PUSH32(esp, 0xA5u); /* 0x2B043CCD: push 0xa5 */ 14271 RECOMP_ICALL(esi); /* 0x2B043CD2: call esi */ 14272 RECOMP_FLAGS_IN(); 14273 ecx = eax; /* 0x2B043CD4: mov ecx, eax */ 14274 RECOMP_ICALL(edi); /* 0x2B043CD6: call edi */ 14275 RECOMP_FLAGS_IN(); 14276 PUSH32(esp, 0x2B044280u); /* 0x2B043CD8: push 0x2b044280 */ 14277 PUSH32(esp, 0x13u); /* 0x2B043CDD: push 0x13 */ 14278 RECOMP_ICALL(esi); /* 0x2B043CDF: call esi */ 14279 RECOMP_FLAGS_IN(); 14280 ecx = eax; /* 0x2B043CE1: mov ecx, eax */ 14281 RECOMP_ICALL(edi); /* 0x2B043CE3: call edi */ 14282 RECOMP_FLAGS_IN(); 14283 PUSH32(esp, 0x2B044390u); /* 0x2B043CE5: push 0x2b044390 */ 14284 PUSH32(esp, 0xA6u); /* 0x2B043CEA: push 0xa6 */ 14285 RECOMP_ICALL(esi); /* 0x2B043CEF: call esi */ 14286 RECOMP_FLAGS_IN(); 14287 ecx = eax; /* 0x2B043CF1: mov ecx, eax */ 14288 RECOMP_ICALL(edi); /* 0x2B043CF3: call edi */ 14289 RECOMP_FLAGS_IN(); 14290 PUSH32(esp, 0x2B0443B0u); /* 0x2B043CF5: push 0x2b0443b0 */ 14291 PUSH32(esp, 0xA7u); /* 0x2B043CFA: push 0xa7 */ 14292 RECOMP_ICALL(esi); /* 0x2B043CFF: call esi */ 14293 RECOMP_FLAGS_IN(); 14294 ecx = eax; /* 0x2B043D01: mov ecx, eax */ 14295 RECOMP_ICALL(edi); /* 0x2B043D03: call edi */ 14296 RECOMP_FLAGS_IN(); 14297 PUSH32(esp, 0x2B044420u); /* 0x2B043D05: push 0x2b044420 */ 14298 PUSH32(esp, 0xA8u); /* 0x2B043D0A: push 0xa8 */ 14299 RECOMP_ICALL(esi); /* 0x2B043D0F: call esi */ 14300 RECOMP_FLAGS_IN(); 14301 ecx = eax; /* 0x2B043D11: mov ecx, eax */ 14302 RECOMP_ICALL(edi); /* 0x2B043D13: call edi */ 14303 RECOMP_FLAGS_IN(); 14304 PUSH32(esp, 0x2B044460u); /* 0x2B043D15: push 0x2b044460 */ 14305 PUSH32(esp, 0xA9u); /* 0x2B043D1A: push 0xa9 */ 14306 RECOMP_ICALL(esi); /* 0x2B043D1F: call esi */ 14307 RECOMP_FLAGS_IN(); 14308 ecx = eax; /* 0x2B043D21: mov ecx, eax */ 14309 RECOMP_ICALL(edi); /* 0x2B043D23: call edi */ 14310 RECOMP_FLAGS_IN(); 14311 edi = POP32_VAL(esp); /* 0x2B043D25: pop edi */ 14312 esi = POP32_VAL(esp); /* 0x2B043D26: pop esi */ 14313 eax = ebx; /* 0x2B043D27: mov eax, ebx */ 14314 ebx = POP32_VAL(esp); /* 0x2B043D29: pop ebx */ 14315 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B043D2A: ret */ 14316 RECOMP_REGS_OUT(); 14317 } 14318 14319 void sub_2B043D30(void) { 14320 int _fpu_cmp = 0; 14321 uint32_t _cf = 0; 14322 int _df = 1; 14323 uint32_t _flag_k = FK_NONE; 14324 uint32_t _flag_a = 0, _flag_b = 0; 14325 uint32_t _itail_tgt = 0; 14326 RECOMP_REGS_LOCALS 14327 RECOMP_ENTER(0x2B043D30u); 14328 14329 L_2B043D30: 14330 PUSH32(esp, ebp); /* 0x2B043D30: push ebp */ 14331 ebp = esp; /* 0x2B043D31: mov ebp, esp */ 14332 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B043D33: push -1 */ 14333 PUSH32(esp, 0x2B0AEEC6u); /* 0x2B043D35: push 0x2b0aeec6 */ 14334 eax = MEM32(FS_BASE + (0)); /* 0x2B043D3A: mov eax, dword ptr fs:[0] */ 14335 PUSH32(esp, eax); /* 0x2B043D40: push eax */ 14336 MEM32(FS_BASE + (0)) = esp; /* 0x2B043D41: mov dword ptr fs:[0], esp */ 14337 PUSH32(esp, ecx); /* 0x2B043D48: push ecx */ 14338 PUSH32(esp, 0x44u); /* 0x2B043D49: push 0x44 */ 14339 RECOMP_ICALL(0x2B0AB212u); /* 0x2B043D4B: call 0x2b0ab212 */ /* not lifted */ 14340 RECOMP_FLAGS_IN(); 14341 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14342 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14343 esp = esp + 4; /* 0x2B043D50: add esp, 4 */ 14344 _flag_k = FK_ADD; 14345 MEM32(ebp + (-0x10)) = eax; /* 0x2B043D53: mov dword ptr [ebp - 0x10], eax */ 14346 /* test eax, eax */ /* 0x2B043D56: test eax, eax */ 14347 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14348 _cf = 0; 14349 _flag_k = FK_TEST; 14350 MEM32(ebp + (-0x4)) = 0; /* 0x2B043D58: mov dword ptr [ebp - 4], 0 */ 14351 if (TEST_Z(_flag_a, _flag_b)) goto L_2B043D76; /* 0x2B043D5F: je 0x2b043d76 */ 14352 L_2B043D61: 14353 PUSH32(esp, 0x2B0E73FCu); /* 0x2B043D61: push 0x2b0e73fc */ 14354 PUSH32(esp, 0x59D8u); /* 0x2B043D66: push 0x59d8 */ 14355 PUSH32(esp, 0xCu); /* 0x2B043D6B: push 0xc */ 14356 ecx = eax; /* 0x2B043D6D: mov ecx, eax */ 14357 RECOMP_ICALL(0x2B0444A0u); /* 0x2B043D6F: call 0x2b0444a0 */ /* not lifted */ 14358 RECOMP_FLAGS_IN(); 14359 goto L_2B043D78; /* 0x2B043D74: jmp 0x2b043d78 */ 14360 L_2B043D76: 14361 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14362 eax = 0; /* 0x2B043D76: xor eax, eax */ 14363 _cf = 0; 14364 _flag_k = FK_TEST; 14365 L_2B043D78: 14366 PUSH32(esp, 0x44u); /* 0x2B043D78: push 0x44 */ 14367 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B043D7A: mov dword ptr [ebp - 4], 0xffffffff */ 14368 MEM32(0x2B0EEA74) = eax; /* 0x2B043D81: mov dword ptr [0x2b0eea74], eax */ 14369 RECOMP_ICALL(0x2B0AB212u); /* 0x2B043D86: call 0x2b0ab212 */ /* not lifted */ 14370 RECOMP_FLAGS_IN(); 14371 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14372 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14373 esp = esp + 4; /* 0x2B043D8B: add esp, 4 */ 14374 _flag_k = FK_ADD; 14375 MEM32(ebp + (-0x10)) = eax; /* 0x2B043D8E: mov dword ptr [ebp - 0x10], eax */ 14376 /* test eax, eax */ /* 0x2B043D91: test eax, eax */ 14377 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14378 _cf = 0; 14379 _flag_k = FK_TEST; 14380 MEM32(ebp + (-0x4)) = 1; /* 0x2B043D93: mov dword ptr [ebp - 4], 1 */ 14381 if (TEST_Z(_flag_a, _flag_b)) goto L_2B043DB1; /* 0x2B043D9A: je 0x2b043db1 */ 14382 L_2B043D9C: 14383 PUSH32(esp, 0x2B0E73F0u); /* 0x2B043D9C: push 0x2b0e73f0 */ 14384 PUSH32(esp, 0x5DC0u); /* 0x2B043DA1: push 0x5dc0 */ 14385 PUSH32(esp, 0xDu); /* 0x2B043DA6: push 0xd */ 14386 ecx = eax; /* 0x2B043DA8: mov ecx, eax */ 14387 RECOMP_ICALL(0x2B0444A0u); /* 0x2B043DAA: call 0x2b0444a0 */ /* not lifted */ 14388 RECOMP_FLAGS_IN(); 14389 goto L_2B043DB3; /* 0x2B043DAF: jmp 0x2b043db3 */ 14390 L_2B043DB1: 14391 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14392 eax = 0; /* 0x2B043DB1: xor eax, eax */ 14393 _cf = 0; 14394 _flag_k = FK_TEST; 14395 L_2B043DB3: 14396 ecx = MEM32(ebp + (-0xC)); /* 0x2B043DB3: mov ecx, dword ptr [ebp - 0xc] */ 14397 MEM32(0x2B0EEA78) = eax; /* 0x2B043DB6: mov dword ptr [0x2b0eea78], eax */ 14398 MEM8(0x2B0E73EC) = (uint8_t)(1); /* 0x2B043DBB: mov byte ptr [0x2b0e73ec], 1 */ 14399 MEM32(FS_BASE + (0)) = ecx; /* 0x2B043DC2: mov dword ptr fs:[0], ecx */ 14400 esp = ebp; /* 0x2B043DC9: mov esp, ebp */ 14401 ebp = POP32_VAL(esp); /* 0x2B043DCB: pop ebp */ 14402 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B043DCC: ret */ 14403 RECOMP_REGS_OUT(); 14404 } 14405 14406 void sub_2B043DD0(void) { 14407 int _fpu_cmp = 0; 14408 uint32_t _cf = 0; 14409 int _df = 1; 14410 uint32_t _flag_k = FK_NONE; 14411 uint32_t _flag_a = 0, _flag_b = 0; 14412 uint32_t _itail_tgt = 0; 14413 RECOMP_REGS_LOCALS 14414 RECOMP_ENTER(0x2B043DD0u); 14415 14416 L_2B043DD0: 14417 PUSH32(esp, esi); /* 0x2B043DD0: push esi */ 14418 esi = MEM32(0x2B0EEA74); /* 0x2B043DD1: mov esi, dword ptr [0x2b0eea74] */ 14419 /* test esi, esi */ /* 0x2B043DD7: test esi, esi */ 14420 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 14421 _cf = 0; 14422 _flag_k = FK_TEST; 14423 if (TEST_Z(_flag_a, _flag_b)) goto L_2B043DEB; /* 0x2B043DD9: je 0x2b043deb */ 14424 L_2B043DDB: 14425 ecx = esi; /* 0x2B043DDB: mov ecx, esi */ 14426 RECOMP_ICALL(0x2B0448B0u); /* 0x2B043DDD: call 0x2b0448b0 */ /* not lifted */ 14427 RECOMP_FLAGS_IN(); 14428 PUSH32(esp, esi); /* 0x2B043DE2: push esi */ 14429 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B043DE3: call 0x2b0ab1ba */ /* 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; /* 0x2B043DE8: add esp, 4 */ 14434 _flag_k = FK_ADD; 14435 L_2B043DEB: 14436 esi = MEM32(0x2B0EEA78); /* 0x2B043DEB: mov esi, dword ptr [0x2b0eea78] */ 14437 /* test esi, esi */ /* 0x2B043DF1: test esi, esi */ 14438 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 14439 _cf = 0; 14440 _flag_k = FK_TEST; 14441 MEM32(0x2B0EEA74) = 0; /* 0x2B043DF3: mov dword ptr [0x2b0eea74], 0 */ 14442 if (TEST_Z(_flag_a, _flag_b)) goto L_2B043E0F; /* 0x2B043DFD: je 0x2b043e0f */ 14443 L_2B043DFF: 14444 ecx = esi; /* 0x2B043DFF: mov ecx, esi */ 14445 RECOMP_ICALL(0x2B0448B0u); /* 0x2B043E01: call 0x2b0448b0 */ /* not lifted */ 14446 RECOMP_FLAGS_IN(); 14447 PUSH32(esp, esi); /* 0x2B043E06: push esi */ 14448 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B043E07: call 0x2b0ab1ba */ /* not lifted */ 14449 RECOMP_FLAGS_IN(); 14450 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14451 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14452 esp = esp + 4; /* 0x2B043E0C: add esp, 4 */ 14453 _flag_k = FK_ADD; 14454 L_2B043E0F: 14455 MEM32(0x2B0EEA78) = 0; /* 0x2B043E0F: mov dword ptr [0x2b0eea78], 0 */ 14456 esi = POP32_VAL(esp); /* 0x2B043E19: pop esi */ 14457 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B043E1A: ret */ 14458 RECOMP_REGS_OUT(); 14459 } 14460 14461 void sub_2B043E20(void) { 14462 int _fpu_cmp = 0; 14463 uint32_t _cf = 0; 14464 int _df = 1; 14465 uint32_t _flag_k = FK_NONE; 14466 uint32_t _flag_a = 0, _flag_b = 0; 14467 uint32_t _itail_tgt = 0; 14468 RECOMP_REGS_LOCALS 14469 RECOMP_ENTER(0x2B043E20u); 14470 14471 L_2B043E20: 14472 PUSH32(esp, ebp); /* 0x2B043E20: push ebp */ 14473 ebp = esp; /* 0x2B043E21: mov ebp, esp */ 14474 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 14475 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14476 esp = esp - 0x10u; /* 0x2B043E23: sub esp, 0x10 */ 14477 _flag_k = FK_CMP; 14478 PUSH32(esp, ebx); /* 0x2B043E26: push ebx */ 14479 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14480 eax = 0; /* 0x2B043E27: xor eax, eax */ 14481 _cf = 0; 14482 _flag_k = FK_TEST; 14483 PUSH32(esp, esi); /* 0x2B043E29: push esi */ 14484 esi = MEM32(0x2B0B53CC); /* 0x2B043E2A: mov esi, dword ptr [0x2b0b53cc] */ 14485 MEM32(ebp + (-0x10)) = eax; /* 0x2B043E30: mov dword ptr [ebp - 0x10], eax */ 14486 MEM32(ebp + (-0xC)) = eax; /* 0x2B043E33: mov dword ptr [ebp - 0xc], eax */ 14487 PUSH32(esp, edi); /* 0x2B043E36: push edi */ 14488 eax = ebp + (-0x4); /* 0x2B043E37: lea eax, [ebp - 4] */ 14489 PUSH32(esp, eax); /* 0x2B043E3A: push eax */ 14490 ecx = ebp + (-0x8); /* 0x2B043E3B: lea ecx, [ebp - 8] */ 14491 PUSH32(esp, ecx); /* 0x2B043E3E: push ecx */ 14492 RECOMP_ICALL(esi); /* 0x2B043E3F: call esi */ 14493 RECOMP_FLAGS_IN(); 14494 ecx = eax; /* 0x2B043E41: mov ecx, eax */ 14495 RECOMP_ICALL(MEM32(0x2B0B5360)); /* 0x2B043E43: call dword ptr [0x2b0b5360] */ 14496 RECOMP_FLAGS_IN(); 14497 edx = ebp + (-0x10); /* 0x2B043E49: lea edx, [ebp - 0x10] */ 14498 PUSH32(esp, edx); /* 0x2B043E4C: push edx */ 14499 RECOMP_ICALL(esi); /* 0x2B043E4D: call esi */ 14500 RECOMP_FLAGS_IN(); 14501 ecx = eax; /* 0x2B043E4F: mov ecx, eax */ 14502 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B043E51: call dword ptr [0x2b0b53ac] */ 14503 RECOMP_FLAGS_IN(); 14504 ebx = MEM32(0x2B0EEA74); /* 0x2B043E57: mov ebx, dword ptr [0x2b0eea74] */ 14505 eax = ebx + 0x28; /* 0x2B043E5D: lea eax, [ebx + 0x28] */ 14506 ecx = ebp + (-0x10); /* 0x2B043E60: lea ecx, [ebp - 0x10] */ 14507 /* cmp ecx, eax */ /* 0x2B043E63: cmp ecx, eax */ 14508 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 14509 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14510 _flag_k = FK_CMP; 14511 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B043E6E; /* 0x2B043E65: je 0x2b043e6e */ 14512 L_2B043E67: 14513 edx = MEM32(eax); /* 0x2B043E67: mov edx, dword ptr [eax] */ 14514 eax = MEM32(eax + 0x4); /* 0x2B043E69: mov eax, dword ptr [eax + 4] */ 14515 goto L_2B043E74; /* 0x2B043E6C: jmp 0x2b043e74 */ 14516 L_2B043E6E: 14517 eax = MEM32(ebp + (-0xC)); /* 0x2B043E6E: mov eax, dword ptr [ebp - 0xc] */ 14518 edx = MEM32(ebp + (-0x10)); /* 0x2B043E71: mov edx, dword ptr [ebp - 0x10] */ 14519 L_2B043E74: 14520 esi = MEM32(ebp + (-0xC)); /* 0x2B043E74: mov esi, dword ptr [ebp - 0xc] */ 14521 /* cmp eax, esi */ /* 0x2B043E77: cmp eax, esi */ 14522 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 14523 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14524 _flag_k = FK_CMP; 14525 edi = MEM32(ebp + (-0x10)); /* 0x2B043E79: mov edi, dword ptr [ebp - 0x10] */ 14526 if (CMP_NE(_flag_a, _flag_b)) goto L_2B043E86; /* 0x2B043E7C: jne 0x2b043e86 */ 14527 L_2B043E7E: 14528 /* cmp edx, edi */ /* 0x2B043E7E: cmp edx, edi */ 14529 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 14530 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14531 _flag_k = FK_CMP; 14532 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B043F37; /* 0x2B043E80: je 0x2b043f37 */ 14533 L_2B043E86: 14534 ecx = MEM32(0x2B0EEA78); /* 0x2B043E86: mov ecx, dword ptr [0x2b0eea78] */ 14535 eax = ecx + 0x28; /* 0x2B043E8C: lea eax, [ecx + 0x28] */ 14536 edx = ebp + (-0x10); /* 0x2B043E8F: lea edx, [ebp - 0x10] */ 14537 /* cmp edx, eax */ /* 0x2B043E92: cmp edx, eax */ 14538 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 14539 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14540 _flag_k = FK_CMP; 14541 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B043E9D; /* 0x2B043E94: je 0x2b043e9d */ 14542 L_2B043E96: 14543 edx = MEM32(eax); /* 0x2B043E96: mov edx, dword ptr [eax] */ 14544 eax = MEM32(eax + 0x4); /* 0x2B043E98: mov eax, dword ptr [eax + 4] */ 14545 goto L_2B043EA3; /* 0x2B043E9B: jmp 0x2b043ea3 */ 14546 L_2B043E9D: 14547 eax = MEM32(ebp + (-0xC)); /* 0x2B043E9D: mov eax, dword ptr [ebp - 0xc] */ 14548 edx = MEM32(ebp + (-0x10)); /* 0x2B043EA0: mov edx, dword ptr [ebp - 0x10] */ 14549 L_2B043EA3: 14550 /* cmp eax, esi */ /* 0x2B043EA3: cmp eax, esi */ 14551 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 14552 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14553 _flag_k = FK_CMP; 14554 if (CMP_NE(_flag_a, _flag_b)) goto L_2B043EAF; /* 0x2B043EA5: jne 0x2b043eaf */ 14555 L_2B043EA7: 14556 /* cmp edx, edi */ /* 0x2B043EA7: cmp edx, edi */ 14557 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 14558 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14559 _flag_k = FK_CMP; 14560 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B043F37; /* 0x2B043EA9: je 0x2b043f37 */ 14561 L_2B043EAF: 14562 SET_LO8(eax, MEM8(ebx + 0x30)); /* 0x2B043EAF: mov al, byte ptr [ebx + 0x30] */ 14563 /* test LO8(eax), LO8(eax) */ /* 0x2B043EB2: test al, al */ 14564 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 14565 _cf = 0; 14566 _flag_k = FK_NARROW(FK_TEST, 24); 14567 if (TEST_Z(_flag_a, _flag_b)) goto L_2B043EFE; /* 0x2B043EB4: je 0x2b043efe */ 14568 L_2B043EB6: 14569 SET_LO8(edx, MEM8(ecx + 0x30)); /* 0x2B043EB6: mov dl, byte ptr [ecx + 0x30] */ 14570 /* test LO8(edx), LO8(edx) */ /* 0x2B043EB9: test dl, dl */ 14571 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 14572 _cf = 0; 14573 _flag_k = FK_NARROW(FK_TEST, 24); 14574 if (TEST_Z(_flag_a, _flag_b)) goto L_2B043EFA; /* 0x2B043EBB: je 0x2b043efa */ 14575 L_2B043EBD: 14576 SET_LO8(eax, MEM8(0x2B0E73EC)); /* 0x2B043EBD: mov al, byte ptr [0x2b0e73ec] */ 14577 /* test LO8(eax), LO8(eax) */ /* 0x2B043EC2: test al, al */ 14578 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 14579 _cf = 0; 14580 _flag_k = FK_NARROW(FK_TEST, 24); 14581 eax = MEM32(ebp + (-0x4)); /* 0x2B043EC4: mov eax, dword ptr [ebp - 4] */ 14582 PUSH32(esp, eax); /* 0x2B043EC7: push eax */ 14583 if (TEST_Z(_flag_a, _flag_b)) goto L_2B043ED6; /* 0x2B043EC8: je 0x2b043ed6 */ 14584 L_2B043ECA: 14585 ecx = MEM32(ebp + (-0x8)); /* 0x2B043ECA: mov ecx, dword ptr [ebp - 8] */ 14586 PUSH32(esp, ecx); /* 0x2B043ECD: push ecx */ 14587 edx = ebp + (-0x10); /* 0x2B043ECE: lea edx, [ebp - 0x10] */ 14588 PUSH32(esp, edx); /* 0x2B043ED1: push edx */ 14589 ecx = ebx; /* 0x2B043ED2: mov ecx, ebx */ 14590 goto L_2B043EDE; /* 0x2B043ED4: jmp 0x2b043ede */ 14591 L_2B043ED6: 14592 edx = MEM32(ebp + (-0x8)); /* 0x2B043ED6: mov edx, dword ptr [ebp - 8] */ 14593 PUSH32(esp, edx); /* 0x2B043ED9: push edx */ 14594 eax = ebp + (-0x10); /* 0x2B043EDA: lea eax, [ebp - 0x10] */ 14595 PUSH32(esp, eax); /* 0x2B043EDD: push eax */ 14596 L_2B043EDE: 14597 RECOMP_ICALL(0x2B044C60u); /* 0x2B043EDE: call 0x2b044c60 */ /* not lifted */ 14598 RECOMP_FLAGS_IN(); 14599 SET_LO8(eax, MEM8(0x2B0E73EC)); /* 0x2B043EE3: mov al, byte ptr [0x2b0e73ec] */ 14600 edi = POP32_VAL(esp); /* 0x2B043EE8: pop edi */ 14601 /* test LO8(eax), LO8(eax) */ /* 0x2B043EE9: test al, al */ 14602 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 14603 _cf = 0; 14604 _flag_k = FK_NARROW(FK_TEST, 24); 14605 SET_LO8(ecx, (TEST_Z(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B043EEB: sete cl */ 14606 esi = POP32_VAL(esp); /* 0x2B043EEE: pop esi */ 14607 MEM8(0x2B0E73EC) = (uint8_t)(LO8(ecx)); /* 0x2B043EEF: mov byte ptr [0x2b0e73ec], cl */ 14608 ebx = POP32_VAL(esp); /* 0x2B043EF5: pop ebx */ 14609 esp = ebp; /* 0x2B043EF6: mov esp, ebp */ 14610 ebp = POP32_VAL(esp); /* 0x2B043EF8: pop ebp */ 14611 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B043EF9: ret */ 14612 L_2B043EFA: 14613 /* test LO8(eax), LO8(eax) */ /* 0x2B043EFA: test al, al */ 14614 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 14615 _cf = 0; 14616 _flag_k = FK_NARROW(FK_TEST, 24); 14617 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B043F1F; /* 0x2B043EFC: jne 0x2b043f1f */ 14618 L_2B043EFE: 14619 edx = MEM32(ebp + (-0x4)); /* 0x2B043EFE: mov edx, dword ptr [ebp - 4] */ 14620 eax = MEM32(ebp + (-0x8)); /* 0x2B043F01: mov eax, dword ptr [ebp - 8] */ 14621 PUSH32(esp, edx); /* 0x2B043F04: push edx */ 14622 PUSH32(esp, eax); /* 0x2B043F05: push eax */ 14623 ecx = ebp + (-0x10); /* 0x2B043F06: lea ecx, [ebp - 0x10] */ 14624 PUSH32(esp, ecx); /* 0x2B043F09: push ecx */ 14625 ecx = ebx; /* 0x2B043F0A: mov ecx, ebx */ 14626 RECOMP_ICALL(0x2B044C60u); /* 0x2B043F0C: call 0x2b044c60 */ /* not lifted */ 14627 RECOMP_FLAGS_IN(); 14628 edi = POP32_VAL(esp); /* 0x2B043F11: pop edi */ 14629 esi = POP32_VAL(esp); /* 0x2B043F12: pop esi */ 14630 MEM8(0x2B0E73EC) = (uint8_t)(0); /* 0x2B043F13: mov byte ptr [0x2b0e73ec], 0 */ 14631 ebx = POP32_VAL(esp); /* 0x2B043F1A: pop ebx */ 14632 esp = ebp; /* 0x2B043F1B: mov esp, ebp */ 14633 ebp = POP32_VAL(esp); /* 0x2B043F1D: pop ebp */ 14634 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B043F1E: ret */ 14635 L_2B043F1F: 14636 edx = MEM32(ebp + (-0x4)); /* 0x2B043F1F: mov edx, dword ptr [ebp - 4] */ 14637 eax = MEM32(ebp + (-0x8)); /* 0x2B043F22: mov eax, dword ptr [ebp - 8] */ 14638 PUSH32(esp, edx); /* 0x2B043F25: push edx */ 14639 PUSH32(esp, eax); /* 0x2B043F26: push eax */ 14640 edx = ebp + (-0x10); /* 0x2B043F27: lea edx, [ebp - 0x10] */ 14641 PUSH32(esp, edx); /* 0x2B043F2A: push edx */ 14642 RECOMP_ICALL(0x2B044C60u); /* 0x2B043F2B: call 0x2b044c60 */ /* not lifted */ 14643 RECOMP_FLAGS_IN(); 14644 MEM8(0x2B0E73EC) = (uint8_t)(1); /* 0x2B043F30: mov byte ptr [0x2b0e73ec], 1 */ 14645 L_2B043F37: 14646 edi = POP32_VAL(esp); /* 0x2B043F37: pop edi */ 14647 esi = POP32_VAL(esp); /* 0x2B043F38: pop esi */ 14648 ebx = POP32_VAL(esp); /* 0x2B043F39: pop ebx */ 14649 esp = ebp; /* 0x2B043F3A: mov esp, ebp */ 14650 ebp = POP32_VAL(esp); /* 0x2B043F3C: pop ebp */ 14651 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B043F3D: ret */ 14652 RECOMP_REGS_OUT(); 14653 } 14654 14655 void sub_2B043F40(void) { 14656 int _fpu_cmp = 0; 14657 uint32_t _cf = 0; 14658 int _df = 1; 14659 uint32_t _flag_k = FK_NONE; 14660 uint32_t _flag_a = 0, _flag_b = 0; 14661 uint32_t _itail_tgt = 0; 14662 RECOMP_REGS_LOCALS 14663 RECOMP_ENTER(0x2B043F40u); 14664 14665 L_2B043F40: 14666 PUSH32(esp, ebp); /* 0x2B043F40: push ebp */ 14667 ebp = esp; /* 0x2B043F41: mov ebp, esp */ 14668 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 14669 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14670 esp = esp - 8; /* 0x2B043F43: sub esp, 8 */ 14671 _flag_k = FK_CMP; 14672 PUSH32(esp, esi); /* 0x2B043F46: push esi */ 14673 eax = ebp + (-0x8); /* 0x2B043F47: lea eax, [ebp - 8] */ 14674 PUSH32(esp, edi); /* 0x2B043F4A: push edi */ 14675 PUSH32(esp, eax); /* 0x2B043F4B: push eax */ 14676 MEM32(ebp + (-0x8)) = 0; /* 0x2B043F4C: mov dword ptr [ebp - 8], 0 */ 14677 MEM32(ebp + (-0x4)) = 0; /* 0x2B043F53: mov dword ptr [ebp - 4], 0 */ 14678 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B043F5A: call dword ptr [0x2b0b53cc] */ 14679 RECOMP_FLAGS_IN(); 14680 ecx = eax; /* 0x2B043F60: mov ecx, eax */ 14681 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B043F62: call dword ptr [0x2b0b53ac] */ 14682 RECOMP_FLAGS_IN(); 14683 ecx = MEM32(0x2B0EEA74); /* 0x2B043F68: mov ecx, dword ptr [0x2b0eea74] */ 14684 SET_LO8(eax, MEM8(ecx + 0x30)); /* 0x2B043F6E: mov al, byte ptr [ecx + 0x30] */ 14685 /* test LO8(eax), LO8(eax) */ /* 0x2B043F71: test al, al */ 14686 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 14687 _cf = 0; 14688 _flag_k = FK_NARROW(FK_TEST, 24); 14689 esi = MEM32(ebp + (-0x4)); /* 0x2B043F73: mov esi, dword ptr [ebp - 4] */ 14690 edi = MEM32(ebp + (-0x8)); /* 0x2B043F76: mov edi, dword ptr [ebp - 8] */ 14691 if (TEST_Z(_flag_a, _flag_b)) goto L_2B043F9A; /* 0x2B043F79: je 0x2b043f9a */ 14692 L_2B043F7B: 14693 eax = ecx + 0x28; /* 0x2B043F7B: lea eax, [ecx + 0x28] */ 14694 edx = ebp + (-0x8); /* 0x2B043F7E: lea edx, [ebp - 8] */ 14695 /* cmp edx, eax */ /* 0x2B043F81: cmp edx, eax */ 14696 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 14697 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14698 _flag_k = FK_CMP; 14699 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B043F8C; /* 0x2B043F83: je 0x2b043f8c */ 14700 L_2B043F85: 14701 edx = MEM32(eax); /* 0x2B043F85: mov edx, dword ptr [eax] */ 14702 eax = MEM32(eax + 0x4); /* 0x2B043F87: mov eax, dword ptr [eax + 4] */ 14703 goto L_2B043F92; /* 0x2B043F8A: jmp 0x2b043f92 */ 14704 L_2B043F8C: 14705 eax = MEM32(ebp + (-0x4)); /* 0x2B043F8C: mov eax, dword ptr [ebp - 4] */ 14706 edx = MEM32(ebp + (-0x8)); /* 0x2B043F8F: mov edx, dword ptr [ebp - 8] */ 14707 L_2B043F92: 14708 /* cmp esi, eax */ /* 0x2B043F92: cmp esi, eax */ 14709 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 14710 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14711 _flag_k = FK_CMP; 14712 if (CMP_NE(_flag_a, _flag_b)) goto L_2B043F9A; /* 0x2B043F94: jne 0x2b043f9a */ 14713 L_2B043F96: 14714 /* cmp edi, edx */ /* 0x2B043F96: cmp edi, edx */ 14715 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 14716 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14717 _flag_k = FK_CMP; 14718 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B043FC6; /* 0x2B043F98: je 0x2b043fc6 */ 14719 L_2B043F9A: 14720 ecx = MEM32(0x2B0EEA78); /* 0x2B043F9A: mov ecx, dword ptr [0x2b0eea78] */ 14721 SET_LO8(eax, MEM8(ecx + 0x30)); /* 0x2B043FA0: mov al, byte ptr [ecx + 0x30] */ 14722 /* test LO8(eax), LO8(eax) */ /* 0x2B043FA3: test al, al */ 14723 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 14724 _cf = 0; 14725 _flag_k = FK_NARROW(FK_TEST, 24); 14726 if (TEST_Z(_flag_a, _flag_b)) goto L_2B043FCB; /* 0x2B043FA5: je 0x2b043fcb */ 14727 L_2B043FA7: 14728 eax = ecx + 0x28; /* 0x2B043FA7: lea eax, [ecx + 0x28] */ 14729 edx = ebp + (-0x8); /* 0x2B043FAA: lea edx, [ebp - 8] */ 14730 /* cmp edx, eax */ /* 0x2B043FAD: cmp edx, eax */ 14731 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 14732 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14733 _flag_k = FK_CMP; 14734 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B043FB8; /* 0x2B043FAF: je 0x2b043fb8 */ 14735 L_2B043FB1: 14736 edx = MEM32(eax); /* 0x2B043FB1: mov edx, dword ptr [eax] */ 14737 eax = MEM32(eax + 0x4); /* 0x2B043FB3: mov eax, dword ptr [eax + 4] */ 14738 goto L_2B043FBE; /* 0x2B043FB6: jmp 0x2b043fbe */ 14739 L_2B043FB8: 14740 eax = MEM32(ebp + (-0x4)); /* 0x2B043FB8: mov eax, dword ptr [ebp - 4] */ 14741 edx = MEM32(ebp + (-0x8)); /* 0x2B043FBB: mov edx, dword ptr [ebp - 8] */ 14742 L_2B043FBE: 14743 /* cmp esi, eax */ /* 0x2B043FBE: cmp esi, eax */ 14744 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 14745 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14746 _flag_k = FK_CMP; 14747 if (CMP_NE(_flag_a, _flag_b)) goto L_2B043FCB; /* 0x2B043FC0: jne 0x2b043fcb */ 14748 L_2B043FC2: 14749 /* cmp edi, edx */ /* 0x2B043FC2: cmp edi, edx */ 14750 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 14751 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14752 _flag_k = FK_CMP; 14753 if (CMP_NE(_flag_a, _flag_b)) goto L_2B043FCB; /* 0x2B043FC4: jne 0x2b043fcb */ 14754 L_2B043FC6: 14755 RECOMP_ICALL(0x2B045020u); /* 0x2B043FC6: call 0x2b045020 */ /* not lifted */ 14756 RECOMP_FLAGS_IN(); 14757 L_2B043FCB: 14758 edi = POP32_VAL(esp); /* 0x2B043FCB: pop edi */ 14759 esi = POP32_VAL(esp); /* 0x2B043FCC: pop esi */ 14760 esp = ebp; /* 0x2B043FCD: mov esp, ebp */ 14761 ebp = POP32_VAL(esp); /* 0x2B043FCF: pop ebp */ 14762 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B043FD0: ret */ 14763 RECOMP_REGS_OUT(); 14764 } 14765 14766 void sub_2B043FE0(void) { 14767 int _fpu_cmp = 0; 14768 uint32_t _cf = 0; 14769 int _df = 1; 14770 uint32_t _flag_k = FK_NONE; 14771 uint32_t _flag_a = 0, _flag_b = 0; 14772 uint32_t _itail_tgt = 0; 14773 RECOMP_REGS_LOCALS 14774 RECOMP_ENTER(0x2B043FE0u); 14775 14776 L_2B043FE0: 14777 PUSH32(esp, ebp); /* 0x2B043FE0: push ebp */ 14778 ebp = esp; /* 0x2B043FE1: mov ebp, esp */ 14779 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 14780 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14781 esp = esp - 8; /* 0x2B043FE3: sub esp, 8 */ 14782 _flag_k = FK_CMP; 14783 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14784 eax = 0; /* 0x2B043FE6: xor eax, eax */ 14785 _cf = 0; 14786 _flag_k = FK_TEST; 14787 MEM32(ebp + (-0x8)) = eax; /* 0x2B043FE8: mov dword ptr [ebp - 8], eax */ 14788 MEM32(ebp + (-0x4)) = eax; /* 0x2B043FEB: mov dword ptr [ebp - 4], eax */ 14789 PUSH32(esp, esi); /* 0x2B043FEE: push esi */ 14790 esi = MEM32(0x2B0B53CC); /* 0x2B043FEF: mov esi, dword ptr [0x2b0b53cc] */ 14791 eax = ebp + (-0x8); /* 0x2B043FF5: lea eax, [ebp - 8] */ 14792 PUSH32(esp, eax); /* 0x2B043FF8: push eax */ 14793 RECOMP_ICALL(esi); /* 0x2B043FF9: call esi */ 14794 RECOMP_FLAGS_IN(); 14795 ecx = eax; /* 0x2B043FFB: mov ecx, eax */ 14796 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B043FFD: call dword ptr [0x2b0b53ac] */ 14797 RECOMP_FLAGS_IN(); 14798 RECOMP_ICALL(esi); /* 0x2B044003: call esi */ 14799 RECOMP_FLAGS_IN(); 14800 ecx = eax; /* 0x2B044005: mov ecx, eax */ 14801 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B044007: call dword ptr [0x2b0b53a4] */ 14802 RECOMP_FLAGS_IN(); 14803 PUSH32(esp, eax); /* 0x2B04400D: push eax */ 14804 ecx = ebp + (-0x8); /* 0x2B04400E: lea ecx, [ebp - 8] */ 14805 PUSH32(esp, ecx); /* 0x2B044011: push ecx */ 14806 ecx = MEM32(0x2B0EEA74); /* 0x2B044012: mov ecx, dword ptr [0x2b0eea74] */ 14807 RECOMP_ICALL(0x2B045110u); /* 0x2B044018: call 0x2b045110 */ /* not lifted */ 14808 RECOMP_FLAGS_IN(); 14809 esi = POP32_VAL(esp); /* 0x2B04401D: pop esi */ 14810 esp = ebp; /* 0x2B04401E: mov esp, ebp */ 14811 ebp = POP32_VAL(esp); /* 0x2B044020: pop ebp */ 14812 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B044021: ret */ 14813 RECOMP_REGS_OUT(); 14814 } 14815 14816 void sub_2B044030(void) { 14817 int _fpu_cmp = 0; 14818 uint32_t _cf = 0; 14819 int _df = 1; 14820 uint32_t _flag_k = FK_NONE; 14821 uint32_t _flag_a = 0, _flag_b = 0; 14822 uint32_t _itail_tgt = 0; 14823 RECOMP_REGS_LOCALS 14824 RECOMP_ENTER(0x2B044030u); 14825 14826 L_2B044030: 14827 PUSH32(esp, ebp); /* 0x2B044030: push ebp */ 14828 ebp = esp; /* 0x2B044031: mov ebp, esp */ 14829 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 14830 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14831 esp = esp - 8; /* 0x2B044033: sub esp, 8 */ 14832 _flag_k = FK_CMP; 14833 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14834 eax = 0; /* 0x2B044036: xor eax, eax */ 14835 _cf = 0; 14836 _flag_k = FK_TEST; 14837 MEM32(ebp + (-0x8)) = eax; /* 0x2B044038: mov dword ptr [ebp - 8], eax */ 14838 MEM32(ebp + (-0x4)) = eax; /* 0x2B04403B: mov dword ptr [ebp - 4], eax */ 14839 PUSH32(esp, esi); /* 0x2B04403E: push esi */ 14840 esi = MEM32(0x2B0B53CC); /* 0x2B04403F: mov esi, dword ptr [0x2b0b53cc] */ 14841 eax = ebp + (-0x8); /* 0x2B044045: lea eax, [ebp - 8] */ 14842 PUSH32(esp, eax); /* 0x2B044048: push eax */ 14843 RECOMP_ICALL(esi); /* 0x2B044049: call esi */ 14844 RECOMP_FLAGS_IN(); 14845 ecx = eax; /* 0x2B04404B: mov ecx, eax */ 14846 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B04404D: call dword ptr [0x2b0b53ac] */ 14847 RECOMP_FLAGS_IN(); 14848 RECOMP_ICALL(esi); /* 0x2B044053: call esi */ 14849 RECOMP_FLAGS_IN(); 14850 ecx = eax; /* 0x2B044055: mov ecx, eax */ 14851 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B044057: call dword ptr [0x2b0b53a4] */ 14852 RECOMP_FLAGS_IN(); 14853 PUSH32(esp, eax); /* 0x2B04405D: push eax */ 14854 ecx = ebp + (-0x8); /* 0x2B04405E: lea ecx, [ebp - 8] */ 14855 PUSH32(esp, ecx); /* 0x2B044061: push ecx */ 14856 ecx = MEM32(0x2B0EEA78); /* 0x2B044062: mov ecx, dword ptr [0x2b0eea78] */ 14857 RECOMP_ICALL(0x2B045110u); /* 0x2B044068: call 0x2b045110 */ /* not lifted */ 14858 RECOMP_FLAGS_IN(); 14859 esi = POP32_VAL(esp); /* 0x2B04406D: pop esi */ 14860 esp = ebp; /* 0x2B04406E: mov esp, ebp */ 14861 ebp = POP32_VAL(esp); /* 0x2B044070: pop ebp */ 14862 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B044071: ret */ 14863 RECOMP_REGS_OUT(); 14864 } 14865 14866 void sub_2B044080(void) { 14867 int _fpu_cmp = 0; 14868 uint32_t _cf = 0; 14869 int _df = 1; 14870 uint32_t _flag_k = FK_NONE; 14871 uint32_t _flag_a = 0, _flag_b = 0; 14872 uint32_t _itail_tgt = 0; 14873 RECOMP_REGS_LOCALS 14874 RECOMP_ENTER(0x2B044080u); 14875 14876 L_2B044080: 14877 PUSH32(esp, ebp); /* 0x2B044080: push ebp */ 14878 ebp = esp; /* 0x2B044081: mov ebp, esp */ 14879 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 14880 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14881 esp = esp - 8; /* 0x2B044083: sub esp, 8 */ 14882 _flag_k = FK_CMP; 14883 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B044086: call dword ptr [0x2b0b53cc] */ 14884 RECOMP_FLAGS_IN(); 14885 ecx = eax; /* 0x2B04408C: mov ecx, eax */ 14886 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B04408E: call dword ptr [0x2b0b53a4] */ 14887 RECOMP_FLAGS_IN(); 14888 /* test eax, eax */ /* 0x2B044094: test eax, eax */ 14889 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14890 _cf = 0; 14891 _flag_k = FK_TEST; 14892 if (TEST_Z(_flag_a, _flag_b)) goto L_2B044129; /* 0x2B044096: je 0x2b044129 */ 14893 L_2B04409C: 14894 ecx = MEM32(0x2B0EEA74); /* 0x2B04409C: mov ecx, dword ptr [0x2b0eea74] */ 14895 edx = ecx + 0x28; /* 0x2B0440A2: lea edx, [ecx + 0x28] */ 14896 MEM32(ebp + (-0x4)) = edx; /* 0x2B0440A5: mov dword ptr [ebp - 4], edx */ 14897 SET_LO8(edx, MEM8(ecx + 0x33)); /* 0x2B0440A8: mov dl, byte ptr [ecx + 0x33] */ 14898 /* test LO8(edx), LO8(edx) */ /* 0x2B0440AB: test dl, dl */ 14899 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 14900 _cf = 0; 14901 _flag_k = FK_NARROW(FK_TEST, 24); 14902 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B04411A; /* 0x2B0440AD: jne 0x2b04411a */ 14903 L_2B0440AF: 14904 PUSH32(esp, esi); /* 0x2B0440AF: push esi */ 14905 esi = eax + 0x54; /* 0x2B0440B0: lea esi, [eax + 0x54] */ 14906 eax = ebp + (-0x8); /* 0x2B0440B3: lea eax, [ebp - 8] */ 14907 /* cmp eax, esi */ /* 0x2B0440B6: cmp eax, esi */ 14908 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 14909 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14910 _flag_k = FK_CMP; 14911 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0440C5; /* 0x2B0440B8: je 0x2b0440c5 */ 14912 L_2B0440BA: 14913 ecx = MEM32(esi); /* 0x2B0440BA: mov ecx, dword ptr [esi] */ 14914 edx = MEM32(esi + 0x4); /* 0x2B0440BC: mov edx, dword ptr [esi + 4] */ 14915 MEM32(ebp + (-0x8)) = ecx; /* 0x2B0440BF: mov dword ptr [ebp - 8], ecx */ 14916 MEM32(ebp + (-0x4)) = edx; /* 0x2B0440C2: mov dword ptr [ebp - 4], edx */ 14917 L_2B0440C5: 14918 eax = ebp + (-0x8); /* 0x2B0440C5: lea eax, [ebp - 8] */ 14919 PUSH32(esp, eax); /* 0x2B0440C8: push eax */ 14920 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0440C9: call dword ptr [0x2b0b5d6c] */ 14921 RECOMP_FLAGS_IN(); 14922 ecx = eax; /* 0x2B0440CF: mov ecx, eax */ 14923 RECOMP_ICALL(MEM32(0x2B0B5EFC)); /* 0x2B0440D1: call dword ptr [0x2b0b5efc] */ 14924 RECOMP_FLAGS_IN(); 14925 ecx = ebp + (-0x8); /* 0x2B0440D7: lea ecx, [ebp - 8] */ 14926 /* cmp ecx, esi */ /* 0x2B0440DA: cmp ecx, esi */ 14927 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 14928 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14929 _flag_k = FK_CMP; 14930 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0440E9; /* 0x2B0440DC: je 0x2b0440e9 */ 14931 L_2B0440DE: 14932 edx = MEM32(esi); /* 0x2B0440DE: mov edx, dword ptr [esi] */ 14933 eax = MEM32(esi + 0x4); /* 0x2B0440E0: mov eax, dword ptr [esi + 4] */ 14934 MEM32(ebp + (-0x8)) = edx; /* 0x2B0440E3: mov dword ptr [ebp - 8], edx */ 14935 MEM32(ebp + (-0x4)) = eax; /* 0x2B0440E6: mov dword ptr [ebp - 4], eax */ 14936 L_2B0440E9: 14937 edx = MEM32(0x2B0EEA74); /* 0x2B0440E9: mov edx, dword ptr [0x2b0eea74] */ 14938 ecx = ebp + (-0x8); /* 0x2B0440EF: lea ecx, [ebp - 8] */ 14939 PUSH32(esp, ecx); /* 0x2B0440F2: push ecx */ 14940 ecx = MEM32(edx + 0x14); /* 0x2B0440F3: mov ecx, dword ptr [edx + 0x14] */ 14941 RECOMP_ICALL(MEM32(0x2B0B5904)); /* 0x2B0440F6: call dword ptr [0x2b0b5904] */ 14942 RECOMP_FLAGS_IN(); 14943 /* test eax, eax */ /* 0x2B0440FC: test eax, eax */ 14944 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14945 _cf = 0; 14946 _flag_k = FK_TEST; 14947 esi = POP32_VAL(esp); /* 0x2B0440FE: pop esi */ 14948 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04410B; /* 0x2B0440FF: je 0x2b04410b */ 14949 L_2B044101: 14950 PUSH32(esp, 1); /* 0x2B044101: push 1 */ 14951 ecx = eax; /* 0x2B044103: mov ecx, eax */ 14952 RECOMP_ICALL(MEM32(0x2B0B5838)); /* 0x2B044105: call dword ptr [0x2b0b5838] */ 14953 RECOMP_FLAGS_IN(); 14954 L_2B04410B: 14955 ecx = MEM32(0x2B0EEA74); /* 0x2B04410B: mov ecx, dword ptr [0x2b0eea74] */ 14956 RECOMP_ICALL(0x2B0449A0u); /* 0x2B044111: call 0x2b0449a0 */ /* not lifted */ 14957 RECOMP_FLAGS_IN(); 14958 esp = ebp; /* 0x2B044116: mov esp, ebp */ 14959 ebp = POP32_VAL(esp); /* 0x2B044118: pop ebp */ 14960 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B044119: ret */ 14961 L_2B04411A: 14962 PUSH32(esp, eax); /* 0x2B04411A: push eax */ 14963 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B04411B: call dword ptr [0x2b0b596c] */ 14964 RECOMP_FLAGS_IN(); 14965 ecx = eax; /* 0x2B044121: mov ecx, eax */ 14966 RECOMP_ICALL(MEM32(0x2B0B5920)); /* 0x2B044123: call dword ptr [0x2b0b5920] */ 14967 RECOMP_FLAGS_IN(); 14968 L_2B044129: 14969 esp = ebp; /* 0x2B044129: mov esp, ebp */ 14970 ebp = POP32_VAL(esp); /* 0x2B04412B: pop ebp */ 14971 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B04412C: ret */ 14972 RECOMP_REGS_OUT(); 14973 } 14974 14975 void sub_2B044130(void) { 14976 int _fpu_cmp = 0; 14977 uint32_t _cf = 0; 14978 int _df = 1; 14979 uint32_t _flag_k = FK_NONE; 14980 uint32_t _flag_a = 0, _flag_b = 0; 14981 uint32_t _itail_tgt = 0; 14982 RECOMP_REGS_LOCALS 14983 RECOMP_ENTER(0x2B044130u); 14984 14985 L_2B044130: 14986 PUSH32(esp, ebp); /* 0x2B044130: push ebp */ 14987 ebp = esp; /* 0x2B044131: mov ebp, esp */ 14988 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 14989 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14990 esp = esp - 8; /* 0x2B044133: sub esp, 8 */ 14991 _flag_k = FK_CMP; 14992 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B044136: call dword ptr [0x2b0b53cc] */ 14993 RECOMP_FLAGS_IN(); 14994 ecx = eax; /* 0x2B04413C: mov ecx, eax */ 14995 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B04413E: call dword ptr [0x2b0b53a4] */ 14996 RECOMP_FLAGS_IN(); 14997 /* test eax, eax */ /* 0x2B044144: test eax, eax */ 14998 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14999 _cf = 0; 15000 _flag_k = FK_TEST; 15001 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0441D9; /* 0x2B044146: je 0x2b0441d9 */ 15002 L_2B04414C: 15003 ecx = MEM32(0x2B0EEA78); /* 0x2B04414C: mov ecx, dword ptr [0x2b0eea78] */ 15004 edx = ecx + 0x28; /* 0x2B044152: lea edx, [ecx + 0x28] */ 15005 MEM32(ebp + (-0x4)) = edx; /* 0x2B044155: mov dword ptr [ebp - 4], edx */ 15006 SET_LO8(edx, MEM8(ecx + 0x33)); /* 0x2B044158: mov dl, byte ptr [ecx + 0x33] */ 15007 /* test LO8(edx), LO8(edx) */ /* 0x2B04415B: test dl, dl */ 15008 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 15009 _cf = 0; 15010 _flag_k = FK_NARROW(FK_TEST, 24); 15011 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0441CA; /* 0x2B04415D: jne 0x2b0441ca */ 15012 L_2B04415F: 15013 PUSH32(esp, esi); /* 0x2B04415F: push esi */ 15014 esi = eax + 0x54; /* 0x2B044160: lea esi, [eax + 0x54] */ 15015 eax = ebp + (-0x8); /* 0x2B044163: lea eax, [ebp - 8] */ 15016 /* cmp eax, esi */ /* 0x2B044166: cmp eax, esi */ 15017 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 15018 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15019 _flag_k = FK_CMP; 15020 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B044175; /* 0x2B044168: je 0x2b044175 */ 15021 L_2B04416A: 15022 ecx = MEM32(esi); /* 0x2B04416A: mov ecx, dword ptr [esi] */ 15023 edx = MEM32(esi + 0x4); /* 0x2B04416C: mov edx, dword ptr [esi + 4] */ 15024 MEM32(ebp + (-0x8)) = ecx; /* 0x2B04416F: mov dword ptr [ebp - 8], ecx */ 15025 MEM32(ebp + (-0x4)) = edx; /* 0x2B044172: mov dword ptr [ebp - 4], edx */ 15026 L_2B044175: 15027 eax = ebp + (-0x8); /* 0x2B044175: lea eax, [ebp - 8] */ 15028 PUSH32(esp, eax); /* 0x2B044178: push eax */ 15029 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B044179: call dword ptr [0x2b0b5d6c] */ 15030 RECOMP_FLAGS_IN(); 15031 ecx = eax; /* 0x2B04417F: mov ecx, eax */ 15032 RECOMP_ICALL(MEM32(0x2B0B5EFC)); /* 0x2B044181: call dword ptr [0x2b0b5efc] */ 15033 RECOMP_FLAGS_IN(); 15034 ecx = ebp + (-0x8); /* 0x2B044187: lea ecx, [ebp - 8] */ 15035 /* cmp ecx, esi */ /* 0x2B04418A: cmp ecx, esi */ 15036 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 15037 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15038 _flag_k = FK_CMP; 15039 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B044199; /* 0x2B04418C: je 0x2b044199 */ 15040 L_2B04418E: 15041 edx = MEM32(esi); /* 0x2B04418E: mov edx, dword ptr [esi] */ 15042 eax = MEM32(esi + 0x4); /* 0x2B044190: mov eax, dword ptr [esi + 4] */ 15043 MEM32(ebp + (-0x8)) = edx; /* 0x2B044193: mov dword ptr [ebp - 8], edx */ 15044 MEM32(ebp + (-0x4)) = eax; /* 0x2B044196: mov dword ptr [ebp - 4], eax */ 15045 L_2B044199: 15046 edx = MEM32(0x2B0EEA78); /* 0x2B044199: mov edx, dword ptr [0x2b0eea78] */ 15047 ecx = ebp + (-0x8); /* 0x2B04419F: lea ecx, [ebp - 8] */ 15048 PUSH32(esp, ecx); /* 0x2B0441A2: push ecx */ 15049 ecx = MEM32(edx + 0x14); /* 0x2B0441A3: mov ecx, dword ptr [edx + 0x14] */ 15050 RECOMP_ICALL(MEM32(0x2B0B5904)); /* 0x2B0441A6: call dword ptr [0x2b0b5904] */ 15051 RECOMP_FLAGS_IN(); 15052 /* test eax, eax */ /* 0x2B0441AC: test eax, eax */ 15053 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15054 _cf = 0; 15055 _flag_k = FK_TEST; 15056 esi = POP32_VAL(esp); /* 0x2B0441AE: pop esi */ 15057 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0441BB; /* 0x2B0441AF: je 0x2b0441bb */ 15058 L_2B0441B1: 15059 PUSH32(esp, 1); /* 0x2B0441B1: push 1 */ 15060 ecx = eax; /* 0x2B0441B3: mov ecx, eax */ 15061 RECOMP_ICALL(MEM32(0x2B0B5838)); /* 0x2B0441B5: call dword ptr [0x2b0b5838] */ 15062 RECOMP_FLAGS_IN(); 15063 L_2B0441BB: 15064 ecx = MEM32(0x2B0EEA78); /* 0x2B0441BB: mov ecx, dword ptr [0x2b0eea78] */ 15065 RECOMP_ICALL(0x2B0449A0u); /* 0x2B0441C1: call 0x2b0449a0 */ /* not lifted */ 15066 RECOMP_FLAGS_IN(); 15067 esp = ebp; /* 0x2B0441C6: mov esp, ebp */ 15068 ebp = POP32_VAL(esp); /* 0x2B0441C8: pop ebp */ 15069 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0441C9: ret */ 15070 L_2B0441CA: 15071 PUSH32(esp, eax); /* 0x2B0441CA: push eax */ 15072 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B0441CB: call dword ptr [0x2b0b596c] */ 15073 RECOMP_FLAGS_IN(); 15074 ecx = eax; /* 0x2B0441D1: mov ecx, eax */ 15075 RECOMP_ICALL(MEM32(0x2B0B5920)); /* 0x2B0441D3: call dword ptr [0x2b0b5920] */ 15076 RECOMP_FLAGS_IN(); 15077 L_2B0441D9: 15078 esp = ebp; /* 0x2B0441D9: mov esp, ebp */ 15079 ebp = POP32_VAL(esp); /* 0x2B0441DB: pop ebp */ 15080 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0441DC: ret */ 15081 RECOMP_REGS_OUT(); 15082 } 15083 15084 void sub_2B0441E0(void) { 15085 int _fpu_cmp = 0; 15086 uint32_t _cf = 0; 15087 int _df = 1; 15088 uint32_t _flag_k = FK_NONE; 15089 uint32_t _flag_a = 0, _flag_b = 0; 15090 uint32_t _itail_tgt = 0; 15091 RECOMP_REGS_LOCALS 15092 RECOMP_ENTER(0x2B0441E0u); 15093 15094 L_2B0441E0: 15095 PUSH32(esp, ebp); /* 0x2B0441E0: push ebp */ 15096 ebp = esp; /* 0x2B0441E1: mov ebp, esp */ 15097 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 15098 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15099 esp = esp - 8; /* 0x2B0441E3: sub esp, 8 */ 15100 _flag_k = FK_CMP; 15101 PUSH32(esp, esi); /* 0x2B0441E6: push esi */ 15102 eax = ebp + (-0x8); /* 0x2B0441E7: lea eax, [ebp - 8] */ 15103 PUSH32(esp, edi); /* 0x2B0441EA: push edi */ 15104 PUSH32(esp, eax); /* 0x2B0441EB: push eax */ 15105 MEM32(ebp + (-0x8)) = 0; /* 0x2B0441EC: mov dword ptr [ebp - 8], 0 */ 15106 MEM32(ebp + (-0x4)) = 0; /* 0x2B0441F3: mov dword ptr [ebp - 4], 0 */ 15107 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B0441FA: call dword ptr [0x2b0b53cc] */ 15108 RECOMP_FLAGS_IN(); 15109 ecx = eax; /* 0x2B044200: mov ecx, eax */ 15110 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B044202: call dword ptr [0x2b0b53ac] */ 15111 RECOMP_FLAGS_IN(); 15112 ecx = MEM32(0x2B0EEA74); /* 0x2B044208: mov ecx, dword ptr [0x2b0eea74] */ 15113 SET_LO8(eax, MEM8(ecx + 0x30)); /* 0x2B04420E: mov al, byte ptr [ecx + 0x30] */ 15114 /* test LO8(eax), LO8(eax) */ /* 0x2B044211: test al, al */ 15115 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15116 _cf = 0; 15117 _flag_k = FK_NARROW(FK_TEST, 24); 15118 esi = MEM32(ebp + (-0x4)); /* 0x2B044213: mov esi, dword ptr [ebp - 4] */ 15119 edi = MEM32(ebp + (-0x8)); /* 0x2B044216: mov edi, dword ptr [ebp - 8] */ 15120 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04423A; /* 0x2B044219: je 0x2b04423a */ 15121 L_2B04421B: 15122 eax = ecx + 0x28; /* 0x2B04421B: lea eax, [ecx + 0x28] */ 15123 edx = ebp + (-0x8); /* 0x2B04421E: lea edx, [ebp - 8] */ 15124 /* cmp edx, eax */ /* 0x2B044221: cmp edx, eax */ 15125 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 15126 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15127 _flag_k = FK_CMP; 15128 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B04422C; /* 0x2B044223: je 0x2b04422c */ 15129 L_2B044225: 15130 edx = MEM32(eax); /* 0x2B044225: mov edx, dword ptr [eax] */ 15131 eax = MEM32(eax + 0x4); /* 0x2B044227: mov eax, dword ptr [eax + 4] */ 15132 goto L_2B044232; /* 0x2B04422A: jmp 0x2b044232 */ 15133 L_2B04422C: 15134 eax = MEM32(ebp + (-0x4)); /* 0x2B04422C: mov eax, dword ptr [ebp - 4] */ 15135 edx = MEM32(ebp + (-0x8)); /* 0x2B04422F: mov edx, dword ptr [ebp - 8] */ 15136 L_2B044232: 15137 /* cmp esi, eax */ /* 0x2B044232: cmp esi, eax */ 15138 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 15139 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15140 _flag_k = FK_CMP; 15141 if (CMP_NE(_flag_a, _flag_b)) goto L_2B04423A; /* 0x2B044234: jne 0x2b04423a */ 15142 L_2B044236: 15143 /* cmp edi, edx */ /* 0x2B044236: cmp edi, edx */ 15144 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 15145 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15146 _flag_k = FK_CMP; 15147 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B044266; /* 0x2B044238: je 0x2b044266 */ 15148 L_2B04423A: 15149 ecx = MEM32(0x2B0EEA78); /* 0x2B04423A: mov ecx, dword ptr [0x2b0eea78] */ 15150 SET_LO8(eax, MEM8(ecx + 0x30)); /* 0x2B044240: mov al, byte ptr [ecx + 0x30] */ 15151 /* test LO8(eax), LO8(eax) */ /* 0x2B044243: test al, al */ 15152 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15153 _cf = 0; 15154 _flag_k = FK_NARROW(FK_TEST, 24); 15155 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04426B; /* 0x2B044245: je 0x2b04426b */ 15156 L_2B044247: 15157 eax = ecx + 0x28; /* 0x2B044247: lea eax, [ecx + 0x28] */ 15158 edx = ebp + (-0x8); /* 0x2B04424A: lea edx, [ebp - 8] */ 15159 /* cmp edx, eax */ /* 0x2B04424D: cmp edx, eax */ 15160 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 15161 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15162 _flag_k = FK_CMP; 15163 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B044258; /* 0x2B04424F: je 0x2b044258 */ 15164 L_2B044251: 15165 edx = MEM32(eax); /* 0x2B044251: mov edx, dword ptr [eax] */ 15166 eax = MEM32(eax + 0x4); /* 0x2B044253: mov eax, dword ptr [eax + 4] */ 15167 goto L_2B04425E; /* 0x2B044256: jmp 0x2b04425e */ 15168 L_2B044258: 15169 eax = MEM32(ebp + (-0x4)); /* 0x2B044258: mov eax, dword ptr [ebp - 4] */ 15170 edx = MEM32(ebp + (-0x8)); /* 0x2B04425B: mov edx, dword ptr [ebp - 8] */ 15171 L_2B04425E: 15172 /* cmp esi, eax */ /* 0x2B04425E: cmp esi, eax */ 15173 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 15174 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15175 _flag_k = FK_CMP; 15176 if (CMP_NE(_flag_a, _flag_b)) goto L_2B04426B; /* 0x2B044260: jne 0x2b04426b */ 15177 L_2B044262: 15178 /* cmp edi, edx */ /* 0x2B044262: cmp edi, edx */ 15179 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 15180 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15181 _flag_k = FK_CMP; 15182 if (CMP_NE(_flag_a, _flag_b)) goto L_2B04426B; /* 0x2B044264: jne 0x2b04426b */ 15183 L_2B044266: 15184 RECOMP_ICALL(0x2B045320u); /* 0x2B044266: call 0x2b045320 */ /* not lifted */ 15185 RECOMP_FLAGS_IN(); 15186 L_2B04426B: 15187 edi = POP32_VAL(esp); /* 0x2B04426B: pop edi */ 15188 esi = POP32_VAL(esp); /* 0x2B04426C: pop esi */ 15189 esp = ebp; /* 0x2B04426D: mov esp, ebp */ 15190 ebp = POP32_VAL(esp); /* 0x2B04426F: pop ebp */ 15191 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B044270: ret */ 15192 RECOMP_REGS_OUT(); 15193 } 15194 15195 void sub_2B044280(void) { 15196 int _fpu_cmp = 0; 15197 uint32_t _cf = 0; 15198 int _df = 1; 15199 uint32_t _flag_k = FK_NONE; 15200 uint32_t _flag_a = 0, _flag_b = 0; 15201 uint32_t _itail_tgt = 0; 15202 RECOMP_REGS_LOCALS 15203 RECOMP_ENTER(0x2B044280u); 15204 15205 L_2B044280: 15206 PUSH32(esp, ebp); /* 0x2B044280: push ebp */ 15207 ebp = esp; /* 0x2B044281: mov ebp, esp */ 15208 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 15209 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15210 esp = esp - 0x10u; /* 0x2B044283: sub esp, 0x10 */ 15211 _flag_k = FK_CMP; 15212 PUSH32(esp, esi); /* 0x2B044286: push esi */ 15213 eax = ebp + (-0x8); /* 0x2B044287: lea eax, [ebp - 8] */ 15214 PUSH32(esp, edi); /* 0x2B04428A: push edi */ 15215 PUSH32(esp, eax); /* 0x2B04428B: push eax */ 15216 MEM32(ebp + (-0x8)) = 0; /* 0x2B04428C: mov dword ptr [ebp - 8], 0 */ 15217 MEM32(ebp + (-0x4)) = 0; /* 0x2B044293: mov dword ptr [ebp - 4], 0 */ 15218 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B04429A: call dword ptr [0x2b0b53cc] */ 15219 RECOMP_FLAGS_IN(); 15220 ecx = eax; /* 0x2B0442A0: mov ecx, eax */ 15221 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B0442A2: call dword ptr [0x2b0b53ac] */ 15222 RECOMP_FLAGS_IN(); 15223 ecx = ebp + (-0x8); /* 0x2B0442A8: lea ecx, [ebp - 8] */ 15224 PUSH32(esp, ecx); /* 0x2B0442AB: push ecx */ 15225 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0442AC: call dword ptr [0x2b0b5d6c] */ 15226 RECOMP_FLAGS_IN(); 15227 ecx = eax; /* 0x2B0442B2: mov ecx, eax */ 15228 RECOMP_ICALL(MEM32(0x2B0B5EA8)); /* 0x2B0442B4: call dword ptr [0x2b0b5ea8] */ 15229 RECOMP_FLAGS_IN(); 15230 /* test LO8(eax), LO8(eax) */ /* 0x2B0442BA: test al, al */ 15231 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15232 _cf = 0; 15233 _flag_k = FK_NARROW(FK_TEST, 24); 15234 if (TEST_Z(_flag_a, _flag_b)) goto L_2B044382; /* 0x2B0442BC: je 0x2b044382 */ 15235 L_2B0442C2: 15236 eax = MEM32(0x2B0EEA74); /* 0x2B0442C2: mov eax, dword ptr [0x2b0eea74] */ 15237 SET_LO8(ecx, MEM8(eax + 0x30)); /* 0x2B0442C7: mov cl, byte ptr [eax + 0x30] */ 15238 /* test LO8(ecx), LO8(ecx) */ /* 0x2B0442CA: test cl, cl */ 15239 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 15240 _cf = 0; 15241 _flag_k = FK_NARROW(FK_TEST, 24); 15242 esi = MEM32(ebp + (-0x4)); /* 0x2B0442CC: mov esi, dword ptr [ebp - 4] */ 15243 edi = MEM32(ebp + (-0x8)); /* 0x2B0442CF: mov edi, dword ptr [ebp - 8] */ 15244 if (TEST_Z(_flag_a, _flag_b)) goto L_2B044328; /* 0x2B0442D2: je 0x2b044328 */ 15245 L_2B0442D4: 15246 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x28u); 15247 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15248 eax = eax + 0x28u; /* 0x2B0442D4: add eax, 0x28 */ 15249 _flag_k = FK_ADD; 15250 edx = ebp + (-0x10); /* 0x2B0442D7: lea edx, [ebp - 0x10] */ 15251 /* cmp edx, eax */ /* 0x2B0442DA: cmp edx, eax */ 15252 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 15253 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15254 _flag_k = FK_CMP; 15255 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0442E5; /* 0x2B0442DC: je 0x2b0442e5 */ 15256 L_2B0442DE: 15257 edx = MEM32(eax); /* 0x2B0442DE: mov edx, dword ptr [eax] */ 15258 ecx = MEM32(eax + 0x4); /* 0x2B0442E0: mov ecx, dword ptr [eax + 4] */ 15259 goto L_2B0442EB; /* 0x2B0442E3: jmp 0x2b0442eb */ 15260 L_2B0442E5: 15261 ecx = MEM32(ebp + (-0xC)); /* 0x2B0442E5: mov ecx, dword ptr [ebp - 0xc] */ 15262 edx = MEM32(ebp + (-0x10)); /* 0x2B0442E8: mov edx, dword ptr [ebp - 0x10] */ 15263 L_2B0442EB: 15264 /* cmp ecx, esi */ /* 0x2B0442EB: cmp ecx, esi */ 15265 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 15266 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15267 _flag_k = FK_CMP; 15268 if (CMP_NE(_flag_a, _flag_b)) goto L_2B044328; /* 0x2B0442ED: jne 0x2b044328 */ 15269 L_2B0442EF: 15270 /* cmp edx, edi */ /* 0x2B0442EF: cmp edx, edi */ 15271 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 15272 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15273 _flag_k = FK_CMP; 15274 if (CMP_NE(_flag_a, _flag_b)) goto L_2B044328; /* 0x2B0442F1: jne 0x2b044328 */ 15275 L_2B0442F3: 15276 ecx = ebp + (-0x10); /* 0x2B0442F3: lea ecx, [ebp - 0x10] */ 15277 /* cmp ecx, eax */ /* 0x2B0442F6: cmp ecx, eax */ 15278 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 15279 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15280 _flag_k = FK_CMP; 15281 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B044305; /* 0x2B0442F8: je 0x2b044305 */ 15282 L_2B0442FA: 15283 edx = MEM32(eax); /* 0x2B0442FA: mov edx, dword ptr [eax] */ 15284 MEM32(ebp + (-0x10)) = edx; /* 0x2B0442FC: mov dword ptr [ebp - 0x10], edx */ 15285 eax = MEM32(eax + 0x4); /* 0x2B0442FF: mov eax, dword ptr [eax + 4] */ 15286 MEM32(ebp + (-0xC)) = eax; /* 0x2B044302: mov dword ptr [ebp - 0xc], eax */ 15287 L_2B044305: 15288 ecx = ebp + (-0x10); /* 0x2B044305: lea ecx, [ebp - 0x10] */ 15289 PUSH32(esp, ecx); /* 0x2B044308: push ecx */ 15290 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B044309: call dword ptr [0x2b0b5d6c] */ 15291 RECOMP_FLAGS_IN(); 15292 ecx = eax; /* 0x2B04430F: mov ecx, eax */ 15293 RECOMP_ICALL(MEM32(0x2B0B5EF0)); /* 0x2B044311: call dword ptr [0x2b0b5ef0] */ 15294 RECOMP_FLAGS_IN(); 15295 ecx = MEM32(0x2B0EEA74); /* 0x2B044317: mov ecx, dword ptr [0x2b0eea74] */ 15296 RECOMP_ICALL(0x2B045020u); /* 0x2B04431D: call 0x2b045020 */ /* not lifted */ 15297 RECOMP_FLAGS_IN(); 15298 edi = POP32_VAL(esp); /* 0x2B044322: pop edi */ 15299 esi = POP32_VAL(esp); /* 0x2B044323: pop esi */ 15300 esp = ebp; /* 0x2B044324: mov esp, ebp */ 15301 ebp = POP32_VAL(esp); /* 0x2B044326: pop ebp */ 15302 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B044327: ret */ 15303 L_2B044328: 15304 eax = MEM32(0x2B0EEA78); /* 0x2B044328: mov eax, dword ptr [0x2b0eea78] */ 15305 SET_LO8(ecx, MEM8(eax + 0x30)); /* 0x2B04432D: mov cl, byte ptr [eax + 0x30] */ 15306 /* test LO8(ecx), LO8(ecx) */ /* 0x2B044330: test cl, cl */ 15307 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 15308 _cf = 0; 15309 _flag_k = FK_NARROW(FK_TEST, 24); 15310 if (TEST_Z(_flag_a, _flag_b)) goto L_2B044382; /* 0x2B044332: je 0x2b044382 */ 15311 L_2B044334: 15312 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x28u); 15313 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15314 eax = eax + 0x28u; /* 0x2B044334: add eax, 0x28 */ 15315 _flag_k = FK_ADD; 15316 edx = ebp + (-0x10); /* 0x2B044337: lea edx, [ebp - 0x10] */ 15317 /* cmp edx, eax */ /* 0x2B04433A: cmp edx, eax */ 15318 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 15319 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15320 _flag_k = FK_CMP; 15321 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B044345; /* 0x2B04433C: je 0x2b044345 */ 15322 L_2B04433E: 15323 edx = MEM32(eax); /* 0x2B04433E: mov edx, dword ptr [eax] */ 15324 ecx = MEM32(eax + 0x4); /* 0x2B044340: mov ecx, dword ptr [eax + 4] */ 15325 goto L_2B04434B; /* 0x2B044343: jmp 0x2b04434b */ 15326 L_2B044345: 15327 ecx = MEM32(ebp + (-0xC)); /* 0x2B044345: mov ecx, dword ptr [ebp - 0xc] */ 15328 edx = MEM32(ebp + (-0x10)); /* 0x2B044348: mov edx, dword ptr [ebp - 0x10] */ 15329 L_2B04434B: 15330 /* cmp ecx, esi */ /* 0x2B04434B: cmp ecx, esi */ 15331 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 15332 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15333 _flag_k = FK_CMP; 15334 if (CMP_NE(_flag_a, _flag_b)) goto L_2B044382; /* 0x2B04434D: jne 0x2b044382 */ 15335 L_2B04434F: 15336 /* cmp edx, edi */ /* 0x2B04434F: cmp edx, edi */ 15337 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 15338 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15339 _flag_k = FK_CMP; 15340 if (CMP_NE(_flag_a, _flag_b)) goto L_2B044382; /* 0x2B044351: jne 0x2b044382 */ 15341 L_2B044353: 15342 ecx = ebp + (-0x10); /* 0x2B044353: lea ecx, [ebp - 0x10] */ 15343 /* cmp ecx, eax */ /* 0x2B044356: cmp ecx, eax */ 15344 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 15345 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15346 _flag_k = FK_CMP; 15347 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B044365; /* 0x2B044358: je 0x2b044365 */ 15348 L_2B04435A: 15349 edx = MEM32(eax); /* 0x2B04435A: mov edx, dword ptr [eax] */ 15350 MEM32(ebp + (-0x10)) = edx; /* 0x2B04435C: mov dword ptr [ebp - 0x10], edx */ 15351 eax = MEM32(eax + 0x4); /* 0x2B04435F: mov eax, dword ptr [eax + 4] */ 15352 MEM32(ebp + (-0xC)) = eax; /* 0x2B044362: mov dword ptr [ebp - 0xc], eax */ 15353 L_2B044365: 15354 ecx = ebp + (-0x10); /* 0x2B044365: lea ecx, [ebp - 0x10] */ 15355 PUSH32(esp, ecx); /* 0x2B044368: push ecx */ 15356 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B044369: call dword ptr [0x2b0b5d6c] */ 15357 RECOMP_FLAGS_IN(); 15358 ecx = eax; /* 0x2B04436F: mov ecx, eax */ 15359 RECOMP_ICALL(MEM32(0x2B0B5EF0)); /* 0x2B044371: call dword ptr [0x2b0b5ef0] */ 15360 RECOMP_FLAGS_IN(); 15361 ecx = MEM32(0x2B0EEA78); /* 0x2B044377: mov ecx, dword ptr [0x2b0eea78] */ 15362 RECOMP_ICALL(0x2B045020u); /* 0x2B04437D: call 0x2b045020 */ /* not lifted */ 15363 RECOMP_FLAGS_IN(); 15364 L_2B044382: 15365 edi = POP32_VAL(esp); /* 0x2B044382: pop edi */ 15366 esi = POP32_VAL(esp); /* 0x2B044383: pop esi */ 15367 esp = ebp; /* 0x2B044384: mov esp, ebp */ 15368 ebp = POP32_VAL(esp); /* 0x2B044386: pop ebp */ 15369 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B044387: ret */ 15370 RECOMP_REGS_OUT(); 15371 } 15372 15373 void sub_2B044390(void) { 15374 int _fpu_cmp = 0; 15375 uint32_t _cf = 0; 15376 int _df = 1; 15377 uint32_t _flag_k = FK_NONE; 15378 uint32_t _flag_a = 0, _flag_b = 0; 15379 uint32_t _itail_tgt = 0; 15380 RECOMP_REGS_LOCALS 15381 RECOMP_ENTER(0x2B044390u); 15382 15383 L_2B044390: 15384 eax = MEM32(0x2B0EEA74); /* 0x2B044390: mov eax, dword ptr [0x2b0eea74] */ 15385 PUSH32(esp, eax); /* 0x2B044395: push eax */ 15386 RECOMP_ICALL(0x2B0453B0u); /* 0x2B044396: call 0x2b0453b0 */ /* not lifted */ 15387 RECOMP_FLAGS_IN(); 15388 ecx = MEM32(0x2B0EEA78); /* 0x2B04439B: mov ecx, dword ptr [0x2b0eea78] */ 15389 PUSH32(esp, ecx); /* 0x2B0443A1: push ecx */ 15390 RECOMP_ICALL(0x2B0453B0u); /* 0x2B0443A2: call 0x2b0453b0 */ /* not lifted */ 15391 RECOMP_FLAGS_IN(); 15392 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 15393 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15394 esp = esp + 8; /* 0x2B0443A7: add esp, 8 */ 15395 _flag_k = FK_ADD; 15396 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0443AA: ret */ 15397 RECOMP_REGS_OUT(); 15398 } 15399 15400 void sub_2B0443B0(void) { 15401 int _fpu_cmp = 0; 15402 uint32_t _cf = 0; 15403 int _df = 1; 15404 uint32_t _flag_k = FK_NONE; 15405 uint32_t _flag_a = 0, _flag_b = 0; 15406 uint32_t _itail_tgt = 0; 15407 RECOMP_REGS_LOCALS 15408 RECOMP_ENTER(0x2B0443B0u); 15409 15410 L_2B0443B0: 15411 PUSH32(esp, ebp); /* 0x2B0443B0: push ebp */ 15412 ebp = esp; /* 0x2B0443B1: mov ebp, esp */ 15413 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 15414 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15415 esp = esp - 0x10u; /* 0x2B0443B3: sub esp, 0x10 */ 15416 _flag_k = FK_CMP; 15417 PUSH32(esp, ebx); /* 0x2B0443B6: push ebx */ 15418 eax = ebp + (-0x8); /* 0x2B0443B7: lea eax, [ebp - 8] */ 15419 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15420 ebx = 0; /* 0x2B0443BA: xor ebx, ebx */ 15421 _cf = 0; 15422 _flag_k = FK_TEST; 15423 PUSH32(esp, eax); /* 0x2B0443BC: push eax */ 15424 ecx = ebp + (-0x10); /* 0x2B0443BD: lea ecx, [ebp - 0x10] */ 15425 PUSH32(esp, ecx); /* 0x2B0443C0: push ecx */ 15426 MEM32(ebp + (-0x10)) = ebx; /* 0x2B0443C1: mov dword ptr [ebp - 0x10], ebx */ 15427 MEM32(ebp + (-0xC)) = ebx; /* 0x2B0443C4: mov dword ptr [ebp - 0xc], ebx */ 15428 MEM32(ebp + (-0x8)) = ebx; /* 0x2B0443C7: mov dword ptr [ebp - 8], ebx */ 15429 MEM32(ebp + (-0x4)) = ebx; /* 0x2B0443CA: mov dword ptr [ebp - 4], ebx */ 15430 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B0443CD: call dword ptr [0x2b0b53cc] */ 15431 RECOMP_FLAGS_IN(); 15432 ecx = eax; /* 0x2B0443D3: mov ecx, eax */ 15433 RECOMP_ICALL(MEM32(0x2B0B5364)); /* 0x2B0443D5: call dword ptr [0x2b0b5364] */ 15434 RECOMP_FLAGS_IN(); 15435 ecx = MEM32(0x2B0EEA74); /* 0x2B0443DB: mov ecx, dword ptr [0x2b0eea74] */ 15436 /* cmp ecx, ebx */ /* 0x2B0443E1: cmp ecx, ebx */ 15437 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 15438 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15439 _flag_k = FK_CMP; 15440 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0443F7; /* 0x2B0443E3: je 0x2b0443f7 */ 15441 L_2B0443E5: 15442 /* cmp MEM8(ecx + 0x30), LO8(ebx) */ /* 0x2B0443E5: cmp byte ptr [ecx + 0x30], bl */ 15443 _flag_a = (uint32_t)(MEM8(ecx + 0x30)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15444 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15445 _flag_k = FK_NARROW(FK_CMP, 24); 15446 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0443F7; /* 0x2B0443E8: je 0x2b0443f7 */ 15447 L_2B0443EA: 15448 edx = ebp + (-0x8); /* 0x2B0443EA: lea edx, [ebp - 8] */ 15449 PUSH32(esp, edx); /* 0x2B0443ED: push edx */ 15450 eax = ebp + (-0x10); /* 0x2B0443EE: lea eax, [ebp - 0x10] */ 15451 PUSH32(esp, eax); /* 0x2B0443F1: push eax */ 15452 RECOMP_ICALL(0x2B045400u); /* 0x2B0443F2: call 0x2b045400 */ /* not lifted */ 15453 RECOMP_FLAGS_IN(); 15454 L_2B0443F7: 15455 ecx = MEM32(0x2B0EEA78); /* 0x2B0443F7: mov ecx, dword ptr [0x2b0eea78] */ 15456 /* cmp ecx, ebx */ /* 0x2B0443FD: cmp ecx, ebx */ 15457 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 15458 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15459 _flag_k = FK_CMP; 15460 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B044413; /* 0x2B0443FF: je 0x2b044413 */ 15461 L_2B044401: 15462 /* cmp MEM8(ecx + 0x30), LO8(ebx) */ /* 0x2B044401: cmp byte ptr [ecx + 0x30], bl */ 15463 _flag_a = (uint32_t)(MEM8(ecx + 0x30)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15464 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15465 _flag_k = FK_NARROW(FK_CMP, 24); 15466 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B044413; /* 0x2B044404: je 0x2b044413 */ 15467 L_2B044406: 15468 edx = ebp + (-0x8); /* 0x2B044406: lea edx, [ebp - 8] */ 15469 PUSH32(esp, edx); /* 0x2B044409: push edx */ 15470 eax = ebp + (-0x10); /* 0x2B04440A: lea eax, [ebp - 0x10] */ 15471 PUSH32(esp, eax); /* 0x2B04440D: push eax */ 15472 RECOMP_ICALL(0x2B045400u); /* 0x2B04440E: call 0x2b045400 */ /* not lifted */ 15473 RECOMP_FLAGS_IN(); 15474 L_2B044413: 15475 ebx = POP32_VAL(esp); /* 0x2B044413: pop ebx */ 15476 esp = ebp; /* 0x2B044414: mov esp, ebp */ 15477 ebp = POP32_VAL(esp); /* 0x2B044416: pop ebp */ 15478 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B044417: ret */ 15479 RECOMP_REGS_OUT(); 15480 } 15481 15482 void sub_2B044420(void) { 15483 int _fpu_cmp = 0; 15484 uint32_t _cf = 0; 15485 int _df = 1; 15486 uint32_t _flag_k = FK_NONE; 15487 uint32_t _flag_a = 0, _flag_b = 0; 15488 uint32_t _itail_tgt = 0; 15489 RECOMP_REGS_LOCALS 15490 RECOMP_ENTER(0x2B044420u); 15491 15492 L_2B044420: 15493 eax = MEM32(0x2B0EEA74); /* 0x2B044420: mov eax, dword ptr [0x2b0eea74] */ 15494 /* test eax, eax */ /* 0x2B044425: test eax, eax */ 15495 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15496 _cf = 0; 15497 _flag_k = FK_TEST; 15498 if (TEST_Z(_flag_a, _flag_b)) goto L_2B044454; /* 0x2B044427: je 0x2b044454 */ 15499 L_2B044429: 15500 SET_LO8(ecx, MEM8(eax + 0x30)); /* 0x2B044429: mov cl, byte ptr [eax + 0x30] */ 15501 /* test LO8(ecx), LO8(ecx) */ /* 0x2B04442C: test cl, cl */ 15502 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 15503 _cf = 0; 15504 _flag_k = FK_NARROW(FK_TEST, 24); 15505 if (TEST_Z(_flag_a, _flag_b)) goto L_2B044454; /* 0x2B04442E: je 0x2b044454 */ 15506 L_2B044430: 15507 eax = MEM32(eax + 0x14); /* 0x2B044430: mov eax, dword ptr [eax + 0x14] */ 15508 PUSH32(esp, esi); /* 0x2B044433: push esi */ 15509 esi = MEM32(eax + 0x2C); /* 0x2B044434: mov esi, dword ptr [eax + 0x2c] */ 15510 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B044437: call dword ptr [0x2b0b5b64] */ 15511 RECOMP_FLAGS_IN(); 15512 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x110)); 15513 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15514 esi = esi - MEM32(eax + 0x110); /* 0x2B04443D: sub esi, dword ptr [eax + 0x110] */ 15515 _flag_k = FK_CMP; 15516 ecx = MEM32(0x2B0EEA74); /* 0x2B044443: mov ecx, dword ptr [0x2b0eea74] */ 15517 ecx = MEM32(ecx + 0x14); /* 0x2B044449: mov ecx, dword ptr [ecx + 0x14] */ 15518 PUSH32(esp, esi); /* 0x2B04444C: push esi */ 15519 RECOMP_ICALL(MEM32(0x2B0B5900)); /* 0x2B04444D: call dword ptr [0x2b0b5900] */ 15520 RECOMP_FLAGS_IN(); 15521 esi = POP32_VAL(esp); /* 0x2B044453: pop esi */ 15522 L_2B044454: 15523 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B044454: ret */ 15524 RECOMP_REGS_OUT(); 15525 } 15526 15527 void sub_2B044460(void) { 15528 int _fpu_cmp = 0; 15529 uint32_t _cf = 0; 15530 int _df = 1; 15531 uint32_t _flag_k = FK_NONE; 15532 uint32_t _flag_a = 0, _flag_b = 0; 15533 uint32_t _itail_tgt = 0; 15534 RECOMP_REGS_LOCALS 15535 RECOMP_ENTER(0x2B044460u); 15536 15537 L_2B044460: 15538 eax = MEM32(0x2B0EEA78); /* 0x2B044460: mov eax, dword ptr [0x2b0eea78] */ 15539 /* test eax, eax */ /* 0x2B044465: test eax, eax */ 15540 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15541 _cf = 0; 15542 _flag_k = FK_TEST; 15543 if (TEST_Z(_flag_a, _flag_b)) goto L_2B044494; /* 0x2B044467: je 0x2b044494 */ 15544 L_2B044469: 15545 SET_LO8(ecx, MEM8(eax + 0x30)); /* 0x2B044469: mov cl, byte ptr [eax + 0x30] */ 15546 /* test LO8(ecx), LO8(ecx) */ /* 0x2B04446C: test cl, cl */ 15547 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 15548 _cf = 0; 15549 _flag_k = FK_NARROW(FK_TEST, 24); 15550 if (TEST_Z(_flag_a, _flag_b)) goto L_2B044494; /* 0x2B04446E: je 0x2b044494 */ 15551 L_2B044470: 15552 eax = MEM32(eax + 0x14); /* 0x2B044470: mov eax, dword ptr [eax + 0x14] */ 15553 PUSH32(esp, esi); /* 0x2B044473: push esi */ 15554 esi = MEM32(eax + 0x2C); /* 0x2B044474: mov esi, dword ptr [eax + 0x2c] */ 15555 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B044477: call dword ptr [0x2b0b5b64] */ 15556 RECOMP_FLAGS_IN(); 15557 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x110)); 15558 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15559 esi = esi - MEM32(eax + 0x110); /* 0x2B04447D: sub esi, dword ptr [eax + 0x110] */ 15560 _flag_k = FK_CMP; 15561 ecx = MEM32(0x2B0EEA78); /* 0x2B044483: mov ecx, dword ptr [0x2b0eea78] */ 15562 ecx = MEM32(ecx + 0x14); /* 0x2B044489: mov ecx, dword ptr [ecx + 0x14] */ 15563 PUSH32(esp, esi); /* 0x2B04448C: push esi */ 15564 RECOMP_ICALL(MEM32(0x2B0B5900)); /* 0x2B04448D: call dword ptr [0x2b0b5900] */ 15565 RECOMP_FLAGS_IN(); 15566 esi = POP32_VAL(esp); /* 0x2B044493: pop esi */ 15567 L_2B044494: 15568 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B044494: ret */ 15569 RECOMP_REGS_OUT(); 15570 } 15571 15572 void sub_2B0444A0(void) { 15573 int _fpu_cmp = 0; 15574 uint32_t _cf = 0; 15575 int _df = 1; 15576 uint32_t _flag_k = FK_NONE; 15577 uint32_t _flag_a = 0, _flag_b = 0; 15578 uint32_t _itail_tgt = 0; 15579 RECOMP_REGS_LOCALS 15580 RECOMP_ENTER(0x2B0444A0u); 15581 15582 L_2B0444A0: 15583 PUSH32(esp, ebp); /* 0x2B0444A0: push ebp */ 15584 ebp = esp; /* 0x2B0444A1: mov ebp, esp */ 15585 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0444A3: push -1 */ 15586 PUSH32(esp, 0x2B0AEF34u); /* 0x2B0444A5: push 0x2b0aef34 */ 15587 eax = MEM32(FS_BASE + (0)); /* 0x2B0444AA: mov eax, dword ptr fs:[0] */ 15588 PUSH32(esp, eax); /* 0x2B0444B0: push eax */ 15589 MEM32(FS_BASE + (0)) = esp; /* 0x2B0444B1: mov dword ptr fs:[0], esp */ 15590 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x58u); 15591 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15592 esp = esp - 0x58u; /* 0x2B0444B8: sub esp, 0x58 */ 15593 _flag_k = FK_CMP; 15594 SET_LO8(eax, MEM8(ebp + 0x13)); /* 0x2B0444BB: mov al, byte ptr [ebp + 0x13] */ 15595 PUSH32(esp, ebx); /* 0x2B0444BE: push ebx */ 15596 ebx = ecx; /* 0x2B0444BF: mov ebx, ecx */ 15597 PUSH32(esp, esi); /* 0x2B0444C1: push esi */ 15598 PUSH32(esp, edi); /* 0x2B0444C2: push edi */ 15599 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15600 edi = 0; /* 0x2B0444C3: xor edi, edi */ 15601 _cf = 0; 15602 _flag_k = FK_TEST; 15603 MEM32(ebx + 0x28) = edi; /* 0x2B0444C5: mov dword ptr [ebx + 0x28], edi */ 15604 MEM32(ebx + 0x2C) = edi; /* 0x2B0444C8: mov dword ptr [ebx + 0x2c], edi */ 15605 esi = ebx + 0x34; /* 0x2B0444CB: lea esi, [ebx + 0x34] */ 15606 MEM8(ebx + 0x30) = (uint8_t)(0); /* 0x2B0444CE: mov byte ptr [ebx + 0x30], 0 */ 15607 MEM8(ebx + 0x31) = (uint8_t)(0); /* 0x2B0444D2: mov byte ptr [ebx + 0x31], 0 */ 15608 MEM8(ebx + 0x32) = (uint8_t)(0); /* 0x2B0444D6: mov byte ptr [ebx + 0x32], 0 */ 15609 MEM8(ebx + 0x33) = (uint8_t)(0); /* 0x2B0444DA: mov byte ptr [ebx + 0x33], 0 */ 15610 PUSH32(esp, edi); /* 0x2B0444DE: push edi */ 15611 ecx = esi; /* 0x2B0444DF: mov ecx, esi */ 15612 MEM32(ebp + (-0x14)) = ebx; /* 0x2B0444E1: mov dword ptr [ebp - 0x14], ebx */ 15613 MEM8(esi) = (uint8_t)(LO8(eax)); /* 0x2B0444E4: mov byte ptr [esi], al */ 15614 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0444E6: call dword ptr [0x2b0b514c] */ 15615 RECOMP_FLAGS_IN(); 15616 MEM32(ebp + (-0x4)) = edi; /* 0x2B0444EC: mov dword ptr [ebp - 4], edi */ 15617 MEM32(ebx) = edi; /* 0x2B0444EF: mov dword ptr [ebx], edi */ 15618 MEM32(ebx + 0x4) = edi; /* 0x2B0444F1: mov dword ptr [ebx + 4], edi */ 15619 edi = MEM32(ebp + 0x10); /* 0x2B0444F4: mov edi, dword ptr [ebp + 0x10] */ 15620 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15621 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0444F7: or ecx, 0xffffffff */ 15622 _cf = 0; 15623 _flag_k = FK_TEST; 15624 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15625 eax = 0; /* 0x2B0444FA: xor eax, eax */ 15626 _cf = 0; 15627 _flag_k = FK_TEST; 15628 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; } /* 0x2B0444FC: repne scasb al, byte ptr es:[edi] */ 15629 ecx = ~ecx; /* 0x2B0444FE: not ecx */ 15630 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15631 ecx = ecx - 1; /* 0x2B044500: dec ecx */ 15632 _flag_k = FK_DEC; 15633 edi = ecx; /* 0x2B044501: mov edi, ecx */ 15634 PUSH32(esp, 1); /* 0x2B044503: push 1 */ 15635 PUSH32(esp, edi); /* 0x2B044505: push edi */ 15636 ecx = esi; /* 0x2B044506: mov ecx, esi */ 15637 MEM32(ebp + (-0x10)) = edi; /* 0x2B044508: mov dword ptr [ebp - 0x10], edi */ 15638 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B04450B: call dword ptr [0x2b0b5154] */ 15639 RECOMP_FLAGS_IN(); 15640 /* test LO8(eax), LO8(eax) */ /* 0x2B044511: test al, al */ 15641 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15642 _cf = 0; 15643 _flag_k = FK_NARROW(FK_TEST, 24); 15644 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04453A; /* 0x2B044513: je 0x2b04453a */ 15645 L_2B044515: 15646 eax = MEM32(esi + 0x4); /* 0x2B044515: mov eax, dword ptr [esi + 4] */ 15647 esi = MEM32(ebp + 0x10); /* 0x2B044518: mov esi, dword ptr [ebp + 0x10] */ 15648 ecx = edi; /* 0x2B04451B: mov ecx, edi */ 15649 edx = ecx; /* 0x2B04451D: mov edx, ecx */ 15650 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B04451F: shr ecx, 2 */ 15651 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 15652 ecx = ecx >> 2u; /* 0x2B04451F: shr ecx, 2 */ 15653 edi = eax; /* 0x2B044522: mov edi, eax */ 15654 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B044524: 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; } 15655 ecx = edx; /* 0x2B044526: mov ecx, edx */ 15656 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 15657 ecx = ecx & 3; /* 0x2B044528: and ecx, 3 */ 15658 _cf = 0; 15659 _flag_k = FK_TEST; 15660 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B04452B: 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; } 15661 eax = MEM32(ebx + 0x38); /* 0x2B04452D: mov eax, dword ptr [ebx + 0x38] */ 15662 ecx = edx; /* 0x2B044530: mov ecx, edx */ 15663 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 15664 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15665 eax = eax + ecx; /* 0x2B044532: add eax, ecx */ 15666 _flag_k = FK_ADD; 15667 MEM32(ebx + 0x3C) = ecx; /* 0x2B044534: mov dword ptr [ebx + 0x3c], ecx */ 15668 MEM8(eax) = (uint8_t)(0); /* 0x2B044537: mov byte ptr [eax], 0 */ 15669 L_2B04453A: 15670 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15671 edi = 0; /* 0x2B04453A: xor edi, edi */ 15672 _cf = 0; 15673 _flag_k = FK_TEST; 15674 PUSH32(esp, 0x50u); /* 0x2B04453C: push 0x50 */ 15675 MEM32(ebp + (-0x24)) = edi; /* 0x2B04453E: mov dword ptr [ebp - 0x24], edi */ 15676 MEM32(ebp + (-0x20)) = edi; /* 0x2B044541: mov dword ptr [ebp - 0x20], edi */ 15677 MEM32(ebp + (-0x1C)) = 0xC0u; /* 0x2B044544: mov dword ptr [ebp - 0x1c], 0xc0 */ 15678 MEM32(ebp + (-0x18)) = 0x80u; /* 0x2B04454B: mov dword ptr [ebp - 0x18], 0x80 */ 15679 RECOMP_ICALL(0x2B0AB212u); /* 0x2B044552: call 0x2b0ab212 */ /* not lifted */ 15680 RECOMP_FLAGS_IN(); 15681 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15682 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15683 esp = esp + 4; /* 0x2B044557: add esp, 4 */ 15684 _flag_k = FK_ADD; 15685 MEM32(ebp + 0x10) = eax; /* 0x2B04455A: mov dword ptr [ebp + 0x10], eax */ 15686 /* cmp eax, edi */ /* 0x2B04455D: cmp eax, edi */ 15687 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 15688 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15689 _flag_k = FK_CMP; 15690 esi = MEM32(ebp + 0xC); /* 0x2B04455F: mov esi, dword ptr [ebp + 0xc] */ 15691 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B044562: mov byte ptr [ebp - 4], 1 */ 15692 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B04458A; /* 0x2B044566: je 0x2b04458a */ 15693 L_2B044568: 15694 PUSH32(esp, edi); /* 0x2B044568: push edi */ 15695 PUSH32(esp, 0x3F800000u); /* 0x2B044569: push 0x3f800000 */ 15696 PUSH32(esp, 0x3F800000u); /* 0x2B04456E: push 0x3f800000 */ 15697 PUSH32(esp, esi); /* 0x2B044573: push esi */ 15698 ecx = ebp + (-0x24); /* 0x2B044574: lea ecx, [ebp - 0x24] */ 15699 PUSH32(esp, ecx); /* 0x2B044577: push ecx */ 15700 edx = ebp + (-0x1C); /* 0x2B044578: lea edx, [ebp - 0x1c] */ 15701 PUSH32(esp, edx); /* 0x2B04457B: push edx */ 15702 PUSH32(esp, 7); /* 0x2B04457C: push 7 */ 15703 PUSH32(esp, 6); /* 0x2B04457E: push 6 */ 15704 ecx = eax; /* 0x2B044580: mov ecx, eax */ 15705 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B044582: call dword ptr [0x2b0b5bd8] */ 15706 RECOMP_FLAGS_IN(); 15707 goto L_2B04458C; /* 0x2B044588: jmp 0x2b04458c */ 15708 L_2B04458A: 15709 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15710 eax = 0; /* 0x2B04458A: xor eax, eax */ 15711 _cf = 0; 15712 _flag_k = FK_TEST; 15713 L_2B04458C: 15714 PUSH32(esp, 1); /* 0x2B04458C: push 1 */ 15715 MEM32(ebx + 0x8) = eax; /* 0x2B04458E: mov dword ptr [ebx + 8], eax */ 15716 eax = MEM32(eax + 0x28); /* 0x2B044591: mov eax, dword ptr [eax + 0x28] */ 15717 PUSH32(esp, edi); /* 0x2B044594: push edi */ 15718 PUSH32(esp, edi); /* 0x2B044595: push edi */ 15719 ecx = eax; /* 0x2B044596: mov ecx, eax */ 15720 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B044598: mov byte ptr [ebp - 4], 0 */ 15721 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B04459C: call dword ptr [0x2b0b564c] */ 15722 RECOMP_FLAGS_IN(); 15723 PUSH32(esp, 0x38u); /* 0x2B0445A2: push 0x38 */ 15724 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0445A4: call 0x2b0ab212 */ /* not lifted */ 15725 RECOMP_FLAGS_IN(); 15726 edi = eax; /* 0x2B0445A9: mov edi, eax */ 15727 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15728 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15729 esp = esp + 4; /* 0x2B0445AB: add esp, 4 */ 15730 _flag_k = FK_ADD; 15731 MEM32(ebp + 0x10) = edi; /* 0x2B0445AE: mov dword ptr [ebp + 0x10], edi */ 15732 /* test edi, edi */ /* 0x2B0445B1: test edi, edi */ 15733 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 15734 _cf = 0; 15735 _flag_k = FK_TEST; 15736 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B0445B3: mov byte ptr [ebp - 4], 2 */ 15737 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0445D6; /* 0x2B0445B7: je 0x2b0445d6 */ 15738 L_2B0445B9: 15739 eax = MEM32(ebx + 0x8); /* 0x2B0445B9: mov eax, dword ptr [ebx + 8] */ 15740 PUSH32(esp, eax); /* 0x2B0445BC: push eax */ 15741 PUSH32(esp, esi); /* 0x2B0445BD: push esi */ 15742 PUSH32(esp, 0x46u); /* 0x2B0445BE: push 0x46 */ 15743 ecx = ebp + (-0x24); /* 0x2B0445C0: lea ecx, [ebp - 0x24] */ 15744 PUSH32(esp, ecx); /* 0x2B0445C3: push ecx */ 15745 ecx = edi; /* 0x2B0445C4: mov ecx, edi */ 15746 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B0445C6: call dword ptr [0x2b0b5948] */ 15747 RECOMP_FLAGS_IN(); 15748 MEM32(edi) = 0x2B0B68F4u; /* 0x2B0445CC: mov dword ptr [edi], 0x2b0b68f4 */ 15749 eax = edi; /* 0x2B0445D2: mov eax, edi */ 15750 goto L_2B0445D8; /* 0x2B0445D4: jmp 0x2b0445d8 */ 15751 L_2B0445D6: 15752 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15753 eax = 0; /* 0x2B0445D6: xor eax, eax */ 15754 _cf = 0; 15755 _flag_k = FK_TEST; 15756 L_2B0445D8: 15757 MEM32(ebx + 0x10) = eax; /* 0x2B0445D8: mov dword ptr [ebx + 0x10], eax */ 15758 ecx = MEM32(eax + 0x14); /* 0x2B0445DB: mov ecx, dword ptr [eax + 0x14] */ 15759 edx = MEM32(ecx + 0xC); /* 0x2B0445DE: mov edx, dword ptr [ecx + 0xc] */ 15760 MEM32(ebp + (-0x1C)) = edx; /* 0x2B0445E1: mov dword ptr [ebp - 0x1c], edx */ 15761 eax = MEM32(eax + 0x14); /* 0x2B0445E4: mov eax, dword ptr [eax + 0x14] */ 15762 eax = MEM32(eax + 0x8); /* 0x2B0445E7: mov eax, dword ptr [eax + 8] */ 15763 ecx = ebp + (-0x1C); /* 0x2B0445EA: lea ecx, [ebp - 0x1c] */ 15764 PUSH32(esp, ecx); /* 0x2B0445ED: push ecx */ 15765 ecx = MEM32(ebx + 0x8); /* 0x2B0445EE: mov ecx, dword ptr [ebx + 8] */ 15766 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B0445F1: mov byte ptr [ebp - 4], 0 */ 15767 MEM32(ebp + (-0x18)) = eax; /* 0x2B0445F5: mov dword ptr [ebp - 0x18], eax */ 15768 RECOMP_ICALL(MEM32(0x2B0B5978)); /* 0x2B0445F8: call dword ptr [0x2b0b5978] */ 15769 RECOMP_FLAGS_IN(); 15770 edx = MEM32(ebp + (-0x1C)); /* 0x2B0445FE: mov edx, dword ptr [ebp - 0x1c] */ 15771 eax = MEM32(ebp + (-0x18)); /* 0x2B044601: mov eax, dword ptr [ebp - 0x18] */ 15772 PUSH32(esp, 0x70u); /* 0x2B044604: push 0x70 */ 15773 MEM32(ebp + (-0x2C)) = edx; /* 0x2B044606: mov dword ptr [ebp - 0x2c], edx */ 15774 MEM32(ebp + (-0x28)) = eax; /* 0x2B044609: mov dword ptr [ebp - 0x28], eax */ 15775 RECOMP_ICALL(0x2B0AB212u); /* 0x2B04460C: call 0x2b0ab212 */ /* not lifted */ 15776 RECOMP_FLAGS_IN(); 15777 edi = eax; /* 0x2B044611: mov edi, eax */ 15778 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15779 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15780 esp = esp + 4; /* 0x2B044613: add esp, 4 */ 15781 _flag_k = FK_ADD; 15782 MEM32(ebp + 0x10) = edi; /* 0x2B044616: mov dword ptr [ebp + 0x10], edi */ 15783 /* test edi, edi */ /* 0x2B044619: test edi, edi */ 15784 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 15785 _cf = 0; 15786 _flag_k = FK_TEST; 15787 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B04461B: mov byte ptr [ebp - 4], 3 */ 15788 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04465F; /* 0x2B04461F: je 0x2b04465f */ 15789 L_2B044621: 15790 ecx = MEM32(ebx + 0x8); /* 0x2B044621: mov ecx, dword ptr [ebx + 8] */ 15791 edx = MEM32(ebp + 0x8); /* 0x2B044624: mov edx, dword ptr [ebp + 8] */ 15792 PUSH32(esp, ecx); /* 0x2B044627: push ecx */ 15793 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B044628: push -1 */ 15794 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B04462A: push -1 */ 15795 PUSH32(esp, edx); /* 0x2B04462C: push edx */ 15796 edx = MEM32(ebp + (-0x2C)); /* 0x2B04462D: mov edx, dword ptr [ebp - 0x2c] */ 15797 PUSH32(esp, 0); /* 0x2B044630: push 0 */ 15798 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 15799 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15800 esp = esp - 0x10u; /* 0x2B044632: sub esp, 0x10 */ 15801 _flag_k = FK_CMP; 15802 ecx = esp; /* 0x2B044635: mov ecx, esp */ 15803 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15804 eax = 0; /* 0x2B044637: xor eax, eax */ 15805 _cf = 0; 15806 _flag_k = FK_TEST; 15807 MEM32(ecx) = eax; /* 0x2B044639: mov dword ptr [ecx], eax */ 15808 MEM32(ecx + 0x4) = eax; /* 0x2B04463B: mov dword ptr [ecx + 4], eax */ 15809 eax = MEM32(ebp + (-0x28)); /* 0x2B04463E: mov eax, dword ptr [ebp - 0x28] */ 15810 MEM32(ecx + 0x8) = edx; /* 0x2B044641: mov dword ptr [ecx + 8], edx */ 15811 MEM32(ecx + 0xC) = eax; /* 0x2B044644: mov dword ptr [ecx + 0xc], eax */ 15812 ecx = esi + 0x1; /* 0x2B044647: lea ecx, [esi + 1] */ 15813 PUSH32(esp, ecx); /* 0x2B04464A: push ecx */ 15814 PUSH32(esp, 0); /* 0x2B04464B: push 0 */ 15815 PUSH32(esp, 0); /* 0x2B04464D: push 0 */ 15816 ecx = edi; /* 0x2B04464F: mov ecx, edi */ 15817 RECOMP_ICALL(MEM32(0x2B0B5C00)); /* 0x2B044651: call dword ptr [0x2b0b5c00] */ 15818 RECOMP_FLAGS_IN(); 15819 MEM32(edi) = 0x2B0B6164u; /* 0x2B044657: mov dword ptr [edi], 0x2b0b6164 */ 15820 goto L_2B044661; /* 0x2B04465D: jmp 0x2b044661 */ 15821 L_2B04465F: 15822 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15823 edi = 0; /* 0x2B04465F: xor edi, edi */ 15824 _cf = 0; 15825 _flag_k = FK_TEST; 15826 L_2B044661: 15827 PUSH32(esp, 0x9Cu); /* 0x2B044661: push 0x9c */ 15828 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B044666: mov byte ptr [ebp - 4], 0 */ 15829 MEM32(ebx + 0x18) = edi; /* 0x2B04466A: mov dword ptr [ebx + 0x18], edi */ 15830 RECOMP_ICALL(0x2B0AB212u); /* 0x2B04466D: call 0x2b0ab212 */ /* not lifted */ 15831 RECOMP_FLAGS_IN(); 15832 edi = eax; /* 0x2B044672: mov edi, eax */ 15833 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15834 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15835 esp = esp + 4; /* 0x2B044674: add esp, 4 */ 15836 _flag_k = FK_ADD; 15837 MEM32(ebp + 0x10) = edi; /* 0x2B044677: mov dword ptr [ebp + 0x10], edi */ 15838 /* test edi, edi */ /* 0x2B04467A: test edi, edi */ 15839 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 15840 _cf = 0; 15841 _flag_k = FK_TEST; 15842 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B04467C: mov byte ptr [ebp - 4], 4 */ 15843 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0446B1; /* 0x2B044680: je 0x2b0446b1 */ 15844 L_2B044682: 15845 edx = MEM32(ebx + 0x8); /* 0x2B044682: mov edx, dword ptr [ebx + 8] */ 15846 eax = MEM32(ebp + (-0x18)); /* 0x2B044685: mov eax, dword ptr [ebp - 0x18] */ 15847 ecx = MEM32(ebp + (-0x1C)); /* 0x2B044688: mov ecx, dword ptr [ebp - 0x1c] */ 15848 PUSH32(esp, edx); /* 0x2B04468B: push edx */ 15849 edx = MEM32(ebp + (-0x20)); /* 0x2B04468C: mov edx, dword ptr [ebp - 0x20] */ 15850 PUSH32(esp, 4); /* 0x2B04468F: push 4 */ 15851 PUSH32(esp, 0); /* 0x2B044691: push 0 */ 15852 PUSH32(esp, esi); /* 0x2B044693: push esi */ 15853 PUSH32(esp, 0); /* 0x2B044694: push 0 */ 15854 PUSH32(esp, 0); /* 0x2B044696: push 0 */ 15855 PUSH32(esp, 0); /* 0x2B044698: push 0 */ 15856 PUSH32(esp, eax); /* 0x2B04469A: push eax */ 15857 eax = MEM32(ebp + (-0x24)); /* 0x2B04469B: mov eax, dword ptr [ebp - 0x24] */ 15858 PUSH32(esp, ecx); /* 0x2B04469E: push ecx */ 15859 PUSH32(esp, edx); /* 0x2B04469F: push edx */ 15860 PUSH32(esp, eax); /* 0x2B0446A0: push eax */ 15861 ecx = edi; /* 0x2B0446A1: mov ecx, edi */ 15862 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B0446A3: call dword ptr [0x2b0b5af0] */ 15863 RECOMP_FLAGS_IN(); 15864 MEM32(edi) = 0x2B0B642Cu; /* 0x2B0446A9: mov dword ptr [edi], 0x2b0b642c */ 15865 goto L_2B0446B3; /* 0x2B0446AF: jmp 0x2b0446b3 */ 15866 L_2B0446B1: 15867 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15868 edi = 0; /* 0x2B0446B1: xor edi, edi */ 15869 _cf = 0; 15870 _flag_k = FK_TEST; 15871 L_2B0446B3: 15872 PUSH32(esp, 0x9Cu); /* 0x2B0446B3: push 0x9c */ 15873 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B0446B8: mov byte ptr [ebp - 4], 0 */ 15874 MEM32(ebx + 0x1C) = edi; /* 0x2B0446BC: mov dword ptr [ebx + 0x1c], edi */ 15875 MEM32(ebp + (-0x18)) = 0x10u; /* 0x2B0446BF: mov dword ptr [ebp - 0x18], 0x10 */ 15876 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0446C6: call 0x2b0ab212 */ /* not lifted */ 15877 RECOMP_FLAGS_IN(); 15878 edi = eax; /* 0x2B0446CB: mov edi, eax */ 15879 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15880 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15881 esp = esp + 4; /* 0x2B0446CD: add esp, 4 */ 15882 _flag_k = FK_ADD; 15883 MEM32(ebp + 0x10) = edi; /* 0x2B0446D0: mov dword ptr [ebp + 0x10], edi */ 15884 /* test edi, edi */ /* 0x2B0446D3: test edi, edi */ 15885 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 15886 _cf = 0; 15887 _flag_k = FK_TEST; 15888 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B0446D5: mov byte ptr [ebp - 4], 5 */ 15889 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04470F; /* 0x2B0446D9: je 0x2b04470f */ 15890 L_2B0446DB: 15891 ecx = MEM32(ebx + 0x8); /* 0x2B0446DB: mov ecx, dword ptr [ebx + 8] */ 15892 eax = MEM32(ebp + (-0x18)); /* 0x2B0446DE: mov eax, dword ptr [ebp - 0x18] */ 15893 PUSH32(esp, ecx); /* 0x2B0446E1: push ecx */ 15894 ecx = MEM32(ebp + (-0x1C)); /* 0x2B0446E2: mov ecx, dword ptr [ebp - 0x1c] */ 15895 PUSH32(esp, 4); /* 0x2B0446E5: push 4 */ 15896 PUSH32(esp, 0); /* 0x2B0446E7: push 0 */ 15897 edx = esi + 0x1; /* 0x2B0446E9: lea edx, [esi + 1] */ 15898 PUSH32(esp, edx); /* 0x2B0446EC: push edx */ 15899 edx = MEM32(ebp + (-0x20)); /* 0x2B0446ED: mov edx, dword ptr [ebp - 0x20] */ 15900 PUSH32(esp, 0); /* 0x2B0446F0: push 0 */ 15901 PUSH32(esp, 0); /* 0x2B0446F2: push 0 */ 15902 PUSH32(esp, 0); /* 0x2B0446F4: push 0 */ 15903 PUSH32(esp, eax); /* 0x2B0446F6: push eax */ 15904 eax = MEM32(ebp + (-0x24)); /* 0x2B0446F7: mov eax, dword ptr [ebp - 0x24] */ 15905 PUSH32(esp, ecx); /* 0x2B0446FA: push ecx */ 15906 PUSH32(esp, edx); /* 0x2B0446FB: push edx */ 15907 PUSH32(esp, eax); /* 0x2B0446FC: push eax */ 15908 ecx = edi; /* 0x2B0446FD: mov ecx, edi */ 15909 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B0446FF: call dword ptr [0x2b0b5af0] */ 15910 RECOMP_FLAGS_IN(); 15911 MEM32(edi) = 0x2B0B642Cu; /* 0x2B044705: mov dword ptr [edi], 0x2b0b642c */ 15912 eax = edi; /* 0x2B04470B: mov eax, edi */ 15913 goto L_2B044711; /* 0x2B04470D: jmp 0x2b044711 */ 15914 L_2B04470F: 15915 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15916 eax = 0; /* 0x2B04470F: xor eax, eax */ 15917 _cf = 0; 15918 _flag_k = FK_TEST; 15919 L_2B044711: 15920 MEM32(ebx + 0x20) = eax; /* 0x2B044711: mov dword ptr [ebx + 0x20], eax */ 15921 PUSH32(esp, 0x64u); /* 0x2B044714: push 0x64 */ 15922 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B044716: mov byte ptr [ebp - 4], 0 */ 15923 MEM32(eax + 0x7C) = 0x2B045380u; /* 0x2B04471A: mov dword ptr [eax + 0x7c], 0x2b045380 */ 15924 MEM32(eax + 0x80) = ebx; /* 0x2B044721: mov dword ptr [eax + 0x80], ebx */ 15925 MEM8(eax + 0x24) = (uint8_t)(1); /* 0x2B044727: mov byte ptr [eax + 0x24], 1 */ 15926 MEM8(eax + 0x25) = (uint8_t)(1); /* 0x2B04472B: mov byte ptr [eax + 0x25], 1 */ 15927 RECOMP_ICALL(0x2B0AB212u); /* 0x2B04472F: call 0x2b0ab212 */ /* not lifted */ 15928 RECOMP_FLAGS_IN(); 15929 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15930 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15931 esp = esp + 4; /* 0x2B044734: add esp, 4 */ 15932 _flag_k = FK_ADD; 15933 MEM32(ebp + 0x10) = eax; /* 0x2B044737: mov dword ptr [ebp + 0x10], eax */ 15934 /* test eax, eax */ /* 0x2B04473A: test eax, eax */ 15935 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15936 _cf = 0; 15937 _flag_k = FK_TEST; 15938 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B04473C: mov byte ptr [ebp - 4], 6 */ 15939 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04476F; /* 0x2B044740: je 0x2b04476f */ 15940 L_2B044742: 15941 ecx = MEM32(ebx + 0x8); /* 0x2B044742: mov ecx, dword ptr [ebx + 8] */ 15942 PUSH32(esp, ecx); /* 0x2B044745: push ecx */ 15943 PUSH32(esp, 0); /* 0x2B044746: push 0 */ 15944 PUSH32(esp, 0x30u); /* 0x2B044748: push 0x30 */ 15945 PUSH32(esp, 0); /* 0x2B04474A: push 0 */ 15946 edx = esi + 0x2; /* 0x2B04474C: lea edx, [esi + 2] */ 15947 PUSH32(esp, edx); /* 0x2B04474F: push edx */ 15948 PUSH32(esp, 0x68u); /* 0x2B044750: push 0x68 */ 15949 PUSH32(esp, 0xFFFFFFFEu); /* 0x2B044752: push -2 */ 15950 PUSH32(esp, 0x9Fu); /* 0x2B044754: push 0x9f */ 15951 PUSH32(esp, 0x36u); /* 0x2B044759: push 0x36 */ 15952 PUSH32(esp, 0x36u); /* 0x2B04475B: push 0x36 */ 15953 PUSH32(esp, 2); /* 0x2B04475D: push 2 */ 15954 PUSH32(esp, 3); /* 0x2B04475F: push 3 */ 15955 ecx = ebp + (-0x24); /* 0x2B044761: lea ecx, [ebp - 0x24] */ 15956 PUSH32(esp, ecx); /* 0x2B044764: push ecx */ 15957 ecx = eax; /* 0x2B044765: mov ecx, eax */ 15958 RECOMP_ICALL(MEM32(0x2B0B58F8)); /* 0x2B044767: call dword ptr [0x2b0b58f8] */ 15959 RECOMP_FLAGS_IN(); 15960 goto L_2B044771; /* 0x2B04476D: jmp 0x2b044771 */ 15961 L_2B04476F: 15962 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15963 eax = 0; /* 0x2B04476F: xor eax, eax */ 15964 _cf = 0; 15965 _flag_k = FK_TEST; 15966 L_2B044771: 15967 MEM32(ebx + 0x14) = eax; /* 0x2B044771: mov dword ptr [ebx + 0x14], eax */ 15968 MEM32(eax + 0x5C) = 0x2B045310u; /* 0x2B044774: mov dword ptr [eax + 0x5c], 0x2b045310 */ 15969 MEM32(eax + 0x60) = ebx; /* 0x2B04477B: mov dword ptr [eax + 0x60], ebx */ 15970 edx = MEM32(ebx + 0x10); /* 0x2B04477E: mov edx, dword ptr [ebx + 0x10] */ 15971 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15972 eax = 0; /* 0x2B044781: xor eax, eax */ 15973 _cf = 0; 15974 _flag_k = FK_TEST; 15975 ecx = 0xCu; /* 0x2B044783: mov ecx, 0xc */ 15976 edi = ebp + (-0x64); /* 0x2B044788: lea edi, [ebp - 0x64] */ 15977 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B04478B: 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; } 15978 eax = MEM32(edx + 0x14); /* 0x2B04478D: mov eax, dword ptr [edx + 0x14] */ 15979 eax = MEM32(eax + 0xC); /* 0x2B044790: mov eax, dword ptr [eax + 0xc] */ 15980 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFu); 15981 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15982 eax = eax - 0xFu; /* 0x2B044793: sub eax, 0xf */ 15983 _flag_k = FK_CMP; 15984 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 15985 esi = esi + 1; /* 0x2B044796: inc esi */ 15986 _flag_k = FK_INC; 15987 PUSH32(esp, 0xBCu); /* 0x2B044797: push 0xbc */ 15988 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B04479C: mov byte ptr [ebp - 4], 0 */ 15989 MEM32(ebp + (-0x54)) = eax; /* 0x2B0447A0: mov dword ptr [ebp - 0x54], eax */ 15990 MEM32(ebp + (-0x50)) = 2; /* 0x2B0447A3: mov dword ptr [ebp - 0x50], 2 */ 15991 MEM32(ebp + (-0x58)) = 0x2B0E6EE8u; /* 0x2B0447AA: mov dword ptr [ebp - 0x58], 0x2b0e6ee8 */ 15992 MEM32(ebp + (-0x4C)) = esi; /* 0x2B0447B1: mov dword ptr [ebp - 0x4c], esi */ 15993 MEM32(ebp + (-0x44)) = 0x47u; /* 0x2B0447B4: mov dword ptr [ebp - 0x44], 0x47 */ 15994 MEM32(ebp + (-0x40)) = 0x48u; /* 0x2B0447BB: mov dword ptr [ebp - 0x40], 0x48 */ 15995 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0447C2: call 0x2b0ab212 */ /* not lifted */ 15996 RECOMP_FLAGS_IN(); 15997 edi = eax; /* 0x2B0447C7: mov edi, eax */ 15998 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15999 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16000 esp = esp + 4; /* 0x2B0447C9: add esp, 4 */ 16001 _flag_k = FK_ADD; 16002 MEM32(ebp + 0x10) = edi; /* 0x2B0447CC: mov dword ptr [ebp + 0x10], edi */ 16003 /* test edi, edi */ /* 0x2B0447CF: test edi, edi */ 16004 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16005 _cf = 0; 16006 _flag_k = FK_TEST; 16007 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B0447D1: mov byte ptr [ebp - 4], 7 */ 16008 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0447F1; /* 0x2B0447D5: je 0x2b0447f1 */ 16009 L_2B0447D7: 16010 ecx = MEM32(ebx + 0x8); /* 0x2B0447D7: mov ecx, dword ptr [ebx + 8] */ 16011 PUSH32(esp, ecx); /* 0x2B0447DA: push ecx */ 16012 edx = ebp + (-0x64); /* 0x2B0447DB: lea edx, [ebp - 0x64] */ 16013 PUSH32(esp, edx); /* 0x2B0447DE: push edx */ 16014 ecx = edi; /* 0x2B0447DF: mov ecx, edi */ 16015 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B0447E1: call dword ptr [0x2b0b5afc] */ 16016 RECOMP_FLAGS_IN(); 16017 MEM32(edi) = 0x2B0B645Cu; /* 0x2B0447E7: mov dword ptr [edi], 0x2b0b645c */ 16018 ecx = edi; /* 0x2B0447ED: mov ecx, edi */ 16019 goto L_2B0447F3; /* 0x2B0447EF: jmp 0x2b0447f3 */ 16020 L_2B0447F1: 16021 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16022 ecx = 0; /* 0x2B0447F1: xor ecx, ecx */ 16023 _cf = 0; 16024 _flag_k = FK_TEST; 16025 L_2B0447F3: 16026 PUSH32(esp, ebx); /* 0x2B0447F3: push ebx */ 16027 PUSH32(esp, 0x2B0453B0u); /* 0x2B0447F4: push 0x2b0453b0 */ 16028 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B0447F9: mov byte ptr [ebp - 4], 0 */ 16029 MEM32(ebx + 0x24) = ecx; /* 0x2B0447FD: mov dword ptr [ebx + 0x24], ecx */ 16030 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B044800: call dword ptr [0x2b0b5af8] */ 16031 RECOMP_FLAGS_IN(); 16032 PUSH32(esp, 0x50u); /* 0x2B044806: push 0x50 */ 16033 RECOMP_ICALL(0x2B0AB212u); /* 0x2B044808: call 0x2b0ab212 */ /* not lifted */ 16034 RECOMP_FLAGS_IN(); 16035 edi = eax; /* 0x2B04480D: mov edi, eax */ 16036 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16037 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16038 esp = esp + 4; /* 0x2B04480F: add esp, 4 */ 16039 _flag_k = FK_ADD; 16040 MEM32(ebp + 0x10) = edi; /* 0x2B044812: mov dword ptr [ebp + 0x10], edi */ 16041 /* test edi, edi */ /* 0x2B044815: test edi, edi */ 16042 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16043 _cf = 0; 16044 _flag_k = FK_TEST; 16045 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B044817: mov byte ptr [ebp - 4], 8 */ 16046 if (TEST_Z(_flag_a, _flag_b)) goto L_2B044848; /* 0x2B04481B: je 0x2b044848 */ 16047 L_2B04481D: 16048 eax = MEM32(ebx + 0x8); /* 0x2B04481D: mov eax, dword ptr [ebx + 8] */ 16049 ecx = MEM32(ebp + (-0x20)); /* 0x2B044820: mov ecx, dword ptr [ebp - 0x20] */ 16050 edx = MEM32(ebp + (-0x24)); /* 0x2B044823: mov edx, dword ptr [ebp - 0x24] */ 16051 PUSH32(esp, eax); /* 0x2B044826: push eax */ 16052 PUSH32(esp, 0x80u); /* 0x2B044827: push 0x80 */ 16053 PUSH32(esp, ecx); /* 0x2B04482C: push ecx */ 16054 PUSH32(esp, edx); /* 0x2B04482D: push edx */ 16055 PUSH32(esp, esi); /* 0x2B04482E: push esi */ 16056 PUSH32(esp, 0x2B0EE648u); /* 0x2B04482F: push 0x2b0ee648 */ 16057 PUSH32(esp, 1); /* 0x2B044834: push 1 */ 16058 ecx = edi; /* 0x2B044836: mov ecx, edi */ 16059 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B044838: call dword ptr [0x2b0b5950] */ 16060 RECOMP_FLAGS_IN(); 16061 MEM32(edi) = 0x2B0B6878u; /* 0x2B04483E: mov dword ptr [edi], 0x2b0b6878 */ 16062 eax = edi; /* 0x2B044844: mov eax, edi */ 16063 goto L_2B04484A; /* 0x2B044846: jmp 0x2b04484a */ 16064 L_2B044848: 16065 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16066 eax = 0; /* 0x2B044848: xor eax, eax */ 16067 _cf = 0; 16068 _flag_k = FK_TEST; 16069 L_2B04484A: 16070 MEM32(ebx + 0xC) = eax; /* 0x2B04484A: mov dword ptr [ebx + 0xc], eax */ 16071 eax = MEM32(eax + 0x34); /* 0x2B04484D: mov eax, dword ptr [eax + 0x34] */ 16072 ecx = 0xEu; /* 0x2B044850: mov ecx, 0xe */ 16073 MEM32(eax) = ecx; /* 0x2B044855: mov dword ptr [eax], ecx */ 16074 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16075 edx = 0; /* 0x2B044857: xor edx, edx */ 16076 _cf = 0; 16077 _flag_k = FK_TEST; 16078 MEM32(eax + 0x4) = edx; /* 0x2B044859: mov dword ptr [eax + 4], edx */ 16079 esi = 0x50u; /* 0x2B04485C: mov esi, 0x50 */ 16080 MEM32(eax + 0x8) = esi; /* 0x2B044861: mov dword ptr [eax + 8], esi */ 16081 edi = 0xDu; /* 0x2B044864: mov edi, 0xd */ 16082 MEM32(eax + 0xC) = edi; /* 0x2B044869: mov dword ptr [eax + 0xc], edi */ 16083 ecx = MEM32(ebx + 0xC); /* 0x2B04486C: mov ecx, dword ptr [ebx + 0xc] */ 16084 PUSH32(esp, 5); /* 0x2B04486F: push 5 */ 16085 PUSH32(esp, 0x5Cu); /* 0x2B044871: push 0x5c */ 16086 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B044873: mov byte ptr [ebp - 4], 0 */ 16087 MEM32(ebp + (-0x24)) = 0x5Cu; /* 0x2B044877: mov dword ptr [ebp - 0x24], 0x5c */ 16088 MEM32(ebp + (-0x20)) = 5; /* 0x2B04487E: mov dword ptr [ebp - 0x20], 5 */ 16089 RECOMP_ICALL(MEM32(0x2B0B5924)); /* 0x2B044885: call dword ptr [0x2b0b5924] */ 16090 RECOMP_FLAGS_IN(); 16091 ecx = ebx; /* 0x2B04488B: mov ecx, ebx */ 16092 RECOMP_ICALL(0x2B044A40u); /* 0x2B04488D: call 0x2b044a40 */ /* not lifted */ 16093 RECOMP_FLAGS_IN(); 16094 ecx = MEM32(ebp + (-0xC)); /* 0x2B044892: mov ecx, dword ptr [ebp - 0xc] */ 16095 edi = POP32_VAL(esp); /* 0x2B044895: pop edi */ 16096 esi = POP32_VAL(esp); /* 0x2B044896: pop esi */ 16097 eax = ebx; /* 0x2B044897: mov eax, ebx */ 16098 MEM32(FS_BASE + (0)) = ecx; /* 0x2B044899: mov dword ptr fs:[0], ecx */ 16099 ebx = POP32_VAL(esp); /* 0x2B0448A0: pop ebx */ 16100 esp = ebp; /* 0x2B0448A1: mov esp, ebp */ 16101 ebp = POP32_VAL(esp); /* 0x2B0448A3: pop ebp */ 16102 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B0448A4: ret 0xc */ 16103 RECOMP_REGS_OUT(); 16104 } 16105 16106 void sub_2B0445D2(void) { 16107 int _fpu_cmp = 0; 16108 uint32_t _cf = 0; 16109 int _df = 1; 16110 uint32_t _flag_k = FK_NONE; 16111 uint32_t _flag_a = 0, _flag_b = 0; 16112 uint32_t _itail_tgt = 0; 16113 RECOMP_REGS_LOCALS 16114 RECOMP_ENTER(0x2B0445D2u); 16115 16116 L_2B0445D2: 16117 eax = edi; /* 0x2B0445D2: mov eax, edi */ 16118 goto L_2B0445D8; /* 0x2B0445D4: jmp 0x2b0445d8 */ 16119 L_2B0445D8: 16120 MEM32(ebx + 0x10) = eax; /* 0x2B0445D8: mov dword ptr [ebx + 0x10], eax */ 16121 ecx = MEM32(eax + 0x14); /* 0x2B0445DB: mov ecx, dword ptr [eax + 0x14] */ 16122 edx = MEM32(ecx + 0xC); /* 0x2B0445DE: mov edx, dword ptr [ecx + 0xc] */ 16123 MEM32(ebp + (-0x1C)) = edx; /* 0x2B0445E1: mov dword ptr [ebp - 0x1c], edx */ 16124 eax = MEM32(eax + 0x14); /* 0x2B0445E4: mov eax, dword ptr [eax + 0x14] */ 16125 eax = MEM32(eax + 0x8); /* 0x2B0445E7: mov eax, dword ptr [eax + 8] */ 16126 ecx = ebp + (-0x1C); /* 0x2B0445EA: lea ecx, [ebp - 0x1c] */ 16127 PUSH32(esp, ecx); /* 0x2B0445ED: push ecx */ 16128 ecx = MEM32(ebx + 0x8); /* 0x2B0445EE: mov ecx, dword ptr [ebx + 8] */ 16129 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B0445F1: mov byte ptr [ebp - 4], 0 */ 16130 MEM32(ebp + (-0x18)) = eax; /* 0x2B0445F5: mov dword ptr [ebp - 0x18], eax */ 16131 RECOMP_ICALL(MEM32(0x2B0B5978)); /* 0x2B0445F8: call dword ptr [0x2b0b5978] */ 16132 RECOMP_FLAGS_IN(); 16133 edx = MEM32(ebp + (-0x1C)); /* 0x2B0445FE: mov edx, dword ptr [ebp - 0x1c] */ 16134 eax = MEM32(ebp + (-0x18)); /* 0x2B044601: mov eax, dword ptr [ebp - 0x18] */ 16135 PUSH32(esp, 0x70u); /* 0x2B044604: push 0x70 */ 16136 MEM32(ebp + (-0x2C)) = edx; /* 0x2B044606: mov dword ptr [ebp - 0x2c], edx */ 16137 MEM32(ebp + (-0x28)) = eax; /* 0x2B044609: mov dword ptr [ebp - 0x28], eax */ 16138 RECOMP_ICALL(0x2B0AB212u); /* 0x2B04460C: call 0x2b0ab212 */ /* not lifted */ 16139 RECOMP_FLAGS_IN(); 16140 edi = eax; /* 0x2B044611: mov edi, eax */ 16141 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16142 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16143 esp = esp + 4; /* 0x2B044613: add esp, 4 */ 16144 _flag_k = FK_ADD; 16145 MEM32(ebp + 0x10) = edi; /* 0x2B044616: mov dword ptr [ebp + 0x10], edi */ 16146 /* test edi, edi */ /* 0x2B044619: test edi, edi */ 16147 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16148 _cf = 0; 16149 _flag_k = FK_TEST; 16150 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B04461B: mov byte ptr [ebp - 4], 3 */ 16151 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04465F; /* 0x2B04461F: je 0x2b04465f */ 16152 L_2B044621: 16153 ecx = MEM32(ebx + 0x8); /* 0x2B044621: mov ecx, dword ptr [ebx + 8] */ 16154 edx = MEM32(ebp + 0x8); /* 0x2B044624: mov edx, dword ptr [ebp + 8] */ 16155 PUSH32(esp, ecx); /* 0x2B044627: push ecx */ 16156 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B044628: push -1 */ 16157 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B04462A: push -1 */ 16158 PUSH32(esp, edx); /* 0x2B04462C: push edx */ 16159 edx = MEM32(ebp + (-0x2C)); /* 0x2B04462D: mov edx, dword ptr [ebp - 0x2c] */ 16160 PUSH32(esp, 0); /* 0x2B044630: push 0 */ 16161 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 16162 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16163 esp = esp - 0x10u; /* 0x2B044632: sub esp, 0x10 */ 16164 _flag_k = FK_CMP; 16165 ecx = esp; /* 0x2B044635: mov ecx, esp */ 16166 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16167 eax = 0; /* 0x2B044637: xor eax, eax */ 16168 _cf = 0; 16169 _flag_k = FK_TEST; 16170 MEM32(ecx) = eax; /* 0x2B044639: mov dword ptr [ecx], eax */ 16171 MEM32(ecx + 0x4) = eax; /* 0x2B04463B: mov dword ptr [ecx + 4], eax */ 16172 eax = MEM32(ebp + (-0x28)); /* 0x2B04463E: mov eax, dword ptr [ebp - 0x28] */ 16173 MEM32(ecx + 0x8) = edx; /* 0x2B044641: mov dword ptr [ecx + 8], edx */ 16174 MEM32(ecx + 0xC) = eax; /* 0x2B044644: mov dword ptr [ecx + 0xc], eax */ 16175 ecx = esi + 0x1; /* 0x2B044647: lea ecx, [esi + 1] */ 16176 PUSH32(esp, ecx); /* 0x2B04464A: push ecx */ 16177 PUSH32(esp, 0); /* 0x2B04464B: push 0 */ 16178 PUSH32(esp, 0); /* 0x2B04464D: push 0 */ 16179 ecx = edi; /* 0x2B04464F: mov ecx, edi */ 16180 RECOMP_ICALL(MEM32(0x2B0B5C00)); /* 0x2B044651: call dword ptr [0x2b0b5c00] */ 16181 RECOMP_FLAGS_IN(); 16182 MEM32(edi) = 0x2B0B6164u; /* 0x2B044657: mov dword ptr [edi], 0x2b0b6164 */ 16183 goto L_2B044661; /* 0x2B04465D: jmp 0x2b044661 */ 16184 L_2B04465F: 16185 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16186 edi = 0; /* 0x2B04465F: xor edi, edi */ 16187 _cf = 0; 16188 _flag_k = FK_TEST; 16189 L_2B044661: 16190 PUSH32(esp, 0x9Cu); /* 0x2B044661: push 0x9c */ 16191 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B044666: mov byte ptr [ebp - 4], 0 */ 16192 MEM32(ebx + 0x18) = edi; /* 0x2B04466A: mov dword ptr [ebx + 0x18], edi */ 16193 RECOMP_ICALL(0x2B0AB212u); /* 0x2B04466D: call 0x2b0ab212 */ /* not lifted */ 16194 RECOMP_FLAGS_IN(); 16195 edi = eax; /* 0x2B044672: mov edi, eax */ 16196 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16197 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16198 esp = esp + 4; /* 0x2B044674: add esp, 4 */ 16199 _flag_k = FK_ADD; 16200 MEM32(ebp + 0x10) = edi; /* 0x2B044677: mov dword ptr [ebp + 0x10], edi */ 16201 /* test edi, edi */ /* 0x2B04467A: test edi, edi */ 16202 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16203 _cf = 0; 16204 _flag_k = FK_TEST; 16205 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B04467C: mov byte ptr [ebp - 4], 4 */ 16206 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0446B1; /* 0x2B044680: je 0x2b0446b1 */ 16207 L_2B044682: 16208 edx = MEM32(ebx + 0x8); /* 0x2B044682: mov edx, dword ptr [ebx + 8] */ 16209 eax = MEM32(ebp + (-0x18)); /* 0x2B044685: mov eax, dword ptr [ebp - 0x18] */ 16210 ecx = MEM32(ebp + (-0x1C)); /* 0x2B044688: mov ecx, dword ptr [ebp - 0x1c] */ 16211 PUSH32(esp, edx); /* 0x2B04468B: push edx */ 16212 edx = MEM32(ebp + (-0x20)); /* 0x2B04468C: mov edx, dword ptr [ebp - 0x20] */ 16213 PUSH32(esp, 4); /* 0x2B04468F: push 4 */ 16214 PUSH32(esp, 0); /* 0x2B044691: push 0 */ 16215 PUSH32(esp, esi); /* 0x2B044693: push esi */ 16216 PUSH32(esp, 0); /* 0x2B044694: push 0 */ 16217 PUSH32(esp, 0); /* 0x2B044696: push 0 */ 16218 PUSH32(esp, 0); /* 0x2B044698: push 0 */ 16219 PUSH32(esp, eax); /* 0x2B04469A: push eax */ 16220 eax = MEM32(ebp + (-0x24)); /* 0x2B04469B: mov eax, dword ptr [ebp - 0x24] */ 16221 PUSH32(esp, ecx); /* 0x2B04469E: push ecx */ 16222 PUSH32(esp, edx); /* 0x2B04469F: push edx */ 16223 PUSH32(esp, eax); /* 0x2B0446A0: push eax */ 16224 ecx = edi; /* 0x2B0446A1: mov ecx, edi */ 16225 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B0446A3: call dword ptr [0x2b0b5af0] */ 16226 RECOMP_FLAGS_IN(); 16227 MEM32(edi) = 0x2B0B642Cu; /* 0x2B0446A9: mov dword ptr [edi], 0x2b0b642c */ 16228 goto L_2B0446B3; /* 0x2B0446AF: jmp 0x2b0446b3 */ 16229 L_2B0446B1: 16230 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16231 edi = 0; /* 0x2B0446B1: xor edi, edi */ 16232 _cf = 0; 16233 _flag_k = FK_TEST; 16234 L_2B0446B3: 16235 PUSH32(esp, 0x9Cu); /* 0x2B0446B3: push 0x9c */ 16236 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B0446B8: mov byte ptr [ebp - 4], 0 */ 16237 MEM32(ebx + 0x1C) = edi; /* 0x2B0446BC: mov dword ptr [ebx + 0x1c], edi */ 16238 MEM32(ebp + (-0x18)) = 0x10u; /* 0x2B0446BF: mov dword ptr [ebp - 0x18], 0x10 */ 16239 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0446C6: call 0x2b0ab212 */ /* not lifted */ 16240 RECOMP_FLAGS_IN(); 16241 edi = eax; /* 0x2B0446CB: mov edi, eax */ 16242 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16243 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16244 esp = esp + 4; /* 0x2B0446CD: add esp, 4 */ 16245 _flag_k = FK_ADD; 16246 MEM32(ebp + 0x10) = edi; /* 0x2B0446D0: mov dword ptr [ebp + 0x10], edi */ 16247 /* test edi, edi */ /* 0x2B0446D3: test edi, edi */ 16248 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16249 _cf = 0; 16250 _flag_k = FK_TEST; 16251 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B0446D5: mov byte ptr [ebp - 4], 5 */ 16252 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04470F; /* 0x2B0446D9: je 0x2b04470f */ 16253 L_2B0446DB: 16254 ecx = MEM32(ebx + 0x8); /* 0x2B0446DB: mov ecx, dword ptr [ebx + 8] */ 16255 eax = MEM32(ebp + (-0x18)); /* 0x2B0446DE: mov eax, dword ptr [ebp - 0x18] */ 16256 PUSH32(esp, ecx); /* 0x2B0446E1: push ecx */ 16257 ecx = MEM32(ebp + (-0x1C)); /* 0x2B0446E2: mov ecx, dword ptr [ebp - 0x1c] */ 16258 PUSH32(esp, 4); /* 0x2B0446E5: push 4 */ 16259 PUSH32(esp, 0); /* 0x2B0446E7: push 0 */ 16260 edx = esi + 0x1; /* 0x2B0446E9: lea edx, [esi + 1] */ 16261 PUSH32(esp, edx); /* 0x2B0446EC: push edx */ 16262 edx = MEM32(ebp + (-0x20)); /* 0x2B0446ED: mov edx, dword ptr [ebp - 0x20] */ 16263 PUSH32(esp, 0); /* 0x2B0446F0: push 0 */ 16264 PUSH32(esp, 0); /* 0x2B0446F2: push 0 */ 16265 PUSH32(esp, 0); /* 0x2B0446F4: push 0 */ 16266 PUSH32(esp, eax); /* 0x2B0446F6: push eax */ 16267 eax = MEM32(ebp + (-0x24)); /* 0x2B0446F7: mov eax, dword ptr [ebp - 0x24] */ 16268 PUSH32(esp, ecx); /* 0x2B0446FA: push ecx */ 16269 PUSH32(esp, edx); /* 0x2B0446FB: push edx */ 16270 PUSH32(esp, eax); /* 0x2B0446FC: push eax */ 16271 ecx = edi; /* 0x2B0446FD: mov ecx, edi */ 16272 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B0446FF: call dword ptr [0x2b0b5af0] */ 16273 RECOMP_FLAGS_IN(); 16274 MEM32(edi) = 0x2B0B642Cu; /* 0x2B044705: mov dword ptr [edi], 0x2b0b642c */ 16275 eax = edi; /* 0x2B04470B: mov eax, edi */ 16276 goto L_2B044711; /* 0x2B04470D: jmp 0x2b044711 */ 16277 L_2B04470F: 16278 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16279 eax = 0; /* 0x2B04470F: xor eax, eax */ 16280 _cf = 0; 16281 _flag_k = FK_TEST; 16282 L_2B044711: 16283 MEM32(ebx + 0x20) = eax; /* 0x2B044711: mov dword ptr [ebx + 0x20], eax */ 16284 PUSH32(esp, 0x64u); /* 0x2B044714: push 0x64 */ 16285 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B044716: mov byte ptr [ebp - 4], 0 */ 16286 MEM32(eax + 0x7C) = 0x2B045380u; /* 0x2B04471A: mov dword ptr [eax + 0x7c], 0x2b045380 */ 16287 MEM32(eax + 0x80) = ebx; /* 0x2B044721: mov dword ptr [eax + 0x80], ebx */ 16288 MEM8(eax + 0x24) = (uint8_t)(1); /* 0x2B044727: mov byte ptr [eax + 0x24], 1 */ 16289 MEM8(eax + 0x25) = (uint8_t)(1); /* 0x2B04472B: mov byte ptr [eax + 0x25], 1 */ 16290 RECOMP_ICALL(0x2B0AB212u); /* 0x2B04472F: call 0x2b0ab212 */ /* not lifted */ 16291 RECOMP_FLAGS_IN(); 16292 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16293 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16294 esp = esp + 4; /* 0x2B044734: add esp, 4 */ 16295 _flag_k = FK_ADD; 16296 MEM32(ebp + 0x10) = eax; /* 0x2B044737: mov dword ptr [ebp + 0x10], eax */ 16297 /* test eax, eax */ /* 0x2B04473A: test eax, eax */ 16298 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 16299 _cf = 0; 16300 _flag_k = FK_TEST; 16301 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B04473C: mov byte ptr [ebp - 4], 6 */ 16302 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04476F; /* 0x2B044740: je 0x2b04476f */ 16303 L_2B044742: 16304 ecx = MEM32(ebx + 0x8); /* 0x2B044742: mov ecx, dword ptr [ebx + 8] */ 16305 PUSH32(esp, ecx); /* 0x2B044745: push ecx */ 16306 PUSH32(esp, 0); /* 0x2B044746: push 0 */ 16307 PUSH32(esp, 0x30u); /* 0x2B044748: push 0x30 */ 16308 PUSH32(esp, 0); /* 0x2B04474A: push 0 */ 16309 edx = esi + 0x2; /* 0x2B04474C: lea edx, [esi + 2] */ 16310 PUSH32(esp, edx); /* 0x2B04474F: push edx */ 16311 PUSH32(esp, 0x68u); /* 0x2B044750: push 0x68 */ 16312 PUSH32(esp, 0xFFFFFFFEu); /* 0x2B044752: push -2 */ 16313 PUSH32(esp, 0x9Fu); /* 0x2B044754: push 0x9f */ 16314 PUSH32(esp, 0x36u); /* 0x2B044759: push 0x36 */ 16315 PUSH32(esp, 0x36u); /* 0x2B04475B: push 0x36 */ 16316 PUSH32(esp, 2); /* 0x2B04475D: push 2 */ 16317 PUSH32(esp, 3); /* 0x2B04475F: push 3 */ 16318 ecx = ebp + (-0x24); /* 0x2B044761: lea ecx, [ebp - 0x24] */ 16319 PUSH32(esp, ecx); /* 0x2B044764: push ecx */ 16320 ecx = eax; /* 0x2B044765: mov ecx, eax */ 16321 RECOMP_ICALL(MEM32(0x2B0B58F8)); /* 0x2B044767: call dword ptr [0x2b0b58f8] */ 16322 RECOMP_FLAGS_IN(); 16323 goto L_2B044771; /* 0x2B04476D: jmp 0x2b044771 */ 16324 L_2B04476F: 16325 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16326 eax = 0; /* 0x2B04476F: xor eax, eax */ 16327 _cf = 0; 16328 _flag_k = FK_TEST; 16329 L_2B044771: 16330 MEM32(ebx + 0x14) = eax; /* 0x2B044771: mov dword ptr [ebx + 0x14], eax */ 16331 MEM32(eax + 0x5C) = 0x2B045310u; /* 0x2B044774: mov dword ptr [eax + 0x5c], 0x2b045310 */ 16332 MEM32(eax + 0x60) = ebx; /* 0x2B04477B: mov dword ptr [eax + 0x60], ebx */ 16333 edx = MEM32(ebx + 0x10); /* 0x2B04477E: mov edx, dword ptr [ebx + 0x10] */ 16334 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16335 eax = 0; /* 0x2B044781: xor eax, eax */ 16336 _cf = 0; 16337 _flag_k = FK_TEST; 16338 ecx = 0xCu; /* 0x2B044783: mov ecx, 0xc */ 16339 edi = ebp + (-0x64); /* 0x2B044788: lea edi, [ebp - 0x64] */ 16340 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B04478B: 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; } 16341 eax = MEM32(edx + 0x14); /* 0x2B04478D: mov eax, dword ptr [edx + 0x14] */ 16342 eax = MEM32(eax + 0xC); /* 0x2B044790: mov eax, dword ptr [eax + 0xc] */ 16343 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFu); 16344 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16345 eax = eax - 0xFu; /* 0x2B044793: sub eax, 0xf */ 16346 _flag_k = FK_CMP; 16347 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 16348 esi = esi + 1; /* 0x2B044796: inc esi */ 16349 _flag_k = FK_INC; 16350 PUSH32(esp, 0xBCu); /* 0x2B044797: push 0xbc */ 16351 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B04479C: mov byte ptr [ebp - 4], 0 */ 16352 MEM32(ebp + (-0x54)) = eax; /* 0x2B0447A0: mov dword ptr [ebp - 0x54], eax */ 16353 MEM32(ebp + (-0x50)) = 2; /* 0x2B0447A3: mov dword ptr [ebp - 0x50], 2 */ 16354 MEM32(ebp + (-0x58)) = 0x2B0E6EE8u; /* 0x2B0447AA: mov dword ptr [ebp - 0x58], 0x2b0e6ee8 */ 16355 MEM32(ebp + (-0x4C)) = esi; /* 0x2B0447B1: mov dword ptr [ebp - 0x4c], esi */ 16356 MEM32(ebp + (-0x44)) = 0x47u; /* 0x2B0447B4: mov dword ptr [ebp - 0x44], 0x47 */ 16357 MEM32(ebp + (-0x40)) = 0x48u; /* 0x2B0447BB: mov dword ptr [ebp - 0x40], 0x48 */ 16358 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0447C2: call 0x2b0ab212 */ /* not lifted */ 16359 RECOMP_FLAGS_IN(); 16360 edi = eax; /* 0x2B0447C7: mov edi, eax */ 16361 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16362 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16363 esp = esp + 4; /* 0x2B0447C9: add esp, 4 */ 16364 _flag_k = FK_ADD; 16365 MEM32(ebp + 0x10) = edi; /* 0x2B0447CC: mov dword ptr [ebp + 0x10], edi */ 16366 /* test edi, edi */ /* 0x2B0447CF: test edi, edi */ 16367 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16368 _cf = 0; 16369 _flag_k = FK_TEST; 16370 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B0447D1: mov byte ptr [ebp - 4], 7 */ 16371 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0447F1; /* 0x2B0447D5: je 0x2b0447f1 */ 16372 L_2B0447D7: 16373 ecx = MEM32(ebx + 0x8); /* 0x2B0447D7: mov ecx, dword ptr [ebx + 8] */ 16374 PUSH32(esp, ecx); /* 0x2B0447DA: push ecx */ 16375 edx = ebp + (-0x64); /* 0x2B0447DB: lea edx, [ebp - 0x64] */ 16376 PUSH32(esp, edx); /* 0x2B0447DE: push edx */ 16377 ecx = edi; /* 0x2B0447DF: mov ecx, edi */ 16378 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B0447E1: call dword ptr [0x2b0b5afc] */ 16379 RECOMP_FLAGS_IN(); 16380 MEM32(edi) = 0x2B0B645Cu; /* 0x2B0447E7: mov dword ptr [edi], 0x2b0b645c */ 16381 ecx = edi; /* 0x2B0447ED: mov ecx, edi */ 16382 goto L_2B0447F3; /* 0x2B0447EF: jmp 0x2b0447f3 */ 16383 L_2B0447F1: 16384 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16385 ecx = 0; /* 0x2B0447F1: xor ecx, ecx */ 16386 _cf = 0; 16387 _flag_k = FK_TEST; 16388 L_2B0447F3: 16389 PUSH32(esp, ebx); /* 0x2B0447F3: push ebx */ 16390 PUSH32(esp, 0x2B0453B0u); /* 0x2B0447F4: push 0x2b0453b0 */ 16391 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B0447F9: mov byte ptr [ebp - 4], 0 */ 16392 MEM32(ebx + 0x24) = ecx; /* 0x2B0447FD: mov dword ptr [ebx + 0x24], ecx */ 16393 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B044800: call dword ptr [0x2b0b5af8] */ 16394 RECOMP_FLAGS_IN(); 16395 PUSH32(esp, 0x50u); /* 0x2B044806: push 0x50 */ 16396 RECOMP_ICALL(0x2B0AB212u); /* 0x2B044808: call 0x2b0ab212 */ /* not lifted */ 16397 RECOMP_FLAGS_IN(); 16398 edi = eax; /* 0x2B04480D: mov edi, eax */ 16399 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16400 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16401 esp = esp + 4; /* 0x2B04480F: add esp, 4 */ 16402 _flag_k = FK_ADD; 16403 MEM32(ebp + 0x10) = edi; /* 0x2B044812: mov dword ptr [ebp + 0x10], edi */ 16404 /* test edi, edi */ /* 0x2B044815: test edi, edi */ 16405 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16406 _cf = 0; 16407 _flag_k = FK_TEST; 16408 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B044817: mov byte ptr [ebp - 4], 8 */ 16409 if (TEST_Z(_flag_a, _flag_b)) goto L_2B044848; /* 0x2B04481B: je 0x2b044848 */ 16410 L_2B04481D: 16411 eax = MEM32(ebx + 0x8); /* 0x2B04481D: mov eax, dword ptr [ebx + 8] */ 16412 ecx = MEM32(ebp + (-0x20)); /* 0x2B044820: mov ecx, dword ptr [ebp - 0x20] */ 16413 edx = MEM32(ebp + (-0x24)); /* 0x2B044823: mov edx, dword ptr [ebp - 0x24] */ 16414 PUSH32(esp, eax); /* 0x2B044826: push eax */ 16415 PUSH32(esp, 0x80u); /* 0x2B044827: push 0x80 */ 16416 PUSH32(esp, ecx); /* 0x2B04482C: push ecx */ 16417 PUSH32(esp, edx); /* 0x2B04482D: push edx */ 16418 PUSH32(esp, esi); /* 0x2B04482E: push esi */ 16419 PUSH32(esp, 0x2B0EE648u); /* 0x2B04482F: push 0x2b0ee648 */ 16420 PUSH32(esp, 1); /* 0x2B044834: push 1 */ 16421 ecx = edi; /* 0x2B044836: mov ecx, edi */ 16422 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B044838: call dword ptr [0x2b0b5950] */ 16423 RECOMP_FLAGS_IN(); 16424 MEM32(edi) = 0x2B0B6878u; /* 0x2B04483E: mov dword ptr [edi], 0x2b0b6878 */ 16425 eax = edi; /* 0x2B044844: mov eax, edi */ 16426 goto L_2B04484A; /* 0x2B044846: jmp 0x2b04484a */ 16427 L_2B044848: 16428 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16429 eax = 0; /* 0x2B044848: xor eax, eax */ 16430 _cf = 0; 16431 _flag_k = FK_TEST; 16432 L_2B04484A: 16433 MEM32(ebx + 0xC) = eax; /* 0x2B04484A: mov dword ptr [ebx + 0xc], eax */ 16434 eax = MEM32(eax + 0x34); /* 0x2B04484D: mov eax, dword ptr [eax + 0x34] */ 16435 ecx = 0xEu; /* 0x2B044850: mov ecx, 0xe */ 16436 MEM32(eax) = ecx; /* 0x2B044855: mov dword ptr [eax], ecx */ 16437 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16438 edx = 0; /* 0x2B044857: xor edx, edx */ 16439 _cf = 0; 16440 _flag_k = FK_TEST; 16441 MEM32(eax + 0x4) = edx; /* 0x2B044859: mov dword ptr [eax + 4], edx */ 16442 esi = 0x50u; /* 0x2B04485C: mov esi, 0x50 */ 16443 MEM32(eax + 0x8) = esi; /* 0x2B044861: mov dword ptr [eax + 8], esi */ 16444 edi = 0xDu; /* 0x2B044864: mov edi, 0xd */ 16445 MEM32(eax + 0xC) = edi; /* 0x2B044869: mov dword ptr [eax + 0xc], edi */ 16446 ecx = MEM32(ebx + 0xC); /* 0x2B04486C: mov ecx, dword ptr [ebx + 0xc] */ 16447 PUSH32(esp, 5); /* 0x2B04486F: push 5 */ 16448 PUSH32(esp, 0x5Cu); /* 0x2B044871: push 0x5c */ 16449 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B044873: mov byte ptr [ebp - 4], 0 */ 16450 MEM32(ebp + (-0x24)) = 0x5Cu; /* 0x2B044877: mov dword ptr [ebp - 0x24], 0x5c */ 16451 MEM32(ebp + (-0x20)) = 5; /* 0x2B04487E: mov dword ptr [ebp - 0x20], 5 */ 16452 RECOMP_ICALL(MEM32(0x2B0B5924)); /* 0x2B044885: call dword ptr [0x2b0b5924] */ 16453 RECOMP_FLAGS_IN(); 16454 ecx = ebx; /* 0x2B04488B: mov ecx, ebx */ 16455 RECOMP_ICALL(0x2B044A40u); /* 0x2B04488D: call 0x2b044a40 */ /* not lifted */ 16456 RECOMP_FLAGS_IN(); 16457 ecx = MEM32(ebp + (-0xC)); /* 0x2B044892: mov ecx, dword ptr [ebp - 0xc] */ 16458 edi = POP32_VAL(esp); /* 0x2B044895: pop edi */ 16459 esi = POP32_VAL(esp); /* 0x2B044896: pop esi */ 16460 eax = ebx; /* 0x2B044897: mov eax, ebx */ 16461 MEM32(FS_BASE + (0)) = ecx; /* 0x2B044899: mov dword ptr fs:[0], ecx */ 16462 ebx = POP32_VAL(esp); /* 0x2B0448A0: pop ebx */ 16463 esp = ebp; /* 0x2B0448A1: mov esp, ebp */ 16464 ebp = POP32_VAL(esp); /* 0x2B0448A3: pop ebp */ 16465 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B0448A4: ret 0xc */ 16466 RECOMP_REGS_OUT(); 16467 } 16468 16469 void sub_2B0445D8(void) { 16470 int _fpu_cmp = 0; 16471 uint32_t _cf = 0; 16472 int _df = 1; 16473 uint32_t _flag_k = FK_NONE; 16474 uint32_t _flag_a = 0, _flag_b = 0; 16475 uint32_t _itail_tgt = 0; 16476 RECOMP_REGS_LOCALS 16477 RECOMP_ENTER(0x2B0445D8u); 16478 16479 L_2B0445D8: 16480 MEM32(ebx + 0x10) = eax; /* 0x2B0445D8: mov dword ptr [ebx + 0x10], eax */ 16481 ecx = MEM32(eax + 0x14); /* 0x2B0445DB: mov ecx, dword ptr [eax + 0x14] */ 16482 edx = MEM32(ecx + 0xC); /* 0x2B0445DE: mov edx, dword ptr [ecx + 0xc] */ 16483 MEM32(ebp + (-0x1C)) = edx; /* 0x2B0445E1: mov dword ptr [ebp - 0x1c], edx */ 16484 eax = MEM32(eax + 0x14); /* 0x2B0445E4: mov eax, dword ptr [eax + 0x14] */ 16485 eax = MEM32(eax + 0x8); /* 0x2B0445E7: mov eax, dword ptr [eax + 8] */ 16486 ecx = ebp + (-0x1C); /* 0x2B0445EA: lea ecx, [ebp - 0x1c] */ 16487 PUSH32(esp, ecx); /* 0x2B0445ED: push ecx */ 16488 ecx = MEM32(ebx + 0x8); /* 0x2B0445EE: mov ecx, dword ptr [ebx + 8] */ 16489 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B0445F1: mov byte ptr [ebp - 4], 0 */ 16490 MEM32(ebp + (-0x18)) = eax; /* 0x2B0445F5: mov dword ptr [ebp - 0x18], eax */ 16491 RECOMP_ICALL(MEM32(0x2B0B5978)); /* 0x2B0445F8: call dword ptr [0x2b0b5978] */ 16492 RECOMP_FLAGS_IN(); 16493 edx = MEM32(ebp + (-0x1C)); /* 0x2B0445FE: mov edx, dword ptr [ebp - 0x1c] */ 16494 eax = MEM32(ebp + (-0x18)); /* 0x2B044601: mov eax, dword ptr [ebp - 0x18] */ 16495 PUSH32(esp, 0x70u); /* 0x2B044604: push 0x70 */ 16496 MEM32(ebp + (-0x2C)) = edx; /* 0x2B044606: mov dword ptr [ebp - 0x2c], edx */ 16497 MEM32(ebp + (-0x28)) = eax; /* 0x2B044609: mov dword ptr [ebp - 0x28], eax */ 16498 RECOMP_ICALL(0x2B0AB212u); /* 0x2B04460C: call 0x2b0ab212 */ /* not lifted */ 16499 RECOMP_FLAGS_IN(); 16500 edi = eax; /* 0x2B044611: mov edi, eax */ 16501 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16502 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16503 esp = esp + 4; /* 0x2B044613: add esp, 4 */ 16504 _flag_k = FK_ADD; 16505 MEM32(ebp + 0x10) = edi; /* 0x2B044616: mov dword ptr [ebp + 0x10], edi */ 16506 /* test edi, edi */ /* 0x2B044619: test edi, edi */ 16507 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16508 _cf = 0; 16509 _flag_k = FK_TEST; 16510 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B04461B: mov byte ptr [ebp - 4], 3 */ 16511 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04465F; /* 0x2B04461F: je 0x2b04465f */ 16512 L_2B044621: 16513 ecx = MEM32(ebx + 0x8); /* 0x2B044621: mov ecx, dword ptr [ebx + 8] */ 16514 edx = MEM32(ebp + 0x8); /* 0x2B044624: mov edx, dword ptr [ebp + 8] */ 16515 PUSH32(esp, ecx); /* 0x2B044627: push ecx */ 16516 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B044628: push -1 */ 16517 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B04462A: push -1 */ 16518 PUSH32(esp, edx); /* 0x2B04462C: push edx */ 16519 edx = MEM32(ebp + (-0x2C)); /* 0x2B04462D: mov edx, dword ptr [ebp - 0x2c] */ 16520 PUSH32(esp, 0); /* 0x2B044630: push 0 */ 16521 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 16522 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16523 esp = esp - 0x10u; /* 0x2B044632: sub esp, 0x10 */ 16524 _flag_k = FK_CMP; 16525 ecx = esp; /* 0x2B044635: mov ecx, esp */ 16526 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16527 eax = 0; /* 0x2B044637: xor eax, eax */ 16528 _cf = 0; 16529 _flag_k = FK_TEST; 16530 MEM32(ecx) = eax; /* 0x2B044639: mov dword ptr [ecx], eax */ 16531 MEM32(ecx + 0x4) = eax; /* 0x2B04463B: mov dword ptr [ecx + 4], eax */ 16532 eax = MEM32(ebp + (-0x28)); /* 0x2B04463E: mov eax, dword ptr [ebp - 0x28] */ 16533 MEM32(ecx + 0x8) = edx; /* 0x2B044641: mov dword ptr [ecx + 8], edx */ 16534 MEM32(ecx + 0xC) = eax; /* 0x2B044644: mov dword ptr [ecx + 0xc], eax */ 16535 ecx = esi + 0x1; /* 0x2B044647: lea ecx, [esi + 1] */ 16536 PUSH32(esp, ecx); /* 0x2B04464A: push ecx */ 16537 PUSH32(esp, 0); /* 0x2B04464B: push 0 */ 16538 PUSH32(esp, 0); /* 0x2B04464D: push 0 */ 16539 ecx = edi; /* 0x2B04464F: mov ecx, edi */ 16540 RECOMP_ICALL(MEM32(0x2B0B5C00)); /* 0x2B044651: call dword ptr [0x2b0b5c00] */ 16541 RECOMP_FLAGS_IN(); 16542 MEM32(edi) = 0x2B0B6164u; /* 0x2B044657: mov dword ptr [edi], 0x2b0b6164 */ 16543 goto L_2B044661; /* 0x2B04465D: jmp 0x2b044661 */ 16544 L_2B04465F: 16545 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16546 edi = 0; /* 0x2B04465F: xor edi, edi */ 16547 _cf = 0; 16548 _flag_k = FK_TEST; 16549 L_2B044661: 16550 PUSH32(esp, 0x9Cu); /* 0x2B044661: push 0x9c */ 16551 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B044666: mov byte ptr [ebp - 4], 0 */ 16552 MEM32(ebx + 0x18) = edi; /* 0x2B04466A: mov dword ptr [ebx + 0x18], edi */ 16553 RECOMP_ICALL(0x2B0AB212u); /* 0x2B04466D: call 0x2b0ab212 */ /* not lifted */ 16554 RECOMP_FLAGS_IN(); 16555 edi = eax; /* 0x2B044672: mov edi, eax */ 16556 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16557 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16558 esp = esp + 4; /* 0x2B044674: add esp, 4 */ 16559 _flag_k = FK_ADD; 16560 MEM32(ebp + 0x10) = edi; /* 0x2B044677: mov dword ptr [ebp + 0x10], edi */ 16561 /* test edi, edi */ /* 0x2B04467A: test edi, edi */ 16562 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16563 _cf = 0; 16564 _flag_k = FK_TEST; 16565 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B04467C: mov byte ptr [ebp - 4], 4 */ 16566 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0446B1; /* 0x2B044680: je 0x2b0446b1 */ 16567 L_2B044682: 16568 edx = MEM32(ebx + 0x8); /* 0x2B044682: mov edx, dword ptr [ebx + 8] */ 16569 eax = MEM32(ebp + (-0x18)); /* 0x2B044685: mov eax, dword ptr [ebp - 0x18] */ 16570 ecx = MEM32(ebp + (-0x1C)); /* 0x2B044688: mov ecx, dword ptr [ebp - 0x1c] */ 16571 PUSH32(esp, edx); /* 0x2B04468B: push edx */ 16572 edx = MEM32(ebp + (-0x20)); /* 0x2B04468C: mov edx, dword ptr [ebp - 0x20] */ 16573 PUSH32(esp, 4); /* 0x2B04468F: push 4 */ 16574 PUSH32(esp, 0); /* 0x2B044691: push 0 */ 16575 PUSH32(esp, esi); /* 0x2B044693: push esi */ 16576 PUSH32(esp, 0); /* 0x2B044694: push 0 */ 16577 PUSH32(esp, 0); /* 0x2B044696: push 0 */ 16578 PUSH32(esp, 0); /* 0x2B044698: push 0 */ 16579 PUSH32(esp, eax); /* 0x2B04469A: push eax */ 16580 eax = MEM32(ebp + (-0x24)); /* 0x2B04469B: mov eax, dword ptr [ebp - 0x24] */ 16581 PUSH32(esp, ecx); /* 0x2B04469E: push ecx */ 16582 PUSH32(esp, edx); /* 0x2B04469F: push edx */ 16583 PUSH32(esp, eax); /* 0x2B0446A0: push eax */ 16584 ecx = edi; /* 0x2B0446A1: mov ecx, edi */ 16585 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B0446A3: call dword ptr [0x2b0b5af0] */ 16586 RECOMP_FLAGS_IN(); 16587 MEM32(edi) = 0x2B0B642Cu; /* 0x2B0446A9: mov dword ptr [edi], 0x2b0b642c */ 16588 goto L_2B0446B3; /* 0x2B0446AF: jmp 0x2b0446b3 */ 16589 L_2B0446B1: 16590 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16591 edi = 0; /* 0x2B0446B1: xor edi, edi */ 16592 _cf = 0; 16593 _flag_k = FK_TEST; 16594 L_2B0446B3: 16595 PUSH32(esp, 0x9Cu); /* 0x2B0446B3: push 0x9c */ 16596 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B0446B8: mov byte ptr [ebp - 4], 0 */ 16597 MEM32(ebx + 0x1C) = edi; /* 0x2B0446BC: mov dword ptr [ebx + 0x1c], edi */ 16598 MEM32(ebp + (-0x18)) = 0x10u; /* 0x2B0446BF: mov dword ptr [ebp - 0x18], 0x10 */ 16599 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0446C6: call 0x2b0ab212 */ /* not lifted */ 16600 RECOMP_FLAGS_IN(); 16601 edi = eax; /* 0x2B0446CB: mov edi, eax */ 16602 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16603 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16604 esp = esp + 4; /* 0x2B0446CD: add esp, 4 */ 16605 _flag_k = FK_ADD; 16606 MEM32(ebp + 0x10) = edi; /* 0x2B0446D0: mov dword ptr [ebp + 0x10], edi */ 16607 /* test edi, edi */ /* 0x2B0446D3: test edi, edi */ 16608 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16609 _cf = 0; 16610 _flag_k = FK_TEST; 16611 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B0446D5: mov byte ptr [ebp - 4], 5 */ 16612 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04470F; /* 0x2B0446D9: je 0x2b04470f */ 16613 L_2B0446DB: 16614 ecx = MEM32(ebx + 0x8); /* 0x2B0446DB: mov ecx, dword ptr [ebx + 8] */ 16615 eax = MEM32(ebp + (-0x18)); /* 0x2B0446DE: mov eax, dword ptr [ebp - 0x18] */ 16616 PUSH32(esp, ecx); /* 0x2B0446E1: push ecx */ 16617 ecx = MEM32(ebp + (-0x1C)); /* 0x2B0446E2: mov ecx, dword ptr [ebp - 0x1c] */ 16618 PUSH32(esp, 4); /* 0x2B0446E5: push 4 */ 16619 PUSH32(esp, 0); /* 0x2B0446E7: push 0 */ 16620 edx = esi + 0x1; /* 0x2B0446E9: lea edx, [esi + 1] */ 16621 PUSH32(esp, edx); /* 0x2B0446EC: push edx */ 16622 edx = MEM32(ebp + (-0x20)); /* 0x2B0446ED: mov edx, dword ptr [ebp - 0x20] */ 16623 PUSH32(esp, 0); /* 0x2B0446F0: push 0 */ 16624 PUSH32(esp, 0); /* 0x2B0446F2: push 0 */ 16625 PUSH32(esp, 0); /* 0x2B0446F4: push 0 */ 16626 PUSH32(esp, eax); /* 0x2B0446F6: push eax */ 16627 eax = MEM32(ebp + (-0x24)); /* 0x2B0446F7: mov eax, dword ptr [ebp - 0x24] */ 16628 PUSH32(esp, ecx); /* 0x2B0446FA: push ecx */ 16629 PUSH32(esp, edx); /* 0x2B0446FB: push edx */ 16630 PUSH32(esp, eax); /* 0x2B0446FC: push eax */ 16631 ecx = edi; /* 0x2B0446FD: mov ecx, edi */ 16632 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B0446FF: call dword ptr [0x2b0b5af0] */ 16633 RECOMP_FLAGS_IN(); 16634 MEM32(edi) = 0x2B0B642Cu; /* 0x2B044705: mov dword ptr [edi], 0x2b0b642c */ 16635 eax = edi; /* 0x2B04470B: mov eax, edi */ 16636 goto L_2B044711; /* 0x2B04470D: jmp 0x2b044711 */ 16637 L_2B04470F: 16638 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16639 eax = 0; /* 0x2B04470F: xor eax, eax */ 16640 _cf = 0; 16641 _flag_k = FK_TEST; 16642 L_2B044711: 16643 MEM32(ebx + 0x20) = eax; /* 0x2B044711: mov dword ptr [ebx + 0x20], eax */ 16644 PUSH32(esp, 0x64u); /* 0x2B044714: push 0x64 */ 16645 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B044716: mov byte ptr [ebp - 4], 0 */ 16646 MEM32(eax + 0x7C) = 0x2B045380u; /* 0x2B04471A: mov dword ptr [eax + 0x7c], 0x2b045380 */ 16647 MEM32(eax + 0x80) = ebx; /* 0x2B044721: mov dword ptr [eax + 0x80], ebx */ 16648 MEM8(eax + 0x24) = (uint8_t)(1); /* 0x2B044727: mov byte ptr [eax + 0x24], 1 */ 16649 MEM8(eax + 0x25) = (uint8_t)(1); /* 0x2B04472B: mov byte ptr [eax + 0x25], 1 */ 16650 RECOMP_ICALL(0x2B0AB212u); /* 0x2B04472F: call 0x2b0ab212 */ /* not lifted */ 16651 RECOMP_FLAGS_IN(); 16652 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16653 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16654 esp = esp + 4; /* 0x2B044734: add esp, 4 */ 16655 _flag_k = FK_ADD; 16656 MEM32(ebp + 0x10) = eax; /* 0x2B044737: mov dword ptr [ebp + 0x10], eax */ 16657 /* test eax, eax */ /* 0x2B04473A: test eax, eax */ 16658 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 16659 _cf = 0; 16660 _flag_k = FK_TEST; 16661 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B04473C: mov byte ptr [ebp - 4], 6 */ 16662 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04476F; /* 0x2B044740: je 0x2b04476f */ 16663 L_2B044742: 16664 ecx = MEM32(ebx + 0x8); /* 0x2B044742: mov ecx, dword ptr [ebx + 8] */ 16665 PUSH32(esp, ecx); /* 0x2B044745: push ecx */ 16666 PUSH32(esp, 0); /* 0x2B044746: push 0 */ 16667 PUSH32(esp, 0x30u); /* 0x2B044748: push 0x30 */ 16668 PUSH32(esp, 0); /* 0x2B04474A: push 0 */ 16669 edx = esi + 0x2; /* 0x2B04474C: lea edx, [esi + 2] */ 16670 PUSH32(esp, edx); /* 0x2B04474F: push edx */ 16671 PUSH32(esp, 0x68u); /* 0x2B044750: push 0x68 */ 16672 PUSH32(esp, 0xFFFFFFFEu); /* 0x2B044752: push -2 */ 16673 PUSH32(esp, 0x9Fu); /* 0x2B044754: push 0x9f */ 16674 PUSH32(esp, 0x36u); /* 0x2B044759: push 0x36 */ 16675 PUSH32(esp, 0x36u); /* 0x2B04475B: push 0x36 */ 16676 PUSH32(esp, 2); /* 0x2B04475D: push 2 */ 16677 PUSH32(esp, 3); /* 0x2B04475F: push 3 */ 16678 ecx = ebp + (-0x24); /* 0x2B044761: lea ecx, [ebp - 0x24] */ 16679 PUSH32(esp, ecx); /* 0x2B044764: push ecx */ 16680 ecx = eax; /* 0x2B044765: mov ecx, eax */ 16681 RECOMP_ICALL(MEM32(0x2B0B58F8)); /* 0x2B044767: call dword ptr [0x2b0b58f8] */ 16682 RECOMP_FLAGS_IN(); 16683 goto L_2B044771; /* 0x2B04476D: jmp 0x2b044771 */ 16684 L_2B04476F: 16685 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16686 eax = 0; /* 0x2B04476F: xor eax, eax */ 16687 _cf = 0; 16688 _flag_k = FK_TEST; 16689 L_2B044771: 16690 MEM32(ebx + 0x14) = eax; /* 0x2B044771: mov dword ptr [ebx + 0x14], eax */ 16691 MEM32(eax + 0x5C) = 0x2B045310u; /* 0x2B044774: mov dword ptr [eax + 0x5c], 0x2b045310 */ 16692 MEM32(eax + 0x60) = ebx; /* 0x2B04477B: mov dword ptr [eax + 0x60], ebx */ 16693 edx = MEM32(ebx + 0x10); /* 0x2B04477E: mov edx, dword ptr [ebx + 0x10] */ 16694 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16695 eax = 0; /* 0x2B044781: xor eax, eax */ 16696 _cf = 0; 16697 _flag_k = FK_TEST; 16698 ecx = 0xCu; /* 0x2B044783: mov ecx, 0xc */ 16699 edi = ebp + (-0x64); /* 0x2B044788: lea edi, [ebp - 0x64] */ 16700 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B04478B: 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; } 16701 eax = MEM32(edx + 0x14); /* 0x2B04478D: mov eax, dword ptr [edx + 0x14] */ 16702 eax = MEM32(eax + 0xC); /* 0x2B044790: mov eax, dword ptr [eax + 0xc] */ 16703 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFu); 16704 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16705 eax = eax - 0xFu; /* 0x2B044793: sub eax, 0xf */ 16706 _flag_k = FK_CMP; 16707 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 16708 esi = esi + 1; /* 0x2B044796: inc esi */ 16709 _flag_k = FK_INC; 16710 PUSH32(esp, 0xBCu); /* 0x2B044797: push 0xbc */ 16711 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B04479C: mov byte ptr [ebp - 4], 0 */ 16712 MEM32(ebp + (-0x54)) = eax; /* 0x2B0447A0: mov dword ptr [ebp - 0x54], eax */ 16713 MEM32(ebp + (-0x50)) = 2; /* 0x2B0447A3: mov dword ptr [ebp - 0x50], 2 */ 16714 MEM32(ebp + (-0x58)) = 0x2B0E6EE8u; /* 0x2B0447AA: mov dword ptr [ebp - 0x58], 0x2b0e6ee8 */ 16715 MEM32(ebp + (-0x4C)) = esi; /* 0x2B0447B1: mov dword ptr [ebp - 0x4c], esi */ 16716 MEM32(ebp + (-0x44)) = 0x47u; /* 0x2B0447B4: mov dword ptr [ebp - 0x44], 0x47 */ 16717 MEM32(ebp + (-0x40)) = 0x48u; /* 0x2B0447BB: mov dword ptr [ebp - 0x40], 0x48 */ 16718 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0447C2: call 0x2b0ab212 */ /* not lifted */ 16719 RECOMP_FLAGS_IN(); 16720 edi = eax; /* 0x2B0447C7: mov edi, eax */ 16721 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16722 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16723 esp = esp + 4; /* 0x2B0447C9: add esp, 4 */ 16724 _flag_k = FK_ADD; 16725 MEM32(ebp + 0x10) = edi; /* 0x2B0447CC: mov dword ptr [ebp + 0x10], edi */ 16726 /* test edi, edi */ /* 0x2B0447CF: test edi, edi */ 16727 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16728 _cf = 0; 16729 _flag_k = FK_TEST; 16730 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B0447D1: mov byte ptr [ebp - 4], 7 */ 16731 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0447F1; /* 0x2B0447D5: je 0x2b0447f1 */ 16732 L_2B0447D7: 16733 ecx = MEM32(ebx + 0x8); /* 0x2B0447D7: mov ecx, dword ptr [ebx + 8] */ 16734 PUSH32(esp, ecx); /* 0x2B0447DA: push ecx */ 16735 edx = ebp + (-0x64); /* 0x2B0447DB: lea edx, [ebp - 0x64] */ 16736 PUSH32(esp, edx); /* 0x2B0447DE: push edx */ 16737 ecx = edi; /* 0x2B0447DF: mov ecx, edi */ 16738 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B0447E1: call dword ptr [0x2b0b5afc] */ 16739 RECOMP_FLAGS_IN(); 16740 MEM32(edi) = 0x2B0B645Cu; /* 0x2B0447E7: mov dword ptr [edi], 0x2b0b645c */ 16741 ecx = edi; /* 0x2B0447ED: mov ecx, edi */ 16742 goto L_2B0447F3; /* 0x2B0447EF: jmp 0x2b0447f3 */ 16743 L_2B0447F1: 16744 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16745 ecx = 0; /* 0x2B0447F1: xor ecx, ecx */ 16746 _cf = 0; 16747 _flag_k = FK_TEST; 16748 L_2B0447F3: 16749 PUSH32(esp, ebx); /* 0x2B0447F3: push ebx */ 16750 PUSH32(esp, 0x2B0453B0u); /* 0x2B0447F4: push 0x2b0453b0 */ 16751 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B0447F9: mov byte ptr [ebp - 4], 0 */ 16752 MEM32(ebx + 0x24) = ecx; /* 0x2B0447FD: mov dword ptr [ebx + 0x24], ecx */ 16753 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B044800: call dword ptr [0x2b0b5af8] */ 16754 RECOMP_FLAGS_IN(); 16755 PUSH32(esp, 0x50u); /* 0x2B044806: push 0x50 */ 16756 RECOMP_ICALL(0x2B0AB212u); /* 0x2B044808: call 0x2b0ab212 */ /* not lifted */ 16757 RECOMP_FLAGS_IN(); 16758 edi = eax; /* 0x2B04480D: mov edi, eax */ 16759 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16760 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16761 esp = esp + 4; /* 0x2B04480F: add esp, 4 */ 16762 _flag_k = FK_ADD; 16763 MEM32(ebp + 0x10) = edi; /* 0x2B044812: mov dword ptr [ebp + 0x10], edi */ 16764 /* test edi, edi */ /* 0x2B044815: test edi, edi */ 16765 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16766 _cf = 0; 16767 _flag_k = FK_TEST; 16768 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B044817: mov byte ptr [ebp - 4], 8 */ 16769 if (TEST_Z(_flag_a, _flag_b)) goto L_2B044848; /* 0x2B04481B: je 0x2b044848 */ 16770 L_2B04481D: 16771 eax = MEM32(ebx + 0x8); /* 0x2B04481D: mov eax, dword ptr [ebx + 8] */ 16772 ecx = MEM32(ebp + (-0x20)); /* 0x2B044820: mov ecx, dword ptr [ebp - 0x20] */ 16773 edx = MEM32(ebp + (-0x24)); /* 0x2B044823: mov edx, dword ptr [ebp - 0x24] */ 16774 PUSH32(esp, eax); /* 0x2B044826: push eax */ 16775 PUSH32(esp, 0x80u); /* 0x2B044827: push 0x80 */ 16776 PUSH32(esp, ecx); /* 0x2B04482C: push ecx */ 16777 PUSH32(esp, edx); /* 0x2B04482D: push edx */ 16778 PUSH32(esp, esi); /* 0x2B04482E: push esi */ 16779 PUSH32(esp, 0x2B0EE648u); /* 0x2B04482F: push 0x2b0ee648 */ 16780 PUSH32(esp, 1); /* 0x2B044834: push 1 */ 16781 ecx = edi; /* 0x2B044836: mov ecx, edi */ 16782 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B044838: call dword ptr [0x2b0b5950] */ 16783 RECOMP_FLAGS_IN(); 16784 MEM32(edi) = 0x2B0B6878u; /* 0x2B04483E: mov dword ptr [edi], 0x2b0b6878 */ 16785 eax = edi; /* 0x2B044844: mov eax, edi */ 16786 goto L_2B04484A; /* 0x2B044846: jmp 0x2b04484a */ 16787 L_2B044848: 16788 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16789 eax = 0; /* 0x2B044848: xor eax, eax */ 16790 _cf = 0; 16791 _flag_k = FK_TEST; 16792 L_2B04484A: 16793 MEM32(ebx + 0xC) = eax; /* 0x2B04484A: mov dword ptr [ebx + 0xc], eax */ 16794 eax = MEM32(eax + 0x34); /* 0x2B04484D: mov eax, dword ptr [eax + 0x34] */ 16795 ecx = 0xEu; /* 0x2B044850: mov ecx, 0xe */ 16796 MEM32(eax) = ecx; /* 0x2B044855: mov dword ptr [eax], ecx */ 16797 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16798 edx = 0; /* 0x2B044857: xor edx, edx */ 16799 _cf = 0; 16800 _flag_k = FK_TEST; 16801 MEM32(eax + 0x4) = edx; /* 0x2B044859: mov dword ptr [eax + 4], edx */ 16802 esi = 0x50u; /* 0x2B04485C: mov esi, 0x50 */ 16803 MEM32(eax + 0x8) = esi; /* 0x2B044861: mov dword ptr [eax + 8], esi */ 16804 edi = 0xDu; /* 0x2B044864: mov edi, 0xd */ 16805 MEM32(eax + 0xC) = edi; /* 0x2B044869: mov dword ptr [eax + 0xc], edi */ 16806 ecx = MEM32(ebx + 0xC); /* 0x2B04486C: mov ecx, dword ptr [ebx + 0xc] */ 16807 PUSH32(esp, 5); /* 0x2B04486F: push 5 */ 16808 PUSH32(esp, 0x5Cu); /* 0x2B044871: push 0x5c */ 16809 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B044873: mov byte ptr [ebp - 4], 0 */ 16810 MEM32(ebp + (-0x24)) = 0x5Cu; /* 0x2B044877: mov dword ptr [ebp - 0x24], 0x5c */ 16811 MEM32(ebp + (-0x20)) = 5; /* 0x2B04487E: mov dword ptr [ebp - 0x20], 5 */ 16812 RECOMP_ICALL(MEM32(0x2B0B5924)); /* 0x2B044885: call dword ptr [0x2b0b5924] */ 16813 RECOMP_FLAGS_IN(); 16814 ecx = ebx; /* 0x2B04488B: mov ecx, ebx */ 16815 RECOMP_ICALL(0x2B044A40u); /* 0x2B04488D: call 0x2b044a40 */ /* not lifted */ 16816 RECOMP_FLAGS_IN(); 16817 ecx = MEM32(ebp + (-0xC)); /* 0x2B044892: mov ecx, dword ptr [ebp - 0xc] */ 16818 edi = POP32_VAL(esp); /* 0x2B044895: pop edi */ 16819 esi = POP32_VAL(esp); /* 0x2B044896: pop esi */ 16820 eax = ebx; /* 0x2B044897: mov eax, ebx */ 16821 MEM32(FS_BASE + (0)) = ecx; /* 0x2B044899: mov dword ptr fs:[0], ecx */ 16822 ebx = POP32_VAL(esp); /* 0x2B0448A0: pop ebx */ 16823 esp = ebp; /* 0x2B0448A1: mov esp, ebp */ 16824 ebp = POP32_VAL(esp); /* 0x2B0448A3: pop ebp */ 16825 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B0448A4: ret 0xc */ 16826 RECOMP_REGS_OUT(); 16827 } 16828 16829 void sub_2B044661(void) { 16830 int _fpu_cmp = 0; 16831 uint32_t _cf = 0; 16832 int _df = 1; 16833 uint32_t _flag_k = FK_NONE; 16834 uint32_t _flag_a = 0, _flag_b = 0; 16835 uint32_t _itail_tgt = 0; 16836 RECOMP_REGS_LOCALS 16837 RECOMP_ENTER(0x2B044661u); 16838 16839 L_2B044661: 16840 PUSH32(esp, 0x9Cu); /* 0x2B044661: push 0x9c */ 16841 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B044666: mov byte ptr [ebp - 4], 0 */ 16842 MEM32(ebx + 0x18) = edi; /* 0x2B04466A: mov dword ptr [ebx + 0x18], edi */ 16843 RECOMP_ICALL(0x2B0AB212u); /* 0x2B04466D: call 0x2b0ab212 */ /* not lifted */ 16844 RECOMP_FLAGS_IN(); 16845 edi = eax; /* 0x2B044672: mov edi, eax */ 16846 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16847 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16848 esp = esp + 4; /* 0x2B044674: add esp, 4 */ 16849 _flag_k = FK_ADD; 16850 MEM32(ebp + 0x10) = edi; /* 0x2B044677: mov dword ptr [ebp + 0x10], edi */ 16851 /* test edi, edi */ /* 0x2B04467A: test edi, edi */ 16852 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16853 _cf = 0; 16854 _flag_k = FK_TEST; 16855 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B04467C: mov byte ptr [ebp - 4], 4 */ 16856 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0446B1; /* 0x2B044680: je 0x2b0446b1 */ 16857 L_2B044682: 16858 edx = MEM32(ebx + 0x8); /* 0x2B044682: mov edx, dword ptr [ebx + 8] */ 16859 eax = MEM32(ebp + (-0x18)); /* 0x2B044685: mov eax, dword ptr [ebp - 0x18] */ 16860 ecx = MEM32(ebp + (-0x1C)); /* 0x2B044688: mov ecx, dword ptr [ebp - 0x1c] */ 16861 PUSH32(esp, edx); /* 0x2B04468B: push edx */ 16862 edx = MEM32(ebp + (-0x20)); /* 0x2B04468C: mov edx, dword ptr [ebp - 0x20] */ 16863 PUSH32(esp, 4); /* 0x2B04468F: push 4 */ 16864 PUSH32(esp, 0); /* 0x2B044691: push 0 */ 16865 PUSH32(esp, esi); /* 0x2B044693: push esi */ 16866 PUSH32(esp, 0); /* 0x2B044694: push 0 */ 16867 PUSH32(esp, 0); /* 0x2B044696: push 0 */ 16868 PUSH32(esp, 0); /* 0x2B044698: push 0 */ 16869 PUSH32(esp, eax); /* 0x2B04469A: push eax */ 16870 eax = MEM32(ebp + (-0x24)); /* 0x2B04469B: mov eax, dword ptr [ebp - 0x24] */ 16871 PUSH32(esp, ecx); /* 0x2B04469E: push ecx */ 16872 PUSH32(esp, edx); /* 0x2B04469F: push edx */ 16873 PUSH32(esp, eax); /* 0x2B0446A0: push eax */ 16874 ecx = edi; /* 0x2B0446A1: mov ecx, edi */ 16875 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B0446A3: call dword ptr [0x2b0b5af0] */ 16876 RECOMP_FLAGS_IN(); 16877 MEM32(edi) = 0x2B0B642Cu; /* 0x2B0446A9: mov dword ptr [edi], 0x2b0b642c */ 16878 goto L_2B0446B3; /* 0x2B0446AF: jmp 0x2b0446b3 */ 16879 L_2B0446B1: 16880 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16881 edi = 0; /* 0x2B0446B1: xor edi, edi */ 16882 _cf = 0; 16883 _flag_k = FK_TEST; 16884 L_2B0446B3: 16885 PUSH32(esp, 0x9Cu); /* 0x2B0446B3: push 0x9c */ 16886 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B0446B8: mov byte ptr [ebp - 4], 0 */ 16887 MEM32(ebx + 0x1C) = edi; /* 0x2B0446BC: mov dword ptr [ebx + 0x1c], edi */ 16888 MEM32(ebp + (-0x18)) = 0x10u; /* 0x2B0446BF: mov dword ptr [ebp - 0x18], 0x10 */ 16889 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0446C6: call 0x2b0ab212 */ /* not lifted */ 16890 RECOMP_FLAGS_IN(); 16891 edi = eax; /* 0x2B0446CB: mov edi, eax */ 16892 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16893 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16894 esp = esp + 4; /* 0x2B0446CD: add esp, 4 */ 16895 _flag_k = FK_ADD; 16896 MEM32(ebp + 0x10) = edi; /* 0x2B0446D0: mov dword ptr [ebp + 0x10], edi */ 16897 /* test edi, edi */ /* 0x2B0446D3: test edi, edi */ 16898 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16899 _cf = 0; 16900 _flag_k = FK_TEST; 16901 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B0446D5: mov byte ptr [ebp - 4], 5 */ 16902 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04470F; /* 0x2B0446D9: je 0x2b04470f */ 16903 L_2B0446DB: 16904 ecx = MEM32(ebx + 0x8); /* 0x2B0446DB: mov ecx, dword ptr [ebx + 8] */ 16905 eax = MEM32(ebp + (-0x18)); /* 0x2B0446DE: mov eax, dword ptr [ebp - 0x18] */ 16906 PUSH32(esp, ecx); /* 0x2B0446E1: push ecx */ 16907 ecx = MEM32(ebp + (-0x1C)); /* 0x2B0446E2: mov ecx, dword ptr [ebp - 0x1c] */ 16908 PUSH32(esp, 4); /* 0x2B0446E5: push 4 */ 16909 PUSH32(esp, 0); /* 0x2B0446E7: push 0 */ 16910 edx = esi + 0x1; /* 0x2B0446E9: lea edx, [esi + 1] */ 16911 PUSH32(esp, edx); /* 0x2B0446EC: push edx */ 16912 edx = MEM32(ebp + (-0x20)); /* 0x2B0446ED: mov edx, dword ptr [ebp - 0x20] */ 16913 PUSH32(esp, 0); /* 0x2B0446F0: push 0 */ 16914 PUSH32(esp, 0); /* 0x2B0446F2: push 0 */ 16915 PUSH32(esp, 0); /* 0x2B0446F4: push 0 */ 16916 PUSH32(esp, eax); /* 0x2B0446F6: push eax */ 16917 eax = MEM32(ebp + (-0x24)); /* 0x2B0446F7: mov eax, dword ptr [ebp - 0x24] */ 16918 PUSH32(esp, ecx); /* 0x2B0446FA: push ecx */ 16919 PUSH32(esp, edx); /* 0x2B0446FB: push edx */ 16920 PUSH32(esp, eax); /* 0x2B0446FC: push eax */ 16921 ecx = edi; /* 0x2B0446FD: mov ecx, edi */ 16922 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B0446FF: call dword ptr [0x2b0b5af0] */ 16923 RECOMP_FLAGS_IN(); 16924 MEM32(edi) = 0x2B0B642Cu; /* 0x2B044705: mov dword ptr [edi], 0x2b0b642c */ 16925 eax = edi; /* 0x2B04470B: mov eax, edi */ 16926 goto L_2B044711; /* 0x2B04470D: jmp 0x2b044711 */ 16927 L_2B04470F: 16928 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16929 eax = 0; /* 0x2B04470F: xor eax, eax */ 16930 _cf = 0; 16931 _flag_k = FK_TEST; 16932 L_2B044711: 16933 MEM32(ebx + 0x20) = eax; /* 0x2B044711: mov dword ptr [ebx + 0x20], eax */ 16934 PUSH32(esp, 0x64u); /* 0x2B044714: push 0x64 */ 16935 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B044716: mov byte ptr [ebp - 4], 0 */ 16936 MEM32(eax + 0x7C) = 0x2B045380u; /* 0x2B04471A: mov dword ptr [eax + 0x7c], 0x2b045380 */ 16937 MEM32(eax + 0x80) = ebx; /* 0x2B044721: mov dword ptr [eax + 0x80], ebx */ 16938 MEM8(eax + 0x24) = (uint8_t)(1); /* 0x2B044727: mov byte ptr [eax + 0x24], 1 */ 16939 MEM8(eax + 0x25) = (uint8_t)(1); /* 0x2B04472B: mov byte ptr [eax + 0x25], 1 */ 16940 RECOMP_ICALL(0x2B0AB212u); /* 0x2B04472F: call 0x2b0ab212 */ /* not lifted */ 16941 RECOMP_FLAGS_IN(); 16942 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16943 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16944 esp = esp + 4; /* 0x2B044734: add esp, 4 */ 16945 _flag_k = FK_ADD; 16946 MEM32(ebp + 0x10) = eax; /* 0x2B044737: mov dword ptr [ebp + 0x10], eax */ 16947 /* test eax, eax */ /* 0x2B04473A: test eax, eax */ 16948 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 16949 _cf = 0; 16950 _flag_k = FK_TEST; 16951 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B04473C: mov byte ptr [ebp - 4], 6 */ 16952 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04476F; /* 0x2B044740: je 0x2b04476f */ 16953 L_2B044742: 16954 ecx = MEM32(ebx + 0x8); /* 0x2B044742: mov ecx, dword ptr [ebx + 8] */ 16955 PUSH32(esp, ecx); /* 0x2B044745: push ecx */ 16956 PUSH32(esp, 0); /* 0x2B044746: push 0 */ 16957 PUSH32(esp, 0x30u); /* 0x2B044748: push 0x30 */ 16958 PUSH32(esp, 0); /* 0x2B04474A: push 0 */ 16959 edx = esi + 0x2; /* 0x2B04474C: lea edx, [esi + 2] */ 16960 PUSH32(esp, edx); /* 0x2B04474F: push edx */ 16961 PUSH32(esp, 0x68u); /* 0x2B044750: push 0x68 */ 16962 PUSH32(esp, 0xFFFFFFFEu); /* 0x2B044752: push -2 */ 16963 PUSH32(esp, 0x9Fu); /* 0x2B044754: push 0x9f */ 16964 PUSH32(esp, 0x36u); /* 0x2B044759: push 0x36 */ 16965 PUSH32(esp, 0x36u); /* 0x2B04475B: push 0x36 */ 16966 PUSH32(esp, 2); /* 0x2B04475D: push 2 */ 16967 PUSH32(esp, 3); /* 0x2B04475F: push 3 */ 16968 ecx = ebp + (-0x24); /* 0x2B044761: lea ecx, [ebp - 0x24] */ 16969 PUSH32(esp, ecx); /* 0x2B044764: push ecx */ 16970 ecx = eax; /* 0x2B044765: mov ecx, eax */ 16971 RECOMP_ICALL(MEM32(0x2B0B58F8)); /* 0x2B044767: call dword ptr [0x2b0b58f8] */ 16972 RECOMP_FLAGS_IN(); 16973 goto L_2B044771; /* 0x2B04476D: jmp 0x2b044771 */ 16974 L_2B04476F: 16975 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16976 eax = 0; /* 0x2B04476F: xor eax, eax */ 16977 _cf = 0; 16978 _flag_k = FK_TEST; 16979 L_2B044771: 16980 MEM32(ebx + 0x14) = eax; /* 0x2B044771: mov dword ptr [ebx + 0x14], eax */ 16981 MEM32(eax + 0x5C) = 0x2B045310u; /* 0x2B044774: mov dword ptr [eax + 0x5c], 0x2b045310 */ 16982 MEM32(eax + 0x60) = ebx; /* 0x2B04477B: mov dword ptr [eax + 0x60], ebx */ 16983 edx = MEM32(ebx + 0x10); /* 0x2B04477E: mov edx, dword ptr [ebx + 0x10] */ 16984 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16985 eax = 0; /* 0x2B044781: xor eax, eax */ 16986 _cf = 0; 16987 _flag_k = FK_TEST; 16988 ecx = 0xCu; /* 0x2B044783: mov ecx, 0xc */ 16989 edi = ebp + (-0x64); /* 0x2B044788: lea edi, [ebp - 0x64] */ 16990 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B04478B: 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; } 16991 eax = MEM32(edx + 0x14); /* 0x2B04478D: mov eax, dword ptr [edx + 0x14] */ 16992 eax = MEM32(eax + 0xC); /* 0x2B044790: mov eax, dword ptr [eax + 0xc] */ 16993 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFu); 16994 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16995 eax = eax - 0xFu; /* 0x2B044793: sub eax, 0xf */ 16996 _flag_k = FK_CMP; 16997 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 16998 esi = esi + 1; /* 0x2B044796: inc esi */ 16999 _flag_k = FK_INC; 17000 PUSH32(esp, 0xBCu); /* 0x2B044797: push 0xbc */ 17001 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B04479C: mov byte ptr [ebp - 4], 0 */ 17002 MEM32(ebp + (-0x54)) = eax; /* 0x2B0447A0: mov dword ptr [ebp - 0x54], eax */ 17003 MEM32(ebp + (-0x50)) = 2; /* 0x2B0447A3: mov dword ptr [ebp - 0x50], 2 */ 17004 MEM32(ebp + (-0x58)) = 0x2B0E6EE8u; /* 0x2B0447AA: mov dword ptr [ebp - 0x58], 0x2b0e6ee8 */ 17005 MEM32(ebp + (-0x4C)) = esi; /* 0x2B0447B1: mov dword ptr [ebp - 0x4c], esi */ 17006 MEM32(ebp + (-0x44)) = 0x47u; /* 0x2B0447B4: mov dword ptr [ebp - 0x44], 0x47 */ 17007 MEM32(ebp + (-0x40)) = 0x48u; /* 0x2B0447BB: mov dword ptr [ebp - 0x40], 0x48 */ 17008 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0447C2: call 0x2b0ab212 */ /* not lifted */ 17009 RECOMP_FLAGS_IN(); 17010 edi = eax; /* 0x2B0447C7: mov edi, eax */ 17011 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17012 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17013 esp = esp + 4; /* 0x2B0447C9: add esp, 4 */ 17014 _flag_k = FK_ADD; 17015 MEM32(ebp + 0x10) = edi; /* 0x2B0447CC: mov dword ptr [ebp + 0x10], edi */ 17016 /* test edi, edi */ /* 0x2B0447CF: test edi, edi */ 17017 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 17018 _cf = 0; 17019 _flag_k = FK_TEST; 17020 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B0447D1: mov byte ptr [ebp - 4], 7 */ 17021 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0447F1; /* 0x2B0447D5: je 0x2b0447f1 */ 17022 L_2B0447D7: 17023 ecx = MEM32(ebx + 0x8); /* 0x2B0447D7: mov ecx, dword ptr [ebx + 8] */ 17024 PUSH32(esp, ecx); /* 0x2B0447DA: push ecx */ 17025 edx = ebp + (-0x64); /* 0x2B0447DB: lea edx, [ebp - 0x64] */ 17026 PUSH32(esp, edx); /* 0x2B0447DE: push edx */ 17027 ecx = edi; /* 0x2B0447DF: mov ecx, edi */ 17028 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B0447E1: call dword ptr [0x2b0b5afc] */ 17029 RECOMP_FLAGS_IN(); 17030 MEM32(edi) = 0x2B0B645Cu; /* 0x2B0447E7: mov dword ptr [edi], 0x2b0b645c */ 17031 ecx = edi; /* 0x2B0447ED: mov ecx, edi */ 17032 goto L_2B0447F3; /* 0x2B0447EF: jmp 0x2b0447f3 */ 17033 L_2B0447F1: 17034 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17035 ecx = 0; /* 0x2B0447F1: xor ecx, ecx */ 17036 _cf = 0; 17037 _flag_k = FK_TEST; 17038 L_2B0447F3: 17039 PUSH32(esp, ebx); /* 0x2B0447F3: push ebx */ 17040 PUSH32(esp, 0x2B0453B0u); /* 0x2B0447F4: push 0x2b0453b0 */ 17041 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B0447F9: mov byte ptr [ebp - 4], 0 */ 17042 MEM32(ebx + 0x24) = ecx; /* 0x2B0447FD: mov dword ptr [ebx + 0x24], ecx */ 17043 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B044800: call dword ptr [0x2b0b5af8] */ 17044 RECOMP_FLAGS_IN(); 17045 PUSH32(esp, 0x50u); /* 0x2B044806: push 0x50 */ 17046 RECOMP_ICALL(0x2B0AB212u); /* 0x2B044808: call 0x2b0ab212 */ /* not lifted */ 17047 RECOMP_FLAGS_IN(); 17048 edi = eax; /* 0x2B04480D: mov edi, eax */ 17049 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17050 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17051 esp = esp + 4; /* 0x2B04480F: add esp, 4 */ 17052 _flag_k = FK_ADD; 17053 MEM32(ebp + 0x10) = edi; /* 0x2B044812: mov dword ptr [ebp + 0x10], edi */ 17054 /* test edi, edi */ /* 0x2B044815: test edi, edi */ 17055 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 17056 _cf = 0; 17057 _flag_k = FK_TEST; 17058 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B044817: mov byte ptr [ebp - 4], 8 */ 17059 if (TEST_Z(_flag_a, _flag_b)) goto L_2B044848; /* 0x2B04481B: je 0x2b044848 */ 17060 L_2B04481D: 17061 eax = MEM32(ebx + 0x8); /* 0x2B04481D: mov eax, dword ptr [ebx + 8] */ 17062 ecx = MEM32(ebp + (-0x20)); /* 0x2B044820: mov ecx, dword ptr [ebp - 0x20] */ 17063 edx = MEM32(ebp + (-0x24)); /* 0x2B044823: mov edx, dword ptr [ebp - 0x24] */ 17064 PUSH32(esp, eax); /* 0x2B044826: push eax */ 17065 PUSH32(esp, 0x80u); /* 0x2B044827: push 0x80 */ 17066 PUSH32(esp, ecx); /* 0x2B04482C: push ecx */ 17067 PUSH32(esp, edx); /* 0x2B04482D: push edx */ 17068 PUSH32(esp, esi); /* 0x2B04482E: push esi */ 17069 PUSH32(esp, 0x2B0EE648u); /* 0x2B04482F: push 0x2b0ee648 */ 17070 PUSH32(esp, 1); /* 0x2B044834: push 1 */ 17071 ecx = edi; /* 0x2B044836: mov ecx, edi */ 17072 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B044838: call dword ptr [0x2b0b5950] */ 17073 RECOMP_FLAGS_IN(); 17074 MEM32(edi) = 0x2B0B6878u; /* 0x2B04483E: mov dword ptr [edi], 0x2b0b6878 */ 17075 eax = edi; /* 0x2B044844: mov eax, edi */ 17076 goto L_2B04484A; /* 0x2B044846: jmp 0x2b04484a */ 17077 L_2B044848: 17078 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17079 eax = 0; /* 0x2B044848: xor eax, eax */ 17080 _cf = 0; 17081 _flag_k = FK_TEST; 17082 L_2B04484A: 17083 MEM32(ebx + 0xC) = eax; /* 0x2B04484A: mov dword ptr [ebx + 0xc], eax */ 17084 eax = MEM32(eax + 0x34); /* 0x2B04484D: mov eax, dword ptr [eax + 0x34] */ 17085 ecx = 0xEu; /* 0x2B044850: mov ecx, 0xe */ 17086 MEM32(eax) = ecx; /* 0x2B044855: mov dword ptr [eax], ecx */ 17087 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17088 edx = 0; /* 0x2B044857: xor edx, edx */ 17089 _cf = 0; 17090 _flag_k = FK_TEST; 17091 MEM32(eax + 0x4) = edx; /* 0x2B044859: mov dword ptr [eax + 4], edx */ 17092 esi = 0x50u; /* 0x2B04485C: mov esi, 0x50 */ 17093 MEM32(eax + 0x8) = esi; /* 0x2B044861: mov dword ptr [eax + 8], esi */ 17094 edi = 0xDu; /* 0x2B044864: mov edi, 0xd */ 17095 MEM32(eax + 0xC) = edi; /* 0x2B044869: mov dword ptr [eax + 0xc], edi */ 17096 ecx = MEM32(ebx + 0xC); /* 0x2B04486C: mov ecx, dword ptr [ebx + 0xc] */ 17097 PUSH32(esp, 5); /* 0x2B04486F: push 5 */ 17098 PUSH32(esp, 0x5Cu); /* 0x2B044871: push 0x5c */ 17099 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B044873: mov byte ptr [ebp - 4], 0 */ 17100 MEM32(ebp + (-0x24)) = 0x5Cu; /* 0x2B044877: mov dword ptr [ebp - 0x24], 0x5c */ 17101 MEM32(ebp + (-0x20)) = 5; /* 0x2B04487E: mov dword ptr [ebp - 0x20], 5 */ 17102 RECOMP_ICALL(MEM32(0x2B0B5924)); /* 0x2B044885: call dword ptr [0x2b0b5924] */ 17103 RECOMP_FLAGS_IN(); 17104 ecx = ebx; /* 0x2B04488B: mov ecx, ebx */ 17105 RECOMP_ICALL(0x2B044A40u); /* 0x2B04488D: call 0x2b044a40 */ /* not lifted */ 17106 RECOMP_FLAGS_IN(); 17107 ecx = MEM32(ebp + (-0xC)); /* 0x2B044892: mov ecx, dword ptr [ebp - 0xc] */ 17108 edi = POP32_VAL(esp); /* 0x2B044895: pop edi */ 17109 esi = POP32_VAL(esp); /* 0x2B044896: pop esi */ 17110 eax = ebx; /* 0x2B044897: mov eax, ebx */ 17111 MEM32(FS_BASE + (0)) = ecx; /* 0x2B044899: mov dword ptr fs:[0], ecx */ 17112 ebx = POP32_VAL(esp); /* 0x2B0448A0: pop ebx */ 17113 esp = ebp; /* 0x2B0448A1: mov esp, ebp */ 17114 ebp = POP32_VAL(esp); /* 0x2B0448A3: pop ebp */ 17115 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B0448A4: ret 0xc */ 17116 RECOMP_REGS_OUT(); 17117 } 17118 17119 void sub_2B0446B3(void) { 17120 int _fpu_cmp = 0; 17121 uint32_t _cf = 0; 17122 int _df = 1; 17123 uint32_t _flag_k = FK_NONE; 17124 uint32_t _flag_a = 0, _flag_b = 0; 17125 uint32_t _itail_tgt = 0; 17126 RECOMP_REGS_LOCALS 17127 RECOMP_ENTER(0x2B0446B3u); 17128 17129 L_2B0446B3: 17130 PUSH32(esp, 0x9Cu); /* 0x2B0446B3: push 0x9c */ 17131 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B0446B8: mov byte ptr [ebp - 4], 0 */ 17132 MEM32(ebx + 0x1C) = edi; /* 0x2B0446BC: mov dword ptr [ebx + 0x1c], edi */ 17133 MEM32(ebp + (-0x18)) = 0x10u; /* 0x2B0446BF: mov dword ptr [ebp - 0x18], 0x10 */ 17134 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0446C6: call 0x2b0ab212 */ /* not lifted */ 17135 RECOMP_FLAGS_IN(); 17136 edi = eax; /* 0x2B0446CB: mov edi, eax */ 17137 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17138 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17139 esp = esp + 4; /* 0x2B0446CD: add esp, 4 */ 17140 _flag_k = FK_ADD; 17141 MEM32(ebp + 0x10) = edi; /* 0x2B0446D0: mov dword ptr [ebp + 0x10], edi */ 17142 /* test edi, edi */ /* 0x2B0446D3: test edi, edi */ 17143 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 17144 _cf = 0; 17145 _flag_k = FK_TEST; 17146 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B0446D5: mov byte ptr [ebp - 4], 5 */ 17147 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04470F; /* 0x2B0446D9: je 0x2b04470f */ 17148 L_2B0446DB: 17149 ecx = MEM32(ebx + 0x8); /* 0x2B0446DB: mov ecx, dword ptr [ebx + 8] */ 17150 eax = MEM32(ebp + (-0x18)); /* 0x2B0446DE: mov eax, dword ptr [ebp - 0x18] */ 17151 PUSH32(esp, ecx); /* 0x2B0446E1: push ecx */ 17152 ecx = MEM32(ebp + (-0x1C)); /* 0x2B0446E2: mov ecx, dword ptr [ebp - 0x1c] */ 17153 PUSH32(esp, 4); /* 0x2B0446E5: push 4 */ 17154 PUSH32(esp, 0); /* 0x2B0446E7: push 0 */ 17155 edx = esi + 0x1; /* 0x2B0446E9: lea edx, [esi + 1] */ 17156 PUSH32(esp, edx); /* 0x2B0446EC: push edx */ 17157 edx = MEM32(ebp + (-0x20)); /* 0x2B0446ED: mov edx, dword ptr [ebp - 0x20] */ 17158 PUSH32(esp, 0); /* 0x2B0446F0: push 0 */ 17159 PUSH32(esp, 0); /* 0x2B0446F2: push 0 */ 17160 PUSH32(esp, 0); /* 0x2B0446F4: push 0 */ 17161 PUSH32(esp, eax); /* 0x2B0446F6: push eax */ 17162 eax = MEM32(ebp + (-0x24)); /* 0x2B0446F7: mov eax, dword ptr [ebp - 0x24] */ 17163 PUSH32(esp, ecx); /* 0x2B0446FA: push ecx */ 17164 PUSH32(esp, edx); /* 0x2B0446FB: push edx */ 17165 PUSH32(esp, eax); /* 0x2B0446FC: push eax */ 17166 ecx = edi; /* 0x2B0446FD: mov ecx, edi */ 17167 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B0446FF: call dword ptr [0x2b0b5af0] */ 17168 RECOMP_FLAGS_IN(); 17169 MEM32(edi) = 0x2B0B642Cu; /* 0x2B044705: mov dword ptr [edi], 0x2b0b642c */ 17170 eax = edi; /* 0x2B04470B: mov eax, edi */ 17171 goto L_2B044711; /* 0x2B04470D: jmp 0x2b044711 */ 17172 L_2B04470F: 17173 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17174 eax = 0; /* 0x2B04470F: xor eax, eax */ 17175 _cf = 0; 17176 _flag_k = FK_TEST; 17177 L_2B044711: 17178 MEM32(ebx + 0x20) = eax; /* 0x2B044711: mov dword ptr [ebx + 0x20], eax */ 17179 PUSH32(esp, 0x64u); /* 0x2B044714: push 0x64 */ 17180 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B044716: mov byte ptr [ebp - 4], 0 */ 17181 MEM32(eax + 0x7C) = 0x2B045380u; /* 0x2B04471A: mov dword ptr [eax + 0x7c], 0x2b045380 */ 17182 MEM32(eax + 0x80) = ebx; /* 0x2B044721: mov dword ptr [eax + 0x80], ebx */ 17183 MEM8(eax + 0x24) = (uint8_t)(1); /* 0x2B044727: mov byte ptr [eax + 0x24], 1 */ 17184 MEM8(eax + 0x25) = (uint8_t)(1); /* 0x2B04472B: mov byte ptr [eax + 0x25], 1 */ 17185 RECOMP_ICALL(0x2B0AB212u); /* 0x2B04472F: call 0x2b0ab212 */ /* not lifted */ 17186 RECOMP_FLAGS_IN(); 17187 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17188 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17189 esp = esp + 4; /* 0x2B044734: add esp, 4 */ 17190 _flag_k = FK_ADD; 17191 MEM32(ebp + 0x10) = eax; /* 0x2B044737: mov dword ptr [ebp + 0x10], eax */ 17192 /* test eax, eax */ /* 0x2B04473A: test eax, eax */ 17193 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 17194 _cf = 0; 17195 _flag_k = FK_TEST; 17196 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B04473C: mov byte ptr [ebp - 4], 6 */ 17197 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04476F; /* 0x2B044740: je 0x2b04476f */ 17198 L_2B044742: 17199 ecx = MEM32(ebx + 0x8); /* 0x2B044742: mov ecx, dword ptr [ebx + 8] */ 17200 PUSH32(esp, ecx); /* 0x2B044745: push ecx */ 17201 PUSH32(esp, 0); /* 0x2B044746: push 0 */ 17202 PUSH32(esp, 0x30u); /* 0x2B044748: push 0x30 */ 17203 PUSH32(esp, 0); /* 0x2B04474A: push 0 */ 17204 edx = esi + 0x2; /* 0x2B04474C: lea edx, [esi + 2] */ 17205 PUSH32(esp, edx); /* 0x2B04474F: push edx */ 17206 PUSH32(esp, 0x68u); /* 0x2B044750: push 0x68 */ 17207 PUSH32(esp, 0xFFFFFFFEu); /* 0x2B044752: push -2 */ 17208 PUSH32(esp, 0x9Fu); /* 0x2B044754: push 0x9f */ 17209 PUSH32(esp, 0x36u); /* 0x2B044759: push 0x36 */ 17210 PUSH32(esp, 0x36u); /* 0x2B04475B: push 0x36 */ 17211 PUSH32(esp, 2); /* 0x2B04475D: push 2 */ 17212 PUSH32(esp, 3); /* 0x2B04475F: push 3 */ 17213 ecx = ebp + (-0x24); /* 0x2B044761: lea ecx, [ebp - 0x24] */ 17214 PUSH32(esp, ecx); /* 0x2B044764: push ecx */ 17215 ecx = eax; /* 0x2B044765: mov ecx, eax */ 17216 RECOMP_ICALL(MEM32(0x2B0B58F8)); /* 0x2B044767: call dword ptr [0x2b0b58f8] */ 17217 RECOMP_FLAGS_IN(); 17218 goto L_2B044771; /* 0x2B04476D: jmp 0x2b044771 */ 17219 L_2B04476F: 17220 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17221 eax = 0; /* 0x2B04476F: xor eax, eax */ 17222 _cf = 0; 17223 _flag_k = FK_TEST; 17224 L_2B044771: 17225 MEM32(ebx + 0x14) = eax; /* 0x2B044771: mov dword ptr [ebx + 0x14], eax */ 17226 MEM32(eax + 0x5C) = 0x2B045310u; /* 0x2B044774: mov dword ptr [eax + 0x5c], 0x2b045310 */ 17227 MEM32(eax + 0x60) = ebx; /* 0x2B04477B: mov dword ptr [eax + 0x60], ebx */ 17228 edx = MEM32(ebx + 0x10); /* 0x2B04477E: mov edx, dword ptr [ebx + 0x10] */ 17229 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17230 eax = 0; /* 0x2B044781: xor eax, eax */ 17231 _cf = 0; 17232 _flag_k = FK_TEST; 17233 ecx = 0xCu; /* 0x2B044783: mov ecx, 0xc */ 17234 edi = ebp + (-0x64); /* 0x2B044788: lea edi, [ebp - 0x64] */ 17235 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B04478B: 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; } 17236 eax = MEM32(edx + 0x14); /* 0x2B04478D: mov eax, dword ptr [edx + 0x14] */ 17237 eax = MEM32(eax + 0xC); /* 0x2B044790: mov eax, dword ptr [eax + 0xc] */ 17238 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFu); 17239 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17240 eax = eax - 0xFu; /* 0x2B044793: sub eax, 0xf */ 17241 _flag_k = FK_CMP; 17242 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 17243 esi = esi + 1; /* 0x2B044796: inc esi */ 17244 _flag_k = FK_INC; 17245 PUSH32(esp, 0xBCu); /* 0x2B044797: push 0xbc */ 17246 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B04479C: mov byte ptr [ebp - 4], 0 */ 17247 MEM32(ebp + (-0x54)) = eax; /* 0x2B0447A0: mov dword ptr [ebp - 0x54], eax */ 17248 MEM32(ebp + (-0x50)) = 2; /* 0x2B0447A3: mov dword ptr [ebp - 0x50], 2 */ 17249 MEM32(ebp + (-0x58)) = 0x2B0E6EE8u; /* 0x2B0447AA: mov dword ptr [ebp - 0x58], 0x2b0e6ee8 */ 17250 MEM32(ebp + (-0x4C)) = esi; /* 0x2B0447B1: mov dword ptr [ebp - 0x4c], esi */ 17251 MEM32(ebp + (-0x44)) = 0x47u; /* 0x2B0447B4: mov dword ptr [ebp - 0x44], 0x47 */ 17252 MEM32(ebp + (-0x40)) = 0x48u; /* 0x2B0447BB: mov dword ptr [ebp - 0x40], 0x48 */ 17253 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0447C2: call 0x2b0ab212 */ /* not lifted */ 17254 RECOMP_FLAGS_IN(); 17255 edi = eax; /* 0x2B0447C7: mov edi, eax */ 17256 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17257 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17258 esp = esp + 4; /* 0x2B0447C9: add esp, 4 */ 17259 _flag_k = FK_ADD; 17260 MEM32(ebp + 0x10) = edi; /* 0x2B0447CC: mov dword ptr [ebp + 0x10], edi */ 17261 /* test edi, edi */ /* 0x2B0447CF: test edi, edi */ 17262 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 17263 _cf = 0; 17264 _flag_k = FK_TEST; 17265 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B0447D1: mov byte ptr [ebp - 4], 7 */ 17266 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0447F1; /* 0x2B0447D5: je 0x2b0447f1 */ 17267 L_2B0447D7: 17268 ecx = MEM32(ebx + 0x8); /* 0x2B0447D7: mov ecx, dword ptr [ebx + 8] */ 17269 PUSH32(esp, ecx); /* 0x2B0447DA: push ecx */ 17270 edx = ebp + (-0x64); /* 0x2B0447DB: lea edx, [ebp - 0x64] */ 17271 PUSH32(esp, edx); /* 0x2B0447DE: push edx */ 17272 ecx = edi; /* 0x2B0447DF: mov ecx, edi */ 17273 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B0447E1: call dword ptr [0x2b0b5afc] */ 17274 RECOMP_FLAGS_IN(); 17275 MEM32(edi) = 0x2B0B645Cu; /* 0x2B0447E7: mov dword ptr [edi], 0x2b0b645c */ 17276 ecx = edi; /* 0x2B0447ED: mov ecx, edi */ 17277 goto L_2B0447F3; /* 0x2B0447EF: jmp 0x2b0447f3 */ 17278 L_2B0447F1: 17279 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17280 ecx = 0; /* 0x2B0447F1: xor ecx, ecx */ 17281 _cf = 0; 17282 _flag_k = FK_TEST; 17283 L_2B0447F3: 17284 PUSH32(esp, ebx); /* 0x2B0447F3: push ebx */ 17285 PUSH32(esp, 0x2B0453B0u); /* 0x2B0447F4: push 0x2b0453b0 */ 17286 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B0447F9: mov byte ptr [ebp - 4], 0 */ 17287 MEM32(ebx + 0x24) = ecx; /* 0x2B0447FD: mov dword ptr [ebx + 0x24], ecx */ 17288 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B044800: call dword ptr [0x2b0b5af8] */ 17289 RECOMP_FLAGS_IN(); 17290 PUSH32(esp, 0x50u); /* 0x2B044806: push 0x50 */ 17291 RECOMP_ICALL(0x2B0AB212u); /* 0x2B044808: call 0x2b0ab212 */ /* not lifted */ 17292 RECOMP_FLAGS_IN(); 17293 edi = eax; /* 0x2B04480D: mov edi, eax */ 17294 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17295 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17296 esp = esp + 4; /* 0x2B04480F: add esp, 4 */ 17297 _flag_k = FK_ADD; 17298 MEM32(ebp + 0x10) = edi; /* 0x2B044812: mov dword ptr [ebp + 0x10], edi */ 17299 /* test edi, edi */ /* 0x2B044815: test edi, edi */ 17300 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 17301 _cf = 0; 17302 _flag_k = FK_TEST; 17303 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B044817: mov byte ptr [ebp - 4], 8 */ 17304 if (TEST_Z(_flag_a, _flag_b)) goto L_2B044848; /* 0x2B04481B: je 0x2b044848 */ 17305 L_2B04481D: 17306 eax = MEM32(ebx + 0x8); /* 0x2B04481D: mov eax, dword ptr [ebx + 8] */ 17307 ecx = MEM32(ebp + (-0x20)); /* 0x2B044820: mov ecx, dword ptr [ebp - 0x20] */ 17308 edx = MEM32(ebp + (-0x24)); /* 0x2B044823: mov edx, dword ptr [ebp - 0x24] */ 17309 PUSH32(esp, eax); /* 0x2B044826: push eax */ 17310 PUSH32(esp, 0x80u); /* 0x2B044827: push 0x80 */ 17311 PUSH32(esp, ecx); /* 0x2B04482C: push ecx */ 17312 PUSH32(esp, edx); /* 0x2B04482D: push edx */ 17313 PUSH32(esp, esi); /* 0x2B04482E: push esi */ 17314 PUSH32(esp, 0x2B0EE648u); /* 0x2B04482F: push 0x2b0ee648 */ 17315 PUSH32(esp, 1); /* 0x2B044834: push 1 */ 17316 ecx = edi; /* 0x2B044836: mov ecx, edi */ 17317 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B044838: call dword ptr [0x2b0b5950] */ 17318 RECOMP_FLAGS_IN(); 17319 MEM32(edi) = 0x2B0B6878u; /* 0x2B04483E: mov dword ptr [edi], 0x2b0b6878 */ 17320 eax = edi; /* 0x2B044844: mov eax, edi */ 17321 goto L_2B04484A; /* 0x2B044846: jmp 0x2b04484a */ 17322 L_2B044848: 17323 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17324 eax = 0; /* 0x2B044848: xor eax, eax */ 17325 _cf = 0; 17326 _flag_k = FK_TEST; 17327 L_2B04484A: 17328 MEM32(ebx + 0xC) = eax; /* 0x2B04484A: mov dword ptr [ebx + 0xc], eax */ 17329 eax = MEM32(eax + 0x34); /* 0x2B04484D: mov eax, dword ptr [eax + 0x34] */ 17330 ecx = 0xEu; /* 0x2B044850: mov ecx, 0xe */ 17331 MEM32(eax) = ecx; /* 0x2B044855: mov dword ptr [eax], ecx */ 17332 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17333 edx = 0; /* 0x2B044857: xor edx, edx */ 17334 _cf = 0; 17335 _flag_k = FK_TEST; 17336 MEM32(eax + 0x4) = edx; /* 0x2B044859: mov dword ptr [eax + 4], edx */ 17337 esi = 0x50u; /* 0x2B04485C: mov esi, 0x50 */ 17338 MEM32(eax + 0x8) = esi; /* 0x2B044861: mov dword ptr [eax + 8], esi */ 17339 edi = 0xDu; /* 0x2B044864: mov edi, 0xd */ 17340 MEM32(eax + 0xC) = edi; /* 0x2B044869: mov dword ptr [eax + 0xc], edi */ 17341 ecx = MEM32(ebx + 0xC); /* 0x2B04486C: mov ecx, dword ptr [ebx + 0xc] */ 17342 PUSH32(esp, 5); /* 0x2B04486F: push 5 */ 17343 PUSH32(esp, 0x5Cu); /* 0x2B044871: push 0x5c */ 17344 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B044873: mov byte ptr [ebp - 4], 0 */ 17345 MEM32(ebp + (-0x24)) = 0x5Cu; /* 0x2B044877: mov dword ptr [ebp - 0x24], 0x5c */ 17346 MEM32(ebp + (-0x20)) = 5; /* 0x2B04487E: mov dword ptr [ebp - 0x20], 5 */ 17347 RECOMP_ICALL(MEM32(0x2B0B5924)); /* 0x2B044885: call dword ptr [0x2b0b5924] */ 17348 RECOMP_FLAGS_IN(); 17349 ecx = ebx; /* 0x2B04488B: mov ecx, ebx */ 17350 RECOMP_ICALL(0x2B044A40u); /* 0x2B04488D: call 0x2b044a40 */ /* not lifted */ 17351 RECOMP_FLAGS_IN(); 17352 ecx = MEM32(ebp + (-0xC)); /* 0x2B044892: mov ecx, dword ptr [ebp - 0xc] */ 17353 edi = POP32_VAL(esp); /* 0x2B044895: pop edi */ 17354 esi = POP32_VAL(esp); /* 0x2B044896: pop esi */ 17355 eax = ebx; /* 0x2B044897: mov eax, ebx */ 17356 MEM32(FS_BASE + (0)) = ecx; /* 0x2B044899: mov dword ptr fs:[0], ecx */ 17357 ebx = POP32_VAL(esp); /* 0x2B0448A0: pop ebx */ 17358 esp = ebp; /* 0x2B0448A1: mov esp, ebp */ 17359 ebp = POP32_VAL(esp); /* 0x2B0448A3: pop ebp */ 17360 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B0448A4: ret 0xc */ 17361 RECOMP_REGS_OUT(); 17362 } 17363 17364 void sub_2B044711(void) { 17365 int _fpu_cmp = 0; 17366 uint32_t _cf = 0; 17367 int _df = 1; 17368 uint32_t _flag_k = FK_NONE; 17369 uint32_t _flag_a = 0, _flag_b = 0; 17370 uint32_t _itail_tgt = 0; 17371 RECOMP_REGS_LOCALS 17372 RECOMP_ENTER(0x2B044711u); 17373 17374 L_2B044711: 17375 MEM32(ebx + 0x20) = eax; /* 0x2B044711: mov dword ptr [ebx + 0x20], eax */ 17376 PUSH32(esp, 0x64u); /* 0x2B044714: push 0x64 */ 17377 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B044716: mov byte ptr [ebp - 4], 0 */ 17378 MEM32(eax + 0x7C) = 0x2B045380u; /* 0x2B04471A: mov dword ptr [eax + 0x7c], 0x2b045380 */ 17379 MEM32(eax + 0x80) = ebx; /* 0x2B044721: mov dword ptr [eax + 0x80], ebx */ 17380 MEM8(eax + 0x24) = (uint8_t)(1); /* 0x2B044727: mov byte ptr [eax + 0x24], 1 */ 17381 MEM8(eax + 0x25) = (uint8_t)(1); /* 0x2B04472B: mov byte ptr [eax + 0x25], 1 */ 17382 RECOMP_ICALL(0x2B0AB212u); /* 0x2B04472F: call 0x2b0ab212 */ /* not lifted */ 17383 RECOMP_FLAGS_IN(); 17384 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17385 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17386 esp = esp + 4; /* 0x2B044734: add esp, 4 */ 17387 _flag_k = FK_ADD; 17388 MEM32(ebp + 0x10) = eax; /* 0x2B044737: mov dword ptr [ebp + 0x10], eax */ 17389 /* test eax, eax */ /* 0x2B04473A: test eax, eax */ 17390 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 17391 _cf = 0; 17392 _flag_k = FK_TEST; 17393 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B04473C: mov byte ptr [ebp - 4], 6 */ 17394 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04476F; /* 0x2B044740: je 0x2b04476f */ 17395 L_2B044742: 17396 ecx = MEM32(ebx + 0x8); /* 0x2B044742: mov ecx, dword ptr [ebx + 8] */ 17397 PUSH32(esp, ecx); /* 0x2B044745: push ecx */ 17398 PUSH32(esp, 0); /* 0x2B044746: push 0 */ 17399 PUSH32(esp, 0x30u); /* 0x2B044748: push 0x30 */ 17400 PUSH32(esp, 0); /* 0x2B04474A: push 0 */ 17401 edx = esi + 0x2; /* 0x2B04474C: lea edx, [esi + 2] */ 17402 PUSH32(esp, edx); /* 0x2B04474F: push edx */ 17403 PUSH32(esp, 0x68u); /* 0x2B044750: push 0x68 */ 17404 PUSH32(esp, 0xFFFFFFFEu); /* 0x2B044752: push -2 */ 17405 PUSH32(esp, 0x9Fu); /* 0x2B044754: push 0x9f */ 17406 PUSH32(esp, 0x36u); /* 0x2B044759: push 0x36 */ 17407 PUSH32(esp, 0x36u); /* 0x2B04475B: push 0x36 */ 17408 PUSH32(esp, 2); /* 0x2B04475D: push 2 */ 17409 PUSH32(esp, 3); /* 0x2B04475F: push 3 */ 17410 ecx = ebp + (-0x24); /* 0x2B044761: lea ecx, [ebp - 0x24] */ 17411 PUSH32(esp, ecx); /* 0x2B044764: push ecx */ 17412 ecx = eax; /* 0x2B044765: mov ecx, eax */ 17413 RECOMP_ICALL(MEM32(0x2B0B58F8)); /* 0x2B044767: call dword ptr [0x2b0b58f8] */ 17414 RECOMP_FLAGS_IN(); 17415 goto L_2B044771; /* 0x2B04476D: jmp 0x2b044771 */ 17416 L_2B04476F: 17417 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17418 eax = 0; /* 0x2B04476F: xor eax, eax */ 17419 _cf = 0; 17420 _flag_k = FK_TEST; 17421 L_2B044771: 17422 MEM32(ebx + 0x14) = eax; /* 0x2B044771: mov dword ptr [ebx + 0x14], eax */ 17423 MEM32(eax + 0x5C) = 0x2B045310u; /* 0x2B044774: mov dword ptr [eax + 0x5c], 0x2b045310 */ 17424 MEM32(eax + 0x60) = ebx; /* 0x2B04477B: mov dword ptr [eax + 0x60], ebx */ 17425 edx = MEM32(ebx + 0x10); /* 0x2B04477E: mov edx, dword ptr [ebx + 0x10] */ 17426 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17427 eax = 0; /* 0x2B044781: xor eax, eax */ 17428 _cf = 0; 17429 _flag_k = FK_TEST; 17430 ecx = 0xCu; /* 0x2B044783: mov ecx, 0xc */ 17431 edi = ebp + (-0x64); /* 0x2B044788: lea edi, [ebp - 0x64] */ 17432 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B04478B: 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; } 17433 eax = MEM32(edx + 0x14); /* 0x2B04478D: mov eax, dword ptr [edx + 0x14] */ 17434 eax = MEM32(eax + 0xC); /* 0x2B044790: mov eax, dword ptr [eax + 0xc] */ 17435 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFu); 17436 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17437 eax = eax - 0xFu; /* 0x2B044793: sub eax, 0xf */ 17438 _flag_k = FK_CMP; 17439 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 17440 esi = esi + 1; /* 0x2B044796: inc esi */ 17441 _flag_k = FK_INC; 17442 PUSH32(esp, 0xBCu); /* 0x2B044797: push 0xbc */ 17443 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B04479C: mov byte ptr [ebp - 4], 0 */ 17444 MEM32(ebp + (-0x54)) = eax; /* 0x2B0447A0: mov dword ptr [ebp - 0x54], eax */ 17445 MEM32(ebp + (-0x50)) = 2; /* 0x2B0447A3: mov dword ptr [ebp - 0x50], 2 */ 17446 MEM32(ebp + (-0x58)) = 0x2B0E6EE8u; /* 0x2B0447AA: mov dword ptr [ebp - 0x58], 0x2b0e6ee8 */ 17447 MEM32(ebp + (-0x4C)) = esi; /* 0x2B0447B1: mov dword ptr [ebp - 0x4c], esi */ 17448 MEM32(ebp + (-0x44)) = 0x47u; /* 0x2B0447B4: mov dword ptr [ebp - 0x44], 0x47 */ 17449 MEM32(ebp + (-0x40)) = 0x48u; /* 0x2B0447BB: mov dword ptr [ebp - 0x40], 0x48 */ 17450 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0447C2: call 0x2b0ab212 */ /* not lifted */ 17451 RECOMP_FLAGS_IN(); 17452 edi = eax; /* 0x2B0447C7: mov edi, eax */ 17453 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17454 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17455 esp = esp + 4; /* 0x2B0447C9: add esp, 4 */ 17456 _flag_k = FK_ADD; 17457 MEM32(ebp + 0x10) = edi; /* 0x2B0447CC: mov dword ptr [ebp + 0x10], edi */ 17458 /* test edi, edi */ /* 0x2B0447CF: test edi, edi */ 17459 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 17460 _cf = 0; 17461 _flag_k = FK_TEST; 17462 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B0447D1: mov byte ptr [ebp - 4], 7 */ 17463 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0447F1; /* 0x2B0447D5: je 0x2b0447f1 */ 17464 L_2B0447D7: 17465 ecx = MEM32(ebx + 0x8); /* 0x2B0447D7: mov ecx, dword ptr [ebx + 8] */ 17466 PUSH32(esp, ecx); /* 0x2B0447DA: push ecx */ 17467 edx = ebp + (-0x64); /* 0x2B0447DB: lea edx, [ebp - 0x64] */ 17468 PUSH32(esp, edx); /* 0x2B0447DE: push edx */ 17469 ecx = edi; /* 0x2B0447DF: mov ecx, edi */ 17470 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B0447E1: call dword ptr [0x2b0b5afc] */ 17471 RECOMP_FLAGS_IN(); 17472 MEM32(edi) = 0x2B0B645Cu; /* 0x2B0447E7: mov dword ptr [edi], 0x2b0b645c */ 17473 ecx = edi; /* 0x2B0447ED: mov ecx, edi */ 17474 goto L_2B0447F3; /* 0x2B0447EF: jmp 0x2b0447f3 */ 17475 L_2B0447F1: 17476 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17477 ecx = 0; /* 0x2B0447F1: xor ecx, ecx */ 17478 _cf = 0; 17479 _flag_k = FK_TEST; 17480 L_2B0447F3: 17481 PUSH32(esp, ebx); /* 0x2B0447F3: push ebx */ 17482 PUSH32(esp, 0x2B0453B0u); /* 0x2B0447F4: push 0x2b0453b0 */ 17483 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B0447F9: mov byte ptr [ebp - 4], 0 */ 17484 MEM32(ebx + 0x24) = ecx; /* 0x2B0447FD: mov dword ptr [ebx + 0x24], ecx */ 17485 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B044800: call dword ptr [0x2b0b5af8] */ 17486 RECOMP_FLAGS_IN(); 17487 PUSH32(esp, 0x50u); /* 0x2B044806: push 0x50 */ 17488 RECOMP_ICALL(0x2B0AB212u); /* 0x2B044808: call 0x2b0ab212 */ /* not lifted */ 17489 RECOMP_FLAGS_IN(); 17490 edi = eax; /* 0x2B04480D: mov edi, eax */ 17491 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17492 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17493 esp = esp + 4; /* 0x2B04480F: add esp, 4 */ 17494 _flag_k = FK_ADD; 17495 MEM32(ebp + 0x10) = edi; /* 0x2B044812: mov dword ptr [ebp + 0x10], edi */ 17496 /* test edi, edi */ /* 0x2B044815: test edi, edi */ 17497 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 17498 _cf = 0; 17499 _flag_k = FK_TEST; 17500 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B044817: mov byte ptr [ebp - 4], 8 */ 17501 if (TEST_Z(_flag_a, _flag_b)) goto L_2B044848; /* 0x2B04481B: je 0x2b044848 */ 17502 L_2B04481D: 17503 eax = MEM32(ebx + 0x8); /* 0x2B04481D: mov eax, dword ptr [ebx + 8] */ 17504 ecx = MEM32(ebp + (-0x20)); /* 0x2B044820: mov ecx, dword ptr [ebp - 0x20] */ 17505 edx = MEM32(ebp + (-0x24)); /* 0x2B044823: mov edx, dword ptr [ebp - 0x24] */ 17506 PUSH32(esp, eax); /* 0x2B044826: push eax */ 17507 PUSH32(esp, 0x80u); /* 0x2B044827: push 0x80 */ 17508 PUSH32(esp, ecx); /* 0x2B04482C: push ecx */ 17509 PUSH32(esp, edx); /* 0x2B04482D: push edx */ 17510 PUSH32(esp, esi); /* 0x2B04482E: push esi */ 17511 PUSH32(esp, 0x2B0EE648u); /* 0x2B04482F: push 0x2b0ee648 */ 17512 PUSH32(esp, 1); /* 0x2B044834: push 1 */ 17513 ecx = edi; /* 0x2B044836: mov ecx, edi */ 17514 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B044838: call dword ptr [0x2b0b5950] */ 17515 RECOMP_FLAGS_IN(); 17516 MEM32(edi) = 0x2B0B6878u; /* 0x2B04483E: mov dword ptr [edi], 0x2b0b6878 */ 17517 eax = edi; /* 0x2B044844: mov eax, edi */ 17518 goto L_2B04484A; /* 0x2B044846: jmp 0x2b04484a */ 17519 L_2B044848: 17520 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17521 eax = 0; /* 0x2B044848: xor eax, eax */ 17522 _cf = 0; 17523 _flag_k = FK_TEST; 17524 L_2B04484A: 17525 MEM32(ebx + 0xC) = eax; /* 0x2B04484A: mov dword ptr [ebx + 0xc], eax */ 17526 eax = MEM32(eax + 0x34); /* 0x2B04484D: mov eax, dword ptr [eax + 0x34] */ 17527 ecx = 0xEu; /* 0x2B044850: mov ecx, 0xe */ 17528 MEM32(eax) = ecx; /* 0x2B044855: mov dword ptr [eax], ecx */ 17529 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17530 edx = 0; /* 0x2B044857: xor edx, edx */ 17531 _cf = 0; 17532 _flag_k = FK_TEST; 17533 MEM32(eax + 0x4) = edx; /* 0x2B044859: mov dword ptr [eax + 4], edx */ 17534 esi = 0x50u; /* 0x2B04485C: mov esi, 0x50 */ 17535 MEM32(eax + 0x8) = esi; /* 0x2B044861: mov dword ptr [eax + 8], esi */ 17536 edi = 0xDu; /* 0x2B044864: mov edi, 0xd */ 17537 MEM32(eax + 0xC) = edi; /* 0x2B044869: mov dword ptr [eax + 0xc], edi */ 17538 ecx = MEM32(ebx + 0xC); /* 0x2B04486C: mov ecx, dword ptr [ebx + 0xc] */ 17539 PUSH32(esp, 5); /* 0x2B04486F: push 5 */ 17540 PUSH32(esp, 0x5Cu); /* 0x2B044871: push 0x5c */ 17541 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B044873: mov byte ptr [ebp - 4], 0 */ 17542 MEM32(ebp + (-0x24)) = 0x5Cu; /* 0x2B044877: mov dword ptr [ebp - 0x24], 0x5c */ 17543 MEM32(ebp + (-0x20)) = 5; /* 0x2B04487E: mov dword ptr [ebp - 0x20], 5 */ 17544 RECOMP_ICALL(MEM32(0x2B0B5924)); /* 0x2B044885: call dword ptr [0x2b0b5924] */ 17545 RECOMP_FLAGS_IN(); 17546 ecx = ebx; /* 0x2B04488B: mov ecx, ebx */ 17547 RECOMP_ICALL(0x2B044A40u); /* 0x2B04488D: call 0x2b044a40 */ /* not lifted */ 17548 RECOMP_FLAGS_IN(); 17549 ecx = MEM32(ebp + (-0xC)); /* 0x2B044892: mov ecx, dword ptr [ebp - 0xc] */ 17550 edi = POP32_VAL(esp); /* 0x2B044895: pop edi */ 17551 esi = POP32_VAL(esp); /* 0x2B044896: pop esi */ 17552 eax = ebx; /* 0x2B044897: mov eax, ebx */ 17553 MEM32(FS_BASE + (0)) = ecx; /* 0x2B044899: mov dword ptr fs:[0], ecx */ 17554 ebx = POP32_VAL(esp); /* 0x2B0448A0: pop ebx */ 17555 esp = ebp; /* 0x2B0448A1: mov esp, ebp */ 17556 ebp = POP32_VAL(esp); /* 0x2B0448A3: pop ebp */ 17557 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B0448A4: ret 0xc */ 17558 RECOMP_REGS_OUT(); 17559 } 17560 17561 void sub_2B044771(void) { 17562 int _fpu_cmp = 0; 17563 uint32_t _cf = 0; 17564 int _df = 1; 17565 uint32_t _flag_k = FK_NONE; 17566 uint32_t _flag_a = 0, _flag_b = 0; 17567 uint32_t _itail_tgt = 0; 17568 RECOMP_REGS_LOCALS 17569 RECOMP_ENTER(0x2B044771u); 17570 17571 L_2B044771: 17572 MEM32(ebx + 0x14) = eax; /* 0x2B044771: mov dword ptr [ebx + 0x14], eax */ 17573 MEM32(eax + 0x5C) = 0x2B045310u; /* 0x2B044774: mov dword ptr [eax + 0x5c], 0x2b045310 */ 17574 MEM32(eax + 0x60) = ebx; /* 0x2B04477B: mov dword ptr [eax + 0x60], ebx */ 17575 edx = MEM32(ebx + 0x10); /* 0x2B04477E: mov edx, dword ptr [ebx + 0x10] */ 17576 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17577 eax = 0; /* 0x2B044781: xor eax, eax */ 17578 _cf = 0; 17579 _flag_k = FK_TEST; 17580 ecx = 0xCu; /* 0x2B044783: mov ecx, 0xc */ 17581 edi = ebp + (-0x64); /* 0x2B044788: lea edi, [ebp - 0x64] */ 17582 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B04478B: 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; } 17583 eax = MEM32(edx + 0x14); /* 0x2B04478D: mov eax, dword ptr [edx + 0x14] */ 17584 eax = MEM32(eax + 0xC); /* 0x2B044790: mov eax, dword ptr [eax + 0xc] */ 17585 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFu); 17586 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17587 eax = eax - 0xFu; /* 0x2B044793: sub eax, 0xf */ 17588 _flag_k = FK_CMP; 17589 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 17590 esi = esi + 1; /* 0x2B044796: inc esi */ 17591 _flag_k = FK_INC; 17592 PUSH32(esp, 0xBCu); /* 0x2B044797: push 0xbc */ 17593 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B04479C: mov byte ptr [ebp - 4], 0 */ 17594 MEM32(ebp + (-0x54)) = eax; /* 0x2B0447A0: mov dword ptr [ebp - 0x54], eax */ 17595 MEM32(ebp + (-0x50)) = 2; /* 0x2B0447A3: mov dword ptr [ebp - 0x50], 2 */ 17596 MEM32(ebp + (-0x58)) = 0x2B0E6EE8u; /* 0x2B0447AA: mov dword ptr [ebp - 0x58], 0x2b0e6ee8 */ 17597 MEM32(ebp + (-0x4C)) = esi; /* 0x2B0447B1: mov dword ptr [ebp - 0x4c], esi */ 17598 MEM32(ebp + (-0x44)) = 0x47u; /* 0x2B0447B4: mov dword ptr [ebp - 0x44], 0x47 */ 17599 MEM32(ebp + (-0x40)) = 0x48u; /* 0x2B0447BB: mov dword ptr [ebp - 0x40], 0x48 */ 17600 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0447C2: call 0x2b0ab212 */ /* not lifted */ 17601 RECOMP_FLAGS_IN(); 17602 edi = eax; /* 0x2B0447C7: mov edi, eax */ 17603 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17604 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17605 esp = esp + 4; /* 0x2B0447C9: add esp, 4 */ 17606 _flag_k = FK_ADD; 17607 MEM32(ebp + 0x10) = edi; /* 0x2B0447CC: mov dword ptr [ebp + 0x10], edi */ 17608 /* test edi, edi */ /* 0x2B0447CF: test edi, edi */ 17609 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 17610 _cf = 0; 17611 _flag_k = FK_TEST; 17612 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B0447D1: mov byte ptr [ebp - 4], 7 */ 17613 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0447F1; /* 0x2B0447D5: je 0x2b0447f1 */ 17614 L_2B0447D7: 17615 ecx = MEM32(ebx + 0x8); /* 0x2B0447D7: mov ecx, dword ptr [ebx + 8] */ 17616 PUSH32(esp, ecx); /* 0x2B0447DA: push ecx */ 17617 edx = ebp + (-0x64); /* 0x2B0447DB: lea edx, [ebp - 0x64] */ 17618 PUSH32(esp, edx); /* 0x2B0447DE: push edx */ 17619 ecx = edi; /* 0x2B0447DF: mov ecx, edi */ 17620 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B0447E1: call dword ptr [0x2b0b5afc] */ 17621 RECOMP_FLAGS_IN(); 17622 MEM32(edi) = 0x2B0B645Cu; /* 0x2B0447E7: mov dword ptr [edi], 0x2b0b645c */ 17623 ecx = edi; /* 0x2B0447ED: mov ecx, edi */ 17624 goto L_2B0447F3; /* 0x2B0447EF: jmp 0x2b0447f3 */ 17625 L_2B0447F1: 17626 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17627 ecx = 0; /* 0x2B0447F1: xor ecx, ecx */ 17628 _cf = 0; 17629 _flag_k = FK_TEST; 17630 L_2B0447F3: 17631 PUSH32(esp, ebx); /* 0x2B0447F3: push ebx */ 17632 PUSH32(esp, 0x2B0453B0u); /* 0x2B0447F4: push 0x2b0453b0 */ 17633 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B0447F9: mov byte ptr [ebp - 4], 0 */ 17634 MEM32(ebx + 0x24) = ecx; /* 0x2B0447FD: mov dword ptr [ebx + 0x24], ecx */ 17635 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B044800: call dword ptr [0x2b0b5af8] */ 17636 RECOMP_FLAGS_IN(); 17637 PUSH32(esp, 0x50u); /* 0x2B044806: push 0x50 */ 17638 RECOMP_ICALL(0x2B0AB212u); /* 0x2B044808: call 0x2b0ab212 */ /* not lifted */ 17639 RECOMP_FLAGS_IN(); 17640 edi = eax; /* 0x2B04480D: mov edi, eax */ 17641 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17642 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17643 esp = esp + 4; /* 0x2B04480F: add esp, 4 */ 17644 _flag_k = FK_ADD; 17645 MEM32(ebp + 0x10) = edi; /* 0x2B044812: mov dword ptr [ebp + 0x10], edi */ 17646 /* test edi, edi */ /* 0x2B044815: test edi, edi */ 17647 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 17648 _cf = 0; 17649 _flag_k = FK_TEST; 17650 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B044817: mov byte ptr [ebp - 4], 8 */ 17651 if (TEST_Z(_flag_a, _flag_b)) goto L_2B044848; /* 0x2B04481B: je 0x2b044848 */ 17652 L_2B04481D: 17653 eax = MEM32(ebx + 0x8); /* 0x2B04481D: mov eax, dword ptr [ebx + 8] */ 17654 ecx = MEM32(ebp + (-0x20)); /* 0x2B044820: mov ecx, dword ptr [ebp - 0x20] */ 17655 edx = MEM32(ebp + (-0x24)); /* 0x2B044823: mov edx, dword ptr [ebp - 0x24] */ 17656 PUSH32(esp, eax); /* 0x2B044826: push eax */ 17657 PUSH32(esp, 0x80u); /* 0x2B044827: push 0x80 */ 17658 PUSH32(esp, ecx); /* 0x2B04482C: push ecx */ 17659 PUSH32(esp, edx); /* 0x2B04482D: push edx */ 17660 PUSH32(esp, esi); /* 0x2B04482E: push esi */ 17661 PUSH32(esp, 0x2B0EE648u); /* 0x2B04482F: push 0x2b0ee648 */ 17662 PUSH32(esp, 1); /* 0x2B044834: push 1 */ 17663 ecx = edi; /* 0x2B044836: mov ecx, edi */ 17664 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B044838: call dword ptr [0x2b0b5950] */ 17665 RECOMP_FLAGS_IN(); 17666 MEM32(edi) = 0x2B0B6878u; /* 0x2B04483E: mov dword ptr [edi], 0x2b0b6878 */ 17667 eax = edi; /* 0x2B044844: mov eax, edi */ 17668 goto L_2B04484A; /* 0x2B044846: jmp 0x2b04484a */ 17669 L_2B044848: 17670 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17671 eax = 0; /* 0x2B044848: xor eax, eax */ 17672 _cf = 0; 17673 _flag_k = FK_TEST; 17674 L_2B04484A: 17675 MEM32(ebx + 0xC) = eax; /* 0x2B04484A: mov dword ptr [ebx + 0xc], eax */ 17676 eax = MEM32(eax + 0x34); /* 0x2B04484D: mov eax, dword ptr [eax + 0x34] */ 17677 ecx = 0xEu; /* 0x2B044850: mov ecx, 0xe */ 17678 MEM32(eax) = ecx; /* 0x2B044855: mov dword ptr [eax], ecx */ 17679 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17680 edx = 0; /* 0x2B044857: xor edx, edx */ 17681 _cf = 0; 17682 _flag_k = FK_TEST; 17683 MEM32(eax + 0x4) = edx; /* 0x2B044859: mov dword ptr [eax + 4], edx */ 17684 esi = 0x50u; /* 0x2B04485C: mov esi, 0x50 */ 17685 MEM32(eax + 0x8) = esi; /* 0x2B044861: mov dword ptr [eax + 8], esi */ 17686 edi = 0xDu; /* 0x2B044864: mov edi, 0xd */ 17687 MEM32(eax + 0xC) = edi; /* 0x2B044869: mov dword ptr [eax + 0xc], edi */ 17688 ecx = MEM32(ebx + 0xC); /* 0x2B04486C: mov ecx, dword ptr [ebx + 0xc] */ 17689 PUSH32(esp, 5); /* 0x2B04486F: push 5 */ 17690 PUSH32(esp, 0x5Cu); /* 0x2B044871: push 0x5c */ 17691 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B044873: mov byte ptr [ebp - 4], 0 */ 17692 MEM32(ebp + (-0x24)) = 0x5Cu; /* 0x2B044877: mov dword ptr [ebp - 0x24], 0x5c */ 17693 MEM32(ebp + (-0x20)) = 5; /* 0x2B04487E: mov dword ptr [ebp - 0x20], 5 */ 17694 RECOMP_ICALL(MEM32(0x2B0B5924)); /* 0x2B044885: call dword ptr [0x2b0b5924] */ 17695 RECOMP_FLAGS_IN(); 17696 ecx = ebx; /* 0x2B04488B: mov ecx, ebx */ 17697 RECOMP_ICALL(0x2B044A40u); /* 0x2B04488D: call 0x2b044a40 */ /* not lifted */ 17698 RECOMP_FLAGS_IN(); 17699 ecx = MEM32(ebp + (-0xC)); /* 0x2B044892: mov ecx, dword ptr [ebp - 0xc] */ 17700 edi = POP32_VAL(esp); /* 0x2B044895: pop edi */ 17701 esi = POP32_VAL(esp); /* 0x2B044896: pop esi */ 17702 eax = ebx; /* 0x2B044897: mov eax, ebx */ 17703 MEM32(FS_BASE + (0)) = ecx; /* 0x2B044899: mov dword ptr fs:[0], ecx */ 17704 ebx = POP32_VAL(esp); /* 0x2B0448A0: pop ebx */ 17705 esp = ebp; /* 0x2B0448A1: mov esp, ebp */ 17706 ebp = POP32_VAL(esp); /* 0x2B0448A3: pop ebp */ 17707 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B0448A4: ret 0xc */ 17708 RECOMP_REGS_OUT(); 17709 } 17710 17711 void sub_2B0447F3(void) { 17712 int _fpu_cmp = 0; 17713 uint32_t _cf = 0; 17714 int _df = 1; 17715 uint32_t _flag_k = FK_NONE; 17716 uint32_t _flag_a = 0, _flag_b = 0; 17717 uint32_t _itail_tgt = 0; 17718 RECOMP_REGS_LOCALS 17719 RECOMP_ENTER(0x2B0447F3u); 17720 17721 L_2B0447F3: 17722 PUSH32(esp, ebx); /* 0x2B0447F3: push ebx */ 17723 PUSH32(esp, 0x2B0453B0u); /* 0x2B0447F4: push 0x2b0453b0 */ 17724 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B0447F9: mov byte ptr [ebp - 4], 0 */ 17725 MEM32(ebx + 0x24) = ecx; /* 0x2B0447FD: mov dword ptr [ebx + 0x24], ecx */ 17726 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B044800: call dword ptr [0x2b0b5af8] */ 17727 RECOMP_FLAGS_IN(); 17728 PUSH32(esp, 0x50u); /* 0x2B044806: push 0x50 */ 17729 RECOMP_ICALL(0x2B0AB212u); /* 0x2B044808: call 0x2b0ab212 */ /* not lifted */ 17730 RECOMP_FLAGS_IN(); 17731 edi = eax; /* 0x2B04480D: mov edi, eax */ 17732 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17733 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17734 esp = esp + 4; /* 0x2B04480F: add esp, 4 */ 17735 _flag_k = FK_ADD; 17736 MEM32(ebp + 0x10) = edi; /* 0x2B044812: mov dword ptr [ebp + 0x10], edi */ 17737 /* test edi, edi */ /* 0x2B044815: test edi, edi */ 17738 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 17739 _cf = 0; 17740 _flag_k = FK_TEST; 17741 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B044817: mov byte ptr [ebp - 4], 8 */ 17742 if (TEST_Z(_flag_a, _flag_b)) goto L_2B044848; /* 0x2B04481B: je 0x2b044848 */ 17743 L_2B04481D: 17744 eax = MEM32(ebx + 0x8); /* 0x2B04481D: mov eax, dword ptr [ebx + 8] */ 17745 ecx = MEM32(ebp + (-0x20)); /* 0x2B044820: mov ecx, dword ptr [ebp - 0x20] */ 17746 edx = MEM32(ebp + (-0x24)); /* 0x2B044823: mov edx, dword ptr [ebp - 0x24] */ 17747 PUSH32(esp, eax); /* 0x2B044826: push eax */ 17748 PUSH32(esp, 0x80u); /* 0x2B044827: push 0x80 */ 17749 PUSH32(esp, ecx); /* 0x2B04482C: push ecx */ 17750 PUSH32(esp, edx); /* 0x2B04482D: push edx */ 17751 PUSH32(esp, esi); /* 0x2B04482E: push esi */ 17752 PUSH32(esp, 0x2B0EE648u); /* 0x2B04482F: push 0x2b0ee648 */ 17753 PUSH32(esp, 1); /* 0x2B044834: push 1 */ 17754 ecx = edi; /* 0x2B044836: mov ecx, edi */ 17755 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B044838: call dword ptr [0x2b0b5950] */ 17756 RECOMP_FLAGS_IN(); 17757 MEM32(edi) = 0x2B0B6878u; /* 0x2B04483E: mov dword ptr [edi], 0x2b0b6878 */ 17758 eax = edi; /* 0x2B044844: mov eax, edi */ 17759 goto L_2B04484A; /* 0x2B044846: jmp 0x2b04484a */ 17760 L_2B044848: 17761 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17762 eax = 0; /* 0x2B044848: xor eax, eax */ 17763 _cf = 0; 17764 _flag_k = FK_TEST; 17765 L_2B04484A: 17766 MEM32(ebx + 0xC) = eax; /* 0x2B04484A: mov dword ptr [ebx + 0xc], eax */ 17767 eax = MEM32(eax + 0x34); /* 0x2B04484D: mov eax, dword ptr [eax + 0x34] */ 17768 ecx = 0xEu; /* 0x2B044850: mov ecx, 0xe */ 17769 MEM32(eax) = ecx; /* 0x2B044855: mov dword ptr [eax], ecx */ 17770 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17771 edx = 0; /* 0x2B044857: xor edx, edx */ 17772 _cf = 0; 17773 _flag_k = FK_TEST; 17774 MEM32(eax + 0x4) = edx; /* 0x2B044859: mov dword ptr [eax + 4], edx */ 17775 esi = 0x50u; /* 0x2B04485C: mov esi, 0x50 */ 17776 MEM32(eax + 0x8) = esi; /* 0x2B044861: mov dword ptr [eax + 8], esi */ 17777 edi = 0xDu; /* 0x2B044864: mov edi, 0xd */ 17778 MEM32(eax + 0xC) = edi; /* 0x2B044869: mov dword ptr [eax + 0xc], edi */ 17779 ecx = MEM32(ebx + 0xC); /* 0x2B04486C: mov ecx, dword ptr [ebx + 0xc] */ 17780 PUSH32(esp, 5); /* 0x2B04486F: push 5 */ 17781 PUSH32(esp, 0x5Cu); /* 0x2B044871: push 0x5c */ 17782 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B044873: mov byte ptr [ebp - 4], 0 */ 17783 MEM32(ebp + (-0x24)) = 0x5Cu; /* 0x2B044877: mov dword ptr [ebp - 0x24], 0x5c */ 17784 MEM32(ebp + (-0x20)) = 5; /* 0x2B04487E: mov dword ptr [ebp - 0x20], 5 */ 17785 RECOMP_ICALL(MEM32(0x2B0B5924)); /* 0x2B044885: call dword ptr [0x2b0b5924] */ 17786 RECOMP_FLAGS_IN(); 17787 ecx = ebx; /* 0x2B04488B: mov ecx, ebx */ 17788 RECOMP_ICALL(0x2B044A40u); /* 0x2B04488D: call 0x2b044a40 */ /* not lifted */ 17789 RECOMP_FLAGS_IN(); 17790 ecx = MEM32(ebp + (-0xC)); /* 0x2B044892: mov ecx, dword ptr [ebp - 0xc] */ 17791 edi = POP32_VAL(esp); /* 0x2B044895: pop edi */ 17792 esi = POP32_VAL(esp); /* 0x2B044896: pop esi */ 17793 eax = ebx; /* 0x2B044897: mov eax, ebx */ 17794 MEM32(FS_BASE + (0)) = ecx; /* 0x2B044899: mov dword ptr fs:[0], ecx */ 17795 ebx = POP32_VAL(esp); /* 0x2B0448A0: pop ebx */ 17796 esp = ebp; /* 0x2B0448A1: mov esp, ebp */ 17797 ebp = POP32_VAL(esp); /* 0x2B0448A3: pop ebp */ 17798 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B0448A4: ret 0xc */ 17799 RECOMP_REGS_OUT(); 17800 } 17801 17802 void sub_2B04484A(void) { 17803 int _fpu_cmp = 0; 17804 uint32_t _cf = 0; 17805 int _df = 1; 17806 uint32_t _flag_k = FK_NONE; 17807 uint32_t _flag_a = 0, _flag_b = 0; 17808 uint32_t _itail_tgt = 0; 17809 RECOMP_REGS_LOCALS 17810 RECOMP_ENTER(0x2B04484Au); 17811 17812 L_2B04484A: 17813 MEM32(ebx + 0xC) = eax; /* 0x2B04484A: mov dword ptr [ebx + 0xc], eax */ 17814 eax = MEM32(eax + 0x34); /* 0x2B04484D: mov eax, dword ptr [eax + 0x34] */ 17815 ecx = 0xEu; /* 0x2B044850: mov ecx, 0xe */ 17816 MEM32(eax) = ecx; /* 0x2B044855: mov dword ptr [eax], ecx */ 17817 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17818 edx = 0; /* 0x2B044857: xor edx, edx */ 17819 _cf = 0; 17820 _flag_k = FK_TEST; 17821 MEM32(eax + 0x4) = edx; /* 0x2B044859: mov dword ptr [eax + 4], edx */ 17822 esi = 0x50u; /* 0x2B04485C: mov esi, 0x50 */ 17823 MEM32(eax + 0x8) = esi; /* 0x2B044861: mov dword ptr [eax + 8], esi */ 17824 edi = 0xDu; /* 0x2B044864: mov edi, 0xd */ 17825 MEM32(eax + 0xC) = edi; /* 0x2B044869: mov dword ptr [eax + 0xc], edi */ 17826 ecx = MEM32(ebx + 0xC); /* 0x2B04486C: mov ecx, dword ptr [ebx + 0xc] */ 17827 PUSH32(esp, 5); /* 0x2B04486F: push 5 */ 17828 PUSH32(esp, 0x5Cu); /* 0x2B044871: push 0x5c */ 17829 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B044873: mov byte ptr [ebp - 4], 0 */ 17830 MEM32(ebp + (-0x24)) = 0x5Cu; /* 0x2B044877: mov dword ptr [ebp - 0x24], 0x5c */ 17831 MEM32(ebp + (-0x20)) = 5; /* 0x2B04487E: mov dword ptr [ebp - 0x20], 5 */ 17832 RECOMP_ICALL(MEM32(0x2B0B5924)); /* 0x2B044885: call dword ptr [0x2b0b5924] */ 17833 RECOMP_FLAGS_IN(); 17834 ecx = ebx; /* 0x2B04488B: mov ecx, ebx */ 17835 RECOMP_ICALL(0x2B044A40u); /* 0x2B04488D: call 0x2b044a40 */ /* not lifted */ 17836 RECOMP_FLAGS_IN(); 17837 ecx = MEM32(ebp + (-0xC)); /* 0x2B044892: mov ecx, dword ptr [ebp - 0xc] */ 17838 edi = POP32_VAL(esp); /* 0x2B044895: pop edi */ 17839 esi = POP32_VAL(esp); /* 0x2B044896: pop esi */ 17840 eax = ebx; /* 0x2B044897: mov eax, ebx */ 17841 MEM32(FS_BASE + (0)) = ecx; /* 0x2B044899: mov dword ptr fs:[0], ecx */ 17842 ebx = POP32_VAL(esp); /* 0x2B0448A0: pop ebx */ 17843 esp = ebp; /* 0x2B0448A1: mov esp, ebp */ 17844 ebp = POP32_VAL(esp); /* 0x2B0448A3: pop ebp */ 17845 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B0448A4: ret 0xc */ 17846 RECOMP_REGS_OUT(); 17847 } 17848 17849 void sub_2B0448B0(void) { 17850 int _fpu_cmp = 0; 17851 uint32_t _cf = 0; 17852 int _df = 1; 17853 uint32_t _flag_k = FK_NONE; 17854 uint32_t _flag_a = 0, _flag_b = 0; 17855 uint32_t _itail_tgt = 0; 17856 RECOMP_REGS_LOCALS 17857 RECOMP_ENTER(0x2B0448B0u); 17858 17859 L_2B0448B0: 17860 PUSH32(esp, ebp); /* 0x2B0448B0: push ebp */ 17861 ebp = esp; /* 0x2B0448B1: mov ebp, esp */ 17862 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0448B3: push -1 */ 17863 PUSH32(esp, 0x2B0AEF4Cu); /* 0x2B0448B5: push 0x2b0aef4c */ 17864 eax = MEM32(FS_BASE + (0)); /* 0x2B0448BA: mov eax, dword ptr fs:[0] */ 17865 PUSH32(esp, eax); /* 0x2B0448C0: push eax */ 17866 MEM32(FS_BASE + (0)) = esp; /* 0x2B0448C1: mov dword ptr fs:[0], esp */ 17867 PUSH32(esp, ecx); /* 0x2B0448C8: push ecx */ 17868 PUSH32(esp, ebx); /* 0x2B0448C9: push ebx */ 17869 PUSH32(esp, esi); /* 0x2B0448CA: push esi */ 17870 esi = ecx; /* 0x2B0448CB: mov esi, ecx */ 17871 MEM32(ebp + (-0x10)) = esi; /* 0x2B0448CD: mov dword ptr [ebp - 0x10], esi */ 17872 ecx = MEM32(esi + 0x18); /* 0x2B0448D0: mov ecx, dword ptr [esi + 0x18] */ 17873 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17874 ebx = 0; /* 0x2B0448D3: xor ebx, ebx */ 17875 _cf = 0; 17876 _flag_k = FK_TEST; 17877 /* cmp ecx, ebx */ /* 0x2B0448D5: cmp ecx, ebx */ 17878 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 17879 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17880 _flag_k = FK_CMP; 17881 MEM32(ebp + (-0x4)) = ebx; /* 0x2B0448D7: mov dword ptr [ebp - 4], ebx */ 17882 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0448E2; /* 0x2B0448DA: je 0x2b0448e2 */ 17883 L_2B0448DC: 17884 eax = MEM32(ecx); /* 0x2B0448DC: mov eax, dword ptr [ecx] */ 17885 PUSH32(esp, 1); /* 0x2B0448DE: push 1 */ 17886 RECOMP_ICALL(MEM32(eax)); /* 0x2B0448E0: call dword ptr [eax] */ 17887 RECOMP_FLAGS_IN(); 17888 L_2B0448E2: 17889 ecx = MEM32(esi + 0x10); /* 0x2B0448E2: mov ecx, dword ptr [esi + 0x10] */ 17890 /* cmp ecx, ebx */ /* 0x2B0448E5: cmp ecx, ebx */ 17891 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 17892 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17893 _flag_k = FK_CMP; 17894 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0448EF; /* 0x2B0448E7: je 0x2b0448ef */ 17895 L_2B0448E9: 17896 edx = MEM32(ecx); /* 0x2B0448E9: mov edx, dword ptr [ecx] */ 17897 PUSH32(esp, 1); /* 0x2B0448EB: push 1 */ 17898 RECOMP_ICALL(MEM32(edx)); /* 0x2B0448ED: call dword ptr [edx] */ 17899 RECOMP_FLAGS_IN(); 17900 L_2B0448EF: 17901 PUSH32(esp, edi); /* 0x2B0448EF: push edi */ 17902 edi = MEM32(esi + 0x14); /* 0x2B0448F0: mov edi, dword ptr [esi + 0x14] */ 17903 /* cmp edi, ebx */ /* 0x2B0448F3: cmp edi, ebx */ 17904 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 17905 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17906 _flag_k = FK_CMP; 17907 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B044908; /* 0x2B0448F5: je 0x2b044908 */ 17908 L_2B0448F7: 17909 ecx = edi; /* 0x2B0448F7: mov ecx, edi */ 17910 RECOMP_ICALL(MEM32(0x2B0B58E8)); /* 0x2B0448F9: call dword ptr [0x2b0b58e8] */ 17911 RECOMP_FLAGS_IN(); 17912 PUSH32(esp, edi); /* 0x2B0448FF: push edi */ 17913 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B044900: call 0x2b0ab1ba */ /* not lifted */ 17914 RECOMP_FLAGS_IN(); 17915 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17916 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17917 esp = esp + 4; /* 0x2B044905: add esp, 4 */ 17918 _flag_k = FK_ADD; 17919 L_2B044908: 17920 ecx = MEM32(esi + 0xC); /* 0x2B044908: mov ecx, dword ptr [esi + 0xc] */ 17921 /* cmp ecx, ebx */ /* 0x2B04490B: cmp ecx, ebx */ 17922 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 17923 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17924 _flag_k = FK_CMP; 17925 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B044915; /* 0x2B04490D: je 0x2b044915 */ 17926 L_2B04490F: 17927 eax = MEM32(ecx); /* 0x2B04490F: mov eax, dword ptr [ecx] */ 17928 PUSH32(esp, 1); /* 0x2B044911: push 1 */ 17929 RECOMP_ICALL(MEM32(eax)); /* 0x2B044913: call dword ptr [eax] */ 17930 RECOMP_FLAGS_IN(); 17931 L_2B044915: 17932 ecx = MEM32(esi + 0x24); /* 0x2B044915: mov ecx, dword ptr [esi + 0x24] */ 17933 /* cmp ecx, ebx */ /* 0x2B044918: cmp ecx, ebx */ 17934 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 17935 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17936 _flag_k = FK_CMP; 17937 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B044922; /* 0x2B04491A: je 0x2b044922 */ 17938 L_2B04491C: 17939 edx = MEM32(ecx); /* 0x2B04491C: mov edx, dword ptr [ecx] */ 17940 PUSH32(esp, 1); /* 0x2B04491E: push 1 */ 17941 RECOMP_ICALL(MEM32(edx)); /* 0x2B044920: call dword ptr [edx] */ 17942 RECOMP_FLAGS_IN(); 17943 L_2B044922: 17944 ecx = MEM32(esi + 0x1C); /* 0x2B044922: mov ecx, dword ptr [esi + 0x1c] */ 17945 /* cmp ecx, ebx */ /* 0x2B044925: cmp ecx, ebx */ 17946 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 17947 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17948 _flag_k = FK_CMP; 17949 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B04492F; /* 0x2B044927: je 0x2b04492f */ 17950 L_2B044929: 17951 eax = MEM32(ecx); /* 0x2B044929: mov eax, dword ptr [ecx] */ 17952 PUSH32(esp, 1); /* 0x2B04492B: push 1 */ 17953 RECOMP_ICALL(MEM32(eax)); /* 0x2B04492D: call dword ptr [eax] */ 17954 RECOMP_FLAGS_IN(); 17955 L_2B04492F: 17956 ecx = MEM32(esi + 0x20); /* 0x2B04492F: mov ecx, dword ptr [esi + 0x20] */ 17957 /* cmp ecx, ebx */ /* 0x2B044932: cmp ecx, ebx */ 17958 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 17959 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17960 _flag_k = FK_CMP; 17961 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B04493C; /* 0x2B044934: je 0x2b04493c */ 17962 L_2B044936: 17963 edx = MEM32(ecx); /* 0x2B044936: mov edx, dword ptr [ecx] */ 17964 PUSH32(esp, 1); /* 0x2B044938: push 1 */ 17965 RECOMP_ICALL(MEM32(edx)); /* 0x2B04493A: call dword ptr [edx] */ 17966 RECOMP_FLAGS_IN(); 17967 L_2B04493C: 17968 edi = MEM32(esi + 0x8); /* 0x2B04493C: mov edi, dword ptr [esi + 8] */ 17969 /* cmp edi, ebx */ /* 0x2B04493F: cmp edi, ebx */ 17970 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 17971 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17972 _flag_k = FK_CMP; 17973 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B044954; /* 0x2B044941: je 0x2b044954 */ 17974 L_2B044943: 17975 ecx = edi; /* 0x2B044943: mov ecx, edi */ 17976 RECOMP_ICALL(MEM32(0x2B0B5BC4)); /* 0x2B044945: call dword ptr [0x2b0b5bc4] */ 17977 RECOMP_FLAGS_IN(); 17978 PUSH32(esp, edi); /* 0x2B04494B: push edi */ 17979 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B04494C: call 0x2b0ab1ba */ /* not lifted */ 17980 RECOMP_FLAGS_IN(); 17981 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17982 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17983 esp = esp + 4; /* 0x2B044951: add esp, 4 */ 17984 _flag_k = FK_ADD; 17985 L_2B044954: 17986 eax = MEM32(esi + 0x38); /* 0x2B044954: mov eax, dword ptr [esi + 0x38] */ 17987 /* cmp eax, ebx */ /* 0x2B044957: cmp eax, ebx */ 17988 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 17989 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17990 _flag_k = FK_CMP; 17991 edi = POP32_VAL(esp); /* 0x2B044959: pop edi */ 17992 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B044978; /* 0x2B04495A: je 0x2b044978 */ 17993 L_2B04495C: 17994 ecx = eax + (-0x1); /* 0x2B04495C: lea ecx, [eax - 1] */ 17995 SET_LO8(eax, MEM8(ecx)); /* 0x2B04495F: mov al, byte ptr [ecx] */ 17996 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B044961: cmp al, bl */ 17997 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17998 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17999 _flag_k = FK_NARROW(FK_CMP, 24); 18000 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B04496F; /* 0x2B044963: je 0x2b04496f */ 18001 L_2B044965: 18002 /* cmp LO8(eax), 0xFFu */ /* 0x2B044965: cmp al, 0xff */ 18003 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 18004 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18005 _flag_k = FK_NARROW(FK_CMP, 24); 18006 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B04496F; /* 0x2B044967: je 0x2b04496f */ 18007 L_2B044969: 18008 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 18009 SET_LO8(eax, LO8(eax) - 1); /* 0x2B044969: dec al */ 18010 _flag_k = FK_NARROW(FK_DEC, 24); 18011 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B04496B: mov byte ptr [ecx], al */ 18012 goto L_2B044978; /* 0x2B04496D: jmp 0x2b044978 */ 18013 L_2B04496F: 18014 PUSH32(esp, ecx); /* 0x2B04496F: push ecx */ 18015 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B044970: call 0x2b0ab1ba */ /* not lifted */ 18016 RECOMP_FLAGS_IN(); 18017 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18018 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18019 esp = esp + 4; /* 0x2B044975: add esp, 4 */ 18020 _flag_k = FK_ADD; 18021 L_2B044978: 18022 ecx = MEM32(ebp + (-0xC)); /* 0x2B044978: mov ecx, dword ptr [ebp - 0xc] */ 18023 MEM32(esi + 0x38) = ebx; /* 0x2B04497B: mov dword ptr [esi + 0x38], ebx */ 18024 MEM32(esi + 0x3C) = ebx; /* 0x2B04497E: mov dword ptr [esi + 0x3c], ebx */ 18025 MEM32(esi + 0x40) = ebx; /* 0x2B044981: mov dword ptr [esi + 0x40], ebx */ 18026 esi = POP32_VAL(esp); /* 0x2B044984: pop esi */ 18027 ebx = POP32_VAL(esp); /* 0x2B044985: pop ebx */ 18028 MEM32(FS_BASE + (0)) = ecx; /* 0x2B044986: mov dword ptr fs:[0], ecx */ 18029 esp = ebp; /* 0x2B04498D: mov esp, ebp */ 18030 ebp = POP32_VAL(esp); /* 0x2B04498F: pop ebp */ 18031 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B044990: ret */ 18032 RECOMP_REGS_OUT(); 18033 } 18034 18035 void sub_2B0449A0(void) { 18036 int _fpu_cmp = 0; 18037 uint32_t _cf = 0; 18038 int _df = 1; 18039 uint32_t _flag_k = FK_NONE; 18040 uint32_t _flag_a = 0, _flag_b = 0; 18041 uint32_t _itail_tgt = 0; 18042 RECOMP_REGS_LOCALS 18043 RECOMP_ENTER(0x2B0449A0u); 18044 18045 L_2B0449A0: 18046 PUSH32(esp, ebp); /* 0x2B0449A0: push ebp */ 18047 ebp = esp; /* 0x2B0449A1: mov ebp, esp */ 18048 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 18049 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18050 esp = esp - 8; /* 0x2B0449A3: sub esp, 8 */ 18051 _flag_k = FK_CMP; 18052 PUSH32(esp, esi); /* 0x2B0449A6: push esi */ 18053 esi = ecx; /* 0x2B0449A7: mov esi, ecx */ 18054 eax = MEM32(esi + 0x10); /* 0x2B0449A9: mov eax, dword ptr [esi + 0x10] */ 18055 MEM8(eax + 0x9) = (uint8_t)(1); /* 0x2B0449AC: mov byte ptr [eax + 9], 1 */ 18056 ecx = ebp + (-0x8); /* 0x2B0449B0: lea ecx, [ebp - 8] */ 18057 PUSH32(esp, ecx); /* 0x2B0449B3: push ecx */ 18058 ecx = MEM32(esi + 0x14); /* 0x2B0449B4: mov ecx, dword ptr [esi + 0x14] */ 18059 MEM32(ebp + (-0x8)) = 6; /* 0x2B0449B7: mov dword ptr [ebp - 8], 6 */ 18060 MEM32(ebp + (-0x4)) = 0x16u; /* 0x2B0449BE: mov dword ptr [ebp - 4], 0x16 */ 18061 RECOMP_ICALL(MEM32(0x2B0B58E0)); /* 0x2B0449C5: call dword ptr [0x2b0b58e0] */ 18062 RECOMP_FLAGS_IN(); 18063 ecx = MEM32(esi + 0x14); /* 0x2B0449CB: mov ecx, dword ptr [esi + 0x14] */ 18064 PUSH32(esp, 0); /* 0x2B0449CE: push 0 */ 18065 RECOMP_ICALL(MEM32(0x2B0B58E4)); /* 0x2B0449D0: call dword ptr [0x2b0b58e4] */ 18066 RECOMP_FLAGS_IN(); 18067 edx = MEM32(esi + 0xC); /* 0x2B0449D6: mov edx, dword ptr [esi + 0xc] */ 18068 MEM8(edx + 0x9) = (uint8_t)(1); /* 0x2B0449D9: mov byte ptr [edx + 9], 1 */ 18069 ecx = MEM32(esi + 0x24); /* 0x2B0449DD: mov ecx, dword ptr [esi + 0x24] */ 18070 RECOMP_ICALL(MEM32(0x2B0B5960)); /* 0x2B0449E0: call dword ptr [0x2b0b5960] */ 18071 RECOMP_FLAGS_IN(); 18072 esi = POP32_VAL(esp); /* 0x2B0449E6: pop esi */ 18073 esp = ebp; /* 0x2B0449E7: mov esp, ebp */ 18074 ebp = POP32_VAL(esp); /* 0x2B0449E9: pop ebp */ 18075 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0449EA: ret */ 18076 RECOMP_REGS_OUT(); 18077 } 18078 18079 void sub_2B0449F0(void) { 18080 int _fpu_cmp = 0; 18081 uint32_t _cf = 0; 18082 int _df = 1; 18083 uint32_t _flag_k = FK_NONE; 18084 uint32_t _flag_a = 0, _flag_b = 0; 18085 uint32_t _itail_tgt = 0; 18086 RECOMP_REGS_LOCALS 18087 RECOMP_ENTER(0x2B0449F0u); 18088 18089 L_2B0449F0: 18090 PUSH32(esp, ebx); /* 0x2B0449F0: push ebx */ 18091 PUSH32(esp, esi); /* 0x2B0449F1: push esi */ 18092 esi = ecx; /* 0x2B0449F2: mov esi, ecx */ 18093 eax = MEM32(esi + 0x1C); /* 0x2B0449F4: mov eax, dword ptr [esi + 0x1c] */ 18094 SET_LO8(ebx, 1); /* 0x2B0449F7: mov bl, 1 */ 18095 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B0449F9: mov byte ptr [eax + 8], bl */ 18096 ecx = MEM32(esi + 0x20); /* 0x2B0449FC: mov ecx, dword ptr [esi + 0x20] */ 18097 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B0449FF: mov byte ptr [ecx + 8], bl */ 18098 ecx = MEM32(esi + 0x8); /* 0x2B044A02: mov ecx, dword ptr [esi + 8] */ 18099 RECOMP_ICALL(MEM32(0x2B0B5BB4)); /* 0x2B044A05: call dword ptr [0x2b0b5bb4] */ 18100 RECOMP_FLAGS_IN(); 18101 edx = MEM32(esi + 0x18); /* 0x2B044A0B: mov edx, dword ptr [esi + 0x18] */ 18102 MEM8(edx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B044A0E: mov byte ptr [edx + 8], bl */ 18103 eax = MEM32(esi + 0x10); /* 0x2B044A11: mov eax, dword ptr [esi + 0x10] */ 18104 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B044A14: mov byte ptr [eax + 8], bl */ 18105 ecx = MEM32(esi + 0x14); /* 0x2B044A17: mov ecx, dword ptr [esi + 0x14] */ 18106 RECOMP_ICALL(MEM32(0x2B0B58DC)); /* 0x2B044A1A: call dword ptr [0x2b0b58dc] */ 18107 RECOMP_FLAGS_IN(); 18108 ecx = MEM32(esi + 0xC); /* 0x2B044A20: mov ecx, dword ptr [esi + 0xc] */ 18109 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B044A23: mov byte ptr [ecx + 8], bl */ 18110 ecx = MEM32(esi + 0x24); /* 0x2B044A26: mov ecx, dword ptr [esi + 0x24] */ 18111 RECOMP_ICALL(MEM32(0x2B0B5B3C)); /* 0x2B044A29: call dword ptr [0x2b0b5b3c] */ 18112 RECOMP_FLAGS_IN(); 18113 esi = POP32_VAL(esp); /* 0x2B044A2F: pop esi */ 18114 ebx = POP32_VAL(esp); /* 0x2B044A30: pop ebx */ 18115 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B044A31: ret */ 18116 RECOMP_REGS_OUT(); 18117 } 18118 18119 void sub_2B044A40(void) { 18120 int _fpu_cmp = 0; 18121 uint32_t _cf = 0; 18122 int _df = 1; 18123 uint32_t _flag_k = FK_NONE; 18124 uint32_t _flag_a = 0, _flag_b = 0; 18125 uint32_t _itail_tgt = 0; 18126 RECOMP_REGS_LOCALS 18127 RECOMP_ENTER(0x2B044A40u); 18128 18129 L_2B044A40: 18130 PUSH32(esp, ebx); /* 0x2B044A40: push ebx */ 18131 PUSH32(esp, esi); /* 0x2B044A41: push esi */ 18132 esi = ecx; /* 0x2B044A42: mov esi, ecx */ 18133 eax = MEM32(esi + 0x1C); /* 0x2B044A44: mov eax, dword ptr [esi + 0x1c] */ 18134 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 18135 SET_LO8(ebx, 0); /* 0x2B044A47: xor bl, bl */ 18136 _cf = 0; 18137 _flag_k = FK_NARROW(FK_TEST, 24); 18138 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B044A49: mov byte ptr [eax + 8], bl */ 18139 ecx = MEM32(esi + 0x20); /* 0x2B044A4C: mov ecx, dword ptr [esi + 0x20] */ 18140 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B044A4F: mov byte ptr [ecx + 8], bl */ 18141 ecx = MEM32(esi + 0x8); /* 0x2B044A52: mov ecx, dword ptr [esi + 8] */ 18142 RECOMP_ICALL(MEM32(0x2B0B5BAC)); /* 0x2B044A55: call dword ptr [0x2b0b5bac] */ 18143 RECOMP_FLAGS_IN(); 18144 edx = MEM32(esi + 0x18); /* 0x2B044A5B: mov edx, dword ptr [esi + 0x18] */ 18145 MEM8(edx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B044A5E: mov byte ptr [edx + 8], bl */ 18146 eax = MEM32(esi + 0x10); /* 0x2B044A61: mov eax, dword ptr [esi + 0x10] */ 18147 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B044A64: mov byte ptr [eax + 8], bl */ 18148 ecx = MEM32(esi + 0x14); /* 0x2B044A67: mov ecx, dword ptr [esi + 0x14] */ 18149 RECOMP_ICALL(MEM32(0x2B0B58D8)); /* 0x2B044A6A: call dword ptr [0x2b0b58d8] */ 18150 RECOMP_FLAGS_IN(); 18151 ecx = MEM32(esi + 0xC); /* 0x2B044A70: mov ecx, dword ptr [esi + 0xc] */ 18152 MEM8(ecx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B044A73: mov byte ptr [ecx + 8], bl */ 18153 ecx = MEM32(esi + 0x24); /* 0x2B044A76: mov ecx, dword ptr [esi + 0x24] */ 18154 RECOMP_ICALL(MEM32(0x2B0B5B34)); /* 0x2B044A79: call dword ptr [0x2b0b5b34] */ 18155 RECOMP_FLAGS_IN(); 18156 esi = POP32_VAL(esp); /* 0x2B044A7F: pop esi */ 18157 ebx = POP32_VAL(esp); /* 0x2B044A80: pop ebx */ 18158 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B044A81: ret */ 18159 RECOMP_REGS_OUT(); 18160 } 18161 18162 void sub_2B044A90(void) { 18163 int _fpu_cmp = 0; 18164 uint32_t _cf = 0; 18165 int _df = 1; 18166 uint32_t _flag_k = FK_NONE; 18167 uint32_t _flag_a = 0, _flag_b = 0; 18168 uint32_t _itail_tgt = 0; 18169 RECOMP_REGS_LOCALS 18170 RECOMP_ENTER(0x2B044A90u); 18171 18172 L_2B044A90: 18173 PUSH32(esp, ebp); /* 0x2B044A90: push ebp */ 18174 ebp = esp; /* 0x2B044A91: mov ebp, esp */ 18175 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B044A93: push -1 */ 18176 PUSH32(esp, 0x2B0AEF72u); /* 0x2B044A95: push 0x2b0aef72 */ 18177 eax = MEM32(FS_BASE + (0)); /* 0x2B044A9A: mov eax, dword ptr fs:[0] */ 18178 PUSH32(esp, eax); /* 0x2B044AA0: push eax */ 18179 MEM32(FS_BASE + (0)) = esp; /* 0x2B044AA1: mov dword ptr fs:[0], esp */ 18180 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x28u); 18181 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18182 esp = esp - 0x28u; /* 0x2B044AA8: sub esp, 0x28 */ 18183 _flag_k = FK_CMP; 18184 eax = MEM32(ebp + 0x8); /* 0x2B044AAB: mov eax, dword ptr [ebp + 8] */ 18185 PUSH32(esp, ebx); /* 0x2B044AAE: push ebx */ 18186 PUSH32(esp, esi); /* 0x2B044AAF: push esi */ 18187 esi = ecx; /* 0x2B044AB0: mov esi, ecx */ 18188 ecx = MEM32(eax); /* 0x2B044AB2: mov ecx, dword ptr [eax] */ 18189 MEM32(esi) = ecx; /* 0x2B044AB4: mov dword ptr [esi], ecx */ 18190 edx = MEM32(eax + 0x4); /* 0x2B044AB6: mov edx, dword ptr [eax + 4] */ 18191 MEM32(esi + 0x4) = edx; /* 0x2B044AB9: mov dword ptr [esi + 4], edx */ 18192 SET_LO8(eax, MEM8(0x2B0EEA6C)); /* 0x2B044ABC: mov al, byte ptr [0x2b0eea6c] */ 18193 /* test LO8(eax), 1 */ /* 0x2B044AC1: test al, 1 */ 18194 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 18195 _cf = 0; 18196 _flag_k = FK_NARROW(FK_TEST, 24); 18197 PUSH32(esp, edi); /* 0x2B044AC3: push edi */ 18198 edi = MEM32(0x2B0B5690); /* 0x2B044AC4: mov edi, dword ptr [0x2b0b5690] */ 18199 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B044AE2; /* 0x2B044ACA: jne 0x2b044ae2 */ 18200 L_2B044ACC: 18201 _flag_a = (uint32_t)((LO8(eax) | 1)) << 24; _flag_b = (uint32_t)((LO8(eax) | 1)) << 24; 18202 SET_LO8(eax, LO8(eax) | 1); /* 0x2B044ACC: or al, 1 */ 18203 _cf = 0; 18204 _flag_k = FK_NARROW(FK_TEST, 24); 18205 MEM8(0x2B0EEA6C) = (uint8_t)(LO8(eax)); /* 0x2B044ACE: mov byte ptr [0x2b0eea6c], al */ 18206 RECOMP_ICALL(edi); /* 0x2B044AD3: call edi */ 18207 RECOMP_FLAGS_IN(); 18208 ecx = eax; /* 0x2B044AD5: mov ecx, eax */ 18209 RECOMP_ICALL(MEM32(0x2B0B5688)); /* 0x2B044AD7: call dword ptr [0x2b0b5688] */ 18210 RECOMP_FLAGS_IN(); 18211 MEM32(0x2B0EEA68) = eax; /* 0x2B044ADD: mov dword ptr [0x2b0eea68], eax */ 18212 L_2B044AE2: 18213 SET_LO8(ecx, MEM8(0x2B0EEA6C)); /* 0x2B044AE2: mov cl, byte ptr [0x2b0eea6c] */ 18214 SET_LO8(eax, 2); /* 0x2B044AE8: mov al, 2 */ 18215 /* test LO8(eax), LO8(ecx) */ /* 0x2B044AEA: test al, cl */ 18216 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 18217 _cf = 0; 18218 _flag_k = FK_NARROW(FK_TEST, 24); 18219 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B044B05; /* 0x2B044AEC: jne 0x2b044b05 */ 18220 L_2B044AEE: 18221 _flag_a = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; _flag_b = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; 18222 SET_LO8(ecx, LO8(ecx) | LO8(eax)); /* 0x2B044AEE: or cl, al */ 18223 _cf = 0; 18224 _flag_k = FK_NARROW(FK_TEST, 24); 18225 MEM8(0x2B0EEA6C) = (uint8_t)(LO8(ecx)); /* 0x2B044AF0: mov byte ptr [0x2b0eea6c], cl */ 18226 RECOMP_ICALL(edi); /* 0x2B044AF6: call edi */ 18227 RECOMP_FLAGS_IN(); 18228 ecx = eax; /* 0x2B044AF8: mov ecx, eax */ 18229 RECOMP_ICALL(MEM32(0x2B0B568C)); /* 0x2B044AFA: call dword ptr [0x2b0b568c] */ 18230 RECOMP_FLAGS_IN(); 18231 MEM32(0x2B0EEA64) = eax; /* 0x2B044B00: mov dword ptr [0x2b0eea64], eax */ 18232 L_2B044B05: 18233 eax = MEM32(esi); /* 0x2B044B05: mov eax, dword ptr [esi] */ 18234 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18235 ebx = 0; /* 0x2B044B07: xor ebx, ebx */ 18236 _cf = 0; 18237 _flag_k = FK_TEST; 18238 /* cmp eax, ebx */ /* 0x2B044B09: cmp eax, ebx */ 18239 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 18240 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18241 _flag_k = FK_CMP; 18242 if (CMP_GE(_flag_a, _flag_b)) goto L_2B044B0F; /* 0x2B044B0B: jge 0x2b044b0f */ 18243 L_2B044B0D: 18244 MEM32(esi) = ebx; /* 0x2B044B0D: mov dword ptr [esi], ebx */ 18245 L_2B044B0F: 18246 /* cmp MEM32(esi + 0x4), ebx */ /* 0x2B044B0F: cmp dword ptr [esi + 4], ebx */ 18247 _flag_a = (uint32_t)(MEM32(esi + 0x4)); _flag_b = (uint32_t)(ebx); 18248 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18249 _flag_k = FK_CMP; 18250 if (CMP_GE(_flag_a, _flag_b)) goto L_2B044B17; /* 0x2B044B12: jge 0x2b044b17 */ 18251 L_2B044B14: 18252 MEM32(esi + 0x4) = ebx; /* 0x2B044B14: mov dword ptr [esi + 4], ebx */ 18253 L_2B044B17: 18254 ecx = MEM32(esi + 0x10); /* 0x2B044B17: mov ecx, dword ptr [esi + 0x10] */ 18255 edx = MEM32(0x2B0EEA68); /* 0x2B044B1A: mov edx, dword ptr [0x2b0eea68] */ 18256 eax = MEM32(ecx + 0x14); /* 0x2B044B20: mov eax, dword ptr [ecx + 0x14] */ 18257 edi = edx; /* 0x2B044B23: mov edi, edx */ 18258 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0xC)); 18259 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18260 edi = edi - MEM32(eax + 0xC); /* 0x2B044B25: sub edi, dword ptr [eax + 0xc] */ 18261 _flag_k = FK_CMP; 18262 /* cmp MEM32(esi), edi */ /* 0x2B044B28: cmp dword ptr [esi], edi */ 18263 _flag_a = (uint32_t)(MEM32(esi)); _flag_b = (uint32_t)(edi); 18264 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18265 _flag_k = FK_CMP; 18266 if (CMP_LE(_flag_a, _flag_b)) goto L_2B044B31; /* 0x2B044B2A: jle 0x2b044b31 */ 18267 L_2B044B2C: 18268 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0xC)); 18269 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18270 edx = edx - MEM32(eax + 0xC); /* 0x2B044B2C: sub edx, dword ptr [eax + 0xc] */ 18271 _flag_k = FK_CMP; 18272 MEM32(esi) = edx; /* 0x2B044B2F: mov dword ptr [esi], edx */ 18273 L_2B044B31: 18274 eax = MEM32(ecx + 0x14); /* 0x2B044B31: mov eax, dword ptr [ecx + 0x14] */ 18275 ecx = MEM32(0x2B0EEA64); /* 0x2B044B34: mov ecx, dword ptr [0x2b0eea64] */ 18276 edi = MEM32(eax + 0x8); /* 0x2B044B3A: mov edi, dword ptr [eax + 8] */ 18277 edx = ecx; /* 0x2B044B3D: mov edx, ecx */ 18278 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 18279 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18280 edx = edx - edi; /* 0x2B044B3F: sub edx, edi */ 18281 _flag_k = FK_CMP; 18282 /* cmp MEM32(esi + 0x4), edx */ /* 0x2B044B41: cmp dword ptr [esi + 4], edx */ 18283 _flag_a = (uint32_t)(MEM32(esi + 0x4)); _flag_b = (uint32_t)(edx); 18284 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18285 _flag_k = FK_CMP; 18286 if (CMP_LE(_flag_a, _flag_b)) goto L_2B044B4C; /* 0x2B044B44: jle 0x2b044b4c */ 18287 L_2B044B46: 18288 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 18289 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18290 ecx = ecx - MEM32(eax + 0x8); /* 0x2B044B46: sub ecx, dword ptr [eax + 8] */ 18291 _flag_k = FK_CMP; 18292 MEM32(esi + 0x4) = ecx; /* 0x2B044B49: mov dword ptr [esi + 4], ecx */ 18293 L_2B044B4C: 18294 PUSH32(esp, 0x58u); /* 0x2B044B4C: push 0x58 */ 18295 edi = esi + 0x34; /* 0x2B044B4E: lea edi, [esi + 0x34] */ 18296 eax = ebp + (-0x24); /* 0x2B044B51: lea eax, [ebp - 0x24] */ 18297 PUSH32(esp, edi); /* 0x2B044B54: push edi */ 18298 PUSH32(esp, eax); /* 0x2B044B55: push eax */ 18299 RECOMP_ICALL(0x2B0AB1DEu); /* 0x2B044B56: call 0x2b0ab1de */ /* not lifted */ 18300 RECOMP_FLAGS_IN(); 18301 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 18302 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18303 esp = esp + 0xCu; /* 0x2B044B5B: add esp, 0xc */ 18304 _flag_k = FK_ADD; 18305 eax = MEM32(ebp + (-0x20)); /* 0x2B044B5E: mov eax, dword ptr [ebp - 0x20] */ 18306 /* cmp eax, ebx */ /* 0x2B044B61: cmp eax, ebx */ 18307 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 18308 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18309 _flag_k = FK_CMP; 18310 MEM32(ebp + (-0x4)) = ebx; /* 0x2B044B63: mov dword ptr [ebp - 4], ebx */ 18311 if (CMP_NE(_flag_a, _flag_b)) goto L_2B044B6D; /* 0x2B044B66: jne 0x2b044b6d */ 18312 L_2B044B68: 18313 eax = MEM32(0x2B0B513C); /* 0x2B044B68: mov eax, dword ptr [0x2b0b513c] */ 18314 L_2B044B6D: 18315 edx = MEM32(ebp + 0x8); /* 0x2B044B6D: mov edx, dword ptr [ebp + 8] */ 18316 edx = MEM32(edx); /* 0x2B044B70: mov edx, dword ptr [edx] */ 18317 ecx = MEM32(0x2B0B6048); /* 0x2B044B72: mov ecx, dword ptr [0x2b0b6048] */ 18318 ecx = MEM32(ecx); /* 0x2B044B78: mov ecx, dword ptr [ecx] */ 18319 ebx = MEM32(0x2B0B604C); /* 0x2B044B7A: mov ebx, dword ptr [0x2b0b604c] */ 18320 PUSH32(esp, 1); /* 0x2B044B80: push 1 */ 18321 PUSH32(esp, 1); /* 0x2B044B82: push 1 */ 18322 PUSH32(esp, edx); /* 0x2B044B84: push edx */ 18323 PUSH32(esp, eax); /* 0x2B044B85: push eax */ 18324 RECOMP_ICALL(ebx); /* 0x2B044B86: call ebx */ 18325 RECOMP_FLAGS_IN(); 18326 PUSH32(esp, 0x59u); /* 0x2B044B88: push 0x59 */ 18327 eax = ebp + (-0x34); /* 0x2B044B8A: lea eax, [ebp - 0x34] */ 18328 PUSH32(esp, edi); /* 0x2B044B8D: push edi */ 18329 PUSH32(esp, eax); /* 0x2B044B8E: push eax */ 18330 RECOMP_ICALL(0x2B0AB1DEu); /* 0x2B044B8F: call 0x2b0ab1de */ /* not lifted */ 18331 RECOMP_FLAGS_IN(); 18332 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 18333 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18334 esp = esp + 0xCu; /* 0x2B044B94: add esp, 0xc */ 18335 _flag_k = FK_ADD; 18336 ecx = MEM32(0x2B0B515C); /* 0x2B044B97: mov ecx, dword ptr [0x2b0b515c] */ 18337 edx = MEM32(ecx); /* 0x2B044B9D: mov edx, dword ptr [ecx] */ 18338 PUSH32(esp, edx); /* 0x2B044B9F: push edx */ 18339 PUSH32(esp, 0); /* 0x2B044BA0: push 0 */ 18340 PUSH32(esp, eax); /* 0x2B044BA2: push eax */ 18341 ecx = ebp + (-0x24); /* 0x2B044BA3: lea ecx, [ebp - 0x24] */ 18342 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B044BA6: mov byte ptr [ebp - 4], 1 */ 18343 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B044BAA: call dword ptr [0x2b0b5158] */ 18344 RECOMP_FLAGS_IN(); 18345 eax = MEM32(ebp + (-0x30)); /* 0x2B044BB0: mov eax, dword ptr [ebp - 0x30] */ 18346 /* test eax, eax */ /* 0x2B044BB3: test eax, eax */ 18347 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 18348 _cf = 0; 18349 _flag_k = FK_TEST; 18350 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B044BB5: mov byte ptr [ebp - 4], 0 */ 18351 if (TEST_Z(_flag_a, _flag_b)) goto L_2B044BD7; /* 0x2B044BB9: je 0x2b044bd7 */ 18352 L_2B044BBB: 18353 ecx = eax + (-0x1); /* 0x2B044BBB: lea ecx, [eax - 1] */ 18354 SET_LO8(eax, MEM8(ecx)); /* 0x2B044BBE: mov al, byte ptr [ecx] */ 18355 /* test LO8(eax), LO8(eax) */ /* 0x2B044BC0: test al, al */ 18356 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18357 _cf = 0; 18358 _flag_k = FK_NARROW(FK_TEST, 24); 18359 if (TEST_Z(_flag_a, _flag_b)) goto L_2B044BCE; /* 0x2B044BC2: je 0x2b044bce */ 18360 L_2B044BC4: 18361 /* cmp LO8(eax), 0xFFu */ /* 0x2B044BC4: cmp al, 0xff */ 18362 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 18363 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18364 _flag_k = FK_NARROW(FK_CMP, 24); 18365 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B044BCE; /* 0x2B044BC6: je 0x2b044bce */ 18366 L_2B044BC8: 18367 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 18368 SET_LO8(eax, LO8(eax) - 1); /* 0x2B044BC8: dec al */ 18369 _flag_k = FK_NARROW(FK_DEC, 24); 18370 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B044BCA: mov byte ptr [ecx], al */ 18371 goto L_2B044BD7; /* 0x2B044BCC: jmp 0x2b044bd7 */ 18372 L_2B044BCE: 18373 PUSH32(esp, ecx); /* 0x2B044BCE: push ecx */ 18374 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B044BCF: call 0x2b0ab1ba */ /* not lifted */ 18375 RECOMP_FLAGS_IN(); 18376 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18377 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18378 esp = esp + 4; /* 0x2B044BD4: add esp, 4 */ 18379 _flag_k = FK_ADD; 18380 L_2B044BD7: 18381 eax = MEM32(ebp + (-0x20)); /* 0x2B044BD7: mov eax, dword ptr [ebp - 0x20] */ 18382 /* test eax, eax */ /* 0x2B044BDA: test eax, eax */ 18383 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 18384 _cf = 0; 18385 _flag_k = FK_TEST; 18386 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B044BE3; /* 0x2B044BDC: jne 0x2b044be3 */ 18387 L_2B044BDE: 18388 eax = MEM32(0x2B0B513C); /* 0x2B044BDE: mov eax, dword ptr [0x2b0b513c] */ 18389 L_2B044BE3: 18390 ecx = MEM32(ebp + 0x8); /* 0x2B044BE3: mov ecx, dword ptr [ebp + 8] */ 18391 edx = MEM32(ecx + 0x4); /* 0x2B044BE6: mov edx, dword ptr [ecx + 4] */ 18392 PUSH32(esp, 1); /* 0x2B044BE9: push 1 */ 18393 PUSH32(esp, 1); /* 0x2B044BEB: push 1 */ 18394 PUSH32(esp, edx); /* 0x2B044BED: push edx */ 18395 PUSH32(esp, eax); /* 0x2B044BEE: push eax */ 18396 eax = MEM32(0x2B0B6048); /* 0x2B044BEF: mov eax, dword ptr [0x2b0b6048] */ 18397 ecx = MEM32(eax); /* 0x2B044BF4: mov ecx, dword ptr [eax] */ 18398 RECOMP_ICALL(ebx); /* 0x2B044BF6: call ebx */ 18399 RECOMP_FLAGS_IN(); 18400 ecx = MEM32(esi); /* 0x2B044BF8: mov ecx, dword ptr [esi] */ 18401 edx = MEM32(esi + 0x4); /* 0x2B044BFA: mov edx, dword ptr [esi + 4] */ 18402 eax = ebp + (-0x14); /* 0x2B044BFD: lea eax, [ebp - 0x14] */ 18403 MEM32(ebp + (-0x14)) = ecx; /* 0x2B044C00: mov dword ptr [ebp - 0x14], ecx */ 18404 ecx = MEM32(esi + 0x8); /* 0x2B044C03: mov ecx, dword ptr [esi + 8] */ 18405 PUSH32(esp, eax); /* 0x2B044C06: push eax */ 18406 MEM32(ebp + (-0x10)) = edx; /* 0x2B044C07: mov dword ptr [ebp - 0x10], edx */ 18407 RECOMP_ICALL(MEM32(0x2B0B5BB8)); /* 0x2B044C0A: call dword ptr [0x2b0b5bb8] */ 18408 RECOMP_FLAGS_IN(); 18409 ecx = MEM32(ebp + (-0x20)); /* 0x2B044C10: mov ecx, dword ptr [ebp - 0x20] */ 18410 /* test ecx, ecx */ /* 0x2B044C13: test ecx, ecx */ 18411 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 18412 _cf = 0; 18413 _flag_k = FK_TEST; 18414 edi = POP32_VAL(esp); /* 0x2B044C15: pop edi */ 18415 esi = POP32_VAL(esp); /* 0x2B044C16: pop esi */ 18416 ebx = POP32_VAL(esp); /* 0x2B044C17: pop ebx */ 18417 if (TEST_Z(_flag_a, _flag_b)) goto L_2B044C44; /* 0x2B044C18: je 0x2b044c44 */ 18418 L_2B044C1A: 18419 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B044C1A: mov al, byte ptr [ecx - 1] */ 18420 /* test LO8(eax), LO8(eax) */ /* 0x2B044C1D: test al, al */ 18421 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18422 _cf = 0; 18423 _flag_k = FK_NARROW(FK_TEST, 24); 18424 if (TEST_Z(_flag_a, _flag_b)) goto L_2B044C3A; /* 0x2B044C1F: je 0x2b044c3a */ 18425 L_2B044C21: 18426 /* cmp LO8(eax), 0xFFu */ /* 0x2B044C21: cmp al, 0xff */ 18427 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 18428 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18429 _flag_k = FK_NARROW(FK_CMP, 24); 18430 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B044C3A; /* 0x2B044C23: je 0x2b044c3a */ 18431 L_2B044C25: 18432 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 18433 SET_LO8(eax, LO8(eax) - 1); /* 0x2B044C25: dec al */ 18434 _flag_k = FK_NARROW(FK_DEC, 24); 18435 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B044C27: mov byte ptr [ecx - 1], al */ 18436 ecx = MEM32(ebp + (-0xC)); /* 0x2B044C2A: mov ecx, dword ptr [ebp - 0xc] */ 18437 MEM32(FS_BASE + (0)) = ecx; /* 0x2B044C2D: mov dword ptr fs:[0], ecx */ 18438 esp = ebp; /* 0x2B044C34: mov esp, ebp */ 18439 ebp = POP32_VAL(esp); /* 0x2B044C36: pop ebp */ 18440 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B044C37: ret 4 */ 18441 L_2B044C3A: 18442 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 18443 ecx = ecx - 1; /* 0x2B044C3A: dec ecx */ 18444 _flag_k = FK_DEC; 18445 PUSH32(esp, ecx); /* 0x2B044C3B: push ecx */ 18446 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B044C3C: call 0x2b0ab1ba */ /* not lifted */ 18447 RECOMP_FLAGS_IN(); 18448 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18449 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18450 esp = esp + 4; /* 0x2B044C41: add esp, 4 */ 18451 _flag_k = FK_ADD; 18452 L_2B044C44: 18453 ecx = MEM32(ebp + (-0xC)); /* 0x2B044C44: mov ecx, dword ptr [ebp - 0xc] */ 18454 MEM32(FS_BASE + (0)) = ecx; /* 0x2B044C47: mov dword ptr fs:[0], ecx */ 18455 esp = ebp; /* 0x2B044C4E: mov esp, ebp */ 18456 ebp = POP32_VAL(esp); /* 0x2B044C50: pop ebp */ 18457 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B044C51: ret 4 */ 18458 RECOMP_REGS_OUT(); 18459 } 18460 18461 void sub_2B044C60(void) { 18462 int _fpu_cmp = 0; 18463 uint32_t _cf = 0; 18464 int _df = 1; 18465 uint32_t _flag_k = FK_NONE; 18466 uint32_t _flag_a = 0, _flag_b = 0; 18467 uint32_t _itail_tgt = 0; 18468 RECOMP_REGS_LOCALS 18469 RECOMP_ENTER(0x2B044C60u); 18470 18471 L_2B044C60: 18472 PUSH32(esp, ebp); /* 0x2B044C60: push ebp */ 18473 ebp = esp; /* 0x2B044C61: mov ebp, esp */ 18474 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B044C63: push -1 */ 18475 PUSH32(esp, 0x2B0AEFC6u); /* 0x2B044C65: push 0x2b0aefc6 */ 18476 eax = MEM32(FS_BASE + (0)); /* 0x2B044C6A: mov eax, dword ptr fs:[0] */ 18477 PUSH32(esp, eax); /* 0x2B044C70: push eax */ 18478 MEM32(FS_BASE + (0)) = esp; /* 0x2B044C71: mov dword ptr fs:[0], esp */ 18479 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x44u); 18480 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18481 esp = esp - 0x44u; /* 0x2B044C78: sub esp, 0x44 */ 18482 _flag_k = FK_CMP; 18483 PUSH32(esp, esi); /* 0x2B044C7B: push esi */ 18484 esi = ecx; /* 0x2B044C7C: mov esi, ecx */ 18485 SET_LO8(eax, MEM8(esi + 0x30)); /* 0x2B044C7E: mov al, byte ptr [esi + 0x30] */ 18486 /* test LO8(eax), LO8(eax) */ /* 0x2B044C81: test al, al */ 18487 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18488 _cf = 0; 18489 _flag_k = FK_NARROW(FK_TEST, 24); 18490 PUSH32(esp, edi); /* 0x2B044C83: push edi */ 18491 if (TEST_Z(_flag_a, _flag_b)) goto L_2B044CAB; /* 0x2B044C84: je 0x2b044cab */ 18492 L_2B044C86: 18493 eax = esi + 0x28; /* 0x2B044C86: lea eax, [esi + 0x28] */ 18494 PUSH32(esp, eax); /* 0x2B044C89: push eax */ 18495 ecx = ebp + (-0x14); /* 0x2B044C8A: lea ecx, [ebp - 0x14] */ 18496 RECOMP_ICALL(0x2B007700u); /* 0x2B044C8D: call 0x2b007700 */ /* not lifted */ 18497 RECOMP_FLAGS_IN(); 18498 ecx = ebp + (-0x14); /* 0x2B044C92: lea ecx, [ebp - 0x14] */ 18499 PUSH32(esp, ecx); /* 0x2B044C95: push ecx */ 18500 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B044C96: call dword ptr [0x2b0b5d6c] */ 18501 RECOMP_FLAGS_IN(); 18502 ecx = eax; /* 0x2B044C9C: mov ecx, eax */ 18503 RECOMP_ICALL(MEM32(0x2B0B5EF0)); /* 0x2B044C9E: call dword ptr [0x2b0b5ef0] */ 18504 RECOMP_FLAGS_IN(); 18505 ecx = esi; /* 0x2B044CA4: mov ecx, esi */ 18506 RECOMP_ICALL(0x2B045020u); /* 0x2B044CA6: call 0x2b045020 */ /* not lifted */ 18507 RECOMP_FLAGS_IN(); 18508 L_2B044CAB: 18509 eax = MEM32(ebp + 0x8); /* 0x2B044CAB: mov eax, dword ptr [ebp + 8] */ 18510 SET_LO8(ecx, MEM8(ebp + 0xC)); /* 0x2B044CAE: mov cl, byte ptr [ebp + 0xc] */ 18511 MEM8(esi + 0x30) = (uint8_t)(1); /* 0x2B044CB1: mov byte ptr [esi + 0x30], 1 */ 18512 edx = MEM32(eax); /* 0x2B044CB5: mov edx, dword ptr [eax] */ 18513 edi = esi + 0x28; /* 0x2B044CB7: lea edi, [esi + 0x28] */ 18514 MEM32(edi) = edx; /* 0x2B044CBA: mov dword ptr [edi], edx */ 18515 eax = MEM32(eax + 0x4); /* 0x2B044CBC: mov eax, dword ptr [eax + 4] */ 18516 SET_LO8(edx, MEM8(ebp + 0x10)); /* 0x2B044CBF: mov dl, byte ptr [ebp + 0x10] */ 18517 PUSH32(esp, ebx); /* 0x2B044CC2: push ebx */ 18518 PUSH32(esp, edi); /* 0x2B044CC3: push edi */ 18519 MEM32(edi + 0x4) = eax; /* 0x2B044CC4: mov dword ptr [edi + 4], eax */ 18520 MEM8(esi + 0x32) = (uint8_t)(LO8(ecx)); /* 0x2B044CC7: mov byte ptr [esi + 0x32], cl */ 18521 MEM8(esi + 0x31) = (uint8_t)(LO8(edx)); /* 0x2B044CCA: mov byte ptr [esi + 0x31], dl */ 18522 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B044CCD: call dword ptr [0x2b0b5d6c] */ 18523 RECOMP_FLAGS_IN(); 18524 ecx = eax; /* 0x2B044CD3: mov ecx, eax */ 18525 RECOMP_ICALL(MEM32(0x2B0B5F2C)); /* 0x2B044CD5: call dword ptr [0x2b0b5f2c] */ 18526 RECOMP_FLAGS_IN(); 18527 SET_LO8(ecx, LO8(eax)); /* 0x2B044CDB: mov cl, al */ 18528 _flag_a = (uint32_t)((ebx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ebx | 0xFFFFFFFFu)); 18529 ebx = ebx | 0xFFFFFFFFu; /* 0x2B044CDD: or ebx, 0xffffffff */ 18530 _cf = 0; 18531 _flag_k = FK_TEST; 18532 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18533 eax = 0; /* 0x2B044CE0: xor eax, eax */ 18534 _cf = 0; 18535 _flag_k = FK_TEST; 18536 /* test LO8(ecx), LO8(ecx) */ /* 0x2B044CE2: test cl, cl */ 18537 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 18538 _cf = 0; 18539 _flag_k = FK_NARROW(FK_TEST, 24); 18540 MEM8(esi + 0x33) = (uint8_t)(LO8(ecx)); /* 0x2B044CE4: mov byte ptr [esi + 0x33], cl */ 18541 if (TEST_Z(_flag_a, _flag_b)) goto L_2B044D3E; /* 0x2B044CE7: je 0x2b044d3e */ 18542 L_2B044CE9: 18543 eax = MEM32(0x2B0B58EC); /* 0x2B044CE9: mov eax, dword ptr [0x2b0b58ec] */ 18544 /* cmp MEM32(eax), 0 */ /* 0x2B044CEE: cmp dword ptr [eax], 0 */ 18545 _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0); 18546 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18547 _flag_k = FK_CMP; 18548 if (CMP_NE(_flag_a, _flag_b)) goto L_2B044D26; /* 0x2B044CF1: jne 0x2b044d26 */ 18549 L_2B044CF3: 18550 PUSH32(esp, 8); /* 0x2B044CF3: push 8 */ 18551 RECOMP_ICALL(0x2B0AB212u); /* 0x2B044CF5: call 0x2b0ab212 */ /* not lifted */ 18552 RECOMP_FLAGS_IN(); 18553 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18554 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18555 esp = esp + 4; /* 0x2B044CFA: add esp, 4 */ 18556 _flag_k = FK_ADD; 18557 MEM32(ebp + 0xC) = eax; /* 0x2B044CFD: mov dword ptr [ebp + 0xc], eax */ 18558 /* test eax, eax */ /* 0x2B044D00: test eax, eax */ 18559 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 18560 _cf = 0; 18561 _flag_k = FK_TEST; 18562 MEM32(ebp + (-0x4)) = 0; /* 0x2B044D02: mov dword ptr [ebp - 4], 0 */ 18563 if (TEST_Z(_flag_a, _flag_b)) goto L_2B044D15; /* 0x2B044D09: je 0x2b044d15 */ 18564 L_2B044D0B: 18565 ecx = eax; /* 0x2B044D0B: mov ecx, eax */ 18566 RECOMP_ICALL(MEM32(0x2B0B58F0)); /* 0x2B044D0D: call dword ptr [0x2b0b58f0] */ 18567 RECOMP_FLAGS_IN(); 18568 goto L_2B044D17; /* 0x2B044D13: jmp 0x2b044d17 */ 18569 L_2B044D15: 18570 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18571 eax = 0; /* 0x2B044D15: xor eax, eax */ 18572 _cf = 0; 18573 _flag_k = FK_TEST; 18574 L_2B044D17: 18575 ecx = MEM32(0x2B0B58EC); /* 0x2B044D17: mov ecx, dword ptr [0x2b0b58ec] */ 18576 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B044D1D: mov dword ptr [ebp - 4], 0xffffffff */ 18577 MEM32(ecx) = eax; /* 0x2B044D24: mov dword ptr [ecx], eax */ 18578 L_2B044D26: 18579 edx = MEM32(0x2B0B58EC); /* 0x2B044D26: mov edx, dword ptr [0x2b0b58ec] */ 18580 ecx = MEM32(edx); /* 0x2B044D2C: mov ecx, dword ptr [edx] */ 18581 PUSH32(esp, 2); /* 0x2B044D2E: push 2 */ 18582 PUSH32(esp, edi); /* 0x2B044D30: push edi */ 18583 RECOMP_ICALL(MEM32(0x2B0B58F4)); /* 0x2B044D31: call dword ptr [0x2b0b58f4] */ 18584 RECOMP_FLAGS_IN(); 18585 ebx = 0x15u; /* 0x2B044D37: mov ebx, 0x15 */ 18586 goto L_2B044D99; /* 0x2B044D3C: jmp 0x2b044d99 */ 18587 L_2B044D3E: 18588 /* cmp MEM32(edi), 0xDEADu */ /* 0x2B044D3E: cmp dword ptr [edi], 0xdead */ 18589 _flag_a = (uint32_t)(MEM32(edi)); _flag_b = (uint32_t)(0xDEADu); 18590 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18591 _flag_k = FK_CMP; 18592 if (CMP_NE(_flag_a, _flag_b)) goto L_2B044D99; /* 0x2B044D44: jne 0x2b044d99 */ 18593 L_2B044D46: 18594 eax = MEM32(0x2B0B58EC); /* 0x2B044D46: mov eax, dword ptr [0x2b0b58ec] */ 18595 /* cmp MEM32(eax), 0 */ /* 0x2B044D4B: cmp dword ptr [eax], 0 */ 18596 _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0); 18597 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18598 _flag_k = FK_CMP; 18599 if (CMP_NE(_flag_a, _flag_b)) goto L_2B044D83; /* 0x2B044D4E: jne 0x2b044d83 */ 18600 L_2B044D50: 18601 PUSH32(esp, 8); /* 0x2B044D50: push 8 */ 18602 RECOMP_ICALL(0x2B0AB212u); /* 0x2B044D52: call 0x2b0ab212 */ /* not lifted */ 18603 RECOMP_FLAGS_IN(); 18604 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18605 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18606 esp = esp + 4; /* 0x2B044D57: add esp, 4 */ 18607 _flag_k = FK_ADD; 18608 MEM32(ebp + 0xC) = eax; /* 0x2B044D5A: mov dword ptr [ebp + 0xc], eax */ 18609 /* test eax, eax */ /* 0x2B044D5D: test eax, eax */ 18610 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 18611 _cf = 0; 18612 _flag_k = FK_TEST; 18613 MEM32(ebp + (-0x4)) = 1; /* 0x2B044D5F: mov dword ptr [ebp - 4], 1 */ 18614 if (TEST_Z(_flag_a, _flag_b)) goto L_2B044D72; /* 0x2B044D66: je 0x2b044d72 */ 18615 L_2B044D68: 18616 ecx = eax; /* 0x2B044D68: mov ecx, eax */ 18617 RECOMP_ICALL(MEM32(0x2B0B58F0)); /* 0x2B044D6A: call dword ptr [0x2b0b58f0] */ 18618 RECOMP_FLAGS_IN(); 18619 goto L_2B044D74; /* 0x2B044D70: jmp 0x2b044d74 */ 18620 L_2B044D72: 18621 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18622 eax = 0; /* 0x2B044D72: xor eax, eax */ 18623 _cf = 0; 18624 _flag_k = FK_TEST; 18625 L_2B044D74: 18626 ecx = MEM32(0x2B0B58EC); /* 0x2B044D74: mov ecx, dword ptr [0x2b0b58ec] */ 18627 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B044D7A: mov dword ptr [ebp - 4], 0xffffffff */ 18628 MEM32(ecx) = eax; /* 0x2B044D81: mov dword ptr [ecx], eax */ 18629 L_2B044D83: 18630 edx = MEM32(0x2B0B58EC); /* 0x2B044D83: mov edx, dword ptr [0x2b0b58ec] */ 18631 ecx = MEM32(edx); /* 0x2B044D89: mov ecx, dword ptr [edx] */ 18632 PUSH32(esp, 3); /* 0x2B044D8B: push 3 */ 18633 PUSH32(esp, edi); /* 0x2B044D8D: push edi */ 18634 RECOMP_ICALL(MEM32(0x2B0B58F4)); /* 0x2B044D8E: call dword ptr [0x2b0b58f4] */ 18635 RECOMP_FLAGS_IN(); 18636 ebx = 0x66u; /* 0x2B044D94: mov ebx, 0x66 */ 18637 L_2B044D99: 18638 ecx = MEM32(esi + 0x14); /* 0x2B044D99: mov ecx, dword ptr [esi + 0x14] */ 18639 PUSH32(esp, eax); /* 0x2B044D9C: push eax */ 18640 RECOMP_ICALL(MEM32(0x2B0B5834)); /* 0x2B044D9D: call dword ptr [0x2b0b5834] */ 18641 RECOMP_FLAGS_IN(); 18642 ecx = MEM32(esi + 0x14); /* 0x2B044DA3: mov ecx, dword ptr [esi + 0x14] */ 18643 PUSH32(esp, ebx); /* 0x2B044DA6: push ebx */ 18644 RECOMP_ICALL(MEM32(0x2B0B58FC)); /* 0x2B044DA7: call dword ptr [0x2b0b58fc] */ 18645 RECOMP_FLAGS_IN(); 18646 /* cmp MEM32(edi), 0xDEAAu */ /* 0x2B044DAD: cmp dword ptr [edi], 0xdeaa */ 18647 _flag_a = (uint32_t)(MEM32(edi)); _flag_b = (uint32_t)(0xDEAAu); 18648 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18649 _flag_k = FK_CMP; 18650 eax = MEM32(esi + 0x14); /* 0x2B044DB3: mov eax, dword ptr [esi + 0x14] */ 18651 if (CMP_NE(_flag_a, _flag_b)) goto L_2B044DBE; /* 0x2B044DB6: jne 0x2b044dbe */ 18652 L_2B044DB8: 18653 MEM8(eax + 0x55) = (uint8_t)(1); /* 0x2B044DB8: mov byte ptr [eax + 0x55], 1 */ 18654 goto L_2B044DC2; /* 0x2B044DBC: jmp 0x2b044dc2 */ 18655 L_2B044DBE: 18656 MEM8(eax + 0x55) = (uint8_t)(0); /* 0x2B044DBE: mov byte ptr [eax + 0x55], 0 */ 18657 L_2B044DC2: 18658 ecx = esi; /* 0x2B044DC2: mov ecx, esi */ 18659 RECOMP_ICALL(0x2B045320u); /* 0x2B044DC4: call 0x2b045320 */ /* not lifted */ 18660 RECOMP_FLAGS_IN(); 18661 /* cmp MEM32(edi), 0xDEAEu */ /* 0x2B044DC9: cmp dword ptr [edi], 0xdeae */ 18662 _flag_a = (uint32_t)(MEM32(edi)); _flag_b = (uint32_t)(0xDEAEu); 18663 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18664 _flag_k = FK_CMP; 18665 if (CMP_NE(_flag_a, _flag_b)) goto L_2B044DEC; /* 0x2B044DCF: jne 0x2b044dec */ 18666 L_2B044DD1: 18667 eax = MEM32(esi + 0x14); /* 0x2B044DD1: mov eax, dword ptr [esi + 0x14] */ 18668 MEM32(ebp + (-0x14)) = 0; /* 0x2B044DD4: mov dword ptr [ebp - 0x14], 0 */ 18669 MEM32(ebp + (-0x10)) = 0x3FF00000u; /* 0x2B044DDB: mov dword ptr [ebp - 0x10], 0x3ff00000 */ 18670 eax = MEM32(eax + 0x4); /* 0x2B044DE2: mov eax, dword ptr [eax + 4] */ 18671 PUSH32(esp, 0); /* 0x2B044DE5: push 0 */ 18672 ecx = ebp + (-0x14); /* 0x2B044DE7: lea ecx, [ebp - 0x14] */ 18673 goto L_2B044E05; /* 0x2B044DEA: jmp 0x2b044e05 */ 18674 L_2B044DEC: 18675 edx = MEM32(esi + 0x14); /* 0x2B044DEC: mov edx, dword ptr [esi + 0x14] */ 18676 MEM32(ebp + (-0x14)) = 0; /* 0x2B044DEF: mov dword ptr [ebp - 0x14], 0 */ 18677 MEM32(ebp + (-0x10)) = 0; /* 0x2B044DF6: mov dword ptr [ebp - 0x10], 0 */ 18678 eax = MEM32(edx + 0x4); /* 0x2B044DFD: mov eax, dword ptr [edx + 4] */ 18679 PUSH32(esp, 0); /* 0x2B044E00: push 0 */ 18680 ecx = ebp + (-0x14); /* 0x2B044E02: lea ecx, [ebp - 0x14] */ 18681 L_2B044E05: 18682 PUSH32(esp, ecx); /* 0x2B044E05: push ecx */ 18683 ecx = MEM32(eax); /* 0x2B044E06: mov ecx, dword ptr [eax] */ 18684 RECOMP_ICALL(MEM32(0x2B0B5BA4)); /* 0x2B044E08: call dword ptr [0x2b0b5ba4] */ 18685 RECOMP_FLAGS_IN(); 18686 PUSH32(esp, edi); /* 0x2B044E0E: push edi */ 18687 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B044E0F: call dword ptr [0x2b0b5d6c] */ 18688 RECOMP_FLAGS_IN(); 18689 ecx = eax; /* 0x2B044E15: mov ecx, eax */ 18690 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B044E17: call dword ptr [0x2b0b5d50] */ 18691 RECOMP_FLAGS_IN(); 18692 SET_LO8(edx, MEM8(ebp + 0xF)); /* 0x2B044E1D: mov dl, byte ptr [ebp + 0xf] */ 18693 PUSH32(esp, 0); /* 0x2B044E20: push 0 */ 18694 ecx = ebp + (-0x50); /* 0x2B044E22: lea ecx, [ebp - 0x50] */ 18695 ebx = eax; /* 0x2B044E25: mov ebx, eax */ 18696 MEM8(ebp + (-0x50)) = (uint8_t)(LO8(edx)); /* 0x2B044E27: mov byte ptr [ebp - 0x50], dl */ 18697 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B044E2A: call dword ptr [0x2b0b514c] */ 18698 RECOMP_FLAGS_IN(); 18699 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 18700 ecx = ecx | 0xFFFFFFFFu; /* 0x2B044E30: or ecx, 0xffffffff */ 18701 _cf = 0; 18702 _flag_k = FK_TEST; 18703 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18704 eax = 0; /* 0x2B044E33: xor eax, eax */ 18705 _cf = 0; 18706 _flag_k = FK_TEST; 18707 edi = ebx; /* 0x2B044E35: mov edi, ebx */ 18708 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; } /* 0x2B044E37: repne scasb al, byte ptr es:[edi] */ 18709 ecx = ~ecx; /* 0x2B044E39: not ecx */ 18710 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 18711 ecx = ecx - 1; /* 0x2B044E3B: dec ecx */ 18712 _flag_k = FK_DEC; 18713 PUSH32(esp, ecx); /* 0x2B044E3C: push ecx */ 18714 PUSH32(esp, ebx); /* 0x2B044E3D: push ebx */ 18715 ecx = ebp + (-0x50); /* 0x2B044E3E: lea ecx, [ebp - 0x50] */ 18716 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B044E41: call dword ptr [0x2b0b5148] */ 18717 RECOMP_FLAGS_IN(); 18718 MEM32(ebp + (-0x40)) = 0; /* 0x2B044E47: mov dword ptr [ebp - 0x40], 0 */ 18719 SET_LO8(eax, MEM8(esi + 0x33)); /* 0x2B044E4E: mov al, byte ptr [esi + 0x33] */ 18720 /* test LO8(eax), LO8(eax) */ /* 0x2B044E51: test al, al */ 18721 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18722 _cf = 0; 18723 _flag_k = FK_NARROW(FK_TEST, 24); 18724 MEM32(ebp + (-0x4)) = 2; /* 0x2B044E53: mov dword ptr [ebp - 4], 2 */ 18725 if (TEST_Z(_flag_a, _flag_b)) goto L_2B044E63; /* 0x2B044E5A: je 0x2b044e63 */ 18726 L_2B044E5C: 18727 PUSH32(esp, 0x00FF4444u); /* 0x2B044E5C: push 0xff4444 */ 18728 goto L_2B044E68; /* 0x2B044E61: jmp 0x2b044e68 */ 18729 L_2B044E63: 18730 PUSH32(esp, 0x00FFFF44u); /* 0x2B044E63: push 0xffff44 */ 18731 L_2B044E68: 18732 ecx = MEM32(esi + 0xC); /* 0x2B044E68: mov ecx, dword ptr [esi + 0xc] */ 18733 RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B044E6B: call dword ptr [0x2b0b5858] */ 18734 RECOMP_FLAGS_IN(); 18735 ecx = MEM32(0x2B0B515C); /* 0x2B044E71: mov ecx, dword ptr [0x2b0b515c] */ 18736 edx = MEM32(ecx); /* 0x2B044E77: mov edx, dword ptr [ecx] */ 18737 eax = MEM32(esi + 0xC); /* 0x2B044E79: mov eax, dword ptr [esi + 0xc] */ 18738 PUSH32(esp, edx); /* 0x2B044E7C: push edx */ 18739 PUSH32(esp, 0); /* 0x2B044E7D: push 0 */ 18740 ecx = ebp + (-0x50); /* 0x2B044E7F: lea ecx, [ebp - 0x50] */ 18741 PUSH32(esp, ecx); /* 0x2B044E82: push ecx */ 18742 ecx = eax + 0x14; /* 0x2B044E83: lea ecx, [eax + 0x14] */ 18743 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B044E86: call dword ptr [0x2b0b5158] */ 18744 RECOMP_FLAGS_IN(); 18745 PUSH32(esp, 0x58u); /* 0x2B044E8C: push 0x58 */ 18746 edi = esi + 0x34; /* 0x2B044E8E: lea edi, [esi + 0x34] */ 18747 edx = ebp + (-0x2C); /* 0x2B044E91: lea edx, [ebp - 0x2c] */ 18748 PUSH32(esp, edi); /* 0x2B044E94: push edi */ 18749 PUSH32(esp, edx); /* 0x2B044E95: push edx */ 18750 RECOMP_ICALL(0x2B0AB1DEu); /* 0x2B044E96: call 0x2b0ab1de */ /* not lifted */ 18751 RECOMP_FLAGS_IN(); 18752 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 18753 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18754 esp = esp + 0xCu; /* 0x2B044E9B: add esp, 0xc */ 18755 _flag_k = FK_ADD; 18756 eax = MEM32(ebp + (-0x28)); /* 0x2B044E9E: mov eax, dword ptr [ebp - 0x28] */ 18757 /* test eax, eax */ /* 0x2B044EA1: test eax, eax */ 18758 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 18759 _cf = 0; 18760 _flag_k = FK_TEST; 18761 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B044EA3: mov byte ptr [ebp - 4], 3 */ 18762 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B044EAE; /* 0x2B044EA7: jne 0x2b044eae */ 18763 L_2B044EA9: 18764 eax = MEM32(0x2B0B513C); /* 0x2B044EA9: mov eax, dword ptr [0x2b0b513c] */ 18765 L_2B044EAE: 18766 ecx = MEM32(0x2B0B6048); /* 0x2B044EAE: mov ecx, dword ptr [0x2b0b6048] */ 18767 ecx = MEM32(ecx); /* 0x2B044EB4: mov ecx, dword ptr [ecx] */ 18768 ebx = MEM32(0x2B0B602C); /* 0x2B044EB6: mov ebx, dword ptr [0x2b0b602c] */ 18769 PUSH32(esp, 1); /* 0x2B044EBC: push 1 */ 18770 PUSH32(esp, eax); /* 0x2B044EBE: push eax */ 18771 RECOMP_ICALL(ebx); /* 0x2B044EBF: call ebx */ 18772 RECOMP_FLAGS_IN(); 18773 PUSH32(esp, 0x59u); /* 0x2B044EC1: push 0x59 */ 18774 edx = ebp + (-0x3C); /* 0x2B044EC3: lea edx, [ebp - 0x3c] */ 18775 PUSH32(esp, edi); /* 0x2B044EC6: push edi */ 18776 PUSH32(esp, edx); /* 0x2B044EC7: push edx */ 18777 MEM32(ebp + (-0x1C)) = eax; /* 0x2B044EC8: mov dword ptr [ebp - 0x1c], eax */ 18778 RECOMP_ICALL(0x2B0AB1DEu); /* 0x2B044ECB: call 0x2b0ab1de */ /* not lifted */ 18779 RECOMP_FLAGS_IN(); 18780 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 18781 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18782 esp = esp + 0xCu; /* 0x2B044ED0: add esp, 0xc */ 18783 _flag_k = FK_ADD; 18784 ecx = MEM32(0x2B0B515C); /* 0x2B044ED3: mov ecx, dword ptr [0x2b0b515c] */ 18785 edx = MEM32(ecx); /* 0x2B044ED9: mov edx, dword ptr [ecx] */ 18786 PUSH32(esp, edx); /* 0x2B044EDB: push edx */ 18787 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18788 edi = 0; /* 0x2B044EDC: xor edi, edi */ 18789 _cf = 0; 18790 _flag_k = FK_TEST; 18791 PUSH32(esp, edi); /* 0x2B044EDE: push edi */ 18792 PUSH32(esp, eax); /* 0x2B044EDF: push eax */ 18793 ecx = ebp + (-0x2C); /* 0x2B044EE0: lea ecx, [ebp - 0x2c] */ 18794 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B044EE3: mov byte ptr [ebp - 4], 4 */ 18795 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B044EE7: call dword ptr [0x2b0b5158] */ 18796 RECOMP_FLAGS_IN(); 18797 eax = MEM32(ebp + (-0x38)); /* 0x2B044EED: mov eax, dword ptr [ebp - 0x38] */ 18798 /* cmp eax, edi */ /* 0x2B044EF0: cmp eax, edi */ 18799 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 18800 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18801 _flag_k = FK_CMP; 18802 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B044EF2: mov byte ptr [ebp - 4], 3 */ 18803 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B044F14; /* 0x2B044EF6: je 0x2b044f14 */ 18804 L_2B044EF8: 18805 ecx = eax + (-0x1); /* 0x2B044EF8: lea ecx, [eax - 1] */ 18806 SET_LO8(eax, MEM8(ecx)); /* 0x2B044EFB: mov al, byte ptr [ecx] */ 18807 /* test LO8(eax), LO8(eax) */ /* 0x2B044EFD: test al, al */ 18808 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18809 _cf = 0; 18810 _flag_k = FK_NARROW(FK_TEST, 24); 18811 if (TEST_Z(_flag_a, _flag_b)) goto L_2B044F0B; /* 0x2B044EFF: je 0x2b044f0b */ 18812 L_2B044F01: 18813 /* cmp LO8(eax), 0xFFu */ /* 0x2B044F01: cmp al, 0xff */ 18814 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 18815 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18816 _flag_k = FK_NARROW(FK_CMP, 24); 18817 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B044F0B; /* 0x2B044F03: je 0x2b044f0b */ 18818 L_2B044F05: 18819 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 18820 SET_LO8(eax, LO8(eax) - 1); /* 0x2B044F05: dec al */ 18821 _flag_k = FK_NARROW(FK_DEC, 24); 18822 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B044F07: mov byte ptr [ecx], al */ 18823 goto L_2B044F14; /* 0x2B044F09: jmp 0x2b044f14 */ 18824 L_2B044F0B: 18825 PUSH32(esp, ecx); /* 0x2B044F0B: push ecx */ 18826 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B044F0C: call 0x2b0ab1ba */ /* not lifted */ 18827 RECOMP_FLAGS_IN(); 18828 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18829 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18830 esp = esp + 4; /* 0x2B044F11: add esp, 4 */ 18831 _flag_k = FK_ADD; 18832 L_2B044F14: 18833 eax = MEM32(ebp + (-0x28)); /* 0x2B044F14: mov eax, dword ptr [ebp - 0x28] */ 18834 /* cmp eax, edi */ /* 0x2B044F17: cmp eax, edi */ 18835 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 18836 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18837 _flag_k = FK_CMP; 18838 if (CMP_NE(_flag_a, _flag_b)) goto L_2B044F20; /* 0x2B044F19: jne 0x2b044f20 */ 18839 L_2B044F1B: 18840 eax = MEM32(0x2B0B513C); /* 0x2B044F1B: mov eax, dword ptr [0x2b0b513c] */ 18841 L_2B044F20: 18842 ecx = MEM32(0x2B0B6048); /* 0x2B044F20: mov ecx, dword ptr [0x2b0b6048] */ 18843 ecx = MEM32(ecx); /* 0x2B044F26: mov ecx, dword ptr [ecx] */ 18844 PUSH32(esp, 1); /* 0x2B044F28: push 1 */ 18845 PUSH32(esp, eax); /* 0x2B044F2A: push eax */ 18846 RECOMP_ICALL(ebx); /* 0x2B044F2B: call ebx */ 18847 RECOMP_FLAGS_IN(); 18848 edx = ebp + (-0x1C); /* 0x2B044F2D: lea edx, [ebp - 0x1c] */ 18849 PUSH32(esp, edx); /* 0x2B044F30: push edx */ 18850 ecx = esi; /* 0x2B044F31: mov ecx, esi */ 18851 MEM32(ebp + (-0x18)) = eax; /* 0x2B044F33: mov dword ptr [ebp - 0x18], eax */ 18852 RECOMP_ICALL(0x2B044A90u); /* 0x2B044F36: call 0x2b044a90 */ /* not lifted */ 18853 RECOMP_FLAGS_IN(); 18854 ecx = esi; /* 0x2B044F3B: mov ecx, esi */ 18855 RECOMP_ICALL(0x2B0449F0u); /* 0x2B044F3D: call 0x2b0449f0 */ /* not lifted */ 18856 RECOMP_FLAGS_IN(); 18857 eax = MEM32(ebp + (-0x28)); /* 0x2B044F42: mov eax, dword ptr [ebp - 0x28] */ 18858 /* cmp eax, edi */ /* 0x2B044F45: cmp eax, edi */ 18859 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 18860 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18861 _flag_k = FK_CMP; 18862 ebx = POP32_VAL(esp); /* 0x2B044F47: pop ebx */ 18863 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B044F66; /* 0x2B044F48: je 0x2b044f66 */ 18864 L_2B044F4A: 18865 ecx = eax + (-0x1); /* 0x2B044F4A: lea ecx, [eax - 1] */ 18866 SET_LO8(eax, MEM8(ecx)); /* 0x2B044F4D: mov al, byte ptr [ecx] */ 18867 /* test LO8(eax), LO8(eax) */ /* 0x2B044F4F: test al, al */ 18868 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18869 _cf = 0; 18870 _flag_k = FK_NARROW(FK_TEST, 24); 18871 if (TEST_Z(_flag_a, _flag_b)) goto L_2B044F5D; /* 0x2B044F51: je 0x2b044f5d */ 18872 L_2B044F53: 18873 /* cmp LO8(eax), 0xFFu */ /* 0x2B044F53: cmp al, 0xff */ 18874 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 18875 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18876 _flag_k = FK_NARROW(FK_CMP, 24); 18877 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B044F5D; /* 0x2B044F55: je 0x2b044f5d */ 18878 L_2B044F57: 18879 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 18880 SET_LO8(eax, LO8(eax) - 1); /* 0x2B044F57: dec al */ 18881 _flag_k = FK_NARROW(FK_DEC, 24); 18882 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B044F59: mov byte ptr [ecx], al */ 18883 goto L_2B044F66; /* 0x2B044F5B: jmp 0x2b044f66 */ 18884 L_2B044F5D: 18885 PUSH32(esp, ecx); /* 0x2B044F5D: push ecx */ 18886 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B044F5E: call 0x2b0ab1ba */ /* not lifted */ 18887 RECOMP_FLAGS_IN(); 18888 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18889 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18890 esp = esp + 4; /* 0x2B044F63: add esp, 4 */ 18891 _flag_k = FK_ADD; 18892 L_2B044F66: 18893 MEM32(ebp + (-0x28)) = edi; /* 0x2B044F66: mov dword ptr [ebp - 0x28], edi */ 18894 MEM32(ebp + (-0x24)) = edi; /* 0x2B044F69: mov dword ptr [ebp - 0x24], edi */ 18895 MEM32(ebp + (-0x20)) = edi; /* 0x2B044F6C: mov dword ptr [ebp - 0x20], edi */ 18896 esi = MEM32(ebp + (-0x40)); /* 0x2B044F6F: mov esi, dword ptr [ebp - 0x40] */ 18897 /* cmp esi, edi */ /* 0x2B044F72: cmp esi, edi */ 18898 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 18899 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18900 _flag_k = FK_CMP; 18901 MEM32(ebp + (-0x4)) = 5; /* 0x2B044F74: mov dword ptr [ebp - 4], 5 */ 18902 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B044FD7; /* 0x2B044F7B: je 0x2b044fd7 */ 18903 L_2B044F7D: 18904 edx = MEM32(esi + 0x2C); /* 0x2B044F7D: mov edx, dword ptr [esi + 0x2c] */ 18905 eax = esi + 0x2C; /* 0x2B044F80: lea eax, [esi + 0x2c] */ 18906 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 18907 edx = edx - 1; /* 0x2B044F83: dec edx */ 18908 _flag_k = FK_DEC; 18909 ecx = edx; /* 0x2B044F84: mov ecx, edx */ 18910 /* cmp ecx, edi */ /* 0x2B044F86: cmp ecx, edi */ 18911 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 18912 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18913 _flag_k = FK_CMP; 18914 MEM32(eax) = edx; /* 0x2B044F88: mov dword ptr [eax], edx */ 18915 if (CMP_NE(_flag_a, _flag_b)) goto L_2B044FD7; /* 0x2B044F8A: jne 0x2b044fd7 */ 18916 L_2B044F8C: 18917 /* cmp esi, edi */ /* 0x2B044F8C: cmp esi, edi */ 18918 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 18919 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18920 _flag_k = FK_CMP; 18921 MEM32(ebp + 0xC) = esi; /* 0x2B044F8E: mov dword ptr [ebp + 0xc], esi */ 18922 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B044FD7; /* 0x2B044F91: je 0x2b044fd7 */ 18923 L_2B044F93: 18924 PUSH32(esp, 1); /* 0x2B044F93: push 1 */ 18925 ecx = esi + 0x1C; /* 0x2B044F95: lea ecx, [esi + 0x1c] */ 18926 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B044F98: mov byte ptr [ebp - 4], 6 */ 18927 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B044F9C: call dword ptr [0x2b0b514c] */ 18928 RECOMP_FLAGS_IN(); 18929 eax = MEM32(esi + 0x10); /* 0x2B044FA2: mov eax, dword ptr [esi + 0x10] */ 18930 /* cmp eax, edi */ /* 0x2B044FA5: cmp eax, edi */ 18931 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 18932 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18933 _flag_k = FK_CMP; 18934 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B044FC5; /* 0x2B044FA7: je 0x2b044fc5 */ 18935 L_2B044FA9: 18936 ecx = eax + (-0x1); /* 0x2B044FA9: lea ecx, [eax - 1] */ 18937 SET_LO8(eax, MEM8(ecx)); /* 0x2B044FAC: mov al, byte ptr [ecx] */ 18938 /* test LO8(eax), LO8(eax) */ /* 0x2B044FAE: test al, al */ 18939 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18940 _cf = 0; 18941 _flag_k = FK_NARROW(FK_TEST, 24); 18942 if (TEST_Z(_flag_a, _flag_b)) goto L_2B044FBC; /* 0x2B044FB0: je 0x2b044fbc */ 18943 L_2B044FB2: 18944 /* cmp LO8(eax), 0xFFu */ /* 0x2B044FB2: cmp al, 0xff */ 18945 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 18946 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18947 _flag_k = FK_NARROW(FK_CMP, 24); 18948 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B044FBC; /* 0x2B044FB4: je 0x2b044fbc */ 18949 L_2B044FB6: 18950 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 18951 SET_LO8(eax, LO8(eax) - 1); /* 0x2B044FB6: dec al */ 18952 _flag_k = FK_NARROW(FK_DEC, 24); 18953 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B044FB8: mov byte ptr [ecx], al */ 18954 goto L_2B044FC5; /* 0x2B044FBA: jmp 0x2b044fc5 */ 18955 L_2B044FBC: 18956 PUSH32(esp, ecx); /* 0x2B044FBC: push ecx */ 18957 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B044FBD: call 0x2b0ab1ba */ /* not lifted */ 18958 RECOMP_FLAGS_IN(); 18959 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18960 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18961 esp = esp + 4; /* 0x2B044FC2: add esp, 4 */ 18962 _flag_k = FK_ADD; 18963 L_2B044FC5: 18964 PUSH32(esp, esi); /* 0x2B044FC5: push esi */ 18965 MEM32(esi + 0x10) = edi; /* 0x2B044FC6: mov dword ptr [esi + 0x10], edi */ 18966 MEM32(esi + 0x14) = edi; /* 0x2B044FC9: mov dword ptr [esi + 0x14], edi */ 18967 MEM32(esi + 0x18) = edi; /* 0x2B044FCC: mov dword ptr [esi + 0x18], edi */ 18968 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B044FCF: call 0x2b0ab1ba */ /* not lifted */ 18969 RECOMP_FLAGS_IN(); 18970 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18971 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18972 esp = esp + 4; /* 0x2B044FD4: add esp, 4 */ 18973 _flag_k = FK_ADD; 18974 L_2B044FD7: 18975 ecx = MEM32(ebp + (-0x4C)); /* 0x2B044FD7: mov ecx, dword ptr [ebp - 0x4c] */ 18976 /* cmp ecx, edi */ /* 0x2B044FDA: cmp ecx, edi */ 18977 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 18978 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18979 _flag_k = FK_CMP; 18980 edi = POP32_VAL(esp); /* 0x2B044FDC: pop edi */ 18981 esi = POP32_VAL(esp); /* 0x2B044FDD: pop esi */ 18982 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B04500A; /* 0x2B044FDE: je 0x2b04500a */ 18983 L_2B044FE0: 18984 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B044FE0: mov al, byte ptr [ecx - 1] */ 18985 /* test LO8(eax), LO8(eax) */ /* 0x2B044FE3: test al, al */ 18986 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18987 _cf = 0; 18988 _flag_k = FK_NARROW(FK_TEST, 24); 18989 if (TEST_Z(_flag_a, _flag_b)) goto L_2B045000; /* 0x2B044FE5: je 0x2b045000 */ 18990 L_2B044FE7: 18991 /* cmp LO8(eax), 0xFFu */ /* 0x2B044FE7: cmp al, 0xff */ 18992 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 18993 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18994 _flag_k = FK_NARROW(FK_CMP, 24); 18995 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B045000; /* 0x2B044FE9: je 0x2b045000 */ 18996 L_2B044FEB: 18997 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 18998 SET_LO8(eax, LO8(eax) - 1); /* 0x2B044FEB: dec al */ 18999 _flag_k = FK_NARROW(FK_DEC, 24); 19000 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B044FED: mov byte ptr [ecx - 1], al */ 19001 ecx = MEM32(ebp + (-0xC)); /* 0x2B044FF0: mov ecx, dword ptr [ebp - 0xc] */ 19002 MEM32(FS_BASE + (0)) = ecx; /* 0x2B044FF3: mov dword ptr fs:[0], ecx */ 19003 esp = ebp; /* 0x2B044FFA: mov esp, ebp */ 19004 ebp = POP32_VAL(esp); /* 0x2B044FFC: pop ebp */ 19005 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B044FFD: ret 0xc */ 19006 L_2B045000: 19007 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 19008 ecx = ecx - 1; /* 0x2B045000: dec ecx */ 19009 _flag_k = FK_DEC; 19010 PUSH32(esp, ecx); /* 0x2B045001: push ecx */ 19011 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B045002: call 0x2b0ab1ba */ /* not lifted */ 19012 RECOMP_FLAGS_IN(); 19013 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19014 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19015 esp = esp + 4; /* 0x2B045007: add esp, 4 */ 19016 _flag_k = FK_ADD; 19017 L_2B04500A: 19018 ecx = MEM32(ebp + (-0xC)); /* 0x2B04500A: mov ecx, dword ptr [ebp - 0xc] */ 19019 MEM32(FS_BASE + (0)) = ecx; /* 0x2B04500D: mov dword ptr fs:[0], ecx */ 19020 esp = ebp; /* 0x2B045014: mov esp, ebp */ 19021 ebp = POP32_VAL(esp); /* 0x2B045016: pop ebp */ 19022 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B045017: ret 0xc */ 19023 RECOMP_REGS_OUT(); 19024 } 19025 19026 void sub_2B045020(void) { 19027 int _fpu_cmp = 0; 19028 uint32_t _cf = 0; 19029 int _df = 1; 19030 uint32_t _flag_k = FK_NONE; 19031 uint32_t _flag_a = 0, _flag_b = 0; 19032 uint32_t _itail_tgt = 0; 19033 RECOMP_REGS_LOCALS 19034 RECOMP_ENTER(0x2B045020u); 19035 19036 L_2B045020: 19037 PUSH32(esp, ebp); /* 0x2B045020: push ebp */ 19038 ebp = esp; /* 0x2B045021: mov ebp, esp */ 19039 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 19040 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19041 esp = esp - 8; /* 0x2B045023: sub esp, 8 */ 19042 _flag_k = FK_CMP; 19043 PUSH32(esp, esi); /* 0x2B045026: push esi */ 19044 esi = ecx; /* 0x2B045027: mov esi, ecx */ 19045 SET_LO8(eax, MEM8(esi + 0x30)); /* 0x2B045029: mov al, byte ptr [esi + 0x30] */ 19046 /* test LO8(eax), LO8(eax) */ /* 0x2B04502C: test al, al */ 19047 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19048 _cf = 0; 19049 _flag_k = FK_NARROW(FK_TEST, 24); 19050 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0450C0; /* 0x2B04502E: je 0x2b0450c0 */ 19051 L_2B045034: 19052 PUSH32(esp, edi); /* 0x2B045034: push edi */ 19053 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B045035: call dword ptr [0x2b0b5d6c] */ 19054 RECOMP_FLAGS_IN(); 19055 ecx = eax; /* 0x2B04503B: mov ecx, eax */ 19056 RECOMP_ICALL(MEM32(0x2B0B5EA4)); /* 0x2B04503D: call dword ptr [0x2b0b5ea4] */ 19057 RECOMP_FLAGS_IN(); 19058 /* test LO8(eax), LO8(eax) */ /* 0x2B045043: test al, al */ 19059 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19060 _cf = 0; 19061 _flag_k = FK_NARROW(FK_TEST, 24); 19062 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0450A1; /* 0x2B045045: je 0x2b0450a1 */ 19063 L_2B045047: 19064 RECOMP_ICALL(MEM32(0x2B0B5828)); /* 0x2B045047: call dword ptr [0x2b0b5828] */ 19065 RECOMP_FLAGS_IN(); 19066 edi = MEM32(eax); /* 0x2B04504D: mov edi, dword ptr [eax] */ 19067 eax = MEM32(edi + 0x4); /* 0x2B04504F: mov eax, dword ptr [edi + 4] */ 19068 eax = MEM32(eax); /* 0x2B045052: mov eax, dword ptr [eax] */ 19069 MEM32(ebp + (-0x4)) = eax; /* 0x2B045054: mov dword ptr [ebp - 4], eax */ 19070 /* cmp eax, MEM32(edi + 0x4) */ /* 0x2B045057: cmp eax, dword ptr [edi + 4] */ 19071 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 19072 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19073 _flag_k = FK_CMP; 19074 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0450A1; /* 0x2B04505A: je 0x2b0450a1 */ 19075 L_2B04505C: 19076 PUSH32(esp, ebx); /* 0x2B04505C: push ebx */ 19077 ebx = MEM32(0x2B0B5F2C); /* 0x2B04505D: mov ebx, dword ptr [0x2b0b5f2c] */ 19078 L_2B045063: 19079 ecx = MEM32(eax + 0x8); /* 0x2B045063: mov ecx, dword ptr [eax + 8] */ 19080 /* cmp MEM32(ecx + 0x8), 2 */ /* 0x2B045066: cmp dword ptr [ecx + 8], 2 */ 19081 _flag_a = (uint32_t)(MEM32(ecx + 0x8)); _flag_b = (uint32_t)(2); 19082 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19083 _flag_k = FK_CMP; 19084 if (CMP_NE(_flag_a, _flag_b)) goto L_2B045096; /* 0x2B04506A: jne 0x2b045096 */ 19085 L_2B04506C: 19086 PUSH32(esp, ecx); /* 0x2B04506C: push ecx */ 19087 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B04506D: call dword ptr [0x2b0b5d6c] */ 19088 RECOMP_FLAGS_IN(); 19089 ecx = eax; /* 0x2B045073: mov ecx, eax */ 19090 RECOMP_ICALL(ebx); /* 0x2B045075: call ebx */ 19091 RECOMP_FLAGS_IN(); 19092 /* test LO8(eax), LO8(eax) */ /* 0x2B045077: test al, al */ 19093 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19094 _cf = 0; 19095 _flag_k = FK_NARROW(FK_TEST, 24); 19096 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B045093; /* 0x2B045079: jne 0x2b045093 */ 19097 L_2B04507B: 19098 ecx = ebp + (-0x4); /* 0x2B04507B: lea ecx, [ebp - 4] */ 19099 PUSH32(esp, ecx); /* 0x2B04507E: push ecx */ 19100 edx = ebp + (-0x8); /* 0x2B04507F: lea edx, [ebp - 8] */ 19101 PUSH32(esp, edx); /* 0x2B045082: push edx */ 19102 RECOMP_ICALL(MEM32(0x2B0B5828)); /* 0x2B045083: call dword ptr [0x2b0b5828] */ 19103 RECOMP_FLAGS_IN(); 19104 ecx = eax; /* 0x2B045089: mov ecx, eax */ 19105 RECOMP_ICALL(MEM32(0x2B0B582C)); /* 0x2B04508B: call dword ptr [0x2b0b582c] */ 19106 RECOMP_FLAGS_IN(); 19107 goto L_2B045096; /* 0x2B045091: jmp 0x2b045096 */ 19108 L_2B045093: 19109 eax = MEM32(ebp + (-0x4)); /* 0x2B045093: mov eax, dword ptr [ebp - 4] */ 19110 L_2B045096: 19111 eax = MEM32(eax); /* 0x2B045096: mov eax, dword ptr [eax] */ 19112 MEM32(ebp + (-0x4)) = eax; /* 0x2B045098: mov dword ptr [ebp - 4], eax */ 19113 /* cmp eax, MEM32(edi + 0x4) */ /* 0x2B04509B: cmp eax, dword ptr [edi + 4] */ 19114 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 19115 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19116 _flag_k = FK_CMP; 19117 RECOMP_BACKEDGE(); 19118 if (CMP_NE(_flag_a, _flag_b)) goto L_2B045063; /* 0x2B04509E: jne 0x2b045063 */ 19119 L_2B0450A0: 19120 ebx = POP32_VAL(esp); /* 0x2B0450A0: pop ebx */ 19121 L_2B0450A1: 19122 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19123 eax = 0; /* 0x2B0450A1: xor eax, eax */ 19124 _cf = 0; 19125 _flag_k = FK_TEST; 19126 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19127 ecx = 0; /* 0x2B0450A3: xor ecx, ecx */ 19128 _cf = 0; 19129 _flag_k = FK_TEST; 19130 MEM32(esi + 0x28) = eax; /* 0x2B0450A5: mov dword ptr [esi + 0x28], eax */ 19131 MEM32(esi + 0x2C) = ecx; /* 0x2B0450A8: mov dword ptr [esi + 0x2c], ecx */ 19132 ecx = MEM32(esi + 0x14); /* 0x2B0450AB: mov ecx, dword ptr [esi + 0x14] */ 19133 RECOMP_ICALL(MEM32(0x2B0B5830)); /* 0x2B0450AE: call dword ptr [0x2b0b5830] */ 19134 RECOMP_FLAGS_IN(); 19135 ecx = esi; /* 0x2B0450B4: mov ecx, esi */ 19136 MEM8(esi + 0x30) = (uint8_t)(0); /* 0x2B0450B6: mov byte ptr [esi + 0x30], 0 */ 19137 RECOMP_ICALL(0x2B044A40u); /* 0x2B0450BA: call 0x2b044a40 */ /* not lifted */ 19138 RECOMP_FLAGS_IN(); 19139 edi = POP32_VAL(esp); /* 0x2B0450BF: pop edi */ 19140 L_2B0450C0: 19141 esi = POP32_VAL(esp); /* 0x2B0450C0: pop esi */ 19142 esp = ebp; /* 0x2B0450C1: mov esp, ebp */ 19143 ebp = POP32_VAL(esp); /* 0x2B0450C3: pop ebp */ 19144 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0450C4: ret */ 19145 RECOMP_REGS_OUT(); 19146 } 19147 19148 void sub_2B0450D0(void) { 19149 int _fpu_cmp = 0; 19150 uint32_t _cf = 0; 19151 int _df = 1; 19152 uint32_t _flag_k = FK_NONE; 19153 uint32_t _flag_a = 0, _flag_b = 0; 19154 uint32_t _itail_tgt = 0; 19155 RECOMP_REGS_LOCALS 19156 RECOMP_ENTER(0x2B0450D0u); 19157 19158 L_2B0450D0: 19159 PUSH32(esp, ebp); /* 0x2B0450D0: push ebp */ 19160 ebp = esp; /* 0x2B0450D1: mov ebp, esp */ 19161 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x28u); 19162 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19163 esp = esp - 0x28u; /* 0x2B0450D3: sub esp, 0x28 */ 19164 _flag_k = FK_CMP; 19165 edx = ecx; /* 0x2B0450D6: mov edx, ecx */ 19166 PUSH32(esp, edi); /* 0x2B0450D8: push edi */ 19167 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19168 eax = 0; /* 0x2B0450D9: xor eax, eax */ 19169 _cf = 0; 19170 _flag_k = FK_TEST; 19171 ecx = 0xAu; /* 0x2B0450DB: mov ecx, 0xa */ 19172 edi = ebp + (-0x28); /* 0x2B0450E0: lea edi, [ebp - 0x28] */ 19173 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0450E3: 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; } 19174 eax = MEM32(ebp + 0x8); /* 0x2B0450E5: mov eax, dword ptr [ebp + 8] */ 19175 ecx = MEM32(eax); /* 0x2B0450E8: mov ecx, dword ptr [eax] */ 19176 eax = MEM32(eax + 0x4); /* 0x2B0450EA: mov eax, dword ptr [eax + 4] */ 19177 MEM32(ebp + (-0x28)) = ecx; /* 0x2B0450ED: mov dword ptr [ebp - 0x28], ecx */ 19178 ecx = ebp + (-0x28); /* 0x2B0450F0: lea ecx, [ebp - 0x28] */ 19179 PUSH32(esp, ecx); /* 0x2B0450F3: push ecx */ 19180 ecx = MEM32(edx + 0x14); /* 0x2B0450F4: mov ecx, dword ptr [edx + 0x14] */ 19181 MEM32(ebp + (-0x24)) = eax; /* 0x2B0450F7: mov dword ptr [ebp - 0x24], eax */ 19182 MEM32(ebp + (-0xC)) = 0x30u; /* 0x2B0450FA: mov dword ptr [ebp - 0xc], 0x30 */ 19183 RECOMP_ICALL(MEM32(0x2B0B58D0)); /* 0x2B045101: call dword ptr [0x2b0b58d0] */ 19184 RECOMP_FLAGS_IN(); 19185 edi = POP32_VAL(esp); /* 0x2B045107: pop edi */ 19186 esp = ebp; /* 0x2B045108: mov esp, ebp */ 19187 ebp = POP32_VAL(esp); /* 0x2B04510A: pop ebp */ 19188 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B04510B: ret 4 */ 19189 RECOMP_REGS_OUT(); 19190 } 19191 19192 void sub_2B045110(void) { 19193 int _fpu_cmp = 0; 19194 uint32_t _cf = 0; 19195 int _df = 1; 19196 uint32_t _flag_k = FK_NONE; 19197 uint32_t _flag_a = 0, _flag_b = 0; 19198 uint32_t _itail_tgt = 0; 19199 RECOMP_REGS_LOCALS 19200 RECOMP_ENTER(0x2B045110u); 19201 19202 L_2B045110: 19203 PUSH32(esp, ebp); /* 0x2B045110: push ebp */ 19204 ebp = esp; /* 0x2B045111: mov ebp, esp */ 19205 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x94u); 19206 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19207 esp = esp - 0x94u; /* 0x2B045113: sub esp, 0x94 */ 19208 _flag_k = FK_CMP; 19209 PUSH32(esp, ebx); /* 0x2B045119: push ebx */ 19210 ebx = ecx; /* 0x2B04511A: mov ebx, ecx */ 19211 SET_LO8(eax, MEM8(ebx + 0x30)); /* 0x2B04511C: mov al, byte ptr [ebx + 0x30] */ 19212 /* test LO8(eax), LO8(eax) */ /* 0x2B04511F: test al, al */ 19213 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19214 _cf = 0; 19215 _flag_k = FK_NARROW(FK_TEST, 24); 19216 PUSH32(esp, esi); /* 0x2B045121: push esi */ 19217 PUSH32(esp, edi); /* 0x2B045122: push edi */ 19218 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0452F9; /* 0x2B045123: je 0x2b0452f9 */ 19219 L_2B045129: 19220 esi = MEM32(ebp + 0x8); /* 0x2B045129: mov esi, dword ptr [ebp + 8] */ 19221 eax = MEM32(esi + 0x4); /* 0x2B04512C: mov eax, dword ptr [esi + 4] */ 19222 ecx = MEM32(ebx + 0x2C); /* 0x2B04512F: mov ecx, dword ptr [ebx + 0x2c] */ 19223 /* cmp eax, ecx */ /* 0x2B045132: cmp eax, ecx */ 19224 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 19225 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19226 _flag_k = FK_CMP; 19227 edi = ebx + 0x28; /* 0x2B045134: lea edi, [ebx + 0x28] */ 19228 if (CMP_NE(_flag_a, _flag_b)) goto L_2B04517B; /* 0x2B045137: jne 0x2b04517b */ 19229 L_2B045139: 19230 ecx = MEM32(esi); /* 0x2B045139: mov ecx, dword ptr [esi] */ 19231 /* cmp ecx, MEM32(edi) */ /* 0x2B04513B: cmp ecx, dword ptr [edi] */ 19232 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 19233 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19234 _flag_k = FK_CMP; 19235 if (CMP_NE(_flag_a, _flag_b)) goto L_2B04517B; /* 0x2B04513D: jne 0x2b04517b */ 19236 L_2B04513F: 19237 ecx = 8; /* 0x2B04513F: mov ecx, 8 */ 19238 esi = 0x2B0E7450u; /* 0x2B045144: mov esi, 0x2b0e7450 */ 19239 edi = ebp + (-0x2C); /* 0x2B045149: lea edi, [ebp - 0x2c] */ 19240 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B04514C: 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; } 19241 MEM8(edi) = MEM8(esi); esi += _df; edi += _df; /* 0x2B04514E: movsb byte ptr es:[edi], byte ptr [esi] */ 19242 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 19243 ecx = ecx | 0xFFFFFFFFu; /* 0x2B04514F: or ecx, 0xffffffff */ 19244 _cf = 0; 19245 _flag_k = FK_TEST; 19246 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19247 eax = 0; /* 0x2B045152: xor eax, eax */ 19248 _cf = 0; 19249 _flag_k = FK_TEST; 19250 edi = ebp + (-0x2C); /* 0x2B045154: lea edi, [ebp - 0x2c] */ 19251 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; } /* 0x2B045157: repne scasb al, byte ptr es:[edi] */ 19252 ecx = ~ecx; /* 0x2B045159: not ecx */ 19253 PUSH32(esp, ecx); /* 0x2B04515B: push ecx */ 19254 edx = ebp + (-0x2C); /* 0x2B04515C: lea edx, [ebp - 0x2c] */ 19255 PUSH32(esp, edx); /* 0x2B04515F: push edx */ 19256 PUSH32(esp, 0x3Fu); /* 0x2B045160: push 0x3f */ 19257 PUSH32(esp, 3); /* 0x2B045162: push 3 */ 19258 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B045164: call dword ptr [0x2b0b53cc] */ 19259 RECOMP_FLAGS_IN(); 19260 ecx = eax; /* 0x2B04516A: mov ecx, eax */ 19261 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B04516C: call dword ptr [0x2b0b53c4] */ 19262 RECOMP_FLAGS_IN(); 19263 edi = POP32_VAL(esp); /* 0x2B045172: pop edi */ 19264 esi = POP32_VAL(esp); /* 0x2B045173: pop esi */ 19265 ebx = POP32_VAL(esp); /* 0x2B045174: pop ebx */ 19266 esp = ebp; /* 0x2B045175: mov esp, ebp */ 19267 ebp = POP32_VAL(esp); /* 0x2B045177: pop ebp */ 19268 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B045178: ret 8 */ 19269 L_2B04517B: 19270 PUSH32(esp, esi); /* 0x2B04517B: push esi */ 19271 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B04517C: call dword ptr [0x2b0b5d6c] */ 19272 RECOMP_FLAGS_IN(); 19273 ecx = eax; /* 0x2B045182: mov ecx, eax */ 19274 RECOMP_ICALL(MEM32(0x2B0B5E9C)); /* 0x2B045184: call dword ptr [0x2b0b5e9c] */ 19275 RECOMP_FLAGS_IN(); 19276 /* test LO8(eax), LO8(eax) */ /* 0x2B04518A: test al, al */ 19277 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19278 _cf = 0; 19279 _flag_k = FK_NARROW(FK_TEST, 24); 19280 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0451DC; /* 0x2B04518C: je 0x2b0451dc */ 19281 L_2B04518E: 19282 ecx = 9; /* 0x2B04518E: mov ecx, 9 */ 19283 esi = 0x2B0E7428u; /* 0x2B045193: mov esi, 0x2b0e7428 */ 19284 edi = ebp + (-0x30); /* 0x2B045198: lea edi, [ebp - 0x30] */ 19285 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B04519B: 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; } 19286 MEM16(edi) = MEM16(esi); esi += _df * 2; edi += _df * 2; /* 0x2B04519D: movsw word ptr es:[edi], word ptr [esi] */ 19287 MEM8(edi) = MEM8(esi); esi += _df; edi += _df; /* 0x2B04519F: movsb byte ptr es:[edi], byte ptr [esi] */ 19288 esi = MEM32(0x2B0B53CC); /* 0x2B0451A0: mov esi, dword ptr [0x2b0b53cc] */ 19289 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 19290 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0451A6: or ecx, 0xffffffff */ 19291 _cf = 0; 19292 _flag_k = FK_TEST; 19293 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19294 eax = 0; /* 0x2B0451A9: xor eax, eax */ 19295 _cf = 0; 19296 _flag_k = FK_TEST; 19297 edi = ebp + (-0x30); /* 0x2B0451AB: lea edi, [ebp - 0x30] */ 19298 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; } /* 0x2B0451AE: repne scasb al, byte ptr es:[edi] */ 19299 ecx = ~ecx; /* 0x2B0451B0: not ecx */ 19300 PUSH32(esp, ecx); /* 0x2B0451B2: push ecx */ 19301 eax = ebp + (-0x30); /* 0x2B0451B3: lea eax, [ebp - 0x30] */ 19302 PUSH32(esp, eax); /* 0x2B0451B6: push eax */ 19303 PUSH32(esp, 0x3Fu); /* 0x2B0451B7: push 0x3f */ 19304 PUSH32(esp, 3); /* 0x2B0451B9: push 3 */ 19305 RECOMP_ICALL(esi); /* 0x2B0451BB: call esi */ 19306 RECOMP_FLAGS_IN(); 19307 ecx = eax; /* 0x2B0451BD: mov ecx, eax */ 19308 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B0451BF: call dword ptr [0x2b0b53c4] */ 19309 RECOMP_FLAGS_IN(); 19310 PUSH32(esp, 0x18u); /* 0x2B0451C5: push 0x18 */ 19311 PUSH32(esp, 6); /* 0x2B0451C7: push 6 */ 19312 RECOMP_ICALL(esi); /* 0x2B0451C9: call esi */ 19313 RECOMP_FLAGS_IN(); 19314 ecx = eax; /* 0x2B0451CB: mov ecx, eax */ 19315 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B0451CD: call dword ptr [0x2b0b53c8] */ 19316 RECOMP_FLAGS_IN(); 19317 edi = POP32_VAL(esp); /* 0x2B0451D3: pop edi */ 19318 esi = POP32_VAL(esp); /* 0x2B0451D4: pop esi */ 19319 ebx = POP32_VAL(esp); /* 0x2B0451D5: pop ebx */ 19320 esp = ebp; /* 0x2B0451D6: mov esp, ebp */ 19321 ebp = POP32_VAL(esp); /* 0x2B0451D8: pop ebp */ 19322 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0451D9: ret 8 */ 19323 L_2B0451DC: 19324 SET_LO8(eax, MEM8(ebx + 0x32)); /* 0x2B0451DC: mov al, byte ptr [ebx + 0x32] */ 19325 /* test LO8(eax), LO8(eax) */ /* 0x2B0451DF: test al, al */ 19326 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19327 _cf = 0; 19328 _flag_k = FK_NARROW(FK_TEST, 24); 19329 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B04524B; /* 0x2B0451E1: jne 0x2b04524b */ 19330 L_2B0451E3: 19331 PUSH32(esp, edi); /* 0x2B0451E3: push edi */ 19332 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0451E4: call dword ptr [0x2b0b5d6c] */ 19333 RECOMP_FLAGS_IN(); 19334 ecx = eax; /* 0x2B0451EA: mov ecx, eax */ 19335 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B0451EC: call dword ptr [0x2b0b5d50] */ 19336 RECOMP_FLAGS_IN(); 19337 PUSH32(esp, eax); /* 0x2B0451F2: push eax */ 19338 PUSH32(esp, 0x2B0E7408u); /* 0x2B0451F3: push 0x2b0e7408 */ 19339 ecx = ebp + (-0x94); /* 0x2B0451F8: lea ecx, [ebp - 0x94] */ 19340 PUSH32(esp, 0x64u); /* 0x2B0451FE: push 0x64 */ 19341 PUSH32(esp, ecx); /* 0x2B045200: push ecx */ 19342 RECOMP_ICALL(0x2B012180u); /* 0x2B045201: call 0x2b012180 */ /* not lifted */ 19343 RECOMP_FLAGS_IN(); 19344 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 19345 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19346 esp = esp + 0x10u; /* 0x2B045206: add esp, 0x10 */ 19347 _flag_k = FK_ADD; 19348 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 19349 ecx = ecx | 0xFFFFFFFFu; /* 0x2B045209: or ecx, 0xffffffff */ 19350 _cf = 0; 19351 _flag_k = FK_TEST; 19352 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19353 eax = 0; /* 0x2B04520C: xor eax, eax */ 19354 _cf = 0; 19355 _flag_k = FK_TEST; 19356 edi = ebp + (-0x94); /* 0x2B04520E: lea edi, [ebp - 0x94] */ 19357 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; } /* 0x2B045214: repne scasb al, byte ptr es:[edi] */ 19358 ecx = ~ecx; /* 0x2B045216: not ecx */ 19359 PUSH32(esp, ecx); /* 0x2B045218: push ecx */ 19360 edx = ebp + (-0x94); /* 0x2B045219: lea edx, [ebp - 0x94] */ 19361 PUSH32(esp, edx); /* 0x2B04521F: push edx */ 19362 PUSH32(esp, 0x3Fu); /* 0x2B045220: push 0x3f */ 19363 PUSH32(esp, 3); /* 0x2B045222: push 3 */ 19364 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B045224: call dword ptr [0x2b0b53cc] */ 19365 RECOMP_FLAGS_IN(); 19366 ecx = eax; /* 0x2B04522A: mov ecx, eax */ 19367 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B04522C: call dword ptr [0x2b0b53c4] */ 19368 RECOMP_FLAGS_IN(); 19369 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B045232: call dword ptr [0x2b0b596c] */ 19370 RECOMP_FLAGS_IN(); 19371 PUSH32(esp, 1); /* 0x2B045238: push 1 */ 19372 ecx = eax; /* 0x2B04523A: mov ecx, eax */ 19373 RECOMP_ICALL(MEM32(0x2B0B591C)); /* 0x2B04523C: call dword ptr [0x2b0b591c] */ 19374 RECOMP_FLAGS_IN(); 19375 edi = POP32_VAL(esp); /* 0x2B045242: pop edi */ 19376 esi = POP32_VAL(esp); /* 0x2B045243: pop esi */ 19377 ebx = POP32_VAL(esp); /* 0x2B045244: pop ebx */ 19378 esp = ebp; /* 0x2B045245: mov esp, ebp */ 19379 ebp = POP32_VAL(esp); /* 0x2B045247: pop ebp */ 19380 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B045248: ret 8 */ 19381 L_2B04524B: 19382 PUSH32(esp, 0); /* 0x2B04524B: push 0 */ 19383 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B04524D: call dword ptr [0x2b0b596c] */ 19384 RECOMP_FLAGS_IN(); 19385 ecx = eax; /* 0x2B045253: mov ecx, eax */ 19386 RECOMP_ICALL(MEM32(0x2B0B591C)); /* 0x2B045255: call dword ptr [0x2b0b591c] */ 19387 RECOMP_FLAGS_IN(); 19388 edi = MEM32(ebp + 0xC); /* 0x2B04525B: mov edi, dword ptr [ebp + 0xc] */ 19389 SET_LO8(eax, MEM8(edi + 0x70)); /* 0x2B04525E: mov al, byte ptr [edi + 0x70] */ 19390 /* test LO8(eax), LO8(eax) */ /* 0x2B045261: test al, al */ 19391 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19392 _cf = 0; 19393 _flag_k = FK_NARROW(FK_TEST, 24); 19394 if (TEST_Z(_flag_a, _flag_b)) goto L_2B045292; /* 0x2B045263: je 0x2b045292 */ 19395 L_2B045265: 19396 ecx = MEM32(ebx + 0x14); /* 0x2B045265: mov ecx, dword ptr [ebx + 0x14] */ 19397 PUSH32(esp, esi); /* 0x2B045268: push esi */ 19398 RECOMP_ICALL(MEM32(0x2B0B5910)); /* 0x2B045269: call dword ptr [0x2b0b5910] */ 19399 RECOMP_FLAGS_IN(); 19400 /* test LO8(eax), LO8(eax) */ /* 0x2B04526F: test al, al */ 19401 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19402 _cf = 0; 19403 _flag_k = FK_NARROW(FK_TEST, 24); 19404 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04528E; /* 0x2B045271: je 0x2b04528e */ 19405 L_2B045273: 19406 ecx = MEM32(ebx + 0x14); /* 0x2B045273: mov ecx, dword ptr [ebx + 0x14] */ 19407 PUSH32(esp, esi); /* 0x2B045276: push esi */ 19408 PUSH32(esp, edi); /* 0x2B045277: push edi */ 19409 RECOMP_ICALL(MEM32(0x2B0B5918)); /* 0x2B045278: call dword ptr [0x2b0b5918] */ 19410 RECOMP_FLAGS_IN(); 19411 ecx = ebx; /* 0x2B04527E: mov ecx, ebx */ 19412 RECOMP_ICALL(0x2B045320u); /* 0x2B045280: call 0x2b045320 */ /* not lifted */ 19413 RECOMP_FLAGS_IN(); 19414 edi = POP32_VAL(esp); /* 0x2B045285: pop edi */ 19415 esi = POP32_VAL(esp); /* 0x2B045286: pop esi */ 19416 ebx = POP32_VAL(esp); /* 0x2B045287: pop ebx */ 19417 esp = ebp; /* 0x2B045288: mov esp, ebp */ 19418 ebp = POP32_VAL(esp); /* 0x2B04528A: pop ebp */ 19419 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B04528B: ret 8 */ 19420 L_2B04528E: 19421 PUSH32(esp, 0); /* 0x2B04528E: push 0 */ 19422 goto L_2B0452D5; /* 0x2B045290: jmp 0x2b0452d5 */ 19423 L_2B045292: 19424 SET_LO8(eax, MEM8(ebx + 0x33)); /* 0x2B045292: mov al, byte ptr [ebx + 0x33] */ 19425 /* test LO8(eax), LO8(eax) */ /* 0x2B045295: test al, al */ 19426 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19427 _cf = 0; 19428 _flag_k = FK_NARROW(FK_TEST, 24); 19429 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0452C5; /* 0x2B045297: je 0x2b0452c5 */ 19430 L_2B045299: 19431 eax = edi + 0x54; /* 0x2B045299: lea eax, [edi + 0x54] */ 19432 ecx = ebp + (-0x8); /* 0x2B04529C: lea ecx, [ebp - 8] */ 19433 /* cmp ecx, eax */ /* 0x2B04529F: cmp ecx, eax */ 19434 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 19435 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19436 _flag_k = FK_CMP; 19437 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0452AE; /* 0x2B0452A1: je 0x2b0452ae */ 19438 L_2B0452A3: 19439 edx = MEM32(eax); /* 0x2B0452A3: mov edx, dword ptr [eax] */ 19440 eax = MEM32(eax + 0x4); /* 0x2B0452A5: mov eax, dword ptr [eax + 4] */ 19441 MEM32(ebp + (-0x8)) = edx; /* 0x2B0452A8: mov dword ptr [ebp - 8], edx */ 19442 MEM32(ebp + (-0x4)) = eax; /* 0x2B0452AB: mov dword ptr [ebp - 4], eax */ 19443 L_2B0452AE: 19444 ecx = ebp + (-0x8); /* 0x2B0452AE: lea ecx, [ebp - 8] */ 19445 PUSH32(esp, esi); /* 0x2B0452B1: push esi */ 19446 PUSH32(esp, ecx); /* 0x2B0452B2: push ecx */ 19447 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0452B3: call dword ptr [0x2b0b5d6c] */ 19448 RECOMP_FLAGS_IN(); 19449 ecx = eax; /* 0x2B0452B9: mov ecx, eax */ 19450 RECOMP_ICALL(MEM32(0x2B0B5F00)); /* 0x2B0452BB: call dword ptr [0x2b0b5f00] */ 19451 RECOMP_FLAGS_IN(); 19452 /* test LO8(eax), LO8(eax) */ /* 0x2B0452C1: test al, al */ 19453 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19454 _cf = 0; 19455 _flag_k = FK_NARROW(FK_TEST, 24); 19456 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0452F2; /* 0x2B0452C3: jne 0x2b0452f2 */ 19457 L_2B0452C5: 19458 PUSH32(esp, edi); /* 0x2B0452C5: push edi */ 19459 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B0452C6: call dword ptr [0x2b0b596c] */ 19460 RECOMP_FLAGS_IN(); 19461 ecx = eax; /* 0x2B0452CC: mov ecx, eax */ 19462 RECOMP_ICALL(MEM32(0x2B0B5920)); /* 0x2B0452CE: call dword ptr [0x2b0b5920] */ 19463 RECOMP_FLAGS_IN(); 19464 PUSH32(esp, esi); /* 0x2B0452D4: push esi */ 19465 L_2B0452D5: 19466 ecx = MEM32(ebx + 0x14); /* 0x2B0452D5: mov ecx, dword ptr [ebx + 0x14] */ 19467 PUSH32(esp, edi); /* 0x2B0452D8: push edi */ 19468 RECOMP_ICALL(MEM32(0x2B0B5918)); /* 0x2B0452D9: call dword ptr [0x2b0b5918] */ 19469 RECOMP_FLAGS_IN(); 19470 eax = ebx + 0x28; /* 0x2B0452DF: lea eax, [ebx + 0x28] */ 19471 PUSH32(esp, esi); /* 0x2B0452E2: push esi */ 19472 PUSH32(esp, eax); /* 0x2B0452E3: push eax */ 19473 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0452E4: call dword ptr [0x2b0b5d6c] */ 19474 RECOMP_FLAGS_IN(); 19475 ecx = eax; /* 0x2B0452EA: mov ecx, eax */ 19476 RECOMP_ICALL(MEM32(0x2B0B5EA0)); /* 0x2B0452EC: call dword ptr [0x2b0b5ea0] */ 19477 RECOMP_FLAGS_IN(); 19478 L_2B0452F2: 19479 ecx = ebx; /* 0x2B0452F2: mov ecx, ebx */ 19480 RECOMP_ICALL(0x2B045320u); /* 0x2B0452F4: call 0x2b045320 */ /* not lifted */ 19481 RECOMP_FLAGS_IN(); 19482 L_2B0452F9: 19483 edi = POP32_VAL(esp); /* 0x2B0452F9: pop edi */ 19484 esi = POP32_VAL(esp); /* 0x2B0452FA: pop esi */ 19485 ebx = POP32_VAL(esp); /* 0x2B0452FB: pop ebx */ 19486 esp = ebp; /* 0x2B0452FC: mov esp, ebp */ 19487 ebp = POP32_VAL(esp); /* 0x2B0452FE: pop ebp */ 19488 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0452FF: ret 8 */ 19489 RECOMP_REGS_OUT(); 19490 } 19491 19492 void sub_2B045310(void) { 19493 int _fpu_cmp = 0; 19494 uint32_t _cf = 0; 19495 int _df = 1; 19496 uint32_t _flag_k = FK_NONE; 19497 uint32_t _flag_a = 0, _flag_b = 0; 19498 uint32_t _itail_tgt = 0; 19499 RECOMP_REGS_LOCALS 19500 RECOMP_ENTER(0x2B045310u); 19501 19502 L_2B045310: 19503 PUSH32(esp, ebp); /* 0x2B045310: push ebp */ 19504 ebp = esp; /* 0x2B045311: mov ebp, esp */ 19505 ecx = MEM32(ebp + 0x8); /* 0x2B045313: mov ecx, dword ptr [ebp + 8] */ 19506 RECOMP_ICALL(0x2B0449A0u); /* 0x2B045316: call 0x2b0449a0 */ /* not lifted */ 19507 RECOMP_FLAGS_IN(); 19508 ebp = POP32_VAL(esp); /* 0x2B04531B: pop ebp */ 19509 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B04531C: ret */ 19510 RECOMP_REGS_OUT(); 19511 } 19512 19513 void sub_2B045320(void) { 19514 int _fpu_cmp = 0; 19515 uint32_t _cf = 0; 19516 int _df = 1; 19517 uint32_t _flag_k = FK_NONE; 19518 uint32_t _flag_a = 0, _flag_b = 0; 19519 uint32_t _itail_tgt = 0; 19520 RECOMP_REGS_LOCALS 19521 RECOMP_ENTER(0x2B045320u); 19522 19523 L_2B045320: 19524 PUSH32(esp, ebx); /* 0x2B045320: push ebx */ 19525 PUSH32(esp, esi); /* 0x2B045321: push esi */ 19526 PUSH32(esp, edi); /* 0x2B045322: push edi */ 19527 edi = ecx; /* 0x2B045323: mov edi, ecx */ 19528 eax = edi + 0x28; /* 0x2B045325: lea eax, [edi + 0x28] */ 19529 PUSH32(esp, eax); /* 0x2B045328: push eax */ 19530 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B045329: call dword ptr [0x2b0b5d6c] */ 19531 RECOMP_FLAGS_IN(); 19532 ecx = eax; /* 0x2B04532F: mov ecx, eax */ 19533 RECOMP_ICALL(MEM32(0x2B0B5E98)); /* 0x2B045331: call dword ptr [0x2b0b5e98] */ 19534 RECOMP_FLAGS_IN(); 19535 ebx = eax; /* 0x2B045337: mov ebx, eax */ 19536 /* test ebx, ebx */ /* 0x2B045339: test ebx, ebx */ 19537 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 19538 _cf = 0; 19539 _flag_k = FK_TEST; 19540 if (TEST_Z(_flag_a, _flag_b)) goto L_2B045362; /* 0x2B04533B: je 0x2b045362 */ 19541 L_2B04533D: 19542 ecx = MEM32(edi + 0x14); /* 0x2B04533D: mov ecx, dword ptr [edi + 0x14] */ 19543 RECOMP_ICALL(MEM32(0x2B0B58CC)); /* 0x2B045340: call dword ptr [0x2b0b58cc] */ 19544 RECOMP_FLAGS_IN(); 19545 ecx = MEM32(ebx + 0x4); /* 0x2B045346: mov ecx, dword ptr [ebx + 4] */ 19546 ebx = MEM32(ebx + 0x8); /* 0x2B045349: mov ebx, dword ptr [ebx + 8] */ 19547 /* test ebx, ebx */ /* 0x2B04534C: test ebx, ebx */ 19548 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 19549 _cf = 0; 19550 _flag_k = FK_TEST; 19551 esi = MEM32(ecx); /* 0x2B04534E: mov esi, dword ptr [ecx] */ 19552 if (TEST_LE(_flag_a, _flag_b)) goto L_2B045362; /* 0x2B045350: jle 0x2b045362 */ 19553 L_2B045352: 19554 edx = esi + 0x8; /* 0x2B045352: lea edx, [esi + 8] */ 19555 PUSH32(esp, edx); /* 0x2B045355: push edx */ 19556 ecx = edi; /* 0x2B045356: mov ecx, edi */ 19557 RECOMP_ICALL(0x2B0450D0u); /* 0x2B045358: call 0x2b0450d0 */ /* not lifted */ 19558 RECOMP_FLAGS_IN(); 19559 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1); 19560 ebx = ebx - 1; /* 0x2B04535D: dec ebx */ 19561 _flag_k = FK_DEC; 19562 esi = MEM32(esi); /* 0x2B04535E: mov esi, dword ptr [esi] */ 19563 RECOMP_BACKEDGE(); 19564 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B045352; /* 0x2B045360: jne 0x2b045352 */ 19565 L_2B045362: 19566 ecx = MEM32(edi + 0x14); /* 0x2B045362: mov ecx, dword ptr [edi + 0x14] */ 19567 RECOMP_ICALL(MEM32(0x2B0B58D4)); /* 0x2B045365: call dword ptr [0x2b0b58d4] */ 19568 RECOMP_FLAGS_IN(); 19569 ecx = edi; /* 0x2B04536B: mov ecx, edi */ 19570 RECOMP_ICALL(0x2B0449A0u); /* 0x2B04536D: call 0x2b0449a0 */ /* not lifted */ 19571 RECOMP_FLAGS_IN(); 19572 edi = POP32_VAL(esp); /* 0x2B045372: pop edi */ 19573 esi = POP32_VAL(esp); /* 0x2B045373: pop esi */ 19574 ebx = POP32_VAL(esp); /* 0x2B045374: pop ebx */ 19575 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B045375: ret */ 19576 RECOMP_REGS_OUT(); 19577 } 19578 19579 void sub_2B045380(void) { 19580 int _fpu_cmp = 0; 19581 uint32_t _cf = 0; 19582 int _df = 1; 19583 uint32_t _flag_k = FK_NONE; 19584 uint32_t _flag_a = 0, _flag_b = 0; 19585 uint32_t _itail_tgt = 0; 19586 RECOMP_REGS_LOCALS 19587 RECOMP_ENTER(0x2B045380u); 19588 19589 L_2B045380: 19590 PUSH32(esp, ebp); /* 0x2B045380: push ebp */ 19591 ebp = esp; /* 0x2B045381: mov ebp, esp */ 19592 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 19593 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19594 esp = esp - 8; /* 0x2B045383: sub esp, 8 */ 19595 _flag_k = FK_CMP; 19596 ecx = MEM32(ebp + 0x8); /* 0x2B045386: mov ecx, dword ptr [ebp + 8] */ 19597 /* test ecx, ecx */ /* 0x2B045389: test ecx, ecx */ 19598 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 19599 _cf = 0; 19600 _flag_k = FK_TEST; 19601 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0453AB; /* 0x2B04538B: je 0x2b0453ab */ 19602 L_2B04538D: 19603 eax = MEM32(ecx); /* 0x2B04538D: mov eax, dword ptr [ecx] */ 19604 edx = MEM32(ecx + 0x4); /* 0x2B04538F: mov edx, dword ptr [ecx + 4] */ 19605 PUSH32(esp, esi); /* 0x2B045392: push esi */ 19606 esi = MEM32(ebp + 0xC); /* 0x2B045393: mov esi, dword ptr [ebp + 0xc] */ 19607 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi)); 19608 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19609 eax = eax + MEM32(esi); /* 0x2B045396: add eax, dword ptr [esi] */ 19610 _flag_k = FK_ADD; 19611 MEM32(ebp + (-0x8)) = eax; /* 0x2B045398: mov dword ptr [ebp - 8], eax */ 19612 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 19613 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19614 edx = edx + MEM32(esi + 0x4); /* 0x2B04539B: add edx, dword ptr [esi + 4] */ 19615 _flag_k = FK_ADD; 19616 eax = ebp + (-0x8); /* 0x2B04539E: lea eax, [ebp - 8] */ 19617 PUSH32(esp, eax); /* 0x2B0453A1: push eax */ 19618 MEM32(ebp + (-0x4)) = edx; /* 0x2B0453A2: mov dword ptr [ebp - 4], edx */ 19619 RECOMP_ICALL(0x2B044A90u); /* 0x2B0453A5: call 0x2b044a90 */ /* not lifted */ 19620 RECOMP_FLAGS_IN(); 19621 esi = POP32_VAL(esp); /* 0x2B0453AA: pop esi */ 19622 L_2B0453AB: 19623 esp = ebp; /* 0x2B0453AB: mov esp, ebp */ 19624 ebp = POP32_VAL(esp); /* 0x2B0453AD: pop ebp */ 19625 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0453AE: ret */ 19626 RECOMP_REGS_OUT(); 19627 } 19628 19629 void sub_2B0453B0(void) { 19630 int _fpu_cmp = 0; 19631 uint32_t _cf = 0; 19632 int _df = 1; 19633 uint32_t _flag_k = FK_NONE; 19634 uint32_t _flag_a = 0, _flag_b = 0; 19635 uint32_t _itail_tgt = 0; 19636 RECOMP_REGS_LOCALS 19637 RECOMP_ENTER(0x2B0453B0u); 19638 19639 L_2B0453B0: 19640 PUSH32(esp, ebp); /* 0x2B0453B0: push ebp */ 19641 ebp = esp; /* 0x2B0453B1: mov ebp, esp */ 19642 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 19643 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19644 esp = esp - 8; /* 0x2B0453B3: sub esp, 8 */ 19645 _flag_k = FK_CMP; 19646 PUSH32(esp, esi); /* 0x2B0453B6: push esi */ 19647 esi = MEM32(ebp + 0x8); /* 0x2B0453B7: mov esi, dword ptr [ebp + 8] */ 19648 /* test esi, esi */ /* 0x2B0453BA: test esi, esi */ 19649 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 19650 _cf = 0; 19651 _flag_k = FK_TEST; 19652 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0453F3; /* 0x2B0453BC: je 0x2b0453f3 */ 19653 L_2B0453BE: 19654 SET_LO8(eax, MEM8(esi + 0x30)); /* 0x2B0453BE: mov al, byte ptr [esi + 0x30] */ 19655 /* test LO8(eax), LO8(eax) */ /* 0x2B0453C1: test al, al */ 19656 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19657 _cf = 0; 19658 _flag_k = FK_NARROW(FK_TEST, 24); 19659 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0453F3; /* 0x2B0453C3: je 0x2b0453f3 */ 19660 L_2B0453C5: 19661 eax = esi + 0x28; /* 0x2B0453C5: lea eax, [esi + 0x28] */ 19662 ecx = ebp + (-0x8); /* 0x2B0453C8: lea ecx, [ebp - 8] */ 19663 /* cmp ecx, eax */ /* 0x2B0453CB: cmp ecx, eax */ 19664 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 19665 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19666 _flag_k = FK_CMP; 19667 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0453DA; /* 0x2B0453CD: je 0x2b0453da */ 19668 L_2B0453CF: 19669 edx = MEM32(eax); /* 0x2B0453CF: mov edx, dword ptr [eax] */ 19670 eax = MEM32(eax + 0x4); /* 0x2B0453D1: mov eax, dword ptr [eax + 4] */ 19671 MEM32(ebp + (-0x8)) = edx; /* 0x2B0453D4: mov dword ptr [ebp - 8], edx */ 19672 MEM32(ebp + (-0x4)) = eax; /* 0x2B0453D7: mov dword ptr [ebp - 4], eax */ 19673 L_2B0453DA: 19674 ecx = ebp + (-0x8); /* 0x2B0453DA: lea ecx, [ebp - 8] */ 19675 PUSH32(esp, ecx); /* 0x2B0453DD: push ecx */ 19676 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0453DE: call dword ptr [0x2b0b5d6c] */ 19677 RECOMP_FLAGS_IN(); 19678 ecx = eax; /* 0x2B0453E4: mov ecx, eax */ 19679 RECOMP_ICALL(MEM32(0x2B0B5EF0)); /* 0x2B0453E6: call dword ptr [0x2b0b5ef0] */ 19680 RECOMP_FLAGS_IN(); 19681 ecx = esi; /* 0x2B0453EC: mov ecx, esi */ 19682 RECOMP_ICALL(0x2B045020u); /* 0x2B0453EE: call 0x2b045020 */ /* not lifted */ 19683 RECOMP_FLAGS_IN(); 19684 L_2B0453F3: 19685 esi = POP32_VAL(esp); /* 0x2B0453F3: pop esi */ 19686 esp = ebp; /* 0x2B0453F4: mov esp, ebp */ 19687 ebp = POP32_VAL(esp); /* 0x2B0453F6: pop ebp */ 19688 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0453F7: ret */ 19689 RECOMP_REGS_OUT(); 19690 } 19691 19692 void sub_2B045400(void) { 19693 int _fpu_cmp = 0; 19694 uint32_t _cf = 0; 19695 int _df = 1; 19696 uint32_t _flag_k = FK_NONE; 19697 uint32_t _flag_a = 0, _flag_b = 0; 19698 uint32_t _itail_tgt = 0; 19699 RECOMP_REGS_LOCALS 19700 RECOMP_ENTER(0x2B045400u); 19701 19702 L_2B045400: 19703 PUSH32(esp, ebp); /* 0x2B045400: push ebp */ 19704 ebp = esp; /* 0x2B045401: mov ebp, esp */ 19705 eax = MEM32(ebp + 0xC); /* 0x2B045403: mov eax, dword ptr [ebp + 0xc] */ 19706 edx = MEM32(ebp + 0x8); /* 0x2B045406: mov edx, dword ptr [ebp + 8] */ 19707 ecx = MEM32(ecx + 0x14); /* 0x2B045409: mov ecx, dword ptr [ecx + 0x14] */ 19708 PUSH32(esp, eax); /* 0x2B04540C: push eax */ 19709 PUSH32(esp, edx); /* 0x2B04540D: push edx */ 19710 RECOMP_ICALL(MEM32(0x2B0B58C4)); /* 0x2B04540E: call dword ptr [0x2b0b58c4] */ 19711 RECOMP_FLAGS_IN(); 19712 ebp = POP32_VAL(esp); /* 0x2B045414: pop ebp */ 19713 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B045415: ret 8 */ 19714 RECOMP_REGS_OUT(); 19715 } 19716 19717 void sub_2B045420(void) { 19718 int _fpu_cmp = 0; 19719 uint32_t _cf = 0; 19720 int _df = 1; 19721 uint32_t _flag_k = FK_NONE; 19722 uint32_t _flag_a = 0, _flag_b = 0; 19723 uint32_t _itail_tgt = 0; 19724 RECOMP_REGS_LOCALS 19725 RECOMP_ENTER(0x2B045420u); 19726 19727 L_2B045420: 19728 PUSH32(esp, ebx); /* 0x2B045420: push ebx */ 19729 PUSH32(esp, esi); /* 0x2B045421: push esi */ 19730 esi = MEM32(0x2B0B53CC); /* 0x2B045422: mov esi, dword ptr [0x2b0b53cc] */ 19731 PUSH32(esp, edi); /* 0x2B045428: push edi */ 19732 ebx = ecx; /* 0x2B045429: mov ebx, ecx */ 19733 RECOMP_ICALL(esi); /* 0x2B04542B: call esi */ 19734 RECOMP_FLAGS_IN(); 19735 ecx = eax; /* 0x2B04542D: mov ecx, eax */ 19736 RECOMP_ICALL(MEM32(0x2B0B5374)); /* 0x2B04542F: call dword ptr [0x2b0b5374] */ 19737 RECOMP_FLAGS_IN(); 19738 PUSH32(esp, 0xBB8u); /* 0x2B045435: push 0xbb8 */ 19739 PUSH32(esp, 0x20u); /* 0x2B04543A: push 0x20 */ 19740 PUSH32(esp, 1); /* 0x2B04543C: push 1 */ 19741 RECOMP_ICALL(esi); /* 0x2B04543E: call esi */ 19742 RECOMP_FLAGS_IN(); 19743 ecx = eax; /* 0x2B045440: mov ecx, eax */ 19744 RECOMP_ICALL(MEM32(0x2B0B5378)); /* 0x2B045442: call dword ptr [0x2b0b5378] */ 19745 RECOMP_FLAGS_IN(); 19746 PUSH32(esp, 0x2B045590u); /* 0x2B045448: push 0x2b045590 */ 19747 PUSH32(esp, 5); /* 0x2B04544D: push 5 */ 19748 RECOMP_ICALL(esi); /* 0x2B04544F: call esi */ 19749 RECOMP_FLAGS_IN(); 19750 edi = MEM32(0x2B0B5324); /* 0x2B045451: mov edi, dword ptr [0x2b0b5324] */ 19751 ecx = eax; /* 0x2B045457: mov ecx, eax */ 19752 RECOMP_ICALL(edi); /* 0x2B045459: call edi */ 19753 RECOMP_FLAGS_IN(); 19754 PUSH32(esp, 0x2B0455F0u); /* 0x2B04545B: push 0x2b0455f0 */ 19755 PUSH32(esp, 6); /* 0x2B045460: push 6 */ 19756 RECOMP_ICALL(esi); /* 0x2B045462: call esi */ 19757 RECOMP_FLAGS_IN(); 19758 ecx = eax; /* 0x2B045464: mov ecx, eax */ 19759 RECOMP_ICALL(edi); /* 0x2B045466: call edi */ 19760 RECOMP_FLAGS_IN(); 19761 PUSH32(esp, 0x2B045610u); /* 0x2B045468: push 0x2b045610 */ 19762 PUSH32(esp, 0xC7u); /* 0x2B04546D: push 0xc7 */ 19763 RECOMP_ICALL(esi); /* 0x2B045472: call esi */ 19764 RECOMP_FLAGS_IN(); 19765 ecx = eax; /* 0x2B045474: mov ecx, eax */ 19766 RECOMP_ICALL(edi); /* 0x2B045476: call edi */ 19767 RECOMP_FLAGS_IN(); 19768 PUSH32(esp, 0x2B045640u); /* 0x2B045478: push 0x2b045640 */ 19769 PUSH32(esp, 0xC9u); /* 0x2B04547D: push 0xc9 */ 19770 RECOMP_ICALL(esi); /* 0x2B045482: call esi */ 19771 RECOMP_FLAGS_IN(); 19772 ecx = eax; /* 0x2B045484: mov ecx, eax */ 19773 RECOMP_ICALL(edi); /* 0x2B045486: call edi */ 19774 RECOMP_FLAGS_IN(); 19775 PUSH32(esp, 0x2B0456E0u); /* 0x2B045488: push 0x2b0456e0 */ 19776 PUSH32(esp, 0x11Cu); /* 0x2B04548D: push 0x11c */ 19777 RECOMP_ICALL(esi); /* 0x2B045492: call esi */ 19778 RECOMP_FLAGS_IN(); 19779 ecx = eax; /* 0x2B045494: mov ecx, eax */ 19780 RECOMP_ICALL(edi); /* 0x2B045496: call edi */ 19781 RECOMP_FLAGS_IN(); 19782 PUSH32(esp, 0x2B045750u); /* 0x2B045498: push 0x2b045750 */ 19783 PUSH32(esp, 0x130u); /* 0x2B04549D: push 0x130 */ 19784 RECOMP_ICALL(esi); /* 0x2B0454A2: call esi */ 19785 RECOMP_FLAGS_IN(); 19786 ecx = eax; /* 0x2B0454A4: mov ecx, eax */ 19787 RECOMP_ICALL(edi); /* 0x2B0454A6: call edi */ 19788 RECOMP_FLAGS_IN(); 19789 PUSH32(esp, 0x2B045A60u); /* 0x2B0454A8: push 0x2b045a60 */ 19790 PUSH32(esp, 0x131u); /* 0x2B0454AD: push 0x131 */ 19791 RECOMP_ICALL(esi); /* 0x2B0454B2: call esi */ 19792 RECOMP_FLAGS_IN(); 19793 ecx = eax; /* 0x2B0454B4: mov ecx, eax */ 19794 RECOMP_ICALL(edi); /* 0x2B0454B6: call edi */ 19795 RECOMP_FLAGS_IN(); 19796 PUSH32(esp, 0x2B0457C0u); /* 0x2B0454B8: push 0x2b0457c0 */ 19797 PUSH32(esp, 0xB2u); /* 0x2B0454BD: push 0xb2 */ 19798 RECOMP_ICALL(esi); /* 0x2B0454C2: call esi */ 19799 RECOMP_FLAGS_IN(); 19800 ecx = eax; /* 0x2B0454C4: mov ecx, eax */ 19801 RECOMP_ICALL(edi); /* 0x2B0454C6: call edi */ 19802 RECOMP_FLAGS_IN(); 19803 PUSH32(esp, 0x2B045AC0u); /* 0x2B0454C8: push 0x2b045ac0 */ 19804 PUSH32(esp, 0xB5u); /* 0x2B0454CD: push 0xb5 */ 19805 RECOMP_ICALL(esi); /* 0x2B0454D2: call esi */ 19806 RECOMP_FLAGS_IN(); 19807 ecx = eax; /* 0x2B0454D4: mov ecx, eax */ 19808 RECOMP_ICALL(edi); /* 0x2B0454D6: call edi */ 19809 RECOMP_FLAGS_IN(); 19810 PUSH32(esp, 0x2B045BC0u); /* 0x2B0454D8: push 0x2b045bc0 */ 19811 PUSH32(esp, 0xB8u); /* 0x2B0454DD: push 0xb8 */ 19812 RECOMP_ICALL(esi); /* 0x2B0454E2: call esi */ 19813 RECOMP_FLAGS_IN(); 19814 ecx = eax; /* 0x2B0454E4: mov ecx, eax */ 19815 RECOMP_ICALL(edi); /* 0x2B0454E6: call edi */ 19816 RECOMP_FLAGS_IN(); 19817 PUSH32(esp, 0x2B045C80u); /* 0x2B0454E8: push 0x2b045c80 */ 19818 PUSH32(esp, 0x9Cu); /* 0x2B0454ED: push 0x9c */ 19819 RECOMP_ICALL(esi); /* 0x2B0454F2: call esi */ 19820 RECOMP_FLAGS_IN(); 19821 ecx = eax; /* 0x2B0454F4: mov ecx, eax */ 19822 RECOMP_ICALL(edi); /* 0x2B0454F6: call edi */ 19823 RECOMP_FLAGS_IN(); 19824 edi = POP32_VAL(esp); /* 0x2B0454F8: pop edi */ 19825 esi = POP32_VAL(esp); /* 0x2B0454F9: pop esi */ 19826 eax = ebx; /* 0x2B0454FA: mov eax, ebx */ 19827 ebx = POP32_VAL(esp); /* 0x2B0454FC: pop ebx */ 19828 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0454FD: ret */ 19829 RECOMP_REGS_OUT(); 19830 } 19831 19832 void sub_2B045500(void) { 19833 int _fpu_cmp = 0; 19834 uint32_t _cf = 0; 19835 int _df = 1; 19836 uint32_t _flag_k = FK_NONE; 19837 uint32_t _flag_a = 0, _flag_b = 0; 19838 uint32_t _itail_tgt = 0; 19839 RECOMP_REGS_LOCALS 19840 RECOMP_ENTER(0x2B045500u); 19841 19842 L_2B045500: 19843 MEM32(0x2B0EEA7C) = 0; /* 0x2B045500: mov dword ptr [0x2b0eea7c], 0 */ 19844 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B04550A: ret */ 19845 RECOMP_REGS_OUT(); 19846 } 19847 19848 void sub_2B045510(void) { 19849 int _fpu_cmp = 0; 19850 uint32_t _cf = 0; 19851 int _df = 1; 19852 uint32_t _flag_k = FK_NONE; 19853 uint32_t _flag_a = 0, _flag_b = 0; 19854 uint32_t _itail_tgt = 0; 19855 RECOMP_REGS_LOCALS 19856 RECOMP_ENTER(0x2B045510u); 19857 19858 L_2B045510: 19859 PUSH32(esp, ebp); /* 0x2B045510: push ebp */ 19860 ebp = esp; /* 0x2B045511: mov ebp, esp */ 19861 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B045513: push -1 */ 19862 PUSH32(esp, 0x2B0AEFDBu); /* 0x2B045515: push 0x2b0aefdb */ 19863 eax = MEM32(FS_BASE + (0)); /* 0x2B04551A: mov eax, dword ptr fs:[0] */ 19864 PUSH32(esp, eax); /* 0x2B045520: push eax */ 19865 MEM32(FS_BASE + (0)) = esp; /* 0x2B045521: mov dword ptr fs:[0], esp */ 19866 PUSH32(esp, ecx); /* 0x2B045528: push ecx */ 19867 eax = MEM32(0x2B0EEA7C); /* 0x2B045529: mov eax, dword ptr [0x2b0eea7c] */ 19868 /* test eax, eax */ /* 0x2B04552E: test eax, eax */ 19869 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 19870 _cf = 0; 19871 _flag_k = FK_TEST; 19872 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B04556B; /* 0x2B045530: jne 0x2b04556b */ 19873 L_2B045532: 19874 PUSH32(esp, 1); /* 0x2B045532: push 1 */ 19875 RECOMP_ICALL(0x2B0AB212u); /* 0x2B045534: call 0x2b0ab212 */ /* not lifted */ 19876 RECOMP_FLAGS_IN(); 19877 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19878 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19879 esp = esp + 4; /* 0x2B045539: add esp, 4 */ 19880 _flag_k = FK_ADD; 19881 MEM32(ebp + (-0x10)) = eax; /* 0x2B04553C: mov dword ptr [ebp - 0x10], eax */ 19882 /* test eax, eax */ /* 0x2B04553F: test eax, eax */ 19883 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 19884 _cf = 0; 19885 _flag_k = FK_TEST; 19886 MEM32(ebp + (-0x4)) = 0; /* 0x2B045541: mov dword ptr [ebp - 4], 0 */ 19887 if (TEST_Z(_flag_a, _flag_b)) goto L_2B045564; /* 0x2B045548: je 0x2b045564 */ 19888 L_2B04554A: 19889 ecx = eax; /* 0x2B04554A: mov ecx, eax */ 19890 RECOMP_ICALL(0x2B045420u); /* 0x2B04554C: call 0x2b045420 */ /* not lifted */ 19891 RECOMP_FLAGS_IN(); 19892 MEM32(0x2B0EEA7C) = eax; /* 0x2B045551: mov dword ptr [0x2b0eea7c], eax */ 19893 ecx = MEM32(ebp + (-0xC)); /* 0x2B045556: mov ecx, dword ptr [ebp - 0xc] */ 19894 MEM32(FS_BASE + (0)) = ecx; /* 0x2B045559: mov dword ptr fs:[0], ecx */ 19895 esp = ebp; /* 0x2B045560: mov esp, ebp */ 19896 ebp = POP32_VAL(esp); /* 0x2B045562: pop ebp */ 19897 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B045563: ret */ 19898 L_2B045564: 19899 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19900 eax = 0; /* 0x2B045564: xor eax, eax */ 19901 _cf = 0; 19902 _flag_k = FK_TEST; 19903 MEM32(0x2B0EEA7C) = eax; /* 0x2B045566: mov dword ptr [0x2b0eea7c], eax */ 19904 L_2B04556B: 19905 ecx = MEM32(ebp + (-0xC)); /* 0x2B04556B: mov ecx, dword ptr [ebp - 0xc] */ 19906 MEM32(FS_BASE + (0)) = ecx; /* 0x2B04556E: mov dword ptr fs:[0], ecx */ 19907 esp = ebp; /* 0x2B045575: mov esp, ebp */ 19908 ebp = POP32_VAL(esp); /* 0x2B045577: pop ebp */ 19909 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B045578: ret */ 19910 RECOMP_REGS_OUT(); 19911 } 19912 19913 void sub_2B045580(void) { 19914 int _fpu_cmp = 0; 19915 uint32_t _cf = 0; 19916 int _df = 1; 19917 uint32_t _flag_k = FK_NONE; 19918 uint32_t _flag_a = 0, _flag_b = 0; 19919 uint32_t _itail_tgt = 0; 19920 RECOMP_REGS_LOCALS 19921 RECOMP_ENTER(0x2B045580u); 19922 19923 L_2B045580: 19924 eax = MEM32(0x2B0EEA7C); /* 0x2B045580: mov eax, dword ptr [0x2b0eea7c] */ 19925 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B045585: ret */ 19926 RECOMP_REGS_OUT(); 19927 } 19928 19929 void sub_2B045590(void) { 19930 int _fpu_cmp = 0; 19931 uint32_t _cf = 0; 19932 int _df = 1; 19933 uint32_t _flag_k = FK_NONE; 19934 uint32_t _flag_a = 0, _flag_b = 0; 19935 uint32_t _itail_tgt = 0; 19936 RECOMP_REGS_LOCALS 19937 RECOMP_ENTER(0x2B045590u); 19938 19939 L_2B045590: 19940 PUSH32(esp, ebp); /* 0x2B045590: push ebp */ 19941 ebp = esp; /* 0x2B045591: mov ebp, esp */ 19942 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B045593: push -1 */ 19943 PUSH32(esp, 0x2B0AEFFBu); /* 0x2B045595: push 0x2b0aeffb */ 19944 eax = MEM32(FS_BASE + (0)); /* 0x2B04559A: mov eax, dword ptr fs:[0] */ 19945 PUSH32(esp, eax); /* 0x2B0455A0: push eax */ 19946 MEM32(FS_BASE + (0)) = esp; /* 0x2B0455A1: mov dword ptr fs:[0], esp */ 19947 PUSH32(esp, ecx); /* 0x2B0455A8: push ecx */ 19948 PUSH32(esp, 0x34u); /* 0x2B0455A9: push 0x34 */ 19949 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0455AB: call 0x2b0ab212 */ /* not lifted */ 19950 RECOMP_FLAGS_IN(); 19951 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19952 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19953 esp = esp + 4; /* 0x2B0455B0: add esp, 4 */ 19954 _flag_k = FK_ADD; 19955 MEM32(ebp + (-0x10)) = eax; /* 0x2B0455B3: mov dword ptr [ebp - 0x10], eax */ 19956 /* test eax, eax */ /* 0x2B0455B6: test eax, eax */ 19957 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 19958 _cf = 0; 19959 _flag_k = FK_TEST; 19960 MEM32(ebp + (-0x4)) = 0; /* 0x2B0455B8: mov dword ptr [ebp - 4], 0 */ 19961 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0455DB; /* 0x2B0455BF: je 0x2b0455db */ 19962 L_2B0455C1: 19963 ecx = eax; /* 0x2B0455C1: mov ecx, eax */ 19964 RECOMP_ICALL(0x2B045CB0u); /* 0x2B0455C3: call 0x2b045cb0 */ /* not lifted */ 19965 RECOMP_FLAGS_IN(); 19966 MEM32(0x2B0EEA80) = eax; /* 0x2B0455C8: mov dword ptr [0x2b0eea80], eax */ 19967 ecx = MEM32(ebp + (-0xC)); /* 0x2B0455CD: mov ecx, dword ptr [ebp - 0xc] */ 19968 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0455D0: mov dword ptr fs:[0], ecx */ 19969 esp = ebp; /* 0x2B0455D7: mov esp, ebp */ 19970 ebp = POP32_VAL(esp); /* 0x2B0455D9: pop ebp */ 19971 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0455DA: ret */ 19972 L_2B0455DB: 19973 ecx = MEM32(ebp + (-0xC)); /* 0x2B0455DB: mov ecx, dword ptr [ebp - 0xc] */ 19974 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19975 eax = 0; /* 0x2B0455DE: xor eax, eax */ 19976 _cf = 0; 19977 _flag_k = FK_TEST; 19978 MEM32(0x2B0EEA80) = eax; /* 0x2B0455E0: mov dword ptr [0x2b0eea80], eax */ 19979 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0455E5: mov dword ptr fs:[0], ecx */ 19980 esp = ebp; /* 0x2B0455EC: mov esp, ebp */ 19981 ebp = POP32_VAL(esp); /* 0x2B0455EE: pop ebp */ 19982 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0455EF: ret */ 19983 RECOMP_REGS_OUT(); 19984 } 19985 19986 void sub_2B0455F0(void) { 19987 int _fpu_cmp = 0; 19988 uint32_t _cf = 0; 19989 int _df = 1; 19990 uint32_t _flag_k = FK_NONE; 19991 uint32_t _flag_a = 0, _flag_b = 0; 19992 uint32_t _itail_tgt = 0; 19993 RECOMP_REGS_LOCALS 19994 RECOMP_ENTER(0x2B0455F0u); 19995 19996 L_2B0455F0: 19997 ecx = MEM32(0x2B0EEA80); /* 0x2B0455F0: mov ecx, dword ptr [0x2b0eea80] */ 19998 /* test ecx, ecx */ /* 0x2B0455F6: test ecx, ecx */ 19999 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 20000 _cf = 0; 20001 _flag_k = FK_TEST; 20002 if (TEST_Z(_flag_a, _flag_b)) goto L_2B045600; /* 0x2B0455F8: je 0x2b045600 */ 20003 L_2B0455FA: 20004 eax = MEM32(ecx); /* 0x2B0455FA: mov eax, dword ptr [ecx] */ 20005 PUSH32(esp, 1); /* 0x2B0455FC: push 1 */ 20006 RECOMP_ICALL(MEM32(eax)); /* 0x2B0455FE: call dword ptr [eax] */ 20007 RECOMP_FLAGS_IN(); 20008 L_2B045600: 20009 MEM32(0x2B0EEA80) = 0; /* 0x2B045600: mov dword ptr [0x2b0eea80], 0 */ 20010 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B04560A: ret */ 20011 RECOMP_REGS_OUT(); 20012 } 20013 20014 void sub_2B045610(void) { 20015 int _fpu_cmp = 0; 20016 uint32_t _cf = 0; 20017 int _df = 1; 20018 uint32_t _flag_k = FK_NONE; 20019 uint32_t _flag_a = 0, _flag_b = 0; 20020 uint32_t _itail_tgt = 0; 20021 RECOMP_REGS_LOCALS 20022 RECOMP_ENTER(0x2B045610u); 20023 20024 L_2B045610: 20025 PUSH32(esp, ebp); /* 0x2B045610: push ebp */ 20026 ebp = esp; /* 0x2B045611: mov ebp, esp */ 20027 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 20028 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20029 esp = esp - 8; /* 0x2B045613: sub esp, 8 */ 20030 _flag_k = FK_CMP; 20031 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20032 eax = 0; /* 0x2B045616: xor eax, eax */ 20033 _cf = 0; 20034 _flag_k = FK_TEST; 20035 MEM32(ebp + (-0x8)) = eax; /* 0x2B045618: mov dword ptr [ebp - 8], eax */ 20036 MEM32(ebp + (-0x4)) = eax; /* 0x2B04561B: mov dword ptr [ebp - 4], eax */ 20037 eax = ebp + (-0x8); /* 0x2B04561E: lea eax, [ebp - 8] */ 20038 PUSH32(esp, eax); /* 0x2B045621: push eax */ 20039 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B045622: call dword ptr [0x2b0b53cc] */ 20040 RECOMP_FLAGS_IN(); 20041 ecx = eax; /* 0x2B045628: mov ecx, eax */ 20042 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B04562A: call dword ptr [0x2b0b53ac] */ 20043 RECOMP_FLAGS_IN(); 20044 RECOMP_ICALL(0x2B0456E0u); /* 0x2B045630: call 0x2b0456e0 */ /* not lifted */ 20045 RECOMP_FLAGS_IN(); 20046 esp = ebp; /* 0x2B045635: mov esp, ebp */ 20047 ebp = POP32_VAL(esp); /* 0x2B045637: pop ebp */ 20048 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B045638: ret */ 20049 RECOMP_REGS_OUT(); 20050 } 20051 20052 void sub_2B045640(void) { 20053 int _fpu_cmp = 0; 20054 uint32_t _cf = 0; 20055 int _df = 1; 20056 uint32_t _flag_k = FK_NONE; 20057 uint32_t _flag_a = 0, _flag_b = 0; 20058 uint32_t _itail_tgt = 0; 20059 RECOMP_REGS_LOCALS 20060 RECOMP_ENTER(0x2B045640u); 20061 20062 L_2B045640: 20063 PUSH32(esp, ebp); /* 0x2B045640: push ebp */ 20064 ebp = esp; /* 0x2B045641: mov ebp, esp */ 20065 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 20066 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20067 esp = esp - 8; /* 0x2B045643: sub esp, 8 */ 20068 _flag_k = FK_CMP; 20069 PUSH32(esp, esi); /* 0x2B045646: push esi */ 20070 PUSH32(esp, edi); /* 0x2B045647: push edi */ 20071 edi = MEM32(0x2B0B53CC); /* 0x2B045648: mov edi, dword ptr [0x2b0b53cc] */ 20072 RECOMP_ICALL(edi); /* 0x2B04564E: call edi */ 20073 RECOMP_FLAGS_IN(); 20074 ecx = eax; /* 0x2B045650: mov ecx, eax */ 20075 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B045652: call dword ptr [0x2b0b53a4] */ 20076 RECOMP_FLAGS_IN(); 20077 esi = eax; /* 0x2B045658: mov esi, eax */ 20078 eax = ebp + (-0x8); /* 0x2B04565A: lea eax, [ebp - 8] */ 20079 PUSH32(esp, eax); /* 0x2B04565D: push eax */ 20080 MEM32(ebp + (-0x8)) = 0; /* 0x2B04565E: mov dword ptr [ebp - 8], 0 */ 20081 MEM32(ebp + (-0x4)) = 0; /* 0x2B045665: mov dword ptr [ebp - 4], 0 */ 20082 RECOMP_ICALL(edi); /* 0x2B04566C: call edi */ 20083 RECOMP_FLAGS_IN(); 20084 ecx = eax; /* 0x2B04566E: mov ecx, eax */ 20085 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B045670: call dword ptr [0x2b0b53ac] */ 20086 RECOMP_FLAGS_IN(); 20087 PUSH32(esp, 0); /* 0x2B045676: push 0 */ 20088 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B045678: call dword ptr [0x2b0b596c] */ 20089 RECOMP_FLAGS_IN(); 20090 ecx = eax; /* 0x2B04567E: mov ecx, eax */ 20091 RECOMP_ICALL(MEM32(0x2B0B591C)); /* 0x2B045680: call dword ptr [0x2b0b591c] */ 20092 RECOMP_FLAGS_IN(); 20093 SET_LO8(eax, MEM8(esi + 0x70)); /* 0x2B045686: mov al, byte ptr [esi + 0x70] */ 20094 /* test LO8(eax), LO8(eax) */ /* 0x2B045689: test al, al */ 20095 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 20096 _cf = 0; 20097 _flag_k = FK_NARROW(FK_TEST, 24); 20098 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04569D; /* 0x2B04568B: je 0x2b04569d */ 20099 L_2B04568D: 20100 edx = MEM32(0x2B0EEA80); /* 0x2B04568D: mov edx, dword ptr [0x2b0eea80] */ 20101 ecx = ebp + (-0x8); /* 0x2B045693: lea ecx, [ebp - 8] */ 20102 PUSH32(esp, ecx); /* 0x2B045696: push ecx */ 20103 ecx = MEM32(edx + 0x28); /* 0x2B045697: mov ecx, dword ptr [edx + 0x28] */ 20104 PUSH32(esp, esi); /* 0x2B04569A: push esi */ 20105 goto L_2B0456BA; /* 0x2B04569B: jmp 0x2b0456ba */ 20106 L_2B04569D: 20107 PUSH32(esp, esi); /* 0x2B04569D: push esi */ 20108 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B04569E: call dword ptr [0x2b0b596c] */ 20109 RECOMP_FLAGS_IN(); 20110 ecx = eax; /* 0x2B0456A4: mov ecx, eax */ 20111 RECOMP_ICALL(MEM32(0x2B0B5920)); /* 0x2B0456A6: call dword ptr [0x2b0b5920] */ 20112 RECOMP_FLAGS_IN(); 20113 ecx = MEM32(0x2B0EEA80); /* 0x2B0456AC: mov ecx, dword ptr [0x2b0eea80] */ 20114 ecx = MEM32(ecx + 0x28); /* 0x2B0456B2: mov ecx, dword ptr [ecx + 0x28] */ 20115 eax = ebp + (-0x8); /* 0x2B0456B5: lea eax, [ebp - 8] */ 20116 PUSH32(esp, eax); /* 0x2B0456B8: push eax */ 20117 PUSH32(esp, esi); /* 0x2B0456B9: push esi */ 20118 L_2B0456BA: 20119 RECOMP_ICALL(MEM32(0x2B0B5918)); /* 0x2B0456BA: call dword ptr [0x2b0b5918] */ 20120 RECOMP_FLAGS_IN(); 20121 ecx = MEM32(0x2B0EEA80); /* 0x2B0456C0: mov ecx, dword ptr [0x2b0eea80] */ 20122 RECOMP_ICALL(0x2B046090u); /* 0x2B0456C6: call 0x2b046090 */ /* not lifted */ 20123 RECOMP_FLAGS_IN(); 20124 ecx = MEM32(0x2B0EEA80); /* 0x2B0456CB: mov ecx, dword ptr [0x2b0eea80] */ 20125 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B0456D1: call 0x2b03a2b0 */ /* not lifted */ 20126 RECOMP_FLAGS_IN(); 20127 edi = POP32_VAL(esp); /* 0x2B0456D6: pop edi */ 20128 esi = POP32_VAL(esp); /* 0x2B0456D7: pop esi */ 20129 esp = ebp; /* 0x2B0456D8: mov esp, ebp */ 20130 ebp = POP32_VAL(esp); /* 0x2B0456DA: pop ebp */ 20131 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0456DB: ret */ 20132 RECOMP_REGS_OUT(); 20133 } 20134 20135 void sub_2B0456E0(void) { 20136 int _fpu_cmp = 0; 20137 uint32_t _cf = 0; 20138 int _df = 1; 20139 uint32_t _flag_k = FK_NONE; 20140 uint32_t _flag_a = 0, _flag_b = 0; 20141 uint32_t _itail_tgt = 0; 20142 RECOMP_REGS_LOCALS 20143 RECOMP_ENTER(0x2B0456E0u); 20144 20145 L_2B0456E0: 20146 PUSH32(esp, ebp); /* 0x2B0456E0: push ebp */ 20147 ebp = esp; /* 0x2B0456E1: mov ebp, esp */ 20148 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 20149 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20150 esp = esp - 8; /* 0x2B0456E3: sub esp, 8 */ 20151 _flag_k = FK_CMP; 20152 eax = ebp + (-0x8); /* 0x2B0456E6: lea eax, [ebp - 8] */ 20153 PUSH32(esp, eax); /* 0x2B0456E9: push eax */ 20154 MEM32(ebp + (-0x8)) = 0; /* 0x2B0456EA: mov dword ptr [ebp - 8], 0 */ 20155 MEM32(ebp + (-0x4)) = 0; /* 0x2B0456F1: mov dword ptr [ebp - 4], 0 */ 20156 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B0456F8: call dword ptr [0x2b0b53cc] */ 20157 RECOMP_FLAGS_IN(); 20158 ecx = eax; /* 0x2B0456FE: mov ecx, eax */ 20159 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B045700: call dword ptr [0x2b0b53ac] */ 20160 RECOMP_FLAGS_IN(); 20161 ecx = ebp + (-0x8); /* 0x2B045706: lea ecx, [ebp - 8] */ 20162 PUSH32(esp, 0); /* 0x2B045709: push 0 */ 20163 PUSH32(esp, ecx); /* 0x2B04570B: push ecx */ 20164 RECOMP_ICALL(0x2B045840u); /* 0x2B04570C: call 0x2b045840 */ /* not lifted */ 20165 RECOMP_FLAGS_IN(); 20166 ecx = MEM32(0x2B0EEA80); /* 0x2B045711: mov ecx, dword ptr [0x2b0eea80] */ 20167 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 20168 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20169 esp = esp + 8; /* 0x2B045717: add esp, 8 */ 20170 _flag_k = FK_ADD; 20171 RECOMP_ICALL(0x2B046090u); /* 0x2B04571A: call 0x2b046090 */ /* not lifted */ 20172 RECOMP_FLAGS_IN(); 20173 ecx = MEM32(0x2B0EEA80); /* 0x2B04571F: mov ecx, dword ptr [0x2b0eea80] */ 20174 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B045725: call 0x2b03a2b0 */ /* not lifted */ 20175 RECOMP_FLAGS_IN(); 20176 ecx = MEM32(0x2B0EEA80); /* 0x2B04572A: mov ecx, dword ptr [0x2b0eea80] */ 20177 RECOMP_ICALL(0x2B03A490u); /* 0x2B045730: call 0x2b03a490 */ /* not lifted */ 20178 RECOMP_FLAGS_IN(); 20179 edx = MEM32(0x2B0EEA80); /* 0x2B045735: mov edx, dword ptr [0x2b0eea80] */ 20180 PUSH32(esp, edx); /* 0x2B04573B: push edx */ 20181 RECOMP_ICALL(0x2B03BA50u); /* 0x2B04573C: call 0x2b03ba50 */ /* not lifted */ 20182 RECOMP_FLAGS_IN(); 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; /* 0x2B045741: add esp, 4 */ 20186 _flag_k = FK_ADD; 20187 esp = ebp; /* 0x2B045744: mov esp, ebp */ 20188 ebp = POP32_VAL(esp); /* 0x2B045746: pop ebp */ 20189 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B045747: ret */ 20190 RECOMP_REGS_OUT(); 20191 } 20192 20193 void sub_2B045750(void) { 20194 int _fpu_cmp = 0; 20195 uint32_t _cf = 0; 20196 int _df = 1; 20197 uint32_t _flag_k = FK_NONE; 20198 uint32_t _flag_a = 0, _flag_b = 0; 20199 uint32_t _itail_tgt = 0; 20200 RECOMP_REGS_LOCALS 20201 RECOMP_ENTER(0x2B045750u); 20202 20203 L_2B045750: 20204 PUSH32(esp, ebp); /* 0x2B045750: push ebp */ 20205 ebp = esp; /* 0x2B045751: mov ebp, esp */ 20206 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 20207 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20208 esp = esp - 8; /* 0x2B045753: sub esp, 8 */ 20209 _flag_k = FK_CMP; 20210 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B045756: call dword ptr [0x2b0b53cc] */ 20211 RECOMP_FLAGS_IN(); 20212 ecx = eax; /* 0x2B04575C: mov ecx, eax */ 20213 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B04575E: call dword ptr [0x2b0b53a4] */ 20214 RECOMP_FLAGS_IN(); 20215 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x54u); 20216 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20217 eax = eax + 0x54u; /* 0x2B045764: add eax, 0x54 */ 20218 _flag_k = FK_ADD; 20219 ecx = ebp + (-0x8); /* 0x2B045767: lea ecx, [ebp - 8] */ 20220 /* cmp ecx, eax */ /* 0x2B04576A: cmp ecx, eax */ 20221 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 20222 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20223 _flag_k = FK_CMP; 20224 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B045779; /* 0x2B04576C: je 0x2b045779 */ 20225 L_2B04576E: 20226 edx = MEM32(eax); /* 0x2B04576E: mov edx, dword ptr [eax] */ 20227 eax = MEM32(eax + 0x4); /* 0x2B045770: mov eax, dword ptr [eax + 4] */ 20228 MEM32(ebp + (-0x8)) = edx; /* 0x2B045773: mov dword ptr [ebp - 8], edx */ 20229 MEM32(ebp + (-0x4)) = eax; /* 0x2B045776: mov dword ptr [ebp - 4], eax */ 20230 L_2B045779: 20231 ecx = ebp + (-0x8); /* 0x2B045779: lea ecx, [ebp - 8] */ 20232 PUSH32(esp, 0); /* 0x2B04577C: push 0 */ 20233 PUSH32(esp, ecx); /* 0x2B04577E: push ecx */ 20234 RECOMP_ICALL(0x2B045840u); /* 0x2B04577F: call 0x2b045840 */ /* not lifted */ 20235 RECOMP_FLAGS_IN(); 20236 ecx = MEM32(0x2B0EEA80); /* 0x2B045784: mov ecx, dword ptr [0x2b0eea80] */ 20237 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 20238 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20239 esp = esp + 8; /* 0x2B04578A: add esp, 8 */ 20240 _flag_k = FK_ADD; 20241 RECOMP_ICALL(0x2B046090u); /* 0x2B04578D: call 0x2b046090 */ /* not lifted */ 20242 RECOMP_FLAGS_IN(); 20243 ecx = MEM32(0x2B0EEA80); /* 0x2B045792: mov ecx, dword ptr [0x2b0eea80] */ 20244 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B045798: call 0x2b03a2b0 */ /* not lifted */ 20245 RECOMP_FLAGS_IN(); 20246 ecx = MEM32(0x2B0EEA80); /* 0x2B04579D: mov ecx, dword ptr [0x2b0eea80] */ 20247 RECOMP_ICALL(0x2B03A490u); /* 0x2B0457A3: call 0x2b03a490 */ /* not lifted */ 20248 RECOMP_FLAGS_IN(); 20249 edx = MEM32(0x2B0EEA80); /* 0x2B0457A8: mov edx, dword ptr [0x2b0eea80] */ 20250 PUSH32(esp, edx); /* 0x2B0457AE: push edx */ 20251 RECOMP_ICALL(0x2B03BA50u); /* 0x2B0457AF: call 0x2b03ba50 */ /* not lifted */ 20252 RECOMP_FLAGS_IN(); 20253 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 20254 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20255 esp = esp + 4; /* 0x2B0457B4: add esp, 4 */ 20256 _flag_k = FK_ADD; 20257 esp = ebp; /* 0x2B0457B7: mov esp, ebp */ 20258 ebp = POP32_VAL(esp); /* 0x2B0457B9: pop ebp */ 20259 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0457BA: ret */ 20260 RECOMP_REGS_OUT(); 20261 } 20262 20263 void sub_2B0457C0(void) { 20264 int _fpu_cmp = 0; 20265 uint32_t _cf = 0; 20266 int _df = 1; 20267 uint32_t _flag_k = FK_NONE; 20268 uint32_t _flag_a = 0, _flag_b = 0; 20269 uint32_t _itail_tgt = 0; 20270 RECOMP_REGS_LOCALS 20271 RECOMP_ENTER(0x2B0457C0u); 20272 20273 L_2B0457C0: 20274 PUSH32(esp, ebp); /* 0x2B0457C0: push ebp */ 20275 ebp = esp; /* 0x2B0457C1: mov ebp, esp */ 20276 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 20277 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20278 esp = esp - 8; /* 0x2B0457C3: sub esp, 8 */ 20279 _flag_k = FK_CMP; 20280 PUSH32(esp, esi); /* 0x2B0457C6: push esi */ 20281 esi = MEM32(0x2B0B53CC); /* 0x2B0457C7: mov esi, dword ptr [0x2b0b53cc] */ 20282 PUSH32(esp, edi); /* 0x2B0457CD: push edi */ 20283 RECOMP_ICALL(esi); /* 0x2B0457CE: call esi */ 20284 RECOMP_FLAGS_IN(); 20285 ecx = eax; /* 0x2B0457D0: mov ecx, eax */ 20286 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B0457D2: call dword ptr [0x2b0b53a4] */ 20287 RECOMP_FLAGS_IN(); 20288 edi = eax; /* 0x2B0457D8: mov edi, eax */ 20289 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20290 eax = 0; /* 0x2B0457DA: xor eax, eax */ 20291 _cf = 0; 20292 _flag_k = FK_TEST; 20293 MEM32(ebp + (-0x8)) = eax; /* 0x2B0457DC: mov dword ptr [ebp - 8], eax */ 20294 MEM32(ebp + (-0x4)) = eax; /* 0x2B0457DF: mov dword ptr [ebp - 4], eax */ 20295 eax = ebp + (-0x8); /* 0x2B0457E2: lea eax, [ebp - 8] */ 20296 PUSH32(esp, eax); /* 0x2B0457E5: push eax */ 20297 RECOMP_ICALL(esi); /* 0x2B0457E6: call esi */ 20298 RECOMP_FLAGS_IN(); 20299 ecx = eax; /* 0x2B0457E8: mov ecx, eax */ 20300 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B0457EA: call dword ptr [0x2b0b53ac] */ 20301 RECOMP_FLAGS_IN(); 20302 ecx = ebp + (-0x8); /* 0x2B0457F0: lea ecx, [ebp - 8] */ 20303 PUSH32(esp, edi); /* 0x2B0457F3: push edi */ 20304 PUSH32(esp, ecx); /* 0x2B0457F4: push ecx */ 20305 RECOMP_ICALL(0x2B045840u); /* 0x2B0457F5: call 0x2b045840 */ /* not lifted */ 20306 RECOMP_FLAGS_IN(); 20307 ecx = MEM32(0x2B0EEA80); /* 0x2B0457FA: mov ecx, dword ptr [0x2b0eea80] */ 20308 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 20309 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20310 esp = esp + 8; /* 0x2B045800: add esp, 8 */ 20311 _flag_k = FK_ADD; 20312 RECOMP_ICALL(0x2B046090u); /* 0x2B045803: call 0x2b046090 */ /* not lifted */ 20313 RECOMP_FLAGS_IN(); 20314 ecx = MEM32(0x2B0EEA80); /* 0x2B045808: mov ecx, dword ptr [0x2b0eea80] */ 20315 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B04580E: call 0x2b03a2b0 */ /* not lifted */ 20316 RECOMP_FLAGS_IN(); 20317 ecx = MEM32(0x2B0EEA80); /* 0x2B045813: mov ecx, dword ptr [0x2b0eea80] */ 20318 RECOMP_ICALL(0x2B03A490u); /* 0x2B045819: call 0x2b03a490 */ /* not lifted */ 20319 RECOMP_FLAGS_IN(); 20320 edx = MEM32(0x2B0EEA80); /* 0x2B04581E: mov edx, dword ptr [0x2b0eea80] */ 20321 PUSH32(esp, edx); /* 0x2B045824: push edx */ 20322 RECOMP_ICALL(0x2B03BA50u); /* 0x2B045825: call 0x2b03ba50 */ /* not lifted */ 20323 RECOMP_FLAGS_IN(); 20324 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 20325 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20326 esp = esp + 4; /* 0x2B04582A: add esp, 4 */ 20327 _flag_k = FK_ADD; 20328 edi = POP32_VAL(esp); /* 0x2B04582D: pop edi */ 20329 esi = POP32_VAL(esp); /* 0x2B04582E: pop esi */ 20330 esp = ebp; /* 0x2B04582F: mov esp, ebp */ 20331 ebp = POP32_VAL(esp); /* 0x2B045831: pop ebp */ 20332 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B045832: ret */ 20333 RECOMP_REGS_OUT(); 20334 } 20335 20336 void sub_2B045840(void) { 20337 int _fpu_cmp = 0; 20338 uint32_t _cf = 0; 20339 int _df = 1; 20340 uint32_t _flag_k = FK_NONE; 20341 uint32_t _flag_a = 0, _flag_b = 0; 20342 uint32_t _itail_tgt = 0; 20343 RECOMP_REGS_LOCALS 20344 RECOMP_ENTER(0x2B045840u); 20345 20346 L_2B045840: 20347 PUSH32(esp, ebp); /* 0x2B045840: push ebp */ 20348 ebp = esp; /* 0x2B045841: mov ebp, esp */ 20349 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B045843: push -1 */ 20350 PUSH32(esp, 0x2B0AF019u); /* 0x2B045845: push 0x2b0af019 */ 20351 eax = MEM32(FS_BASE + (0)); /* 0x2B04584A: mov eax, dword ptr fs:[0] */ 20352 PUSH32(esp, eax); /* 0x2B045850: push eax */ 20353 MEM32(FS_BASE + (0)) = esp; /* 0x2B045851: mov dword ptr fs:[0], esp */ 20354 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x144u); 20355 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20356 esp = esp - 0x144u; /* 0x2B045858: sub esp, 0x144 */ 20357 _flag_k = FK_CMP; 20358 PUSH32(esp, esi); /* 0x2B04585E: push esi */ 20359 PUSH32(esp, edi); /* 0x2B04585F: push edi */ 20360 edi = MEM32(ebp + 0x8); /* 0x2B045860: mov edi, dword ptr [ebp + 8] */ 20361 /* cmp MEM32(edi), 0xC350u */ /* 0x2B045863: cmp dword ptr [edi], 0xc350 */ 20362 _flag_a = (uint32_t)(MEM32(edi)); _flag_b = (uint32_t)(0xC350u); 20363 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20364 _flag_k = FK_CMP; 20365 if (CMP_NE(_flag_a, _flag_b)) goto L_2B04599E; /* 0x2B045869: jne 0x2b04599e */ 20366 L_2B04586F: 20367 PUSH32(esp, edi); /* 0x2B04586F: push edi */ 20368 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B045870: call dword ptr [0x2b0b5d6c] */ 20369 RECOMP_FLAGS_IN(); 20370 ecx = eax; /* 0x2B045876: mov ecx, eax */ 20371 RECOMP_ICALL(MEM32(0x2B0B5E94)); /* 0x2B045878: call dword ptr [0x2b0b5e94] */ 20372 RECOMP_FLAGS_IN(); 20373 /* test LO8(eax), LO8(eax) */ /* 0x2B04587E: test al, al */ 20374 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 20375 _cf = 0; 20376 _flag_k = FK_NARROW(FK_TEST, 24); 20377 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B045A4E; /* 0x2B045880: jne 0x2b045a4e */ 20378 L_2B045886: 20379 esi = MEM32(ebp + 0xC); /* 0x2B045886: mov esi, dword ptr [ebp + 0xc] */ 20380 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20381 eax = 0; /* 0x2B045889: xor eax, eax */ 20382 _cf = 0; 20383 _flag_k = FK_TEST; 20384 /* cmp esi, eax */ /* 0x2B04588B: cmp esi, eax */ 20385 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 20386 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20387 _flag_k = FK_CMP; 20388 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0458B3; /* 0x2B04588D: jne 0x2b0458b3 */ 20389 L_2B04588F: 20390 ecx = MEM32(0x2B0EEE80); /* 0x2B04588F: mov ecx, dword ptr [0x2b0eee80] */ 20391 /* cmp ecx, eax */ /* 0x2B045895: cmp ecx, eax */ 20392 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 20393 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20394 _flag_k = FK_CMP; 20395 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B045A4E; /* 0x2B045897: je 0x2b045a4e */ 20396 L_2B04589D: 20397 PUSH32(esp, edi); /* 0x2B04589D: push edi */ 20398 RECOMP_ICALL(0x2B074B20u); /* 0x2B04589E: call 0x2b074b20 */ /* not lifted */ 20399 RECOMP_FLAGS_IN(); 20400 edi = POP32_VAL(esp); /* 0x2B0458A3: pop edi */ 20401 esi = POP32_VAL(esp); /* 0x2B0458A4: pop esi */ 20402 ecx = MEM32(ebp + (-0xC)); /* 0x2B0458A5: mov ecx, dword ptr [ebp - 0xc] */ 20403 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0458A8: mov dword ptr fs:[0], ecx */ 20404 esp = ebp; /* 0x2B0458AF: mov esp, ebp */ 20405 ebp = POP32_VAL(esp); /* 0x2B0458B1: pop ebp */ 20406 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0458B2: ret */ 20407 L_2B0458B3: 20408 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B0458B3: mov cl, byte ptr [ebp + 0xb] */ 20409 PUSH32(esp, ebx); /* 0x2B0458B6: push ebx */ 20410 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(ecx)); /* 0x2B0458B7: mov byte ptr [ebp - 0x24], cl */ 20411 MEM32(ebp + (-0x20)) = eax; /* 0x2B0458BA: mov dword ptr [ebp - 0x20], eax */ 20412 MEM32(ebp + (-0x1C)) = eax; /* 0x2B0458BD: mov dword ptr [ebp - 0x1c], eax */ 20413 MEM32(ebp + (-0x18)) = eax; /* 0x2B0458C0: mov dword ptr [ebp - 0x18], eax */ 20414 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 20415 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0458C3: or ecx, 0xffffffff */ 20416 _cf = 0; 20417 _flag_k = FK_TEST; 20418 MEM32(ebp + (-0x4)) = eax; /* 0x2B0458C6: mov dword ptr [ebp - 4], eax */ 20419 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20420 eax = 0; /* 0x2B0458C9: xor eax, eax */ 20421 _cf = 0; 20422 _flag_k = FK_TEST; 20423 edi = esi; /* 0x2B0458CB: mov edi, esi */ 20424 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; } /* 0x2B0458CD: repne scasb al, byte ptr es:[edi] */ 20425 ecx = ~ecx; /* 0x2B0458CF: not ecx */ 20426 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 20427 ecx = ecx - 1; /* 0x2B0458D1: dec ecx */ 20428 _flag_k = FK_DEC; 20429 ebx = ecx; /* 0x2B0458D2: mov ebx, ecx */ 20430 PUSH32(esp, 1); /* 0x2B0458D4: push 1 */ 20431 PUSH32(esp, ebx); /* 0x2B0458D6: push ebx */ 20432 ecx = ebp + (-0x24); /* 0x2B0458D7: lea ecx, [ebp - 0x24] */ 20433 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0458DA: call dword ptr [0x2b0b5154] */ 20434 RECOMP_FLAGS_IN(); 20435 /* test LO8(eax), LO8(eax) */ /* 0x2B0458E0: test al, al */ 20436 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 20437 _cf = 0; 20438 _flag_k = FK_NARROW(FK_TEST, 24); 20439 if (TEST_Z(_flag_a, _flag_b)) goto L_2B045901; /* 0x2B0458E2: je 0x2b045901 */ 20440 L_2B0458E4: 20441 edi = MEM32(ebp + (-0x20)); /* 0x2B0458E4: mov edi, dword ptr [ebp - 0x20] */ 20442 ecx = ebx; /* 0x2B0458E7: mov ecx, ebx */ 20443 edx = ecx; /* 0x2B0458E9: mov edx, ecx */ 20444 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0458EB: shr ecx, 2 */ 20445 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 20446 ecx = ecx >> 2u; /* 0x2B0458EB: shr ecx, 2 */ 20447 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0458EE: 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; } 20448 ecx = edx; /* 0x2B0458F0: mov ecx, edx */ 20449 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 20450 ecx = ecx & 3; /* 0x2B0458F2: and ecx, 3 */ 20451 _cf = 0; 20452 _flag_k = FK_TEST; 20453 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0458F5: 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; } 20454 eax = MEM32(ebp + (-0x20)); /* 0x2B0458F7: mov eax, dword ptr [ebp - 0x20] */ 20455 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B0458FA: mov dword ptr [ebp - 0x1c], ebx */ 20456 MEM8(eax + ebx) = (uint8_t)(0); /* 0x2B0458FD: mov byte ptr [eax + ebx], 0 */ 20457 L_2B045901: 20458 edx = MEM32(ebp + 0x8); /* 0x2B045901: mov edx, dword ptr [ebp + 8] */ 20459 PUSH32(esp, 1); /* 0x2B045904: push 1 */ 20460 ecx = ebp + (-0x24); /* 0x2B045906: lea ecx, [ebp - 0x24] */ 20461 PUSH32(esp, ecx); /* 0x2B045909: push ecx */ 20462 PUSH32(esp, edx); /* 0x2B04590A: push edx */ 20463 RECOMP_ICALL(MEM32(0x2B0B613C)); /* 0x2B04590B: call dword ptr [0x2b0b613c] */ 20464 RECOMP_FLAGS_IN(); 20465 ecx = eax; /* 0x2B045911: mov ecx, eax */ 20466 RECOMP_ICALL(MEM32(0x2B0B6144)); /* 0x2B045913: call dword ptr [0x2b0b6144] */ 20467 RECOMP_FLAGS_IN(); 20468 PUSH32(esp, 0x2B0E74B4u); /* 0x2B045919: push 0x2b0e74b4 */ 20469 eax = ebp + (-0x88); /* 0x2B04591E: lea eax, [ebp - 0x88] */ 20470 PUSH32(esp, 0x64u); /* 0x2B045924: push 0x64 */ 20471 PUSH32(esp, eax); /* 0x2B045926: push eax */ 20472 RECOMP_ICALL(0x2B012180u); /* 0x2B045927: call 0x2b012180 */ /* not lifted */ 20473 RECOMP_FLAGS_IN(); 20474 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 20475 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20476 esp = esp + 0xCu; /* 0x2B04592C: add esp, 0xc */ 20477 _flag_k = FK_ADD; 20478 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 20479 ecx = ecx | 0xFFFFFFFFu; /* 0x2B04592F: or ecx, 0xffffffff */ 20480 _cf = 0; 20481 _flag_k = FK_TEST; 20482 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20483 eax = 0; /* 0x2B045932: xor eax, eax */ 20484 _cf = 0; 20485 _flag_k = FK_TEST; 20486 edi = ebp + (-0x88); /* 0x2B045934: lea edi, [ebp - 0x88] */ 20487 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; } /* 0x2B04593A: repne scasb al, byte ptr es:[edi] */ 20488 ecx = ~ecx; /* 0x2B04593C: not ecx */ 20489 PUSH32(esp, ecx); /* 0x2B04593E: push ecx */ 20490 ecx = ebp + (-0x88); /* 0x2B04593F: lea ecx, [ebp - 0x88] */ 20491 PUSH32(esp, ecx); /* 0x2B045945: push ecx */ 20492 PUSH32(esp, 0x3Fu); /* 0x2B045946: push 0x3f */ 20493 PUSH32(esp, 3); /* 0x2B045948: push 3 */ 20494 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B04594A: call dword ptr [0x2b0b53cc] */ 20495 RECOMP_FLAGS_IN(); 20496 ecx = eax; /* 0x2B045950: mov ecx, eax */ 20497 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B045952: call dword ptr [0x2b0b53c4] */ 20498 RECOMP_FLAGS_IN(); 20499 ecx = MEM32(ebp + (-0x20)); /* 0x2B045958: mov ecx, dword ptr [ebp - 0x20] */ 20500 /* test ecx, ecx */ /* 0x2B04595B: test ecx, ecx */ 20501 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 20502 _cf = 0; 20503 _flag_k = FK_TEST; 20504 ebx = POP32_VAL(esp); /* 0x2B04595D: pop ebx */ 20505 if (TEST_Z(_flag_a, _flag_b)) goto L_2B045A4E; /* 0x2B04595E: je 0x2b045a4e */ 20506 L_2B045964: 20507 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B045964: mov al, byte ptr [ecx - 1] */ 20508 /* test LO8(eax), LO8(eax) */ /* 0x2B045967: test al, al */ 20509 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 20510 _cf = 0; 20511 _flag_k = FK_NARROW(FK_TEST, 24); 20512 if (TEST_Z(_flag_a, _flag_b)) goto L_2B045984; /* 0x2B045969: je 0x2b045984 */ 20513 L_2B04596B: 20514 /* cmp LO8(eax), 0xFFu */ /* 0x2B04596B: cmp al, 0xff */ 20515 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 20516 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20517 _flag_k = FK_NARROW(FK_CMP, 24); 20518 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B045984; /* 0x2B04596D: je 0x2b045984 */ 20519 L_2B04596F: 20520 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 20521 SET_LO8(eax, LO8(eax) - 1); /* 0x2B04596F: dec al */ 20522 _flag_k = FK_NARROW(FK_DEC, 24); 20523 edi = POP32_VAL(esp); /* 0x2B045971: pop edi */ 20524 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B045972: mov byte ptr [ecx - 1], al */ 20525 esi = POP32_VAL(esp); /* 0x2B045975: pop esi */ 20526 ecx = MEM32(ebp + (-0xC)); /* 0x2B045976: mov ecx, dword ptr [ebp - 0xc] */ 20527 MEM32(FS_BASE + (0)) = ecx; /* 0x2B045979: mov dword ptr fs:[0], ecx */ 20528 esp = ebp; /* 0x2B045980: mov esp, ebp */ 20529 ebp = POP32_VAL(esp); /* 0x2B045982: pop ebp */ 20530 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B045983: ret */ 20531 L_2B045984: 20532 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 20533 ecx = ecx - 1; /* 0x2B045984: dec ecx */ 20534 _flag_k = FK_DEC; 20535 PUSH32(esp, ecx); /* 0x2B045985: push ecx */ 20536 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B045986: call 0x2b0ab1ba */ /* not lifted */ 20537 RECOMP_FLAGS_IN(); 20538 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 20539 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20540 esp = esp + 4; /* 0x2B04598B: add esp, 4 */ 20541 _flag_k = FK_ADD; 20542 edi = POP32_VAL(esp); /* 0x2B04598E: pop edi */ 20543 esi = POP32_VAL(esp); /* 0x2B04598F: pop esi */ 20544 ecx = MEM32(ebp + (-0xC)); /* 0x2B045990: mov ecx, dword ptr [ebp - 0xc] */ 20545 MEM32(FS_BASE + (0)) = ecx; /* 0x2B045993: mov dword ptr fs:[0], ecx */ 20546 esp = ebp; /* 0x2B04599A: mov esp, ebp */ 20547 ebp = POP32_VAL(esp); /* 0x2B04599C: pop ebp */ 20548 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B04599D: ret */ 20549 L_2B04599E: 20550 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20551 eax = 0; /* 0x2B04599E: xor eax, eax */ 20552 _cf = 0; 20553 _flag_k = FK_TEST; 20554 edx = ebp + 0x8; /* 0x2B0459A0: lea edx, [ebp + 8] */ 20555 MEM32(ebp + (-0x14)) = eax; /* 0x2B0459A3: mov dword ptr [ebp - 0x14], eax */ 20556 MEM32(ebp + (-0x10)) = eax; /* 0x2B0459A6: mov dword ptr [ebp - 0x10], eax */ 20557 MEM32(ebp + 0x8) = eax; /* 0x2B0459A9: mov dword ptr [ebp + 8], eax */ 20558 PUSH32(esp, edx); /* 0x2B0459AC: push edx */ 20559 eax = ebp + (-0x14); /* 0x2B0459AD: lea eax, [ebp - 0x14] */ 20560 PUSH32(esp, eax); /* 0x2B0459B0: push eax */ 20561 PUSH32(esp, edi); /* 0x2B0459B1: push edi */ 20562 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0459B2: call dword ptr [0x2b0b5d6c] */ 20563 RECOMP_FLAGS_IN(); 20564 ecx = eax; /* 0x2B0459B8: mov ecx, eax */ 20565 RECOMP_ICALL(MEM32(0x2B0B5D48)); /* 0x2B0459BA: call dword ptr [0x2b0b5d48] */ 20566 RECOMP_FLAGS_IN(); 20567 /* test LO8(eax), LO8(eax) */ /* 0x2B0459C0: test al, al */ 20568 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 20569 _cf = 0; 20570 _flag_k = FK_NARROW(FK_TEST, 24); 20571 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0459F3; /* 0x2B0459C2: jne 0x2b0459f3 */ 20572 L_2B0459C4: 20573 PUSH32(esp, 0x2B0E7490u); /* 0x2B0459C4: push 0x2b0e7490 */ 20574 ecx = ebp + (-0xEC); /* 0x2B0459C9: lea ecx, [ebp - 0xec] */ 20575 PUSH32(esp, 0x64u); /* 0x2B0459CF: push 0x64 */ 20576 PUSH32(esp, ecx); /* 0x2B0459D1: push ecx */ 20577 RECOMP_ICALL(0x2B012180u); /* 0x2B0459D2: call 0x2b012180 */ /* not lifted */ 20578 RECOMP_FLAGS_IN(); 20579 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 20580 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20581 esp = esp + 0xCu; /* 0x2B0459D7: add esp, 0xc */ 20582 _flag_k = FK_ADD; 20583 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 20584 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0459DA: or ecx, 0xffffffff */ 20585 _cf = 0; 20586 _flag_k = FK_TEST; 20587 edi = ebp + (-0xEC); /* 0x2B0459DD: lea edi, [ebp - 0xec] */ 20588 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20589 eax = 0; /* 0x2B0459E3: xor eax, eax */ 20590 _cf = 0; 20591 _flag_k = FK_TEST; 20592 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; } /* 0x2B0459E5: repne scasb al, byte ptr es:[edi] */ 20593 ecx = ~ecx; /* 0x2B0459E7: not ecx */ 20594 PUSH32(esp, ecx); /* 0x2B0459E9: push ecx */ 20595 edx = ebp + (-0xEC); /* 0x2B0459EA: lea edx, [ebp - 0xec] */ 20596 PUSH32(esp, edx); /* 0x2B0459F0: push edx */ 20597 goto L_2B045A3C; /* 0x2B0459F1: jmp 0x2b045a3c */ 20598 L_2B0459F3: 20599 eax = MEM32(ebp + 0x8); /* 0x2B0459F3: mov eax, dword ptr [ebp + 8] */ 20600 ecx = MEM32(ebp + (-0x10)); /* 0x2B0459F6: mov ecx, dword ptr [ebp - 0x10] */ 20601 edx = MEM32(ebp + (-0x14)); /* 0x2B0459F9: mov edx, dword ptr [ebp - 0x14] */ 20602 PUSH32(esp, 1); /* 0x2B0459FC: push 1 */ 20603 PUSH32(esp, eax); /* 0x2B0459FE: push eax */ 20604 PUSH32(esp, ecx); /* 0x2B0459FF: push ecx */ 20605 PUSH32(esp, edx); /* 0x2B045A00: push edx */ 20606 RECOMP_ICALL(MEM32(0x2B0B613C)); /* 0x2B045A01: call dword ptr [0x2b0b613c] */ 20607 RECOMP_FLAGS_IN(); 20608 ecx = eax; /* 0x2B045A07: mov ecx, eax */ 20609 RECOMP_ICALL(MEM32(0x2B0B6140)); /* 0x2B045A09: call dword ptr [0x2b0b6140] */ 20610 RECOMP_FLAGS_IN(); 20611 PUSH32(esp, 0x2B0E7474u); /* 0x2B045A0F: push 0x2b0e7474 */ 20612 eax = ebp + (-0x150); /* 0x2B045A14: lea eax, [ebp - 0x150] */ 20613 PUSH32(esp, 0x64u); /* 0x2B045A1A: push 0x64 */ 20614 PUSH32(esp, eax); /* 0x2B045A1C: push eax */ 20615 RECOMP_ICALL(0x2B012180u); /* 0x2B045A1D: call 0x2b012180 */ /* not lifted */ 20616 RECOMP_FLAGS_IN(); 20617 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 20618 ecx = ecx | 0xFFFFFFFFu; /* 0x2B045A22: or ecx, 0xffffffff */ 20619 _cf = 0; 20620 _flag_k = FK_TEST; 20621 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 20622 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20623 esp = esp + 0xCu; /* 0x2B045A25: add esp, 0xc */ 20624 _flag_k = FK_ADD; 20625 edi = ebp + (-0x150); /* 0x2B045A28: lea edi, [ebp - 0x150] */ 20626 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20627 eax = 0; /* 0x2B045A2E: xor eax, eax */ 20628 _cf = 0; 20629 _flag_k = FK_TEST; 20630 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; } /* 0x2B045A30: repne scasb al, byte ptr es:[edi] */ 20631 ecx = ~ecx; /* 0x2B045A32: not ecx */ 20632 PUSH32(esp, ecx); /* 0x2B045A34: push ecx */ 20633 ecx = ebp + (-0x150); /* 0x2B045A35: lea ecx, [ebp - 0x150] */ 20634 PUSH32(esp, ecx); /* 0x2B045A3B: push ecx */ 20635 L_2B045A3C: 20636 PUSH32(esp, 0x3Fu); /* 0x2B045A3C: push 0x3f */ 20637 PUSH32(esp, 3); /* 0x2B045A3E: push 3 */ 20638 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B045A40: call dword ptr [0x2b0b53cc] */ 20639 RECOMP_FLAGS_IN(); 20640 ecx = eax; /* 0x2B045A46: mov ecx, eax */ 20641 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B045A48: call dword ptr [0x2b0b53c4] */ 20642 RECOMP_FLAGS_IN(); 20643 L_2B045A4E: 20644 ecx = MEM32(ebp + (-0xC)); /* 0x2B045A4E: mov ecx, dword ptr [ebp - 0xc] */ 20645 edi = POP32_VAL(esp); /* 0x2B045A51: pop edi */ 20646 esi = POP32_VAL(esp); /* 0x2B045A52: pop esi */ 20647 MEM32(FS_BASE + (0)) = ecx; /* 0x2B045A53: mov dword ptr fs:[0], ecx */ 20648 esp = ebp; /* 0x2B045A5A: mov esp, ebp */ 20649 ebp = POP32_VAL(esp); /* 0x2B045A5C: pop ebp */ 20650 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B045A5D: ret */ 20651 RECOMP_REGS_OUT(); 20652 } 20653 20654 void sub_2B045A60(void) { 20655 int _fpu_cmp = 0; 20656 uint32_t _cf = 0; 20657 int _df = 1; 20658 uint32_t _flag_k = FK_NONE; 20659 uint32_t _flag_a = 0, _flag_b = 0; 20660 uint32_t _itail_tgt = 0; 20661 RECOMP_REGS_LOCALS 20662 RECOMP_ENTER(0x2B045A60u); 20663 20664 L_2B045A60: 20665 PUSH32(esp, ebp); /* 0x2B045A60: push ebp */ 20666 ebp = esp; /* 0x2B045A61: mov ebp, esp */ 20667 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 20668 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20669 esp = esp - 8; /* 0x2B045A63: sub esp, 8 */ 20670 _flag_k = FK_CMP; 20671 ecx = MEM32(0x2B0EEA80); /* 0x2B045A66: mov ecx, dword ptr [0x2b0eea80] */ 20672 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20673 eax = 0; /* 0x2B045A6C: xor eax, eax */ 20674 _cf = 0; 20675 _flag_k = FK_TEST; 20676 /* cmp ecx, eax */ /* 0x2B045A6E: cmp ecx, eax */ 20677 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 20678 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20679 _flag_k = FK_CMP; 20680 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B045AB6; /* 0x2B045A70: je 0x2b045ab6 */ 20681 L_2B045A72: 20682 MEM32(ebp + (-0x8)) = eax; /* 0x2B045A72: mov dword ptr [ebp - 8], eax */ 20683 MEM32(ebp + (-0x4)) = eax; /* 0x2B045A75: mov dword ptr [ebp - 4], eax */ 20684 eax = ebp + (-0x8); /* 0x2B045A78: lea eax, [ebp - 8] */ 20685 PUSH32(esp, eax); /* 0x2B045A7B: push eax */ 20686 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B045A7C: call dword ptr [0x2b0b53cc] */ 20687 RECOMP_FLAGS_IN(); 20688 ecx = eax; /* 0x2B045A82: mov ecx, eax */ 20689 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B045A84: call dword ptr [0x2b0b53ac] */ 20690 RECOMP_FLAGS_IN(); 20691 ecx = ebp + (-0x8); /* 0x2B045A8A: lea ecx, [ebp - 8] */ 20692 PUSH32(esp, ecx); /* 0x2B045A8D: push ecx */ 20693 RECOMP_ICALL(MEM32(0x2B0B613C)); /* 0x2B045A8E: call dword ptr [0x2b0b613c] */ 20694 RECOMP_FLAGS_IN(); 20695 ecx = eax; /* 0x2B045A94: mov ecx, eax */ 20696 RECOMP_ICALL(MEM32(0x2B0B6134)); /* 0x2B045A96: call dword ptr [0x2b0b6134] */ 20697 RECOMP_FLAGS_IN(); 20698 /* test LO8(eax), LO8(eax) */ /* 0x2B045A9C: test al, al */ 20699 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 20700 _cf = 0; 20701 _flag_k = FK_NARROW(FK_TEST, 24); 20702 if (TEST_Z(_flag_a, _flag_b)) goto L_2B045AB6; /* 0x2B045A9E: je 0x2b045ab6 */ 20703 L_2B045AA0: 20704 ecx = MEM32(0x2B0EEA80); /* 0x2B045AA0: mov ecx, dword ptr [0x2b0eea80] */ 20705 RECOMP_ICALL(0x2B046090u); /* 0x2B045AA6: call 0x2b046090 */ /* not lifted */ 20706 RECOMP_FLAGS_IN(); 20707 ecx = MEM32(0x2B0EEA80); /* 0x2B045AAB: mov ecx, dword ptr [0x2b0eea80] */ 20708 RECOMP_ICALL(0x2B03A2B0u); /* 0x2B045AB1: call 0x2b03a2b0 */ /* not lifted */ 20709 RECOMP_FLAGS_IN(); 20710 L_2B045AB6: 20711 esp = ebp; /* 0x2B045AB6: mov esp, ebp */ 20712 ebp = POP32_VAL(esp); /* 0x2B045AB8: pop ebp */ 20713 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B045AB9: ret */ 20714 RECOMP_REGS_OUT(); 20715 } 20716 20717 void sub_2B045AC0(void) { 20718 int _fpu_cmp = 0; 20719 uint32_t _cf = 0; 20720 int _df = 1; 20721 uint32_t _flag_k = FK_NONE; 20722 uint32_t _flag_a = 0, _flag_b = 0; 20723 uint32_t _itail_tgt = 0; 20724 RECOMP_REGS_LOCALS 20725 RECOMP_ENTER(0x2B045AC0u); 20726 20727 L_2B045AC0: 20728 PUSH32(esp, ebp); /* 0x2B045AC0: push ebp */ 20729 ebp = esp; /* 0x2B045AC1: mov ebp, esp */ 20730 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 20731 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20732 esp = esp - 8; /* 0x2B045AC3: sub esp, 8 */ 20733 _flag_k = FK_CMP; 20734 eax = MEM32(0x2B0EEA80); /* 0x2B045AC6: mov eax, dword ptr [0x2b0eea80] */ 20735 /* test eax, eax */ /* 0x2B045ACB: test eax, eax */ 20736 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 20737 _cf = 0; 20738 _flag_k = FK_TEST; 20739 PUSH32(esp, ebx); /* 0x2B045ACD: push ebx */ 20740 PUSH32(esp, esi); /* 0x2B045ACE: push esi */ 20741 PUSH32(esp, edi); /* 0x2B045ACF: push edi */ 20742 if (TEST_Z(_flag_a, _flag_b)) goto L_2B045BAB; /* 0x2B045AD0: je 0x2b045bab */ 20743 L_2B045AD6: 20744 ebx = MEM32(0x2B0B53CC); /* 0x2B045AD6: mov ebx, dword ptr [0x2b0b53cc] */ 20745 RECOMP_ICALL(ebx); /* 0x2B045ADC: call ebx */ 20746 RECOMP_FLAGS_IN(); 20747 ecx = eax; /* 0x2B045ADE: mov ecx, eax */ 20748 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B045AE0: call dword ptr [0x2b0b53a4] */ 20749 RECOMP_FLAGS_IN(); 20750 /* test eax, eax */ /* 0x2B045AE6: test eax, eax */ 20751 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 20752 _cf = 0; 20753 _flag_k = FK_TEST; 20754 if (TEST_Z(_flag_a, _flag_b)) goto L_2B045BAB; /* 0x2B045AE8: je 0x2b045bab */ 20755 L_2B045AEE: 20756 edi = eax + 0x54; /* 0x2B045AEE: lea edi, [eax + 0x54] */ 20757 eax = ebp + (-0x8); /* 0x2B045AF1: lea eax, [ebp - 8] */ 20758 /* cmp eax, edi */ /* 0x2B045AF4: cmp eax, edi */ 20759 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 20760 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20761 _flag_k = FK_CMP; 20762 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B045B03; /* 0x2B045AF6: je 0x2b045b03 */ 20763 L_2B045AF8: 20764 ecx = MEM32(edi); /* 0x2B045AF8: mov ecx, dword ptr [edi] */ 20765 edx = MEM32(edi + 0x4); /* 0x2B045AFA: mov edx, dword ptr [edi + 4] */ 20766 MEM32(ebp + (-0x8)) = ecx; /* 0x2B045AFD: mov dword ptr [ebp - 8], ecx */ 20767 MEM32(ebp + (-0x4)) = edx; /* 0x2B045B00: mov dword ptr [ebp - 4], edx */ 20768 L_2B045B03: 20769 eax = ebp + (-0x8); /* 0x2B045B03: lea eax, [ebp - 8] */ 20770 PUSH32(esp, eax); /* 0x2B045B06: push eax */ 20771 RECOMP_ICALL(MEM32(0x2B0B613C)); /* 0x2B045B07: call dword ptr [0x2b0b613c] */ 20772 RECOMP_FLAGS_IN(); 20773 ecx = eax; /* 0x2B045B0D: mov ecx, eax */ 20774 RECOMP_ICALL(MEM32(0x2B0B6138)); /* 0x2B045B0F: call dword ptr [0x2b0b6138] */ 20775 RECOMP_FLAGS_IN(); 20776 esi = eax; /* 0x2B045B15: mov esi, eax */ 20777 /* test esi, esi */ /* 0x2B045B17: test esi, esi */ 20778 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 20779 _cf = 0; 20780 _flag_k = FK_TEST; 20781 if (TEST_Z(_flag_a, _flag_b)) goto L_2B045BAB; /* 0x2B045B19: je 0x2b045bab */ 20782 L_2B045B1F: 20783 eax = MEM32(esi + 0x28); /* 0x2B045B1F: mov eax, dword ptr [esi + 0x28] */ 20784 /* test eax, eax */ /* 0x2B045B22: test eax, eax */ 20785 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 20786 _cf = 0; 20787 _flag_k = FK_TEST; 20788 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B045B84; /* 0x2B045B24: jne 0x2b045b84 */ 20789 L_2B045B26: 20790 eax = MEM32(esi + 0x1C); /* 0x2B045B26: mov eax, dword ptr [esi + 0x1c] */ 20791 /* test eax, eax */ /* 0x2B045B29: test eax, eax */ 20792 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 20793 _cf = 0; 20794 _flag_k = FK_TEST; 20795 if (TEST_Z(_flag_a, _flag_b)) goto L_2B045BAB; /* 0x2B045B2B: je 0x2b045bab */ 20796 L_2B045B2D: 20797 ecx = MEM32(eax + 0x8); /* 0x2B045B2D: mov ecx, dword ptr [eax + 8] */ 20798 eax = MEM32(eax + 0x4); /* 0x2B045B30: mov eax, dword ptr [eax + 4] */ 20799 /* test eax, eax */ /* 0x2B045B33: test eax, eax */ 20800 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 20801 _cf = 0; 20802 _flag_k = FK_TEST; 20803 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B045B3C; /* 0x2B045B35: jne 0x2b045b3c */ 20804 L_2B045B37: 20805 eax = MEM32(0x2B0B513C); /* 0x2B045B37: mov eax, dword ptr [0x2b0b513c] */ 20806 L_2B045B3C: 20807 PUSH32(esp, ecx); /* 0x2B045B3C: push ecx */ 20808 PUSH32(esp, eax); /* 0x2B045B3D: push eax */ 20809 PUSH32(esp, 0x70u); /* 0x2B045B3E: push 0x70 */ 20810 PUSH32(esp, 0x14u); /* 0x2B045B40: push 0x14 */ 20811 RECOMP_ICALL(ebx); /* 0x2B045B42: call ebx */ 20812 RECOMP_FLAGS_IN(); 20813 ecx = eax; /* 0x2B045B44: mov ecx, eax */ 20814 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B045B46: call dword ptr [0x2b0b53c4] */ 20815 RECOMP_FLAGS_IN(); 20816 ecx = MEM32(esi + 0x1C); /* 0x2B045B4C: mov ecx, dword ptr [esi + 0x1c] */ 20817 eax = MEM32(ecx + 0x8); /* 0x2B045B4F: mov eax, dword ptr [ecx + 8] */ 20818 PUSH32(esp, eax); /* 0x2B045B52: push eax */ 20819 RECOMP_ICALL(ebx); /* 0x2B045B53: call ebx */ 20820 RECOMP_FLAGS_IN(); 20821 ecx = eax; /* 0x2B045B55: mov ecx, eax */ 20822 RECOMP_ICALL(MEM32(0x2B0B53B0)); /* 0x2B045B57: call dword ptr [0x2b0b53b0] */ 20823 RECOMP_FLAGS_IN(); 20824 edx = ebp + (-0x8); /* 0x2B045B5D: lea edx, [ebp - 8] */ 20825 /* cmp edx, edi */ /* 0x2B045B60: cmp edx, edi */ 20826 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 20827 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20828 _flag_k = FK_CMP; 20829 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B045B6F; /* 0x2B045B62: je 0x2b045b6f */ 20830 L_2B045B64: 20831 eax = MEM32(edi); /* 0x2B045B64: mov eax, dword ptr [edi] */ 20832 ecx = MEM32(edi + 0x4); /* 0x2B045B66: mov ecx, dword ptr [edi + 4] */ 20833 MEM32(ebp + (-0x8)) = eax; /* 0x2B045B69: mov dword ptr [ebp - 8], eax */ 20834 MEM32(ebp + (-0x4)) = ecx; /* 0x2B045B6C: mov dword ptr [ebp - 4], ecx */ 20835 L_2B045B6F: 20836 edx = ebp + (-0x8); /* 0x2B045B6F: lea edx, [ebp - 8] */ 20837 PUSH32(esp, edx); /* 0x2B045B72: push edx */ 20838 RECOMP_ICALL(ebx); /* 0x2B045B73: call ebx */ 20839 RECOMP_FLAGS_IN(); 20840 ecx = eax; /* 0x2B045B75: mov ecx, eax */ 20841 RECOMP_ICALL(MEM32(0x2B0B53B4)); /* 0x2B045B77: call dword ptr [0x2b0b53b4] */ 20842 RECOMP_FLAGS_IN(); 20843 edi = POP32_VAL(esp); /* 0x2B045B7D: pop edi */ 20844 esi = POP32_VAL(esp); /* 0x2B045B7E: pop esi */ 20845 ebx = POP32_VAL(esp); /* 0x2B045B7F: pop ebx */ 20846 esp = ebp; /* 0x2B045B80: mov esp, ebp */ 20847 ebp = POP32_VAL(esp); /* 0x2B045B82: pop ebp */ 20848 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B045B83: ret */ 20849 L_2B045B84: 20850 eax = ebp + (-0x8); /* 0x2B045B84: lea eax, [ebp - 8] */ 20851 /* cmp eax, edi */ /* 0x2B045B87: cmp eax, edi */ 20852 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 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_2B045B96; /* 0x2B045B89: je 0x2b045b96 */ 20856 L_2B045B8B: 20857 ecx = MEM32(edi); /* 0x2B045B8B: mov ecx, dword ptr [edi] */ 20858 edx = MEM32(edi + 0x4); /* 0x2B045B8D: mov edx, dword ptr [edi + 4] */ 20859 MEM32(ebp + (-0x8)) = ecx; /* 0x2B045B90: mov dword ptr [ebp - 8], ecx */ 20860 MEM32(ebp + (-0x4)) = edx; /* 0x2B045B93: mov dword ptr [ebp - 4], edx */ 20861 L_2B045B96: 20862 eax = ebp + (-0x8); /* 0x2B045B96: lea eax, [ebp - 8] */ 20863 PUSH32(esp, eax); /* 0x2B045B99: push eax */ 20864 PUSH32(esp, 0xB6u); /* 0x2B045B9A: push 0xb6 */ 20865 PUSH32(esp, 0x14u); /* 0x2B045B9F: push 0x14 */ 20866 RECOMP_ICALL(ebx); /* 0x2B045BA1: call ebx */ 20867 RECOMP_FLAGS_IN(); 20868 ecx = eax; /* 0x2B045BA3: mov ecx, eax */ 20869 RECOMP_ICALL(MEM32(0x2B0B5380)); /* 0x2B045BA5: call dword ptr [0x2b0b5380] */ 20870 RECOMP_FLAGS_IN(); 20871 L_2B045BAB: 20872 edi = POP32_VAL(esp); /* 0x2B045BAB: pop edi */ 20873 esi = POP32_VAL(esp); /* 0x2B045BAC: pop esi */ 20874 ebx = POP32_VAL(esp); /* 0x2B045BAD: pop ebx */ 20875 esp = ebp; /* 0x2B045BAE: mov esp, ebp */ 20876 ebp = POP32_VAL(esp); /* 0x2B045BB0: pop ebp */ 20877 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B045BB1: ret */ 20878 RECOMP_REGS_OUT(); 20879 } 20880 20881 void sub_2B045BC0(void) { 20882 int _fpu_cmp = 0; 20883 uint32_t _cf = 0; 20884 int _df = 1; 20885 uint32_t _flag_k = FK_NONE; 20886 uint32_t _flag_a = 0, _flag_b = 0; 20887 uint32_t _itail_tgt = 0; 20888 RECOMP_REGS_LOCALS 20889 RECOMP_ENTER(0x2B045BC0u); 20890 20891 L_2B045BC0: 20892 PUSH32(esp, ebp); /* 0x2B045BC0: push ebp */ 20893 ebp = esp; /* 0x2B045BC1: mov ebp, esp */ 20894 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 20895 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20896 esp = esp - 8; /* 0x2B045BC3: sub esp, 8 */ 20897 _flag_k = FK_CMP; 20898 eax = MEM32(0x2B0EEA80); /* 0x2B045BC6: mov eax, dword ptr [0x2b0eea80] */ 20899 /* test eax, eax */ /* 0x2B045BCB: test eax, eax */ 20900 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 20901 _cf = 0; 20902 _flag_k = FK_TEST; 20903 PUSH32(esp, esi); /* 0x2B045BCD: push esi */ 20904 PUSH32(esp, edi); /* 0x2B045BCE: push edi */ 20905 if (TEST_Z(_flag_a, _flag_b)) goto L_2B045C76; /* 0x2B045BCF: je 0x2b045c76 */ 20906 L_2B045BD5: 20907 esi = MEM32(0x2B0B53CC); /* 0x2B045BD5: mov esi, dword ptr [0x2b0b53cc] */ 20908 eax = ebp + (-0x8); /* 0x2B045BDB: lea eax, [ebp - 8] */ 20909 PUSH32(esp, eax); /* 0x2B045BDE: push eax */ 20910 MEM32(ebp + (-0x8)) = 0; /* 0x2B045BDF: mov dword ptr [ebp - 8], 0 */ 20911 MEM32(ebp + (-0x4)) = 0; /* 0x2B045BE6: mov dword ptr [ebp - 4], 0 */ 20912 RECOMP_ICALL(esi); /* 0x2B045BED: call esi */ 20913 RECOMP_FLAGS_IN(); 20914 ecx = eax; /* 0x2B045BEF: mov ecx, eax */ 20915 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B045BF1: call dword ptr [0x2b0b53ac] */ 20916 RECOMP_FLAGS_IN(); 20917 ecx = ebp + (-0x8); /* 0x2B045BF7: lea ecx, [ebp - 8] */ 20918 PUSH32(esp, ecx); /* 0x2B045BFA: push ecx */ 20919 RECOMP_ICALL(MEM32(0x2B0B613C)); /* 0x2B045BFB: call dword ptr [0x2b0b613c] */ 20920 RECOMP_FLAGS_IN(); 20921 ecx = eax; /* 0x2B045C01: mov ecx, eax */ 20922 RECOMP_ICALL(MEM32(0x2B0B6138)); /* 0x2B045C03: call dword ptr [0x2b0b6138] */ 20923 RECOMP_FLAGS_IN(); 20924 edi = eax; /* 0x2B045C09: mov edi, eax */ 20925 /* test edi, edi */ /* 0x2B045C0B: test edi, edi */ 20926 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 20927 _cf = 0; 20928 _flag_k = FK_TEST; 20929 if (TEST_Z(_flag_a, _flag_b)) goto L_2B045C76; /* 0x2B045C0D: je 0x2b045c76 */ 20930 L_2B045C0F: 20931 eax = MEM32(edi + 0x28); /* 0x2B045C0F: mov eax, dword ptr [edi + 0x28] */ 20932 /* test eax, eax */ /* 0x2B045C12: test eax, eax */ 20933 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 20934 _cf = 0; 20935 _flag_k = FK_TEST; 20936 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B045C61; /* 0x2B045C14: jne 0x2b045c61 */ 20937 L_2B045C16: 20938 eax = MEM32(edi + 0x1C); /* 0x2B045C16: mov eax, dword ptr [edi + 0x1c] */ 20939 /* test eax, eax */ /* 0x2B045C19: test eax, eax */ 20940 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 20941 _cf = 0; 20942 _flag_k = FK_TEST; 20943 if (TEST_Z(_flag_a, _flag_b)) goto L_2B045C76; /* 0x2B045C1B: je 0x2b045c76 */ 20944 L_2B045C1D: 20945 ecx = MEM32(eax + 0x8); /* 0x2B045C1D: mov ecx, dword ptr [eax + 8] */ 20946 eax = MEM32(eax + 0x4); /* 0x2B045C20: mov eax, dword ptr [eax + 4] */ 20947 /* test eax, eax */ /* 0x2B045C23: test eax, eax */ 20948 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 20949 _cf = 0; 20950 _flag_k = FK_TEST; 20951 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B045C2C; /* 0x2B045C25: jne 0x2b045c2c */ 20952 L_2B045C27: 20953 eax = MEM32(0x2B0B513C); /* 0x2B045C27: mov eax, dword ptr [0x2b0b513c] */ 20954 L_2B045C2C: 20955 PUSH32(esp, ecx); /* 0x2B045C2C: push ecx */ 20956 PUSH32(esp, eax); /* 0x2B045C2D: push eax */ 20957 PUSH32(esp, 0x70u); /* 0x2B045C2E: push 0x70 */ 20958 PUSH32(esp, 0x14u); /* 0x2B045C30: push 0x14 */ 20959 RECOMP_ICALL(esi); /* 0x2B045C32: call esi */ 20960 RECOMP_FLAGS_IN(); 20961 ecx = eax; /* 0x2B045C34: mov ecx, eax */ 20962 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B045C36: call dword ptr [0x2b0b53c4] */ 20963 RECOMP_FLAGS_IN(); 20964 edx = MEM32(edi + 0x1C); /* 0x2B045C3C: mov edx, dword ptr [edi + 0x1c] */ 20965 eax = MEM32(edx + 0x8); /* 0x2B045C3F: mov eax, dword ptr [edx + 8] */ 20966 PUSH32(esp, eax); /* 0x2B045C42: push eax */ 20967 RECOMP_ICALL(esi); /* 0x2B045C43: call esi */ 20968 RECOMP_FLAGS_IN(); 20969 ecx = eax; /* 0x2B045C45: mov ecx, eax */ 20970 RECOMP_ICALL(MEM32(0x2B0B53B0)); /* 0x2B045C47: call dword ptr [0x2b0b53b0] */ 20971 RECOMP_FLAGS_IN(); 20972 eax = ebp + (-0x8); /* 0x2B045C4D: lea eax, [ebp - 8] */ 20973 PUSH32(esp, eax); /* 0x2B045C50: push eax */ 20974 RECOMP_ICALL(esi); /* 0x2B045C51: call esi */ 20975 RECOMP_FLAGS_IN(); 20976 ecx = eax; /* 0x2B045C53: mov ecx, eax */ 20977 RECOMP_ICALL(MEM32(0x2B0B53B4)); /* 0x2B045C55: call dword ptr [0x2b0b53b4] */ 20978 RECOMP_FLAGS_IN(); 20979 edi = POP32_VAL(esp); /* 0x2B045C5B: pop edi */ 20980 esi = POP32_VAL(esp); /* 0x2B045C5C: pop esi */ 20981 esp = ebp; /* 0x2B045C5D: mov esp, ebp */ 20982 ebp = POP32_VAL(esp); /* 0x2B045C5F: pop ebp */ 20983 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B045C60: ret */ 20984 L_2B045C61: 20985 ecx = ebp + (-0x8); /* 0x2B045C61: lea ecx, [ebp - 8] */ 20986 PUSH32(esp, ecx); /* 0x2B045C64: push ecx */ 20987 PUSH32(esp, 0xB6u); /* 0x2B045C65: push 0xb6 */ 20988 PUSH32(esp, 0x14u); /* 0x2B045C6A: push 0x14 */ 20989 RECOMP_ICALL(esi); /* 0x2B045C6C: call esi */ 20990 RECOMP_FLAGS_IN(); 20991 ecx = eax; /* 0x2B045C6E: mov ecx, eax */ 20992 RECOMP_ICALL(MEM32(0x2B0B5380)); /* 0x2B045C70: call dword ptr [0x2b0b5380] */ 20993 RECOMP_FLAGS_IN(); 20994 L_2B045C76: 20995 edi = POP32_VAL(esp); /* 0x2B045C76: pop edi */ 20996 esi = POP32_VAL(esp); /* 0x2B045C77: pop esi */ 20997 esp = ebp; /* 0x2B045C78: mov esp, ebp */ 20998 ebp = POP32_VAL(esp); /* 0x2B045C7A: pop ebp */ 20999 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B045C7B: ret */ 21000 RECOMP_REGS_OUT(); 21001 } 21002 21003 void sub_2B045C80(void) { 21004 int _fpu_cmp = 0; 21005 uint32_t _cf = 0; 21006 int _df = 1; 21007 uint32_t _flag_k = FK_NONE; 21008 uint32_t _flag_a = 0, _flag_b = 0; 21009 uint32_t _itail_tgt = 0; 21010 RECOMP_REGS_LOCALS 21011 RECOMP_ENTER(0x2B045C80u); 21012 21013 L_2B045C80: 21014 eax = MEM32(0x2B0EEA80); /* 0x2B045C80: mov eax, dword ptr [0x2b0eea80] */ 21015 /* test eax, eax */ /* 0x2B045C85: test eax, eax */ 21016 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 21017 _cf = 0; 21018 _flag_k = FK_TEST; 21019 if (TEST_Z(_flag_a, _flag_b)) goto L_2B045CAD; /* 0x2B045C87: je 0x2b045cad */ 21020 L_2B045C89: 21021 eax = MEM32(eax + 0x28); /* 0x2B045C89: mov eax, dword ptr [eax + 0x28] */ 21022 PUSH32(esp, esi); /* 0x2B045C8C: push esi */ 21023 esi = MEM32(eax + 0x2C); /* 0x2B045C8D: mov esi, dword ptr [eax + 0x2c] */ 21024 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B045C90: call dword ptr [0x2b0b5b64] */ 21025 RECOMP_FLAGS_IN(); 21026 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x110)); 21027 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21028 esi = esi - MEM32(eax + 0x110); /* 0x2B045C96: sub esi, dword ptr [eax + 0x110] */ 21029 _flag_k = FK_CMP; 21030 ecx = MEM32(0x2B0EEA80); /* 0x2B045C9C: mov ecx, dword ptr [0x2b0eea80] */ 21031 ecx = MEM32(ecx + 0x28); /* 0x2B045CA2: mov ecx, dword ptr [ecx + 0x28] */ 21032 PUSH32(esp, esi); /* 0x2B045CA5: push esi */ 21033 RECOMP_ICALL(MEM32(0x2B0B5900)); /* 0x2B045CA6: call dword ptr [0x2b0b5900] */ 21034 RECOMP_FLAGS_IN(); 21035 esi = POP32_VAL(esp); /* 0x2B045CAC: pop esi */ 21036 L_2B045CAD: 21037 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B045CAD: ret */ 21038 RECOMP_REGS_OUT(); 21039 } 21040 21041 void sub_2B045CB0(void) { 21042 int _fpu_cmp = 0; 21043 uint32_t _cf = 0; 21044 int _df = 1; 21045 uint32_t _flag_k = FK_NONE; 21046 uint32_t _flag_a = 0, _flag_b = 0; 21047 uint32_t _itail_tgt = 0; 21048 RECOMP_REGS_LOCALS 21049 RECOMP_ENTER(0x2B045CB0u); 21050 21051 L_2B045CB0: 21052 PUSH32(esp, ebp); /* 0x2B045CB0: push ebp */ 21053 ebp = esp; /* 0x2B045CB1: mov ebp, esp */ 21054 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B045CB3: push -1 */ 21055 PUSH32(esp, 0x2B0AF064u); /* 0x2B045CB5: push 0x2b0af064 */ 21056 eax = MEM32(FS_BASE + (0)); /* 0x2B045CBA: mov eax, dword ptr fs:[0] */ 21057 PUSH32(esp, eax); /* 0x2B045CC0: push eax */ 21058 MEM32(FS_BASE + (0)) = esp; /* 0x2B045CC1: mov dword ptr fs:[0], esp */ 21059 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x28u); 21060 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21061 esp = esp - 0x28u; /* 0x2B045CC8: sub esp, 0x28 */ 21062 _flag_k = FK_CMP; 21063 PUSH32(esp, ebx); /* 0x2B045CCB: push ebx */ 21064 PUSH32(esp, esi); /* 0x2B045CCC: push esi */ 21065 esi = ecx; /* 0x2B045CCD: mov esi, ecx */ 21066 PUSH32(esp, edi); /* 0x2B045CCF: push edi */ 21067 MEM32(ebp + (-0x20)) = esi; /* 0x2B045CD0: mov dword ptr [ebp - 0x20], esi */ 21068 RECOMP_ICALL(0x2B03A220u); /* 0x2B045CD3: call 0x2b03a220 */ /* not lifted */ 21069 RECOMP_FLAGS_IN(); 21070 ecx = MEM32(esi + 0x8); /* 0x2B045CD8: mov ecx, dword ptr [esi + 8] */ 21071 eax = MEM32(esi + 0x4); /* 0x2B045CDB: mov eax, dword ptr [esi + 4] */ 21072 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x14u); 21073 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21074 ecx = ecx + 0x14u; /* 0x2B045CDE: add ecx, 0x14 */ 21075 _flag_k = FK_ADD; 21076 PUSH32(esp, 0x38u); /* 0x2B045CE1: push 0x38 */ 21077 MEM32(ebp + (-0x4)) = 0; /* 0x2B045CE3: mov dword ptr [ebp - 4], 0 */ 21078 MEM32(esi) = 0x2B0B69D0u; /* 0x2B045CEA: mov dword ptr [esi], 0x2b0b69d0 */ 21079 MEM32(ebp + (-0x2C)) = eax; /* 0x2B045CF0: mov dword ptr [ebp - 0x2c], eax */ 21080 MEM32(ebp + (-0x28)) = ecx; /* 0x2B045CF3: mov dword ptr [ebp - 0x28], ecx */ 21081 RECOMP_ICALL(0x2B0AB212u); /* 0x2B045CF6: call 0x2b0ab212 */ /* not lifted */ 21082 RECOMP_FLAGS_IN(); 21083 edi = eax; /* 0x2B045CFB: mov edi, eax */ 21084 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 21085 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21086 esp = esp + 4; /* 0x2B045CFD: add esp, 4 */ 21087 _flag_k = FK_ADD; 21088 MEM32(ebp + (-0x18)) = edi; /* 0x2B045D00: mov dword ptr [ebp - 0x18], edi */ 21089 /* test edi, edi */ /* 0x2B045D03: test edi, edi */ 21090 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 21091 _cf = 0; 21092 _flag_k = FK_TEST; 21093 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B045D05: mov byte ptr [ebp - 4], 1 */ 21094 if (TEST_Z(_flag_a, _flag_b)) goto L_2B045D32; /* 0x2B045D09: je 0x2b045d32 */ 21095 L_2B045D0B: 21096 edx = MEM32(0x2B0EE9DC); /* 0x2B045D0B: mov edx, dword ptr [0x2b0ee9dc] */ 21097 PUSH32(esp, edx); /* 0x2B045D11: push edx */ 21098 PUSH32(esp, 0xFA2u); /* 0x2B045D12: push 0xfa2 */ 21099 PUSH32(esp, 0x120u); /* 0x2B045D17: push 0x120 */ 21100 eax = ebp + (-0x2C); /* 0x2B045D1C: lea eax, [ebp - 0x2c] */ 21101 PUSH32(esp, eax); /* 0x2B045D1F: push eax */ 21102 ecx = edi; /* 0x2B045D20: mov ecx, edi */ 21103 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B045D22: call dword ptr [0x2b0b5948] */ 21104 RECOMP_FLAGS_IN(); 21105 MEM32(edi) = 0x2B0B68F4u; /* 0x2B045D28: mov dword ptr [edi], 0x2b0b68f4 */ 21106 eax = edi; /* 0x2B045D2E: mov eax, edi */ 21107 goto L_2B045D34; /* 0x2B045D30: jmp 0x2b045d34 */ 21108 L_2B045D32: 21109 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21110 eax = 0; /* 0x2B045D32: xor eax, eax */ 21111 _cf = 0; 21112 _flag_k = FK_TEST; 21113 L_2B045D34: 21114 SET_LO8(edx, MEM8(esi + 0x1C)); /* 0x2B045D34: mov dl, byte ptr [esi + 0x1c] */ 21115 /* test LO8(edx), LO8(edx) */ /* 0x2B045D37: test dl, dl */ 21116 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 21117 _cf = 0; 21118 _flag_k = FK_NARROW(FK_TEST, 24); 21119 MEM32(esi + 0x2C) = eax; /* 0x2B045D39: mov dword ptr [esi + 0x2c], eax */ 21120 ecx = MEM32(eax + 0x14); /* 0x2B045D3C: mov ecx, dword ptr [eax + 0x14] */ 21121 ecx = MEM32(ecx + 0x8); /* 0x2B045D3F: mov ecx, dword ptr [ecx + 8] */ 21122 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B045D42: mov byte ptr [ebp - 4], 0 */ 21123 MEM32(esi + 0x20) = ecx; /* 0x2B045D46: mov dword ptr [esi + 0x20], ecx */ 21124 if (TEST_Z(_flag_a, _flag_b)) goto L_2B045D55; /* 0x2B045D49: je 0x2b045d55 */ 21125 L_2B045D4B: 21126 SET_LO8(edx, MEM8(esi + 0xC)); /* 0x2B045D4B: mov dl, byte ptr [esi + 0xc] */ 21127 /* test LO8(edx), LO8(edx) */ /* 0x2B045D4E: test dl, dl */ 21128 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 21129 _cf = 0; 21130 _flag_k = FK_NARROW(FK_TEST, 24); 21131 if (TEST_Z(_flag_a, _flag_b)) goto L_2B045D55; /* 0x2B045D50: je 0x2b045d55 */ 21132 L_2B045D52: 21133 MEM32(esi + 0x18) = ecx; /* 0x2B045D52: mov dword ptr [esi + 0x18], ecx */ 21134 L_2B045D55: 21135 ecx = MEM32(eax + 0x14); /* 0x2B045D55: mov ecx, dword ptr [eax + 0x14] */ 21136 eax = MEM32(esi + 0x8); /* 0x2B045D58: mov eax, dword ptr [esi + 8] */ 21137 ecx = MEM32(ecx + 0x8); /* 0x2B045D5B: mov ecx, dword ptr [ecx + 8] */ 21138 ebx = MEM32(esi + 0x4); /* 0x2B045D5E: mov ebx, dword ptr [esi + 4] */ 21139 edx = ecx + eax + 0x14; /* 0x2B045D61: lea edx, [ecx + eax + 0x14] */ 21140 ecx = ebx + 0xC0; /* 0x2B045D65: lea ecx, [ebx + 0xc0] */ 21141 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 21142 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21143 eax = eax + 0x14u; /* 0x2B045D6B: add eax, 0x14 */ 21144 _flag_k = FK_ADD; 21145 PUSH32(esp, 0x70u); /* 0x2B045D6E: push 0x70 */ 21146 MEM32(ebp + (-0x18)) = edx; /* 0x2B045D70: mov dword ptr [ebp - 0x18], edx */ 21147 MEM32(ebp + (-0x14)) = ecx; /* 0x2B045D73: mov dword ptr [ebp - 0x14], ecx */ 21148 MEM32(ebp + (-0x10)) = eax; /* 0x2B045D76: mov dword ptr [ebp - 0x10], eax */ 21149 RECOMP_ICALL(0x2B0AB212u); /* 0x2B045D79: call 0x2b0ab212 */ /* not lifted */ 21150 RECOMP_FLAGS_IN(); 21151 edi = eax; /* 0x2B045D7E: mov edi, eax */ 21152 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 21153 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21154 esp = esp + 4; /* 0x2B045D80: add esp, 4 */ 21155 _flag_k = FK_ADD; 21156 MEM32(ebp + (-0x24)) = edi; /* 0x2B045D83: mov dword ptr [ebp - 0x24], edi */ 21157 /* test edi, edi */ /* 0x2B045D86: test edi, edi */ 21158 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 21159 _cf = 0; 21160 _flag_k = FK_TEST; 21161 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B045D88: mov byte ptr [ebp - 4], 2 */ 21162 if (TEST_Z(_flag_a, _flag_b)) goto L_2B045DCF; /* 0x2B045D8C: je 0x2b045dcf */ 21163 L_2B045D8E: 21164 edx = MEM32(0x2B0EE9DC); /* 0x2B045D8E: mov edx, dword ptr [0x2b0ee9dc] */ 21165 ecx = MEM32(ebp + (-0x10)); /* 0x2B045D94: mov ecx, dword ptr [ebp - 0x10] */ 21166 PUSH32(esp, edx); /* 0x2B045D97: push edx */ 21167 edx = MEM32(ebp + (-0x14)); /* 0x2B045D98: mov edx, dword ptr [ebp - 0x14] */ 21168 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B045D9B: push -1 */ 21169 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B045D9D: push -1 */ 21170 PUSH32(esp, 0x11u); /* 0x2B045D9F: push 0x11 */ 21171 PUSH32(esp, 0); /* 0x2B045DA1: push 0 */ 21172 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 21173 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21174 esp = esp - 0x10u; /* 0x2B045DA3: sub esp, 0x10 */ 21175 _flag_k = FK_CMP; 21176 eax = esp; /* 0x2B045DA6: mov eax, esp */ 21177 MEM32(eax) = ebx; /* 0x2B045DA8: mov dword ptr [eax], ebx */ 21178 MEM32(eax + 0x4) = ecx; /* 0x2B045DAA: mov dword ptr [eax + 4], ecx */ 21179 ecx = MEM32(ebp + (-0x18)); /* 0x2B045DAD: mov ecx, dword ptr [ebp - 0x18] */ 21180 PUSH32(esp, 0xFAEu); /* 0x2B045DB0: push 0xfae */ 21181 MEM32(eax + 0x8) = edx; /* 0x2B045DB5: mov dword ptr [eax + 8], edx */ 21182 PUSH32(esp, 0); /* 0x2B045DB8: push 0 */ 21183 MEM32(eax + 0xC) = ecx; /* 0x2B045DBA: mov dword ptr [eax + 0xc], ecx */ 21184 PUSH32(esp, 0); /* 0x2B045DBD: push 0 */ 21185 ecx = edi; /* 0x2B045DBF: mov ecx, edi */ 21186 RECOMP_ICALL(MEM32(0x2B0B5C00)); /* 0x2B045DC1: call dword ptr [0x2b0b5c00] */ 21187 RECOMP_FLAGS_IN(); 21188 MEM32(edi) = 0x2B0B6164u; /* 0x2B045DC7: mov dword ptr [edi], 0x2b0b6164 */ 21189 goto L_2B045DD1; /* 0x2B045DCD: jmp 0x2b045dd1 */ 21190 L_2B045DCF: 21191 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21192 edi = 0; /* 0x2B045DCF: xor edi, edi */ 21193 _cf = 0; 21194 _flag_k = FK_TEST; 21195 L_2B045DD1: 21196 MEM32(esi + 0x30) = edi; /* 0x2B045DD1: mov dword ptr [esi + 0x30], edi */ 21197 edx = MEM32(0x2B0B58EC); /* 0x2B045DD4: mov edx, dword ptr [0x2b0b58ec] */ 21198 ebx = 4; /* 0x2B045DDA: mov ebx, 4 */ 21199 MEM32(ebp + (-0x34)) = 9; /* 0x2B045DDF: mov dword ptr [ebp - 0x34], 9 */ 21200 MEM32(ebp + (-0x30)) = 0xCu; /* 0x2B045DE6: mov dword ptr [ebp - 0x30], 0xc */ 21201 MEM32(ebp + (-0x1C)) = 0; /* 0x2B045DED: mov dword ptr [ebp - 0x1c], 0 */ 21202 MEM32(ebp + (-0x18)) = ebx; /* 0x2B045DF4: mov dword ptr [ebp - 0x18], ebx */ 21203 /* cmp MEM32(edx), 0 */ /* 0x2B045DF7: cmp dword ptr [edx], 0 */ 21204 _flag_a = (uint32_t)(MEM32(edx)); _flag_b = (uint32_t)(0); 21205 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21206 _flag_k = FK_CMP; 21207 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B045DFA: mov byte ptr [ebp - 4], 0 */ 21208 if (CMP_NE(_flag_a, _flag_b)) goto L_2B045E2D; /* 0x2B045DFE: jne 0x2b045e2d */ 21209 L_2B045E00: 21210 PUSH32(esp, 8); /* 0x2B045E00: push 8 */ 21211 RECOMP_ICALL(0x2B0AB212u); /* 0x2B045E02: call 0x2b0ab212 */ /* not lifted */ 21212 RECOMP_FLAGS_IN(); 21213 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 21214 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21215 esp = esp + 4; /* 0x2B045E07: add esp, 4 */ 21216 _flag_k = FK_ADD; 21217 MEM32(ebp + (-0x24)) = eax; /* 0x2B045E0A: mov dword ptr [ebp - 0x24], eax */ 21218 /* test eax, eax */ /* 0x2B045E0D: test eax, eax */ 21219 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 21220 _cf = 0; 21221 _flag_k = FK_TEST; 21222 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B045E0F: mov byte ptr [ebp - 4], 3 */ 21223 if (TEST_Z(_flag_a, _flag_b)) goto L_2B045E1F; /* 0x2B045E13: je 0x2b045e1f */ 21224 L_2B045E15: 21225 ecx = eax; /* 0x2B045E15: mov ecx, eax */ 21226 RECOMP_ICALL(MEM32(0x2B0B58F0)); /* 0x2B045E17: call dword ptr [0x2b0b58f0] */ 21227 RECOMP_FLAGS_IN(); 21228 goto L_2B045E21; /* 0x2B045E1D: jmp 0x2b045e21 */ 21229 L_2B045E1F: 21230 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21231 eax = 0; /* 0x2B045E1F: xor eax, eax */ 21232 _cf = 0; 21233 _flag_k = FK_TEST; 21234 L_2B045E21: 21235 ecx = MEM32(0x2B0B58EC); /* 0x2B045E21: mov ecx, dword ptr [0x2b0b58ec] */ 21236 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B045E27: mov byte ptr [ebp - 4], 0 */ 21237 MEM32(ecx) = eax; /* 0x2B045E2B: mov dword ptr [ecx], eax */ 21238 L_2B045E2D: 21239 edx = MEM32(0x2B0B58EC); /* 0x2B045E2D: mov edx, dword ptr [0x2b0b58ec] */ 21240 ecx = MEM32(edx); /* 0x2B045E33: mov ecx, dword ptr [edx] */ 21241 PUSH32(esp, ebx); /* 0x2B045E35: push ebx */ 21242 eax = ebp + (-0x1C); /* 0x2B045E36: lea eax, [ebp - 0x1c] */ 21243 PUSH32(esp, eax); /* 0x2B045E39: push eax */ 21244 RECOMP_ICALL(MEM32(0x2B0B58F4)); /* 0x2B045E3A: call dword ptr [0x2b0b58f4] */ 21245 RECOMP_FLAGS_IN(); 21246 PUSH32(esp, 0x64u); /* 0x2B045E40: push 0x64 */ 21247 edi = eax; /* 0x2B045E42: mov edi, eax */ 21248 RECOMP_ICALL(0x2B0AB212u); /* 0x2B045E44: call 0x2b0ab212 */ /* not lifted */ 21249 RECOMP_FLAGS_IN(); 21250 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 21251 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21252 esp = esp + 4; /* 0x2B045E49: add esp, 4 */ 21253 _flag_k = FK_ADD; 21254 MEM32(ebp + (-0x24)) = eax; /* 0x2B045E4C: mov dword ptr [ebp - 0x24], eax */ 21255 /* test eax, eax */ /* 0x2B045E4F: test eax, eax */ 21256 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 21257 _cf = 0; 21258 _flag_k = FK_TEST; 21259 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B045E51: mov byte ptr [ebp - 4], bl */ 21260 if (TEST_Z(_flag_a, _flag_b)) goto L_2B045E89; /* 0x2B045E54: je 0x2b045e89 */ 21261 L_2B045E56: 21262 ecx = MEM32(0x2B0EE9DC); /* 0x2B045E56: mov ecx, dword ptr [0x2b0ee9dc] */ 21263 PUSH32(esp, ecx); /* 0x2B045E5C: push ecx */ 21264 PUSH32(esp, edi); /* 0x2B045E5D: push edi */ 21265 PUSH32(esp, 0x30u); /* 0x2B045E5E: push 0x30 */ 21266 PUSH32(esp, 1); /* 0x2B045E60: push 1 */ 21267 PUSH32(esp, 0xFAEu); /* 0x2B045E62: push 0xfae */ 21268 PUSH32(esp, 0xA9u); /* 0x2B045E67: push 0xa9 */ 21269 PUSH32(esp, 0); /* 0x2B045E6C: push 0 */ 21270 PUSH32(esp, 0xABu); /* 0x2B045E6E: push 0xab */ 21271 PUSH32(esp, 0x3Au); /* 0x2B045E73: push 0x3a */ 21272 PUSH32(esp, 0x3Bu); /* 0x2B045E75: push 0x3b */ 21273 PUSH32(esp, 3); /* 0x2B045E77: push 3 */ 21274 PUSH32(esp, 3); /* 0x2B045E79: push 3 */ 21275 edx = ebp + (-0x34); /* 0x2B045E7B: lea edx, [ebp - 0x34] */ 21276 PUSH32(esp, edx); /* 0x2B045E7E: push edx */ 21277 ecx = eax; /* 0x2B045E7F: mov ecx, eax */ 21278 RECOMP_ICALL(MEM32(0x2B0B58F8)); /* 0x2B045E81: call dword ptr [0x2b0b58f8] */ 21279 RECOMP_FLAGS_IN(); 21280 goto L_2B045E8B; /* 0x2B045E87: jmp 0x2b045e8b */ 21281 L_2B045E89: 21282 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21283 eax = 0; /* 0x2B045E89: xor eax, eax */ 21284 _cf = 0; 21285 _flag_k = FK_TEST; 21286 L_2B045E8B: 21287 MEM32(esi + 0x28) = eax; /* 0x2B045E8B: mov dword ptr [esi + 0x28], eax */ 21288 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B045E8E: mov byte ptr [ebp - 4], 0 */ 21289 MEM32(eax + 0x5C) = 0x2B048850u; /* 0x2B045E92: mov dword ptr [eax + 0x5c], 0x2b048850 */ 21290 MEM32(eax + 0x60) = esi; /* 0x2B045E99: mov dword ptr [eax + 0x60], esi */ 21291 RECOMP_ICALL(MEM32(0x2B0B613C)); /* 0x2B045E9C: call dword ptr [0x2b0b613c] */ 21292 RECOMP_FLAGS_IN(); 21293 ecx = eax; /* 0x2B045EA2: mov ecx, eax */ 21294 RECOMP_ICALL(MEM32(0x2B0B614C)); /* 0x2B045EA4: call dword ptr [0x2b0b614c] */ 21295 RECOMP_FLAGS_IN(); 21296 PUSH32(esp, 0x2B0E750Cu); /* 0x2B045EAA: push 0x2b0e750c */ 21297 PUSH32(esp, 1); /* 0x2B045EAF: push 1 */ 21298 ecx = esi; /* 0x2B045EB1: mov ecx, esi */ 21299 RECOMP_ICALL(0x2B03A2D0u); /* 0x2B045EB3: call 0x2b03a2d0 */ /* not lifted */ 21300 RECOMP_FLAGS_IN(); 21301 ecx = esi; /* 0x2B045EB8: mov ecx, esi */ 21302 RECOMP_ICALL(0x2B046050u); /* 0x2B045EBA: call 0x2b046050 */ /* not lifted */ 21303 RECOMP_FLAGS_IN(); 21304 PUSH32(esp, 0); /* 0x2B045EBF: push 0 */ 21305 ecx = esi; /* 0x2B045EC1: mov ecx, esi */ 21306 RECOMP_ICALL(0x2B03A350u); /* 0x2B045EC3: call 0x2b03a350 */ /* not lifted */ 21307 RECOMP_FLAGS_IN(); 21308 ecx = MEM32(0x2B0EE9F0); /* 0x2B045EC8: mov ecx, dword ptr [0x2b0ee9f0] */ 21309 PUSH32(esp, 0x2B0E74F8u); /* 0x2B045ECE: push 0x2b0e74f8 */ 21310 PUSH32(esp, 0x2B0E750Cu); /* 0x2B045ED3: push 0x2b0e750c */ 21311 PUSH32(esp, 0xAu); /* 0x2B045ED8: push 0xa */ 21312 PUSH32(esp, 0x122u); /* 0x2B045EDA: push 0x122 */ 21313 PUSH32(esp, 0x121u); /* 0x2B045EDF: push 0x121 */ 21314 PUSH32(esp, esi); /* 0x2B045EE4: push esi */ 21315 RECOMP_ICALL(0x2B03BF90u); /* 0x2B045EE5: call 0x2b03bf90 */ /* not lifted */ 21316 RECOMP_FLAGS_IN(); 21317 ecx = MEM32(ebp + (-0xC)); /* 0x2B045EEA: mov ecx, dword ptr [ebp - 0xc] */ 21318 edi = POP32_VAL(esp); /* 0x2B045EED: pop edi */ 21319 eax = esi; /* 0x2B045EEE: mov eax, esi */ 21320 esi = POP32_VAL(esp); /* 0x2B045EF0: pop esi */ 21321 MEM32(FS_BASE + (0)) = ecx; /* 0x2B045EF1: mov dword ptr fs:[0], ecx */ 21322 ebx = POP32_VAL(esp); /* 0x2B045EF8: pop ebx */ 21323 esp = ebp; /* 0x2B045EF9: mov esp, ebp */ 21324 ebp = POP32_VAL(esp); /* 0x2B045EFB: pop ebp */ 21325 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B045EFC: ret */ 21326 RECOMP_REGS_OUT(); 21327 }