client/game/ddr.dll/lifted-0030.c (2482179B)
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_2B06D827(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(0x2B06D827u); 17 18 L_2B06D827: 19 MEM32(edx) = ecx; /* 0x2B06D827: mov dword ptr [edx], ecx */ 20 MEM32(ecx + 0x4) = edx; /* 0x2B06D829: mov dword ptr [ecx + 4], edx */ 21 ecx = MEM32(eax + 0x4); /* 0x2B06D82C: mov ecx, dword ptr [eax + 4] */ 22 ecx = MEM32(ecx); /* 0x2B06D82F: mov ecx, dword ptr [ecx] */ 23 edx = MEM32(eax + 0x4); /* 0x2B06D831: mov edx, dword ptr [eax + 4] */ 24 SET_LO8(edx, MEM8(edx + 0x14)); /* 0x2B06D834: mov dl, byte ptr [edx + 0x14] */ 25 MEM8(ecx + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B06D837: mov byte ptr [ecx + 0x14], dl */ 26 edx = MEM32(eax + 0x4); /* 0x2B06D83A: mov edx, dword ptr [eax + 4] */ 27 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D83D: mov byte ptr [edx + 0x14], bl */ 28 ecx = MEM32(ecx); /* 0x2B06D840: mov ecx, dword ptr [ecx] */ 29 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D842: mov byte ptr [ecx + 0x14], bl */ 30 ecx = MEM32(eax + 0x4); /* 0x2B06D845: mov ecx, dword ptr [eax + 4] */ 31 edx = MEM32(ecx); /* 0x2B06D848: mov edx, dword ptr [ecx] */ 32 esi = MEM32(edx + 0x8); /* 0x2B06D84A: mov esi, dword ptr [edx + 8] */ 33 MEM32(ecx) = esi; /* 0x2B06D84D: mov dword ptr [ecx], esi */ 34 esi = MEM32(edx + 0x8); /* 0x2B06D84F: mov esi, dword ptr [edx + 8] */ 35 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B06D852: cmp esi, dword ptr [edi + 8] */ 36 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 37 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38 _flag_k = FK_CMP; 39 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D85A; /* 0x2B06D855: je 0x2b06d85a */ 40 L_2B06D857: 41 MEM32(esi + 0x4) = ecx; /* 0x2B06D857: mov dword ptr [esi + 4], ecx */ 42 L_2B06D85A: 43 esi = MEM32(ecx + 0x4); /* 0x2B06D85A: mov esi, dword ptr [ecx + 4] */ 44 MEM32(edx + 0x4) = esi; /* 0x2B06D85D: mov dword ptr [edx + 4], esi */ 45 esi = MEM32(edi + 0x4); /* 0x2B06D860: mov esi, dword ptr [edi + 4] */ 46 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06D863: cmp ecx, dword ptr [esi + 4] */ 47 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 48 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 49 _flag_k = FK_CMP; 50 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D86D; /* 0x2B06D866: jne 0x2b06d86d */ 51 L_2B06D868: 52 MEM32(esi + 0x4) = edx; /* 0x2B06D868: mov dword ptr [esi + 4], edx */ 53 goto L_2B06D87C; /* 0x2B06D86B: jmp 0x2b06d87c */ 54 L_2B06D86D: 55 esi = MEM32(ecx + 0x4); /* 0x2B06D86D: mov esi, dword ptr [ecx + 4] */ 56 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B06D870: cmp ecx, dword ptr [esi + 8] */ 57 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 58 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 59 _flag_k = FK_CMP; 60 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D87A; /* 0x2B06D873: jne 0x2b06d87a */ 61 L_2B06D875: 62 MEM32(esi + 0x8) = edx; /* 0x2B06D875: mov dword ptr [esi + 8], edx */ 63 goto L_2B06D87C; /* 0x2B06D878: jmp 0x2b06d87c */ 64 L_2B06D87A: 65 MEM32(esi) = edx; /* 0x2B06D87A: mov dword ptr [esi], edx */ 66 L_2B06D87C: 67 MEM32(edx + 0x8) = ecx; /* 0x2B06D87C: mov dword ptr [edx + 8], ecx */ 68 MEM32(ecx + 0x4) = edx; /* 0x2B06D87F: mov dword ptr [ecx + 4], edx */ 69 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D882: mov byte ptr [eax + 0x14], bl */ 70 edx = MEM32(ebp + (-0x4)); /* 0x2B06D885: mov edx, dword ptr [ebp - 4] */ 71 PUSH32(esp, edx); /* 0x2B06D888: push edx */ 72 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06D889: call 0x2b0ab1ba */ /* not lifted */ 73 RECOMP_FLAGS_IN(); 74 eax = MEM32(edi + 0x10); /* 0x2B06D88E: mov eax, dword ptr [edi + 0x10] */ 75 ecx = MEM32(ebp + 0xC); /* 0x2B06D891: mov ecx, dword ptr [ebp + 0xc] */ 76 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 77 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 78 esp = esp + 4; /* 0x2B06D894: add esp, 4 */ 79 _flag_k = FK_ADD; 80 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 81 eax = eax - 1; /* 0x2B06D897: dec eax */ 82 _flag_k = FK_DEC; 83 MEM32(edi + 0x10) = eax; /* 0x2B06D898: mov dword ptr [edi + 0x10], eax */ 84 eax = MEM32(ebp + 0x8); /* 0x2B06D89B: mov eax, dword ptr [ebp + 8] */ 85 edi = POP32_VAL(esp); /* 0x2B06D89E: pop edi */ 86 esi = POP32_VAL(esp); /* 0x2B06D89F: pop esi */ 87 MEM32(eax) = ecx; /* 0x2B06D8A0: mov dword ptr [eax], ecx */ 88 ebx = POP32_VAL(esp); /* 0x2B06D8A2: pop ebx */ 89 esp = ebp; /* 0x2B06D8A3: mov esp, ebp */ 90 ebp = POP32_VAL(esp); /* 0x2B06D8A5: pop ebp */ 91 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B06D8A6: ret 8 */ 92 RECOMP_REGS_OUT(); 93 } 94 95 void sub_2B06D87C(void) { 96 int _fpu_cmp = 0; 97 uint32_t _cf = 0; 98 int _df = 1; 99 uint32_t _flag_k = FK_NONE; 100 uint32_t _flag_a = 0, _flag_b = 0; 101 uint32_t _itail_tgt = 0; 102 RECOMP_REGS_LOCALS 103 RECOMP_ENTER(0x2B06D87Cu); 104 105 L_2B06D87C: 106 MEM32(edx + 0x8) = ecx; /* 0x2B06D87C: mov dword ptr [edx + 8], ecx */ 107 MEM32(ecx + 0x4) = edx; /* 0x2B06D87F: mov dword ptr [ecx + 4], edx */ 108 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D882: mov byte ptr [eax + 0x14], bl */ 109 edx = MEM32(ebp + (-0x4)); /* 0x2B06D885: mov edx, dword ptr [ebp - 4] */ 110 PUSH32(esp, edx); /* 0x2B06D888: push edx */ 111 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06D889: call 0x2b0ab1ba */ /* not lifted */ 112 RECOMP_FLAGS_IN(); 113 eax = MEM32(edi + 0x10); /* 0x2B06D88E: mov eax, dword ptr [edi + 0x10] */ 114 ecx = MEM32(ebp + 0xC); /* 0x2B06D891: mov ecx, dword ptr [ebp + 0xc] */ 115 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 116 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 117 esp = esp + 4; /* 0x2B06D894: add esp, 4 */ 118 _flag_k = FK_ADD; 119 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 120 eax = eax - 1; /* 0x2B06D897: dec eax */ 121 _flag_k = FK_DEC; 122 MEM32(edi + 0x10) = eax; /* 0x2B06D898: mov dword ptr [edi + 0x10], eax */ 123 eax = MEM32(ebp + 0x8); /* 0x2B06D89B: mov eax, dword ptr [ebp + 8] */ 124 edi = POP32_VAL(esp); /* 0x2B06D89E: pop edi */ 125 esi = POP32_VAL(esp); /* 0x2B06D89F: pop esi */ 126 MEM32(eax) = ecx; /* 0x2B06D8A0: mov dword ptr [eax], ecx */ 127 ebx = POP32_VAL(esp); /* 0x2B06D8A2: pop ebx */ 128 esp = ebp; /* 0x2B06D8A3: mov esp, ebp */ 129 ebp = POP32_VAL(esp); /* 0x2B06D8A5: pop ebp */ 130 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B06D8A6: ret 8 */ 131 RECOMP_REGS_OUT(); 132 } 133 134 void sub_2B06D87F(void) { 135 int _fpu_cmp = 0; 136 uint32_t _cf = 0; 137 int _df = 1; 138 uint32_t _flag_k = FK_NONE; 139 uint32_t _flag_a = 0, _flag_b = 0; 140 uint32_t _itail_tgt = 0; 141 RECOMP_REGS_LOCALS 142 RECOMP_ENTER(0x2B06D87Fu); 143 144 L_2B06D87F: 145 MEM32(ecx + 0x4) = edx; /* 0x2B06D87F: mov dword ptr [ecx + 4], edx */ 146 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D882: mov byte ptr [eax + 0x14], bl */ 147 edx = MEM32(ebp + (-0x4)); /* 0x2B06D885: mov edx, dword ptr [ebp - 4] */ 148 PUSH32(esp, edx); /* 0x2B06D888: push edx */ 149 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06D889: call 0x2b0ab1ba */ /* not lifted */ 150 RECOMP_FLAGS_IN(); 151 eax = MEM32(edi + 0x10); /* 0x2B06D88E: mov eax, dword ptr [edi + 0x10] */ 152 ecx = MEM32(ebp + 0xC); /* 0x2B06D891: mov ecx, dword ptr [ebp + 0xc] */ 153 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 154 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 155 esp = esp + 4; /* 0x2B06D894: add esp, 4 */ 156 _flag_k = FK_ADD; 157 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 158 eax = eax - 1; /* 0x2B06D897: dec eax */ 159 _flag_k = FK_DEC; 160 MEM32(edi + 0x10) = eax; /* 0x2B06D898: mov dword ptr [edi + 0x10], eax */ 161 eax = MEM32(ebp + 0x8); /* 0x2B06D89B: mov eax, dword ptr [ebp + 8] */ 162 edi = POP32_VAL(esp); /* 0x2B06D89E: pop edi */ 163 esi = POP32_VAL(esp); /* 0x2B06D89F: pop esi */ 164 MEM32(eax) = ecx; /* 0x2B06D8A0: mov dword ptr [eax], ecx */ 165 ebx = POP32_VAL(esp); /* 0x2B06D8A2: pop ebx */ 166 esp = ebp; /* 0x2B06D8A3: mov esp, ebp */ 167 ebp = POP32_VAL(esp); /* 0x2B06D8A5: pop ebp */ 168 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B06D8A6: ret 8 */ 169 RECOMP_REGS_OUT(); 170 } 171 172 void sub_2B06D882(void) { 173 int _fpu_cmp = 0; 174 uint32_t _cf = 0; 175 int _df = 1; 176 uint32_t _flag_k = FK_NONE; 177 uint32_t _flag_a = 0, _flag_b = 0; 178 uint32_t _itail_tgt = 0; 179 RECOMP_REGS_LOCALS 180 RECOMP_ENTER(0x2B06D882u); 181 182 L_2B06D882: 183 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B06D882: mov byte ptr [eax + 0x14], bl */ 184 edx = MEM32(ebp + (-0x4)); /* 0x2B06D885: mov edx, dword ptr [ebp - 4] */ 185 PUSH32(esp, edx); /* 0x2B06D888: push edx */ 186 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06D889: call 0x2b0ab1ba */ /* not lifted */ 187 RECOMP_FLAGS_IN(); 188 eax = MEM32(edi + 0x10); /* 0x2B06D88E: mov eax, dword ptr [edi + 0x10] */ 189 ecx = MEM32(ebp + 0xC); /* 0x2B06D891: mov ecx, dword ptr [ebp + 0xc] */ 190 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 191 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 192 esp = esp + 4; /* 0x2B06D894: add esp, 4 */ 193 _flag_k = FK_ADD; 194 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 195 eax = eax - 1; /* 0x2B06D897: dec eax */ 196 _flag_k = FK_DEC; 197 MEM32(edi + 0x10) = eax; /* 0x2B06D898: mov dword ptr [edi + 0x10], eax */ 198 eax = MEM32(ebp + 0x8); /* 0x2B06D89B: mov eax, dword ptr [ebp + 8] */ 199 edi = POP32_VAL(esp); /* 0x2B06D89E: pop edi */ 200 esi = POP32_VAL(esp); /* 0x2B06D89F: pop esi */ 201 MEM32(eax) = ecx; /* 0x2B06D8A0: mov dword ptr [eax], ecx */ 202 ebx = POP32_VAL(esp); /* 0x2B06D8A2: pop ebx */ 203 esp = ebp; /* 0x2B06D8A3: mov esp, ebp */ 204 ebp = POP32_VAL(esp); /* 0x2B06D8A5: pop ebp */ 205 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B06D8A6: ret 8 */ 206 RECOMP_REGS_OUT(); 207 } 208 209 void sub_2B06D8B0(void) { 210 int _fpu_cmp = 0; 211 uint32_t _cf = 0; 212 int _df = 1; 213 uint32_t _flag_k = FK_NONE; 214 uint32_t _flag_a = 0, _flag_b = 0; 215 uint32_t _itail_tgt = 0; 216 RECOMP_REGS_LOCALS 217 RECOMP_ENTER(0x2B06D8B0u); 218 219 L_2B06D8B0: 220 PUSH32(esp, ebp); /* 0x2B06D8B0: push ebp */ 221 ebp = esp; /* 0x2B06D8B1: mov ebp, esp */ 222 PUSH32(esp, ebx); /* 0x2B06D8B3: push ebx */ 223 PUSH32(esp, esi); /* 0x2B06D8B4: push esi */ 224 ebx = ecx; /* 0x2B06D8B5: mov ebx, ecx */ 225 eax = MEM32(ebx + 0x8); /* 0x2B06D8B7: mov eax, dword ptr [ebx + 8] */ 226 PUSH32(esp, edi); /* 0x2B06D8BA: push edi */ 227 edi = MEM32(ebp + 0x8); /* 0x2B06D8BB: mov edi, dword ptr [ebp + 8] */ 228 /* cmp edi, eax */ /* 0x2B06D8BE: cmp edi, eax */ 229 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 230 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 231 _flag_k = FK_CMP; 232 esi = edi; /* 0x2B06D8C0: mov esi, edi */ 233 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06D8E3; /* 0x2B06D8C2: je 0x2b06d8e3 */ 234 L_2B06D8C4: 235 eax = MEM32(esi + 0x8); /* 0x2B06D8C4: mov eax, dword ptr [esi + 8] */ 236 PUSH32(esp, eax); /* 0x2B06D8C7: push eax */ 237 ecx = ebx; /* 0x2B06D8C8: mov ecx, ebx */ 238 RECOMP_ICALL(0x2B06D8B0u); /* 0x2B06D8CA: call 0x2b06d8b0 */ /* not lifted */ 239 RECOMP_FLAGS_IN(); 240 esi = MEM32(esi); /* 0x2B06D8CF: mov esi, dword ptr [esi] */ 241 PUSH32(esp, edi); /* 0x2B06D8D1: push edi */ 242 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06D8D2: call 0x2b0ab1ba */ /* not lifted */ 243 RECOMP_FLAGS_IN(); 244 eax = MEM32(ebx + 0x8); /* 0x2B06D8D7: mov eax, dword ptr [ebx + 8] */ 245 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 246 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 247 esp = esp + 4; /* 0x2B06D8DA: add esp, 4 */ 248 _flag_k = FK_ADD; 249 /* cmp esi, eax */ /* 0x2B06D8DD: cmp esi, eax */ 250 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 251 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 252 _flag_k = FK_CMP; 253 edi = esi; /* 0x2B06D8DF: mov edi, esi */ 254 RECOMP_BACKEDGE(); 255 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06D8C4; /* 0x2B06D8E1: jne 0x2b06d8c4 */ 256 L_2B06D8E3: 257 edi = POP32_VAL(esp); /* 0x2B06D8E3: pop edi */ 258 esi = POP32_VAL(esp); /* 0x2B06D8E4: pop esi */ 259 ebx = POP32_VAL(esp); /* 0x2B06D8E5: pop ebx */ 260 ebp = POP32_VAL(esp); /* 0x2B06D8E6: pop ebp */ 261 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06D8E7: ret 4 */ 262 RECOMP_REGS_OUT(); 263 } 264 265 void sub_2B06D8F0(void) { 266 int _fpu_cmp = 0; 267 uint32_t _cf = 0; 268 int _df = 1; 269 uint32_t _flag_k = FK_NONE; 270 uint32_t _flag_a = 0, _flag_b = 0; 271 uint32_t _itail_tgt = 0; 272 RECOMP_REGS_LOCALS 273 RECOMP_ENTER(0x2B06D8F0u); 274 275 L_2B06D8F0: 276 PUSH32(esp, ebp); /* 0x2B06D8F0: push ebp */ 277 ebp = esp; /* 0x2B06D8F1: mov ebp, esp */ 278 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06D8F3: push -1 */ 279 PUSH32(esp, 0x2B0B11E1u); /* 0x2B06D8F5: push 0x2b0b11e1 */ 280 eax = MEM32(FS_BASE + (0)); /* 0x2B06D8FA: mov eax, dword ptr fs:[0] */ 281 PUSH32(esp, eax); /* 0x2B06D900: push eax */ 282 MEM32(FS_BASE + (0)) = esp; /* 0x2B06D901: mov dword ptr fs:[0], esp */ 283 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x2Cu); 284 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 285 esp = esp - 0x2Cu; /* 0x2B06D908: sub esp, 0x2c */ 286 _flag_k = FK_CMP; 287 eax = MEM32(ebp + 0x20); /* 0x2B06D90B: mov eax, dword ptr [ebp + 0x20] */ 288 /* test eax, eax */ /* 0x2B06D90E: test eax, eax */ 289 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 290 _cf = 0; 291 _flag_k = FK_TEST; 292 PUSH32(esp, ebx); /* 0x2B06D910: push ebx */ 293 PUSH32(esp, esi); /* 0x2B06D911: push esi */ 294 PUSH32(esp, edi); /* 0x2B06D912: push edi */ 295 ebx = ecx; /* 0x2B06D913: mov ebx, ecx */ 296 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06D9B4; /* 0x2B06D915: je 0x2b06d9b4 */ 297 L_2B06D91B: 298 PUSH32(esp, eax); /* 0x2B06D91B: push eax */ 299 RECOMP_ICALL(0x2B074B50u); /* 0x2B06D91C: call 0x2b074b50 */ /* not lifted */ 300 RECOMP_FLAGS_IN(); 301 /* test LO8(eax), LO8(eax) */ /* 0x2B06D921: test al, al */ 302 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 303 _cf = 0; 304 _flag_k = FK_NARROW(FK_TEST, 24); 305 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06DCCD; /* 0x2B06D923: je 0x2b06dccd */ 306 L_2B06D929: 307 eax = MEM32(ebx + 0xC); /* 0x2B06D929: mov eax, dword ptr [ebx + 0xc] */ 308 ecx = MEM32(ebx + 0x10); /* 0x2B06D92C: mov ecx, dword ptr [ebx + 0x10] */ 309 MEM32(ebx + 0x14) = eax; /* 0x2B06D92F: mov dword ptr [ebx + 0x14], eax */ 310 eax = MEM32(ebp + 0x8); /* 0x2B06D932: mov eax, dword ptr [ebp + 8] */ 311 MEM32(ebx + 0x18) = ecx; /* 0x2B06D935: mov dword ptr [ebx + 0x18], ecx */ 312 edx = MEM32(eax); /* 0x2B06D938: mov edx, dword ptr [eax] */ 313 SET_LO8(ecx, MEM8(ebp + 0xC)); /* 0x2B06D93A: mov cl, byte ptr [ebp + 0xc] */ 314 MEM32(ebx + 0xC) = edx; /* 0x2B06D93D: mov dword ptr [ebx + 0xc], edx */ 315 eax = MEM32(eax + 0x4); /* 0x2B06D940: mov eax, dword ptr [eax + 4] */ 316 SET_LO8(edx, MEM8(ebp + 0x10)); /* 0x2B06D943: mov dl, byte ptr [ebp + 0x10] */ 317 MEM32(ebx + 0x10) = eax; /* 0x2B06D946: mov dword ptr [ebx + 0x10], eax */ 318 SET_LO8(eax, MEM8(ebp + 0x1C)); /* 0x2B06D949: mov al, byte ptr [ebp + 0x1c] */ 319 MEM8(ebx + 0x1C) = (uint8_t)(LO8(ecx)); /* 0x2B06D94C: mov byte ptr [ebx + 0x1c], cl */ 320 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 321 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06D94F: or ecx, 0xffffffff */ 322 _cf = 0; 323 _flag_k = FK_TEST; 324 MEM8(ebx + 0x1E) = (uint8_t)(LO8(eax)); /* 0x2B06D952: mov byte ptr [ebx + 0x1e], al */ 325 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 326 eax = 0; /* 0x2B06D955: xor eax, eax */ 327 _cf = 0; 328 _flag_k = FK_TEST; 329 MEM8(ebx + 0x1D) = (uint8_t)(LO8(edx)); /* 0x2B06D957: mov byte ptr [ebx + 0x1d], dl */ 330 edx = MEM32(ebx + 0x2C); /* 0x2B06D95A: mov edx, dword ptr [ebx + 0x2c] */ 331 MEM8(ebx + 0xE0) = (uint8_t)(0); /* 0x2B06D95D: mov byte ptr [ebx + 0xe0], 0 */ 332 edi = 0x2B0EE648u; /* 0x2B06D964: mov edi, 0x2b0ee648 */ 333 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; } /* 0x2B06D969: repne scasb al, byte ptr es:[edi] */ 334 ecx = ~ecx; /* 0x2B06D96B: not ecx */ 335 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 336 ecx = ecx - 1; /* 0x2B06D96D: dec ecx */ 337 _flag_k = FK_DEC; 338 esi = ecx; /* 0x2B06D96E: mov esi, ecx */ 339 PUSH32(esp, 1); /* 0x2B06D970: push 1 */ 340 PUSH32(esp, esi); /* 0x2B06D972: push esi */ 341 ecx = edx; /* 0x2B06D973: mov ecx, edx */ 342 MEM32(ebp + 0x1C) = edx; /* 0x2B06D975: mov dword ptr [ebp + 0x1c], edx */ 343 MEM32(ebp + 0xC) = esi; /* 0x2B06D978: mov dword ptr [ebp + 0xc], esi */ 344 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06D97B: call dword ptr [0x2b0b5154] */ 345 RECOMP_FLAGS_IN(); 346 /* test LO8(eax), LO8(eax) */ /* 0x2B06D981: test al, al */ 347 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 348 _cf = 0; 349 _flag_k = FK_NARROW(FK_TEST, 24); 350 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06DCC6; /* 0x2B06D983: je 0x2b06dcc6 */ 351 L_2B06D989: 352 eax = MEM32(ebp + 0x1C); /* 0x2B06D989: mov eax, dword ptr [ebp + 0x1c] */ 353 edi = MEM32(eax + 0x4); /* 0x2B06D98C: mov edi, dword ptr [eax + 4] */ 354 ecx = esi; /* 0x2B06D98F: mov ecx, esi */ 355 edx = ecx; /* 0x2B06D991: mov edx, ecx */ 356 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06D993: shr ecx, 2 */ 357 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 358 ecx = ecx >> 2u; /* 0x2B06D993: shr ecx, 2 */ 359 esi = 0x2B0EE648u; /* 0x2B06D996: mov esi, 0x2b0ee648 */ 360 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06D99B: 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; } 361 ecx = edx; /* 0x2B06D99D: mov ecx, edx */ 362 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 363 ecx = ecx & 3; /* 0x2B06D99F: and ecx, 3 */ 364 _cf = 0; 365 _flag_k = FK_TEST; 366 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06D9A2: 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; } 367 ecx = edx; /* 0x2B06D9A4: mov ecx, edx */ 368 PUSH32(esp, ecx); /* 0x2B06D9A6: push ecx */ 369 ecx = eax; /* 0x2B06D9A7: mov ecx, eax */ 370 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06D9A9: call dword ptr [0x2b0b5150] */ 371 RECOMP_FLAGS_IN(); 372 goto L_2B06DCC6; /* 0x2B06D9AF: jmp 0x2b06dcc6 */ 373 L_2B06D9B4: 374 SET_LO8(eax, MEM8(ebp + 0x18)); /* 0x2B06D9B4: mov al, byte ptr [ebp + 0x18] */ 375 /* test LO8(eax), LO8(eax) */ /* 0x2B06D9B7: test al, al */ 376 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 377 _cf = 0; 378 _flag_k = FK_NARROW(FK_TEST, 24); 379 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06D9D7; /* 0x2B06D9B9: je 0x2b06d9d7 */ 380 L_2B06D9BB: 381 esi = MEM32(ebp + 0x8); /* 0x2B06D9BB: mov esi, dword ptr [ebp + 8] */ 382 edx = MEM32(ebx + 0x24); /* 0x2B06D9BE: mov edx, dword ptr [ebx + 0x24] */ 383 /* cmp edx, MEM32(esi + 0x4) */ /* 0x2B06D9C1: cmp edx, dword ptr [esi + 4] */ 384 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 385 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 386 _flag_k = FK_CMP; 387 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06DCCD; /* 0x2B06D9C4: jne 0x2b06dccd */ 388 L_2B06D9CA: 389 eax = MEM32(ebx + 0x20); /* 0x2B06D9CA: mov eax, dword ptr [ebx + 0x20] */ 390 /* cmp eax, MEM32(esi) */ /* 0x2B06D9CD: cmp eax, dword ptr [esi] */ 391 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi)); 392 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 393 _flag_k = FK_CMP; 394 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06DCCD; /* 0x2B06D9CF: jne 0x2b06dccd */ 395 L_2B06D9D5: 396 goto L_2B06D9DA; /* 0x2B06D9D5: jmp 0x2b06d9da */ 397 L_2B06D9D7: 398 esi = MEM32(ebp + 0x8); /* 0x2B06D9D7: mov esi, dword ptr [ebp + 8] */ 399 L_2B06D9DA: 400 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 401 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06D9DA: or ecx, 0xffffffff */ 402 _cf = 0; 403 _flag_k = FK_TEST; 404 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 405 eax = 0; /* 0x2B06D9DD: xor eax, eax */ 406 _cf = 0; 407 _flag_k = FK_TEST; 408 edi = 0x2B0EE648u; /* 0x2B06D9DF: mov edi, 0x2b0ee648 */ 409 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; } /* 0x2B06D9E4: repne scasb al, byte ptr es:[edi] */ 410 ecx = ~ecx; /* 0x2B06D9E6: not ecx */ 411 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 412 ecx = ecx - 1; /* 0x2B06D9E8: dec ecx */ 413 _flag_k = FK_DEC; 414 edi = ecx; /* 0x2B06D9E9: mov edi, ecx */ 415 edx = ebx + 0x30; /* 0x2B06D9EB: lea edx, [ebx + 0x30] */ 416 PUSH32(esp, 1); /* 0x2B06D9EE: push 1 */ 417 PUSH32(esp, edi); /* 0x2B06D9F0: push edi */ 418 ecx = edx; /* 0x2B06D9F1: mov ecx, edx */ 419 MEM32(ebp + 0x20) = edi; /* 0x2B06D9F3: mov dword ptr [ebp + 0x20], edi */ 420 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06D9F6: call dword ptr [0x2b0b5154] */ 421 RECOMP_FLAGS_IN(); 422 /* test LO8(eax), LO8(eax) */ /* 0x2B06D9FC: test al, al */ 423 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 424 _cf = 0; 425 _flag_k = FK_NARROW(FK_TEST, 24); 426 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06DA29; /* 0x2B06D9FE: je 0x2b06da29 */ 427 L_2B06DA00: 428 eax = MEM32(ebx + 0x34); /* 0x2B06DA00: mov eax, dword ptr [ebx + 0x34] */ 429 ecx = edi; /* 0x2B06DA03: mov ecx, edi */ 430 edx = ecx; /* 0x2B06DA05: mov edx, ecx */ 431 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06DA07: shr ecx, 2 */ 432 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 433 ecx = ecx >> 2u; /* 0x2B06DA07: shr ecx, 2 */ 434 edi = eax; /* 0x2B06DA0A: mov edi, eax */ 435 esi = 0x2B0EE648u; /* 0x2B06DA0C: mov esi, 0x2b0ee648 */ 436 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06DA11: 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; } 437 ecx = edx; /* 0x2B06DA13: mov ecx, edx */ 438 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 439 ecx = ecx & 3; /* 0x2B06DA15: and ecx, 3 */ 440 _cf = 0; 441 _flag_k = FK_TEST; 442 eax = edx; /* 0x2B06DA18: mov eax, edx */ 443 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06DA1A: 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; } 444 PUSH32(esp, eax); /* 0x2B06DA1C: push eax */ 445 ecx = ebx + 0x30; /* 0x2B06DA1D: lea ecx, [ebx + 0x30] */ 446 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06DA20: call dword ptr [0x2b0b5150] */ 447 RECOMP_FLAGS_IN(); 448 esi = MEM32(ebp + 0x8); /* 0x2B06DA26: mov esi, dword ptr [ebp + 8] */ 449 L_2B06DA29: 450 ecx = MEM32(ebx + 0xC); /* 0x2B06DA29: mov ecx, dword ptr [ebx + 0xc] */ 451 SET_LO8(eax, MEM8(ebp + 0x1C)); /* 0x2B06DA2C: mov al, byte ptr [ebp + 0x1c] */ 452 edx = MEM32(ebx + 0x10); /* 0x2B06DA2F: mov edx, dword ptr [ebx + 0x10] */ 453 MEM32(ebx + 0x14) = ecx; /* 0x2B06DA32: mov dword ptr [ebx + 0x14], ecx */ 454 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 455 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06DA35: or ecx, 0xffffffff */ 456 _cf = 0; 457 _flag_k = FK_TEST; 458 MEM8(ebx + 0x1E) = (uint8_t)(LO8(eax)); /* 0x2B06DA38: mov byte ptr [ebx + 0x1e], al */ 459 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 460 eax = 0; /* 0x2B06DA3B: xor eax, eax */ 461 _cf = 0; 462 _flag_k = FK_TEST; 463 MEM32(ebx + 0x18) = edx; /* 0x2B06DA3D: mov dword ptr [ebx + 0x18], edx */ 464 edx = MEM32(ebx + 0x2C); /* 0x2B06DA40: mov edx, dword ptr [ebx + 0x2c] */ 465 MEM8(ebx + 0xE0) = (uint8_t)(0); /* 0x2B06DA43: mov byte ptr [ebx + 0xe0], 0 */ 466 edi = 0x2B0EE648u; /* 0x2B06DA4A: mov edi, 0x2b0ee648 */ 467 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; } /* 0x2B06DA4F: repne scasb al, byte ptr es:[edi] */ 468 ecx = ~ecx; /* 0x2B06DA51: not ecx */ 469 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 470 ecx = ecx - 1; /* 0x2B06DA53: dec ecx */ 471 _flag_k = FK_DEC; 472 edi = ecx; /* 0x2B06DA54: mov edi, ecx */ 473 PUSH32(esp, 1); /* 0x2B06DA56: push 1 */ 474 PUSH32(esp, edi); /* 0x2B06DA58: push edi */ 475 ecx = edx; /* 0x2B06DA59: mov ecx, edx */ 476 MEM32(ebp + 0x1C) = edx; /* 0x2B06DA5B: mov dword ptr [ebp + 0x1c], edx */ 477 MEM32(ebp + 0x20) = edi; /* 0x2B06DA5E: mov dword ptr [ebp + 0x20], edi */ 478 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06DA61: call dword ptr [0x2b0b5154] */ 479 RECOMP_FLAGS_IN(); 480 /* test LO8(eax), LO8(eax) */ /* 0x2B06DA67: test al, al */ 481 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 482 _cf = 0; 483 _flag_k = FK_NARROW(FK_TEST, 24); 484 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06DA97; /* 0x2B06DA69: je 0x2b06da97 */ 485 L_2B06DA6B: 486 ecx = MEM32(ebp + 0x1C); /* 0x2B06DA6B: mov ecx, dword ptr [ebp + 0x1c] */ 487 eax = MEM32(ecx + 0x4); /* 0x2B06DA6E: mov eax, dword ptr [ecx + 4] */ 488 ecx = edi; /* 0x2B06DA71: mov ecx, edi */ 489 edx = ecx; /* 0x2B06DA73: mov edx, ecx */ 490 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06DA75: shr ecx, 2 */ 491 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 492 ecx = ecx >> 2u; /* 0x2B06DA75: shr ecx, 2 */ 493 edi = eax; /* 0x2B06DA78: mov edi, eax */ 494 esi = 0x2B0EE648u; /* 0x2B06DA7A: mov esi, 0x2b0ee648 */ 495 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06DA7F: 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; } 496 ecx = edx; /* 0x2B06DA81: mov ecx, edx */ 497 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 498 ecx = ecx & 3; /* 0x2B06DA83: and ecx, 3 */ 499 _cf = 0; 500 _flag_k = FK_TEST; 501 eax = edx; /* 0x2B06DA86: mov eax, edx */ 502 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06DA88: 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; } 503 ecx = MEM32(ebp + 0x1C); /* 0x2B06DA8A: mov ecx, dword ptr [ebp + 0x1c] */ 504 PUSH32(esp, eax); /* 0x2B06DA8D: push eax */ 505 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06DA8E: call dword ptr [0x2b0b5150] */ 506 RECOMP_FLAGS_IN(); 507 esi = MEM32(ebp + 0x8); /* 0x2B06DA94: mov esi, dword ptr [ebp + 8] */ 508 L_2B06DA97: 509 ecx = MEM32(ebx + 0x10); /* 0x2B06DA97: mov ecx, dword ptr [ebx + 0x10] */ 510 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B06DA9A: cmp ecx, dword ptr [esi + 4] */ 511 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 512 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 513 _flag_k = FK_CMP; 514 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06DACA; /* 0x2B06DA9D: jne 0x2b06daca */ 515 L_2B06DA9F: 516 edx = MEM32(ebx + 0xC); /* 0x2B06DA9F: mov edx, dword ptr [ebx + 0xc] */ 517 /* cmp edx, MEM32(esi) */ /* 0x2B06DAA2: cmp edx, dword ptr [esi] */ 518 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi)); 519 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 520 _flag_k = FK_CMP; 521 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06DACA; /* 0x2B06DAA4: jne 0x2b06daca */ 522 L_2B06DAA6: 523 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 524 eax = 0; /* 0x2B06DAA6: xor eax, eax */ 525 _cf = 0; 526 _flag_k = FK_TEST; 527 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 528 ecx = 0; /* 0x2B06DAA8: xor ecx, ecx */ 529 _cf = 0; 530 _flag_k = FK_TEST; 531 MEM32(ebx + 0xC) = eax; /* 0x2B06DAAA: mov dword ptr [ebx + 0xc], eax */ 532 MEM32(ebx + 0x10) = ecx; /* 0x2B06DAAD: mov dword ptr [ebx + 0x10], ecx */ 533 ecx = ebx; /* 0x2B06DAB0: mov ecx, ebx */ 534 RECOMP_ICALL(0x2B06CBD0u); /* 0x2B06DAB2: call 0x2b06cbd0 */ /* not lifted */ 535 RECOMP_FLAGS_IN(); 536 edi = POP32_VAL(esp); /* 0x2B06DAB7: pop edi */ 537 esi = POP32_VAL(esp); /* 0x2B06DAB8: pop esi */ 538 ebx = POP32_VAL(esp); /* 0x2B06DAB9: pop ebx */ 539 ecx = MEM32(ebp + (-0xC)); /* 0x2B06DABA: mov ecx, dword ptr [ebp - 0xc] */ 540 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06DABD: mov dword ptr fs:[0], ecx */ 541 esp = ebp; /* 0x2B06DAC4: mov esp, ebp */ 542 ebp = POP32_VAL(esp); /* 0x2B06DAC6: pop ebp */ 543 RECOMP_FLAGS_OUT(); esp += 32; { RECOMP_REGS_OUT(); return; } /* 0x2B06DAC7: ret 0x1c */ 544 L_2B06DACA: 545 eax = MEM32(esi); /* 0x2B06DACA: mov eax, dword ptr [esi] */ 546 SET_LO8(edx, MEM8(ebp + 0xC)); /* 0x2B06DACC: mov dl, byte ptr [ebp + 0xc] */ 547 MEM32(ebx + 0xC) = eax; /* 0x2B06DACF: mov dword ptr [ebx + 0xc], eax */ 548 ecx = MEM32(esi + 0x4); /* 0x2B06DAD2: mov ecx, dword ptr [esi + 4] */ 549 SET_LO8(eax, MEM8(ebp + 0x10)); /* 0x2B06DAD5: mov al, byte ptr [ebp + 0x10] */ 550 MEM8(ebx + 0x1D) = (uint8_t)(LO8(eax)); /* 0x2B06DAD8: mov byte ptr [ebx + 0x1d], al */ 551 eax = MEM32(ebp + 0x14); /* 0x2B06DADB: mov eax, dword ptr [ebp + 0x14] */ 552 /* test eax, eax */ /* 0x2B06DADE: test eax, eax */ 553 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 554 _cf = 0; 555 _flag_k = FK_TEST; 556 MEM32(ebx + 0x10) = ecx; /* 0x2B06DAE0: mov dword ptr [ebx + 0x10], ecx */ 557 MEM8(ebx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x2B06DAE3: mov byte ptr [ebx + 0x1c], dl */ 558 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06DBEA; /* 0x2B06DAE6: je 0x2b06dbea */ 559 L_2B06DAEC: 560 edx = MEM32(0x2B0B515C); /* 0x2B06DAEC: mov edx, dword ptr [0x2b0b515c] */ 561 edx = MEM32(edx); /* 0x2B06DAF2: mov edx, dword ptr [edx] */ 562 ecx = MEM32(ebx + 0x2C); /* 0x2B06DAF4: mov ecx, dword ptr [ebx + 0x2c] */ 563 PUSH32(esp, edx); /* 0x2B06DAF7: push edx */ 564 PUSH32(esp, 0); /* 0x2B06DAF8: push 0 */ 565 PUSH32(esp, eax); /* 0x2B06DAFA: push eax */ 566 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B06DAFB: call dword ptr [0x2b0b5158] */ 567 RECOMP_FLAGS_IN(); 568 ecx = ebp + (-0x38); /* 0x2B06DB01: lea ecx, [ebp - 0x38] */ 569 RECOMP_ICALL(MEM32(0x2B0B5750)); /* 0x2B06DB04: call dword ptr [0x2b0b5750] */ 570 RECOMP_FLAGS_IN(); 571 esi = MEM32(ebx + 0x28); /* 0x2B06DB0A: mov esi, dword ptr [ebx + 0x28] */ 572 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 573 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06DB0D: or ecx, 0xffffffff */ 574 _cf = 0; 575 _flag_k = FK_TEST; 576 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 577 eax = 0; /* 0x2B06DB10: xor eax, eax */ 578 _cf = 0; 579 _flag_k = FK_TEST; 580 edi = 0x2B0EE648u; /* 0x2B06DB12: mov edi, 0x2b0ee648 */ 581 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; } /* 0x2B06DB17: repne scasb al, byte ptr es:[edi] */ 582 ecx = ~ecx; /* 0x2B06DB19: not ecx */ 583 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 584 ecx = ecx - 1; /* 0x2B06DB1B: dec ecx */ 585 _flag_k = FK_DEC; 586 edi = ecx; /* 0x2B06DB1C: mov edi, ecx */ 587 PUSH32(esp, 1); /* 0x2B06DB1E: push 1 */ 588 PUSH32(esp, edi); /* 0x2B06DB20: push edi */ 589 ecx = esi; /* 0x2B06DB21: mov ecx, esi */ 590 MEM32(ebp + (-0x4)) = 0; /* 0x2B06DB23: mov dword ptr [ebp - 4], 0 */ 591 MEM32(ebp + 0xC) = esi; /* 0x2B06DB2A: mov dword ptr [ebp + 0xc], esi */ 592 MEM32(ebp + 0x1C) = edi; /* 0x2B06DB2D: mov dword ptr [ebp + 0x1c], edi */ 593 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06DB30: call dword ptr [0x2b0b5154] */ 594 RECOMP_FLAGS_IN(); 595 /* test LO8(eax), LO8(eax) */ /* 0x2B06DB36: test al, al */ 596 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 597 _cf = 0; 598 _flag_k = FK_NARROW(FK_TEST, 24); 599 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06DB62; /* 0x2B06DB38: je 0x2b06db62 */ 600 L_2B06DB3A: 601 eax = MEM32(esi + 0x4); /* 0x2B06DB3A: mov eax, dword ptr [esi + 4] */ 602 ecx = edi; /* 0x2B06DB3D: mov ecx, edi */ 603 edi = eax; /* 0x2B06DB3F: mov edi, eax */ 604 eax = ecx; /* 0x2B06DB41: mov eax, ecx */ 605 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06DB43: shr ecx, 2 */ 606 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 607 ecx = ecx >> 2u; /* 0x2B06DB43: shr ecx, 2 */ 608 esi = 0x2B0EE648u; /* 0x2B06DB46: mov esi, 0x2b0ee648 */ 609 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06DB4B: 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; } 610 ecx = eax; /* 0x2B06DB4D: mov ecx, eax */ 611 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 612 ecx = ecx & 3; /* 0x2B06DB4F: and ecx, 3 */ 613 _cf = 0; 614 _flag_k = FK_TEST; 615 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06DB52: 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; } 616 ecx = MEM32(ebp + 0xC); /* 0x2B06DB54: mov ecx, dword ptr [ebp + 0xc] */ 617 edx = MEM32(ecx + 0x4); /* 0x2B06DB57: mov edx, dword ptr [ecx + 4] */ 618 MEM32(ecx + 0x8) = eax; /* 0x2B06DB5A: mov dword ptr [ecx + 8], eax */ 619 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 620 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 621 eax = eax + edx; /* 0x2B06DB5D: add eax, edx */ 622 _flag_k = FK_ADD; 623 MEM8(eax) = (uint8_t)(0); /* 0x2B06DB5F: mov byte ptr [eax], 0 */ 624 L_2B06DB62: 625 eax = MEM32(ebx + 0x2C); /* 0x2B06DB62: mov eax, dword ptr [ebx + 0x2c] */ 626 ecx = MEM32(eax + 0x8); /* 0x2B06DB65: mov ecx, dword ptr [eax + 8] */ 627 eax = MEM32(eax + 0x4); /* 0x2B06DB68: mov eax, dword ptr [eax + 4] */ 628 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 629 edi = 0; /* 0x2B06DB6B: xor edi, edi */ 630 _cf = 0; 631 _flag_k = FK_TEST; 632 /* cmp eax, edi */ /* 0x2B06DB6D: cmp eax, edi */ 633 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 634 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 635 _flag_k = FK_CMP; 636 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06DB76; /* 0x2B06DB6F: jne 0x2b06db76 */ 637 L_2B06DB71: 638 eax = MEM32(0x2B0B513C); /* 0x2B06DB71: mov eax, dword ptr [0x2b0b513c] */ 639 L_2B06DB76: 640 PUSH32(esp, edi); /* 0x2B06DB76: push edi */ 641 PUSH32(esp, edi); /* 0x2B06DB77: push edi */ 642 edx = ebx + 0xE4; /* 0x2B06DB78: lea edx, [ebx + 0xe4] */ 643 PUSH32(esp, edx); /* 0x2B06DB7E: push edx */ 644 PUSH32(esp, ecx); /* 0x2B06DB7F: push ecx */ 645 ecx = MEM32(ebx + 0x28); /* 0x2B06DB80: mov ecx, dword ptr [ebx + 0x28] */ 646 PUSH32(esp, eax); /* 0x2B06DB83: push eax */ 647 RECOMP_ICALL(MEM32(0x2B0B5788)); /* 0x2B06DB84: call dword ptr [0x2b0b5788] */ 648 RECOMP_FLAGS_IN(); 649 ecx = ebx; /* 0x2B06DB8A: mov ecx, ebx */ 650 RECOMP_ICALL(0x2B06C930u); /* 0x2B06DB8C: call 0x2b06c930 */ /* not lifted */ 651 RECOMP_FLAGS_IN(); 652 eax = MEM32(ebp + (-0x14)); /* 0x2B06DB91: mov eax, dword ptr [ebp - 0x14] */ 653 esi = MEM32(ebp + (-0x18)); /* 0x2B06DB94: mov esi, dword ptr [ebp - 0x18] */ 654 /* cmp esi, eax */ /* 0x2B06DB97: cmp esi, eax */ 655 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 656 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 657 _flag_k = FK_CMP; 658 MEM32(ebp + (-0x4)) = 1; /* 0x2B06DB99: mov dword ptr [ebp - 4], 1 */ 659 ebx = eax; /* 0x2B06DBA0: mov ebx, eax */ 660 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06DBB6; /* 0x2B06DBA2: je 0x2b06dbb6 */ 661 L_2B06DBA4: 662 PUSH32(esp, edi); /* 0x2B06DBA4: push edi */ 663 ecx = esi; /* 0x2B06DBA5: mov ecx, esi */ 664 RECOMP_ICALL(0x2B075100u); /* 0x2B06DBA7: call 0x2b075100 */ /* not lifted */ 665 RECOMP_FLAGS_IN(); 666 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x18u); 667 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 668 esi = esi + 0x18u; /* 0x2B06DBAC: add esi, 0x18 */ 669 _flag_k = FK_ADD; 670 /* cmp esi, ebx */ /* 0x2B06DBAF: cmp esi, ebx */ 671 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 672 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 673 _flag_k = FK_CMP; 674 RECOMP_BACKEDGE(); 675 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06DBA4; /* 0x2B06DBB1: jne 0x2b06dba4 */ 676 L_2B06DBB3: 677 esi = MEM32(ebp + (-0x18)); /* 0x2B06DBB3: mov esi, dword ptr [ebp - 0x18] */ 678 L_2B06DBB6: 679 PUSH32(esp, esi); /* 0x2B06DBB6: push esi */ 680 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06DBB7: call 0x2b0ab1ba */ /* not lifted */ 681 RECOMP_FLAGS_IN(); 682 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 683 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 684 esp = esp + 4; /* 0x2B06DBBC: add esp, 4 */ 685 _flag_k = FK_ADD; 686 ecx = ebp + (-0x30); /* 0x2B06DBBF: lea ecx, [ebp - 0x30] */ 687 MEM32(ebp + (-0x18)) = edi; /* 0x2B06DBC2: mov dword ptr [ebp - 0x18], edi */ 688 MEM32(ebp + (-0x14)) = edi; /* 0x2B06DBC5: mov dword ptr [ebp - 0x14], edi */ 689 MEM32(ebp + (-0x10)) = edi; /* 0x2B06DBC8: mov dword ptr [ebp - 0x10], edi */ 690 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B06DBCB: mov dword ptr [ebp - 4], 0xffffffff */ 691 RECOMP_ICALL(0x2B074F90u); /* 0x2B06DBD2: call 0x2b074f90 */ /* not lifted */ 692 RECOMP_FLAGS_IN(); 693 edi = POP32_VAL(esp); /* 0x2B06DBD7: pop edi */ 694 esi = POP32_VAL(esp); /* 0x2B06DBD8: pop esi */ 695 ebx = POP32_VAL(esp); /* 0x2B06DBD9: pop ebx */ 696 ecx = MEM32(ebp + (-0xC)); /* 0x2B06DBDA: mov ecx, dword ptr [ebp - 0xc] */ 697 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06DBDD: mov dword ptr fs:[0], ecx */ 698 esp = ebp; /* 0x2B06DBE4: mov esp, ebp */ 699 ebp = POP32_VAL(esp); /* 0x2B06DBE6: pop ebp */ 700 RECOMP_FLAGS_OUT(); esp += 32; { RECOMP_REGS_OUT(); return; } /* 0x2B06DBE7: ret 0x1c */ 701 L_2B06DBEA: 702 eax = MEM32(esi); /* 0x2B06DBEA: mov eax, dword ptr [esi] */ 703 /* cmp eax, 0xCF1Bu */ /* 0x2B06DBEC: cmp eax, 0xcf1b */ 704 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCF1Bu); 705 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 706 _flag_k = FK_CMP; 707 if (CMP_G(_flag_a, _flag_b)) goto L_2B06DC6E; /* 0x2B06DBF1: jg 0x2b06dc6e */ 708 L_2B06DBF3: 709 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06DC62; /* 0x2B06DBF3: je 0x2b06dc62 */ 710 L_2B06DBF5: 711 /* cmp eax, 0x1F5u */ /* 0x2B06DBF5: cmp eax, 0x1f5 */ 712 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1F5u); 713 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 714 _flag_k = FK_CMP; 715 if (CMP_G(_flag_a, _flag_b)) goto L_2B06DC25; /* 0x2B06DBFA: jg 0x2b06dc25 */ 716 L_2B06DBFC: 717 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06DC15; /* 0x2B06DBFC: je 0x2b06dc15 */ 718 L_2B06DBFE: 719 /* cmp eax, 0x1F4u */ /* 0x2B06DBFE: cmp eax, 0x1f4 */ 720 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1F4u); 721 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 722 _flag_k = FK_CMP; 723 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06DC7C; /* 0x2B06DC03: jne 0x2b06dc7c */ 724 L_2B06DC05: 725 eax = MEM32(esi + 0x4); /* 0x2B06DC05: mov eax, dword ptr [esi + 4] */ 726 PUSH32(esp, eax); /* 0x2B06DC08: push eax */ 727 ecx = ebx; /* 0x2B06DC09: mov ecx, ebx */ 728 RECOMP_ICALL(0x2B072140u); /* 0x2B06DC0B: call 0x2b072140 */ /* not lifted */ 729 RECOMP_FLAGS_IN(); 730 goto L_2B06DCC6; /* 0x2B06DC10: jmp 0x2b06dcc6 */ 731 L_2B06DC15: 732 ecx = MEM32(esi + 0x4); /* 0x2B06DC15: mov ecx, dword ptr [esi + 4] */ 733 PUSH32(esp, ecx); /* 0x2B06DC18: push ecx */ 734 ecx = ebx; /* 0x2B06DC19: mov ecx, ebx */ 735 RECOMP_ICALL(0x2B072700u); /* 0x2B06DC1B: call 0x2b072700 */ /* not lifted */ 736 RECOMP_FLAGS_IN(); 737 goto L_2B06DCC6; /* 0x2B06DC20: jmp 0x2b06dcc6 */ 738 L_2B06DC25: 739 /* cmp eax, 0xC350u */ /* 0x2B06DC25: cmp eax, 0xc350 */ 740 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xC350u); 741 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 742 _flag_k = FK_CMP; 743 if (CMP_L(_flag_a, _flag_b)) goto L_2B06DC7C; /* 0x2B06DC2A: jl 0x2b06dc7c */ 744 L_2B06DC2C: 745 /* cmp eax, 0xC351u */ /* 0x2B06DC2C: cmp eax, 0xc351 */ 746 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xC351u); 747 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 748 _flag_k = FK_CMP; 749 if (CMP_G(_flag_a, _flag_b)) goto L_2B06DC7C; /* 0x2B06DC31: jg 0x2b06dc7c */ 750 L_2B06DC33: 751 PUSH32(esp, esi); /* 0x2B06DC33: push esi */ 752 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06DC34: call dword ptr [0x2b0b5d6c] */ 753 RECOMP_FLAGS_IN(); 754 ecx = eax; /* 0x2B06DC3A: mov ecx, eax */ 755 RECOMP_ICALL(MEM32(0x2B0B5E94)); /* 0x2B06DC3C: call dword ptr [0x2b0b5e94] */ 756 RECOMP_FLAGS_IN(); 757 /* test LO8(eax), LO8(eax) */ /* 0x2B06DC42: test al, al */ 758 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 759 _cf = 0; 760 _flag_k = FK_NARROW(FK_TEST, 24); 761 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06DC54; /* 0x2B06DC44: je 0x2b06dc54 */ 762 L_2B06DC46: 763 edx = MEM32(ebp + 0x18); /* 0x2B06DC46: mov edx, dword ptr [ebp + 0x18] */ 764 PUSH32(esp, edx); /* 0x2B06DC49: push edx */ 765 PUSH32(esp, esi); /* 0x2B06DC4A: push esi */ 766 ecx = ebx; /* 0x2B06DC4B: mov ecx, ebx */ 767 RECOMP_ICALL(0x2B071120u); /* 0x2B06DC4D: call 0x2b071120 */ /* not lifted */ 768 RECOMP_FLAGS_IN(); 769 goto L_2B06DCC6; /* 0x2B06DC52: jmp 0x2b06dcc6 */ 770 L_2B06DC54: 771 eax = MEM32(ebp + 0x18); /* 0x2B06DC54: mov eax, dword ptr [ebp + 0x18] */ 772 PUSH32(esp, eax); /* 0x2B06DC57: push eax */ 773 PUSH32(esp, esi); /* 0x2B06DC58: push esi */ 774 ecx = ebx; /* 0x2B06DC59: mov ecx, ebx */ 775 RECOMP_ICALL(0x2B06FC30u); /* 0x2B06DC5B: call 0x2b06fc30 */ /* not lifted */ 776 RECOMP_FLAGS_IN(); 777 goto L_2B06DCC6; /* 0x2B06DC60: jmp 0x2b06dcc6 */ 778 L_2B06DC62: 779 PUSH32(esp, 0); /* 0x2B06DC62: push 0 */ 780 PUSH32(esp, esi); /* 0x2B06DC64: push esi */ 781 ecx = ebx; /* 0x2B06DC65: mov ecx, ebx */ 782 RECOMP_ICALL(0x2B06F480u); /* 0x2B06DC67: call 0x2b06f480 */ /* not lifted */ 783 RECOMP_FLAGS_IN(); 784 goto L_2B06DCC6; /* 0x2B06DC6C: jmp 0x2b06dcc6 */ 785 L_2B06DC6E: 786 /* cmp eax, 0xDAC3u */ /* 0x2B06DC6E: cmp eax, 0xdac3 */ 787 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xDAC3u); 788 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 789 _flag_k = FK_CMP; 790 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06DCBE; /* 0x2B06DC73: je 0x2b06dcbe */ 791 L_2B06DC75: 792 /* cmp eax, 0xDEB0u */ /* 0x2B06DC75: cmp eax, 0xdeb0 */ 793 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xDEB0u); 794 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 795 _flag_k = FK_CMP; 796 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06DCB4; /* 0x2B06DC7A: je 0x2b06dcb4 */ 797 L_2B06DC7C: 798 PUSH32(esp, 0x4Cu); /* 0x2B06DC7C: push 0x4c */ 799 PUSH32(esp, esi); /* 0x2B06DC7E: push esi */ 800 ecx = ebx; /* 0x2B06DC7F: mov ecx, ebx */ 801 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06DC81: call 0x2b0735d0 */ /* not lifted */ 802 RECOMP_FLAGS_IN(); 803 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 804 eax = eax - 1; /* 0x2B06DC86: dec eax */ 805 _flag_k = FK_DEC; 806 if (/* dec result */ CMP_EQ(_flag_a, _flag_b)) goto L_2B06DCAA; /* 0x2B06DC87: je 0x2b06dcaa */ 807 L_2B06DC89: 808 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 809 eax = eax - 1; /* 0x2B06DC89: dec eax */ 810 _flag_k = FK_DEC; 811 if (/* dec result */ CMP_EQ(_flag_a, _flag_b)) goto L_2B06DCA0; /* 0x2B06DC8A: je 0x2b06dca0 */ 812 L_2B06DC8C: 813 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 814 eax = eax - 1; /* 0x2B06DC8C: dec eax */ 815 _flag_k = FK_DEC; 816 PUSH32(esp, esi); /* 0x2B06DC8D: push esi */ 817 ecx = ebx; /* 0x2B06DC8E: mov ecx, ebx */ 818 if (/* dec result */ CMP_EQ(_flag_a, _flag_b)) goto L_2B06DC99; /* 0x2B06DC90: je 0x2b06dc99 */ 819 L_2B06DC92: 820 RECOMP_ICALL(0x2B071B80u); /* 0x2B06DC92: call 0x2b071b80 */ /* not lifted */ 821 RECOMP_FLAGS_IN(); 822 goto L_2B06DCC6; /* 0x2B06DC97: jmp 0x2b06dcc6 */ 823 L_2B06DC99: 824 RECOMP_ICALL(0x2B06F290u); /* 0x2B06DC99: call 0x2b06f290 */ /* not lifted */ 825 RECOMP_FLAGS_IN(); 826 goto L_2B06DCC6; /* 0x2B06DC9E: jmp 0x2b06dcc6 */ 827 L_2B06DCA0: 828 PUSH32(esp, esi); /* 0x2B06DCA0: push esi */ 829 ecx = ebx; /* 0x2B06DCA1: mov ecx, ebx */ 830 RECOMP_ICALL(0x2B06F090u); /* 0x2B06DCA3: call 0x2b06f090 */ /* not lifted */ 831 RECOMP_FLAGS_IN(); 832 goto L_2B06DCC6; /* 0x2B06DCA8: jmp 0x2b06dcc6 */ 833 L_2B06DCAA: 834 PUSH32(esp, esi); /* 0x2B06DCAA: push esi */ 835 ecx = ebx; /* 0x2B06DCAB: mov ecx, ebx */ 836 RECOMP_ICALL(0x2B06DCE0u); /* 0x2B06DCAD: call 0x2b06dce0 */ /* not lifted */ 837 RECOMP_FLAGS_IN(); 838 goto L_2B06DCC6; /* 0x2B06DCB2: jmp 0x2b06dcc6 */ 839 L_2B06DCB4: 840 PUSH32(esp, esi); /* 0x2B06DCB4: push esi */ 841 ecx = ebx; /* 0x2B06DCB5: mov ecx, ebx */ 842 RECOMP_ICALL(0x2B0733A0u); /* 0x2B06DCB7: call 0x2b0733a0 */ /* not lifted */ 843 RECOMP_FLAGS_IN(); 844 goto L_2B06DCC6; /* 0x2B06DCBC: jmp 0x2b06dcc6 */ 845 L_2B06DCBE: 846 PUSH32(esp, esi); /* 0x2B06DCBE: push esi */ 847 ecx = ebx; /* 0x2B06DCBF: mov ecx, ebx */ 848 RECOMP_ICALL(0x2B0728E0u); /* 0x2B06DCC1: call 0x2b0728e0 */ /* not lifted */ 849 RECOMP_FLAGS_IN(); 850 L_2B06DCC6: 851 ecx = ebx; /* 0x2B06DCC6: mov ecx, ebx */ 852 RECOMP_ICALL(0x2B06C930u); /* 0x2B06DCC8: call 0x2b06c930 */ /* not lifted */ 853 RECOMP_FLAGS_IN(); 854 L_2B06DCCD: 855 ecx = MEM32(ebp + (-0xC)); /* 0x2B06DCCD: mov ecx, dword ptr [ebp - 0xc] */ 856 edi = POP32_VAL(esp); /* 0x2B06DCD0: pop edi */ 857 esi = POP32_VAL(esp); /* 0x2B06DCD1: pop esi */ 858 ebx = POP32_VAL(esp); /* 0x2B06DCD2: pop ebx */ 859 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06DCD3: mov dword ptr fs:[0], ecx */ 860 esp = ebp; /* 0x2B06DCDA: mov esp, ebp */ 861 ebp = POP32_VAL(esp); /* 0x2B06DCDC: pop ebp */ 862 RECOMP_FLAGS_OUT(); esp += 32; { RECOMP_REGS_OUT(); return; } /* 0x2B06DCDD: ret 0x1c */ 863 RECOMP_REGS_OUT(); 864 } 865 866 void sub_2B06DCC6(void) { 867 int _fpu_cmp = 0; 868 uint32_t _cf = 0; 869 int _df = 1; 870 uint32_t _flag_k = FK_NONE; 871 uint32_t _flag_a = 0, _flag_b = 0; 872 uint32_t _itail_tgt = 0; 873 RECOMP_REGS_LOCALS 874 RECOMP_ENTER(0x2B06DCC6u); 875 876 L_2B06DCC6: 877 ecx = ebx; /* 0x2B06DCC6: mov ecx, ebx */ 878 RECOMP_ICALL(0x2B06C930u); /* 0x2B06DCC8: call 0x2b06c930 */ /* not lifted */ 879 RECOMP_FLAGS_IN(); 880 ecx = MEM32(ebp + (-0xC)); /* 0x2B06DCCD: mov ecx, dword ptr [ebp - 0xc] */ 881 edi = POP32_VAL(esp); /* 0x2B06DCD0: pop edi */ 882 esi = POP32_VAL(esp); /* 0x2B06DCD1: pop esi */ 883 ebx = POP32_VAL(esp); /* 0x2B06DCD2: pop ebx */ 884 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06DCD3: mov dword ptr fs:[0], ecx */ 885 esp = ebp; /* 0x2B06DCDA: mov esp, ebp */ 886 ebp = POP32_VAL(esp); /* 0x2B06DCDC: pop ebp */ 887 RECOMP_FLAGS_OUT(); esp += 32; { RECOMP_REGS_OUT(); return; } /* 0x2B06DCDD: ret 0x1c */ 888 RECOMP_REGS_OUT(); 889 } 890 891 void sub_2B06DCE0(void) { 892 int _fpu_cmp = 0; 893 uint32_t _cf = 0; 894 int _df = 1; 895 uint32_t _flag_k = FK_NONE; 896 uint32_t _flag_a = 0, _flag_b = 0; 897 uint32_t _itail_tgt = 0; 898 RECOMP_REGS_LOCALS 899 RECOMP_ENTER(0x2B06DCE0u); 900 901 L_2B06DCE0: 902 PUSH32(esp, ebp); /* 0x2B06DCE0: push ebp */ 903 ebp = esp; /* 0x2B06DCE1: mov ebp, esp */ 904 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x54u); 905 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 906 esp = esp - 0x54u; /* 0x2B06DCE3: sub esp, 0x54 */ 907 _flag_k = FK_CMP; 908 PUSH32(esp, ebx); /* 0x2B06DCE6: push ebx */ 909 ebx = ecx; /* 0x2B06DCE7: mov ebx, ecx */ 910 edx = MEM32(ebx + 0x28); /* 0x2B06DCE9: mov edx, dword ptr [ebx + 0x28] */ 911 PUSH32(esp, esi); /* 0x2B06DCEC: push esi */ 912 PUSH32(esp, edi); /* 0x2B06DCED: push edi */ 913 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 914 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06DCEE: or ecx, 0xffffffff */ 915 _cf = 0; 916 _flag_k = FK_TEST; 917 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 918 eax = 0; /* 0x2B06DCF1: xor eax, eax */ 919 _cf = 0; 920 _flag_k = FK_TEST; 921 MEM32(ebx + 0x8) = 4; /* 0x2B06DCF3: mov dword ptr [ebx + 8], 4 */ 922 edi = 0x2B0EF014u; /* 0x2B06DCFA: mov edi, 0x2b0ef014 */ 923 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; } /* 0x2B06DCFF: repne scasb al, byte ptr es:[edi] */ 924 ecx = ~ecx; /* 0x2B06DD01: not ecx */ 925 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 926 ecx = ecx - 1; /* 0x2B06DD03: dec ecx */ 927 _flag_k = FK_DEC; 928 PUSH32(esp, 1); /* 0x2B06DD04: push 1 */ 929 MEM32(ebp + (-0x8)) = ecx; /* 0x2B06DD06: mov dword ptr [ebp - 8], ecx */ 930 PUSH32(esp, ecx); /* 0x2B06DD09: push ecx */ 931 ecx = edx; /* 0x2B06DD0A: mov ecx, edx */ 932 MEM32(ebp + (-0x10)) = edx; /* 0x2B06DD0C: mov dword ptr [ebp - 0x10], edx */ 933 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06DD0F: call dword ptr [0x2b0b5154] */ 934 RECOMP_FLAGS_IN(); 935 /* test LO8(eax), LO8(eax) */ /* 0x2B06DD15: test al, al */ 936 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 937 _cf = 0; 938 _flag_k = FK_NARROW(FK_TEST, 24); 939 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06DD41; /* 0x2B06DD17: je 0x2b06dd41 */ 940 L_2B06DD19: 941 ecx = MEM32(ebp + (-0x8)); /* 0x2B06DD19: mov ecx, dword ptr [ebp - 8] */ 942 eax = MEM32(ebp + (-0x10)); /* 0x2B06DD1C: mov eax, dword ptr [ebp - 0x10] */ 943 edi = MEM32(eax + 0x4); /* 0x2B06DD1F: mov edi, dword ptr [eax + 4] */ 944 edx = ecx; /* 0x2B06DD22: mov edx, ecx */ 945 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06DD24: shr ecx, 2 */ 946 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 947 ecx = ecx >> 2u; /* 0x2B06DD24: shr ecx, 2 */ 948 esi = 0x2B0EF014u; /* 0x2B06DD27: mov esi, 0x2b0ef014 */ 949 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06DD2C: 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; } 950 ecx = edx; /* 0x2B06DD2E: mov ecx, edx */ 951 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 952 ecx = ecx & 3; /* 0x2B06DD30: and ecx, 3 */ 953 _cf = 0; 954 _flag_k = FK_TEST; 955 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06DD33: 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; } 956 ecx = edx; /* 0x2B06DD35: mov ecx, edx */ 957 MEM32(eax + 0x8) = ecx; /* 0x2B06DD37: mov dword ptr [eax + 8], ecx */ 958 eax = MEM32(eax + 0x4); /* 0x2B06DD3A: mov eax, dword ptr [eax + 4] */ 959 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B06DD3D: mov byte ptr [eax + ecx], 0 */ 960 L_2B06DD41: 961 ecx = MEM32(ebx + 0x28); /* 0x2B06DD41: mov ecx, dword ptr [ebx + 0x28] */ 962 esi = MEM32(ebp + 0x8); /* 0x2B06DD44: mov esi, dword ptr [ebp + 8] */ 963 PUSH32(esp, ecx); /* 0x2B06DD47: push ecx */ 964 PUSH32(esp, esi); /* 0x2B06DD48: push esi */ 965 ecx = ebx; /* 0x2B06DD49: mov ecx, ebx */ 966 RECOMP_ICALL(0x2B074050u); /* 0x2B06DD4B: call 0x2b074050 */ /* not lifted */ 967 RECOMP_FLAGS_IN(); 968 ecx = MEM32(ebx + 0x28); /* 0x2B06DD50: mov ecx, dword ptr [ebx + 0x28] */ 969 PUSH32(esp, 0x12u); /* 0x2B06DD53: push 0x12 */ 970 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06DD55: push -1 */ 971 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06DD57: call dword ptr [0x2b0b5a74] */ 972 RECOMP_FLAGS_IN(); 973 edx = MEM32(ebx + 0x28); /* 0x2B06DD5D: mov edx, dword ptr [ebx + 0x28] */ 974 PUSH32(esp, edx); /* 0x2B06DD60: push edx */ 975 PUSH32(esp, esi); /* 0x2B06DD61: push esi */ 976 ecx = ebx; /* 0x2B06DD62: mov ecx, ebx */ 977 RECOMP_ICALL(0x2B0740A0u); /* 0x2B06DD64: call 0x2b0740a0 */ /* not lifted */ 978 RECOMP_FLAGS_IN(); 979 PUSH32(esp, esi); /* 0x2B06DD69: push esi */ 980 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06DD6A: call dword ptr [0x2b0b5d6c] */ 981 RECOMP_FLAGS_IN(); 982 ecx = eax; /* 0x2B06DD70: mov ecx, eax */ 983 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B06DD72: call dword ptr [0x2b0b5d50] */ 984 RECOMP_FLAGS_IN(); 985 edx = MEM32(ebx + 0x28); /* 0x2B06DD78: mov edx, dword ptr [ebx + 0x28] */ 986 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 987 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06DD7B: or ecx, 0xffffffff */ 988 _cf = 0; 989 _flag_k = FK_TEST; 990 edi = eax; /* 0x2B06DD7E: mov edi, eax */ 991 MEM32(ebp + (-0x10)) = eax; /* 0x2B06DD80: mov dword ptr [ebp - 0x10], eax */ 992 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 993 eax = 0; /* 0x2B06DD83: xor eax, eax */ 994 _cf = 0; 995 _flag_k = FK_TEST; 996 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; } /* 0x2B06DD85: repne scasb al, byte ptr es:[edi] */ 997 eax = MEM32(0x2B0B515C); /* 0x2B06DD87: mov eax, dword ptr [0x2b0b515c] */ 998 ecx = ~ecx; /* 0x2B06DD8C: not ecx */ 999 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1000 ecx = ecx - 1; /* 0x2B06DD8E: dec ecx */ 1001 _flag_k = FK_DEC; 1002 edi = ecx; /* 0x2B06DD8F: mov edi, ecx */ 1003 ecx = MEM32(eax); /* 0x2B06DD91: mov ecx, dword ptr [eax] */ 1004 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 1005 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1006 ecx = ecx - MEM32(edx + 0x8); /* 0x2B06DD93: sub ecx, dword ptr [edx + 8] */ 1007 _flag_k = FK_CMP; 1008 /* cmp ecx, edi */ /* 0x2B06DD96: cmp ecx, edi */ 1009 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 1010 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1011 _flag_k = FK_CMP; 1012 MEM32(ebp + (-0x8)) = edx; /* 0x2B06DD98: mov dword ptr [ebp - 8], edx */ 1013 if (CMP_A(_flag_a, _flag_b)) goto L_2B06DDA3; /* 0x2B06DD9B: ja 0x2b06dda3 */ 1014 L_2B06DD9D: 1015 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06DD9D: call dword ptr [0x2b0b51a8] */ 1016 RECOMP_FLAGS_IN(); 1017 L_2B06DDA3: 1018 /* test edi, edi */ /* 0x2B06DDA3: test edi, edi */ 1019 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1020 _cf = 0; 1021 _flag_k = FK_TEST; 1022 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06DDEC; /* 0x2B06DDA5: jbe 0x2b06ddec */ 1023 L_2B06DDA7: 1024 ecx = MEM32(ebp + (-0x8)); /* 0x2B06DDA7: mov ecx, dword ptr [ebp - 8] */ 1025 eax = MEM32(ecx + 0x8); /* 0x2B06DDAA: mov eax, dword ptr [ecx + 8] */ 1026 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1027 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1028 eax = eax + edi; /* 0x2B06DDAD: add eax, edi */ 1029 _flag_k = FK_ADD; 1030 PUSH32(esp, 0); /* 0x2B06DDAF: push 0 */ 1031 PUSH32(esp, eax); /* 0x2B06DDB1: push eax */ 1032 MEM32(ebp + (-0xC)) = eax; /* 0x2B06DDB2: mov dword ptr [ebp - 0xc], eax */ 1033 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06DDB5: call dword ptr [0x2b0b5154] */ 1034 RECOMP_FLAGS_IN(); 1035 /* test LO8(eax), LO8(eax) */ /* 0x2B06DDBB: test al, al */ 1036 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1037 _cf = 0; 1038 _flag_k = FK_NARROW(FK_TEST, 24); 1039 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06DDEC; /* 0x2B06DDBD: je 0x2b06ddec */ 1040 L_2B06DDBF: 1041 eax = MEM32(ebp + (-0x8)); /* 0x2B06DDBF: mov eax, dword ptr [ebp - 8] */ 1042 edx = MEM32(eax + 0x8); /* 0x2B06DDC2: mov edx, dword ptr [eax + 8] */ 1043 esi = MEM32(ebp + (-0x10)); /* 0x2B06DDC5: mov esi, dword ptr [ebp - 0x10] */ 1044 ecx = edi; /* 0x2B06DDC8: mov ecx, edi */ 1045 edi = MEM32(eax + 0x4); /* 0x2B06DDCA: mov edi, dword ptr [eax + 4] */ 1046 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 1047 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1048 edi = edi + edx; /* 0x2B06DDCD: add edi, edx */ 1049 _flag_k = FK_ADD; 1050 edx = ecx; /* 0x2B06DDCF: mov edx, ecx */ 1051 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06DDD1: shr ecx, 2 */ 1052 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1053 ecx = ecx >> 2u; /* 0x2B06DDD1: shr ecx, 2 */ 1054 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06DDD4: 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; } 1055 ecx = edx; /* 0x2B06DDD6: mov ecx, edx */ 1056 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 1057 ecx = ecx & 3; /* 0x2B06DDD8: and ecx, 3 */ 1058 _cf = 0; 1059 _flag_k = FK_TEST; 1060 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06DDDB: 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; } 1061 ecx = MEM32(ebp + (-0xC)); /* 0x2B06DDDD: mov ecx, dword ptr [ebp - 0xc] */ 1062 PUSH32(esp, ecx); /* 0x2B06DDE0: push ecx */ 1063 ecx = eax; /* 0x2B06DDE1: mov ecx, eax */ 1064 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06DDE3: call dword ptr [0x2b0b5150] */ 1065 RECOMP_FLAGS_IN(); 1066 esi = MEM32(ebp + 0x8); /* 0x2B06DDE9: mov esi, dword ptr [ebp + 8] */ 1067 L_2B06DDEC: 1068 edx = MEM32(ebx + 0x28); /* 0x2B06DDEC: mov edx, dword ptr [ebx + 0x28] */ 1069 PUSH32(esp, edx); /* 0x2B06DDEF: push edx */ 1070 PUSH32(esp, esi); /* 0x2B06DDF0: push esi */ 1071 ecx = ebx; /* 0x2B06DDF1: mov ecx, ebx */ 1072 RECOMP_ICALL(0x2B074230u); /* 0x2B06DDF3: call 0x2b074230 */ /* not lifted */ 1073 RECOMP_FLAGS_IN(); 1074 PUSH32(esp, 0x1A4u); /* 0x2B06DDF8: push 0x1a4 */ 1075 PUSH32(esp, esi); /* 0x2B06DDFD: push esi */ 1076 ecx = ebx; /* 0x2B06DDFE: mov ecx, ebx */ 1077 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06DE00: call 0x2b0735d0 */ /* not lifted */ 1078 RECOMP_FLAGS_IN(); 1079 /* cmp eax, 0xFFFFFFFFu */ /* 0x2B06DE05: cmp eax, -1 */ 1080 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu); 1081 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1082 _flag_k = FK_CMP; 1083 MEM32(ebp + (-0x14)) = eax; /* 0x2B06DE08: mov dword ptr [ebp - 0x14], eax */ 1084 MEM8(ebp + (-0x1)) = (uint8_t)(1); /* 0x2B06DE0B: mov byte ptr [ebp - 1], 1 */ 1085 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06DE1C; /* 0x2B06DE0F: je 0x2b06de1c */ 1086 L_2B06DE11: 1087 /* test eax, eax */ /* 0x2B06DE11: test eax, eax */ 1088 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1089 _cf = 0; 1090 _flag_k = FK_TEST; 1091 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06DE1C; /* 0x2B06DE13: je 0x2b06de1c */ 1092 L_2B06DE15: 1093 /* cmp eax, 0x499602D2u */ /* 0x2B06DE15: cmp eax, 0x499602d2 */ 1094 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 1095 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1096 _flag_k = FK_CMP; 1097 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06DE20; /* 0x2B06DE1A: jne 0x2b06de20 */ 1098 L_2B06DE1C: 1099 MEM8(ebp + (-0x1)) = (uint8_t)(0); /* 0x2B06DE1C: mov byte ptr [ebp - 1], 0 */ 1100 L_2B06DE20: 1101 SET_LO8(eax, MEM8(ebx + 0x1D)); /* 0x2B06DE20: mov al, byte ptr [ebx + 0x1d] */ 1102 /* test LO8(eax), LO8(eax) */ /* 0x2B06DE23: test al, al */ 1103 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1104 _cf = 0; 1105 _flag_k = FK_NARROW(FK_TEST, 24); 1106 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06E094; /* 0x2B06DE25: jne 0x2b06e094 */ 1107 L_2B06DE2B: 1108 SET_LO8(eax, MEM8(ebp + (-0x1))); /* 0x2B06DE2B: mov al, byte ptr [ebp - 1] */ 1109 /* test LO8(eax), LO8(eax) */ /* 0x2B06DE2E: test al, al */ 1110 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1111 _cf = 0; 1112 _flag_k = FK_NARROW(FK_TEST, 24); 1113 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E094; /* 0x2B06DE30: je 0x2b06e094 */ 1114 L_2B06DE36: 1115 edi = MEM32(ebp + 0x8); /* 0x2B06DE36: mov edi, dword ptr [ebp + 8] */ 1116 PUSH32(esp, 0x1Au); /* 0x2B06DE39: push 0x1a */ 1117 PUSH32(esp, edi); /* 0x2B06DE3B: push edi */ 1118 ecx = ebx; /* 0x2B06DE3C: mov ecx, ebx */ 1119 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06DE3E: call 0x2b0735d0 */ /* not lifted */ 1120 RECOMP_FLAGS_IN(); 1121 PUSH32(esp, 0xD4u); /* 0x2B06DE43: push 0xd4 */ 1122 PUSH32(esp, edi); /* 0x2B06DE48: push edi */ 1123 ecx = ebx; /* 0x2B06DE49: mov ecx, ebx */ 1124 esi = eax; /* 0x2B06DE4B: mov esi, eax */ 1125 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06DE4D: call 0x2b0735d0 */ /* not lifted */ 1126 RECOMP_FLAGS_IN(); 1127 /* cmp esi, 0xFFFFFFFFu */ /* 0x2B06DE52: cmp esi, -1 */ 1128 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0xFFFFFFFFu); 1129 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1130 _flag_k = FK_CMP; 1131 edi = eax; /* 0x2B06DE55: mov edi, eax */ 1132 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06DFF6; /* 0x2B06DE57: je 0x2b06dff6 */ 1133 L_2B06DE5D: 1134 /* cmp esi, 0x499602D2u */ /* 0x2B06DE5D: cmp esi, 0x499602d2 */ 1135 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x499602D2u); 1136 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1137 _flag_k = FK_CMP; 1138 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06DFF6; /* 0x2B06DE63: je 0x2b06dff6 */ 1139 L_2B06DE69: 1140 /* cmp edi, 0x499602D2u */ /* 0x2B06DE69: cmp edi, 0x499602d2 */ 1141 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x499602D2u); 1142 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1143 _flag_k = FK_CMP; 1144 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06DFF6; /* 0x2B06DE6F: je 0x2b06dff6 */ 1145 L_2B06DE75: 1146 /* cmp edi, 0xFFFFFFFFu */ /* 0x2B06DE75: cmp edi, -1 */ 1147 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xFFFFFFFFu); 1148 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1149 _flag_k = FK_CMP; 1150 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06E094; /* 0x2B06DE78: je 0x2b06e094 */ 1151 L_2B06DE7E: 1152 /* test esi, esi */ /* 0x2B06DE7E: test esi, esi */ 1153 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 1154 _cf = 0; 1155 _flag_k = FK_TEST; 1156 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06DE86; /* 0x2B06DE80: jne 0x2b06de86 */ 1157 L_2B06DE82: 1158 PUSH32(esp, 0xCu); /* 0x2B06DE82: push 0xc */ 1159 goto L_2B06DEB1; /* 0x2B06DE84: jmp 0x2b06deb1 */ 1160 L_2B06DE86: 1161 /* cmp esi, edi */ /* 0x2B06DE86: cmp esi, edi */ 1162 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 1163 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1164 _flag_k = FK_CMP; 1165 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06DE8E; /* 0x2B06DE88: jne 0x2b06de8e */ 1166 L_2B06DE8A: 1167 PUSH32(esp, 0xDu); /* 0x2B06DE8A: push 0xd */ 1168 goto L_2B06DEB1; /* 0x2B06DE8C: jmp 0x2b06deb1 */ 1169 L_2B06DE8E: 1170 eax = edi + edi * 2; /* 0x2B06DE8E: lea eax, [edi + edi*2] */ 1171 ecx = eax + eax * 4; /* 0x2B06DE91: lea ecx, [eax + eax*4] */ 1172 if (1u) _cf = (((ecx) >> 31) & 1u); /* 0x2B06DE94: shl ecx, 1 */ 1173 if (1u) { _flag_a = recomp_flags_pack((ecx << 1u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1174 ecx = ecx << 1u; /* 0x2B06DE94: shl ecx, 1 */ 1175 eax = 0x51EB851Fu; /* 0x2B06DE96: mov eax, 0x51eb851f */ 1176 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B06DE9B: imul ecx */ 1177 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 1178 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 1179 if (5u) _cf = (((edx) >> 4) & 1u); /* 0x2B06DE9D: sar edx, 5 */ 1180 if (5u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 5u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1181 edx = (uint32_t)((int32_t)edx >> 5u); 1182 eax = edx; /* 0x2B06DEA0: mov eax, edx */ 1183 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B06DEA2: shr eax, 0x1f */ 1184 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1185 eax = eax >> 31u; /* 0x2B06DEA2: shr eax, 0x1f */ 1186 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 1187 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1188 edx = edx + eax; /* 0x2B06DEA5: add edx, eax */ 1189 _flag_k = FK_ADD; 1190 /* cmp esi, edx */ /* 0x2B06DEA7: cmp esi, edx */ 1191 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx); 1192 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1193 _flag_k = FK_CMP; 1194 if (CMP_GE(_flag_a, _flag_b)) goto L_2B06DEAF; /* 0x2B06DEA9: jge 0x2b06deaf */ 1195 L_2B06DEAB: 1196 PUSH32(esp, 0x10u); /* 0x2B06DEAB: push 0x10 */ 1197 goto L_2B06DEB1; /* 0x2B06DEAD: jmp 0x2b06deb1 */ 1198 L_2B06DEAF: 1199 PUSH32(esp, 0xFu); /* 0x2B06DEAF: push 0xf */ 1200 L_2B06DEB1: 1201 ecx = MEM32(ebx + 0x28); /* 0x2B06DEB1: mov ecx, dword ptr [ebx + 0x28] */ 1202 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06DEB4: push -1 */ 1203 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06DEB6: call dword ptr [0x2b0b5a74] */ 1204 RECOMP_FLAGS_IN(); 1205 ecx = MEM32(ebp + 0x8); /* 0x2B06DEBC: mov ecx, dword ptr [ebp + 8] */ 1206 PUSH32(esp, 0x1Eu); /* 0x2B06DEBF: push 0x1e */ 1207 PUSH32(esp, ecx); /* 0x2B06DEC1: push ecx */ 1208 ecx = ebx; /* 0x2B06DEC2: mov ecx, ebx */ 1209 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06DEC4: call 0x2b0735d0 */ /* not lifted */ 1210 RECOMP_FLAGS_IN(); 1211 /* test HI8(eax), 2 */ /* 0x2B06DEC9: test ah, 2 */ 1212 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(2) << 24; 1213 _cf = 0; 1214 _flag_k = FK_NARROW(FK_TEST, 24); 1215 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06DF68; /* 0x2B06DECC: je 0x2b06df68 */ 1216 L_2B06DED2: 1217 PUSH32(esp, esi); /* 0x2B06DED2: push esi */ 1218 PUSH32(esp, 0x2B0EB718u); /* 0x2B06DED3: push 0x2b0eb718 */ 1219 PUSH32(esp, 0x2B0EEE84u); /* 0x2B06DED8: push 0x2b0eee84 */ 1220 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B06DEDD: call dword ptr [0x2b0b51f0] */ 1221 RECOMP_FLAGS_IN(); 1222 edx = MEM32(ebp + 0x8); /* 0x2B06DEE3: mov edx, dword ptr [ebp + 8] */ 1223 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 1224 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1225 esp = esp + 0xCu; /* 0x2B06DEE6: add esp, 0xc */ 1226 _flag_k = FK_ADD; 1227 PUSH32(esp, 0x1Eu); /* 0x2B06DEE9: push 0x1e */ 1228 PUSH32(esp, edx); /* 0x2B06DEEB: push edx */ 1229 ecx = ebx; /* 0x2B06DEEC: mov ecx, ebx */ 1230 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06DEEE: call 0x2b0735d0 */ /* not lifted */ 1231 RECOMP_FLAGS_IN(); 1232 /* test HI8(eax), 2 */ /* 0x2B06DEF3: test ah, 2 */ 1233 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(2) << 24; 1234 _cf = 0; 1235 _flag_k = FK_NARROW(FK_TEST, 24); 1236 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06DF25; /* 0x2B06DEF6: je 0x2b06df25 */ 1237 L_2B06DEF8: 1238 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 1239 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06DEF8: or ecx, 0xffffffff */ 1240 _cf = 0; 1241 _flag_k = FK_TEST; 1242 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1243 eax = 0; /* 0x2B06DEFB: xor eax, eax */ 1244 _cf = 0; 1245 _flag_k = FK_TEST; 1246 edi = 0x2B0EB708u; /* 0x2B06DEFD: mov edi, 0x2b0eb708 */ 1247 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; } /* 0x2B06DF02: repne scasb al, byte ptr es:[edi] */ 1248 ecx = ~ecx; /* 0x2B06DF04: not ecx */ 1249 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 1250 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1251 edi = edi - ecx; /* 0x2B06DF06: sub edi, ecx */ 1252 _flag_k = FK_CMP; 1253 edx = ecx; /* 0x2B06DF08: mov edx, ecx */ 1254 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 1255 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06DF0A: or ecx, 0xffffffff */ 1256 _cf = 0; 1257 _flag_k = FK_TEST; 1258 esi = edi; /* 0x2B06DF0D: mov esi, edi */ 1259 edi = 0x2B0EEE84u; /* 0x2B06DF0F: mov edi, 0x2b0eee84 */ 1260 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; } /* 0x2B06DF14: repne scasb al, byte ptr es:[edi] */ 1261 ecx = edx; /* 0x2B06DF16: mov ecx, edx */ 1262 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06DF18: shr ecx, 2 */ 1263 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1264 ecx = ecx >> 2u; /* 0x2B06DF18: shr ecx, 2 */ 1265 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 1266 edi = edi - 1; /* 0x2B06DF1B: dec edi */ 1267 _flag_k = FK_DEC; 1268 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06DF1C: 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; } 1269 ecx = edx; /* 0x2B06DF1E: mov ecx, edx */ 1270 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 1271 ecx = ecx & 3; /* 0x2B06DF20: and ecx, 3 */ 1272 _cf = 0; 1273 _flag_k = FK_TEST; 1274 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06DF23: 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; } 1275 L_2B06DF25: 1276 eax = MEM32(ebp + 0x8); /* 0x2B06DF25: mov eax, dword ptr [ebp + 8] */ 1277 PUSH32(esp, 0x1Eu); /* 0x2B06DF28: push 0x1e */ 1278 PUSH32(esp, eax); /* 0x2B06DF2A: push eax */ 1279 ecx = ebx; /* 0x2B06DF2B: mov ecx, ebx */ 1280 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06DF2D: call 0x2b0735d0 */ /* not lifted */ 1281 RECOMP_FLAGS_IN(); 1282 /* test eax, 0x01000000u */ /* 0x2B06DF32: test eax, 0x1000000 */ 1283 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x01000000u); 1284 _cf = 0; 1285 _flag_k = FK_TEST; 1286 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06DF7D; /* 0x2B06DF37: jne 0x2b06df7d */ 1287 L_2B06DF39: 1288 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 1289 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06DF39: or ecx, 0xffffffff */ 1290 _cf = 0; 1291 _flag_k = FK_TEST; 1292 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1293 eax = 0; /* 0x2B06DF3C: xor eax, eax */ 1294 _cf = 0; 1295 _flag_k = FK_TEST; 1296 edi = 0x2B0EB6F8u; /* 0x2B06DF3E: mov edi, 0x2b0eb6f8 */ 1297 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; } /* 0x2B06DF43: repne scasb al, byte ptr es:[edi] */ 1298 ecx = ~ecx; /* 0x2B06DF45: not ecx */ 1299 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 1300 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1301 edi = edi - ecx; /* 0x2B06DF47: sub edi, ecx */ 1302 _flag_k = FK_CMP; 1303 edx = ecx; /* 0x2B06DF49: mov edx, ecx */ 1304 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 1305 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06DF4B: or ecx, 0xffffffff */ 1306 _cf = 0; 1307 _flag_k = FK_TEST; 1308 esi = edi; /* 0x2B06DF4E: mov esi, edi */ 1309 edi = 0x2B0EEE84u; /* 0x2B06DF50: mov edi, 0x2b0eee84 */ 1310 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; } /* 0x2B06DF55: repne scasb al, byte ptr es:[edi] */ 1311 ecx = edx; /* 0x2B06DF57: mov ecx, edx */ 1312 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06DF59: shr ecx, 2 */ 1313 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1314 ecx = ecx >> 2u; /* 0x2B06DF59: shr ecx, 2 */ 1315 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 1316 edi = edi - 1; /* 0x2B06DF5C: dec edi */ 1317 _flag_k = FK_DEC; 1318 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06DF5D: 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; } 1319 ecx = edx; /* 0x2B06DF5F: mov ecx, edx */ 1320 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 1321 ecx = ecx & 3; /* 0x2B06DF61: and ecx, 3 */ 1322 _cf = 0; 1323 _flag_k = FK_TEST; 1324 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06DF64: 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; } 1325 goto L_2B06DF7D; /* 0x2B06DF66: jmp 0x2b06df7d */ 1326 L_2B06DF68: 1327 PUSH32(esp, edi); /* 0x2B06DF68: push edi */ 1328 PUSH32(esp, esi); /* 0x2B06DF69: push esi */ 1329 PUSH32(esp, 0x2B0EB6E8u); /* 0x2B06DF6A: push 0x2b0eb6e8 */ 1330 PUSH32(esp, 0x2B0EEE84u); /* 0x2B06DF6F: push 0x2b0eee84 */ 1331 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B06DF74: call dword ptr [0x2b0b51f0] */ 1332 RECOMP_FLAGS_IN(); 1333 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 1334 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1335 esp = esp + 0x10u; /* 0x2B06DF7A: add esp, 0x10 */ 1336 _flag_k = FK_ADD; 1337 L_2B06DF7D: 1338 edx = MEM32(ebx + 0x28); /* 0x2B06DF7D: mov edx, dword ptr [ebx + 0x28] */ 1339 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 1340 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06DF80: or ecx, 0xffffffff */ 1341 _cf = 0; 1342 _flag_k = FK_TEST; 1343 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1344 eax = 0; /* 0x2B06DF83: xor eax, eax */ 1345 _cf = 0; 1346 _flag_k = FK_TEST; 1347 edi = 0x2B0EEE84u; /* 0x2B06DF85: mov edi, 0x2b0eee84 */ 1348 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; } /* 0x2B06DF8A: repne scasb al, byte ptr es:[edi] */ 1349 eax = MEM32(0x2B0B515C); /* 0x2B06DF8C: mov eax, dword ptr [0x2b0b515c] */ 1350 edi = MEM32(edx + 0x8); /* 0x2B06DF91: mov edi, dword ptr [edx + 8] */ 1351 ecx = ~ecx; /* 0x2B06DF94: not ecx */ 1352 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1353 ecx = ecx - 1; /* 0x2B06DF96: dec ecx */ 1354 _flag_k = FK_DEC; 1355 esi = ecx; /* 0x2B06DF97: mov esi, ecx */ 1356 ecx = MEM32(eax); /* 0x2B06DF99: mov ecx, dword ptr [eax] */ 1357 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 1358 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1359 ecx = ecx - edi; /* 0x2B06DF9B: sub ecx, edi */ 1360 _flag_k = FK_CMP; 1361 /* cmp ecx, esi */ /* 0x2B06DF9D: cmp ecx, esi */ 1362 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 1363 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1364 _flag_k = FK_CMP; 1365 MEM32(ebp + (-0x8)) = edx; /* 0x2B06DF9F: mov dword ptr [ebp - 8], edx */ 1366 if (CMP_A(_flag_a, _flag_b)) goto L_2B06DFAA; /* 0x2B06DFA2: ja 0x2b06dfaa */ 1367 L_2B06DFA4: 1368 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06DFA4: call dword ptr [0x2b0b51a8] */ 1369 RECOMP_FLAGS_IN(); 1370 L_2B06DFAA: 1371 /* test esi, esi */ /* 0x2B06DFAA: test esi, esi */ 1372 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 1373 _cf = 0; 1374 _flag_k = FK_TEST; 1375 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E094; /* 0x2B06DFAC: jbe 0x2b06e094 */ 1376 L_2B06DFB2: 1377 ecx = MEM32(ebp + (-0x8)); /* 0x2B06DFB2: mov ecx, dword ptr [ebp - 8] */ 1378 eax = MEM32(ecx + 0x8); /* 0x2B06DFB5: mov eax, dword ptr [ecx + 8] */ 1379 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 1380 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1381 eax = eax + esi; /* 0x2B06DFB8: add eax, esi */ 1382 _flag_k = FK_ADD; 1383 PUSH32(esp, 0); /* 0x2B06DFBA: push 0 */ 1384 PUSH32(esp, eax); /* 0x2B06DFBC: push eax */ 1385 MEM32(ebp + (-0xC)) = eax; /* 0x2B06DFBD: mov dword ptr [ebp - 0xc], eax */ 1386 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06DFC0: call dword ptr [0x2b0b5154] */ 1387 RECOMP_FLAGS_IN(); 1388 /* test LO8(eax), LO8(eax) */ /* 0x2B06DFC6: test al, al */ 1389 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1390 _cf = 0; 1391 _flag_k = FK_NARROW(FK_TEST, 24); 1392 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E094; /* 0x2B06DFC8: je 0x2b06e094 */ 1393 L_2B06DFCE: 1394 eax = MEM32(ebp + (-0x8)); /* 0x2B06DFCE: mov eax, dword ptr [ebp - 8] */ 1395 edx = MEM32(eax + 0x8); /* 0x2B06DFD1: mov edx, dword ptr [eax + 8] */ 1396 edi = MEM32(eax + 0x4); /* 0x2B06DFD4: mov edi, dword ptr [eax + 4] */ 1397 ecx = esi; /* 0x2B06DFD7: mov ecx, esi */ 1398 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 1399 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1400 edi = edi + edx; /* 0x2B06DFD9: add edi, edx */ 1401 _flag_k = FK_ADD; 1402 edx = ecx; /* 0x2B06DFDB: mov edx, ecx */ 1403 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06DFDD: shr ecx, 2 */ 1404 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1405 ecx = ecx >> 2u; /* 0x2B06DFDD: shr ecx, 2 */ 1406 esi = 0x2B0EEE84u; /* 0x2B06DFE0: mov esi, 0x2b0eee84 */ 1407 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06DFE5: 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; } 1408 ecx = edx; /* 0x2B06DFE7: mov ecx, edx */ 1409 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 1410 ecx = ecx & 3; /* 0x2B06DFE9: and ecx, 3 */ 1411 _cf = 0; 1412 _flag_k = FK_TEST; 1413 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06DFEC: 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; } 1414 ecx = MEM32(ebp + (-0xC)); /* 0x2B06DFEE: mov ecx, dword ptr [ebp - 0xc] */ 1415 goto L_2B06E08B; /* 0x2B06DFF1: jmp 0x2b06e08b */ 1416 L_2B06DFF6: 1417 /* cmp edi, 0xFFFFFFFFu */ /* 0x2B06DFF6: cmp edi, -1 */ 1418 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xFFFFFFFFu); 1419 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1420 _flag_k = FK_CMP; 1421 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06E094; /* 0x2B06DFF9: je 0x2b06e094 */ 1422 L_2B06DFFF: 1423 /* cmp edi, 0x499602D2u */ /* 0x2B06DFFF: cmp edi, 0x499602d2 */ 1424 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x499602D2u); 1425 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1426 _flag_k = FK_CMP; 1427 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06E094; /* 0x2B06E005: je 0x2b06e094 */ 1428 L_2B06E00B: 1429 PUSH32(esp, edi); /* 0x2B06E00B: push edi */ 1430 PUSH32(esp, 0x2B0EB6D8u); /* 0x2B06E00C: push 0x2b0eb6d8 */ 1431 PUSH32(esp, 0x2B0EEE84u); /* 0x2B06E011: push 0x2b0eee84 */ 1432 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B06E016: call dword ptr [0x2b0b51f0] */ 1433 RECOMP_FLAGS_IN(); 1434 edx = MEM32(0x2B0B515C); /* 0x2B06E01C: mov edx, dword ptr [0x2b0b515c] */ 1435 esi = MEM32(ebx + 0x28); /* 0x2B06E022: mov esi, dword ptr [ebx + 0x28] */ 1436 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1437 eax = 0; /* 0x2B06E025: xor eax, eax */ 1438 _cf = 0; 1439 _flag_k = FK_TEST; 1440 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 1441 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E027: or ecx, 0xffffffff */ 1442 _cf = 0; 1443 _flag_k = FK_TEST; 1444 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 1445 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1446 esp = esp + 0xCu; /* 0x2B06E02A: add esp, 0xc */ 1447 _flag_k = FK_ADD; 1448 edi = 0x2B0EEE84u; /* 0x2B06E02D: mov edi, 0x2b0eee84 */ 1449 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; } /* 0x2B06E032: repne scasb al, byte ptr es:[edi] */ 1450 eax = MEM32(edx); /* 0x2B06E034: mov eax, dword ptr [edx] */ 1451 edx = MEM32(esi + 0x8); /* 0x2B06E036: mov edx, dword ptr [esi + 8] */ 1452 ecx = ~ecx; /* 0x2B06E039: not ecx */ 1453 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1454 ecx = ecx - 1; /* 0x2B06E03B: dec ecx */ 1455 _flag_k = FK_DEC; 1456 edi = ecx; /* 0x2B06E03C: mov edi, ecx */ 1457 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1458 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1459 eax = eax - edx; /* 0x2B06E03E: sub eax, edx */ 1460 _flag_k = FK_CMP; 1461 /* cmp eax, edi */ /* 0x2B06E040: cmp eax, edi */ 1462 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1463 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1464 _flag_k = FK_CMP; 1465 MEM32(ebp + (-0xC)) = esi; /* 0x2B06E042: mov dword ptr [ebp - 0xc], esi */ 1466 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E04D; /* 0x2B06E045: ja 0x2b06e04d */ 1467 L_2B06E047: 1468 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E047: call dword ptr [0x2b0b51a8] */ 1469 RECOMP_FLAGS_IN(); 1470 L_2B06E04D: 1471 /* test edi, edi */ /* 0x2B06E04D: test edi, edi */ 1472 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1473 _cf = 0; 1474 _flag_k = FK_TEST; 1475 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E094; /* 0x2B06E04F: jbe 0x2b06e094 */ 1476 L_2B06E051: 1477 eax = MEM32(esi + 0x8); /* 0x2B06E051: mov eax, dword ptr [esi + 8] */ 1478 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1479 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1480 eax = eax + edi; /* 0x2B06E054: add eax, edi */ 1481 _flag_k = FK_ADD; 1482 PUSH32(esp, 0); /* 0x2B06E056: push 0 */ 1483 PUSH32(esp, eax); /* 0x2B06E058: push eax */ 1484 ecx = esi; /* 0x2B06E059: mov ecx, esi */ 1485 MEM32(ebp + (-0x8)) = eax; /* 0x2B06E05B: mov dword ptr [ebp - 8], eax */ 1486 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E05E: call dword ptr [0x2b0b5154] */ 1487 RECOMP_FLAGS_IN(); 1488 /* test LO8(eax), LO8(eax) */ /* 0x2B06E064: test al, al */ 1489 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1490 _cf = 0; 1491 _flag_k = FK_NARROW(FK_TEST, 24); 1492 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E094; /* 0x2B06E066: je 0x2b06e094 */ 1493 L_2B06E068: 1494 eax = MEM32(ebp + (-0xC)); /* 0x2B06E068: mov eax, dword ptr [ebp - 0xc] */ 1495 edx = MEM32(eax + 0x8); /* 0x2B06E06B: mov edx, dword ptr [eax + 8] */ 1496 ecx = edi; /* 0x2B06E06E: mov ecx, edi */ 1497 edi = MEM32(eax + 0x4); /* 0x2B06E070: mov edi, dword ptr [eax + 4] */ 1498 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 1499 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1500 edi = edi + edx; /* 0x2B06E073: add edi, edx */ 1501 _flag_k = FK_ADD; 1502 edx = ecx; /* 0x2B06E075: mov edx, ecx */ 1503 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E077: shr ecx, 2 */ 1504 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1505 ecx = ecx >> 2u; /* 0x2B06E077: shr ecx, 2 */ 1506 esi = 0x2B0EEE84u; /* 0x2B06E07A: mov esi, 0x2b0eee84 */ 1507 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E07F: 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; } 1508 ecx = edx; /* 0x2B06E081: mov ecx, edx */ 1509 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 1510 ecx = ecx & 3; /* 0x2B06E083: and ecx, 3 */ 1511 _cf = 0; 1512 _flag_k = FK_TEST; 1513 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E086: 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; } 1514 ecx = MEM32(ebp + (-0x8)); /* 0x2B06E088: mov ecx, dword ptr [ebp - 8] */ 1515 L_2B06E08B: 1516 PUSH32(esp, ecx); /* 0x2B06E08B: push ecx */ 1517 ecx = eax; /* 0x2B06E08C: mov ecx, eax */ 1518 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06E08E: call dword ptr [0x2b0b5150] */ 1519 RECOMP_FLAGS_IN(); 1520 L_2B06E094: 1521 edx = MEM32(ebx + 0x28); /* 0x2B06E094: mov edx, dword ptr [ebx + 0x28] */ 1522 esi = MEM32(ebp + 0x8); /* 0x2B06E097: mov esi, dword ptr [ebp + 8] */ 1523 PUSH32(esp, edx); /* 0x2B06E09A: push edx */ 1524 PUSH32(esp, esi); /* 0x2B06E09B: push esi */ 1525 ecx = ebx; /* 0x2B06E09C: mov ecx, ebx */ 1526 RECOMP_ICALL(0x2B0741B0u); /* 0x2B06E09E: call 0x2b0741b0 */ /* not lifted */ 1527 RECOMP_FLAGS_IN(); 1528 eax = MEM32(ebx + 0x28); /* 0x2B06E0A3: mov eax, dword ptr [ebx + 0x28] */ 1529 PUSH32(esp, eax); /* 0x2B06E0A6: push eax */ 1530 PUSH32(esp, esi); /* 0x2B06E0A7: push esi */ 1531 ecx = ebx; /* 0x2B06E0A8: mov ecx, ebx */ 1532 RECOMP_ICALL(0x2B0737C0u); /* 0x2B06E0AA: call 0x2b0737c0 */ /* not lifted */ 1533 RECOMP_FLAGS_IN(); 1534 ecx = MEM32(ebx + 0x28); /* 0x2B06E0AF: mov ecx, dword ptr [ebx + 0x28] */ 1535 PUSH32(esp, ecx); /* 0x2B06E0B2: push ecx */ 1536 PUSH32(esp, esi); /* 0x2B06E0B3: push esi */ 1537 ecx = ebx; /* 0x2B06E0B4: mov ecx, ebx */ 1538 RECOMP_ICALL(0x2B073FD0u); /* 0x2B06E0B6: call 0x2b073fd0 */ /* not lifted */ 1539 RECOMP_FLAGS_IN(); 1540 SET_LO8(eax, MEM8(ebp + (-0x1))); /* 0x2B06E0BB: mov al, byte ptr [ebp - 1] */ 1541 /* test LO8(eax), LO8(eax) */ /* 0x2B06E0BE: test al, al */ 1542 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1543 _cf = 0; 1544 _flag_k = FK_NARROW(FK_TEST, 24); 1545 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E0C0: je 0x2b06e554 */ 1546 L_2B06E0C6: 1547 ecx = MEM32(ebx + 0x28); /* 0x2B06E0C6: mov ecx, dword ptr [ebx + 0x28] */ 1548 PUSH32(esp, 0x13u); /* 0x2B06E0C9: push 0x13 */ 1549 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06E0CB: push -1 */ 1550 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06E0CD: call dword ptr [0x2b0b5a74] */ 1551 RECOMP_FLAGS_IN(); 1552 edx = MEM32(0x2B0B515C); /* 0x2B06E0D3: mov edx, dword ptr [0x2b0b515c] */ 1553 esi = MEM32(ebx + 0x28); /* 0x2B06E0D9: mov esi, dword ptr [ebx + 0x28] */ 1554 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1555 eax = 0; /* 0x2B06E0DC: xor eax, eax */ 1556 _cf = 0; 1557 _flag_k = FK_TEST; 1558 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 1559 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E0DE: or ecx, 0xffffffff */ 1560 _cf = 0; 1561 _flag_k = FK_TEST; 1562 edi = 0x2B0EB6CCu; /* 0x2B06E0E1: mov edi, 0x2b0eb6cc */ 1563 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; } /* 0x2B06E0E6: repne scasb al, byte ptr es:[edi] */ 1564 eax = MEM32(edx); /* 0x2B06E0E8: mov eax, dword ptr [edx] */ 1565 edx = MEM32(esi + 0x8); /* 0x2B06E0EA: mov edx, dword ptr [esi + 8] */ 1566 ecx = ~ecx; /* 0x2B06E0ED: not ecx */ 1567 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1568 ecx = ecx - 1; /* 0x2B06E0EF: dec ecx */ 1569 _flag_k = FK_DEC; 1570 edi = ecx; /* 0x2B06E0F0: mov edi, ecx */ 1571 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1572 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1573 eax = eax - edx; /* 0x2B06E0F2: sub eax, edx */ 1574 _flag_k = FK_CMP; 1575 /* cmp eax, edi */ /* 0x2B06E0F4: cmp eax, edi */ 1576 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1577 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1578 _flag_k = FK_CMP; 1579 MEM32(ebp + (-0xC)) = esi; /* 0x2B06E0F6: mov dword ptr [ebp - 0xc], esi */ 1580 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E101; /* 0x2B06E0F9: ja 0x2b06e101 */ 1581 L_2B06E0FB: 1582 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E0FB: call dword ptr [0x2b0b51a8] */ 1583 RECOMP_FLAGS_IN(); 1584 L_2B06E101: 1585 /* test edi, edi */ /* 0x2B06E101: test edi, edi */ 1586 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1587 _cf = 0; 1588 _flag_k = FK_TEST; 1589 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E148; /* 0x2B06E103: jbe 0x2b06e148 */ 1590 L_2B06E105: 1591 eax = MEM32(esi + 0x8); /* 0x2B06E105: mov eax, dword ptr [esi + 8] */ 1592 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1593 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1594 eax = eax + edi; /* 0x2B06E108: add eax, edi */ 1595 _flag_k = FK_ADD; 1596 PUSH32(esp, 0); /* 0x2B06E10A: push 0 */ 1597 PUSH32(esp, eax); /* 0x2B06E10C: push eax */ 1598 ecx = esi; /* 0x2B06E10D: mov ecx, esi */ 1599 MEM32(ebp + (-0x8)) = eax; /* 0x2B06E10F: mov dword ptr [ebp - 8], eax */ 1600 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E112: call dword ptr [0x2b0b5154] */ 1601 RECOMP_FLAGS_IN(); 1602 /* test LO8(eax), LO8(eax) */ /* 0x2B06E118: test al, al */ 1603 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1604 _cf = 0; 1605 _flag_k = FK_NARROW(FK_TEST, 24); 1606 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E148; /* 0x2B06E11A: je 0x2b06e148 */ 1607 L_2B06E11C: 1608 eax = MEM32(ebp + (-0xC)); /* 0x2B06E11C: mov eax, dword ptr [ebp - 0xc] */ 1609 edx = MEM32(eax + 0x8); /* 0x2B06E11F: mov edx, dword ptr [eax + 8] */ 1610 ecx = edi; /* 0x2B06E122: mov ecx, edi */ 1611 edi = MEM32(eax + 0x4); /* 0x2B06E124: mov edi, dword ptr [eax + 4] */ 1612 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 1613 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1614 edi = edi + edx; /* 0x2B06E127: add edi, edx */ 1615 _flag_k = FK_ADD; 1616 edx = ecx; /* 0x2B06E129: mov edx, ecx */ 1617 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E12B: shr ecx, 2 */ 1618 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1619 ecx = ecx >> 2u; /* 0x2B06E12B: shr ecx, 2 */ 1620 esi = 0x2B0EB6CCu; /* 0x2B06E12E: mov esi, 0x2b0eb6cc */ 1621 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E133: 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; } 1622 ecx = edx; /* 0x2B06E135: mov ecx, edx */ 1623 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 1624 ecx = ecx & 3; /* 0x2B06E137: and ecx, 3 */ 1625 _cf = 0; 1626 _flag_k = FK_TEST; 1627 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E13A: 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; } 1628 ecx = MEM32(ebp + (-0x8)); /* 0x2B06E13C: mov ecx, dword ptr [ebp - 8] */ 1629 PUSH32(esp, ecx); /* 0x2B06E13F: push ecx */ 1630 ecx = eax; /* 0x2B06E140: mov ecx, eax */ 1631 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06E142: call dword ptr [0x2b0b5150] */ 1632 RECOMP_FLAGS_IN(); 1633 L_2B06E148: 1634 ecx = MEM32(ebx + 0x28); /* 0x2B06E148: mov ecx, dword ptr [ebx + 0x28] */ 1635 PUSH32(esp, 0x14u); /* 0x2B06E14B: push 0x14 */ 1636 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06E14D: push -1 */ 1637 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06E14F: call dword ptr [0x2b0b5a74] */ 1638 RECOMP_FLAGS_IN(); 1639 eax = MEM32(ebp + (-0x14)); /* 0x2B06E155: mov eax, dword ptr [ebp - 0x14] */ 1640 /* cmp eax, 1 */ /* 0x2B06E158: cmp eax, 1 */ 1641 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1642 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1643 _flag_k = FK_CMP; 1644 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06E1D6; /* 0x2B06E15B: jne 0x2b06e1d6 */ 1645 L_2B06E15D: 1646 edx = MEM32(0x2B0B515C); /* 0x2B06E15D: mov edx, dword ptr [0x2b0b515c] */ 1647 esi = MEM32(ebx + 0x28); /* 0x2B06E163: mov esi, dword ptr [ebx + 0x28] */ 1648 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1649 eax = 0; /* 0x2B06E166: xor eax, eax */ 1650 _cf = 0; 1651 _flag_k = FK_TEST; 1652 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 1653 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E168: or ecx, 0xffffffff */ 1654 _cf = 0; 1655 _flag_k = FK_TEST; 1656 edi = 0x2B0EB6B8u; /* 0x2B06E16B: mov edi, 0x2b0eb6b8 */ 1657 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; } /* 0x2B06E170: repne scasb al, byte ptr es:[edi] */ 1658 eax = MEM32(edx); /* 0x2B06E172: mov eax, dword ptr [edx] */ 1659 edx = MEM32(esi + 0x8); /* 0x2B06E174: mov edx, dword ptr [esi + 8] */ 1660 ecx = ~ecx; /* 0x2B06E177: not ecx */ 1661 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1662 ecx = ecx - 1; /* 0x2B06E179: dec ecx */ 1663 _flag_k = FK_DEC; 1664 edi = ecx; /* 0x2B06E17A: mov edi, ecx */ 1665 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1666 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1667 eax = eax - edx; /* 0x2B06E17C: sub eax, edx */ 1668 _flag_k = FK_CMP; 1669 /* cmp eax, edi */ /* 0x2B06E17E: cmp eax, edi */ 1670 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1671 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1672 _flag_k = FK_CMP; 1673 MEM32(ebp + (-0x14)) = esi; /* 0x2B06E180: mov dword ptr [ebp - 0x14], esi */ 1674 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E18B; /* 0x2B06E183: ja 0x2b06e18b */ 1675 L_2B06E185: 1676 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E185: call dword ptr [0x2b0b51a8] */ 1677 RECOMP_FLAGS_IN(); 1678 L_2B06E18B: 1679 /* test edi, edi */ /* 0x2B06E18B: test edi, edi */ 1680 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1681 _cf = 0; 1682 _flag_k = FK_TEST; 1683 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E18D: jbe 0x2b06e554 */ 1684 L_2B06E193: 1685 eax = MEM32(esi + 0x8); /* 0x2B06E193: mov eax, dword ptr [esi + 8] */ 1686 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1687 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1688 eax = eax + edi; /* 0x2B06E196: add eax, edi */ 1689 _flag_k = FK_ADD; 1690 PUSH32(esp, 0); /* 0x2B06E198: push 0 */ 1691 PUSH32(esp, eax); /* 0x2B06E19A: push eax */ 1692 ecx = esi; /* 0x2B06E19B: mov ecx, esi */ 1693 MEM32(ebp + (-0xC)) = eax; /* 0x2B06E19D: mov dword ptr [ebp - 0xc], eax */ 1694 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E1A0: call dword ptr [0x2b0b5154] */ 1695 RECOMP_FLAGS_IN(); 1696 /* test LO8(eax), LO8(eax) */ /* 0x2B06E1A6: test al, al */ 1697 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1698 _cf = 0; 1699 _flag_k = FK_NARROW(FK_TEST, 24); 1700 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E1A8: je 0x2b06e554 */ 1701 L_2B06E1AE: 1702 eax = MEM32(ebp + (-0x14)); /* 0x2B06E1AE: mov eax, dword ptr [ebp - 0x14] */ 1703 edx = MEM32(eax + 0x8); /* 0x2B06E1B1: mov edx, dword ptr [eax + 8] */ 1704 ecx = edi; /* 0x2B06E1B4: mov ecx, edi */ 1705 edi = MEM32(eax + 0x4); /* 0x2B06E1B6: mov edi, dword ptr [eax + 4] */ 1706 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 1707 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1708 edi = edi + edx; /* 0x2B06E1B9: add edi, edx */ 1709 _flag_k = FK_ADD; 1710 edx = ecx; /* 0x2B06E1BB: mov edx, ecx */ 1711 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E1BD: shr ecx, 2 */ 1712 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1713 ecx = ecx >> 2u; /* 0x2B06E1BD: shr ecx, 2 */ 1714 esi = 0x2B0EB6B8u; /* 0x2B06E1C0: mov esi, 0x2b0eb6b8 */ 1715 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E1C5: 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; } 1716 ecx = edx; /* 0x2B06E1C7: mov ecx, edx */ 1717 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 1718 ecx = ecx & 3; /* 0x2B06E1C9: and ecx, 3 */ 1719 _cf = 0; 1720 _flag_k = FK_TEST; 1721 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E1CC: 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; } 1722 ecx = MEM32(ebp + (-0xC)); /* 0x2B06E1CE: mov ecx, dword ptr [ebp - 0xc] */ 1723 goto L_2B06E54B; /* 0x2B06E1D1: jmp 0x2b06e54b */ 1724 L_2B06E1D6: 1725 /* cmp eax, 2 */ /* 0x2B06E1D6: cmp eax, 2 */ 1726 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 1727 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1728 _flag_k = FK_CMP; 1729 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06E256; /* 0x2B06E1D9: jne 0x2b06e256 */ 1730 L_2B06E1DB: 1731 edx = MEM32(0x2B0B515C); /* 0x2B06E1DB: mov edx, dword ptr [0x2b0b515c] */ 1732 esi = MEM32(ebx + 0x28); /* 0x2B06E1E1: mov esi, dword ptr [ebx + 0x28] */ 1733 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1734 eax = 0; /* 0x2B06E1E4: xor eax, eax */ 1735 _cf = 0; 1736 _flag_k = FK_TEST; 1737 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 1738 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E1E6: or ecx, 0xffffffff */ 1739 _cf = 0; 1740 _flag_k = FK_TEST; 1741 edi = 0x2B0EB6B0u; /* 0x2B06E1E9: mov edi, 0x2b0eb6b0 */ 1742 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; } /* 0x2B06E1EE: repne scasb al, byte ptr es:[edi] */ 1743 eax = MEM32(edx); /* 0x2B06E1F0: mov eax, dword ptr [edx] */ 1744 edx = MEM32(esi + 0x8); /* 0x2B06E1F2: mov edx, dword ptr [esi + 8] */ 1745 ecx = ~ecx; /* 0x2B06E1F5: not ecx */ 1746 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1747 ecx = ecx - 1; /* 0x2B06E1F7: dec ecx */ 1748 _flag_k = FK_DEC; 1749 edi = ecx; /* 0x2B06E1F8: mov edi, ecx */ 1750 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1751 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1752 eax = eax - edx; /* 0x2B06E1FA: sub eax, edx */ 1753 _flag_k = FK_CMP; 1754 /* cmp eax, edi */ /* 0x2B06E1FC: cmp eax, edi */ 1755 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1756 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1757 _flag_k = FK_CMP; 1758 MEM32(ebp + (-0x14)) = esi; /* 0x2B06E1FE: mov dword ptr [ebp - 0x14], esi */ 1759 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E209; /* 0x2B06E201: ja 0x2b06e209 */ 1760 L_2B06E203: 1761 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E203: call dword ptr [0x2b0b51a8] */ 1762 RECOMP_FLAGS_IN(); 1763 L_2B06E209: 1764 /* test edi, edi */ /* 0x2B06E209: test edi, edi */ 1765 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1766 _cf = 0; 1767 _flag_k = FK_TEST; 1768 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E20B: jbe 0x2b06e554 */ 1769 L_2B06E211: 1770 edx = MEM32(esi + 0x8); /* 0x2B06E211: mov edx, dword ptr [esi + 8] */ 1771 eax = edi; /* 0x2B06E214: mov eax, edi */ 1772 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1773 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1774 eax = eax + edx; /* 0x2B06E216: add eax, edx */ 1775 _flag_k = FK_ADD; 1776 PUSH32(esp, 0); /* 0x2B06E218: push 0 */ 1777 PUSH32(esp, eax); /* 0x2B06E21A: push eax */ 1778 ecx = esi; /* 0x2B06E21B: mov ecx, esi */ 1779 MEM32(ebp + (-0xC)) = eax; /* 0x2B06E21D: mov dword ptr [ebp - 0xc], eax */ 1780 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E220: call dword ptr [0x2b0b5154] */ 1781 RECOMP_FLAGS_IN(); 1782 /* test LO8(eax), LO8(eax) */ /* 0x2B06E226: test al, al */ 1783 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1784 _cf = 0; 1785 _flag_k = FK_NARROW(FK_TEST, 24); 1786 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E228: je 0x2b06e554 */ 1787 L_2B06E22E: 1788 eax = MEM32(ebp + (-0x14)); /* 0x2B06E22E: mov eax, dword ptr [ebp - 0x14] */ 1789 edx = MEM32(eax + 0x8); /* 0x2B06E231: mov edx, dword ptr [eax + 8] */ 1790 ecx = edi; /* 0x2B06E234: mov ecx, edi */ 1791 edi = MEM32(eax + 0x4); /* 0x2B06E236: mov edi, dword ptr [eax + 4] */ 1792 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 1793 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1794 edi = edi + edx; /* 0x2B06E239: add edi, edx */ 1795 _flag_k = FK_ADD; 1796 edx = ecx; /* 0x2B06E23B: mov edx, ecx */ 1797 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E23D: shr ecx, 2 */ 1798 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1799 ecx = ecx >> 2u; /* 0x2B06E23D: shr ecx, 2 */ 1800 esi = 0x2B0EB6B0u; /* 0x2B06E240: mov esi, 0x2b0eb6b0 */ 1801 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E245: 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; } 1802 ecx = edx; /* 0x2B06E247: mov ecx, edx */ 1803 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 1804 ecx = ecx & 3; /* 0x2B06E249: and ecx, 3 */ 1805 _cf = 0; 1806 _flag_k = FK_TEST; 1807 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E24C: 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; } 1808 ecx = MEM32(ebp + (-0xC)); /* 0x2B06E24E: mov ecx, dword ptr [ebp - 0xc] */ 1809 goto L_2B06E54B; /* 0x2B06E251: jmp 0x2b06e54b */ 1810 L_2B06E256: 1811 /* cmp eax, 3 */ /* 0x2B06E256: cmp eax, 3 */ 1812 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 1813 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1814 _flag_k = FK_CMP; 1815 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06E2D6; /* 0x2B06E259: jne 0x2b06e2d6 */ 1816 L_2B06E25B: 1817 edx = MEM32(0x2B0B515C); /* 0x2B06E25B: mov edx, dword ptr [0x2b0b515c] */ 1818 esi = MEM32(ebx + 0x28); /* 0x2B06E261: mov esi, dword ptr [ebx + 0x28] */ 1819 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1820 eax = 0; /* 0x2B06E264: xor eax, eax */ 1821 _cf = 0; 1822 _flag_k = FK_TEST; 1823 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 1824 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E266: or ecx, 0xffffffff */ 1825 _cf = 0; 1826 _flag_k = FK_TEST; 1827 edi = 0x2B0EB69Cu; /* 0x2B06E269: mov edi, 0x2b0eb69c */ 1828 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; } /* 0x2B06E26E: repne scasb al, byte ptr es:[edi] */ 1829 eax = MEM32(edx); /* 0x2B06E270: mov eax, dword ptr [edx] */ 1830 edx = MEM32(esi + 0x8); /* 0x2B06E272: mov edx, dword ptr [esi + 8] */ 1831 ecx = ~ecx; /* 0x2B06E275: not ecx */ 1832 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1833 ecx = ecx - 1; /* 0x2B06E277: dec ecx */ 1834 _flag_k = FK_DEC; 1835 edi = ecx; /* 0x2B06E278: mov edi, ecx */ 1836 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1837 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1838 eax = eax - edx; /* 0x2B06E27A: sub eax, edx */ 1839 _flag_k = FK_CMP; 1840 /* cmp eax, edi */ /* 0x2B06E27C: cmp eax, edi */ 1841 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1842 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1843 _flag_k = FK_CMP; 1844 MEM32(ebp + (-0x14)) = esi; /* 0x2B06E27E: mov dword ptr [ebp - 0x14], esi */ 1845 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E289; /* 0x2B06E281: ja 0x2b06e289 */ 1846 L_2B06E283: 1847 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E283: call dword ptr [0x2b0b51a8] */ 1848 RECOMP_FLAGS_IN(); 1849 L_2B06E289: 1850 /* test edi, edi */ /* 0x2B06E289: test edi, edi */ 1851 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1852 _cf = 0; 1853 _flag_k = FK_TEST; 1854 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E28B: jbe 0x2b06e554 */ 1855 L_2B06E291: 1856 edx = MEM32(esi + 0x8); /* 0x2B06E291: mov edx, dword ptr [esi + 8] */ 1857 eax = edi; /* 0x2B06E294: mov eax, edi */ 1858 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1859 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1860 eax = eax + edx; /* 0x2B06E296: add eax, edx */ 1861 _flag_k = FK_ADD; 1862 PUSH32(esp, 0); /* 0x2B06E298: push 0 */ 1863 PUSH32(esp, eax); /* 0x2B06E29A: push eax */ 1864 ecx = esi; /* 0x2B06E29B: mov ecx, esi */ 1865 MEM32(ebp + (-0xC)) = eax; /* 0x2B06E29D: mov dword ptr [ebp - 0xc], eax */ 1866 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E2A0: call dword ptr [0x2b0b5154] */ 1867 RECOMP_FLAGS_IN(); 1868 /* test LO8(eax), LO8(eax) */ /* 0x2B06E2A6: test al, al */ 1869 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1870 _cf = 0; 1871 _flag_k = FK_NARROW(FK_TEST, 24); 1872 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E2A8: je 0x2b06e554 */ 1873 L_2B06E2AE: 1874 eax = MEM32(ebp + (-0x14)); /* 0x2B06E2AE: mov eax, dword ptr [ebp - 0x14] */ 1875 edx = MEM32(eax + 0x8); /* 0x2B06E2B1: mov edx, dword ptr [eax + 8] */ 1876 ecx = edi; /* 0x2B06E2B4: mov ecx, edi */ 1877 edi = MEM32(eax + 0x4); /* 0x2B06E2B6: mov edi, dword ptr [eax + 4] */ 1878 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 1879 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1880 edi = edi + edx; /* 0x2B06E2B9: add edi, edx */ 1881 _flag_k = FK_ADD; 1882 edx = ecx; /* 0x2B06E2BB: mov edx, ecx */ 1883 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E2BD: shr ecx, 2 */ 1884 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1885 ecx = ecx >> 2u; /* 0x2B06E2BD: shr ecx, 2 */ 1886 esi = 0x2B0EB69Cu; /* 0x2B06E2C0: mov esi, 0x2b0eb69c */ 1887 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E2C5: 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; } 1888 ecx = edx; /* 0x2B06E2C7: mov ecx, edx */ 1889 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 1890 ecx = ecx & 3; /* 0x2B06E2C9: and ecx, 3 */ 1891 _cf = 0; 1892 _flag_k = FK_TEST; 1893 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E2CC: 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; } 1894 ecx = MEM32(ebp + (-0xC)); /* 0x2B06E2CE: mov ecx, dword ptr [ebp - 0xc] */ 1895 goto L_2B06E54B; /* 0x2B06E2D1: jmp 0x2b06e54b */ 1896 L_2B06E2D6: 1897 /* cmp eax, 4 */ /* 0x2B06E2D6: cmp eax, 4 */ 1898 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 1899 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1900 _flag_k = FK_CMP; 1901 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06E354; /* 0x2B06E2D9: jne 0x2b06e354 */ 1902 L_2B06E2DB: 1903 edx = MEM32(0x2B0B515C); /* 0x2B06E2DB: mov edx, dword ptr [0x2b0b515c] */ 1904 esi = MEM32(ebx + 0x28); /* 0x2B06E2E1: mov esi, dword ptr [ebx + 0x28] */ 1905 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1906 eax = 0; /* 0x2B06E2E4: xor eax, eax */ 1907 _cf = 0; 1908 _flag_k = FK_TEST; 1909 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 1910 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E2E6: or ecx, 0xffffffff */ 1911 _cf = 0; 1912 _flag_k = FK_TEST; 1913 edi = 0x2B0EB68Cu; /* 0x2B06E2E9: mov edi, 0x2b0eb68c */ 1914 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; } /* 0x2B06E2EE: repne scasb al, byte ptr es:[edi] */ 1915 eax = MEM32(edx); /* 0x2B06E2F0: mov eax, dword ptr [edx] */ 1916 edx = MEM32(esi + 0x8); /* 0x2B06E2F2: mov edx, dword ptr [esi + 8] */ 1917 ecx = ~ecx; /* 0x2B06E2F5: not ecx */ 1918 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1919 ecx = ecx - 1; /* 0x2B06E2F7: dec ecx */ 1920 _flag_k = FK_DEC; 1921 edi = ecx; /* 0x2B06E2F8: mov edi, ecx */ 1922 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1923 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1924 eax = eax - edx; /* 0x2B06E2FA: sub eax, edx */ 1925 _flag_k = FK_CMP; 1926 /* cmp eax, edi */ /* 0x2B06E2FC: cmp eax, edi */ 1927 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1928 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1929 _flag_k = FK_CMP; 1930 MEM32(ebp + (-0x14)) = esi; /* 0x2B06E2FE: mov dword ptr [ebp - 0x14], esi */ 1931 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E309; /* 0x2B06E301: ja 0x2b06e309 */ 1932 L_2B06E303: 1933 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E303: call dword ptr [0x2b0b51a8] */ 1934 RECOMP_FLAGS_IN(); 1935 L_2B06E309: 1936 /* test edi, edi */ /* 0x2B06E309: test edi, edi */ 1937 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1938 _cf = 0; 1939 _flag_k = FK_TEST; 1940 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E30B: jbe 0x2b06e554 */ 1941 L_2B06E311: 1942 eax = MEM32(esi + 0x8); /* 0x2B06E311: mov eax, dword ptr [esi + 8] */ 1943 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1944 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1945 eax = eax + edi; /* 0x2B06E314: add eax, edi */ 1946 _flag_k = FK_ADD; 1947 PUSH32(esp, 0); /* 0x2B06E316: push 0 */ 1948 PUSH32(esp, eax); /* 0x2B06E318: push eax */ 1949 ecx = esi; /* 0x2B06E319: mov ecx, esi */ 1950 MEM32(ebp + (-0xC)) = eax; /* 0x2B06E31B: mov dword ptr [ebp - 0xc], eax */ 1951 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E31E: call dword ptr [0x2b0b5154] */ 1952 RECOMP_FLAGS_IN(); 1953 /* test LO8(eax), LO8(eax) */ /* 0x2B06E324: test al, al */ 1954 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1955 _cf = 0; 1956 _flag_k = FK_NARROW(FK_TEST, 24); 1957 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E326: je 0x2b06e554 */ 1958 L_2B06E32C: 1959 eax = MEM32(ebp + (-0x14)); /* 0x2B06E32C: mov eax, dword ptr [ebp - 0x14] */ 1960 edx = MEM32(eax + 0x8); /* 0x2B06E32F: mov edx, dword ptr [eax + 8] */ 1961 ecx = edi; /* 0x2B06E332: mov ecx, edi */ 1962 edi = MEM32(eax + 0x4); /* 0x2B06E334: mov edi, dword ptr [eax + 4] */ 1963 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 1964 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1965 edi = edi + edx; /* 0x2B06E337: add edi, edx */ 1966 _flag_k = FK_ADD; 1967 edx = ecx; /* 0x2B06E339: mov edx, ecx */ 1968 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E33B: shr ecx, 2 */ 1969 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1970 ecx = ecx >> 2u; /* 0x2B06E33B: shr ecx, 2 */ 1971 esi = 0x2B0EB68Cu; /* 0x2B06E33E: mov esi, 0x2b0eb68c */ 1972 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E343: 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; } 1973 ecx = edx; /* 0x2B06E345: mov ecx, edx */ 1974 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 1975 ecx = ecx & 3; /* 0x2B06E347: and ecx, 3 */ 1976 _cf = 0; 1977 _flag_k = FK_TEST; 1978 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E34A: 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; } 1979 ecx = MEM32(ebp + (-0xC)); /* 0x2B06E34C: mov ecx, dword ptr [ebp - 0xc] */ 1980 goto L_2B06E54B; /* 0x2B06E34F: jmp 0x2b06e54b */ 1981 L_2B06E354: 1982 /* cmp eax, 5 */ /* 0x2B06E354: cmp eax, 5 */ 1983 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(5); 1984 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1985 _flag_k = FK_CMP; 1986 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06E3D2; /* 0x2B06E357: jne 0x2b06e3d2 */ 1987 L_2B06E359: 1988 edx = MEM32(0x2B0B515C); /* 0x2B06E359: mov edx, dword ptr [0x2b0b515c] */ 1989 esi = MEM32(ebx + 0x28); /* 0x2B06E35F: mov esi, dword ptr [ebx + 0x28] */ 1990 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1991 eax = 0; /* 0x2B06E362: xor eax, eax */ 1992 _cf = 0; 1993 _flag_k = FK_TEST; 1994 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 1995 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E364: or ecx, 0xffffffff */ 1996 _cf = 0; 1997 _flag_k = FK_TEST; 1998 edi = 0x2B0EB684u; /* 0x2B06E367: mov edi, 0x2b0eb684 */ 1999 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; } /* 0x2B06E36C: repne scasb al, byte ptr es:[edi] */ 2000 eax = MEM32(edx); /* 0x2B06E36E: mov eax, dword ptr [edx] */ 2001 edx = MEM32(esi + 0x8); /* 0x2B06E370: mov edx, dword ptr [esi + 8] */ 2002 ecx = ~ecx; /* 0x2B06E373: not ecx */ 2003 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2004 ecx = ecx - 1; /* 0x2B06E375: dec ecx */ 2005 _flag_k = FK_DEC; 2006 edi = ecx; /* 0x2B06E376: mov edi, ecx */ 2007 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 2008 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2009 eax = eax - edx; /* 0x2B06E378: sub eax, edx */ 2010 _flag_k = FK_CMP; 2011 /* cmp eax, edi */ /* 0x2B06E37A: cmp eax, edi */ 2012 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2013 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2014 _flag_k = FK_CMP; 2015 MEM32(ebp + (-0x14)) = esi; /* 0x2B06E37C: mov dword ptr [ebp - 0x14], esi */ 2016 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E387; /* 0x2B06E37F: ja 0x2b06e387 */ 2017 L_2B06E381: 2018 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E381: call dword ptr [0x2b0b51a8] */ 2019 RECOMP_FLAGS_IN(); 2020 L_2B06E387: 2021 /* test edi, edi */ /* 0x2B06E387: test edi, edi */ 2022 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2023 _cf = 0; 2024 _flag_k = FK_TEST; 2025 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E389: jbe 0x2b06e554 */ 2026 L_2B06E38F: 2027 eax = MEM32(esi + 0x8); /* 0x2B06E38F: mov eax, dword ptr [esi + 8] */ 2028 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2029 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2030 eax = eax + edi; /* 0x2B06E392: add eax, edi */ 2031 _flag_k = FK_ADD; 2032 PUSH32(esp, 0); /* 0x2B06E394: push 0 */ 2033 PUSH32(esp, eax); /* 0x2B06E396: push eax */ 2034 ecx = esi; /* 0x2B06E397: mov ecx, esi */ 2035 MEM32(ebp + (-0xC)) = eax; /* 0x2B06E399: mov dword ptr [ebp - 0xc], eax */ 2036 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E39C: call dword ptr [0x2b0b5154] */ 2037 RECOMP_FLAGS_IN(); 2038 /* test LO8(eax), LO8(eax) */ /* 0x2B06E3A2: test al, al */ 2039 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2040 _cf = 0; 2041 _flag_k = FK_NARROW(FK_TEST, 24); 2042 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E3A4: je 0x2b06e554 */ 2043 L_2B06E3AA: 2044 eax = MEM32(ebp + (-0x14)); /* 0x2B06E3AA: mov eax, dword ptr [ebp - 0x14] */ 2045 edx = MEM32(eax + 0x8); /* 0x2B06E3AD: mov edx, dword ptr [eax + 8] */ 2046 ecx = edi; /* 0x2B06E3B0: mov ecx, edi */ 2047 edi = MEM32(eax + 0x4); /* 0x2B06E3B2: mov edi, dword ptr [eax + 4] */ 2048 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 2049 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2050 edi = edi + edx; /* 0x2B06E3B5: add edi, edx */ 2051 _flag_k = FK_ADD; 2052 edx = ecx; /* 0x2B06E3B7: mov edx, ecx */ 2053 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E3B9: shr ecx, 2 */ 2054 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2055 ecx = ecx >> 2u; /* 0x2B06E3B9: shr ecx, 2 */ 2056 esi = 0x2B0EB684u; /* 0x2B06E3BC: mov esi, 0x2b0eb684 */ 2057 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E3C1: 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; } 2058 ecx = edx; /* 0x2B06E3C3: mov ecx, edx */ 2059 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 2060 ecx = ecx & 3; /* 0x2B06E3C5: and ecx, 3 */ 2061 _cf = 0; 2062 _flag_k = FK_TEST; 2063 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E3C8: 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; } 2064 ecx = MEM32(ebp + (-0xC)); /* 0x2B06E3CA: mov ecx, dword ptr [ebp - 0xc] */ 2065 goto L_2B06E54B; /* 0x2B06E3CD: jmp 0x2b06e54b */ 2066 L_2B06E3D2: 2067 /* cmp eax, 6 */ /* 0x2B06E3D2: cmp eax, 6 */ 2068 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(6); 2069 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2070 _flag_k = FK_CMP; 2071 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06E452; /* 0x2B06E3D5: jne 0x2b06e452 */ 2072 L_2B06E3D7: 2073 edx = MEM32(0x2B0B515C); /* 0x2B06E3D7: mov edx, dword ptr [0x2b0b515c] */ 2074 esi = MEM32(ebx + 0x28); /* 0x2B06E3DD: mov esi, dword ptr [ebx + 0x28] */ 2075 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2076 eax = 0; /* 0x2B06E3E0: xor eax, eax */ 2077 _cf = 0; 2078 _flag_k = FK_TEST; 2079 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 2080 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E3E2: or ecx, 0xffffffff */ 2081 _cf = 0; 2082 _flag_k = FK_TEST; 2083 edi = 0x2B0EB674u; /* 0x2B06E3E5: mov edi, 0x2b0eb674 */ 2084 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; } /* 0x2B06E3EA: repne scasb al, byte ptr es:[edi] */ 2085 eax = MEM32(edx); /* 0x2B06E3EC: mov eax, dword ptr [edx] */ 2086 edx = MEM32(esi + 0x8); /* 0x2B06E3EE: mov edx, dword ptr [esi + 8] */ 2087 ecx = ~ecx; /* 0x2B06E3F1: not ecx */ 2088 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2089 ecx = ecx - 1; /* 0x2B06E3F3: dec ecx */ 2090 _flag_k = FK_DEC; 2091 edi = ecx; /* 0x2B06E3F4: mov edi, ecx */ 2092 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 2093 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2094 eax = eax - edx; /* 0x2B06E3F6: sub eax, edx */ 2095 _flag_k = FK_CMP; 2096 /* cmp eax, edi */ /* 0x2B06E3F8: cmp eax, edi */ 2097 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2098 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2099 _flag_k = FK_CMP; 2100 MEM32(ebp + (-0x14)) = esi; /* 0x2B06E3FA: mov dword ptr [ebp - 0x14], esi */ 2101 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E405; /* 0x2B06E3FD: ja 0x2b06e405 */ 2102 L_2B06E3FF: 2103 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E3FF: call dword ptr [0x2b0b51a8] */ 2104 RECOMP_FLAGS_IN(); 2105 L_2B06E405: 2106 /* test edi, edi */ /* 0x2B06E405: test edi, edi */ 2107 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2108 _cf = 0; 2109 _flag_k = FK_TEST; 2110 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E407: jbe 0x2b06e554 */ 2111 L_2B06E40D: 2112 edx = MEM32(esi + 0x8); /* 0x2B06E40D: mov edx, dword ptr [esi + 8] */ 2113 eax = edi; /* 0x2B06E410: mov eax, edi */ 2114 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 2115 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2116 eax = eax + edx; /* 0x2B06E412: add eax, edx */ 2117 _flag_k = FK_ADD; 2118 PUSH32(esp, 0); /* 0x2B06E414: push 0 */ 2119 PUSH32(esp, eax); /* 0x2B06E416: push eax */ 2120 ecx = esi; /* 0x2B06E417: mov ecx, esi */ 2121 MEM32(ebp + (-0xC)) = eax; /* 0x2B06E419: mov dword ptr [ebp - 0xc], eax */ 2122 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E41C: call dword ptr [0x2b0b5154] */ 2123 RECOMP_FLAGS_IN(); 2124 /* test LO8(eax), LO8(eax) */ /* 0x2B06E422: test al, al */ 2125 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2126 _cf = 0; 2127 _flag_k = FK_NARROW(FK_TEST, 24); 2128 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E424: je 0x2b06e554 */ 2129 L_2B06E42A: 2130 eax = MEM32(ebp + (-0x14)); /* 0x2B06E42A: mov eax, dword ptr [ebp - 0x14] */ 2131 edx = MEM32(eax + 0x8); /* 0x2B06E42D: mov edx, dword ptr [eax + 8] */ 2132 ecx = edi; /* 0x2B06E430: mov ecx, edi */ 2133 edi = MEM32(eax + 0x4); /* 0x2B06E432: mov edi, dword ptr [eax + 4] */ 2134 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 2135 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2136 edi = edi + edx; /* 0x2B06E435: add edi, edx */ 2137 _flag_k = FK_ADD; 2138 edx = ecx; /* 0x2B06E437: mov edx, ecx */ 2139 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E439: shr ecx, 2 */ 2140 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2141 ecx = ecx >> 2u; /* 0x2B06E439: shr ecx, 2 */ 2142 esi = 0x2B0EB674u; /* 0x2B06E43C: mov esi, 0x2b0eb674 */ 2143 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E441: 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; } 2144 ecx = edx; /* 0x2B06E443: mov ecx, edx */ 2145 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 2146 ecx = ecx & 3; /* 0x2B06E445: and ecx, 3 */ 2147 _cf = 0; 2148 _flag_k = FK_TEST; 2149 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E448: 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; } 2150 ecx = MEM32(ebp + (-0xC)); /* 0x2B06E44A: mov ecx, dword ptr [ebp - 0xc] */ 2151 goto L_2B06E54B; /* 0x2B06E44D: jmp 0x2b06e54b */ 2152 L_2B06E452: 2153 /* cmp eax, 0xAu */ /* 0x2B06E452: cmp eax, 0xa */ 2154 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xAu); 2155 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2156 _flag_k = FK_CMP; 2157 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06E4CF; /* 0x2B06E455: jne 0x2b06e4cf */ 2158 L_2B06E457: 2159 edx = MEM32(0x2B0B515C); /* 0x2B06E457: mov edx, dword ptr [0x2b0b515c] */ 2160 esi = MEM32(ebx + 0x28); /* 0x2B06E45D: mov esi, dword ptr [ebx + 0x28] */ 2161 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2162 eax = 0; /* 0x2B06E460: xor eax, eax */ 2163 _cf = 0; 2164 _flag_k = FK_TEST; 2165 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 2166 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E462: or ecx, 0xffffffff */ 2167 _cf = 0; 2168 _flag_k = FK_TEST; 2169 edi = 0x2B0EB664u; /* 0x2B06E465: mov edi, 0x2b0eb664 */ 2170 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; } /* 0x2B06E46A: repne scasb al, byte ptr es:[edi] */ 2171 eax = MEM32(edx); /* 0x2B06E46C: mov eax, dword ptr [edx] */ 2172 edx = MEM32(esi + 0x8); /* 0x2B06E46E: mov edx, dword ptr [esi + 8] */ 2173 ecx = ~ecx; /* 0x2B06E471: not ecx */ 2174 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2175 ecx = ecx - 1; /* 0x2B06E473: dec ecx */ 2176 _flag_k = FK_DEC; 2177 edi = ecx; /* 0x2B06E474: mov edi, ecx */ 2178 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 2179 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2180 eax = eax - edx; /* 0x2B06E476: sub eax, edx */ 2181 _flag_k = FK_CMP; 2182 /* cmp eax, edi */ /* 0x2B06E478: cmp eax, edi */ 2183 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2184 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2185 _flag_k = FK_CMP; 2186 MEM32(ebp + (-0x14)) = esi; /* 0x2B06E47A: mov dword ptr [ebp - 0x14], esi */ 2187 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E485; /* 0x2B06E47D: ja 0x2b06e485 */ 2188 L_2B06E47F: 2189 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E47F: call dword ptr [0x2b0b51a8] */ 2190 RECOMP_FLAGS_IN(); 2191 L_2B06E485: 2192 /* test edi, edi */ /* 0x2B06E485: test edi, edi */ 2193 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2194 _cf = 0; 2195 _flag_k = FK_TEST; 2196 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E487: jbe 0x2b06e554 */ 2197 L_2B06E48D: 2198 edx = MEM32(esi + 0x8); /* 0x2B06E48D: mov edx, dword ptr [esi + 8] */ 2199 eax = edi; /* 0x2B06E490: mov eax, edi */ 2200 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 2201 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2202 eax = eax + edx; /* 0x2B06E492: add eax, edx */ 2203 _flag_k = FK_ADD; 2204 PUSH32(esp, 0); /* 0x2B06E494: push 0 */ 2205 PUSH32(esp, eax); /* 0x2B06E496: push eax */ 2206 ecx = esi; /* 0x2B06E497: mov ecx, esi */ 2207 MEM32(ebp + (-0xC)) = eax; /* 0x2B06E499: mov dword ptr [ebp - 0xc], eax */ 2208 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E49C: call dword ptr [0x2b0b5154] */ 2209 RECOMP_FLAGS_IN(); 2210 /* test LO8(eax), LO8(eax) */ /* 0x2B06E4A2: test al, al */ 2211 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2212 _cf = 0; 2213 _flag_k = FK_NARROW(FK_TEST, 24); 2214 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E4A4: je 0x2b06e554 */ 2215 L_2B06E4AA: 2216 eax = MEM32(ebp + (-0x14)); /* 0x2B06E4AA: mov eax, dword ptr [ebp - 0x14] */ 2217 edx = MEM32(eax + 0x8); /* 0x2B06E4AD: mov edx, dword ptr [eax + 8] */ 2218 ecx = edi; /* 0x2B06E4B0: mov ecx, edi */ 2219 edi = MEM32(eax + 0x4); /* 0x2B06E4B2: mov edi, dword ptr [eax + 4] */ 2220 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 2221 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2222 edi = edi + edx; /* 0x2B06E4B5: add edi, edx */ 2223 _flag_k = FK_ADD; 2224 edx = ecx; /* 0x2B06E4B7: mov edx, ecx */ 2225 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E4B9: shr ecx, 2 */ 2226 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2227 ecx = ecx >> 2u; /* 0x2B06E4B9: shr ecx, 2 */ 2228 esi = 0x2B0EB664u; /* 0x2B06E4BC: mov esi, 0x2b0eb664 */ 2229 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E4C1: 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; } 2230 ecx = edx; /* 0x2B06E4C3: mov ecx, edx */ 2231 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 2232 ecx = ecx & 3; /* 0x2B06E4C5: and ecx, 3 */ 2233 _cf = 0; 2234 _flag_k = FK_TEST; 2235 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E4C8: 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; } 2236 ecx = MEM32(ebp + (-0xC)); /* 0x2B06E4CA: mov ecx, dword ptr [ebp - 0xc] */ 2237 goto L_2B06E54B; /* 0x2B06E4CD: jmp 0x2b06e54b */ 2238 L_2B06E4CF: 2239 PUSH32(esp, eax); /* 0x2B06E4CF: push eax */ 2240 edx = ebp + (-0x54); /* 0x2B06E4D0: lea edx, [ebp - 0x54] */ 2241 PUSH32(esp, 0x2B0EB658u); /* 0x2B06E4D3: push 0x2b0eb658 */ 2242 PUSH32(esp, edx); /* 0x2B06E4D8: push edx */ 2243 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B06E4D9: call dword ptr [0x2b0b51f0] */ 2244 RECOMP_FLAGS_IN(); 2245 esi = MEM32(ebx + 0x28); /* 0x2B06E4DF: mov esi, dword ptr [ebx + 0x28] */ 2246 edx = MEM32(esi + 0x8); /* 0x2B06E4E2: mov edx, dword ptr [esi + 8] */ 2247 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 2248 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E4E5: or ecx, 0xffffffff */ 2249 _cf = 0; 2250 _flag_k = FK_TEST; 2251 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2252 eax = 0; /* 0x2B06E4E8: xor eax, eax */ 2253 _cf = 0; 2254 _flag_k = FK_TEST; 2255 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 2256 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2257 esp = esp + 0xCu; /* 0x2B06E4EA: add esp, 0xc */ 2258 _flag_k = FK_ADD; 2259 edi = ebp + (-0x54); /* 0x2B06E4ED: lea edi, [ebp - 0x54] */ 2260 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; } /* 0x2B06E4F0: repne scasb al, byte ptr es:[edi] */ 2261 eax = MEM32(0x2B0B515C); /* 0x2B06E4F2: mov eax, dword ptr [0x2b0b515c] */ 2262 ecx = ~ecx; /* 0x2B06E4F7: not ecx */ 2263 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2264 ecx = ecx - 1; /* 0x2B06E4F9: dec ecx */ 2265 _flag_k = FK_DEC; 2266 edi = ecx; /* 0x2B06E4FA: mov edi, ecx */ 2267 ecx = MEM32(eax); /* 0x2B06E4FC: mov ecx, dword ptr [eax] */ 2268 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 2269 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2270 ecx = ecx - edx; /* 0x2B06E4FE: sub ecx, edx */ 2271 _flag_k = FK_CMP; 2272 /* cmp ecx, edi */ /* 0x2B06E500: cmp ecx, edi */ 2273 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 2274 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2275 _flag_k = FK_CMP; 2276 MEM32(ebp + (-0x14)) = esi; /* 0x2B06E502: mov dword ptr [ebp - 0x14], esi */ 2277 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E50D; /* 0x2B06E505: ja 0x2b06e50d */ 2278 L_2B06E507: 2279 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E507: call dword ptr [0x2b0b51a8] */ 2280 RECOMP_FLAGS_IN(); 2281 L_2B06E50D: 2282 /* test edi, edi */ /* 0x2B06E50D: test edi, edi */ 2283 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2284 _cf = 0; 2285 _flag_k = FK_TEST; 2286 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E50F: jbe 0x2b06e554 */ 2287 L_2B06E511: 2288 edx = MEM32(esi + 0x8); /* 0x2B06E511: mov edx, dword ptr [esi + 8] */ 2289 eax = edi; /* 0x2B06E514: mov eax, edi */ 2290 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 2291 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2292 eax = eax + edx; /* 0x2B06E516: add eax, edx */ 2293 _flag_k = FK_ADD; 2294 PUSH32(esp, 0); /* 0x2B06E518: push 0 */ 2295 PUSH32(esp, eax); /* 0x2B06E51A: push eax */ 2296 ecx = esi; /* 0x2B06E51B: mov ecx, esi */ 2297 MEM32(ebp + (-0xC)) = eax; /* 0x2B06E51D: mov dword ptr [ebp - 0xc], eax */ 2298 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E520: call dword ptr [0x2b0b5154] */ 2299 RECOMP_FLAGS_IN(); 2300 /* test LO8(eax), LO8(eax) */ /* 0x2B06E526: test al, al */ 2301 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2302 _cf = 0; 2303 _flag_k = FK_NARROW(FK_TEST, 24); 2304 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E528: je 0x2b06e554 */ 2305 L_2B06E52A: 2306 eax = MEM32(ebp + (-0x14)); /* 0x2B06E52A: mov eax, dword ptr [ebp - 0x14] */ 2307 edx = MEM32(eax + 0x8); /* 0x2B06E52D: mov edx, dword ptr [eax + 8] */ 2308 ecx = edi; /* 0x2B06E530: mov ecx, edi */ 2309 edi = MEM32(eax + 0x4); /* 0x2B06E532: mov edi, dword ptr [eax + 4] */ 2310 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 2311 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2312 edi = edi + edx; /* 0x2B06E535: add edi, edx */ 2313 _flag_k = FK_ADD; 2314 edx = ecx; /* 0x2B06E537: mov edx, ecx */ 2315 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E539: shr ecx, 2 */ 2316 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2317 ecx = ecx >> 2u; /* 0x2B06E539: shr ecx, 2 */ 2318 esi = ebp + (-0x54); /* 0x2B06E53C: lea esi, [ebp - 0x54] */ 2319 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E53F: 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; } 2320 ecx = edx; /* 0x2B06E541: mov ecx, edx */ 2321 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 2322 ecx = ecx & 3; /* 0x2B06E543: and ecx, 3 */ 2323 _cf = 0; 2324 _flag_k = FK_TEST; 2325 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E546: 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; } 2326 ecx = MEM32(ebp + (-0xC)); /* 0x2B06E548: mov ecx, dword ptr [ebp - 0xc] */ 2327 L_2B06E54B: 2328 PUSH32(esp, ecx); /* 0x2B06E54B: push ecx */ 2329 ecx = eax; /* 0x2B06E54C: mov ecx, eax */ 2330 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06E54E: call dword ptr [0x2b0b5150] */ 2331 RECOMP_FLAGS_IN(); 2332 L_2B06E554: 2333 edx = MEM32(ebx + 0x28); /* 0x2B06E554: mov edx, dword ptr [ebx + 0x28] */ 2334 esi = MEM32(ebp + 0x8); /* 0x2B06E557: mov esi, dword ptr [ebp + 8] */ 2335 PUSH32(esp, edx); /* 0x2B06E55A: push edx */ 2336 PUSH32(esp, esi); /* 0x2B06E55B: push esi */ 2337 ecx = ebx; /* 0x2B06E55C: mov ecx, ebx */ 2338 RECOMP_ICALL(0x2B073BE0u); /* 0x2B06E55E: call 0x2b073be0 */ /* not lifted */ 2339 RECOMP_FLAGS_IN(); 2340 eax = MEM32(ebx + 0x28); /* 0x2B06E563: mov eax, dword ptr [ebx + 0x28] */ 2341 PUSH32(esp, eax); /* 0x2B06E566: push eax */ 2342 PUSH32(esp, esi); /* 0x2B06E567: push esi */ 2343 ecx = ebx; /* 0x2B06E568: mov ecx, ebx */ 2344 RECOMP_ICALL(0x2B073C20u); /* 0x2B06E56A: call 0x2b073c20 */ /* not lifted */ 2345 RECOMP_FLAGS_IN(); 2346 ecx = MEM32(ebx + 0x28); /* 0x2B06E56F: mov ecx, dword ptr [ebx + 0x28] */ 2347 PUSH32(esp, ecx); /* 0x2B06E572: push ecx */ 2348 PUSH32(esp, esi); /* 0x2B06E573: push esi */ 2349 ecx = ebx; /* 0x2B06E574: mov ecx, ebx */ 2350 RECOMP_ICALL(0x2B073B50u); /* 0x2B06E576: call 0x2b073b50 */ /* not lifted */ 2351 RECOMP_FLAGS_IN(); 2352 edx = MEM32(ebx + 0x28); /* 0x2B06E57B: mov edx, dword ptr [ebx + 0x28] */ 2353 PUSH32(esp, edx); /* 0x2B06E57E: push edx */ 2354 PUSH32(esp, esi); /* 0x2B06E57F: push esi */ 2355 ecx = ebx; /* 0x2B06E580: mov ecx, ebx */ 2356 RECOMP_ICALL(0x2B073B90u); /* 0x2B06E582: call 0x2b073b90 */ /* not lifted */ 2357 RECOMP_FLAGS_IN(); 2358 PUSH32(esp, 0x65u); /* 0x2B06E587: push 0x65 */ 2359 PUSH32(esp, esi); /* 0x2B06E589: push esi */ 2360 ecx = ebx; /* 0x2B06E58A: mov ecx, ebx */ 2361 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06E58C: call 0x2b0735d0 */ /* not lifted */ 2362 RECOMP_FLAGS_IN(); 2363 /* cmp eax, 0x499602D2u */ /* 0x2B06E591: cmp eax, 0x499602d2 */ 2364 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 2365 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2366 _flag_k = FK_CMP; 2367 MEM32(ebp + (-0x18)) = eax; /* 0x2B06E596: mov dword ptr [ebp - 0x18], eax */ 2368 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06E7B7; /* 0x2B06E599: je 0x2b06e7b7 */ 2369 L_2B06E59F: 2370 ecx = MEM32(ebx + 0x28); /* 0x2B06E59F: mov ecx, dword ptr [ebx + 0x28] */ 2371 PUSH32(esp, 0x13u); /* 0x2B06E5A2: push 0x13 */ 2372 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06E5A4: push -1 */ 2373 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06E5A6: call dword ptr [0x2b0b5a74] */ 2374 RECOMP_FLAGS_IN(); 2375 esi = MEM32(ebx + 0x28); /* 0x2B06E5AC: mov esi, dword ptr [ebx + 0x28] */ 2376 edx = MEM32(esi + 0x8); /* 0x2B06E5AF: mov edx, dword ptr [esi + 8] */ 2377 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 2378 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E5B2: or ecx, 0xffffffff */ 2379 _cf = 0; 2380 _flag_k = FK_TEST; 2381 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2382 eax = 0; /* 0x2B06E5B5: xor eax, eax */ 2383 _cf = 0; 2384 _flag_k = FK_TEST; 2385 edi = 0x2B0EB648u; /* 0x2B06E5B7: mov edi, 0x2b0eb648 */ 2386 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; } /* 0x2B06E5BC: repne scasb al, byte ptr es:[edi] */ 2387 eax = MEM32(0x2B0B515C); /* 0x2B06E5BE: mov eax, dword ptr [0x2b0b515c] */ 2388 ecx = ~ecx; /* 0x2B06E5C3: not ecx */ 2389 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2390 ecx = ecx - 1; /* 0x2B06E5C5: dec ecx */ 2391 _flag_k = FK_DEC; 2392 edi = ecx; /* 0x2B06E5C6: mov edi, ecx */ 2393 ecx = MEM32(eax); /* 0x2B06E5C8: mov ecx, dword ptr [eax] */ 2394 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 2395 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2396 ecx = ecx - edx; /* 0x2B06E5CA: sub ecx, edx */ 2397 _flag_k = FK_CMP; 2398 /* cmp ecx, edi */ /* 0x2B06E5CC: cmp ecx, edi */ 2399 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 2400 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2401 _flag_k = FK_CMP; 2402 MEM32(ebp + (-0x14)) = esi; /* 0x2B06E5CE: mov dword ptr [ebp - 0x14], esi */ 2403 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E5D9; /* 0x2B06E5D1: ja 0x2b06e5d9 */ 2404 L_2B06E5D3: 2405 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E5D3: call dword ptr [0x2b0b51a8] */ 2406 RECOMP_FLAGS_IN(); 2407 L_2B06E5D9: 2408 /* test edi, edi */ /* 0x2B06E5D9: test edi, edi */ 2409 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2410 _cf = 0; 2411 _flag_k = FK_TEST; 2412 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E622; /* 0x2B06E5DB: jbe 0x2b06e622 */ 2413 L_2B06E5DD: 2414 edx = MEM32(esi + 0x8); /* 0x2B06E5DD: mov edx, dword ptr [esi + 8] */ 2415 eax = edi; /* 0x2B06E5E0: mov eax, edi */ 2416 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 2417 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2418 eax = eax + edx; /* 0x2B06E5E2: add eax, edx */ 2419 _flag_k = FK_ADD; 2420 PUSH32(esp, 0); /* 0x2B06E5E4: push 0 */ 2421 PUSH32(esp, eax); /* 0x2B06E5E6: push eax */ 2422 ecx = esi; /* 0x2B06E5E7: mov ecx, esi */ 2423 MEM32(ebp + (-0xC)) = eax; /* 0x2B06E5E9: mov dword ptr [ebp - 0xc], eax */ 2424 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E5EC: call dword ptr [0x2b0b5154] */ 2425 RECOMP_FLAGS_IN(); 2426 /* test LO8(eax), LO8(eax) */ /* 0x2B06E5F2: test al, al */ 2427 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2428 _cf = 0; 2429 _flag_k = FK_NARROW(FK_TEST, 24); 2430 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E622; /* 0x2B06E5F4: je 0x2b06e622 */ 2431 L_2B06E5F6: 2432 eax = MEM32(ebp + (-0x14)); /* 0x2B06E5F6: mov eax, dword ptr [ebp - 0x14] */ 2433 edx = MEM32(eax + 0x8); /* 0x2B06E5F9: mov edx, dword ptr [eax + 8] */ 2434 ecx = edi; /* 0x2B06E5FC: mov ecx, edi */ 2435 edi = MEM32(eax + 0x4); /* 0x2B06E5FE: mov edi, dword ptr [eax + 4] */ 2436 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 2437 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2438 edi = edi + edx; /* 0x2B06E601: add edi, edx */ 2439 _flag_k = FK_ADD; 2440 edx = ecx; /* 0x2B06E603: mov edx, ecx */ 2441 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E605: shr ecx, 2 */ 2442 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2443 ecx = ecx >> 2u; /* 0x2B06E605: shr ecx, 2 */ 2444 esi = 0x2B0EB648u; /* 0x2B06E608: mov esi, 0x2b0eb648 */ 2445 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E60D: 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; } 2446 ecx = edx; /* 0x2B06E60F: mov ecx, edx */ 2447 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 2448 ecx = ecx & 3; /* 0x2B06E611: and ecx, 3 */ 2449 _cf = 0; 2450 _flag_k = FK_TEST; 2451 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E614: 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; } 2452 ecx = MEM32(ebp + (-0xC)); /* 0x2B06E616: mov ecx, dword ptr [ebp - 0xc] */ 2453 PUSH32(esp, ecx); /* 0x2B06E619: push ecx */ 2454 ecx = eax; /* 0x2B06E61A: mov ecx, eax */ 2455 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06E61C: call dword ptr [0x2b0b5150] */ 2456 RECOMP_FLAGS_IN(); 2457 L_2B06E622: 2458 ecx = MEM32(ebx + 0x28); /* 0x2B06E622: mov ecx, dword ptr [ebx + 0x28] */ 2459 PUSH32(esp, 0x14u); /* 0x2B06E625: push 0x14 */ 2460 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06E627: push -1 */ 2461 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06E629: call dword ptr [0x2b0b5a74] */ 2462 RECOMP_FLAGS_IN(); 2463 PUSH32(esp, 0x65u); /* 0x2B06E62F: push 0x65 */ 2464 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06E631: call dword ptr [0x2b0b5d6c] */ 2465 RECOMP_FLAGS_IN(); 2466 ecx = eax; /* 0x2B06E637: mov ecx, eax */ 2467 RECOMP_ICALL(MEM32(0x2B0B5DB4)); /* 0x2B06E639: call dword ptr [0x2b0b5db4] */ 2468 RECOMP_FLAGS_IN(); 2469 esi = eax; /* 0x2B06E63F: mov esi, eax */ 2470 /* test esi, esi */ /* 0x2B06E641: test esi, esi */ 2471 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 2472 _cf = 0; 2473 _flag_k = FK_TEST; 2474 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E6B3; /* 0x2B06E643: je 0x2b06e6b3 */ 2475 L_2B06E645: 2476 edx = MEM32(ebx + 0x28); /* 0x2B06E645: mov edx, dword ptr [ebx + 0x28] */ 2477 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 2478 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E648: or ecx, 0xffffffff */ 2479 _cf = 0; 2480 _flag_k = FK_TEST; 2481 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2482 eax = 0; /* 0x2B06E64B: xor eax, eax */ 2483 _cf = 0; 2484 _flag_k = FK_TEST; 2485 edi = esi; /* 0x2B06E64D: mov edi, esi */ 2486 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; } /* 0x2B06E64F: repne scasb al, byte ptr es:[edi] */ 2487 eax = MEM32(0x2B0B515C); /* 0x2B06E651: mov eax, dword ptr [0x2b0b515c] */ 2488 ecx = ~ecx; /* 0x2B06E656: not ecx */ 2489 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2490 ecx = ecx - 1; /* 0x2B06E658: dec ecx */ 2491 _flag_k = FK_DEC; 2492 edi = ecx; /* 0x2B06E659: mov edi, ecx */ 2493 ecx = MEM32(eax); /* 0x2B06E65B: mov ecx, dword ptr [eax] */ 2494 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 2495 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2496 ecx = ecx - MEM32(edx + 0x8); /* 0x2B06E65D: sub ecx, dword ptr [edx + 8] */ 2497 _flag_k = FK_CMP; 2498 /* cmp ecx, edi */ /* 0x2B06E660: cmp ecx, edi */ 2499 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 2500 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2501 _flag_k = FK_CMP; 2502 MEM32(ebp + (-0x8)) = edx; /* 0x2B06E662: mov dword ptr [ebp - 8], edx */ 2503 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E66D; /* 0x2B06E665: ja 0x2b06e66d */ 2504 L_2B06E667: 2505 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E667: call dword ptr [0x2b0b51a8] */ 2506 RECOMP_FLAGS_IN(); 2507 L_2B06E66D: 2508 /* test edi, edi */ /* 0x2B06E66D: test edi, edi */ 2509 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2510 _cf = 0; 2511 _flag_k = FK_TEST; 2512 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E72A; /* 0x2B06E66F: jbe 0x2b06e72a */ 2513 L_2B06E675: 2514 ecx = MEM32(ebp + (-0x8)); /* 0x2B06E675: mov ecx, dword ptr [ebp - 8] */ 2515 edx = MEM32(ecx + 0x8); /* 0x2B06E678: mov edx, dword ptr [ecx + 8] */ 2516 eax = edi; /* 0x2B06E67B: mov eax, edi */ 2517 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 2518 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2519 eax = eax + edx; /* 0x2B06E67D: add eax, edx */ 2520 _flag_k = FK_ADD; 2521 PUSH32(esp, 0); /* 0x2B06E67F: push 0 */ 2522 PUSH32(esp, eax); /* 0x2B06E681: push eax */ 2523 MEM32(ebp + (-0x14)) = eax; /* 0x2B06E682: mov dword ptr [ebp - 0x14], eax */ 2524 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E685: call dword ptr [0x2b0b5154] */ 2525 RECOMP_FLAGS_IN(); 2526 /* test LO8(eax), LO8(eax) */ /* 0x2B06E68B: test al, al */ 2527 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2528 _cf = 0; 2529 _flag_k = FK_NARROW(FK_TEST, 24); 2530 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E72A; /* 0x2B06E68D: je 0x2b06e72a */ 2531 L_2B06E693: 2532 eax = MEM32(ebp + (-0x8)); /* 0x2B06E693: mov eax, dword ptr [ebp - 8] */ 2533 edx = MEM32(eax + 0x8); /* 0x2B06E696: mov edx, dword ptr [eax + 8] */ 2534 ecx = edi; /* 0x2B06E699: mov ecx, edi */ 2535 edi = MEM32(eax + 0x4); /* 0x2B06E69B: mov edi, dword ptr [eax + 4] */ 2536 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 2537 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2538 edi = edi + edx; /* 0x2B06E69E: add edi, edx */ 2539 _flag_k = FK_ADD; 2540 edx = ecx; /* 0x2B06E6A0: mov edx, ecx */ 2541 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E6A2: shr ecx, 2 */ 2542 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2543 ecx = ecx >> 2u; /* 0x2B06E6A2: shr ecx, 2 */ 2544 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E6A5: 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; } 2545 ecx = edx; /* 0x2B06E6A7: mov ecx, edx */ 2546 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 2547 ecx = ecx & 3; /* 0x2B06E6A9: and ecx, 3 */ 2548 _cf = 0; 2549 _flag_k = FK_TEST; 2550 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E6AC: 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; } 2551 ecx = MEM32(ebp + (-0x14)); /* 0x2B06E6AE: mov ecx, dword ptr [ebp - 0x14] */ 2552 goto L_2B06E721; /* 0x2B06E6B1: jmp 0x2b06e721 */ 2553 L_2B06E6B3: 2554 edx = MEM32(0x2B0B515C); /* 0x2B06E6B3: mov edx, dword ptr [0x2b0b515c] */ 2555 esi = MEM32(ebx + 0x28); /* 0x2B06E6B9: mov esi, dword ptr [ebx + 0x28] */ 2556 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2557 eax = 0; /* 0x2B06E6BC: xor eax, eax */ 2558 _cf = 0; 2559 _flag_k = FK_TEST; 2560 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 2561 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E6BE: or ecx, 0xffffffff */ 2562 _cf = 0; 2563 _flag_k = FK_TEST; 2564 edi = 0x2B0EB634u; /* 0x2B06E6C1: mov edi, 0x2b0eb634 */ 2565 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; } /* 0x2B06E6C6: repne scasb al, byte ptr es:[edi] */ 2566 eax = MEM32(edx); /* 0x2B06E6C8: mov eax, dword ptr [edx] */ 2567 edx = MEM32(esi + 0x8); /* 0x2B06E6CA: mov edx, dword ptr [esi + 8] */ 2568 ecx = ~ecx; /* 0x2B06E6CD: not ecx */ 2569 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2570 ecx = ecx - 1; /* 0x2B06E6CF: dec ecx */ 2571 _flag_k = FK_DEC; 2572 edi = ecx; /* 0x2B06E6D0: mov edi, ecx */ 2573 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 2574 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2575 eax = eax - edx; /* 0x2B06E6D2: sub eax, edx */ 2576 _flag_k = FK_CMP; 2577 /* cmp eax, edi */ /* 0x2B06E6D4: cmp eax, edi */ 2578 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2579 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2580 _flag_k = FK_CMP; 2581 MEM32(ebp + (-0x14)) = esi; /* 0x2B06E6D6: mov dword ptr [ebp - 0x14], esi */ 2582 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E6E1; /* 0x2B06E6D9: ja 0x2b06e6e1 */ 2583 L_2B06E6DB: 2584 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E6DB: call dword ptr [0x2b0b51a8] */ 2585 RECOMP_FLAGS_IN(); 2586 L_2B06E6E1: 2587 /* test edi, edi */ /* 0x2B06E6E1: test edi, edi */ 2588 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2589 _cf = 0; 2590 _flag_k = FK_TEST; 2591 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E72A; /* 0x2B06E6E3: jbe 0x2b06e72a */ 2592 L_2B06E6E5: 2593 edx = MEM32(esi + 0x8); /* 0x2B06E6E5: mov edx, dword ptr [esi + 8] */ 2594 eax = edi; /* 0x2B06E6E8: mov eax, edi */ 2595 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 2596 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2597 eax = eax + edx; /* 0x2B06E6EA: add eax, edx */ 2598 _flag_k = FK_ADD; 2599 PUSH32(esp, 0); /* 0x2B06E6EC: push 0 */ 2600 PUSH32(esp, eax); /* 0x2B06E6EE: push eax */ 2601 ecx = esi; /* 0x2B06E6EF: mov ecx, esi */ 2602 MEM32(ebp + (-0xC)) = eax; /* 0x2B06E6F1: mov dword ptr [ebp - 0xc], eax */ 2603 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E6F4: call dword ptr [0x2b0b5154] */ 2604 RECOMP_FLAGS_IN(); 2605 /* test LO8(eax), LO8(eax) */ /* 0x2B06E6FA: test al, al */ 2606 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2607 _cf = 0; 2608 _flag_k = FK_NARROW(FK_TEST, 24); 2609 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E72A; /* 0x2B06E6FC: je 0x2b06e72a */ 2610 L_2B06E6FE: 2611 eax = MEM32(ebp + (-0x14)); /* 0x2B06E6FE: mov eax, dword ptr [ebp - 0x14] */ 2612 edx = MEM32(eax + 0x8); /* 0x2B06E701: mov edx, dword ptr [eax + 8] */ 2613 ecx = edi; /* 0x2B06E704: mov ecx, edi */ 2614 edi = MEM32(eax + 0x4); /* 0x2B06E706: mov edi, dword ptr [eax + 4] */ 2615 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 2616 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2617 edi = edi + edx; /* 0x2B06E709: add edi, edx */ 2618 _flag_k = FK_ADD; 2619 edx = ecx; /* 0x2B06E70B: mov edx, ecx */ 2620 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E70D: shr ecx, 2 */ 2621 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2622 ecx = ecx >> 2u; /* 0x2B06E70D: shr ecx, 2 */ 2623 esi = 0x2B0EB634u; /* 0x2B06E710: mov esi, 0x2b0eb634 */ 2624 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E715: 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; } 2625 ecx = edx; /* 0x2B06E717: mov ecx, edx */ 2626 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 2627 ecx = ecx & 3; /* 0x2B06E719: and ecx, 3 */ 2628 _cf = 0; 2629 _flag_k = FK_TEST; 2630 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E71C: 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; } 2631 ecx = MEM32(ebp + (-0xC)); /* 0x2B06E71E: mov ecx, dword ptr [ebp - 0xc] */ 2632 L_2B06E721: 2633 PUSH32(esp, ecx); /* 0x2B06E721: push ecx */ 2634 ecx = eax; /* 0x2B06E722: mov ecx, eax */ 2635 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06E724: call dword ptr [0x2b0b5150] */ 2636 RECOMP_FLAGS_IN(); 2637 L_2B06E72A: 2638 edx = MEM32(ebp + (-0x18)); /* 0x2B06E72A: mov edx, dword ptr [ebp - 0x18] */ 2639 PUSH32(esp, edx); /* 0x2B06E72D: push edx */ 2640 PUSH32(esp, 0x2B0EB630u); /* 0x2B06E72E: push 0x2b0eb630 */ 2641 PUSH32(esp, 0x2B0EEE84u); /* 0x2B06E733: push 0x2b0eee84 */ 2642 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B06E738: call dword ptr [0x2b0b51f0] */ 2643 RECOMP_FLAGS_IN(); 2644 esi = MEM32(ebx + 0x28); /* 0x2B06E73E: mov esi, dword ptr [ebx + 0x28] */ 2645 edx = MEM32(esi + 0x8); /* 0x2B06E741: mov edx, dword ptr [esi + 8] */ 2646 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 2647 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E744: or ecx, 0xffffffff */ 2648 _cf = 0; 2649 _flag_k = FK_TEST; 2650 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2651 eax = 0; /* 0x2B06E747: xor eax, eax */ 2652 _cf = 0; 2653 _flag_k = FK_TEST; 2654 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 2655 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2656 esp = esp + 0xCu; /* 0x2B06E749: add esp, 0xc */ 2657 _flag_k = FK_ADD; 2658 edi = 0x2B0EEE84u; /* 0x2B06E74C: mov edi, 0x2b0eee84 */ 2659 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; } /* 0x2B06E751: repne scasb al, byte ptr es:[edi] */ 2660 eax = MEM32(0x2B0B515C); /* 0x2B06E753: mov eax, dword ptr [0x2b0b515c] */ 2661 ecx = ~ecx; /* 0x2B06E758: not ecx */ 2662 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2663 ecx = ecx - 1; /* 0x2B06E75A: dec ecx */ 2664 _flag_k = FK_DEC; 2665 edi = ecx; /* 0x2B06E75B: mov edi, ecx */ 2666 ecx = MEM32(eax); /* 0x2B06E75D: mov ecx, dword ptr [eax] */ 2667 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 2668 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2669 ecx = ecx - edx; /* 0x2B06E75F: sub ecx, edx */ 2670 _flag_k = FK_CMP; 2671 /* cmp ecx, edi */ /* 0x2B06E761: cmp ecx, edi */ 2672 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 2673 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2674 _flag_k = FK_CMP; 2675 MEM32(ebp + (-0x18)) = esi; /* 0x2B06E763: mov dword ptr [ebp - 0x18], esi */ 2676 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E76E; /* 0x2B06E766: ja 0x2b06e76e */ 2677 L_2B06E768: 2678 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E768: call dword ptr [0x2b0b51a8] */ 2679 RECOMP_FLAGS_IN(); 2680 L_2B06E76E: 2681 /* test edi, edi */ /* 0x2B06E76E: test edi, edi */ 2682 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2683 _cf = 0; 2684 _flag_k = FK_TEST; 2685 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E7B7; /* 0x2B06E770: jbe 0x2b06e7b7 */ 2686 L_2B06E772: 2687 edx = MEM32(esi + 0x8); /* 0x2B06E772: mov edx, dword ptr [esi + 8] */ 2688 eax = edi; /* 0x2B06E775: mov eax, edi */ 2689 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 2690 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2691 eax = eax + edx; /* 0x2B06E777: add eax, edx */ 2692 _flag_k = FK_ADD; 2693 PUSH32(esp, 0); /* 0x2B06E779: push 0 */ 2694 PUSH32(esp, eax); /* 0x2B06E77B: push eax */ 2695 ecx = esi; /* 0x2B06E77C: mov ecx, esi */ 2696 MEM32(ebp + (-0x14)) = eax; /* 0x2B06E77E: mov dword ptr [ebp - 0x14], eax */ 2697 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E781: call dword ptr [0x2b0b5154] */ 2698 RECOMP_FLAGS_IN(); 2699 /* test LO8(eax), LO8(eax) */ /* 0x2B06E787: test al, al */ 2700 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2701 _cf = 0; 2702 _flag_k = FK_NARROW(FK_TEST, 24); 2703 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E7B7; /* 0x2B06E789: je 0x2b06e7b7 */ 2704 L_2B06E78B: 2705 eax = MEM32(ebp + (-0x18)); /* 0x2B06E78B: mov eax, dword ptr [ebp - 0x18] */ 2706 edx = MEM32(eax + 0x8); /* 0x2B06E78E: mov edx, dword ptr [eax + 8] */ 2707 ecx = edi; /* 0x2B06E791: mov ecx, edi */ 2708 edi = MEM32(eax + 0x4); /* 0x2B06E793: mov edi, dword ptr [eax + 4] */ 2709 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 2710 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2711 edi = edi + edx; /* 0x2B06E796: add edi, edx */ 2712 _flag_k = FK_ADD; 2713 edx = ecx; /* 0x2B06E798: mov edx, ecx */ 2714 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E79A: shr ecx, 2 */ 2715 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2716 ecx = ecx >> 2u; /* 0x2B06E79A: shr ecx, 2 */ 2717 esi = 0x2B0EEE84u; /* 0x2B06E79D: mov esi, 0x2b0eee84 */ 2718 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E7A2: 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; } 2719 ecx = edx; /* 0x2B06E7A4: mov ecx, edx */ 2720 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 2721 ecx = ecx & 3; /* 0x2B06E7A6: and ecx, 3 */ 2722 _cf = 0; 2723 _flag_k = FK_TEST; 2724 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E7A9: 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; } 2725 ecx = MEM32(ebp + (-0x14)); /* 0x2B06E7AB: mov ecx, dword ptr [ebp - 0x14] */ 2726 PUSH32(esp, ecx); /* 0x2B06E7AE: push ecx */ 2727 ecx = eax; /* 0x2B06E7AF: mov ecx, eax */ 2728 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06E7B1: call dword ptr [0x2b0b5150] */ 2729 RECOMP_FLAGS_IN(); 2730 L_2B06E7B7: 2731 edx = MEM32(ebp + 0x8); /* 0x2B06E7B7: mov edx, dword ptr [ebp + 8] */ 2732 PUSH32(esp, 0x86u); /* 0x2B06E7BA: push 0x86 */ 2733 PUSH32(esp, edx); /* 0x2B06E7BF: push edx */ 2734 ecx = ebx; /* 0x2B06E7C0: mov ecx, ebx */ 2735 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06E7C2: call 0x2b0735d0 */ /* not lifted */ 2736 RECOMP_FLAGS_IN(); 2737 /* cmp eax, 0x499602D2u */ /* 0x2B06E7C7: cmp eax, 0x499602d2 */ 2738 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 2739 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2740 _flag_k = FK_CMP; 2741 MEM32(ebp + (-0xC)) = eax; /* 0x2B06E7CC: mov dword ptr [ebp - 0xc], eax */ 2742 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06E9F9; /* 0x2B06E7CF: je 0x2b06e9f9 */ 2743 L_2B06E7D5: 2744 ecx = MEM32(ebx + 0x28); /* 0x2B06E7D5: mov ecx, dword ptr [ebx + 0x28] */ 2745 PUSH32(esp, 0x13u); /* 0x2B06E7D8: push 0x13 */ 2746 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06E7DA: push -1 */ 2747 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06E7DC: call dword ptr [0x2b0b5a74] */ 2748 RECOMP_FLAGS_IN(); 2749 esi = MEM32(ebx + 0x28); /* 0x2B06E7E2: mov esi, dword ptr [ebx + 0x28] */ 2750 edx = MEM32(esi + 0x8); /* 0x2B06E7E5: mov edx, dword ptr [esi + 8] */ 2751 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 2752 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E7E8: or ecx, 0xffffffff */ 2753 _cf = 0; 2754 _flag_k = FK_TEST; 2755 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2756 eax = 0; /* 0x2B06E7EB: xor eax, eax */ 2757 _cf = 0; 2758 _flag_k = FK_TEST; 2759 edi = 0x2B0EB648u; /* 0x2B06E7ED: mov edi, 0x2b0eb648 */ 2760 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; } /* 0x2B06E7F2: repne scasb al, byte ptr es:[edi] */ 2761 eax = MEM32(0x2B0B515C); /* 0x2B06E7F4: mov eax, dword ptr [0x2b0b515c] */ 2762 ecx = ~ecx; /* 0x2B06E7F9: not ecx */ 2763 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2764 ecx = ecx - 1; /* 0x2B06E7FB: dec ecx */ 2765 _flag_k = FK_DEC; 2766 edi = ecx; /* 0x2B06E7FC: mov edi, ecx */ 2767 ecx = MEM32(eax); /* 0x2B06E7FE: mov ecx, dword ptr [eax] */ 2768 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 2769 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2770 ecx = ecx - edx; /* 0x2B06E800: sub ecx, edx */ 2771 _flag_k = FK_CMP; 2772 /* cmp ecx, edi */ /* 0x2B06E802: cmp ecx, edi */ 2773 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 2774 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2775 _flag_k = FK_CMP; 2776 MEM32(ebp + (-0x18)) = esi; /* 0x2B06E804: mov dword ptr [ebp - 0x18], esi */ 2777 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E80F; /* 0x2B06E807: ja 0x2b06e80f */ 2778 L_2B06E809: 2779 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E809: call dword ptr [0x2b0b51a8] */ 2780 RECOMP_FLAGS_IN(); 2781 L_2B06E80F: 2782 /* test edi, edi */ /* 0x2B06E80F: test edi, edi */ 2783 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2784 _cf = 0; 2785 _flag_k = FK_TEST; 2786 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E857; /* 0x2B06E811: jbe 0x2b06e857 */ 2787 L_2B06E813: 2788 eax = MEM32(esi + 0x8); /* 0x2B06E813: mov eax, dword ptr [esi + 8] */ 2789 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2790 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2791 eax = eax + edi; /* 0x2B06E816: add eax, edi */ 2792 _flag_k = FK_ADD; 2793 PUSH32(esp, 0); /* 0x2B06E818: push 0 */ 2794 PUSH32(esp, eax); /* 0x2B06E81A: push eax */ 2795 ecx = esi; /* 0x2B06E81B: mov ecx, esi */ 2796 MEM32(ebp + (-0x14)) = eax; /* 0x2B06E81D: mov dword ptr [ebp - 0x14], eax */ 2797 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E820: call dword ptr [0x2b0b5154] */ 2798 RECOMP_FLAGS_IN(); 2799 /* test LO8(eax), LO8(eax) */ /* 0x2B06E826: test al, al */ 2800 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2801 _cf = 0; 2802 _flag_k = FK_NARROW(FK_TEST, 24); 2803 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E857; /* 0x2B06E828: je 0x2b06e857 */ 2804 L_2B06E82A: 2805 eax = MEM32(ebp + (-0x18)); /* 0x2B06E82A: mov eax, dword ptr [ebp - 0x18] */ 2806 edx = MEM32(eax + 0x4); /* 0x2B06E82D: mov edx, dword ptr [eax + 4] */ 2807 ecx = edi; /* 0x2B06E830: mov ecx, edi */ 2808 edi = MEM32(eax + 0x8); /* 0x2B06E832: mov edi, dword ptr [eax + 8] */ 2809 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 2810 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2811 edi = edi + edx; /* 0x2B06E835: add edi, edx */ 2812 _flag_k = FK_ADD; 2813 edx = ecx; /* 0x2B06E837: mov edx, ecx */ 2814 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E839: shr ecx, 2 */ 2815 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2816 ecx = ecx >> 2u; /* 0x2B06E839: shr ecx, 2 */ 2817 esi = 0x2B0EB648u; /* 0x2B06E83C: mov esi, 0x2b0eb648 */ 2818 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E841: 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; } 2819 ecx = edx; /* 0x2B06E843: mov ecx, edx */ 2820 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 2821 ecx = ecx & 3; /* 0x2B06E845: and ecx, 3 */ 2822 _cf = 0; 2823 _flag_k = FK_TEST; 2824 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E848: 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; } 2825 ecx = MEM32(ebp + (-0x14)); /* 0x2B06E84A: mov ecx, dword ptr [ebp - 0x14] */ 2826 MEM32(eax + 0x8) = ecx; /* 0x2B06E84D: mov dword ptr [eax + 8], ecx */ 2827 eax = MEM32(eax + 0x4); /* 0x2B06E850: mov eax, dword ptr [eax + 4] */ 2828 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B06E853: mov byte ptr [eax + ecx], 0 */ 2829 L_2B06E857: 2830 ecx = MEM32(ebx + 0x28); /* 0x2B06E857: mov ecx, dword ptr [ebx + 0x28] */ 2831 PUSH32(esp, 0x14u); /* 0x2B06E85A: push 0x14 */ 2832 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06E85C: push -1 */ 2833 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06E85E: call dword ptr [0x2b0b5a74] */ 2834 RECOMP_FLAGS_IN(); 2835 PUSH32(esp, 0x86u); /* 0x2B06E864: push 0x86 */ 2836 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06E869: call dword ptr [0x2b0b5d6c] */ 2837 RECOMP_FLAGS_IN(); 2838 ecx = eax; /* 0x2B06E86F: mov ecx, eax */ 2839 RECOMP_ICALL(MEM32(0x2B0B5DB4)); /* 0x2B06E871: call dword ptr [0x2b0b5db4] */ 2840 RECOMP_FLAGS_IN(); 2841 esi = eax; /* 0x2B06E877: mov esi, eax */ 2842 /* test esi, esi */ /* 0x2B06E879: test esi, esi */ 2843 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 2844 _cf = 0; 2845 _flag_k = FK_TEST; 2846 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E8F6; /* 0x2B06E87B: je 0x2b06e8f6 */ 2847 L_2B06E87D: 2848 edx = MEM32(ebx + 0x28); /* 0x2B06E87D: mov edx, dword ptr [ebx + 0x28] */ 2849 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 2850 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E880: or ecx, 0xffffffff */ 2851 _cf = 0; 2852 _flag_k = FK_TEST; 2853 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2854 eax = 0; /* 0x2B06E883: xor eax, eax */ 2855 _cf = 0; 2856 _flag_k = FK_TEST; 2857 edi = esi; /* 0x2B06E885: mov edi, esi */ 2858 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; } /* 0x2B06E887: repne scasb al, byte ptr es:[edi] */ 2859 ecx = ~ecx; /* 0x2B06E889: not ecx */ 2860 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2861 ecx = ecx - 1; /* 0x2B06E88B: dec ecx */ 2862 _flag_k = FK_DEC; 2863 edi = ecx; /* 0x2B06E88C: mov edi, ecx */ 2864 ecx = MEM32(0x2B0B515C); /* 0x2B06E88E: mov ecx, dword ptr [0x2b0b515c] */ 2865 eax = MEM32(ecx); /* 0x2B06E894: mov eax, dword ptr [ecx] */ 2866 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 2867 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2868 eax = eax - MEM32(edx + 0x8); /* 0x2B06E896: sub eax, dword ptr [edx + 8] */ 2869 _flag_k = FK_CMP; 2870 /* cmp eax, edi */ /* 0x2B06E899: cmp eax, edi */ 2871 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2872 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2873 _flag_k = FK_CMP; 2874 MEM32(ebp + (-0x8)) = edx; /* 0x2B06E89B: mov dword ptr [ebp - 8], edx */ 2875 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E8A6; /* 0x2B06E89E: ja 0x2b06e8a6 */ 2876 L_2B06E8A0: 2877 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E8A0: call dword ptr [0x2b0b51a8] */ 2878 RECOMP_FLAGS_IN(); 2879 L_2B06E8A6: 2880 /* test edi, edi */ /* 0x2B06E8A6: test edi, edi */ 2881 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2882 _cf = 0; 2883 _flag_k = FK_TEST; 2884 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E96A; /* 0x2B06E8A8: jbe 0x2b06e96a */ 2885 L_2B06E8AE: 2886 ecx = MEM32(ebp + (-0x8)); /* 0x2B06E8AE: mov ecx, dword ptr [ebp - 8] */ 2887 edx = MEM32(ecx + 0x8); /* 0x2B06E8B1: mov edx, dword ptr [ecx + 8] */ 2888 eax = edi; /* 0x2B06E8B4: mov eax, edi */ 2889 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 2890 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2891 eax = eax + edx; /* 0x2B06E8B6: add eax, edx */ 2892 _flag_k = FK_ADD; 2893 PUSH32(esp, 0); /* 0x2B06E8B8: push 0 */ 2894 PUSH32(esp, eax); /* 0x2B06E8BA: push eax */ 2895 MEM32(ebp + (-0x18)) = eax; /* 0x2B06E8BB: mov dword ptr [ebp - 0x18], eax */ 2896 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E8BE: call dword ptr [0x2b0b5154] */ 2897 RECOMP_FLAGS_IN(); 2898 /* test LO8(eax), LO8(eax) */ /* 0x2B06E8C4: test al, al */ 2899 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2900 _cf = 0; 2901 _flag_k = FK_NARROW(FK_TEST, 24); 2902 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E96A; /* 0x2B06E8C6: je 0x2b06e96a */ 2903 L_2B06E8CC: 2904 eax = MEM32(ebp + (-0x8)); /* 0x2B06E8CC: mov eax, dword ptr [ebp - 8] */ 2905 edx = MEM32(eax + 0x4); /* 0x2B06E8CF: mov edx, dword ptr [eax + 4] */ 2906 ecx = edi; /* 0x2B06E8D2: mov ecx, edi */ 2907 edi = MEM32(eax + 0x8); /* 0x2B06E8D4: mov edi, dword ptr [eax + 8] */ 2908 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 2909 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2910 edi = edi + edx; /* 0x2B06E8D7: add edi, edx */ 2911 _flag_k = FK_ADD; 2912 edx = ecx; /* 0x2B06E8D9: mov edx, ecx */ 2913 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E8DB: shr ecx, 2 */ 2914 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2915 ecx = ecx >> 2u; /* 0x2B06E8DB: shr ecx, 2 */ 2916 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E8DE: 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; } 2917 ecx = edx; /* 0x2B06E8E0: mov ecx, edx */ 2918 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 2919 ecx = ecx & 3; /* 0x2B06E8E2: and ecx, 3 */ 2920 _cf = 0; 2921 _flag_k = FK_TEST; 2922 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E8E5: 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; } 2923 ecx = MEM32(ebp + (-0x18)); /* 0x2B06E8E7: mov ecx, dword ptr [ebp - 0x18] */ 2924 MEM32(eax + 0x8) = ecx; /* 0x2B06E8EA: mov dword ptr [eax + 8], ecx */ 2925 eax = MEM32(eax + 0x4); /* 0x2B06E8ED: mov eax, dword ptr [eax + 4] */ 2926 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06E8F0: mov byte ptr [ecx + eax], 0 */ 2927 goto L_2B06E96A; /* 0x2B06E8F4: jmp 0x2b06e96a */ 2928 L_2B06E8F6: 2929 esi = MEM32(ebx + 0x28); /* 0x2B06E8F6: mov esi, dword ptr [ebx + 0x28] */ 2930 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 2931 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E8F9: or ecx, 0xffffffff */ 2932 _cf = 0; 2933 _flag_k = FK_TEST; 2934 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2935 eax = 0; /* 0x2B06E8FC: xor eax, eax */ 2936 _cf = 0; 2937 _flag_k = FK_TEST; 2938 edi = 0x2B0EB634u; /* 0x2B06E8FE: mov edi, 0x2b0eb634 */ 2939 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; } /* 0x2B06E903: repne scasb al, byte ptr es:[edi] */ 2940 ecx = ~ecx; /* 0x2B06E905: not ecx */ 2941 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2942 ecx = ecx - 1; /* 0x2B06E907: dec ecx */ 2943 _flag_k = FK_DEC; 2944 edi = ecx; /* 0x2B06E908: mov edi, ecx */ 2945 ecx = MEM32(0x2B0B515C); /* 0x2B06E90A: mov ecx, dword ptr [0x2b0b515c] */ 2946 edx = MEM32(ecx); /* 0x2B06E910: mov edx, dword ptr [ecx] */ 2947 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2948 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2949 edx = edx - MEM32(esi + 0x8); /* 0x2B06E912: sub edx, dword ptr [esi + 8] */ 2950 _flag_k = FK_CMP; 2951 /* cmp edx, edi */ /* 0x2B06E915: cmp edx, edi */ 2952 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 2953 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2954 _flag_k = FK_CMP; 2955 MEM32(ebp + (-0x18)) = esi; /* 0x2B06E917: mov dword ptr [ebp - 0x18], esi */ 2956 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E922; /* 0x2B06E91A: ja 0x2b06e922 */ 2957 L_2B06E91C: 2958 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E91C: call dword ptr [0x2b0b51a8] */ 2959 RECOMP_FLAGS_IN(); 2960 L_2B06E922: 2961 /* test edi, edi */ /* 0x2B06E922: test edi, edi */ 2962 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2963 _cf = 0; 2964 _flag_k = FK_TEST; 2965 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E96A; /* 0x2B06E924: jbe 0x2b06e96a */ 2966 L_2B06E926: 2967 eax = MEM32(esi + 0x8); /* 0x2B06E926: mov eax, dword ptr [esi + 8] */ 2968 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2969 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2970 eax = eax + edi; /* 0x2B06E929: add eax, edi */ 2971 _flag_k = FK_ADD; 2972 PUSH32(esp, 0); /* 0x2B06E92B: push 0 */ 2973 PUSH32(esp, eax); /* 0x2B06E92D: push eax */ 2974 ecx = esi; /* 0x2B06E92E: mov ecx, esi */ 2975 MEM32(ebp + (-0x14)) = eax; /* 0x2B06E930: mov dword ptr [ebp - 0x14], eax */ 2976 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E933: call dword ptr [0x2b0b5154] */ 2977 RECOMP_FLAGS_IN(); 2978 /* test LO8(eax), LO8(eax) */ /* 0x2B06E939: test al, al */ 2979 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2980 _cf = 0; 2981 _flag_k = FK_NARROW(FK_TEST, 24); 2982 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E96A; /* 0x2B06E93B: je 0x2b06e96a */ 2983 L_2B06E93D: 2984 eax = MEM32(ebp + (-0x18)); /* 0x2B06E93D: mov eax, dword ptr [ebp - 0x18] */ 2985 edx = MEM32(eax + 0x4); /* 0x2B06E940: mov edx, dword ptr [eax + 4] */ 2986 ecx = edi; /* 0x2B06E943: mov ecx, edi */ 2987 edi = MEM32(eax + 0x8); /* 0x2B06E945: mov edi, dword ptr [eax + 8] */ 2988 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 2989 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2990 edi = edi + edx; /* 0x2B06E948: add edi, edx */ 2991 _flag_k = FK_ADD; 2992 edx = ecx; /* 0x2B06E94A: mov edx, ecx */ 2993 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E94C: shr ecx, 2 */ 2994 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2995 ecx = ecx >> 2u; /* 0x2B06E94C: shr ecx, 2 */ 2996 esi = 0x2B0EB634u; /* 0x2B06E94F: mov esi, 0x2b0eb634 */ 2997 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E954: 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; } 2998 ecx = edx; /* 0x2B06E956: mov ecx, edx */ 2999 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 3000 ecx = ecx & 3; /* 0x2B06E958: and ecx, 3 */ 3001 _cf = 0; 3002 _flag_k = FK_TEST; 3003 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E95B: 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; } 3004 ecx = MEM32(ebp + (-0x14)); /* 0x2B06E95D: mov ecx, dword ptr [ebp - 0x14] */ 3005 MEM32(eax + 0x8) = ecx; /* 0x2B06E960: mov dword ptr [eax + 8], ecx */ 3006 eax = MEM32(eax + 0x4); /* 0x2B06E963: mov eax, dword ptr [eax + 4] */ 3007 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B06E966: mov byte ptr [eax + ecx], 0 */ 3008 L_2B06E96A: 3009 ecx = MEM32(ebp + (-0xC)); /* 0x2B06E96A: mov ecx, dword ptr [ebp - 0xc] */ 3010 PUSH32(esp, ecx); /* 0x2B06E96D: push ecx */ 3011 PUSH32(esp, 0x2B0EB630u); /* 0x2B06E96E: push 0x2b0eb630 */ 3012 PUSH32(esp, 0x2B0EEE84u); /* 0x2B06E973: push 0x2b0eee84 */ 3013 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B06E978: call dword ptr [0x2b0b51f0] */ 3014 RECOMP_FLAGS_IN(); 3015 edx = MEM32(0x2B0B515C); /* 0x2B06E97E: mov edx, dword ptr [0x2b0b515c] */ 3016 esi = MEM32(ebx + 0x28); /* 0x2B06E984: mov esi, dword ptr [ebx + 0x28] */ 3017 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3018 eax = 0; /* 0x2B06E987: xor eax, eax */ 3019 _cf = 0; 3020 _flag_k = FK_TEST; 3021 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3022 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E989: or ecx, 0xffffffff */ 3023 _cf = 0; 3024 _flag_k = FK_TEST; 3025 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 3026 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3027 esp = esp + 0xCu; /* 0x2B06E98C: add esp, 0xc */ 3028 _flag_k = FK_ADD; 3029 edi = 0x2B0EEE84u; /* 0x2B06E98F: mov edi, 0x2b0eee84 */ 3030 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; } /* 0x2B06E994: repne scasb al, byte ptr es:[edi] */ 3031 eax = MEM32(edx); /* 0x2B06E996: mov eax, dword ptr [edx] */ 3032 edx = MEM32(esi + 0x8); /* 0x2B06E998: mov edx, dword ptr [esi + 8] */ 3033 ecx = ~ecx; /* 0x2B06E99B: not ecx */ 3034 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 3035 ecx = ecx - 1; /* 0x2B06E99D: dec ecx */ 3036 _flag_k = FK_DEC; 3037 edi = ecx; /* 0x2B06E99E: mov edi, ecx */ 3038 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 3039 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3040 eax = eax - edx; /* 0x2B06E9A0: sub eax, edx */ 3041 _flag_k = FK_CMP; 3042 /* cmp eax, edi */ /* 0x2B06E9A2: cmp eax, edi */ 3043 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3044 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3045 _flag_k = FK_CMP; 3046 MEM32(ebp + (-0x18)) = esi; /* 0x2B06E9A4: mov dword ptr [ebp - 0x18], esi */ 3047 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E9AF; /* 0x2B06E9A7: ja 0x2b06e9af */ 3048 L_2B06E9A9: 3049 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E9A9: call dword ptr [0x2b0b51a8] */ 3050 RECOMP_FLAGS_IN(); 3051 L_2B06E9AF: 3052 /* test edi, edi */ /* 0x2B06E9AF: test edi, edi */ 3053 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3054 _cf = 0; 3055 _flag_k = FK_TEST; 3056 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E9F9; /* 0x2B06E9B1: jbe 0x2b06e9f9 */ 3057 L_2B06E9B3: 3058 edx = MEM32(esi + 0x8); /* 0x2B06E9B3: mov edx, dword ptr [esi + 8] */ 3059 eax = edi; /* 0x2B06E9B6: mov eax, edi */ 3060 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 3061 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3062 eax = eax + edx; /* 0x2B06E9B8: add eax, edx */ 3063 _flag_k = FK_ADD; 3064 PUSH32(esp, 0); /* 0x2B06E9BA: push 0 */ 3065 PUSH32(esp, eax); /* 0x2B06E9BC: push eax */ 3066 ecx = esi; /* 0x2B06E9BD: mov ecx, esi */ 3067 MEM32(ebp + (-0x14)) = eax; /* 0x2B06E9BF: mov dword ptr [ebp - 0x14], eax */ 3068 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E9C2: call dword ptr [0x2b0b5154] */ 3069 RECOMP_FLAGS_IN(); 3070 /* test LO8(eax), LO8(eax) */ /* 0x2B06E9C8: test al, al */ 3071 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3072 _cf = 0; 3073 _flag_k = FK_NARROW(FK_TEST, 24); 3074 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E9F9; /* 0x2B06E9CA: je 0x2b06e9f9 */ 3075 L_2B06E9CC: 3076 eax = MEM32(ebp + (-0x18)); /* 0x2B06E9CC: mov eax, dword ptr [ebp - 0x18] */ 3077 edx = MEM32(eax + 0x4); /* 0x2B06E9CF: mov edx, dword ptr [eax + 4] */ 3078 ecx = edi; /* 0x2B06E9D2: mov ecx, edi */ 3079 edi = MEM32(eax + 0x8); /* 0x2B06E9D4: mov edi, dword ptr [eax + 8] */ 3080 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 3081 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3082 edi = edi + edx; /* 0x2B06E9D7: add edi, edx */ 3083 _flag_k = FK_ADD; 3084 edx = ecx; /* 0x2B06E9D9: mov edx, ecx */ 3085 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E9DB: shr ecx, 2 */ 3086 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3087 ecx = ecx >> 2u; /* 0x2B06E9DB: shr ecx, 2 */ 3088 esi = 0x2B0EEE84u; /* 0x2B06E9DE: mov esi, 0x2b0eee84 */ 3089 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E9E3: 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; } 3090 ecx = edx; /* 0x2B06E9E5: mov ecx, edx */ 3091 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 3092 ecx = ecx & 3; /* 0x2B06E9E7: and ecx, 3 */ 3093 _cf = 0; 3094 _flag_k = FK_TEST; 3095 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E9EA: 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; } 3096 ecx = MEM32(ebp + (-0x14)); /* 0x2B06E9EC: mov ecx, dword ptr [ebp - 0x14] */ 3097 MEM32(eax + 0x8) = ecx; /* 0x2B06E9EF: mov dword ptr [eax + 8], ecx */ 3098 eax = MEM32(eax + 0x4); /* 0x2B06E9F2: mov eax, dword ptr [eax + 4] */ 3099 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06E9F5: mov byte ptr [ecx + eax], 0 */ 3100 L_2B06E9F9: 3101 ecx = MEM32(ebp + 0x8); /* 0x2B06E9F9: mov ecx, dword ptr [ebp + 8] */ 3102 PUSH32(esp, 0x64u); /* 0x2B06E9FC: push 0x64 */ 3103 PUSH32(esp, ecx); /* 0x2B06E9FE: push ecx */ 3104 ecx = ebx; /* 0x2B06E9FF: mov ecx, ebx */ 3105 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06EA01: call 0x2b0735d0 */ /* not lifted */ 3106 RECOMP_FLAGS_IN(); 3107 /* cmp eax, 0x499602D2u */ /* 0x2B06EA06: cmp eax, 0x499602d2 */ 3108 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 3109 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3110 _flag_k = FK_CMP; 3111 MEM32(ebp + (-0x8)) = eax; /* 0x2B06EA0B: mov dword ptr [ebp - 8], eax */ 3112 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06EC43; /* 0x2B06EA0E: je 0x2b06ec43 */ 3113 L_2B06EA14: 3114 eax = MEM32(ebp + (-0xC)); /* 0x2B06EA14: mov eax, dword ptr [ebp - 0xc] */ 3115 /* test eax, eax */ /* 0x2B06EA17: test eax, eax */ 3116 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3117 _cf = 0; 3118 _flag_k = FK_TEST; 3119 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EC43; /* 0x2B06EA19: je 0x2b06ec43 */ 3120 L_2B06EA1F: 3121 ecx = MEM32(ebx + 0x28); /* 0x2B06EA1F: mov ecx, dword ptr [ebx + 0x28] */ 3122 PUSH32(esp, 0x13u); /* 0x2B06EA22: push 0x13 */ 3123 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EA24: push -1 */ 3124 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EA26: call dword ptr [0x2b0b5a74] */ 3125 RECOMP_FLAGS_IN(); 3126 edx = MEM32(0x2B0B515C); /* 0x2B06EA2C: mov edx, dword ptr [0x2b0b515c] */ 3127 esi = MEM32(ebx + 0x28); /* 0x2B06EA32: mov esi, dword ptr [ebx + 0x28] */ 3128 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3129 eax = 0; /* 0x2B06EA35: xor eax, eax */ 3130 _cf = 0; 3131 _flag_k = FK_TEST; 3132 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3133 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EA37: or ecx, 0xffffffff */ 3134 _cf = 0; 3135 _flag_k = FK_TEST; 3136 edi = 0x2B0EB614u; /* 0x2B06EA3A: mov edi, 0x2b0eb614 */ 3137 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; } /* 0x2B06EA3F: repne scasb al, byte ptr es:[edi] */ 3138 eax = MEM32(edx); /* 0x2B06EA41: mov eax, dword ptr [edx] */ 3139 edx = MEM32(esi + 0x8); /* 0x2B06EA43: mov edx, dword ptr [esi + 8] */ 3140 ecx = ~ecx; /* 0x2B06EA46: not ecx */ 3141 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 3142 ecx = ecx - 1; /* 0x2B06EA48: dec ecx */ 3143 _flag_k = FK_DEC; 3144 edi = ecx; /* 0x2B06EA49: mov edi, ecx */ 3145 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 3146 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3147 eax = eax - edx; /* 0x2B06EA4B: sub eax, edx */ 3148 _flag_k = FK_CMP; 3149 /* cmp eax, edi */ /* 0x2B06EA4D: cmp eax, edi */ 3150 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3151 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3152 _flag_k = FK_CMP; 3153 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EA4F: mov dword ptr [ebp - 0x18], esi */ 3154 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EA5A; /* 0x2B06EA52: ja 0x2b06ea5a */ 3155 L_2B06EA54: 3156 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EA54: call dword ptr [0x2b0b51a8] */ 3157 RECOMP_FLAGS_IN(); 3158 L_2B06EA5A: 3159 /* test edi, edi */ /* 0x2B06EA5A: test edi, edi */ 3160 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3161 _cf = 0; 3162 _flag_k = FK_TEST; 3163 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EAA4; /* 0x2B06EA5C: jbe 0x2b06eaa4 */ 3164 L_2B06EA5E: 3165 edx = MEM32(esi + 0x8); /* 0x2B06EA5E: mov edx, dword ptr [esi + 8] */ 3166 eax = edi; /* 0x2B06EA61: mov eax, edi */ 3167 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 3168 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3169 eax = eax + edx; /* 0x2B06EA63: add eax, edx */ 3170 _flag_k = FK_ADD; 3171 PUSH32(esp, 0); /* 0x2B06EA65: push 0 */ 3172 PUSH32(esp, eax); /* 0x2B06EA67: push eax */ 3173 ecx = esi; /* 0x2B06EA68: mov ecx, esi */ 3174 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EA6A: mov dword ptr [ebp - 0x14], eax */ 3175 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EA6D: call dword ptr [0x2b0b5154] */ 3176 RECOMP_FLAGS_IN(); 3177 /* test LO8(eax), LO8(eax) */ /* 0x2B06EA73: test al, al */ 3178 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3179 _cf = 0; 3180 _flag_k = FK_NARROW(FK_TEST, 24); 3181 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EAA4; /* 0x2B06EA75: je 0x2b06eaa4 */ 3182 L_2B06EA77: 3183 eax = MEM32(ebp + (-0x18)); /* 0x2B06EA77: mov eax, dword ptr [ebp - 0x18] */ 3184 edx = MEM32(eax + 0x4); /* 0x2B06EA7A: mov edx, dword ptr [eax + 4] */ 3185 ecx = edi; /* 0x2B06EA7D: mov ecx, edi */ 3186 edi = MEM32(eax + 0x8); /* 0x2B06EA7F: mov edi, dword ptr [eax + 8] */ 3187 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 3188 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3189 edi = edi + edx; /* 0x2B06EA82: add edi, edx */ 3190 _flag_k = FK_ADD; 3191 edx = ecx; /* 0x2B06EA84: mov edx, ecx */ 3192 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EA86: shr ecx, 2 */ 3193 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3194 ecx = ecx >> 2u; /* 0x2B06EA86: shr ecx, 2 */ 3195 esi = 0x2B0EB614u; /* 0x2B06EA89: mov esi, 0x2b0eb614 */ 3196 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EA8E: 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; } 3197 ecx = edx; /* 0x2B06EA90: mov ecx, edx */ 3198 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 3199 ecx = ecx & 3; /* 0x2B06EA92: and ecx, 3 */ 3200 _cf = 0; 3201 _flag_k = FK_TEST; 3202 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EA95: 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; } 3203 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EA97: mov ecx, dword ptr [ebp - 0x14] */ 3204 MEM32(eax + 0x8) = ecx; /* 0x2B06EA9A: mov dword ptr [eax + 8], ecx */ 3205 eax = MEM32(eax + 0x4); /* 0x2B06EA9D: mov eax, dword ptr [eax + 4] */ 3206 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EAA0: mov byte ptr [ecx + eax], 0 */ 3207 L_2B06EAA4: 3208 ecx = MEM32(ebx + 0x28); /* 0x2B06EAA4: mov ecx, dword ptr [ebx + 0x28] */ 3209 PUSH32(esp, 0x14u); /* 0x2B06EAA7: push 0x14 */ 3210 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EAA9: push -1 */ 3211 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EAAB: call dword ptr [0x2b0b5a74] */ 3212 RECOMP_FLAGS_IN(); 3213 PUSH32(esp, 0x64u); /* 0x2B06EAB1: push 0x64 */ 3214 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06EAB3: call dword ptr [0x2b0b5d6c] */ 3215 RECOMP_FLAGS_IN(); 3216 ecx = eax; /* 0x2B06EAB9: mov ecx, eax */ 3217 RECOMP_ICALL(MEM32(0x2B0B5DB4)); /* 0x2B06EABB: call dword ptr [0x2b0b5db4] */ 3218 RECOMP_FLAGS_IN(); 3219 esi = eax; /* 0x2B06EAC1: mov esi, eax */ 3220 /* test esi, esi */ /* 0x2B06EAC3: test esi, esi */ 3221 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 3222 _cf = 0; 3223 _flag_k = FK_TEST; 3224 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EB40; /* 0x2B06EAC5: je 0x2b06eb40 */ 3225 L_2B06EAC7: 3226 edx = MEM32(ebx + 0x28); /* 0x2B06EAC7: mov edx, dword ptr [ebx + 0x28] */ 3227 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3228 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EACA: or ecx, 0xffffffff */ 3229 _cf = 0; 3230 _flag_k = FK_TEST; 3231 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3232 eax = 0; /* 0x2B06EACD: xor eax, eax */ 3233 _cf = 0; 3234 _flag_k = FK_TEST; 3235 edi = esi; /* 0x2B06EACF: mov edi, esi */ 3236 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; } /* 0x2B06EAD1: repne scasb al, byte ptr es:[edi] */ 3237 ecx = ~ecx; /* 0x2B06EAD3: not ecx */ 3238 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 3239 ecx = ecx - 1; /* 0x2B06EAD5: dec ecx */ 3240 _flag_k = FK_DEC; 3241 edi = ecx; /* 0x2B06EAD6: mov edi, ecx */ 3242 ecx = MEM32(0x2B0B515C); /* 0x2B06EAD8: mov ecx, dword ptr [0x2b0b515c] */ 3243 eax = MEM32(ecx); /* 0x2B06EADE: mov eax, dword ptr [ecx] */ 3244 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 3245 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3246 eax = eax - MEM32(edx + 0x8); /* 0x2B06EAE0: sub eax, dword ptr [edx + 8] */ 3247 _flag_k = FK_CMP; 3248 /* cmp eax, edi */ /* 0x2B06EAE3: cmp eax, edi */ 3249 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3250 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3251 _flag_k = FK_CMP; 3252 MEM32(ebp + (-0xC)) = edx; /* 0x2B06EAE5: mov dword ptr [ebp - 0xc], edx */ 3253 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EAF0; /* 0x2B06EAE8: ja 0x2b06eaf0 */ 3254 L_2B06EAEA: 3255 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EAEA: call dword ptr [0x2b0b51a8] */ 3256 RECOMP_FLAGS_IN(); 3257 L_2B06EAF0: 3258 /* test edi, edi */ /* 0x2B06EAF0: test edi, edi */ 3259 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3260 _cf = 0; 3261 _flag_k = FK_TEST; 3262 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EBB4; /* 0x2B06EAF2: jbe 0x2b06ebb4 */ 3263 L_2B06EAF8: 3264 ecx = MEM32(ebp + (-0xC)); /* 0x2B06EAF8: mov ecx, dword ptr [ebp - 0xc] */ 3265 edx = MEM32(ecx + 0x8); /* 0x2B06EAFB: mov edx, dword ptr [ecx + 8] */ 3266 eax = edi; /* 0x2B06EAFE: mov eax, edi */ 3267 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 3268 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3269 eax = eax + edx; /* 0x2B06EB00: add eax, edx */ 3270 _flag_k = FK_ADD; 3271 PUSH32(esp, 0); /* 0x2B06EB02: push 0 */ 3272 PUSH32(esp, eax); /* 0x2B06EB04: push eax */ 3273 MEM32(ebp + (-0x18)) = eax; /* 0x2B06EB05: mov dword ptr [ebp - 0x18], eax */ 3274 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EB08: call dword ptr [0x2b0b5154] */ 3275 RECOMP_FLAGS_IN(); 3276 /* test LO8(eax), LO8(eax) */ /* 0x2B06EB0E: test al, al */ 3277 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3278 _cf = 0; 3279 _flag_k = FK_NARROW(FK_TEST, 24); 3280 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EBB4; /* 0x2B06EB10: je 0x2b06ebb4 */ 3281 L_2B06EB16: 3282 eax = MEM32(ebp + (-0xC)); /* 0x2B06EB16: mov eax, dword ptr [ebp - 0xc] */ 3283 edx = MEM32(eax + 0x4); /* 0x2B06EB19: mov edx, dword ptr [eax + 4] */ 3284 ecx = edi; /* 0x2B06EB1C: mov ecx, edi */ 3285 edi = MEM32(eax + 0x8); /* 0x2B06EB1E: mov edi, dword ptr [eax + 8] */ 3286 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 3287 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3288 edi = edi + edx; /* 0x2B06EB21: add edi, edx */ 3289 _flag_k = FK_ADD; 3290 edx = ecx; /* 0x2B06EB23: mov edx, ecx */ 3291 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EB25: shr ecx, 2 */ 3292 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3293 ecx = ecx >> 2u; /* 0x2B06EB25: shr ecx, 2 */ 3294 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EB28: 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; } 3295 ecx = edx; /* 0x2B06EB2A: mov ecx, edx */ 3296 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 3297 ecx = ecx & 3; /* 0x2B06EB2C: and ecx, 3 */ 3298 _cf = 0; 3299 _flag_k = FK_TEST; 3300 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EB2F: 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; } 3301 ecx = MEM32(ebp + (-0x18)); /* 0x2B06EB31: mov ecx, dword ptr [ebp - 0x18] */ 3302 MEM32(eax + 0x8) = ecx; /* 0x2B06EB34: mov dword ptr [eax + 8], ecx */ 3303 eax = MEM32(eax + 0x4); /* 0x2B06EB37: mov eax, dword ptr [eax + 4] */ 3304 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EB3A: mov byte ptr [ecx + eax], 0 */ 3305 goto L_2B06EBB4; /* 0x2B06EB3E: jmp 0x2b06ebb4 */ 3306 L_2B06EB40: 3307 esi = MEM32(ebx + 0x28); /* 0x2B06EB40: mov esi, dword ptr [ebx + 0x28] */ 3308 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3309 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EB43: or ecx, 0xffffffff */ 3310 _cf = 0; 3311 _flag_k = FK_TEST; 3312 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3313 eax = 0; /* 0x2B06EB46: xor eax, eax */ 3314 _cf = 0; 3315 _flag_k = FK_TEST; 3316 edi = 0x2B0EB634u; /* 0x2B06EB48: mov edi, 0x2b0eb634 */ 3317 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; } /* 0x2B06EB4D: repne scasb al, byte ptr es:[edi] */ 3318 ecx = ~ecx; /* 0x2B06EB4F: not ecx */ 3319 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 3320 ecx = ecx - 1; /* 0x2B06EB51: dec ecx */ 3321 _flag_k = FK_DEC; 3322 edi = ecx; /* 0x2B06EB52: mov edi, ecx */ 3323 ecx = MEM32(0x2B0B515C); /* 0x2B06EB54: mov ecx, dword ptr [0x2b0b515c] */ 3324 edx = MEM32(ecx); /* 0x2B06EB5A: mov edx, dword ptr [ecx] */ 3325 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3326 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3327 edx = edx - MEM32(esi + 0x8); /* 0x2B06EB5C: sub edx, dword ptr [esi + 8] */ 3328 _flag_k = FK_CMP; 3329 /* cmp edx, edi */ /* 0x2B06EB5F: cmp edx, edi */ 3330 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 3331 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3332 _flag_k = FK_CMP; 3333 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EB61: mov dword ptr [ebp - 0x18], esi */ 3334 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EB6C; /* 0x2B06EB64: ja 0x2b06eb6c */ 3335 L_2B06EB66: 3336 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EB66: call dword ptr [0x2b0b51a8] */ 3337 RECOMP_FLAGS_IN(); 3338 L_2B06EB6C: 3339 /* test edi, edi */ /* 0x2B06EB6C: test edi, edi */ 3340 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3341 _cf = 0; 3342 _flag_k = FK_TEST; 3343 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EBB4; /* 0x2B06EB6E: jbe 0x2b06ebb4 */ 3344 L_2B06EB70: 3345 eax = MEM32(esi + 0x8); /* 0x2B06EB70: mov eax, dword ptr [esi + 8] */ 3346 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3347 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3348 eax = eax + edi; /* 0x2B06EB73: add eax, edi */ 3349 _flag_k = FK_ADD; 3350 PUSH32(esp, 0); /* 0x2B06EB75: push 0 */ 3351 PUSH32(esp, eax); /* 0x2B06EB77: push eax */ 3352 ecx = esi; /* 0x2B06EB78: mov ecx, esi */ 3353 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EB7A: mov dword ptr [ebp - 0x14], eax */ 3354 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EB7D: call dword ptr [0x2b0b5154] */ 3355 RECOMP_FLAGS_IN(); 3356 /* test LO8(eax), LO8(eax) */ /* 0x2B06EB83: test al, al */ 3357 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3358 _cf = 0; 3359 _flag_k = FK_NARROW(FK_TEST, 24); 3360 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EBB4; /* 0x2B06EB85: je 0x2b06ebb4 */ 3361 L_2B06EB87: 3362 eax = MEM32(ebp + (-0x18)); /* 0x2B06EB87: mov eax, dword ptr [ebp - 0x18] */ 3363 edx = MEM32(eax + 0x4); /* 0x2B06EB8A: mov edx, dword ptr [eax + 4] */ 3364 ecx = edi; /* 0x2B06EB8D: mov ecx, edi */ 3365 edi = MEM32(eax + 0x8); /* 0x2B06EB8F: mov edi, dword ptr [eax + 8] */ 3366 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 3367 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3368 edi = edi + edx; /* 0x2B06EB92: add edi, edx */ 3369 _flag_k = FK_ADD; 3370 edx = ecx; /* 0x2B06EB94: mov edx, ecx */ 3371 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EB96: shr ecx, 2 */ 3372 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3373 ecx = ecx >> 2u; /* 0x2B06EB96: shr ecx, 2 */ 3374 esi = 0x2B0EB634u; /* 0x2B06EB99: mov esi, 0x2b0eb634 */ 3375 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EB9E: 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; } 3376 ecx = edx; /* 0x2B06EBA0: mov ecx, edx */ 3377 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 3378 ecx = ecx & 3; /* 0x2B06EBA2: and ecx, 3 */ 3379 _cf = 0; 3380 _flag_k = FK_TEST; 3381 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EBA5: 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; } 3382 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EBA7: mov ecx, dword ptr [ebp - 0x14] */ 3383 MEM32(eax + 0x8) = ecx; /* 0x2B06EBAA: mov dword ptr [eax + 8], ecx */ 3384 eax = MEM32(eax + 0x4); /* 0x2B06EBAD: mov eax, dword ptr [eax + 4] */ 3385 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B06EBB0: mov byte ptr [eax + ecx], 0 */ 3386 L_2B06EBB4: 3387 ecx = MEM32(ebp + (-0x8)); /* 0x2B06EBB4: mov ecx, dword ptr [ebp - 8] */ 3388 PUSH32(esp, ecx); /* 0x2B06EBB7: push ecx */ 3389 PUSH32(esp, 0x2B0EB630u); /* 0x2B06EBB8: push 0x2b0eb630 */ 3390 PUSH32(esp, 0x2B0EEE84u); /* 0x2B06EBBD: push 0x2b0eee84 */ 3391 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B06EBC2: call dword ptr [0x2b0b51f0] */ 3392 RECOMP_FLAGS_IN(); 3393 edx = MEM32(0x2B0B515C); /* 0x2B06EBC8: mov edx, dword ptr [0x2b0b515c] */ 3394 esi = MEM32(ebx + 0x28); /* 0x2B06EBCE: mov esi, dword ptr [ebx + 0x28] */ 3395 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3396 eax = 0; /* 0x2B06EBD1: xor eax, eax */ 3397 _cf = 0; 3398 _flag_k = FK_TEST; 3399 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3400 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EBD3: or ecx, 0xffffffff */ 3401 _cf = 0; 3402 _flag_k = FK_TEST; 3403 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 3404 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3405 esp = esp + 0xCu; /* 0x2B06EBD6: add esp, 0xc */ 3406 _flag_k = FK_ADD; 3407 edi = 0x2B0EEE84u; /* 0x2B06EBD9: mov edi, 0x2b0eee84 */ 3408 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; } /* 0x2B06EBDE: repne scasb al, byte ptr es:[edi] */ 3409 eax = MEM32(edx); /* 0x2B06EBE0: mov eax, dword ptr [edx] */ 3410 edx = MEM32(esi + 0x8); /* 0x2B06EBE2: mov edx, dword ptr [esi + 8] */ 3411 ecx = ~ecx; /* 0x2B06EBE5: not ecx */ 3412 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 3413 ecx = ecx - 1; /* 0x2B06EBE7: dec ecx */ 3414 _flag_k = FK_DEC; 3415 edi = ecx; /* 0x2B06EBE8: mov edi, ecx */ 3416 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 3417 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3418 eax = eax - edx; /* 0x2B06EBEA: sub eax, edx */ 3419 _flag_k = FK_CMP; 3420 /* cmp eax, edi */ /* 0x2B06EBEC: cmp eax, edi */ 3421 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3422 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3423 _flag_k = FK_CMP; 3424 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EBEE: mov dword ptr [ebp - 0x18], esi */ 3425 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EBF9; /* 0x2B06EBF1: ja 0x2b06ebf9 */ 3426 L_2B06EBF3: 3427 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EBF3: call dword ptr [0x2b0b51a8] */ 3428 RECOMP_FLAGS_IN(); 3429 L_2B06EBF9: 3430 /* test edi, edi */ /* 0x2B06EBF9: test edi, edi */ 3431 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3432 _cf = 0; 3433 _flag_k = FK_TEST; 3434 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EC43; /* 0x2B06EBFB: jbe 0x2b06ec43 */ 3435 L_2B06EBFD: 3436 edx = MEM32(esi + 0x8); /* 0x2B06EBFD: mov edx, dword ptr [esi + 8] */ 3437 eax = edi; /* 0x2B06EC00: mov eax, edi */ 3438 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 3439 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3440 eax = eax + edx; /* 0x2B06EC02: add eax, edx */ 3441 _flag_k = FK_ADD; 3442 PUSH32(esp, 0); /* 0x2B06EC04: push 0 */ 3443 PUSH32(esp, eax); /* 0x2B06EC06: push eax */ 3444 ecx = esi; /* 0x2B06EC07: mov ecx, esi */ 3445 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EC09: mov dword ptr [ebp - 0x14], eax */ 3446 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EC0C: call dword ptr [0x2b0b5154] */ 3447 RECOMP_FLAGS_IN(); 3448 /* test LO8(eax), LO8(eax) */ /* 0x2B06EC12: test al, al */ 3449 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3450 _cf = 0; 3451 _flag_k = FK_NARROW(FK_TEST, 24); 3452 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EC43; /* 0x2B06EC14: je 0x2b06ec43 */ 3453 L_2B06EC16: 3454 eax = MEM32(ebp + (-0x18)); /* 0x2B06EC16: mov eax, dword ptr [ebp - 0x18] */ 3455 edx = MEM32(eax + 0x4); /* 0x2B06EC19: mov edx, dword ptr [eax + 4] */ 3456 ecx = edi; /* 0x2B06EC1C: mov ecx, edi */ 3457 edi = MEM32(eax + 0x8); /* 0x2B06EC1E: mov edi, dword ptr [eax + 8] */ 3458 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 3459 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3460 edi = edi + edx; /* 0x2B06EC21: add edi, edx */ 3461 _flag_k = FK_ADD; 3462 edx = ecx; /* 0x2B06EC23: mov edx, ecx */ 3463 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EC25: shr ecx, 2 */ 3464 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3465 ecx = ecx >> 2u; /* 0x2B06EC25: shr ecx, 2 */ 3466 esi = 0x2B0EEE84u; /* 0x2B06EC28: mov esi, 0x2b0eee84 */ 3467 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EC2D: 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; } 3468 ecx = edx; /* 0x2B06EC2F: mov ecx, edx */ 3469 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 3470 ecx = ecx & 3; /* 0x2B06EC31: and ecx, 3 */ 3471 _cf = 0; 3472 _flag_k = FK_TEST; 3473 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EC34: 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; } 3474 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EC36: mov ecx, dword ptr [ebp - 0x14] */ 3475 MEM32(eax + 0x8) = ecx; /* 0x2B06EC39: mov dword ptr [eax + 8], ecx */ 3476 eax = MEM32(eax + 0x4); /* 0x2B06EC3C: mov eax, dword ptr [eax + 4] */ 3477 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EC3F: mov byte ptr [ecx + eax], 0 */ 3478 L_2B06EC43: 3479 ecx = MEM32(ebp + 0x8); /* 0x2B06EC43: mov ecx, dword ptr [ebp + 8] */ 3480 PUSH32(esp, 0x1Eu); /* 0x2B06EC46: push 0x1e */ 3481 PUSH32(esp, ecx); /* 0x2B06EC48: push ecx */ 3482 ecx = ebx; /* 0x2B06EC49: mov ecx, ebx */ 3483 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06EC4B: call 0x2b0735d0 */ /* not lifted */ 3484 RECOMP_FLAGS_IN(); 3485 /* cmp eax, 0x499602D2u */ /* 0x2B06EC50: cmp eax, 0x499602d2 */ 3486 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 3487 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3488 _flag_k = FK_CMP; 3489 MEM32(ebp + (-0x8)) = eax; /* 0x2B06EC55: mov dword ptr [ebp - 8], eax */ 3490 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06EEED; /* 0x2B06EC58: je 0x2b06eeed */ 3491 L_2B06EC5E: 3492 /* test HI8(eax), 8 */ /* 0x2B06EC5E: test ah, 8 */ 3493 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(8) << 24; 3494 _cf = 0; 3495 _flag_k = FK_NARROW(FK_TEST, 24); 3496 MEM8(0x2B0EEE84) = (uint8_t)(0); /* 0x2B06EC61: mov byte ptr [0x2b0eee84], 0 */ 3497 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EC9A; /* 0x2B06EC68: je 0x2b06ec9a */ 3498 L_2B06EC6A: 3499 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3500 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EC6A: or ecx, 0xffffffff */ 3501 _cf = 0; 3502 _flag_k = FK_TEST; 3503 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3504 eax = 0; /* 0x2B06EC6D: xor eax, eax */ 3505 _cf = 0; 3506 _flag_k = FK_TEST; 3507 edi = 0x2B0EB60Cu; /* 0x2B06EC6F: mov edi, 0x2b0eb60c */ 3508 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; } /* 0x2B06EC74: repne scasb al, byte ptr es:[edi] */ 3509 ecx = ~ecx; /* 0x2B06EC76: not ecx */ 3510 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 3511 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3512 edi = edi - ecx; /* 0x2B06EC78: sub edi, ecx */ 3513 _flag_k = FK_CMP; 3514 edx = ecx; /* 0x2B06EC7A: mov edx, ecx */ 3515 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3516 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EC7C: or ecx, 0xffffffff */ 3517 _cf = 0; 3518 _flag_k = FK_TEST; 3519 esi = edi; /* 0x2B06EC7F: mov esi, edi */ 3520 edi = 0x2B0EEE84u; /* 0x2B06EC81: mov edi, 0x2b0eee84 */ 3521 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; } /* 0x2B06EC86: repne scasb al, byte ptr es:[edi] */ 3522 eax = MEM32(ebp + (-0x8)); /* 0x2B06EC88: mov eax, dword ptr [ebp - 8] */ 3523 ecx = edx; /* 0x2B06EC8B: mov ecx, edx */ 3524 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EC8D: shr ecx, 2 */ 3525 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3526 ecx = ecx >> 2u; /* 0x2B06EC8D: shr ecx, 2 */ 3527 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 3528 edi = edi - 1; /* 0x2B06EC90: dec edi */ 3529 _flag_k = FK_DEC; 3530 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EC91: 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; } 3531 ecx = edx; /* 0x2B06EC93: mov ecx, edx */ 3532 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 3533 ecx = ecx & 3; /* 0x2B06EC95: and ecx, 3 */ 3534 _cf = 0; 3535 _flag_k = FK_TEST; 3536 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EC98: 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; } 3537 L_2B06EC9A: 3538 /* test HI8(eax), 0x10u */ /* 0x2B06EC9A: test ah, 0x10 */ 3539 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x10u) << 24; 3540 _cf = 0; 3541 _flag_k = FK_NARROW(FK_TEST, 24); 3542 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06ECCF; /* 0x2B06EC9D: je 0x2b06eccf */ 3543 L_2B06EC9F: 3544 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3545 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EC9F: or ecx, 0xffffffff */ 3546 _cf = 0; 3547 _flag_k = FK_TEST; 3548 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3549 eax = 0; /* 0x2B06ECA2: xor eax, eax */ 3550 _cf = 0; 3551 _flag_k = FK_TEST; 3552 edi = 0x2B0EB600u; /* 0x2B06ECA4: mov edi, 0x2b0eb600 */ 3553 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; } /* 0x2B06ECA9: repne scasb al, byte ptr es:[edi] */ 3554 ecx = ~ecx; /* 0x2B06ECAB: not ecx */ 3555 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 3556 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3557 edi = edi - ecx; /* 0x2B06ECAD: sub edi, ecx */ 3558 _flag_k = FK_CMP; 3559 edx = ecx; /* 0x2B06ECAF: mov edx, ecx */ 3560 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3561 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ECB1: or ecx, 0xffffffff */ 3562 _cf = 0; 3563 _flag_k = FK_TEST; 3564 esi = edi; /* 0x2B06ECB4: mov esi, edi */ 3565 edi = 0x2B0EEE84u; /* 0x2B06ECB6: mov edi, 0x2b0eee84 */ 3566 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; } /* 0x2B06ECBB: repne scasb al, byte ptr es:[edi] */ 3567 eax = MEM32(ebp + (-0x8)); /* 0x2B06ECBD: mov eax, dword ptr [ebp - 8] */ 3568 ecx = edx; /* 0x2B06ECC0: mov ecx, edx */ 3569 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06ECC2: shr ecx, 2 */ 3570 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3571 ecx = ecx >> 2u; /* 0x2B06ECC2: shr ecx, 2 */ 3572 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 3573 edi = edi - 1; /* 0x2B06ECC5: dec edi */ 3574 _flag_k = FK_DEC; 3575 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06ECC6: 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; } 3576 ecx = edx; /* 0x2B06ECC8: mov ecx, edx */ 3577 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 3578 ecx = ecx & 3; /* 0x2B06ECCA: and ecx, 3 */ 3579 _cf = 0; 3580 _flag_k = FK_TEST; 3581 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06ECCD: 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; } 3582 L_2B06ECCF: 3583 /* test HI8(eax), 0x20u */ /* 0x2B06ECCF: test ah, 0x20 */ 3584 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x20u) << 24; 3585 _cf = 0; 3586 _flag_k = FK_NARROW(FK_TEST, 24); 3587 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06ED04; /* 0x2B06ECD2: je 0x2b06ed04 */ 3588 L_2B06ECD4: 3589 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3590 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ECD4: or ecx, 0xffffffff */ 3591 _cf = 0; 3592 _flag_k = FK_TEST; 3593 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3594 eax = 0; /* 0x2B06ECD7: xor eax, eax */ 3595 _cf = 0; 3596 _flag_k = FK_TEST; 3597 edi = 0x2B0EB5F4u; /* 0x2B06ECD9: mov edi, 0x2b0eb5f4 */ 3598 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; } /* 0x2B06ECDE: repne scasb al, byte ptr es:[edi] */ 3599 ecx = ~ecx; /* 0x2B06ECE0: not ecx */ 3600 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 3601 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3602 edi = edi - ecx; /* 0x2B06ECE2: sub edi, ecx */ 3603 _flag_k = FK_CMP; 3604 edx = ecx; /* 0x2B06ECE4: mov edx, ecx */ 3605 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3606 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ECE6: or ecx, 0xffffffff */ 3607 _cf = 0; 3608 _flag_k = FK_TEST; 3609 esi = edi; /* 0x2B06ECE9: mov esi, edi */ 3610 edi = 0x2B0EEE84u; /* 0x2B06ECEB: mov edi, 0x2b0eee84 */ 3611 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; } /* 0x2B06ECF0: repne scasb al, byte ptr es:[edi] */ 3612 eax = MEM32(ebp + (-0x8)); /* 0x2B06ECF2: mov eax, dword ptr [ebp - 8] */ 3613 ecx = edx; /* 0x2B06ECF5: mov ecx, edx */ 3614 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06ECF7: shr ecx, 2 */ 3615 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3616 ecx = ecx >> 2u; /* 0x2B06ECF7: shr ecx, 2 */ 3617 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 3618 edi = edi - 1; /* 0x2B06ECFA: dec edi */ 3619 _flag_k = FK_DEC; 3620 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06ECFB: 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; } 3621 ecx = edx; /* 0x2B06ECFD: mov ecx, edx */ 3622 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 3623 ecx = ecx & 3; /* 0x2B06ECFF: and ecx, 3 */ 3624 _cf = 0; 3625 _flag_k = FK_TEST; 3626 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06ED02: 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; } 3627 L_2B06ED04: 3628 /* test HI8(eax), 0x40u */ /* 0x2B06ED04: test ah, 0x40 */ 3629 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 3630 _cf = 0; 3631 _flag_k = FK_NARROW(FK_TEST, 24); 3632 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06ED39; /* 0x2B06ED07: je 0x2b06ed39 */ 3633 L_2B06ED09: 3634 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3635 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED09: or ecx, 0xffffffff */ 3636 _cf = 0; 3637 _flag_k = FK_TEST; 3638 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3639 eax = 0; /* 0x2B06ED0C: xor eax, eax */ 3640 _cf = 0; 3641 _flag_k = FK_TEST; 3642 edi = 0x2B0EB5ECu; /* 0x2B06ED0E: mov edi, 0x2b0eb5ec */ 3643 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; } /* 0x2B06ED13: repne scasb al, byte ptr es:[edi] */ 3644 ecx = ~ecx; /* 0x2B06ED15: not ecx */ 3645 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 3646 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3647 edi = edi - ecx; /* 0x2B06ED17: sub edi, ecx */ 3648 _flag_k = FK_CMP; 3649 edx = ecx; /* 0x2B06ED19: mov edx, ecx */ 3650 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3651 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED1B: or ecx, 0xffffffff */ 3652 _cf = 0; 3653 _flag_k = FK_TEST; 3654 esi = edi; /* 0x2B06ED1E: mov esi, edi */ 3655 edi = 0x2B0EEE84u; /* 0x2B06ED20: mov edi, 0x2b0eee84 */ 3656 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; } /* 0x2B06ED25: repne scasb al, byte ptr es:[edi] */ 3657 eax = MEM32(ebp + (-0x8)); /* 0x2B06ED27: mov eax, dword ptr [ebp - 8] */ 3658 ecx = edx; /* 0x2B06ED2A: mov ecx, edx */ 3659 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06ED2C: shr ecx, 2 */ 3660 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3661 ecx = ecx >> 2u; /* 0x2B06ED2C: shr ecx, 2 */ 3662 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 3663 edi = edi - 1; /* 0x2B06ED2F: dec edi */ 3664 _flag_k = FK_DEC; 3665 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06ED30: 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; } 3666 ecx = edx; /* 0x2B06ED32: mov ecx, edx */ 3667 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 3668 ecx = ecx & 3; /* 0x2B06ED34: and ecx, 3 */ 3669 _cf = 0; 3670 _flag_k = FK_TEST; 3671 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06ED37: 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; } 3672 L_2B06ED39: 3673 /* test HI8(eax), 0x80u */ /* 0x2B06ED39: test ah, 0x80 */ 3674 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x80u) << 24; 3675 _cf = 0; 3676 _flag_k = FK_NARROW(FK_TEST, 24); 3677 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06ED6E; /* 0x2B06ED3C: je 0x2b06ed6e */ 3678 L_2B06ED3E: 3679 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3680 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED3E: or ecx, 0xffffffff */ 3681 _cf = 0; 3682 _flag_k = FK_TEST; 3683 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3684 eax = 0; /* 0x2B06ED41: xor eax, eax */ 3685 _cf = 0; 3686 _flag_k = FK_TEST; 3687 edi = 0x2B0EB5E0u; /* 0x2B06ED43: mov edi, 0x2b0eb5e0 */ 3688 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; } /* 0x2B06ED48: repne scasb al, byte ptr es:[edi] */ 3689 ecx = ~ecx; /* 0x2B06ED4A: not ecx */ 3690 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 3691 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3692 edi = edi - ecx; /* 0x2B06ED4C: sub edi, ecx */ 3693 _flag_k = FK_CMP; 3694 edx = ecx; /* 0x2B06ED4E: mov edx, ecx */ 3695 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3696 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED50: or ecx, 0xffffffff */ 3697 _cf = 0; 3698 _flag_k = FK_TEST; 3699 esi = edi; /* 0x2B06ED53: mov esi, edi */ 3700 edi = 0x2B0EEE84u; /* 0x2B06ED55: mov edi, 0x2b0eee84 */ 3701 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; } /* 0x2B06ED5A: repne scasb al, byte ptr es:[edi] */ 3702 eax = MEM32(ebp + (-0x8)); /* 0x2B06ED5C: mov eax, dword ptr [ebp - 8] */ 3703 ecx = edx; /* 0x2B06ED5F: mov ecx, edx */ 3704 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06ED61: shr ecx, 2 */ 3705 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3706 ecx = ecx >> 2u; /* 0x2B06ED61: shr ecx, 2 */ 3707 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 3708 edi = edi - 1; /* 0x2B06ED64: dec edi */ 3709 _flag_k = FK_DEC; 3710 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06ED65: 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; } 3711 ecx = edx; /* 0x2B06ED67: mov ecx, edx */ 3712 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 3713 ecx = ecx & 3; /* 0x2B06ED69: and ecx, 3 */ 3714 _cf = 0; 3715 _flag_k = FK_TEST; 3716 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06ED6C: 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; } 3717 L_2B06ED6E: 3718 /* test eax, 0x00020000u */ /* 0x2B06ED6E: test eax, 0x20000 */ 3719 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x00020000u); 3720 _cf = 0; 3721 _flag_k = FK_TEST; 3722 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EDA5; /* 0x2B06ED73: je 0x2b06eda5 */ 3723 L_2B06ED75: 3724 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3725 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED75: or ecx, 0xffffffff */ 3726 _cf = 0; 3727 _flag_k = FK_TEST; 3728 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3729 eax = 0; /* 0x2B06ED78: xor eax, eax */ 3730 _cf = 0; 3731 _flag_k = FK_TEST; 3732 edi = 0x2B0EB5D0u; /* 0x2B06ED7A: mov edi, 0x2b0eb5d0 */ 3733 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; } /* 0x2B06ED7F: repne scasb al, byte ptr es:[edi] */ 3734 ecx = ~ecx; /* 0x2B06ED81: not ecx */ 3735 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 3736 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3737 edi = edi - ecx; /* 0x2B06ED83: sub edi, ecx */ 3738 _flag_k = FK_CMP; 3739 edx = ecx; /* 0x2B06ED85: mov edx, ecx */ 3740 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3741 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED87: or ecx, 0xffffffff */ 3742 _cf = 0; 3743 _flag_k = FK_TEST; 3744 esi = edi; /* 0x2B06ED8A: mov esi, edi */ 3745 edi = 0x2B0EEE84u; /* 0x2B06ED8C: mov edi, 0x2b0eee84 */ 3746 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; } /* 0x2B06ED91: repne scasb al, byte ptr es:[edi] */ 3747 eax = MEM32(ebp + (-0x8)); /* 0x2B06ED93: mov eax, dword ptr [ebp - 8] */ 3748 ecx = edx; /* 0x2B06ED96: mov ecx, edx */ 3749 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06ED98: shr ecx, 2 */ 3750 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3751 ecx = ecx >> 2u; /* 0x2B06ED98: shr ecx, 2 */ 3752 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 3753 edi = edi - 1; /* 0x2B06ED9B: dec edi */ 3754 _flag_k = FK_DEC; 3755 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06ED9C: 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; } 3756 ecx = edx; /* 0x2B06ED9E: mov ecx, edx */ 3757 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 3758 ecx = ecx & 3; /* 0x2B06EDA0: and ecx, 3 */ 3759 _cf = 0; 3760 _flag_k = FK_TEST; 3761 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EDA3: 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; } 3762 L_2B06EDA5: 3763 /* test eax, 0x00040000u */ /* 0x2B06EDA5: test eax, 0x40000 */ 3764 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x00040000u); 3765 _cf = 0; 3766 _flag_k = FK_TEST; 3767 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EDD9; /* 0x2B06EDAA: je 0x2b06edd9 */ 3768 L_2B06EDAC: 3769 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3770 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EDAC: or ecx, 0xffffffff */ 3771 _cf = 0; 3772 _flag_k = FK_TEST; 3773 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3774 eax = 0; /* 0x2B06EDAF: xor eax, eax */ 3775 _cf = 0; 3776 _flag_k = FK_TEST; 3777 edi = 0x2B0EB5C4u; /* 0x2B06EDB1: mov edi, 0x2b0eb5c4 */ 3778 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; } /* 0x2B06EDB6: repne scasb al, byte ptr es:[edi] */ 3779 ecx = ~ecx; /* 0x2B06EDB8: not ecx */ 3780 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 3781 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3782 edi = edi - ecx; /* 0x2B06EDBA: sub edi, ecx */ 3783 _flag_k = FK_CMP; 3784 edx = ecx; /* 0x2B06EDBC: mov edx, ecx */ 3785 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3786 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EDBE: or ecx, 0xffffffff */ 3787 _cf = 0; 3788 _flag_k = FK_TEST; 3789 esi = edi; /* 0x2B06EDC1: mov esi, edi */ 3790 edi = 0x2B0EEE84u; /* 0x2B06EDC3: mov edi, 0x2b0eee84 */ 3791 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; } /* 0x2B06EDC8: repne scasb al, byte ptr es:[edi] */ 3792 ecx = edx; /* 0x2B06EDCA: mov ecx, edx */ 3793 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EDCC: shr ecx, 2 */ 3794 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3795 ecx = ecx >> 2u; /* 0x2B06EDCC: shr ecx, 2 */ 3796 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 3797 edi = edi - 1; /* 0x2B06EDCF: dec edi */ 3798 _flag_k = FK_DEC; 3799 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EDD0: 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; } 3800 ecx = edx; /* 0x2B06EDD2: mov ecx, edx */ 3801 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 3802 ecx = ecx & 3; /* 0x2B06EDD4: and ecx, 3 */ 3803 _cf = 0; 3804 _flag_k = FK_TEST; 3805 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EDD7: 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; } 3806 L_2B06EDD9: 3807 SET_LO8(eax, MEM8(0x2B0EEE84)); /* 0x2B06EDD9: mov al, byte ptr [0x2b0eee84] */ 3808 /* test LO8(eax), LO8(eax) */ /* 0x2B06EDDE: test al, al */ 3809 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3810 _cf = 0; 3811 _flag_k = FK_NARROW(FK_TEST, 24); 3812 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EEED; /* 0x2B06EDE0: je 0x2b06eeed */ 3813 L_2B06EDE6: 3814 ecx = MEM32(ebx + 0x28); /* 0x2B06EDE6: mov ecx, dword ptr [ebx + 0x28] */ 3815 PUSH32(esp, 0x13u); /* 0x2B06EDE9: push 0x13 */ 3816 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EDEB: push -1 */ 3817 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EDED: call dword ptr [0x2b0b5a74] */ 3818 RECOMP_FLAGS_IN(); 3819 esi = MEM32(ebx + 0x28); /* 0x2B06EDF3: mov esi, dword ptr [ebx + 0x28] */ 3820 edx = MEM32(esi + 0x8); /* 0x2B06EDF6: mov edx, dword ptr [esi + 8] */ 3821 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3822 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EDF9: or ecx, 0xffffffff */ 3823 _cf = 0; 3824 _flag_k = FK_TEST; 3825 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3826 eax = 0; /* 0x2B06EDFC: xor eax, eax */ 3827 _cf = 0; 3828 _flag_k = FK_TEST; 3829 edi = 0x2B0EB5B8u; /* 0x2B06EDFE: mov edi, 0x2b0eb5b8 */ 3830 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; } /* 0x2B06EE03: repne scasb al, byte ptr es:[edi] */ 3831 eax = MEM32(0x2B0B515C); /* 0x2B06EE05: mov eax, dword ptr [0x2b0b515c] */ 3832 ecx = ~ecx; /* 0x2B06EE0A: not ecx */ 3833 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 3834 ecx = ecx - 1; /* 0x2B06EE0C: dec ecx */ 3835 _flag_k = FK_DEC; 3836 edi = ecx; /* 0x2B06EE0D: mov edi, ecx */ 3837 ecx = MEM32(eax); /* 0x2B06EE0F: mov ecx, dword ptr [eax] */ 3838 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 3839 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3840 ecx = ecx - edx; /* 0x2B06EE11: sub ecx, edx */ 3841 _flag_k = FK_CMP; 3842 /* cmp ecx, edi */ /* 0x2B06EE13: cmp ecx, edi */ 3843 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 3844 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3845 _flag_k = FK_CMP; 3846 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EE15: mov dword ptr [ebp - 0x18], esi */ 3847 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EE20; /* 0x2B06EE18: ja 0x2b06ee20 */ 3848 L_2B06EE1A: 3849 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EE1A: call dword ptr [0x2b0b51a8] */ 3850 RECOMP_FLAGS_IN(); 3851 L_2B06EE20: 3852 /* test edi, edi */ /* 0x2B06EE20: test edi, edi */ 3853 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3854 _cf = 0; 3855 _flag_k = FK_TEST; 3856 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EE6A; /* 0x2B06EE22: jbe 0x2b06ee6a */ 3857 L_2B06EE24: 3858 edx = MEM32(esi + 0x8); /* 0x2B06EE24: mov edx, dword ptr [esi + 8] */ 3859 eax = edi; /* 0x2B06EE27: mov eax, edi */ 3860 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 3861 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3862 eax = eax + edx; /* 0x2B06EE29: add eax, edx */ 3863 _flag_k = FK_ADD; 3864 PUSH32(esp, 0); /* 0x2B06EE2B: push 0 */ 3865 PUSH32(esp, eax); /* 0x2B06EE2D: push eax */ 3866 ecx = esi; /* 0x2B06EE2E: mov ecx, esi */ 3867 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EE30: mov dword ptr [ebp - 0x14], eax */ 3868 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EE33: call dword ptr [0x2b0b5154] */ 3869 RECOMP_FLAGS_IN(); 3870 /* test LO8(eax), LO8(eax) */ /* 0x2B06EE39: test al, al */ 3871 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3872 _cf = 0; 3873 _flag_k = FK_NARROW(FK_TEST, 24); 3874 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EE6A; /* 0x2B06EE3B: je 0x2b06ee6a */ 3875 L_2B06EE3D: 3876 eax = MEM32(ebp + (-0x18)); /* 0x2B06EE3D: mov eax, dword ptr [ebp - 0x18] */ 3877 edx = MEM32(eax + 0x4); /* 0x2B06EE40: mov edx, dword ptr [eax + 4] */ 3878 ecx = edi; /* 0x2B06EE43: mov ecx, edi */ 3879 edi = MEM32(eax + 0x8); /* 0x2B06EE45: mov edi, dword ptr [eax + 8] */ 3880 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 3881 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3882 edi = edi + edx; /* 0x2B06EE48: add edi, edx */ 3883 _flag_k = FK_ADD; 3884 edx = ecx; /* 0x2B06EE4A: mov edx, ecx */ 3885 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EE4C: shr ecx, 2 */ 3886 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3887 ecx = ecx >> 2u; /* 0x2B06EE4C: shr ecx, 2 */ 3888 esi = 0x2B0EB5B8u; /* 0x2B06EE4F: mov esi, 0x2b0eb5b8 */ 3889 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EE54: 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; } 3890 ecx = edx; /* 0x2B06EE56: mov ecx, edx */ 3891 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 3892 ecx = ecx & 3; /* 0x2B06EE58: and ecx, 3 */ 3893 _cf = 0; 3894 _flag_k = FK_TEST; 3895 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EE5B: 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; } 3896 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EE5D: mov ecx, dword ptr [ebp - 0x14] */ 3897 MEM32(eax + 0x8) = ecx; /* 0x2B06EE60: mov dword ptr [eax + 8], ecx */ 3898 eax = MEM32(eax + 0x4); /* 0x2B06EE63: mov eax, dword ptr [eax + 4] */ 3899 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EE66: mov byte ptr [ecx + eax], 0 */ 3900 L_2B06EE6A: 3901 ecx = MEM32(ebx + 0x28); /* 0x2B06EE6A: mov ecx, dword ptr [ebx + 0x28] */ 3902 PUSH32(esp, 0x14u); /* 0x2B06EE6D: push 0x14 */ 3903 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EE6F: push -1 */ 3904 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EE71: call dword ptr [0x2b0b5a74] */ 3905 RECOMP_FLAGS_IN(); 3906 esi = MEM32(ebx + 0x28); /* 0x2B06EE77: mov esi, dword ptr [ebx + 0x28] */ 3907 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3908 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EE7A: or ecx, 0xffffffff */ 3909 _cf = 0; 3910 _flag_k = FK_TEST; 3911 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3912 eax = 0; /* 0x2B06EE7D: xor eax, eax */ 3913 _cf = 0; 3914 _flag_k = FK_TEST; 3915 edi = 0x2B0EEE84u; /* 0x2B06EE7F: mov edi, 0x2b0eee84 */ 3916 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; } /* 0x2B06EE84: repne scasb al, byte ptr es:[edi] */ 3917 ecx = ~ecx; /* 0x2B06EE86: not ecx */ 3918 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 3919 ecx = ecx - 1; /* 0x2B06EE88: dec ecx */ 3920 _flag_k = FK_DEC; 3921 edi = ecx; /* 0x2B06EE89: mov edi, ecx */ 3922 ecx = MEM32(0x2B0B515C); /* 0x2B06EE8B: mov ecx, dword ptr [0x2b0b515c] */ 3923 edx = MEM32(ecx); /* 0x2B06EE91: mov edx, dword ptr [ecx] */ 3924 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3925 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3926 edx = edx - MEM32(esi + 0x8); /* 0x2B06EE93: sub edx, dword ptr [esi + 8] */ 3927 _flag_k = FK_CMP; 3928 /* cmp edx, edi */ /* 0x2B06EE96: cmp edx, edi */ 3929 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 3930 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3931 _flag_k = FK_CMP; 3932 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EE98: mov dword ptr [ebp - 0x18], esi */ 3933 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EEA3; /* 0x2B06EE9B: ja 0x2b06eea3 */ 3934 L_2B06EE9D: 3935 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EE9D: call dword ptr [0x2b0b51a8] */ 3936 RECOMP_FLAGS_IN(); 3937 L_2B06EEA3: 3938 /* test edi, edi */ /* 0x2B06EEA3: test edi, edi */ 3939 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3940 _cf = 0; 3941 _flag_k = FK_TEST; 3942 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EEED; /* 0x2B06EEA5: jbe 0x2b06eeed */ 3943 L_2B06EEA7: 3944 edx = MEM32(esi + 0x8); /* 0x2B06EEA7: mov edx, dword ptr [esi + 8] */ 3945 eax = edi; /* 0x2B06EEAA: mov eax, edi */ 3946 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 3947 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3948 eax = eax + edx; /* 0x2B06EEAC: add eax, edx */ 3949 _flag_k = FK_ADD; 3950 PUSH32(esp, 0); /* 0x2B06EEAE: push 0 */ 3951 PUSH32(esp, eax); /* 0x2B06EEB0: push eax */ 3952 ecx = esi; /* 0x2B06EEB1: mov ecx, esi */ 3953 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EEB3: mov dword ptr [ebp - 0x14], eax */ 3954 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EEB6: call dword ptr [0x2b0b5154] */ 3955 RECOMP_FLAGS_IN(); 3956 /* test LO8(eax), LO8(eax) */ /* 0x2B06EEBC: test al, al */ 3957 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3958 _cf = 0; 3959 _flag_k = FK_NARROW(FK_TEST, 24); 3960 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EEED; /* 0x2B06EEBE: je 0x2b06eeed */ 3961 L_2B06EEC0: 3962 eax = MEM32(ebp + (-0x18)); /* 0x2B06EEC0: mov eax, dword ptr [ebp - 0x18] */ 3963 edx = MEM32(eax + 0x4); /* 0x2B06EEC3: mov edx, dword ptr [eax + 4] */ 3964 ecx = edi; /* 0x2B06EEC6: mov ecx, edi */ 3965 edi = MEM32(eax + 0x8); /* 0x2B06EEC8: mov edi, dword ptr [eax + 8] */ 3966 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 3967 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3968 edi = edi + edx; /* 0x2B06EECB: add edi, edx */ 3969 _flag_k = FK_ADD; 3970 edx = ecx; /* 0x2B06EECD: mov edx, ecx */ 3971 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EECF: shr ecx, 2 */ 3972 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3973 ecx = ecx >> 2u; /* 0x2B06EECF: shr ecx, 2 */ 3974 esi = 0x2B0EEE84u; /* 0x2B06EED2: mov esi, 0x2b0eee84 */ 3975 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EED7: 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; } 3976 ecx = edx; /* 0x2B06EED9: mov ecx, edx */ 3977 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 3978 ecx = ecx & 3; /* 0x2B06EEDB: and ecx, 3 */ 3979 _cf = 0; 3980 _flag_k = FK_TEST; 3981 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EEDE: 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; } 3982 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EEE0: mov ecx, dword ptr [ebp - 0x14] */ 3983 MEM32(eax + 0x8) = ecx; /* 0x2B06EEE3: mov dword ptr [eax + 8], ecx */ 3984 eax = MEM32(eax + 0x4); /* 0x2B06EEE6: mov eax, dword ptr [eax + 4] */ 3985 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EEE9: mov byte ptr [ecx + eax], 0 */ 3986 L_2B06EEED: 3987 ecx = MEM32(ebx + 0x28); /* 0x2B06EEED: mov ecx, dword ptr [ebx + 0x28] */ 3988 esi = MEM32(ebp + 0x8); /* 0x2B06EEF0: mov esi, dword ptr [ebp + 8] */ 3989 PUSH32(esp, ecx); /* 0x2B06EEF3: push ecx */ 3990 PUSH32(esp, esi); /* 0x2B06EEF4: push esi */ 3991 ecx = ebx; /* 0x2B06EEF5: mov ecx, ebx */ 3992 RECOMP_ICALL(0x2B073CB0u); /* 0x2B06EEF7: call 0x2b073cb0 */ /* not lifted */ 3993 RECOMP_FLAGS_IN(); 3994 edx = MEM32(ebx + 0x28); /* 0x2B06EEFC: mov edx, dword ptr [ebx + 0x28] */ 3995 PUSH32(esp, edx); /* 0x2B06EEFF: push edx */ 3996 PUSH32(esp, esi); /* 0x2B06EF00: push esi */ 3997 ecx = ebx; /* 0x2B06EF01: mov ecx, ebx */ 3998 RECOMP_ICALL(0x2B073CF0u); /* 0x2B06EF03: call 0x2b073cf0 */ /* not lifted */ 3999 RECOMP_FLAGS_IN(); 4000 eax = MEM32(ebx + 0x28); /* 0x2B06EF08: mov eax, dword ptr [ebx + 0x28] */ 4001 PUSH32(esp, eax); /* 0x2B06EF0B: push eax */ 4002 PUSH32(esp, esi); /* 0x2B06EF0C: push esi */ 4003 ecx = ebx; /* 0x2B06EF0D: mov ecx, ebx */ 4004 RECOMP_ICALL(0x2B073D30u); /* 0x2B06EF0F: call 0x2b073d30 */ /* not lifted */ 4005 RECOMP_FLAGS_IN(); 4006 ecx = MEM32(ebx + 0x28); /* 0x2B06EF14: mov ecx, dword ptr [ebx + 0x28] */ 4007 PUSH32(esp, ecx); /* 0x2B06EF17: push ecx */ 4008 PUSH32(esp, esi); /* 0x2B06EF18: push esi */ 4009 ecx = ebx; /* 0x2B06EF19: mov ecx, ebx */ 4010 RECOMP_ICALL(0x2B073F90u); /* 0x2B06EF1B: call 0x2b073f90 */ /* not lifted */ 4011 RECOMP_FLAGS_IN(); 4012 PUSH32(esp, 0x1B4u); /* 0x2B06EF20: push 0x1b4 */ 4013 PUSH32(esp, esi); /* 0x2B06EF25: push esi */ 4014 ecx = ebx; /* 0x2B06EF26: mov ecx, ebx */ 4015 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06EF28: call 0x2b0735d0 */ /* not lifted */ 4016 RECOMP_FLAGS_IN(); 4017 /* cmp eax, 0x499602D2u */ /* 0x2B06EF2D: cmp eax, 0x499602d2 */ 4018 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 4019 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4020 _flag_k = FK_CMP; 4021 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06F056; /* 0x2B06EF32: je 0x2b06f056 */ 4022 L_2B06EF38: 4023 PUSH32(esp, eax); /* 0x2B06EF38: push eax */ 4024 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06EF39: call dword ptr [0x2b0b5d6c] */ 4025 RECOMP_FLAGS_IN(); 4026 ecx = eax; /* 0x2B06EF3F: mov ecx, eax */ 4027 RECOMP_ICALL(MEM32(0x2B0B5DB4)); /* 0x2B06EF41: call dword ptr [0x2b0b5db4] */ 4028 RECOMP_FLAGS_IN(); 4029 /* test eax, eax */ /* 0x2B06EF47: test eax, eax */ 4030 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4031 _cf = 0; 4032 _flag_k = FK_TEST; 4033 MEM32(ebp + (-0xC)) = eax; /* 0x2B06EF49: mov dword ptr [ebp - 0xc], eax */ 4034 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F056; /* 0x2B06EF4C: je 0x2b06f056 */ 4035 L_2B06EF52: 4036 ecx = MEM32(ebx + 0x28); /* 0x2B06EF52: mov ecx, dword ptr [ebx + 0x28] */ 4037 PUSH32(esp, 0x13u); /* 0x2B06EF55: push 0x13 */ 4038 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EF57: push -1 */ 4039 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EF59: call dword ptr [0x2b0b5a74] */ 4040 RECOMP_FLAGS_IN(); 4041 edx = MEM32(0x2B0B515C); /* 0x2B06EF5F: mov edx, dword ptr [0x2b0b515c] */ 4042 esi = MEM32(ebx + 0x28); /* 0x2B06EF65: mov esi, dword ptr [ebx + 0x28] */ 4043 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4044 eax = 0; /* 0x2B06EF68: xor eax, eax */ 4045 _cf = 0; 4046 _flag_k = FK_TEST; 4047 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 4048 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EF6A: or ecx, 0xffffffff */ 4049 _cf = 0; 4050 _flag_k = FK_TEST; 4051 edi = 0x2B0EB5ACu; /* 0x2B06EF6D: mov edi, 0x2b0eb5ac */ 4052 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; } /* 0x2B06EF72: repne scasb al, byte ptr es:[edi] */ 4053 eax = MEM32(edx); /* 0x2B06EF74: mov eax, dword ptr [edx] */ 4054 edx = MEM32(esi + 0x8); /* 0x2B06EF76: mov edx, dword ptr [esi + 8] */ 4055 ecx = ~ecx; /* 0x2B06EF79: not ecx */ 4056 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 4057 ecx = ecx - 1; /* 0x2B06EF7B: dec ecx */ 4058 _flag_k = FK_DEC; 4059 edi = ecx; /* 0x2B06EF7C: mov edi, ecx */ 4060 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4061 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4062 eax = eax - edx; /* 0x2B06EF7E: sub eax, edx */ 4063 _flag_k = FK_CMP; 4064 /* cmp eax, edi */ /* 0x2B06EF80: cmp eax, edi */ 4065 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4066 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4067 _flag_k = FK_CMP; 4068 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EF82: mov dword ptr [ebp - 0x18], esi */ 4069 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EF8D; /* 0x2B06EF85: ja 0x2b06ef8d */ 4070 L_2B06EF87: 4071 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EF87: call dword ptr [0x2b0b51a8] */ 4072 RECOMP_FLAGS_IN(); 4073 L_2B06EF8D: 4074 /* test edi, edi */ /* 0x2B06EF8D: test edi, edi */ 4075 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4076 _cf = 0; 4077 _flag_k = FK_TEST; 4078 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EFD7; /* 0x2B06EF8F: jbe 0x2b06efd7 */ 4079 L_2B06EF91: 4080 edx = MEM32(esi + 0x8); /* 0x2B06EF91: mov edx, dword ptr [esi + 8] */ 4081 eax = edi; /* 0x2B06EF94: mov eax, edi */ 4082 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4083 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4084 eax = eax + edx; /* 0x2B06EF96: add eax, edx */ 4085 _flag_k = FK_ADD; 4086 PUSH32(esp, 0); /* 0x2B06EF98: push 0 */ 4087 PUSH32(esp, eax); /* 0x2B06EF9A: push eax */ 4088 ecx = esi; /* 0x2B06EF9B: mov ecx, esi */ 4089 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EF9D: mov dword ptr [ebp - 0x14], eax */ 4090 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EFA0: call dword ptr [0x2b0b5154] */ 4091 RECOMP_FLAGS_IN(); 4092 /* test LO8(eax), LO8(eax) */ /* 0x2B06EFA6: test al, al */ 4093 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4094 _cf = 0; 4095 _flag_k = FK_NARROW(FK_TEST, 24); 4096 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EFD7; /* 0x2B06EFA8: je 0x2b06efd7 */ 4097 L_2B06EFAA: 4098 eax = MEM32(ebp + (-0x18)); /* 0x2B06EFAA: mov eax, dword ptr [ebp - 0x18] */ 4099 edx = MEM32(eax + 0x4); /* 0x2B06EFAD: mov edx, dword ptr [eax + 4] */ 4100 ecx = edi; /* 0x2B06EFB0: mov ecx, edi */ 4101 edi = MEM32(eax + 0x8); /* 0x2B06EFB2: mov edi, dword ptr [eax + 8] */ 4102 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 4103 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4104 edi = edi + edx; /* 0x2B06EFB5: add edi, edx */ 4105 _flag_k = FK_ADD; 4106 edx = ecx; /* 0x2B06EFB7: mov edx, ecx */ 4107 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EFB9: shr ecx, 2 */ 4108 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4109 ecx = ecx >> 2u; /* 0x2B06EFB9: shr ecx, 2 */ 4110 esi = 0x2B0EB5ACu; /* 0x2B06EFBC: mov esi, 0x2b0eb5ac */ 4111 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EFC1: 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; } 4112 ecx = edx; /* 0x2B06EFC3: mov ecx, edx */ 4113 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 4114 ecx = ecx & 3; /* 0x2B06EFC5: and ecx, 3 */ 4115 _cf = 0; 4116 _flag_k = FK_TEST; 4117 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EFC8: 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; } 4118 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EFCA: mov ecx, dword ptr [ebp - 0x14] */ 4119 MEM32(eax + 0x8) = ecx; /* 0x2B06EFCD: mov dword ptr [eax + 8], ecx */ 4120 eax = MEM32(eax + 0x4); /* 0x2B06EFD0: mov eax, dword ptr [eax + 4] */ 4121 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EFD3: mov byte ptr [ecx + eax], 0 */ 4122 L_2B06EFD7: 4123 ecx = MEM32(ebx + 0x28); /* 0x2B06EFD7: mov ecx, dword ptr [ebx + 0x28] */ 4124 PUSH32(esp, 0x14u); /* 0x2B06EFDA: push 0x14 */ 4125 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EFDC: push -1 */ 4126 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EFDE: call dword ptr [0x2b0b5a74] */ 4127 RECOMP_FLAGS_IN(); 4128 edi = MEM32(ebp + (-0xC)); /* 0x2B06EFE4: mov edi, dword ptr [ebp - 0xc] */ 4129 esi = MEM32(ebx + 0x28); /* 0x2B06EFE7: mov esi, dword ptr [ebx + 0x28] */ 4130 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 4131 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EFEA: or ecx, 0xffffffff */ 4132 _cf = 0; 4133 _flag_k = FK_TEST; 4134 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4135 eax = 0; /* 0x2B06EFED: xor eax, eax */ 4136 _cf = 0; 4137 _flag_k = FK_TEST; 4138 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; } /* 0x2B06EFEF: repne scasb al, byte ptr es:[edi] */ 4139 ecx = ~ecx; /* 0x2B06EFF1: not ecx */ 4140 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 4141 ecx = ecx - 1; /* 0x2B06EFF3: dec ecx */ 4142 _flag_k = FK_DEC; 4143 edi = ecx; /* 0x2B06EFF4: mov edi, ecx */ 4144 ecx = MEM32(0x2B0B515C); /* 0x2B06EFF6: mov ecx, dword ptr [0x2b0b515c] */ 4145 edx = MEM32(ecx); /* 0x2B06EFFC: mov edx, dword ptr [ecx] */ 4146 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4147 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4148 edx = edx - MEM32(esi + 0x8); /* 0x2B06EFFE: sub edx, dword ptr [esi + 8] */ 4149 _flag_k = FK_CMP; 4150 /* cmp edx, edi */ /* 0x2B06F001: cmp edx, edi */ 4151 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 4152 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4153 _flag_k = FK_CMP; 4154 MEM32(ebp + (-0x18)) = esi; /* 0x2B06F003: mov dword ptr [ebp - 0x18], esi */ 4155 if (CMP_A(_flag_a, _flag_b)) goto L_2B06F00E; /* 0x2B06F006: ja 0x2b06f00e */ 4156 L_2B06F008: 4157 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06F008: call dword ptr [0x2b0b51a8] */ 4158 RECOMP_FLAGS_IN(); 4159 L_2B06F00E: 4160 /* test edi, edi */ /* 0x2B06F00E: test edi, edi */ 4161 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4162 _cf = 0; 4163 _flag_k = FK_TEST; 4164 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F056; /* 0x2B06F010: jbe 0x2b06f056 */ 4165 L_2B06F012: 4166 edx = MEM32(esi + 0x8); /* 0x2B06F012: mov edx, dword ptr [esi + 8] */ 4167 eax = edi; /* 0x2B06F015: mov eax, edi */ 4168 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4169 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4170 eax = eax + edx; /* 0x2B06F017: add eax, edx */ 4171 _flag_k = FK_ADD; 4172 PUSH32(esp, 0); /* 0x2B06F019: push 0 */ 4173 PUSH32(esp, eax); /* 0x2B06F01B: push eax */ 4174 ecx = esi; /* 0x2B06F01C: mov ecx, esi */ 4175 MEM32(ebp + (-0x14)) = eax; /* 0x2B06F01E: mov dword ptr [ebp - 0x14], eax */ 4176 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06F021: call dword ptr [0x2b0b5154] */ 4177 RECOMP_FLAGS_IN(); 4178 /* test LO8(eax), LO8(eax) */ /* 0x2B06F027: test al, al */ 4179 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4180 _cf = 0; 4181 _flag_k = FK_NARROW(FK_TEST, 24); 4182 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F056; /* 0x2B06F029: je 0x2b06f056 */ 4183 L_2B06F02B: 4184 eax = MEM32(ebp + (-0x18)); /* 0x2B06F02B: mov eax, dword ptr [ebp - 0x18] */ 4185 edx = MEM32(eax + 0x4); /* 0x2B06F02E: mov edx, dword ptr [eax + 4] */ 4186 esi = MEM32(ebp + (-0xC)); /* 0x2B06F031: mov esi, dword ptr [ebp - 0xc] */ 4187 ecx = edi; /* 0x2B06F034: mov ecx, edi */ 4188 edi = MEM32(eax + 0x8); /* 0x2B06F036: mov edi, dword ptr [eax + 8] */ 4189 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 4190 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4191 edi = edi + edx; /* 0x2B06F039: add edi, edx */ 4192 _flag_k = FK_ADD; 4193 edx = ecx; /* 0x2B06F03B: mov edx, ecx */ 4194 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06F03D: shr ecx, 2 */ 4195 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4196 ecx = ecx >> 2u; /* 0x2B06F03D: shr ecx, 2 */ 4197 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06F040: 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; } 4198 ecx = edx; /* 0x2B06F042: mov ecx, edx */ 4199 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 4200 ecx = ecx & 3; /* 0x2B06F044: and ecx, 3 */ 4201 _cf = 0; 4202 _flag_k = FK_TEST; 4203 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06F047: 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; } 4204 ecx = MEM32(ebp + (-0x14)); /* 0x2B06F049: mov ecx, dword ptr [ebp - 0x14] */ 4205 MEM32(eax + 0x8) = ecx; /* 0x2B06F04C: mov dword ptr [eax + 8], ecx */ 4206 eax = MEM32(eax + 0x4); /* 0x2B06F04F: mov eax, dword ptr [eax + 4] */ 4207 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06F052: mov byte ptr [ecx + eax], 0 */ 4208 L_2B06F056: 4209 ecx = MEM32(ebx + 0x28); /* 0x2B06F056: mov ecx, dword ptr [ebx + 0x28] */ 4210 edx = MEM32(ebp + 0x8); /* 0x2B06F059: mov edx, dword ptr [ebp + 8] */ 4211 PUSH32(esp, ecx); /* 0x2B06F05C: push ecx */ 4212 PUSH32(esp, edx); /* 0x2B06F05D: push edx */ 4213 ecx = ebx; /* 0x2B06F05E: mov ecx, ebx */ 4214 RECOMP_ICALL(0x2B074010u); /* 0x2B06F060: call 0x2b074010 */ /* not lifted */ 4215 RECOMP_FLAGS_IN(); 4216 ecx = MEM32(0x2B0EF104); /* 0x2B06F065: mov ecx, dword ptr [0x2b0ef104] */ 4217 /* test ecx, ecx */ /* 0x2B06F06B: test ecx, ecx */ 4218 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 4219 _cf = 0; 4220 _flag_k = FK_TEST; 4221 edi = POP32_VAL(esp); /* 0x2B06F06D: pop edi */ 4222 esi = POP32_VAL(esp); /* 0x2B06F06E: pop esi */ 4223 ebx = POP32_VAL(esp); /* 0x2B06F06F: pop ebx */ 4224 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F080; /* 0x2B06F070: je 0x2b06f080 */ 4225 L_2B06F072: 4226 eax = MEM32(ebp + (-0x10)); /* 0x2B06F072: mov eax, dword ptr [ebp - 0x10] */ 4227 PUSH32(esp, eax); /* 0x2B06F075: push eax */ 4228 PUSH32(esp, 0x2B0EB59Cu); /* 0x2B06F076: push 0x2b0eb59c */ 4229 RECOMP_ICALL(0x2B08D480u); /* 0x2B06F07B: call 0x2b08d480 */ /* not lifted */ 4230 RECOMP_FLAGS_IN(); 4231 L_2B06F080: 4232 esp = ebp; /* 0x2B06F080: mov esp, ebp */ 4233 ebp = POP32_VAL(esp); /* 0x2B06F082: pop ebp */ 4234 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06F083: ret 4 */ 4235 RECOMP_REGS_OUT(); 4236 } 4237 4238 void sub_2B06E08B(void) { 4239 int _fpu_cmp = 0; 4240 uint32_t _cf = 0; 4241 int _df = 1; 4242 uint32_t _flag_k = FK_NONE; 4243 uint32_t _flag_a = 0, _flag_b = 0; 4244 uint32_t _itail_tgt = 0; 4245 RECOMP_REGS_LOCALS 4246 RECOMP_ENTER(0x2B06E08Bu); 4247 4248 L_2B06E08B: 4249 PUSH32(esp, ecx); /* 0x2B06E08B: push ecx */ 4250 ecx = eax; /* 0x2B06E08C: mov ecx, eax */ 4251 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06E08E: call dword ptr [0x2b0b5150] */ 4252 RECOMP_FLAGS_IN(); 4253 edx = MEM32(ebx + 0x28); /* 0x2B06E094: mov edx, dword ptr [ebx + 0x28] */ 4254 esi = MEM32(ebp + 0x8); /* 0x2B06E097: mov esi, dword ptr [ebp + 8] */ 4255 PUSH32(esp, edx); /* 0x2B06E09A: push edx */ 4256 PUSH32(esp, esi); /* 0x2B06E09B: push esi */ 4257 ecx = ebx; /* 0x2B06E09C: mov ecx, ebx */ 4258 RECOMP_ICALL(0x2B0741B0u); /* 0x2B06E09E: call 0x2b0741b0 */ /* not lifted */ 4259 RECOMP_FLAGS_IN(); 4260 eax = MEM32(ebx + 0x28); /* 0x2B06E0A3: mov eax, dword ptr [ebx + 0x28] */ 4261 PUSH32(esp, eax); /* 0x2B06E0A6: push eax */ 4262 PUSH32(esp, esi); /* 0x2B06E0A7: push esi */ 4263 ecx = ebx; /* 0x2B06E0A8: mov ecx, ebx */ 4264 RECOMP_ICALL(0x2B0737C0u); /* 0x2B06E0AA: call 0x2b0737c0 */ /* not lifted */ 4265 RECOMP_FLAGS_IN(); 4266 ecx = MEM32(ebx + 0x28); /* 0x2B06E0AF: mov ecx, dword ptr [ebx + 0x28] */ 4267 PUSH32(esp, ecx); /* 0x2B06E0B2: push ecx */ 4268 PUSH32(esp, esi); /* 0x2B06E0B3: push esi */ 4269 ecx = ebx; /* 0x2B06E0B4: mov ecx, ebx */ 4270 RECOMP_ICALL(0x2B073FD0u); /* 0x2B06E0B6: call 0x2b073fd0 */ /* not lifted */ 4271 RECOMP_FLAGS_IN(); 4272 SET_LO8(eax, MEM8(ebp + (-0x1))); /* 0x2B06E0BB: mov al, byte ptr [ebp - 1] */ 4273 /* test LO8(eax), LO8(eax) */ /* 0x2B06E0BE: test al, al */ 4274 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4275 _cf = 0; 4276 _flag_k = FK_NARROW(FK_TEST, 24); 4277 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E0C0: je 0x2b06e554 */ 4278 L_2B06E0C6: 4279 ecx = MEM32(ebx + 0x28); /* 0x2B06E0C6: mov ecx, dword ptr [ebx + 0x28] */ 4280 PUSH32(esp, 0x13u); /* 0x2B06E0C9: push 0x13 */ 4281 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06E0CB: push -1 */ 4282 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06E0CD: call dword ptr [0x2b0b5a74] */ 4283 RECOMP_FLAGS_IN(); 4284 edx = MEM32(0x2B0B515C); /* 0x2B06E0D3: mov edx, dword ptr [0x2b0b515c] */ 4285 esi = MEM32(ebx + 0x28); /* 0x2B06E0D9: mov esi, dword ptr [ebx + 0x28] */ 4286 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4287 eax = 0; /* 0x2B06E0DC: xor eax, eax */ 4288 _cf = 0; 4289 _flag_k = FK_TEST; 4290 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 4291 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E0DE: or ecx, 0xffffffff */ 4292 _cf = 0; 4293 _flag_k = FK_TEST; 4294 edi = 0x2B0EB6CCu; /* 0x2B06E0E1: mov edi, 0x2b0eb6cc */ 4295 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; } /* 0x2B06E0E6: repne scasb al, byte ptr es:[edi] */ 4296 eax = MEM32(edx); /* 0x2B06E0E8: mov eax, dword ptr [edx] */ 4297 edx = MEM32(esi + 0x8); /* 0x2B06E0EA: mov edx, dword ptr [esi + 8] */ 4298 ecx = ~ecx; /* 0x2B06E0ED: not ecx */ 4299 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 4300 ecx = ecx - 1; /* 0x2B06E0EF: dec ecx */ 4301 _flag_k = FK_DEC; 4302 edi = ecx; /* 0x2B06E0F0: mov edi, ecx */ 4303 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4304 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4305 eax = eax - edx; /* 0x2B06E0F2: sub eax, edx */ 4306 _flag_k = FK_CMP; 4307 /* cmp eax, edi */ /* 0x2B06E0F4: cmp eax, edi */ 4308 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4309 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4310 _flag_k = FK_CMP; 4311 MEM32(ebp + (-0xC)) = esi; /* 0x2B06E0F6: mov dword ptr [ebp - 0xc], esi */ 4312 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E101; /* 0x2B06E0F9: ja 0x2b06e101 */ 4313 L_2B06E0FB: 4314 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E0FB: call dword ptr [0x2b0b51a8] */ 4315 RECOMP_FLAGS_IN(); 4316 L_2B06E101: 4317 /* test edi, edi */ /* 0x2B06E101: test edi, edi */ 4318 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4319 _cf = 0; 4320 _flag_k = FK_TEST; 4321 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E148; /* 0x2B06E103: jbe 0x2b06e148 */ 4322 L_2B06E105: 4323 eax = MEM32(esi + 0x8); /* 0x2B06E105: mov eax, dword ptr [esi + 8] */ 4324 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4325 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4326 eax = eax + edi; /* 0x2B06E108: add eax, edi */ 4327 _flag_k = FK_ADD; 4328 PUSH32(esp, 0); /* 0x2B06E10A: push 0 */ 4329 PUSH32(esp, eax); /* 0x2B06E10C: push eax */ 4330 ecx = esi; /* 0x2B06E10D: mov ecx, esi */ 4331 MEM32(ebp + (-0x8)) = eax; /* 0x2B06E10F: mov dword ptr [ebp - 8], eax */ 4332 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E112: call dword ptr [0x2b0b5154] */ 4333 RECOMP_FLAGS_IN(); 4334 /* test LO8(eax), LO8(eax) */ /* 0x2B06E118: test al, al */ 4335 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4336 _cf = 0; 4337 _flag_k = FK_NARROW(FK_TEST, 24); 4338 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E148; /* 0x2B06E11A: je 0x2b06e148 */ 4339 L_2B06E11C: 4340 eax = MEM32(ebp + (-0xC)); /* 0x2B06E11C: mov eax, dword ptr [ebp - 0xc] */ 4341 edx = MEM32(eax + 0x8); /* 0x2B06E11F: mov edx, dword ptr [eax + 8] */ 4342 ecx = edi; /* 0x2B06E122: mov ecx, edi */ 4343 edi = MEM32(eax + 0x4); /* 0x2B06E124: mov edi, dword ptr [eax + 4] */ 4344 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 4345 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4346 edi = edi + edx; /* 0x2B06E127: add edi, edx */ 4347 _flag_k = FK_ADD; 4348 edx = ecx; /* 0x2B06E129: mov edx, ecx */ 4349 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E12B: shr ecx, 2 */ 4350 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4351 ecx = ecx >> 2u; /* 0x2B06E12B: shr ecx, 2 */ 4352 esi = 0x2B0EB6CCu; /* 0x2B06E12E: mov esi, 0x2b0eb6cc */ 4353 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E133: 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; } 4354 ecx = edx; /* 0x2B06E135: mov ecx, edx */ 4355 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 4356 ecx = ecx & 3; /* 0x2B06E137: and ecx, 3 */ 4357 _cf = 0; 4358 _flag_k = FK_TEST; 4359 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E13A: 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; } 4360 ecx = MEM32(ebp + (-0x8)); /* 0x2B06E13C: mov ecx, dword ptr [ebp - 8] */ 4361 PUSH32(esp, ecx); /* 0x2B06E13F: push ecx */ 4362 ecx = eax; /* 0x2B06E140: mov ecx, eax */ 4363 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06E142: call dword ptr [0x2b0b5150] */ 4364 RECOMP_FLAGS_IN(); 4365 L_2B06E148: 4366 ecx = MEM32(ebx + 0x28); /* 0x2B06E148: mov ecx, dword ptr [ebx + 0x28] */ 4367 PUSH32(esp, 0x14u); /* 0x2B06E14B: push 0x14 */ 4368 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06E14D: push -1 */ 4369 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06E14F: call dword ptr [0x2b0b5a74] */ 4370 RECOMP_FLAGS_IN(); 4371 eax = MEM32(ebp + (-0x14)); /* 0x2B06E155: mov eax, dword ptr [ebp - 0x14] */ 4372 /* cmp eax, 1 */ /* 0x2B06E158: cmp eax, 1 */ 4373 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 4374 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4375 _flag_k = FK_CMP; 4376 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06E1D6; /* 0x2B06E15B: jne 0x2b06e1d6 */ 4377 L_2B06E15D: 4378 edx = MEM32(0x2B0B515C); /* 0x2B06E15D: mov edx, dword ptr [0x2b0b515c] */ 4379 esi = MEM32(ebx + 0x28); /* 0x2B06E163: mov esi, dword ptr [ebx + 0x28] */ 4380 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4381 eax = 0; /* 0x2B06E166: xor eax, eax */ 4382 _cf = 0; 4383 _flag_k = FK_TEST; 4384 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 4385 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E168: or ecx, 0xffffffff */ 4386 _cf = 0; 4387 _flag_k = FK_TEST; 4388 edi = 0x2B0EB6B8u; /* 0x2B06E16B: mov edi, 0x2b0eb6b8 */ 4389 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; } /* 0x2B06E170: repne scasb al, byte ptr es:[edi] */ 4390 eax = MEM32(edx); /* 0x2B06E172: mov eax, dword ptr [edx] */ 4391 edx = MEM32(esi + 0x8); /* 0x2B06E174: mov edx, dword ptr [esi + 8] */ 4392 ecx = ~ecx; /* 0x2B06E177: not ecx */ 4393 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 4394 ecx = ecx - 1; /* 0x2B06E179: dec ecx */ 4395 _flag_k = FK_DEC; 4396 edi = ecx; /* 0x2B06E17A: mov edi, ecx */ 4397 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4398 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4399 eax = eax - edx; /* 0x2B06E17C: sub eax, edx */ 4400 _flag_k = FK_CMP; 4401 /* cmp eax, edi */ /* 0x2B06E17E: cmp eax, edi */ 4402 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4403 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4404 _flag_k = FK_CMP; 4405 MEM32(ebp + (-0x14)) = esi; /* 0x2B06E180: mov dword ptr [ebp - 0x14], esi */ 4406 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E18B; /* 0x2B06E183: ja 0x2b06e18b */ 4407 L_2B06E185: 4408 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E185: call dword ptr [0x2b0b51a8] */ 4409 RECOMP_FLAGS_IN(); 4410 L_2B06E18B: 4411 /* test edi, edi */ /* 0x2B06E18B: test edi, edi */ 4412 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4413 _cf = 0; 4414 _flag_k = FK_TEST; 4415 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E18D: jbe 0x2b06e554 */ 4416 L_2B06E193: 4417 eax = MEM32(esi + 0x8); /* 0x2B06E193: mov eax, dword ptr [esi + 8] */ 4418 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4419 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4420 eax = eax + edi; /* 0x2B06E196: add eax, edi */ 4421 _flag_k = FK_ADD; 4422 PUSH32(esp, 0); /* 0x2B06E198: push 0 */ 4423 PUSH32(esp, eax); /* 0x2B06E19A: push eax */ 4424 ecx = esi; /* 0x2B06E19B: mov ecx, esi */ 4425 MEM32(ebp + (-0xC)) = eax; /* 0x2B06E19D: mov dword ptr [ebp - 0xc], eax */ 4426 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E1A0: call dword ptr [0x2b0b5154] */ 4427 RECOMP_FLAGS_IN(); 4428 /* test LO8(eax), LO8(eax) */ /* 0x2B06E1A6: test al, al */ 4429 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4430 _cf = 0; 4431 _flag_k = FK_NARROW(FK_TEST, 24); 4432 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E1A8: je 0x2b06e554 */ 4433 L_2B06E1AE: 4434 eax = MEM32(ebp + (-0x14)); /* 0x2B06E1AE: mov eax, dword ptr [ebp - 0x14] */ 4435 edx = MEM32(eax + 0x8); /* 0x2B06E1B1: mov edx, dword ptr [eax + 8] */ 4436 ecx = edi; /* 0x2B06E1B4: mov ecx, edi */ 4437 edi = MEM32(eax + 0x4); /* 0x2B06E1B6: mov edi, dword ptr [eax + 4] */ 4438 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 4439 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4440 edi = edi + edx; /* 0x2B06E1B9: add edi, edx */ 4441 _flag_k = FK_ADD; 4442 edx = ecx; /* 0x2B06E1BB: mov edx, ecx */ 4443 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E1BD: shr ecx, 2 */ 4444 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4445 ecx = ecx >> 2u; /* 0x2B06E1BD: shr ecx, 2 */ 4446 esi = 0x2B0EB6B8u; /* 0x2B06E1C0: mov esi, 0x2b0eb6b8 */ 4447 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E1C5: 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; } 4448 ecx = edx; /* 0x2B06E1C7: mov ecx, edx */ 4449 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 4450 ecx = ecx & 3; /* 0x2B06E1C9: and ecx, 3 */ 4451 _cf = 0; 4452 _flag_k = FK_TEST; 4453 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E1CC: 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; } 4454 ecx = MEM32(ebp + (-0xC)); /* 0x2B06E1CE: mov ecx, dword ptr [ebp - 0xc] */ 4455 goto L_2B06E54B; /* 0x2B06E1D1: jmp 0x2b06e54b */ 4456 L_2B06E1D6: 4457 /* cmp eax, 2 */ /* 0x2B06E1D6: cmp eax, 2 */ 4458 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 4459 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4460 _flag_k = FK_CMP; 4461 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06E256; /* 0x2B06E1D9: jne 0x2b06e256 */ 4462 L_2B06E1DB: 4463 edx = MEM32(0x2B0B515C); /* 0x2B06E1DB: mov edx, dword ptr [0x2b0b515c] */ 4464 esi = MEM32(ebx + 0x28); /* 0x2B06E1E1: mov esi, dword ptr [ebx + 0x28] */ 4465 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4466 eax = 0; /* 0x2B06E1E4: xor eax, eax */ 4467 _cf = 0; 4468 _flag_k = FK_TEST; 4469 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 4470 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E1E6: or ecx, 0xffffffff */ 4471 _cf = 0; 4472 _flag_k = FK_TEST; 4473 edi = 0x2B0EB6B0u; /* 0x2B06E1E9: mov edi, 0x2b0eb6b0 */ 4474 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; } /* 0x2B06E1EE: repne scasb al, byte ptr es:[edi] */ 4475 eax = MEM32(edx); /* 0x2B06E1F0: mov eax, dword ptr [edx] */ 4476 edx = MEM32(esi + 0x8); /* 0x2B06E1F2: mov edx, dword ptr [esi + 8] */ 4477 ecx = ~ecx; /* 0x2B06E1F5: not ecx */ 4478 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 4479 ecx = ecx - 1; /* 0x2B06E1F7: dec ecx */ 4480 _flag_k = FK_DEC; 4481 edi = ecx; /* 0x2B06E1F8: mov edi, ecx */ 4482 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4483 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4484 eax = eax - edx; /* 0x2B06E1FA: sub eax, edx */ 4485 _flag_k = FK_CMP; 4486 /* cmp eax, edi */ /* 0x2B06E1FC: cmp eax, edi */ 4487 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4488 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4489 _flag_k = FK_CMP; 4490 MEM32(ebp + (-0x14)) = esi; /* 0x2B06E1FE: mov dword ptr [ebp - 0x14], esi */ 4491 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E209; /* 0x2B06E201: ja 0x2b06e209 */ 4492 L_2B06E203: 4493 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E203: call dword ptr [0x2b0b51a8] */ 4494 RECOMP_FLAGS_IN(); 4495 L_2B06E209: 4496 /* test edi, edi */ /* 0x2B06E209: test edi, edi */ 4497 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4498 _cf = 0; 4499 _flag_k = FK_TEST; 4500 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E20B: jbe 0x2b06e554 */ 4501 L_2B06E211: 4502 edx = MEM32(esi + 0x8); /* 0x2B06E211: mov edx, dword ptr [esi + 8] */ 4503 eax = edi; /* 0x2B06E214: mov eax, edi */ 4504 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4505 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4506 eax = eax + edx; /* 0x2B06E216: add eax, edx */ 4507 _flag_k = FK_ADD; 4508 PUSH32(esp, 0); /* 0x2B06E218: push 0 */ 4509 PUSH32(esp, eax); /* 0x2B06E21A: push eax */ 4510 ecx = esi; /* 0x2B06E21B: mov ecx, esi */ 4511 MEM32(ebp + (-0xC)) = eax; /* 0x2B06E21D: mov dword ptr [ebp - 0xc], eax */ 4512 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E220: call dword ptr [0x2b0b5154] */ 4513 RECOMP_FLAGS_IN(); 4514 /* test LO8(eax), LO8(eax) */ /* 0x2B06E226: test al, al */ 4515 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4516 _cf = 0; 4517 _flag_k = FK_NARROW(FK_TEST, 24); 4518 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E228: je 0x2b06e554 */ 4519 L_2B06E22E: 4520 eax = MEM32(ebp + (-0x14)); /* 0x2B06E22E: mov eax, dword ptr [ebp - 0x14] */ 4521 edx = MEM32(eax + 0x8); /* 0x2B06E231: mov edx, dword ptr [eax + 8] */ 4522 ecx = edi; /* 0x2B06E234: mov ecx, edi */ 4523 edi = MEM32(eax + 0x4); /* 0x2B06E236: mov edi, dword ptr [eax + 4] */ 4524 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 4525 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4526 edi = edi + edx; /* 0x2B06E239: add edi, edx */ 4527 _flag_k = FK_ADD; 4528 edx = ecx; /* 0x2B06E23B: mov edx, ecx */ 4529 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E23D: shr ecx, 2 */ 4530 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4531 ecx = ecx >> 2u; /* 0x2B06E23D: shr ecx, 2 */ 4532 esi = 0x2B0EB6B0u; /* 0x2B06E240: mov esi, 0x2b0eb6b0 */ 4533 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E245: 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; } 4534 ecx = edx; /* 0x2B06E247: mov ecx, edx */ 4535 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 4536 ecx = ecx & 3; /* 0x2B06E249: and ecx, 3 */ 4537 _cf = 0; 4538 _flag_k = FK_TEST; 4539 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E24C: 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; } 4540 ecx = MEM32(ebp + (-0xC)); /* 0x2B06E24E: mov ecx, dword ptr [ebp - 0xc] */ 4541 goto L_2B06E54B; /* 0x2B06E251: jmp 0x2b06e54b */ 4542 L_2B06E256: 4543 /* cmp eax, 3 */ /* 0x2B06E256: cmp eax, 3 */ 4544 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 4545 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4546 _flag_k = FK_CMP; 4547 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06E2D6; /* 0x2B06E259: jne 0x2b06e2d6 */ 4548 L_2B06E25B: 4549 edx = MEM32(0x2B0B515C); /* 0x2B06E25B: mov edx, dword ptr [0x2b0b515c] */ 4550 esi = MEM32(ebx + 0x28); /* 0x2B06E261: mov esi, dword ptr [ebx + 0x28] */ 4551 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4552 eax = 0; /* 0x2B06E264: xor eax, eax */ 4553 _cf = 0; 4554 _flag_k = FK_TEST; 4555 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 4556 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E266: or ecx, 0xffffffff */ 4557 _cf = 0; 4558 _flag_k = FK_TEST; 4559 edi = 0x2B0EB69Cu; /* 0x2B06E269: mov edi, 0x2b0eb69c */ 4560 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; } /* 0x2B06E26E: repne scasb al, byte ptr es:[edi] */ 4561 eax = MEM32(edx); /* 0x2B06E270: mov eax, dword ptr [edx] */ 4562 edx = MEM32(esi + 0x8); /* 0x2B06E272: mov edx, dword ptr [esi + 8] */ 4563 ecx = ~ecx; /* 0x2B06E275: not ecx */ 4564 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 4565 ecx = ecx - 1; /* 0x2B06E277: dec ecx */ 4566 _flag_k = FK_DEC; 4567 edi = ecx; /* 0x2B06E278: mov edi, ecx */ 4568 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4569 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4570 eax = eax - edx; /* 0x2B06E27A: sub eax, edx */ 4571 _flag_k = FK_CMP; 4572 /* cmp eax, edi */ /* 0x2B06E27C: cmp eax, edi */ 4573 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4574 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4575 _flag_k = FK_CMP; 4576 MEM32(ebp + (-0x14)) = esi; /* 0x2B06E27E: mov dword ptr [ebp - 0x14], esi */ 4577 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E289; /* 0x2B06E281: ja 0x2b06e289 */ 4578 L_2B06E283: 4579 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E283: call dword ptr [0x2b0b51a8] */ 4580 RECOMP_FLAGS_IN(); 4581 L_2B06E289: 4582 /* test edi, edi */ /* 0x2B06E289: test edi, edi */ 4583 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4584 _cf = 0; 4585 _flag_k = FK_TEST; 4586 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E28B: jbe 0x2b06e554 */ 4587 L_2B06E291: 4588 edx = MEM32(esi + 0x8); /* 0x2B06E291: mov edx, dword ptr [esi + 8] */ 4589 eax = edi; /* 0x2B06E294: mov eax, edi */ 4590 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4591 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4592 eax = eax + edx; /* 0x2B06E296: add eax, edx */ 4593 _flag_k = FK_ADD; 4594 PUSH32(esp, 0); /* 0x2B06E298: push 0 */ 4595 PUSH32(esp, eax); /* 0x2B06E29A: push eax */ 4596 ecx = esi; /* 0x2B06E29B: mov ecx, esi */ 4597 MEM32(ebp + (-0xC)) = eax; /* 0x2B06E29D: mov dword ptr [ebp - 0xc], eax */ 4598 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E2A0: call dword ptr [0x2b0b5154] */ 4599 RECOMP_FLAGS_IN(); 4600 /* test LO8(eax), LO8(eax) */ /* 0x2B06E2A6: test al, al */ 4601 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4602 _cf = 0; 4603 _flag_k = FK_NARROW(FK_TEST, 24); 4604 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E2A8: je 0x2b06e554 */ 4605 L_2B06E2AE: 4606 eax = MEM32(ebp + (-0x14)); /* 0x2B06E2AE: mov eax, dword ptr [ebp - 0x14] */ 4607 edx = MEM32(eax + 0x8); /* 0x2B06E2B1: mov edx, dword ptr [eax + 8] */ 4608 ecx = edi; /* 0x2B06E2B4: mov ecx, edi */ 4609 edi = MEM32(eax + 0x4); /* 0x2B06E2B6: mov edi, dword ptr [eax + 4] */ 4610 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 4611 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4612 edi = edi + edx; /* 0x2B06E2B9: add edi, edx */ 4613 _flag_k = FK_ADD; 4614 edx = ecx; /* 0x2B06E2BB: mov edx, ecx */ 4615 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E2BD: shr ecx, 2 */ 4616 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4617 ecx = ecx >> 2u; /* 0x2B06E2BD: shr ecx, 2 */ 4618 esi = 0x2B0EB69Cu; /* 0x2B06E2C0: mov esi, 0x2b0eb69c */ 4619 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E2C5: 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; } 4620 ecx = edx; /* 0x2B06E2C7: mov ecx, edx */ 4621 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 4622 ecx = ecx & 3; /* 0x2B06E2C9: and ecx, 3 */ 4623 _cf = 0; 4624 _flag_k = FK_TEST; 4625 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E2CC: 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; } 4626 ecx = MEM32(ebp + (-0xC)); /* 0x2B06E2CE: mov ecx, dword ptr [ebp - 0xc] */ 4627 goto L_2B06E54B; /* 0x2B06E2D1: jmp 0x2b06e54b */ 4628 L_2B06E2D6: 4629 /* cmp eax, 4 */ /* 0x2B06E2D6: cmp eax, 4 */ 4630 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 4631 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4632 _flag_k = FK_CMP; 4633 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06E354; /* 0x2B06E2D9: jne 0x2b06e354 */ 4634 L_2B06E2DB: 4635 edx = MEM32(0x2B0B515C); /* 0x2B06E2DB: mov edx, dword ptr [0x2b0b515c] */ 4636 esi = MEM32(ebx + 0x28); /* 0x2B06E2E1: mov esi, dword ptr [ebx + 0x28] */ 4637 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4638 eax = 0; /* 0x2B06E2E4: xor eax, eax */ 4639 _cf = 0; 4640 _flag_k = FK_TEST; 4641 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 4642 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E2E6: or ecx, 0xffffffff */ 4643 _cf = 0; 4644 _flag_k = FK_TEST; 4645 edi = 0x2B0EB68Cu; /* 0x2B06E2E9: mov edi, 0x2b0eb68c */ 4646 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; } /* 0x2B06E2EE: repne scasb al, byte ptr es:[edi] */ 4647 eax = MEM32(edx); /* 0x2B06E2F0: mov eax, dword ptr [edx] */ 4648 edx = MEM32(esi + 0x8); /* 0x2B06E2F2: mov edx, dword ptr [esi + 8] */ 4649 ecx = ~ecx; /* 0x2B06E2F5: not ecx */ 4650 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 4651 ecx = ecx - 1; /* 0x2B06E2F7: dec ecx */ 4652 _flag_k = FK_DEC; 4653 edi = ecx; /* 0x2B06E2F8: mov edi, ecx */ 4654 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4655 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4656 eax = eax - edx; /* 0x2B06E2FA: sub eax, edx */ 4657 _flag_k = FK_CMP; 4658 /* cmp eax, edi */ /* 0x2B06E2FC: cmp eax, edi */ 4659 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4660 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4661 _flag_k = FK_CMP; 4662 MEM32(ebp + (-0x14)) = esi; /* 0x2B06E2FE: mov dword ptr [ebp - 0x14], esi */ 4663 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E309; /* 0x2B06E301: ja 0x2b06e309 */ 4664 L_2B06E303: 4665 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E303: call dword ptr [0x2b0b51a8] */ 4666 RECOMP_FLAGS_IN(); 4667 L_2B06E309: 4668 /* test edi, edi */ /* 0x2B06E309: test edi, edi */ 4669 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4670 _cf = 0; 4671 _flag_k = FK_TEST; 4672 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E30B: jbe 0x2b06e554 */ 4673 L_2B06E311: 4674 eax = MEM32(esi + 0x8); /* 0x2B06E311: mov eax, dword ptr [esi + 8] */ 4675 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4676 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4677 eax = eax + edi; /* 0x2B06E314: add eax, edi */ 4678 _flag_k = FK_ADD; 4679 PUSH32(esp, 0); /* 0x2B06E316: push 0 */ 4680 PUSH32(esp, eax); /* 0x2B06E318: push eax */ 4681 ecx = esi; /* 0x2B06E319: mov ecx, esi */ 4682 MEM32(ebp + (-0xC)) = eax; /* 0x2B06E31B: mov dword ptr [ebp - 0xc], eax */ 4683 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E31E: call dword ptr [0x2b0b5154] */ 4684 RECOMP_FLAGS_IN(); 4685 /* test LO8(eax), LO8(eax) */ /* 0x2B06E324: test al, al */ 4686 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4687 _cf = 0; 4688 _flag_k = FK_NARROW(FK_TEST, 24); 4689 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E326: je 0x2b06e554 */ 4690 L_2B06E32C: 4691 eax = MEM32(ebp + (-0x14)); /* 0x2B06E32C: mov eax, dword ptr [ebp - 0x14] */ 4692 edx = MEM32(eax + 0x8); /* 0x2B06E32F: mov edx, dword ptr [eax + 8] */ 4693 ecx = edi; /* 0x2B06E332: mov ecx, edi */ 4694 edi = MEM32(eax + 0x4); /* 0x2B06E334: mov edi, dword ptr [eax + 4] */ 4695 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 4696 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4697 edi = edi + edx; /* 0x2B06E337: add edi, edx */ 4698 _flag_k = FK_ADD; 4699 edx = ecx; /* 0x2B06E339: mov edx, ecx */ 4700 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E33B: shr ecx, 2 */ 4701 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4702 ecx = ecx >> 2u; /* 0x2B06E33B: shr ecx, 2 */ 4703 esi = 0x2B0EB68Cu; /* 0x2B06E33E: mov esi, 0x2b0eb68c */ 4704 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E343: 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; } 4705 ecx = edx; /* 0x2B06E345: mov ecx, edx */ 4706 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 4707 ecx = ecx & 3; /* 0x2B06E347: and ecx, 3 */ 4708 _cf = 0; 4709 _flag_k = FK_TEST; 4710 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E34A: 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; } 4711 ecx = MEM32(ebp + (-0xC)); /* 0x2B06E34C: mov ecx, dword ptr [ebp - 0xc] */ 4712 goto L_2B06E54B; /* 0x2B06E34F: jmp 0x2b06e54b */ 4713 L_2B06E354: 4714 /* cmp eax, 5 */ /* 0x2B06E354: cmp eax, 5 */ 4715 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(5); 4716 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4717 _flag_k = FK_CMP; 4718 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06E3D2; /* 0x2B06E357: jne 0x2b06e3d2 */ 4719 L_2B06E359: 4720 edx = MEM32(0x2B0B515C); /* 0x2B06E359: mov edx, dword ptr [0x2b0b515c] */ 4721 esi = MEM32(ebx + 0x28); /* 0x2B06E35F: mov esi, dword ptr [ebx + 0x28] */ 4722 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4723 eax = 0; /* 0x2B06E362: xor eax, eax */ 4724 _cf = 0; 4725 _flag_k = FK_TEST; 4726 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 4727 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E364: or ecx, 0xffffffff */ 4728 _cf = 0; 4729 _flag_k = FK_TEST; 4730 edi = 0x2B0EB684u; /* 0x2B06E367: mov edi, 0x2b0eb684 */ 4731 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; } /* 0x2B06E36C: repne scasb al, byte ptr es:[edi] */ 4732 eax = MEM32(edx); /* 0x2B06E36E: mov eax, dword ptr [edx] */ 4733 edx = MEM32(esi + 0x8); /* 0x2B06E370: mov edx, dword ptr [esi + 8] */ 4734 ecx = ~ecx; /* 0x2B06E373: not ecx */ 4735 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 4736 ecx = ecx - 1; /* 0x2B06E375: dec ecx */ 4737 _flag_k = FK_DEC; 4738 edi = ecx; /* 0x2B06E376: mov edi, ecx */ 4739 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4740 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4741 eax = eax - edx; /* 0x2B06E378: sub eax, edx */ 4742 _flag_k = FK_CMP; 4743 /* cmp eax, edi */ /* 0x2B06E37A: cmp eax, edi */ 4744 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4745 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4746 _flag_k = FK_CMP; 4747 MEM32(ebp + (-0x14)) = esi; /* 0x2B06E37C: mov dword ptr [ebp - 0x14], esi */ 4748 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E387; /* 0x2B06E37F: ja 0x2b06e387 */ 4749 L_2B06E381: 4750 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E381: call dword ptr [0x2b0b51a8] */ 4751 RECOMP_FLAGS_IN(); 4752 L_2B06E387: 4753 /* test edi, edi */ /* 0x2B06E387: test edi, edi */ 4754 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4755 _cf = 0; 4756 _flag_k = FK_TEST; 4757 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E389: jbe 0x2b06e554 */ 4758 L_2B06E38F: 4759 eax = MEM32(esi + 0x8); /* 0x2B06E38F: mov eax, dword ptr [esi + 8] */ 4760 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4761 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4762 eax = eax + edi; /* 0x2B06E392: add eax, edi */ 4763 _flag_k = FK_ADD; 4764 PUSH32(esp, 0); /* 0x2B06E394: push 0 */ 4765 PUSH32(esp, eax); /* 0x2B06E396: push eax */ 4766 ecx = esi; /* 0x2B06E397: mov ecx, esi */ 4767 MEM32(ebp + (-0xC)) = eax; /* 0x2B06E399: mov dword ptr [ebp - 0xc], eax */ 4768 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E39C: call dword ptr [0x2b0b5154] */ 4769 RECOMP_FLAGS_IN(); 4770 /* test LO8(eax), LO8(eax) */ /* 0x2B06E3A2: test al, al */ 4771 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4772 _cf = 0; 4773 _flag_k = FK_NARROW(FK_TEST, 24); 4774 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E3A4: je 0x2b06e554 */ 4775 L_2B06E3AA: 4776 eax = MEM32(ebp + (-0x14)); /* 0x2B06E3AA: mov eax, dword ptr [ebp - 0x14] */ 4777 edx = MEM32(eax + 0x8); /* 0x2B06E3AD: mov edx, dword ptr [eax + 8] */ 4778 ecx = edi; /* 0x2B06E3B0: mov ecx, edi */ 4779 edi = MEM32(eax + 0x4); /* 0x2B06E3B2: mov edi, dword ptr [eax + 4] */ 4780 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 4781 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4782 edi = edi + edx; /* 0x2B06E3B5: add edi, edx */ 4783 _flag_k = FK_ADD; 4784 edx = ecx; /* 0x2B06E3B7: mov edx, ecx */ 4785 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E3B9: shr ecx, 2 */ 4786 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4787 ecx = ecx >> 2u; /* 0x2B06E3B9: shr ecx, 2 */ 4788 esi = 0x2B0EB684u; /* 0x2B06E3BC: mov esi, 0x2b0eb684 */ 4789 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E3C1: 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; } 4790 ecx = edx; /* 0x2B06E3C3: mov ecx, edx */ 4791 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 4792 ecx = ecx & 3; /* 0x2B06E3C5: and ecx, 3 */ 4793 _cf = 0; 4794 _flag_k = FK_TEST; 4795 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E3C8: 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; } 4796 ecx = MEM32(ebp + (-0xC)); /* 0x2B06E3CA: mov ecx, dword ptr [ebp - 0xc] */ 4797 goto L_2B06E54B; /* 0x2B06E3CD: jmp 0x2b06e54b */ 4798 L_2B06E3D2: 4799 /* cmp eax, 6 */ /* 0x2B06E3D2: cmp eax, 6 */ 4800 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(6); 4801 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4802 _flag_k = FK_CMP; 4803 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06E452; /* 0x2B06E3D5: jne 0x2b06e452 */ 4804 L_2B06E3D7: 4805 edx = MEM32(0x2B0B515C); /* 0x2B06E3D7: mov edx, dword ptr [0x2b0b515c] */ 4806 esi = MEM32(ebx + 0x28); /* 0x2B06E3DD: mov esi, dword ptr [ebx + 0x28] */ 4807 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4808 eax = 0; /* 0x2B06E3E0: xor eax, eax */ 4809 _cf = 0; 4810 _flag_k = FK_TEST; 4811 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 4812 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E3E2: or ecx, 0xffffffff */ 4813 _cf = 0; 4814 _flag_k = FK_TEST; 4815 edi = 0x2B0EB674u; /* 0x2B06E3E5: mov edi, 0x2b0eb674 */ 4816 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; } /* 0x2B06E3EA: repne scasb al, byte ptr es:[edi] */ 4817 eax = MEM32(edx); /* 0x2B06E3EC: mov eax, dword ptr [edx] */ 4818 edx = MEM32(esi + 0x8); /* 0x2B06E3EE: mov edx, dword ptr [esi + 8] */ 4819 ecx = ~ecx; /* 0x2B06E3F1: not ecx */ 4820 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 4821 ecx = ecx - 1; /* 0x2B06E3F3: dec ecx */ 4822 _flag_k = FK_DEC; 4823 edi = ecx; /* 0x2B06E3F4: mov edi, ecx */ 4824 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4825 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4826 eax = eax - edx; /* 0x2B06E3F6: sub eax, edx */ 4827 _flag_k = FK_CMP; 4828 /* cmp eax, edi */ /* 0x2B06E3F8: cmp eax, edi */ 4829 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4830 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4831 _flag_k = FK_CMP; 4832 MEM32(ebp + (-0x14)) = esi; /* 0x2B06E3FA: mov dword ptr [ebp - 0x14], esi */ 4833 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E405; /* 0x2B06E3FD: ja 0x2b06e405 */ 4834 L_2B06E3FF: 4835 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E3FF: call dword ptr [0x2b0b51a8] */ 4836 RECOMP_FLAGS_IN(); 4837 L_2B06E405: 4838 /* test edi, edi */ /* 0x2B06E405: test edi, edi */ 4839 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4840 _cf = 0; 4841 _flag_k = FK_TEST; 4842 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E407: jbe 0x2b06e554 */ 4843 L_2B06E40D: 4844 edx = MEM32(esi + 0x8); /* 0x2B06E40D: mov edx, dword ptr [esi + 8] */ 4845 eax = edi; /* 0x2B06E410: mov eax, edi */ 4846 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4847 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4848 eax = eax + edx; /* 0x2B06E412: add eax, edx */ 4849 _flag_k = FK_ADD; 4850 PUSH32(esp, 0); /* 0x2B06E414: push 0 */ 4851 PUSH32(esp, eax); /* 0x2B06E416: push eax */ 4852 ecx = esi; /* 0x2B06E417: mov ecx, esi */ 4853 MEM32(ebp + (-0xC)) = eax; /* 0x2B06E419: mov dword ptr [ebp - 0xc], eax */ 4854 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E41C: call dword ptr [0x2b0b5154] */ 4855 RECOMP_FLAGS_IN(); 4856 /* test LO8(eax), LO8(eax) */ /* 0x2B06E422: test al, al */ 4857 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4858 _cf = 0; 4859 _flag_k = FK_NARROW(FK_TEST, 24); 4860 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E424: je 0x2b06e554 */ 4861 L_2B06E42A: 4862 eax = MEM32(ebp + (-0x14)); /* 0x2B06E42A: mov eax, dword ptr [ebp - 0x14] */ 4863 edx = MEM32(eax + 0x8); /* 0x2B06E42D: mov edx, dword ptr [eax + 8] */ 4864 ecx = edi; /* 0x2B06E430: mov ecx, edi */ 4865 edi = MEM32(eax + 0x4); /* 0x2B06E432: mov edi, dword ptr [eax + 4] */ 4866 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 4867 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4868 edi = edi + edx; /* 0x2B06E435: add edi, edx */ 4869 _flag_k = FK_ADD; 4870 edx = ecx; /* 0x2B06E437: mov edx, ecx */ 4871 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E439: shr ecx, 2 */ 4872 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4873 ecx = ecx >> 2u; /* 0x2B06E439: shr ecx, 2 */ 4874 esi = 0x2B0EB674u; /* 0x2B06E43C: mov esi, 0x2b0eb674 */ 4875 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E441: 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; } 4876 ecx = edx; /* 0x2B06E443: mov ecx, edx */ 4877 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 4878 ecx = ecx & 3; /* 0x2B06E445: and ecx, 3 */ 4879 _cf = 0; 4880 _flag_k = FK_TEST; 4881 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E448: 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; } 4882 ecx = MEM32(ebp + (-0xC)); /* 0x2B06E44A: mov ecx, dword ptr [ebp - 0xc] */ 4883 goto L_2B06E54B; /* 0x2B06E44D: jmp 0x2b06e54b */ 4884 L_2B06E452: 4885 /* cmp eax, 0xAu */ /* 0x2B06E452: cmp eax, 0xa */ 4886 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xAu); 4887 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4888 _flag_k = FK_CMP; 4889 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06E4CF; /* 0x2B06E455: jne 0x2b06e4cf */ 4890 L_2B06E457: 4891 edx = MEM32(0x2B0B515C); /* 0x2B06E457: mov edx, dword ptr [0x2b0b515c] */ 4892 esi = MEM32(ebx + 0x28); /* 0x2B06E45D: mov esi, dword ptr [ebx + 0x28] */ 4893 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4894 eax = 0; /* 0x2B06E460: xor eax, eax */ 4895 _cf = 0; 4896 _flag_k = FK_TEST; 4897 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 4898 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E462: or ecx, 0xffffffff */ 4899 _cf = 0; 4900 _flag_k = FK_TEST; 4901 edi = 0x2B0EB664u; /* 0x2B06E465: mov edi, 0x2b0eb664 */ 4902 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; } /* 0x2B06E46A: repne scasb al, byte ptr es:[edi] */ 4903 eax = MEM32(edx); /* 0x2B06E46C: mov eax, dword ptr [edx] */ 4904 edx = MEM32(esi + 0x8); /* 0x2B06E46E: mov edx, dword ptr [esi + 8] */ 4905 ecx = ~ecx; /* 0x2B06E471: not ecx */ 4906 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 4907 ecx = ecx - 1; /* 0x2B06E473: dec ecx */ 4908 _flag_k = FK_DEC; 4909 edi = ecx; /* 0x2B06E474: mov edi, ecx */ 4910 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4911 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4912 eax = eax - edx; /* 0x2B06E476: sub eax, edx */ 4913 _flag_k = FK_CMP; 4914 /* cmp eax, edi */ /* 0x2B06E478: cmp eax, edi */ 4915 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4916 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4917 _flag_k = FK_CMP; 4918 MEM32(ebp + (-0x14)) = esi; /* 0x2B06E47A: mov dword ptr [ebp - 0x14], esi */ 4919 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E485; /* 0x2B06E47D: ja 0x2b06e485 */ 4920 L_2B06E47F: 4921 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E47F: call dword ptr [0x2b0b51a8] */ 4922 RECOMP_FLAGS_IN(); 4923 L_2B06E485: 4924 /* test edi, edi */ /* 0x2B06E485: test edi, edi */ 4925 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4926 _cf = 0; 4927 _flag_k = FK_TEST; 4928 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E487: jbe 0x2b06e554 */ 4929 L_2B06E48D: 4930 edx = MEM32(esi + 0x8); /* 0x2B06E48D: mov edx, dword ptr [esi + 8] */ 4931 eax = edi; /* 0x2B06E490: mov eax, edi */ 4932 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4933 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4934 eax = eax + edx; /* 0x2B06E492: add eax, edx */ 4935 _flag_k = FK_ADD; 4936 PUSH32(esp, 0); /* 0x2B06E494: push 0 */ 4937 PUSH32(esp, eax); /* 0x2B06E496: push eax */ 4938 ecx = esi; /* 0x2B06E497: mov ecx, esi */ 4939 MEM32(ebp + (-0xC)) = eax; /* 0x2B06E499: mov dword ptr [ebp - 0xc], eax */ 4940 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E49C: call dword ptr [0x2b0b5154] */ 4941 RECOMP_FLAGS_IN(); 4942 /* test LO8(eax), LO8(eax) */ /* 0x2B06E4A2: test al, al */ 4943 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4944 _cf = 0; 4945 _flag_k = FK_NARROW(FK_TEST, 24); 4946 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E4A4: je 0x2b06e554 */ 4947 L_2B06E4AA: 4948 eax = MEM32(ebp + (-0x14)); /* 0x2B06E4AA: mov eax, dword ptr [ebp - 0x14] */ 4949 edx = MEM32(eax + 0x8); /* 0x2B06E4AD: mov edx, dword ptr [eax + 8] */ 4950 ecx = edi; /* 0x2B06E4B0: mov ecx, edi */ 4951 edi = MEM32(eax + 0x4); /* 0x2B06E4B2: mov edi, dword ptr [eax + 4] */ 4952 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 4953 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4954 edi = edi + edx; /* 0x2B06E4B5: add edi, edx */ 4955 _flag_k = FK_ADD; 4956 edx = ecx; /* 0x2B06E4B7: mov edx, ecx */ 4957 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E4B9: shr ecx, 2 */ 4958 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4959 ecx = ecx >> 2u; /* 0x2B06E4B9: shr ecx, 2 */ 4960 esi = 0x2B0EB664u; /* 0x2B06E4BC: mov esi, 0x2b0eb664 */ 4961 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E4C1: 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; } 4962 ecx = edx; /* 0x2B06E4C3: mov ecx, edx */ 4963 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 4964 ecx = ecx & 3; /* 0x2B06E4C5: and ecx, 3 */ 4965 _cf = 0; 4966 _flag_k = FK_TEST; 4967 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E4C8: 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; } 4968 ecx = MEM32(ebp + (-0xC)); /* 0x2B06E4CA: mov ecx, dword ptr [ebp - 0xc] */ 4969 goto L_2B06E54B; /* 0x2B06E4CD: jmp 0x2b06e54b */ 4970 L_2B06E4CF: 4971 PUSH32(esp, eax); /* 0x2B06E4CF: push eax */ 4972 edx = ebp + (-0x54); /* 0x2B06E4D0: lea edx, [ebp - 0x54] */ 4973 PUSH32(esp, 0x2B0EB658u); /* 0x2B06E4D3: push 0x2b0eb658 */ 4974 PUSH32(esp, edx); /* 0x2B06E4D8: push edx */ 4975 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B06E4D9: call dword ptr [0x2b0b51f0] */ 4976 RECOMP_FLAGS_IN(); 4977 esi = MEM32(ebx + 0x28); /* 0x2B06E4DF: mov esi, dword ptr [ebx + 0x28] */ 4978 edx = MEM32(esi + 0x8); /* 0x2B06E4E2: mov edx, dword ptr [esi + 8] */ 4979 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 4980 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E4E5: or ecx, 0xffffffff */ 4981 _cf = 0; 4982 _flag_k = FK_TEST; 4983 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4984 eax = 0; /* 0x2B06E4E8: xor eax, eax */ 4985 _cf = 0; 4986 _flag_k = FK_TEST; 4987 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 4988 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4989 esp = esp + 0xCu; /* 0x2B06E4EA: add esp, 0xc */ 4990 _flag_k = FK_ADD; 4991 edi = ebp + (-0x54); /* 0x2B06E4ED: lea edi, [ebp - 0x54] */ 4992 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; } /* 0x2B06E4F0: repne scasb al, byte ptr es:[edi] */ 4993 eax = MEM32(0x2B0B515C); /* 0x2B06E4F2: mov eax, dword ptr [0x2b0b515c] */ 4994 ecx = ~ecx; /* 0x2B06E4F7: not ecx */ 4995 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 4996 ecx = ecx - 1; /* 0x2B06E4F9: dec ecx */ 4997 _flag_k = FK_DEC; 4998 edi = ecx; /* 0x2B06E4FA: mov edi, ecx */ 4999 ecx = MEM32(eax); /* 0x2B06E4FC: mov ecx, dword ptr [eax] */ 5000 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 5001 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5002 ecx = ecx - edx; /* 0x2B06E4FE: sub ecx, edx */ 5003 _flag_k = FK_CMP; 5004 /* cmp ecx, edi */ /* 0x2B06E500: cmp ecx, edi */ 5005 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 5006 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5007 _flag_k = FK_CMP; 5008 MEM32(ebp + (-0x14)) = esi; /* 0x2B06E502: mov dword ptr [ebp - 0x14], esi */ 5009 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E50D; /* 0x2B06E505: ja 0x2b06e50d */ 5010 L_2B06E507: 5011 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E507: call dword ptr [0x2b0b51a8] */ 5012 RECOMP_FLAGS_IN(); 5013 L_2B06E50D: 5014 /* test edi, edi */ /* 0x2B06E50D: test edi, edi */ 5015 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 5016 _cf = 0; 5017 _flag_k = FK_TEST; 5018 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E50F: jbe 0x2b06e554 */ 5019 L_2B06E511: 5020 edx = MEM32(esi + 0x8); /* 0x2B06E511: mov edx, dword ptr [esi + 8] */ 5021 eax = edi; /* 0x2B06E514: mov eax, edi */ 5022 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5023 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5024 eax = eax + edx; /* 0x2B06E516: add eax, edx */ 5025 _flag_k = FK_ADD; 5026 PUSH32(esp, 0); /* 0x2B06E518: push 0 */ 5027 PUSH32(esp, eax); /* 0x2B06E51A: push eax */ 5028 ecx = esi; /* 0x2B06E51B: mov ecx, esi */ 5029 MEM32(ebp + (-0xC)) = eax; /* 0x2B06E51D: mov dword ptr [ebp - 0xc], eax */ 5030 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E520: call dword ptr [0x2b0b5154] */ 5031 RECOMP_FLAGS_IN(); 5032 /* test LO8(eax), LO8(eax) */ /* 0x2B06E526: test al, al */ 5033 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5034 _cf = 0; 5035 _flag_k = FK_NARROW(FK_TEST, 24); 5036 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E554; /* 0x2B06E528: je 0x2b06e554 */ 5037 L_2B06E52A: 5038 eax = MEM32(ebp + (-0x14)); /* 0x2B06E52A: mov eax, dword ptr [ebp - 0x14] */ 5039 edx = MEM32(eax + 0x8); /* 0x2B06E52D: mov edx, dword ptr [eax + 8] */ 5040 ecx = edi; /* 0x2B06E530: mov ecx, edi */ 5041 edi = MEM32(eax + 0x4); /* 0x2B06E532: mov edi, dword ptr [eax + 4] */ 5042 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 5043 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5044 edi = edi + edx; /* 0x2B06E535: add edi, edx */ 5045 _flag_k = FK_ADD; 5046 edx = ecx; /* 0x2B06E537: mov edx, ecx */ 5047 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E539: shr ecx, 2 */ 5048 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5049 ecx = ecx >> 2u; /* 0x2B06E539: shr ecx, 2 */ 5050 esi = ebp + (-0x54); /* 0x2B06E53C: lea esi, [ebp - 0x54] */ 5051 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E53F: 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; } 5052 ecx = edx; /* 0x2B06E541: mov ecx, edx */ 5053 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 5054 ecx = ecx & 3; /* 0x2B06E543: and ecx, 3 */ 5055 _cf = 0; 5056 _flag_k = FK_TEST; 5057 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E546: 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; } 5058 ecx = MEM32(ebp + (-0xC)); /* 0x2B06E548: mov ecx, dword ptr [ebp - 0xc] */ 5059 L_2B06E54B: 5060 PUSH32(esp, ecx); /* 0x2B06E54B: push ecx */ 5061 ecx = eax; /* 0x2B06E54C: mov ecx, eax */ 5062 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06E54E: call dword ptr [0x2b0b5150] */ 5063 RECOMP_FLAGS_IN(); 5064 L_2B06E554: 5065 edx = MEM32(ebx + 0x28); /* 0x2B06E554: mov edx, dword ptr [ebx + 0x28] */ 5066 esi = MEM32(ebp + 0x8); /* 0x2B06E557: mov esi, dword ptr [ebp + 8] */ 5067 PUSH32(esp, edx); /* 0x2B06E55A: push edx */ 5068 PUSH32(esp, esi); /* 0x2B06E55B: push esi */ 5069 ecx = ebx; /* 0x2B06E55C: mov ecx, ebx */ 5070 RECOMP_ICALL(0x2B073BE0u); /* 0x2B06E55E: call 0x2b073be0 */ /* not lifted */ 5071 RECOMP_FLAGS_IN(); 5072 eax = MEM32(ebx + 0x28); /* 0x2B06E563: mov eax, dword ptr [ebx + 0x28] */ 5073 PUSH32(esp, eax); /* 0x2B06E566: push eax */ 5074 PUSH32(esp, esi); /* 0x2B06E567: push esi */ 5075 ecx = ebx; /* 0x2B06E568: mov ecx, ebx */ 5076 RECOMP_ICALL(0x2B073C20u); /* 0x2B06E56A: call 0x2b073c20 */ /* not lifted */ 5077 RECOMP_FLAGS_IN(); 5078 ecx = MEM32(ebx + 0x28); /* 0x2B06E56F: mov ecx, dword ptr [ebx + 0x28] */ 5079 PUSH32(esp, ecx); /* 0x2B06E572: push ecx */ 5080 PUSH32(esp, esi); /* 0x2B06E573: push esi */ 5081 ecx = ebx; /* 0x2B06E574: mov ecx, ebx */ 5082 RECOMP_ICALL(0x2B073B50u); /* 0x2B06E576: call 0x2b073b50 */ /* not lifted */ 5083 RECOMP_FLAGS_IN(); 5084 edx = MEM32(ebx + 0x28); /* 0x2B06E57B: mov edx, dword ptr [ebx + 0x28] */ 5085 PUSH32(esp, edx); /* 0x2B06E57E: push edx */ 5086 PUSH32(esp, esi); /* 0x2B06E57F: push esi */ 5087 ecx = ebx; /* 0x2B06E580: mov ecx, ebx */ 5088 RECOMP_ICALL(0x2B073B90u); /* 0x2B06E582: call 0x2b073b90 */ /* not lifted */ 5089 RECOMP_FLAGS_IN(); 5090 PUSH32(esp, 0x65u); /* 0x2B06E587: push 0x65 */ 5091 PUSH32(esp, esi); /* 0x2B06E589: push esi */ 5092 ecx = ebx; /* 0x2B06E58A: mov ecx, ebx */ 5093 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06E58C: call 0x2b0735d0 */ /* not lifted */ 5094 RECOMP_FLAGS_IN(); 5095 /* cmp eax, 0x499602D2u */ /* 0x2B06E591: cmp eax, 0x499602d2 */ 5096 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 5097 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5098 _flag_k = FK_CMP; 5099 MEM32(ebp + (-0x18)) = eax; /* 0x2B06E596: mov dword ptr [ebp - 0x18], eax */ 5100 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06E7B7; /* 0x2B06E599: je 0x2b06e7b7 */ 5101 L_2B06E59F: 5102 ecx = MEM32(ebx + 0x28); /* 0x2B06E59F: mov ecx, dword ptr [ebx + 0x28] */ 5103 PUSH32(esp, 0x13u); /* 0x2B06E5A2: push 0x13 */ 5104 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06E5A4: push -1 */ 5105 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06E5A6: call dword ptr [0x2b0b5a74] */ 5106 RECOMP_FLAGS_IN(); 5107 esi = MEM32(ebx + 0x28); /* 0x2B06E5AC: mov esi, dword ptr [ebx + 0x28] */ 5108 edx = MEM32(esi + 0x8); /* 0x2B06E5AF: mov edx, dword ptr [esi + 8] */ 5109 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 5110 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E5B2: or ecx, 0xffffffff */ 5111 _cf = 0; 5112 _flag_k = FK_TEST; 5113 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5114 eax = 0; /* 0x2B06E5B5: xor eax, eax */ 5115 _cf = 0; 5116 _flag_k = FK_TEST; 5117 edi = 0x2B0EB648u; /* 0x2B06E5B7: mov edi, 0x2b0eb648 */ 5118 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; } /* 0x2B06E5BC: repne scasb al, byte ptr es:[edi] */ 5119 eax = MEM32(0x2B0B515C); /* 0x2B06E5BE: mov eax, dword ptr [0x2b0b515c] */ 5120 ecx = ~ecx; /* 0x2B06E5C3: not ecx */ 5121 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 5122 ecx = ecx - 1; /* 0x2B06E5C5: dec ecx */ 5123 _flag_k = FK_DEC; 5124 edi = ecx; /* 0x2B06E5C6: mov edi, ecx */ 5125 ecx = MEM32(eax); /* 0x2B06E5C8: mov ecx, dword ptr [eax] */ 5126 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 5127 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5128 ecx = ecx - edx; /* 0x2B06E5CA: sub ecx, edx */ 5129 _flag_k = FK_CMP; 5130 /* cmp ecx, edi */ /* 0x2B06E5CC: cmp ecx, edi */ 5131 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 5132 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5133 _flag_k = FK_CMP; 5134 MEM32(ebp + (-0x14)) = esi; /* 0x2B06E5CE: mov dword ptr [ebp - 0x14], esi */ 5135 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E5D9; /* 0x2B06E5D1: ja 0x2b06e5d9 */ 5136 L_2B06E5D3: 5137 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E5D3: call dword ptr [0x2b0b51a8] */ 5138 RECOMP_FLAGS_IN(); 5139 L_2B06E5D9: 5140 /* test edi, edi */ /* 0x2B06E5D9: test edi, edi */ 5141 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 5142 _cf = 0; 5143 _flag_k = FK_TEST; 5144 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E622; /* 0x2B06E5DB: jbe 0x2b06e622 */ 5145 L_2B06E5DD: 5146 edx = MEM32(esi + 0x8); /* 0x2B06E5DD: mov edx, dword ptr [esi + 8] */ 5147 eax = edi; /* 0x2B06E5E0: mov eax, edi */ 5148 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5149 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5150 eax = eax + edx; /* 0x2B06E5E2: add eax, edx */ 5151 _flag_k = FK_ADD; 5152 PUSH32(esp, 0); /* 0x2B06E5E4: push 0 */ 5153 PUSH32(esp, eax); /* 0x2B06E5E6: push eax */ 5154 ecx = esi; /* 0x2B06E5E7: mov ecx, esi */ 5155 MEM32(ebp + (-0xC)) = eax; /* 0x2B06E5E9: mov dword ptr [ebp - 0xc], eax */ 5156 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E5EC: call dword ptr [0x2b0b5154] */ 5157 RECOMP_FLAGS_IN(); 5158 /* test LO8(eax), LO8(eax) */ /* 0x2B06E5F2: test al, al */ 5159 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5160 _cf = 0; 5161 _flag_k = FK_NARROW(FK_TEST, 24); 5162 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E622; /* 0x2B06E5F4: je 0x2b06e622 */ 5163 L_2B06E5F6: 5164 eax = MEM32(ebp + (-0x14)); /* 0x2B06E5F6: mov eax, dword ptr [ebp - 0x14] */ 5165 edx = MEM32(eax + 0x8); /* 0x2B06E5F9: mov edx, dword ptr [eax + 8] */ 5166 ecx = edi; /* 0x2B06E5FC: mov ecx, edi */ 5167 edi = MEM32(eax + 0x4); /* 0x2B06E5FE: mov edi, dword ptr [eax + 4] */ 5168 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 5169 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5170 edi = edi + edx; /* 0x2B06E601: add edi, edx */ 5171 _flag_k = FK_ADD; 5172 edx = ecx; /* 0x2B06E603: mov edx, ecx */ 5173 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E605: shr ecx, 2 */ 5174 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5175 ecx = ecx >> 2u; /* 0x2B06E605: shr ecx, 2 */ 5176 esi = 0x2B0EB648u; /* 0x2B06E608: mov esi, 0x2b0eb648 */ 5177 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E60D: 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; } 5178 ecx = edx; /* 0x2B06E60F: mov ecx, edx */ 5179 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 5180 ecx = ecx & 3; /* 0x2B06E611: and ecx, 3 */ 5181 _cf = 0; 5182 _flag_k = FK_TEST; 5183 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E614: 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; } 5184 ecx = MEM32(ebp + (-0xC)); /* 0x2B06E616: mov ecx, dword ptr [ebp - 0xc] */ 5185 PUSH32(esp, ecx); /* 0x2B06E619: push ecx */ 5186 ecx = eax; /* 0x2B06E61A: mov ecx, eax */ 5187 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06E61C: call dword ptr [0x2b0b5150] */ 5188 RECOMP_FLAGS_IN(); 5189 L_2B06E622: 5190 ecx = MEM32(ebx + 0x28); /* 0x2B06E622: mov ecx, dword ptr [ebx + 0x28] */ 5191 PUSH32(esp, 0x14u); /* 0x2B06E625: push 0x14 */ 5192 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06E627: push -1 */ 5193 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06E629: call dword ptr [0x2b0b5a74] */ 5194 RECOMP_FLAGS_IN(); 5195 PUSH32(esp, 0x65u); /* 0x2B06E62F: push 0x65 */ 5196 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06E631: call dword ptr [0x2b0b5d6c] */ 5197 RECOMP_FLAGS_IN(); 5198 ecx = eax; /* 0x2B06E637: mov ecx, eax */ 5199 RECOMP_ICALL(MEM32(0x2B0B5DB4)); /* 0x2B06E639: call dword ptr [0x2b0b5db4] */ 5200 RECOMP_FLAGS_IN(); 5201 esi = eax; /* 0x2B06E63F: mov esi, eax */ 5202 /* test esi, esi */ /* 0x2B06E641: test esi, esi */ 5203 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 5204 _cf = 0; 5205 _flag_k = FK_TEST; 5206 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E6B3; /* 0x2B06E643: je 0x2b06e6b3 */ 5207 L_2B06E645: 5208 edx = MEM32(ebx + 0x28); /* 0x2B06E645: mov edx, dword ptr [ebx + 0x28] */ 5209 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 5210 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E648: or ecx, 0xffffffff */ 5211 _cf = 0; 5212 _flag_k = FK_TEST; 5213 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5214 eax = 0; /* 0x2B06E64B: xor eax, eax */ 5215 _cf = 0; 5216 _flag_k = FK_TEST; 5217 edi = esi; /* 0x2B06E64D: mov edi, esi */ 5218 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; } /* 0x2B06E64F: repne scasb al, byte ptr es:[edi] */ 5219 eax = MEM32(0x2B0B515C); /* 0x2B06E651: mov eax, dword ptr [0x2b0b515c] */ 5220 ecx = ~ecx; /* 0x2B06E656: not ecx */ 5221 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 5222 ecx = ecx - 1; /* 0x2B06E658: dec ecx */ 5223 _flag_k = FK_DEC; 5224 edi = ecx; /* 0x2B06E659: mov edi, ecx */ 5225 ecx = MEM32(eax); /* 0x2B06E65B: mov ecx, dword ptr [eax] */ 5226 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 5227 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5228 ecx = ecx - MEM32(edx + 0x8); /* 0x2B06E65D: sub ecx, dword ptr [edx + 8] */ 5229 _flag_k = FK_CMP; 5230 /* cmp ecx, edi */ /* 0x2B06E660: cmp ecx, edi */ 5231 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 5232 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5233 _flag_k = FK_CMP; 5234 MEM32(ebp + (-0x8)) = edx; /* 0x2B06E662: mov dword ptr [ebp - 8], edx */ 5235 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E66D; /* 0x2B06E665: ja 0x2b06e66d */ 5236 L_2B06E667: 5237 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E667: call dword ptr [0x2b0b51a8] */ 5238 RECOMP_FLAGS_IN(); 5239 L_2B06E66D: 5240 /* test edi, edi */ /* 0x2B06E66D: test edi, edi */ 5241 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 5242 _cf = 0; 5243 _flag_k = FK_TEST; 5244 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E72A; /* 0x2B06E66F: jbe 0x2b06e72a */ 5245 L_2B06E675: 5246 ecx = MEM32(ebp + (-0x8)); /* 0x2B06E675: mov ecx, dword ptr [ebp - 8] */ 5247 edx = MEM32(ecx + 0x8); /* 0x2B06E678: mov edx, dword ptr [ecx + 8] */ 5248 eax = edi; /* 0x2B06E67B: mov eax, edi */ 5249 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5250 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5251 eax = eax + edx; /* 0x2B06E67D: add eax, edx */ 5252 _flag_k = FK_ADD; 5253 PUSH32(esp, 0); /* 0x2B06E67F: push 0 */ 5254 PUSH32(esp, eax); /* 0x2B06E681: push eax */ 5255 MEM32(ebp + (-0x14)) = eax; /* 0x2B06E682: mov dword ptr [ebp - 0x14], eax */ 5256 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E685: call dword ptr [0x2b0b5154] */ 5257 RECOMP_FLAGS_IN(); 5258 /* test LO8(eax), LO8(eax) */ /* 0x2B06E68B: test al, al */ 5259 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5260 _cf = 0; 5261 _flag_k = FK_NARROW(FK_TEST, 24); 5262 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E72A; /* 0x2B06E68D: je 0x2b06e72a */ 5263 L_2B06E693: 5264 eax = MEM32(ebp + (-0x8)); /* 0x2B06E693: mov eax, dword ptr [ebp - 8] */ 5265 edx = MEM32(eax + 0x8); /* 0x2B06E696: mov edx, dword ptr [eax + 8] */ 5266 ecx = edi; /* 0x2B06E699: mov ecx, edi */ 5267 edi = MEM32(eax + 0x4); /* 0x2B06E69B: mov edi, dword ptr [eax + 4] */ 5268 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 5269 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5270 edi = edi + edx; /* 0x2B06E69E: add edi, edx */ 5271 _flag_k = FK_ADD; 5272 edx = ecx; /* 0x2B06E6A0: mov edx, ecx */ 5273 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E6A2: shr ecx, 2 */ 5274 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5275 ecx = ecx >> 2u; /* 0x2B06E6A2: shr ecx, 2 */ 5276 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E6A5: 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; } 5277 ecx = edx; /* 0x2B06E6A7: mov ecx, edx */ 5278 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 5279 ecx = ecx & 3; /* 0x2B06E6A9: and ecx, 3 */ 5280 _cf = 0; 5281 _flag_k = FK_TEST; 5282 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E6AC: 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; } 5283 ecx = MEM32(ebp + (-0x14)); /* 0x2B06E6AE: mov ecx, dword ptr [ebp - 0x14] */ 5284 goto L_2B06E721; /* 0x2B06E6B1: jmp 0x2b06e721 */ 5285 L_2B06E6B3: 5286 edx = MEM32(0x2B0B515C); /* 0x2B06E6B3: mov edx, dword ptr [0x2b0b515c] */ 5287 esi = MEM32(ebx + 0x28); /* 0x2B06E6B9: mov esi, dword ptr [ebx + 0x28] */ 5288 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5289 eax = 0; /* 0x2B06E6BC: xor eax, eax */ 5290 _cf = 0; 5291 _flag_k = FK_TEST; 5292 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 5293 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E6BE: or ecx, 0xffffffff */ 5294 _cf = 0; 5295 _flag_k = FK_TEST; 5296 edi = 0x2B0EB634u; /* 0x2B06E6C1: mov edi, 0x2b0eb634 */ 5297 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; } /* 0x2B06E6C6: repne scasb al, byte ptr es:[edi] */ 5298 eax = MEM32(edx); /* 0x2B06E6C8: mov eax, dword ptr [edx] */ 5299 edx = MEM32(esi + 0x8); /* 0x2B06E6CA: mov edx, dword ptr [esi + 8] */ 5300 ecx = ~ecx; /* 0x2B06E6CD: not ecx */ 5301 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 5302 ecx = ecx - 1; /* 0x2B06E6CF: dec ecx */ 5303 _flag_k = FK_DEC; 5304 edi = ecx; /* 0x2B06E6D0: mov edi, ecx */ 5305 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5306 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5307 eax = eax - edx; /* 0x2B06E6D2: sub eax, edx */ 5308 _flag_k = FK_CMP; 5309 /* cmp eax, edi */ /* 0x2B06E6D4: cmp eax, edi */ 5310 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 5311 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5312 _flag_k = FK_CMP; 5313 MEM32(ebp + (-0x14)) = esi; /* 0x2B06E6D6: mov dword ptr [ebp - 0x14], esi */ 5314 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E6E1; /* 0x2B06E6D9: ja 0x2b06e6e1 */ 5315 L_2B06E6DB: 5316 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E6DB: call dword ptr [0x2b0b51a8] */ 5317 RECOMP_FLAGS_IN(); 5318 L_2B06E6E1: 5319 /* test edi, edi */ /* 0x2B06E6E1: test edi, edi */ 5320 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 5321 _cf = 0; 5322 _flag_k = FK_TEST; 5323 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E72A; /* 0x2B06E6E3: jbe 0x2b06e72a */ 5324 L_2B06E6E5: 5325 edx = MEM32(esi + 0x8); /* 0x2B06E6E5: mov edx, dword ptr [esi + 8] */ 5326 eax = edi; /* 0x2B06E6E8: mov eax, edi */ 5327 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5328 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5329 eax = eax + edx; /* 0x2B06E6EA: add eax, edx */ 5330 _flag_k = FK_ADD; 5331 PUSH32(esp, 0); /* 0x2B06E6EC: push 0 */ 5332 PUSH32(esp, eax); /* 0x2B06E6EE: push eax */ 5333 ecx = esi; /* 0x2B06E6EF: mov ecx, esi */ 5334 MEM32(ebp + (-0xC)) = eax; /* 0x2B06E6F1: mov dword ptr [ebp - 0xc], eax */ 5335 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E6F4: call dword ptr [0x2b0b5154] */ 5336 RECOMP_FLAGS_IN(); 5337 /* test LO8(eax), LO8(eax) */ /* 0x2B06E6FA: test al, al */ 5338 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5339 _cf = 0; 5340 _flag_k = FK_NARROW(FK_TEST, 24); 5341 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E72A; /* 0x2B06E6FC: je 0x2b06e72a */ 5342 L_2B06E6FE: 5343 eax = MEM32(ebp + (-0x14)); /* 0x2B06E6FE: mov eax, dword ptr [ebp - 0x14] */ 5344 edx = MEM32(eax + 0x8); /* 0x2B06E701: mov edx, dword ptr [eax + 8] */ 5345 ecx = edi; /* 0x2B06E704: mov ecx, edi */ 5346 edi = MEM32(eax + 0x4); /* 0x2B06E706: mov edi, dword ptr [eax + 4] */ 5347 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 5348 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5349 edi = edi + edx; /* 0x2B06E709: add edi, edx */ 5350 _flag_k = FK_ADD; 5351 edx = ecx; /* 0x2B06E70B: mov edx, ecx */ 5352 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E70D: shr ecx, 2 */ 5353 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5354 ecx = ecx >> 2u; /* 0x2B06E70D: shr ecx, 2 */ 5355 esi = 0x2B0EB634u; /* 0x2B06E710: mov esi, 0x2b0eb634 */ 5356 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E715: 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; } 5357 ecx = edx; /* 0x2B06E717: mov ecx, edx */ 5358 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 5359 ecx = ecx & 3; /* 0x2B06E719: and ecx, 3 */ 5360 _cf = 0; 5361 _flag_k = FK_TEST; 5362 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E71C: 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; } 5363 ecx = MEM32(ebp + (-0xC)); /* 0x2B06E71E: mov ecx, dword ptr [ebp - 0xc] */ 5364 L_2B06E721: 5365 PUSH32(esp, ecx); /* 0x2B06E721: push ecx */ 5366 ecx = eax; /* 0x2B06E722: mov ecx, eax */ 5367 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06E724: call dword ptr [0x2b0b5150] */ 5368 RECOMP_FLAGS_IN(); 5369 L_2B06E72A: 5370 edx = MEM32(ebp + (-0x18)); /* 0x2B06E72A: mov edx, dword ptr [ebp - 0x18] */ 5371 PUSH32(esp, edx); /* 0x2B06E72D: push edx */ 5372 PUSH32(esp, 0x2B0EB630u); /* 0x2B06E72E: push 0x2b0eb630 */ 5373 PUSH32(esp, 0x2B0EEE84u); /* 0x2B06E733: push 0x2b0eee84 */ 5374 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B06E738: call dword ptr [0x2b0b51f0] */ 5375 RECOMP_FLAGS_IN(); 5376 esi = MEM32(ebx + 0x28); /* 0x2B06E73E: mov esi, dword ptr [ebx + 0x28] */ 5377 edx = MEM32(esi + 0x8); /* 0x2B06E741: mov edx, dword ptr [esi + 8] */ 5378 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 5379 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E744: or ecx, 0xffffffff */ 5380 _cf = 0; 5381 _flag_k = FK_TEST; 5382 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5383 eax = 0; /* 0x2B06E747: xor eax, eax */ 5384 _cf = 0; 5385 _flag_k = FK_TEST; 5386 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 5387 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5388 esp = esp + 0xCu; /* 0x2B06E749: add esp, 0xc */ 5389 _flag_k = FK_ADD; 5390 edi = 0x2B0EEE84u; /* 0x2B06E74C: mov edi, 0x2b0eee84 */ 5391 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; } /* 0x2B06E751: repne scasb al, byte ptr es:[edi] */ 5392 eax = MEM32(0x2B0B515C); /* 0x2B06E753: mov eax, dword ptr [0x2b0b515c] */ 5393 ecx = ~ecx; /* 0x2B06E758: not ecx */ 5394 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 5395 ecx = ecx - 1; /* 0x2B06E75A: dec ecx */ 5396 _flag_k = FK_DEC; 5397 edi = ecx; /* 0x2B06E75B: mov edi, ecx */ 5398 ecx = MEM32(eax); /* 0x2B06E75D: mov ecx, dword ptr [eax] */ 5399 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 5400 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5401 ecx = ecx - edx; /* 0x2B06E75F: sub ecx, edx */ 5402 _flag_k = FK_CMP; 5403 /* cmp ecx, edi */ /* 0x2B06E761: cmp ecx, edi */ 5404 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 5405 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5406 _flag_k = FK_CMP; 5407 MEM32(ebp + (-0x18)) = esi; /* 0x2B06E763: mov dword ptr [ebp - 0x18], esi */ 5408 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E76E; /* 0x2B06E766: ja 0x2b06e76e */ 5409 L_2B06E768: 5410 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E768: call dword ptr [0x2b0b51a8] */ 5411 RECOMP_FLAGS_IN(); 5412 L_2B06E76E: 5413 /* test edi, edi */ /* 0x2B06E76E: test edi, edi */ 5414 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 5415 _cf = 0; 5416 _flag_k = FK_TEST; 5417 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E7B7; /* 0x2B06E770: jbe 0x2b06e7b7 */ 5418 L_2B06E772: 5419 edx = MEM32(esi + 0x8); /* 0x2B06E772: mov edx, dword ptr [esi + 8] */ 5420 eax = edi; /* 0x2B06E775: mov eax, edi */ 5421 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5422 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5423 eax = eax + edx; /* 0x2B06E777: add eax, edx */ 5424 _flag_k = FK_ADD; 5425 PUSH32(esp, 0); /* 0x2B06E779: push 0 */ 5426 PUSH32(esp, eax); /* 0x2B06E77B: push eax */ 5427 ecx = esi; /* 0x2B06E77C: mov ecx, esi */ 5428 MEM32(ebp + (-0x14)) = eax; /* 0x2B06E77E: mov dword ptr [ebp - 0x14], eax */ 5429 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E781: call dword ptr [0x2b0b5154] */ 5430 RECOMP_FLAGS_IN(); 5431 /* test LO8(eax), LO8(eax) */ /* 0x2B06E787: test al, al */ 5432 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5433 _cf = 0; 5434 _flag_k = FK_NARROW(FK_TEST, 24); 5435 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E7B7; /* 0x2B06E789: je 0x2b06e7b7 */ 5436 L_2B06E78B: 5437 eax = MEM32(ebp + (-0x18)); /* 0x2B06E78B: mov eax, dword ptr [ebp - 0x18] */ 5438 edx = MEM32(eax + 0x8); /* 0x2B06E78E: mov edx, dword ptr [eax + 8] */ 5439 ecx = edi; /* 0x2B06E791: mov ecx, edi */ 5440 edi = MEM32(eax + 0x4); /* 0x2B06E793: mov edi, dword ptr [eax + 4] */ 5441 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 5442 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5443 edi = edi + edx; /* 0x2B06E796: add edi, edx */ 5444 _flag_k = FK_ADD; 5445 edx = ecx; /* 0x2B06E798: mov edx, ecx */ 5446 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E79A: shr ecx, 2 */ 5447 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5448 ecx = ecx >> 2u; /* 0x2B06E79A: shr ecx, 2 */ 5449 esi = 0x2B0EEE84u; /* 0x2B06E79D: mov esi, 0x2b0eee84 */ 5450 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E7A2: 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; } 5451 ecx = edx; /* 0x2B06E7A4: mov ecx, edx */ 5452 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 5453 ecx = ecx & 3; /* 0x2B06E7A6: and ecx, 3 */ 5454 _cf = 0; 5455 _flag_k = FK_TEST; 5456 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E7A9: 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; } 5457 ecx = MEM32(ebp + (-0x14)); /* 0x2B06E7AB: mov ecx, dword ptr [ebp - 0x14] */ 5458 PUSH32(esp, ecx); /* 0x2B06E7AE: push ecx */ 5459 ecx = eax; /* 0x2B06E7AF: mov ecx, eax */ 5460 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06E7B1: call dword ptr [0x2b0b5150] */ 5461 RECOMP_FLAGS_IN(); 5462 L_2B06E7B7: 5463 edx = MEM32(ebp + 0x8); /* 0x2B06E7B7: mov edx, dword ptr [ebp + 8] */ 5464 PUSH32(esp, 0x86u); /* 0x2B06E7BA: push 0x86 */ 5465 PUSH32(esp, edx); /* 0x2B06E7BF: push edx */ 5466 ecx = ebx; /* 0x2B06E7C0: mov ecx, ebx */ 5467 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06E7C2: call 0x2b0735d0 */ /* not lifted */ 5468 RECOMP_FLAGS_IN(); 5469 /* cmp eax, 0x499602D2u */ /* 0x2B06E7C7: cmp eax, 0x499602d2 */ 5470 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 5471 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5472 _flag_k = FK_CMP; 5473 MEM32(ebp + (-0xC)) = eax; /* 0x2B06E7CC: mov dword ptr [ebp - 0xc], eax */ 5474 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06E9F9; /* 0x2B06E7CF: je 0x2b06e9f9 */ 5475 L_2B06E7D5: 5476 ecx = MEM32(ebx + 0x28); /* 0x2B06E7D5: mov ecx, dword ptr [ebx + 0x28] */ 5477 PUSH32(esp, 0x13u); /* 0x2B06E7D8: push 0x13 */ 5478 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06E7DA: push -1 */ 5479 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06E7DC: call dword ptr [0x2b0b5a74] */ 5480 RECOMP_FLAGS_IN(); 5481 esi = MEM32(ebx + 0x28); /* 0x2B06E7E2: mov esi, dword ptr [ebx + 0x28] */ 5482 edx = MEM32(esi + 0x8); /* 0x2B06E7E5: mov edx, dword ptr [esi + 8] */ 5483 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 5484 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E7E8: or ecx, 0xffffffff */ 5485 _cf = 0; 5486 _flag_k = FK_TEST; 5487 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5488 eax = 0; /* 0x2B06E7EB: xor eax, eax */ 5489 _cf = 0; 5490 _flag_k = FK_TEST; 5491 edi = 0x2B0EB648u; /* 0x2B06E7ED: mov edi, 0x2b0eb648 */ 5492 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; } /* 0x2B06E7F2: repne scasb al, byte ptr es:[edi] */ 5493 eax = MEM32(0x2B0B515C); /* 0x2B06E7F4: mov eax, dword ptr [0x2b0b515c] */ 5494 ecx = ~ecx; /* 0x2B06E7F9: not ecx */ 5495 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 5496 ecx = ecx - 1; /* 0x2B06E7FB: dec ecx */ 5497 _flag_k = FK_DEC; 5498 edi = ecx; /* 0x2B06E7FC: mov edi, ecx */ 5499 ecx = MEM32(eax); /* 0x2B06E7FE: mov ecx, dword ptr [eax] */ 5500 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 5501 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5502 ecx = ecx - edx; /* 0x2B06E800: sub ecx, edx */ 5503 _flag_k = FK_CMP; 5504 /* cmp ecx, edi */ /* 0x2B06E802: cmp ecx, edi */ 5505 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 5506 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5507 _flag_k = FK_CMP; 5508 MEM32(ebp + (-0x18)) = esi; /* 0x2B06E804: mov dword ptr [ebp - 0x18], esi */ 5509 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E80F; /* 0x2B06E807: ja 0x2b06e80f */ 5510 L_2B06E809: 5511 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E809: call dword ptr [0x2b0b51a8] */ 5512 RECOMP_FLAGS_IN(); 5513 L_2B06E80F: 5514 /* test edi, edi */ /* 0x2B06E80F: test edi, edi */ 5515 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 5516 _cf = 0; 5517 _flag_k = FK_TEST; 5518 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E857; /* 0x2B06E811: jbe 0x2b06e857 */ 5519 L_2B06E813: 5520 eax = MEM32(esi + 0x8); /* 0x2B06E813: mov eax, dword ptr [esi + 8] */ 5521 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 5522 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5523 eax = eax + edi; /* 0x2B06E816: add eax, edi */ 5524 _flag_k = FK_ADD; 5525 PUSH32(esp, 0); /* 0x2B06E818: push 0 */ 5526 PUSH32(esp, eax); /* 0x2B06E81A: push eax */ 5527 ecx = esi; /* 0x2B06E81B: mov ecx, esi */ 5528 MEM32(ebp + (-0x14)) = eax; /* 0x2B06E81D: mov dword ptr [ebp - 0x14], eax */ 5529 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E820: call dword ptr [0x2b0b5154] */ 5530 RECOMP_FLAGS_IN(); 5531 /* test LO8(eax), LO8(eax) */ /* 0x2B06E826: test al, al */ 5532 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5533 _cf = 0; 5534 _flag_k = FK_NARROW(FK_TEST, 24); 5535 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E857; /* 0x2B06E828: je 0x2b06e857 */ 5536 L_2B06E82A: 5537 eax = MEM32(ebp + (-0x18)); /* 0x2B06E82A: mov eax, dword ptr [ebp - 0x18] */ 5538 edx = MEM32(eax + 0x4); /* 0x2B06E82D: mov edx, dword ptr [eax + 4] */ 5539 ecx = edi; /* 0x2B06E830: mov ecx, edi */ 5540 edi = MEM32(eax + 0x8); /* 0x2B06E832: mov edi, dword ptr [eax + 8] */ 5541 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 5542 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5543 edi = edi + edx; /* 0x2B06E835: add edi, edx */ 5544 _flag_k = FK_ADD; 5545 edx = ecx; /* 0x2B06E837: mov edx, ecx */ 5546 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E839: shr ecx, 2 */ 5547 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5548 ecx = ecx >> 2u; /* 0x2B06E839: shr ecx, 2 */ 5549 esi = 0x2B0EB648u; /* 0x2B06E83C: mov esi, 0x2b0eb648 */ 5550 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E841: 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; } 5551 ecx = edx; /* 0x2B06E843: mov ecx, edx */ 5552 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 5553 ecx = ecx & 3; /* 0x2B06E845: and ecx, 3 */ 5554 _cf = 0; 5555 _flag_k = FK_TEST; 5556 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E848: 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; } 5557 ecx = MEM32(ebp + (-0x14)); /* 0x2B06E84A: mov ecx, dword ptr [ebp - 0x14] */ 5558 MEM32(eax + 0x8) = ecx; /* 0x2B06E84D: mov dword ptr [eax + 8], ecx */ 5559 eax = MEM32(eax + 0x4); /* 0x2B06E850: mov eax, dword ptr [eax + 4] */ 5560 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B06E853: mov byte ptr [eax + ecx], 0 */ 5561 L_2B06E857: 5562 ecx = MEM32(ebx + 0x28); /* 0x2B06E857: mov ecx, dword ptr [ebx + 0x28] */ 5563 PUSH32(esp, 0x14u); /* 0x2B06E85A: push 0x14 */ 5564 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06E85C: push -1 */ 5565 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06E85E: call dword ptr [0x2b0b5a74] */ 5566 RECOMP_FLAGS_IN(); 5567 PUSH32(esp, 0x86u); /* 0x2B06E864: push 0x86 */ 5568 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06E869: call dword ptr [0x2b0b5d6c] */ 5569 RECOMP_FLAGS_IN(); 5570 ecx = eax; /* 0x2B06E86F: mov ecx, eax */ 5571 RECOMP_ICALL(MEM32(0x2B0B5DB4)); /* 0x2B06E871: call dword ptr [0x2b0b5db4] */ 5572 RECOMP_FLAGS_IN(); 5573 esi = eax; /* 0x2B06E877: mov esi, eax */ 5574 /* test esi, esi */ /* 0x2B06E879: test esi, esi */ 5575 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 5576 _cf = 0; 5577 _flag_k = FK_TEST; 5578 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E8F6; /* 0x2B06E87B: je 0x2b06e8f6 */ 5579 L_2B06E87D: 5580 edx = MEM32(ebx + 0x28); /* 0x2B06E87D: mov edx, dword ptr [ebx + 0x28] */ 5581 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 5582 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E880: or ecx, 0xffffffff */ 5583 _cf = 0; 5584 _flag_k = FK_TEST; 5585 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5586 eax = 0; /* 0x2B06E883: xor eax, eax */ 5587 _cf = 0; 5588 _flag_k = FK_TEST; 5589 edi = esi; /* 0x2B06E885: mov edi, esi */ 5590 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; } /* 0x2B06E887: repne scasb al, byte ptr es:[edi] */ 5591 ecx = ~ecx; /* 0x2B06E889: not ecx */ 5592 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 5593 ecx = ecx - 1; /* 0x2B06E88B: dec ecx */ 5594 _flag_k = FK_DEC; 5595 edi = ecx; /* 0x2B06E88C: mov edi, ecx */ 5596 ecx = MEM32(0x2B0B515C); /* 0x2B06E88E: mov ecx, dword ptr [0x2b0b515c] */ 5597 eax = MEM32(ecx); /* 0x2B06E894: mov eax, dword ptr [ecx] */ 5598 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 5599 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5600 eax = eax - MEM32(edx + 0x8); /* 0x2B06E896: sub eax, dword ptr [edx + 8] */ 5601 _flag_k = FK_CMP; 5602 /* cmp eax, edi */ /* 0x2B06E899: cmp eax, edi */ 5603 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 5604 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5605 _flag_k = FK_CMP; 5606 MEM32(ebp + (-0x8)) = edx; /* 0x2B06E89B: mov dword ptr [ebp - 8], edx */ 5607 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E8A6; /* 0x2B06E89E: ja 0x2b06e8a6 */ 5608 L_2B06E8A0: 5609 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E8A0: call dword ptr [0x2b0b51a8] */ 5610 RECOMP_FLAGS_IN(); 5611 L_2B06E8A6: 5612 /* test edi, edi */ /* 0x2B06E8A6: test edi, edi */ 5613 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 5614 _cf = 0; 5615 _flag_k = FK_TEST; 5616 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E96A; /* 0x2B06E8A8: jbe 0x2b06e96a */ 5617 L_2B06E8AE: 5618 ecx = MEM32(ebp + (-0x8)); /* 0x2B06E8AE: mov ecx, dword ptr [ebp - 8] */ 5619 edx = MEM32(ecx + 0x8); /* 0x2B06E8B1: mov edx, dword ptr [ecx + 8] */ 5620 eax = edi; /* 0x2B06E8B4: mov eax, edi */ 5621 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5622 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5623 eax = eax + edx; /* 0x2B06E8B6: add eax, edx */ 5624 _flag_k = FK_ADD; 5625 PUSH32(esp, 0); /* 0x2B06E8B8: push 0 */ 5626 PUSH32(esp, eax); /* 0x2B06E8BA: push eax */ 5627 MEM32(ebp + (-0x18)) = eax; /* 0x2B06E8BB: mov dword ptr [ebp - 0x18], eax */ 5628 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E8BE: call dword ptr [0x2b0b5154] */ 5629 RECOMP_FLAGS_IN(); 5630 /* test LO8(eax), LO8(eax) */ /* 0x2B06E8C4: test al, al */ 5631 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5632 _cf = 0; 5633 _flag_k = FK_NARROW(FK_TEST, 24); 5634 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E96A; /* 0x2B06E8C6: je 0x2b06e96a */ 5635 L_2B06E8CC: 5636 eax = MEM32(ebp + (-0x8)); /* 0x2B06E8CC: mov eax, dword ptr [ebp - 8] */ 5637 edx = MEM32(eax + 0x4); /* 0x2B06E8CF: mov edx, dword ptr [eax + 4] */ 5638 ecx = edi; /* 0x2B06E8D2: mov ecx, edi */ 5639 edi = MEM32(eax + 0x8); /* 0x2B06E8D4: mov edi, dword ptr [eax + 8] */ 5640 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 5641 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5642 edi = edi + edx; /* 0x2B06E8D7: add edi, edx */ 5643 _flag_k = FK_ADD; 5644 edx = ecx; /* 0x2B06E8D9: mov edx, ecx */ 5645 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E8DB: shr ecx, 2 */ 5646 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5647 ecx = ecx >> 2u; /* 0x2B06E8DB: shr ecx, 2 */ 5648 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E8DE: 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; } 5649 ecx = edx; /* 0x2B06E8E0: mov ecx, edx */ 5650 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 5651 ecx = ecx & 3; /* 0x2B06E8E2: and ecx, 3 */ 5652 _cf = 0; 5653 _flag_k = FK_TEST; 5654 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E8E5: 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; } 5655 ecx = MEM32(ebp + (-0x18)); /* 0x2B06E8E7: mov ecx, dword ptr [ebp - 0x18] */ 5656 MEM32(eax + 0x8) = ecx; /* 0x2B06E8EA: mov dword ptr [eax + 8], ecx */ 5657 eax = MEM32(eax + 0x4); /* 0x2B06E8ED: mov eax, dword ptr [eax + 4] */ 5658 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06E8F0: mov byte ptr [ecx + eax], 0 */ 5659 goto L_2B06E96A; /* 0x2B06E8F4: jmp 0x2b06e96a */ 5660 L_2B06E8F6: 5661 esi = MEM32(ebx + 0x28); /* 0x2B06E8F6: mov esi, dword ptr [ebx + 0x28] */ 5662 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 5663 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E8F9: or ecx, 0xffffffff */ 5664 _cf = 0; 5665 _flag_k = FK_TEST; 5666 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5667 eax = 0; /* 0x2B06E8FC: xor eax, eax */ 5668 _cf = 0; 5669 _flag_k = FK_TEST; 5670 edi = 0x2B0EB634u; /* 0x2B06E8FE: mov edi, 0x2b0eb634 */ 5671 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; } /* 0x2B06E903: repne scasb al, byte ptr es:[edi] */ 5672 ecx = ~ecx; /* 0x2B06E905: not ecx */ 5673 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 5674 ecx = ecx - 1; /* 0x2B06E907: dec ecx */ 5675 _flag_k = FK_DEC; 5676 edi = ecx; /* 0x2B06E908: mov edi, ecx */ 5677 ecx = MEM32(0x2B0B515C); /* 0x2B06E90A: mov ecx, dword ptr [0x2b0b515c] */ 5678 edx = MEM32(ecx); /* 0x2B06E910: mov edx, dword ptr [ecx] */ 5679 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5680 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5681 edx = edx - MEM32(esi + 0x8); /* 0x2B06E912: sub edx, dword ptr [esi + 8] */ 5682 _flag_k = FK_CMP; 5683 /* cmp edx, edi */ /* 0x2B06E915: cmp edx, edi */ 5684 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 5685 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5686 _flag_k = FK_CMP; 5687 MEM32(ebp + (-0x18)) = esi; /* 0x2B06E917: mov dword ptr [ebp - 0x18], esi */ 5688 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E922; /* 0x2B06E91A: ja 0x2b06e922 */ 5689 L_2B06E91C: 5690 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E91C: call dword ptr [0x2b0b51a8] */ 5691 RECOMP_FLAGS_IN(); 5692 L_2B06E922: 5693 /* test edi, edi */ /* 0x2B06E922: test edi, edi */ 5694 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 5695 _cf = 0; 5696 _flag_k = FK_TEST; 5697 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E96A; /* 0x2B06E924: jbe 0x2b06e96a */ 5698 L_2B06E926: 5699 eax = MEM32(esi + 0x8); /* 0x2B06E926: mov eax, dword ptr [esi + 8] */ 5700 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 5701 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5702 eax = eax + edi; /* 0x2B06E929: add eax, edi */ 5703 _flag_k = FK_ADD; 5704 PUSH32(esp, 0); /* 0x2B06E92B: push 0 */ 5705 PUSH32(esp, eax); /* 0x2B06E92D: push eax */ 5706 ecx = esi; /* 0x2B06E92E: mov ecx, esi */ 5707 MEM32(ebp + (-0x14)) = eax; /* 0x2B06E930: mov dword ptr [ebp - 0x14], eax */ 5708 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E933: call dword ptr [0x2b0b5154] */ 5709 RECOMP_FLAGS_IN(); 5710 /* test LO8(eax), LO8(eax) */ /* 0x2B06E939: test al, al */ 5711 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5712 _cf = 0; 5713 _flag_k = FK_NARROW(FK_TEST, 24); 5714 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E96A; /* 0x2B06E93B: je 0x2b06e96a */ 5715 L_2B06E93D: 5716 eax = MEM32(ebp + (-0x18)); /* 0x2B06E93D: mov eax, dword ptr [ebp - 0x18] */ 5717 edx = MEM32(eax + 0x4); /* 0x2B06E940: mov edx, dword ptr [eax + 4] */ 5718 ecx = edi; /* 0x2B06E943: mov ecx, edi */ 5719 edi = MEM32(eax + 0x8); /* 0x2B06E945: mov edi, dword ptr [eax + 8] */ 5720 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 5721 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5722 edi = edi + edx; /* 0x2B06E948: add edi, edx */ 5723 _flag_k = FK_ADD; 5724 edx = ecx; /* 0x2B06E94A: mov edx, ecx */ 5725 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E94C: shr ecx, 2 */ 5726 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5727 ecx = ecx >> 2u; /* 0x2B06E94C: shr ecx, 2 */ 5728 esi = 0x2B0EB634u; /* 0x2B06E94F: mov esi, 0x2b0eb634 */ 5729 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E954: 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; } 5730 ecx = edx; /* 0x2B06E956: mov ecx, edx */ 5731 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 5732 ecx = ecx & 3; /* 0x2B06E958: and ecx, 3 */ 5733 _cf = 0; 5734 _flag_k = FK_TEST; 5735 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E95B: 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; } 5736 ecx = MEM32(ebp + (-0x14)); /* 0x2B06E95D: mov ecx, dword ptr [ebp - 0x14] */ 5737 MEM32(eax + 0x8) = ecx; /* 0x2B06E960: mov dword ptr [eax + 8], ecx */ 5738 eax = MEM32(eax + 0x4); /* 0x2B06E963: mov eax, dword ptr [eax + 4] */ 5739 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B06E966: mov byte ptr [eax + ecx], 0 */ 5740 L_2B06E96A: 5741 ecx = MEM32(ebp + (-0xC)); /* 0x2B06E96A: mov ecx, dword ptr [ebp - 0xc] */ 5742 PUSH32(esp, ecx); /* 0x2B06E96D: push ecx */ 5743 PUSH32(esp, 0x2B0EB630u); /* 0x2B06E96E: push 0x2b0eb630 */ 5744 PUSH32(esp, 0x2B0EEE84u); /* 0x2B06E973: push 0x2b0eee84 */ 5745 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B06E978: call dword ptr [0x2b0b51f0] */ 5746 RECOMP_FLAGS_IN(); 5747 edx = MEM32(0x2B0B515C); /* 0x2B06E97E: mov edx, dword ptr [0x2b0b515c] */ 5748 esi = MEM32(ebx + 0x28); /* 0x2B06E984: mov esi, dword ptr [ebx + 0x28] */ 5749 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5750 eax = 0; /* 0x2B06E987: xor eax, eax */ 5751 _cf = 0; 5752 _flag_k = FK_TEST; 5753 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 5754 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E989: or ecx, 0xffffffff */ 5755 _cf = 0; 5756 _flag_k = FK_TEST; 5757 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 5758 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5759 esp = esp + 0xCu; /* 0x2B06E98C: add esp, 0xc */ 5760 _flag_k = FK_ADD; 5761 edi = 0x2B0EEE84u; /* 0x2B06E98F: mov edi, 0x2b0eee84 */ 5762 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; } /* 0x2B06E994: repne scasb al, byte ptr es:[edi] */ 5763 eax = MEM32(edx); /* 0x2B06E996: mov eax, dword ptr [edx] */ 5764 edx = MEM32(esi + 0x8); /* 0x2B06E998: mov edx, dword ptr [esi + 8] */ 5765 ecx = ~ecx; /* 0x2B06E99B: not ecx */ 5766 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 5767 ecx = ecx - 1; /* 0x2B06E99D: dec ecx */ 5768 _flag_k = FK_DEC; 5769 edi = ecx; /* 0x2B06E99E: mov edi, ecx */ 5770 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5771 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5772 eax = eax - edx; /* 0x2B06E9A0: sub eax, edx */ 5773 _flag_k = FK_CMP; 5774 /* cmp eax, edi */ /* 0x2B06E9A2: cmp eax, edi */ 5775 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 5776 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5777 _flag_k = FK_CMP; 5778 MEM32(ebp + (-0x18)) = esi; /* 0x2B06E9A4: mov dword ptr [ebp - 0x18], esi */ 5779 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E9AF; /* 0x2B06E9A7: ja 0x2b06e9af */ 5780 L_2B06E9A9: 5781 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E9A9: call dword ptr [0x2b0b51a8] */ 5782 RECOMP_FLAGS_IN(); 5783 L_2B06E9AF: 5784 /* test edi, edi */ /* 0x2B06E9AF: test edi, edi */ 5785 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 5786 _cf = 0; 5787 _flag_k = FK_TEST; 5788 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E9F9; /* 0x2B06E9B1: jbe 0x2b06e9f9 */ 5789 L_2B06E9B3: 5790 edx = MEM32(esi + 0x8); /* 0x2B06E9B3: mov edx, dword ptr [esi + 8] */ 5791 eax = edi; /* 0x2B06E9B6: mov eax, edi */ 5792 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5793 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5794 eax = eax + edx; /* 0x2B06E9B8: add eax, edx */ 5795 _flag_k = FK_ADD; 5796 PUSH32(esp, 0); /* 0x2B06E9BA: push 0 */ 5797 PUSH32(esp, eax); /* 0x2B06E9BC: push eax */ 5798 ecx = esi; /* 0x2B06E9BD: mov ecx, esi */ 5799 MEM32(ebp + (-0x14)) = eax; /* 0x2B06E9BF: mov dword ptr [ebp - 0x14], eax */ 5800 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E9C2: call dword ptr [0x2b0b5154] */ 5801 RECOMP_FLAGS_IN(); 5802 /* test LO8(eax), LO8(eax) */ /* 0x2B06E9C8: test al, al */ 5803 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5804 _cf = 0; 5805 _flag_k = FK_NARROW(FK_TEST, 24); 5806 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E9F9; /* 0x2B06E9CA: je 0x2b06e9f9 */ 5807 L_2B06E9CC: 5808 eax = MEM32(ebp + (-0x18)); /* 0x2B06E9CC: mov eax, dword ptr [ebp - 0x18] */ 5809 edx = MEM32(eax + 0x4); /* 0x2B06E9CF: mov edx, dword ptr [eax + 4] */ 5810 ecx = edi; /* 0x2B06E9D2: mov ecx, edi */ 5811 edi = MEM32(eax + 0x8); /* 0x2B06E9D4: mov edi, dword ptr [eax + 8] */ 5812 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 5813 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5814 edi = edi + edx; /* 0x2B06E9D7: add edi, edx */ 5815 _flag_k = FK_ADD; 5816 edx = ecx; /* 0x2B06E9D9: mov edx, ecx */ 5817 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E9DB: shr ecx, 2 */ 5818 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5819 ecx = ecx >> 2u; /* 0x2B06E9DB: shr ecx, 2 */ 5820 esi = 0x2B0EEE84u; /* 0x2B06E9DE: mov esi, 0x2b0eee84 */ 5821 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E9E3: 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; } 5822 ecx = edx; /* 0x2B06E9E5: mov ecx, edx */ 5823 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 5824 ecx = ecx & 3; /* 0x2B06E9E7: and ecx, 3 */ 5825 _cf = 0; 5826 _flag_k = FK_TEST; 5827 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E9EA: 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; } 5828 ecx = MEM32(ebp + (-0x14)); /* 0x2B06E9EC: mov ecx, dword ptr [ebp - 0x14] */ 5829 MEM32(eax + 0x8) = ecx; /* 0x2B06E9EF: mov dword ptr [eax + 8], ecx */ 5830 eax = MEM32(eax + 0x4); /* 0x2B06E9F2: mov eax, dword ptr [eax + 4] */ 5831 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06E9F5: mov byte ptr [ecx + eax], 0 */ 5832 L_2B06E9F9: 5833 ecx = MEM32(ebp + 0x8); /* 0x2B06E9F9: mov ecx, dword ptr [ebp + 8] */ 5834 PUSH32(esp, 0x64u); /* 0x2B06E9FC: push 0x64 */ 5835 PUSH32(esp, ecx); /* 0x2B06E9FE: push ecx */ 5836 ecx = ebx; /* 0x2B06E9FF: mov ecx, ebx */ 5837 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06EA01: call 0x2b0735d0 */ /* not lifted */ 5838 RECOMP_FLAGS_IN(); 5839 /* cmp eax, 0x499602D2u */ /* 0x2B06EA06: cmp eax, 0x499602d2 */ 5840 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 5841 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5842 _flag_k = FK_CMP; 5843 MEM32(ebp + (-0x8)) = eax; /* 0x2B06EA0B: mov dword ptr [ebp - 8], eax */ 5844 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06EC43; /* 0x2B06EA0E: je 0x2b06ec43 */ 5845 L_2B06EA14: 5846 eax = MEM32(ebp + (-0xC)); /* 0x2B06EA14: mov eax, dword ptr [ebp - 0xc] */ 5847 /* test eax, eax */ /* 0x2B06EA17: test eax, eax */ 5848 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5849 _cf = 0; 5850 _flag_k = FK_TEST; 5851 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EC43; /* 0x2B06EA19: je 0x2b06ec43 */ 5852 L_2B06EA1F: 5853 ecx = MEM32(ebx + 0x28); /* 0x2B06EA1F: mov ecx, dword ptr [ebx + 0x28] */ 5854 PUSH32(esp, 0x13u); /* 0x2B06EA22: push 0x13 */ 5855 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EA24: push -1 */ 5856 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EA26: call dword ptr [0x2b0b5a74] */ 5857 RECOMP_FLAGS_IN(); 5858 edx = MEM32(0x2B0B515C); /* 0x2B06EA2C: mov edx, dword ptr [0x2b0b515c] */ 5859 esi = MEM32(ebx + 0x28); /* 0x2B06EA32: mov esi, dword ptr [ebx + 0x28] */ 5860 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5861 eax = 0; /* 0x2B06EA35: xor eax, eax */ 5862 _cf = 0; 5863 _flag_k = FK_TEST; 5864 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 5865 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EA37: or ecx, 0xffffffff */ 5866 _cf = 0; 5867 _flag_k = FK_TEST; 5868 edi = 0x2B0EB614u; /* 0x2B06EA3A: mov edi, 0x2b0eb614 */ 5869 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; } /* 0x2B06EA3F: repne scasb al, byte ptr es:[edi] */ 5870 eax = MEM32(edx); /* 0x2B06EA41: mov eax, dword ptr [edx] */ 5871 edx = MEM32(esi + 0x8); /* 0x2B06EA43: mov edx, dword ptr [esi + 8] */ 5872 ecx = ~ecx; /* 0x2B06EA46: not ecx */ 5873 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 5874 ecx = ecx - 1; /* 0x2B06EA48: dec ecx */ 5875 _flag_k = FK_DEC; 5876 edi = ecx; /* 0x2B06EA49: mov edi, ecx */ 5877 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5878 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5879 eax = eax - edx; /* 0x2B06EA4B: sub eax, edx */ 5880 _flag_k = FK_CMP; 5881 /* cmp eax, edi */ /* 0x2B06EA4D: cmp eax, edi */ 5882 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 5883 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5884 _flag_k = FK_CMP; 5885 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EA4F: mov dword ptr [ebp - 0x18], esi */ 5886 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EA5A; /* 0x2B06EA52: ja 0x2b06ea5a */ 5887 L_2B06EA54: 5888 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EA54: call dword ptr [0x2b0b51a8] */ 5889 RECOMP_FLAGS_IN(); 5890 L_2B06EA5A: 5891 /* test edi, edi */ /* 0x2B06EA5A: test edi, edi */ 5892 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 5893 _cf = 0; 5894 _flag_k = FK_TEST; 5895 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EAA4; /* 0x2B06EA5C: jbe 0x2b06eaa4 */ 5896 L_2B06EA5E: 5897 edx = MEM32(esi + 0x8); /* 0x2B06EA5E: mov edx, dword ptr [esi + 8] */ 5898 eax = edi; /* 0x2B06EA61: mov eax, edi */ 5899 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5900 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5901 eax = eax + edx; /* 0x2B06EA63: add eax, edx */ 5902 _flag_k = FK_ADD; 5903 PUSH32(esp, 0); /* 0x2B06EA65: push 0 */ 5904 PUSH32(esp, eax); /* 0x2B06EA67: push eax */ 5905 ecx = esi; /* 0x2B06EA68: mov ecx, esi */ 5906 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EA6A: mov dword ptr [ebp - 0x14], eax */ 5907 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EA6D: call dword ptr [0x2b0b5154] */ 5908 RECOMP_FLAGS_IN(); 5909 /* test LO8(eax), LO8(eax) */ /* 0x2B06EA73: test al, al */ 5910 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5911 _cf = 0; 5912 _flag_k = FK_NARROW(FK_TEST, 24); 5913 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EAA4; /* 0x2B06EA75: je 0x2b06eaa4 */ 5914 L_2B06EA77: 5915 eax = MEM32(ebp + (-0x18)); /* 0x2B06EA77: mov eax, dword ptr [ebp - 0x18] */ 5916 edx = MEM32(eax + 0x4); /* 0x2B06EA7A: mov edx, dword ptr [eax + 4] */ 5917 ecx = edi; /* 0x2B06EA7D: mov ecx, edi */ 5918 edi = MEM32(eax + 0x8); /* 0x2B06EA7F: mov edi, dword ptr [eax + 8] */ 5919 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 5920 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5921 edi = edi + edx; /* 0x2B06EA82: add edi, edx */ 5922 _flag_k = FK_ADD; 5923 edx = ecx; /* 0x2B06EA84: mov edx, ecx */ 5924 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EA86: shr ecx, 2 */ 5925 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5926 ecx = ecx >> 2u; /* 0x2B06EA86: shr ecx, 2 */ 5927 esi = 0x2B0EB614u; /* 0x2B06EA89: mov esi, 0x2b0eb614 */ 5928 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EA8E: 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; } 5929 ecx = edx; /* 0x2B06EA90: mov ecx, edx */ 5930 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 5931 ecx = ecx & 3; /* 0x2B06EA92: and ecx, 3 */ 5932 _cf = 0; 5933 _flag_k = FK_TEST; 5934 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EA95: 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; } 5935 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EA97: mov ecx, dword ptr [ebp - 0x14] */ 5936 MEM32(eax + 0x8) = ecx; /* 0x2B06EA9A: mov dword ptr [eax + 8], ecx */ 5937 eax = MEM32(eax + 0x4); /* 0x2B06EA9D: mov eax, dword ptr [eax + 4] */ 5938 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EAA0: mov byte ptr [ecx + eax], 0 */ 5939 L_2B06EAA4: 5940 ecx = MEM32(ebx + 0x28); /* 0x2B06EAA4: mov ecx, dword ptr [ebx + 0x28] */ 5941 PUSH32(esp, 0x14u); /* 0x2B06EAA7: push 0x14 */ 5942 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EAA9: push -1 */ 5943 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EAAB: call dword ptr [0x2b0b5a74] */ 5944 RECOMP_FLAGS_IN(); 5945 PUSH32(esp, 0x64u); /* 0x2B06EAB1: push 0x64 */ 5946 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06EAB3: call dword ptr [0x2b0b5d6c] */ 5947 RECOMP_FLAGS_IN(); 5948 ecx = eax; /* 0x2B06EAB9: mov ecx, eax */ 5949 RECOMP_ICALL(MEM32(0x2B0B5DB4)); /* 0x2B06EABB: call dword ptr [0x2b0b5db4] */ 5950 RECOMP_FLAGS_IN(); 5951 esi = eax; /* 0x2B06EAC1: mov esi, eax */ 5952 /* test esi, esi */ /* 0x2B06EAC3: test esi, esi */ 5953 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 5954 _cf = 0; 5955 _flag_k = FK_TEST; 5956 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EB40; /* 0x2B06EAC5: je 0x2b06eb40 */ 5957 L_2B06EAC7: 5958 edx = MEM32(ebx + 0x28); /* 0x2B06EAC7: mov edx, dword ptr [ebx + 0x28] */ 5959 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 5960 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EACA: or ecx, 0xffffffff */ 5961 _cf = 0; 5962 _flag_k = FK_TEST; 5963 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5964 eax = 0; /* 0x2B06EACD: xor eax, eax */ 5965 _cf = 0; 5966 _flag_k = FK_TEST; 5967 edi = esi; /* 0x2B06EACF: mov edi, esi */ 5968 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; } /* 0x2B06EAD1: repne scasb al, byte ptr es:[edi] */ 5969 ecx = ~ecx; /* 0x2B06EAD3: not ecx */ 5970 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 5971 ecx = ecx - 1; /* 0x2B06EAD5: dec ecx */ 5972 _flag_k = FK_DEC; 5973 edi = ecx; /* 0x2B06EAD6: mov edi, ecx */ 5974 ecx = MEM32(0x2B0B515C); /* 0x2B06EAD8: mov ecx, dword ptr [0x2b0b515c] */ 5975 eax = MEM32(ecx); /* 0x2B06EADE: mov eax, dword ptr [ecx] */ 5976 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 5977 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5978 eax = eax - MEM32(edx + 0x8); /* 0x2B06EAE0: sub eax, dword ptr [edx + 8] */ 5979 _flag_k = FK_CMP; 5980 /* cmp eax, edi */ /* 0x2B06EAE3: cmp eax, edi */ 5981 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 5982 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5983 _flag_k = FK_CMP; 5984 MEM32(ebp + (-0xC)) = edx; /* 0x2B06EAE5: mov dword ptr [ebp - 0xc], edx */ 5985 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EAF0; /* 0x2B06EAE8: ja 0x2b06eaf0 */ 5986 L_2B06EAEA: 5987 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EAEA: call dword ptr [0x2b0b51a8] */ 5988 RECOMP_FLAGS_IN(); 5989 L_2B06EAF0: 5990 /* test edi, edi */ /* 0x2B06EAF0: test edi, edi */ 5991 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 5992 _cf = 0; 5993 _flag_k = FK_TEST; 5994 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EBB4; /* 0x2B06EAF2: jbe 0x2b06ebb4 */ 5995 L_2B06EAF8: 5996 ecx = MEM32(ebp + (-0xC)); /* 0x2B06EAF8: mov ecx, dword ptr [ebp - 0xc] */ 5997 edx = MEM32(ecx + 0x8); /* 0x2B06EAFB: mov edx, dword ptr [ecx + 8] */ 5998 eax = edi; /* 0x2B06EAFE: mov eax, edi */ 5999 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 6000 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6001 eax = eax + edx; /* 0x2B06EB00: add eax, edx */ 6002 _flag_k = FK_ADD; 6003 PUSH32(esp, 0); /* 0x2B06EB02: push 0 */ 6004 PUSH32(esp, eax); /* 0x2B06EB04: push eax */ 6005 MEM32(ebp + (-0x18)) = eax; /* 0x2B06EB05: mov dword ptr [ebp - 0x18], eax */ 6006 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EB08: call dword ptr [0x2b0b5154] */ 6007 RECOMP_FLAGS_IN(); 6008 /* test LO8(eax), LO8(eax) */ /* 0x2B06EB0E: test al, al */ 6009 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6010 _cf = 0; 6011 _flag_k = FK_NARROW(FK_TEST, 24); 6012 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EBB4; /* 0x2B06EB10: je 0x2b06ebb4 */ 6013 L_2B06EB16: 6014 eax = MEM32(ebp + (-0xC)); /* 0x2B06EB16: mov eax, dword ptr [ebp - 0xc] */ 6015 edx = MEM32(eax + 0x4); /* 0x2B06EB19: mov edx, dword ptr [eax + 4] */ 6016 ecx = edi; /* 0x2B06EB1C: mov ecx, edi */ 6017 edi = MEM32(eax + 0x8); /* 0x2B06EB1E: mov edi, dword ptr [eax + 8] */ 6018 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 6019 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6020 edi = edi + edx; /* 0x2B06EB21: add edi, edx */ 6021 _flag_k = FK_ADD; 6022 edx = ecx; /* 0x2B06EB23: mov edx, ecx */ 6023 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EB25: shr ecx, 2 */ 6024 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6025 ecx = ecx >> 2u; /* 0x2B06EB25: shr ecx, 2 */ 6026 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EB28: 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; } 6027 ecx = edx; /* 0x2B06EB2A: mov ecx, edx */ 6028 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 6029 ecx = ecx & 3; /* 0x2B06EB2C: and ecx, 3 */ 6030 _cf = 0; 6031 _flag_k = FK_TEST; 6032 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EB2F: 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; } 6033 ecx = MEM32(ebp + (-0x18)); /* 0x2B06EB31: mov ecx, dword ptr [ebp - 0x18] */ 6034 MEM32(eax + 0x8) = ecx; /* 0x2B06EB34: mov dword ptr [eax + 8], ecx */ 6035 eax = MEM32(eax + 0x4); /* 0x2B06EB37: mov eax, dword ptr [eax + 4] */ 6036 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EB3A: mov byte ptr [ecx + eax], 0 */ 6037 goto L_2B06EBB4; /* 0x2B06EB3E: jmp 0x2b06ebb4 */ 6038 L_2B06EB40: 6039 esi = MEM32(ebx + 0x28); /* 0x2B06EB40: mov esi, dword ptr [ebx + 0x28] */ 6040 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6041 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EB43: or ecx, 0xffffffff */ 6042 _cf = 0; 6043 _flag_k = FK_TEST; 6044 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6045 eax = 0; /* 0x2B06EB46: xor eax, eax */ 6046 _cf = 0; 6047 _flag_k = FK_TEST; 6048 edi = 0x2B0EB634u; /* 0x2B06EB48: mov edi, 0x2b0eb634 */ 6049 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; } /* 0x2B06EB4D: repne scasb al, byte ptr es:[edi] */ 6050 ecx = ~ecx; /* 0x2B06EB4F: not ecx */ 6051 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 6052 ecx = ecx - 1; /* 0x2B06EB51: dec ecx */ 6053 _flag_k = FK_DEC; 6054 edi = ecx; /* 0x2B06EB52: mov edi, ecx */ 6055 ecx = MEM32(0x2B0B515C); /* 0x2B06EB54: mov ecx, dword ptr [0x2b0b515c] */ 6056 edx = MEM32(ecx); /* 0x2B06EB5A: mov edx, dword ptr [ecx] */ 6057 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6058 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6059 edx = edx - MEM32(esi + 0x8); /* 0x2B06EB5C: sub edx, dword ptr [esi + 8] */ 6060 _flag_k = FK_CMP; 6061 /* cmp edx, edi */ /* 0x2B06EB5F: cmp edx, edi */ 6062 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 6063 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6064 _flag_k = FK_CMP; 6065 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EB61: mov dword ptr [ebp - 0x18], esi */ 6066 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EB6C; /* 0x2B06EB64: ja 0x2b06eb6c */ 6067 L_2B06EB66: 6068 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EB66: call dword ptr [0x2b0b51a8] */ 6069 RECOMP_FLAGS_IN(); 6070 L_2B06EB6C: 6071 /* test edi, edi */ /* 0x2B06EB6C: test edi, edi */ 6072 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 6073 _cf = 0; 6074 _flag_k = FK_TEST; 6075 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EBB4; /* 0x2B06EB6E: jbe 0x2b06ebb4 */ 6076 L_2B06EB70: 6077 eax = MEM32(esi + 0x8); /* 0x2B06EB70: mov eax, dword ptr [esi + 8] */ 6078 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 6079 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6080 eax = eax + edi; /* 0x2B06EB73: add eax, edi */ 6081 _flag_k = FK_ADD; 6082 PUSH32(esp, 0); /* 0x2B06EB75: push 0 */ 6083 PUSH32(esp, eax); /* 0x2B06EB77: push eax */ 6084 ecx = esi; /* 0x2B06EB78: mov ecx, esi */ 6085 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EB7A: mov dword ptr [ebp - 0x14], eax */ 6086 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EB7D: call dword ptr [0x2b0b5154] */ 6087 RECOMP_FLAGS_IN(); 6088 /* test LO8(eax), LO8(eax) */ /* 0x2B06EB83: test al, al */ 6089 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6090 _cf = 0; 6091 _flag_k = FK_NARROW(FK_TEST, 24); 6092 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EBB4; /* 0x2B06EB85: je 0x2b06ebb4 */ 6093 L_2B06EB87: 6094 eax = MEM32(ebp + (-0x18)); /* 0x2B06EB87: mov eax, dword ptr [ebp - 0x18] */ 6095 edx = MEM32(eax + 0x4); /* 0x2B06EB8A: mov edx, dword ptr [eax + 4] */ 6096 ecx = edi; /* 0x2B06EB8D: mov ecx, edi */ 6097 edi = MEM32(eax + 0x8); /* 0x2B06EB8F: mov edi, dword ptr [eax + 8] */ 6098 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 6099 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6100 edi = edi + edx; /* 0x2B06EB92: add edi, edx */ 6101 _flag_k = FK_ADD; 6102 edx = ecx; /* 0x2B06EB94: mov edx, ecx */ 6103 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EB96: shr ecx, 2 */ 6104 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6105 ecx = ecx >> 2u; /* 0x2B06EB96: shr ecx, 2 */ 6106 esi = 0x2B0EB634u; /* 0x2B06EB99: mov esi, 0x2b0eb634 */ 6107 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EB9E: 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; } 6108 ecx = edx; /* 0x2B06EBA0: mov ecx, edx */ 6109 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 6110 ecx = ecx & 3; /* 0x2B06EBA2: and ecx, 3 */ 6111 _cf = 0; 6112 _flag_k = FK_TEST; 6113 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EBA5: 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; } 6114 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EBA7: mov ecx, dword ptr [ebp - 0x14] */ 6115 MEM32(eax + 0x8) = ecx; /* 0x2B06EBAA: mov dword ptr [eax + 8], ecx */ 6116 eax = MEM32(eax + 0x4); /* 0x2B06EBAD: mov eax, dword ptr [eax + 4] */ 6117 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B06EBB0: mov byte ptr [eax + ecx], 0 */ 6118 L_2B06EBB4: 6119 ecx = MEM32(ebp + (-0x8)); /* 0x2B06EBB4: mov ecx, dword ptr [ebp - 8] */ 6120 PUSH32(esp, ecx); /* 0x2B06EBB7: push ecx */ 6121 PUSH32(esp, 0x2B0EB630u); /* 0x2B06EBB8: push 0x2b0eb630 */ 6122 PUSH32(esp, 0x2B0EEE84u); /* 0x2B06EBBD: push 0x2b0eee84 */ 6123 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B06EBC2: call dword ptr [0x2b0b51f0] */ 6124 RECOMP_FLAGS_IN(); 6125 edx = MEM32(0x2B0B515C); /* 0x2B06EBC8: mov edx, dword ptr [0x2b0b515c] */ 6126 esi = MEM32(ebx + 0x28); /* 0x2B06EBCE: mov esi, dword ptr [ebx + 0x28] */ 6127 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6128 eax = 0; /* 0x2B06EBD1: xor eax, eax */ 6129 _cf = 0; 6130 _flag_k = FK_TEST; 6131 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6132 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EBD3: or ecx, 0xffffffff */ 6133 _cf = 0; 6134 _flag_k = FK_TEST; 6135 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 6136 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6137 esp = esp + 0xCu; /* 0x2B06EBD6: add esp, 0xc */ 6138 _flag_k = FK_ADD; 6139 edi = 0x2B0EEE84u; /* 0x2B06EBD9: mov edi, 0x2b0eee84 */ 6140 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; } /* 0x2B06EBDE: repne scasb al, byte ptr es:[edi] */ 6141 eax = MEM32(edx); /* 0x2B06EBE0: mov eax, dword ptr [edx] */ 6142 edx = MEM32(esi + 0x8); /* 0x2B06EBE2: mov edx, dword ptr [esi + 8] */ 6143 ecx = ~ecx; /* 0x2B06EBE5: not ecx */ 6144 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 6145 ecx = ecx - 1; /* 0x2B06EBE7: dec ecx */ 6146 _flag_k = FK_DEC; 6147 edi = ecx; /* 0x2B06EBE8: mov edi, ecx */ 6148 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 6149 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6150 eax = eax - edx; /* 0x2B06EBEA: sub eax, edx */ 6151 _flag_k = FK_CMP; 6152 /* cmp eax, edi */ /* 0x2B06EBEC: cmp eax, edi */ 6153 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 6154 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6155 _flag_k = FK_CMP; 6156 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EBEE: mov dword ptr [ebp - 0x18], esi */ 6157 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EBF9; /* 0x2B06EBF1: ja 0x2b06ebf9 */ 6158 L_2B06EBF3: 6159 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EBF3: call dword ptr [0x2b0b51a8] */ 6160 RECOMP_FLAGS_IN(); 6161 L_2B06EBF9: 6162 /* test edi, edi */ /* 0x2B06EBF9: test edi, edi */ 6163 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 6164 _cf = 0; 6165 _flag_k = FK_TEST; 6166 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EC43; /* 0x2B06EBFB: jbe 0x2b06ec43 */ 6167 L_2B06EBFD: 6168 edx = MEM32(esi + 0x8); /* 0x2B06EBFD: mov edx, dword ptr [esi + 8] */ 6169 eax = edi; /* 0x2B06EC00: mov eax, edi */ 6170 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 6171 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6172 eax = eax + edx; /* 0x2B06EC02: add eax, edx */ 6173 _flag_k = FK_ADD; 6174 PUSH32(esp, 0); /* 0x2B06EC04: push 0 */ 6175 PUSH32(esp, eax); /* 0x2B06EC06: push eax */ 6176 ecx = esi; /* 0x2B06EC07: mov ecx, esi */ 6177 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EC09: mov dword ptr [ebp - 0x14], eax */ 6178 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EC0C: call dword ptr [0x2b0b5154] */ 6179 RECOMP_FLAGS_IN(); 6180 /* test LO8(eax), LO8(eax) */ /* 0x2B06EC12: test al, al */ 6181 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6182 _cf = 0; 6183 _flag_k = FK_NARROW(FK_TEST, 24); 6184 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EC43; /* 0x2B06EC14: je 0x2b06ec43 */ 6185 L_2B06EC16: 6186 eax = MEM32(ebp + (-0x18)); /* 0x2B06EC16: mov eax, dword ptr [ebp - 0x18] */ 6187 edx = MEM32(eax + 0x4); /* 0x2B06EC19: mov edx, dword ptr [eax + 4] */ 6188 ecx = edi; /* 0x2B06EC1C: mov ecx, edi */ 6189 edi = MEM32(eax + 0x8); /* 0x2B06EC1E: mov edi, dword ptr [eax + 8] */ 6190 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 6191 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6192 edi = edi + edx; /* 0x2B06EC21: add edi, edx */ 6193 _flag_k = FK_ADD; 6194 edx = ecx; /* 0x2B06EC23: mov edx, ecx */ 6195 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EC25: shr ecx, 2 */ 6196 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6197 ecx = ecx >> 2u; /* 0x2B06EC25: shr ecx, 2 */ 6198 esi = 0x2B0EEE84u; /* 0x2B06EC28: mov esi, 0x2b0eee84 */ 6199 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EC2D: 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; } 6200 ecx = edx; /* 0x2B06EC2F: mov ecx, edx */ 6201 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 6202 ecx = ecx & 3; /* 0x2B06EC31: and ecx, 3 */ 6203 _cf = 0; 6204 _flag_k = FK_TEST; 6205 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EC34: 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; } 6206 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EC36: mov ecx, dword ptr [ebp - 0x14] */ 6207 MEM32(eax + 0x8) = ecx; /* 0x2B06EC39: mov dword ptr [eax + 8], ecx */ 6208 eax = MEM32(eax + 0x4); /* 0x2B06EC3C: mov eax, dword ptr [eax + 4] */ 6209 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EC3F: mov byte ptr [ecx + eax], 0 */ 6210 L_2B06EC43: 6211 ecx = MEM32(ebp + 0x8); /* 0x2B06EC43: mov ecx, dword ptr [ebp + 8] */ 6212 PUSH32(esp, 0x1Eu); /* 0x2B06EC46: push 0x1e */ 6213 PUSH32(esp, ecx); /* 0x2B06EC48: push ecx */ 6214 ecx = ebx; /* 0x2B06EC49: mov ecx, ebx */ 6215 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06EC4B: call 0x2b0735d0 */ /* not lifted */ 6216 RECOMP_FLAGS_IN(); 6217 /* cmp eax, 0x499602D2u */ /* 0x2B06EC50: cmp eax, 0x499602d2 */ 6218 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 6219 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6220 _flag_k = FK_CMP; 6221 MEM32(ebp + (-0x8)) = eax; /* 0x2B06EC55: mov dword ptr [ebp - 8], eax */ 6222 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06EEED; /* 0x2B06EC58: je 0x2b06eeed */ 6223 L_2B06EC5E: 6224 /* test HI8(eax), 8 */ /* 0x2B06EC5E: test ah, 8 */ 6225 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(8) << 24; 6226 _cf = 0; 6227 _flag_k = FK_NARROW(FK_TEST, 24); 6228 MEM8(0x2B0EEE84) = (uint8_t)(0); /* 0x2B06EC61: mov byte ptr [0x2b0eee84], 0 */ 6229 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EC9A; /* 0x2B06EC68: je 0x2b06ec9a */ 6230 L_2B06EC6A: 6231 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6232 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EC6A: or ecx, 0xffffffff */ 6233 _cf = 0; 6234 _flag_k = FK_TEST; 6235 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6236 eax = 0; /* 0x2B06EC6D: xor eax, eax */ 6237 _cf = 0; 6238 _flag_k = FK_TEST; 6239 edi = 0x2B0EB60Cu; /* 0x2B06EC6F: mov edi, 0x2b0eb60c */ 6240 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; } /* 0x2B06EC74: repne scasb al, byte ptr es:[edi] */ 6241 ecx = ~ecx; /* 0x2B06EC76: not ecx */ 6242 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 6243 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6244 edi = edi - ecx; /* 0x2B06EC78: sub edi, ecx */ 6245 _flag_k = FK_CMP; 6246 edx = ecx; /* 0x2B06EC7A: mov edx, ecx */ 6247 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6248 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EC7C: or ecx, 0xffffffff */ 6249 _cf = 0; 6250 _flag_k = FK_TEST; 6251 esi = edi; /* 0x2B06EC7F: mov esi, edi */ 6252 edi = 0x2B0EEE84u; /* 0x2B06EC81: mov edi, 0x2b0eee84 */ 6253 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; } /* 0x2B06EC86: repne scasb al, byte ptr es:[edi] */ 6254 eax = MEM32(ebp + (-0x8)); /* 0x2B06EC88: mov eax, dword ptr [ebp - 8] */ 6255 ecx = edx; /* 0x2B06EC8B: mov ecx, edx */ 6256 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EC8D: shr ecx, 2 */ 6257 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6258 ecx = ecx >> 2u; /* 0x2B06EC8D: shr ecx, 2 */ 6259 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 6260 edi = edi - 1; /* 0x2B06EC90: dec edi */ 6261 _flag_k = FK_DEC; 6262 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EC91: 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; } 6263 ecx = edx; /* 0x2B06EC93: mov ecx, edx */ 6264 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 6265 ecx = ecx & 3; /* 0x2B06EC95: and ecx, 3 */ 6266 _cf = 0; 6267 _flag_k = FK_TEST; 6268 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EC98: 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; } 6269 L_2B06EC9A: 6270 /* test HI8(eax), 0x10u */ /* 0x2B06EC9A: test ah, 0x10 */ 6271 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x10u) << 24; 6272 _cf = 0; 6273 _flag_k = FK_NARROW(FK_TEST, 24); 6274 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06ECCF; /* 0x2B06EC9D: je 0x2b06eccf */ 6275 L_2B06EC9F: 6276 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6277 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EC9F: or ecx, 0xffffffff */ 6278 _cf = 0; 6279 _flag_k = FK_TEST; 6280 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6281 eax = 0; /* 0x2B06ECA2: xor eax, eax */ 6282 _cf = 0; 6283 _flag_k = FK_TEST; 6284 edi = 0x2B0EB600u; /* 0x2B06ECA4: mov edi, 0x2b0eb600 */ 6285 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; } /* 0x2B06ECA9: repne scasb al, byte ptr es:[edi] */ 6286 ecx = ~ecx; /* 0x2B06ECAB: not ecx */ 6287 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 6288 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6289 edi = edi - ecx; /* 0x2B06ECAD: sub edi, ecx */ 6290 _flag_k = FK_CMP; 6291 edx = ecx; /* 0x2B06ECAF: mov edx, ecx */ 6292 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6293 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ECB1: or ecx, 0xffffffff */ 6294 _cf = 0; 6295 _flag_k = FK_TEST; 6296 esi = edi; /* 0x2B06ECB4: mov esi, edi */ 6297 edi = 0x2B0EEE84u; /* 0x2B06ECB6: mov edi, 0x2b0eee84 */ 6298 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; } /* 0x2B06ECBB: repne scasb al, byte ptr es:[edi] */ 6299 eax = MEM32(ebp + (-0x8)); /* 0x2B06ECBD: mov eax, dword ptr [ebp - 8] */ 6300 ecx = edx; /* 0x2B06ECC0: mov ecx, edx */ 6301 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06ECC2: shr ecx, 2 */ 6302 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6303 ecx = ecx >> 2u; /* 0x2B06ECC2: shr ecx, 2 */ 6304 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 6305 edi = edi - 1; /* 0x2B06ECC5: dec edi */ 6306 _flag_k = FK_DEC; 6307 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06ECC6: 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; } 6308 ecx = edx; /* 0x2B06ECC8: mov ecx, edx */ 6309 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 6310 ecx = ecx & 3; /* 0x2B06ECCA: and ecx, 3 */ 6311 _cf = 0; 6312 _flag_k = FK_TEST; 6313 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06ECCD: 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; } 6314 L_2B06ECCF: 6315 /* test HI8(eax), 0x20u */ /* 0x2B06ECCF: test ah, 0x20 */ 6316 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x20u) << 24; 6317 _cf = 0; 6318 _flag_k = FK_NARROW(FK_TEST, 24); 6319 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06ED04; /* 0x2B06ECD2: je 0x2b06ed04 */ 6320 L_2B06ECD4: 6321 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6322 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ECD4: or ecx, 0xffffffff */ 6323 _cf = 0; 6324 _flag_k = FK_TEST; 6325 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6326 eax = 0; /* 0x2B06ECD7: xor eax, eax */ 6327 _cf = 0; 6328 _flag_k = FK_TEST; 6329 edi = 0x2B0EB5F4u; /* 0x2B06ECD9: mov edi, 0x2b0eb5f4 */ 6330 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; } /* 0x2B06ECDE: repne scasb al, byte ptr es:[edi] */ 6331 ecx = ~ecx; /* 0x2B06ECE0: not ecx */ 6332 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 6333 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6334 edi = edi - ecx; /* 0x2B06ECE2: sub edi, ecx */ 6335 _flag_k = FK_CMP; 6336 edx = ecx; /* 0x2B06ECE4: mov edx, ecx */ 6337 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6338 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ECE6: or ecx, 0xffffffff */ 6339 _cf = 0; 6340 _flag_k = FK_TEST; 6341 esi = edi; /* 0x2B06ECE9: mov esi, edi */ 6342 edi = 0x2B0EEE84u; /* 0x2B06ECEB: mov edi, 0x2b0eee84 */ 6343 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; } /* 0x2B06ECF0: repne scasb al, byte ptr es:[edi] */ 6344 eax = MEM32(ebp + (-0x8)); /* 0x2B06ECF2: mov eax, dword ptr [ebp - 8] */ 6345 ecx = edx; /* 0x2B06ECF5: mov ecx, edx */ 6346 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06ECF7: shr ecx, 2 */ 6347 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6348 ecx = ecx >> 2u; /* 0x2B06ECF7: shr ecx, 2 */ 6349 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 6350 edi = edi - 1; /* 0x2B06ECFA: dec edi */ 6351 _flag_k = FK_DEC; 6352 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06ECFB: 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; } 6353 ecx = edx; /* 0x2B06ECFD: mov ecx, edx */ 6354 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 6355 ecx = ecx & 3; /* 0x2B06ECFF: and ecx, 3 */ 6356 _cf = 0; 6357 _flag_k = FK_TEST; 6358 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06ED02: 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; } 6359 L_2B06ED04: 6360 /* test HI8(eax), 0x40u */ /* 0x2B06ED04: test ah, 0x40 */ 6361 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 6362 _cf = 0; 6363 _flag_k = FK_NARROW(FK_TEST, 24); 6364 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06ED39; /* 0x2B06ED07: je 0x2b06ed39 */ 6365 L_2B06ED09: 6366 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6367 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED09: or ecx, 0xffffffff */ 6368 _cf = 0; 6369 _flag_k = FK_TEST; 6370 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6371 eax = 0; /* 0x2B06ED0C: xor eax, eax */ 6372 _cf = 0; 6373 _flag_k = FK_TEST; 6374 edi = 0x2B0EB5ECu; /* 0x2B06ED0E: mov edi, 0x2b0eb5ec */ 6375 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; } /* 0x2B06ED13: repne scasb al, byte ptr es:[edi] */ 6376 ecx = ~ecx; /* 0x2B06ED15: not ecx */ 6377 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 6378 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6379 edi = edi - ecx; /* 0x2B06ED17: sub edi, ecx */ 6380 _flag_k = FK_CMP; 6381 edx = ecx; /* 0x2B06ED19: mov edx, ecx */ 6382 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6383 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED1B: or ecx, 0xffffffff */ 6384 _cf = 0; 6385 _flag_k = FK_TEST; 6386 esi = edi; /* 0x2B06ED1E: mov esi, edi */ 6387 edi = 0x2B0EEE84u; /* 0x2B06ED20: mov edi, 0x2b0eee84 */ 6388 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; } /* 0x2B06ED25: repne scasb al, byte ptr es:[edi] */ 6389 eax = MEM32(ebp + (-0x8)); /* 0x2B06ED27: mov eax, dword ptr [ebp - 8] */ 6390 ecx = edx; /* 0x2B06ED2A: mov ecx, edx */ 6391 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06ED2C: shr ecx, 2 */ 6392 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6393 ecx = ecx >> 2u; /* 0x2B06ED2C: shr ecx, 2 */ 6394 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 6395 edi = edi - 1; /* 0x2B06ED2F: dec edi */ 6396 _flag_k = FK_DEC; 6397 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06ED30: 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; } 6398 ecx = edx; /* 0x2B06ED32: mov ecx, edx */ 6399 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 6400 ecx = ecx & 3; /* 0x2B06ED34: and ecx, 3 */ 6401 _cf = 0; 6402 _flag_k = FK_TEST; 6403 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06ED37: 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; } 6404 L_2B06ED39: 6405 /* test HI8(eax), 0x80u */ /* 0x2B06ED39: test ah, 0x80 */ 6406 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x80u) << 24; 6407 _cf = 0; 6408 _flag_k = FK_NARROW(FK_TEST, 24); 6409 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06ED6E; /* 0x2B06ED3C: je 0x2b06ed6e */ 6410 L_2B06ED3E: 6411 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6412 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED3E: or ecx, 0xffffffff */ 6413 _cf = 0; 6414 _flag_k = FK_TEST; 6415 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6416 eax = 0; /* 0x2B06ED41: xor eax, eax */ 6417 _cf = 0; 6418 _flag_k = FK_TEST; 6419 edi = 0x2B0EB5E0u; /* 0x2B06ED43: mov edi, 0x2b0eb5e0 */ 6420 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; } /* 0x2B06ED48: repne scasb al, byte ptr es:[edi] */ 6421 ecx = ~ecx; /* 0x2B06ED4A: not ecx */ 6422 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 6423 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6424 edi = edi - ecx; /* 0x2B06ED4C: sub edi, ecx */ 6425 _flag_k = FK_CMP; 6426 edx = ecx; /* 0x2B06ED4E: mov edx, ecx */ 6427 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6428 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED50: or ecx, 0xffffffff */ 6429 _cf = 0; 6430 _flag_k = FK_TEST; 6431 esi = edi; /* 0x2B06ED53: mov esi, edi */ 6432 edi = 0x2B0EEE84u; /* 0x2B06ED55: mov edi, 0x2b0eee84 */ 6433 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; } /* 0x2B06ED5A: repne scasb al, byte ptr es:[edi] */ 6434 eax = MEM32(ebp + (-0x8)); /* 0x2B06ED5C: mov eax, dword ptr [ebp - 8] */ 6435 ecx = edx; /* 0x2B06ED5F: mov ecx, edx */ 6436 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06ED61: shr ecx, 2 */ 6437 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6438 ecx = ecx >> 2u; /* 0x2B06ED61: shr ecx, 2 */ 6439 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 6440 edi = edi - 1; /* 0x2B06ED64: dec edi */ 6441 _flag_k = FK_DEC; 6442 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06ED65: 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; } 6443 ecx = edx; /* 0x2B06ED67: mov ecx, edx */ 6444 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 6445 ecx = ecx & 3; /* 0x2B06ED69: and ecx, 3 */ 6446 _cf = 0; 6447 _flag_k = FK_TEST; 6448 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06ED6C: 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; } 6449 L_2B06ED6E: 6450 /* test eax, 0x00020000u */ /* 0x2B06ED6E: test eax, 0x20000 */ 6451 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x00020000u); 6452 _cf = 0; 6453 _flag_k = FK_TEST; 6454 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EDA5; /* 0x2B06ED73: je 0x2b06eda5 */ 6455 L_2B06ED75: 6456 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6457 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED75: or ecx, 0xffffffff */ 6458 _cf = 0; 6459 _flag_k = FK_TEST; 6460 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6461 eax = 0; /* 0x2B06ED78: xor eax, eax */ 6462 _cf = 0; 6463 _flag_k = FK_TEST; 6464 edi = 0x2B0EB5D0u; /* 0x2B06ED7A: mov edi, 0x2b0eb5d0 */ 6465 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; } /* 0x2B06ED7F: repne scasb al, byte ptr es:[edi] */ 6466 ecx = ~ecx; /* 0x2B06ED81: not ecx */ 6467 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 6468 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6469 edi = edi - ecx; /* 0x2B06ED83: sub edi, ecx */ 6470 _flag_k = FK_CMP; 6471 edx = ecx; /* 0x2B06ED85: mov edx, ecx */ 6472 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6473 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED87: or ecx, 0xffffffff */ 6474 _cf = 0; 6475 _flag_k = FK_TEST; 6476 esi = edi; /* 0x2B06ED8A: mov esi, edi */ 6477 edi = 0x2B0EEE84u; /* 0x2B06ED8C: mov edi, 0x2b0eee84 */ 6478 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; } /* 0x2B06ED91: repne scasb al, byte ptr es:[edi] */ 6479 eax = MEM32(ebp + (-0x8)); /* 0x2B06ED93: mov eax, dword ptr [ebp - 8] */ 6480 ecx = edx; /* 0x2B06ED96: mov ecx, edx */ 6481 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06ED98: shr ecx, 2 */ 6482 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6483 ecx = ecx >> 2u; /* 0x2B06ED98: shr ecx, 2 */ 6484 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 6485 edi = edi - 1; /* 0x2B06ED9B: dec edi */ 6486 _flag_k = FK_DEC; 6487 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06ED9C: 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; } 6488 ecx = edx; /* 0x2B06ED9E: mov ecx, edx */ 6489 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 6490 ecx = ecx & 3; /* 0x2B06EDA0: and ecx, 3 */ 6491 _cf = 0; 6492 _flag_k = FK_TEST; 6493 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EDA3: 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; } 6494 L_2B06EDA5: 6495 /* test eax, 0x00040000u */ /* 0x2B06EDA5: test eax, 0x40000 */ 6496 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x00040000u); 6497 _cf = 0; 6498 _flag_k = FK_TEST; 6499 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EDD9; /* 0x2B06EDAA: je 0x2b06edd9 */ 6500 L_2B06EDAC: 6501 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6502 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EDAC: or ecx, 0xffffffff */ 6503 _cf = 0; 6504 _flag_k = FK_TEST; 6505 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6506 eax = 0; /* 0x2B06EDAF: xor eax, eax */ 6507 _cf = 0; 6508 _flag_k = FK_TEST; 6509 edi = 0x2B0EB5C4u; /* 0x2B06EDB1: mov edi, 0x2b0eb5c4 */ 6510 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; } /* 0x2B06EDB6: repne scasb al, byte ptr es:[edi] */ 6511 ecx = ~ecx; /* 0x2B06EDB8: not ecx */ 6512 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 6513 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6514 edi = edi - ecx; /* 0x2B06EDBA: sub edi, ecx */ 6515 _flag_k = FK_CMP; 6516 edx = ecx; /* 0x2B06EDBC: mov edx, ecx */ 6517 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6518 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EDBE: or ecx, 0xffffffff */ 6519 _cf = 0; 6520 _flag_k = FK_TEST; 6521 esi = edi; /* 0x2B06EDC1: mov esi, edi */ 6522 edi = 0x2B0EEE84u; /* 0x2B06EDC3: mov edi, 0x2b0eee84 */ 6523 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; } /* 0x2B06EDC8: repne scasb al, byte ptr es:[edi] */ 6524 ecx = edx; /* 0x2B06EDCA: mov ecx, edx */ 6525 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EDCC: shr ecx, 2 */ 6526 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6527 ecx = ecx >> 2u; /* 0x2B06EDCC: shr ecx, 2 */ 6528 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 6529 edi = edi - 1; /* 0x2B06EDCF: dec edi */ 6530 _flag_k = FK_DEC; 6531 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EDD0: 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; } 6532 ecx = edx; /* 0x2B06EDD2: mov ecx, edx */ 6533 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 6534 ecx = ecx & 3; /* 0x2B06EDD4: and ecx, 3 */ 6535 _cf = 0; 6536 _flag_k = FK_TEST; 6537 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EDD7: 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; } 6538 L_2B06EDD9: 6539 SET_LO8(eax, MEM8(0x2B0EEE84)); /* 0x2B06EDD9: mov al, byte ptr [0x2b0eee84] */ 6540 /* test LO8(eax), LO8(eax) */ /* 0x2B06EDDE: test al, al */ 6541 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6542 _cf = 0; 6543 _flag_k = FK_NARROW(FK_TEST, 24); 6544 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EEED; /* 0x2B06EDE0: je 0x2b06eeed */ 6545 L_2B06EDE6: 6546 ecx = MEM32(ebx + 0x28); /* 0x2B06EDE6: mov ecx, dword ptr [ebx + 0x28] */ 6547 PUSH32(esp, 0x13u); /* 0x2B06EDE9: push 0x13 */ 6548 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EDEB: push -1 */ 6549 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EDED: call dword ptr [0x2b0b5a74] */ 6550 RECOMP_FLAGS_IN(); 6551 esi = MEM32(ebx + 0x28); /* 0x2B06EDF3: mov esi, dword ptr [ebx + 0x28] */ 6552 edx = MEM32(esi + 0x8); /* 0x2B06EDF6: mov edx, dword ptr [esi + 8] */ 6553 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6554 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EDF9: or ecx, 0xffffffff */ 6555 _cf = 0; 6556 _flag_k = FK_TEST; 6557 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6558 eax = 0; /* 0x2B06EDFC: xor eax, eax */ 6559 _cf = 0; 6560 _flag_k = FK_TEST; 6561 edi = 0x2B0EB5B8u; /* 0x2B06EDFE: mov edi, 0x2b0eb5b8 */ 6562 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; } /* 0x2B06EE03: repne scasb al, byte ptr es:[edi] */ 6563 eax = MEM32(0x2B0B515C); /* 0x2B06EE05: mov eax, dword ptr [0x2b0b515c] */ 6564 ecx = ~ecx; /* 0x2B06EE0A: not ecx */ 6565 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 6566 ecx = ecx - 1; /* 0x2B06EE0C: dec ecx */ 6567 _flag_k = FK_DEC; 6568 edi = ecx; /* 0x2B06EE0D: mov edi, ecx */ 6569 ecx = MEM32(eax); /* 0x2B06EE0F: mov ecx, dword ptr [eax] */ 6570 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 6571 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6572 ecx = ecx - edx; /* 0x2B06EE11: sub ecx, edx */ 6573 _flag_k = FK_CMP; 6574 /* cmp ecx, edi */ /* 0x2B06EE13: cmp ecx, edi */ 6575 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 6576 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6577 _flag_k = FK_CMP; 6578 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EE15: mov dword ptr [ebp - 0x18], esi */ 6579 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EE20; /* 0x2B06EE18: ja 0x2b06ee20 */ 6580 L_2B06EE1A: 6581 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EE1A: call dword ptr [0x2b0b51a8] */ 6582 RECOMP_FLAGS_IN(); 6583 L_2B06EE20: 6584 /* test edi, edi */ /* 0x2B06EE20: test edi, edi */ 6585 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 6586 _cf = 0; 6587 _flag_k = FK_TEST; 6588 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EE6A; /* 0x2B06EE22: jbe 0x2b06ee6a */ 6589 L_2B06EE24: 6590 edx = MEM32(esi + 0x8); /* 0x2B06EE24: mov edx, dword ptr [esi + 8] */ 6591 eax = edi; /* 0x2B06EE27: mov eax, edi */ 6592 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 6593 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6594 eax = eax + edx; /* 0x2B06EE29: add eax, edx */ 6595 _flag_k = FK_ADD; 6596 PUSH32(esp, 0); /* 0x2B06EE2B: push 0 */ 6597 PUSH32(esp, eax); /* 0x2B06EE2D: push eax */ 6598 ecx = esi; /* 0x2B06EE2E: mov ecx, esi */ 6599 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EE30: mov dword ptr [ebp - 0x14], eax */ 6600 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EE33: call dword ptr [0x2b0b5154] */ 6601 RECOMP_FLAGS_IN(); 6602 /* test LO8(eax), LO8(eax) */ /* 0x2B06EE39: test al, al */ 6603 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6604 _cf = 0; 6605 _flag_k = FK_NARROW(FK_TEST, 24); 6606 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EE6A; /* 0x2B06EE3B: je 0x2b06ee6a */ 6607 L_2B06EE3D: 6608 eax = MEM32(ebp + (-0x18)); /* 0x2B06EE3D: mov eax, dword ptr [ebp - 0x18] */ 6609 edx = MEM32(eax + 0x4); /* 0x2B06EE40: mov edx, dword ptr [eax + 4] */ 6610 ecx = edi; /* 0x2B06EE43: mov ecx, edi */ 6611 edi = MEM32(eax + 0x8); /* 0x2B06EE45: mov edi, dword ptr [eax + 8] */ 6612 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 6613 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6614 edi = edi + edx; /* 0x2B06EE48: add edi, edx */ 6615 _flag_k = FK_ADD; 6616 edx = ecx; /* 0x2B06EE4A: mov edx, ecx */ 6617 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EE4C: shr ecx, 2 */ 6618 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6619 ecx = ecx >> 2u; /* 0x2B06EE4C: shr ecx, 2 */ 6620 esi = 0x2B0EB5B8u; /* 0x2B06EE4F: mov esi, 0x2b0eb5b8 */ 6621 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EE54: 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; } 6622 ecx = edx; /* 0x2B06EE56: mov ecx, edx */ 6623 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 6624 ecx = ecx & 3; /* 0x2B06EE58: and ecx, 3 */ 6625 _cf = 0; 6626 _flag_k = FK_TEST; 6627 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EE5B: 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; } 6628 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EE5D: mov ecx, dword ptr [ebp - 0x14] */ 6629 MEM32(eax + 0x8) = ecx; /* 0x2B06EE60: mov dword ptr [eax + 8], ecx */ 6630 eax = MEM32(eax + 0x4); /* 0x2B06EE63: mov eax, dword ptr [eax + 4] */ 6631 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EE66: mov byte ptr [ecx + eax], 0 */ 6632 L_2B06EE6A: 6633 ecx = MEM32(ebx + 0x28); /* 0x2B06EE6A: mov ecx, dword ptr [ebx + 0x28] */ 6634 PUSH32(esp, 0x14u); /* 0x2B06EE6D: push 0x14 */ 6635 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EE6F: push -1 */ 6636 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EE71: call dword ptr [0x2b0b5a74] */ 6637 RECOMP_FLAGS_IN(); 6638 esi = MEM32(ebx + 0x28); /* 0x2B06EE77: mov esi, dword ptr [ebx + 0x28] */ 6639 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6640 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EE7A: or ecx, 0xffffffff */ 6641 _cf = 0; 6642 _flag_k = FK_TEST; 6643 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6644 eax = 0; /* 0x2B06EE7D: xor eax, eax */ 6645 _cf = 0; 6646 _flag_k = FK_TEST; 6647 edi = 0x2B0EEE84u; /* 0x2B06EE7F: mov edi, 0x2b0eee84 */ 6648 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; } /* 0x2B06EE84: repne scasb al, byte ptr es:[edi] */ 6649 ecx = ~ecx; /* 0x2B06EE86: not ecx */ 6650 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 6651 ecx = ecx - 1; /* 0x2B06EE88: dec ecx */ 6652 _flag_k = FK_DEC; 6653 edi = ecx; /* 0x2B06EE89: mov edi, ecx */ 6654 ecx = MEM32(0x2B0B515C); /* 0x2B06EE8B: mov ecx, dword ptr [0x2b0b515c] */ 6655 edx = MEM32(ecx); /* 0x2B06EE91: mov edx, dword ptr [ecx] */ 6656 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6657 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6658 edx = edx - MEM32(esi + 0x8); /* 0x2B06EE93: sub edx, dword ptr [esi + 8] */ 6659 _flag_k = FK_CMP; 6660 /* cmp edx, edi */ /* 0x2B06EE96: cmp edx, edi */ 6661 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 6662 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6663 _flag_k = FK_CMP; 6664 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EE98: mov dword ptr [ebp - 0x18], esi */ 6665 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EEA3; /* 0x2B06EE9B: ja 0x2b06eea3 */ 6666 L_2B06EE9D: 6667 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EE9D: call dword ptr [0x2b0b51a8] */ 6668 RECOMP_FLAGS_IN(); 6669 L_2B06EEA3: 6670 /* test edi, edi */ /* 0x2B06EEA3: test edi, edi */ 6671 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 6672 _cf = 0; 6673 _flag_k = FK_TEST; 6674 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EEED; /* 0x2B06EEA5: jbe 0x2b06eeed */ 6675 L_2B06EEA7: 6676 edx = MEM32(esi + 0x8); /* 0x2B06EEA7: mov edx, dword ptr [esi + 8] */ 6677 eax = edi; /* 0x2B06EEAA: mov eax, edi */ 6678 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 6679 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6680 eax = eax + edx; /* 0x2B06EEAC: add eax, edx */ 6681 _flag_k = FK_ADD; 6682 PUSH32(esp, 0); /* 0x2B06EEAE: push 0 */ 6683 PUSH32(esp, eax); /* 0x2B06EEB0: push eax */ 6684 ecx = esi; /* 0x2B06EEB1: mov ecx, esi */ 6685 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EEB3: mov dword ptr [ebp - 0x14], eax */ 6686 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EEB6: call dword ptr [0x2b0b5154] */ 6687 RECOMP_FLAGS_IN(); 6688 /* test LO8(eax), LO8(eax) */ /* 0x2B06EEBC: test al, al */ 6689 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6690 _cf = 0; 6691 _flag_k = FK_NARROW(FK_TEST, 24); 6692 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EEED; /* 0x2B06EEBE: je 0x2b06eeed */ 6693 L_2B06EEC0: 6694 eax = MEM32(ebp + (-0x18)); /* 0x2B06EEC0: mov eax, dword ptr [ebp - 0x18] */ 6695 edx = MEM32(eax + 0x4); /* 0x2B06EEC3: mov edx, dword ptr [eax + 4] */ 6696 ecx = edi; /* 0x2B06EEC6: mov ecx, edi */ 6697 edi = MEM32(eax + 0x8); /* 0x2B06EEC8: mov edi, dword ptr [eax + 8] */ 6698 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 6699 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6700 edi = edi + edx; /* 0x2B06EECB: add edi, edx */ 6701 _flag_k = FK_ADD; 6702 edx = ecx; /* 0x2B06EECD: mov edx, ecx */ 6703 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EECF: shr ecx, 2 */ 6704 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6705 ecx = ecx >> 2u; /* 0x2B06EECF: shr ecx, 2 */ 6706 esi = 0x2B0EEE84u; /* 0x2B06EED2: mov esi, 0x2b0eee84 */ 6707 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EED7: 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; } 6708 ecx = edx; /* 0x2B06EED9: mov ecx, edx */ 6709 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 6710 ecx = ecx & 3; /* 0x2B06EEDB: and ecx, 3 */ 6711 _cf = 0; 6712 _flag_k = FK_TEST; 6713 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EEDE: 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; } 6714 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EEE0: mov ecx, dword ptr [ebp - 0x14] */ 6715 MEM32(eax + 0x8) = ecx; /* 0x2B06EEE3: mov dword ptr [eax + 8], ecx */ 6716 eax = MEM32(eax + 0x4); /* 0x2B06EEE6: mov eax, dword ptr [eax + 4] */ 6717 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EEE9: mov byte ptr [ecx + eax], 0 */ 6718 L_2B06EEED: 6719 ecx = MEM32(ebx + 0x28); /* 0x2B06EEED: mov ecx, dword ptr [ebx + 0x28] */ 6720 esi = MEM32(ebp + 0x8); /* 0x2B06EEF0: mov esi, dword ptr [ebp + 8] */ 6721 PUSH32(esp, ecx); /* 0x2B06EEF3: push ecx */ 6722 PUSH32(esp, esi); /* 0x2B06EEF4: push esi */ 6723 ecx = ebx; /* 0x2B06EEF5: mov ecx, ebx */ 6724 RECOMP_ICALL(0x2B073CB0u); /* 0x2B06EEF7: call 0x2b073cb0 */ /* not lifted */ 6725 RECOMP_FLAGS_IN(); 6726 edx = MEM32(ebx + 0x28); /* 0x2B06EEFC: mov edx, dword ptr [ebx + 0x28] */ 6727 PUSH32(esp, edx); /* 0x2B06EEFF: push edx */ 6728 PUSH32(esp, esi); /* 0x2B06EF00: push esi */ 6729 ecx = ebx; /* 0x2B06EF01: mov ecx, ebx */ 6730 RECOMP_ICALL(0x2B073CF0u); /* 0x2B06EF03: call 0x2b073cf0 */ /* not lifted */ 6731 RECOMP_FLAGS_IN(); 6732 eax = MEM32(ebx + 0x28); /* 0x2B06EF08: mov eax, dword ptr [ebx + 0x28] */ 6733 PUSH32(esp, eax); /* 0x2B06EF0B: push eax */ 6734 PUSH32(esp, esi); /* 0x2B06EF0C: push esi */ 6735 ecx = ebx; /* 0x2B06EF0D: mov ecx, ebx */ 6736 RECOMP_ICALL(0x2B073D30u); /* 0x2B06EF0F: call 0x2b073d30 */ /* not lifted */ 6737 RECOMP_FLAGS_IN(); 6738 ecx = MEM32(ebx + 0x28); /* 0x2B06EF14: mov ecx, dword ptr [ebx + 0x28] */ 6739 PUSH32(esp, ecx); /* 0x2B06EF17: push ecx */ 6740 PUSH32(esp, esi); /* 0x2B06EF18: push esi */ 6741 ecx = ebx; /* 0x2B06EF19: mov ecx, ebx */ 6742 RECOMP_ICALL(0x2B073F90u); /* 0x2B06EF1B: call 0x2b073f90 */ /* not lifted */ 6743 RECOMP_FLAGS_IN(); 6744 PUSH32(esp, 0x1B4u); /* 0x2B06EF20: push 0x1b4 */ 6745 PUSH32(esp, esi); /* 0x2B06EF25: push esi */ 6746 ecx = ebx; /* 0x2B06EF26: mov ecx, ebx */ 6747 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06EF28: call 0x2b0735d0 */ /* not lifted */ 6748 RECOMP_FLAGS_IN(); 6749 /* cmp eax, 0x499602D2u */ /* 0x2B06EF2D: cmp eax, 0x499602d2 */ 6750 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 6751 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6752 _flag_k = FK_CMP; 6753 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06F056; /* 0x2B06EF32: je 0x2b06f056 */ 6754 L_2B06EF38: 6755 PUSH32(esp, eax); /* 0x2B06EF38: push eax */ 6756 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06EF39: call dword ptr [0x2b0b5d6c] */ 6757 RECOMP_FLAGS_IN(); 6758 ecx = eax; /* 0x2B06EF3F: mov ecx, eax */ 6759 RECOMP_ICALL(MEM32(0x2B0B5DB4)); /* 0x2B06EF41: call dword ptr [0x2b0b5db4] */ 6760 RECOMP_FLAGS_IN(); 6761 /* test eax, eax */ /* 0x2B06EF47: test eax, eax */ 6762 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6763 _cf = 0; 6764 _flag_k = FK_TEST; 6765 MEM32(ebp + (-0xC)) = eax; /* 0x2B06EF49: mov dword ptr [ebp - 0xc], eax */ 6766 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F056; /* 0x2B06EF4C: je 0x2b06f056 */ 6767 L_2B06EF52: 6768 ecx = MEM32(ebx + 0x28); /* 0x2B06EF52: mov ecx, dword ptr [ebx + 0x28] */ 6769 PUSH32(esp, 0x13u); /* 0x2B06EF55: push 0x13 */ 6770 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EF57: push -1 */ 6771 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EF59: call dword ptr [0x2b0b5a74] */ 6772 RECOMP_FLAGS_IN(); 6773 edx = MEM32(0x2B0B515C); /* 0x2B06EF5F: mov edx, dword ptr [0x2b0b515c] */ 6774 esi = MEM32(ebx + 0x28); /* 0x2B06EF65: mov esi, dword ptr [ebx + 0x28] */ 6775 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6776 eax = 0; /* 0x2B06EF68: xor eax, eax */ 6777 _cf = 0; 6778 _flag_k = FK_TEST; 6779 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6780 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EF6A: or ecx, 0xffffffff */ 6781 _cf = 0; 6782 _flag_k = FK_TEST; 6783 edi = 0x2B0EB5ACu; /* 0x2B06EF6D: mov edi, 0x2b0eb5ac */ 6784 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; } /* 0x2B06EF72: repne scasb al, byte ptr es:[edi] */ 6785 eax = MEM32(edx); /* 0x2B06EF74: mov eax, dword ptr [edx] */ 6786 edx = MEM32(esi + 0x8); /* 0x2B06EF76: mov edx, dword ptr [esi + 8] */ 6787 ecx = ~ecx; /* 0x2B06EF79: not ecx */ 6788 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 6789 ecx = ecx - 1; /* 0x2B06EF7B: dec ecx */ 6790 _flag_k = FK_DEC; 6791 edi = ecx; /* 0x2B06EF7C: mov edi, ecx */ 6792 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 6793 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6794 eax = eax - edx; /* 0x2B06EF7E: sub eax, edx */ 6795 _flag_k = FK_CMP; 6796 /* cmp eax, edi */ /* 0x2B06EF80: cmp eax, edi */ 6797 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 6798 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6799 _flag_k = FK_CMP; 6800 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EF82: mov dword ptr [ebp - 0x18], esi */ 6801 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EF8D; /* 0x2B06EF85: ja 0x2b06ef8d */ 6802 L_2B06EF87: 6803 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EF87: call dword ptr [0x2b0b51a8] */ 6804 RECOMP_FLAGS_IN(); 6805 L_2B06EF8D: 6806 /* test edi, edi */ /* 0x2B06EF8D: test edi, edi */ 6807 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 6808 _cf = 0; 6809 _flag_k = FK_TEST; 6810 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EFD7; /* 0x2B06EF8F: jbe 0x2b06efd7 */ 6811 L_2B06EF91: 6812 edx = MEM32(esi + 0x8); /* 0x2B06EF91: mov edx, dword ptr [esi + 8] */ 6813 eax = edi; /* 0x2B06EF94: mov eax, edi */ 6814 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 6815 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6816 eax = eax + edx; /* 0x2B06EF96: add eax, edx */ 6817 _flag_k = FK_ADD; 6818 PUSH32(esp, 0); /* 0x2B06EF98: push 0 */ 6819 PUSH32(esp, eax); /* 0x2B06EF9A: push eax */ 6820 ecx = esi; /* 0x2B06EF9B: mov ecx, esi */ 6821 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EF9D: mov dword ptr [ebp - 0x14], eax */ 6822 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EFA0: call dword ptr [0x2b0b5154] */ 6823 RECOMP_FLAGS_IN(); 6824 /* test LO8(eax), LO8(eax) */ /* 0x2B06EFA6: test al, al */ 6825 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6826 _cf = 0; 6827 _flag_k = FK_NARROW(FK_TEST, 24); 6828 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EFD7; /* 0x2B06EFA8: je 0x2b06efd7 */ 6829 L_2B06EFAA: 6830 eax = MEM32(ebp + (-0x18)); /* 0x2B06EFAA: mov eax, dword ptr [ebp - 0x18] */ 6831 edx = MEM32(eax + 0x4); /* 0x2B06EFAD: mov edx, dword ptr [eax + 4] */ 6832 ecx = edi; /* 0x2B06EFB0: mov ecx, edi */ 6833 edi = MEM32(eax + 0x8); /* 0x2B06EFB2: mov edi, dword ptr [eax + 8] */ 6834 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 6835 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6836 edi = edi + edx; /* 0x2B06EFB5: add edi, edx */ 6837 _flag_k = FK_ADD; 6838 edx = ecx; /* 0x2B06EFB7: mov edx, ecx */ 6839 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EFB9: shr ecx, 2 */ 6840 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6841 ecx = ecx >> 2u; /* 0x2B06EFB9: shr ecx, 2 */ 6842 esi = 0x2B0EB5ACu; /* 0x2B06EFBC: mov esi, 0x2b0eb5ac */ 6843 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EFC1: 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; } 6844 ecx = edx; /* 0x2B06EFC3: mov ecx, edx */ 6845 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 6846 ecx = ecx & 3; /* 0x2B06EFC5: and ecx, 3 */ 6847 _cf = 0; 6848 _flag_k = FK_TEST; 6849 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EFC8: 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; } 6850 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EFCA: mov ecx, dword ptr [ebp - 0x14] */ 6851 MEM32(eax + 0x8) = ecx; /* 0x2B06EFCD: mov dword ptr [eax + 8], ecx */ 6852 eax = MEM32(eax + 0x4); /* 0x2B06EFD0: mov eax, dword ptr [eax + 4] */ 6853 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EFD3: mov byte ptr [ecx + eax], 0 */ 6854 L_2B06EFD7: 6855 ecx = MEM32(ebx + 0x28); /* 0x2B06EFD7: mov ecx, dword ptr [ebx + 0x28] */ 6856 PUSH32(esp, 0x14u); /* 0x2B06EFDA: push 0x14 */ 6857 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EFDC: push -1 */ 6858 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EFDE: call dword ptr [0x2b0b5a74] */ 6859 RECOMP_FLAGS_IN(); 6860 edi = MEM32(ebp + (-0xC)); /* 0x2B06EFE4: mov edi, dword ptr [ebp - 0xc] */ 6861 esi = MEM32(ebx + 0x28); /* 0x2B06EFE7: mov esi, dword ptr [ebx + 0x28] */ 6862 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6863 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EFEA: or ecx, 0xffffffff */ 6864 _cf = 0; 6865 _flag_k = FK_TEST; 6866 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6867 eax = 0; /* 0x2B06EFED: xor eax, eax */ 6868 _cf = 0; 6869 _flag_k = FK_TEST; 6870 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; } /* 0x2B06EFEF: repne scasb al, byte ptr es:[edi] */ 6871 ecx = ~ecx; /* 0x2B06EFF1: not ecx */ 6872 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 6873 ecx = ecx - 1; /* 0x2B06EFF3: dec ecx */ 6874 _flag_k = FK_DEC; 6875 edi = ecx; /* 0x2B06EFF4: mov edi, ecx */ 6876 ecx = MEM32(0x2B0B515C); /* 0x2B06EFF6: mov ecx, dword ptr [0x2b0b515c] */ 6877 edx = MEM32(ecx); /* 0x2B06EFFC: mov edx, dword ptr [ecx] */ 6878 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6879 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6880 edx = edx - MEM32(esi + 0x8); /* 0x2B06EFFE: sub edx, dword ptr [esi + 8] */ 6881 _flag_k = FK_CMP; 6882 /* cmp edx, edi */ /* 0x2B06F001: cmp edx, edi */ 6883 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 6884 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6885 _flag_k = FK_CMP; 6886 MEM32(ebp + (-0x18)) = esi; /* 0x2B06F003: mov dword ptr [ebp - 0x18], esi */ 6887 if (CMP_A(_flag_a, _flag_b)) goto L_2B06F00E; /* 0x2B06F006: ja 0x2b06f00e */ 6888 L_2B06F008: 6889 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06F008: call dword ptr [0x2b0b51a8] */ 6890 RECOMP_FLAGS_IN(); 6891 L_2B06F00E: 6892 /* test edi, edi */ /* 0x2B06F00E: test edi, edi */ 6893 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 6894 _cf = 0; 6895 _flag_k = FK_TEST; 6896 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F056; /* 0x2B06F010: jbe 0x2b06f056 */ 6897 L_2B06F012: 6898 edx = MEM32(esi + 0x8); /* 0x2B06F012: mov edx, dword ptr [esi + 8] */ 6899 eax = edi; /* 0x2B06F015: mov eax, edi */ 6900 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 6901 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6902 eax = eax + edx; /* 0x2B06F017: add eax, edx */ 6903 _flag_k = FK_ADD; 6904 PUSH32(esp, 0); /* 0x2B06F019: push 0 */ 6905 PUSH32(esp, eax); /* 0x2B06F01B: push eax */ 6906 ecx = esi; /* 0x2B06F01C: mov ecx, esi */ 6907 MEM32(ebp + (-0x14)) = eax; /* 0x2B06F01E: mov dword ptr [ebp - 0x14], eax */ 6908 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06F021: call dword ptr [0x2b0b5154] */ 6909 RECOMP_FLAGS_IN(); 6910 /* test LO8(eax), LO8(eax) */ /* 0x2B06F027: test al, al */ 6911 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6912 _cf = 0; 6913 _flag_k = FK_NARROW(FK_TEST, 24); 6914 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F056; /* 0x2B06F029: je 0x2b06f056 */ 6915 L_2B06F02B: 6916 eax = MEM32(ebp + (-0x18)); /* 0x2B06F02B: mov eax, dword ptr [ebp - 0x18] */ 6917 edx = MEM32(eax + 0x4); /* 0x2B06F02E: mov edx, dword ptr [eax + 4] */ 6918 esi = MEM32(ebp + (-0xC)); /* 0x2B06F031: mov esi, dword ptr [ebp - 0xc] */ 6919 ecx = edi; /* 0x2B06F034: mov ecx, edi */ 6920 edi = MEM32(eax + 0x8); /* 0x2B06F036: mov edi, dword ptr [eax + 8] */ 6921 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 6922 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6923 edi = edi + edx; /* 0x2B06F039: add edi, edx */ 6924 _flag_k = FK_ADD; 6925 edx = ecx; /* 0x2B06F03B: mov edx, ecx */ 6926 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06F03D: shr ecx, 2 */ 6927 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6928 ecx = ecx >> 2u; /* 0x2B06F03D: shr ecx, 2 */ 6929 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06F040: 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; } 6930 ecx = edx; /* 0x2B06F042: mov ecx, edx */ 6931 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 6932 ecx = ecx & 3; /* 0x2B06F044: and ecx, 3 */ 6933 _cf = 0; 6934 _flag_k = FK_TEST; 6935 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06F047: 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; } 6936 ecx = MEM32(ebp + (-0x14)); /* 0x2B06F049: mov ecx, dword ptr [ebp - 0x14] */ 6937 MEM32(eax + 0x8) = ecx; /* 0x2B06F04C: mov dword ptr [eax + 8], ecx */ 6938 eax = MEM32(eax + 0x4); /* 0x2B06F04F: mov eax, dword ptr [eax + 4] */ 6939 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06F052: mov byte ptr [ecx + eax], 0 */ 6940 L_2B06F056: 6941 ecx = MEM32(ebx + 0x28); /* 0x2B06F056: mov ecx, dword ptr [ebx + 0x28] */ 6942 edx = MEM32(ebp + 0x8); /* 0x2B06F059: mov edx, dword ptr [ebp + 8] */ 6943 PUSH32(esp, ecx); /* 0x2B06F05C: push ecx */ 6944 PUSH32(esp, edx); /* 0x2B06F05D: push edx */ 6945 ecx = ebx; /* 0x2B06F05E: mov ecx, ebx */ 6946 RECOMP_ICALL(0x2B074010u); /* 0x2B06F060: call 0x2b074010 */ /* not lifted */ 6947 RECOMP_FLAGS_IN(); 6948 ecx = MEM32(0x2B0EF104); /* 0x2B06F065: mov ecx, dword ptr [0x2b0ef104] */ 6949 /* test ecx, ecx */ /* 0x2B06F06B: test ecx, ecx */ 6950 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6951 _cf = 0; 6952 _flag_k = FK_TEST; 6953 edi = POP32_VAL(esp); /* 0x2B06F06D: pop edi */ 6954 esi = POP32_VAL(esp); /* 0x2B06F06E: pop esi */ 6955 ebx = POP32_VAL(esp); /* 0x2B06F06F: pop ebx */ 6956 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F080; /* 0x2B06F070: je 0x2b06f080 */ 6957 L_2B06F072: 6958 eax = MEM32(ebp + (-0x10)); /* 0x2B06F072: mov eax, dword ptr [ebp - 0x10] */ 6959 PUSH32(esp, eax); /* 0x2B06F075: push eax */ 6960 PUSH32(esp, 0x2B0EB59Cu); /* 0x2B06F076: push 0x2b0eb59c */ 6961 RECOMP_ICALL(0x2B08D480u); /* 0x2B06F07B: call 0x2b08d480 */ /* not lifted */ 6962 RECOMP_FLAGS_IN(); 6963 L_2B06F080: 6964 esp = ebp; /* 0x2B06F080: mov esp, ebp */ 6965 ebp = POP32_VAL(esp); /* 0x2B06F082: pop ebp */ 6966 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06F083: ret 4 */ 6967 RECOMP_REGS_OUT(); 6968 } 6969 6970 void sub_2B06E54B(void) { 6971 int _fpu_cmp = 0; 6972 uint32_t _cf = 0; 6973 int _df = 1; 6974 uint32_t _flag_k = FK_NONE; 6975 uint32_t _flag_a = 0, _flag_b = 0; 6976 uint32_t _itail_tgt = 0; 6977 RECOMP_REGS_LOCALS 6978 RECOMP_ENTER(0x2B06E54Bu); 6979 6980 L_2B06E54B: 6981 PUSH32(esp, ecx); /* 0x2B06E54B: push ecx */ 6982 ecx = eax; /* 0x2B06E54C: mov ecx, eax */ 6983 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06E54E: call dword ptr [0x2b0b5150] */ 6984 RECOMP_FLAGS_IN(); 6985 edx = MEM32(ebx + 0x28); /* 0x2B06E554: mov edx, dword ptr [ebx + 0x28] */ 6986 esi = MEM32(ebp + 0x8); /* 0x2B06E557: mov esi, dword ptr [ebp + 8] */ 6987 PUSH32(esp, edx); /* 0x2B06E55A: push edx */ 6988 PUSH32(esp, esi); /* 0x2B06E55B: push esi */ 6989 ecx = ebx; /* 0x2B06E55C: mov ecx, ebx */ 6990 RECOMP_ICALL(0x2B073BE0u); /* 0x2B06E55E: call 0x2b073be0 */ /* not lifted */ 6991 RECOMP_FLAGS_IN(); 6992 eax = MEM32(ebx + 0x28); /* 0x2B06E563: mov eax, dword ptr [ebx + 0x28] */ 6993 PUSH32(esp, eax); /* 0x2B06E566: push eax */ 6994 PUSH32(esp, esi); /* 0x2B06E567: push esi */ 6995 ecx = ebx; /* 0x2B06E568: mov ecx, ebx */ 6996 RECOMP_ICALL(0x2B073C20u); /* 0x2B06E56A: call 0x2b073c20 */ /* not lifted */ 6997 RECOMP_FLAGS_IN(); 6998 ecx = MEM32(ebx + 0x28); /* 0x2B06E56F: mov ecx, dword ptr [ebx + 0x28] */ 6999 PUSH32(esp, ecx); /* 0x2B06E572: push ecx */ 7000 PUSH32(esp, esi); /* 0x2B06E573: push esi */ 7001 ecx = ebx; /* 0x2B06E574: mov ecx, ebx */ 7002 RECOMP_ICALL(0x2B073B50u); /* 0x2B06E576: call 0x2b073b50 */ /* not lifted */ 7003 RECOMP_FLAGS_IN(); 7004 edx = MEM32(ebx + 0x28); /* 0x2B06E57B: mov edx, dword ptr [ebx + 0x28] */ 7005 PUSH32(esp, edx); /* 0x2B06E57E: push edx */ 7006 PUSH32(esp, esi); /* 0x2B06E57F: push esi */ 7007 ecx = ebx; /* 0x2B06E580: mov ecx, ebx */ 7008 RECOMP_ICALL(0x2B073B90u); /* 0x2B06E582: call 0x2b073b90 */ /* not lifted */ 7009 RECOMP_FLAGS_IN(); 7010 PUSH32(esp, 0x65u); /* 0x2B06E587: push 0x65 */ 7011 PUSH32(esp, esi); /* 0x2B06E589: push esi */ 7012 ecx = ebx; /* 0x2B06E58A: mov ecx, ebx */ 7013 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06E58C: call 0x2b0735d0 */ /* not lifted */ 7014 RECOMP_FLAGS_IN(); 7015 /* cmp eax, 0x499602D2u */ /* 0x2B06E591: cmp eax, 0x499602d2 */ 7016 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 7017 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7018 _flag_k = FK_CMP; 7019 MEM32(ebp + (-0x18)) = eax; /* 0x2B06E596: mov dword ptr [ebp - 0x18], eax */ 7020 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06E7B7; /* 0x2B06E599: je 0x2b06e7b7 */ 7021 L_2B06E59F: 7022 ecx = MEM32(ebx + 0x28); /* 0x2B06E59F: mov ecx, dword ptr [ebx + 0x28] */ 7023 PUSH32(esp, 0x13u); /* 0x2B06E5A2: push 0x13 */ 7024 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06E5A4: push -1 */ 7025 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06E5A6: call dword ptr [0x2b0b5a74] */ 7026 RECOMP_FLAGS_IN(); 7027 esi = MEM32(ebx + 0x28); /* 0x2B06E5AC: mov esi, dword ptr [ebx + 0x28] */ 7028 edx = MEM32(esi + 0x8); /* 0x2B06E5AF: mov edx, dword ptr [esi + 8] */ 7029 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7030 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E5B2: or ecx, 0xffffffff */ 7031 _cf = 0; 7032 _flag_k = FK_TEST; 7033 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7034 eax = 0; /* 0x2B06E5B5: xor eax, eax */ 7035 _cf = 0; 7036 _flag_k = FK_TEST; 7037 edi = 0x2B0EB648u; /* 0x2B06E5B7: mov edi, 0x2b0eb648 */ 7038 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; } /* 0x2B06E5BC: repne scasb al, byte ptr es:[edi] */ 7039 eax = MEM32(0x2B0B515C); /* 0x2B06E5BE: mov eax, dword ptr [0x2b0b515c] */ 7040 ecx = ~ecx; /* 0x2B06E5C3: not ecx */ 7041 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7042 ecx = ecx - 1; /* 0x2B06E5C5: dec ecx */ 7043 _flag_k = FK_DEC; 7044 edi = ecx; /* 0x2B06E5C6: mov edi, ecx */ 7045 ecx = MEM32(eax); /* 0x2B06E5C8: mov ecx, dword ptr [eax] */ 7046 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 7047 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7048 ecx = ecx - edx; /* 0x2B06E5CA: sub ecx, edx */ 7049 _flag_k = FK_CMP; 7050 /* cmp ecx, edi */ /* 0x2B06E5CC: cmp ecx, edi */ 7051 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 7052 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7053 _flag_k = FK_CMP; 7054 MEM32(ebp + (-0x14)) = esi; /* 0x2B06E5CE: mov dword ptr [ebp - 0x14], esi */ 7055 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E5D9; /* 0x2B06E5D1: ja 0x2b06e5d9 */ 7056 L_2B06E5D3: 7057 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E5D3: call dword ptr [0x2b0b51a8] */ 7058 RECOMP_FLAGS_IN(); 7059 L_2B06E5D9: 7060 /* test edi, edi */ /* 0x2B06E5D9: test edi, edi */ 7061 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 7062 _cf = 0; 7063 _flag_k = FK_TEST; 7064 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E622; /* 0x2B06E5DB: jbe 0x2b06e622 */ 7065 L_2B06E5DD: 7066 edx = MEM32(esi + 0x8); /* 0x2B06E5DD: mov edx, dword ptr [esi + 8] */ 7067 eax = edi; /* 0x2B06E5E0: mov eax, edi */ 7068 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7069 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7070 eax = eax + edx; /* 0x2B06E5E2: add eax, edx */ 7071 _flag_k = FK_ADD; 7072 PUSH32(esp, 0); /* 0x2B06E5E4: push 0 */ 7073 PUSH32(esp, eax); /* 0x2B06E5E6: push eax */ 7074 ecx = esi; /* 0x2B06E5E7: mov ecx, esi */ 7075 MEM32(ebp + (-0xC)) = eax; /* 0x2B06E5E9: mov dword ptr [ebp - 0xc], eax */ 7076 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E5EC: call dword ptr [0x2b0b5154] */ 7077 RECOMP_FLAGS_IN(); 7078 /* test LO8(eax), LO8(eax) */ /* 0x2B06E5F2: test al, al */ 7079 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7080 _cf = 0; 7081 _flag_k = FK_NARROW(FK_TEST, 24); 7082 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E622; /* 0x2B06E5F4: je 0x2b06e622 */ 7083 L_2B06E5F6: 7084 eax = MEM32(ebp + (-0x14)); /* 0x2B06E5F6: mov eax, dword ptr [ebp - 0x14] */ 7085 edx = MEM32(eax + 0x8); /* 0x2B06E5F9: mov edx, dword ptr [eax + 8] */ 7086 ecx = edi; /* 0x2B06E5FC: mov ecx, edi */ 7087 edi = MEM32(eax + 0x4); /* 0x2B06E5FE: mov edi, dword ptr [eax + 4] */ 7088 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 7089 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7090 edi = edi + edx; /* 0x2B06E601: add edi, edx */ 7091 _flag_k = FK_ADD; 7092 edx = ecx; /* 0x2B06E603: mov edx, ecx */ 7093 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E605: shr ecx, 2 */ 7094 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7095 ecx = ecx >> 2u; /* 0x2B06E605: shr ecx, 2 */ 7096 esi = 0x2B0EB648u; /* 0x2B06E608: mov esi, 0x2b0eb648 */ 7097 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E60D: 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; } 7098 ecx = edx; /* 0x2B06E60F: mov ecx, edx */ 7099 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 7100 ecx = ecx & 3; /* 0x2B06E611: and ecx, 3 */ 7101 _cf = 0; 7102 _flag_k = FK_TEST; 7103 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E614: 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; } 7104 ecx = MEM32(ebp + (-0xC)); /* 0x2B06E616: mov ecx, dword ptr [ebp - 0xc] */ 7105 PUSH32(esp, ecx); /* 0x2B06E619: push ecx */ 7106 ecx = eax; /* 0x2B06E61A: mov ecx, eax */ 7107 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06E61C: call dword ptr [0x2b0b5150] */ 7108 RECOMP_FLAGS_IN(); 7109 L_2B06E622: 7110 ecx = MEM32(ebx + 0x28); /* 0x2B06E622: mov ecx, dword ptr [ebx + 0x28] */ 7111 PUSH32(esp, 0x14u); /* 0x2B06E625: push 0x14 */ 7112 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06E627: push -1 */ 7113 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06E629: call dword ptr [0x2b0b5a74] */ 7114 RECOMP_FLAGS_IN(); 7115 PUSH32(esp, 0x65u); /* 0x2B06E62F: push 0x65 */ 7116 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06E631: call dword ptr [0x2b0b5d6c] */ 7117 RECOMP_FLAGS_IN(); 7118 ecx = eax; /* 0x2B06E637: mov ecx, eax */ 7119 RECOMP_ICALL(MEM32(0x2B0B5DB4)); /* 0x2B06E639: call dword ptr [0x2b0b5db4] */ 7120 RECOMP_FLAGS_IN(); 7121 esi = eax; /* 0x2B06E63F: mov esi, eax */ 7122 /* test esi, esi */ /* 0x2B06E641: test esi, esi */ 7123 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 7124 _cf = 0; 7125 _flag_k = FK_TEST; 7126 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E6B3; /* 0x2B06E643: je 0x2b06e6b3 */ 7127 L_2B06E645: 7128 edx = MEM32(ebx + 0x28); /* 0x2B06E645: mov edx, dword ptr [ebx + 0x28] */ 7129 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7130 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E648: or ecx, 0xffffffff */ 7131 _cf = 0; 7132 _flag_k = FK_TEST; 7133 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7134 eax = 0; /* 0x2B06E64B: xor eax, eax */ 7135 _cf = 0; 7136 _flag_k = FK_TEST; 7137 edi = esi; /* 0x2B06E64D: mov edi, esi */ 7138 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; } /* 0x2B06E64F: repne scasb al, byte ptr es:[edi] */ 7139 eax = MEM32(0x2B0B515C); /* 0x2B06E651: mov eax, dword ptr [0x2b0b515c] */ 7140 ecx = ~ecx; /* 0x2B06E656: not ecx */ 7141 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7142 ecx = ecx - 1; /* 0x2B06E658: dec ecx */ 7143 _flag_k = FK_DEC; 7144 edi = ecx; /* 0x2B06E659: mov edi, ecx */ 7145 ecx = MEM32(eax); /* 0x2B06E65B: mov ecx, dword ptr [eax] */ 7146 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 7147 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7148 ecx = ecx - MEM32(edx + 0x8); /* 0x2B06E65D: sub ecx, dword ptr [edx + 8] */ 7149 _flag_k = FK_CMP; 7150 /* cmp ecx, edi */ /* 0x2B06E660: cmp ecx, edi */ 7151 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 7152 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7153 _flag_k = FK_CMP; 7154 MEM32(ebp + (-0x8)) = edx; /* 0x2B06E662: mov dword ptr [ebp - 8], edx */ 7155 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E66D; /* 0x2B06E665: ja 0x2b06e66d */ 7156 L_2B06E667: 7157 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E667: call dword ptr [0x2b0b51a8] */ 7158 RECOMP_FLAGS_IN(); 7159 L_2B06E66D: 7160 /* test edi, edi */ /* 0x2B06E66D: test edi, edi */ 7161 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 7162 _cf = 0; 7163 _flag_k = FK_TEST; 7164 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E72A; /* 0x2B06E66F: jbe 0x2b06e72a */ 7165 L_2B06E675: 7166 ecx = MEM32(ebp + (-0x8)); /* 0x2B06E675: mov ecx, dword ptr [ebp - 8] */ 7167 edx = MEM32(ecx + 0x8); /* 0x2B06E678: mov edx, dword ptr [ecx + 8] */ 7168 eax = edi; /* 0x2B06E67B: mov eax, edi */ 7169 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7170 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7171 eax = eax + edx; /* 0x2B06E67D: add eax, edx */ 7172 _flag_k = FK_ADD; 7173 PUSH32(esp, 0); /* 0x2B06E67F: push 0 */ 7174 PUSH32(esp, eax); /* 0x2B06E681: push eax */ 7175 MEM32(ebp + (-0x14)) = eax; /* 0x2B06E682: mov dword ptr [ebp - 0x14], eax */ 7176 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E685: call dword ptr [0x2b0b5154] */ 7177 RECOMP_FLAGS_IN(); 7178 /* test LO8(eax), LO8(eax) */ /* 0x2B06E68B: test al, al */ 7179 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7180 _cf = 0; 7181 _flag_k = FK_NARROW(FK_TEST, 24); 7182 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E72A; /* 0x2B06E68D: je 0x2b06e72a */ 7183 L_2B06E693: 7184 eax = MEM32(ebp + (-0x8)); /* 0x2B06E693: mov eax, dword ptr [ebp - 8] */ 7185 edx = MEM32(eax + 0x8); /* 0x2B06E696: mov edx, dword ptr [eax + 8] */ 7186 ecx = edi; /* 0x2B06E699: mov ecx, edi */ 7187 edi = MEM32(eax + 0x4); /* 0x2B06E69B: mov edi, dword ptr [eax + 4] */ 7188 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 7189 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7190 edi = edi + edx; /* 0x2B06E69E: add edi, edx */ 7191 _flag_k = FK_ADD; 7192 edx = ecx; /* 0x2B06E6A0: mov edx, ecx */ 7193 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E6A2: shr ecx, 2 */ 7194 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7195 ecx = ecx >> 2u; /* 0x2B06E6A2: shr ecx, 2 */ 7196 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E6A5: 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; } 7197 ecx = edx; /* 0x2B06E6A7: mov ecx, edx */ 7198 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 7199 ecx = ecx & 3; /* 0x2B06E6A9: and ecx, 3 */ 7200 _cf = 0; 7201 _flag_k = FK_TEST; 7202 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E6AC: 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; } 7203 ecx = MEM32(ebp + (-0x14)); /* 0x2B06E6AE: mov ecx, dword ptr [ebp - 0x14] */ 7204 goto L_2B06E721; /* 0x2B06E6B1: jmp 0x2b06e721 */ 7205 L_2B06E6B3: 7206 edx = MEM32(0x2B0B515C); /* 0x2B06E6B3: mov edx, dword ptr [0x2b0b515c] */ 7207 esi = MEM32(ebx + 0x28); /* 0x2B06E6B9: mov esi, dword ptr [ebx + 0x28] */ 7208 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7209 eax = 0; /* 0x2B06E6BC: xor eax, eax */ 7210 _cf = 0; 7211 _flag_k = FK_TEST; 7212 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7213 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E6BE: or ecx, 0xffffffff */ 7214 _cf = 0; 7215 _flag_k = FK_TEST; 7216 edi = 0x2B0EB634u; /* 0x2B06E6C1: mov edi, 0x2b0eb634 */ 7217 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; } /* 0x2B06E6C6: repne scasb al, byte ptr es:[edi] */ 7218 eax = MEM32(edx); /* 0x2B06E6C8: mov eax, dword ptr [edx] */ 7219 edx = MEM32(esi + 0x8); /* 0x2B06E6CA: mov edx, dword ptr [esi + 8] */ 7220 ecx = ~ecx; /* 0x2B06E6CD: not ecx */ 7221 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7222 ecx = ecx - 1; /* 0x2B06E6CF: dec ecx */ 7223 _flag_k = FK_DEC; 7224 edi = ecx; /* 0x2B06E6D0: mov edi, ecx */ 7225 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7226 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7227 eax = eax - edx; /* 0x2B06E6D2: sub eax, edx */ 7228 _flag_k = FK_CMP; 7229 /* cmp eax, edi */ /* 0x2B06E6D4: cmp eax, edi */ 7230 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 7231 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7232 _flag_k = FK_CMP; 7233 MEM32(ebp + (-0x14)) = esi; /* 0x2B06E6D6: mov dword ptr [ebp - 0x14], esi */ 7234 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E6E1; /* 0x2B06E6D9: ja 0x2b06e6e1 */ 7235 L_2B06E6DB: 7236 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E6DB: call dword ptr [0x2b0b51a8] */ 7237 RECOMP_FLAGS_IN(); 7238 L_2B06E6E1: 7239 /* test edi, edi */ /* 0x2B06E6E1: test edi, edi */ 7240 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 7241 _cf = 0; 7242 _flag_k = FK_TEST; 7243 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E72A; /* 0x2B06E6E3: jbe 0x2b06e72a */ 7244 L_2B06E6E5: 7245 edx = MEM32(esi + 0x8); /* 0x2B06E6E5: mov edx, dword ptr [esi + 8] */ 7246 eax = edi; /* 0x2B06E6E8: mov eax, edi */ 7247 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7248 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7249 eax = eax + edx; /* 0x2B06E6EA: add eax, edx */ 7250 _flag_k = FK_ADD; 7251 PUSH32(esp, 0); /* 0x2B06E6EC: push 0 */ 7252 PUSH32(esp, eax); /* 0x2B06E6EE: push eax */ 7253 ecx = esi; /* 0x2B06E6EF: mov ecx, esi */ 7254 MEM32(ebp + (-0xC)) = eax; /* 0x2B06E6F1: mov dword ptr [ebp - 0xc], eax */ 7255 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E6F4: call dword ptr [0x2b0b5154] */ 7256 RECOMP_FLAGS_IN(); 7257 /* test LO8(eax), LO8(eax) */ /* 0x2B06E6FA: test al, al */ 7258 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7259 _cf = 0; 7260 _flag_k = FK_NARROW(FK_TEST, 24); 7261 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E72A; /* 0x2B06E6FC: je 0x2b06e72a */ 7262 L_2B06E6FE: 7263 eax = MEM32(ebp + (-0x14)); /* 0x2B06E6FE: mov eax, dword ptr [ebp - 0x14] */ 7264 edx = MEM32(eax + 0x8); /* 0x2B06E701: mov edx, dword ptr [eax + 8] */ 7265 ecx = edi; /* 0x2B06E704: mov ecx, edi */ 7266 edi = MEM32(eax + 0x4); /* 0x2B06E706: mov edi, dword ptr [eax + 4] */ 7267 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 7268 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7269 edi = edi + edx; /* 0x2B06E709: add edi, edx */ 7270 _flag_k = FK_ADD; 7271 edx = ecx; /* 0x2B06E70B: mov edx, ecx */ 7272 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E70D: shr ecx, 2 */ 7273 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7274 ecx = ecx >> 2u; /* 0x2B06E70D: shr ecx, 2 */ 7275 esi = 0x2B0EB634u; /* 0x2B06E710: mov esi, 0x2b0eb634 */ 7276 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E715: 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; } 7277 ecx = edx; /* 0x2B06E717: mov ecx, edx */ 7278 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 7279 ecx = ecx & 3; /* 0x2B06E719: and ecx, 3 */ 7280 _cf = 0; 7281 _flag_k = FK_TEST; 7282 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E71C: 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; } 7283 ecx = MEM32(ebp + (-0xC)); /* 0x2B06E71E: mov ecx, dword ptr [ebp - 0xc] */ 7284 L_2B06E721: 7285 PUSH32(esp, ecx); /* 0x2B06E721: push ecx */ 7286 ecx = eax; /* 0x2B06E722: mov ecx, eax */ 7287 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06E724: call dword ptr [0x2b0b5150] */ 7288 RECOMP_FLAGS_IN(); 7289 L_2B06E72A: 7290 edx = MEM32(ebp + (-0x18)); /* 0x2B06E72A: mov edx, dword ptr [ebp - 0x18] */ 7291 PUSH32(esp, edx); /* 0x2B06E72D: push edx */ 7292 PUSH32(esp, 0x2B0EB630u); /* 0x2B06E72E: push 0x2b0eb630 */ 7293 PUSH32(esp, 0x2B0EEE84u); /* 0x2B06E733: push 0x2b0eee84 */ 7294 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B06E738: call dword ptr [0x2b0b51f0] */ 7295 RECOMP_FLAGS_IN(); 7296 esi = MEM32(ebx + 0x28); /* 0x2B06E73E: mov esi, dword ptr [ebx + 0x28] */ 7297 edx = MEM32(esi + 0x8); /* 0x2B06E741: mov edx, dword ptr [esi + 8] */ 7298 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7299 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E744: or ecx, 0xffffffff */ 7300 _cf = 0; 7301 _flag_k = FK_TEST; 7302 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7303 eax = 0; /* 0x2B06E747: xor eax, eax */ 7304 _cf = 0; 7305 _flag_k = FK_TEST; 7306 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 7307 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7308 esp = esp + 0xCu; /* 0x2B06E749: add esp, 0xc */ 7309 _flag_k = FK_ADD; 7310 edi = 0x2B0EEE84u; /* 0x2B06E74C: mov edi, 0x2b0eee84 */ 7311 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; } /* 0x2B06E751: repne scasb al, byte ptr es:[edi] */ 7312 eax = MEM32(0x2B0B515C); /* 0x2B06E753: mov eax, dword ptr [0x2b0b515c] */ 7313 ecx = ~ecx; /* 0x2B06E758: not ecx */ 7314 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7315 ecx = ecx - 1; /* 0x2B06E75A: dec ecx */ 7316 _flag_k = FK_DEC; 7317 edi = ecx; /* 0x2B06E75B: mov edi, ecx */ 7318 ecx = MEM32(eax); /* 0x2B06E75D: mov ecx, dword ptr [eax] */ 7319 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 7320 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7321 ecx = ecx - edx; /* 0x2B06E75F: sub ecx, edx */ 7322 _flag_k = FK_CMP; 7323 /* cmp ecx, edi */ /* 0x2B06E761: cmp ecx, edi */ 7324 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 7325 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7326 _flag_k = FK_CMP; 7327 MEM32(ebp + (-0x18)) = esi; /* 0x2B06E763: mov dword ptr [ebp - 0x18], esi */ 7328 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E76E; /* 0x2B06E766: ja 0x2b06e76e */ 7329 L_2B06E768: 7330 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E768: call dword ptr [0x2b0b51a8] */ 7331 RECOMP_FLAGS_IN(); 7332 L_2B06E76E: 7333 /* test edi, edi */ /* 0x2B06E76E: test edi, edi */ 7334 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 7335 _cf = 0; 7336 _flag_k = FK_TEST; 7337 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E7B7; /* 0x2B06E770: jbe 0x2b06e7b7 */ 7338 L_2B06E772: 7339 edx = MEM32(esi + 0x8); /* 0x2B06E772: mov edx, dword ptr [esi + 8] */ 7340 eax = edi; /* 0x2B06E775: mov eax, edi */ 7341 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7342 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7343 eax = eax + edx; /* 0x2B06E777: add eax, edx */ 7344 _flag_k = FK_ADD; 7345 PUSH32(esp, 0); /* 0x2B06E779: push 0 */ 7346 PUSH32(esp, eax); /* 0x2B06E77B: push eax */ 7347 ecx = esi; /* 0x2B06E77C: mov ecx, esi */ 7348 MEM32(ebp + (-0x14)) = eax; /* 0x2B06E77E: mov dword ptr [ebp - 0x14], eax */ 7349 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E781: call dword ptr [0x2b0b5154] */ 7350 RECOMP_FLAGS_IN(); 7351 /* test LO8(eax), LO8(eax) */ /* 0x2B06E787: test al, al */ 7352 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7353 _cf = 0; 7354 _flag_k = FK_NARROW(FK_TEST, 24); 7355 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E7B7; /* 0x2B06E789: je 0x2b06e7b7 */ 7356 L_2B06E78B: 7357 eax = MEM32(ebp + (-0x18)); /* 0x2B06E78B: mov eax, dword ptr [ebp - 0x18] */ 7358 edx = MEM32(eax + 0x8); /* 0x2B06E78E: mov edx, dword ptr [eax + 8] */ 7359 ecx = edi; /* 0x2B06E791: mov ecx, edi */ 7360 edi = MEM32(eax + 0x4); /* 0x2B06E793: mov edi, dword ptr [eax + 4] */ 7361 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 7362 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7363 edi = edi + edx; /* 0x2B06E796: add edi, edx */ 7364 _flag_k = FK_ADD; 7365 edx = ecx; /* 0x2B06E798: mov edx, ecx */ 7366 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E79A: shr ecx, 2 */ 7367 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7368 ecx = ecx >> 2u; /* 0x2B06E79A: shr ecx, 2 */ 7369 esi = 0x2B0EEE84u; /* 0x2B06E79D: mov esi, 0x2b0eee84 */ 7370 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E7A2: 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; } 7371 ecx = edx; /* 0x2B06E7A4: mov ecx, edx */ 7372 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 7373 ecx = ecx & 3; /* 0x2B06E7A6: and ecx, 3 */ 7374 _cf = 0; 7375 _flag_k = FK_TEST; 7376 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E7A9: 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; } 7377 ecx = MEM32(ebp + (-0x14)); /* 0x2B06E7AB: mov ecx, dword ptr [ebp - 0x14] */ 7378 PUSH32(esp, ecx); /* 0x2B06E7AE: push ecx */ 7379 ecx = eax; /* 0x2B06E7AF: mov ecx, eax */ 7380 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06E7B1: call dword ptr [0x2b0b5150] */ 7381 RECOMP_FLAGS_IN(); 7382 L_2B06E7B7: 7383 edx = MEM32(ebp + 0x8); /* 0x2B06E7B7: mov edx, dword ptr [ebp + 8] */ 7384 PUSH32(esp, 0x86u); /* 0x2B06E7BA: push 0x86 */ 7385 PUSH32(esp, edx); /* 0x2B06E7BF: push edx */ 7386 ecx = ebx; /* 0x2B06E7C0: mov ecx, ebx */ 7387 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06E7C2: call 0x2b0735d0 */ /* not lifted */ 7388 RECOMP_FLAGS_IN(); 7389 /* cmp eax, 0x499602D2u */ /* 0x2B06E7C7: cmp eax, 0x499602d2 */ 7390 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 7391 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7392 _flag_k = FK_CMP; 7393 MEM32(ebp + (-0xC)) = eax; /* 0x2B06E7CC: mov dword ptr [ebp - 0xc], eax */ 7394 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06E9F9; /* 0x2B06E7CF: je 0x2b06e9f9 */ 7395 L_2B06E7D5: 7396 ecx = MEM32(ebx + 0x28); /* 0x2B06E7D5: mov ecx, dword ptr [ebx + 0x28] */ 7397 PUSH32(esp, 0x13u); /* 0x2B06E7D8: push 0x13 */ 7398 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06E7DA: push -1 */ 7399 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06E7DC: call dword ptr [0x2b0b5a74] */ 7400 RECOMP_FLAGS_IN(); 7401 esi = MEM32(ebx + 0x28); /* 0x2B06E7E2: mov esi, dword ptr [ebx + 0x28] */ 7402 edx = MEM32(esi + 0x8); /* 0x2B06E7E5: mov edx, dword ptr [esi + 8] */ 7403 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7404 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E7E8: or ecx, 0xffffffff */ 7405 _cf = 0; 7406 _flag_k = FK_TEST; 7407 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7408 eax = 0; /* 0x2B06E7EB: xor eax, eax */ 7409 _cf = 0; 7410 _flag_k = FK_TEST; 7411 edi = 0x2B0EB648u; /* 0x2B06E7ED: mov edi, 0x2b0eb648 */ 7412 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; } /* 0x2B06E7F2: repne scasb al, byte ptr es:[edi] */ 7413 eax = MEM32(0x2B0B515C); /* 0x2B06E7F4: mov eax, dword ptr [0x2b0b515c] */ 7414 ecx = ~ecx; /* 0x2B06E7F9: not ecx */ 7415 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7416 ecx = ecx - 1; /* 0x2B06E7FB: dec ecx */ 7417 _flag_k = FK_DEC; 7418 edi = ecx; /* 0x2B06E7FC: mov edi, ecx */ 7419 ecx = MEM32(eax); /* 0x2B06E7FE: mov ecx, dword ptr [eax] */ 7420 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 7421 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7422 ecx = ecx - edx; /* 0x2B06E800: sub ecx, edx */ 7423 _flag_k = FK_CMP; 7424 /* cmp ecx, edi */ /* 0x2B06E802: cmp ecx, edi */ 7425 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 7426 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7427 _flag_k = FK_CMP; 7428 MEM32(ebp + (-0x18)) = esi; /* 0x2B06E804: mov dword ptr [ebp - 0x18], esi */ 7429 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E80F; /* 0x2B06E807: ja 0x2b06e80f */ 7430 L_2B06E809: 7431 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E809: call dword ptr [0x2b0b51a8] */ 7432 RECOMP_FLAGS_IN(); 7433 L_2B06E80F: 7434 /* test edi, edi */ /* 0x2B06E80F: test edi, edi */ 7435 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 7436 _cf = 0; 7437 _flag_k = FK_TEST; 7438 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E857; /* 0x2B06E811: jbe 0x2b06e857 */ 7439 L_2B06E813: 7440 eax = MEM32(esi + 0x8); /* 0x2B06E813: mov eax, dword ptr [esi + 8] */ 7441 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 7442 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7443 eax = eax + edi; /* 0x2B06E816: add eax, edi */ 7444 _flag_k = FK_ADD; 7445 PUSH32(esp, 0); /* 0x2B06E818: push 0 */ 7446 PUSH32(esp, eax); /* 0x2B06E81A: push eax */ 7447 ecx = esi; /* 0x2B06E81B: mov ecx, esi */ 7448 MEM32(ebp + (-0x14)) = eax; /* 0x2B06E81D: mov dword ptr [ebp - 0x14], eax */ 7449 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E820: call dword ptr [0x2b0b5154] */ 7450 RECOMP_FLAGS_IN(); 7451 /* test LO8(eax), LO8(eax) */ /* 0x2B06E826: test al, al */ 7452 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7453 _cf = 0; 7454 _flag_k = FK_NARROW(FK_TEST, 24); 7455 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E857; /* 0x2B06E828: je 0x2b06e857 */ 7456 L_2B06E82A: 7457 eax = MEM32(ebp + (-0x18)); /* 0x2B06E82A: mov eax, dword ptr [ebp - 0x18] */ 7458 edx = MEM32(eax + 0x4); /* 0x2B06E82D: mov edx, dword ptr [eax + 4] */ 7459 ecx = edi; /* 0x2B06E830: mov ecx, edi */ 7460 edi = MEM32(eax + 0x8); /* 0x2B06E832: mov edi, dword ptr [eax + 8] */ 7461 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 7462 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7463 edi = edi + edx; /* 0x2B06E835: add edi, edx */ 7464 _flag_k = FK_ADD; 7465 edx = ecx; /* 0x2B06E837: mov edx, ecx */ 7466 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E839: shr ecx, 2 */ 7467 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7468 ecx = ecx >> 2u; /* 0x2B06E839: shr ecx, 2 */ 7469 esi = 0x2B0EB648u; /* 0x2B06E83C: mov esi, 0x2b0eb648 */ 7470 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E841: 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; } 7471 ecx = edx; /* 0x2B06E843: mov ecx, edx */ 7472 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 7473 ecx = ecx & 3; /* 0x2B06E845: and ecx, 3 */ 7474 _cf = 0; 7475 _flag_k = FK_TEST; 7476 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E848: 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; } 7477 ecx = MEM32(ebp + (-0x14)); /* 0x2B06E84A: mov ecx, dword ptr [ebp - 0x14] */ 7478 MEM32(eax + 0x8) = ecx; /* 0x2B06E84D: mov dword ptr [eax + 8], ecx */ 7479 eax = MEM32(eax + 0x4); /* 0x2B06E850: mov eax, dword ptr [eax + 4] */ 7480 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B06E853: mov byte ptr [eax + ecx], 0 */ 7481 L_2B06E857: 7482 ecx = MEM32(ebx + 0x28); /* 0x2B06E857: mov ecx, dword ptr [ebx + 0x28] */ 7483 PUSH32(esp, 0x14u); /* 0x2B06E85A: push 0x14 */ 7484 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06E85C: push -1 */ 7485 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06E85E: call dword ptr [0x2b0b5a74] */ 7486 RECOMP_FLAGS_IN(); 7487 PUSH32(esp, 0x86u); /* 0x2B06E864: push 0x86 */ 7488 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06E869: call dword ptr [0x2b0b5d6c] */ 7489 RECOMP_FLAGS_IN(); 7490 ecx = eax; /* 0x2B06E86F: mov ecx, eax */ 7491 RECOMP_ICALL(MEM32(0x2B0B5DB4)); /* 0x2B06E871: call dword ptr [0x2b0b5db4] */ 7492 RECOMP_FLAGS_IN(); 7493 esi = eax; /* 0x2B06E877: mov esi, eax */ 7494 /* test esi, esi */ /* 0x2B06E879: test esi, esi */ 7495 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 7496 _cf = 0; 7497 _flag_k = FK_TEST; 7498 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E8F6; /* 0x2B06E87B: je 0x2b06e8f6 */ 7499 L_2B06E87D: 7500 edx = MEM32(ebx + 0x28); /* 0x2B06E87D: mov edx, dword ptr [ebx + 0x28] */ 7501 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7502 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E880: or ecx, 0xffffffff */ 7503 _cf = 0; 7504 _flag_k = FK_TEST; 7505 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7506 eax = 0; /* 0x2B06E883: xor eax, eax */ 7507 _cf = 0; 7508 _flag_k = FK_TEST; 7509 edi = esi; /* 0x2B06E885: mov edi, esi */ 7510 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; } /* 0x2B06E887: repne scasb al, byte ptr es:[edi] */ 7511 ecx = ~ecx; /* 0x2B06E889: not ecx */ 7512 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7513 ecx = ecx - 1; /* 0x2B06E88B: dec ecx */ 7514 _flag_k = FK_DEC; 7515 edi = ecx; /* 0x2B06E88C: mov edi, ecx */ 7516 ecx = MEM32(0x2B0B515C); /* 0x2B06E88E: mov ecx, dword ptr [0x2b0b515c] */ 7517 eax = MEM32(ecx); /* 0x2B06E894: mov eax, dword ptr [ecx] */ 7518 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 7519 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7520 eax = eax - MEM32(edx + 0x8); /* 0x2B06E896: sub eax, dword ptr [edx + 8] */ 7521 _flag_k = FK_CMP; 7522 /* cmp eax, edi */ /* 0x2B06E899: cmp eax, edi */ 7523 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 7524 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7525 _flag_k = FK_CMP; 7526 MEM32(ebp + (-0x8)) = edx; /* 0x2B06E89B: mov dword ptr [ebp - 8], edx */ 7527 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E8A6; /* 0x2B06E89E: ja 0x2b06e8a6 */ 7528 L_2B06E8A0: 7529 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E8A0: call dword ptr [0x2b0b51a8] */ 7530 RECOMP_FLAGS_IN(); 7531 L_2B06E8A6: 7532 /* test edi, edi */ /* 0x2B06E8A6: test edi, edi */ 7533 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 7534 _cf = 0; 7535 _flag_k = FK_TEST; 7536 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E96A; /* 0x2B06E8A8: jbe 0x2b06e96a */ 7537 L_2B06E8AE: 7538 ecx = MEM32(ebp + (-0x8)); /* 0x2B06E8AE: mov ecx, dword ptr [ebp - 8] */ 7539 edx = MEM32(ecx + 0x8); /* 0x2B06E8B1: mov edx, dword ptr [ecx + 8] */ 7540 eax = edi; /* 0x2B06E8B4: mov eax, edi */ 7541 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7542 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7543 eax = eax + edx; /* 0x2B06E8B6: add eax, edx */ 7544 _flag_k = FK_ADD; 7545 PUSH32(esp, 0); /* 0x2B06E8B8: push 0 */ 7546 PUSH32(esp, eax); /* 0x2B06E8BA: push eax */ 7547 MEM32(ebp + (-0x18)) = eax; /* 0x2B06E8BB: mov dword ptr [ebp - 0x18], eax */ 7548 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E8BE: call dword ptr [0x2b0b5154] */ 7549 RECOMP_FLAGS_IN(); 7550 /* test LO8(eax), LO8(eax) */ /* 0x2B06E8C4: test al, al */ 7551 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7552 _cf = 0; 7553 _flag_k = FK_NARROW(FK_TEST, 24); 7554 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E96A; /* 0x2B06E8C6: je 0x2b06e96a */ 7555 L_2B06E8CC: 7556 eax = MEM32(ebp + (-0x8)); /* 0x2B06E8CC: mov eax, dword ptr [ebp - 8] */ 7557 edx = MEM32(eax + 0x4); /* 0x2B06E8CF: mov edx, dword ptr [eax + 4] */ 7558 ecx = edi; /* 0x2B06E8D2: mov ecx, edi */ 7559 edi = MEM32(eax + 0x8); /* 0x2B06E8D4: mov edi, dword ptr [eax + 8] */ 7560 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 7561 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7562 edi = edi + edx; /* 0x2B06E8D7: add edi, edx */ 7563 _flag_k = FK_ADD; 7564 edx = ecx; /* 0x2B06E8D9: mov edx, ecx */ 7565 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E8DB: shr ecx, 2 */ 7566 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7567 ecx = ecx >> 2u; /* 0x2B06E8DB: shr ecx, 2 */ 7568 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E8DE: 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; } 7569 ecx = edx; /* 0x2B06E8E0: mov ecx, edx */ 7570 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 7571 ecx = ecx & 3; /* 0x2B06E8E2: and ecx, 3 */ 7572 _cf = 0; 7573 _flag_k = FK_TEST; 7574 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E8E5: 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; } 7575 ecx = MEM32(ebp + (-0x18)); /* 0x2B06E8E7: mov ecx, dword ptr [ebp - 0x18] */ 7576 MEM32(eax + 0x8) = ecx; /* 0x2B06E8EA: mov dword ptr [eax + 8], ecx */ 7577 eax = MEM32(eax + 0x4); /* 0x2B06E8ED: mov eax, dword ptr [eax + 4] */ 7578 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06E8F0: mov byte ptr [ecx + eax], 0 */ 7579 goto L_2B06E96A; /* 0x2B06E8F4: jmp 0x2b06e96a */ 7580 L_2B06E8F6: 7581 esi = MEM32(ebx + 0x28); /* 0x2B06E8F6: mov esi, dword ptr [ebx + 0x28] */ 7582 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7583 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E8F9: or ecx, 0xffffffff */ 7584 _cf = 0; 7585 _flag_k = FK_TEST; 7586 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7587 eax = 0; /* 0x2B06E8FC: xor eax, eax */ 7588 _cf = 0; 7589 _flag_k = FK_TEST; 7590 edi = 0x2B0EB634u; /* 0x2B06E8FE: mov edi, 0x2b0eb634 */ 7591 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; } /* 0x2B06E903: repne scasb al, byte ptr es:[edi] */ 7592 ecx = ~ecx; /* 0x2B06E905: not ecx */ 7593 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7594 ecx = ecx - 1; /* 0x2B06E907: dec ecx */ 7595 _flag_k = FK_DEC; 7596 edi = ecx; /* 0x2B06E908: mov edi, ecx */ 7597 ecx = MEM32(0x2B0B515C); /* 0x2B06E90A: mov ecx, dword ptr [0x2b0b515c] */ 7598 edx = MEM32(ecx); /* 0x2B06E910: mov edx, dword ptr [ecx] */ 7599 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7600 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7601 edx = edx - MEM32(esi + 0x8); /* 0x2B06E912: sub edx, dword ptr [esi + 8] */ 7602 _flag_k = FK_CMP; 7603 /* cmp edx, edi */ /* 0x2B06E915: cmp edx, edi */ 7604 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 7605 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7606 _flag_k = FK_CMP; 7607 MEM32(ebp + (-0x18)) = esi; /* 0x2B06E917: mov dword ptr [ebp - 0x18], esi */ 7608 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E922; /* 0x2B06E91A: ja 0x2b06e922 */ 7609 L_2B06E91C: 7610 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E91C: call dword ptr [0x2b0b51a8] */ 7611 RECOMP_FLAGS_IN(); 7612 L_2B06E922: 7613 /* test edi, edi */ /* 0x2B06E922: test edi, edi */ 7614 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 7615 _cf = 0; 7616 _flag_k = FK_TEST; 7617 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E96A; /* 0x2B06E924: jbe 0x2b06e96a */ 7618 L_2B06E926: 7619 eax = MEM32(esi + 0x8); /* 0x2B06E926: mov eax, dword ptr [esi + 8] */ 7620 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 7621 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7622 eax = eax + edi; /* 0x2B06E929: add eax, edi */ 7623 _flag_k = FK_ADD; 7624 PUSH32(esp, 0); /* 0x2B06E92B: push 0 */ 7625 PUSH32(esp, eax); /* 0x2B06E92D: push eax */ 7626 ecx = esi; /* 0x2B06E92E: mov ecx, esi */ 7627 MEM32(ebp + (-0x14)) = eax; /* 0x2B06E930: mov dword ptr [ebp - 0x14], eax */ 7628 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E933: call dword ptr [0x2b0b5154] */ 7629 RECOMP_FLAGS_IN(); 7630 /* test LO8(eax), LO8(eax) */ /* 0x2B06E939: test al, al */ 7631 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7632 _cf = 0; 7633 _flag_k = FK_NARROW(FK_TEST, 24); 7634 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E96A; /* 0x2B06E93B: je 0x2b06e96a */ 7635 L_2B06E93D: 7636 eax = MEM32(ebp + (-0x18)); /* 0x2B06E93D: mov eax, dword ptr [ebp - 0x18] */ 7637 edx = MEM32(eax + 0x4); /* 0x2B06E940: mov edx, dword ptr [eax + 4] */ 7638 ecx = edi; /* 0x2B06E943: mov ecx, edi */ 7639 edi = MEM32(eax + 0x8); /* 0x2B06E945: mov edi, dword ptr [eax + 8] */ 7640 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 7641 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7642 edi = edi + edx; /* 0x2B06E948: add edi, edx */ 7643 _flag_k = FK_ADD; 7644 edx = ecx; /* 0x2B06E94A: mov edx, ecx */ 7645 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E94C: shr ecx, 2 */ 7646 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7647 ecx = ecx >> 2u; /* 0x2B06E94C: shr ecx, 2 */ 7648 esi = 0x2B0EB634u; /* 0x2B06E94F: mov esi, 0x2b0eb634 */ 7649 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E954: 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; } 7650 ecx = edx; /* 0x2B06E956: mov ecx, edx */ 7651 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 7652 ecx = ecx & 3; /* 0x2B06E958: and ecx, 3 */ 7653 _cf = 0; 7654 _flag_k = FK_TEST; 7655 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E95B: 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; } 7656 ecx = MEM32(ebp + (-0x14)); /* 0x2B06E95D: mov ecx, dword ptr [ebp - 0x14] */ 7657 MEM32(eax + 0x8) = ecx; /* 0x2B06E960: mov dword ptr [eax + 8], ecx */ 7658 eax = MEM32(eax + 0x4); /* 0x2B06E963: mov eax, dword ptr [eax + 4] */ 7659 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B06E966: mov byte ptr [eax + ecx], 0 */ 7660 L_2B06E96A: 7661 ecx = MEM32(ebp + (-0xC)); /* 0x2B06E96A: mov ecx, dword ptr [ebp - 0xc] */ 7662 PUSH32(esp, ecx); /* 0x2B06E96D: push ecx */ 7663 PUSH32(esp, 0x2B0EB630u); /* 0x2B06E96E: push 0x2b0eb630 */ 7664 PUSH32(esp, 0x2B0EEE84u); /* 0x2B06E973: push 0x2b0eee84 */ 7665 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B06E978: call dword ptr [0x2b0b51f0] */ 7666 RECOMP_FLAGS_IN(); 7667 edx = MEM32(0x2B0B515C); /* 0x2B06E97E: mov edx, dword ptr [0x2b0b515c] */ 7668 esi = MEM32(ebx + 0x28); /* 0x2B06E984: mov esi, dword ptr [ebx + 0x28] */ 7669 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7670 eax = 0; /* 0x2B06E987: xor eax, eax */ 7671 _cf = 0; 7672 _flag_k = FK_TEST; 7673 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7674 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E989: or ecx, 0xffffffff */ 7675 _cf = 0; 7676 _flag_k = FK_TEST; 7677 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 7678 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7679 esp = esp + 0xCu; /* 0x2B06E98C: add esp, 0xc */ 7680 _flag_k = FK_ADD; 7681 edi = 0x2B0EEE84u; /* 0x2B06E98F: mov edi, 0x2b0eee84 */ 7682 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; } /* 0x2B06E994: repne scasb al, byte ptr es:[edi] */ 7683 eax = MEM32(edx); /* 0x2B06E996: mov eax, dword ptr [edx] */ 7684 edx = MEM32(esi + 0x8); /* 0x2B06E998: mov edx, dword ptr [esi + 8] */ 7685 ecx = ~ecx; /* 0x2B06E99B: not ecx */ 7686 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7687 ecx = ecx - 1; /* 0x2B06E99D: dec ecx */ 7688 _flag_k = FK_DEC; 7689 edi = ecx; /* 0x2B06E99E: mov edi, ecx */ 7690 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7691 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7692 eax = eax - edx; /* 0x2B06E9A0: sub eax, edx */ 7693 _flag_k = FK_CMP; 7694 /* cmp eax, edi */ /* 0x2B06E9A2: cmp eax, edi */ 7695 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 7696 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7697 _flag_k = FK_CMP; 7698 MEM32(ebp + (-0x18)) = esi; /* 0x2B06E9A4: mov dword ptr [ebp - 0x18], esi */ 7699 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E9AF; /* 0x2B06E9A7: ja 0x2b06e9af */ 7700 L_2B06E9A9: 7701 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E9A9: call dword ptr [0x2b0b51a8] */ 7702 RECOMP_FLAGS_IN(); 7703 L_2B06E9AF: 7704 /* test edi, edi */ /* 0x2B06E9AF: test edi, edi */ 7705 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 7706 _cf = 0; 7707 _flag_k = FK_TEST; 7708 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E9F9; /* 0x2B06E9B1: jbe 0x2b06e9f9 */ 7709 L_2B06E9B3: 7710 edx = MEM32(esi + 0x8); /* 0x2B06E9B3: mov edx, dword ptr [esi + 8] */ 7711 eax = edi; /* 0x2B06E9B6: mov eax, edi */ 7712 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7713 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7714 eax = eax + edx; /* 0x2B06E9B8: add eax, edx */ 7715 _flag_k = FK_ADD; 7716 PUSH32(esp, 0); /* 0x2B06E9BA: push 0 */ 7717 PUSH32(esp, eax); /* 0x2B06E9BC: push eax */ 7718 ecx = esi; /* 0x2B06E9BD: mov ecx, esi */ 7719 MEM32(ebp + (-0x14)) = eax; /* 0x2B06E9BF: mov dword ptr [ebp - 0x14], eax */ 7720 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E9C2: call dword ptr [0x2b0b5154] */ 7721 RECOMP_FLAGS_IN(); 7722 /* test LO8(eax), LO8(eax) */ /* 0x2B06E9C8: test al, al */ 7723 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7724 _cf = 0; 7725 _flag_k = FK_NARROW(FK_TEST, 24); 7726 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E9F9; /* 0x2B06E9CA: je 0x2b06e9f9 */ 7727 L_2B06E9CC: 7728 eax = MEM32(ebp + (-0x18)); /* 0x2B06E9CC: mov eax, dword ptr [ebp - 0x18] */ 7729 edx = MEM32(eax + 0x4); /* 0x2B06E9CF: mov edx, dword ptr [eax + 4] */ 7730 ecx = edi; /* 0x2B06E9D2: mov ecx, edi */ 7731 edi = MEM32(eax + 0x8); /* 0x2B06E9D4: mov edi, dword ptr [eax + 8] */ 7732 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 7733 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7734 edi = edi + edx; /* 0x2B06E9D7: add edi, edx */ 7735 _flag_k = FK_ADD; 7736 edx = ecx; /* 0x2B06E9D9: mov edx, ecx */ 7737 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E9DB: shr ecx, 2 */ 7738 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7739 ecx = ecx >> 2u; /* 0x2B06E9DB: shr ecx, 2 */ 7740 esi = 0x2B0EEE84u; /* 0x2B06E9DE: mov esi, 0x2b0eee84 */ 7741 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E9E3: 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; } 7742 ecx = edx; /* 0x2B06E9E5: mov ecx, edx */ 7743 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 7744 ecx = ecx & 3; /* 0x2B06E9E7: and ecx, 3 */ 7745 _cf = 0; 7746 _flag_k = FK_TEST; 7747 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E9EA: 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; } 7748 ecx = MEM32(ebp + (-0x14)); /* 0x2B06E9EC: mov ecx, dword ptr [ebp - 0x14] */ 7749 MEM32(eax + 0x8) = ecx; /* 0x2B06E9EF: mov dword ptr [eax + 8], ecx */ 7750 eax = MEM32(eax + 0x4); /* 0x2B06E9F2: mov eax, dword ptr [eax + 4] */ 7751 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06E9F5: mov byte ptr [ecx + eax], 0 */ 7752 L_2B06E9F9: 7753 ecx = MEM32(ebp + 0x8); /* 0x2B06E9F9: mov ecx, dword ptr [ebp + 8] */ 7754 PUSH32(esp, 0x64u); /* 0x2B06E9FC: push 0x64 */ 7755 PUSH32(esp, ecx); /* 0x2B06E9FE: push ecx */ 7756 ecx = ebx; /* 0x2B06E9FF: mov ecx, ebx */ 7757 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06EA01: call 0x2b0735d0 */ /* not lifted */ 7758 RECOMP_FLAGS_IN(); 7759 /* cmp eax, 0x499602D2u */ /* 0x2B06EA06: cmp eax, 0x499602d2 */ 7760 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 7761 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7762 _flag_k = FK_CMP; 7763 MEM32(ebp + (-0x8)) = eax; /* 0x2B06EA0B: mov dword ptr [ebp - 8], eax */ 7764 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06EC43; /* 0x2B06EA0E: je 0x2b06ec43 */ 7765 L_2B06EA14: 7766 eax = MEM32(ebp + (-0xC)); /* 0x2B06EA14: mov eax, dword ptr [ebp - 0xc] */ 7767 /* test eax, eax */ /* 0x2B06EA17: test eax, eax */ 7768 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7769 _cf = 0; 7770 _flag_k = FK_TEST; 7771 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EC43; /* 0x2B06EA19: je 0x2b06ec43 */ 7772 L_2B06EA1F: 7773 ecx = MEM32(ebx + 0x28); /* 0x2B06EA1F: mov ecx, dword ptr [ebx + 0x28] */ 7774 PUSH32(esp, 0x13u); /* 0x2B06EA22: push 0x13 */ 7775 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EA24: push -1 */ 7776 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EA26: call dword ptr [0x2b0b5a74] */ 7777 RECOMP_FLAGS_IN(); 7778 edx = MEM32(0x2B0B515C); /* 0x2B06EA2C: mov edx, dword ptr [0x2b0b515c] */ 7779 esi = MEM32(ebx + 0x28); /* 0x2B06EA32: mov esi, dword ptr [ebx + 0x28] */ 7780 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7781 eax = 0; /* 0x2B06EA35: xor eax, eax */ 7782 _cf = 0; 7783 _flag_k = FK_TEST; 7784 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7785 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EA37: or ecx, 0xffffffff */ 7786 _cf = 0; 7787 _flag_k = FK_TEST; 7788 edi = 0x2B0EB614u; /* 0x2B06EA3A: mov edi, 0x2b0eb614 */ 7789 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; } /* 0x2B06EA3F: repne scasb al, byte ptr es:[edi] */ 7790 eax = MEM32(edx); /* 0x2B06EA41: mov eax, dword ptr [edx] */ 7791 edx = MEM32(esi + 0x8); /* 0x2B06EA43: mov edx, dword ptr [esi + 8] */ 7792 ecx = ~ecx; /* 0x2B06EA46: not ecx */ 7793 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7794 ecx = ecx - 1; /* 0x2B06EA48: dec ecx */ 7795 _flag_k = FK_DEC; 7796 edi = ecx; /* 0x2B06EA49: mov edi, ecx */ 7797 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7798 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7799 eax = eax - edx; /* 0x2B06EA4B: sub eax, edx */ 7800 _flag_k = FK_CMP; 7801 /* cmp eax, edi */ /* 0x2B06EA4D: cmp eax, edi */ 7802 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 7803 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7804 _flag_k = FK_CMP; 7805 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EA4F: mov dword ptr [ebp - 0x18], esi */ 7806 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EA5A; /* 0x2B06EA52: ja 0x2b06ea5a */ 7807 L_2B06EA54: 7808 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EA54: call dword ptr [0x2b0b51a8] */ 7809 RECOMP_FLAGS_IN(); 7810 L_2B06EA5A: 7811 /* test edi, edi */ /* 0x2B06EA5A: test edi, edi */ 7812 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 7813 _cf = 0; 7814 _flag_k = FK_TEST; 7815 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EAA4; /* 0x2B06EA5C: jbe 0x2b06eaa4 */ 7816 L_2B06EA5E: 7817 edx = MEM32(esi + 0x8); /* 0x2B06EA5E: mov edx, dword ptr [esi + 8] */ 7818 eax = edi; /* 0x2B06EA61: mov eax, edi */ 7819 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7820 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7821 eax = eax + edx; /* 0x2B06EA63: add eax, edx */ 7822 _flag_k = FK_ADD; 7823 PUSH32(esp, 0); /* 0x2B06EA65: push 0 */ 7824 PUSH32(esp, eax); /* 0x2B06EA67: push eax */ 7825 ecx = esi; /* 0x2B06EA68: mov ecx, esi */ 7826 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EA6A: mov dword ptr [ebp - 0x14], eax */ 7827 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EA6D: call dword ptr [0x2b0b5154] */ 7828 RECOMP_FLAGS_IN(); 7829 /* test LO8(eax), LO8(eax) */ /* 0x2B06EA73: test al, al */ 7830 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7831 _cf = 0; 7832 _flag_k = FK_NARROW(FK_TEST, 24); 7833 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EAA4; /* 0x2B06EA75: je 0x2b06eaa4 */ 7834 L_2B06EA77: 7835 eax = MEM32(ebp + (-0x18)); /* 0x2B06EA77: mov eax, dword ptr [ebp - 0x18] */ 7836 edx = MEM32(eax + 0x4); /* 0x2B06EA7A: mov edx, dword ptr [eax + 4] */ 7837 ecx = edi; /* 0x2B06EA7D: mov ecx, edi */ 7838 edi = MEM32(eax + 0x8); /* 0x2B06EA7F: mov edi, dword ptr [eax + 8] */ 7839 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 7840 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7841 edi = edi + edx; /* 0x2B06EA82: add edi, edx */ 7842 _flag_k = FK_ADD; 7843 edx = ecx; /* 0x2B06EA84: mov edx, ecx */ 7844 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EA86: shr ecx, 2 */ 7845 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7846 ecx = ecx >> 2u; /* 0x2B06EA86: shr ecx, 2 */ 7847 esi = 0x2B0EB614u; /* 0x2B06EA89: mov esi, 0x2b0eb614 */ 7848 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EA8E: 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; } 7849 ecx = edx; /* 0x2B06EA90: mov ecx, edx */ 7850 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 7851 ecx = ecx & 3; /* 0x2B06EA92: and ecx, 3 */ 7852 _cf = 0; 7853 _flag_k = FK_TEST; 7854 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EA95: 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; } 7855 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EA97: mov ecx, dword ptr [ebp - 0x14] */ 7856 MEM32(eax + 0x8) = ecx; /* 0x2B06EA9A: mov dword ptr [eax + 8], ecx */ 7857 eax = MEM32(eax + 0x4); /* 0x2B06EA9D: mov eax, dword ptr [eax + 4] */ 7858 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EAA0: mov byte ptr [ecx + eax], 0 */ 7859 L_2B06EAA4: 7860 ecx = MEM32(ebx + 0x28); /* 0x2B06EAA4: mov ecx, dword ptr [ebx + 0x28] */ 7861 PUSH32(esp, 0x14u); /* 0x2B06EAA7: push 0x14 */ 7862 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EAA9: push -1 */ 7863 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EAAB: call dword ptr [0x2b0b5a74] */ 7864 RECOMP_FLAGS_IN(); 7865 PUSH32(esp, 0x64u); /* 0x2B06EAB1: push 0x64 */ 7866 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06EAB3: call dword ptr [0x2b0b5d6c] */ 7867 RECOMP_FLAGS_IN(); 7868 ecx = eax; /* 0x2B06EAB9: mov ecx, eax */ 7869 RECOMP_ICALL(MEM32(0x2B0B5DB4)); /* 0x2B06EABB: call dword ptr [0x2b0b5db4] */ 7870 RECOMP_FLAGS_IN(); 7871 esi = eax; /* 0x2B06EAC1: mov esi, eax */ 7872 /* test esi, esi */ /* 0x2B06EAC3: test esi, esi */ 7873 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 7874 _cf = 0; 7875 _flag_k = FK_TEST; 7876 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EB40; /* 0x2B06EAC5: je 0x2b06eb40 */ 7877 L_2B06EAC7: 7878 edx = MEM32(ebx + 0x28); /* 0x2B06EAC7: mov edx, dword ptr [ebx + 0x28] */ 7879 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7880 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EACA: or ecx, 0xffffffff */ 7881 _cf = 0; 7882 _flag_k = FK_TEST; 7883 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7884 eax = 0; /* 0x2B06EACD: xor eax, eax */ 7885 _cf = 0; 7886 _flag_k = FK_TEST; 7887 edi = esi; /* 0x2B06EACF: mov edi, esi */ 7888 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; } /* 0x2B06EAD1: repne scasb al, byte ptr es:[edi] */ 7889 ecx = ~ecx; /* 0x2B06EAD3: not ecx */ 7890 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7891 ecx = ecx - 1; /* 0x2B06EAD5: dec ecx */ 7892 _flag_k = FK_DEC; 7893 edi = ecx; /* 0x2B06EAD6: mov edi, ecx */ 7894 ecx = MEM32(0x2B0B515C); /* 0x2B06EAD8: mov ecx, dword ptr [0x2b0b515c] */ 7895 eax = MEM32(ecx); /* 0x2B06EADE: mov eax, dword ptr [ecx] */ 7896 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 7897 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7898 eax = eax - MEM32(edx + 0x8); /* 0x2B06EAE0: sub eax, dword ptr [edx + 8] */ 7899 _flag_k = FK_CMP; 7900 /* cmp eax, edi */ /* 0x2B06EAE3: cmp eax, edi */ 7901 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 7902 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7903 _flag_k = FK_CMP; 7904 MEM32(ebp + (-0xC)) = edx; /* 0x2B06EAE5: mov dword ptr [ebp - 0xc], edx */ 7905 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EAF0; /* 0x2B06EAE8: ja 0x2b06eaf0 */ 7906 L_2B06EAEA: 7907 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EAEA: call dword ptr [0x2b0b51a8] */ 7908 RECOMP_FLAGS_IN(); 7909 L_2B06EAF0: 7910 /* test edi, edi */ /* 0x2B06EAF0: test edi, edi */ 7911 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 7912 _cf = 0; 7913 _flag_k = FK_TEST; 7914 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EBB4; /* 0x2B06EAF2: jbe 0x2b06ebb4 */ 7915 L_2B06EAF8: 7916 ecx = MEM32(ebp + (-0xC)); /* 0x2B06EAF8: mov ecx, dword ptr [ebp - 0xc] */ 7917 edx = MEM32(ecx + 0x8); /* 0x2B06EAFB: mov edx, dword ptr [ecx + 8] */ 7918 eax = edi; /* 0x2B06EAFE: mov eax, edi */ 7919 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7920 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7921 eax = eax + edx; /* 0x2B06EB00: add eax, edx */ 7922 _flag_k = FK_ADD; 7923 PUSH32(esp, 0); /* 0x2B06EB02: push 0 */ 7924 PUSH32(esp, eax); /* 0x2B06EB04: push eax */ 7925 MEM32(ebp + (-0x18)) = eax; /* 0x2B06EB05: mov dword ptr [ebp - 0x18], eax */ 7926 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EB08: call dword ptr [0x2b0b5154] */ 7927 RECOMP_FLAGS_IN(); 7928 /* test LO8(eax), LO8(eax) */ /* 0x2B06EB0E: test al, al */ 7929 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7930 _cf = 0; 7931 _flag_k = FK_NARROW(FK_TEST, 24); 7932 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EBB4; /* 0x2B06EB10: je 0x2b06ebb4 */ 7933 L_2B06EB16: 7934 eax = MEM32(ebp + (-0xC)); /* 0x2B06EB16: mov eax, dword ptr [ebp - 0xc] */ 7935 edx = MEM32(eax + 0x4); /* 0x2B06EB19: mov edx, dword ptr [eax + 4] */ 7936 ecx = edi; /* 0x2B06EB1C: mov ecx, edi */ 7937 edi = MEM32(eax + 0x8); /* 0x2B06EB1E: mov edi, dword ptr [eax + 8] */ 7938 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 7939 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7940 edi = edi + edx; /* 0x2B06EB21: add edi, edx */ 7941 _flag_k = FK_ADD; 7942 edx = ecx; /* 0x2B06EB23: mov edx, ecx */ 7943 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EB25: shr ecx, 2 */ 7944 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7945 ecx = ecx >> 2u; /* 0x2B06EB25: shr ecx, 2 */ 7946 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EB28: 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; } 7947 ecx = edx; /* 0x2B06EB2A: mov ecx, edx */ 7948 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 7949 ecx = ecx & 3; /* 0x2B06EB2C: and ecx, 3 */ 7950 _cf = 0; 7951 _flag_k = FK_TEST; 7952 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EB2F: 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; } 7953 ecx = MEM32(ebp + (-0x18)); /* 0x2B06EB31: mov ecx, dword ptr [ebp - 0x18] */ 7954 MEM32(eax + 0x8) = ecx; /* 0x2B06EB34: mov dword ptr [eax + 8], ecx */ 7955 eax = MEM32(eax + 0x4); /* 0x2B06EB37: mov eax, dword ptr [eax + 4] */ 7956 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EB3A: mov byte ptr [ecx + eax], 0 */ 7957 goto L_2B06EBB4; /* 0x2B06EB3E: jmp 0x2b06ebb4 */ 7958 L_2B06EB40: 7959 esi = MEM32(ebx + 0x28); /* 0x2B06EB40: mov esi, dword ptr [ebx + 0x28] */ 7960 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7961 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EB43: or ecx, 0xffffffff */ 7962 _cf = 0; 7963 _flag_k = FK_TEST; 7964 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7965 eax = 0; /* 0x2B06EB46: xor eax, eax */ 7966 _cf = 0; 7967 _flag_k = FK_TEST; 7968 edi = 0x2B0EB634u; /* 0x2B06EB48: mov edi, 0x2b0eb634 */ 7969 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; } /* 0x2B06EB4D: repne scasb al, byte ptr es:[edi] */ 7970 ecx = ~ecx; /* 0x2B06EB4F: not ecx */ 7971 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7972 ecx = ecx - 1; /* 0x2B06EB51: dec ecx */ 7973 _flag_k = FK_DEC; 7974 edi = ecx; /* 0x2B06EB52: mov edi, ecx */ 7975 ecx = MEM32(0x2B0B515C); /* 0x2B06EB54: mov ecx, dword ptr [0x2b0b515c] */ 7976 edx = MEM32(ecx); /* 0x2B06EB5A: mov edx, dword ptr [ecx] */ 7977 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7978 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7979 edx = edx - MEM32(esi + 0x8); /* 0x2B06EB5C: sub edx, dword ptr [esi + 8] */ 7980 _flag_k = FK_CMP; 7981 /* cmp edx, edi */ /* 0x2B06EB5F: cmp edx, edi */ 7982 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 7983 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7984 _flag_k = FK_CMP; 7985 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EB61: mov dword ptr [ebp - 0x18], esi */ 7986 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EB6C; /* 0x2B06EB64: ja 0x2b06eb6c */ 7987 L_2B06EB66: 7988 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EB66: call dword ptr [0x2b0b51a8] */ 7989 RECOMP_FLAGS_IN(); 7990 L_2B06EB6C: 7991 /* test edi, edi */ /* 0x2B06EB6C: test edi, edi */ 7992 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 7993 _cf = 0; 7994 _flag_k = FK_TEST; 7995 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EBB4; /* 0x2B06EB6E: jbe 0x2b06ebb4 */ 7996 L_2B06EB70: 7997 eax = MEM32(esi + 0x8); /* 0x2B06EB70: mov eax, dword ptr [esi + 8] */ 7998 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 7999 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8000 eax = eax + edi; /* 0x2B06EB73: add eax, edi */ 8001 _flag_k = FK_ADD; 8002 PUSH32(esp, 0); /* 0x2B06EB75: push 0 */ 8003 PUSH32(esp, eax); /* 0x2B06EB77: push eax */ 8004 ecx = esi; /* 0x2B06EB78: mov ecx, esi */ 8005 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EB7A: mov dword ptr [ebp - 0x14], eax */ 8006 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EB7D: call dword ptr [0x2b0b5154] */ 8007 RECOMP_FLAGS_IN(); 8008 /* test LO8(eax), LO8(eax) */ /* 0x2B06EB83: test al, al */ 8009 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8010 _cf = 0; 8011 _flag_k = FK_NARROW(FK_TEST, 24); 8012 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EBB4; /* 0x2B06EB85: je 0x2b06ebb4 */ 8013 L_2B06EB87: 8014 eax = MEM32(ebp + (-0x18)); /* 0x2B06EB87: mov eax, dword ptr [ebp - 0x18] */ 8015 edx = MEM32(eax + 0x4); /* 0x2B06EB8A: mov edx, dword ptr [eax + 4] */ 8016 ecx = edi; /* 0x2B06EB8D: mov ecx, edi */ 8017 edi = MEM32(eax + 0x8); /* 0x2B06EB8F: mov edi, dword ptr [eax + 8] */ 8018 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 8019 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8020 edi = edi + edx; /* 0x2B06EB92: add edi, edx */ 8021 _flag_k = FK_ADD; 8022 edx = ecx; /* 0x2B06EB94: mov edx, ecx */ 8023 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EB96: shr ecx, 2 */ 8024 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8025 ecx = ecx >> 2u; /* 0x2B06EB96: shr ecx, 2 */ 8026 esi = 0x2B0EB634u; /* 0x2B06EB99: mov esi, 0x2b0eb634 */ 8027 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EB9E: 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; } 8028 ecx = edx; /* 0x2B06EBA0: mov ecx, edx */ 8029 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 8030 ecx = ecx & 3; /* 0x2B06EBA2: and ecx, 3 */ 8031 _cf = 0; 8032 _flag_k = FK_TEST; 8033 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EBA5: 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; } 8034 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EBA7: mov ecx, dword ptr [ebp - 0x14] */ 8035 MEM32(eax + 0x8) = ecx; /* 0x2B06EBAA: mov dword ptr [eax + 8], ecx */ 8036 eax = MEM32(eax + 0x4); /* 0x2B06EBAD: mov eax, dword ptr [eax + 4] */ 8037 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B06EBB0: mov byte ptr [eax + ecx], 0 */ 8038 L_2B06EBB4: 8039 ecx = MEM32(ebp + (-0x8)); /* 0x2B06EBB4: mov ecx, dword ptr [ebp - 8] */ 8040 PUSH32(esp, ecx); /* 0x2B06EBB7: push ecx */ 8041 PUSH32(esp, 0x2B0EB630u); /* 0x2B06EBB8: push 0x2b0eb630 */ 8042 PUSH32(esp, 0x2B0EEE84u); /* 0x2B06EBBD: push 0x2b0eee84 */ 8043 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B06EBC2: call dword ptr [0x2b0b51f0] */ 8044 RECOMP_FLAGS_IN(); 8045 edx = MEM32(0x2B0B515C); /* 0x2B06EBC8: mov edx, dword ptr [0x2b0b515c] */ 8046 esi = MEM32(ebx + 0x28); /* 0x2B06EBCE: mov esi, dword ptr [ebx + 0x28] */ 8047 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8048 eax = 0; /* 0x2B06EBD1: xor eax, eax */ 8049 _cf = 0; 8050 _flag_k = FK_TEST; 8051 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8052 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EBD3: or ecx, 0xffffffff */ 8053 _cf = 0; 8054 _flag_k = FK_TEST; 8055 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 8056 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8057 esp = esp + 0xCu; /* 0x2B06EBD6: add esp, 0xc */ 8058 _flag_k = FK_ADD; 8059 edi = 0x2B0EEE84u; /* 0x2B06EBD9: mov edi, 0x2b0eee84 */ 8060 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; } /* 0x2B06EBDE: repne scasb al, byte ptr es:[edi] */ 8061 eax = MEM32(edx); /* 0x2B06EBE0: mov eax, dword ptr [edx] */ 8062 edx = MEM32(esi + 0x8); /* 0x2B06EBE2: mov edx, dword ptr [esi + 8] */ 8063 ecx = ~ecx; /* 0x2B06EBE5: not ecx */ 8064 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 8065 ecx = ecx - 1; /* 0x2B06EBE7: dec ecx */ 8066 _flag_k = FK_DEC; 8067 edi = ecx; /* 0x2B06EBE8: mov edi, ecx */ 8068 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 8069 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8070 eax = eax - edx; /* 0x2B06EBEA: sub eax, edx */ 8071 _flag_k = FK_CMP; 8072 /* cmp eax, edi */ /* 0x2B06EBEC: cmp eax, edi */ 8073 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 8074 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8075 _flag_k = FK_CMP; 8076 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EBEE: mov dword ptr [ebp - 0x18], esi */ 8077 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EBF9; /* 0x2B06EBF1: ja 0x2b06ebf9 */ 8078 L_2B06EBF3: 8079 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EBF3: call dword ptr [0x2b0b51a8] */ 8080 RECOMP_FLAGS_IN(); 8081 L_2B06EBF9: 8082 /* test edi, edi */ /* 0x2B06EBF9: test edi, edi */ 8083 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 8084 _cf = 0; 8085 _flag_k = FK_TEST; 8086 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EC43; /* 0x2B06EBFB: jbe 0x2b06ec43 */ 8087 L_2B06EBFD: 8088 edx = MEM32(esi + 0x8); /* 0x2B06EBFD: mov edx, dword ptr [esi + 8] */ 8089 eax = edi; /* 0x2B06EC00: mov eax, edi */ 8090 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 8091 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8092 eax = eax + edx; /* 0x2B06EC02: add eax, edx */ 8093 _flag_k = FK_ADD; 8094 PUSH32(esp, 0); /* 0x2B06EC04: push 0 */ 8095 PUSH32(esp, eax); /* 0x2B06EC06: push eax */ 8096 ecx = esi; /* 0x2B06EC07: mov ecx, esi */ 8097 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EC09: mov dword ptr [ebp - 0x14], eax */ 8098 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EC0C: call dword ptr [0x2b0b5154] */ 8099 RECOMP_FLAGS_IN(); 8100 /* test LO8(eax), LO8(eax) */ /* 0x2B06EC12: test al, al */ 8101 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8102 _cf = 0; 8103 _flag_k = FK_NARROW(FK_TEST, 24); 8104 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EC43; /* 0x2B06EC14: je 0x2b06ec43 */ 8105 L_2B06EC16: 8106 eax = MEM32(ebp + (-0x18)); /* 0x2B06EC16: mov eax, dword ptr [ebp - 0x18] */ 8107 edx = MEM32(eax + 0x4); /* 0x2B06EC19: mov edx, dword ptr [eax + 4] */ 8108 ecx = edi; /* 0x2B06EC1C: mov ecx, edi */ 8109 edi = MEM32(eax + 0x8); /* 0x2B06EC1E: mov edi, dword ptr [eax + 8] */ 8110 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 8111 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8112 edi = edi + edx; /* 0x2B06EC21: add edi, edx */ 8113 _flag_k = FK_ADD; 8114 edx = ecx; /* 0x2B06EC23: mov edx, ecx */ 8115 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EC25: shr ecx, 2 */ 8116 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8117 ecx = ecx >> 2u; /* 0x2B06EC25: shr ecx, 2 */ 8118 esi = 0x2B0EEE84u; /* 0x2B06EC28: mov esi, 0x2b0eee84 */ 8119 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EC2D: 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; } 8120 ecx = edx; /* 0x2B06EC2F: mov ecx, edx */ 8121 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 8122 ecx = ecx & 3; /* 0x2B06EC31: and ecx, 3 */ 8123 _cf = 0; 8124 _flag_k = FK_TEST; 8125 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EC34: 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; } 8126 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EC36: mov ecx, dword ptr [ebp - 0x14] */ 8127 MEM32(eax + 0x8) = ecx; /* 0x2B06EC39: mov dword ptr [eax + 8], ecx */ 8128 eax = MEM32(eax + 0x4); /* 0x2B06EC3C: mov eax, dword ptr [eax + 4] */ 8129 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EC3F: mov byte ptr [ecx + eax], 0 */ 8130 L_2B06EC43: 8131 ecx = MEM32(ebp + 0x8); /* 0x2B06EC43: mov ecx, dword ptr [ebp + 8] */ 8132 PUSH32(esp, 0x1Eu); /* 0x2B06EC46: push 0x1e */ 8133 PUSH32(esp, ecx); /* 0x2B06EC48: push ecx */ 8134 ecx = ebx; /* 0x2B06EC49: mov ecx, ebx */ 8135 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06EC4B: call 0x2b0735d0 */ /* not lifted */ 8136 RECOMP_FLAGS_IN(); 8137 /* cmp eax, 0x499602D2u */ /* 0x2B06EC50: cmp eax, 0x499602d2 */ 8138 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 8139 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8140 _flag_k = FK_CMP; 8141 MEM32(ebp + (-0x8)) = eax; /* 0x2B06EC55: mov dword ptr [ebp - 8], eax */ 8142 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06EEED; /* 0x2B06EC58: je 0x2b06eeed */ 8143 L_2B06EC5E: 8144 /* test HI8(eax), 8 */ /* 0x2B06EC5E: test ah, 8 */ 8145 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(8) << 24; 8146 _cf = 0; 8147 _flag_k = FK_NARROW(FK_TEST, 24); 8148 MEM8(0x2B0EEE84) = (uint8_t)(0); /* 0x2B06EC61: mov byte ptr [0x2b0eee84], 0 */ 8149 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EC9A; /* 0x2B06EC68: je 0x2b06ec9a */ 8150 L_2B06EC6A: 8151 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8152 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EC6A: or ecx, 0xffffffff */ 8153 _cf = 0; 8154 _flag_k = FK_TEST; 8155 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8156 eax = 0; /* 0x2B06EC6D: xor eax, eax */ 8157 _cf = 0; 8158 _flag_k = FK_TEST; 8159 edi = 0x2B0EB60Cu; /* 0x2B06EC6F: mov edi, 0x2b0eb60c */ 8160 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; } /* 0x2B06EC74: repne scasb al, byte ptr es:[edi] */ 8161 ecx = ~ecx; /* 0x2B06EC76: not ecx */ 8162 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 8163 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8164 edi = edi - ecx; /* 0x2B06EC78: sub edi, ecx */ 8165 _flag_k = FK_CMP; 8166 edx = ecx; /* 0x2B06EC7A: mov edx, ecx */ 8167 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8168 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EC7C: or ecx, 0xffffffff */ 8169 _cf = 0; 8170 _flag_k = FK_TEST; 8171 esi = edi; /* 0x2B06EC7F: mov esi, edi */ 8172 edi = 0x2B0EEE84u; /* 0x2B06EC81: mov edi, 0x2b0eee84 */ 8173 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; } /* 0x2B06EC86: repne scasb al, byte ptr es:[edi] */ 8174 eax = MEM32(ebp + (-0x8)); /* 0x2B06EC88: mov eax, dword ptr [ebp - 8] */ 8175 ecx = edx; /* 0x2B06EC8B: mov ecx, edx */ 8176 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EC8D: shr ecx, 2 */ 8177 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8178 ecx = ecx >> 2u; /* 0x2B06EC8D: shr ecx, 2 */ 8179 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 8180 edi = edi - 1; /* 0x2B06EC90: dec edi */ 8181 _flag_k = FK_DEC; 8182 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EC91: 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; } 8183 ecx = edx; /* 0x2B06EC93: mov ecx, edx */ 8184 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 8185 ecx = ecx & 3; /* 0x2B06EC95: and ecx, 3 */ 8186 _cf = 0; 8187 _flag_k = FK_TEST; 8188 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EC98: 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; } 8189 L_2B06EC9A: 8190 /* test HI8(eax), 0x10u */ /* 0x2B06EC9A: test ah, 0x10 */ 8191 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x10u) << 24; 8192 _cf = 0; 8193 _flag_k = FK_NARROW(FK_TEST, 24); 8194 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06ECCF; /* 0x2B06EC9D: je 0x2b06eccf */ 8195 L_2B06EC9F: 8196 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8197 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EC9F: or ecx, 0xffffffff */ 8198 _cf = 0; 8199 _flag_k = FK_TEST; 8200 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8201 eax = 0; /* 0x2B06ECA2: xor eax, eax */ 8202 _cf = 0; 8203 _flag_k = FK_TEST; 8204 edi = 0x2B0EB600u; /* 0x2B06ECA4: mov edi, 0x2b0eb600 */ 8205 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; } /* 0x2B06ECA9: repne scasb al, byte ptr es:[edi] */ 8206 ecx = ~ecx; /* 0x2B06ECAB: not ecx */ 8207 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 8208 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8209 edi = edi - ecx; /* 0x2B06ECAD: sub edi, ecx */ 8210 _flag_k = FK_CMP; 8211 edx = ecx; /* 0x2B06ECAF: mov edx, ecx */ 8212 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8213 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ECB1: or ecx, 0xffffffff */ 8214 _cf = 0; 8215 _flag_k = FK_TEST; 8216 esi = edi; /* 0x2B06ECB4: mov esi, edi */ 8217 edi = 0x2B0EEE84u; /* 0x2B06ECB6: mov edi, 0x2b0eee84 */ 8218 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; } /* 0x2B06ECBB: repne scasb al, byte ptr es:[edi] */ 8219 eax = MEM32(ebp + (-0x8)); /* 0x2B06ECBD: mov eax, dword ptr [ebp - 8] */ 8220 ecx = edx; /* 0x2B06ECC0: mov ecx, edx */ 8221 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06ECC2: shr ecx, 2 */ 8222 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8223 ecx = ecx >> 2u; /* 0x2B06ECC2: shr ecx, 2 */ 8224 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 8225 edi = edi - 1; /* 0x2B06ECC5: dec edi */ 8226 _flag_k = FK_DEC; 8227 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06ECC6: 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; } 8228 ecx = edx; /* 0x2B06ECC8: mov ecx, edx */ 8229 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 8230 ecx = ecx & 3; /* 0x2B06ECCA: and ecx, 3 */ 8231 _cf = 0; 8232 _flag_k = FK_TEST; 8233 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06ECCD: 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; } 8234 L_2B06ECCF: 8235 /* test HI8(eax), 0x20u */ /* 0x2B06ECCF: test ah, 0x20 */ 8236 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x20u) << 24; 8237 _cf = 0; 8238 _flag_k = FK_NARROW(FK_TEST, 24); 8239 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06ED04; /* 0x2B06ECD2: je 0x2b06ed04 */ 8240 L_2B06ECD4: 8241 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8242 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ECD4: or ecx, 0xffffffff */ 8243 _cf = 0; 8244 _flag_k = FK_TEST; 8245 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8246 eax = 0; /* 0x2B06ECD7: xor eax, eax */ 8247 _cf = 0; 8248 _flag_k = FK_TEST; 8249 edi = 0x2B0EB5F4u; /* 0x2B06ECD9: mov edi, 0x2b0eb5f4 */ 8250 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; } /* 0x2B06ECDE: repne scasb al, byte ptr es:[edi] */ 8251 ecx = ~ecx; /* 0x2B06ECE0: not ecx */ 8252 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 8253 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8254 edi = edi - ecx; /* 0x2B06ECE2: sub edi, ecx */ 8255 _flag_k = FK_CMP; 8256 edx = ecx; /* 0x2B06ECE4: mov edx, ecx */ 8257 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8258 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ECE6: or ecx, 0xffffffff */ 8259 _cf = 0; 8260 _flag_k = FK_TEST; 8261 esi = edi; /* 0x2B06ECE9: mov esi, edi */ 8262 edi = 0x2B0EEE84u; /* 0x2B06ECEB: mov edi, 0x2b0eee84 */ 8263 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; } /* 0x2B06ECF0: repne scasb al, byte ptr es:[edi] */ 8264 eax = MEM32(ebp + (-0x8)); /* 0x2B06ECF2: mov eax, dword ptr [ebp - 8] */ 8265 ecx = edx; /* 0x2B06ECF5: mov ecx, edx */ 8266 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06ECF7: shr ecx, 2 */ 8267 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8268 ecx = ecx >> 2u; /* 0x2B06ECF7: shr ecx, 2 */ 8269 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 8270 edi = edi - 1; /* 0x2B06ECFA: dec edi */ 8271 _flag_k = FK_DEC; 8272 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06ECFB: 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; } 8273 ecx = edx; /* 0x2B06ECFD: mov ecx, edx */ 8274 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 8275 ecx = ecx & 3; /* 0x2B06ECFF: and ecx, 3 */ 8276 _cf = 0; 8277 _flag_k = FK_TEST; 8278 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06ED02: 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; } 8279 L_2B06ED04: 8280 /* test HI8(eax), 0x40u */ /* 0x2B06ED04: test ah, 0x40 */ 8281 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 8282 _cf = 0; 8283 _flag_k = FK_NARROW(FK_TEST, 24); 8284 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06ED39; /* 0x2B06ED07: je 0x2b06ed39 */ 8285 L_2B06ED09: 8286 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8287 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED09: or ecx, 0xffffffff */ 8288 _cf = 0; 8289 _flag_k = FK_TEST; 8290 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8291 eax = 0; /* 0x2B06ED0C: xor eax, eax */ 8292 _cf = 0; 8293 _flag_k = FK_TEST; 8294 edi = 0x2B0EB5ECu; /* 0x2B06ED0E: mov edi, 0x2b0eb5ec */ 8295 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; } /* 0x2B06ED13: repne scasb al, byte ptr es:[edi] */ 8296 ecx = ~ecx; /* 0x2B06ED15: not ecx */ 8297 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 8298 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8299 edi = edi - ecx; /* 0x2B06ED17: sub edi, ecx */ 8300 _flag_k = FK_CMP; 8301 edx = ecx; /* 0x2B06ED19: mov edx, ecx */ 8302 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8303 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED1B: or ecx, 0xffffffff */ 8304 _cf = 0; 8305 _flag_k = FK_TEST; 8306 esi = edi; /* 0x2B06ED1E: mov esi, edi */ 8307 edi = 0x2B0EEE84u; /* 0x2B06ED20: mov edi, 0x2b0eee84 */ 8308 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; } /* 0x2B06ED25: repne scasb al, byte ptr es:[edi] */ 8309 eax = MEM32(ebp + (-0x8)); /* 0x2B06ED27: mov eax, dword ptr [ebp - 8] */ 8310 ecx = edx; /* 0x2B06ED2A: mov ecx, edx */ 8311 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06ED2C: shr ecx, 2 */ 8312 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8313 ecx = ecx >> 2u; /* 0x2B06ED2C: shr ecx, 2 */ 8314 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 8315 edi = edi - 1; /* 0x2B06ED2F: dec edi */ 8316 _flag_k = FK_DEC; 8317 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06ED30: 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; } 8318 ecx = edx; /* 0x2B06ED32: mov ecx, edx */ 8319 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 8320 ecx = ecx & 3; /* 0x2B06ED34: and ecx, 3 */ 8321 _cf = 0; 8322 _flag_k = FK_TEST; 8323 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06ED37: 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; } 8324 L_2B06ED39: 8325 /* test HI8(eax), 0x80u */ /* 0x2B06ED39: test ah, 0x80 */ 8326 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x80u) << 24; 8327 _cf = 0; 8328 _flag_k = FK_NARROW(FK_TEST, 24); 8329 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06ED6E; /* 0x2B06ED3C: je 0x2b06ed6e */ 8330 L_2B06ED3E: 8331 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8332 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED3E: or ecx, 0xffffffff */ 8333 _cf = 0; 8334 _flag_k = FK_TEST; 8335 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8336 eax = 0; /* 0x2B06ED41: xor eax, eax */ 8337 _cf = 0; 8338 _flag_k = FK_TEST; 8339 edi = 0x2B0EB5E0u; /* 0x2B06ED43: mov edi, 0x2b0eb5e0 */ 8340 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; } /* 0x2B06ED48: repne scasb al, byte ptr es:[edi] */ 8341 ecx = ~ecx; /* 0x2B06ED4A: not ecx */ 8342 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 8343 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8344 edi = edi - ecx; /* 0x2B06ED4C: sub edi, ecx */ 8345 _flag_k = FK_CMP; 8346 edx = ecx; /* 0x2B06ED4E: mov edx, ecx */ 8347 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8348 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED50: or ecx, 0xffffffff */ 8349 _cf = 0; 8350 _flag_k = FK_TEST; 8351 esi = edi; /* 0x2B06ED53: mov esi, edi */ 8352 edi = 0x2B0EEE84u; /* 0x2B06ED55: mov edi, 0x2b0eee84 */ 8353 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; } /* 0x2B06ED5A: repne scasb al, byte ptr es:[edi] */ 8354 eax = MEM32(ebp + (-0x8)); /* 0x2B06ED5C: mov eax, dword ptr [ebp - 8] */ 8355 ecx = edx; /* 0x2B06ED5F: mov ecx, edx */ 8356 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06ED61: shr ecx, 2 */ 8357 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8358 ecx = ecx >> 2u; /* 0x2B06ED61: shr ecx, 2 */ 8359 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 8360 edi = edi - 1; /* 0x2B06ED64: dec edi */ 8361 _flag_k = FK_DEC; 8362 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06ED65: 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; } 8363 ecx = edx; /* 0x2B06ED67: mov ecx, edx */ 8364 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 8365 ecx = ecx & 3; /* 0x2B06ED69: and ecx, 3 */ 8366 _cf = 0; 8367 _flag_k = FK_TEST; 8368 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06ED6C: 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; } 8369 L_2B06ED6E: 8370 /* test eax, 0x00020000u */ /* 0x2B06ED6E: test eax, 0x20000 */ 8371 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x00020000u); 8372 _cf = 0; 8373 _flag_k = FK_TEST; 8374 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EDA5; /* 0x2B06ED73: je 0x2b06eda5 */ 8375 L_2B06ED75: 8376 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8377 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED75: or ecx, 0xffffffff */ 8378 _cf = 0; 8379 _flag_k = FK_TEST; 8380 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8381 eax = 0; /* 0x2B06ED78: xor eax, eax */ 8382 _cf = 0; 8383 _flag_k = FK_TEST; 8384 edi = 0x2B0EB5D0u; /* 0x2B06ED7A: mov edi, 0x2b0eb5d0 */ 8385 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; } /* 0x2B06ED7F: repne scasb al, byte ptr es:[edi] */ 8386 ecx = ~ecx; /* 0x2B06ED81: not ecx */ 8387 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 8388 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8389 edi = edi - ecx; /* 0x2B06ED83: sub edi, ecx */ 8390 _flag_k = FK_CMP; 8391 edx = ecx; /* 0x2B06ED85: mov edx, ecx */ 8392 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8393 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED87: or ecx, 0xffffffff */ 8394 _cf = 0; 8395 _flag_k = FK_TEST; 8396 esi = edi; /* 0x2B06ED8A: mov esi, edi */ 8397 edi = 0x2B0EEE84u; /* 0x2B06ED8C: mov edi, 0x2b0eee84 */ 8398 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; } /* 0x2B06ED91: repne scasb al, byte ptr es:[edi] */ 8399 eax = MEM32(ebp + (-0x8)); /* 0x2B06ED93: mov eax, dword ptr [ebp - 8] */ 8400 ecx = edx; /* 0x2B06ED96: mov ecx, edx */ 8401 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06ED98: shr ecx, 2 */ 8402 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8403 ecx = ecx >> 2u; /* 0x2B06ED98: shr ecx, 2 */ 8404 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 8405 edi = edi - 1; /* 0x2B06ED9B: dec edi */ 8406 _flag_k = FK_DEC; 8407 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06ED9C: 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; } 8408 ecx = edx; /* 0x2B06ED9E: mov ecx, edx */ 8409 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 8410 ecx = ecx & 3; /* 0x2B06EDA0: and ecx, 3 */ 8411 _cf = 0; 8412 _flag_k = FK_TEST; 8413 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EDA3: 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; } 8414 L_2B06EDA5: 8415 /* test eax, 0x00040000u */ /* 0x2B06EDA5: test eax, 0x40000 */ 8416 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x00040000u); 8417 _cf = 0; 8418 _flag_k = FK_TEST; 8419 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EDD9; /* 0x2B06EDAA: je 0x2b06edd9 */ 8420 L_2B06EDAC: 8421 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8422 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EDAC: or ecx, 0xffffffff */ 8423 _cf = 0; 8424 _flag_k = FK_TEST; 8425 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8426 eax = 0; /* 0x2B06EDAF: xor eax, eax */ 8427 _cf = 0; 8428 _flag_k = FK_TEST; 8429 edi = 0x2B0EB5C4u; /* 0x2B06EDB1: mov edi, 0x2b0eb5c4 */ 8430 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; } /* 0x2B06EDB6: repne scasb al, byte ptr es:[edi] */ 8431 ecx = ~ecx; /* 0x2B06EDB8: not ecx */ 8432 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 8433 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8434 edi = edi - ecx; /* 0x2B06EDBA: sub edi, ecx */ 8435 _flag_k = FK_CMP; 8436 edx = ecx; /* 0x2B06EDBC: mov edx, ecx */ 8437 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8438 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EDBE: or ecx, 0xffffffff */ 8439 _cf = 0; 8440 _flag_k = FK_TEST; 8441 esi = edi; /* 0x2B06EDC1: mov esi, edi */ 8442 edi = 0x2B0EEE84u; /* 0x2B06EDC3: mov edi, 0x2b0eee84 */ 8443 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; } /* 0x2B06EDC8: repne scasb al, byte ptr es:[edi] */ 8444 ecx = edx; /* 0x2B06EDCA: mov ecx, edx */ 8445 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EDCC: shr ecx, 2 */ 8446 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8447 ecx = ecx >> 2u; /* 0x2B06EDCC: shr ecx, 2 */ 8448 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 8449 edi = edi - 1; /* 0x2B06EDCF: dec edi */ 8450 _flag_k = FK_DEC; 8451 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EDD0: 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; } 8452 ecx = edx; /* 0x2B06EDD2: mov ecx, edx */ 8453 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 8454 ecx = ecx & 3; /* 0x2B06EDD4: and ecx, 3 */ 8455 _cf = 0; 8456 _flag_k = FK_TEST; 8457 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EDD7: 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; } 8458 L_2B06EDD9: 8459 SET_LO8(eax, MEM8(0x2B0EEE84)); /* 0x2B06EDD9: mov al, byte ptr [0x2b0eee84] */ 8460 /* test LO8(eax), LO8(eax) */ /* 0x2B06EDDE: test al, al */ 8461 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8462 _cf = 0; 8463 _flag_k = FK_NARROW(FK_TEST, 24); 8464 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EEED; /* 0x2B06EDE0: je 0x2b06eeed */ 8465 L_2B06EDE6: 8466 ecx = MEM32(ebx + 0x28); /* 0x2B06EDE6: mov ecx, dword ptr [ebx + 0x28] */ 8467 PUSH32(esp, 0x13u); /* 0x2B06EDE9: push 0x13 */ 8468 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EDEB: push -1 */ 8469 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EDED: call dword ptr [0x2b0b5a74] */ 8470 RECOMP_FLAGS_IN(); 8471 esi = MEM32(ebx + 0x28); /* 0x2B06EDF3: mov esi, dword ptr [ebx + 0x28] */ 8472 edx = MEM32(esi + 0x8); /* 0x2B06EDF6: mov edx, dword ptr [esi + 8] */ 8473 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8474 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EDF9: or ecx, 0xffffffff */ 8475 _cf = 0; 8476 _flag_k = FK_TEST; 8477 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8478 eax = 0; /* 0x2B06EDFC: xor eax, eax */ 8479 _cf = 0; 8480 _flag_k = FK_TEST; 8481 edi = 0x2B0EB5B8u; /* 0x2B06EDFE: mov edi, 0x2b0eb5b8 */ 8482 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; } /* 0x2B06EE03: repne scasb al, byte ptr es:[edi] */ 8483 eax = MEM32(0x2B0B515C); /* 0x2B06EE05: mov eax, dword ptr [0x2b0b515c] */ 8484 ecx = ~ecx; /* 0x2B06EE0A: not ecx */ 8485 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 8486 ecx = ecx - 1; /* 0x2B06EE0C: dec ecx */ 8487 _flag_k = FK_DEC; 8488 edi = ecx; /* 0x2B06EE0D: mov edi, ecx */ 8489 ecx = MEM32(eax); /* 0x2B06EE0F: mov ecx, dword ptr [eax] */ 8490 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8491 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8492 ecx = ecx - edx; /* 0x2B06EE11: sub ecx, edx */ 8493 _flag_k = FK_CMP; 8494 /* cmp ecx, edi */ /* 0x2B06EE13: cmp ecx, edi */ 8495 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 8496 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8497 _flag_k = FK_CMP; 8498 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EE15: mov dword ptr [ebp - 0x18], esi */ 8499 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EE20; /* 0x2B06EE18: ja 0x2b06ee20 */ 8500 L_2B06EE1A: 8501 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EE1A: call dword ptr [0x2b0b51a8] */ 8502 RECOMP_FLAGS_IN(); 8503 L_2B06EE20: 8504 /* test edi, edi */ /* 0x2B06EE20: test edi, edi */ 8505 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 8506 _cf = 0; 8507 _flag_k = FK_TEST; 8508 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EE6A; /* 0x2B06EE22: jbe 0x2b06ee6a */ 8509 L_2B06EE24: 8510 edx = MEM32(esi + 0x8); /* 0x2B06EE24: mov edx, dword ptr [esi + 8] */ 8511 eax = edi; /* 0x2B06EE27: mov eax, edi */ 8512 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 8513 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8514 eax = eax + edx; /* 0x2B06EE29: add eax, edx */ 8515 _flag_k = FK_ADD; 8516 PUSH32(esp, 0); /* 0x2B06EE2B: push 0 */ 8517 PUSH32(esp, eax); /* 0x2B06EE2D: push eax */ 8518 ecx = esi; /* 0x2B06EE2E: mov ecx, esi */ 8519 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EE30: mov dword ptr [ebp - 0x14], eax */ 8520 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EE33: call dword ptr [0x2b0b5154] */ 8521 RECOMP_FLAGS_IN(); 8522 /* test LO8(eax), LO8(eax) */ /* 0x2B06EE39: test al, al */ 8523 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8524 _cf = 0; 8525 _flag_k = FK_NARROW(FK_TEST, 24); 8526 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EE6A; /* 0x2B06EE3B: je 0x2b06ee6a */ 8527 L_2B06EE3D: 8528 eax = MEM32(ebp + (-0x18)); /* 0x2B06EE3D: mov eax, dword ptr [ebp - 0x18] */ 8529 edx = MEM32(eax + 0x4); /* 0x2B06EE40: mov edx, dword ptr [eax + 4] */ 8530 ecx = edi; /* 0x2B06EE43: mov ecx, edi */ 8531 edi = MEM32(eax + 0x8); /* 0x2B06EE45: mov edi, dword ptr [eax + 8] */ 8532 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 8533 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8534 edi = edi + edx; /* 0x2B06EE48: add edi, edx */ 8535 _flag_k = FK_ADD; 8536 edx = ecx; /* 0x2B06EE4A: mov edx, ecx */ 8537 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EE4C: shr ecx, 2 */ 8538 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8539 ecx = ecx >> 2u; /* 0x2B06EE4C: shr ecx, 2 */ 8540 esi = 0x2B0EB5B8u; /* 0x2B06EE4F: mov esi, 0x2b0eb5b8 */ 8541 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EE54: 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; } 8542 ecx = edx; /* 0x2B06EE56: mov ecx, edx */ 8543 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 8544 ecx = ecx & 3; /* 0x2B06EE58: and ecx, 3 */ 8545 _cf = 0; 8546 _flag_k = FK_TEST; 8547 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EE5B: 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; } 8548 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EE5D: mov ecx, dword ptr [ebp - 0x14] */ 8549 MEM32(eax + 0x8) = ecx; /* 0x2B06EE60: mov dword ptr [eax + 8], ecx */ 8550 eax = MEM32(eax + 0x4); /* 0x2B06EE63: mov eax, dword ptr [eax + 4] */ 8551 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EE66: mov byte ptr [ecx + eax], 0 */ 8552 L_2B06EE6A: 8553 ecx = MEM32(ebx + 0x28); /* 0x2B06EE6A: mov ecx, dword ptr [ebx + 0x28] */ 8554 PUSH32(esp, 0x14u); /* 0x2B06EE6D: push 0x14 */ 8555 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EE6F: push -1 */ 8556 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EE71: call dword ptr [0x2b0b5a74] */ 8557 RECOMP_FLAGS_IN(); 8558 esi = MEM32(ebx + 0x28); /* 0x2B06EE77: mov esi, dword ptr [ebx + 0x28] */ 8559 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8560 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EE7A: or ecx, 0xffffffff */ 8561 _cf = 0; 8562 _flag_k = FK_TEST; 8563 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8564 eax = 0; /* 0x2B06EE7D: xor eax, eax */ 8565 _cf = 0; 8566 _flag_k = FK_TEST; 8567 edi = 0x2B0EEE84u; /* 0x2B06EE7F: mov edi, 0x2b0eee84 */ 8568 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; } /* 0x2B06EE84: repne scasb al, byte ptr es:[edi] */ 8569 ecx = ~ecx; /* 0x2B06EE86: not ecx */ 8570 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 8571 ecx = ecx - 1; /* 0x2B06EE88: dec ecx */ 8572 _flag_k = FK_DEC; 8573 edi = ecx; /* 0x2B06EE89: mov edi, ecx */ 8574 ecx = MEM32(0x2B0B515C); /* 0x2B06EE8B: mov ecx, dword ptr [0x2b0b515c] */ 8575 edx = MEM32(ecx); /* 0x2B06EE91: mov edx, dword ptr [ecx] */ 8576 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8577 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8578 edx = edx - MEM32(esi + 0x8); /* 0x2B06EE93: sub edx, dword ptr [esi + 8] */ 8579 _flag_k = FK_CMP; 8580 /* cmp edx, edi */ /* 0x2B06EE96: cmp edx, edi */ 8581 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 8582 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8583 _flag_k = FK_CMP; 8584 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EE98: mov dword ptr [ebp - 0x18], esi */ 8585 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EEA3; /* 0x2B06EE9B: ja 0x2b06eea3 */ 8586 L_2B06EE9D: 8587 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EE9D: call dword ptr [0x2b0b51a8] */ 8588 RECOMP_FLAGS_IN(); 8589 L_2B06EEA3: 8590 /* test edi, edi */ /* 0x2B06EEA3: test edi, edi */ 8591 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 8592 _cf = 0; 8593 _flag_k = FK_TEST; 8594 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EEED; /* 0x2B06EEA5: jbe 0x2b06eeed */ 8595 L_2B06EEA7: 8596 edx = MEM32(esi + 0x8); /* 0x2B06EEA7: mov edx, dword ptr [esi + 8] */ 8597 eax = edi; /* 0x2B06EEAA: mov eax, edi */ 8598 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 8599 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8600 eax = eax + edx; /* 0x2B06EEAC: add eax, edx */ 8601 _flag_k = FK_ADD; 8602 PUSH32(esp, 0); /* 0x2B06EEAE: push 0 */ 8603 PUSH32(esp, eax); /* 0x2B06EEB0: push eax */ 8604 ecx = esi; /* 0x2B06EEB1: mov ecx, esi */ 8605 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EEB3: mov dword ptr [ebp - 0x14], eax */ 8606 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EEB6: call dword ptr [0x2b0b5154] */ 8607 RECOMP_FLAGS_IN(); 8608 /* test LO8(eax), LO8(eax) */ /* 0x2B06EEBC: test al, al */ 8609 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8610 _cf = 0; 8611 _flag_k = FK_NARROW(FK_TEST, 24); 8612 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EEED; /* 0x2B06EEBE: je 0x2b06eeed */ 8613 L_2B06EEC0: 8614 eax = MEM32(ebp + (-0x18)); /* 0x2B06EEC0: mov eax, dword ptr [ebp - 0x18] */ 8615 edx = MEM32(eax + 0x4); /* 0x2B06EEC3: mov edx, dword ptr [eax + 4] */ 8616 ecx = edi; /* 0x2B06EEC6: mov ecx, edi */ 8617 edi = MEM32(eax + 0x8); /* 0x2B06EEC8: mov edi, dword ptr [eax + 8] */ 8618 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 8619 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8620 edi = edi + edx; /* 0x2B06EECB: add edi, edx */ 8621 _flag_k = FK_ADD; 8622 edx = ecx; /* 0x2B06EECD: mov edx, ecx */ 8623 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EECF: shr ecx, 2 */ 8624 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8625 ecx = ecx >> 2u; /* 0x2B06EECF: shr ecx, 2 */ 8626 esi = 0x2B0EEE84u; /* 0x2B06EED2: mov esi, 0x2b0eee84 */ 8627 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EED7: 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; } 8628 ecx = edx; /* 0x2B06EED9: mov ecx, edx */ 8629 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 8630 ecx = ecx & 3; /* 0x2B06EEDB: and ecx, 3 */ 8631 _cf = 0; 8632 _flag_k = FK_TEST; 8633 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EEDE: 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; } 8634 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EEE0: mov ecx, dword ptr [ebp - 0x14] */ 8635 MEM32(eax + 0x8) = ecx; /* 0x2B06EEE3: mov dword ptr [eax + 8], ecx */ 8636 eax = MEM32(eax + 0x4); /* 0x2B06EEE6: mov eax, dword ptr [eax + 4] */ 8637 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EEE9: mov byte ptr [ecx + eax], 0 */ 8638 L_2B06EEED: 8639 ecx = MEM32(ebx + 0x28); /* 0x2B06EEED: mov ecx, dword ptr [ebx + 0x28] */ 8640 esi = MEM32(ebp + 0x8); /* 0x2B06EEF0: mov esi, dword ptr [ebp + 8] */ 8641 PUSH32(esp, ecx); /* 0x2B06EEF3: push ecx */ 8642 PUSH32(esp, esi); /* 0x2B06EEF4: push esi */ 8643 ecx = ebx; /* 0x2B06EEF5: mov ecx, ebx */ 8644 RECOMP_ICALL(0x2B073CB0u); /* 0x2B06EEF7: call 0x2b073cb0 */ /* not lifted */ 8645 RECOMP_FLAGS_IN(); 8646 edx = MEM32(ebx + 0x28); /* 0x2B06EEFC: mov edx, dword ptr [ebx + 0x28] */ 8647 PUSH32(esp, edx); /* 0x2B06EEFF: push edx */ 8648 PUSH32(esp, esi); /* 0x2B06EF00: push esi */ 8649 ecx = ebx; /* 0x2B06EF01: mov ecx, ebx */ 8650 RECOMP_ICALL(0x2B073CF0u); /* 0x2B06EF03: call 0x2b073cf0 */ /* not lifted */ 8651 RECOMP_FLAGS_IN(); 8652 eax = MEM32(ebx + 0x28); /* 0x2B06EF08: mov eax, dword ptr [ebx + 0x28] */ 8653 PUSH32(esp, eax); /* 0x2B06EF0B: push eax */ 8654 PUSH32(esp, esi); /* 0x2B06EF0C: push esi */ 8655 ecx = ebx; /* 0x2B06EF0D: mov ecx, ebx */ 8656 RECOMP_ICALL(0x2B073D30u); /* 0x2B06EF0F: call 0x2b073d30 */ /* not lifted */ 8657 RECOMP_FLAGS_IN(); 8658 ecx = MEM32(ebx + 0x28); /* 0x2B06EF14: mov ecx, dword ptr [ebx + 0x28] */ 8659 PUSH32(esp, ecx); /* 0x2B06EF17: push ecx */ 8660 PUSH32(esp, esi); /* 0x2B06EF18: push esi */ 8661 ecx = ebx; /* 0x2B06EF19: mov ecx, ebx */ 8662 RECOMP_ICALL(0x2B073F90u); /* 0x2B06EF1B: call 0x2b073f90 */ /* not lifted */ 8663 RECOMP_FLAGS_IN(); 8664 PUSH32(esp, 0x1B4u); /* 0x2B06EF20: push 0x1b4 */ 8665 PUSH32(esp, esi); /* 0x2B06EF25: push esi */ 8666 ecx = ebx; /* 0x2B06EF26: mov ecx, ebx */ 8667 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06EF28: call 0x2b0735d0 */ /* not lifted */ 8668 RECOMP_FLAGS_IN(); 8669 /* cmp eax, 0x499602D2u */ /* 0x2B06EF2D: cmp eax, 0x499602d2 */ 8670 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 8671 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8672 _flag_k = FK_CMP; 8673 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06F056; /* 0x2B06EF32: je 0x2b06f056 */ 8674 L_2B06EF38: 8675 PUSH32(esp, eax); /* 0x2B06EF38: push eax */ 8676 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06EF39: call dword ptr [0x2b0b5d6c] */ 8677 RECOMP_FLAGS_IN(); 8678 ecx = eax; /* 0x2B06EF3F: mov ecx, eax */ 8679 RECOMP_ICALL(MEM32(0x2B0B5DB4)); /* 0x2B06EF41: call dword ptr [0x2b0b5db4] */ 8680 RECOMP_FLAGS_IN(); 8681 /* test eax, eax */ /* 0x2B06EF47: test eax, eax */ 8682 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8683 _cf = 0; 8684 _flag_k = FK_TEST; 8685 MEM32(ebp + (-0xC)) = eax; /* 0x2B06EF49: mov dword ptr [ebp - 0xc], eax */ 8686 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F056; /* 0x2B06EF4C: je 0x2b06f056 */ 8687 L_2B06EF52: 8688 ecx = MEM32(ebx + 0x28); /* 0x2B06EF52: mov ecx, dword ptr [ebx + 0x28] */ 8689 PUSH32(esp, 0x13u); /* 0x2B06EF55: push 0x13 */ 8690 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EF57: push -1 */ 8691 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EF59: call dword ptr [0x2b0b5a74] */ 8692 RECOMP_FLAGS_IN(); 8693 edx = MEM32(0x2B0B515C); /* 0x2B06EF5F: mov edx, dword ptr [0x2b0b515c] */ 8694 esi = MEM32(ebx + 0x28); /* 0x2B06EF65: mov esi, dword ptr [ebx + 0x28] */ 8695 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8696 eax = 0; /* 0x2B06EF68: xor eax, eax */ 8697 _cf = 0; 8698 _flag_k = FK_TEST; 8699 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8700 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EF6A: or ecx, 0xffffffff */ 8701 _cf = 0; 8702 _flag_k = FK_TEST; 8703 edi = 0x2B0EB5ACu; /* 0x2B06EF6D: mov edi, 0x2b0eb5ac */ 8704 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; } /* 0x2B06EF72: repne scasb al, byte ptr es:[edi] */ 8705 eax = MEM32(edx); /* 0x2B06EF74: mov eax, dword ptr [edx] */ 8706 edx = MEM32(esi + 0x8); /* 0x2B06EF76: mov edx, dword ptr [esi + 8] */ 8707 ecx = ~ecx; /* 0x2B06EF79: not ecx */ 8708 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 8709 ecx = ecx - 1; /* 0x2B06EF7B: dec ecx */ 8710 _flag_k = FK_DEC; 8711 edi = ecx; /* 0x2B06EF7C: mov edi, ecx */ 8712 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 8713 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8714 eax = eax - edx; /* 0x2B06EF7E: sub eax, edx */ 8715 _flag_k = FK_CMP; 8716 /* cmp eax, edi */ /* 0x2B06EF80: cmp eax, edi */ 8717 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 8718 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8719 _flag_k = FK_CMP; 8720 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EF82: mov dword ptr [ebp - 0x18], esi */ 8721 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EF8D; /* 0x2B06EF85: ja 0x2b06ef8d */ 8722 L_2B06EF87: 8723 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EF87: call dword ptr [0x2b0b51a8] */ 8724 RECOMP_FLAGS_IN(); 8725 L_2B06EF8D: 8726 /* test edi, edi */ /* 0x2B06EF8D: test edi, edi */ 8727 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 8728 _cf = 0; 8729 _flag_k = FK_TEST; 8730 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EFD7; /* 0x2B06EF8F: jbe 0x2b06efd7 */ 8731 L_2B06EF91: 8732 edx = MEM32(esi + 0x8); /* 0x2B06EF91: mov edx, dword ptr [esi + 8] */ 8733 eax = edi; /* 0x2B06EF94: mov eax, edi */ 8734 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 8735 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8736 eax = eax + edx; /* 0x2B06EF96: add eax, edx */ 8737 _flag_k = FK_ADD; 8738 PUSH32(esp, 0); /* 0x2B06EF98: push 0 */ 8739 PUSH32(esp, eax); /* 0x2B06EF9A: push eax */ 8740 ecx = esi; /* 0x2B06EF9B: mov ecx, esi */ 8741 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EF9D: mov dword ptr [ebp - 0x14], eax */ 8742 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EFA0: call dword ptr [0x2b0b5154] */ 8743 RECOMP_FLAGS_IN(); 8744 /* test LO8(eax), LO8(eax) */ /* 0x2B06EFA6: test al, al */ 8745 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8746 _cf = 0; 8747 _flag_k = FK_NARROW(FK_TEST, 24); 8748 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EFD7; /* 0x2B06EFA8: je 0x2b06efd7 */ 8749 L_2B06EFAA: 8750 eax = MEM32(ebp + (-0x18)); /* 0x2B06EFAA: mov eax, dword ptr [ebp - 0x18] */ 8751 edx = MEM32(eax + 0x4); /* 0x2B06EFAD: mov edx, dword ptr [eax + 4] */ 8752 ecx = edi; /* 0x2B06EFB0: mov ecx, edi */ 8753 edi = MEM32(eax + 0x8); /* 0x2B06EFB2: mov edi, dword ptr [eax + 8] */ 8754 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 8755 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8756 edi = edi + edx; /* 0x2B06EFB5: add edi, edx */ 8757 _flag_k = FK_ADD; 8758 edx = ecx; /* 0x2B06EFB7: mov edx, ecx */ 8759 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EFB9: shr ecx, 2 */ 8760 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8761 ecx = ecx >> 2u; /* 0x2B06EFB9: shr ecx, 2 */ 8762 esi = 0x2B0EB5ACu; /* 0x2B06EFBC: mov esi, 0x2b0eb5ac */ 8763 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EFC1: 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; } 8764 ecx = edx; /* 0x2B06EFC3: mov ecx, edx */ 8765 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 8766 ecx = ecx & 3; /* 0x2B06EFC5: and ecx, 3 */ 8767 _cf = 0; 8768 _flag_k = FK_TEST; 8769 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EFC8: 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; } 8770 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EFCA: mov ecx, dword ptr [ebp - 0x14] */ 8771 MEM32(eax + 0x8) = ecx; /* 0x2B06EFCD: mov dword ptr [eax + 8], ecx */ 8772 eax = MEM32(eax + 0x4); /* 0x2B06EFD0: mov eax, dword ptr [eax + 4] */ 8773 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EFD3: mov byte ptr [ecx + eax], 0 */ 8774 L_2B06EFD7: 8775 ecx = MEM32(ebx + 0x28); /* 0x2B06EFD7: mov ecx, dword ptr [ebx + 0x28] */ 8776 PUSH32(esp, 0x14u); /* 0x2B06EFDA: push 0x14 */ 8777 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EFDC: push -1 */ 8778 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EFDE: call dword ptr [0x2b0b5a74] */ 8779 RECOMP_FLAGS_IN(); 8780 edi = MEM32(ebp + (-0xC)); /* 0x2B06EFE4: mov edi, dword ptr [ebp - 0xc] */ 8781 esi = MEM32(ebx + 0x28); /* 0x2B06EFE7: mov esi, dword ptr [ebx + 0x28] */ 8782 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8783 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EFEA: or ecx, 0xffffffff */ 8784 _cf = 0; 8785 _flag_k = FK_TEST; 8786 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8787 eax = 0; /* 0x2B06EFED: xor eax, eax */ 8788 _cf = 0; 8789 _flag_k = FK_TEST; 8790 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; } /* 0x2B06EFEF: repne scasb al, byte ptr es:[edi] */ 8791 ecx = ~ecx; /* 0x2B06EFF1: not ecx */ 8792 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 8793 ecx = ecx - 1; /* 0x2B06EFF3: dec ecx */ 8794 _flag_k = FK_DEC; 8795 edi = ecx; /* 0x2B06EFF4: mov edi, ecx */ 8796 ecx = MEM32(0x2B0B515C); /* 0x2B06EFF6: mov ecx, dword ptr [0x2b0b515c] */ 8797 edx = MEM32(ecx); /* 0x2B06EFFC: mov edx, dword ptr [ecx] */ 8798 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8799 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8800 edx = edx - MEM32(esi + 0x8); /* 0x2B06EFFE: sub edx, dword ptr [esi + 8] */ 8801 _flag_k = FK_CMP; 8802 /* cmp edx, edi */ /* 0x2B06F001: cmp edx, edi */ 8803 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 8804 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8805 _flag_k = FK_CMP; 8806 MEM32(ebp + (-0x18)) = esi; /* 0x2B06F003: mov dword ptr [ebp - 0x18], esi */ 8807 if (CMP_A(_flag_a, _flag_b)) goto L_2B06F00E; /* 0x2B06F006: ja 0x2b06f00e */ 8808 L_2B06F008: 8809 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06F008: call dword ptr [0x2b0b51a8] */ 8810 RECOMP_FLAGS_IN(); 8811 L_2B06F00E: 8812 /* test edi, edi */ /* 0x2B06F00E: test edi, edi */ 8813 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 8814 _cf = 0; 8815 _flag_k = FK_TEST; 8816 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F056; /* 0x2B06F010: jbe 0x2b06f056 */ 8817 L_2B06F012: 8818 edx = MEM32(esi + 0x8); /* 0x2B06F012: mov edx, dword ptr [esi + 8] */ 8819 eax = edi; /* 0x2B06F015: mov eax, edi */ 8820 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 8821 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8822 eax = eax + edx; /* 0x2B06F017: add eax, edx */ 8823 _flag_k = FK_ADD; 8824 PUSH32(esp, 0); /* 0x2B06F019: push 0 */ 8825 PUSH32(esp, eax); /* 0x2B06F01B: push eax */ 8826 ecx = esi; /* 0x2B06F01C: mov ecx, esi */ 8827 MEM32(ebp + (-0x14)) = eax; /* 0x2B06F01E: mov dword ptr [ebp - 0x14], eax */ 8828 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06F021: call dword ptr [0x2b0b5154] */ 8829 RECOMP_FLAGS_IN(); 8830 /* test LO8(eax), LO8(eax) */ /* 0x2B06F027: test al, al */ 8831 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8832 _cf = 0; 8833 _flag_k = FK_NARROW(FK_TEST, 24); 8834 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F056; /* 0x2B06F029: je 0x2b06f056 */ 8835 L_2B06F02B: 8836 eax = MEM32(ebp + (-0x18)); /* 0x2B06F02B: mov eax, dword ptr [ebp - 0x18] */ 8837 edx = MEM32(eax + 0x4); /* 0x2B06F02E: mov edx, dword ptr [eax + 4] */ 8838 esi = MEM32(ebp + (-0xC)); /* 0x2B06F031: mov esi, dword ptr [ebp - 0xc] */ 8839 ecx = edi; /* 0x2B06F034: mov ecx, edi */ 8840 edi = MEM32(eax + 0x8); /* 0x2B06F036: mov edi, dword ptr [eax + 8] */ 8841 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 8842 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8843 edi = edi + edx; /* 0x2B06F039: add edi, edx */ 8844 _flag_k = FK_ADD; 8845 edx = ecx; /* 0x2B06F03B: mov edx, ecx */ 8846 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06F03D: shr ecx, 2 */ 8847 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8848 ecx = ecx >> 2u; /* 0x2B06F03D: shr ecx, 2 */ 8849 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06F040: 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; } 8850 ecx = edx; /* 0x2B06F042: mov ecx, edx */ 8851 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 8852 ecx = ecx & 3; /* 0x2B06F044: and ecx, 3 */ 8853 _cf = 0; 8854 _flag_k = FK_TEST; 8855 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06F047: 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; } 8856 ecx = MEM32(ebp + (-0x14)); /* 0x2B06F049: mov ecx, dword ptr [ebp - 0x14] */ 8857 MEM32(eax + 0x8) = ecx; /* 0x2B06F04C: mov dword ptr [eax + 8], ecx */ 8858 eax = MEM32(eax + 0x4); /* 0x2B06F04F: mov eax, dword ptr [eax + 4] */ 8859 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06F052: mov byte ptr [ecx + eax], 0 */ 8860 L_2B06F056: 8861 ecx = MEM32(ebx + 0x28); /* 0x2B06F056: mov ecx, dword ptr [ebx + 0x28] */ 8862 edx = MEM32(ebp + 0x8); /* 0x2B06F059: mov edx, dword ptr [ebp + 8] */ 8863 PUSH32(esp, ecx); /* 0x2B06F05C: push ecx */ 8864 PUSH32(esp, edx); /* 0x2B06F05D: push edx */ 8865 ecx = ebx; /* 0x2B06F05E: mov ecx, ebx */ 8866 RECOMP_ICALL(0x2B074010u); /* 0x2B06F060: call 0x2b074010 */ /* not lifted */ 8867 RECOMP_FLAGS_IN(); 8868 ecx = MEM32(0x2B0EF104); /* 0x2B06F065: mov ecx, dword ptr [0x2b0ef104] */ 8869 /* test ecx, ecx */ /* 0x2B06F06B: test ecx, ecx */ 8870 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8871 _cf = 0; 8872 _flag_k = FK_TEST; 8873 edi = POP32_VAL(esp); /* 0x2B06F06D: pop edi */ 8874 esi = POP32_VAL(esp); /* 0x2B06F06E: pop esi */ 8875 ebx = POP32_VAL(esp); /* 0x2B06F06F: pop ebx */ 8876 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F080; /* 0x2B06F070: je 0x2b06f080 */ 8877 L_2B06F072: 8878 eax = MEM32(ebp + (-0x10)); /* 0x2B06F072: mov eax, dword ptr [ebp - 0x10] */ 8879 PUSH32(esp, eax); /* 0x2B06F075: push eax */ 8880 PUSH32(esp, 0x2B0EB59Cu); /* 0x2B06F076: push 0x2b0eb59c */ 8881 RECOMP_ICALL(0x2B08D480u); /* 0x2B06F07B: call 0x2b08d480 */ /* not lifted */ 8882 RECOMP_FLAGS_IN(); 8883 L_2B06F080: 8884 esp = ebp; /* 0x2B06F080: mov esp, ebp */ 8885 ebp = POP32_VAL(esp); /* 0x2B06F082: pop ebp */ 8886 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06F083: ret 4 */ 8887 RECOMP_REGS_OUT(); 8888 } 8889 8890 void sub_2B06E721(void) { 8891 int _fpu_cmp = 0; 8892 uint32_t _cf = 0; 8893 int _df = 1; 8894 uint32_t _flag_k = FK_NONE; 8895 uint32_t _flag_a = 0, _flag_b = 0; 8896 uint32_t _itail_tgt = 0; 8897 RECOMP_REGS_LOCALS 8898 RECOMP_ENTER(0x2B06E721u); 8899 8900 L_2B06E721: 8901 PUSH32(esp, ecx); /* 0x2B06E721: push ecx */ 8902 ecx = eax; /* 0x2B06E722: mov ecx, eax */ 8903 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06E724: call dword ptr [0x2b0b5150] */ 8904 RECOMP_FLAGS_IN(); 8905 edx = MEM32(ebp + (-0x18)); /* 0x2B06E72A: mov edx, dword ptr [ebp - 0x18] */ 8906 PUSH32(esp, edx); /* 0x2B06E72D: push edx */ 8907 PUSH32(esp, 0x2B0EB630u); /* 0x2B06E72E: push 0x2b0eb630 */ 8908 PUSH32(esp, 0x2B0EEE84u); /* 0x2B06E733: push 0x2b0eee84 */ 8909 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B06E738: call dword ptr [0x2b0b51f0] */ 8910 RECOMP_FLAGS_IN(); 8911 esi = MEM32(ebx + 0x28); /* 0x2B06E73E: mov esi, dword ptr [ebx + 0x28] */ 8912 edx = MEM32(esi + 0x8); /* 0x2B06E741: mov edx, dword ptr [esi + 8] */ 8913 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8914 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E744: or ecx, 0xffffffff */ 8915 _cf = 0; 8916 _flag_k = FK_TEST; 8917 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8918 eax = 0; /* 0x2B06E747: xor eax, eax */ 8919 _cf = 0; 8920 _flag_k = FK_TEST; 8921 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 8922 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8923 esp = esp + 0xCu; /* 0x2B06E749: add esp, 0xc */ 8924 _flag_k = FK_ADD; 8925 edi = 0x2B0EEE84u; /* 0x2B06E74C: mov edi, 0x2b0eee84 */ 8926 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; } /* 0x2B06E751: repne scasb al, byte ptr es:[edi] */ 8927 eax = MEM32(0x2B0B515C); /* 0x2B06E753: mov eax, dword ptr [0x2b0b515c] */ 8928 ecx = ~ecx; /* 0x2B06E758: not ecx */ 8929 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 8930 ecx = ecx - 1; /* 0x2B06E75A: dec ecx */ 8931 _flag_k = FK_DEC; 8932 edi = ecx; /* 0x2B06E75B: mov edi, ecx */ 8933 ecx = MEM32(eax); /* 0x2B06E75D: mov ecx, dword ptr [eax] */ 8934 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8935 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8936 ecx = ecx - edx; /* 0x2B06E75F: sub ecx, edx */ 8937 _flag_k = FK_CMP; 8938 /* cmp ecx, edi */ /* 0x2B06E761: cmp ecx, edi */ 8939 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 8940 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8941 _flag_k = FK_CMP; 8942 MEM32(ebp + (-0x18)) = esi; /* 0x2B06E763: mov dword ptr [ebp - 0x18], esi */ 8943 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E76E; /* 0x2B06E766: ja 0x2b06e76e */ 8944 L_2B06E768: 8945 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E768: call dword ptr [0x2b0b51a8] */ 8946 RECOMP_FLAGS_IN(); 8947 L_2B06E76E: 8948 /* test edi, edi */ /* 0x2B06E76E: test edi, edi */ 8949 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 8950 _cf = 0; 8951 _flag_k = FK_TEST; 8952 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E7B7; /* 0x2B06E770: jbe 0x2b06e7b7 */ 8953 L_2B06E772: 8954 edx = MEM32(esi + 0x8); /* 0x2B06E772: mov edx, dword ptr [esi + 8] */ 8955 eax = edi; /* 0x2B06E775: mov eax, edi */ 8956 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 8957 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8958 eax = eax + edx; /* 0x2B06E777: add eax, edx */ 8959 _flag_k = FK_ADD; 8960 PUSH32(esp, 0); /* 0x2B06E779: push 0 */ 8961 PUSH32(esp, eax); /* 0x2B06E77B: push eax */ 8962 ecx = esi; /* 0x2B06E77C: mov ecx, esi */ 8963 MEM32(ebp + (-0x14)) = eax; /* 0x2B06E77E: mov dword ptr [ebp - 0x14], eax */ 8964 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E781: call dword ptr [0x2b0b5154] */ 8965 RECOMP_FLAGS_IN(); 8966 /* test LO8(eax), LO8(eax) */ /* 0x2B06E787: test al, al */ 8967 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8968 _cf = 0; 8969 _flag_k = FK_NARROW(FK_TEST, 24); 8970 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E7B7; /* 0x2B06E789: je 0x2b06e7b7 */ 8971 L_2B06E78B: 8972 eax = MEM32(ebp + (-0x18)); /* 0x2B06E78B: mov eax, dword ptr [ebp - 0x18] */ 8973 edx = MEM32(eax + 0x8); /* 0x2B06E78E: mov edx, dword ptr [eax + 8] */ 8974 ecx = edi; /* 0x2B06E791: mov ecx, edi */ 8975 edi = MEM32(eax + 0x4); /* 0x2B06E793: mov edi, dword ptr [eax + 4] */ 8976 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 8977 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8978 edi = edi + edx; /* 0x2B06E796: add edi, edx */ 8979 _flag_k = FK_ADD; 8980 edx = ecx; /* 0x2B06E798: mov edx, ecx */ 8981 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E79A: shr ecx, 2 */ 8982 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8983 ecx = ecx >> 2u; /* 0x2B06E79A: shr ecx, 2 */ 8984 esi = 0x2B0EEE84u; /* 0x2B06E79D: mov esi, 0x2b0eee84 */ 8985 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E7A2: 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; } 8986 ecx = edx; /* 0x2B06E7A4: mov ecx, edx */ 8987 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 8988 ecx = ecx & 3; /* 0x2B06E7A6: and ecx, 3 */ 8989 _cf = 0; 8990 _flag_k = FK_TEST; 8991 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E7A9: 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; } 8992 ecx = MEM32(ebp + (-0x14)); /* 0x2B06E7AB: mov ecx, dword ptr [ebp - 0x14] */ 8993 PUSH32(esp, ecx); /* 0x2B06E7AE: push ecx */ 8994 ecx = eax; /* 0x2B06E7AF: mov ecx, eax */ 8995 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06E7B1: call dword ptr [0x2b0b5150] */ 8996 RECOMP_FLAGS_IN(); 8997 L_2B06E7B7: 8998 edx = MEM32(ebp + 0x8); /* 0x2B06E7B7: mov edx, dword ptr [ebp + 8] */ 8999 PUSH32(esp, 0x86u); /* 0x2B06E7BA: push 0x86 */ 9000 PUSH32(esp, edx); /* 0x2B06E7BF: push edx */ 9001 ecx = ebx; /* 0x2B06E7C0: mov ecx, ebx */ 9002 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06E7C2: call 0x2b0735d0 */ /* not lifted */ 9003 RECOMP_FLAGS_IN(); 9004 /* cmp eax, 0x499602D2u */ /* 0x2B06E7C7: cmp eax, 0x499602d2 */ 9005 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 9006 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9007 _flag_k = FK_CMP; 9008 MEM32(ebp + (-0xC)) = eax; /* 0x2B06E7CC: mov dword ptr [ebp - 0xc], eax */ 9009 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06E9F9; /* 0x2B06E7CF: je 0x2b06e9f9 */ 9010 L_2B06E7D5: 9011 ecx = MEM32(ebx + 0x28); /* 0x2B06E7D5: mov ecx, dword ptr [ebx + 0x28] */ 9012 PUSH32(esp, 0x13u); /* 0x2B06E7D8: push 0x13 */ 9013 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06E7DA: push -1 */ 9014 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06E7DC: call dword ptr [0x2b0b5a74] */ 9015 RECOMP_FLAGS_IN(); 9016 esi = MEM32(ebx + 0x28); /* 0x2B06E7E2: mov esi, dword ptr [ebx + 0x28] */ 9017 edx = MEM32(esi + 0x8); /* 0x2B06E7E5: mov edx, dword ptr [esi + 8] */ 9018 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 9019 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E7E8: or ecx, 0xffffffff */ 9020 _cf = 0; 9021 _flag_k = FK_TEST; 9022 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9023 eax = 0; /* 0x2B06E7EB: xor eax, eax */ 9024 _cf = 0; 9025 _flag_k = FK_TEST; 9026 edi = 0x2B0EB648u; /* 0x2B06E7ED: mov edi, 0x2b0eb648 */ 9027 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; } /* 0x2B06E7F2: repne scasb al, byte ptr es:[edi] */ 9028 eax = MEM32(0x2B0B515C); /* 0x2B06E7F4: mov eax, dword ptr [0x2b0b515c] */ 9029 ecx = ~ecx; /* 0x2B06E7F9: not ecx */ 9030 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 9031 ecx = ecx - 1; /* 0x2B06E7FB: dec ecx */ 9032 _flag_k = FK_DEC; 9033 edi = ecx; /* 0x2B06E7FC: mov edi, ecx */ 9034 ecx = MEM32(eax); /* 0x2B06E7FE: mov ecx, dword ptr [eax] */ 9035 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 9036 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9037 ecx = ecx - edx; /* 0x2B06E800: sub ecx, edx */ 9038 _flag_k = FK_CMP; 9039 /* cmp ecx, edi */ /* 0x2B06E802: cmp ecx, edi */ 9040 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 9041 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9042 _flag_k = FK_CMP; 9043 MEM32(ebp + (-0x18)) = esi; /* 0x2B06E804: mov dword ptr [ebp - 0x18], esi */ 9044 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E80F; /* 0x2B06E807: ja 0x2b06e80f */ 9045 L_2B06E809: 9046 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E809: call dword ptr [0x2b0b51a8] */ 9047 RECOMP_FLAGS_IN(); 9048 L_2B06E80F: 9049 /* test edi, edi */ /* 0x2B06E80F: test edi, edi */ 9050 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 9051 _cf = 0; 9052 _flag_k = FK_TEST; 9053 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E857; /* 0x2B06E811: jbe 0x2b06e857 */ 9054 L_2B06E813: 9055 eax = MEM32(esi + 0x8); /* 0x2B06E813: mov eax, dword ptr [esi + 8] */ 9056 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 9057 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9058 eax = eax + edi; /* 0x2B06E816: add eax, edi */ 9059 _flag_k = FK_ADD; 9060 PUSH32(esp, 0); /* 0x2B06E818: push 0 */ 9061 PUSH32(esp, eax); /* 0x2B06E81A: push eax */ 9062 ecx = esi; /* 0x2B06E81B: mov ecx, esi */ 9063 MEM32(ebp + (-0x14)) = eax; /* 0x2B06E81D: mov dword ptr [ebp - 0x14], eax */ 9064 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E820: call dword ptr [0x2b0b5154] */ 9065 RECOMP_FLAGS_IN(); 9066 /* test LO8(eax), LO8(eax) */ /* 0x2B06E826: test al, al */ 9067 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9068 _cf = 0; 9069 _flag_k = FK_NARROW(FK_TEST, 24); 9070 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E857; /* 0x2B06E828: je 0x2b06e857 */ 9071 L_2B06E82A: 9072 eax = MEM32(ebp + (-0x18)); /* 0x2B06E82A: mov eax, dword ptr [ebp - 0x18] */ 9073 edx = MEM32(eax + 0x4); /* 0x2B06E82D: mov edx, dword ptr [eax + 4] */ 9074 ecx = edi; /* 0x2B06E830: mov ecx, edi */ 9075 edi = MEM32(eax + 0x8); /* 0x2B06E832: mov edi, dword ptr [eax + 8] */ 9076 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 9077 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9078 edi = edi + edx; /* 0x2B06E835: add edi, edx */ 9079 _flag_k = FK_ADD; 9080 edx = ecx; /* 0x2B06E837: mov edx, ecx */ 9081 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E839: shr ecx, 2 */ 9082 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9083 ecx = ecx >> 2u; /* 0x2B06E839: shr ecx, 2 */ 9084 esi = 0x2B0EB648u; /* 0x2B06E83C: mov esi, 0x2b0eb648 */ 9085 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E841: 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; } 9086 ecx = edx; /* 0x2B06E843: mov ecx, edx */ 9087 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 9088 ecx = ecx & 3; /* 0x2B06E845: and ecx, 3 */ 9089 _cf = 0; 9090 _flag_k = FK_TEST; 9091 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E848: 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; } 9092 ecx = MEM32(ebp + (-0x14)); /* 0x2B06E84A: mov ecx, dword ptr [ebp - 0x14] */ 9093 MEM32(eax + 0x8) = ecx; /* 0x2B06E84D: mov dword ptr [eax + 8], ecx */ 9094 eax = MEM32(eax + 0x4); /* 0x2B06E850: mov eax, dword ptr [eax + 4] */ 9095 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B06E853: mov byte ptr [eax + ecx], 0 */ 9096 L_2B06E857: 9097 ecx = MEM32(ebx + 0x28); /* 0x2B06E857: mov ecx, dword ptr [ebx + 0x28] */ 9098 PUSH32(esp, 0x14u); /* 0x2B06E85A: push 0x14 */ 9099 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06E85C: push -1 */ 9100 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06E85E: call dword ptr [0x2b0b5a74] */ 9101 RECOMP_FLAGS_IN(); 9102 PUSH32(esp, 0x86u); /* 0x2B06E864: push 0x86 */ 9103 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06E869: call dword ptr [0x2b0b5d6c] */ 9104 RECOMP_FLAGS_IN(); 9105 ecx = eax; /* 0x2B06E86F: mov ecx, eax */ 9106 RECOMP_ICALL(MEM32(0x2B0B5DB4)); /* 0x2B06E871: call dword ptr [0x2b0b5db4] */ 9107 RECOMP_FLAGS_IN(); 9108 esi = eax; /* 0x2B06E877: mov esi, eax */ 9109 /* test esi, esi */ /* 0x2B06E879: test esi, esi */ 9110 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 9111 _cf = 0; 9112 _flag_k = FK_TEST; 9113 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E8F6; /* 0x2B06E87B: je 0x2b06e8f6 */ 9114 L_2B06E87D: 9115 edx = MEM32(ebx + 0x28); /* 0x2B06E87D: mov edx, dword ptr [ebx + 0x28] */ 9116 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 9117 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E880: or ecx, 0xffffffff */ 9118 _cf = 0; 9119 _flag_k = FK_TEST; 9120 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9121 eax = 0; /* 0x2B06E883: xor eax, eax */ 9122 _cf = 0; 9123 _flag_k = FK_TEST; 9124 edi = esi; /* 0x2B06E885: mov edi, esi */ 9125 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; } /* 0x2B06E887: repne scasb al, byte ptr es:[edi] */ 9126 ecx = ~ecx; /* 0x2B06E889: not ecx */ 9127 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 9128 ecx = ecx - 1; /* 0x2B06E88B: dec ecx */ 9129 _flag_k = FK_DEC; 9130 edi = ecx; /* 0x2B06E88C: mov edi, ecx */ 9131 ecx = MEM32(0x2B0B515C); /* 0x2B06E88E: mov ecx, dword ptr [0x2b0b515c] */ 9132 eax = MEM32(ecx); /* 0x2B06E894: mov eax, dword ptr [ecx] */ 9133 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 9134 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9135 eax = eax - MEM32(edx + 0x8); /* 0x2B06E896: sub eax, dword ptr [edx + 8] */ 9136 _flag_k = FK_CMP; 9137 /* cmp eax, edi */ /* 0x2B06E899: cmp eax, edi */ 9138 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 9139 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9140 _flag_k = FK_CMP; 9141 MEM32(ebp + (-0x8)) = edx; /* 0x2B06E89B: mov dword ptr [ebp - 8], edx */ 9142 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E8A6; /* 0x2B06E89E: ja 0x2b06e8a6 */ 9143 L_2B06E8A0: 9144 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E8A0: call dword ptr [0x2b0b51a8] */ 9145 RECOMP_FLAGS_IN(); 9146 L_2B06E8A6: 9147 /* test edi, edi */ /* 0x2B06E8A6: test edi, edi */ 9148 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 9149 _cf = 0; 9150 _flag_k = FK_TEST; 9151 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E96A; /* 0x2B06E8A8: jbe 0x2b06e96a */ 9152 L_2B06E8AE: 9153 ecx = MEM32(ebp + (-0x8)); /* 0x2B06E8AE: mov ecx, dword ptr [ebp - 8] */ 9154 edx = MEM32(ecx + 0x8); /* 0x2B06E8B1: mov edx, dword ptr [ecx + 8] */ 9155 eax = edi; /* 0x2B06E8B4: mov eax, edi */ 9156 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 9157 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9158 eax = eax + edx; /* 0x2B06E8B6: add eax, edx */ 9159 _flag_k = FK_ADD; 9160 PUSH32(esp, 0); /* 0x2B06E8B8: push 0 */ 9161 PUSH32(esp, eax); /* 0x2B06E8BA: push eax */ 9162 MEM32(ebp + (-0x18)) = eax; /* 0x2B06E8BB: mov dword ptr [ebp - 0x18], eax */ 9163 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E8BE: call dword ptr [0x2b0b5154] */ 9164 RECOMP_FLAGS_IN(); 9165 /* test LO8(eax), LO8(eax) */ /* 0x2B06E8C4: test al, al */ 9166 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9167 _cf = 0; 9168 _flag_k = FK_NARROW(FK_TEST, 24); 9169 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E96A; /* 0x2B06E8C6: je 0x2b06e96a */ 9170 L_2B06E8CC: 9171 eax = MEM32(ebp + (-0x8)); /* 0x2B06E8CC: mov eax, dword ptr [ebp - 8] */ 9172 edx = MEM32(eax + 0x4); /* 0x2B06E8CF: mov edx, dword ptr [eax + 4] */ 9173 ecx = edi; /* 0x2B06E8D2: mov ecx, edi */ 9174 edi = MEM32(eax + 0x8); /* 0x2B06E8D4: mov edi, dword ptr [eax + 8] */ 9175 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 9176 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9177 edi = edi + edx; /* 0x2B06E8D7: add edi, edx */ 9178 _flag_k = FK_ADD; 9179 edx = ecx; /* 0x2B06E8D9: mov edx, ecx */ 9180 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E8DB: shr ecx, 2 */ 9181 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9182 ecx = ecx >> 2u; /* 0x2B06E8DB: shr ecx, 2 */ 9183 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E8DE: 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; } 9184 ecx = edx; /* 0x2B06E8E0: mov ecx, edx */ 9185 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 9186 ecx = ecx & 3; /* 0x2B06E8E2: and ecx, 3 */ 9187 _cf = 0; 9188 _flag_k = FK_TEST; 9189 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E8E5: 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; } 9190 ecx = MEM32(ebp + (-0x18)); /* 0x2B06E8E7: mov ecx, dword ptr [ebp - 0x18] */ 9191 MEM32(eax + 0x8) = ecx; /* 0x2B06E8EA: mov dword ptr [eax + 8], ecx */ 9192 eax = MEM32(eax + 0x4); /* 0x2B06E8ED: mov eax, dword ptr [eax + 4] */ 9193 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06E8F0: mov byte ptr [ecx + eax], 0 */ 9194 goto L_2B06E96A; /* 0x2B06E8F4: jmp 0x2b06e96a */ 9195 L_2B06E8F6: 9196 esi = MEM32(ebx + 0x28); /* 0x2B06E8F6: mov esi, dword ptr [ebx + 0x28] */ 9197 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 9198 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E8F9: or ecx, 0xffffffff */ 9199 _cf = 0; 9200 _flag_k = FK_TEST; 9201 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9202 eax = 0; /* 0x2B06E8FC: xor eax, eax */ 9203 _cf = 0; 9204 _flag_k = FK_TEST; 9205 edi = 0x2B0EB634u; /* 0x2B06E8FE: mov edi, 0x2b0eb634 */ 9206 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; } /* 0x2B06E903: repne scasb al, byte ptr es:[edi] */ 9207 ecx = ~ecx; /* 0x2B06E905: not ecx */ 9208 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 9209 ecx = ecx - 1; /* 0x2B06E907: dec ecx */ 9210 _flag_k = FK_DEC; 9211 edi = ecx; /* 0x2B06E908: mov edi, ecx */ 9212 ecx = MEM32(0x2B0B515C); /* 0x2B06E90A: mov ecx, dword ptr [0x2b0b515c] */ 9213 edx = MEM32(ecx); /* 0x2B06E910: mov edx, dword ptr [ecx] */ 9214 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9215 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9216 edx = edx - MEM32(esi + 0x8); /* 0x2B06E912: sub edx, dword ptr [esi + 8] */ 9217 _flag_k = FK_CMP; 9218 /* cmp edx, edi */ /* 0x2B06E915: cmp edx, edi */ 9219 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 9220 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9221 _flag_k = FK_CMP; 9222 MEM32(ebp + (-0x18)) = esi; /* 0x2B06E917: mov dword ptr [ebp - 0x18], esi */ 9223 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E922; /* 0x2B06E91A: ja 0x2b06e922 */ 9224 L_2B06E91C: 9225 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E91C: call dword ptr [0x2b0b51a8] */ 9226 RECOMP_FLAGS_IN(); 9227 L_2B06E922: 9228 /* test edi, edi */ /* 0x2B06E922: test edi, edi */ 9229 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 9230 _cf = 0; 9231 _flag_k = FK_TEST; 9232 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E96A; /* 0x2B06E924: jbe 0x2b06e96a */ 9233 L_2B06E926: 9234 eax = MEM32(esi + 0x8); /* 0x2B06E926: mov eax, dword ptr [esi + 8] */ 9235 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 9236 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9237 eax = eax + edi; /* 0x2B06E929: add eax, edi */ 9238 _flag_k = FK_ADD; 9239 PUSH32(esp, 0); /* 0x2B06E92B: push 0 */ 9240 PUSH32(esp, eax); /* 0x2B06E92D: push eax */ 9241 ecx = esi; /* 0x2B06E92E: mov ecx, esi */ 9242 MEM32(ebp + (-0x14)) = eax; /* 0x2B06E930: mov dword ptr [ebp - 0x14], eax */ 9243 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E933: call dword ptr [0x2b0b5154] */ 9244 RECOMP_FLAGS_IN(); 9245 /* test LO8(eax), LO8(eax) */ /* 0x2B06E939: test al, al */ 9246 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9247 _cf = 0; 9248 _flag_k = FK_NARROW(FK_TEST, 24); 9249 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E96A; /* 0x2B06E93B: je 0x2b06e96a */ 9250 L_2B06E93D: 9251 eax = MEM32(ebp + (-0x18)); /* 0x2B06E93D: mov eax, dword ptr [ebp - 0x18] */ 9252 edx = MEM32(eax + 0x4); /* 0x2B06E940: mov edx, dword ptr [eax + 4] */ 9253 ecx = edi; /* 0x2B06E943: mov ecx, edi */ 9254 edi = MEM32(eax + 0x8); /* 0x2B06E945: mov edi, dword ptr [eax + 8] */ 9255 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 9256 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9257 edi = edi + edx; /* 0x2B06E948: add edi, edx */ 9258 _flag_k = FK_ADD; 9259 edx = ecx; /* 0x2B06E94A: mov edx, ecx */ 9260 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E94C: shr ecx, 2 */ 9261 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9262 ecx = ecx >> 2u; /* 0x2B06E94C: shr ecx, 2 */ 9263 esi = 0x2B0EB634u; /* 0x2B06E94F: mov esi, 0x2b0eb634 */ 9264 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E954: 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; } 9265 ecx = edx; /* 0x2B06E956: mov ecx, edx */ 9266 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 9267 ecx = ecx & 3; /* 0x2B06E958: and ecx, 3 */ 9268 _cf = 0; 9269 _flag_k = FK_TEST; 9270 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E95B: 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; } 9271 ecx = MEM32(ebp + (-0x14)); /* 0x2B06E95D: mov ecx, dword ptr [ebp - 0x14] */ 9272 MEM32(eax + 0x8) = ecx; /* 0x2B06E960: mov dword ptr [eax + 8], ecx */ 9273 eax = MEM32(eax + 0x4); /* 0x2B06E963: mov eax, dword ptr [eax + 4] */ 9274 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B06E966: mov byte ptr [eax + ecx], 0 */ 9275 L_2B06E96A: 9276 ecx = MEM32(ebp + (-0xC)); /* 0x2B06E96A: mov ecx, dword ptr [ebp - 0xc] */ 9277 PUSH32(esp, ecx); /* 0x2B06E96D: push ecx */ 9278 PUSH32(esp, 0x2B0EB630u); /* 0x2B06E96E: push 0x2b0eb630 */ 9279 PUSH32(esp, 0x2B0EEE84u); /* 0x2B06E973: push 0x2b0eee84 */ 9280 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B06E978: call dword ptr [0x2b0b51f0] */ 9281 RECOMP_FLAGS_IN(); 9282 edx = MEM32(0x2B0B515C); /* 0x2B06E97E: mov edx, dword ptr [0x2b0b515c] */ 9283 esi = MEM32(ebx + 0x28); /* 0x2B06E984: mov esi, dword ptr [ebx + 0x28] */ 9284 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9285 eax = 0; /* 0x2B06E987: xor eax, eax */ 9286 _cf = 0; 9287 _flag_k = FK_TEST; 9288 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 9289 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E989: or ecx, 0xffffffff */ 9290 _cf = 0; 9291 _flag_k = FK_TEST; 9292 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 9293 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9294 esp = esp + 0xCu; /* 0x2B06E98C: add esp, 0xc */ 9295 _flag_k = FK_ADD; 9296 edi = 0x2B0EEE84u; /* 0x2B06E98F: mov edi, 0x2b0eee84 */ 9297 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; } /* 0x2B06E994: repne scasb al, byte ptr es:[edi] */ 9298 eax = MEM32(edx); /* 0x2B06E996: mov eax, dword ptr [edx] */ 9299 edx = MEM32(esi + 0x8); /* 0x2B06E998: mov edx, dword ptr [esi + 8] */ 9300 ecx = ~ecx; /* 0x2B06E99B: not ecx */ 9301 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 9302 ecx = ecx - 1; /* 0x2B06E99D: dec ecx */ 9303 _flag_k = FK_DEC; 9304 edi = ecx; /* 0x2B06E99E: mov edi, ecx */ 9305 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 9306 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9307 eax = eax - edx; /* 0x2B06E9A0: sub eax, edx */ 9308 _flag_k = FK_CMP; 9309 /* cmp eax, edi */ /* 0x2B06E9A2: cmp eax, edi */ 9310 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 9311 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9312 _flag_k = FK_CMP; 9313 MEM32(ebp + (-0x18)) = esi; /* 0x2B06E9A4: mov dword ptr [ebp - 0x18], esi */ 9314 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E9AF; /* 0x2B06E9A7: ja 0x2b06e9af */ 9315 L_2B06E9A9: 9316 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E9A9: call dword ptr [0x2b0b51a8] */ 9317 RECOMP_FLAGS_IN(); 9318 L_2B06E9AF: 9319 /* test edi, edi */ /* 0x2B06E9AF: test edi, edi */ 9320 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 9321 _cf = 0; 9322 _flag_k = FK_TEST; 9323 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E9F9; /* 0x2B06E9B1: jbe 0x2b06e9f9 */ 9324 L_2B06E9B3: 9325 edx = MEM32(esi + 0x8); /* 0x2B06E9B3: mov edx, dword ptr [esi + 8] */ 9326 eax = edi; /* 0x2B06E9B6: mov eax, edi */ 9327 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 9328 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9329 eax = eax + edx; /* 0x2B06E9B8: add eax, edx */ 9330 _flag_k = FK_ADD; 9331 PUSH32(esp, 0); /* 0x2B06E9BA: push 0 */ 9332 PUSH32(esp, eax); /* 0x2B06E9BC: push eax */ 9333 ecx = esi; /* 0x2B06E9BD: mov ecx, esi */ 9334 MEM32(ebp + (-0x14)) = eax; /* 0x2B06E9BF: mov dword ptr [ebp - 0x14], eax */ 9335 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E9C2: call dword ptr [0x2b0b5154] */ 9336 RECOMP_FLAGS_IN(); 9337 /* test LO8(eax), LO8(eax) */ /* 0x2B06E9C8: test al, al */ 9338 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9339 _cf = 0; 9340 _flag_k = FK_NARROW(FK_TEST, 24); 9341 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E9F9; /* 0x2B06E9CA: je 0x2b06e9f9 */ 9342 L_2B06E9CC: 9343 eax = MEM32(ebp + (-0x18)); /* 0x2B06E9CC: mov eax, dword ptr [ebp - 0x18] */ 9344 edx = MEM32(eax + 0x4); /* 0x2B06E9CF: mov edx, dword ptr [eax + 4] */ 9345 ecx = edi; /* 0x2B06E9D2: mov ecx, edi */ 9346 edi = MEM32(eax + 0x8); /* 0x2B06E9D4: mov edi, dword ptr [eax + 8] */ 9347 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 9348 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9349 edi = edi + edx; /* 0x2B06E9D7: add edi, edx */ 9350 _flag_k = FK_ADD; 9351 edx = ecx; /* 0x2B06E9D9: mov edx, ecx */ 9352 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E9DB: shr ecx, 2 */ 9353 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9354 ecx = ecx >> 2u; /* 0x2B06E9DB: shr ecx, 2 */ 9355 esi = 0x2B0EEE84u; /* 0x2B06E9DE: mov esi, 0x2b0eee84 */ 9356 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E9E3: 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; } 9357 ecx = edx; /* 0x2B06E9E5: mov ecx, edx */ 9358 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 9359 ecx = ecx & 3; /* 0x2B06E9E7: and ecx, 3 */ 9360 _cf = 0; 9361 _flag_k = FK_TEST; 9362 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E9EA: 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; } 9363 ecx = MEM32(ebp + (-0x14)); /* 0x2B06E9EC: mov ecx, dword ptr [ebp - 0x14] */ 9364 MEM32(eax + 0x8) = ecx; /* 0x2B06E9EF: mov dword ptr [eax + 8], ecx */ 9365 eax = MEM32(eax + 0x4); /* 0x2B06E9F2: mov eax, dword ptr [eax + 4] */ 9366 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06E9F5: mov byte ptr [ecx + eax], 0 */ 9367 L_2B06E9F9: 9368 ecx = MEM32(ebp + 0x8); /* 0x2B06E9F9: mov ecx, dword ptr [ebp + 8] */ 9369 PUSH32(esp, 0x64u); /* 0x2B06E9FC: push 0x64 */ 9370 PUSH32(esp, ecx); /* 0x2B06E9FE: push ecx */ 9371 ecx = ebx; /* 0x2B06E9FF: mov ecx, ebx */ 9372 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06EA01: call 0x2b0735d0 */ /* not lifted */ 9373 RECOMP_FLAGS_IN(); 9374 /* cmp eax, 0x499602D2u */ /* 0x2B06EA06: cmp eax, 0x499602d2 */ 9375 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 9376 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9377 _flag_k = FK_CMP; 9378 MEM32(ebp + (-0x8)) = eax; /* 0x2B06EA0B: mov dword ptr [ebp - 8], eax */ 9379 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06EC43; /* 0x2B06EA0E: je 0x2b06ec43 */ 9380 L_2B06EA14: 9381 eax = MEM32(ebp + (-0xC)); /* 0x2B06EA14: mov eax, dword ptr [ebp - 0xc] */ 9382 /* test eax, eax */ /* 0x2B06EA17: test eax, eax */ 9383 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9384 _cf = 0; 9385 _flag_k = FK_TEST; 9386 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EC43; /* 0x2B06EA19: je 0x2b06ec43 */ 9387 L_2B06EA1F: 9388 ecx = MEM32(ebx + 0x28); /* 0x2B06EA1F: mov ecx, dword ptr [ebx + 0x28] */ 9389 PUSH32(esp, 0x13u); /* 0x2B06EA22: push 0x13 */ 9390 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EA24: push -1 */ 9391 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EA26: call dword ptr [0x2b0b5a74] */ 9392 RECOMP_FLAGS_IN(); 9393 edx = MEM32(0x2B0B515C); /* 0x2B06EA2C: mov edx, dword ptr [0x2b0b515c] */ 9394 esi = MEM32(ebx + 0x28); /* 0x2B06EA32: mov esi, dword ptr [ebx + 0x28] */ 9395 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9396 eax = 0; /* 0x2B06EA35: xor eax, eax */ 9397 _cf = 0; 9398 _flag_k = FK_TEST; 9399 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 9400 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EA37: or ecx, 0xffffffff */ 9401 _cf = 0; 9402 _flag_k = FK_TEST; 9403 edi = 0x2B0EB614u; /* 0x2B06EA3A: mov edi, 0x2b0eb614 */ 9404 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; } /* 0x2B06EA3F: repne scasb al, byte ptr es:[edi] */ 9405 eax = MEM32(edx); /* 0x2B06EA41: mov eax, dword ptr [edx] */ 9406 edx = MEM32(esi + 0x8); /* 0x2B06EA43: mov edx, dword ptr [esi + 8] */ 9407 ecx = ~ecx; /* 0x2B06EA46: not ecx */ 9408 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 9409 ecx = ecx - 1; /* 0x2B06EA48: dec ecx */ 9410 _flag_k = FK_DEC; 9411 edi = ecx; /* 0x2B06EA49: mov edi, ecx */ 9412 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 9413 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9414 eax = eax - edx; /* 0x2B06EA4B: sub eax, edx */ 9415 _flag_k = FK_CMP; 9416 /* cmp eax, edi */ /* 0x2B06EA4D: cmp eax, edi */ 9417 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 9418 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9419 _flag_k = FK_CMP; 9420 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EA4F: mov dword ptr [ebp - 0x18], esi */ 9421 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EA5A; /* 0x2B06EA52: ja 0x2b06ea5a */ 9422 L_2B06EA54: 9423 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EA54: call dword ptr [0x2b0b51a8] */ 9424 RECOMP_FLAGS_IN(); 9425 L_2B06EA5A: 9426 /* test edi, edi */ /* 0x2B06EA5A: test edi, edi */ 9427 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 9428 _cf = 0; 9429 _flag_k = FK_TEST; 9430 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EAA4; /* 0x2B06EA5C: jbe 0x2b06eaa4 */ 9431 L_2B06EA5E: 9432 edx = MEM32(esi + 0x8); /* 0x2B06EA5E: mov edx, dword ptr [esi + 8] */ 9433 eax = edi; /* 0x2B06EA61: mov eax, edi */ 9434 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 9435 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9436 eax = eax + edx; /* 0x2B06EA63: add eax, edx */ 9437 _flag_k = FK_ADD; 9438 PUSH32(esp, 0); /* 0x2B06EA65: push 0 */ 9439 PUSH32(esp, eax); /* 0x2B06EA67: push eax */ 9440 ecx = esi; /* 0x2B06EA68: mov ecx, esi */ 9441 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EA6A: mov dword ptr [ebp - 0x14], eax */ 9442 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EA6D: call dword ptr [0x2b0b5154] */ 9443 RECOMP_FLAGS_IN(); 9444 /* test LO8(eax), LO8(eax) */ /* 0x2B06EA73: test al, al */ 9445 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9446 _cf = 0; 9447 _flag_k = FK_NARROW(FK_TEST, 24); 9448 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EAA4; /* 0x2B06EA75: je 0x2b06eaa4 */ 9449 L_2B06EA77: 9450 eax = MEM32(ebp + (-0x18)); /* 0x2B06EA77: mov eax, dword ptr [ebp - 0x18] */ 9451 edx = MEM32(eax + 0x4); /* 0x2B06EA7A: mov edx, dword ptr [eax + 4] */ 9452 ecx = edi; /* 0x2B06EA7D: mov ecx, edi */ 9453 edi = MEM32(eax + 0x8); /* 0x2B06EA7F: mov edi, dword ptr [eax + 8] */ 9454 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 9455 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9456 edi = edi + edx; /* 0x2B06EA82: add edi, edx */ 9457 _flag_k = FK_ADD; 9458 edx = ecx; /* 0x2B06EA84: mov edx, ecx */ 9459 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EA86: shr ecx, 2 */ 9460 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9461 ecx = ecx >> 2u; /* 0x2B06EA86: shr ecx, 2 */ 9462 esi = 0x2B0EB614u; /* 0x2B06EA89: mov esi, 0x2b0eb614 */ 9463 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EA8E: 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; } 9464 ecx = edx; /* 0x2B06EA90: mov ecx, edx */ 9465 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 9466 ecx = ecx & 3; /* 0x2B06EA92: and ecx, 3 */ 9467 _cf = 0; 9468 _flag_k = FK_TEST; 9469 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EA95: 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; } 9470 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EA97: mov ecx, dword ptr [ebp - 0x14] */ 9471 MEM32(eax + 0x8) = ecx; /* 0x2B06EA9A: mov dword ptr [eax + 8], ecx */ 9472 eax = MEM32(eax + 0x4); /* 0x2B06EA9D: mov eax, dword ptr [eax + 4] */ 9473 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EAA0: mov byte ptr [ecx + eax], 0 */ 9474 L_2B06EAA4: 9475 ecx = MEM32(ebx + 0x28); /* 0x2B06EAA4: mov ecx, dword ptr [ebx + 0x28] */ 9476 PUSH32(esp, 0x14u); /* 0x2B06EAA7: push 0x14 */ 9477 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EAA9: push -1 */ 9478 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EAAB: call dword ptr [0x2b0b5a74] */ 9479 RECOMP_FLAGS_IN(); 9480 PUSH32(esp, 0x64u); /* 0x2B06EAB1: push 0x64 */ 9481 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06EAB3: call dword ptr [0x2b0b5d6c] */ 9482 RECOMP_FLAGS_IN(); 9483 ecx = eax; /* 0x2B06EAB9: mov ecx, eax */ 9484 RECOMP_ICALL(MEM32(0x2B0B5DB4)); /* 0x2B06EABB: call dword ptr [0x2b0b5db4] */ 9485 RECOMP_FLAGS_IN(); 9486 esi = eax; /* 0x2B06EAC1: mov esi, eax */ 9487 /* test esi, esi */ /* 0x2B06EAC3: test esi, esi */ 9488 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 9489 _cf = 0; 9490 _flag_k = FK_TEST; 9491 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EB40; /* 0x2B06EAC5: je 0x2b06eb40 */ 9492 L_2B06EAC7: 9493 edx = MEM32(ebx + 0x28); /* 0x2B06EAC7: mov edx, dword ptr [ebx + 0x28] */ 9494 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 9495 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EACA: or ecx, 0xffffffff */ 9496 _cf = 0; 9497 _flag_k = FK_TEST; 9498 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9499 eax = 0; /* 0x2B06EACD: xor eax, eax */ 9500 _cf = 0; 9501 _flag_k = FK_TEST; 9502 edi = esi; /* 0x2B06EACF: mov edi, esi */ 9503 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; } /* 0x2B06EAD1: repne scasb al, byte ptr es:[edi] */ 9504 ecx = ~ecx; /* 0x2B06EAD3: not ecx */ 9505 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 9506 ecx = ecx - 1; /* 0x2B06EAD5: dec ecx */ 9507 _flag_k = FK_DEC; 9508 edi = ecx; /* 0x2B06EAD6: mov edi, ecx */ 9509 ecx = MEM32(0x2B0B515C); /* 0x2B06EAD8: mov ecx, dword ptr [0x2b0b515c] */ 9510 eax = MEM32(ecx); /* 0x2B06EADE: mov eax, dword ptr [ecx] */ 9511 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 9512 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9513 eax = eax - MEM32(edx + 0x8); /* 0x2B06EAE0: sub eax, dword ptr [edx + 8] */ 9514 _flag_k = FK_CMP; 9515 /* cmp eax, edi */ /* 0x2B06EAE3: cmp eax, edi */ 9516 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 9517 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9518 _flag_k = FK_CMP; 9519 MEM32(ebp + (-0xC)) = edx; /* 0x2B06EAE5: mov dword ptr [ebp - 0xc], edx */ 9520 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EAF0; /* 0x2B06EAE8: ja 0x2b06eaf0 */ 9521 L_2B06EAEA: 9522 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EAEA: call dword ptr [0x2b0b51a8] */ 9523 RECOMP_FLAGS_IN(); 9524 L_2B06EAF0: 9525 /* test edi, edi */ /* 0x2B06EAF0: test edi, edi */ 9526 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 9527 _cf = 0; 9528 _flag_k = FK_TEST; 9529 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EBB4; /* 0x2B06EAF2: jbe 0x2b06ebb4 */ 9530 L_2B06EAF8: 9531 ecx = MEM32(ebp + (-0xC)); /* 0x2B06EAF8: mov ecx, dword ptr [ebp - 0xc] */ 9532 edx = MEM32(ecx + 0x8); /* 0x2B06EAFB: mov edx, dword ptr [ecx + 8] */ 9533 eax = edi; /* 0x2B06EAFE: mov eax, edi */ 9534 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 9535 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9536 eax = eax + edx; /* 0x2B06EB00: add eax, edx */ 9537 _flag_k = FK_ADD; 9538 PUSH32(esp, 0); /* 0x2B06EB02: push 0 */ 9539 PUSH32(esp, eax); /* 0x2B06EB04: push eax */ 9540 MEM32(ebp + (-0x18)) = eax; /* 0x2B06EB05: mov dword ptr [ebp - 0x18], eax */ 9541 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EB08: call dword ptr [0x2b0b5154] */ 9542 RECOMP_FLAGS_IN(); 9543 /* test LO8(eax), LO8(eax) */ /* 0x2B06EB0E: test al, al */ 9544 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9545 _cf = 0; 9546 _flag_k = FK_NARROW(FK_TEST, 24); 9547 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EBB4; /* 0x2B06EB10: je 0x2b06ebb4 */ 9548 L_2B06EB16: 9549 eax = MEM32(ebp + (-0xC)); /* 0x2B06EB16: mov eax, dword ptr [ebp - 0xc] */ 9550 edx = MEM32(eax + 0x4); /* 0x2B06EB19: mov edx, dword ptr [eax + 4] */ 9551 ecx = edi; /* 0x2B06EB1C: mov ecx, edi */ 9552 edi = MEM32(eax + 0x8); /* 0x2B06EB1E: mov edi, dword ptr [eax + 8] */ 9553 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 9554 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9555 edi = edi + edx; /* 0x2B06EB21: add edi, edx */ 9556 _flag_k = FK_ADD; 9557 edx = ecx; /* 0x2B06EB23: mov edx, ecx */ 9558 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EB25: shr ecx, 2 */ 9559 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9560 ecx = ecx >> 2u; /* 0x2B06EB25: shr ecx, 2 */ 9561 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EB28: 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; } 9562 ecx = edx; /* 0x2B06EB2A: mov ecx, edx */ 9563 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 9564 ecx = ecx & 3; /* 0x2B06EB2C: and ecx, 3 */ 9565 _cf = 0; 9566 _flag_k = FK_TEST; 9567 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EB2F: 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; } 9568 ecx = MEM32(ebp + (-0x18)); /* 0x2B06EB31: mov ecx, dword ptr [ebp - 0x18] */ 9569 MEM32(eax + 0x8) = ecx; /* 0x2B06EB34: mov dword ptr [eax + 8], ecx */ 9570 eax = MEM32(eax + 0x4); /* 0x2B06EB37: mov eax, dword ptr [eax + 4] */ 9571 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EB3A: mov byte ptr [ecx + eax], 0 */ 9572 goto L_2B06EBB4; /* 0x2B06EB3E: jmp 0x2b06ebb4 */ 9573 L_2B06EB40: 9574 esi = MEM32(ebx + 0x28); /* 0x2B06EB40: mov esi, dword ptr [ebx + 0x28] */ 9575 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 9576 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EB43: or ecx, 0xffffffff */ 9577 _cf = 0; 9578 _flag_k = FK_TEST; 9579 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9580 eax = 0; /* 0x2B06EB46: xor eax, eax */ 9581 _cf = 0; 9582 _flag_k = FK_TEST; 9583 edi = 0x2B0EB634u; /* 0x2B06EB48: mov edi, 0x2b0eb634 */ 9584 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; } /* 0x2B06EB4D: repne scasb al, byte ptr es:[edi] */ 9585 ecx = ~ecx; /* 0x2B06EB4F: not ecx */ 9586 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 9587 ecx = ecx - 1; /* 0x2B06EB51: dec ecx */ 9588 _flag_k = FK_DEC; 9589 edi = ecx; /* 0x2B06EB52: mov edi, ecx */ 9590 ecx = MEM32(0x2B0B515C); /* 0x2B06EB54: mov ecx, dword ptr [0x2b0b515c] */ 9591 edx = MEM32(ecx); /* 0x2B06EB5A: mov edx, dword ptr [ecx] */ 9592 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9593 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9594 edx = edx - MEM32(esi + 0x8); /* 0x2B06EB5C: sub edx, dword ptr [esi + 8] */ 9595 _flag_k = FK_CMP; 9596 /* cmp edx, edi */ /* 0x2B06EB5F: cmp edx, edi */ 9597 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 9598 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9599 _flag_k = FK_CMP; 9600 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EB61: mov dword ptr [ebp - 0x18], esi */ 9601 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EB6C; /* 0x2B06EB64: ja 0x2b06eb6c */ 9602 L_2B06EB66: 9603 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EB66: call dword ptr [0x2b0b51a8] */ 9604 RECOMP_FLAGS_IN(); 9605 L_2B06EB6C: 9606 /* test edi, edi */ /* 0x2B06EB6C: test edi, edi */ 9607 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 9608 _cf = 0; 9609 _flag_k = FK_TEST; 9610 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EBB4; /* 0x2B06EB6E: jbe 0x2b06ebb4 */ 9611 L_2B06EB70: 9612 eax = MEM32(esi + 0x8); /* 0x2B06EB70: mov eax, dword ptr [esi + 8] */ 9613 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 9614 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9615 eax = eax + edi; /* 0x2B06EB73: add eax, edi */ 9616 _flag_k = FK_ADD; 9617 PUSH32(esp, 0); /* 0x2B06EB75: push 0 */ 9618 PUSH32(esp, eax); /* 0x2B06EB77: push eax */ 9619 ecx = esi; /* 0x2B06EB78: mov ecx, esi */ 9620 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EB7A: mov dword ptr [ebp - 0x14], eax */ 9621 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EB7D: call dword ptr [0x2b0b5154] */ 9622 RECOMP_FLAGS_IN(); 9623 /* test LO8(eax), LO8(eax) */ /* 0x2B06EB83: test al, al */ 9624 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9625 _cf = 0; 9626 _flag_k = FK_NARROW(FK_TEST, 24); 9627 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EBB4; /* 0x2B06EB85: je 0x2b06ebb4 */ 9628 L_2B06EB87: 9629 eax = MEM32(ebp + (-0x18)); /* 0x2B06EB87: mov eax, dword ptr [ebp - 0x18] */ 9630 edx = MEM32(eax + 0x4); /* 0x2B06EB8A: mov edx, dword ptr [eax + 4] */ 9631 ecx = edi; /* 0x2B06EB8D: mov ecx, edi */ 9632 edi = MEM32(eax + 0x8); /* 0x2B06EB8F: mov edi, dword ptr [eax + 8] */ 9633 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 9634 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9635 edi = edi + edx; /* 0x2B06EB92: add edi, edx */ 9636 _flag_k = FK_ADD; 9637 edx = ecx; /* 0x2B06EB94: mov edx, ecx */ 9638 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EB96: shr ecx, 2 */ 9639 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9640 ecx = ecx >> 2u; /* 0x2B06EB96: shr ecx, 2 */ 9641 esi = 0x2B0EB634u; /* 0x2B06EB99: mov esi, 0x2b0eb634 */ 9642 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EB9E: 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; } 9643 ecx = edx; /* 0x2B06EBA0: mov ecx, edx */ 9644 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 9645 ecx = ecx & 3; /* 0x2B06EBA2: and ecx, 3 */ 9646 _cf = 0; 9647 _flag_k = FK_TEST; 9648 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EBA5: 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; } 9649 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EBA7: mov ecx, dword ptr [ebp - 0x14] */ 9650 MEM32(eax + 0x8) = ecx; /* 0x2B06EBAA: mov dword ptr [eax + 8], ecx */ 9651 eax = MEM32(eax + 0x4); /* 0x2B06EBAD: mov eax, dword ptr [eax + 4] */ 9652 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B06EBB0: mov byte ptr [eax + ecx], 0 */ 9653 L_2B06EBB4: 9654 ecx = MEM32(ebp + (-0x8)); /* 0x2B06EBB4: mov ecx, dword ptr [ebp - 8] */ 9655 PUSH32(esp, ecx); /* 0x2B06EBB7: push ecx */ 9656 PUSH32(esp, 0x2B0EB630u); /* 0x2B06EBB8: push 0x2b0eb630 */ 9657 PUSH32(esp, 0x2B0EEE84u); /* 0x2B06EBBD: push 0x2b0eee84 */ 9658 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B06EBC2: call dword ptr [0x2b0b51f0] */ 9659 RECOMP_FLAGS_IN(); 9660 edx = MEM32(0x2B0B515C); /* 0x2B06EBC8: mov edx, dword ptr [0x2b0b515c] */ 9661 esi = MEM32(ebx + 0x28); /* 0x2B06EBCE: mov esi, dword ptr [ebx + 0x28] */ 9662 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9663 eax = 0; /* 0x2B06EBD1: xor eax, eax */ 9664 _cf = 0; 9665 _flag_k = FK_TEST; 9666 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 9667 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EBD3: or ecx, 0xffffffff */ 9668 _cf = 0; 9669 _flag_k = FK_TEST; 9670 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 9671 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9672 esp = esp + 0xCu; /* 0x2B06EBD6: add esp, 0xc */ 9673 _flag_k = FK_ADD; 9674 edi = 0x2B0EEE84u; /* 0x2B06EBD9: mov edi, 0x2b0eee84 */ 9675 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; } /* 0x2B06EBDE: repne scasb al, byte ptr es:[edi] */ 9676 eax = MEM32(edx); /* 0x2B06EBE0: mov eax, dword ptr [edx] */ 9677 edx = MEM32(esi + 0x8); /* 0x2B06EBE2: mov edx, dword ptr [esi + 8] */ 9678 ecx = ~ecx; /* 0x2B06EBE5: not ecx */ 9679 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 9680 ecx = ecx - 1; /* 0x2B06EBE7: dec ecx */ 9681 _flag_k = FK_DEC; 9682 edi = ecx; /* 0x2B06EBE8: mov edi, ecx */ 9683 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 9684 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9685 eax = eax - edx; /* 0x2B06EBEA: sub eax, edx */ 9686 _flag_k = FK_CMP; 9687 /* cmp eax, edi */ /* 0x2B06EBEC: cmp eax, edi */ 9688 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 9689 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9690 _flag_k = FK_CMP; 9691 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EBEE: mov dword ptr [ebp - 0x18], esi */ 9692 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EBF9; /* 0x2B06EBF1: ja 0x2b06ebf9 */ 9693 L_2B06EBF3: 9694 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EBF3: call dword ptr [0x2b0b51a8] */ 9695 RECOMP_FLAGS_IN(); 9696 L_2B06EBF9: 9697 /* test edi, edi */ /* 0x2B06EBF9: test edi, edi */ 9698 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 9699 _cf = 0; 9700 _flag_k = FK_TEST; 9701 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EC43; /* 0x2B06EBFB: jbe 0x2b06ec43 */ 9702 L_2B06EBFD: 9703 edx = MEM32(esi + 0x8); /* 0x2B06EBFD: mov edx, dword ptr [esi + 8] */ 9704 eax = edi; /* 0x2B06EC00: mov eax, edi */ 9705 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 9706 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9707 eax = eax + edx; /* 0x2B06EC02: add eax, edx */ 9708 _flag_k = FK_ADD; 9709 PUSH32(esp, 0); /* 0x2B06EC04: push 0 */ 9710 PUSH32(esp, eax); /* 0x2B06EC06: push eax */ 9711 ecx = esi; /* 0x2B06EC07: mov ecx, esi */ 9712 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EC09: mov dword ptr [ebp - 0x14], eax */ 9713 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EC0C: call dword ptr [0x2b0b5154] */ 9714 RECOMP_FLAGS_IN(); 9715 /* test LO8(eax), LO8(eax) */ /* 0x2B06EC12: test al, al */ 9716 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9717 _cf = 0; 9718 _flag_k = FK_NARROW(FK_TEST, 24); 9719 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EC43; /* 0x2B06EC14: je 0x2b06ec43 */ 9720 L_2B06EC16: 9721 eax = MEM32(ebp + (-0x18)); /* 0x2B06EC16: mov eax, dword ptr [ebp - 0x18] */ 9722 edx = MEM32(eax + 0x4); /* 0x2B06EC19: mov edx, dword ptr [eax + 4] */ 9723 ecx = edi; /* 0x2B06EC1C: mov ecx, edi */ 9724 edi = MEM32(eax + 0x8); /* 0x2B06EC1E: mov edi, dword ptr [eax + 8] */ 9725 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 9726 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9727 edi = edi + edx; /* 0x2B06EC21: add edi, edx */ 9728 _flag_k = FK_ADD; 9729 edx = ecx; /* 0x2B06EC23: mov edx, ecx */ 9730 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EC25: shr ecx, 2 */ 9731 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9732 ecx = ecx >> 2u; /* 0x2B06EC25: shr ecx, 2 */ 9733 esi = 0x2B0EEE84u; /* 0x2B06EC28: mov esi, 0x2b0eee84 */ 9734 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EC2D: 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; } 9735 ecx = edx; /* 0x2B06EC2F: mov ecx, edx */ 9736 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 9737 ecx = ecx & 3; /* 0x2B06EC31: and ecx, 3 */ 9738 _cf = 0; 9739 _flag_k = FK_TEST; 9740 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EC34: 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; } 9741 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EC36: mov ecx, dword ptr [ebp - 0x14] */ 9742 MEM32(eax + 0x8) = ecx; /* 0x2B06EC39: mov dword ptr [eax + 8], ecx */ 9743 eax = MEM32(eax + 0x4); /* 0x2B06EC3C: mov eax, dword ptr [eax + 4] */ 9744 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EC3F: mov byte ptr [ecx + eax], 0 */ 9745 L_2B06EC43: 9746 ecx = MEM32(ebp + 0x8); /* 0x2B06EC43: mov ecx, dword ptr [ebp + 8] */ 9747 PUSH32(esp, 0x1Eu); /* 0x2B06EC46: push 0x1e */ 9748 PUSH32(esp, ecx); /* 0x2B06EC48: push ecx */ 9749 ecx = ebx; /* 0x2B06EC49: mov ecx, ebx */ 9750 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06EC4B: call 0x2b0735d0 */ /* not lifted */ 9751 RECOMP_FLAGS_IN(); 9752 /* cmp eax, 0x499602D2u */ /* 0x2B06EC50: cmp eax, 0x499602d2 */ 9753 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 9754 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9755 _flag_k = FK_CMP; 9756 MEM32(ebp + (-0x8)) = eax; /* 0x2B06EC55: mov dword ptr [ebp - 8], eax */ 9757 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06EEED; /* 0x2B06EC58: je 0x2b06eeed */ 9758 L_2B06EC5E: 9759 /* test HI8(eax), 8 */ /* 0x2B06EC5E: test ah, 8 */ 9760 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(8) << 24; 9761 _cf = 0; 9762 _flag_k = FK_NARROW(FK_TEST, 24); 9763 MEM8(0x2B0EEE84) = (uint8_t)(0); /* 0x2B06EC61: mov byte ptr [0x2b0eee84], 0 */ 9764 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EC9A; /* 0x2B06EC68: je 0x2b06ec9a */ 9765 L_2B06EC6A: 9766 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 9767 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EC6A: or ecx, 0xffffffff */ 9768 _cf = 0; 9769 _flag_k = FK_TEST; 9770 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9771 eax = 0; /* 0x2B06EC6D: xor eax, eax */ 9772 _cf = 0; 9773 _flag_k = FK_TEST; 9774 edi = 0x2B0EB60Cu; /* 0x2B06EC6F: mov edi, 0x2b0eb60c */ 9775 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; } /* 0x2B06EC74: repne scasb al, byte ptr es:[edi] */ 9776 ecx = ~ecx; /* 0x2B06EC76: not ecx */ 9777 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 9778 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9779 edi = edi - ecx; /* 0x2B06EC78: sub edi, ecx */ 9780 _flag_k = FK_CMP; 9781 edx = ecx; /* 0x2B06EC7A: mov edx, ecx */ 9782 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 9783 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EC7C: or ecx, 0xffffffff */ 9784 _cf = 0; 9785 _flag_k = FK_TEST; 9786 esi = edi; /* 0x2B06EC7F: mov esi, edi */ 9787 edi = 0x2B0EEE84u; /* 0x2B06EC81: mov edi, 0x2b0eee84 */ 9788 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; } /* 0x2B06EC86: repne scasb al, byte ptr es:[edi] */ 9789 eax = MEM32(ebp + (-0x8)); /* 0x2B06EC88: mov eax, dword ptr [ebp - 8] */ 9790 ecx = edx; /* 0x2B06EC8B: mov ecx, edx */ 9791 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EC8D: shr ecx, 2 */ 9792 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9793 ecx = ecx >> 2u; /* 0x2B06EC8D: shr ecx, 2 */ 9794 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 9795 edi = edi - 1; /* 0x2B06EC90: dec edi */ 9796 _flag_k = FK_DEC; 9797 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EC91: 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; } 9798 ecx = edx; /* 0x2B06EC93: mov ecx, edx */ 9799 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 9800 ecx = ecx & 3; /* 0x2B06EC95: and ecx, 3 */ 9801 _cf = 0; 9802 _flag_k = FK_TEST; 9803 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EC98: 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; } 9804 L_2B06EC9A: 9805 /* test HI8(eax), 0x10u */ /* 0x2B06EC9A: test ah, 0x10 */ 9806 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x10u) << 24; 9807 _cf = 0; 9808 _flag_k = FK_NARROW(FK_TEST, 24); 9809 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06ECCF; /* 0x2B06EC9D: je 0x2b06eccf */ 9810 L_2B06EC9F: 9811 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 9812 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EC9F: or ecx, 0xffffffff */ 9813 _cf = 0; 9814 _flag_k = FK_TEST; 9815 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9816 eax = 0; /* 0x2B06ECA2: xor eax, eax */ 9817 _cf = 0; 9818 _flag_k = FK_TEST; 9819 edi = 0x2B0EB600u; /* 0x2B06ECA4: mov edi, 0x2b0eb600 */ 9820 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; } /* 0x2B06ECA9: repne scasb al, byte ptr es:[edi] */ 9821 ecx = ~ecx; /* 0x2B06ECAB: not ecx */ 9822 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 9823 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9824 edi = edi - ecx; /* 0x2B06ECAD: sub edi, ecx */ 9825 _flag_k = FK_CMP; 9826 edx = ecx; /* 0x2B06ECAF: mov edx, ecx */ 9827 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 9828 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ECB1: or ecx, 0xffffffff */ 9829 _cf = 0; 9830 _flag_k = FK_TEST; 9831 esi = edi; /* 0x2B06ECB4: mov esi, edi */ 9832 edi = 0x2B0EEE84u; /* 0x2B06ECB6: mov edi, 0x2b0eee84 */ 9833 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; } /* 0x2B06ECBB: repne scasb al, byte ptr es:[edi] */ 9834 eax = MEM32(ebp + (-0x8)); /* 0x2B06ECBD: mov eax, dword ptr [ebp - 8] */ 9835 ecx = edx; /* 0x2B06ECC0: mov ecx, edx */ 9836 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06ECC2: shr ecx, 2 */ 9837 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9838 ecx = ecx >> 2u; /* 0x2B06ECC2: shr ecx, 2 */ 9839 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 9840 edi = edi - 1; /* 0x2B06ECC5: dec edi */ 9841 _flag_k = FK_DEC; 9842 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06ECC6: 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; } 9843 ecx = edx; /* 0x2B06ECC8: mov ecx, edx */ 9844 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 9845 ecx = ecx & 3; /* 0x2B06ECCA: and ecx, 3 */ 9846 _cf = 0; 9847 _flag_k = FK_TEST; 9848 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06ECCD: 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; } 9849 L_2B06ECCF: 9850 /* test HI8(eax), 0x20u */ /* 0x2B06ECCF: test ah, 0x20 */ 9851 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x20u) << 24; 9852 _cf = 0; 9853 _flag_k = FK_NARROW(FK_TEST, 24); 9854 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06ED04; /* 0x2B06ECD2: je 0x2b06ed04 */ 9855 L_2B06ECD4: 9856 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 9857 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ECD4: or ecx, 0xffffffff */ 9858 _cf = 0; 9859 _flag_k = FK_TEST; 9860 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9861 eax = 0; /* 0x2B06ECD7: xor eax, eax */ 9862 _cf = 0; 9863 _flag_k = FK_TEST; 9864 edi = 0x2B0EB5F4u; /* 0x2B06ECD9: mov edi, 0x2b0eb5f4 */ 9865 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; } /* 0x2B06ECDE: repne scasb al, byte ptr es:[edi] */ 9866 ecx = ~ecx; /* 0x2B06ECE0: not ecx */ 9867 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 9868 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9869 edi = edi - ecx; /* 0x2B06ECE2: sub edi, ecx */ 9870 _flag_k = FK_CMP; 9871 edx = ecx; /* 0x2B06ECE4: mov edx, ecx */ 9872 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 9873 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ECE6: or ecx, 0xffffffff */ 9874 _cf = 0; 9875 _flag_k = FK_TEST; 9876 esi = edi; /* 0x2B06ECE9: mov esi, edi */ 9877 edi = 0x2B0EEE84u; /* 0x2B06ECEB: mov edi, 0x2b0eee84 */ 9878 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; } /* 0x2B06ECF0: repne scasb al, byte ptr es:[edi] */ 9879 eax = MEM32(ebp + (-0x8)); /* 0x2B06ECF2: mov eax, dword ptr [ebp - 8] */ 9880 ecx = edx; /* 0x2B06ECF5: mov ecx, edx */ 9881 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06ECF7: shr ecx, 2 */ 9882 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9883 ecx = ecx >> 2u; /* 0x2B06ECF7: shr ecx, 2 */ 9884 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 9885 edi = edi - 1; /* 0x2B06ECFA: dec edi */ 9886 _flag_k = FK_DEC; 9887 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06ECFB: 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; } 9888 ecx = edx; /* 0x2B06ECFD: mov ecx, edx */ 9889 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 9890 ecx = ecx & 3; /* 0x2B06ECFF: and ecx, 3 */ 9891 _cf = 0; 9892 _flag_k = FK_TEST; 9893 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06ED02: 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; } 9894 L_2B06ED04: 9895 /* test HI8(eax), 0x40u */ /* 0x2B06ED04: test ah, 0x40 */ 9896 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 9897 _cf = 0; 9898 _flag_k = FK_NARROW(FK_TEST, 24); 9899 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06ED39; /* 0x2B06ED07: je 0x2b06ed39 */ 9900 L_2B06ED09: 9901 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 9902 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED09: or ecx, 0xffffffff */ 9903 _cf = 0; 9904 _flag_k = FK_TEST; 9905 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9906 eax = 0; /* 0x2B06ED0C: xor eax, eax */ 9907 _cf = 0; 9908 _flag_k = FK_TEST; 9909 edi = 0x2B0EB5ECu; /* 0x2B06ED0E: mov edi, 0x2b0eb5ec */ 9910 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; } /* 0x2B06ED13: repne scasb al, byte ptr es:[edi] */ 9911 ecx = ~ecx; /* 0x2B06ED15: not ecx */ 9912 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 9913 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9914 edi = edi - ecx; /* 0x2B06ED17: sub edi, ecx */ 9915 _flag_k = FK_CMP; 9916 edx = ecx; /* 0x2B06ED19: mov edx, ecx */ 9917 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 9918 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED1B: or ecx, 0xffffffff */ 9919 _cf = 0; 9920 _flag_k = FK_TEST; 9921 esi = edi; /* 0x2B06ED1E: mov esi, edi */ 9922 edi = 0x2B0EEE84u; /* 0x2B06ED20: mov edi, 0x2b0eee84 */ 9923 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; } /* 0x2B06ED25: repne scasb al, byte ptr es:[edi] */ 9924 eax = MEM32(ebp + (-0x8)); /* 0x2B06ED27: mov eax, dword ptr [ebp - 8] */ 9925 ecx = edx; /* 0x2B06ED2A: mov ecx, edx */ 9926 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06ED2C: shr ecx, 2 */ 9927 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9928 ecx = ecx >> 2u; /* 0x2B06ED2C: shr ecx, 2 */ 9929 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 9930 edi = edi - 1; /* 0x2B06ED2F: dec edi */ 9931 _flag_k = FK_DEC; 9932 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06ED30: 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; } 9933 ecx = edx; /* 0x2B06ED32: mov ecx, edx */ 9934 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 9935 ecx = ecx & 3; /* 0x2B06ED34: and ecx, 3 */ 9936 _cf = 0; 9937 _flag_k = FK_TEST; 9938 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06ED37: 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; } 9939 L_2B06ED39: 9940 /* test HI8(eax), 0x80u */ /* 0x2B06ED39: test ah, 0x80 */ 9941 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x80u) << 24; 9942 _cf = 0; 9943 _flag_k = FK_NARROW(FK_TEST, 24); 9944 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06ED6E; /* 0x2B06ED3C: je 0x2b06ed6e */ 9945 L_2B06ED3E: 9946 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 9947 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED3E: or ecx, 0xffffffff */ 9948 _cf = 0; 9949 _flag_k = FK_TEST; 9950 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9951 eax = 0; /* 0x2B06ED41: xor eax, eax */ 9952 _cf = 0; 9953 _flag_k = FK_TEST; 9954 edi = 0x2B0EB5E0u; /* 0x2B06ED43: mov edi, 0x2b0eb5e0 */ 9955 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; } /* 0x2B06ED48: repne scasb al, byte ptr es:[edi] */ 9956 ecx = ~ecx; /* 0x2B06ED4A: not ecx */ 9957 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 9958 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9959 edi = edi - ecx; /* 0x2B06ED4C: sub edi, ecx */ 9960 _flag_k = FK_CMP; 9961 edx = ecx; /* 0x2B06ED4E: mov edx, ecx */ 9962 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 9963 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED50: or ecx, 0xffffffff */ 9964 _cf = 0; 9965 _flag_k = FK_TEST; 9966 esi = edi; /* 0x2B06ED53: mov esi, edi */ 9967 edi = 0x2B0EEE84u; /* 0x2B06ED55: mov edi, 0x2b0eee84 */ 9968 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; } /* 0x2B06ED5A: repne scasb al, byte ptr es:[edi] */ 9969 eax = MEM32(ebp + (-0x8)); /* 0x2B06ED5C: mov eax, dword ptr [ebp - 8] */ 9970 ecx = edx; /* 0x2B06ED5F: mov ecx, edx */ 9971 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06ED61: shr ecx, 2 */ 9972 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9973 ecx = ecx >> 2u; /* 0x2B06ED61: shr ecx, 2 */ 9974 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 9975 edi = edi - 1; /* 0x2B06ED64: dec edi */ 9976 _flag_k = FK_DEC; 9977 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06ED65: 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; } 9978 ecx = edx; /* 0x2B06ED67: mov ecx, edx */ 9979 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 9980 ecx = ecx & 3; /* 0x2B06ED69: and ecx, 3 */ 9981 _cf = 0; 9982 _flag_k = FK_TEST; 9983 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06ED6C: 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; } 9984 L_2B06ED6E: 9985 /* test eax, 0x00020000u */ /* 0x2B06ED6E: test eax, 0x20000 */ 9986 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x00020000u); 9987 _cf = 0; 9988 _flag_k = FK_TEST; 9989 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EDA5; /* 0x2B06ED73: je 0x2b06eda5 */ 9990 L_2B06ED75: 9991 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 9992 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED75: or ecx, 0xffffffff */ 9993 _cf = 0; 9994 _flag_k = FK_TEST; 9995 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9996 eax = 0; /* 0x2B06ED78: xor eax, eax */ 9997 _cf = 0; 9998 _flag_k = FK_TEST; 9999 edi = 0x2B0EB5D0u; /* 0x2B06ED7A: mov edi, 0x2b0eb5d0 */ 10000 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; } /* 0x2B06ED7F: repne scasb al, byte ptr es:[edi] */ 10001 ecx = ~ecx; /* 0x2B06ED81: not ecx */ 10002 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 10003 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10004 edi = edi - ecx; /* 0x2B06ED83: sub edi, ecx */ 10005 _flag_k = FK_CMP; 10006 edx = ecx; /* 0x2B06ED85: mov edx, ecx */ 10007 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 10008 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED87: or ecx, 0xffffffff */ 10009 _cf = 0; 10010 _flag_k = FK_TEST; 10011 esi = edi; /* 0x2B06ED8A: mov esi, edi */ 10012 edi = 0x2B0EEE84u; /* 0x2B06ED8C: mov edi, 0x2b0eee84 */ 10013 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; } /* 0x2B06ED91: repne scasb al, byte ptr es:[edi] */ 10014 eax = MEM32(ebp + (-0x8)); /* 0x2B06ED93: mov eax, dword ptr [ebp - 8] */ 10015 ecx = edx; /* 0x2B06ED96: mov ecx, edx */ 10016 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06ED98: shr ecx, 2 */ 10017 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10018 ecx = ecx >> 2u; /* 0x2B06ED98: shr ecx, 2 */ 10019 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 10020 edi = edi - 1; /* 0x2B06ED9B: dec edi */ 10021 _flag_k = FK_DEC; 10022 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06ED9C: 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; } 10023 ecx = edx; /* 0x2B06ED9E: mov ecx, edx */ 10024 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 10025 ecx = ecx & 3; /* 0x2B06EDA0: and ecx, 3 */ 10026 _cf = 0; 10027 _flag_k = FK_TEST; 10028 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EDA3: 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; } 10029 L_2B06EDA5: 10030 /* test eax, 0x00040000u */ /* 0x2B06EDA5: test eax, 0x40000 */ 10031 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x00040000u); 10032 _cf = 0; 10033 _flag_k = FK_TEST; 10034 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EDD9; /* 0x2B06EDAA: je 0x2b06edd9 */ 10035 L_2B06EDAC: 10036 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 10037 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EDAC: or ecx, 0xffffffff */ 10038 _cf = 0; 10039 _flag_k = FK_TEST; 10040 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10041 eax = 0; /* 0x2B06EDAF: xor eax, eax */ 10042 _cf = 0; 10043 _flag_k = FK_TEST; 10044 edi = 0x2B0EB5C4u; /* 0x2B06EDB1: mov edi, 0x2b0eb5c4 */ 10045 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; } /* 0x2B06EDB6: repne scasb al, byte ptr es:[edi] */ 10046 ecx = ~ecx; /* 0x2B06EDB8: not ecx */ 10047 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 10048 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10049 edi = edi - ecx; /* 0x2B06EDBA: sub edi, ecx */ 10050 _flag_k = FK_CMP; 10051 edx = ecx; /* 0x2B06EDBC: mov edx, ecx */ 10052 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 10053 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EDBE: or ecx, 0xffffffff */ 10054 _cf = 0; 10055 _flag_k = FK_TEST; 10056 esi = edi; /* 0x2B06EDC1: mov esi, edi */ 10057 edi = 0x2B0EEE84u; /* 0x2B06EDC3: mov edi, 0x2b0eee84 */ 10058 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; } /* 0x2B06EDC8: repne scasb al, byte ptr es:[edi] */ 10059 ecx = edx; /* 0x2B06EDCA: mov ecx, edx */ 10060 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EDCC: shr ecx, 2 */ 10061 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10062 ecx = ecx >> 2u; /* 0x2B06EDCC: shr ecx, 2 */ 10063 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 10064 edi = edi - 1; /* 0x2B06EDCF: dec edi */ 10065 _flag_k = FK_DEC; 10066 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EDD0: 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; } 10067 ecx = edx; /* 0x2B06EDD2: mov ecx, edx */ 10068 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 10069 ecx = ecx & 3; /* 0x2B06EDD4: and ecx, 3 */ 10070 _cf = 0; 10071 _flag_k = FK_TEST; 10072 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EDD7: 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; } 10073 L_2B06EDD9: 10074 SET_LO8(eax, MEM8(0x2B0EEE84)); /* 0x2B06EDD9: mov al, byte ptr [0x2b0eee84] */ 10075 /* test LO8(eax), LO8(eax) */ /* 0x2B06EDDE: test al, al */ 10076 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10077 _cf = 0; 10078 _flag_k = FK_NARROW(FK_TEST, 24); 10079 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EEED; /* 0x2B06EDE0: je 0x2b06eeed */ 10080 L_2B06EDE6: 10081 ecx = MEM32(ebx + 0x28); /* 0x2B06EDE6: mov ecx, dword ptr [ebx + 0x28] */ 10082 PUSH32(esp, 0x13u); /* 0x2B06EDE9: push 0x13 */ 10083 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EDEB: push -1 */ 10084 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EDED: call dword ptr [0x2b0b5a74] */ 10085 RECOMP_FLAGS_IN(); 10086 esi = MEM32(ebx + 0x28); /* 0x2B06EDF3: mov esi, dword ptr [ebx + 0x28] */ 10087 edx = MEM32(esi + 0x8); /* 0x2B06EDF6: mov edx, dword ptr [esi + 8] */ 10088 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 10089 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EDF9: or ecx, 0xffffffff */ 10090 _cf = 0; 10091 _flag_k = FK_TEST; 10092 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10093 eax = 0; /* 0x2B06EDFC: xor eax, eax */ 10094 _cf = 0; 10095 _flag_k = FK_TEST; 10096 edi = 0x2B0EB5B8u; /* 0x2B06EDFE: mov edi, 0x2b0eb5b8 */ 10097 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; } /* 0x2B06EE03: repne scasb al, byte ptr es:[edi] */ 10098 eax = MEM32(0x2B0B515C); /* 0x2B06EE05: mov eax, dword ptr [0x2b0b515c] */ 10099 ecx = ~ecx; /* 0x2B06EE0A: not ecx */ 10100 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10101 ecx = ecx - 1; /* 0x2B06EE0C: dec ecx */ 10102 _flag_k = FK_DEC; 10103 edi = ecx; /* 0x2B06EE0D: mov edi, ecx */ 10104 ecx = MEM32(eax); /* 0x2B06EE0F: mov ecx, dword ptr [eax] */ 10105 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 10106 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10107 ecx = ecx - edx; /* 0x2B06EE11: sub ecx, edx */ 10108 _flag_k = FK_CMP; 10109 /* cmp ecx, edi */ /* 0x2B06EE13: cmp ecx, edi */ 10110 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 10111 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10112 _flag_k = FK_CMP; 10113 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EE15: mov dword ptr [ebp - 0x18], esi */ 10114 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EE20; /* 0x2B06EE18: ja 0x2b06ee20 */ 10115 L_2B06EE1A: 10116 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EE1A: call dword ptr [0x2b0b51a8] */ 10117 RECOMP_FLAGS_IN(); 10118 L_2B06EE20: 10119 /* test edi, edi */ /* 0x2B06EE20: test edi, edi */ 10120 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 10121 _cf = 0; 10122 _flag_k = FK_TEST; 10123 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EE6A; /* 0x2B06EE22: jbe 0x2b06ee6a */ 10124 L_2B06EE24: 10125 edx = MEM32(esi + 0x8); /* 0x2B06EE24: mov edx, dword ptr [esi + 8] */ 10126 eax = edi; /* 0x2B06EE27: mov eax, edi */ 10127 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 10128 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10129 eax = eax + edx; /* 0x2B06EE29: add eax, edx */ 10130 _flag_k = FK_ADD; 10131 PUSH32(esp, 0); /* 0x2B06EE2B: push 0 */ 10132 PUSH32(esp, eax); /* 0x2B06EE2D: push eax */ 10133 ecx = esi; /* 0x2B06EE2E: mov ecx, esi */ 10134 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EE30: mov dword ptr [ebp - 0x14], eax */ 10135 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EE33: call dword ptr [0x2b0b5154] */ 10136 RECOMP_FLAGS_IN(); 10137 /* test LO8(eax), LO8(eax) */ /* 0x2B06EE39: test al, al */ 10138 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10139 _cf = 0; 10140 _flag_k = FK_NARROW(FK_TEST, 24); 10141 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EE6A; /* 0x2B06EE3B: je 0x2b06ee6a */ 10142 L_2B06EE3D: 10143 eax = MEM32(ebp + (-0x18)); /* 0x2B06EE3D: mov eax, dword ptr [ebp - 0x18] */ 10144 edx = MEM32(eax + 0x4); /* 0x2B06EE40: mov edx, dword ptr [eax + 4] */ 10145 ecx = edi; /* 0x2B06EE43: mov ecx, edi */ 10146 edi = MEM32(eax + 0x8); /* 0x2B06EE45: mov edi, dword ptr [eax + 8] */ 10147 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 10148 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10149 edi = edi + edx; /* 0x2B06EE48: add edi, edx */ 10150 _flag_k = FK_ADD; 10151 edx = ecx; /* 0x2B06EE4A: mov edx, ecx */ 10152 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EE4C: shr ecx, 2 */ 10153 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10154 ecx = ecx >> 2u; /* 0x2B06EE4C: shr ecx, 2 */ 10155 esi = 0x2B0EB5B8u; /* 0x2B06EE4F: mov esi, 0x2b0eb5b8 */ 10156 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EE54: 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; } 10157 ecx = edx; /* 0x2B06EE56: mov ecx, edx */ 10158 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 10159 ecx = ecx & 3; /* 0x2B06EE58: and ecx, 3 */ 10160 _cf = 0; 10161 _flag_k = FK_TEST; 10162 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EE5B: 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; } 10163 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EE5D: mov ecx, dword ptr [ebp - 0x14] */ 10164 MEM32(eax + 0x8) = ecx; /* 0x2B06EE60: mov dword ptr [eax + 8], ecx */ 10165 eax = MEM32(eax + 0x4); /* 0x2B06EE63: mov eax, dword ptr [eax + 4] */ 10166 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EE66: mov byte ptr [ecx + eax], 0 */ 10167 L_2B06EE6A: 10168 ecx = MEM32(ebx + 0x28); /* 0x2B06EE6A: mov ecx, dword ptr [ebx + 0x28] */ 10169 PUSH32(esp, 0x14u); /* 0x2B06EE6D: push 0x14 */ 10170 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EE6F: push -1 */ 10171 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EE71: call dword ptr [0x2b0b5a74] */ 10172 RECOMP_FLAGS_IN(); 10173 esi = MEM32(ebx + 0x28); /* 0x2B06EE77: mov esi, dword ptr [ebx + 0x28] */ 10174 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 10175 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EE7A: or ecx, 0xffffffff */ 10176 _cf = 0; 10177 _flag_k = FK_TEST; 10178 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10179 eax = 0; /* 0x2B06EE7D: xor eax, eax */ 10180 _cf = 0; 10181 _flag_k = FK_TEST; 10182 edi = 0x2B0EEE84u; /* 0x2B06EE7F: mov edi, 0x2b0eee84 */ 10183 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; } /* 0x2B06EE84: repne scasb al, byte ptr es:[edi] */ 10184 ecx = ~ecx; /* 0x2B06EE86: not ecx */ 10185 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10186 ecx = ecx - 1; /* 0x2B06EE88: dec ecx */ 10187 _flag_k = FK_DEC; 10188 edi = ecx; /* 0x2B06EE89: mov edi, ecx */ 10189 ecx = MEM32(0x2B0B515C); /* 0x2B06EE8B: mov ecx, dword ptr [0x2b0b515c] */ 10190 edx = MEM32(ecx); /* 0x2B06EE91: mov edx, dword ptr [ecx] */ 10191 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10192 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10193 edx = edx - MEM32(esi + 0x8); /* 0x2B06EE93: sub edx, dword ptr [esi + 8] */ 10194 _flag_k = FK_CMP; 10195 /* cmp edx, edi */ /* 0x2B06EE96: cmp edx, edi */ 10196 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 10197 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10198 _flag_k = FK_CMP; 10199 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EE98: mov dword ptr [ebp - 0x18], esi */ 10200 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EEA3; /* 0x2B06EE9B: ja 0x2b06eea3 */ 10201 L_2B06EE9D: 10202 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EE9D: call dword ptr [0x2b0b51a8] */ 10203 RECOMP_FLAGS_IN(); 10204 L_2B06EEA3: 10205 /* test edi, edi */ /* 0x2B06EEA3: test edi, edi */ 10206 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 10207 _cf = 0; 10208 _flag_k = FK_TEST; 10209 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EEED; /* 0x2B06EEA5: jbe 0x2b06eeed */ 10210 L_2B06EEA7: 10211 edx = MEM32(esi + 0x8); /* 0x2B06EEA7: mov edx, dword ptr [esi + 8] */ 10212 eax = edi; /* 0x2B06EEAA: mov eax, edi */ 10213 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 10214 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10215 eax = eax + edx; /* 0x2B06EEAC: add eax, edx */ 10216 _flag_k = FK_ADD; 10217 PUSH32(esp, 0); /* 0x2B06EEAE: push 0 */ 10218 PUSH32(esp, eax); /* 0x2B06EEB0: push eax */ 10219 ecx = esi; /* 0x2B06EEB1: mov ecx, esi */ 10220 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EEB3: mov dword ptr [ebp - 0x14], eax */ 10221 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EEB6: call dword ptr [0x2b0b5154] */ 10222 RECOMP_FLAGS_IN(); 10223 /* test LO8(eax), LO8(eax) */ /* 0x2B06EEBC: test al, al */ 10224 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10225 _cf = 0; 10226 _flag_k = FK_NARROW(FK_TEST, 24); 10227 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EEED; /* 0x2B06EEBE: je 0x2b06eeed */ 10228 L_2B06EEC0: 10229 eax = MEM32(ebp + (-0x18)); /* 0x2B06EEC0: mov eax, dword ptr [ebp - 0x18] */ 10230 edx = MEM32(eax + 0x4); /* 0x2B06EEC3: mov edx, dword ptr [eax + 4] */ 10231 ecx = edi; /* 0x2B06EEC6: mov ecx, edi */ 10232 edi = MEM32(eax + 0x8); /* 0x2B06EEC8: mov edi, dword ptr [eax + 8] */ 10233 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 10234 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10235 edi = edi + edx; /* 0x2B06EECB: add edi, edx */ 10236 _flag_k = FK_ADD; 10237 edx = ecx; /* 0x2B06EECD: mov edx, ecx */ 10238 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EECF: shr ecx, 2 */ 10239 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10240 ecx = ecx >> 2u; /* 0x2B06EECF: shr ecx, 2 */ 10241 esi = 0x2B0EEE84u; /* 0x2B06EED2: mov esi, 0x2b0eee84 */ 10242 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EED7: 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; } 10243 ecx = edx; /* 0x2B06EED9: mov ecx, edx */ 10244 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 10245 ecx = ecx & 3; /* 0x2B06EEDB: and ecx, 3 */ 10246 _cf = 0; 10247 _flag_k = FK_TEST; 10248 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EEDE: 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; } 10249 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EEE0: mov ecx, dword ptr [ebp - 0x14] */ 10250 MEM32(eax + 0x8) = ecx; /* 0x2B06EEE3: mov dword ptr [eax + 8], ecx */ 10251 eax = MEM32(eax + 0x4); /* 0x2B06EEE6: mov eax, dword ptr [eax + 4] */ 10252 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EEE9: mov byte ptr [ecx + eax], 0 */ 10253 L_2B06EEED: 10254 ecx = MEM32(ebx + 0x28); /* 0x2B06EEED: mov ecx, dword ptr [ebx + 0x28] */ 10255 esi = MEM32(ebp + 0x8); /* 0x2B06EEF0: mov esi, dword ptr [ebp + 8] */ 10256 PUSH32(esp, ecx); /* 0x2B06EEF3: push ecx */ 10257 PUSH32(esp, esi); /* 0x2B06EEF4: push esi */ 10258 ecx = ebx; /* 0x2B06EEF5: mov ecx, ebx */ 10259 RECOMP_ICALL(0x2B073CB0u); /* 0x2B06EEF7: call 0x2b073cb0 */ /* not lifted */ 10260 RECOMP_FLAGS_IN(); 10261 edx = MEM32(ebx + 0x28); /* 0x2B06EEFC: mov edx, dword ptr [ebx + 0x28] */ 10262 PUSH32(esp, edx); /* 0x2B06EEFF: push edx */ 10263 PUSH32(esp, esi); /* 0x2B06EF00: push esi */ 10264 ecx = ebx; /* 0x2B06EF01: mov ecx, ebx */ 10265 RECOMP_ICALL(0x2B073CF0u); /* 0x2B06EF03: call 0x2b073cf0 */ /* not lifted */ 10266 RECOMP_FLAGS_IN(); 10267 eax = MEM32(ebx + 0x28); /* 0x2B06EF08: mov eax, dword ptr [ebx + 0x28] */ 10268 PUSH32(esp, eax); /* 0x2B06EF0B: push eax */ 10269 PUSH32(esp, esi); /* 0x2B06EF0C: push esi */ 10270 ecx = ebx; /* 0x2B06EF0D: mov ecx, ebx */ 10271 RECOMP_ICALL(0x2B073D30u); /* 0x2B06EF0F: call 0x2b073d30 */ /* not lifted */ 10272 RECOMP_FLAGS_IN(); 10273 ecx = MEM32(ebx + 0x28); /* 0x2B06EF14: mov ecx, dword ptr [ebx + 0x28] */ 10274 PUSH32(esp, ecx); /* 0x2B06EF17: push ecx */ 10275 PUSH32(esp, esi); /* 0x2B06EF18: push esi */ 10276 ecx = ebx; /* 0x2B06EF19: mov ecx, ebx */ 10277 RECOMP_ICALL(0x2B073F90u); /* 0x2B06EF1B: call 0x2b073f90 */ /* not lifted */ 10278 RECOMP_FLAGS_IN(); 10279 PUSH32(esp, 0x1B4u); /* 0x2B06EF20: push 0x1b4 */ 10280 PUSH32(esp, esi); /* 0x2B06EF25: push esi */ 10281 ecx = ebx; /* 0x2B06EF26: mov ecx, ebx */ 10282 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06EF28: call 0x2b0735d0 */ /* not lifted */ 10283 RECOMP_FLAGS_IN(); 10284 /* cmp eax, 0x499602D2u */ /* 0x2B06EF2D: cmp eax, 0x499602d2 */ 10285 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 10286 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10287 _flag_k = FK_CMP; 10288 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06F056; /* 0x2B06EF32: je 0x2b06f056 */ 10289 L_2B06EF38: 10290 PUSH32(esp, eax); /* 0x2B06EF38: push eax */ 10291 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06EF39: call dword ptr [0x2b0b5d6c] */ 10292 RECOMP_FLAGS_IN(); 10293 ecx = eax; /* 0x2B06EF3F: mov ecx, eax */ 10294 RECOMP_ICALL(MEM32(0x2B0B5DB4)); /* 0x2B06EF41: call dword ptr [0x2b0b5db4] */ 10295 RECOMP_FLAGS_IN(); 10296 /* test eax, eax */ /* 0x2B06EF47: test eax, eax */ 10297 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10298 _cf = 0; 10299 _flag_k = FK_TEST; 10300 MEM32(ebp + (-0xC)) = eax; /* 0x2B06EF49: mov dword ptr [ebp - 0xc], eax */ 10301 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F056; /* 0x2B06EF4C: je 0x2b06f056 */ 10302 L_2B06EF52: 10303 ecx = MEM32(ebx + 0x28); /* 0x2B06EF52: mov ecx, dword ptr [ebx + 0x28] */ 10304 PUSH32(esp, 0x13u); /* 0x2B06EF55: push 0x13 */ 10305 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EF57: push -1 */ 10306 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EF59: call dword ptr [0x2b0b5a74] */ 10307 RECOMP_FLAGS_IN(); 10308 edx = MEM32(0x2B0B515C); /* 0x2B06EF5F: mov edx, dword ptr [0x2b0b515c] */ 10309 esi = MEM32(ebx + 0x28); /* 0x2B06EF65: mov esi, dword ptr [ebx + 0x28] */ 10310 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10311 eax = 0; /* 0x2B06EF68: xor eax, eax */ 10312 _cf = 0; 10313 _flag_k = FK_TEST; 10314 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 10315 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EF6A: or ecx, 0xffffffff */ 10316 _cf = 0; 10317 _flag_k = FK_TEST; 10318 edi = 0x2B0EB5ACu; /* 0x2B06EF6D: mov edi, 0x2b0eb5ac */ 10319 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; } /* 0x2B06EF72: repne scasb al, byte ptr es:[edi] */ 10320 eax = MEM32(edx); /* 0x2B06EF74: mov eax, dword ptr [edx] */ 10321 edx = MEM32(esi + 0x8); /* 0x2B06EF76: mov edx, dword ptr [esi + 8] */ 10322 ecx = ~ecx; /* 0x2B06EF79: not ecx */ 10323 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10324 ecx = ecx - 1; /* 0x2B06EF7B: dec ecx */ 10325 _flag_k = FK_DEC; 10326 edi = ecx; /* 0x2B06EF7C: mov edi, ecx */ 10327 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 10328 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10329 eax = eax - edx; /* 0x2B06EF7E: sub eax, edx */ 10330 _flag_k = FK_CMP; 10331 /* cmp eax, edi */ /* 0x2B06EF80: cmp eax, edi */ 10332 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 10333 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10334 _flag_k = FK_CMP; 10335 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EF82: mov dword ptr [ebp - 0x18], esi */ 10336 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EF8D; /* 0x2B06EF85: ja 0x2b06ef8d */ 10337 L_2B06EF87: 10338 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EF87: call dword ptr [0x2b0b51a8] */ 10339 RECOMP_FLAGS_IN(); 10340 L_2B06EF8D: 10341 /* test edi, edi */ /* 0x2B06EF8D: test edi, edi */ 10342 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 10343 _cf = 0; 10344 _flag_k = FK_TEST; 10345 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EFD7; /* 0x2B06EF8F: jbe 0x2b06efd7 */ 10346 L_2B06EF91: 10347 edx = MEM32(esi + 0x8); /* 0x2B06EF91: mov edx, dword ptr [esi + 8] */ 10348 eax = edi; /* 0x2B06EF94: mov eax, edi */ 10349 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 10350 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10351 eax = eax + edx; /* 0x2B06EF96: add eax, edx */ 10352 _flag_k = FK_ADD; 10353 PUSH32(esp, 0); /* 0x2B06EF98: push 0 */ 10354 PUSH32(esp, eax); /* 0x2B06EF9A: push eax */ 10355 ecx = esi; /* 0x2B06EF9B: mov ecx, esi */ 10356 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EF9D: mov dword ptr [ebp - 0x14], eax */ 10357 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EFA0: call dword ptr [0x2b0b5154] */ 10358 RECOMP_FLAGS_IN(); 10359 /* test LO8(eax), LO8(eax) */ /* 0x2B06EFA6: test al, al */ 10360 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10361 _cf = 0; 10362 _flag_k = FK_NARROW(FK_TEST, 24); 10363 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EFD7; /* 0x2B06EFA8: je 0x2b06efd7 */ 10364 L_2B06EFAA: 10365 eax = MEM32(ebp + (-0x18)); /* 0x2B06EFAA: mov eax, dword ptr [ebp - 0x18] */ 10366 edx = MEM32(eax + 0x4); /* 0x2B06EFAD: mov edx, dword ptr [eax + 4] */ 10367 ecx = edi; /* 0x2B06EFB0: mov ecx, edi */ 10368 edi = MEM32(eax + 0x8); /* 0x2B06EFB2: mov edi, dword ptr [eax + 8] */ 10369 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 10370 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10371 edi = edi + edx; /* 0x2B06EFB5: add edi, edx */ 10372 _flag_k = FK_ADD; 10373 edx = ecx; /* 0x2B06EFB7: mov edx, ecx */ 10374 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EFB9: shr ecx, 2 */ 10375 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10376 ecx = ecx >> 2u; /* 0x2B06EFB9: shr ecx, 2 */ 10377 esi = 0x2B0EB5ACu; /* 0x2B06EFBC: mov esi, 0x2b0eb5ac */ 10378 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EFC1: 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; } 10379 ecx = edx; /* 0x2B06EFC3: mov ecx, edx */ 10380 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 10381 ecx = ecx & 3; /* 0x2B06EFC5: and ecx, 3 */ 10382 _cf = 0; 10383 _flag_k = FK_TEST; 10384 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EFC8: 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; } 10385 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EFCA: mov ecx, dword ptr [ebp - 0x14] */ 10386 MEM32(eax + 0x8) = ecx; /* 0x2B06EFCD: mov dword ptr [eax + 8], ecx */ 10387 eax = MEM32(eax + 0x4); /* 0x2B06EFD0: mov eax, dword ptr [eax + 4] */ 10388 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EFD3: mov byte ptr [ecx + eax], 0 */ 10389 L_2B06EFD7: 10390 ecx = MEM32(ebx + 0x28); /* 0x2B06EFD7: mov ecx, dword ptr [ebx + 0x28] */ 10391 PUSH32(esp, 0x14u); /* 0x2B06EFDA: push 0x14 */ 10392 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EFDC: push -1 */ 10393 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EFDE: call dword ptr [0x2b0b5a74] */ 10394 RECOMP_FLAGS_IN(); 10395 edi = MEM32(ebp + (-0xC)); /* 0x2B06EFE4: mov edi, dword ptr [ebp - 0xc] */ 10396 esi = MEM32(ebx + 0x28); /* 0x2B06EFE7: mov esi, dword ptr [ebx + 0x28] */ 10397 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 10398 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EFEA: or ecx, 0xffffffff */ 10399 _cf = 0; 10400 _flag_k = FK_TEST; 10401 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10402 eax = 0; /* 0x2B06EFED: xor eax, eax */ 10403 _cf = 0; 10404 _flag_k = FK_TEST; 10405 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; } /* 0x2B06EFEF: repne scasb al, byte ptr es:[edi] */ 10406 ecx = ~ecx; /* 0x2B06EFF1: not ecx */ 10407 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10408 ecx = ecx - 1; /* 0x2B06EFF3: dec ecx */ 10409 _flag_k = FK_DEC; 10410 edi = ecx; /* 0x2B06EFF4: mov edi, ecx */ 10411 ecx = MEM32(0x2B0B515C); /* 0x2B06EFF6: mov ecx, dword ptr [0x2b0b515c] */ 10412 edx = MEM32(ecx); /* 0x2B06EFFC: mov edx, dword ptr [ecx] */ 10413 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10414 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10415 edx = edx - MEM32(esi + 0x8); /* 0x2B06EFFE: sub edx, dword ptr [esi + 8] */ 10416 _flag_k = FK_CMP; 10417 /* cmp edx, edi */ /* 0x2B06F001: cmp edx, edi */ 10418 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 10419 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10420 _flag_k = FK_CMP; 10421 MEM32(ebp + (-0x18)) = esi; /* 0x2B06F003: mov dword ptr [ebp - 0x18], esi */ 10422 if (CMP_A(_flag_a, _flag_b)) goto L_2B06F00E; /* 0x2B06F006: ja 0x2b06f00e */ 10423 L_2B06F008: 10424 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06F008: call dword ptr [0x2b0b51a8] */ 10425 RECOMP_FLAGS_IN(); 10426 L_2B06F00E: 10427 /* test edi, edi */ /* 0x2B06F00E: test edi, edi */ 10428 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 10429 _cf = 0; 10430 _flag_k = FK_TEST; 10431 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F056; /* 0x2B06F010: jbe 0x2b06f056 */ 10432 L_2B06F012: 10433 edx = MEM32(esi + 0x8); /* 0x2B06F012: mov edx, dword ptr [esi + 8] */ 10434 eax = edi; /* 0x2B06F015: mov eax, edi */ 10435 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 10436 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10437 eax = eax + edx; /* 0x2B06F017: add eax, edx */ 10438 _flag_k = FK_ADD; 10439 PUSH32(esp, 0); /* 0x2B06F019: push 0 */ 10440 PUSH32(esp, eax); /* 0x2B06F01B: push eax */ 10441 ecx = esi; /* 0x2B06F01C: mov ecx, esi */ 10442 MEM32(ebp + (-0x14)) = eax; /* 0x2B06F01E: mov dword ptr [ebp - 0x14], eax */ 10443 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06F021: call dword ptr [0x2b0b5154] */ 10444 RECOMP_FLAGS_IN(); 10445 /* test LO8(eax), LO8(eax) */ /* 0x2B06F027: test al, al */ 10446 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10447 _cf = 0; 10448 _flag_k = FK_NARROW(FK_TEST, 24); 10449 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F056; /* 0x2B06F029: je 0x2b06f056 */ 10450 L_2B06F02B: 10451 eax = MEM32(ebp + (-0x18)); /* 0x2B06F02B: mov eax, dword ptr [ebp - 0x18] */ 10452 edx = MEM32(eax + 0x4); /* 0x2B06F02E: mov edx, dword ptr [eax + 4] */ 10453 esi = MEM32(ebp + (-0xC)); /* 0x2B06F031: mov esi, dword ptr [ebp - 0xc] */ 10454 ecx = edi; /* 0x2B06F034: mov ecx, edi */ 10455 edi = MEM32(eax + 0x8); /* 0x2B06F036: mov edi, dword ptr [eax + 8] */ 10456 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 10457 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10458 edi = edi + edx; /* 0x2B06F039: add edi, edx */ 10459 _flag_k = FK_ADD; 10460 edx = ecx; /* 0x2B06F03B: mov edx, ecx */ 10461 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06F03D: shr ecx, 2 */ 10462 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10463 ecx = ecx >> 2u; /* 0x2B06F03D: shr ecx, 2 */ 10464 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06F040: 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; } 10465 ecx = edx; /* 0x2B06F042: mov ecx, edx */ 10466 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 10467 ecx = ecx & 3; /* 0x2B06F044: and ecx, 3 */ 10468 _cf = 0; 10469 _flag_k = FK_TEST; 10470 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06F047: 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; } 10471 ecx = MEM32(ebp + (-0x14)); /* 0x2B06F049: mov ecx, dword ptr [ebp - 0x14] */ 10472 MEM32(eax + 0x8) = ecx; /* 0x2B06F04C: mov dword ptr [eax + 8], ecx */ 10473 eax = MEM32(eax + 0x4); /* 0x2B06F04F: mov eax, dword ptr [eax + 4] */ 10474 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06F052: mov byte ptr [ecx + eax], 0 */ 10475 L_2B06F056: 10476 ecx = MEM32(ebx + 0x28); /* 0x2B06F056: mov ecx, dword ptr [ebx + 0x28] */ 10477 edx = MEM32(ebp + 0x8); /* 0x2B06F059: mov edx, dword ptr [ebp + 8] */ 10478 PUSH32(esp, ecx); /* 0x2B06F05C: push ecx */ 10479 PUSH32(esp, edx); /* 0x2B06F05D: push edx */ 10480 ecx = ebx; /* 0x2B06F05E: mov ecx, ebx */ 10481 RECOMP_ICALL(0x2B074010u); /* 0x2B06F060: call 0x2b074010 */ /* not lifted */ 10482 RECOMP_FLAGS_IN(); 10483 ecx = MEM32(0x2B0EF104); /* 0x2B06F065: mov ecx, dword ptr [0x2b0ef104] */ 10484 /* test ecx, ecx */ /* 0x2B06F06B: test ecx, ecx */ 10485 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 10486 _cf = 0; 10487 _flag_k = FK_TEST; 10488 edi = POP32_VAL(esp); /* 0x2B06F06D: pop edi */ 10489 esi = POP32_VAL(esp); /* 0x2B06F06E: pop esi */ 10490 ebx = POP32_VAL(esp); /* 0x2B06F06F: pop ebx */ 10491 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F080; /* 0x2B06F070: je 0x2b06f080 */ 10492 L_2B06F072: 10493 eax = MEM32(ebp + (-0x10)); /* 0x2B06F072: mov eax, dword ptr [ebp - 0x10] */ 10494 PUSH32(esp, eax); /* 0x2B06F075: push eax */ 10495 PUSH32(esp, 0x2B0EB59Cu); /* 0x2B06F076: push 0x2b0eb59c */ 10496 RECOMP_ICALL(0x2B08D480u); /* 0x2B06F07B: call 0x2b08d480 */ /* not lifted */ 10497 RECOMP_FLAGS_IN(); 10498 L_2B06F080: 10499 esp = ebp; /* 0x2B06F080: mov esp, ebp */ 10500 ebp = POP32_VAL(esp); /* 0x2B06F082: pop ebp */ 10501 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06F083: ret 4 */ 10502 RECOMP_REGS_OUT(); 10503 } 10504 10505 void sub_2B06E96A(void) { 10506 int _fpu_cmp = 0; 10507 uint32_t _cf = 0; 10508 int _df = 1; 10509 uint32_t _flag_k = FK_NONE; 10510 uint32_t _flag_a = 0, _flag_b = 0; 10511 uint32_t _itail_tgt = 0; 10512 RECOMP_REGS_LOCALS 10513 RECOMP_ENTER(0x2B06E96Au); 10514 10515 L_2B06E96A: 10516 ecx = MEM32(ebp + (-0xC)); /* 0x2B06E96A: mov ecx, dword ptr [ebp - 0xc] */ 10517 PUSH32(esp, ecx); /* 0x2B06E96D: push ecx */ 10518 PUSH32(esp, 0x2B0EB630u); /* 0x2B06E96E: push 0x2b0eb630 */ 10519 PUSH32(esp, 0x2B0EEE84u); /* 0x2B06E973: push 0x2b0eee84 */ 10520 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B06E978: call dword ptr [0x2b0b51f0] */ 10521 RECOMP_FLAGS_IN(); 10522 edx = MEM32(0x2B0B515C); /* 0x2B06E97E: mov edx, dword ptr [0x2b0b515c] */ 10523 esi = MEM32(ebx + 0x28); /* 0x2B06E984: mov esi, dword ptr [ebx + 0x28] */ 10524 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10525 eax = 0; /* 0x2B06E987: xor eax, eax */ 10526 _cf = 0; 10527 _flag_k = FK_TEST; 10528 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 10529 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06E989: or ecx, 0xffffffff */ 10530 _cf = 0; 10531 _flag_k = FK_TEST; 10532 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 10533 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10534 esp = esp + 0xCu; /* 0x2B06E98C: add esp, 0xc */ 10535 _flag_k = FK_ADD; 10536 edi = 0x2B0EEE84u; /* 0x2B06E98F: mov edi, 0x2b0eee84 */ 10537 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; } /* 0x2B06E994: repne scasb al, byte ptr es:[edi] */ 10538 eax = MEM32(edx); /* 0x2B06E996: mov eax, dword ptr [edx] */ 10539 edx = MEM32(esi + 0x8); /* 0x2B06E998: mov edx, dword ptr [esi + 8] */ 10540 ecx = ~ecx; /* 0x2B06E99B: not ecx */ 10541 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10542 ecx = ecx - 1; /* 0x2B06E99D: dec ecx */ 10543 _flag_k = FK_DEC; 10544 edi = ecx; /* 0x2B06E99E: mov edi, ecx */ 10545 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 10546 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10547 eax = eax - edx; /* 0x2B06E9A0: sub eax, edx */ 10548 _flag_k = FK_CMP; 10549 /* cmp eax, edi */ /* 0x2B06E9A2: cmp eax, edi */ 10550 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 10551 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10552 _flag_k = FK_CMP; 10553 MEM32(ebp + (-0x18)) = esi; /* 0x2B06E9A4: mov dword ptr [ebp - 0x18], esi */ 10554 if (CMP_A(_flag_a, _flag_b)) goto L_2B06E9AF; /* 0x2B06E9A7: ja 0x2b06e9af */ 10555 L_2B06E9A9: 10556 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06E9A9: call dword ptr [0x2b0b51a8] */ 10557 RECOMP_FLAGS_IN(); 10558 L_2B06E9AF: 10559 /* test edi, edi */ /* 0x2B06E9AF: test edi, edi */ 10560 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 10561 _cf = 0; 10562 _flag_k = FK_TEST; 10563 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E9F9; /* 0x2B06E9B1: jbe 0x2b06e9f9 */ 10564 L_2B06E9B3: 10565 edx = MEM32(esi + 0x8); /* 0x2B06E9B3: mov edx, dword ptr [esi + 8] */ 10566 eax = edi; /* 0x2B06E9B6: mov eax, edi */ 10567 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 10568 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10569 eax = eax + edx; /* 0x2B06E9B8: add eax, edx */ 10570 _flag_k = FK_ADD; 10571 PUSH32(esp, 0); /* 0x2B06E9BA: push 0 */ 10572 PUSH32(esp, eax); /* 0x2B06E9BC: push eax */ 10573 ecx = esi; /* 0x2B06E9BD: mov ecx, esi */ 10574 MEM32(ebp + (-0x14)) = eax; /* 0x2B06E9BF: mov dword ptr [ebp - 0x14], eax */ 10575 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06E9C2: call dword ptr [0x2b0b5154] */ 10576 RECOMP_FLAGS_IN(); 10577 /* test LO8(eax), LO8(eax) */ /* 0x2B06E9C8: test al, al */ 10578 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10579 _cf = 0; 10580 _flag_k = FK_NARROW(FK_TEST, 24); 10581 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06E9F9; /* 0x2B06E9CA: je 0x2b06e9f9 */ 10582 L_2B06E9CC: 10583 eax = MEM32(ebp + (-0x18)); /* 0x2B06E9CC: mov eax, dword ptr [ebp - 0x18] */ 10584 edx = MEM32(eax + 0x4); /* 0x2B06E9CF: mov edx, dword ptr [eax + 4] */ 10585 ecx = edi; /* 0x2B06E9D2: mov ecx, edi */ 10586 edi = MEM32(eax + 0x8); /* 0x2B06E9D4: mov edi, dword ptr [eax + 8] */ 10587 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 10588 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10589 edi = edi + edx; /* 0x2B06E9D7: add edi, edx */ 10590 _flag_k = FK_ADD; 10591 edx = ecx; /* 0x2B06E9D9: mov edx, ecx */ 10592 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06E9DB: shr ecx, 2 */ 10593 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10594 ecx = ecx >> 2u; /* 0x2B06E9DB: shr ecx, 2 */ 10595 esi = 0x2B0EEE84u; /* 0x2B06E9DE: mov esi, 0x2b0eee84 */ 10596 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06E9E3: 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; } 10597 ecx = edx; /* 0x2B06E9E5: mov ecx, edx */ 10598 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 10599 ecx = ecx & 3; /* 0x2B06E9E7: and ecx, 3 */ 10600 _cf = 0; 10601 _flag_k = FK_TEST; 10602 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06E9EA: 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; } 10603 ecx = MEM32(ebp + (-0x14)); /* 0x2B06E9EC: mov ecx, dword ptr [ebp - 0x14] */ 10604 MEM32(eax + 0x8) = ecx; /* 0x2B06E9EF: mov dword ptr [eax + 8], ecx */ 10605 eax = MEM32(eax + 0x4); /* 0x2B06E9F2: mov eax, dword ptr [eax + 4] */ 10606 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06E9F5: mov byte ptr [ecx + eax], 0 */ 10607 L_2B06E9F9: 10608 ecx = MEM32(ebp + 0x8); /* 0x2B06E9F9: mov ecx, dword ptr [ebp + 8] */ 10609 PUSH32(esp, 0x64u); /* 0x2B06E9FC: push 0x64 */ 10610 PUSH32(esp, ecx); /* 0x2B06E9FE: push ecx */ 10611 ecx = ebx; /* 0x2B06E9FF: mov ecx, ebx */ 10612 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06EA01: call 0x2b0735d0 */ /* not lifted */ 10613 RECOMP_FLAGS_IN(); 10614 /* cmp eax, 0x499602D2u */ /* 0x2B06EA06: cmp eax, 0x499602d2 */ 10615 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 10616 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10617 _flag_k = FK_CMP; 10618 MEM32(ebp + (-0x8)) = eax; /* 0x2B06EA0B: mov dword ptr [ebp - 8], eax */ 10619 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06EC43; /* 0x2B06EA0E: je 0x2b06ec43 */ 10620 L_2B06EA14: 10621 eax = MEM32(ebp + (-0xC)); /* 0x2B06EA14: mov eax, dword ptr [ebp - 0xc] */ 10622 /* test eax, eax */ /* 0x2B06EA17: test eax, eax */ 10623 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10624 _cf = 0; 10625 _flag_k = FK_TEST; 10626 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EC43; /* 0x2B06EA19: je 0x2b06ec43 */ 10627 L_2B06EA1F: 10628 ecx = MEM32(ebx + 0x28); /* 0x2B06EA1F: mov ecx, dword ptr [ebx + 0x28] */ 10629 PUSH32(esp, 0x13u); /* 0x2B06EA22: push 0x13 */ 10630 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EA24: push -1 */ 10631 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EA26: call dword ptr [0x2b0b5a74] */ 10632 RECOMP_FLAGS_IN(); 10633 edx = MEM32(0x2B0B515C); /* 0x2B06EA2C: mov edx, dword ptr [0x2b0b515c] */ 10634 esi = MEM32(ebx + 0x28); /* 0x2B06EA32: mov esi, dword ptr [ebx + 0x28] */ 10635 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10636 eax = 0; /* 0x2B06EA35: xor eax, eax */ 10637 _cf = 0; 10638 _flag_k = FK_TEST; 10639 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 10640 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EA37: or ecx, 0xffffffff */ 10641 _cf = 0; 10642 _flag_k = FK_TEST; 10643 edi = 0x2B0EB614u; /* 0x2B06EA3A: mov edi, 0x2b0eb614 */ 10644 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; } /* 0x2B06EA3F: repne scasb al, byte ptr es:[edi] */ 10645 eax = MEM32(edx); /* 0x2B06EA41: mov eax, dword ptr [edx] */ 10646 edx = MEM32(esi + 0x8); /* 0x2B06EA43: mov edx, dword ptr [esi + 8] */ 10647 ecx = ~ecx; /* 0x2B06EA46: not ecx */ 10648 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10649 ecx = ecx - 1; /* 0x2B06EA48: dec ecx */ 10650 _flag_k = FK_DEC; 10651 edi = ecx; /* 0x2B06EA49: mov edi, ecx */ 10652 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 10653 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10654 eax = eax - edx; /* 0x2B06EA4B: sub eax, edx */ 10655 _flag_k = FK_CMP; 10656 /* cmp eax, edi */ /* 0x2B06EA4D: cmp eax, edi */ 10657 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 10658 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10659 _flag_k = FK_CMP; 10660 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EA4F: mov dword ptr [ebp - 0x18], esi */ 10661 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EA5A; /* 0x2B06EA52: ja 0x2b06ea5a */ 10662 L_2B06EA54: 10663 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EA54: call dword ptr [0x2b0b51a8] */ 10664 RECOMP_FLAGS_IN(); 10665 L_2B06EA5A: 10666 /* test edi, edi */ /* 0x2B06EA5A: test edi, edi */ 10667 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 10668 _cf = 0; 10669 _flag_k = FK_TEST; 10670 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EAA4; /* 0x2B06EA5C: jbe 0x2b06eaa4 */ 10671 L_2B06EA5E: 10672 edx = MEM32(esi + 0x8); /* 0x2B06EA5E: mov edx, dword ptr [esi + 8] */ 10673 eax = edi; /* 0x2B06EA61: mov eax, edi */ 10674 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 10675 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10676 eax = eax + edx; /* 0x2B06EA63: add eax, edx */ 10677 _flag_k = FK_ADD; 10678 PUSH32(esp, 0); /* 0x2B06EA65: push 0 */ 10679 PUSH32(esp, eax); /* 0x2B06EA67: push eax */ 10680 ecx = esi; /* 0x2B06EA68: mov ecx, esi */ 10681 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EA6A: mov dword ptr [ebp - 0x14], eax */ 10682 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EA6D: call dword ptr [0x2b0b5154] */ 10683 RECOMP_FLAGS_IN(); 10684 /* test LO8(eax), LO8(eax) */ /* 0x2B06EA73: test al, al */ 10685 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10686 _cf = 0; 10687 _flag_k = FK_NARROW(FK_TEST, 24); 10688 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EAA4; /* 0x2B06EA75: je 0x2b06eaa4 */ 10689 L_2B06EA77: 10690 eax = MEM32(ebp + (-0x18)); /* 0x2B06EA77: mov eax, dword ptr [ebp - 0x18] */ 10691 edx = MEM32(eax + 0x4); /* 0x2B06EA7A: mov edx, dword ptr [eax + 4] */ 10692 ecx = edi; /* 0x2B06EA7D: mov ecx, edi */ 10693 edi = MEM32(eax + 0x8); /* 0x2B06EA7F: mov edi, dword ptr [eax + 8] */ 10694 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 10695 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10696 edi = edi + edx; /* 0x2B06EA82: add edi, edx */ 10697 _flag_k = FK_ADD; 10698 edx = ecx; /* 0x2B06EA84: mov edx, ecx */ 10699 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EA86: shr ecx, 2 */ 10700 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10701 ecx = ecx >> 2u; /* 0x2B06EA86: shr ecx, 2 */ 10702 esi = 0x2B0EB614u; /* 0x2B06EA89: mov esi, 0x2b0eb614 */ 10703 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EA8E: 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; } 10704 ecx = edx; /* 0x2B06EA90: mov ecx, edx */ 10705 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 10706 ecx = ecx & 3; /* 0x2B06EA92: and ecx, 3 */ 10707 _cf = 0; 10708 _flag_k = FK_TEST; 10709 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EA95: 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; } 10710 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EA97: mov ecx, dword ptr [ebp - 0x14] */ 10711 MEM32(eax + 0x8) = ecx; /* 0x2B06EA9A: mov dword ptr [eax + 8], ecx */ 10712 eax = MEM32(eax + 0x4); /* 0x2B06EA9D: mov eax, dword ptr [eax + 4] */ 10713 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EAA0: mov byte ptr [ecx + eax], 0 */ 10714 L_2B06EAA4: 10715 ecx = MEM32(ebx + 0x28); /* 0x2B06EAA4: mov ecx, dword ptr [ebx + 0x28] */ 10716 PUSH32(esp, 0x14u); /* 0x2B06EAA7: push 0x14 */ 10717 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EAA9: push -1 */ 10718 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EAAB: call dword ptr [0x2b0b5a74] */ 10719 RECOMP_FLAGS_IN(); 10720 PUSH32(esp, 0x64u); /* 0x2B06EAB1: push 0x64 */ 10721 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06EAB3: call dword ptr [0x2b0b5d6c] */ 10722 RECOMP_FLAGS_IN(); 10723 ecx = eax; /* 0x2B06EAB9: mov ecx, eax */ 10724 RECOMP_ICALL(MEM32(0x2B0B5DB4)); /* 0x2B06EABB: call dword ptr [0x2b0b5db4] */ 10725 RECOMP_FLAGS_IN(); 10726 esi = eax; /* 0x2B06EAC1: mov esi, eax */ 10727 /* test esi, esi */ /* 0x2B06EAC3: test esi, esi */ 10728 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 10729 _cf = 0; 10730 _flag_k = FK_TEST; 10731 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EB40; /* 0x2B06EAC5: je 0x2b06eb40 */ 10732 L_2B06EAC7: 10733 edx = MEM32(ebx + 0x28); /* 0x2B06EAC7: mov edx, dword ptr [ebx + 0x28] */ 10734 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 10735 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EACA: or ecx, 0xffffffff */ 10736 _cf = 0; 10737 _flag_k = FK_TEST; 10738 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10739 eax = 0; /* 0x2B06EACD: xor eax, eax */ 10740 _cf = 0; 10741 _flag_k = FK_TEST; 10742 edi = esi; /* 0x2B06EACF: mov edi, esi */ 10743 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; } /* 0x2B06EAD1: repne scasb al, byte ptr es:[edi] */ 10744 ecx = ~ecx; /* 0x2B06EAD3: not ecx */ 10745 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10746 ecx = ecx - 1; /* 0x2B06EAD5: dec ecx */ 10747 _flag_k = FK_DEC; 10748 edi = ecx; /* 0x2B06EAD6: mov edi, ecx */ 10749 ecx = MEM32(0x2B0B515C); /* 0x2B06EAD8: mov ecx, dword ptr [0x2b0b515c] */ 10750 eax = MEM32(ecx); /* 0x2B06EADE: mov eax, dword ptr [ecx] */ 10751 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 10752 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10753 eax = eax - MEM32(edx + 0x8); /* 0x2B06EAE0: sub eax, dword ptr [edx + 8] */ 10754 _flag_k = FK_CMP; 10755 /* cmp eax, edi */ /* 0x2B06EAE3: cmp eax, edi */ 10756 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 10757 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10758 _flag_k = FK_CMP; 10759 MEM32(ebp + (-0xC)) = edx; /* 0x2B06EAE5: mov dword ptr [ebp - 0xc], edx */ 10760 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EAF0; /* 0x2B06EAE8: ja 0x2b06eaf0 */ 10761 L_2B06EAEA: 10762 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EAEA: call dword ptr [0x2b0b51a8] */ 10763 RECOMP_FLAGS_IN(); 10764 L_2B06EAF0: 10765 /* test edi, edi */ /* 0x2B06EAF0: test edi, edi */ 10766 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 10767 _cf = 0; 10768 _flag_k = FK_TEST; 10769 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EBB4; /* 0x2B06EAF2: jbe 0x2b06ebb4 */ 10770 L_2B06EAF8: 10771 ecx = MEM32(ebp + (-0xC)); /* 0x2B06EAF8: mov ecx, dword ptr [ebp - 0xc] */ 10772 edx = MEM32(ecx + 0x8); /* 0x2B06EAFB: mov edx, dword ptr [ecx + 8] */ 10773 eax = edi; /* 0x2B06EAFE: mov eax, edi */ 10774 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 10775 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10776 eax = eax + edx; /* 0x2B06EB00: add eax, edx */ 10777 _flag_k = FK_ADD; 10778 PUSH32(esp, 0); /* 0x2B06EB02: push 0 */ 10779 PUSH32(esp, eax); /* 0x2B06EB04: push eax */ 10780 MEM32(ebp + (-0x18)) = eax; /* 0x2B06EB05: mov dword ptr [ebp - 0x18], eax */ 10781 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EB08: call dword ptr [0x2b0b5154] */ 10782 RECOMP_FLAGS_IN(); 10783 /* test LO8(eax), LO8(eax) */ /* 0x2B06EB0E: test al, al */ 10784 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10785 _cf = 0; 10786 _flag_k = FK_NARROW(FK_TEST, 24); 10787 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EBB4; /* 0x2B06EB10: je 0x2b06ebb4 */ 10788 L_2B06EB16: 10789 eax = MEM32(ebp + (-0xC)); /* 0x2B06EB16: mov eax, dword ptr [ebp - 0xc] */ 10790 edx = MEM32(eax + 0x4); /* 0x2B06EB19: mov edx, dword ptr [eax + 4] */ 10791 ecx = edi; /* 0x2B06EB1C: mov ecx, edi */ 10792 edi = MEM32(eax + 0x8); /* 0x2B06EB1E: mov edi, dword ptr [eax + 8] */ 10793 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 10794 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10795 edi = edi + edx; /* 0x2B06EB21: add edi, edx */ 10796 _flag_k = FK_ADD; 10797 edx = ecx; /* 0x2B06EB23: mov edx, ecx */ 10798 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EB25: shr ecx, 2 */ 10799 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10800 ecx = ecx >> 2u; /* 0x2B06EB25: shr ecx, 2 */ 10801 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EB28: 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; } 10802 ecx = edx; /* 0x2B06EB2A: mov ecx, edx */ 10803 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 10804 ecx = ecx & 3; /* 0x2B06EB2C: and ecx, 3 */ 10805 _cf = 0; 10806 _flag_k = FK_TEST; 10807 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EB2F: 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; } 10808 ecx = MEM32(ebp + (-0x18)); /* 0x2B06EB31: mov ecx, dword ptr [ebp - 0x18] */ 10809 MEM32(eax + 0x8) = ecx; /* 0x2B06EB34: mov dword ptr [eax + 8], ecx */ 10810 eax = MEM32(eax + 0x4); /* 0x2B06EB37: mov eax, dword ptr [eax + 4] */ 10811 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EB3A: mov byte ptr [ecx + eax], 0 */ 10812 goto L_2B06EBB4; /* 0x2B06EB3E: jmp 0x2b06ebb4 */ 10813 L_2B06EB40: 10814 esi = MEM32(ebx + 0x28); /* 0x2B06EB40: mov esi, dword ptr [ebx + 0x28] */ 10815 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 10816 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EB43: or ecx, 0xffffffff */ 10817 _cf = 0; 10818 _flag_k = FK_TEST; 10819 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10820 eax = 0; /* 0x2B06EB46: xor eax, eax */ 10821 _cf = 0; 10822 _flag_k = FK_TEST; 10823 edi = 0x2B0EB634u; /* 0x2B06EB48: mov edi, 0x2b0eb634 */ 10824 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; } /* 0x2B06EB4D: repne scasb al, byte ptr es:[edi] */ 10825 ecx = ~ecx; /* 0x2B06EB4F: not ecx */ 10826 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10827 ecx = ecx - 1; /* 0x2B06EB51: dec ecx */ 10828 _flag_k = FK_DEC; 10829 edi = ecx; /* 0x2B06EB52: mov edi, ecx */ 10830 ecx = MEM32(0x2B0B515C); /* 0x2B06EB54: mov ecx, dword ptr [0x2b0b515c] */ 10831 edx = MEM32(ecx); /* 0x2B06EB5A: mov edx, dword ptr [ecx] */ 10832 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10833 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10834 edx = edx - MEM32(esi + 0x8); /* 0x2B06EB5C: sub edx, dword ptr [esi + 8] */ 10835 _flag_k = FK_CMP; 10836 /* cmp edx, edi */ /* 0x2B06EB5F: cmp edx, edi */ 10837 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 10838 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10839 _flag_k = FK_CMP; 10840 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EB61: mov dword ptr [ebp - 0x18], esi */ 10841 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EB6C; /* 0x2B06EB64: ja 0x2b06eb6c */ 10842 L_2B06EB66: 10843 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EB66: call dword ptr [0x2b0b51a8] */ 10844 RECOMP_FLAGS_IN(); 10845 L_2B06EB6C: 10846 /* test edi, edi */ /* 0x2B06EB6C: test edi, edi */ 10847 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 10848 _cf = 0; 10849 _flag_k = FK_TEST; 10850 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EBB4; /* 0x2B06EB6E: jbe 0x2b06ebb4 */ 10851 L_2B06EB70: 10852 eax = MEM32(esi + 0x8); /* 0x2B06EB70: mov eax, dword ptr [esi + 8] */ 10853 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 10854 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10855 eax = eax + edi; /* 0x2B06EB73: add eax, edi */ 10856 _flag_k = FK_ADD; 10857 PUSH32(esp, 0); /* 0x2B06EB75: push 0 */ 10858 PUSH32(esp, eax); /* 0x2B06EB77: push eax */ 10859 ecx = esi; /* 0x2B06EB78: mov ecx, esi */ 10860 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EB7A: mov dword ptr [ebp - 0x14], eax */ 10861 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EB7D: call dword ptr [0x2b0b5154] */ 10862 RECOMP_FLAGS_IN(); 10863 /* test LO8(eax), LO8(eax) */ /* 0x2B06EB83: test al, al */ 10864 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10865 _cf = 0; 10866 _flag_k = FK_NARROW(FK_TEST, 24); 10867 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EBB4; /* 0x2B06EB85: je 0x2b06ebb4 */ 10868 L_2B06EB87: 10869 eax = MEM32(ebp + (-0x18)); /* 0x2B06EB87: mov eax, dword ptr [ebp - 0x18] */ 10870 edx = MEM32(eax + 0x4); /* 0x2B06EB8A: mov edx, dword ptr [eax + 4] */ 10871 ecx = edi; /* 0x2B06EB8D: mov ecx, edi */ 10872 edi = MEM32(eax + 0x8); /* 0x2B06EB8F: mov edi, dword ptr [eax + 8] */ 10873 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 10874 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10875 edi = edi + edx; /* 0x2B06EB92: add edi, edx */ 10876 _flag_k = FK_ADD; 10877 edx = ecx; /* 0x2B06EB94: mov edx, ecx */ 10878 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EB96: shr ecx, 2 */ 10879 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10880 ecx = ecx >> 2u; /* 0x2B06EB96: shr ecx, 2 */ 10881 esi = 0x2B0EB634u; /* 0x2B06EB99: mov esi, 0x2b0eb634 */ 10882 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EB9E: 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; } 10883 ecx = edx; /* 0x2B06EBA0: mov ecx, edx */ 10884 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 10885 ecx = ecx & 3; /* 0x2B06EBA2: and ecx, 3 */ 10886 _cf = 0; 10887 _flag_k = FK_TEST; 10888 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EBA5: 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; } 10889 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EBA7: mov ecx, dword ptr [ebp - 0x14] */ 10890 MEM32(eax + 0x8) = ecx; /* 0x2B06EBAA: mov dword ptr [eax + 8], ecx */ 10891 eax = MEM32(eax + 0x4); /* 0x2B06EBAD: mov eax, dword ptr [eax + 4] */ 10892 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B06EBB0: mov byte ptr [eax + ecx], 0 */ 10893 L_2B06EBB4: 10894 ecx = MEM32(ebp + (-0x8)); /* 0x2B06EBB4: mov ecx, dword ptr [ebp - 8] */ 10895 PUSH32(esp, ecx); /* 0x2B06EBB7: push ecx */ 10896 PUSH32(esp, 0x2B0EB630u); /* 0x2B06EBB8: push 0x2b0eb630 */ 10897 PUSH32(esp, 0x2B0EEE84u); /* 0x2B06EBBD: push 0x2b0eee84 */ 10898 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B06EBC2: call dword ptr [0x2b0b51f0] */ 10899 RECOMP_FLAGS_IN(); 10900 edx = MEM32(0x2B0B515C); /* 0x2B06EBC8: mov edx, dword ptr [0x2b0b515c] */ 10901 esi = MEM32(ebx + 0x28); /* 0x2B06EBCE: mov esi, dword ptr [ebx + 0x28] */ 10902 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10903 eax = 0; /* 0x2B06EBD1: xor eax, eax */ 10904 _cf = 0; 10905 _flag_k = FK_TEST; 10906 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 10907 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EBD3: or ecx, 0xffffffff */ 10908 _cf = 0; 10909 _flag_k = FK_TEST; 10910 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 10911 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10912 esp = esp + 0xCu; /* 0x2B06EBD6: add esp, 0xc */ 10913 _flag_k = FK_ADD; 10914 edi = 0x2B0EEE84u; /* 0x2B06EBD9: mov edi, 0x2b0eee84 */ 10915 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; } /* 0x2B06EBDE: repne scasb al, byte ptr es:[edi] */ 10916 eax = MEM32(edx); /* 0x2B06EBE0: mov eax, dword ptr [edx] */ 10917 edx = MEM32(esi + 0x8); /* 0x2B06EBE2: mov edx, dword ptr [esi + 8] */ 10918 ecx = ~ecx; /* 0x2B06EBE5: not ecx */ 10919 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10920 ecx = ecx - 1; /* 0x2B06EBE7: dec ecx */ 10921 _flag_k = FK_DEC; 10922 edi = ecx; /* 0x2B06EBE8: mov edi, ecx */ 10923 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 10924 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10925 eax = eax - edx; /* 0x2B06EBEA: sub eax, edx */ 10926 _flag_k = FK_CMP; 10927 /* cmp eax, edi */ /* 0x2B06EBEC: cmp eax, edi */ 10928 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 10929 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10930 _flag_k = FK_CMP; 10931 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EBEE: mov dword ptr [ebp - 0x18], esi */ 10932 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EBF9; /* 0x2B06EBF1: ja 0x2b06ebf9 */ 10933 L_2B06EBF3: 10934 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EBF3: call dword ptr [0x2b0b51a8] */ 10935 RECOMP_FLAGS_IN(); 10936 L_2B06EBF9: 10937 /* test edi, edi */ /* 0x2B06EBF9: test edi, edi */ 10938 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 10939 _cf = 0; 10940 _flag_k = FK_TEST; 10941 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EC43; /* 0x2B06EBFB: jbe 0x2b06ec43 */ 10942 L_2B06EBFD: 10943 edx = MEM32(esi + 0x8); /* 0x2B06EBFD: mov edx, dword ptr [esi + 8] */ 10944 eax = edi; /* 0x2B06EC00: mov eax, edi */ 10945 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 10946 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10947 eax = eax + edx; /* 0x2B06EC02: add eax, edx */ 10948 _flag_k = FK_ADD; 10949 PUSH32(esp, 0); /* 0x2B06EC04: push 0 */ 10950 PUSH32(esp, eax); /* 0x2B06EC06: push eax */ 10951 ecx = esi; /* 0x2B06EC07: mov ecx, esi */ 10952 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EC09: mov dword ptr [ebp - 0x14], eax */ 10953 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EC0C: call dword ptr [0x2b0b5154] */ 10954 RECOMP_FLAGS_IN(); 10955 /* test LO8(eax), LO8(eax) */ /* 0x2B06EC12: test al, al */ 10956 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10957 _cf = 0; 10958 _flag_k = FK_NARROW(FK_TEST, 24); 10959 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EC43; /* 0x2B06EC14: je 0x2b06ec43 */ 10960 L_2B06EC16: 10961 eax = MEM32(ebp + (-0x18)); /* 0x2B06EC16: mov eax, dword ptr [ebp - 0x18] */ 10962 edx = MEM32(eax + 0x4); /* 0x2B06EC19: mov edx, dword ptr [eax + 4] */ 10963 ecx = edi; /* 0x2B06EC1C: mov ecx, edi */ 10964 edi = MEM32(eax + 0x8); /* 0x2B06EC1E: mov edi, dword ptr [eax + 8] */ 10965 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 10966 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10967 edi = edi + edx; /* 0x2B06EC21: add edi, edx */ 10968 _flag_k = FK_ADD; 10969 edx = ecx; /* 0x2B06EC23: mov edx, ecx */ 10970 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EC25: shr ecx, 2 */ 10971 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10972 ecx = ecx >> 2u; /* 0x2B06EC25: shr ecx, 2 */ 10973 esi = 0x2B0EEE84u; /* 0x2B06EC28: mov esi, 0x2b0eee84 */ 10974 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EC2D: 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; } 10975 ecx = edx; /* 0x2B06EC2F: mov ecx, edx */ 10976 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 10977 ecx = ecx & 3; /* 0x2B06EC31: and ecx, 3 */ 10978 _cf = 0; 10979 _flag_k = FK_TEST; 10980 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EC34: 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; } 10981 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EC36: mov ecx, dword ptr [ebp - 0x14] */ 10982 MEM32(eax + 0x8) = ecx; /* 0x2B06EC39: mov dword ptr [eax + 8], ecx */ 10983 eax = MEM32(eax + 0x4); /* 0x2B06EC3C: mov eax, dword ptr [eax + 4] */ 10984 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EC3F: mov byte ptr [ecx + eax], 0 */ 10985 L_2B06EC43: 10986 ecx = MEM32(ebp + 0x8); /* 0x2B06EC43: mov ecx, dword ptr [ebp + 8] */ 10987 PUSH32(esp, 0x1Eu); /* 0x2B06EC46: push 0x1e */ 10988 PUSH32(esp, ecx); /* 0x2B06EC48: push ecx */ 10989 ecx = ebx; /* 0x2B06EC49: mov ecx, ebx */ 10990 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06EC4B: call 0x2b0735d0 */ /* not lifted */ 10991 RECOMP_FLAGS_IN(); 10992 /* cmp eax, 0x499602D2u */ /* 0x2B06EC50: cmp eax, 0x499602d2 */ 10993 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 10994 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10995 _flag_k = FK_CMP; 10996 MEM32(ebp + (-0x8)) = eax; /* 0x2B06EC55: mov dword ptr [ebp - 8], eax */ 10997 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06EEED; /* 0x2B06EC58: je 0x2b06eeed */ 10998 L_2B06EC5E: 10999 /* test HI8(eax), 8 */ /* 0x2B06EC5E: test ah, 8 */ 11000 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(8) << 24; 11001 _cf = 0; 11002 _flag_k = FK_NARROW(FK_TEST, 24); 11003 MEM8(0x2B0EEE84) = (uint8_t)(0); /* 0x2B06EC61: mov byte ptr [0x2b0eee84], 0 */ 11004 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EC9A; /* 0x2B06EC68: je 0x2b06ec9a */ 11005 L_2B06EC6A: 11006 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11007 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EC6A: or ecx, 0xffffffff */ 11008 _cf = 0; 11009 _flag_k = FK_TEST; 11010 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11011 eax = 0; /* 0x2B06EC6D: xor eax, eax */ 11012 _cf = 0; 11013 _flag_k = FK_TEST; 11014 edi = 0x2B0EB60Cu; /* 0x2B06EC6F: mov edi, 0x2b0eb60c */ 11015 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; } /* 0x2B06EC74: repne scasb al, byte ptr es:[edi] */ 11016 ecx = ~ecx; /* 0x2B06EC76: not ecx */ 11017 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 11018 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11019 edi = edi - ecx; /* 0x2B06EC78: sub edi, ecx */ 11020 _flag_k = FK_CMP; 11021 edx = ecx; /* 0x2B06EC7A: mov edx, ecx */ 11022 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11023 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EC7C: or ecx, 0xffffffff */ 11024 _cf = 0; 11025 _flag_k = FK_TEST; 11026 esi = edi; /* 0x2B06EC7F: mov esi, edi */ 11027 edi = 0x2B0EEE84u; /* 0x2B06EC81: mov edi, 0x2b0eee84 */ 11028 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; } /* 0x2B06EC86: repne scasb al, byte ptr es:[edi] */ 11029 eax = MEM32(ebp + (-0x8)); /* 0x2B06EC88: mov eax, dword ptr [ebp - 8] */ 11030 ecx = edx; /* 0x2B06EC8B: mov ecx, edx */ 11031 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EC8D: shr ecx, 2 */ 11032 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11033 ecx = ecx >> 2u; /* 0x2B06EC8D: shr ecx, 2 */ 11034 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 11035 edi = edi - 1; /* 0x2B06EC90: dec edi */ 11036 _flag_k = FK_DEC; 11037 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EC91: 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; } 11038 ecx = edx; /* 0x2B06EC93: mov ecx, edx */ 11039 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 11040 ecx = ecx & 3; /* 0x2B06EC95: and ecx, 3 */ 11041 _cf = 0; 11042 _flag_k = FK_TEST; 11043 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EC98: 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; } 11044 L_2B06EC9A: 11045 /* test HI8(eax), 0x10u */ /* 0x2B06EC9A: test ah, 0x10 */ 11046 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x10u) << 24; 11047 _cf = 0; 11048 _flag_k = FK_NARROW(FK_TEST, 24); 11049 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06ECCF; /* 0x2B06EC9D: je 0x2b06eccf */ 11050 L_2B06EC9F: 11051 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11052 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EC9F: or ecx, 0xffffffff */ 11053 _cf = 0; 11054 _flag_k = FK_TEST; 11055 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11056 eax = 0; /* 0x2B06ECA2: xor eax, eax */ 11057 _cf = 0; 11058 _flag_k = FK_TEST; 11059 edi = 0x2B0EB600u; /* 0x2B06ECA4: mov edi, 0x2b0eb600 */ 11060 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; } /* 0x2B06ECA9: repne scasb al, byte ptr es:[edi] */ 11061 ecx = ~ecx; /* 0x2B06ECAB: not ecx */ 11062 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 11063 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11064 edi = edi - ecx; /* 0x2B06ECAD: sub edi, ecx */ 11065 _flag_k = FK_CMP; 11066 edx = ecx; /* 0x2B06ECAF: mov edx, ecx */ 11067 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11068 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ECB1: or ecx, 0xffffffff */ 11069 _cf = 0; 11070 _flag_k = FK_TEST; 11071 esi = edi; /* 0x2B06ECB4: mov esi, edi */ 11072 edi = 0x2B0EEE84u; /* 0x2B06ECB6: mov edi, 0x2b0eee84 */ 11073 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; } /* 0x2B06ECBB: repne scasb al, byte ptr es:[edi] */ 11074 eax = MEM32(ebp + (-0x8)); /* 0x2B06ECBD: mov eax, dword ptr [ebp - 8] */ 11075 ecx = edx; /* 0x2B06ECC0: mov ecx, edx */ 11076 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06ECC2: shr ecx, 2 */ 11077 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11078 ecx = ecx >> 2u; /* 0x2B06ECC2: shr ecx, 2 */ 11079 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 11080 edi = edi - 1; /* 0x2B06ECC5: dec edi */ 11081 _flag_k = FK_DEC; 11082 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06ECC6: 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; } 11083 ecx = edx; /* 0x2B06ECC8: mov ecx, edx */ 11084 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 11085 ecx = ecx & 3; /* 0x2B06ECCA: and ecx, 3 */ 11086 _cf = 0; 11087 _flag_k = FK_TEST; 11088 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06ECCD: 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; } 11089 L_2B06ECCF: 11090 /* test HI8(eax), 0x20u */ /* 0x2B06ECCF: test ah, 0x20 */ 11091 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x20u) << 24; 11092 _cf = 0; 11093 _flag_k = FK_NARROW(FK_TEST, 24); 11094 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06ED04; /* 0x2B06ECD2: je 0x2b06ed04 */ 11095 L_2B06ECD4: 11096 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11097 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ECD4: or ecx, 0xffffffff */ 11098 _cf = 0; 11099 _flag_k = FK_TEST; 11100 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11101 eax = 0; /* 0x2B06ECD7: xor eax, eax */ 11102 _cf = 0; 11103 _flag_k = FK_TEST; 11104 edi = 0x2B0EB5F4u; /* 0x2B06ECD9: mov edi, 0x2b0eb5f4 */ 11105 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; } /* 0x2B06ECDE: repne scasb al, byte ptr es:[edi] */ 11106 ecx = ~ecx; /* 0x2B06ECE0: not ecx */ 11107 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 11108 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11109 edi = edi - ecx; /* 0x2B06ECE2: sub edi, ecx */ 11110 _flag_k = FK_CMP; 11111 edx = ecx; /* 0x2B06ECE4: mov edx, ecx */ 11112 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11113 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ECE6: or ecx, 0xffffffff */ 11114 _cf = 0; 11115 _flag_k = FK_TEST; 11116 esi = edi; /* 0x2B06ECE9: mov esi, edi */ 11117 edi = 0x2B0EEE84u; /* 0x2B06ECEB: mov edi, 0x2b0eee84 */ 11118 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; } /* 0x2B06ECF0: repne scasb al, byte ptr es:[edi] */ 11119 eax = MEM32(ebp + (-0x8)); /* 0x2B06ECF2: mov eax, dword ptr [ebp - 8] */ 11120 ecx = edx; /* 0x2B06ECF5: mov ecx, edx */ 11121 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06ECF7: shr ecx, 2 */ 11122 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11123 ecx = ecx >> 2u; /* 0x2B06ECF7: shr ecx, 2 */ 11124 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 11125 edi = edi - 1; /* 0x2B06ECFA: dec edi */ 11126 _flag_k = FK_DEC; 11127 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06ECFB: 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; } 11128 ecx = edx; /* 0x2B06ECFD: mov ecx, edx */ 11129 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 11130 ecx = ecx & 3; /* 0x2B06ECFF: and ecx, 3 */ 11131 _cf = 0; 11132 _flag_k = FK_TEST; 11133 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06ED02: 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; } 11134 L_2B06ED04: 11135 /* test HI8(eax), 0x40u */ /* 0x2B06ED04: test ah, 0x40 */ 11136 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 11137 _cf = 0; 11138 _flag_k = FK_NARROW(FK_TEST, 24); 11139 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06ED39; /* 0x2B06ED07: je 0x2b06ed39 */ 11140 L_2B06ED09: 11141 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11142 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED09: or ecx, 0xffffffff */ 11143 _cf = 0; 11144 _flag_k = FK_TEST; 11145 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11146 eax = 0; /* 0x2B06ED0C: xor eax, eax */ 11147 _cf = 0; 11148 _flag_k = FK_TEST; 11149 edi = 0x2B0EB5ECu; /* 0x2B06ED0E: mov edi, 0x2b0eb5ec */ 11150 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; } /* 0x2B06ED13: repne scasb al, byte ptr es:[edi] */ 11151 ecx = ~ecx; /* 0x2B06ED15: not ecx */ 11152 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 11153 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11154 edi = edi - ecx; /* 0x2B06ED17: sub edi, ecx */ 11155 _flag_k = FK_CMP; 11156 edx = ecx; /* 0x2B06ED19: mov edx, ecx */ 11157 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11158 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED1B: or ecx, 0xffffffff */ 11159 _cf = 0; 11160 _flag_k = FK_TEST; 11161 esi = edi; /* 0x2B06ED1E: mov esi, edi */ 11162 edi = 0x2B0EEE84u; /* 0x2B06ED20: mov edi, 0x2b0eee84 */ 11163 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; } /* 0x2B06ED25: repne scasb al, byte ptr es:[edi] */ 11164 eax = MEM32(ebp + (-0x8)); /* 0x2B06ED27: mov eax, dword ptr [ebp - 8] */ 11165 ecx = edx; /* 0x2B06ED2A: mov ecx, edx */ 11166 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06ED2C: shr ecx, 2 */ 11167 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11168 ecx = ecx >> 2u; /* 0x2B06ED2C: shr ecx, 2 */ 11169 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 11170 edi = edi - 1; /* 0x2B06ED2F: dec edi */ 11171 _flag_k = FK_DEC; 11172 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06ED30: 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; } 11173 ecx = edx; /* 0x2B06ED32: mov ecx, edx */ 11174 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 11175 ecx = ecx & 3; /* 0x2B06ED34: and ecx, 3 */ 11176 _cf = 0; 11177 _flag_k = FK_TEST; 11178 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06ED37: 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; } 11179 L_2B06ED39: 11180 /* test HI8(eax), 0x80u */ /* 0x2B06ED39: test ah, 0x80 */ 11181 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x80u) << 24; 11182 _cf = 0; 11183 _flag_k = FK_NARROW(FK_TEST, 24); 11184 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06ED6E; /* 0x2B06ED3C: je 0x2b06ed6e */ 11185 L_2B06ED3E: 11186 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11187 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED3E: or ecx, 0xffffffff */ 11188 _cf = 0; 11189 _flag_k = FK_TEST; 11190 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11191 eax = 0; /* 0x2B06ED41: xor eax, eax */ 11192 _cf = 0; 11193 _flag_k = FK_TEST; 11194 edi = 0x2B0EB5E0u; /* 0x2B06ED43: mov edi, 0x2b0eb5e0 */ 11195 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; } /* 0x2B06ED48: repne scasb al, byte ptr es:[edi] */ 11196 ecx = ~ecx; /* 0x2B06ED4A: not ecx */ 11197 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 11198 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11199 edi = edi - ecx; /* 0x2B06ED4C: sub edi, ecx */ 11200 _flag_k = FK_CMP; 11201 edx = ecx; /* 0x2B06ED4E: mov edx, ecx */ 11202 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11203 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED50: or ecx, 0xffffffff */ 11204 _cf = 0; 11205 _flag_k = FK_TEST; 11206 esi = edi; /* 0x2B06ED53: mov esi, edi */ 11207 edi = 0x2B0EEE84u; /* 0x2B06ED55: mov edi, 0x2b0eee84 */ 11208 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; } /* 0x2B06ED5A: repne scasb al, byte ptr es:[edi] */ 11209 eax = MEM32(ebp + (-0x8)); /* 0x2B06ED5C: mov eax, dword ptr [ebp - 8] */ 11210 ecx = edx; /* 0x2B06ED5F: mov ecx, edx */ 11211 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06ED61: shr ecx, 2 */ 11212 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11213 ecx = ecx >> 2u; /* 0x2B06ED61: shr ecx, 2 */ 11214 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 11215 edi = edi - 1; /* 0x2B06ED64: dec edi */ 11216 _flag_k = FK_DEC; 11217 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06ED65: 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; } 11218 ecx = edx; /* 0x2B06ED67: mov ecx, edx */ 11219 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 11220 ecx = ecx & 3; /* 0x2B06ED69: and ecx, 3 */ 11221 _cf = 0; 11222 _flag_k = FK_TEST; 11223 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06ED6C: 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; } 11224 L_2B06ED6E: 11225 /* test eax, 0x00020000u */ /* 0x2B06ED6E: test eax, 0x20000 */ 11226 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x00020000u); 11227 _cf = 0; 11228 _flag_k = FK_TEST; 11229 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EDA5; /* 0x2B06ED73: je 0x2b06eda5 */ 11230 L_2B06ED75: 11231 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11232 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED75: or ecx, 0xffffffff */ 11233 _cf = 0; 11234 _flag_k = FK_TEST; 11235 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11236 eax = 0; /* 0x2B06ED78: xor eax, eax */ 11237 _cf = 0; 11238 _flag_k = FK_TEST; 11239 edi = 0x2B0EB5D0u; /* 0x2B06ED7A: mov edi, 0x2b0eb5d0 */ 11240 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; } /* 0x2B06ED7F: repne scasb al, byte ptr es:[edi] */ 11241 ecx = ~ecx; /* 0x2B06ED81: not ecx */ 11242 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 11243 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11244 edi = edi - ecx; /* 0x2B06ED83: sub edi, ecx */ 11245 _flag_k = FK_CMP; 11246 edx = ecx; /* 0x2B06ED85: mov edx, ecx */ 11247 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11248 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED87: or ecx, 0xffffffff */ 11249 _cf = 0; 11250 _flag_k = FK_TEST; 11251 esi = edi; /* 0x2B06ED8A: mov esi, edi */ 11252 edi = 0x2B0EEE84u; /* 0x2B06ED8C: mov edi, 0x2b0eee84 */ 11253 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; } /* 0x2B06ED91: repne scasb al, byte ptr es:[edi] */ 11254 eax = MEM32(ebp + (-0x8)); /* 0x2B06ED93: mov eax, dword ptr [ebp - 8] */ 11255 ecx = edx; /* 0x2B06ED96: mov ecx, edx */ 11256 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06ED98: shr ecx, 2 */ 11257 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11258 ecx = ecx >> 2u; /* 0x2B06ED98: shr ecx, 2 */ 11259 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 11260 edi = edi - 1; /* 0x2B06ED9B: dec edi */ 11261 _flag_k = FK_DEC; 11262 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06ED9C: 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; } 11263 ecx = edx; /* 0x2B06ED9E: mov ecx, edx */ 11264 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 11265 ecx = ecx & 3; /* 0x2B06EDA0: and ecx, 3 */ 11266 _cf = 0; 11267 _flag_k = FK_TEST; 11268 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EDA3: 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; } 11269 L_2B06EDA5: 11270 /* test eax, 0x00040000u */ /* 0x2B06EDA5: test eax, 0x40000 */ 11271 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x00040000u); 11272 _cf = 0; 11273 _flag_k = FK_TEST; 11274 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EDD9; /* 0x2B06EDAA: je 0x2b06edd9 */ 11275 L_2B06EDAC: 11276 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11277 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EDAC: or ecx, 0xffffffff */ 11278 _cf = 0; 11279 _flag_k = FK_TEST; 11280 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11281 eax = 0; /* 0x2B06EDAF: xor eax, eax */ 11282 _cf = 0; 11283 _flag_k = FK_TEST; 11284 edi = 0x2B0EB5C4u; /* 0x2B06EDB1: mov edi, 0x2b0eb5c4 */ 11285 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; } /* 0x2B06EDB6: repne scasb al, byte ptr es:[edi] */ 11286 ecx = ~ecx; /* 0x2B06EDB8: not ecx */ 11287 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 11288 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11289 edi = edi - ecx; /* 0x2B06EDBA: sub edi, ecx */ 11290 _flag_k = FK_CMP; 11291 edx = ecx; /* 0x2B06EDBC: mov edx, ecx */ 11292 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11293 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EDBE: or ecx, 0xffffffff */ 11294 _cf = 0; 11295 _flag_k = FK_TEST; 11296 esi = edi; /* 0x2B06EDC1: mov esi, edi */ 11297 edi = 0x2B0EEE84u; /* 0x2B06EDC3: mov edi, 0x2b0eee84 */ 11298 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; } /* 0x2B06EDC8: repne scasb al, byte ptr es:[edi] */ 11299 ecx = edx; /* 0x2B06EDCA: mov ecx, edx */ 11300 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EDCC: shr ecx, 2 */ 11301 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11302 ecx = ecx >> 2u; /* 0x2B06EDCC: shr ecx, 2 */ 11303 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 11304 edi = edi - 1; /* 0x2B06EDCF: dec edi */ 11305 _flag_k = FK_DEC; 11306 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EDD0: 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; } 11307 ecx = edx; /* 0x2B06EDD2: mov ecx, edx */ 11308 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 11309 ecx = ecx & 3; /* 0x2B06EDD4: and ecx, 3 */ 11310 _cf = 0; 11311 _flag_k = FK_TEST; 11312 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EDD7: 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; } 11313 L_2B06EDD9: 11314 SET_LO8(eax, MEM8(0x2B0EEE84)); /* 0x2B06EDD9: mov al, byte ptr [0x2b0eee84] */ 11315 /* test LO8(eax), LO8(eax) */ /* 0x2B06EDDE: test al, al */ 11316 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11317 _cf = 0; 11318 _flag_k = FK_NARROW(FK_TEST, 24); 11319 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EEED; /* 0x2B06EDE0: je 0x2b06eeed */ 11320 L_2B06EDE6: 11321 ecx = MEM32(ebx + 0x28); /* 0x2B06EDE6: mov ecx, dword ptr [ebx + 0x28] */ 11322 PUSH32(esp, 0x13u); /* 0x2B06EDE9: push 0x13 */ 11323 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EDEB: push -1 */ 11324 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EDED: call dword ptr [0x2b0b5a74] */ 11325 RECOMP_FLAGS_IN(); 11326 esi = MEM32(ebx + 0x28); /* 0x2B06EDF3: mov esi, dword ptr [ebx + 0x28] */ 11327 edx = MEM32(esi + 0x8); /* 0x2B06EDF6: mov edx, dword ptr [esi + 8] */ 11328 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11329 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EDF9: or ecx, 0xffffffff */ 11330 _cf = 0; 11331 _flag_k = FK_TEST; 11332 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11333 eax = 0; /* 0x2B06EDFC: xor eax, eax */ 11334 _cf = 0; 11335 _flag_k = FK_TEST; 11336 edi = 0x2B0EB5B8u; /* 0x2B06EDFE: mov edi, 0x2b0eb5b8 */ 11337 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; } /* 0x2B06EE03: repne scasb al, byte ptr es:[edi] */ 11338 eax = MEM32(0x2B0B515C); /* 0x2B06EE05: mov eax, dword ptr [0x2b0b515c] */ 11339 ecx = ~ecx; /* 0x2B06EE0A: not ecx */ 11340 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 11341 ecx = ecx - 1; /* 0x2B06EE0C: dec ecx */ 11342 _flag_k = FK_DEC; 11343 edi = ecx; /* 0x2B06EE0D: mov edi, ecx */ 11344 ecx = MEM32(eax); /* 0x2B06EE0F: mov ecx, dword ptr [eax] */ 11345 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 11346 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11347 ecx = ecx - edx; /* 0x2B06EE11: sub ecx, edx */ 11348 _flag_k = FK_CMP; 11349 /* cmp ecx, edi */ /* 0x2B06EE13: cmp ecx, edi */ 11350 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 11351 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11352 _flag_k = FK_CMP; 11353 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EE15: mov dword ptr [ebp - 0x18], esi */ 11354 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EE20; /* 0x2B06EE18: ja 0x2b06ee20 */ 11355 L_2B06EE1A: 11356 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EE1A: call dword ptr [0x2b0b51a8] */ 11357 RECOMP_FLAGS_IN(); 11358 L_2B06EE20: 11359 /* test edi, edi */ /* 0x2B06EE20: test edi, edi */ 11360 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 11361 _cf = 0; 11362 _flag_k = FK_TEST; 11363 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EE6A; /* 0x2B06EE22: jbe 0x2b06ee6a */ 11364 L_2B06EE24: 11365 edx = MEM32(esi + 0x8); /* 0x2B06EE24: mov edx, dword ptr [esi + 8] */ 11366 eax = edi; /* 0x2B06EE27: mov eax, edi */ 11367 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 11368 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11369 eax = eax + edx; /* 0x2B06EE29: add eax, edx */ 11370 _flag_k = FK_ADD; 11371 PUSH32(esp, 0); /* 0x2B06EE2B: push 0 */ 11372 PUSH32(esp, eax); /* 0x2B06EE2D: push eax */ 11373 ecx = esi; /* 0x2B06EE2E: mov ecx, esi */ 11374 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EE30: mov dword ptr [ebp - 0x14], eax */ 11375 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EE33: call dword ptr [0x2b0b5154] */ 11376 RECOMP_FLAGS_IN(); 11377 /* test LO8(eax), LO8(eax) */ /* 0x2B06EE39: test al, al */ 11378 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11379 _cf = 0; 11380 _flag_k = FK_NARROW(FK_TEST, 24); 11381 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EE6A; /* 0x2B06EE3B: je 0x2b06ee6a */ 11382 L_2B06EE3D: 11383 eax = MEM32(ebp + (-0x18)); /* 0x2B06EE3D: mov eax, dword ptr [ebp - 0x18] */ 11384 edx = MEM32(eax + 0x4); /* 0x2B06EE40: mov edx, dword ptr [eax + 4] */ 11385 ecx = edi; /* 0x2B06EE43: mov ecx, edi */ 11386 edi = MEM32(eax + 0x8); /* 0x2B06EE45: mov edi, dword ptr [eax + 8] */ 11387 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 11388 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11389 edi = edi + edx; /* 0x2B06EE48: add edi, edx */ 11390 _flag_k = FK_ADD; 11391 edx = ecx; /* 0x2B06EE4A: mov edx, ecx */ 11392 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EE4C: shr ecx, 2 */ 11393 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11394 ecx = ecx >> 2u; /* 0x2B06EE4C: shr ecx, 2 */ 11395 esi = 0x2B0EB5B8u; /* 0x2B06EE4F: mov esi, 0x2b0eb5b8 */ 11396 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EE54: 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; } 11397 ecx = edx; /* 0x2B06EE56: mov ecx, edx */ 11398 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 11399 ecx = ecx & 3; /* 0x2B06EE58: and ecx, 3 */ 11400 _cf = 0; 11401 _flag_k = FK_TEST; 11402 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EE5B: 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; } 11403 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EE5D: mov ecx, dword ptr [ebp - 0x14] */ 11404 MEM32(eax + 0x8) = ecx; /* 0x2B06EE60: mov dword ptr [eax + 8], ecx */ 11405 eax = MEM32(eax + 0x4); /* 0x2B06EE63: mov eax, dword ptr [eax + 4] */ 11406 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EE66: mov byte ptr [ecx + eax], 0 */ 11407 L_2B06EE6A: 11408 ecx = MEM32(ebx + 0x28); /* 0x2B06EE6A: mov ecx, dword ptr [ebx + 0x28] */ 11409 PUSH32(esp, 0x14u); /* 0x2B06EE6D: push 0x14 */ 11410 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EE6F: push -1 */ 11411 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EE71: call dword ptr [0x2b0b5a74] */ 11412 RECOMP_FLAGS_IN(); 11413 esi = MEM32(ebx + 0x28); /* 0x2B06EE77: mov esi, dword ptr [ebx + 0x28] */ 11414 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11415 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EE7A: or ecx, 0xffffffff */ 11416 _cf = 0; 11417 _flag_k = FK_TEST; 11418 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11419 eax = 0; /* 0x2B06EE7D: xor eax, eax */ 11420 _cf = 0; 11421 _flag_k = FK_TEST; 11422 edi = 0x2B0EEE84u; /* 0x2B06EE7F: mov edi, 0x2b0eee84 */ 11423 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; } /* 0x2B06EE84: repne scasb al, byte ptr es:[edi] */ 11424 ecx = ~ecx; /* 0x2B06EE86: not ecx */ 11425 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 11426 ecx = ecx - 1; /* 0x2B06EE88: dec ecx */ 11427 _flag_k = FK_DEC; 11428 edi = ecx; /* 0x2B06EE89: mov edi, ecx */ 11429 ecx = MEM32(0x2B0B515C); /* 0x2B06EE8B: mov ecx, dword ptr [0x2b0b515c] */ 11430 edx = MEM32(ecx); /* 0x2B06EE91: mov edx, dword ptr [ecx] */ 11431 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11432 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11433 edx = edx - MEM32(esi + 0x8); /* 0x2B06EE93: sub edx, dword ptr [esi + 8] */ 11434 _flag_k = FK_CMP; 11435 /* cmp edx, edi */ /* 0x2B06EE96: cmp edx, edi */ 11436 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 11437 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11438 _flag_k = FK_CMP; 11439 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EE98: mov dword ptr [ebp - 0x18], esi */ 11440 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EEA3; /* 0x2B06EE9B: ja 0x2b06eea3 */ 11441 L_2B06EE9D: 11442 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EE9D: call dword ptr [0x2b0b51a8] */ 11443 RECOMP_FLAGS_IN(); 11444 L_2B06EEA3: 11445 /* test edi, edi */ /* 0x2B06EEA3: test edi, edi */ 11446 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 11447 _cf = 0; 11448 _flag_k = FK_TEST; 11449 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EEED; /* 0x2B06EEA5: jbe 0x2b06eeed */ 11450 L_2B06EEA7: 11451 edx = MEM32(esi + 0x8); /* 0x2B06EEA7: mov edx, dword ptr [esi + 8] */ 11452 eax = edi; /* 0x2B06EEAA: mov eax, edi */ 11453 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 11454 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11455 eax = eax + edx; /* 0x2B06EEAC: add eax, edx */ 11456 _flag_k = FK_ADD; 11457 PUSH32(esp, 0); /* 0x2B06EEAE: push 0 */ 11458 PUSH32(esp, eax); /* 0x2B06EEB0: push eax */ 11459 ecx = esi; /* 0x2B06EEB1: mov ecx, esi */ 11460 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EEB3: mov dword ptr [ebp - 0x14], eax */ 11461 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EEB6: call dword ptr [0x2b0b5154] */ 11462 RECOMP_FLAGS_IN(); 11463 /* test LO8(eax), LO8(eax) */ /* 0x2B06EEBC: test al, al */ 11464 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11465 _cf = 0; 11466 _flag_k = FK_NARROW(FK_TEST, 24); 11467 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EEED; /* 0x2B06EEBE: je 0x2b06eeed */ 11468 L_2B06EEC0: 11469 eax = MEM32(ebp + (-0x18)); /* 0x2B06EEC0: mov eax, dword ptr [ebp - 0x18] */ 11470 edx = MEM32(eax + 0x4); /* 0x2B06EEC3: mov edx, dword ptr [eax + 4] */ 11471 ecx = edi; /* 0x2B06EEC6: mov ecx, edi */ 11472 edi = MEM32(eax + 0x8); /* 0x2B06EEC8: mov edi, dword ptr [eax + 8] */ 11473 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 11474 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11475 edi = edi + edx; /* 0x2B06EECB: add edi, edx */ 11476 _flag_k = FK_ADD; 11477 edx = ecx; /* 0x2B06EECD: mov edx, ecx */ 11478 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EECF: shr ecx, 2 */ 11479 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11480 ecx = ecx >> 2u; /* 0x2B06EECF: shr ecx, 2 */ 11481 esi = 0x2B0EEE84u; /* 0x2B06EED2: mov esi, 0x2b0eee84 */ 11482 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EED7: 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; } 11483 ecx = edx; /* 0x2B06EED9: mov ecx, edx */ 11484 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 11485 ecx = ecx & 3; /* 0x2B06EEDB: and ecx, 3 */ 11486 _cf = 0; 11487 _flag_k = FK_TEST; 11488 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EEDE: 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; } 11489 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EEE0: mov ecx, dword ptr [ebp - 0x14] */ 11490 MEM32(eax + 0x8) = ecx; /* 0x2B06EEE3: mov dword ptr [eax + 8], ecx */ 11491 eax = MEM32(eax + 0x4); /* 0x2B06EEE6: mov eax, dword ptr [eax + 4] */ 11492 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EEE9: mov byte ptr [ecx + eax], 0 */ 11493 L_2B06EEED: 11494 ecx = MEM32(ebx + 0x28); /* 0x2B06EEED: mov ecx, dword ptr [ebx + 0x28] */ 11495 esi = MEM32(ebp + 0x8); /* 0x2B06EEF0: mov esi, dword ptr [ebp + 8] */ 11496 PUSH32(esp, ecx); /* 0x2B06EEF3: push ecx */ 11497 PUSH32(esp, esi); /* 0x2B06EEF4: push esi */ 11498 ecx = ebx; /* 0x2B06EEF5: mov ecx, ebx */ 11499 RECOMP_ICALL(0x2B073CB0u); /* 0x2B06EEF7: call 0x2b073cb0 */ /* not lifted */ 11500 RECOMP_FLAGS_IN(); 11501 edx = MEM32(ebx + 0x28); /* 0x2B06EEFC: mov edx, dword ptr [ebx + 0x28] */ 11502 PUSH32(esp, edx); /* 0x2B06EEFF: push edx */ 11503 PUSH32(esp, esi); /* 0x2B06EF00: push esi */ 11504 ecx = ebx; /* 0x2B06EF01: mov ecx, ebx */ 11505 RECOMP_ICALL(0x2B073CF0u); /* 0x2B06EF03: call 0x2b073cf0 */ /* not lifted */ 11506 RECOMP_FLAGS_IN(); 11507 eax = MEM32(ebx + 0x28); /* 0x2B06EF08: mov eax, dword ptr [ebx + 0x28] */ 11508 PUSH32(esp, eax); /* 0x2B06EF0B: push eax */ 11509 PUSH32(esp, esi); /* 0x2B06EF0C: push esi */ 11510 ecx = ebx; /* 0x2B06EF0D: mov ecx, ebx */ 11511 RECOMP_ICALL(0x2B073D30u); /* 0x2B06EF0F: call 0x2b073d30 */ /* not lifted */ 11512 RECOMP_FLAGS_IN(); 11513 ecx = MEM32(ebx + 0x28); /* 0x2B06EF14: mov ecx, dword ptr [ebx + 0x28] */ 11514 PUSH32(esp, ecx); /* 0x2B06EF17: push ecx */ 11515 PUSH32(esp, esi); /* 0x2B06EF18: push esi */ 11516 ecx = ebx; /* 0x2B06EF19: mov ecx, ebx */ 11517 RECOMP_ICALL(0x2B073F90u); /* 0x2B06EF1B: call 0x2b073f90 */ /* not lifted */ 11518 RECOMP_FLAGS_IN(); 11519 PUSH32(esp, 0x1B4u); /* 0x2B06EF20: push 0x1b4 */ 11520 PUSH32(esp, esi); /* 0x2B06EF25: push esi */ 11521 ecx = ebx; /* 0x2B06EF26: mov ecx, ebx */ 11522 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06EF28: call 0x2b0735d0 */ /* not lifted */ 11523 RECOMP_FLAGS_IN(); 11524 /* cmp eax, 0x499602D2u */ /* 0x2B06EF2D: cmp eax, 0x499602d2 */ 11525 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 11526 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11527 _flag_k = FK_CMP; 11528 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06F056; /* 0x2B06EF32: je 0x2b06f056 */ 11529 L_2B06EF38: 11530 PUSH32(esp, eax); /* 0x2B06EF38: push eax */ 11531 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06EF39: call dword ptr [0x2b0b5d6c] */ 11532 RECOMP_FLAGS_IN(); 11533 ecx = eax; /* 0x2B06EF3F: mov ecx, eax */ 11534 RECOMP_ICALL(MEM32(0x2B0B5DB4)); /* 0x2B06EF41: call dword ptr [0x2b0b5db4] */ 11535 RECOMP_FLAGS_IN(); 11536 /* test eax, eax */ /* 0x2B06EF47: test eax, eax */ 11537 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11538 _cf = 0; 11539 _flag_k = FK_TEST; 11540 MEM32(ebp + (-0xC)) = eax; /* 0x2B06EF49: mov dword ptr [ebp - 0xc], eax */ 11541 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F056; /* 0x2B06EF4C: je 0x2b06f056 */ 11542 L_2B06EF52: 11543 ecx = MEM32(ebx + 0x28); /* 0x2B06EF52: mov ecx, dword ptr [ebx + 0x28] */ 11544 PUSH32(esp, 0x13u); /* 0x2B06EF55: push 0x13 */ 11545 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EF57: push -1 */ 11546 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EF59: call dword ptr [0x2b0b5a74] */ 11547 RECOMP_FLAGS_IN(); 11548 edx = MEM32(0x2B0B515C); /* 0x2B06EF5F: mov edx, dword ptr [0x2b0b515c] */ 11549 esi = MEM32(ebx + 0x28); /* 0x2B06EF65: mov esi, dword ptr [ebx + 0x28] */ 11550 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11551 eax = 0; /* 0x2B06EF68: xor eax, eax */ 11552 _cf = 0; 11553 _flag_k = FK_TEST; 11554 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11555 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EF6A: or ecx, 0xffffffff */ 11556 _cf = 0; 11557 _flag_k = FK_TEST; 11558 edi = 0x2B0EB5ACu; /* 0x2B06EF6D: mov edi, 0x2b0eb5ac */ 11559 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; } /* 0x2B06EF72: repne scasb al, byte ptr es:[edi] */ 11560 eax = MEM32(edx); /* 0x2B06EF74: mov eax, dword ptr [edx] */ 11561 edx = MEM32(esi + 0x8); /* 0x2B06EF76: mov edx, dword ptr [esi + 8] */ 11562 ecx = ~ecx; /* 0x2B06EF79: not ecx */ 11563 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 11564 ecx = ecx - 1; /* 0x2B06EF7B: dec ecx */ 11565 _flag_k = FK_DEC; 11566 edi = ecx; /* 0x2B06EF7C: mov edi, ecx */ 11567 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 11568 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11569 eax = eax - edx; /* 0x2B06EF7E: sub eax, edx */ 11570 _flag_k = FK_CMP; 11571 /* cmp eax, edi */ /* 0x2B06EF80: cmp eax, edi */ 11572 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 11573 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11574 _flag_k = FK_CMP; 11575 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EF82: mov dword ptr [ebp - 0x18], esi */ 11576 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EF8D; /* 0x2B06EF85: ja 0x2b06ef8d */ 11577 L_2B06EF87: 11578 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EF87: call dword ptr [0x2b0b51a8] */ 11579 RECOMP_FLAGS_IN(); 11580 L_2B06EF8D: 11581 /* test edi, edi */ /* 0x2B06EF8D: test edi, edi */ 11582 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 11583 _cf = 0; 11584 _flag_k = FK_TEST; 11585 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EFD7; /* 0x2B06EF8F: jbe 0x2b06efd7 */ 11586 L_2B06EF91: 11587 edx = MEM32(esi + 0x8); /* 0x2B06EF91: mov edx, dword ptr [esi + 8] */ 11588 eax = edi; /* 0x2B06EF94: mov eax, edi */ 11589 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 11590 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11591 eax = eax + edx; /* 0x2B06EF96: add eax, edx */ 11592 _flag_k = FK_ADD; 11593 PUSH32(esp, 0); /* 0x2B06EF98: push 0 */ 11594 PUSH32(esp, eax); /* 0x2B06EF9A: push eax */ 11595 ecx = esi; /* 0x2B06EF9B: mov ecx, esi */ 11596 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EF9D: mov dword ptr [ebp - 0x14], eax */ 11597 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EFA0: call dword ptr [0x2b0b5154] */ 11598 RECOMP_FLAGS_IN(); 11599 /* test LO8(eax), LO8(eax) */ /* 0x2B06EFA6: test al, al */ 11600 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11601 _cf = 0; 11602 _flag_k = FK_NARROW(FK_TEST, 24); 11603 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EFD7; /* 0x2B06EFA8: je 0x2b06efd7 */ 11604 L_2B06EFAA: 11605 eax = MEM32(ebp + (-0x18)); /* 0x2B06EFAA: mov eax, dword ptr [ebp - 0x18] */ 11606 edx = MEM32(eax + 0x4); /* 0x2B06EFAD: mov edx, dword ptr [eax + 4] */ 11607 ecx = edi; /* 0x2B06EFB0: mov ecx, edi */ 11608 edi = MEM32(eax + 0x8); /* 0x2B06EFB2: mov edi, dword ptr [eax + 8] */ 11609 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 11610 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11611 edi = edi + edx; /* 0x2B06EFB5: add edi, edx */ 11612 _flag_k = FK_ADD; 11613 edx = ecx; /* 0x2B06EFB7: mov edx, ecx */ 11614 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EFB9: shr ecx, 2 */ 11615 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11616 ecx = ecx >> 2u; /* 0x2B06EFB9: shr ecx, 2 */ 11617 esi = 0x2B0EB5ACu; /* 0x2B06EFBC: mov esi, 0x2b0eb5ac */ 11618 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EFC1: 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; } 11619 ecx = edx; /* 0x2B06EFC3: mov ecx, edx */ 11620 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 11621 ecx = ecx & 3; /* 0x2B06EFC5: and ecx, 3 */ 11622 _cf = 0; 11623 _flag_k = FK_TEST; 11624 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EFC8: 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; } 11625 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EFCA: mov ecx, dword ptr [ebp - 0x14] */ 11626 MEM32(eax + 0x8) = ecx; /* 0x2B06EFCD: mov dword ptr [eax + 8], ecx */ 11627 eax = MEM32(eax + 0x4); /* 0x2B06EFD0: mov eax, dword ptr [eax + 4] */ 11628 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EFD3: mov byte ptr [ecx + eax], 0 */ 11629 L_2B06EFD7: 11630 ecx = MEM32(ebx + 0x28); /* 0x2B06EFD7: mov ecx, dword ptr [ebx + 0x28] */ 11631 PUSH32(esp, 0x14u); /* 0x2B06EFDA: push 0x14 */ 11632 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EFDC: push -1 */ 11633 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EFDE: call dword ptr [0x2b0b5a74] */ 11634 RECOMP_FLAGS_IN(); 11635 edi = MEM32(ebp + (-0xC)); /* 0x2B06EFE4: mov edi, dword ptr [ebp - 0xc] */ 11636 esi = MEM32(ebx + 0x28); /* 0x2B06EFE7: mov esi, dword ptr [ebx + 0x28] */ 11637 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11638 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EFEA: or ecx, 0xffffffff */ 11639 _cf = 0; 11640 _flag_k = FK_TEST; 11641 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11642 eax = 0; /* 0x2B06EFED: xor eax, eax */ 11643 _cf = 0; 11644 _flag_k = FK_TEST; 11645 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; } /* 0x2B06EFEF: repne scasb al, byte ptr es:[edi] */ 11646 ecx = ~ecx; /* 0x2B06EFF1: not ecx */ 11647 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 11648 ecx = ecx - 1; /* 0x2B06EFF3: dec ecx */ 11649 _flag_k = FK_DEC; 11650 edi = ecx; /* 0x2B06EFF4: mov edi, ecx */ 11651 ecx = MEM32(0x2B0B515C); /* 0x2B06EFF6: mov ecx, dword ptr [0x2b0b515c] */ 11652 edx = MEM32(ecx); /* 0x2B06EFFC: mov edx, dword ptr [ecx] */ 11653 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11654 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11655 edx = edx - MEM32(esi + 0x8); /* 0x2B06EFFE: sub edx, dword ptr [esi + 8] */ 11656 _flag_k = FK_CMP; 11657 /* cmp edx, edi */ /* 0x2B06F001: cmp edx, edi */ 11658 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 11659 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11660 _flag_k = FK_CMP; 11661 MEM32(ebp + (-0x18)) = esi; /* 0x2B06F003: mov dword ptr [ebp - 0x18], esi */ 11662 if (CMP_A(_flag_a, _flag_b)) goto L_2B06F00E; /* 0x2B06F006: ja 0x2b06f00e */ 11663 L_2B06F008: 11664 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06F008: call dword ptr [0x2b0b51a8] */ 11665 RECOMP_FLAGS_IN(); 11666 L_2B06F00E: 11667 /* test edi, edi */ /* 0x2B06F00E: test edi, edi */ 11668 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 11669 _cf = 0; 11670 _flag_k = FK_TEST; 11671 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F056; /* 0x2B06F010: jbe 0x2b06f056 */ 11672 L_2B06F012: 11673 edx = MEM32(esi + 0x8); /* 0x2B06F012: mov edx, dword ptr [esi + 8] */ 11674 eax = edi; /* 0x2B06F015: mov eax, edi */ 11675 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 11676 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11677 eax = eax + edx; /* 0x2B06F017: add eax, edx */ 11678 _flag_k = FK_ADD; 11679 PUSH32(esp, 0); /* 0x2B06F019: push 0 */ 11680 PUSH32(esp, eax); /* 0x2B06F01B: push eax */ 11681 ecx = esi; /* 0x2B06F01C: mov ecx, esi */ 11682 MEM32(ebp + (-0x14)) = eax; /* 0x2B06F01E: mov dword ptr [ebp - 0x14], eax */ 11683 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06F021: call dword ptr [0x2b0b5154] */ 11684 RECOMP_FLAGS_IN(); 11685 /* test LO8(eax), LO8(eax) */ /* 0x2B06F027: test al, al */ 11686 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11687 _cf = 0; 11688 _flag_k = FK_NARROW(FK_TEST, 24); 11689 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F056; /* 0x2B06F029: je 0x2b06f056 */ 11690 L_2B06F02B: 11691 eax = MEM32(ebp + (-0x18)); /* 0x2B06F02B: mov eax, dword ptr [ebp - 0x18] */ 11692 edx = MEM32(eax + 0x4); /* 0x2B06F02E: mov edx, dword ptr [eax + 4] */ 11693 esi = MEM32(ebp + (-0xC)); /* 0x2B06F031: mov esi, dword ptr [ebp - 0xc] */ 11694 ecx = edi; /* 0x2B06F034: mov ecx, edi */ 11695 edi = MEM32(eax + 0x8); /* 0x2B06F036: mov edi, dword ptr [eax + 8] */ 11696 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 11697 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11698 edi = edi + edx; /* 0x2B06F039: add edi, edx */ 11699 _flag_k = FK_ADD; 11700 edx = ecx; /* 0x2B06F03B: mov edx, ecx */ 11701 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06F03D: shr ecx, 2 */ 11702 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11703 ecx = ecx >> 2u; /* 0x2B06F03D: shr ecx, 2 */ 11704 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06F040: 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; } 11705 ecx = edx; /* 0x2B06F042: mov ecx, edx */ 11706 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 11707 ecx = ecx & 3; /* 0x2B06F044: and ecx, 3 */ 11708 _cf = 0; 11709 _flag_k = FK_TEST; 11710 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06F047: 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; } 11711 ecx = MEM32(ebp + (-0x14)); /* 0x2B06F049: mov ecx, dword ptr [ebp - 0x14] */ 11712 MEM32(eax + 0x8) = ecx; /* 0x2B06F04C: mov dword ptr [eax + 8], ecx */ 11713 eax = MEM32(eax + 0x4); /* 0x2B06F04F: mov eax, dword ptr [eax + 4] */ 11714 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06F052: mov byte ptr [ecx + eax], 0 */ 11715 L_2B06F056: 11716 ecx = MEM32(ebx + 0x28); /* 0x2B06F056: mov ecx, dword ptr [ebx + 0x28] */ 11717 edx = MEM32(ebp + 0x8); /* 0x2B06F059: mov edx, dword ptr [ebp + 8] */ 11718 PUSH32(esp, ecx); /* 0x2B06F05C: push ecx */ 11719 PUSH32(esp, edx); /* 0x2B06F05D: push edx */ 11720 ecx = ebx; /* 0x2B06F05E: mov ecx, ebx */ 11721 RECOMP_ICALL(0x2B074010u); /* 0x2B06F060: call 0x2b074010 */ /* not lifted */ 11722 RECOMP_FLAGS_IN(); 11723 ecx = MEM32(0x2B0EF104); /* 0x2B06F065: mov ecx, dword ptr [0x2b0ef104] */ 11724 /* test ecx, ecx */ /* 0x2B06F06B: test ecx, ecx */ 11725 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11726 _cf = 0; 11727 _flag_k = FK_TEST; 11728 edi = POP32_VAL(esp); /* 0x2B06F06D: pop edi */ 11729 esi = POP32_VAL(esp); /* 0x2B06F06E: pop esi */ 11730 ebx = POP32_VAL(esp); /* 0x2B06F06F: pop ebx */ 11731 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F080; /* 0x2B06F070: je 0x2b06f080 */ 11732 L_2B06F072: 11733 eax = MEM32(ebp + (-0x10)); /* 0x2B06F072: mov eax, dword ptr [ebp - 0x10] */ 11734 PUSH32(esp, eax); /* 0x2B06F075: push eax */ 11735 PUSH32(esp, 0x2B0EB59Cu); /* 0x2B06F076: push 0x2b0eb59c */ 11736 RECOMP_ICALL(0x2B08D480u); /* 0x2B06F07B: call 0x2b08d480 */ /* not lifted */ 11737 RECOMP_FLAGS_IN(); 11738 L_2B06F080: 11739 esp = ebp; /* 0x2B06F080: mov esp, ebp */ 11740 ebp = POP32_VAL(esp); /* 0x2B06F082: pop ebp */ 11741 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06F083: ret 4 */ 11742 RECOMP_REGS_OUT(); 11743 } 11744 11745 void sub_2B06EBB4(void) { 11746 int _fpu_cmp = 0; 11747 uint32_t _cf = 0; 11748 int _df = 1; 11749 uint32_t _flag_k = FK_NONE; 11750 uint32_t _flag_a = 0, _flag_b = 0; 11751 uint32_t _itail_tgt = 0; 11752 RECOMP_REGS_LOCALS 11753 RECOMP_ENTER(0x2B06EBB4u); 11754 11755 L_2B06EBB4: 11756 ecx = MEM32(ebp + (-0x8)); /* 0x2B06EBB4: mov ecx, dword ptr [ebp - 8] */ 11757 PUSH32(esp, ecx); /* 0x2B06EBB7: push ecx */ 11758 PUSH32(esp, 0x2B0EB630u); /* 0x2B06EBB8: push 0x2b0eb630 */ 11759 PUSH32(esp, 0x2B0EEE84u); /* 0x2B06EBBD: push 0x2b0eee84 */ 11760 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B06EBC2: call dword ptr [0x2b0b51f0] */ 11761 RECOMP_FLAGS_IN(); 11762 edx = MEM32(0x2B0B515C); /* 0x2B06EBC8: mov edx, dword ptr [0x2b0b515c] */ 11763 esi = MEM32(ebx + 0x28); /* 0x2B06EBCE: mov esi, dword ptr [ebx + 0x28] */ 11764 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11765 eax = 0; /* 0x2B06EBD1: xor eax, eax */ 11766 _cf = 0; 11767 _flag_k = FK_TEST; 11768 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11769 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EBD3: or ecx, 0xffffffff */ 11770 _cf = 0; 11771 _flag_k = FK_TEST; 11772 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 11773 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11774 esp = esp + 0xCu; /* 0x2B06EBD6: add esp, 0xc */ 11775 _flag_k = FK_ADD; 11776 edi = 0x2B0EEE84u; /* 0x2B06EBD9: mov edi, 0x2b0eee84 */ 11777 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; } /* 0x2B06EBDE: repne scasb al, byte ptr es:[edi] */ 11778 eax = MEM32(edx); /* 0x2B06EBE0: mov eax, dword ptr [edx] */ 11779 edx = MEM32(esi + 0x8); /* 0x2B06EBE2: mov edx, dword ptr [esi + 8] */ 11780 ecx = ~ecx; /* 0x2B06EBE5: not ecx */ 11781 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 11782 ecx = ecx - 1; /* 0x2B06EBE7: dec ecx */ 11783 _flag_k = FK_DEC; 11784 edi = ecx; /* 0x2B06EBE8: mov edi, ecx */ 11785 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 11786 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11787 eax = eax - edx; /* 0x2B06EBEA: sub eax, edx */ 11788 _flag_k = FK_CMP; 11789 /* cmp eax, edi */ /* 0x2B06EBEC: cmp eax, edi */ 11790 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 11791 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11792 _flag_k = FK_CMP; 11793 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EBEE: mov dword ptr [ebp - 0x18], esi */ 11794 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EBF9; /* 0x2B06EBF1: ja 0x2b06ebf9 */ 11795 L_2B06EBF3: 11796 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EBF3: call dword ptr [0x2b0b51a8] */ 11797 RECOMP_FLAGS_IN(); 11798 L_2B06EBF9: 11799 /* test edi, edi */ /* 0x2B06EBF9: test edi, edi */ 11800 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 11801 _cf = 0; 11802 _flag_k = FK_TEST; 11803 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EC43; /* 0x2B06EBFB: jbe 0x2b06ec43 */ 11804 L_2B06EBFD: 11805 edx = MEM32(esi + 0x8); /* 0x2B06EBFD: mov edx, dword ptr [esi + 8] */ 11806 eax = edi; /* 0x2B06EC00: mov eax, edi */ 11807 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 11808 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11809 eax = eax + edx; /* 0x2B06EC02: add eax, edx */ 11810 _flag_k = FK_ADD; 11811 PUSH32(esp, 0); /* 0x2B06EC04: push 0 */ 11812 PUSH32(esp, eax); /* 0x2B06EC06: push eax */ 11813 ecx = esi; /* 0x2B06EC07: mov ecx, esi */ 11814 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EC09: mov dword ptr [ebp - 0x14], eax */ 11815 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EC0C: call dword ptr [0x2b0b5154] */ 11816 RECOMP_FLAGS_IN(); 11817 /* test LO8(eax), LO8(eax) */ /* 0x2B06EC12: test al, al */ 11818 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11819 _cf = 0; 11820 _flag_k = FK_NARROW(FK_TEST, 24); 11821 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EC43; /* 0x2B06EC14: je 0x2b06ec43 */ 11822 L_2B06EC16: 11823 eax = MEM32(ebp + (-0x18)); /* 0x2B06EC16: mov eax, dword ptr [ebp - 0x18] */ 11824 edx = MEM32(eax + 0x4); /* 0x2B06EC19: mov edx, dword ptr [eax + 4] */ 11825 ecx = edi; /* 0x2B06EC1C: mov ecx, edi */ 11826 edi = MEM32(eax + 0x8); /* 0x2B06EC1E: mov edi, dword ptr [eax + 8] */ 11827 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 11828 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11829 edi = edi + edx; /* 0x2B06EC21: add edi, edx */ 11830 _flag_k = FK_ADD; 11831 edx = ecx; /* 0x2B06EC23: mov edx, ecx */ 11832 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EC25: shr ecx, 2 */ 11833 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11834 ecx = ecx >> 2u; /* 0x2B06EC25: shr ecx, 2 */ 11835 esi = 0x2B0EEE84u; /* 0x2B06EC28: mov esi, 0x2b0eee84 */ 11836 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EC2D: 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; } 11837 ecx = edx; /* 0x2B06EC2F: mov ecx, edx */ 11838 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 11839 ecx = ecx & 3; /* 0x2B06EC31: and ecx, 3 */ 11840 _cf = 0; 11841 _flag_k = FK_TEST; 11842 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EC34: 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; } 11843 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EC36: mov ecx, dword ptr [ebp - 0x14] */ 11844 MEM32(eax + 0x8) = ecx; /* 0x2B06EC39: mov dword ptr [eax + 8], ecx */ 11845 eax = MEM32(eax + 0x4); /* 0x2B06EC3C: mov eax, dword ptr [eax + 4] */ 11846 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EC3F: mov byte ptr [ecx + eax], 0 */ 11847 L_2B06EC43: 11848 ecx = MEM32(ebp + 0x8); /* 0x2B06EC43: mov ecx, dword ptr [ebp + 8] */ 11849 PUSH32(esp, 0x1Eu); /* 0x2B06EC46: push 0x1e */ 11850 PUSH32(esp, ecx); /* 0x2B06EC48: push ecx */ 11851 ecx = ebx; /* 0x2B06EC49: mov ecx, ebx */ 11852 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06EC4B: call 0x2b0735d0 */ /* not lifted */ 11853 RECOMP_FLAGS_IN(); 11854 /* cmp eax, 0x499602D2u */ /* 0x2B06EC50: cmp eax, 0x499602d2 */ 11855 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 11856 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11857 _flag_k = FK_CMP; 11858 MEM32(ebp + (-0x8)) = eax; /* 0x2B06EC55: mov dword ptr [ebp - 8], eax */ 11859 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06EEED; /* 0x2B06EC58: je 0x2b06eeed */ 11860 L_2B06EC5E: 11861 /* test HI8(eax), 8 */ /* 0x2B06EC5E: test ah, 8 */ 11862 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(8) << 24; 11863 _cf = 0; 11864 _flag_k = FK_NARROW(FK_TEST, 24); 11865 MEM8(0x2B0EEE84) = (uint8_t)(0); /* 0x2B06EC61: mov byte ptr [0x2b0eee84], 0 */ 11866 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EC9A; /* 0x2B06EC68: je 0x2b06ec9a */ 11867 L_2B06EC6A: 11868 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11869 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EC6A: or ecx, 0xffffffff */ 11870 _cf = 0; 11871 _flag_k = FK_TEST; 11872 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11873 eax = 0; /* 0x2B06EC6D: xor eax, eax */ 11874 _cf = 0; 11875 _flag_k = FK_TEST; 11876 edi = 0x2B0EB60Cu; /* 0x2B06EC6F: mov edi, 0x2b0eb60c */ 11877 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; } /* 0x2B06EC74: repne scasb al, byte ptr es:[edi] */ 11878 ecx = ~ecx; /* 0x2B06EC76: not ecx */ 11879 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 11880 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11881 edi = edi - ecx; /* 0x2B06EC78: sub edi, ecx */ 11882 _flag_k = FK_CMP; 11883 edx = ecx; /* 0x2B06EC7A: mov edx, ecx */ 11884 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11885 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EC7C: or ecx, 0xffffffff */ 11886 _cf = 0; 11887 _flag_k = FK_TEST; 11888 esi = edi; /* 0x2B06EC7F: mov esi, edi */ 11889 edi = 0x2B0EEE84u; /* 0x2B06EC81: mov edi, 0x2b0eee84 */ 11890 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; } /* 0x2B06EC86: repne scasb al, byte ptr es:[edi] */ 11891 eax = MEM32(ebp + (-0x8)); /* 0x2B06EC88: mov eax, dword ptr [ebp - 8] */ 11892 ecx = edx; /* 0x2B06EC8B: mov ecx, edx */ 11893 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EC8D: shr ecx, 2 */ 11894 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11895 ecx = ecx >> 2u; /* 0x2B06EC8D: shr ecx, 2 */ 11896 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 11897 edi = edi - 1; /* 0x2B06EC90: dec edi */ 11898 _flag_k = FK_DEC; 11899 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EC91: 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; } 11900 ecx = edx; /* 0x2B06EC93: mov ecx, edx */ 11901 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 11902 ecx = ecx & 3; /* 0x2B06EC95: and ecx, 3 */ 11903 _cf = 0; 11904 _flag_k = FK_TEST; 11905 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EC98: 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; } 11906 L_2B06EC9A: 11907 /* test HI8(eax), 0x10u */ /* 0x2B06EC9A: test ah, 0x10 */ 11908 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x10u) << 24; 11909 _cf = 0; 11910 _flag_k = FK_NARROW(FK_TEST, 24); 11911 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06ECCF; /* 0x2B06EC9D: je 0x2b06eccf */ 11912 L_2B06EC9F: 11913 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11914 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EC9F: or ecx, 0xffffffff */ 11915 _cf = 0; 11916 _flag_k = FK_TEST; 11917 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11918 eax = 0; /* 0x2B06ECA2: xor eax, eax */ 11919 _cf = 0; 11920 _flag_k = FK_TEST; 11921 edi = 0x2B0EB600u; /* 0x2B06ECA4: mov edi, 0x2b0eb600 */ 11922 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; } /* 0x2B06ECA9: repne scasb al, byte ptr es:[edi] */ 11923 ecx = ~ecx; /* 0x2B06ECAB: not ecx */ 11924 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 11925 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11926 edi = edi - ecx; /* 0x2B06ECAD: sub edi, ecx */ 11927 _flag_k = FK_CMP; 11928 edx = ecx; /* 0x2B06ECAF: mov edx, ecx */ 11929 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11930 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ECB1: or ecx, 0xffffffff */ 11931 _cf = 0; 11932 _flag_k = FK_TEST; 11933 esi = edi; /* 0x2B06ECB4: mov esi, edi */ 11934 edi = 0x2B0EEE84u; /* 0x2B06ECB6: mov edi, 0x2b0eee84 */ 11935 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; } /* 0x2B06ECBB: repne scasb al, byte ptr es:[edi] */ 11936 eax = MEM32(ebp + (-0x8)); /* 0x2B06ECBD: mov eax, dword ptr [ebp - 8] */ 11937 ecx = edx; /* 0x2B06ECC0: mov ecx, edx */ 11938 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06ECC2: shr ecx, 2 */ 11939 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11940 ecx = ecx >> 2u; /* 0x2B06ECC2: shr ecx, 2 */ 11941 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 11942 edi = edi - 1; /* 0x2B06ECC5: dec edi */ 11943 _flag_k = FK_DEC; 11944 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06ECC6: 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; } 11945 ecx = edx; /* 0x2B06ECC8: mov ecx, edx */ 11946 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 11947 ecx = ecx & 3; /* 0x2B06ECCA: and ecx, 3 */ 11948 _cf = 0; 11949 _flag_k = FK_TEST; 11950 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06ECCD: 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; } 11951 L_2B06ECCF: 11952 /* test HI8(eax), 0x20u */ /* 0x2B06ECCF: test ah, 0x20 */ 11953 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x20u) << 24; 11954 _cf = 0; 11955 _flag_k = FK_NARROW(FK_TEST, 24); 11956 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06ED04; /* 0x2B06ECD2: je 0x2b06ed04 */ 11957 L_2B06ECD4: 11958 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11959 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ECD4: or ecx, 0xffffffff */ 11960 _cf = 0; 11961 _flag_k = FK_TEST; 11962 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11963 eax = 0; /* 0x2B06ECD7: xor eax, eax */ 11964 _cf = 0; 11965 _flag_k = FK_TEST; 11966 edi = 0x2B0EB5F4u; /* 0x2B06ECD9: mov edi, 0x2b0eb5f4 */ 11967 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; } /* 0x2B06ECDE: repne scasb al, byte ptr es:[edi] */ 11968 ecx = ~ecx; /* 0x2B06ECE0: not ecx */ 11969 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 11970 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11971 edi = edi - ecx; /* 0x2B06ECE2: sub edi, ecx */ 11972 _flag_k = FK_CMP; 11973 edx = ecx; /* 0x2B06ECE4: mov edx, ecx */ 11974 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11975 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ECE6: or ecx, 0xffffffff */ 11976 _cf = 0; 11977 _flag_k = FK_TEST; 11978 esi = edi; /* 0x2B06ECE9: mov esi, edi */ 11979 edi = 0x2B0EEE84u; /* 0x2B06ECEB: mov edi, 0x2b0eee84 */ 11980 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; } /* 0x2B06ECF0: repne scasb al, byte ptr es:[edi] */ 11981 eax = MEM32(ebp + (-0x8)); /* 0x2B06ECF2: mov eax, dword ptr [ebp - 8] */ 11982 ecx = edx; /* 0x2B06ECF5: mov ecx, edx */ 11983 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06ECF7: shr ecx, 2 */ 11984 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11985 ecx = ecx >> 2u; /* 0x2B06ECF7: shr ecx, 2 */ 11986 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 11987 edi = edi - 1; /* 0x2B06ECFA: dec edi */ 11988 _flag_k = FK_DEC; 11989 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06ECFB: 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; } 11990 ecx = edx; /* 0x2B06ECFD: mov ecx, edx */ 11991 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 11992 ecx = ecx & 3; /* 0x2B06ECFF: and ecx, 3 */ 11993 _cf = 0; 11994 _flag_k = FK_TEST; 11995 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06ED02: 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; } 11996 L_2B06ED04: 11997 /* test HI8(eax), 0x40u */ /* 0x2B06ED04: test ah, 0x40 */ 11998 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 11999 _cf = 0; 12000 _flag_k = FK_NARROW(FK_TEST, 24); 12001 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06ED39; /* 0x2B06ED07: je 0x2b06ed39 */ 12002 L_2B06ED09: 12003 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12004 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED09: or ecx, 0xffffffff */ 12005 _cf = 0; 12006 _flag_k = FK_TEST; 12007 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12008 eax = 0; /* 0x2B06ED0C: xor eax, eax */ 12009 _cf = 0; 12010 _flag_k = FK_TEST; 12011 edi = 0x2B0EB5ECu; /* 0x2B06ED0E: mov edi, 0x2b0eb5ec */ 12012 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; } /* 0x2B06ED13: repne scasb al, byte ptr es:[edi] */ 12013 ecx = ~ecx; /* 0x2B06ED15: not ecx */ 12014 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 12015 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12016 edi = edi - ecx; /* 0x2B06ED17: sub edi, ecx */ 12017 _flag_k = FK_CMP; 12018 edx = ecx; /* 0x2B06ED19: mov edx, ecx */ 12019 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12020 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED1B: or ecx, 0xffffffff */ 12021 _cf = 0; 12022 _flag_k = FK_TEST; 12023 esi = edi; /* 0x2B06ED1E: mov esi, edi */ 12024 edi = 0x2B0EEE84u; /* 0x2B06ED20: mov edi, 0x2b0eee84 */ 12025 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; } /* 0x2B06ED25: repne scasb al, byte ptr es:[edi] */ 12026 eax = MEM32(ebp + (-0x8)); /* 0x2B06ED27: mov eax, dword ptr [ebp - 8] */ 12027 ecx = edx; /* 0x2B06ED2A: mov ecx, edx */ 12028 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06ED2C: shr ecx, 2 */ 12029 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12030 ecx = ecx >> 2u; /* 0x2B06ED2C: shr ecx, 2 */ 12031 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 12032 edi = edi - 1; /* 0x2B06ED2F: dec edi */ 12033 _flag_k = FK_DEC; 12034 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06ED30: 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; } 12035 ecx = edx; /* 0x2B06ED32: mov ecx, edx */ 12036 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 12037 ecx = ecx & 3; /* 0x2B06ED34: and ecx, 3 */ 12038 _cf = 0; 12039 _flag_k = FK_TEST; 12040 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06ED37: 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; } 12041 L_2B06ED39: 12042 /* test HI8(eax), 0x80u */ /* 0x2B06ED39: test ah, 0x80 */ 12043 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x80u) << 24; 12044 _cf = 0; 12045 _flag_k = FK_NARROW(FK_TEST, 24); 12046 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06ED6E; /* 0x2B06ED3C: je 0x2b06ed6e */ 12047 L_2B06ED3E: 12048 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12049 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED3E: or ecx, 0xffffffff */ 12050 _cf = 0; 12051 _flag_k = FK_TEST; 12052 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12053 eax = 0; /* 0x2B06ED41: xor eax, eax */ 12054 _cf = 0; 12055 _flag_k = FK_TEST; 12056 edi = 0x2B0EB5E0u; /* 0x2B06ED43: mov edi, 0x2b0eb5e0 */ 12057 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; } /* 0x2B06ED48: repne scasb al, byte ptr es:[edi] */ 12058 ecx = ~ecx; /* 0x2B06ED4A: not ecx */ 12059 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 12060 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12061 edi = edi - ecx; /* 0x2B06ED4C: sub edi, ecx */ 12062 _flag_k = FK_CMP; 12063 edx = ecx; /* 0x2B06ED4E: mov edx, ecx */ 12064 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12065 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED50: or ecx, 0xffffffff */ 12066 _cf = 0; 12067 _flag_k = FK_TEST; 12068 esi = edi; /* 0x2B06ED53: mov esi, edi */ 12069 edi = 0x2B0EEE84u; /* 0x2B06ED55: mov edi, 0x2b0eee84 */ 12070 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; } /* 0x2B06ED5A: repne scasb al, byte ptr es:[edi] */ 12071 eax = MEM32(ebp + (-0x8)); /* 0x2B06ED5C: mov eax, dword ptr [ebp - 8] */ 12072 ecx = edx; /* 0x2B06ED5F: mov ecx, edx */ 12073 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06ED61: shr ecx, 2 */ 12074 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12075 ecx = ecx >> 2u; /* 0x2B06ED61: shr ecx, 2 */ 12076 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 12077 edi = edi - 1; /* 0x2B06ED64: dec edi */ 12078 _flag_k = FK_DEC; 12079 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06ED65: 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; } 12080 ecx = edx; /* 0x2B06ED67: mov ecx, edx */ 12081 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 12082 ecx = ecx & 3; /* 0x2B06ED69: and ecx, 3 */ 12083 _cf = 0; 12084 _flag_k = FK_TEST; 12085 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06ED6C: 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; } 12086 L_2B06ED6E: 12087 /* test eax, 0x00020000u */ /* 0x2B06ED6E: test eax, 0x20000 */ 12088 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x00020000u); 12089 _cf = 0; 12090 _flag_k = FK_TEST; 12091 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EDA5; /* 0x2B06ED73: je 0x2b06eda5 */ 12092 L_2B06ED75: 12093 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12094 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED75: or ecx, 0xffffffff */ 12095 _cf = 0; 12096 _flag_k = FK_TEST; 12097 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12098 eax = 0; /* 0x2B06ED78: xor eax, eax */ 12099 _cf = 0; 12100 _flag_k = FK_TEST; 12101 edi = 0x2B0EB5D0u; /* 0x2B06ED7A: mov edi, 0x2b0eb5d0 */ 12102 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; } /* 0x2B06ED7F: repne scasb al, byte ptr es:[edi] */ 12103 ecx = ~ecx; /* 0x2B06ED81: not ecx */ 12104 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 12105 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12106 edi = edi - ecx; /* 0x2B06ED83: sub edi, ecx */ 12107 _flag_k = FK_CMP; 12108 edx = ecx; /* 0x2B06ED85: mov edx, ecx */ 12109 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12110 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06ED87: or ecx, 0xffffffff */ 12111 _cf = 0; 12112 _flag_k = FK_TEST; 12113 esi = edi; /* 0x2B06ED8A: mov esi, edi */ 12114 edi = 0x2B0EEE84u; /* 0x2B06ED8C: mov edi, 0x2b0eee84 */ 12115 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; } /* 0x2B06ED91: repne scasb al, byte ptr es:[edi] */ 12116 eax = MEM32(ebp + (-0x8)); /* 0x2B06ED93: mov eax, dword ptr [ebp - 8] */ 12117 ecx = edx; /* 0x2B06ED96: mov ecx, edx */ 12118 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06ED98: shr ecx, 2 */ 12119 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12120 ecx = ecx >> 2u; /* 0x2B06ED98: shr ecx, 2 */ 12121 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 12122 edi = edi - 1; /* 0x2B06ED9B: dec edi */ 12123 _flag_k = FK_DEC; 12124 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06ED9C: 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; } 12125 ecx = edx; /* 0x2B06ED9E: mov ecx, edx */ 12126 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 12127 ecx = ecx & 3; /* 0x2B06EDA0: and ecx, 3 */ 12128 _cf = 0; 12129 _flag_k = FK_TEST; 12130 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EDA3: 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; } 12131 L_2B06EDA5: 12132 /* test eax, 0x00040000u */ /* 0x2B06EDA5: test eax, 0x40000 */ 12133 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x00040000u); 12134 _cf = 0; 12135 _flag_k = FK_TEST; 12136 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EDD9; /* 0x2B06EDAA: je 0x2b06edd9 */ 12137 L_2B06EDAC: 12138 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12139 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EDAC: or ecx, 0xffffffff */ 12140 _cf = 0; 12141 _flag_k = FK_TEST; 12142 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12143 eax = 0; /* 0x2B06EDAF: xor eax, eax */ 12144 _cf = 0; 12145 _flag_k = FK_TEST; 12146 edi = 0x2B0EB5C4u; /* 0x2B06EDB1: mov edi, 0x2b0eb5c4 */ 12147 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; } /* 0x2B06EDB6: repne scasb al, byte ptr es:[edi] */ 12148 ecx = ~ecx; /* 0x2B06EDB8: not ecx */ 12149 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 12150 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12151 edi = edi - ecx; /* 0x2B06EDBA: sub edi, ecx */ 12152 _flag_k = FK_CMP; 12153 edx = ecx; /* 0x2B06EDBC: mov edx, ecx */ 12154 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12155 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EDBE: or ecx, 0xffffffff */ 12156 _cf = 0; 12157 _flag_k = FK_TEST; 12158 esi = edi; /* 0x2B06EDC1: mov esi, edi */ 12159 edi = 0x2B0EEE84u; /* 0x2B06EDC3: mov edi, 0x2b0eee84 */ 12160 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; } /* 0x2B06EDC8: repne scasb al, byte ptr es:[edi] */ 12161 ecx = edx; /* 0x2B06EDCA: mov ecx, edx */ 12162 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EDCC: shr ecx, 2 */ 12163 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12164 ecx = ecx >> 2u; /* 0x2B06EDCC: shr ecx, 2 */ 12165 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 12166 edi = edi - 1; /* 0x2B06EDCF: dec edi */ 12167 _flag_k = FK_DEC; 12168 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EDD0: 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; } 12169 ecx = edx; /* 0x2B06EDD2: mov ecx, edx */ 12170 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 12171 ecx = ecx & 3; /* 0x2B06EDD4: and ecx, 3 */ 12172 _cf = 0; 12173 _flag_k = FK_TEST; 12174 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EDD7: 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; } 12175 L_2B06EDD9: 12176 SET_LO8(eax, MEM8(0x2B0EEE84)); /* 0x2B06EDD9: mov al, byte ptr [0x2b0eee84] */ 12177 /* test LO8(eax), LO8(eax) */ /* 0x2B06EDDE: test al, al */ 12178 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12179 _cf = 0; 12180 _flag_k = FK_NARROW(FK_TEST, 24); 12181 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EEED; /* 0x2B06EDE0: je 0x2b06eeed */ 12182 L_2B06EDE6: 12183 ecx = MEM32(ebx + 0x28); /* 0x2B06EDE6: mov ecx, dword ptr [ebx + 0x28] */ 12184 PUSH32(esp, 0x13u); /* 0x2B06EDE9: push 0x13 */ 12185 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EDEB: push -1 */ 12186 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EDED: call dword ptr [0x2b0b5a74] */ 12187 RECOMP_FLAGS_IN(); 12188 esi = MEM32(ebx + 0x28); /* 0x2B06EDF3: mov esi, dword ptr [ebx + 0x28] */ 12189 edx = MEM32(esi + 0x8); /* 0x2B06EDF6: mov edx, dword ptr [esi + 8] */ 12190 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12191 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EDF9: or ecx, 0xffffffff */ 12192 _cf = 0; 12193 _flag_k = FK_TEST; 12194 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12195 eax = 0; /* 0x2B06EDFC: xor eax, eax */ 12196 _cf = 0; 12197 _flag_k = FK_TEST; 12198 edi = 0x2B0EB5B8u; /* 0x2B06EDFE: mov edi, 0x2b0eb5b8 */ 12199 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; } /* 0x2B06EE03: repne scasb al, byte ptr es:[edi] */ 12200 eax = MEM32(0x2B0B515C); /* 0x2B06EE05: mov eax, dword ptr [0x2b0b515c] */ 12201 ecx = ~ecx; /* 0x2B06EE0A: not ecx */ 12202 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12203 ecx = ecx - 1; /* 0x2B06EE0C: dec ecx */ 12204 _flag_k = FK_DEC; 12205 edi = ecx; /* 0x2B06EE0D: mov edi, ecx */ 12206 ecx = MEM32(eax); /* 0x2B06EE0F: mov ecx, dword ptr [eax] */ 12207 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 12208 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12209 ecx = ecx - edx; /* 0x2B06EE11: sub ecx, edx */ 12210 _flag_k = FK_CMP; 12211 /* cmp ecx, edi */ /* 0x2B06EE13: cmp ecx, edi */ 12212 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 12213 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12214 _flag_k = FK_CMP; 12215 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EE15: mov dword ptr [ebp - 0x18], esi */ 12216 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EE20; /* 0x2B06EE18: ja 0x2b06ee20 */ 12217 L_2B06EE1A: 12218 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EE1A: call dword ptr [0x2b0b51a8] */ 12219 RECOMP_FLAGS_IN(); 12220 L_2B06EE20: 12221 /* test edi, edi */ /* 0x2B06EE20: test edi, edi */ 12222 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 12223 _cf = 0; 12224 _flag_k = FK_TEST; 12225 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EE6A; /* 0x2B06EE22: jbe 0x2b06ee6a */ 12226 L_2B06EE24: 12227 edx = MEM32(esi + 0x8); /* 0x2B06EE24: mov edx, dword ptr [esi + 8] */ 12228 eax = edi; /* 0x2B06EE27: mov eax, edi */ 12229 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 12230 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12231 eax = eax + edx; /* 0x2B06EE29: add eax, edx */ 12232 _flag_k = FK_ADD; 12233 PUSH32(esp, 0); /* 0x2B06EE2B: push 0 */ 12234 PUSH32(esp, eax); /* 0x2B06EE2D: push eax */ 12235 ecx = esi; /* 0x2B06EE2E: mov ecx, esi */ 12236 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EE30: mov dword ptr [ebp - 0x14], eax */ 12237 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EE33: call dword ptr [0x2b0b5154] */ 12238 RECOMP_FLAGS_IN(); 12239 /* test LO8(eax), LO8(eax) */ /* 0x2B06EE39: test al, al */ 12240 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12241 _cf = 0; 12242 _flag_k = FK_NARROW(FK_TEST, 24); 12243 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EE6A; /* 0x2B06EE3B: je 0x2b06ee6a */ 12244 L_2B06EE3D: 12245 eax = MEM32(ebp + (-0x18)); /* 0x2B06EE3D: mov eax, dword ptr [ebp - 0x18] */ 12246 edx = MEM32(eax + 0x4); /* 0x2B06EE40: mov edx, dword ptr [eax + 4] */ 12247 ecx = edi; /* 0x2B06EE43: mov ecx, edi */ 12248 edi = MEM32(eax + 0x8); /* 0x2B06EE45: mov edi, dword ptr [eax + 8] */ 12249 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 12250 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12251 edi = edi + edx; /* 0x2B06EE48: add edi, edx */ 12252 _flag_k = FK_ADD; 12253 edx = ecx; /* 0x2B06EE4A: mov edx, ecx */ 12254 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EE4C: shr ecx, 2 */ 12255 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12256 ecx = ecx >> 2u; /* 0x2B06EE4C: shr ecx, 2 */ 12257 esi = 0x2B0EB5B8u; /* 0x2B06EE4F: mov esi, 0x2b0eb5b8 */ 12258 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EE54: 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; } 12259 ecx = edx; /* 0x2B06EE56: mov ecx, edx */ 12260 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 12261 ecx = ecx & 3; /* 0x2B06EE58: and ecx, 3 */ 12262 _cf = 0; 12263 _flag_k = FK_TEST; 12264 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EE5B: 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; } 12265 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EE5D: mov ecx, dword ptr [ebp - 0x14] */ 12266 MEM32(eax + 0x8) = ecx; /* 0x2B06EE60: mov dword ptr [eax + 8], ecx */ 12267 eax = MEM32(eax + 0x4); /* 0x2B06EE63: mov eax, dword ptr [eax + 4] */ 12268 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EE66: mov byte ptr [ecx + eax], 0 */ 12269 L_2B06EE6A: 12270 ecx = MEM32(ebx + 0x28); /* 0x2B06EE6A: mov ecx, dword ptr [ebx + 0x28] */ 12271 PUSH32(esp, 0x14u); /* 0x2B06EE6D: push 0x14 */ 12272 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EE6F: push -1 */ 12273 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EE71: call dword ptr [0x2b0b5a74] */ 12274 RECOMP_FLAGS_IN(); 12275 esi = MEM32(ebx + 0x28); /* 0x2B06EE77: mov esi, dword ptr [ebx + 0x28] */ 12276 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12277 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EE7A: or ecx, 0xffffffff */ 12278 _cf = 0; 12279 _flag_k = FK_TEST; 12280 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12281 eax = 0; /* 0x2B06EE7D: xor eax, eax */ 12282 _cf = 0; 12283 _flag_k = FK_TEST; 12284 edi = 0x2B0EEE84u; /* 0x2B06EE7F: mov edi, 0x2b0eee84 */ 12285 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; } /* 0x2B06EE84: repne scasb al, byte ptr es:[edi] */ 12286 ecx = ~ecx; /* 0x2B06EE86: not ecx */ 12287 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12288 ecx = ecx - 1; /* 0x2B06EE88: dec ecx */ 12289 _flag_k = FK_DEC; 12290 edi = ecx; /* 0x2B06EE89: mov edi, ecx */ 12291 ecx = MEM32(0x2B0B515C); /* 0x2B06EE8B: mov ecx, dword ptr [0x2b0b515c] */ 12292 edx = MEM32(ecx); /* 0x2B06EE91: mov edx, dword ptr [ecx] */ 12293 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12294 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12295 edx = edx - MEM32(esi + 0x8); /* 0x2B06EE93: sub edx, dword ptr [esi + 8] */ 12296 _flag_k = FK_CMP; 12297 /* cmp edx, edi */ /* 0x2B06EE96: cmp edx, edi */ 12298 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 12299 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12300 _flag_k = FK_CMP; 12301 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EE98: mov dword ptr [ebp - 0x18], esi */ 12302 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EEA3; /* 0x2B06EE9B: ja 0x2b06eea3 */ 12303 L_2B06EE9D: 12304 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EE9D: call dword ptr [0x2b0b51a8] */ 12305 RECOMP_FLAGS_IN(); 12306 L_2B06EEA3: 12307 /* test edi, edi */ /* 0x2B06EEA3: test edi, edi */ 12308 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 12309 _cf = 0; 12310 _flag_k = FK_TEST; 12311 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EEED; /* 0x2B06EEA5: jbe 0x2b06eeed */ 12312 L_2B06EEA7: 12313 edx = MEM32(esi + 0x8); /* 0x2B06EEA7: mov edx, dword ptr [esi + 8] */ 12314 eax = edi; /* 0x2B06EEAA: mov eax, edi */ 12315 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 12316 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12317 eax = eax + edx; /* 0x2B06EEAC: add eax, edx */ 12318 _flag_k = FK_ADD; 12319 PUSH32(esp, 0); /* 0x2B06EEAE: push 0 */ 12320 PUSH32(esp, eax); /* 0x2B06EEB0: push eax */ 12321 ecx = esi; /* 0x2B06EEB1: mov ecx, esi */ 12322 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EEB3: mov dword ptr [ebp - 0x14], eax */ 12323 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EEB6: call dword ptr [0x2b0b5154] */ 12324 RECOMP_FLAGS_IN(); 12325 /* test LO8(eax), LO8(eax) */ /* 0x2B06EEBC: test al, al */ 12326 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12327 _cf = 0; 12328 _flag_k = FK_NARROW(FK_TEST, 24); 12329 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EEED; /* 0x2B06EEBE: je 0x2b06eeed */ 12330 L_2B06EEC0: 12331 eax = MEM32(ebp + (-0x18)); /* 0x2B06EEC0: mov eax, dword ptr [ebp - 0x18] */ 12332 edx = MEM32(eax + 0x4); /* 0x2B06EEC3: mov edx, dword ptr [eax + 4] */ 12333 ecx = edi; /* 0x2B06EEC6: mov ecx, edi */ 12334 edi = MEM32(eax + 0x8); /* 0x2B06EEC8: mov edi, dword ptr [eax + 8] */ 12335 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 12336 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12337 edi = edi + edx; /* 0x2B06EECB: add edi, edx */ 12338 _flag_k = FK_ADD; 12339 edx = ecx; /* 0x2B06EECD: mov edx, ecx */ 12340 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EECF: shr ecx, 2 */ 12341 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12342 ecx = ecx >> 2u; /* 0x2B06EECF: shr ecx, 2 */ 12343 esi = 0x2B0EEE84u; /* 0x2B06EED2: mov esi, 0x2b0eee84 */ 12344 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EED7: 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; } 12345 ecx = edx; /* 0x2B06EED9: mov ecx, edx */ 12346 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 12347 ecx = ecx & 3; /* 0x2B06EEDB: and ecx, 3 */ 12348 _cf = 0; 12349 _flag_k = FK_TEST; 12350 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EEDE: 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; } 12351 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EEE0: mov ecx, dword ptr [ebp - 0x14] */ 12352 MEM32(eax + 0x8) = ecx; /* 0x2B06EEE3: mov dword ptr [eax + 8], ecx */ 12353 eax = MEM32(eax + 0x4); /* 0x2B06EEE6: mov eax, dword ptr [eax + 4] */ 12354 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EEE9: mov byte ptr [ecx + eax], 0 */ 12355 L_2B06EEED: 12356 ecx = MEM32(ebx + 0x28); /* 0x2B06EEED: mov ecx, dword ptr [ebx + 0x28] */ 12357 esi = MEM32(ebp + 0x8); /* 0x2B06EEF0: mov esi, dword ptr [ebp + 8] */ 12358 PUSH32(esp, ecx); /* 0x2B06EEF3: push ecx */ 12359 PUSH32(esp, esi); /* 0x2B06EEF4: push esi */ 12360 ecx = ebx; /* 0x2B06EEF5: mov ecx, ebx */ 12361 RECOMP_ICALL(0x2B073CB0u); /* 0x2B06EEF7: call 0x2b073cb0 */ /* not lifted */ 12362 RECOMP_FLAGS_IN(); 12363 edx = MEM32(ebx + 0x28); /* 0x2B06EEFC: mov edx, dword ptr [ebx + 0x28] */ 12364 PUSH32(esp, edx); /* 0x2B06EEFF: push edx */ 12365 PUSH32(esp, esi); /* 0x2B06EF00: push esi */ 12366 ecx = ebx; /* 0x2B06EF01: mov ecx, ebx */ 12367 RECOMP_ICALL(0x2B073CF0u); /* 0x2B06EF03: call 0x2b073cf0 */ /* not lifted */ 12368 RECOMP_FLAGS_IN(); 12369 eax = MEM32(ebx + 0x28); /* 0x2B06EF08: mov eax, dword ptr [ebx + 0x28] */ 12370 PUSH32(esp, eax); /* 0x2B06EF0B: push eax */ 12371 PUSH32(esp, esi); /* 0x2B06EF0C: push esi */ 12372 ecx = ebx; /* 0x2B06EF0D: mov ecx, ebx */ 12373 RECOMP_ICALL(0x2B073D30u); /* 0x2B06EF0F: call 0x2b073d30 */ /* not lifted */ 12374 RECOMP_FLAGS_IN(); 12375 ecx = MEM32(ebx + 0x28); /* 0x2B06EF14: mov ecx, dword ptr [ebx + 0x28] */ 12376 PUSH32(esp, ecx); /* 0x2B06EF17: push ecx */ 12377 PUSH32(esp, esi); /* 0x2B06EF18: push esi */ 12378 ecx = ebx; /* 0x2B06EF19: mov ecx, ebx */ 12379 RECOMP_ICALL(0x2B073F90u); /* 0x2B06EF1B: call 0x2b073f90 */ /* not lifted */ 12380 RECOMP_FLAGS_IN(); 12381 PUSH32(esp, 0x1B4u); /* 0x2B06EF20: push 0x1b4 */ 12382 PUSH32(esp, esi); /* 0x2B06EF25: push esi */ 12383 ecx = ebx; /* 0x2B06EF26: mov ecx, ebx */ 12384 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06EF28: call 0x2b0735d0 */ /* not lifted */ 12385 RECOMP_FLAGS_IN(); 12386 /* cmp eax, 0x499602D2u */ /* 0x2B06EF2D: cmp eax, 0x499602d2 */ 12387 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 12388 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12389 _flag_k = FK_CMP; 12390 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06F056; /* 0x2B06EF32: je 0x2b06f056 */ 12391 L_2B06EF38: 12392 PUSH32(esp, eax); /* 0x2B06EF38: push eax */ 12393 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06EF39: call dword ptr [0x2b0b5d6c] */ 12394 RECOMP_FLAGS_IN(); 12395 ecx = eax; /* 0x2B06EF3F: mov ecx, eax */ 12396 RECOMP_ICALL(MEM32(0x2B0B5DB4)); /* 0x2B06EF41: call dword ptr [0x2b0b5db4] */ 12397 RECOMP_FLAGS_IN(); 12398 /* test eax, eax */ /* 0x2B06EF47: test eax, eax */ 12399 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12400 _cf = 0; 12401 _flag_k = FK_TEST; 12402 MEM32(ebp + (-0xC)) = eax; /* 0x2B06EF49: mov dword ptr [ebp - 0xc], eax */ 12403 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F056; /* 0x2B06EF4C: je 0x2b06f056 */ 12404 L_2B06EF52: 12405 ecx = MEM32(ebx + 0x28); /* 0x2B06EF52: mov ecx, dword ptr [ebx + 0x28] */ 12406 PUSH32(esp, 0x13u); /* 0x2B06EF55: push 0x13 */ 12407 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EF57: push -1 */ 12408 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EF59: call dword ptr [0x2b0b5a74] */ 12409 RECOMP_FLAGS_IN(); 12410 edx = MEM32(0x2B0B515C); /* 0x2B06EF5F: mov edx, dword ptr [0x2b0b515c] */ 12411 esi = MEM32(ebx + 0x28); /* 0x2B06EF65: mov esi, dword ptr [ebx + 0x28] */ 12412 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12413 eax = 0; /* 0x2B06EF68: xor eax, eax */ 12414 _cf = 0; 12415 _flag_k = FK_TEST; 12416 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12417 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EF6A: or ecx, 0xffffffff */ 12418 _cf = 0; 12419 _flag_k = FK_TEST; 12420 edi = 0x2B0EB5ACu; /* 0x2B06EF6D: mov edi, 0x2b0eb5ac */ 12421 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; } /* 0x2B06EF72: repne scasb al, byte ptr es:[edi] */ 12422 eax = MEM32(edx); /* 0x2B06EF74: mov eax, dword ptr [edx] */ 12423 edx = MEM32(esi + 0x8); /* 0x2B06EF76: mov edx, dword ptr [esi + 8] */ 12424 ecx = ~ecx; /* 0x2B06EF79: not ecx */ 12425 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12426 ecx = ecx - 1; /* 0x2B06EF7B: dec ecx */ 12427 _flag_k = FK_DEC; 12428 edi = ecx; /* 0x2B06EF7C: mov edi, ecx */ 12429 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 12430 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12431 eax = eax - edx; /* 0x2B06EF7E: sub eax, edx */ 12432 _flag_k = FK_CMP; 12433 /* cmp eax, edi */ /* 0x2B06EF80: cmp eax, edi */ 12434 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 12435 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12436 _flag_k = FK_CMP; 12437 MEM32(ebp + (-0x18)) = esi; /* 0x2B06EF82: mov dword ptr [ebp - 0x18], esi */ 12438 if (CMP_A(_flag_a, _flag_b)) goto L_2B06EF8D; /* 0x2B06EF85: ja 0x2b06ef8d */ 12439 L_2B06EF87: 12440 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06EF87: call dword ptr [0x2b0b51a8] */ 12441 RECOMP_FLAGS_IN(); 12442 L_2B06EF8D: 12443 /* test edi, edi */ /* 0x2B06EF8D: test edi, edi */ 12444 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 12445 _cf = 0; 12446 _flag_k = FK_TEST; 12447 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EFD7; /* 0x2B06EF8F: jbe 0x2b06efd7 */ 12448 L_2B06EF91: 12449 edx = MEM32(esi + 0x8); /* 0x2B06EF91: mov edx, dword ptr [esi + 8] */ 12450 eax = edi; /* 0x2B06EF94: mov eax, edi */ 12451 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 12452 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12453 eax = eax + edx; /* 0x2B06EF96: add eax, edx */ 12454 _flag_k = FK_ADD; 12455 PUSH32(esp, 0); /* 0x2B06EF98: push 0 */ 12456 PUSH32(esp, eax); /* 0x2B06EF9A: push eax */ 12457 ecx = esi; /* 0x2B06EF9B: mov ecx, esi */ 12458 MEM32(ebp + (-0x14)) = eax; /* 0x2B06EF9D: mov dword ptr [ebp - 0x14], eax */ 12459 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06EFA0: call dword ptr [0x2b0b5154] */ 12460 RECOMP_FLAGS_IN(); 12461 /* test LO8(eax), LO8(eax) */ /* 0x2B06EFA6: test al, al */ 12462 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12463 _cf = 0; 12464 _flag_k = FK_NARROW(FK_TEST, 24); 12465 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06EFD7; /* 0x2B06EFA8: je 0x2b06efd7 */ 12466 L_2B06EFAA: 12467 eax = MEM32(ebp + (-0x18)); /* 0x2B06EFAA: mov eax, dword ptr [ebp - 0x18] */ 12468 edx = MEM32(eax + 0x4); /* 0x2B06EFAD: mov edx, dword ptr [eax + 4] */ 12469 ecx = edi; /* 0x2B06EFB0: mov ecx, edi */ 12470 edi = MEM32(eax + 0x8); /* 0x2B06EFB2: mov edi, dword ptr [eax + 8] */ 12471 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 12472 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12473 edi = edi + edx; /* 0x2B06EFB5: add edi, edx */ 12474 _flag_k = FK_ADD; 12475 edx = ecx; /* 0x2B06EFB7: mov edx, ecx */ 12476 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06EFB9: shr ecx, 2 */ 12477 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12478 ecx = ecx >> 2u; /* 0x2B06EFB9: shr ecx, 2 */ 12479 esi = 0x2B0EB5ACu; /* 0x2B06EFBC: mov esi, 0x2b0eb5ac */ 12480 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06EFC1: 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; } 12481 ecx = edx; /* 0x2B06EFC3: mov ecx, edx */ 12482 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 12483 ecx = ecx & 3; /* 0x2B06EFC5: and ecx, 3 */ 12484 _cf = 0; 12485 _flag_k = FK_TEST; 12486 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06EFC8: 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; } 12487 ecx = MEM32(ebp + (-0x14)); /* 0x2B06EFCA: mov ecx, dword ptr [ebp - 0x14] */ 12488 MEM32(eax + 0x8) = ecx; /* 0x2B06EFCD: mov dword ptr [eax + 8], ecx */ 12489 eax = MEM32(eax + 0x4); /* 0x2B06EFD0: mov eax, dword ptr [eax + 4] */ 12490 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06EFD3: mov byte ptr [ecx + eax], 0 */ 12491 L_2B06EFD7: 12492 ecx = MEM32(ebx + 0x28); /* 0x2B06EFD7: mov ecx, dword ptr [ebx + 0x28] */ 12493 PUSH32(esp, 0x14u); /* 0x2B06EFDA: push 0x14 */ 12494 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06EFDC: push -1 */ 12495 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06EFDE: call dword ptr [0x2b0b5a74] */ 12496 RECOMP_FLAGS_IN(); 12497 edi = MEM32(ebp + (-0xC)); /* 0x2B06EFE4: mov edi, dword ptr [ebp - 0xc] */ 12498 esi = MEM32(ebx + 0x28); /* 0x2B06EFE7: mov esi, dword ptr [ebx + 0x28] */ 12499 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12500 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06EFEA: or ecx, 0xffffffff */ 12501 _cf = 0; 12502 _flag_k = FK_TEST; 12503 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12504 eax = 0; /* 0x2B06EFED: xor eax, eax */ 12505 _cf = 0; 12506 _flag_k = FK_TEST; 12507 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; } /* 0x2B06EFEF: repne scasb al, byte ptr es:[edi] */ 12508 ecx = ~ecx; /* 0x2B06EFF1: not ecx */ 12509 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12510 ecx = ecx - 1; /* 0x2B06EFF3: dec ecx */ 12511 _flag_k = FK_DEC; 12512 edi = ecx; /* 0x2B06EFF4: mov edi, ecx */ 12513 ecx = MEM32(0x2B0B515C); /* 0x2B06EFF6: mov ecx, dword ptr [0x2b0b515c] */ 12514 edx = MEM32(ecx); /* 0x2B06EFFC: mov edx, dword ptr [ecx] */ 12515 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12516 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12517 edx = edx - MEM32(esi + 0x8); /* 0x2B06EFFE: sub edx, dword ptr [esi + 8] */ 12518 _flag_k = FK_CMP; 12519 /* cmp edx, edi */ /* 0x2B06F001: cmp edx, edi */ 12520 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 12521 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12522 _flag_k = FK_CMP; 12523 MEM32(ebp + (-0x18)) = esi; /* 0x2B06F003: mov dword ptr [ebp - 0x18], esi */ 12524 if (CMP_A(_flag_a, _flag_b)) goto L_2B06F00E; /* 0x2B06F006: ja 0x2b06f00e */ 12525 L_2B06F008: 12526 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06F008: call dword ptr [0x2b0b51a8] */ 12527 RECOMP_FLAGS_IN(); 12528 L_2B06F00E: 12529 /* test edi, edi */ /* 0x2B06F00E: test edi, edi */ 12530 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 12531 _cf = 0; 12532 _flag_k = FK_TEST; 12533 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F056; /* 0x2B06F010: jbe 0x2b06f056 */ 12534 L_2B06F012: 12535 edx = MEM32(esi + 0x8); /* 0x2B06F012: mov edx, dword ptr [esi + 8] */ 12536 eax = edi; /* 0x2B06F015: mov eax, edi */ 12537 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 12538 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12539 eax = eax + edx; /* 0x2B06F017: add eax, edx */ 12540 _flag_k = FK_ADD; 12541 PUSH32(esp, 0); /* 0x2B06F019: push 0 */ 12542 PUSH32(esp, eax); /* 0x2B06F01B: push eax */ 12543 ecx = esi; /* 0x2B06F01C: mov ecx, esi */ 12544 MEM32(ebp + (-0x14)) = eax; /* 0x2B06F01E: mov dword ptr [ebp - 0x14], eax */ 12545 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06F021: call dword ptr [0x2b0b5154] */ 12546 RECOMP_FLAGS_IN(); 12547 /* test LO8(eax), LO8(eax) */ /* 0x2B06F027: test al, al */ 12548 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12549 _cf = 0; 12550 _flag_k = FK_NARROW(FK_TEST, 24); 12551 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F056; /* 0x2B06F029: je 0x2b06f056 */ 12552 L_2B06F02B: 12553 eax = MEM32(ebp + (-0x18)); /* 0x2B06F02B: mov eax, dword ptr [ebp - 0x18] */ 12554 edx = MEM32(eax + 0x4); /* 0x2B06F02E: mov edx, dword ptr [eax + 4] */ 12555 esi = MEM32(ebp + (-0xC)); /* 0x2B06F031: mov esi, dword ptr [ebp - 0xc] */ 12556 ecx = edi; /* 0x2B06F034: mov ecx, edi */ 12557 edi = MEM32(eax + 0x8); /* 0x2B06F036: mov edi, dword ptr [eax + 8] */ 12558 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 12559 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12560 edi = edi + edx; /* 0x2B06F039: add edi, edx */ 12561 _flag_k = FK_ADD; 12562 edx = ecx; /* 0x2B06F03B: mov edx, ecx */ 12563 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06F03D: shr ecx, 2 */ 12564 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12565 ecx = ecx >> 2u; /* 0x2B06F03D: shr ecx, 2 */ 12566 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06F040: 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; } 12567 ecx = edx; /* 0x2B06F042: mov ecx, edx */ 12568 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 12569 ecx = ecx & 3; /* 0x2B06F044: and ecx, 3 */ 12570 _cf = 0; 12571 _flag_k = FK_TEST; 12572 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06F047: 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; } 12573 ecx = MEM32(ebp + (-0x14)); /* 0x2B06F049: mov ecx, dword ptr [ebp - 0x14] */ 12574 MEM32(eax + 0x8) = ecx; /* 0x2B06F04C: mov dword ptr [eax + 8], ecx */ 12575 eax = MEM32(eax + 0x4); /* 0x2B06F04F: mov eax, dword ptr [eax + 4] */ 12576 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06F052: mov byte ptr [ecx + eax], 0 */ 12577 L_2B06F056: 12578 ecx = MEM32(ebx + 0x28); /* 0x2B06F056: mov ecx, dword ptr [ebx + 0x28] */ 12579 edx = MEM32(ebp + 0x8); /* 0x2B06F059: mov edx, dword ptr [ebp + 8] */ 12580 PUSH32(esp, ecx); /* 0x2B06F05C: push ecx */ 12581 PUSH32(esp, edx); /* 0x2B06F05D: push edx */ 12582 ecx = ebx; /* 0x2B06F05E: mov ecx, ebx */ 12583 RECOMP_ICALL(0x2B074010u); /* 0x2B06F060: call 0x2b074010 */ /* not lifted */ 12584 RECOMP_FLAGS_IN(); 12585 ecx = MEM32(0x2B0EF104); /* 0x2B06F065: mov ecx, dword ptr [0x2b0ef104] */ 12586 /* test ecx, ecx */ /* 0x2B06F06B: test ecx, ecx */ 12587 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12588 _cf = 0; 12589 _flag_k = FK_TEST; 12590 edi = POP32_VAL(esp); /* 0x2B06F06D: pop edi */ 12591 esi = POP32_VAL(esp); /* 0x2B06F06E: pop esi */ 12592 ebx = POP32_VAL(esp); /* 0x2B06F06F: pop ebx */ 12593 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F080; /* 0x2B06F070: je 0x2b06f080 */ 12594 L_2B06F072: 12595 eax = MEM32(ebp + (-0x10)); /* 0x2B06F072: mov eax, dword ptr [ebp - 0x10] */ 12596 PUSH32(esp, eax); /* 0x2B06F075: push eax */ 12597 PUSH32(esp, 0x2B0EB59Cu); /* 0x2B06F076: push 0x2b0eb59c */ 12598 RECOMP_ICALL(0x2B08D480u); /* 0x2B06F07B: call 0x2b08d480 */ /* not lifted */ 12599 RECOMP_FLAGS_IN(); 12600 L_2B06F080: 12601 esp = ebp; /* 0x2B06F080: mov esp, ebp */ 12602 ebp = POP32_VAL(esp); /* 0x2B06F082: pop ebp */ 12603 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06F083: ret 4 */ 12604 RECOMP_REGS_OUT(); 12605 } 12606 12607 void sub_2B06F090(void) { 12608 int _fpu_cmp = 0; 12609 uint32_t _cf = 0; 12610 int _df = 1; 12611 uint32_t _flag_k = FK_NONE; 12612 uint32_t _flag_a = 0, _flag_b = 0; 12613 uint32_t _itail_tgt = 0; 12614 RECOMP_REGS_LOCALS 12615 RECOMP_ENTER(0x2B06F090u); 12616 12617 L_2B06F090: 12618 PUSH32(esp, ebp); /* 0x2B06F090: push ebp */ 12619 ebp = esp; /* 0x2B06F091: mov ebp, esp */ 12620 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 12621 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12622 esp = esp - 0x10u; /* 0x2B06F093: sub esp, 0x10 */ 12623 _flag_k = FK_CMP; 12624 PUSH32(esp, ebx); /* 0x2B06F096: push ebx */ 12625 ebx = ecx; /* 0x2B06F097: mov ebx, ecx */ 12626 edx = MEM32(ebx + 0x28); /* 0x2B06F099: mov edx, dword ptr [ebx + 0x28] */ 12627 PUSH32(esp, esi); /* 0x2B06F09C: push esi */ 12628 PUSH32(esp, edi); /* 0x2B06F09D: push edi */ 12629 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12630 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06F09E: or ecx, 0xffffffff */ 12631 _cf = 0; 12632 _flag_k = FK_TEST; 12633 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12634 eax = 0; /* 0x2B06F0A1: xor eax, eax */ 12635 _cf = 0; 12636 _flag_k = FK_TEST; 12637 MEM32(ebx + 0x8) = 3; /* 0x2B06F0A3: mov dword ptr [ebx + 8], 3 */ 12638 edi = 0x2B0EF014u; /* 0x2B06F0AA: mov edi, 0x2b0ef014 */ 12639 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; } /* 0x2B06F0AF: repne scasb al, byte ptr es:[edi] */ 12640 ecx = ~ecx; /* 0x2B06F0B1: not ecx */ 12641 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12642 ecx = ecx - 1; /* 0x2B06F0B3: dec ecx */ 12643 _flag_k = FK_DEC; 12644 esi = ecx; /* 0x2B06F0B4: mov esi, ecx */ 12645 PUSH32(esp, 1); /* 0x2B06F0B6: push 1 */ 12646 PUSH32(esp, esi); /* 0x2B06F0B8: push esi */ 12647 ecx = edx; /* 0x2B06F0B9: mov ecx, edx */ 12648 MEM32(ebp + (-0xC)) = edx; /* 0x2B06F0BB: mov dword ptr [ebp - 0xc], edx */ 12649 MEM32(ebp + (-0x8)) = esi; /* 0x2B06F0BE: mov dword ptr [ebp - 8], esi */ 12650 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06F0C1: call dword ptr [0x2b0b5154] */ 12651 RECOMP_FLAGS_IN(); 12652 /* test LO8(eax), LO8(eax) */ /* 0x2B06F0C7: test al, al */ 12653 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12654 _cf = 0; 12655 _flag_k = FK_NARROW(FK_TEST, 24); 12656 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F0F2; /* 0x2B06F0C9: je 0x2b06f0f2 */ 12657 L_2B06F0CB: 12658 eax = MEM32(ebp + (-0xC)); /* 0x2B06F0CB: mov eax, dword ptr [ebp - 0xc] */ 12659 edi = MEM32(eax + 0x4); /* 0x2B06F0CE: mov edi, dword ptr [eax + 4] */ 12660 ecx = esi; /* 0x2B06F0D1: mov ecx, esi */ 12661 edx = ecx; /* 0x2B06F0D3: mov edx, ecx */ 12662 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06F0D5: shr ecx, 2 */ 12663 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12664 ecx = ecx >> 2u; /* 0x2B06F0D5: shr ecx, 2 */ 12665 esi = 0x2B0EF014u; /* 0x2B06F0D8: mov esi, 0x2b0ef014 */ 12666 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06F0DD: 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; } 12667 ecx = edx; /* 0x2B06F0DF: mov ecx, edx */ 12668 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 12669 ecx = ecx & 3; /* 0x2B06F0E1: and ecx, 3 */ 12670 _cf = 0; 12671 _flag_k = FK_TEST; 12672 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06F0E4: 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; } 12673 ecx = edx; /* 0x2B06F0E6: mov ecx, edx */ 12674 MEM32(eax + 0x8) = ecx; /* 0x2B06F0E8: mov dword ptr [eax + 8], ecx */ 12675 eax = MEM32(eax + 0x4); /* 0x2B06F0EB: mov eax, dword ptr [eax + 4] */ 12676 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B06F0EE: mov byte ptr [eax + ecx], 0 */ 12677 L_2B06F0F2: 12678 ecx = MEM32(ebx + 0x28); /* 0x2B06F0F2: mov ecx, dword ptr [ebx + 0x28] */ 12679 esi = MEM32(ebp + 0x8); /* 0x2B06F0F5: mov esi, dword ptr [ebp + 8] */ 12680 PUSH32(esp, ecx); /* 0x2B06F0F8: push ecx */ 12681 PUSH32(esp, esi); /* 0x2B06F0F9: push esi */ 12682 ecx = ebx; /* 0x2B06F0FA: mov ecx, ebx */ 12683 RECOMP_ICALL(0x2B074050u); /* 0x2B06F0FC: call 0x2b074050 */ /* not lifted */ 12684 RECOMP_FLAGS_IN(); 12685 ecx = MEM32(ebx + 0x28); /* 0x2B06F101: mov ecx, dword ptr [ebx + 0x28] */ 12686 PUSH32(esp, 0x12u); /* 0x2B06F104: push 0x12 */ 12687 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06F106: push -1 */ 12688 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06F108: call dword ptr [0x2b0b5a74] */ 12689 RECOMP_FLAGS_IN(); 12690 edx = MEM32(ebx + 0x28); /* 0x2B06F10E: mov edx, dword ptr [ebx + 0x28] */ 12691 PUSH32(esp, edx); /* 0x2B06F111: push edx */ 12692 PUSH32(esp, esi); /* 0x2B06F112: push esi */ 12693 ecx = ebx; /* 0x2B06F113: mov ecx, ebx */ 12694 RECOMP_ICALL(0x2B0740A0u); /* 0x2B06F115: call 0x2b0740a0 */ /* not lifted */ 12695 RECOMP_FLAGS_IN(); 12696 PUSH32(esp, esi); /* 0x2B06F11A: push esi */ 12697 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06F11B: call dword ptr [0x2b0b5d6c] */ 12698 RECOMP_FLAGS_IN(); 12699 ecx = eax; /* 0x2B06F121: mov ecx, eax */ 12700 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B06F123: call dword ptr [0x2b0b5d50] */ 12701 RECOMP_FLAGS_IN(); 12702 edx = MEM32(ebx + 0x28); /* 0x2B06F129: mov edx, dword ptr [ebx + 0x28] */ 12703 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12704 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06F12C: or ecx, 0xffffffff */ 12705 _cf = 0; 12706 _flag_k = FK_TEST; 12707 edi = eax; /* 0x2B06F12F: mov edi, eax */ 12708 MEM32(ebp + (-0xC)) = eax; /* 0x2B06F131: mov dword ptr [ebp - 0xc], eax */ 12709 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12710 eax = 0; /* 0x2B06F134: xor eax, eax */ 12711 _cf = 0; 12712 _flag_k = FK_TEST; 12713 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; } /* 0x2B06F136: repne scasb al, byte ptr es:[edi] */ 12714 eax = MEM32(0x2B0B515C); /* 0x2B06F138: mov eax, dword ptr [0x2b0b515c] */ 12715 ecx = ~ecx; /* 0x2B06F13D: not ecx */ 12716 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12717 ecx = ecx - 1; /* 0x2B06F13F: dec ecx */ 12718 _flag_k = FK_DEC; 12719 edi = ecx; /* 0x2B06F140: mov edi, ecx */ 12720 ecx = MEM32(eax); /* 0x2B06F142: mov ecx, dword ptr [eax] */ 12721 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 12722 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12723 ecx = ecx - MEM32(edx + 0x8); /* 0x2B06F144: sub ecx, dword ptr [edx + 8] */ 12724 _flag_k = FK_CMP; 12725 /* cmp ecx, edi */ /* 0x2B06F147: cmp ecx, edi */ 12726 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 12727 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12728 _flag_k = FK_CMP; 12729 MEM32(ebp + (-0x4)) = edx; /* 0x2B06F149: mov dword ptr [ebp - 4], edx */ 12730 MEM32(ebp + (-0x8)) = edi; /* 0x2B06F14C: mov dword ptr [ebp - 8], edi */ 12731 if (CMP_A(_flag_a, _flag_b)) goto L_2B06F15A; /* 0x2B06F14F: ja 0x2b06f15a */ 12732 L_2B06F151: 12733 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06F151: call dword ptr [0x2b0b51a8] */ 12734 RECOMP_FLAGS_IN(); 12735 edx = MEM32(ebp + (-0x4)); /* 0x2B06F157: mov edx, dword ptr [ebp - 4] */ 12736 L_2B06F15A: 12737 /* test edi, edi */ /* 0x2B06F15A: test edi, edi */ 12738 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 12739 _cf = 0; 12740 _flag_k = FK_TEST; 12741 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F1F4; /* 0x2B06F15C: jbe 0x2b06f1f4 */ 12742 L_2B06F162: 12743 edi = MEM32(edx + 0x8); /* 0x2B06F162: mov edi, dword ptr [edx + 8] */ 12744 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ebp + (-0x8))); 12745 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12746 edi = edi + MEM32(ebp + (-0x8)); /* 0x2B06F165: add edi, dword ptr [ebp - 8] */ 12747 _flag_k = FK_ADD; 12748 ecx = edx; /* 0x2B06F168: mov ecx, edx */ 12749 MEM32(ebp + (-0x10)) = edi; /* 0x2B06F16A: mov dword ptr [ebp - 0x10], edi */ 12750 RECOMP_ICALL(MEM32(0x2B0B5118)); /* 0x2B06F16D: call dword ptr [0x2b0b5118] */ 12751 RECOMP_FLAGS_IN(); 12752 /* cmp eax, edi */ /* 0x2B06F173: cmp eax, edi */ 12753 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 12754 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12755 _flag_k = FK_CMP; 12756 if (CMP_AE(_flag_a, _flag_b)) goto L_2B06F17D; /* 0x2B06F175: jae 0x2b06f17d */ 12757 L_2B06F177: 12758 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06F177: call dword ptr [0x2b0b51a8] */ 12759 RECOMP_FLAGS_IN(); 12760 L_2B06F17D: 12761 ecx = MEM32(ebp + (-0x4)); /* 0x2B06F17D: mov ecx, dword ptr [ebp - 4] */ 12762 /* cmp edi, MEM32(ecx + 0x8) */ /* 0x2B06F180: cmp edi, dword ptr [ecx + 8] */ 12763 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 12764 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12765 _flag_k = FK_CMP; 12766 if (CMP_AE(_flag_a, _flag_b)) goto L_2B06F188; /* 0x2B06F183: jae 0x2b06f188 */ 12767 L_2B06F185: 12768 MEM32(ecx + 0x8) = edi; /* 0x2B06F185: mov dword ptr [ecx + 8], edi */ 12769 L_2B06F188: 12770 eax = MEM32(ecx + 0x4); /* 0x2B06F188: mov eax, dword ptr [ecx + 4] */ 12771 /* test eax, eax */ /* 0x2B06F18B: test eax, eax */ 12772 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12773 _cf = 0; 12774 _flag_k = FK_TEST; 12775 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F1A9; /* 0x2B06F18D: je 0x2b06f1a9 */ 12776 L_2B06F18F: 12777 SET_LO8(edx, MEM8(eax + (-0x1))); /* 0x2B06F18F: mov dl, byte ptr [eax - 1] */ 12778 /* test LO8(edx), LO8(edx) */ /* 0x2B06F192: test dl, dl */ 12779 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 12780 _cf = 0; 12781 _flag_k = FK_NARROW(FK_TEST, 24); 12782 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F1A9; /* 0x2B06F194: je 0x2b06f1a9 */ 12783 L_2B06F196: 12784 /* cmp LO8(edx), 0xFFu */ /* 0x2B06F196: cmp dl, 0xff */ 12785 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 12786 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12787 _flag_k = FK_NARROW(FK_CMP, 24); 12788 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06F1A9; /* 0x2B06F199: je 0x2b06f1a9 */ 12789 L_2B06F19B: 12790 /* test edi, edi */ /* 0x2B06F19B: test edi, edi */ 12791 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 12792 _cf = 0; 12793 _flag_k = FK_TEST; 12794 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06F1BF; /* 0x2B06F19D: jne 0x2b06f1bf */ 12795 L_2B06F19F: 12796 PUSH32(esp, 1); /* 0x2B06F19F: push 1 */ 12797 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B06F1A1: call dword ptr [0x2b0b514c] */ 12798 RECOMP_FLAGS_IN(); 12799 goto L_2B06F1F4; /* 0x2B06F1A7: jmp 0x2b06f1f4 */ 12800 L_2B06F1A9: 12801 /* test edi, edi */ /* 0x2B06F1A9: test edi, edi */ 12802 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 12803 _cf = 0; 12804 _flag_k = FK_TEST; 12805 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06F1BA; /* 0x2B06F1AB: jne 0x2b06f1ba */ 12806 L_2B06F1AD: 12807 /* test eax, eax */ /* 0x2B06F1AD: test eax, eax */ 12808 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12809 _cf = 0; 12810 _flag_k = FK_TEST; 12811 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F1F4; /* 0x2B06F1AF: je 0x2b06f1f4 */ 12812 L_2B06F1B1: 12813 PUSH32(esp, edi); /* 0x2B06F1B1: push edi */ 12814 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06F1B2: call dword ptr [0x2b0b5150] */ 12815 RECOMP_FLAGS_IN(); 12816 goto L_2B06F1F4; /* 0x2B06F1B8: jmp 0x2b06f1f4 */ 12817 L_2B06F1BA: 12818 /* cmp MEM32(ecx + 0xC), edi */ /* 0x2B06F1BA: cmp dword ptr [ecx + 0xc], edi */ 12819 _flag_a = (uint32_t)(MEM32(ecx + 0xC)); _flag_b = (uint32_t)(edi); 12820 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12821 _flag_k = FK_CMP; 12822 if (CMP_AE(_flag_a, _flag_b)) goto L_2B06F1C6; /* 0x2B06F1BD: jae 0x2b06f1c6 */ 12823 L_2B06F1BF: 12824 PUSH32(esp, edi); /* 0x2B06F1BF: push edi */ 12825 RECOMP_ICALL(MEM32(0x2B0B5110)); /* 0x2B06F1C0: call dword ptr [0x2b0b5110] */ 12826 RECOMP_FLAGS_IN(); 12827 L_2B06F1C6: 12828 eax = MEM32(ebp + (-0x4)); /* 0x2B06F1C6: mov eax, dword ptr [ebp - 4] */ 12829 edx = MEM32(eax + 0x4); /* 0x2B06F1C9: mov edx, dword ptr [eax + 4] */ 12830 edi = MEM32(eax + 0x8); /* 0x2B06F1CC: mov edi, dword ptr [eax + 8] */ 12831 ecx = MEM32(ebp + (-0x8)); /* 0x2B06F1CF: mov ecx, dword ptr [ebp - 8] */ 12832 esi = MEM32(ebp + (-0xC)); /* 0x2B06F1D2: mov esi, dword ptr [ebp - 0xc] */ 12833 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 12834 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12835 edi = edi + edx; /* 0x2B06F1D5: add edi, edx */ 12836 _flag_k = FK_ADD; 12837 edx = ecx; /* 0x2B06F1D7: mov edx, ecx */ 12838 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06F1D9: shr ecx, 2 */ 12839 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12840 ecx = ecx >> 2u; /* 0x2B06F1D9: shr ecx, 2 */ 12841 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06F1DC: 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; } 12842 ecx = edx; /* 0x2B06F1DE: mov ecx, edx */ 12843 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 12844 ecx = ecx & 3; /* 0x2B06F1E0: and ecx, 3 */ 12845 _cf = 0; 12846 _flag_k = FK_TEST; 12847 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06F1E3: 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; } 12848 ecx = MEM32(ebp + (-0x10)); /* 0x2B06F1E5: mov ecx, dword ptr [ebp - 0x10] */ 12849 PUSH32(esp, ecx); /* 0x2B06F1E8: push ecx */ 12850 ecx = eax; /* 0x2B06F1E9: mov ecx, eax */ 12851 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06F1EB: call dword ptr [0x2b0b5150] */ 12852 RECOMP_FLAGS_IN(); 12853 esi = MEM32(ebp + 0x8); /* 0x2B06F1F1: mov esi, dword ptr [ebp + 8] */ 12854 L_2B06F1F4: 12855 edx = MEM32(ebx + 0x28); /* 0x2B06F1F4: mov edx, dword ptr [ebx + 0x28] */ 12856 PUSH32(esp, edx); /* 0x2B06F1F7: push edx */ 12857 PUSH32(esp, esi); /* 0x2B06F1F8: push esi */ 12858 ecx = ebx; /* 0x2B06F1F9: mov ecx, ebx */ 12859 RECOMP_ICALL(0x2B074230u); /* 0x2B06F1FB: call 0x2b074230 */ /* not lifted */ 12860 RECOMP_FLAGS_IN(); 12861 eax = MEM32(ebx + 0x28); /* 0x2B06F200: mov eax, dword ptr [ebx + 0x28] */ 12862 PUSH32(esp, eax); /* 0x2B06F203: push eax */ 12863 PUSH32(esp, esi); /* 0x2B06F204: push esi */ 12864 ecx = ebx; /* 0x2B06F205: mov ecx, ebx */ 12865 RECOMP_ICALL(0x2B0741B0u); /* 0x2B06F207: call 0x2b0741b0 */ /* not lifted */ 12866 RECOMP_FLAGS_IN(); 12867 ecx = MEM32(ebx + 0x28); /* 0x2B06F20C: mov ecx, dword ptr [ebx + 0x28] */ 12868 PUSH32(esp, ecx); /* 0x2B06F20F: push ecx */ 12869 PUSH32(esp, esi); /* 0x2B06F210: push esi */ 12870 ecx = ebx; /* 0x2B06F211: mov ecx, ebx */ 12871 RECOMP_ICALL(0x2B0737C0u); /* 0x2B06F213: call 0x2b0737c0 */ /* not lifted */ 12872 RECOMP_FLAGS_IN(); 12873 edx = MEM32(ebx + 0x28); /* 0x2B06F218: mov edx, dword ptr [ebx + 0x28] */ 12874 PUSH32(esp, edx); /* 0x2B06F21B: push edx */ 12875 PUSH32(esp, esi); /* 0x2B06F21C: push esi */ 12876 ecx = ebx; /* 0x2B06F21D: mov ecx, ebx */ 12877 RECOMP_ICALL(0x2B073FD0u); /* 0x2B06F21F: call 0x2b073fd0 */ /* not lifted */ 12878 RECOMP_FLAGS_IN(); 12879 eax = MEM32(ebx + 0x28); /* 0x2B06F224: mov eax, dword ptr [ebx + 0x28] */ 12880 PUSH32(esp, eax); /* 0x2B06F227: push eax */ 12881 PUSH32(esp, esi); /* 0x2B06F228: push esi */ 12882 ecx = ebx; /* 0x2B06F229: mov ecx, ebx */ 12883 RECOMP_ICALL(0x2B073B50u); /* 0x2B06F22B: call 0x2b073b50 */ /* not lifted */ 12884 RECOMP_FLAGS_IN(); 12885 ecx = MEM32(ebx + 0x28); /* 0x2B06F230: mov ecx, dword ptr [ebx + 0x28] */ 12886 PUSH32(esp, ecx); /* 0x2B06F233: push ecx */ 12887 PUSH32(esp, esi); /* 0x2B06F234: push esi */ 12888 ecx = ebx; /* 0x2B06F235: mov ecx, ebx */ 12889 RECOMP_ICALL(0x2B073D30u); /* 0x2B06F237: call 0x2b073d30 */ /* not lifted */ 12890 RECOMP_FLAGS_IN(); 12891 edx = MEM32(ebx + 0x28); /* 0x2B06F23C: mov edx, dword ptr [ebx + 0x28] */ 12892 PUSH32(esp, edx); /* 0x2B06F23F: push edx */ 12893 PUSH32(esp, esi); /* 0x2B06F240: push esi */ 12894 ecx = ebx; /* 0x2B06F241: mov ecx, ebx */ 12895 RECOMP_ICALL(0x2B073F90u); /* 0x2B06F243: call 0x2b073f90 */ /* not lifted */ 12896 RECOMP_FLAGS_IN(); 12897 eax = MEM32(ebx + 0x28); /* 0x2B06F248: mov eax, dword ptr [ebx + 0x28] */ 12898 PUSH32(esp, eax); /* 0x2B06F24B: push eax */ 12899 PUSH32(esp, esi); /* 0x2B06F24C: push esi */ 12900 ecx = ebx; /* 0x2B06F24D: mov ecx, ebx */ 12901 RECOMP_ICALL(0x2B073A30u); /* 0x2B06F24F: call 0x2b073a30 */ /* not lifted */ 12902 RECOMP_FLAGS_IN(); 12903 ecx = MEM32(ebx + 0x28); /* 0x2B06F254: mov ecx, dword ptr [ebx + 0x28] */ 12904 PUSH32(esp, ecx); /* 0x2B06F257: push ecx */ 12905 PUSH32(esp, esi); /* 0x2B06F258: push esi */ 12906 ecx = ebx; /* 0x2B06F259: mov ecx, ebx */ 12907 RECOMP_ICALL(0x2B074010u); /* 0x2B06F25B: call 0x2b074010 */ /* not lifted */ 12908 RECOMP_FLAGS_IN(); 12909 ecx = MEM32(0x2B0EF104); /* 0x2B06F260: mov ecx, dword ptr [0x2b0ef104] */ 12910 /* test ecx, ecx */ /* 0x2B06F266: test ecx, ecx */ 12911 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12912 _cf = 0; 12913 _flag_k = FK_TEST; 12914 edi = POP32_VAL(esp); /* 0x2B06F268: pop edi */ 12915 esi = POP32_VAL(esp); /* 0x2B06F269: pop esi */ 12916 ebx = POP32_VAL(esp); /* 0x2B06F26A: pop ebx */ 12917 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F27B; /* 0x2B06F26B: je 0x2b06f27b */ 12918 L_2B06F26D: 12919 edx = MEM32(ebp + (-0xC)); /* 0x2B06F26D: mov edx, dword ptr [ebp - 0xc] */ 12920 PUSH32(esp, edx); /* 0x2B06F270: push edx */ 12921 PUSH32(esp, 0x2B0EB59Cu); /* 0x2B06F271: push 0x2b0eb59c */ 12922 RECOMP_ICALL(0x2B08D480u); /* 0x2B06F276: call 0x2b08d480 */ /* not lifted */ 12923 RECOMP_FLAGS_IN(); 12924 L_2B06F27B: 12925 esp = ebp; /* 0x2B06F27B: mov esp, ebp */ 12926 ebp = POP32_VAL(esp); /* 0x2B06F27D: pop ebp */ 12927 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06F27E: ret 4 */ 12928 RECOMP_REGS_OUT(); 12929 } 12930 12931 void sub_2B06F290(void) { 12932 int _fpu_cmp = 0; 12933 uint32_t _cf = 0; 12934 int _df = 1; 12935 uint32_t _flag_k = FK_NONE; 12936 uint32_t _flag_a = 0, _flag_b = 0; 12937 uint32_t _itail_tgt = 0; 12938 RECOMP_REGS_LOCALS 12939 RECOMP_ENTER(0x2B06F290u); 12940 12941 L_2B06F290: 12942 PUSH32(esp, ebp); /* 0x2B06F290: push ebp */ 12943 ebp = esp; /* 0x2B06F291: mov ebp, esp */ 12944 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 12945 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12946 esp = esp - 0x10u; /* 0x2B06F293: sub esp, 0x10 */ 12947 _flag_k = FK_CMP; 12948 PUSH32(esp, ebx); /* 0x2B06F296: push ebx */ 12949 ebx = ecx; /* 0x2B06F297: mov ebx, ecx */ 12950 edx = MEM32(ebx + 0x28); /* 0x2B06F299: mov edx, dword ptr [ebx + 0x28] */ 12951 PUSH32(esp, esi); /* 0x2B06F29C: push esi */ 12952 PUSH32(esp, edi); /* 0x2B06F29D: push edi */ 12953 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12954 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06F29E: or ecx, 0xffffffff */ 12955 _cf = 0; 12956 _flag_k = FK_TEST; 12957 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12958 eax = 0; /* 0x2B06F2A1: xor eax, eax */ 12959 _cf = 0; 12960 _flag_k = FK_TEST; 12961 MEM32(ebx + 0x8) = 5; /* 0x2B06F2A3: mov dword ptr [ebx + 8], 5 */ 12962 edi = 0x2B0EF014u; /* 0x2B06F2AA: mov edi, 0x2b0ef014 */ 12963 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; } /* 0x2B06F2AF: repne scasb al, byte ptr es:[edi] */ 12964 ecx = ~ecx; /* 0x2B06F2B1: not ecx */ 12965 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12966 ecx = ecx - 1; /* 0x2B06F2B3: dec ecx */ 12967 _flag_k = FK_DEC; 12968 esi = ecx; /* 0x2B06F2B4: mov esi, ecx */ 12969 PUSH32(esp, 1); /* 0x2B06F2B6: push 1 */ 12970 PUSH32(esp, esi); /* 0x2B06F2B8: push esi */ 12971 ecx = edx; /* 0x2B06F2B9: mov ecx, edx */ 12972 MEM32(ebp + (-0xC)) = edx; /* 0x2B06F2BB: mov dword ptr [ebp - 0xc], edx */ 12973 MEM32(ebp + (-0x8)) = esi; /* 0x2B06F2BE: mov dword ptr [ebp - 8], esi */ 12974 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06F2C1: call dword ptr [0x2b0b5154] */ 12975 RECOMP_FLAGS_IN(); 12976 /* test LO8(eax), LO8(eax) */ /* 0x2B06F2C7: test al, al */ 12977 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12978 _cf = 0; 12979 _flag_k = FK_NARROW(FK_TEST, 24); 12980 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F2F2; /* 0x2B06F2C9: je 0x2b06f2f2 */ 12981 L_2B06F2CB: 12982 eax = MEM32(ebp + (-0xC)); /* 0x2B06F2CB: mov eax, dword ptr [ebp - 0xc] */ 12983 edi = MEM32(eax + 0x4); /* 0x2B06F2CE: mov edi, dword ptr [eax + 4] */ 12984 ecx = esi; /* 0x2B06F2D1: mov ecx, esi */ 12985 edx = ecx; /* 0x2B06F2D3: mov edx, ecx */ 12986 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06F2D5: shr ecx, 2 */ 12987 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12988 ecx = ecx >> 2u; /* 0x2B06F2D5: shr ecx, 2 */ 12989 esi = 0x2B0EF014u; /* 0x2B06F2D8: mov esi, 0x2b0ef014 */ 12990 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06F2DD: 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; } 12991 ecx = edx; /* 0x2B06F2DF: mov ecx, edx */ 12992 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 12993 ecx = ecx & 3; /* 0x2B06F2E1: and ecx, 3 */ 12994 _cf = 0; 12995 _flag_k = FK_TEST; 12996 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06F2E4: 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; } 12997 ecx = edx; /* 0x2B06F2E6: mov ecx, edx */ 12998 MEM32(eax + 0x8) = ecx; /* 0x2B06F2E8: mov dword ptr [eax + 8], ecx */ 12999 eax = MEM32(eax + 0x4); /* 0x2B06F2EB: mov eax, dword ptr [eax + 4] */ 13000 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B06F2EE: mov byte ptr [eax + ecx], 0 */ 13001 L_2B06F2F2: 13002 ecx = MEM32(ebx + 0x28); /* 0x2B06F2F2: mov ecx, dword ptr [ebx + 0x28] */ 13003 esi = MEM32(ebp + 0x8); /* 0x2B06F2F5: mov esi, dword ptr [ebp + 8] */ 13004 PUSH32(esp, ecx); /* 0x2B06F2F8: push ecx */ 13005 PUSH32(esp, esi); /* 0x2B06F2F9: push esi */ 13006 ecx = ebx; /* 0x2B06F2FA: mov ecx, ebx */ 13007 RECOMP_ICALL(0x2B074050u); /* 0x2B06F2FC: call 0x2b074050 */ /* not lifted */ 13008 RECOMP_FLAGS_IN(); 13009 ecx = MEM32(ebx + 0x28); /* 0x2B06F301: mov ecx, dword ptr [ebx + 0x28] */ 13010 PUSH32(esp, 0x12u); /* 0x2B06F304: push 0x12 */ 13011 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06F306: push -1 */ 13012 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06F308: call dword ptr [0x2b0b5a74] */ 13013 RECOMP_FLAGS_IN(); 13014 edx = MEM32(ebx + 0x28); /* 0x2B06F30E: mov edx, dword ptr [ebx + 0x28] */ 13015 PUSH32(esp, edx); /* 0x2B06F311: push edx */ 13016 PUSH32(esp, esi); /* 0x2B06F312: push esi */ 13017 ecx = ebx; /* 0x2B06F313: mov ecx, ebx */ 13018 RECOMP_ICALL(0x2B0740A0u); /* 0x2B06F315: call 0x2b0740a0 */ /* not lifted */ 13019 RECOMP_FLAGS_IN(); 13020 PUSH32(esp, esi); /* 0x2B06F31A: push esi */ 13021 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06F31B: call dword ptr [0x2b0b5d6c] */ 13022 RECOMP_FLAGS_IN(); 13023 ecx = eax; /* 0x2B06F321: mov ecx, eax */ 13024 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B06F323: call dword ptr [0x2b0b5d50] */ 13025 RECOMP_FLAGS_IN(); 13026 edx = MEM32(ebx + 0x28); /* 0x2B06F329: mov edx, dword ptr [ebx + 0x28] */ 13027 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 13028 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06F32C: or ecx, 0xffffffff */ 13029 _cf = 0; 13030 _flag_k = FK_TEST; 13031 edi = eax; /* 0x2B06F32F: mov edi, eax */ 13032 MEM32(ebp + (-0xC)) = eax; /* 0x2B06F331: mov dword ptr [ebp - 0xc], eax */ 13033 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13034 eax = 0; /* 0x2B06F334: xor eax, eax */ 13035 _cf = 0; 13036 _flag_k = FK_TEST; 13037 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; } /* 0x2B06F336: repne scasb al, byte ptr es:[edi] */ 13038 eax = MEM32(0x2B0B515C); /* 0x2B06F338: mov eax, dword ptr [0x2b0b515c] */ 13039 ecx = ~ecx; /* 0x2B06F33D: not ecx */ 13040 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13041 ecx = ecx - 1; /* 0x2B06F33F: dec ecx */ 13042 _flag_k = FK_DEC; 13043 edi = ecx; /* 0x2B06F340: mov edi, ecx */ 13044 ecx = MEM32(eax); /* 0x2B06F342: mov ecx, dword ptr [eax] */ 13045 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 13046 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13047 ecx = ecx - MEM32(edx + 0x8); /* 0x2B06F344: sub ecx, dword ptr [edx + 8] */ 13048 _flag_k = FK_CMP; 13049 /* cmp ecx, edi */ /* 0x2B06F347: cmp ecx, edi */ 13050 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 13051 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13052 _flag_k = FK_CMP; 13053 MEM32(ebp + (-0x4)) = edx; /* 0x2B06F349: mov dword ptr [ebp - 4], edx */ 13054 MEM32(ebp + (-0x8)) = edi; /* 0x2B06F34C: mov dword ptr [ebp - 8], edi */ 13055 if (CMP_A(_flag_a, _flag_b)) goto L_2B06F35A; /* 0x2B06F34F: ja 0x2b06f35a */ 13056 L_2B06F351: 13057 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06F351: call dword ptr [0x2b0b51a8] */ 13058 RECOMP_FLAGS_IN(); 13059 edx = MEM32(ebp + (-0x4)); /* 0x2B06F357: mov edx, dword ptr [ebp - 4] */ 13060 L_2B06F35A: 13061 /* test edi, edi */ /* 0x2B06F35A: test edi, edi */ 13062 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 13063 _cf = 0; 13064 _flag_k = FK_TEST; 13065 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F3F4; /* 0x2B06F35C: jbe 0x2b06f3f4 */ 13066 L_2B06F362: 13067 edi = MEM32(edx + 0x8); /* 0x2B06F362: mov edi, dword ptr [edx + 8] */ 13068 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ebp + (-0x8))); 13069 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13070 edi = edi + MEM32(ebp + (-0x8)); /* 0x2B06F365: add edi, dword ptr [ebp - 8] */ 13071 _flag_k = FK_ADD; 13072 ecx = edx; /* 0x2B06F368: mov ecx, edx */ 13073 MEM32(ebp + (-0x10)) = edi; /* 0x2B06F36A: mov dword ptr [ebp - 0x10], edi */ 13074 RECOMP_ICALL(MEM32(0x2B0B5118)); /* 0x2B06F36D: call dword ptr [0x2b0b5118] */ 13075 RECOMP_FLAGS_IN(); 13076 /* cmp eax, edi */ /* 0x2B06F373: cmp eax, edi */ 13077 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 13078 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13079 _flag_k = FK_CMP; 13080 if (CMP_AE(_flag_a, _flag_b)) goto L_2B06F37D; /* 0x2B06F375: jae 0x2b06f37d */ 13081 L_2B06F377: 13082 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06F377: call dword ptr [0x2b0b51a8] */ 13083 RECOMP_FLAGS_IN(); 13084 L_2B06F37D: 13085 ecx = MEM32(ebp + (-0x4)); /* 0x2B06F37D: mov ecx, dword ptr [ebp - 4] */ 13086 /* cmp edi, MEM32(ecx + 0x8) */ /* 0x2B06F380: cmp edi, dword ptr [ecx + 8] */ 13087 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 13088 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13089 _flag_k = FK_CMP; 13090 if (CMP_AE(_flag_a, _flag_b)) goto L_2B06F388; /* 0x2B06F383: jae 0x2b06f388 */ 13091 L_2B06F385: 13092 MEM32(ecx + 0x8) = edi; /* 0x2B06F385: mov dword ptr [ecx + 8], edi */ 13093 L_2B06F388: 13094 eax = MEM32(ecx + 0x4); /* 0x2B06F388: mov eax, dword ptr [ecx + 4] */ 13095 /* test eax, eax */ /* 0x2B06F38B: test eax, eax */ 13096 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13097 _cf = 0; 13098 _flag_k = FK_TEST; 13099 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F3A9; /* 0x2B06F38D: je 0x2b06f3a9 */ 13100 L_2B06F38F: 13101 SET_LO8(edx, MEM8(eax + (-0x1))); /* 0x2B06F38F: mov dl, byte ptr [eax - 1] */ 13102 /* test LO8(edx), LO8(edx) */ /* 0x2B06F392: test dl, dl */ 13103 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 13104 _cf = 0; 13105 _flag_k = FK_NARROW(FK_TEST, 24); 13106 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F3A9; /* 0x2B06F394: je 0x2b06f3a9 */ 13107 L_2B06F396: 13108 /* cmp LO8(edx), 0xFFu */ /* 0x2B06F396: cmp dl, 0xff */ 13109 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 13110 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13111 _flag_k = FK_NARROW(FK_CMP, 24); 13112 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06F3A9; /* 0x2B06F399: je 0x2b06f3a9 */ 13113 L_2B06F39B: 13114 /* test edi, edi */ /* 0x2B06F39B: test edi, edi */ 13115 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 13116 _cf = 0; 13117 _flag_k = FK_TEST; 13118 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06F3BF; /* 0x2B06F39D: jne 0x2b06f3bf */ 13119 L_2B06F39F: 13120 PUSH32(esp, 1); /* 0x2B06F39F: push 1 */ 13121 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B06F3A1: call dword ptr [0x2b0b514c] */ 13122 RECOMP_FLAGS_IN(); 13123 goto L_2B06F3F4; /* 0x2B06F3A7: jmp 0x2b06f3f4 */ 13124 L_2B06F3A9: 13125 /* test edi, edi */ /* 0x2B06F3A9: test edi, edi */ 13126 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 13127 _cf = 0; 13128 _flag_k = FK_TEST; 13129 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06F3BA; /* 0x2B06F3AB: jne 0x2b06f3ba */ 13130 L_2B06F3AD: 13131 /* test eax, eax */ /* 0x2B06F3AD: test eax, eax */ 13132 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13133 _cf = 0; 13134 _flag_k = FK_TEST; 13135 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F3F4; /* 0x2B06F3AF: je 0x2b06f3f4 */ 13136 L_2B06F3B1: 13137 PUSH32(esp, edi); /* 0x2B06F3B1: push edi */ 13138 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06F3B2: call dword ptr [0x2b0b5150] */ 13139 RECOMP_FLAGS_IN(); 13140 goto L_2B06F3F4; /* 0x2B06F3B8: jmp 0x2b06f3f4 */ 13141 L_2B06F3BA: 13142 /* cmp MEM32(ecx + 0xC), edi */ /* 0x2B06F3BA: cmp dword ptr [ecx + 0xc], edi */ 13143 _flag_a = (uint32_t)(MEM32(ecx + 0xC)); _flag_b = (uint32_t)(edi); 13144 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13145 _flag_k = FK_CMP; 13146 if (CMP_AE(_flag_a, _flag_b)) goto L_2B06F3C6; /* 0x2B06F3BD: jae 0x2b06f3c6 */ 13147 L_2B06F3BF: 13148 PUSH32(esp, edi); /* 0x2B06F3BF: push edi */ 13149 RECOMP_ICALL(MEM32(0x2B0B5110)); /* 0x2B06F3C0: call dword ptr [0x2b0b5110] */ 13150 RECOMP_FLAGS_IN(); 13151 L_2B06F3C6: 13152 eax = MEM32(ebp + (-0x4)); /* 0x2B06F3C6: mov eax, dword ptr [ebp - 4] */ 13153 edx = MEM32(eax + 0x4); /* 0x2B06F3C9: mov edx, dword ptr [eax + 4] */ 13154 edi = MEM32(eax + 0x8); /* 0x2B06F3CC: mov edi, dword ptr [eax + 8] */ 13155 ecx = MEM32(ebp + (-0x8)); /* 0x2B06F3CF: mov ecx, dword ptr [ebp - 8] */ 13156 esi = MEM32(ebp + (-0xC)); /* 0x2B06F3D2: mov esi, dword ptr [ebp - 0xc] */ 13157 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 13158 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13159 edi = edi + edx; /* 0x2B06F3D5: add edi, edx */ 13160 _flag_k = FK_ADD; 13161 edx = ecx; /* 0x2B06F3D7: mov edx, ecx */ 13162 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06F3D9: shr ecx, 2 */ 13163 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13164 ecx = ecx >> 2u; /* 0x2B06F3D9: shr ecx, 2 */ 13165 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06F3DC: 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; } 13166 ecx = edx; /* 0x2B06F3DE: mov ecx, edx */ 13167 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 13168 ecx = ecx & 3; /* 0x2B06F3E0: and ecx, 3 */ 13169 _cf = 0; 13170 _flag_k = FK_TEST; 13171 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06F3E3: 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; } 13172 ecx = MEM32(ebp + (-0x10)); /* 0x2B06F3E5: mov ecx, dword ptr [ebp - 0x10] */ 13173 PUSH32(esp, ecx); /* 0x2B06F3E8: push ecx */ 13174 ecx = eax; /* 0x2B06F3E9: mov ecx, eax */ 13175 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06F3EB: call dword ptr [0x2b0b5150] */ 13176 RECOMP_FLAGS_IN(); 13177 esi = MEM32(ebp + 0x8); /* 0x2B06F3F1: mov esi, dword ptr [ebp + 8] */ 13178 L_2B06F3F4: 13179 edx = MEM32(ebx + 0x28); /* 0x2B06F3F4: mov edx, dword ptr [ebx + 0x28] */ 13180 PUSH32(esp, edx); /* 0x2B06F3F7: push edx */ 13181 PUSH32(esp, esi); /* 0x2B06F3F8: push esi */ 13182 ecx = ebx; /* 0x2B06F3F9: mov ecx, ebx */ 13183 RECOMP_ICALL(0x2B074230u); /* 0x2B06F3FB: call 0x2b074230 */ /* not lifted */ 13184 RECOMP_FLAGS_IN(); 13185 eax = MEM32(ebx + 0x28); /* 0x2B06F400: mov eax, dword ptr [ebx + 0x28] */ 13186 PUSH32(esp, eax); /* 0x2B06F403: push eax */ 13187 PUSH32(esp, esi); /* 0x2B06F404: push esi */ 13188 ecx = ebx; /* 0x2B06F405: mov ecx, ebx */ 13189 RECOMP_ICALL(0x2B0741B0u); /* 0x2B06F407: call 0x2b0741b0 */ /* not lifted */ 13190 RECOMP_FLAGS_IN(); 13191 ecx = MEM32(ebx + 0x28); /* 0x2B06F40C: mov ecx, dword ptr [ebx + 0x28] */ 13192 PUSH32(esp, ecx); /* 0x2B06F40F: push ecx */ 13193 PUSH32(esp, esi); /* 0x2B06F410: push esi */ 13194 ecx = ebx; /* 0x2B06F411: mov ecx, ebx */ 13195 RECOMP_ICALL(0x2B0737C0u); /* 0x2B06F413: call 0x2b0737c0 */ /* not lifted */ 13196 RECOMP_FLAGS_IN(); 13197 edx = MEM32(ebx + 0x28); /* 0x2B06F418: mov edx, dword ptr [ebx + 0x28] */ 13198 PUSH32(esp, edx); /* 0x2B06F41B: push edx */ 13199 PUSH32(esp, esi); /* 0x2B06F41C: push esi */ 13200 ecx = ebx; /* 0x2B06F41D: mov ecx, ebx */ 13201 RECOMP_ICALL(0x2B073FD0u); /* 0x2B06F41F: call 0x2b073fd0 */ /* not lifted */ 13202 RECOMP_FLAGS_IN(); 13203 eax = MEM32(ebx + 0x28); /* 0x2B06F424: mov eax, dword ptr [ebx + 0x28] */ 13204 PUSH32(esp, eax); /* 0x2B06F427: push eax */ 13205 PUSH32(esp, esi); /* 0x2B06F428: push esi */ 13206 ecx = ebx; /* 0x2B06F429: mov ecx, ebx */ 13207 RECOMP_ICALL(0x2B073B50u); /* 0x2B06F42B: call 0x2b073b50 */ /* not lifted */ 13208 RECOMP_FLAGS_IN(); 13209 ecx = MEM32(ebx + 0x28); /* 0x2B06F430: mov ecx, dword ptr [ebx + 0x28] */ 13210 PUSH32(esp, ecx); /* 0x2B06F433: push ecx */ 13211 PUSH32(esp, esi); /* 0x2B06F434: push esi */ 13212 ecx = ebx; /* 0x2B06F435: mov ecx, ebx */ 13213 RECOMP_ICALL(0x2B073D30u); /* 0x2B06F437: call 0x2b073d30 */ /* not lifted */ 13214 RECOMP_FLAGS_IN(); 13215 edx = MEM32(ebx + 0x28); /* 0x2B06F43C: mov edx, dword ptr [ebx + 0x28] */ 13216 PUSH32(esp, edx); /* 0x2B06F43F: push edx */ 13217 PUSH32(esp, esi); /* 0x2B06F440: push esi */ 13218 ecx = ebx; /* 0x2B06F441: mov ecx, ebx */ 13219 RECOMP_ICALL(0x2B073F90u); /* 0x2B06F443: call 0x2b073f90 */ /* not lifted */ 13220 RECOMP_FLAGS_IN(); 13221 eax = MEM32(ebx + 0x28); /* 0x2B06F448: mov eax, dword ptr [ebx + 0x28] */ 13222 PUSH32(esp, eax); /* 0x2B06F44B: push eax */ 13223 PUSH32(esp, esi); /* 0x2B06F44C: push esi */ 13224 ecx = ebx; /* 0x2B06F44D: mov ecx, ebx */ 13225 RECOMP_ICALL(0x2B074010u); /* 0x2B06F44F: call 0x2b074010 */ /* not lifted */ 13226 RECOMP_FLAGS_IN(); 13227 ecx = MEM32(0x2B0EF104); /* 0x2B06F454: mov ecx, dword ptr [0x2b0ef104] */ 13228 /* test ecx, ecx */ /* 0x2B06F45A: test ecx, ecx */ 13229 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 13230 _cf = 0; 13231 _flag_k = FK_TEST; 13232 edi = POP32_VAL(esp); /* 0x2B06F45C: pop edi */ 13233 esi = POP32_VAL(esp); /* 0x2B06F45D: pop esi */ 13234 ebx = POP32_VAL(esp); /* 0x2B06F45E: pop ebx */ 13235 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F46F; /* 0x2B06F45F: je 0x2b06f46f */ 13236 L_2B06F461: 13237 edx = MEM32(ebp + (-0xC)); /* 0x2B06F461: mov edx, dword ptr [ebp - 0xc] */ 13238 PUSH32(esp, edx); /* 0x2B06F464: push edx */ 13239 PUSH32(esp, 0x2B0EB59Cu); /* 0x2B06F465: push 0x2b0eb59c */ 13240 RECOMP_ICALL(0x2B08D480u); /* 0x2B06F46A: call 0x2b08d480 */ /* not lifted */ 13241 RECOMP_FLAGS_IN(); 13242 L_2B06F46F: 13243 esp = ebp; /* 0x2B06F46F: mov esp, ebp */ 13244 ebp = POP32_VAL(esp); /* 0x2B06F471: pop ebp */ 13245 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06F472: ret 4 */ 13246 RECOMP_REGS_OUT(); 13247 } 13248 13249 void sub_2B06F480(void) { 13250 int _fpu_cmp = 0; 13251 uint32_t _cf = 0; 13252 int _df = 1; 13253 uint32_t _flag_k = FK_NONE; 13254 uint32_t _flag_a = 0, _flag_b = 0; 13255 uint32_t _itail_tgt = 0; 13256 RECOMP_REGS_LOCALS 13257 RECOMP_ENTER(0x2B06F480u); 13258 13259 L_2B06F480: 13260 PUSH32(esp, ebp); /* 0x2B06F480: push ebp */ 13261 ebp = esp; /* 0x2B06F481: mov ebp, esp */ 13262 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 13263 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13264 esp = esp - 0x10u; /* 0x2B06F483: sub esp, 0x10 */ 13265 _flag_k = FK_CMP; 13266 SET_LO8(eax, MEM8(ebp + 0xC)); /* 0x2B06F486: mov al, byte ptr [ebp + 0xc] */ 13267 /* test LO8(eax), LO8(eax) */ /* 0x2B06F489: test al, al */ 13268 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13269 _cf = 0; 13270 _flag_k = FK_NARROW(FK_TEST, 24); 13271 PUSH32(esp, ebx); /* 0x2B06F48B: push ebx */ 13272 PUSH32(esp, esi); /* 0x2B06F48C: push esi */ 13273 PUSH32(esp, edi); /* 0x2B06F48D: push edi */ 13274 ebx = ecx; /* 0x2B06F48E: mov ebx, ecx */ 13275 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06F4E9; /* 0x2B06F490: jne 0x2b06f4e9 */ 13276 L_2B06F492: 13277 edx = MEM32(ebx + 0x28); /* 0x2B06F492: mov edx, dword ptr [ebx + 0x28] */ 13278 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 13279 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06F495: or ecx, 0xffffffff */ 13280 _cf = 0; 13281 _flag_k = FK_TEST; 13282 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13283 eax = 0; /* 0x2B06F498: xor eax, eax */ 13284 _cf = 0; 13285 _flag_k = FK_TEST; 13286 MEM32(ebx + 0x8) = 2; /* 0x2B06F49A: mov dword ptr [ebx + 8], 2 */ 13287 edi = 0x2B0EF014u; /* 0x2B06F4A1: mov edi, 0x2b0ef014 */ 13288 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; } /* 0x2B06F4A6: repne scasb al, byte ptr es:[edi] */ 13289 ecx = ~ecx; /* 0x2B06F4A8: not ecx */ 13290 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13291 ecx = ecx - 1; /* 0x2B06F4AA: dec ecx */ 13292 _flag_k = FK_DEC; 13293 esi = ecx; /* 0x2B06F4AB: mov esi, ecx */ 13294 PUSH32(esp, 1); /* 0x2B06F4AD: push 1 */ 13295 PUSH32(esp, esi); /* 0x2B06F4AF: push esi */ 13296 ecx = edx; /* 0x2B06F4B0: mov ecx, edx */ 13297 MEM32(ebp + 0xC) = edx; /* 0x2B06F4B2: mov dword ptr [ebp + 0xc], edx */ 13298 MEM32(ebp + (-0x8)) = esi; /* 0x2B06F4B5: mov dword ptr [ebp - 8], esi */ 13299 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06F4B8: call dword ptr [0x2b0b5154] */ 13300 RECOMP_FLAGS_IN(); 13301 /* test LO8(eax), LO8(eax) */ /* 0x2B06F4BE: test al, al */ 13302 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13303 _cf = 0; 13304 _flag_k = FK_NARROW(FK_TEST, 24); 13305 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F4E9; /* 0x2B06F4C0: je 0x2b06f4e9 */ 13306 L_2B06F4C2: 13307 eax = MEM32(ebp + 0xC); /* 0x2B06F4C2: mov eax, dword ptr [ebp + 0xc] */ 13308 edi = MEM32(eax + 0x4); /* 0x2B06F4C5: mov edi, dword ptr [eax + 4] */ 13309 ecx = esi; /* 0x2B06F4C8: mov ecx, esi */ 13310 edx = ecx; /* 0x2B06F4CA: mov edx, ecx */ 13311 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06F4CC: shr ecx, 2 */ 13312 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13313 ecx = ecx >> 2u; /* 0x2B06F4CC: shr ecx, 2 */ 13314 esi = 0x2B0EF014u; /* 0x2B06F4CF: mov esi, 0x2b0ef014 */ 13315 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06F4D4: 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; } 13316 ecx = edx; /* 0x2B06F4D6: mov ecx, edx */ 13317 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 13318 ecx = ecx & 3; /* 0x2B06F4D8: and ecx, 3 */ 13319 _cf = 0; 13320 _flag_k = FK_TEST; 13321 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06F4DB: 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; } 13322 ecx = edx; /* 0x2B06F4DD: mov ecx, edx */ 13323 MEM32(eax + 0x8) = ecx; /* 0x2B06F4DF: mov dword ptr [eax + 8], ecx */ 13324 eax = MEM32(eax + 0x4); /* 0x2B06F4E2: mov eax, dword ptr [eax + 4] */ 13325 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B06F4E5: mov byte ptr [eax + ecx], 0 */ 13326 L_2B06F4E9: 13327 SET_LO8(ecx, MEM8(ebx + 0x1C)); /* 0x2B06F4E9: mov cl, byte ptr [ebx + 0x1c] */ 13328 PUSH32(esp, 0x12u); /* 0x2B06F4EC: push 0x12 */ 13329 MEM8(ebp + (-0x1)) = (uint8_t)(LO8(ecx)); /* 0x2B06F4EE: mov byte ptr [ebp - 1], cl */ 13330 ecx = MEM32(ebx + 0x28); /* 0x2B06F4F1: mov ecx, dword ptr [ebx + 0x28] */ 13331 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06F4F4: push -1 */ 13332 MEM8(ebx + 0x1C) = (uint8_t)(0); /* 0x2B06F4F6: mov byte ptr [ebx + 0x1c], 0 */ 13333 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06F4FA: call dword ptr [0x2b0b5a74] */ 13334 RECOMP_FLAGS_IN(); 13335 esi = MEM32(ebp + 0x8); /* 0x2B06F500: mov esi, dword ptr [ebp + 8] */ 13336 PUSH32(esp, esi); /* 0x2B06F503: push esi */ 13337 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06F504: call dword ptr [0x2b0b5d6c] */ 13338 RECOMP_FLAGS_IN(); 13339 ecx = eax; /* 0x2B06F50A: mov ecx, eax */ 13340 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B06F50C: call dword ptr [0x2b0b5d50] */ 13341 RECOMP_FLAGS_IN(); 13342 edx = MEM32(ebx + 0x28); /* 0x2B06F512: mov edx, dword ptr [ebx + 0x28] */ 13343 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 13344 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06F515: or ecx, 0xffffffff */ 13345 _cf = 0; 13346 _flag_k = FK_TEST; 13347 edi = eax; /* 0x2B06F518: mov edi, eax */ 13348 MEM32(ebp + (-0x8)) = eax; /* 0x2B06F51A: mov dword ptr [ebp - 8], eax */ 13349 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13350 eax = 0; /* 0x2B06F51D: xor eax, eax */ 13351 _cf = 0; 13352 _flag_k = FK_TEST; 13353 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; } /* 0x2B06F51F: repne scasb al, byte ptr es:[edi] */ 13354 eax = MEM32(0x2B0B515C); /* 0x2B06F521: mov eax, dword ptr [0x2b0b515c] */ 13355 ecx = ~ecx; /* 0x2B06F526: not ecx */ 13356 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13357 ecx = ecx - 1; /* 0x2B06F528: dec ecx */ 13358 _flag_k = FK_DEC; 13359 edi = ecx; /* 0x2B06F529: mov edi, ecx */ 13360 ecx = MEM32(eax); /* 0x2B06F52B: mov ecx, dword ptr [eax] */ 13361 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 13362 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13363 ecx = ecx - MEM32(edx + 0x8); /* 0x2B06F52D: sub ecx, dword ptr [edx + 8] */ 13364 _flag_k = FK_CMP; 13365 /* cmp ecx, edi */ /* 0x2B06F530: cmp ecx, edi */ 13366 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 13367 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13368 _flag_k = FK_CMP; 13369 MEM32(ebp + 0xC) = edx; /* 0x2B06F532: mov dword ptr [ebp + 0xc], edx */ 13370 if (CMP_A(_flag_a, _flag_b)) goto L_2B06F540; /* 0x2B06F535: ja 0x2b06f540 */ 13371 L_2B06F537: 13372 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06F537: call dword ptr [0x2b0b51a8] */ 13373 RECOMP_FLAGS_IN(); 13374 edx = MEM32(ebp + 0xC); /* 0x2B06F53D: mov edx, dword ptr [ebp + 0xc] */ 13375 L_2B06F540: 13376 /* test edi, edi */ /* 0x2B06F540: test edi, edi */ 13377 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 13378 _cf = 0; 13379 _flag_k = FK_TEST; 13380 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F589; /* 0x2B06F542: jbe 0x2b06f589 */ 13381 L_2B06F544: 13382 eax = MEM32(edx + 0x8); /* 0x2B06F544: mov eax, dword ptr [edx + 8] */ 13383 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 13384 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13385 eax = eax + edi; /* 0x2B06F547: add eax, edi */ 13386 _flag_k = FK_ADD; 13387 PUSH32(esp, 0); /* 0x2B06F549: push 0 */ 13388 PUSH32(esp, eax); /* 0x2B06F54B: push eax */ 13389 ecx = edx; /* 0x2B06F54C: mov ecx, edx */ 13390 MEM32(ebp + (-0xC)) = eax; /* 0x2B06F54E: mov dword ptr [ebp - 0xc], eax */ 13391 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06F551: call dword ptr [0x2b0b5154] */ 13392 RECOMP_FLAGS_IN(); 13393 /* test LO8(eax), LO8(eax) */ /* 0x2B06F557: test al, al */ 13394 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13395 _cf = 0; 13396 _flag_k = FK_NARROW(FK_TEST, 24); 13397 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F589; /* 0x2B06F559: je 0x2b06f589 */ 13398 L_2B06F55B: 13399 eax = MEM32(ebp + 0xC); /* 0x2B06F55B: mov eax, dword ptr [ebp + 0xc] */ 13400 edx = MEM32(eax + 0x8); /* 0x2B06F55E: mov edx, dword ptr [eax + 8] */ 13401 esi = MEM32(ebp + (-0x8)); /* 0x2B06F561: mov esi, dword ptr [ebp - 8] */ 13402 ecx = edi; /* 0x2B06F564: mov ecx, edi */ 13403 edi = MEM32(eax + 0x4); /* 0x2B06F566: mov edi, dword ptr [eax + 4] */ 13404 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 13405 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13406 edi = edi + edx; /* 0x2B06F569: add edi, edx */ 13407 _flag_k = FK_ADD; 13408 edx = ecx; /* 0x2B06F56B: mov edx, ecx */ 13409 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06F56D: shr ecx, 2 */ 13410 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13411 ecx = ecx >> 2u; /* 0x2B06F56D: shr ecx, 2 */ 13412 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06F570: 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; } 13413 ecx = edx; /* 0x2B06F572: mov ecx, edx */ 13414 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 13415 ecx = ecx & 3; /* 0x2B06F574: and ecx, 3 */ 13416 _cf = 0; 13417 _flag_k = FK_TEST; 13418 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06F577: 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; } 13419 ecx = MEM32(ebp + (-0xC)); /* 0x2B06F579: mov ecx, dword ptr [ebp - 0xc] */ 13420 esi = MEM32(ebp + 0x8); /* 0x2B06F57C: mov esi, dword ptr [ebp + 8] */ 13421 MEM32(eax + 0x8) = ecx; /* 0x2B06F57F: mov dword ptr [eax + 8], ecx */ 13422 eax = MEM32(eax + 0x4); /* 0x2B06F582: mov eax, dword ptr [eax + 4] */ 13423 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B06F585: mov byte ptr [eax + ecx], 0 */ 13424 L_2B06F589: 13425 ecx = MEM32(ebx + 0x28); /* 0x2B06F589: mov ecx, dword ptr [ebx + 0x28] */ 13426 PUSH32(esp, 0x13u); /* 0x2B06F58C: push 0x13 */ 13427 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06F58E: push -1 */ 13428 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06F590: call dword ptr [0x2b0b5a74] */ 13429 RECOMP_FLAGS_IN(); 13430 edx = MEM32(ebx + 0x28); /* 0x2B06F596: mov edx, dword ptr [ebx + 0x28] */ 13431 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 13432 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06F599: or ecx, 0xffffffff */ 13433 _cf = 0; 13434 _flag_k = FK_TEST; 13435 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13436 eax = 0; /* 0x2B06F59C: xor eax, eax */ 13437 _cf = 0; 13438 _flag_k = FK_TEST; 13439 edi = 0x2B0EB764u; /* 0x2B06F59E: mov edi, 0x2b0eb764 */ 13440 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; } /* 0x2B06F5A3: repne scasb al, byte ptr es:[edi] */ 13441 ecx = ~ecx; /* 0x2B06F5A5: not ecx */ 13442 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13443 ecx = ecx - 1; /* 0x2B06F5A7: dec ecx */ 13444 _flag_k = FK_DEC; 13445 edi = ecx; /* 0x2B06F5A8: mov edi, ecx */ 13446 ecx = MEM32(0x2B0B515C); /* 0x2B06F5AA: mov ecx, dword ptr [0x2b0b515c] */ 13447 eax = MEM32(ecx); /* 0x2B06F5B0: mov eax, dword ptr [ecx] */ 13448 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 13449 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13450 eax = eax - MEM32(edx + 0x8); /* 0x2B06F5B2: sub eax, dword ptr [edx + 8] */ 13451 _flag_k = FK_CMP; 13452 /* cmp eax, edi */ /* 0x2B06F5B5: cmp eax, edi */ 13453 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 13454 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13455 _flag_k = FK_CMP; 13456 MEM32(ebp + 0xC) = edx; /* 0x2B06F5B7: mov dword ptr [ebp + 0xc], edx */ 13457 if (CMP_A(_flag_a, _flag_b)) goto L_2B06F5C5; /* 0x2B06F5BA: ja 0x2b06f5c5 */ 13458 L_2B06F5BC: 13459 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06F5BC: call dword ptr [0x2b0b51a8] */ 13460 RECOMP_FLAGS_IN(); 13461 edx = MEM32(ebp + 0xC); /* 0x2B06F5C2: mov edx, dword ptr [ebp + 0xc] */ 13462 L_2B06F5C5: 13463 /* test edi, edi */ /* 0x2B06F5C5: test edi, edi */ 13464 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 13465 _cf = 0; 13466 _flag_k = FK_TEST; 13467 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F610; /* 0x2B06F5C7: jbe 0x2b06f610 */ 13468 L_2B06F5C9: 13469 eax = MEM32(edx + 0x8); /* 0x2B06F5C9: mov eax, dword ptr [edx + 8] */ 13470 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 13471 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13472 eax = eax + edi; /* 0x2B06F5CC: add eax, edi */ 13473 _flag_k = FK_ADD; 13474 PUSH32(esp, 0); /* 0x2B06F5CE: push 0 */ 13475 PUSH32(esp, eax); /* 0x2B06F5D0: push eax */ 13476 ecx = edx; /* 0x2B06F5D1: mov ecx, edx */ 13477 MEM32(ebp + (-0xC)) = eax; /* 0x2B06F5D3: mov dword ptr [ebp - 0xc], eax */ 13478 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06F5D6: call dword ptr [0x2b0b5154] */ 13479 RECOMP_FLAGS_IN(); 13480 /* test LO8(eax), LO8(eax) */ /* 0x2B06F5DC: test al, al */ 13481 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13482 _cf = 0; 13483 _flag_k = FK_NARROW(FK_TEST, 24); 13484 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F610; /* 0x2B06F5DE: je 0x2b06f610 */ 13485 L_2B06F5E0: 13486 eax = MEM32(ebp + 0xC); /* 0x2B06F5E0: mov eax, dword ptr [ebp + 0xc] */ 13487 edx = MEM32(eax + 0x4); /* 0x2B06F5E3: mov edx, dword ptr [eax + 4] */ 13488 ecx = edi; /* 0x2B06F5E6: mov ecx, edi */ 13489 edi = MEM32(eax + 0x8); /* 0x2B06F5E8: mov edi, dword ptr [eax + 8] */ 13490 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 13491 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13492 edi = edi + edx; /* 0x2B06F5EB: add edi, edx */ 13493 _flag_k = FK_ADD; 13494 edx = ecx; /* 0x2B06F5ED: mov edx, ecx */ 13495 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06F5EF: shr ecx, 2 */ 13496 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13497 ecx = ecx >> 2u; /* 0x2B06F5EF: shr ecx, 2 */ 13498 esi = 0x2B0EB764u; /* 0x2B06F5F2: mov esi, 0x2b0eb764 */ 13499 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06F5F7: 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; } 13500 ecx = edx; /* 0x2B06F5F9: mov ecx, edx */ 13501 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 13502 ecx = ecx & 3; /* 0x2B06F5FB: and ecx, 3 */ 13503 _cf = 0; 13504 _flag_k = FK_TEST; 13505 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06F5FE: 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; } 13506 ecx = MEM32(ebp + (-0xC)); /* 0x2B06F600: mov ecx, dword ptr [ebp - 0xc] */ 13507 esi = MEM32(ebp + 0x8); /* 0x2B06F603: mov esi, dword ptr [ebp + 8] */ 13508 MEM32(eax + 0x8) = ecx; /* 0x2B06F606: mov dword ptr [eax + 8], ecx */ 13509 eax = MEM32(eax + 0x4); /* 0x2B06F609: mov eax, dword ptr [eax + 4] */ 13510 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B06F60C: mov byte ptr [eax + ecx], 0 */ 13511 L_2B06F610: 13512 PUSH32(esp, 0x197u); /* 0x2B06F610: push 0x197 */ 13513 PUSH32(esp, esi); /* 0x2B06F615: push esi */ 13514 ecx = ebx; /* 0x2B06F616: mov ecx, ebx */ 13515 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06F618: call 0x2b0735d0 */ /* not lifted */ 13516 RECOMP_FLAGS_IN(); 13517 PUSH32(esp, 2); /* 0x2B06F61D: push 2 */ 13518 PUSH32(esp, 0xDDu); /* 0x2B06F61F: push 0xdd */ 13519 edi = eax; /* 0x2B06F624: mov edi, eax */ 13520 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06F626: call dword ptr [0x2b0b5d6c] */ 13521 RECOMP_FLAGS_IN(); 13522 ecx = eax; /* 0x2B06F62C: mov ecx, eax */ 13523 RECOMP_ICALL(MEM32(0x2B0B5D70)); /* 0x2B06F62E: call dword ptr [0x2b0b5d70] */ 13524 RECOMP_FLAGS_IN(); 13525 /* cmp eax, edi */ /* 0x2B06F634: cmp eax, edi */ 13526 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 13527 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13528 _flag_k = FK_CMP; 13529 if (CMP_GE(_flag_a, _flag_b)) goto L_2B06F63C; /* 0x2B06F636: jge 0x2b06f63c */ 13530 L_2B06F638: 13531 PUSH32(esp, 0xCu); /* 0x2B06F638: push 0xc */ 13532 goto L_2B06F63E; /* 0x2B06F63A: jmp 0x2b06f63e */ 13533 L_2B06F63C: 13534 PUSH32(esp, 0x14u); /* 0x2B06F63C: push 0x14 */ 13535 L_2B06F63E: 13536 ecx = MEM32(ebx + 0x28); /* 0x2B06F63E: mov ecx, dword ptr [ebx + 0x28] */ 13537 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06F641: push -1 */ 13538 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06F643: call dword ptr [0x2b0b5a74] */ 13539 RECOMP_FLAGS_IN(); 13540 PUSH32(esp, 0xAu); /* 0x2B06F649: push 0xa */ 13541 PUSH32(esp, 0x2B0EEE84u); /* 0x2B06F64B: push 0x2b0eee84 */ 13542 PUSH32(esp, edi); /* 0x2B06F650: push edi */ 13543 RECOMP_ICALL(MEM32(0x2B0B51B4)); /* 0x2B06F651: call dword ptr [0x2b0b51b4] */ 13544 RECOMP_FLAGS_IN(); 13545 edx = MEM32(ebx + 0x28); /* 0x2B06F657: mov edx, dword ptr [ebx + 0x28] */ 13546 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 13547 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06F65A: or ecx, 0xffffffff */ 13548 _cf = 0; 13549 _flag_k = FK_TEST; 13550 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13551 eax = 0; /* 0x2B06F65D: xor eax, eax */ 13552 _cf = 0; 13553 _flag_k = FK_TEST; 13554 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 13555 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13556 esp = esp + 0xCu; /* 0x2B06F65F: add esp, 0xc */ 13557 _flag_k = FK_ADD; 13558 edi = 0x2B0EEE84u; /* 0x2B06F662: mov edi, 0x2b0eee84 */ 13559 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; } /* 0x2B06F667: repne scasb al, byte ptr es:[edi] */ 13560 ecx = ~ecx; /* 0x2B06F669: not ecx */ 13561 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13562 ecx = ecx - 1; /* 0x2B06F66B: dec ecx */ 13563 _flag_k = FK_DEC; 13564 edi = ecx; /* 0x2B06F66C: mov edi, ecx */ 13565 ecx = MEM32(0x2B0B515C); /* 0x2B06F66E: mov ecx, dword ptr [0x2b0b515c] */ 13566 eax = MEM32(ecx); /* 0x2B06F674: mov eax, dword ptr [ecx] */ 13567 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 13568 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13569 eax = eax - MEM32(edx + 0x8); /* 0x2B06F676: sub eax, dword ptr [edx + 8] */ 13570 _flag_k = FK_CMP; 13571 /* cmp eax, edi */ /* 0x2B06F679: cmp eax, edi */ 13572 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 13573 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13574 _flag_k = FK_CMP; 13575 MEM32(ebp + 0xC) = edx; /* 0x2B06F67B: mov dword ptr [ebp + 0xc], edx */ 13576 if (CMP_A(_flag_a, _flag_b)) goto L_2B06F689; /* 0x2B06F67E: ja 0x2b06f689 */ 13577 L_2B06F680: 13578 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06F680: call dword ptr [0x2b0b51a8] */ 13579 RECOMP_FLAGS_IN(); 13580 edx = MEM32(ebp + 0xC); /* 0x2B06F686: mov edx, dword ptr [ebp + 0xc] */ 13581 L_2B06F689: 13582 /* test edi, edi */ /* 0x2B06F689: test edi, edi */ 13583 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 13584 _cf = 0; 13585 _flag_k = FK_TEST; 13586 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F6D6; /* 0x2B06F68B: jbe 0x2b06f6d6 */ 13587 L_2B06F68D: 13588 ecx = MEM32(edx + 0x8); /* 0x2B06F68D: mov ecx, dword ptr [edx + 8] */ 13589 eax = edi; /* 0x2B06F690: mov eax, edi */ 13590 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13591 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13592 eax = eax + ecx; /* 0x2B06F692: add eax, ecx */ 13593 _flag_k = FK_ADD; 13594 PUSH32(esp, 0); /* 0x2B06F694: push 0 */ 13595 PUSH32(esp, eax); /* 0x2B06F696: push eax */ 13596 ecx = edx; /* 0x2B06F697: mov ecx, edx */ 13597 MEM32(ebp + (-0xC)) = eax; /* 0x2B06F699: mov dword ptr [ebp - 0xc], eax */ 13598 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06F69C: call dword ptr [0x2b0b5154] */ 13599 RECOMP_FLAGS_IN(); 13600 /* test LO8(eax), LO8(eax) */ /* 0x2B06F6A2: test al, al */ 13601 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13602 _cf = 0; 13603 _flag_k = FK_NARROW(FK_TEST, 24); 13604 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F6D6; /* 0x2B06F6A4: je 0x2b06f6d6 */ 13605 L_2B06F6A6: 13606 eax = MEM32(ebp + 0xC); /* 0x2B06F6A6: mov eax, dword ptr [ebp + 0xc] */ 13607 edx = MEM32(eax + 0x4); /* 0x2B06F6A9: mov edx, dword ptr [eax + 4] */ 13608 ecx = edi; /* 0x2B06F6AC: mov ecx, edi */ 13609 edi = MEM32(eax + 0x8); /* 0x2B06F6AE: mov edi, dword ptr [eax + 8] */ 13610 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 13611 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13612 edi = edi + edx; /* 0x2B06F6B1: add edi, edx */ 13613 _flag_k = FK_ADD; 13614 edx = ecx; /* 0x2B06F6B3: mov edx, ecx */ 13615 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06F6B5: shr ecx, 2 */ 13616 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13617 ecx = ecx >> 2u; /* 0x2B06F6B5: shr ecx, 2 */ 13618 esi = 0x2B0EEE84u; /* 0x2B06F6B8: mov esi, 0x2b0eee84 */ 13619 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06F6BD: 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; } 13620 ecx = edx; /* 0x2B06F6BF: mov ecx, edx */ 13621 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 13622 ecx = ecx & 3; /* 0x2B06F6C1: and ecx, 3 */ 13623 _cf = 0; 13624 _flag_k = FK_TEST; 13625 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06F6C4: 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; } 13626 ecx = MEM32(ebp + (-0xC)); /* 0x2B06F6C6: mov ecx, dword ptr [ebp - 0xc] */ 13627 esi = MEM32(ebp + 0x8); /* 0x2B06F6C9: mov esi, dword ptr [ebp + 8] */ 13628 MEM32(eax + 0x8) = ecx; /* 0x2B06F6CC: mov dword ptr [eax + 8], ecx */ 13629 eax = MEM32(eax + 0x4); /* 0x2B06F6CF: mov eax, dword ptr [eax + 4] */ 13630 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06F6D2: mov byte ptr [ecx + eax], 0 */ 13631 L_2B06F6D6: 13632 PUSH32(esp, 0); /* 0x2B06F6D6: push 0 */ 13633 PUSH32(esp, esi); /* 0x2B06F6D8: push esi */ 13634 ecx = ebx; /* 0x2B06F6D9: mov ecx, ebx */ 13635 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06F6DB: call 0x2b0735d0 */ /* not lifted */ 13636 RECOMP_FLAGS_IN(); 13637 if (16u) _cf = (((eax) >> 15) & 1u); /* 0x2B06F6E0: shr eax, 0x10 */ 13638 if (16u) { _flag_a = recomp_flags_pack((eax >> 16u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13639 eax = eax >> 16u; /* 0x2B06F6E0: shr eax, 0x10 */ 13640 PUSH32(esp, 8); /* 0x2B06F6E3: push 8 */ 13641 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 13642 SET_LO8(eax, LO8(eax) & 1); /* 0x2B06F6E5: and al, 1 */ 13643 _cf = 0; 13644 _flag_k = FK_NARROW(FK_TEST, 24); 13645 PUSH32(esp, esi); /* 0x2B06F6E7: push esi */ 13646 ecx = ebx; /* 0x2B06F6E8: mov ecx, ebx */ 13647 MEM8(ebp + 0xF) = (uint8_t)(LO8(eax)); /* 0x2B06F6EA: mov byte ptr [ebp + 0xf], al */ 13648 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06F6ED: call 0x2b0735d0 */ /* not lifted */ 13649 RECOMP_FLAGS_IN(); 13650 edi = eax; /* 0x2B06F6F2: mov edi, eax */ 13651 /* cmp edi, 0xFFFFFFFFu */ /* 0x2B06F6F4: cmp edi, -1 */ 13652 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xFFFFFFFFu); 13653 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13654 _flag_k = FK_CMP; 13655 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06F723; /* 0x2B06F6F7: je 0x2b06f723 */ 13656 L_2B06F6F9: 13657 /* cmp edi, 0x499602D2u */ /* 0x2B06F6F9: cmp edi, 0x499602d2 */ 13658 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x499602D2u); 13659 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13660 _flag_k = FK_CMP; 13661 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06F723; /* 0x2B06F6FF: je 0x2b06f723 */ 13662 L_2B06F701: 13663 PUSH32(esp, 0); /* 0x2B06F701: push 0 */ 13664 PUSH32(esp, esi); /* 0x2B06F703: push esi */ 13665 ecx = ebx; /* 0x2B06F704: mov ecx, ebx */ 13666 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06F706: call 0x2b0735d0 */ /* not lifted */ 13667 RECOMP_FLAGS_IN(); 13668 /* test LO8(eax), 2 */ /* 0x2B06F70B: test al, 2 */ 13669 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(2) << 24; 13670 _cf = 0; 13671 _flag_k = FK_NARROW(FK_TEST, 24); 13672 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F71B; /* 0x2B06F70D: je 0x2b06f71b */ 13673 L_2B06F70F: 13674 /* cmp edi, 0x3E8u */ /* 0x2B06F70F: cmp edi, 0x3e8 */ 13675 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x3E8u); 13676 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13677 _flag_k = FK_CMP; 13678 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06F71B; /* 0x2B06F715: jne 0x2b06f71b */ 13679 L_2B06F717: 13680 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13681 eax = 0; /* 0x2B06F717: xor eax, eax */ 13682 _cf = 0; 13683 _flag_k = FK_TEST; 13684 goto L_2B06F720; /* 0x2B06F719: jmp 0x2b06f720 */ 13685 L_2B06F71B: 13686 eax = 1; /* 0x2B06F71B: mov eax, 1 */ 13687 L_2B06F720: 13688 _flag_a = (uint32_t)((MEM8(ebp + 0xF) | LO8(eax))) << 24; _flag_b = (uint32_t)((MEM8(ebp + 0xF) | LO8(eax))) << 24; 13689 MEM8(ebp + 0xF) = (uint8_t)(MEM8(ebp + 0xF) | LO8(eax)); /* 0x2B06F720: or byte ptr [ebp + 0xf], al */ 13690 _cf = 0; 13691 _flag_k = FK_NARROW(FK_TEST, 24); 13692 L_2B06F723: 13693 SET_LO8(eax, MEM8(ebp + 0xF)); /* 0x2B06F723: mov al, byte ptr [ebp + 0xf] */ 13694 /* test LO8(eax), LO8(eax) */ /* 0x2B06F726: test al, al */ 13695 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13696 _cf = 0; 13697 _flag_k = FK_NARROW(FK_TEST, 24); 13698 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F863; /* 0x2B06F728: je 0x2b06f863 */ 13699 L_2B06F72E: 13700 PUSH32(esp, 0x36u); /* 0x2B06F72E: push 0x36 */ 13701 PUSH32(esp, esi); /* 0x2B06F730: push esi */ 13702 ecx = ebx; /* 0x2B06F731: mov ecx, ebx */ 13703 RECOMP_ICALL(0x2B0735D0u); /* 0x2B06F733: call 0x2b0735d0 */ /* not lifted */ 13704 RECOMP_FLAGS_IN(); 13705 /* cmp eax, 0x3E7u */ /* 0x2B06F738: cmp eax, 0x3e7 */ 13706 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x3E7u); 13707 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13708 _flag_k = FK_CMP; 13709 MEM32(ebp + (-0x10)) = eax; /* 0x2B06F73D: mov dword ptr [ebp - 0x10], eax */ 13710 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06F863; /* 0x2B06F740: je 0x2b06f863 */ 13711 L_2B06F746: 13712 ecx = MEM32(ebx + 0x28); /* 0x2B06F746: mov ecx, dword ptr [ebx + 0x28] */ 13713 PUSH32(esp, 0x13u); /* 0x2B06F749: push 0x13 */ 13714 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06F74B: push -1 */ 13715 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06F74D: call dword ptr [0x2b0b5a74] */ 13716 RECOMP_FLAGS_IN(); 13717 esi = MEM32(ebx + 0x28); /* 0x2B06F753: mov esi, dword ptr [ebx + 0x28] */ 13718 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 13719 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06F756: or ecx, 0xffffffff */ 13720 _cf = 0; 13721 _flag_k = FK_TEST; 13722 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13723 eax = 0; /* 0x2B06F759: xor eax, eax */ 13724 _cf = 0; 13725 _flag_k = FK_TEST; 13726 edi = 0x2B0EB758u; /* 0x2B06F75B: mov edi, 0x2b0eb758 */ 13727 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; } /* 0x2B06F760: repne scasb al, byte ptr es:[edi] */ 13728 ecx = ~ecx; /* 0x2B06F762: not ecx */ 13729 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13730 ecx = ecx - 1; /* 0x2B06F764: dec ecx */ 13731 _flag_k = FK_DEC; 13732 edi = ecx; /* 0x2B06F765: mov edi, ecx */ 13733 ecx = MEM32(0x2B0B515C); /* 0x2B06F767: mov ecx, dword ptr [0x2b0b515c] */ 13734 edx = MEM32(ecx); /* 0x2B06F76D: mov edx, dword ptr [ecx] */ 13735 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13736 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13737 edx = edx - MEM32(esi + 0x8); /* 0x2B06F76F: sub edx, dword ptr [esi + 8] */ 13738 _flag_k = FK_CMP; 13739 /* cmp edx, edi */ /* 0x2B06F772: cmp edx, edi */ 13740 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 13741 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13742 _flag_k = FK_CMP; 13743 MEM32(ebp + (-0xC)) = esi; /* 0x2B06F774: mov dword ptr [ebp - 0xc], esi */ 13744 if (CMP_A(_flag_a, _flag_b)) goto L_2B06F77F; /* 0x2B06F777: ja 0x2b06f77f */ 13745 L_2B06F779: 13746 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06F779: call dword ptr [0x2b0b51a8] */ 13747 RECOMP_FLAGS_IN(); 13748 L_2B06F77F: 13749 /* test edi, edi */ /* 0x2B06F77F: test edi, edi */ 13750 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 13751 _cf = 0; 13752 _flag_k = FK_TEST; 13753 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F7C9; /* 0x2B06F781: jbe 0x2b06f7c9 */ 13754 L_2B06F783: 13755 edx = MEM32(esi + 0x8); /* 0x2B06F783: mov edx, dword ptr [esi + 8] */ 13756 eax = edi; /* 0x2B06F786: mov eax, edi */ 13757 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 13758 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13759 eax = eax + edx; /* 0x2B06F788: add eax, edx */ 13760 _flag_k = FK_ADD; 13761 PUSH32(esp, 0); /* 0x2B06F78A: push 0 */ 13762 PUSH32(esp, eax); /* 0x2B06F78C: push eax */ 13763 ecx = esi; /* 0x2B06F78D: mov ecx, esi */ 13764 MEM32(ebp + (-0x8)) = eax; /* 0x2B06F78F: mov dword ptr [ebp - 8], eax */ 13765 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06F792: call dword ptr [0x2b0b5154] */ 13766 RECOMP_FLAGS_IN(); 13767 /* test LO8(eax), LO8(eax) */ /* 0x2B06F798: test al, al */ 13768 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13769 _cf = 0; 13770 _flag_k = FK_NARROW(FK_TEST, 24); 13771 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F7C9; /* 0x2B06F79A: je 0x2b06f7c9 */ 13772 L_2B06F79C: 13773 eax = MEM32(ebp + (-0xC)); /* 0x2B06F79C: mov eax, dword ptr [ebp - 0xc] */ 13774 edx = MEM32(eax + 0x4); /* 0x2B06F79F: mov edx, dword ptr [eax + 4] */ 13775 ecx = edi; /* 0x2B06F7A2: mov ecx, edi */ 13776 edi = MEM32(eax + 0x8); /* 0x2B06F7A4: mov edi, dword ptr [eax + 8] */ 13777 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 13778 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13779 edi = edi + edx; /* 0x2B06F7A7: add edi, edx */ 13780 _flag_k = FK_ADD; 13781 edx = ecx; /* 0x2B06F7A9: mov edx, ecx */ 13782 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06F7AB: shr ecx, 2 */ 13783 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13784 ecx = ecx >> 2u; /* 0x2B06F7AB: shr ecx, 2 */ 13785 esi = 0x2B0EB758u; /* 0x2B06F7AE: mov esi, 0x2b0eb758 */ 13786 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06F7B3: 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; } 13787 ecx = edx; /* 0x2B06F7B5: mov ecx, edx */ 13788 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 13789 ecx = ecx & 3; /* 0x2B06F7B7: and ecx, 3 */ 13790 _cf = 0; 13791 _flag_k = FK_TEST; 13792 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06F7BA: 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; } 13793 ecx = MEM32(ebp + (-0x8)); /* 0x2B06F7BC: mov ecx, dword ptr [ebp - 8] */ 13794 MEM32(eax + 0x8) = ecx; /* 0x2B06F7BF: mov dword ptr [eax + 8], ecx */ 13795 eax = MEM32(eax + 0x4); /* 0x2B06F7C2: mov eax, dword ptr [eax + 4] */ 13796 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06F7C5: mov byte ptr [ecx + eax], 0 */ 13797 L_2B06F7C9: 13798 ecx = MEM32(ebx + 0x28); /* 0x2B06F7C9: mov ecx, dword ptr [ebx + 0x28] */ 13799 PUSH32(esp, 0x14u); /* 0x2B06F7CC: push 0x14 */ 13800 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06F7CE: push -1 */ 13801 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06F7D0: call dword ptr [0x2b0b5a74] */ 13802 RECOMP_FLAGS_IN(); 13803 ecx = MEM32(ebp + (-0x10)); /* 0x2B06F7D6: mov ecx, dword ptr [ebp - 0x10] */ 13804 PUSH32(esp, 0xAu); /* 0x2B06F7D9: push 0xa */ 13805 PUSH32(esp, 0x2B0EEE84u); /* 0x2B06F7DB: push 0x2b0eee84 */ 13806 PUSH32(esp, ecx); /* 0x2B06F7E0: push ecx */ 13807 RECOMP_ICALL(MEM32(0x2B0B51B4)); /* 0x2B06F7E1: call dword ptr [0x2b0b51b4] */ 13808 RECOMP_FLAGS_IN(); 13809 edx = MEM32(0x2B0B515C); /* 0x2B06F7E7: mov edx, dword ptr [0x2b0b515c] */ 13810 esi = MEM32(ebx + 0x28); /* 0x2B06F7ED: mov esi, dword ptr [ebx + 0x28] */ 13811 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13812 eax = 0; /* 0x2B06F7F0: xor eax, eax */ 13813 _cf = 0; 13814 _flag_k = FK_TEST; 13815 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 13816 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06F7F2: or ecx, 0xffffffff */ 13817 _cf = 0; 13818 _flag_k = FK_TEST; 13819 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 13820 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13821 esp = esp + 0xCu; /* 0x2B06F7F5: add esp, 0xc */ 13822 _flag_k = FK_ADD; 13823 edi = 0x2B0EEE84u; /* 0x2B06F7F8: mov edi, 0x2b0eee84 */ 13824 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; } /* 0x2B06F7FD: repne scasb al, byte ptr es:[edi] */ 13825 eax = MEM32(edx); /* 0x2B06F7FF: mov eax, dword ptr [edx] */ 13826 edx = MEM32(esi + 0x8); /* 0x2B06F801: mov edx, dword ptr [esi + 8] */ 13827 ecx = ~ecx; /* 0x2B06F804: not ecx */ 13828 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13829 ecx = ecx - 1; /* 0x2B06F806: dec ecx */ 13830 _flag_k = FK_DEC; 13831 edi = ecx; /* 0x2B06F807: mov edi, ecx */ 13832 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 13833 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13834 eax = eax - edx; /* 0x2B06F809: sub eax, edx */ 13835 _flag_k = FK_CMP; 13836 /* cmp eax, edi */ /* 0x2B06F80B: cmp eax, edi */ 13837 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 13838 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13839 _flag_k = FK_CMP; 13840 MEM32(ebp + (-0x10)) = esi; /* 0x2B06F80D: mov dword ptr [ebp - 0x10], esi */ 13841 if (CMP_A(_flag_a, _flag_b)) goto L_2B06F818; /* 0x2B06F810: ja 0x2b06f818 */ 13842 L_2B06F812: 13843 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06F812: call dword ptr [0x2b0b51a8] */ 13844 RECOMP_FLAGS_IN(); 13845 L_2B06F818: 13846 /* test edi, edi */ /* 0x2B06F818: test edi, edi */ 13847 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 13848 _cf = 0; 13849 _flag_k = FK_TEST; 13850 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F860; /* 0x2B06F81A: jbe 0x2b06f860 */ 13851 L_2B06F81C: 13852 eax = MEM32(esi + 0x8); /* 0x2B06F81C: mov eax, dword ptr [esi + 8] */ 13853 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 13854 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13855 eax = eax + edi; /* 0x2B06F81F: add eax, edi */ 13856 _flag_k = FK_ADD; 13857 PUSH32(esp, 0); /* 0x2B06F821: push 0 */ 13858 PUSH32(esp, eax); /* 0x2B06F823: push eax */ 13859 ecx = esi; /* 0x2B06F824: mov ecx, esi */ 13860 MEM32(ebp + (-0xC)) = eax; /* 0x2B06F826: mov dword ptr [ebp - 0xc], eax */ 13861 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06F829: call dword ptr [0x2b0b5154] */ 13862 RECOMP_FLAGS_IN(); 13863 /* test LO8(eax), LO8(eax) */ /* 0x2B06F82F: test al, al */ 13864 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13865 _cf = 0; 13866 _flag_k = FK_NARROW(FK_TEST, 24); 13867 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F860; /* 0x2B06F831: je 0x2b06f860 */ 13868 L_2B06F833: 13869 eax = MEM32(ebp + (-0x10)); /* 0x2B06F833: mov eax, dword ptr [ebp - 0x10] */ 13870 edx = MEM32(eax + 0x4); /* 0x2B06F836: mov edx, dword ptr [eax + 4] */ 13871 ecx = edi; /* 0x2B06F839: mov ecx, edi */ 13872 edi = MEM32(eax + 0x8); /* 0x2B06F83B: mov edi, dword ptr [eax + 8] */ 13873 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 13874 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13875 edi = edi + edx; /* 0x2B06F83E: add edi, edx */ 13876 _flag_k = FK_ADD; 13877 edx = ecx; /* 0x2B06F840: mov edx, ecx */ 13878 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06F842: shr ecx, 2 */ 13879 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13880 ecx = ecx >> 2u; /* 0x2B06F842: shr ecx, 2 */ 13881 esi = 0x2B0EEE84u; /* 0x2B06F845: mov esi, 0x2b0eee84 */ 13882 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06F84A: 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; } 13883 ecx = edx; /* 0x2B06F84C: mov ecx, edx */ 13884 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 13885 ecx = ecx & 3; /* 0x2B06F84E: and ecx, 3 */ 13886 _cf = 0; 13887 _flag_k = FK_TEST; 13888 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06F851: 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; } 13889 ecx = MEM32(ebp + (-0xC)); /* 0x2B06F853: mov ecx, dword ptr [ebp - 0xc] */ 13890 MEM32(eax + 0x8) = ecx; /* 0x2B06F856: mov dword ptr [eax + 8], ecx */ 13891 eax = MEM32(eax + 0x4); /* 0x2B06F859: mov eax, dword ptr [eax + 4] */ 13892 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B06F85C: mov byte ptr [eax + ecx], 0 */ 13893 L_2B06F860: 13894 esi = MEM32(ebp + 0x8); /* 0x2B06F860: mov esi, dword ptr [ebp + 8] */ 13895 L_2B06F863: 13896 ecx = MEM32(ebx + 0x28); /* 0x2B06F863: mov ecx, dword ptr [ebx + 0x28] */ 13897 PUSH32(esp, 0x13u); /* 0x2B06F866: push 0x13 */ 13898 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06F868: push -1 */ 13899 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06F86A: call dword ptr [0x2b0b5a74] */ 13900 RECOMP_FLAGS_IN(); 13901 edx = MEM32(ebx + 0x28); /* 0x2B06F870: mov edx, dword ptr [ebx + 0x28] */ 13902 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 13903 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06F873: or ecx, 0xffffffff */ 13904 _cf = 0; 13905 _flag_k = FK_TEST; 13906 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13907 eax = 0; /* 0x2B06F876: xor eax, eax */ 13908 _cf = 0; 13909 _flag_k = FK_TEST; 13910 edi = 0x2B0EB750u; /* 0x2B06F878: mov edi, 0x2b0eb750 */ 13911 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; } /* 0x2B06F87D: repne scasb al, byte ptr es:[edi] */ 13912 ecx = ~ecx; /* 0x2B06F87F: not ecx */ 13913 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13914 ecx = ecx - 1; /* 0x2B06F881: dec ecx */ 13915 _flag_k = FK_DEC; 13916 edi = ecx; /* 0x2B06F882: mov edi, ecx */ 13917 ecx = MEM32(0x2B0B515C); /* 0x2B06F884: mov ecx, dword ptr [0x2b0b515c] */ 13918 eax = MEM32(ecx); /* 0x2B06F88A: mov eax, dword ptr [ecx] */ 13919 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 13920 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13921 eax = eax - MEM32(edx + 0x8); /* 0x2B06F88C: sub eax, dword ptr [edx + 8] */ 13922 _flag_k = FK_CMP; 13923 /* cmp eax, edi */ /* 0x2B06F88F: cmp eax, edi */ 13924 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 13925 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13926 _flag_k = FK_CMP; 13927 MEM32(ebp + (-0x8)) = edx; /* 0x2B06F891: mov dword ptr [ebp - 8], edx */ 13928 if (CMP_A(_flag_a, _flag_b)) goto L_2B06F89F; /* 0x2B06F894: ja 0x2b06f89f */ 13929 L_2B06F896: 13930 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06F896: call dword ptr [0x2b0b51a8] */ 13931 RECOMP_FLAGS_IN(); 13932 edx = MEM32(ebp + (-0x8)); /* 0x2B06F89C: mov edx, dword ptr [ebp - 8] */ 13933 L_2B06F89F: 13934 /* test edi, edi */ /* 0x2B06F89F: test edi, edi */ 13935 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 13936 _cf = 0; 13937 _flag_k = FK_TEST; 13938 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F8EC; /* 0x2B06F8A1: jbe 0x2b06f8ec */ 13939 L_2B06F8A3: 13940 ecx = MEM32(edx + 0x8); /* 0x2B06F8A3: mov ecx, dword ptr [edx + 8] */ 13941 eax = edi; /* 0x2B06F8A6: mov eax, edi */ 13942 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13943 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13944 eax = eax + ecx; /* 0x2B06F8A8: add eax, ecx */ 13945 _flag_k = FK_ADD; 13946 PUSH32(esp, 0); /* 0x2B06F8AA: push 0 */ 13947 PUSH32(esp, eax); /* 0x2B06F8AC: push eax */ 13948 ecx = edx; /* 0x2B06F8AD: mov ecx, edx */ 13949 MEM32(ebp + (-0x10)) = eax; /* 0x2B06F8AF: mov dword ptr [ebp - 0x10], eax */ 13950 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06F8B2: call dword ptr [0x2b0b5154] */ 13951 RECOMP_FLAGS_IN(); 13952 /* test LO8(eax), LO8(eax) */ /* 0x2B06F8B8: test al, al */ 13953 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13954 _cf = 0; 13955 _flag_k = FK_NARROW(FK_TEST, 24); 13956 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F8EC; /* 0x2B06F8BA: je 0x2b06f8ec */ 13957 L_2B06F8BC: 13958 eax = MEM32(ebp + (-0x8)); /* 0x2B06F8BC: mov eax, dword ptr [ebp - 8] */ 13959 edx = MEM32(eax + 0x4); /* 0x2B06F8BF: mov edx, dword ptr [eax + 4] */ 13960 ecx = edi; /* 0x2B06F8C2: mov ecx, edi */ 13961 edi = MEM32(eax + 0x8); /* 0x2B06F8C4: mov edi, dword ptr [eax + 8] */ 13962 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 13963 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13964 edi = edi + edx; /* 0x2B06F8C7: add edi, edx */ 13965 _flag_k = FK_ADD; 13966 edx = ecx; /* 0x2B06F8C9: mov edx, ecx */ 13967 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06F8CB: shr ecx, 2 */ 13968 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13969 ecx = ecx >> 2u; /* 0x2B06F8CB: shr ecx, 2 */ 13970 esi = 0x2B0EB750u; /* 0x2B06F8CE: mov esi, 0x2b0eb750 */ 13971 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06F8D3: 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; } 13972 ecx = edx; /* 0x2B06F8D5: mov ecx, edx */ 13973 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 13974 ecx = ecx & 3; /* 0x2B06F8D7: and ecx, 3 */ 13975 _cf = 0; 13976 _flag_k = FK_TEST; 13977 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06F8DA: 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; } 13978 ecx = MEM32(ebp + (-0x10)); /* 0x2B06F8DC: mov ecx, dword ptr [ebp - 0x10] */ 13979 esi = MEM32(ebp + 0x8); /* 0x2B06F8DF: mov esi, dword ptr [ebp + 8] */ 13980 MEM32(eax + 0x8) = ecx; /* 0x2B06F8E2: mov dword ptr [eax + 8], ecx */ 13981 eax = MEM32(eax + 0x4); /* 0x2B06F8E5: mov eax, dword ptr [eax + 4] */ 13982 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06F8E8: mov byte ptr [ecx + eax], 0 */ 13983 L_2B06F8EC: 13984 ecx = MEM32(ebx + 0x28); /* 0x2B06F8EC: mov ecx, dword ptr [ebx + 0x28] */ 13985 PUSH32(esp, 0x14u); /* 0x2B06F8EF: push 0x14 */ 13986 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06F8F1: push -1 */ 13987 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06F8F3: call dword ptr [0x2b0b5a74] */ 13988 RECOMP_FLAGS_IN(); 13989 SET_LO8(eax, MEM8(ebp + 0xF)); /* 0x2B06F8F9: mov al, byte ptr [ebp + 0xf] */ 13990 /* test LO8(eax), LO8(eax) */ /* 0x2B06F8FC: test al, al */ 13991 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13992 _cf = 0; 13993 _flag_k = FK_NARROW(FK_TEST, 24); 13994 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06F9F9; /* 0x2B06F8FE: je 0x2b06f9f9 */ 13995 L_2B06F904: 13996 PUSH32(esp, esi); /* 0x2B06F904: push esi */ 13997 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06F905: call dword ptr [0x2b0b5d6c] */ 13998 RECOMP_FLAGS_IN(); 13999 ecx = eax; /* 0x2B06F90B: mov ecx, eax */ 14000 RECOMP_ICALL(MEM32(0x2B0B5EBC)); /* 0x2B06F90D: call dword ptr [0x2b0b5ebc] */ 14001 RECOMP_FLAGS_IN(); 14002 ecx = eax; /* 0x2B06F913: mov ecx, eax */ 14003 eax = 0x51EB851Fu; /* 0x2B06F915: mov eax, 0x51eb851f */ 14004 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B06F91A: imul ecx */ 14005 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 14006 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 14007 if (5u) _cf = (((edx) >> 4) & 1u); /* 0x2B06F91C: sar edx, 5 */ 14008 if (5u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 5u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14009 edx = (uint32_t)((int32_t)edx >> 5u); 14010 ecx = edx; /* 0x2B06F91F: mov ecx, edx */ 14011 if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x2B06F921: shr ecx, 0x1f */ 14012 if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14013 ecx = ecx >> 31u; /* 0x2B06F921: shr ecx, 0x1f */ 14014 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 14015 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14016 edx = edx + ecx; /* 0x2B06F924: add edx, ecx */ 14017 _flag_k = FK_ADD; 14018 ecx = edx; /* 0x2B06F926: mov ecx, edx */ 14019 eax = 0x91A2B3C5u; /* 0x2B06F928: mov eax, 0x91a2b3c5 */ 14020 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B06F92D: imul ecx */ 14021 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 14022 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 14023 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 14024 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14025 edx = edx + ecx; /* 0x2B06F92F: add edx, ecx */ 14026 _flag_k = FK_ADD; 14027 if (11u) _cf = (((edx) >> 10) & 1u); /* 0x2B06F931: sar edx, 0xb */ 14028 if (11u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 11u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14029 edx = (uint32_t)((int32_t)edx >> 11u); 14030 eax = edx; /* 0x2B06F934: mov eax, edx */ 14031 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B06F936: shr eax, 0x1f */ 14032 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14033 eax = eax >> 31u; /* 0x2B06F936: shr eax, 0x1f */ 14034 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 14035 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14036 edx = edx + eax; /* 0x2B06F939: add edx, eax */ 14037 _flag_k = FK_ADD; 14038 edi = edx; /* 0x2B06F93B: mov edi, edx */ 14039 eax = edi; /* 0x2B06F93D: mov eax, edi */ 14040 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 14041 _cf = (eax) != 0; 14042 eax = (uint32_t)(-(int32_t)eax); /* 0x2B06F93F: neg eax */ 14043 _flag_k = FK_CMP; 14044 if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2B06F941: shl eax, 2 */ 14045 if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14046 eax = eax << 2u; /* 0x2B06F941: shl eax, 2 */ 14047 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 14048 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14049 eax = eax - edi; /* 0x2B06F944: sub eax, edi */ 14050 _flag_k = FK_CMP; 14051 eax = eax + eax * 4; /* 0x2B06F946: lea eax, [eax + eax*4] */ 14052 edx = eax + eax * 8; /* 0x2B06F949: lea edx, [eax + eax*8] */ 14053 if (4u) _cf = (((edx) >> 28) & 1u); /* 0x2B06F94C: shl edx, 4 */ 14054 if (4u) { _flag_a = recomp_flags_pack((edx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14055 edx = edx << 4u; /* 0x2B06F94C: shl edx, 4 */ 14056 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 14057 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14058 ecx = ecx + edx; /* 0x2B06F94F: add ecx, edx */ 14059 _flag_k = FK_ADD; 14060 eax = 0x88888889u; /* 0x2B06F951: mov eax, 0x88888889 */ 14061 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B06F956: imul ecx */ 14062 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 14063 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 14064 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 14065 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14066 edx = edx + ecx; /* 0x2B06F958: add edx, ecx */ 14067 _flag_k = FK_ADD; 14068 if (5u) _cf = (((edx) >> 4) & 1u); /* 0x2B06F95A: sar edx, 5 */ 14069 if (5u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 5u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14070 edx = (uint32_t)((int32_t)edx >> 5u); 14071 eax = edx; /* 0x2B06F95D: mov eax, edx */ 14072 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B06F95F: shr eax, 0x1f */ 14073 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14074 eax = eax >> 31u; /* 0x2B06F95F: shr eax, 0x1f */ 14075 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 14076 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14077 edx = edx + eax; /* 0x2B06F962: add edx, eax */ 14078 _flag_k = FK_ADD; 14079 eax = edx + edx * 2; /* 0x2B06F964: lea eax, [edx + edx*2] */ 14080 eax = eax + eax * 4; /* 0x2B06F967: lea eax, [eax + eax*4] */ 14081 if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2B06F96A: shl eax, 2 */ 14082 if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14083 eax = eax << 2u; /* 0x2B06F96A: shl eax, 2 */ 14084 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 14085 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14086 ecx = ecx - eax; /* 0x2B06F96D: sub ecx, eax */ 14087 _flag_k = FK_CMP; 14088 PUSH32(esp, ecx); /* 0x2B06F96F: push ecx */ 14089 PUSH32(esp, edx); /* 0x2B06F970: push edx */ 14090 PUSH32(esp, edi); /* 0x2B06F971: push edi */ 14091 PUSH32(esp, 0x2B0EB740u); /* 0x2B06F972: push 0x2b0eb740 */ 14092 PUSH32(esp, 0x2B0EEE84u); /* 0x2B06F977: push 0x2b0eee84 */ 14093 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B06F97C: call dword ptr [0x2b0b51f0] */ 14094 RECOMP_FLAGS_IN(); 14095 esi = MEM32(ebx + 0x28); /* 0x2B06F982: mov esi, dword ptr [ebx + 0x28] */ 14096 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14097 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06F985: or ecx, 0xffffffff */ 14098 _cf = 0; 14099 _flag_k = FK_TEST; 14100 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14101 eax = 0; /* 0x2B06F988: xor eax, eax */ 14102 _cf = 0; 14103 _flag_k = FK_TEST; 14104 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 14105 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14106 esp = esp + 0x14u; /* 0x2B06F98A: add esp, 0x14 */ 14107 _flag_k = FK_ADD; 14108 edi = 0x2B0EEE84u; /* 0x2B06F98D: mov edi, 0x2b0eee84 */ 14109 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; } /* 0x2B06F992: repne scasb al, byte ptr es:[edi] */ 14110 ecx = ~ecx; /* 0x2B06F994: not ecx */ 14111 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14112 ecx = ecx - 1; /* 0x2B06F996: dec ecx */ 14113 _flag_k = FK_DEC; 14114 edi = ecx; /* 0x2B06F997: mov edi, ecx */ 14115 ecx = MEM32(0x2B0B515C); /* 0x2B06F999: mov ecx, dword ptr [0x2b0b515c] */ 14116 edx = MEM32(ecx); /* 0x2B06F99F: mov edx, dword ptr [ecx] */ 14117 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14118 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14119 edx = edx - MEM32(esi + 0x8); /* 0x2B06F9A1: sub edx, dword ptr [esi + 8] */ 14120 _flag_k = FK_CMP; 14121 /* cmp edx, edi */ /* 0x2B06F9A4: cmp edx, edi */ 14122 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 14123 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14124 _flag_k = FK_CMP; 14125 MEM32(ebp + 0xC) = esi; /* 0x2B06F9A6: mov dword ptr [ebp + 0xc], esi */ 14126 if (CMP_A(_flag_a, _flag_b)) goto L_2B06F9B1; /* 0x2B06F9A9: ja 0x2b06f9b1 */ 14127 L_2B06F9AB: 14128 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06F9AB: call dword ptr [0x2b0b51a8] */ 14129 RECOMP_FLAGS_IN(); 14130 L_2B06F9B1: 14131 /* test edi, edi */ /* 0x2B06F9B1: test edi, edi */ 14132 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 14133 _cf = 0; 14134 _flag_k = FK_TEST; 14135 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06FA70; /* 0x2B06F9B3: jbe 0x2b06fa70 */ 14136 L_2B06F9B9: 14137 eax = MEM32(esi + 0x8); /* 0x2B06F9B9: mov eax, dword ptr [esi + 8] */ 14138 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 14139 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14140 eax = eax + edi; /* 0x2B06F9BC: add eax, edi */ 14141 _flag_k = FK_ADD; 14142 PUSH32(esp, 0); /* 0x2B06F9BE: push 0 */ 14143 PUSH32(esp, eax); /* 0x2B06F9C0: push eax */ 14144 ecx = esi; /* 0x2B06F9C1: mov ecx, esi */ 14145 MEM32(ebp + (-0x10)) = eax; /* 0x2B06F9C3: mov dword ptr [ebp - 0x10], eax */ 14146 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06F9C6: call dword ptr [0x2b0b5154] */ 14147 RECOMP_FLAGS_IN(); 14148 /* test LO8(eax), LO8(eax) */ /* 0x2B06F9CC: test al, al */ 14149 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 14150 _cf = 0; 14151 _flag_k = FK_NARROW(FK_TEST, 24); 14152 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06FA70; /* 0x2B06F9CE: je 0x2b06fa70 */ 14153 L_2B06F9D4: 14154 eax = MEM32(ebp + 0xC); /* 0x2B06F9D4: mov eax, dword ptr [ebp + 0xc] */ 14155 edx = MEM32(eax + 0x4); /* 0x2B06F9D7: mov edx, dword ptr [eax + 4] */ 14156 ecx = edi; /* 0x2B06F9DA: mov ecx, edi */ 14157 edi = MEM32(eax + 0x8); /* 0x2B06F9DC: mov edi, dword ptr [eax + 8] */ 14158 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 14159 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14160 edi = edi + edx; /* 0x2B06F9DF: add edi, edx */ 14161 _flag_k = FK_ADD; 14162 edx = ecx; /* 0x2B06F9E1: mov edx, ecx */ 14163 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06F9E3: shr ecx, 2 */ 14164 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14165 ecx = ecx >> 2u; /* 0x2B06F9E3: shr ecx, 2 */ 14166 esi = 0x2B0EEE84u; /* 0x2B06F9E6: mov esi, 0x2b0eee84 */ 14167 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06F9EB: 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; } 14168 ecx = edx; /* 0x2B06F9ED: mov ecx, edx */ 14169 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 14170 ecx = ecx & 3; /* 0x2B06F9EF: and ecx, 3 */ 14171 _cf = 0; 14172 _flag_k = FK_TEST; 14173 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06F9F2: 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; } 14174 ecx = MEM32(ebp + (-0x10)); /* 0x2B06F9F4: mov ecx, dword ptr [ebp - 0x10] */ 14175 goto L_2B06FA66; /* 0x2B06F9F7: jmp 0x2b06fa66 */ 14176 L_2B06F9F9: 14177 edx = MEM32(ebx + 0x28); /* 0x2B06F9F9: mov edx, dword ptr [ebx + 0x28] */ 14178 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14179 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06F9FC: or ecx, 0xffffffff */ 14180 _cf = 0; 14181 _flag_k = FK_TEST; 14182 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14183 eax = 0; /* 0x2B06F9FF: xor eax, eax */ 14184 _cf = 0; 14185 _flag_k = FK_TEST; 14186 edi = 0x2B0EB734u; /* 0x2B06FA01: mov edi, 0x2b0eb734 */ 14187 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; } /* 0x2B06FA06: repne scasb al, byte ptr es:[edi] */ 14188 ecx = ~ecx; /* 0x2B06FA08: not ecx */ 14189 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14190 ecx = ecx - 1; /* 0x2B06FA0A: dec ecx */ 14191 _flag_k = FK_DEC; 14192 edi = ecx; /* 0x2B06FA0B: mov edi, ecx */ 14193 ecx = MEM32(0x2B0B515C); /* 0x2B06FA0D: mov ecx, dword ptr [0x2b0b515c] */ 14194 eax = MEM32(ecx); /* 0x2B06FA13: mov eax, dword ptr [ecx] */ 14195 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 14196 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14197 eax = eax - MEM32(edx + 0x8); /* 0x2B06FA15: sub eax, dword ptr [edx + 8] */ 14198 _flag_k = FK_CMP; 14199 /* cmp eax, edi */ /* 0x2B06FA18: cmp eax, edi */ 14200 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 14201 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14202 _flag_k = FK_CMP; 14203 MEM32(ebp + 0xC) = edx; /* 0x2B06FA1A: mov dword ptr [ebp + 0xc], edx */ 14204 if (CMP_A(_flag_a, _flag_b)) goto L_2B06FA28; /* 0x2B06FA1D: ja 0x2b06fa28 */ 14205 L_2B06FA1F: 14206 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06FA1F: call dword ptr [0x2b0b51a8] */ 14207 RECOMP_FLAGS_IN(); 14208 edx = MEM32(ebp + 0xC); /* 0x2B06FA25: mov edx, dword ptr [ebp + 0xc] */ 14209 L_2B06FA28: 14210 /* test edi, edi */ /* 0x2B06FA28: test edi, edi */ 14211 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 14212 _cf = 0; 14213 _flag_k = FK_TEST; 14214 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06FA73; /* 0x2B06FA2A: jbe 0x2b06fa73 */ 14215 L_2B06FA2C: 14216 eax = MEM32(edx + 0x8); /* 0x2B06FA2C: mov eax, dword ptr [edx + 8] */ 14217 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 14218 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14219 eax = eax + edi; /* 0x2B06FA2F: add eax, edi */ 14220 _flag_k = FK_ADD; 14221 PUSH32(esp, 0); /* 0x2B06FA31: push 0 */ 14222 PUSH32(esp, eax); /* 0x2B06FA33: push eax */ 14223 ecx = edx; /* 0x2B06FA34: mov ecx, edx */ 14224 MEM32(ebp + (-0x10)) = eax; /* 0x2B06FA36: mov dword ptr [ebp - 0x10], eax */ 14225 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06FA39: call dword ptr [0x2b0b5154] */ 14226 RECOMP_FLAGS_IN(); 14227 /* test LO8(eax), LO8(eax) */ /* 0x2B06FA3F: test al, al */ 14228 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 14229 _cf = 0; 14230 _flag_k = FK_NARROW(FK_TEST, 24); 14231 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06FA73; /* 0x2B06FA41: je 0x2b06fa73 */ 14232 L_2B06FA43: 14233 eax = MEM32(ebp + 0xC); /* 0x2B06FA43: mov eax, dword ptr [ebp + 0xc] */ 14234 edx = MEM32(eax + 0x4); /* 0x2B06FA46: mov edx, dword ptr [eax + 4] */ 14235 ecx = edi; /* 0x2B06FA49: mov ecx, edi */ 14236 edi = MEM32(eax + 0x8); /* 0x2B06FA4B: mov edi, dword ptr [eax + 8] */ 14237 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 14238 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14239 edi = edi + edx; /* 0x2B06FA4E: add edi, edx */ 14240 _flag_k = FK_ADD; 14241 edx = ecx; /* 0x2B06FA50: mov edx, ecx */ 14242 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06FA52: shr ecx, 2 */ 14243 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14244 ecx = ecx >> 2u; /* 0x2B06FA52: shr ecx, 2 */ 14245 esi = 0x2B0EB734u; /* 0x2B06FA55: mov esi, 0x2b0eb734 */ 14246 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06FA5A: 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; } 14247 ecx = edx; /* 0x2B06FA5C: mov ecx, edx */ 14248 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 14249 ecx = ecx & 3; /* 0x2B06FA5E: and ecx, 3 */ 14250 _cf = 0; 14251 _flag_k = FK_TEST; 14252 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06FA61: 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; } 14253 ecx = MEM32(ebp + (-0x10)); /* 0x2B06FA63: mov ecx, dword ptr [ebp - 0x10] */ 14254 L_2B06FA66: 14255 MEM32(eax + 0x8) = ecx; /* 0x2B06FA66: mov dword ptr [eax + 8], ecx */ 14256 eax = MEM32(eax + 0x4); /* 0x2B06FA69: mov eax, dword ptr [eax + 4] */ 14257 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B06FA6C: mov byte ptr [eax + ecx], 0 */ 14258 L_2B06FA70: 14259 esi = MEM32(ebp + 0x8); /* 0x2B06FA70: mov esi, dword ptr [ebp + 8] */ 14260 L_2B06FA73: 14261 PUSH32(esp, esi); /* 0x2B06FA73: push esi */ 14262 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06FA74: call dword ptr [0x2b0b5d6c] */ 14263 RECOMP_FLAGS_IN(); 14264 ecx = eax; /* 0x2B06FA7A: mov ecx, eax */ 14265 RECOMP_ICALL(MEM32(0x2B0B5D88)); /* 0x2B06FA7C: call dword ptr [0x2b0b5d88] */ 14266 RECOMP_FLAGS_IN(); 14267 /* test eax, eax */ /* 0x2B06FA82: test eax, eax */ 14268 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14269 _cf = 0; 14270 _flag_k = FK_TEST; 14271 MEM32(ebp + (-0xC)) = eax; /* 0x2B06FA84: mov dword ptr [ebp - 0xc], eax */ 14272 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06FBAD; /* 0x2B06FA87: je 0x2b06fbad */ 14273 L_2B06FA8D: 14274 ecx = MEM32(ebx + 0x28); /* 0x2B06FA8D: mov ecx, dword ptr [ebx + 0x28] */ 14275 PUSH32(esp, 0x13u); /* 0x2B06FA90: push 0x13 */ 14276 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06FA92: push -1 */ 14277 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06FA94: call dword ptr [0x2b0b5a74] */ 14278 RECOMP_FLAGS_IN(); 14279 esi = MEM32(ebx + 0x28); /* 0x2B06FA9A: mov esi, dword ptr [ebx + 0x28] */ 14280 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14281 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06FA9D: or ecx, 0xffffffff */ 14282 _cf = 0; 14283 _flag_k = FK_TEST; 14284 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14285 eax = 0; /* 0x2B06FAA0: xor eax, eax */ 14286 _cf = 0; 14287 _flag_k = FK_TEST; 14288 edi = 0x2B0EB728u; /* 0x2B06FAA2: mov edi, 0x2b0eb728 */ 14289 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; } /* 0x2B06FAA7: repne scasb al, byte ptr es:[edi] */ 14290 ecx = ~ecx; /* 0x2B06FAA9: not ecx */ 14291 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14292 ecx = ecx - 1; /* 0x2B06FAAB: dec ecx */ 14293 _flag_k = FK_DEC; 14294 edi = ecx; /* 0x2B06FAAC: mov edi, ecx */ 14295 ecx = MEM32(0x2B0B515C); /* 0x2B06FAAE: mov ecx, dword ptr [0x2b0b515c] */ 14296 edx = MEM32(ecx); /* 0x2B06FAB4: mov edx, dword ptr [ecx] */ 14297 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14298 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14299 edx = edx - MEM32(esi + 0x8); /* 0x2B06FAB6: sub edx, dword ptr [esi + 8] */ 14300 _flag_k = FK_CMP; 14301 /* cmp edx, edi */ /* 0x2B06FAB9: cmp edx, edi */ 14302 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 14303 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14304 _flag_k = FK_CMP; 14305 MEM32(ebp + 0xC) = esi; /* 0x2B06FABB: mov dword ptr [ebp + 0xc], esi */ 14306 if (CMP_A(_flag_a, _flag_b)) goto L_2B06FAC6; /* 0x2B06FABE: ja 0x2b06fac6 */ 14307 L_2B06FAC0: 14308 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06FAC0: call dword ptr [0x2b0b51a8] */ 14309 RECOMP_FLAGS_IN(); 14310 L_2B06FAC6: 14311 /* test edi, edi */ /* 0x2B06FAC6: test edi, edi */ 14312 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 14313 _cf = 0; 14314 _flag_k = FK_TEST; 14315 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06FB0E; /* 0x2B06FAC8: jbe 0x2b06fb0e */ 14316 L_2B06FACA: 14317 eax = MEM32(esi + 0x8); /* 0x2B06FACA: mov eax, dword ptr [esi + 8] */ 14318 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 14319 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14320 eax = eax + edi; /* 0x2B06FACD: add eax, edi */ 14321 _flag_k = FK_ADD; 14322 PUSH32(esp, 0); /* 0x2B06FACF: push 0 */ 14323 PUSH32(esp, eax); /* 0x2B06FAD1: push eax */ 14324 ecx = esi; /* 0x2B06FAD2: mov ecx, esi */ 14325 MEM32(ebp + (-0x10)) = eax; /* 0x2B06FAD4: mov dword ptr [ebp - 0x10], eax */ 14326 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06FAD7: call dword ptr [0x2b0b5154] */ 14327 RECOMP_FLAGS_IN(); 14328 /* test LO8(eax), LO8(eax) */ /* 0x2B06FADD: test al, al */ 14329 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 14330 _cf = 0; 14331 _flag_k = FK_NARROW(FK_TEST, 24); 14332 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06FB0E; /* 0x2B06FADF: je 0x2b06fb0e */ 14333 L_2B06FAE1: 14334 eax = MEM32(ebp + 0xC); /* 0x2B06FAE1: mov eax, dword ptr [ebp + 0xc] */ 14335 edx = MEM32(eax + 0x4); /* 0x2B06FAE4: mov edx, dword ptr [eax + 4] */ 14336 ecx = edi; /* 0x2B06FAE7: mov ecx, edi */ 14337 edi = MEM32(eax + 0x8); /* 0x2B06FAE9: mov edi, dword ptr [eax + 8] */ 14338 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 14339 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14340 edi = edi + edx; /* 0x2B06FAEC: add edi, edx */ 14341 _flag_k = FK_ADD; 14342 edx = ecx; /* 0x2B06FAEE: mov edx, ecx */ 14343 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06FAF0: shr ecx, 2 */ 14344 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14345 ecx = ecx >> 2u; /* 0x2B06FAF0: shr ecx, 2 */ 14346 esi = 0x2B0EB728u; /* 0x2B06FAF3: mov esi, 0x2b0eb728 */ 14347 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06FAF8: 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; } 14348 ecx = edx; /* 0x2B06FAFA: mov ecx, edx */ 14349 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 14350 ecx = ecx & 3; /* 0x2B06FAFC: and ecx, 3 */ 14351 _cf = 0; 14352 _flag_k = FK_TEST; 14353 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06FAFF: 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; } 14354 ecx = MEM32(ebp + (-0x10)); /* 0x2B06FB01: mov ecx, dword ptr [ebp - 0x10] */ 14355 MEM32(eax + 0x8) = ecx; /* 0x2B06FB04: mov dword ptr [eax + 8], ecx */ 14356 eax = MEM32(eax + 0x4); /* 0x2B06FB07: mov eax, dword ptr [eax + 4] */ 14357 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B06FB0A: mov byte ptr [eax + ecx], 0 */ 14358 L_2B06FB0E: 14359 ecx = MEM32(ebx + 0x28); /* 0x2B06FB0E: mov ecx, dword ptr [ebx + 0x28] */ 14360 PUSH32(esp, 0x14u); /* 0x2B06FB11: push 0x14 */ 14361 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06FB13: push -1 */ 14362 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06FB15: call dword ptr [0x2b0b5a74] */ 14363 RECOMP_FLAGS_IN(); 14364 ecx = MEM32(ebp + (-0xC)); /* 0x2B06FB1B: mov ecx, dword ptr [ebp - 0xc] */ 14365 PUSH32(esp, ecx); /* 0x2B06FB1E: push ecx */ 14366 PUSH32(esp, 0x2B0EB724u); /* 0x2B06FB1F: push 0x2b0eb724 */ 14367 PUSH32(esp, 0x2B0EEE84u); /* 0x2B06FB24: push 0x2b0eee84 */ 14368 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B06FB29: call dword ptr [0x2b0b51f0] */ 14369 RECOMP_FLAGS_IN(); 14370 edx = MEM32(0x2B0B515C); /* 0x2B06FB2F: mov edx, dword ptr [0x2b0b515c] */ 14371 esi = MEM32(ebx + 0x28); /* 0x2B06FB35: mov esi, dword ptr [ebx + 0x28] */ 14372 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14373 eax = 0; /* 0x2B06FB38: xor eax, eax */ 14374 _cf = 0; 14375 _flag_k = FK_TEST; 14376 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14377 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06FB3A: or ecx, 0xffffffff */ 14378 _cf = 0; 14379 _flag_k = FK_TEST; 14380 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 14381 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14382 esp = esp + 0xCu; /* 0x2B06FB3D: add esp, 0xc */ 14383 _flag_k = FK_ADD; 14384 edi = 0x2B0EEE84u; /* 0x2B06FB40: mov edi, 0x2b0eee84 */ 14385 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; } /* 0x2B06FB45: repne scasb al, byte ptr es:[edi] */ 14386 eax = MEM32(edx); /* 0x2B06FB47: mov eax, dword ptr [edx] */ 14387 edx = MEM32(esi + 0x8); /* 0x2B06FB49: mov edx, dword ptr [esi + 8] */ 14388 ecx = ~ecx; /* 0x2B06FB4C: not ecx */ 14389 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14390 ecx = ecx - 1; /* 0x2B06FB4E: dec ecx */ 14391 _flag_k = FK_DEC; 14392 edi = ecx; /* 0x2B06FB4F: mov edi, ecx */ 14393 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 14394 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14395 eax = eax - edx; /* 0x2B06FB51: sub eax, edx */ 14396 _flag_k = FK_CMP; 14397 /* cmp eax, edi */ /* 0x2B06FB53: cmp eax, edi */ 14398 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 14399 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14400 _flag_k = FK_CMP; 14401 MEM32(ebp + 0xC) = esi; /* 0x2B06FB55: mov dword ptr [ebp + 0xc], esi */ 14402 if (CMP_A(_flag_a, _flag_b)) goto L_2B06FB60; /* 0x2B06FB58: ja 0x2b06fb60 */ 14403 L_2B06FB5A: 14404 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06FB5A: call dword ptr [0x2b0b51a8] */ 14405 RECOMP_FLAGS_IN(); 14406 L_2B06FB60: 14407 /* test edi, edi */ /* 0x2B06FB60: test edi, edi */ 14408 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 14409 _cf = 0; 14410 _flag_k = FK_TEST; 14411 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06FBAA; /* 0x2B06FB62: jbe 0x2b06fbaa */ 14412 L_2B06FB64: 14413 edx = MEM32(esi + 0x8); /* 0x2B06FB64: mov edx, dword ptr [esi + 8] */ 14414 eax = edi; /* 0x2B06FB67: mov eax, edi */ 14415 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 14416 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14417 eax = eax + edx; /* 0x2B06FB69: add eax, edx */ 14418 _flag_k = FK_ADD; 14419 PUSH32(esp, 0); /* 0x2B06FB6B: push 0 */ 14420 PUSH32(esp, eax); /* 0x2B06FB6D: push eax */ 14421 ecx = esi; /* 0x2B06FB6E: mov ecx, esi */ 14422 MEM32(ebp + (-0x10)) = eax; /* 0x2B06FB70: mov dword ptr [ebp - 0x10], eax */ 14423 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06FB73: call dword ptr [0x2b0b5154] */ 14424 RECOMP_FLAGS_IN(); 14425 /* test LO8(eax), LO8(eax) */ /* 0x2B06FB79: test al, al */ 14426 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 14427 _cf = 0; 14428 _flag_k = FK_NARROW(FK_TEST, 24); 14429 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06FBAA; /* 0x2B06FB7B: je 0x2b06fbaa */ 14430 L_2B06FB7D: 14431 eax = MEM32(ebp + 0xC); /* 0x2B06FB7D: mov eax, dword ptr [ebp + 0xc] */ 14432 edx = MEM32(eax + 0x4); /* 0x2B06FB80: mov edx, dword ptr [eax + 4] */ 14433 ecx = edi; /* 0x2B06FB83: mov ecx, edi */ 14434 edi = MEM32(eax + 0x8); /* 0x2B06FB85: mov edi, dword ptr [eax + 8] */ 14435 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 14436 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14437 edi = edi + edx; /* 0x2B06FB88: add edi, edx */ 14438 _flag_k = FK_ADD; 14439 edx = ecx; /* 0x2B06FB8A: mov edx, ecx */ 14440 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06FB8C: shr ecx, 2 */ 14441 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14442 ecx = ecx >> 2u; /* 0x2B06FB8C: shr ecx, 2 */ 14443 esi = 0x2B0EEE84u; /* 0x2B06FB8F: mov esi, 0x2b0eee84 */ 14444 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06FB94: 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; } 14445 ecx = edx; /* 0x2B06FB96: mov ecx, edx */ 14446 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 14447 ecx = ecx & 3; /* 0x2B06FB98: and ecx, 3 */ 14448 _cf = 0; 14449 _flag_k = FK_TEST; 14450 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06FB9B: 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; } 14451 ecx = MEM32(ebp + (-0x10)); /* 0x2B06FB9D: mov ecx, dword ptr [ebp - 0x10] */ 14452 MEM32(eax + 0x8) = ecx; /* 0x2B06FBA0: mov dword ptr [eax + 8], ecx */ 14453 eax = MEM32(eax + 0x4); /* 0x2B06FBA3: mov eax, dword ptr [eax + 4] */ 14454 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06FBA6: mov byte ptr [ecx + eax], 0 */ 14455 L_2B06FBAA: 14456 esi = MEM32(ebp + 0x8); /* 0x2B06FBAA: mov esi, dword ptr [ebp + 8] */ 14457 L_2B06FBAD: 14458 ecx = MEM32(ebx + 0x28); /* 0x2B06FBAD: mov ecx, dword ptr [ebx + 0x28] */ 14459 PUSH32(esp, ecx); /* 0x2B06FBB0: push ecx */ 14460 PUSH32(esp, esi); /* 0x2B06FBB1: push esi */ 14461 ecx = ebx; /* 0x2B06FBB2: mov ecx, ebx */ 14462 RECOMP_ICALL(0x2B073B90u); /* 0x2B06FBB4: call 0x2b073b90 */ /* not lifted */ 14463 RECOMP_FLAGS_IN(); 14464 edx = MEM32(ebx + 0x28); /* 0x2B06FBB9: mov edx, dword ptr [ebx + 0x28] */ 14465 PUSH32(esp, edx); /* 0x2B06FBBC: push edx */ 14466 PUSH32(esp, esi); /* 0x2B06FBBD: push esi */ 14467 ecx = ebx; /* 0x2B06FBBE: mov ecx, ebx */ 14468 RECOMP_ICALL(0x2B073BE0u); /* 0x2B06FBC0: call 0x2b073be0 */ /* not lifted */ 14469 RECOMP_FLAGS_IN(); 14470 eax = MEM32(ebx + 0x28); /* 0x2B06FBC5: mov eax, dword ptr [ebx + 0x28] */ 14471 PUSH32(esp, eax); /* 0x2B06FBC8: push eax */ 14472 PUSH32(esp, esi); /* 0x2B06FBC9: push esi */ 14473 ecx = ebx; /* 0x2B06FBCA: mov ecx, ebx */ 14474 RECOMP_ICALL(0x2B073C20u); /* 0x2B06FBCC: call 0x2b073c20 */ /* not lifted */ 14475 RECOMP_FLAGS_IN(); 14476 ecx = MEM32(ebx + 0x28); /* 0x2B06FBD1: mov ecx, dword ptr [ebx + 0x28] */ 14477 PUSH32(esp, ecx); /* 0x2B06FBD4: push ecx */ 14478 PUSH32(esp, esi); /* 0x2B06FBD5: push esi */ 14479 ecx = ebx; /* 0x2B06FBD6: mov ecx, ebx */ 14480 RECOMP_ICALL(0x2B073CB0u); /* 0x2B06FBD8: call 0x2b073cb0 */ /* not lifted */ 14481 RECOMP_FLAGS_IN(); 14482 edx = MEM32(ebx + 0x28); /* 0x2B06FBDD: mov edx, dword ptr [ebx + 0x28] */ 14483 PUSH32(esp, edx); /* 0x2B06FBE0: push edx */ 14484 PUSH32(esp, esi); /* 0x2B06FBE1: push esi */ 14485 ecx = ebx; /* 0x2B06FBE2: mov ecx, ebx */ 14486 RECOMP_ICALL(0x2B073CF0u); /* 0x2B06FBE4: call 0x2b073cf0 */ /* not lifted */ 14487 RECOMP_FLAGS_IN(); 14488 eax = MEM32(ebx + 0x28); /* 0x2B06FBE9: mov eax, dword ptr [ebx + 0x28] */ 14489 PUSH32(esp, eax); /* 0x2B06FBEC: push eax */ 14490 PUSH32(esp, esi); /* 0x2B06FBED: push esi */ 14491 ecx = ebx; /* 0x2B06FBEE: mov ecx, ebx */ 14492 RECOMP_ICALL(0x2B073D30u); /* 0x2B06FBF0: call 0x2b073d30 */ /* not lifted */ 14493 RECOMP_FLAGS_IN(); 14494 ecx = MEM32(ebx + 0x28); /* 0x2B06FBF5: mov ecx, dword ptr [ebx + 0x28] */ 14495 PUSH32(esp, ecx); /* 0x2B06FBF8: push ecx */ 14496 PUSH32(esp, esi); /* 0x2B06FBF9: push esi */ 14497 ecx = ebx; /* 0x2B06FBFA: mov ecx, ebx */ 14498 RECOMP_ICALL(0x2B073F90u); /* 0x2B06FBFC: call 0x2b073f90 */ /* not lifted */ 14499 RECOMP_FLAGS_IN(); 14500 edx = MEM32(ebx + 0x28); /* 0x2B06FC01: mov edx, dword ptr [ebx + 0x28] */ 14501 PUSH32(esp, edx); /* 0x2B06FC04: push edx */ 14502 PUSH32(esp, esi); /* 0x2B06FC05: push esi */ 14503 ecx = ebx; /* 0x2B06FC06: mov ecx, ebx */ 14504 RECOMP_ICALL(0x2B073FD0u); /* 0x2B06FC08: call 0x2b073fd0 */ /* not lifted */ 14505 RECOMP_FLAGS_IN(); 14506 eax = MEM32(ebx + 0x28); /* 0x2B06FC0D: mov eax, dword ptr [ebx + 0x28] */ 14507 PUSH32(esp, eax); /* 0x2B06FC10: push eax */ 14508 PUSH32(esp, esi); /* 0x2B06FC11: push esi */ 14509 ecx = ebx; /* 0x2B06FC12: mov ecx, ebx */ 14510 RECOMP_ICALL(0x2B074010u); /* 0x2B06FC14: call 0x2b074010 */ /* not lifted */ 14511 RECOMP_FLAGS_IN(); 14512 SET_LO8(ecx, MEM8(ebp + (-0x1))); /* 0x2B06FC19: mov cl, byte ptr [ebp - 1] */ 14513 edi = POP32_VAL(esp); /* 0x2B06FC1C: pop edi */ 14514 esi = POP32_VAL(esp); /* 0x2B06FC1D: pop esi */ 14515 MEM8(ebx + 0x1C) = (uint8_t)(LO8(ecx)); /* 0x2B06FC1E: mov byte ptr [ebx + 0x1c], cl */ 14516 ebx = POP32_VAL(esp); /* 0x2B06FC21: pop ebx */ 14517 esp = ebp; /* 0x2B06FC22: mov esp, ebp */ 14518 ebp = POP32_VAL(esp); /* 0x2B06FC24: pop ebp */ 14519 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B06FC25: ret 8 */ 14520 RECOMP_REGS_OUT(); 14521 } 14522 14523 void sub_2B06FC30(void) { 14524 int _fpu_cmp = 0; 14525 uint32_t _cf = 0; 14526 int _df = 1; 14527 uint32_t _flag_k = FK_NONE; 14528 uint32_t _flag_a = 0, _flag_b = 0; 14529 uint32_t _itail_tgt = 0; 14530 RECOMP_REGS_LOCALS 14531 RECOMP_ENTER(0x2B06FC30u); 14532 14533 L_2B06FC30: 14534 PUSH32(esp, ebp); /* 0x2B06FC30: push ebp */ 14535 ebp = esp; /* 0x2B06FC31: mov ebp, esp */ 14536 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06FC33: push -1 */ 14537 PUSH32(esp, 0x2B0B1217u); /* 0x2B06FC35: push 0x2b0b1217 */ 14538 eax = MEM32(FS_BASE + (0)); /* 0x2B06FC3A: mov eax, dword ptr fs:[0] */ 14539 PUSH32(esp, eax); /* 0x2B06FC40: push eax */ 14540 MEM32(FS_BASE + (0)) = esp; /* 0x2B06FC41: mov dword ptr fs:[0], esp */ 14541 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x6Cu); 14542 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14543 esp = esp - 0x6Cu; /* 0x2B06FC48: sub esp, 0x6c */ 14544 _flag_k = FK_CMP; 14545 SET_LO8(eax, MEM8(ebp + 0xC)); /* 0x2B06FC4B: mov al, byte ptr [ebp + 0xc] */ 14546 /* test LO8(eax), LO8(eax) */ /* 0x2B06FC4E: test al, al */ 14547 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 14548 _cf = 0; 14549 _flag_k = FK_NARROW(FK_TEST, 24); 14550 PUSH32(esp, ebx); /* 0x2B06FC50: push ebx */ 14551 PUSH32(esp, esi); /* 0x2B06FC51: push esi */ 14552 PUSH32(esp, edi); /* 0x2B06FC52: push edi */ 14553 ebx = ecx; /* 0x2B06FC53: mov ebx, ecx */ 14554 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06FD22; /* 0x2B06FC55: jne 0x2b06fd22 */ 14555 L_2B06FC5B: 14556 esi = MEM32(ebp + 0x8); /* 0x2B06FC5B: mov esi, dword ptr [ebp + 8] */ 14557 PUSH32(esp, esi); /* 0x2B06FC5E: push esi */ 14558 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06FC5F: call dword ptr [0x2b0b5d6c] */ 14559 RECOMP_FLAGS_IN(); 14560 ecx = eax; /* 0x2B06FC65: mov ecx, eax */ 14561 RECOMP_ICALL(MEM32(0x2B0B5D20)); /* 0x2B06FC67: call dword ptr [0x2b0b5d20] */ 14562 RECOMP_FLAGS_IN(); 14563 eax = MEM32(esi); /* 0x2B06FC6D: mov eax, dword ptr [esi] */ 14564 edx = MEM32(ebx + 0x28); /* 0x2B06FC6F: mov edx, dword ptr [ebx + 0x28] */ 14565 MEM32(ebx + 0x20) = eax; /* 0x2B06FC72: mov dword ptr [ebx + 0x20], eax */ 14566 ecx = MEM32(esi + 0x4); /* 0x2B06FC75: mov ecx, dword ptr [esi + 4] */ 14567 MEM32(ebx + 0x24) = ecx; /* 0x2B06FC78: mov dword ptr [ebx + 0x24], ecx */ 14568 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14569 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06FC7B: or ecx, 0xffffffff */ 14570 _cf = 0; 14571 _flag_k = FK_TEST; 14572 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14573 eax = 0; /* 0x2B06FC7E: xor eax, eax */ 14574 _cf = 0; 14575 _flag_k = FK_TEST; 14576 edi = 0x2B0EF014u; /* 0x2B06FC80: mov edi, 0x2b0ef014 */ 14577 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; } /* 0x2B06FC85: repne scasb al, byte ptr es:[edi] */ 14578 ecx = ~ecx; /* 0x2B06FC87: not ecx */ 14579 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14580 ecx = ecx - 1; /* 0x2B06FC89: dec ecx */ 14581 _flag_k = FK_DEC; 14582 PUSH32(esp, 1); /* 0x2B06FC8A: push 1 */ 14583 MEM32(ebp + 0xC) = ecx; /* 0x2B06FC8C: mov dword ptr [ebp + 0xc], ecx */ 14584 PUSH32(esp, ecx); /* 0x2B06FC8F: push ecx */ 14585 ecx = edx; /* 0x2B06FC90: mov ecx, edx */ 14586 MEM32(ebp + 0x8) = edx; /* 0x2B06FC92: mov dword ptr [ebp + 8], edx */ 14587 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06FC95: call dword ptr [0x2b0b5154] */ 14588 RECOMP_FLAGS_IN(); 14589 /* test LO8(eax), LO8(eax) */ /* 0x2B06FC9B: test al, al */ 14590 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 14591 _cf = 0; 14592 _flag_k = FK_NARROW(FK_TEST, 24); 14593 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06FCC6; /* 0x2B06FC9D: je 0x2b06fcc6 */ 14594 L_2B06FC9F: 14595 ecx = MEM32(ebp + 0xC); /* 0x2B06FC9F: mov ecx, dword ptr [ebp + 0xc] */ 14596 eax = MEM32(ebp + 0x8); /* 0x2B06FCA2: mov eax, dword ptr [ebp + 8] */ 14597 edi = MEM32(eax + 0x4); /* 0x2B06FCA5: mov edi, dword ptr [eax + 4] */ 14598 edx = ecx; /* 0x2B06FCA8: mov edx, ecx */ 14599 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06FCAA: shr ecx, 2 */ 14600 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14601 ecx = ecx >> 2u; /* 0x2B06FCAA: shr ecx, 2 */ 14602 esi = 0x2B0EF014u; /* 0x2B06FCAD: mov esi, 0x2b0ef014 */ 14603 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06FCB2: 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; } 14604 ecx = edx; /* 0x2B06FCB4: mov ecx, edx */ 14605 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 14606 ecx = ecx & 3; /* 0x2B06FCB6: and ecx, 3 */ 14607 _cf = 0; 14608 _flag_k = FK_TEST; 14609 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06FCB9: 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; } 14610 ecx = edx; /* 0x2B06FCBB: mov ecx, edx */ 14611 PUSH32(esp, ecx); /* 0x2B06FCBD: push ecx */ 14612 ecx = eax; /* 0x2B06FCBE: mov ecx, eax */ 14613 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06FCC0: call dword ptr [0x2b0b5150] */ 14614 RECOMP_FLAGS_IN(); 14615 L_2B06FCC6: 14616 ecx = MEM32(ebx + 0x28); /* 0x2B06FCC6: mov ecx, dword ptr [ebx + 0x28] */ 14617 PUSH32(esp, 0xCu); /* 0x2B06FCC9: push 0xc */ 14618 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06FCCB: push -1 */ 14619 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B06FCCD: call dword ptr [0x2b0b5a74] */ 14620 RECOMP_FLAGS_IN(); 14621 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14622 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06FCD3: or ecx, 0xffffffff */ 14623 _cf = 0; 14624 _flag_k = FK_TEST; 14625 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14626 eax = 0; /* 0x2B06FCD6: xor eax, eax */ 14627 _cf = 0; 14628 _flag_k = FK_TEST; 14629 edi = 0x2B0EB8D0u; /* 0x2B06FCD8: mov edi, 0x2b0eb8d0 */ 14630 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; } /* 0x2B06FCDD: repne scasb al, byte ptr es:[edi] */ 14631 ecx = ~ecx; /* 0x2B06FCDF: not ecx */ 14632 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14633 ecx = ecx - 1; /* 0x2B06FCE1: dec ecx */ 14634 _flag_k = FK_DEC; 14635 PUSH32(esp, ecx); /* 0x2B06FCE2: push ecx */ 14636 ecx = MEM32(ebx + 0x28); /* 0x2B06FCE3: mov ecx, dword ptr [ebx + 0x28] */ 14637 PUSH32(esp, 0x2B0EB8D0u); /* 0x2B06FCE6: push 0x2b0eb8d0 */ 14638 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B06FCEB: call dword ptr [0x2b0b5188] */ 14639 RECOMP_FLAGS_IN(); 14640 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14641 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06FCF1: or ecx, 0xffffffff */ 14642 _cf = 0; 14643 _flag_k = FK_TEST; 14644 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14645 eax = 0; /* 0x2B06FCF4: xor eax, eax */ 14646 _cf = 0; 14647 _flag_k = FK_TEST; 14648 edi = 0x2B0EB8B0u; /* 0x2B06FCF6: mov edi, 0x2b0eb8b0 */ 14649 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; } /* 0x2B06FCFB: repne scasb al, byte ptr es:[edi] */ 14650 ecx = ~ecx; /* 0x2B06FCFD: not ecx */ 14651 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14652 ecx = ecx - 1; /* 0x2B06FCFF: dec ecx */ 14653 _flag_k = FK_DEC; 14654 PUSH32(esp, ecx); /* 0x2B06FD00: push ecx */ 14655 ecx = MEM32(ebx + 0x28); /* 0x2B06FD01: mov ecx, dword ptr [ebx + 0x28] */ 14656 PUSH32(esp, 0x2B0EB8B0u); /* 0x2B06FD04: push 0x2b0eb8b0 */ 14657 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B06FD09: call dword ptr [0x2b0b5188] */ 14658 RECOMP_FLAGS_IN(); 14659 edi = POP32_VAL(esp); /* 0x2B06FD0F: pop edi */ 14660 esi = POP32_VAL(esp); /* 0x2B06FD10: pop esi */ 14661 ebx = POP32_VAL(esp); /* 0x2B06FD11: pop ebx */ 14662 ecx = MEM32(ebp + (-0xC)); /* 0x2B06FD12: mov ecx, dword ptr [ebp - 0xc] */ 14663 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06FD15: mov dword ptr fs:[0], ecx */ 14664 esp = ebp; /* 0x2B06FD1C: mov esp, ebp */ 14665 ebp = POP32_VAL(esp); /* 0x2B06FD1E: pop ebp */ 14666 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B06FD1F: ret 8 */ 14667 L_2B06FD22: 14668 edx = MEM32(ebx + 0x28); /* 0x2B06FD22: mov edx, dword ptr [ebx + 0x28] */ 14669 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14670 ecx = 0; /* 0x2B06FD25: xor ecx, ecx */ 14671 _cf = 0; 14672 _flag_k = FK_TEST; 14673 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14674 eax = 0; /* 0x2B06FD27: xor eax, eax */ 14675 _cf = 0; 14676 _flag_k = FK_TEST; 14677 MEM32(ebx + 0x20) = eax; /* 0x2B06FD29: mov dword ptr [ebx + 0x20], eax */ 14678 MEM32(ebx + 0x24) = ecx; /* 0x2B06FD2C: mov dword ptr [ebx + 0x24], ecx */ 14679 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14680 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06FD2F: or ecx, 0xffffffff */ 14681 _cf = 0; 14682 _flag_k = FK_TEST; 14683 MEM32(ebx + 0x8) = 6; /* 0x2B06FD32: mov dword ptr [ebx + 8], 6 */ 14684 edi = 0x2B0EF014u; /* 0x2B06FD39: mov edi, 0x2b0ef014 */ 14685 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; } /* 0x2B06FD3E: repne scasb al, byte ptr es:[edi] */ 14686 ecx = ~ecx; /* 0x2B06FD40: not ecx */ 14687 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14688 ecx = ecx - 1; /* 0x2B06FD42: dec ecx */ 14689 _flag_k = FK_DEC; 14690 PUSH32(esp, 1); /* 0x2B06FD43: push 1 */ 14691 MEM32(ebp + 0xC) = ecx; /* 0x2B06FD45: mov dword ptr [ebp + 0xc], ecx */ 14692 PUSH32(esp, ecx); /* 0x2B06FD48: push ecx */ 14693 ecx = edx; /* 0x2B06FD49: mov ecx, edx */ 14694 MEM32(ebp + (-0x14)) = edx; /* 0x2B06FD4B: mov dword ptr [ebp - 0x14], edx */ 14695 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06FD4E: call dword ptr [0x2b0b5154] */ 14696 RECOMP_FLAGS_IN(); 14697 /* test LO8(eax), LO8(eax) */ /* 0x2B06FD54: test al, al */ 14698 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 14699 _cf = 0; 14700 _flag_k = FK_NARROW(FK_TEST, 24); 14701 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06FD7F; /* 0x2B06FD56: je 0x2b06fd7f */ 14702 L_2B06FD58: 14703 eax = MEM32(ebp + (-0x14)); /* 0x2B06FD58: mov eax, dword ptr [ebp - 0x14] */ 14704 ecx = MEM32(ebp + 0xC); /* 0x2B06FD5B: mov ecx, dword ptr [ebp + 0xc] */ 14705 edi = MEM32(eax + 0x4); /* 0x2B06FD5E: mov edi, dword ptr [eax + 4] */ 14706 edx = ecx; /* 0x2B06FD61: mov edx, ecx */ 14707 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06FD63: shr ecx, 2 */ 14708 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14709 ecx = ecx >> 2u; /* 0x2B06FD63: shr ecx, 2 */ 14710 esi = 0x2B0EF014u; /* 0x2B06FD66: mov esi, 0x2b0ef014 */ 14711 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06FD6B: 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; } 14712 ecx = edx; /* 0x2B06FD6D: mov ecx, edx */ 14713 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 14714 ecx = ecx & 3; /* 0x2B06FD6F: and ecx, 3 */ 14715 _cf = 0; 14716 _flag_k = FK_TEST; 14717 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06FD72: 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; } 14718 ecx = edx; /* 0x2B06FD74: mov ecx, edx */ 14719 PUSH32(esp, ecx); /* 0x2B06FD76: push ecx */ 14720 ecx = eax; /* 0x2B06FD77: mov ecx, eax */ 14721 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06FD79: call dword ptr [0x2b0b5150] */ 14722 RECOMP_FLAGS_IN(); 14723 L_2B06FD7F: 14724 ecx = MEM32(ebx + 0x28); /* 0x2B06FD7F: mov ecx, dword ptr [ebx + 0x28] */ 14725 esi = MEM32(0x2B0B5A74); /* 0x2B06FD82: mov esi, dword ptr [0x2b0b5a74] */ 14726 PUSH32(esp, 0x12u); /* 0x2B06FD88: push 0x12 */ 14727 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06FD8A: push -1 */ 14728 RECOMP_ICALL(esi); /* 0x2B06FD8C: call esi */ 14729 RECOMP_FLAGS_IN(); 14730 edx = MEM32(ebp + 0x8); /* 0x2B06FD8E: mov edx, dword ptr [ebp + 8] */ 14731 edi = MEM32(0x2B0B5D6C); /* 0x2B06FD91: mov edi, dword ptr [0x2b0b5d6c] */ 14732 PUSH32(esp, edx); /* 0x2B06FD97: push edx */ 14733 RECOMP_ICALL(edi); /* 0x2B06FD98: call edi */ 14734 RECOMP_FLAGS_IN(); 14735 ecx = eax; /* 0x2B06FD9A: mov ecx, eax */ 14736 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B06FD9C: call dword ptr [0x2b0b5d50] */ 14737 RECOMP_FLAGS_IN(); 14738 MEM32(ebp + (-0x14)) = eax; /* 0x2B06FDA2: mov dword ptr [ebp - 0x14], eax */ 14739 eax = MEM32(ebp + 0x8); /* 0x2B06FDA5: mov eax, dword ptr [ebp + 8] */ 14740 PUSH32(esp, eax); /* 0x2B06FDA8: push eax */ 14741 RECOMP_ICALL(edi); /* 0x2B06FDA9: call edi */ 14742 RECOMP_FLAGS_IN(); 14743 ecx = eax; /* 0x2B06FDAB: mov ecx, eax */ 14744 RECOMP_ICALL(MEM32(0x2B0B5DE4)); /* 0x2B06FDAD: call dword ptr [0x2b0b5de4] */ 14745 RECOMP_FLAGS_IN(); 14746 ecx = MEM32(ebp + 0x8); /* 0x2B06FDB3: mov ecx, dword ptr [ebp + 8] */ 14747 PUSH32(esp, ecx); /* 0x2B06FDB6: push ecx */ 14748 MEM32(ebp + (-0x10)) = eax; /* 0x2B06FDB7: mov dword ptr [ebp - 0x10], eax */ 14749 RECOMP_ICALL(edi); /* 0x2B06FDBA: call edi */ 14750 RECOMP_FLAGS_IN(); 14751 ecx = eax; /* 0x2B06FDBC: mov ecx, eax */ 14752 RECOMP_ICALL(MEM32(0x2B0B5DE8)); /* 0x2B06FDBE: call dword ptr [0x2b0b5de8] */ 14753 RECOMP_FLAGS_IN(); 14754 edx = MEM32(ebp + 0x8); /* 0x2B06FDC4: mov edx, dword ptr [ebp + 8] */ 14755 PUSH32(esp, edx); /* 0x2B06FDC7: push edx */ 14756 MEM32(ebp + 0xC) = eax; /* 0x2B06FDC8: mov dword ptr [ebp + 0xc], eax */ 14757 RECOMP_ICALL(edi); /* 0x2B06FDCB: call edi */ 14758 RECOMP_FLAGS_IN(); 14759 ecx = eax; /* 0x2B06FDCD: mov ecx, eax */ 14760 RECOMP_ICALL(MEM32(0x2B0B5DE0)); /* 0x2B06FDCF: call dword ptr [0x2b0b5de0] */ 14761 RECOMP_FLAGS_IN(); 14762 edx = eax; /* 0x2B06FDD5: mov edx, eax */ 14763 /* test edx, edx */ /* 0x2B06FDD7: test edx, edx */ 14764 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 14765 _cf = 0; 14766 _flag_k = FK_TEST; 14767 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06FE17; /* 0x2B06FDD9: je 0x2b06fe17 */ 14768 L_2B06FDDB: 14769 /* cmp MEM8(edx), 0 */ /* 0x2B06FDDB: cmp byte ptr [edx], 0 */ 14770 _flag_a = (uint32_t)(MEM8(edx)) << 24; _flag_b = (uint32_t)(0) << 24; 14771 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14772 _flag_k = FK_NARROW(FK_CMP, 24); 14773 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06FE17; /* 0x2B06FDDE: je 0x2b06fe17 */ 14774 L_2B06FDE0: 14775 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14776 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06FDE0: or ecx, 0xffffffff */ 14777 _cf = 0; 14778 _flag_k = FK_TEST; 14779 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14780 eax = 0; /* 0x2B06FDE3: xor eax, eax */ 14781 _cf = 0; 14782 _flag_k = FK_TEST; 14783 edi = edx; /* 0x2B06FDE5: mov edi, edx */ 14784 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; } /* 0x2B06FDE7: repne scasb al, byte ptr es:[edi] */ 14785 ecx = ~ecx; /* 0x2B06FDE9: not ecx */ 14786 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14787 ecx = ecx - 1; /* 0x2B06FDEB: dec ecx */ 14788 _flag_k = FK_DEC; 14789 PUSH32(esp, ecx); /* 0x2B06FDEC: push ecx */ 14790 ecx = MEM32(ebx + 0x28); /* 0x2B06FDED: mov ecx, dword ptr [ebx + 0x28] */ 14791 PUSH32(esp, edx); /* 0x2B06FDF0: push edx */ 14792 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B06FDF1: call dword ptr [0x2b0b5188] */ 14793 RECOMP_FLAGS_IN(); 14794 edx = MEM32(ebx + 0x28); /* 0x2B06FDF7: mov edx, dword ptr [ebx + 0x28] */ 14795 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14796 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06FDFA: or ecx, 0xffffffff */ 14797 _cf = 0; 14798 _flag_k = FK_TEST; 14799 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14800 eax = 0; /* 0x2B06FDFD: xor eax, eax */ 14801 _cf = 0; 14802 _flag_k = FK_TEST; 14803 edi = 0x2B0EB8ACu; /* 0x2B06FDFF: mov edi, 0x2b0eb8ac */ 14804 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; } /* 0x2B06FE04: repne scasb al, byte ptr es:[edi] */ 14805 ecx = ~ecx; /* 0x2B06FE06: not ecx */ 14806 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14807 ecx = ecx - 1; /* 0x2B06FE08: dec ecx */ 14808 _flag_k = FK_DEC; 14809 PUSH32(esp, ecx); /* 0x2B06FE09: push ecx */ 14810 PUSH32(esp, 0x2B0EB8ACu); /* 0x2B06FE0A: push 0x2b0eb8ac */ 14811 ecx = edx; /* 0x2B06FE0F: mov ecx, edx */ 14812 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B06FE11: call dword ptr [0x2b0b5188] */ 14813 RECOMP_FLAGS_IN(); 14814 L_2B06FE17: 14815 eax = MEM32(ebp + (-0x10)); /* 0x2B06FE17: mov eax, dword ptr [ebp - 0x10] */ 14816 /* test eax, eax */ /* 0x2B06FE1A: test eax, eax */ 14817 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14818 _cf = 0; 14819 _flag_k = FK_TEST; 14820 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06FE5C; /* 0x2B06FE1C: je 0x2b06fe5c */ 14821 L_2B06FE1E: 14822 /* cmp MEM8(eax), 0 */ /* 0x2B06FE1E: cmp byte ptr [eax], 0 */ 14823 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0) << 24; 14824 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14825 _flag_k = FK_NARROW(FK_CMP, 24); 14826 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06FE5C; /* 0x2B06FE21: je 0x2b06fe5c */ 14827 L_2B06FE23: 14828 edx = eax; /* 0x2B06FE23: mov edx, eax */ 14829 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14830 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06FE25: or ecx, 0xffffffff */ 14831 _cf = 0; 14832 _flag_k = FK_TEST; 14833 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14834 eax = 0; /* 0x2B06FE28: xor eax, eax */ 14835 _cf = 0; 14836 _flag_k = FK_TEST; 14837 edi = edx; /* 0x2B06FE2A: mov edi, edx */ 14838 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; } /* 0x2B06FE2C: repne scasb al, byte ptr es:[edi] */ 14839 ecx = ~ecx; /* 0x2B06FE2E: not ecx */ 14840 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14841 ecx = ecx - 1; /* 0x2B06FE30: dec ecx */ 14842 _flag_k = FK_DEC; 14843 PUSH32(esp, ecx); /* 0x2B06FE31: push ecx */ 14844 ecx = MEM32(ebx + 0x28); /* 0x2B06FE32: mov ecx, dword ptr [ebx + 0x28] */ 14845 PUSH32(esp, edx); /* 0x2B06FE35: push edx */ 14846 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B06FE36: call dword ptr [0x2b0b5188] */ 14847 RECOMP_FLAGS_IN(); 14848 edx = MEM32(ebx + 0x28); /* 0x2B06FE3C: mov edx, dword ptr [ebx + 0x28] */ 14849 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14850 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06FE3F: or ecx, 0xffffffff */ 14851 _cf = 0; 14852 _flag_k = FK_TEST; 14853 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14854 eax = 0; /* 0x2B06FE42: xor eax, eax */ 14855 _cf = 0; 14856 _flag_k = FK_TEST; 14857 edi = 0x2B0EB8ACu; /* 0x2B06FE44: mov edi, 0x2b0eb8ac */ 14858 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; } /* 0x2B06FE49: repne scasb al, byte ptr es:[edi] */ 14859 ecx = ~ecx; /* 0x2B06FE4B: not ecx */ 14860 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14861 ecx = ecx - 1; /* 0x2B06FE4D: dec ecx */ 14862 _flag_k = FK_DEC; 14863 PUSH32(esp, ecx); /* 0x2B06FE4E: push ecx */ 14864 PUSH32(esp, 0x2B0EB8ACu); /* 0x2B06FE4F: push 0x2b0eb8ac */ 14865 ecx = edx; /* 0x2B06FE54: mov ecx, edx */ 14866 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B06FE56: call dword ptr [0x2b0b5188] */ 14867 RECOMP_FLAGS_IN(); 14868 L_2B06FE5C: 14869 eax = MEM32(ebp + (-0x14)); /* 0x2B06FE5C: mov eax, dword ptr [ebp - 0x14] */ 14870 /* test eax, eax */ /* 0x2B06FE5F: test eax, eax */ 14871 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14872 _cf = 0; 14873 _flag_k = FK_TEST; 14874 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06FEBD; /* 0x2B06FE61: je 0x2b06febd */ 14875 L_2B06FE63: 14876 edx = MEM32(ebx + 0x28); /* 0x2B06FE63: mov edx, dword ptr [ebx + 0x28] */ 14877 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14878 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06FE66: or ecx, 0xffffffff */ 14879 _cf = 0; 14880 _flag_k = FK_TEST; 14881 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14882 eax = 0; /* 0x2B06FE69: xor eax, eax */ 14883 _cf = 0; 14884 _flag_k = FK_TEST; 14885 edi = 0x2B0EB8A8u; /* 0x2B06FE6B: mov edi, 0x2b0eb8a8 */ 14886 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; } /* 0x2B06FE70: repne scasb al, byte ptr es:[edi] */ 14887 ecx = ~ecx; /* 0x2B06FE72: not ecx */ 14888 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14889 ecx = ecx - 1; /* 0x2B06FE74: dec ecx */ 14890 _flag_k = FK_DEC; 14891 PUSH32(esp, ecx); /* 0x2B06FE75: push ecx */ 14892 PUSH32(esp, 0x2B0EB8A8u); /* 0x2B06FE76: push 0x2b0eb8a8 */ 14893 ecx = edx; /* 0x2B06FE7B: mov ecx, edx */ 14894 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B06FE7D: call dword ptr [0x2b0b5188] */ 14895 RECOMP_FLAGS_IN(); 14896 edx = MEM32(ebp + (-0x14)); /* 0x2B06FE83: mov edx, dword ptr [ebp - 0x14] */ 14897 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14898 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06FE86: or ecx, 0xffffffff */ 14899 _cf = 0; 14900 _flag_k = FK_TEST; 14901 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14902 eax = 0; /* 0x2B06FE89: xor eax, eax */ 14903 _cf = 0; 14904 _flag_k = FK_TEST; 14905 edi = edx; /* 0x2B06FE8B: mov edi, edx */ 14906 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; } /* 0x2B06FE8D: repne scasb al, byte ptr es:[edi] */ 14907 ecx = ~ecx; /* 0x2B06FE8F: not ecx */ 14908 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14909 ecx = ecx - 1; /* 0x2B06FE91: dec ecx */ 14910 _flag_k = FK_DEC; 14911 PUSH32(esp, ecx); /* 0x2B06FE92: push ecx */ 14912 ecx = MEM32(ebx + 0x28); /* 0x2B06FE93: mov ecx, dword ptr [ebx + 0x28] */ 14913 PUSH32(esp, edx); /* 0x2B06FE96: push edx */ 14914 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B06FE97: call dword ptr [0x2b0b5188] */ 14915 RECOMP_FLAGS_IN(); 14916 edx = MEM32(ebx + 0x28); /* 0x2B06FE9D: mov edx, dword ptr [ebx + 0x28] */ 14917 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14918 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06FEA0: or ecx, 0xffffffff */ 14919 _cf = 0; 14920 _flag_k = FK_TEST; 14921 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14922 eax = 0; /* 0x2B06FEA3: xor eax, eax */ 14923 _cf = 0; 14924 _flag_k = FK_TEST; 14925 edi = 0x2B0EB8A8u; /* 0x2B06FEA5: mov edi, 0x2b0eb8a8 */ 14926 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; } /* 0x2B06FEAA: repne scasb al, byte ptr es:[edi] */ 14927 ecx = ~ecx; /* 0x2B06FEAC: not ecx */ 14928 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14929 ecx = ecx - 1; /* 0x2B06FEAE: dec ecx */ 14930 _flag_k = FK_DEC; 14931 PUSH32(esp, ecx); /* 0x2B06FEAF: push ecx */ 14932 PUSH32(esp, 0x2B0EB8A8u); /* 0x2B06FEB0: push 0x2b0eb8a8 */ 14933 ecx = edx; /* 0x2B06FEB5: mov ecx, edx */ 14934 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B06FEB7: call dword ptr [0x2b0b5188] */ 14935 RECOMP_FLAGS_IN(); 14936 L_2B06FEBD: 14937 eax = MEM32(ebp + 0xC); /* 0x2B06FEBD: mov eax, dword ptr [ebp + 0xc] */ 14938 /* test eax, eax */ /* 0x2B06FEC0: test eax, eax */ 14939 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14940 _cf = 0; 14941 _flag_k = FK_TEST; 14942 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06FF06; /* 0x2B06FEC2: je 0x2b06ff06 */ 14943 L_2B06FEC4: 14944 /* cmp MEM8(eax), 0 */ /* 0x2B06FEC4: cmp byte ptr [eax], 0 */ 14945 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0) << 24; 14946 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14947 _flag_k = FK_NARROW(FK_CMP, 24); 14948 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06FF06; /* 0x2B06FEC7: je 0x2b06ff06 */ 14949 L_2B06FEC9: 14950 edx = MEM32(ebx + 0x28); /* 0x2B06FEC9: mov edx, dword ptr [ebx + 0x28] */ 14951 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14952 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06FECC: or ecx, 0xffffffff */ 14953 _cf = 0; 14954 _flag_k = FK_TEST; 14955 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14956 eax = 0; /* 0x2B06FECF: xor eax, eax */ 14957 _cf = 0; 14958 _flag_k = FK_TEST; 14959 edi = 0x2B0EB8ACu; /* 0x2B06FED1: mov edi, 0x2b0eb8ac */ 14960 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; } /* 0x2B06FED6: repne scasb al, byte ptr es:[edi] */ 14961 ecx = ~ecx; /* 0x2B06FED8: not ecx */ 14962 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14963 ecx = ecx - 1; /* 0x2B06FEDA: dec ecx */ 14964 _flag_k = FK_DEC; 14965 PUSH32(esp, ecx); /* 0x2B06FEDB: push ecx */ 14966 PUSH32(esp, 0x2B0EB8ACu); /* 0x2B06FEDC: push 0x2b0eb8ac */ 14967 ecx = edx; /* 0x2B06FEE1: mov ecx, edx */ 14968 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B06FEE3: call dword ptr [0x2b0b5188] */ 14969 RECOMP_FLAGS_IN(); 14970 edi = MEM32(ebp + 0xC); /* 0x2B06FEE9: mov edi, dword ptr [ebp + 0xc] */ 14971 edx = MEM32(ebx + 0x28); /* 0x2B06FEEC: mov edx, dword ptr [ebx + 0x28] */ 14972 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14973 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06FEEF: or ecx, 0xffffffff */ 14974 _cf = 0; 14975 _flag_k = FK_TEST; 14976 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14977 eax = 0; /* 0x2B06FEF2: xor eax, eax */ 14978 _cf = 0; 14979 _flag_k = FK_TEST; 14980 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; } /* 0x2B06FEF4: repne scasb al, byte ptr es:[edi] */ 14981 eax = MEM32(ebp + 0xC); /* 0x2B06FEF6: mov eax, dword ptr [ebp + 0xc] */ 14982 ecx = ~ecx; /* 0x2B06FEF9: not ecx */ 14983 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14984 ecx = ecx - 1; /* 0x2B06FEFB: dec ecx */ 14985 _flag_k = FK_DEC; 14986 PUSH32(esp, ecx); /* 0x2B06FEFC: push ecx */ 14987 PUSH32(esp, eax); /* 0x2B06FEFD: push eax */ 14988 ecx = edx; /* 0x2B06FEFE: mov ecx, edx */ 14989 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B06FF00: call dword ptr [0x2b0b5188] */ 14990 RECOMP_FLAGS_IN(); 14991 L_2B06FF06: 14992 eax = MEM32(ebp + 0x8); /* 0x2B06FF06: mov eax, dword ptr [ebp + 8] */ 14993 ecx = MEM32(ebx + 0x4); /* 0x2B06FF09: mov ecx, dword ptr [ebx + 4] */ 14994 /* cmp ecx, MEM32(eax + 0x4) */ /* 0x2B06FF0C: cmp ecx, dword ptr [eax + 4] */ 14995 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax + 0x4)); 14996 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14997 _flag_k = FK_CMP; 14998 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06FF8A; /* 0x2B06FF0F: jne 0x2b06ff8a */ 14999 L_2B06FF11: 15000 edx = MEM32(ebx); /* 0x2B06FF11: mov edx, dword ptr [ebx] */ 15001 /* cmp edx, MEM32(eax) */ /* 0x2B06FF13: cmp edx, dword ptr [eax] */ 15002 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax)); 15003 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15004 _flag_k = FK_CMP; 15005 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06FF8A; /* 0x2B06FF15: jne 0x2b06ff8a */ 15006 L_2B06FF17: 15007 eax = ebp + (-0x78); /* 0x2B06FF17: lea eax, [ebp - 0x78] */ 15008 PUSH32(esp, eax); /* 0x2B06FF1A: push eax */ 15009 RECOMP_ICALL(MEM32(0x2B0B525C)); /* 0x2B06FF1B: call dword ptr [0x2b0b525c] */ 15010 RECOMP_FLAGS_IN(); 15011 ecx = ebp + (-0x78); /* 0x2B06FF21: lea ecx, [ebp - 0x78] */ 15012 PUSH32(esp, ecx); /* 0x2B06FF24: push ecx */ 15013 PUSH32(esp, 0x2B0E2C48u); /* 0x2B06FF25: push 0x2b0e2c48 */ 15014 PUSH32(esp, 0x2B0EEE84u); /* 0x2B06FF2A: push 0x2b0eee84 */ 15015 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B06FF2F: call dword ptr [0x2b0b51f0] */ 15016 RECOMP_FLAGS_IN(); 15017 ecx = MEM32(ebx + 0x28); /* 0x2B06FF35: mov ecx, dword ptr [ebx + 0x28] */ 15018 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 15019 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15020 esp = esp + 0x10u; /* 0x2B06FF38: add esp, 0x10 */ 15021 _flag_k = FK_ADD; 15022 PUSH32(esp, 0x13u); /* 0x2B06FF3B: push 0x13 */ 15023 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06FF3D: push -1 */ 15024 RECOMP_ICALL(esi); /* 0x2B06FF3F: call esi */ 15025 RECOMP_FLAGS_IN(); 15026 edx = MEM32(ebx + 0x28); /* 0x2B06FF41: mov edx, dword ptr [ebx + 0x28] */ 15027 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15028 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06FF44: or ecx, 0xffffffff */ 15029 _cf = 0; 15030 _flag_k = FK_TEST; 15031 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15032 eax = 0; /* 0x2B06FF47: xor eax, eax */ 15033 _cf = 0; 15034 _flag_k = FK_TEST; 15035 edi = 0x2B0EB89Cu; /* 0x2B06FF49: mov edi, 0x2b0eb89c */ 15036 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; } /* 0x2B06FF4E: repne scasb al, byte ptr es:[edi] */ 15037 ecx = ~ecx; /* 0x2B06FF50: not ecx */ 15038 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15039 ecx = ecx - 1; /* 0x2B06FF52: dec ecx */ 15040 _flag_k = FK_DEC; 15041 PUSH32(esp, ecx); /* 0x2B06FF53: push ecx */ 15042 PUSH32(esp, 0x2B0EB89Cu); /* 0x2B06FF54: push 0x2b0eb89c */ 15043 ecx = edx; /* 0x2B06FF59: mov ecx, edx */ 15044 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B06FF5B: call dword ptr [0x2b0b5188] */ 15045 RECOMP_FLAGS_IN(); 15046 ecx = MEM32(ebx + 0x28); /* 0x2B06FF61: mov ecx, dword ptr [ebx + 0x28] */ 15047 PUSH32(esp, 0x14u); /* 0x2B06FF64: push 0x14 */ 15048 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06FF66: push -1 */ 15049 RECOMP_ICALL(esi); /* 0x2B06FF68: call esi */ 15050 RECOMP_FLAGS_IN(); 15051 edx = MEM32(ebx + 0x28); /* 0x2B06FF6A: mov edx, dword ptr [ebx + 0x28] */ 15052 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15053 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06FF6D: or ecx, 0xffffffff */ 15054 _cf = 0; 15055 _flag_k = FK_TEST; 15056 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15057 eax = 0; /* 0x2B06FF70: xor eax, eax */ 15058 _cf = 0; 15059 _flag_k = FK_TEST; 15060 edi = 0x2B0EEE84u; /* 0x2B06FF72: mov edi, 0x2b0eee84 */ 15061 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; } /* 0x2B06FF77: repne scasb al, byte ptr es:[edi] */ 15062 ecx = ~ecx; /* 0x2B06FF79: not ecx */ 15063 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15064 ecx = ecx - 1; /* 0x2B06FF7B: dec ecx */ 15065 _flag_k = FK_DEC; 15066 PUSH32(esp, ecx); /* 0x2B06FF7C: push ecx */ 15067 PUSH32(esp, 0x2B0EEE84u); /* 0x2B06FF7D: push 0x2b0eee84 */ 15068 ecx = edx; /* 0x2B06FF82: mov ecx, edx */ 15069 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B06FF84: call dword ptr [0x2b0b5188] */ 15070 RECOMP_FLAGS_IN(); 15071 L_2B06FF8A: 15072 ecx = MEM32(ebx + 0x28); /* 0x2B06FF8A: mov ecx, dword ptr [ebx + 0x28] */ 15073 PUSH32(esp, 0x13u); /* 0x2B06FF8D: push 0x13 */ 15074 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06FF8F: push -1 */ 15075 RECOMP_ICALL(esi); /* 0x2B06FF91: call esi */ 15076 RECOMP_FLAGS_IN(); 15077 edx = MEM32(ebx + 0x28); /* 0x2B06FF93: mov edx, dword ptr [ebx + 0x28] */ 15078 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15079 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06FF96: or ecx, 0xffffffff */ 15080 _cf = 0; 15081 _flag_k = FK_TEST; 15082 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15083 eax = 0; /* 0x2B06FF99: xor eax, eax */ 15084 _cf = 0; 15085 _flag_k = FK_TEST; 15086 edi = 0x2B0EB890u; /* 0x2B06FF9B: mov edi, 0x2b0eb890 */ 15087 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; } /* 0x2B06FFA0: repne scasb al, byte ptr es:[edi] */ 15088 ecx = ~ecx; /* 0x2B06FFA2: not ecx */ 15089 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15090 ecx = ecx - 1; /* 0x2B06FFA4: dec ecx */ 15091 _flag_k = FK_DEC; 15092 PUSH32(esp, ecx); /* 0x2B06FFA5: push ecx */ 15093 PUSH32(esp, 0x2B0EB890u); /* 0x2B06FFA6: push 0x2b0eb890 */ 15094 ecx = edx; /* 0x2B06FFAB: mov ecx, edx */ 15095 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B06FFAD: call dword ptr [0x2b0b5188] */ 15096 RECOMP_FLAGS_IN(); 15097 ecx = MEM32(ebx + 0x28); /* 0x2B06FFB3: mov ecx, dword ptr [ebx + 0x28] */ 15098 PUSH32(esp, 0x14u); /* 0x2B06FFB6: push 0x14 */ 15099 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06FFB8: push -1 */ 15100 RECOMP_ICALL(esi); /* 0x2B06FFBA: call esi */ 15101 RECOMP_FLAGS_IN(); 15102 edx = MEM32(ebp + 0x8); /* 0x2B06FFBC: mov edx, dword ptr [ebp + 8] */ 15103 PUSH32(esp, edx); /* 0x2B06FFBF: push edx */ 15104 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06FFC0: call dword ptr [0x2b0b5d6c] */ 15105 RECOMP_FLAGS_IN(); 15106 ecx = eax; /* 0x2B06FFC6: mov ecx, eax */ 15107 RECOMP_ICALL(MEM32(0x2B0B5D18)); /* 0x2B06FFC8: call dword ptr [0x2b0b5d18] */ 15108 RECOMP_FLAGS_IN(); 15109 edx = eax; /* 0x2B06FFCE: mov edx, eax */ 15110 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15111 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06FFD0: or ecx, 0xffffffff */ 15112 _cf = 0; 15113 _flag_k = FK_TEST; 15114 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15115 eax = 0; /* 0x2B06FFD3: xor eax, eax */ 15116 _cf = 0; 15117 _flag_k = FK_TEST; 15118 edi = edx; /* 0x2B06FFD5: mov edi, edx */ 15119 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; } /* 0x2B06FFD7: repne scasb al, byte ptr es:[edi] */ 15120 ecx = ~ecx; /* 0x2B06FFD9: not ecx */ 15121 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15122 ecx = ecx - 1; /* 0x2B06FFDB: dec ecx */ 15123 _flag_k = FK_DEC; 15124 PUSH32(esp, ecx); /* 0x2B06FFDC: push ecx */ 15125 ecx = MEM32(ebx + 0x28); /* 0x2B06FFDD: mov ecx, dword ptr [ebx + 0x28] */ 15126 PUSH32(esp, edx); /* 0x2B06FFE0: push edx */ 15127 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B06FFE1: call dword ptr [0x2b0b5188] */ 15128 RECOMP_FLAGS_IN(); 15129 ecx = MEM32(ebx + 0x28); /* 0x2B06FFE7: mov ecx, dword ptr [ebx + 0x28] */ 15130 PUSH32(esp, 0x13u); /* 0x2B06FFEA: push 0x13 */ 15131 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B06FFEC: push -1 */ 15132 RECOMP_ICALL(esi); /* 0x2B06FFEE: call esi */ 15133 RECOMP_FLAGS_IN(); 15134 edx = MEM32(ebx + 0x28); /* 0x2B06FFF0: mov edx, dword ptr [ebx + 0x28] */ 15135 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15136 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06FFF3: or ecx, 0xffffffff */ 15137 _cf = 0; 15138 _flag_k = FK_TEST; 15139 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15140 eax = 0; /* 0x2B06FFF6: xor eax, eax */ 15141 _cf = 0; 15142 _flag_k = FK_TEST; 15143 edi = 0x2B0EB884u; /* 0x2B06FFF8: mov edi, 0x2b0eb884 */ 15144 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; } /* 0x2B06FFFD: repne scasb al, byte ptr es:[edi] */ 15145 ecx = ~ecx; /* 0x2B06FFFF: not ecx */ 15146 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15147 ecx = ecx - 1; /* 0x2B070001: dec ecx */ 15148 _flag_k = FK_DEC; 15149 PUSH32(esp, ecx); /* 0x2B070002: push ecx */ 15150 PUSH32(esp, 0x2B0EB884u); /* 0x2B070003: push 0x2b0eb884 */ 15151 ecx = edx; /* 0x2B070008: mov ecx, edx */ 15152 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B07000A: call dword ptr [0x2b0b5188] */ 15153 RECOMP_FLAGS_IN(); 15154 ecx = MEM32(ebx + 0x28); /* 0x2B070010: mov ecx, dword ptr [ebx + 0x28] */ 15155 PUSH32(esp, 0x14u); /* 0x2B070013: push 0x14 */ 15156 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070015: push -1 */ 15157 RECOMP_ICALL(esi); /* 0x2B070017: call esi */ 15158 RECOMP_FLAGS_IN(); 15159 eax = MEM32(ebp + 0x8); /* 0x2B070019: mov eax, dword ptr [ebp + 8] */ 15160 PUSH32(esp, eax); /* 0x2B07001C: push eax */ 15161 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B07001D: call dword ptr [0x2b0b5d6c] */ 15162 RECOMP_FLAGS_IN(); 15163 ecx = eax; /* 0x2B070023: mov ecx, eax */ 15164 RECOMP_ICALL(MEM32(0x2B0B5CD0)); /* 0x2B070025: call dword ptr [0x2b0b5cd0] */ 15165 RECOMP_FLAGS_IN(); 15166 edx = eax; /* 0x2B07002B: mov edx, eax */ 15167 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15168 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07002D: or ecx, 0xffffffff */ 15169 _cf = 0; 15170 _flag_k = FK_TEST; 15171 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15172 eax = 0; /* 0x2B070030: xor eax, eax */ 15173 _cf = 0; 15174 _flag_k = FK_TEST; 15175 edi = edx; /* 0x2B070032: mov edi, edx */ 15176 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; } /* 0x2B070034: repne scasb al, byte ptr es:[edi] */ 15177 ecx = ~ecx; /* 0x2B070036: not ecx */ 15178 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15179 ecx = ecx - 1; /* 0x2B070038: dec ecx */ 15180 _flag_k = FK_DEC; 15181 PUSH32(esp, ecx); /* 0x2B070039: push ecx */ 15182 ecx = MEM32(ebx + 0x28); /* 0x2B07003A: mov ecx, dword ptr [ebx + 0x28] */ 15183 PUSH32(esp, edx); /* 0x2B07003D: push edx */ 15184 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B07003E: call dword ptr [0x2b0b5188] */ 15185 RECOMP_FLAGS_IN(); 15186 edi = MEM32(ebp + 0x8); /* 0x2B070044: mov edi, dword ptr [ebp + 8] */ 15187 PUSH32(esp, 0x170u); /* 0x2B070047: push 0x170 */ 15188 PUSH32(esp, edi); /* 0x2B07004C: push edi */ 15189 ecx = ebx; /* 0x2B07004D: mov ecx, ebx */ 15190 RECOMP_ICALL(0x2B0735D0u); /* 0x2B07004F: call 0x2b0735d0 */ /* not lifted */ 15191 RECOMP_FLAGS_IN(); 15192 PUSH32(esp, 0x25u); /* 0x2B070054: push 0x25 */ 15193 PUSH32(esp, edi); /* 0x2B070056: push edi */ 15194 ecx = ebx; /* 0x2B070057: mov ecx, ebx */ 15195 MEM32(ebp + 0xC) = eax; /* 0x2B070059: mov dword ptr [ebp + 0xc], eax */ 15196 RECOMP_ICALL(0x2B0735D0u); /* 0x2B07005C: call 0x2b0735d0 */ /* not lifted */ 15197 RECOMP_FLAGS_IN(); 15198 MEM32(ebp + (-0x14)) = eax; /* 0x2B070061: mov dword ptr [ebp - 0x14], eax */ 15199 ecx = MEM32(ebx + 0x28); /* 0x2B070064: mov ecx, dword ptr [ebx + 0x28] */ 15200 PUSH32(esp, 0x13u); /* 0x2B070067: push 0x13 */ 15201 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070069: push -1 */ 15202 RECOMP_ICALL(esi); /* 0x2B07006B: call esi */ 15203 RECOMP_FLAGS_IN(); 15204 edx = MEM32(ebx + 0x28); /* 0x2B07006D: mov edx, dword ptr [ebx + 0x28] */ 15205 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15206 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070070: or ecx, 0xffffffff */ 15207 _cf = 0; 15208 _flag_k = FK_TEST; 15209 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15210 eax = 0; /* 0x2B070073: xor eax, eax */ 15211 _cf = 0; 15212 _flag_k = FK_TEST; 15213 edi = 0x2B0EB870u; /* 0x2B070075: mov edi, 0x2b0eb870 */ 15214 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; } /* 0x2B07007A: repne scasb al, byte ptr es:[edi] */ 15215 ecx = ~ecx; /* 0x2B07007C: not ecx */ 15216 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15217 ecx = ecx - 1; /* 0x2B07007E: dec ecx */ 15218 _flag_k = FK_DEC; 15219 PUSH32(esp, ecx); /* 0x2B07007F: push ecx */ 15220 PUSH32(esp, 0x2B0EB870u); /* 0x2B070080: push 0x2b0eb870 */ 15221 ecx = edx; /* 0x2B070085: mov ecx, edx */ 15222 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B070087: call dword ptr [0x2b0b5188] */ 15223 RECOMP_FLAGS_IN(); 15224 ecx = MEM32(ebx + 0x28); /* 0x2B07008D: mov ecx, dword ptr [ebx + 0x28] */ 15225 PUSH32(esp, 0x14u); /* 0x2B070090: push 0x14 */ 15226 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070092: push -1 */ 15227 RECOMP_ICALL(esi); /* 0x2B070094: call esi */ 15228 RECOMP_FLAGS_IN(); 15229 ecx = MEM32(ebp + (-0x14)); /* 0x2B070096: mov ecx, dword ptr [ebp - 0x14] */ 15230 edx = MEM32(ebp + 0xC); /* 0x2B070099: mov edx, dword ptr [ebp + 0xc] */ 15231 PUSH32(esp, ecx); /* 0x2B07009C: push ecx */ 15232 PUSH32(esp, edx); /* 0x2B07009D: push edx */ 15233 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B07009E: call dword ptr [0x2b0b5d6c] */ 15234 RECOMP_FLAGS_IN(); 15235 ecx = eax; /* 0x2B0700A4: mov ecx, eax */ 15236 RECOMP_ICALL(MEM32(0x2B0B5DC0)); /* 0x2B0700A6: call dword ptr [0x2b0b5dc0] */ 15237 RECOMP_FLAGS_IN(); 15238 edx = eax; /* 0x2B0700AC: mov edx, eax */ 15239 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15240 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0700AE: or ecx, 0xffffffff */ 15241 _cf = 0; 15242 _flag_k = FK_TEST; 15243 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15244 eax = 0; /* 0x2B0700B1: xor eax, eax */ 15245 _cf = 0; 15246 _flag_k = FK_TEST; 15247 edi = edx; /* 0x2B0700B3: mov edi, edx */ 15248 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; } /* 0x2B0700B5: repne scasb al, byte ptr es:[edi] */ 15249 ecx = ~ecx; /* 0x2B0700B7: not ecx */ 15250 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15251 ecx = ecx - 1; /* 0x2B0700B9: dec ecx */ 15252 _flag_k = FK_DEC; 15253 PUSH32(esp, ecx); /* 0x2B0700BA: push ecx */ 15254 ecx = MEM32(ebx + 0x28); /* 0x2B0700BB: mov ecx, dword ptr [ebx + 0x28] */ 15255 PUSH32(esp, edx); /* 0x2B0700BE: push edx */ 15256 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B0700BF: call dword ptr [0x2b0b5188] */ 15257 RECOMP_FLAGS_IN(); 15258 ecx = MEM32(ebx + 0x28); /* 0x2B0700C5: mov ecx, dword ptr [ebx + 0x28] */ 15259 PUSH32(esp, 0x13u); /* 0x2B0700C8: push 0x13 */ 15260 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0700CA: push -1 */ 15261 RECOMP_ICALL(esi); /* 0x2B0700CC: call esi */ 15262 RECOMP_FLAGS_IN(); 15263 edx = MEM32(ebx + 0x28); /* 0x2B0700CE: mov edx, dword ptr [ebx + 0x28] */ 15264 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15265 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0700D1: or ecx, 0xffffffff */ 15266 _cf = 0; 15267 _flag_k = FK_TEST; 15268 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15269 eax = 0; /* 0x2B0700D4: xor eax, eax */ 15270 _cf = 0; 15271 _flag_k = FK_TEST; 15272 edi = 0x2B0EB860u; /* 0x2B0700D6: mov edi, 0x2b0eb860 */ 15273 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; } /* 0x2B0700DB: repne scasb al, byte ptr es:[edi] */ 15274 eax = MEM32(0x2B0B515C); /* 0x2B0700DD: mov eax, dword ptr [0x2b0b515c] */ 15275 ecx = ~ecx; /* 0x2B0700E2: not ecx */ 15276 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15277 ecx = ecx - 1; /* 0x2B0700E4: dec ecx */ 15278 _flag_k = FK_DEC; 15279 edi = ecx; /* 0x2B0700E5: mov edi, ecx */ 15280 ecx = MEM32(eax); /* 0x2B0700E7: mov ecx, dword ptr [eax] */ 15281 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 15282 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15283 ecx = ecx - MEM32(edx + 0x8); /* 0x2B0700E9: sub ecx, dword ptr [edx + 8] */ 15284 _flag_k = FK_CMP; 15285 /* cmp ecx, edi */ /* 0x2B0700EC: cmp ecx, edi */ 15286 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 15287 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15288 _flag_k = FK_CMP; 15289 MEM32(ebp + (-0x14)) = edx; /* 0x2B0700EE: mov dword ptr [ebp - 0x14], edx */ 15290 if (CMP_A(_flag_a, _flag_b)) goto L_2B0700F9; /* 0x2B0700F1: ja 0x2b0700f9 */ 15291 L_2B0700F3: 15292 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0700F3: call dword ptr [0x2b0b51a8] */ 15293 RECOMP_FLAGS_IN(); 15294 L_2B0700F9: 15295 /* test edi, edi */ /* 0x2B0700F9: test edi, edi */ 15296 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 15297 _cf = 0; 15298 _flag_k = FK_TEST; 15299 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07014B; /* 0x2B0700FB: jbe 0x2b07014b */ 15300 L_2B0700FD: 15301 ecx = MEM32(ebp + (-0x14)); /* 0x2B0700FD: mov ecx, dword ptr [ebp - 0x14] */ 15302 edx = MEM32(ecx + 0x8); /* 0x2B070100: mov edx, dword ptr [ecx + 8] */ 15303 eax = edi; /* 0x2B070103: mov eax, edi */ 15304 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 15305 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15306 eax = eax + edx; /* 0x2B070105: add eax, edx */ 15307 _flag_k = FK_ADD; 15308 PUSH32(esp, 0); /* 0x2B070107: push 0 */ 15309 PUSH32(esp, eax); /* 0x2B070109: push eax */ 15310 MEM32(ebp + (-0x10)) = eax; /* 0x2B07010A: mov dword ptr [ebp - 0x10], eax */ 15311 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07010D: call dword ptr [0x2b0b5154] */ 15312 RECOMP_FLAGS_IN(); 15313 /* test LO8(eax), LO8(eax) */ /* 0x2B070113: test al, al */ 15314 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15315 _cf = 0; 15316 _flag_k = FK_NARROW(FK_TEST, 24); 15317 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07014B; /* 0x2B070115: je 0x2b07014b */ 15318 L_2B070117: 15319 eax = MEM32(ebp + (-0x14)); /* 0x2B070117: mov eax, dword ptr [ebp - 0x14] */ 15320 esi = MEM32(eax + 0x8); /* 0x2B07011A: mov esi, dword ptr [eax + 8] */ 15321 edx = MEM32(eax + 0x4); /* 0x2B07011D: mov edx, dword ptr [eax + 4] */ 15322 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 15323 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15324 edx = edx + esi; /* 0x2B070120: add edx, esi */ 15325 _flag_k = FK_ADD; 15326 ecx = edi; /* 0x2B070122: mov ecx, edi */ 15327 edi = edx; /* 0x2B070124: mov edi, edx */ 15328 edx = ecx; /* 0x2B070126: mov edx, ecx */ 15329 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070128: shr ecx, 2 */ 15330 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 15331 ecx = ecx >> 2u; /* 0x2B070128: shr ecx, 2 */ 15332 esi = 0x2B0EB860u; /* 0x2B07012B: mov esi, 0x2b0eb860 */ 15333 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070130: 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; } 15334 ecx = edx; /* 0x2B070132: mov ecx, edx */ 15335 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 15336 ecx = ecx & 3; /* 0x2B070134: and ecx, 3 */ 15337 _cf = 0; 15338 _flag_k = FK_TEST; 15339 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070137: 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; } 15340 ecx = MEM32(ebp + (-0x10)); /* 0x2B070139: mov ecx, dword ptr [ebp - 0x10] */ 15341 PUSH32(esp, ecx); /* 0x2B07013C: push ecx */ 15342 ecx = eax; /* 0x2B07013D: mov ecx, eax */ 15343 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07013F: call dword ptr [0x2b0b5150] */ 15344 RECOMP_FLAGS_IN(); 15345 esi = MEM32(0x2B0B5A74); /* 0x2B070145: mov esi, dword ptr [0x2b0b5a74] */ 15346 L_2B07014B: 15347 ecx = MEM32(ebx + 0x28); /* 0x2B07014B: mov ecx, dword ptr [ebx + 0x28] */ 15348 PUSH32(esp, 0x14u); /* 0x2B07014E: push 0x14 */ 15349 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070150: push -1 */ 15350 RECOMP_ICALL(esi); /* 0x2B070152: call esi */ 15351 RECOMP_FLAGS_IN(); 15352 eax = MEM32(ebp + 0xC); /* 0x2B070154: mov eax, dword ptr [ebp + 0xc] */ 15353 /* cmp eax, 0xFFu */ /* 0x2B070157: cmp eax, 0xff */ 15354 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFu); 15355 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15356 _flag_k = FK_CMP; 15357 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0701F3; /* 0x2B07015C: je 0x2b0701f3 */ 15358 L_2B070162: 15359 /* test eax, eax */ /* 0x2B070162: test eax, eax */ 15360 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15361 _cf = 0; 15362 _flag_k = FK_TEST; 15363 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0701F3; /* 0x2B070164: je 0x2b0701f3 */ 15364 L_2B07016A: 15365 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B07016A: call dword ptr [0x2b0b5d6c] */ 15366 RECOMP_FLAGS_IN(); 15367 edx = MEM32(ebp + 0xC); /* 0x2B070170: mov edx, dword ptr [ebp + 0xc] */ 15368 PUSH32(esp, edx); /* 0x2B070173: push edx */ 15369 RECOMP_ICALL(MEM32(0x2B0B5F10)); /* 0x2B070174: call dword ptr [0x2b0b5f10] */ 15370 RECOMP_FLAGS_IN(); 15371 edx = MEM32(ebx + 0x28); /* 0x2B07017A: mov edx, dword ptr [ebx + 0x28] */ 15372 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15373 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07017D: or ecx, 0xffffffff */ 15374 _cf = 0; 15375 _flag_k = FK_TEST; 15376 edi = eax; /* 0x2B070180: mov edi, eax */ 15377 MEM32(ebp + (-0x14)) = eax; /* 0x2B070182: mov dword ptr [ebp - 0x14], eax */ 15378 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15379 eax = 0; /* 0x2B070185: xor eax, eax */ 15380 _cf = 0; 15381 _flag_k = FK_TEST; 15382 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15383 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15384 esp = esp + 4; /* 0x2B070187: add esp, 4 */ 15385 _flag_k = FK_ADD; 15386 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; } /* 0x2B07018A: repne scasb al, byte ptr es:[edi] */ 15387 eax = MEM32(0x2B0B515C); /* 0x2B07018C: mov eax, dword ptr [0x2b0b515c] */ 15388 ecx = ~ecx; /* 0x2B070191: not ecx */ 15389 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15390 ecx = ecx - 1; /* 0x2B070193: dec ecx */ 15391 _flag_k = FK_DEC; 15392 edi = ecx; /* 0x2B070194: mov edi, ecx */ 15393 ecx = MEM32(eax); /* 0x2B070196: mov ecx, dword ptr [eax] */ 15394 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 15395 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15396 ecx = ecx - MEM32(edx + 0x8); /* 0x2B070198: sub ecx, dword ptr [edx + 8] */ 15397 _flag_k = FK_CMP; 15398 /* cmp ecx, edi */ /* 0x2B07019B: cmp ecx, edi */ 15399 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 15400 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15401 _flag_k = FK_CMP; 15402 MEM32(ebp + 0xC) = edx; /* 0x2B07019D: mov dword ptr [ebp + 0xc], edx */ 15403 if (CMP_A(_flag_a, _flag_b)) goto L_2B0701A8; /* 0x2B0701A0: ja 0x2b0701a8 */ 15404 L_2B0701A2: 15405 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0701A2: call dword ptr [0x2b0b51a8] */ 15406 RECOMP_FLAGS_IN(); 15407 L_2B0701A8: 15408 /* test edi, edi */ /* 0x2B0701A8: test edi, edi */ 15409 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 15410 _cf = 0; 15411 _flag_k = FK_TEST; 15412 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070270; /* 0x2B0701AA: jbe 0x2b070270 */ 15413 L_2B0701B0: 15414 ecx = MEM32(ebp + 0xC); /* 0x2B0701B0: mov ecx, dword ptr [ebp + 0xc] */ 15415 edx = MEM32(ecx + 0x8); /* 0x2B0701B3: mov edx, dword ptr [ecx + 8] */ 15416 eax = edi; /* 0x2B0701B6: mov eax, edi */ 15417 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 15418 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15419 eax = eax + edx; /* 0x2B0701B8: add eax, edx */ 15420 _flag_k = FK_ADD; 15421 PUSH32(esp, 0); /* 0x2B0701BA: push 0 */ 15422 PUSH32(esp, eax); /* 0x2B0701BC: push eax */ 15423 MEM32(ebp + (-0x10)) = eax; /* 0x2B0701BD: mov dword ptr [ebp - 0x10], eax */ 15424 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0701C0: call dword ptr [0x2b0b5154] */ 15425 RECOMP_FLAGS_IN(); 15426 /* test LO8(eax), LO8(eax) */ /* 0x2B0701C6: test al, al */ 15427 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15428 _cf = 0; 15429 _flag_k = FK_NARROW(FK_TEST, 24); 15430 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070270; /* 0x2B0701C8: je 0x2b070270 */ 15431 L_2B0701CE: 15432 eax = MEM32(ebp + 0xC); /* 0x2B0701CE: mov eax, dword ptr [ebp + 0xc] */ 15433 esi = MEM32(eax + 0x8); /* 0x2B0701D1: mov esi, dword ptr [eax + 8] */ 15434 edx = MEM32(eax + 0x4); /* 0x2B0701D4: mov edx, dword ptr [eax + 4] */ 15435 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 15436 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15437 edx = edx + esi; /* 0x2B0701D7: add edx, esi */ 15438 _flag_k = FK_ADD; 15439 esi = MEM32(ebp + (-0x14)); /* 0x2B0701D9: mov esi, dword ptr [ebp - 0x14] */ 15440 ecx = edi; /* 0x2B0701DC: mov ecx, edi */ 15441 edi = edx; /* 0x2B0701DE: mov edi, edx */ 15442 edx = ecx; /* 0x2B0701E0: mov edx, ecx */ 15443 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0701E2: shr ecx, 2 */ 15444 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 15445 ecx = ecx >> 2u; /* 0x2B0701E2: shr ecx, 2 */ 15446 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0701E5: 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; } 15447 ecx = edx; /* 0x2B0701E7: mov ecx, edx */ 15448 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 15449 ecx = ecx & 3; /* 0x2B0701E9: and ecx, 3 */ 15450 _cf = 0; 15451 _flag_k = FK_TEST; 15452 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0701EC: 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; } 15453 ecx = MEM32(ebp + (-0x10)); /* 0x2B0701EE: mov ecx, dword ptr [ebp - 0x10] */ 15454 goto L_2B070261; /* 0x2B0701F1: jmp 0x2b070261 */ 15455 L_2B0701F3: 15456 edx = MEM32(ebx + 0x28); /* 0x2B0701F3: mov edx, dword ptr [ebx + 0x28] */ 15457 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15458 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0701F6: or ecx, 0xffffffff */ 15459 _cf = 0; 15460 _flag_k = FK_TEST; 15461 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15462 eax = 0; /* 0x2B0701F9: xor eax, eax */ 15463 _cf = 0; 15464 _flag_k = FK_TEST; 15465 edi = 0x2B0EB850u; /* 0x2B0701FB: mov edi, 0x2b0eb850 */ 15466 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; } /* 0x2B070200: repne scasb al, byte ptr es:[edi] */ 15467 eax = MEM32(0x2B0B515C); /* 0x2B070202: mov eax, dword ptr [0x2b0b515c] */ 15468 ecx = ~ecx; /* 0x2B070207: not ecx */ 15469 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15470 ecx = ecx - 1; /* 0x2B070209: dec ecx */ 15471 _flag_k = FK_DEC; 15472 edi = ecx; /* 0x2B07020A: mov edi, ecx */ 15473 ecx = MEM32(eax); /* 0x2B07020C: mov ecx, dword ptr [eax] */ 15474 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 15475 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15476 ecx = ecx - MEM32(edx + 0x8); /* 0x2B07020E: sub ecx, dword ptr [edx + 8] */ 15477 _flag_k = FK_CMP; 15478 /* cmp ecx, edi */ /* 0x2B070211: cmp ecx, edi */ 15479 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 15480 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15481 _flag_k = FK_CMP; 15482 MEM32(ebp + 0xC) = edx; /* 0x2B070213: mov dword ptr [ebp + 0xc], edx */ 15483 if (CMP_A(_flag_a, _flag_b)) goto L_2B07021E; /* 0x2B070216: ja 0x2b07021e */ 15484 L_2B070218: 15485 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070218: call dword ptr [0x2b0b51a8] */ 15486 RECOMP_FLAGS_IN(); 15487 L_2B07021E: 15488 /* test edi, edi */ /* 0x2B07021E: test edi, edi */ 15489 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 15490 _cf = 0; 15491 _flag_k = FK_TEST; 15492 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070270; /* 0x2B070220: jbe 0x2b070270 */ 15493 L_2B070222: 15494 ecx = MEM32(ebp + 0xC); /* 0x2B070222: mov ecx, dword ptr [ebp + 0xc] */ 15495 edx = MEM32(ecx + 0x8); /* 0x2B070225: mov edx, dword ptr [ecx + 8] */ 15496 eax = edi; /* 0x2B070228: mov eax, edi */ 15497 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 15498 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15499 eax = eax + edx; /* 0x2B07022A: add eax, edx */ 15500 _flag_k = FK_ADD; 15501 PUSH32(esp, 0); /* 0x2B07022C: push 0 */ 15502 PUSH32(esp, eax); /* 0x2B07022E: push eax */ 15503 MEM32(ebp + (-0x14)) = eax; /* 0x2B07022F: mov dword ptr [ebp - 0x14], eax */ 15504 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070232: call dword ptr [0x2b0b5154] */ 15505 RECOMP_FLAGS_IN(); 15506 /* test LO8(eax), LO8(eax) */ /* 0x2B070238: test al, al */ 15507 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15508 _cf = 0; 15509 _flag_k = FK_NARROW(FK_TEST, 24); 15510 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070270; /* 0x2B07023A: je 0x2b070270 */ 15511 L_2B07023C: 15512 eax = MEM32(ebp + 0xC); /* 0x2B07023C: mov eax, dword ptr [ebp + 0xc] */ 15513 esi = MEM32(eax + 0x8); /* 0x2B07023F: mov esi, dword ptr [eax + 8] */ 15514 edx = MEM32(eax + 0x4); /* 0x2B070242: mov edx, dword ptr [eax + 4] */ 15515 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 15516 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15517 edx = edx + esi; /* 0x2B070245: add edx, esi */ 15518 _flag_k = FK_ADD; 15519 ecx = edi; /* 0x2B070247: mov ecx, edi */ 15520 edi = edx; /* 0x2B070249: mov edi, edx */ 15521 edx = ecx; /* 0x2B07024B: mov edx, ecx */ 15522 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07024D: shr ecx, 2 */ 15523 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 15524 ecx = ecx >> 2u; /* 0x2B07024D: shr ecx, 2 */ 15525 esi = 0x2B0EB850u; /* 0x2B070250: mov esi, 0x2b0eb850 */ 15526 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070255: 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; } 15527 ecx = edx; /* 0x2B070257: mov ecx, edx */ 15528 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 15529 ecx = ecx & 3; /* 0x2B070259: and ecx, 3 */ 15530 _cf = 0; 15531 _flag_k = FK_TEST; 15532 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07025C: 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; } 15533 ecx = MEM32(ebp + (-0x14)); /* 0x2B07025E: mov ecx, dword ptr [ebp - 0x14] */ 15534 L_2B070261: 15535 PUSH32(esp, ecx); /* 0x2B070261: push ecx */ 15536 ecx = eax; /* 0x2B070262: mov ecx, eax */ 15537 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B070264: call dword ptr [0x2b0b5150] */ 15538 RECOMP_FLAGS_IN(); 15539 esi = MEM32(0x2B0B5A74); /* 0x2B07026A: mov esi, dword ptr [0x2b0b5a74] */ 15540 L_2B070270: 15541 edx = MEM32(ebp + 0x8); /* 0x2B070270: mov edx, dword ptr [ebp + 8] */ 15542 PUSH32(esp, 0x36u); /* 0x2B070273: push 0x36 */ 15543 PUSH32(esp, edx); /* 0x2B070275: push edx */ 15544 ecx = ebx; /* 0x2B070276: mov ecx, ebx */ 15545 RECOMP_ICALL(0x2B0735D0u); /* 0x2B070278: call 0x2b0735d0 */ /* not lifted */ 15546 RECOMP_FLAGS_IN(); 15547 /* cmp eax, 0x499602D2u */ /* 0x2B07027D: cmp eax, 0x499602d2 */ 15548 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 15549 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15550 _flag_k = FK_CMP; 15551 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0702AD; /* 0x2B070282: je 0x2b0702ad */ 15552 L_2B070284: 15553 PUSH32(esp, eax); /* 0x2B070284: push eax */ 15554 PUSH32(esp, 0x2B0E7354u); /* 0x2B070285: push 0x2b0e7354 */ 15555 PUSH32(esp, 0x2B0EEE84u); /* 0x2B07028A: push 0x2b0eee84 */ 15556 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B07028F: call dword ptr [0x2b0b51f0] */ 15557 RECOMP_FLAGS_IN(); 15558 eax = MEM32(ebx + 0x28); /* 0x2B070295: mov eax, dword ptr [ebx + 0x28] */ 15559 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 15560 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15561 esp = esp + 0xCu; /* 0x2B070298: add esp, 0xc */ 15562 _flag_k = FK_ADD; 15563 PUSH32(esp, eax); /* 0x2B07029B: push eax */ 15564 PUSH32(esp, 0x2B0EEE84u); /* 0x2B07029C: push 0x2b0eee84 */ 15565 PUSH32(esp, 0x2B0EB844u); /* 0x2B0702A1: push 0x2b0eb844 */ 15566 ecx = ebx; /* 0x2B0702A6: mov ecx, ebx */ 15567 RECOMP_ICALL(0x2B073610u); /* 0x2B0702A8: call 0x2b073610 */ /* not lifted */ 15568 RECOMP_FLAGS_IN(); 15569 L_2B0702AD: 15570 ecx = MEM32(ebp + 0x8); /* 0x2B0702AD: mov ecx, dword ptr [ebp + 8] */ 15571 PUSH32(esp, 0x21u); /* 0x2B0702B0: push 0x21 */ 15572 PUSH32(esp, ecx); /* 0x2B0702B2: push ecx */ 15573 ecx = ebx; /* 0x2B0702B3: mov ecx, ebx */ 15574 RECOMP_ICALL(0x2B0735D0u); /* 0x2B0702B5: call 0x2b0735d0 */ /* not lifted */ 15575 RECOMP_FLAGS_IN(); 15576 ecx = MEM32(ebx + 0x28); /* 0x2B0702BA: mov ecx, dword ptr [ebx + 0x28] */ 15577 PUSH32(esp, 0x13u); /* 0x2B0702BD: push 0x13 */ 15578 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0702BF: push -1 */ 15579 MEM32(ebp + (-0x14)) = eax; /* 0x2B0702C1: mov dword ptr [ebp - 0x14], eax */ 15580 RECOMP_ICALL(esi); /* 0x2B0702C4: call esi */ 15581 RECOMP_FLAGS_IN(); 15582 edx = MEM32(ebx + 0x28); /* 0x2B0702C6: mov edx, dword ptr [ebx + 0x28] */ 15583 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15584 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0702C9: or ecx, 0xffffffff */ 15585 _cf = 0; 15586 _flag_k = FK_TEST; 15587 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15588 eax = 0; /* 0x2B0702CC: xor eax, eax */ 15589 _cf = 0; 15590 _flag_k = FK_TEST; 15591 edi = 0x2B0EB834u; /* 0x2B0702CE: mov edi, 0x2b0eb834 */ 15592 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; } /* 0x2B0702D3: repne scasb al, byte ptr es:[edi] */ 15593 eax = MEM32(0x2B0B515C); /* 0x2B0702D5: mov eax, dword ptr [0x2b0b515c] */ 15594 ecx = ~ecx; /* 0x2B0702DA: not ecx */ 15595 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15596 ecx = ecx - 1; /* 0x2B0702DC: dec ecx */ 15597 _flag_k = FK_DEC; 15598 edi = ecx; /* 0x2B0702DD: mov edi, ecx */ 15599 ecx = MEM32(eax); /* 0x2B0702DF: mov ecx, dword ptr [eax] */ 15600 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 15601 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15602 ecx = ecx - MEM32(edx + 0x8); /* 0x2B0702E1: sub ecx, dword ptr [edx + 8] */ 15603 _flag_k = FK_CMP; 15604 /* cmp ecx, edi */ /* 0x2B0702E4: cmp ecx, edi */ 15605 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 15606 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15607 _flag_k = FK_CMP; 15608 MEM32(ebp + 0xC) = edx; /* 0x2B0702E6: mov dword ptr [ebp + 0xc], edx */ 15609 if (CMP_A(_flag_a, _flag_b)) goto L_2B0702F1; /* 0x2B0702E9: ja 0x2b0702f1 */ 15610 L_2B0702EB: 15611 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0702EB: call dword ptr [0x2b0b51a8] */ 15612 RECOMP_FLAGS_IN(); 15613 L_2B0702F1: 15614 /* test edi, edi */ /* 0x2B0702F1: test edi, edi */ 15615 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 15616 _cf = 0; 15617 _flag_k = FK_TEST; 15618 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070341; /* 0x2B0702F3: jbe 0x2b070341 */ 15619 L_2B0702F5: 15620 ecx = MEM32(ebp + 0xC); /* 0x2B0702F5: mov ecx, dword ptr [ebp + 0xc] */ 15621 eax = MEM32(ecx + 0x8); /* 0x2B0702F8: mov eax, dword ptr [ecx + 8] */ 15622 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 15623 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15624 eax = eax + edi; /* 0x2B0702FB: add eax, edi */ 15625 _flag_k = FK_ADD; 15626 PUSH32(esp, 0); /* 0x2B0702FD: push 0 */ 15627 PUSH32(esp, eax); /* 0x2B0702FF: push eax */ 15628 MEM32(ebp + (-0x10)) = eax; /* 0x2B070300: mov dword ptr [ebp - 0x10], eax */ 15629 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070303: call dword ptr [0x2b0b5154] */ 15630 RECOMP_FLAGS_IN(); 15631 /* test LO8(eax), LO8(eax) */ /* 0x2B070309: test al, al */ 15632 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15633 _cf = 0; 15634 _flag_k = FK_NARROW(FK_TEST, 24); 15635 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070341; /* 0x2B07030B: je 0x2b070341 */ 15636 L_2B07030D: 15637 eax = MEM32(ebp + 0xC); /* 0x2B07030D: mov eax, dword ptr [ebp + 0xc] */ 15638 esi = MEM32(eax + 0x8); /* 0x2B070310: mov esi, dword ptr [eax + 8] */ 15639 edx = MEM32(eax + 0x4); /* 0x2B070313: mov edx, dword ptr [eax + 4] */ 15640 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 15641 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15642 edx = edx + esi; /* 0x2B070316: add edx, esi */ 15643 _flag_k = FK_ADD; 15644 ecx = edi; /* 0x2B070318: mov ecx, edi */ 15645 edi = edx; /* 0x2B07031A: mov edi, edx */ 15646 edx = ecx; /* 0x2B07031C: mov edx, ecx */ 15647 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07031E: shr ecx, 2 */ 15648 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 15649 ecx = ecx >> 2u; /* 0x2B07031E: shr ecx, 2 */ 15650 esi = 0x2B0EB834u; /* 0x2B070321: mov esi, 0x2b0eb834 */ 15651 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070326: 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; } 15652 ecx = edx; /* 0x2B070328: mov ecx, edx */ 15653 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 15654 ecx = ecx & 3; /* 0x2B07032A: and ecx, 3 */ 15655 _cf = 0; 15656 _flag_k = FK_TEST; 15657 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07032D: 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; } 15658 ecx = MEM32(ebp + (-0x10)); /* 0x2B07032F: mov ecx, dword ptr [ebp - 0x10] */ 15659 PUSH32(esp, ecx); /* 0x2B070332: push ecx */ 15660 ecx = eax; /* 0x2B070333: mov ecx, eax */ 15661 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B070335: call dword ptr [0x2b0b5150] */ 15662 RECOMP_FLAGS_IN(); 15663 esi = MEM32(0x2B0B5A74); /* 0x2B07033B: mov esi, dword ptr [0x2b0b5a74] */ 15664 L_2B070341: 15665 ecx = MEM32(ebx + 0x28); /* 0x2B070341: mov ecx, dword ptr [ebx + 0x28] */ 15666 PUSH32(esp, 0x14u); /* 0x2B070344: push 0x14 */ 15667 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070346: push -1 */ 15668 RECOMP_ICALL(esi); /* 0x2B070348: call esi */ 15669 RECOMP_FLAGS_IN(); 15670 /* cmp MEM32(ebp + (-0x14)), 3 */ /* 0x2B07034A: cmp dword ptr [ebp - 0x14], 3 */ 15671 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(3); 15672 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15673 _flag_k = FK_CMP; 15674 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0703DA; /* 0x2B07034E: je 0x2b0703da */ 15675 L_2B070354: 15676 edx = MEM32(ebp + 0x8); /* 0x2B070354: mov edx, dword ptr [ebp + 8] */ 15677 PUSH32(esp, edx); /* 0x2B070357: push edx */ 15678 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B070358: call dword ptr [0x2b0b5d6c] */ 15679 RECOMP_FLAGS_IN(); 15680 ecx = eax; /* 0x2B07035E: mov ecx, eax */ 15681 RECOMP_ICALL(MEM32(0x2B0B5D2C)); /* 0x2B070360: call dword ptr [0x2b0b5d2c] */ 15682 RECOMP_FLAGS_IN(); 15683 edx = MEM32(ebx + 0x28); /* 0x2B070366: mov edx, dword ptr [ebx + 0x28] */ 15684 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15685 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070369: or ecx, 0xffffffff */ 15686 _cf = 0; 15687 _flag_k = FK_TEST; 15688 edi = eax; /* 0x2B07036C: mov edi, eax */ 15689 MEM32(ebp + (-0x10)) = eax; /* 0x2B07036E: mov dword ptr [ebp - 0x10], eax */ 15690 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15691 eax = 0; /* 0x2B070371: xor eax, eax */ 15692 _cf = 0; 15693 _flag_k = FK_TEST; 15694 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; } /* 0x2B070373: repne scasb al, byte ptr es:[edi] */ 15695 eax = MEM32(0x2B0B515C); /* 0x2B070375: mov eax, dword ptr [0x2b0b515c] */ 15696 ecx = ~ecx; /* 0x2B07037A: not ecx */ 15697 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15698 ecx = ecx - 1; /* 0x2B07037C: dec ecx */ 15699 _flag_k = FK_DEC; 15700 edi = ecx; /* 0x2B07037D: mov edi, ecx */ 15701 ecx = MEM32(eax); /* 0x2B07037F: mov ecx, dword ptr [eax] */ 15702 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 15703 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15704 ecx = ecx - MEM32(edx + 0x8); /* 0x2B070381: sub ecx, dword ptr [edx + 8] */ 15705 _flag_k = FK_CMP; 15706 /* cmp ecx, edi */ /* 0x2B070384: cmp ecx, edi */ 15707 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 15708 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15709 _flag_k = FK_CMP; 15710 MEM32(ebp + 0xC) = edx; /* 0x2B070386: mov dword ptr [ebp + 0xc], edx */ 15711 if (CMP_A(_flag_a, _flag_b)) goto L_2B070391; /* 0x2B070389: ja 0x2b070391 */ 15712 L_2B07038B: 15713 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07038B: call dword ptr [0x2b0b51a8] */ 15714 RECOMP_FLAGS_IN(); 15715 L_2B070391: 15716 /* test edi, edi */ /* 0x2B070391: test edi, edi */ 15717 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 15718 _cf = 0; 15719 _flag_k = FK_TEST; 15720 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070455; /* 0x2B070393: jbe 0x2b070455 */ 15721 L_2B070399: 15722 ecx = MEM32(ebp + 0xC); /* 0x2B070399: mov ecx, dword ptr [ebp + 0xc] */ 15723 eax = MEM32(ecx + 0x8); /* 0x2B07039C: mov eax, dword ptr [ecx + 8] */ 15724 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 15725 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15726 eax = eax + edi; /* 0x2B07039F: add eax, edi */ 15727 _flag_k = FK_ADD; 15728 PUSH32(esp, 0); /* 0x2B0703A1: push 0 */ 15729 PUSH32(esp, eax); /* 0x2B0703A3: push eax */ 15730 MEM32(ebp + (-0x18)) = eax; /* 0x2B0703A4: mov dword ptr [ebp - 0x18], eax */ 15731 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0703A7: call dword ptr [0x2b0b5154] */ 15732 RECOMP_FLAGS_IN(); 15733 /* test LO8(eax), LO8(eax) */ /* 0x2B0703AD: test al, al */ 15734 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15735 _cf = 0; 15736 _flag_k = FK_NARROW(FK_TEST, 24); 15737 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070455; /* 0x2B0703AF: je 0x2b070455 */ 15738 L_2B0703B5: 15739 eax = MEM32(ebp + 0xC); /* 0x2B0703B5: mov eax, dword ptr [ebp + 0xc] */ 15740 esi = MEM32(eax + 0x8); /* 0x2B0703B8: mov esi, dword ptr [eax + 8] */ 15741 edx = MEM32(eax + 0x4); /* 0x2B0703BB: mov edx, dword ptr [eax + 4] */ 15742 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 15743 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15744 edx = edx + esi; /* 0x2B0703BE: add edx, esi */ 15745 _flag_k = FK_ADD; 15746 esi = MEM32(ebp + (-0x10)); /* 0x2B0703C0: mov esi, dword ptr [ebp - 0x10] */ 15747 ecx = edi; /* 0x2B0703C3: mov ecx, edi */ 15748 edi = edx; /* 0x2B0703C5: mov edi, edx */ 15749 edx = ecx; /* 0x2B0703C7: mov edx, ecx */ 15750 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0703C9: shr ecx, 2 */ 15751 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 15752 ecx = ecx >> 2u; /* 0x2B0703C9: shr ecx, 2 */ 15753 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0703CC: 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; } 15754 ecx = edx; /* 0x2B0703CE: mov ecx, edx */ 15755 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 15756 ecx = ecx & 3; /* 0x2B0703D0: and ecx, 3 */ 15757 _cf = 0; 15758 _flag_k = FK_TEST; 15759 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0703D3: 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; } 15760 ecx = MEM32(ebp + (-0x18)); /* 0x2B0703D5: mov ecx, dword ptr [ebp - 0x18] */ 15761 goto L_2B070446; /* 0x2B0703D8: jmp 0x2b070446 */ 15762 L_2B0703DA: 15763 edx = MEM32(ebx + 0x28); /* 0x2B0703DA: mov edx, dword ptr [ebx + 0x28] */ 15764 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15765 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0703DD: or ecx, 0xffffffff */ 15766 _cf = 0; 15767 _flag_k = FK_TEST; 15768 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15769 eax = 0; /* 0x2B0703E0: xor eax, eax */ 15770 _cf = 0; 15771 _flag_k = FK_TEST; 15772 edi = 0x2B0EB850u; /* 0x2B0703E2: mov edi, 0x2b0eb850 */ 15773 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; } /* 0x2B0703E7: repne scasb al, byte ptr es:[edi] */ 15774 eax = MEM32(0x2B0B515C); /* 0x2B0703E9: mov eax, dword ptr [0x2b0b515c] */ 15775 ecx = ~ecx; /* 0x2B0703EE: not ecx */ 15776 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15777 ecx = ecx - 1; /* 0x2B0703F0: dec ecx */ 15778 _flag_k = FK_DEC; 15779 edi = ecx; /* 0x2B0703F1: mov edi, ecx */ 15780 ecx = MEM32(eax); /* 0x2B0703F3: mov ecx, dword ptr [eax] */ 15781 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 15782 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15783 ecx = ecx - MEM32(edx + 0x8); /* 0x2B0703F5: sub ecx, dword ptr [edx + 8] */ 15784 _flag_k = FK_CMP; 15785 /* cmp ecx, edi */ /* 0x2B0703F8: cmp ecx, edi */ 15786 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 15787 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15788 _flag_k = FK_CMP; 15789 MEM32(ebp + 0xC) = edx; /* 0x2B0703FA: mov dword ptr [ebp + 0xc], edx */ 15790 if (CMP_A(_flag_a, _flag_b)) goto L_2B070405; /* 0x2B0703FD: ja 0x2b070405 */ 15791 L_2B0703FF: 15792 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0703FF: call dword ptr [0x2b0b51a8] */ 15793 RECOMP_FLAGS_IN(); 15794 L_2B070405: 15795 /* test edi, edi */ /* 0x2B070405: test edi, edi */ 15796 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 15797 _cf = 0; 15798 _flag_k = FK_TEST; 15799 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070455; /* 0x2B070407: jbe 0x2b070455 */ 15800 L_2B070409: 15801 ecx = MEM32(ebp + 0xC); /* 0x2B070409: mov ecx, dword ptr [ebp + 0xc] */ 15802 eax = MEM32(ecx + 0x8); /* 0x2B07040C: mov eax, dword ptr [ecx + 8] */ 15803 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 15804 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15805 eax = eax + edi; /* 0x2B07040F: add eax, edi */ 15806 _flag_k = FK_ADD; 15807 PUSH32(esp, 0); /* 0x2B070411: push 0 */ 15808 PUSH32(esp, eax); /* 0x2B070413: push eax */ 15809 MEM32(ebp + (-0x18)) = eax; /* 0x2B070414: mov dword ptr [ebp - 0x18], eax */ 15810 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070417: call dword ptr [0x2b0b5154] */ 15811 RECOMP_FLAGS_IN(); 15812 /* test LO8(eax), LO8(eax) */ /* 0x2B07041D: test al, al */ 15813 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15814 _cf = 0; 15815 _flag_k = FK_NARROW(FK_TEST, 24); 15816 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070455; /* 0x2B07041F: je 0x2b070455 */ 15817 L_2B070421: 15818 eax = MEM32(ebp + 0xC); /* 0x2B070421: mov eax, dword ptr [ebp + 0xc] */ 15819 esi = MEM32(eax + 0x8); /* 0x2B070424: mov esi, dword ptr [eax + 8] */ 15820 edx = MEM32(eax + 0x4); /* 0x2B070427: mov edx, dword ptr [eax + 4] */ 15821 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 15822 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15823 edx = edx + esi; /* 0x2B07042A: add edx, esi */ 15824 _flag_k = FK_ADD; 15825 ecx = edi; /* 0x2B07042C: mov ecx, edi */ 15826 edi = edx; /* 0x2B07042E: mov edi, edx */ 15827 edx = ecx; /* 0x2B070430: mov edx, ecx */ 15828 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070432: shr ecx, 2 */ 15829 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 15830 ecx = ecx >> 2u; /* 0x2B070432: shr ecx, 2 */ 15831 esi = 0x2B0EB850u; /* 0x2B070435: mov esi, 0x2b0eb850 */ 15832 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07043A: 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; } 15833 ecx = edx; /* 0x2B07043C: mov ecx, edx */ 15834 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 15835 ecx = ecx & 3; /* 0x2B07043E: and ecx, 3 */ 15836 _cf = 0; 15837 _flag_k = FK_TEST; 15838 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070441: 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; } 15839 ecx = MEM32(ebp + (-0x18)); /* 0x2B070443: mov ecx, dword ptr [ebp - 0x18] */ 15840 L_2B070446: 15841 PUSH32(esp, ecx); /* 0x2B070446: push ecx */ 15842 ecx = eax; /* 0x2B070447: mov ecx, eax */ 15843 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B070449: call dword ptr [0x2b0b5150] */ 15844 RECOMP_FLAGS_IN(); 15845 esi = MEM32(0x2B0B5A74); /* 0x2B07044F: mov esi, dword ptr [0x2b0b5a74] */ 15846 L_2B070455: 15847 ecx = MEM32(ebx + 0x28); /* 0x2B070455: mov ecx, dword ptr [ebx + 0x28] */ 15848 PUSH32(esp, 0x13u); /* 0x2B070458: push 0x13 */ 15849 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07045A: push -1 */ 15850 RECOMP_ICALL(esi); /* 0x2B07045C: call esi */ 15851 RECOMP_FLAGS_IN(); 15852 edx = MEM32(ebx + 0x28); /* 0x2B07045E: mov edx, dword ptr [ebx + 0x28] */ 15853 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15854 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070461: or ecx, 0xffffffff */ 15855 _cf = 0; 15856 _flag_k = FK_TEST; 15857 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15858 eax = 0; /* 0x2B070464: xor eax, eax */ 15859 _cf = 0; 15860 _flag_k = FK_TEST; 15861 edi = 0x2B0EB820u; /* 0x2B070466: mov edi, 0x2b0eb820 */ 15862 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; } /* 0x2B07046B: repne scasb al, byte ptr es:[edi] */ 15863 eax = MEM32(0x2B0B515C); /* 0x2B07046D: mov eax, dword ptr [0x2b0b515c] */ 15864 ecx = ~ecx; /* 0x2B070472: not ecx */ 15865 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15866 ecx = ecx - 1; /* 0x2B070474: dec ecx */ 15867 _flag_k = FK_DEC; 15868 edi = ecx; /* 0x2B070475: mov edi, ecx */ 15869 ecx = MEM32(eax); /* 0x2B070477: mov ecx, dword ptr [eax] */ 15870 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 15871 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15872 ecx = ecx - MEM32(edx + 0x8); /* 0x2B070479: sub ecx, dword ptr [edx + 8] */ 15873 _flag_k = FK_CMP; 15874 /* cmp ecx, edi */ /* 0x2B07047C: cmp ecx, edi */ 15875 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 15876 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15877 _flag_k = FK_CMP; 15878 MEM32(ebp + 0xC) = edx; /* 0x2B07047E: mov dword ptr [ebp + 0xc], edx */ 15879 if (CMP_A(_flag_a, _flag_b)) goto L_2B070489; /* 0x2B070481: ja 0x2b070489 */ 15880 L_2B070483: 15881 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070483: call dword ptr [0x2b0b51a8] */ 15882 RECOMP_FLAGS_IN(); 15883 L_2B070489: 15884 /* test edi, edi */ /* 0x2B070489: test edi, edi */ 15885 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 15886 _cf = 0; 15887 _flag_k = FK_TEST; 15888 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0704D9; /* 0x2B07048B: jbe 0x2b0704d9 */ 15889 L_2B07048D: 15890 ecx = MEM32(ebp + 0xC); /* 0x2B07048D: mov ecx, dword ptr [ebp + 0xc] */ 15891 eax = MEM32(ecx + 0x8); /* 0x2B070490: mov eax, dword ptr [ecx + 8] */ 15892 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 15893 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15894 eax = eax + edi; /* 0x2B070493: add eax, edi */ 15895 _flag_k = FK_ADD; 15896 PUSH32(esp, 0); /* 0x2B070495: push 0 */ 15897 PUSH32(esp, eax); /* 0x2B070497: push eax */ 15898 MEM32(ebp + (-0x18)) = eax; /* 0x2B070498: mov dword ptr [ebp - 0x18], eax */ 15899 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07049B: call dword ptr [0x2b0b5154] */ 15900 RECOMP_FLAGS_IN(); 15901 /* test LO8(eax), LO8(eax) */ /* 0x2B0704A1: test al, al */ 15902 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15903 _cf = 0; 15904 _flag_k = FK_NARROW(FK_TEST, 24); 15905 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0704D9; /* 0x2B0704A3: je 0x2b0704d9 */ 15906 L_2B0704A5: 15907 eax = MEM32(ebp + 0xC); /* 0x2B0704A5: mov eax, dword ptr [ebp + 0xc] */ 15908 esi = MEM32(eax + 0x8); /* 0x2B0704A8: mov esi, dword ptr [eax + 8] */ 15909 edx = MEM32(eax + 0x4); /* 0x2B0704AB: mov edx, dword ptr [eax + 4] */ 15910 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 15911 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15912 edx = edx + esi; /* 0x2B0704AE: add edx, esi */ 15913 _flag_k = FK_ADD; 15914 ecx = edi; /* 0x2B0704B0: mov ecx, edi */ 15915 edi = edx; /* 0x2B0704B2: mov edi, edx */ 15916 edx = ecx; /* 0x2B0704B4: mov edx, ecx */ 15917 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0704B6: shr ecx, 2 */ 15918 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 15919 ecx = ecx >> 2u; /* 0x2B0704B6: shr ecx, 2 */ 15920 esi = 0x2B0EB820u; /* 0x2B0704B9: mov esi, 0x2b0eb820 */ 15921 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0704BE: 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; } 15922 ecx = edx; /* 0x2B0704C0: mov ecx, edx */ 15923 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 15924 ecx = ecx & 3; /* 0x2B0704C2: and ecx, 3 */ 15925 _cf = 0; 15926 _flag_k = FK_TEST; 15927 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0704C5: 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; } 15928 ecx = MEM32(ebp + (-0x18)); /* 0x2B0704C7: mov ecx, dword ptr [ebp - 0x18] */ 15929 PUSH32(esp, ecx); /* 0x2B0704CA: push ecx */ 15930 ecx = eax; /* 0x2B0704CB: mov ecx, eax */ 15931 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B0704CD: call dword ptr [0x2b0b5150] */ 15932 RECOMP_FLAGS_IN(); 15933 esi = MEM32(0x2B0B5A74); /* 0x2B0704D3: mov esi, dword ptr [0x2b0b5a74] */ 15934 L_2B0704D9: 15935 ecx = MEM32(ebx + 0x28); /* 0x2B0704D9: mov ecx, dword ptr [ebx + 0x28] */ 15936 PUSH32(esp, 0x14u); /* 0x2B0704DC: push 0x14 */ 15937 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0704DE: push -1 */ 15938 RECOMP_ICALL(esi); /* 0x2B0704E0: call esi */ 15939 RECOMP_FLAGS_IN(); 15940 edx = MEM32(ebp + 0x8); /* 0x2B0704E2: mov edx, dword ptr [ebp + 8] */ 15941 PUSH32(esp, edx); /* 0x2B0704E5: push edx */ 15942 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0704E6: call dword ptr [0x2b0b5d6c] */ 15943 RECOMP_FLAGS_IN(); 15944 ecx = eax; /* 0x2B0704EC: mov ecx, eax */ 15945 RECOMP_ICALL(MEM32(0x2B0B5D74)); /* 0x2B0704EE: call dword ptr [0x2b0b5d74] */ 15946 RECOMP_FLAGS_IN(); 15947 MEM32(ebp + 0xC) = eax; /* 0x2B0704F4: mov dword ptr [ebp + 0xc], eax */ 15948 fp_push((double)(int32_t)MEM32(ebp + 0xC)); /* 0x2B0704F7: fild dword ptr [ebp + 0xc] */ 15949 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 15950 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15951 esp = esp - 8; /* 0x2B0704FA: sub esp, 8 */ 15952 _flag_k = FK_CMP; 15953 _st[0] *= (double)*(float*)ADDR(0x2B0B6CE4); /* 0x2B0704FD: fmul dword ptr [0x2b0b6ce4] */ 15954 { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x2B070503: fstp qword ptr [esp] */ 15955 PUSH32(esp, 0x2B0EB818u); /* 0x2B070506: push 0x2b0eb818 */ 15956 PUSH32(esp, 0x2B0EEE84u); /* 0x2B07050B: push 0x2b0eee84 */ 15957 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B070510: call dword ptr [0x2b0b51f0] */ 15958 RECOMP_FLAGS_IN(); 15959 edx = MEM32(ebx + 0x28); /* 0x2B070516: mov edx, dword ptr [ebx + 0x28] */ 15960 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15961 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070519: or ecx, 0xffffffff */ 15962 _cf = 0; 15963 _flag_k = FK_TEST; 15964 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15965 eax = 0; /* 0x2B07051C: xor eax, eax */ 15966 _cf = 0; 15967 _flag_k = FK_TEST; 15968 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 15969 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15970 esp = esp + 0x10u; /* 0x2B07051E: add esp, 0x10 */ 15971 _flag_k = FK_ADD; 15972 edi = 0x2B0EEE84u; /* 0x2B070521: mov edi, 0x2b0eee84 */ 15973 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; } /* 0x2B070526: repne scasb al, byte ptr es:[edi] */ 15974 eax = MEM32(0x2B0B515C); /* 0x2B070528: mov eax, dword ptr [0x2b0b515c] */ 15975 ecx = ~ecx; /* 0x2B07052D: not ecx */ 15976 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15977 ecx = ecx - 1; /* 0x2B07052F: dec ecx */ 15978 _flag_k = FK_DEC; 15979 edi = ecx; /* 0x2B070530: mov edi, ecx */ 15980 ecx = MEM32(eax); /* 0x2B070532: mov ecx, dword ptr [eax] */ 15981 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 15982 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15983 ecx = ecx - MEM32(edx + 0x8); /* 0x2B070534: sub ecx, dword ptr [edx + 8] */ 15984 _flag_k = FK_CMP; 15985 /* cmp ecx, edi */ /* 0x2B070537: cmp ecx, edi */ 15986 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 15987 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15988 _flag_k = FK_CMP; 15989 MEM32(ebp + 0xC) = edx; /* 0x2B070539: mov dword ptr [ebp + 0xc], edx */ 15990 if (CMP_A(_flag_a, _flag_b)) goto L_2B070544; /* 0x2B07053C: ja 0x2b070544 */ 15991 L_2B07053E: 15992 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07053E: call dword ptr [0x2b0b51a8] */ 15993 RECOMP_FLAGS_IN(); 15994 L_2B070544: 15995 /* test edi, edi */ /* 0x2B070544: test edi, edi */ 15996 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 15997 _cf = 0; 15998 _flag_k = FK_TEST; 15999 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070594; /* 0x2B070546: jbe 0x2b070594 */ 16000 L_2B070548: 16001 ecx = MEM32(ebp + 0xC); /* 0x2B070548: mov ecx, dword ptr [ebp + 0xc] */ 16002 eax = MEM32(ecx + 0x8); /* 0x2B07054B: mov eax, dword ptr [ecx + 8] */ 16003 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 16004 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16005 eax = eax + edi; /* 0x2B07054E: add eax, edi */ 16006 _flag_k = FK_ADD; 16007 PUSH32(esp, 0); /* 0x2B070550: push 0 */ 16008 PUSH32(esp, eax); /* 0x2B070552: push eax */ 16009 MEM32(ebp + (-0x18)) = eax; /* 0x2B070553: mov dword ptr [ebp - 0x18], eax */ 16010 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070556: call dword ptr [0x2b0b5154] */ 16011 RECOMP_FLAGS_IN(); 16012 /* test LO8(eax), LO8(eax) */ /* 0x2B07055C: test al, al */ 16013 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 16014 _cf = 0; 16015 _flag_k = FK_NARROW(FK_TEST, 24); 16016 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070594; /* 0x2B07055E: je 0x2b070594 */ 16017 L_2B070560: 16018 eax = MEM32(ebp + 0xC); /* 0x2B070560: mov eax, dword ptr [ebp + 0xc] */ 16019 esi = MEM32(eax + 0x8); /* 0x2B070563: mov esi, dword ptr [eax + 8] */ 16020 edx = MEM32(eax + 0x4); /* 0x2B070566: mov edx, dword ptr [eax + 4] */ 16021 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 16022 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16023 edx = edx + esi; /* 0x2B070569: add edx, esi */ 16024 _flag_k = FK_ADD; 16025 ecx = edi; /* 0x2B07056B: mov ecx, edi */ 16026 edi = edx; /* 0x2B07056D: mov edi, edx */ 16027 edx = ecx; /* 0x2B07056F: mov edx, ecx */ 16028 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070571: shr ecx, 2 */ 16029 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 16030 ecx = ecx >> 2u; /* 0x2B070571: shr ecx, 2 */ 16031 esi = 0x2B0EEE84u; /* 0x2B070574: mov esi, 0x2b0eee84 */ 16032 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070579: 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; } 16033 ecx = edx; /* 0x2B07057B: mov ecx, edx */ 16034 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 16035 ecx = ecx & 3; /* 0x2B07057D: and ecx, 3 */ 16036 _cf = 0; 16037 _flag_k = FK_TEST; 16038 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070580: 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; } 16039 ecx = MEM32(ebp + (-0x18)); /* 0x2B070582: mov ecx, dword ptr [ebp - 0x18] */ 16040 PUSH32(esp, ecx); /* 0x2B070585: push ecx */ 16041 ecx = eax; /* 0x2B070586: mov ecx, eax */ 16042 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B070588: call dword ptr [0x2b0b5150] */ 16043 RECOMP_FLAGS_IN(); 16044 esi = MEM32(0x2B0B5A74); /* 0x2B07058E: mov esi, dword ptr [0x2b0b5a74] */ 16045 L_2B070594: 16046 /* cmp MEM32(ebp + (-0x14)), 2 */ /* 0x2B070594: cmp dword ptr [ebp - 0x14], 2 */ 16047 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(2); 16048 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16049 _flag_k = FK_CMP; 16050 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0705A1; /* 0x2B070598: jne 0x2b0705a1 */ 16051 L_2B07059A: 16052 PUSH32(esp, 0x2B0EB80Cu); /* 0x2B07059A: push 0x2b0eb80c */ 16053 goto L_2B0705A6; /* 0x2B07059F: jmp 0x2b0705a6 */ 16054 L_2B0705A1: 16055 PUSH32(esp, 0x2B0EB804u); /* 0x2B0705A1: push 0x2b0eb804 */ 16056 L_2B0705A6: 16057 PUSH32(esp, 0x2B0EEE84u); /* 0x2B0705A6: push 0x2b0eee84 */ 16058 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B0705AB: call dword ptr [0x2b0b51f0] */ 16059 RECOMP_FLAGS_IN(); 16060 edi = MEM32(ebp + 0x8); /* 0x2B0705B1: mov edi, dword ptr [ebp + 8] */ 16061 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 16062 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16063 esp = esp + 8; /* 0x2B0705B4: add esp, 8 */ 16064 _flag_k = FK_ADD; 16065 PUSH32(esp, edi); /* 0x2B0705B7: push edi */ 16066 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0705B8: call dword ptr [0x2b0b5d6c] */ 16067 RECOMP_FLAGS_IN(); 16068 ecx = eax; /* 0x2B0705BE: mov ecx, eax */ 16069 RECOMP_ICALL(MEM32(0x2B0B5DEC)); /* 0x2B0705C0: call dword ptr [0x2b0b5dec] */ 16070 RECOMP_FLAGS_IN(); 16071 /* test eax, eax */ /* 0x2B0705C6: test eax, eax */ 16072 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 16073 _cf = 0; 16074 _flag_k = FK_TEST; 16075 MEM32(ebp + (-0x14)) = eax; /* 0x2B0705C8: mov dword ptr [ebp - 0x14], eax */ 16076 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070775; /* 0x2B0705CB: je 0x2b070775 */ 16077 L_2B0705D1: 16078 ecx = MEM32(ebx + 0x28); /* 0x2B0705D1: mov ecx, dword ptr [ebx + 0x28] */ 16079 PUSH32(esp, 0x13u); /* 0x2B0705D4: push 0x13 */ 16080 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0705D6: push -1 */ 16081 RECOMP_ICALL(esi); /* 0x2B0705D8: call esi */ 16082 RECOMP_FLAGS_IN(); 16083 edx = MEM32(ebx + 0x28); /* 0x2B0705DA: mov edx, dword ptr [ebx + 0x28] */ 16084 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 16085 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0705DD: or ecx, 0xffffffff */ 16086 _cf = 0; 16087 _flag_k = FK_TEST; 16088 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16089 eax = 0; /* 0x2B0705E0: xor eax, eax */ 16090 _cf = 0; 16091 _flag_k = FK_TEST; 16092 edi = 0x2B0E2BF8u; /* 0x2B0705E2: mov edi, 0x2b0e2bf8 */ 16093 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; } /* 0x2B0705E7: repne scasb al, byte ptr es:[edi] */ 16094 eax = MEM32(0x2B0B515C); /* 0x2B0705E9: mov eax, dword ptr [0x2b0b515c] */ 16095 ecx = ~ecx; /* 0x2B0705EE: not ecx */ 16096 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 16097 ecx = ecx - 1; /* 0x2B0705F0: dec ecx */ 16098 _flag_k = FK_DEC; 16099 edi = ecx; /* 0x2B0705F1: mov edi, ecx */ 16100 ecx = MEM32(eax); /* 0x2B0705F3: mov ecx, dword ptr [eax] */ 16101 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 16102 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16103 ecx = ecx - MEM32(edx + 0x8); /* 0x2B0705F5: sub ecx, dword ptr [edx + 8] */ 16104 _flag_k = FK_CMP; 16105 /* cmp ecx, edi */ /* 0x2B0705F8: cmp ecx, edi */ 16106 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 16107 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16108 _flag_k = FK_CMP; 16109 MEM32(ebp + 0xC) = edx; /* 0x2B0705FA: mov dword ptr [ebp + 0xc], edx */ 16110 if (CMP_A(_flag_a, _flag_b)) goto L_2B070605; /* 0x2B0705FD: ja 0x2b070605 */ 16111 L_2B0705FF: 16112 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0705FF: call dword ptr [0x2b0b51a8] */ 16113 RECOMP_FLAGS_IN(); 16114 L_2B070605: 16115 /* test edi, edi */ /* 0x2B070605: test edi, edi */ 16116 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16117 _cf = 0; 16118 _flag_k = FK_TEST; 16119 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070657; /* 0x2B070607: jbe 0x2b070657 */ 16120 L_2B070609: 16121 ecx = MEM32(ebp + 0xC); /* 0x2B070609: mov ecx, dword ptr [ebp + 0xc] */ 16122 edx = MEM32(ecx + 0x8); /* 0x2B07060C: mov edx, dword ptr [ecx + 8] */ 16123 eax = edi; /* 0x2B07060F: mov eax, edi */ 16124 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 16125 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16126 eax = eax + edx; /* 0x2B070611: add eax, edx */ 16127 _flag_k = FK_ADD; 16128 PUSH32(esp, 0); /* 0x2B070613: push 0 */ 16129 PUSH32(esp, eax); /* 0x2B070615: push eax */ 16130 MEM32(ebp + (-0x18)) = eax; /* 0x2B070616: mov dword ptr [ebp - 0x18], eax */ 16131 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070619: call dword ptr [0x2b0b5154] */ 16132 RECOMP_FLAGS_IN(); 16133 /* test LO8(eax), LO8(eax) */ /* 0x2B07061F: test al, al */ 16134 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 16135 _cf = 0; 16136 _flag_k = FK_NARROW(FK_TEST, 24); 16137 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070657; /* 0x2B070621: je 0x2b070657 */ 16138 L_2B070623: 16139 eax = MEM32(ebp + 0xC); /* 0x2B070623: mov eax, dword ptr [ebp + 0xc] */ 16140 esi = MEM32(eax + 0x8); /* 0x2B070626: mov esi, dword ptr [eax + 8] */ 16141 edx = MEM32(eax + 0x4); /* 0x2B070629: mov edx, dword ptr [eax + 4] */ 16142 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 16143 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16144 edx = edx + esi; /* 0x2B07062C: add edx, esi */ 16145 _flag_k = FK_ADD; 16146 ecx = edi; /* 0x2B07062E: mov ecx, edi */ 16147 edi = edx; /* 0x2B070630: mov edi, edx */ 16148 edx = ecx; /* 0x2B070632: mov edx, ecx */ 16149 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070634: shr ecx, 2 */ 16150 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 16151 ecx = ecx >> 2u; /* 0x2B070634: shr ecx, 2 */ 16152 esi = 0x2B0E2BF8u; /* 0x2B070637: mov esi, 0x2b0e2bf8 */ 16153 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07063C: 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; } 16154 ecx = edx; /* 0x2B07063E: mov ecx, edx */ 16155 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 16156 ecx = ecx & 3; /* 0x2B070640: and ecx, 3 */ 16157 _cf = 0; 16158 _flag_k = FK_TEST; 16159 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070643: 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; } 16160 ecx = MEM32(ebp + (-0x18)); /* 0x2B070645: mov ecx, dword ptr [ebp - 0x18] */ 16161 PUSH32(esp, ecx); /* 0x2B070648: push ecx */ 16162 ecx = eax; /* 0x2B070649: mov ecx, eax */ 16163 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07064B: call dword ptr [0x2b0b5150] */ 16164 RECOMP_FLAGS_IN(); 16165 esi = MEM32(0x2B0B5A74); /* 0x2B070651: mov esi, dword ptr [0x2b0b5a74] */ 16166 L_2B070657: 16167 edx = MEM32(ebx + 0x28); /* 0x2B070657: mov edx, dword ptr [ebx + 0x28] */ 16168 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 16169 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07065A: or ecx, 0xffffffff */ 16170 _cf = 0; 16171 _flag_k = FK_TEST; 16172 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16173 eax = 0; /* 0x2B07065D: xor eax, eax */ 16174 _cf = 0; 16175 _flag_k = FK_TEST; 16176 edi = 0x2B0EEE84u; /* 0x2B07065F: mov edi, 0x2b0eee84 */ 16177 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; } /* 0x2B070664: repne scasb al, byte ptr es:[edi] */ 16178 eax = MEM32(0x2B0B515C); /* 0x2B070666: mov eax, dword ptr [0x2b0b515c] */ 16179 ecx = ~ecx; /* 0x2B07066B: not ecx */ 16180 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 16181 ecx = ecx - 1; /* 0x2B07066D: dec ecx */ 16182 _flag_k = FK_DEC; 16183 edi = ecx; /* 0x2B07066E: mov edi, ecx */ 16184 ecx = MEM32(eax); /* 0x2B070670: mov ecx, dword ptr [eax] */ 16185 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 16186 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16187 ecx = ecx - MEM32(edx + 0x8); /* 0x2B070672: sub ecx, dword ptr [edx + 8] */ 16188 _flag_k = FK_CMP; 16189 /* cmp ecx, edi */ /* 0x2B070675: cmp ecx, edi */ 16190 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 16191 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16192 _flag_k = FK_CMP; 16193 MEM32(ebp + 0xC) = edx; /* 0x2B070677: mov dword ptr [ebp + 0xc], edx */ 16194 if (CMP_A(_flag_a, _flag_b)) goto L_2B070682; /* 0x2B07067A: ja 0x2b070682 */ 16195 L_2B07067C: 16196 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07067C: call dword ptr [0x2b0b51a8] */ 16197 RECOMP_FLAGS_IN(); 16198 L_2B070682: 16199 /* test edi, edi */ /* 0x2B070682: test edi, edi */ 16200 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16201 _cf = 0; 16202 _flag_k = FK_TEST; 16203 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0706D4; /* 0x2B070684: jbe 0x2b0706d4 */ 16204 L_2B070686: 16205 ecx = MEM32(ebp + 0xC); /* 0x2B070686: mov ecx, dword ptr [ebp + 0xc] */ 16206 edx = MEM32(ecx + 0x8); /* 0x2B070689: mov edx, dword ptr [ecx + 8] */ 16207 eax = edi; /* 0x2B07068C: mov eax, edi */ 16208 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 16209 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16210 eax = eax + edx; /* 0x2B07068E: add eax, edx */ 16211 _flag_k = FK_ADD; 16212 PUSH32(esp, 0); /* 0x2B070690: push 0 */ 16213 PUSH32(esp, eax); /* 0x2B070692: push eax */ 16214 MEM32(ebp + (-0x18)) = eax; /* 0x2B070693: mov dword ptr [ebp - 0x18], eax */ 16215 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070696: call dword ptr [0x2b0b5154] */ 16216 RECOMP_FLAGS_IN(); 16217 /* test LO8(eax), LO8(eax) */ /* 0x2B07069C: test al, al */ 16218 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 16219 _cf = 0; 16220 _flag_k = FK_NARROW(FK_TEST, 24); 16221 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0706D4; /* 0x2B07069E: je 0x2b0706d4 */ 16222 L_2B0706A0: 16223 eax = MEM32(ebp + 0xC); /* 0x2B0706A0: mov eax, dword ptr [ebp + 0xc] */ 16224 esi = MEM32(eax + 0x8); /* 0x2B0706A3: mov esi, dword ptr [eax + 8] */ 16225 edx = MEM32(eax + 0x4); /* 0x2B0706A6: mov edx, dword ptr [eax + 4] */ 16226 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 16227 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16228 edx = edx + esi; /* 0x2B0706A9: add edx, esi */ 16229 _flag_k = FK_ADD; 16230 ecx = edi; /* 0x2B0706AB: mov ecx, edi */ 16231 edi = edx; /* 0x2B0706AD: mov edi, edx */ 16232 edx = ecx; /* 0x2B0706AF: mov edx, ecx */ 16233 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0706B1: shr ecx, 2 */ 16234 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 16235 ecx = ecx >> 2u; /* 0x2B0706B1: shr ecx, 2 */ 16236 esi = 0x2B0EEE84u; /* 0x2B0706B4: mov esi, 0x2b0eee84 */ 16237 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0706B9: 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; } 16238 ecx = edx; /* 0x2B0706BB: mov ecx, edx */ 16239 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 16240 ecx = ecx & 3; /* 0x2B0706BD: and ecx, 3 */ 16241 _cf = 0; 16242 _flag_k = FK_TEST; 16243 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0706C0: 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; } 16244 ecx = MEM32(ebp + (-0x18)); /* 0x2B0706C2: mov ecx, dword ptr [ebp - 0x18] */ 16245 PUSH32(esp, ecx); /* 0x2B0706C5: push ecx */ 16246 ecx = eax; /* 0x2B0706C6: mov ecx, eax */ 16247 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B0706C8: call dword ptr [0x2b0b5150] */ 16248 RECOMP_FLAGS_IN(); 16249 esi = MEM32(0x2B0B5A74); /* 0x2B0706CE: mov esi, dword ptr [0x2b0b5a74] */ 16250 L_2B0706D4: 16251 edx = MEM32(ebx + 0x28); /* 0x2B0706D4: mov edx, dword ptr [ebx + 0x28] */ 16252 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 16253 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0706D7: or ecx, 0xffffffff */ 16254 _cf = 0; 16255 _flag_k = FK_TEST; 16256 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16257 eax = 0; /* 0x2B0706DA: xor eax, eax */ 16258 _cf = 0; 16259 _flag_k = FK_TEST; 16260 edi = 0x2B0E1C00u; /* 0x2B0706DC: mov edi, 0x2b0e1c00 */ 16261 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; } /* 0x2B0706E1: repne scasb al, byte ptr es:[edi] */ 16262 eax = MEM32(0x2B0B515C); /* 0x2B0706E3: mov eax, dword ptr [0x2b0b515c] */ 16263 ecx = ~ecx; /* 0x2B0706E8: not ecx */ 16264 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 16265 ecx = ecx - 1; /* 0x2B0706EA: dec ecx */ 16266 _flag_k = FK_DEC; 16267 edi = ecx; /* 0x2B0706EB: mov edi, ecx */ 16268 ecx = MEM32(eax); /* 0x2B0706ED: mov ecx, dword ptr [eax] */ 16269 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 16270 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16271 ecx = ecx - MEM32(edx + 0x8); /* 0x2B0706EF: sub ecx, dword ptr [edx + 8] */ 16272 _flag_k = FK_CMP; 16273 /* cmp ecx, edi */ /* 0x2B0706F2: cmp ecx, edi */ 16274 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 16275 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16276 _flag_k = FK_CMP; 16277 MEM32(ebp + 0xC) = edx; /* 0x2B0706F4: mov dword ptr [ebp + 0xc], edx */ 16278 if (CMP_A(_flag_a, _flag_b)) goto L_2B0706FF; /* 0x2B0706F7: ja 0x2b0706ff */ 16279 L_2B0706F9: 16280 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0706F9: call dword ptr [0x2b0b51a8] */ 16281 RECOMP_FLAGS_IN(); 16282 L_2B0706FF: 16283 /* test edi, edi */ /* 0x2B0706FF: test edi, edi */ 16284 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16285 _cf = 0; 16286 _flag_k = FK_TEST; 16287 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070751; /* 0x2B070701: jbe 0x2b070751 */ 16288 L_2B070703: 16289 ecx = MEM32(ebp + 0xC); /* 0x2B070703: mov ecx, dword ptr [ebp + 0xc] */ 16290 edx = MEM32(ecx + 0x8); /* 0x2B070706: mov edx, dword ptr [ecx + 8] */ 16291 eax = edi; /* 0x2B070709: mov eax, edi */ 16292 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 16293 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16294 eax = eax + edx; /* 0x2B07070B: add eax, edx */ 16295 _flag_k = FK_ADD; 16296 PUSH32(esp, 0); /* 0x2B07070D: push 0 */ 16297 PUSH32(esp, eax); /* 0x2B07070F: push eax */ 16298 MEM32(ebp + (-0x18)) = eax; /* 0x2B070710: mov dword ptr [ebp - 0x18], eax */ 16299 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070713: call dword ptr [0x2b0b5154] */ 16300 RECOMP_FLAGS_IN(); 16301 /* test LO8(eax), LO8(eax) */ /* 0x2B070719: test al, al */ 16302 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 16303 _cf = 0; 16304 _flag_k = FK_NARROW(FK_TEST, 24); 16305 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070751; /* 0x2B07071B: je 0x2b070751 */ 16306 L_2B07071D: 16307 eax = MEM32(ebp + 0xC); /* 0x2B07071D: mov eax, dword ptr [ebp + 0xc] */ 16308 esi = MEM32(eax + 0x8); /* 0x2B070720: mov esi, dword ptr [eax + 8] */ 16309 edx = MEM32(eax + 0x4); /* 0x2B070723: mov edx, dword ptr [eax + 4] */ 16310 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 16311 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16312 edx = edx + esi; /* 0x2B070726: add edx, esi */ 16313 _flag_k = FK_ADD; 16314 ecx = edi; /* 0x2B070728: mov ecx, edi */ 16315 edi = edx; /* 0x2B07072A: mov edi, edx */ 16316 edx = ecx; /* 0x2B07072C: mov edx, ecx */ 16317 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07072E: shr ecx, 2 */ 16318 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 16319 ecx = ecx >> 2u; /* 0x2B07072E: shr ecx, 2 */ 16320 esi = 0x2B0E1C00u; /* 0x2B070731: mov esi, 0x2b0e1c00 */ 16321 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070736: 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; } 16322 ecx = edx; /* 0x2B070738: mov ecx, edx */ 16323 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 16324 ecx = ecx & 3; /* 0x2B07073A: and ecx, 3 */ 16325 _cf = 0; 16326 _flag_k = FK_TEST; 16327 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07073D: 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; } 16328 ecx = MEM32(ebp + (-0x18)); /* 0x2B07073F: mov ecx, dword ptr [ebp - 0x18] */ 16329 PUSH32(esp, ecx); /* 0x2B070742: push ecx */ 16330 ecx = eax; /* 0x2B070743: mov ecx, eax */ 16331 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B070745: call dword ptr [0x2b0b5150] */ 16332 RECOMP_FLAGS_IN(); 16333 esi = MEM32(0x2B0B5A74); /* 0x2B07074B: mov esi, dword ptr [0x2b0b5a74] */ 16334 L_2B070751: 16335 ecx = MEM32(ebx + 0x28); /* 0x2B070751: mov ecx, dword ptr [ebx + 0x28] */ 16336 PUSH32(esp, 0x14u); /* 0x2B070754: push 0x14 */ 16337 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070756: push -1 */ 16338 RECOMP_ICALL(esi); /* 0x2B070758: call esi */ 16339 RECOMP_FLAGS_IN(); 16340 edx = MEM32(0x2B0B515C); /* 0x2B07075A: mov edx, dword ptr [0x2b0b515c] */ 16341 eax = MEM32(edx); /* 0x2B070760: mov eax, dword ptr [edx] */ 16342 edx = MEM32(ebp + (-0x14)); /* 0x2B070762: mov edx, dword ptr [ebp - 0x14] */ 16343 ecx = MEM32(ebx + 0x28); /* 0x2B070765: mov ecx, dword ptr [ebx + 0x28] */ 16344 PUSH32(esp, eax); /* 0x2B070768: push eax */ 16345 PUSH32(esp, 0); /* 0x2B070769: push 0 */ 16346 PUSH32(esp, edx); /* 0x2B07076B: push edx */ 16347 RECOMP_ICALL(MEM32(0x2B0B51A0)); /* 0x2B07076C: call dword ptr [0x2b0b51a0] */ 16348 RECOMP_FLAGS_IN(); 16349 edi = MEM32(ebp + 0x8); /* 0x2B070772: mov edi, dword ptr [ebp + 8] */ 16350 L_2B070775: 16351 PUSH32(esp, edi); /* 0x2B070775: push edi */ 16352 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B070776: call dword ptr [0x2b0b5d6c] */ 16353 RECOMP_FLAGS_IN(); 16354 ecx = eax; /* 0x2B07077C: mov ecx, eax */ 16355 RECOMP_ICALL(MEM32(0x2B0B5D78)); /* 0x2B07077E: call dword ptr [0x2b0b5d78] */ 16356 RECOMP_FLAGS_IN(); 16357 /* test eax, eax */ /* 0x2B070784: test eax, eax */ 16358 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 16359 _cf = 0; 16360 _flag_k = FK_TEST; 16361 MEM32(ebp + (-0x14)) = eax; /* 0x2B070786: mov dword ptr [ebp - 0x14], eax */ 16362 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0709AC; /* 0x2B070789: je 0x2b0709ac */ 16363 L_2B07078F: 16364 /* cmp MEM8(eax), 0 */ /* 0x2B07078F: cmp byte ptr [eax], 0 */ 16365 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0) << 24; 16366 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16367 _flag_k = FK_NARROW(FK_CMP, 24); 16368 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0709AC; /* 0x2B070792: je 0x2b0709ac */ 16369 L_2B070798: 16370 ecx = MEM32(ebx + 0x28); /* 0x2B070798: mov ecx, dword ptr [ebx + 0x28] */ 16371 PUSH32(esp, 0x13u); /* 0x2B07079B: push 0x13 */ 16372 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07079D: push -1 */ 16373 RECOMP_ICALL(esi); /* 0x2B07079F: call esi */ 16374 RECOMP_FLAGS_IN(); 16375 edx = MEM32(ebx + 0x28); /* 0x2B0707A1: mov edx, dword ptr [ebx + 0x28] */ 16376 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 16377 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0707A4: or ecx, 0xffffffff */ 16378 _cf = 0; 16379 _flag_k = FK_TEST; 16380 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16381 eax = 0; /* 0x2B0707A7: xor eax, eax */ 16382 _cf = 0; 16383 _flag_k = FK_TEST; 16384 edi = 0x2B0E2BF8u; /* 0x2B0707A9: mov edi, 0x2b0e2bf8 */ 16385 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; } /* 0x2B0707AE: repne scasb al, byte ptr es:[edi] */ 16386 eax = MEM32(0x2B0B515C); /* 0x2B0707B0: mov eax, dword ptr [0x2b0b515c] */ 16387 ecx = ~ecx; /* 0x2B0707B5: not ecx */ 16388 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 16389 ecx = ecx - 1; /* 0x2B0707B7: dec ecx */ 16390 _flag_k = FK_DEC; 16391 edi = ecx; /* 0x2B0707B8: mov edi, ecx */ 16392 ecx = MEM32(eax); /* 0x2B0707BA: mov ecx, dword ptr [eax] */ 16393 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 16394 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16395 ecx = ecx - MEM32(edx + 0x8); /* 0x2B0707BC: sub ecx, dword ptr [edx + 8] */ 16396 _flag_k = FK_CMP; 16397 /* cmp ecx, edi */ /* 0x2B0707BF: cmp ecx, edi */ 16398 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 16399 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16400 _flag_k = FK_CMP; 16401 MEM32(ebp + 0xC) = edx; /* 0x2B0707C1: mov dword ptr [ebp + 0xc], edx */ 16402 if (CMP_A(_flag_a, _flag_b)) goto L_2B0707CC; /* 0x2B0707C4: ja 0x2b0707cc */ 16403 L_2B0707C6: 16404 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0707C6: call dword ptr [0x2b0b51a8] */ 16405 RECOMP_FLAGS_IN(); 16406 L_2B0707CC: 16407 /* test edi, edi */ /* 0x2B0707CC: test edi, edi */ 16408 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16409 _cf = 0; 16410 _flag_k = FK_TEST; 16411 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07081E; /* 0x2B0707CE: jbe 0x2b07081e */ 16412 L_2B0707D0: 16413 ecx = MEM32(ebp + 0xC); /* 0x2B0707D0: mov ecx, dword ptr [ebp + 0xc] */ 16414 edx = MEM32(ecx + 0x8); /* 0x2B0707D3: mov edx, dword ptr [ecx + 8] */ 16415 eax = edi; /* 0x2B0707D6: mov eax, edi */ 16416 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 16417 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16418 eax = eax + edx; /* 0x2B0707D8: add eax, edx */ 16419 _flag_k = FK_ADD; 16420 PUSH32(esp, 0); /* 0x2B0707DA: push 0 */ 16421 PUSH32(esp, eax); /* 0x2B0707DC: push eax */ 16422 MEM32(ebp + (-0x18)) = eax; /* 0x2B0707DD: mov dword ptr [ebp - 0x18], eax */ 16423 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0707E0: call dword ptr [0x2b0b5154] */ 16424 RECOMP_FLAGS_IN(); 16425 /* test LO8(eax), LO8(eax) */ /* 0x2B0707E6: test al, al */ 16426 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 16427 _cf = 0; 16428 _flag_k = FK_NARROW(FK_TEST, 24); 16429 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07081E; /* 0x2B0707E8: je 0x2b07081e */ 16430 L_2B0707EA: 16431 eax = MEM32(ebp + 0xC); /* 0x2B0707EA: mov eax, dword ptr [ebp + 0xc] */ 16432 esi = MEM32(eax + 0x8); /* 0x2B0707ED: mov esi, dword ptr [eax + 8] */ 16433 edx = MEM32(eax + 0x4); /* 0x2B0707F0: mov edx, dword ptr [eax + 4] */ 16434 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 16435 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16436 edx = edx + esi; /* 0x2B0707F3: add edx, esi */ 16437 _flag_k = FK_ADD; 16438 ecx = edi; /* 0x2B0707F5: mov ecx, edi */ 16439 edi = edx; /* 0x2B0707F7: mov edi, edx */ 16440 edx = ecx; /* 0x2B0707F9: mov edx, ecx */ 16441 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0707FB: shr ecx, 2 */ 16442 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 16443 ecx = ecx >> 2u; /* 0x2B0707FB: shr ecx, 2 */ 16444 esi = 0x2B0E2BF8u; /* 0x2B0707FE: mov esi, 0x2b0e2bf8 */ 16445 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070803: 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; } 16446 ecx = edx; /* 0x2B070805: mov ecx, edx */ 16447 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 16448 ecx = ecx & 3; /* 0x2B070807: and ecx, 3 */ 16449 _cf = 0; 16450 _flag_k = FK_TEST; 16451 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07080A: 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; } 16452 ecx = MEM32(ebp + (-0x18)); /* 0x2B07080C: mov ecx, dword ptr [ebp - 0x18] */ 16453 PUSH32(esp, ecx); /* 0x2B07080F: push ecx */ 16454 ecx = eax; /* 0x2B070810: mov ecx, eax */ 16455 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B070812: call dword ptr [0x2b0b5150] */ 16456 RECOMP_FLAGS_IN(); 16457 esi = MEM32(0x2B0B5A74); /* 0x2B070818: mov esi, dword ptr [0x2b0b5a74] */ 16458 L_2B07081E: 16459 edx = MEM32(ebx + 0x28); /* 0x2B07081E: mov edx, dword ptr [ebx + 0x28] */ 16460 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 16461 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070821: or ecx, 0xffffffff */ 16462 _cf = 0; 16463 _flag_k = FK_TEST; 16464 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16465 eax = 0; /* 0x2B070824: xor eax, eax */ 16466 _cf = 0; 16467 _flag_k = FK_TEST; 16468 edi = 0x2B0EEE84u; /* 0x2B070826: mov edi, 0x2b0eee84 */ 16469 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; } /* 0x2B07082B: repne scasb al, byte ptr es:[edi] */ 16470 eax = MEM32(0x2B0B515C); /* 0x2B07082D: mov eax, dword ptr [0x2b0b515c] */ 16471 ecx = ~ecx; /* 0x2B070832: not ecx */ 16472 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 16473 ecx = ecx - 1; /* 0x2B070834: dec ecx */ 16474 _flag_k = FK_DEC; 16475 edi = ecx; /* 0x2B070835: mov edi, ecx */ 16476 ecx = MEM32(eax); /* 0x2B070837: mov ecx, dword ptr [eax] */ 16477 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 16478 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16479 ecx = ecx - MEM32(edx + 0x8); /* 0x2B070839: sub ecx, dword ptr [edx + 8] */ 16480 _flag_k = FK_CMP; 16481 /* cmp ecx, edi */ /* 0x2B07083C: cmp ecx, edi */ 16482 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 16483 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16484 _flag_k = FK_CMP; 16485 MEM32(ebp + 0xC) = edx; /* 0x2B07083E: mov dword ptr [ebp + 0xc], edx */ 16486 if (CMP_A(_flag_a, _flag_b)) goto L_2B070849; /* 0x2B070841: ja 0x2b070849 */ 16487 L_2B070843: 16488 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070843: call dword ptr [0x2b0b51a8] */ 16489 RECOMP_FLAGS_IN(); 16490 L_2B070849: 16491 /* test edi, edi */ /* 0x2B070849: test edi, edi */ 16492 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16493 _cf = 0; 16494 _flag_k = FK_TEST; 16495 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07089B; /* 0x2B07084B: jbe 0x2b07089b */ 16496 L_2B07084D: 16497 ecx = MEM32(ebp + 0xC); /* 0x2B07084D: mov ecx, dword ptr [ebp + 0xc] */ 16498 edx = MEM32(ecx + 0x8); /* 0x2B070850: mov edx, dword ptr [ecx + 8] */ 16499 eax = edi; /* 0x2B070853: mov eax, edi */ 16500 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 16501 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16502 eax = eax + edx; /* 0x2B070855: add eax, edx */ 16503 _flag_k = FK_ADD; 16504 PUSH32(esp, 0); /* 0x2B070857: push 0 */ 16505 PUSH32(esp, eax); /* 0x2B070859: push eax */ 16506 MEM32(ebp + (-0x18)) = eax; /* 0x2B07085A: mov dword ptr [ebp - 0x18], eax */ 16507 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07085D: call dword ptr [0x2b0b5154] */ 16508 RECOMP_FLAGS_IN(); 16509 /* test LO8(eax), LO8(eax) */ /* 0x2B070863: test al, al */ 16510 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 16511 _cf = 0; 16512 _flag_k = FK_NARROW(FK_TEST, 24); 16513 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07089B; /* 0x2B070865: je 0x2b07089b */ 16514 L_2B070867: 16515 eax = MEM32(ebp + 0xC); /* 0x2B070867: mov eax, dword ptr [ebp + 0xc] */ 16516 esi = MEM32(eax + 0x8); /* 0x2B07086A: mov esi, dword ptr [eax + 8] */ 16517 edx = MEM32(eax + 0x4); /* 0x2B07086D: mov edx, dword ptr [eax + 4] */ 16518 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 16519 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16520 edx = edx + esi; /* 0x2B070870: add edx, esi */ 16521 _flag_k = FK_ADD; 16522 ecx = edi; /* 0x2B070872: mov ecx, edi */ 16523 edi = edx; /* 0x2B070874: mov edi, edx */ 16524 edx = ecx; /* 0x2B070876: mov edx, ecx */ 16525 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070878: shr ecx, 2 */ 16526 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 16527 ecx = ecx >> 2u; /* 0x2B070878: shr ecx, 2 */ 16528 esi = 0x2B0EEE84u; /* 0x2B07087B: mov esi, 0x2b0eee84 */ 16529 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070880: 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; } 16530 ecx = edx; /* 0x2B070882: mov ecx, edx */ 16531 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 16532 ecx = ecx & 3; /* 0x2B070884: and ecx, 3 */ 16533 _cf = 0; 16534 _flag_k = FK_TEST; 16535 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070887: 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; } 16536 ecx = MEM32(ebp + (-0x18)); /* 0x2B070889: mov ecx, dword ptr [ebp - 0x18] */ 16537 PUSH32(esp, ecx); /* 0x2B07088C: push ecx */ 16538 ecx = eax; /* 0x2B07088D: mov ecx, eax */ 16539 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07088F: call dword ptr [0x2b0b5150] */ 16540 RECOMP_FLAGS_IN(); 16541 esi = MEM32(0x2B0B5A74); /* 0x2B070895: mov esi, dword ptr [0x2b0b5a74] */ 16542 L_2B07089B: 16543 edx = MEM32(ebx + 0x28); /* 0x2B07089B: mov edx, dword ptr [ebx + 0x28] */ 16544 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 16545 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07089E: or ecx, 0xffffffff */ 16546 _cf = 0; 16547 _flag_k = FK_TEST; 16548 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16549 eax = 0; /* 0x2B0708A1: xor eax, eax */ 16550 _cf = 0; 16551 _flag_k = FK_TEST; 16552 edi = 0x2B0EB7F8u; /* 0x2B0708A3: mov edi, 0x2b0eb7f8 */ 16553 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; } /* 0x2B0708A8: repne scasb al, byte ptr es:[edi] */ 16554 eax = MEM32(0x2B0B515C); /* 0x2B0708AA: mov eax, dword ptr [0x2b0b515c] */ 16555 ecx = ~ecx; /* 0x2B0708AF: not ecx */ 16556 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 16557 ecx = ecx - 1; /* 0x2B0708B1: dec ecx */ 16558 _flag_k = FK_DEC; 16559 edi = ecx; /* 0x2B0708B2: mov edi, ecx */ 16560 ecx = MEM32(eax); /* 0x2B0708B4: mov ecx, dword ptr [eax] */ 16561 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 16562 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16563 ecx = ecx - MEM32(edx + 0x8); /* 0x2B0708B6: sub ecx, dword ptr [edx + 8] */ 16564 _flag_k = FK_CMP; 16565 /* cmp ecx, edi */ /* 0x2B0708B9: cmp ecx, edi */ 16566 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 16567 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16568 _flag_k = FK_CMP; 16569 MEM32(ebp + 0xC) = edx; /* 0x2B0708BB: mov dword ptr [ebp + 0xc], edx */ 16570 if (CMP_A(_flag_a, _flag_b)) goto L_2B0708C6; /* 0x2B0708BE: ja 0x2b0708c6 */ 16571 L_2B0708C0: 16572 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0708C0: call dword ptr [0x2b0b51a8] */ 16573 RECOMP_FLAGS_IN(); 16574 L_2B0708C6: 16575 /* test edi, edi */ /* 0x2B0708C6: test edi, edi */ 16576 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16577 _cf = 0; 16578 _flag_k = FK_TEST; 16579 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070918; /* 0x2B0708C8: jbe 0x2b070918 */ 16580 L_2B0708CA: 16581 ecx = MEM32(ebp + 0xC); /* 0x2B0708CA: mov ecx, dword ptr [ebp + 0xc] */ 16582 edx = MEM32(ecx + 0x8); /* 0x2B0708CD: mov edx, dword ptr [ecx + 8] */ 16583 eax = edi; /* 0x2B0708D0: mov eax, edi */ 16584 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 16585 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16586 eax = eax + edx; /* 0x2B0708D2: add eax, edx */ 16587 _flag_k = FK_ADD; 16588 PUSH32(esp, 0); /* 0x2B0708D4: push 0 */ 16589 PUSH32(esp, eax); /* 0x2B0708D6: push eax */ 16590 MEM32(ebp + (-0x18)) = eax; /* 0x2B0708D7: mov dword ptr [ebp - 0x18], eax */ 16591 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0708DA: call dword ptr [0x2b0b5154] */ 16592 RECOMP_FLAGS_IN(); 16593 /* test LO8(eax), LO8(eax) */ /* 0x2B0708E0: test al, al */ 16594 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 16595 _cf = 0; 16596 _flag_k = FK_NARROW(FK_TEST, 24); 16597 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070918; /* 0x2B0708E2: je 0x2b070918 */ 16598 L_2B0708E4: 16599 eax = MEM32(ebp + 0xC); /* 0x2B0708E4: mov eax, dword ptr [ebp + 0xc] */ 16600 esi = MEM32(eax + 0x8); /* 0x2B0708E7: mov esi, dword ptr [eax + 8] */ 16601 edx = MEM32(eax + 0x4); /* 0x2B0708EA: mov edx, dword ptr [eax + 4] */ 16602 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 16603 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16604 edx = edx + esi; /* 0x2B0708ED: add edx, esi */ 16605 _flag_k = FK_ADD; 16606 ecx = edi; /* 0x2B0708EF: mov ecx, edi */ 16607 edi = edx; /* 0x2B0708F1: mov edi, edx */ 16608 edx = ecx; /* 0x2B0708F3: mov edx, ecx */ 16609 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0708F5: shr ecx, 2 */ 16610 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 16611 ecx = ecx >> 2u; /* 0x2B0708F5: shr ecx, 2 */ 16612 esi = 0x2B0EB7F8u; /* 0x2B0708F8: mov esi, 0x2b0eb7f8 */ 16613 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0708FD: 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; } 16614 ecx = edx; /* 0x2B0708FF: mov ecx, edx */ 16615 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 16616 ecx = ecx & 3; /* 0x2B070901: and ecx, 3 */ 16617 _cf = 0; 16618 _flag_k = FK_TEST; 16619 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070904: 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; } 16620 ecx = MEM32(ebp + (-0x18)); /* 0x2B070906: mov ecx, dword ptr [ebp - 0x18] */ 16621 PUSH32(esp, ecx); /* 0x2B070909: push ecx */ 16622 ecx = eax; /* 0x2B07090A: mov ecx, eax */ 16623 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07090C: call dword ptr [0x2b0b5150] */ 16624 RECOMP_FLAGS_IN(); 16625 esi = MEM32(0x2B0B5A74); /* 0x2B070912: mov esi, dword ptr [0x2b0b5a74] */ 16626 L_2B070918: 16627 ecx = MEM32(ebx + 0x28); /* 0x2B070918: mov ecx, dword ptr [ebx + 0x28] */ 16628 PUSH32(esp, 0x14u); /* 0x2B07091B: push 0x14 */ 16629 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07091D: push -1 */ 16630 RECOMP_ICALL(esi); /* 0x2B07091F: call esi */ 16631 RECOMP_FLAGS_IN(); 16632 edi = MEM32(ebp + (-0x14)); /* 0x2B070921: mov edi, dword ptr [ebp - 0x14] */ 16633 edx = MEM32(ebx + 0x28); /* 0x2B070924: mov edx, dword ptr [ebx + 0x28] */ 16634 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 16635 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070927: or ecx, 0xffffffff */ 16636 _cf = 0; 16637 _flag_k = FK_TEST; 16638 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16639 eax = 0; /* 0x2B07092A: xor eax, eax */ 16640 _cf = 0; 16641 _flag_k = FK_TEST; 16642 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; } /* 0x2B07092C: repne scasb al, byte ptr es:[edi] */ 16643 eax = MEM32(0x2B0B515C); /* 0x2B07092E: mov eax, dword ptr [0x2b0b515c] */ 16644 ecx = ~ecx; /* 0x2B070933: not ecx */ 16645 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 16646 ecx = ecx - 1; /* 0x2B070935: dec ecx */ 16647 _flag_k = FK_DEC; 16648 edi = ecx; /* 0x2B070936: mov edi, ecx */ 16649 ecx = MEM32(eax); /* 0x2B070938: mov ecx, dword ptr [eax] */ 16650 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 16651 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16652 ecx = ecx - MEM32(edx + 0x8); /* 0x2B07093A: sub ecx, dword ptr [edx + 8] */ 16653 _flag_k = FK_CMP; 16654 /* cmp ecx, edi */ /* 0x2B07093D: cmp ecx, edi */ 16655 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 16656 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16657 _flag_k = FK_CMP; 16658 MEM32(ebp + 0xC) = edx; /* 0x2B07093F: mov dword ptr [ebp + 0xc], edx */ 16659 if (CMP_A(_flag_a, _flag_b)) goto L_2B07094A; /* 0x2B070942: ja 0x2b07094a */ 16660 L_2B070944: 16661 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070944: call dword ptr [0x2b0b51a8] */ 16662 RECOMP_FLAGS_IN(); 16663 L_2B07094A: 16664 /* test edi, edi */ /* 0x2B07094A: test edi, edi */ 16665 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16666 _cf = 0; 16667 _flag_k = FK_TEST; 16668 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07099A; /* 0x2B07094C: jbe 0x2b07099a */ 16669 L_2B07094E: 16670 ecx = MEM32(ebp + 0xC); /* 0x2B07094E: mov ecx, dword ptr [ebp + 0xc] */ 16671 edx = MEM32(ecx + 0x8); /* 0x2B070951: mov edx, dword ptr [ecx + 8] */ 16672 eax = edi; /* 0x2B070954: mov eax, edi */ 16673 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 16674 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16675 eax = eax + edx; /* 0x2B070956: add eax, edx */ 16676 _flag_k = FK_ADD; 16677 PUSH32(esp, 0); /* 0x2B070958: push 0 */ 16678 PUSH32(esp, eax); /* 0x2B07095A: push eax */ 16679 MEM32(ebp + (-0x18)) = eax; /* 0x2B07095B: mov dword ptr [ebp - 0x18], eax */ 16680 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07095E: call dword ptr [0x2b0b5154] */ 16681 RECOMP_FLAGS_IN(); 16682 /* test LO8(eax), LO8(eax) */ /* 0x2B070964: test al, al */ 16683 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 16684 _cf = 0; 16685 _flag_k = FK_NARROW(FK_TEST, 24); 16686 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07099A; /* 0x2B070966: je 0x2b07099a */ 16687 L_2B070968: 16688 eax = MEM32(ebp + 0xC); /* 0x2B070968: mov eax, dword ptr [ebp + 0xc] */ 16689 esi = MEM32(eax + 0x8); /* 0x2B07096B: mov esi, dword ptr [eax + 8] */ 16690 edx = MEM32(eax + 0x4); /* 0x2B07096E: mov edx, dword ptr [eax + 4] */ 16691 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 16692 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16693 edx = edx + esi; /* 0x2B070971: add edx, esi */ 16694 _flag_k = FK_ADD; 16695 esi = MEM32(ebp + (-0x14)); /* 0x2B070973: mov esi, dword ptr [ebp - 0x14] */ 16696 ecx = edi; /* 0x2B070976: mov ecx, edi */ 16697 edi = edx; /* 0x2B070978: mov edi, edx */ 16698 edx = ecx; /* 0x2B07097A: mov edx, ecx */ 16699 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07097C: shr ecx, 2 */ 16700 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 16701 ecx = ecx >> 2u; /* 0x2B07097C: shr ecx, 2 */ 16702 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07097F: 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; } 16703 ecx = edx; /* 0x2B070981: mov ecx, edx */ 16704 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 16705 ecx = ecx & 3; /* 0x2B070983: and ecx, 3 */ 16706 _cf = 0; 16707 _flag_k = FK_TEST; 16708 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070986: 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; } 16709 ecx = MEM32(ebp + (-0x18)); /* 0x2B070988: mov ecx, dword ptr [ebp - 0x18] */ 16710 PUSH32(esp, ecx); /* 0x2B07098B: push ecx */ 16711 ecx = eax; /* 0x2B07098C: mov ecx, eax */ 16712 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07098E: call dword ptr [0x2b0b5150] */ 16713 RECOMP_FLAGS_IN(); 16714 esi = MEM32(0x2B0B5A74); /* 0x2B070994: mov esi, dword ptr [0x2b0b5a74] */ 16715 L_2B07099A: 16716 edx = MEM32(ebx + 0x28); /* 0x2B07099A: mov edx, dword ptr [ebx + 0x28] */ 16717 eax = MEM32(ebp + 0x8); /* 0x2B07099D: mov eax, dword ptr [ebp + 8] */ 16718 PUSH32(esp, edx); /* 0x2B0709A0: push edx */ 16719 PUSH32(esp, eax); /* 0x2B0709A1: push eax */ 16720 ecx = ebx; /* 0x2B0709A2: mov ecx, ebx */ 16721 RECOMP_ICALL(0x2B074500u); /* 0x2B0709A4: call 0x2b074500 */ /* not lifted */ 16722 RECOMP_FLAGS_IN(); 16723 edi = MEM32(ebp + 0x8); /* 0x2B0709A9: mov edi, dword ptr [ebp + 8] */ 16724 L_2B0709AC: 16725 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B0709AC: call dword ptr [0x2b0b5b64] */ 16726 RECOMP_FLAGS_IN(); 16727 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 16728 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16729 eax = eax + 0xD4u; /* 0x2B0709B2: add eax, 0xd4 */ 16730 _flag_k = FK_ADD; 16731 ecx = ebp + (-0x20); /* 0x2B0709B7: lea ecx, [ebp - 0x20] */ 16732 /* cmp ecx, eax */ /* 0x2B0709BA: cmp ecx, eax */ 16733 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 16734 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16735 _flag_k = FK_CMP; 16736 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0709C5; /* 0x2B0709BC: je 0x2b0709c5 */ 16737 L_2B0709BE: 16738 ecx = MEM32(eax); /* 0x2B0709BE: mov ecx, dword ptr [eax] */ 16739 eax = MEM32(eax + 0x4); /* 0x2B0709C0: mov eax, dword ptr [eax + 4] */ 16740 goto L_2B0709CB; /* 0x2B0709C3: jmp 0x2b0709cb */ 16741 L_2B0709C5: 16742 eax = MEM32(ebp + (-0x1C)); /* 0x2B0709C5: mov eax, dword ptr [ebp - 0x1c] */ 16743 ecx = MEM32(ebp + (-0x20)); /* 0x2B0709C8: mov ecx, dword ptr [ebp - 0x20] */ 16744 L_2B0709CB: 16745 /* cmp MEM32(edi + 0x4), eax */ /* 0x2B0709CB: cmp dword ptr [edi + 4], eax */ 16746 _flag_a = (uint32_t)(MEM32(edi + 0x4)); _flag_b = (uint32_t)(eax); 16747 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16748 _flag_k = FK_CMP; 16749 if (CMP_NE(_flag_a, _flag_b)) goto L_2B070ACB; /* 0x2B0709CE: jne 0x2b070acb */ 16750 L_2B0709D4: 16751 /* cmp MEM32(edi), ecx */ /* 0x2B0709D4: cmp dword ptr [edi], ecx */ 16752 _flag_a = (uint32_t)(MEM32(edi)); _flag_b = (uint32_t)(ecx); 16753 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16754 _flag_k = FK_CMP; 16755 if (CMP_NE(_flag_a, _flag_b)) goto L_2B070ACB; /* 0x2B0709D6: jne 0x2b070acb */ 16756 L_2B0709DC: 16757 SET_LO8(edx, MEM8(ebp + 0xF)); /* 0x2B0709DC: mov dl, byte ptr [ebp + 0xf] */ 16758 PUSH32(esp, 0); /* 0x2B0709DF: push 0 */ 16759 ecx = ebp + (-0x30); /* 0x2B0709E1: lea ecx, [ebp - 0x30] */ 16760 MEM8(ebp + (-0x30)) = (uint8_t)(LO8(edx)); /* 0x2B0709E4: mov byte ptr [ebp - 0x30], dl */ 16761 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0709E7: call dword ptr [0x2b0b514c] */ 16762 RECOMP_FLAGS_IN(); 16763 eax = ebp + (-0x30); /* 0x2B0709ED: lea eax, [ebp - 0x30] */ 16764 PUSH32(esp, eax); /* 0x2B0709F0: push eax */ 16765 MEM32(ebp + (-0x4)) = 0; /* 0x2B0709F1: mov dword ptr [ebp - 4], 0 */ 16766 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0709F8: call dword ptr [0x2b0b5d6c] */ 16767 RECOMP_FLAGS_IN(); 16768 ecx = eax; /* 0x2B0709FE: mov ecx, eax */ 16769 RECOMP_ICALL(MEM32(0x2B0B5D7C)); /* 0x2B070A00: call dword ptr [0x2b0b5d7c] */ 16770 RECOMP_FLAGS_IN(); 16771 /* test LO8(eax), LO8(eax) */ /* 0x2B070A06: test al, al */ 16772 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 16773 _cf = 0; 16774 _flag_k = FK_NARROW(FK_TEST, 24); 16775 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070AB9; /* 0x2B070A08: je 0x2b070ab9 */ 16776 L_2B070A0E: 16777 ecx = MEM32(ebx + 0x28); /* 0x2B070A0E: mov ecx, dword ptr [ebx + 0x28] */ 16778 PUSH32(esp, 0x13u); /* 0x2B070A11: push 0x13 */ 16779 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070A13: push -1 */ 16780 RECOMP_ICALL(esi); /* 0x2B070A15: call esi */ 16781 RECOMP_FLAGS_IN(); 16782 edx = MEM32(ebx + 0x28); /* 0x2B070A17: mov edx, dword ptr [ebx + 0x28] */ 16783 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 16784 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070A1A: or ecx, 0xffffffff */ 16785 _cf = 0; 16786 _flag_k = FK_TEST; 16787 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16788 eax = 0; /* 0x2B070A1D: xor eax, eax */ 16789 _cf = 0; 16790 _flag_k = FK_TEST; 16791 edi = 0x2B0EB7F0u; /* 0x2B070A1F: mov edi, 0x2b0eb7f0 */ 16792 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; } /* 0x2B070A24: repne scasb al, byte ptr es:[edi] */ 16793 ecx = ~ecx; /* 0x2B070A26: not ecx */ 16794 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 16795 ecx = ecx - 1; /* 0x2B070A28: dec ecx */ 16796 _flag_k = FK_DEC; 16797 edi = ecx; /* 0x2B070A29: mov edi, ecx */ 16798 ecx = MEM32(0x2B0B515C); /* 0x2B070A2B: mov ecx, dword ptr [0x2b0b515c] */ 16799 eax = MEM32(ecx); /* 0x2B070A31: mov eax, dword ptr [ecx] */ 16800 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 16801 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16802 eax = eax - MEM32(edx + 0x8); /* 0x2B070A33: sub eax, dword ptr [edx + 8] */ 16803 _flag_k = FK_CMP; 16804 /* cmp eax, edi */ /* 0x2B070A36: cmp eax, edi */ 16805 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 16806 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16807 _flag_k = FK_CMP; 16808 MEM32(ebp + 0xC) = edx; /* 0x2B070A38: mov dword ptr [ebp + 0xc], edx */ 16809 if (CMP_A(_flag_a, _flag_b)) goto L_2B070A43; /* 0x2B070A3B: ja 0x2b070a43 */ 16810 L_2B070A3D: 16811 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070A3D: call dword ptr [0x2b0b51a8] */ 16812 RECOMP_FLAGS_IN(); 16813 L_2B070A43: 16814 /* test edi, edi */ /* 0x2B070A43: test edi, edi */ 16815 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16816 _cf = 0; 16817 _flag_k = FK_TEST; 16818 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070A95; /* 0x2B070A45: jbe 0x2b070a95 */ 16819 L_2B070A47: 16820 ecx = MEM32(ebp + 0xC); /* 0x2B070A47: mov ecx, dword ptr [ebp + 0xc] */ 16821 edx = MEM32(ecx + 0x8); /* 0x2B070A4A: mov edx, dword ptr [ecx + 8] */ 16822 eax = edi; /* 0x2B070A4D: mov eax, edi */ 16823 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 16824 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16825 eax = eax + edx; /* 0x2B070A4F: add eax, edx */ 16826 _flag_k = FK_ADD; 16827 PUSH32(esp, 0); /* 0x2B070A51: push 0 */ 16828 PUSH32(esp, eax); /* 0x2B070A53: push eax */ 16829 MEM32(ebp + (-0x18)) = eax; /* 0x2B070A54: mov dword ptr [ebp - 0x18], eax */ 16830 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070A57: call dword ptr [0x2b0b5154] */ 16831 RECOMP_FLAGS_IN(); 16832 /* test LO8(eax), LO8(eax) */ /* 0x2B070A5D: test al, al */ 16833 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 16834 _cf = 0; 16835 _flag_k = FK_NARROW(FK_TEST, 24); 16836 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070A95; /* 0x2B070A5F: je 0x2b070a95 */ 16837 L_2B070A61: 16838 eax = MEM32(ebp + 0xC); /* 0x2B070A61: mov eax, dword ptr [ebp + 0xc] */ 16839 esi = MEM32(eax + 0x8); /* 0x2B070A64: mov esi, dword ptr [eax + 8] */ 16840 edx = MEM32(eax + 0x4); /* 0x2B070A67: mov edx, dword ptr [eax + 4] */ 16841 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 16842 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16843 edx = edx + esi; /* 0x2B070A6A: add edx, esi */ 16844 _flag_k = FK_ADD; 16845 ecx = edi; /* 0x2B070A6C: mov ecx, edi */ 16846 edi = edx; /* 0x2B070A6E: mov edi, edx */ 16847 edx = ecx; /* 0x2B070A70: mov edx, ecx */ 16848 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070A72: shr ecx, 2 */ 16849 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 16850 ecx = ecx >> 2u; /* 0x2B070A72: shr ecx, 2 */ 16851 esi = 0x2B0EB7F0u; /* 0x2B070A75: mov esi, 0x2b0eb7f0 */ 16852 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070A7A: 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; } 16853 ecx = edx; /* 0x2B070A7C: mov ecx, edx */ 16854 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 16855 ecx = ecx & 3; /* 0x2B070A7E: and ecx, 3 */ 16856 _cf = 0; 16857 _flag_k = FK_TEST; 16858 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070A81: 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; } 16859 ecx = MEM32(ebp + (-0x18)); /* 0x2B070A83: mov ecx, dword ptr [ebp - 0x18] */ 16860 PUSH32(esp, ecx); /* 0x2B070A86: push ecx */ 16861 ecx = eax; /* 0x2B070A87: mov ecx, eax */ 16862 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B070A89: call dword ptr [0x2b0b5150] */ 16863 RECOMP_FLAGS_IN(); 16864 esi = MEM32(0x2B0B5A74); /* 0x2B070A8F: mov esi, dword ptr [0x2b0b5a74] */ 16865 L_2B070A95: 16866 ecx = MEM32(ebx + 0x28); /* 0x2B070A95: mov ecx, dword ptr [ebx + 0x28] */ 16867 PUSH32(esp, 0x14u); /* 0x2B070A98: push 0x14 */ 16868 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070A9A: push -1 */ 16869 RECOMP_ICALL(esi); /* 0x2B070A9C: call esi */ 16870 RECOMP_FLAGS_IN(); 16871 edx = MEM32(0x2B0B515C); /* 0x2B070A9E: mov edx, dword ptr [0x2b0b515c] */ 16872 eax = MEM32(edx); /* 0x2B070AA4: mov eax, dword ptr [edx] */ 16873 ecx = MEM32(ebx + 0x28); /* 0x2B070AA6: mov ecx, dword ptr [ebx + 0x28] */ 16874 PUSH32(esp, eax); /* 0x2B070AA9: push eax */ 16875 PUSH32(esp, 0); /* 0x2B070AAA: push 0 */ 16876 edx = ebp + (-0x30); /* 0x2B070AAC: lea edx, [ebp - 0x30] */ 16877 PUSH32(esp, edx); /* 0x2B070AAF: push edx */ 16878 RECOMP_ICALL(MEM32(0x2B0B51A0)); /* 0x2B070AB0: call dword ptr [0x2b0b51a0] */ 16879 RECOMP_FLAGS_IN(); 16880 edi = MEM32(ebp + 0x8); /* 0x2B070AB6: mov edi, dword ptr [ebp + 8] */ 16881 L_2B070AB9: 16882 PUSH32(esp, 1); /* 0x2B070AB9: push 1 */ 16883 ecx = ebp + (-0x30); /* 0x2B070ABB: lea ecx, [ebp - 0x30] */ 16884 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B070ABE: mov dword ptr [ebp - 4], 0xffffffff */ 16885 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B070AC5: call dword ptr [0x2b0b514c] */ 16886 RECOMP_FLAGS_IN(); 16887 L_2B070ACB: 16888 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B070ACB: call dword ptr [0x2b0b5b64] */ 16889 RECOMP_FLAGS_IN(); 16890 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 16891 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16892 eax = eax + 0xD4u; /* 0x2B070AD1: add eax, 0xd4 */ 16893 _flag_k = FK_ADD; 16894 ecx = ebp + (-0x20); /* 0x2B070AD6: lea ecx, [ebp - 0x20] */ 16895 /* cmp ecx, eax */ /* 0x2B070AD9: cmp ecx, eax */ 16896 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 16897 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16898 _flag_k = FK_CMP; 16899 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B070AE4; /* 0x2B070ADB: je 0x2b070ae4 */ 16900 L_2B070ADD: 16901 ecx = MEM32(eax); /* 0x2B070ADD: mov ecx, dword ptr [eax] */ 16902 eax = MEM32(eax + 0x4); /* 0x2B070ADF: mov eax, dword ptr [eax + 4] */ 16903 goto L_2B070AEA; /* 0x2B070AE2: jmp 0x2b070aea */ 16904 L_2B070AE4: 16905 eax = MEM32(ebp + (-0x1C)); /* 0x2B070AE4: mov eax, dword ptr [ebp - 0x1c] */ 16906 ecx = MEM32(ebp + (-0x20)); /* 0x2B070AE7: mov ecx, dword ptr [ebp - 0x20] */ 16907 L_2B070AEA: 16908 /* cmp MEM32(edi + 0x4), eax */ /* 0x2B070AEA: cmp dword ptr [edi + 4], eax */ 16909 _flag_a = (uint32_t)(MEM32(edi + 0x4)); _flag_b = (uint32_t)(eax); 16910 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16911 _flag_k = FK_CMP; 16912 if (CMP_NE(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070AED: jne 0x2b070e97 */ 16913 L_2B070AF3: 16914 edx = MEM32(ebp + 0x8); /* 0x2B070AF3: mov edx, dword ptr [ebp + 8] */ 16915 /* cmp MEM32(edx), ecx */ /* 0x2B070AF6: cmp dword ptr [edx], ecx */ 16916 _flag_a = (uint32_t)(MEM32(edx)); _flag_b = (uint32_t)(ecx); 16917 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16918 _flag_k = FK_CMP; 16919 if (CMP_NE(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070AF8: jne 0x2b070e97 */ 16920 L_2B070AFE: 16921 ecx = MEM32(ebx + 0x28); /* 0x2B070AFE: mov ecx, dword ptr [ebx + 0x28] */ 16922 PUSH32(esp, 0x13u); /* 0x2B070B01: push 0x13 */ 16923 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070B03: push -1 */ 16924 RECOMP_ICALL(esi); /* 0x2B070B05: call esi */ 16925 RECOMP_FLAGS_IN(); 16926 edx = MEM32(ebx + 0x28); /* 0x2B070B07: mov edx, dword ptr [ebx + 0x28] */ 16927 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 16928 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070B0A: or ecx, 0xffffffff */ 16929 _cf = 0; 16930 _flag_k = FK_TEST; 16931 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16932 eax = 0; /* 0x2B070B0D: xor eax, eax */ 16933 _cf = 0; 16934 _flag_k = FK_TEST; 16935 edi = 0x2B0EB7D8u; /* 0x2B070B0F: mov edi, 0x2b0eb7d8 */ 16936 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; } /* 0x2B070B14: repne scasb al, byte ptr es:[edi] */ 16937 eax = MEM32(0x2B0B515C); /* 0x2B070B16: mov eax, dword ptr [0x2b0b515c] */ 16938 ecx = ~ecx; /* 0x2B070B1B: not ecx */ 16939 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 16940 ecx = ecx - 1; /* 0x2B070B1D: dec ecx */ 16941 _flag_k = FK_DEC; 16942 edi = ecx; /* 0x2B070B1E: mov edi, ecx */ 16943 ecx = MEM32(eax); /* 0x2B070B20: mov ecx, dword ptr [eax] */ 16944 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 16945 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16946 ecx = ecx - MEM32(edx + 0x8); /* 0x2B070B22: sub ecx, dword ptr [edx + 8] */ 16947 _flag_k = FK_CMP; 16948 /* cmp ecx, edi */ /* 0x2B070B25: cmp ecx, edi */ 16949 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 16950 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16951 _flag_k = FK_CMP; 16952 MEM32(ebp + 0xC) = edx; /* 0x2B070B27: mov dword ptr [ebp + 0xc], edx */ 16953 if (CMP_A(_flag_a, _flag_b)) goto L_2B070B32; /* 0x2B070B2A: ja 0x2b070b32 */ 16954 L_2B070B2C: 16955 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070B2C: call dword ptr [0x2b0b51a8] */ 16956 RECOMP_FLAGS_IN(); 16957 L_2B070B32: 16958 /* test edi, edi */ /* 0x2B070B32: test edi, edi */ 16959 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16960 _cf = 0; 16961 _flag_k = FK_TEST; 16962 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070B84; /* 0x2B070B34: jbe 0x2b070b84 */ 16963 L_2B070B36: 16964 ecx = MEM32(ebp + 0xC); /* 0x2B070B36: mov ecx, dword ptr [ebp + 0xc] */ 16965 edx = MEM32(ecx + 0x8); /* 0x2B070B39: mov edx, dword ptr [ecx + 8] */ 16966 eax = edi; /* 0x2B070B3C: mov eax, edi */ 16967 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 16968 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16969 eax = eax + edx; /* 0x2B070B3E: add eax, edx */ 16970 _flag_k = FK_ADD; 16971 PUSH32(esp, 0); /* 0x2B070B40: push 0 */ 16972 PUSH32(esp, eax); /* 0x2B070B42: push eax */ 16973 MEM32(ebp + (-0x18)) = eax; /* 0x2B070B43: mov dword ptr [ebp - 0x18], eax */ 16974 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070B46: call dword ptr [0x2b0b5154] */ 16975 RECOMP_FLAGS_IN(); 16976 /* test LO8(eax), LO8(eax) */ /* 0x2B070B4C: test al, al */ 16977 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 16978 _cf = 0; 16979 _flag_k = FK_NARROW(FK_TEST, 24); 16980 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070B84; /* 0x2B070B4E: je 0x2b070b84 */ 16981 L_2B070B50: 16982 eax = MEM32(ebp + 0xC); /* 0x2B070B50: mov eax, dword ptr [ebp + 0xc] */ 16983 esi = MEM32(eax + 0x8); /* 0x2B070B53: mov esi, dword ptr [eax + 8] */ 16984 edx = MEM32(eax + 0x4); /* 0x2B070B56: mov edx, dword ptr [eax + 4] */ 16985 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 16986 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16987 edx = edx + esi; /* 0x2B070B59: add edx, esi */ 16988 _flag_k = FK_ADD; 16989 ecx = edi; /* 0x2B070B5B: mov ecx, edi */ 16990 edi = edx; /* 0x2B070B5D: mov edi, edx */ 16991 edx = ecx; /* 0x2B070B5F: mov edx, ecx */ 16992 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070B61: shr ecx, 2 */ 16993 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 16994 ecx = ecx >> 2u; /* 0x2B070B61: shr ecx, 2 */ 16995 esi = 0x2B0EB7D8u; /* 0x2B070B64: mov esi, 0x2b0eb7d8 */ 16996 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070B69: 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; } 16997 ecx = edx; /* 0x2B070B6B: mov ecx, edx */ 16998 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 16999 ecx = ecx & 3; /* 0x2B070B6D: and ecx, 3 */ 17000 _cf = 0; 17001 _flag_k = FK_TEST; 17002 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070B70: 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; } 17003 ecx = MEM32(ebp + (-0x18)); /* 0x2B070B72: mov ecx, dword ptr [ebp - 0x18] */ 17004 PUSH32(esp, ecx); /* 0x2B070B75: push ecx */ 17005 ecx = eax; /* 0x2B070B76: mov ecx, eax */ 17006 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B070B78: call dword ptr [0x2b0b5150] */ 17007 RECOMP_FLAGS_IN(); 17008 esi = MEM32(0x2B0B5A74); /* 0x2B070B7E: mov esi, dword ptr [0x2b0b5a74] */ 17009 L_2B070B84: 17010 ecx = MEM32(ebx + 0x28); /* 0x2B070B84: mov ecx, dword ptr [ebx + 0x28] */ 17011 PUSH32(esp, 0x14u); /* 0x2B070B87: push 0x14 */ 17012 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070B89: push -1 */ 17013 RECOMP_ICALL(esi); /* 0x2B070B8B: call esi */ 17014 RECOMP_FLAGS_IN(); 17015 edx = MEM32(ebp + 0x8); /* 0x2B070B8D: mov edx, dword ptr [ebp + 8] */ 17016 PUSH32(esp, 0x1D6u); /* 0x2B070B90: push 0x1d6 */ 17017 PUSH32(esp, edx); /* 0x2B070B95: push edx */ 17018 ecx = ebx; /* 0x2B070B96: mov ecx, ebx */ 17019 RECOMP_ICALL(0x2B0735D0u); /* 0x2B070B98: call 0x2b0735d0 */ /* not lifted */ 17020 RECOMP_FLAGS_IN(); 17021 /* test eax, eax */ /* 0x2B070B9D: test eax, eax */ 17022 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 17023 _cf = 0; 17024 _flag_k = FK_TEST; 17025 MEM32(ebp + 0xC) = eax; /* 0x2B070B9F: mov dword ptr [ebp + 0xc], eax */ 17026 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B070C1F; /* 0x2B070BA2: jne 0x2b070c1f */ 17027 L_2B070BA4: 17028 edx = MEM32(ebx + 0x28); /* 0x2B070BA4: mov edx, dword ptr [ebx + 0x28] */ 17029 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 17030 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070BA7: or ecx, 0xffffffff */ 17031 _cf = 0; 17032 _flag_k = FK_TEST; 17033 edi = 0x2B0EB7D0u; /* 0x2B070BAA: mov edi, 0x2b0eb7d0 */ 17034 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; } /* 0x2B070BAF: repne scasb al, byte ptr es:[edi] */ 17035 eax = MEM32(0x2B0B515C); /* 0x2B070BB1: mov eax, dword ptr [0x2b0b515c] */ 17036 edi = MEM32(edx + 0x8); /* 0x2B070BB6: mov edi, dword ptr [edx + 8] */ 17037 ecx = ~ecx; /* 0x2B070BB9: not ecx */ 17038 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17039 ecx = ecx - 1; /* 0x2B070BBB: dec ecx */ 17040 _flag_k = FK_DEC; 17041 esi = ecx; /* 0x2B070BBC: mov esi, ecx */ 17042 ecx = MEM32(eax); /* 0x2B070BBE: mov ecx, dword ptr [eax] */ 17043 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 17044 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17045 ecx = ecx - edi; /* 0x2B070BC0: sub ecx, edi */ 17046 _flag_k = FK_CMP; 17047 /* cmp ecx, esi */ /* 0x2B070BC2: cmp ecx, esi */ 17048 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 17049 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17050 _flag_k = FK_CMP; 17051 MEM32(ebp + 0xC) = edx; /* 0x2B070BC4: mov dword ptr [ebp + 0xc], edx */ 17052 if (CMP_A(_flag_a, _flag_b)) goto L_2B070BD2; /* 0x2B070BC7: ja 0x2b070bd2 */ 17053 L_2B070BC9: 17054 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070BC9: call dword ptr [0x2b0b51a8] */ 17055 RECOMP_FLAGS_IN(); 17056 edx = MEM32(ebp + 0xC); /* 0x2B070BCF: mov edx, dword ptr [ebp + 0xc] */ 17057 L_2B070BD2: 17058 /* test esi, esi */ /* 0x2B070BD2: test esi, esi */ 17059 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 17060 _cf = 0; 17061 _flag_k = FK_TEST; 17062 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070BD4: jbe 0x2b070e97 */ 17063 L_2B070BDA: 17064 edi = MEM32(edx + 0x8); /* 0x2B070BDA: mov edi, dword ptr [edx + 8] */ 17065 eax = esi; /* 0x2B070BDD: mov eax, esi */ 17066 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 17067 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17068 eax = eax + edi; /* 0x2B070BDF: add eax, edi */ 17069 _flag_k = FK_ADD; 17070 PUSH32(esp, 0); /* 0x2B070BE1: push 0 */ 17071 PUSH32(esp, eax); /* 0x2B070BE3: push eax */ 17072 ecx = edx; /* 0x2B070BE4: mov ecx, edx */ 17073 MEM32(ebp + (-0x18)) = eax; /* 0x2B070BE6: mov dword ptr [ebp - 0x18], eax */ 17074 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070BE9: call dword ptr [0x2b0b5154] */ 17075 RECOMP_FLAGS_IN(); 17076 /* test LO8(eax), LO8(eax) */ /* 0x2B070BEF: test al, al */ 17077 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17078 _cf = 0; 17079 _flag_k = FK_NARROW(FK_TEST, 24); 17080 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070BF1: je 0x2b070e97 */ 17081 L_2B070BF7: 17082 edx = MEM32(ebp + 0xC); /* 0x2B070BF7: mov edx, dword ptr [ebp + 0xc] */ 17083 ecx = MEM32(edx + 0x4); /* 0x2B070BFA: mov ecx, dword ptr [edx + 4] */ 17084 edi = MEM32(edx + 0x8); /* 0x2B070BFD: mov edi, dword ptr [edx + 8] */ 17085 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 17086 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17087 edi = edi + ecx; /* 0x2B070C00: add edi, ecx */ 17088 _flag_k = FK_ADD; 17089 ecx = esi; /* 0x2B070C02: mov ecx, esi */ 17090 eax = ecx; /* 0x2B070C04: mov eax, ecx */ 17091 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070C06: shr ecx, 2 */ 17092 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17093 ecx = ecx >> 2u; /* 0x2B070C06: shr ecx, 2 */ 17094 esi = 0x2B0EB7D0u; /* 0x2B070C09: mov esi, 0x2b0eb7d0 */ 17095 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070C0E: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 17096 ecx = eax; /* 0x2B070C10: mov ecx, eax */ 17097 eax = MEM32(ebp + (-0x18)); /* 0x2B070C12: mov eax, dword ptr [ebp - 0x18] */ 17098 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 17099 ecx = ecx & 3; /* 0x2B070C15: and ecx, 3 */ 17100 _cf = 0; 17101 _flag_k = FK_TEST; 17102 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070C18: 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; } 17103 goto L_2B070E8E; /* 0x2B070C1A: jmp 0x2b070e8e */ 17104 L_2B070C1F: 17105 /* test LO8(eax), 1 */ /* 0x2B070C1F: test al, 1 */ 17106 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 17107 _cf = 0; 17108 _flag_k = FK_NARROW(FK_TEST, 24); 17109 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070C9D; /* 0x2B070C21: je 0x2b070c9d */ 17110 L_2B070C23: 17111 edx = MEM32(ebx + 0x28); /* 0x2B070C23: mov edx, dword ptr [ebx + 0x28] */ 17112 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 17113 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070C26: or ecx, 0xffffffff */ 17114 _cf = 0; 17115 _flag_k = FK_TEST; 17116 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17117 eax = 0; /* 0x2B070C29: xor eax, eax */ 17118 _cf = 0; 17119 _flag_k = FK_TEST; 17120 edi = 0x2B0EB7C8u; /* 0x2B070C2B: mov edi, 0x2b0eb7c8 */ 17121 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; } /* 0x2B070C30: repne scasb al, byte ptr es:[edi] */ 17122 edi = MEM32(edx + 0x8); /* 0x2B070C32: mov edi, dword ptr [edx + 8] */ 17123 ecx = ~ecx; /* 0x2B070C35: not ecx */ 17124 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17125 ecx = ecx - 1; /* 0x2B070C37: dec ecx */ 17126 _flag_k = FK_DEC; 17127 esi = ecx; /* 0x2B070C38: mov esi, ecx */ 17128 ecx = MEM32(0x2B0B515C); /* 0x2B070C3A: mov ecx, dword ptr [0x2b0b515c] */ 17129 eax = MEM32(ecx); /* 0x2B070C40: mov eax, dword ptr [ecx] */ 17130 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 17131 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17132 eax = eax - edi; /* 0x2B070C42: sub eax, edi */ 17133 _flag_k = FK_CMP; 17134 /* cmp eax, esi */ /* 0x2B070C44: cmp eax, esi */ 17135 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 17136 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17137 _flag_k = FK_CMP; 17138 MEM32(ebp + (-0x14)) = edx; /* 0x2B070C46: mov dword ptr [ebp - 0x14], edx */ 17139 if (CMP_A(_flag_a, _flag_b)) goto L_2B070C54; /* 0x2B070C49: ja 0x2b070c54 */ 17140 L_2B070C4B: 17141 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070C4B: call dword ptr [0x2b0b51a8] */ 17142 RECOMP_FLAGS_IN(); 17143 edx = MEM32(ebp + (-0x14)); /* 0x2B070C51: mov edx, dword ptr [ebp - 0x14] */ 17144 L_2B070C54: 17145 /* test esi, esi */ /* 0x2B070C54: test esi, esi */ 17146 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 17147 _cf = 0; 17148 _flag_k = FK_TEST; 17149 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070C9D; /* 0x2B070C56: jbe 0x2b070c9d */ 17150 L_2B070C58: 17151 edi = MEM32(edx + 0x8); /* 0x2B070C58: mov edi, dword ptr [edx + 8] */ 17152 eax = esi; /* 0x2B070C5B: mov eax, esi */ 17153 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 17154 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17155 eax = eax + edi; /* 0x2B070C5D: add eax, edi */ 17156 _flag_k = FK_ADD; 17157 PUSH32(esp, 0); /* 0x2B070C5F: push 0 */ 17158 PUSH32(esp, eax); /* 0x2B070C61: push eax */ 17159 ecx = edx; /* 0x2B070C62: mov ecx, edx */ 17160 MEM32(ebp + (-0x18)) = eax; /* 0x2B070C64: mov dword ptr [ebp - 0x18], eax */ 17161 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070C67: call dword ptr [0x2b0b5154] */ 17162 RECOMP_FLAGS_IN(); 17163 /* test LO8(eax), LO8(eax) */ /* 0x2B070C6D: test al, al */ 17164 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17165 _cf = 0; 17166 _flag_k = FK_NARROW(FK_TEST, 24); 17167 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070C9D; /* 0x2B070C6F: je 0x2b070c9d */ 17168 L_2B070C71: 17169 edx = MEM32(ebp + (-0x14)); /* 0x2B070C71: mov edx, dword ptr [ebp - 0x14] */ 17170 edi = MEM32(edx + 0x8); /* 0x2B070C74: mov edi, dword ptr [edx + 8] */ 17171 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 17172 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17173 edi = edi + MEM32(edx + 0x4); /* 0x2B070C77: add edi, dword ptr [edx + 4] */ 17174 _flag_k = FK_ADD; 17175 ecx = esi; /* 0x2B070C7A: mov ecx, esi */ 17176 eax = ecx; /* 0x2B070C7C: mov eax, ecx */ 17177 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070C7E: shr ecx, 2 */ 17178 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17179 ecx = ecx >> 2u; /* 0x2B070C7E: shr ecx, 2 */ 17180 esi = 0x2B0EB7C8u; /* 0x2B070C81: mov esi, 0x2b0eb7c8 */ 17181 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070C86: 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; } 17182 ecx = eax; /* 0x2B070C88: mov ecx, eax */ 17183 eax = MEM32(ebp + (-0x18)); /* 0x2B070C8A: mov eax, dword ptr [ebp - 0x18] */ 17184 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 17185 ecx = ecx & 3; /* 0x2B070C8D: and ecx, 3 */ 17186 _cf = 0; 17187 _flag_k = FK_TEST; 17188 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070C90: 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; } 17189 ecx = MEM32(edx + 0x4); /* 0x2B070C92: mov ecx, dword ptr [edx + 4] */ 17190 MEM32(edx + 0x8) = eax; /* 0x2B070C95: mov dword ptr [edx + 8], eax */ 17191 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 17192 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17193 eax = eax + ecx; /* 0x2B070C98: add eax, ecx */ 17194 _flag_k = FK_ADD; 17195 MEM8(eax) = (uint8_t)(0); /* 0x2B070C9A: mov byte ptr [eax], 0 */ 17196 L_2B070C9D: 17197 /* test MEM8(ebp + 0xC), 2 */ /* 0x2B070C9D: test byte ptr [ebp + 0xc], 2 */ 17198 _flag_a = (uint32_t)(MEM8(ebp + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24; 17199 _cf = 0; 17200 _flag_k = FK_NARROW(FK_TEST, 24); 17201 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D1B; /* 0x2B070CA1: je 0x2b070d1b */ 17202 L_2B070CA3: 17203 edx = MEM32(ebx + 0x28); /* 0x2B070CA3: mov edx, dword ptr [ebx + 0x28] */ 17204 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 17205 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070CA6: or ecx, 0xffffffff */ 17206 _cf = 0; 17207 _flag_k = FK_TEST; 17208 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17209 eax = 0; /* 0x2B070CA9: xor eax, eax */ 17210 _cf = 0; 17211 _flag_k = FK_TEST; 17212 edi = 0x2B0EB7BCu; /* 0x2B070CAB: mov edi, 0x2b0eb7bc */ 17213 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; } /* 0x2B070CB0: repne scasb al, byte ptr es:[edi] */ 17214 edi = MEM32(edx + 0x8); /* 0x2B070CB2: mov edi, dword ptr [edx + 8] */ 17215 ecx = ~ecx; /* 0x2B070CB5: not ecx */ 17216 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17217 ecx = ecx - 1; /* 0x2B070CB7: dec ecx */ 17218 _flag_k = FK_DEC; 17219 esi = ecx; /* 0x2B070CB8: mov esi, ecx */ 17220 ecx = MEM32(0x2B0B515C); /* 0x2B070CBA: mov ecx, dword ptr [0x2b0b515c] */ 17221 eax = MEM32(ecx); /* 0x2B070CC0: mov eax, dword ptr [ecx] */ 17222 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 17223 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17224 eax = eax - edi; /* 0x2B070CC2: sub eax, edi */ 17225 _flag_k = FK_CMP; 17226 /* cmp eax, esi */ /* 0x2B070CC4: cmp eax, esi */ 17227 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 17228 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17229 _flag_k = FK_CMP; 17230 MEM32(ebp + (-0x14)) = edx; /* 0x2B070CC6: mov dword ptr [ebp - 0x14], edx */ 17231 if (CMP_A(_flag_a, _flag_b)) goto L_2B070CD1; /* 0x2B070CC9: ja 0x2b070cd1 */ 17232 L_2B070CCB: 17233 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070CCB: call dword ptr [0x2b0b51a8] */ 17234 RECOMP_FLAGS_IN(); 17235 L_2B070CD1: 17236 /* test esi, esi */ /* 0x2B070CD1: test esi, esi */ 17237 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 17238 _cf = 0; 17239 _flag_k = FK_TEST; 17240 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D1B; /* 0x2B070CD3: jbe 0x2b070d1b */ 17241 L_2B070CD5: 17242 ecx = MEM32(ebp + (-0x14)); /* 0x2B070CD5: mov ecx, dword ptr [ebp - 0x14] */ 17243 edx = MEM32(ecx + 0x8); /* 0x2B070CD8: mov edx, dword ptr [ecx + 8] */ 17244 eax = esi; /* 0x2B070CDB: mov eax, esi */ 17245 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 17246 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17247 eax = eax + edx; /* 0x2B070CDD: add eax, edx */ 17248 _flag_k = FK_ADD; 17249 PUSH32(esp, 0); /* 0x2B070CDF: push 0 */ 17250 PUSH32(esp, eax); /* 0x2B070CE1: push eax */ 17251 MEM32(ebp + (-0x18)) = eax; /* 0x2B070CE2: mov dword ptr [ebp - 0x18], eax */ 17252 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070CE5: call dword ptr [0x2b0b5154] */ 17253 RECOMP_FLAGS_IN(); 17254 /* test LO8(eax), LO8(eax) */ /* 0x2B070CEB: test al, al */ 17255 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17256 _cf = 0; 17257 _flag_k = FK_NARROW(FK_TEST, 24); 17258 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D1B; /* 0x2B070CED: je 0x2b070d1b */ 17259 L_2B070CEF: 17260 edx = MEM32(ebp + (-0x14)); /* 0x2B070CEF: mov edx, dword ptr [ebp - 0x14] */ 17261 edi = MEM32(edx + 0x8); /* 0x2B070CF2: mov edi, dword ptr [edx + 8] */ 17262 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 17263 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17264 edi = edi + MEM32(edx + 0x4); /* 0x2B070CF5: add edi, dword ptr [edx + 4] */ 17265 _flag_k = FK_ADD; 17266 ecx = esi; /* 0x2B070CF8: mov ecx, esi */ 17267 eax = ecx; /* 0x2B070CFA: mov eax, ecx */ 17268 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070CFC: shr ecx, 2 */ 17269 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17270 ecx = ecx >> 2u; /* 0x2B070CFC: shr ecx, 2 */ 17271 esi = 0x2B0EB7BCu; /* 0x2B070CFF: mov esi, 0x2b0eb7bc */ 17272 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070D04: 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; } 17273 ecx = eax; /* 0x2B070D06: mov ecx, eax */ 17274 eax = MEM32(ebp + (-0x18)); /* 0x2B070D08: mov eax, dword ptr [ebp - 0x18] */ 17275 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 17276 ecx = ecx & 3; /* 0x2B070D0B: and ecx, 3 */ 17277 _cf = 0; 17278 _flag_k = FK_TEST; 17279 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070D0E: 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; } 17280 ecx = MEM32(edx + 0x4); /* 0x2B070D10: mov ecx, dword ptr [edx + 4] */ 17281 MEM32(edx + 0x8) = eax; /* 0x2B070D13: mov dword ptr [edx + 8], eax */ 17282 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 17283 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17284 eax = eax + ecx; /* 0x2B070D16: add eax, ecx */ 17285 _flag_k = FK_ADD; 17286 MEM8(eax) = (uint8_t)(0); /* 0x2B070D18: mov byte ptr [eax], 0 */ 17287 L_2B070D1B: 17288 /* test MEM8(ebp + 0xC), 4 */ /* 0x2B070D1B: test byte ptr [ebp + 0xc], 4 */ 17289 _flag_a = (uint32_t)(MEM8(ebp + 0xC)) << 24; _flag_b = (uint32_t)(4) << 24; 17290 _cf = 0; 17291 _flag_k = FK_NARROW(FK_TEST, 24); 17292 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D99; /* 0x2B070D1F: je 0x2b070d99 */ 17293 L_2B070D21: 17294 edx = MEM32(ebx + 0x28); /* 0x2B070D21: mov edx, dword ptr [ebx + 0x28] */ 17295 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 17296 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070D24: or ecx, 0xffffffff */ 17297 _cf = 0; 17298 _flag_k = FK_TEST; 17299 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17300 eax = 0; /* 0x2B070D27: xor eax, eax */ 17301 _cf = 0; 17302 _flag_k = FK_TEST; 17303 edi = 0x2B0EB7B0u; /* 0x2B070D29: mov edi, 0x2b0eb7b0 */ 17304 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; } /* 0x2B070D2E: repne scasb al, byte ptr es:[edi] */ 17305 edi = MEM32(edx + 0x8); /* 0x2B070D30: mov edi, dword ptr [edx + 8] */ 17306 ecx = ~ecx; /* 0x2B070D33: not ecx */ 17307 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17308 ecx = ecx - 1; /* 0x2B070D35: dec ecx */ 17309 _flag_k = FK_DEC; 17310 esi = ecx; /* 0x2B070D36: mov esi, ecx */ 17311 ecx = MEM32(0x2B0B515C); /* 0x2B070D38: mov ecx, dword ptr [0x2b0b515c] */ 17312 eax = MEM32(ecx); /* 0x2B070D3E: mov eax, dword ptr [ecx] */ 17313 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 17314 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17315 eax = eax - edi; /* 0x2B070D40: sub eax, edi */ 17316 _flag_k = FK_CMP; 17317 /* cmp eax, esi */ /* 0x2B070D42: cmp eax, esi */ 17318 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 17319 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17320 _flag_k = FK_CMP; 17321 MEM32(ebp + (-0x14)) = edx; /* 0x2B070D44: mov dword ptr [ebp - 0x14], edx */ 17322 if (CMP_A(_flag_a, _flag_b)) goto L_2B070D4F; /* 0x2B070D47: ja 0x2b070d4f */ 17323 L_2B070D49: 17324 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070D49: call dword ptr [0x2b0b51a8] */ 17325 RECOMP_FLAGS_IN(); 17326 L_2B070D4F: 17327 /* test esi, esi */ /* 0x2B070D4F: test esi, esi */ 17328 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 17329 _cf = 0; 17330 _flag_k = FK_TEST; 17331 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D99; /* 0x2B070D51: jbe 0x2b070d99 */ 17332 L_2B070D53: 17333 ecx = MEM32(ebp + (-0x14)); /* 0x2B070D53: mov ecx, dword ptr [ebp - 0x14] */ 17334 edx = MEM32(ecx + 0x8); /* 0x2B070D56: mov edx, dword ptr [ecx + 8] */ 17335 eax = esi; /* 0x2B070D59: mov eax, esi */ 17336 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 17337 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17338 eax = eax + edx; /* 0x2B070D5B: add eax, edx */ 17339 _flag_k = FK_ADD; 17340 PUSH32(esp, 0); /* 0x2B070D5D: push 0 */ 17341 PUSH32(esp, eax); /* 0x2B070D5F: push eax */ 17342 MEM32(ebp + (-0x18)) = eax; /* 0x2B070D60: mov dword ptr [ebp - 0x18], eax */ 17343 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070D63: call dword ptr [0x2b0b5154] */ 17344 RECOMP_FLAGS_IN(); 17345 /* test LO8(eax), LO8(eax) */ /* 0x2B070D69: test al, al */ 17346 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17347 _cf = 0; 17348 _flag_k = FK_NARROW(FK_TEST, 24); 17349 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D99; /* 0x2B070D6B: je 0x2b070d99 */ 17350 L_2B070D6D: 17351 edx = MEM32(ebp + (-0x14)); /* 0x2B070D6D: mov edx, dword ptr [ebp - 0x14] */ 17352 edi = MEM32(edx + 0x8); /* 0x2B070D70: mov edi, dword ptr [edx + 8] */ 17353 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 17354 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17355 edi = edi + MEM32(edx + 0x4); /* 0x2B070D73: add edi, dword ptr [edx + 4] */ 17356 _flag_k = FK_ADD; 17357 ecx = esi; /* 0x2B070D76: mov ecx, esi */ 17358 eax = ecx; /* 0x2B070D78: mov eax, ecx */ 17359 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070D7A: shr ecx, 2 */ 17360 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17361 ecx = ecx >> 2u; /* 0x2B070D7A: shr ecx, 2 */ 17362 esi = 0x2B0EB7B0u; /* 0x2B070D7D: mov esi, 0x2b0eb7b0 */ 17363 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070D82: 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; } 17364 ecx = eax; /* 0x2B070D84: mov ecx, eax */ 17365 eax = MEM32(ebp + (-0x18)); /* 0x2B070D86: mov eax, dword ptr [ebp - 0x18] */ 17366 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 17367 ecx = ecx & 3; /* 0x2B070D89: and ecx, 3 */ 17368 _cf = 0; 17369 _flag_k = FK_TEST; 17370 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070D8C: 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; } 17371 ecx = MEM32(edx + 0x4); /* 0x2B070D8E: mov ecx, dword ptr [edx + 4] */ 17372 MEM32(edx + 0x8) = eax; /* 0x2B070D91: mov dword ptr [edx + 8], eax */ 17373 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 17374 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17375 eax = eax + ecx; /* 0x2B070D94: add eax, ecx */ 17376 _flag_k = FK_ADD; 17377 MEM8(eax) = (uint8_t)(0); /* 0x2B070D96: mov byte ptr [eax], 0 */ 17378 L_2B070D99: 17379 /* test MEM8(ebp + 0xC), 8 */ /* 0x2B070D99: test byte ptr [ebp + 0xc], 8 */ 17380 _flag_a = (uint32_t)(MEM8(ebp + 0xC)) << 24; _flag_b = (uint32_t)(8) << 24; 17381 _cf = 0; 17382 _flag_k = FK_NARROW(FK_TEST, 24); 17383 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E17; /* 0x2B070D9D: je 0x2b070e17 */ 17384 L_2B070D9F: 17385 edx = MEM32(ebx + 0x28); /* 0x2B070D9F: mov edx, dword ptr [ebx + 0x28] */ 17386 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 17387 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070DA2: or ecx, 0xffffffff */ 17388 _cf = 0; 17389 _flag_k = FK_TEST; 17390 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17391 eax = 0; /* 0x2B070DA5: xor eax, eax */ 17392 _cf = 0; 17393 _flag_k = FK_TEST; 17394 edi = 0x2B0EB7A4u; /* 0x2B070DA7: mov edi, 0x2b0eb7a4 */ 17395 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; } /* 0x2B070DAC: repne scasb al, byte ptr es:[edi] */ 17396 edi = MEM32(edx + 0x8); /* 0x2B070DAE: mov edi, dword ptr [edx + 8] */ 17397 ecx = ~ecx; /* 0x2B070DB1: not ecx */ 17398 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17399 ecx = ecx - 1; /* 0x2B070DB3: dec ecx */ 17400 _flag_k = FK_DEC; 17401 esi = ecx; /* 0x2B070DB4: mov esi, ecx */ 17402 ecx = MEM32(0x2B0B515C); /* 0x2B070DB6: mov ecx, dword ptr [0x2b0b515c] */ 17403 eax = MEM32(ecx); /* 0x2B070DBC: mov eax, dword ptr [ecx] */ 17404 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 17405 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17406 eax = eax - edi; /* 0x2B070DBE: sub eax, edi */ 17407 _flag_k = FK_CMP; 17408 /* cmp eax, esi */ /* 0x2B070DC0: cmp eax, esi */ 17409 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 17410 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17411 _flag_k = FK_CMP; 17412 MEM32(ebp + (-0x14)) = edx; /* 0x2B070DC2: mov dword ptr [ebp - 0x14], edx */ 17413 if (CMP_A(_flag_a, _flag_b)) goto L_2B070DCD; /* 0x2B070DC5: ja 0x2b070dcd */ 17414 L_2B070DC7: 17415 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070DC7: call dword ptr [0x2b0b51a8] */ 17416 RECOMP_FLAGS_IN(); 17417 L_2B070DCD: 17418 /* test esi, esi */ /* 0x2B070DCD: test esi, esi */ 17419 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 17420 _cf = 0; 17421 _flag_k = FK_TEST; 17422 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E17; /* 0x2B070DCF: jbe 0x2b070e17 */ 17423 L_2B070DD1: 17424 ecx = MEM32(ebp + (-0x14)); /* 0x2B070DD1: mov ecx, dword ptr [ebp - 0x14] */ 17425 edx = MEM32(ecx + 0x8); /* 0x2B070DD4: mov edx, dword ptr [ecx + 8] */ 17426 eax = esi; /* 0x2B070DD7: mov eax, esi */ 17427 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 17428 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17429 eax = eax + edx; /* 0x2B070DD9: add eax, edx */ 17430 _flag_k = FK_ADD; 17431 PUSH32(esp, 0); /* 0x2B070DDB: push 0 */ 17432 PUSH32(esp, eax); /* 0x2B070DDD: push eax */ 17433 MEM32(ebp + (-0x18)) = eax; /* 0x2B070DDE: mov dword ptr [ebp - 0x18], eax */ 17434 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070DE1: call dword ptr [0x2b0b5154] */ 17435 RECOMP_FLAGS_IN(); 17436 /* test LO8(eax), LO8(eax) */ /* 0x2B070DE7: test al, al */ 17437 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17438 _cf = 0; 17439 _flag_k = FK_NARROW(FK_TEST, 24); 17440 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E17; /* 0x2B070DE9: je 0x2b070e17 */ 17441 L_2B070DEB: 17442 edx = MEM32(ebp + (-0x14)); /* 0x2B070DEB: mov edx, dword ptr [ebp - 0x14] */ 17443 edi = MEM32(edx + 0x8); /* 0x2B070DEE: mov edi, dword ptr [edx + 8] */ 17444 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 17445 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17446 edi = edi + MEM32(edx + 0x4); /* 0x2B070DF1: add edi, dword ptr [edx + 4] */ 17447 _flag_k = FK_ADD; 17448 ecx = esi; /* 0x2B070DF4: mov ecx, esi */ 17449 eax = ecx; /* 0x2B070DF6: mov eax, ecx */ 17450 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070DF8: shr ecx, 2 */ 17451 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17452 ecx = ecx >> 2u; /* 0x2B070DF8: shr ecx, 2 */ 17453 esi = 0x2B0EB7A4u; /* 0x2B070DFB: mov esi, 0x2b0eb7a4 */ 17454 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070E00: 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; } 17455 ecx = eax; /* 0x2B070E02: mov ecx, eax */ 17456 eax = MEM32(ebp + (-0x18)); /* 0x2B070E04: mov eax, dword ptr [ebp - 0x18] */ 17457 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 17458 ecx = ecx & 3; /* 0x2B070E07: and ecx, 3 */ 17459 _cf = 0; 17460 _flag_k = FK_TEST; 17461 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070E0A: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; } 17462 ecx = MEM32(edx + 0x4); /* 0x2B070E0C: mov ecx, dword ptr [edx + 4] */ 17463 MEM32(edx + 0x8) = eax; /* 0x2B070E0F: mov dword ptr [edx + 8], eax */ 17464 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 17465 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17466 eax = eax + ecx; /* 0x2B070E12: add eax, ecx */ 17467 _flag_k = FK_ADD; 17468 MEM8(eax) = (uint8_t)(0); /* 0x2B070E14: mov byte ptr [eax], 0 */ 17469 L_2B070E17: 17470 /* test MEM8(ebp + 0xC), 0x10u */ /* 0x2B070E17: test byte ptr [ebp + 0xc], 0x10 */ 17471 _flag_a = (uint32_t)(MEM8(ebp + 0xC)) << 24; _flag_b = (uint32_t)(0x10u) << 24; 17472 _cf = 0; 17473 _flag_k = FK_NARROW(FK_TEST, 24); 17474 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070E1B: je 0x2b070e97 */ 17475 L_2B070E1D: 17476 edx = MEM32(ebx + 0x28); /* 0x2B070E1D: mov edx, dword ptr [ebx + 0x28] */ 17477 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 17478 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070E20: or ecx, 0xffffffff */ 17479 _cf = 0; 17480 _flag_k = FK_TEST; 17481 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17482 eax = 0; /* 0x2B070E23: xor eax, eax */ 17483 _cf = 0; 17484 _flag_k = FK_TEST; 17485 edi = 0x2B0EB79Cu; /* 0x2B070E25: mov edi, 0x2b0eb79c */ 17486 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; } /* 0x2B070E2A: repne scasb al, byte ptr es:[edi] */ 17487 edi = MEM32(edx + 0x8); /* 0x2B070E2C: mov edi, dword ptr [edx + 8] */ 17488 ecx = ~ecx; /* 0x2B070E2F: not ecx */ 17489 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17490 ecx = ecx - 1; /* 0x2B070E31: dec ecx */ 17491 _flag_k = FK_DEC; 17492 esi = ecx; /* 0x2B070E32: mov esi, ecx */ 17493 ecx = MEM32(0x2B0B515C); /* 0x2B070E34: mov ecx, dword ptr [0x2b0b515c] */ 17494 eax = MEM32(ecx); /* 0x2B070E3A: mov eax, dword ptr [ecx] */ 17495 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 17496 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17497 eax = eax - edi; /* 0x2B070E3C: sub eax, edi */ 17498 _flag_k = FK_CMP; 17499 /* cmp eax, esi */ /* 0x2B070E3E: cmp eax, esi */ 17500 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 17501 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17502 _flag_k = FK_CMP; 17503 MEM32(ebp + 0xC) = edx; /* 0x2B070E40: mov dword ptr [ebp + 0xc], edx */ 17504 if (CMP_A(_flag_a, _flag_b)) goto L_2B070E4E; /* 0x2B070E43: ja 0x2b070e4e */ 17505 L_2B070E45: 17506 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070E45: call dword ptr [0x2b0b51a8] */ 17507 RECOMP_FLAGS_IN(); 17508 edx = MEM32(ebp + 0xC); /* 0x2B070E4B: mov edx, dword ptr [ebp + 0xc] */ 17509 L_2B070E4E: 17510 /* test esi, esi */ /* 0x2B070E4E: test esi, esi */ 17511 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 17512 _cf = 0; 17513 _flag_k = FK_TEST; 17514 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070E50: jbe 0x2b070e97 */ 17515 L_2B070E52: 17516 edi = MEM32(edx + 0x8); /* 0x2B070E52: mov edi, dword ptr [edx + 8] */ 17517 eax = esi; /* 0x2B070E55: mov eax, esi */ 17518 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 17519 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17520 eax = eax + edi; /* 0x2B070E57: add eax, edi */ 17521 _flag_k = FK_ADD; 17522 PUSH32(esp, 0); /* 0x2B070E59: push 0 */ 17523 PUSH32(esp, eax); /* 0x2B070E5B: push eax */ 17524 ecx = edx; /* 0x2B070E5C: mov ecx, edx */ 17525 MEM32(ebp + (-0x18)) = eax; /* 0x2B070E5E: mov dword ptr [ebp - 0x18], eax */ 17526 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070E61: call dword ptr [0x2b0b5154] */ 17527 RECOMP_FLAGS_IN(); 17528 /* test LO8(eax), LO8(eax) */ /* 0x2B070E67: test al, al */ 17529 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17530 _cf = 0; 17531 _flag_k = FK_NARROW(FK_TEST, 24); 17532 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070E69: je 0x2b070e97 */ 17533 L_2B070E6B: 17534 edx = MEM32(ebp + 0xC); /* 0x2B070E6B: mov edx, dword ptr [ebp + 0xc] */ 17535 ecx = MEM32(edx + 0x4); /* 0x2B070E6E: mov ecx, dword ptr [edx + 4] */ 17536 edi = MEM32(edx + 0x8); /* 0x2B070E71: mov edi, dword ptr [edx + 8] */ 17537 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 17538 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17539 edi = edi + ecx; /* 0x2B070E74: add edi, ecx */ 17540 _flag_k = FK_ADD; 17541 ecx = esi; /* 0x2B070E76: mov ecx, esi */ 17542 eax = ecx; /* 0x2B070E78: mov eax, ecx */ 17543 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070E7A: shr ecx, 2 */ 17544 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17545 ecx = ecx >> 2u; /* 0x2B070E7A: shr ecx, 2 */ 17546 esi = 0x2B0EB79Cu; /* 0x2B070E7D: mov esi, 0x2b0eb79c */ 17547 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070E82: 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; } 17548 ecx = eax; /* 0x2B070E84: mov ecx, eax */ 17549 eax = MEM32(ebp + (-0x18)); /* 0x2B070E86: mov eax, dword ptr [ebp - 0x18] */ 17550 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 17551 ecx = ecx & 3; /* 0x2B070E89: and ecx, 3 */ 17552 _cf = 0; 17553 _flag_k = FK_TEST; 17554 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070E8C: 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; } 17555 L_2B070E8E: 17556 MEM32(edx + 0x8) = eax; /* 0x2B070E8E: mov dword ptr [edx + 8], eax */ 17557 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 17558 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17559 eax = eax + MEM32(edx + 0x4); /* 0x2B070E91: add eax, dword ptr [edx + 4] */ 17560 _flag_k = FK_ADD; 17561 MEM8(eax) = (uint8_t)(0); /* 0x2B070E94: mov byte ptr [eax], 0 */ 17562 L_2B070E97: 17563 SET_LO8(ecx, MEM8(ebp + 0xF)); /* 0x2B070E97: mov cl, byte ptr [ebp + 0xf] */ 17564 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17565 edi = 0; /* 0x2B070E9A: xor edi, edi */ 17566 _cf = 0; 17567 _flag_k = FK_TEST; 17568 MEM8(ebp + (-0x44)) = (uint8_t)(LO8(ecx)); /* 0x2B070E9C: mov byte ptr [ebp - 0x44], cl */ 17569 PUSH32(esp, edi); /* 0x2B070E9F: push edi */ 17570 ecx = ebp + (-0x44); /* 0x2B070EA0: lea ecx, [ebp - 0x44] */ 17571 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B070EA3: call dword ptr [0x2b0b514c] */ 17572 RECOMP_FLAGS_IN(); 17573 MEM32(ebp + (-0x34)) = edi; /* 0x2B070EA9: mov dword ptr [ebp - 0x34], edi */ 17574 esi = MEM32(0x2B0B5D6C); /* 0x2B070EAC: mov esi, dword ptr [0x2b0b5d6c] */ 17575 MEM32(ebp + (-0x4)) = 1; /* 0x2B070EB2: mov dword ptr [ebp - 4], 1 */ 17576 MEM32(ebp + 0xC) = edi; /* 0x2B070EB9: mov dword ptr [ebp + 0xc], edi */ 17577 L_2B070EBC: 17578 edx = MEM32(ebp + 0xC); /* 0x2B070EBC: mov edx, dword ptr [ebp + 0xc] */ 17579 eax = MEM32(ebp + 0x8); /* 0x2B070EBF: mov eax, dword ptr [ebp + 8] */ 17580 PUSH32(esp, edx); /* 0x2B070EC2: push edx */ 17581 PUSH32(esp, eax); /* 0x2B070EC3: push eax */ 17582 RECOMP_ICALL(esi); /* 0x2B070EC4: call esi */ 17583 RECOMP_FLAGS_IN(); 17584 ecx = eax; /* 0x2B070EC6: mov ecx, eax */ 17585 RECOMP_ICALL(MEM32(0x2B0B5D80)); /* 0x2B070EC8: call dword ptr [0x2b0b5d80] */ 17586 RECOMP_FLAGS_IN(); 17587 /* cmp eax, edi */ /* 0x2B070ECE: cmp eax, edi */ 17588 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 17589 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17590 _flag_k = FK_CMP; 17591 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071042; /* 0x2B070ED0: je 0x2b071042 */ 17592 L_2B070ED6: 17593 PUSH32(esp, eax); /* 0x2B070ED6: push eax */ 17594 ecx = ebp + (-0x20); /* 0x2B070ED7: lea ecx, [ebp - 0x20] */ 17595 PUSH32(esp, ecx); /* 0x2B070EDA: push ecx */ 17596 MEM32(ebp + (-0x20)) = edi; /* 0x2B070EDB: mov dword ptr [ebp - 0x20], edi */ 17597 MEM32(ebp + (-0x1C)) = edi; /* 0x2B070EDE: mov dword ptr [ebp - 0x1c], edi */ 17598 RECOMP_ICALL(esi); /* 0x2B070EE1: call esi */ 17599 RECOMP_FLAGS_IN(); 17600 ecx = eax; /* 0x2B070EE3: mov ecx, eax */ 17601 RECOMP_ICALL(MEM32(0x2B0B5D4C)); /* 0x2B070EE5: call dword ptr [0x2b0b5d4c] */ 17602 RECOMP_FLAGS_IN(); 17603 /* test LO8(eax), LO8(eax) */ /* 0x2B070EEB: test al, al */ 17604 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17605 _cf = 0; 17606 _flag_k = FK_NARROW(FK_TEST, 24); 17607 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07103A; /* 0x2B070EED: je 0x2b07103a */ 17608 L_2B070EF3: 17609 edx = ebp + (-0x20); /* 0x2B070EF3: lea edx, [ebp - 0x20] */ 17610 PUSH32(esp, 0x1Au); /* 0x2B070EF6: push 0x1a */ 17611 PUSH32(esp, edx); /* 0x2B070EF8: push edx */ 17612 RECOMP_ICALL(esi); /* 0x2B070EF9: call esi */ 17613 RECOMP_FLAGS_IN(); 17614 ecx = eax; /* 0x2B070EFB: mov ecx, eax */ 17615 RECOMP_ICALL(MEM32(0x2B0B5D84)); /* 0x2B070EFD: call dword ptr [0x2b0b5d84] */ 17616 RECOMP_FLAGS_IN(); 17617 /* cmp eax, edi */ /* 0x2B070F03: cmp eax, edi */ 17618 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 17619 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17620 _flag_k = FK_CMP; 17621 MEM32(ebp + (-0x14)) = eax; /* 0x2B070F05: mov dword ptr [ebp - 0x14], eax */ 17622 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07102C; /* 0x2B070F08: je 0x2b07102c */ 17623 L_2B070F0E: 17624 /* cmp MEM8(eax), 0 */ /* 0x2B070F0E: cmp byte ptr [eax], 0 */ 17625 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0) << 24; 17626 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17627 _flag_k = FK_NARROW(FK_CMP, 24); 17628 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07102C; /* 0x2B070F11: je 0x2b07102c */ 17629 L_2B070F17: 17630 eax = ebp + (-0x20); /* 0x2B070F17: lea eax, [ebp - 0x20] */ 17631 PUSH32(esp, eax); /* 0x2B070F1A: push eax */ 17632 RECOMP_ICALL(esi); /* 0x2B070F1B: call esi */ 17633 RECOMP_FLAGS_IN(); 17634 ecx = eax; /* 0x2B070F1D: mov ecx, eax */ 17635 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B070F1F: call dword ptr [0x2b0b5d50] */ 17636 RECOMP_FLAGS_IN(); 17637 ecx = ebp + (-0x44); /* 0x2B070F25: lea ecx, [ebp - 0x44] */ 17638 PUSH32(esp, ecx); /* 0x2B070F28: push ecx */ 17639 PUSH32(esp, eax); /* 0x2B070F29: push eax */ 17640 PUSH32(esp, 0x2B0EB790u); /* 0x2B070F2A: push 0x2b0eb790 */ 17641 ecx = ebx; /* 0x2B070F2F: mov ecx, ebx */ 17642 RECOMP_ICALL(0x2B073610u); /* 0x2B070F31: call 0x2b073610 */ /* not lifted */ 17643 RECOMP_FLAGS_IN(); 17644 edx = ebp + (-0x44); /* 0x2B070F36: lea edx, [ebp - 0x44] */ 17645 PUSH32(esp, edx); /* 0x2B070F39: push edx */ 17646 eax = ebp + (-0x20); /* 0x2B070F3A: lea eax, [ebp - 0x20] */ 17647 PUSH32(esp, eax); /* 0x2B070F3D: push eax */ 17648 ecx = ebx; /* 0x2B070F3E: mov ecx, ebx */ 17649 RECOMP_ICALL(0x2B074770u); /* 0x2B070F40: call 0x2b074770 */ /* not lifted */ 17650 RECOMP_FLAGS_IN(); 17651 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 17652 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070F45: or ecx, 0xffffffff */ 17653 _cf = 0; 17654 _flag_k = FK_TEST; 17655 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17656 eax = 0; /* 0x2B070F48: xor eax, eax */ 17657 _cf = 0; 17658 _flag_k = FK_TEST; 17659 edi = 0x2B0E2BF8u; /* 0x2B070F4A: mov edi, 0x2b0e2bf8 */ 17660 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; } /* 0x2B070F4F: repne scasb al, byte ptr es:[edi] */ 17661 ecx = ~ecx; /* 0x2B070F51: not ecx */ 17662 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17663 ecx = ecx - 1; /* 0x2B070F53: dec ecx */ 17664 _flag_k = FK_DEC; 17665 edi = ecx; /* 0x2B070F54: mov edi, ecx */ 17666 ecx = MEM32(0x2B0B515C); /* 0x2B070F56: mov ecx, dword ptr [0x2b0b515c] */ 17667 edx = MEM32(ecx); /* 0x2B070F5C: mov edx, dword ptr [ecx] */ 17668 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + (-0x3C))); 17669 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17670 edx = edx - MEM32(ebp + (-0x3C)); /* 0x2B070F5E: sub edx, dword ptr [ebp - 0x3c] */ 17671 _flag_k = FK_CMP; 17672 /* cmp edx, edi */ /* 0x2B070F61: cmp edx, edi */ 17673 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 17674 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17675 _flag_k = FK_CMP; 17676 if (CMP_A(_flag_a, _flag_b)) goto L_2B070F6B; /* 0x2B070F63: ja 0x2b070f6b */ 17677 L_2B070F65: 17678 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070F65: call dword ptr [0x2b0b51a8] */ 17679 RECOMP_FLAGS_IN(); 17680 L_2B070F6B: 17681 /* test edi, edi */ /* 0x2B070F6B: test edi, edi */ 17682 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 17683 _cf = 0; 17684 _flag_k = FK_TEST; 17685 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070FB8; /* 0x2B070F6D: jbe 0x2b070fb8 */ 17686 L_2B070F6F: 17687 eax = MEM32(ebp + (-0x3C)); /* 0x2B070F6F: mov eax, dword ptr [ebp - 0x3c] */ 17688 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 17689 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17690 eax = eax + edi; /* 0x2B070F72: add eax, edi */ 17691 _flag_k = FK_ADD; 17692 PUSH32(esp, 0); /* 0x2B070F74: push 0 */ 17693 PUSH32(esp, eax); /* 0x2B070F76: push eax */ 17694 ecx = ebp + (-0x44); /* 0x2B070F77: lea ecx, [ebp - 0x44] */ 17695 MEM32(ebp + (-0x18)) = eax; /* 0x2B070F7A: mov dword ptr [ebp - 0x18], eax */ 17696 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070F7D: call dword ptr [0x2b0b5154] */ 17697 RECOMP_FLAGS_IN(); 17698 /* test LO8(eax), LO8(eax) */ /* 0x2B070F83: test al, al */ 17699 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17700 _cf = 0; 17701 _flag_k = FK_NARROW(FK_TEST, 24); 17702 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070FB8; /* 0x2B070F85: je 0x2b070fb8 */ 17703 L_2B070F87: 17704 eax = MEM32(ebp + (-0x3C)); /* 0x2B070F87: mov eax, dword ptr [ebp - 0x3c] */ 17705 edx = MEM32(ebp + (-0x40)); /* 0x2B070F8A: mov edx, dword ptr [ebp - 0x40] */ 17706 ecx = edi; /* 0x2B070F8D: mov ecx, edi */ 17707 edi = eax + edx; /* 0x2B070F8F: lea edi, [eax + edx] */ 17708 eax = MEM32(ebp + (-0x18)); /* 0x2B070F92: mov eax, dword ptr [ebp - 0x18] */ 17709 edx = ecx; /* 0x2B070F95: mov edx, ecx */ 17710 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070F97: shr ecx, 2 */ 17711 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17712 ecx = ecx >> 2u; /* 0x2B070F97: shr ecx, 2 */ 17713 esi = 0x2B0E2BF8u; /* 0x2B070F9A: mov esi, 0x2b0e2bf8 */ 17714 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070F9F: 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; } 17715 ecx = edx; /* 0x2B070FA1: mov ecx, edx */ 17716 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 17717 ecx = ecx & 3; /* 0x2B070FA3: and ecx, 3 */ 17718 _cf = 0; 17719 _flag_k = FK_TEST; 17720 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070FA6: 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; } 17721 ecx = MEM32(ebp + (-0x40)); /* 0x2B070FA8: mov ecx, dword ptr [ebp - 0x40] */ 17722 esi = MEM32(0x2B0B5D6C); /* 0x2B070FAB: mov esi, dword ptr [0x2b0b5d6c] */ 17723 MEM32(ebp + (-0x3C)) = eax; /* 0x2B070FB1: mov dword ptr [ebp - 0x3c], eax */ 17724 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B070FB4: mov byte ptr [ecx + eax], 0 */ 17725 L_2B070FB8: 17726 edi = MEM32(ebp + (-0x14)); /* 0x2B070FB8: mov edi, dword ptr [ebp - 0x14] */ 17727 edx = MEM32(0x2B0B515C); /* 0x2B070FBB: mov edx, dword ptr [0x2b0b515c] */ 17728 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17729 eax = 0; /* 0x2B070FC1: xor eax, eax */ 17730 _cf = 0; 17731 _flag_k = FK_TEST; 17732 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 17733 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070FC3: or ecx, 0xffffffff */ 17734 _cf = 0; 17735 _flag_k = FK_TEST; 17736 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; } /* 0x2B070FC6: repne scasb al, byte ptr es:[edi] */ 17737 eax = MEM32(edx); /* 0x2B070FC8: mov eax, dword ptr [edx] */ 17738 edx = MEM32(ebp + (-0x3C)); /* 0x2B070FCA: mov edx, dword ptr [ebp - 0x3c] */ 17739 ecx = ~ecx; /* 0x2B070FCD: not ecx */ 17740 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17741 ecx = ecx - 1; /* 0x2B070FCF: dec ecx */ 17742 _flag_k = FK_DEC; 17743 edi = ecx; /* 0x2B070FD0: mov edi, ecx */ 17744 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 17745 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17746 eax = eax - edx; /* 0x2B070FD2: sub eax, edx */ 17747 _flag_k = FK_CMP; 17748 /* cmp eax, edi */ /* 0x2B070FD4: cmp eax, edi */ 17749 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 17750 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17751 _flag_k = FK_CMP; 17752 if (CMP_A(_flag_a, _flag_b)) goto L_2B070FDE; /* 0x2B070FD6: ja 0x2b070fde */ 17753 L_2B070FD8: 17754 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070FD8: call dword ptr [0x2b0b51a8] */ 17755 RECOMP_FLAGS_IN(); 17756 L_2B070FDE: 17757 /* test edi, edi */ /* 0x2B070FDE: test edi, edi */ 17758 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 17759 _cf = 0; 17760 _flag_k = FK_TEST; 17761 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07102A; /* 0x2B070FE0: jbe 0x2b07102a */ 17762 L_2B070FE2: 17763 ecx = MEM32(ebp + (-0x3C)); /* 0x2B070FE2: mov ecx, dword ptr [ebp - 0x3c] */ 17764 eax = ecx + edi; /* 0x2B070FE5: lea eax, [ecx + edi] */ 17765 PUSH32(esp, 0); /* 0x2B070FE8: push 0 */ 17766 PUSH32(esp, eax); /* 0x2B070FEA: push eax */ 17767 ecx = ebp + (-0x44); /* 0x2B070FEB: lea ecx, [ebp - 0x44] */ 17768 MEM32(ebp + (-0x18)) = eax; /* 0x2B070FEE: mov dword ptr [ebp - 0x18], eax */ 17769 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070FF1: call dword ptr [0x2b0b5154] */ 17770 RECOMP_FLAGS_IN(); 17771 /* test LO8(eax), LO8(eax) */ /* 0x2B070FF7: test al, al */ 17772 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17773 _cf = 0; 17774 _flag_k = FK_NARROW(FK_TEST, 24); 17775 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07102A; /* 0x2B070FF9: je 0x2b07102a */ 17776 L_2B070FFB: 17777 eax = MEM32(ebp + (-0x3C)); /* 0x2B070FFB: mov eax, dword ptr [ebp - 0x3c] */ 17778 edx = MEM32(ebp + (-0x40)); /* 0x2B070FFE: mov edx, dword ptr [ebp - 0x40] */ 17779 esi = MEM32(ebp + (-0x14)); /* 0x2B071001: mov esi, dword ptr [ebp - 0x14] */ 17780 ecx = edi; /* 0x2B071004: mov ecx, edi */ 17781 edi = eax + edx; /* 0x2B071006: lea edi, [eax + edx] */ 17782 eax = MEM32(ebp + (-0x18)); /* 0x2B071009: mov eax, dword ptr [ebp - 0x18] */ 17783 edx = ecx; /* 0x2B07100C: mov edx, ecx */ 17784 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07100E: shr ecx, 2 */ 17785 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17786 ecx = ecx >> 2u; /* 0x2B07100E: shr ecx, 2 */ 17787 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071011: 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; } 17788 ecx = edx; /* 0x2B071013: mov ecx, edx */ 17789 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 17790 ecx = ecx & 3; /* 0x2B071015: and ecx, 3 */ 17791 _cf = 0; 17792 _flag_k = FK_TEST; 17793 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071018: 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; } 17794 ecx = MEM32(ebp + (-0x40)); /* 0x2B07101A: mov ecx, dword ptr [ebp - 0x40] */ 17795 esi = MEM32(0x2B0B5D6C); /* 0x2B07101D: mov esi, dword ptr [0x2b0b5d6c] */ 17796 MEM32(ebp + (-0x3C)) = eax; /* 0x2B071023: mov dword ptr [ebp - 0x3c], eax */ 17797 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B071026: mov byte ptr [ecx + eax], 0 */ 17798 L_2B07102A: 17799 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17800 edi = 0; /* 0x2B07102A: xor edi, edi */ 17801 _cf = 0; 17802 _flag_k = FK_TEST; 17803 L_2B07102C: 17804 edx = ebp + (-0x20); /* 0x2B07102C: lea edx, [ebp - 0x20] */ 17805 PUSH32(esp, edx); /* 0x2B07102F: push edx */ 17806 RECOMP_ICALL(esi); /* 0x2B071030: call esi */ 17807 RECOMP_FLAGS_IN(); 17808 ecx = eax; /* 0x2B071032: mov ecx, eax */ 17809 RECOMP_ICALL(MEM32(0x2B0B5D54)); /* 0x2B071034: call dword ptr [0x2b0b5d54] */ 17810 RECOMP_FLAGS_IN(); 17811 L_2B07103A: 17812 _flag_a = (uint32_t)(MEM32(ebp + 0xC)); _flag_b = (uint32_t)(1); 17813 MEM32(ebp + 0xC) = MEM32(ebp + 0xC) + 1; /* 0x2B07103A: inc dword ptr [ebp + 0xc] */ 17814 _flag_k = FK_INC; 17815 RECOMP_BACKEDGE(); 17816 goto L_2B070EBC; /* 0x2B07103D: jmp 0x2b070ebc */ 17817 L_2B071042: 17818 /* cmp MEM32(ebp + (-0x3C)), edi */ /* 0x2B071042: cmp dword ptr [ebp - 0x3c], edi */ 17819 _flag_a = (uint32_t)(MEM32(ebp + (-0x3C))); _flag_b = (uint32_t)(edi); 17820 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17821 _flag_k = FK_CMP; 17822 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071064; /* 0x2B071045: je 0x2b071064 */ 17823 L_2B071047: 17824 eax = MEM32(ebp + (-0x40)); /* 0x2B071047: mov eax, dword ptr [ebp - 0x40] */ 17825 /* cmp eax, edi */ /* 0x2B07104A: cmp eax, edi */ 17826 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 17827 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17828 _flag_k = FK_CMP; 17829 if (CMP_NE(_flag_a, _flag_b)) goto L_2B071053; /* 0x2B07104C: jne 0x2b071053 */ 17830 L_2B07104E: 17831 eax = MEM32(0x2B0B513C); /* 0x2B07104E: mov eax, dword ptr [0x2b0b513c] */ 17832 L_2B071053: 17833 ecx = MEM32(ebx + 0x28); /* 0x2B071053: mov ecx, dword ptr [ebx + 0x28] */ 17834 PUSH32(esp, ecx); /* 0x2B071056: push ecx */ 17835 PUSH32(esp, eax); /* 0x2B071057: push eax */ 17836 PUSH32(esp, 0x2B0EB770u); /* 0x2B071058: push 0x2b0eb770 */ 17837 ecx = ebx; /* 0x2B07105D: mov ecx, ebx */ 17838 RECOMP_ICALL(0x2B073610u); /* 0x2B07105F: call 0x2b073610 */ /* not lifted */ 17839 RECOMP_FLAGS_IN(); 17840 L_2B071064: 17841 eax = MEM32(ebp + (-0x34)); /* 0x2B071064: mov eax, dword ptr [ebp - 0x34] */ 17842 /* cmp eax, edi */ /* 0x2B071067: cmp eax, edi */ 17843 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 17844 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17845 _flag_k = FK_CMP; 17846 MEM32(ebp + (-0x4)) = 2; /* 0x2B071069: mov dword ptr [ebp - 4], 2 */ 17847 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710D2; /* 0x2B071070: je 0x2b0710d2 */ 17848 L_2B071072: 17849 edx = MEM32(eax + 0x2C); /* 0x2B071072: mov edx, dword ptr [eax + 0x2c] */ 17850 edi = eax; /* 0x2B071075: mov edi, eax */ 17851 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 17852 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17853 eax = eax + 0x2Cu; /* 0x2B071077: add eax, 0x2c */ 17854 _flag_k = FK_ADD; 17855 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 17856 edx = edx - 1; /* 0x2B07107A: dec edx */ 17857 _flag_k = FK_DEC; 17858 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17859 esi = 0; /* 0x2B07107B: xor esi, esi */ 17860 _cf = 0; 17861 _flag_k = FK_TEST; 17862 ecx = edx; /* 0x2B07107D: mov ecx, edx */ 17863 /* cmp ecx, esi */ /* 0x2B07107F: cmp ecx, esi */ 17864 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 17865 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17866 _flag_k = FK_CMP; 17867 MEM32(eax) = edx; /* 0x2B071081: mov dword ptr [eax], edx */ 17868 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0710D4; /* 0x2B071083: jne 0x2b0710d4 */ 17869 L_2B071085: 17870 /* cmp edi, esi */ /* 0x2B071085: cmp edi, esi */ 17871 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 17872 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17873 _flag_k = FK_CMP; 17874 MEM32(ebp + 0xC) = edi; /* 0x2B071087: mov dword ptr [ebp + 0xc], edi */ 17875 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710D4; /* 0x2B07108A: je 0x2b0710d4 */ 17876 L_2B07108C: 17877 PUSH32(esp, 1); /* 0x2B07108C: push 1 */ 17878 ecx = edi + 0x1C; /* 0x2B07108E: lea ecx, [edi + 0x1c] */ 17879 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B071091: mov byte ptr [ebp - 4], 3 */ 17880 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B071095: call dword ptr [0x2b0b514c] */ 17881 RECOMP_FLAGS_IN(); 17882 eax = MEM32(edi + 0x10); /* 0x2B07109B: mov eax, dword ptr [edi + 0x10] */ 17883 /* cmp eax, esi */ /* 0x2B07109E: cmp eax, esi */ 17884 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 17885 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17886 _flag_k = FK_CMP; 17887 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710BE; /* 0x2B0710A0: je 0x2b0710be */ 17888 L_2B0710A2: 17889 ecx = eax + (-0x1); /* 0x2B0710A2: lea ecx, [eax - 1] */ 17890 SET_LO8(eax, MEM8(ecx)); /* 0x2B0710A5: mov al, byte ptr [ecx] */ 17891 /* test LO8(eax), LO8(eax) */ /* 0x2B0710A7: test al, al */ 17892 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17893 _cf = 0; 17894 _flag_k = FK_NARROW(FK_TEST, 24); 17895 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0710B5; /* 0x2B0710A9: je 0x2b0710b5 */ 17896 L_2B0710AB: 17897 /* cmp LO8(eax), 0xFFu */ /* 0x2B0710AB: cmp al, 0xff */ 17898 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 17899 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17900 _flag_k = FK_NARROW(FK_CMP, 24); 17901 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710B5; /* 0x2B0710AD: je 0x2b0710b5 */ 17902 L_2B0710AF: 17903 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 17904 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0710AF: dec al */ 17905 _flag_k = FK_NARROW(FK_DEC, 24); 17906 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B0710B1: mov byte ptr [ecx], al */ 17907 goto L_2B0710BE; /* 0x2B0710B3: jmp 0x2b0710be */ 17908 L_2B0710B5: 17909 PUSH32(esp, ecx); /* 0x2B0710B5: push ecx */ 17910 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0710B6: call 0x2b0ab1ba */ /* not lifted */ 17911 RECOMP_FLAGS_IN(); 17912 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17913 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17914 esp = esp + 4; /* 0x2B0710BB: add esp, 4 */ 17915 _flag_k = FK_ADD; 17916 L_2B0710BE: 17917 PUSH32(esp, edi); /* 0x2B0710BE: push edi */ 17918 MEM32(edi + 0x10) = esi; /* 0x2B0710BF: mov dword ptr [edi + 0x10], esi */ 17919 MEM32(edi + 0x14) = esi; /* 0x2B0710C2: mov dword ptr [edi + 0x14], esi */ 17920 MEM32(edi + 0x18) = esi; /* 0x2B0710C5: mov dword ptr [edi + 0x18], esi */ 17921 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0710C8: call 0x2b0ab1ba */ /* not lifted */ 17922 RECOMP_FLAGS_IN(); 17923 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17924 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17925 esp = esp + 4; /* 0x2B0710CD: add esp, 4 */ 17926 _flag_k = FK_ADD; 17927 goto L_2B0710D4; /* 0x2B0710D0: jmp 0x2b0710d4 */ 17928 L_2B0710D2: 17929 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17930 esi = 0; /* 0x2B0710D2: xor esi, esi */ 17931 _cf = 0; 17932 _flag_k = FK_TEST; 17933 L_2B0710D4: 17934 ecx = MEM32(ebp + (-0x40)); /* 0x2B0710D4: mov ecx, dword ptr [ebp - 0x40] */ 17935 /* cmp ecx, esi */ /* 0x2B0710D7: cmp ecx, esi */ 17936 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 17937 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17938 _flag_k = FK_CMP; 17939 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071108; /* 0x2B0710D9: je 0x2b071108 */ 17940 L_2B0710DB: 17941 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B0710DB: mov al, byte ptr [ecx - 1] */ 17942 /* test LO8(eax), LO8(eax) */ /* 0x2B0710DE: test al, al */ 17943 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17944 _cf = 0; 17945 _flag_k = FK_NARROW(FK_TEST, 24); 17946 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0710FE; /* 0x2B0710E0: je 0x2b0710fe */ 17947 L_2B0710E2: 17948 /* cmp LO8(eax), 0xFFu */ /* 0x2B0710E2: cmp al, 0xff */ 17949 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 17950 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17951 _flag_k = FK_NARROW(FK_CMP, 24); 17952 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710FE; /* 0x2B0710E4: je 0x2b0710fe */ 17953 L_2B0710E6: 17954 edi = POP32_VAL(esp); /* 0x2B0710E6: pop edi */ 17955 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 17956 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0710E7: dec al */ 17957 _flag_k = FK_NARROW(FK_DEC, 24); 17958 esi = POP32_VAL(esp); /* 0x2B0710E9: pop esi */ 17959 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B0710EA: mov byte ptr [ecx - 1], al */ 17960 ebx = POP32_VAL(esp); /* 0x2B0710ED: pop ebx */ 17961 ecx = MEM32(ebp + (-0xC)); /* 0x2B0710EE: mov ecx, dword ptr [ebp - 0xc] */ 17962 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0710F1: mov dword ptr fs:[0], ecx */ 17963 esp = ebp; /* 0x2B0710F8: mov esp, ebp */ 17964 ebp = POP32_VAL(esp); /* 0x2B0710FA: pop ebp */ 17965 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0710FB: ret 8 */ 17966 L_2B0710FE: 17967 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17968 ecx = ecx - 1; /* 0x2B0710FE: dec ecx */ 17969 _flag_k = FK_DEC; 17970 PUSH32(esp, ecx); /* 0x2B0710FF: push ecx */ 17971 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B071100: call 0x2b0ab1ba */ /* not lifted */ 17972 RECOMP_FLAGS_IN(); 17973 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17974 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17975 esp = esp + 4; /* 0x2B071105: add esp, 4 */ 17976 _flag_k = FK_ADD; 17977 L_2B071108: 17978 ecx = MEM32(ebp + (-0xC)); /* 0x2B071108: mov ecx, dword ptr [ebp - 0xc] */ 17979 edi = POP32_VAL(esp); /* 0x2B07110B: pop edi */ 17980 esi = POP32_VAL(esp); /* 0x2B07110C: pop esi */ 17981 ebx = POP32_VAL(esp); /* 0x2B07110D: pop ebx */ 17982 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07110E: mov dword ptr fs:[0], ecx */ 17983 esp = ebp; /* 0x2B071115: mov esp, ebp */ 17984 ebp = POP32_VAL(esp); /* 0x2B071117: pop ebp */ 17985 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B071118: ret 8 */ 17986 RECOMP_REGS_OUT(); 17987 } 17988 17989 void sub_2B070261(void) { 17990 int _fpu_cmp = 0; 17991 uint32_t _cf = 0; 17992 int _df = 1; 17993 uint32_t _flag_k = FK_NONE; 17994 uint32_t _flag_a = 0, _flag_b = 0; 17995 uint32_t _itail_tgt = 0; 17996 RECOMP_REGS_LOCALS 17997 RECOMP_ENTER(0x2B070261u); 17998 17999 L_2B070261: 18000 PUSH32(esp, ecx); /* 0x2B070261: push ecx */ 18001 ecx = eax; /* 0x2B070262: mov ecx, eax */ 18002 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B070264: call dword ptr [0x2b0b5150] */ 18003 RECOMP_FLAGS_IN(); 18004 esi = MEM32(0x2B0B5A74); /* 0x2B07026A: mov esi, dword ptr [0x2b0b5a74] */ 18005 edx = MEM32(ebp + 0x8); /* 0x2B070270: mov edx, dword ptr [ebp + 8] */ 18006 PUSH32(esp, 0x36u); /* 0x2B070273: push 0x36 */ 18007 PUSH32(esp, edx); /* 0x2B070275: push edx */ 18008 ecx = ebx; /* 0x2B070276: mov ecx, ebx */ 18009 RECOMP_ICALL(0x2B0735D0u); /* 0x2B070278: call 0x2b0735d0 */ /* not lifted */ 18010 RECOMP_FLAGS_IN(); 18011 /* cmp eax, 0x499602D2u */ /* 0x2B07027D: cmp eax, 0x499602d2 */ 18012 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 18013 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18014 _flag_k = FK_CMP; 18015 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0702AD; /* 0x2B070282: je 0x2b0702ad */ 18016 L_2B070284: 18017 PUSH32(esp, eax); /* 0x2B070284: push eax */ 18018 PUSH32(esp, 0x2B0E7354u); /* 0x2B070285: push 0x2b0e7354 */ 18019 PUSH32(esp, 0x2B0EEE84u); /* 0x2B07028A: push 0x2b0eee84 */ 18020 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B07028F: call dword ptr [0x2b0b51f0] */ 18021 RECOMP_FLAGS_IN(); 18022 eax = MEM32(ebx + 0x28); /* 0x2B070295: mov eax, dword ptr [ebx + 0x28] */ 18023 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 18024 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18025 esp = esp + 0xCu; /* 0x2B070298: add esp, 0xc */ 18026 _flag_k = FK_ADD; 18027 PUSH32(esp, eax); /* 0x2B07029B: push eax */ 18028 PUSH32(esp, 0x2B0EEE84u); /* 0x2B07029C: push 0x2b0eee84 */ 18029 PUSH32(esp, 0x2B0EB844u); /* 0x2B0702A1: push 0x2b0eb844 */ 18030 ecx = ebx; /* 0x2B0702A6: mov ecx, ebx */ 18031 RECOMP_ICALL(0x2B073610u); /* 0x2B0702A8: call 0x2b073610 */ /* not lifted */ 18032 RECOMP_FLAGS_IN(); 18033 L_2B0702AD: 18034 ecx = MEM32(ebp + 0x8); /* 0x2B0702AD: mov ecx, dword ptr [ebp + 8] */ 18035 PUSH32(esp, 0x21u); /* 0x2B0702B0: push 0x21 */ 18036 PUSH32(esp, ecx); /* 0x2B0702B2: push ecx */ 18037 ecx = ebx; /* 0x2B0702B3: mov ecx, ebx */ 18038 RECOMP_ICALL(0x2B0735D0u); /* 0x2B0702B5: call 0x2b0735d0 */ /* not lifted */ 18039 RECOMP_FLAGS_IN(); 18040 ecx = MEM32(ebx + 0x28); /* 0x2B0702BA: mov ecx, dword ptr [ebx + 0x28] */ 18041 PUSH32(esp, 0x13u); /* 0x2B0702BD: push 0x13 */ 18042 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0702BF: push -1 */ 18043 MEM32(ebp + (-0x14)) = eax; /* 0x2B0702C1: mov dword ptr [ebp - 0x14], eax */ 18044 RECOMP_ICALL(esi); /* 0x2B0702C4: call esi */ 18045 RECOMP_FLAGS_IN(); 18046 edx = MEM32(ebx + 0x28); /* 0x2B0702C6: mov edx, dword ptr [ebx + 0x28] */ 18047 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 18048 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0702C9: or ecx, 0xffffffff */ 18049 _cf = 0; 18050 _flag_k = FK_TEST; 18051 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18052 eax = 0; /* 0x2B0702CC: xor eax, eax */ 18053 _cf = 0; 18054 _flag_k = FK_TEST; 18055 edi = 0x2B0EB834u; /* 0x2B0702CE: mov edi, 0x2b0eb834 */ 18056 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; } /* 0x2B0702D3: repne scasb al, byte ptr es:[edi] */ 18057 eax = MEM32(0x2B0B515C); /* 0x2B0702D5: mov eax, dword ptr [0x2b0b515c] */ 18058 ecx = ~ecx; /* 0x2B0702DA: not ecx */ 18059 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 18060 ecx = ecx - 1; /* 0x2B0702DC: dec ecx */ 18061 _flag_k = FK_DEC; 18062 edi = ecx; /* 0x2B0702DD: mov edi, ecx */ 18063 ecx = MEM32(eax); /* 0x2B0702DF: mov ecx, dword ptr [eax] */ 18064 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 18065 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18066 ecx = ecx - MEM32(edx + 0x8); /* 0x2B0702E1: sub ecx, dword ptr [edx + 8] */ 18067 _flag_k = FK_CMP; 18068 /* cmp ecx, edi */ /* 0x2B0702E4: cmp ecx, edi */ 18069 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 18070 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18071 _flag_k = FK_CMP; 18072 MEM32(ebp + 0xC) = edx; /* 0x2B0702E6: mov dword ptr [ebp + 0xc], edx */ 18073 if (CMP_A(_flag_a, _flag_b)) goto L_2B0702F1; /* 0x2B0702E9: ja 0x2b0702f1 */ 18074 L_2B0702EB: 18075 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0702EB: call dword ptr [0x2b0b51a8] */ 18076 RECOMP_FLAGS_IN(); 18077 L_2B0702F1: 18078 /* test edi, edi */ /* 0x2B0702F1: test edi, edi */ 18079 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 18080 _cf = 0; 18081 _flag_k = FK_TEST; 18082 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070341; /* 0x2B0702F3: jbe 0x2b070341 */ 18083 L_2B0702F5: 18084 ecx = MEM32(ebp + 0xC); /* 0x2B0702F5: mov ecx, dword ptr [ebp + 0xc] */ 18085 eax = MEM32(ecx + 0x8); /* 0x2B0702F8: mov eax, dword ptr [ecx + 8] */ 18086 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 18087 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18088 eax = eax + edi; /* 0x2B0702FB: add eax, edi */ 18089 _flag_k = FK_ADD; 18090 PUSH32(esp, 0); /* 0x2B0702FD: push 0 */ 18091 PUSH32(esp, eax); /* 0x2B0702FF: push eax */ 18092 MEM32(ebp + (-0x10)) = eax; /* 0x2B070300: mov dword ptr [ebp - 0x10], eax */ 18093 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070303: call dword ptr [0x2b0b5154] */ 18094 RECOMP_FLAGS_IN(); 18095 /* test LO8(eax), LO8(eax) */ /* 0x2B070309: test al, al */ 18096 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18097 _cf = 0; 18098 _flag_k = FK_NARROW(FK_TEST, 24); 18099 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070341; /* 0x2B07030B: je 0x2b070341 */ 18100 L_2B07030D: 18101 eax = MEM32(ebp + 0xC); /* 0x2B07030D: mov eax, dword ptr [ebp + 0xc] */ 18102 esi = MEM32(eax + 0x8); /* 0x2B070310: mov esi, dword ptr [eax + 8] */ 18103 edx = MEM32(eax + 0x4); /* 0x2B070313: mov edx, dword ptr [eax + 4] */ 18104 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 18105 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18106 edx = edx + esi; /* 0x2B070316: add edx, esi */ 18107 _flag_k = FK_ADD; 18108 ecx = edi; /* 0x2B070318: mov ecx, edi */ 18109 edi = edx; /* 0x2B07031A: mov edi, edx */ 18110 edx = ecx; /* 0x2B07031C: mov edx, ecx */ 18111 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07031E: shr ecx, 2 */ 18112 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 18113 ecx = ecx >> 2u; /* 0x2B07031E: shr ecx, 2 */ 18114 esi = 0x2B0EB834u; /* 0x2B070321: mov esi, 0x2b0eb834 */ 18115 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070326: 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; } 18116 ecx = edx; /* 0x2B070328: mov ecx, edx */ 18117 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 18118 ecx = ecx & 3; /* 0x2B07032A: and ecx, 3 */ 18119 _cf = 0; 18120 _flag_k = FK_TEST; 18121 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07032D: 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; } 18122 ecx = MEM32(ebp + (-0x10)); /* 0x2B07032F: mov ecx, dword ptr [ebp - 0x10] */ 18123 PUSH32(esp, ecx); /* 0x2B070332: push ecx */ 18124 ecx = eax; /* 0x2B070333: mov ecx, eax */ 18125 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B070335: call dword ptr [0x2b0b5150] */ 18126 RECOMP_FLAGS_IN(); 18127 esi = MEM32(0x2B0B5A74); /* 0x2B07033B: mov esi, dword ptr [0x2b0b5a74] */ 18128 L_2B070341: 18129 ecx = MEM32(ebx + 0x28); /* 0x2B070341: mov ecx, dword ptr [ebx + 0x28] */ 18130 PUSH32(esp, 0x14u); /* 0x2B070344: push 0x14 */ 18131 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070346: push -1 */ 18132 RECOMP_ICALL(esi); /* 0x2B070348: call esi */ 18133 RECOMP_FLAGS_IN(); 18134 /* cmp MEM32(ebp + (-0x14)), 3 */ /* 0x2B07034A: cmp dword ptr [ebp - 0x14], 3 */ 18135 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(3); 18136 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18137 _flag_k = FK_CMP; 18138 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0703DA; /* 0x2B07034E: je 0x2b0703da */ 18139 L_2B070354: 18140 edx = MEM32(ebp + 0x8); /* 0x2B070354: mov edx, dword ptr [ebp + 8] */ 18141 PUSH32(esp, edx); /* 0x2B070357: push edx */ 18142 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B070358: call dword ptr [0x2b0b5d6c] */ 18143 RECOMP_FLAGS_IN(); 18144 ecx = eax; /* 0x2B07035E: mov ecx, eax */ 18145 RECOMP_ICALL(MEM32(0x2B0B5D2C)); /* 0x2B070360: call dword ptr [0x2b0b5d2c] */ 18146 RECOMP_FLAGS_IN(); 18147 edx = MEM32(ebx + 0x28); /* 0x2B070366: mov edx, dword ptr [ebx + 0x28] */ 18148 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 18149 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070369: or ecx, 0xffffffff */ 18150 _cf = 0; 18151 _flag_k = FK_TEST; 18152 edi = eax; /* 0x2B07036C: mov edi, eax */ 18153 MEM32(ebp + (-0x10)) = eax; /* 0x2B07036E: mov dword ptr [ebp - 0x10], eax */ 18154 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18155 eax = 0; /* 0x2B070371: xor eax, eax */ 18156 _cf = 0; 18157 _flag_k = FK_TEST; 18158 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; } /* 0x2B070373: repne scasb al, byte ptr es:[edi] */ 18159 eax = MEM32(0x2B0B515C); /* 0x2B070375: mov eax, dword ptr [0x2b0b515c] */ 18160 ecx = ~ecx; /* 0x2B07037A: not ecx */ 18161 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 18162 ecx = ecx - 1; /* 0x2B07037C: dec ecx */ 18163 _flag_k = FK_DEC; 18164 edi = ecx; /* 0x2B07037D: mov edi, ecx */ 18165 ecx = MEM32(eax); /* 0x2B07037F: mov ecx, dword ptr [eax] */ 18166 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 18167 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18168 ecx = ecx - MEM32(edx + 0x8); /* 0x2B070381: sub ecx, dword ptr [edx + 8] */ 18169 _flag_k = FK_CMP; 18170 /* cmp ecx, edi */ /* 0x2B070384: cmp ecx, edi */ 18171 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 18172 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18173 _flag_k = FK_CMP; 18174 MEM32(ebp + 0xC) = edx; /* 0x2B070386: mov dword ptr [ebp + 0xc], edx */ 18175 if (CMP_A(_flag_a, _flag_b)) goto L_2B070391; /* 0x2B070389: ja 0x2b070391 */ 18176 L_2B07038B: 18177 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07038B: call dword ptr [0x2b0b51a8] */ 18178 RECOMP_FLAGS_IN(); 18179 L_2B070391: 18180 /* test edi, edi */ /* 0x2B070391: test edi, edi */ 18181 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 18182 _cf = 0; 18183 _flag_k = FK_TEST; 18184 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070455; /* 0x2B070393: jbe 0x2b070455 */ 18185 L_2B070399: 18186 ecx = MEM32(ebp + 0xC); /* 0x2B070399: mov ecx, dword ptr [ebp + 0xc] */ 18187 eax = MEM32(ecx + 0x8); /* 0x2B07039C: mov eax, dword ptr [ecx + 8] */ 18188 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 18189 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18190 eax = eax + edi; /* 0x2B07039F: add eax, edi */ 18191 _flag_k = FK_ADD; 18192 PUSH32(esp, 0); /* 0x2B0703A1: push 0 */ 18193 PUSH32(esp, eax); /* 0x2B0703A3: push eax */ 18194 MEM32(ebp + (-0x18)) = eax; /* 0x2B0703A4: mov dword ptr [ebp - 0x18], eax */ 18195 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0703A7: call dword ptr [0x2b0b5154] */ 18196 RECOMP_FLAGS_IN(); 18197 /* test LO8(eax), LO8(eax) */ /* 0x2B0703AD: test al, al */ 18198 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18199 _cf = 0; 18200 _flag_k = FK_NARROW(FK_TEST, 24); 18201 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070455; /* 0x2B0703AF: je 0x2b070455 */ 18202 L_2B0703B5: 18203 eax = MEM32(ebp + 0xC); /* 0x2B0703B5: mov eax, dword ptr [ebp + 0xc] */ 18204 esi = MEM32(eax + 0x8); /* 0x2B0703B8: mov esi, dword ptr [eax + 8] */ 18205 edx = MEM32(eax + 0x4); /* 0x2B0703BB: mov edx, dword ptr [eax + 4] */ 18206 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 18207 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18208 edx = edx + esi; /* 0x2B0703BE: add edx, esi */ 18209 _flag_k = FK_ADD; 18210 esi = MEM32(ebp + (-0x10)); /* 0x2B0703C0: mov esi, dword ptr [ebp - 0x10] */ 18211 ecx = edi; /* 0x2B0703C3: mov ecx, edi */ 18212 edi = edx; /* 0x2B0703C5: mov edi, edx */ 18213 edx = ecx; /* 0x2B0703C7: mov edx, ecx */ 18214 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0703C9: shr ecx, 2 */ 18215 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 18216 ecx = ecx >> 2u; /* 0x2B0703C9: shr ecx, 2 */ 18217 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0703CC: 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; } 18218 ecx = edx; /* 0x2B0703CE: mov ecx, edx */ 18219 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 18220 ecx = ecx & 3; /* 0x2B0703D0: and ecx, 3 */ 18221 _cf = 0; 18222 _flag_k = FK_TEST; 18223 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0703D3: 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; } 18224 ecx = MEM32(ebp + (-0x18)); /* 0x2B0703D5: mov ecx, dword ptr [ebp - 0x18] */ 18225 goto L_2B070446; /* 0x2B0703D8: jmp 0x2b070446 */ 18226 L_2B0703DA: 18227 edx = MEM32(ebx + 0x28); /* 0x2B0703DA: mov edx, dword ptr [ebx + 0x28] */ 18228 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 18229 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0703DD: or ecx, 0xffffffff */ 18230 _cf = 0; 18231 _flag_k = FK_TEST; 18232 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18233 eax = 0; /* 0x2B0703E0: xor eax, eax */ 18234 _cf = 0; 18235 _flag_k = FK_TEST; 18236 edi = 0x2B0EB850u; /* 0x2B0703E2: mov edi, 0x2b0eb850 */ 18237 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; } /* 0x2B0703E7: repne scasb al, byte ptr es:[edi] */ 18238 eax = MEM32(0x2B0B515C); /* 0x2B0703E9: mov eax, dword ptr [0x2b0b515c] */ 18239 ecx = ~ecx; /* 0x2B0703EE: not ecx */ 18240 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 18241 ecx = ecx - 1; /* 0x2B0703F0: dec ecx */ 18242 _flag_k = FK_DEC; 18243 edi = ecx; /* 0x2B0703F1: mov edi, ecx */ 18244 ecx = MEM32(eax); /* 0x2B0703F3: mov ecx, dword ptr [eax] */ 18245 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 18246 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18247 ecx = ecx - MEM32(edx + 0x8); /* 0x2B0703F5: sub ecx, dword ptr [edx + 8] */ 18248 _flag_k = FK_CMP; 18249 /* cmp ecx, edi */ /* 0x2B0703F8: cmp ecx, edi */ 18250 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 18251 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18252 _flag_k = FK_CMP; 18253 MEM32(ebp + 0xC) = edx; /* 0x2B0703FA: mov dword ptr [ebp + 0xc], edx */ 18254 if (CMP_A(_flag_a, _flag_b)) goto L_2B070405; /* 0x2B0703FD: ja 0x2b070405 */ 18255 L_2B0703FF: 18256 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0703FF: call dword ptr [0x2b0b51a8] */ 18257 RECOMP_FLAGS_IN(); 18258 L_2B070405: 18259 /* test edi, edi */ /* 0x2B070405: test edi, edi */ 18260 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 18261 _cf = 0; 18262 _flag_k = FK_TEST; 18263 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070455; /* 0x2B070407: jbe 0x2b070455 */ 18264 L_2B070409: 18265 ecx = MEM32(ebp + 0xC); /* 0x2B070409: mov ecx, dword ptr [ebp + 0xc] */ 18266 eax = MEM32(ecx + 0x8); /* 0x2B07040C: mov eax, dword ptr [ecx + 8] */ 18267 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 18268 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18269 eax = eax + edi; /* 0x2B07040F: add eax, edi */ 18270 _flag_k = FK_ADD; 18271 PUSH32(esp, 0); /* 0x2B070411: push 0 */ 18272 PUSH32(esp, eax); /* 0x2B070413: push eax */ 18273 MEM32(ebp + (-0x18)) = eax; /* 0x2B070414: mov dword ptr [ebp - 0x18], eax */ 18274 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070417: call dword ptr [0x2b0b5154] */ 18275 RECOMP_FLAGS_IN(); 18276 /* test LO8(eax), LO8(eax) */ /* 0x2B07041D: test al, al */ 18277 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18278 _cf = 0; 18279 _flag_k = FK_NARROW(FK_TEST, 24); 18280 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070455; /* 0x2B07041F: je 0x2b070455 */ 18281 L_2B070421: 18282 eax = MEM32(ebp + 0xC); /* 0x2B070421: mov eax, dword ptr [ebp + 0xc] */ 18283 esi = MEM32(eax + 0x8); /* 0x2B070424: mov esi, dword ptr [eax + 8] */ 18284 edx = MEM32(eax + 0x4); /* 0x2B070427: mov edx, dword ptr [eax + 4] */ 18285 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 18286 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18287 edx = edx + esi; /* 0x2B07042A: add edx, esi */ 18288 _flag_k = FK_ADD; 18289 ecx = edi; /* 0x2B07042C: mov ecx, edi */ 18290 edi = edx; /* 0x2B07042E: mov edi, edx */ 18291 edx = ecx; /* 0x2B070430: mov edx, ecx */ 18292 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070432: shr ecx, 2 */ 18293 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 18294 ecx = ecx >> 2u; /* 0x2B070432: shr ecx, 2 */ 18295 esi = 0x2B0EB850u; /* 0x2B070435: mov esi, 0x2b0eb850 */ 18296 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07043A: 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; } 18297 ecx = edx; /* 0x2B07043C: mov ecx, edx */ 18298 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 18299 ecx = ecx & 3; /* 0x2B07043E: and ecx, 3 */ 18300 _cf = 0; 18301 _flag_k = FK_TEST; 18302 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070441: 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; } 18303 ecx = MEM32(ebp + (-0x18)); /* 0x2B070443: mov ecx, dword ptr [ebp - 0x18] */ 18304 L_2B070446: 18305 PUSH32(esp, ecx); /* 0x2B070446: push ecx */ 18306 ecx = eax; /* 0x2B070447: mov ecx, eax */ 18307 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B070449: call dword ptr [0x2b0b5150] */ 18308 RECOMP_FLAGS_IN(); 18309 esi = MEM32(0x2B0B5A74); /* 0x2B07044F: mov esi, dword ptr [0x2b0b5a74] */ 18310 L_2B070455: 18311 ecx = MEM32(ebx + 0x28); /* 0x2B070455: mov ecx, dword ptr [ebx + 0x28] */ 18312 PUSH32(esp, 0x13u); /* 0x2B070458: push 0x13 */ 18313 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07045A: push -1 */ 18314 RECOMP_ICALL(esi); /* 0x2B07045C: call esi */ 18315 RECOMP_FLAGS_IN(); 18316 edx = MEM32(ebx + 0x28); /* 0x2B07045E: mov edx, dword ptr [ebx + 0x28] */ 18317 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 18318 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070461: or ecx, 0xffffffff */ 18319 _cf = 0; 18320 _flag_k = FK_TEST; 18321 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18322 eax = 0; /* 0x2B070464: xor eax, eax */ 18323 _cf = 0; 18324 _flag_k = FK_TEST; 18325 edi = 0x2B0EB820u; /* 0x2B070466: mov edi, 0x2b0eb820 */ 18326 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; } /* 0x2B07046B: repne scasb al, byte ptr es:[edi] */ 18327 eax = MEM32(0x2B0B515C); /* 0x2B07046D: mov eax, dword ptr [0x2b0b515c] */ 18328 ecx = ~ecx; /* 0x2B070472: not ecx */ 18329 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 18330 ecx = ecx - 1; /* 0x2B070474: dec ecx */ 18331 _flag_k = FK_DEC; 18332 edi = ecx; /* 0x2B070475: mov edi, ecx */ 18333 ecx = MEM32(eax); /* 0x2B070477: mov ecx, dword ptr [eax] */ 18334 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 18335 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18336 ecx = ecx - MEM32(edx + 0x8); /* 0x2B070479: sub ecx, dword ptr [edx + 8] */ 18337 _flag_k = FK_CMP; 18338 /* cmp ecx, edi */ /* 0x2B07047C: cmp ecx, edi */ 18339 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 18340 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18341 _flag_k = FK_CMP; 18342 MEM32(ebp + 0xC) = edx; /* 0x2B07047E: mov dword ptr [ebp + 0xc], edx */ 18343 if (CMP_A(_flag_a, _flag_b)) goto L_2B070489; /* 0x2B070481: ja 0x2b070489 */ 18344 L_2B070483: 18345 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070483: call dword ptr [0x2b0b51a8] */ 18346 RECOMP_FLAGS_IN(); 18347 L_2B070489: 18348 /* test edi, edi */ /* 0x2B070489: test edi, edi */ 18349 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 18350 _cf = 0; 18351 _flag_k = FK_TEST; 18352 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0704D9; /* 0x2B07048B: jbe 0x2b0704d9 */ 18353 L_2B07048D: 18354 ecx = MEM32(ebp + 0xC); /* 0x2B07048D: mov ecx, dword ptr [ebp + 0xc] */ 18355 eax = MEM32(ecx + 0x8); /* 0x2B070490: mov eax, dword ptr [ecx + 8] */ 18356 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 18357 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18358 eax = eax + edi; /* 0x2B070493: add eax, edi */ 18359 _flag_k = FK_ADD; 18360 PUSH32(esp, 0); /* 0x2B070495: push 0 */ 18361 PUSH32(esp, eax); /* 0x2B070497: push eax */ 18362 MEM32(ebp + (-0x18)) = eax; /* 0x2B070498: mov dword ptr [ebp - 0x18], eax */ 18363 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07049B: call dword ptr [0x2b0b5154] */ 18364 RECOMP_FLAGS_IN(); 18365 /* test LO8(eax), LO8(eax) */ /* 0x2B0704A1: test al, al */ 18366 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18367 _cf = 0; 18368 _flag_k = FK_NARROW(FK_TEST, 24); 18369 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0704D9; /* 0x2B0704A3: je 0x2b0704d9 */ 18370 L_2B0704A5: 18371 eax = MEM32(ebp + 0xC); /* 0x2B0704A5: mov eax, dword ptr [ebp + 0xc] */ 18372 esi = MEM32(eax + 0x8); /* 0x2B0704A8: mov esi, dword ptr [eax + 8] */ 18373 edx = MEM32(eax + 0x4); /* 0x2B0704AB: mov edx, dword ptr [eax + 4] */ 18374 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 18375 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18376 edx = edx + esi; /* 0x2B0704AE: add edx, esi */ 18377 _flag_k = FK_ADD; 18378 ecx = edi; /* 0x2B0704B0: mov ecx, edi */ 18379 edi = edx; /* 0x2B0704B2: mov edi, edx */ 18380 edx = ecx; /* 0x2B0704B4: mov edx, ecx */ 18381 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0704B6: shr ecx, 2 */ 18382 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 18383 ecx = ecx >> 2u; /* 0x2B0704B6: shr ecx, 2 */ 18384 esi = 0x2B0EB820u; /* 0x2B0704B9: mov esi, 0x2b0eb820 */ 18385 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0704BE: 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; } 18386 ecx = edx; /* 0x2B0704C0: mov ecx, edx */ 18387 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 18388 ecx = ecx & 3; /* 0x2B0704C2: and ecx, 3 */ 18389 _cf = 0; 18390 _flag_k = FK_TEST; 18391 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0704C5: 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; } 18392 ecx = MEM32(ebp + (-0x18)); /* 0x2B0704C7: mov ecx, dword ptr [ebp - 0x18] */ 18393 PUSH32(esp, ecx); /* 0x2B0704CA: push ecx */ 18394 ecx = eax; /* 0x2B0704CB: mov ecx, eax */ 18395 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B0704CD: call dword ptr [0x2b0b5150] */ 18396 RECOMP_FLAGS_IN(); 18397 esi = MEM32(0x2B0B5A74); /* 0x2B0704D3: mov esi, dword ptr [0x2b0b5a74] */ 18398 L_2B0704D9: 18399 ecx = MEM32(ebx + 0x28); /* 0x2B0704D9: mov ecx, dword ptr [ebx + 0x28] */ 18400 PUSH32(esp, 0x14u); /* 0x2B0704DC: push 0x14 */ 18401 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0704DE: push -1 */ 18402 RECOMP_ICALL(esi); /* 0x2B0704E0: call esi */ 18403 RECOMP_FLAGS_IN(); 18404 edx = MEM32(ebp + 0x8); /* 0x2B0704E2: mov edx, dword ptr [ebp + 8] */ 18405 PUSH32(esp, edx); /* 0x2B0704E5: push edx */ 18406 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0704E6: call dword ptr [0x2b0b5d6c] */ 18407 RECOMP_FLAGS_IN(); 18408 ecx = eax; /* 0x2B0704EC: mov ecx, eax */ 18409 RECOMP_ICALL(MEM32(0x2B0B5D74)); /* 0x2B0704EE: call dword ptr [0x2b0b5d74] */ 18410 RECOMP_FLAGS_IN(); 18411 MEM32(ebp + 0xC) = eax; /* 0x2B0704F4: mov dword ptr [ebp + 0xc], eax */ 18412 fp_push((double)(int32_t)MEM32(ebp + 0xC)); /* 0x2B0704F7: fild dword ptr [ebp + 0xc] */ 18413 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 18414 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18415 esp = esp - 8; /* 0x2B0704FA: sub esp, 8 */ 18416 _flag_k = FK_CMP; 18417 _st[0] *= (double)*(float*)ADDR(0x2B0B6CE4); /* 0x2B0704FD: fmul dword ptr [0x2b0b6ce4] */ 18418 { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x2B070503: fstp qword ptr [esp] */ 18419 PUSH32(esp, 0x2B0EB818u); /* 0x2B070506: push 0x2b0eb818 */ 18420 PUSH32(esp, 0x2B0EEE84u); /* 0x2B07050B: push 0x2b0eee84 */ 18421 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B070510: call dword ptr [0x2b0b51f0] */ 18422 RECOMP_FLAGS_IN(); 18423 edx = MEM32(ebx + 0x28); /* 0x2B070516: mov edx, dword ptr [ebx + 0x28] */ 18424 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 18425 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070519: or ecx, 0xffffffff */ 18426 _cf = 0; 18427 _flag_k = FK_TEST; 18428 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18429 eax = 0; /* 0x2B07051C: xor eax, eax */ 18430 _cf = 0; 18431 _flag_k = FK_TEST; 18432 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 18433 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18434 esp = esp + 0x10u; /* 0x2B07051E: add esp, 0x10 */ 18435 _flag_k = FK_ADD; 18436 edi = 0x2B0EEE84u; /* 0x2B070521: mov edi, 0x2b0eee84 */ 18437 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; } /* 0x2B070526: repne scasb al, byte ptr es:[edi] */ 18438 eax = MEM32(0x2B0B515C); /* 0x2B070528: mov eax, dword ptr [0x2b0b515c] */ 18439 ecx = ~ecx; /* 0x2B07052D: not ecx */ 18440 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 18441 ecx = ecx - 1; /* 0x2B07052F: dec ecx */ 18442 _flag_k = FK_DEC; 18443 edi = ecx; /* 0x2B070530: mov edi, ecx */ 18444 ecx = MEM32(eax); /* 0x2B070532: mov ecx, dword ptr [eax] */ 18445 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 18446 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18447 ecx = ecx - MEM32(edx + 0x8); /* 0x2B070534: sub ecx, dword ptr [edx + 8] */ 18448 _flag_k = FK_CMP; 18449 /* cmp ecx, edi */ /* 0x2B070537: cmp ecx, edi */ 18450 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 18451 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18452 _flag_k = FK_CMP; 18453 MEM32(ebp + 0xC) = edx; /* 0x2B070539: mov dword ptr [ebp + 0xc], edx */ 18454 if (CMP_A(_flag_a, _flag_b)) goto L_2B070544; /* 0x2B07053C: ja 0x2b070544 */ 18455 L_2B07053E: 18456 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07053E: call dword ptr [0x2b0b51a8] */ 18457 RECOMP_FLAGS_IN(); 18458 L_2B070544: 18459 /* test edi, edi */ /* 0x2B070544: test edi, edi */ 18460 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 18461 _cf = 0; 18462 _flag_k = FK_TEST; 18463 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070594; /* 0x2B070546: jbe 0x2b070594 */ 18464 L_2B070548: 18465 ecx = MEM32(ebp + 0xC); /* 0x2B070548: mov ecx, dword ptr [ebp + 0xc] */ 18466 eax = MEM32(ecx + 0x8); /* 0x2B07054B: mov eax, dword ptr [ecx + 8] */ 18467 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 18468 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18469 eax = eax + edi; /* 0x2B07054E: add eax, edi */ 18470 _flag_k = FK_ADD; 18471 PUSH32(esp, 0); /* 0x2B070550: push 0 */ 18472 PUSH32(esp, eax); /* 0x2B070552: push eax */ 18473 MEM32(ebp + (-0x18)) = eax; /* 0x2B070553: mov dword ptr [ebp - 0x18], eax */ 18474 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070556: call dword ptr [0x2b0b5154] */ 18475 RECOMP_FLAGS_IN(); 18476 /* test LO8(eax), LO8(eax) */ /* 0x2B07055C: test al, al */ 18477 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18478 _cf = 0; 18479 _flag_k = FK_NARROW(FK_TEST, 24); 18480 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070594; /* 0x2B07055E: je 0x2b070594 */ 18481 L_2B070560: 18482 eax = MEM32(ebp + 0xC); /* 0x2B070560: mov eax, dword ptr [ebp + 0xc] */ 18483 esi = MEM32(eax + 0x8); /* 0x2B070563: mov esi, dword ptr [eax + 8] */ 18484 edx = MEM32(eax + 0x4); /* 0x2B070566: mov edx, dword ptr [eax + 4] */ 18485 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 18486 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18487 edx = edx + esi; /* 0x2B070569: add edx, esi */ 18488 _flag_k = FK_ADD; 18489 ecx = edi; /* 0x2B07056B: mov ecx, edi */ 18490 edi = edx; /* 0x2B07056D: mov edi, edx */ 18491 edx = ecx; /* 0x2B07056F: mov edx, ecx */ 18492 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070571: shr ecx, 2 */ 18493 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 18494 ecx = ecx >> 2u; /* 0x2B070571: shr ecx, 2 */ 18495 esi = 0x2B0EEE84u; /* 0x2B070574: mov esi, 0x2b0eee84 */ 18496 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070579: 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; } 18497 ecx = edx; /* 0x2B07057B: mov ecx, edx */ 18498 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 18499 ecx = ecx & 3; /* 0x2B07057D: and ecx, 3 */ 18500 _cf = 0; 18501 _flag_k = FK_TEST; 18502 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070580: 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; } 18503 ecx = MEM32(ebp + (-0x18)); /* 0x2B070582: mov ecx, dword ptr [ebp - 0x18] */ 18504 PUSH32(esp, ecx); /* 0x2B070585: push ecx */ 18505 ecx = eax; /* 0x2B070586: mov ecx, eax */ 18506 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B070588: call dword ptr [0x2b0b5150] */ 18507 RECOMP_FLAGS_IN(); 18508 esi = MEM32(0x2B0B5A74); /* 0x2B07058E: mov esi, dword ptr [0x2b0b5a74] */ 18509 L_2B070594: 18510 /* cmp MEM32(ebp + (-0x14)), 2 */ /* 0x2B070594: cmp dword ptr [ebp - 0x14], 2 */ 18511 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(2); 18512 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18513 _flag_k = FK_CMP; 18514 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0705A1; /* 0x2B070598: jne 0x2b0705a1 */ 18515 L_2B07059A: 18516 PUSH32(esp, 0x2B0EB80Cu); /* 0x2B07059A: push 0x2b0eb80c */ 18517 goto L_2B0705A6; /* 0x2B07059F: jmp 0x2b0705a6 */ 18518 L_2B0705A1: 18519 PUSH32(esp, 0x2B0EB804u); /* 0x2B0705A1: push 0x2b0eb804 */ 18520 L_2B0705A6: 18521 PUSH32(esp, 0x2B0EEE84u); /* 0x2B0705A6: push 0x2b0eee84 */ 18522 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B0705AB: call dword ptr [0x2b0b51f0] */ 18523 RECOMP_FLAGS_IN(); 18524 edi = MEM32(ebp + 0x8); /* 0x2B0705B1: mov edi, dword ptr [ebp + 8] */ 18525 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 18526 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18527 esp = esp + 8; /* 0x2B0705B4: add esp, 8 */ 18528 _flag_k = FK_ADD; 18529 PUSH32(esp, edi); /* 0x2B0705B7: push edi */ 18530 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0705B8: call dword ptr [0x2b0b5d6c] */ 18531 RECOMP_FLAGS_IN(); 18532 ecx = eax; /* 0x2B0705BE: mov ecx, eax */ 18533 RECOMP_ICALL(MEM32(0x2B0B5DEC)); /* 0x2B0705C0: call dword ptr [0x2b0b5dec] */ 18534 RECOMP_FLAGS_IN(); 18535 /* test eax, eax */ /* 0x2B0705C6: test eax, eax */ 18536 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 18537 _cf = 0; 18538 _flag_k = FK_TEST; 18539 MEM32(ebp + (-0x14)) = eax; /* 0x2B0705C8: mov dword ptr [ebp - 0x14], eax */ 18540 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070775; /* 0x2B0705CB: je 0x2b070775 */ 18541 L_2B0705D1: 18542 ecx = MEM32(ebx + 0x28); /* 0x2B0705D1: mov ecx, dword ptr [ebx + 0x28] */ 18543 PUSH32(esp, 0x13u); /* 0x2B0705D4: push 0x13 */ 18544 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0705D6: push -1 */ 18545 RECOMP_ICALL(esi); /* 0x2B0705D8: call esi */ 18546 RECOMP_FLAGS_IN(); 18547 edx = MEM32(ebx + 0x28); /* 0x2B0705DA: mov edx, dword ptr [ebx + 0x28] */ 18548 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 18549 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0705DD: or ecx, 0xffffffff */ 18550 _cf = 0; 18551 _flag_k = FK_TEST; 18552 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18553 eax = 0; /* 0x2B0705E0: xor eax, eax */ 18554 _cf = 0; 18555 _flag_k = FK_TEST; 18556 edi = 0x2B0E2BF8u; /* 0x2B0705E2: mov edi, 0x2b0e2bf8 */ 18557 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; } /* 0x2B0705E7: repne scasb al, byte ptr es:[edi] */ 18558 eax = MEM32(0x2B0B515C); /* 0x2B0705E9: mov eax, dword ptr [0x2b0b515c] */ 18559 ecx = ~ecx; /* 0x2B0705EE: not ecx */ 18560 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 18561 ecx = ecx - 1; /* 0x2B0705F0: dec ecx */ 18562 _flag_k = FK_DEC; 18563 edi = ecx; /* 0x2B0705F1: mov edi, ecx */ 18564 ecx = MEM32(eax); /* 0x2B0705F3: mov ecx, dword ptr [eax] */ 18565 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 18566 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18567 ecx = ecx - MEM32(edx + 0x8); /* 0x2B0705F5: sub ecx, dword ptr [edx + 8] */ 18568 _flag_k = FK_CMP; 18569 /* cmp ecx, edi */ /* 0x2B0705F8: cmp ecx, edi */ 18570 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 18571 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18572 _flag_k = FK_CMP; 18573 MEM32(ebp + 0xC) = edx; /* 0x2B0705FA: mov dword ptr [ebp + 0xc], edx */ 18574 if (CMP_A(_flag_a, _flag_b)) goto L_2B070605; /* 0x2B0705FD: ja 0x2b070605 */ 18575 L_2B0705FF: 18576 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0705FF: call dword ptr [0x2b0b51a8] */ 18577 RECOMP_FLAGS_IN(); 18578 L_2B070605: 18579 /* test edi, edi */ /* 0x2B070605: test edi, edi */ 18580 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 18581 _cf = 0; 18582 _flag_k = FK_TEST; 18583 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070657; /* 0x2B070607: jbe 0x2b070657 */ 18584 L_2B070609: 18585 ecx = MEM32(ebp + 0xC); /* 0x2B070609: mov ecx, dword ptr [ebp + 0xc] */ 18586 edx = MEM32(ecx + 0x8); /* 0x2B07060C: mov edx, dword ptr [ecx + 8] */ 18587 eax = edi; /* 0x2B07060F: mov eax, edi */ 18588 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 18589 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18590 eax = eax + edx; /* 0x2B070611: add eax, edx */ 18591 _flag_k = FK_ADD; 18592 PUSH32(esp, 0); /* 0x2B070613: push 0 */ 18593 PUSH32(esp, eax); /* 0x2B070615: push eax */ 18594 MEM32(ebp + (-0x18)) = eax; /* 0x2B070616: mov dword ptr [ebp - 0x18], eax */ 18595 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070619: call dword ptr [0x2b0b5154] */ 18596 RECOMP_FLAGS_IN(); 18597 /* test LO8(eax), LO8(eax) */ /* 0x2B07061F: test al, al */ 18598 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18599 _cf = 0; 18600 _flag_k = FK_NARROW(FK_TEST, 24); 18601 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070657; /* 0x2B070621: je 0x2b070657 */ 18602 L_2B070623: 18603 eax = MEM32(ebp + 0xC); /* 0x2B070623: mov eax, dword ptr [ebp + 0xc] */ 18604 esi = MEM32(eax + 0x8); /* 0x2B070626: mov esi, dword ptr [eax + 8] */ 18605 edx = MEM32(eax + 0x4); /* 0x2B070629: mov edx, dword ptr [eax + 4] */ 18606 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 18607 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18608 edx = edx + esi; /* 0x2B07062C: add edx, esi */ 18609 _flag_k = FK_ADD; 18610 ecx = edi; /* 0x2B07062E: mov ecx, edi */ 18611 edi = edx; /* 0x2B070630: mov edi, edx */ 18612 edx = ecx; /* 0x2B070632: mov edx, ecx */ 18613 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070634: shr ecx, 2 */ 18614 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 18615 ecx = ecx >> 2u; /* 0x2B070634: shr ecx, 2 */ 18616 esi = 0x2B0E2BF8u; /* 0x2B070637: mov esi, 0x2b0e2bf8 */ 18617 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07063C: 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; } 18618 ecx = edx; /* 0x2B07063E: mov ecx, edx */ 18619 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 18620 ecx = ecx & 3; /* 0x2B070640: and ecx, 3 */ 18621 _cf = 0; 18622 _flag_k = FK_TEST; 18623 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070643: 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; } 18624 ecx = MEM32(ebp + (-0x18)); /* 0x2B070645: mov ecx, dword ptr [ebp - 0x18] */ 18625 PUSH32(esp, ecx); /* 0x2B070648: push ecx */ 18626 ecx = eax; /* 0x2B070649: mov ecx, eax */ 18627 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07064B: call dword ptr [0x2b0b5150] */ 18628 RECOMP_FLAGS_IN(); 18629 esi = MEM32(0x2B0B5A74); /* 0x2B070651: mov esi, dword ptr [0x2b0b5a74] */ 18630 L_2B070657: 18631 edx = MEM32(ebx + 0x28); /* 0x2B070657: mov edx, dword ptr [ebx + 0x28] */ 18632 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 18633 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07065A: or ecx, 0xffffffff */ 18634 _cf = 0; 18635 _flag_k = FK_TEST; 18636 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18637 eax = 0; /* 0x2B07065D: xor eax, eax */ 18638 _cf = 0; 18639 _flag_k = FK_TEST; 18640 edi = 0x2B0EEE84u; /* 0x2B07065F: mov edi, 0x2b0eee84 */ 18641 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; } /* 0x2B070664: repne scasb al, byte ptr es:[edi] */ 18642 eax = MEM32(0x2B0B515C); /* 0x2B070666: mov eax, dword ptr [0x2b0b515c] */ 18643 ecx = ~ecx; /* 0x2B07066B: not ecx */ 18644 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 18645 ecx = ecx - 1; /* 0x2B07066D: dec ecx */ 18646 _flag_k = FK_DEC; 18647 edi = ecx; /* 0x2B07066E: mov edi, ecx */ 18648 ecx = MEM32(eax); /* 0x2B070670: mov ecx, dword ptr [eax] */ 18649 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 18650 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18651 ecx = ecx - MEM32(edx + 0x8); /* 0x2B070672: sub ecx, dword ptr [edx + 8] */ 18652 _flag_k = FK_CMP; 18653 /* cmp ecx, edi */ /* 0x2B070675: cmp ecx, edi */ 18654 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 18655 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18656 _flag_k = FK_CMP; 18657 MEM32(ebp + 0xC) = edx; /* 0x2B070677: mov dword ptr [ebp + 0xc], edx */ 18658 if (CMP_A(_flag_a, _flag_b)) goto L_2B070682; /* 0x2B07067A: ja 0x2b070682 */ 18659 L_2B07067C: 18660 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07067C: call dword ptr [0x2b0b51a8] */ 18661 RECOMP_FLAGS_IN(); 18662 L_2B070682: 18663 /* test edi, edi */ /* 0x2B070682: test edi, edi */ 18664 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 18665 _cf = 0; 18666 _flag_k = FK_TEST; 18667 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0706D4; /* 0x2B070684: jbe 0x2b0706d4 */ 18668 L_2B070686: 18669 ecx = MEM32(ebp + 0xC); /* 0x2B070686: mov ecx, dword ptr [ebp + 0xc] */ 18670 edx = MEM32(ecx + 0x8); /* 0x2B070689: mov edx, dword ptr [ecx + 8] */ 18671 eax = edi; /* 0x2B07068C: mov eax, edi */ 18672 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 18673 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18674 eax = eax + edx; /* 0x2B07068E: add eax, edx */ 18675 _flag_k = FK_ADD; 18676 PUSH32(esp, 0); /* 0x2B070690: push 0 */ 18677 PUSH32(esp, eax); /* 0x2B070692: push eax */ 18678 MEM32(ebp + (-0x18)) = eax; /* 0x2B070693: mov dword ptr [ebp - 0x18], eax */ 18679 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070696: call dword ptr [0x2b0b5154] */ 18680 RECOMP_FLAGS_IN(); 18681 /* test LO8(eax), LO8(eax) */ /* 0x2B07069C: test al, al */ 18682 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18683 _cf = 0; 18684 _flag_k = FK_NARROW(FK_TEST, 24); 18685 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0706D4; /* 0x2B07069E: je 0x2b0706d4 */ 18686 L_2B0706A0: 18687 eax = MEM32(ebp + 0xC); /* 0x2B0706A0: mov eax, dword ptr [ebp + 0xc] */ 18688 esi = MEM32(eax + 0x8); /* 0x2B0706A3: mov esi, dword ptr [eax + 8] */ 18689 edx = MEM32(eax + 0x4); /* 0x2B0706A6: mov edx, dword ptr [eax + 4] */ 18690 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 18691 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18692 edx = edx + esi; /* 0x2B0706A9: add edx, esi */ 18693 _flag_k = FK_ADD; 18694 ecx = edi; /* 0x2B0706AB: mov ecx, edi */ 18695 edi = edx; /* 0x2B0706AD: mov edi, edx */ 18696 edx = ecx; /* 0x2B0706AF: mov edx, ecx */ 18697 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0706B1: shr ecx, 2 */ 18698 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 18699 ecx = ecx >> 2u; /* 0x2B0706B1: shr ecx, 2 */ 18700 esi = 0x2B0EEE84u; /* 0x2B0706B4: mov esi, 0x2b0eee84 */ 18701 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0706B9: 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; } 18702 ecx = edx; /* 0x2B0706BB: mov ecx, edx */ 18703 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 18704 ecx = ecx & 3; /* 0x2B0706BD: and ecx, 3 */ 18705 _cf = 0; 18706 _flag_k = FK_TEST; 18707 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0706C0: 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; } 18708 ecx = MEM32(ebp + (-0x18)); /* 0x2B0706C2: mov ecx, dword ptr [ebp - 0x18] */ 18709 PUSH32(esp, ecx); /* 0x2B0706C5: push ecx */ 18710 ecx = eax; /* 0x2B0706C6: mov ecx, eax */ 18711 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B0706C8: call dword ptr [0x2b0b5150] */ 18712 RECOMP_FLAGS_IN(); 18713 esi = MEM32(0x2B0B5A74); /* 0x2B0706CE: mov esi, dword ptr [0x2b0b5a74] */ 18714 L_2B0706D4: 18715 edx = MEM32(ebx + 0x28); /* 0x2B0706D4: mov edx, dword ptr [ebx + 0x28] */ 18716 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 18717 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0706D7: or ecx, 0xffffffff */ 18718 _cf = 0; 18719 _flag_k = FK_TEST; 18720 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18721 eax = 0; /* 0x2B0706DA: xor eax, eax */ 18722 _cf = 0; 18723 _flag_k = FK_TEST; 18724 edi = 0x2B0E1C00u; /* 0x2B0706DC: mov edi, 0x2b0e1c00 */ 18725 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; } /* 0x2B0706E1: repne scasb al, byte ptr es:[edi] */ 18726 eax = MEM32(0x2B0B515C); /* 0x2B0706E3: mov eax, dword ptr [0x2b0b515c] */ 18727 ecx = ~ecx; /* 0x2B0706E8: not ecx */ 18728 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 18729 ecx = ecx - 1; /* 0x2B0706EA: dec ecx */ 18730 _flag_k = FK_DEC; 18731 edi = ecx; /* 0x2B0706EB: mov edi, ecx */ 18732 ecx = MEM32(eax); /* 0x2B0706ED: mov ecx, dword ptr [eax] */ 18733 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 18734 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18735 ecx = ecx - MEM32(edx + 0x8); /* 0x2B0706EF: sub ecx, dword ptr [edx + 8] */ 18736 _flag_k = FK_CMP; 18737 /* cmp ecx, edi */ /* 0x2B0706F2: cmp ecx, edi */ 18738 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 18739 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18740 _flag_k = FK_CMP; 18741 MEM32(ebp + 0xC) = edx; /* 0x2B0706F4: mov dword ptr [ebp + 0xc], edx */ 18742 if (CMP_A(_flag_a, _flag_b)) goto L_2B0706FF; /* 0x2B0706F7: ja 0x2b0706ff */ 18743 L_2B0706F9: 18744 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0706F9: call dword ptr [0x2b0b51a8] */ 18745 RECOMP_FLAGS_IN(); 18746 L_2B0706FF: 18747 /* test edi, edi */ /* 0x2B0706FF: test edi, edi */ 18748 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 18749 _cf = 0; 18750 _flag_k = FK_TEST; 18751 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070751; /* 0x2B070701: jbe 0x2b070751 */ 18752 L_2B070703: 18753 ecx = MEM32(ebp + 0xC); /* 0x2B070703: mov ecx, dword ptr [ebp + 0xc] */ 18754 edx = MEM32(ecx + 0x8); /* 0x2B070706: mov edx, dword ptr [ecx + 8] */ 18755 eax = edi; /* 0x2B070709: mov eax, edi */ 18756 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 18757 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18758 eax = eax + edx; /* 0x2B07070B: add eax, edx */ 18759 _flag_k = FK_ADD; 18760 PUSH32(esp, 0); /* 0x2B07070D: push 0 */ 18761 PUSH32(esp, eax); /* 0x2B07070F: push eax */ 18762 MEM32(ebp + (-0x18)) = eax; /* 0x2B070710: mov dword ptr [ebp - 0x18], eax */ 18763 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070713: call dword ptr [0x2b0b5154] */ 18764 RECOMP_FLAGS_IN(); 18765 /* test LO8(eax), LO8(eax) */ /* 0x2B070719: test al, al */ 18766 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18767 _cf = 0; 18768 _flag_k = FK_NARROW(FK_TEST, 24); 18769 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070751; /* 0x2B07071B: je 0x2b070751 */ 18770 L_2B07071D: 18771 eax = MEM32(ebp + 0xC); /* 0x2B07071D: mov eax, dword ptr [ebp + 0xc] */ 18772 esi = MEM32(eax + 0x8); /* 0x2B070720: mov esi, dword ptr [eax + 8] */ 18773 edx = MEM32(eax + 0x4); /* 0x2B070723: mov edx, dword ptr [eax + 4] */ 18774 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 18775 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18776 edx = edx + esi; /* 0x2B070726: add edx, esi */ 18777 _flag_k = FK_ADD; 18778 ecx = edi; /* 0x2B070728: mov ecx, edi */ 18779 edi = edx; /* 0x2B07072A: mov edi, edx */ 18780 edx = ecx; /* 0x2B07072C: mov edx, ecx */ 18781 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07072E: shr ecx, 2 */ 18782 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 18783 ecx = ecx >> 2u; /* 0x2B07072E: shr ecx, 2 */ 18784 esi = 0x2B0E1C00u; /* 0x2B070731: mov esi, 0x2b0e1c00 */ 18785 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070736: 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; } 18786 ecx = edx; /* 0x2B070738: mov ecx, edx */ 18787 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 18788 ecx = ecx & 3; /* 0x2B07073A: and ecx, 3 */ 18789 _cf = 0; 18790 _flag_k = FK_TEST; 18791 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07073D: 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; } 18792 ecx = MEM32(ebp + (-0x18)); /* 0x2B07073F: mov ecx, dword ptr [ebp - 0x18] */ 18793 PUSH32(esp, ecx); /* 0x2B070742: push ecx */ 18794 ecx = eax; /* 0x2B070743: mov ecx, eax */ 18795 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B070745: call dword ptr [0x2b0b5150] */ 18796 RECOMP_FLAGS_IN(); 18797 esi = MEM32(0x2B0B5A74); /* 0x2B07074B: mov esi, dword ptr [0x2b0b5a74] */ 18798 L_2B070751: 18799 ecx = MEM32(ebx + 0x28); /* 0x2B070751: mov ecx, dword ptr [ebx + 0x28] */ 18800 PUSH32(esp, 0x14u); /* 0x2B070754: push 0x14 */ 18801 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070756: push -1 */ 18802 RECOMP_ICALL(esi); /* 0x2B070758: call esi */ 18803 RECOMP_FLAGS_IN(); 18804 edx = MEM32(0x2B0B515C); /* 0x2B07075A: mov edx, dword ptr [0x2b0b515c] */ 18805 eax = MEM32(edx); /* 0x2B070760: mov eax, dword ptr [edx] */ 18806 edx = MEM32(ebp + (-0x14)); /* 0x2B070762: mov edx, dword ptr [ebp - 0x14] */ 18807 ecx = MEM32(ebx + 0x28); /* 0x2B070765: mov ecx, dword ptr [ebx + 0x28] */ 18808 PUSH32(esp, eax); /* 0x2B070768: push eax */ 18809 PUSH32(esp, 0); /* 0x2B070769: push 0 */ 18810 PUSH32(esp, edx); /* 0x2B07076B: push edx */ 18811 RECOMP_ICALL(MEM32(0x2B0B51A0)); /* 0x2B07076C: call dword ptr [0x2b0b51a0] */ 18812 RECOMP_FLAGS_IN(); 18813 edi = MEM32(ebp + 0x8); /* 0x2B070772: mov edi, dword ptr [ebp + 8] */ 18814 L_2B070775: 18815 PUSH32(esp, edi); /* 0x2B070775: push edi */ 18816 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B070776: call dword ptr [0x2b0b5d6c] */ 18817 RECOMP_FLAGS_IN(); 18818 ecx = eax; /* 0x2B07077C: mov ecx, eax */ 18819 RECOMP_ICALL(MEM32(0x2B0B5D78)); /* 0x2B07077E: call dword ptr [0x2b0b5d78] */ 18820 RECOMP_FLAGS_IN(); 18821 /* test eax, eax */ /* 0x2B070784: test eax, eax */ 18822 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 18823 _cf = 0; 18824 _flag_k = FK_TEST; 18825 MEM32(ebp + (-0x14)) = eax; /* 0x2B070786: mov dword ptr [ebp - 0x14], eax */ 18826 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0709AC; /* 0x2B070789: je 0x2b0709ac */ 18827 L_2B07078F: 18828 /* cmp MEM8(eax), 0 */ /* 0x2B07078F: cmp byte ptr [eax], 0 */ 18829 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0) << 24; 18830 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18831 _flag_k = FK_NARROW(FK_CMP, 24); 18832 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0709AC; /* 0x2B070792: je 0x2b0709ac */ 18833 L_2B070798: 18834 ecx = MEM32(ebx + 0x28); /* 0x2B070798: mov ecx, dword ptr [ebx + 0x28] */ 18835 PUSH32(esp, 0x13u); /* 0x2B07079B: push 0x13 */ 18836 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07079D: push -1 */ 18837 RECOMP_ICALL(esi); /* 0x2B07079F: call esi */ 18838 RECOMP_FLAGS_IN(); 18839 edx = MEM32(ebx + 0x28); /* 0x2B0707A1: mov edx, dword ptr [ebx + 0x28] */ 18840 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 18841 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0707A4: or ecx, 0xffffffff */ 18842 _cf = 0; 18843 _flag_k = FK_TEST; 18844 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18845 eax = 0; /* 0x2B0707A7: xor eax, eax */ 18846 _cf = 0; 18847 _flag_k = FK_TEST; 18848 edi = 0x2B0E2BF8u; /* 0x2B0707A9: mov edi, 0x2b0e2bf8 */ 18849 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; } /* 0x2B0707AE: repne scasb al, byte ptr es:[edi] */ 18850 eax = MEM32(0x2B0B515C); /* 0x2B0707B0: mov eax, dword ptr [0x2b0b515c] */ 18851 ecx = ~ecx; /* 0x2B0707B5: not ecx */ 18852 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 18853 ecx = ecx - 1; /* 0x2B0707B7: dec ecx */ 18854 _flag_k = FK_DEC; 18855 edi = ecx; /* 0x2B0707B8: mov edi, ecx */ 18856 ecx = MEM32(eax); /* 0x2B0707BA: mov ecx, dword ptr [eax] */ 18857 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 18858 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18859 ecx = ecx - MEM32(edx + 0x8); /* 0x2B0707BC: sub ecx, dword ptr [edx + 8] */ 18860 _flag_k = FK_CMP; 18861 /* cmp ecx, edi */ /* 0x2B0707BF: cmp ecx, edi */ 18862 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 18863 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18864 _flag_k = FK_CMP; 18865 MEM32(ebp + 0xC) = edx; /* 0x2B0707C1: mov dword ptr [ebp + 0xc], edx */ 18866 if (CMP_A(_flag_a, _flag_b)) goto L_2B0707CC; /* 0x2B0707C4: ja 0x2b0707cc */ 18867 L_2B0707C6: 18868 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0707C6: call dword ptr [0x2b0b51a8] */ 18869 RECOMP_FLAGS_IN(); 18870 L_2B0707CC: 18871 /* test edi, edi */ /* 0x2B0707CC: test edi, edi */ 18872 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 18873 _cf = 0; 18874 _flag_k = FK_TEST; 18875 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07081E; /* 0x2B0707CE: jbe 0x2b07081e */ 18876 L_2B0707D0: 18877 ecx = MEM32(ebp + 0xC); /* 0x2B0707D0: mov ecx, dword ptr [ebp + 0xc] */ 18878 edx = MEM32(ecx + 0x8); /* 0x2B0707D3: mov edx, dword ptr [ecx + 8] */ 18879 eax = edi; /* 0x2B0707D6: mov eax, edi */ 18880 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 18881 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18882 eax = eax + edx; /* 0x2B0707D8: add eax, edx */ 18883 _flag_k = FK_ADD; 18884 PUSH32(esp, 0); /* 0x2B0707DA: push 0 */ 18885 PUSH32(esp, eax); /* 0x2B0707DC: push eax */ 18886 MEM32(ebp + (-0x18)) = eax; /* 0x2B0707DD: mov dword ptr [ebp - 0x18], eax */ 18887 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0707E0: call dword ptr [0x2b0b5154] */ 18888 RECOMP_FLAGS_IN(); 18889 /* test LO8(eax), LO8(eax) */ /* 0x2B0707E6: test al, al */ 18890 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18891 _cf = 0; 18892 _flag_k = FK_NARROW(FK_TEST, 24); 18893 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07081E; /* 0x2B0707E8: je 0x2b07081e */ 18894 L_2B0707EA: 18895 eax = MEM32(ebp + 0xC); /* 0x2B0707EA: mov eax, dword ptr [ebp + 0xc] */ 18896 esi = MEM32(eax + 0x8); /* 0x2B0707ED: mov esi, dword ptr [eax + 8] */ 18897 edx = MEM32(eax + 0x4); /* 0x2B0707F0: mov edx, dword ptr [eax + 4] */ 18898 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 18899 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18900 edx = edx + esi; /* 0x2B0707F3: add edx, esi */ 18901 _flag_k = FK_ADD; 18902 ecx = edi; /* 0x2B0707F5: mov ecx, edi */ 18903 edi = edx; /* 0x2B0707F7: mov edi, edx */ 18904 edx = ecx; /* 0x2B0707F9: mov edx, ecx */ 18905 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0707FB: shr ecx, 2 */ 18906 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 18907 ecx = ecx >> 2u; /* 0x2B0707FB: shr ecx, 2 */ 18908 esi = 0x2B0E2BF8u; /* 0x2B0707FE: mov esi, 0x2b0e2bf8 */ 18909 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070803: 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; } 18910 ecx = edx; /* 0x2B070805: mov ecx, edx */ 18911 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 18912 ecx = ecx & 3; /* 0x2B070807: and ecx, 3 */ 18913 _cf = 0; 18914 _flag_k = FK_TEST; 18915 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07080A: 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; } 18916 ecx = MEM32(ebp + (-0x18)); /* 0x2B07080C: mov ecx, dword ptr [ebp - 0x18] */ 18917 PUSH32(esp, ecx); /* 0x2B07080F: push ecx */ 18918 ecx = eax; /* 0x2B070810: mov ecx, eax */ 18919 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B070812: call dword ptr [0x2b0b5150] */ 18920 RECOMP_FLAGS_IN(); 18921 esi = MEM32(0x2B0B5A74); /* 0x2B070818: mov esi, dword ptr [0x2b0b5a74] */ 18922 L_2B07081E: 18923 edx = MEM32(ebx + 0x28); /* 0x2B07081E: mov edx, dword ptr [ebx + 0x28] */ 18924 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 18925 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070821: or ecx, 0xffffffff */ 18926 _cf = 0; 18927 _flag_k = FK_TEST; 18928 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18929 eax = 0; /* 0x2B070824: xor eax, eax */ 18930 _cf = 0; 18931 _flag_k = FK_TEST; 18932 edi = 0x2B0EEE84u; /* 0x2B070826: mov edi, 0x2b0eee84 */ 18933 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; } /* 0x2B07082B: repne scasb al, byte ptr es:[edi] */ 18934 eax = MEM32(0x2B0B515C); /* 0x2B07082D: mov eax, dword ptr [0x2b0b515c] */ 18935 ecx = ~ecx; /* 0x2B070832: not ecx */ 18936 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 18937 ecx = ecx - 1; /* 0x2B070834: dec ecx */ 18938 _flag_k = FK_DEC; 18939 edi = ecx; /* 0x2B070835: mov edi, ecx */ 18940 ecx = MEM32(eax); /* 0x2B070837: mov ecx, dword ptr [eax] */ 18941 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 18942 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18943 ecx = ecx - MEM32(edx + 0x8); /* 0x2B070839: sub ecx, dword ptr [edx + 8] */ 18944 _flag_k = FK_CMP; 18945 /* cmp ecx, edi */ /* 0x2B07083C: cmp ecx, edi */ 18946 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 18947 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18948 _flag_k = FK_CMP; 18949 MEM32(ebp + 0xC) = edx; /* 0x2B07083E: mov dword ptr [ebp + 0xc], edx */ 18950 if (CMP_A(_flag_a, _flag_b)) goto L_2B070849; /* 0x2B070841: ja 0x2b070849 */ 18951 L_2B070843: 18952 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070843: call dword ptr [0x2b0b51a8] */ 18953 RECOMP_FLAGS_IN(); 18954 L_2B070849: 18955 /* test edi, edi */ /* 0x2B070849: test edi, edi */ 18956 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 18957 _cf = 0; 18958 _flag_k = FK_TEST; 18959 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07089B; /* 0x2B07084B: jbe 0x2b07089b */ 18960 L_2B07084D: 18961 ecx = MEM32(ebp + 0xC); /* 0x2B07084D: mov ecx, dword ptr [ebp + 0xc] */ 18962 edx = MEM32(ecx + 0x8); /* 0x2B070850: mov edx, dword ptr [ecx + 8] */ 18963 eax = edi; /* 0x2B070853: mov eax, edi */ 18964 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 18965 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18966 eax = eax + edx; /* 0x2B070855: add eax, edx */ 18967 _flag_k = FK_ADD; 18968 PUSH32(esp, 0); /* 0x2B070857: push 0 */ 18969 PUSH32(esp, eax); /* 0x2B070859: push eax */ 18970 MEM32(ebp + (-0x18)) = eax; /* 0x2B07085A: mov dword ptr [ebp - 0x18], eax */ 18971 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07085D: call dword ptr [0x2b0b5154] */ 18972 RECOMP_FLAGS_IN(); 18973 /* test LO8(eax), LO8(eax) */ /* 0x2B070863: test al, al */ 18974 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18975 _cf = 0; 18976 _flag_k = FK_NARROW(FK_TEST, 24); 18977 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07089B; /* 0x2B070865: je 0x2b07089b */ 18978 L_2B070867: 18979 eax = MEM32(ebp + 0xC); /* 0x2B070867: mov eax, dword ptr [ebp + 0xc] */ 18980 esi = MEM32(eax + 0x8); /* 0x2B07086A: mov esi, dword ptr [eax + 8] */ 18981 edx = MEM32(eax + 0x4); /* 0x2B07086D: mov edx, dword ptr [eax + 4] */ 18982 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 18983 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18984 edx = edx + esi; /* 0x2B070870: add edx, esi */ 18985 _flag_k = FK_ADD; 18986 ecx = edi; /* 0x2B070872: mov ecx, edi */ 18987 edi = edx; /* 0x2B070874: mov edi, edx */ 18988 edx = ecx; /* 0x2B070876: mov edx, ecx */ 18989 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070878: shr ecx, 2 */ 18990 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 18991 ecx = ecx >> 2u; /* 0x2B070878: shr ecx, 2 */ 18992 esi = 0x2B0EEE84u; /* 0x2B07087B: mov esi, 0x2b0eee84 */ 18993 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070880: 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; } 18994 ecx = edx; /* 0x2B070882: mov ecx, edx */ 18995 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 18996 ecx = ecx & 3; /* 0x2B070884: and ecx, 3 */ 18997 _cf = 0; 18998 _flag_k = FK_TEST; 18999 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070887: 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; } 19000 ecx = MEM32(ebp + (-0x18)); /* 0x2B070889: mov ecx, dword ptr [ebp - 0x18] */ 19001 PUSH32(esp, ecx); /* 0x2B07088C: push ecx */ 19002 ecx = eax; /* 0x2B07088D: mov ecx, eax */ 19003 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07088F: call dword ptr [0x2b0b5150] */ 19004 RECOMP_FLAGS_IN(); 19005 esi = MEM32(0x2B0B5A74); /* 0x2B070895: mov esi, dword ptr [0x2b0b5a74] */ 19006 L_2B07089B: 19007 edx = MEM32(ebx + 0x28); /* 0x2B07089B: mov edx, dword ptr [ebx + 0x28] */ 19008 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 19009 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07089E: or ecx, 0xffffffff */ 19010 _cf = 0; 19011 _flag_k = FK_TEST; 19012 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19013 eax = 0; /* 0x2B0708A1: xor eax, eax */ 19014 _cf = 0; 19015 _flag_k = FK_TEST; 19016 edi = 0x2B0EB7F8u; /* 0x2B0708A3: mov edi, 0x2b0eb7f8 */ 19017 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; } /* 0x2B0708A8: repne scasb al, byte ptr es:[edi] */ 19018 eax = MEM32(0x2B0B515C); /* 0x2B0708AA: mov eax, dword ptr [0x2b0b515c] */ 19019 ecx = ~ecx; /* 0x2B0708AF: not ecx */ 19020 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 19021 ecx = ecx - 1; /* 0x2B0708B1: dec ecx */ 19022 _flag_k = FK_DEC; 19023 edi = ecx; /* 0x2B0708B2: mov edi, ecx */ 19024 ecx = MEM32(eax); /* 0x2B0708B4: mov ecx, dword ptr [eax] */ 19025 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 19026 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19027 ecx = ecx - MEM32(edx + 0x8); /* 0x2B0708B6: sub ecx, dword ptr [edx + 8] */ 19028 _flag_k = FK_CMP; 19029 /* cmp ecx, edi */ /* 0x2B0708B9: cmp ecx, edi */ 19030 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 19031 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19032 _flag_k = FK_CMP; 19033 MEM32(ebp + 0xC) = edx; /* 0x2B0708BB: mov dword ptr [ebp + 0xc], edx */ 19034 if (CMP_A(_flag_a, _flag_b)) goto L_2B0708C6; /* 0x2B0708BE: ja 0x2b0708c6 */ 19035 L_2B0708C0: 19036 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0708C0: call dword ptr [0x2b0b51a8] */ 19037 RECOMP_FLAGS_IN(); 19038 L_2B0708C6: 19039 /* test edi, edi */ /* 0x2B0708C6: test edi, edi */ 19040 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 19041 _cf = 0; 19042 _flag_k = FK_TEST; 19043 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070918; /* 0x2B0708C8: jbe 0x2b070918 */ 19044 L_2B0708CA: 19045 ecx = MEM32(ebp + 0xC); /* 0x2B0708CA: mov ecx, dword ptr [ebp + 0xc] */ 19046 edx = MEM32(ecx + 0x8); /* 0x2B0708CD: mov edx, dword ptr [ecx + 8] */ 19047 eax = edi; /* 0x2B0708D0: mov eax, edi */ 19048 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 19049 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19050 eax = eax + edx; /* 0x2B0708D2: add eax, edx */ 19051 _flag_k = FK_ADD; 19052 PUSH32(esp, 0); /* 0x2B0708D4: push 0 */ 19053 PUSH32(esp, eax); /* 0x2B0708D6: push eax */ 19054 MEM32(ebp + (-0x18)) = eax; /* 0x2B0708D7: mov dword ptr [ebp - 0x18], eax */ 19055 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0708DA: call dword ptr [0x2b0b5154] */ 19056 RECOMP_FLAGS_IN(); 19057 /* test LO8(eax), LO8(eax) */ /* 0x2B0708E0: test al, al */ 19058 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19059 _cf = 0; 19060 _flag_k = FK_NARROW(FK_TEST, 24); 19061 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070918; /* 0x2B0708E2: je 0x2b070918 */ 19062 L_2B0708E4: 19063 eax = MEM32(ebp + 0xC); /* 0x2B0708E4: mov eax, dword ptr [ebp + 0xc] */ 19064 esi = MEM32(eax + 0x8); /* 0x2B0708E7: mov esi, dword ptr [eax + 8] */ 19065 edx = MEM32(eax + 0x4); /* 0x2B0708EA: mov edx, dword ptr [eax + 4] */ 19066 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 19067 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19068 edx = edx + esi; /* 0x2B0708ED: add edx, esi */ 19069 _flag_k = FK_ADD; 19070 ecx = edi; /* 0x2B0708EF: mov ecx, edi */ 19071 edi = edx; /* 0x2B0708F1: mov edi, edx */ 19072 edx = ecx; /* 0x2B0708F3: mov edx, ecx */ 19073 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0708F5: shr ecx, 2 */ 19074 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 19075 ecx = ecx >> 2u; /* 0x2B0708F5: shr ecx, 2 */ 19076 esi = 0x2B0EB7F8u; /* 0x2B0708F8: mov esi, 0x2b0eb7f8 */ 19077 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0708FD: 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; } 19078 ecx = edx; /* 0x2B0708FF: mov ecx, edx */ 19079 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 19080 ecx = ecx & 3; /* 0x2B070901: and ecx, 3 */ 19081 _cf = 0; 19082 _flag_k = FK_TEST; 19083 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070904: 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; } 19084 ecx = MEM32(ebp + (-0x18)); /* 0x2B070906: mov ecx, dword ptr [ebp - 0x18] */ 19085 PUSH32(esp, ecx); /* 0x2B070909: push ecx */ 19086 ecx = eax; /* 0x2B07090A: mov ecx, eax */ 19087 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07090C: call dword ptr [0x2b0b5150] */ 19088 RECOMP_FLAGS_IN(); 19089 esi = MEM32(0x2B0B5A74); /* 0x2B070912: mov esi, dword ptr [0x2b0b5a74] */ 19090 L_2B070918: 19091 ecx = MEM32(ebx + 0x28); /* 0x2B070918: mov ecx, dword ptr [ebx + 0x28] */ 19092 PUSH32(esp, 0x14u); /* 0x2B07091B: push 0x14 */ 19093 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07091D: push -1 */ 19094 RECOMP_ICALL(esi); /* 0x2B07091F: call esi */ 19095 RECOMP_FLAGS_IN(); 19096 edi = MEM32(ebp + (-0x14)); /* 0x2B070921: mov edi, dword ptr [ebp - 0x14] */ 19097 edx = MEM32(ebx + 0x28); /* 0x2B070924: mov edx, dword ptr [ebx + 0x28] */ 19098 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 19099 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070927: or ecx, 0xffffffff */ 19100 _cf = 0; 19101 _flag_k = FK_TEST; 19102 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19103 eax = 0; /* 0x2B07092A: xor eax, eax */ 19104 _cf = 0; 19105 _flag_k = FK_TEST; 19106 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; } /* 0x2B07092C: repne scasb al, byte ptr es:[edi] */ 19107 eax = MEM32(0x2B0B515C); /* 0x2B07092E: mov eax, dword ptr [0x2b0b515c] */ 19108 ecx = ~ecx; /* 0x2B070933: not ecx */ 19109 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 19110 ecx = ecx - 1; /* 0x2B070935: dec ecx */ 19111 _flag_k = FK_DEC; 19112 edi = ecx; /* 0x2B070936: mov edi, ecx */ 19113 ecx = MEM32(eax); /* 0x2B070938: mov ecx, dword ptr [eax] */ 19114 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 19115 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19116 ecx = ecx - MEM32(edx + 0x8); /* 0x2B07093A: sub ecx, dword ptr [edx + 8] */ 19117 _flag_k = FK_CMP; 19118 /* cmp ecx, edi */ /* 0x2B07093D: cmp ecx, edi */ 19119 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 19120 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19121 _flag_k = FK_CMP; 19122 MEM32(ebp + 0xC) = edx; /* 0x2B07093F: mov dword ptr [ebp + 0xc], edx */ 19123 if (CMP_A(_flag_a, _flag_b)) goto L_2B07094A; /* 0x2B070942: ja 0x2b07094a */ 19124 L_2B070944: 19125 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070944: call dword ptr [0x2b0b51a8] */ 19126 RECOMP_FLAGS_IN(); 19127 L_2B07094A: 19128 /* test edi, edi */ /* 0x2B07094A: test edi, edi */ 19129 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 19130 _cf = 0; 19131 _flag_k = FK_TEST; 19132 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07099A; /* 0x2B07094C: jbe 0x2b07099a */ 19133 L_2B07094E: 19134 ecx = MEM32(ebp + 0xC); /* 0x2B07094E: mov ecx, dword ptr [ebp + 0xc] */ 19135 edx = MEM32(ecx + 0x8); /* 0x2B070951: mov edx, dword ptr [ecx + 8] */ 19136 eax = edi; /* 0x2B070954: mov eax, edi */ 19137 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 19138 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19139 eax = eax + edx; /* 0x2B070956: add eax, edx */ 19140 _flag_k = FK_ADD; 19141 PUSH32(esp, 0); /* 0x2B070958: push 0 */ 19142 PUSH32(esp, eax); /* 0x2B07095A: push eax */ 19143 MEM32(ebp + (-0x18)) = eax; /* 0x2B07095B: mov dword ptr [ebp - 0x18], eax */ 19144 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07095E: call dword ptr [0x2b0b5154] */ 19145 RECOMP_FLAGS_IN(); 19146 /* test LO8(eax), LO8(eax) */ /* 0x2B070964: test al, al */ 19147 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19148 _cf = 0; 19149 _flag_k = FK_NARROW(FK_TEST, 24); 19150 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07099A; /* 0x2B070966: je 0x2b07099a */ 19151 L_2B070968: 19152 eax = MEM32(ebp + 0xC); /* 0x2B070968: mov eax, dword ptr [ebp + 0xc] */ 19153 esi = MEM32(eax + 0x8); /* 0x2B07096B: mov esi, dword ptr [eax + 8] */ 19154 edx = MEM32(eax + 0x4); /* 0x2B07096E: mov edx, dword ptr [eax + 4] */ 19155 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 19156 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19157 edx = edx + esi; /* 0x2B070971: add edx, esi */ 19158 _flag_k = FK_ADD; 19159 esi = MEM32(ebp + (-0x14)); /* 0x2B070973: mov esi, dword ptr [ebp - 0x14] */ 19160 ecx = edi; /* 0x2B070976: mov ecx, edi */ 19161 edi = edx; /* 0x2B070978: mov edi, edx */ 19162 edx = ecx; /* 0x2B07097A: mov edx, ecx */ 19163 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07097C: shr ecx, 2 */ 19164 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 19165 ecx = ecx >> 2u; /* 0x2B07097C: shr ecx, 2 */ 19166 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07097F: 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; } 19167 ecx = edx; /* 0x2B070981: mov ecx, edx */ 19168 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 19169 ecx = ecx & 3; /* 0x2B070983: and ecx, 3 */ 19170 _cf = 0; 19171 _flag_k = FK_TEST; 19172 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070986: 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; } 19173 ecx = MEM32(ebp + (-0x18)); /* 0x2B070988: mov ecx, dword ptr [ebp - 0x18] */ 19174 PUSH32(esp, ecx); /* 0x2B07098B: push ecx */ 19175 ecx = eax; /* 0x2B07098C: mov ecx, eax */ 19176 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07098E: call dword ptr [0x2b0b5150] */ 19177 RECOMP_FLAGS_IN(); 19178 esi = MEM32(0x2B0B5A74); /* 0x2B070994: mov esi, dword ptr [0x2b0b5a74] */ 19179 L_2B07099A: 19180 edx = MEM32(ebx + 0x28); /* 0x2B07099A: mov edx, dword ptr [ebx + 0x28] */ 19181 eax = MEM32(ebp + 0x8); /* 0x2B07099D: mov eax, dword ptr [ebp + 8] */ 19182 PUSH32(esp, edx); /* 0x2B0709A0: push edx */ 19183 PUSH32(esp, eax); /* 0x2B0709A1: push eax */ 19184 ecx = ebx; /* 0x2B0709A2: mov ecx, ebx */ 19185 RECOMP_ICALL(0x2B074500u); /* 0x2B0709A4: call 0x2b074500 */ /* not lifted */ 19186 RECOMP_FLAGS_IN(); 19187 edi = MEM32(ebp + 0x8); /* 0x2B0709A9: mov edi, dword ptr [ebp + 8] */ 19188 L_2B0709AC: 19189 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B0709AC: call dword ptr [0x2b0b5b64] */ 19190 RECOMP_FLAGS_IN(); 19191 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 19192 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19193 eax = eax + 0xD4u; /* 0x2B0709B2: add eax, 0xd4 */ 19194 _flag_k = FK_ADD; 19195 ecx = ebp + (-0x20); /* 0x2B0709B7: lea ecx, [ebp - 0x20] */ 19196 /* cmp ecx, eax */ /* 0x2B0709BA: cmp ecx, eax */ 19197 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 19198 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19199 _flag_k = FK_CMP; 19200 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0709C5; /* 0x2B0709BC: je 0x2b0709c5 */ 19201 L_2B0709BE: 19202 ecx = MEM32(eax); /* 0x2B0709BE: mov ecx, dword ptr [eax] */ 19203 eax = MEM32(eax + 0x4); /* 0x2B0709C0: mov eax, dword ptr [eax + 4] */ 19204 goto L_2B0709CB; /* 0x2B0709C3: jmp 0x2b0709cb */ 19205 L_2B0709C5: 19206 eax = MEM32(ebp + (-0x1C)); /* 0x2B0709C5: mov eax, dword ptr [ebp - 0x1c] */ 19207 ecx = MEM32(ebp + (-0x20)); /* 0x2B0709C8: mov ecx, dword ptr [ebp - 0x20] */ 19208 L_2B0709CB: 19209 /* cmp MEM32(edi + 0x4), eax */ /* 0x2B0709CB: cmp dword ptr [edi + 4], eax */ 19210 _flag_a = (uint32_t)(MEM32(edi + 0x4)); _flag_b = (uint32_t)(eax); 19211 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19212 _flag_k = FK_CMP; 19213 if (CMP_NE(_flag_a, _flag_b)) goto L_2B070ACB; /* 0x2B0709CE: jne 0x2b070acb */ 19214 L_2B0709D4: 19215 /* cmp MEM32(edi), ecx */ /* 0x2B0709D4: cmp dword ptr [edi], ecx */ 19216 _flag_a = (uint32_t)(MEM32(edi)); _flag_b = (uint32_t)(ecx); 19217 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19218 _flag_k = FK_CMP; 19219 if (CMP_NE(_flag_a, _flag_b)) goto L_2B070ACB; /* 0x2B0709D6: jne 0x2b070acb */ 19220 L_2B0709DC: 19221 SET_LO8(edx, MEM8(ebp + 0xF)); /* 0x2B0709DC: mov dl, byte ptr [ebp + 0xf] */ 19222 PUSH32(esp, 0); /* 0x2B0709DF: push 0 */ 19223 ecx = ebp + (-0x30); /* 0x2B0709E1: lea ecx, [ebp - 0x30] */ 19224 MEM8(ebp + (-0x30)) = (uint8_t)(LO8(edx)); /* 0x2B0709E4: mov byte ptr [ebp - 0x30], dl */ 19225 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0709E7: call dword ptr [0x2b0b514c] */ 19226 RECOMP_FLAGS_IN(); 19227 eax = ebp + (-0x30); /* 0x2B0709ED: lea eax, [ebp - 0x30] */ 19228 PUSH32(esp, eax); /* 0x2B0709F0: push eax */ 19229 MEM32(ebp + (-0x4)) = 0; /* 0x2B0709F1: mov dword ptr [ebp - 4], 0 */ 19230 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0709F8: call dword ptr [0x2b0b5d6c] */ 19231 RECOMP_FLAGS_IN(); 19232 ecx = eax; /* 0x2B0709FE: mov ecx, eax */ 19233 RECOMP_ICALL(MEM32(0x2B0B5D7C)); /* 0x2B070A00: call dword ptr [0x2b0b5d7c] */ 19234 RECOMP_FLAGS_IN(); 19235 /* test LO8(eax), LO8(eax) */ /* 0x2B070A06: test al, al */ 19236 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19237 _cf = 0; 19238 _flag_k = FK_NARROW(FK_TEST, 24); 19239 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070AB9; /* 0x2B070A08: je 0x2b070ab9 */ 19240 L_2B070A0E: 19241 ecx = MEM32(ebx + 0x28); /* 0x2B070A0E: mov ecx, dword ptr [ebx + 0x28] */ 19242 PUSH32(esp, 0x13u); /* 0x2B070A11: push 0x13 */ 19243 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070A13: push -1 */ 19244 RECOMP_ICALL(esi); /* 0x2B070A15: call esi */ 19245 RECOMP_FLAGS_IN(); 19246 edx = MEM32(ebx + 0x28); /* 0x2B070A17: mov edx, dword ptr [ebx + 0x28] */ 19247 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 19248 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070A1A: or ecx, 0xffffffff */ 19249 _cf = 0; 19250 _flag_k = FK_TEST; 19251 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19252 eax = 0; /* 0x2B070A1D: xor eax, eax */ 19253 _cf = 0; 19254 _flag_k = FK_TEST; 19255 edi = 0x2B0EB7F0u; /* 0x2B070A1F: mov edi, 0x2b0eb7f0 */ 19256 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; } /* 0x2B070A24: repne scasb al, byte ptr es:[edi] */ 19257 ecx = ~ecx; /* 0x2B070A26: not ecx */ 19258 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 19259 ecx = ecx - 1; /* 0x2B070A28: dec ecx */ 19260 _flag_k = FK_DEC; 19261 edi = ecx; /* 0x2B070A29: mov edi, ecx */ 19262 ecx = MEM32(0x2B0B515C); /* 0x2B070A2B: mov ecx, dword ptr [0x2b0b515c] */ 19263 eax = MEM32(ecx); /* 0x2B070A31: mov eax, dword ptr [ecx] */ 19264 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 19265 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19266 eax = eax - MEM32(edx + 0x8); /* 0x2B070A33: sub eax, dword ptr [edx + 8] */ 19267 _flag_k = FK_CMP; 19268 /* cmp eax, edi */ /* 0x2B070A36: cmp eax, edi */ 19269 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 19270 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19271 _flag_k = FK_CMP; 19272 MEM32(ebp + 0xC) = edx; /* 0x2B070A38: mov dword ptr [ebp + 0xc], edx */ 19273 if (CMP_A(_flag_a, _flag_b)) goto L_2B070A43; /* 0x2B070A3B: ja 0x2b070a43 */ 19274 L_2B070A3D: 19275 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070A3D: call dword ptr [0x2b0b51a8] */ 19276 RECOMP_FLAGS_IN(); 19277 L_2B070A43: 19278 /* test edi, edi */ /* 0x2B070A43: test edi, edi */ 19279 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 19280 _cf = 0; 19281 _flag_k = FK_TEST; 19282 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070A95; /* 0x2B070A45: jbe 0x2b070a95 */ 19283 L_2B070A47: 19284 ecx = MEM32(ebp + 0xC); /* 0x2B070A47: mov ecx, dword ptr [ebp + 0xc] */ 19285 edx = MEM32(ecx + 0x8); /* 0x2B070A4A: mov edx, dword ptr [ecx + 8] */ 19286 eax = edi; /* 0x2B070A4D: mov eax, edi */ 19287 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 19288 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19289 eax = eax + edx; /* 0x2B070A4F: add eax, edx */ 19290 _flag_k = FK_ADD; 19291 PUSH32(esp, 0); /* 0x2B070A51: push 0 */ 19292 PUSH32(esp, eax); /* 0x2B070A53: push eax */ 19293 MEM32(ebp + (-0x18)) = eax; /* 0x2B070A54: mov dword ptr [ebp - 0x18], eax */ 19294 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070A57: call dword ptr [0x2b0b5154] */ 19295 RECOMP_FLAGS_IN(); 19296 /* test LO8(eax), LO8(eax) */ /* 0x2B070A5D: test al, al */ 19297 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19298 _cf = 0; 19299 _flag_k = FK_NARROW(FK_TEST, 24); 19300 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070A95; /* 0x2B070A5F: je 0x2b070a95 */ 19301 L_2B070A61: 19302 eax = MEM32(ebp + 0xC); /* 0x2B070A61: mov eax, dword ptr [ebp + 0xc] */ 19303 esi = MEM32(eax + 0x8); /* 0x2B070A64: mov esi, dword ptr [eax + 8] */ 19304 edx = MEM32(eax + 0x4); /* 0x2B070A67: mov edx, dword ptr [eax + 4] */ 19305 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 19306 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19307 edx = edx + esi; /* 0x2B070A6A: add edx, esi */ 19308 _flag_k = FK_ADD; 19309 ecx = edi; /* 0x2B070A6C: mov ecx, edi */ 19310 edi = edx; /* 0x2B070A6E: mov edi, edx */ 19311 edx = ecx; /* 0x2B070A70: mov edx, ecx */ 19312 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070A72: shr ecx, 2 */ 19313 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 19314 ecx = ecx >> 2u; /* 0x2B070A72: shr ecx, 2 */ 19315 esi = 0x2B0EB7F0u; /* 0x2B070A75: mov esi, 0x2b0eb7f0 */ 19316 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070A7A: 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; } 19317 ecx = edx; /* 0x2B070A7C: mov ecx, edx */ 19318 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 19319 ecx = ecx & 3; /* 0x2B070A7E: and ecx, 3 */ 19320 _cf = 0; 19321 _flag_k = FK_TEST; 19322 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070A81: 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; } 19323 ecx = MEM32(ebp + (-0x18)); /* 0x2B070A83: mov ecx, dword ptr [ebp - 0x18] */ 19324 PUSH32(esp, ecx); /* 0x2B070A86: push ecx */ 19325 ecx = eax; /* 0x2B070A87: mov ecx, eax */ 19326 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B070A89: call dword ptr [0x2b0b5150] */ 19327 RECOMP_FLAGS_IN(); 19328 esi = MEM32(0x2B0B5A74); /* 0x2B070A8F: mov esi, dword ptr [0x2b0b5a74] */ 19329 L_2B070A95: 19330 ecx = MEM32(ebx + 0x28); /* 0x2B070A95: mov ecx, dword ptr [ebx + 0x28] */ 19331 PUSH32(esp, 0x14u); /* 0x2B070A98: push 0x14 */ 19332 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070A9A: push -1 */ 19333 RECOMP_ICALL(esi); /* 0x2B070A9C: call esi */ 19334 RECOMP_FLAGS_IN(); 19335 edx = MEM32(0x2B0B515C); /* 0x2B070A9E: mov edx, dword ptr [0x2b0b515c] */ 19336 eax = MEM32(edx); /* 0x2B070AA4: mov eax, dword ptr [edx] */ 19337 ecx = MEM32(ebx + 0x28); /* 0x2B070AA6: mov ecx, dword ptr [ebx + 0x28] */ 19338 PUSH32(esp, eax); /* 0x2B070AA9: push eax */ 19339 PUSH32(esp, 0); /* 0x2B070AAA: push 0 */ 19340 edx = ebp + (-0x30); /* 0x2B070AAC: lea edx, [ebp - 0x30] */ 19341 PUSH32(esp, edx); /* 0x2B070AAF: push edx */ 19342 RECOMP_ICALL(MEM32(0x2B0B51A0)); /* 0x2B070AB0: call dword ptr [0x2b0b51a0] */ 19343 RECOMP_FLAGS_IN(); 19344 edi = MEM32(ebp + 0x8); /* 0x2B070AB6: mov edi, dword ptr [ebp + 8] */ 19345 L_2B070AB9: 19346 PUSH32(esp, 1); /* 0x2B070AB9: push 1 */ 19347 ecx = ebp + (-0x30); /* 0x2B070ABB: lea ecx, [ebp - 0x30] */ 19348 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B070ABE: mov dword ptr [ebp - 4], 0xffffffff */ 19349 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B070AC5: call dword ptr [0x2b0b514c] */ 19350 RECOMP_FLAGS_IN(); 19351 L_2B070ACB: 19352 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B070ACB: call dword ptr [0x2b0b5b64] */ 19353 RECOMP_FLAGS_IN(); 19354 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 19355 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19356 eax = eax + 0xD4u; /* 0x2B070AD1: add eax, 0xd4 */ 19357 _flag_k = FK_ADD; 19358 ecx = ebp + (-0x20); /* 0x2B070AD6: lea ecx, [ebp - 0x20] */ 19359 /* cmp ecx, eax */ /* 0x2B070AD9: cmp ecx, eax */ 19360 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 19361 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19362 _flag_k = FK_CMP; 19363 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B070AE4; /* 0x2B070ADB: je 0x2b070ae4 */ 19364 L_2B070ADD: 19365 ecx = MEM32(eax); /* 0x2B070ADD: mov ecx, dword ptr [eax] */ 19366 eax = MEM32(eax + 0x4); /* 0x2B070ADF: mov eax, dword ptr [eax + 4] */ 19367 goto L_2B070AEA; /* 0x2B070AE2: jmp 0x2b070aea */ 19368 L_2B070AE4: 19369 eax = MEM32(ebp + (-0x1C)); /* 0x2B070AE4: mov eax, dword ptr [ebp - 0x1c] */ 19370 ecx = MEM32(ebp + (-0x20)); /* 0x2B070AE7: mov ecx, dword ptr [ebp - 0x20] */ 19371 L_2B070AEA: 19372 /* cmp MEM32(edi + 0x4), eax */ /* 0x2B070AEA: cmp dword ptr [edi + 4], eax */ 19373 _flag_a = (uint32_t)(MEM32(edi + 0x4)); _flag_b = (uint32_t)(eax); 19374 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19375 _flag_k = FK_CMP; 19376 if (CMP_NE(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070AED: jne 0x2b070e97 */ 19377 L_2B070AF3: 19378 edx = MEM32(ebp + 0x8); /* 0x2B070AF3: mov edx, dword ptr [ebp + 8] */ 19379 /* cmp MEM32(edx), ecx */ /* 0x2B070AF6: cmp dword ptr [edx], ecx */ 19380 _flag_a = (uint32_t)(MEM32(edx)); _flag_b = (uint32_t)(ecx); 19381 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19382 _flag_k = FK_CMP; 19383 if (CMP_NE(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070AF8: jne 0x2b070e97 */ 19384 L_2B070AFE: 19385 ecx = MEM32(ebx + 0x28); /* 0x2B070AFE: mov ecx, dword ptr [ebx + 0x28] */ 19386 PUSH32(esp, 0x13u); /* 0x2B070B01: push 0x13 */ 19387 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070B03: push -1 */ 19388 RECOMP_ICALL(esi); /* 0x2B070B05: call esi */ 19389 RECOMP_FLAGS_IN(); 19390 edx = MEM32(ebx + 0x28); /* 0x2B070B07: mov edx, dword ptr [ebx + 0x28] */ 19391 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 19392 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070B0A: or ecx, 0xffffffff */ 19393 _cf = 0; 19394 _flag_k = FK_TEST; 19395 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19396 eax = 0; /* 0x2B070B0D: xor eax, eax */ 19397 _cf = 0; 19398 _flag_k = FK_TEST; 19399 edi = 0x2B0EB7D8u; /* 0x2B070B0F: mov edi, 0x2b0eb7d8 */ 19400 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; } /* 0x2B070B14: repne scasb al, byte ptr es:[edi] */ 19401 eax = MEM32(0x2B0B515C); /* 0x2B070B16: mov eax, dword ptr [0x2b0b515c] */ 19402 ecx = ~ecx; /* 0x2B070B1B: not ecx */ 19403 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 19404 ecx = ecx - 1; /* 0x2B070B1D: dec ecx */ 19405 _flag_k = FK_DEC; 19406 edi = ecx; /* 0x2B070B1E: mov edi, ecx */ 19407 ecx = MEM32(eax); /* 0x2B070B20: mov ecx, dword ptr [eax] */ 19408 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 19409 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19410 ecx = ecx - MEM32(edx + 0x8); /* 0x2B070B22: sub ecx, dword ptr [edx + 8] */ 19411 _flag_k = FK_CMP; 19412 /* cmp ecx, edi */ /* 0x2B070B25: cmp ecx, edi */ 19413 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 19414 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19415 _flag_k = FK_CMP; 19416 MEM32(ebp + 0xC) = edx; /* 0x2B070B27: mov dword ptr [ebp + 0xc], edx */ 19417 if (CMP_A(_flag_a, _flag_b)) goto L_2B070B32; /* 0x2B070B2A: ja 0x2b070b32 */ 19418 L_2B070B2C: 19419 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070B2C: call dword ptr [0x2b0b51a8] */ 19420 RECOMP_FLAGS_IN(); 19421 L_2B070B32: 19422 /* test edi, edi */ /* 0x2B070B32: test edi, edi */ 19423 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 19424 _cf = 0; 19425 _flag_k = FK_TEST; 19426 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070B84; /* 0x2B070B34: jbe 0x2b070b84 */ 19427 L_2B070B36: 19428 ecx = MEM32(ebp + 0xC); /* 0x2B070B36: mov ecx, dword ptr [ebp + 0xc] */ 19429 edx = MEM32(ecx + 0x8); /* 0x2B070B39: mov edx, dword ptr [ecx + 8] */ 19430 eax = edi; /* 0x2B070B3C: mov eax, edi */ 19431 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 19432 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19433 eax = eax + edx; /* 0x2B070B3E: add eax, edx */ 19434 _flag_k = FK_ADD; 19435 PUSH32(esp, 0); /* 0x2B070B40: push 0 */ 19436 PUSH32(esp, eax); /* 0x2B070B42: push eax */ 19437 MEM32(ebp + (-0x18)) = eax; /* 0x2B070B43: mov dword ptr [ebp - 0x18], eax */ 19438 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070B46: call dword ptr [0x2b0b5154] */ 19439 RECOMP_FLAGS_IN(); 19440 /* test LO8(eax), LO8(eax) */ /* 0x2B070B4C: test al, al */ 19441 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19442 _cf = 0; 19443 _flag_k = FK_NARROW(FK_TEST, 24); 19444 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070B84; /* 0x2B070B4E: je 0x2b070b84 */ 19445 L_2B070B50: 19446 eax = MEM32(ebp + 0xC); /* 0x2B070B50: mov eax, dword ptr [ebp + 0xc] */ 19447 esi = MEM32(eax + 0x8); /* 0x2B070B53: mov esi, dword ptr [eax + 8] */ 19448 edx = MEM32(eax + 0x4); /* 0x2B070B56: mov edx, dword ptr [eax + 4] */ 19449 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 19450 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19451 edx = edx + esi; /* 0x2B070B59: add edx, esi */ 19452 _flag_k = FK_ADD; 19453 ecx = edi; /* 0x2B070B5B: mov ecx, edi */ 19454 edi = edx; /* 0x2B070B5D: mov edi, edx */ 19455 edx = ecx; /* 0x2B070B5F: mov edx, ecx */ 19456 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070B61: shr ecx, 2 */ 19457 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 19458 ecx = ecx >> 2u; /* 0x2B070B61: shr ecx, 2 */ 19459 esi = 0x2B0EB7D8u; /* 0x2B070B64: mov esi, 0x2b0eb7d8 */ 19460 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070B69: 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; } 19461 ecx = edx; /* 0x2B070B6B: mov ecx, edx */ 19462 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 19463 ecx = ecx & 3; /* 0x2B070B6D: and ecx, 3 */ 19464 _cf = 0; 19465 _flag_k = FK_TEST; 19466 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070B70: 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; } 19467 ecx = MEM32(ebp + (-0x18)); /* 0x2B070B72: mov ecx, dword ptr [ebp - 0x18] */ 19468 PUSH32(esp, ecx); /* 0x2B070B75: push ecx */ 19469 ecx = eax; /* 0x2B070B76: mov ecx, eax */ 19470 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B070B78: call dword ptr [0x2b0b5150] */ 19471 RECOMP_FLAGS_IN(); 19472 esi = MEM32(0x2B0B5A74); /* 0x2B070B7E: mov esi, dword ptr [0x2b0b5a74] */ 19473 L_2B070B84: 19474 ecx = MEM32(ebx + 0x28); /* 0x2B070B84: mov ecx, dword ptr [ebx + 0x28] */ 19475 PUSH32(esp, 0x14u); /* 0x2B070B87: push 0x14 */ 19476 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070B89: push -1 */ 19477 RECOMP_ICALL(esi); /* 0x2B070B8B: call esi */ 19478 RECOMP_FLAGS_IN(); 19479 edx = MEM32(ebp + 0x8); /* 0x2B070B8D: mov edx, dword ptr [ebp + 8] */ 19480 PUSH32(esp, 0x1D6u); /* 0x2B070B90: push 0x1d6 */ 19481 PUSH32(esp, edx); /* 0x2B070B95: push edx */ 19482 ecx = ebx; /* 0x2B070B96: mov ecx, ebx */ 19483 RECOMP_ICALL(0x2B0735D0u); /* 0x2B070B98: call 0x2b0735d0 */ /* not lifted */ 19484 RECOMP_FLAGS_IN(); 19485 /* test eax, eax */ /* 0x2B070B9D: test eax, eax */ 19486 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 19487 _cf = 0; 19488 _flag_k = FK_TEST; 19489 MEM32(ebp + 0xC) = eax; /* 0x2B070B9F: mov dword ptr [ebp + 0xc], eax */ 19490 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B070C1F; /* 0x2B070BA2: jne 0x2b070c1f */ 19491 L_2B070BA4: 19492 edx = MEM32(ebx + 0x28); /* 0x2B070BA4: mov edx, dword ptr [ebx + 0x28] */ 19493 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 19494 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070BA7: or ecx, 0xffffffff */ 19495 _cf = 0; 19496 _flag_k = FK_TEST; 19497 edi = 0x2B0EB7D0u; /* 0x2B070BAA: mov edi, 0x2b0eb7d0 */ 19498 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; } /* 0x2B070BAF: repne scasb al, byte ptr es:[edi] */ 19499 eax = MEM32(0x2B0B515C); /* 0x2B070BB1: mov eax, dword ptr [0x2b0b515c] */ 19500 edi = MEM32(edx + 0x8); /* 0x2B070BB6: mov edi, dword ptr [edx + 8] */ 19501 ecx = ~ecx; /* 0x2B070BB9: not ecx */ 19502 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 19503 ecx = ecx - 1; /* 0x2B070BBB: dec ecx */ 19504 _flag_k = FK_DEC; 19505 esi = ecx; /* 0x2B070BBC: mov esi, ecx */ 19506 ecx = MEM32(eax); /* 0x2B070BBE: mov ecx, dword ptr [eax] */ 19507 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 19508 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19509 ecx = ecx - edi; /* 0x2B070BC0: sub ecx, edi */ 19510 _flag_k = FK_CMP; 19511 /* cmp ecx, esi */ /* 0x2B070BC2: cmp ecx, esi */ 19512 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 19513 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19514 _flag_k = FK_CMP; 19515 MEM32(ebp + 0xC) = edx; /* 0x2B070BC4: mov dword ptr [ebp + 0xc], edx */ 19516 if (CMP_A(_flag_a, _flag_b)) goto L_2B070BD2; /* 0x2B070BC7: ja 0x2b070bd2 */ 19517 L_2B070BC9: 19518 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070BC9: call dword ptr [0x2b0b51a8] */ 19519 RECOMP_FLAGS_IN(); 19520 edx = MEM32(ebp + 0xC); /* 0x2B070BCF: mov edx, dword ptr [ebp + 0xc] */ 19521 L_2B070BD2: 19522 /* test esi, esi */ /* 0x2B070BD2: test esi, esi */ 19523 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 19524 _cf = 0; 19525 _flag_k = FK_TEST; 19526 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070BD4: jbe 0x2b070e97 */ 19527 L_2B070BDA: 19528 edi = MEM32(edx + 0x8); /* 0x2B070BDA: mov edi, dword ptr [edx + 8] */ 19529 eax = esi; /* 0x2B070BDD: mov eax, esi */ 19530 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 19531 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19532 eax = eax + edi; /* 0x2B070BDF: add eax, edi */ 19533 _flag_k = FK_ADD; 19534 PUSH32(esp, 0); /* 0x2B070BE1: push 0 */ 19535 PUSH32(esp, eax); /* 0x2B070BE3: push eax */ 19536 ecx = edx; /* 0x2B070BE4: mov ecx, edx */ 19537 MEM32(ebp + (-0x18)) = eax; /* 0x2B070BE6: mov dword ptr [ebp - 0x18], eax */ 19538 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070BE9: call dword ptr [0x2b0b5154] */ 19539 RECOMP_FLAGS_IN(); 19540 /* test LO8(eax), LO8(eax) */ /* 0x2B070BEF: test al, al */ 19541 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19542 _cf = 0; 19543 _flag_k = FK_NARROW(FK_TEST, 24); 19544 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070BF1: je 0x2b070e97 */ 19545 L_2B070BF7: 19546 edx = MEM32(ebp + 0xC); /* 0x2B070BF7: mov edx, dword ptr [ebp + 0xc] */ 19547 ecx = MEM32(edx + 0x4); /* 0x2B070BFA: mov ecx, dword ptr [edx + 4] */ 19548 edi = MEM32(edx + 0x8); /* 0x2B070BFD: mov edi, dword ptr [edx + 8] */ 19549 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 19550 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19551 edi = edi + ecx; /* 0x2B070C00: add edi, ecx */ 19552 _flag_k = FK_ADD; 19553 ecx = esi; /* 0x2B070C02: mov ecx, esi */ 19554 eax = ecx; /* 0x2B070C04: mov eax, ecx */ 19555 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070C06: shr ecx, 2 */ 19556 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 19557 ecx = ecx >> 2u; /* 0x2B070C06: shr ecx, 2 */ 19558 esi = 0x2B0EB7D0u; /* 0x2B070C09: mov esi, 0x2b0eb7d0 */ 19559 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070C0E: 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; } 19560 ecx = eax; /* 0x2B070C10: mov ecx, eax */ 19561 eax = MEM32(ebp + (-0x18)); /* 0x2B070C12: mov eax, dword ptr [ebp - 0x18] */ 19562 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 19563 ecx = ecx & 3; /* 0x2B070C15: and ecx, 3 */ 19564 _cf = 0; 19565 _flag_k = FK_TEST; 19566 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070C18: 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; } 19567 goto L_2B070E8E; /* 0x2B070C1A: jmp 0x2b070e8e */ 19568 L_2B070C1F: 19569 /* test LO8(eax), 1 */ /* 0x2B070C1F: test al, 1 */ 19570 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 19571 _cf = 0; 19572 _flag_k = FK_NARROW(FK_TEST, 24); 19573 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070C9D; /* 0x2B070C21: je 0x2b070c9d */ 19574 L_2B070C23: 19575 edx = MEM32(ebx + 0x28); /* 0x2B070C23: mov edx, dword ptr [ebx + 0x28] */ 19576 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 19577 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070C26: or ecx, 0xffffffff */ 19578 _cf = 0; 19579 _flag_k = FK_TEST; 19580 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19581 eax = 0; /* 0x2B070C29: xor eax, eax */ 19582 _cf = 0; 19583 _flag_k = FK_TEST; 19584 edi = 0x2B0EB7C8u; /* 0x2B070C2B: mov edi, 0x2b0eb7c8 */ 19585 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; } /* 0x2B070C30: repne scasb al, byte ptr es:[edi] */ 19586 edi = MEM32(edx + 0x8); /* 0x2B070C32: mov edi, dword ptr [edx + 8] */ 19587 ecx = ~ecx; /* 0x2B070C35: not ecx */ 19588 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 19589 ecx = ecx - 1; /* 0x2B070C37: dec ecx */ 19590 _flag_k = FK_DEC; 19591 esi = ecx; /* 0x2B070C38: mov esi, ecx */ 19592 ecx = MEM32(0x2B0B515C); /* 0x2B070C3A: mov ecx, dword ptr [0x2b0b515c] */ 19593 eax = MEM32(ecx); /* 0x2B070C40: mov eax, dword ptr [ecx] */ 19594 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 19595 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19596 eax = eax - edi; /* 0x2B070C42: sub eax, edi */ 19597 _flag_k = FK_CMP; 19598 /* cmp eax, esi */ /* 0x2B070C44: cmp eax, esi */ 19599 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 19600 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19601 _flag_k = FK_CMP; 19602 MEM32(ebp + (-0x14)) = edx; /* 0x2B070C46: mov dword ptr [ebp - 0x14], edx */ 19603 if (CMP_A(_flag_a, _flag_b)) goto L_2B070C54; /* 0x2B070C49: ja 0x2b070c54 */ 19604 L_2B070C4B: 19605 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070C4B: call dword ptr [0x2b0b51a8] */ 19606 RECOMP_FLAGS_IN(); 19607 edx = MEM32(ebp + (-0x14)); /* 0x2B070C51: mov edx, dword ptr [ebp - 0x14] */ 19608 L_2B070C54: 19609 /* test esi, esi */ /* 0x2B070C54: test esi, esi */ 19610 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 19611 _cf = 0; 19612 _flag_k = FK_TEST; 19613 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070C9D; /* 0x2B070C56: jbe 0x2b070c9d */ 19614 L_2B070C58: 19615 edi = MEM32(edx + 0x8); /* 0x2B070C58: mov edi, dword ptr [edx + 8] */ 19616 eax = esi; /* 0x2B070C5B: mov eax, esi */ 19617 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 19618 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19619 eax = eax + edi; /* 0x2B070C5D: add eax, edi */ 19620 _flag_k = FK_ADD; 19621 PUSH32(esp, 0); /* 0x2B070C5F: push 0 */ 19622 PUSH32(esp, eax); /* 0x2B070C61: push eax */ 19623 ecx = edx; /* 0x2B070C62: mov ecx, edx */ 19624 MEM32(ebp + (-0x18)) = eax; /* 0x2B070C64: mov dword ptr [ebp - 0x18], eax */ 19625 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070C67: call dword ptr [0x2b0b5154] */ 19626 RECOMP_FLAGS_IN(); 19627 /* test LO8(eax), LO8(eax) */ /* 0x2B070C6D: test al, al */ 19628 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19629 _cf = 0; 19630 _flag_k = FK_NARROW(FK_TEST, 24); 19631 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070C9D; /* 0x2B070C6F: je 0x2b070c9d */ 19632 L_2B070C71: 19633 edx = MEM32(ebp + (-0x14)); /* 0x2B070C71: mov edx, dword ptr [ebp - 0x14] */ 19634 edi = MEM32(edx + 0x8); /* 0x2B070C74: mov edi, dword ptr [edx + 8] */ 19635 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 19636 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19637 edi = edi + MEM32(edx + 0x4); /* 0x2B070C77: add edi, dword ptr [edx + 4] */ 19638 _flag_k = FK_ADD; 19639 ecx = esi; /* 0x2B070C7A: mov ecx, esi */ 19640 eax = ecx; /* 0x2B070C7C: mov eax, ecx */ 19641 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070C7E: shr ecx, 2 */ 19642 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 19643 ecx = ecx >> 2u; /* 0x2B070C7E: shr ecx, 2 */ 19644 esi = 0x2B0EB7C8u; /* 0x2B070C81: mov esi, 0x2b0eb7c8 */ 19645 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070C86: 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; } 19646 ecx = eax; /* 0x2B070C88: mov ecx, eax */ 19647 eax = MEM32(ebp + (-0x18)); /* 0x2B070C8A: mov eax, dword ptr [ebp - 0x18] */ 19648 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 19649 ecx = ecx & 3; /* 0x2B070C8D: and ecx, 3 */ 19650 _cf = 0; 19651 _flag_k = FK_TEST; 19652 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070C90: 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; } 19653 ecx = MEM32(edx + 0x4); /* 0x2B070C92: mov ecx, dword ptr [edx + 4] */ 19654 MEM32(edx + 0x8) = eax; /* 0x2B070C95: mov dword ptr [edx + 8], eax */ 19655 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 19656 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19657 eax = eax + ecx; /* 0x2B070C98: add eax, ecx */ 19658 _flag_k = FK_ADD; 19659 MEM8(eax) = (uint8_t)(0); /* 0x2B070C9A: mov byte ptr [eax], 0 */ 19660 L_2B070C9D: 19661 /* test MEM8(ebp + 0xC), 2 */ /* 0x2B070C9D: test byte ptr [ebp + 0xc], 2 */ 19662 _flag_a = (uint32_t)(MEM8(ebp + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24; 19663 _cf = 0; 19664 _flag_k = FK_NARROW(FK_TEST, 24); 19665 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D1B; /* 0x2B070CA1: je 0x2b070d1b */ 19666 L_2B070CA3: 19667 edx = MEM32(ebx + 0x28); /* 0x2B070CA3: mov edx, dword ptr [ebx + 0x28] */ 19668 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 19669 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070CA6: or ecx, 0xffffffff */ 19670 _cf = 0; 19671 _flag_k = FK_TEST; 19672 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19673 eax = 0; /* 0x2B070CA9: xor eax, eax */ 19674 _cf = 0; 19675 _flag_k = FK_TEST; 19676 edi = 0x2B0EB7BCu; /* 0x2B070CAB: mov edi, 0x2b0eb7bc */ 19677 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; } /* 0x2B070CB0: repne scasb al, byte ptr es:[edi] */ 19678 edi = MEM32(edx + 0x8); /* 0x2B070CB2: mov edi, dword ptr [edx + 8] */ 19679 ecx = ~ecx; /* 0x2B070CB5: not ecx */ 19680 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 19681 ecx = ecx - 1; /* 0x2B070CB7: dec ecx */ 19682 _flag_k = FK_DEC; 19683 esi = ecx; /* 0x2B070CB8: mov esi, ecx */ 19684 ecx = MEM32(0x2B0B515C); /* 0x2B070CBA: mov ecx, dword ptr [0x2b0b515c] */ 19685 eax = MEM32(ecx); /* 0x2B070CC0: mov eax, dword ptr [ecx] */ 19686 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 19687 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19688 eax = eax - edi; /* 0x2B070CC2: sub eax, edi */ 19689 _flag_k = FK_CMP; 19690 /* cmp eax, esi */ /* 0x2B070CC4: cmp eax, esi */ 19691 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 19692 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19693 _flag_k = FK_CMP; 19694 MEM32(ebp + (-0x14)) = edx; /* 0x2B070CC6: mov dword ptr [ebp - 0x14], edx */ 19695 if (CMP_A(_flag_a, _flag_b)) goto L_2B070CD1; /* 0x2B070CC9: ja 0x2b070cd1 */ 19696 L_2B070CCB: 19697 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070CCB: call dword ptr [0x2b0b51a8] */ 19698 RECOMP_FLAGS_IN(); 19699 L_2B070CD1: 19700 /* test esi, esi */ /* 0x2B070CD1: test esi, esi */ 19701 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 19702 _cf = 0; 19703 _flag_k = FK_TEST; 19704 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D1B; /* 0x2B070CD3: jbe 0x2b070d1b */ 19705 L_2B070CD5: 19706 ecx = MEM32(ebp + (-0x14)); /* 0x2B070CD5: mov ecx, dword ptr [ebp - 0x14] */ 19707 edx = MEM32(ecx + 0x8); /* 0x2B070CD8: mov edx, dword ptr [ecx + 8] */ 19708 eax = esi; /* 0x2B070CDB: mov eax, esi */ 19709 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 19710 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19711 eax = eax + edx; /* 0x2B070CDD: add eax, edx */ 19712 _flag_k = FK_ADD; 19713 PUSH32(esp, 0); /* 0x2B070CDF: push 0 */ 19714 PUSH32(esp, eax); /* 0x2B070CE1: push eax */ 19715 MEM32(ebp + (-0x18)) = eax; /* 0x2B070CE2: mov dword ptr [ebp - 0x18], eax */ 19716 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070CE5: call dword ptr [0x2b0b5154] */ 19717 RECOMP_FLAGS_IN(); 19718 /* test LO8(eax), LO8(eax) */ /* 0x2B070CEB: test al, al */ 19719 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19720 _cf = 0; 19721 _flag_k = FK_NARROW(FK_TEST, 24); 19722 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D1B; /* 0x2B070CED: je 0x2b070d1b */ 19723 L_2B070CEF: 19724 edx = MEM32(ebp + (-0x14)); /* 0x2B070CEF: mov edx, dword ptr [ebp - 0x14] */ 19725 edi = MEM32(edx + 0x8); /* 0x2B070CF2: mov edi, dword ptr [edx + 8] */ 19726 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 19727 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19728 edi = edi + MEM32(edx + 0x4); /* 0x2B070CF5: add edi, dword ptr [edx + 4] */ 19729 _flag_k = FK_ADD; 19730 ecx = esi; /* 0x2B070CF8: mov ecx, esi */ 19731 eax = ecx; /* 0x2B070CFA: mov eax, ecx */ 19732 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070CFC: shr ecx, 2 */ 19733 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 19734 ecx = ecx >> 2u; /* 0x2B070CFC: shr ecx, 2 */ 19735 esi = 0x2B0EB7BCu; /* 0x2B070CFF: mov esi, 0x2b0eb7bc */ 19736 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070D04: 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; } 19737 ecx = eax; /* 0x2B070D06: mov ecx, eax */ 19738 eax = MEM32(ebp + (-0x18)); /* 0x2B070D08: mov eax, dword ptr [ebp - 0x18] */ 19739 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 19740 ecx = ecx & 3; /* 0x2B070D0B: and ecx, 3 */ 19741 _cf = 0; 19742 _flag_k = FK_TEST; 19743 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070D0E: 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; } 19744 ecx = MEM32(edx + 0x4); /* 0x2B070D10: mov ecx, dword ptr [edx + 4] */ 19745 MEM32(edx + 0x8) = eax; /* 0x2B070D13: mov dword ptr [edx + 8], eax */ 19746 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 19747 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19748 eax = eax + ecx; /* 0x2B070D16: add eax, ecx */ 19749 _flag_k = FK_ADD; 19750 MEM8(eax) = (uint8_t)(0); /* 0x2B070D18: mov byte ptr [eax], 0 */ 19751 L_2B070D1B: 19752 /* test MEM8(ebp + 0xC), 4 */ /* 0x2B070D1B: test byte ptr [ebp + 0xc], 4 */ 19753 _flag_a = (uint32_t)(MEM8(ebp + 0xC)) << 24; _flag_b = (uint32_t)(4) << 24; 19754 _cf = 0; 19755 _flag_k = FK_NARROW(FK_TEST, 24); 19756 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D99; /* 0x2B070D1F: je 0x2b070d99 */ 19757 L_2B070D21: 19758 edx = MEM32(ebx + 0x28); /* 0x2B070D21: mov edx, dword ptr [ebx + 0x28] */ 19759 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 19760 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070D24: or ecx, 0xffffffff */ 19761 _cf = 0; 19762 _flag_k = FK_TEST; 19763 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19764 eax = 0; /* 0x2B070D27: xor eax, eax */ 19765 _cf = 0; 19766 _flag_k = FK_TEST; 19767 edi = 0x2B0EB7B0u; /* 0x2B070D29: mov edi, 0x2b0eb7b0 */ 19768 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; } /* 0x2B070D2E: repne scasb al, byte ptr es:[edi] */ 19769 edi = MEM32(edx + 0x8); /* 0x2B070D30: mov edi, dword ptr [edx + 8] */ 19770 ecx = ~ecx; /* 0x2B070D33: not ecx */ 19771 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 19772 ecx = ecx - 1; /* 0x2B070D35: dec ecx */ 19773 _flag_k = FK_DEC; 19774 esi = ecx; /* 0x2B070D36: mov esi, ecx */ 19775 ecx = MEM32(0x2B0B515C); /* 0x2B070D38: mov ecx, dword ptr [0x2b0b515c] */ 19776 eax = MEM32(ecx); /* 0x2B070D3E: mov eax, dword ptr [ecx] */ 19777 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 19778 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19779 eax = eax - edi; /* 0x2B070D40: sub eax, edi */ 19780 _flag_k = FK_CMP; 19781 /* cmp eax, esi */ /* 0x2B070D42: cmp eax, esi */ 19782 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 19783 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19784 _flag_k = FK_CMP; 19785 MEM32(ebp + (-0x14)) = edx; /* 0x2B070D44: mov dword ptr [ebp - 0x14], edx */ 19786 if (CMP_A(_flag_a, _flag_b)) goto L_2B070D4F; /* 0x2B070D47: ja 0x2b070d4f */ 19787 L_2B070D49: 19788 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070D49: call dword ptr [0x2b0b51a8] */ 19789 RECOMP_FLAGS_IN(); 19790 L_2B070D4F: 19791 /* test esi, esi */ /* 0x2B070D4F: test esi, esi */ 19792 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 19793 _cf = 0; 19794 _flag_k = FK_TEST; 19795 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D99; /* 0x2B070D51: jbe 0x2b070d99 */ 19796 L_2B070D53: 19797 ecx = MEM32(ebp + (-0x14)); /* 0x2B070D53: mov ecx, dword ptr [ebp - 0x14] */ 19798 edx = MEM32(ecx + 0x8); /* 0x2B070D56: mov edx, dword ptr [ecx + 8] */ 19799 eax = esi; /* 0x2B070D59: mov eax, esi */ 19800 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 19801 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19802 eax = eax + edx; /* 0x2B070D5B: add eax, edx */ 19803 _flag_k = FK_ADD; 19804 PUSH32(esp, 0); /* 0x2B070D5D: push 0 */ 19805 PUSH32(esp, eax); /* 0x2B070D5F: push eax */ 19806 MEM32(ebp + (-0x18)) = eax; /* 0x2B070D60: mov dword ptr [ebp - 0x18], eax */ 19807 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070D63: call dword ptr [0x2b0b5154] */ 19808 RECOMP_FLAGS_IN(); 19809 /* test LO8(eax), LO8(eax) */ /* 0x2B070D69: test al, al */ 19810 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19811 _cf = 0; 19812 _flag_k = FK_NARROW(FK_TEST, 24); 19813 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D99; /* 0x2B070D6B: je 0x2b070d99 */ 19814 L_2B070D6D: 19815 edx = MEM32(ebp + (-0x14)); /* 0x2B070D6D: mov edx, dword ptr [ebp - 0x14] */ 19816 edi = MEM32(edx + 0x8); /* 0x2B070D70: mov edi, dword ptr [edx + 8] */ 19817 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 19818 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19819 edi = edi + MEM32(edx + 0x4); /* 0x2B070D73: add edi, dword ptr [edx + 4] */ 19820 _flag_k = FK_ADD; 19821 ecx = esi; /* 0x2B070D76: mov ecx, esi */ 19822 eax = ecx; /* 0x2B070D78: mov eax, ecx */ 19823 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070D7A: shr ecx, 2 */ 19824 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 19825 ecx = ecx >> 2u; /* 0x2B070D7A: shr ecx, 2 */ 19826 esi = 0x2B0EB7B0u; /* 0x2B070D7D: mov esi, 0x2b0eb7b0 */ 19827 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070D82: 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; } 19828 ecx = eax; /* 0x2B070D84: mov ecx, eax */ 19829 eax = MEM32(ebp + (-0x18)); /* 0x2B070D86: mov eax, dword ptr [ebp - 0x18] */ 19830 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 19831 ecx = ecx & 3; /* 0x2B070D89: and ecx, 3 */ 19832 _cf = 0; 19833 _flag_k = FK_TEST; 19834 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070D8C: 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; } 19835 ecx = MEM32(edx + 0x4); /* 0x2B070D8E: mov ecx, dword ptr [edx + 4] */ 19836 MEM32(edx + 0x8) = eax; /* 0x2B070D91: mov dword ptr [edx + 8], eax */ 19837 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 19838 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19839 eax = eax + ecx; /* 0x2B070D94: add eax, ecx */ 19840 _flag_k = FK_ADD; 19841 MEM8(eax) = (uint8_t)(0); /* 0x2B070D96: mov byte ptr [eax], 0 */ 19842 L_2B070D99: 19843 /* test MEM8(ebp + 0xC), 8 */ /* 0x2B070D99: test byte ptr [ebp + 0xc], 8 */ 19844 _flag_a = (uint32_t)(MEM8(ebp + 0xC)) << 24; _flag_b = (uint32_t)(8) << 24; 19845 _cf = 0; 19846 _flag_k = FK_NARROW(FK_TEST, 24); 19847 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E17; /* 0x2B070D9D: je 0x2b070e17 */ 19848 L_2B070D9F: 19849 edx = MEM32(ebx + 0x28); /* 0x2B070D9F: mov edx, dword ptr [ebx + 0x28] */ 19850 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 19851 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070DA2: or ecx, 0xffffffff */ 19852 _cf = 0; 19853 _flag_k = FK_TEST; 19854 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19855 eax = 0; /* 0x2B070DA5: xor eax, eax */ 19856 _cf = 0; 19857 _flag_k = FK_TEST; 19858 edi = 0x2B0EB7A4u; /* 0x2B070DA7: mov edi, 0x2b0eb7a4 */ 19859 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; } /* 0x2B070DAC: repne scasb al, byte ptr es:[edi] */ 19860 edi = MEM32(edx + 0x8); /* 0x2B070DAE: mov edi, dword ptr [edx + 8] */ 19861 ecx = ~ecx; /* 0x2B070DB1: not ecx */ 19862 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 19863 ecx = ecx - 1; /* 0x2B070DB3: dec ecx */ 19864 _flag_k = FK_DEC; 19865 esi = ecx; /* 0x2B070DB4: mov esi, ecx */ 19866 ecx = MEM32(0x2B0B515C); /* 0x2B070DB6: mov ecx, dword ptr [0x2b0b515c] */ 19867 eax = MEM32(ecx); /* 0x2B070DBC: mov eax, dword ptr [ecx] */ 19868 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 19869 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19870 eax = eax - edi; /* 0x2B070DBE: sub eax, edi */ 19871 _flag_k = FK_CMP; 19872 /* cmp eax, esi */ /* 0x2B070DC0: cmp eax, esi */ 19873 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 19874 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19875 _flag_k = FK_CMP; 19876 MEM32(ebp + (-0x14)) = edx; /* 0x2B070DC2: mov dword ptr [ebp - 0x14], edx */ 19877 if (CMP_A(_flag_a, _flag_b)) goto L_2B070DCD; /* 0x2B070DC5: ja 0x2b070dcd */ 19878 L_2B070DC7: 19879 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070DC7: call dword ptr [0x2b0b51a8] */ 19880 RECOMP_FLAGS_IN(); 19881 L_2B070DCD: 19882 /* test esi, esi */ /* 0x2B070DCD: test esi, esi */ 19883 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 19884 _cf = 0; 19885 _flag_k = FK_TEST; 19886 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E17; /* 0x2B070DCF: jbe 0x2b070e17 */ 19887 L_2B070DD1: 19888 ecx = MEM32(ebp + (-0x14)); /* 0x2B070DD1: mov ecx, dword ptr [ebp - 0x14] */ 19889 edx = MEM32(ecx + 0x8); /* 0x2B070DD4: mov edx, dword ptr [ecx + 8] */ 19890 eax = esi; /* 0x2B070DD7: mov eax, esi */ 19891 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 19892 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19893 eax = eax + edx; /* 0x2B070DD9: add eax, edx */ 19894 _flag_k = FK_ADD; 19895 PUSH32(esp, 0); /* 0x2B070DDB: push 0 */ 19896 PUSH32(esp, eax); /* 0x2B070DDD: push eax */ 19897 MEM32(ebp + (-0x18)) = eax; /* 0x2B070DDE: mov dword ptr [ebp - 0x18], eax */ 19898 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070DE1: call dword ptr [0x2b0b5154] */ 19899 RECOMP_FLAGS_IN(); 19900 /* test LO8(eax), LO8(eax) */ /* 0x2B070DE7: test al, al */ 19901 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19902 _cf = 0; 19903 _flag_k = FK_NARROW(FK_TEST, 24); 19904 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E17; /* 0x2B070DE9: je 0x2b070e17 */ 19905 L_2B070DEB: 19906 edx = MEM32(ebp + (-0x14)); /* 0x2B070DEB: mov edx, dword ptr [ebp - 0x14] */ 19907 edi = MEM32(edx + 0x8); /* 0x2B070DEE: mov edi, dword ptr [edx + 8] */ 19908 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 19909 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19910 edi = edi + MEM32(edx + 0x4); /* 0x2B070DF1: add edi, dword ptr [edx + 4] */ 19911 _flag_k = FK_ADD; 19912 ecx = esi; /* 0x2B070DF4: mov ecx, esi */ 19913 eax = ecx; /* 0x2B070DF6: mov eax, ecx */ 19914 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070DF8: shr ecx, 2 */ 19915 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 19916 ecx = ecx >> 2u; /* 0x2B070DF8: shr ecx, 2 */ 19917 esi = 0x2B0EB7A4u; /* 0x2B070DFB: mov esi, 0x2b0eb7a4 */ 19918 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070E00: 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; } 19919 ecx = eax; /* 0x2B070E02: mov ecx, eax */ 19920 eax = MEM32(ebp + (-0x18)); /* 0x2B070E04: mov eax, dword ptr [ebp - 0x18] */ 19921 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 19922 ecx = ecx & 3; /* 0x2B070E07: and ecx, 3 */ 19923 _cf = 0; 19924 _flag_k = FK_TEST; 19925 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070E0A: 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; } 19926 ecx = MEM32(edx + 0x4); /* 0x2B070E0C: mov ecx, dword ptr [edx + 4] */ 19927 MEM32(edx + 0x8) = eax; /* 0x2B070E0F: mov dword ptr [edx + 8], eax */ 19928 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 19929 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19930 eax = eax + ecx; /* 0x2B070E12: add eax, ecx */ 19931 _flag_k = FK_ADD; 19932 MEM8(eax) = (uint8_t)(0); /* 0x2B070E14: mov byte ptr [eax], 0 */ 19933 L_2B070E17: 19934 /* test MEM8(ebp + 0xC), 0x10u */ /* 0x2B070E17: test byte ptr [ebp + 0xc], 0x10 */ 19935 _flag_a = (uint32_t)(MEM8(ebp + 0xC)) << 24; _flag_b = (uint32_t)(0x10u) << 24; 19936 _cf = 0; 19937 _flag_k = FK_NARROW(FK_TEST, 24); 19938 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070E1B: je 0x2b070e97 */ 19939 L_2B070E1D: 19940 edx = MEM32(ebx + 0x28); /* 0x2B070E1D: mov edx, dword ptr [ebx + 0x28] */ 19941 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 19942 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070E20: or ecx, 0xffffffff */ 19943 _cf = 0; 19944 _flag_k = FK_TEST; 19945 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19946 eax = 0; /* 0x2B070E23: xor eax, eax */ 19947 _cf = 0; 19948 _flag_k = FK_TEST; 19949 edi = 0x2B0EB79Cu; /* 0x2B070E25: mov edi, 0x2b0eb79c */ 19950 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; } /* 0x2B070E2A: repne scasb al, byte ptr es:[edi] */ 19951 edi = MEM32(edx + 0x8); /* 0x2B070E2C: mov edi, dword ptr [edx + 8] */ 19952 ecx = ~ecx; /* 0x2B070E2F: not ecx */ 19953 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 19954 ecx = ecx - 1; /* 0x2B070E31: dec ecx */ 19955 _flag_k = FK_DEC; 19956 esi = ecx; /* 0x2B070E32: mov esi, ecx */ 19957 ecx = MEM32(0x2B0B515C); /* 0x2B070E34: mov ecx, dword ptr [0x2b0b515c] */ 19958 eax = MEM32(ecx); /* 0x2B070E3A: mov eax, dword ptr [ecx] */ 19959 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 19960 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19961 eax = eax - edi; /* 0x2B070E3C: sub eax, edi */ 19962 _flag_k = FK_CMP; 19963 /* cmp eax, esi */ /* 0x2B070E3E: cmp eax, esi */ 19964 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 19965 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19966 _flag_k = FK_CMP; 19967 MEM32(ebp + 0xC) = edx; /* 0x2B070E40: mov dword ptr [ebp + 0xc], edx */ 19968 if (CMP_A(_flag_a, _flag_b)) goto L_2B070E4E; /* 0x2B070E43: ja 0x2b070e4e */ 19969 L_2B070E45: 19970 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070E45: call dword ptr [0x2b0b51a8] */ 19971 RECOMP_FLAGS_IN(); 19972 edx = MEM32(ebp + 0xC); /* 0x2B070E4B: mov edx, dword ptr [ebp + 0xc] */ 19973 L_2B070E4E: 19974 /* test esi, esi */ /* 0x2B070E4E: test esi, esi */ 19975 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 19976 _cf = 0; 19977 _flag_k = FK_TEST; 19978 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070E50: jbe 0x2b070e97 */ 19979 L_2B070E52: 19980 edi = MEM32(edx + 0x8); /* 0x2B070E52: mov edi, dword ptr [edx + 8] */ 19981 eax = esi; /* 0x2B070E55: mov eax, esi */ 19982 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 19983 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19984 eax = eax + edi; /* 0x2B070E57: add eax, edi */ 19985 _flag_k = FK_ADD; 19986 PUSH32(esp, 0); /* 0x2B070E59: push 0 */ 19987 PUSH32(esp, eax); /* 0x2B070E5B: push eax */ 19988 ecx = edx; /* 0x2B070E5C: mov ecx, edx */ 19989 MEM32(ebp + (-0x18)) = eax; /* 0x2B070E5E: mov dword ptr [ebp - 0x18], eax */ 19990 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070E61: call dword ptr [0x2b0b5154] */ 19991 RECOMP_FLAGS_IN(); 19992 /* test LO8(eax), LO8(eax) */ /* 0x2B070E67: test al, al */ 19993 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19994 _cf = 0; 19995 _flag_k = FK_NARROW(FK_TEST, 24); 19996 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070E69: je 0x2b070e97 */ 19997 L_2B070E6B: 19998 edx = MEM32(ebp + 0xC); /* 0x2B070E6B: mov edx, dword ptr [ebp + 0xc] */ 19999 ecx = MEM32(edx + 0x4); /* 0x2B070E6E: mov ecx, dword ptr [edx + 4] */ 20000 edi = MEM32(edx + 0x8); /* 0x2B070E71: mov edi, dword ptr [edx + 8] */ 20001 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 20002 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20003 edi = edi + ecx; /* 0x2B070E74: add edi, ecx */ 20004 _flag_k = FK_ADD; 20005 ecx = esi; /* 0x2B070E76: mov ecx, esi */ 20006 eax = ecx; /* 0x2B070E78: mov eax, ecx */ 20007 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070E7A: shr ecx, 2 */ 20008 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 20009 ecx = ecx >> 2u; /* 0x2B070E7A: shr ecx, 2 */ 20010 esi = 0x2B0EB79Cu; /* 0x2B070E7D: mov esi, 0x2b0eb79c */ 20011 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070E82: 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; } 20012 ecx = eax; /* 0x2B070E84: mov ecx, eax */ 20013 eax = MEM32(ebp + (-0x18)); /* 0x2B070E86: mov eax, dword ptr [ebp - 0x18] */ 20014 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 20015 ecx = ecx & 3; /* 0x2B070E89: and ecx, 3 */ 20016 _cf = 0; 20017 _flag_k = FK_TEST; 20018 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070E8C: 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; } 20019 L_2B070E8E: 20020 MEM32(edx + 0x8) = eax; /* 0x2B070E8E: mov dword ptr [edx + 8], eax */ 20021 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20022 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20023 eax = eax + MEM32(edx + 0x4); /* 0x2B070E91: add eax, dword ptr [edx + 4] */ 20024 _flag_k = FK_ADD; 20025 MEM8(eax) = (uint8_t)(0); /* 0x2B070E94: mov byte ptr [eax], 0 */ 20026 L_2B070E97: 20027 SET_LO8(ecx, MEM8(ebp + 0xF)); /* 0x2B070E97: mov cl, byte ptr [ebp + 0xf] */ 20028 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20029 edi = 0; /* 0x2B070E9A: xor edi, edi */ 20030 _cf = 0; 20031 _flag_k = FK_TEST; 20032 MEM8(ebp + (-0x44)) = (uint8_t)(LO8(ecx)); /* 0x2B070E9C: mov byte ptr [ebp - 0x44], cl */ 20033 PUSH32(esp, edi); /* 0x2B070E9F: push edi */ 20034 ecx = ebp + (-0x44); /* 0x2B070EA0: lea ecx, [ebp - 0x44] */ 20035 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B070EA3: call dword ptr [0x2b0b514c] */ 20036 RECOMP_FLAGS_IN(); 20037 MEM32(ebp + (-0x34)) = edi; /* 0x2B070EA9: mov dword ptr [ebp - 0x34], edi */ 20038 esi = MEM32(0x2B0B5D6C); /* 0x2B070EAC: mov esi, dword ptr [0x2b0b5d6c] */ 20039 MEM32(ebp + (-0x4)) = 1; /* 0x2B070EB2: mov dword ptr [ebp - 4], 1 */ 20040 MEM32(ebp + 0xC) = edi; /* 0x2B070EB9: mov dword ptr [ebp + 0xc], edi */ 20041 L_2B070EBC: 20042 edx = MEM32(ebp + 0xC); /* 0x2B070EBC: mov edx, dword ptr [ebp + 0xc] */ 20043 eax = MEM32(ebp + 0x8); /* 0x2B070EBF: mov eax, dword ptr [ebp + 8] */ 20044 PUSH32(esp, edx); /* 0x2B070EC2: push edx */ 20045 PUSH32(esp, eax); /* 0x2B070EC3: push eax */ 20046 RECOMP_ICALL(esi); /* 0x2B070EC4: call esi */ 20047 RECOMP_FLAGS_IN(); 20048 ecx = eax; /* 0x2B070EC6: mov ecx, eax */ 20049 RECOMP_ICALL(MEM32(0x2B0B5D80)); /* 0x2B070EC8: call dword ptr [0x2b0b5d80] */ 20050 RECOMP_FLAGS_IN(); 20051 /* cmp eax, edi */ /* 0x2B070ECE: cmp eax, edi */ 20052 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 20053 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20054 _flag_k = FK_CMP; 20055 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071042; /* 0x2B070ED0: je 0x2b071042 */ 20056 L_2B070ED6: 20057 PUSH32(esp, eax); /* 0x2B070ED6: push eax */ 20058 ecx = ebp + (-0x20); /* 0x2B070ED7: lea ecx, [ebp - 0x20] */ 20059 PUSH32(esp, ecx); /* 0x2B070EDA: push ecx */ 20060 MEM32(ebp + (-0x20)) = edi; /* 0x2B070EDB: mov dword ptr [ebp - 0x20], edi */ 20061 MEM32(ebp + (-0x1C)) = edi; /* 0x2B070EDE: mov dword ptr [ebp - 0x1c], edi */ 20062 RECOMP_ICALL(esi); /* 0x2B070EE1: call esi */ 20063 RECOMP_FLAGS_IN(); 20064 ecx = eax; /* 0x2B070EE3: mov ecx, eax */ 20065 RECOMP_ICALL(MEM32(0x2B0B5D4C)); /* 0x2B070EE5: call dword ptr [0x2b0b5d4c] */ 20066 RECOMP_FLAGS_IN(); 20067 /* test LO8(eax), LO8(eax) */ /* 0x2B070EEB: test al, al */ 20068 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 20069 _cf = 0; 20070 _flag_k = FK_NARROW(FK_TEST, 24); 20071 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07103A; /* 0x2B070EED: je 0x2b07103a */ 20072 L_2B070EF3: 20073 edx = ebp + (-0x20); /* 0x2B070EF3: lea edx, [ebp - 0x20] */ 20074 PUSH32(esp, 0x1Au); /* 0x2B070EF6: push 0x1a */ 20075 PUSH32(esp, edx); /* 0x2B070EF8: push edx */ 20076 RECOMP_ICALL(esi); /* 0x2B070EF9: call esi */ 20077 RECOMP_FLAGS_IN(); 20078 ecx = eax; /* 0x2B070EFB: mov ecx, eax */ 20079 RECOMP_ICALL(MEM32(0x2B0B5D84)); /* 0x2B070EFD: call dword ptr [0x2b0b5d84] */ 20080 RECOMP_FLAGS_IN(); 20081 /* cmp eax, edi */ /* 0x2B070F03: cmp eax, edi */ 20082 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 20083 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20084 _flag_k = FK_CMP; 20085 MEM32(ebp + (-0x14)) = eax; /* 0x2B070F05: mov dword ptr [ebp - 0x14], eax */ 20086 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07102C; /* 0x2B070F08: je 0x2b07102c */ 20087 L_2B070F0E: 20088 /* cmp MEM8(eax), 0 */ /* 0x2B070F0E: cmp byte ptr [eax], 0 */ 20089 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0) << 24; 20090 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20091 _flag_k = FK_NARROW(FK_CMP, 24); 20092 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07102C; /* 0x2B070F11: je 0x2b07102c */ 20093 L_2B070F17: 20094 eax = ebp + (-0x20); /* 0x2B070F17: lea eax, [ebp - 0x20] */ 20095 PUSH32(esp, eax); /* 0x2B070F1A: push eax */ 20096 RECOMP_ICALL(esi); /* 0x2B070F1B: call esi */ 20097 RECOMP_FLAGS_IN(); 20098 ecx = eax; /* 0x2B070F1D: mov ecx, eax */ 20099 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B070F1F: call dword ptr [0x2b0b5d50] */ 20100 RECOMP_FLAGS_IN(); 20101 ecx = ebp + (-0x44); /* 0x2B070F25: lea ecx, [ebp - 0x44] */ 20102 PUSH32(esp, ecx); /* 0x2B070F28: push ecx */ 20103 PUSH32(esp, eax); /* 0x2B070F29: push eax */ 20104 PUSH32(esp, 0x2B0EB790u); /* 0x2B070F2A: push 0x2b0eb790 */ 20105 ecx = ebx; /* 0x2B070F2F: mov ecx, ebx */ 20106 RECOMP_ICALL(0x2B073610u); /* 0x2B070F31: call 0x2b073610 */ /* not lifted */ 20107 RECOMP_FLAGS_IN(); 20108 edx = ebp + (-0x44); /* 0x2B070F36: lea edx, [ebp - 0x44] */ 20109 PUSH32(esp, edx); /* 0x2B070F39: push edx */ 20110 eax = ebp + (-0x20); /* 0x2B070F3A: lea eax, [ebp - 0x20] */ 20111 PUSH32(esp, eax); /* 0x2B070F3D: push eax */ 20112 ecx = ebx; /* 0x2B070F3E: mov ecx, ebx */ 20113 RECOMP_ICALL(0x2B074770u); /* 0x2B070F40: call 0x2b074770 */ /* not lifted */ 20114 RECOMP_FLAGS_IN(); 20115 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 20116 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070F45: or ecx, 0xffffffff */ 20117 _cf = 0; 20118 _flag_k = FK_TEST; 20119 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20120 eax = 0; /* 0x2B070F48: xor eax, eax */ 20121 _cf = 0; 20122 _flag_k = FK_TEST; 20123 edi = 0x2B0E2BF8u; /* 0x2B070F4A: mov edi, 0x2b0e2bf8 */ 20124 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; } /* 0x2B070F4F: repne scasb al, byte ptr es:[edi] */ 20125 ecx = ~ecx; /* 0x2B070F51: not ecx */ 20126 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 20127 ecx = ecx - 1; /* 0x2B070F53: dec ecx */ 20128 _flag_k = FK_DEC; 20129 edi = ecx; /* 0x2B070F54: mov edi, ecx */ 20130 ecx = MEM32(0x2B0B515C); /* 0x2B070F56: mov ecx, dword ptr [0x2b0b515c] */ 20131 edx = MEM32(ecx); /* 0x2B070F5C: mov edx, dword ptr [ecx] */ 20132 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + (-0x3C))); 20133 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20134 edx = edx - MEM32(ebp + (-0x3C)); /* 0x2B070F5E: sub edx, dword ptr [ebp - 0x3c] */ 20135 _flag_k = FK_CMP; 20136 /* cmp edx, edi */ /* 0x2B070F61: cmp edx, edi */ 20137 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 20138 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20139 _flag_k = FK_CMP; 20140 if (CMP_A(_flag_a, _flag_b)) goto L_2B070F6B; /* 0x2B070F63: ja 0x2b070f6b */ 20141 L_2B070F65: 20142 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070F65: call dword ptr [0x2b0b51a8] */ 20143 RECOMP_FLAGS_IN(); 20144 L_2B070F6B: 20145 /* test edi, edi */ /* 0x2B070F6B: test edi, edi */ 20146 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 20147 _cf = 0; 20148 _flag_k = FK_TEST; 20149 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070FB8; /* 0x2B070F6D: jbe 0x2b070fb8 */ 20150 L_2B070F6F: 20151 eax = MEM32(ebp + (-0x3C)); /* 0x2B070F6F: mov eax, dword ptr [ebp - 0x3c] */ 20152 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 20153 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20154 eax = eax + edi; /* 0x2B070F72: add eax, edi */ 20155 _flag_k = FK_ADD; 20156 PUSH32(esp, 0); /* 0x2B070F74: push 0 */ 20157 PUSH32(esp, eax); /* 0x2B070F76: push eax */ 20158 ecx = ebp + (-0x44); /* 0x2B070F77: lea ecx, [ebp - 0x44] */ 20159 MEM32(ebp + (-0x18)) = eax; /* 0x2B070F7A: mov dword ptr [ebp - 0x18], eax */ 20160 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070F7D: call dword ptr [0x2b0b5154] */ 20161 RECOMP_FLAGS_IN(); 20162 /* test LO8(eax), LO8(eax) */ /* 0x2B070F83: test al, al */ 20163 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 20164 _cf = 0; 20165 _flag_k = FK_NARROW(FK_TEST, 24); 20166 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070FB8; /* 0x2B070F85: je 0x2b070fb8 */ 20167 L_2B070F87: 20168 eax = MEM32(ebp + (-0x3C)); /* 0x2B070F87: mov eax, dword ptr [ebp - 0x3c] */ 20169 edx = MEM32(ebp + (-0x40)); /* 0x2B070F8A: mov edx, dword ptr [ebp - 0x40] */ 20170 ecx = edi; /* 0x2B070F8D: mov ecx, edi */ 20171 edi = eax + edx; /* 0x2B070F8F: lea edi, [eax + edx] */ 20172 eax = MEM32(ebp + (-0x18)); /* 0x2B070F92: mov eax, dword ptr [ebp - 0x18] */ 20173 edx = ecx; /* 0x2B070F95: mov edx, ecx */ 20174 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070F97: shr ecx, 2 */ 20175 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 20176 ecx = ecx >> 2u; /* 0x2B070F97: shr ecx, 2 */ 20177 esi = 0x2B0E2BF8u; /* 0x2B070F9A: mov esi, 0x2b0e2bf8 */ 20178 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070F9F: 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; } 20179 ecx = edx; /* 0x2B070FA1: mov ecx, edx */ 20180 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 20181 ecx = ecx & 3; /* 0x2B070FA3: and ecx, 3 */ 20182 _cf = 0; 20183 _flag_k = FK_TEST; 20184 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070FA6: 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; } 20185 ecx = MEM32(ebp + (-0x40)); /* 0x2B070FA8: mov ecx, dword ptr [ebp - 0x40] */ 20186 esi = MEM32(0x2B0B5D6C); /* 0x2B070FAB: mov esi, dword ptr [0x2b0b5d6c] */ 20187 MEM32(ebp + (-0x3C)) = eax; /* 0x2B070FB1: mov dword ptr [ebp - 0x3c], eax */ 20188 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B070FB4: mov byte ptr [ecx + eax], 0 */ 20189 L_2B070FB8: 20190 edi = MEM32(ebp + (-0x14)); /* 0x2B070FB8: mov edi, dword ptr [ebp - 0x14] */ 20191 edx = MEM32(0x2B0B515C); /* 0x2B070FBB: mov edx, dword ptr [0x2b0b515c] */ 20192 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20193 eax = 0; /* 0x2B070FC1: xor eax, eax */ 20194 _cf = 0; 20195 _flag_k = FK_TEST; 20196 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 20197 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070FC3: or ecx, 0xffffffff */ 20198 _cf = 0; 20199 _flag_k = FK_TEST; 20200 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; } /* 0x2B070FC6: repne scasb al, byte ptr es:[edi] */ 20201 eax = MEM32(edx); /* 0x2B070FC8: mov eax, dword ptr [edx] */ 20202 edx = MEM32(ebp + (-0x3C)); /* 0x2B070FCA: mov edx, dword ptr [ebp - 0x3c] */ 20203 ecx = ~ecx; /* 0x2B070FCD: not ecx */ 20204 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 20205 ecx = ecx - 1; /* 0x2B070FCF: dec ecx */ 20206 _flag_k = FK_DEC; 20207 edi = ecx; /* 0x2B070FD0: mov edi, ecx */ 20208 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 20209 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20210 eax = eax - edx; /* 0x2B070FD2: sub eax, edx */ 20211 _flag_k = FK_CMP; 20212 /* cmp eax, edi */ /* 0x2B070FD4: cmp eax, edi */ 20213 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 20214 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20215 _flag_k = FK_CMP; 20216 if (CMP_A(_flag_a, _flag_b)) goto L_2B070FDE; /* 0x2B070FD6: ja 0x2b070fde */ 20217 L_2B070FD8: 20218 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070FD8: call dword ptr [0x2b0b51a8] */ 20219 RECOMP_FLAGS_IN(); 20220 L_2B070FDE: 20221 /* test edi, edi */ /* 0x2B070FDE: test edi, edi */ 20222 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 20223 _cf = 0; 20224 _flag_k = FK_TEST; 20225 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07102A; /* 0x2B070FE0: jbe 0x2b07102a */ 20226 L_2B070FE2: 20227 ecx = MEM32(ebp + (-0x3C)); /* 0x2B070FE2: mov ecx, dword ptr [ebp - 0x3c] */ 20228 eax = ecx + edi; /* 0x2B070FE5: lea eax, [ecx + edi] */ 20229 PUSH32(esp, 0); /* 0x2B070FE8: push 0 */ 20230 PUSH32(esp, eax); /* 0x2B070FEA: push eax */ 20231 ecx = ebp + (-0x44); /* 0x2B070FEB: lea ecx, [ebp - 0x44] */ 20232 MEM32(ebp + (-0x18)) = eax; /* 0x2B070FEE: mov dword ptr [ebp - 0x18], eax */ 20233 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070FF1: call dword ptr [0x2b0b5154] */ 20234 RECOMP_FLAGS_IN(); 20235 /* test LO8(eax), LO8(eax) */ /* 0x2B070FF7: test al, al */ 20236 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 20237 _cf = 0; 20238 _flag_k = FK_NARROW(FK_TEST, 24); 20239 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07102A; /* 0x2B070FF9: je 0x2b07102a */ 20240 L_2B070FFB: 20241 eax = MEM32(ebp + (-0x3C)); /* 0x2B070FFB: mov eax, dword ptr [ebp - 0x3c] */ 20242 edx = MEM32(ebp + (-0x40)); /* 0x2B070FFE: mov edx, dword ptr [ebp - 0x40] */ 20243 esi = MEM32(ebp + (-0x14)); /* 0x2B071001: mov esi, dword ptr [ebp - 0x14] */ 20244 ecx = edi; /* 0x2B071004: mov ecx, edi */ 20245 edi = eax + edx; /* 0x2B071006: lea edi, [eax + edx] */ 20246 eax = MEM32(ebp + (-0x18)); /* 0x2B071009: mov eax, dword ptr [ebp - 0x18] */ 20247 edx = ecx; /* 0x2B07100C: mov edx, ecx */ 20248 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07100E: shr ecx, 2 */ 20249 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 20250 ecx = ecx >> 2u; /* 0x2B07100E: shr ecx, 2 */ 20251 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071011: 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; } 20252 ecx = edx; /* 0x2B071013: mov ecx, edx */ 20253 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 20254 ecx = ecx & 3; /* 0x2B071015: and ecx, 3 */ 20255 _cf = 0; 20256 _flag_k = FK_TEST; 20257 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071018: 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; } 20258 ecx = MEM32(ebp + (-0x40)); /* 0x2B07101A: mov ecx, dword ptr [ebp - 0x40] */ 20259 esi = MEM32(0x2B0B5D6C); /* 0x2B07101D: mov esi, dword ptr [0x2b0b5d6c] */ 20260 MEM32(ebp + (-0x3C)) = eax; /* 0x2B071023: mov dword ptr [ebp - 0x3c], eax */ 20261 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B071026: mov byte ptr [ecx + eax], 0 */ 20262 L_2B07102A: 20263 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20264 edi = 0; /* 0x2B07102A: xor edi, edi */ 20265 _cf = 0; 20266 _flag_k = FK_TEST; 20267 L_2B07102C: 20268 edx = ebp + (-0x20); /* 0x2B07102C: lea edx, [ebp - 0x20] */ 20269 PUSH32(esp, edx); /* 0x2B07102F: push edx */ 20270 RECOMP_ICALL(esi); /* 0x2B071030: call esi */ 20271 RECOMP_FLAGS_IN(); 20272 ecx = eax; /* 0x2B071032: mov ecx, eax */ 20273 RECOMP_ICALL(MEM32(0x2B0B5D54)); /* 0x2B071034: call dword ptr [0x2b0b5d54] */ 20274 RECOMP_FLAGS_IN(); 20275 L_2B07103A: 20276 _flag_a = (uint32_t)(MEM32(ebp + 0xC)); _flag_b = (uint32_t)(1); 20277 MEM32(ebp + 0xC) = MEM32(ebp + 0xC) + 1; /* 0x2B07103A: inc dword ptr [ebp + 0xc] */ 20278 _flag_k = FK_INC; 20279 RECOMP_BACKEDGE(); 20280 goto L_2B070EBC; /* 0x2B07103D: jmp 0x2b070ebc */ 20281 L_2B071042: 20282 /* cmp MEM32(ebp + (-0x3C)), edi */ /* 0x2B071042: cmp dword ptr [ebp - 0x3c], edi */ 20283 _flag_a = (uint32_t)(MEM32(ebp + (-0x3C))); _flag_b = (uint32_t)(edi); 20284 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20285 _flag_k = FK_CMP; 20286 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071064; /* 0x2B071045: je 0x2b071064 */ 20287 L_2B071047: 20288 eax = MEM32(ebp + (-0x40)); /* 0x2B071047: mov eax, dword ptr [ebp - 0x40] */ 20289 /* cmp eax, edi */ /* 0x2B07104A: cmp eax, edi */ 20290 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 20291 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20292 _flag_k = FK_CMP; 20293 if (CMP_NE(_flag_a, _flag_b)) goto L_2B071053; /* 0x2B07104C: jne 0x2b071053 */ 20294 L_2B07104E: 20295 eax = MEM32(0x2B0B513C); /* 0x2B07104E: mov eax, dword ptr [0x2b0b513c] */ 20296 L_2B071053: 20297 ecx = MEM32(ebx + 0x28); /* 0x2B071053: mov ecx, dword ptr [ebx + 0x28] */ 20298 PUSH32(esp, ecx); /* 0x2B071056: push ecx */ 20299 PUSH32(esp, eax); /* 0x2B071057: push eax */ 20300 PUSH32(esp, 0x2B0EB770u); /* 0x2B071058: push 0x2b0eb770 */ 20301 ecx = ebx; /* 0x2B07105D: mov ecx, ebx */ 20302 RECOMP_ICALL(0x2B073610u); /* 0x2B07105F: call 0x2b073610 */ /* not lifted */ 20303 RECOMP_FLAGS_IN(); 20304 L_2B071064: 20305 eax = MEM32(ebp + (-0x34)); /* 0x2B071064: mov eax, dword ptr [ebp - 0x34] */ 20306 /* cmp eax, edi */ /* 0x2B071067: cmp eax, edi */ 20307 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 20308 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20309 _flag_k = FK_CMP; 20310 MEM32(ebp + (-0x4)) = 2; /* 0x2B071069: mov dword ptr [ebp - 4], 2 */ 20311 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710D2; /* 0x2B071070: je 0x2b0710d2 */ 20312 L_2B071072: 20313 edx = MEM32(eax + 0x2C); /* 0x2B071072: mov edx, dword ptr [eax + 0x2c] */ 20314 edi = eax; /* 0x2B071075: mov edi, eax */ 20315 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 20316 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20317 eax = eax + 0x2Cu; /* 0x2B071077: add eax, 0x2c */ 20318 _flag_k = FK_ADD; 20319 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 20320 edx = edx - 1; /* 0x2B07107A: dec edx */ 20321 _flag_k = FK_DEC; 20322 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20323 esi = 0; /* 0x2B07107B: xor esi, esi */ 20324 _cf = 0; 20325 _flag_k = FK_TEST; 20326 ecx = edx; /* 0x2B07107D: mov ecx, edx */ 20327 /* cmp ecx, esi */ /* 0x2B07107F: cmp ecx, esi */ 20328 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 20329 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20330 _flag_k = FK_CMP; 20331 MEM32(eax) = edx; /* 0x2B071081: mov dword ptr [eax], edx */ 20332 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0710D4; /* 0x2B071083: jne 0x2b0710d4 */ 20333 L_2B071085: 20334 /* cmp edi, esi */ /* 0x2B071085: cmp edi, esi */ 20335 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 20336 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20337 _flag_k = FK_CMP; 20338 MEM32(ebp + 0xC) = edi; /* 0x2B071087: mov dword ptr [ebp + 0xc], edi */ 20339 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710D4; /* 0x2B07108A: je 0x2b0710d4 */ 20340 L_2B07108C: 20341 PUSH32(esp, 1); /* 0x2B07108C: push 1 */ 20342 ecx = edi + 0x1C; /* 0x2B07108E: lea ecx, [edi + 0x1c] */ 20343 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B071091: mov byte ptr [ebp - 4], 3 */ 20344 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B071095: call dword ptr [0x2b0b514c] */ 20345 RECOMP_FLAGS_IN(); 20346 eax = MEM32(edi + 0x10); /* 0x2B07109B: mov eax, dword ptr [edi + 0x10] */ 20347 /* cmp eax, esi */ /* 0x2B07109E: cmp eax, esi */ 20348 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 20349 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20350 _flag_k = FK_CMP; 20351 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710BE; /* 0x2B0710A0: je 0x2b0710be */ 20352 L_2B0710A2: 20353 ecx = eax + (-0x1); /* 0x2B0710A2: lea ecx, [eax - 1] */ 20354 SET_LO8(eax, MEM8(ecx)); /* 0x2B0710A5: mov al, byte ptr [ecx] */ 20355 /* test LO8(eax), LO8(eax) */ /* 0x2B0710A7: test al, al */ 20356 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 20357 _cf = 0; 20358 _flag_k = FK_NARROW(FK_TEST, 24); 20359 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0710B5; /* 0x2B0710A9: je 0x2b0710b5 */ 20360 L_2B0710AB: 20361 /* cmp LO8(eax), 0xFFu */ /* 0x2B0710AB: cmp al, 0xff */ 20362 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 20363 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20364 _flag_k = FK_NARROW(FK_CMP, 24); 20365 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710B5; /* 0x2B0710AD: je 0x2b0710b5 */ 20366 L_2B0710AF: 20367 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 20368 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0710AF: dec al */ 20369 _flag_k = FK_NARROW(FK_DEC, 24); 20370 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B0710B1: mov byte ptr [ecx], al */ 20371 goto L_2B0710BE; /* 0x2B0710B3: jmp 0x2b0710be */ 20372 L_2B0710B5: 20373 PUSH32(esp, ecx); /* 0x2B0710B5: push ecx */ 20374 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0710B6: call 0x2b0ab1ba */ /* not lifted */ 20375 RECOMP_FLAGS_IN(); 20376 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 20377 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20378 esp = esp + 4; /* 0x2B0710BB: add esp, 4 */ 20379 _flag_k = FK_ADD; 20380 L_2B0710BE: 20381 PUSH32(esp, edi); /* 0x2B0710BE: push edi */ 20382 MEM32(edi + 0x10) = esi; /* 0x2B0710BF: mov dword ptr [edi + 0x10], esi */ 20383 MEM32(edi + 0x14) = esi; /* 0x2B0710C2: mov dword ptr [edi + 0x14], esi */ 20384 MEM32(edi + 0x18) = esi; /* 0x2B0710C5: mov dword ptr [edi + 0x18], esi */ 20385 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0710C8: call 0x2b0ab1ba */ /* not lifted */ 20386 RECOMP_FLAGS_IN(); 20387 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 20388 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20389 esp = esp + 4; /* 0x2B0710CD: add esp, 4 */ 20390 _flag_k = FK_ADD; 20391 goto L_2B0710D4; /* 0x2B0710D0: jmp 0x2b0710d4 */ 20392 L_2B0710D2: 20393 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20394 esi = 0; /* 0x2B0710D2: xor esi, esi */ 20395 _cf = 0; 20396 _flag_k = FK_TEST; 20397 L_2B0710D4: 20398 ecx = MEM32(ebp + (-0x40)); /* 0x2B0710D4: mov ecx, dword ptr [ebp - 0x40] */ 20399 /* cmp ecx, esi */ /* 0x2B0710D7: cmp ecx, esi */ 20400 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 20401 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20402 _flag_k = FK_CMP; 20403 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071108; /* 0x2B0710D9: je 0x2b071108 */ 20404 L_2B0710DB: 20405 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B0710DB: mov al, byte ptr [ecx - 1] */ 20406 /* test LO8(eax), LO8(eax) */ /* 0x2B0710DE: test al, al */ 20407 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 20408 _cf = 0; 20409 _flag_k = FK_NARROW(FK_TEST, 24); 20410 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0710FE; /* 0x2B0710E0: je 0x2b0710fe */ 20411 L_2B0710E2: 20412 /* cmp LO8(eax), 0xFFu */ /* 0x2B0710E2: cmp al, 0xff */ 20413 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 20414 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20415 _flag_k = FK_NARROW(FK_CMP, 24); 20416 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710FE; /* 0x2B0710E4: je 0x2b0710fe */ 20417 L_2B0710E6: 20418 edi = POP32_VAL(esp); /* 0x2B0710E6: pop edi */ 20419 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 20420 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0710E7: dec al */ 20421 _flag_k = FK_NARROW(FK_DEC, 24); 20422 esi = POP32_VAL(esp); /* 0x2B0710E9: pop esi */ 20423 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B0710EA: mov byte ptr [ecx - 1], al */ 20424 ebx = POP32_VAL(esp); /* 0x2B0710ED: pop ebx */ 20425 ecx = MEM32(ebp + (-0xC)); /* 0x2B0710EE: mov ecx, dword ptr [ebp - 0xc] */ 20426 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0710F1: mov dword ptr fs:[0], ecx */ 20427 esp = ebp; /* 0x2B0710F8: mov esp, ebp */ 20428 ebp = POP32_VAL(esp); /* 0x2B0710FA: pop ebp */ 20429 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0710FB: ret 8 */ 20430 L_2B0710FE: 20431 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 20432 ecx = ecx - 1; /* 0x2B0710FE: dec ecx */ 20433 _flag_k = FK_DEC; 20434 PUSH32(esp, ecx); /* 0x2B0710FF: push ecx */ 20435 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B071100: call 0x2b0ab1ba */ /* not lifted */ 20436 RECOMP_FLAGS_IN(); 20437 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 20438 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20439 esp = esp + 4; /* 0x2B071105: add esp, 4 */ 20440 _flag_k = FK_ADD; 20441 L_2B071108: 20442 ecx = MEM32(ebp + (-0xC)); /* 0x2B071108: mov ecx, dword ptr [ebp - 0xc] */ 20443 edi = POP32_VAL(esp); /* 0x2B07110B: pop edi */ 20444 esi = POP32_VAL(esp); /* 0x2B07110C: pop esi */ 20445 ebx = POP32_VAL(esp); /* 0x2B07110D: pop ebx */ 20446 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07110E: mov dword ptr fs:[0], ecx */ 20447 esp = ebp; /* 0x2B071115: mov esp, ebp */ 20448 ebp = POP32_VAL(esp); /* 0x2B071117: pop ebp */ 20449 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B071118: ret 8 */ 20450 RECOMP_REGS_OUT(); 20451 } 20452 20453 void sub_2B070446(void) { 20454 int _fpu_cmp = 0; 20455 uint32_t _cf = 0; 20456 int _df = 1; 20457 uint32_t _flag_k = FK_NONE; 20458 uint32_t _flag_a = 0, _flag_b = 0; 20459 uint32_t _itail_tgt = 0; 20460 RECOMP_REGS_LOCALS 20461 RECOMP_ENTER(0x2B070446u); 20462 20463 L_2B070446: 20464 PUSH32(esp, ecx); /* 0x2B070446: push ecx */ 20465 ecx = eax; /* 0x2B070447: mov ecx, eax */ 20466 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B070449: call dword ptr [0x2b0b5150] */ 20467 RECOMP_FLAGS_IN(); 20468 esi = MEM32(0x2B0B5A74); /* 0x2B07044F: mov esi, dword ptr [0x2b0b5a74] */ 20469 ecx = MEM32(ebx + 0x28); /* 0x2B070455: mov ecx, dword ptr [ebx + 0x28] */ 20470 PUSH32(esp, 0x13u); /* 0x2B070458: push 0x13 */ 20471 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07045A: push -1 */ 20472 RECOMP_ICALL(esi); /* 0x2B07045C: call esi */ 20473 RECOMP_FLAGS_IN(); 20474 edx = MEM32(ebx + 0x28); /* 0x2B07045E: mov edx, dword ptr [ebx + 0x28] */ 20475 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 20476 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070461: or ecx, 0xffffffff */ 20477 _cf = 0; 20478 _flag_k = FK_TEST; 20479 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20480 eax = 0; /* 0x2B070464: xor eax, eax */ 20481 _cf = 0; 20482 _flag_k = FK_TEST; 20483 edi = 0x2B0EB820u; /* 0x2B070466: mov edi, 0x2b0eb820 */ 20484 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; } /* 0x2B07046B: repne scasb al, byte ptr es:[edi] */ 20485 eax = MEM32(0x2B0B515C); /* 0x2B07046D: mov eax, dword ptr [0x2b0b515c] */ 20486 ecx = ~ecx; /* 0x2B070472: not ecx */ 20487 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 20488 ecx = ecx - 1; /* 0x2B070474: dec ecx */ 20489 _flag_k = FK_DEC; 20490 edi = ecx; /* 0x2B070475: mov edi, ecx */ 20491 ecx = MEM32(eax); /* 0x2B070477: mov ecx, dword ptr [eax] */ 20492 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 20493 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20494 ecx = ecx - MEM32(edx + 0x8); /* 0x2B070479: sub ecx, dword ptr [edx + 8] */ 20495 _flag_k = FK_CMP; 20496 /* cmp ecx, edi */ /* 0x2B07047C: cmp ecx, edi */ 20497 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 20498 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20499 _flag_k = FK_CMP; 20500 MEM32(ebp + 0xC) = edx; /* 0x2B07047E: mov dword ptr [ebp + 0xc], edx */ 20501 if (CMP_A(_flag_a, _flag_b)) goto L_2B070489; /* 0x2B070481: ja 0x2b070489 */ 20502 L_2B070483: 20503 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070483: call dword ptr [0x2b0b51a8] */ 20504 RECOMP_FLAGS_IN(); 20505 L_2B070489: 20506 /* test edi, edi */ /* 0x2B070489: test edi, edi */ 20507 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 20508 _cf = 0; 20509 _flag_k = FK_TEST; 20510 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0704D9; /* 0x2B07048B: jbe 0x2b0704d9 */ 20511 L_2B07048D: 20512 ecx = MEM32(ebp + 0xC); /* 0x2B07048D: mov ecx, dword ptr [ebp + 0xc] */ 20513 eax = MEM32(ecx + 0x8); /* 0x2B070490: mov eax, dword ptr [ecx + 8] */ 20514 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 20515 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20516 eax = eax + edi; /* 0x2B070493: add eax, edi */ 20517 _flag_k = FK_ADD; 20518 PUSH32(esp, 0); /* 0x2B070495: push 0 */ 20519 PUSH32(esp, eax); /* 0x2B070497: push eax */ 20520 MEM32(ebp + (-0x18)) = eax; /* 0x2B070498: mov dword ptr [ebp - 0x18], eax */ 20521 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07049B: call dword ptr [0x2b0b5154] */ 20522 RECOMP_FLAGS_IN(); 20523 /* test LO8(eax), LO8(eax) */ /* 0x2B0704A1: test al, al */ 20524 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 20525 _cf = 0; 20526 _flag_k = FK_NARROW(FK_TEST, 24); 20527 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0704D9; /* 0x2B0704A3: je 0x2b0704d9 */ 20528 L_2B0704A5: 20529 eax = MEM32(ebp + 0xC); /* 0x2B0704A5: mov eax, dword ptr [ebp + 0xc] */ 20530 esi = MEM32(eax + 0x8); /* 0x2B0704A8: mov esi, dword ptr [eax + 8] */ 20531 edx = MEM32(eax + 0x4); /* 0x2B0704AB: mov edx, dword ptr [eax + 4] */ 20532 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 20533 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20534 edx = edx + esi; /* 0x2B0704AE: add edx, esi */ 20535 _flag_k = FK_ADD; 20536 ecx = edi; /* 0x2B0704B0: mov ecx, edi */ 20537 edi = edx; /* 0x2B0704B2: mov edi, edx */ 20538 edx = ecx; /* 0x2B0704B4: mov edx, ecx */ 20539 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0704B6: shr ecx, 2 */ 20540 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 20541 ecx = ecx >> 2u; /* 0x2B0704B6: shr ecx, 2 */ 20542 esi = 0x2B0EB820u; /* 0x2B0704B9: mov esi, 0x2b0eb820 */ 20543 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0704BE: 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; } 20544 ecx = edx; /* 0x2B0704C0: mov ecx, edx */ 20545 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 20546 ecx = ecx & 3; /* 0x2B0704C2: and ecx, 3 */ 20547 _cf = 0; 20548 _flag_k = FK_TEST; 20549 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0704C5: 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; } 20550 ecx = MEM32(ebp + (-0x18)); /* 0x2B0704C7: mov ecx, dword ptr [ebp - 0x18] */ 20551 PUSH32(esp, ecx); /* 0x2B0704CA: push ecx */ 20552 ecx = eax; /* 0x2B0704CB: mov ecx, eax */ 20553 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B0704CD: call dword ptr [0x2b0b5150] */ 20554 RECOMP_FLAGS_IN(); 20555 esi = MEM32(0x2B0B5A74); /* 0x2B0704D3: mov esi, dword ptr [0x2b0b5a74] */ 20556 L_2B0704D9: 20557 ecx = MEM32(ebx + 0x28); /* 0x2B0704D9: mov ecx, dword ptr [ebx + 0x28] */ 20558 PUSH32(esp, 0x14u); /* 0x2B0704DC: push 0x14 */ 20559 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0704DE: push -1 */ 20560 RECOMP_ICALL(esi); /* 0x2B0704E0: call esi */ 20561 RECOMP_FLAGS_IN(); 20562 edx = MEM32(ebp + 0x8); /* 0x2B0704E2: mov edx, dword ptr [ebp + 8] */ 20563 PUSH32(esp, edx); /* 0x2B0704E5: push edx */ 20564 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0704E6: call dword ptr [0x2b0b5d6c] */ 20565 RECOMP_FLAGS_IN(); 20566 ecx = eax; /* 0x2B0704EC: mov ecx, eax */ 20567 RECOMP_ICALL(MEM32(0x2B0B5D74)); /* 0x2B0704EE: call dword ptr [0x2b0b5d74] */ 20568 RECOMP_FLAGS_IN(); 20569 MEM32(ebp + 0xC) = eax; /* 0x2B0704F4: mov dword ptr [ebp + 0xc], eax */ 20570 fp_push((double)(int32_t)MEM32(ebp + 0xC)); /* 0x2B0704F7: fild dword ptr [ebp + 0xc] */ 20571 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 20572 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20573 esp = esp - 8; /* 0x2B0704FA: sub esp, 8 */ 20574 _flag_k = FK_CMP; 20575 _st[0] *= (double)*(float*)ADDR(0x2B0B6CE4); /* 0x2B0704FD: fmul dword ptr [0x2b0b6ce4] */ 20576 { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x2B070503: fstp qword ptr [esp] */ 20577 PUSH32(esp, 0x2B0EB818u); /* 0x2B070506: push 0x2b0eb818 */ 20578 PUSH32(esp, 0x2B0EEE84u); /* 0x2B07050B: push 0x2b0eee84 */ 20579 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B070510: call dword ptr [0x2b0b51f0] */ 20580 RECOMP_FLAGS_IN(); 20581 edx = MEM32(ebx + 0x28); /* 0x2B070516: mov edx, dword ptr [ebx + 0x28] */ 20582 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 20583 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070519: or ecx, 0xffffffff */ 20584 _cf = 0; 20585 _flag_k = FK_TEST; 20586 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20587 eax = 0; /* 0x2B07051C: xor eax, eax */ 20588 _cf = 0; 20589 _flag_k = FK_TEST; 20590 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 20591 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20592 esp = esp + 0x10u; /* 0x2B07051E: add esp, 0x10 */ 20593 _flag_k = FK_ADD; 20594 edi = 0x2B0EEE84u; /* 0x2B070521: mov edi, 0x2b0eee84 */ 20595 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; } /* 0x2B070526: repne scasb al, byte ptr es:[edi] */ 20596 eax = MEM32(0x2B0B515C); /* 0x2B070528: mov eax, dword ptr [0x2b0b515c] */ 20597 ecx = ~ecx; /* 0x2B07052D: not ecx */ 20598 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 20599 ecx = ecx - 1; /* 0x2B07052F: dec ecx */ 20600 _flag_k = FK_DEC; 20601 edi = ecx; /* 0x2B070530: mov edi, ecx */ 20602 ecx = MEM32(eax); /* 0x2B070532: mov ecx, dword ptr [eax] */ 20603 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 20604 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20605 ecx = ecx - MEM32(edx + 0x8); /* 0x2B070534: sub ecx, dword ptr [edx + 8] */ 20606 _flag_k = FK_CMP; 20607 /* cmp ecx, edi */ /* 0x2B070537: cmp ecx, edi */ 20608 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 20609 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20610 _flag_k = FK_CMP; 20611 MEM32(ebp + 0xC) = edx; /* 0x2B070539: mov dword ptr [ebp + 0xc], edx */ 20612 if (CMP_A(_flag_a, _flag_b)) goto L_2B070544; /* 0x2B07053C: ja 0x2b070544 */ 20613 L_2B07053E: 20614 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07053E: call dword ptr [0x2b0b51a8] */ 20615 RECOMP_FLAGS_IN(); 20616 L_2B070544: 20617 /* test edi, edi */ /* 0x2B070544: test edi, edi */ 20618 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 20619 _cf = 0; 20620 _flag_k = FK_TEST; 20621 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070594; /* 0x2B070546: jbe 0x2b070594 */ 20622 L_2B070548: 20623 ecx = MEM32(ebp + 0xC); /* 0x2B070548: mov ecx, dword ptr [ebp + 0xc] */ 20624 eax = MEM32(ecx + 0x8); /* 0x2B07054B: mov eax, dword ptr [ecx + 8] */ 20625 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 20626 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20627 eax = eax + edi; /* 0x2B07054E: add eax, edi */ 20628 _flag_k = FK_ADD; 20629 PUSH32(esp, 0); /* 0x2B070550: push 0 */ 20630 PUSH32(esp, eax); /* 0x2B070552: push eax */ 20631 MEM32(ebp + (-0x18)) = eax; /* 0x2B070553: mov dword ptr [ebp - 0x18], eax */ 20632 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070556: call dword ptr [0x2b0b5154] */ 20633 RECOMP_FLAGS_IN(); 20634 /* test LO8(eax), LO8(eax) */ /* 0x2B07055C: test al, al */ 20635 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 20636 _cf = 0; 20637 _flag_k = FK_NARROW(FK_TEST, 24); 20638 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070594; /* 0x2B07055E: je 0x2b070594 */ 20639 L_2B070560: 20640 eax = MEM32(ebp + 0xC); /* 0x2B070560: mov eax, dword ptr [ebp + 0xc] */ 20641 esi = MEM32(eax + 0x8); /* 0x2B070563: mov esi, dword ptr [eax + 8] */ 20642 edx = MEM32(eax + 0x4); /* 0x2B070566: mov edx, dword ptr [eax + 4] */ 20643 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 20644 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20645 edx = edx + esi; /* 0x2B070569: add edx, esi */ 20646 _flag_k = FK_ADD; 20647 ecx = edi; /* 0x2B07056B: mov ecx, edi */ 20648 edi = edx; /* 0x2B07056D: mov edi, edx */ 20649 edx = ecx; /* 0x2B07056F: mov edx, ecx */ 20650 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070571: shr ecx, 2 */ 20651 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 20652 ecx = ecx >> 2u; /* 0x2B070571: shr ecx, 2 */ 20653 esi = 0x2B0EEE84u; /* 0x2B070574: mov esi, 0x2b0eee84 */ 20654 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070579: 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; } 20655 ecx = edx; /* 0x2B07057B: mov ecx, edx */ 20656 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 20657 ecx = ecx & 3; /* 0x2B07057D: and ecx, 3 */ 20658 _cf = 0; 20659 _flag_k = FK_TEST; 20660 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070580: 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; } 20661 ecx = MEM32(ebp + (-0x18)); /* 0x2B070582: mov ecx, dword ptr [ebp - 0x18] */ 20662 PUSH32(esp, ecx); /* 0x2B070585: push ecx */ 20663 ecx = eax; /* 0x2B070586: mov ecx, eax */ 20664 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B070588: call dword ptr [0x2b0b5150] */ 20665 RECOMP_FLAGS_IN(); 20666 esi = MEM32(0x2B0B5A74); /* 0x2B07058E: mov esi, dword ptr [0x2b0b5a74] */ 20667 L_2B070594: 20668 /* cmp MEM32(ebp + (-0x14)), 2 */ /* 0x2B070594: cmp dword ptr [ebp - 0x14], 2 */ 20669 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(2); 20670 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20671 _flag_k = FK_CMP; 20672 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0705A1; /* 0x2B070598: jne 0x2b0705a1 */ 20673 L_2B07059A: 20674 PUSH32(esp, 0x2B0EB80Cu); /* 0x2B07059A: push 0x2b0eb80c */ 20675 goto L_2B0705A6; /* 0x2B07059F: jmp 0x2b0705a6 */ 20676 L_2B0705A1: 20677 PUSH32(esp, 0x2B0EB804u); /* 0x2B0705A1: push 0x2b0eb804 */ 20678 L_2B0705A6: 20679 PUSH32(esp, 0x2B0EEE84u); /* 0x2B0705A6: push 0x2b0eee84 */ 20680 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B0705AB: call dword ptr [0x2b0b51f0] */ 20681 RECOMP_FLAGS_IN(); 20682 edi = MEM32(ebp + 0x8); /* 0x2B0705B1: mov edi, dword ptr [ebp + 8] */ 20683 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 20684 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20685 esp = esp + 8; /* 0x2B0705B4: add esp, 8 */ 20686 _flag_k = FK_ADD; 20687 PUSH32(esp, edi); /* 0x2B0705B7: push edi */ 20688 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0705B8: call dword ptr [0x2b0b5d6c] */ 20689 RECOMP_FLAGS_IN(); 20690 ecx = eax; /* 0x2B0705BE: mov ecx, eax */ 20691 RECOMP_ICALL(MEM32(0x2B0B5DEC)); /* 0x2B0705C0: call dword ptr [0x2b0b5dec] */ 20692 RECOMP_FLAGS_IN(); 20693 /* test eax, eax */ /* 0x2B0705C6: test eax, eax */ 20694 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 20695 _cf = 0; 20696 _flag_k = FK_TEST; 20697 MEM32(ebp + (-0x14)) = eax; /* 0x2B0705C8: mov dword ptr [ebp - 0x14], eax */ 20698 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070775; /* 0x2B0705CB: je 0x2b070775 */ 20699 L_2B0705D1: 20700 ecx = MEM32(ebx + 0x28); /* 0x2B0705D1: mov ecx, dword ptr [ebx + 0x28] */ 20701 PUSH32(esp, 0x13u); /* 0x2B0705D4: push 0x13 */ 20702 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0705D6: push -1 */ 20703 RECOMP_ICALL(esi); /* 0x2B0705D8: call esi */ 20704 RECOMP_FLAGS_IN(); 20705 edx = MEM32(ebx + 0x28); /* 0x2B0705DA: mov edx, dword ptr [ebx + 0x28] */ 20706 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 20707 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0705DD: or ecx, 0xffffffff */ 20708 _cf = 0; 20709 _flag_k = FK_TEST; 20710 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20711 eax = 0; /* 0x2B0705E0: xor eax, eax */ 20712 _cf = 0; 20713 _flag_k = FK_TEST; 20714 edi = 0x2B0E2BF8u; /* 0x2B0705E2: mov edi, 0x2b0e2bf8 */ 20715 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; } /* 0x2B0705E7: repne scasb al, byte ptr es:[edi] */ 20716 eax = MEM32(0x2B0B515C); /* 0x2B0705E9: mov eax, dword ptr [0x2b0b515c] */ 20717 ecx = ~ecx; /* 0x2B0705EE: not ecx */ 20718 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 20719 ecx = ecx - 1; /* 0x2B0705F0: dec ecx */ 20720 _flag_k = FK_DEC; 20721 edi = ecx; /* 0x2B0705F1: mov edi, ecx */ 20722 ecx = MEM32(eax); /* 0x2B0705F3: mov ecx, dword ptr [eax] */ 20723 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 20724 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20725 ecx = ecx - MEM32(edx + 0x8); /* 0x2B0705F5: sub ecx, dword ptr [edx + 8] */ 20726 _flag_k = FK_CMP; 20727 /* cmp ecx, edi */ /* 0x2B0705F8: cmp ecx, edi */ 20728 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 20729 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20730 _flag_k = FK_CMP; 20731 MEM32(ebp + 0xC) = edx; /* 0x2B0705FA: mov dword ptr [ebp + 0xc], edx */ 20732 if (CMP_A(_flag_a, _flag_b)) goto L_2B070605; /* 0x2B0705FD: ja 0x2b070605 */ 20733 L_2B0705FF: 20734 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0705FF: call dword ptr [0x2b0b51a8] */ 20735 RECOMP_FLAGS_IN(); 20736 L_2B070605: 20737 /* test edi, edi */ /* 0x2B070605: test edi, edi */ 20738 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 20739 _cf = 0; 20740 _flag_k = FK_TEST; 20741 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070657; /* 0x2B070607: jbe 0x2b070657 */ 20742 L_2B070609: 20743 ecx = MEM32(ebp + 0xC); /* 0x2B070609: mov ecx, dword ptr [ebp + 0xc] */ 20744 edx = MEM32(ecx + 0x8); /* 0x2B07060C: mov edx, dword ptr [ecx + 8] */ 20745 eax = edi; /* 0x2B07060F: mov eax, edi */ 20746 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 20747 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20748 eax = eax + edx; /* 0x2B070611: add eax, edx */ 20749 _flag_k = FK_ADD; 20750 PUSH32(esp, 0); /* 0x2B070613: push 0 */ 20751 PUSH32(esp, eax); /* 0x2B070615: push eax */ 20752 MEM32(ebp + (-0x18)) = eax; /* 0x2B070616: mov dword ptr [ebp - 0x18], eax */ 20753 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070619: call dword ptr [0x2b0b5154] */ 20754 RECOMP_FLAGS_IN(); 20755 /* test LO8(eax), LO8(eax) */ /* 0x2B07061F: test al, al */ 20756 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 20757 _cf = 0; 20758 _flag_k = FK_NARROW(FK_TEST, 24); 20759 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070657; /* 0x2B070621: je 0x2b070657 */ 20760 L_2B070623: 20761 eax = MEM32(ebp + 0xC); /* 0x2B070623: mov eax, dword ptr [ebp + 0xc] */ 20762 esi = MEM32(eax + 0x8); /* 0x2B070626: mov esi, dword ptr [eax + 8] */ 20763 edx = MEM32(eax + 0x4); /* 0x2B070629: mov edx, dword ptr [eax + 4] */ 20764 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 20765 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20766 edx = edx + esi; /* 0x2B07062C: add edx, esi */ 20767 _flag_k = FK_ADD; 20768 ecx = edi; /* 0x2B07062E: mov ecx, edi */ 20769 edi = edx; /* 0x2B070630: mov edi, edx */ 20770 edx = ecx; /* 0x2B070632: mov edx, ecx */ 20771 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070634: shr ecx, 2 */ 20772 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 20773 ecx = ecx >> 2u; /* 0x2B070634: shr ecx, 2 */ 20774 esi = 0x2B0E2BF8u; /* 0x2B070637: mov esi, 0x2b0e2bf8 */ 20775 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07063C: 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; } 20776 ecx = edx; /* 0x2B07063E: mov ecx, edx */ 20777 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 20778 ecx = ecx & 3; /* 0x2B070640: and ecx, 3 */ 20779 _cf = 0; 20780 _flag_k = FK_TEST; 20781 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070643: 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; } 20782 ecx = MEM32(ebp + (-0x18)); /* 0x2B070645: mov ecx, dword ptr [ebp - 0x18] */ 20783 PUSH32(esp, ecx); /* 0x2B070648: push ecx */ 20784 ecx = eax; /* 0x2B070649: mov ecx, eax */ 20785 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07064B: call dword ptr [0x2b0b5150] */ 20786 RECOMP_FLAGS_IN(); 20787 esi = MEM32(0x2B0B5A74); /* 0x2B070651: mov esi, dword ptr [0x2b0b5a74] */ 20788 L_2B070657: 20789 edx = MEM32(ebx + 0x28); /* 0x2B070657: mov edx, dword ptr [ebx + 0x28] */ 20790 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 20791 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07065A: or ecx, 0xffffffff */ 20792 _cf = 0; 20793 _flag_k = FK_TEST; 20794 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20795 eax = 0; /* 0x2B07065D: xor eax, eax */ 20796 _cf = 0; 20797 _flag_k = FK_TEST; 20798 edi = 0x2B0EEE84u; /* 0x2B07065F: mov edi, 0x2b0eee84 */ 20799 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; } /* 0x2B070664: repne scasb al, byte ptr es:[edi] */ 20800 eax = MEM32(0x2B0B515C); /* 0x2B070666: mov eax, dword ptr [0x2b0b515c] */ 20801 ecx = ~ecx; /* 0x2B07066B: not ecx */ 20802 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 20803 ecx = ecx - 1; /* 0x2B07066D: dec ecx */ 20804 _flag_k = FK_DEC; 20805 edi = ecx; /* 0x2B07066E: mov edi, ecx */ 20806 ecx = MEM32(eax); /* 0x2B070670: mov ecx, dword ptr [eax] */ 20807 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 20808 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20809 ecx = ecx - MEM32(edx + 0x8); /* 0x2B070672: sub ecx, dword ptr [edx + 8] */ 20810 _flag_k = FK_CMP; 20811 /* cmp ecx, edi */ /* 0x2B070675: cmp ecx, edi */ 20812 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 20813 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20814 _flag_k = FK_CMP; 20815 MEM32(ebp + 0xC) = edx; /* 0x2B070677: mov dword ptr [ebp + 0xc], edx */ 20816 if (CMP_A(_flag_a, _flag_b)) goto L_2B070682; /* 0x2B07067A: ja 0x2b070682 */ 20817 L_2B07067C: 20818 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07067C: call dword ptr [0x2b0b51a8] */ 20819 RECOMP_FLAGS_IN(); 20820 L_2B070682: 20821 /* test edi, edi */ /* 0x2B070682: test edi, edi */ 20822 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 20823 _cf = 0; 20824 _flag_k = FK_TEST; 20825 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0706D4; /* 0x2B070684: jbe 0x2b0706d4 */ 20826 L_2B070686: 20827 ecx = MEM32(ebp + 0xC); /* 0x2B070686: mov ecx, dword ptr [ebp + 0xc] */ 20828 edx = MEM32(ecx + 0x8); /* 0x2B070689: mov edx, dword ptr [ecx + 8] */ 20829 eax = edi; /* 0x2B07068C: mov eax, edi */ 20830 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 20831 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20832 eax = eax + edx; /* 0x2B07068E: add eax, edx */ 20833 _flag_k = FK_ADD; 20834 PUSH32(esp, 0); /* 0x2B070690: push 0 */ 20835 PUSH32(esp, eax); /* 0x2B070692: push eax */ 20836 MEM32(ebp + (-0x18)) = eax; /* 0x2B070693: mov dword ptr [ebp - 0x18], eax */ 20837 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070696: call dword ptr [0x2b0b5154] */ 20838 RECOMP_FLAGS_IN(); 20839 /* test LO8(eax), LO8(eax) */ /* 0x2B07069C: test al, al */ 20840 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 20841 _cf = 0; 20842 _flag_k = FK_NARROW(FK_TEST, 24); 20843 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0706D4; /* 0x2B07069E: je 0x2b0706d4 */ 20844 L_2B0706A0: 20845 eax = MEM32(ebp + 0xC); /* 0x2B0706A0: mov eax, dword ptr [ebp + 0xc] */ 20846 esi = MEM32(eax + 0x8); /* 0x2B0706A3: mov esi, dword ptr [eax + 8] */ 20847 edx = MEM32(eax + 0x4); /* 0x2B0706A6: mov edx, dword ptr [eax + 4] */ 20848 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 20849 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20850 edx = edx + esi; /* 0x2B0706A9: add edx, esi */ 20851 _flag_k = FK_ADD; 20852 ecx = edi; /* 0x2B0706AB: mov ecx, edi */ 20853 edi = edx; /* 0x2B0706AD: mov edi, edx */ 20854 edx = ecx; /* 0x2B0706AF: mov edx, ecx */ 20855 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0706B1: shr ecx, 2 */ 20856 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 20857 ecx = ecx >> 2u; /* 0x2B0706B1: shr ecx, 2 */ 20858 esi = 0x2B0EEE84u; /* 0x2B0706B4: mov esi, 0x2b0eee84 */ 20859 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0706B9: 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; } 20860 ecx = edx; /* 0x2B0706BB: mov ecx, edx */ 20861 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 20862 ecx = ecx & 3; /* 0x2B0706BD: and ecx, 3 */ 20863 _cf = 0; 20864 _flag_k = FK_TEST; 20865 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0706C0: 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; } 20866 ecx = MEM32(ebp + (-0x18)); /* 0x2B0706C2: mov ecx, dword ptr [ebp - 0x18] */ 20867 PUSH32(esp, ecx); /* 0x2B0706C5: push ecx */ 20868 ecx = eax; /* 0x2B0706C6: mov ecx, eax */ 20869 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B0706C8: call dword ptr [0x2b0b5150] */ 20870 RECOMP_FLAGS_IN(); 20871 esi = MEM32(0x2B0B5A74); /* 0x2B0706CE: mov esi, dword ptr [0x2b0b5a74] */ 20872 L_2B0706D4: 20873 edx = MEM32(ebx + 0x28); /* 0x2B0706D4: mov edx, dword ptr [ebx + 0x28] */ 20874 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 20875 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0706D7: or ecx, 0xffffffff */ 20876 _cf = 0; 20877 _flag_k = FK_TEST; 20878 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20879 eax = 0; /* 0x2B0706DA: xor eax, eax */ 20880 _cf = 0; 20881 _flag_k = FK_TEST; 20882 edi = 0x2B0E1C00u; /* 0x2B0706DC: mov edi, 0x2b0e1c00 */ 20883 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; } /* 0x2B0706E1: repne scasb al, byte ptr es:[edi] */ 20884 eax = MEM32(0x2B0B515C); /* 0x2B0706E3: mov eax, dword ptr [0x2b0b515c] */ 20885 ecx = ~ecx; /* 0x2B0706E8: not ecx */ 20886 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 20887 ecx = ecx - 1; /* 0x2B0706EA: dec ecx */ 20888 _flag_k = FK_DEC; 20889 edi = ecx; /* 0x2B0706EB: mov edi, ecx */ 20890 ecx = MEM32(eax); /* 0x2B0706ED: mov ecx, dword ptr [eax] */ 20891 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 20892 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20893 ecx = ecx - MEM32(edx + 0x8); /* 0x2B0706EF: sub ecx, dword ptr [edx + 8] */ 20894 _flag_k = FK_CMP; 20895 /* cmp ecx, edi */ /* 0x2B0706F2: cmp ecx, edi */ 20896 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 20897 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20898 _flag_k = FK_CMP; 20899 MEM32(ebp + 0xC) = edx; /* 0x2B0706F4: mov dword ptr [ebp + 0xc], edx */ 20900 if (CMP_A(_flag_a, _flag_b)) goto L_2B0706FF; /* 0x2B0706F7: ja 0x2b0706ff */ 20901 L_2B0706F9: 20902 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0706F9: call dword ptr [0x2b0b51a8] */ 20903 RECOMP_FLAGS_IN(); 20904 L_2B0706FF: 20905 /* test edi, edi */ /* 0x2B0706FF: test edi, edi */ 20906 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 20907 _cf = 0; 20908 _flag_k = FK_TEST; 20909 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070751; /* 0x2B070701: jbe 0x2b070751 */ 20910 L_2B070703: 20911 ecx = MEM32(ebp + 0xC); /* 0x2B070703: mov ecx, dword ptr [ebp + 0xc] */ 20912 edx = MEM32(ecx + 0x8); /* 0x2B070706: mov edx, dword ptr [ecx + 8] */ 20913 eax = edi; /* 0x2B070709: mov eax, edi */ 20914 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 20915 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20916 eax = eax + edx; /* 0x2B07070B: add eax, edx */ 20917 _flag_k = FK_ADD; 20918 PUSH32(esp, 0); /* 0x2B07070D: push 0 */ 20919 PUSH32(esp, eax); /* 0x2B07070F: push eax */ 20920 MEM32(ebp + (-0x18)) = eax; /* 0x2B070710: mov dword ptr [ebp - 0x18], eax */ 20921 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070713: call dword ptr [0x2b0b5154] */ 20922 RECOMP_FLAGS_IN(); 20923 /* test LO8(eax), LO8(eax) */ /* 0x2B070719: test al, al */ 20924 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 20925 _cf = 0; 20926 _flag_k = FK_NARROW(FK_TEST, 24); 20927 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070751; /* 0x2B07071B: je 0x2b070751 */ 20928 L_2B07071D: 20929 eax = MEM32(ebp + 0xC); /* 0x2B07071D: mov eax, dword ptr [ebp + 0xc] */ 20930 esi = MEM32(eax + 0x8); /* 0x2B070720: mov esi, dword ptr [eax + 8] */ 20931 edx = MEM32(eax + 0x4); /* 0x2B070723: mov edx, dword ptr [eax + 4] */ 20932 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 20933 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20934 edx = edx + esi; /* 0x2B070726: add edx, esi */ 20935 _flag_k = FK_ADD; 20936 ecx = edi; /* 0x2B070728: mov ecx, edi */ 20937 edi = edx; /* 0x2B07072A: mov edi, edx */ 20938 edx = ecx; /* 0x2B07072C: mov edx, ecx */ 20939 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07072E: shr ecx, 2 */ 20940 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 20941 ecx = ecx >> 2u; /* 0x2B07072E: shr ecx, 2 */ 20942 esi = 0x2B0E1C00u; /* 0x2B070731: mov esi, 0x2b0e1c00 */ 20943 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070736: 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; } 20944 ecx = edx; /* 0x2B070738: mov ecx, edx */ 20945 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 20946 ecx = ecx & 3; /* 0x2B07073A: and ecx, 3 */ 20947 _cf = 0; 20948 _flag_k = FK_TEST; 20949 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07073D: 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; } 20950 ecx = MEM32(ebp + (-0x18)); /* 0x2B07073F: mov ecx, dword ptr [ebp - 0x18] */ 20951 PUSH32(esp, ecx); /* 0x2B070742: push ecx */ 20952 ecx = eax; /* 0x2B070743: mov ecx, eax */ 20953 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B070745: call dword ptr [0x2b0b5150] */ 20954 RECOMP_FLAGS_IN(); 20955 esi = MEM32(0x2B0B5A74); /* 0x2B07074B: mov esi, dword ptr [0x2b0b5a74] */ 20956 L_2B070751: 20957 ecx = MEM32(ebx + 0x28); /* 0x2B070751: mov ecx, dword ptr [ebx + 0x28] */ 20958 PUSH32(esp, 0x14u); /* 0x2B070754: push 0x14 */ 20959 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070756: push -1 */ 20960 RECOMP_ICALL(esi); /* 0x2B070758: call esi */ 20961 RECOMP_FLAGS_IN(); 20962 edx = MEM32(0x2B0B515C); /* 0x2B07075A: mov edx, dword ptr [0x2b0b515c] */ 20963 eax = MEM32(edx); /* 0x2B070760: mov eax, dword ptr [edx] */ 20964 edx = MEM32(ebp + (-0x14)); /* 0x2B070762: mov edx, dword ptr [ebp - 0x14] */ 20965 ecx = MEM32(ebx + 0x28); /* 0x2B070765: mov ecx, dword ptr [ebx + 0x28] */ 20966 PUSH32(esp, eax); /* 0x2B070768: push eax */ 20967 PUSH32(esp, 0); /* 0x2B070769: push 0 */ 20968 PUSH32(esp, edx); /* 0x2B07076B: push edx */ 20969 RECOMP_ICALL(MEM32(0x2B0B51A0)); /* 0x2B07076C: call dword ptr [0x2b0b51a0] */ 20970 RECOMP_FLAGS_IN(); 20971 edi = MEM32(ebp + 0x8); /* 0x2B070772: mov edi, dword ptr [ebp + 8] */ 20972 L_2B070775: 20973 PUSH32(esp, edi); /* 0x2B070775: push edi */ 20974 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B070776: call dword ptr [0x2b0b5d6c] */ 20975 RECOMP_FLAGS_IN(); 20976 ecx = eax; /* 0x2B07077C: mov ecx, eax */ 20977 RECOMP_ICALL(MEM32(0x2B0B5D78)); /* 0x2B07077E: call dword ptr [0x2b0b5d78] */ 20978 RECOMP_FLAGS_IN(); 20979 /* test eax, eax */ /* 0x2B070784: test eax, eax */ 20980 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 20981 _cf = 0; 20982 _flag_k = FK_TEST; 20983 MEM32(ebp + (-0x14)) = eax; /* 0x2B070786: mov dword ptr [ebp - 0x14], eax */ 20984 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0709AC; /* 0x2B070789: je 0x2b0709ac */ 20985 L_2B07078F: 20986 /* cmp MEM8(eax), 0 */ /* 0x2B07078F: cmp byte ptr [eax], 0 */ 20987 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0) << 24; 20988 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20989 _flag_k = FK_NARROW(FK_CMP, 24); 20990 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0709AC; /* 0x2B070792: je 0x2b0709ac */ 20991 L_2B070798: 20992 ecx = MEM32(ebx + 0x28); /* 0x2B070798: mov ecx, dword ptr [ebx + 0x28] */ 20993 PUSH32(esp, 0x13u); /* 0x2B07079B: push 0x13 */ 20994 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07079D: push -1 */ 20995 RECOMP_ICALL(esi); /* 0x2B07079F: call esi */ 20996 RECOMP_FLAGS_IN(); 20997 edx = MEM32(ebx + 0x28); /* 0x2B0707A1: mov edx, dword ptr [ebx + 0x28] */ 20998 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 20999 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0707A4: or ecx, 0xffffffff */ 21000 _cf = 0; 21001 _flag_k = FK_TEST; 21002 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21003 eax = 0; /* 0x2B0707A7: xor eax, eax */ 21004 _cf = 0; 21005 _flag_k = FK_TEST; 21006 edi = 0x2B0E2BF8u; /* 0x2B0707A9: mov edi, 0x2b0e2bf8 */ 21007 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; } /* 0x2B0707AE: repne scasb al, byte ptr es:[edi] */ 21008 eax = MEM32(0x2B0B515C); /* 0x2B0707B0: mov eax, dword ptr [0x2b0b515c] */ 21009 ecx = ~ecx; /* 0x2B0707B5: not ecx */ 21010 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 21011 ecx = ecx - 1; /* 0x2B0707B7: dec ecx */ 21012 _flag_k = FK_DEC; 21013 edi = ecx; /* 0x2B0707B8: mov edi, ecx */ 21014 ecx = MEM32(eax); /* 0x2B0707BA: mov ecx, dword ptr [eax] */ 21015 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 21016 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21017 ecx = ecx - MEM32(edx + 0x8); /* 0x2B0707BC: sub ecx, dword ptr [edx + 8] */ 21018 _flag_k = FK_CMP; 21019 /* cmp ecx, edi */ /* 0x2B0707BF: cmp ecx, edi */ 21020 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 21021 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21022 _flag_k = FK_CMP; 21023 MEM32(ebp + 0xC) = edx; /* 0x2B0707C1: mov dword ptr [ebp + 0xc], edx */ 21024 if (CMP_A(_flag_a, _flag_b)) goto L_2B0707CC; /* 0x2B0707C4: ja 0x2b0707cc */ 21025 L_2B0707C6: 21026 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0707C6: call dword ptr [0x2b0b51a8] */ 21027 RECOMP_FLAGS_IN(); 21028 L_2B0707CC: 21029 /* test edi, edi */ /* 0x2B0707CC: test edi, edi */ 21030 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 21031 _cf = 0; 21032 _flag_k = FK_TEST; 21033 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07081E; /* 0x2B0707CE: jbe 0x2b07081e */ 21034 L_2B0707D0: 21035 ecx = MEM32(ebp + 0xC); /* 0x2B0707D0: mov ecx, dword ptr [ebp + 0xc] */ 21036 edx = MEM32(ecx + 0x8); /* 0x2B0707D3: mov edx, dword ptr [ecx + 8] */ 21037 eax = edi; /* 0x2B0707D6: mov eax, edi */ 21038 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 21039 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21040 eax = eax + edx; /* 0x2B0707D8: add eax, edx */ 21041 _flag_k = FK_ADD; 21042 PUSH32(esp, 0); /* 0x2B0707DA: push 0 */ 21043 PUSH32(esp, eax); /* 0x2B0707DC: push eax */ 21044 MEM32(ebp + (-0x18)) = eax; /* 0x2B0707DD: mov dword ptr [ebp - 0x18], eax */ 21045 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0707E0: call dword ptr [0x2b0b5154] */ 21046 RECOMP_FLAGS_IN(); 21047 /* test LO8(eax), LO8(eax) */ /* 0x2B0707E6: test al, al */ 21048 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 21049 _cf = 0; 21050 _flag_k = FK_NARROW(FK_TEST, 24); 21051 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07081E; /* 0x2B0707E8: je 0x2b07081e */ 21052 L_2B0707EA: 21053 eax = MEM32(ebp + 0xC); /* 0x2B0707EA: mov eax, dword ptr [ebp + 0xc] */ 21054 esi = MEM32(eax + 0x8); /* 0x2B0707ED: mov esi, dword ptr [eax + 8] */ 21055 edx = MEM32(eax + 0x4); /* 0x2B0707F0: mov edx, dword ptr [eax + 4] */ 21056 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 21057 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21058 edx = edx + esi; /* 0x2B0707F3: add edx, esi */ 21059 _flag_k = FK_ADD; 21060 ecx = edi; /* 0x2B0707F5: mov ecx, edi */ 21061 edi = edx; /* 0x2B0707F7: mov edi, edx */ 21062 edx = ecx; /* 0x2B0707F9: mov edx, ecx */ 21063 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0707FB: shr ecx, 2 */ 21064 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 21065 ecx = ecx >> 2u; /* 0x2B0707FB: shr ecx, 2 */ 21066 esi = 0x2B0E2BF8u; /* 0x2B0707FE: mov esi, 0x2b0e2bf8 */ 21067 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070803: 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; } 21068 ecx = edx; /* 0x2B070805: mov ecx, edx */ 21069 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 21070 ecx = ecx & 3; /* 0x2B070807: and ecx, 3 */ 21071 _cf = 0; 21072 _flag_k = FK_TEST; 21073 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07080A: 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; } 21074 ecx = MEM32(ebp + (-0x18)); /* 0x2B07080C: mov ecx, dword ptr [ebp - 0x18] */ 21075 PUSH32(esp, ecx); /* 0x2B07080F: push ecx */ 21076 ecx = eax; /* 0x2B070810: mov ecx, eax */ 21077 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B070812: call dword ptr [0x2b0b5150] */ 21078 RECOMP_FLAGS_IN(); 21079 esi = MEM32(0x2B0B5A74); /* 0x2B070818: mov esi, dword ptr [0x2b0b5a74] */ 21080 L_2B07081E: 21081 edx = MEM32(ebx + 0x28); /* 0x2B07081E: mov edx, dword ptr [ebx + 0x28] */ 21082 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 21083 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070821: or ecx, 0xffffffff */ 21084 _cf = 0; 21085 _flag_k = FK_TEST; 21086 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21087 eax = 0; /* 0x2B070824: xor eax, eax */ 21088 _cf = 0; 21089 _flag_k = FK_TEST; 21090 edi = 0x2B0EEE84u; /* 0x2B070826: mov edi, 0x2b0eee84 */ 21091 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; } /* 0x2B07082B: repne scasb al, byte ptr es:[edi] */ 21092 eax = MEM32(0x2B0B515C); /* 0x2B07082D: mov eax, dword ptr [0x2b0b515c] */ 21093 ecx = ~ecx; /* 0x2B070832: not ecx */ 21094 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 21095 ecx = ecx - 1; /* 0x2B070834: dec ecx */ 21096 _flag_k = FK_DEC; 21097 edi = ecx; /* 0x2B070835: mov edi, ecx */ 21098 ecx = MEM32(eax); /* 0x2B070837: mov ecx, dword ptr [eax] */ 21099 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 21100 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21101 ecx = ecx - MEM32(edx + 0x8); /* 0x2B070839: sub ecx, dword ptr [edx + 8] */ 21102 _flag_k = FK_CMP; 21103 /* cmp ecx, edi */ /* 0x2B07083C: cmp ecx, edi */ 21104 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 21105 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21106 _flag_k = FK_CMP; 21107 MEM32(ebp + 0xC) = edx; /* 0x2B07083E: mov dword ptr [ebp + 0xc], edx */ 21108 if (CMP_A(_flag_a, _flag_b)) goto L_2B070849; /* 0x2B070841: ja 0x2b070849 */ 21109 L_2B070843: 21110 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070843: call dword ptr [0x2b0b51a8] */ 21111 RECOMP_FLAGS_IN(); 21112 L_2B070849: 21113 /* test edi, edi */ /* 0x2B070849: test edi, edi */ 21114 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 21115 _cf = 0; 21116 _flag_k = FK_TEST; 21117 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07089B; /* 0x2B07084B: jbe 0x2b07089b */ 21118 L_2B07084D: 21119 ecx = MEM32(ebp + 0xC); /* 0x2B07084D: mov ecx, dword ptr [ebp + 0xc] */ 21120 edx = MEM32(ecx + 0x8); /* 0x2B070850: mov edx, dword ptr [ecx + 8] */ 21121 eax = edi; /* 0x2B070853: mov eax, edi */ 21122 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 21123 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21124 eax = eax + edx; /* 0x2B070855: add eax, edx */ 21125 _flag_k = FK_ADD; 21126 PUSH32(esp, 0); /* 0x2B070857: push 0 */ 21127 PUSH32(esp, eax); /* 0x2B070859: push eax */ 21128 MEM32(ebp + (-0x18)) = eax; /* 0x2B07085A: mov dword ptr [ebp - 0x18], eax */ 21129 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07085D: call dword ptr [0x2b0b5154] */ 21130 RECOMP_FLAGS_IN(); 21131 /* test LO8(eax), LO8(eax) */ /* 0x2B070863: test al, al */ 21132 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 21133 _cf = 0; 21134 _flag_k = FK_NARROW(FK_TEST, 24); 21135 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07089B; /* 0x2B070865: je 0x2b07089b */ 21136 L_2B070867: 21137 eax = MEM32(ebp + 0xC); /* 0x2B070867: mov eax, dword ptr [ebp + 0xc] */ 21138 esi = MEM32(eax + 0x8); /* 0x2B07086A: mov esi, dword ptr [eax + 8] */ 21139 edx = MEM32(eax + 0x4); /* 0x2B07086D: mov edx, dword ptr [eax + 4] */ 21140 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 21141 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21142 edx = edx + esi; /* 0x2B070870: add edx, esi */ 21143 _flag_k = FK_ADD; 21144 ecx = edi; /* 0x2B070872: mov ecx, edi */ 21145 edi = edx; /* 0x2B070874: mov edi, edx */ 21146 edx = ecx; /* 0x2B070876: mov edx, ecx */ 21147 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070878: shr ecx, 2 */ 21148 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 21149 ecx = ecx >> 2u; /* 0x2B070878: shr ecx, 2 */ 21150 esi = 0x2B0EEE84u; /* 0x2B07087B: mov esi, 0x2b0eee84 */ 21151 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070880: 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; } 21152 ecx = edx; /* 0x2B070882: mov ecx, edx */ 21153 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 21154 ecx = ecx & 3; /* 0x2B070884: and ecx, 3 */ 21155 _cf = 0; 21156 _flag_k = FK_TEST; 21157 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070887: 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; } 21158 ecx = MEM32(ebp + (-0x18)); /* 0x2B070889: mov ecx, dword ptr [ebp - 0x18] */ 21159 PUSH32(esp, ecx); /* 0x2B07088C: push ecx */ 21160 ecx = eax; /* 0x2B07088D: mov ecx, eax */ 21161 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07088F: call dword ptr [0x2b0b5150] */ 21162 RECOMP_FLAGS_IN(); 21163 esi = MEM32(0x2B0B5A74); /* 0x2B070895: mov esi, dword ptr [0x2b0b5a74] */ 21164 L_2B07089B: 21165 edx = MEM32(ebx + 0x28); /* 0x2B07089B: mov edx, dword ptr [ebx + 0x28] */ 21166 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 21167 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07089E: or ecx, 0xffffffff */ 21168 _cf = 0; 21169 _flag_k = FK_TEST; 21170 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21171 eax = 0; /* 0x2B0708A1: xor eax, eax */ 21172 _cf = 0; 21173 _flag_k = FK_TEST; 21174 edi = 0x2B0EB7F8u; /* 0x2B0708A3: mov edi, 0x2b0eb7f8 */ 21175 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; } /* 0x2B0708A8: repne scasb al, byte ptr es:[edi] */ 21176 eax = MEM32(0x2B0B515C); /* 0x2B0708AA: mov eax, dword ptr [0x2b0b515c] */ 21177 ecx = ~ecx; /* 0x2B0708AF: not ecx */ 21178 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 21179 ecx = ecx - 1; /* 0x2B0708B1: dec ecx */ 21180 _flag_k = FK_DEC; 21181 edi = ecx; /* 0x2B0708B2: mov edi, ecx */ 21182 ecx = MEM32(eax); /* 0x2B0708B4: mov ecx, dword ptr [eax] */ 21183 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 21184 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21185 ecx = ecx - MEM32(edx + 0x8); /* 0x2B0708B6: sub ecx, dword ptr [edx + 8] */ 21186 _flag_k = FK_CMP; 21187 /* cmp ecx, edi */ /* 0x2B0708B9: cmp ecx, edi */ 21188 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 21189 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21190 _flag_k = FK_CMP; 21191 MEM32(ebp + 0xC) = edx; /* 0x2B0708BB: mov dword ptr [ebp + 0xc], edx */ 21192 if (CMP_A(_flag_a, _flag_b)) goto L_2B0708C6; /* 0x2B0708BE: ja 0x2b0708c6 */ 21193 L_2B0708C0: 21194 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0708C0: call dword ptr [0x2b0b51a8] */ 21195 RECOMP_FLAGS_IN(); 21196 L_2B0708C6: 21197 /* test edi, edi */ /* 0x2B0708C6: test edi, edi */ 21198 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 21199 _cf = 0; 21200 _flag_k = FK_TEST; 21201 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070918; /* 0x2B0708C8: jbe 0x2b070918 */ 21202 L_2B0708CA: 21203 ecx = MEM32(ebp + 0xC); /* 0x2B0708CA: mov ecx, dword ptr [ebp + 0xc] */ 21204 edx = MEM32(ecx + 0x8); /* 0x2B0708CD: mov edx, dword ptr [ecx + 8] */ 21205 eax = edi; /* 0x2B0708D0: mov eax, edi */ 21206 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 21207 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21208 eax = eax + edx; /* 0x2B0708D2: add eax, edx */ 21209 _flag_k = FK_ADD; 21210 PUSH32(esp, 0); /* 0x2B0708D4: push 0 */ 21211 PUSH32(esp, eax); /* 0x2B0708D6: push eax */ 21212 MEM32(ebp + (-0x18)) = eax; /* 0x2B0708D7: mov dword ptr [ebp - 0x18], eax */ 21213 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0708DA: call dword ptr [0x2b0b5154] */ 21214 RECOMP_FLAGS_IN(); 21215 /* test LO8(eax), LO8(eax) */ /* 0x2B0708E0: test al, al */ 21216 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 21217 _cf = 0; 21218 _flag_k = FK_NARROW(FK_TEST, 24); 21219 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070918; /* 0x2B0708E2: je 0x2b070918 */ 21220 L_2B0708E4: 21221 eax = MEM32(ebp + 0xC); /* 0x2B0708E4: mov eax, dword ptr [ebp + 0xc] */ 21222 esi = MEM32(eax + 0x8); /* 0x2B0708E7: mov esi, dword ptr [eax + 8] */ 21223 edx = MEM32(eax + 0x4); /* 0x2B0708EA: mov edx, dword ptr [eax + 4] */ 21224 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 21225 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21226 edx = edx + esi; /* 0x2B0708ED: add edx, esi */ 21227 _flag_k = FK_ADD; 21228 ecx = edi; /* 0x2B0708EF: mov ecx, edi */ 21229 edi = edx; /* 0x2B0708F1: mov edi, edx */ 21230 edx = ecx; /* 0x2B0708F3: mov edx, ecx */ 21231 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0708F5: shr ecx, 2 */ 21232 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 21233 ecx = ecx >> 2u; /* 0x2B0708F5: shr ecx, 2 */ 21234 esi = 0x2B0EB7F8u; /* 0x2B0708F8: mov esi, 0x2b0eb7f8 */ 21235 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0708FD: 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; } 21236 ecx = edx; /* 0x2B0708FF: mov ecx, edx */ 21237 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 21238 ecx = ecx & 3; /* 0x2B070901: and ecx, 3 */ 21239 _cf = 0; 21240 _flag_k = FK_TEST; 21241 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070904: 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; } 21242 ecx = MEM32(ebp + (-0x18)); /* 0x2B070906: mov ecx, dword ptr [ebp - 0x18] */ 21243 PUSH32(esp, ecx); /* 0x2B070909: push ecx */ 21244 ecx = eax; /* 0x2B07090A: mov ecx, eax */ 21245 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07090C: call dword ptr [0x2b0b5150] */ 21246 RECOMP_FLAGS_IN(); 21247 esi = MEM32(0x2B0B5A74); /* 0x2B070912: mov esi, dword ptr [0x2b0b5a74] */ 21248 L_2B070918: 21249 ecx = MEM32(ebx + 0x28); /* 0x2B070918: mov ecx, dword ptr [ebx + 0x28] */ 21250 PUSH32(esp, 0x14u); /* 0x2B07091B: push 0x14 */ 21251 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07091D: push -1 */ 21252 RECOMP_ICALL(esi); /* 0x2B07091F: call esi */ 21253 RECOMP_FLAGS_IN(); 21254 edi = MEM32(ebp + (-0x14)); /* 0x2B070921: mov edi, dword ptr [ebp - 0x14] */ 21255 edx = MEM32(ebx + 0x28); /* 0x2B070924: mov edx, dword ptr [ebx + 0x28] */ 21256 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 21257 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070927: or ecx, 0xffffffff */ 21258 _cf = 0; 21259 _flag_k = FK_TEST; 21260 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21261 eax = 0; /* 0x2B07092A: xor eax, eax */ 21262 _cf = 0; 21263 _flag_k = FK_TEST; 21264 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; } /* 0x2B07092C: repne scasb al, byte ptr es:[edi] */ 21265 eax = MEM32(0x2B0B515C); /* 0x2B07092E: mov eax, dword ptr [0x2b0b515c] */ 21266 ecx = ~ecx; /* 0x2B070933: not ecx */ 21267 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 21268 ecx = ecx - 1; /* 0x2B070935: dec ecx */ 21269 _flag_k = FK_DEC; 21270 edi = ecx; /* 0x2B070936: mov edi, ecx */ 21271 ecx = MEM32(eax); /* 0x2B070938: mov ecx, dword ptr [eax] */ 21272 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 21273 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21274 ecx = ecx - MEM32(edx + 0x8); /* 0x2B07093A: sub ecx, dword ptr [edx + 8] */ 21275 _flag_k = FK_CMP; 21276 /* cmp ecx, edi */ /* 0x2B07093D: cmp ecx, edi */ 21277 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 21278 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21279 _flag_k = FK_CMP; 21280 MEM32(ebp + 0xC) = edx; /* 0x2B07093F: mov dword ptr [ebp + 0xc], edx */ 21281 if (CMP_A(_flag_a, _flag_b)) goto L_2B07094A; /* 0x2B070942: ja 0x2b07094a */ 21282 L_2B070944: 21283 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070944: call dword ptr [0x2b0b51a8] */ 21284 RECOMP_FLAGS_IN(); 21285 L_2B07094A: 21286 /* test edi, edi */ /* 0x2B07094A: test edi, edi */ 21287 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 21288 _cf = 0; 21289 _flag_k = FK_TEST; 21290 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07099A; /* 0x2B07094C: jbe 0x2b07099a */ 21291 L_2B07094E: 21292 ecx = MEM32(ebp + 0xC); /* 0x2B07094E: mov ecx, dword ptr [ebp + 0xc] */ 21293 edx = MEM32(ecx + 0x8); /* 0x2B070951: mov edx, dword ptr [ecx + 8] */ 21294 eax = edi; /* 0x2B070954: mov eax, edi */ 21295 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 21296 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21297 eax = eax + edx; /* 0x2B070956: add eax, edx */ 21298 _flag_k = FK_ADD; 21299 PUSH32(esp, 0); /* 0x2B070958: push 0 */ 21300 PUSH32(esp, eax); /* 0x2B07095A: push eax */ 21301 MEM32(ebp + (-0x18)) = eax; /* 0x2B07095B: mov dword ptr [ebp - 0x18], eax */ 21302 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07095E: call dword ptr [0x2b0b5154] */ 21303 RECOMP_FLAGS_IN(); 21304 /* test LO8(eax), LO8(eax) */ /* 0x2B070964: test al, al */ 21305 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 21306 _cf = 0; 21307 _flag_k = FK_NARROW(FK_TEST, 24); 21308 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07099A; /* 0x2B070966: je 0x2b07099a */ 21309 L_2B070968: 21310 eax = MEM32(ebp + 0xC); /* 0x2B070968: mov eax, dword ptr [ebp + 0xc] */ 21311 esi = MEM32(eax + 0x8); /* 0x2B07096B: mov esi, dword ptr [eax + 8] */ 21312 edx = MEM32(eax + 0x4); /* 0x2B07096E: mov edx, dword ptr [eax + 4] */ 21313 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 21314 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21315 edx = edx + esi; /* 0x2B070971: add edx, esi */ 21316 _flag_k = FK_ADD; 21317 esi = MEM32(ebp + (-0x14)); /* 0x2B070973: mov esi, dword ptr [ebp - 0x14] */ 21318 ecx = edi; /* 0x2B070976: mov ecx, edi */ 21319 edi = edx; /* 0x2B070978: mov edi, edx */ 21320 edx = ecx; /* 0x2B07097A: mov edx, ecx */ 21321 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07097C: shr ecx, 2 */ 21322 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 21323 ecx = ecx >> 2u; /* 0x2B07097C: shr ecx, 2 */ 21324 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07097F: 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; } 21325 ecx = edx; /* 0x2B070981: mov ecx, edx */ 21326 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 21327 ecx = ecx & 3; /* 0x2B070983: and ecx, 3 */ 21328 _cf = 0; 21329 _flag_k = FK_TEST; 21330 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070986: 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; } 21331 ecx = MEM32(ebp + (-0x18)); /* 0x2B070988: mov ecx, dword ptr [ebp - 0x18] */ 21332 PUSH32(esp, ecx); /* 0x2B07098B: push ecx */ 21333 ecx = eax; /* 0x2B07098C: mov ecx, eax */ 21334 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07098E: call dword ptr [0x2b0b5150] */ 21335 RECOMP_FLAGS_IN(); 21336 esi = MEM32(0x2B0B5A74); /* 0x2B070994: mov esi, dword ptr [0x2b0b5a74] */ 21337 L_2B07099A: 21338 edx = MEM32(ebx + 0x28); /* 0x2B07099A: mov edx, dword ptr [ebx + 0x28] */ 21339 eax = MEM32(ebp + 0x8); /* 0x2B07099D: mov eax, dword ptr [ebp + 8] */ 21340 PUSH32(esp, edx); /* 0x2B0709A0: push edx */ 21341 PUSH32(esp, eax); /* 0x2B0709A1: push eax */ 21342 ecx = ebx; /* 0x2B0709A2: mov ecx, ebx */ 21343 RECOMP_ICALL(0x2B074500u); /* 0x2B0709A4: call 0x2b074500 */ /* not lifted */ 21344 RECOMP_FLAGS_IN(); 21345 edi = MEM32(ebp + 0x8); /* 0x2B0709A9: mov edi, dword ptr [ebp + 8] */ 21346 L_2B0709AC: 21347 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B0709AC: call dword ptr [0x2b0b5b64] */ 21348 RECOMP_FLAGS_IN(); 21349 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 21350 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21351 eax = eax + 0xD4u; /* 0x2B0709B2: add eax, 0xd4 */ 21352 _flag_k = FK_ADD; 21353 ecx = ebp + (-0x20); /* 0x2B0709B7: lea ecx, [ebp - 0x20] */ 21354 /* cmp ecx, eax */ /* 0x2B0709BA: cmp ecx, eax */ 21355 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 21356 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21357 _flag_k = FK_CMP; 21358 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0709C5; /* 0x2B0709BC: je 0x2b0709c5 */ 21359 L_2B0709BE: 21360 ecx = MEM32(eax); /* 0x2B0709BE: mov ecx, dword ptr [eax] */ 21361 eax = MEM32(eax + 0x4); /* 0x2B0709C0: mov eax, dword ptr [eax + 4] */ 21362 goto L_2B0709CB; /* 0x2B0709C3: jmp 0x2b0709cb */ 21363 L_2B0709C5: 21364 eax = MEM32(ebp + (-0x1C)); /* 0x2B0709C5: mov eax, dword ptr [ebp - 0x1c] */ 21365 ecx = MEM32(ebp + (-0x20)); /* 0x2B0709C8: mov ecx, dword ptr [ebp - 0x20] */ 21366 L_2B0709CB: 21367 /* cmp MEM32(edi + 0x4), eax */ /* 0x2B0709CB: cmp dword ptr [edi + 4], eax */ 21368 _flag_a = (uint32_t)(MEM32(edi + 0x4)); _flag_b = (uint32_t)(eax); 21369 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21370 _flag_k = FK_CMP; 21371 if (CMP_NE(_flag_a, _flag_b)) goto L_2B070ACB; /* 0x2B0709CE: jne 0x2b070acb */ 21372 L_2B0709D4: 21373 /* cmp MEM32(edi), ecx */ /* 0x2B0709D4: cmp dword ptr [edi], ecx */ 21374 _flag_a = (uint32_t)(MEM32(edi)); _flag_b = (uint32_t)(ecx); 21375 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21376 _flag_k = FK_CMP; 21377 if (CMP_NE(_flag_a, _flag_b)) goto L_2B070ACB; /* 0x2B0709D6: jne 0x2b070acb */ 21378 L_2B0709DC: 21379 SET_LO8(edx, MEM8(ebp + 0xF)); /* 0x2B0709DC: mov dl, byte ptr [ebp + 0xf] */ 21380 PUSH32(esp, 0); /* 0x2B0709DF: push 0 */ 21381 ecx = ebp + (-0x30); /* 0x2B0709E1: lea ecx, [ebp - 0x30] */ 21382 MEM8(ebp + (-0x30)) = (uint8_t)(LO8(edx)); /* 0x2B0709E4: mov byte ptr [ebp - 0x30], dl */ 21383 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0709E7: call dword ptr [0x2b0b514c] */ 21384 RECOMP_FLAGS_IN(); 21385 eax = ebp + (-0x30); /* 0x2B0709ED: lea eax, [ebp - 0x30] */ 21386 PUSH32(esp, eax); /* 0x2B0709F0: push eax */ 21387 MEM32(ebp + (-0x4)) = 0; /* 0x2B0709F1: mov dword ptr [ebp - 4], 0 */ 21388 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0709F8: call dword ptr [0x2b0b5d6c] */ 21389 RECOMP_FLAGS_IN(); 21390 ecx = eax; /* 0x2B0709FE: mov ecx, eax */ 21391 RECOMP_ICALL(MEM32(0x2B0B5D7C)); /* 0x2B070A00: call dword ptr [0x2b0b5d7c] */ 21392 RECOMP_FLAGS_IN(); 21393 /* test LO8(eax), LO8(eax) */ /* 0x2B070A06: test al, al */ 21394 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 21395 _cf = 0; 21396 _flag_k = FK_NARROW(FK_TEST, 24); 21397 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070AB9; /* 0x2B070A08: je 0x2b070ab9 */ 21398 L_2B070A0E: 21399 ecx = MEM32(ebx + 0x28); /* 0x2B070A0E: mov ecx, dword ptr [ebx + 0x28] */ 21400 PUSH32(esp, 0x13u); /* 0x2B070A11: push 0x13 */ 21401 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070A13: push -1 */ 21402 RECOMP_ICALL(esi); /* 0x2B070A15: call esi */ 21403 RECOMP_FLAGS_IN(); 21404 edx = MEM32(ebx + 0x28); /* 0x2B070A17: mov edx, dword ptr [ebx + 0x28] */ 21405 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 21406 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070A1A: or ecx, 0xffffffff */ 21407 _cf = 0; 21408 _flag_k = FK_TEST; 21409 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21410 eax = 0; /* 0x2B070A1D: xor eax, eax */ 21411 _cf = 0; 21412 _flag_k = FK_TEST; 21413 edi = 0x2B0EB7F0u; /* 0x2B070A1F: mov edi, 0x2b0eb7f0 */ 21414 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; } /* 0x2B070A24: repne scasb al, byte ptr es:[edi] */ 21415 ecx = ~ecx; /* 0x2B070A26: not ecx */ 21416 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 21417 ecx = ecx - 1; /* 0x2B070A28: dec ecx */ 21418 _flag_k = FK_DEC; 21419 edi = ecx; /* 0x2B070A29: mov edi, ecx */ 21420 ecx = MEM32(0x2B0B515C); /* 0x2B070A2B: mov ecx, dword ptr [0x2b0b515c] */ 21421 eax = MEM32(ecx); /* 0x2B070A31: mov eax, dword ptr [ecx] */ 21422 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 21423 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21424 eax = eax - MEM32(edx + 0x8); /* 0x2B070A33: sub eax, dword ptr [edx + 8] */ 21425 _flag_k = FK_CMP; 21426 /* cmp eax, edi */ /* 0x2B070A36: cmp eax, edi */ 21427 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 21428 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21429 _flag_k = FK_CMP; 21430 MEM32(ebp + 0xC) = edx; /* 0x2B070A38: mov dword ptr [ebp + 0xc], edx */ 21431 if (CMP_A(_flag_a, _flag_b)) goto L_2B070A43; /* 0x2B070A3B: ja 0x2b070a43 */ 21432 L_2B070A3D: 21433 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070A3D: call dword ptr [0x2b0b51a8] */ 21434 RECOMP_FLAGS_IN(); 21435 L_2B070A43: 21436 /* test edi, edi */ /* 0x2B070A43: test edi, edi */ 21437 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 21438 _cf = 0; 21439 _flag_k = FK_TEST; 21440 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070A95; /* 0x2B070A45: jbe 0x2b070a95 */ 21441 L_2B070A47: 21442 ecx = MEM32(ebp + 0xC); /* 0x2B070A47: mov ecx, dword ptr [ebp + 0xc] */ 21443 edx = MEM32(ecx + 0x8); /* 0x2B070A4A: mov edx, dword ptr [ecx + 8] */ 21444 eax = edi; /* 0x2B070A4D: mov eax, edi */ 21445 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 21446 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21447 eax = eax + edx; /* 0x2B070A4F: add eax, edx */ 21448 _flag_k = FK_ADD; 21449 PUSH32(esp, 0); /* 0x2B070A51: push 0 */ 21450 PUSH32(esp, eax); /* 0x2B070A53: push eax */ 21451 MEM32(ebp + (-0x18)) = eax; /* 0x2B070A54: mov dword ptr [ebp - 0x18], eax */ 21452 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070A57: call dword ptr [0x2b0b5154] */ 21453 RECOMP_FLAGS_IN(); 21454 /* test LO8(eax), LO8(eax) */ /* 0x2B070A5D: test al, al */ 21455 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 21456 _cf = 0; 21457 _flag_k = FK_NARROW(FK_TEST, 24); 21458 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070A95; /* 0x2B070A5F: je 0x2b070a95 */ 21459 L_2B070A61: 21460 eax = MEM32(ebp + 0xC); /* 0x2B070A61: mov eax, dword ptr [ebp + 0xc] */ 21461 esi = MEM32(eax + 0x8); /* 0x2B070A64: mov esi, dword ptr [eax + 8] */ 21462 edx = MEM32(eax + 0x4); /* 0x2B070A67: mov edx, dword ptr [eax + 4] */ 21463 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 21464 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21465 edx = edx + esi; /* 0x2B070A6A: add edx, esi */ 21466 _flag_k = FK_ADD; 21467 ecx = edi; /* 0x2B070A6C: mov ecx, edi */ 21468 edi = edx; /* 0x2B070A6E: mov edi, edx */ 21469 edx = ecx; /* 0x2B070A70: mov edx, ecx */ 21470 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070A72: shr ecx, 2 */ 21471 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 21472 ecx = ecx >> 2u; /* 0x2B070A72: shr ecx, 2 */ 21473 esi = 0x2B0EB7F0u; /* 0x2B070A75: mov esi, 0x2b0eb7f0 */ 21474 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070A7A: 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; } 21475 ecx = edx; /* 0x2B070A7C: mov ecx, edx */ 21476 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 21477 ecx = ecx & 3; /* 0x2B070A7E: and ecx, 3 */ 21478 _cf = 0; 21479 _flag_k = FK_TEST; 21480 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070A81: 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; } 21481 ecx = MEM32(ebp + (-0x18)); /* 0x2B070A83: mov ecx, dword ptr [ebp - 0x18] */ 21482 PUSH32(esp, ecx); /* 0x2B070A86: push ecx */ 21483 ecx = eax; /* 0x2B070A87: mov ecx, eax */ 21484 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B070A89: call dword ptr [0x2b0b5150] */ 21485 RECOMP_FLAGS_IN(); 21486 esi = MEM32(0x2B0B5A74); /* 0x2B070A8F: mov esi, dword ptr [0x2b0b5a74] */ 21487 L_2B070A95: 21488 ecx = MEM32(ebx + 0x28); /* 0x2B070A95: mov ecx, dword ptr [ebx + 0x28] */ 21489 PUSH32(esp, 0x14u); /* 0x2B070A98: push 0x14 */ 21490 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070A9A: push -1 */ 21491 RECOMP_ICALL(esi); /* 0x2B070A9C: call esi */ 21492 RECOMP_FLAGS_IN(); 21493 edx = MEM32(0x2B0B515C); /* 0x2B070A9E: mov edx, dword ptr [0x2b0b515c] */ 21494 eax = MEM32(edx); /* 0x2B070AA4: mov eax, dword ptr [edx] */ 21495 ecx = MEM32(ebx + 0x28); /* 0x2B070AA6: mov ecx, dword ptr [ebx + 0x28] */ 21496 PUSH32(esp, eax); /* 0x2B070AA9: push eax */ 21497 PUSH32(esp, 0); /* 0x2B070AAA: push 0 */ 21498 edx = ebp + (-0x30); /* 0x2B070AAC: lea edx, [ebp - 0x30] */ 21499 PUSH32(esp, edx); /* 0x2B070AAF: push edx */ 21500 RECOMP_ICALL(MEM32(0x2B0B51A0)); /* 0x2B070AB0: call dword ptr [0x2b0b51a0] */ 21501 RECOMP_FLAGS_IN(); 21502 edi = MEM32(ebp + 0x8); /* 0x2B070AB6: mov edi, dword ptr [ebp + 8] */ 21503 L_2B070AB9: 21504 PUSH32(esp, 1); /* 0x2B070AB9: push 1 */ 21505 ecx = ebp + (-0x30); /* 0x2B070ABB: lea ecx, [ebp - 0x30] */ 21506 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B070ABE: mov dword ptr [ebp - 4], 0xffffffff */ 21507 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B070AC5: call dword ptr [0x2b0b514c] */ 21508 RECOMP_FLAGS_IN(); 21509 L_2B070ACB: 21510 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B070ACB: call dword ptr [0x2b0b5b64] */ 21511 RECOMP_FLAGS_IN(); 21512 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 21513 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21514 eax = eax + 0xD4u; /* 0x2B070AD1: add eax, 0xd4 */ 21515 _flag_k = FK_ADD; 21516 ecx = ebp + (-0x20); /* 0x2B070AD6: lea ecx, [ebp - 0x20] */ 21517 /* cmp ecx, eax */ /* 0x2B070AD9: cmp ecx, eax */ 21518 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 21519 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21520 _flag_k = FK_CMP; 21521 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B070AE4; /* 0x2B070ADB: je 0x2b070ae4 */ 21522 L_2B070ADD: 21523 ecx = MEM32(eax); /* 0x2B070ADD: mov ecx, dword ptr [eax] */ 21524 eax = MEM32(eax + 0x4); /* 0x2B070ADF: mov eax, dword ptr [eax + 4] */ 21525 goto L_2B070AEA; /* 0x2B070AE2: jmp 0x2b070aea */ 21526 L_2B070AE4: 21527 eax = MEM32(ebp + (-0x1C)); /* 0x2B070AE4: mov eax, dword ptr [ebp - 0x1c] */ 21528 ecx = MEM32(ebp + (-0x20)); /* 0x2B070AE7: mov ecx, dword ptr [ebp - 0x20] */ 21529 L_2B070AEA: 21530 /* cmp MEM32(edi + 0x4), eax */ /* 0x2B070AEA: cmp dword ptr [edi + 4], eax */ 21531 _flag_a = (uint32_t)(MEM32(edi + 0x4)); _flag_b = (uint32_t)(eax); 21532 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21533 _flag_k = FK_CMP; 21534 if (CMP_NE(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070AED: jne 0x2b070e97 */ 21535 L_2B070AF3: 21536 edx = MEM32(ebp + 0x8); /* 0x2B070AF3: mov edx, dword ptr [ebp + 8] */ 21537 /* cmp MEM32(edx), ecx */ /* 0x2B070AF6: cmp dword ptr [edx], ecx */ 21538 _flag_a = (uint32_t)(MEM32(edx)); _flag_b = (uint32_t)(ecx); 21539 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21540 _flag_k = FK_CMP; 21541 if (CMP_NE(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070AF8: jne 0x2b070e97 */ 21542 L_2B070AFE: 21543 ecx = MEM32(ebx + 0x28); /* 0x2B070AFE: mov ecx, dword ptr [ebx + 0x28] */ 21544 PUSH32(esp, 0x13u); /* 0x2B070B01: push 0x13 */ 21545 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070B03: push -1 */ 21546 RECOMP_ICALL(esi); /* 0x2B070B05: call esi */ 21547 RECOMP_FLAGS_IN(); 21548 edx = MEM32(ebx + 0x28); /* 0x2B070B07: mov edx, dword ptr [ebx + 0x28] */ 21549 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 21550 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070B0A: or ecx, 0xffffffff */ 21551 _cf = 0; 21552 _flag_k = FK_TEST; 21553 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21554 eax = 0; /* 0x2B070B0D: xor eax, eax */ 21555 _cf = 0; 21556 _flag_k = FK_TEST; 21557 edi = 0x2B0EB7D8u; /* 0x2B070B0F: mov edi, 0x2b0eb7d8 */ 21558 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; } /* 0x2B070B14: repne scasb al, byte ptr es:[edi] */ 21559 eax = MEM32(0x2B0B515C); /* 0x2B070B16: mov eax, dword ptr [0x2b0b515c] */ 21560 ecx = ~ecx; /* 0x2B070B1B: not ecx */ 21561 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 21562 ecx = ecx - 1; /* 0x2B070B1D: dec ecx */ 21563 _flag_k = FK_DEC; 21564 edi = ecx; /* 0x2B070B1E: mov edi, ecx */ 21565 ecx = MEM32(eax); /* 0x2B070B20: mov ecx, dword ptr [eax] */ 21566 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 21567 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21568 ecx = ecx - MEM32(edx + 0x8); /* 0x2B070B22: sub ecx, dword ptr [edx + 8] */ 21569 _flag_k = FK_CMP; 21570 /* cmp ecx, edi */ /* 0x2B070B25: cmp ecx, edi */ 21571 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 21572 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21573 _flag_k = FK_CMP; 21574 MEM32(ebp + 0xC) = edx; /* 0x2B070B27: mov dword ptr [ebp + 0xc], edx */ 21575 if (CMP_A(_flag_a, _flag_b)) goto L_2B070B32; /* 0x2B070B2A: ja 0x2b070b32 */ 21576 L_2B070B2C: 21577 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070B2C: call dword ptr [0x2b0b51a8] */ 21578 RECOMP_FLAGS_IN(); 21579 L_2B070B32: 21580 /* test edi, edi */ /* 0x2B070B32: test edi, edi */ 21581 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 21582 _cf = 0; 21583 _flag_k = FK_TEST; 21584 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070B84; /* 0x2B070B34: jbe 0x2b070b84 */ 21585 L_2B070B36: 21586 ecx = MEM32(ebp + 0xC); /* 0x2B070B36: mov ecx, dword ptr [ebp + 0xc] */ 21587 edx = MEM32(ecx + 0x8); /* 0x2B070B39: mov edx, dword ptr [ecx + 8] */ 21588 eax = edi; /* 0x2B070B3C: mov eax, edi */ 21589 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 21590 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21591 eax = eax + edx; /* 0x2B070B3E: add eax, edx */ 21592 _flag_k = FK_ADD; 21593 PUSH32(esp, 0); /* 0x2B070B40: push 0 */ 21594 PUSH32(esp, eax); /* 0x2B070B42: push eax */ 21595 MEM32(ebp + (-0x18)) = eax; /* 0x2B070B43: mov dword ptr [ebp - 0x18], eax */ 21596 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070B46: call dword ptr [0x2b0b5154] */ 21597 RECOMP_FLAGS_IN(); 21598 /* test LO8(eax), LO8(eax) */ /* 0x2B070B4C: test al, al */ 21599 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 21600 _cf = 0; 21601 _flag_k = FK_NARROW(FK_TEST, 24); 21602 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070B84; /* 0x2B070B4E: je 0x2b070b84 */ 21603 L_2B070B50: 21604 eax = MEM32(ebp + 0xC); /* 0x2B070B50: mov eax, dword ptr [ebp + 0xc] */ 21605 esi = MEM32(eax + 0x8); /* 0x2B070B53: mov esi, dword ptr [eax + 8] */ 21606 edx = MEM32(eax + 0x4); /* 0x2B070B56: mov edx, dword ptr [eax + 4] */ 21607 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 21608 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21609 edx = edx + esi; /* 0x2B070B59: add edx, esi */ 21610 _flag_k = FK_ADD; 21611 ecx = edi; /* 0x2B070B5B: mov ecx, edi */ 21612 edi = edx; /* 0x2B070B5D: mov edi, edx */ 21613 edx = ecx; /* 0x2B070B5F: mov edx, ecx */ 21614 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070B61: shr ecx, 2 */ 21615 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 21616 ecx = ecx >> 2u; /* 0x2B070B61: shr ecx, 2 */ 21617 esi = 0x2B0EB7D8u; /* 0x2B070B64: mov esi, 0x2b0eb7d8 */ 21618 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070B69: 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; } 21619 ecx = edx; /* 0x2B070B6B: mov ecx, edx */ 21620 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 21621 ecx = ecx & 3; /* 0x2B070B6D: and ecx, 3 */ 21622 _cf = 0; 21623 _flag_k = FK_TEST; 21624 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070B70: 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; } 21625 ecx = MEM32(ebp + (-0x18)); /* 0x2B070B72: mov ecx, dword ptr [ebp - 0x18] */ 21626 PUSH32(esp, ecx); /* 0x2B070B75: push ecx */ 21627 ecx = eax; /* 0x2B070B76: mov ecx, eax */ 21628 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B070B78: call dword ptr [0x2b0b5150] */ 21629 RECOMP_FLAGS_IN(); 21630 esi = MEM32(0x2B0B5A74); /* 0x2B070B7E: mov esi, dword ptr [0x2b0b5a74] */ 21631 L_2B070B84: 21632 ecx = MEM32(ebx + 0x28); /* 0x2B070B84: mov ecx, dword ptr [ebx + 0x28] */ 21633 PUSH32(esp, 0x14u); /* 0x2B070B87: push 0x14 */ 21634 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070B89: push -1 */ 21635 RECOMP_ICALL(esi); /* 0x2B070B8B: call esi */ 21636 RECOMP_FLAGS_IN(); 21637 edx = MEM32(ebp + 0x8); /* 0x2B070B8D: mov edx, dword ptr [ebp + 8] */ 21638 PUSH32(esp, 0x1D6u); /* 0x2B070B90: push 0x1d6 */ 21639 PUSH32(esp, edx); /* 0x2B070B95: push edx */ 21640 ecx = ebx; /* 0x2B070B96: mov ecx, ebx */ 21641 RECOMP_ICALL(0x2B0735D0u); /* 0x2B070B98: call 0x2b0735d0 */ /* not lifted */ 21642 RECOMP_FLAGS_IN(); 21643 /* test eax, eax */ /* 0x2B070B9D: test eax, eax */ 21644 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 21645 _cf = 0; 21646 _flag_k = FK_TEST; 21647 MEM32(ebp + 0xC) = eax; /* 0x2B070B9F: mov dword ptr [ebp + 0xc], eax */ 21648 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B070C1F; /* 0x2B070BA2: jne 0x2b070c1f */ 21649 L_2B070BA4: 21650 edx = MEM32(ebx + 0x28); /* 0x2B070BA4: mov edx, dword ptr [ebx + 0x28] */ 21651 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 21652 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070BA7: or ecx, 0xffffffff */ 21653 _cf = 0; 21654 _flag_k = FK_TEST; 21655 edi = 0x2B0EB7D0u; /* 0x2B070BAA: mov edi, 0x2b0eb7d0 */ 21656 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; } /* 0x2B070BAF: repne scasb al, byte ptr es:[edi] */ 21657 eax = MEM32(0x2B0B515C); /* 0x2B070BB1: mov eax, dword ptr [0x2b0b515c] */ 21658 edi = MEM32(edx + 0x8); /* 0x2B070BB6: mov edi, dword ptr [edx + 8] */ 21659 ecx = ~ecx; /* 0x2B070BB9: not ecx */ 21660 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 21661 ecx = ecx - 1; /* 0x2B070BBB: dec ecx */ 21662 _flag_k = FK_DEC; 21663 esi = ecx; /* 0x2B070BBC: mov esi, ecx */ 21664 ecx = MEM32(eax); /* 0x2B070BBE: mov ecx, dword ptr [eax] */ 21665 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 21666 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21667 ecx = ecx - edi; /* 0x2B070BC0: sub ecx, edi */ 21668 _flag_k = FK_CMP; 21669 /* cmp ecx, esi */ /* 0x2B070BC2: cmp ecx, esi */ 21670 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 21671 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21672 _flag_k = FK_CMP; 21673 MEM32(ebp + 0xC) = edx; /* 0x2B070BC4: mov dword ptr [ebp + 0xc], edx */ 21674 if (CMP_A(_flag_a, _flag_b)) goto L_2B070BD2; /* 0x2B070BC7: ja 0x2b070bd2 */ 21675 L_2B070BC9: 21676 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070BC9: call dword ptr [0x2b0b51a8] */ 21677 RECOMP_FLAGS_IN(); 21678 edx = MEM32(ebp + 0xC); /* 0x2B070BCF: mov edx, dword ptr [ebp + 0xc] */ 21679 L_2B070BD2: 21680 /* test esi, esi */ /* 0x2B070BD2: test esi, esi */ 21681 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 21682 _cf = 0; 21683 _flag_k = FK_TEST; 21684 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070BD4: jbe 0x2b070e97 */ 21685 L_2B070BDA: 21686 edi = MEM32(edx + 0x8); /* 0x2B070BDA: mov edi, dword ptr [edx + 8] */ 21687 eax = esi; /* 0x2B070BDD: mov eax, esi */ 21688 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 21689 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21690 eax = eax + edi; /* 0x2B070BDF: add eax, edi */ 21691 _flag_k = FK_ADD; 21692 PUSH32(esp, 0); /* 0x2B070BE1: push 0 */ 21693 PUSH32(esp, eax); /* 0x2B070BE3: push eax */ 21694 ecx = edx; /* 0x2B070BE4: mov ecx, edx */ 21695 MEM32(ebp + (-0x18)) = eax; /* 0x2B070BE6: mov dword ptr [ebp - 0x18], eax */ 21696 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070BE9: call dword ptr [0x2b0b5154] */ 21697 RECOMP_FLAGS_IN(); 21698 /* test LO8(eax), LO8(eax) */ /* 0x2B070BEF: test al, al */ 21699 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 21700 _cf = 0; 21701 _flag_k = FK_NARROW(FK_TEST, 24); 21702 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070BF1: je 0x2b070e97 */ 21703 L_2B070BF7: 21704 edx = MEM32(ebp + 0xC); /* 0x2B070BF7: mov edx, dword ptr [ebp + 0xc] */ 21705 ecx = MEM32(edx + 0x4); /* 0x2B070BFA: mov ecx, dword ptr [edx + 4] */ 21706 edi = MEM32(edx + 0x8); /* 0x2B070BFD: mov edi, dword ptr [edx + 8] */ 21707 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 21708 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21709 edi = edi + ecx; /* 0x2B070C00: add edi, ecx */ 21710 _flag_k = FK_ADD; 21711 ecx = esi; /* 0x2B070C02: mov ecx, esi */ 21712 eax = ecx; /* 0x2B070C04: mov eax, ecx */ 21713 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070C06: shr ecx, 2 */ 21714 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 21715 ecx = ecx >> 2u; /* 0x2B070C06: shr ecx, 2 */ 21716 esi = 0x2B0EB7D0u; /* 0x2B070C09: mov esi, 0x2b0eb7d0 */ 21717 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070C0E: 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; } 21718 ecx = eax; /* 0x2B070C10: mov ecx, eax */ 21719 eax = MEM32(ebp + (-0x18)); /* 0x2B070C12: mov eax, dword ptr [ebp - 0x18] */ 21720 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 21721 ecx = ecx & 3; /* 0x2B070C15: and ecx, 3 */ 21722 _cf = 0; 21723 _flag_k = FK_TEST; 21724 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070C18: 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; } 21725 goto L_2B070E8E; /* 0x2B070C1A: jmp 0x2b070e8e */ 21726 L_2B070C1F: 21727 /* test LO8(eax), 1 */ /* 0x2B070C1F: test al, 1 */ 21728 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 21729 _cf = 0; 21730 _flag_k = FK_NARROW(FK_TEST, 24); 21731 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070C9D; /* 0x2B070C21: je 0x2b070c9d */ 21732 L_2B070C23: 21733 edx = MEM32(ebx + 0x28); /* 0x2B070C23: mov edx, dword ptr [ebx + 0x28] */ 21734 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 21735 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070C26: or ecx, 0xffffffff */ 21736 _cf = 0; 21737 _flag_k = FK_TEST; 21738 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21739 eax = 0; /* 0x2B070C29: xor eax, eax */ 21740 _cf = 0; 21741 _flag_k = FK_TEST; 21742 edi = 0x2B0EB7C8u; /* 0x2B070C2B: mov edi, 0x2b0eb7c8 */ 21743 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; } /* 0x2B070C30: repne scasb al, byte ptr es:[edi] */ 21744 edi = MEM32(edx + 0x8); /* 0x2B070C32: mov edi, dword ptr [edx + 8] */ 21745 ecx = ~ecx; /* 0x2B070C35: not ecx */ 21746 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 21747 ecx = ecx - 1; /* 0x2B070C37: dec ecx */ 21748 _flag_k = FK_DEC; 21749 esi = ecx; /* 0x2B070C38: mov esi, ecx */ 21750 ecx = MEM32(0x2B0B515C); /* 0x2B070C3A: mov ecx, dword ptr [0x2b0b515c] */ 21751 eax = MEM32(ecx); /* 0x2B070C40: mov eax, dword ptr [ecx] */ 21752 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 21753 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21754 eax = eax - edi; /* 0x2B070C42: sub eax, edi */ 21755 _flag_k = FK_CMP; 21756 /* cmp eax, esi */ /* 0x2B070C44: cmp eax, esi */ 21757 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 21758 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21759 _flag_k = FK_CMP; 21760 MEM32(ebp + (-0x14)) = edx; /* 0x2B070C46: mov dword ptr [ebp - 0x14], edx */ 21761 if (CMP_A(_flag_a, _flag_b)) goto L_2B070C54; /* 0x2B070C49: ja 0x2b070c54 */ 21762 L_2B070C4B: 21763 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070C4B: call dword ptr [0x2b0b51a8] */ 21764 RECOMP_FLAGS_IN(); 21765 edx = MEM32(ebp + (-0x14)); /* 0x2B070C51: mov edx, dword ptr [ebp - 0x14] */ 21766 L_2B070C54: 21767 /* test esi, esi */ /* 0x2B070C54: test esi, esi */ 21768 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 21769 _cf = 0; 21770 _flag_k = FK_TEST; 21771 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070C9D; /* 0x2B070C56: jbe 0x2b070c9d */ 21772 L_2B070C58: 21773 edi = MEM32(edx + 0x8); /* 0x2B070C58: mov edi, dword ptr [edx + 8] */ 21774 eax = esi; /* 0x2B070C5B: mov eax, esi */ 21775 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 21776 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21777 eax = eax + edi; /* 0x2B070C5D: add eax, edi */ 21778 _flag_k = FK_ADD; 21779 PUSH32(esp, 0); /* 0x2B070C5F: push 0 */ 21780 PUSH32(esp, eax); /* 0x2B070C61: push eax */ 21781 ecx = edx; /* 0x2B070C62: mov ecx, edx */ 21782 MEM32(ebp + (-0x18)) = eax; /* 0x2B070C64: mov dword ptr [ebp - 0x18], eax */ 21783 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070C67: call dword ptr [0x2b0b5154] */ 21784 RECOMP_FLAGS_IN(); 21785 /* test LO8(eax), LO8(eax) */ /* 0x2B070C6D: test al, al */ 21786 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 21787 _cf = 0; 21788 _flag_k = FK_NARROW(FK_TEST, 24); 21789 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070C9D; /* 0x2B070C6F: je 0x2b070c9d */ 21790 L_2B070C71: 21791 edx = MEM32(ebp + (-0x14)); /* 0x2B070C71: mov edx, dword ptr [ebp - 0x14] */ 21792 edi = MEM32(edx + 0x8); /* 0x2B070C74: mov edi, dword ptr [edx + 8] */ 21793 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 21794 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21795 edi = edi + MEM32(edx + 0x4); /* 0x2B070C77: add edi, dword ptr [edx + 4] */ 21796 _flag_k = FK_ADD; 21797 ecx = esi; /* 0x2B070C7A: mov ecx, esi */ 21798 eax = ecx; /* 0x2B070C7C: mov eax, ecx */ 21799 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070C7E: shr ecx, 2 */ 21800 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 21801 ecx = ecx >> 2u; /* 0x2B070C7E: shr ecx, 2 */ 21802 esi = 0x2B0EB7C8u; /* 0x2B070C81: mov esi, 0x2b0eb7c8 */ 21803 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070C86: 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; } 21804 ecx = eax; /* 0x2B070C88: mov ecx, eax */ 21805 eax = MEM32(ebp + (-0x18)); /* 0x2B070C8A: mov eax, dword ptr [ebp - 0x18] */ 21806 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 21807 ecx = ecx & 3; /* 0x2B070C8D: and ecx, 3 */ 21808 _cf = 0; 21809 _flag_k = FK_TEST; 21810 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070C90: 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; } 21811 ecx = MEM32(edx + 0x4); /* 0x2B070C92: mov ecx, dword ptr [edx + 4] */ 21812 MEM32(edx + 0x8) = eax; /* 0x2B070C95: mov dword ptr [edx + 8], eax */ 21813 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 21814 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21815 eax = eax + ecx; /* 0x2B070C98: add eax, ecx */ 21816 _flag_k = FK_ADD; 21817 MEM8(eax) = (uint8_t)(0); /* 0x2B070C9A: mov byte ptr [eax], 0 */ 21818 L_2B070C9D: 21819 /* test MEM8(ebp + 0xC), 2 */ /* 0x2B070C9D: test byte ptr [ebp + 0xc], 2 */ 21820 _flag_a = (uint32_t)(MEM8(ebp + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24; 21821 _cf = 0; 21822 _flag_k = FK_NARROW(FK_TEST, 24); 21823 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D1B; /* 0x2B070CA1: je 0x2b070d1b */ 21824 L_2B070CA3: 21825 edx = MEM32(ebx + 0x28); /* 0x2B070CA3: mov edx, dword ptr [ebx + 0x28] */ 21826 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 21827 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070CA6: or ecx, 0xffffffff */ 21828 _cf = 0; 21829 _flag_k = FK_TEST; 21830 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21831 eax = 0; /* 0x2B070CA9: xor eax, eax */ 21832 _cf = 0; 21833 _flag_k = FK_TEST; 21834 edi = 0x2B0EB7BCu; /* 0x2B070CAB: mov edi, 0x2b0eb7bc */ 21835 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; } /* 0x2B070CB0: repne scasb al, byte ptr es:[edi] */ 21836 edi = MEM32(edx + 0x8); /* 0x2B070CB2: mov edi, dword ptr [edx + 8] */ 21837 ecx = ~ecx; /* 0x2B070CB5: not ecx */ 21838 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 21839 ecx = ecx - 1; /* 0x2B070CB7: dec ecx */ 21840 _flag_k = FK_DEC; 21841 esi = ecx; /* 0x2B070CB8: mov esi, ecx */ 21842 ecx = MEM32(0x2B0B515C); /* 0x2B070CBA: mov ecx, dword ptr [0x2b0b515c] */ 21843 eax = MEM32(ecx); /* 0x2B070CC0: mov eax, dword ptr [ecx] */ 21844 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 21845 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21846 eax = eax - edi; /* 0x2B070CC2: sub eax, edi */ 21847 _flag_k = FK_CMP; 21848 /* cmp eax, esi */ /* 0x2B070CC4: cmp eax, esi */ 21849 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 21850 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21851 _flag_k = FK_CMP; 21852 MEM32(ebp + (-0x14)) = edx; /* 0x2B070CC6: mov dword ptr [ebp - 0x14], edx */ 21853 if (CMP_A(_flag_a, _flag_b)) goto L_2B070CD1; /* 0x2B070CC9: ja 0x2b070cd1 */ 21854 L_2B070CCB: 21855 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070CCB: call dword ptr [0x2b0b51a8] */ 21856 RECOMP_FLAGS_IN(); 21857 L_2B070CD1: 21858 /* test esi, esi */ /* 0x2B070CD1: test esi, esi */ 21859 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 21860 _cf = 0; 21861 _flag_k = FK_TEST; 21862 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D1B; /* 0x2B070CD3: jbe 0x2b070d1b */ 21863 L_2B070CD5: 21864 ecx = MEM32(ebp + (-0x14)); /* 0x2B070CD5: mov ecx, dword ptr [ebp - 0x14] */ 21865 edx = MEM32(ecx + 0x8); /* 0x2B070CD8: mov edx, dword ptr [ecx + 8] */ 21866 eax = esi; /* 0x2B070CDB: mov eax, esi */ 21867 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 21868 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21869 eax = eax + edx; /* 0x2B070CDD: add eax, edx */ 21870 _flag_k = FK_ADD; 21871 PUSH32(esp, 0); /* 0x2B070CDF: push 0 */ 21872 PUSH32(esp, eax); /* 0x2B070CE1: push eax */ 21873 MEM32(ebp + (-0x18)) = eax; /* 0x2B070CE2: mov dword ptr [ebp - 0x18], eax */ 21874 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070CE5: call dword ptr [0x2b0b5154] */ 21875 RECOMP_FLAGS_IN(); 21876 /* test LO8(eax), LO8(eax) */ /* 0x2B070CEB: test al, al */ 21877 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 21878 _cf = 0; 21879 _flag_k = FK_NARROW(FK_TEST, 24); 21880 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D1B; /* 0x2B070CED: je 0x2b070d1b */ 21881 L_2B070CEF: 21882 edx = MEM32(ebp + (-0x14)); /* 0x2B070CEF: mov edx, dword ptr [ebp - 0x14] */ 21883 edi = MEM32(edx + 0x8); /* 0x2B070CF2: mov edi, dword ptr [edx + 8] */ 21884 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 21885 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21886 edi = edi + MEM32(edx + 0x4); /* 0x2B070CF5: add edi, dword ptr [edx + 4] */ 21887 _flag_k = FK_ADD; 21888 ecx = esi; /* 0x2B070CF8: mov ecx, esi */ 21889 eax = ecx; /* 0x2B070CFA: mov eax, ecx */ 21890 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070CFC: shr ecx, 2 */ 21891 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 21892 ecx = ecx >> 2u; /* 0x2B070CFC: shr ecx, 2 */ 21893 esi = 0x2B0EB7BCu; /* 0x2B070CFF: mov esi, 0x2b0eb7bc */ 21894 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070D04: 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; } 21895 ecx = eax; /* 0x2B070D06: mov ecx, eax */ 21896 eax = MEM32(ebp + (-0x18)); /* 0x2B070D08: mov eax, dword ptr [ebp - 0x18] */ 21897 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 21898 ecx = ecx & 3; /* 0x2B070D0B: and ecx, 3 */ 21899 _cf = 0; 21900 _flag_k = FK_TEST; 21901 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070D0E: 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; } 21902 ecx = MEM32(edx + 0x4); /* 0x2B070D10: mov ecx, dword ptr [edx + 4] */ 21903 MEM32(edx + 0x8) = eax; /* 0x2B070D13: mov dword ptr [edx + 8], eax */ 21904 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 21905 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21906 eax = eax + ecx; /* 0x2B070D16: add eax, ecx */ 21907 _flag_k = FK_ADD; 21908 MEM8(eax) = (uint8_t)(0); /* 0x2B070D18: mov byte ptr [eax], 0 */ 21909 L_2B070D1B: 21910 /* test MEM8(ebp + 0xC), 4 */ /* 0x2B070D1B: test byte ptr [ebp + 0xc], 4 */ 21911 _flag_a = (uint32_t)(MEM8(ebp + 0xC)) << 24; _flag_b = (uint32_t)(4) << 24; 21912 _cf = 0; 21913 _flag_k = FK_NARROW(FK_TEST, 24); 21914 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D99; /* 0x2B070D1F: je 0x2b070d99 */ 21915 L_2B070D21: 21916 edx = MEM32(ebx + 0x28); /* 0x2B070D21: mov edx, dword ptr [ebx + 0x28] */ 21917 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 21918 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070D24: or ecx, 0xffffffff */ 21919 _cf = 0; 21920 _flag_k = FK_TEST; 21921 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21922 eax = 0; /* 0x2B070D27: xor eax, eax */ 21923 _cf = 0; 21924 _flag_k = FK_TEST; 21925 edi = 0x2B0EB7B0u; /* 0x2B070D29: mov edi, 0x2b0eb7b0 */ 21926 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; } /* 0x2B070D2E: repne scasb al, byte ptr es:[edi] */ 21927 edi = MEM32(edx + 0x8); /* 0x2B070D30: mov edi, dword ptr [edx + 8] */ 21928 ecx = ~ecx; /* 0x2B070D33: not ecx */ 21929 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 21930 ecx = ecx - 1; /* 0x2B070D35: dec ecx */ 21931 _flag_k = FK_DEC; 21932 esi = ecx; /* 0x2B070D36: mov esi, ecx */ 21933 ecx = MEM32(0x2B0B515C); /* 0x2B070D38: mov ecx, dword ptr [0x2b0b515c] */ 21934 eax = MEM32(ecx); /* 0x2B070D3E: mov eax, dword ptr [ecx] */ 21935 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 21936 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21937 eax = eax - edi; /* 0x2B070D40: sub eax, edi */ 21938 _flag_k = FK_CMP; 21939 /* cmp eax, esi */ /* 0x2B070D42: cmp eax, esi */ 21940 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 21941 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21942 _flag_k = FK_CMP; 21943 MEM32(ebp + (-0x14)) = edx; /* 0x2B070D44: mov dword ptr [ebp - 0x14], edx */ 21944 if (CMP_A(_flag_a, _flag_b)) goto L_2B070D4F; /* 0x2B070D47: ja 0x2b070d4f */ 21945 L_2B070D49: 21946 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070D49: call dword ptr [0x2b0b51a8] */ 21947 RECOMP_FLAGS_IN(); 21948 L_2B070D4F: 21949 /* test esi, esi */ /* 0x2B070D4F: test esi, esi */ 21950 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 21951 _cf = 0; 21952 _flag_k = FK_TEST; 21953 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D99; /* 0x2B070D51: jbe 0x2b070d99 */ 21954 L_2B070D53: 21955 ecx = MEM32(ebp + (-0x14)); /* 0x2B070D53: mov ecx, dword ptr [ebp - 0x14] */ 21956 edx = MEM32(ecx + 0x8); /* 0x2B070D56: mov edx, dword ptr [ecx + 8] */ 21957 eax = esi; /* 0x2B070D59: mov eax, esi */ 21958 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 21959 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21960 eax = eax + edx; /* 0x2B070D5B: add eax, edx */ 21961 _flag_k = FK_ADD; 21962 PUSH32(esp, 0); /* 0x2B070D5D: push 0 */ 21963 PUSH32(esp, eax); /* 0x2B070D5F: push eax */ 21964 MEM32(ebp + (-0x18)) = eax; /* 0x2B070D60: mov dword ptr [ebp - 0x18], eax */ 21965 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070D63: call dword ptr [0x2b0b5154] */ 21966 RECOMP_FLAGS_IN(); 21967 /* test LO8(eax), LO8(eax) */ /* 0x2B070D69: test al, al */ 21968 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 21969 _cf = 0; 21970 _flag_k = FK_NARROW(FK_TEST, 24); 21971 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D99; /* 0x2B070D6B: je 0x2b070d99 */ 21972 L_2B070D6D: 21973 edx = MEM32(ebp + (-0x14)); /* 0x2B070D6D: mov edx, dword ptr [ebp - 0x14] */ 21974 edi = MEM32(edx + 0x8); /* 0x2B070D70: mov edi, dword ptr [edx + 8] */ 21975 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 21976 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21977 edi = edi + MEM32(edx + 0x4); /* 0x2B070D73: add edi, dword ptr [edx + 4] */ 21978 _flag_k = FK_ADD; 21979 ecx = esi; /* 0x2B070D76: mov ecx, esi */ 21980 eax = ecx; /* 0x2B070D78: mov eax, ecx */ 21981 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070D7A: shr ecx, 2 */ 21982 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 21983 ecx = ecx >> 2u; /* 0x2B070D7A: shr ecx, 2 */ 21984 esi = 0x2B0EB7B0u; /* 0x2B070D7D: mov esi, 0x2b0eb7b0 */ 21985 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070D82: 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; } 21986 ecx = eax; /* 0x2B070D84: mov ecx, eax */ 21987 eax = MEM32(ebp + (-0x18)); /* 0x2B070D86: mov eax, dword ptr [ebp - 0x18] */ 21988 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 21989 ecx = ecx & 3; /* 0x2B070D89: and ecx, 3 */ 21990 _cf = 0; 21991 _flag_k = FK_TEST; 21992 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070D8C: 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; } 21993 ecx = MEM32(edx + 0x4); /* 0x2B070D8E: mov ecx, dword ptr [edx + 4] */ 21994 MEM32(edx + 0x8) = eax; /* 0x2B070D91: mov dword ptr [edx + 8], eax */ 21995 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 21996 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21997 eax = eax + ecx; /* 0x2B070D94: add eax, ecx */ 21998 _flag_k = FK_ADD; 21999 MEM8(eax) = (uint8_t)(0); /* 0x2B070D96: mov byte ptr [eax], 0 */ 22000 L_2B070D99: 22001 /* test MEM8(ebp + 0xC), 8 */ /* 0x2B070D99: test byte ptr [ebp + 0xc], 8 */ 22002 _flag_a = (uint32_t)(MEM8(ebp + 0xC)) << 24; _flag_b = (uint32_t)(8) << 24; 22003 _cf = 0; 22004 _flag_k = FK_NARROW(FK_TEST, 24); 22005 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E17; /* 0x2B070D9D: je 0x2b070e17 */ 22006 L_2B070D9F: 22007 edx = MEM32(ebx + 0x28); /* 0x2B070D9F: mov edx, dword ptr [ebx + 0x28] */ 22008 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 22009 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070DA2: or ecx, 0xffffffff */ 22010 _cf = 0; 22011 _flag_k = FK_TEST; 22012 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 22013 eax = 0; /* 0x2B070DA5: xor eax, eax */ 22014 _cf = 0; 22015 _flag_k = FK_TEST; 22016 edi = 0x2B0EB7A4u; /* 0x2B070DA7: mov edi, 0x2b0eb7a4 */ 22017 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; } /* 0x2B070DAC: repne scasb al, byte ptr es:[edi] */ 22018 edi = MEM32(edx + 0x8); /* 0x2B070DAE: mov edi, dword ptr [edx + 8] */ 22019 ecx = ~ecx; /* 0x2B070DB1: not ecx */ 22020 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 22021 ecx = ecx - 1; /* 0x2B070DB3: dec ecx */ 22022 _flag_k = FK_DEC; 22023 esi = ecx; /* 0x2B070DB4: mov esi, ecx */ 22024 ecx = MEM32(0x2B0B515C); /* 0x2B070DB6: mov ecx, dword ptr [0x2b0b515c] */ 22025 eax = MEM32(ecx); /* 0x2B070DBC: mov eax, dword ptr [ecx] */ 22026 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 22027 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22028 eax = eax - edi; /* 0x2B070DBE: sub eax, edi */ 22029 _flag_k = FK_CMP; 22030 /* cmp eax, esi */ /* 0x2B070DC0: cmp eax, esi */ 22031 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 22032 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22033 _flag_k = FK_CMP; 22034 MEM32(ebp + (-0x14)) = edx; /* 0x2B070DC2: mov dword ptr [ebp - 0x14], edx */ 22035 if (CMP_A(_flag_a, _flag_b)) goto L_2B070DCD; /* 0x2B070DC5: ja 0x2b070dcd */ 22036 L_2B070DC7: 22037 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070DC7: call dword ptr [0x2b0b51a8] */ 22038 RECOMP_FLAGS_IN(); 22039 L_2B070DCD: 22040 /* test esi, esi */ /* 0x2B070DCD: test esi, esi */ 22041 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 22042 _cf = 0; 22043 _flag_k = FK_TEST; 22044 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E17; /* 0x2B070DCF: jbe 0x2b070e17 */ 22045 L_2B070DD1: 22046 ecx = MEM32(ebp + (-0x14)); /* 0x2B070DD1: mov ecx, dword ptr [ebp - 0x14] */ 22047 edx = MEM32(ecx + 0x8); /* 0x2B070DD4: mov edx, dword ptr [ecx + 8] */ 22048 eax = esi; /* 0x2B070DD7: mov eax, esi */ 22049 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 22050 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22051 eax = eax + edx; /* 0x2B070DD9: add eax, edx */ 22052 _flag_k = FK_ADD; 22053 PUSH32(esp, 0); /* 0x2B070DDB: push 0 */ 22054 PUSH32(esp, eax); /* 0x2B070DDD: push eax */ 22055 MEM32(ebp + (-0x18)) = eax; /* 0x2B070DDE: mov dword ptr [ebp - 0x18], eax */ 22056 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070DE1: call dword ptr [0x2b0b5154] */ 22057 RECOMP_FLAGS_IN(); 22058 /* test LO8(eax), LO8(eax) */ /* 0x2B070DE7: test al, al */ 22059 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 22060 _cf = 0; 22061 _flag_k = FK_NARROW(FK_TEST, 24); 22062 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E17; /* 0x2B070DE9: je 0x2b070e17 */ 22063 L_2B070DEB: 22064 edx = MEM32(ebp + (-0x14)); /* 0x2B070DEB: mov edx, dword ptr [ebp - 0x14] */ 22065 edi = MEM32(edx + 0x8); /* 0x2B070DEE: mov edi, dword ptr [edx + 8] */ 22066 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 22067 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22068 edi = edi + MEM32(edx + 0x4); /* 0x2B070DF1: add edi, dword ptr [edx + 4] */ 22069 _flag_k = FK_ADD; 22070 ecx = esi; /* 0x2B070DF4: mov ecx, esi */ 22071 eax = ecx; /* 0x2B070DF6: mov eax, ecx */ 22072 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070DF8: shr ecx, 2 */ 22073 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 22074 ecx = ecx >> 2u; /* 0x2B070DF8: shr ecx, 2 */ 22075 esi = 0x2B0EB7A4u; /* 0x2B070DFB: mov esi, 0x2b0eb7a4 */ 22076 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070E00: 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; } 22077 ecx = eax; /* 0x2B070E02: mov ecx, eax */ 22078 eax = MEM32(ebp + (-0x18)); /* 0x2B070E04: mov eax, dword ptr [ebp - 0x18] */ 22079 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 22080 ecx = ecx & 3; /* 0x2B070E07: and ecx, 3 */ 22081 _cf = 0; 22082 _flag_k = FK_TEST; 22083 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070E0A: 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; } 22084 ecx = MEM32(edx + 0x4); /* 0x2B070E0C: mov ecx, dword ptr [edx + 4] */ 22085 MEM32(edx + 0x8) = eax; /* 0x2B070E0F: mov dword ptr [edx + 8], eax */ 22086 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 22087 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22088 eax = eax + ecx; /* 0x2B070E12: add eax, ecx */ 22089 _flag_k = FK_ADD; 22090 MEM8(eax) = (uint8_t)(0); /* 0x2B070E14: mov byte ptr [eax], 0 */ 22091 L_2B070E17: 22092 /* test MEM8(ebp + 0xC), 0x10u */ /* 0x2B070E17: test byte ptr [ebp + 0xc], 0x10 */ 22093 _flag_a = (uint32_t)(MEM8(ebp + 0xC)) << 24; _flag_b = (uint32_t)(0x10u) << 24; 22094 _cf = 0; 22095 _flag_k = FK_NARROW(FK_TEST, 24); 22096 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070E1B: je 0x2b070e97 */ 22097 L_2B070E1D: 22098 edx = MEM32(ebx + 0x28); /* 0x2B070E1D: mov edx, dword ptr [ebx + 0x28] */ 22099 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 22100 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070E20: or ecx, 0xffffffff */ 22101 _cf = 0; 22102 _flag_k = FK_TEST; 22103 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 22104 eax = 0; /* 0x2B070E23: xor eax, eax */ 22105 _cf = 0; 22106 _flag_k = FK_TEST; 22107 edi = 0x2B0EB79Cu; /* 0x2B070E25: mov edi, 0x2b0eb79c */ 22108 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; } /* 0x2B070E2A: repne scasb al, byte ptr es:[edi] */ 22109 edi = MEM32(edx + 0x8); /* 0x2B070E2C: mov edi, dword ptr [edx + 8] */ 22110 ecx = ~ecx; /* 0x2B070E2F: not ecx */ 22111 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 22112 ecx = ecx - 1; /* 0x2B070E31: dec ecx */ 22113 _flag_k = FK_DEC; 22114 esi = ecx; /* 0x2B070E32: mov esi, ecx */ 22115 ecx = MEM32(0x2B0B515C); /* 0x2B070E34: mov ecx, dword ptr [0x2b0b515c] */ 22116 eax = MEM32(ecx); /* 0x2B070E3A: mov eax, dword ptr [ecx] */ 22117 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 22118 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22119 eax = eax - edi; /* 0x2B070E3C: sub eax, edi */ 22120 _flag_k = FK_CMP; 22121 /* cmp eax, esi */ /* 0x2B070E3E: cmp eax, esi */ 22122 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 22123 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22124 _flag_k = FK_CMP; 22125 MEM32(ebp + 0xC) = edx; /* 0x2B070E40: mov dword ptr [ebp + 0xc], edx */ 22126 if (CMP_A(_flag_a, _flag_b)) goto L_2B070E4E; /* 0x2B070E43: ja 0x2b070e4e */ 22127 L_2B070E45: 22128 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070E45: call dword ptr [0x2b0b51a8] */ 22129 RECOMP_FLAGS_IN(); 22130 edx = MEM32(ebp + 0xC); /* 0x2B070E4B: mov edx, dword ptr [ebp + 0xc] */ 22131 L_2B070E4E: 22132 /* test esi, esi */ /* 0x2B070E4E: test esi, esi */ 22133 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 22134 _cf = 0; 22135 _flag_k = FK_TEST; 22136 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070E50: jbe 0x2b070e97 */ 22137 L_2B070E52: 22138 edi = MEM32(edx + 0x8); /* 0x2B070E52: mov edi, dword ptr [edx + 8] */ 22139 eax = esi; /* 0x2B070E55: mov eax, esi */ 22140 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 22141 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22142 eax = eax + edi; /* 0x2B070E57: add eax, edi */ 22143 _flag_k = FK_ADD; 22144 PUSH32(esp, 0); /* 0x2B070E59: push 0 */ 22145 PUSH32(esp, eax); /* 0x2B070E5B: push eax */ 22146 ecx = edx; /* 0x2B070E5C: mov ecx, edx */ 22147 MEM32(ebp + (-0x18)) = eax; /* 0x2B070E5E: mov dword ptr [ebp - 0x18], eax */ 22148 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070E61: call dword ptr [0x2b0b5154] */ 22149 RECOMP_FLAGS_IN(); 22150 /* test LO8(eax), LO8(eax) */ /* 0x2B070E67: test al, al */ 22151 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 22152 _cf = 0; 22153 _flag_k = FK_NARROW(FK_TEST, 24); 22154 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070E69: je 0x2b070e97 */ 22155 L_2B070E6B: 22156 edx = MEM32(ebp + 0xC); /* 0x2B070E6B: mov edx, dword ptr [ebp + 0xc] */ 22157 ecx = MEM32(edx + 0x4); /* 0x2B070E6E: mov ecx, dword ptr [edx + 4] */ 22158 edi = MEM32(edx + 0x8); /* 0x2B070E71: mov edi, dword ptr [edx + 8] */ 22159 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 22160 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22161 edi = edi + ecx; /* 0x2B070E74: add edi, ecx */ 22162 _flag_k = FK_ADD; 22163 ecx = esi; /* 0x2B070E76: mov ecx, esi */ 22164 eax = ecx; /* 0x2B070E78: mov eax, ecx */ 22165 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070E7A: shr ecx, 2 */ 22166 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 22167 ecx = ecx >> 2u; /* 0x2B070E7A: shr ecx, 2 */ 22168 esi = 0x2B0EB79Cu; /* 0x2B070E7D: mov esi, 0x2b0eb79c */ 22169 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070E82: 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; } 22170 ecx = eax; /* 0x2B070E84: mov ecx, eax */ 22171 eax = MEM32(ebp + (-0x18)); /* 0x2B070E86: mov eax, dword ptr [ebp - 0x18] */ 22172 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 22173 ecx = ecx & 3; /* 0x2B070E89: and ecx, 3 */ 22174 _cf = 0; 22175 _flag_k = FK_TEST; 22176 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070E8C: 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; } 22177 L_2B070E8E: 22178 MEM32(edx + 0x8) = eax; /* 0x2B070E8E: mov dword ptr [edx + 8], eax */ 22179 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 22180 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22181 eax = eax + MEM32(edx + 0x4); /* 0x2B070E91: add eax, dword ptr [edx + 4] */ 22182 _flag_k = FK_ADD; 22183 MEM8(eax) = (uint8_t)(0); /* 0x2B070E94: mov byte ptr [eax], 0 */ 22184 L_2B070E97: 22185 SET_LO8(ecx, MEM8(ebp + 0xF)); /* 0x2B070E97: mov cl, byte ptr [ebp + 0xf] */ 22186 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 22187 edi = 0; /* 0x2B070E9A: xor edi, edi */ 22188 _cf = 0; 22189 _flag_k = FK_TEST; 22190 MEM8(ebp + (-0x44)) = (uint8_t)(LO8(ecx)); /* 0x2B070E9C: mov byte ptr [ebp - 0x44], cl */ 22191 PUSH32(esp, edi); /* 0x2B070E9F: push edi */ 22192 ecx = ebp + (-0x44); /* 0x2B070EA0: lea ecx, [ebp - 0x44] */ 22193 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B070EA3: call dword ptr [0x2b0b514c] */ 22194 RECOMP_FLAGS_IN(); 22195 MEM32(ebp + (-0x34)) = edi; /* 0x2B070EA9: mov dword ptr [ebp - 0x34], edi */ 22196 esi = MEM32(0x2B0B5D6C); /* 0x2B070EAC: mov esi, dword ptr [0x2b0b5d6c] */ 22197 MEM32(ebp + (-0x4)) = 1; /* 0x2B070EB2: mov dword ptr [ebp - 4], 1 */ 22198 MEM32(ebp + 0xC) = edi; /* 0x2B070EB9: mov dword ptr [ebp + 0xc], edi */ 22199 L_2B070EBC: 22200 edx = MEM32(ebp + 0xC); /* 0x2B070EBC: mov edx, dword ptr [ebp + 0xc] */ 22201 eax = MEM32(ebp + 0x8); /* 0x2B070EBF: mov eax, dword ptr [ebp + 8] */ 22202 PUSH32(esp, edx); /* 0x2B070EC2: push edx */ 22203 PUSH32(esp, eax); /* 0x2B070EC3: push eax */ 22204 RECOMP_ICALL(esi); /* 0x2B070EC4: call esi */ 22205 RECOMP_FLAGS_IN(); 22206 ecx = eax; /* 0x2B070EC6: mov ecx, eax */ 22207 RECOMP_ICALL(MEM32(0x2B0B5D80)); /* 0x2B070EC8: call dword ptr [0x2b0b5d80] */ 22208 RECOMP_FLAGS_IN(); 22209 /* cmp eax, edi */ /* 0x2B070ECE: cmp eax, edi */ 22210 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 22211 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22212 _flag_k = FK_CMP; 22213 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071042; /* 0x2B070ED0: je 0x2b071042 */ 22214 L_2B070ED6: 22215 PUSH32(esp, eax); /* 0x2B070ED6: push eax */ 22216 ecx = ebp + (-0x20); /* 0x2B070ED7: lea ecx, [ebp - 0x20] */ 22217 PUSH32(esp, ecx); /* 0x2B070EDA: push ecx */ 22218 MEM32(ebp + (-0x20)) = edi; /* 0x2B070EDB: mov dword ptr [ebp - 0x20], edi */ 22219 MEM32(ebp + (-0x1C)) = edi; /* 0x2B070EDE: mov dword ptr [ebp - 0x1c], edi */ 22220 RECOMP_ICALL(esi); /* 0x2B070EE1: call esi */ 22221 RECOMP_FLAGS_IN(); 22222 ecx = eax; /* 0x2B070EE3: mov ecx, eax */ 22223 RECOMP_ICALL(MEM32(0x2B0B5D4C)); /* 0x2B070EE5: call dword ptr [0x2b0b5d4c] */ 22224 RECOMP_FLAGS_IN(); 22225 /* test LO8(eax), LO8(eax) */ /* 0x2B070EEB: test al, al */ 22226 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 22227 _cf = 0; 22228 _flag_k = FK_NARROW(FK_TEST, 24); 22229 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07103A; /* 0x2B070EED: je 0x2b07103a */ 22230 L_2B070EF3: 22231 edx = ebp + (-0x20); /* 0x2B070EF3: lea edx, [ebp - 0x20] */ 22232 PUSH32(esp, 0x1Au); /* 0x2B070EF6: push 0x1a */ 22233 PUSH32(esp, edx); /* 0x2B070EF8: push edx */ 22234 RECOMP_ICALL(esi); /* 0x2B070EF9: call esi */ 22235 RECOMP_FLAGS_IN(); 22236 ecx = eax; /* 0x2B070EFB: mov ecx, eax */ 22237 RECOMP_ICALL(MEM32(0x2B0B5D84)); /* 0x2B070EFD: call dword ptr [0x2b0b5d84] */ 22238 RECOMP_FLAGS_IN(); 22239 /* cmp eax, edi */ /* 0x2B070F03: cmp eax, edi */ 22240 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 22241 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22242 _flag_k = FK_CMP; 22243 MEM32(ebp + (-0x14)) = eax; /* 0x2B070F05: mov dword ptr [ebp - 0x14], eax */ 22244 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07102C; /* 0x2B070F08: je 0x2b07102c */ 22245 L_2B070F0E: 22246 /* cmp MEM8(eax), 0 */ /* 0x2B070F0E: cmp byte ptr [eax], 0 */ 22247 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0) << 24; 22248 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22249 _flag_k = FK_NARROW(FK_CMP, 24); 22250 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07102C; /* 0x2B070F11: je 0x2b07102c */ 22251 L_2B070F17: 22252 eax = ebp + (-0x20); /* 0x2B070F17: lea eax, [ebp - 0x20] */ 22253 PUSH32(esp, eax); /* 0x2B070F1A: push eax */ 22254 RECOMP_ICALL(esi); /* 0x2B070F1B: call esi */ 22255 RECOMP_FLAGS_IN(); 22256 ecx = eax; /* 0x2B070F1D: mov ecx, eax */ 22257 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B070F1F: call dword ptr [0x2b0b5d50] */ 22258 RECOMP_FLAGS_IN(); 22259 ecx = ebp + (-0x44); /* 0x2B070F25: lea ecx, [ebp - 0x44] */ 22260 PUSH32(esp, ecx); /* 0x2B070F28: push ecx */ 22261 PUSH32(esp, eax); /* 0x2B070F29: push eax */ 22262 PUSH32(esp, 0x2B0EB790u); /* 0x2B070F2A: push 0x2b0eb790 */ 22263 ecx = ebx; /* 0x2B070F2F: mov ecx, ebx */ 22264 RECOMP_ICALL(0x2B073610u); /* 0x2B070F31: call 0x2b073610 */ /* not lifted */ 22265 RECOMP_FLAGS_IN(); 22266 edx = ebp + (-0x44); /* 0x2B070F36: lea edx, [ebp - 0x44] */ 22267 PUSH32(esp, edx); /* 0x2B070F39: push edx */ 22268 eax = ebp + (-0x20); /* 0x2B070F3A: lea eax, [ebp - 0x20] */ 22269 PUSH32(esp, eax); /* 0x2B070F3D: push eax */ 22270 ecx = ebx; /* 0x2B070F3E: mov ecx, ebx */ 22271 RECOMP_ICALL(0x2B074770u); /* 0x2B070F40: call 0x2b074770 */ /* not lifted */ 22272 RECOMP_FLAGS_IN(); 22273 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 22274 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070F45: or ecx, 0xffffffff */ 22275 _cf = 0; 22276 _flag_k = FK_TEST; 22277 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 22278 eax = 0; /* 0x2B070F48: xor eax, eax */ 22279 _cf = 0; 22280 _flag_k = FK_TEST; 22281 edi = 0x2B0E2BF8u; /* 0x2B070F4A: mov edi, 0x2b0e2bf8 */ 22282 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; } /* 0x2B070F4F: repne scasb al, byte ptr es:[edi] */ 22283 ecx = ~ecx; /* 0x2B070F51: not ecx */ 22284 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 22285 ecx = ecx - 1; /* 0x2B070F53: dec ecx */ 22286 _flag_k = FK_DEC; 22287 edi = ecx; /* 0x2B070F54: mov edi, ecx */ 22288 ecx = MEM32(0x2B0B515C); /* 0x2B070F56: mov ecx, dword ptr [0x2b0b515c] */ 22289 edx = MEM32(ecx); /* 0x2B070F5C: mov edx, dword ptr [ecx] */ 22290 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + (-0x3C))); 22291 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22292 edx = edx - MEM32(ebp + (-0x3C)); /* 0x2B070F5E: sub edx, dword ptr [ebp - 0x3c] */ 22293 _flag_k = FK_CMP; 22294 /* cmp edx, edi */ /* 0x2B070F61: cmp edx, edi */ 22295 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 22296 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22297 _flag_k = FK_CMP; 22298 if (CMP_A(_flag_a, _flag_b)) goto L_2B070F6B; /* 0x2B070F63: ja 0x2b070f6b */ 22299 L_2B070F65: 22300 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070F65: call dword ptr [0x2b0b51a8] */ 22301 RECOMP_FLAGS_IN(); 22302 L_2B070F6B: 22303 /* test edi, edi */ /* 0x2B070F6B: test edi, edi */ 22304 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 22305 _cf = 0; 22306 _flag_k = FK_TEST; 22307 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070FB8; /* 0x2B070F6D: jbe 0x2b070fb8 */ 22308 L_2B070F6F: 22309 eax = MEM32(ebp + (-0x3C)); /* 0x2B070F6F: mov eax, dword ptr [ebp - 0x3c] */ 22310 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 22311 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22312 eax = eax + edi; /* 0x2B070F72: add eax, edi */ 22313 _flag_k = FK_ADD; 22314 PUSH32(esp, 0); /* 0x2B070F74: push 0 */ 22315 PUSH32(esp, eax); /* 0x2B070F76: push eax */ 22316 ecx = ebp + (-0x44); /* 0x2B070F77: lea ecx, [ebp - 0x44] */ 22317 MEM32(ebp + (-0x18)) = eax; /* 0x2B070F7A: mov dword ptr [ebp - 0x18], eax */ 22318 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070F7D: call dword ptr [0x2b0b5154] */ 22319 RECOMP_FLAGS_IN(); 22320 /* test LO8(eax), LO8(eax) */ /* 0x2B070F83: test al, al */ 22321 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 22322 _cf = 0; 22323 _flag_k = FK_NARROW(FK_TEST, 24); 22324 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070FB8; /* 0x2B070F85: je 0x2b070fb8 */ 22325 L_2B070F87: 22326 eax = MEM32(ebp + (-0x3C)); /* 0x2B070F87: mov eax, dword ptr [ebp - 0x3c] */ 22327 edx = MEM32(ebp + (-0x40)); /* 0x2B070F8A: mov edx, dword ptr [ebp - 0x40] */ 22328 ecx = edi; /* 0x2B070F8D: mov ecx, edi */ 22329 edi = eax + edx; /* 0x2B070F8F: lea edi, [eax + edx] */ 22330 eax = MEM32(ebp + (-0x18)); /* 0x2B070F92: mov eax, dword ptr [ebp - 0x18] */ 22331 edx = ecx; /* 0x2B070F95: mov edx, ecx */ 22332 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070F97: shr ecx, 2 */ 22333 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 22334 ecx = ecx >> 2u; /* 0x2B070F97: shr ecx, 2 */ 22335 esi = 0x2B0E2BF8u; /* 0x2B070F9A: mov esi, 0x2b0e2bf8 */ 22336 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070F9F: 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; } 22337 ecx = edx; /* 0x2B070FA1: mov ecx, edx */ 22338 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 22339 ecx = ecx & 3; /* 0x2B070FA3: and ecx, 3 */ 22340 _cf = 0; 22341 _flag_k = FK_TEST; 22342 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070FA6: 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; } 22343 ecx = MEM32(ebp + (-0x40)); /* 0x2B070FA8: mov ecx, dword ptr [ebp - 0x40] */ 22344 esi = MEM32(0x2B0B5D6C); /* 0x2B070FAB: mov esi, dword ptr [0x2b0b5d6c] */ 22345 MEM32(ebp + (-0x3C)) = eax; /* 0x2B070FB1: mov dword ptr [ebp - 0x3c], eax */ 22346 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B070FB4: mov byte ptr [ecx + eax], 0 */ 22347 L_2B070FB8: 22348 edi = MEM32(ebp + (-0x14)); /* 0x2B070FB8: mov edi, dword ptr [ebp - 0x14] */ 22349 edx = MEM32(0x2B0B515C); /* 0x2B070FBB: mov edx, dword ptr [0x2b0b515c] */ 22350 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 22351 eax = 0; /* 0x2B070FC1: xor eax, eax */ 22352 _cf = 0; 22353 _flag_k = FK_TEST; 22354 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 22355 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070FC3: or ecx, 0xffffffff */ 22356 _cf = 0; 22357 _flag_k = FK_TEST; 22358 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; } /* 0x2B070FC6: repne scasb al, byte ptr es:[edi] */ 22359 eax = MEM32(edx); /* 0x2B070FC8: mov eax, dword ptr [edx] */ 22360 edx = MEM32(ebp + (-0x3C)); /* 0x2B070FCA: mov edx, dword ptr [ebp - 0x3c] */ 22361 ecx = ~ecx; /* 0x2B070FCD: not ecx */ 22362 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 22363 ecx = ecx - 1; /* 0x2B070FCF: dec ecx */ 22364 _flag_k = FK_DEC; 22365 edi = ecx; /* 0x2B070FD0: mov edi, ecx */ 22366 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 22367 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22368 eax = eax - edx; /* 0x2B070FD2: sub eax, edx */ 22369 _flag_k = FK_CMP; 22370 /* cmp eax, edi */ /* 0x2B070FD4: cmp eax, edi */ 22371 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 22372 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22373 _flag_k = FK_CMP; 22374 if (CMP_A(_flag_a, _flag_b)) goto L_2B070FDE; /* 0x2B070FD6: ja 0x2b070fde */ 22375 L_2B070FD8: 22376 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070FD8: call dword ptr [0x2b0b51a8] */ 22377 RECOMP_FLAGS_IN(); 22378 L_2B070FDE: 22379 /* test edi, edi */ /* 0x2B070FDE: test edi, edi */ 22380 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 22381 _cf = 0; 22382 _flag_k = FK_TEST; 22383 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07102A; /* 0x2B070FE0: jbe 0x2b07102a */ 22384 L_2B070FE2: 22385 ecx = MEM32(ebp + (-0x3C)); /* 0x2B070FE2: mov ecx, dword ptr [ebp - 0x3c] */ 22386 eax = ecx + edi; /* 0x2B070FE5: lea eax, [ecx + edi] */ 22387 PUSH32(esp, 0); /* 0x2B070FE8: push 0 */ 22388 PUSH32(esp, eax); /* 0x2B070FEA: push eax */ 22389 ecx = ebp + (-0x44); /* 0x2B070FEB: lea ecx, [ebp - 0x44] */ 22390 MEM32(ebp + (-0x18)) = eax; /* 0x2B070FEE: mov dword ptr [ebp - 0x18], eax */ 22391 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070FF1: call dword ptr [0x2b0b5154] */ 22392 RECOMP_FLAGS_IN(); 22393 /* test LO8(eax), LO8(eax) */ /* 0x2B070FF7: test al, al */ 22394 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 22395 _cf = 0; 22396 _flag_k = FK_NARROW(FK_TEST, 24); 22397 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07102A; /* 0x2B070FF9: je 0x2b07102a */ 22398 L_2B070FFB: 22399 eax = MEM32(ebp + (-0x3C)); /* 0x2B070FFB: mov eax, dword ptr [ebp - 0x3c] */ 22400 edx = MEM32(ebp + (-0x40)); /* 0x2B070FFE: mov edx, dword ptr [ebp - 0x40] */ 22401 esi = MEM32(ebp + (-0x14)); /* 0x2B071001: mov esi, dword ptr [ebp - 0x14] */ 22402 ecx = edi; /* 0x2B071004: mov ecx, edi */ 22403 edi = eax + edx; /* 0x2B071006: lea edi, [eax + edx] */ 22404 eax = MEM32(ebp + (-0x18)); /* 0x2B071009: mov eax, dword ptr [ebp - 0x18] */ 22405 edx = ecx; /* 0x2B07100C: mov edx, ecx */ 22406 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07100E: shr ecx, 2 */ 22407 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 22408 ecx = ecx >> 2u; /* 0x2B07100E: shr ecx, 2 */ 22409 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071011: 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; } 22410 ecx = edx; /* 0x2B071013: mov ecx, edx */ 22411 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 22412 ecx = ecx & 3; /* 0x2B071015: and ecx, 3 */ 22413 _cf = 0; 22414 _flag_k = FK_TEST; 22415 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071018: 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; } 22416 ecx = MEM32(ebp + (-0x40)); /* 0x2B07101A: mov ecx, dword ptr [ebp - 0x40] */ 22417 esi = MEM32(0x2B0B5D6C); /* 0x2B07101D: mov esi, dword ptr [0x2b0b5d6c] */ 22418 MEM32(ebp + (-0x3C)) = eax; /* 0x2B071023: mov dword ptr [ebp - 0x3c], eax */ 22419 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B071026: mov byte ptr [ecx + eax], 0 */ 22420 L_2B07102A: 22421 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 22422 edi = 0; /* 0x2B07102A: xor edi, edi */ 22423 _cf = 0; 22424 _flag_k = FK_TEST; 22425 L_2B07102C: 22426 edx = ebp + (-0x20); /* 0x2B07102C: lea edx, [ebp - 0x20] */ 22427 PUSH32(esp, edx); /* 0x2B07102F: push edx */ 22428 RECOMP_ICALL(esi); /* 0x2B071030: call esi */ 22429 RECOMP_FLAGS_IN(); 22430 ecx = eax; /* 0x2B071032: mov ecx, eax */ 22431 RECOMP_ICALL(MEM32(0x2B0B5D54)); /* 0x2B071034: call dword ptr [0x2b0b5d54] */ 22432 RECOMP_FLAGS_IN(); 22433 L_2B07103A: 22434 _flag_a = (uint32_t)(MEM32(ebp + 0xC)); _flag_b = (uint32_t)(1); 22435 MEM32(ebp + 0xC) = MEM32(ebp + 0xC) + 1; /* 0x2B07103A: inc dword ptr [ebp + 0xc] */ 22436 _flag_k = FK_INC; 22437 RECOMP_BACKEDGE(); 22438 goto L_2B070EBC; /* 0x2B07103D: jmp 0x2b070ebc */ 22439 L_2B071042: 22440 /* cmp MEM32(ebp + (-0x3C)), edi */ /* 0x2B071042: cmp dword ptr [ebp - 0x3c], edi */ 22441 _flag_a = (uint32_t)(MEM32(ebp + (-0x3C))); _flag_b = (uint32_t)(edi); 22442 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22443 _flag_k = FK_CMP; 22444 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071064; /* 0x2B071045: je 0x2b071064 */ 22445 L_2B071047: 22446 eax = MEM32(ebp + (-0x40)); /* 0x2B071047: mov eax, dword ptr [ebp - 0x40] */ 22447 /* cmp eax, edi */ /* 0x2B07104A: cmp eax, edi */ 22448 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 22449 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22450 _flag_k = FK_CMP; 22451 if (CMP_NE(_flag_a, _flag_b)) goto L_2B071053; /* 0x2B07104C: jne 0x2b071053 */ 22452 L_2B07104E: 22453 eax = MEM32(0x2B0B513C); /* 0x2B07104E: mov eax, dword ptr [0x2b0b513c] */ 22454 L_2B071053: 22455 ecx = MEM32(ebx + 0x28); /* 0x2B071053: mov ecx, dword ptr [ebx + 0x28] */ 22456 PUSH32(esp, ecx); /* 0x2B071056: push ecx */ 22457 PUSH32(esp, eax); /* 0x2B071057: push eax */ 22458 PUSH32(esp, 0x2B0EB770u); /* 0x2B071058: push 0x2b0eb770 */ 22459 ecx = ebx; /* 0x2B07105D: mov ecx, ebx */ 22460 RECOMP_ICALL(0x2B073610u); /* 0x2B07105F: call 0x2b073610 */ /* not lifted */ 22461 RECOMP_FLAGS_IN(); 22462 L_2B071064: 22463 eax = MEM32(ebp + (-0x34)); /* 0x2B071064: mov eax, dword ptr [ebp - 0x34] */ 22464 /* cmp eax, edi */ /* 0x2B071067: cmp eax, edi */ 22465 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 22466 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22467 _flag_k = FK_CMP; 22468 MEM32(ebp + (-0x4)) = 2; /* 0x2B071069: mov dword ptr [ebp - 4], 2 */ 22469 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710D2; /* 0x2B071070: je 0x2b0710d2 */ 22470 L_2B071072: 22471 edx = MEM32(eax + 0x2C); /* 0x2B071072: mov edx, dword ptr [eax + 0x2c] */ 22472 edi = eax; /* 0x2B071075: mov edi, eax */ 22473 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 22474 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22475 eax = eax + 0x2Cu; /* 0x2B071077: add eax, 0x2c */ 22476 _flag_k = FK_ADD; 22477 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 22478 edx = edx - 1; /* 0x2B07107A: dec edx */ 22479 _flag_k = FK_DEC; 22480 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 22481 esi = 0; /* 0x2B07107B: xor esi, esi */ 22482 _cf = 0; 22483 _flag_k = FK_TEST; 22484 ecx = edx; /* 0x2B07107D: mov ecx, edx */ 22485 /* cmp ecx, esi */ /* 0x2B07107F: cmp ecx, esi */ 22486 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 22487 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22488 _flag_k = FK_CMP; 22489 MEM32(eax) = edx; /* 0x2B071081: mov dword ptr [eax], edx */ 22490 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0710D4; /* 0x2B071083: jne 0x2b0710d4 */ 22491 L_2B071085: 22492 /* cmp edi, esi */ /* 0x2B071085: cmp edi, esi */ 22493 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 22494 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22495 _flag_k = FK_CMP; 22496 MEM32(ebp + 0xC) = edi; /* 0x2B071087: mov dword ptr [ebp + 0xc], edi */ 22497 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710D4; /* 0x2B07108A: je 0x2b0710d4 */ 22498 L_2B07108C: 22499 PUSH32(esp, 1); /* 0x2B07108C: push 1 */ 22500 ecx = edi + 0x1C; /* 0x2B07108E: lea ecx, [edi + 0x1c] */ 22501 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B071091: mov byte ptr [ebp - 4], 3 */ 22502 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B071095: call dword ptr [0x2b0b514c] */ 22503 RECOMP_FLAGS_IN(); 22504 eax = MEM32(edi + 0x10); /* 0x2B07109B: mov eax, dword ptr [edi + 0x10] */ 22505 /* cmp eax, esi */ /* 0x2B07109E: cmp eax, esi */ 22506 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 22507 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22508 _flag_k = FK_CMP; 22509 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710BE; /* 0x2B0710A0: je 0x2b0710be */ 22510 L_2B0710A2: 22511 ecx = eax + (-0x1); /* 0x2B0710A2: lea ecx, [eax - 1] */ 22512 SET_LO8(eax, MEM8(ecx)); /* 0x2B0710A5: mov al, byte ptr [ecx] */ 22513 /* test LO8(eax), LO8(eax) */ /* 0x2B0710A7: test al, al */ 22514 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 22515 _cf = 0; 22516 _flag_k = FK_NARROW(FK_TEST, 24); 22517 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0710B5; /* 0x2B0710A9: je 0x2b0710b5 */ 22518 L_2B0710AB: 22519 /* cmp LO8(eax), 0xFFu */ /* 0x2B0710AB: cmp al, 0xff */ 22520 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 22521 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22522 _flag_k = FK_NARROW(FK_CMP, 24); 22523 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710B5; /* 0x2B0710AD: je 0x2b0710b5 */ 22524 L_2B0710AF: 22525 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 22526 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0710AF: dec al */ 22527 _flag_k = FK_NARROW(FK_DEC, 24); 22528 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B0710B1: mov byte ptr [ecx], al */ 22529 goto L_2B0710BE; /* 0x2B0710B3: jmp 0x2b0710be */ 22530 L_2B0710B5: 22531 PUSH32(esp, ecx); /* 0x2B0710B5: push ecx */ 22532 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0710B6: call 0x2b0ab1ba */ /* not lifted */ 22533 RECOMP_FLAGS_IN(); 22534 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 22535 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22536 esp = esp + 4; /* 0x2B0710BB: add esp, 4 */ 22537 _flag_k = FK_ADD; 22538 L_2B0710BE: 22539 PUSH32(esp, edi); /* 0x2B0710BE: push edi */ 22540 MEM32(edi + 0x10) = esi; /* 0x2B0710BF: mov dword ptr [edi + 0x10], esi */ 22541 MEM32(edi + 0x14) = esi; /* 0x2B0710C2: mov dword ptr [edi + 0x14], esi */ 22542 MEM32(edi + 0x18) = esi; /* 0x2B0710C5: mov dword ptr [edi + 0x18], esi */ 22543 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0710C8: call 0x2b0ab1ba */ /* not lifted */ 22544 RECOMP_FLAGS_IN(); 22545 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 22546 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22547 esp = esp + 4; /* 0x2B0710CD: add esp, 4 */ 22548 _flag_k = FK_ADD; 22549 goto L_2B0710D4; /* 0x2B0710D0: jmp 0x2b0710d4 */ 22550 L_2B0710D2: 22551 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 22552 esi = 0; /* 0x2B0710D2: xor esi, esi */ 22553 _cf = 0; 22554 _flag_k = FK_TEST; 22555 L_2B0710D4: 22556 ecx = MEM32(ebp + (-0x40)); /* 0x2B0710D4: mov ecx, dword ptr [ebp - 0x40] */ 22557 /* cmp ecx, esi */ /* 0x2B0710D7: cmp ecx, esi */ 22558 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 22559 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22560 _flag_k = FK_CMP; 22561 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071108; /* 0x2B0710D9: je 0x2b071108 */ 22562 L_2B0710DB: 22563 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B0710DB: mov al, byte ptr [ecx - 1] */ 22564 /* test LO8(eax), LO8(eax) */ /* 0x2B0710DE: test al, al */ 22565 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 22566 _cf = 0; 22567 _flag_k = FK_NARROW(FK_TEST, 24); 22568 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0710FE; /* 0x2B0710E0: je 0x2b0710fe */ 22569 L_2B0710E2: 22570 /* cmp LO8(eax), 0xFFu */ /* 0x2B0710E2: cmp al, 0xff */ 22571 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 22572 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22573 _flag_k = FK_NARROW(FK_CMP, 24); 22574 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710FE; /* 0x2B0710E4: je 0x2b0710fe */ 22575 L_2B0710E6: 22576 edi = POP32_VAL(esp); /* 0x2B0710E6: pop edi */ 22577 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 22578 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0710E7: dec al */ 22579 _flag_k = FK_NARROW(FK_DEC, 24); 22580 esi = POP32_VAL(esp); /* 0x2B0710E9: pop esi */ 22581 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B0710EA: mov byte ptr [ecx - 1], al */ 22582 ebx = POP32_VAL(esp); /* 0x2B0710ED: pop ebx */ 22583 ecx = MEM32(ebp + (-0xC)); /* 0x2B0710EE: mov ecx, dword ptr [ebp - 0xc] */ 22584 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0710F1: mov dword ptr fs:[0], ecx */ 22585 esp = ebp; /* 0x2B0710F8: mov esp, ebp */ 22586 ebp = POP32_VAL(esp); /* 0x2B0710FA: pop ebp */ 22587 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0710FB: ret 8 */ 22588 L_2B0710FE: 22589 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 22590 ecx = ecx - 1; /* 0x2B0710FE: dec ecx */ 22591 _flag_k = FK_DEC; 22592 PUSH32(esp, ecx); /* 0x2B0710FF: push ecx */ 22593 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B071100: call 0x2b0ab1ba */ /* not lifted */ 22594 RECOMP_FLAGS_IN(); 22595 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 22596 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22597 esp = esp + 4; /* 0x2B071105: add esp, 4 */ 22598 _flag_k = FK_ADD; 22599 L_2B071108: 22600 ecx = MEM32(ebp + (-0xC)); /* 0x2B071108: mov ecx, dword ptr [ebp - 0xc] */ 22601 edi = POP32_VAL(esp); /* 0x2B07110B: pop edi */ 22602 esi = POP32_VAL(esp); /* 0x2B07110C: pop esi */ 22603 ebx = POP32_VAL(esp); /* 0x2B07110D: pop ebx */ 22604 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07110E: mov dword ptr fs:[0], ecx */ 22605 esp = ebp; /* 0x2B071115: mov esp, ebp */ 22606 ebp = POP32_VAL(esp); /* 0x2B071117: pop ebp */ 22607 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B071118: ret 8 */ 22608 RECOMP_REGS_OUT(); 22609 } 22610 22611 void sub_2B0705A6(void) { 22612 int _fpu_cmp = 0; 22613 uint32_t _cf = 0; 22614 int _df = 1; 22615 uint32_t _flag_k = FK_NONE; 22616 uint32_t _flag_a = 0, _flag_b = 0; 22617 uint32_t _itail_tgt = 0; 22618 RECOMP_REGS_LOCALS 22619 RECOMP_ENTER(0x2B0705A6u); 22620 22621 L_2B0705A6: 22622 PUSH32(esp, 0x2B0EEE84u); /* 0x2B0705A6: push 0x2b0eee84 */ 22623 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B0705AB: call dword ptr [0x2b0b51f0] */ 22624 RECOMP_FLAGS_IN(); 22625 edi = MEM32(ebp + 0x8); /* 0x2B0705B1: mov edi, dword ptr [ebp + 8] */ 22626 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 22627 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22628 esp = esp + 8; /* 0x2B0705B4: add esp, 8 */ 22629 _flag_k = FK_ADD; 22630 PUSH32(esp, edi); /* 0x2B0705B7: push edi */ 22631 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0705B8: call dword ptr [0x2b0b5d6c] */ 22632 RECOMP_FLAGS_IN(); 22633 ecx = eax; /* 0x2B0705BE: mov ecx, eax */ 22634 RECOMP_ICALL(MEM32(0x2B0B5DEC)); /* 0x2B0705C0: call dword ptr [0x2b0b5dec] */ 22635 RECOMP_FLAGS_IN(); 22636 /* test eax, eax */ /* 0x2B0705C6: test eax, eax */ 22637 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 22638 _cf = 0; 22639 _flag_k = FK_TEST; 22640 MEM32(ebp + (-0x14)) = eax; /* 0x2B0705C8: mov dword ptr [ebp - 0x14], eax */ 22641 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070775; /* 0x2B0705CB: je 0x2b070775 */ 22642 L_2B0705D1: 22643 ecx = MEM32(ebx + 0x28); /* 0x2B0705D1: mov ecx, dword ptr [ebx + 0x28] */ 22644 PUSH32(esp, 0x13u); /* 0x2B0705D4: push 0x13 */ 22645 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0705D6: push -1 */ 22646 RECOMP_ICALL(esi); /* 0x2B0705D8: call esi */ 22647 RECOMP_FLAGS_IN(); 22648 edx = MEM32(ebx + 0x28); /* 0x2B0705DA: mov edx, dword ptr [ebx + 0x28] */ 22649 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 22650 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0705DD: or ecx, 0xffffffff */ 22651 _cf = 0; 22652 _flag_k = FK_TEST; 22653 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 22654 eax = 0; /* 0x2B0705E0: xor eax, eax */ 22655 _cf = 0; 22656 _flag_k = FK_TEST; 22657 edi = 0x2B0E2BF8u; /* 0x2B0705E2: mov edi, 0x2b0e2bf8 */ 22658 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; } /* 0x2B0705E7: repne scasb al, byte ptr es:[edi] */ 22659 eax = MEM32(0x2B0B515C); /* 0x2B0705E9: mov eax, dword ptr [0x2b0b515c] */ 22660 ecx = ~ecx; /* 0x2B0705EE: not ecx */ 22661 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 22662 ecx = ecx - 1; /* 0x2B0705F0: dec ecx */ 22663 _flag_k = FK_DEC; 22664 edi = ecx; /* 0x2B0705F1: mov edi, ecx */ 22665 ecx = MEM32(eax); /* 0x2B0705F3: mov ecx, dword ptr [eax] */ 22666 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 22667 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22668 ecx = ecx - MEM32(edx + 0x8); /* 0x2B0705F5: sub ecx, dword ptr [edx + 8] */ 22669 _flag_k = FK_CMP; 22670 /* cmp ecx, edi */ /* 0x2B0705F8: cmp ecx, edi */ 22671 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 22672 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22673 _flag_k = FK_CMP; 22674 MEM32(ebp + 0xC) = edx; /* 0x2B0705FA: mov dword ptr [ebp + 0xc], edx */ 22675 if (CMP_A(_flag_a, _flag_b)) goto L_2B070605; /* 0x2B0705FD: ja 0x2b070605 */ 22676 L_2B0705FF: 22677 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0705FF: call dword ptr [0x2b0b51a8] */ 22678 RECOMP_FLAGS_IN(); 22679 L_2B070605: 22680 /* test edi, edi */ /* 0x2B070605: test edi, edi */ 22681 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 22682 _cf = 0; 22683 _flag_k = FK_TEST; 22684 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070657; /* 0x2B070607: jbe 0x2b070657 */ 22685 L_2B070609: 22686 ecx = MEM32(ebp + 0xC); /* 0x2B070609: mov ecx, dword ptr [ebp + 0xc] */ 22687 edx = MEM32(ecx + 0x8); /* 0x2B07060C: mov edx, dword ptr [ecx + 8] */ 22688 eax = edi; /* 0x2B07060F: mov eax, edi */ 22689 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 22690 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22691 eax = eax + edx; /* 0x2B070611: add eax, edx */ 22692 _flag_k = FK_ADD; 22693 PUSH32(esp, 0); /* 0x2B070613: push 0 */ 22694 PUSH32(esp, eax); /* 0x2B070615: push eax */ 22695 MEM32(ebp + (-0x18)) = eax; /* 0x2B070616: mov dword ptr [ebp - 0x18], eax */ 22696 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070619: call dword ptr [0x2b0b5154] */ 22697 RECOMP_FLAGS_IN(); 22698 /* test LO8(eax), LO8(eax) */ /* 0x2B07061F: test al, al */ 22699 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 22700 _cf = 0; 22701 _flag_k = FK_NARROW(FK_TEST, 24); 22702 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070657; /* 0x2B070621: je 0x2b070657 */ 22703 L_2B070623: 22704 eax = MEM32(ebp + 0xC); /* 0x2B070623: mov eax, dword ptr [ebp + 0xc] */ 22705 esi = MEM32(eax + 0x8); /* 0x2B070626: mov esi, dword ptr [eax + 8] */ 22706 edx = MEM32(eax + 0x4); /* 0x2B070629: mov edx, dword ptr [eax + 4] */ 22707 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 22708 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22709 edx = edx + esi; /* 0x2B07062C: add edx, esi */ 22710 _flag_k = FK_ADD; 22711 ecx = edi; /* 0x2B07062E: mov ecx, edi */ 22712 edi = edx; /* 0x2B070630: mov edi, edx */ 22713 edx = ecx; /* 0x2B070632: mov edx, ecx */ 22714 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070634: shr ecx, 2 */ 22715 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 22716 ecx = ecx >> 2u; /* 0x2B070634: shr ecx, 2 */ 22717 esi = 0x2B0E2BF8u; /* 0x2B070637: mov esi, 0x2b0e2bf8 */ 22718 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07063C: 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; } 22719 ecx = edx; /* 0x2B07063E: mov ecx, edx */ 22720 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 22721 ecx = ecx & 3; /* 0x2B070640: and ecx, 3 */ 22722 _cf = 0; 22723 _flag_k = FK_TEST; 22724 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070643: 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; } 22725 ecx = MEM32(ebp + (-0x18)); /* 0x2B070645: mov ecx, dword ptr [ebp - 0x18] */ 22726 PUSH32(esp, ecx); /* 0x2B070648: push ecx */ 22727 ecx = eax; /* 0x2B070649: mov ecx, eax */ 22728 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07064B: call dword ptr [0x2b0b5150] */ 22729 RECOMP_FLAGS_IN(); 22730 esi = MEM32(0x2B0B5A74); /* 0x2B070651: mov esi, dword ptr [0x2b0b5a74] */ 22731 L_2B070657: 22732 edx = MEM32(ebx + 0x28); /* 0x2B070657: mov edx, dword ptr [ebx + 0x28] */ 22733 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 22734 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07065A: or ecx, 0xffffffff */ 22735 _cf = 0; 22736 _flag_k = FK_TEST; 22737 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 22738 eax = 0; /* 0x2B07065D: xor eax, eax */ 22739 _cf = 0; 22740 _flag_k = FK_TEST; 22741 edi = 0x2B0EEE84u; /* 0x2B07065F: mov edi, 0x2b0eee84 */ 22742 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; } /* 0x2B070664: repne scasb al, byte ptr es:[edi] */ 22743 eax = MEM32(0x2B0B515C); /* 0x2B070666: mov eax, dword ptr [0x2b0b515c] */ 22744 ecx = ~ecx; /* 0x2B07066B: not ecx */ 22745 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 22746 ecx = ecx - 1; /* 0x2B07066D: dec ecx */ 22747 _flag_k = FK_DEC; 22748 edi = ecx; /* 0x2B07066E: mov edi, ecx */ 22749 ecx = MEM32(eax); /* 0x2B070670: mov ecx, dword ptr [eax] */ 22750 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 22751 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22752 ecx = ecx - MEM32(edx + 0x8); /* 0x2B070672: sub ecx, dword ptr [edx + 8] */ 22753 _flag_k = FK_CMP; 22754 /* cmp ecx, edi */ /* 0x2B070675: cmp ecx, edi */ 22755 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 22756 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22757 _flag_k = FK_CMP; 22758 MEM32(ebp + 0xC) = edx; /* 0x2B070677: mov dword ptr [ebp + 0xc], edx */ 22759 if (CMP_A(_flag_a, _flag_b)) goto L_2B070682; /* 0x2B07067A: ja 0x2b070682 */ 22760 L_2B07067C: 22761 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07067C: call dword ptr [0x2b0b51a8] */ 22762 RECOMP_FLAGS_IN(); 22763 L_2B070682: 22764 /* test edi, edi */ /* 0x2B070682: test edi, edi */ 22765 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 22766 _cf = 0; 22767 _flag_k = FK_TEST; 22768 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0706D4; /* 0x2B070684: jbe 0x2b0706d4 */ 22769 L_2B070686: 22770 ecx = MEM32(ebp + 0xC); /* 0x2B070686: mov ecx, dword ptr [ebp + 0xc] */ 22771 edx = MEM32(ecx + 0x8); /* 0x2B070689: mov edx, dword ptr [ecx + 8] */ 22772 eax = edi; /* 0x2B07068C: mov eax, edi */ 22773 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 22774 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22775 eax = eax + edx; /* 0x2B07068E: add eax, edx */ 22776 _flag_k = FK_ADD; 22777 PUSH32(esp, 0); /* 0x2B070690: push 0 */ 22778 PUSH32(esp, eax); /* 0x2B070692: push eax */ 22779 MEM32(ebp + (-0x18)) = eax; /* 0x2B070693: mov dword ptr [ebp - 0x18], eax */ 22780 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070696: call dword ptr [0x2b0b5154] */ 22781 RECOMP_FLAGS_IN(); 22782 /* test LO8(eax), LO8(eax) */ /* 0x2B07069C: test al, al */ 22783 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 22784 _cf = 0; 22785 _flag_k = FK_NARROW(FK_TEST, 24); 22786 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0706D4; /* 0x2B07069E: je 0x2b0706d4 */ 22787 L_2B0706A0: 22788 eax = MEM32(ebp + 0xC); /* 0x2B0706A0: mov eax, dword ptr [ebp + 0xc] */ 22789 esi = MEM32(eax + 0x8); /* 0x2B0706A3: mov esi, dword ptr [eax + 8] */ 22790 edx = MEM32(eax + 0x4); /* 0x2B0706A6: mov edx, dword ptr [eax + 4] */ 22791 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 22792 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22793 edx = edx + esi; /* 0x2B0706A9: add edx, esi */ 22794 _flag_k = FK_ADD; 22795 ecx = edi; /* 0x2B0706AB: mov ecx, edi */ 22796 edi = edx; /* 0x2B0706AD: mov edi, edx */ 22797 edx = ecx; /* 0x2B0706AF: mov edx, ecx */ 22798 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0706B1: shr ecx, 2 */ 22799 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 22800 ecx = ecx >> 2u; /* 0x2B0706B1: shr ecx, 2 */ 22801 esi = 0x2B0EEE84u; /* 0x2B0706B4: mov esi, 0x2b0eee84 */ 22802 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0706B9: 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; } 22803 ecx = edx; /* 0x2B0706BB: mov ecx, edx */ 22804 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 22805 ecx = ecx & 3; /* 0x2B0706BD: and ecx, 3 */ 22806 _cf = 0; 22807 _flag_k = FK_TEST; 22808 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0706C0: 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; } 22809 ecx = MEM32(ebp + (-0x18)); /* 0x2B0706C2: mov ecx, dword ptr [ebp - 0x18] */ 22810 PUSH32(esp, ecx); /* 0x2B0706C5: push ecx */ 22811 ecx = eax; /* 0x2B0706C6: mov ecx, eax */ 22812 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B0706C8: call dword ptr [0x2b0b5150] */ 22813 RECOMP_FLAGS_IN(); 22814 esi = MEM32(0x2B0B5A74); /* 0x2B0706CE: mov esi, dword ptr [0x2b0b5a74] */ 22815 L_2B0706D4: 22816 edx = MEM32(ebx + 0x28); /* 0x2B0706D4: mov edx, dword ptr [ebx + 0x28] */ 22817 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 22818 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0706D7: or ecx, 0xffffffff */ 22819 _cf = 0; 22820 _flag_k = FK_TEST; 22821 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 22822 eax = 0; /* 0x2B0706DA: xor eax, eax */ 22823 _cf = 0; 22824 _flag_k = FK_TEST; 22825 edi = 0x2B0E1C00u; /* 0x2B0706DC: mov edi, 0x2b0e1c00 */ 22826 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; } /* 0x2B0706E1: repne scasb al, byte ptr es:[edi] */ 22827 eax = MEM32(0x2B0B515C); /* 0x2B0706E3: mov eax, dword ptr [0x2b0b515c] */ 22828 ecx = ~ecx; /* 0x2B0706E8: not ecx */ 22829 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 22830 ecx = ecx - 1; /* 0x2B0706EA: dec ecx */ 22831 _flag_k = FK_DEC; 22832 edi = ecx; /* 0x2B0706EB: mov edi, ecx */ 22833 ecx = MEM32(eax); /* 0x2B0706ED: mov ecx, dword ptr [eax] */ 22834 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 22835 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22836 ecx = ecx - MEM32(edx + 0x8); /* 0x2B0706EF: sub ecx, dword ptr [edx + 8] */ 22837 _flag_k = FK_CMP; 22838 /* cmp ecx, edi */ /* 0x2B0706F2: cmp ecx, edi */ 22839 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 22840 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22841 _flag_k = FK_CMP; 22842 MEM32(ebp + 0xC) = edx; /* 0x2B0706F4: mov dword ptr [ebp + 0xc], edx */ 22843 if (CMP_A(_flag_a, _flag_b)) goto L_2B0706FF; /* 0x2B0706F7: ja 0x2b0706ff */ 22844 L_2B0706F9: 22845 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0706F9: call dword ptr [0x2b0b51a8] */ 22846 RECOMP_FLAGS_IN(); 22847 L_2B0706FF: 22848 /* test edi, edi */ /* 0x2B0706FF: test edi, edi */ 22849 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 22850 _cf = 0; 22851 _flag_k = FK_TEST; 22852 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070751; /* 0x2B070701: jbe 0x2b070751 */ 22853 L_2B070703: 22854 ecx = MEM32(ebp + 0xC); /* 0x2B070703: mov ecx, dword ptr [ebp + 0xc] */ 22855 edx = MEM32(ecx + 0x8); /* 0x2B070706: mov edx, dword ptr [ecx + 8] */ 22856 eax = edi; /* 0x2B070709: mov eax, edi */ 22857 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 22858 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22859 eax = eax + edx; /* 0x2B07070B: add eax, edx */ 22860 _flag_k = FK_ADD; 22861 PUSH32(esp, 0); /* 0x2B07070D: push 0 */ 22862 PUSH32(esp, eax); /* 0x2B07070F: push eax */ 22863 MEM32(ebp + (-0x18)) = eax; /* 0x2B070710: mov dword ptr [ebp - 0x18], eax */ 22864 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070713: call dword ptr [0x2b0b5154] */ 22865 RECOMP_FLAGS_IN(); 22866 /* test LO8(eax), LO8(eax) */ /* 0x2B070719: test al, al */ 22867 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 22868 _cf = 0; 22869 _flag_k = FK_NARROW(FK_TEST, 24); 22870 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070751; /* 0x2B07071B: je 0x2b070751 */ 22871 L_2B07071D: 22872 eax = MEM32(ebp + 0xC); /* 0x2B07071D: mov eax, dword ptr [ebp + 0xc] */ 22873 esi = MEM32(eax + 0x8); /* 0x2B070720: mov esi, dword ptr [eax + 8] */ 22874 edx = MEM32(eax + 0x4); /* 0x2B070723: mov edx, dword ptr [eax + 4] */ 22875 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 22876 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22877 edx = edx + esi; /* 0x2B070726: add edx, esi */ 22878 _flag_k = FK_ADD; 22879 ecx = edi; /* 0x2B070728: mov ecx, edi */ 22880 edi = edx; /* 0x2B07072A: mov edi, edx */ 22881 edx = ecx; /* 0x2B07072C: mov edx, ecx */ 22882 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07072E: shr ecx, 2 */ 22883 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 22884 ecx = ecx >> 2u; /* 0x2B07072E: shr ecx, 2 */ 22885 esi = 0x2B0E1C00u; /* 0x2B070731: mov esi, 0x2b0e1c00 */ 22886 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070736: 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; } 22887 ecx = edx; /* 0x2B070738: mov ecx, edx */ 22888 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 22889 ecx = ecx & 3; /* 0x2B07073A: and ecx, 3 */ 22890 _cf = 0; 22891 _flag_k = FK_TEST; 22892 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07073D: 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; } 22893 ecx = MEM32(ebp + (-0x18)); /* 0x2B07073F: mov ecx, dword ptr [ebp - 0x18] */ 22894 PUSH32(esp, ecx); /* 0x2B070742: push ecx */ 22895 ecx = eax; /* 0x2B070743: mov ecx, eax */ 22896 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B070745: call dword ptr [0x2b0b5150] */ 22897 RECOMP_FLAGS_IN(); 22898 esi = MEM32(0x2B0B5A74); /* 0x2B07074B: mov esi, dword ptr [0x2b0b5a74] */ 22899 L_2B070751: 22900 ecx = MEM32(ebx + 0x28); /* 0x2B070751: mov ecx, dword ptr [ebx + 0x28] */ 22901 PUSH32(esp, 0x14u); /* 0x2B070754: push 0x14 */ 22902 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070756: push -1 */ 22903 RECOMP_ICALL(esi); /* 0x2B070758: call esi */ 22904 RECOMP_FLAGS_IN(); 22905 edx = MEM32(0x2B0B515C); /* 0x2B07075A: mov edx, dword ptr [0x2b0b515c] */ 22906 eax = MEM32(edx); /* 0x2B070760: mov eax, dword ptr [edx] */ 22907 edx = MEM32(ebp + (-0x14)); /* 0x2B070762: mov edx, dword ptr [ebp - 0x14] */ 22908 ecx = MEM32(ebx + 0x28); /* 0x2B070765: mov ecx, dword ptr [ebx + 0x28] */ 22909 PUSH32(esp, eax); /* 0x2B070768: push eax */ 22910 PUSH32(esp, 0); /* 0x2B070769: push 0 */ 22911 PUSH32(esp, edx); /* 0x2B07076B: push edx */ 22912 RECOMP_ICALL(MEM32(0x2B0B51A0)); /* 0x2B07076C: call dword ptr [0x2b0b51a0] */ 22913 RECOMP_FLAGS_IN(); 22914 edi = MEM32(ebp + 0x8); /* 0x2B070772: mov edi, dword ptr [ebp + 8] */ 22915 L_2B070775: 22916 PUSH32(esp, edi); /* 0x2B070775: push edi */ 22917 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B070776: call dword ptr [0x2b0b5d6c] */ 22918 RECOMP_FLAGS_IN(); 22919 ecx = eax; /* 0x2B07077C: mov ecx, eax */ 22920 RECOMP_ICALL(MEM32(0x2B0B5D78)); /* 0x2B07077E: call dword ptr [0x2b0b5d78] */ 22921 RECOMP_FLAGS_IN(); 22922 /* test eax, eax */ /* 0x2B070784: test eax, eax */ 22923 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 22924 _cf = 0; 22925 _flag_k = FK_TEST; 22926 MEM32(ebp + (-0x14)) = eax; /* 0x2B070786: mov dword ptr [ebp - 0x14], eax */ 22927 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0709AC; /* 0x2B070789: je 0x2b0709ac */ 22928 L_2B07078F: 22929 /* cmp MEM8(eax), 0 */ /* 0x2B07078F: cmp byte ptr [eax], 0 */ 22930 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0) << 24; 22931 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22932 _flag_k = FK_NARROW(FK_CMP, 24); 22933 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0709AC; /* 0x2B070792: je 0x2b0709ac */ 22934 L_2B070798: 22935 ecx = MEM32(ebx + 0x28); /* 0x2B070798: mov ecx, dword ptr [ebx + 0x28] */ 22936 PUSH32(esp, 0x13u); /* 0x2B07079B: push 0x13 */ 22937 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07079D: push -1 */ 22938 RECOMP_ICALL(esi); /* 0x2B07079F: call esi */ 22939 RECOMP_FLAGS_IN(); 22940 edx = MEM32(ebx + 0x28); /* 0x2B0707A1: mov edx, dword ptr [ebx + 0x28] */ 22941 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 22942 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0707A4: or ecx, 0xffffffff */ 22943 _cf = 0; 22944 _flag_k = FK_TEST; 22945 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 22946 eax = 0; /* 0x2B0707A7: xor eax, eax */ 22947 _cf = 0; 22948 _flag_k = FK_TEST; 22949 edi = 0x2B0E2BF8u; /* 0x2B0707A9: mov edi, 0x2b0e2bf8 */ 22950 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; } /* 0x2B0707AE: repne scasb al, byte ptr es:[edi] */ 22951 eax = MEM32(0x2B0B515C); /* 0x2B0707B0: mov eax, dword ptr [0x2b0b515c] */ 22952 ecx = ~ecx; /* 0x2B0707B5: not ecx */ 22953 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 22954 ecx = ecx - 1; /* 0x2B0707B7: dec ecx */ 22955 _flag_k = FK_DEC; 22956 edi = ecx; /* 0x2B0707B8: mov edi, ecx */ 22957 ecx = MEM32(eax); /* 0x2B0707BA: mov ecx, dword ptr [eax] */ 22958 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 22959 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22960 ecx = ecx - MEM32(edx + 0x8); /* 0x2B0707BC: sub ecx, dword ptr [edx + 8] */ 22961 _flag_k = FK_CMP; 22962 /* cmp ecx, edi */ /* 0x2B0707BF: cmp ecx, edi */ 22963 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 22964 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22965 _flag_k = FK_CMP; 22966 MEM32(ebp + 0xC) = edx; /* 0x2B0707C1: mov dword ptr [ebp + 0xc], edx */ 22967 if (CMP_A(_flag_a, _flag_b)) goto L_2B0707CC; /* 0x2B0707C4: ja 0x2b0707cc */ 22968 L_2B0707C6: 22969 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0707C6: call dword ptr [0x2b0b51a8] */ 22970 RECOMP_FLAGS_IN(); 22971 L_2B0707CC: 22972 /* test edi, edi */ /* 0x2B0707CC: test edi, edi */ 22973 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 22974 _cf = 0; 22975 _flag_k = FK_TEST; 22976 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07081E; /* 0x2B0707CE: jbe 0x2b07081e */ 22977 L_2B0707D0: 22978 ecx = MEM32(ebp + 0xC); /* 0x2B0707D0: mov ecx, dword ptr [ebp + 0xc] */ 22979 edx = MEM32(ecx + 0x8); /* 0x2B0707D3: mov edx, dword ptr [ecx + 8] */ 22980 eax = edi; /* 0x2B0707D6: mov eax, edi */ 22981 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 22982 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22983 eax = eax + edx; /* 0x2B0707D8: add eax, edx */ 22984 _flag_k = FK_ADD; 22985 PUSH32(esp, 0); /* 0x2B0707DA: push 0 */ 22986 PUSH32(esp, eax); /* 0x2B0707DC: push eax */ 22987 MEM32(ebp + (-0x18)) = eax; /* 0x2B0707DD: mov dword ptr [ebp - 0x18], eax */ 22988 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0707E0: call dword ptr [0x2b0b5154] */ 22989 RECOMP_FLAGS_IN(); 22990 /* test LO8(eax), LO8(eax) */ /* 0x2B0707E6: test al, al */ 22991 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 22992 _cf = 0; 22993 _flag_k = FK_NARROW(FK_TEST, 24); 22994 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07081E; /* 0x2B0707E8: je 0x2b07081e */ 22995 L_2B0707EA: 22996 eax = MEM32(ebp + 0xC); /* 0x2B0707EA: mov eax, dword ptr [ebp + 0xc] */ 22997 esi = MEM32(eax + 0x8); /* 0x2B0707ED: mov esi, dword ptr [eax + 8] */ 22998 edx = MEM32(eax + 0x4); /* 0x2B0707F0: mov edx, dword ptr [eax + 4] */ 22999 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 23000 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23001 edx = edx + esi; /* 0x2B0707F3: add edx, esi */ 23002 _flag_k = FK_ADD; 23003 ecx = edi; /* 0x2B0707F5: mov ecx, edi */ 23004 edi = edx; /* 0x2B0707F7: mov edi, edx */ 23005 edx = ecx; /* 0x2B0707F9: mov edx, ecx */ 23006 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0707FB: shr ecx, 2 */ 23007 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 23008 ecx = ecx >> 2u; /* 0x2B0707FB: shr ecx, 2 */ 23009 esi = 0x2B0E2BF8u; /* 0x2B0707FE: mov esi, 0x2b0e2bf8 */ 23010 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070803: 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; } 23011 ecx = edx; /* 0x2B070805: mov ecx, edx */ 23012 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 23013 ecx = ecx & 3; /* 0x2B070807: and ecx, 3 */ 23014 _cf = 0; 23015 _flag_k = FK_TEST; 23016 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07080A: 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; } 23017 ecx = MEM32(ebp + (-0x18)); /* 0x2B07080C: mov ecx, dword ptr [ebp - 0x18] */ 23018 PUSH32(esp, ecx); /* 0x2B07080F: push ecx */ 23019 ecx = eax; /* 0x2B070810: mov ecx, eax */ 23020 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B070812: call dword ptr [0x2b0b5150] */ 23021 RECOMP_FLAGS_IN(); 23022 esi = MEM32(0x2B0B5A74); /* 0x2B070818: mov esi, dword ptr [0x2b0b5a74] */ 23023 L_2B07081E: 23024 edx = MEM32(ebx + 0x28); /* 0x2B07081E: mov edx, dword ptr [ebx + 0x28] */ 23025 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 23026 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070821: or ecx, 0xffffffff */ 23027 _cf = 0; 23028 _flag_k = FK_TEST; 23029 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 23030 eax = 0; /* 0x2B070824: xor eax, eax */ 23031 _cf = 0; 23032 _flag_k = FK_TEST; 23033 edi = 0x2B0EEE84u; /* 0x2B070826: mov edi, 0x2b0eee84 */ 23034 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; } /* 0x2B07082B: repne scasb al, byte ptr es:[edi] */ 23035 eax = MEM32(0x2B0B515C); /* 0x2B07082D: mov eax, dword ptr [0x2b0b515c] */ 23036 ecx = ~ecx; /* 0x2B070832: not ecx */ 23037 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 23038 ecx = ecx - 1; /* 0x2B070834: dec ecx */ 23039 _flag_k = FK_DEC; 23040 edi = ecx; /* 0x2B070835: mov edi, ecx */ 23041 ecx = MEM32(eax); /* 0x2B070837: mov ecx, dword ptr [eax] */ 23042 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 23043 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23044 ecx = ecx - MEM32(edx + 0x8); /* 0x2B070839: sub ecx, dword ptr [edx + 8] */ 23045 _flag_k = FK_CMP; 23046 /* cmp ecx, edi */ /* 0x2B07083C: cmp ecx, edi */ 23047 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 23048 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23049 _flag_k = FK_CMP; 23050 MEM32(ebp + 0xC) = edx; /* 0x2B07083E: mov dword ptr [ebp + 0xc], edx */ 23051 if (CMP_A(_flag_a, _flag_b)) goto L_2B070849; /* 0x2B070841: ja 0x2b070849 */ 23052 L_2B070843: 23053 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070843: call dword ptr [0x2b0b51a8] */ 23054 RECOMP_FLAGS_IN(); 23055 L_2B070849: 23056 /* test edi, edi */ /* 0x2B070849: test edi, edi */ 23057 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 23058 _cf = 0; 23059 _flag_k = FK_TEST; 23060 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07089B; /* 0x2B07084B: jbe 0x2b07089b */ 23061 L_2B07084D: 23062 ecx = MEM32(ebp + 0xC); /* 0x2B07084D: mov ecx, dword ptr [ebp + 0xc] */ 23063 edx = MEM32(ecx + 0x8); /* 0x2B070850: mov edx, dword ptr [ecx + 8] */ 23064 eax = edi; /* 0x2B070853: mov eax, edi */ 23065 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 23066 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23067 eax = eax + edx; /* 0x2B070855: add eax, edx */ 23068 _flag_k = FK_ADD; 23069 PUSH32(esp, 0); /* 0x2B070857: push 0 */ 23070 PUSH32(esp, eax); /* 0x2B070859: push eax */ 23071 MEM32(ebp + (-0x18)) = eax; /* 0x2B07085A: mov dword ptr [ebp - 0x18], eax */ 23072 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07085D: call dword ptr [0x2b0b5154] */ 23073 RECOMP_FLAGS_IN(); 23074 /* test LO8(eax), LO8(eax) */ /* 0x2B070863: test al, al */ 23075 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 23076 _cf = 0; 23077 _flag_k = FK_NARROW(FK_TEST, 24); 23078 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07089B; /* 0x2B070865: je 0x2b07089b */ 23079 L_2B070867: 23080 eax = MEM32(ebp + 0xC); /* 0x2B070867: mov eax, dword ptr [ebp + 0xc] */ 23081 esi = MEM32(eax + 0x8); /* 0x2B07086A: mov esi, dword ptr [eax + 8] */ 23082 edx = MEM32(eax + 0x4); /* 0x2B07086D: mov edx, dword ptr [eax + 4] */ 23083 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 23084 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23085 edx = edx + esi; /* 0x2B070870: add edx, esi */ 23086 _flag_k = FK_ADD; 23087 ecx = edi; /* 0x2B070872: mov ecx, edi */ 23088 edi = edx; /* 0x2B070874: mov edi, edx */ 23089 edx = ecx; /* 0x2B070876: mov edx, ecx */ 23090 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070878: shr ecx, 2 */ 23091 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 23092 ecx = ecx >> 2u; /* 0x2B070878: shr ecx, 2 */ 23093 esi = 0x2B0EEE84u; /* 0x2B07087B: mov esi, 0x2b0eee84 */ 23094 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070880: 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; } 23095 ecx = edx; /* 0x2B070882: mov ecx, edx */ 23096 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 23097 ecx = ecx & 3; /* 0x2B070884: and ecx, 3 */ 23098 _cf = 0; 23099 _flag_k = FK_TEST; 23100 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070887: 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; } 23101 ecx = MEM32(ebp + (-0x18)); /* 0x2B070889: mov ecx, dword ptr [ebp - 0x18] */ 23102 PUSH32(esp, ecx); /* 0x2B07088C: push ecx */ 23103 ecx = eax; /* 0x2B07088D: mov ecx, eax */ 23104 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07088F: call dword ptr [0x2b0b5150] */ 23105 RECOMP_FLAGS_IN(); 23106 esi = MEM32(0x2B0B5A74); /* 0x2B070895: mov esi, dword ptr [0x2b0b5a74] */ 23107 L_2B07089B: 23108 edx = MEM32(ebx + 0x28); /* 0x2B07089B: mov edx, dword ptr [ebx + 0x28] */ 23109 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 23110 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07089E: or ecx, 0xffffffff */ 23111 _cf = 0; 23112 _flag_k = FK_TEST; 23113 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 23114 eax = 0; /* 0x2B0708A1: xor eax, eax */ 23115 _cf = 0; 23116 _flag_k = FK_TEST; 23117 edi = 0x2B0EB7F8u; /* 0x2B0708A3: mov edi, 0x2b0eb7f8 */ 23118 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; } /* 0x2B0708A8: repne scasb al, byte ptr es:[edi] */ 23119 eax = MEM32(0x2B0B515C); /* 0x2B0708AA: mov eax, dword ptr [0x2b0b515c] */ 23120 ecx = ~ecx; /* 0x2B0708AF: not ecx */ 23121 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 23122 ecx = ecx - 1; /* 0x2B0708B1: dec ecx */ 23123 _flag_k = FK_DEC; 23124 edi = ecx; /* 0x2B0708B2: mov edi, ecx */ 23125 ecx = MEM32(eax); /* 0x2B0708B4: mov ecx, dword ptr [eax] */ 23126 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 23127 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23128 ecx = ecx - MEM32(edx + 0x8); /* 0x2B0708B6: sub ecx, dword ptr [edx + 8] */ 23129 _flag_k = FK_CMP; 23130 /* cmp ecx, edi */ /* 0x2B0708B9: cmp ecx, edi */ 23131 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 23132 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23133 _flag_k = FK_CMP; 23134 MEM32(ebp + 0xC) = edx; /* 0x2B0708BB: mov dword ptr [ebp + 0xc], edx */ 23135 if (CMP_A(_flag_a, _flag_b)) goto L_2B0708C6; /* 0x2B0708BE: ja 0x2b0708c6 */ 23136 L_2B0708C0: 23137 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0708C0: call dword ptr [0x2b0b51a8] */ 23138 RECOMP_FLAGS_IN(); 23139 L_2B0708C6: 23140 /* test edi, edi */ /* 0x2B0708C6: test edi, edi */ 23141 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 23142 _cf = 0; 23143 _flag_k = FK_TEST; 23144 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070918; /* 0x2B0708C8: jbe 0x2b070918 */ 23145 L_2B0708CA: 23146 ecx = MEM32(ebp + 0xC); /* 0x2B0708CA: mov ecx, dword ptr [ebp + 0xc] */ 23147 edx = MEM32(ecx + 0x8); /* 0x2B0708CD: mov edx, dword ptr [ecx + 8] */ 23148 eax = edi; /* 0x2B0708D0: mov eax, edi */ 23149 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 23150 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23151 eax = eax + edx; /* 0x2B0708D2: add eax, edx */ 23152 _flag_k = FK_ADD; 23153 PUSH32(esp, 0); /* 0x2B0708D4: push 0 */ 23154 PUSH32(esp, eax); /* 0x2B0708D6: push eax */ 23155 MEM32(ebp + (-0x18)) = eax; /* 0x2B0708D7: mov dword ptr [ebp - 0x18], eax */ 23156 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0708DA: call dword ptr [0x2b0b5154] */ 23157 RECOMP_FLAGS_IN(); 23158 /* test LO8(eax), LO8(eax) */ /* 0x2B0708E0: test al, al */ 23159 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 23160 _cf = 0; 23161 _flag_k = FK_NARROW(FK_TEST, 24); 23162 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070918; /* 0x2B0708E2: je 0x2b070918 */ 23163 L_2B0708E4: 23164 eax = MEM32(ebp + 0xC); /* 0x2B0708E4: mov eax, dword ptr [ebp + 0xc] */ 23165 esi = MEM32(eax + 0x8); /* 0x2B0708E7: mov esi, dword ptr [eax + 8] */ 23166 edx = MEM32(eax + 0x4); /* 0x2B0708EA: mov edx, dword ptr [eax + 4] */ 23167 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 23168 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23169 edx = edx + esi; /* 0x2B0708ED: add edx, esi */ 23170 _flag_k = FK_ADD; 23171 ecx = edi; /* 0x2B0708EF: mov ecx, edi */ 23172 edi = edx; /* 0x2B0708F1: mov edi, edx */ 23173 edx = ecx; /* 0x2B0708F3: mov edx, ecx */ 23174 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0708F5: shr ecx, 2 */ 23175 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 23176 ecx = ecx >> 2u; /* 0x2B0708F5: shr ecx, 2 */ 23177 esi = 0x2B0EB7F8u; /* 0x2B0708F8: mov esi, 0x2b0eb7f8 */ 23178 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0708FD: 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; } 23179 ecx = edx; /* 0x2B0708FF: mov ecx, edx */ 23180 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 23181 ecx = ecx & 3; /* 0x2B070901: and ecx, 3 */ 23182 _cf = 0; 23183 _flag_k = FK_TEST; 23184 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070904: 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; } 23185 ecx = MEM32(ebp + (-0x18)); /* 0x2B070906: mov ecx, dword ptr [ebp - 0x18] */ 23186 PUSH32(esp, ecx); /* 0x2B070909: push ecx */ 23187 ecx = eax; /* 0x2B07090A: mov ecx, eax */ 23188 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07090C: call dword ptr [0x2b0b5150] */ 23189 RECOMP_FLAGS_IN(); 23190 esi = MEM32(0x2B0B5A74); /* 0x2B070912: mov esi, dword ptr [0x2b0b5a74] */ 23191 L_2B070918: 23192 ecx = MEM32(ebx + 0x28); /* 0x2B070918: mov ecx, dword ptr [ebx + 0x28] */ 23193 PUSH32(esp, 0x14u); /* 0x2B07091B: push 0x14 */ 23194 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07091D: push -1 */ 23195 RECOMP_ICALL(esi); /* 0x2B07091F: call esi */ 23196 RECOMP_FLAGS_IN(); 23197 edi = MEM32(ebp + (-0x14)); /* 0x2B070921: mov edi, dword ptr [ebp - 0x14] */ 23198 edx = MEM32(ebx + 0x28); /* 0x2B070924: mov edx, dword ptr [ebx + 0x28] */ 23199 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 23200 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070927: or ecx, 0xffffffff */ 23201 _cf = 0; 23202 _flag_k = FK_TEST; 23203 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 23204 eax = 0; /* 0x2B07092A: xor eax, eax */ 23205 _cf = 0; 23206 _flag_k = FK_TEST; 23207 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; } /* 0x2B07092C: repne scasb al, byte ptr es:[edi] */ 23208 eax = MEM32(0x2B0B515C); /* 0x2B07092E: mov eax, dword ptr [0x2b0b515c] */ 23209 ecx = ~ecx; /* 0x2B070933: not ecx */ 23210 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 23211 ecx = ecx - 1; /* 0x2B070935: dec ecx */ 23212 _flag_k = FK_DEC; 23213 edi = ecx; /* 0x2B070936: mov edi, ecx */ 23214 ecx = MEM32(eax); /* 0x2B070938: mov ecx, dword ptr [eax] */ 23215 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 23216 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23217 ecx = ecx - MEM32(edx + 0x8); /* 0x2B07093A: sub ecx, dword ptr [edx + 8] */ 23218 _flag_k = FK_CMP; 23219 /* cmp ecx, edi */ /* 0x2B07093D: cmp ecx, edi */ 23220 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 23221 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23222 _flag_k = FK_CMP; 23223 MEM32(ebp + 0xC) = edx; /* 0x2B07093F: mov dword ptr [ebp + 0xc], edx */ 23224 if (CMP_A(_flag_a, _flag_b)) goto L_2B07094A; /* 0x2B070942: ja 0x2b07094a */ 23225 L_2B070944: 23226 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070944: call dword ptr [0x2b0b51a8] */ 23227 RECOMP_FLAGS_IN(); 23228 L_2B07094A: 23229 /* test edi, edi */ /* 0x2B07094A: test edi, edi */ 23230 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 23231 _cf = 0; 23232 _flag_k = FK_TEST; 23233 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07099A; /* 0x2B07094C: jbe 0x2b07099a */ 23234 L_2B07094E: 23235 ecx = MEM32(ebp + 0xC); /* 0x2B07094E: mov ecx, dword ptr [ebp + 0xc] */ 23236 edx = MEM32(ecx + 0x8); /* 0x2B070951: mov edx, dword ptr [ecx + 8] */ 23237 eax = edi; /* 0x2B070954: mov eax, edi */ 23238 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 23239 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23240 eax = eax + edx; /* 0x2B070956: add eax, edx */ 23241 _flag_k = FK_ADD; 23242 PUSH32(esp, 0); /* 0x2B070958: push 0 */ 23243 PUSH32(esp, eax); /* 0x2B07095A: push eax */ 23244 MEM32(ebp + (-0x18)) = eax; /* 0x2B07095B: mov dword ptr [ebp - 0x18], eax */ 23245 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07095E: call dword ptr [0x2b0b5154] */ 23246 RECOMP_FLAGS_IN(); 23247 /* test LO8(eax), LO8(eax) */ /* 0x2B070964: test al, al */ 23248 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 23249 _cf = 0; 23250 _flag_k = FK_NARROW(FK_TEST, 24); 23251 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07099A; /* 0x2B070966: je 0x2b07099a */ 23252 L_2B070968: 23253 eax = MEM32(ebp + 0xC); /* 0x2B070968: mov eax, dword ptr [ebp + 0xc] */ 23254 esi = MEM32(eax + 0x8); /* 0x2B07096B: mov esi, dword ptr [eax + 8] */ 23255 edx = MEM32(eax + 0x4); /* 0x2B07096E: mov edx, dword ptr [eax + 4] */ 23256 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 23257 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23258 edx = edx + esi; /* 0x2B070971: add edx, esi */ 23259 _flag_k = FK_ADD; 23260 esi = MEM32(ebp + (-0x14)); /* 0x2B070973: mov esi, dword ptr [ebp - 0x14] */ 23261 ecx = edi; /* 0x2B070976: mov ecx, edi */ 23262 edi = edx; /* 0x2B070978: mov edi, edx */ 23263 edx = ecx; /* 0x2B07097A: mov edx, ecx */ 23264 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07097C: shr ecx, 2 */ 23265 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 23266 ecx = ecx >> 2u; /* 0x2B07097C: shr ecx, 2 */ 23267 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07097F: 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; } 23268 ecx = edx; /* 0x2B070981: mov ecx, edx */ 23269 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 23270 ecx = ecx & 3; /* 0x2B070983: and ecx, 3 */ 23271 _cf = 0; 23272 _flag_k = FK_TEST; 23273 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070986: 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; } 23274 ecx = MEM32(ebp + (-0x18)); /* 0x2B070988: mov ecx, dword ptr [ebp - 0x18] */ 23275 PUSH32(esp, ecx); /* 0x2B07098B: push ecx */ 23276 ecx = eax; /* 0x2B07098C: mov ecx, eax */ 23277 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07098E: call dword ptr [0x2b0b5150] */ 23278 RECOMP_FLAGS_IN(); 23279 esi = MEM32(0x2B0B5A74); /* 0x2B070994: mov esi, dword ptr [0x2b0b5a74] */ 23280 L_2B07099A: 23281 edx = MEM32(ebx + 0x28); /* 0x2B07099A: mov edx, dword ptr [ebx + 0x28] */ 23282 eax = MEM32(ebp + 0x8); /* 0x2B07099D: mov eax, dword ptr [ebp + 8] */ 23283 PUSH32(esp, edx); /* 0x2B0709A0: push edx */ 23284 PUSH32(esp, eax); /* 0x2B0709A1: push eax */ 23285 ecx = ebx; /* 0x2B0709A2: mov ecx, ebx */ 23286 RECOMP_ICALL(0x2B074500u); /* 0x2B0709A4: call 0x2b074500 */ /* not lifted */ 23287 RECOMP_FLAGS_IN(); 23288 edi = MEM32(ebp + 0x8); /* 0x2B0709A9: mov edi, dword ptr [ebp + 8] */ 23289 L_2B0709AC: 23290 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B0709AC: call dword ptr [0x2b0b5b64] */ 23291 RECOMP_FLAGS_IN(); 23292 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 23293 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23294 eax = eax + 0xD4u; /* 0x2B0709B2: add eax, 0xd4 */ 23295 _flag_k = FK_ADD; 23296 ecx = ebp + (-0x20); /* 0x2B0709B7: lea ecx, [ebp - 0x20] */ 23297 /* cmp ecx, eax */ /* 0x2B0709BA: cmp ecx, eax */ 23298 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 23299 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23300 _flag_k = FK_CMP; 23301 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0709C5; /* 0x2B0709BC: je 0x2b0709c5 */ 23302 L_2B0709BE: 23303 ecx = MEM32(eax); /* 0x2B0709BE: mov ecx, dword ptr [eax] */ 23304 eax = MEM32(eax + 0x4); /* 0x2B0709C0: mov eax, dword ptr [eax + 4] */ 23305 goto L_2B0709CB; /* 0x2B0709C3: jmp 0x2b0709cb */ 23306 L_2B0709C5: 23307 eax = MEM32(ebp + (-0x1C)); /* 0x2B0709C5: mov eax, dword ptr [ebp - 0x1c] */ 23308 ecx = MEM32(ebp + (-0x20)); /* 0x2B0709C8: mov ecx, dword ptr [ebp - 0x20] */ 23309 L_2B0709CB: 23310 /* cmp MEM32(edi + 0x4), eax */ /* 0x2B0709CB: cmp dword ptr [edi + 4], eax */ 23311 _flag_a = (uint32_t)(MEM32(edi + 0x4)); _flag_b = (uint32_t)(eax); 23312 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23313 _flag_k = FK_CMP; 23314 if (CMP_NE(_flag_a, _flag_b)) goto L_2B070ACB; /* 0x2B0709CE: jne 0x2b070acb */ 23315 L_2B0709D4: 23316 /* cmp MEM32(edi), ecx */ /* 0x2B0709D4: cmp dword ptr [edi], ecx */ 23317 _flag_a = (uint32_t)(MEM32(edi)); _flag_b = (uint32_t)(ecx); 23318 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23319 _flag_k = FK_CMP; 23320 if (CMP_NE(_flag_a, _flag_b)) goto L_2B070ACB; /* 0x2B0709D6: jne 0x2b070acb */ 23321 L_2B0709DC: 23322 SET_LO8(edx, MEM8(ebp + 0xF)); /* 0x2B0709DC: mov dl, byte ptr [ebp + 0xf] */ 23323 PUSH32(esp, 0); /* 0x2B0709DF: push 0 */ 23324 ecx = ebp + (-0x30); /* 0x2B0709E1: lea ecx, [ebp - 0x30] */ 23325 MEM8(ebp + (-0x30)) = (uint8_t)(LO8(edx)); /* 0x2B0709E4: mov byte ptr [ebp - 0x30], dl */ 23326 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0709E7: call dword ptr [0x2b0b514c] */ 23327 RECOMP_FLAGS_IN(); 23328 eax = ebp + (-0x30); /* 0x2B0709ED: lea eax, [ebp - 0x30] */ 23329 PUSH32(esp, eax); /* 0x2B0709F0: push eax */ 23330 MEM32(ebp + (-0x4)) = 0; /* 0x2B0709F1: mov dword ptr [ebp - 4], 0 */ 23331 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0709F8: call dword ptr [0x2b0b5d6c] */ 23332 RECOMP_FLAGS_IN(); 23333 ecx = eax; /* 0x2B0709FE: mov ecx, eax */ 23334 RECOMP_ICALL(MEM32(0x2B0B5D7C)); /* 0x2B070A00: call dword ptr [0x2b0b5d7c] */ 23335 RECOMP_FLAGS_IN(); 23336 /* test LO8(eax), LO8(eax) */ /* 0x2B070A06: test al, al */ 23337 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 23338 _cf = 0; 23339 _flag_k = FK_NARROW(FK_TEST, 24); 23340 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070AB9; /* 0x2B070A08: je 0x2b070ab9 */ 23341 L_2B070A0E: 23342 ecx = MEM32(ebx + 0x28); /* 0x2B070A0E: mov ecx, dword ptr [ebx + 0x28] */ 23343 PUSH32(esp, 0x13u); /* 0x2B070A11: push 0x13 */ 23344 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070A13: push -1 */ 23345 RECOMP_ICALL(esi); /* 0x2B070A15: call esi */ 23346 RECOMP_FLAGS_IN(); 23347 edx = MEM32(ebx + 0x28); /* 0x2B070A17: mov edx, dword ptr [ebx + 0x28] */ 23348 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 23349 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070A1A: or ecx, 0xffffffff */ 23350 _cf = 0; 23351 _flag_k = FK_TEST; 23352 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 23353 eax = 0; /* 0x2B070A1D: xor eax, eax */ 23354 _cf = 0; 23355 _flag_k = FK_TEST; 23356 edi = 0x2B0EB7F0u; /* 0x2B070A1F: mov edi, 0x2b0eb7f0 */ 23357 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; } /* 0x2B070A24: repne scasb al, byte ptr es:[edi] */ 23358 ecx = ~ecx; /* 0x2B070A26: not ecx */ 23359 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 23360 ecx = ecx - 1; /* 0x2B070A28: dec ecx */ 23361 _flag_k = FK_DEC; 23362 edi = ecx; /* 0x2B070A29: mov edi, ecx */ 23363 ecx = MEM32(0x2B0B515C); /* 0x2B070A2B: mov ecx, dword ptr [0x2b0b515c] */ 23364 eax = MEM32(ecx); /* 0x2B070A31: mov eax, dword ptr [ecx] */ 23365 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 23366 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23367 eax = eax - MEM32(edx + 0x8); /* 0x2B070A33: sub eax, dword ptr [edx + 8] */ 23368 _flag_k = FK_CMP; 23369 /* cmp eax, edi */ /* 0x2B070A36: cmp eax, edi */ 23370 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 23371 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23372 _flag_k = FK_CMP; 23373 MEM32(ebp + 0xC) = edx; /* 0x2B070A38: mov dword ptr [ebp + 0xc], edx */ 23374 if (CMP_A(_flag_a, _flag_b)) goto L_2B070A43; /* 0x2B070A3B: ja 0x2b070a43 */ 23375 L_2B070A3D: 23376 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070A3D: call dword ptr [0x2b0b51a8] */ 23377 RECOMP_FLAGS_IN(); 23378 L_2B070A43: 23379 /* test edi, edi */ /* 0x2B070A43: test edi, edi */ 23380 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 23381 _cf = 0; 23382 _flag_k = FK_TEST; 23383 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070A95; /* 0x2B070A45: jbe 0x2b070a95 */ 23384 L_2B070A47: 23385 ecx = MEM32(ebp + 0xC); /* 0x2B070A47: mov ecx, dword ptr [ebp + 0xc] */ 23386 edx = MEM32(ecx + 0x8); /* 0x2B070A4A: mov edx, dword ptr [ecx + 8] */ 23387 eax = edi; /* 0x2B070A4D: mov eax, edi */ 23388 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 23389 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23390 eax = eax + edx; /* 0x2B070A4F: add eax, edx */ 23391 _flag_k = FK_ADD; 23392 PUSH32(esp, 0); /* 0x2B070A51: push 0 */ 23393 PUSH32(esp, eax); /* 0x2B070A53: push eax */ 23394 MEM32(ebp + (-0x18)) = eax; /* 0x2B070A54: mov dword ptr [ebp - 0x18], eax */ 23395 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070A57: call dword ptr [0x2b0b5154] */ 23396 RECOMP_FLAGS_IN(); 23397 /* test LO8(eax), LO8(eax) */ /* 0x2B070A5D: test al, al */ 23398 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 23399 _cf = 0; 23400 _flag_k = FK_NARROW(FK_TEST, 24); 23401 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070A95; /* 0x2B070A5F: je 0x2b070a95 */ 23402 L_2B070A61: 23403 eax = MEM32(ebp + 0xC); /* 0x2B070A61: mov eax, dword ptr [ebp + 0xc] */ 23404 esi = MEM32(eax + 0x8); /* 0x2B070A64: mov esi, dword ptr [eax + 8] */ 23405 edx = MEM32(eax + 0x4); /* 0x2B070A67: mov edx, dword ptr [eax + 4] */ 23406 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 23407 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23408 edx = edx + esi; /* 0x2B070A6A: add edx, esi */ 23409 _flag_k = FK_ADD; 23410 ecx = edi; /* 0x2B070A6C: mov ecx, edi */ 23411 edi = edx; /* 0x2B070A6E: mov edi, edx */ 23412 edx = ecx; /* 0x2B070A70: mov edx, ecx */ 23413 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070A72: shr ecx, 2 */ 23414 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 23415 ecx = ecx >> 2u; /* 0x2B070A72: shr ecx, 2 */ 23416 esi = 0x2B0EB7F0u; /* 0x2B070A75: mov esi, 0x2b0eb7f0 */ 23417 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070A7A: 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; } 23418 ecx = edx; /* 0x2B070A7C: mov ecx, edx */ 23419 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 23420 ecx = ecx & 3; /* 0x2B070A7E: and ecx, 3 */ 23421 _cf = 0; 23422 _flag_k = FK_TEST; 23423 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070A81: 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; } 23424 ecx = MEM32(ebp + (-0x18)); /* 0x2B070A83: mov ecx, dword ptr [ebp - 0x18] */ 23425 PUSH32(esp, ecx); /* 0x2B070A86: push ecx */ 23426 ecx = eax; /* 0x2B070A87: mov ecx, eax */ 23427 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B070A89: call dword ptr [0x2b0b5150] */ 23428 RECOMP_FLAGS_IN(); 23429 esi = MEM32(0x2B0B5A74); /* 0x2B070A8F: mov esi, dword ptr [0x2b0b5a74] */ 23430 L_2B070A95: 23431 ecx = MEM32(ebx + 0x28); /* 0x2B070A95: mov ecx, dword ptr [ebx + 0x28] */ 23432 PUSH32(esp, 0x14u); /* 0x2B070A98: push 0x14 */ 23433 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070A9A: push -1 */ 23434 RECOMP_ICALL(esi); /* 0x2B070A9C: call esi */ 23435 RECOMP_FLAGS_IN(); 23436 edx = MEM32(0x2B0B515C); /* 0x2B070A9E: mov edx, dword ptr [0x2b0b515c] */ 23437 eax = MEM32(edx); /* 0x2B070AA4: mov eax, dword ptr [edx] */ 23438 ecx = MEM32(ebx + 0x28); /* 0x2B070AA6: mov ecx, dword ptr [ebx + 0x28] */ 23439 PUSH32(esp, eax); /* 0x2B070AA9: push eax */ 23440 PUSH32(esp, 0); /* 0x2B070AAA: push 0 */ 23441 edx = ebp + (-0x30); /* 0x2B070AAC: lea edx, [ebp - 0x30] */ 23442 PUSH32(esp, edx); /* 0x2B070AAF: push edx */ 23443 RECOMP_ICALL(MEM32(0x2B0B51A0)); /* 0x2B070AB0: call dword ptr [0x2b0b51a0] */ 23444 RECOMP_FLAGS_IN(); 23445 edi = MEM32(ebp + 0x8); /* 0x2B070AB6: mov edi, dword ptr [ebp + 8] */ 23446 L_2B070AB9: 23447 PUSH32(esp, 1); /* 0x2B070AB9: push 1 */ 23448 ecx = ebp + (-0x30); /* 0x2B070ABB: lea ecx, [ebp - 0x30] */ 23449 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B070ABE: mov dword ptr [ebp - 4], 0xffffffff */ 23450 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B070AC5: call dword ptr [0x2b0b514c] */ 23451 RECOMP_FLAGS_IN(); 23452 L_2B070ACB: 23453 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B070ACB: call dword ptr [0x2b0b5b64] */ 23454 RECOMP_FLAGS_IN(); 23455 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 23456 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23457 eax = eax + 0xD4u; /* 0x2B070AD1: add eax, 0xd4 */ 23458 _flag_k = FK_ADD; 23459 ecx = ebp + (-0x20); /* 0x2B070AD6: lea ecx, [ebp - 0x20] */ 23460 /* cmp ecx, eax */ /* 0x2B070AD9: cmp ecx, eax */ 23461 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 23462 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23463 _flag_k = FK_CMP; 23464 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B070AE4; /* 0x2B070ADB: je 0x2b070ae4 */ 23465 L_2B070ADD: 23466 ecx = MEM32(eax); /* 0x2B070ADD: mov ecx, dword ptr [eax] */ 23467 eax = MEM32(eax + 0x4); /* 0x2B070ADF: mov eax, dword ptr [eax + 4] */ 23468 goto L_2B070AEA; /* 0x2B070AE2: jmp 0x2b070aea */ 23469 L_2B070AE4: 23470 eax = MEM32(ebp + (-0x1C)); /* 0x2B070AE4: mov eax, dword ptr [ebp - 0x1c] */ 23471 ecx = MEM32(ebp + (-0x20)); /* 0x2B070AE7: mov ecx, dword ptr [ebp - 0x20] */ 23472 L_2B070AEA: 23473 /* cmp MEM32(edi + 0x4), eax */ /* 0x2B070AEA: cmp dword ptr [edi + 4], eax */ 23474 _flag_a = (uint32_t)(MEM32(edi + 0x4)); _flag_b = (uint32_t)(eax); 23475 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23476 _flag_k = FK_CMP; 23477 if (CMP_NE(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070AED: jne 0x2b070e97 */ 23478 L_2B070AF3: 23479 edx = MEM32(ebp + 0x8); /* 0x2B070AF3: mov edx, dword ptr [ebp + 8] */ 23480 /* cmp MEM32(edx), ecx */ /* 0x2B070AF6: cmp dword ptr [edx], ecx */ 23481 _flag_a = (uint32_t)(MEM32(edx)); _flag_b = (uint32_t)(ecx); 23482 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23483 _flag_k = FK_CMP; 23484 if (CMP_NE(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070AF8: jne 0x2b070e97 */ 23485 L_2B070AFE: 23486 ecx = MEM32(ebx + 0x28); /* 0x2B070AFE: mov ecx, dword ptr [ebx + 0x28] */ 23487 PUSH32(esp, 0x13u); /* 0x2B070B01: push 0x13 */ 23488 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070B03: push -1 */ 23489 RECOMP_ICALL(esi); /* 0x2B070B05: call esi */ 23490 RECOMP_FLAGS_IN(); 23491 edx = MEM32(ebx + 0x28); /* 0x2B070B07: mov edx, dword ptr [ebx + 0x28] */ 23492 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 23493 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070B0A: or ecx, 0xffffffff */ 23494 _cf = 0; 23495 _flag_k = FK_TEST; 23496 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 23497 eax = 0; /* 0x2B070B0D: xor eax, eax */ 23498 _cf = 0; 23499 _flag_k = FK_TEST; 23500 edi = 0x2B0EB7D8u; /* 0x2B070B0F: mov edi, 0x2b0eb7d8 */ 23501 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; } /* 0x2B070B14: repne scasb al, byte ptr es:[edi] */ 23502 eax = MEM32(0x2B0B515C); /* 0x2B070B16: mov eax, dword ptr [0x2b0b515c] */ 23503 ecx = ~ecx; /* 0x2B070B1B: not ecx */ 23504 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 23505 ecx = ecx - 1; /* 0x2B070B1D: dec ecx */ 23506 _flag_k = FK_DEC; 23507 edi = ecx; /* 0x2B070B1E: mov edi, ecx */ 23508 ecx = MEM32(eax); /* 0x2B070B20: mov ecx, dword ptr [eax] */ 23509 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 23510 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23511 ecx = ecx - MEM32(edx + 0x8); /* 0x2B070B22: sub ecx, dword ptr [edx + 8] */ 23512 _flag_k = FK_CMP; 23513 /* cmp ecx, edi */ /* 0x2B070B25: cmp ecx, edi */ 23514 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 23515 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23516 _flag_k = FK_CMP; 23517 MEM32(ebp + 0xC) = edx; /* 0x2B070B27: mov dword ptr [ebp + 0xc], edx */ 23518 if (CMP_A(_flag_a, _flag_b)) goto L_2B070B32; /* 0x2B070B2A: ja 0x2b070b32 */ 23519 L_2B070B2C: 23520 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070B2C: call dword ptr [0x2b0b51a8] */ 23521 RECOMP_FLAGS_IN(); 23522 L_2B070B32: 23523 /* test edi, edi */ /* 0x2B070B32: test edi, edi */ 23524 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 23525 _cf = 0; 23526 _flag_k = FK_TEST; 23527 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070B84; /* 0x2B070B34: jbe 0x2b070b84 */ 23528 L_2B070B36: 23529 ecx = MEM32(ebp + 0xC); /* 0x2B070B36: mov ecx, dword ptr [ebp + 0xc] */ 23530 edx = MEM32(ecx + 0x8); /* 0x2B070B39: mov edx, dword ptr [ecx + 8] */ 23531 eax = edi; /* 0x2B070B3C: mov eax, edi */ 23532 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 23533 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23534 eax = eax + edx; /* 0x2B070B3E: add eax, edx */ 23535 _flag_k = FK_ADD; 23536 PUSH32(esp, 0); /* 0x2B070B40: push 0 */ 23537 PUSH32(esp, eax); /* 0x2B070B42: push eax */ 23538 MEM32(ebp + (-0x18)) = eax; /* 0x2B070B43: mov dword ptr [ebp - 0x18], eax */ 23539 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070B46: call dword ptr [0x2b0b5154] */ 23540 RECOMP_FLAGS_IN(); 23541 /* test LO8(eax), LO8(eax) */ /* 0x2B070B4C: test al, al */ 23542 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 23543 _cf = 0; 23544 _flag_k = FK_NARROW(FK_TEST, 24); 23545 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070B84; /* 0x2B070B4E: je 0x2b070b84 */ 23546 L_2B070B50: 23547 eax = MEM32(ebp + 0xC); /* 0x2B070B50: mov eax, dword ptr [ebp + 0xc] */ 23548 esi = MEM32(eax + 0x8); /* 0x2B070B53: mov esi, dword ptr [eax + 8] */ 23549 edx = MEM32(eax + 0x4); /* 0x2B070B56: mov edx, dword ptr [eax + 4] */ 23550 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 23551 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23552 edx = edx + esi; /* 0x2B070B59: add edx, esi */ 23553 _flag_k = FK_ADD; 23554 ecx = edi; /* 0x2B070B5B: mov ecx, edi */ 23555 edi = edx; /* 0x2B070B5D: mov edi, edx */ 23556 edx = ecx; /* 0x2B070B5F: mov edx, ecx */ 23557 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070B61: shr ecx, 2 */ 23558 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 23559 ecx = ecx >> 2u; /* 0x2B070B61: shr ecx, 2 */ 23560 esi = 0x2B0EB7D8u; /* 0x2B070B64: mov esi, 0x2b0eb7d8 */ 23561 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070B69: 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; } 23562 ecx = edx; /* 0x2B070B6B: mov ecx, edx */ 23563 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 23564 ecx = ecx & 3; /* 0x2B070B6D: and ecx, 3 */ 23565 _cf = 0; 23566 _flag_k = FK_TEST; 23567 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070B70: 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; } 23568 ecx = MEM32(ebp + (-0x18)); /* 0x2B070B72: mov ecx, dword ptr [ebp - 0x18] */ 23569 PUSH32(esp, ecx); /* 0x2B070B75: push ecx */ 23570 ecx = eax; /* 0x2B070B76: mov ecx, eax */ 23571 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B070B78: call dword ptr [0x2b0b5150] */ 23572 RECOMP_FLAGS_IN(); 23573 esi = MEM32(0x2B0B5A74); /* 0x2B070B7E: mov esi, dword ptr [0x2b0b5a74] */ 23574 L_2B070B84: 23575 ecx = MEM32(ebx + 0x28); /* 0x2B070B84: mov ecx, dword ptr [ebx + 0x28] */ 23576 PUSH32(esp, 0x14u); /* 0x2B070B87: push 0x14 */ 23577 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070B89: push -1 */ 23578 RECOMP_ICALL(esi); /* 0x2B070B8B: call esi */ 23579 RECOMP_FLAGS_IN(); 23580 edx = MEM32(ebp + 0x8); /* 0x2B070B8D: mov edx, dword ptr [ebp + 8] */ 23581 PUSH32(esp, 0x1D6u); /* 0x2B070B90: push 0x1d6 */ 23582 PUSH32(esp, edx); /* 0x2B070B95: push edx */ 23583 ecx = ebx; /* 0x2B070B96: mov ecx, ebx */ 23584 RECOMP_ICALL(0x2B0735D0u); /* 0x2B070B98: call 0x2b0735d0 */ /* not lifted */ 23585 RECOMP_FLAGS_IN(); 23586 /* test eax, eax */ /* 0x2B070B9D: test eax, eax */ 23587 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 23588 _cf = 0; 23589 _flag_k = FK_TEST; 23590 MEM32(ebp + 0xC) = eax; /* 0x2B070B9F: mov dword ptr [ebp + 0xc], eax */ 23591 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B070C1F; /* 0x2B070BA2: jne 0x2b070c1f */ 23592 L_2B070BA4: 23593 edx = MEM32(ebx + 0x28); /* 0x2B070BA4: mov edx, dword ptr [ebx + 0x28] */ 23594 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 23595 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070BA7: or ecx, 0xffffffff */ 23596 _cf = 0; 23597 _flag_k = FK_TEST; 23598 edi = 0x2B0EB7D0u; /* 0x2B070BAA: mov edi, 0x2b0eb7d0 */ 23599 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; } /* 0x2B070BAF: repne scasb al, byte ptr es:[edi] */ 23600 eax = MEM32(0x2B0B515C); /* 0x2B070BB1: mov eax, dword ptr [0x2b0b515c] */ 23601 edi = MEM32(edx + 0x8); /* 0x2B070BB6: mov edi, dword ptr [edx + 8] */ 23602 ecx = ~ecx; /* 0x2B070BB9: not ecx */ 23603 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 23604 ecx = ecx - 1; /* 0x2B070BBB: dec ecx */ 23605 _flag_k = FK_DEC; 23606 esi = ecx; /* 0x2B070BBC: mov esi, ecx */ 23607 ecx = MEM32(eax); /* 0x2B070BBE: mov ecx, dword ptr [eax] */ 23608 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 23609 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23610 ecx = ecx - edi; /* 0x2B070BC0: sub ecx, edi */ 23611 _flag_k = FK_CMP; 23612 /* cmp ecx, esi */ /* 0x2B070BC2: cmp ecx, esi */ 23613 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 23614 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23615 _flag_k = FK_CMP; 23616 MEM32(ebp + 0xC) = edx; /* 0x2B070BC4: mov dword ptr [ebp + 0xc], edx */ 23617 if (CMP_A(_flag_a, _flag_b)) goto L_2B070BD2; /* 0x2B070BC7: ja 0x2b070bd2 */ 23618 L_2B070BC9: 23619 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070BC9: call dword ptr [0x2b0b51a8] */ 23620 RECOMP_FLAGS_IN(); 23621 edx = MEM32(ebp + 0xC); /* 0x2B070BCF: mov edx, dword ptr [ebp + 0xc] */ 23622 L_2B070BD2: 23623 /* test esi, esi */ /* 0x2B070BD2: test esi, esi */ 23624 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 23625 _cf = 0; 23626 _flag_k = FK_TEST; 23627 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070BD4: jbe 0x2b070e97 */ 23628 L_2B070BDA: 23629 edi = MEM32(edx + 0x8); /* 0x2B070BDA: mov edi, dword ptr [edx + 8] */ 23630 eax = esi; /* 0x2B070BDD: mov eax, esi */ 23631 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 23632 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23633 eax = eax + edi; /* 0x2B070BDF: add eax, edi */ 23634 _flag_k = FK_ADD; 23635 PUSH32(esp, 0); /* 0x2B070BE1: push 0 */ 23636 PUSH32(esp, eax); /* 0x2B070BE3: push eax */ 23637 ecx = edx; /* 0x2B070BE4: mov ecx, edx */ 23638 MEM32(ebp + (-0x18)) = eax; /* 0x2B070BE6: mov dword ptr [ebp - 0x18], eax */ 23639 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070BE9: call dword ptr [0x2b0b5154] */ 23640 RECOMP_FLAGS_IN(); 23641 /* test LO8(eax), LO8(eax) */ /* 0x2B070BEF: test al, al */ 23642 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 23643 _cf = 0; 23644 _flag_k = FK_NARROW(FK_TEST, 24); 23645 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070BF1: je 0x2b070e97 */ 23646 L_2B070BF7: 23647 edx = MEM32(ebp + 0xC); /* 0x2B070BF7: mov edx, dword ptr [ebp + 0xc] */ 23648 ecx = MEM32(edx + 0x4); /* 0x2B070BFA: mov ecx, dword ptr [edx + 4] */ 23649 edi = MEM32(edx + 0x8); /* 0x2B070BFD: mov edi, dword ptr [edx + 8] */ 23650 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 23651 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23652 edi = edi + ecx; /* 0x2B070C00: add edi, ecx */ 23653 _flag_k = FK_ADD; 23654 ecx = esi; /* 0x2B070C02: mov ecx, esi */ 23655 eax = ecx; /* 0x2B070C04: mov eax, ecx */ 23656 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070C06: shr ecx, 2 */ 23657 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 23658 ecx = ecx >> 2u; /* 0x2B070C06: shr ecx, 2 */ 23659 esi = 0x2B0EB7D0u; /* 0x2B070C09: mov esi, 0x2b0eb7d0 */ 23660 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070C0E: 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; } 23661 ecx = eax; /* 0x2B070C10: mov ecx, eax */ 23662 eax = MEM32(ebp + (-0x18)); /* 0x2B070C12: mov eax, dword ptr [ebp - 0x18] */ 23663 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 23664 ecx = ecx & 3; /* 0x2B070C15: and ecx, 3 */ 23665 _cf = 0; 23666 _flag_k = FK_TEST; 23667 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070C18: 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; } 23668 goto L_2B070E8E; /* 0x2B070C1A: jmp 0x2b070e8e */ 23669 L_2B070C1F: 23670 /* test LO8(eax), 1 */ /* 0x2B070C1F: test al, 1 */ 23671 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 23672 _cf = 0; 23673 _flag_k = FK_NARROW(FK_TEST, 24); 23674 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070C9D; /* 0x2B070C21: je 0x2b070c9d */ 23675 L_2B070C23: 23676 edx = MEM32(ebx + 0x28); /* 0x2B070C23: mov edx, dword ptr [ebx + 0x28] */ 23677 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 23678 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070C26: or ecx, 0xffffffff */ 23679 _cf = 0; 23680 _flag_k = FK_TEST; 23681 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 23682 eax = 0; /* 0x2B070C29: xor eax, eax */ 23683 _cf = 0; 23684 _flag_k = FK_TEST; 23685 edi = 0x2B0EB7C8u; /* 0x2B070C2B: mov edi, 0x2b0eb7c8 */ 23686 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; } /* 0x2B070C30: repne scasb al, byte ptr es:[edi] */ 23687 edi = MEM32(edx + 0x8); /* 0x2B070C32: mov edi, dword ptr [edx + 8] */ 23688 ecx = ~ecx; /* 0x2B070C35: not ecx */ 23689 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 23690 ecx = ecx - 1; /* 0x2B070C37: dec ecx */ 23691 _flag_k = FK_DEC; 23692 esi = ecx; /* 0x2B070C38: mov esi, ecx */ 23693 ecx = MEM32(0x2B0B515C); /* 0x2B070C3A: mov ecx, dword ptr [0x2b0b515c] */ 23694 eax = MEM32(ecx); /* 0x2B070C40: mov eax, dword ptr [ecx] */ 23695 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 23696 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23697 eax = eax - edi; /* 0x2B070C42: sub eax, edi */ 23698 _flag_k = FK_CMP; 23699 /* cmp eax, esi */ /* 0x2B070C44: cmp eax, esi */ 23700 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 23701 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23702 _flag_k = FK_CMP; 23703 MEM32(ebp + (-0x14)) = edx; /* 0x2B070C46: mov dword ptr [ebp - 0x14], edx */ 23704 if (CMP_A(_flag_a, _flag_b)) goto L_2B070C54; /* 0x2B070C49: ja 0x2b070c54 */ 23705 L_2B070C4B: 23706 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070C4B: call dword ptr [0x2b0b51a8] */ 23707 RECOMP_FLAGS_IN(); 23708 edx = MEM32(ebp + (-0x14)); /* 0x2B070C51: mov edx, dword ptr [ebp - 0x14] */ 23709 L_2B070C54: 23710 /* test esi, esi */ /* 0x2B070C54: test esi, esi */ 23711 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 23712 _cf = 0; 23713 _flag_k = FK_TEST; 23714 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070C9D; /* 0x2B070C56: jbe 0x2b070c9d */ 23715 L_2B070C58: 23716 edi = MEM32(edx + 0x8); /* 0x2B070C58: mov edi, dword ptr [edx + 8] */ 23717 eax = esi; /* 0x2B070C5B: mov eax, esi */ 23718 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 23719 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23720 eax = eax + edi; /* 0x2B070C5D: add eax, edi */ 23721 _flag_k = FK_ADD; 23722 PUSH32(esp, 0); /* 0x2B070C5F: push 0 */ 23723 PUSH32(esp, eax); /* 0x2B070C61: push eax */ 23724 ecx = edx; /* 0x2B070C62: mov ecx, edx */ 23725 MEM32(ebp + (-0x18)) = eax; /* 0x2B070C64: mov dword ptr [ebp - 0x18], eax */ 23726 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070C67: call dword ptr [0x2b0b5154] */ 23727 RECOMP_FLAGS_IN(); 23728 /* test LO8(eax), LO8(eax) */ /* 0x2B070C6D: test al, al */ 23729 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 23730 _cf = 0; 23731 _flag_k = FK_NARROW(FK_TEST, 24); 23732 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070C9D; /* 0x2B070C6F: je 0x2b070c9d */ 23733 L_2B070C71: 23734 edx = MEM32(ebp + (-0x14)); /* 0x2B070C71: mov edx, dword ptr [ebp - 0x14] */ 23735 edi = MEM32(edx + 0x8); /* 0x2B070C74: mov edi, dword ptr [edx + 8] */ 23736 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 23737 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23738 edi = edi + MEM32(edx + 0x4); /* 0x2B070C77: add edi, dword ptr [edx + 4] */ 23739 _flag_k = FK_ADD; 23740 ecx = esi; /* 0x2B070C7A: mov ecx, esi */ 23741 eax = ecx; /* 0x2B070C7C: mov eax, ecx */ 23742 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070C7E: shr ecx, 2 */ 23743 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 23744 ecx = ecx >> 2u; /* 0x2B070C7E: shr ecx, 2 */ 23745 esi = 0x2B0EB7C8u; /* 0x2B070C81: mov esi, 0x2b0eb7c8 */ 23746 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070C86: 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; } 23747 ecx = eax; /* 0x2B070C88: mov ecx, eax */ 23748 eax = MEM32(ebp + (-0x18)); /* 0x2B070C8A: mov eax, dword ptr [ebp - 0x18] */ 23749 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 23750 ecx = ecx & 3; /* 0x2B070C8D: and ecx, 3 */ 23751 _cf = 0; 23752 _flag_k = FK_TEST; 23753 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070C90: 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; } 23754 ecx = MEM32(edx + 0x4); /* 0x2B070C92: mov ecx, dword ptr [edx + 4] */ 23755 MEM32(edx + 0x8) = eax; /* 0x2B070C95: mov dword ptr [edx + 8], eax */ 23756 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 23757 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23758 eax = eax + ecx; /* 0x2B070C98: add eax, ecx */ 23759 _flag_k = FK_ADD; 23760 MEM8(eax) = (uint8_t)(0); /* 0x2B070C9A: mov byte ptr [eax], 0 */ 23761 L_2B070C9D: 23762 /* test MEM8(ebp + 0xC), 2 */ /* 0x2B070C9D: test byte ptr [ebp + 0xc], 2 */ 23763 _flag_a = (uint32_t)(MEM8(ebp + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24; 23764 _cf = 0; 23765 _flag_k = FK_NARROW(FK_TEST, 24); 23766 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D1B; /* 0x2B070CA1: je 0x2b070d1b */ 23767 L_2B070CA3: 23768 edx = MEM32(ebx + 0x28); /* 0x2B070CA3: mov edx, dword ptr [ebx + 0x28] */ 23769 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 23770 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070CA6: or ecx, 0xffffffff */ 23771 _cf = 0; 23772 _flag_k = FK_TEST; 23773 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 23774 eax = 0; /* 0x2B070CA9: xor eax, eax */ 23775 _cf = 0; 23776 _flag_k = FK_TEST; 23777 edi = 0x2B0EB7BCu; /* 0x2B070CAB: mov edi, 0x2b0eb7bc */ 23778 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; } /* 0x2B070CB0: repne scasb al, byte ptr es:[edi] */ 23779 edi = MEM32(edx + 0x8); /* 0x2B070CB2: mov edi, dword ptr [edx + 8] */ 23780 ecx = ~ecx; /* 0x2B070CB5: not ecx */ 23781 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 23782 ecx = ecx - 1; /* 0x2B070CB7: dec ecx */ 23783 _flag_k = FK_DEC; 23784 esi = ecx; /* 0x2B070CB8: mov esi, ecx */ 23785 ecx = MEM32(0x2B0B515C); /* 0x2B070CBA: mov ecx, dword ptr [0x2b0b515c] */ 23786 eax = MEM32(ecx); /* 0x2B070CC0: mov eax, dword ptr [ecx] */ 23787 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 23788 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23789 eax = eax - edi; /* 0x2B070CC2: sub eax, edi */ 23790 _flag_k = FK_CMP; 23791 /* cmp eax, esi */ /* 0x2B070CC4: cmp eax, esi */ 23792 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 23793 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23794 _flag_k = FK_CMP; 23795 MEM32(ebp + (-0x14)) = edx; /* 0x2B070CC6: mov dword ptr [ebp - 0x14], edx */ 23796 if (CMP_A(_flag_a, _flag_b)) goto L_2B070CD1; /* 0x2B070CC9: ja 0x2b070cd1 */ 23797 L_2B070CCB: 23798 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070CCB: call dword ptr [0x2b0b51a8] */ 23799 RECOMP_FLAGS_IN(); 23800 L_2B070CD1: 23801 /* test esi, esi */ /* 0x2B070CD1: test esi, esi */ 23802 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 23803 _cf = 0; 23804 _flag_k = FK_TEST; 23805 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D1B; /* 0x2B070CD3: jbe 0x2b070d1b */ 23806 L_2B070CD5: 23807 ecx = MEM32(ebp + (-0x14)); /* 0x2B070CD5: mov ecx, dword ptr [ebp - 0x14] */ 23808 edx = MEM32(ecx + 0x8); /* 0x2B070CD8: mov edx, dword ptr [ecx + 8] */ 23809 eax = esi; /* 0x2B070CDB: mov eax, esi */ 23810 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 23811 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23812 eax = eax + edx; /* 0x2B070CDD: add eax, edx */ 23813 _flag_k = FK_ADD; 23814 PUSH32(esp, 0); /* 0x2B070CDF: push 0 */ 23815 PUSH32(esp, eax); /* 0x2B070CE1: push eax */ 23816 MEM32(ebp + (-0x18)) = eax; /* 0x2B070CE2: mov dword ptr [ebp - 0x18], eax */ 23817 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070CE5: call dword ptr [0x2b0b5154] */ 23818 RECOMP_FLAGS_IN(); 23819 /* test LO8(eax), LO8(eax) */ /* 0x2B070CEB: test al, al */ 23820 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 23821 _cf = 0; 23822 _flag_k = FK_NARROW(FK_TEST, 24); 23823 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D1B; /* 0x2B070CED: je 0x2b070d1b */ 23824 L_2B070CEF: 23825 edx = MEM32(ebp + (-0x14)); /* 0x2B070CEF: mov edx, dword ptr [ebp - 0x14] */ 23826 edi = MEM32(edx + 0x8); /* 0x2B070CF2: mov edi, dword ptr [edx + 8] */ 23827 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 23828 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23829 edi = edi + MEM32(edx + 0x4); /* 0x2B070CF5: add edi, dword ptr [edx + 4] */ 23830 _flag_k = FK_ADD; 23831 ecx = esi; /* 0x2B070CF8: mov ecx, esi */ 23832 eax = ecx; /* 0x2B070CFA: mov eax, ecx */ 23833 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070CFC: shr ecx, 2 */ 23834 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 23835 ecx = ecx >> 2u; /* 0x2B070CFC: shr ecx, 2 */ 23836 esi = 0x2B0EB7BCu; /* 0x2B070CFF: mov esi, 0x2b0eb7bc */ 23837 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070D04: 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; } 23838 ecx = eax; /* 0x2B070D06: mov ecx, eax */ 23839 eax = MEM32(ebp + (-0x18)); /* 0x2B070D08: mov eax, dword ptr [ebp - 0x18] */ 23840 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 23841 ecx = ecx & 3; /* 0x2B070D0B: and ecx, 3 */ 23842 _cf = 0; 23843 _flag_k = FK_TEST; 23844 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070D0E: 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; } 23845 ecx = MEM32(edx + 0x4); /* 0x2B070D10: mov ecx, dword ptr [edx + 4] */ 23846 MEM32(edx + 0x8) = eax; /* 0x2B070D13: mov dword ptr [edx + 8], eax */ 23847 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 23848 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23849 eax = eax + ecx; /* 0x2B070D16: add eax, ecx */ 23850 _flag_k = FK_ADD; 23851 MEM8(eax) = (uint8_t)(0); /* 0x2B070D18: mov byte ptr [eax], 0 */ 23852 L_2B070D1B: 23853 /* test MEM8(ebp + 0xC), 4 */ /* 0x2B070D1B: test byte ptr [ebp + 0xc], 4 */ 23854 _flag_a = (uint32_t)(MEM8(ebp + 0xC)) << 24; _flag_b = (uint32_t)(4) << 24; 23855 _cf = 0; 23856 _flag_k = FK_NARROW(FK_TEST, 24); 23857 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D99; /* 0x2B070D1F: je 0x2b070d99 */ 23858 L_2B070D21: 23859 edx = MEM32(ebx + 0x28); /* 0x2B070D21: mov edx, dword ptr [ebx + 0x28] */ 23860 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 23861 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070D24: or ecx, 0xffffffff */ 23862 _cf = 0; 23863 _flag_k = FK_TEST; 23864 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 23865 eax = 0; /* 0x2B070D27: xor eax, eax */ 23866 _cf = 0; 23867 _flag_k = FK_TEST; 23868 edi = 0x2B0EB7B0u; /* 0x2B070D29: mov edi, 0x2b0eb7b0 */ 23869 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; } /* 0x2B070D2E: repne scasb al, byte ptr es:[edi] */ 23870 edi = MEM32(edx + 0x8); /* 0x2B070D30: mov edi, dword ptr [edx + 8] */ 23871 ecx = ~ecx; /* 0x2B070D33: not ecx */ 23872 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 23873 ecx = ecx - 1; /* 0x2B070D35: dec ecx */ 23874 _flag_k = FK_DEC; 23875 esi = ecx; /* 0x2B070D36: mov esi, ecx */ 23876 ecx = MEM32(0x2B0B515C); /* 0x2B070D38: mov ecx, dword ptr [0x2b0b515c] */ 23877 eax = MEM32(ecx); /* 0x2B070D3E: mov eax, dword ptr [ecx] */ 23878 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 23879 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23880 eax = eax - edi; /* 0x2B070D40: sub eax, edi */ 23881 _flag_k = FK_CMP; 23882 /* cmp eax, esi */ /* 0x2B070D42: cmp eax, esi */ 23883 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 23884 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23885 _flag_k = FK_CMP; 23886 MEM32(ebp + (-0x14)) = edx; /* 0x2B070D44: mov dword ptr [ebp - 0x14], edx */ 23887 if (CMP_A(_flag_a, _flag_b)) goto L_2B070D4F; /* 0x2B070D47: ja 0x2b070d4f */ 23888 L_2B070D49: 23889 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070D49: call dword ptr [0x2b0b51a8] */ 23890 RECOMP_FLAGS_IN(); 23891 L_2B070D4F: 23892 /* test esi, esi */ /* 0x2B070D4F: test esi, esi */ 23893 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 23894 _cf = 0; 23895 _flag_k = FK_TEST; 23896 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D99; /* 0x2B070D51: jbe 0x2b070d99 */ 23897 L_2B070D53: 23898 ecx = MEM32(ebp + (-0x14)); /* 0x2B070D53: mov ecx, dword ptr [ebp - 0x14] */ 23899 edx = MEM32(ecx + 0x8); /* 0x2B070D56: mov edx, dword ptr [ecx + 8] */ 23900 eax = esi; /* 0x2B070D59: mov eax, esi */ 23901 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 23902 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23903 eax = eax + edx; /* 0x2B070D5B: add eax, edx */ 23904 _flag_k = FK_ADD; 23905 PUSH32(esp, 0); /* 0x2B070D5D: push 0 */ 23906 PUSH32(esp, eax); /* 0x2B070D5F: push eax */ 23907 MEM32(ebp + (-0x18)) = eax; /* 0x2B070D60: mov dword ptr [ebp - 0x18], eax */ 23908 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070D63: call dword ptr [0x2b0b5154] */ 23909 RECOMP_FLAGS_IN(); 23910 /* test LO8(eax), LO8(eax) */ /* 0x2B070D69: test al, al */ 23911 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 23912 _cf = 0; 23913 _flag_k = FK_NARROW(FK_TEST, 24); 23914 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D99; /* 0x2B070D6B: je 0x2b070d99 */ 23915 L_2B070D6D: 23916 edx = MEM32(ebp + (-0x14)); /* 0x2B070D6D: mov edx, dword ptr [ebp - 0x14] */ 23917 edi = MEM32(edx + 0x8); /* 0x2B070D70: mov edi, dword ptr [edx + 8] */ 23918 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 23919 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23920 edi = edi + MEM32(edx + 0x4); /* 0x2B070D73: add edi, dword ptr [edx + 4] */ 23921 _flag_k = FK_ADD; 23922 ecx = esi; /* 0x2B070D76: mov ecx, esi */ 23923 eax = ecx; /* 0x2B070D78: mov eax, ecx */ 23924 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070D7A: shr ecx, 2 */ 23925 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 23926 ecx = ecx >> 2u; /* 0x2B070D7A: shr ecx, 2 */ 23927 esi = 0x2B0EB7B0u; /* 0x2B070D7D: mov esi, 0x2b0eb7b0 */ 23928 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070D82: 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; } 23929 ecx = eax; /* 0x2B070D84: mov ecx, eax */ 23930 eax = MEM32(ebp + (-0x18)); /* 0x2B070D86: mov eax, dword ptr [ebp - 0x18] */ 23931 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 23932 ecx = ecx & 3; /* 0x2B070D89: and ecx, 3 */ 23933 _cf = 0; 23934 _flag_k = FK_TEST; 23935 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070D8C: 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; } 23936 ecx = MEM32(edx + 0x4); /* 0x2B070D8E: mov ecx, dword ptr [edx + 4] */ 23937 MEM32(edx + 0x8) = eax; /* 0x2B070D91: mov dword ptr [edx + 8], eax */ 23938 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 23939 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23940 eax = eax + ecx; /* 0x2B070D94: add eax, ecx */ 23941 _flag_k = FK_ADD; 23942 MEM8(eax) = (uint8_t)(0); /* 0x2B070D96: mov byte ptr [eax], 0 */ 23943 L_2B070D99: 23944 /* test MEM8(ebp + 0xC), 8 */ /* 0x2B070D99: test byte ptr [ebp + 0xc], 8 */ 23945 _flag_a = (uint32_t)(MEM8(ebp + 0xC)) << 24; _flag_b = (uint32_t)(8) << 24; 23946 _cf = 0; 23947 _flag_k = FK_NARROW(FK_TEST, 24); 23948 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E17; /* 0x2B070D9D: je 0x2b070e17 */ 23949 L_2B070D9F: 23950 edx = MEM32(ebx + 0x28); /* 0x2B070D9F: mov edx, dword ptr [ebx + 0x28] */ 23951 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 23952 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070DA2: or ecx, 0xffffffff */ 23953 _cf = 0; 23954 _flag_k = FK_TEST; 23955 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 23956 eax = 0; /* 0x2B070DA5: xor eax, eax */ 23957 _cf = 0; 23958 _flag_k = FK_TEST; 23959 edi = 0x2B0EB7A4u; /* 0x2B070DA7: mov edi, 0x2b0eb7a4 */ 23960 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; } /* 0x2B070DAC: repne scasb al, byte ptr es:[edi] */ 23961 edi = MEM32(edx + 0x8); /* 0x2B070DAE: mov edi, dword ptr [edx + 8] */ 23962 ecx = ~ecx; /* 0x2B070DB1: not ecx */ 23963 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 23964 ecx = ecx - 1; /* 0x2B070DB3: dec ecx */ 23965 _flag_k = FK_DEC; 23966 esi = ecx; /* 0x2B070DB4: mov esi, ecx */ 23967 ecx = MEM32(0x2B0B515C); /* 0x2B070DB6: mov ecx, dword ptr [0x2b0b515c] */ 23968 eax = MEM32(ecx); /* 0x2B070DBC: mov eax, dword ptr [ecx] */ 23969 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 23970 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23971 eax = eax - edi; /* 0x2B070DBE: sub eax, edi */ 23972 _flag_k = FK_CMP; 23973 /* cmp eax, esi */ /* 0x2B070DC0: cmp eax, esi */ 23974 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 23975 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23976 _flag_k = FK_CMP; 23977 MEM32(ebp + (-0x14)) = edx; /* 0x2B070DC2: mov dword ptr [ebp - 0x14], edx */ 23978 if (CMP_A(_flag_a, _flag_b)) goto L_2B070DCD; /* 0x2B070DC5: ja 0x2b070dcd */ 23979 L_2B070DC7: 23980 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070DC7: call dword ptr [0x2b0b51a8] */ 23981 RECOMP_FLAGS_IN(); 23982 L_2B070DCD: 23983 /* test esi, esi */ /* 0x2B070DCD: test esi, esi */ 23984 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 23985 _cf = 0; 23986 _flag_k = FK_TEST; 23987 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E17; /* 0x2B070DCF: jbe 0x2b070e17 */ 23988 L_2B070DD1: 23989 ecx = MEM32(ebp + (-0x14)); /* 0x2B070DD1: mov ecx, dword ptr [ebp - 0x14] */ 23990 edx = MEM32(ecx + 0x8); /* 0x2B070DD4: mov edx, dword ptr [ecx + 8] */ 23991 eax = esi; /* 0x2B070DD7: mov eax, esi */ 23992 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 23993 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23994 eax = eax + edx; /* 0x2B070DD9: add eax, edx */ 23995 _flag_k = FK_ADD; 23996 PUSH32(esp, 0); /* 0x2B070DDB: push 0 */ 23997 PUSH32(esp, eax); /* 0x2B070DDD: push eax */ 23998 MEM32(ebp + (-0x18)) = eax; /* 0x2B070DDE: mov dword ptr [ebp - 0x18], eax */ 23999 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070DE1: call dword ptr [0x2b0b5154] */ 24000 RECOMP_FLAGS_IN(); 24001 /* test LO8(eax), LO8(eax) */ /* 0x2B070DE7: test al, al */ 24002 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 24003 _cf = 0; 24004 _flag_k = FK_NARROW(FK_TEST, 24); 24005 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E17; /* 0x2B070DE9: je 0x2b070e17 */ 24006 L_2B070DEB: 24007 edx = MEM32(ebp + (-0x14)); /* 0x2B070DEB: mov edx, dword ptr [ebp - 0x14] */ 24008 edi = MEM32(edx + 0x8); /* 0x2B070DEE: mov edi, dword ptr [edx + 8] */ 24009 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 24010 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 24011 edi = edi + MEM32(edx + 0x4); /* 0x2B070DF1: add edi, dword ptr [edx + 4] */ 24012 _flag_k = FK_ADD; 24013 ecx = esi; /* 0x2B070DF4: mov ecx, esi */ 24014 eax = ecx; /* 0x2B070DF6: mov eax, ecx */ 24015 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070DF8: shr ecx, 2 */ 24016 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 24017 ecx = ecx >> 2u; /* 0x2B070DF8: shr ecx, 2 */ 24018 esi = 0x2B0EB7A4u; /* 0x2B070DFB: mov esi, 0x2b0eb7a4 */ 24019 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070E00: 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; } 24020 ecx = eax; /* 0x2B070E02: mov ecx, eax */ 24021 eax = MEM32(ebp + (-0x18)); /* 0x2B070E04: mov eax, dword ptr [ebp - 0x18] */ 24022 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 24023 ecx = ecx & 3; /* 0x2B070E07: and ecx, 3 */ 24024 _cf = 0; 24025 _flag_k = FK_TEST; 24026 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070E0A: 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; } 24027 ecx = MEM32(edx + 0x4); /* 0x2B070E0C: mov ecx, dword ptr [edx + 4] */ 24028 MEM32(edx + 0x8) = eax; /* 0x2B070E0F: mov dword ptr [edx + 8], eax */ 24029 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 24030 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 24031 eax = eax + ecx; /* 0x2B070E12: add eax, ecx */ 24032 _flag_k = FK_ADD; 24033 MEM8(eax) = (uint8_t)(0); /* 0x2B070E14: mov byte ptr [eax], 0 */ 24034 L_2B070E17: 24035 /* test MEM8(ebp + 0xC), 0x10u */ /* 0x2B070E17: test byte ptr [ebp + 0xc], 0x10 */ 24036 _flag_a = (uint32_t)(MEM8(ebp + 0xC)) << 24; _flag_b = (uint32_t)(0x10u) << 24; 24037 _cf = 0; 24038 _flag_k = FK_NARROW(FK_TEST, 24); 24039 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070E1B: je 0x2b070e97 */ 24040 L_2B070E1D: 24041 edx = MEM32(ebx + 0x28); /* 0x2B070E1D: mov edx, dword ptr [ebx + 0x28] */ 24042 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 24043 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070E20: or ecx, 0xffffffff */ 24044 _cf = 0; 24045 _flag_k = FK_TEST; 24046 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 24047 eax = 0; /* 0x2B070E23: xor eax, eax */ 24048 _cf = 0; 24049 _flag_k = FK_TEST; 24050 edi = 0x2B0EB79Cu; /* 0x2B070E25: mov edi, 0x2b0eb79c */ 24051 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; } /* 0x2B070E2A: repne scasb al, byte ptr es:[edi] */ 24052 edi = MEM32(edx + 0x8); /* 0x2B070E2C: mov edi, dword ptr [edx + 8] */ 24053 ecx = ~ecx; /* 0x2B070E2F: not ecx */ 24054 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 24055 ecx = ecx - 1; /* 0x2B070E31: dec ecx */ 24056 _flag_k = FK_DEC; 24057 esi = ecx; /* 0x2B070E32: mov esi, ecx */ 24058 ecx = MEM32(0x2B0B515C); /* 0x2B070E34: mov ecx, dword ptr [0x2b0b515c] */ 24059 eax = MEM32(ecx); /* 0x2B070E3A: mov eax, dword ptr [ecx] */ 24060 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 24061 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24062 eax = eax - edi; /* 0x2B070E3C: sub eax, edi */ 24063 _flag_k = FK_CMP; 24064 /* cmp eax, esi */ /* 0x2B070E3E: cmp eax, esi */ 24065 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 24066 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24067 _flag_k = FK_CMP; 24068 MEM32(ebp + 0xC) = edx; /* 0x2B070E40: mov dword ptr [ebp + 0xc], edx */ 24069 if (CMP_A(_flag_a, _flag_b)) goto L_2B070E4E; /* 0x2B070E43: ja 0x2b070e4e */ 24070 L_2B070E45: 24071 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070E45: call dword ptr [0x2b0b51a8] */ 24072 RECOMP_FLAGS_IN(); 24073 edx = MEM32(ebp + 0xC); /* 0x2B070E4B: mov edx, dword ptr [ebp + 0xc] */ 24074 L_2B070E4E: 24075 /* test esi, esi */ /* 0x2B070E4E: test esi, esi */ 24076 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 24077 _cf = 0; 24078 _flag_k = FK_TEST; 24079 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070E50: jbe 0x2b070e97 */ 24080 L_2B070E52: 24081 edi = MEM32(edx + 0x8); /* 0x2B070E52: mov edi, dword ptr [edx + 8] */ 24082 eax = esi; /* 0x2B070E55: mov eax, esi */ 24083 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 24084 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 24085 eax = eax + edi; /* 0x2B070E57: add eax, edi */ 24086 _flag_k = FK_ADD; 24087 PUSH32(esp, 0); /* 0x2B070E59: push 0 */ 24088 PUSH32(esp, eax); /* 0x2B070E5B: push eax */ 24089 ecx = edx; /* 0x2B070E5C: mov ecx, edx */ 24090 MEM32(ebp + (-0x18)) = eax; /* 0x2B070E5E: mov dword ptr [ebp - 0x18], eax */ 24091 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070E61: call dword ptr [0x2b0b5154] */ 24092 RECOMP_FLAGS_IN(); 24093 /* test LO8(eax), LO8(eax) */ /* 0x2B070E67: test al, al */ 24094 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 24095 _cf = 0; 24096 _flag_k = FK_NARROW(FK_TEST, 24); 24097 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070E69: je 0x2b070e97 */ 24098 L_2B070E6B: 24099 edx = MEM32(ebp + 0xC); /* 0x2B070E6B: mov edx, dword ptr [ebp + 0xc] */ 24100 ecx = MEM32(edx + 0x4); /* 0x2B070E6E: mov ecx, dword ptr [edx + 4] */ 24101 edi = MEM32(edx + 0x8); /* 0x2B070E71: mov edi, dword ptr [edx + 8] */ 24102 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 24103 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 24104 edi = edi + ecx; /* 0x2B070E74: add edi, ecx */ 24105 _flag_k = FK_ADD; 24106 ecx = esi; /* 0x2B070E76: mov ecx, esi */ 24107 eax = ecx; /* 0x2B070E78: mov eax, ecx */ 24108 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070E7A: shr ecx, 2 */ 24109 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 24110 ecx = ecx >> 2u; /* 0x2B070E7A: shr ecx, 2 */ 24111 esi = 0x2B0EB79Cu; /* 0x2B070E7D: mov esi, 0x2b0eb79c */ 24112 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070E82: 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; } 24113 ecx = eax; /* 0x2B070E84: mov ecx, eax */ 24114 eax = MEM32(ebp + (-0x18)); /* 0x2B070E86: mov eax, dword ptr [ebp - 0x18] */ 24115 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 24116 ecx = ecx & 3; /* 0x2B070E89: and ecx, 3 */ 24117 _cf = 0; 24118 _flag_k = FK_TEST; 24119 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070E8C: 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; } 24120 L_2B070E8E: 24121 MEM32(edx + 0x8) = eax; /* 0x2B070E8E: mov dword ptr [edx + 8], eax */ 24122 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 24123 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 24124 eax = eax + MEM32(edx + 0x4); /* 0x2B070E91: add eax, dword ptr [edx + 4] */ 24125 _flag_k = FK_ADD; 24126 MEM8(eax) = (uint8_t)(0); /* 0x2B070E94: mov byte ptr [eax], 0 */ 24127 L_2B070E97: 24128 SET_LO8(ecx, MEM8(ebp + 0xF)); /* 0x2B070E97: mov cl, byte ptr [ebp + 0xf] */ 24129 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 24130 edi = 0; /* 0x2B070E9A: xor edi, edi */ 24131 _cf = 0; 24132 _flag_k = FK_TEST; 24133 MEM8(ebp + (-0x44)) = (uint8_t)(LO8(ecx)); /* 0x2B070E9C: mov byte ptr [ebp - 0x44], cl */ 24134 PUSH32(esp, edi); /* 0x2B070E9F: push edi */ 24135 ecx = ebp + (-0x44); /* 0x2B070EA0: lea ecx, [ebp - 0x44] */ 24136 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B070EA3: call dword ptr [0x2b0b514c] */ 24137 RECOMP_FLAGS_IN(); 24138 MEM32(ebp + (-0x34)) = edi; /* 0x2B070EA9: mov dword ptr [ebp - 0x34], edi */ 24139 esi = MEM32(0x2B0B5D6C); /* 0x2B070EAC: mov esi, dword ptr [0x2b0b5d6c] */ 24140 MEM32(ebp + (-0x4)) = 1; /* 0x2B070EB2: mov dword ptr [ebp - 4], 1 */ 24141 MEM32(ebp + 0xC) = edi; /* 0x2B070EB9: mov dword ptr [ebp + 0xc], edi */ 24142 L_2B070EBC: 24143 edx = MEM32(ebp + 0xC); /* 0x2B070EBC: mov edx, dword ptr [ebp + 0xc] */ 24144 eax = MEM32(ebp + 0x8); /* 0x2B070EBF: mov eax, dword ptr [ebp + 8] */ 24145 PUSH32(esp, edx); /* 0x2B070EC2: push edx */ 24146 PUSH32(esp, eax); /* 0x2B070EC3: push eax */ 24147 RECOMP_ICALL(esi); /* 0x2B070EC4: call esi */ 24148 RECOMP_FLAGS_IN(); 24149 ecx = eax; /* 0x2B070EC6: mov ecx, eax */ 24150 RECOMP_ICALL(MEM32(0x2B0B5D80)); /* 0x2B070EC8: call dword ptr [0x2b0b5d80] */ 24151 RECOMP_FLAGS_IN(); 24152 /* cmp eax, edi */ /* 0x2B070ECE: cmp eax, edi */ 24153 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 24154 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24155 _flag_k = FK_CMP; 24156 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071042; /* 0x2B070ED0: je 0x2b071042 */ 24157 L_2B070ED6: 24158 PUSH32(esp, eax); /* 0x2B070ED6: push eax */ 24159 ecx = ebp + (-0x20); /* 0x2B070ED7: lea ecx, [ebp - 0x20] */ 24160 PUSH32(esp, ecx); /* 0x2B070EDA: push ecx */ 24161 MEM32(ebp + (-0x20)) = edi; /* 0x2B070EDB: mov dword ptr [ebp - 0x20], edi */ 24162 MEM32(ebp + (-0x1C)) = edi; /* 0x2B070EDE: mov dword ptr [ebp - 0x1c], edi */ 24163 RECOMP_ICALL(esi); /* 0x2B070EE1: call esi */ 24164 RECOMP_FLAGS_IN(); 24165 ecx = eax; /* 0x2B070EE3: mov ecx, eax */ 24166 RECOMP_ICALL(MEM32(0x2B0B5D4C)); /* 0x2B070EE5: call dword ptr [0x2b0b5d4c] */ 24167 RECOMP_FLAGS_IN(); 24168 /* test LO8(eax), LO8(eax) */ /* 0x2B070EEB: test al, al */ 24169 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 24170 _cf = 0; 24171 _flag_k = FK_NARROW(FK_TEST, 24); 24172 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07103A; /* 0x2B070EED: je 0x2b07103a */ 24173 L_2B070EF3: 24174 edx = ebp + (-0x20); /* 0x2B070EF3: lea edx, [ebp - 0x20] */ 24175 PUSH32(esp, 0x1Au); /* 0x2B070EF6: push 0x1a */ 24176 PUSH32(esp, edx); /* 0x2B070EF8: push edx */ 24177 RECOMP_ICALL(esi); /* 0x2B070EF9: call esi */ 24178 RECOMP_FLAGS_IN(); 24179 ecx = eax; /* 0x2B070EFB: mov ecx, eax */ 24180 RECOMP_ICALL(MEM32(0x2B0B5D84)); /* 0x2B070EFD: call dword ptr [0x2b0b5d84] */ 24181 RECOMP_FLAGS_IN(); 24182 /* cmp eax, edi */ /* 0x2B070F03: cmp eax, edi */ 24183 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 24184 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24185 _flag_k = FK_CMP; 24186 MEM32(ebp + (-0x14)) = eax; /* 0x2B070F05: mov dword ptr [ebp - 0x14], eax */ 24187 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07102C; /* 0x2B070F08: je 0x2b07102c */ 24188 L_2B070F0E: 24189 /* cmp MEM8(eax), 0 */ /* 0x2B070F0E: cmp byte ptr [eax], 0 */ 24190 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0) << 24; 24191 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24192 _flag_k = FK_NARROW(FK_CMP, 24); 24193 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07102C; /* 0x2B070F11: je 0x2b07102c */ 24194 L_2B070F17: 24195 eax = ebp + (-0x20); /* 0x2B070F17: lea eax, [ebp - 0x20] */ 24196 PUSH32(esp, eax); /* 0x2B070F1A: push eax */ 24197 RECOMP_ICALL(esi); /* 0x2B070F1B: call esi */ 24198 RECOMP_FLAGS_IN(); 24199 ecx = eax; /* 0x2B070F1D: mov ecx, eax */ 24200 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B070F1F: call dword ptr [0x2b0b5d50] */ 24201 RECOMP_FLAGS_IN(); 24202 ecx = ebp + (-0x44); /* 0x2B070F25: lea ecx, [ebp - 0x44] */ 24203 PUSH32(esp, ecx); /* 0x2B070F28: push ecx */ 24204 PUSH32(esp, eax); /* 0x2B070F29: push eax */ 24205 PUSH32(esp, 0x2B0EB790u); /* 0x2B070F2A: push 0x2b0eb790 */ 24206 ecx = ebx; /* 0x2B070F2F: mov ecx, ebx */ 24207 RECOMP_ICALL(0x2B073610u); /* 0x2B070F31: call 0x2b073610 */ /* not lifted */ 24208 RECOMP_FLAGS_IN(); 24209 edx = ebp + (-0x44); /* 0x2B070F36: lea edx, [ebp - 0x44] */ 24210 PUSH32(esp, edx); /* 0x2B070F39: push edx */ 24211 eax = ebp + (-0x20); /* 0x2B070F3A: lea eax, [ebp - 0x20] */ 24212 PUSH32(esp, eax); /* 0x2B070F3D: push eax */ 24213 ecx = ebx; /* 0x2B070F3E: mov ecx, ebx */ 24214 RECOMP_ICALL(0x2B074770u); /* 0x2B070F40: call 0x2b074770 */ /* not lifted */ 24215 RECOMP_FLAGS_IN(); 24216 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 24217 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070F45: or ecx, 0xffffffff */ 24218 _cf = 0; 24219 _flag_k = FK_TEST; 24220 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 24221 eax = 0; /* 0x2B070F48: xor eax, eax */ 24222 _cf = 0; 24223 _flag_k = FK_TEST; 24224 edi = 0x2B0E2BF8u; /* 0x2B070F4A: mov edi, 0x2b0e2bf8 */ 24225 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; } /* 0x2B070F4F: repne scasb al, byte ptr es:[edi] */ 24226 ecx = ~ecx; /* 0x2B070F51: not ecx */ 24227 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 24228 ecx = ecx - 1; /* 0x2B070F53: dec ecx */ 24229 _flag_k = FK_DEC; 24230 edi = ecx; /* 0x2B070F54: mov edi, ecx */ 24231 ecx = MEM32(0x2B0B515C); /* 0x2B070F56: mov ecx, dword ptr [0x2b0b515c] */ 24232 edx = MEM32(ecx); /* 0x2B070F5C: mov edx, dword ptr [ecx] */ 24233 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + (-0x3C))); 24234 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24235 edx = edx - MEM32(ebp + (-0x3C)); /* 0x2B070F5E: sub edx, dword ptr [ebp - 0x3c] */ 24236 _flag_k = FK_CMP; 24237 /* cmp edx, edi */ /* 0x2B070F61: cmp edx, edi */ 24238 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 24239 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24240 _flag_k = FK_CMP; 24241 if (CMP_A(_flag_a, _flag_b)) goto L_2B070F6B; /* 0x2B070F63: ja 0x2b070f6b */ 24242 L_2B070F65: 24243 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070F65: call dword ptr [0x2b0b51a8] */ 24244 RECOMP_FLAGS_IN(); 24245 L_2B070F6B: 24246 /* test edi, edi */ /* 0x2B070F6B: test edi, edi */ 24247 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 24248 _cf = 0; 24249 _flag_k = FK_TEST; 24250 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070FB8; /* 0x2B070F6D: jbe 0x2b070fb8 */ 24251 L_2B070F6F: 24252 eax = MEM32(ebp + (-0x3C)); /* 0x2B070F6F: mov eax, dword ptr [ebp - 0x3c] */ 24253 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 24254 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 24255 eax = eax + edi; /* 0x2B070F72: add eax, edi */ 24256 _flag_k = FK_ADD; 24257 PUSH32(esp, 0); /* 0x2B070F74: push 0 */ 24258 PUSH32(esp, eax); /* 0x2B070F76: push eax */ 24259 ecx = ebp + (-0x44); /* 0x2B070F77: lea ecx, [ebp - 0x44] */ 24260 MEM32(ebp + (-0x18)) = eax; /* 0x2B070F7A: mov dword ptr [ebp - 0x18], eax */ 24261 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070F7D: call dword ptr [0x2b0b5154] */ 24262 RECOMP_FLAGS_IN(); 24263 /* test LO8(eax), LO8(eax) */ /* 0x2B070F83: test al, al */ 24264 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 24265 _cf = 0; 24266 _flag_k = FK_NARROW(FK_TEST, 24); 24267 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070FB8; /* 0x2B070F85: je 0x2b070fb8 */ 24268 L_2B070F87: 24269 eax = MEM32(ebp + (-0x3C)); /* 0x2B070F87: mov eax, dword ptr [ebp - 0x3c] */ 24270 edx = MEM32(ebp + (-0x40)); /* 0x2B070F8A: mov edx, dword ptr [ebp - 0x40] */ 24271 ecx = edi; /* 0x2B070F8D: mov ecx, edi */ 24272 edi = eax + edx; /* 0x2B070F8F: lea edi, [eax + edx] */ 24273 eax = MEM32(ebp + (-0x18)); /* 0x2B070F92: mov eax, dword ptr [ebp - 0x18] */ 24274 edx = ecx; /* 0x2B070F95: mov edx, ecx */ 24275 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070F97: shr ecx, 2 */ 24276 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 24277 ecx = ecx >> 2u; /* 0x2B070F97: shr ecx, 2 */ 24278 esi = 0x2B0E2BF8u; /* 0x2B070F9A: mov esi, 0x2b0e2bf8 */ 24279 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070F9F: 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; } 24280 ecx = edx; /* 0x2B070FA1: mov ecx, edx */ 24281 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 24282 ecx = ecx & 3; /* 0x2B070FA3: and ecx, 3 */ 24283 _cf = 0; 24284 _flag_k = FK_TEST; 24285 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070FA6: 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; } 24286 ecx = MEM32(ebp + (-0x40)); /* 0x2B070FA8: mov ecx, dword ptr [ebp - 0x40] */ 24287 esi = MEM32(0x2B0B5D6C); /* 0x2B070FAB: mov esi, dword ptr [0x2b0b5d6c] */ 24288 MEM32(ebp + (-0x3C)) = eax; /* 0x2B070FB1: mov dword ptr [ebp - 0x3c], eax */ 24289 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B070FB4: mov byte ptr [ecx + eax], 0 */ 24290 L_2B070FB8: 24291 edi = MEM32(ebp + (-0x14)); /* 0x2B070FB8: mov edi, dword ptr [ebp - 0x14] */ 24292 edx = MEM32(0x2B0B515C); /* 0x2B070FBB: mov edx, dword ptr [0x2b0b515c] */ 24293 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 24294 eax = 0; /* 0x2B070FC1: xor eax, eax */ 24295 _cf = 0; 24296 _flag_k = FK_TEST; 24297 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 24298 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070FC3: or ecx, 0xffffffff */ 24299 _cf = 0; 24300 _flag_k = FK_TEST; 24301 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; } /* 0x2B070FC6: repne scasb al, byte ptr es:[edi] */ 24302 eax = MEM32(edx); /* 0x2B070FC8: mov eax, dword ptr [edx] */ 24303 edx = MEM32(ebp + (-0x3C)); /* 0x2B070FCA: mov edx, dword ptr [ebp - 0x3c] */ 24304 ecx = ~ecx; /* 0x2B070FCD: not ecx */ 24305 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 24306 ecx = ecx - 1; /* 0x2B070FCF: dec ecx */ 24307 _flag_k = FK_DEC; 24308 edi = ecx; /* 0x2B070FD0: mov edi, ecx */ 24309 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 24310 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24311 eax = eax - edx; /* 0x2B070FD2: sub eax, edx */ 24312 _flag_k = FK_CMP; 24313 /* cmp eax, edi */ /* 0x2B070FD4: cmp eax, edi */ 24314 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 24315 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24316 _flag_k = FK_CMP; 24317 if (CMP_A(_flag_a, _flag_b)) goto L_2B070FDE; /* 0x2B070FD6: ja 0x2b070fde */ 24318 L_2B070FD8: 24319 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070FD8: call dword ptr [0x2b0b51a8] */ 24320 RECOMP_FLAGS_IN(); 24321 L_2B070FDE: 24322 /* test edi, edi */ /* 0x2B070FDE: test edi, edi */ 24323 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 24324 _cf = 0; 24325 _flag_k = FK_TEST; 24326 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07102A; /* 0x2B070FE0: jbe 0x2b07102a */ 24327 L_2B070FE2: 24328 ecx = MEM32(ebp + (-0x3C)); /* 0x2B070FE2: mov ecx, dword ptr [ebp - 0x3c] */ 24329 eax = ecx + edi; /* 0x2B070FE5: lea eax, [ecx + edi] */ 24330 PUSH32(esp, 0); /* 0x2B070FE8: push 0 */ 24331 PUSH32(esp, eax); /* 0x2B070FEA: push eax */ 24332 ecx = ebp + (-0x44); /* 0x2B070FEB: lea ecx, [ebp - 0x44] */ 24333 MEM32(ebp + (-0x18)) = eax; /* 0x2B070FEE: mov dword ptr [ebp - 0x18], eax */ 24334 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070FF1: call dword ptr [0x2b0b5154] */ 24335 RECOMP_FLAGS_IN(); 24336 /* test LO8(eax), LO8(eax) */ /* 0x2B070FF7: test al, al */ 24337 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 24338 _cf = 0; 24339 _flag_k = FK_NARROW(FK_TEST, 24); 24340 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07102A; /* 0x2B070FF9: je 0x2b07102a */ 24341 L_2B070FFB: 24342 eax = MEM32(ebp + (-0x3C)); /* 0x2B070FFB: mov eax, dword ptr [ebp - 0x3c] */ 24343 edx = MEM32(ebp + (-0x40)); /* 0x2B070FFE: mov edx, dword ptr [ebp - 0x40] */ 24344 esi = MEM32(ebp + (-0x14)); /* 0x2B071001: mov esi, dword ptr [ebp - 0x14] */ 24345 ecx = edi; /* 0x2B071004: mov ecx, edi */ 24346 edi = eax + edx; /* 0x2B071006: lea edi, [eax + edx] */ 24347 eax = MEM32(ebp + (-0x18)); /* 0x2B071009: mov eax, dword ptr [ebp - 0x18] */ 24348 edx = ecx; /* 0x2B07100C: mov edx, ecx */ 24349 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07100E: shr ecx, 2 */ 24350 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 24351 ecx = ecx >> 2u; /* 0x2B07100E: shr ecx, 2 */ 24352 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071011: 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; } 24353 ecx = edx; /* 0x2B071013: mov ecx, edx */ 24354 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 24355 ecx = ecx & 3; /* 0x2B071015: and ecx, 3 */ 24356 _cf = 0; 24357 _flag_k = FK_TEST; 24358 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071018: 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; } 24359 ecx = MEM32(ebp + (-0x40)); /* 0x2B07101A: mov ecx, dword ptr [ebp - 0x40] */ 24360 esi = MEM32(0x2B0B5D6C); /* 0x2B07101D: mov esi, dword ptr [0x2b0b5d6c] */ 24361 MEM32(ebp + (-0x3C)) = eax; /* 0x2B071023: mov dword ptr [ebp - 0x3c], eax */ 24362 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B071026: mov byte ptr [ecx + eax], 0 */ 24363 L_2B07102A: 24364 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 24365 edi = 0; /* 0x2B07102A: xor edi, edi */ 24366 _cf = 0; 24367 _flag_k = FK_TEST; 24368 L_2B07102C: 24369 edx = ebp + (-0x20); /* 0x2B07102C: lea edx, [ebp - 0x20] */ 24370 PUSH32(esp, edx); /* 0x2B07102F: push edx */ 24371 RECOMP_ICALL(esi); /* 0x2B071030: call esi */ 24372 RECOMP_FLAGS_IN(); 24373 ecx = eax; /* 0x2B071032: mov ecx, eax */ 24374 RECOMP_ICALL(MEM32(0x2B0B5D54)); /* 0x2B071034: call dword ptr [0x2b0b5d54] */ 24375 RECOMP_FLAGS_IN(); 24376 L_2B07103A: 24377 _flag_a = (uint32_t)(MEM32(ebp + 0xC)); _flag_b = (uint32_t)(1); 24378 MEM32(ebp + 0xC) = MEM32(ebp + 0xC) + 1; /* 0x2B07103A: inc dword ptr [ebp + 0xc] */ 24379 _flag_k = FK_INC; 24380 RECOMP_BACKEDGE(); 24381 goto L_2B070EBC; /* 0x2B07103D: jmp 0x2b070ebc */ 24382 L_2B071042: 24383 /* cmp MEM32(ebp + (-0x3C)), edi */ /* 0x2B071042: cmp dword ptr [ebp - 0x3c], edi */ 24384 _flag_a = (uint32_t)(MEM32(ebp + (-0x3C))); _flag_b = (uint32_t)(edi); 24385 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24386 _flag_k = FK_CMP; 24387 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071064; /* 0x2B071045: je 0x2b071064 */ 24388 L_2B071047: 24389 eax = MEM32(ebp + (-0x40)); /* 0x2B071047: mov eax, dword ptr [ebp - 0x40] */ 24390 /* cmp eax, edi */ /* 0x2B07104A: cmp eax, edi */ 24391 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 24392 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24393 _flag_k = FK_CMP; 24394 if (CMP_NE(_flag_a, _flag_b)) goto L_2B071053; /* 0x2B07104C: jne 0x2b071053 */ 24395 L_2B07104E: 24396 eax = MEM32(0x2B0B513C); /* 0x2B07104E: mov eax, dword ptr [0x2b0b513c] */ 24397 L_2B071053: 24398 ecx = MEM32(ebx + 0x28); /* 0x2B071053: mov ecx, dword ptr [ebx + 0x28] */ 24399 PUSH32(esp, ecx); /* 0x2B071056: push ecx */ 24400 PUSH32(esp, eax); /* 0x2B071057: push eax */ 24401 PUSH32(esp, 0x2B0EB770u); /* 0x2B071058: push 0x2b0eb770 */ 24402 ecx = ebx; /* 0x2B07105D: mov ecx, ebx */ 24403 RECOMP_ICALL(0x2B073610u); /* 0x2B07105F: call 0x2b073610 */ /* not lifted */ 24404 RECOMP_FLAGS_IN(); 24405 L_2B071064: 24406 eax = MEM32(ebp + (-0x34)); /* 0x2B071064: mov eax, dword ptr [ebp - 0x34] */ 24407 /* cmp eax, edi */ /* 0x2B071067: cmp eax, edi */ 24408 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 24409 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24410 _flag_k = FK_CMP; 24411 MEM32(ebp + (-0x4)) = 2; /* 0x2B071069: mov dword ptr [ebp - 4], 2 */ 24412 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710D2; /* 0x2B071070: je 0x2b0710d2 */ 24413 L_2B071072: 24414 edx = MEM32(eax + 0x2C); /* 0x2B071072: mov edx, dword ptr [eax + 0x2c] */ 24415 edi = eax; /* 0x2B071075: mov edi, eax */ 24416 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 24417 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 24418 eax = eax + 0x2Cu; /* 0x2B071077: add eax, 0x2c */ 24419 _flag_k = FK_ADD; 24420 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 24421 edx = edx - 1; /* 0x2B07107A: dec edx */ 24422 _flag_k = FK_DEC; 24423 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 24424 esi = 0; /* 0x2B07107B: xor esi, esi */ 24425 _cf = 0; 24426 _flag_k = FK_TEST; 24427 ecx = edx; /* 0x2B07107D: mov ecx, edx */ 24428 /* cmp ecx, esi */ /* 0x2B07107F: cmp ecx, esi */ 24429 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 24430 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24431 _flag_k = FK_CMP; 24432 MEM32(eax) = edx; /* 0x2B071081: mov dword ptr [eax], edx */ 24433 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0710D4; /* 0x2B071083: jne 0x2b0710d4 */ 24434 L_2B071085: 24435 /* cmp edi, esi */ /* 0x2B071085: cmp edi, esi */ 24436 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 24437 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24438 _flag_k = FK_CMP; 24439 MEM32(ebp + 0xC) = edi; /* 0x2B071087: mov dword ptr [ebp + 0xc], edi */ 24440 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710D4; /* 0x2B07108A: je 0x2b0710d4 */ 24441 L_2B07108C: 24442 PUSH32(esp, 1); /* 0x2B07108C: push 1 */ 24443 ecx = edi + 0x1C; /* 0x2B07108E: lea ecx, [edi + 0x1c] */ 24444 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B071091: mov byte ptr [ebp - 4], 3 */ 24445 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B071095: call dword ptr [0x2b0b514c] */ 24446 RECOMP_FLAGS_IN(); 24447 eax = MEM32(edi + 0x10); /* 0x2B07109B: mov eax, dword ptr [edi + 0x10] */ 24448 /* cmp eax, esi */ /* 0x2B07109E: cmp eax, esi */ 24449 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 24450 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24451 _flag_k = FK_CMP; 24452 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710BE; /* 0x2B0710A0: je 0x2b0710be */ 24453 L_2B0710A2: 24454 ecx = eax + (-0x1); /* 0x2B0710A2: lea ecx, [eax - 1] */ 24455 SET_LO8(eax, MEM8(ecx)); /* 0x2B0710A5: mov al, byte ptr [ecx] */ 24456 /* test LO8(eax), LO8(eax) */ /* 0x2B0710A7: test al, al */ 24457 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 24458 _cf = 0; 24459 _flag_k = FK_NARROW(FK_TEST, 24); 24460 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0710B5; /* 0x2B0710A9: je 0x2b0710b5 */ 24461 L_2B0710AB: 24462 /* cmp LO8(eax), 0xFFu */ /* 0x2B0710AB: cmp al, 0xff */ 24463 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 24464 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24465 _flag_k = FK_NARROW(FK_CMP, 24); 24466 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710B5; /* 0x2B0710AD: je 0x2b0710b5 */ 24467 L_2B0710AF: 24468 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 24469 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0710AF: dec al */ 24470 _flag_k = FK_NARROW(FK_DEC, 24); 24471 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B0710B1: mov byte ptr [ecx], al */ 24472 goto L_2B0710BE; /* 0x2B0710B3: jmp 0x2b0710be */ 24473 L_2B0710B5: 24474 PUSH32(esp, ecx); /* 0x2B0710B5: push ecx */ 24475 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0710B6: call 0x2b0ab1ba */ /* not lifted */ 24476 RECOMP_FLAGS_IN(); 24477 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 24478 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 24479 esp = esp + 4; /* 0x2B0710BB: add esp, 4 */ 24480 _flag_k = FK_ADD; 24481 L_2B0710BE: 24482 PUSH32(esp, edi); /* 0x2B0710BE: push edi */ 24483 MEM32(edi + 0x10) = esi; /* 0x2B0710BF: mov dword ptr [edi + 0x10], esi */ 24484 MEM32(edi + 0x14) = esi; /* 0x2B0710C2: mov dword ptr [edi + 0x14], esi */ 24485 MEM32(edi + 0x18) = esi; /* 0x2B0710C5: mov dword ptr [edi + 0x18], esi */ 24486 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0710C8: call 0x2b0ab1ba */ /* not lifted */ 24487 RECOMP_FLAGS_IN(); 24488 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 24489 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 24490 esp = esp + 4; /* 0x2B0710CD: add esp, 4 */ 24491 _flag_k = FK_ADD; 24492 goto L_2B0710D4; /* 0x2B0710D0: jmp 0x2b0710d4 */ 24493 L_2B0710D2: 24494 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 24495 esi = 0; /* 0x2B0710D2: xor esi, esi */ 24496 _cf = 0; 24497 _flag_k = FK_TEST; 24498 L_2B0710D4: 24499 ecx = MEM32(ebp + (-0x40)); /* 0x2B0710D4: mov ecx, dword ptr [ebp - 0x40] */ 24500 /* cmp ecx, esi */ /* 0x2B0710D7: cmp ecx, esi */ 24501 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 24502 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24503 _flag_k = FK_CMP; 24504 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071108; /* 0x2B0710D9: je 0x2b071108 */ 24505 L_2B0710DB: 24506 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B0710DB: mov al, byte ptr [ecx - 1] */ 24507 /* test LO8(eax), LO8(eax) */ /* 0x2B0710DE: test al, al */ 24508 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 24509 _cf = 0; 24510 _flag_k = FK_NARROW(FK_TEST, 24); 24511 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0710FE; /* 0x2B0710E0: je 0x2b0710fe */ 24512 L_2B0710E2: 24513 /* cmp LO8(eax), 0xFFu */ /* 0x2B0710E2: cmp al, 0xff */ 24514 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 24515 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24516 _flag_k = FK_NARROW(FK_CMP, 24); 24517 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710FE; /* 0x2B0710E4: je 0x2b0710fe */ 24518 L_2B0710E6: 24519 edi = POP32_VAL(esp); /* 0x2B0710E6: pop edi */ 24520 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 24521 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0710E7: dec al */ 24522 _flag_k = FK_NARROW(FK_DEC, 24); 24523 esi = POP32_VAL(esp); /* 0x2B0710E9: pop esi */ 24524 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B0710EA: mov byte ptr [ecx - 1], al */ 24525 ebx = POP32_VAL(esp); /* 0x2B0710ED: pop ebx */ 24526 ecx = MEM32(ebp + (-0xC)); /* 0x2B0710EE: mov ecx, dword ptr [ebp - 0xc] */ 24527 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0710F1: mov dword ptr fs:[0], ecx */ 24528 esp = ebp; /* 0x2B0710F8: mov esp, ebp */ 24529 ebp = POP32_VAL(esp); /* 0x2B0710FA: pop ebp */ 24530 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0710FB: ret 8 */ 24531 L_2B0710FE: 24532 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 24533 ecx = ecx - 1; /* 0x2B0710FE: dec ecx */ 24534 _flag_k = FK_DEC; 24535 PUSH32(esp, ecx); /* 0x2B0710FF: push ecx */ 24536 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B071100: call 0x2b0ab1ba */ /* not lifted */ 24537 RECOMP_FLAGS_IN(); 24538 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 24539 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 24540 esp = esp + 4; /* 0x2B071105: add esp, 4 */ 24541 _flag_k = FK_ADD; 24542 L_2B071108: 24543 ecx = MEM32(ebp + (-0xC)); /* 0x2B071108: mov ecx, dword ptr [ebp - 0xc] */ 24544 edi = POP32_VAL(esp); /* 0x2B07110B: pop edi */ 24545 esi = POP32_VAL(esp); /* 0x2B07110C: pop esi */ 24546 ebx = POP32_VAL(esp); /* 0x2B07110D: pop ebx */ 24547 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07110E: mov dword ptr fs:[0], ecx */ 24548 esp = ebp; /* 0x2B071115: mov esp, ebp */ 24549 ebp = POP32_VAL(esp); /* 0x2B071117: pop ebp */ 24550 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B071118: ret 8 */ 24551 RECOMP_REGS_OUT(); 24552 } 24553 24554 void sub_2B0709CB(void) { 24555 int _fpu_cmp = 0; 24556 uint32_t _cf = 0; 24557 int _df = 1; 24558 uint32_t _flag_k = FK_NONE; 24559 uint32_t _flag_a = 0, _flag_b = 0; 24560 uint32_t _itail_tgt = 0; 24561 RECOMP_REGS_LOCALS 24562 RECOMP_ENTER(0x2B0709CBu); 24563 24564 L_2B0709CB: 24565 /* cmp MEM32(edi + 0x4), eax */ /* 0x2B0709CB: cmp dword ptr [edi + 4], eax */ 24566 _flag_a = (uint32_t)(MEM32(edi + 0x4)); _flag_b = (uint32_t)(eax); 24567 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24568 _flag_k = FK_CMP; 24569 if (CMP_NE(_flag_a, _flag_b)) goto L_2B070ACB; /* 0x2B0709CE: jne 0x2b070acb */ 24570 L_2B0709D4: 24571 /* cmp MEM32(edi), ecx */ /* 0x2B0709D4: cmp dword ptr [edi], ecx */ 24572 _flag_a = (uint32_t)(MEM32(edi)); _flag_b = (uint32_t)(ecx); 24573 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24574 _flag_k = FK_CMP; 24575 if (CMP_NE(_flag_a, _flag_b)) goto L_2B070ACB; /* 0x2B0709D6: jne 0x2b070acb */ 24576 L_2B0709DC: 24577 SET_LO8(edx, MEM8(ebp + 0xF)); /* 0x2B0709DC: mov dl, byte ptr [ebp + 0xf] */ 24578 PUSH32(esp, 0); /* 0x2B0709DF: push 0 */ 24579 ecx = ebp + (-0x30); /* 0x2B0709E1: lea ecx, [ebp - 0x30] */ 24580 MEM8(ebp + (-0x30)) = (uint8_t)(LO8(edx)); /* 0x2B0709E4: mov byte ptr [ebp - 0x30], dl */ 24581 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0709E7: call dword ptr [0x2b0b514c] */ 24582 RECOMP_FLAGS_IN(); 24583 eax = ebp + (-0x30); /* 0x2B0709ED: lea eax, [ebp - 0x30] */ 24584 PUSH32(esp, eax); /* 0x2B0709F0: push eax */ 24585 MEM32(ebp + (-0x4)) = 0; /* 0x2B0709F1: mov dword ptr [ebp - 4], 0 */ 24586 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0709F8: call dword ptr [0x2b0b5d6c] */ 24587 RECOMP_FLAGS_IN(); 24588 ecx = eax; /* 0x2B0709FE: mov ecx, eax */ 24589 RECOMP_ICALL(MEM32(0x2B0B5D7C)); /* 0x2B070A00: call dword ptr [0x2b0b5d7c] */ 24590 RECOMP_FLAGS_IN(); 24591 /* test LO8(eax), LO8(eax) */ /* 0x2B070A06: test al, al */ 24592 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 24593 _cf = 0; 24594 _flag_k = FK_NARROW(FK_TEST, 24); 24595 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070AB9; /* 0x2B070A08: je 0x2b070ab9 */ 24596 L_2B070A0E: 24597 ecx = MEM32(ebx + 0x28); /* 0x2B070A0E: mov ecx, dword ptr [ebx + 0x28] */ 24598 PUSH32(esp, 0x13u); /* 0x2B070A11: push 0x13 */ 24599 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070A13: push -1 */ 24600 RECOMP_ICALL(esi); /* 0x2B070A15: call esi */ 24601 RECOMP_FLAGS_IN(); 24602 edx = MEM32(ebx + 0x28); /* 0x2B070A17: mov edx, dword ptr [ebx + 0x28] */ 24603 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 24604 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070A1A: or ecx, 0xffffffff */ 24605 _cf = 0; 24606 _flag_k = FK_TEST; 24607 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 24608 eax = 0; /* 0x2B070A1D: xor eax, eax */ 24609 _cf = 0; 24610 _flag_k = FK_TEST; 24611 edi = 0x2B0EB7F0u; /* 0x2B070A1F: mov edi, 0x2b0eb7f0 */ 24612 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; } /* 0x2B070A24: repne scasb al, byte ptr es:[edi] */ 24613 ecx = ~ecx; /* 0x2B070A26: not ecx */ 24614 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 24615 ecx = ecx - 1; /* 0x2B070A28: dec ecx */ 24616 _flag_k = FK_DEC; 24617 edi = ecx; /* 0x2B070A29: mov edi, ecx */ 24618 ecx = MEM32(0x2B0B515C); /* 0x2B070A2B: mov ecx, dword ptr [0x2b0b515c] */ 24619 eax = MEM32(ecx); /* 0x2B070A31: mov eax, dword ptr [ecx] */ 24620 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 24621 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24622 eax = eax - MEM32(edx + 0x8); /* 0x2B070A33: sub eax, dword ptr [edx + 8] */ 24623 _flag_k = FK_CMP; 24624 /* cmp eax, edi */ /* 0x2B070A36: cmp eax, edi */ 24625 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 24626 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24627 _flag_k = FK_CMP; 24628 MEM32(ebp + 0xC) = edx; /* 0x2B070A38: mov dword ptr [ebp + 0xc], edx */ 24629 if (CMP_A(_flag_a, _flag_b)) goto L_2B070A43; /* 0x2B070A3B: ja 0x2b070a43 */ 24630 L_2B070A3D: 24631 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070A3D: call dword ptr [0x2b0b51a8] */ 24632 RECOMP_FLAGS_IN(); 24633 L_2B070A43: 24634 /* test edi, edi */ /* 0x2B070A43: test edi, edi */ 24635 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 24636 _cf = 0; 24637 _flag_k = FK_TEST; 24638 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070A95; /* 0x2B070A45: jbe 0x2b070a95 */ 24639 L_2B070A47: 24640 ecx = MEM32(ebp + 0xC); /* 0x2B070A47: mov ecx, dword ptr [ebp + 0xc] */ 24641 edx = MEM32(ecx + 0x8); /* 0x2B070A4A: mov edx, dword ptr [ecx + 8] */ 24642 eax = edi; /* 0x2B070A4D: mov eax, edi */ 24643 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 24644 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 24645 eax = eax + edx; /* 0x2B070A4F: add eax, edx */ 24646 _flag_k = FK_ADD; 24647 PUSH32(esp, 0); /* 0x2B070A51: push 0 */ 24648 PUSH32(esp, eax); /* 0x2B070A53: push eax */ 24649 MEM32(ebp + (-0x18)) = eax; /* 0x2B070A54: mov dword ptr [ebp - 0x18], eax */ 24650 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070A57: call dword ptr [0x2b0b5154] */ 24651 RECOMP_FLAGS_IN(); 24652 /* test LO8(eax), LO8(eax) */ /* 0x2B070A5D: test al, al */ 24653 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 24654 _cf = 0; 24655 _flag_k = FK_NARROW(FK_TEST, 24); 24656 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070A95; /* 0x2B070A5F: je 0x2b070a95 */ 24657 L_2B070A61: 24658 eax = MEM32(ebp + 0xC); /* 0x2B070A61: mov eax, dword ptr [ebp + 0xc] */ 24659 esi = MEM32(eax + 0x8); /* 0x2B070A64: mov esi, dword ptr [eax + 8] */ 24660 edx = MEM32(eax + 0x4); /* 0x2B070A67: mov edx, dword ptr [eax + 4] */ 24661 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 24662 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 24663 edx = edx + esi; /* 0x2B070A6A: add edx, esi */ 24664 _flag_k = FK_ADD; 24665 ecx = edi; /* 0x2B070A6C: mov ecx, edi */ 24666 edi = edx; /* 0x2B070A6E: mov edi, edx */ 24667 edx = ecx; /* 0x2B070A70: mov edx, ecx */ 24668 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070A72: shr ecx, 2 */ 24669 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 24670 ecx = ecx >> 2u; /* 0x2B070A72: shr ecx, 2 */ 24671 esi = 0x2B0EB7F0u; /* 0x2B070A75: mov esi, 0x2b0eb7f0 */ 24672 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070A7A: 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; } 24673 ecx = edx; /* 0x2B070A7C: mov ecx, edx */ 24674 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 24675 ecx = ecx & 3; /* 0x2B070A7E: and ecx, 3 */ 24676 _cf = 0; 24677 _flag_k = FK_TEST; 24678 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070A81: 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; } 24679 ecx = MEM32(ebp + (-0x18)); /* 0x2B070A83: mov ecx, dword ptr [ebp - 0x18] */ 24680 PUSH32(esp, ecx); /* 0x2B070A86: push ecx */ 24681 ecx = eax; /* 0x2B070A87: mov ecx, eax */ 24682 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B070A89: call dword ptr [0x2b0b5150] */ 24683 RECOMP_FLAGS_IN(); 24684 esi = MEM32(0x2B0B5A74); /* 0x2B070A8F: mov esi, dword ptr [0x2b0b5a74] */ 24685 L_2B070A95: 24686 ecx = MEM32(ebx + 0x28); /* 0x2B070A95: mov ecx, dword ptr [ebx + 0x28] */ 24687 PUSH32(esp, 0x14u); /* 0x2B070A98: push 0x14 */ 24688 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070A9A: push -1 */ 24689 RECOMP_ICALL(esi); /* 0x2B070A9C: call esi */ 24690 RECOMP_FLAGS_IN(); 24691 edx = MEM32(0x2B0B515C); /* 0x2B070A9E: mov edx, dword ptr [0x2b0b515c] */ 24692 eax = MEM32(edx); /* 0x2B070AA4: mov eax, dword ptr [edx] */ 24693 ecx = MEM32(ebx + 0x28); /* 0x2B070AA6: mov ecx, dword ptr [ebx + 0x28] */ 24694 PUSH32(esp, eax); /* 0x2B070AA9: push eax */ 24695 PUSH32(esp, 0); /* 0x2B070AAA: push 0 */ 24696 edx = ebp + (-0x30); /* 0x2B070AAC: lea edx, [ebp - 0x30] */ 24697 PUSH32(esp, edx); /* 0x2B070AAF: push edx */ 24698 RECOMP_ICALL(MEM32(0x2B0B51A0)); /* 0x2B070AB0: call dword ptr [0x2b0b51a0] */ 24699 RECOMP_FLAGS_IN(); 24700 edi = MEM32(ebp + 0x8); /* 0x2B070AB6: mov edi, dword ptr [ebp + 8] */ 24701 L_2B070AB9: 24702 PUSH32(esp, 1); /* 0x2B070AB9: push 1 */ 24703 ecx = ebp + (-0x30); /* 0x2B070ABB: lea ecx, [ebp - 0x30] */ 24704 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B070ABE: mov dword ptr [ebp - 4], 0xffffffff */ 24705 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B070AC5: call dword ptr [0x2b0b514c] */ 24706 RECOMP_FLAGS_IN(); 24707 L_2B070ACB: 24708 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B070ACB: call dword ptr [0x2b0b5b64] */ 24709 RECOMP_FLAGS_IN(); 24710 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 24711 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 24712 eax = eax + 0xD4u; /* 0x2B070AD1: add eax, 0xd4 */ 24713 _flag_k = FK_ADD; 24714 ecx = ebp + (-0x20); /* 0x2B070AD6: lea ecx, [ebp - 0x20] */ 24715 /* cmp ecx, eax */ /* 0x2B070AD9: cmp ecx, eax */ 24716 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 24717 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24718 _flag_k = FK_CMP; 24719 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B070AE4; /* 0x2B070ADB: je 0x2b070ae4 */ 24720 L_2B070ADD: 24721 ecx = MEM32(eax); /* 0x2B070ADD: mov ecx, dword ptr [eax] */ 24722 eax = MEM32(eax + 0x4); /* 0x2B070ADF: mov eax, dword ptr [eax + 4] */ 24723 goto L_2B070AEA; /* 0x2B070AE2: jmp 0x2b070aea */ 24724 L_2B070AE4: 24725 eax = MEM32(ebp + (-0x1C)); /* 0x2B070AE4: mov eax, dword ptr [ebp - 0x1c] */ 24726 ecx = MEM32(ebp + (-0x20)); /* 0x2B070AE7: mov ecx, dword ptr [ebp - 0x20] */ 24727 L_2B070AEA: 24728 /* cmp MEM32(edi + 0x4), eax */ /* 0x2B070AEA: cmp dword ptr [edi + 4], eax */ 24729 _flag_a = (uint32_t)(MEM32(edi + 0x4)); _flag_b = (uint32_t)(eax); 24730 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24731 _flag_k = FK_CMP; 24732 if (CMP_NE(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070AED: jne 0x2b070e97 */ 24733 L_2B070AF3: 24734 edx = MEM32(ebp + 0x8); /* 0x2B070AF3: mov edx, dword ptr [ebp + 8] */ 24735 /* cmp MEM32(edx), ecx */ /* 0x2B070AF6: cmp dword ptr [edx], ecx */ 24736 _flag_a = (uint32_t)(MEM32(edx)); _flag_b = (uint32_t)(ecx); 24737 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24738 _flag_k = FK_CMP; 24739 if (CMP_NE(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070AF8: jne 0x2b070e97 */ 24740 L_2B070AFE: 24741 ecx = MEM32(ebx + 0x28); /* 0x2B070AFE: mov ecx, dword ptr [ebx + 0x28] */ 24742 PUSH32(esp, 0x13u); /* 0x2B070B01: push 0x13 */ 24743 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070B03: push -1 */ 24744 RECOMP_ICALL(esi); /* 0x2B070B05: call esi */ 24745 RECOMP_FLAGS_IN(); 24746 edx = MEM32(ebx + 0x28); /* 0x2B070B07: mov edx, dword ptr [ebx + 0x28] */ 24747 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 24748 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070B0A: or ecx, 0xffffffff */ 24749 _cf = 0; 24750 _flag_k = FK_TEST; 24751 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 24752 eax = 0; /* 0x2B070B0D: xor eax, eax */ 24753 _cf = 0; 24754 _flag_k = FK_TEST; 24755 edi = 0x2B0EB7D8u; /* 0x2B070B0F: mov edi, 0x2b0eb7d8 */ 24756 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; } /* 0x2B070B14: repne scasb al, byte ptr es:[edi] */ 24757 eax = MEM32(0x2B0B515C); /* 0x2B070B16: mov eax, dword ptr [0x2b0b515c] */ 24758 ecx = ~ecx; /* 0x2B070B1B: not ecx */ 24759 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 24760 ecx = ecx - 1; /* 0x2B070B1D: dec ecx */ 24761 _flag_k = FK_DEC; 24762 edi = ecx; /* 0x2B070B1E: mov edi, ecx */ 24763 ecx = MEM32(eax); /* 0x2B070B20: mov ecx, dword ptr [eax] */ 24764 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 24765 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24766 ecx = ecx - MEM32(edx + 0x8); /* 0x2B070B22: sub ecx, dword ptr [edx + 8] */ 24767 _flag_k = FK_CMP; 24768 /* cmp ecx, edi */ /* 0x2B070B25: cmp ecx, edi */ 24769 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 24770 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24771 _flag_k = FK_CMP; 24772 MEM32(ebp + 0xC) = edx; /* 0x2B070B27: mov dword ptr [ebp + 0xc], edx */ 24773 if (CMP_A(_flag_a, _flag_b)) goto L_2B070B32; /* 0x2B070B2A: ja 0x2b070b32 */ 24774 L_2B070B2C: 24775 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070B2C: call dword ptr [0x2b0b51a8] */ 24776 RECOMP_FLAGS_IN(); 24777 L_2B070B32: 24778 /* test edi, edi */ /* 0x2B070B32: test edi, edi */ 24779 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 24780 _cf = 0; 24781 _flag_k = FK_TEST; 24782 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070B84; /* 0x2B070B34: jbe 0x2b070b84 */ 24783 L_2B070B36: 24784 ecx = MEM32(ebp + 0xC); /* 0x2B070B36: mov ecx, dword ptr [ebp + 0xc] */ 24785 edx = MEM32(ecx + 0x8); /* 0x2B070B39: mov edx, dword ptr [ecx + 8] */ 24786 eax = edi; /* 0x2B070B3C: mov eax, edi */ 24787 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 24788 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 24789 eax = eax + edx; /* 0x2B070B3E: add eax, edx */ 24790 _flag_k = FK_ADD; 24791 PUSH32(esp, 0); /* 0x2B070B40: push 0 */ 24792 PUSH32(esp, eax); /* 0x2B070B42: push eax */ 24793 MEM32(ebp + (-0x18)) = eax; /* 0x2B070B43: mov dword ptr [ebp - 0x18], eax */ 24794 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070B46: call dword ptr [0x2b0b5154] */ 24795 RECOMP_FLAGS_IN(); 24796 /* test LO8(eax), LO8(eax) */ /* 0x2B070B4C: test al, al */ 24797 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 24798 _cf = 0; 24799 _flag_k = FK_NARROW(FK_TEST, 24); 24800 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070B84; /* 0x2B070B4E: je 0x2b070b84 */ 24801 L_2B070B50: 24802 eax = MEM32(ebp + 0xC); /* 0x2B070B50: mov eax, dword ptr [ebp + 0xc] */ 24803 esi = MEM32(eax + 0x8); /* 0x2B070B53: mov esi, dword ptr [eax + 8] */ 24804 edx = MEM32(eax + 0x4); /* 0x2B070B56: mov edx, dword ptr [eax + 4] */ 24805 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 24806 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 24807 edx = edx + esi; /* 0x2B070B59: add edx, esi */ 24808 _flag_k = FK_ADD; 24809 ecx = edi; /* 0x2B070B5B: mov ecx, edi */ 24810 edi = edx; /* 0x2B070B5D: mov edi, edx */ 24811 edx = ecx; /* 0x2B070B5F: mov edx, ecx */ 24812 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070B61: shr ecx, 2 */ 24813 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 24814 ecx = ecx >> 2u; /* 0x2B070B61: shr ecx, 2 */ 24815 esi = 0x2B0EB7D8u; /* 0x2B070B64: mov esi, 0x2b0eb7d8 */ 24816 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070B69: 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; } 24817 ecx = edx; /* 0x2B070B6B: mov ecx, edx */ 24818 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 24819 ecx = ecx & 3; /* 0x2B070B6D: and ecx, 3 */ 24820 _cf = 0; 24821 _flag_k = FK_TEST; 24822 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070B70: 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; } 24823 ecx = MEM32(ebp + (-0x18)); /* 0x2B070B72: mov ecx, dword ptr [ebp - 0x18] */ 24824 PUSH32(esp, ecx); /* 0x2B070B75: push ecx */ 24825 ecx = eax; /* 0x2B070B76: mov ecx, eax */ 24826 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B070B78: call dword ptr [0x2b0b5150] */ 24827 RECOMP_FLAGS_IN(); 24828 esi = MEM32(0x2B0B5A74); /* 0x2B070B7E: mov esi, dword ptr [0x2b0b5a74] */ 24829 L_2B070B84: 24830 ecx = MEM32(ebx + 0x28); /* 0x2B070B84: mov ecx, dword ptr [ebx + 0x28] */ 24831 PUSH32(esp, 0x14u); /* 0x2B070B87: push 0x14 */ 24832 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070B89: push -1 */ 24833 RECOMP_ICALL(esi); /* 0x2B070B8B: call esi */ 24834 RECOMP_FLAGS_IN(); 24835 edx = MEM32(ebp + 0x8); /* 0x2B070B8D: mov edx, dword ptr [ebp + 8] */ 24836 PUSH32(esp, 0x1D6u); /* 0x2B070B90: push 0x1d6 */ 24837 PUSH32(esp, edx); /* 0x2B070B95: push edx */ 24838 ecx = ebx; /* 0x2B070B96: mov ecx, ebx */ 24839 RECOMP_ICALL(0x2B0735D0u); /* 0x2B070B98: call 0x2b0735d0 */ /* not lifted */ 24840 RECOMP_FLAGS_IN(); 24841 /* test eax, eax */ /* 0x2B070B9D: test eax, eax */ 24842 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 24843 _cf = 0; 24844 _flag_k = FK_TEST; 24845 MEM32(ebp + 0xC) = eax; /* 0x2B070B9F: mov dword ptr [ebp + 0xc], eax */ 24846 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B070C1F; /* 0x2B070BA2: jne 0x2b070c1f */ 24847 L_2B070BA4: 24848 edx = MEM32(ebx + 0x28); /* 0x2B070BA4: mov edx, dword ptr [ebx + 0x28] */ 24849 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 24850 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070BA7: or ecx, 0xffffffff */ 24851 _cf = 0; 24852 _flag_k = FK_TEST; 24853 edi = 0x2B0EB7D0u; /* 0x2B070BAA: mov edi, 0x2b0eb7d0 */ 24854 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; } /* 0x2B070BAF: repne scasb al, byte ptr es:[edi] */ 24855 eax = MEM32(0x2B0B515C); /* 0x2B070BB1: mov eax, dword ptr [0x2b0b515c] */ 24856 edi = MEM32(edx + 0x8); /* 0x2B070BB6: mov edi, dword ptr [edx + 8] */ 24857 ecx = ~ecx; /* 0x2B070BB9: not ecx */ 24858 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 24859 ecx = ecx - 1; /* 0x2B070BBB: dec ecx */ 24860 _flag_k = FK_DEC; 24861 esi = ecx; /* 0x2B070BBC: mov esi, ecx */ 24862 ecx = MEM32(eax); /* 0x2B070BBE: mov ecx, dword ptr [eax] */ 24863 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 24864 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24865 ecx = ecx - edi; /* 0x2B070BC0: sub ecx, edi */ 24866 _flag_k = FK_CMP; 24867 /* cmp ecx, esi */ /* 0x2B070BC2: cmp ecx, esi */ 24868 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 24869 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24870 _flag_k = FK_CMP; 24871 MEM32(ebp + 0xC) = edx; /* 0x2B070BC4: mov dword ptr [ebp + 0xc], edx */ 24872 if (CMP_A(_flag_a, _flag_b)) goto L_2B070BD2; /* 0x2B070BC7: ja 0x2b070bd2 */ 24873 L_2B070BC9: 24874 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070BC9: call dword ptr [0x2b0b51a8] */ 24875 RECOMP_FLAGS_IN(); 24876 edx = MEM32(ebp + 0xC); /* 0x2B070BCF: mov edx, dword ptr [ebp + 0xc] */ 24877 L_2B070BD2: 24878 /* test esi, esi */ /* 0x2B070BD2: test esi, esi */ 24879 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 24880 _cf = 0; 24881 _flag_k = FK_TEST; 24882 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070BD4: jbe 0x2b070e97 */ 24883 L_2B070BDA: 24884 edi = MEM32(edx + 0x8); /* 0x2B070BDA: mov edi, dword ptr [edx + 8] */ 24885 eax = esi; /* 0x2B070BDD: mov eax, esi */ 24886 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 24887 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 24888 eax = eax + edi; /* 0x2B070BDF: add eax, edi */ 24889 _flag_k = FK_ADD; 24890 PUSH32(esp, 0); /* 0x2B070BE1: push 0 */ 24891 PUSH32(esp, eax); /* 0x2B070BE3: push eax */ 24892 ecx = edx; /* 0x2B070BE4: mov ecx, edx */ 24893 MEM32(ebp + (-0x18)) = eax; /* 0x2B070BE6: mov dword ptr [ebp - 0x18], eax */ 24894 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070BE9: call dword ptr [0x2b0b5154] */ 24895 RECOMP_FLAGS_IN(); 24896 /* test LO8(eax), LO8(eax) */ /* 0x2B070BEF: test al, al */ 24897 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 24898 _cf = 0; 24899 _flag_k = FK_NARROW(FK_TEST, 24); 24900 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070BF1: je 0x2b070e97 */ 24901 L_2B070BF7: 24902 edx = MEM32(ebp + 0xC); /* 0x2B070BF7: mov edx, dword ptr [ebp + 0xc] */ 24903 ecx = MEM32(edx + 0x4); /* 0x2B070BFA: mov ecx, dword ptr [edx + 4] */ 24904 edi = MEM32(edx + 0x8); /* 0x2B070BFD: mov edi, dword ptr [edx + 8] */ 24905 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 24906 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 24907 edi = edi + ecx; /* 0x2B070C00: add edi, ecx */ 24908 _flag_k = FK_ADD; 24909 ecx = esi; /* 0x2B070C02: mov ecx, esi */ 24910 eax = ecx; /* 0x2B070C04: mov eax, ecx */ 24911 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070C06: shr ecx, 2 */ 24912 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 24913 ecx = ecx >> 2u; /* 0x2B070C06: shr ecx, 2 */ 24914 esi = 0x2B0EB7D0u; /* 0x2B070C09: mov esi, 0x2b0eb7d0 */ 24915 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070C0E: 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; } 24916 ecx = eax; /* 0x2B070C10: mov ecx, eax */ 24917 eax = MEM32(ebp + (-0x18)); /* 0x2B070C12: mov eax, dword ptr [ebp - 0x18] */ 24918 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 24919 ecx = ecx & 3; /* 0x2B070C15: and ecx, 3 */ 24920 _cf = 0; 24921 _flag_k = FK_TEST; 24922 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070C18: 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; } 24923 goto L_2B070E8E; /* 0x2B070C1A: jmp 0x2b070e8e */ 24924 L_2B070C1F: 24925 /* test LO8(eax), 1 */ /* 0x2B070C1F: test al, 1 */ 24926 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 24927 _cf = 0; 24928 _flag_k = FK_NARROW(FK_TEST, 24); 24929 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070C9D; /* 0x2B070C21: je 0x2b070c9d */ 24930 L_2B070C23: 24931 edx = MEM32(ebx + 0x28); /* 0x2B070C23: mov edx, dword ptr [ebx + 0x28] */ 24932 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 24933 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070C26: or ecx, 0xffffffff */ 24934 _cf = 0; 24935 _flag_k = FK_TEST; 24936 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 24937 eax = 0; /* 0x2B070C29: xor eax, eax */ 24938 _cf = 0; 24939 _flag_k = FK_TEST; 24940 edi = 0x2B0EB7C8u; /* 0x2B070C2B: mov edi, 0x2b0eb7c8 */ 24941 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; } /* 0x2B070C30: repne scasb al, byte ptr es:[edi] */ 24942 edi = MEM32(edx + 0x8); /* 0x2B070C32: mov edi, dword ptr [edx + 8] */ 24943 ecx = ~ecx; /* 0x2B070C35: not ecx */ 24944 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 24945 ecx = ecx - 1; /* 0x2B070C37: dec ecx */ 24946 _flag_k = FK_DEC; 24947 esi = ecx; /* 0x2B070C38: mov esi, ecx */ 24948 ecx = MEM32(0x2B0B515C); /* 0x2B070C3A: mov ecx, dword ptr [0x2b0b515c] */ 24949 eax = MEM32(ecx); /* 0x2B070C40: mov eax, dword ptr [ecx] */ 24950 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 24951 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24952 eax = eax - edi; /* 0x2B070C42: sub eax, edi */ 24953 _flag_k = FK_CMP; 24954 /* cmp eax, esi */ /* 0x2B070C44: cmp eax, esi */ 24955 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 24956 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24957 _flag_k = FK_CMP; 24958 MEM32(ebp + (-0x14)) = edx; /* 0x2B070C46: mov dword ptr [ebp - 0x14], edx */ 24959 if (CMP_A(_flag_a, _flag_b)) goto L_2B070C54; /* 0x2B070C49: ja 0x2b070c54 */ 24960 L_2B070C4B: 24961 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070C4B: call dword ptr [0x2b0b51a8] */ 24962 RECOMP_FLAGS_IN(); 24963 edx = MEM32(ebp + (-0x14)); /* 0x2B070C51: mov edx, dword ptr [ebp - 0x14] */ 24964 L_2B070C54: 24965 /* test esi, esi */ /* 0x2B070C54: test esi, esi */ 24966 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 24967 _cf = 0; 24968 _flag_k = FK_TEST; 24969 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070C9D; /* 0x2B070C56: jbe 0x2b070c9d */ 24970 L_2B070C58: 24971 edi = MEM32(edx + 0x8); /* 0x2B070C58: mov edi, dword ptr [edx + 8] */ 24972 eax = esi; /* 0x2B070C5B: mov eax, esi */ 24973 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 24974 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 24975 eax = eax + edi; /* 0x2B070C5D: add eax, edi */ 24976 _flag_k = FK_ADD; 24977 PUSH32(esp, 0); /* 0x2B070C5F: push 0 */ 24978 PUSH32(esp, eax); /* 0x2B070C61: push eax */ 24979 ecx = edx; /* 0x2B070C62: mov ecx, edx */ 24980 MEM32(ebp + (-0x18)) = eax; /* 0x2B070C64: mov dword ptr [ebp - 0x18], eax */ 24981 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070C67: call dword ptr [0x2b0b5154] */ 24982 RECOMP_FLAGS_IN(); 24983 /* test LO8(eax), LO8(eax) */ /* 0x2B070C6D: test al, al */ 24984 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 24985 _cf = 0; 24986 _flag_k = FK_NARROW(FK_TEST, 24); 24987 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070C9D; /* 0x2B070C6F: je 0x2b070c9d */ 24988 L_2B070C71: 24989 edx = MEM32(ebp + (-0x14)); /* 0x2B070C71: mov edx, dword ptr [ebp - 0x14] */ 24990 edi = MEM32(edx + 0x8); /* 0x2B070C74: mov edi, dword ptr [edx + 8] */ 24991 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 24992 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 24993 edi = edi + MEM32(edx + 0x4); /* 0x2B070C77: add edi, dword ptr [edx + 4] */ 24994 _flag_k = FK_ADD; 24995 ecx = esi; /* 0x2B070C7A: mov ecx, esi */ 24996 eax = ecx; /* 0x2B070C7C: mov eax, ecx */ 24997 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070C7E: shr ecx, 2 */ 24998 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 24999 ecx = ecx >> 2u; /* 0x2B070C7E: shr ecx, 2 */ 25000 esi = 0x2B0EB7C8u; /* 0x2B070C81: mov esi, 0x2b0eb7c8 */ 25001 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070C86: 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; } 25002 ecx = eax; /* 0x2B070C88: mov ecx, eax */ 25003 eax = MEM32(ebp + (-0x18)); /* 0x2B070C8A: mov eax, dword ptr [ebp - 0x18] */ 25004 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 25005 ecx = ecx & 3; /* 0x2B070C8D: and ecx, 3 */ 25006 _cf = 0; 25007 _flag_k = FK_TEST; 25008 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070C90: 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; } 25009 ecx = MEM32(edx + 0x4); /* 0x2B070C92: mov ecx, dword ptr [edx + 4] */ 25010 MEM32(edx + 0x8) = eax; /* 0x2B070C95: mov dword ptr [edx + 8], eax */ 25011 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 25012 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 25013 eax = eax + ecx; /* 0x2B070C98: add eax, ecx */ 25014 _flag_k = FK_ADD; 25015 MEM8(eax) = (uint8_t)(0); /* 0x2B070C9A: mov byte ptr [eax], 0 */ 25016 L_2B070C9D: 25017 /* test MEM8(ebp + 0xC), 2 */ /* 0x2B070C9D: test byte ptr [ebp + 0xc], 2 */ 25018 _flag_a = (uint32_t)(MEM8(ebp + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24; 25019 _cf = 0; 25020 _flag_k = FK_NARROW(FK_TEST, 24); 25021 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D1B; /* 0x2B070CA1: je 0x2b070d1b */ 25022 L_2B070CA3: 25023 edx = MEM32(ebx + 0x28); /* 0x2B070CA3: mov edx, dword ptr [ebx + 0x28] */ 25024 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 25025 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070CA6: or ecx, 0xffffffff */ 25026 _cf = 0; 25027 _flag_k = FK_TEST; 25028 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 25029 eax = 0; /* 0x2B070CA9: xor eax, eax */ 25030 _cf = 0; 25031 _flag_k = FK_TEST; 25032 edi = 0x2B0EB7BCu; /* 0x2B070CAB: mov edi, 0x2b0eb7bc */ 25033 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; } /* 0x2B070CB0: repne scasb al, byte ptr es:[edi] */ 25034 edi = MEM32(edx + 0x8); /* 0x2B070CB2: mov edi, dword ptr [edx + 8] */ 25035 ecx = ~ecx; /* 0x2B070CB5: not ecx */ 25036 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 25037 ecx = ecx - 1; /* 0x2B070CB7: dec ecx */ 25038 _flag_k = FK_DEC; 25039 esi = ecx; /* 0x2B070CB8: mov esi, ecx */ 25040 ecx = MEM32(0x2B0B515C); /* 0x2B070CBA: mov ecx, dword ptr [0x2b0b515c] */ 25041 eax = MEM32(ecx); /* 0x2B070CC0: mov eax, dword ptr [ecx] */ 25042 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 25043 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25044 eax = eax - edi; /* 0x2B070CC2: sub eax, edi */ 25045 _flag_k = FK_CMP; 25046 /* cmp eax, esi */ /* 0x2B070CC4: cmp eax, esi */ 25047 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 25048 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25049 _flag_k = FK_CMP; 25050 MEM32(ebp + (-0x14)) = edx; /* 0x2B070CC6: mov dword ptr [ebp - 0x14], edx */ 25051 if (CMP_A(_flag_a, _flag_b)) goto L_2B070CD1; /* 0x2B070CC9: ja 0x2b070cd1 */ 25052 L_2B070CCB: 25053 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070CCB: call dword ptr [0x2b0b51a8] */ 25054 RECOMP_FLAGS_IN(); 25055 L_2B070CD1: 25056 /* test esi, esi */ /* 0x2B070CD1: test esi, esi */ 25057 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 25058 _cf = 0; 25059 _flag_k = FK_TEST; 25060 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D1B; /* 0x2B070CD3: jbe 0x2b070d1b */ 25061 L_2B070CD5: 25062 ecx = MEM32(ebp + (-0x14)); /* 0x2B070CD5: mov ecx, dword ptr [ebp - 0x14] */ 25063 edx = MEM32(ecx + 0x8); /* 0x2B070CD8: mov edx, dword ptr [ecx + 8] */ 25064 eax = esi; /* 0x2B070CDB: mov eax, esi */ 25065 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 25066 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 25067 eax = eax + edx; /* 0x2B070CDD: add eax, edx */ 25068 _flag_k = FK_ADD; 25069 PUSH32(esp, 0); /* 0x2B070CDF: push 0 */ 25070 PUSH32(esp, eax); /* 0x2B070CE1: push eax */ 25071 MEM32(ebp + (-0x18)) = eax; /* 0x2B070CE2: mov dword ptr [ebp - 0x18], eax */ 25072 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070CE5: call dword ptr [0x2b0b5154] */ 25073 RECOMP_FLAGS_IN(); 25074 /* test LO8(eax), LO8(eax) */ /* 0x2B070CEB: test al, al */ 25075 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 25076 _cf = 0; 25077 _flag_k = FK_NARROW(FK_TEST, 24); 25078 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D1B; /* 0x2B070CED: je 0x2b070d1b */ 25079 L_2B070CEF: 25080 edx = MEM32(ebp + (-0x14)); /* 0x2B070CEF: mov edx, dword ptr [ebp - 0x14] */ 25081 edi = MEM32(edx + 0x8); /* 0x2B070CF2: mov edi, dword ptr [edx + 8] */ 25082 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 25083 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 25084 edi = edi + MEM32(edx + 0x4); /* 0x2B070CF5: add edi, dword ptr [edx + 4] */ 25085 _flag_k = FK_ADD; 25086 ecx = esi; /* 0x2B070CF8: mov ecx, esi */ 25087 eax = ecx; /* 0x2B070CFA: mov eax, ecx */ 25088 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070CFC: shr ecx, 2 */ 25089 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 25090 ecx = ecx >> 2u; /* 0x2B070CFC: shr ecx, 2 */ 25091 esi = 0x2B0EB7BCu; /* 0x2B070CFF: mov esi, 0x2b0eb7bc */ 25092 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070D04: 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; } 25093 ecx = eax; /* 0x2B070D06: mov ecx, eax */ 25094 eax = MEM32(ebp + (-0x18)); /* 0x2B070D08: mov eax, dword ptr [ebp - 0x18] */ 25095 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 25096 ecx = ecx & 3; /* 0x2B070D0B: and ecx, 3 */ 25097 _cf = 0; 25098 _flag_k = FK_TEST; 25099 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070D0E: 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; } 25100 ecx = MEM32(edx + 0x4); /* 0x2B070D10: mov ecx, dword ptr [edx + 4] */ 25101 MEM32(edx + 0x8) = eax; /* 0x2B070D13: mov dword ptr [edx + 8], eax */ 25102 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 25103 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 25104 eax = eax + ecx; /* 0x2B070D16: add eax, ecx */ 25105 _flag_k = FK_ADD; 25106 MEM8(eax) = (uint8_t)(0); /* 0x2B070D18: mov byte ptr [eax], 0 */ 25107 L_2B070D1B: 25108 /* test MEM8(ebp + 0xC), 4 */ /* 0x2B070D1B: test byte ptr [ebp + 0xc], 4 */ 25109 _flag_a = (uint32_t)(MEM8(ebp + 0xC)) << 24; _flag_b = (uint32_t)(4) << 24; 25110 _cf = 0; 25111 _flag_k = FK_NARROW(FK_TEST, 24); 25112 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D99; /* 0x2B070D1F: je 0x2b070d99 */ 25113 L_2B070D21: 25114 edx = MEM32(ebx + 0x28); /* 0x2B070D21: mov edx, dword ptr [ebx + 0x28] */ 25115 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 25116 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070D24: or ecx, 0xffffffff */ 25117 _cf = 0; 25118 _flag_k = FK_TEST; 25119 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 25120 eax = 0; /* 0x2B070D27: xor eax, eax */ 25121 _cf = 0; 25122 _flag_k = FK_TEST; 25123 edi = 0x2B0EB7B0u; /* 0x2B070D29: mov edi, 0x2b0eb7b0 */ 25124 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; } /* 0x2B070D2E: repne scasb al, byte ptr es:[edi] */ 25125 edi = MEM32(edx + 0x8); /* 0x2B070D30: mov edi, dword ptr [edx + 8] */ 25126 ecx = ~ecx; /* 0x2B070D33: not ecx */ 25127 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 25128 ecx = ecx - 1; /* 0x2B070D35: dec ecx */ 25129 _flag_k = FK_DEC; 25130 esi = ecx; /* 0x2B070D36: mov esi, ecx */ 25131 ecx = MEM32(0x2B0B515C); /* 0x2B070D38: mov ecx, dword ptr [0x2b0b515c] */ 25132 eax = MEM32(ecx); /* 0x2B070D3E: mov eax, dword ptr [ecx] */ 25133 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 25134 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25135 eax = eax - edi; /* 0x2B070D40: sub eax, edi */ 25136 _flag_k = FK_CMP; 25137 /* cmp eax, esi */ /* 0x2B070D42: cmp eax, esi */ 25138 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 25139 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25140 _flag_k = FK_CMP; 25141 MEM32(ebp + (-0x14)) = edx; /* 0x2B070D44: mov dword ptr [ebp - 0x14], edx */ 25142 if (CMP_A(_flag_a, _flag_b)) goto L_2B070D4F; /* 0x2B070D47: ja 0x2b070d4f */ 25143 L_2B070D49: 25144 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070D49: call dword ptr [0x2b0b51a8] */ 25145 RECOMP_FLAGS_IN(); 25146 L_2B070D4F: 25147 /* test esi, esi */ /* 0x2B070D4F: test esi, esi */ 25148 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 25149 _cf = 0; 25150 _flag_k = FK_TEST; 25151 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D99; /* 0x2B070D51: jbe 0x2b070d99 */ 25152 L_2B070D53: 25153 ecx = MEM32(ebp + (-0x14)); /* 0x2B070D53: mov ecx, dword ptr [ebp - 0x14] */ 25154 edx = MEM32(ecx + 0x8); /* 0x2B070D56: mov edx, dword ptr [ecx + 8] */ 25155 eax = esi; /* 0x2B070D59: mov eax, esi */ 25156 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 25157 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 25158 eax = eax + edx; /* 0x2B070D5B: add eax, edx */ 25159 _flag_k = FK_ADD; 25160 PUSH32(esp, 0); /* 0x2B070D5D: push 0 */ 25161 PUSH32(esp, eax); /* 0x2B070D5F: push eax */ 25162 MEM32(ebp + (-0x18)) = eax; /* 0x2B070D60: mov dword ptr [ebp - 0x18], eax */ 25163 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070D63: call dword ptr [0x2b0b5154] */ 25164 RECOMP_FLAGS_IN(); 25165 /* test LO8(eax), LO8(eax) */ /* 0x2B070D69: test al, al */ 25166 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 25167 _cf = 0; 25168 _flag_k = FK_NARROW(FK_TEST, 24); 25169 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D99; /* 0x2B070D6B: je 0x2b070d99 */ 25170 L_2B070D6D: 25171 edx = MEM32(ebp + (-0x14)); /* 0x2B070D6D: mov edx, dword ptr [ebp - 0x14] */ 25172 edi = MEM32(edx + 0x8); /* 0x2B070D70: mov edi, dword ptr [edx + 8] */ 25173 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 25174 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 25175 edi = edi + MEM32(edx + 0x4); /* 0x2B070D73: add edi, dword ptr [edx + 4] */ 25176 _flag_k = FK_ADD; 25177 ecx = esi; /* 0x2B070D76: mov ecx, esi */ 25178 eax = ecx; /* 0x2B070D78: mov eax, ecx */ 25179 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070D7A: shr ecx, 2 */ 25180 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 25181 ecx = ecx >> 2u; /* 0x2B070D7A: shr ecx, 2 */ 25182 esi = 0x2B0EB7B0u; /* 0x2B070D7D: mov esi, 0x2b0eb7b0 */ 25183 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070D82: 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; } 25184 ecx = eax; /* 0x2B070D84: mov ecx, eax */ 25185 eax = MEM32(ebp + (-0x18)); /* 0x2B070D86: mov eax, dword ptr [ebp - 0x18] */ 25186 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 25187 ecx = ecx & 3; /* 0x2B070D89: and ecx, 3 */ 25188 _cf = 0; 25189 _flag_k = FK_TEST; 25190 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070D8C: 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; } 25191 ecx = MEM32(edx + 0x4); /* 0x2B070D8E: mov ecx, dword ptr [edx + 4] */ 25192 MEM32(edx + 0x8) = eax; /* 0x2B070D91: mov dword ptr [edx + 8], eax */ 25193 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 25194 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 25195 eax = eax + ecx; /* 0x2B070D94: add eax, ecx */ 25196 _flag_k = FK_ADD; 25197 MEM8(eax) = (uint8_t)(0); /* 0x2B070D96: mov byte ptr [eax], 0 */ 25198 L_2B070D99: 25199 /* test MEM8(ebp + 0xC), 8 */ /* 0x2B070D99: test byte ptr [ebp + 0xc], 8 */ 25200 _flag_a = (uint32_t)(MEM8(ebp + 0xC)) << 24; _flag_b = (uint32_t)(8) << 24; 25201 _cf = 0; 25202 _flag_k = FK_NARROW(FK_TEST, 24); 25203 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E17; /* 0x2B070D9D: je 0x2b070e17 */ 25204 L_2B070D9F: 25205 edx = MEM32(ebx + 0x28); /* 0x2B070D9F: mov edx, dword ptr [ebx + 0x28] */ 25206 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 25207 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070DA2: or ecx, 0xffffffff */ 25208 _cf = 0; 25209 _flag_k = FK_TEST; 25210 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 25211 eax = 0; /* 0x2B070DA5: xor eax, eax */ 25212 _cf = 0; 25213 _flag_k = FK_TEST; 25214 edi = 0x2B0EB7A4u; /* 0x2B070DA7: mov edi, 0x2b0eb7a4 */ 25215 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; } /* 0x2B070DAC: repne scasb al, byte ptr es:[edi] */ 25216 edi = MEM32(edx + 0x8); /* 0x2B070DAE: mov edi, dword ptr [edx + 8] */ 25217 ecx = ~ecx; /* 0x2B070DB1: not ecx */ 25218 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 25219 ecx = ecx - 1; /* 0x2B070DB3: dec ecx */ 25220 _flag_k = FK_DEC; 25221 esi = ecx; /* 0x2B070DB4: mov esi, ecx */ 25222 ecx = MEM32(0x2B0B515C); /* 0x2B070DB6: mov ecx, dword ptr [0x2b0b515c] */ 25223 eax = MEM32(ecx); /* 0x2B070DBC: mov eax, dword ptr [ecx] */ 25224 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 25225 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25226 eax = eax - edi; /* 0x2B070DBE: sub eax, edi */ 25227 _flag_k = FK_CMP; 25228 /* cmp eax, esi */ /* 0x2B070DC0: cmp eax, esi */ 25229 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 25230 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25231 _flag_k = FK_CMP; 25232 MEM32(ebp + (-0x14)) = edx; /* 0x2B070DC2: mov dword ptr [ebp - 0x14], edx */ 25233 if (CMP_A(_flag_a, _flag_b)) goto L_2B070DCD; /* 0x2B070DC5: ja 0x2b070dcd */ 25234 L_2B070DC7: 25235 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070DC7: call dword ptr [0x2b0b51a8] */ 25236 RECOMP_FLAGS_IN(); 25237 L_2B070DCD: 25238 /* test esi, esi */ /* 0x2B070DCD: test esi, esi */ 25239 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 25240 _cf = 0; 25241 _flag_k = FK_TEST; 25242 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E17; /* 0x2B070DCF: jbe 0x2b070e17 */ 25243 L_2B070DD1: 25244 ecx = MEM32(ebp + (-0x14)); /* 0x2B070DD1: mov ecx, dword ptr [ebp - 0x14] */ 25245 edx = MEM32(ecx + 0x8); /* 0x2B070DD4: mov edx, dword ptr [ecx + 8] */ 25246 eax = esi; /* 0x2B070DD7: mov eax, esi */ 25247 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 25248 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 25249 eax = eax + edx; /* 0x2B070DD9: add eax, edx */ 25250 _flag_k = FK_ADD; 25251 PUSH32(esp, 0); /* 0x2B070DDB: push 0 */ 25252 PUSH32(esp, eax); /* 0x2B070DDD: push eax */ 25253 MEM32(ebp + (-0x18)) = eax; /* 0x2B070DDE: mov dword ptr [ebp - 0x18], eax */ 25254 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070DE1: call dword ptr [0x2b0b5154] */ 25255 RECOMP_FLAGS_IN(); 25256 /* test LO8(eax), LO8(eax) */ /* 0x2B070DE7: test al, al */ 25257 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 25258 _cf = 0; 25259 _flag_k = FK_NARROW(FK_TEST, 24); 25260 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E17; /* 0x2B070DE9: je 0x2b070e17 */ 25261 L_2B070DEB: 25262 edx = MEM32(ebp + (-0x14)); /* 0x2B070DEB: mov edx, dword ptr [ebp - 0x14] */ 25263 edi = MEM32(edx + 0x8); /* 0x2B070DEE: mov edi, dword ptr [edx + 8] */ 25264 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 25265 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 25266 edi = edi + MEM32(edx + 0x4); /* 0x2B070DF1: add edi, dword ptr [edx + 4] */ 25267 _flag_k = FK_ADD; 25268 ecx = esi; /* 0x2B070DF4: mov ecx, esi */ 25269 eax = ecx; /* 0x2B070DF6: mov eax, ecx */ 25270 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070DF8: shr ecx, 2 */ 25271 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 25272 ecx = ecx >> 2u; /* 0x2B070DF8: shr ecx, 2 */ 25273 esi = 0x2B0EB7A4u; /* 0x2B070DFB: mov esi, 0x2b0eb7a4 */ 25274 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070E00: 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; } 25275 ecx = eax; /* 0x2B070E02: mov ecx, eax */ 25276 eax = MEM32(ebp + (-0x18)); /* 0x2B070E04: mov eax, dword ptr [ebp - 0x18] */ 25277 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 25278 ecx = ecx & 3; /* 0x2B070E07: and ecx, 3 */ 25279 _cf = 0; 25280 _flag_k = FK_TEST; 25281 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070E0A: 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; } 25282 ecx = MEM32(edx + 0x4); /* 0x2B070E0C: mov ecx, dword ptr [edx + 4] */ 25283 MEM32(edx + 0x8) = eax; /* 0x2B070E0F: mov dword ptr [edx + 8], eax */ 25284 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 25285 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 25286 eax = eax + ecx; /* 0x2B070E12: add eax, ecx */ 25287 _flag_k = FK_ADD; 25288 MEM8(eax) = (uint8_t)(0); /* 0x2B070E14: mov byte ptr [eax], 0 */ 25289 L_2B070E17: 25290 /* test MEM8(ebp + 0xC), 0x10u */ /* 0x2B070E17: test byte ptr [ebp + 0xc], 0x10 */ 25291 _flag_a = (uint32_t)(MEM8(ebp + 0xC)) << 24; _flag_b = (uint32_t)(0x10u) << 24; 25292 _cf = 0; 25293 _flag_k = FK_NARROW(FK_TEST, 24); 25294 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070E1B: je 0x2b070e97 */ 25295 L_2B070E1D: 25296 edx = MEM32(ebx + 0x28); /* 0x2B070E1D: mov edx, dword ptr [ebx + 0x28] */ 25297 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 25298 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070E20: or ecx, 0xffffffff */ 25299 _cf = 0; 25300 _flag_k = FK_TEST; 25301 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 25302 eax = 0; /* 0x2B070E23: xor eax, eax */ 25303 _cf = 0; 25304 _flag_k = FK_TEST; 25305 edi = 0x2B0EB79Cu; /* 0x2B070E25: mov edi, 0x2b0eb79c */ 25306 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; } /* 0x2B070E2A: repne scasb al, byte ptr es:[edi] */ 25307 edi = MEM32(edx + 0x8); /* 0x2B070E2C: mov edi, dword ptr [edx + 8] */ 25308 ecx = ~ecx; /* 0x2B070E2F: not ecx */ 25309 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 25310 ecx = ecx - 1; /* 0x2B070E31: dec ecx */ 25311 _flag_k = FK_DEC; 25312 esi = ecx; /* 0x2B070E32: mov esi, ecx */ 25313 ecx = MEM32(0x2B0B515C); /* 0x2B070E34: mov ecx, dword ptr [0x2b0b515c] */ 25314 eax = MEM32(ecx); /* 0x2B070E3A: mov eax, dword ptr [ecx] */ 25315 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 25316 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25317 eax = eax - edi; /* 0x2B070E3C: sub eax, edi */ 25318 _flag_k = FK_CMP; 25319 /* cmp eax, esi */ /* 0x2B070E3E: cmp eax, esi */ 25320 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 25321 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25322 _flag_k = FK_CMP; 25323 MEM32(ebp + 0xC) = edx; /* 0x2B070E40: mov dword ptr [ebp + 0xc], edx */ 25324 if (CMP_A(_flag_a, _flag_b)) goto L_2B070E4E; /* 0x2B070E43: ja 0x2b070e4e */ 25325 L_2B070E45: 25326 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070E45: call dword ptr [0x2b0b51a8] */ 25327 RECOMP_FLAGS_IN(); 25328 edx = MEM32(ebp + 0xC); /* 0x2B070E4B: mov edx, dword ptr [ebp + 0xc] */ 25329 L_2B070E4E: 25330 /* test esi, esi */ /* 0x2B070E4E: test esi, esi */ 25331 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 25332 _cf = 0; 25333 _flag_k = FK_TEST; 25334 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070E50: jbe 0x2b070e97 */ 25335 L_2B070E52: 25336 edi = MEM32(edx + 0x8); /* 0x2B070E52: mov edi, dword ptr [edx + 8] */ 25337 eax = esi; /* 0x2B070E55: mov eax, esi */ 25338 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 25339 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 25340 eax = eax + edi; /* 0x2B070E57: add eax, edi */ 25341 _flag_k = FK_ADD; 25342 PUSH32(esp, 0); /* 0x2B070E59: push 0 */ 25343 PUSH32(esp, eax); /* 0x2B070E5B: push eax */ 25344 ecx = edx; /* 0x2B070E5C: mov ecx, edx */ 25345 MEM32(ebp + (-0x18)) = eax; /* 0x2B070E5E: mov dword ptr [ebp - 0x18], eax */ 25346 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070E61: call dword ptr [0x2b0b5154] */ 25347 RECOMP_FLAGS_IN(); 25348 /* test LO8(eax), LO8(eax) */ /* 0x2B070E67: test al, al */ 25349 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 25350 _cf = 0; 25351 _flag_k = FK_NARROW(FK_TEST, 24); 25352 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070E69: je 0x2b070e97 */ 25353 L_2B070E6B: 25354 edx = MEM32(ebp + 0xC); /* 0x2B070E6B: mov edx, dword ptr [ebp + 0xc] */ 25355 ecx = MEM32(edx + 0x4); /* 0x2B070E6E: mov ecx, dword ptr [edx + 4] */ 25356 edi = MEM32(edx + 0x8); /* 0x2B070E71: mov edi, dword ptr [edx + 8] */ 25357 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 25358 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 25359 edi = edi + ecx; /* 0x2B070E74: add edi, ecx */ 25360 _flag_k = FK_ADD; 25361 ecx = esi; /* 0x2B070E76: mov ecx, esi */ 25362 eax = ecx; /* 0x2B070E78: mov eax, ecx */ 25363 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070E7A: shr ecx, 2 */ 25364 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 25365 ecx = ecx >> 2u; /* 0x2B070E7A: shr ecx, 2 */ 25366 esi = 0x2B0EB79Cu; /* 0x2B070E7D: mov esi, 0x2b0eb79c */ 25367 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070E82: 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; } 25368 ecx = eax; /* 0x2B070E84: mov ecx, eax */ 25369 eax = MEM32(ebp + (-0x18)); /* 0x2B070E86: mov eax, dword ptr [ebp - 0x18] */ 25370 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 25371 ecx = ecx & 3; /* 0x2B070E89: and ecx, 3 */ 25372 _cf = 0; 25373 _flag_k = FK_TEST; 25374 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070E8C: 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; } 25375 L_2B070E8E: 25376 MEM32(edx + 0x8) = eax; /* 0x2B070E8E: mov dword ptr [edx + 8], eax */ 25377 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 25378 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 25379 eax = eax + MEM32(edx + 0x4); /* 0x2B070E91: add eax, dword ptr [edx + 4] */ 25380 _flag_k = FK_ADD; 25381 MEM8(eax) = (uint8_t)(0); /* 0x2B070E94: mov byte ptr [eax], 0 */ 25382 L_2B070E97: 25383 SET_LO8(ecx, MEM8(ebp + 0xF)); /* 0x2B070E97: mov cl, byte ptr [ebp + 0xf] */ 25384 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 25385 edi = 0; /* 0x2B070E9A: xor edi, edi */ 25386 _cf = 0; 25387 _flag_k = FK_TEST; 25388 MEM8(ebp + (-0x44)) = (uint8_t)(LO8(ecx)); /* 0x2B070E9C: mov byte ptr [ebp - 0x44], cl */ 25389 PUSH32(esp, edi); /* 0x2B070E9F: push edi */ 25390 ecx = ebp + (-0x44); /* 0x2B070EA0: lea ecx, [ebp - 0x44] */ 25391 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B070EA3: call dword ptr [0x2b0b514c] */ 25392 RECOMP_FLAGS_IN(); 25393 MEM32(ebp + (-0x34)) = edi; /* 0x2B070EA9: mov dword ptr [ebp - 0x34], edi */ 25394 esi = MEM32(0x2B0B5D6C); /* 0x2B070EAC: mov esi, dword ptr [0x2b0b5d6c] */ 25395 MEM32(ebp + (-0x4)) = 1; /* 0x2B070EB2: mov dword ptr [ebp - 4], 1 */ 25396 MEM32(ebp + 0xC) = edi; /* 0x2B070EB9: mov dword ptr [ebp + 0xc], edi */ 25397 L_2B070EBC: 25398 edx = MEM32(ebp + 0xC); /* 0x2B070EBC: mov edx, dword ptr [ebp + 0xc] */ 25399 eax = MEM32(ebp + 0x8); /* 0x2B070EBF: mov eax, dword ptr [ebp + 8] */ 25400 PUSH32(esp, edx); /* 0x2B070EC2: push edx */ 25401 PUSH32(esp, eax); /* 0x2B070EC3: push eax */ 25402 RECOMP_ICALL(esi); /* 0x2B070EC4: call esi */ 25403 RECOMP_FLAGS_IN(); 25404 ecx = eax; /* 0x2B070EC6: mov ecx, eax */ 25405 RECOMP_ICALL(MEM32(0x2B0B5D80)); /* 0x2B070EC8: call dword ptr [0x2b0b5d80] */ 25406 RECOMP_FLAGS_IN(); 25407 /* cmp eax, edi */ /* 0x2B070ECE: cmp eax, edi */ 25408 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 25409 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25410 _flag_k = FK_CMP; 25411 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071042; /* 0x2B070ED0: je 0x2b071042 */ 25412 L_2B070ED6: 25413 PUSH32(esp, eax); /* 0x2B070ED6: push eax */ 25414 ecx = ebp + (-0x20); /* 0x2B070ED7: lea ecx, [ebp - 0x20] */ 25415 PUSH32(esp, ecx); /* 0x2B070EDA: push ecx */ 25416 MEM32(ebp + (-0x20)) = edi; /* 0x2B070EDB: mov dword ptr [ebp - 0x20], edi */ 25417 MEM32(ebp + (-0x1C)) = edi; /* 0x2B070EDE: mov dword ptr [ebp - 0x1c], edi */ 25418 RECOMP_ICALL(esi); /* 0x2B070EE1: call esi */ 25419 RECOMP_FLAGS_IN(); 25420 ecx = eax; /* 0x2B070EE3: mov ecx, eax */ 25421 RECOMP_ICALL(MEM32(0x2B0B5D4C)); /* 0x2B070EE5: call dword ptr [0x2b0b5d4c] */ 25422 RECOMP_FLAGS_IN(); 25423 /* test LO8(eax), LO8(eax) */ /* 0x2B070EEB: test al, al */ 25424 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 25425 _cf = 0; 25426 _flag_k = FK_NARROW(FK_TEST, 24); 25427 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07103A; /* 0x2B070EED: je 0x2b07103a */ 25428 L_2B070EF3: 25429 edx = ebp + (-0x20); /* 0x2B070EF3: lea edx, [ebp - 0x20] */ 25430 PUSH32(esp, 0x1Au); /* 0x2B070EF6: push 0x1a */ 25431 PUSH32(esp, edx); /* 0x2B070EF8: push edx */ 25432 RECOMP_ICALL(esi); /* 0x2B070EF9: call esi */ 25433 RECOMP_FLAGS_IN(); 25434 ecx = eax; /* 0x2B070EFB: mov ecx, eax */ 25435 RECOMP_ICALL(MEM32(0x2B0B5D84)); /* 0x2B070EFD: call dword ptr [0x2b0b5d84] */ 25436 RECOMP_FLAGS_IN(); 25437 /* cmp eax, edi */ /* 0x2B070F03: cmp eax, edi */ 25438 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 25439 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25440 _flag_k = FK_CMP; 25441 MEM32(ebp + (-0x14)) = eax; /* 0x2B070F05: mov dword ptr [ebp - 0x14], eax */ 25442 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07102C; /* 0x2B070F08: je 0x2b07102c */ 25443 L_2B070F0E: 25444 /* cmp MEM8(eax), 0 */ /* 0x2B070F0E: cmp byte ptr [eax], 0 */ 25445 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0) << 24; 25446 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25447 _flag_k = FK_NARROW(FK_CMP, 24); 25448 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07102C; /* 0x2B070F11: je 0x2b07102c */ 25449 L_2B070F17: 25450 eax = ebp + (-0x20); /* 0x2B070F17: lea eax, [ebp - 0x20] */ 25451 PUSH32(esp, eax); /* 0x2B070F1A: push eax */ 25452 RECOMP_ICALL(esi); /* 0x2B070F1B: call esi */ 25453 RECOMP_FLAGS_IN(); 25454 ecx = eax; /* 0x2B070F1D: mov ecx, eax */ 25455 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B070F1F: call dword ptr [0x2b0b5d50] */ 25456 RECOMP_FLAGS_IN(); 25457 ecx = ebp + (-0x44); /* 0x2B070F25: lea ecx, [ebp - 0x44] */ 25458 PUSH32(esp, ecx); /* 0x2B070F28: push ecx */ 25459 PUSH32(esp, eax); /* 0x2B070F29: push eax */ 25460 PUSH32(esp, 0x2B0EB790u); /* 0x2B070F2A: push 0x2b0eb790 */ 25461 ecx = ebx; /* 0x2B070F2F: mov ecx, ebx */ 25462 RECOMP_ICALL(0x2B073610u); /* 0x2B070F31: call 0x2b073610 */ /* not lifted */ 25463 RECOMP_FLAGS_IN(); 25464 edx = ebp + (-0x44); /* 0x2B070F36: lea edx, [ebp - 0x44] */ 25465 PUSH32(esp, edx); /* 0x2B070F39: push edx */ 25466 eax = ebp + (-0x20); /* 0x2B070F3A: lea eax, [ebp - 0x20] */ 25467 PUSH32(esp, eax); /* 0x2B070F3D: push eax */ 25468 ecx = ebx; /* 0x2B070F3E: mov ecx, ebx */ 25469 RECOMP_ICALL(0x2B074770u); /* 0x2B070F40: call 0x2b074770 */ /* not lifted */ 25470 RECOMP_FLAGS_IN(); 25471 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 25472 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070F45: or ecx, 0xffffffff */ 25473 _cf = 0; 25474 _flag_k = FK_TEST; 25475 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 25476 eax = 0; /* 0x2B070F48: xor eax, eax */ 25477 _cf = 0; 25478 _flag_k = FK_TEST; 25479 edi = 0x2B0E2BF8u; /* 0x2B070F4A: mov edi, 0x2b0e2bf8 */ 25480 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; } /* 0x2B070F4F: repne scasb al, byte ptr es:[edi] */ 25481 ecx = ~ecx; /* 0x2B070F51: not ecx */ 25482 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 25483 ecx = ecx - 1; /* 0x2B070F53: dec ecx */ 25484 _flag_k = FK_DEC; 25485 edi = ecx; /* 0x2B070F54: mov edi, ecx */ 25486 ecx = MEM32(0x2B0B515C); /* 0x2B070F56: mov ecx, dword ptr [0x2b0b515c] */ 25487 edx = MEM32(ecx); /* 0x2B070F5C: mov edx, dword ptr [ecx] */ 25488 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + (-0x3C))); 25489 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25490 edx = edx - MEM32(ebp + (-0x3C)); /* 0x2B070F5E: sub edx, dword ptr [ebp - 0x3c] */ 25491 _flag_k = FK_CMP; 25492 /* cmp edx, edi */ /* 0x2B070F61: cmp edx, edi */ 25493 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 25494 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25495 _flag_k = FK_CMP; 25496 if (CMP_A(_flag_a, _flag_b)) goto L_2B070F6B; /* 0x2B070F63: ja 0x2b070f6b */ 25497 L_2B070F65: 25498 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070F65: call dword ptr [0x2b0b51a8] */ 25499 RECOMP_FLAGS_IN(); 25500 L_2B070F6B: 25501 /* test edi, edi */ /* 0x2B070F6B: test edi, edi */ 25502 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 25503 _cf = 0; 25504 _flag_k = FK_TEST; 25505 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070FB8; /* 0x2B070F6D: jbe 0x2b070fb8 */ 25506 L_2B070F6F: 25507 eax = MEM32(ebp + (-0x3C)); /* 0x2B070F6F: mov eax, dword ptr [ebp - 0x3c] */ 25508 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 25509 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 25510 eax = eax + edi; /* 0x2B070F72: add eax, edi */ 25511 _flag_k = FK_ADD; 25512 PUSH32(esp, 0); /* 0x2B070F74: push 0 */ 25513 PUSH32(esp, eax); /* 0x2B070F76: push eax */ 25514 ecx = ebp + (-0x44); /* 0x2B070F77: lea ecx, [ebp - 0x44] */ 25515 MEM32(ebp + (-0x18)) = eax; /* 0x2B070F7A: mov dword ptr [ebp - 0x18], eax */ 25516 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070F7D: call dword ptr [0x2b0b5154] */ 25517 RECOMP_FLAGS_IN(); 25518 /* test LO8(eax), LO8(eax) */ /* 0x2B070F83: test al, al */ 25519 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 25520 _cf = 0; 25521 _flag_k = FK_NARROW(FK_TEST, 24); 25522 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070FB8; /* 0x2B070F85: je 0x2b070fb8 */ 25523 L_2B070F87: 25524 eax = MEM32(ebp + (-0x3C)); /* 0x2B070F87: mov eax, dword ptr [ebp - 0x3c] */ 25525 edx = MEM32(ebp + (-0x40)); /* 0x2B070F8A: mov edx, dword ptr [ebp - 0x40] */ 25526 ecx = edi; /* 0x2B070F8D: mov ecx, edi */ 25527 edi = eax + edx; /* 0x2B070F8F: lea edi, [eax + edx] */ 25528 eax = MEM32(ebp + (-0x18)); /* 0x2B070F92: mov eax, dword ptr [ebp - 0x18] */ 25529 edx = ecx; /* 0x2B070F95: mov edx, ecx */ 25530 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070F97: shr ecx, 2 */ 25531 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 25532 ecx = ecx >> 2u; /* 0x2B070F97: shr ecx, 2 */ 25533 esi = 0x2B0E2BF8u; /* 0x2B070F9A: mov esi, 0x2b0e2bf8 */ 25534 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070F9F: 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; } 25535 ecx = edx; /* 0x2B070FA1: mov ecx, edx */ 25536 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 25537 ecx = ecx & 3; /* 0x2B070FA3: and ecx, 3 */ 25538 _cf = 0; 25539 _flag_k = FK_TEST; 25540 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070FA6: 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; } 25541 ecx = MEM32(ebp + (-0x40)); /* 0x2B070FA8: mov ecx, dword ptr [ebp - 0x40] */ 25542 esi = MEM32(0x2B0B5D6C); /* 0x2B070FAB: mov esi, dword ptr [0x2b0b5d6c] */ 25543 MEM32(ebp + (-0x3C)) = eax; /* 0x2B070FB1: mov dword ptr [ebp - 0x3c], eax */ 25544 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B070FB4: mov byte ptr [ecx + eax], 0 */ 25545 L_2B070FB8: 25546 edi = MEM32(ebp + (-0x14)); /* 0x2B070FB8: mov edi, dword ptr [ebp - 0x14] */ 25547 edx = MEM32(0x2B0B515C); /* 0x2B070FBB: mov edx, dword ptr [0x2b0b515c] */ 25548 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 25549 eax = 0; /* 0x2B070FC1: xor eax, eax */ 25550 _cf = 0; 25551 _flag_k = FK_TEST; 25552 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 25553 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070FC3: or ecx, 0xffffffff */ 25554 _cf = 0; 25555 _flag_k = FK_TEST; 25556 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; } /* 0x2B070FC6: repne scasb al, byte ptr es:[edi] */ 25557 eax = MEM32(edx); /* 0x2B070FC8: mov eax, dword ptr [edx] */ 25558 edx = MEM32(ebp + (-0x3C)); /* 0x2B070FCA: mov edx, dword ptr [ebp - 0x3c] */ 25559 ecx = ~ecx; /* 0x2B070FCD: not ecx */ 25560 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 25561 ecx = ecx - 1; /* 0x2B070FCF: dec ecx */ 25562 _flag_k = FK_DEC; 25563 edi = ecx; /* 0x2B070FD0: mov edi, ecx */ 25564 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 25565 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25566 eax = eax - edx; /* 0x2B070FD2: sub eax, edx */ 25567 _flag_k = FK_CMP; 25568 /* cmp eax, edi */ /* 0x2B070FD4: cmp eax, edi */ 25569 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 25570 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25571 _flag_k = FK_CMP; 25572 if (CMP_A(_flag_a, _flag_b)) goto L_2B070FDE; /* 0x2B070FD6: ja 0x2b070fde */ 25573 L_2B070FD8: 25574 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070FD8: call dword ptr [0x2b0b51a8] */ 25575 RECOMP_FLAGS_IN(); 25576 L_2B070FDE: 25577 /* test edi, edi */ /* 0x2B070FDE: test edi, edi */ 25578 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 25579 _cf = 0; 25580 _flag_k = FK_TEST; 25581 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07102A; /* 0x2B070FE0: jbe 0x2b07102a */ 25582 L_2B070FE2: 25583 ecx = MEM32(ebp + (-0x3C)); /* 0x2B070FE2: mov ecx, dword ptr [ebp - 0x3c] */ 25584 eax = ecx + edi; /* 0x2B070FE5: lea eax, [ecx + edi] */ 25585 PUSH32(esp, 0); /* 0x2B070FE8: push 0 */ 25586 PUSH32(esp, eax); /* 0x2B070FEA: push eax */ 25587 ecx = ebp + (-0x44); /* 0x2B070FEB: lea ecx, [ebp - 0x44] */ 25588 MEM32(ebp + (-0x18)) = eax; /* 0x2B070FEE: mov dword ptr [ebp - 0x18], eax */ 25589 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070FF1: call dword ptr [0x2b0b5154] */ 25590 RECOMP_FLAGS_IN(); 25591 /* test LO8(eax), LO8(eax) */ /* 0x2B070FF7: test al, al */ 25592 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 25593 _cf = 0; 25594 _flag_k = FK_NARROW(FK_TEST, 24); 25595 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07102A; /* 0x2B070FF9: je 0x2b07102a */ 25596 L_2B070FFB: 25597 eax = MEM32(ebp + (-0x3C)); /* 0x2B070FFB: mov eax, dword ptr [ebp - 0x3c] */ 25598 edx = MEM32(ebp + (-0x40)); /* 0x2B070FFE: mov edx, dword ptr [ebp - 0x40] */ 25599 esi = MEM32(ebp + (-0x14)); /* 0x2B071001: mov esi, dword ptr [ebp - 0x14] */ 25600 ecx = edi; /* 0x2B071004: mov ecx, edi */ 25601 edi = eax + edx; /* 0x2B071006: lea edi, [eax + edx] */ 25602 eax = MEM32(ebp + (-0x18)); /* 0x2B071009: mov eax, dword ptr [ebp - 0x18] */ 25603 edx = ecx; /* 0x2B07100C: mov edx, ecx */ 25604 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07100E: shr ecx, 2 */ 25605 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 25606 ecx = ecx >> 2u; /* 0x2B07100E: shr ecx, 2 */ 25607 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071011: 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; } 25608 ecx = edx; /* 0x2B071013: mov ecx, edx */ 25609 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 25610 ecx = ecx & 3; /* 0x2B071015: and ecx, 3 */ 25611 _cf = 0; 25612 _flag_k = FK_TEST; 25613 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071018: 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; } 25614 ecx = MEM32(ebp + (-0x40)); /* 0x2B07101A: mov ecx, dword ptr [ebp - 0x40] */ 25615 esi = MEM32(0x2B0B5D6C); /* 0x2B07101D: mov esi, dword ptr [0x2b0b5d6c] */ 25616 MEM32(ebp + (-0x3C)) = eax; /* 0x2B071023: mov dword ptr [ebp - 0x3c], eax */ 25617 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B071026: mov byte ptr [ecx + eax], 0 */ 25618 L_2B07102A: 25619 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 25620 edi = 0; /* 0x2B07102A: xor edi, edi */ 25621 _cf = 0; 25622 _flag_k = FK_TEST; 25623 L_2B07102C: 25624 edx = ebp + (-0x20); /* 0x2B07102C: lea edx, [ebp - 0x20] */ 25625 PUSH32(esp, edx); /* 0x2B07102F: push edx */ 25626 RECOMP_ICALL(esi); /* 0x2B071030: call esi */ 25627 RECOMP_FLAGS_IN(); 25628 ecx = eax; /* 0x2B071032: mov ecx, eax */ 25629 RECOMP_ICALL(MEM32(0x2B0B5D54)); /* 0x2B071034: call dword ptr [0x2b0b5d54] */ 25630 RECOMP_FLAGS_IN(); 25631 L_2B07103A: 25632 _flag_a = (uint32_t)(MEM32(ebp + 0xC)); _flag_b = (uint32_t)(1); 25633 MEM32(ebp + 0xC) = MEM32(ebp + 0xC) + 1; /* 0x2B07103A: inc dword ptr [ebp + 0xc] */ 25634 _flag_k = FK_INC; 25635 RECOMP_BACKEDGE(); 25636 goto L_2B070EBC; /* 0x2B07103D: jmp 0x2b070ebc */ 25637 L_2B071042: 25638 /* cmp MEM32(ebp + (-0x3C)), edi */ /* 0x2B071042: cmp dword ptr [ebp - 0x3c], edi */ 25639 _flag_a = (uint32_t)(MEM32(ebp + (-0x3C))); _flag_b = (uint32_t)(edi); 25640 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25641 _flag_k = FK_CMP; 25642 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071064; /* 0x2B071045: je 0x2b071064 */ 25643 L_2B071047: 25644 eax = MEM32(ebp + (-0x40)); /* 0x2B071047: mov eax, dword ptr [ebp - 0x40] */ 25645 /* cmp eax, edi */ /* 0x2B07104A: cmp eax, edi */ 25646 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 25647 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25648 _flag_k = FK_CMP; 25649 if (CMP_NE(_flag_a, _flag_b)) goto L_2B071053; /* 0x2B07104C: jne 0x2b071053 */ 25650 L_2B07104E: 25651 eax = MEM32(0x2B0B513C); /* 0x2B07104E: mov eax, dword ptr [0x2b0b513c] */ 25652 L_2B071053: 25653 ecx = MEM32(ebx + 0x28); /* 0x2B071053: mov ecx, dword ptr [ebx + 0x28] */ 25654 PUSH32(esp, ecx); /* 0x2B071056: push ecx */ 25655 PUSH32(esp, eax); /* 0x2B071057: push eax */ 25656 PUSH32(esp, 0x2B0EB770u); /* 0x2B071058: push 0x2b0eb770 */ 25657 ecx = ebx; /* 0x2B07105D: mov ecx, ebx */ 25658 RECOMP_ICALL(0x2B073610u); /* 0x2B07105F: call 0x2b073610 */ /* not lifted */ 25659 RECOMP_FLAGS_IN(); 25660 L_2B071064: 25661 eax = MEM32(ebp + (-0x34)); /* 0x2B071064: mov eax, dword ptr [ebp - 0x34] */ 25662 /* cmp eax, edi */ /* 0x2B071067: cmp eax, edi */ 25663 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 25664 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25665 _flag_k = FK_CMP; 25666 MEM32(ebp + (-0x4)) = 2; /* 0x2B071069: mov dword ptr [ebp - 4], 2 */ 25667 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710D2; /* 0x2B071070: je 0x2b0710d2 */ 25668 L_2B071072: 25669 edx = MEM32(eax + 0x2C); /* 0x2B071072: mov edx, dword ptr [eax + 0x2c] */ 25670 edi = eax; /* 0x2B071075: mov edi, eax */ 25671 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 25672 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 25673 eax = eax + 0x2Cu; /* 0x2B071077: add eax, 0x2c */ 25674 _flag_k = FK_ADD; 25675 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 25676 edx = edx - 1; /* 0x2B07107A: dec edx */ 25677 _flag_k = FK_DEC; 25678 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 25679 esi = 0; /* 0x2B07107B: xor esi, esi */ 25680 _cf = 0; 25681 _flag_k = FK_TEST; 25682 ecx = edx; /* 0x2B07107D: mov ecx, edx */ 25683 /* cmp ecx, esi */ /* 0x2B07107F: cmp ecx, esi */ 25684 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 25685 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25686 _flag_k = FK_CMP; 25687 MEM32(eax) = edx; /* 0x2B071081: mov dword ptr [eax], edx */ 25688 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0710D4; /* 0x2B071083: jne 0x2b0710d4 */ 25689 L_2B071085: 25690 /* cmp edi, esi */ /* 0x2B071085: cmp edi, esi */ 25691 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 25692 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25693 _flag_k = FK_CMP; 25694 MEM32(ebp + 0xC) = edi; /* 0x2B071087: mov dword ptr [ebp + 0xc], edi */ 25695 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710D4; /* 0x2B07108A: je 0x2b0710d4 */ 25696 L_2B07108C: 25697 PUSH32(esp, 1); /* 0x2B07108C: push 1 */ 25698 ecx = edi + 0x1C; /* 0x2B07108E: lea ecx, [edi + 0x1c] */ 25699 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B071091: mov byte ptr [ebp - 4], 3 */ 25700 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B071095: call dword ptr [0x2b0b514c] */ 25701 RECOMP_FLAGS_IN(); 25702 eax = MEM32(edi + 0x10); /* 0x2B07109B: mov eax, dword ptr [edi + 0x10] */ 25703 /* cmp eax, esi */ /* 0x2B07109E: cmp eax, esi */ 25704 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 25705 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25706 _flag_k = FK_CMP; 25707 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710BE; /* 0x2B0710A0: je 0x2b0710be */ 25708 L_2B0710A2: 25709 ecx = eax + (-0x1); /* 0x2B0710A2: lea ecx, [eax - 1] */ 25710 SET_LO8(eax, MEM8(ecx)); /* 0x2B0710A5: mov al, byte ptr [ecx] */ 25711 /* test LO8(eax), LO8(eax) */ /* 0x2B0710A7: test al, al */ 25712 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 25713 _cf = 0; 25714 _flag_k = FK_NARROW(FK_TEST, 24); 25715 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0710B5; /* 0x2B0710A9: je 0x2b0710b5 */ 25716 L_2B0710AB: 25717 /* cmp LO8(eax), 0xFFu */ /* 0x2B0710AB: cmp al, 0xff */ 25718 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 25719 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25720 _flag_k = FK_NARROW(FK_CMP, 24); 25721 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710B5; /* 0x2B0710AD: je 0x2b0710b5 */ 25722 L_2B0710AF: 25723 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 25724 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0710AF: dec al */ 25725 _flag_k = FK_NARROW(FK_DEC, 24); 25726 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B0710B1: mov byte ptr [ecx], al */ 25727 goto L_2B0710BE; /* 0x2B0710B3: jmp 0x2b0710be */ 25728 L_2B0710B5: 25729 PUSH32(esp, ecx); /* 0x2B0710B5: push ecx */ 25730 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0710B6: call 0x2b0ab1ba */ /* not lifted */ 25731 RECOMP_FLAGS_IN(); 25732 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 25733 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 25734 esp = esp + 4; /* 0x2B0710BB: add esp, 4 */ 25735 _flag_k = FK_ADD; 25736 L_2B0710BE: 25737 PUSH32(esp, edi); /* 0x2B0710BE: push edi */ 25738 MEM32(edi + 0x10) = esi; /* 0x2B0710BF: mov dword ptr [edi + 0x10], esi */ 25739 MEM32(edi + 0x14) = esi; /* 0x2B0710C2: mov dword ptr [edi + 0x14], esi */ 25740 MEM32(edi + 0x18) = esi; /* 0x2B0710C5: mov dword ptr [edi + 0x18], esi */ 25741 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0710C8: call 0x2b0ab1ba */ /* not lifted */ 25742 RECOMP_FLAGS_IN(); 25743 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 25744 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 25745 esp = esp + 4; /* 0x2B0710CD: add esp, 4 */ 25746 _flag_k = FK_ADD; 25747 goto L_2B0710D4; /* 0x2B0710D0: jmp 0x2b0710d4 */ 25748 L_2B0710D2: 25749 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 25750 esi = 0; /* 0x2B0710D2: xor esi, esi */ 25751 _cf = 0; 25752 _flag_k = FK_TEST; 25753 L_2B0710D4: 25754 ecx = MEM32(ebp + (-0x40)); /* 0x2B0710D4: mov ecx, dword ptr [ebp - 0x40] */ 25755 /* cmp ecx, esi */ /* 0x2B0710D7: cmp ecx, esi */ 25756 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 25757 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25758 _flag_k = FK_CMP; 25759 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071108; /* 0x2B0710D9: je 0x2b071108 */ 25760 L_2B0710DB: 25761 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B0710DB: mov al, byte ptr [ecx - 1] */ 25762 /* test LO8(eax), LO8(eax) */ /* 0x2B0710DE: test al, al */ 25763 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 25764 _cf = 0; 25765 _flag_k = FK_NARROW(FK_TEST, 24); 25766 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0710FE; /* 0x2B0710E0: je 0x2b0710fe */ 25767 L_2B0710E2: 25768 /* cmp LO8(eax), 0xFFu */ /* 0x2B0710E2: cmp al, 0xff */ 25769 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 25770 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25771 _flag_k = FK_NARROW(FK_CMP, 24); 25772 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710FE; /* 0x2B0710E4: je 0x2b0710fe */ 25773 L_2B0710E6: 25774 edi = POP32_VAL(esp); /* 0x2B0710E6: pop edi */ 25775 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 25776 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0710E7: dec al */ 25777 _flag_k = FK_NARROW(FK_DEC, 24); 25778 esi = POP32_VAL(esp); /* 0x2B0710E9: pop esi */ 25779 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B0710EA: mov byte ptr [ecx - 1], al */ 25780 ebx = POP32_VAL(esp); /* 0x2B0710ED: pop ebx */ 25781 ecx = MEM32(ebp + (-0xC)); /* 0x2B0710EE: mov ecx, dword ptr [ebp - 0xc] */ 25782 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0710F1: mov dword ptr fs:[0], ecx */ 25783 esp = ebp; /* 0x2B0710F8: mov esp, ebp */ 25784 ebp = POP32_VAL(esp); /* 0x2B0710FA: pop ebp */ 25785 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0710FB: ret 8 */ 25786 L_2B0710FE: 25787 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 25788 ecx = ecx - 1; /* 0x2B0710FE: dec ecx */ 25789 _flag_k = FK_DEC; 25790 PUSH32(esp, ecx); /* 0x2B0710FF: push ecx */ 25791 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B071100: call 0x2b0ab1ba */ /* not lifted */ 25792 RECOMP_FLAGS_IN(); 25793 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 25794 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 25795 esp = esp + 4; /* 0x2B071105: add esp, 4 */ 25796 _flag_k = FK_ADD; 25797 L_2B071108: 25798 ecx = MEM32(ebp + (-0xC)); /* 0x2B071108: mov ecx, dword ptr [ebp - 0xc] */ 25799 edi = POP32_VAL(esp); /* 0x2B07110B: pop edi */ 25800 esi = POP32_VAL(esp); /* 0x2B07110C: pop esi */ 25801 ebx = POP32_VAL(esp); /* 0x2B07110D: pop ebx */ 25802 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07110E: mov dword ptr fs:[0], ecx */ 25803 esp = ebp; /* 0x2B071115: mov esp, ebp */ 25804 ebp = POP32_VAL(esp); /* 0x2B071117: pop ebp */ 25805 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B071118: ret 8 */ 25806 RECOMP_REGS_OUT(); 25807 } 25808 25809 void sub_2B070AEA(void) { 25810 int _fpu_cmp = 0; 25811 uint32_t _cf = 0; 25812 int _df = 1; 25813 uint32_t _flag_k = FK_NONE; 25814 uint32_t _flag_a = 0, _flag_b = 0; 25815 uint32_t _itail_tgt = 0; 25816 RECOMP_REGS_LOCALS 25817 RECOMP_ENTER(0x2B070AEAu); 25818 25819 L_2B070AEA: 25820 /* cmp MEM32(edi + 0x4), eax */ /* 0x2B070AEA: cmp dword ptr [edi + 4], eax */ 25821 _flag_a = (uint32_t)(MEM32(edi + 0x4)); _flag_b = (uint32_t)(eax); 25822 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25823 _flag_k = FK_CMP; 25824 if (CMP_NE(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070AED: jne 0x2b070e97 */ 25825 L_2B070AF3: 25826 edx = MEM32(ebp + 0x8); /* 0x2B070AF3: mov edx, dword ptr [ebp + 8] */ 25827 /* cmp MEM32(edx), ecx */ /* 0x2B070AF6: cmp dword ptr [edx], ecx */ 25828 _flag_a = (uint32_t)(MEM32(edx)); _flag_b = (uint32_t)(ecx); 25829 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25830 _flag_k = FK_CMP; 25831 if (CMP_NE(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070AF8: jne 0x2b070e97 */ 25832 L_2B070AFE: 25833 ecx = MEM32(ebx + 0x28); /* 0x2B070AFE: mov ecx, dword ptr [ebx + 0x28] */ 25834 PUSH32(esp, 0x13u); /* 0x2B070B01: push 0x13 */ 25835 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070B03: push -1 */ 25836 RECOMP_ICALL(esi); /* 0x2B070B05: call esi */ 25837 RECOMP_FLAGS_IN(); 25838 edx = MEM32(ebx + 0x28); /* 0x2B070B07: mov edx, dword ptr [ebx + 0x28] */ 25839 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 25840 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070B0A: or ecx, 0xffffffff */ 25841 _cf = 0; 25842 _flag_k = FK_TEST; 25843 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 25844 eax = 0; /* 0x2B070B0D: xor eax, eax */ 25845 _cf = 0; 25846 _flag_k = FK_TEST; 25847 edi = 0x2B0EB7D8u; /* 0x2B070B0F: mov edi, 0x2b0eb7d8 */ 25848 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; } /* 0x2B070B14: repne scasb al, byte ptr es:[edi] */ 25849 eax = MEM32(0x2B0B515C); /* 0x2B070B16: mov eax, dword ptr [0x2b0b515c] */ 25850 ecx = ~ecx; /* 0x2B070B1B: not ecx */ 25851 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 25852 ecx = ecx - 1; /* 0x2B070B1D: dec ecx */ 25853 _flag_k = FK_DEC; 25854 edi = ecx; /* 0x2B070B1E: mov edi, ecx */ 25855 ecx = MEM32(eax); /* 0x2B070B20: mov ecx, dword ptr [eax] */ 25856 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 25857 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25858 ecx = ecx - MEM32(edx + 0x8); /* 0x2B070B22: sub ecx, dword ptr [edx + 8] */ 25859 _flag_k = FK_CMP; 25860 /* cmp ecx, edi */ /* 0x2B070B25: cmp ecx, edi */ 25861 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 25862 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25863 _flag_k = FK_CMP; 25864 MEM32(ebp + 0xC) = edx; /* 0x2B070B27: mov dword ptr [ebp + 0xc], edx */ 25865 if (CMP_A(_flag_a, _flag_b)) goto L_2B070B32; /* 0x2B070B2A: ja 0x2b070b32 */ 25866 L_2B070B2C: 25867 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070B2C: call dword ptr [0x2b0b51a8] */ 25868 RECOMP_FLAGS_IN(); 25869 L_2B070B32: 25870 /* test edi, edi */ /* 0x2B070B32: test edi, edi */ 25871 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 25872 _cf = 0; 25873 _flag_k = FK_TEST; 25874 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070B84; /* 0x2B070B34: jbe 0x2b070b84 */ 25875 L_2B070B36: 25876 ecx = MEM32(ebp + 0xC); /* 0x2B070B36: mov ecx, dword ptr [ebp + 0xc] */ 25877 edx = MEM32(ecx + 0x8); /* 0x2B070B39: mov edx, dword ptr [ecx + 8] */ 25878 eax = edi; /* 0x2B070B3C: mov eax, edi */ 25879 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 25880 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 25881 eax = eax + edx; /* 0x2B070B3E: add eax, edx */ 25882 _flag_k = FK_ADD; 25883 PUSH32(esp, 0); /* 0x2B070B40: push 0 */ 25884 PUSH32(esp, eax); /* 0x2B070B42: push eax */ 25885 MEM32(ebp + (-0x18)) = eax; /* 0x2B070B43: mov dword ptr [ebp - 0x18], eax */ 25886 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070B46: call dword ptr [0x2b0b5154] */ 25887 RECOMP_FLAGS_IN(); 25888 /* test LO8(eax), LO8(eax) */ /* 0x2B070B4C: test al, al */ 25889 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 25890 _cf = 0; 25891 _flag_k = FK_NARROW(FK_TEST, 24); 25892 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070B84; /* 0x2B070B4E: je 0x2b070b84 */ 25893 L_2B070B50: 25894 eax = MEM32(ebp + 0xC); /* 0x2B070B50: mov eax, dword ptr [ebp + 0xc] */ 25895 esi = MEM32(eax + 0x8); /* 0x2B070B53: mov esi, dword ptr [eax + 8] */ 25896 edx = MEM32(eax + 0x4); /* 0x2B070B56: mov edx, dword ptr [eax + 4] */ 25897 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 25898 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 25899 edx = edx + esi; /* 0x2B070B59: add edx, esi */ 25900 _flag_k = FK_ADD; 25901 ecx = edi; /* 0x2B070B5B: mov ecx, edi */ 25902 edi = edx; /* 0x2B070B5D: mov edi, edx */ 25903 edx = ecx; /* 0x2B070B5F: mov edx, ecx */ 25904 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070B61: shr ecx, 2 */ 25905 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 25906 ecx = ecx >> 2u; /* 0x2B070B61: shr ecx, 2 */ 25907 esi = 0x2B0EB7D8u; /* 0x2B070B64: mov esi, 0x2b0eb7d8 */ 25908 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070B69: 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; } 25909 ecx = edx; /* 0x2B070B6B: mov ecx, edx */ 25910 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 25911 ecx = ecx & 3; /* 0x2B070B6D: and ecx, 3 */ 25912 _cf = 0; 25913 _flag_k = FK_TEST; 25914 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070B70: 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; } 25915 ecx = MEM32(ebp + (-0x18)); /* 0x2B070B72: mov ecx, dword ptr [ebp - 0x18] */ 25916 PUSH32(esp, ecx); /* 0x2B070B75: push ecx */ 25917 ecx = eax; /* 0x2B070B76: mov ecx, eax */ 25918 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B070B78: call dword ptr [0x2b0b5150] */ 25919 RECOMP_FLAGS_IN(); 25920 esi = MEM32(0x2B0B5A74); /* 0x2B070B7E: mov esi, dword ptr [0x2b0b5a74] */ 25921 L_2B070B84: 25922 ecx = MEM32(ebx + 0x28); /* 0x2B070B84: mov ecx, dword ptr [ebx + 0x28] */ 25923 PUSH32(esp, 0x14u); /* 0x2B070B87: push 0x14 */ 25924 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B070B89: push -1 */ 25925 RECOMP_ICALL(esi); /* 0x2B070B8B: call esi */ 25926 RECOMP_FLAGS_IN(); 25927 edx = MEM32(ebp + 0x8); /* 0x2B070B8D: mov edx, dword ptr [ebp + 8] */ 25928 PUSH32(esp, 0x1D6u); /* 0x2B070B90: push 0x1d6 */ 25929 PUSH32(esp, edx); /* 0x2B070B95: push edx */ 25930 ecx = ebx; /* 0x2B070B96: mov ecx, ebx */ 25931 RECOMP_ICALL(0x2B0735D0u); /* 0x2B070B98: call 0x2b0735d0 */ /* not lifted */ 25932 RECOMP_FLAGS_IN(); 25933 /* test eax, eax */ /* 0x2B070B9D: test eax, eax */ 25934 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 25935 _cf = 0; 25936 _flag_k = FK_TEST; 25937 MEM32(ebp + 0xC) = eax; /* 0x2B070B9F: mov dword ptr [ebp + 0xc], eax */ 25938 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B070C1F; /* 0x2B070BA2: jne 0x2b070c1f */ 25939 L_2B070BA4: 25940 edx = MEM32(ebx + 0x28); /* 0x2B070BA4: mov edx, dword ptr [ebx + 0x28] */ 25941 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 25942 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070BA7: or ecx, 0xffffffff */ 25943 _cf = 0; 25944 _flag_k = FK_TEST; 25945 edi = 0x2B0EB7D0u; /* 0x2B070BAA: mov edi, 0x2b0eb7d0 */ 25946 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; } /* 0x2B070BAF: repne scasb al, byte ptr es:[edi] */ 25947 eax = MEM32(0x2B0B515C); /* 0x2B070BB1: mov eax, dword ptr [0x2b0b515c] */ 25948 edi = MEM32(edx + 0x8); /* 0x2B070BB6: mov edi, dword ptr [edx + 8] */ 25949 ecx = ~ecx; /* 0x2B070BB9: not ecx */ 25950 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 25951 ecx = ecx - 1; /* 0x2B070BBB: dec ecx */ 25952 _flag_k = FK_DEC; 25953 esi = ecx; /* 0x2B070BBC: mov esi, ecx */ 25954 ecx = MEM32(eax); /* 0x2B070BBE: mov ecx, dword ptr [eax] */ 25955 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 25956 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25957 ecx = ecx - edi; /* 0x2B070BC0: sub ecx, edi */ 25958 _flag_k = FK_CMP; 25959 /* cmp ecx, esi */ /* 0x2B070BC2: cmp ecx, esi */ 25960 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 25961 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25962 _flag_k = FK_CMP; 25963 MEM32(ebp + 0xC) = edx; /* 0x2B070BC4: mov dword ptr [ebp + 0xc], edx */ 25964 if (CMP_A(_flag_a, _flag_b)) goto L_2B070BD2; /* 0x2B070BC7: ja 0x2b070bd2 */ 25965 L_2B070BC9: 25966 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070BC9: call dword ptr [0x2b0b51a8] */ 25967 RECOMP_FLAGS_IN(); 25968 edx = MEM32(ebp + 0xC); /* 0x2B070BCF: mov edx, dword ptr [ebp + 0xc] */ 25969 L_2B070BD2: 25970 /* test esi, esi */ /* 0x2B070BD2: test esi, esi */ 25971 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 25972 _cf = 0; 25973 _flag_k = FK_TEST; 25974 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070BD4: jbe 0x2b070e97 */ 25975 L_2B070BDA: 25976 edi = MEM32(edx + 0x8); /* 0x2B070BDA: mov edi, dword ptr [edx + 8] */ 25977 eax = esi; /* 0x2B070BDD: mov eax, esi */ 25978 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 25979 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 25980 eax = eax + edi; /* 0x2B070BDF: add eax, edi */ 25981 _flag_k = FK_ADD; 25982 PUSH32(esp, 0); /* 0x2B070BE1: push 0 */ 25983 PUSH32(esp, eax); /* 0x2B070BE3: push eax */ 25984 ecx = edx; /* 0x2B070BE4: mov ecx, edx */ 25985 MEM32(ebp + (-0x18)) = eax; /* 0x2B070BE6: mov dword ptr [ebp - 0x18], eax */ 25986 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070BE9: call dword ptr [0x2b0b5154] */ 25987 RECOMP_FLAGS_IN(); 25988 /* test LO8(eax), LO8(eax) */ /* 0x2B070BEF: test al, al */ 25989 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 25990 _cf = 0; 25991 _flag_k = FK_NARROW(FK_TEST, 24); 25992 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070BF1: je 0x2b070e97 */ 25993 L_2B070BF7: 25994 edx = MEM32(ebp + 0xC); /* 0x2B070BF7: mov edx, dword ptr [ebp + 0xc] */ 25995 ecx = MEM32(edx + 0x4); /* 0x2B070BFA: mov ecx, dword ptr [edx + 4] */ 25996 edi = MEM32(edx + 0x8); /* 0x2B070BFD: mov edi, dword ptr [edx + 8] */ 25997 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 25998 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 25999 edi = edi + ecx; /* 0x2B070C00: add edi, ecx */ 26000 _flag_k = FK_ADD; 26001 ecx = esi; /* 0x2B070C02: mov ecx, esi */ 26002 eax = ecx; /* 0x2B070C04: mov eax, ecx */ 26003 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070C06: shr ecx, 2 */ 26004 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 26005 ecx = ecx >> 2u; /* 0x2B070C06: shr ecx, 2 */ 26006 esi = 0x2B0EB7D0u; /* 0x2B070C09: mov esi, 0x2b0eb7d0 */ 26007 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070C0E: 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; } 26008 ecx = eax; /* 0x2B070C10: mov ecx, eax */ 26009 eax = MEM32(ebp + (-0x18)); /* 0x2B070C12: mov eax, dword ptr [ebp - 0x18] */ 26010 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 26011 ecx = ecx & 3; /* 0x2B070C15: and ecx, 3 */ 26012 _cf = 0; 26013 _flag_k = FK_TEST; 26014 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070C18: 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; } 26015 goto L_2B070E8E; /* 0x2B070C1A: jmp 0x2b070e8e */ 26016 L_2B070C1F: 26017 /* test LO8(eax), 1 */ /* 0x2B070C1F: test al, 1 */ 26018 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 26019 _cf = 0; 26020 _flag_k = FK_NARROW(FK_TEST, 24); 26021 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070C9D; /* 0x2B070C21: je 0x2b070c9d */ 26022 L_2B070C23: 26023 edx = MEM32(ebx + 0x28); /* 0x2B070C23: mov edx, dword ptr [ebx + 0x28] */ 26024 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 26025 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070C26: or ecx, 0xffffffff */ 26026 _cf = 0; 26027 _flag_k = FK_TEST; 26028 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 26029 eax = 0; /* 0x2B070C29: xor eax, eax */ 26030 _cf = 0; 26031 _flag_k = FK_TEST; 26032 edi = 0x2B0EB7C8u; /* 0x2B070C2B: mov edi, 0x2b0eb7c8 */ 26033 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; } /* 0x2B070C30: repne scasb al, byte ptr es:[edi] */ 26034 edi = MEM32(edx + 0x8); /* 0x2B070C32: mov edi, dword ptr [edx + 8] */ 26035 ecx = ~ecx; /* 0x2B070C35: not ecx */ 26036 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 26037 ecx = ecx - 1; /* 0x2B070C37: dec ecx */ 26038 _flag_k = FK_DEC; 26039 esi = ecx; /* 0x2B070C38: mov esi, ecx */ 26040 ecx = MEM32(0x2B0B515C); /* 0x2B070C3A: mov ecx, dword ptr [0x2b0b515c] */ 26041 eax = MEM32(ecx); /* 0x2B070C40: mov eax, dword ptr [ecx] */ 26042 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 26043 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26044 eax = eax - edi; /* 0x2B070C42: sub eax, edi */ 26045 _flag_k = FK_CMP; 26046 /* cmp eax, esi */ /* 0x2B070C44: cmp eax, esi */ 26047 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 26048 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26049 _flag_k = FK_CMP; 26050 MEM32(ebp + (-0x14)) = edx; /* 0x2B070C46: mov dword ptr [ebp - 0x14], edx */ 26051 if (CMP_A(_flag_a, _flag_b)) goto L_2B070C54; /* 0x2B070C49: ja 0x2b070c54 */ 26052 L_2B070C4B: 26053 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070C4B: call dword ptr [0x2b0b51a8] */ 26054 RECOMP_FLAGS_IN(); 26055 edx = MEM32(ebp + (-0x14)); /* 0x2B070C51: mov edx, dword ptr [ebp - 0x14] */ 26056 L_2B070C54: 26057 /* test esi, esi */ /* 0x2B070C54: test esi, esi */ 26058 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 26059 _cf = 0; 26060 _flag_k = FK_TEST; 26061 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070C9D; /* 0x2B070C56: jbe 0x2b070c9d */ 26062 L_2B070C58: 26063 edi = MEM32(edx + 0x8); /* 0x2B070C58: mov edi, dword ptr [edx + 8] */ 26064 eax = esi; /* 0x2B070C5B: mov eax, esi */ 26065 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 26066 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 26067 eax = eax + edi; /* 0x2B070C5D: add eax, edi */ 26068 _flag_k = FK_ADD; 26069 PUSH32(esp, 0); /* 0x2B070C5F: push 0 */ 26070 PUSH32(esp, eax); /* 0x2B070C61: push eax */ 26071 ecx = edx; /* 0x2B070C62: mov ecx, edx */ 26072 MEM32(ebp + (-0x18)) = eax; /* 0x2B070C64: mov dword ptr [ebp - 0x18], eax */ 26073 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070C67: call dword ptr [0x2b0b5154] */ 26074 RECOMP_FLAGS_IN(); 26075 /* test LO8(eax), LO8(eax) */ /* 0x2B070C6D: test al, al */ 26076 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 26077 _cf = 0; 26078 _flag_k = FK_NARROW(FK_TEST, 24); 26079 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070C9D; /* 0x2B070C6F: je 0x2b070c9d */ 26080 L_2B070C71: 26081 edx = MEM32(ebp + (-0x14)); /* 0x2B070C71: mov edx, dword ptr [ebp - 0x14] */ 26082 edi = MEM32(edx + 0x8); /* 0x2B070C74: mov edi, dword ptr [edx + 8] */ 26083 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 26084 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 26085 edi = edi + MEM32(edx + 0x4); /* 0x2B070C77: add edi, dword ptr [edx + 4] */ 26086 _flag_k = FK_ADD; 26087 ecx = esi; /* 0x2B070C7A: mov ecx, esi */ 26088 eax = ecx; /* 0x2B070C7C: mov eax, ecx */ 26089 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070C7E: shr ecx, 2 */ 26090 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 26091 ecx = ecx >> 2u; /* 0x2B070C7E: shr ecx, 2 */ 26092 esi = 0x2B0EB7C8u; /* 0x2B070C81: mov esi, 0x2b0eb7c8 */ 26093 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070C86: 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; } 26094 ecx = eax; /* 0x2B070C88: mov ecx, eax */ 26095 eax = MEM32(ebp + (-0x18)); /* 0x2B070C8A: mov eax, dword ptr [ebp - 0x18] */ 26096 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 26097 ecx = ecx & 3; /* 0x2B070C8D: and ecx, 3 */ 26098 _cf = 0; 26099 _flag_k = FK_TEST; 26100 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070C90: 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; } 26101 ecx = MEM32(edx + 0x4); /* 0x2B070C92: mov ecx, dword ptr [edx + 4] */ 26102 MEM32(edx + 0x8) = eax; /* 0x2B070C95: mov dword ptr [edx + 8], eax */ 26103 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 26104 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 26105 eax = eax + ecx; /* 0x2B070C98: add eax, ecx */ 26106 _flag_k = FK_ADD; 26107 MEM8(eax) = (uint8_t)(0); /* 0x2B070C9A: mov byte ptr [eax], 0 */ 26108 L_2B070C9D: 26109 /* test MEM8(ebp + 0xC), 2 */ /* 0x2B070C9D: test byte ptr [ebp + 0xc], 2 */ 26110 _flag_a = (uint32_t)(MEM8(ebp + 0xC)) << 24; _flag_b = (uint32_t)(2) << 24; 26111 _cf = 0; 26112 _flag_k = FK_NARROW(FK_TEST, 24); 26113 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D1B; /* 0x2B070CA1: je 0x2b070d1b */ 26114 L_2B070CA3: 26115 edx = MEM32(ebx + 0x28); /* 0x2B070CA3: mov edx, dword ptr [ebx + 0x28] */ 26116 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 26117 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070CA6: or ecx, 0xffffffff */ 26118 _cf = 0; 26119 _flag_k = FK_TEST; 26120 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 26121 eax = 0; /* 0x2B070CA9: xor eax, eax */ 26122 _cf = 0; 26123 _flag_k = FK_TEST; 26124 edi = 0x2B0EB7BCu; /* 0x2B070CAB: mov edi, 0x2b0eb7bc */ 26125 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; } /* 0x2B070CB0: repne scasb al, byte ptr es:[edi] */ 26126 edi = MEM32(edx + 0x8); /* 0x2B070CB2: mov edi, dword ptr [edx + 8] */ 26127 ecx = ~ecx; /* 0x2B070CB5: not ecx */ 26128 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 26129 ecx = ecx - 1; /* 0x2B070CB7: dec ecx */ 26130 _flag_k = FK_DEC; 26131 esi = ecx; /* 0x2B070CB8: mov esi, ecx */ 26132 ecx = MEM32(0x2B0B515C); /* 0x2B070CBA: mov ecx, dword ptr [0x2b0b515c] */ 26133 eax = MEM32(ecx); /* 0x2B070CC0: mov eax, dword ptr [ecx] */ 26134 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 26135 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26136 eax = eax - edi; /* 0x2B070CC2: sub eax, edi */ 26137 _flag_k = FK_CMP; 26138 /* cmp eax, esi */ /* 0x2B070CC4: cmp eax, esi */ 26139 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 26140 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26141 _flag_k = FK_CMP; 26142 MEM32(ebp + (-0x14)) = edx; /* 0x2B070CC6: mov dword ptr [ebp - 0x14], edx */ 26143 if (CMP_A(_flag_a, _flag_b)) goto L_2B070CD1; /* 0x2B070CC9: ja 0x2b070cd1 */ 26144 L_2B070CCB: 26145 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070CCB: call dword ptr [0x2b0b51a8] */ 26146 RECOMP_FLAGS_IN(); 26147 L_2B070CD1: 26148 /* test esi, esi */ /* 0x2B070CD1: test esi, esi */ 26149 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 26150 _cf = 0; 26151 _flag_k = FK_TEST; 26152 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D1B; /* 0x2B070CD3: jbe 0x2b070d1b */ 26153 L_2B070CD5: 26154 ecx = MEM32(ebp + (-0x14)); /* 0x2B070CD5: mov ecx, dword ptr [ebp - 0x14] */ 26155 edx = MEM32(ecx + 0x8); /* 0x2B070CD8: mov edx, dword ptr [ecx + 8] */ 26156 eax = esi; /* 0x2B070CDB: mov eax, esi */ 26157 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 26158 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 26159 eax = eax + edx; /* 0x2B070CDD: add eax, edx */ 26160 _flag_k = FK_ADD; 26161 PUSH32(esp, 0); /* 0x2B070CDF: push 0 */ 26162 PUSH32(esp, eax); /* 0x2B070CE1: push eax */ 26163 MEM32(ebp + (-0x18)) = eax; /* 0x2B070CE2: mov dword ptr [ebp - 0x18], eax */ 26164 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070CE5: call dword ptr [0x2b0b5154] */ 26165 RECOMP_FLAGS_IN(); 26166 /* test LO8(eax), LO8(eax) */ /* 0x2B070CEB: test al, al */ 26167 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 26168 _cf = 0; 26169 _flag_k = FK_NARROW(FK_TEST, 24); 26170 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D1B; /* 0x2B070CED: je 0x2b070d1b */ 26171 L_2B070CEF: 26172 edx = MEM32(ebp + (-0x14)); /* 0x2B070CEF: mov edx, dword ptr [ebp - 0x14] */ 26173 edi = MEM32(edx + 0x8); /* 0x2B070CF2: mov edi, dword ptr [edx + 8] */ 26174 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 26175 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 26176 edi = edi + MEM32(edx + 0x4); /* 0x2B070CF5: add edi, dword ptr [edx + 4] */ 26177 _flag_k = FK_ADD; 26178 ecx = esi; /* 0x2B070CF8: mov ecx, esi */ 26179 eax = ecx; /* 0x2B070CFA: mov eax, ecx */ 26180 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070CFC: shr ecx, 2 */ 26181 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 26182 ecx = ecx >> 2u; /* 0x2B070CFC: shr ecx, 2 */ 26183 esi = 0x2B0EB7BCu; /* 0x2B070CFF: mov esi, 0x2b0eb7bc */ 26184 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070D04: 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; } 26185 ecx = eax; /* 0x2B070D06: mov ecx, eax */ 26186 eax = MEM32(ebp + (-0x18)); /* 0x2B070D08: mov eax, dword ptr [ebp - 0x18] */ 26187 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 26188 ecx = ecx & 3; /* 0x2B070D0B: and ecx, 3 */ 26189 _cf = 0; 26190 _flag_k = FK_TEST; 26191 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070D0E: 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; } 26192 ecx = MEM32(edx + 0x4); /* 0x2B070D10: mov ecx, dword ptr [edx + 4] */ 26193 MEM32(edx + 0x8) = eax; /* 0x2B070D13: mov dword ptr [edx + 8], eax */ 26194 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 26195 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 26196 eax = eax + ecx; /* 0x2B070D16: add eax, ecx */ 26197 _flag_k = FK_ADD; 26198 MEM8(eax) = (uint8_t)(0); /* 0x2B070D18: mov byte ptr [eax], 0 */ 26199 L_2B070D1B: 26200 /* test MEM8(ebp + 0xC), 4 */ /* 0x2B070D1B: test byte ptr [ebp + 0xc], 4 */ 26201 _flag_a = (uint32_t)(MEM8(ebp + 0xC)) << 24; _flag_b = (uint32_t)(4) << 24; 26202 _cf = 0; 26203 _flag_k = FK_NARROW(FK_TEST, 24); 26204 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D99; /* 0x2B070D1F: je 0x2b070d99 */ 26205 L_2B070D21: 26206 edx = MEM32(ebx + 0x28); /* 0x2B070D21: mov edx, dword ptr [ebx + 0x28] */ 26207 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 26208 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070D24: or ecx, 0xffffffff */ 26209 _cf = 0; 26210 _flag_k = FK_TEST; 26211 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 26212 eax = 0; /* 0x2B070D27: xor eax, eax */ 26213 _cf = 0; 26214 _flag_k = FK_TEST; 26215 edi = 0x2B0EB7B0u; /* 0x2B070D29: mov edi, 0x2b0eb7b0 */ 26216 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; } /* 0x2B070D2E: repne scasb al, byte ptr es:[edi] */ 26217 edi = MEM32(edx + 0x8); /* 0x2B070D30: mov edi, dword ptr [edx + 8] */ 26218 ecx = ~ecx; /* 0x2B070D33: not ecx */ 26219 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 26220 ecx = ecx - 1; /* 0x2B070D35: dec ecx */ 26221 _flag_k = FK_DEC; 26222 esi = ecx; /* 0x2B070D36: mov esi, ecx */ 26223 ecx = MEM32(0x2B0B515C); /* 0x2B070D38: mov ecx, dword ptr [0x2b0b515c] */ 26224 eax = MEM32(ecx); /* 0x2B070D3E: mov eax, dword ptr [ecx] */ 26225 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 26226 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26227 eax = eax - edi; /* 0x2B070D40: sub eax, edi */ 26228 _flag_k = FK_CMP; 26229 /* cmp eax, esi */ /* 0x2B070D42: cmp eax, esi */ 26230 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 26231 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26232 _flag_k = FK_CMP; 26233 MEM32(ebp + (-0x14)) = edx; /* 0x2B070D44: mov dword ptr [ebp - 0x14], edx */ 26234 if (CMP_A(_flag_a, _flag_b)) goto L_2B070D4F; /* 0x2B070D47: ja 0x2b070d4f */ 26235 L_2B070D49: 26236 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070D49: call dword ptr [0x2b0b51a8] */ 26237 RECOMP_FLAGS_IN(); 26238 L_2B070D4F: 26239 /* test esi, esi */ /* 0x2B070D4F: test esi, esi */ 26240 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 26241 _cf = 0; 26242 _flag_k = FK_TEST; 26243 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D99; /* 0x2B070D51: jbe 0x2b070d99 */ 26244 L_2B070D53: 26245 ecx = MEM32(ebp + (-0x14)); /* 0x2B070D53: mov ecx, dword ptr [ebp - 0x14] */ 26246 edx = MEM32(ecx + 0x8); /* 0x2B070D56: mov edx, dword ptr [ecx + 8] */ 26247 eax = esi; /* 0x2B070D59: mov eax, esi */ 26248 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 26249 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 26250 eax = eax + edx; /* 0x2B070D5B: add eax, edx */ 26251 _flag_k = FK_ADD; 26252 PUSH32(esp, 0); /* 0x2B070D5D: push 0 */ 26253 PUSH32(esp, eax); /* 0x2B070D5F: push eax */ 26254 MEM32(ebp + (-0x18)) = eax; /* 0x2B070D60: mov dword ptr [ebp - 0x18], eax */ 26255 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070D63: call dword ptr [0x2b0b5154] */ 26256 RECOMP_FLAGS_IN(); 26257 /* test LO8(eax), LO8(eax) */ /* 0x2B070D69: test al, al */ 26258 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 26259 _cf = 0; 26260 _flag_k = FK_NARROW(FK_TEST, 24); 26261 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070D99; /* 0x2B070D6B: je 0x2b070d99 */ 26262 L_2B070D6D: 26263 edx = MEM32(ebp + (-0x14)); /* 0x2B070D6D: mov edx, dword ptr [ebp - 0x14] */ 26264 edi = MEM32(edx + 0x8); /* 0x2B070D70: mov edi, dword ptr [edx + 8] */ 26265 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 26266 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 26267 edi = edi + MEM32(edx + 0x4); /* 0x2B070D73: add edi, dword ptr [edx + 4] */ 26268 _flag_k = FK_ADD; 26269 ecx = esi; /* 0x2B070D76: mov ecx, esi */ 26270 eax = ecx; /* 0x2B070D78: mov eax, ecx */ 26271 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070D7A: shr ecx, 2 */ 26272 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 26273 ecx = ecx >> 2u; /* 0x2B070D7A: shr ecx, 2 */ 26274 esi = 0x2B0EB7B0u; /* 0x2B070D7D: mov esi, 0x2b0eb7b0 */ 26275 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070D82: 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; } 26276 ecx = eax; /* 0x2B070D84: mov ecx, eax */ 26277 eax = MEM32(ebp + (-0x18)); /* 0x2B070D86: mov eax, dword ptr [ebp - 0x18] */ 26278 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 26279 ecx = ecx & 3; /* 0x2B070D89: and ecx, 3 */ 26280 _cf = 0; 26281 _flag_k = FK_TEST; 26282 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070D8C: 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; } 26283 ecx = MEM32(edx + 0x4); /* 0x2B070D8E: mov ecx, dword ptr [edx + 4] */ 26284 MEM32(edx + 0x8) = eax; /* 0x2B070D91: mov dword ptr [edx + 8], eax */ 26285 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 26286 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 26287 eax = eax + ecx; /* 0x2B070D94: add eax, ecx */ 26288 _flag_k = FK_ADD; 26289 MEM8(eax) = (uint8_t)(0); /* 0x2B070D96: mov byte ptr [eax], 0 */ 26290 L_2B070D99: 26291 /* test MEM8(ebp + 0xC), 8 */ /* 0x2B070D99: test byte ptr [ebp + 0xc], 8 */ 26292 _flag_a = (uint32_t)(MEM8(ebp + 0xC)) << 24; _flag_b = (uint32_t)(8) << 24; 26293 _cf = 0; 26294 _flag_k = FK_NARROW(FK_TEST, 24); 26295 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E17; /* 0x2B070D9D: je 0x2b070e17 */ 26296 L_2B070D9F: 26297 edx = MEM32(ebx + 0x28); /* 0x2B070D9F: mov edx, dword ptr [ebx + 0x28] */ 26298 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 26299 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070DA2: or ecx, 0xffffffff */ 26300 _cf = 0; 26301 _flag_k = FK_TEST; 26302 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 26303 eax = 0; /* 0x2B070DA5: xor eax, eax */ 26304 _cf = 0; 26305 _flag_k = FK_TEST; 26306 edi = 0x2B0EB7A4u; /* 0x2B070DA7: mov edi, 0x2b0eb7a4 */ 26307 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; } /* 0x2B070DAC: repne scasb al, byte ptr es:[edi] */ 26308 edi = MEM32(edx + 0x8); /* 0x2B070DAE: mov edi, dword ptr [edx + 8] */ 26309 ecx = ~ecx; /* 0x2B070DB1: not ecx */ 26310 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 26311 ecx = ecx - 1; /* 0x2B070DB3: dec ecx */ 26312 _flag_k = FK_DEC; 26313 esi = ecx; /* 0x2B070DB4: mov esi, ecx */ 26314 ecx = MEM32(0x2B0B515C); /* 0x2B070DB6: mov ecx, dword ptr [0x2b0b515c] */ 26315 eax = MEM32(ecx); /* 0x2B070DBC: mov eax, dword ptr [ecx] */ 26316 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 26317 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26318 eax = eax - edi; /* 0x2B070DBE: sub eax, edi */ 26319 _flag_k = FK_CMP; 26320 /* cmp eax, esi */ /* 0x2B070DC0: cmp eax, esi */ 26321 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 26322 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26323 _flag_k = FK_CMP; 26324 MEM32(ebp + (-0x14)) = edx; /* 0x2B070DC2: mov dword ptr [ebp - 0x14], edx */ 26325 if (CMP_A(_flag_a, _flag_b)) goto L_2B070DCD; /* 0x2B070DC5: ja 0x2b070dcd */ 26326 L_2B070DC7: 26327 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070DC7: call dword ptr [0x2b0b51a8] */ 26328 RECOMP_FLAGS_IN(); 26329 L_2B070DCD: 26330 /* test esi, esi */ /* 0x2B070DCD: test esi, esi */ 26331 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 26332 _cf = 0; 26333 _flag_k = FK_TEST; 26334 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E17; /* 0x2B070DCF: jbe 0x2b070e17 */ 26335 L_2B070DD1: 26336 ecx = MEM32(ebp + (-0x14)); /* 0x2B070DD1: mov ecx, dword ptr [ebp - 0x14] */ 26337 edx = MEM32(ecx + 0x8); /* 0x2B070DD4: mov edx, dword ptr [ecx + 8] */ 26338 eax = esi; /* 0x2B070DD7: mov eax, esi */ 26339 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 26340 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 26341 eax = eax + edx; /* 0x2B070DD9: add eax, edx */ 26342 _flag_k = FK_ADD; 26343 PUSH32(esp, 0); /* 0x2B070DDB: push 0 */ 26344 PUSH32(esp, eax); /* 0x2B070DDD: push eax */ 26345 MEM32(ebp + (-0x18)) = eax; /* 0x2B070DDE: mov dword ptr [ebp - 0x18], eax */ 26346 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070DE1: call dword ptr [0x2b0b5154] */ 26347 RECOMP_FLAGS_IN(); 26348 /* test LO8(eax), LO8(eax) */ /* 0x2B070DE7: test al, al */ 26349 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 26350 _cf = 0; 26351 _flag_k = FK_NARROW(FK_TEST, 24); 26352 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E17; /* 0x2B070DE9: je 0x2b070e17 */ 26353 L_2B070DEB: 26354 edx = MEM32(ebp + (-0x14)); /* 0x2B070DEB: mov edx, dword ptr [ebp - 0x14] */ 26355 edi = MEM32(edx + 0x8); /* 0x2B070DEE: mov edi, dword ptr [edx + 8] */ 26356 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 26357 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 26358 edi = edi + MEM32(edx + 0x4); /* 0x2B070DF1: add edi, dword ptr [edx + 4] */ 26359 _flag_k = FK_ADD; 26360 ecx = esi; /* 0x2B070DF4: mov ecx, esi */ 26361 eax = ecx; /* 0x2B070DF6: mov eax, ecx */ 26362 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070DF8: shr ecx, 2 */ 26363 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 26364 ecx = ecx >> 2u; /* 0x2B070DF8: shr ecx, 2 */ 26365 esi = 0x2B0EB7A4u; /* 0x2B070DFB: mov esi, 0x2b0eb7a4 */ 26366 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070E00: 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; } 26367 ecx = eax; /* 0x2B070E02: mov ecx, eax */ 26368 eax = MEM32(ebp + (-0x18)); /* 0x2B070E04: mov eax, dword ptr [ebp - 0x18] */ 26369 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 26370 ecx = ecx & 3; /* 0x2B070E07: and ecx, 3 */ 26371 _cf = 0; 26372 _flag_k = FK_TEST; 26373 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070E0A: 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; } 26374 ecx = MEM32(edx + 0x4); /* 0x2B070E0C: mov ecx, dword ptr [edx + 4] */ 26375 MEM32(edx + 0x8) = eax; /* 0x2B070E0F: mov dword ptr [edx + 8], eax */ 26376 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 26377 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 26378 eax = eax + ecx; /* 0x2B070E12: add eax, ecx */ 26379 _flag_k = FK_ADD; 26380 MEM8(eax) = (uint8_t)(0); /* 0x2B070E14: mov byte ptr [eax], 0 */ 26381 L_2B070E17: 26382 /* test MEM8(ebp + 0xC), 0x10u */ /* 0x2B070E17: test byte ptr [ebp + 0xc], 0x10 */ 26383 _flag_a = (uint32_t)(MEM8(ebp + 0xC)) << 24; _flag_b = (uint32_t)(0x10u) << 24; 26384 _cf = 0; 26385 _flag_k = FK_NARROW(FK_TEST, 24); 26386 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070E1B: je 0x2b070e97 */ 26387 L_2B070E1D: 26388 edx = MEM32(ebx + 0x28); /* 0x2B070E1D: mov edx, dword ptr [ebx + 0x28] */ 26389 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 26390 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070E20: or ecx, 0xffffffff */ 26391 _cf = 0; 26392 _flag_k = FK_TEST; 26393 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 26394 eax = 0; /* 0x2B070E23: xor eax, eax */ 26395 _cf = 0; 26396 _flag_k = FK_TEST; 26397 edi = 0x2B0EB79Cu; /* 0x2B070E25: mov edi, 0x2b0eb79c */ 26398 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; } /* 0x2B070E2A: repne scasb al, byte ptr es:[edi] */ 26399 edi = MEM32(edx + 0x8); /* 0x2B070E2C: mov edi, dword ptr [edx + 8] */ 26400 ecx = ~ecx; /* 0x2B070E2F: not ecx */ 26401 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 26402 ecx = ecx - 1; /* 0x2B070E31: dec ecx */ 26403 _flag_k = FK_DEC; 26404 esi = ecx; /* 0x2B070E32: mov esi, ecx */ 26405 ecx = MEM32(0x2B0B515C); /* 0x2B070E34: mov ecx, dword ptr [0x2b0b515c] */ 26406 eax = MEM32(ecx); /* 0x2B070E3A: mov eax, dword ptr [ecx] */ 26407 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 26408 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26409 eax = eax - edi; /* 0x2B070E3C: sub eax, edi */ 26410 _flag_k = FK_CMP; 26411 /* cmp eax, esi */ /* 0x2B070E3E: cmp eax, esi */ 26412 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 26413 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26414 _flag_k = FK_CMP; 26415 MEM32(ebp + 0xC) = edx; /* 0x2B070E40: mov dword ptr [ebp + 0xc], edx */ 26416 if (CMP_A(_flag_a, _flag_b)) goto L_2B070E4E; /* 0x2B070E43: ja 0x2b070e4e */ 26417 L_2B070E45: 26418 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070E45: call dword ptr [0x2b0b51a8] */ 26419 RECOMP_FLAGS_IN(); 26420 edx = MEM32(ebp + 0xC); /* 0x2B070E4B: mov edx, dword ptr [ebp + 0xc] */ 26421 L_2B070E4E: 26422 /* test esi, esi */ /* 0x2B070E4E: test esi, esi */ 26423 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 26424 _cf = 0; 26425 _flag_k = FK_TEST; 26426 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070E50: jbe 0x2b070e97 */ 26427 L_2B070E52: 26428 edi = MEM32(edx + 0x8); /* 0x2B070E52: mov edi, dword ptr [edx + 8] */ 26429 eax = esi; /* 0x2B070E55: mov eax, esi */ 26430 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 26431 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 26432 eax = eax + edi; /* 0x2B070E57: add eax, edi */ 26433 _flag_k = FK_ADD; 26434 PUSH32(esp, 0); /* 0x2B070E59: push 0 */ 26435 PUSH32(esp, eax); /* 0x2B070E5B: push eax */ 26436 ecx = edx; /* 0x2B070E5C: mov ecx, edx */ 26437 MEM32(ebp + (-0x18)) = eax; /* 0x2B070E5E: mov dword ptr [ebp - 0x18], eax */ 26438 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070E61: call dword ptr [0x2b0b5154] */ 26439 RECOMP_FLAGS_IN(); 26440 /* test LO8(eax), LO8(eax) */ /* 0x2B070E67: test al, al */ 26441 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 26442 _cf = 0; 26443 _flag_k = FK_NARROW(FK_TEST, 24); 26444 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070E97; /* 0x2B070E69: je 0x2b070e97 */ 26445 L_2B070E6B: 26446 edx = MEM32(ebp + 0xC); /* 0x2B070E6B: mov edx, dword ptr [ebp + 0xc] */ 26447 ecx = MEM32(edx + 0x4); /* 0x2B070E6E: mov ecx, dword ptr [edx + 4] */ 26448 edi = MEM32(edx + 0x8); /* 0x2B070E71: mov edi, dword ptr [edx + 8] */ 26449 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 26450 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 26451 edi = edi + ecx; /* 0x2B070E74: add edi, ecx */ 26452 _flag_k = FK_ADD; 26453 ecx = esi; /* 0x2B070E76: mov ecx, esi */ 26454 eax = ecx; /* 0x2B070E78: mov eax, ecx */ 26455 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070E7A: shr ecx, 2 */ 26456 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 26457 ecx = ecx >> 2u; /* 0x2B070E7A: shr ecx, 2 */ 26458 esi = 0x2B0EB79Cu; /* 0x2B070E7D: mov esi, 0x2b0eb79c */ 26459 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070E82: 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; } 26460 ecx = eax; /* 0x2B070E84: mov ecx, eax */ 26461 eax = MEM32(ebp + (-0x18)); /* 0x2B070E86: mov eax, dword ptr [ebp - 0x18] */ 26462 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 26463 ecx = ecx & 3; /* 0x2B070E89: and ecx, 3 */ 26464 _cf = 0; 26465 _flag_k = FK_TEST; 26466 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070E8C: 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; } 26467 L_2B070E8E: 26468 MEM32(edx + 0x8) = eax; /* 0x2B070E8E: mov dword ptr [edx + 8], eax */ 26469 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 26470 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 26471 eax = eax + MEM32(edx + 0x4); /* 0x2B070E91: add eax, dword ptr [edx + 4] */ 26472 _flag_k = FK_ADD; 26473 MEM8(eax) = (uint8_t)(0); /* 0x2B070E94: mov byte ptr [eax], 0 */ 26474 L_2B070E97: 26475 SET_LO8(ecx, MEM8(ebp + 0xF)); /* 0x2B070E97: mov cl, byte ptr [ebp + 0xf] */ 26476 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 26477 edi = 0; /* 0x2B070E9A: xor edi, edi */ 26478 _cf = 0; 26479 _flag_k = FK_TEST; 26480 MEM8(ebp + (-0x44)) = (uint8_t)(LO8(ecx)); /* 0x2B070E9C: mov byte ptr [ebp - 0x44], cl */ 26481 PUSH32(esp, edi); /* 0x2B070E9F: push edi */ 26482 ecx = ebp + (-0x44); /* 0x2B070EA0: lea ecx, [ebp - 0x44] */ 26483 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B070EA3: call dword ptr [0x2b0b514c] */ 26484 RECOMP_FLAGS_IN(); 26485 MEM32(ebp + (-0x34)) = edi; /* 0x2B070EA9: mov dword ptr [ebp - 0x34], edi */ 26486 esi = MEM32(0x2B0B5D6C); /* 0x2B070EAC: mov esi, dword ptr [0x2b0b5d6c] */ 26487 MEM32(ebp + (-0x4)) = 1; /* 0x2B070EB2: mov dword ptr [ebp - 4], 1 */ 26488 MEM32(ebp + 0xC) = edi; /* 0x2B070EB9: mov dword ptr [ebp + 0xc], edi */ 26489 L_2B070EBC: 26490 edx = MEM32(ebp + 0xC); /* 0x2B070EBC: mov edx, dword ptr [ebp + 0xc] */ 26491 eax = MEM32(ebp + 0x8); /* 0x2B070EBF: mov eax, dword ptr [ebp + 8] */ 26492 PUSH32(esp, edx); /* 0x2B070EC2: push edx */ 26493 PUSH32(esp, eax); /* 0x2B070EC3: push eax */ 26494 RECOMP_ICALL(esi); /* 0x2B070EC4: call esi */ 26495 RECOMP_FLAGS_IN(); 26496 ecx = eax; /* 0x2B070EC6: mov ecx, eax */ 26497 RECOMP_ICALL(MEM32(0x2B0B5D80)); /* 0x2B070EC8: call dword ptr [0x2b0b5d80] */ 26498 RECOMP_FLAGS_IN(); 26499 /* cmp eax, edi */ /* 0x2B070ECE: cmp eax, edi */ 26500 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 26501 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26502 _flag_k = FK_CMP; 26503 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071042; /* 0x2B070ED0: je 0x2b071042 */ 26504 L_2B070ED6: 26505 PUSH32(esp, eax); /* 0x2B070ED6: push eax */ 26506 ecx = ebp + (-0x20); /* 0x2B070ED7: lea ecx, [ebp - 0x20] */ 26507 PUSH32(esp, ecx); /* 0x2B070EDA: push ecx */ 26508 MEM32(ebp + (-0x20)) = edi; /* 0x2B070EDB: mov dword ptr [ebp - 0x20], edi */ 26509 MEM32(ebp + (-0x1C)) = edi; /* 0x2B070EDE: mov dword ptr [ebp - 0x1c], edi */ 26510 RECOMP_ICALL(esi); /* 0x2B070EE1: call esi */ 26511 RECOMP_FLAGS_IN(); 26512 ecx = eax; /* 0x2B070EE3: mov ecx, eax */ 26513 RECOMP_ICALL(MEM32(0x2B0B5D4C)); /* 0x2B070EE5: call dword ptr [0x2b0b5d4c] */ 26514 RECOMP_FLAGS_IN(); 26515 /* test LO8(eax), LO8(eax) */ /* 0x2B070EEB: test al, al */ 26516 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 26517 _cf = 0; 26518 _flag_k = FK_NARROW(FK_TEST, 24); 26519 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07103A; /* 0x2B070EED: je 0x2b07103a */ 26520 L_2B070EF3: 26521 edx = ebp + (-0x20); /* 0x2B070EF3: lea edx, [ebp - 0x20] */ 26522 PUSH32(esp, 0x1Au); /* 0x2B070EF6: push 0x1a */ 26523 PUSH32(esp, edx); /* 0x2B070EF8: push edx */ 26524 RECOMP_ICALL(esi); /* 0x2B070EF9: call esi */ 26525 RECOMP_FLAGS_IN(); 26526 ecx = eax; /* 0x2B070EFB: mov ecx, eax */ 26527 RECOMP_ICALL(MEM32(0x2B0B5D84)); /* 0x2B070EFD: call dword ptr [0x2b0b5d84] */ 26528 RECOMP_FLAGS_IN(); 26529 /* cmp eax, edi */ /* 0x2B070F03: cmp eax, edi */ 26530 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 26531 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26532 _flag_k = FK_CMP; 26533 MEM32(ebp + (-0x14)) = eax; /* 0x2B070F05: mov dword ptr [ebp - 0x14], eax */ 26534 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07102C; /* 0x2B070F08: je 0x2b07102c */ 26535 L_2B070F0E: 26536 /* cmp MEM8(eax), 0 */ /* 0x2B070F0E: cmp byte ptr [eax], 0 */ 26537 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0) << 24; 26538 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26539 _flag_k = FK_NARROW(FK_CMP, 24); 26540 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07102C; /* 0x2B070F11: je 0x2b07102c */ 26541 L_2B070F17: 26542 eax = ebp + (-0x20); /* 0x2B070F17: lea eax, [ebp - 0x20] */ 26543 PUSH32(esp, eax); /* 0x2B070F1A: push eax */ 26544 RECOMP_ICALL(esi); /* 0x2B070F1B: call esi */ 26545 RECOMP_FLAGS_IN(); 26546 ecx = eax; /* 0x2B070F1D: mov ecx, eax */ 26547 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B070F1F: call dword ptr [0x2b0b5d50] */ 26548 RECOMP_FLAGS_IN(); 26549 ecx = ebp + (-0x44); /* 0x2B070F25: lea ecx, [ebp - 0x44] */ 26550 PUSH32(esp, ecx); /* 0x2B070F28: push ecx */ 26551 PUSH32(esp, eax); /* 0x2B070F29: push eax */ 26552 PUSH32(esp, 0x2B0EB790u); /* 0x2B070F2A: push 0x2b0eb790 */ 26553 ecx = ebx; /* 0x2B070F2F: mov ecx, ebx */ 26554 RECOMP_ICALL(0x2B073610u); /* 0x2B070F31: call 0x2b073610 */ /* not lifted */ 26555 RECOMP_FLAGS_IN(); 26556 edx = ebp + (-0x44); /* 0x2B070F36: lea edx, [ebp - 0x44] */ 26557 PUSH32(esp, edx); /* 0x2B070F39: push edx */ 26558 eax = ebp + (-0x20); /* 0x2B070F3A: lea eax, [ebp - 0x20] */ 26559 PUSH32(esp, eax); /* 0x2B070F3D: push eax */ 26560 ecx = ebx; /* 0x2B070F3E: mov ecx, ebx */ 26561 RECOMP_ICALL(0x2B074770u); /* 0x2B070F40: call 0x2b074770 */ /* not lifted */ 26562 RECOMP_FLAGS_IN(); 26563 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 26564 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070F45: or ecx, 0xffffffff */ 26565 _cf = 0; 26566 _flag_k = FK_TEST; 26567 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 26568 eax = 0; /* 0x2B070F48: xor eax, eax */ 26569 _cf = 0; 26570 _flag_k = FK_TEST; 26571 edi = 0x2B0E2BF8u; /* 0x2B070F4A: mov edi, 0x2b0e2bf8 */ 26572 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; } /* 0x2B070F4F: repne scasb al, byte ptr es:[edi] */ 26573 ecx = ~ecx; /* 0x2B070F51: not ecx */ 26574 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 26575 ecx = ecx - 1; /* 0x2B070F53: dec ecx */ 26576 _flag_k = FK_DEC; 26577 edi = ecx; /* 0x2B070F54: mov edi, ecx */ 26578 ecx = MEM32(0x2B0B515C); /* 0x2B070F56: mov ecx, dword ptr [0x2b0b515c] */ 26579 edx = MEM32(ecx); /* 0x2B070F5C: mov edx, dword ptr [ecx] */ 26580 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + (-0x3C))); 26581 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26582 edx = edx - MEM32(ebp + (-0x3C)); /* 0x2B070F5E: sub edx, dword ptr [ebp - 0x3c] */ 26583 _flag_k = FK_CMP; 26584 /* cmp edx, edi */ /* 0x2B070F61: cmp edx, edi */ 26585 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 26586 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26587 _flag_k = FK_CMP; 26588 if (CMP_A(_flag_a, _flag_b)) goto L_2B070F6B; /* 0x2B070F63: ja 0x2b070f6b */ 26589 L_2B070F65: 26590 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070F65: call dword ptr [0x2b0b51a8] */ 26591 RECOMP_FLAGS_IN(); 26592 L_2B070F6B: 26593 /* test edi, edi */ /* 0x2B070F6B: test edi, edi */ 26594 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 26595 _cf = 0; 26596 _flag_k = FK_TEST; 26597 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070FB8; /* 0x2B070F6D: jbe 0x2b070fb8 */ 26598 L_2B070F6F: 26599 eax = MEM32(ebp + (-0x3C)); /* 0x2B070F6F: mov eax, dword ptr [ebp - 0x3c] */ 26600 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 26601 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 26602 eax = eax + edi; /* 0x2B070F72: add eax, edi */ 26603 _flag_k = FK_ADD; 26604 PUSH32(esp, 0); /* 0x2B070F74: push 0 */ 26605 PUSH32(esp, eax); /* 0x2B070F76: push eax */ 26606 ecx = ebp + (-0x44); /* 0x2B070F77: lea ecx, [ebp - 0x44] */ 26607 MEM32(ebp + (-0x18)) = eax; /* 0x2B070F7A: mov dword ptr [ebp - 0x18], eax */ 26608 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070F7D: call dword ptr [0x2b0b5154] */ 26609 RECOMP_FLAGS_IN(); 26610 /* test LO8(eax), LO8(eax) */ /* 0x2B070F83: test al, al */ 26611 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 26612 _cf = 0; 26613 _flag_k = FK_NARROW(FK_TEST, 24); 26614 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070FB8; /* 0x2B070F85: je 0x2b070fb8 */ 26615 L_2B070F87: 26616 eax = MEM32(ebp + (-0x3C)); /* 0x2B070F87: mov eax, dword ptr [ebp - 0x3c] */ 26617 edx = MEM32(ebp + (-0x40)); /* 0x2B070F8A: mov edx, dword ptr [ebp - 0x40] */ 26618 ecx = edi; /* 0x2B070F8D: mov ecx, edi */ 26619 edi = eax + edx; /* 0x2B070F8F: lea edi, [eax + edx] */ 26620 eax = MEM32(ebp + (-0x18)); /* 0x2B070F92: mov eax, dword ptr [ebp - 0x18] */ 26621 edx = ecx; /* 0x2B070F95: mov edx, ecx */ 26622 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070F97: shr ecx, 2 */ 26623 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 26624 ecx = ecx >> 2u; /* 0x2B070F97: shr ecx, 2 */ 26625 esi = 0x2B0E2BF8u; /* 0x2B070F9A: mov esi, 0x2b0e2bf8 */ 26626 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070F9F: 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; } 26627 ecx = edx; /* 0x2B070FA1: mov ecx, edx */ 26628 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 26629 ecx = ecx & 3; /* 0x2B070FA3: and ecx, 3 */ 26630 _cf = 0; 26631 _flag_k = FK_TEST; 26632 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070FA6: 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; } 26633 ecx = MEM32(ebp + (-0x40)); /* 0x2B070FA8: mov ecx, dword ptr [ebp - 0x40] */ 26634 esi = MEM32(0x2B0B5D6C); /* 0x2B070FAB: mov esi, dword ptr [0x2b0b5d6c] */ 26635 MEM32(ebp + (-0x3C)) = eax; /* 0x2B070FB1: mov dword ptr [ebp - 0x3c], eax */ 26636 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B070FB4: mov byte ptr [ecx + eax], 0 */ 26637 L_2B070FB8: 26638 edi = MEM32(ebp + (-0x14)); /* 0x2B070FB8: mov edi, dword ptr [ebp - 0x14] */ 26639 edx = MEM32(0x2B0B515C); /* 0x2B070FBB: mov edx, dword ptr [0x2b0b515c] */ 26640 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 26641 eax = 0; /* 0x2B070FC1: xor eax, eax */ 26642 _cf = 0; 26643 _flag_k = FK_TEST; 26644 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 26645 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070FC3: or ecx, 0xffffffff */ 26646 _cf = 0; 26647 _flag_k = FK_TEST; 26648 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; } /* 0x2B070FC6: repne scasb al, byte ptr es:[edi] */ 26649 eax = MEM32(edx); /* 0x2B070FC8: mov eax, dword ptr [edx] */ 26650 edx = MEM32(ebp + (-0x3C)); /* 0x2B070FCA: mov edx, dword ptr [ebp - 0x3c] */ 26651 ecx = ~ecx; /* 0x2B070FCD: not ecx */ 26652 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 26653 ecx = ecx - 1; /* 0x2B070FCF: dec ecx */ 26654 _flag_k = FK_DEC; 26655 edi = ecx; /* 0x2B070FD0: mov edi, ecx */ 26656 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 26657 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26658 eax = eax - edx; /* 0x2B070FD2: sub eax, edx */ 26659 _flag_k = FK_CMP; 26660 /* cmp eax, edi */ /* 0x2B070FD4: cmp eax, edi */ 26661 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 26662 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26663 _flag_k = FK_CMP; 26664 if (CMP_A(_flag_a, _flag_b)) goto L_2B070FDE; /* 0x2B070FD6: ja 0x2b070fde */ 26665 L_2B070FD8: 26666 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070FD8: call dword ptr [0x2b0b51a8] */ 26667 RECOMP_FLAGS_IN(); 26668 L_2B070FDE: 26669 /* test edi, edi */ /* 0x2B070FDE: test edi, edi */ 26670 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 26671 _cf = 0; 26672 _flag_k = FK_TEST; 26673 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07102A; /* 0x2B070FE0: jbe 0x2b07102a */ 26674 L_2B070FE2: 26675 ecx = MEM32(ebp + (-0x3C)); /* 0x2B070FE2: mov ecx, dword ptr [ebp - 0x3c] */ 26676 eax = ecx + edi; /* 0x2B070FE5: lea eax, [ecx + edi] */ 26677 PUSH32(esp, 0); /* 0x2B070FE8: push 0 */ 26678 PUSH32(esp, eax); /* 0x2B070FEA: push eax */ 26679 ecx = ebp + (-0x44); /* 0x2B070FEB: lea ecx, [ebp - 0x44] */ 26680 MEM32(ebp + (-0x18)) = eax; /* 0x2B070FEE: mov dword ptr [ebp - 0x18], eax */ 26681 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070FF1: call dword ptr [0x2b0b5154] */ 26682 RECOMP_FLAGS_IN(); 26683 /* test LO8(eax), LO8(eax) */ /* 0x2B070FF7: test al, al */ 26684 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 26685 _cf = 0; 26686 _flag_k = FK_NARROW(FK_TEST, 24); 26687 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07102A; /* 0x2B070FF9: je 0x2b07102a */ 26688 L_2B070FFB: 26689 eax = MEM32(ebp + (-0x3C)); /* 0x2B070FFB: mov eax, dword ptr [ebp - 0x3c] */ 26690 edx = MEM32(ebp + (-0x40)); /* 0x2B070FFE: mov edx, dword ptr [ebp - 0x40] */ 26691 esi = MEM32(ebp + (-0x14)); /* 0x2B071001: mov esi, dword ptr [ebp - 0x14] */ 26692 ecx = edi; /* 0x2B071004: mov ecx, edi */ 26693 edi = eax + edx; /* 0x2B071006: lea edi, [eax + edx] */ 26694 eax = MEM32(ebp + (-0x18)); /* 0x2B071009: mov eax, dword ptr [ebp - 0x18] */ 26695 edx = ecx; /* 0x2B07100C: mov edx, ecx */ 26696 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07100E: shr ecx, 2 */ 26697 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 26698 ecx = ecx >> 2u; /* 0x2B07100E: shr ecx, 2 */ 26699 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071011: 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; } 26700 ecx = edx; /* 0x2B071013: mov ecx, edx */ 26701 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 26702 ecx = ecx & 3; /* 0x2B071015: and ecx, 3 */ 26703 _cf = 0; 26704 _flag_k = FK_TEST; 26705 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071018: 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; } 26706 ecx = MEM32(ebp + (-0x40)); /* 0x2B07101A: mov ecx, dword ptr [ebp - 0x40] */ 26707 esi = MEM32(0x2B0B5D6C); /* 0x2B07101D: mov esi, dword ptr [0x2b0b5d6c] */ 26708 MEM32(ebp + (-0x3C)) = eax; /* 0x2B071023: mov dword ptr [ebp - 0x3c], eax */ 26709 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B071026: mov byte ptr [ecx + eax], 0 */ 26710 L_2B07102A: 26711 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 26712 edi = 0; /* 0x2B07102A: xor edi, edi */ 26713 _cf = 0; 26714 _flag_k = FK_TEST; 26715 L_2B07102C: 26716 edx = ebp + (-0x20); /* 0x2B07102C: lea edx, [ebp - 0x20] */ 26717 PUSH32(esp, edx); /* 0x2B07102F: push edx */ 26718 RECOMP_ICALL(esi); /* 0x2B071030: call esi */ 26719 RECOMP_FLAGS_IN(); 26720 ecx = eax; /* 0x2B071032: mov ecx, eax */ 26721 RECOMP_ICALL(MEM32(0x2B0B5D54)); /* 0x2B071034: call dword ptr [0x2b0b5d54] */ 26722 RECOMP_FLAGS_IN(); 26723 L_2B07103A: 26724 _flag_a = (uint32_t)(MEM32(ebp + 0xC)); _flag_b = (uint32_t)(1); 26725 MEM32(ebp + 0xC) = MEM32(ebp + 0xC) + 1; /* 0x2B07103A: inc dword ptr [ebp + 0xc] */ 26726 _flag_k = FK_INC; 26727 RECOMP_BACKEDGE(); 26728 goto L_2B070EBC; /* 0x2B07103D: jmp 0x2b070ebc */ 26729 L_2B071042: 26730 /* cmp MEM32(ebp + (-0x3C)), edi */ /* 0x2B071042: cmp dword ptr [ebp - 0x3c], edi */ 26731 _flag_a = (uint32_t)(MEM32(ebp + (-0x3C))); _flag_b = (uint32_t)(edi); 26732 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26733 _flag_k = FK_CMP; 26734 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071064; /* 0x2B071045: je 0x2b071064 */ 26735 L_2B071047: 26736 eax = MEM32(ebp + (-0x40)); /* 0x2B071047: mov eax, dword ptr [ebp - 0x40] */ 26737 /* cmp eax, edi */ /* 0x2B07104A: cmp eax, edi */ 26738 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 26739 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26740 _flag_k = FK_CMP; 26741 if (CMP_NE(_flag_a, _flag_b)) goto L_2B071053; /* 0x2B07104C: jne 0x2b071053 */ 26742 L_2B07104E: 26743 eax = MEM32(0x2B0B513C); /* 0x2B07104E: mov eax, dword ptr [0x2b0b513c] */ 26744 L_2B071053: 26745 ecx = MEM32(ebx + 0x28); /* 0x2B071053: mov ecx, dword ptr [ebx + 0x28] */ 26746 PUSH32(esp, ecx); /* 0x2B071056: push ecx */ 26747 PUSH32(esp, eax); /* 0x2B071057: push eax */ 26748 PUSH32(esp, 0x2B0EB770u); /* 0x2B071058: push 0x2b0eb770 */ 26749 ecx = ebx; /* 0x2B07105D: mov ecx, ebx */ 26750 RECOMP_ICALL(0x2B073610u); /* 0x2B07105F: call 0x2b073610 */ /* not lifted */ 26751 RECOMP_FLAGS_IN(); 26752 L_2B071064: 26753 eax = MEM32(ebp + (-0x34)); /* 0x2B071064: mov eax, dword ptr [ebp - 0x34] */ 26754 /* cmp eax, edi */ /* 0x2B071067: cmp eax, edi */ 26755 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 26756 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26757 _flag_k = FK_CMP; 26758 MEM32(ebp + (-0x4)) = 2; /* 0x2B071069: mov dword ptr [ebp - 4], 2 */ 26759 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710D2; /* 0x2B071070: je 0x2b0710d2 */ 26760 L_2B071072: 26761 edx = MEM32(eax + 0x2C); /* 0x2B071072: mov edx, dword ptr [eax + 0x2c] */ 26762 edi = eax; /* 0x2B071075: mov edi, eax */ 26763 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 26764 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 26765 eax = eax + 0x2Cu; /* 0x2B071077: add eax, 0x2c */ 26766 _flag_k = FK_ADD; 26767 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 26768 edx = edx - 1; /* 0x2B07107A: dec edx */ 26769 _flag_k = FK_DEC; 26770 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 26771 esi = 0; /* 0x2B07107B: xor esi, esi */ 26772 _cf = 0; 26773 _flag_k = FK_TEST; 26774 ecx = edx; /* 0x2B07107D: mov ecx, edx */ 26775 /* cmp ecx, esi */ /* 0x2B07107F: cmp ecx, esi */ 26776 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 26777 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26778 _flag_k = FK_CMP; 26779 MEM32(eax) = edx; /* 0x2B071081: mov dword ptr [eax], edx */ 26780 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0710D4; /* 0x2B071083: jne 0x2b0710d4 */ 26781 L_2B071085: 26782 /* cmp edi, esi */ /* 0x2B071085: cmp edi, esi */ 26783 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 26784 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26785 _flag_k = FK_CMP; 26786 MEM32(ebp + 0xC) = edi; /* 0x2B071087: mov dword ptr [ebp + 0xc], edi */ 26787 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710D4; /* 0x2B07108A: je 0x2b0710d4 */ 26788 L_2B07108C: 26789 PUSH32(esp, 1); /* 0x2B07108C: push 1 */ 26790 ecx = edi + 0x1C; /* 0x2B07108E: lea ecx, [edi + 0x1c] */ 26791 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B071091: mov byte ptr [ebp - 4], 3 */ 26792 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B071095: call dword ptr [0x2b0b514c] */ 26793 RECOMP_FLAGS_IN(); 26794 eax = MEM32(edi + 0x10); /* 0x2B07109B: mov eax, dword ptr [edi + 0x10] */ 26795 /* cmp eax, esi */ /* 0x2B07109E: cmp eax, esi */ 26796 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 26797 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26798 _flag_k = FK_CMP; 26799 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710BE; /* 0x2B0710A0: je 0x2b0710be */ 26800 L_2B0710A2: 26801 ecx = eax + (-0x1); /* 0x2B0710A2: lea ecx, [eax - 1] */ 26802 SET_LO8(eax, MEM8(ecx)); /* 0x2B0710A5: mov al, byte ptr [ecx] */ 26803 /* test LO8(eax), LO8(eax) */ /* 0x2B0710A7: test al, al */ 26804 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 26805 _cf = 0; 26806 _flag_k = FK_NARROW(FK_TEST, 24); 26807 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0710B5; /* 0x2B0710A9: je 0x2b0710b5 */ 26808 L_2B0710AB: 26809 /* cmp LO8(eax), 0xFFu */ /* 0x2B0710AB: cmp al, 0xff */ 26810 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 26811 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26812 _flag_k = FK_NARROW(FK_CMP, 24); 26813 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710B5; /* 0x2B0710AD: je 0x2b0710b5 */ 26814 L_2B0710AF: 26815 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 26816 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0710AF: dec al */ 26817 _flag_k = FK_NARROW(FK_DEC, 24); 26818 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B0710B1: mov byte ptr [ecx], al */ 26819 goto L_2B0710BE; /* 0x2B0710B3: jmp 0x2b0710be */ 26820 L_2B0710B5: 26821 PUSH32(esp, ecx); /* 0x2B0710B5: push ecx */ 26822 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0710B6: call 0x2b0ab1ba */ /* not lifted */ 26823 RECOMP_FLAGS_IN(); 26824 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 26825 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 26826 esp = esp + 4; /* 0x2B0710BB: add esp, 4 */ 26827 _flag_k = FK_ADD; 26828 L_2B0710BE: 26829 PUSH32(esp, edi); /* 0x2B0710BE: push edi */ 26830 MEM32(edi + 0x10) = esi; /* 0x2B0710BF: mov dword ptr [edi + 0x10], esi */ 26831 MEM32(edi + 0x14) = esi; /* 0x2B0710C2: mov dword ptr [edi + 0x14], esi */ 26832 MEM32(edi + 0x18) = esi; /* 0x2B0710C5: mov dword ptr [edi + 0x18], esi */ 26833 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0710C8: call 0x2b0ab1ba */ /* not lifted */ 26834 RECOMP_FLAGS_IN(); 26835 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 26836 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 26837 esp = esp + 4; /* 0x2B0710CD: add esp, 4 */ 26838 _flag_k = FK_ADD; 26839 goto L_2B0710D4; /* 0x2B0710D0: jmp 0x2b0710d4 */ 26840 L_2B0710D2: 26841 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 26842 esi = 0; /* 0x2B0710D2: xor esi, esi */ 26843 _cf = 0; 26844 _flag_k = FK_TEST; 26845 L_2B0710D4: 26846 ecx = MEM32(ebp + (-0x40)); /* 0x2B0710D4: mov ecx, dword ptr [ebp - 0x40] */ 26847 /* cmp ecx, esi */ /* 0x2B0710D7: cmp ecx, esi */ 26848 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 26849 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26850 _flag_k = FK_CMP; 26851 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071108; /* 0x2B0710D9: je 0x2b071108 */ 26852 L_2B0710DB: 26853 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B0710DB: mov al, byte ptr [ecx - 1] */ 26854 /* test LO8(eax), LO8(eax) */ /* 0x2B0710DE: test al, al */ 26855 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 26856 _cf = 0; 26857 _flag_k = FK_NARROW(FK_TEST, 24); 26858 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0710FE; /* 0x2B0710E0: je 0x2b0710fe */ 26859 L_2B0710E2: 26860 /* cmp LO8(eax), 0xFFu */ /* 0x2B0710E2: cmp al, 0xff */ 26861 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 26862 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26863 _flag_k = FK_NARROW(FK_CMP, 24); 26864 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710FE; /* 0x2B0710E4: je 0x2b0710fe */ 26865 L_2B0710E6: 26866 edi = POP32_VAL(esp); /* 0x2B0710E6: pop edi */ 26867 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 26868 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0710E7: dec al */ 26869 _flag_k = FK_NARROW(FK_DEC, 24); 26870 esi = POP32_VAL(esp); /* 0x2B0710E9: pop esi */ 26871 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B0710EA: mov byte ptr [ecx - 1], al */ 26872 ebx = POP32_VAL(esp); /* 0x2B0710ED: pop ebx */ 26873 ecx = MEM32(ebp + (-0xC)); /* 0x2B0710EE: mov ecx, dword ptr [ebp - 0xc] */ 26874 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0710F1: mov dword ptr fs:[0], ecx */ 26875 esp = ebp; /* 0x2B0710F8: mov esp, ebp */ 26876 ebp = POP32_VAL(esp); /* 0x2B0710FA: pop ebp */ 26877 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0710FB: ret 8 */ 26878 L_2B0710FE: 26879 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 26880 ecx = ecx - 1; /* 0x2B0710FE: dec ecx */ 26881 _flag_k = FK_DEC; 26882 PUSH32(esp, ecx); /* 0x2B0710FF: push ecx */ 26883 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B071100: call 0x2b0ab1ba */ /* not lifted */ 26884 RECOMP_FLAGS_IN(); 26885 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 26886 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 26887 esp = esp + 4; /* 0x2B071105: add esp, 4 */ 26888 _flag_k = FK_ADD; 26889 L_2B071108: 26890 ecx = MEM32(ebp + (-0xC)); /* 0x2B071108: mov ecx, dword ptr [ebp - 0xc] */ 26891 edi = POP32_VAL(esp); /* 0x2B07110B: pop edi */ 26892 esi = POP32_VAL(esp); /* 0x2B07110C: pop esi */ 26893 ebx = POP32_VAL(esp); /* 0x2B07110D: pop ebx */ 26894 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07110E: mov dword ptr fs:[0], ecx */ 26895 esp = ebp; /* 0x2B071115: mov esp, ebp */ 26896 ebp = POP32_VAL(esp); /* 0x2B071117: pop ebp */ 26897 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B071118: ret 8 */ 26898 RECOMP_REGS_OUT(); 26899 } 26900 26901 void sub_2B070E8E(void) { 26902 int _fpu_cmp = 0; 26903 uint32_t _cf = 0; 26904 int _df = 1; 26905 uint32_t _flag_k = FK_NONE; 26906 uint32_t _flag_a = 0, _flag_b = 0; 26907 uint32_t _itail_tgt = 0; 26908 RECOMP_REGS_LOCALS 26909 RECOMP_ENTER(0x2B070E8Eu); 26910 26911 L_2B070E8E: 26912 MEM32(edx + 0x8) = eax; /* 0x2B070E8E: mov dword ptr [edx + 8], eax */ 26913 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 26914 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 26915 eax = eax + MEM32(edx + 0x4); /* 0x2B070E91: add eax, dword ptr [edx + 4] */ 26916 _flag_k = FK_ADD; 26917 MEM8(eax) = (uint8_t)(0); /* 0x2B070E94: mov byte ptr [eax], 0 */ 26918 SET_LO8(ecx, MEM8(ebp + 0xF)); /* 0x2B070E97: mov cl, byte ptr [ebp + 0xf] */ 26919 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 26920 edi = 0; /* 0x2B070E9A: xor edi, edi */ 26921 _cf = 0; 26922 _flag_k = FK_TEST; 26923 MEM8(ebp + (-0x44)) = (uint8_t)(LO8(ecx)); /* 0x2B070E9C: mov byte ptr [ebp - 0x44], cl */ 26924 PUSH32(esp, edi); /* 0x2B070E9F: push edi */ 26925 ecx = ebp + (-0x44); /* 0x2B070EA0: lea ecx, [ebp - 0x44] */ 26926 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B070EA3: call dword ptr [0x2b0b514c] */ 26927 RECOMP_FLAGS_IN(); 26928 MEM32(ebp + (-0x34)) = edi; /* 0x2B070EA9: mov dword ptr [ebp - 0x34], edi */ 26929 esi = MEM32(0x2B0B5D6C); /* 0x2B070EAC: mov esi, dword ptr [0x2b0b5d6c] */ 26930 MEM32(ebp + (-0x4)) = 1; /* 0x2B070EB2: mov dword ptr [ebp - 4], 1 */ 26931 MEM32(ebp + 0xC) = edi; /* 0x2B070EB9: mov dword ptr [ebp + 0xc], edi */ 26932 L_2B070EBC: 26933 edx = MEM32(ebp + 0xC); /* 0x2B070EBC: mov edx, dword ptr [ebp + 0xc] */ 26934 eax = MEM32(ebp + 0x8); /* 0x2B070EBF: mov eax, dword ptr [ebp + 8] */ 26935 PUSH32(esp, edx); /* 0x2B070EC2: push edx */ 26936 PUSH32(esp, eax); /* 0x2B070EC3: push eax */ 26937 RECOMP_ICALL(esi); /* 0x2B070EC4: call esi */ 26938 RECOMP_FLAGS_IN(); 26939 ecx = eax; /* 0x2B070EC6: mov ecx, eax */ 26940 RECOMP_ICALL(MEM32(0x2B0B5D80)); /* 0x2B070EC8: call dword ptr [0x2b0b5d80] */ 26941 RECOMP_FLAGS_IN(); 26942 /* cmp eax, edi */ /* 0x2B070ECE: cmp eax, edi */ 26943 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 26944 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26945 _flag_k = FK_CMP; 26946 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071042; /* 0x2B070ED0: je 0x2b071042 */ 26947 L_2B070ED6: 26948 PUSH32(esp, eax); /* 0x2B070ED6: push eax */ 26949 ecx = ebp + (-0x20); /* 0x2B070ED7: lea ecx, [ebp - 0x20] */ 26950 PUSH32(esp, ecx); /* 0x2B070EDA: push ecx */ 26951 MEM32(ebp + (-0x20)) = edi; /* 0x2B070EDB: mov dword ptr [ebp - 0x20], edi */ 26952 MEM32(ebp + (-0x1C)) = edi; /* 0x2B070EDE: mov dword ptr [ebp - 0x1c], edi */ 26953 RECOMP_ICALL(esi); /* 0x2B070EE1: call esi */ 26954 RECOMP_FLAGS_IN(); 26955 ecx = eax; /* 0x2B070EE3: mov ecx, eax */ 26956 RECOMP_ICALL(MEM32(0x2B0B5D4C)); /* 0x2B070EE5: call dword ptr [0x2b0b5d4c] */ 26957 RECOMP_FLAGS_IN(); 26958 /* test LO8(eax), LO8(eax) */ /* 0x2B070EEB: test al, al */ 26959 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 26960 _cf = 0; 26961 _flag_k = FK_NARROW(FK_TEST, 24); 26962 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07103A; /* 0x2B070EED: je 0x2b07103a */ 26963 L_2B070EF3: 26964 edx = ebp + (-0x20); /* 0x2B070EF3: lea edx, [ebp - 0x20] */ 26965 PUSH32(esp, 0x1Au); /* 0x2B070EF6: push 0x1a */ 26966 PUSH32(esp, edx); /* 0x2B070EF8: push edx */ 26967 RECOMP_ICALL(esi); /* 0x2B070EF9: call esi */ 26968 RECOMP_FLAGS_IN(); 26969 ecx = eax; /* 0x2B070EFB: mov ecx, eax */ 26970 RECOMP_ICALL(MEM32(0x2B0B5D84)); /* 0x2B070EFD: call dword ptr [0x2b0b5d84] */ 26971 RECOMP_FLAGS_IN(); 26972 /* cmp eax, edi */ /* 0x2B070F03: cmp eax, edi */ 26973 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 26974 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26975 _flag_k = FK_CMP; 26976 MEM32(ebp + (-0x14)) = eax; /* 0x2B070F05: mov dword ptr [ebp - 0x14], eax */ 26977 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07102C; /* 0x2B070F08: je 0x2b07102c */ 26978 L_2B070F0E: 26979 /* cmp MEM8(eax), 0 */ /* 0x2B070F0E: cmp byte ptr [eax], 0 */ 26980 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0) << 24; 26981 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26982 _flag_k = FK_NARROW(FK_CMP, 24); 26983 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07102C; /* 0x2B070F11: je 0x2b07102c */ 26984 L_2B070F17: 26985 eax = ebp + (-0x20); /* 0x2B070F17: lea eax, [ebp - 0x20] */ 26986 PUSH32(esp, eax); /* 0x2B070F1A: push eax */ 26987 RECOMP_ICALL(esi); /* 0x2B070F1B: call esi */ 26988 RECOMP_FLAGS_IN(); 26989 ecx = eax; /* 0x2B070F1D: mov ecx, eax */ 26990 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B070F1F: call dword ptr [0x2b0b5d50] */ 26991 RECOMP_FLAGS_IN(); 26992 ecx = ebp + (-0x44); /* 0x2B070F25: lea ecx, [ebp - 0x44] */ 26993 PUSH32(esp, ecx); /* 0x2B070F28: push ecx */ 26994 PUSH32(esp, eax); /* 0x2B070F29: push eax */ 26995 PUSH32(esp, 0x2B0EB790u); /* 0x2B070F2A: push 0x2b0eb790 */ 26996 ecx = ebx; /* 0x2B070F2F: mov ecx, ebx */ 26997 RECOMP_ICALL(0x2B073610u); /* 0x2B070F31: call 0x2b073610 */ /* not lifted */ 26998 RECOMP_FLAGS_IN(); 26999 edx = ebp + (-0x44); /* 0x2B070F36: lea edx, [ebp - 0x44] */ 27000 PUSH32(esp, edx); /* 0x2B070F39: push edx */ 27001 eax = ebp + (-0x20); /* 0x2B070F3A: lea eax, [ebp - 0x20] */ 27002 PUSH32(esp, eax); /* 0x2B070F3D: push eax */ 27003 ecx = ebx; /* 0x2B070F3E: mov ecx, ebx */ 27004 RECOMP_ICALL(0x2B074770u); /* 0x2B070F40: call 0x2b074770 */ /* not lifted */ 27005 RECOMP_FLAGS_IN(); 27006 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 27007 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070F45: or ecx, 0xffffffff */ 27008 _cf = 0; 27009 _flag_k = FK_TEST; 27010 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 27011 eax = 0; /* 0x2B070F48: xor eax, eax */ 27012 _cf = 0; 27013 _flag_k = FK_TEST; 27014 edi = 0x2B0E2BF8u; /* 0x2B070F4A: mov edi, 0x2b0e2bf8 */ 27015 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; } /* 0x2B070F4F: repne scasb al, byte ptr es:[edi] */ 27016 ecx = ~ecx; /* 0x2B070F51: not ecx */ 27017 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 27018 ecx = ecx - 1; /* 0x2B070F53: dec ecx */ 27019 _flag_k = FK_DEC; 27020 edi = ecx; /* 0x2B070F54: mov edi, ecx */ 27021 ecx = MEM32(0x2B0B515C); /* 0x2B070F56: mov ecx, dword ptr [0x2b0b515c] */ 27022 edx = MEM32(ecx); /* 0x2B070F5C: mov edx, dword ptr [ecx] */ 27023 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + (-0x3C))); 27024 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27025 edx = edx - MEM32(ebp + (-0x3C)); /* 0x2B070F5E: sub edx, dword ptr [ebp - 0x3c] */ 27026 _flag_k = FK_CMP; 27027 /* cmp edx, edi */ /* 0x2B070F61: cmp edx, edi */ 27028 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 27029 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27030 _flag_k = FK_CMP; 27031 if (CMP_A(_flag_a, _flag_b)) goto L_2B070F6B; /* 0x2B070F63: ja 0x2b070f6b */ 27032 L_2B070F65: 27033 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070F65: call dword ptr [0x2b0b51a8] */ 27034 RECOMP_FLAGS_IN(); 27035 L_2B070F6B: 27036 /* test edi, edi */ /* 0x2B070F6B: test edi, edi */ 27037 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 27038 _cf = 0; 27039 _flag_k = FK_TEST; 27040 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070FB8; /* 0x2B070F6D: jbe 0x2b070fb8 */ 27041 L_2B070F6F: 27042 eax = MEM32(ebp + (-0x3C)); /* 0x2B070F6F: mov eax, dword ptr [ebp - 0x3c] */ 27043 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 27044 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 27045 eax = eax + edi; /* 0x2B070F72: add eax, edi */ 27046 _flag_k = FK_ADD; 27047 PUSH32(esp, 0); /* 0x2B070F74: push 0 */ 27048 PUSH32(esp, eax); /* 0x2B070F76: push eax */ 27049 ecx = ebp + (-0x44); /* 0x2B070F77: lea ecx, [ebp - 0x44] */ 27050 MEM32(ebp + (-0x18)) = eax; /* 0x2B070F7A: mov dword ptr [ebp - 0x18], eax */ 27051 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070F7D: call dword ptr [0x2b0b5154] */ 27052 RECOMP_FLAGS_IN(); 27053 /* test LO8(eax), LO8(eax) */ /* 0x2B070F83: test al, al */ 27054 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 27055 _cf = 0; 27056 _flag_k = FK_NARROW(FK_TEST, 24); 27057 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070FB8; /* 0x2B070F85: je 0x2b070fb8 */ 27058 L_2B070F87: 27059 eax = MEM32(ebp + (-0x3C)); /* 0x2B070F87: mov eax, dword ptr [ebp - 0x3c] */ 27060 edx = MEM32(ebp + (-0x40)); /* 0x2B070F8A: mov edx, dword ptr [ebp - 0x40] */ 27061 ecx = edi; /* 0x2B070F8D: mov ecx, edi */ 27062 edi = eax + edx; /* 0x2B070F8F: lea edi, [eax + edx] */ 27063 eax = MEM32(ebp + (-0x18)); /* 0x2B070F92: mov eax, dword ptr [ebp - 0x18] */ 27064 edx = ecx; /* 0x2B070F95: mov edx, ecx */ 27065 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070F97: shr ecx, 2 */ 27066 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 27067 ecx = ecx >> 2u; /* 0x2B070F97: shr ecx, 2 */ 27068 esi = 0x2B0E2BF8u; /* 0x2B070F9A: mov esi, 0x2b0e2bf8 */ 27069 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070F9F: 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; } 27070 ecx = edx; /* 0x2B070FA1: mov ecx, edx */ 27071 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 27072 ecx = ecx & 3; /* 0x2B070FA3: and ecx, 3 */ 27073 _cf = 0; 27074 _flag_k = FK_TEST; 27075 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070FA6: 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; } 27076 ecx = MEM32(ebp + (-0x40)); /* 0x2B070FA8: mov ecx, dword ptr [ebp - 0x40] */ 27077 esi = MEM32(0x2B0B5D6C); /* 0x2B070FAB: mov esi, dword ptr [0x2b0b5d6c] */ 27078 MEM32(ebp + (-0x3C)) = eax; /* 0x2B070FB1: mov dword ptr [ebp - 0x3c], eax */ 27079 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B070FB4: mov byte ptr [ecx + eax], 0 */ 27080 L_2B070FB8: 27081 edi = MEM32(ebp + (-0x14)); /* 0x2B070FB8: mov edi, dword ptr [ebp - 0x14] */ 27082 edx = MEM32(0x2B0B515C); /* 0x2B070FBB: mov edx, dword ptr [0x2b0b515c] */ 27083 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 27084 eax = 0; /* 0x2B070FC1: xor eax, eax */ 27085 _cf = 0; 27086 _flag_k = FK_TEST; 27087 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 27088 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070FC3: or ecx, 0xffffffff */ 27089 _cf = 0; 27090 _flag_k = FK_TEST; 27091 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; } /* 0x2B070FC6: repne scasb al, byte ptr es:[edi] */ 27092 eax = MEM32(edx); /* 0x2B070FC8: mov eax, dword ptr [edx] */ 27093 edx = MEM32(ebp + (-0x3C)); /* 0x2B070FCA: mov edx, dword ptr [ebp - 0x3c] */ 27094 ecx = ~ecx; /* 0x2B070FCD: not ecx */ 27095 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 27096 ecx = ecx - 1; /* 0x2B070FCF: dec ecx */ 27097 _flag_k = FK_DEC; 27098 edi = ecx; /* 0x2B070FD0: mov edi, ecx */ 27099 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 27100 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27101 eax = eax - edx; /* 0x2B070FD2: sub eax, edx */ 27102 _flag_k = FK_CMP; 27103 /* cmp eax, edi */ /* 0x2B070FD4: cmp eax, edi */ 27104 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 27105 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27106 _flag_k = FK_CMP; 27107 if (CMP_A(_flag_a, _flag_b)) goto L_2B070FDE; /* 0x2B070FD6: ja 0x2b070fde */ 27108 L_2B070FD8: 27109 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070FD8: call dword ptr [0x2b0b51a8] */ 27110 RECOMP_FLAGS_IN(); 27111 L_2B070FDE: 27112 /* test edi, edi */ /* 0x2B070FDE: test edi, edi */ 27113 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 27114 _cf = 0; 27115 _flag_k = FK_TEST; 27116 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07102A; /* 0x2B070FE0: jbe 0x2b07102a */ 27117 L_2B070FE2: 27118 ecx = MEM32(ebp + (-0x3C)); /* 0x2B070FE2: mov ecx, dword ptr [ebp - 0x3c] */ 27119 eax = ecx + edi; /* 0x2B070FE5: lea eax, [ecx + edi] */ 27120 PUSH32(esp, 0); /* 0x2B070FE8: push 0 */ 27121 PUSH32(esp, eax); /* 0x2B070FEA: push eax */ 27122 ecx = ebp + (-0x44); /* 0x2B070FEB: lea ecx, [ebp - 0x44] */ 27123 MEM32(ebp + (-0x18)) = eax; /* 0x2B070FEE: mov dword ptr [ebp - 0x18], eax */ 27124 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070FF1: call dword ptr [0x2b0b5154] */ 27125 RECOMP_FLAGS_IN(); 27126 /* test LO8(eax), LO8(eax) */ /* 0x2B070FF7: test al, al */ 27127 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 27128 _cf = 0; 27129 _flag_k = FK_NARROW(FK_TEST, 24); 27130 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07102A; /* 0x2B070FF9: je 0x2b07102a */ 27131 L_2B070FFB: 27132 eax = MEM32(ebp + (-0x3C)); /* 0x2B070FFB: mov eax, dword ptr [ebp - 0x3c] */ 27133 edx = MEM32(ebp + (-0x40)); /* 0x2B070FFE: mov edx, dword ptr [ebp - 0x40] */ 27134 esi = MEM32(ebp + (-0x14)); /* 0x2B071001: mov esi, dword ptr [ebp - 0x14] */ 27135 ecx = edi; /* 0x2B071004: mov ecx, edi */ 27136 edi = eax + edx; /* 0x2B071006: lea edi, [eax + edx] */ 27137 eax = MEM32(ebp + (-0x18)); /* 0x2B071009: mov eax, dword ptr [ebp - 0x18] */ 27138 edx = ecx; /* 0x2B07100C: mov edx, ecx */ 27139 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07100E: shr ecx, 2 */ 27140 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 27141 ecx = ecx >> 2u; /* 0x2B07100E: shr ecx, 2 */ 27142 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071011: 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; } 27143 ecx = edx; /* 0x2B071013: mov ecx, edx */ 27144 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 27145 ecx = ecx & 3; /* 0x2B071015: and ecx, 3 */ 27146 _cf = 0; 27147 _flag_k = FK_TEST; 27148 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071018: 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; } 27149 ecx = MEM32(ebp + (-0x40)); /* 0x2B07101A: mov ecx, dword ptr [ebp - 0x40] */ 27150 esi = MEM32(0x2B0B5D6C); /* 0x2B07101D: mov esi, dword ptr [0x2b0b5d6c] */ 27151 MEM32(ebp + (-0x3C)) = eax; /* 0x2B071023: mov dword ptr [ebp - 0x3c], eax */ 27152 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B071026: mov byte ptr [ecx + eax], 0 */ 27153 L_2B07102A: 27154 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 27155 edi = 0; /* 0x2B07102A: xor edi, edi */ 27156 _cf = 0; 27157 _flag_k = FK_TEST; 27158 L_2B07102C: 27159 edx = ebp + (-0x20); /* 0x2B07102C: lea edx, [ebp - 0x20] */ 27160 PUSH32(esp, edx); /* 0x2B07102F: push edx */ 27161 RECOMP_ICALL(esi); /* 0x2B071030: call esi */ 27162 RECOMP_FLAGS_IN(); 27163 ecx = eax; /* 0x2B071032: mov ecx, eax */ 27164 RECOMP_ICALL(MEM32(0x2B0B5D54)); /* 0x2B071034: call dword ptr [0x2b0b5d54] */ 27165 RECOMP_FLAGS_IN(); 27166 L_2B07103A: 27167 _flag_a = (uint32_t)(MEM32(ebp + 0xC)); _flag_b = (uint32_t)(1); 27168 MEM32(ebp + 0xC) = MEM32(ebp + 0xC) + 1; /* 0x2B07103A: inc dword ptr [ebp + 0xc] */ 27169 _flag_k = FK_INC; 27170 RECOMP_BACKEDGE(); 27171 goto L_2B070EBC; /* 0x2B07103D: jmp 0x2b070ebc */ 27172 L_2B071042: 27173 /* cmp MEM32(ebp + (-0x3C)), edi */ /* 0x2B071042: cmp dword ptr [ebp - 0x3c], edi */ 27174 _flag_a = (uint32_t)(MEM32(ebp + (-0x3C))); _flag_b = (uint32_t)(edi); 27175 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27176 _flag_k = FK_CMP; 27177 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071064; /* 0x2B071045: je 0x2b071064 */ 27178 L_2B071047: 27179 eax = MEM32(ebp + (-0x40)); /* 0x2B071047: mov eax, dword ptr [ebp - 0x40] */ 27180 /* cmp eax, edi */ /* 0x2B07104A: cmp eax, edi */ 27181 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 27182 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27183 _flag_k = FK_CMP; 27184 if (CMP_NE(_flag_a, _flag_b)) goto L_2B071053; /* 0x2B07104C: jne 0x2b071053 */ 27185 L_2B07104E: 27186 eax = MEM32(0x2B0B513C); /* 0x2B07104E: mov eax, dword ptr [0x2b0b513c] */ 27187 L_2B071053: 27188 ecx = MEM32(ebx + 0x28); /* 0x2B071053: mov ecx, dword ptr [ebx + 0x28] */ 27189 PUSH32(esp, ecx); /* 0x2B071056: push ecx */ 27190 PUSH32(esp, eax); /* 0x2B071057: push eax */ 27191 PUSH32(esp, 0x2B0EB770u); /* 0x2B071058: push 0x2b0eb770 */ 27192 ecx = ebx; /* 0x2B07105D: mov ecx, ebx */ 27193 RECOMP_ICALL(0x2B073610u); /* 0x2B07105F: call 0x2b073610 */ /* not lifted */ 27194 RECOMP_FLAGS_IN(); 27195 L_2B071064: 27196 eax = MEM32(ebp + (-0x34)); /* 0x2B071064: mov eax, dword ptr [ebp - 0x34] */ 27197 /* cmp eax, edi */ /* 0x2B071067: cmp eax, edi */ 27198 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 27199 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27200 _flag_k = FK_CMP; 27201 MEM32(ebp + (-0x4)) = 2; /* 0x2B071069: mov dword ptr [ebp - 4], 2 */ 27202 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710D2; /* 0x2B071070: je 0x2b0710d2 */ 27203 L_2B071072: 27204 edx = MEM32(eax + 0x2C); /* 0x2B071072: mov edx, dword ptr [eax + 0x2c] */ 27205 edi = eax; /* 0x2B071075: mov edi, eax */ 27206 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 27207 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 27208 eax = eax + 0x2Cu; /* 0x2B071077: add eax, 0x2c */ 27209 _flag_k = FK_ADD; 27210 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 27211 edx = edx - 1; /* 0x2B07107A: dec edx */ 27212 _flag_k = FK_DEC; 27213 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 27214 esi = 0; /* 0x2B07107B: xor esi, esi */ 27215 _cf = 0; 27216 _flag_k = FK_TEST; 27217 ecx = edx; /* 0x2B07107D: mov ecx, edx */ 27218 /* cmp ecx, esi */ /* 0x2B07107F: cmp ecx, esi */ 27219 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 27220 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27221 _flag_k = FK_CMP; 27222 MEM32(eax) = edx; /* 0x2B071081: mov dword ptr [eax], edx */ 27223 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0710D4; /* 0x2B071083: jne 0x2b0710d4 */ 27224 L_2B071085: 27225 /* cmp edi, esi */ /* 0x2B071085: cmp edi, esi */ 27226 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 27227 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27228 _flag_k = FK_CMP; 27229 MEM32(ebp + 0xC) = edi; /* 0x2B071087: mov dword ptr [ebp + 0xc], edi */ 27230 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710D4; /* 0x2B07108A: je 0x2b0710d4 */ 27231 L_2B07108C: 27232 PUSH32(esp, 1); /* 0x2B07108C: push 1 */ 27233 ecx = edi + 0x1C; /* 0x2B07108E: lea ecx, [edi + 0x1c] */ 27234 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B071091: mov byte ptr [ebp - 4], 3 */ 27235 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B071095: call dword ptr [0x2b0b514c] */ 27236 RECOMP_FLAGS_IN(); 27237 eax = MEM32(edi + 0x10); /* 0x2B07109B: mov eax, dword ptr [edi + 0x10] */ 27238 /* cmp eax, esi */ /* 0x2B07109E: cmp eax, esi */ 27239 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 27240 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27241 _flag_k = FK_CMP; 27242 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710BE; /* 0x2B0710A0: je 0x2b0710be */ 27243 L_2B0710A2: 27244 ecx = eax + (-0x1); /* 0x2B0710A2: lea ecx, [eax - 1] */ 27245 SET_LO8(eax, MEM8(ecx)); /* 0x2B0710A5: mov al, byte ptr [ecx] */ 27246 /* test LO8(eax), LO8(eax) */ /* 0x2B0710A7: test al, al */ 27247 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 27248 _cf = 0; 27249 _flag_k = FK_NARROW(FK_TEST, 24); 27250 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0710B5; /* 0x2B0710A9: je 0x2b0710b5 */ 27251 L_2B0710AB: 27252 /* cmp LO8(eax), 0xFFu */ /* 0x2B0710AB: cmp al, 0xff */ 27253 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 27254 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27255 _flag_k = FK_NARROW(FK_CMP, 24); 27256 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710B5; /* 0x2B0710AD: je 0x2b0710b5 */ 27257 L_2B0710AF: 27258 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 27259 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0710AF: dec al */ 27260 _flag_k = FK_NARROW(FK_DEC, 24); 27261 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B0710B1: mov byte ptr [ecx], al */ 27262 goto L_2B0710BE; /* 0x2B0710B3: jmp 0x2b0710be */ 27263 L_2B0710B5: 27264 PUSH32(esp, ecx); /* 0x2B0710B5: push ecx */ 27265 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0710B6: call 0x2b0ab1ba */ /* not lifted */ 27266 RECOMP_FLAGS_IN(); 27267 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 27268 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 27269 esp = esp + 4; /* 0x2B0710BB: add esp, 4 */ 27270 _flag_k = FK_ADD; 27271 L_2B0710BE: 27272 PUSH32(esp, edi); /* 0x2B0710BE: push edi */ 27273 MEM32(edi + 0x10) = esi; /* 0x2B0710BF: mov dword ptr [edi + 0x10], esi */ 27274 MEM32(edi + 0x14) = esi; /* 0x2B0710C2: mov dword ptr [edi + 0x14], esi */ 27275 MEM32(edi + 0x18) = esi; /* 0x2B0710C5: mov dword ptr [edi + 0x18], esi */ 27276 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0710C8: call 0x2b0ab1ba */ /* not lifted */ 27277 RECOMP_FLAGS_IN(); 27278 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 27279 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 27280 esp = esp + 4; /* 0x2B0710CD: add esp, 4 */ 27281 _flag_k = FK_ADD; 27282 goto L_2B0710D4; /* 0x2B0710D0: jmp 0x2b0710d4 */ 27283 L_2B0710D2: 27284 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 27285 esi = 0; /* 0x2B0710D2: xor esi, esi */ 27286 _cf = 0; 27287 _flag_k = FK_TEST; 27288 L_2B0710D4: 27289 ecx = MEM32(ebp + (-0x40)); /* 0x2B0710D4: mov ecx, dword ptr [ebp - 0x40] */ 27290 /* cmp ecx, esi */ /* 0x2B0710D7: cmp ecx, esi */ 27291 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 27292 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27293 _flag_k = FK_CMP; 27294 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071108; /* 0x2B0710D9: je 0x2b071108 */ 27295 L_2B0710DB: 27296 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B0710DB: mov al, byte ptr [ecx - 1] */ 27297 /* test LO8(eax), LO8(eax) */ /* 0x2B0710DE: test al, al */ 27298 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 27299 _cf = 0; 27300 _flag_k = FK_NARROW(FK_TEST, 24); 27301 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0710FE; /* 0x2B0710E0: je 0x2b0710fe */ 27302 L_2B0710E2: 27303 /* cmp LO8(eax), 0xFFu */ /* 0x2B0710E2: cmp al, 0xff */ 27304 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 27305 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27306 _flag_k = FK_NARROW(FK_CMP, 24); 27307 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710FE; /* 0x2B0710E4: je 0x2b0710fe */ 27308 L_2B0710E6: 27309 edi = POP32_VAL(esp); /* 0x2B0710E6: pop edi */ 27310 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 27311 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0710E7: dec al */ 27312 _flag_k = FK_NARROW(FK_DEC, 24); 27313 esi = POP32_VAL(esp); /* 0x2B0710E9: pop esi */ 27314 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B0710EA: mov byte ptr [ecx - 1], al */ 27315 ebx = POP32_VAL(esp); /* 0x2B0710ED: pop ebx */ 27316 ecx = MEM32(ebp + (-0xC)); /* 0x2B0710EE: mov ecx, dword ptr [ebp - 0xc] */ 27317 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0710F1: mov dword ptr fs:[0], ecx */ 27318 esp = ebp; /* 0x2B0710F8: mov esp, ebp */ 27319 ebp = POP32_VAL(esp); /* 0x2B0710FA: pop ebp */ 27320 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0710FB: ret 8 */ 27321 L_2B0710FE: 27322 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 27323 ecx = ecx - 1; /* 0x2B0710FE: dec ecx */ 27324 _flag_k = FK_DEC; 27325 PUSH32(esp, ecx); /* 0x2B0710FF: push ecx */ 27326 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B071100: call 0x2b0ab1ba */ /* not lifted */ 27327 RECOMP_FLAGS_IN(); 27328 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 27329 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 27330 esp = esp + 4; /* 0x2B071105: add esp, 4 */ 27331 _flag_k = FK_ADD; 27332 L_2B071108: 27333 ecx = MEM32(ebp + (-0xC)); /* 0x2B071108: mov ecx, dword ptr [ebp - 0xc] */ 27334 edi = POP32_VAL(esp); /* 0x2B07110B: pop edi */ 27335 esi = POP32_VAL(esp); /* 0x2B07110C: pop esi */ 27336 ebx = POP32_VAL(esp); /* 0x2B07110D: pop ebx */ 27337 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07110E: mov dword ptr fs:[0], ecx */ 27338 esp = ebp; /* 0x2B071115: mov esp, ebp */ 27339 ebp = POP32_VAL(esp); /* 0x2B071117: pop ebp */ 27340 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B071118: ret 8 */ 27341 RECOMP_REGS_OUT(); 27342 } 27343 27344 void sub_2B070EBC(void) { 27345 int _fpu_cmp = 0; 27346 uint32_t _cf = 0; 27347 int _df = 1; 27348 uint32_t _flag_k = FK_NONE; 27349 uint32_t _flag_a = 0, _flag_b = 0; 27350 uint32_t _itail_tgt = 0; 27351 RECOMP_REGS_LOCALS 27352 RECOMP_ENTER(0x2B070EBCu); 27353 27354 L_2B070EBC: 27355 edx = MEM32(ebp + 0xC); /* 0x2B070EBC: mov edx, dword ptr [ebp + 0xc] */ 27356 eax = MEM32(ebp + 0x8); /* 0x2B070EBF: mov eax, dword ptr [ebp + 8] */ 27357 PUSH32(esp, edx); /* 0x2B070EC2: push edx */ 27358 PUSH32(esp, eax); /* 0x2B070EC3: push eax */ 27359 RECOMP_ICALL(esi); /* 0x2B070EC4: call esi */ 27360 RECOMP_FLAGS_IN(); 27361 ecx = eax; /* 0x2B070EC6: mov ecx, eax */ 27362 RECOMP_ICALL(MEM32(0x2B0B5D80)); /* 0x2B070EC8: call dword ptr [0x2b0b5d80] */ 27363 RECOMP_FLAGS_IN(); 27364 /* cmp eax, edi */ /* 0x2B070ECE: cmp eax, edi */ 27365 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 27366 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27367 _flag_k = FK_CMP; 27368 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071042; /* 0x2B070ED0: je 0x2b071042 */ 27369 L_2B070ED6: 27370 PUSH32(esp, eax); /* 0x2B070ED6: push eax */ 27371 ecx = ebp + (-0x20); /* 0x2B070ED7: lea ecx, [ebp - 0x20] */ 27372 PUSH32(esp, ecx); /* 0x2B070EDA: push ecx */ 27373 MEM32(ebp + (-0x20)) = edi; /* 0x2B070EDB: mov dword ptr [ebp - 0x20], edi */ 27374 MEM32(ebp + (-0x1C)) = edi; /* 0x2B070EDE: mov dword ptr [ebp - 0x1c], edi */ 27375 RECOMP_ICALL(esi); /* 0x2B070EE1: call esi */ 27376 RECOMP_FLAGS_IN(); 27377 ecx = eax; /* 0x2B070EE3: mov ecx, eax */ 27378 RECOMP_ICALL(MEM32(0x2B0B5D4C)); /* 0x2B070EE5: call dword ptr [0x2b0b5d4c] */ 27379 RECOMP_FLAGS_IN(); 27380 /* test LO8(eax), LO8(eax) */ /* 0x2B070EEB: test al, al */ 27381 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 27382 _cf = 0; 27383 _flag_k = FK_NARROW(FK_TEST, 24); 27384 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07103A; /* 0x2B070EED: je 0x2b07103a */ 27385 L_2B070EF3: 27386 edx = ebp + (-0x20); /* 0x2B070EF3: lea edx, [ebp - 0x20] */ 27387 PUSH32(esp, 0x1Au); /* 0x2B070EF6: push 0x1a */ 27388 PUSH32(esp, edx); /* 0x2B070EF8: push edx */ 27389 RECOMP_ICALL(esi); /* 0x2B070EF9: call esi */ 27390 RECOMP_FLAGS_IN(); 27391 ecx = eax; /* 0x2B070EFB: mov ecx, eax */ 27392 RECOMP_ICALL(MEM32(0x2B0B5D84)); /* 0x2B070EFD: call dword ptr [0x2b0b5d84] */ 27393 RECOMP_FLAGS_IN(); 27394 /* cmp eax, edi */ /* 0x2B070F03: cmp eax, edi */ 27395 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 27396 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27397 _flag_k = FK_CMP; 27398 MEM32(ebp + (-0x14)) = eax; /* 0x2B070F05: mov dword ptr [ebp - 0x14], eax */ 27399 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07102C; /* 0x2B070F08: je 0x2b07102c */ 27400 L_2B070F0E: 27401 /* cmp MEM8(eax), 0 */ /* 0x2B070F0E: cmp byte ptr [eax], 0 */ 27402 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0) << 24; 27403 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27404 _flag_k = FK_NARROW(FK_CMP, 24); 27405 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07102C; /* 0x2B070F11: je 0x2b07102c */ 27406 L_2B070F17: 27407 eax = ebp + (-0x20); /* 0x2B070F17: lea eax, [ebp - 0x20] */ 27408 PUSH32(esp, eax); /* 0x2B070F1A: push eax */ 27409 RECOMP_ICALL(esi); /* 0x2B070F1B: call esi */ 27410 RECOMP_FLAGS_IN(); 27411 ecx = eax; /* 0x2B070F1D: mov ecx, eax */ 27412 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B070F1F: call dword ptr [0x2b0b5d50] */ 27413 RECOMP_FLAGS_IN(); 27414 ecx = ebp + (-0x44); /* 0x2B070F25: lea ecx, [ebp - 0x44] */ 27415 PUSH32(esp, ecx); /* 0x2B070F28: push ecx */ 27416 PUSH32(esp, eax); /* 0x2B070F29: push eax */ 27417 PUSH32(esp, 0x2B0EB790u); /* 0x2B070F2A: push 0x2b0eb790 */ 27418 ecx = ebx; /* 0x2B070F2F: mov ecx, ebx */ 27419 RECOMP_ICALL(0x2B073610u); /* 0x2B070F31: call 0x2b073610 */ /* not lifted */ 27420 RECOMP_FLAGS_IN(); 27421 edx = ebp + (-0x44); /* 0x2B070F36: lea edx, [ebp - 0x44] */ 27422 PUSH32(esp, edx); /* 0x2B070F39: push edx */ 27423 eax = ebp + (-0x20); /* 0x2B070F3A: lea eax, [ebp - 0x20] */ 27424 PUSH32(esp, eax); /* 0x2B070F3D: push eax */ 27425 ecx = ebx; /* 0x2B070F3E: mov ecx, ebx */ 27426 RECOMP_ICALL(0x2B074770u); /* 0x2B070F40: call 0x2b074770 */ /* not lifted */ 27427 RECOMP_FLAGS_IN(); 27428 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 27429 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070F45: or ecx, 0xffffffff */ 27430 _cf = 0; 27431 _flag_k = FK_TEST; 27432 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 27433 eax = 0; /* 0x2B070F48: xor eax, eax */ 27434 _cf = 0; 27435 _flag_k = FK_TEST; 27436 edi = 0x2B0E2BF8u; /* 0x2B070F4A: mov edi, 0x2b0e2bf8 */ 27437 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; } /* 0x2B070F4F: repne scasb al, byte ptr es:[edi] */ 27438 ecx = ~ecx; /* 0x2B070F51: not ecx */ 27439 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 27440 ecx = ecx - 1; /* 0x2B070F53: dec ecx */ 27441 _flag_k = FK_DEC; 27442 edi = ecx; /* 0x2B070F54: mov edi, ecx */ 27443 ecx = MEM32(0x2B0B515C); /* 0x2B070F56: mov ecx, dword ptr [0x2b0b515c] */ 27444 edx = MEM32(ecx); /* 0x2B070F5C: mov edx, dword ptr [ecx] */ 27445 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + (-0x3C))); 27446 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27447 edx = edx - MEM32(ebp + (-0x3C)); /* 0x2B070F5E: sub edx, dword ptr [ebp - 0x3c] */ 27448 _flag_k = FK_CMP; 27449 /* cmp edx, edi */ /* 0x2B070F61: cmp edx, edi */ 27450 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 27451 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27452 _flag_k = FK_CMP; 27453 if (CMP_A(_flag_a, _flag_b)) goto L_2B070F6B; /* 0x2B070F63: ja 0x2b070f6b */ 27454 L_2B070F65: 27455 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070F65: call dword ptr [0x2b0b51a8] */ 27456 RECOMP_FLAGS_IN(); 27457 L_2B070F6B: 27458 /* test edi, edi */ /* 0x2B070F6B: test edi, edi */ 27459 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 27460 _cf = 0; 27461 _flag_k = FK_TEST; 27462 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070FB8; /* 0x2B070F6D: jbe 0x2b070fb8 */ 27463 L_2B070F6F: 27464 eax = MEM32(ebp + (-0x3C)); /* 0x2B070F6F: mov eax, dword ptr [ebp - 0x3c] */ 27465 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 27466 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 27467 eax = eax + edi; /* 0x2B070F72: add eax, edi */ 27468 _flag_k = FK_ADD; 27469 PUSH32(esp, 0); /* 0x2B070F74: push 0 */ 27470 PUSH32(esp, eax); /* 0x2B070F76: push eax */ 27471 ecx = ebp + (-0x44); /* 0x2B070F77: lea ecx, [ebp - 0x44] */ 27472 MEM32(ebp + (-0x18)) = eax; /* 0x2B070F7A: mov dword ptr [ebp - 0x18], eax */ 27473 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070F7D: call dword ptr [0x2b0b5154] */ 27474 RECOMP_FLAGS_IN(); 27475 /* test LO8(eax), LO8(eax) */ /* 0x2B070F83: test al, al */ 27476 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 27477 _cf = 0; 27478 _flag_k = FK_NARROW(FK_TEST, 24); 27479 if (TEST_Z(_flag_a, _flag_b)) goto L_2B070FB8; /* 0x2B070F85: je 0x2b070fb8 */ 27480 L_2B070F87: 27481 eax = MEM32(ebp + (-0x3C)); /* 0x2B070F87: mov eax, dword ptr [ebp - 0x3c] */ 27482 edx = MEM32(ebp + (-0x40)); /* 0x2B070F8A: mov edx, dword ptr [ebp - 0x40] */ 27483 ecx = edi; /* 0x2B070F8D: mov ecx, edi */ 27484 edi = eax + edx; /* 0x2B070F8F: lea edi, [eax + edx] */ 27485 eax = MEM32(ebp + (-0x18)); /* 0x2B070F92: mov eax, dword ptr [ebp - 0x18] */ 27486 edx = ecx; /* 0x2B070F95: mov edx, ecx */ 27487 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B070F97: shr ecx, 2 */ 27488 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 27489 ecx = ecx >> 2u; /* 0x2B070F97: shr ecx, 2 */ 27490 esi = 0x2B0E2BF8u; /* 0x2B070F9A: mov esi, 0x2b0e2bf8 */ 27491 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B070F9F: 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; } 27492 ecx = edx; /* 0x2B070FA1: mov ecx, edx */ 27493 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 27494 ecx = ecx & 3; /* 0x2B070FA3: and ecx, 3 */ 27495 _cf = 0; 27496 _flag_k = FK_TEST; 27497 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B070FA6: 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; } 27498 ecx = MEM32(ebp + (-0x40)); /* 0x2B070FA8: mov ecx, dword ptr [ebp - 0x40] */ 27499 esi = MEM32(0x2B0B5D6C); /* 0x2B070FAB: mov esi, dword ptr [0x2b0b5d6c] */ 27500 MEM32(ebp + (-0x3C)) = eax; /* 0x2B070FB1: mov dword ptr [ebp - 0x3c], eax */ 27501 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B070FB4: mov byte ptr [ecx + eax], 0 */ 27502 L_2B070FB8: 27503 edi = MEM32(ebp + (-0x14)); /* 0x2B070FB8: mov edi, dword ptr [ebp - 0x14] */ 27504 edx = MEM32(0x2B0B515C); /* 0x2B070FBB: mov edx, dword ptr [0x2b0b515c] */ 27505 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 27506 eax = 0; /* 0x2B070FC1: xor eax, eax */ 27507 _cf = 0; 27508 _flag_k = FK_TEST; 27509 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 27510 ecx = ecx | 0xFFFFFFFFu; /* 0x2B070FC3: or ecx, 0xffffffff */ 27511 _cf = 0; 27512 _flag_k = FK_TEST; 27513 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; } /* 0x2B070FC6: repne scasb al, byte ptr es:[edi] */ 27514 eax = MEM32(edx); /* 0x2B070FC8: mov eax, dword ptr [edx] */ 27515 edx = MEM32(ebp + (-0x3C)); /* 0x2B070FCA: mov edx, dword ptr [ebp - 0x3c] */ 27516 ecx = ~ecx; /* 0x2B070FCD: not ecx */ 27517 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 27518 ecx = ecx - 1; /* 0x2B070FCF: dec ecx */ 27519 _flag_k = FK_DEC; 27520 edi = ecx; /* 0x2B070FD0: mov edi, ecx */ 27521 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 27522 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27523 eax = eax - edx; /* 0x2B070FD2: sub eax, edx */ 27524 _flag_k = FK_CMP; 27525 /* cmp eax, edi */ /* 0x2B070FD4: cmp eax, edi */ 27526 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 27527 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27528 _flag_k = FK_CMP; 27529 if (CMP_A(_flag_a, _flag_b)) goto L_2B070FDE; /* 0x2B070FD6: ja 0x2b070fde */ 27530 L_2B070FD8: 27531 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B070FD8: call dword ptr [0x2b0b51a8] */ 27532 RECOMP_FLAGS_IN(); 27533 L_2B070FDE: 27534 /* test edi, edi */ /* 0x2B070FDE: test edi, edi */ 27535 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 27536 _cf = 0; 27537 _flag_k = FK_TEST; 27538 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07102A; /* 0x2B070FE0: jbe 0x2b07102a */ 27539 L_2B070FE2: 27540 ecx = MEM32(ebp + (-0x3C)); /* 0x2B070FE2: mov ecx, dword ptr [ebp - 0x3c] */ 27541 eax = ecx + edi; /* 0x2B070FE5: lea eax, [ecx + edi] */ 27542 PUSH32(esp, 0); /* 0x2B070FE8: push 0 */ 27543 PUSH32(esp, eax); /* 0x2B070FEA: push eax */ 27544 ecx = ebp + (-0x44); /* 0x2B070FEB: lea ecx, [ebp - 0x44] */ 27545 MEM32(ebp + (-0x18)) = eax; /* 0x2B070FEE: mov dword ptr [ebp - 0x18], eax */ 27546 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B070FF1: call dword ptr [0x2b0b5154] */ 27547 RECOMP_FLAGS_IN(); 27548 /* test LO8(eax), LO8(eax) */ /* 0x2B070FF7: test al, al */ 27549 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 27550 _cf = 0; 27551 _flag_k = FK_NARROW(FK_TEST, 24); 27552 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07102A; /* 0x2B070FF9: je 0x2b07102a */ 27553 L_2B070FFB: 27554 eax = MEM32(ebp + (-0x3C)); /* 0x2B070FFB: mov eax, dword ptr [ebp - 0x3c] */ 27555 edx = MEM32(ebp + (-0x40)); /* 0x2B070FFE: mov edx, dword ptr [ebp - 0x40] */ 27556 esi = MEM32(ebp + (-0x14)); /* 0x2B071001: mov esi, dword ptr [ebp - 0x14] */ 27557 ecx = edi; /* 0x2B071004: mov ecx, edi */ 27558 edi = eax + edx; /* 0x2B071006: lea edi, [eax + edx] */ 27559 eax = MEM32(ebp + (-0x18)); /* 0x2B071009: mov eax, dword ptr [ebp - 0x18] */ 27560 edx = ecx; /* 0x2B07100C: mov edx, ecx */ 27561 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07100E: shr ecx, 2 */ 27562 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 27563 ecx = ecx >> 2u; /* 0x2B07100E: shr ecx, 2 */ 27564 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071011: 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; } 27565 ecx = edx; /* 0x2B071013: mov ecx, edx */ 27566 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 27567 ecx = ecx & 3; /* 0x2B071015: and ecx, 3 */ 27568 _cf = 0; 27569 _flag_k = FK_TEST; 27570 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071018: 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; } 27571 ecx = MEM32(ebp + (-0x40)); /* 0x2B07101A: mov ecx, dword ptr [ebp - 0x40] */ 27572 esi = MEM32(0x2B0B5D6C); /* 0x2B07101D: mov esi, dword ptr [0x2b0b5d6c] */ 27573 MEM32(ebp + (-0x3C)) = eax; /* 0x2B071023: mov dword ptr [ebp - 0x3c], eax */ 27574 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B071026: mov byte ptr [ecx + eax], 0 */ 27575 L_2B07102A: 27576 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 27577 edi = 0; /* 0x2B07102A: xor edi, edi */ 27578 _cf = 0; 27579 _flag_k = FK_TEST; 27580 L_2B07102C: 27581 edx = ebp + (-0x20); /* 0x2B07102C: lea edx, [ebp - 0x20] */ 27582 PUSH32(esp, edx); /* 0x2B07102F: push edx */ 27583 RECOMP_ICALL(esi); /* 0x2B071030: call esi */ 27584 RECOMP_FLAGS_IN(); 27585 ecx = eax; /* 0x2B071032: mov ecx, eax */ 27586 RECOMP_ICALL(MEM32(0x2B0B5D54)); /* 0x2B071034: call dword ptr [0x2b0b5d54] */ 27587 RECOMP_FLAGS_IN(); 27588 L_2B07103A: 27589 _flag_a = (uint32_t)(MEM32(ebp + 0xC)); _flag_b = (uint32_t)(1); 27590 MEM32(ebp + 0xC) = MEM32(ebp + 0xC) + 1; /* 0x2B07103A: inc dword ptr [ebp + 0xc] */ 27591 _flag_k = FK_INC; 27592 RECOMP_BACKEDGE(); 27593 goto L_2B070EBC; /* 0x2B07103D: jmp 0x2b070ebc */ 27594 L_2B071042: 27595 /* cmp MEM32(ebp + (-0x3C)), edi */ /* 0x2B071042: cmp dword ptr [ebp - 0x3c], edi */ 27596 _flag_a = (uint32_t)(MEM32(ebp + (-0x3C))); _flag_b = (uint32_t)(edi); 27597 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27598 _flag_k = FK_CMP; 27599 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071064; /* 0x2B071045: je 0x2b071064 */ 27600 L_2B071047: 27601 eax = MEM32(ebp + (-0x40)); /* 0x2B071047: mov eax, dword ptr [ebp - 0x40] */ 27602 /* cmp eax, edi */ /* 0x2B07104A: cmp eax, edi */ 27603 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 27604 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27605 _flag_k = FK_CMP; 27606 if (CMP_NE(_flag_a, _flag_b)) goto L_2B071053; /* 0x2B07104C: jne 0x2b071053 */ 27607 L_2B07104E: 27608 eax = MEM32(0x2B0B513C); /* 0x2B07104E: mov eax, dword ptr [0x2b0b513c] */ 27609 L_2B071053: 27610 ecx = MEM32(ebx + 0x28); /* 0x2B071053: mov ecx, dword ptr [ebx + 0x28] */ 27611 PUSH32(esp, ecx); /* 0x2B071056: push ecx */ 27612 PUSH32(esp, eax); /* 0x2B071057: push eax */ 27613 PUSH32(esp, 0x2B0EB770u); /* 0x2B071058: push 0x2b0eb770 */ 27614 ecx = ebx; /* 0x2B07105D: mov ecx, ebx */ 27615 RECOMP_ICALL(0x2B073610u); /* 0x2B07105F: call 0x2b073610 */ /* not lifted */ 27616 RECOMP_FLAGS_IN(); 27617 L_2B071064: 27618 eax = MEM32(ebp + (-0x34)); /* 0x2B071064: mov eax, dword ptr [ebp - 0x34] */ 27619 /* cmp eax, edi */ /* 0x2B071067: cmp eax, edi */ 27620 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 27621 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27622 _flag_k = FK_CMP; 27623 MEM32(ebp + (-0x4)) = 2; /* 0x2B071069: mov dword ptr [ebp - 4], 2 */ 27624 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710D2; /* 0x2B071070: je 0x2b0710d2 */ 27625 L_2B071072: 27626 edx = MEM32(eax + 0x2C); /* 0x2B071072: mov edx, dword ptr [eax + 0x2c] */ 27627 edi = eax; /* 0x2B071075: mov edi, eax */ 27628 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 27629 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 27630 eax = eax + 0x2Cu; /* 0x2B071077: add eax, 0x2c */ 27631 _flag_k = FK_ADD; 27632 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 27633 edx = edx - 1; /* 0x2B07107A: dec edx */ 27634 _flag_k = FK_DEC; 27635 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 27636 esi = 0; /* 0x2B07107B: xor esi, esi */ 27637 _cf = 0; 27638 _flag_k = FK_TEST; 27639 ecx = edx; /* 0x2B07107D: mov ecx, edx */ 27640 /* cmp ecx, esi */ /* 0x2B07107F: cmp ecx, esi */ 27641 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 27642 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27643 _flag_k = FK_CMP; 27644 MEM32(eax) = edx; /* 0x2B071081: mov dword ptr [eax], edx */ 27645 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0710D4; /* 0x2B071083: jne 0x2b0710d4 */ 27646 L_2B071085: 27647 /* cmp edi, esi */ /* 0x2B071085: cmp edi, esi */ 27648 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 27649 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27650 _flag_k = FK_CMP; 27651 MEM32(ebp + 0xC) = edi; /* 0x2B071087: mov dword ptr [ebp + 0xc], edi */ 27652 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710D4; /* 0x2B07108A: je 0x2b0710d4 */ 27653 L_2B07108C: 27654 PUSH32(esp, 1); /* 0x2B07108C: push 1 */ 27655 ecx = edi + 0x1C; /* 0x2B07108E: lea ecx, [edi + 0x1c] */ 27656 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B071091: mov byte ptr [ebp - 4], 3 */ 27657 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B071095: call dword ptr [0x2b0b514c] */ 27658 RECOMP_FLAGS_IN(); 27659 eax = MEM32(edi + 0x10); /* 0x2B07109B: mov eax, dword ptr [edi + 0x10] */ 27660 /* cmp eax, esi */ /* 0x2B07109E: cmp eax, esi */ 27661 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 27662 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27663 _flag_k = FK_CMP; 27664 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710BE; /* 0x2B0710A0: je 0x2b0710be */ 27665 L_2B0710A2: 27666 ecx = eax + (-0x1); /* 0x2B0710A2: lea ecx, [eax - 1] */ 27667 SET_LO8(eax, MEM8(ecx)); /* 0x2B0710A5: mov al, byte ptr [ecx] */ 27668 /* test LO8(eax), LO8(eax) */ /* 0x2B0710A7: test al, al */ 27669 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 27670 _cf = 0; 27671 _flag_k = FK_NARROW(FK_TEST, 24); 27672 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0710B5; /* 0x2B0710A9: je 0x2b0710b5 */ 27673 L_2B0710AB: 27674 /* cmp LO8(eax), 0xFFu */ /* 0x2B0710AB: cmp al, 0xff */ 27675 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 27676 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27677 _flag_k = FK_NARROW(FK_CMP, 24); 27678 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710B5; /* 0x2B0710AD: je 0x2b0710b5 */ 27679 L_2B0710AF: 27680 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 27681 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0710AF: dec al */ 27682 _flag_k = FK_NARROW(FK_DEC, 24); 27683 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B0710B1: mov byte ptr [ecx], al */ 27684 goto L_2B0710BE; /* 0x2B0710B3: jmp 0x2b0710be */ 27685 L_2B0710B5: 27686 PUSH32(esp, ecx); /* 0x2B0710B5: push ecx */ 27687 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0710B6: call 0x2b0ab1ba */ /* not lifted */ 27688 RECOMP_FLAGS_IN(); 27689 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 27690 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 27691 esp = esp + 4; /* 0x2B0710BB: add esp, 4 */ 27692 _flag_k = FK_ADD; 27693 L_2B0710BE: 27694 PUSH32(esp, edi); /* 0x2B0710BE: push edi */ 27695 MEM32(edi + 0x10) = esi; /* 0x2B0710BF: mov dword ptr [edi + 0x10], esi */ 27696 MEM32(edi + 0x14) = esi; /* 0x2B0710C2: mov dword ptr [edi + 0x14], esi */ 27697 MEM32(edi + 0x18) = esi; /* 0x2B0710C5: mov dword ptr [edi + 0x18], esi */ 27698 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0710C8: call 0x2b0ab1ba */ /* not lifted */ 27699 RECOMP_FLAGS_IN(); 27700 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 27701 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 27702 esp = esp + 4; /* 0x2B0710CD: add esp, 4 */ 27703 _flag_k = FK_ADD; 27704 goto L_2B0710D4; /* 0x2B0710D0: jmp 0x2b0710d4 */ 27705 L_2B0710D2: 27706 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 27707 esi = 0; /* 0x2B0710D2: xor esi, esi */ 27708 _cf = 0; 27709 _flag_k = FK_TEST; 27710 L_2B0710D4: 27711 ecx = MEM32(ebp + (-0x40)); /* 0x2B0710D4: mov ecx, dword ptr [ebp - 0x40] */ 27712 /* cmp ecx, esi */ /* 0x2B0710D7: cmp ecx, esi */ 27713 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 27714 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27715 _flag_k = FK_CMP; 27716 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071108; /* 0x2B0710D9: je 0x2b071108 */ 27717 L_2B0710DB: 27718 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B0710DB: mov al, byte ptr [ecx - 1] */ 27719 /* test LO8(eax), LO8(eax) */ /* 0x2B0710DE: test al, al */ 27720 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 27721 _cf = 0; 27722 _flag_k = FK_NARROW(FK_TEST, 24); 27723 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0710FE; /* 0x2B0710E0: je 0x2b0710fe */ 27724 L_2B0710E2: 27725 /* cmp LO8(eax), 0xFFu */ /* 0x2B0710E2: cmp al, 0xff */ 27726 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 27727 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27728 _flag_k = FK_NARROW(FK_CMP, 24); 27729 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710FE; /* 0x2B0710E4: je 0x2b0710fe */ 27730 L_2B0710E6: 27731 edi = POP32_VAL(esp); /* 0x2B0710E6: pop edi */ 27732 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 27733 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0710E7: dec al */ 27734 _flag_k = FK_NARROW(FK_DEC, 24); 27735 esi = POP32_VAL(esp); /* 0x2B0710E9: pop esi */ 27736 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B0710EA: mov byte ptr [ecx - 1], al */ 27737 ebx = POP32_VAL(esp); /* 0x2B0710ED: pop ebx */ 27738 ecx = MEM32(ebp + (-0xC)); /* 0x2B0710EE: mov ecx, dword ptr [ebp - 0xc] */ 27739 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0710F1: mov dword ptr fs:[0], ecx */ 27740 esp = ebp; /* 0x2B0710F8: mov esp, ebp */ 27741 ebp = POP32_VAL(esp); /* 0x2B0710FA: pop ebp */ 27742 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0710FB: ret 8 */ 27743 L_2B0710FE: 27744 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 27745 ecx = ecx - 1; /* 0x2B0710FE: dec ecx */ 27746 _flag_k = FK_DEC; 27747 PUSH32(esp, ecx); /* 0x2B0710FF: push ecx */ 27748 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B071100: call 0x2b0ab1ba */ /* not lifted */ 27749 RECOMP_FLAGS_IN(); 27750 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 27751 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 27752 esp = esp + 4; /* 0x2B071105: add esp, 4 */ 27753 _flag_k = FK_ADD; 27754 L_2B071108: 27755 ecx = MEM32(ebp + (-0xC)); /* 0x2B071108: mov ecx, dword ptr [ebp - 0xc] */ 27756 edi = POP32_VAL(esp); /* 0x2B07110B: pop edi */ 27757 esi = POP32_VAL(esp); /* 0x2B07110C: pop esi */ 27758 ebx = POP32_VAL(esp); /* 0x2B07110D: pop ebx */ 27759 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07110E: mov dword ptr fs:[0], ecx */ 27760 esp = ebp; /* 0x2B071115: mov esp, ebp */ 27761 ebp = POP32_VAL(esp); /* 0x2B071117: pop ebp */ 27762 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B071118: ret 8 */ 27763 RECOMP_REGS_OUT(); 27764 } 27765 27766 void sub_2B0710BE(void) { 27767 int _fpu_cmp = 0; 27768 uint32_t _cf = 0; 27769 int _df = 1; 27770 uint32_t _flag_k = FK_NONE; 27771 uint32_t _flag_a = 0, _flag_b = 0; 27772 uint32_t _itail_tgt = 0; 27773 RECOMP_REGS_LOCALS 27774 RECOMP_ENTER(0x2B0710BEu); 27775 27776 L_2B0710BE: 27777 PUSH32(esp, edi); /* 0x2B0710BE: push edi */ 27778 MEM32(edi + 0x10) = esi; /* 0x2B0710BF: mov dword ptr [edi + 0x10], esi */ 27779 MEM32(edi + 0x14) = esi; /* 0x2B0710C2: mov dword ptr [edi + 0x14], esi */ 27780 MEM32(edi + 0x18) = esi; /* 0x2B0710C5: mov dword ptr [edi + 0x18], esi */ 27781 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0710C8: call 0x2b0ab1ba */ /* not lifted */ 27782 RECOMP_FLAGS_IN(); 27783 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 27784 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 27785 esp = esp + 4; /* 0x2B0710CD: add esp, 4 */ 27786 _flag_k = FK_ADD; 27787 goto L_2B0710D4; /* 0x2B0710D0: jmp 0x2b0710d4 */ 27788 L_2B0710D4: 27789 ecx = MEM32(ebp + (-0x40)); /* 0x2B0710D4: mov ecx, dword ptr [ebp - 0x40] */ 27790 /* cmp ecx, esi */ /* 0x2B0710D7: cmp ecx, esi */ 27791 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 27792 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27793 _flag_k = FK_CMP; 27794 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071108; /* 0x2B0710D9: je 0x2b071108 */ 27795 L_2B0710DB: 27796 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B0710DB: mov al, byte ptr [ecx - 1] */ 27797 /* test LO8(eax), LO8(eax) */ /* 0x2B0710DE: test al, al */ 27798 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 27799 _cf = 0; 27800 _flag_k = FK_NARROW(FK_TEST, 24); 27801 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0710FE; /* 0x2B0710E0: je 0x2b0710fe */ 27802 L_2B0710E2: 27803 /* cmp LO8(eax), 0xFFu */ /* 0x2B0710E2: cmp al, 0xff */ 27804 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 27805 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27806 _flag_k = FK_NARROW(FK_CMP, 24); 27807 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710FE; /* 0x2B0710E4: je 0x2b0710fe */ 27808 L_2B0710E6: 27809 edi = POP32_VAL(esp); /* 0x2B0710E6: pop edi */ 27810 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 27811 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0710E7: dec al */ 27812 _flag_k = FK_NARROW(FK_DEC, 24); 27813 esi = POP32_VAL(esp); /* 0x2B0710E9: pop esi */ 27814 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B0710EA: mov byte ptr [ecx - 1], al */ 27815 ebx = POP32_VAL(esp); /* 0x2B0710ED: pop ebx */ 27816 ecx = MEM32(ebp + (-0xC)); /* 0x2B0710EE: mov ecx, dword ptr [ebp - 0xc] */ 27817 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0710F1: mov dword ptr fs:[0], ecx */ 27818 esp = ebp; /* 0x2B0710F8: mov esp, ebp */ 27819 ebp = POP32_VAL(esp); /* 0x2B0710FA: pop ebp */ 27820 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0710FB: ret 8 */ 27821 L_2B0710FE: 27822 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 27823 ecx = ecx - 1; /* 0x2B0710FE: dec ecx */ 27824 _flag_k = FK_DEC; 27825 PUSH32(esp, ecx); /* 0x2B0710FF: push ecx */ 27826 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B071100: call 0x2b0ab1ba */ /* not lifted */ 27827 RECOMP_FLAGS_IN(); 27828 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 27829 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 27830 esp = esp + 4; /* 0x2B071105: add esp, 4 */ 27831 _flag_k = FK_ADD; 27832 L_2B071108: 27833 ecx = MEM32(ebp + (-0xC)); /* 0x2B071108: mov ecx, dword ptr [ebp - 0xc] */ 27834 edi = POP32_VAL(esp); /* 0x2B07110B: pop edi */ 27835 esi = POP32_VAL(esp); /* 0x2B07110C: pop esi */ 27836 ebx = POP32_VAL(esp); /* 0x2B07110D: pop ebx */ 27837 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07110E: mov dword ptr fs:[0], ecx */ 27838 esp = ebp; /* 0x2B071115: mov esp, ebp */ 27839 ebp = POP32_VAL(esp); /* 0x2B071117: pop ebp */ 27840 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B071118: ret 8 */ 27841 RECOMP_REGS_OUT(); 27842 } 27843 27844 void sub_2B0710D4(void) { 27845 int _fpu_cmp = 0; 27846 uint32_t _cf = 0; 27847 int _df = 1; 27848 uint32_t _flag_k = FK_NONE; 27849 uint32_t _flag_a = 0, _flag_b = 0; 27850 uint32_t _itail_tgt = 0; 27851 RECOMP_REGS_LOCALS 27852 RECOMP_ENTER(0x2B0710D4u); 27853 27854 L_2B0710D4: 27855 ecx = MEM32(ebp + (-0x40)); /* 0x2B0710D4: mov ecx, dword ptr [ebp - 0x40] */ 27856 /* cmp ecx, esi */ /* 0x2B0710D7: cmp ecx, esi */ 27857 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 27858 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27859 _flag_k = FK_CMP; 27860 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071108; /* 0x2B0710D9: je 0x2b071108 */ 27861 L_2B0710DB: 27862 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B0710DB: mov al, byte ptr [ecx - 1] */ 27863 /* test LO8(eax), LO8(eax) */ /* 0x2B0710DE: test al, al */ 27864 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 27865 _cf = 0; 27866 _flag_k = FK_NARROW(FK_TEST, 24); 27867 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0710FE; /* 0x2B0710E0: je 0x2b0710fe */ 27868 L_2B0710E2: 27869 /* cmp LO8(eax), 0xFFu */ /* 0x2B0710E2: cmp al, 0xff */ 27870 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 27871 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27872 _flag_k = FK_NARROW(FK_CMP, 24); 27873 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0710FE; /* 0x2B0710E4: je 0x2b0710fe */ 27874 L_2B0710E6: 27875 edi = POP32_VAL(esp); /* 0x2B0710E6: pop edi */ 27876 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 27877 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0710E7: dec al */ 27878 _flag_k = FK_NARROW(FK_DEC, 24); 27879 esi = POP32_VAL(esp); /* 0x2B0710E9: pop esi */ 27880 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B0710EA: mov byte ptr [ecx - 1], al */ 27881 ebx = POP32_VAL(esp); /* 0x2B0710ED: pop ebx */ 27882 ecx = MEM32(ebp + (-0xC)); /* 0x2B0710EE: mov ecx, dword ptr [ebp - 0xc] */ 27883 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0710F1: mov dword ptr fs:[0], ecx */ 27884 esp = ebp; /* 0x2B0710F8: mov esp, ebp */ 27885 ebp = POP32_VAL(esp); /* 0x2B0710FA: pop ebp */ 27886 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0710FB: ret 8 */ 27887 L_2B0710FE: 27888 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 27889 ecx = ecx - 1; /* 0x2B0710FE: dec ecx */ 27890 _flag_k = FK_DEC; 27891 PUSH32(esp, ecx); /* 0x2B0710FF: push ecx */ 27892 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B071100: call 0x2b0ab1ba */ /* not lifted */ 27893 RECOMP_FLAGS_IN(); 27894 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 27895 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 27896 esp = esp + 4; /* 0x2B071105: add esp, 4 */ 27897 _flag_k = FK_ADD; 27898 L_2B071108: 27899 ecx = MEM32(ebp + (-0xC)); /* 0x2B071108: mov ecx, dword ptr [ebp - 0xc] */ 27900 edi = POP32_VAL(esp); /* 0x2B07110B: pop edi */ 27901 esi = POP32_VAL(esp); /* 0x2B07110C: pop esi */ 27902 ebx = POP32_VAL(esp); /* 0x2B07110D: pop ebx */ 27903 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07110E: mov dword ptr fs:[0], ecx */ 27904 esp = ebp; /* 0x2B071115: mov esp, ebp */ 27905 ebp = POP32_VAL(esp); /* 0x2B071117: pop ebp */ 27906 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B071118: ret 8 */ 27907 RECOMP_REGS_OUT(); 27908 } 27909 27910 void sub_2B071120(void) { 27911 int _fpu_cmp = 0; 27912 uint32_t _cf = 0; 27913 int _df = 1; 27914 uint32_t _flag_k = FK_NONE; 27915 uint32_t _flag_a = 0, _flag_b = 0; 27916 uint32_t _itail_tgt = 0; 27917 RECOMP_REGS_LOCALS 27918 RECOMP_ENTER(0x2B071120u); 27919 27920 L_2B071120: 27921 PUSH32(esp, ebp); /* 0x2B071120: push ebp */ 27922 ebp = esp; /* 0x2B071121: mov ebp, esp */ 27923 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 27924 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 27925 esp = esp - 0x10u; /* 0x2B071123: sub esp, 0x10 */ 27926 _flag_k = FK_CMP; 27927 SET_LO8(eax, MEM8(ebp + 0xC)); /* 0x2B071126: mov al, byte ptr [ebp + 0xc] */ 27928 /* test LO8(eax), LO8(eax) */ /* 0x2B071129: test al, al */ 27929 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 27930 _cf = 0; 27931 _flag_k = FK_NARROW(FK_TEST, 24); 27932 PUSH32(esp, ebx); /* 0x2B07112B: push ebx */ 27933 PUSH32(esp, esi); /* 0x2B07112C: push esi */ 27934 PUSH32(esp, edi); /* 0x2B07112D: push edi */ 27935 ebx = ecx; /* 0x2B07112E: mov ebx, ecx */ 27936 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0711F4; /* 0x2B071130: jne 0x2b0711f4 */ 27937 L_2B071136: 27938 esi = MEM32(ebp + 0x8); /* 0x2B071136: mov esi, dword ptr [ebp + 8] */ 27939 PUSH32(esp, esi); /* 0x2B071139: push esi */ 27940 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B07113A: call dword ptr [0x2b0b5d6c] */ 27941 RECOMP_FLAGS_IN(); 27942 ecx = eax; /* 0x2B071140: mov ecx, eax */ 27943 RECOMP_ICALL(MEM32(0x2B0B5D20)); /* 0x2B071142: call dword ptr [0x2b0b5d20] */ 27944 RECOMP_FLAGS_IN(); 27945 eax = MEM32(esi); /* 0x2B071148: mov eax, dword ptr [esi] */ 27946 edx = MEM32(ebx + 0x28); /* 0x2B07114A: mov edx, dword ptr [ebx + 0x28] */ 27947 MEM32(ebx + 0x20) = eax; /* 0x2B07114D: mov dword ptr [ebx + 0x20], eax */ 27948 ecx = MEM32(esi + 0x4); /* 0x2B071150: mov ecx, dword ptr [esi + 4] */ 27949 MEM32(ebx + 0x24) = ecx; /* 0x2B071153: mov dword ptr [ebx + 0x24], ecx */ 27950 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 27951 ecx = ecx | 0xFFFFFFFFu; /* 0x2B071156: or ecx, 0xffffffff */ 27952 _cf = 0; 27953 _flag_k = FK_TEST; 27954 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 27955 eax = 0; /* 0x2B071159: xor eax, eax */ 27956 _cf = 0; 27957 _flag_k = FK_TEST; 27958 edi = 0x2B0EF014u; /* 0x2B07115B: mov edi, 0x2b0ef014 */ 27959 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; } /* 0x2B071160: repne scasb al, byte ptr es:[edi] */ 27960 ecx = ~ecx; /* 0x2B071162: not ecx */ 27961 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 27962 ecx = ecx - 1; /* 0x2B071164: dec ecx */ 27963 _flag_k = FK_DEC; 27964 esi = ecx; /* 0x2B071165: mov esi, ecx */ 27965 PUSH32(esp, 1); /* 0x2B071167: push 1 */ 27966 PUSH32(esp, esi); /* 0x2B071169: push esi */ 27967 ecx = edx; /* 0x2B07116A: mov ecx, edx */ 27968 MEM32(ebp + 0x8) = edx; /* 0x2B07116C: mov dword ptr [ebp + 8], edx */ 27969 MEM32(ebp + (-0x4)) = esi; /* 0x2B07116F: mov dword ptr [ebp - 4], esi */ 27970 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B071172: call dword ptr [0x2b0b5154] */ 27971 RECOMP_FLAGS_IN(); 27972 /* test LO8(eax), LO8(eax) */ /* 0x2B071178: test al, al */ 27973 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 27974 _cf = 0; 27975 _flag_k = FK_NARROW(FK_TEST, 24); 27976 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0711A2; /* 0x2B07117A: je 0x2b0711a2 */ 27977 L_2B07117C: 27978 eax = MEM32(ebp + 0x8); /* 0x2B07117C: mov eax, dword ptr [ebp + 8] */ 27979 edi = MEM32(eax + 0x4); /* 0x2B07117F: mov edi, dword ptr [eax + 4] */ 27980 ecx = esi; /* 0x2B071182: mov ecx, esi */ 27981 edx = ecx; /* 0x2B071184: mov edx, ecx */ 27982 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B071186: shr ecx, 2 */ 27983 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 27984 ecx = ecx >> 2u; /* 0x2B071186: shr ecx, 2 */ 27985 esi = 0x2B0EF014u; /* 0x2B071189: mov esi, 0x2b0ef014 */ 27986 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07118E: 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; } 27987 ecx = edx; /* 0x2B071190: mov ecx, edx */ 27988 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 27989 ecx = ecx & 3; /* 0x2B071192: and ecx, 3 */ 27990 _cf = 0; 27991 _flag_k = FK_TEST; 27992 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071195: 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; } 27993 ecx = edx; /* 0x2B071197: mov ecx, edx */ 27994 PUSH32(esp, ecx); /* 0x2B071199: push ecx */ 27995 ecx = eax; /* 0x2B07119A: mov ecx, eax */ 27996 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07119C: call dword ptr [0x2b0b5150] */ 27997 RECOMP_FLAGS_IN(); 27998 L_2B0711A2: 27999 ecx = MEM32(ebx + 0x28); /* 0x2B0711A2: mov ecx, dword ptr [ebx + 0x28] */ 28000 PUSH32(esp, 0xCu); /* 0x2B0711A5: push 0xc */ 28001 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0711A7: push -1 */ 28002 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B0711A9: call dword ptr [0x2b0b5a74] */ 28003 RECOMP_FLAGS_IN(); 28004 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 28005 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0711AF: or ecx, 0xffffffff */ 28006 _cf = 0; 28007 _flag_k = FK_TEST; 28008 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 28009 eax = 0; /* 0x2B0711B2: xor eax, eax */ 28010 _cf = 0; 28011 _flag_k = FK_TEST; 28012 edi = 0x2B0EB8D0u; /* 0x2B0711B4: mov edi, 0x2b0eb8d0 */ 28013 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; } /* 0x2B0711B9: repne scasb al, byte ptr es:[edi] */ 28014 ecx = ~ecx; /* 0x2B0711BB: not ecx */ 28015 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 28016 ecx = ecx - 1; /* 0x2B0711BD: dec ecx */ 28017 _flag_k = FK_DEC; 28018 PUSH32(esp, ecx); /* 0x2B0711BE: push ecx */ 28019 ecx = MEM32(ebx + 0x28); /* 0x2B0711BF: mov ecx, dword ptr [ebx + 0x28] */ 28020 PUSH32(esp, 0x2B0EB8D0u); /* 0x2B0711C2: push 0x2b0eb8d0 */ 28021 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B0711C7: call dword ptr [0x2b0b5188] */ 28022 RECOMP_FLAGS_IN(); 28023 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 28024 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0711CD: or ecx, 0xffffffff */ 28025 _cf = 0; 28026 _flag_k = FK_TEST; 28027 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 28028 eax = 0; /* 0x2B0711D0: xor eax, eax */ 28029 _cf = 0; 28030 _flag_k = FK_TEST; 28031 edi = 0x2B0EBA90u; /* 0x2B0711D2: mov edi, 0x2b0eba90 */ 28032 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; } /* 0x2B0711D7: repne scasb al, byte ptr es:[edi] */ 28033 ecx = ~ecx; /* 0x2B0711D9: not ecx */ 28034 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 28035 ecx = ecx - 1; /* 0x2B0711DB: dec ecx */ 28036 _flag_k = FK_DEC; 28037 PUSH32(esp, ecx); /* 0x2B0711DC: push ecx */ 28038 ecx = MEM32(ebx + 0x28); /* 0x2B0711DD: mov ecx, dword ptr [ebx + 0x28] */ 28039 PUSH32(esp, 0x2B0EBA90u); /* 0x2B0711E0: push 0x2b0eba90 */ 28040 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B0711E5: call dword ptr [0x2b0b5188] */ 28041 RECOMP_FLAGS_IN(); 28042 edi = POP32_VAL(esp); /* 0x2B0711EB: pop edi */ 28043 esi = POP32_VAL(esp); /* 0x2B0711EC: pop esi */ 28044 ebx = POP32_VAL(esp); /* 0x2B0711ED: pop ebx */ 28045 esp = ebp; /* 0x2B0711EE: mov esp, ebp */ 28046 ebp = POP32_VAL(esp); /* 0x2B0711F0: pop ebp */ 28047 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0711F1: ret 8 */ 28048 L_2B0711F4: 28049 edx = MEM32(ebx + 0x28); /* 0x2B0711F4: mov edx, dword ptr [ebx + 0x28] */ 28050 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 28051 ecx = 0; /* 0x2B0711F7: xor ecx, ecx */ 28052 _cf = 0; 28053 _flag_k = FK_TEST; 28054 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 28055 eax = 0; /* 0x2B0711F9: xor eax, eax */ 28056 _cf = 0; 28057 _flag_k = FK_TEST; 28058 MEM32(ebx + 0x20) = eax; /* 0x2B0711FB: mov dword ptr [ebx + 0x20], eax */ 28059 MEM32(ebx + 0x24) = ecx; /* 0x2B0711FE: mov dword ptr [ebx + 0x24], ecx */ 28060 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 28061 ecx = ecx | 0xFFFFFFFFu; /* 0x2B071201: or ecx, 0xffffffff */ 28062 _cf = 0; 28063 _flag_k = FK_TEST; 28064 MEM32(ebx + 0x8) = 7; /* 0x2B071204: mov dword ptr [ebx + 8], 7 */ 28065 edi = 0x2B0EF014u; /* 0x2B07120B: mov edi, 0x2b0ef014 */ 28066 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; } /* 0x2B071210: repne scasb al, byte ptr es:[edi] */ 28067 ecx = ~ecx; /* 0x2B071212: not ecx */ 28068 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 28069 ecx = ecx - 1; /* 0x2B071214: dec ecx */ 28070 _flag_k = FK_DEC; 28071 esi = ecx; /* 0x2B071215: mov esi, ecx */ 28072 PUSH32(esp, 1); /* 0x2B071217: push 1 */ 28073 PUSH32(esp, esi); /* 0x2B071219: push esi */ 28074 ecx = edx; /* 0x2B07121A: mov ecx, edx */ 28075 MEM32(ebp + (-0x4)) = edx; /* 0x2B07121C: mov dword ptr [ebp - 4], edx */ 28076 MEM32(ebp + (-0x8)) = esi; /* 0x2B07121F: mov dword ptr [ebp - 8], esi */ 28077 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B071222: call dword ptr [0x2b0b5154] */ 28078 RECOMP_FLAGS_IN(); 28079 /* test LO8(eax), LO8(eax) */ /* 0x2B071228: test al, al */ 28080 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 28081 _cf = 0; 28082 _flag_k = FK_NARROW(FK_TEST, 24); 28083 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071252; /* 0x2B07122A: je 0x2b071252 */ 28084 L_2B07122C: 28085 eax = MEM32(ebp + (-0x4)); /* 0x2B07122C: mov eax, dword ptr [ebp - 4] */ 28086 edi = MEM32(eax + 0x4); /* 0x2B07122F: mov edi, dword ptr [eax + 4] */ 28087 ecx = esi; /* 0x2B071232: mov ecx, esi */ 28088 edx = ecx; /* 0x2B071234: mov edx, ecx */ 28089 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B071236: shr ecx, 2 */ 28090 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 28091 ecx = ecx >> 2u; /* 0x2B071236: shr ecx, 2 */ 28092 esi = 0x2B0EF014u; /* 0x2B071239: mov esi, 0x2b0ef014 */ 28093 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07123E: 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; } 28094 ecx = edx; /* 0x2B071240: mov ecx, edx */ 28095 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 28096 ecx = ecx & 3; /* 0x2B071242: and ecx, 3 */ 28097 _cf = 0; 28098 _flag_k = FK_TEST; 28099 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071245: 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; } 28100 ecx = edx; /* 0x2B071247: mov ecx, edx */ 28101 PUSH32(esp, ecx); /* 0x2B071249: push ecx */ 28102 ecx = eax; /* 0x2B07124A: mov ecx, eax */ 28103 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07124C: call dword ptr [0x2b0b5150] */ 28104 RECOMP_FLAGS_IN(); 28105 L_2B071252: 28106 ecx = MEM32(ebx + 0x28); /* 0x2B071252: mov ecx, dword ptr [ebx + 0x28] */ 28107 PUSH32(esp, 0x12u); /* 0x2B071255: push 0x12 */ 28108 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B071257: push -1 */ 28109 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B071259: call dword ptr [0x2b0b5a74] */ 28110 RECOMP_FLAGS_IN(); 28111 esi = MEM32(ebp + 0x8); /* 0x2B07125F: mov esi, dword ptr [ebp + 8] */ 28112 PUSH32(esp, esi); /* 0x2B071262: push esi */ 28113 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B071263: call dword ptr [0x2b0b5d6c] */ 28114 RECOMP_FLAGS_IN(); 28115 ecx = eax; /* 0x2B071269: mov ecx, eax */ 28116 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B07126B: call dword ptr [0x2b0b5d50] */ 28117 RECOMP_FLAGS_IN(); 28118 edx = eax; /* 0x2B071271: mov edx, eax */ 28119 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 28120 ecx = ecx | 0xFFFFFFFFu; /* 0x2B071273: or ecx, 0xffffffff */ 28121 _cf = 0; 28122 _flag_k = FK_TEST; 28123 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 28124 eax = 0; /* 0x2B071276: xor eax, eax */ 28125 _cf = 0; 28126 _flag_k = FK_TEST; 28127 edi = edx; /* 0x2B071278: mov edi, edx */ 28128 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; } /* 0x2B07127A: repne scasb al, byte ptr es:[edi] */ 28129 ecx = ~ecx; /* 0x2B07127C: not ecx */ 28130 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 28131 ecx = ecx - 1; /* 0x2B07127E: dec ecx */ 28132 _flag_k = FK_DEC; 28133 PUSH32(esp, ecx); /* 0x2B07127F: push ecx */ 28134 ecx = MEM32(ebx + 0x28); /* 0x2B071280: mov ecx, dword ptr [ebx + 0x28] */ 28135 PUSH32(esp, edx); /* 0x2B071283: push edx */ 28136 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B071284: call dword ptr [0x2b0b5188] */ 28137 RECOMP_FLAGS_IN(); 28138 edx = ebp + 0xC; /* 0x2B07128A: lea edx, [ebp + 0xc] */ 28139 PUSH32(esp, edx); /* 0x2B07128D: push edx */ 28140 PUSH32(esp, esi); /* 0x2B07128E: push esi */ 28141 MEM32(ebp + 0xC) = 0; /* 0x2B07128F: mov dword ptr [ebp + 0xc], 0 */ 28142 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B071296: call dword ptr [0x2b0b5d6c] */ 28143 RECOMP_FLAGS_IN(); 28144 ecx = eax; /* 0x2B07129C: mov ecx, eax */ 28145 RECOMP_ICALL(MEM32(0x2B0B5DF4)); /* 0x2B07129E: call dword ptr [0x2b0b5df4] */ 28146 RECOMP_FLAGS_IN(); 28147 PUSH32(esp, 0x36u); /* 0x2B0712A4: push 0x36 */ 28148 PUSH32(esp, esi); /* 0x2B0712A6: push esi */ 28149 ecx = ebx; /* 0x2B0712A7: mov ecx, ebx */ 28150 RECOMP_ICALL(0x2B0735D0u); /* 0x2B0712A9: call 0x2b0735d0 */ /* not lifted */ 28151 RECOMP_FLAGS_IN(); 28152 MEM32(ebp + (-0x8)) = eax; /* 0x2B0712AE: mov dword ptr [ebp - 8], eax */ 28153 fp_push((double)(int32_t)MEM32(ebp + (-0x8))); /* 0x2B0712B1: fild dword ptr [ebp - 8] */ 28154 RECOMP_ICALL(0x2B0AB220u); /* 0x2B0712B4: call 0x2b0ab220 */ /* not lifted */ 28155 RECOMP_FLAGS_IN(); 28156 ecx = MEM32(ebx + 0x28); /* 0x2B0712B9: mov ecx, dword ptr [ebx + 0x28] */ 28157 PUSH32(esp, 0x13u); /* 0x2B0712BC: push 0x13 */ 28158 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0712BE: push -1 */ 28159 MEM32(ebp + (-0xC)) = eax; /* 0x2B0712C0: mov dword ptr [ebp - 0xc], eax */ 28160 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B0712C3: call dword ptr [0x2b0b5a74] */ 28161 RECOMP_FLAGS_IN(); 28162 esi = MEM32(ebx + 0x28); /* 0x2B0712C9: mov esi, dword ptr [ebx + 0x28] */ 28163 edx = MEM32(esi + 0x8); /* 0x2B0712CC: mov edx, dword ptr [esi + 8] */ 28164 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 28165 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0712CF: or ecx, 0xffffffff */ 28166 _cf = 0; 28167 _flag_k = FK_TEST; 28168 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 28169 eax = 0; /* 0x2B0712D2: xor eax, eax */ 28170 _cf = 0; 28171 _flag_k = FK_TEST; 28172 edi = 0x2B0EB844u; /* 0x2B0712D4: mov edi, 0x2b0eb844 */ 28173 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; } /* 0x2B0712D9: repne scasb al, byte ptr es:[edi] */ 28174 eax = MEM32(0x2B0B515C); /* 0x2B0712DB: mov eax, dword ptr [0x2b0b515c] */ 28175 ecx = ~ecx; /* 0x2B0712E0: not ecx */ 28176 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 28177 ecx = ecx - 1; /* 0x2B0712E2: dec ecx */ 28178 _flag_k = FK_DEC; 28179 edi = ecx; /* 0x2B0712E3: mov edi, ecx */ 28180 ecx = MEM32(eax); /* 0x2B0712E5: mov ecx, dword ptr [eax] */ 28181 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 28182 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 28183 ecx = ecx - edx; /* 0x2B0712E7: sub ecx, edx */ 28184 _flag_k = FK_CMP; 28185 /* cmp ecx, edi */ /* 0x2B0712E9: cmp ecx, edi */ 28186 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 28187 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 28188 _flag_k = FK_CMP; 28189 MEM32(ebp + (-0x8)) = esi; /* 0x2B0712EB: mov dword ptr [ebp - 8], esi */ 28190 if (CMP_A(_flag_a, _flag_b)) goto L_2B0712F6; /* 0x2B0712EE: ja 0x2b0712f6 */ 28191 L_2B0712F0: 28192 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0712F0: call dword ptr [0x2b0b51a8] */ 28193 RECOMP_FLAGS_IN(); 28194 L_2B0712F6: 28195 /* test edi, edi */ /* 0x2B0712F6: test edi, edi */ 28196 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 28197 _cf = 0; 28198 _flag_k = FK_TEST; 28199 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07133D; /* 0x2B0712F8: jbe 0x2b07133d */ 28200 L_2B0712FA: 28201 eax = MEM32(esi + 0x8); /* 0x2B0712FA: mov eax, dword ptr [esi + 8] */ 28202 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 28203 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 28204 eax = eax + edi; /* 0x2B0712FD: add eax, edi */ 28205 _flag_k = FK_ADD; 28206 PUSH32(esp, 0); /* 0x2B0712FF: push 0 */ 28207 PUSH32(esp, eax); /* 0x2B071301: push eax */ 28208 ecx = esi; /* 0x2B071302: mov ecx, esi */ 28209 MEM32(ebp + (-0x4)) = eax; /* 0x2B071304: mov dword ptr [ebp - 4], eax */ 28210 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B071307: call dword ptr [0x2b0b5154] */ 28211 RECOMP_FLAGS_IN(); 28212 /* test LO8(eax), LO8(eax) */ /* 0x2B07130D: test al, al */ 28213 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 28214 _cf = 0; 28215 _flag_k = FK_NARROW(FK_TEST, 24); 28216 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07133D; /* 0x2B07130F: je 0x2b07133d */ 28217 L_2B071311: 28218 eax = MEM32(ebp + (-0x8)); /* 0x2B071311: mov eax, dword ptr [ebp - 8] */ 28219 edx = MEM32(eax + 0x8); /* 0x2B071314: mov edx, dword ptr [eax + 8] */ 28220 ecx = edi; /* 0x2B071317: mov ecx, edi */ 28221 edi = MEM32(eax + 0x4); /* 0x2B071319: mov edi, dword ptr [eax + 4] */ 28222 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 28223 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 28224 edi = edi + edx; /* 0x2B07131C: add edi, edx */ 28225 _flag_k = FK_ADD; 28226 edx = ecx; /* 0x2B07131E: mov edx, ecx */ 28227 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B071320: shr ecx, 2 */ 28228 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 28229 ecx = ecx >> 2u; /* 0x2B071320: shr ecx, 2 */ 28230 esi = 0x2B0EB844u; /* 0x2B071323: mov esi, 0x2b0eb844 */ 28231 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071328: 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; } 28232 ecx = edx; /* 0x2B07132A: mov ecx, edx */ 28233 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 28234 ecx = ecx & 3; /* 0x2B07132C: and ecx, 3 */ 28235 _cf = 0; 28236 _flag_k = FK_TEST; 28237 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07132F: 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; } 28238 ecx = MEM32(ebp + (-0x4)); /* 0x2B071331: mov ecx, dword ptr [ebp - 4] */ 28239 PUSH32(esp, ecx); /* 0x2B071334: push ecx */ 28240 ecx = eax; /* 0x2B071335: mov ecx, eax */ 28241 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B071337: call dword ptr [0x2b0b5150] */ 28242 RECOMP_FLAGS_IN(); 28243 L_2B07133D: 28244 ecx = MEM32(ebx + 0x28); /* 0x2B07133D: mov ecx, dword ptr [ebx + 0x28] */ 28245 PUSH32(esp, 0x14u); /* 0x2B071340: push 0x14 */ 28246 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B071342: push -1 */ 28247 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B071344: call dword ptr [0x2b0b5a74] */ 28248 RECOMP_FLAGS_IN(); 28249 fp_push(*(float*)&MEM32(ebp + 0xC)); /* 0x2B07134A: fld dword ptr [ebp + 0xc] */ 28250 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B6858)); /* 0x2B07134D: fcomp dword ptr [0x2b0b6858] */ 28251 fp_pop(); 28252 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B071353: fnstsw ax */ 28253 /* test HI8(eax), 0x41u */ /* 0x2B071355: test ah, 0x41 */ 28254 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 28255 _cf = 0; 28256 _flag_k = FK_NARROW(FK_TEST, 24); 28257 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0713D5; /* 0x2B071358: jne 0x2b0713d5 */ 28258 L_2B07135A: 28259 edx = MEM32(0x2B0B515C); /* 0x2B07135A: mov edx, dword ptr [0x2b0b515c] */ 28260 esi = MEM32(ebx + 0x28); /* 0x2B071360: mov esi, dword ptr [ebx + 0x28] */ 28261 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 28262 eax = 0; /* 0x2B071363: xor eax, eax */ 28263 _cf = 0; 28264 _flag_k = FK_TEST; 28265 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 28266 ecx = ecx | 0xFFFFFFFFu; /* 0x2B071365: or ecx, 0xffffffff */ 28267 _cf = 0; 28268 _flag_k = FK_TEST; 28269 edi = 0x2B0EBA78u; /* 0x2B071368: mov edi, 0x2b0eba78 */ 28270 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; } /* 0x2B07136D: repne scasb al, byte ptr es:[edi] */ 28271 eax = MEM32(edx); /* 0x2B07136F: mov eax, dword ptr [edx] */ 28272 edx = MEM32(esi + 0x8); /* 0x2B071371: mov edx, dword ptr [esi + 8] */ 28273 ecx = ~ecx; /* 0x2B071374: not ecx */ 28274 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 28275 ecx = ecx - 1; /* 0x2B071376: dec ecx */ 28276 _flag_k = FK_DEC; 28277 edi = ecx; /* 0x2B071377: mov edi, ecx */ 28278 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 28279 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 28280 eax = eax - edx; /* 0x2B071379: sub eax, edx */ 28281 _flag_k = FK_CMP; 28282 /* cmp eax, edi */ /* 0x2B07137B: cmp eax, edi */ 28283 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 28284 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 28285 _flag_k = FK_CMP; 28286 MEM32(ebp + (-0x8)) = esi; /* 0x2B07137D: mov dword ptr [ebp - 8], esi */ 28287 if (CMP_A(_flag_a, _flag_b)) goto L_2B071388; /* 0x2B071380: ja 0x2b071388 */ 28288 L_2B071382: 28289 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B071382: call dword ptr [0x2b0b51a8] */ 28290 RECOMP_FLAGS_IN(); 28291 L_2B071388: 28292 /* test edi, edi */ /* 0x2B071388: test edi, edi */ 28293 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 28294 _cf = 0; 28295 _flag_k = FK_TEST; 28296 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071466; /* 0x2B07138A: jbe 0x2b071466 */ 28297 L_2B071390: 28298 edx = MEM32(esi + 0x8); /* 0x2B071390: mov edx, dword ptr [esi + 8] */ 28299 eax = edi; /* 0x2B071393: mov eax, edi */ 28300 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 28301 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 28302 eax = eax + edx; /* 0x2B071395: add eax, edx */ 28303 _flag_k = FK_ADD; 28304 PUSH32(esp, 0); /* 0x2B071397: push 0 */ 28305 PUSH32(esp, eax); /* 0x2B071399: push eax */ 28306 ecx = esi; /* 0x2B07139A: mov ecx, esi */ 28307 MEM32(ebp + (-0x4)) = eax; /* 0x2B07139C: mov dword ptr [ebp - 4], eax */ 28308 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07139F: call dword ptr [0x2b0b5154] */ 28309 RECOMP_FLAGS_IN(); 28310 /* test LO8(eax), LO8(eax) */ /* 0x2B0713A5: test al, al */ 28311 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 28312 _cf = 0; 28313 _flag_k = FK_NARROW(FK_TEST, 24); 28314 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071466; /* 0x2B0713A7: je 0x2b071466 */ 28315 L_2B0713AD: 28316 eax = MEM32(ebp + (-0x8)); /* 0x2B0713AD: mov eax, dword ptr [ebp - 8] */ 28317 edx = MEM32(eax + 0x8); /* 0x2B0713B0: mov edx, dword ptr [eax + 8] */ 28318 ecx = edi; /* 0x2B0713B3: mov ecx, edi */ 28319 edi = MEM32(eax + 0x4); /* 0x2B0713B5: mov edi, dword ptr [eax + 4] */ 28320 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 28321 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 28322 edi = edi + edx; /* 0x2B0713B8: add edi, edx */ 28323 _flag_k = FK_ADD; 28324 edx = ecx; /* 0x2B0713BA: mov edx, ecx */ 28325 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0713BC: shr ecx, 2 */ 28326 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 28327 ecx = ecx >> 2u; /* 0x2B0713BC: shr ecx, 2 */ 28328 esi = 0x2B0EBA78u; /* 0x2B0713BF: mov esi, 0x2b0eba78 */ 28329 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0713C4: 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; } 28330 ecx = edx; /* 0x2B0713C6: mov ecx, edx */ 28331 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 28332 ecx = ecx & 3; /* 0x2B0713C8: and ecx, 3 */ 28333 _cf = 0; 28334 _flag_k = FK_TEST; 28335 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0713CB: 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; } 28336 ecx = MEM32(ebp + (-0x4)); /* 0x2B0713CD: mov ecx, dword ptr [ebp - 4] */ 28337 goto L_2B07145D; /* 0x2B0713D0: jmp 0x2b07145d */ 28338 L_2B0713D5: 28339 edx = MEM32(ebp + (-0xC)); /* 0x2B0713D5: mov edx, dword ptr [ebp - 0xc] */ 28340 PUSH32(esp, edx); /* 0x2B0713D8: push edx */ 28341 PUSH32(esp, 0x2B0E7354u); /* 0x2B0713D9: push 0x2b0e7354 */ 28342 PUSH32(esp, 0x190u); /* 0x2B0713DE: push 0x190 */ 28343 PUSH32(esp, 0x2B0EEE84u); /* 0x2B0713E3: push 0x2b0eee84 */ 28344 RECOMP_ICALL(0x2B012180u); /* 0x2B0713E8: call 0x2b012180 */ /* not lifted */ 28345 RECOMP_FLAGS_IN(); 28346 esi = MEM32(ebx + 0x28); /* 0x2B0713ED: mov esi, dword ptr [ebx + 0x28] */ 28347 edx = MEM32(esi + 0x8); /* 0x2B0713F0: mov edx, dword ptr [esi + 8] */ 28348 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 28349 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0713F3: or ecx, 0xffffffff */ 28350 _cf = 0; 28351 _flag_k = FK_TEST; 28352 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 28353 eax = 0; /* 0x2B0713F6: xor eax, eax */ 28354 _cf = 0; 28355 _flag_k = FK_TEST; 28356 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 28357 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 28358 esp = esp + 0x10u; /* 0x2B0713F8: add esp, 0x10 */ 28359 _flag_k = FK_ADD; 28360 edi = 0x2B0EEE84u; /* 0x2B0713FB: mov edi, 0x2b0eee84 */ 28361 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; } /* 0x2B071400: repne scasb al, byte ptr es:[edi] */ 28362 eax = MEM32(0x2B0B515C); /* 0x2B071402: mov eax, dword ptr [0x2b0b515c] */ 28363 ecx = ~ecx; /* 0x2B071407: not ecx */ 28364 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 28365 ecx = ecx - 1; /* 0x2B071409: dec ecx */ 28366 _flag_k = FK_DEC; 28367 edi = ecx; /* 0x2B07140A: mov edi, ecx */ 28368 ecx = MEM32(eax); /* 0x2B07140C: mov ecx, dword ptr [eax] */ 28369 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 28370 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 28371 ecx = ecx - edx; /* 0x2B07140E: sub ecx, edx */ 28372 _flag_k = FK_CMP; 28373 /* cmp ecx, edi */ /* 0x2B071410: cmp ecx, edi */ 28374 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 28375 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 28376 _flag_k = FK_CMP; 28377 MEM32(ebp + (-0xC)) = esi; /* 0x2B071412: mov dword ptr [ebp - 0xc], esi */ 28378 if (CMP_A(_flag_a, _flag_b)) goto L_2B07141D; /* 0x2B071415: ja 0x2b07141d */ 28379 L_2B071417: 28380 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B071417: call dword ptr [0x2b0b51a8] */ 28381 RECOMP_FLAGS_IN(); 28382 L_2B07141D: 28383 /* test edi, edi */ /* 0x2B07141D: test edi, edi */ 28384 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 28385 _cf = 0; 28386 _flag_k = FK_TEST; 28387 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071466; /* 0x2B07141F: jbe 0x2b071466 */ 28388 L_2B071421: 28389 edx = MEM32(esi + 0x8); /* 0x2B071421: mov edx, dword ptr [esi + 8] */ 28390 eax = edi; /* 0x2B071424: mov eax, edi */ 28391 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 28392 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 28393 eax = eax + edx; /* 0x2B071426: add eax, edx */ 28394 _flag_k = FK_ADD; 28395 PUSH32(esp, 0); /* 0x2B071428: push 0 */ 28396 PUSH32(esp, eax); /* 0x2B07142A: push eax */ 28397 ecx = esi; /* 0x2B07142B: mov ecx, esi */ 28398 MEM32(ebp + (-0x8)) = eax; /* 0x2B07142D: mov dword ptr [ebp - 8], eax */ 28399 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B071430: call dword ptr [0x2b0b5154] */ 28400 RECOMP_FLAGS_IN(); 28401 /* test LO8(eax), LO8(eax) */ /* 0x2B071436: test al, al */ 28402 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 28403 _cf = 0; 28404 _flag_k = FK_NARROW(FK_TEST, 24); 28405 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071466; /* 0x2B071438: je 0x2b071466 */ 28406 L_2B07143A: 28407 eax = MEM32(ebp + (-0xC)); /* 0x2B07143A: mov eax, dword ptr [ebp - 0xc] */ 28408 edx = MEM32(eax + 0x8); /* 0x2B07143D: mov edx, dword ptr [eax + 8] */ 28409 ecx = edi; /* 0x2B071440: mov ecx, edi */ 28410 edi = MEM32(eax + 0x4); /* 0x2B071442: mov edi, dword ptr [eax + 4] */ 28411 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 28412 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 28413 edi = edi + edx; /* 0x2B071445: add edi, edx */ 28414 _flag_k = FK_ADD; 28415 edx = ecx; /* 0x2B071447: mov edx, ecx */ 28416 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B071449: shr ecx, 2 */ 28417 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 28418 ecx = ecx >> 2u; /* 0x2B071449: shr ecx, 2 */ 28419 esi = 0x2B0EEE84u; /* 0x2B07144C: mov esi, 0x2b0eee84 */ 28420 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071451: 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; } 28421 ecx = edx; /* 0x2B071453: mov ecx, edx */ 28422 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 28423 ecx = ecx & 3; /* 0x2B071455: and ecx, 3 */ 28424 _cf = 0; 28425 _flag_k = FK_TEST; 28426 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071458: 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; } 28427 ecx = MEM32(ebp + (-0x8)); /* 0x2B07145A: mov ecx, dword ptr [ebp - 8] */ 28428 L_2B07145D: 28429 PUSH32(esp, ecx); /* 0x2B07145D: push ecx */ 28430 ecx = eax; /* 0x2B07145E: mov ecx, eax */ 28431 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B071460: call dword ptr [0x2b0b5150] */ 28432 RECOMP_FLAGS_IN(); 28433 L_2B071466: 28434 ecx = MEM32(ebx + 0x28); /* 0x2B071466: mov ecx, dword ptr [ebx + 0x28] */ 28435 PUSH32(esp, 0x13u); /* 0x2B071469: push 0x13 */ 28436 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07146B: push -1 */ 28437 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B07146D: call dword ptr [0x2b0b5a74] */ 28438 RECOMP_FLAGS_IN(); 28439 edx = MEM32(0x2B0B515C); /* 0x2B071473: mov edx, dword ptr [0x2b0b515c] */ 28440 esi = MEM32(ebx + 0x28); /* 0x2B071479: mov esi, dword ptr [ebx + 0x28] */ 28441 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 28442 eax = 0; /* 0x2B07147C: xor eax, eax */ 28443 _cf = 0; 28444 _flag_k = FK_TEST; 28445 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 28446 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07147E: or ecx, 0xffffffff */ 28447 _cf = 0; 28448 _flag_k = FK_TEST; 28449 edi = 0x2B0EBA68u; /* 0x2B071481: mov edi, 0x2b0eba68 */ 28450 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; } /* 0x2B071486: repne scasb al, byte ptr es:[edi] */ 28451 eax = MEM32(edx); /* 0x2B071488: mov eax, dword ptr [edx] */ 28452 edx = MEM32(esi + 0x8); /* 0x2B07148A: mov edx, dword ptr [esi + 8] */ 28453 ecx = ~ecx; /* 0x2B07148D: not ecx */ 28454 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 28455 ecx = ecx - 1; /* 0x2B07148F: dec ecx */ 28456 _flag_k = FK_DEC; 28457 edi = ecx; /* 0x2B071490: mov edi, ecx */ 28458 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 28459 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 28460 eax = eax - edx; /* 0x2B071492: sub eax, edx */ 28461 _flag_k = FK_CMP; 28462 /* cmp eax, edi */ /* 0x2B071494: cmp eax, edi */ 28463 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 28464 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 28465 _flag_k = FK_CMP; 28466 MEM32(ebp + (-0xC)) = esi; /* 0x2B071496: mov dword ptr [ebp - 0xc], esi */ 28467 if (CMP_A(_flag_a, _flag_b)) goto L_2B0714A1; /* 0x2B071499: ja 0x2b0714a1 */ 28468 L_2B07149B: 28469 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07149B: call dword ptr [0x2b0b51a8] */ 28470 RECOMP_FLAGS_IN(); 28471 L_2B0714A1: 28472 /* test edi, edi */ /* 0x2B0714A1: test edi, edi */ 28473 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 28474 _cf = 0; 28475 _flag_k = FK_TEST; 28476 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0714EA; /* 0x2B0714A3: jbe 0x2b0714ea */ 28477 L_2B0714A5: 28478 edx = MEM32(esi + 0x8); /* 0x2B0714A5: mov edx, dword ptr [esi + 8] */ 28479 eax = edi; /* 0x2B0714A8: mov eax, edi */ 28480 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 28481 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 28482 eax = eax + edx; /* 0x2B0714AA: add eax, edx */ 28483 _flag_k = FK_ADD; 28484 PUSH32(esp, 0); /* 0x2B0714AC: push 0 */ 28485 PUSH32(esp, eax); /* 0x2B0714AE: push eax */ 28486 ecx = esi; /* 0x2B0714AF: mov ecx, esi */ 28487 MEM32(ebp + (-0x8)) = eax; /* 0x2B0714B1: mov dword ptr [ebp - 8], eax */ 28488 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0714B4: call dword ptr [0x2b0b5154] */ 28489 RECOMP_FLAGS_IN(); 28490 /* test LO8(eax), LO8(eax) */ /* 0x2B0714BA: test al, al */ 28491 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 28492 _cf = 0; 28493 _flag_k = FK_NARROW(FK_TEST, 24); 28494 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0714EA; /* 0x2B0714BC: je 0x2b0714ea */ 28495 L_2B0714BE: 28496 eax = MEM32(ebp + (-0xC)); /* 0x2B0714BE: mov eax, dword ptr [ebp - 0xc] */ 28497 edx = MEM32(eax + 0x8); /* 0x2B0714C1: mov edx, dword ptr [eax + 8] */ 28498 ecx = edi; /* 0x2B0714C4: mov ecx, edi */ 28499 edi = MEM32(eax + 0x4); /* 0x2B0714C6: mov edi, dword ptr [eax + 4] */ 28500 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 28501 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 28502 edi = edi + edx; /* 0x2B0714C9: add edi, edx */ 28503 _flag_k = FK_ADD; 28504 edx = ecx; /* 0x2B0714CB: mov edx, ecx */ 28505 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0714CD: shr ecx, 2 */ 28506 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 28507 ecx = ecx >> 2u; /* 0x2B0714CD: shr ecx, 2 */ 28508 esi = 0x2B0EBA68u; /* 0x2B0714D0: mov esi, 0x2b0eba68 */ 28509 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0714D5: 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; } 28510 ecx = edx; /* 0x2B0714D7: mov ecx, edx */ 28511 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 28512 ecx = ecx & 3; /* 0x2B0714D9: and ecx, 3 */ 28513 _cf = 0; 28514 _flag_k = FK_TEST; 28515 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0714DC: 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; } 28516 ecx = MEM32(ebp + (-0x8)); /* 0x2B0714DE: mov ecx, dword ptr [ebp - 8] */ 28517 PUSH32(esp, ecx); /* 0x2B0714E1: push ecx */ 28518 ecx = eax; /* 0x2B0714E2: mov ecx, eax */ 28519 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B0714E4: call dword ptr [0x2b0b5150] */ 28520 RECOMP_FLAGS_IN(); 28521 L_2B0714EA: 28522 ecx = MEM32(ebx + 0x28); /* 0x2B0714EA: mov ecx, dword ptr [ebx + 0x28] */ 28523 PUSH32(esp, 0x14u); /* 0x2B0714ED: push 0x14 */ 28524 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0714EF: push -1 */ 28525 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B0714F1: call dword ptr [0x2b0b5a74] */ 28526 RECOMP_FLAGS_IN(); 28527 fp_push(*(float*)&MEM32(ebp + 0xC)); /* 0x2B0714F7: fld dword ptr [ebp + 0xc] */ 28528 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B0714FA: fcomp dword ptr [0x2b0b61b8] */ 28529 fp_pop(); 28530 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B071500: fnstsw ax */ 28531 /* test HI8(eax), 0x41u */ /* 0x2B071502: test ah, 0x41 */ 28532 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 28533 _cf = 0; 28534 _flag_k = FK_NARROW(FK_TEST, 24); 28535 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071580; /* 0x2B071505: je 0x2b071580 */ 28536 L_2B071507: 28537 edx = MEM32(0x2B0B515C); /* 0x2B071507: mov edx, dword ptr [0x2b0b515c] */ 28538 esi = MEM32(ebx + 0x28); /* 0x2B07150D: mov esi, dword ptr [ebx + 0x28] */ 28539 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 28540 eax = 0; /* 0x2B071510: xor eax, eax */ 28541 _cf = 0; 28542 _flag_k = FK_TEST; 28543 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 28544 ecx = ecx | 0xFFFFFFFFu; /* 0x2B071512: or ecx, 0xffffffff */ 28545 _cf = 0; 28546 _flag_k = FK_TEST; 28547 edi = 0x2B0EBA4Cu; /* 0x2B071515: mov edi, 0x2b0eba4c */ 28548 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; } /* 0x2B07151A: repne scasb al, byte ptr es:[edi] */ 28549 eax = MEM32(edx); /* 0x2B07151C: mov eax, dword ptr [edx] */ 28550 edx = MEM32(esi + 0x8); /* 0x2B07151E: mov edx, dword ptr [esi + 8] */ 28551 ecx = ~ecx; /* 0x2B071521: not ecx */ 28552 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 28553 ecx = ecx - 1; /* 0x2B071523: dec ecx */ 28554 _flag_k = FK_DEC; 28555 edi = ecx; /* 0x2B071524: mov edi, ecx */ 28556 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 28557 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 28558 eax = eax - edx; /* 0x2B071526: sub eax, edx */ 28559 _flag_k = FK_CMP; 28560 /* cmp eax, edi */ /* 0x2B071528: cmp eax, edi */ 28561 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 28562 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 28563 _flag_k = FK_CMP; 28564 MEM32(ebp + (-0xC)) = esi; /* 0x2B07152A: mov dword ptr [ebp - 0xc], esi */ 28565 if (CMP_A(_flag_a, _flag_b)) goto L_2B071535; /* 0x2B07152D: ja 0x2b071535 */ 28566 L_2B07152F: 28567 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07152F: call dword ptr [0x2b0b51a8] */ 28568 RECOMP_FLAGS_IN(); 28569 L_2B071535: 28570 /* test edi, edi */ /* 0x2B071535: test edi, edi */ 28571 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 28572 _cf = 0; 28573 _flag_k = FK_TEST; 28574 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07189E; /* 0x2B071537: jbe 0x2b07189e */ 28575 L_2B07153D: 28576 eax = MEM32(esi + 0x8); /* 0x2B07153D: mov eax, dword ptr [esi + 8] */ 28577 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 28578 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 28579 eax = eax + edi; /* 0x2B071540: add eax, edi */ 28580 _flag_k = FK_ADD; 28581 PUSH32(esp, 0); /* 0x2B071542: push 0 */ 28582 PUSH32(esp, eax); /* 0x2B071544: push eax */ 28583 ecx = esi; /* 0x2B071545: mov ecx, esi */ 28584 MEM32(ebp + (-0x8)) = eax; /* 0x2B071547: mov dword ptr [ebp - 8], eax */ 28585 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07154A: call dword ptr [0x2b0b5154] */ 28586 RECOMP_FLAGS_IN(); 28587 /* test LO8(eax), LO8(eax) */ /* 0x2B071550: test al, al */ 28588 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 28589 _cf = 0; 28590 _flag_k = FK_NARROW(FK_TEST, 24); 28591 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07189E; /* 0x2B071552: je 0x2b07189e */ 28592 L_2B071558: 28593 eax = MEM32(ebp + (-0xC)); /* 0x2B071558: mov eax, dword ptr [ebp - 0xc] */ 28594 edx = MEM32(eax + 0x8); /* 0x2B07155B: mov edx, dword ptr [eax + 8] */ 28595 ecx = edi; /* 0x2B07155E: mov ecx, edi */ 28596 edi = MEM32(eax + 0x4); /* 0x2B071560: mov edi, dword ptr [eax + 4] */ 28597 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 28598 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 28599 edi = edi + edx; /* 0x2B071563: add edi, edx */ 28600 _flag_k = FK_ADD; 28601 edx = ecx; /* 0x2B071565: mov edx, ecx */ 28602 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B071567: shr ecx, 2 */ 28603 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 28604 ecx = ecx >> 2u; /* 0x2B071567: shr ecx, 2 */ 28605 esi = 0x2B0EBA4Cu; /* 0x2B07156A: mov esi, 0x2b0eba4c */ 28606 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07156F: 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; } 28607 ecx = edx; /* 0x2B071571: mov ecx, edx */ 28608 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 28609 ecx = ecx & 3; /* 0x2B071573: and ecx, 3 */ 28610 _cf = 0; 28611 _flag_k = FK_TEST; 28612 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071576: 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; } 28613 ecx = MEM32(ebp + (-0x8)); /* 0x2B071578: mov ecx, dword ptr [ebp - 8] */ 28614 goto L_2B071895; /* 0x2B07157B: jmp 0x2b071895 */ 28615 L_2B071580: 28616 fp_push(*(float*)&MEM32(ebp + 0xC)); /* 0x2B071580: fld dword ptr [ebp + 0xc] */ 28617 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B716C)); /* 0x2B071583: fcomp dword ptr [0x2b0b716c] */ 28618 fp_pop(); 28619 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B071589: fnstsw ax */ 28620 /* test HI8(eax), 1 */ /* 0x2B07158B: test ah, 1 */ 28621 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 28622 _cf = 0; 28623 _flag_k = FK_NARROW(FK_TEST, 24); 28624 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071609; /* 0x2B07158E: je 0x2b071609 */ 28625 L_2B071590: 28626 edx = MEM32(0x2B0B515C); /* 0x2B071590: mov edx, dword ptr [0x2b0b515c] */ 28627 esi = MEM32(ebx + 0x28); /* 0x2B071596: mov esi, dword ptr [ebx + 0x28] */ 28628 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 28629 eax = 0; /* 0x2B071599: xor eax, eax */ 28630 _cf = 0; 28631 _flag_k = FK_TEST; 28632 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 28633 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07159B: or ecx, 0xffffffff */ 28634 _cf = 0; 28635 _flag_k = FK_TEST; 28636 edi = 0x2B0EBA1Cu; /* 0x2B07159E: mov edi, 0x2b0eba1c */ 28637 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; } /* 0x2B0715A3: repne scasb al, byte ptr es:[edi] */ 28638 eax = MEM32(edx); /* 0x2B0715A5: mov eax, dword ptr [edx] */ 28639 edx = MEM32(esi + 0x8); /* 0x2B0715A7: mov edx, dword ptr [esi + 8] */ 28640 ecx = ~ecx; /* 0x2B0715AA: not ecx */ 28641 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 28642 ecx = ecx - 1; /* 0x2B0715AC: dec ecx */ 28643 _flag_k = FK_DEC; 28644 edi = ecx; /* 0x2B0715AD: mov edi, ecx */ 28645 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 28646 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 28647 eax = eax - edx; /* 0x2B0715AF: sub eax, edx */ 28648 _flag_k = FK_CMP; 28649 /* cmp eax, edi */ /* 0x2B0715B1: cmp eax, edi */ 28650 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 28651 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 28652 _flag_k = FK_CMP; 28653 MEM32(ebp + (-0xC)) = esi; /* 0x2B0715B3: mov dword ptr [ebp - 0xc], esi */ 28654 if (CMP_A(_flag_a, _flag_b)) goto L_2B0715BE; /* 0x2B0715B6: ja 0x2b0715be */ 28655 L_2B0715B8: 28656 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0715B8: call dword ptr [0x2b0b51a8] */ 28657 RECOMP_FLAGS_IN(); 28658 L_2B0715BE: 28659 /* test edi, edi */ /* 0x2B0715BE: test edi, edi */ 28660 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 28661 _cf = 0; 28662 _flag_k = FK_TEST; 28663 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07189E; /* 0x2B0715C0: jbe 0x2b07189e */ 28664 L_2B0715C6: 28665 eax = MEM32(esi + 0x8); /* 0x2B0715C6: mov eax, dword ptr [esi + 8] */ 28666 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 28667 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 28668 eax = eax + edi; /* 0x2B0715C9: add eax, edi */ 28669 _flag_k = FK_ADD; 28670 PUSH32(esp, 0); /* 0x2B0715CB: push 0 */ 28671 PUSH32(esp, eax); /* 0x2B0715CD: push eax */ 28672 ecx = esi; /* 0x2B0715CE: mov ecx, esi */ 28673 MEM32(ebp + (-0x8)) = eax; /* 0x2B0715D0: mov dword ptr [ebp - 8], eax */ 28674 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0715D3: call dword ptr [0x2b0b5154] */ 28675 RECOMP_FLAGS_IN(); 28676 /* test LO8(eax), LO8(eax) */ /* 0x2B0715D9: test al, al */ 28677 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 28678 _cf = 0; 28679 _flag_k = FK_NARROW(FK_TEST, 24); 28680 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07189E; /* 0x2B0715DB: je 0x2b07189e */ 28681 L_2B0715E1: 28682 eax = MEM32(ebp + (-0xC)); /* 0x2B0715E1: mov eax, dword ptr [ebp - 0xc] */ 28683 edx = MEM32(eax + 0x8); /* 0x2B0715E4: mov edx, dword ptr [eax + 8] */ 28684 ecx = edi; /* 0x2B0715E7: mov ecx, edi */ 28685 edi = MEM32(eax + 0x4); /* 0x2B0715E9: mov edi, dword ptr [eax + 4] */ 28686 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 28687 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 28688 edi = edi + edx; /* 0x2B0715EC: add edi, edx */ 28689 _flag_k = FK_ADD; 28690 edx = ecx; /* 0x2B0715EE: mov edx, ecx */ 28691 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0715F0: shr ecx, 2 */ 28692 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 28693 ecx = ecx >> 2u; /* 0x2B0715F0: shr ecx, 2 */ 28694 esi = 0x2B0EBA1Cu; /* 0x2B0715F3: mov esi, 0x2b0eba1c */ 28695 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0715F8: 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; } 28696 ecx = edx; /* 0x2B0715FA: mov ecx, edx */ 28697 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 28698 ecx = ecx & 3; /* 0x2B0715FC: and ecx, 3 */ 28699 _cf = 0; 28700 _flag_k = FK_TEST; 28701 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0715FF: 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; } 28702 ecx = MEM32(ebp + (-0x8)); /* 0x2B071601: mov ecx, dword ptr [ebp - 8] */ 28703 goto L_2B071895; /* 0x2B071604: jmp 0x2b071895 */ 28704 L_2B071609: 28705 fp_push(*(float*)&MEM32(ebp + 0xC)); /* 0x2B071609: fld dword ptr [ebp + 0xc] */ 28706 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B7168)); /* 0x2B07160C: fcomp dword ptr [0x2b0b7168] */ 28707 fp_pop(); 28708 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B071612: fnstsw ax */ 28709 /* test HI8(eax), 1 */ /* 0x2B071614: test ah, 1 */ 28710 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 28711 _cf = 0; 28712 _flag_k = FK_NARROW(FK_TEST, 24); 28713 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071692; /* 0x2B071617: je 0x2b071692 */ 28714 L_2B071619: 28715 edx = MEM32(0x2B0B515C); /* 0x2B071619: mov edx, dword ptr [0x2b0b515c] */ 28716 esi = MEM32(ebx + 0x28); /* 0x2B07161F: mov esi, dword ptr [ebx + 0x28] */ 28717 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 28718 eax = 0; /* 0x2B071622: xor eax, eax */ 28719 _cf = 0; 28720 _flag_k = FK_TEST; 28721 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 28722 ecx = ecx | 0xFFFFFFFFu; /* 0x2B071624: or ecx, 0xffffffff */ 28723 _cf = 0; 28724 _flag_k = FK_TEST; 28725 edi = 0x2B0EB9F4u; /* 0x2B071627: mov edi, 0x2b0eb9f4 */ 28726 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; } /* 0x2B07162C: repne scasb al, byte ptr es:[edi] */ 28727 eax = MEM32(edx); /* 0x2B07162E: mov eax, dword ptr [edx] */ 28728 edx = MEM32(esi + 0x8); /* 0x2B071630: mov edx, dword ptr [esi + 8] */ 28729 ecx = ~ecx; /* 0x2B071633: not ecx */ 28730 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 28731 ecx = ecx - 1; /* 0x2B071635: dec ecx */ 28732 _flag_k = FK_DEC; 28733 edi = ecx; /* 0x2B071636: mov edi, ecx */ 28734 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 28735 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 28736 eax = eax - edx; /* 0x2B071638: sub eax, edx */ 28737 _flag_k = FK_CMP; 28738 /* cmp eax, edi */ /* 0x2B07163A: cmp eax, edi */ 28739 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 28740 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 28741 _flag_k = FK_CMP; 28742 MEM32(ebp + (-0xC)) = esi; /* 0x2B07163C: mov dword ptr [ebp - 0xc], esi */ 28743 if (CMP_A(_flag_a, _flag_b)) goto L_2B071647; /* 0x2B07163F: ja 0x2b071647 */ 28744 L_2B071641: 28745 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B071641: call dword ptr [0x2b0b51a8] */ 28746 RECOMP_FLAGS_IN(); 28747 L_2B071647: 28748 /* test edi, edi */ /* 0x2B071647: test edi, edi */ 28749 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 28750 _cf = 0; 28751 _flag_k = FK_TEST; 28752 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07189E; /* 0x2B071649: jbe 0x2b07189e */ 28753 L_2B07164F: 28754 eax = MEM32(esi + 0x8); /* 0x2B07164F: mov eax, dword ptr [esi + 8] */ 28755 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 28756 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 28757 eax = eax + edi; /* 0x2B071652: add eax, edi */ 28758 _flag_k = FK_ADD; 28759 PUSH32(esp, 0); /* 0x2B071654: push 0 */ 28760 PUSH32(esp, eax); /* 0x2B071656: push eax */ 28761 ecx = esi; /* 0x2B071657: mov ecx, esi */ 28762 MEM32(ebp + (-0x8)) = eax; /* 0x2B071659: mov dword ptr [ebp - 8], eax */ 28763 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07165C: call dword ptr [0x2b0b5154] */ 28764 RECOMP_FLAGS_IN(); 28765 /* test LO8(eax), LO8(eax) */ /* 0x2B071662: test al, al */ 28766 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 28767 _cf = 0; 28768 _flag_k = FK_NARROW(FK_TEST, 24); 28769 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07189E; /* 0x2B071664: je 0x2b07189e */ 28770 L_2B07166A: 28771 eax = MEM32(ebp + (-0xC)); /* 0x2B07166A: mov eax, dword ptr [ebp - 0xc] */ 28772 edx = MEM32(eax + 0x8); /* 0x2B07166D: mov edx, dword ptr [eax + 8] */ 28773 ecx = edi; /* 0x2B071670: mov ecx, edi */ 28774 edi = MEM32(eax + 0x4); /* 0x2B071672: mov edi, dword ptr [eax + 4] */ 28775 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 28776 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 28777 edi = edi + edx; /* 0x2B071675: add edi, edx */ 28778 _flag_k = FK_ADD; 28779 edx = ecx; /* 0x2B071677: mov edx, ecx */ 28780 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B071679: shr ecx, 2 */ 28781 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 28782 ecx = ecx >> 2u; /* 0x2B071679: shr ecx, 2 */ 28783 esi = 0x2B0EB9F4u; /* 0x2B07167C: mov esi, 0x2b0eb9f4 */ 28784 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071681: 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; } 28785 ecx = edx; /* 0x2B071683: mov ecx, edx */ 28786 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 28787 ecx = ecx & 3; /* 0x2B071685: and ecx, 3 */ 28788 _cf = 0; 28789 _flag_k = FK_TEST; 28790 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071688: 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; } 28791 ecx = MEM32(ebp + (-0x8)); /* 0x2B07168A: mov ecx, dword ptr [ebp - 8] */ 28792 goto L_2B071895; /* 0x2B07168D: jmp 0x2b071895 */ 28793 L_2B071692: 28794 fp_push(*(float*)&MEM32(ebp + 0xC)); /* 0x2B071692: fld dword ptr [ebp + 0xc] */ 28795 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B7164)); /* 0x2B071695: fcomp dword ptr [0x2b0b7164] */ 28796 fp_pop(); 28797 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B07169B: fnstsw ax */ 28798 /* test HI8(eax), 1 */ /* 0x2B07169D: test ah, 1 */ 28799 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 28800 _cf = 0; 28801 _flag_k = FK_NARROW(FK_TEST, 24); 28802 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07171D; /* 0x2B0716A0: je 0x2b07171d */ 28803 L_2B0716A2: 28804 edx = MEM32(0x2B0B515C); /* 0x2B0716A2: mov edx, dword ptr [0x2b0b515c] */ 28805 esi = MEM32(ebx + 0x28); /* 0x2B0716A8: mov esi, dword ptr [ebx + 0x28] */ 28806 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 28807 eax = 0; /* 0x2B0716AB: xor eax, eax */ 28808 _cf = 0; 28809 _flag_k = FK_TEST; 28810 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 28811 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0716AD: or ecx, 0xffffffff */ 28812 _cf = 0; 28813 _flag_k = FK_TEST; 28814 edi = 0x2B0EB9C8u; /* 0x2B0716B0: mov edi, 0x2b0eb9c8 */ 28815 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; } /* 0x2B0716B5: repne scasb al, byte ptr es:[edi] */ 28816 eax = MEM32(edx); /* 0x2B0716B7: mov eax, dword ptr [edx] */ 28817 edx = MEM32(esi + 0x8); /* 0x2B0716B9: mov edx, dword ptr [esi + 8] */ 28818 ecx = ~ecx; /* 0x2B0716BC: not ecx */ 28819 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 28820 ecx = ecx - 1; /* 0x2B0716BE: dec ecx */ 28821 _flag_k = FK_DEC; 28822 edi = ecx; /* 0x2B0716BF: mov edi, ecx */ 28823 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 28824 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 28825 eax = eax - edx; /* 0x2B0716C1: sub eax, edx */ 28826 _flag_k = FK_CMP; 28827 /* cmp eax, edi */ /* 0x2B0716C3: cmp eax, edi */ 28828 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 28829 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 28830 _flag_k = FK_CMP; 28831 MEM32(ebp + (-0xC)) = esi; /* 0x2B0716C5: mov dword ptr [ebp - 0xc], esi */ 28832 if (CMP_A(_flag_a, _flag_b)) goto L_2B0716D0; /* 0x2B0716C8: ja 0x2b0716d0 */ 28833 L_2B0716CA: 28834 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0716CA: call dword ptr [0x2b0b51a8] */ 28835 RECOMP_FLAGS_IN(); 28836 L_2B0716D0: 28837 /* test edi, edi */ /* 0x2B0716D0: test edi, edi */ 28838 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 28839 _cf = 0; 28840 _flag_k = FK_TEST; 28841 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07189E; /* 0x2B0716D2: jbe 0x2b07189e */ 28842 L_2B0716D8: 28843 edx = MEM32(esi + 0x8); /* 0x2B0716D8: mov edx, dword ptr [esi + 8] */ 28844 eax = edi; /* 0x2B0716DB: mov eax, edi */ 28845 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 28846 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 28847 eax = eax + edx; /* 0x2B0716DD: add eax, edx */ 28848 _flag_k = FK_ADD; 28849 PUSH32(esp, 0); /* 0x2B0716DF: push 0 */ 28850 PUSH32(esp, eax); /* 0x2B0716E1: push eax */ 28851 ecx = esi; /* 0x2B0716E2: mov ecx, esi */ 28852 MEM32(ebp + (-0x8)) = eax; /* 0x2B0716E4: mov dword ptr [ebp - 8], eax */ 28853 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0716E7: call dword ptr [0x2b0b5154] */ 28854 RECOMP_FLAGS_IN(); 28855 /* test LO8(eax), LO8(eax) */ /* 0x2B0716ED: test al, al */ 28856 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 28857 _cf = 0; 28858 _flag_k = FK_NARROW(FK_TEST, 24); 28859 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07189E; /* 0x2B0716EF: je 0x2b07189e */ 28860 L_2B0716F5: 28861 eax = MEM32(ebp + (-0xC)); /* 0x2B0716F5: mov eax, dword ptr [ebp - 0xc] */ 28862 edx = MEM32(eax + 0x8); /* 0x2B0716F8: mov edx, dword ptr [eax + 8] */ 28863 ecx = edi; /* 0x2B0716FB: mov ecx, edi */ 28864 edi = MEM32(eax + 0x4); /* 0x2B0716FD: mov edi, dword ptr [eax + 4] */ 28865 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 28866 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 28867 edi = edi + edx; /* 0x2B071700: add edi, edx */ 28868 _flag_k = FK_ADD; 28869 edx = ecx; /* 0x2B071702: mov edx, ecx */ 28870 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B071704: shr ecx, 2 */ 28871 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 28872 ecx = ecx >> 2u; /* 0x2B071704: shr ecx, 2 */ 28873 esi = 0x2B0EB9C8u; /* 0x2B071707: mov esi, 0x2b0eb9c8 */ 28874 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07170C: 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; } 28875 ecx = edx; /* 0x2B07170E: mov ecx, edx */ 28876 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 28877 ecx = ecx & 3; /* 0x2B071710: and ecx, 3 */ 28878 _cf = 0; 28879 _flag_k = FK_TEST; 28880 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071713: 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; } 28881 ecx = MEM32(ebp + (-0x8)); /* 0x2B071715: mov ecx, dword ptr [ebp - 8] */ 28882 goto L_2B071895; /* 0x2B071718: jmp 0x2b071895 */ 28883 L_2B07171D: 28884 fp_push(*(float*)&MEM32(ebp + 0xC)); /* 0x2B07171D: fld dword ptr [ebp + 0xc] */ 28885 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B7160)); /* 0x2B071720: fcomp dword ptr [0x2b0b7160] */ 28886 fp_pop(); 28887 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B071726: fnstsw ax */ 28888 /* test HI8(eax), 1 */ /* 0x2B071728: test ah, 1 */ 28889 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 28890 _cf = 0; 28891 _flag_k = FK_NARROW(FK_TEST, 24); 28892 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0717A6; /* 0x2B07172B: je 0x2b0717a6 */ 28893 L_2B07172D: 28894 edx = MEM32(0x2B0B515C); /* 0x2B07172D: mov edx, dword ptr [0x2b0b515c] */ 28895 esi = MEM32(ebx + 0x28); /* 0x2B071733: mov esi, dword ptr [ebx + 0x28] */ 28896 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 28897 eax = 0; /* 0x2B071736: xor eax, eax */ 28898 _cf = 0; 28899 _flag_k = FK_TEST; 28900 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 28901 ecx = ecx | 0xFFFFFFFFu; /* 0x2B071738: or ecx, 0xffffffff */ 28902 _cf = 0; 28903 _flag_k = FK_TEST; 28904 edi = 0x2B0EB984u; /* 0x2B07173B: mov edi, 0x2b0eb984 */ 28905 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; } /* 0x2B071740: repne scasb al, byte ptr es:[edi] */ 28906 eax = MEM32(edx); /* 0x2B071742: mov eax, dword ptr [edx] */ 28907 edx = MEM32(esi + 0x8); /* 0x2B071744: mov edx, dword ptr [esi + 8] */ 28908 ecx = ~ecx; /* 0x2B071747: not ecx */ 28909 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 28910 ecx = ecx - 1; /* 0x2B071749: dec ecx */ 28911 _flag_k = FK_DEC; 28912 edi = ecx; /* 0x2B07174A: mov edi, ecx */ 28913 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 28914 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 28915 eax = eax - edx; /* 0x2B07174C: sub eax, edx */ 28916 _flag_k = FK_CMP; 28917 /* cmp eax, edi */ /* 0x2B07174E: cmp eax, edi */ 28918 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 28919 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 28920 _flag_k = FK_CMP; 28921 MEM32(ebp + (-0xC)) = esi; /* 0x2B071750: mov dword ptr [ebp - 0xc], esi */ 28922 if (CMP_A(_flag_a, _flag_b)) goto L_2B07175B; /* 0x2B071753: ja 0x2b07175b */ 28923 L_2B071755: 28924 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B071755: call dword ptr [0x2b0b51a8] */ 28925 RECOMP_FLAGS_IN(); 28926 L_2B07175B: 28927 /* test edi, edi */ /* 0x2B07175B: test edi, edi */ 28928 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 28929 _cf = 0; 28930 _flag_k = FK_TEST; 28931 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07189E; /* 0x2B07175D: jbe 0x2b07189e */ 28932 L_2B071763: 28933 eax = MEM32(esi + 0x8); /* 0x2B071763: mov eax, dword ptr [esi + 8] */ 28934 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 28935 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 28936 eax = eax + edi; /* 0x2B071766: add eax, edi */ 28937 _flag_k = FK_ADD; 28938 PUSH32(esp, 0); /* 0x2B071768: push 0 */ 28939 PUSH32(esp, eax); /* 0x2B07176A: push eax */ 28940 ecx = esi; /* 0x2B07176B: mov ecx, esi */ 28941 MEM32(ebp + (-0x8)) = eax; /* 0x2B07176D: mov dword ptr [ebp - 8], eax */ 28942 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B071770: call dword ptr [0x2b0b5154] */ 28943 RECOMP_FLAGS_IN(); 28944 /* test LO8(eax), LO8(eax) */ /* 0x2B071776: test al, al */ 28945 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 28946 _cf = 0; 28947 _flag_k = FK_NARROW(FK_TEST, 24); 28948 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07189E; /* 0x2B071778: je 0x2b07189e */ 28949 L_2B07177E: 28950 eax = MEM32(ebp + (-0xC)); /* 0x2B07177E: mov eax, dword ptr [ebp - 0xc] */ 28951 edx = MEM32(eax + 0x8); /* 0x2B071781: mov edx, dword ptr [eax + 8] */ 28952 ecx = edi; /* 0x2B071784: mov ecx, edi */ 28953 edi = MEM32(eax + 0x4); /* 0x2B071786: mov edi, dword ptr [eax + 4] */ 28954 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 28955 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 28956 edi = edi + edx; /* 0x2B071789: add edi, edx */ 28957 _flag_k = FK_ADD; 28958 edx = ecx; /* 0x2B07178B: mov edx, ecx */ 28959 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07178D: shr ecx, 2 */ 28960 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 28961 ecx = ecx >> 2u; /* 0x2B07178D: shr ecx, 2 */ 28962 esi = 0x2B0EB984u; /* 0x2B071790: mov esi, 0x2b0eb984 */ 28963 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071795: 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; } 28964 ecx = edx; /* 0x2B071797: mov ecx, edx */ 28965 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 28966 ecx = ecx & 3; /* 0x2B071799: and ecx, 3 */ 28967 _cf = 0; 28968 _flag_k = FK_TEST; 28969 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07179C: 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; } 28970 ecx = MEM32(ebp + (-0x8)); /* 0x2B07179E: mov ecx, dword ptr [ebp - 8] */ 28971 goto L_2B071895; /* 0x2B0717A1: jmp 0x2b071895 */ 28972 L_2B0717A6: 28973 fp_push(*(float*)&MEM32(ebp + 0xC)); /* 0x2B0717A6: fld dword ptr [ebp + 0xc] */ 28974 esi = MEM32(ebx + 0x28); /* 0x2B0717A9: mov esi, dword ptr [ebx + 0x28] */ 28975 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B6564)); /* 0x2B0717AC: fcomp dword ptr [0x2b0b6564] */ 28976 fp_pop(); 28977 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B0717B2: fnstsw ax */ 28978 /* test HI8(eax), 1 */ /* 0x2B0717B4: test ah, 1 */ 28979 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 28980 _cf = 0; 28981 _flag_k = FK_NARROW(FK_TEST, 24); 28982 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07182C; /* 0x2B0717B7: je 0x2b07182c */ 28983 L_2B0717B9: 28984 edx = MEM32(0x2B0B515C); /* 0x2B0717B9: mov edx, dword ptr [0x2b0b515c] */ 28985 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 28986 eax = 0; /* 0x2B0717BF: xor eax, eax */ 28987 _cf = 0; 28988 _flag_k = FK_TEST; 28989 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 28990 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0717C1: or ecx, 0xffffffff */ 28991 _cf = 0; 28992 _flag_k = FK_TEST; 28993 edi = 0x2B0EB950u; /* 0x2B0717C4: mov edi, 0x2b0eb950 */ 28994 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; } /* 0x2B0717C9: repne scasb al, byte ptr es:[edi] */ 28995 eax = MEM32(edx); /* 0x2B0717CB: mov eax, dword ptr [edx] */ 28996 edx = MEM32(esi + 0x8); /* 0x2B0717CD: mov edx, dword ptr [esi + 8] */ 28997 ecx = ~ecx; /* 0x2B0717D0: not ecx */ 28998 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 28999 ecx = ecx - 1; /* 0x2B0717D2: dec ecx */ 29000 _flag_k = FK_DEC; 29001 edi = ecx; /* 0x2B0717D3: mov edi, ecx */ 29002 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 29003 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29004 eax = eax - edx; /* 0x2B0717D5: sub eax, edx */ 29005 _flag_k = FK_CMP; 29006 /* cmp eax, edi */ /* 0x2B0717D7: cmp eax, edi */ 29007 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 29008 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29009 _flag_k = FK_CMP; 29010 MEM32(ebp + (-0xC)) = esi; /* 0x2B0717D9: mov dword ptr [ebp - 0xc], esi */ 29011 if (CMP_A(_flag_a, _flag_b)) goto L_2B0717E4; /* 0x2B0717DC: ja 0x2b0717e4 */ 29012 L_2B0717DE: 29013 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0717DE: call dword ptr [0x2b0b51a8] */ 29014 RECOMP_FLAGS_IN(); 29015 L_2B0717E4: 29016 /* test edi, edi */ /* 0x2B0717E4: test edi, edi */ 29017 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 29018 _cf = 0; 29019 _flag_k = FK_TEST; 29020 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07189E; /* 0x2B0717E6: jbe 0x2b07189e */ 29021 L_2B0717EC: 29022 eax = MEM32(esi + 0x8); /* 0x2B0717EC: mov eax, dword ptr [esi + 8] */ 29023 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 29024 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 29025 eax = eax + edi; /* 0x2B0717EF: add eax, edi */ 29026 _flag_k = FK_ADD; 29027 PUSH32(esp, 0); /* 0x2B0717F1: push 0 */ 29028 PUSH32(esp, eax); /* 0x2B0717F3: push eax */ 29029 ecx = esi; /* 0x2B0717F4: mov ecx, esi */ 29030 MEM32(ebp + (-0x8)) = eax; /* 0x2B0717F6: mov dword ptr [ebp - 8], eax */ 29031 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0717F9: call dword ptr [0x2b0b5154] */ 29032 RECOMP_FLAGS_IN(); 29033 /* test LO8(eax), LO8(eax) */ /* 0x2B0717FF: test al, al */ 29034 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 29035 _cf = 0; 29036 _flag_k = FK_NARROW(FK_TEST, 24); 29037 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07189E; /* 0x2B071801: je 0x2b07189e */ 29038 L_2B071807: 29039 eax = MEM32(ebp + (-0xC)); /* 0x2B071807: mov eax, dword ptr [ebp - 0xc] */ 29040 edx = MEM32(eax + 0x8); /* 0x2B07180A: mov edx, dword ptr [eax + 8] */ 29041 ecx = edi; /* 0x2B07180D: mov ecx, edi */ 29042 edi = MEM32(eax + 0x4); /* 0x2B07180F: mov edi, dword ptr [eax + 4] */ 29043 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 29044 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 29045 edi = edi + edx; /* 0x2B071812: add edi, edx */ 29046 _flag_k = FK_ADD; 29047 edx = ecx; /* 0x2B071814: mov edx, ecx */ 29048 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B071816: shr ecx, 2 */ 29049 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 29050 ecx = ecx >> 2u; /* 0x2B071816: shr ecx, 2 */ 29051 esi = 0x2B0EB950u; /* 0x2B071819: mov esi, 0x2b0eb950 */ 29052 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07181E: 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; } 29053 ecx = edx; /* 0x2B071820: mov ecx, edx */ 29054 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 29055 ecx = ecx & 3; /* 0x2B071822: and ecx, 3 */ 29056 _cf = 0; 29057 _flag_k = FK_TEST; 29058 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071825: 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; } 29059 ecx = MEM32(ebp + (-0x8)); /* 0x2B071827: mov ecx, dword ptr [ebp - 8] */ 29060 goto L_2B071895; /* 0x2B07182A: jmp 0x2b071895 */ 29061 L_2B07182C: 29062 edx = MEM32(0x2B0B515C); /* 0x2B07182C: mov edx, dword ptr [0x2b0b515c] */ 29063 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 29064 eax = 0; /* 0x2B071832: xor eax, eax */ 29065 _cf = 0; 29066 _flag_k = FK_TEST; 29067 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 29068 ecx = ecx | 0xFFFFFFFFu; /* 0x2B071834: or ecx, 0xffffffff */ 29069 _cf = 0; 29070 _flag_k = FK_TEST; 29071 edi = 0x2B0EB908u; /* 0x2B071837: mov edi, 0x2b0eb908 */ 29072 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; } /* 0x2B07183C: repne scasb al, byte ptr es:[edi] */ 29073 eax = MEM32(edx); /* 0x2B07183E: mov eax, dword ptr [edx] */ 29074 edx = MEM32(esi + 0x8); /* 0x2B071840: mov edx, dword ptr [esi + 8] */ 29075 ecx = ~ecx; /* 0x2B071843: not ecx */ 29076 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 29077 ecx = ecx - 1; /* 0x2B071845: dec ecx */ 29078 _flag_k = FK_DEC; 29079 edi = ecx; /* 0x2B071846: mov edi, ecx */ 29080 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 29081 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29082 eax = eax - edx; /* 0x2B071848: sub eax, edx */ 29083 _flag_k = FK_CMP; 29084 /* cmp eax, edi */ /* 0x2B07184A: cmp eax, edi */ 29085 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 29086 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29087 _flag_k = FK_CMP; 29088 MEM32(ebp + (-0xC)) = esi; /* 0x2B07184C: mov dword ptr [ebp - 0xc], esi */ 29089 if (CMP_A(_flag_a, _flag_b)) goto L_2B071857; /* 0x2B07184F: ja 0x2b071857 */ 29090 L_2B071851: 29091 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B071851: call dword ptr [0x2b0b51a8] */ 29092 RECOMP_FLAGS_IN(); 29093 L_2B071857: 29094 /* test edi, edi */ /* 0x2B071857: test edi, edi */ 29095 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 29096 _cf = 0; 29097 _flag_k = FK_TEST; 29098 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07189E; /* 0x2B071859: jbe 0x2b07189e */ 29099 L_2B07185B: 29100 eax = MEM32(esi + 0x8); /* 0x2B07185B: mov eax, dword ptr [esi + 8] */ 29101 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 29102 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 29103 eax = eax + edi; /* 0x2B07185E: add eax, edi */ 29104 _flag_k = FK_ADD; 29105 PUSH32(esp, 0); /* 0x2B071860: push 0 */ 29106 PUSH32(esp, eax); /* 0x2B071862: push eax */ 29107 ecx = esi; /* 0x2B071863: mov ecx, esi */ 29108 MEM32(ebp + (-0x8)) = eax; /* 0x2B071865: mov dword ptr [ebp - 8], eax */ 29109 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B071868: call dword ptr [0x2b0b5154] */ 29110 RECOMP_FLAGS_IN(); 29111 /* test LO8(eax), LO8(eax) */ /* 0x2B07186E: test al, al */ 29112 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 29113 _cf = 0; 29114 _flag_k = FK_NARROW(FK_TEST, 24); 29115 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07189E; /* 0x2B071870: je 0x2b07189e */ 29116 L_2B071872: 29117 eax = MEM32(ebp + (-0xC)); /* 0x2B071872: mov eax, dword ptr [ebp - 0xc] */ 29118 edx = MEM32(eax + 0x8); /* 0x2B071875: mov edx, dword ptr [eax + 8] */ 29119 ecx = edi; /* 0x2B071878: mov ecx, edi */ 29120 edi = MEM32(eax + 0x4); /* 0x2B07187A: mov edi, dword ptr [eax + 4] */ 29121 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 29122 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 29123 edi = edi + edx; /* 0x2B07187D: add edi, edx */ 29124 _flag_k = FK_ADD; 29125 edx = ecx; /* 0x2B07187F: mov edx, ecx */ 29126 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B071881: shr ecx, 2 */ 29127 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 29128 ecx = ecx >> 2u; /* 0x2B071881: shr ecx, 2 */ 29129 esi = 0x2B0EB908u; /* 0x2B071884: mov esi, 0x2b0eb908 */ 29130 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071889: 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; } 29131 ecx = edx; /* 0x2B07188B: mov ecx, edx */ 29132 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 29133 ecx = ecx & 3; /* 0x2B07188D: and ecx, 3 */ 29134 _cf = 0; 29135 _flag_k = FK_TEST; 29136 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071890: 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; } 29137 ecx = MEM32(ebp + (-0x8)); /* 0x2B071892: mov ecx, dword ptr [ebp - 8] */ 29138 L_2B071895: 29139 PUSH32(esp, ecx); /* 0x2B071895: push ecx */ 29140 ecx = eax; /* 0x2B071896: mov ecx, eax */ 29141 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B071898: call dword ptr [0x2b0b5150] */ 29142 RECOMP_FLAGS_IN(); 29143 L_2B07189E: 29144 edx = MEM32(ebp + 0x8); /* 0x2B07189E: mov edx, dword ptr [ebp + 8] */ 29145 PUSH32(esp, 0xCCu); /* 0x2B0718A1: push 0xcc */ 29146 PUSH32(esp, edx); /* 0x2B0718A6: push edx */ 29147 ecx = ebx; /* 0x2B0718A7: mov ecx, ebx */ 29148 RECOMP_ICALL(0x2B0735D0u); /* 0x2B0718A9: call 0x2b0735d0 */ /* not lifted */ 29149 RECOMP_FLAGS_IN(); 29150 /* cmp eax, 0x1Eu */ /* 0x2B0718AE: cmp eax, 0x1e */ 29151 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1Eu); 29152 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29153 _flag_k = FK_CMP; 29154 if (CMP_LE(_flag_a, _flag_b)) goto L_2B071927; /* 0x2B0718B1: jle 0x2b071927 */ 29155 L_2B0718B3: 29156 esi = MEM32(ebx + 0x28); /* 0x2B0718B3: mov esi, dword ptr [ebx + 0x28] */ 29157 edx = MEM32(esi + 0x8); /* 0x2B0718B6: mov edx, dword ptr [esi + 8] */ 29158 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 29159 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0718B9: or ecx, 0xffffffff */ 29160 _cf = 0; 29161 _flag_k = FK_TEST; 29162 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 29163 eax = 0; /* 0x2B0718BC: xor eax, eax */ 29164 _cf = 0; 29165 _flag_k = FK_TEST; 29166 edi = 0x2B0EB8E8u; /* 0x2B0718BE: mov edi, 0x2b0eb8e8 */ 29167 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; } /* 0x2B0718C3: repne scasb al, byte ptr es:[edi] */ 29168 eax = MEM32(0x2B0B515C); /* 0x2B0718C5: mov eax, dword ptr [0x2b0b515c] */ 29169 ecx = ~ecx; /* 0x2B0718CA: not ecx */ 29170 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 29171 ecx = ecx - 1; /* 0x2B0718CC: dec ecx */ 29172 _flag_k = FK_DEC; 29173 edi = ecx; /* 0x2B0718CD: mov edi, ecx */ 29174 ecx = MEM32(eax); /* 0x2B0718CF: mov ecx, dword ptr [eax] */ 29175 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 29176 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29177 ecx = ecx - edx; /* 0x2B0718D1: sub ecx, edx */ 29178 _flag_k = FK_CMP; 29179 /* cmp ecx, edi */ /* 0x2B0718D3: cmp ecx, edi */ 29180 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 29181 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29182 _flag_k = FK_CMP; 29183 MEM32(ebp + (-0xC)) = esi; /* 0x2B0718D5: mov dword ptr [ebp - 0xc], esi */ 29184 if (CMP_A(_flag_a, _flag_b)) goto L_2B0718E0; /* 0x2B0718D8: ja 0x2b0718e0 */ 29185 L_2B0718DA: 29186 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0718DA: call dword ptr [0x2b0b51a8] */ 29187 RECOMP_FLAGS_IN(); 29188 L_2B0718E0: 29189 /* test edi, edi */ /* 0x2B0718E0: test edi, edi */ 29190 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 29191 _cf = 0; 29192 _flag_k = FK_TEST; 29193 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071927; /* 0x2B0718E2: jbe 0x2b071927 */ 29194 L_2B0718E4: 29195 eax = MEM32(esi + 0x8); /* 0x2B0718E4: mov eax, dword ptr [esi + 8] */ 29196 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 29197 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 29198 eax = eax + edi; /* 0x2B0718E7: add eax, edi */ 29199 _flag_k = FK_ADD; 29200 PUSH32(esp, 0); /* 0x2B0718E9: push 0 */ 29201 PUSH32(esp, eax); /* 0x2B0718EB: push eax */ 29202 ecx = esi; /* 0x2B0718EC: mov ecx, esi */ 29203 MEM32(ebp + (-0x8)) = eax; /* 0x2B0718EE: mov dword ptr [ebp - 8], eax */ 29204 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0718F1: call dword ptr [0x2b0b5154] */ 29205 RECOMP_FLAGS_IN(); 29206 /* test LO8(eax), LO8(eax) */ /* 0x2B0718F7: test al, al */ 29207 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 29208 _cf = 0; 29209 _flag_k = FK_NARROW(FK_TEST, 24); 29210 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071927; /* 0x2B0718F9: je 0x2b071927 */ 29211 L_2B0718FB: 29212 eax = MEM32(ebp + (-0xC)); /* 0x2B0718FB: mov eax, dword ptr [ebp - 0xc] */ 29213 edx = MEM32(eax + 0x8); /* 0x2B0718FE: mov edx, dword ptr [eax + 8] */ 29214 ecx = edi; /* 0x2B071901: mov ecx, edi */ 29215 edi = MEM32(eax + 0x4); /* 0x2B071903: mov edi, dword ptr [eax + 4] */ 29216 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 29217 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 29218 edi = edi + edx; /* 0x2B071906: add edi, edx */ 29219 _flag_k = FK_ADD; 29220 edx = ecx; /* 0x2B071908: mov edx, ecx */ 29221 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07190A: shr ecx, 2 */ 29222 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 29223 ecx = ecx >> 2u; /* 0x2B07190A: shr ecx, 2 */ 29224 esi = 0x2B0EB8E8u; /* 0x2B07190D: mov esi, 0x2b0eb8e8 */ 29225 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071912: 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; } 29226 ecx = edx; /* 0x2B071914: mov ecx, edx */ 29227 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 29228 ecx = ecx & 3; /* 0x2B071916: and ecx, 3 */ 29229 _cf = 0; 29230 _flag_k = FK_TEST; 29231 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071919: 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; } 29232 ecx = MEM32(ebp + (-0x8)); /* 0x2B07191B: mov ecx, dword ptr [ebp - 8] */ 29233 PUSH32(esp, ecx); /* 0x2B07191E: push ecx */ 29234 ecx = eax; /* 0x2B07191F: mov ecx, eax */ 29235 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B071921: call dword ptr [0x2b0b5150] */ 29236 RECOMP_FLAGS_IN(); 29237 L_2B071927: 29238 edx = MEM32(ebp + 0x8); /* 0x2B071927: mov edx, dword ptr [ebp + 8] */ 29239 PUSH32(esp, 0x21u); /* 0x2B07192A: push 0x21 */ 29240 PUSH32(esp, edx); /* 0x2B07192C: push edx */ 29241 ecx = ebx; /* 0x2B07192D: mov ecx, ebx */ 29242 RECOMP_ICALL(0x2B0735D0u); /* 0x2B07192F: call 0x2b0735d0 */ /* not lifted */ 29243 RECOMP_FLAGS_IN(); 29244 /* cmp eax, 3 */ /* 0x2B071934: cmp eax, 3 */ 29245 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 29246 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29247 _flag_k = FK_CMP; 29248 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071A53; /* 0x2B071937: je 0x2b071a53 */ 29249 L_2B07193D: 29250 ecx = MEM32(ebx + 0x28); /* 0x2B07193D: mov ecx, dword ptr [ebx + 0x28] */ 29251 PUSH32(esp, 0x13u); /* 0x2B071940: push 0x13 */ 29252 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B071942: push -1 */ 29253 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B071944: call dword ptr [0x2b0b5a74] */ 29254 RECOMP_FLAGS_IN(); 29255 esi = MEM32(ebx + 0x28); /* 0x2B07194A: mov esi, dword ptr [ebx + 0x28] */ 29256 edx = MEM32(esi + 0x8); /* 0x2B07194D: mov edx, dword ptr [esi + 8] */ 29257 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 29258 ecx = ecx | 0xFFFFFFFFu; /* 0x2B071950: or ecx, 0xffffffff */ 29259 _cf = 0; 29260 _flag_k = FK_TEST; 29261 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 29262 eax = 0; /* 0x2B071953: xor eax, eax */ 29263 _cf = 0; 29264 _flag_k = FK_TEST; 29265 edi = 0x2B0EB834u; /* 0x2B071955: mov edi, 0x2b0eb834 */ 29266 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; } /* 0x2B07195A: repne scasb al, byte ptr es:[edi] */ 29267 eax = MEM32(0x2B0B515C); /* 0x2B07195C: mov eax, dword ptr [0x2b0b515c] */ 29268 ecx = ~ecx; /* 0x2B071961: not ecx */ 29269 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 29270 ecx = ecx - 1; /* 0x2B071963: dec ecx */ 29271 _flag_k = FK_DEC; 29272 edi = ecx; /* 0x2B071964: mov edi, ecx */ 29273 ecx = MEM32(eax); /* 0x2B071966: mov ecx, dword ptr [eax] */ 29274 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 29275 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29276 ecx = ecx - edx; /* 0x2B071968: sub ecx, edx */ 29277 _flag_k = FK_CMP; 29278 /* cmp ecx, edi */ /* 0x2B07196A: cmp ecx, edi */ 29279 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 29280 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29281 _flag_k = FK_CMP; 29282 MEM32(ebp + (-0xC)) = esi; /* 0x2B07196C: mov dword ptr [ebp - 0xc], esi */ 29283 if (CMP_A(_flag_a, _flag_b)) goto L_2B071977; /* 0x2B07196F: ja 0x2b071977 */ 29284 L_2B071971: 29285 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B071971: call dword ptr [0x2b0b51a8] */ 29286 RECOMP_FLAGS_IN(); 29287 L_2B071977: 29288 /* test edi, edi */ /* 0x2B071977: test edi, edi */ 29289 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 29290 _cf = 0; 29291 _flag_k = FK_TEST; 29292 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0719C0; /* 0x2B071979: jbe 0x2b0719c0 */ 29293 L_2B07197B: 29294 edx = MEM32(esi + 0x8); /* 0x2B07197B: mov edx, dword ptr [esi + 8] */ 29295 eax = edi; /* 0x2B07197E: mov eax, edi */ 29296 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 29297 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 29298 eax = eax + edx; /* 0x2B071980: add eax, edx */ 29299 _flag_k = FK_ADD; 29300 PUSH32(esp, 0); /* 0x2B071982: push 0 */ 29301 PUSH32(esp, eax); /* 0x2B071984: push eax */ 29302 ecx = esi; /* 0x2B071985: mov ecx, esi */ 29303 MEM32(ebp + (-0x8)) = eax; /* 0x2B071987: mov dword ptr [ebp - 8], eax */ 29304 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07198A: call dword ptr [0x2b0b5154] */ 29305 RECOMP_FLAGS_IN(); 29306 /* test LO8(eax), LO8(eax) */ /* 0x2B071990: test al, al */ 29307 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 29308 _cf = 0; 29309 _flag_k = FK_NARROW(FK_TEST, 24); 29310 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0719C0; /* 0x2B071992: je 0x2b0719c0 */ 29311 L_2B071994: 29312 eax = MEM32(ebp + (-0xC)); /* 0x2B071994: mov eax, dword ptr [ebp - 0xc] */ 29313 edx = MEM32(eax + 0x8); /* 0x2B071997: mov edx, dword ptr [eax + 8] */ 29314 ecx = edi; /* 0x2B07199A: mov ecx, edi */ 29315 edi = MEM32(eax + 0x4); /* 0x2B07199C: mov edi, dword ptr [eax + 4] */ 29316 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 29317 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 29318 edi = edi + edx; /* 0x2B07199F: add edi, edx */ 29319 _flag_k = FK_ADD; 29320 edx = ecx; /* 0x2B0719A1: mov edx, ecx */ 29321 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0719A3: shr ecx, 2 */ 29322 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 29323 ecx = ecx >> 2u; /* 0x2B0719A3: shr ecx, 2 */ 29324 esi = 0x2B0EB834u; /* 0x2B0719A6: mov esi, 0x2b0eb834 */ 29325 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0719AB: 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; } 29326 ecx = edx; /* 0x2B0719AD: mov ecx, edx */ 29327 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 29328 ecx = ecx & 3; /* 0x2B0719AF: and ecx, 3 */ 29329 _cf = 0; 29330 _flag_k = FK_TEST; 29331 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0719B2: 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; } 29332 ecx = MEM32(ebp + (-0x8)); /* 0x2B0719B4: mov ecx, dword ptr [ebp - 8] */ 29333 PUSH32(esp, ecx); /* 0x2B0719B7: push ecx */ 29334 ecx = eax; /* 0x2B0719B8: mov ecx, eax */ 29335 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B0719BA: call dword ptr [0x2b0b5150] */ 29336 RECOMP_FLAGS_IN(); 29337 L_2B0719C0: 29338 ecx = MEM32(ebx + 0x28); /* 0x2B0719C0: mov ecx, dword ptr [ebx + 0x28] */ 29339 PUSH32(esp, 0x14u); /* 0x2B0719C3: push 0x14 */ 29340 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0719C5: push -1 */ 29341 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B0719C7: call dword ptr [0x2b0b5a74] */ 29342 RECOMP_FLAGS_IN(); 29343 edx = MEM32(ebp + 0x8); /* 0x2B0719CD: mov edx, dword ptr [ebp + 8] */ 29344 PUSH32(esp, edx); /* 0x2B0719D0: push edx */ 29345 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0719D1: call dword ptr [0x2b0b5d6c] */ 29346 RECOMP_FLAGS_IN(); 29347 ecx = eax; /* 0x2B0719D7: mov ecx, eax */ 29348 RECOMP_ICALL(MEM32(0x2B0B5D2C)); /* 0x2B0719D9: call dword ptr [0x2b0b5d2c] */ 29349 RECOMP_FLAGS_IN(); 29350 esi = MEM32(ebx + 0x28); /* 0x2B0719DF: mov esi, dword ptr [ebx + 0x28] */ 29351 edx = MEM32(esi + 0x8); /* 0x2B0719E2: mov edx, dword ptr [esi + 8] */ 29352 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 29353 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0719E5: or ecx, 0xffffffff */ 29354 _cf = 0; 29355 _flag_k = FK_TEST; 29356 edi = eax; /* 0x2B0719E8: mov edi, eax */ 29357 MEM32(ebp + (-0xC)) = eax; /* 0x2B0719EA: mov dword ptr [ebp - 0xc], eax */ 29358 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 29359 eax = 0; /* 0x2B0719ED: xor eax, eax */ 29360 _cf = 0; 29361 _flag_k = FK_TEST; 29362 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; } /* 0x2B0719EF: repne scasb al, byte ptr es:[edi] */ 29363 eax = MEM32(0x2B0B515C); /* 0x2B0719F1: mov eax, dword ptr [0x2b0b515c] */ 29364 ecx = ~ecx; /* 0x2B0719F6: not ecx */ 29365 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 29366 ecx = ecx - 1; /* 0x2B0719F8: dec ecx */ 29367 _flag_k = FK_DEC; 29368 edi = ecx; /* 0x2B0719F9: mov edi, ecx */ 29369 ecx = MEM32(eax); /* 0x2B0719FB: mov ecx, dword ptr [eax] */ 29370 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 29371 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29372 ecx = ecx - edx; /* 0x2B0719FD: sub ecx, edx */ 29373 _flag_k = FK_CMP; 29374 /* cmp ecx, edi */ /* 0x2B0719FF: cmp ecx, edi */ 29375 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 29376 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29377 _flag_k = FK_CMP; 29378 MEM32(ebp + (-0x8)) = esi; /* 0x2B071A01: mov dword ptr [ebp - 8], esi */ 29379 if (CMP_A(_flag_a, _flag_b)) goto L_2B071A0C; /* 0x2B071A04: ja 0x2b071a0c */ 29380 L_2B071A06: 29381 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B071A06: call dword ptr [0x2b0b51a8] */ 29382 RECOMP_FLAGS_IN(); 29383 L_2B071A0C: 29384 /* test edi, edi */ /* 0x2B071A0C: test edi, edi */ 29385 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 29386 _cf = 0; 29387 _flag_k = FK_TEST; 29388 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071A53; /* 0x2B071A0E: jbe 0x2b071a53 */ 29389 L_2B071A10: 29390 edx = MEM32(esi + 0x8); /* 0x2B071A10: mov edx, dword ptr [esi + 8] */ 29391 eax = edi; /* 0x2B071A13: mov eax, edi */ 29392 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 29393 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 29394 eax = eax + edx; /* 0x2B071A15: add eax, edx */ 29395 _flag_k = FK_ADD; 29396 PUSH32(esp, 0); /* 0x2B071A17: push 0 */ 29397 PUSH32(esp, eax); /* 0x2B071A19: push eax */ 29398 ecx = esi; /* 0x2B071A1A: mov ecx, esi */ 29399 MEM32(ebp + (-0x4)) = eax; /* 0x2B071A1C: mov dword ptr [ebp - 4], eax */ 29400 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B071A1F: call dword ptr [0x2b0b5154] */ 29401 RECOMP_FLAGS_IN(); 29402 /* test LO8(eax), LO8(eax) */ /* 0x2B071A25: test al, al */ 29403 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 29404 _cf = 0; 29405 _flag_k = FK_NARROW(FK_TEST, 24); 29406 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071A53; /* 0x2B071A27: je 0x2b071a53 */ 29407 L_2B071A29: 29408 eax = MEM32(ebp + (-0x8)); /* 0x2B071A29: mov eax, dword ptr [ebp - 8] */ 29409 edx = MEM32(eax + 0x8); /* 0x2B071A2C: mov edx, dword ptr [eax + 8] */ 29410 esi = MEM32(ebp + (-0xC)); /* 0x2B071A2F: mov esi, dword ptr [ebp - 0xc] */ 29411 ecx = edi; /* 0x2B071A32: mov ecx, edi */ 29412 edi = MEM32(eax + 0x4); /* 0x2B071A34: mov edi, dword ptr [eax + 4] */ 29413 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 29414 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 29415 edi = edi + edx; /* 0x2B071A37: add edi, edx */ 29416 _flag_k = FK_ADD; 29417 edx = ecx; /* 0x2B071A39: mov edx, ecx */ 29418 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B071A3B: shr ecx, 2 */ 29419 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 29420 ecx = ecx >> 2u; /* 0x2B071A3B: shr ecx, 2 */ 29421 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071A3E: 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; } 29422 ecx = edx; /* 0x2B071A40: mov ecx, edx */ 29423 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 29424 ecx = ecx & 3; /* 0x2B071A42: and ecx, 3 */ 29425 _cf = 0; 29426 _flag_k = FK_TEST; 29427 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071A45: 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; } 29428 ecx = MEM32(ebp + (-0x4)); /* 0x2B071A47: mov ecx, dword ptr [ebp - 4] */ 29429 PUSH32(esp, ecx); /* 0x2B071A4A: push ecx */ 29430 ecx = eax; /* 0x2B071A4B: mov ecx, eax */ 29431 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B071A4D: call dword ptr [0x2b0b5150] */ 29432 RECOMP_FLAGS_IN(); 29433 L_2B071A53: 29434 edx = MEM32(0x2B0B515C); /* 0x2B071A53: mov edx, dword ptr [0x2b0b515c] */ 29435 esi = MEM32(ebx + 0x28); /* 0x2B071A59: mov esi, dword ptr [ebx + 0x28] */ 29436 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 29437 eax = 0; /* 0x2B071A5C: xor eax, eax */ 29438 _cf = 0; 29439 _flag_k = FK_TEST; 29440 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 29441 ecx = ecx | 0xFFFFFFFFu; /* 0x2B071A5E: or ecx, 0xffffffff */ 29442 _cf = 0; 29443 _flag_k = FK_TEST; 29444 edi = 0x2B0E2BF8u; /* 0x2B071A61: mov edi, 0x2b0e2bf8 */ 29445 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; } /* 0x2B071A66: repne scasb al, byte ptr es:[edi] */ 29446 eax = MEM32(edx); /* 0x2B071A68: mov eax, dword ptr [edx] */ 29447 edx = MEM32(esi + 0x8); /* 0x2B071A6A: mov edx, dword ptr [esi + 8] */ 29448 ecx = ~ecx; /* 0x2B071A6D: not ecx */ 29449 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 29450 ecx = ecx - 1; /* 0x2B071A6F: dec ecx */ 29451 _flag_k = FK_DEC; 29452 edi = ecx; /* 0x2B071A70: mov edi, ecx */ 29453 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 29454 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29455 eax = eax - edx; /* 0x2B071A72: sub eax, edx */ 29456 _flag_k = FK_CMP; 29457 /* cmp eax, edi */ /* 0x2B071A74: cmp eax, edi */ 29458 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 29459 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29460 _flag_k = FK_CMP; 29461 MEM32(ebp + (-0xC)) = esi; /* 0x2B071A76: mov dword ptr [ebp - 0xc], esi */ 29462 if (CMP_A(_flag_a, _flag_b)) goto L_2B071A81; /* 0x2B071A79: ja 0x2b071a81 */ 29463 L_2B071A7B: 29464 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B071A7B: call dword ptr [0x2b0b51a8] */ 29465 RECOMP_FLAGS_IN(); 29466 L_2B071A81: 29467 /* test edi, edi */ /* 0x2B071A81: test edi, edi */ 29468 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 29469 _cf = 0; 29470 _flag_k = FK_TEST; 29471 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071ACA; /* 0x2B071A83: jbe 0x2b071aca */ 29472 L_2B071A85: 29473 edx = MEM32(esi + 0x8); /* 0x2B071A85: mov edx, dword ptr [esi + 8] */ 29474 eax = edi; /* 0x2B071A88: mov eax, edi */ 29475 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 29476 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 29477 eax = eax + edx; /* 0x2B071A8A: add eax, edx */ 29478 _flag_k = FK_ADD; 29479 PUSH32(esp, 0); /* 0x2B071A8C: push 0 */ 29480 PUSH32(esp, eax); /* 0x2B071A8E: push eax */ 29481 ecx = esi; /* 0x2B071A8F: mov ecx, esi */ 29482 MEM32(ebp + (-0x8)) = eax; /* 0x2B071A91: mov dword ptr [ebp - 8], eax */ 29483 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B071A94: call dword ptr [0x2b0b5154] */ 29484 RECOMP_FLAGS_IN(); 29485 /* test LO8(eax), LO8(eax) */ /* 0x2B071A9A: test al, al */ 29486 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 29487 _cf = 0; 29488 _flag_k = FK_NARROW(FK_TEST, 24); 29489 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071ACA; /* 0x2B071A9C: je 0x2b071aca */ 29490 L_2B071A9E: 29491 eax = MEM32(ebp + (-0xC)); /* 0x2B071A9E: mov eax, dword ptr [ebp - 0xc] */ 29492 edx = MEM32(eax + 0x8); /* 0x2B071AA1: mov edx, dword ptr [eax + 8] */ 29493 ecx = edi; /* 0x2B071AA4: mov ecx, edi */ 29494 edi = MEM32(eax + 0x4); /* 0x2B071AA6: mov edi, dword ptr [eax + 4] */ 29495 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 29496 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 29497 edi = edi + edx; /* 0x2B071AA9: add edi, edx */ 29498 _flag_k = FK_ADD; 29499 edx = ecx; /* 0x2B071AAB: mov edx, ecx */ 29500 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B071AAD: shr ecx, 2 */ 29501 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 29502 ecx = ecx >> 2u; /* 0x2B071AAD: shr ecx, 2 */ 29503 esi = 0x2B0E2BF8u; /* 0x2B071AB0: mov esi, 0x2b0e2bf8 */ 29504 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071AB5: 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; } 29505 ecx = edx; /* 0x2B071AB7: mov ecx, edx */ 29506 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 29507 ecx = ecx & 3; /* 0x2B071AB9: and ecx, 3 */ 29508 _cf = 0; 29509 _flag_k = FK_TEST; 29510 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071ABC: 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; } 29511 ecx = MEM32(ebp + (-0x8)); /* 0x2B071ABE: mov ecx, dword ptr [ebp - 8] */ 29512 PUSH32(esp, ecx); /* 0x2B071AC1: push ecx */ 29513 ecx = eax; /* 0x2B071AC2: mov ecx, eax */ 29514 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B071AC4: call dword ptr [0x2b0b5150] */ 29515 RECOMP_FLAGS_IN(); 29516 L_2B071ACA: 29517 edx = MEM32(ebx + 0x28); /* 0x2B071ACA: mov edx, dword ptr [ebx + 0x28] */ 29518 esi = MEM32(ebp + 0x8); /* 0x2B071ACD: mov esi, dword ptr [ebp + 8] */ 29519 PUSH32(esp, edx); /* 0x2B071AD0: push edx */ 29520 PUSH32(esp, esi); /* 0x2B071AD1: push esi */ 29521 ecx = ebx; /* 0x2B071AD2: mov ecx, ebx */ 29522 RECOMP_ICALL(0x2B074330u); /* 0x2B071AD4: call 0x2b074330 */ /* not lifted */ 29523 RECOMP_FLAGS_IN(); 29524 PUSH32(esp, 0x184u); /* 0x2B071AD9: push 0x184 */ 29525 PUSH32(esp, esi); /* 0x2B071ADE: push esi */ 29526 ecx = ebx; /* 0x2B071ADF: mov ecx, ebx */ 29527 RECOMP_ICALL(0x2B0735D0u); /* 0x2B071AE1: call 0x2b0735d0 */ /* not lifted */ 29528 RECOMP_FLAGS_IN(); 29529 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 29530 edi = 0; /* 0x2B071AE6: xor edi, edi */ 29531 _cf = 0; 29532 _flag_k = FK_TEST; 29533 /* cmp eax, edi */ /* 0x2B071AE8: cmp eax, edi */ 29534 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 29535 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29536 _flag_k = FK_CMP; 29537 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071B70; /* 0x2B071AEA: je 0x2b071b70 */ 29538 L_2B071AF0: 29539 /* cmp eax, 0x499602D2u */ /* 0x2B071AF0: cmp eax, 0x499602d2 */ 29540 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 29541 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29542 _flag_k = FK_CMP; 29543 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071B70; /* 0x2B071AF5: je 0x2b071b70 */ 29544 L_2B071AF7: 29545 PUSH32(esp, edi); /* 0x2B071AF7: push edi */ 29546 PUSH32(esp, esi); /* 0x2B071AF8: push esi */ 29547 esi = MEM32(0x2B0B5D6C); /* 0x2B071AF9: mov esi, dword ptr [0x2b0b5d6c] */ 29548 RECOMP_ICALL(esi); /* 0x2B071AFF: call esi */ 29549 RECOMP_FLAGS_IN(); 29550 ecx = eax; /* 0x2B071B01: mov ecx, eax */ 29551 RECOMP_ICALL(MEM32(0x2B0B5D80)); /* 0x2B071B03: call dword ptr [0x2b0b5d80] */ 29552 RECOMP_FLAGS_IN(); 29553 /* cmp eax, edi */ /* 0x2B071B09: cmp eax, edi */ 29554 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 29555 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29556 _flag_k = FK_CMP; 29557 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071B70; /* 0x2B071B0B: je 0x2b071b70 */ 29558 L_2B071B0D: 29559 PUSH32(esp, eax); /* 0x2B071B0D: push eax */ 29560 eax = ebp + (-0x10); /* 0x2B071B0E: lea eax, [ebp - 0x10] */ 29561 PUSH32(esp, eax); /* 0x2B071B11: push eax */ 29562 MEM32(ebp + (-0x10)) = edi; /* 0x2B071B12: mov dword ptr [ebp - 0x10], edi */ 29563 MEM32(ebp + (-0xC)) = edi; /* 0x2B071B15: mov dword ptr [ebp - 0xc], edi */ 29564 RECOMP_ICALL(esi); /* 0x2B071B18: call esi */ 29565 RECOMP_FLAGS_IN(); 29566 ecx = eax; /* 0x2B071B1A: mov ecx, eax */ 29567 RECOMP_ICALL(MEM32(0x2B0B5D4C)); /* 0x2B071B1C: call dword ptr [0x2b0b5d4c] */ 29568 RECOMP_FLAGS_IN(); 29569 /* test LO8(eax), LO8(eax) */ /* 0x2B071B22: test al, al */ 29570 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 29571 _cf = 0; 29572 _flag_k = FK_NARROW(FK_TEST, 24); 29573 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071B70; /* 0x2B071B24: je 0x2b071b70 */ 29574 L_2B071B26: 29575 ecx = MEM32(ebx + 0x28); /* 0x2B071B26: mov ecx, dword ptr [ebx + 0x28] */ 29576 PUSH32(esp, ecx); /* 0x2B071B29: push ecx */ 29577 edx = ebp + (-0x10); /* 0x2B071B2A: lea edx, [ebp - 0x10] */ 29578 PUSH32(esp, edx); /* 0x2B071B2D: push edx */ 29579 ecx = ebx; /* 0x2B071B2E: mov ecx, ebx */ 29580 RECOMP_ICALL(0x2B074770u); /* 0x2B071B30: call 0x2b074770 */ /* not lifted */ 29581 RECOMP_FLAGS_IN(); 29582 eax = MEM32(ebx + 0x28); /* 0x2B071B35: mov eax, dword ptr [ebx + 0x28] */ 29583 PUSH32(esp, eax); /* 0x2B071B38: push eax */ 29584 ecx = ebp + (-0x10); /* 0x2B071B39: lea ecx, [ebp - 0x10] */ 29585 PUSH32(esp, ecx); /* 0x2B071B3C: push ecx */ 29586 ecx = ebx; /* 0x2B071B3D: mov ecx, ebx */ 29587 RECOMP_ICALL(0x2B073ED0u); /* 0x2B071B3F: call 0x2b073ed0 */ /* not lifted */ 29588 RECOMP_FLAGS_IN(); 29589 edx = MEM32(ebx + 0x28); /* 0x2B071B44: mov edx, dword ptr [ebx + 0x28] */ 29590 PUSH32(esp, edx); /* 0x2B071B47: push edx */ 29591 eax = ebp + (-0x10); /* 0x2B071B48: lea eax, [ebp - 0x10] */ 29592 PUSH32(esp, eax); /* 0x2B071B4B: push eax */ 29593 ecx = ebx; /* 0x2B071B4C: mov ecx, ebx */ 29594 RECOMP_ICALL(0x2B073F10u); /* 0x2B071B4E: call 0x2b073f10 */ /* not lifted */ 29595 RECOMP_FLAGS_IN(); 29596 ecx = MEM32(ebx + 0x28); /* 0x2B071B53: mov ecx, dword ptr [ebx + 0x28] */ 29597 PUSH32(esp, ecx); /* 0x2B071B56: push ecx */ 29598 edx = ebp + (-0x10); /* 0x2B071B57: lea edx, [ebp - 0x10] */ 29599 PUSH32(esp, edx); /* 0x2B071B5A: push edx */ 29600 ecx = ebx; /* 0x2B071B5B: mov ecx, ebx */ 29601 RECOMP_ICALL(0x2B073F50u); /* 0x2B071B5D: call 0x2b073f50 */ /* not lifted */ 29602 RECOMP_FLAGS_IN(); 29603 eax = ebp + (-0x10); /* 0x2B071B62: lea eax, [ebp - 0x10] */ 29604 PUSH32(esp, eax); /* 0x2B071B65: push eax */ 29605 RECOMP_ICALL(esi); /* 0x2B071B66: call esi */ 29606 RECOMP_FLAGS_IN(); 29607 ecx = eax; /* 0x2B071B68: mov ecx, eax */ 29608 RECOMP_ICALL(MEM32(0x2B0B5D54)); /* 0x2B071B6A: call dword ptr [0x2b0b5d54] */ 29609 RECOMP_FLAGS_IN(); 29610 L_2B071B70: 29611 edi = POP32_VAL(esp); /* 0x2B071B70: pop edi */ 29612 esi = POP32_VAL(esp); /* 0x2B071B71: pop esi */ 29613 ebx = POP32_VAL(esp); /* 0x2B071B72: pop ebx */ 29614 esp = ebp; /* 0x2B071B73: mov esp, ebp */ 29615 ebp = POP32_VAL(esp); /* 0x2B071B75: pop ebp */ 29616 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B071B76: ret 8 */ 29617 RECOMP_REGS_OUT(); 29618 } 29619 29620 void sub_2B07145D(void) { 29621 int _fpu_cmp = 0; 29622 uint32_t _cf = 0; 29623 int _df = 1; 29624 uint32_t _flag_k = FK_NONE; 29625 uint32_t _flag_a = 0, _flag_b = 0; 29626 uint32_t _itail_tgt = 0; 29627 RECOMP_REGS_LOCALS 29628 RECOMP_ENTER(0x2B07145Du); 29629 29630 L_2B07145D: 29631 PUSH32(esp, ecx); /* 0x2B07145D: push ecx */ 29632 ecx = eax; /* 0x2B07145E: mov ecx, eax */ 29633 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B071460: call dword ptr [0x2b0b5150] */ 29634 RECOMP_FLAGS_IN(); 29635 ecx = MEM32(ebx + 0x28); /* 0x2B071466: mov ecx, dword ptr [ebx + 0x28] */ 29636 PUSH32(esp, 0x13u); /* 0x2B071469: push 0x13 */ 29637 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07146B: push -1 */ 29638 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B07146D: call dword ptr [0x2b0b5a74] */ 29639 RECOMP_FLAGS_IN(); 29640 edx = MEM32(0x2B0B515C); /* 0x2B071473: mov edx, dword ptr [0x2b0b515c] */ 29641 esi = MEM32(ebx + 0x28); /* 0x2B071479: mov esi, dword ptr [ebx + 0x28] */ 29642 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 29643 eax = 0; /* 0x2B07147C: xor eax, eax */ 29644 _cf = 0; 29645 _flag_k = FK_TEST; 29646 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 29647 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07147E: or ecx, 0xffffffff */ 29648 _cf = 0; 29649 _flag_k = FK_TEST; 29650 edi = 0x2B0EBA68u; /* 0x2B071481: mov edi, 0x2b0eba68 */ 29651 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; } /* 0x2B071486: repne scasb al, byte ptr es:[edi] */ 29652 eax = MEM32(edx); /* 0x2B071488: mov eax, dword ptr [edx] */ 29653 edx = MEM32(esi + 0x8); /* 0x2B07148A: mov edx, dword ptr [esi + 8] */ 29654 ecx = ~ecx; /* 0x2B07148D: not ecx */ 29655 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 29656 ecx = ecx - 1; /* 0x2B07148F: dec ecx */ 29657 _flag_k = FK_DEC; 29658 edi = ecx; /* 0x2B071490: mov edi, ecx */ 29659 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 29660 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29661 eax = eax - edx; /* 0x2B071492: sub eax, edx */ 29662 _flag_k = FK_CMP; 29663 /* cmp eax, edi */ /* 0x2B071494: cmp eax, edi */ 29664 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 29665 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29666 _flag_k = FK_CMP; 29667 MEM32(ebp + (-0xC)) = esi; /* 0x2B071496: mov dword ptr [ebp - 0xc], esi */ 29668 if (CMP_A(_flag_a, _flag_b)) goto L_2B0714A1; /* 0x2B071499: ja 0x2b0714a1 */ 29669 L_2B07149B: 29670 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07149B: call dword ptr [0x2b0b51a8] */ 29671 RECOMP_FLAGS_IN(); 29672 L_2B0714A1: 29673 /* test edi, edi */ /* 0x2B0714A1: test edi, edi */ 29674 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 29675 _cf = 0; 29676 _flag_k = FK_TEST; 29677 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0714EA; /* 0x2B0714A3: jbe 0x2b0714ea */ 29678 L_2B0714A5: 29679 edx = MEM32(esi + 0x8); /* 0x2B0714A5: mov edx, dword ptr [esi + 8] */ 29680 eax = edi; /* 0x2B0714A8: mov eax, edi */ 29681 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 29682 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 29683 eax = eax + edx; /* 0x2B0714AA: add eax, edx */ 29684 _flag_k = FK_ADD; 29685 PUSH32(esp, 0); /* 0x2B0714AC: push 0 */ 29686 PUSH32(esp, eax); /* 0x2B0714AE: push eax */ 29687 ecx = esi; /* 0x2B0714AF: mov ecx, esi */ 29688 MEM32(ebp + (-0x8)) = eax; /* 0x2B0714B1: mov dword ptr [ebp - 8], eax */ 29689 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0714B4: call dword ptr [0x2b0b5154] */ 29690 RECOMP_FLAGS_IN(); 29691 /* test LO8(eax), LO8(eax) */ /* 0x2B0714BA: test al, al */ 29692 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 29693 _cf = 0; 29694 _flag_k = FK_NARROW(FK_TEST, 24); 29695 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0714EA; /* 0x2B0714BC: je 0x2b0714ea */ 29696 L_2B0714BE: 29697 eax = MEM32(ebp + (-0xC)); /* 0x2B0714BE: mov eax, dword ptr [ebp - 0xc] */ 29698 edx = MEM32(eax + 0x8); /* 0x2B0714C1: mov edx, dword ptr [eax + 8] */ 29699 ecx = edi; /* 0x2B0714C4: mov ecx, edi */ 29700 edi = MEM32(eax + 0x4); /* 0x2B0714C6: mov edi, dword ptr [eax + 4] */ 29701 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 29702 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 29703 edi = edi + edx; /* 0x2B0714C9: add edi, edx */ 29704 _flag_k = FK_ADD; 29705 edx = ecx; /* 0x2B0714CB: mov edx, ecx */ 29706 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0714CD: shr ecx, 2 */ 29707 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 29708 ecx = ecx >> 2u; /* 0x2B0714CD: shr ecx, 2 */ 29709 esi = 0x2B0EBA68u; /* 0x2B0714D0: mov esi, 0x2b0eba68 */ 29710 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0714D5: 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; } 29711 ecx = edx; /* 0x2B0714D7: mov ecx, edx */ 29712 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 29713 ecx = ecx & 3; /* 0x2B0714D9: and ecx, 3 */ 29714 _cf = 0; 29715 _flag_k = FK_TEST; 29716 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0714DC: 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; } 29717 ecx = MEM32(ebp + (-0x8)); /* 0x2B0714DE: mov ecx, dword ptr [ebp - 8] */ 29718 PUSH32(esp, ecx); /* 0x2B0714E1: push ecx */ 29719 ecx = eax; /* 0x2B0714E2: mov ecx, eax */ 29720 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B0714E4: call dword ptr [0x2b0b5150] */ 29721 RECOMP_FLAGS_IN(); 29722 L_2B0714EA: 29723 ecx = MEM32(ebx + 0x28); /* 0x2B0714EA: mov ecx, dword ptr [ebx + 0x28] */ 29724 PUSH32(esp, 0x14u); /* 0x2B0714ED: push 0x14 */ 29725 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0714EF: push -1 */ 29726 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B0714F1: call dword ptr [0x2b0b5a74] */ 29727 RECOMP_FLAGS_IN(); 29728 fp_push(*(float*)&MEM32(ebp + 0xC)); /* 0x2B0714F7: fld dword ptr [ebp + 0xc] */ 29729 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B0714FA: fcomp dword ptr [0x2b0b61b8] */ 29730 fp_pop(); 29731 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B071500: fnstsw ax */ 29732 /* test HI8(eax), 0x41u */ /* 0x2B071502: test ah, 0x41 */ 29733 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 29734 _cf = 0; 29735 _flag_k = FK_NARROW(FK_TEST, 24); 29736 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071580; /* 0x2B071505: je 0x2b071580 */ 29737 L_2B071507: 29738 edx = MEM32(0x2B0B515C); /* 0x2B071507: mov edx, dword ptr [0x2b0b515c] */ 29739 esi = MEM32(ebx + 0x28); /* 0x2B07150D: mov esi, dword ptr [ebx + 0x28] */ 29740 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 29741 eax = 0; /* 0x2B071510: xor eax, eax */ 29742 _cf = 0; 29743 _flag_k = FK_TEST; 29744 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 29745 ecx = ecx | 0xFFFFFFFFu; /* 0x2B071512: or ecx, 0xffffffff */ 29746 _cf = 0; 29747 _flag_k = FK_TEST; 29748 edi = 0x2B0EBA4Cu; /* 0x2B071515: mov edi, 0x2b0eba4c */ 29749 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; } /* 0x2B07151A: repne scasb al, byte ptr es:[edi] */ 29750 eax = MEM32(edx); /* 0x2B07151C: mov eax, dword ptr [edx] */ 29751 edx = MEM32(esi + 0x8); /* 0x2B07151E: mov edx, dword ptr [esi + 8] */ 29752 ecx = ~ecx; /* 0x2B071521: not ecx */ 29753 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 29754 ecx = ecx - 1; /* 0x2B071523: dec ecx */ 29755 _flag_k = FK_DEC; 29756 edi = ecx; /* 0x2B071524: mov edi, ecx */ 29757 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 29758 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29759 eax = eax - edx; /* 0x2B071526: sub eax, edx */ 29760 _flag_k = FK_CMP; 29761 /* cmp eax, edi */ /* 0x2B071528: cmp eax, edi */ 29762 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 29763 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29764 _flag_k = FK_CMP; 29765 MEM32(ebp + (-0xC)) = esi; /* 0x2B07152A: mov dword ptr [ebp - 0xc], esi */ 29766 if (CMP_A(_flag_a, _flag_b)) goto L_2B071535; /* 0x2B07152D: ja 0x2b071535 */ 29767 L_2B07152F: 29768 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07152F: call dword ptr [0x2b0b51a8] */ 29769 RECOMP_FLAGS_IN(); 29770 L_2B071535: 29771 /* test edi, edi */ /* 0x2B071535: test edi, edi */ 29772 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 29773 _cf = 0; 29774 _flag_k = FK_TEST; 29775 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07189E; /* 0x2B071537: jbe 0x2b07189e */ 29776 L_2B07153D: 29777 eax = MEM32(esi + 0x8); /* 0x2B07153D: mov eax, dword ptr [esi + 8] */ 29778 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 29779 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 29780 eax = eax + edi; /* 0x2B071540: add eax, edi */ 29781 _flag_k = FK_ADD; 29782 PUSH32(esp, 0); /* 0x2B071542: push 0 */ 29783 PUSH32(esp, eax); /* 0x2B071544: push eax */ 29784 ecx = esi; /* 0x2B071545: mov ecx, esi */ 29785 MEM32(ebp + (-0x8)) = eax; /* 0x2B071547: mov dword ptr [ebp - 8], eax */ 29786 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07154A: call dword ptr [0x2b0b5154] */ 29787 RECOMP_FLAGS_IN(); 29788 /* test LO8(eax), LO8(eax) */ /* 0x2B071550: test al, al */ 29789 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 29790 _cf = 0; 29791 _flag_k = FK_NARROW(FK_TEST, 24); 29792 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07189E; /* 0x2B071552: je 0x2b07189e */ 29793 L_2B071558: 29794 eax = MEM32(ebp + (-0xC)); /* 0x2B071558: mov eax, dword ptr [ebp - 0xc] */ 29795 edx = MEM32(eax + 0x8); /* 0x2B07155B: mov edx, dword ptr [eax + 8] */ 29796 ecx = edi; /* 0x2B07155E: mov ecx, edi */ 29797 edi = MEM32(eax + 0x4); /* 0x2B071560: mov edi, dword ptr [eax + 4] */ 29798 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 29799 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 29800 edi = edi + edx; /* 0x2B071563: add edi, edx */ 29801 _flag_k = FK_ADD; 29802 edx = ecx; /* 0x2B071565: mov edx, ecx */ 29803 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B071567: shr ecx, 2 */ 29804 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 29805 ecx = ecx >> 2u; /* 0x2B071567: shr ecx, 2 */ 29806 esi = 0x2B0EBA4Cu; /* 0x2B07156A: mov esi, 0x2b0eba4c */ 29807 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07156F: 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; } 29808 ecx = edx; /* 0x2B071571: mov ecx, edx */ 29809 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 29810 ecx = ecx & 3; /* 0x2B071573: and ecx, 3 */ 29811 _cf = 0; 29812 _flag_k = FK_TEST; 29813 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071576: 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; } 29814 ecx = MEM32(ebp + (-0x8)); /* 0x2B071578: mov ecx, dword ptr [ebp - 8] */ 29815 goto L_2B071895; /* 0x2B07157B: jmp 0x2b071895 */ 29816 L_2B071580: 29817 fp_push(*(float*)&MEM32(ebp + 0xC)); /* 0x2B071580: fld dword ptr [ebp + 0xc] */ 29818 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B716C)); /* 0x2B071583: fcomp dword ptr [0x2b0b716c] */ 29819 fp_pop(); 29820 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B071589: fnstsw ax */ 29821 /* test HI8(eax), 1 */ /* 0x2B07158B: test ah, 1 */ 29822 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 29823 _cf = 0; 29824 _flag_k = FK_NARROW(FK_TEST, 24); 29825 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071609; /* 0x2B07158E: je 0x2b071609 */ 29826 L_2B071590: 29827 edx = MEM32(0x2B0B515C); /* 0x2B071590: mov edx, dword ptr [0x2b0b515c] */ 29828 esi = MEM32(ebx + 0x28); /* 0x2B071596: mov esi, dword ptr [ebx + 0x28] */ 29829 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 29830 eax = 0; /* 0x2B071599: xor eax, eax */ 29831 _cf = 0; 29832 _flag_k = FK_TEST; 29833 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 29834 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07159B: or ecx, 0xffffffff */ 29835 _cf = 0; 29836 _flag_k = FK_TEST; 29837 edi = 0x2B0EBA1Cu; /* 0x2B07159E: mov edi, 0x2b0eba1c */ 29838 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; } /* 0x2B0715A3: repne scasb al, byte ptr es:[edi] */ 29839 eax = MEM32(edx); /* 0x2B0715A5: mov eax, dword ptr [edx] */ 29840 edx = MEM32(esi + 0x8); /* 0x2B0715A7: mov edx, dword ptr [esi + 8] */ 29841 ecx = ~ecx; /* 0x2B0715AA: not ecx */ 29842 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 29843 ecx = ecx - 1; /* 0x2B0715AC: dec ecx */ 29844 _flag_k = FK_DEC; 29845 edi = ecx; /* 0x2B0715AD: mov edi, ecx */ 29846 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 29847 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29848 eax = eax - edx; /* 0x2B0715AF: sub eax, edx */ 29849 _flag_k = FK_CMP; 29850 /* cmp eax, edi */ /* 0x2B0715B1: cmp eax, edi */ 29851 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 29852 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29853 _flag_k = FK_CMP; 29854 MEM32(ebp + (-0xC)) = esi; /* 0x2B0715B3: mov dword ptr [ebp - 0xc], esi */ 29855 if (CMP_A(_flag_a, _flag_b)) goto L_2B0715BE; /* 0x2B0715B6: ja 0x2b0715be */ 29856 L_2B0715B8: 29857 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0715B8: call dword ptr [0x2b0b51a8] */ 29858 RECOMP_FLAGS_IN(); 29859 L_2B0715BE: 29860 /* test edi, edi */ /* 0x2B0715BE: test edi, edi */ 29861 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 29862 _cf = 0; 29863 _flag_k = FK_TEST; 29864 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07189E; /* 0x2B0715C0: jbe 0x2b07189e */ 29865 L_2B0715C6: 29866 eax = MEM32(esi + 0x8); /* 0x2B0715C6: mov eax, dword ptr [esi + 8] */ 29867 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 29868 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 29869 eax = eax + edi; /* 0x2B0715C9: add eax, edi */ 29870 _flag_k = FK_ADD; 29871 PUSH32(esp, 0); /* 0x2B0715CB: push 0 */ 29872 PUSH32(esp, eax); /* 0x2B0715CD: push eax */ 29873 ecx = esi; /* 0x2B0715CE: mov ecx, esi */ 29874 MEM32(ebp + (-0x8)) = eax; /* 0x2B0715D0: mov dword ptr [ebp - 8], eax */ 29875 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0715D3: call dword ptr [0x2b0b5154] */ 29876 RECOMP_FLAGS_IN(); 29877 /* test LO8(eax), LO8(eax) */ /* 0x2B0715D9: test al, al */ 29878 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 29879 _cf = 0; 29880 _flag_k = FK_NARROW(FK_TEST, 24); 29881 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07189E; /* 0x2B0715DB: je 0x2b07189e */ 29882 L_2B0715E1: 29883 eax = MEM32(ebp + (-0xC)); /* 0x2B0715E1: mov eax, dword ptr [ebp - 0xc] */ 29884 edx = MEM32(eax + 0x8); /* 0x2B0715E4: mov edx, dword ptr [eax + 8] */ 29885 ecx = edi; /* 0x2B0715E7: mov ecx, edi */ 29886 edi = MEM32(eax + 0x4); /* 0x2B0715E9: mov edi, dword ptr [eax + 4] */ 29887 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 29888 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 29889 edi = edi + edx; /* 0x2B0715EC: add edi, edx */ 29890 _flag_k = FK_ADD; 29891 edx = ecx; /* 0x2B0715EE: mov edx, ecx */ 29892 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0715F0: shr ecx, 2 */ 29893 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 29894 ecx = ecx >> 2u; /* 0x2B0715F0: shr ecx, 2 */ 29895 esi = 0x2B0EBA1Cu; /* 0x2B0715F3: mov esi, 0x2b0eba1c */ 29896 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0715F8: 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; } 29897 ecx = edx; /* 0x2B0715FA: mov ecx, edx */ 29898 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 29899 ecx = ecx & 3; /* 0x2B0715FC: and ecx, 3 */ 29900 _cf = 0; 29901 _flag_k = FK_TEST; 29902 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0715FF: 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; } 29903 ecx = MEM32(ebp + (-0x8)); /* 0x2B071601: mov ecx, dword ptr [ebp - 8] */ 29904 goto L_2B071895; /* 0x2B071604: jmp 0x2b071895 */ 29905 L_2B071609: 29906 fp_push(*(float*)&MEM32(ebp + 0xC)); /* 0x2B071609: fld dword ptr [ebp + 0xc] */ 29907 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B7168)); /* 0x2B07160C: fcomp dword ptr [0x2b0b7168] */ 29908 fp_pop(); 29909 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B071612: fnstsw ax */ 29910 /* test HI8(eax), 1 */ /* 0x2B071614: test ah, 1 */ 29911 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 29912 _cf = 0; 29913 _flag_k = FK_NARROW(FK_TEST, 24); 29914 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071692; /* 0x2B071617: je 0x2b071692 */ 29915 L_2B071619: 29916 edx = MEM32(0x2B0B515C); /* 0x2B071619: mov edx, dword ptr [0x2b0b515c] */ 29917 esi = MEM32(ebx + 0x28); /* 0x2B07161F: mov esi, dword ptr [ebx + 0x28] */ 29918 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 29919 eax = 0; /* 0x2B071622: xor eax, eax */ 29920 _cf = 0; 29921 _flag_k = FK_TEST; 29922 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 29923 ecx = ecx | 0xFFFFFFFFu; /* 0x2B071624: or ecx, 0xffffffff */ 29924 _cf = 0; 29925 _flag_k = FK_TEST; 29926 edi = 0x2B0EB9F4u; /* 0x2B071627: mov edi, 0x2b0eb9f4 */ 29927 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; } /* 0x2B07162C: repne scasb al, byte ptr es:[edi] */ 29928 eax = MEM32(edx); /* 0x2B07162E: mov eax, dword ptr [edx] */ 29929 edx = MEM32(esi + 0x8); /* 0x2B071630: mov edx, dword ptr [esi + 8] */ 29930 ecx = ~ecx; /* 0x2B071633: not ecx */ 29931 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 29932 ecx = ecx - 1; /* 0x2B071635: dec ecx */ 29933 _flag_k = FK_DEC; 29934 edi = ecx; /* 0x2B071636: mov edi, ecx */ 29935 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 29936 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29937 eax = eax - edx; /* 0x2B071638: sub eax, edx */ 29938 _flag_k = FK_CMP; 29939 /* cmp eax, edi */ /* 0x2B07163A: cmp eax, edi */ 29940 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 29941 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 29942 _flag_k = FK_CMP; 29943 MEM32(ebp + (-0xC)) = esi; /* 0x2B07163C: mov dword ptr [ebp - 0xc], esi */ 29944 if (CMP_A(_flag_a, _flag_b)) goto L_2B071647; /* 0x2B07163F: ja 0x2b071647 */ 29945 L_2B071641: 29946 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B071641: call dword ptr [0x2b0b51a8] */ 29947 RECOMP_FLAGS_IN(); 29948 L_2B071647: 29949 /* test edi, edi */ /* 0x2B071647: test edi, edi */ 29950 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 29951 _cf = 0; 29952 _flag_k = FK_TEST; 29953 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07189E; /* 0x2B071649: jbe 0x2b07189e */ 29954 L_2B07164F: 29955 eax = MEM32(esi + 0x8); /* 0x2B07164F: mov eax, dword ptr [esi + 8] */ 29956 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 29957 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 29958 eax = eax + edi; /* 0x2B071652: add eax, edi */ 29959 _flag_k = FK_ADD; 29960 PUSH32(esp, 0); /* 0x2B071654: push 0 */ 29961 PUSH32(esp, eax); /* 0x2B071656: push eax */ 29962 ecx = esi; /* 0x2B071657: mov ecx, esi */ 29963 MEM32(ebp + (-0x8)) = eax; /* 0x2B071659: mov dword ptr [ebp - 8], eax */ 29964 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07165C: call dword ptr [0x2b0b5154] */ 29965 RECOMP_FLAGS_IN(); 29966 /* test LO8(eax), LO8(eax) */ /* 0x2B071662: test al, al */ 29967 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 29968 _cf = 0; 29969 _flag_k = FK_NARROW(FK_TEST, 24); 29970 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07189E; /* 0x2B071664: je 0x2b07189e */ 29971 L_2B07166A: 29972 eax = MEM32(ebp + (-0xC)); /* 0x2B07166A: mov eax, dword ptr [ebp - 0xc] */ 29973 edx = MEM32(eax + 0x8); /* 0x2B07166D: mov edx, dword ptr [eax + 8] */ 29974 ecx = edi; /* 0x2B071670: mov ecx, edi */ 29975 edi = MEM32(eax + 0x4); /* 0x2B071672: mov edi, dword ptr [eax + 4] */ 29976 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 29977 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 29978 edi = edi + edx; /* 0x2B071675: add edi, edx */ 29979 _flag_k = FK_ADD; 29980 edx = ecx; /* 0x2B071677: mov edx, ecx */ 29981 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B071679: shr ecx, 2 */ 29982 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 29983 ecx = ecx >> 2u; /* 0x2B071679: shr ecx, 2 */ 29984 esi = 0x2B0EB9F4u; /* 0x2B07167C: mov esi, 0x2b0eb9f4 */ 29985 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071681: 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; } 29986 ecx = edx; /* 0x2B071683: mov ecx, edx */ 29987 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 29988 ecx = ecx & 3; /* 0x2B071685: and ecx, 3 */ 29989 _cf = 0; 29990 _flag_k = FK_TEST; 29991 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071688: 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; } 29992 ecx = MEM32(ebp + (-0x8)); /* 0x2B07168A: mov ecx, dword ptr [ebp - 8] */ 29993 goto L_2B071895; /* 0x2B07168D: jmp 0x2b071895 */ 29994 L_2B071692: 29995 fp_push(*(float*)&MEM32(ebp + 0xC)); /* 0x2B071692: fld dword ptr [ebp + 0xc] */ 29996 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B7164)); /* 0x2B071695: fcomp dword ptr [0x2b0b7164] */ 29997 fp_pop(); 29998 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B07169B: fnstsw ax */ 29999 /* test HI8(eax), 1 */ /* 0x2B07169D: test ah, 1 */ 30000 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 30001 _cf = 0; 30002 _flag_k = FK_NARROW(FK_TEST, 24); 30003 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07171D; /* 0x2B0716A0: je 0x2b07171d */ 30004 L_2B0716A2: 30005 edx = MEM32(0x2B0B515C); /* 0x2B0716A2: mov edx, dword ptr [0x2b0b515c] */ 30006 esi = MEM32(ebx + 0x28); /* 0x2B0716A8: mov esi, dword ptr [ebx + 0x28] */ 30007 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 30008 eax = 0; /* 0x2B0716AB: xor eax, eax */ 30009 _cf = 0; 30010 _flag_k = FK_TEST; 30011 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 30012 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0716AD: or ecx, 0xffffffff */ 30013 _cf = 0; 30014 _flag_k = FK_TEST; 30015 edi = 0x2B0EB9C8u; /* 0x2B0716B0: mov edi, 0x2b0eb9c8 */ 30016 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; } /* 0x2B0716B5: repne scasb al, byte ptr es:[edi] */ 30017 eax = MEM32(edx); /* 0x2B0716B7: mov eax, dword ptr [edx] */ 30018 edx = MEM32(esi + 0x8); /* 0x2B0716B9: mov edx, dword ptr [esi + 8] */ 30019 ecx = ~ecx; /* 0x2B0716BC: not ecx */ 30020 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 30021 ecx = ecx - 1; /* 0x2B0716BE: dec ecx */ 30022 _flag_k = FK_DEC; 30023 edi = ecx; /* 0x2B0716BF: mov edi, ecx */ 30024 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 30025 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30026 eax = eax - edx; /* 0x2B0716C1: sub eax, edx */ 30027 _flag_k = FK_CMP; 30028 /* cmp eax, edi */ /* 0x2B0716C3: cmp eax, edi */ 30029 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 30030 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30031 _flag_k = FK_CMP; 30032 MEM32(ebp + (-0xC)) = esi; /* 0x2B0716C5: mov dword ptr [ebp - 0xc], esi */ 30033 if (CMP_A(_flag_a, _flag_b)) goto L_2B0716D0; /* 0x2B0716C8: ja 0x2b0716d0 */ 30034 L_2B0716CA: 30035 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0716CA: call dword ptr [0x2b0b51a8] */ 30036 RECOMP_FLAGS_IN(); 30037 L_2B0716D0: 30038 /* test edi, edi */ /* 0x2B0716D0: test edi, edi */ 30039 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 30040 _cf = 0; 30041 _flag_k = FK_TEST; 30042 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07189E; /* 0x2B0716D2: jbe 0x2b07189e */ 30043 L_2B0716D8: 30044 edx = MEM32(esi + 0x8); /* 0x2B0716D8: mov edx, dword ptr [esi + 8] */ 30045 eax = edi; /* 0x2B0716DB: mov eax, edi */ 30046 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 30047 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30048 eax = eax + edx; /* 0x2B0716DD: add eax, edx */ 30049 _flag_k = FK_ADD; 30050 PUSH32(esp, 0); /* 0x2B0716DF: push 0 */ 30051 PUSH32(esp, eax); /* 0x2B0716E1: push eax */ 30052 ecx = esi; /* 0x2B0716E2: mov ecx, esi */ 30053 MEM32(ebp + (-0x8)) = eax; /* 0x2B0716E4: mov dword ptr [ebp - 8], eax */ 30054 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0716E7: call dword ptr [0x2b0b5154] */ 30055 RECOMP_FLAGS_IN(); 30056 /* test LO8(eax), LO8(eax) */ /* 0x2B0716ED: test al, al */ 30057 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 30058 _cf = 0; 30059 _flag_k = FK_NARROW(FK_TEST, 24); 30060 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07189E; /* 0x2B0716EF: je 0x2b07189e */ 30061 L_2B0716F5: 30062 eax = MEM32(ebp + (-0xC)); /* 0x2B0716F5: mov eax, dword ptr [ebp - 0xc] */ 30063 edx = MEM32(eax + 0x8); /* 0x2B0716F8: mov edx, dword ptr [eax + 8] */ 30064 ecx = edi; /* 0x2B0716FB: mov ecx, edi */ 30065 edi = MEM32(eax + 0x4); /* 0x2B0716FD: mov edi, dword ptr [eax + 4] */ 30066 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 30067 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30068 edi = edi + edx; /* 0x2B071700: add edi, edx */ 30069 _flag_k = FK_ADD; 30070 edx = ecx; /* 0x2B071702: mov edx, ecx */ 30071 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B071704: shr ecx, 2 */ 30072 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 30073 ecx = ecx >> 2u; /* 0x2B071704: shr ecx, 2 */ 30074 esi = 0x2B0EB9C8u; /* 0x2B071707: mov esi, 0x2b0eb9c8 */ 30075 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07170C: 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; } 30076 ecx = edx; /* 0x2B07170E: mov ecx, edx */ 30077 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 30078 ecx = ecx & 3; /* 0x2B071710: and ecx, 3 */ 30079 _cf = 0; 30080 _flag_k = FK_TEST; 30081 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071713: 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; } 30082 ecx = MEM32(ebp + (-0x8)); /* 0x2B071715: mov ecx, dword ptr [ebp - 8] */ 30083 goto L_2B071895; /* 0x2B071718: jmp 0x2b071895 */ 30084 L_2B07171D: 30085 fp_push(*(float*)&MEM32(ebp + 0xC)); /* 0x2B07171D: fld dword ptr [ebp + 0xc] */ 30086 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B7160)); /* 0x2B071720: fcomp dword ptr [0x2b0b7160] */ 30087 fp_pop(); 30088 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B071726: fnstsw ax */ 30089 /* test HI8(eax), 1 */ /* 0x2B071728: test ah, 1 */ 30090 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 30091 _cf = 0; 30092 _flag_k = FK_NARROW(FK_TEST, 24); 30093 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0717A6; /* 0x2B07172B: je 0x2b0717a6 */ 30094 L_2B07172D: 30095 edx = MEM32(0x2B0B515C); /* 0x2B07172D: mov edx, dword ptr [0x2b0b515c] */ 30096 esi = MEM32(ebx + 0x28); /* 0x2B071733: mov esi, dword ptr [ebx + 0x28] */ 30097 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 30098 eax = 0; /* 0x2B071736: xor eax, eax */ 30099 _cf = 0; 30100 _flag_k = FK_TEST; 30101 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 30102 ecx = ecx | 0xFFFFFFFFu; /* 0x2B071738: or ecx, 0xffffffff */ 30103 _cf = 0; 30104 _flag_k = FK_TEST; 30105 edi = 0x2B0EB984u; /* 0x2B07173B: mov edi, 0x2b0eb984 */ 30106 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; } /* 0x2B071740: repne scasb al, byte ptr es:[edi] */ 30107 eax = MEM32(edx); /* 0x2B071742: mov eax, dword ptr [edx] */ 30108 edx = MEM32(esi + 0x8); /* 0x2B071744: mov edx, dword ptr [esi + 8] */ 30109 ecx = ~ecx; /* 0x2B071747: not ecx */ 30110 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 30111 ecx = ecx - 1; /* 0x2B071749: dec ecx */ 30112 _flag_k = FK_DEC; 30113 edi = ecx; /* 0x2B07174A: mov edi, ecx */ 30114 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 30115 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30116 eax = eax - edx; /* 0x2B07174C: sub eax, edx */ 30117 _flag_k = FK_CMP; 30118 /* cmp eax, edi */ /* 0x2B07174E: cmp eax, edi */ 30119 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 30120 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30121 _flag_k = FK_CMP; 30122 MEM32(ebp + (-0xC)) = esi; /* 0x2B071750: mov dword ptr [ebp - 0xc], esi */ 30123 if (CMP_A(_flag_a, _flag_b)) goto L_2B07175B; /* 0x2B071753: ja 0x2b07175b */ 30124 L_2B071755: 30125 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B071755: call dword ptr [0x2b0b51a8] */ 30126 RECOMP_FLAGS_IN(); 30127 L_2B07175B: 30128 /* test edi, edi */ /* 0x2B07175B: test edi, edi */ 30129 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 30130 _cf = 0; 30131 _flag_k = FK_TEST; 30132 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07189E; /* 0x2B07175D: jbe 0x2b07189e */ 30133 L_2B071763: 30134 eax = MEM32(esi + 0x8); /* 0x2B071763: mov eax, dword ptr [esi + 8] */ 30135 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 30136 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30137 eax = eax + edi; /* 0x2B071766: add eax, edi */ 30138 _flag_k = FK_ADD; 30139 PUSH32(esp, 0); /* 0x2B071768: push 0 */ 30140 PUSH32(esp, eax); /* 0x2B07176A: push eax */ 30141 ecx = esi; /* 0x2B07176B: mov ecx, esi */ 30142 MEM32(ebp + (-0x8)) = eax; /* 0x2B07176D: mov dword ptr [ebp - 8], eax */ 30143 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B071770: call dword ptr [0x2b0b5154] */ 30144 RECOMP_FLAGS_IN(); 30145 /* test LO8(eax), LO8(eax) */ /* 0x2B071776: test al, al */ 30146 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 30147 _cf = 0; 30148 _flag_k = FK_NARROW(FK_TEST, 24); 30149 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07189E; /* 0x2B071778: je 0x2b07189e */ 30150 L_2B07177E: 30151 eax = MEM32(ebp + (-0xC)); /* 0x2B07177E: mov eax, dword ptr [ebp - 0xc] */ 30152 edx = MEM32(eax + 0x8); /* 0x2B071781: mov edx, dword ptr [eax + 8] */ 30153 ecx = edi; /* 0x2B071784: mov ecx, edi */ 30154 edi = MEM32(eax + 0x4); /* 0x2B071786: mov edi, dword ptr [eax + 4] */ 30155 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 30156 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30157 edi = edi + edx; /* 0x2B071789: add edi, edx */ 30158 _flag_k = FK_ADD; 30159 edx = ecx; /* 0x2B07178B: mov edx, ecx */ 30160 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07178D: shr ecx, 2 */ 30161 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 30162 ecx = ecx >> 2u; /* 0x2B07178D: shr ecx, 2 */ 30163 esi = 0x2B0EB984u; /* 0x2B071790: mov esi, 0x2b0eb984 */ 30164 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071795: 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; } 30165 ecx = edx; /* 0x2B071797: mov ecx, edx */ 30166 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 30167 ecx = ecx & 3; /* 0x2B071799: and ecx, 3 */ 30168 _cf = 0; 30169 _flag_k = FK_TEST; 30170 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07179C: 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; } 30171 ecx = MEM32(ebp + (-0x8)); /* 0x2B07179E: mov ecx, dword ptr [ebp - 8] */ 30172 goto L_2B071895; /* 0x2B0717A1: jmp 0x2b071895 */ 30173 L_2B0717A6: 30174 fp_push(*(float*)&MEM32(ebp + 0xC)); /* 0x2B0717A6: fld dword ptr [ebp + 0xc] */ 30175 esi = MEM32(ebx + 0x28); /* 0x2B0717A9: mov esi, dword ptr [ebx + 0x28] */ 30176 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B6564)); /* 0x2B0717AC: fcomp dword ptr [0x2b0b6564] */ 30177 fp_pop(); 30178 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B0717B2: fnstsw ax */ 30179 /* test HI8(eax), 1 */ /* 0x2B0717B4: test ah, 1 */ 30180 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 30181 _cf = 0; 30182 _flag_k = FK_NARROW(FK_TEST, 24); 30183 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07182C; /* 0x2B0717B7: je 0x2b07182c */ 30184 L_2B0717B9: 30185 edx = MEM32(0x2B0B515C); /* 0x2B0717B9: mov edx, dword ptr [0x2b0b515c] */ 30186 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 30187 eax = 0; /* 0x2B0717BF: xor eax, eax */ 30188 _cf = 0; 30189 _flag_k = FK_TEST; 30190 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 30191 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0717C1: or ecx, 0xffffffff */ 30192 _cf = 0; 30193 _flag_k = FK_TEST; 30194 edi = 0x2B0EB950u; /* 0x2B0717C4: mov edi, 0x2b0eb950 */ 30195 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; } /* 0x2B0717C9: repne scasb al, byte ptr es:[edi] */ 30196 eax = MEM32(edx); /* 0x2B0717CB: mov eax, dword ptr [edx] */ 30197 edx = MEM32(esi + 0x8); /* 0x2B0717CD: mov edx, dword ptr [esi + 8] */ 30198 ecx = ~ecx; /* 0x2B0717D0: not ecx */ 30199 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 30200 ecx = ecx - 1; /* 0x2B0717D2: dec ecx */ 30201 _flag_k = FK_DEC; 30202 edi = ecx; /* 0x2B0717D3: mov edi, ecx */ 30203 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 30204 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30205 eax = eax - edx; /* 0x2B0717D5: sub eax, edx */ 30206 _flag_k = FK_CMP; 30207 /* cmp eax, edi */ /* 0x2B0717D7: cmp eax, edi */ 30208 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 30209 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30210 _flag_k = FK_CMP; 30211 MEM32(ebp + (-0xC)) = esi; /* 0x2B0717D9: mov dword ptr [ebp - 0xc], esi */ 30212 if (CMP_A(_flag_a, _flag_b)) goto L_2B0717E4; /* 0x2B0717DC: ja 0x2b0717e4 */ 30213 L_2B0717DE: 30214 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0717DE: call dword ptr [0x2b0b51a8] */ 30215 RECOMP_FLAGS_IN(); 30216 L_2B0717E4: 30217 /* test edi, edi */ /* 0x2B0717E4: test edi, edi */ 30218 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 30219 _cf = 0; 30220 _flag_k = FK_TEST; 30221 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07189E; /* 0x2B0717E6: jbe 0x2b07189e */ 30222 L_2B0717EC: 30223 eax = MEM32(esi + 0x8); /* 0x2B0717EC: mov eax, dword ptr [esi + 8] */ 30224 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 30225 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30226 eax = eax + edi; /* 0x2B0717EF: add eax, edi */ 30227 _flag_k = FK_ADD; 30228 PUSH32(esp, 0); /* 0x2B0717F1: push 0 */ 30229 PUSH32(esp, eax); /* 0x2B0717F3: push eax */ 30230 ecx = esi; /* 0x2B0717F4: mov ecx, esi */ 30231 MEM32(ebp + (-0x8)) = eax; /* 0x2B0717F6: mov dword ptr [ebp - 8], eax */ 30232 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0717F9: call dword ptr [0x2b0b5154] */ 30233 RECOMP_FLAGS_IN(); 30234 /* test LO8(eax), LO8(eax) */ /* 0x2B0717FF: test al, al */ 30235 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 30236 _cf = 0; 30237 _flag_k = FK_NARROW(FK_TEST, 24); 30238 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07189E; /* 0x2B071801: je 0x2b07189e */ 30239 L_2B071807: 30240 eax = MEM32(ebp + (-0xC)); /* 0x2B071807: mov eax, dword ptr [ebp - 0xc] */ 30241 edx = MEM32(eax + 0x8); /* 0x2B07180A: mov edx, dword ptr [eax + 8] */ 30242 ecx = edi; /* 0x2B07180D: mov ecx, edi */ 30243 edi = MEM32(eax + 0x4); /* 0x2B07180F: mov edi, dword ptr [eax + 4] */ 30244 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 30245 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30246 edi = edi + edx; /* 0x2B071812: add edi, edx */ 30247 _flag_k = FK_ADD; 30248 edx = ecx; /* 0x2B071814: mov edx, ecx */ 30249 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B071816: shr ecx, 2 */ 30250 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 30251 ecx = ecx >> 2u; /* 0x2B071816: shr ecx, 2 */ 30252 esi = 0x2B0EB950u; /* 0x2B071819: mov esi, 0x2b0eb950 */ 30253 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07181E: 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; } 30254 ecx = edx; /* 0x2B071820: mov ecx, edx */ 30255 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 30256 ecx = ecx & 3; /* 0x2B071822: and ecx, 3 */ 30257 _cf = 0; 30258 _flag_k = FK_TEST; 30259 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071825: 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; } 30260 ecx = MEM32(ebp + (-0x8)); /* 0x2B071827: mov ecx, dword ptr [ebp - 8] */ 30261 goto L_2B071895; /* 0x2B07182A: jmp 0x2b071895 */ 30262 L_2B07182C: 30263 edx = MEM32(0x2B0B515C); /* 0x2B07182C: mov edx, dword ptr [0x2b0b515c] */ 30264 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 30265 eax = 0; /* 0x2B071832: xor eax, eax */ 30266 _cf = 0; 30267 _flag_k = FK_TEST; 30268 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 30269 ecx = ecx | 0xFFFFFFFFu; /* 0x2B071834: or ecx, 0xffffffff */ 30270 _cf = 0; 30271 _flag_k = FK_TEST; 30272 edi = 0x2B0EB908u; /* 0x2B071837: mov edi, 0x2b0eb908 */ 30273 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; } /* 0x2B07183C: repne scasb al, byte ptr es:[edi] */ 30274 eax = MEM32(edx); /* 0x2B07183E: mov eax, dword ptr [edx] */ 30275 edx = MEM32(esi + 0x8); /* 0x2B071840: mov edx, dword ptr [esi + 8] */ 30276 ecx = ~ecx; /* 0x2B071843: not ecx */ 30277 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 30278 ecx = ecx - 1; /* 0x2B071845: dec ecx */ 30279 _flag_k = FK_DEC; 30280 edi = ecx; /* 0x2B071846: mov edi, ecx */ 30281 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 30282 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30283 eax = eax - edx; /* 0x2B071848: sub eax, edx */ 30284 _flag_k = FK_CMP; 30285 /* cmp eax, edi */ /* 0x2B07184A: cmp eax, edi */ 30286 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 30287 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30288 _flag_k = FK_CMP; 30289 MEM32(ebp + (-0xC)) = esi; /* 0x2B07184C: mov dword ptr [ebp - 0xc], esi */ 30290 if (CMP_A(_flag_a, _flag_b)) goto L_2B071857; /* 0x2B07184F: ja 0x2b071857 */ 30291 L_2B071851: 30292 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B071851: call dword ptr [0x2b0b51a8] */ 30293 RECOMP_FLAGS_IN(); 30294 L_2B071857: 30295 /* test edi, edi */ /* 0x2B071857: test edi, edi */ 30296 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 30297 _cf = 0; 30298 _flag_k = FK_TEST; 30299 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07189E; /* 0x2B071859: jbe 0x2b07189e */ 30300 L_2B07185B: 30301 eax = MEM32(esi + 0x8); /* 0x2B07185B: mov eax, dword ptr [esi + 8] */ 30302 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 30303 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30304 eax = eax + edi; /* 0x2B07185E: add eax, edi */ 30305 _flag_k = FK_ADD; 30306 PUSH32(esp, 0); /* 0x2B071860: push 0 */ 30307 PUSH32(esp, eax); /* 0x2B071862: push eax */ 30308 ecx = esi; /* 0x2B071863: mov ecx, esi */ 30309 MEM32(ebp + (-0x8)) = eax; /* 0x2B071865: mov dword ptr [ebp - 8], eax */ 30310 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B071868: call dword ptr [0x2b0b5154] */ 30311 RECOMP_FLAGS_IN(); 30312 /* test LO8(eax), LO8(eax) */ /* 0x2B07186E: test al, al */ 30313 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 30314 _cf = 0; 30315 _flag_k = FK_NARROW(FK_TEST, 24); 30316 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07189E; /* 0x2B071870: je 0x2b07189e */ 30317 L_2B071872: 30318 eax = MEM32(ebp + (-0xC)); /* 0x2B071872: mov eax, dword ptr [ebp - 0xc] */ 30319 edx = MEM32(eax + 0x8); /* 0x2B071875: mov edx, dword ptr [eax + 8] */ 30320 ecx = edi; /* 0x2B071878: mov ecx, edi */ 30321 edi = MEM32(eax + 0x4); /* 0x2B07187A: mov edi, dword ptr [eax + 4] */ 30322 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 30323 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30324 edi = edi + edx; /* 0x2B07187D: add edi, edx */ 30325 _flag_k = FK_ADD; 30326 edx = ecx; /* 0x2B07187F: mov edx, ecx */ 30327 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B071881: shr ecx, 2 */ 30328 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 30329 ecx = ecx >> 2u; /* 0x2B071881: shr ecx, 2 */ 30330 esi = 0x2B0EB908u; /* 0x2B071884: mov esi, 0x2b0eb908 */ 30331 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071889: 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; } 30332 ecx = edx; /* 0x2B07188B: mov ecx, edx */ 30333 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 30334 ecx = ecx & 3; /* 0x2B07188D: and ecx, 3 */ 30335 _cf = 0; 30336 _flag_k = FK_TEST; 30337 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071890: 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; } 30338 ecx = MEM32(ebp + (-0x8)); /* 0x2B071892: mov ecx, dword ptr [ebp - 8] */ 30339 L_2B071895: 30340 PUSH32(esp, ecx); /* 0x2B071895: push ecx */ 30341 ecx = eax; /* 0x2B071896: mov ecx, eax */ 30342 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B071898: call dword ptr [0x2b0b5150] */ 30343 RECOMP_FLAGS_IN(); 30344 L_2B07189E: 30345 edx = MEM32(ebp + 0x8); /* 0x2B07189E: mov edx, dword ptr [ebp + 8] */ 30346 PUSH32(esp, 0xCCu); /* 0x2B0718A1: push 0xcc */ 30347 PUSH32(esp, edx); /* 0x2B0718A6: push edx */ 30348 ecx = ebx; /* 0x2B0718A7: mov ecx, ebx */ 30349 RECOMP_ICALL(0x2B0735D0u); /* 0x2B0718A9: call 0x2b0735d0 */ /* not lifted */ 30350 RECOMP_FLAGS_IN(); 30351 /* cmp eax, 0x1Eu */ /* 0x2B0718AE: cmp eax, 0x1e */ 30352 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1Eu); 30353 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30354 _flag_k = FK_CMP; 30355 if (CMP_LE(_flag_a, _flag_b)) goto L_2B071927; /* 0x2B0718B1: jle 0x2b071927 */ 30356 L_2B0718B3: 30357 esi = MEM32(ebx + 0x28); /* 0x2B0718B3: mov esi, dword ptr [ebx + 0x28] */ 30358 edx = MEM32(esi + 0x8); /* 0x2B0718B6: mov edx, dword ptr [esi + 8] */ 30359 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 30360 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0718B9: or ecx, 0xffffffff */ 30361 _cf = 0; 30362 _flag_k = FK_TEST; 30363 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 30364 eax = 0; /* 0x2B0718BC: xor eax, eax */ 30365 _cf = 0; 30366 _flag_k = FK_TEST; 30367 edi = 0x2B0EB8E8u; /* 0x2B0718BE: mov edi, 0x2b0eb8e8 */ 30368 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; } /* 0x2B0718C3: repne scasb al, byte ptr es:[edi] */ 30369 eax = MEM32(0x2B0B515C); /* 0x2B0718C5: mov eax, dword ptr [0x2b0b515c] */ 30370 ecx = ~ecx; /* 0x2B0718CA: not ecx */ 30371 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 30372 ecx = ecx - 1; /* 0x2B0718CC: dec ecx */ 30373 _flag_k = FK_DEC; 30374 edi = ecx; /* 0x2B0718CD: mov edi, ecx */ 30375 ecx = MEM32(eax); /* 0x2B0718CF: mov ecx, dword ptr [eax] */ 30376 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 30377 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30378 ecx = ecx - edx; /* 0x2B0718D1: sub ecx, edx */ 30379 _flag_k = FK_CMP; 30380 /* cmp ecx, edi */ /* 0x2B0718D3: cmp ecx, edi */ 30381 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 30382 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30383 _flag_k = FK_CMP; 30384 MEM32(ebp + (-0xC)) = esi; /* 0x2B0718D5: mov dword ptr [ebp - 0xc], esi */ 30385 if (CMP_A(_flag_a, _flag_b)) goto L_2B0718E0; /* 0x2B0718D8: ja 0x2b0718e0 */ 30386 L_2B0718DA: 30387 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0718DA: call dword ptr [0x2b0b51a8] */ 30388 RECOMP_FLAGS_IN(); 30389 L_2B0718E0: 30390 /* test edi, edi */ /* 0x2B0718E0: test edi, edi */ 30391 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 30392 _cf = 0; 30393 _flag_k = FK_TEST; 30394 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071927; /* 0x2B0718E2: jbe 0x2b071927 */ 30395 L_2B0718E4: 30396 eax = MEM32(esi + 0x8); /* 0x2B0718E4: mov eax, dword ptr [esi + 8] */ 30397 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 30398 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30399 eax = eax + edi; /* 0x2B0718E7: add eax, edi */ 30400 _flag_k = FK_ADD; 30401 PUSH32(esp, 0); /* 0x2B0718E9: push 0 */ 30402 PUSH32(esp, eax); /* 0x2B0718EB: push eax */ 30403 ecx = esi; /* 0x2B0718EC: mov ecx, esi */ 30404 MEM32(ebp + (-0x8)) = eax; /* 0x2B0718EE: mov dword ptr [ebp - 8], eax */ 30405 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0718F1: call dword ptr [0x2b0b5154] */ 30406 RECOMP_FLAGS_IN(); 30407 /* test LO8(eax), LO8(eax) */ /* 0x2B0718F7: test al, al */ 30408 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 30409 _cf = 0; 30410 _flag_k = FK_NARROW(FK_TEST, 24); 30411 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071927; /* 0x2B0718F9: je 0x2b071927 */ 30412 L_2B0718FB: 30413 eax = MEM32(ebp + (-0xC)); /* 0x2B0718FB: mov eax, dword ptr [ebp - 0xc] */ 30414 edx = MEM32(eax + 0x8); /* 0x2B0718FE: mov edx, dword ptr [eax + 8] */ 30415 ecx = edi; /* 0x2B071901: mov ecx, edi */ 30416 edi = MEM32(eax + 0x4); /* 0x2B071903: mov edi, dword ptr [eax + 4] */ 30417 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 30418 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30419 edi = edi + edx; /* 0x2B071906: add edi, edx */ 30420 _flag_k = FK_ADD; 30421 edx = ecx; /* 0x2B071908: mov edx, ecx */ 30422 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07190A: shr ecx, 2 */ 30423 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 30424 ecx = ecx >> 2u; /* 0x2B07190A: shr ecx, 2 */ 30425 esi = 0x2B0EB8E8u; /* 0x2B07190D: mov esi, 0x2b0eb8e8 */ 30426 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071912: 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; } 30427 ecx = edx; /* 0x2B071914: mov ecx, edx */ 30428 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 30429 ecx = ecx & 3; /* 0x2B071916: and ecx, 3 */ 30430 _cf = 0; 30431 _flag_k = FK_TEST; 30432 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071919: 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; } 30433 ecx = MEM32(ebp + (-0x8)); /* 0x2B07191B: mov ecx, dword ptr [ebp - 8] */ 30434 PUSH32(esp, ecx); /* 0x2B07191E: push ecx */ 30435 ecx = eax; /* 0x2B07191F: mov ecx, eax */ 30436 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B071921: call dword ptr [0x2b0b5150] */ 30437 RECOMP_FLAGS_IN(); 30438 L_2B071927: 30439 edx = MEM32(ebp + 0x8); /* 0x2B071927: mov edx, dword ptr [ebp + 8] */ 30440 PUSH32(esp, 0x21u); /* 0x2B07192A: push 0x21 */ 30441 PUSH32(esp, edx); /* 0x2B07192C: push edx */ 30442 ecx = ebx; /* 0x2B07192D: mov ecx, ebx */ 30443 RECOMP_ICALL(0x2B0735D0u); /* 0x2B07192F: call 0x2b0735d0 */ /* not lifted */ 30444 RECOMP_FLAGS_IN(); 30445 /* cmp eax, 3 */ /* 0x2B071934: cmp eax, 3 */ 30446 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 30447 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30448 _flag_k = FK_CMP; 30449 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071A53; /* 0x2B071937: je 0x2b071a53 */ 30450 L_2B07193D: 30451 ecx = MEM32(ebx + 0x28); /* 0x2B07193D: mov ecx, dword ptr [ebx + 0x28] */ 30452 PUSH32(esp, 0x13u); /* 0x2B071940: push 0x13 */ 30453 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B071942: push -1 */ 30454 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B071944: call dword ptr [0x2b0b5a74] */ 30455 RECOMP_FLAGS_IN(); 30456 esi = MEM32(ebx + 0x28); /* 0x2B07194A: mov esi, dword ptr [ebx + 0x28] */ 30457 edx = MEM32(esi + 0x8); /* 0x2B07194D: mov edx, dword ptr [esi + 8] */ 30458 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 30459 ecx = ecx | 0xFFFFFFFFu; /* 0x2B071950: or ecx, 0xffffffff */ 30460 _cf = 0; 30461 _flag_k = FK_TEST; 30462 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 30463 eax = 0; /* 0x2B071953: xor eax, eax */ 30464 _cf = 0; 30465 _flag_k = FK_TEST; 30466 edi = 0x2B0EB834u; /* 0x2B071955: mov edi, 0x2b0eb834 */ 30467 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; } /* 0x2B07195A: repne scasb al, byte ptr es:[edi] */ 30468 eax = MEM32(0x2B0B515C); /* 0x2B07195C: mov eax, dword ptr [0x2b0b515c] */ 30469 ecx = ~ecx; /* 0x2B071961: not ecx */ 30470 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 30471 ecx = ecx - 1; /* 0x2B071963: dec ecx */ 30472 _flag_k = FK_DEC; 30473 edi = ecx; /* 0x2B071964: mov edi, ecx */ 30474 ecx = MEM32(eax); /* 0x2B071966: mov ecx, dword ptr [eax] */ 30475 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 30476 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30477 ecx = ecx - edx; /* 0x2B071968: sub ecx, edx */ 30478 _flag_k = FK_CMP; 30479 /* cmp ecx, edi */ /* 0x2B07196A: cmp ecx, edi */ 30480 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 30481 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30482 _flag_k = FK_CMP; 30483 MEM32(ebp + (-0xC)) = esi; /* 0x2B07196C: mov dword ptr [ebp - 0xc], esi */ 30484 if (CMP_A(_flag_a, _flag_b)) goto L_2B071977; /* 0x2B07196F: ja 0x2b071977 */ 30485 L_2B071971: 30486 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B071971: call dword ptr [0x2b0b51a8] */ 30487 RECOMP_FLAGS_IN(); 30488 L_2B071977: 30489 /* test edi, edi */ /* 0x2B071977: test edi, edi */ 30490 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 30491 _cf = 0; 30492 _flag_k = FK_TEST; 30493 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0719C0; /* 0x2B071979: jbe 0x2b0719c0 */ 30494 L_2B07197B: 30495 edx = MEM32(esi + 0x8); /* 0x2B07197B: mov edx, dword ptr [esi + 8] */ 30496 eax = edi; /* 0x2B07197E: mov eax, edi */ 30497 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 30498 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30499 eax = eax + edx; /* 0x2B071980: add eax, edx */ 30500 _flag_k = FK_ADD; 30501 PUSH32(esp, 0); /* 0x2B071982: push 0 */ 30502 PUSH32(esp, eax); /* 0x2B071984: push eax */ 30503 ecx = esi; /* 0x2B071985: mov ecx, esi */ 30504 MEM32(ebp + (-0x8)) = eax; /* 0x2B071987: mov dword ptr [ebp - 8], eax */ 30505 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07198A: call dword ptr [0x2b0b5154] */ 30506 RECOMP_FLAGS_IN(); 30507 /* test LO8(eax), LO8(eax) */ /* 0x2B071990: test al, al */ 30508 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 30509 _cf = 0; 30510 _flag_k = FK_NARROW(FK_TEST, 24); 30511 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0719C0; /* 0x2B071992: je 0x2b0719c0 */ 30512 L_2B071994: 30513 eax = MEM32(ebp + (-0xC)); /* 0x2B071994: mov eax, dword ptr [ebp - 0xc] */ 30514 edx = MEM32(eax + 0x8); /* 0x2B071997: mov edx, dword ptr [eax + 8] */ 30515 ecx = edi; /* 0x2B07199A: mov ecx, edi */ 30516 edi = MEM32(eax + 0x4); /* 0x2B07199C: mov edi, dword ptr [eax + 4] */ 30517 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 30518 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30519 edi = edi + edx; /* 0x2B07199F: add edi, edx */ 30520 _flag_k = FK_ADD; 30521 edx = ecx; /* 0x2B0719A1: mov edx, ecx */ 30522 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0719A3: shr ecx, 2 */ 30523 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 30524 ecx = ecx >> 2u; /* 0x2B0719A3: shr ecx, 2 */ 30525 esi = 0x2B0EB834u; /* 0x2B0719A6: mov esi, 0x2b0eb834 */ 30526 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0719AB: 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; } 30527 ecx = edx; /* 0x2B0719AD: mov ecx, edx */ 30528 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 30529 ecx = ecx & 3; /* 0x2B0719AF: and ecx, 3 */ 30530 _cf = 0; 30531 _flag_k = FK_TEST; 30532 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0719B2: 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; } 30533 ecx = MEM32(ebp + (-0x8)); /* 0x2B0719B4: mov ecx, dword ptr [ebp - 8] */ 30534 PUSH32(esp, ecx); /* 0x2B0719B7: push ecx */ 30535 ecx = eax; /* 0x2B0719B8: mov ecx, eax */ 30536 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B0719BA: call dword ptr [0x2b0b5150] */ 30537 RECOMP_FLAGS_IN(); 30538 L_2B0719C0: 30539 ecx = MEM32(ebx + 0x28); /* 0x2B0719C0: mov ecx, dword ptr [ebx + 0x28] */ 30540 PUSH32(esp, 0x14u); /* 0x2B0719C3: push 0x14 */ 30541 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0719C5: push -1 */ 30542 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B0719C7: call dword ptr [0x2b0b5a74] */ 30543 RECOMP_FLAGS_IN(); 30544 edx = MEM32(ebp + 0x8); /* 0x2B0719CD: mov edx, dword ptr [ebp + 8] */ 30545 PUSH32(esp, edx); /* 0x2B0719D0: push edx */ 30546 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0719D1: call dword ptr [0x2b0b5d6c] */ 30547 RECOMP_FLAGS_IN(); 30548 ecx = eax; /* 0x2B0719D7: mov ecx, eax */ 30549 RECOMP_ICALL(MEM32(0x2B0B5D2C)); /* 0x2B0719D9: call dword ptr [0x2b0b5d2c] */ 30550 RECOMP_FLAGS_IN(); 30551 esi = MEM32(ebx + 0x28); /* 0x2B0719DF: mov esi, dword ptr [ebx + 0x28] */ 30552 edx = MEM32(esi + 0x8); /* 0x2B0719E2: mov edx, dword ptr [esi + 8] */ 30553 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 30554 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0719E5: or ecx, 0xffffffff */ 30555 _cf = 0; 30556 _flag_k = FK_TEST; 30557 edi = eax; /* 0x2B0719E8: mov edi, eax */ 30558 MEM32(ebp + (-0xC)) = eax; /* 0x2B0719EA: mov dword ptr [ebp - 0xc], eax */ 30559 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 30560 eax = 0; /* 0x2B0719ED: xor eax, eax */ 30561 _cf = 0; 30562 _flag_k = FK_TEST; 30563 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; } /* 0x2B0719EF: repne scasb al, byte ptr es:[edi] */ 30564 eax = MEM32(0x2B0B515C); /* 0x2B0719F1: mov eax, dword ptr [0x2b0b515c] */ 30565 ecx = ~ecx; /* 0x2B0719F6: not ecx */ 30566 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 30567 ecx = ecx - 1; /* 0x2B0719F8: dec ecx */ 30568 _flag_k = FK_DEC; 30569 edi = ecx; /* 0x2B0719F9: mov edi, ecx */ 30570 ecx = MEM32(eax); /* 0x2B0719FB: mov ecx, dword ptr [eax] */ 30571 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 30572 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30573 ecx = ecx - edx; /* 0x2B0719FD: sub ecx, edx */ 30574 _flag_k = FK_CMP; 30575 /* cmp ecx, edi */ /* 0x2B0719FF: cmp ecx, edi */ 30576 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 30577 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30578 _flag_k = FK_CMP; 30579 MEM32(ebp + (-0x8)) = esi; /* 0x2B071A01: mov dword ptr [ebp - 8], esi */ 30580 if (CMP_A(_flag_a, _flag_b)) goto L_2B071A0C; /* 0x2B071A04: ja 0x2b071a0c */ 30581 L_2B071A06: 30582 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B071A06: call dword ptr [0x2b0b51a8] */ 30583 RECOMP_FLAGS_IN(); 30584 L_2B071A0C: 30585 /* test edi, edi */ /* 0x2B071A0C: test edi, edi */ 30586 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 30587 _cf = 0; 30588 _flag_k = FK_TEST; 30589 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071A53; /* 0x2B071A0E: jbe 0x2b071a53 */ 30590 L_2B071A10: 30591 edx = MEM32(esi + 0x8); /* 0x2B071A10: mov edx, dword ptr [esi + 8] */ 30592 eax = edi; /* 0x2B071A13: mov eax, edi */ 30593 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 30594 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30595 eax = eax + edx; /* 0x2B071A15: add eax, edx */ 30596 _flag_k = FK_ADD; 30597 PUSH32(esp, 0); /* 0x2B071A17: push 0 */ 30598 PUSH32(esp, eax); /* 0x2B071A19: push eax */ 30599 ecx = esi; /* 0x2B071A1A: mov ecx, esi */ 30600 MEM32(ebp + (-0x4)) = eax; /* 0x2B071A1C: mov dword ptr [ebp - 4], eax */ 30601 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B071A1F: call dword ptr [0x2b0b5154] */ 30602 RECOMP_FLAGS_IN(); 30603 /* test LO8(eax), LO8(eax) */ /* 0x2B071A25: test al, al */ 30604 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 30605 _cf = 0; 30606 _flag_k = FK_NARROW(FK_TEST, 24); 30607 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071A53; /* 0x2B071A27: je 0x2b071a53 */ 30608 L_2B071A29: 30609 eax = MEM32(ebp + (-0x8)); /* 0x2B071A29: mov eax, dword ptr [ebp - 8] */ 30610 edx = MEM32(eax + 0x8); /* 0x2B071A2C: mov edx, dword ptr [eax + 8] */ 30611 esi = MEM32(ebp + (-0xC)); /* 0x2B071A2F: mov esi, dword ptr [ebp - 0xc] */ 30612 ecx = edi; /* 0x2B071A32: mov ecx, edi */ 30613 edi = MEM32(eax + 0x4); /* 0x2B071A34: mov edi, dword ptr [eax + 4] */ 30614 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 30615 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30616 edi = edi + edx; /* 0x2B071A37: add edi, edx */ 30617 _flag_k = FK_ADD; 30618 edx = ecx; /* 0x2B071A39: mov edx, ecx */ 30619 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B071A3B: shr ecx, 2 */ 30620 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 30621 ecx = ecx >> 2u; /* 0x2B071A3B: shr ecx, 2 */ 30622 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071A3E: 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; } 30623 ecx = edx; /* 0x2B071A40: mov ecx, edx */ 30624 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 30625 ecx = ecx & 3; /* 0x2B071A42: and ecx, 3 */ 30626 _cf = 0; 30627 _flag_k = FK_TEST; 30628 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071A45: 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; } 30629 ecx = MEM32(ebp + (-0x4)); /* 0x2B071A47: mov ecx, dword ptr [ebp - 4] */ 30630 PUSH32(esp, ecx); /* 0x2B071A4A: push ecx */ 30631 ecx = eax; /* 0x2B071A4B: mov ecx, eax */ 30632 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B071A4D: call dword ptr [0x2b0b5150] */ 30633 RECOMP_FLAGS_IN(); 30634 L_2B071A53: 30635 edx = MEM32(0x2B0B515C); /* 0x2B071A53: mov edx, dword ptr [0x2b0b515c] */ 30636 esi = MEM32(ebx + 0x28); /* 0x2B071A59: mov esi, dword ptr [ebx + 0x28] */ 30637 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 30638 eax = 0; /* 0x2B071A5C: xor eax, eax */ 30639 _cf = 0; 30640 _flag_k = FK_TEST; 30641 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 30642 ecx = ecx | 0xFFFFFFFFu; /* 0x2B071A5E: or ecx, 0xffffffff */ 30643 _cf = 0; 30644 _flag_k = FK_TEST; 30645 edi = 0x2B0E2BF8u; /* 0x2B071A61: mov edi, 0x2b0e2bf8 */ 30646 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; } /* 0x2B071A66: repne scasb al, byte ptr es:[edi] */ 30647 eax = MEM32(edx); /* 0x2B071A68: mov eax, dword ptr [edx] */ 30648 edx = MEM32(esi + 0x8); /* 0x2B071A6A: mov edx, dword ptr [esi + 8] */ 30649 ecx = ~ecx; /* 0x2B071A6D: not ecx */ 30650 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 30651 ecx = ecx - 1; /* 0x2B071A6F: dec ecx */ 30652 _flag_k = FK_DEC; 30653 edi = ecx; /* 0x2B071A70: mov edi, ecx */ 30654 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 30655 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30656 eax = eax - edx; /* 0x2B071A72: sub eax, edx */ 30657 _flag_k = FK_CMP; 30658 /* cmp eax, edi */ /* 0x2B071A74: cmp eax, edi */ 30659 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 30660 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30661 _flag_k = FK_CMP; 30662 MEM32(ebp + (-0xC)) = esi; /* 0x2B071A76: mov dword ptr [ebp - 0xc], esi */ 30663 if (CMP_A(_flag_a, _flag_b)) goto L_2B071A81; /* 0x2B071A79: ja 0x2b071a81 */ 30664 L_2B071A7B: 30665 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B071A7B: call dword ptr [0x2b0b51a8] */ 30666 RECOMP_FLAGS_IN(); 30667 L_2B071A81: 30668 /* test edi, edi */ /* 0x2B071A81: test edi, edi */ 30669 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 30670 _cf = 0; 30671 _flag_k = FK_TEST; 30672 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071ACA; /* 0x2B071A83: jbe 0x2b071aca */ 30673 L_2B071A85: 30674 edx = MEM32(esi + 0x8); /* 0x2B071A85: mov edx, dword ptr [esi + 8] */ 30675 eax = edi; /* 0x2B071A88: mov eax, edi */ 30676 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 30677 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30678 eax = eax + edx; /* 0x2B071A8A: add eax, edx */ 30679 _flag_k = FK_ADD; 30680 PUSH32(esp, 0); /* 0x2B071A8C: push 0 */ 30681 PUSH32(esp, eax); /* 0x2B071A8E: push eax */ 30682 ecx = esi; /* 0x2B071A8F: mov ecx, esi */ 30683 MEM32(ebp + (-0x8)) = eax; /* 0x2B071A91: mov dword ptr [ebp - 8], eax */ 30684 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B071A94: call dword ptr [0x2b0b5154] */ 30685 RECOMP_FLAGS_IN(); 30686 /* test LO8(eax), LO8(eax) */ /* 0x2B071A9A: test al, al */ 30687 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 30688 _cf = 0; 30689 _flag_k = FK_NARROW(FK_TEST, 24); 30690 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071ACA; /* 0x2B071A9C: je 0x2b071aca */ 30691 L_2B071A9E: 30692 eax = MEM32(ebp + (-0xC)); /* 0x2B071A9E: mov eax, dword ptr [ebp - 0xc] */ 30693 edx = MEM32(eax + 0x8); /* 0x2B071AA1: mov edx, dword ptr [eax + 8] */ 30694 ecx = edi; /* 0x2B071AA4: mov ecx, edi */ 30695 edi = MEM32(eax + 0x4); /* 0x2B071AA6: mov edi, dword ptr [eax + 4] */ 30696 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 30697 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30698 edi = edi + edx; /* 0x2B071AA9: add edi, edx */ 30699 _flag_k = FK_ADD; 30700 edx = ecx; /* 0x2B071AAB: mov edx, ecx */ 30701 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B071AAD: shr ecx, 2 */ 30702 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 30703 ecx = ecx >> 2u; /* 0x2B071AAD: shr ecx, 2 */ 30704 esi = 0x2B0E2BF8u; /* 0x2B071AB0: mov esi, 0x2b0e2bf8 */ 30705 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071AB5: 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; } 30706 ecx = edx; /* 0x2B071AB7: mov ecx, edx */ 30707 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 30708 ecx = ecx & 3; /* 0x2B071AB9: and ecx, 3 */ 30709 _cf = 0; 30710 _flag_k = FK_TEST; 30711 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071ABC: 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; } 30712 ecx = MEM32(ebp + (-0x8)); /* 0x2B071ABE: mov ecx, dword ptr [ebp - 8] */ 30713 PUSH32(esp, ecx); /* 0x2B071AC1: push ecx */ 30714 ecx = eax; /* 0x2B071AC2: mov ecx, eax */ 30715 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B071AC4: call dword ptr [0x2b0b5150] */ 30716 RECOMP_FLAGS_IN(); 30717 L_2B071ACA: 30718 edx = MEM32(ebx + 0x28); /* 0x2B071ACA: mov edx, dword ptr [ebx + 0x28] */ 30719 esi = MEM32(ebp + 0x8); /* 0x2B071ACD: mov esi, dword ptr [ebp + 8] */ 30720 PUSH32(esp, edx); /* 0x2B071AD0: push edx */ 30721 PUSH32(esp, esi); /* 0x2B071AD1: push esi */ 30722 ecx = ebx; /* 0x2B071AD2: mov ecx, ebx */ 30723 RECOMP_ICALL(0x2B074330u); /* 0x2B071AD4: call 0x2b074330 */ /* not lifted */ 30724 RECOMP_FLAGS_IN(); 30725 PUSH32(esp, 0x184u); /* 0x2B071AD9: push 0x184 */ 30726 PUSH32(esp, esi); /* 0x2B071ADE: push esi */ 30727 ecx = ebx; /* 0x2B071ADF: mov ecx, ebx */ 30728 RECOMP_ICALL(0x2B0735D0u); /* 0x2B071AE1: call 0x2b0735d0 */ /* not lifted */ 30729 RECOMP_FLAGS_IN(); 30730 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 30731 edi = 0; /* 0x2B071AE6: xor edi, edi */ 30732 _cf = 0; 30733 _flag_k = FK_TEST; 30734 /* cmp eax, edi */ /* 0x2B071AE8: cmp eax, edi */ 30735 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 30736 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30737 _flag_k = FK_CMP; 30738 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071B70; /* 0x2B071AEA: je 0x2b071b70 */ 30739 L_2B071AF0: 30740 /* cmp eax, 0x499602D2u */ /* 0x2B071AF0: cmp eax, 0x499602d2 */ 30741 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 30742 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30743 _flag_k = FK_CMP; 30744 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071B70; /* 0x2B071AF5: je 0x2b071b70 */ 30745 L_2B071AF7: 30746 PUSH32(esp, edi); /* 0x2B071AF7: push edi */ 30747 PUSH32(esp, esi); /* 0x2B071AF8: push esi */ 30748 esi = MEM32(0x2B0B5D6C); /* 0x2B071AF9: mov esi, dword ptr [0x2b0b5d6c] */ 30749 RECOMP_ICALL(esi); /* 0x2B071AFF: call esi */ 30750 RECOMP_FLAGS_IN(); 30751 ecx = eax; /* 0x2B071B01: mov ecx, eax */ 30752 RECOMP_ICALL(MEM32(0x2B0B5D80)); /* 0x2B071B03: call dword ptr [0x2b0b5d80] */ 30753 RECOMP_FLAGS_IN(); 30754 /* cmp eax, edi */ /* 0x2B071B09: cmp eax, edi */ 30755 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 30756 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30757 _flag_k = FK_CMP; 30758 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071B70; /* 0x2B071B0B: je 0x2b071b70 */ 30759 L_2B071B0D: 30760 PUSH32(esp, eax); /* 0x2B071B0D: push eax */ 30761 eax = ebp + (-0x10); /* 0x2B071B0E: lea eax, [ebp - 0x10] */ 30762 PUSH32(esp, eax); /* 0x2B071B11: push eax */ 30763 MEM32(ebp + (-0x10)) = edi; /* 0x2B071B12: mov dword ptr [ebp - 0x10], edi */ 30764 MEM32(ebp + (-0xC)) = edi; /* 0x2B071B15: mov dword ptr [ebp - 0xc], edi */ 30765 RECOMP_ICALL(esi); /* 0x2B071B18: call esi */ 30766 RECOMP_FLAGS_IN(); 30767 ecx = eax; /* 0x2B071B1A: mov ecx, eax */ 30768 RECOMP_ICALL(MEM32(0x2B0B5D4C)); /* 0x2B071B1C: call dword ptr [0x2b0b5d4c] */ 30769 RECOMP_FLAGS_IN(); 30770 /* test LO8(eax), LO8(eax) */ /* 0x2B071B22: test al, al */ 30771 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 30772 _cf = 0; 30773 _flag_k = FK_NARROW(FK_TEST, 24); 30774 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071B70; /* 0x2B071B24: je 0x2b071b70 */ 30775 L_2B071B26: 30776 ecx = MEM32(ebx + 0x28); /* 0x2B071B26: mov ecx, dword ptr [ebx + 0x28] */ 30777 PUSH32(esp, ecx); /* 0x2B071B29: push ecx */ 30778 edx = ebp + (-0x10); /* 0x2B071B2A: lea edx, [ebp - 0x10] */ 30779 PUSH32(esp, edx); /* 0x2B071B2D: push edx */ 30780 ecx = ebx; /* 0x2B071B2E: mov ecx, ebx */ 30781 RECOMP_ICALL(0x2B074770u); /* 0x2B071B30: call 0x2b074770 */ /* not lifted */ 30782 RECOMP_FLAGS_IN(); 30783 eax = MEM32(ebx + 0x28); /* 0x2B071B35: mov eax, dword ptr [ebx + 0x28] */ 30784 PUSH32(esp, eax); /* 0x2B071B38: push eax */ 30785 ecx = ebp + (-0x10); /* 0x2B071B39: lea ecx, [ebp - 0x10] */ 30786 PUSH32(esp, ecx); /* 0x2B071B3C: push ecx */ 30787 ecx = ebx; /* 0x2B071B3D: mov ecx, ebx */ 30788 RECOMP_ICALL(0x2B073ED0u); /* 0x2B071B3F: call 0x2b073ed0 */ /* not lifted */ 30789 RECOMP_FLAGS_IN(); 30790 edx = MEM32(ebx + 0x28); /* 0x2B071B44: mov edx, dword ptr [ebx + 0x28] */ 30791 PUSH32(esp, edx); /* 0x2B071B47: push edx */ 30792 eax = ebp + (-0x10); /* 0x2B071B48: lea eax, [ebp - 0x10] */ 30793 PUSH32(esp, eax); /* 0x2B071B4B: push eax */ 30794 ecx = ebx; /* 0x2B071B4C: mov ecx, ebx */ 30795 RECOMP_ICALL(0x2B073F10u); /* 0x2B071B4E: call 0x2b073f10 */ /* not lifted */ 30796 RECOMP_FLAGS_IN(); 30797 ecx = MEM32(ebx + 0x28); /* 0x2B071B53: mov ecx, dword ptr [ebx + 0x28] */ 30798 PUSH32(esp, ecx); /* 0x2B071B56: push ecx */ 30799 edx = ebp + (-0x10); /* 0x2B071B57: lea edx, [ebp - 0x10] */ 30800 PUSH32(esp, edx); /* 0x2B071B5A: push edx */ 30801 ecx = ebx; /* 0x2B071B5B: mov ecx, ebx */ 30802 RECOMP_ICALL(0x2B073F50u); /* 0x2B071B5D: call 0x2b073f50 */ /* not lifted */ 30803 RECOMP_FLAGS_IN(); 30804 eax = ebp + (-0x10); /* 0x2B071B62: lea eax, [ebp - 0x10] */ 30805 PUSH32(esp, eax); /* 0x2B071B65: push eax */ 30806 RECOMP_ICALL(esi); /* 0x2B071B66: call esi */ 30807 RECOMP_FLAGS_IN(); 30808 ecx = eax; /* 0x2B071B68: mov ecx, eax */ 30809 RECOMP_ICALL(MEM32(0x2B0B5D54)); /* 0x2B071B6A: call dword ptr [0x2b0b5d54] */ 30810 RECOMP_FLAGS_IN(); 30811 L_2B071B70: 30812 edi = POP32_VAL(esp); /* 0x2B071B70: pop edi */ 30813 esi = POP32_VAL(esp); /* 0x2B071B71: pop esi */ 30814 ebx = POP32_VAL(esp); /* 0x2B071B72: pop ebx */ 30815 esp = ebp; /* 0x2B071B73: mov esp, ebp */ 30816 ebp = POP32_VAL(esp); /* 0x2B071B75: pop ebp */ 30817 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B071B76: ret 8 */ 30818 RECOMP_REGS_OUT(); 30819 } 30820 30821 void sub_2B071895(void) { 30822 int _fpu_cmp = 0; 30823 uint32_t _cf = 0; 30824 int _df = 1; 30825 uint32_t _flag_k = FK_NONE; 30826 uint32_t _flag_a = 0, _flag_b = 0; 30827 uint32_t _itail_tgt = 0; 30828 RECOMP_REGS_LOCALS 30829 RECOMP_ENTER(0x2B071895u); 30830 30831 L_2B071895: 30832 PUSH32(esp, ecx); /* 0x2B071895: push ecx */ 30833 ecx = eax; /* 0x2B071896: mov ecx, eax */ 30834 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B071898: call dword ptr [0x2b0b5150] */ 30835 RECOMP_FLAGS_IN(); 30836 edx = MEM32(ebp + 0x8); /* 0x2B07189E: mov edx, dword ptr [ebp + 8] */ 30837 PUSH32(esp, 0xCCu); /* 0x2B0718A1: push 0xcc */ 30838 PUSH32(esp, edx); /* 0x2B0718A6: push edx */ 30839 ecx = ebx; /* 0x2B0718A7: mov ecx, ebx */ 30840 RECOMP_ICALL(0x2B0735D0u); /* 0x2B0718A9: call 0x2b0735d0 */ /* not lifted */ 30841 RECOMP_FLAGS_IN(); 30842 /* cmp eax, 0x1Eu */ /* 0x2B0718AE: cmp eax, 0x1e */ 30843 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1Eu); 30844 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30845 _flag_k = FK_CMP; 30846 if (CMP_LE(_flag_a, _flag_b)) goto L_2B071927; /* 0x2B0718B1: jle 0x2b071927 */ 30847 L_2B0718B3: 30848 esi = MEM32(ebx + 0x28); /* 0x2B0718B3: mov esi, dword ptr [ebx + 0x28] */ 30849 edx = MEM32(esi + 0x8); /* 0x2B0718B6: mov edx, dword ptr [esi + 8] */ 30850 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 30851 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0718B9: or ecx, 0xffffffff */ 30852 _cf = 0; 30853 _flag_k = FK_TEST; 30854 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 30855 eax = 0; /* 0x2B0718BC: xor eax, eax */ 30856 _cf = 0; 30857 _flag_k = FK_TEST; 30858 edi = 0x2B0EB8E8u; /* 0x2B0718BE: mov edi, 0x2b0eb8e8 */ 30859 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; } /* 0x2B0718C3: repne scasb al, byte ptr es:[edi] */ 30860 eax = MEM32(0x2B0B515C); /* 0x2B0718C5: mov eax, dword ptr [0x2b0b515c] */ 30861 ecx = ~ecx; /* 0x2B0718CA: not ecx */ 30862 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 30863 ecx = ecx - 1; /* 0x2B0718CC: dec ecx */ 30864 _flag_k = FK_DEC; 30865 edi = ecx; /* 0x2B0718CD: mov edi, ecx */ 30866 ecx = MEM32(eax); /* 0x2B0718CF: mov ecx, dword ptr [eax] */ 30867 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 30868 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30869 ecx = ecx - edx; /* 0x2B0718D1: sub ecx, edx */ 30870 _flag_k = FK_CMP; 30871 /* cmp ecx, edi */ /* 0x2B0718D3: cmp ecx, edi */ 30872 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 30873 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30874 _flag_k = FK_CMP; 30875 MEM32(ebp + (-0xC)) = esi; /* 0x2B0718D5: mov dword ptr [ebp - 0xc], esi */ 30876 if (CMP_A(_flag_a, _flag_b)) goto L_2B0718E0; /* 0x2B0718D8: ja 0x2b0718e0 */ 30877 L_2B0718DA: 30878 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0718DA: call dword ptr [0x2b0b51a8] */ 30879 RECOMP_FLAGS_IN(); 30880 L_2B0718E0: 30881 /* test edi, edi */ /* 0x2B0718E0: test edi, edi */ 30882 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 30883 _cf = 0; 30884 _flag_k = FK_TEST; 30885 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071927; /* 0x2B0718E2: jbe 0x2b071927 */ 30886 L_2B0718E4: 30887 eax = MEM32(esi + 0x8); /* 0x2B0718E4: mov eax, dword ptr [esi + 8] */ 30888 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 30889 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30890 eax = eax + edi; /* 0x2B0718E7: add eax, edi */ 30891 _flag_k = FK_ADD; 30892 PUSH32(esp, 0); /* 0x2B0718E9: push 0 */ 30893 PUSH32(esp, eax); /* 0x2B0718EB: push eax */ 30894 ecx = esi; /* 0x2B0718EC: mov ecx, esi */ 30895 MEM32(ebp + (-0x8)) = eax; /* 0x2B0718EE: mov dword ptr [ebp - 8], eax */ 30896 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0718F1: call dword ptr [0x2b0b5154] */ 30897 RECOMP_FLAGS_IN(); 30898 /* test LO8(eax), LO8(eax) */ /* 0x2B0718F7: test al, al */ 30899 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 30900 _cf = 0; 30901 _flag_k = FK_NARROW(FK_TEST, 24); 30902 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071927; /* 0x2B0718F9: je 0x2b071927 */ 30903 L_2B0718FB: 30904 eax = MEM32(ebp + (-0xC)); /* 0x2B0718FB: mov eax, dword ptr [ebp - 0xc] */ 30905 edx = MEM32(eax + 0x8); /* 0x2B0718FE: mov edx, dword ptr [eax + 8] */ 30906 ecx = edi; /* 0x2B071901: mov ecx, edi */ 30907 edi = MEM32(eax + 0x4); /* 0x2B071903: mov edi, dword ptr [eax + 4] */ 30908 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 30909 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30910 edi = edi + edx; /* 0x2B071906: add edi, edx */ 30911 _flag_k = FK_ADD; 30912 edx = ecx; /* 0x2B071908: mov edx, ecx */ 30913 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07190A: shr ecx, 2 */ 30914 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 30915 ecx = ecx >> 2u; /* 0x2B07190A: shr ecx, 2 */ 30916 esi = 0x2B0EB8E8u; /* 0x2B07190D: mov esi, 0x2b0eb8e8 */ 30917 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071912: 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; } 30918 ecx = edx; /* 0x2B071914: mov ecx, edx */ 30919 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 30920 ecx = ecx & 3; /* 0x2B071916: and ecx, 3 */ 30921 _cf = 0; 30922 _flag_k = FK_TEST; 30923 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071919: 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; } 30924 ecx = MEM32(ebp + (-0x8)); /* 0x2B07191B: mov ecx, dword ptr [ebp - 8] */ 30925 PUSH32(esp, ecx); /* 0x2B07191E: push ecx */ 30926 ecx = eax; /* 0x2B07191F: mov ecx, eax */ 30927 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B071921: call dword ptr [0x2b0b5150] */ 30928 RECOMP_FLAGS_IN(); 30929 L_2B071927: 30930 edx = MEM32(ebp + 0x8); /* 0x2B071927: mov edx, dword ptr [ebp + 8] */ 30931 PUSH32(esp, 0x21u); /* 0x2B07192A: push 0x21 */ 30932 PUSH32(esp, edx); /* 0x2B07192C: push edx */ 30933 ecx = ebx; /* 0x2B07192D: mov ecx, ebx */ 30934 RECOMP_ICALL(0x2B0735D0u); /* 0x2B07192F: call 0x2b0735d0 */ /* not lifted */ 30935 RECOMP_FLAGS_IN(); 30936 /* cmp eax, 3 */ /* 0x2B071934: cmp eax, 3 */ 30937 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 30938 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30939 _flag_k = FK_CMP; 30940 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071A53; /* 0x2B071937: je 0x2b071a53 */ 30941 L_2B07193D: 30942 ecx = MEM32(ebx + 0x28); /* 0x2B07193D: mov ecx, dword ptr [ebx + 0x28] */ 30943 PUSH32(esp, 0x13u); /* 0x2B071940: push 0x13 */ 30944 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B071942: push -1 */ 30945 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B071944: call dword ptr [0x2b0b5a74] */ 30946 RECOMP_FLAGS_IN(); 30947 esi = MEM32(ebx + 0x28); /* 0x2B07194A: mov esi, dword ptr [ebx + 0x28] */ 30948 edx = MEM32(esi + 0x8); /* 0x2B07194D: mov edx, dword ptr [esi + 8] */ 30949 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 30950 ecx = ecx | 0xFFFFFFFFu; /* 0x2B071950: or ecx, 0xffffffff */ 30951 _cf = 0; 30952 _flag_k = FK_TEST; 30953 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 30954 eax = 0; /* 0x2B071953: xor eax, eax */ 30955 _cf = 0; 30956 _flag_k = FK_TEST; 30957 edi = 0x2B0EB834u; /* 0x2B071955: mov edi, 0x2b0eb834 */ 30958 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; } /* 0x2B07195A: repne scasb al, byte ptr es:[edi] */ 30959 eax = MEM32(0x2B0B515C); /* 0x2B07195C: mov eax, dword ptr [0x2b0b515c] */ 30960 ecx = ~ecx; /* 0x2B071961: not ecx */ 30961 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 30962 ecx = ecx - 1; /* 0x2B071963: dec ecx */ 30963 _flag_k = FK_DEC; 30964 edi = ecx; /* 0x2B071964: mov edi, ecx */ 30965 ecx = MEM32(eax); /* 0x2B071966: mov ecx, dword ptr [eax] */ 30966 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 30967 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30968 ecx = ecx - edx; /* 0x2B071968: sub ecx, edx */ 30969 _flag_k = FK_CMP; 30970 /* cmp ecx, edi */ /* 0x2B07196A: cmp ecx, edi */ 30971 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 30972 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 30973 _flag_k = FK_CMP; 30974 MEM32(ebp + (-0xC)) = esi; /* 0x2B07196C: mov dword ptr [ebp - 0xc], esi */ 30975 if (CMP_A(_flag_a, _flag_b)) goto L_2B071977; /* 0x2B07196F: ja 0x2b071977 */ 30976 L_2B071971: 30977 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B071971: call dword ptr [0x2b0b51a8] */ 30978 RECOMP_FLAGS_IN(); 30979 L_2B071977: 30980 /* test edi, edi */ /* 0x2B071977: test edi, edi */ 30981 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 30982 _cf = 0; 30983 _flag_k = FK_TEST; 30984 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0719C0; /* 0x2B071979: jbe 0x2b0719c0 */ 30985 L_2B07197B: 30986 edx = MEM32(esi + 0x8); /* 0x2B07197B: mov edx, dword ptr [esi + 8] */ 30987 eax = edi; /* 0x2B07197E: mov eax, edi */ 30988 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 30989 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 30990 eax = eax + edx; /* 0x2B071980: add eax, edx */ 30991 _flag_k = FK_ADD; 30992 PUSH32(esp, 0); /* 0x2B071982: push 0 */ 30993 PUSH32(esp, eax); /* 0x2B071984: push eax */ 30994 ecx = esi; /* 0x2B071985: mov ecx, esi */ 30995 MEM32(ebp + (-0x8)) = eax; /* 0x2B071987: mov dword ptr [ebp - 8], eax */ 30996 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07198A: call dword ptr [0x2b0b5154] */ 30997 RECOMP_FLAGS_IN(); 30998 /* test LO8(eax), LO8(eax) */ /* 0x2B071990: test al, al */ 30999 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 31000 _cf = 0; 31001 _flag_k = FK_NARROW(FK_TEST, 24); 31002 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0719C0; /* 0x2B071992: je 0x2b0719c0 */ 31003 L_2B071994: 31004 eax = MEM32(ebp + (-0xC)); /* 0x2B071994: mov eax, dword ptr [ebp - 0xc] */ 31005 edx = MEM32(eax + 0x8); /* 0x2B071997: mov edx, dword ptr [eax + 8] */ 31006 ecx = edi; /* 0x2B07199A: mov ecx, edi */ 31007 edi = MEM32(eax + 0x4); /* 0x2B07199C: mov edi, dword ptr [eax + 4] */ 31008 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 31009 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 31010 edi = edi + edx; /* 0x2B07199F: add edi, edx */ 31011 _flag_k = FK_ADD; 31012 edx = ecx; /* 0x2B0719A1: mov edx, ecx */ 31013 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0719A3: shr ecx, 2 */ 31014 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 31015 ecx = ecx >> 2u; /* 0x2B0719A3: shr ecx, 2 */ 31016 esi = 0x2B0EB834u; /* 0x2B0719A6: mov esi, 0x2b0eb834 */ 31017 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0719AB: 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; } 31018 ecx = edx; /* 0x2B0719AD: mov ecx, edx */ 31019 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 31020 ecx = ecx & 3; /* 0x2B0719AF: and ecx, 3 */ 31021 _cf = 0; 31022 _flag_k = FK_TEST; 31023 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0719B2: 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; } 31024 ecx = MEM32(ebp + (-0x8)); /* 0x2B0719B4: mov ecx, dword ptr [ebp - 8] */ 31025 PUSH32(esp, ecx); /* 0x2B0719B7: push ecx */ 31026 ecx = eax; /* 0x2B0719B8: mov ecx, eax */ 31027 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B0719BA: call dword ptr [0x2b0b5150] */ 31028 RECOMP_FLAGS_IN(); 31029 L_2B0719C0: 31030 ecx = MEM32(ebx + 0x28); /* 0x2B0719C0: mov ecx, dword ptr [ebx + 0x28] */ 31031 PUSH32(esp, 0x14u); /* 0x2B0719C3: push 0x14 */ 31032 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0719C5: push -1 */ 31033 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B0719C7: call dword ptr [0x2b0b5a74] */ 31034 RECOMP_FLAGS_IN(); 31035 edx = MEM32(ebp + 0x8); /* 0x2B0719CD: mov edx, dword ptr [ebp + 8] */ 31036 PUSH32(esp, edx); /* 0x2B0719D0: push edx */ 31037 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0719D1: call dword ptr [0x2b0b5d6c] */ 31038 RECOMP_FLAGS_IN(); 31039 ecx = eax; /* 0x2B0719D7: mov ecx, eax */ 31040 RECOMP_ICALL(MEM32(0x2B0B5D2C)); /* 0x2B0719D9: call dword ptr [0x2b0b5d2c] */ 31041 RECOMP_FLAGS_IN(); 31042 esi = MEM32(ebx + 0x28); /* 0x2B0719DF: mov esi, dword ptr [ebx + 0x28] */ 31043 edx = MEM32(esi + 0x8); /* 0x2B0719E2: mov edx, dword ptr [esi + 8] */ 31044 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 31045 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0719E5: or ecx, 0xffffffff */ 31046 _cf = 0; 31047 _flag_k = FK_TEST; 31048 edi = eax; /* 0x2B0719E8: mov edi, eax */ 31049 MEM32(ebp + (-0xC)) = eax; /* 0x2B0719EA: mov dword ptr [ebp - 0xc], eax */ 31050 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 31051 eax = 0; /* 0x2B0719ED: xor eax, eax */ 31052 _cf = 0; 31053 _flag_k = FK_TEST; 31054 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; } /* 0x2B0719EF: repne scasb al, byte ptr es:[edi] */ 31055 eax = MEM32(0x2B0B515C); /* 0x2B0719F1: mov eax, dword ptr [0x2b0b515c] */ 31056 ecx = ~ecx; /* 0x2B0719F6: not ecx */ 31057 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 31058 ecx = ecx - 1; /* 0x2B0719F8: dec ecx */ 31059 _flag_k = FK_DEC; 31060 edi = ecx; /* 0x2B0719F9: mov edi, ecx */ 31061 ecx = MEM32(eax); /* 0x2B0719FB: mov ecx, dword ptr [eax] */ 31062 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 31063 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31064 ecx = ecx - edx; /* 0x2B0719FD: sub ecx, edx */ 31065 _flag_k = FK_CMP; 31066 /* cmp ecx, edi */ /* 0x2B0719FF: cmp ecx, edi */ 31067 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 31068 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31069 _flag_k = FK_CMP; 31070 MEM32(ebp + (-0x8)) = esi; /* 0x2B071A01: mov dword ptr [ebp - 8], esi */ 31071 if (CMP_A(_flag_a, _flag_b)) goto L_2B071A0C; /* 0x2B071A04: ja 0x2b071a0c */ 31072 L_2B071A06: 31073 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B071A06: call dword ptr [0x2b0b51a8] */ 31074 RECOMP_FLAGS_IN(); 31075 L_2B071A0C: 31076 /* test edi, edi */ /* 0x2B071A0C: test edi, edi */ 31077 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 31078 _cf = 0; 31079 _flag_k = FK_TEST; 31080 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071A53; /* 0x2B071A0E: jbe 0x2b071a53 */ 31081 L_2B071A10: 31082 edx = MEM32(esi + 0x8); /* 0x2B071A10: mov edx, dword ptr [esi + 8] */ 31083 eax = edi; /* 0x2B071A13: mov eax, edi */ 31084 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 31085 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 31086 eax = eax + edx; /* 0x2B071A15: add eax, edx */ 31087 _flag_k = FK_ADD; 31088 PUSH32(esp, 0); /* 0x2B071A17: push 0 */ 31089 PUSH32(esp, eax); /* 0x2B071A19: push eax */ 31090 ecx = esi; /* 0x2B071A1A: mov ecx, esi */ 31091 MEM32(ebp + (-0x4)) = eax; /* 0x2B071A1C: mov dword ptr [ebp - 4], eax */ 31092 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B071A1F: call dword ptr [0x2b0b5154] */ 31093 RECOMP_FLAGS_IN(); 31094 /* test LO8(eax), LO8(eax) */ /* 0x2B071A25: test al, al */ 31095 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 31096 _cf = 0; 31097 _flag_k = FK_NARROW(FK_TEST, 24); 31098 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071A53; /* 0x2B071A27: je 0x2b071a53 */ 31099 L_2B071A29: 31100 eax = MEM32(ebp + (-0x8)); /* 0x2B071A29: mov eax, dword ptr [ebp - 8] */ 31101 edx = MEM32(eax + 0x8); /* 0x2B071A2C: mov edx, dword ptr [eax + 8] */ 31102 esi = MEM32(ebp + (-0xC)); /* 0x2B071A2F: mov esi, dword ptr [ebp - 0xc] */ 31103 ecx = edi; /* 0x2B071A32: mov ecx, edi */ 31104 edi = MEM32(eax + 0x4); /* 0x2B071A34: mov edi, dword ptr [eax + 4] */ 31105 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 31106 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 31107 edi = edi + edx; /* 0x2B071A37: add edi, edx */ 31108 _flag_k = FK_ADD; 31109 edx = ecx; /* 0x2B071A39: mov edx, ecx */ 31110 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B071A3B: shr ecx, 2 */ 31111 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 31112 ecx = ecx >> 2u; /* 0x2B071A3B: shr ecx, 2 */ 31113 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071A3E: 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; } 31114 ecx = edx; /* 0x2B071A40: mov ecx, edx */ 31115 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 31116 ecx = ecx & 3; /* 0x2B071A42: and ecx, 3 */ 31117 _cf = 0; 31118 _flag_k = FK_TEST; 31119 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071A45: 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; } 31120 ecx = MEM32(ebp + (-0x4)); /* 0x2B071A47: mov ecx, dword ptr [ebp - 4] */ 31121 PUSH32(esp, ecx); /* 0x2B071A4A: push ecx */ 31122 ecx = eax; /* 0x2B071A4B: mov ecx, eax */ 31123 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B071A4D: call dword ptr [0x2b0b5150] */ 31124 RECOMP_FLAGS_IN(); 31125 L_2B071A53: 31126 edx = MEM32(0x2B0B515C); /* 0x2B071A53: mov edx, dword ptr [0x2b0b515c] */ 31127 esi = MEM32(ebx + 0x28); /* 0x2B071A59: mov esi, dword ptr [ebx + 0x28] */ 31128 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 31129 eax = 0; /* 0x2B071A5C: xor eax, eax */ 31130 _cf = 0; 31131 _flag_k = FK_TEST; 31132 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 31133 ecx = ecx | 0xFFFFFFFFu; /* 0x2B071A5E: or ecx, 0xffffffff */ 31134 _cf = 0; 31135 _flag_k = FK_TEST; 31136 edi = 0x2B0E2BF8u; /* 0x2B071A61: mov edi, 0x2b0e2bf8 */ 31137 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; } /* 0x2B071A66: repne scasb al, byte ptr es:[edi] */ 31138 eax = MEM32(edx); /* 0x2B071A68: mov eax, dword ptr [edx] */ 31139 edx = MEM32(esi + 0x8); /* 0x2B071A6A: mov edx, dword ptr [esi + 8] */ 31140 ecx = ~ecx; /* 0x2B071A6D: not ecx */ 31141 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 31142 ecx = ecx - 1; /* 0x2B071A6F: dec ecx */ 31143 _flag_k = FK_DEC; 31144 edi = ecx; /* 0x2B071A70: mov edi, ecx */ 31145 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 31146 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31147 eax = eax - edx; /* 0x2B071A72: sub eax, edx */ 31148 _flag_k = FK_CMP; 31149 /* cmp eax, edi */ /* 0x2B071A74: cmp eax, edi */ 31150 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 31151 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31152 _flag_k = FK_CMP; 31153 MEM32(ebp + (-0xC)) = esi; /* 0x2B071A76: mov dword ptr [ebp - 0xc], esi */ 31154 if (CMP_A(_flag_a, _flag_b)) goto L_2B071A81; /* 0x2B071A79: ja 0x2b071a81 */ 31155 L_2B071A7B: 31156 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B071A7B: call dword ptr [0x2b0b51a8] */ 31157 RECOMP_FLAGS_IN(); 31158 L_2B071A81: 31159 /* test edi, edi */ /* 0x2B071A81: test edi, edi */ 31160 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 31161 _cf = 0; 31162 _flag_k = FK_TEST; 31163 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071ACA; /* 0x2B071A83: jbe 0x2b071aca */ 31164 L_2B071A85: 31165 edx = MEM32(esi + 0x8); /* 0x2B071A85: mov edx, dword ptr [esi + 8] */ 31166 eax = edi; /* 0x2B071A88: mov eax, edi */ 31167 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 31168 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 31169 eax = eax + edx; /* 0x2B071A8A: add eax, edx */ 31170 _flag_k = FK_ADD; 31171 PUSH32(esp, 0); /* 0x2B071A8C: push 0 */ 31172 PUSH32(esp, eax); /* 0x2B071A8E: push eax */ 31173 ecx = esi; /* 0x2B071A8F: mov ecx, esi */ 31174 MEM32(ebp + (-0x8)) = eax; /* 0x2B071A91: mov dword ptr [ebp - 8], eax */ 31175 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B071A94: call dword ptr [0x2b0b5154] */ 31176 RECOMP_FLAGS_IN(); 31177 /* test LO8(eax), LO8(eax) */ /* 0x2B071A9A: test al, al */ 31178 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 31179 _cf = 0; 31180 _flag_k = FK_NARROW(FK_TEST, 24); 31181 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071ACA; /* 0x2B071A9C: je 0x2b071aca */ 31182 L_2B071A9E: 31183 eax = MEM32(ebp + (-0xC)); /* 0x2B071A9E: mov eax, dword ptr [ebp - 0xc] */ 31184 edx = MEM32(eax + 0x8); /* 0x2B071AA1: mov edx, dword ptr [eax + 8] */ 31185 ecx = edi; /* 0x2B071AA4: mov ecx, edi */ 31186 edi = MEM32(eax + 0x4); /* 0x2B071AA6: mov edi, dword ptr [eax + 4] */ 31187 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 31188 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 31189 edi = edi + edx; /* 0x2B071AA9: add edi, edx */ 31190 _flag_k = FK_ADD; 31191 edx = ecx; /* 0x2B071AAB: mov edx, ecx */ 31192 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B071AAD: shr ecx, 2 */ 31193 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 31194 ecx = ecx >> 2u; /* 0x2B071AAD: shr ecx, 2 */ 31195 esi = 0x2B0E2BF8u; /* 0x2B071AB0: mov esi, 0x2b0e2bf8 */ 31196 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071AB5: 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; } 31197 ecx = edx; /* 0x2B071AB7: mov ecx, edx */ 31198 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 31199 ecx = ecx & 3; /* 0x2B071AB9: and ecx, 3 */ 31200 _cf = 0; 31201 _flag_k = FK_TEST; 31202 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071ABC: 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; } 31203 ecx = MEM32(ebp + (-0x8)); /* 0x2B071ABE: mov ecx, dword ptr [ebp - 8] */ 31204 PUSH32(esp, ecx); /* 0x2B071AC1: push ecx */ 31205 ecx = eax; /* 0x2B071AC2: mov ecx, eax */ 31206 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B071AC4: call dword ptr [0x2b0b5150] */ 31207 RECOMP_FLAGS_IN(); 31208 L_2B071ACA: 31209 edx = MEM32(ebx + 0x28); /* 0x2B071ACA: mov edx, dword ptr [ebx + 0x28] */ 31210 esi = MEM32(ebp + 0x8); /* 0x2B071ACD: mov esi, dword ptr [ebp + 8] */ 31211 PUSH32(esp, edx); /* 0x2B071AD0: push edx */ 31212 PUSH32(esp, esi); /* 0x2B071AD1: push esi */ 31213 ecx = ebx; /* 0x2B071AD2: mov ecx, ebx */ 31214 RECOMP_ICALL(0x2B074330u); /* 0x2B071AD4: call 0x2b074330 */ /* not lifted */ 31215 RECOMP_FLAGS_IN(); 31216 PUSH32(esp, 0x184u); /* 0x2B071AD9: push 0x184 */ 31217 PUSH32(esp, esi); /* 0x2B071ADE: push esi */ 31218 ecx = ebx; /* 0x2B071ADF: mov ecx, ebx */ 31219 RECOMP_ICALL(0x2B0735D0u); /* 0x2B071AE1: call 0x2b0735d0 */ /* not lifted */ 31220 RECOMP_FLAGS_IN(); 31221 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 31222 edi = 0; /* 0x2B071AE6: xor edi, edi */ 31223 _cf = 0; 31224 _flag_k = FK_TEST; 31225 /* cmp eax, edi */ /* 0x2B071AE8: cmp eax, edi */ 31226 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 31227 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31228 _flag_k = FK_CMP; 31229 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071B70; /* 0x2B071AEA: je 0x2b071b70 */ 31230 L_2B071AF0: 31231 /* cmp eax, 0x499602D2u */ /* 0x2B071AF0: cmp eax, 0x499602d2 */ 31232 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 31233 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31234 _flag_k = FK_CMP; 31235 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071B70; /* 0x2B071AF5: je 0x2b071b70 */ 31236 L_2B071AF7: 31237 PUSH32(esp, edi); /* 0x2B071AF7: push edi */ 31238 PUSH32(esp, esi); /* 0x2B071AF8: push esi */ 31239 esi = MEM32(0x2B0B5D6C); /* 0x2B071AF9: mov esi, dword ptr [0x2b0b5d6c] */ 31240 RECOMP_ICALL(esi); /* 0x2B071AFF: call esi */ 31241 RECOMP_FLAGS_IN(); 31242 ecx = eax; /* 0x2B071B01: mov ecx, eax */ 31243 RECOMP_ICALL(MEM32(0x2B0B5D80)); /* 0x2B071B03: call dword ptr [0x2b0b5d80] */ 31244 RECOMP_FLAGS_IN(); 31245 /* cmp eax, edi */ /* 0x2B071B09: cmp eax, edi */ 31246 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 31247 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31248 _flag_k = FK_CMP; 31249 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071B70; /* 0x2B071B0B: je 0x2b071b70 */ 31250 L_2B071B0D: 31251 PUSH32(esp, eax); /* 0x2B071B0D: push eax */ 31252 eax = ebp + (-0x10); /* 0x2B071B0E: lea eax, [ebp - 0x10] */ 31253 PUSH32(esp, eax); /* 0x2B071B11: push eax */ 31254 MEM32(ebp + (-0x10)) = edi; /* 0x2B071B12: mov dword ptr [ebp - 0x10], edi */ 31255 MEM32(ebp + (-0xC)) = edi; /* 0x2B071B15: mov dword ptr [ebp - 0xc], edi */ 31256 RECOMP_ICALL(esi); /* 0x2B071B18: call esi */ 31257 RECOMP_FLAGS_IN(); 31258 ecx = eax; /* 0x2B071B1A: mov ecx, eax */ 31259 RECOMP_ICALL(MEM32(0x2B0B5D4C)); /* 0x2B071B1C: call dword ptr [0x2b0b5d4c] */ 31260 RECOMP_FLAGS_IN(); 31261 /* test LO8(eax), LO8(eax) */ /* 0x2B071B22: test al, al */ 31262 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 31263 _cf = 0; 31264 _flag_k = FK_NARROW(FK_TEST, 24); 31265 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071B70; /* 0x2B071B24: je 0x2b071b70 */ 31266 L_2B071B26: 31267 ecx = MEM32(ebx + 0x28); /* 0x2B071B26: mov ecx, dword ptr [ebx + 0x28] */ 31268 PUSH32(esp, ecx); /* 0x2B071B29: push ecx */ 31269 edx = ebp + (-0x10); /* 0x2B071B2A: lea edx, [ebp - 0x10] */ 31270 PUSH32(esp, edx); /* 0x2B071B2D: push edx */ 31271 ecx = ebx; /* 0x2B071B2E: mov ecx, ebx */ 31272 RECOMP_ICALL(0x2B074770u); /* 0x2B071B30: call 0x2b074770 */ /* not lifted */ 31273 RECOMP_FLAGS_IN(); 31274 eax = MEM32(ebx + 0x28); /* 0x2B071B35: mov eax, dword ptr [ebx + 0x28] */ 31275 PUSH32(esp, eax); /* 0x2B071B38: push eax */ 31276 ecx = ebp + (-0x10); /* 0x2B071B39: lea ecx, [ebp - 0x10] */ 31277 PUSH32(esp, ecx); /* 0x2B071B3C: push ecx */ 31278 ecx = ebx; /* 0x2B071B3D: mov ecx, ebx */ 31279 RECOMP_ICALL(0x2B073ED0u); /* 0x2B071B3F: call 0x2b073ed0 */ /* not lifted */ 31280 RECOMP_FLAGS_IN(); 31281 edx = MEM32(ebx + 0x28); /* 0x2B071B44: mov edx, dword ptr [ebx + 0x28] */ 31282 PUSH32(esp, edx); /* 0x2B071B47: push edx */ 31283 eax = ebp + (-0x10); /* 0x2B071B48: lea eax, [ebp - 0x10] */ 31284 PUSH32(esp, eax); /* 0x2B071B4B: push eax */ 31285 ecx = ebx; /* 0x2B071B4C: mov ecx, ebx */ 31286 RECOMP_ICALL(0x2B073F10u); /* 0x2B071B4E: call 0x2b073f10 */ /* not lifted */ 31287 RECOMP_FLAGS_IN(); 31288 ecx = MEM32(ebx + 0x28); /* 0x2B071B53: mov ecx, dword ptr [ebx + 0x28] */ 31289 PUSH32(esp, ecx); /* 0x2B071B56: push ecx */ 31290 edx = ebp + (-0x10); /* 0x2B071B57: lea edx, [ebp - 0x10] */ 31291 PUSH32(esp, edx); /* 0x2B071B5A: push edx */ 31292 ecx = ebx; /* 0x2B071B5B: mov ecx, ebx */ 31293 RECOMP_ICALL(0x2B073F50u); /* 0x2B071B5D: call 0x2b073f50 */ /* not lifted */ 31294 RECOMP_FLAGS_IN(); 31295 eax = ebp + (-0x10); /* 0x2B071B62: lea eax, [ebp - 0x10] */ 31296 PUSH32(esp, eax); /* 0x2B071B65: push eax */ 31297 RECOMP_ICALL(esi); /* 0x2B071B66: call esi */ 31298 RECOMP_FLAGS_IN(); 31299 ecx = eax; /* 0x2B071B68: mov ecx, eax */ 31300 RECOMP_ICALL(MEM32(0x2B0B5D54)); /* 0x2B071B6A: call dword ptr [0x2b0b5d54] */ 31301 RECOMP_FLAGS_IN(); 31302 L_2B071B70: 31303 edi = POP32_VAL(esp); /* 0x2B071B70: pop edi */ 31304 esi = POP32_VAL(esp); /* 0x2B071B71: pop esi */ 31305 ebx = POP32_VAL(esp); /* 0x2B071B72: pop ebx */ 31306 esp = ebp; /* 0x2B071B73: mov esp, ebp */ 31307 ebp = POP32_VAL(esp); /* 0x2B071B75: pop ebp */ 31308 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B071B76: ret 8 */ 31309 RECOMP_REGS_OUT(); 31310 } 31311 31312 void sub_2B071B80(void) { 31313 int _fpu_cmp = 0; 31314 uint32_t _cf = 0; 31315 int _df = 1; 31316 uint32_t _flag_k = FK_NONE; 31317 uint32_t _flag_a = 0, _flag_b = 0; 31318 uint32_t _itail_tgt = 0; 31319 RECOMP_REGS_LOCALS 31320 RECOMP_ENTER(0x2B071B80u); 31321 31322 L_2B071B80: 31323 PUSH32(esp, ebp); /* 0x2B071B80: push ebp */ 31324 ebp = esp; /* 0x2B071B81: mov ebp, esp */ 31325 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u); 31326 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31327 esp = esp - 0x18u; /* 0x2B071B83: sub esp, 0x18 */ 31328 _flag_k = FK_CMP; 31329 PUSH32(esp, ebx); /* 0x2B071B86: push ebx */ 31330 ebx = ecx; /* 0x2B071B87: mov ebx, ecx */ 31331 edx = MEM32(ebx + 0x28); /* 0x2B071B89: mov edx, dword ptr [ebx + 0x28] */ 31332 PUSH32(esp, esi); /* 0x2B071B8C: push esi */ 31333 PUSH32(esp, edi); /* 0x2B071B8D: push edi */ 31334 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 31335 ecx = ecx | 0xFFFFFFFFu; /* 0x2B071B8E: or ecx, 0xffffffff */ 31336 _cf = 0; 31337 _flag_k = FK_TEST; 31338 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 31339 eax = 0; /* 0x2B071B91: xor eax, eax */ 31340 _cf = 0; 31341 _flag_k = FK_TEST; 31342 MEM32(ebx + 0x8) = 1; /* 0x2B071B93: mov dword ptr [ebx + 8], 1 */ 31343 edi = 0x2B0EF014u; /* 0x2B071B9A: mov edi, 0x2b0ef014 */ 31344 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; } /* 0x2B071B9F: repne scasb al, byte ptr es:[edi] */ 31345 ecx = ~ecx; /* 0x2B071BA1: not ecx */ 31346 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 31347 ecx = ecx - 1; /* 0x2B071BA3: dec ecx */ 31348 _flag_k = FK_DEC; 31349 esi = ecx; /* 0x2B071BA4: mov esi, ecx */ 31350 PUSH32(esp, 1); /* 0x2B071BA6: push 1 */ 31351 PUSH32(esp, esi); /* 0x2B071BA8: push esi */ 31352 ecx = edx; /* 0x2B071BA9: mov ecx, edx */ 31353 MEM32(ebp + (-0x8)) = edx; /* 0x2B071BAB: mov dword ptr [ebp - 8], edx */ 31354 MEM32(ebp + (-0x4)) = esi; /* 0x2B071BAE: mov dword ptr [ebp - 4], esi */ 31355 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B071BB1: call dword ptr [0x2b0b5154] */ 31356 RECOMP_FLAGS_IN(); 31357 /* test LO8(eax), LO8(eax) */ /* 0x2B071BB7: test al, al */ 31358 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 31359 _cf = 0; 31360 _flag_k = FK_NARROW(FK_TEST, 24); 31361 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071BE2; /* 0x2B071BB9: je 0x2b071be2 */ 31362 L_2B071BBB: 31363 eax = MEM32(ebp + (-0x8)); /* 0x2B071BBB: mov eax, dword ptr [ebp - 8] */ 31364 edi = MEM32(eax + 0x4); /* 0x2B071BBE: mov edi, dword ptr [eax + 4] */ 31365 ecx = esi; /* 0x2B071BC1: mov ecx, esi */ 31366 edx = ecx; /* 0x2B071BC3: mov edx, ecx */ 31367 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B071BC5: shr ecx, 2 */ 31368 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 31369 ecx = ecx >> 2u; /* 0x2B071BC5: shr ecx, 2 */ 31370 esi = 0x2B0EF014u; /* 0x2B071BC8: mov esi, 0x2b0ef014 */ 31371 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071BCD: 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; } 31372 ecx = edx; /* 0x2B071BCF: mov ecx, edx */ 31373 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 31374 ecx = ecx & 3; /* 0x2B071BD1: and ecx, 3 */ 31375 _cf = 0; 31376 _flag_k = FK_TEST; 31377 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071BD4: 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; } 31378 ecx = edx; /* 0x2B071BD6: mov ecx, edx */ 31379 MEM32(eax + 0x8) = ecx; /* 0x2B071BD8: mov dword ptr [eax + 8], ecx */ 31380 eax = MEM32(eax + 0x4); /* 0x2B071BDB: mov eax, dword ptr [eax + 4] */ 31381 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B071BDE: mov byte ptr [eax + ecx], 0 */ 31382 L_2B071BE2: 31383 ecx = MEM32(ebx + 0x28); /* 0x2B071BE2: mov ecx, dword ptr [ebx + 0x28] */ 31384 PUSH32(esp, 0x12u); /* 0x2B071BE5: push 0x12 */ 31385 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B071BE7: push -1 */ 31386 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B071BE9: call dword ptr [0x2b0b5a74] */ 31387 RECOMP_FLAGS_IN(); 31388 ecx = MEM32(ebx + 0x28); /* 0x2B071BEF: mov ecx, dword ptr [ebx + 0x28] */ 31389 esi = MEM32(ebp + 0x8); /* 0x2B071BF2: mov esi, dword ptr [ebp + 8] */ 31390 PUSH32(esp, ecx); /* 0x2B071BF5: push ecx */ 31391 PUSH32(esp, esi); /* 0x2B071BF6: push esi */ 31392 ecx = ebx; /* 0x2B071BF7: mov ecx, ebx */ 31393 RECOMP_ICALL(0x2B0740A0u); /* 0x2B071BF9: call 0x2b0740a0 */ /* not lifted */ 31394 RECOMP_FLAGS_IN(); 31395 PUSH32(esp, esi); /* 0x2B071BFE: push esi */ 31396 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B071BFF: call dword ptr [0x2b0b5d6c] */ 31397 RECOMP_FLAGS_IN(); 31398 ecx = eax; /* 0x2B071C05: mov ecx, eax */ 31399 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B071C07: call dword ptr [0x2b0b5d50] */ 31400 RECOMP_FLAGS_IN(); 31401 edx = MEM32(ebx + 0x28); /* 0x2B071C0D: mov edx, dword ptr [ebx + 0x28] */ 31402 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 31403 ecx = ecx | 0xFFFFFFFFu; /* 0x2B071C10: or ecx, 0xffffffff */ 31404 _cf = 0; 31405 _flag_k = FK_TEST; 31406 edi = eax; /* 0x2B071C13: mov edi, eax */ 31407 MEM32(ebp + (-0x8)) = eax; /* 0x2B071C15: mov dword ptr [ebp - 8], eax */ 31408 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 31409 eax = 0; /* 0x2B071C18: xor eax, eax */ 31410 _cf = 0; 31411 _flag_k = FK_TEST; 31412 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; } /* 0x2B071C1A: repne scasb al, byte ptr es:[edi] */ 31413 eax = MEM32(0x2B0B515C); /* 0x2B071C1C: mov eax, dword ptr [0x2b0b515c] */ 31414 ecx = ~ecx; /* 0x2B071C21: not ecx */ 31415 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 31416 ecx = ecx - 1; /* 0x2B071C23: dec ecx */ 31417 _flag_k = FK_DEC; 31418 edi = ecx; /* 0x2B071C24: mov edi, ecx */ 31419 ecx = MEM32(eax); /* 0x2B071C26: mov ecx, dword ptr [eax] */ 31420 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 31421 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31422 ecx = ecx - MEM32(edx + 0x8); /* 0x2B071C28: sub ecx, dword ptr [edx + 8] */ 31423 _flag_k = FK_CMP; 31424 /* cmp ecx, edi */ /* 0x2B071C2B: cmp ecx, edi */ 31425 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 31426 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31427 _flag_k = FK_CMP; 31428 MEM32(ebp + (-0x4)) = edx; /* 0x2B071C2D: mov dword ptr [ebp - 4], edx */ 31429 if (CMP_A(_flag_a, _flag_b)) goto L_2B071C3B; /* 0x2B071C30: ja 0x2b071c3b */ 31430 L_2B071C32: 31431 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B071C32: call dword ptr [0x2b0b51a8] */ 31432 RECOMP_FLAGS_IN(); 31433 edx = MEM32(ebp + (-0x4)); /* 0x2B071C38: mov edx, dword ptr [ebp - 4] */ 31434 L_2B071C3B: 31435 /* test edi, edi */ /* 0x2B071C3B: test edi, edi */ 31436 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 31437 _cf = 0; 31438 _flag_k = FK_TEST; 31439 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071C84; /* 0x2B071C3D: jbe 0x2b071c84 */ 31440 L_2B071C3F: 31441 eax = MEM32(edx + 0x8); /* 0x2B071C3F: mov eax, dword ptr [edx + 8] */ 31442 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 31443 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 31444 eax = eax + edi; /* 0x2B071C42: add eax, edi */ 31445 _flag_k = FK_ADD; 31446 PUSH32(esp, 0); /* 0x2B071C44: push 0 */ 31447 PUSH32(esp, eax); /* 0x2B071C46: push eax */ 31448 ecx = edx; /* 0x2B071C47: mov ecx, edx */ 31449 MEM32(ebp + (-0xC)) = eax; /* 0x2B071C49: mov dword ptr [ebp - 0xc], eax */ 31450 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B071C4C: call dword ptr [0x2b0b5154] */ 31451 RECOMP_FLAGS_IN(); 31452 /* test LO8(eax), LO8(eax) */ /* 0x2B071C52: test al, al */ 31453 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 31454 _cf = 0; 31455 _flag_k = FK_NARROW(FK_TEST, 24); 31456 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071C84; /* 0x2B071C54: je 0x2b071c84 */ 31457 L_2B071C56: 31458 eax = MEM32(ebp + (-0x4)); /* 0x2B071C56: mov eax, dword ptr [ebp - 4] */ 31459 edx = MEM32(eax + 0x8); /* 0x2B071C59: mov edx, dword ptr [eax + 8] */ 31460 esi = MEM32(ebp + (-0x8)); /* 0x2B071C5C: mov esi, dword ptr [ebp - 8] */ 31461 ecx = edi; /* 0x2B071C5F: mov ecx, edi */ 31462 edi = MEM32(eax + 0x4); /* 0x2B071C61: mov edi, dword ptr [eax + 4] */ 31463 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 31464 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 31465 edi = edi + edx; /* 0x2B071C64: add edi, edx */ 31466 _flag_k = FK_ADD; 31467 edx = ecx; /* 0x2B071C66: mov edx, ecx */ 31468 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B071C68: shr ecx, 2 */ 31469 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 31470 ecx = ecx >> 2u; /* 0x2B071C68: shr ecx, 2 */ 31471 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071C6B: 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; } 31472 ecx = edx; /* 0x2B071C6D: mov ecx, edx */ 31473 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 31474 ecx = ecx & 3; /* 0x2B071C6F: and ecx, 3 */ 31475 _cf = 0; 31476 _flag_k = FK_TEST; 31477 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071C72: 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; } 31478 ecx = MEM32(ebp + (-0xC)); /* 0x2B071C74: mov ecx, dword ptr [ebp - 0xc] */ 31479 esi = MEM32(ebp + 0x8); /* 0x2B071C77: mov esi, dword ptr [ebp + 8] */ 31480 MEM32(eax + 0x8) = ecx; /* 0x2B071C7A: mov dword ptr [eax + 8], ecx */ 31481 eax = MEM32(eax + 0x4); /* 0x2B071C7D: mov eax, dword ptr [eax + 4] */ 31482 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B071C80: mov byte ptr [eax + ecx], 0 */ 31483 L_2B071C84: 31484 ecx = MEM32(ebx + 0x28); /* 0x2B071C84: mov ecx, dword ptr [ebx + 0x28] */ 31485 PUSH32(esp, ecx); /* 0x2B071C87: push ecx */ 31486 PUSH32(esp, esi); /* 0x2B071C88: push esi */ 31487 ecx = ebx; /* 0x2B071C89: mov ecx, ebx */ 31488 RECOMP_ICALL(0x2B074230u); /* 0x2B071C8B: call 0x2b074230 */ /* not lifted */ 31489 RECOMP_FLAGS_IN(); 31490 edx = MEM32(ebx + 0x28); /* 0x2B071C90: mov edx, dword ptr [ebx + 0x28] */ 31491 PUSH32(esp, edx); /* 0x2B071C93: push edx */ 31492 PUSH32(esp, esi); /* 0x2B071C94: push esi */ 31493 ecx = ebx; /* 0x2B071C95: mov ecx, ebx */ 31494 RECOMP_ICALL(0x2B0741B0u); /* 0x2B071C97: call 0x2b0741b0 */ /* not lifted */ 31495 RECOMP_FLAGS_IN(); 31496 eax = MEM32(ebx + 0x28); /* 0x2B071C9C: mov eax, dword ptr [ebx + 0x28] */ 31497 PUSH32(esp, eax); /* 0x2B071C9F: push eax */ 31498 PUSH32(esp, esi); /* 0x2B071CA0: push esi */ 31499 ecx = ebx; /* 0x2B071CA1: mov ecx, ebx */ 31500 RECOMP_ICALL(0x2B0737C0u); /* 0x2B071CA3: call 0x2b0737c0 */ /* not lifted */ 31501 RECOMP_FLAGS_IN(); 31502 ecx = MEM32(ebx + 0x28); /* 0x2B071CA8: mov ecx, dword ptr [ebx + 0x28] */ 31503 PUSH32(esp, ecx); /* 0x2B071CAB: push ecx */ 31504 PUSH32(esp, esi); /* 0x2B071CAC: push esi */ 31505 ecx = ebx; /* 0x2B071CAD: mov ecx, ebx */ 31506 RECOMP_ICALL(0x2B073FD0u); /* 0x2B071CAF: call 0x2b073fd0 */ /* not lifted */ 31507 RECOMP_FLAGS_IN(); 31508 edx = MEM32(ebx + 0x28); /* 0x2B071CB4: mov edx, dword ptr [ebx + 0x28] */ 31509 PUSH32(esp, edx); /* 0x2B071CB7: push edx */ 31510 PUSH32(esp, esi); /* 0x2B071CB8: push esi */ 31511 ecx = ebx; /* 0x2B071CB9: mov ecx, ebx */ 31512 RECOMP_ICALL(0x2B073B50u); /* 0x2B071CBB: call 0x2b073b50 */ /* not lifted */ 31513 RECOMP_FLAGS_IN(); 31514 PUSH32(esp, 0x16Au); /* 0x2B071CC0: push 0x16a */ 31515 PUSH32(esp, esi); /* 0x2B071CC5: push esi */ 31516 ecx = ebx; /* 0x2B071CC6: mov ecx, ebx */ 31517 RECOMP_ICALL(0x2B0735D0u); /* 0x2B071CC8: call 0x2b0735d0 */ /* not lifted */ 31518 RECOMP_FLAGS_IN(); 31519 /* cmp eax, 0x499602D2u */ /* 0x2B071CCD: cmp eax, 0x499602d2 */ 31520 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 31521 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31522 _flag_k = FK_CMP; 31523 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071E27; /* 0x2B071CD2: je 0x2b071e27 */ 31524 L_2B071CD8: 31525 PUSH32(esp, 0x3Du); /* 0x2B071CD8: push 0x3d */ 31526 PUSH32(esp, esi); /* 0x2B071CDA: push esi */ 31527 ecx = ebx; /* 0x2B071CDB: mov ecx, ebx */ 31528 RECOMP_ICALL(0x2B0735D0u); /* 0x2B071CDD: call 0x2b0735d0 */ /* not lifted */ 31529 RECOMP_FLAGS_IN(); 31530 /* cmp eax, 0x499602D2u */ /* 0x2B071CE2: cmp eax, 0x499602d2 */ 31531 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 31532 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31533 _flag_k = FK_CMP; 31534 MEM32(ebp + (-0x10)) = eax; /* 0x2B071CE7: mov dword ptr [ebp - 0x10], eax */ 31535 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B071E27; /* 0x2B071CEA: je 0x2b071e27 */ 31536 L_2B071CF0: 31537 ecx = MEM32(ebx + 0x28); /* 0x2B071CF0: mov ecx, dword ptr [ebx + 0x28] */ 31538 PUSH32(esp, 0x13u); /* 0x2B071CF3: push 0x13 */ 31539 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B071CF5: push -1 */ 31540 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B071CF7: call dword ptr [0x2b0b5a74] */ 31541 RECOMP_FLAGS_IN(); 31542 edx = MEM32(ebx + 0x28); /* 0x2B071CFD: mov edx, dword ptr [ebx + 0x28] */ 31543 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 31544 ecx = ecx | 0xFFFFFFFFu; /* 0x2B071D00: or ecx, 0xffffffff */ 31545 _cf = 0; 31546 _flag_k = FK_TEST; 31547 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 31548 eax = 0; /* 0x2B071D03: xor eax, eax */ 31549 _cf = 0; 31550 _flag_k = FK_TEST; 31551 edi = 0x2B0EBAE8u; /* 0x2B071D05: mov edi, 0x2b0ebae8 */ 31552 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; } /* 0x2B071D0A: repne scasb al, byte ptr es:[edi] */ 31553 eax = MEM32(0x2B0B515C); /* 0x2B071D0C: mov eax, dword ptr [0x2b0b515c] */ 31554 ecx = ~ecx; /* 0x2B071D11: not ecx */ 31555 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 31556 ecx = ecx - 1; /* 0x2B071D13: dec ecx */ 31557 _flag_k = FK_DEC; 31558 edi = ecx; /* 0x2B071D14: mov edi, ecx */ 31559 ecx = MEM32(eax); /* 0x2B071D16: mov ecx, dword ptr [eax] */ 31560 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 31561 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31562 ecx = ecx - MEM32(edx + 0x8); /* 0x2B071D18: sub ecx, dword ptr [edx + 8] */ 31563 _flag_k = FK_CMP; 31564 /* cmp ecx, edi */ /* 0x2B071D1B: cmp ecx, edi */ 31565 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 31566 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31567 _flag_k = FK_CMP; 31568 MEM32(ebp + (-0x4)) = edx; /* 0x2B071D1D: mov dword ptr [ebp - 4], edx */ 31569 if (CMP_A(_flag_a, _flag_b)) goto L_2B071D2B; /* 0x2B071D20: ja 0x2b071d2b */ 31570 L_2B071D22: 31571 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B071D22: call dword ptr [0x2b0b51a8] */ 31572 RECOMP_FLAGS_IN(); 31573 edx = MEM32(ebp + (-0x4)); /* 0x2B071D28: mov edx, dword ptr [ebp - 4] */ 31574 L_2B071D2B: 31575 /* test edi, edi */ /* 0x2B071D2B: test edi, edi */ 31576 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 31577 _cf = 0; 31578 _flag_k = FK_TEST; 31579 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071D76; /* 0x2B071D2D: jbe 0x2b071d76 */ 31580 L_2B071D2F: 31581 eax = MEM32(edx + 0x8); /* 0x2B071D2F: mov eax, dword ptr [edx + 8] */ 31582 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 31583 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 31584 eax = eax + edi; /* 0x2B071D32: add eax, edi */ 31585 _flag_k = FK_ADD; 31586 PUSH32(esp, 0); /* 0x2B071D34: push 0 */ 31587 PUSH32(esp, eax); /* 0x2B071D36: push eax */ 31588 ecx = edx; /* 0x2B071D37: mov ecx, edx */ 31589 MEM32(ebp + (-0xC)) = eax; /* 0x2B071D39: mov dword ptr [ebp - 0xc], eax */ 31590 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B071D3C: call dword ptr [0x2b0b5154] */ 31591 RECOMP_FLAGS_IN(); 31592 /* test LO8(eax), LO8(eax) */ /* 0x2B071D42: test al, al */ 31593 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 31594 _cf = 0; 31595 _flag_k = FK_NARROW(FK_TEST, 24); 31596 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071D76; /* 0x2B071D44: je 0x2b071d76 */ 31597 L_2B071D46: 31598 eax = MEM32(ebp + (-0x4)); /* 0x2B071D46: mov eax, dword ptr [ebp - 4] */ 31599 edx = MEM32(eax + 0x4); /* 0x2B071D49: mov edx, dword ptr [eax + 4] */ 31600 ecx = edi; /* 0x2B071D4C: mov ecx, edi */ 31601 edi = MEM32(eax + 0x8); /* 0x2B071D4E: mov edi, dword ptr [eax + 8] */ 31602 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 31603 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 31604 edi = edi + edx; /* 0x2B071D51: add edi, edx */ 31605 _flag_k = FK_ADD; 31606 edx = ecx; /* 0x2B071D53: mov edx, ecx */ 31607 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B071D55: shr ecx, 2 */ 31608 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 31609 ecx = ecx >> 2u; /* 0x2B071D55: shr ecx, 2 */ 31610 esi = 0x2B0EBAE8u; /* 0x2B071D58: mov esi, 0x2b0ebae8 */ 31611 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071D5D: 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; } 31612 ecx = edx; /* 0x2B071D5F: mov ecx, edx */ 31613 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 31614 ecx = ecx & 3; /* 0x2B071D61: and ecx, 3 */ 31615 _cf = 0; 31616 _flag_k = FK_TEST; 31617 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071D64: 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; } 31618 ecx = MEM32(ebp + (-0xC)); /* 0x2B071D66: mov ecx, dword ptr [ebp - 0xc] */ 31619 esi = MEM32(ebp + 0x8); /* 0x2B071D69: mov esi, dword ptr [ebp + 8] */ 31620 MEM32(eax + 0x8) = ecx; /* 0x2B071D6C: mov dword ptr [eax + 8], ecx */ 31621 eax = MEM32(eax + 0x4); /* 0x2B071D6F: mov eax, dword ptr [eax + 4] */ 31622 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B071D72: mov byte ptr [eax + ecx], 0 */ 31623 L_2B071D76: 31624 ecx = MEM32(ebx + 0x28); /* 0x2B071D76: mov ecx, dword ptr [ebx + 0x28] */ 31625 PUSH32(esp, 0x14u); /* 0x2B071D79: push 0x14 */ 31626 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B071D7B: push -1 */ 31627 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B071D7D: call dword ptr [0x2b0b5a74] */ 31628 RECOMP_FLAGS_IN(); 31629 PUSH32(esp, 2); /* 0x2B071D83: push 2 */ 31630 PUSH32(esp, 0x36u); /* 0x2B071D85: push 0x36 */ 31631 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B071D87: call dword ptr [0x2b0b5d6c] */ 31632 RECOMP_FLAGS_IN(); 31633 ecx = eax; /* 0x2B071D8D: mov ecx, eax */ 31634 RECOMP_ICALL(MEM32(0x2B0B5D70)); /* 0x2B071D8F: call dword ptr [0x2b0b5d70] */ 31635 RECOMP_FLAGS_IN(); 31636 eax = (uint32_t)((int32_t)eax * (int32_t)MEM32(ebp + (-0x10))); /* 0x2B071D95: imul eax, dword ptr [ebp - 0x10] */ 31637 PUSH32(esp, eax); /* 0x2B071D99: push eax */ 31638 PUSH32(esp, 0x2B0EBADCu); /* 0x2B071D9A: push 0x2b0ebadc */ 31639 PUSH32(esp, 0x2B0EEE84u); /* 0x2B071D9F: push 0x2b0eee84 */ 31640 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B071DA4: call dword ptr [0x2b0b51f0] */ 31641 RECOMP_FLAGS_IN(); 31642 edx = MEM32(ebx + 0x28); /* 0x2B071DAA: mov edx, dword ptr [ebx + 0x28] */ 31643 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 31644 ecx = ecx | 0xFFFFFFFFu; /* 0x2B071DAD: or ecx, 0xffffffff */ 31645 _cf = 0; 31646 _flag_k = FK_TEST; 31647 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 31648 eax = 0; /* 0x2B071DB0: xor eax, eax */ 31649 _cf = 0; 31650 _flag_k = FK_TEST; 31651 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 31652 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 31653 esp = esp + 0xCu; /* 0x2B071DB2: add esp, 0xc */ 31654 _flag_k = FK_ADD; 31655 edi = 0x2B0EEE84u; /* 0x2B071DB5: mov edi, 0x2b0eee84 */ 31656 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; } /* 0x2B071DBA: repne scasb al, byte ptr es:[edi] */ 31657 ecx = ~ecx; /* 0x2B071DBC: not ecx */ 31658 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 31659 ecx = ecx - 1; /* 0x2B071DBE: dec ecx */ 31660 _flag_k = FK_DEC; 31661 edi = ecx; /* 0x2B071DBF: mov edi, ecx */ 31662 ecx = MEM32(0x2B0B515C); /* 0x2B071DC1: mov ecx, dword ptr [0x2b0b515c] */ 31663 eax = MEM32(ecx); /* 0x2B071DC7: mov eax, dword ptr [ecx] */ 31664 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 31665 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31666 eax = eax - MEM32(edx + 0x8); /* 0x2B071DC9: sub eax, dword ptr [edx + 8] */ 31667 _flag_k = FK_CMP; 31668 /* cmp eax, edi */ /* 0x2B071DCC: cmp eax, edi */ 31669 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 31670 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31671 _flag_k = FK_CMP; 31672 MEM32(ebp + (-0x4)) = edx; /* 0x2B071DCE: mov dword ptr [ebp - 4], edx */ 31673 if (CMP_A(_flag_a, _flag_b)) goto L_2B071DDC; /* 0x2B071DD1: ja 0x2b071ddc */ 31674 L_2B071DD3: 31675 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B071DD3: call dword ptr [0x2b0b51a8] */ 31676 RECOMP_FLAGS_IN(); 31677 edx = MEM32(ebp + (-0x4)); /* 0x2B071DD9: mov edx, dword ptr [ebp - 4] */ 31678 L_2B071DDC: 31679 /* test edi, edi */ /* 0x2B071DDC: test edi, edi */ 31680 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 31681 _cf = 0; 31682 _flag_k = FK_TEST; 31683 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071E27; /* 0x2B071DDE: jbe 0x2b071e27 */ 31684 L_2B071DE0: 31685 eax = MEM32(edx + 0x8); /* 0x2B071DE0: mov eax, dword ptr [edx + 8] */ 31686 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 31687 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 31688 eax = eax + edi; /* 0x2B071DE3: add eax, edi */ 31689 _flag_k = FK_ADD; 31690 PUSH32(esp, 0); /* 0x2B071DE5: push 0 */ 31691 PUSH32(esp, eax); /* 0x2B071DE7: push eax */ 31692 ecx = edx; /* 0x2B071DE8: mov ecx, edx */ 31693 MEM32(ebp + (-0x10)) = eax; /* 0x2B071DEA: mov dword ptr [ebp - 0x10], eax */ 31694 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B071DED: call dword ptr [0x2b0b5154] */ 31695 RECOMP_FLAGS_IN(); 31696 /* test LO8(eax), LO8(eax) */ /* 0x2B071DF3: test al, al */ 31697 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 31698 _cf = 0; 31699 _flag_k = FK_NARROW(FK_TEST, 24); 31700 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071E27; /* 0x2B071DF5: je 0x2b071e27 */ 31701 L_2B071DF7: 31702 eax = MEM32(ebp + (-0x4)); /* 0x2B071DF7: mov eax, dword ptr [ebp - 4] */ 31703 edx = MEM32(eax + 0x4); /* 0x2B071DFA: mov edx, dword ptr [eax + 4] */ 31704 ecx = edi; /* 0x2B071DFD: mov ecx, edi */ 31705 edi = MEM32(eax + 0x8); /* 0x2B071DFF: mov edi, dword ptr [eax + 8] */ 31706 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 31707 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 31708 edi = edi + edx; /* 0x2B071E02: add edi, edx */ 31709 _flag_k = FK_ADD; 31710 edx = ecx; /* 0x2B071E04: mov edx, ecx */ 31711 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B071E06: shr ecx, 2 */ 31712 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 31713 ecx = ecx >> 2u; /* 0x2B071E06: shr ecx, 2 */ 31714 esi = 0x2B0EEE84u; /* 0x2B071E09: mov esi, 0x2b0eee84 */ 31715 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071E0E: 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; } 31716 ecx = edx; /* 0x2B071E10: mov ecx, edx */ 31717 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 31718 ecx = ecx & 3; /* 0x2B071E12: and ecx, 3 */ 31719 _cf = 0; 31720 _flag_k = FK_TEST; 31721 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071E15: 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; } 31722 ecx = MEM32(ebp + (-0x10)); /* 0x2B071E17: mov ecx, dword ptr [ebp - 0x10] */ 31723 esi = MEM32(ebp + 0x8); /* 0x2B071E1A: mov esi, dword ptr [ebp + 8] */ 31724 MEM32(eax + 0x8) = ecx; /* 0x2B071E1D: mov dword ptr [eax + 8], ecx */ 31725 eax = MEM32(eax + 0x4); /* 0x2B071E20: mov eax, dword ptr [eax + 4] */ 31726 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B071E23: mov byte ptr [eax + ecx], 0 */ 31727 L_2B071E27: 31728 ecx = MEM32(ebx + 0x28); /* 0x2B071E27: mov ecx, dword ptr [ebx + 0x28] */ 31729 PUSH32(esp, ecx); /* 0x2B071E2A: push ecx */ 31730 PUSH32(esp, esi); /* 0x2B071E2B: push esi */ 31731 ecx = ebx; /* 0x2B071E2C: mov ecx, ebx */ 31732 RECOMP_ICALL(0x2B073D30u); /* 0x2B071E2E: call 0x2b073d30 */ /* not lifted */ 31733 RECOMP_FLAGS_IN(); 31734 edx = MEM32(ebx + 0x28); /* 0x2B071E33: mov edx, dword ptr [ebx + 0x28] */ 31735 PUSH32(esp, edx); /* 0x2B071E36: push edx */ 31736 PUSH32(esp, esi); /* 0x2B071E37: push esi */ 31737 ecx = ebx; /* 0x2B071E38: mov ecx, ebx */ 31738 RECOMP_ICALL(0x2B073ED0u); /* 0x2B071E3A: call 0x2b073ed0 */ /* not lifted */ 31739 RECOMP_FLAGS_IN(); 31740 eax = MEM32(ebx + 0x28); /* 0x2B071E3F: mov eax, dword ptr [ebx + 0x28] */ 31741 PUSH32(esp, eax); /* 0x2B071E42: push eax */ 31742 PUSH32(esp, esi); /* 0x2B071E43: push esi */ 31743 ecx = ebx; /* 0x2B071E44: mov ecx, ebx */ 31744 RECOMP_ICALL(0x2B073F10u); /* 0x2B071E46: call 0x2b073f10 */ /* not lifted */ 31745 RECOMP_FLAGS_IN(); 31746 ecx = MEM32(ebx + 0x28); /* 0x2B071E4B: mov ecx, dword ptr [ebx + 0x28] */ 31747 PUSH32(esp, ecx); /* 0x2B071E4E: push ecx */ 31748 PUSH32(esp, esi); /* 0x2B071E4F: push esi */ 31749 ecx = ebx; /* 0x2B071E50: mov ecx, ebx */ 31750 RECOMP_ICALL(0x2B073F50u); /* 0x2B071E52: call 0x2b073f50 */ /* not lifted */ 31751 RECOMP_FLAGS_IN(); 31752 edx = MEM32(ebx + 0x28); /* 0x2B071E57: mov edx, dword ptr [ebx + 0x28] */ 31753 PUSH32(esp, edx); /* 0x2B071E5A: push edx */ 31754 PUSH32(esp, esi); /* 0x2B071E5B: push esi */ 31755 ecx = ebx; /* 0x2B071E5C: mov ecx, ebx */ 31756 RECOMP_ICALL(0x2B074770u); /* 0x2B071E5E: call 0x2b074770 */ /* not lifted */ 31757 RECOMP_FLAGS_IN(); 31758 eax = MEM32(ebx + 0x28); /* 0x2B071E63: mov eax, dword ptr [ebx + 0x28] */ 31759 PUSH32(esp, eax); /* 0x2B071E66: push eax */ 31760 PUSH32(esp, esi); /* 0x2B071E67: push esi */ 31761 ecx = ebx; /* 0x2B071E68: mov ecx, ebx */ 31762 RECOMP_ICALL(0x2B073F90u); /* 0x2B071E6A: call 0x2b073f90 */ /* not lifted */ 31763 RECOMP_FLAGS_IN(); 31764 SET_LO8(eax, MEM8(ebx + 0x1D)); /* 0x2B071E6F: mov al, byte ptr [ebx + 0x1d] */ 31765 /* test LO8(eax), LO8(eax) */ /* 0x2B071E72: test al, al */ 31766 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 31767 _cf = 0; 31768 _flag_k = FK_NARROW(FK_TEST, 24); 31769 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B072040; /* 0x2B071E74: jne 0x2b072040 */ 31770 L_2B071E7A: 31771 PUSH32(esp, 0x1Au); /* 0x2B071E7A: push 0x1a */ 31772 PUSH32(esp, esi); /* 0x2B071E7C: push esi */ 31773 ecx = ebx; /* 0x2B071E7D: mov ecx, ebx */ 31774 RECOMP_ICALL(0x2B0735D0u); /* 0x2B071E7F: call 0x2b0735d0 */ /* not lifted */ 31775 RECOMP_FLAGS_IN(); 31776 /* cmp eax, 0x499602D2u */ /* 0x2B071E84: cmp eax, 0x499602d2 */ 31777 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 31778 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31779 _flag_k = FK_CMP; 31780 MEM32(ebp + (-0xC)) = eax; /* 0x2B071E89: mov dword ptr [ebp - 0xc], eax */ 31781 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B072040; /* 0x2B071E8C: je 0x2b072040 */ 31782 L_2B071E92: 31783 /* test eax, eax */ /* 0x2B071E92: test eax, eax */ 31784 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 31785 _cf = 0; 31786 _flag_k = FK_TEST; 31787 if (TEST_S(_flag_a, _flag_b)) goto L_2B072040; /* 0x2B071E94: jl 0x2b072040 */ 31788 L_2B071E9A: 31789 ecx = MEM32(ebx + 0x28); /* 0x2B071E9A: mov ecx, dword ptr [ebx + 0x28] */ 31790 PUSH32(esp, 0x13u); /* 0x2B071E9D: push 0x13 */ 31791 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B071E9F: push -1 */ 31792 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B071EA1: call dword ptr [0x2b0b5a74] */ 31793 RECOMP_FLAGS_IN(); 31794 edx = MEM32(ebx + 0x28); /* 0x2B071EA7: mov edx, dword ptr [ebx + 0x28] */ 31795 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 31796 ecx = ecx | 0xFFFFFFFFu; /* 0x2B071EAA: or ecx, 0xffffffff */ 31797 _cf = 0; 31798 _flag_k = FK_TEST; 31799 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 31800 eax = 0; /* 0x2B071EAD: xor eax, eax */ 31801 _cf = 0; 31802 _flag_k = FK_TEST; 31803 edi = 0x2B0EBAD0u; /* 0x2B071EAF: mov edi, 0x2b0ebad0 */ 31804 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; } /* 0x2B071EB4: repne scasb al, byte ptr es:[edi] */ 31805 ecx = ~ecx; /* 0x2B071EB6: not ecx */ 31806 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 31807 ecx = ecx - 1; /* 0x2B071EB8: dec ecx */ 31808 _flag_k = FK_DEC; 31809 edi = ecx; /* 0x2B071EB9: mov edi, ecx */ 31810 ecx = MEM32(0x2B0B515C); /* 0x2B071EBB: mov ecx, dword ptr [0x2b0b515c] */ 31811 eax = MEM32(ecx); /* 0x2B071EC1: mov eax, dword ptr [ecx] */ 31812 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 31813 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31814 eax = eax - MEM32(edx + 0x8); /* 0x2B071EC3: sub eax, dword ptr [edx + 8] */ 31815 _flag_k = FK_CMP; 31816 /* cmp eax, edi */ /* 0x2B071EC6: cmp eax, edi */ 31817 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 31818 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31819 _flag_k = FK_CMP; 31820 MEM32(ebp + (-0x4)) = edx; /* 0x2B071EC8: mov dword ptr [ebp - 4], edx */ 31821 if (CMP_A(_flag_a, _flag_b)) goto L_2B071ED6; /* 0x2B071ECB: ja 0x2b071ed6 */ 31822 L_2B071ECD: 31823 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B071ECD: call dword ptr [0x2b0b51a8] */ 31824 RECOMP_FLAGS_IN(); 31825 edx = MEM32(ebp + (-0x4)); /* 0x2B071ED3: mov edx, dword ptr [ebp - 4] */ 31826 L_2B071ED6: 31827 /* test edi, edi */ /* 0x2B071ED6: test edi, edi */ 31828 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 31829 _cf = 0; 31830 _flag_k = FK_TEST; 31831 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071F21; /* 0x2B071ED8: jbe 0x2b071f21 */ 31832 L_2B071EDA: 31833 eax = MEM32(edx + 0x8); /* 0x2B071EDA: mov eax, dword ptr [edx + 8] */ 31834 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 31835 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 31836 eax = eax + edi; /* 0x2B071EDD: add eax, edi */ 31837 _flag_k = FK_ADD; 31838 PUSH32(esp, 0); /* 0x2B071EDF: push 0 */ 31839 PUSH32(esp, eax); /* 0x2B071EE1: push eax */ 31840 ecx = edx; /* 0x2B071EE2: mov ecx, edx */ 31841 MEM32(ebp + (-0x10)) = eax; /* 0x2B071EE4: mov dword ptr [ebp - 0x10], eax */ 31842 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B071EE7: call dword ptr [0x2b0b5154] */ 31843 RECOMP_FLAGS_IN(); 31844 /* test LO8(eax), LO8(eax) */ /* 0x2B071EED: test al, al */ 31845 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 31846 _cf = 0; 31847 _flag_k = FK_NARROW(FK_TEST, 24); 31848 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071F21; /* 0x2B071EEF: je 0x2b071f21 */ 31849 L_2B071EF1: 31850 eax = MEM32(ebp + (-0x4)); /* 0x2B071EF1: mov eax, dword ptr [ebp - 4] */ 31851 edx = MEM32(eax + 0x4); /* 0x2B071EF4: mov edx, dword ptr [eax + 4] */ 31852 ecx = edi; /* 0x2B071EF7: mov ecx, edi */ 31853 edi = MEM32(eax + 0x8); /* 0x2B071EF9: mov edi, dword ptr [eax + 8] */ 31854 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 31855 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 31856 edi = edi + edx; /* 0x2B071EFC: add edi, edx */ 31857 _flag_k = FK_ADD; 31858 edx = ecx; /* 0x2B071EFE: mov edx, ecx */ 31859 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B071F00: shr ecx, 2 */ 31860 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 31861 ecx = ecx >> 2u; /* 0x2B071F00: shr ecx, 2 */ 31862 esi = 0x2B0EBAD0u; /* 0x2B071F03: mov esi, 0x2b0ebad0 */ 31863 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071F08: 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; } 31864 ecx = edx; /* 0x2B071F0A: mov ecx, edx */ 31865 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 31866 ecx = ecx & 3; /* 0x2B071F0C: and ecx, 3 */ 31867 _cf = 0; 31868 _flag_k = FK_TEST; 31869 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071F0F: 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; } 31870 ecx = MEM32(ebp + (-0x10)); /* 0x2B071F11: mov ecx, dword ptr [ebp - 0x10] */ 31871 esi = MEM32(ebp + 0x8); /* 0x2B071F14: mov esi, dword ptr [ebp + 8] */ 31872 MEM32(eax + 0x8) = ecx; /* 0x2B071F17: mov dword ptr [eax + 8], ecx */ 31873 eax = MEM32(eax + 0x4); /* 0x2B071F1A: mov eax, dword ptr [eax + 4] */ 31874 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B071F1D: mov byte ptr [eax + ecx], 0 */ 31875 L_2B071F21: 31876 ecx = MEM32(ebx + 0x28); /* 0x2B071F21: mov ecx, dword ptr [ebx + 0x28] */ 31877 PUSH32(esp, 0x14u); /* 0x2B071F24: push 0x14 */ 31878 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B071F26: push -1 */ 31879 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B071F28: call dword ptr [0x2b0b5a74] */ 31880 RECOMP_FLAGS_IN(); 31881 ecx = MEM32(ebp + (-0xC)); /* 0x2B071F2E: mov ecx, dword ptr [ebp - 0xc] */ 31882 PUSH32(esp, ecx); /* 0x2B071F31: push ecx */ 31883 PUSH32(esp, 0x2B0E7354u); /* 0x2B071F32: push 0x2b0e7354 */ 31884 PUSH32(esp, 0x2B0EEE84u); /* 0x2B071F37: push 0x2b0eee84 */ 31885 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B071F3C: call dword ptr [0x2b0b51f0] */ 31886 RECOMP_FLAGS_IN(); 31887 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 31888 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 31889 esp = esp + 0xCu; /* 0x2B071F42: add esp, 0xc */ 31890 _flag_k = FK_ADD; 31891 PUSH32(esp, 0x1Eu); /* 0x2B071F45: push 0x1e */ 31892 PUSH32(esp, esi); /* 0x2B071F47: push esi */ 31893 ecx = ebx; /* 0x2B071F48: mov ecx, ebx */ 31894 RECOMP_ICALL(0x2B0735D0u); /* 0x2B071F4A: call 0x2b0735d0 */ /* not lifted */ 31895 RECOMP_FLAGS_IN(); 31896 /* test HI8(eax), 2 */ /* 0x2B071F4F: test ah, 2 */ 31897 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(2) << 24; 31898 _cf = 0; 31899 _flag_k = FK_NARROW(FK_TEST, 24); 31900 if (TEST_Z(_flag_a, _flag_b)) goto L_2B071F84; /* 0x2B071F52: je 0x2b071f84 */ 31901 L_2B071F54: 31902 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 31903 ecx = ecx | 0xFFFFFFFFu; /* 0x2B071F54: or ecx, 0xffffffff */ 31904 _cf = 0; 31905 _flag_k = FK_TEST; 31906 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 31907 eax = 0; /* 0x2B071F57: xor eax, eax */ 31908 _cf = 0; 31909 _flag_k = FK_TEST; 31910 edi = 0x2B0EB708u; /* 0x2B071F59: mov edi, 0x2b0eb708 */ 31911 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; } /* 0x2B071F5E: repne scasb al, byte ptr es:[edi] */ 31912 ecx = ~ecx; /* 0x2B071F60: not ecx */ 31913 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 31914 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31915 edi = edi - ecx; /* 0x2B071F62: sub edi, ecx */ 31916 _flag_k = FK_CMP; 31917 edx = ecx; /* 0x2B071F64: mov edx, ecx */ 31918 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 31919 ecx = ecx | 0xFFFFFFFFu; /* 0x2B071F66: or ecx, 0xffffffff */ 31920 _cf = 0; 31921 _flag_k = FK_TEST; 31922 esi = edi; /* 0x2B071F69: mov esi, edi */ 31923 edi = 0x2B0EEE84u; /* 0x2B071F6B: mov edi, 0x2b0eee84 */ 31924 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; } /* 0x2B071F70: repne scasb al, byte ptr es:[edi] */ 31925 ecx = edx; /* 0x2B071F72: mov ecx, edx */ 31926 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B071F74: shr ecx, 2 */ 31927 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 31928 ecx = ecx >> 2u; /* 0x2B071F74: shr ecx, 2 */ 31929 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 31930 edi = edi - 1; /* 0x2B071F77: dec edi */ 31931 _flag_k = FK_DEC; 31932 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071F78: 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; } 31933 ecx = edx; /* 0x2B071F7A: mov ecx, edx */ 31934 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 31935 ecx = ecx & 3; /* 0x2B071F7C: and ecx, 3 */ 31936 _cf = 0; 31937 _flag_k = FK_TEST; 31938 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071F7F: 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; } 31939 esi = MEM32(ebp + 0x8); /* 0x2B071F81: mov esi, dword ptr [ebp + 8] */ 31940 L_2B071F84: 31941 PUSH32(esp, 0x1Eu); /* 0x2B071F84: push 0x1e */ 31942 PUSH32(esp, esi); /* 0x2B071F86: push esi */ 31943 ecx = ebx; /* 0x2B071F87: mov ecx, ebx */ 31944 RECOMP_ICALL(0x2B0735D0u); /* 0x2B071F89: call 0x2b0735d0 */ /* not lifted */ 31945 RECOMP_FLAGS_IN(); 31946 /* test eax, 0x01000000u */ /* 0x2B071F8E: test eax, 0x1000000 */ 31947 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x01000000u); 31948 _cf = 0; 31949 _flag_k = FK_TEST; 31950 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B071FC5; /* 0x2B071F93: jne 0x2b071fc5 */ 31951 L_2B071F95: 31952 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 31953 ecx = ecx | 0xFFFFFFFFu; /* 0x2B071F95: or ecx, 0xffffffff */ 31954 _cf = 0; 31955 _flag_k = FK_TEST; 31956 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 31957 eax = 0; /* 0x2B071F98: xor eax, eax */ 31958 _cf = 0; 31959 _flag_k = FK_TEST; 31960 edi = 0x2B0EB6F8u; /* 0x2B071F9A: mov edi, 0x2b0eb6f8 */ 31961 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; } /* 0x2B071F9F: repne scasb al, byte ptr es:[edi] */ 31962 ecx = ~ecx; /* 0x2B071FA1: not ecx */ 31963 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 31964 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31965 edi = edi - ecx; /* 0x2B071FA3: sub edi, ecx */ 31966 _flag_k = FK_CMP; 31967 edx = ecx; /* 0x2B071FA5: mov edx, ecx */ 31968 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 31969 ecx = ecx | 0xFFFFFFFFu; /* 0x2B071FA7: or ecx, 0xffffffff */ 31970 _cf = 0; 31971 _flag_k = FK_TEST; 31972 esi = edi; /* 0x2B071FAA: mov esi, edi */ 31973 edi = 0x2B0EEE84u; /* 0x2B071FAC: mov edi, 0x2b0eee84 */ 31974 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; } /* 0x2B071FB1: repne scasb al, byte ptr es:[edi] */ 31975 ecx = edx; /* 0x2B071FB3: mov ecx, edx */ 31976 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B071FB5: shr ecx, 2 */ 31977 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 31978 ecx = ecx >> 2u; /* 0x2B071FB5: shr ecx, 2 */ 31979 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 31980 edi = edi - 1; /* 0x2B071FB8: dec edi */ 31981 _flag_k = FK_DEC; 31982 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B071FB9: 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; } 31983 ecx = edx; /* 0x2B071FBB: mov ecx, edx */ 31984 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 31985 ecx = ecx & 3; /* 0x2B071FBD: and ecx, 3 */ 31986 _cf = 0; 31987 _flag_k = FK_TEST; 31988 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B071FC0: 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; } 31989 esi = MEM32(ebp + 0x8); /* 0x2B071FC2: mov esi, dword ptr [ebp + 8] */ 31990 L_2B071FC5: 31991 edx = MEM32(ebx + 0x28); /* 0x2B071FC5: mov edx, dword ptr [ebx + 0x28] */ 31992 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 31993 ecx = ecx | 0xFFFFFFFFu; /* 0x2B071FC8: or ecx, 0xffffffff */ 31994 _cf = 0; 31995 _flag_k = FK_TEST; 31996 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 31997 eax = 0; /* 0x2B071FCB: xor eax, eax */ 31998 _cf = 0; 31999 _flag_k = FK_TEST; 32000 edi = 0x2B0EEE84u; /* 0x2B071FCD: mov edi, 0x2b0eee84 */ 32001 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; } /* 0x2B071FD2: repne scasb al, byte ptr es:[edi] */ 32002 eax = MEM32(0x2B0B515C); /* 0x2B071FD4: mov eax, dword ptr [0x2b0b515c] */ 32003 ecx = ~ecx; /* 0x2B071FD9: not ecx */ 32004 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 32005 ecx = ecx - 1; /* 0x2B071FDB: dec ecx */ 32006 _flag_k = FK_DEC; 32007 edi = ecx; /* 0x2B071FDC: mov edi, ecx */ 32008 ecx = MEM32(eax); /* 0x2B071FDE: mov ecx, dword ptr [eax] */ 32009 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 32010 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 32011 ecx = ecx - MEM32(edx + 0x8); /* 0x2B071FE0: sub ecx, dword ptr [edx + 8] */ 32012 _flag_k = FK_CMP; 32013 /* cmp ecx, edi */ /* 0x2B071FE3: cmp ecx, edi */ 32014 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 32015 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 32016 _flag_k = FK_CMP; 32017 MEM32(ebp + (-0x4)) = edx; /* 0x2B071FE5: mov dword ptr [ebp - 4], edx */ 32018 if (CMP_A(_flag_a, _flag_b)) goto L_2B071FF3; /* 0x2B071FE8: ja 0x2b071ff3 */ 32019 L_2B071FEA: 32020 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B071FEA: call dword ptr [0x2b0b51a8] */ 32021 RECOMP_FLAGS_IN(); 32022 edx = MEM32(ebp + (-0x4)); /* 0x2B071FF0: mov edx, dword ptr [ebp - 4] */ 32023 L_2B071FF3: 32024 /* test edi, edi */ /* 0x2B071FF3: test edi, edi */ 32025 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 32026 _cf = 0; 32027 _flag_k = FK_TEST; 32028 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072040; /* 0x2B071FF5: jbe 0x2b072040 */ 32029 L_2B071FF7: 32030 ecx = MEM32(edx + 0x8); /* 0x2B071FF7: mov ecx, dword ptr [edx + 8] */ 32031 eax = edi; /* 0x2B071FFA: mov eax, edi */ 32032 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 32033 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 32034 eax = eax + ecx; /* 0x2B071FFC: add eax, ecx */ 32035 _flag_k = FK_ADD; 32036 PUSH32(esp, 0); /* 0x2B071FFE: push 0 */ 32037 PUSH32(esp, eax); /* 0x2B072000: push eax */ 32038 ecx = edx; /* 0x2B072001: mov ecx, edx */ 32039 MEM32(ebp + (-0x10)) = eax; /* 0x2B072003: mov dword ptr [ebp - 0x10], eax */ 32040 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B072006: call dword ptr [0x2b0b5154] */ 32041 RECOMP_FLAGS_IN(); 32042 /* test LO8(eax), LO8(eax) */ /* 0x2B07200C: test al, al */ 32043 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 32044 _cf = 0; 32045 _flag_k = FK_NARROW(FK_TEST, 24); 32046 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072040; /* 0x2B07200E: je 0x2b072040 */ 32047 L_2B072010: 32048 eax = MEM32(ebp + (-0x4)); /* 0x2B072010: mov eax, dword ptr [ebp - 4] */ 32049 edx = MEM32(eax + 0x4); /* 0x2B072013: mov edx, dword ptr [eax + 4] */ 32050 ecx = edi; /* 0x2B072016: mov ecx, edi */ 32051 edi = MEM32(eax + 0x8); /* 0x2B072018: mov edi, dword ptr [eax + 8] */ 32052 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 32053 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 32054 edi = edi + edx; /* 0x2B07201B: add edi, edx */ 32055 _flag_k = FK_ADD; 32056 edx = ecx; /* 0x2B07201D: mov edx, ecx */ 32057 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07201F: shr ecx, 2 */ 32058 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 32059 ecx = ecx >> 2u; /* 0x2B07201F: shr ecx, 2 */ 32060 esi = 0x2B0EEE84u; /* 0x2B072022: mov esi, 0x2b0eee84 */ 32061 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B072027: 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; } 32062 ecx = edx; /* 0x2B072029: mov ecx, edx */ 32063 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 32064 ecx = ecx & 3; /* 0x2B07202B: and ecx, 3 */ 32065 _cf = 0; 32066 _flag_k = FK_TEST; 32067 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07202E: 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; } 32068 ecx = MEM32(ebp + (-0x10)); /* 0x2B072030: mov ecx, dword ptr [ebp - 0x10] */ 32069 esi = MEM32(ebp + 0x8); /* 0x2B072033: mov esi, dword ptr [ebp + 8] */ 32070 MEM32(eax + 0x8) = ecx; /* 0x2B072036: mov dword ptr [eax + 8], ecx */ 32071 eax = MEM32(eax + 0x4); /* 0x2B072039: mov eax, dword ptr [eax + 4] */ 32072 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B07203C: mov byte ptr [ecx + eax], 0 */ 32073 L_2B072040: 32074 ecx = MEM32(ebx + 0x28); /* 0x2B072040: mov ecx, dword ptr [ebx + 0x28] */ 32075 PUSH32(esp, ecx); /* 0x2B072043: push ecx */ 32076 PUSH32(esp, esi); /* 0x2B072044: push esi */ 32077 ecx = ebx; /* 0x2B072045: mov ecx, ebx */ 32078 RECOMP_ICALL(0x2B074010u); /* 0x2B072047: call 0x2b074010 */ /* not lifted */ 32079 RECOMP_FLAGS_IN(); 32080 edx = ebp + (-0x18); /* 0x2B07204C: lea edx, [ebp - 0x18] */ 32081 /* cmp edx, esi */ /* 0x2B07204F: cmp edx, esi */ 32082 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 32083 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 32084 _flag_k = FK_CMP; 32085 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07205E; /* 0x2B072051: je 0x2b07205e */ 32086 L_2B072053: 32087 eax = MEM32(esi); /* 0x2B072053: mov eax, dword ptr [esi] */ 32088 ecx = MEM32(esi + 0x4); /* 0x2B072055: mov ecx, dword ptr [esi + 4] */ 32089 MEM32(ebp + (-0x18)) = eax; /* 0x2B072058: mov dword ptr [ebp - 0x18], eax */ 32090 MEM32(ebp + (-0x14)) = ecx; /* 0x2B07205B: mov dword ptr [ebp - 0x14], ecx */ 32091 L_2B07205E: 32092 edx = ebp + (-0x18); /* 0x2B07205E: lea edx, [ebp - 0x18] */ 32093 PUSH32(esp, edx); /* 0x2B072061: push edx */ 32094 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B072062: call dword ptr [0x2b0b5d6c] */ 32095 RECOMP_FLAGS_IN(); 32096 ecx = eax; /* 0x2B072068: mov ecx, eax */ 32097 RECOMP_ICALL(MEM32(0x2B0B5D1C)); /* 0x2B07206A: call dword ptr [0x2b0b5d1c] */ 32098 RECOMP_FLAGS_IN(); 32099 /* test LO8(eax), LO8(eax) */ /* 0x2B072070: test al, al */ 32100 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 32101 _cf = 0; 32102 _flag_k = FK_NARROW(FK_TEST, 24); 32103 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072114; /* 0x2B072072: je 0x2b072114 */ 32104 L_2B072078: 32105 ecx = MEM32(ebx + 0x28); /* 0x2B072078: mov ecx, dword ptr [ebx + 0x28] */ 32106 PUSH32(esp, 0x13u); /* 0x2B07207B: push 0x13 */ 32107 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07207D: push -1 */ 32108 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B07207F: call dword ptr [0x2b0b5a74] */ 32109 RECOMP_FLAGS_IN(); 32110 esi = MEM32(ebx + 0x28); /* 0x2B072085: mov esi, dword ptr [ebx + 0x28] */ 32111 edx = MEM32(esi + 0x8); /* 0x2B072088: mov edx, dword ptr [esi + 8] */ 32112 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 32113 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07208B: or ecx, 0xffffffff */ 32114 _cf = 0; 32115 _flag_k = FK_TEST; 32116 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 32117 eax = 0; /* 0x2B07208E: xor eax, eax */ 32118 _cf = 0; 32119 _flag_k = FK_TEST; 32120 edi = 0x2B0EBAB0u; /* 0x2B072090: mov edi, 0x2b0ebab0 */ 32121 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; } /* 0x2B072095: repne scasb al, byte ptr es:[edi] */ 32122 eax = MEM32(0x2B0B515C); /* 0x2B072097: mov eax, dword ptr [0x2b0b515c] */ 32123 ecx = ~ecx; /* 0x2B07209C: not ecx */ 32124 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 32125 ecx = ecx - 1; /* 0x2B07209E: dec ecx */ 32126 _flag_k = FK_DEC; 32127 edi = ecx; /* 0x2B07209F: mov edi, ecx */ 32128 ecx = MEM32(eax); /* 0x2B0720A1: mov ecx, dword ptr [eax] */ 32129 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 32130 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 32131 ecx = ecx - edx; /* 0x2B0720A3: sub ecx, edx */ 32132 _flag_k = FK_CMP; 32133 /* cmp ecx, edi */ /* 0x2B0720A5: cmp ecx, edi */ 32134 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 32135 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 32136 _flag_k = FK_CMP; 32137 MEM32(ebp + 0x8) = esi; /* 0x2B0720A7: mov dword ptr [ebp + 8], esi */ 32138 if (CMP_A(_flag_a, _flag_b)) goto L_2B0720B2; /* 0x2B0720AA: ja 0x2b0720b2 */ 32139 L_2B0720AC: 32140 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0720AC: call dword ptr [0x2b0b51a8] */ 32141 RECOMP_FLAGS_IN(); 32142 L_2B0720B2: 32143 /* test edi, edi */ /* 0x2B0720B2: test edi, edi */ 32144 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 32145 _cf = 0; 32146 _flag_k = FK_TEST; 32147 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0720FA; /* 0x2B0720B4: jbe 0x2b0720fa */ 32148 L_2B0720B6: 32149 eax = MEM32(esi + 0x8); /* 0x2B0720B6: mov eax, dword ptr [esi + 8] */ 32150 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 32151 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 32152 eax = eax + edi; /* 0x2B0720B9: add eax, edi */ 32153 _flag_k = FK_ADD; 32154 PUSH32(esp, 0); /* 0x2B0720BB: push 0 */ 32155 PUSH32(esp, eax); /* 0x2B0720BD: push eax */ 32156 ecx = esi; /* 0x2B0720BE: mov ecx, esi */ 32157 MEM32(ebp + (-0x10)) = eax; /* 0x2B0720C0: mov dword ptr [ebp - 0x10], eax */ 32158 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0720C3: call dword ptr [0x2b0b5154] */ 32159 RECOMP_FLAGS_IN(); 32160 /* test LO8(eax), LO8(eax) */ /* 0x2B0720C9: test al, al */ 32161 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 32162 _cf = 0; 32163 _flag_k = FK_NARROW(FK_TEST, 24); 32164 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0720FA; /* 0x2B0720CB: je 0x2b0720fa */ 32165 L_2B0720CD: 32166 eax = MEM32(ebp + 0x8); /* 0x2B0720CD: mov eax, dword ptr [ebp + 8] */ 32167 edx = MEM32(eax + 0x4); /* 0x2B0720D0: mov edx, dword ptr [eax + 4] */ 32168 ecx = edi; /* 0x2B0720D3: mov ecx, edi */ 32169 edi = MEM32(eax + 0x8); /* 0x2B0720D5: mov edi, dword ptr [eax + 8] */ 32170 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 32171 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 32172 edi = edi + edx; /* 0x2B0720D8: add edi, edx */ 32173 _flag_k = FK_ADD; 32174 edx = ecx; /* 0x2B0720DA: mov edx, ecx */ 32175 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0720DC: shr ecx, 2 */ 32176 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 32177 ecx = ecx >> 2u; /* 0x2B0720DC: shr ecx, 2 */ 32178 esi = 0x2B0EBAB0u; /* 0x2B0720DF: mov esi, 0x2b0ebab0 */ 32179 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0720E4: 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; } 32180 ecx = edx; /* 0x2B0720E6: mov ecx, edx */ 32181 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 32182 ecx = ecx & 3; /* 0x2B0720E8: and ecx, 3 */ 32183 _cf = 0; 32184 _flag_k = FK_TEST; 32185 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0720EB: 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; } 32186 ecx = MEM32(ebp + (-0x10)); /* 0x2B0720ED: mov ecx, dword ptr [ebp - 0x10] */ 32187 MEM32(eax + 0x8) = ecx; /* 0x2B0720F0: mov dword ptr [eax + 8], ecx */ 32188 eax = MEM32(eax + 0x4); /* 0x2B0720F3: mov eax, dword ptr [eax + 4] */ 32189 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B0720F6: mov byte ptr [eax + ecx], 0 */ 32190 L_2B0720FA: 32191 ecx = MEM32(ebx + 0x28); /* 0x2B0720FA: mov ecx, dword ptr [ebx + 0x28] */ 32192 PUSH32(esp, 0x14u); /* 0x2B0720FD: push 0x14 */ 32193 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0720FF: push -1 */ 32194 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B072101: call dword ptr [0x2b0b5a74] */ 32195 RECOMP_FLAGS_IN(); 32196 PUSH32(esp, 1); /* 0x2B072107: push 1 */ 32197 ecx = ebp + (-0x18); /* 0x2B072109: lea ecx, [ebp - 0x18] */ 32198 PUSH32(esp, ecx); /* 0x2B07210C: push ecx */ 32199 ecx = ebx; /* 0x2B07210D: mov ecx, ebx */ 32200 RECOMP_ICALL(0x2B06F480u); /* 0x2B07210F: call 0x2b06f480 */ /* not lifted */ 32201 RECOMP_FLAGS_IN(); 32202 L_2B072114: 32203 ecx = MEM32(0x2B0EF104); /* 0x2B072114: mov ecx, dword ptr [0x2b0ef104] */ 32204 /* test ecx, ecx */ /* 0x2B07211A: test ecx, ecx */ 32205 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 32206 _cf = 0; 32207 _flag_k = FK_TEST; 32208 edi = POP32_VAL(esp); /* 0x2B07211C: pop edi */ 32209 esi = POP32_VAL(esp); /* 0x2B07211D: pop esi */ 32210 ebx = POP32_VAL(esp); /* 0x2B07211E: pop ebx */ 32211 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07212F; /* 0x2B07211F: je 0x2b07212f */ 32212 L_2B072121: 32213 edx = MEM32(ebp + (-0x8)); /* 0x2B072121: mov edx, dword ptr [ebp - 8] */ 32214 PUSH32(esp, edx); /* 0x2B072124: push edx */ 32215 PUSH32(esp, 0x2B0EB59Cu); /* 0x2B072125: push 0x2b0eb59c */ 32216 RECOMP_ICALL(0x2B08D480u); /* 0x2B07212A: call 0x2b08d480 */ /* not lifted */ 32217 RECOMP_FLAGS_IN(); 32218 L_2B07212F: 32219 esp = ebp; /* 0x2B07212F: mov esp, ebp */ 32220 ebp = POP32_VAL(esp); /* 0x2B072131: pop ebp */ 32221 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B072132: ret 4 */ 32222 RECOMP_REGS_OUT(); 32223 } 32224 32225 void sub_2B072140(void) { 32226 int _fpu_cmp = 0; 32227 uint32_t _cf = 0; 32228 int _df = 1; 32229 uint32_t _flag_k = FK_NONE; 32230 uint32_t _flag_a = 0, _flag_b = 0; 32231 uint32_t _itail_tgt = 0; 32232 RECOMP_REGS_LOCALS 32233 RECOMP_ENTER(0x2B072140u); 32234 32235 L_2B072140: 32236 PUSH32(esp, ebp); /* 0x2B072140: push ebp */ 32237 ebp = esp; /* 0x2B072141: mov ebp, esp */ 32238 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 32239 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 32240 esp = esp - 0xCu; /* 0x2B072143: sub esp, 0xc */ 32241 _flag_k = FK_CMP; 32242 PUSH32(esp, ebx); /* 0x2B072146: push ebx */ 32243 ebx = ecx; /* 0x2B072147: mov ebx, ecx */ 32244 edx = MEM32(ebx + 0x28); /* 0x2B072149: mov edx, dword ptr [ebx + 0x28] */ 32245 PUSH32(esp, esi); /* 0x2B07214C: push esi */ 32246 PUSH32(esp, edi); /* 0x2B07214D: push edi */ 32247 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 32248 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07214E: or ecx, 0xffffffff */ 32249 _cf = 0; 32250 _flag_k = FK_TEST; 32251 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 32252 eax = 0; /* 0x2B072151: xor eax, eax */ 32253 _cf = 0; 32254 _flag_k = FK_TEST; 32255 MEM32(ebx + 0x8) = 8; /* 0x2B072153: mov dword ptr [ebx + 8], 8 */ 32256 edi = 0x2B0EF014u; /* 0x2B07215A: mov edi, 0x2b0ef014 */ 32257 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; } /* 0x2B07215F: repne scasb al, byte ptr es:[edi] */ 32258 ecx = ~ecx; /* 0x2B072161: not ecx */ 32259 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 32260 ecx = ecx - 1; /* 0x2B072163: dec ecx */ 32261 _flag_k = FK_DEC; 32262 esi = ecx; /* 0x2B072164: mov esi, ecx */ 32263 PUSH32(esp, 1); /* 0x2B072166: push 1 */ 32264 PUSH32(esp, esi); /* 0x2B072168: push esi */ 32265 ecx = edx; /* 0x2B072169: mov ecx, edx */ 32266 MEM32(ebp + (-0x4)) = edx; /* 0x2B07216B: mov dword ptr [ebp - 4], edx */ 32267 MEM32(ebp + (-0x8)) = esi; /* 0x2B07216E: mov dword ptr [ebp - 8], esi */ 32268 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B072171: call dword ptr [0x2b0b5154] */ 32269 RECOMP_FLAGS_IN(); 32270 /* test LO8(eax), LO8(eax) */ /* 0x2B072177: test al, al */ 32271 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 32272 _cf = 0; 32273 _flag_k = FK_NARROW(FK_TEST, 24); 32274 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0721A1; /* 0x2B072179: je 0x2b0721a1 */ 32275 L_2B07217B: 32276 eax = MEM32(ebp + (-0x4)); /* 0x2B07217B: mov eax, dword ptr [ebp - 4] */ 32277 edi = MEM32(eax + 0x4); /* 0x2B07217E: mov edi, dword ptr [eax + 4] */ 32278 ecx = esi; /* 0x2B072181: mov ecx, esi */ 32279 edx = ecx; /* 0x2B072183: mov edx, ecx */ 32280 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B072185: shr ecx, 2 */ 32281 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 32282 ecx = ecx >> 2u; /* 0x2B072185: shr ecx, 2 */ 32283 esi = 0x2B0EF014u; /* 0x2B072188: mov esi, 0x2b0ef014 */ 32284 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07218D: 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; } 32285 ecx = edx; /* 0x2B07218F: mov ecx, edx */ 32286 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 32287 ecx = ecx & 3; /* 0x2B072191: and ecx, 3 */ 32288 _cf = 0; 32289 _flag_k = FK_TEST; 32290 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B072194: 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; } 32291 ecx = edx; /* 0x2B072196: mov ecx, edx */ 32292 PUSH32(esp, ecx); /* 0x2B072198: push ecx */ 32293 ecx = eax; /* 0x2B072199: mov ecx, eax */ 32294 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07219B: call dword ptr [0x2b0b5150] */ 32295 RECOMP_FLAGS_IN(); 32296 L_2B0721A1: 32297 ecx = MEM32(ebx + 0x28); /* 0x2B0721A1: mov ecx, dword ptr [ebx + 0x28] */ 32298 esi = MEM32(0x2B0B5A74); /* 0x2B0721A4: mov esi, dword ptr [0x2b0b5a74] */ 32299 PUSH32(esp, 0x12u); /* 0x2B0721AA: push 0x12 */ 32300 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0721AC: push -1 */ 32301 RECOMP_ICALL(esi); /* 0x2B0721AE: call esi */ 32302 RECOMP_FLAGS_IN(); 32303 edx = MEM32(ebp + 0x8); /* 0x2B0721B0: mov edx, dword ptr [ebp + 8] */ 32304 PUSH32(esp, edx); /* 0x2B0721B3: push edx */ 32305 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0721B4: call dword ptr [0x2b0b5d6c] */ 32306 RECOMP_FLAGS_IN(); 32307 ecx = eax; /* 0x2B0721BA: mov ecx, eax */ 32308 RECOMP_ICALL(MEM32(0x2B0B5D14)); /* 0x2B0721BC: call dword ptr [0x2b0b5d14] */ 32309 RECOMP_FLAGS_IN(); 32310 edx = eax; /* 0x2B0721C2: mov edx, eax */ 32311 /* test edx, edx */ /* 0x2B0721C4: test edx, edx */ 32312 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 32313 _cf = 0; 32314 _flag_k = FK_TEST; 32315 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0721D8; /* 0x2B0721C6: je 0x2b0721d8 */ 32316 L_2B0721C8: 32317 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 32318 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0721C8: or ecx, 0xffffffff */ 32319 _cf = 0; 32320 _flag_k = FK_TEST; 32321 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 32322 eax = 0; /* 0x2B0721CB: xor eax, eax */ 32323 _cf = 0; 32324 _flag_k = FK_TEST; 32325 edi = edx; /* 0x2B0721CD: mov edi, edx */ 32326 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; } /* 0x2B0721CF: repne scasb al, byte ptr es:[edi] */ 32327 ecx = ~ecx; /* 0x2B0721D1: not ecx */ 32328 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 32329 ecx = ecx - 1; /* 0x2B0721D3: dec ecx */ 32330 _flag_k = FK_DEC; 32331 PUSH32(esp, ecx); /* 0x2B0721D4: push ecx */ 32332 PUSH32(esp, edx); /* 0x2B0721D5: push edx */ 32333 goto L_2B0721ED; /* 0x2B0721D6: jmp 0x2b0721ed */ 32334 L_2B0721D8: 32335 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 32336 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0721D8: or ecx, 0xffffffff */ 32337 _cf = 0; 32338 _flag_k = FK_TEST; 32339 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 32340 eax = 0; /* 0x2B0721DB: xor eax, eax */ 32341 _cf = 0; 32342 _flag_k = FK_TEST; 32343 edi = 0x2B0EBB4Cu; /* 0x2B0721DD: mov edi, 0x2b0ebb4c */ 32344 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; } /* 0x2B0721E2: repne scasb al, byte ptr es:[edi] */ 32345 ecx = ~ecx; /* 0x2B0721E4: not ecx */ 32346 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 32347 ecx = ecx - 1; /* 0x2B0721E6: dec ecx */ 32348 _flag_k = FK_DEC; 32349 PUSH32(esp, ecx); /* 0x2B0721E7: push ecx */ 32350 PUSH32(esp, 0x2B0EBB4Cu); /* 0x2B0721E8: push 0x2b0ebb4c */ 32351 L_2B0721ED: 32352 ecx = MEM32(ebx + 0x28); /* 0x2B0721ED: mov ecx, dword ptr [ebx + 0x28] */ 32353 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B0721F0: call dword ptr [0x2b0b5188] */ 32354 RECOMP_FLAGS_IN(); 32355 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 32356 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0721F6: or ecx, 0xffffffff */ 32357 _cf = 0; 32358 _flag_k = FK_TEST; 32359 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 32360 eax = 0; /* 0x2B0721F9: xor eax, eax */ 32361 _cf = 0; 32362 _flag_k = FK_TEST; 32363 edi = 0x2B0E2BF8u; /* 0x2B0721FB: mov edi, 0x2b0e2bf8 */ 32364 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; } /* 0x2B072200: repne scasb al, byte ptr es:[edi] */ 32365 ecx = ~ecx; /* 0x2B072202: not ecx */ 32366 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 32367 ecx = ecx - 1; /* 0x2B072204: dec ecx */ 32368 _flag_k = FK_DEC; 32369 PUSH32(esp, ecx); /* 0x2B072205: push ecx */ 32370 ecx = MEM32(ebx + 0x28); /* 0x2B072206: mov ecx, dword ptr [ebx + 0x28] */ 32371 PUSH32(esp, 0x2B0E2BF8u); /* 0x2B072209: push 0x2b0e2bf8 */ 32372 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B07220E: call dword ptr [0x2b0b5188] */ 32373 RECOMP_FLAGS_IN(); 32374 edi = MEM32(ebp + 0x8); /* 0x2B072214: mov edi, dword ptr [ebp + 8] */ 32375 PUSH32(esp, edi); /* 0x2B072217: push edi */ 32376 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B072218: call dword ptr [0x2b0b5d6c] */ 32377 RECOMP_FLAGS_IN(); 32378 ecx = eax; /* 0x2B07221E: mov ecx, eax */ 32379 RECOMP_ICALL(MEM32(0x2B0B5DB8)); /* 0x2B072220: call dword ptr [0x2b0b5db8] */ 32380 RECOMP_FLAGS_IN(); 32381 /* test eax, eax */ /* 0x2B072226: test eax, eax */ 32382 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 32383 _cf = 0; 32384 _flag_k = FK_TEST; 32385 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072377; /* 0x2B072228: je 0x2b072377 */ 32386 L_2B07222E: 32387 PUSH32(esp, edi); /* 0x2B07222E: push edi */ 32388 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B07222F: call dword ptr [0x2b0b5d6c] */ 32389 RECOMP_FLAGS_IN(); 32390 ecx = eax; /* 0x2B072235: mov ecx, eax */ 32391 RECOMP_ICALL(MEM32(0x2B0B5DA4)); /* 0x2B072237: call dword ptr [0x2b0b5da4] */ 32392 RECOMP_FLAGS_IN(); 32393 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x2B07223D: fst dword ptr [ebp - 0xc] */ 32394 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B072240: fcomp dword ptr [0x2b0b61b8] */ 32395 fp_pop(); 32396 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B072246: fnstsw ax */ 32397 /* test HI8(eax), 0x40u */ /* 0x2B072248: test ah, 0x40 */ 32398 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x40u) << 24; 32399 _cf = 0; 32400 _flag_k = FK_NARROW(FK_TEST, 24); 32401 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B072377; /* 0x2B07224B: jne 0x2b072377 */ 32402 L_2B072251: 32403 ecx = MEM32(ebx + 0x28); /* 0x2B072251: mov ecx, dword ptr [ebx + 0x28] */ 32404 PUSH32(esp, 0x13u); /* 0x2B072254: push 0x13 */ 32405 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B072256: push -1 */ 32406 RECOMP_ICALL(esi); /* 0x2B072258: call esi */ 32407 RECOMP_FLAGS_IN(); 32408 edx = MEM32(ebx + 0x28); /* 0x2B07225A: mov edx, dword ptr [ebx + 0x28] */ 32409 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 32410 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07225D: or ecx, 0xffffffff */ 32411 _cf = 0; 32412 _flag_k = FK_TEST; 32413 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 32414 eax = 0; /* 0x2B072260: xor eax, eax */ 32415 _cf = 0; 32416 _flag_k = FK_TEST; 32417 edi = 0x2B0EBB44u; /* 0x2B072262: mov edi, 0x2b0ebb44 */ 32418 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; } /* 0x2B072267: repne scasb al, byte ptr es:[edi] */ 32419 eax = MEM32(0x2B0B515C); /* 0x2B072269: mov eax, dword ptr [0x2b0b515c] */ 32420 ecx = ~ecx; /* 0x2B07226E: not ecx */ 32421 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 32422 ecx = ecx - 1; /* 0x2B072270: dec ecx */ 32423 _flag_k = FK_DEC; 32424 edi = ecx; /* 0x2B072271: mov edi, ecx */ 32425 ecx = MEM32(eax); /* 0x2B072273: mov ecx, dword ptr [eax] */ 32426 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 32427 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 32428 ecx = ecx - MEM32(edx + 0x8); /* 0x2B072275: sub ecx, dword ptr [edx + 8] */ 32429 _flag_k = FK_CMP; 32430 /* cmp ecx, edi */ /* 0x2B072278: cmp ecx, edi */ 32431 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 32432 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 32433 _flag_k = FK_CMP; 32434 MEM32(ebp + (-0x4)) = edx; /* 0x2B07227A: mov dword ptr [ebp - 4], edx */ 32435 if (CMP_A(_flag_a, _flag_b)) goto L_2B072288; /* 0x2B07227D: ja 0x2b072288 */ 32436 L_2B07227F: 32437 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07227F: call dword ptr [0x2b0b51a8] */ 32438 RECOMP_FLAGS_IN(); 32439 edx = MEM32(ebp + (-0x4)); /* 0x2B072285: mov edx, dword ptr [ebp - 4] */ 32440 L_2B072288: 32441 /* test edi, edi */ /* 0x2B072288: test edi, edi */ 32442 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 32443 _cf = 0; 32444 _flag_k = FK_TEST; 32445 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0722D7; /* 0x2B07228A: jbe 0x2b0722d7 */ 32446 L_2B07228C: 32447 ecx = MEM32(edx + 0x8); /* 0x2B07228C: mov ecx, dword ptr [edx + 8] */ 32448 eax = edi; /* 0x2B07228F: mov eax, edi */ 32449 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 32450 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 32451 eax = eax + ecx; /* 0x2B072291: add eax, ecx */ 32452 _flag_k = FK_ADD; 32453 PUSH32(esp, 0); /* 0x2B072293: push 0 */ 32454 PUSH32(esp, eax); /* 0x2B072295: push eax */ 32455 ecx = edx; /* 0x2B072296: mov ecx, edx */ 32456 MEM32(ebp + (-0x8)) = eax; /* 0x2B072298: mov dword ptr [ebp - 8], eax */ 32457 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07229B: call dword ptr [0x2b0b5154] */ 32458 RECOMP_FLAGS_IN(); 32459 /* test LO8(eax), LO8(eax) */ /* 0x2B0722A1: test al, al */ 32460 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 32461 _cf = 0; 32462 _flag_k = FK_NARROW(FK_TEST, 24); 32463 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0722D7; /* 0x2B0722A3: je 0x2b0722d7 */ 32464 L_2B0722A5: 32465 eax = MEM32(ebp + (-0x4)); /* 0x2B0722A5: mov eax, dword ptr [ebp - 4] */ 32466 edx = MEM32(eax + 0x8); /* 0x2B0722A8: mov edx, dword ptr [eax + 8] */ 32467 ecx = edi; /* 0x2B0722AB: mov ecx, edi */ 32468 edi = MEM32(eax + 0x4); /* 0x2B0722AD: mov edi, dword ptr [eax + 4] */ 32469 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 32470 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 32471 edi = edi + edx; /* 0x2B0722B0: add edi, edx */ 32472 _flag_k = FK_ADD; 32473 edx = ecx; /* 0x2B0722B2: mov edx, ecx */ 32474 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0722B4: shr ecx, 2 */ 32475 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 32476 ecx = ecx >> 2u; /* 0x2B0722B4: shr ecx, 2 */ 32477 esi = 0x2B0EBB44u; /* 0x2B0722B7: mov esi, 0x2b0ebb44 */ 32478 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0722BC: 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; } 32479 ecx = edx; /* 0x2B0722BE: mov ecx, edx */ 32480 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 32481 ecx = ecx & 3; /* 0x2B0722C0: and ecx, 3 */ 32482 _cf = 0; 32483 _flag_k = FK_TEST; 32484 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0722C3: 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; } 32485 ecx = MEM32(ebp + (-0x8)); /* 0x2B0722C5: mov ecx, dword ptr [ebp - 8] */ 32486 PUSH32(esp, ecx); /* 0x2B0722C8: push ecx */ 32487 ecx = eax; /* 0x2B0722C9: mov ecx, eax */ 32488 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B0722CB: call dword ptr [0x2b0b5150] */ 32489 RECOMP_FLAGS_IN(); 32490 esi = MEM32(0x2B0B5A74); /* 0x2B0722D1: mov esi, dword ptr [0x2b0b5a74] */ 32491 L_2B0722D7: 32492 ecx = MEM32(ebx + 0x28); /* 0x2B0722D7: mov ecx, dword ptr [ebx + 0x28] */ 32493 PUSH32(esp, 0x14u); /* 0x2B0722DA: push 0x14 */ 32494 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0722DC: push -1 */ 32495 RECOMP_ICALL(esi); /* 0x2B0722DE: call esi */ 32496 RECOMP_FLAGS_IN(); 32497 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x2B0722E0: fld dword ptr [ebp - 0xc] */ 32498 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 32499 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 32500 esp = esp - 8; /* 0x2B0722E3: sub esp, 8 */ 32501 _flag_k = FK_CMP; 32502 { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x2B0722E6: fstp qword ptr [esp] */ 32503 PUSH32(esp, 0x2B0EBB38u); /* 0x2B0722E9: push 0x2b0ebb38 */ 32504 PUSH32(esp, 0x2B0EEE84u); /* 0x2B0722EE: push 0x2b0eee84 */ 32505 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B0722F3: call dword ptr [0x2b0b51f0] */ 32506 RECOMP_FLAGS_IN(); 32507 edx = MEM32(ebx + 0x28); /* 0x2B0722F9: mov edx, dword ptr [ebx + 0x28] */ 32508 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 32509 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0722FC: or ecx, 0xffffffff */ 32510 _cf = 0; 32511 _flag_k = FK_TEST; 32512 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 32513 eax = 0; /* 0x2B0722FF: xor eax, eax */ 32514 _cf = 0; 32515 _flag_k = FK_TEST; 32516 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 32517 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 32518 esp = esp + 0x10u; /* 0x2B072301: add esp, 0x10 */ 32519 _flag_k = FK_ADD; 32520 edi = 0x2B0EEE84u; /* 0x2B072304: mov edi, 0x2b0eee84 */ 32521 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; } /* 0x2B072309: repne scasb al, byte ptr es:[edi] */ 32522 eax = MEM32(0x2B0B515C); /* 0x2B07230B: mov eax, dword ptr [0x2b0b515c] */ 32523 ecx = ~ecx; /* 0x2B072310: not ecx */ 32524 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 32525 ecx = ecx - 1; /* 0x2B072312: dec ecx */ 32526 _flag_k = FK_DEC; 32527 edi = ecx; /* 0x2B072313: mov edi, ecx */ 32528 ecx = MEM32(eax); /* 0x2B072315: mov ecx, dword ptr [eax] */ 32529 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 32530 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 32531 ecx = ecx - MEM32(edx + 0x8); /* 0x2B072317: sub ecx, dword ptr [edx + 8] */ 32532 _flag_k = FK_CMP; 32533 /* cmp ecx, edi */ /* 0x2B07231A: cmp ecx, edi */ 32534 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 32535 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 32536 _flag_k = FK_CMP; 32537 MEM32(ebp + (-0x4)) = edx; /* 0x2B07231C: mov dword ptr [ebp - 4], edx */ 32538 if (CMP_A(_flag_a, _flag_b)) goto L_2B07232A; /* 0x2B07231F: ja 0x2b07232a */ 32539 L_2B072321: 32540 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B072321: call dword ptr [0x2b0b51a8] */ 32541 RECOMP_FLAGS_IN(); 32542 edx = MEM32(ebp + (-0x4)); /* 0x2B072327: mov edx, dword ptr [ebp - 4] */ 32543 L_2B07232A: 32544 /* test edi, edi */ /* 0x2B07232A: test edi, edi */ 32545 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 32546 _cf = 0; 32547 _flag_k = FK_TEST; 32548 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072377; /* 0x2B07232C: jbe 0x2b072377 */ 32549 L_2B07232E: 32550 eax = MEM32(edx + 0x8); /* 0x2B07232E: mov eax, dword ptr [edx + 8] */ 32551 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 32552 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 32553 eax = eax + edi; /* 0x2B072331: add eax, edi */ 32554 _flag_k = FK_ADD; 32555 PUSH32(esp, 0); /* 0x2B072333: push 0 */ 32556 PUSH32(esp, eax); /* 0x2B072335: push eax */ 32557 ecx = edx; /* 0x2B072336: mov ecx, edx */ 32558 MEM32(ebp + (-0xC)) = eax; /* 0x2B072338: mov dword ptr [ebp - 0xc], eax */ 32559 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07233B: call dword ptr [0x2b0b5154] */ 32560 RECOMP_FLAGS_IN(); 32561 /* test LO8(eax), LO8(eax) */ /* 0x2B072341: test al, al */ 32562 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 32563 _cf = 0; 32564 _flag_k = FK_NARROW(FK_TEST, 24); 32565 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072377; /* 0x2B072343: je 0x2b072377 */ 32566 L_2B072345: 32567 eax = MEM32(ebp + (-0x4)); /* 0x2B072345: mov eax, dword ptr [ebp - 4] */ 32568 edx = MEM32(eax + 0x8); /* 0x2B072348: mov edx, dword ptr [eax + 8] */ 32569 ecx = edi; /* 0x2B07234B: mov ecx, edi */ 32570 edi = MEM32(eax + 0x4); /* 0x2B07234D: mov edi, dword ptr [eax + 4] */ 32571 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 32572 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 32573 edi = edi + edx; /* 0x2B072350: add edi, edx */ 32574 _flag_k = FK_ADD; 32575 edx = ecx; /* 0x2B072352: mov edx, ecx */ 32576 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B072354: shr ecx, 2 */ 32577 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 32578 ecx = ecx >> 2u; /* 0x2B072354: shr ecx, 2 */ 32579 esi = 0x2B0EEE84u; /* 0x2B072357: mov esi, 0x2b0eee84 */ 32580 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07235C: 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; } 32581 ecx = edx; /* 0x2B07235E: mov ecx, edx */ 32582 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 32583 ecx = ecx & 3; /* 0x2B072360: and ecx, 3 */ 32584 _cf = 0; 32585 _flag_k = FK_TEST; 32586 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B072363: 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; } 32587 ecx = MEM32(ebp + (-0xC)); /* 0x2B072365: mov ecx, dword ptr [ebp - 0xc] */ 32588 PUSH32(esp, ecx); /* 0x2B072368: push ecx */ 32589 ecx = eax; /* 0x2B072369: mov ecx, eax */ 32590 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07236B: call dword ptr [0x2b0b5150] */ 32591 RECOMP_FLAGS_IN(); 32592 esi = MEM32(0x2B0B5A74); /* 0x2B072371: mov esi, dword ptr [0x2b0b5a74] */ 32593 L_2B072377: 32594 edx = MEM32(ebp + 0x8); /* 0x2B072377: mov edx, dword ptr [ebp + 8] */ 32595 PUSH32(esp, 1); /* 0x2B07237A: push 1 */ 32596 PUSH32(esp, edx); /* 0x2B07237C: push edx */ 32597 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B07237D: call dword ptr [0x2b0b5d6c] */ 32598 RECOMP_FLAGS_IN(); 32599 ecx = eax; /* 0x2B072383: mov ecx, eax */ 32600 RECOMP_ICALL(MEM32(0x2B0B5D70)); /* 0x2B072385: call dword ptr [0x2b0b5d70] */ 32601 RECOMP_FLAGS_IN(); 32602 ecx = MEM32(ebx + 0x28); /* 0x2B07238B: mov ecx, dword ptr [ebx + 0x28] */ 32603 PUSH32(esp, 0x13u); /* 0x2B07238E: push 0x13 */ 32604 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B072390: push -1 */ 32605 MEM32(ebp + (-0x8)) = eax; /* 0x2B072392: mov dword ptr [ebp - 8], eax */ 32606 RECOMP_ICALL(esi); /* 0x2B072395: call esi */ 32607 RECOMP_FLAGS_IN(); 32608 edx = MEM32(ebx + 0x28); /* 0x2B072397: mov edx, dword ptr [ebx + 0x28] */ 32609 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 32610 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07239A: or ecx, 0xffffffff */ 32611 _cf = 0; 32612 _flag_k = FK_TEST; 32613 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 32614 eax = 0; /* 0x2B07239D: xor eax, eax */ 32615 _cf = 0; 32616 _flag_k = FK_TEST; 32617 edi = 0x2B0EBB30u; /* 0x2B07239F: mov edi, 0x2b0ebb30 */ 32618 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; } /* 0x2B0723A4: repne scasb al, byte ptr es:[edi] */ 32619 eax = MEM32(0x2B0B515C); /* 0x2B0723A6: mov eax, dword ptr [0x2b0b515c] */ 32620 ecx = ~ecx; /* 0x2B0723AB: not ecx */ 32621 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 32622 ecx = ecx - 1; /* 0x2B0723AD: dec ecx */ 32623 _flag_k = FK_DEC; 32624 edi = ecx; /* 0x2B0723AE: mov edi, ecx */ 32625 ecx = MEM32(eax); /* 0x2B0723B0: mov ecx, dword ptr [eax] */ 32626 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 32627 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 32628 ecx = ecx - MEM32(edx + 0x8); /* 0x2B0723B2: sub ecx, dword ptr [edx + 8] */ 32629 _flag_k = FK_CMP; 32630 /* cmp ecx, edi */ /* 0x2B0723B5: cmp ecx, edi */ 32631 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 32632 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 32633 _flag_k = FK_CMP; 32634 MEM32(ebp + (-0x4)) = edx; /* 0x2B0723B7: mov dword ptr [ebp - 4], edx */ 32635 if (CMP_A(_flag_a, _flag_b)) goto L_2B0723C5; /* 0x2B0723BA: ja 0x2b0723c5 */ 32636 L_2B0723BC: 32637 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0723BC: call dword ptr [0x2b0b51a8] */ 32638 RECOMP_FLAGS_IN(); 32639 edx = MEM32(ebp + (-0x4)); /* 0x2B0723C2: mov edx, dword ptr [ebp - 4] */ 32640 L_2B0723C5: 32641 /* test edi, edi */ /* 0x2B0723C5: test edi, edi */ 32642 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 32643 _cf = 0; 32644 _flag_k = FK_TEST; 32645 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072412; /* 0x2B0723C7: jbe 0x2b072412 */ 32646 L_2B0723C9: 32647 eax = MEM32(edx + 0x8); /* 0x2B0723C9: mov eax, dword ptr [edx + 8] */ 32648 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 32649 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 32650 eax = eax + edi; /* 0x2B0723CC: add eax, edi */ 32651 _flag_k = FK_ADD; 32652 PUSH32(esp, 0); /* 0x2B0723CE: push 0 */ 32653 PUSH32(esp, eax); /* 0x2B0723D0: push eax */ 32654 ecx = edx; /* 0x2B0723D1: mov ecx, edx */ 32655 MEM32(ebp + (-0xC)) = eax; /* 0x2B0723D3: mov dword ptr [ebp - 0xc], eax */ 32656 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0723D6: call dword ptr [0x2b0b5154] */ 32657 RECOMP_FLAGS_IN(); 32658 /* test LO8(eax), LO8(eax) */ /* 0x2B0723DC: test al, al */ 32659 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 32660 _cf = 0; 32661 _flag_k = FK_NARROW(FK_TEST, 24); 32662 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072412; /* 0x2B0723DE: je 0x2b072412 */ 32663 L_2B0723E0: 32664 eax = MEM32(ebp + (-0x4)); /* 0x2B0723E0: mov eax, dword ptr [ebp - 4] */ 32665 edx = MEM32(eax + 0x8); /* 0x2B0723E3: mov edx, dword ptr [eax + 8] */ 32666 ecx = edi; /* 0x2B0723E6: mov ecx, edi */ 32667 edi = MEM32(eax + 0x4); /* 0x2B0723E8: mov edi, dword ptr [eax + 4] */ 32668 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 32669 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 32670 edi = edi + edx; /* 0x2B0723EB: add edi, edx */ 32671 _flag_k = FK_ADD; 32672 edx = ecx; /* 0x2B0723ED: mov edx, ecx */ 32673 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0723EF: shr ecx, 2 */ 32674 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 32675 ecx = ecx >> 2u; /* 0x2B0723EF: shr ecx, 2 */ 32676 esi = 0x2B0EBB30u; /* 0x2B0723F2: mov esi, 0x2b0ebb30 */ 32677 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0723F7: 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; } 32678 ecx = edx; /* 0x2B0723F9: mov ecx, edx */ 32679 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 32680 ecx = ecx & 3; /* 0x2B0723FB: and ecx, 3 */ 32681 _cf = 0; 32682 _flag_k = FK_TEST; 32683 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0723FE: 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; } 32684 ecx = MEM32(ebp + (-0xC)); /* 0x2B072400: mov ecx, dword ptr [ebp - 0xc] */ 32685 PUSH32(esp, ecx); /* 0x2B072403: push ecx */ 32686 ecx = eax; /* 0x2B072404: mov ecx, eax */ 32687 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B072406: call dword ptr [0x2b0b5150] */ 32688 RECOMP_FLAGS_IN(); 32689 esi = MEM32(0x2B0B5A74); /* 0x2B07240C: mov esi, dword ptr [0x2b0b5a74] */ 32690 L_2B072412: 32691 ecx = MEM32(ebx + 0x28); /* 0x2B072412: mov ecx, dword ptr [ebx + 0x28] */ 32692 PUSH32(esp, 0x14u); /* 0x2B072415: push 0x14 */ 32693 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B072417: push -1 */ 32694 RECOMP_ICALL(esi); /* 0x2B072419: call esi */ 32695 RECOMP_FLAGS_IN(); 32696 edx = MEM32(ebp + (-0x8)); /* 0x2B07241B: mov edx, dword ptr [ebp - 8] */ 32697 PUSH32(esp, edx); /* 0x2B07241E: push edx */ 32698 PUSH32(esp, 0x2B0EBB24u); /* 0x2B07241F: push 0x2b0ebb24 */ 32699 PUSH32(esp, 0x2B0EEE84u); /* 0x2B072424: push 0x2b0eee84 */ 32700 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B072429: call dword ptr [0x2b0b51f0] */ 32701 RECOMP_FLAGS_IN(); 32702 edx = MEM32(ebx + 0x28); /* 0x2B07242F: mov edx, dword ptr [ebx + 0x28] */ 32703 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 32704 ecx = ecx | 0xFFFFFFFFu; /* 0x2B072432: or ecx, 0xffffffff */ 32705 _cf = 0; 32706 _flag_k = FK_TEST; 32707 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 32708 eax = 0; /* 0x2B072435: xor eax, eax */ 32709 _cf = 0; 32710 _flag_k = FK_TEST; 32711 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 32712 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 32713 esp = esp + 0xCu; /* 0x2B072437: add esp, 0xc */ 32714 _flag_k = FK_ADD; 32715 edi = 0x2B0EEE84u; /* 0x2B07243A: mov edi, 0x2b0eee84 */ 32716 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; } /* 0x2B07243F: repne scasb al, byte ptr es:[edi] */ 32717 eax = MEM32(0x2B0B515C); /* 0x2B072441: mov eax, dword ptr [0x2b0b515c] */ 32718 ecx = ~ecx; /* 0x2B072446: not ecx */ 32719 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 32720 ecx = ecx - 1; /* 0x2B072448: dec ecx */ 32721 _flag_k = FK_DEC; 32722 edi = ecx; /* 0x2B072449: mov edi, ecx */ 32723 ecx = MEM32(eax); /* 0x2B07244B: mov ecx, dword ptr [eax] */ 32724 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 32725 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 32726 ecx = ecx - MEM32(edx + 0x8); /* 0x2B07244D: sub ecx, dword ptr [edx + 8] */ 32727 _flag_k = FK_CMP; 32728 /* cmp ecx, edi */ /* 0x2B072450: cmp ecx, edi */ 32729 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 32730 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 32731 _flag_k = FK_CMP; 32732 MEM32(ebp + (-0x4)) = edx; /* 0x2B072452: mov dword ptr [ebp - 4], edx */ 32733 if (CMP_A(_flag_a, _flag_b)) goto L_2B072460; /* 0x2B072455: ja 0x2b072460 */ 32734 L_2B072457: 32735 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B072457: call dword ptr [0x2b0b51a8] */ 32736 RECOMP_FLAGS_IN(); 32737 edx = MEM32(ebp + (-0x4)); /* 0x2B07245D: mov edx, dword ptr [ebp - 4] */ 32738 L_2B072460: 32739 /* test edi, edi */ /* 0x2B072460: test edi, edi */ 32740 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 32741 _cf = 0; 32742 _flag_k = FK_TEST; 32743 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0724AD; /* 0x2B072462: jbe 0x2b0724ad */ 32744 L_2B072464: 32745 eax = MEM32(edx + 0x8); /* 0x2B072464: mov eax, dword ptr [edx + 8] */ 32746 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 32747 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 32748 eax = eax + edi; /* 0x2B072467: add eax, edi */ 32749 _flag_k = FK_ADD; 32750 PUSH32(esp, 0); /* 0x2B072469: push 0 */ 32751 PUSH32(esp, eax); /* 0x2B07246B: push eax */ 32752 ecx = edx; /* 0x2B07246C: mov ecx, edx */ 32753 MEM32(ebp + (-0xC)) = eax; /* 0x2B07246E: mov dword ptr [ebp - 0xc], eax */ 32754 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B072471: call dword ptr [0x2b0b5154] */ 32755 RECOMP_FLAGS_IN(); 32756 /* test LO8(eax), LO8(eax) */ /* 0x2B072477: test al, al */ 32757 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 32758 _cf = 0; 32759 _flag_k = FK_NARROW(FK_TEST, 24); 32760 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0724AD; /* 0x2B072479: je 0x2b0724ad */ 32761 L_2B07247B: 32762 eax = MEM32(ebp + (-0x4)); /* 0x2B07247B: mov eax, dword ptr [ebp - 4] */ 32763 edx = MEM32(eax + 0x8); /* 0x2B07247E: mov edx, dword ptr [eax + 8] */ 32764 ecx = edi; /* 0x2B072481: mov ecx, edi */ 32765 edi = MEM32(eax + 0x4); /* 0x2B072483: mov edi, dword ptr [eax + 4] */ 32766 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 32767 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 32768 edi = edi + edx; /* 0x2B072486: add edi, edx */ 32769 _flag_k = FK_ADD; 32770 edx = ecx; /* 0x2B072488: mov edx, ecx */ 32771 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07248A: shr ecx, 2 */ 32772 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 32773 ecx = ecx >> 2u; /* 0x2B07248A: shr ecx, 2 */ 32774 esi = 0x2B0EEE84u; /* 0x2B07248D: mov esi, 0x2b0eee84 */ 32775 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B072492: 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; } 32776 ecx = edx; /* 0x2B072494: mov ecx, edx */ 32777 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 32778 ecx = ecx & 3; /* 0x2B072496: and ecx, 3 */ 32779 _cf = 0; 32780 _flag_k = FK_TEST; 32781 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B072499: 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; } 32782 ecx = MEM32(ebp + (-0xC)); /* 0x2B07249B: mov ecx, dword ptr [ebp - 0xc] */ 32783 PUSH32(esp, ecx); /* 0x2B07249E: push ecx */ 32784 ecx = eax; /* 0x2B07249F: mov ecx, eax */ 32785 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B0724A1: call dword ptr [0x2b0b5150] */ 32786 RECOMP_FLAGS_IN(); 32787 esi = MEM32(0x2B0B5A74); /* 0x2B0724A7: mov esi, dword ptr [0x2b0b5a74] */ 32788 L_2B0724AD: 32789 edx = MEM32(ebp + 0x8); /* 0x2B0724AD: mov edx, dword ptr [ebp + 8] */ 32790 PUSH32(esp, 2); /* 0x2B0724B0: push 2 */ 32791 PUSH32(esp, edx); /* 0x2B0724B2: push edx */ 32792 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0724B3: call dword ptr [0x2b0b5d6c] */ 32793 RECOMP_FLAGS_IN(); 32794 ecx = eax; /* 0x2B0724B9: mov ecx, eax */ 32795 RECOMP_ICALL(MEM32(0x2B0B5D70)); /* 0x2B0724BB: call dword ptr [0x2b0b5d70] */ 32796 RECOMP_FLAGS_IN(); 32797 ecx = MEM32(ebx + 0x28); /* 0x2B0724C1: mov ecx, dword ptr [ebx + 0x28] */ 32798 PUSH32(esp, 0x13u); /* 0x2B0724C4: push 0x13 */ 32799 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0724C6: push -1 */ 32800 MEM32(ebp + (-0x8)) = eax; /* 0x2B0724C8: mov dword ptr [ebp - 8], eax */ 32801 RECOMP_ICALL(esi); /* 0x2B0724CB: call esi */ 32802 RECOMP_FLAGS_IN(); 32803 edx = MEM32(ebx + 0x28); /* 0x2B0724CD: mov edx, dword ptr [ebx + 0x28] */ 32804 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 32805 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0724D0: or ecx, 0xffffffff */ 32806 _cf = 0; 32807 _flag_k = FK_TEST; 32808 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 32809 eax = 0; /* 0x2B0724D3: xor eax, eax */ 32810 _cf = 0; 32811 _flag_k = FK_TEST; 32812 edi = 0x2B0EBB1Cu; /* 0x2B0724D5: mov edi, 0x2b0ebb1c */ 32813 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; } /* 0x2B0724DA: repne scasb al, byte ptr es:[edi] */ 32814 eax = MEM32(0x2B0B515C); /* 0x2B0724DC: mov eax, dword ptr [0x2b0b515c] */ 32815 ecx = ~ecx; /* 0x2B0724E1: not ecx */ 32816 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 32817 ecx = ecx - 1; /* 0x2B0724E3: dec ecx */ 32818 _flag_k = FK_DEC; 32819 edi = ecx; /* 0x2B0724E4: mov edi, ecx */ 32820 ecx = MEM32(eax); /* 0x2B0724E6: mov ecx, dword ptr [eax] */ 32821 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 32822 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 32823 ecx = ecx - MEM32(edx + 0x8); /* 0x2B0724E8: sub ecx, dword ptr [edx + 8] */ 32824 _flag_k = FK_CMP; 32825 /* cmp ecx, edi */ /* 0x2B0724EB: cmp ecx, edi */ 32826 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 32827 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 32828 _flag_k = FK_CMP; 32829 MEM32(ebp + (-0x4)) = edx; /* 0x2B0724ED: mov dword ptr [ebp - 4], edx */ 32830 if (CMP_A(_flag_a, _flag_b)) goto L_2B0724FB; /* 0x2B0724F0: ja 0x2b0724fb */ 32831 L_2B0724F2: 32832 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0724F2: call dword ptr [0x2b0b51a8] */ 32833 RECOMP_FLAGS_IN(); 32834 edx = MEM32(ebp + (-0x4)); /* 0x2B0724F8: mov edx, dword ptr [ebp - 4] */ 32835 L_2B0724FB: 32836 /* test edi, edi */ /* 0x2B0724FB: test edi, edi */ 32837 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 32838 _cf = 0; 32839 _flag_k = FK_TEST; 32840 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072548; /* 0x2B0724FD: jbe 0x2b072548 */ 32841 L_2B0724FF: 32842 eax = MEM32(edx + 0x8); /* 0x2B0724FF: mov eax, dword ptr [edx + 8] */ 32843 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 32844 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 32845 eax = eax + edi; /* 0x2B072502: add eax, edi */ 32846 _flag_k = FK_ADD; 32847 PUSH32(esp, 0); /* 0x2B072504: push 0 */ 32848 PUSH32(esp, eax); /* 0x2B072506: push eax */ 32849 ecx = edx; /* 0x2B072507: mov ecx, edx */ 32850 MEM32(ebp + (-0xC)) = eax; /* 0x2B072509: mov dword ptr [ebp - 0xc], eax */ 32851 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07250C: call dword ptr [0x2b0b5154] */ 32852 RECOMP_FLAGS_IN(); 32853 /* test LO8(eax), LO8(eax) */ /* 0x2B072512: test al, al */ 32854 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 32855 _cf = 0; 32856 _flag_k = FK_NARROW(FK_TEST, 24); 32857 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072548; /* 0x2B072514: je 0x2b072548 */ 32858 L_2B072516: 32859 eax = MEM32(ebp + (-0x4)); /* 0x2B072516: mov eax, dword ptr [ebp - 4] */ 32860 edx = MEM32(eax + 0x8); /* 0x2B072519: mov edx, dword ptr [eax + 8] */ 32861 ecx = edi; /* 0x2B07251C: mov ecx, edi */ 32862 edi = MEM32(eax + 0x4); /* 0x2B07251E: mov edi, dword ptr [eax + 4] */ 32863 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 32864 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 32865 edi = edi + edx; /* 0x2B072521: add edi, edx */ 32866 _flag_k = FK_ADD; 32867 edx = ecx; /* 0x2B072523: mov edx, ecx */ 32868 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B072525: shr ecx, 2 */ 32869 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 32870 ecx = ecx >> 2u; /* 0x2B072525: shr ecx, 2 */ 32871 esi = 0x2B0EBB1Cu; /* 0x2B072528: mov esi, 0x2b0ebb1c */ 32872 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07252D: 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; } 32873 ecx = edx; /* 0x2B07252F: mov ecx, edx */ 32874 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 32875 ecx = ecx & 3; /* 0x2B072531: and ecx, 3 */ 32876 _cf = 0; 32877 _flag_k = FK_TEST; 32878 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B072534: 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; } 32879 ecx = MEM32(ebp + (-0xC)); /* 0x2B072536: mov ecx, dword ptr [ebp - 0xc] */ 32880 PUSH32(esp, ecx); /* 0x2B072539: push ecx */ 32881 ecx = eax; /* 0x2B07253A: mov ecx, eax */ 32882 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07253C: call dword ptr [0x2b0b5150] */ 32883 RECOMP_FLAGS_IN(); 32884 esi = MEM32(0x2B0B5A74); /* 0x2B072542: mov esi, dword ptr [0x2b0b5a74] */ 32885 L_2B072548: 32886 ecx = MEM32(ebx + 0x28); /* 0x2B072548: mov ecx, dword ptr [ebx + 0x28] */ 32887 PUSH32(esp, 0x14u); /* 0x2B07254B: push 0x14 */ 32888 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07254D: push -1 */ 32889 RECOMP_ICALL(esi); /* 0x2B07254F: call esi */ 32890 RECOMP_FLAGS_IN(); 32891 edx = MEM32(ebp + (-0x8)); /* 0x2B072551: mov edx, dword ptr [ebp - 8] */ 32892 PUSH32(esp, edx); /* 0x2B072554: push edx */ 32893 PUSH32(esp, 0x2B0EBB24u); /* 0x2B072555: push 0x2b0ebb24 */ 32894 PUSH32(esp, 0x2B0EEE84u); /* 0x2B07255A: push 0x2b0eee84 */ 32895 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B07255F: call dword ptr [0x2b0b51f0] */ 32896 RECOMP_FLAGS_IN(); 32897 edx = MEM32(ebx + 0x28); /* 0x2B072565: mov edx, dword ptr [ebx + 0x28] */ 32898 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 32899 ecx = ecx | 0xFFFFFFFFu; /* 0x2B072568: or ecx, 0xffffffff */ 32900 _cf = 0; 32901 _flag_k = FK_TEST; 32902 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 32903 eax = 0; /* 0x2B07256B: xor eax, eax */ 32904 _cf = 0; 32905 _flag_k = FK_TEST; 32906 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 32907 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 32908 esp = esp + 0xCu; /* 0x2B07256D: add esp, 0xc */ 32909 _flag_k = FK_ADD; 32910 edi = 0x2B0EEE84u; /* 0x2B072570: mov edi, 0x2b0eee84 */ 32911 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; } /* 0x2B072575: repne scasb al, byte ptr es:[edi] */ 32912 eax = MEM32(0x2B0B515C); /* 0x2B072577: mov eax, dword ptr [0x2b0b515c] */ 32913 ecx = ~ecx; /* 0x2B07257C: not ecx */ 32914 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 32915 ecx = ecx - 1; /* 0x2B07257E: dec ecx */ 32916 _flag_k = FK_DEC; 32917 edi = ecx; /* 0x2B07257F: mov edi, ecx */ 32918 ecx = MEM32(eax); /* 0x2B072581: mov ecx, dword ptr [eax] */ 32919 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 32920 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 32921 ecx = ecx - MEM32(edx + 0x8); /* 0x2B072583: sub ecx, dword ptr [edx + 8] */ 32922 _flag_k = FK_CMP; 32923 /* cmp ecx, edi */ /* 0x2B072586: cmp ecx, edi */ 32924 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 32925 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 32926 _flag_k = FK_CMP; 32927 MEM32(ebp + (-0x4)) = edx; /* 0x2B072588: mov dword ptr [ebp - 4], edx */ 32928 if (CMP_A(_flag_a, _flag_b)) goto L_2B072596; /* 0x2B07258B: ja 0x2b072596 */ 32929 L_2B07258D: 32930 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07258D: call dword ptr [0x2b0b51a8] */ 32931 RECOMP_FLAGS_IN(); 32932 edx = MEM32(ebp + (-0x4)); /* 0x2B072593: mov edx, dword ptr [ebp - 4] */ 32933 L_2B072596: 32934 /* test edi, edi */ /* 0x2B072596: test edi, edi */ 32935 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 32936 _cf = 0; 32937 _flag_k = FK_TEST; 32938 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0725E3; /* 0x2B072598: jbe 0x2b0725e3 */ 32939 L_2B07259A: 32940 eax = MEM32(edx + 0x8); /* 0x2B07259A: mov eax, dword ptr [edx + 8] */ 32941 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 32942 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 32943 eax = eax + edi; /* 0x2B07259D: add eax, edi */ 32944 _flag_k = FK_ADD; 32945 PUSH32(esp, 0); /* 0x2B07259F: push 0 */ 32946 PUSH32(esp, eax); /* 0x2B0725A1: push eax */ 32947 ecx = edx; /* 0x2B0725A2: mov ecx, edx */ 32948 MEM32(ebp + (-0xC)) = eax; /* 0x2B0725A4: mov dword ptr [ebp - 0xc], eax */ 32949 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0725A7: call dword ptr [0x2b0b5154] */ 32950 RECOMP_FLAGS_IN(); 32951 /* test LO8(eax), LO8(eax) */ /* 0x2B0725AD: test al, al */ 32952 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 32953 _cf = 0; 32954 _flag_k = FK_NARROW(FK_TEST, 24); 32955 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0725E3; /* 0x2B0725AF: je 0x2b0725e3 */ 32956 L_2B0725B1: 32957 eax = MEM32(ebp + (-0x4)); /* 0x2B0725B1: mov eax, dword ptr [ebp - 4] */ 32958 edx = MEM32(eax + 0x8); /* 0x2B0725B4: mov edx, dword ptr [eax + 8] */ 32959 ecx = edi; /* 0x2B0725B7: mov ecx, edi */ 32960 edi = MEM32(eax + 0x4); /* 0x2B0725B9: mov edi, dword ptr [eax + 4] */ 32961 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 32962 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 32963 edi = edi + edx; /* 0x2B0725BC: add edi, edx */ 32964 _flag_k = FK_ADD; 32965 edx = ecx; /* 0x2B0725BE: mov edx, ecx */ 32966 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0725C0: shr ecx, 2 */ 32967 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 32968 ecx = ecx >> 2u; /* 0x2B0725C0: shr ecx, 2 */ 32969 esi = 0x2B0EEE84u; /* 0x2B0725C3: mov esi, 0x2b0eee84 */ 32970 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0725C8: 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; } 32971 ecx = edx; /* 0x2B0725CA: mov ecx, edx */ 32972 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 32973 ecx = ecx & 3; /* 0x2B0725CC: and ecx, 3 */ 32974 _cf = 0; 32975 _flag_k = FK_TEST; 32976 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0725CF: 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; } 32977 ecx = MEM32(ebp + (-0xC)); /* 0x2B0725D1: mov ecx, dword ptr [ebp - 0xc] */ 32978 PUSH32(esp, ecx); /* 0x2B0725D4: push ecx */ 32979 ecx = eax; /* 0x2B0725D5: mov ecx, eax */ 32980 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B0725D7: call dword ptr [0x2b0b5150] */ 32981 RECOMP_FLAGS_IN(); 32982 esi = MEM32(0x2B0B5A74); /* 0x2B0725DD: mov esi, dword ptr [0x2b0b5a74] */ 32983 L_2B0725E3: 32984 ecx = MEM32(ebx + 0x28); /* 0x2B0725E3: mov ecx, dword ptr [ebx + 0x28] */ 32985 PUSH32(esp, 0x14u); /* 0x2B0725E6: push 0x14 */ 32986 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0725E8: push -1 */ 32987 RECOMP_ICALL(esi); /* 0x2B0725EA: call esi */ 32988 RECOMP_FLAGS_IN(); 32989 edx = MEM32(ebp + 0x8); /* 0x2B0725EC: mov edx, dword ptr [ebp + 8] */ 32990 PUSH32(esp, edx); /* 0x2B0725EF: push edx */ 32991 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0725F0: call dword ptr [0x2b0b5d6c] */ 32992 RECOMP_FLAGS_IN(); 32993 ecx = eax; /* 0x2B0725F6: mov ecx, eax */ 32994 RECOMP_ICALL(MEM32(0x2B0B5D0C)); /* 0x2B0725F8: call dword ptr [0x2b0b5d0c] */ 32995 RECOMP_FLAGS_IN(); 32996 ebx = MEM32(ebx + 0x28); /* 0x2B0725FE: mov ebx, dword ptr [ebx + 0x28] */ 32997 esi = eax; /* 0x2B072601: mov esi, eax */ 32998 /* test esi, esi */ /* 0x2B072603: test esi, esi */ 32999 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 33000 _cf = 0; 33001 _flag_k = FK_TEST; 33002 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07267E; /* 0x2B072605: je 0x2b07267e */ 33003 L_2B072607: 33004 edx = MEM32(ebx + 0x8); /* 0x2B072607: mov edx, dword ptr [ebx + 8] */ 33005 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 33006 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07260A: or ecx, 0xffffffff */ 33007 _cf = 0; 33008 _flag_k = FK_TEST; 33009 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 33010 eax = 0; /* 0x2B07260D: xor eax, eax */ 33011 _cf = 0; 33012 _flag_k = FK_TEST; 33013 edi = esi; /* 0x2B07260F: mov edi, esi */ 33014 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; } /* 0x2B072611: repne scasb al, byte ptr es:[edi] */ 33015 eax = MEM32(0x2B0B515C); /* 0x2B072613: mov eax, dword ptr [0x2b0b515c] */ 33016 ecx = ~ecx; /* 0x2B072618: not ecx */ 33017 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 33018 ecx = ecx - 1; /* 0x2B07261A: dec ecx */ 33019 _flag_k = FK_DEC; 33020 edi = ecx; /* 0x2B07261B: mov edi, ecx */ 33021 ecx = MEM32(eax); /* 0x2B07261D: mov ecx, dword ptr [eax] */ 33022 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 33023 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33024 ecx = ecx - edx; /* 0x2B07261F: sub ecx, edx */ 33025 _flag_k = FK_CMP; 33026 /* cmp ecx, edi */ /* 0x2B072621: cmp ecx, edi */ 33027 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 33028 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33029 _flag_k = FK_CMP; 33030 if (CMP_A(_flag_a, _flag_b)) goto L_2B07262B; /* 0x2B072623: ja 0x2b07262b */ 33031 L_2B072625: 33032 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B072625: call dword ptr [0x2b0b51a8] */ 33033 RECOMP_FLAGS_IN(); 33034 L_2B07262B: 33035 /* test edi, edi */ /* 0x2B07262B: test edi, edi */ 33036 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 33037 _cf = 0; 33038 _flag_k = FK_TEST; 33039 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0726EB; /* 0x2B07262D: jbe 0x2b0726eb */ 33040 L_2B072633: 33041 edx = MEM32(ebx + 0x8); /* 0x2B072633: mov edx, dword ptr [ebx + 8] */ 33042 eax = edi; /* 0x2B072636: mov eax, edi */ 33043 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 33044 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 33045 eax = eax + edx; /* 0x2B072638: add eax, edx */ 33046 _flag_k = FK_ADD; 33047 PUSH32(esp, 0); /* 0x2B07263A: push 0 */ 33048 PUSH32(esp, eax); /* 0x2B07263C: push eax */ 33049 ecx = ebx; /* 0x2B07263D: mov ecx, ebx */ 33050 MEM32(ebp + 0x8) = eax; /* 0x2B07263F: mov dword ptr [ebp + 8], eax */ 33051 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B072642: call dword ptr [0x2b0b5154] */ 33052 RECOMP_FLAGS_IN(); 33053 /* test LO8(eax), LO8(eax) */ /* 0x2B072648: test al, al */ 33054 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 33055 _cf = 0; 33056 _flag_k = FK_NARROW(FK_TEST, 24); 33057 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0726EB; /* 0x2B07264A: je 0x2b0726eb */ 33058 L_2B072650: 33059 edx = MEM32(ebx + 0x4); /* 0x2B072650: mov edx, dword ptr [ebx + 4] */ 33060 eax = MEM32(ebp + 0x8); /* 0x2B072653: mov eax, dword ptr [ebp + 8] */ 33061 ecx = edi; /* 0x2B072656: mov ecx, edi */ 33062 edi = MEM32(ebx + 0x8); /* 0x2B072658: mov edi, dword ptr [ebx + 8] */ 33063 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 33064 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 33065 edi = edi + edx; /* 0x2B07265B: add edi, edx */ 33066 _flag_k = FK_ADD; 33067 edx = ecx; /* 0x2B07265D: mov edx, ecx */ 33068 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07265F: shr ecx, 2 */ 33069 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 33070 ecx = ecx >> 2u; /* 0x2B07265F: shr ecx, 2 */ 33071 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B072662: 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; } 33072 ecx = edx; /* 0x2B072664: mov ecx, edx */ 33073 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 33074 ecx = ecx & 3; /* 0x2B072666: and ecx, 3 */ 33075 _cf = 0; 33076 _flag_k = FK_TEST; 33077 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B072669: 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; } 33078 ecx = MEM32(ebx + 0x4); /* 0x2B07266B: mov ecx, dword ptr [ebx + 4] */ 33079 edi = POP32_VAL(esp); /* 0x2B07266E: pop edi */ 33080 MEM32(ebx + 0x8) = eax; /* 0x2B07266F: mov dword ptr [ebx + 8], eax */ 33081 esi = POP32_VAL(esp); /* 0x2B072672: pop esi */ 33082 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B072673: mov byte ptr [eax + ecx], 0 */ 33083 ebx = POP32_VAL(esp); /* 0x2B072677: pop ebx */ 33084 esp = ebp; /* 0x2B072678: mov esp, ebp */ 33085 ebp = POP32_VAL(esp); /* 0x2B07267A: pop ebp */ 33086 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07267B: ret 4 */ 33087 L_2B07267E: 33088 edx = MEM32(0x2B0B515C); /* 0x2B07267E: mov edx, dword ptr [0x2b0b515c] */ 33089 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 33090 eax = 0; /* 0x2B072684: xor eax, eax */ 33091 _cf = 0; 33092 _flag_k = FK_TEST; 33093 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 33094 ecx = ecx | 0xFFFFFFFFu; /* 0x2B072686: or ecx, 0xffffffff */ 33095 _cf = 0; 33096 _flag_k = FK_TEST; 33097 edi = 0x2B0EBAFCu; /* 0x2B072689: mov edi, 0x2b0ebafc */ 33098 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; } /* 0x2B07268E: repne scasb al, byte ptr es:[edi] */ 33099 eax = MEM32(edx); /* 0x2B072690: mov eax, dword ptr [edx] */ 33100 edx = MEM32(ebx + 0x8); /* 0x2B072692: mov edx, dword ptr [ebx + 8] */ 33101 ecx = ~ecx; /* 0x2B072695: not ecx */ 33102 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 33103 ecx = ecx - 1; /* 0x2B072697: dec ecx */ 33104 _flag_k = FK_DEC; 33105 esi = ecx; /* 0x2B072698: mov esi, ecx */ 33106 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 33107 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33108 eax = eax - edx; /* 0x2B07269A: sub eax, edx */ 33109 _flag_k = FK_CMP; 33110 /* cmp eax, esi */ /* 0x2B07269C: cmp eax, esi */ 33111 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 33112 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33113 _flag_k = FK_CMP; 33114 if (CMP_A(_flag_a, _flag_b)) goto L_2B0726A6; /* 0x2B07269E: ja 0x2b0726a6 */ 33115 L_2B0726A0: 33116 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0726A0: call dword ptr [0x2b0b51a8] */ 33117 RECOMP_FLAGS_IN(); 33118 L_2B0726A6: 33119 /* test esi, esi */ /* 0x2B0726A6: test esi, esi */ 33120 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 33121 _cf = 0; 33122 _flag_k = FK_TEST; 33123 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0726EB; /* 0x2B0726A8: jbe 0x2b0726eb */ 33124 L_2B0726AA: 33125 eax = MEM32(ebx + 0x8); /* 0x2B0726AA: mov eax, dword ptr [ebx + 8] */ 33126 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 33127 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 33128 eax = eax + esi; /* 0x2B0726AD: add eax, esi */ 33129 _flag_k = FK_ADD; 33130 PUSH32(esp, 0); /* 0x2B0726AF: push 0 */ 33131 PUSH32(esp, eax); /* 0x2B0726B1: push eax */ 33132 ecx = ebx; /* 0x2B0726B2: mov ecx, ebx */ 33133 MEM32(ebp + 0x8) = eax; /* 0x2B0726B4: mov dword ptr [ebp + 8], eax */ 33134 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0726B7: call dword ptr [0x2b0b5154] */ 33135 RECOMP_FLAGS_IN(); 33136 /* test LO8(eax), LO8(eax) */ /* 0x2B0726BD: test al, al */ 33137 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 33138 _cf = 0; 33139 _flag_k = FK_NARROW(FK_TEST, 24); 33140 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0726EB; /* 0x2B0726BF: je 0x2b0726eb */ 33141 L_2B0726C1: 33142 edi = MEM32(ebx + 0x8); /* 0x2B0726C1: mov edi, dword ptr [ebx + 8] */ 33143 edx = MEM32(ebx + 0x4); /* 0x2B0726C4: mov edx, dword ptr [ebx + 4] */ 33144 eax = MEM32(ebp + 0x8); /* 0x2B0726C7: mov eax, dword ptr [ebp + 8] */ 33145 ecx = esi; /* 0x2B0726CA: mov ecx, esi */ 33146 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 33147 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 33148 edi = edi + edx; /* 0x2B0726CC: add edi, edx */ 33149 _flag_k = FK_ADD; 33150 edx = ecx; /* 0x2B0726CE: mov edx, ecx */ 33151 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0726D0: shr ecx, 2 */ 33152 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 33153 ecx = ecx >> 2u; /* 0x2B0726D0: shr ecx, 2 */ 33154 esi = 0x2B0EBAFCu; /* 0x2B0726D3: mov esi, 0x2b0ebafc */ 33155 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0726D8: 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; } 33156 ecx = edx; /* 0x2B0726DA: mov ecx, edx */ 33157 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 33158 ecx = ecx & 3; /* 0x2B0726DC: and ecx, 3 */ 33159 _cf = 0; 33160 _flag_k = FK_TEST; 33161 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0726DF: 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; } 33162 ecx = MEM32(ebx + 0x4); /* 0x2B0726E1: mov ecx, dword ptr [ebx + 4] */ 33163 MEM32(ebx + 0x8) = eax; /* 0x2B0726E4: mov dword ptr [ebx + 8], eax */ 33164 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B0726E7: mov byte ptr [ecx + eax], 0 */ 33165 L_2B0726EB: 33166 edi = POP32_VAL(esp); /* 0x2B0726EB: pop edi */ 33167 esi = POP32_VAL(esp); /* 0x2B0726EC: pop esi */ 33168 ebx = POP32_VAL(esp); /* 0x2B0726ED: pop ebx */ 33169 esp = ebp; /* 0x2B0726EE: mov esp, ebp */ 33170 ebp = POP32_VAL(esp); /* 0x2B0726F0: pop ebp */ 33171 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0726F1: ret 4 */ 33172 RECOMP_REGS_OUT(); 33173 } 33174 33175 void sub_2B072700(void) { 33176 int _fpu_cmp = 0; 33177 uint32_t _cf = 0; 33178 int _df = 1; 33179 uint32_t _flag_k = FK_NONE; 33180 uint32_t _flag_a = 0, _flag_b = 0; 33181 uint32_t _itail_tgt = 0; 33182 RECOMP_REGS_LOCALS 33183 RECOMP_ENTER(0x2B072700u); 33184 33185 L_2B072700: 33186 PUSH32(esp, ebp); /* 0x2B072700: push ebp */ 33187 ebp = esp; /* 0x2B072701: mov ebp, esp */ 33188 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 33189 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33190 esp = esp - 8; /* 0x2B072703: sub esp, 8 */ 33191 _flag_k = FK_CMP; 33192 PUSH32(esp, ebx); /* 0x2B072706: push ebx */ 33193 PUSH32(esp, esi); /* 0x2B072707: push esi */ 33194 esi = ecx; /* 0x2B072708: mov esi, ecx */ 33195 ebx = MEM32(esi + 0x28); /* 0x2B07270A: mov ebx, dword ptr [esi + 0x28] */ 33196 PUSH32(esp, edi); /* 0x2B07270D: push edi */ 33197 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 33198 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07270E: or ecx, 0xffffffff */ 33199 _cf = 0; 33200 _flag_k = FK_TEST; 33201 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 33202 eax = 0; /* 0x2B072711: xor eax, eax */ 33203 _cf = 0; 33204 _flag_k = FK_TEST; 33205 edi = 0x2B0EF014u; /* 0x2B072713: mov edi, 0x2b0ef014 */ 33206 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; } /* 0x2B072718: repne scasb al, byte ptr es:[edi] */ 33207 ecx = ~ecx; /* 0x2B07271A: not ecx */ 33208 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 33209 ecx = ecx - 1; /* 0x2B07271C: dec ecx */ 33210 _flag_k = FK_DEC; 33211 edi = ecx; /* 0x2B07271D: mov edi, ecx */ 33212 PUSH32(esp, 1); /* 0x2B07271F: push 1 */ 33213 PUSH32(esp, edi); /* 0x2B072721: push edi */ 33214 ecx = ebx; /* 0x2B072722: mov ecx, ebx */ 33215 MEM32(ebp + (-0x4)) = esi; /* 0x2B072724: mov dword ptr [ebp - 4], esi */ 33216 MEM32(ebp + (-0x8)) = edi; /* 0x2B072727: mov dword ptr [ebp - 8], edi */ 33217 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07272A: call dword ptr [0x2b0b5154] */ 33218 RECOMP_FLAGS_IN(); 33219 /* test LO8(eax), LO8(eax) */ /* 0x2B072730: test al, al */ 33220 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 33221 _cf = 0; 33222 _flag_k = FK_NARROW(FK_TEST, 24); 33223 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072759; /* 0x2B072732: je 0x2b072759 */ 33224 L_2B072734: 33225 ecx = edi; /* 0x2B072734: mov ecx, edi */ 33226 edi = MEM32(ebx + 0x4); /* 0x2B072736: mov edi, dword ptr [ebx + 4] */ 33227 eax = ecx; /* 0x2B072739: mov eax, ecx */ 33228 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07273B: shr ecx, 2 */ 33229 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 33230 ecx = ecx >> 2u; /* 0x2B07273B: shr ecx, 2 */ 33231 esi = 0x2B0EF014u; /* 0x2B07273E: mov esi, 0x2b0ef014 */ 33232 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B072743: 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; } 33233 ecx = eax; /* 0x2B072745: mov ecx, eax */ 33234 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 33235 ecx = ecx & 3; /* 0x2B072747: and ecx, 3 */ 33236 _cf = 0; 33237 _flag_k = FK_TEST; 33238 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07274A: 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; } 33239 ecx = MEM32(ebx + 0x4); /* 0x2B07274C: mov ecx, dword ptr [ebx + 4] */ 33240 esi = MEM32(ebp + (-0x4)); /* 0x2B07274F: mov esi, dword ptr [ebp - 4] */ 33241 MEM32(ebx + 0x8) = eax; /* 0x2B072752: mov dword ptr [ebx + 8], eax */ 33242 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B072755: mov byte ptr [eax + ecx], 0 */ 33243 L_2B072759: 33244 ecx = MEM32(esi + 0x28); /* 0x2B072759: mov ecx, dword ptr [esi + 0x28] */ 33245 PUSH32(esp, 0x12u); /* 0x2B07275C: push 0x12 */ 33246 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07275E: push -1 */ 33247 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B072760: call dword ptr [0x2b0b5a74] */ 33248 RECOMP_FLAGS_IN(); 33249 edx = MEM32(0x2B0B515C); /* 0x2B072766: mov edx, dword ptr [0x2b0b515c] */ 33250 ebx = MEM32(esi + 0x28); /* 0x2B07276C: mov ebx, dword ptr [esi + 0x28] */ 33251 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 33252 eax = 0; /* 0x2B07276F: xor eax, eax */ 33253 _cf = 0; 33254 _flag_k = FK_TEST; 33255 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 33256 ecx = ecx | 0xFFFFFFFFu; /* 0x2B072771: or ecx, 0xffffffff */ 33257 _cf = 0; 33258 _flag_k = FK_TEST; 33259 edi = 0x2B0EBB74u; /* 0x2B072774: mov edi, 0x2b0ebb74 */ 33260 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; } /* 0x2B072779: repne scasb al, byte ptr es:[edi] */ 33261 eax = MEM32(edx); /* 0x2B07277B: mov eax, dword ptr [edx] */ 33262 edx = MEM32(ebx + 0x8); /* 0x2B07277D: mov edx, dword ptr [ebx + 8] */ 33263 ecx = ~ecx; /* 0x2B072780: not ecx */ 33264 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 33265 ecx = ecx - 1; /* 0x2B072782: dec ecx */ 33266 _flag_k = FK_DEC; 33267 esi = ecx; /* 0x2B072783: mov esi, ecx */ 33268 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 33269 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33270 eax = eax - edx; /* 0x2B072785: sub eax, edx */ 33271 _flag_k = FK_CMP; 33272 /* cmp eax, esi */ /* 0x2B072787: cmp eax, esi */ 33273 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 33274 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33275 _flag_k = FK_CMP; 33276 if (CMP_A(_flag_a, _flag_b)) goto L_2B072791; /* 0x2B072789: ja 0x2b072791 */ 33277 L_2B07278B: 33278 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07278B: call dword ptr [0x2b0b51a8] */ 33279 RECOMP_FLAGS_IN(); 33280 L_2B072791: 33281 /* test esi, esi */ /* 0x2B072791: test esi, esi */ 33282 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 33283 _cf = 0; 33284 _flag_k = FK_TEST; 33285 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0727D5; /* 0x2B072793: jbe 0x2b0727d5 */ 33286 L_2B072795: 33287 eax = MEM32(ebx + 0x8); /* 0x2B072795: mov eax, dword ptr [ebx + 8] */ 33288 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 33289 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 33290 eax = eax + esi; /* 0x2B072798: add eax, esi */ 33291 _flag_k = FK_ADD; 33292 PUSH32(esp, 0); /* 0x2B07279A: push 0 */ 33293 PUSH32(esp, eax); /* 0x2B07279C: push eax */ 33294 ecx = ebx; /* 0x2B07279D: mov ecx, ebx */ 33295 MEM32(ebp + (-0x8)) = eax; /* 0x2B07279F: mov dword ptr [ebp - 8], eax */ 33296 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0727A2: call dword ptr [0x2b0b5154] */ 33297 RECOMP_FLAGS_IN(); 33298 /* test LO8(eax), LO8(eax) */ /* 0x2B0727A8: test al, al */ 33299 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 33300 _cf = 0; 33301 _flag_k = FK_NARROW(FK_TEST, 24); 33302 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0727D5; /* 0x2B0727AA: je 0x2b0727d5 */ 33303 L_2B0727AC: 33304 edx = MEM32(ebx + 0x8); /* 0x2B0727AC: mov edx, dword ptr [ebx + 8] */ 33305 edi = MEM32(ebx + 0x4); /* 0x2B0727AF: mov edi, dword ptr [ebx + 4] */ 33306 eax = MEM32(ebp + (-0x8)); /* 0x2B0727B2: mov eax, dword ptr [ebp - 8] */ 33307 ecx = esi; /* 0x2B0727B5: mov ecx, esi */ 33308 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 33309 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 33310 edi = edi + edx; /* 0x2B0727B7: add edi, edx */ 33311 _flag_k = FK_ADD; 33312 edx = ecx; /* 0x2B0727B9: mov edx, ecx */ 33313 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0727BB: shr ecx, 2 */ 33314 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 33315 ecx = ecx >> 2u; /* 0x2B0727BB: shr ecx, 2 */ 33316 esi = 0x2B0EBB74u; /* 0x2B0727BE: mov esi, 0x2b0ebb74 */ 33317 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0727C3: 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; } 33318 ecx = edx; /* 0x2B0727C5: mov ecx, edx */ 33319 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 33320 ecx = ecx & 3; /* 0x2B0727C7: and ecx, 3 */ 33321 _cf = 0; 33322 _flag_k = FK_TEST; 33323 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0727CA: 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; } 33324 PUSH32(esp, eax); /* 0x2B0727CC: push eax */ 33325 ecx = ebx; /* 0x2B0727CD: mov ecx, ebx */ 33326 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B0727CF: call dword ptr [0x2b0b5150] */ 33327 RECOMP_FLAGS_IN(); 33328 L_2B0727D5: 33329 ecx = MEM32(ebp + (-0x4)); /* 0x2B0727D5: mov ecx, dword ptr [ebp - 4] */ 33330 ebx = MEM32(ecx + 0x28); /* 0x2B0727D8: mov ebx, dword ptr [ecx + 0x28] */ 33331 edx = MEM32(0x2B0B515C); /* 0x2B0727DB: mov edx, dword ptr [0x2b0b515c] */ 33332 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 33333 eax = 0; /* 0x2B0727E1: xor eax, eax */ 33334 _cf = 0; 33335 _flag_k = FK_TEST; 33336 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 33337 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0727E3: or ecx, 0xffffffff */ 33338 _cf = 0; 33339 _flag_k = FK_TEST; 33340 edi = 0x2B0E2BF8u; /* 0x2B0727E6: mov edi, 0x2b0e2bf8 */ 33341 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; } /* 0x2B0727EB: repne scasb al, byte ptr es:[edi] */ 33342 eax = MEM32(edx); /* 0x2B0727ED: mov eax, dword ptr [edx] */ 33343 edx = MEM32(ebx + 0x8); /* 0x2B0727EF: mov edx, dword ptr [ebx + 8] */ 33344 ecx = ~ecx; /* 0x2B0727F2: not ecx */ 33345 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 33346 ecx = ecx - 1; /* 0x2B0727F4: dec ecx */ 33347 _flag_k = FK_DEC; 33348 esi = ecx; /* 0x2B0727F5: mov esi, ecx */ 33349 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 33350 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33351 eax = eax - edx; /* 0x2B0727F7: sub eax, edx */ 33352 _flag_k = FK_CMP; 33353 /* cmp eax, esi */ /* 0x2B0727F9: cmp eax, esi */ 33354 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 33355 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33356 _flag_k = FK_CMP; 33357 if (CMP_A(_flag_a, _flag_b)) goto L_2B072803; /* 0x2B0727FB: ja 0x2b072803 */ 33358 L_2B0727FD: 33359 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0727FD: call dword ptr [0x2b0b51a8] */ 33360 RECOMP_FLAGS_IN(); 33361 L_2B072803: 33362 /* test esi, esi */ /* 0x2B072803: test esi, esi */ 33363 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 33364 _cf = 0; 33365 _flag_k = FK_TEST; 33366 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072848; /* 0x2B072805: jbe 0x2b072848 */ 33367 L_2B072807: 33368 eax = MEM32(ebx + 0x8); /* 0x2B072807: mov eax, dword ptr [ebx + 8] */ 33369 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 33370 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 33371 eax = eax + esi; /* 0x2B07280A: add eax, esi */ 33372 _flag_k = FK_ADD; 33373 PUSH32(esp, 0); /* 0x2B07280C: push 0 */ 33374 PUSH32(esp, eax); /* 0x2B07280E: push eax */ 33375 ecx = ebx; /* 0x2B07280F: mov ecx, ebx */ 33376 MEM32(ebp + (-0x8)) = eax; /* 0x2B072811: mov dword ptr [ebp - 8], eax */ 33377 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B072814: call dword ptr [0x2b0b5154] */ 33378 RECOMP_FLAGS_IN(); 33379 /* test LO8(eax), LO8(eax) */ /* 0x2B07281A: test al, al */ 33380 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 33381 _cf = 0; 33382 _flag_k = FK_NARROW(FK_TEST, 24); 33383 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072848; /* 0x2B07281C: je 0x2b072848 */ 33384 L_2B07281E: 33385 edi = MEM32(ebx + 0x8); /* 0x2B07281E: mov edi, dword ptr [ebx + 8] */ 33386 edx = MEM32(ebx + 0x4); /* 0x2B072821: mov edx, dword ptr [ebx + 4] */ 33387 eax = MEM32(ebp + (-0x8)); /* 0x2B072824: mov eax, dword ptr [ebp - 8] */ 33388 ecx = esi; /* 0x2B072827: mov ecx, esi */ 33389 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 33390 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 33391 edi = edi + edx; /* 0x2B072829: add edi, edx */ 33392 _flag_k = FK_ADD; 33393 edx = ecx; /* 0x2B07282B: mov edx, ecx */ 33394 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07282D: shr ecx, 2 */ 33395 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 33396 ecx = ecx >> 2u; /* 0x2B07282D: shr ecx, 2 */ 33397 esi = 0x2B0E2BF8u; /* 0x2B072830: mov esi, 0x2b0e2bf8 */ 33398 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B072835: 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; } 33399 ecx = edx; /* 0x2B072837: mov ecx, edx */ 33400 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 33401 ecx = ecx & 3; /* 0x2B072839: and ecx, 3 */ 33402 _cf = 0; 33403 _flag_k = FK_TEST; 33404 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07283C: 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; } 33405 ecx = MEM32(ebx + 0x4); /* 0x2B07283E: mov ecx, dword ptr [ebx + 4] */ 33406 MEM32(ebx + 0x8) = eax; /* 0x2B072841: mov dword ptr [ebx + 8], eax */ 33407 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B072844: mov byte ptr [ecx + eax], 0 */ 33408 L_2B072848: 33409 esi = MEM32(ebp + (-0x4)); /* 0x2B072848: mov esi, dword ptr [ebp - 4] */ 33410 ecx = MEM32(esi + 0x28); /* 0x2B07284B: mov ecx, dword ptr [esi + 0x28] */ 33411 PUSH32(esp, 0x14u); /* 0x2B07284E: push 0x14 */ 33412 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B072850: push -1 */ 33413 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B072852: call dword ptr [0x2b0b5a74] */ 33414 RECOMP_FLAGS_IN(); 33415 edx = MEM32(0x2B0B515C); /* 0x2B072858: mov edx, dword ptr [0x2b0b515c] */ 33416 ebx = MEM32(esi + 0x28); /* 0x2B07285E: mov ebx, dword ptr [esi + 0x28] */ 33417 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 33418 eax = 0; /* 0x2B072861: xor eax, eax */ 33419 _cf = 0; 33420 _flag_k = FK_TEST; 33421 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 33422 ecx = ecx | 0xFFFFFFFFu; /* 0x2B072863: or ecx, 0xffffffff */ 33423 _cf = 0; 33424 _flag_k = FK_TEST; 33425 edi = 0x2B0EBB64u; /* 0x2B072866: mov edi, 0x2b0ebb64 */ 33426 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; } /* 0x2B07286B: repne scasb al, byte ptr es:[edi] */ 33427 eax = MEM32(edx); /* 0x2B07286D: mov eax, dword ptr [edx] */ 33428 edx = MEM32(ebx + 0x8); /* 0x2B07286F: mov edx, dword ptr [ebx + 8] */ 33429 ecx = ~ecx; /* 0x2B072872: not ecx */ 33430 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 33431 ecx = ecx - 1; /* 0x2B072874: dec ecx */ 33432 _flag_k = FK_DEC; 33433 esi = ecx; /* 0x2B072875: mov esi, ecx */ 33434 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 33435 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33436 eax = eax - edx; /* 0x2B072877: sub eax, edx */ 33437 _flag_k = FK_CMP; 33438 /* cmp eax, esi */ /* 0x2B072879: cmp eax, esi */ 33439 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 33440 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33441 _flag_k = FK_CMP; 33442 if (CMP_A(_flag_a, _flag_b)) goto L_2B072883; /* 0x2B07287B: ja 0x2b072883 */ 33443 L_2B07287D: 33444 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07287D: call dword ptr [0x2b0b51a8] */ 33445 RECOMP_FLAGS_IN(); 33446 L_2B072883: 33447 /* test esi, esi */ /* 0x2B072883: test esi, esi */ 33448 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 33449 _cf = 0; 33450 _flag_k = FK_TEST; 33451 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0728C8; /* 0x2B072885: jbe 0x2b0728c8 */ 33452 L_2B072887: 33453 eax = MEM32(ebx + 0x8); /* 0x2B072887: mov eax, dword ptr [ebx + 8] */ 33454 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 33455 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 33456 eax = eax + esi; /* 0x2B07288A: add eax, esi */ 33457 _flag_k = FK_ADD; 33458 PUSH32(esp, 0); /* 0x2B07288C: push 0 */ 33459 PUSH32(esp, eax); /* 0x2B07288E: push eax */ 33460 ecx = ebx; /* 0x2B07288F: mov ecx, ebx */ 33461 MEM32(ebp + (-0x8)) = eax; /* 0x2B072891: mov dword ptr [ebp - 8], eax */ 33462 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B072894: call dword ptr [0x2b0b5154] */ 33463 RECOMP_FLAGS_IN(); 33464 /* test LO8(eax), LO8(eax) */ /* 0x2B07289A: test al, al */ 33465 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 33466 _cf = 0; 33467 _flag_k = FK_NARROW(FK_TEST, 24); 33468 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0728C8; /* 0x2B07289C: je 0x2b0728c8 */ 33469 L_2B07289E: 33470 edi = MEM32(ebx + 0x8); /* 0x2B07289E: mov edi, dword ptr [ebx + 8] */ 33471 edx = MEM32(ebx + 0x4); /* 0x2B0728A1: mov edx, dword ptr [ebx + 4] */ 33472 eax = MEM32(ebp + (-0x8)); /* 0x2B0728A4: mov eax, dword ptr [ebp - 8] */ 33473 ecx = esi; /* 0x2B0728A7: mov ecx, esi */ 33474 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 33475 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 33476 edi = edi + edx; /* 0x2B0728A9: add edi, edx */ 33477 _flag_k = FK_ADD; 33478 edx = ecx; /* 0x2B0728AB: mov edx, ecx */ 33479 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0728AD: shr ecx, 2 */ 33480 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 33481 ecx = ecx >> 2u; /* 0x2B0728AD: shr ecx, 2 */ 33482 esi = 0x2B0EBB64u; /* 0x2B0728B0: mov esi, 0x2b0ebb64 */ 33483 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0728B5: 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; } 33484 ecx = edx; /* 0x2B0728B7: mov ecx, edx */ 33485 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 33486 ecx = ecx & 3; /* 0x2B0728B9: and ecx, 3 */ 33487 _cf = 0; 33488 _flag_k = FK_TEST; 33489 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0728BC: 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; } 33490 ecx = MEM32(ebx + 0x4); /* 0x2B0728BE: mov ecx, dword ptr [ebx + 4] */ 33491 MEM32(ebx + 0x8) = eax; /* 0x2B0728C1: mov dword ptr [ebx + 8], eax */ 33492 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B0728C4: mov byte ptr [ecx + eax], 0 */ 33493 L_2B0728C8: 33494 edi = POP32_VAL(esp); /* 0x2B0728C8: pop edi */ 33495 esi = POP32_VAL(esp); /* 0x2B0728C9: pop esi */ 33496 ebx = POP32_VAL(esp); /* 0x2B0728CA: pop ebx */ 33497 esp = ebp; /* 0x2B0728CB: mov esp, ebp */ 33498 ebp = POP32_VAL(esp); /* 0x2B0728CD: pop ebp */ 33499 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0728CE: ret 4 */ 33500 RECOMP_REGS_OUT(); 33501 } 33502 33503 void sub_2B0728E0(void) { 33504 int _fpu_cmp = 0; 33505 uint32_t _cf = 0; 33506 int _df = 1; 33507 uint32_t _flag_k = FK_NONE; 33508 uint32_t _flag_a = 0, _flag_b = 0; 33509 uint32_t _itail_tgt = 0; 33510 RECOMP_REGS_LOCALS 33511 RECOMP_ENTER(0x2B0728E0u); 33512 33513 L_2B0728E0: 33514 PUSH32(esp, ebp); /* 0x2B0728E0: push ebp */ 33515 ebp = esp; /* 0x2B0728E1: mov ebp, esp */ 33516 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x4Cu); 33517 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33518 esp = esp - 0x4Cu; /* 0x2B0728E3: sub esp, 0x4c */ 33519 _flag_k = FK_CMP; 33520 PUSH32(esp, ebx); /* 0x2B0728E6: push ebx */ 33521 ebx = ecx; /* 0x2B0728E7: mov ebx, ecx */ 33522 edx = MEM32(ebx + 0x28); /* 0x2B0728E9: mov edx, dword ptr [ebx + 0x28] */ 33523 PUSH32(esp, esi); /* 0x2B0728EC: push esi */ 33524 PUSH32(esp, edi); /* 0x2B0728ED: push edi */ 33525 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 33526 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0728EE: or ecx, 0xffffffff */ 33527 _cf = 0; 33528 _flag_k = FK_TEST; 33529 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 33530 eax = 0; /* 0x2B0728F1: xor eax, eax */ 33531 _cf = 0; 33532 _flag_k = FK_TEST; 33533 MEM32(ebx + 0x8) = 9; /* 0x2B0728F3: mov dword ptr [ebx + 8], 9 */ 33534 edi = 0x2B0EF014u; /* 0x2B0728FA: mov edi, 0x2b0ef014 */ 33535 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; } /* 0x2B0728FF: repne scasb al, byte ptr es:[edi] */ 33536 ecx = ~ecx; /* 0x2B072901: not ecx */ 33537 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 33538 ecx = ecx - 1; /* 0x2B072903: dec ecx */ 33539 _flag_k = FK_DEC; 33540 PUSH32(esp, 1); /* 0x2B072904: push 1 */ 33541 MEM32(ebp + (-0x8)) = ecx; /* 0x2B072906: mov dword ptr [ebp - 8], ecx */ 33542 PUSH32(esp, ecx); /* 0x2B072909: push ecx */ 33543 ecx = edx; /* 0x2B07290A: mov ecx, edx */ 33544 MEM32(ebp + (-0x10)) = edx; /* 0x2B07290C: mov dword ptr [ebp - 0x10], edx */ 33545 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07290F: call dword ptr [0x2b0b5154] */ 33546 RECOMP_FLAGS_IN(); 33547 /* test LO8(eax), LO8(eax) */ /* 0x2B072915: test al, al */ 33548 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 33549 _cf = 0; 33550 _flag_k = FK_NARROW(FK_TEST, 24); 33551 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072940; /* 0x2B072917: je 0x2b072940 */ 33552 L_2B072919: 33553 ecx = MEM32(ebp + (-0x8)); /* 0x2B072919: mov ecx, dword ptr [ebp - 8] */ 33554 eax = MEM32(ebp + (-0x10)); /* 0x2B07291C: mov eax, dword ptr [ebp - 0x10] */ 33555 edi = MEM32(eax + 0x4); /* 0x2B07291F: mov edi, dword ptr [eax + 4] */ 33556 edx = ecx; /* 0x2B072922: mov edx, ecx */ 33557 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B072924: shr ecx, 2 */ 33558 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 33559 ecx = ecx >> 2u; /* 0x2B072924: shr ecx, 2 */ 33560 esi = 0x2B0EF014u; /* 0x2B072927: mov esi, 0x2b0ef014 */ 33561 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07292C: 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; } 33562 ecx = edx; /* 0x2B07292E: mov ecx, edx */ 33563 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 33564 ecx = ecx & 3; /* 0x2B072930: and ecx, 3 */ 33565 _cf = 0; 33566 _flag_k = FK_TEST; 33567 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B072933: 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; } 33568 ecx = edx; /* 0x2B072935: mov ecx, edx */ 33569 PUSH32(esp, ecx); /* 0x2B072937: push ecx */ 33570 ecx = eax; /* 0x2B072938: mov ecx, eax */ 33571 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07293A: call dword ptr [0x2b0b5150] */ 33572 RECOMP_FLAGS_IN(); 33573 L_2B072940: 33574 ecx = MEM32(ebx + 0x28); /* 0x2B072940: mov ecx, dword ptr [ebx + 0x28] */ 33575 PUSH32(esp, 0x12u); /* 0x2B072943: push 0x12 */ 33576 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B072945: push -1 */ 33577 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B072947: call dword ptr [0x2b0b5a74] */ 33578 RECOMP_FLAGS_IN(); 33579 esi = MEM32(ebp + 0x8); /* 0x2B07294D: mov esi, dword ptr [ebp + 8] */ 33580 PUSH32(esp, esi); /* 0x2B072950: push esi */ 33581 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B072951: call dword ptr [0x2b0b5d6c] */ 33582 RECOMP_FLAGS_IN(); 33583 ecx = eax; /* 0x2B072957: mov ecx, eax */ 33584 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B072959: call dword ptr [0x2b0b5d50] */ 33585 RECOMP_FLAGS_IN(); 33586 edx = eax; /* 0x2B07295F: mov edx, eax */ 33587 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 33588 ecx = ecx | 0xFFFFFFFFu; /* 0x2B072961: or ecx, 0xffffffff */ 33589 _cf = 0; 33590 _flag_k = FK_TEST; 33591 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 33592 eax = 0; /* 0x2B072964: xor eax, eax */ 33593 _cf = 0; 33594 _flag_k = FK_TEST; 33595 edi = edx; /* 0x2B072966: mov edi, edx */ 33596 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; } /* 0x2B072968: repne scasb al, byte ptr es:[edi] */ 33597 ecx = ~ecx; /* 0x2B07296A: not ecx */ 33598 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 33599 ecx = ecx - 1; /* 0x2B07296C: dec ecx */ 33600 _flag_k = FK_DEC; 33601 PUSH32(esp, ecx); /* 0x2B07296D: push ecx */ 33602 ecx = MEM32(ebx + 0x28); /* 0x2B07296E: mov ecx, dword ptr [ebx + 0x28] */ 33603 PUSH32(esp, edx); /* 0x2B072971: push edx */ 33604 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B072972: call dword ptr [0x2b0b5188] */ 33605 RECOMP_FLAGS_IN(); 33606 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 33607 ecx = ecx | 0xFFFFFFFFu; /* 0x2B072978: or ecx, 0xffffffff */ 33608 _cf = 0; 33609 _flag_k = FK_TEST; 33610 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 33611 eax = 0; /* 0x2B07297B: xor eax, eax */ 33612 _cf = 0; 33613 _flag_k = FK_TEST; 33614 edi = 0x2B0E2BF8u; /* 0x2B07297D: mov edi, 0x2b0e2bf8 */ 33615 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; } /* 0x2B072982: repne scasb al, byte ptr es:[edi] */ 33616 ecx = ~ecx; /* 0x2B072984: not ecx */ 33617 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 33618 ecx = ecx - 1; /* 0x2B072986: dec ecx */ 33619 _flag_k = FK_DEC; 33620 PUSH32(esp, ecx); /* 0x2B072987: push ecx */ 33621 ecx = MEM32(ebx + 0x28); /* 0x2B072988: mov ecx, dword ptr [ebx + 0x28] */ 33622 PUSH32(esp, 0x2B0E2BF8u); /* 0x2B07298B: push 0x2b0e2bf8 */ 33623 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B072990: call dword ptr [0x2b0b5188] */ 33624 RECOMP_FLAGS_IN(); 33625 edx = MEM32(ebx + 0x28); /* 0x2B072996: mov edx, dword ptr [ebx + 0x28] */ 33626 PUSH32(esp, edx); /* 0x2B072999: push edx */ 33627 PUSH32(esp, esi); /* 0x2B07299A: push esi */ 33628 ecx = ebx; /* 0x2B07299B: mov ecx, ebx */ 33629 RECOMP_ICALL(0x2B074010u); /* 0x2B07299D: call 0x2b074010 */ /* not lifted */ 33630 RECOMP_FLAGS_IN(); 33631 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 33632 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0729A2: or ecx, 0xffffffff */ 33633 _cf = 0; 33634 _flag_k = FK_TEST; 33635 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 33636 eax = 0; /* 0x2B0729A5: xor eax, eax */ 33637 _cf = 0; 33638 _flag_k = FK_TEST; 33639 edi = 0x2B0E2BF8u; /* 0x2B0729A7: mov edi, 0x2b0e2bf8 */ 33640 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; } /* 0x2B0729AC: repne scasb al, byte ptr es:[edi] */ 33641 ecx = ~ecx; /* 0x2B0729AE: not ecx */ 33642 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 33643 ecx = ecx - 1; /* 0x2B0729B0: dec ecx */ 33644 _flag_k = FK_DEC; 33645 PUSH32(esp, ecx); /* 0x2B0729B1: push ecx */ 33646 ecx = MEM32(ebx + 0x28); /* 0x2B0729B2: mov ecx, dword ptr [ebx + 0x28] */ 33647 PUSH32(esp, 0x2B0E2BF8u); /* 0x2B0729B5: push 0x2b0e2bf8 */ 33648 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B0729BA: call dword ptr [0x2b0b5188] */ 33649 RECOMP_FLAGS_IN(); 33650 ecx = MEM32(ebx + 0x28); /* 0x2B0729C0: mov ecx, dword ptr [ebx + 0x28] */ 33651 PUSH32(esp, 0x2B0E2BF8u); /* 0x2B0729C3: push 0x2b0e2bf8 */ 33652 PUSH32(esp, 0x2B0EBF20u); /* 0x2B0729C8: push 0x2b0ebf20 */ 33653 RECOMP_ICALL(MEM32(0x2B0B578C)); /* 0x2B0729CD: call dword ptr [0x2b0b578c] */ 33654 RECOMP_FLAGS_IN(); 33655 PUSH32(esp, esi); /* 0x2B0729D3: push esi */ 33656 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0729D4: call dword ptr [0x2b0b5d6c] */ 33657 RECOMP_FLAGS_IN(); 33658 ecx = eax; /* 0x2B0729DA: mov ecx, eax */ 33659 RECOMP_ICALL(MEM32(0x2B0B5C58)); /* 0x2B0729DC: call dword ptr [0x2b0b5c58] */ 33660 RECOMP_FLAGS_IN(); 33661 /* test eax, eax */ /* 0x2B0729E2: test eax, eax */ 33662 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 33663 _cf = 0; 33664 _flag_k = FK_TEST; 33665 MEM32(ebp + (-0x24)) = eax; /* 0x2B0729E4: mov dword ptr [ebp - 0x24], eax */ 33666 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B072A0E; /* 0x2B0729E7: jne 0x2b072a0e */ 33667 L_2B0729E9: 33668 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 33669 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0729E9: or ecx, 0xffffffff */ 33670 _cf = 0; 33671 _flag_k = FK_TEST; 33672 edi = 0x2B0EBEDCu; /* 0x2B0729EC: mov edi, 0x2b0ebedc */ 33673 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; } /* 0x2B0729F1: repne scasb al, byte ptr es:[edi] */ 33674 ecx = ~ecx; /* 0x2B0729F3: not ecx */ 33675 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 33676 ecx = ecx - 1; /* 0x2B0729F5: dec ecx */ 33677 _flag_k = FK_DEC; 33678 PUSH32(esp, ecx); /* 0x2B0729F6: push ecx */ 33679 ecx = MEM32(ebx + 0x28); /* 0x2B0729F7: mov ecx, dword ptr [ebx + 0x28] */ 33680 PUSH32(esp, 0x2B0EBEDCu); /* 0x2B0729FA: push 0x2b0ebedc */ 33681 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B0729FF: call dword ptr [0x2b0b5188] */ 33682 RECOMP_FLAGS_IN(); 33683 edi = POP32_VAL(esp); /* 0x2B072A05: pop edi */ 33684 esi = POP32_VAL(esp); /* 0x2B072A06: pop esi */ 33685 ebx = POP32_VAL(esp); /* 0x2B072A07: pop ebx */ 33686 esp = ebp; /* 0x2B072A08: mov esp, ebp */ 33687 ebp = POP32_VAL(esp); /* 0x2B072A0A: pop ebp */ 33688 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B072A0B: ret 4 */ 33689 L_2B072A0E: 33690 ecx = MEM32(eax + 0x4); /* 0x2B072A0E: mov ecx, dword ptr [eax + 4] */ 33691 eax = MEM32(ecx); /* 0x2B072A11: mov eax, dword ptr [ecx] */ 33692 /* cmp eax, ecx */ /* 0x2B072A13: cmp eax, ecx */ 33693 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 33694 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33695 _flag_k = FK_CMP; 33696 MEM32(ebp + (-0x8)) = eax; /* 0x2B072A15: mov dword ptr [ebp - 8], eax */ 33697 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B072BEA; /* 0x2B072A18: je 0x2b072bea */ 33698 L_2B072A1E: 33699 goto L_2B072A23; /* 0x2B072A1E: jmp 0x2b072a23 */ 33700 L_2B072A20: 33701 eax = MEM32(ebp + (-0x8)); /* 0x2B072A20: mov eax, dword ptr [ebp - 8] */ 33702 L_2B072A23: 33703 esi = MEM32(eax + 0x8); /* 0x2B072A23: mov esi, dword ptr [eax + 8] */ 33704 eax = MEM32(ebp + 0x8); /* 0x2B072A26: mov eax, dword ptr [ebp + 8] */ 33705 edi = MEM32(0x2B0B5D6C); /* 0x2B072A29: mov edi, dword ptr [0x2b0b5d6c] */ 33706 PUSH32(esp, eax); /* 0x2B072A2F: push eax */ 33707 RECOMP_ICALL(edi); /* 0x2B072A30: call edi */ 33708 RECOMP_FLAGS_IN(); 33709 ecx = eax; /* 0x2B072A32: mov ecx, eax */ 33710 RECOMP_ICALL(MEM32(0x2B0B5C54)); /* 0x2B072A34: call dword ptr [0x2b0b5c54] */ 33711 RECOMP_FLAGS_IN(); 33712 PUSH32(esp, esi); /* 0x2B072A3A: push esi */ 33713 RECOMP_ICALL(edi); /* 0x2B072A3B: call edi */ 33714 RECOMP_FLAGS_IN(); 33715 ecx = eax; /* 0x2B072A3D: mov ecx, eax */ 33716 RECOMP_ICALL(MEM32(0x2B0B5C50)); /* 0x2B072A3F: call dword ptr [0x2b0b5c50] */ 33717 RECOMP_FLAGS_IN(); 33718 esi = eax; /* 0x2B072A45: mov esi, eax */ 33719 /* test esi, esi */ /* 0x2B072A47: test esi, esi */ 33720 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 33721 _cf = 0; 33722 _flag_k = FK_TEST; 33723 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072BD6; /* 0x2B072A49: jbe 0x2b072bd6 */ 33724 L_2B072A4F: 33725 ecx = ebp + (-0xC); /* 0x2B072A4F: lea ecx, [ebp - 0xc] */ 33726 PUSH32(esp, ecx); /* 0x2B072A52: push ecx */ 33727 MEM32(ebp + (-0xC)) = 0; /* 0x2B072A53: mov dword ptr [ebp - 0xc], 0 */ 33728 RECOMP_ICALL(edi); /* 0x2B072A5A: call edi */ 33729 RECOMP_FLAGS_IN(); 33730 ecx = eax; /* 0x2B072A5C: mov ecx, eax */ 33731 RECOMP_ICALL(MEM32(0x2B0B5C68)); /* 0x2B072A5E: call dword ptr [0x2b0b5c68] */ 33732 RECOMP_FLAGS_IN(); 33733 eax = MEM32(ebp + (-0xC)); /* 0x2B072A64: mov eax, dword ptr [ebp - 0xc] */ 33734 /* cmp esi, eax */ /* 0x2B072A67: cmp esi, eax */ 33735 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 33736 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33737 _flag_k = FK_CMP; 33738 if (CMP_B(_flag_a, _flag_b)) goto L_2B072A71; /* 0x2B072A69: jb 0x2b072a71 */ 33739 L_2B072A6B: 33740 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 33741 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33742 esi = esi - eax; /* 0x2B072A6B: sub esi, eax */ 33743 _flag_k = FK_CMP; 33744 ecx = esi; /* 0x2B072A6D: mov ecx, esi */ 33745 goto L_2B072A73; /* 0x2B072A6F: jmp 0x2b072a73 */ 33746 L_2B072A71: 33747 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 33748 ecx = 0; /* 0x2B072A71: xor ecx, ecx */ 33749 _cf = 0; 33750 _flag_k = FK_TEST; 33751 L_2B072A73: 33752 eax = 0xC22E4507u; /* 0x2B072A73: mov eax, 0xc22e4507 */ 33753 { uint64_t _r = (uint64_t)eax * (uint32_t)(ecx); /* 0x2B072A78: mul ecx */ 33754 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = edx != 0; 33755 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 33756 esi = edx; /* 0x2B072A7A: mov esi, edx */ 33757 if (16u) _cf = (((esi) >> 15) & 1u); /* 0x2B072A7C: shr esi, 0x10 */ 33758 if (16u) { _flag_a = recomp_flags_pack((esi >> 16u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 33759 esi = esi >> 16u; /* 0x2B072A7C: shr esi, 0x10 */ 33760 eax = esi + esi * 2; /* 0x2B072A7F: lea eax, [esi + esi*2] */ 33761 eax = eax + eax * 4; /* 0x2B072A82: lea eax, [eax + eax*4] */ 33762 eax = eax + eax * 4; /* 0x2B072A85: lea eax, [eax + eax*4] */ 33763 edx = eax + eax * 8; /* 0x2B072A88: lea edx, [eax + eax*8] */ 33764 if (7u) _cf = (((edx) >> 25) & 1u); /* 0x2B072A8B: shl edx, 7 */ 33765 if (7u) { _flag_a = recomp_flags_pack((edx << 7u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 33766 edx = edx << 7u; /* 0x2B072A8B: shl edx, 7 */ 33767 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 33768 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33769 ecx = ecx - edx; /* 0x2B072A8E: sub ecx, edx */ 33770 _flag_k = FK_CMP; 33771 eax = 0x91A2B3C5u; /* 0x2B072A90: mov eax, 0x91a2b3c5 */ 33772 { uint64_t _r = (uint64_t)eax * (uint32_t)(ecx); /* 0x2B072A95: mul ecx */ 33773 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = edx != 0; 33774 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 33775 if (11u) _cf = (((edx) >> 10) & 1u); /* 0x2B072A97: shr edx, 0xb */ 33776 if (11u) { _flag_a = recomp_flags_pack((edx >> 11u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 33777 edx = edx >> 11u; /* 0x2B072A97: shr edx, 0xb */ 33778 MEM32(ebp + (-0x20)) = edx; /* 0x2B072A9A: mov dword ptr [ebp - 0x20], edx */ 33779 edx = (uint32_t)((int32_t)edx * (int32_t)0xE10u); /* 0x2B072A9D: imul edx, edx, 0xe10 */ 33780 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 33781 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33782 ecx = ecx - edx; /* 0x2B072AA3: sub ecx, edx */ 33783 _flag_k = FK_CMP; 33784 eax = 0x88888889u; /* 0x2B072AA5: mov eax, 0x88888889 */ 33785 { uint64_t _r = (uint64_t)eax * (uint32_t)(ecx); /* 0x2B072AAA: mul ecx */ 33786 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = edx != 0; 33787 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 33788 ecx = MEM32(ebx + 0x28); /* 0x2B072AAC: mov ecx, dword ptr [ebx + 0x28] */ 33789 PUSH32(esp, 0x13u); /* 0x2B072AAF: push 0x13 */ 33790 if (5u) _cf = (((edx) >> 4) & 1u); /* 0x2B072AB1: shr edx, 5 */ 33791 if (5u) { _flag_a = recomp_flags_pack((edx >> 5u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 33792 edx = edx >> 5u; /* 0x2B072AB1: shr edx, 5 */ 33793 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B072AB4: push -1 */ 33794 MEM32(ebp + (-0x18)) = esi; /* 0x2B072AB6: mov dword ptr [ebp - 0x18], esi */ 33795 MEM32(ebp + (-0x1C)) = edx; /* 0x2B072AB9: mov dword ptr [ebp - 0x1c], edx */ 33796 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B072ABC: call dword ptr [0x2b0b5a74] */ 33797 RECOMP_FLAGS_IN(); 33798 edx = MEM32(ebx + 0x28); /* 0x2B072AC2: mov edx, dword ptr [ebx + 0x28] */ 33799 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 33800 ecx = ecx | 0xFFFFFFFFu; /* 0x2B072AC5: or ecx, 0xffffffff */ 33801 _cf = 0; 33802 _flag_k = FK_TEST; 33803 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 33804 eax = 0; /* 0x2B072AC8: xor eax, eax */ 33805 _cf = 0; 33806 _flag_k = FK_TEST; 33807 edi = 0x2B0EBEC8u; /* 0x2B072ACA: mov edi, 0x2b0ebec8 */ 33808 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; } /* 0x2B072ACF: repne scasb al, byte ptr es:[edi] */ 33809 eax = MEM32(0x2B0B515C); /* 0x2B072AD1: mov eax, dword ptr [0x2b0b515c] */ 33810 ecx = ~ecx; /* 0x2B072AD6: not ecx */ 33811 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 33812 ecx = ecx - 1; /* 0x2B072AD8: dec ecx */ 33813 _flag_k = FK_DEC; 33814 edi = ecx; /* 0x2B072AD9: mov edi, ecx */ 33815 ecx = MEM32(eax); /* 0x2B072ADB: mov ecx, dword ptr [eax] */ 33816 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 33817 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33818 ecx = ecx - MEM32(edx + 0x8); /* 0x2B072ADD: sub ecx, dword ptr [edx + 8] */ 33819 _flag_k = FK_CMP; 33820 /* cmp ecx, edi */ /* 0x2B072AE0: cmp ecx, edi */ 33821 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 33822 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33823 _flag_k = FK_CMP; 33824 MEM32(ebp + (-0x10)) = edx; /* 0x2B072AE2: mov dword ptr [ebp - 0x10], edx */ 33825 if (CMP_A(_flag_a, _flag_b)) goto L_2B072AED; /* 0x2B072AE5: ja 0x2b072aed */ 33826 L_2B072AE7: 33827 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B072AE7: call dword ptr [0x2b0b51a8] */ 33828 RECOMP_FLAGS_IN(); 33829 L_2B072AED: 33830 /* test edi, edi */ /* 0x2B072AED: test edi, edi */ 33831 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 33832 _cf = 0; 33833 _flag_k = FK_TEST; 33834 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072B38; /* 0x2B072AEF: jbe 0x2b072b38 */ 33835 L_2B072AF1: 33836 ecx = MEM32(ebp + (-0x10)); /* 0x2B072AF1: mov ecx, dword ptr [ebp - 0x10] */ 33837 eax = MEM32(ecx + 0x8); /* 0x2B072AF4: mov eax, dword ptr [ecx + 8] */ 33838 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 33839 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 33840 eax = eax + edi; /* 0x2B072AF7: add eax, edi */ 33841 _flag_k = FK_ADD; 33842 PUSH32(esp, 0); /* 0x2B072AF9: push 0 */ 33843 PUSH32(esp, eax); /* 0x2B072AFB: push eax */ 33844 MEM32(ebp + (-0x14)) = eax; /* 0x2B072AFC: mov dword ptr [ebp - 0x14], eax */ 33845 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B072AFF: call dword ptr [0x2b0b5154] */ 33846 RECOMP_FLAGS_IN(); 33847 /* test LO8(eax), LO8(eax) */ /* 0x2B072B05: test al, al */ 33848 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 33849 _cf = 0; 33850 _flag_k = FK_NARROW(FK_TEST, 24); 33851 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072B38; /* 0x2B072B07: je 0x2b072b38 */ 33852 L_2B072B09: 33853 eax = MEM32(ebp + (-0x10)); /* 0x2B072B09: mov eax, dword ptr [ebp - 0x10] */ 33854 edx = MEM32(eax + 0x8); /* 0x2B072B0C: mov edx, dword ptr [eax + 8] */ 33855 ecx = edi; /* 0x2B072B0F: mov ecx, edi */ 33856 edi = MEM32(eax + 0x4); /* 0x2B072B11: mov edi, dword ptr [eax + 4] */ 33857 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 33858 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 33859 edi = edi + edx; /* 0x2B072B14: add edi, edx */ 33860 _flag_k = FK_ADD; 33861 edx = ecx; /* 0x2B072B16: mov edx, ecx */ 33862 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B072B18: shr ecx, 2 */ 33863 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 33864 ecx = ecx >> 2u; /* 0x2B072B18: shr ecx, 2 */ 33865 esi = 0x2B0EBEC8u; /* 0x2B072B1B: mov esi, 0x2b0ebec8 */ 33866 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B072B20: 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; } 33867 ecx = edx; /* 0x2B072B22: mov ecx, edx */ 33868 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 33869 ecx = ecx & 3; /* 0x2B072B24: and ecx, 3 */ 33870 _cf = 0; 33871 _flag_k = FK_TEST; 33872 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B072B27: 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; } 33873 ecx = MEM32(ebp + (-0x14)); /* 0x2B072B29: mov ecx, dword ptr [ebp - 0x14] */ 33874 PUSH32(esp, ecx); /* 0x2B072B2C: push ecx */ 33875 ecx = eax; /* 0x2B072B2D: mov ecx, eax */ 33876 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B072B2F: call dword ptr [0x2b0b5150] */ 33877 RECOMP_FLAGS_IN(); 33878 esi = MEM32(ebp + (-0x18)); /* 0x2B072B35: mov esi, dword ptr [ebp - 0x18] */ 33879 L_2B072B38: 33880 ecx = MEM32(ebx + 0x28); /* 0x2B072B38: mov ecx, dword ptr [ebx + 0x28] */ 33881 PUSH32(esp, 0x14u); /* 0x2B072B3B: push 0x14 */ 33882 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B072B3D: push -1 */ 33883 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B072B3F: call dword ptr [0x2b0b5a74] */ 33884 RECOMP_FLAGS_IN(); 33885 edx = MEM32(ebp + (-0x1C)); /* 0x2B072B45: mov edx, dword ptr [ebp - 0x1c] */ 33886 eax = MEM32(ebp + (-0x20)); /* 0x2B072B48: mov eax, dword ptr [ebp - 0x20] */ 33887 PUSH32(esp, edx); /* 0x2B072B4B: push edx */ 33888 PUSH32(esp, eax); /* 0x2B072B4C: push eax */ 33889 PUSH32(esp, esi); /* 0x2B072B4D: push esi */ 33890 PUSH32(esp, 0x2B0EBEA0u); /* 0x2B072B4E: push 0x2b0ebea0 */ 33891 PUSH32(esp, 0x2B0EEE84u); /* 0x2B072B53: push 0x2b0eee84 */ 33892 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B072B58: call dword ptr [0x2b0b51f0] */ 33893 RECOMP_FLAGS_IN(); 33894 esi = MEM32(ebx + 0x28); /* 0x2B072B5E: mov esi, dword ptr [ebx + 0x28] */ 33895 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 33896 ecx = ecx | 0xFFFFFFFFu; /* 0x2B072B61: or ecx, 0xffffffff */ 33897 _cf = 0; 33898 _flag_k = FK_TEST; 33899 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 33900 eax = 0; /* 0x2B072B64: xor eax, eax */ 33901 _cf = 0; 33902 _flag_k = FK_TEST; 33903 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 33904 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 33905 esp = esp + 0x14u; /* 0x2B072B66: add esp, 0x14 */ 33906 _flag_k = FK_ADD; 33907 edi = 0x2B0EEE84u; /* 0x2B072B69: mov edi, 0x2b0eee84 */ 33908 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; } /* 0x2B072B6E: repne scasb al, byte ptr es:[edi] */ 33909 ecx = ~ecx; /* 0x2B072B70: not ecx */ 33910 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 33911 ecx = ecx - 1; /* 0x2B072B72: dec ecx */ 33912 _flag_k = FK_DEC; 33913 edi = ecx; /* 0x2B072B73: mov edi, ecx */ 33914 ecx = MEM32(0x2B0B515C); /* 0x2B072B75: mov ecx, dword ptr [0x2b0b515c] */ 33915 edx = MEM32(ecx); /* 0x2B072B7B: mov edx, dword ptr [ecx] */ 33916 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 33917 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33918 edx = edx - MEM32(esi + 0x8); /* 0x2B072B7D: sub edx, dword ptr [esi + 8] */ 33919 _flag_k = FK_CMP; 33920 /* cmp edx, edi */ /* 0x2B072B80: cmp edx, edi */ 33921 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 33922 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33923 _flag_k = FK_CMP; 33924 MEM32(ebp + (-0x20)) = esi; /* 0x2B072B82: mov dword ptr [ebp - 0x20], esi */ 33925 if (CMP_A(_flag_a, _flag_b)) goto L_2B072B8D; /* 0x2B072B85: ja 0x2b072b8d */ 33926 L_2B072B87: 33927 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B072B87: call dword ptr [0x2b0b51a8] */ 33928 RECOMP_FLAGS_IN(); 33929 L_2B072B8D: 33930 /* test edi, edi */ /* 0x2B072B8D: test edi, edi */ 33931 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 33932 _cf = 0; 33933 _flag_k = FK_TEST; 33934 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072BD6; /* 0x2B072B8F: jbe 0x2b072bd6 */ 33935 L_2B072B91: 33936 edx = MEM32(esi + 0x8); /* 0x2B072B91: mov edx, dword ptr [esi + 8] */ 33937 eax = edi; /* 0x2B072B94: mov eax, edi */ 33938 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 33939 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 33940 eax = eax + edx; /* 0x2B072B96: add eax, edx */ 33941 _flag_k = FK_ADD; 33942 PUSH32(esp, 0); /* 0x2B072B98: push 0 */ 33943 PUSH32(esp, eax); /* 0x2B072B9A: push eax */ 33944 ecx = esi; /* 0x2B072B9B: mov ecx, esi */ 33945 MEM32(ebp + (-0x1C)) = eax; /* 0x2B072B9D: mov dword ptr [ebp - 0x1c], eax */ 33946 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B072BA0: call dword ptr [0x2b0b5154] */ 33947 RECOMP_FLAGS_IN(); 33948 /* test LO8(eax), LO8(eax) */ /* 0x2B072BA6: test al, al */ 33949 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 33950 _cf = 0; 33951 _flag_k = FK_NARROW(FK_TEST, 24); 33952 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072BD6; /* 0x2B072BA8: je 0x2b072bd6 */ 33953 L_2B072BAA: 33954 eax = MEM32(ebp + (-0x20)); /* 0x2B072BAA: mov eax, dword ptr [ebp - 0x20] */ 33955 edx = MEM32(eax + 0x8); /* 0x2B072BAD: mov edx, dword ptr [eax + 8] */ 33956 ecx = edi; /* 0x2B072BB0: mov ecx, edi */ 33957 edi = MEM32(eax + 0x4); /* 0x2B072BB2: mov edi, dword ptr [eax + 4] */ 33958 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 33959 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 33960 edi = edi + edx; /* 0x2B072BB5: add edi, edx */ 33961 _flag_k = FK_ADD; 33962 edx = ecx; /* 0x2B072BB7: mov edx, ecx */ 33963 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B072BB9: shr ecx, 2 */ 33964 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 33965 ecx = ecx >> 2u; /* 0x2B072BB9: shr ecx, 2 */ 33966 esi = 0x2B0EEE84u; /* 0x2B072BBC: mov esi, 0x2b0eee84 */ 33967 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B072BC1: 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; } 33968 ecx = edx; /* 0x2B072BC3: mov ecx, edx */ 33969 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 33970 ecx = ecx & 3; /* 0x2B072BC5: and ecx, 3 */ 33971 _cf = 0; 33972 _flag_k = FK_TEST; 33973 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B072BC8: 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; } 33974 ecx = MEM32(ebp + (-0x1C)); /* 0x2B072BCA: mov ecx, dword ptr [ebp - 0x1c] */ 33975 PUSH32(esp, ecx); /* 0x2B072BCD: push ecx */ 33976 ecx = eax; /* 0x2B072BCE: mov ecx, eax */ 33977 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B072BD0: call dword ptr [0x2b0b5150] */ 33978 RECOMP_FLAGS_IN(); 33979 L_2B072BD6: 33980 edx = MEM32(ebp + (-0x8)); /* 0x2B072BD6: mov edx, dword ptr [ebp - 8] */ 33981 eax = MEM32(edx); /* 0x2B072BD9: mov eax, dword ptr [edx] */ 33982 ecx = MEM32(ebp + (-0x24)); /* 0x2B072BDB: mov ecx, dword ptr [ebp - 0x24] */ 33983 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B072BDE: cmp eax, dword ptr [ecx + 4] */ 33984 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 33985 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33986 _flag_k = FK_CMP; 33987 MEM32(ebp + (-0x8)) = eax; /* 0x2B072BE1: mov dword ptr [ebp - 8], eax */ 33988 RECOMP_BACKEDGE(); 33989 if (CMP_NE(_flag_a, _flag_b)) goto L_2B072A20; /* 0x2B072BE4: jne 0x2b072a20 */ 33990 L_2B072BEA: 33991 edx = MEM32(ebp + 0x8); /* 0x2B072BEA: mov edx, dword ptr [ebp + 8] */ 33992 PUSH32(esp, edx); /* 0x2B072BED: push edx */ 33993 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B072BEE: call dword ptr [0x2b0b5d6c] */ 33994 RECOMP_FLAGS_IN(); 33995 ecx = eax; /* 0x2B072BF4: mov ecx, eax */ 33996 RECOMP_ICALL(MEM32(0x2B0B5CAC)); /* 0x2B072BF6: call dword ptr [0x2b0b5cac] */ 33997 RECOMP_FLAGS_IN(); 33998 /* test LO8(eax), LO8(eax) */ /* 0x2B072BFC: test al, al */ 33999 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 34000 _cf = 0; 34001 _flag_k = FK_NARROW(FK_TEST, 24); 34002 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072DF3; /* 0x2B072BFE: je 0x2b072df3 */ 34003 L_2B072C04: 34004 ecx = MEM32(ebx + 0x28); /* 0x2B072C04: mov ecx, dword ptr [ebx + 0x28] */ 34005 PUSH32(esp, 0x13u); /* 0x2B072C07: push 0x13 */ 34006 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B072C09: push -1 */ 34007 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B072C0B: call dword ptr [0x2b0b5a74] */ 34008 RECOMP_FLAGS_IN(); 34009 esi = MEM32(ebx + 0x28); /* 0x2B072C11: mov esi, dword ptr [ebx + 0x28] */ 34010 edx = MEM32(esi + 0x8); /* 0x2B072C14: mov edx, dword ptr [esi + 8] */ 34011 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 34012 ecx = ecx | 0xFFFFFFFFu; /* 0x2B072C17: or ecx, 0xffffffff */ 34013 _cf = 0; 34014 _flag_k = FK_TEST; 34015 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 34016 eax = 0; /* 0x2B072C1A: xor eax, eax */ 34017 _cf = 0; 34018 _flag_k = FK_TEST; 34019 edi = 0x2B0EBE88u; /* 0x2B072C1C: mov edi, 0x2b0ebe88 */ 34020 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; } /* 0x2B072C21: repne scasb al, byte ptr es:[edi] */ 34021 eax = MEM32(0x2B0B515C); /* 0x2B072C23: mov eax, dword ptr [0x2b0b515c] */ 34022 ecx = ~ecx; /* 0x2B072C28: not ecx */ 34023 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 34024 ecx = ecx - 1; /* 0x2B072C2A: dec ecx */ 34025 _flag_k = FK_DEC; 34026 edi = ecx; /* 0x2B072C2B: mov edi, ecx */ 34027 ecx = MEM32(eax); /* 0x2B072C2D: mov ecx, dword ptr [eax] */ 34028 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 34029 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34030 ecx = ecx - edx; /* 0x2B072C2F: sub ecx, edx */ 34031 _flag_k = FK_CMP; 34032 /* cmp ecx, edi */ /* 0x2B072C31: cmp ecx, edi */ 34033 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 34034 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34035 _flag_k = FK_CMP; 34036 MEM32(ebp + (-0x24)) = esi; /* 0x2B072C33: mov dword ptr [ebp - 0x24], esi */ 34037 if (CMP_A(_flag_a, _flag_b)) goto L_2B072C3E; /* 0x2B072C36: ja 0x2b072c3e */ 34038 L_2B072C38: 34039 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B072C38: call dword ptr [0x2b0b51a8] */ 34040 RECOMP_FLAGS_IN(); 34041 L_2B072C3E: 34042 /* test edi, edi */ /* 0x2B072C3E: test edi, edi */ 34043 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 34044 _cf = 0; 34045 _flag_k = FK_TEST; 34046 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072C87; /* 0x2B072C40: jbe 0x2b072c87 */ 34047 L_2B072C42: 34048 edx = MEM32(esi + 0x8); /* 0x2B072C42: mov edx, dword ptr [esi + 8] */ 34049 eax = edi; /* 0x2B072C45: mov eax, edi */ 34050 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 34051 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34052 eax = eax + edx; /* 0x2B072C47: add eax, edx */ 34053 _flag_k = FK_ADD; 34054 PUSH32(esp, 0); /* 0x2B072C49: push 0 */ 34055 PUSH32(esp, eax); /* 0x2B072C4B: push eax */ 34056 ecx = esi; /* 0x2B072C4C: mov ecx, esi */ 34057 MEM32(ebp + (-0x20)) = eax; /* 0x2B072C4E: mov dword ptr [ebp - 0x20], eax */ 34058 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B072C51: call dword ptr [0x2b0b5154] */ 34059 RECOMP_FLAGS_IN(); 34060 /* test LO8(eax), LO8(eax) */ /* 0x2B072C57: test al, al */ 34061 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 34062 _cf = 0; 34063 _flag_k = FK_NARROW(FK_TEST, 24); 34064 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072C87; /* 0x2B072C59: je 0x2b072c87 */ 34065 L_2B072C5B: 34066 eax = MEM32(ebp + (-0x24)); /* 0x2B072C5B: mov eax, dword ptr [ebp - 0x24] */ 34067 edx = MEM32(eax + 0x8); /* 0x2B072C5E: mov edx, dword ptr [eax + 8] */ 34068 ecx = edi; /* 0x2B072C61: mov ecx, edi */ 34069 edi = MEM32(eax + 0x4); /* 0x2B072C63: mov edi, dword ptr [eax + 4] */ 34070 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 34071 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34072 edi = edi + edx; /* 0x2B072C66: add edi, edx */ 34073 _flag_k = FK_ADD; 34074 edx = ecx; /* 0x2B072C68: mov edx, ecx */ 34075 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B072C6A: shr ecx, 2 */ 34076 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 34077 ecx = ecx >> 2u; /* 0x2B072C6A: shr ecx, 2 */ 34078 esi = 0x2B0EBE88u; /* 0x2B072C6D: mov esi, 0x2b0ebe88 */ 34079 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B072C72: 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; } 34080 ecx = edx; /* 0x2B072C74: mov ecx, edx */ 34081 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 34082 ecx = ecx & 3; /* 0x2B072C76: and ecx, 3 */ 34083 _cf = 0; 34084 _flag_k = FK_TEST; 34085 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B072C79: 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; } 34086 ecx = MEM32(ebp + (-0x20)); /* 0x2B072C7B: mov ecx, dword ptr [ebp - 0x20] */ 34087 PUSH32(esp, ecx); /* 0x2B072C7E: push ecx */ 34088 ecx = eax; /* 0x2B072C7F: mov ecx, eax */ 34089 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B072C81: call dword ptr [0x2b0b5150] */ 34090 RECOMP_FLAGS_IN(); 34091 L_2B072C87: 34092 ecx = MEM32(ebx + 0x28); /* 0x2B072C87: mov ecx, dword ptr [ebx + 0x28] */ 34093 PUSH32(esp, 0x14u); /* 0x2B072C8A: push 0x14 */ 34094 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B072C8C: push -1 */ 34095 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B072C8E: call dword ptr [0x2b0b5a74] */ 34096 RECOMP_FLAGS_IN(); 34097 edx = MEM32(0x2B0B515C); /* 0x2B072C94: mov edx, dword ptr [0x2b0b515c] */ 34098 esi = MEM32(ebx + 0x28); /* 0x2B072C9A: mov esi, dword ptr [ebx + 0x28] */ 34099 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 34100 eax = 0; /* 0x2B072C9D: xor eax, eax */ 34101 _cf = 0; 34102 _flag_k = FK_TEST; 34103 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 34104 ecx = ecx | 0xFFFFFFFFu; /* 0x2B072C9F: or ecx, 0xffffffff */ 34105 _cf = 0; 34106 _flag_k = FK_TEST; 34107 edi = 0x2B0EBE20u; /* 0x2B072CA2: mov edi, 0x2b0ebe20 */ 34108 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; } /* 0x2B072CA7: repne scasb al, byte ptr es:[edi] */ 34109 eax = MEM32(edx); /* 0x2B072CA9: mov eax, dword ptr [edx] */ 34110 edx = MEM32(esi + 0x8); /* 0x2B072CAB: mov edx, dword ptr [esi + 8] */ 34111 ecx = ~ecx; /* 0x2B072CAE: not ecx */ 34112 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 34113 ecx = ecx - 1; /* 0x2B072CB0: dec ecx */ 34114 _flag_k = FK_DEC; 34115 edi = ecx; /* 0x2B072CB1: mov edi, ecx */ 34116 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 34117 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34118 eax = eax - edx; /* 0x2B072CB3: sub eax, edx */ 34119 _flag_k = FK_CMP; 34120 /* cmp eax, edi */ /* 0x2B072CB5: cmp eax, edi */ 34121 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 34122 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34123 _flag_k = FK_CMP; 34124 MEM32(ebp + (-0x24)) = esi; /* 0x2B072CB7: mov dword ptr [ebp - 0x24], esi */ 34125 if (CMP_A(_flag_a, _flag_b)) goto L_2B072CC2; /* 0x2B072CBA: ja 0x2b072cc2 */ 34126 L_2B072CBC: 34127 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B072CBC: call dword ptr [0x2b0b51a8] */ 34128 RECOMP_FLAGS_IN(); 34129 L_2B072CC2: 34130 /* test edi, edi */ /* 0x2B072CC2: test edi, edi */ 34131 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 34132 _cf = 0; 34133 _flag_k = FK_TEST; 34134 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072D09; /* 0x2B072CC4: jbe 0x2b072d09 */ 34135 L_2B072CC6: 34136 eax = MEM32(esi + 0x8); /* 0x2B072CC6: mov eax, dword ptr [esi + 8] */ 34137 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 34138 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34139 eax = eax + edi; /* 0x2B072CC9: add eax, edi */ 34140 _flag_k = FK_ADD; 34141 PUSH32(esp, 0); /* 0x2B072CCB: push 0 */ 34142 PUSH32(esp, eax); /* 0x2B072CCD: push eax */ 34143 ecx = esi; /* 0x2B072CCE: mov ecx, esi */ 34144 MEM32(ebp + (-0x20)) = eax; /* 0x2B072CD0: mov dword ptr [ebp - 0x20], eax */ 34145 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B072CD3: call dword ptr [0x2b0b5154] */ 34146 RECOMP_FLAGS_IN(); 34147 /* test LO8(eax), LO8(eax) */ /* 0x2B072CD9: test al, al */ 34148 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 34149 _cf = 0; 34150 _flag_k = FK_NARROW(FK_TEST, 24); 34151 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072D09; /* 0x2B072CDB: je 0x2b072d09 */ 34152 L_2B072CDD: 34153 eax = MEM32(ebp + (-0x24)); /* 0x2B072CDD: mov eax, dword ptr [ebp - 0x24] */ 34154 edx = MEM32(eax + 0x8); /* 0x2B072CE0: mov edx, dword ptr [eax + 8] */ 34155 ecx = edi; /* 0x2B072CE3: mov ecx, edi */ 34156 edi = MEM32(eax + 0x4); /* 0x2B072CE5: mov edi, dword ptr [eax + 4] */ 34157 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 34158 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34159 edi = edi + edx; /* 0x2B072CE8: add edi, edx */ 34160 _flag_k = FK_ADD; 34161 edx = ecx; /* 0x2B072CEA: mov edx, ecx */ 34162 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B072CEC: shr ecx, 2 */ 34163 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 34164 ecx = ecx >> 2u; /* 0x2B072CEC: shr ecx, 2 */ 34165 esi = 0x2B0EBE20u; /* 0x2B072CEF: mov esi, 0x2b0ebe20 */ 34166 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B072CF4: 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; } 34167 ecx = edx; /* 0x2B072CF6: mov ecx, edx */ 34168 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 34169 ecx = ecx & 3; /* 0x2B072CF8: and ecx, 3 */ 34170 _cf = 0; 34171 _flag_k = FK_TEST; 34172 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B072CFB: 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; } 34173 ecx = MEM32(ebp + (-0x20)); /* 0x2B072CFD: mov ecx, dword ptr [ebp - 0x20] */ 34174 PUSH32(esp, ecx); /* 0x2B072D00: push ecx */ 34175 ecx = eax; /* 0x2B072D01: mov ecx, eax */ 34176 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B072D03: call dword ptr [0x2b0b5150] */ 34177 RECOMP_FLAGS_IN(); 34178 L_2B072D09: 34179 edx = MEM32(0x2B0B515C); /* 0x2B072D09: mov edx, dword ptr [0x2b0b515c] */ 34180 esi = MEM32(ebx + 0x28); /* 0x2B072D0F: mov esi, dword ptr [ebx + 0x28] */ 34181 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 34182 eax = 0; /* 0x2B072D12: xor eax, eax */ 34183 _cf = 0; 34184 _flag_k = FK_TEST; 34185 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 34186 ecx = ecx | 0xFFFFFFFFu; /* 0x2B072D14: or ecx, 0xffffffff */ 34187 _cf = 0; 34188 _flag_k = FK_TEST; 34189 edi = 0x2B0EBCD8u; /* 0x2B072D17: mov edi, 0x2b0ebcd8 */ 34190 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; } /* 0x2B072D1C: repne scasb al, byte ptr es:[edi] */ 34191 eax = MEM32(edx); /* 0x2B072D1E: mov eax, dword ptr [edx] */ 34192 edx = MEM32(esi + 0x8); /* 0x2B072D20: mov edx, dword ptr [esi + 8] */ 34193 ecx = ~ecx; /* 0x2B072D23: not ecx */ 34194 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 34195 ecx = ecx - 1; /* 0x2B072D25: dec ecx */ 34196 _flag_k = FK_DEC; 34197 edi = ecx; /* 0x2B072D26: mov edi, ecx */ 34198 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 34199 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34200 eax = eax - edx; /* 0x2B072D28: sub eax, edx */ 34201 _flag_k = FK_CMP; 34202 /* cmp eax, edi */ /* 0x2B072D2A: cmp eax, edi */ 34203 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 34204 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34205 _flag_k = FK_CMP; 34206 MEM32(ebp + (-0x24)) = esi; /* 0x2B072D2C: mov dword ptr [ebp - 0x24], esi */ 34207 if (CMP_A(_flag_a, _flag_b)) goto L_2B072D37; /* 0x2B072D2F: ja 0x2b072d37 */ 34208 L_2B072D31: 34209 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B072D31: call dword ptr [0x2b0b51a8] */ 34210 RECOMP_FLAGS_IN(); 34211 L_2B072D37: 34212 /* test edi, edi */ /* 0x2B072D37: test edi, edi */ 34213 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 34214 _cf = 0; 34215 _flag_k = FK_TEST; 34216 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072D7E; /* 0x2B072D39: jbe 0x2b072d7e */ 34217 L_2B072D3B: 34218 eax = MEM32(esi + 0x8); /* 0x2B072D3B: mov eax, dword ptr [esi + 8] */ 34219 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 34220 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34221 eax = eax + edi; /* 0x2B072D3E: add eax, edi */ 34222 _flag_k = FK_ADD; 34223 PUSH32(esp, 0); /* 0x2B072D40: push 0 */ 34224 PUSH32(esp, eax); /* 0x2B072D42: push eax */ 34225 ecx = esi; /* 0x2B072D43: mov ecx, esi */ 34226 MEM32(ebp + (-0x20)) = eax; /* 0x2B072D45: mov dword ptr [ebp - 0x20], eax */ 34227 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B072D48: call dword ptr [0x2b0b5154] */ 34228 RECOMP_FLAGS_IN(); 34229 /* test LO8(eax), LO8(eax) */ /* 0x2B072D4E: test al, al */ 34230 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 34231 _cf = 0; 34232 _flag_k = FK_NARROW(FK_TEST, 24); 34233 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072D7E; /* 0x2B072D50: je 0x2b072d7e */ 34234 L_2B072D52: 34235 eax = MEM32(ebp + (-0x24)); /* 0x2B072D52: mov eax, dword ptr [ebp - 0x24] */ 34236 edx = MEM32(eax + 0x8); /* 0x2B072D55: mov edx, dword ptr [eax + 8] */ 34237 ecx = edi; /* 0x2B072D58: mov ecx, edi */ 34238 edi = MEM32(eax + 0x4); /* 0x2B072D5A: mov edi, dword ptr [eax + 4] */ 34239 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 34240 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34241 edi = edi + edx; /* 0x2B072D5D: add edi, edx */ 34242 _flag_k = FK_ADD; 34243 edx = ecx; /* 0x2B072D5F: mov edx, ecx */ 34244 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B072D61: shr ecx, 2 */ 34245 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 34246 ecx = ecx >> 2u; /* 0x2B072D61: shr ecx, 2 */ 34247 esi = 0x2B0EBCD8u; /* 0x2B072D64: mov esi, 0x2b0ebcd8 */ 34248 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B072D69: 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; } 34249 ecx = edx; /* 0x2B072D6B: mov ecx, edx */ 34250 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 34251 ecx = ecx & 3; /* 0x2B072D6D: and ecx, 3 */ 34252 _cf = 0; 34253 _flag_k = FK_TEST; 34254 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B072D70: 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; } 34255 ecx = MEM32(ebp + (-0x20)); /* 0x2B072D72: mov ecx, dword ptr [ebp - 0x20] */ 34256 PUSH32(esp, ecx); /* 0x2B072D75: push ecx */ 34257 ecx = eax; /* 0x2B072D76: mov ecx, eax */ 34258 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B072D78: call dword ptr [0x2b0b5150] */ 34259 RECOMP_FLAGS_IN(); 34260 L_2B072D7E: 34261 edx = MEM32(0x2B0B515C); /* 0x2B072D7E: mov edx, dword ptr [0x2b0b515c] */ 34262 esi = MEM32(ebx + 0x28); /* 0x2B072D84: mov esi, dword ptr [ebx + 0x28] */ 34263 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 34264 eax = 0; /* 0x2B072D87: xor eax, eax */ 34265 _cf = 0; 34266 _flag_k = FK_TEST; 34267 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 34268 ecx = ecx | 0xFFFFFFFFu; /* 0x2B072D89: or ecx, 0xffffffff */ 34269 _cf = 0; 34270 _flag_k = FK_TEST; 34271 edi = 0x2B0EBC40u; /* 0x2B072D8C: mov edi, 0x2b0ebc40 */ 34272 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; } /* 0x2B072D91: repne scasb al, byte ptr es:[edi] */ 34273 eax = MEM32(edx); /* 0x2B072D93: mov eax, dword ptr [edx] */ 34274 edx = MEM32(esi + 0x8); /* 0x2B072D95: mov edx, dword ptr [esi + 8] */ 34275 ecx = ~ecx; /* 0x2B072D98: not ecx */ 34276 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 34277 ecx = ecx - 1; /* 0x2B072D9A: dec ecx */ 34278 _flag_k = FK_DEC; 34279 edi = ecx; /* 0x2B072D9B: mov edi, ecx */ 34280 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 34281 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34282 eax = eax - edx; /* 0x2B072D9D: sub eax, edx */ 34283 _flag_k = FK_CMP; 34284 /* cmp eax, edi */ /* 0x2B072D9F: cmp eax, edi */ 34285 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 34286 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34287 _flag_k = FK_CMP; 34288 MEM32(ebp + (-0x24)) = esi; /* 0x2B072DA1: mov dword ptr [ebp - 0x24], esi */ 34289 if (CMP_A(_flag_a, _flag_b)) goto L_2B072DAC; /* 0x2B072DA4: ja 0x2b072dac */ 34290 L_2B072DA6: 34291 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B072DA6: call dword ptr [0x2b0b51a8] */ 34292 RECOMP_FLAGS_IN(); 34293 L_2B072DAC: 34294 /* test edi, edi */ /* 0x2B072DAC: test edi, edi */ 34295 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 34296 _cf = 0; 34297 _flag_k = FK_TEST; 34298 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072DF3; /* 0x2B072DAE: jbe 0x2b072df3 */ 34299 L_2B072DB0: 34300 eax = MEM32(esi + 0x8); /* 0x2B072DB0: mov eax, dword ptr [esi + 8] */ 34301 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 34302 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34303 eax = eax + edi; /* 0x2B072DB3: add eax, edi */ 34304 _flag_k = FK_ADD; 34305 PUSH32(esp, 0); /* 0x2B072DB5: push 0 */ 34306 PUSH32(esp, eax); /* 0x2B072DB7: push eax */ 34307 ecx = esi; /* 0x2B072DB8: mov ecx, esi */ 34308 MEM32(ebp + (-0x20)) = eax; /* 0x2B072DBA: mov dword ptr [ebp - 0x20], eax */ 34309 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B072DBD: call dword ptr [0x2b0b5154] */ 34310 RECOMP_FLAGS_IN(); 34311 /* test LO8(eax), LO8(eax) */ /* 0x2B072DC3: test al, al */ 34312 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 34313 _cf = 0; 34314 _flag_k = FK_NARROW(FK_TEST, 24); 34315 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072DF3; /* 0x2B072DC5: je 0x2b072df3 */ 34316 L_2B072DC7: 34317 eax = MEM32(ebp + (-0x24)); /* 0x2B072DC7: mov eax, dword ptr [ebp - 0x24] */ 34318 edx = MEM32(eax + 0x8); /* 0x2B072DCA: mov edx, dword ptr [eax + 8] */ 34319 ecx = edi; /* 0x2B072DCD: mov ecx, edi */ 34320 edi = MEM32(eax + 0x4); /* 0x2B072DCF: mov edi, dword ptr [eax + 4] */ 34321 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 34322 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34323 edi = edi + edx; /* 0x2B072DD2: add edi, edx */ 34324 _flag_k = FK_ADD; 34325 edx = ecx; /* 0x2B072DD4: mov edx, ecx */ 34326 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B072DD6: shr ecx, 2 */ 34327 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 34328 ecx = ecx >> 2u; /* 0x2B072DD6: shr ecx, 2 */ 34329 esi = 0x2B0EBC40u; /* 0x2B072DD9: mov esi, 0x2b0ebc40 */ 34330 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B072DDE: 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; } 34331 ecx = edx; /* 0x2B072DE0: mov ecx, edx */ 34332 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 34333 ecx = ecx & 3; /* 0x2B072DE2: and ecx, 3 */ 34334 _cf = 0; 34335 _flag_k = FK_TEST; 34336 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B072DE5: 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; } 34337 ecx = MEM32(ebp + (-0x20)); /* 0x2B072DE7: mov ecx, dword ptr [ebp - 0x20] */ 34338 PUSH32(esp, ecx); /* 0x2B072DEA: push ecx */ 34339 ecx = eax; /* 0x2B072DEB: mov ecx, eax */ 34340 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B072DED: call dword ptr [0x2b0b5150] */ 34341 RECOMP_FLAGS_IN(); 34342 L_2B072DF3: 34343 ecx = MEM32(ebx + 0x28); /* 0x2B072DF3: mov ecx, dword ptr [ebx + 0x28] */ 34344 PUSH32(esp, 0x13u); /* 0x2B072DF6: push 0x13 */ 34345 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B072DF8: push -1 */ 34346 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B072DFA: call dword ptr [0x2b0b5a74] */ 34347 RECOMP_FLAGS_IN(); 34348 edx = MEM32(0x2B0B515C); /* 0x2B072E00: mov edx, dword ptr [0x2b0b515c] */ 34349 esi = MEM32(ebx + 0x28); /* 0x2B072E06: mov esi, dword ptr [ebx + 0x28] */ 34350 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 34351 eax = 0; /* 0x2B072E09: xor eax, eax */ 34352 _cf = 0; 34353 _flag_k = FK_TEST; 34354 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 34355 ecx = ecx | 0xFFFFFFFFu; /* 0x2B072E0B: or ecx, 0xffffffff */ 34356 _cf = 0; 34357 _flag_k = FK_TEST; 34358 edi = 0x2B0EBC34u; /* 0x2B072E0E: mov edi, 0x2b0ebc34 */ 34359 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; } /* 0x2B072E13: repne scasb al, byte ptr es:[edi] */ 34360 eax = MEM32(edx); /* 0x2B072E15: mov eax, dword ptr [edx] */ 34361 edx = MEM32(esi + 0x8); /* 0x2B072E17: mov edx, dword ptr [esi + 8] */ 34362 ecx = ~ecx; /* 0x2B072E1A: not ecx */ 34363 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 34364 ecx = ecx - 1; /* 0x2B072E1C: dec ecx */ 34365 _flag_k = FK_DEC; 34366 edi = ecx; /* 0x2B072E1D: mov edi, ecx */ 34367 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 34368 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34369 eax = eax - edx; /* 0x2B072E1F: sub eax, edx */ 34370 _flag_k = FK_CMP; 34371 /* cmp eax, edi */ /* 0x2B072E21: cmp eax, edi */ 34372 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 34373 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34374 _flag_k = FK_CMP; 34375 MEM32(ebp + (-0x24)) = esi; /* 0x2B072E23: mov dword ptr [ebp - 0x24], esi */ 34376 if (CMP_A(_flag_a, _flag_b)) goto L_2B072E2E; /* 0x2B072E26: ja 0x2b072e2e */ 34377 L_2B072E28: 34378 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B072E28: call dword ptr [0x2b0b51a8] */ 34379 RECOMP_FLAGS_IN(); 34380 L_2B072E2E: 34381 /* test edi, edi */ /* 0x2B072E2E: test edi, edi */ 34382 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 34383 _cf = 0; 34384 _flag_k = FK_TEST; 34385 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072E75; /* 0x2B072E30: jbe 0x2b072e75 */ 34386 L_2B072E32: 34387 eax = MEM32(esi + 0x8); /* 0x2B072E32: mov eax, dword ptr [esi + 8] */ 34388 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 34389 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34390 eax = eax + edi; /* 0x2B072E35: add eax, edi */ 34391 _flag_k = FK_ADD; 34392 PUSH32(esp, 0); /* 0x2B072E37: push 0 */ 34393 PUSH32(esp, eax); /* 0x2B072E39: push eax */ 34394 ecx = esi; /* 0x2B072E3A: mov ecx, esi */ 34395 MEM32(ebp + (-0x20)) = eax; /* 0x2B072E3C: mov dword ptr [ebp - 0x20], eax */ 34396 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B072E3F: call dword ptr [0x2b0b5154] */ 34397 RECOMP_FLAGS_IN(); 34398 /* test LO8(eax), LO8(eax) */ /* 0x2B072E45: test al, al */ 34399 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 34400 _cf = 0; 34401 _flag_k = FK_NARROW(FK_TEST, 24); 34402 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072E75; /* 0x2B072E47: je 0x2b072e75 */ 34403 L_2B072E49: 34404 eax = MEM32(ebp + (-0x24)); /* 0x2B072E49: mov eax, dword ptr [ebp - 0x24] */ 34405 edx = MEM32(eax + 0x8); /* 0x2B072E4C: mov edx, dword ptr [eax + 8] */ 34406 ecx = edi; /* 0x2B072E4F: mov ecx, edi */ 34407 edi = MEM32(eax + 0x4); /* 0x2B072E51: mov edi, dword ptr [eax + 4] */ 34408 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 34409 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34410 edi = edi + edx; /* 0x2B072E54: add edi, edx */ 34411 _flag_k = FK_ADD; 34412 edx = ecx; /* 0x2B072E56: mov edx, ecx */ 34413 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B072E58: shr ecx, 2 */ 34414 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 34415 ecx = ecx >> 2u; /* 0x2B072E58: shr ecx, 2 */ 34416 esi = 0x2B0EBC34u; /* 0x2B072E5B: mov esi, 0x2b0ebc34 */ 34417 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B072E60: 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; } 34418 ecx = edx; /* 0x2B072E62: mov ecx, edx */ 34419 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 34420 ecx = ecx & 3; /* 0x2B072E64: and ecx, 3 */ 34421 _cf = 0; 34422 _flag_k = FK_TEST; 34423 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B072E67: 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; } 34424 ecx = MEM32(ebp + (-0x20)); /* 0x2B072E69: mov ecx, dword ptr [ebp - 0x20] */ 34425 PUSH32(esp, ecx); /* 0x2B072E6C: push ecx */ 34426 ecx = eax; /* 0x2B072E6D: mov ecx, eax */ 34427 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B072E6F: call dword ptr [0x2b0b5150] */ 34428 RECOMP_FLAGS_IN(); 34429 L_2B072E75: 34430 edx = MEM32(ebp + 0x8); /* 0x2B072E75: mov edx, dword ptr [ebp + 8] */ 34431 PUSH32(esp, edx); /* 0x2B072E78: push edx */ 34432 MEM8(ebp + (-0x1)) = (uint8_t)(0); /* 0x2B072E79: mov byte ptr [ebp - 1], 0 */ 34433 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B072E7D: call dword ptr [0x2b0b5d6c] */ 34434 RECOMP_FLAGS_IN(); 34435 ecx = eax; /* 0x2B072E83: mov ecx, eax */ 34436 RECOMP_ICALL(MEM32(0x2B0B5CCC)); /* 0x2B072E85: call dword ptr [0x2b0b5ccc] */ 34437 RECOMP_FLAGS_IN(); 34438 /* test eax, eax */ /* 0x2B072E8B: test eax, eax */ 34439 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 34440 _cf = 0; 34441 _flag_k = FK_TEST; 34442 MEM32(ebp + (-0x1C)) = eax; /* 0x2B072E8D: mov dword ptr [ebp - 0x1c], eax */ 34443 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072FB3; /* 0x2B072E90: je 0x2b072fb3 */ 34444 L_2B072E96: 34445 ecx = MEM32(ebx + 0x28); /* 0x2B072E96: mov ecx, dword ptr [ebx + 0x28] */ 34446 PUSH32(esp, 0x13u); /* 0x2B072E99: push 0x13 */ 34447 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B072E9B: push -1 */ 34448 MEM8(ebp + (-0x1)) = (uint8_t)(1); /* 0x2B072E9D: mov byte ptr [ebp - 1], 1 */ 34449 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B072EA1: call dword ptr [0x2b0b5a74] */ 34450 RECOMP_FLAGS_IN(); 34451 esi = MEM32(ebx + 0x28); /* 0x2B072EA7: mov esi, dword ptr [ebx + 0x28] */ 34452 edx = MEM32(esi + 0x8); /* 0x2B072EAA: mov edx, dword ptr [esi + 8] */ 34453 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 34454 ecx = ecx | 0xFFFFFFFFu; /* 0x2B072EAD: or ecx, 0xffffffff */ 34455 _cf = 0; 34456 _flag_k = FK_TEST; 34457 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 34458 eax = 0; /* 0x2B072EB0: xor eax, eax */ 34459 _cf = 0; 34460 _flag_k = FK_TEST; 34461 edi = 0x2B0EBC2Cu; /* 0x2B072EB2: mov edi, 0x2b0ebc2c */ 34462 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; } /* 0x2B072EB7: repne scasb al, byte ptr es:[edi] */ 34463 eax = MEM32(0x2B0B515C); /* 0x2B072EB9: mov eax, dword ptr [0x2b0b515c] */ 34464 ecx = ~ecx; /* 0x2B072EBE: not ecx */ 34465 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 34466 ecx = ecx - 1; /* 0x2B072EC0: dec ecx */ 34467 _flag_k = FK_DEC; 34468 edi = ecx; /* 0x2B072EC1: mov edi, ecx */ 34469 ecx = MEM32(eax); /* 0x2B072EC3: mov ecx, dword ptr [eax] */ 34470 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 34471 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34472 ecx = ecx - edx; /* 0x2B072EC5: sub ecx, edx */ 34473 _flag_k = FK_CMP; 34474 /* cmp ecx, edi */ /* 0x2B072EC7: cmp ecx, edi */ 34475 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 34476 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34477 _flag_k = FK_CMP; 34478 MEM32(ebp + (-0x24)) = esi; /* 0x2B072EC9: mov dword ptr [ebp - 0x24], esi */ 34479 if (CMP_A(_flag_a, _flag_b)) goto L_2B072ED4; /* 0x2B072ECC: ja 0x2b072ed4 */ 34480 L_2B072ECE: 34481 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B072ECE: call dword ptr [0x2b0b51a8] */ 34482 RECOMP_FLAGS_IN(); 34483 L_2B072ED4: 34484 /* test edi, edi */ /* 0x2B072ED4: test edi, edi */ 34485 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 34486 _cf = 0; 34487 _flag_k = FK_TEST; 34488 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072F1B; /* 0x2B072ED6: jbe 0x2b072f1b */ 34489 L_2B072ED8: 34490 eax = MEM32(esi + 0x8); /* 0x2B072ED8: mov eax, dword ptr [esi + 8] */ 34491 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 34492 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34493 eax = eax + edi; /* 0x2B072EDB: add eax, edi */ 34494 _flag_k = FK_ADD; 34495 PUSH32(esp, 0); /* 0x2B072EDD: push 0 */ 34496 PUSH32(esp, eax); /* 0x2B072EDF: push eax */ 34497 ecx = esi; /* 0x2B072EE0: mov ecx, esi */ 34498 MEM32(ebp + (-0x20)) = eax; /* 0x2B072EE2: mov dword ptr [ebp - 0x20], eax */ 34499 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B072EE5: call dword ptr [0x2b0b5154] */ 34500 RECOMP_FLAGS_IN(); 34501 /* test LO8(eax), LO8(eax) */ /* 0x2B072EEB: test al, al */ 34502 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 34503 _cf = 0; 34504 _flag_k = FK_NARROW(FK_TEST, 24); 34505 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072F1B; /* 0x2B072EED: je 0x2b072f1b */ 34506 L_2B072EEF: 34507 eax = MEM32(ebp + (-0x24)); /* 0x2B072EEF: mov eax, dword ptr [ebp - 0x24] */ 34508 edx = MEM32(eax + 0x8); /* 0x2B072EF2: mov edx, dword ptr [eax + 8] */ 34509 ecx = edi; /* 0x2B072EF5: mov ecx, edi */ 34510 edi = MEM32(eax + 0x4); /* 0x2B072EF7: mov edi, dword ptr [eax + 4] */ 34511 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 34512 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34513 edi = edi + edx; /* 0x2B072EFA: add edi, edx */ 34514 _flag_k = FK_ADD; 34515 edx = ecx; /* 0x2B072EFC: mov edx, ecx */ 34516 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B072EFE: shr ecx, 2 */ 34517 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 34518 ecx = ecx >> 2u; /* 0x2B072EFE: shr ecx, 2 */ 34519 esi = 0x2B0EBC2Cu; /* 0x2B072F01: mov esi, 0x2b0ebc2c */ 34520 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B072F06: 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; } 34521 ecx = edx; /* 0x2B072F08: mov ecx, edx */ 34522 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 34523 ecx = ecx & 3; /* 0x2B072F0A: and ecx, 3 */ 34524 _cf = 0; 34525 _flag_k = FK_TEST; 34526 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B072F0D: 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; } 34527 ecx = MEM32(ebp + (-0x20)); /* 0x2B072F0F: mov ecx, dword ptr [ebp - 0x20] */ 34528 PUSH32(esp, ecx); /* 0x2B072F12: push ecx */ 34529 ecx = eax; /* 0x2B072F13: mov ecx, eax */ 34530 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B072F15: call dword ptr [0x2b0b5150] */ 34531 RECOMP_FLAGS_IN(); 34532 L_2B072F1B: 34533 ecx = MEM32(ebx + 0x28); /* 0x2B072F1B: mov ecx, dword ptr [ebx + 0x28] */ 34534 PUSH32(esp, 0x14u); /* 0x2B072F1E: push 0x14 */ 34535 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B072F20: push -1 */ 34536 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B072F22: call dword ptr [0x2b0b5a74] */ 34537 RECOMP_FLAGS_IN(); 34538 edx = MEM32(ebp + (-0x1C)); /* 0x2B072F28: mov edx, dword ptr [ebp - 0x1c] */ 34539 PUSH32(esp, edx); /* 0x2B072F2B: push edx */ 34540 PUSH32(esp, 0x2B0EBC1Cu); /* 0x2B072F2C: push 0x2b0ebc1c */ 34541 PUSH32(esp, 0x2B0EEE84u); /* 0x2B072F31: push 0x2b0eee84 */ 34542 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B072F36: call dword ptr [0x2b0b51f0] */ 34543 RECOMP_FLAGS_IN(); 34544 esi = MEM32(ebx + 0x28); /* 0x2B072F3C: mov esi, dword ptr [ebx + 0x28] */ 34545 edx = MEM32(esi + 0x8); /* 0x2B072F3F: mov edx, dword ptr [esi + 8] */ 34546 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 34547 ecx = ecx | 0xFFFFFFFFu; /* 0x2B072F42: or ecx, 0xffffffff */ 34548 _cf = 0; 34549 _flag_k = FK_TEST; 34550 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 34551 eax = 0; /* 0x2B072F45: xor eax, eax */ 34552 _cf = 0; 34553 _flag_k = FK_TEST; 34554 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 34555 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34556 esp = esp + 0xCu; /* 0x2B072F47: add esp, 0xc */ 34557 _flag_k = FK_ADD; 34558 edi = 0x2B0EEE84u; /* 0x2B072F4A: mov edi, 0x2b0eee84 */ 34559 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; } /* 0x2B072F4F: repne scasb al, byte ptr es:[edi] */ 34560 eax = MEM32(0x2B0B515C); /* 0x2B072F51: mov eax, dword ptr [0x2b0b515c] */ 34561 ecx = ~ecx; /* 0x2B072F56: not ecx */ 34562 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 34563 ecx = ecx - 1; /* 0x2B072F58: dec ecx */ 34564 _flag_k = FK_DEC; 34565 edi = ecx; /* 0x2B072F59: mov edi, ecx */ 34566 ecx = MEM32(eax); /* 0x2B072F5B: mov ecx, dword ptr [eax] */ 34567 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 34568 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34569 ecx = ecx - edx; /* 0x2B072F5D: sub ecx, edx */ 34570 _flag_k = FK_CMP; 34571 /* cmp ecx, edi */ /* 0x2B072F5F: cmp ecx, edi */ 34572 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 34573 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34574 _flag_k = FK_CMP; 34575 MEM32(ebp + (-0x24)) = esi; /* 0x2B072F61: mov dword ptr [ebp - 0x24], esi */ 34576 if (CMP_A(_flag_a, _flag_b)) goto L_2B072F6C; /* 0x2B072F64: ja 0x2b072f6c */ 34577 L_2B072F66: 34578 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B072F66: call dword ptr [0x2b0b51a8] */ 34579 RECOMP_FLAGS_IN(); 34580 L_2B072F6C: 34581 /* test edi, edi */ /* 0x2B072F6C: test edi, edi */ 34582 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 34583 _cf = 0; 34584 _flag_k = FK_TEST; 34585 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072FB3; /* 0x2B072F6E: jbe 0x2b072fb3 */ 34586 L_2B072F70: 34587 eax = MEM32(esi + 0x8); /* 0x2B072F70: mov eax, dword ptr [esi + 8] */ 34588 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 34589 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34590 eax = eax + edi; /* 0x2B072F73: add eax, edi */ 34591 _flag_k = FK_ADD; 34592 PUSH32(esp, 0); /* 0x2B072F75: push 0 */ 34593 PUSH32(esp, eax); /* 0x2B072F77: push eax */ 34594 ecx = esi; /* 0x2B072F78: mov ecx, esi */ 34595 MEM32(ebp + (-0x20)) = eax; /* 0x2B072F7A: mov dword ptr [ebp - 0x20], eax */ 34596 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B072F7D: call dword ptr [0x2b0b5154] */ 34597 RECOMP_FLAGS_IN(); 34598 /* test LO8(eax), LO8(eax) */ /* 0x2B072F83: test al, al */ 34599 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 34600 _cf = 0; 34601 _flag_k = FK_NARROW(FK_TEST, 24); 34602 if (TEST_Z(_flag_a, _flag_b)) goto L_2B072FB3; /* 0x2B072F85: je 0x2b072fb3 */ 34603 L_2B072F87: 34604 eax = MEM32(ebp + (-0x24)); /* 0x2B072F87: mov eax, dword ptr [ebp - 0x24] */ 34605 edx = MEM32(eax + 0x8); /* 0x2B072F8A: mov edx, dword ptr [eax + 8] */ 34606 ecx = edi; /* 0x2B072F8D: mov ecx, edi */ 34607 edi = MEM32(eax + 0x4); /* 0x2B072F8F: mov edi, dword ptr [eax + 4] */ 34608 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 34609 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34610 edi = edi + edx; /* 0x2B072F92: add edi, edx */ 34611 _flag_k = FK_ADD; 34612 edx = ecx; /* 0x2B072F94: mov edx, ecx */ 34613 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B072F96: shr ecx, 2 */ 34614 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 34615 ecx = ecx >> 2u; /* 0x2B072F96: shr ecx, 2 */ 34616 esi = 0x2B0EEE84u; /* 0x2B072F99: mov esi, 0x2b0eee84 */ 34617 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B072F9E: 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; } 34618 ecx = edx; /* 0x2B072FA0: mov ecx, edx */ 34619 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 34620 ecx = ecx & 3; /* 0x2B072FA2: and ecx, 3 */ 34621 _cf = 0; 34622 _flag_k = FK_TEST; 34623 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B072FA5: 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; } 34624 ecx = MEM32(ebp + (-0x20)); /* 0x2B072FA7: mov ecx, dword ptr [ebp - 0x20] */ 34625 PUSH32(esp, ecx); /* 0x2B072FAA: push ecx */ 34626 ecx = eax; /* 0x2B072FAB: mov ecx, eax */ 34627 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B072FAD: call dword ptr [0x2b0b5150] */ 34628 RECOMP_FLAGS_IN(); 34629 L_2B072FB3: 34630 edx = MEM32(ebp + 0x8); /* 0x2B072FB3: mov edx, dword ptr [ebp + 8] */ 34631 PUSH32(esp, edx); /* 0x2B072FB6: push edx */ 34632 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B072FB7: call dword ptr [0x2b0b5d6c] */ 34633 RECOMP_FLAGS_IN(); 34634 ecx = eax; /* 0x2B072FBD: mov ecx, eax */ 34635 RECOMP_ICALL(MEM32(0x2B0B5CA8)); /* 0x2B072FBF: call dword ptr [0x2b0b5ca8] */ 34636 RECOMP_FLAGS_IN(); 34637 /* test eax, eax */ /* 0x2B072FC5: test eax, eax */ 34638 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 34639 _cf = 0; 34640 _flag_k = FK_TEST; 34641 MEM32(ebp + (-0x10)) = eax; /* 0x2B072FC7: mov dword ptr [ebp - 0x10], eax */ 34642 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073111; /* 0x2B072FCA: je 0x2b073111 */ 34643 L_2B072FD0: 34644 ecx = MEM32(ebx + 0x28); /* 0x2B072FD0: mov ecx, dword ptr [ebx + 0x28] */ 34645 PUSH32(esp, 0x13u); /* 0x2B072FD3: push 0x13 */ 34646 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B072FD5: push -1 */ 34647 MEM8(ebp + (-0x1)) = (uint8_t)(1); /* 0x2B072FD7: mov byte ptr [ebp - 1], 1 */ 34648 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B072FDB: call dword ptr [0x2b0b5a74] */ 34649 RECOMP_FLAGS_IN(); 34650 esi = MEM32(ebx + 0x28); /* 0x2B072FE1: mov esi, dword ptr [ebx + 0x28] */ 34651 edx = MEM32(esi + 0x8); /* 0x2B072FE4: mov edx, dword ptr [esi + 8] */ 34652 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 34653 ecx = ecx | 0xFFFFFFFFu; /* 0x2B072FE7: or ecx, 0xffffffff */ 34654 _cf = 0; 34655 _flag_k = FK_TEST; 34656 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 34657 eax = 0; /* 0x2B072FEA: xor eax, eax */ 34658 _cf = 0; 34659 _flag_k = FK_TEST; 34660 edi = 0x2B0EBC14u; /* 0x2B072FEC: mov edi, 0x2b0ebc14 */ 34661 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; } /* 0x2B072FF1: repne scasb al, byte ptr es:[edi] */ 34662 eax = MEM32(0x2B0B515C); /* 0x2B072FF3: mov eax, dword ptr [0x2b0b515c] */ 34663 ecx = ~ecx; /* 0x2B072FF8: not ecx */ 34664 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 34665 ecx = ecx - 1; /* 0x2B072FFA: dec ecx */ 34666 _flag_k = FK_DEC; 34667 edi = ecx; /* 0x2B072FFB: mov edi, ecx */ 34668 ecx = MEM32(eax); /* 0x2B072FFD: mov ecx, dword ptr [eax] */ 34669 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 34670 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34671 ecx = ecx - edx; /* 0x2B072FFF: sub ecx, edx */ 34672 _flag_k = FK_CMP; 34673 /* cmp ecx, edi */ /* 0x2B073001: cmp ecx, edi */ 34674 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 34675 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34676 _flag_k = FK_CMP; 34677 MEM32(ebp + (-0x24)) = esi; /* 0x2B073003: mov dword ptr [ebp - 0x24], esi */ 34678 if (CMP_A(_flag_a, _flag_b)) goto L_2B07300E; /* 0x2B073006: ja 0x2b07300e */ 34679 L_2B073008: 34680 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B073008: call dword ptr [0x2b0b51a8] */ 34681 RECOMP_FLAGS_IN(); 34682 L_2B07300E: 34683 /* test edi, edi */ /* 0x2B07300E: test edi, edi */ 34684 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 34685 _cf = 0; 34686 _flag_k = FK_TEST; 34687 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073057; /* 0x2B073010: jbe 0x2b073057 */ 34688 L_2B073012: 34689 edx = MEM32(esi + 0x8); /* 0x2B073012: mov edx, dword ptr [esi + 8] */ 34690 eax = edi; /* 0x2B073015: mov eax, edi */ 34691 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 34692 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34693 eax = eax + edx; /* 0x2B073017: add eax, edx */ 34694 _flag_k = FK_ADD; 34695 PUSH32(esp, 0); /* 0x2B073019: push 0 */ 34696 PUSH32(esp, eax); /* 0x2B07301B: push eax */ 34697 ecx = esi; /* 0x2B07301C: mov ecx, esi */ 34698 MEM32(ebp + (-0x20)) = eax; /* 0x2B07301E: mov dword ptr [ebp - 0x20], eax */ 34699 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B073021: call dword ptr [0x2b0b5154] */ 34700 RECOMP_FLAGS_IN(); 34701 /* test LO8(eax), LO8(eax) */ /* 0x2B073027: test al, al */ 34702 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 34703 _cf = 0; 34704 _flag_k = FK_NARROW(FK_TEST, 24); 34705 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073057; /* 0x2B073029: je 0x2b073057 */ 34706 L_2B07302B: 34707 eax = MEM32(ebp + (-0x24)); /* 0x2B07302B: mov eax, dword ptr [ebp - 0x24] */ 34708 edx = MEM32(eax + 0x8); /* 0x2B07302E: mov edx, dword ptr [eax + 8] */ 34709 ecx = edi; /* 0x2B073031: mov ecx, edi */ 34710 edi = MEM32(eax + 0x4); /* 0x2B073033: mov edi, dword ptr [eax + 4] */ 34711 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 34712 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34713 edi = edi + edx; /* 0x2B073036: add edi, edx */ 34714 _flag_k = FK_ADD; 34715 edx = ecx; /* 0x2B073038: mov edx, ecx */ 34716 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07303A: shr ecx, 2 */ 34717 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 34718 ecx = ecx >> 2u; /* 0x2B07303A: shr ecx, 2 */ 34719 esi = 0x2B0EBC14u; /* 0x2B07303D: mov esi, 0x2b0ebc14 */ 34720 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B073042: 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; } 34721 ecx = edx; /* 0x2B073044: mov ecx, edx */ 34722 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 34723 ecx = ecx & 3; /* 0x2B073046: and ecx, 3 */ 34724 _cf = 0; 34725 _flag_k = FK_TEST; 34726 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B073049: 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; } 34727 ecx = MEM32(ebp + (-0x20)); /* 0x2B07304B: mov ecx, dword ptr [ebp - 0x20] */ 34728 PUSH32(esp, ecx); /* 0x2B07304E: push ecx */ 34729 ecx = eax; /* 0x2B07304F: mov ecx, eax */ 34730 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B073051: call dword ptr [0x2b0b5150] */ 34731 RECOMP_FLAGS_IN(); 34732 L_2B073057: 34733 ecx = MEM32(ebx + 0x28); /* 0x2B073057: mov ecx, dword ptr [ebx + 0x28] */ 34734 PUSH32(esp, 0x14u); /* 0x2B07305A: push 0x14 */ 34735 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07305C: push -1 */ 34736 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B07305E: call dword ptr [0x2b0b5a74] */ 34737 RECOMP_FLAGS_IN(); 34738 PUSH32(esp, 2); /* 0x2B073064: push 2 */ 34739 PUSH32(esp, 0x21u); /* 0x2B073066: push 0x21 */ 34740 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B073068: call dword ptr [0x2b0b5d6c] */ 34741 RECOMP_FLAGS_IN(); 34742 ecx = eax; /* 0x2B07306E: mov ecx, eax */ 34743 RECOMP_ICALL(MEM32(0x2B0B5D70)); /* 0x2B073070: call dword ptr [0x2b0b5d70] */ 34744 RECOMP_FLAGS_IN(); 34745 /* test eax, eax */ /* 0x2B073076: test eax, eax */ 34746 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 34747 _cf = 0; 34748 _flag_k = FK_TEST; 34749 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B073085; /* 0x2B073078: jne 0x2b073085 */ 34750 L_2B07307A: 34751 edx = MEM32(ebp + (-0x10)); /* 0x2B07307A: mov edx, dword ptr [ebp - 0x10] */ 34752 PUSH32(esp, edx); /* 0x2B07307D: push edx */ 34753 PUSH32(esp, 0x2B0EBBD0u); /* 0x2B07307E: push 0x2b0ebbd0 */ 34754 goto L_2B07308E; /* 0x2B073083: jmp 0x2b07308e */ 34755 L_2B073085: 34756 eax = MEM32(ebp + (-0x10)); /* 0x2B073085: mov eax, dword ptr [ebp - 0x10] */ 34757 PUSH32(esp, eax); /* 0x2B073088: push eax */ 34758 PUSH32(esp, 0x2B0EBB98u); /* 0x2B073089: push 0x2b0ebb98 */ 34759 L_2B07308E: 34760 PUSH32(esp, 0x2B0EEE84u); /* 0x2B07308E: push 0x2b0eee84 */ 34761 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B073093: call dword ptr [0x2b0b51f0] */ 34762 RECOMP_FLAGS_IN(); 34763 esi = MEM32(ebx + 0x28); /* 0x2B073099: mov esi, dword ptr [ebx + 0x28] */ 34764 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 34765 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07309C: or ecx, 0xffffffff */ 34766 _cf = 0; 34767 _flag_k = FK_TEST; 34768 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 34769 eax = 0; /* 0x2B07309F: xor eax, eax */ 34770 _cf = 0; 34771 _flag_k = FK_TEST; 34772 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 34773 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34774 esp = esp + 0xCu; /* 0x2B0730A1: add esp, 0xc */ 34775 _flag_k = FK_ADD; 34776 edi = 0x2B0EEE84u; /* 0x2B0730A4: mov edi, 0x2b0eee84 */ 34777 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; } /* 0x2B0730A9: repne scasb al, byte ptr es:[edi] */ 34778 ecx = ~ecx; /* 0x2B0730AB: not ecx */ 34779 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 34780 ecx = ecx - 1; /* 0x2B0730AD: dec ecx */ 34781 _flag_k = FK_DEC; 34782 edi = ecx; /* 0x2B0730AE: mov edi, ecx */ 34783 ecx = MEM32(0x2B0B515C); /* 0x2B0730B0: mov ecx, dword ptr [0x2b0b515c] */ 34784 edx = MEM32(ecx); /* 0x2B0730B6: mov edx, dword ptr [ecx] */ 34785 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 34786 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34787 edx = edx - MEM32(esi + 0x8); /* 0x2B0730B8: sub edx, dword ptr [esi + 8] */ 34788 _flag_k = FK_CMP; 34789 /* cmp edx, edi */ /* 0x2B0730BB: cmp edx, edi */ 34790 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 34791 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34792 _flag_k = FK_CMP; 34793 MEM32(ebp + (-0x24)) = esi; /* 0x2B0730BD: mov dword ptr [ebp - 0x24], esi */ 34794 if (CMP_A(_flag_a, _flag_b)) goto L_2B0730C8; /* 0x2B0730C0: ja 0x2b0730c8 */ 34795 L_2B0730C2: 34796 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0730C2: call dword ptr [0x2b0b51a8] */ 34797 RECOMP_FLAGS_IN(); 34798 L_2B0730C8: 34799 /* test edi, edi */ /* 0x2B0730C8: test edi, edi */ 34800 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 34801 _cf = 0; 34802 _flag_k = FK_TEST; 34803 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073111; /* 0x2B0730CA: jbe 0x2b073111 */ 34804 L_2B0730CC: 34805 edx = MEM32(esi + 0x8); /* 0x2B0730CC: mov edx, dword ptr [esi + 8] */ 34806 eax = edi; /* 0x2B0730CF: mov eax, edi */ 34807 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 34808 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34809 eax = eax + edx; /* 0x2B0730D1: add eax, edx */ 34810 _flag_k = FK_ADD; 34811 PUSH32(esp, 0); /* 0x2B0730D3: push 0 */ 34812 PUSH32(esp, eax); /* 0x2B0730D5: push eax */ 34813 ecx = esi; /* 0x2B0730D6: mov ecx, esi */ 34814 MEM32(ebp + (-0x20)) = eax; /* 0x2B0730D8: mov dword ptr [ebp - 0x20], eax */ 34815 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0730DB: call dword ptr [0x2b0b5154] */ 34816 RECOMP_FLAGS_IN(); 34817 /* test LO8(eax), LO8(eax) */ /* 0x2B0730E1: test al, al */ 34818 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 34819 _cf = 0; 34820 _flag_k = FK_NARROW(FK_TEST, 24); 34821 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073111; /* 0x2B0730E3: je 0x2b073111 */ 34822 L_2B0730E5: 34823 eax = MEM32(ebp + (-0x24)); /* 0x2B0730E5: mov eax, dword ptr [ebp - 0x24] */ 34824 edx = MEM32(eax + 0x8); /* 0x2B0730E8: mov edx, dword ptr [eax + 8] */ 34825 ecx = edi; /* 0x2B0730EB: mov ecx, edi */ 34826 edi = MEM32(eax + 0x4); /* 0x2B0730ED: mov edi, dword ptr [eax + 4] */ 34827 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 34828 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34829 edi = edi + edx; /* 0x2B0730F0: add edi, edx */ 34830 _flag_k = FK_ADD; 34831 edx = ecx; /* 0x2B0730F2: mov edx, ecx */ 34832 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0730F4: shr ecx, 2 */ 34833 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 34834 ecx = ecx >> 2u; /* 0x2B0730F4: shr ecx, 2 */ 34835 esi = 0x2B0EEE84u; /* 0x2B0730F7: mov esi, 0x2b0eee84 */ 34836 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0730FC: 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; } 34837 ecx = edx; /* 0x2B0730FE: mov ecx, edx */ 34838 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 34839 ecx = ecx & 3; /* 0x2B073100: and ecx, 3 */ 34840 _cf = 0; 34841 _flag_k = FK_TEST; 34842 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B073103: 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; } 34843 ecx = MEM32(ebp + (-0x20)); /* 0x2B073105: mov ecx, dword ptr [ebp - 0x20] */ 34844 PUSH32(esp, ecx); /* 0x2B073108: push ecx */ 34845 ecx = eax; /* 0x2B073109: mov ecx, eax */ 34846 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07310B: call dword ptr [0x2b0b5150] */ 34847 RECOMP_FLAGS_IN(); 34848 L_2B073111: 34849 ecx = ebx; /* 0x2B073111: mov ecx, ebx */ 34850 RECOMP_ICALL(0x2B073330u); /* 0x2B073113: call 0x2b073330 */ /* not lifted */ 34851 RECOMP_FLAGS_IN(); 34852 ecx = MEM32(ebx + 0xDC); /* 0x2B073118: mov ecx, dword ptr [ebx + 0xdc] */ 34853 RECOMP_ICALL(MEM32(0x2B0B58D4)); /* 0x2B07311E: call dword ptr [0x2b0b58d4] */ 34854 RECOMP_FLAGS_IN(); 34855 edx = MEM32(ebp + 0x8); /* 0x2B073124: mov edx, dword ptr [ebp + 8] */ 34856 PUSH32(esp, edx); /* 0x2B073127: push edx */ 34857 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B073128: call dword ptr [0x2b0b5d6c] */ 34858 RECOMP_FLAGS_IN(); 34859 ecx = eax; /* 0x2B07312E: mov ecx, eax */ 34860 RECOMP_ICALL(MEM32(0x2B0B5D10)); /* 0x2B073130: call dword ptr [0x2b0b5d10] */ 34861 RECOMP_FLAGS_IN(); 34862 /* test eax, eax */ /* 0x2B073136: test eax, eax */ 34863 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 34864 _cf = 0; 34865 _flag_k = FK_TEST; 34866 MEM32(ebp + 0x8) = eax; /* 0x2B073138: mov dword ptr [ebp + 8], eax */ 34867 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073241; /* 0x2B07313B: je 0x2b073241 */ 34868 L_2B073141: 34869 ecx = MEM32(eax + 0x8); /* 0x2B073141: mov ecx, dword ptr [eax + 8] */ 34870 /* test ecx, ecx */ /* 0x2B073144: test ecx, ecx */ 34871 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 34872 _cf = 0; 34873 _flag_k = FK_TEST; 34874 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073241; /* 0x2B073146: je 0x2b073241 */ 34875 L_2B07314C: 34876 ecx = MEM32(ebx + 0x28); /* 0x2B07314C: mov ecx, dword ptr [ebx + 0x28] */ 34877 PUSH32(esp, 0x13u); /* 0x2B07314F: push 0x13 */ 34878 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B073151: push -1 */ 34879 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B073153: call dword ptr [0x2b0b5a74] */ 34880 RECOMP_FLAGS_IN(); 34881 esi = MEM32(ebx + 0x28); /* 0x2B073159: mov esi, dword ptr [ebx + 0x28] */ 34882 edx = MEM32(esi + 0x8); /* 0x2B07315C: mov edx, dword ptr [esi + 8] */ 34883 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 34884 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07315F: or ecx, 0xffffffff */ 34885 _cf = 0; 34886 _flag_k = FK_TEST; 34887 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 34888 eax = 0; /* 0x2B073162: xor eax, eax */ 34889 _cf = 0; 34890 _flag_k = FK_TEST; 34891 edi = 0x2B0EBB88u; /* 0x2B073164: mov edi, 0x2b0ebb88 */ 34892 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; } /* 0x2B073169: repne scasb al, byte ptr es:[edi] */ 34893 eax = MEM32(0x2B0B515C); /* 0x2B07316B: mov eax, dword ptr [0x2b0b515c] */ 34894 ecx = ~ecx; /* 0x2B073170: not ecx */ 34895 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 34896 ecx = ecx - 1; /* 0x2B073172: dec ecx */ 34897 _flag_k = FK_DEC; 34898 edi = ecx; /* 0x2B073173: mov edi, ecx */ 34899 ecx = MEM32(eax); /* 0x2B073175: mov ecx, dword ptr [eax] */ 34900 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 34901 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34902 ecx = ecx - edx; /* 0x2B073177: sub ecx, edx */ 34903 _flag_k = FK_CMP; 34904 /* cmp ecx, edi */ /* 0x2B073179: cmp ecx, edi */ 34905 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 34906 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34907 _flag_k = FK_CMP; 34908 MEM32(ebp + (-0x24)) = esi; /* 0x2B07317B: mov dword ptr [ebp - 0x24], esi */ 34909 if (CMP_A(_flag_a, _flag_b)) goto L_2B073186; /* 0x2B07317E: ja 0x2b073186 */ 34910 L_2B073180: 34911 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B073180: call dword ptr [0x2b0b51a8] */ 34912 RECOMP_FLAGS_IN(); 34913 L_2B073186: 34914 /* test edi, edi */ /* 0x2B073186: test edi, edi */ 34915 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 34916 _cf = 0; 34917 _flag_k = FK_TEST; 34918 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0731CF; /* 0x2B073188: jbe 0x2b0731cf */ 34919 L_2B07318A: 34920 edx = MEM32(esi + 0x8); /* 0x2B07318A: mov edx, dword ptr [esi + 8] */ 34921 eax = edi; /* 0x2B07318D: mov eax, edi */ 34922 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 34923 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34924 eax = eax + edx; /* 0x2B07318F: add eax, edx */ 34925 _flag_k = FK_ADD; 34926 PUSH32(esp, 0); /* 0x2B073191: push 0 */ 34927 PUSH32(esp, eax); /* 0x2B073193: push eax */ 34928 ecx = esi; /* 0x2B073194: mov ecx, esi */ 34929 MEM32(ebp + (-0x20)) = eax; /* 0x2B073196: mov dword ptr [ebp - 0x20], eax */ 34930 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B073199: call dword ptr [0x2b0b5154] */ 34931 RECOMP_FLAGS_IN(); 34932 /* test LO8(eax), LO8(eax) */ /* 0x2B07319F: test al, al */ 34933 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 34934 _cf = 0; 34935 _flag_k = FK_NARROW(FK_TEST, 24); 34936 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0731CF; /* 0x2B0731A1: je 0x2b0731cf */ 34937 L_2B0731A3: 34938 eax = MEM32(ebp + (-0x24)); /* 0x2B0731A3: mov eax, dword ptr [ebp - 0x24] */ 34939 edx = MEM32(eax + 0x8); /* 0x2B0731A6: mov edx, dword ptr [eax + 8] */ 34940 ecx = edi; /* 0x2B0731A9: mov ecx, edi */ 34941 edi = MEM32(eax + 0x4); /* 0x2B0731AB: mov edi, dword ptr [eax + 4] */ 34942 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 34943 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34944 edi = edi + edx; /* 0x2B0731AE: add edi, edx */ 34945 _flag_k = FK_ADD; 34946 edx = ecx; /* 0x2B0731B0: mov edx, ecx */ 34947 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0731B2: shr ecx, 2 */ 34948 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 34949 ecx = ecx >> 2u; /* 0x2B0731B2: shr ecx, 2 */ 34950 esi = 0x2B0EBB88u; /* 0x2B0731B5: mov esi, 0x2b0ebb88 */ 34951 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0731BA: 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; } 34952 ecx = edx; /* 0x2B0731BC: mov ecx, edx */ 34953 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 34954 ecx = ecx & 3; /* 0x2B0731BE: and ecx, 3 */ 34955 _cf = 0; 34956 _flag_k = FK_TEST; 34957 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0731C1: 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; } 34958 ecx = MEM32(ebp + (-0x20)); /* 0x2B0731C3: mov ecx, dword ptr [ebp - 0x20] */ 34959 PUSH32(esp, ecx); /* 0x2B0731C6: push ecx */ 34960 ecx = eax; /* 0x2B0731C7: mov ecx, eax */ 34961 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B0731C9: call dword ptr [0x2b0b5150] */ 34962 RECOMP_FLAGS_IN(); 34963 L_2B0731CF: 34964 edx = MEM32(ebp + 0x8); /* 0x2B0731CF: mov edx, dword ptr [ebp + 8] */ 34965 MEM8(ebx + 0xE0) = (uint8_t)(1); /* 0x2B0731D2: mov byte ptr [ebx + 0xe0], 1 */ 34966 edx = MEM32(edx + 0x4); /* 0x2B0731D9: mov edx, dword ptr [edx + 4] */ 34967 esi = MEM32(edx); /* 0x2B0731DC: mov esi, dword ptr [edx] */ 34968 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 34969 eax = 0; /* 0x2B0731DE: xor eax, eax */ 34970 _cf = 0; 34971 _flag_k = FK_TEST; 34972 /* cmp esi, edx */ /* 0x2B0731E0: cmp esi, edx */ 34973 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx); 34974 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 34975 _flag_k = FK_CMP; 34976 ecx = 0xAu; /* 0x2B0731E2: mov ecx, 0xa */ 34977 edi = ebp + (-0x4C); /* 0x2B0731E7: lea edi, [ebp - 0x4c] */ 34978 MEM32(ebp + (-0x4C)) = eax; /* 0x2B0731EA: mov dword ptr [ebp - 0x4c], eax */ 34979 MEM32(ebp + (-0x48)) = eax; /* 0x2B0731ED: mov dword ptr [ebp - 0x48], eax */ 34980 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0731F0: 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; } 34981 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07322C; /* 0x2B0731F2: je 0x2b07322c */ 34982 L_2B0731F4: 34983 edi = MEM32(0x2B0B58D0); /* 0x2B0731F4: mov edi, dword ptr [0x2b0b58d0] */ 34984 L_2B0731FA: 34985 eax = esi; /* 0x2B0731FA: mov eax, esi */ 34986 esi = MEM32(esi); /* 0x2B0731FC: mov esi, dword ptr [esi] */ 34987 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 34988 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 34989 eax = eax + 8; /* 0x2B0731FE: add eax, 8 */ 34990 _flag_k = FK_ADD; 34991 PUSH32(esp, eax); /* 0x2B073201: push eax */ 34992 eax = ebp + (-0x4C); /* 0x2B073202: lea eax, [ebp - 0x4c] */ 34993 PUSH32(esp, eax); /* 0x2B073205: push eax */ 34994 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B073206: call dword ptr [0x2b0b5d6c] */ 34995 RECOMP_FLAGS_IN(); 34996 ecx = eax; /* 0x2B07320C: mov ecx, eax */ 34997 RECOMP_ICALL(MEM32(0x2B0B5D4C)); /* 0x2B07320E: call dword ptr [0x2b0b5d4c] */ 34998 RECOMP_FLAGS_IN(); 34999 /* test LO8(eax), LO8(eax) */ /* 0x2B073214: test al, al */ 35000 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 35001 _cf = 0; 35002 _flag_k = FK_NARROW(FK_TEST, 24); 35003 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07322C; /* 0x2B073216: je 0x2b07322c */ 35004 L_2B073218: 35005 ecx = ebp + (-0x4C); /* 0x2B073218: lea ecx, [ebp - 0x4c] */ 35006 PUSH32(esp, ecx); /* 0x2B07321B: push ecx */ 35007 ecx = MEM32(ebx + 0xDC); /* 0x2B07321C: mov ecx, dword ptr [ebx + 0xdc] */ 35008 RECOMP_ICALL(edi); /* 0x2B073222: call edi */ 35009 RECOMP_FLAGS_IN(); 35010 edx = MEM32(ebp + 0x8); /* 0x2B073224: mov edx, dword ptr [ebp + 8] */ 35011 /* cmp esi, MEM32(edx + 0x4) */ /* 0x2B073227: cmp esi, dword ptr [edx + 4] */ 35012 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 35013 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35014 _flag_k = FK_CMP; 35015 RECOMP_BACKEDGE(); 35016 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0731FA; /* 0x2B07322A: jne 0x2b0731fa */ 35017 L_2B07322C: 35018 ecx = MEM32(ebx + 0xDC); /* 0x2B07322C: mov ecx, dword ptr [ebx + 0xdc] */ 35019 RECOMP_ICALL(MEM32(0x2B0B58D4)); /* 0x2B073232: call dword ptr [0x2b0b58d4] */ 35020 RECOMP_FLAGS_IN(); 35021 edi = POP32_VAL(esp); /* 0x2B073238: pop edi */ 35022 esi = POP32_VAL(esp); /* 0x2B073239: pop esi */ 35023 ebx = POP32_VAL(esp); /* 0x2B07323A: pop ebx */ 35024 esp = ebp; /* 0x2B07323B: mov esp, ebp */ 35025 ebp = POP32_VAL(esp); /* 0x2B07323D: pop ebp */ 35026 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07323E: ret 4 */ 35027 L_2B073241: 35028 SET_LO8(eax, MEM8(ebp + (-0x1))); /* 0x2B073241: mov al, byte ptr [ebp - 1] */ 35029 /* test LO8(eax), LO8(eax) */ /* 0x2B073244: test al, al */ 35030 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 35031 _cf = 0; 35032 _flag_k = FK_NARROW(FK_TEST, 24); 35033 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B073321; /* 0x2B073246: jne 0x2b073321 */ 35034 L_2B07324C: 35035 ecx = MEM32(ebx + 0x28); /* 0x2B07324C: mov ecx, dword ptr [ebx + 0x28] */ 35036 PUSH32(esp, 0x14u); /* 0x2B07324F: push 0x14 */ 35037 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B073251: push -1 */ 35038 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B073253: call dword ptr [0x2b0b5a74] */ 35039 RECOMP_FLAGS_IN(); 35040 ebx = MEM32(ebx + 0x28); /* 0x2B073259: mov ebx, dword ptr [ebx + 0x28] */ 35041 edx = MEM32(ebx + 0x8); /* 0x2B07325C: mov edx, dword ptr [ebx + 8] */ 35042 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 35043 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07325F: or ecx, 0xffffffff */ 35044 _cf = 0; 35045 _flag_k = FK_TEST; 35046 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 35047 eax = 0; /* 0x2B073262: xor eax, eax */ 35048 _cf = 0; 35049 _flag_k = FK_TEST; 35050 edi = 0x2B0E25F0u; /* 0x2B073264: mov edi, 0x2b0e25f0 */ 35051 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; } /* 0x2B073269: repne scasb al, byte ptr es:[edi] */ 35052 eax = MEM32(0x2B0B515C); /* 0x2B07326B: mov eax, dword ptr [0x2b0b515c] */ 35053 ecx = ~ecx; /* 0x2B073270: not ecx */ 35054 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 35055 ecx = ecx - 1; /* 0x2B073272: dec ecx */ 35056 _flag_k = FK_DEC; 35057 edi = ecx; /* 0x2B073273: mov edi, ecx */ 35058 ecx = MEM32(eax); /* 0x2B073275: mov ecx, dword ptr [eax] */ 35059 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 35060 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35061 ecx = ecx - edx; /* 0x2B073277: sub ecx, edx */ 35062 _flag_k = FK_CMP; 35063 /* cmp ecx, edi */ /* 0x2B073279: cmp ecx, edi */ 35064 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 35065 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35066 _flag_k = FK_CMP; 35067 if (CMP_A(_flag_a, _flag_b)) goto L_2B073283; /* 0x2B07327B: ja 0x2b073283 */ 35068 L_2B07327D: 35069 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07327D: call dword ptr [0x2b0b51a8] */ 35070 RECOMP_FLAGS_IN(); 35071 L_2B073283: 35072 /* test edi, edi */ /* 0x2B073283: test edi, edi */ 35073 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 35074 _cf = 0; 35075 _flag_k = FK_TEST; 35076 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073321; /* 0x2B073285: jbe 0x2b073321 */ 35077 L_2B07328B: 35078 ecx = MEM32(ebx + 0x8); /* 0x2B07328B: mov ecx, dword ptr [ebx + 8] */ 35079 esi = edi; /* 0x2B07328E: mov esi, edi */ 35080 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 35081 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 35082 esi = esi + ecx; /* 0x2B073290: add esi, ecx */ 35083 _flag_k = FK_ADD; 35084 /* cmp esi, 0xFFFFFFFDu */ /* 0x2B073292: cmp esi, -3 */ 35085 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0xFFFFFFFDu); 35086 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35087 _flag_k = FK_CMP; 35088 MEM32(ebp + 0x8) = esi; /* 0x2B073295: mov dword ptr [ebp + 8], esi */ 35089 if (CMP_BE(_flag_a, _flag_b)) goto L_2B0732A0; /* 0x2B073298: jbe 0x2b0732a0 */ 35090 L_2B07329A: 35091 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07329A: call dword ptr [0x2b0b51a8] */ 35092 RECOMP_FLAGS_IN(); 35093 L_2B0732A0: 35094 /* cmp esi, MEM32(ebx + 0x8) */ /* 0x2B0732A0: cmp esi, dword ptr [ebx + 8] */ 35095 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ebx + 0x8)); 35096 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35097 _flag_k = FK_CMP; 35098 if (CMP_AE(_flag_a, _flag_b)) goto L_2B0732A8; /* 0x2B0732A3: jae 0x2b0732a8 */ 35099 L_2B0732A5: 35100 MEM32(ebx + 0x8) = esi; /* 0x2B0732A5: mov dword ptr [ebx + 8], esi */ 35101 L_2B0732A8: 35102 eax = MEM32(ebx + 0x4); /* 0x2B0732A8: mov eax, dword ptr [ebx + 4] */ 35103 /* test eax, eax */ /* 0x2B0732AB: test eax, eax */ 35104 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 35105 _cf = 0; 35106 _flag_k = FK_TEST; 35107 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0732D2; /* 0x2B0732AD: je 0x2b0732d2 */ 35108 L_2B0732AF: 35109 SET_LO8(ecx, MEM8(eax + (-0x1))); /* 0x2B0732AF: mov cl, byte ptr [eax - 1] */ 35110 /* test LO8(ecx), LO8(ecx) */ /* 0x2B0732B2: test cl, cl */ 35111 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 35112 _cf = 0; 35113 _flag_k = FK_NARROW(FK_TEST, 24); 35114 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0732D2; /* 0x2B0732B4: je 0x2b0732d2 */ 35115 L_2B0732B6: 35116 /* cmp LO8(ecx), 0xFFu */ /* 0x2B0732B6: cmp cl, 0xff */ 35117 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 35118 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35119 _flag_k = FK_NARROW(FK_CMP, 24); 35120 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0732D2; /* 0x2B0732B9: je 0x2b0732d2 */ 35121 L_2B0732BB: 35122 /* test esi, esi */ /* 0x2B0732BB: test esi, esi */ 35123 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 35124 _cf = 0; 35125 _flag_k = FK_TEST; 35126 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0732EE; /* 0x2B0732BD: jne 0x2b0732ee */ 35127 L_2B0732BF: 35128 PUSH32(esp, 1); /* 0x2B0732BF: push 1 */ 35129 ecx = ebx; /* 0x2B0732C1: mov ecx, ebx */ 35130 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0732C3: call dword ptr [0x2b0b514c] */ 35131 RECOMP_FLAGS_IN(); 35132 edi = POP32_VAL(esp); /* 0x2B0732C9: pop edi */ 35133 esi = POP32_VAL(esp); /* 0x2B0732CA: pop esi */ 35134 ebx = POP32_VAL(esp); /* 0x2B0732CB: pop ebx */ 35135 esp = ebp; /* 0x2B0732CC: mov esp, ebp */ 35136 ebp = POP32_VAL(esp); /* 0x2B0732CE: pop ebp */ 35137 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0732CF: ret 4 */ 35138 L_2B0732D2: 35139 /* test esi, esi */ /* 0x2B0732D2: test esi, esi */ 35140 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 35141 _cf = 0; 35142 _flag_k = FK_TEST; 35143 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0732E9; /* 0x2B0732D4: jne 0x2b0732e9 */ 35144 L_2B0732D6: 35145 /* test eax, eax */ /* 0x2B0732D6: test eax, eax */ 35146 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 35147 _cf = 0; 35148 _flag_k = FK_TEST; 35149 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073321; /* 0x2B0732D8: je 0x2b073321 */ 35150 L_2B0732DA: 35151 MEM32(ebx + 0x8) = esi; /* 0x2B0732DA: mov dword ptr [ebx + 8], esi */ 35152 edi = POP32_VAL(esp); /* 0x2B0732DD: pop edi */ 35153 esi = POP32_VAL(esp); /* 0x2B0732DE: pop esi */ 35154 MEM8(eax) = (uint8_t)(0); /* 0x2B0732DF: mov byte ptr [eax], 0 */ 35155 ebx = POP32_VAL(esp); /* 0x2B0732E2: pop ebx */ 35156 esp = ebp; /* 0x2B0732E3: mov esp, ebp */ 35157 ebp = POP32_VAL(esp); /* 0x2B0732E5: pop ebp */ 35158 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0732E6: ret 4 */ 35159 L_2B0732E9: 35160 /* cmp MEM32(ebx + 0xC), esi */ /* 0x2B0732E9: cmp dword ptr [ebx + 0xc], esi */ 35161 _flag_a = (uint32_t)(MEM32(ebx + 0xC)); _flag_b = (uint32_t)(esi); 35162 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35163 _flag_k = FK_CMP; 35164 if (CMP_AE(_flag_a, _flag_b)) goto L_2B0732F7; /* 0x2B0732EC: jae 0x2b0732f7 */ 35165 L_2B0732EE: 35166 PUSH32(esp, esi); /* 0x2B0732EE: push esi */ 35167 ecx = ebx; /* 0x2B0732EF: mov ecx, ebx */ 35168 RECOMP_ICALL(MEM32(0x2B0B5110)); /* 0x2B0732F1: call dword ptr [0x2b0b5110] */ 35169 RECOMP_FLAGS_IN(); 35170 L_2B0732F7: 35171 edx = MEM32(ebx + 0x4); /* 0x2B0732F7: mov edx, dword ptr [ebx + 4] */ 35172 eax = MEM32(ebp + 0x8); /* 0x2B0732FA: mov eax, dword ptr [ebp + 8] */ 35173 ecx = edi; /* 0x2B0732FD: mov ecx, edi */ 35174 edi = MEM32(ebx + 0x8); /* 0x2B0732FF: mov edi, dword ptr [ebx + 8] */ 35175 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 35176 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 35177 edi = edi + edx; /* 0x2B073302: add edi, edx */ 35178 _flag_k = FK_ADD; 35179 edx = ecx; /* 0x2B073304: mov edx, ecx */ 35180 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B073306: shr ecx, 2 */ 35181 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 35182 ecx = ecx >> 2u; /* 0x2B073306: shr ecx, 2 */ 35183 esi = 0x2B0E25F0u; /* 0x2B073309: mov esi, 0x2b0e25f0 */ 35184 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07330E: 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; } 35185 ecx = edx; /* 0x2B073310: mov ecx, edx */ 35186 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 35187 ecx = ecx & 3; /* 0x2B073312: and ecx, 3 */ 35188 _cf = 0; 35189 _flag_k = FK_TEST; 35190 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B073315: 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; } 35191 ecx = MEM32(ebx + 0x4); /* 0x2B073317: mov ecx, dword ptr [ebx + 4] */ 35192 MEM32(ebx + 0x8) = eax; /* 0x2B07331A: mov dword ptr [ebx + 8], eax */ 35193 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B07331D: mov byte ptr [eax + ecx], 0 */ 35194 L_2B073321: 35195 edi = POP32_VAL(esp); /* 0x2B073321: pop edi */ 35196 esi = POP32_VAL(esp); /* 0x2B073322: pop esi */ 35197 ebx = POP32_VAL(esp); /* 0x2B073323: pop ebx */ 35198 esp = ebp; /* 0x2B073324: mov esp, ebp */ 35199 ebp = POP32_VAL(esp); /* 0x2B073326: pop ebp */ 35200 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B073327: ret 4 */ 35201 RECOMP_REGS_OUT(); 35202 } 35203 35204 void sub_2B073330(void) { 35205 int _fpu_cmp = 0; 35206 uint32_t _cf = 0; 35207 int _df = 1; 35208 uint32_t _flag_k = FK_NONE; 35209 uint32_t _flag_a = 0, _flag_b = 0; 35210 uint32_t _itail_tgt = 0; 35211 RECOMP_REGS_LOCALS 35212 RECOMP_ENTER(0x2B073330u); 35213 35214 L_2B073330: 35215 PUSH32(esp, ebp); /* 0x2B073330: push ebp */ 35216 ebp = esp; /* 0x2B073331: mov ebp, esp */ 35217 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 35218 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35219 esp = esp - 8; /* 0x2B073333: sub esp, 8 */ 35220 _flag_k = FK_CMP; 35221 PUSH32(esp, ebx); /* 0x2B073336: push ebx */ 35222 PUSH32(esp, esi); /* 0x2B073337: push esi */ 35223 ebx = ecx; /* 0x2B073338: mov ebx, ecx */ 35224 eax = MEM32(ebx + 0xDC); /* 0x2B07333A: mov eax, dword ptr [ebx + 0xdc] */ 35225 PUSH32(esp, edi); /* 0x2B073340: push edi */ 35226 edi = MEM32(eax); /* 0x2B073341: mov edi, dword ptr [eax] */ 35227 eax = MEM32(edi + 0x4); /* 0x2B073343: mov eax, dword ptr [edi + 4] */ 35228 esi = MEM32(eax); /* 0x2B073346: mov esi, dword ptr [eax] */ 35229 /* cmp esi, eax */ /* 0x2B073348: cmp esi, eax */ 35230 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 35231 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35232 _flag_k = FK_CMP; 35233 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B073384; /* 0x2B07334A: je 0x2b073384 */ 35234 L_2B07334C: 35235 eax = MEM32(esi + 0x8); /* 0x2B07334C: mov eax, dword ptr [esi + 8] */ 35236 SET_LO8(ecx, MEM8(eax + 0x70)); /* 0x2B07334F: mov cl, byte ptr [eax + 0x70] */ 35237 /* test LO8(ecx), LO8(ecx) */ /* 0x2B073352: test cl, cl */ 35238 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 35239 _cf = 0; 35240 _flag_k = FK_NARROW(FK_TEST, 24); 35241 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07337D; /* 0x2B073354: jne 0x2b07337d */ 35242 L_2B073356: 35243 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x54u); 35244 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 35245 eax = eax + 0x54u; /* 0x2B073356: add eax, 0x54 */ 35246 _flag_k = FK_ADD; 35247 ecx = ebp + (-0x8); /* 0x2B073359: lea ecx, [ebp - 8] */ 35248 /* cmp ecx, eax */ /* 0x2B07335C: cmp ecx, eax */ 35249 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 35250 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35251 _flag_k = FK_CMP; 35252 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07336B; /* 0x2B07335E: je 0x2b07336b */ 35253 L_2B073360: 35254 edx = MEM32(eax); /* 0x2B073360: mov edx, dword ptr [eax] */ 35255 eax = MEM32(eax + 0x4); /* 0x2B073362: mov eax, dword ptr [eax + 4] */ 35256 MEM32(ebp + (-0x8)) = edx; /* 0x2B073365: mov dword ptr [ebp - 8], edx */ 35257 MEM32(ebp + (-0x4)) = eax; /* 0x2B073368: mov dword ptr [ebp - 4], eax */ 35258 L_2B07336B: 35259 ecx = ebp + (-0x8); /* 0x2B07336B: lea ecx, [ebp - 8] */ 35260 PUSH32(esp, ecx); /* 0x2B07336E: push ecx */ 35261 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B07336F: call dword ptr [0x2b0b5d6c] */ 35262 RECOMP_FLAGS_IN(); 35263 ecx = eax; /* 0x2B073375: mov ecx, eax */ 35264 RECOMP_ICALL(MEM32(0x2B0B5D54)); /* 0x2B073377: call dword ptr [0x2b0b5d54] */ 35265 RECOMP_FLAGS_IN(); 35266 L_2B07337D: 35267 esi = MEM32(esi); /* 0x2B07337D: mov esi, dword ptr [esi] */ 35268 /* cmp esi, MEM32(edi + 0x4) */ /* 0x2B07337F: cmp esi, dword ptr [edi + 4] */ 35269 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 35270 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35271 _flag_k = FK_CMP; 35272 RECOMP_BACKEDGE(); 35273 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07334C; /* 0x2B073382: jne 0x2b07334c */ 35274 L_2B073384: 35275 ecx = MEM32(ebx + 0xDC); /* 0x2B073384: mov ecx, dword ptr [ebx + 0xdc] */ 35276 RECOMP_ICALL(MEM32(0x2B0B58CC)); /* 0x2B07338A: call dword ptr [0x2b0b58cc] */ 35277 RECOMP_FLAGS_IN(); 35278 edi = POP32_VAL(esp); /* 0x2B073390: pop edi */ 35279 esi = POP32_VAL(esp); /* 0x2B073391: pop esi */ 35280 ebx = POP32_VAL(esp); /* 0x2B073392: pop ebx */ 35281 esp = ebp; /* 0x2B073393: mov esp, ebp */ 35282 ebp = POP32_VAL(esp); /* 0x2B073395: pop ebp */ 35283 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B073396: ret */ 35284 RECOMP_REGS_OUT(); 35285 } 35286 35287 void sub_2B0733A0(void) { 35288 int _fpu_cmp = 0; 35289 uint32_t _cf = 0; 35290 int _df = 1; 35291 uint32_t _flag_k = FK_NONE; 35292 uint32_t _flag_a = 0, _flag_b = 0; 35293 uint32_t _itail_tgt = 0; 35294 RECOMP_REGS_LOCALS 35295 RECOMP_ENTER(0x2B0733A0u); 35296 35297 L_2B0733A0: 35298 PUSH32(esp, ebp); /* 0x2B0733A0: push ebp */ 35299 ebp = esp; /* 0x2B0733A1: mov ebp, esp */ 35300 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 35301 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35302 esp = esp - 8; /* 0x2B0733A3: sub esp, 8 */ 35303 _flag_k = FK_CMP; 35304 PUSH32(esp, ebx); /* 0x2B0733A6: push ebx */ 35305 PUSH32(esp, esi); /* 0x2B0733A7: push esi */ 35306 esi = ecx; /* 0x2B0733A8: mov esi, ecx */ 35307 ebx = MEM32(esi + 0x28); /* 0x2B0733AA: mov ebx, dword ptr [esi + 0x28] */ 35308 PUSH32(esp, edi); /* 0x2B0733AD: push edi */ 35309 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 35310 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0733AE: or ecx, 0xffffffff */ 35311 _cf = 0; 35312 _flag_k = FK_TEST; 35313 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 35314 eax = 0; /* 0x2B0733B1: xor eax, eax */ 35315 _cf = 0; 35316 _flag_k = FK_TEST; 35317 edi = 0x2B0EF014u; /* 0x2B0733B3: mov edi, 0x2b0ef014 */ 35318 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; } /* 0x2B0733B8: repne scasb al, byte ptr es:[edi] */ 35319 ecx = ~ecx; /* 0x2B0733BA: not ecx */ 35320 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 35321 ecx = ecx - 1; /* 0x2B0733BC: dec ecx */ 35322 _flag_k = FK_DEC; 35323 edi = ecx; /* 0x2B0733BD: mov edi, ecx */ 35324 PUSH32(esp, 1); /* 0x2B0733BF: push 1 */ 35325 PUSH32(esp, edi); /* 0x2B0733C1: push edi */ 35326 ecx = ebx; /* 0x2B0733C2: mov ecx, ebx */ 35327 MEM32(ebp + (-0x4)) = esi; /* 0x2B0733C4: mov dword ptr [ebp - 4], esi */ 35328 MEM32(ebp + (-0x8)) = edi; /* 0x2B0733C7: mov dword ptr [ebp - 8], edi */ 35329 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0733CA: call dword ptr [0x2b0b5154] */ 35330 RECOMP_FLAGS_IN(); 35331 /* test LO8(eax), LO8(eax) */ /* 0x2B0733D0: test al, al */ 35332 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 35333 _cf = 0; 35334 _flag_k = FK_NARROW(FK_TEST, 24); 35335 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0733F9; /* 0x2B0733D2: je 0x2b0733f9 */ 35336 L_2B0733D4: 35337 ecx = edi; /* 0x2B0733D4: mov ecx, edi */ 35338 edi = MEM32(ebx + 0x4); /* 0x2B0733D6: mov edi, dword ptr [ebx + 4] */ 35339 eax = ecx; /* 0x2B0733D9: mov eax, ecx */ 35340 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0733DB: shr ecx, 2 */ 35341 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 35342 ecx = ecx >> 2u; /* 0x2B0733DB: shr ecx, 2 */ 35343 esi = 0x2B0EF014u; /* 0x2B0733DE: mov esi, 0x2b0ef014 */ 35344 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0733E3: 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; } 35345 ecx = eax; /* 0x2B0733E5: mov ecx, eax */ 35346 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 35347 ecx = ecx & 3; /* 0x2B0733E7: and ecx, 3 */ 35348 _cf = 0; 35349 _flag_k = FK_TEST; 35350 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0733EA: 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; } 35351 ecx = MEM32(ebx + 0x4); /* 0x2B0733EC: mov ecx, dword ptr [ebx + 4] */ 35352 esi = MEM32(ebp + (-0x4)); /* 0x2B0733EF: mov esi, dword ptr [ebp - 4] */ 35353 MEM32(ebx + 0x8) = eax; /* 0x2B0733F2: mov dword ptr [ebx + 8], eax */ 35354 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B0733F5: mov byte ptr [eax + ecx], 0 */ 35355 L_2B0733F9: 35356 ecx = MEM32(esi + 0x28); /* 0x2B0733F9: mov ecx, dword ptr [esi + 0x28] */ 35357 PUSH32(esp, 0x12u); /* 0x2B0733FC: push 0x12 */ 35358 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0733FE: push -1 */ 35359 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B073400: call dword ptr [0x2b0b5a74] */ 35360 RECOMP_FLAGS_IN(); 35361 edx = MEM32(0x2B0B515C); /* 0x2B073406: mov edx, dword ptr [0x2b0b515c] */ 35362 ebx = MEM32(esi + 0x28); /* 0x2B07340C: mov ebx, dword ptr [esi + 0x28] */ 35363 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 35364 eax = 0; /* 0x2B07340F: xor eax, eax */ 35365 _cf = 0; 35366 _flag_k = FK_TEST; 35367 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 35368 ecx = ecx | 0xFFFFFFFFu; /* 0x2B073411: or ecx, 0xffffffff */ 35369 _cf = 0; 35370 _flag_k = FK_TEST; 35371 edi = 0x2B0EBF24u; /* 0x2B073414: mov edi, 0x2b0ebf24 */ 35372 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; } /* 0x2B073419: repne scasb al, byte ptr es:[edi] */ 35373 eax = MEM32(edx); /* 0x2B07341B: mov eax, dword ptr [edx] */ 35374 edx = MEM32(ebx + 0x8); /* 0x2B07341D: mov edx, dword ptr [ebx + 8] */ 35375 ecx = ~ecx; /* 0x2B073420: not ecx */ 35376 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 35377 ecx = ecx - 1; /* 0x2B073422: dec ecx */ 35378 _flag_k = FK_DEC; 35379 esi = ecx; /* 0x2B073423: mov esi, ecx */ 35380 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 35381 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35382 eax = eax - edx; /* 0x2B073425: sub eax, edx */ 35383 _flag_k = FK_CMP; 35384 /* cmp eax, esi */ /* 0x2B073427: cmp eax, esi */ 35385 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 35386 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35387 _flag_k = FK_CMP; 35388 if (CMP_A(_flag_a, _flag_b)) goto L_2B073431; /* 0x2B073429: ja 0x2b073431 */ 35389 L_2B07342B: 35390 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07342B: call dword ptr [0x2b0b51a8] */ 35391 RECOMP_FLAGS_IN(); 35392 L_2B073431: 35393 /* test esi, esi */ /* 0x2B073431: test esi, esi */ 35394 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 35395 _cf = 0; 35396 _flag_k = FK_TEST; 35397 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073476; /* 0x2B073433: jbe 0x2b073476 */ 35398 L_2B073435: 35399 eax = MEM32(ebx + 0x8); /* 0x2B073435: mov eax, dword ptr [ebx + 8] */ 35400 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 35401 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 35402 eax = eax + esi; /* 0x2B073438: add eax, esi */ 35403 _flag_k = FK_ADD; 35404 PUSH32(esp, 0); /* 0x2B07343A: push 0 */ 35405 PUSH32(esp, eax); /* 0x2B07343C: push eax */ 35406 ecx = ebx; /* 0x2B07343D: mov ecx, ebx */ 35407 MEM32(ebp + (-0x8)) = eax; /* 0x2B07343F: mov dword ptr [ebp - 8], eax */ 35408 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B073442: call dword ptr [0x2b0b5154] */ 35409 RECOMP_FLAGS_IN(); 35410 /* test LO8(eax), LO8(eax) */ /* 0x2B073448: test al, al */ 35411 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 35412 _cf = 0; 35413 _flag_k = FK_NARROW(FK_TEST, 24); 35414 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073476; /* 0x2B07344A: je 0x2b073476 */ 35415 L_2B07344C: 35416 edi = MEM32(ebx + 0x8); /* 0x2B07344C: mov edi, dword ptr [ebx + 8] */ 35417 edx = MEM32(ebx + 0x4); /* 0x2B07344F: mov edx, dword ptr [ebx + 4] */ 35418 eax = MEM32(ebp + (-0x8)); /* 0x2B073452: mov eax, dword ptr [ebp - 8] */ 35419 ecx = esi; /* 0x2B073455: mov ecx, esi */ 35420 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 35421 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 35422 edi = edi + edx; /* 0x2B073457: add edi, edx */ 35423 _flag_k = FK_ADD; 35424 edx = ecx; /* 0x2B073459: mov edx, ecx */ 35425 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07345B: shr ecx, 2 */ 35426 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 35427 ecx = ecx >> 2u; /* 0x2B07345B: shr ecx, 2 */ 35428 esi = 0x2B0EBF24u; /* 0x2B07345E: mov esi, 0x2b0ebf24 */ 35429 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B073463: 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; } 35430 ecx = edx; /* 0x2B073465: mov ecx, edx */ 35431 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 35432 ecx = ecx & 3; /* 0x2B073467: and ecx, 3 */ 35433 _cf = 0; 35434 _flag_k = FK_TEST; 35435 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07346A: 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; } 35436 ecx = MEM32(ebx + 0x4); /* 0x2B07346C: mov ecx, dword ptr [ebx + 4] */ 35437 MEM32(ebx + 0x8) = eax; /* 0x2B07346F: mov dword ptr [ebx + 8], eax */ 35438 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B073472: mov byte ptr [ecx + eax], 0 */ 35439 L_2B073476: 35440 edx = MEM32(ebp + 0x8); /* 0x2B073476: mov edx, dword ptr [ebp + 8] */ 35441 PUSH32(esp, edx); /* 0x2B073479: push edx */ 35442 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B07347A: call dword ptr [0x2b0b5d6c] */ 35443 RECOMP_FLAGS_IN(); 35444 ecx = eax; /* 0x2B073480: mov ecx, eax */ 35445 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B073482: call dword ptr [0x2b0b5d50] */ 35446 RECOMP_FLAGS_IN(); 35447 esi = eax; /* 0x2B073488: mov esi, eax */ 35448 eax = MEM32(ebp + (-0x4)); /* 0x2B07348A: mov eax, dword ptr [ebp - 4] */ 35449 ebx = MEM32(eax + 0x28); /* 0x2B07348D: mov ebx, dword ptr [eax + 0x28] */ 35450 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 35451 ecx = ecx | 0xFFFFFFFFu; /* 0x2B073490: or ecx, 0xffffffff */ 35452 _cf = 0; 35453 _flag_k = FK_TEST; 35454 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 35455 eax = 0; /* 0x2B073493: xor eax, eax */ 35456 _cf = 0; 35457 _flag_k = FK_TEST; 35458 edi = esi; /* 0x2B073495: mov edi, esi */ 35459 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; } /* 0x2B073497: repne scasb al, byte ptr es:[edi] */ 35460 ecx = ~ecx; /* 0x2B073499: not ecx */ 35461 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 35462 ecx = ecx - 1; /* 0x2B07349B: dec ecx */ 35463 _flag_k = FK_DEC; 35464 edi = ecx; /* 0x2B07349C: mov edi, ecx */ 35465 ecx = MEM32(0x2B0B515C); /* 0x2B07349E: mov ecx, dword ptr [0x2b0b515c] */ 35466 edx = MEM32(ecx); /* 0x2B0734A4: mov edx, dword ptr [ecx] */ 35467 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebx + 0x8)); 35468 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35469 edx = edx - MEM32(ebx + 0x8); /* 0x2B0734A6: sub edx, dword ptr [ebx + 8] */ 35470 _flag_k = FK_CMP; 35471 /* cmp edx, edi */ /* 0x2B0734A9: cmp edx, edi */ 35472 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 35473 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35474 _flag_k = FK_CMP; 35475 if (CMP_A(_flag_a, _flag_b)) goto L_2B0734B3; /* 0x2B0734AB: ja 0x2b0734b3 */ 35476 L_2B0734AD: 35477 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0734AD: call dword ptr [0x2b0b51a8] */ 35478 RECOMP_FLAGS_IN(); 35479 L_2B0734B3: 35480 /* test edi, edi */ /* 0x2B0734B3: test edi, edi */ 35481 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 35482 _cf = 0; 35483 _flag_k = FK_TEST; 35484 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0734F3; /* 0x2B0734B5: jbe 0x2b0734f3 */ 35485 L_2B0734B7: 35486 eax = MEM32(ebx + 0x8); /* 0x2B0734B7: mov eax, dword ptr [ebx + 8] */ 35487 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 35488 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 35489 eax = eax + edi; /* 0x2B0734BA: add eax, edi */ 35490 _flag_k = FK_ADD; 35491 PUSH32(esp, 0); /* 0x2B0734BC: push 0 */ 35492 PUSH32(esp, eax); /* 0x2B0734BE: push eax */ 35493 ecx = ebx; /* 0x2B0734BF: mov ecx, ebx */ 35494 MEM32(ebp + (-0x8)) = eax; /* 0x2B0734C1: mov dword ptr [ebp - 8], eax */ 35495 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0734C4: call dword ptr [0x2b0b5154] */ 35496 RECOMP_FLAGS_IN(); 35497 /* test LO8(eax), LO8(eax) */ /* 0x2B0734CA: test al, al */ 35498 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 35499 _cf = 0; 35500 _flag_k = FK_NARROW(FK_TEST, 24); 35501 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0734F3; /* 0x2B0734CC: je 0x2b0734f3 */ 35502 L_2B0734CE: 35503 eax = MEM32(ebx + 0x4); /* 0x2B0734CE: mov eax, dword ptr [ebx + 4] */ 35504 ecx = edi; /* 0x2B0734D1: mov ecx, edi */ 35505 edi = MEM32(ebx + 0x8); /* 0x2B0734D3: mov edi, dword ptr [ebx + 8] */ 35506 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 35507 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 35508 edi = edi + eax; /* 0x2B0734D6: add edi, eax */ 35509 _flag_k = FK_ADD; 35510 eax = ecx; /* 0x2B0734D8: mov eax, ecx */ 35511 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0734DA: shr ecx, 2 */ 35512 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 35513 ecx = ecx >> 2u; /* 0x2B0734DA: shr ecx, 2 */ 35514 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0734DD: 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; } 35515 ecx = eax; /* 0x2B0734DF: mov ecx, eax */ 35516 eax = MEM32(ebp + (-0x8)); /* 0x2B0734E1: mov eax, dword ptr [ebp - 8] */ 35517 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 35518 ecx = ecx & 3; /* 0x2B0734E4: and ecx, 3 */ 35519 _cf = 0; 35520 _flag_k = FK_TEST; 35521 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0734E7: 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; } 35522 ecx = MEM32(ebx + 0x4); /* 0x2B0734E9: mov ecx, dword ptr [ebx + 4] */ 35523 MEM32(ebx + 0x8) = eax; /* 0x2B0734EC: mov dword ptr [ebx + 8], eax */ 35524 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B0734EF: mov byte ptr [ecx + eax], 0 */ 35525 L_2B0734F3: 35526 edx = MEM32(ebp + (-0x4)); /* 0x2B0734F3: mov edx, dword ptr [ebp - 4] */ 35527 ebx = MEM32(edx + 0x28); /* 0x2B0734F6: mov ebx, dword ptr [edx + 0x28] */ 35528 edx = MEM32(ebx + 0x8); /* 0x2B0734F9: mov edx, dword ptr [ebx + 8] */ 35529 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 35530 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0734FC: or ecx, 0xffffffff */ 35531 _cf = 0; 35532 _flag_k = FK_TEST; 35533 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 35534 eax = 0; /* 0x2B0734FF: xor eax, eax */ 35535 _cf = 0; 35536 _flag_k = FK_TEST; 35537 edi = 0x2B0E2BF8u; /* 0x2B073501: mov edi, 0x2b0e2bf8 */ 35538 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; } /* 0x2B073506: repne scasb al, byte ptr es:[edi] */ 35539 eax = MEM32(0x2B0B515C); /* 0x2B073508: mov eax, dword ptr [0x2b0b515c] */ 35540 ecx = ~ecx; /* 0x2B07350D: not ecx */ 35541 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 35542 ecx = ecx - 1; /* 0x2B07350F: dec ecx */ 35543 _flag_k = FK_DEC; 35544 edi = ecx; /* 0x2B073510: mov edi, ecx */ 35545 ecx = MEM32(eax); /* 0x2B073512: mov ecx, dword ptr [eax] */ 35546 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 35547 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35548 ecx = ecx - edx; /* 0x2B073514: sub ecx, edx */ 35549 _flag_k = FK_CMP; 35550 /* cmp ecx, edi */ /* 0x2B073516: cmp ecx, edi */ 35551 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 35552 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35553 _flag_k = FK_CMP; 35554 if (CMP_A(_flag_a, _flag_b)) goto L_2B073520; /* 0x2B073518: ja 0x2b073520 */ 35555 L_2B07351A: 35556 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07351A: call dword ptr [0x2b0b51a8] */ 35557 RECOMP_FLAGS_IN(); 35558 L_2B073520: 35559 /* test edi, edi */ /* 0x2B073520: test edi, edi */ 35560 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 35561 _cf = 0; 35562 _flag_k = FK_TEST; 35563 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0735B1; /* 0x2B073522: jbe 0x2b0735b1 */ 35564 L_2B073528: 35565 esi = MEM32(ebx + 0x8); /* 0x2B073528: mov esi, dword ptr [ebx + 8] */ 35566 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 35567 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 35568 esi = esi + edi; /* 0x2B07352B: add esi, edi */ 35569 _flag_k = FK_ADD; 35570 /* cmp esi, 0xFFFFFFFDu */ /* 0x2B07352D: cmp esi, -3 */ 35571 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0xFFFFFFFDu); 35572 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35573 _flag_k = FK_CMP; 35574 MEM32(ebp + (-0x8)) = esi; /* 0x2B073530: mov dword ptr [ebp - 8], esi */ 35575 if (CMP_BE(_flag_a, _flag_b)) goto L_2B07353B; /* 0x2B073533: jbe 0x2b07353b */ 35576 L_2B073535: 35577 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B073535: call dword ptr [0x2b0b51a8] */ 35578 RECOMP_FLAGS_IN(); 35579 L_2B07353B: 35580 /* cmp esi, MEM32(ebx + 0x8) */ /* 0x2B07353B: cmp esi, dword ptr [ebx + 8] */ 35581 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ebx + 0x8)); 35582 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35583 _flag_k = FK_CMP; 35584 if (CMP_AE(_flag_a, _flag_b)) goto L_2B073543; /* 0x2B07353E: jae 0x2b073543 */ 35585 L_2B073540: 35586 MEM32(ebx + 0x8) = esi; /* 0x2B073540: mov dword ptr [ebx + 8], esi */ 35587 L_2B073543: 35588 eax = MEM32(ebx + 0x4); /* 0x2B073543: mov eax, dword ptr [ebx + 4] */ 35589 /* test eax, eax */ /* 0x2B073546: test eax, eax */ 35590 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 35591 _cf = 0; 35592 _flag_k = FK_TEST; 35593 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073566; /* 0x2B073548: je 0x2b073566 */ 35594 L_2B07354A: 35595 SET_LO8(ecx, MEM8(eax + (-0x1))); /* 0x2B07354A: mov cl, byte ptr [eax - 1] */ 35596 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07354D: test cl, cl */ 35597 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 35598 _cf = 0; 35599 _flag_k = FK_NARROW(FK_TEST, 24); 35600 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073566; /* 0x2B07354F: je 0x2b073566 */ 35601 L_2B073551: 35602 /* cmp LO8(ecx), 0xFFu */ /* 0x2B073551: cmp cl, 0xff */ 35603 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 35604 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35605 _flag_k = FK_NARROW(FK_CMP, 24); 35606 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B073566; /* 0x2B073554: je 0x2b073566 */ 35607 L_2B073556: 35608 /* test esi, esi */ /* 0x2B073556: test esi, esi */ 35609 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 35610 _cf = 0; 35611 _flag_k = FK_TEST; 35612 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07357E; /* 0x2B073558: jne 0x2b07357e */ 35613 L_2B07355A: 35614 PUSH32(esp, 1); /* 0x2B07355A: push 1 */ 35615 ecx = ebx; /* 0x2B07355C: mov ecx, ebx */ 35616 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07355E: call dword ptr [0x2b0b514c] */ 35617 RECOMP_FLAGS_IN(); 35618 goto L_2B0735B1; /* 0x2B073564: jmp 0x2b0735b1 */ 35619 L_2B073566: 35620 /* test esi, esi */ /* 0x2B073566: test esi, esi */ 35621 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 35622 _cf = 0; 35623 _flag_k = FK_TEST; 35624 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B073579; /* 0x2B073568: jne 0x2b073579 */ 35625 L_2B07356A: 35626 /* test eax, eax */ /* 0x2B07356A: test eax, eax */ 35627 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 35628 _cf = 0; 35629 _flag_k = FK_TEST; 35630 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0735B1; /* 0x2B07356C: je 0x2b0735b1 */ 35631 L_2B07356E: 35632 PUSH32(esp, esi); /* 0x2B07356E: push esi */ 35633 ecx = ebx; /* 0x2B07356F: mov ecx, ebx */ 35634 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B073571: call dword ptr [0x2b0b5150] */ 35635 RECOMP_FLAGS_IN(); 35636 goto L_2B0735B1; /* 0x2B073577: jmp 0x2b0735b1 */ 35637 L_2B073579: 35638 /* cmp MEM32(ebx + 0xC), esi */ /* 0x2B073579: cmp dword ptr [ebx + 0xc], esi */ 35639 _flag_a = (uint32_t)(MEM32(ebx + 0xC)); _flag_b = (uint32_t)(esi); 35640 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35641 _flag_k = FK_CMP; 35642 if (CMP_AE(_flag_a, _flag_b)) goto L_2B073587; /* 0x2B07357C: jae 0x2b073587 */ 35643 L_2B07357E: 35644 PUSH32(esp, esi); /* 0x2B07357E: push esi */ 35645 ecx = ebx; /* 0x2B07357F: mov ecx, ebx */ 35646 RECOMP_ICALL(MEM32(0x2B0B5110)); /* 0x2B073581: call dword ptr [0x2b0b5110] */ 35647 RECOMP_FLAGS_IN(); 35648 L_2B073587: 35649 edx = MEM32(ebx + 0x4); /* 0x2B073587: mov edx, dword ptr [ebx + 4] */ 35650 eax = MEM32(ebp + (-0x8)); /* 0x2B07358A: mov eax, dword ptr [ebp - 8] */ 35651 ecx = edi; /* 0x2B07358D: mov ecx, edi */ 35652 edi = MEM32(ebx + 0x8); /* 0x2B07358F: mov edi, dword ptr [ebx + 8] */ 35653 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 35654 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 35655 edi = edi + edx; /* 0x2B073592: add edi, edx */ 35656 _flag_k = FK_ADD; 35657 edx = ecx; /* 0x2B073594: mov edx, ecx */ 35658 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B073596: shr ecx, 2 */ 35659 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 35660 ecx = ecx >> 2u; /* 0x2B073596: shr ecx, 2 */ 35661 esi = 0x2B0E2BF8u; /* 0x2B073599: mov esi, 0x2b0e2bf8 */ 35662 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07359E: 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; } 35663 ecx = edx; /* 0x2B0735A0: mov ecx, edx */ 35664 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 35665 ecx = ecx & 3; /* 0x2B0735A2: and ecx, 3 */ 35666 _cf = 0; 35667 _flag_k = FK_TEST; 35668 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0735A5: 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; } 35669 ecx = MEM32(ebx + 0x4); /* 0x2B0735A7: mov ecx, dword ptr [ebx + 4] */ 35670 MEM32(ebx + 0x8) = eax; /* 0x2B0735AA: mov dword ptr [ebx + 8], eax */ 35671 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B0735AD: mov byte ptr [ecx + eax], 0 */ 35672 L_2B0735B1: 35673 ecx = MEM32(ebp + (-0x4)); /* 0x2B0735B1: mov ecx, dword ptr [ebp - 4] */ 35674 edx = MEM32(ecx + 0x28); /* 0x2B0735B4: mov edx, dword ptr [ecx + 0x28] */ 35675 eax = MEM32(ebp + 0x8); /* 0x2B0735B7: mov eax, dword ptr [ebp + 8] */ 35676 PUSH32(esp, edx); /* 0x2B0735BA: push edx */ 35677 PUSH32(esp, eax); /* 0x2B0735BB: push eax */ 35678 RECOMP_ICALL(0x2B074010u); /* 0x2B0735BC: call 0x2b074010 */ /* not lifted */ 35679 RECOMP_FLAGS_IN(); 35680 edi = POP32_VAL(esp); /* 0x2B0735C1: pop edi */ 35681 esi = POP32_VAL(esp); /* 0x2B0735C2: pop esi */ 35682 ebx = POP32_VAL(esp); /* 0x2B0735C3: pop ebx */ 35683 esp = ebp; /* 0x2B0735C4: mov esp, ebp */ 35684 ebp = POP32_VAL(esp); /* 0x2B0735C6: pop ebp */ 35685 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0735C7: ret 4 */ 35686 RECOMP_REGS_OUT(); 35687 } 35688 35689 void sub_2B0735D0(void) { 35690 int _fpu_cmp = 0; 35691 uint32_t _cf = 0; 35692 int _df = 1; 35693 uint32_t _flag_k = FK_NONE; 35694 uint32_t _flag_a = 0, _flag_b = 0; 35695 uint32_t _itail_tgt = 0; 35696 RECOMP_REGS_LOCALS 35697 RECOMP_ENTER(0x2B0735D0u); 35698 35699 L_2B0735D0: 35700 PUSH32(esp, ebp); /* 0x2B0735D0: push ebp */ 35701 ebp = esp; /* 0x2B0735D1: mov ebp, esp */ 35702 SET_LO8(eax, MEM8(ecx + 0x1C)); /* 0x2B0735D3: mov al, byte ptr [ecx + 0x1c] */ 35703 /* test LO8(eax), LO8(eax) */ /* 0x2B0735D6: test al, al */ 35704 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 35705 _cf = 0; 35706 _flag_k = FK_NARROW(FK_TEST, 24); 35707 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0735F4; /* 0x2B0735D8: je 0x2b0735f4 */ 35708 L_2B0735DA: 35709 eax = MEM32(ebp + 0xC); /* 0x2B0735DA: mov eax, dword ptr [ebp + 0xc] */ 35710 ecx = MEM32(ebp + 0x8); /* 0x2B0735DD: mov ecx, dword ptr [ebp + 8] */ 35711 PUSH32(esp, eax); /* 0x2B0735E0: push eax */ 35712 PUSH32(esp, ecx); /* 0x2B0735E1: push ecx */ 35713 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0735E2: call dword ptr [0x2b0b5d6c] */ 35714 RECOMP_FLAGS_IN(); 35715 ecx = eax; /* 0x2B0735E8: mov ecx, eax */ 35716 RECOMP_ICALL(MEM32(0x2B0B5E74)); /* 0x2B0735EA: call dword ptr [0x2b0b5e74] */ 35717 RECOMP_FLAGS_IN(); 35718 ebp = POP32_VAL(esp); /* 0x2B0735F0: pop ebp */ 35719 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0735F1: ret 8 */ 35720 L_2B0735F4: 35721 edx = MEM32(ebp + 0xC); /* 0x2B0735F4: mov edx, dword ptr [ebp + 0xc] */ 35722 eax = MEM32(ebp + 0x8); /* 0x2B0735F7: mov eax, dword ptr [ebp + 8] */ 35723 PUSH32(esp, edx); /* 0x2B0735FA: push edx */ 35724 PUSH32(esp, eax); /* 0x2B0735FB: push eax */ 35725 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0735FC: call dword ptr [0x2b0b5d6c] */ 35726 RECOMP_FLAGS_IN(); 35727 ecx = eax; /* 0x2B073602: mov ecx, eax */ 35728 RECOMP_ICALL(MEM32(0x2B0B5EE0)); /* 0x2B073604: call dword ptr [0x2b0b5ee0] */ 35729 RECOMP_FLAGS_IN(); 35730 ebp = POP32_VAL(esp); /* 0x2B07360A: pop ebp */ 35731 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07360B: ret 8 */ 35732 RECOMP_REGS_OUT(); 35733 } 35734 35735 void sub_2B073610(void) { 35736 int _fpu_cmp = 0; 35737 uint32_t _cf = 0; 35738 int _df = 1; 35739 uint32_t _flag_k = FK_NONE; 35740 uint32_t _flag_a = 0, _flag_b = 0; 35741 uint32_t _itail_tgt = 0; 35742 RECOMP_REGS_LOCALS 35743 RECOMP_ENTER(0x2B073610u); 35744 35745 L_2B073610: 35746 PUSH32(esp, ebp); /* 0x2B073610: push ebp */ 35747 ebp = esp; /* 0x2B073611: mov ebp, esp */ 35748 PUSH32(esp, ebx); /* 0x2B073613: push ebx */ 35749 ebx = MEM32(ebp + 0x10); /* 0x2B073614: mov ebx, dword ptr [ebp + 0x10] */ 35750 PUSH32(esp, esi); /* 0x2B073617: push esi */ 35751 PUSH32(esp, edi); /* 0x2B073618: push edi */ 35752 PUSH32(esp, 0x13u); /* 0x2B073619: push 0x13 */ 35753 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07361B: push -1 */ 35754 ecx = ebx; /* 0x2B07361D: mov ecx, ebx */ 35755 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B07361F: call dword ptr [0x2b0b5a74] */ 35756 RECOMP_FLAGS_IN(); 35757 edi = MEM32(ebp + 0x8); /* 0x2B073625: mov edi, dword ptr [ebp + 8] */ 35758 edx = MEM32(ebx + 0x8); /* 0x2B073628: mov edx, dword ptr [ebx + 8] */ 35759 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 35760 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07362B: or ecx, 0xffffffff */ 35761 _cf = 0; 35762 _flag_k = FK_TEST; 35763 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 35764 eax = 0; /* 0x2B07362E: xor eax, eax */ 35765 _cf = 0; 35766 _flag_k = FK_TEST; 35767 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; } /* 0x2B073630: repne scasb al, byte ptr es:[edi] */ 35768 eax = MEM32(0x2B0B515C); /* 0x2B073632: mov eax, dword ptr [0x2b0b515c] */ 35769 ecx = ~ecx; /* 0x2B073637: not ecx */ 35770 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 35771 ecx = ecx - 1; /* 0x2B073639: dec ecx */ 35772 _flag_k = FK_DEC; 35773 esi = ecx; /* 0x2B07363A: mov esi, ecx */ 35774 ecx = MEM32(eax); /* 0x2B07363C: mov ecx, dword ptr [eax] */ 35775 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 35776 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35777 ecx = ecx - edx; /* 0x2B07363E: sub ecx, edx */ 35778 _flag_k = FK_CMP; 35779 /* cmp ecx, esi */ /* 0x2B073640: cmp ecx, esi */ 35780 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 35781 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35782 _flag_k = FK_CMP; 35783 if (CMP_A(_flag_a, _flag_b)) goto L_2B07364A; /* 0x2B073642: ja 0x2b07364a */ 35784 L_2B073644: 35785 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B073644: call dword ptr [0x2b0b51a8] */ 35786 RECOMP_FLAGS_IN(); 35787 L_2B07364A: 35788 /* test esi, esi */ /* 0x2B07364A: test esi, esi */ 35789 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 35790 _cf = 0; 35791 _flag_k = FK_TEST; 35792 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0736E2; /* 0x2B07364C: jbe 0x2b0736e2 */ 35793 L_2B073652: 35794 edx = MEM32(ebx + 0x8); /* 0x2B073652: mov edx, dword ptr [ebx + 8] */ 35795 edi = esi; /* 0x2B073655: mov edi, esi */ 35796 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 35797 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 35798 edi = edi + edx; /* 0x2B073657: add edi, edx */ 35799 _flag_k = FK_ADD; 35800 ecx = ebx; /* 0x2B073659: mov ecx, ebx */ 35801 MEM32(ebp + 0x10) = edi; /* 0x2B07365B: mov dword ptr [ebp + 0x10], edi */ 35802 RECOMP_ICALL(MEM32(0x2B0B5118)); /* 0x2B07365E: call dword ptr [0x2b0b5118] */ 35803 RECOMP_FLAGS_IN(); 35804 /* cmp eax, edi */ /* 0x2B073664: cmp eax, edi */ 35805 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 35806 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35807 _flag_k = FK_CMP; 35808 if (CMP_AE(_flag_a, _flag_b)) goto L_2B07366E; /* 0x2B073666: jae 0x2b07366e */ 35809 L_2B073668: 35810 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B073668: call dword ptr [0x2b0b51a8] */ 35811 RECOMP_FLAGS_IN(); 35812 L_2B07366E: 35813 /* cmp edi, MEM32(ebx + 0x8) */ /* 0x2B07366E: cmp edi, dword ptr [ebx + 8] */ 35814 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ebx + 0x8)); 35815 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35816 _flag_k = FK_CMP; 35817 if (CMP_AE(_flag_a, _flag_b)) goto L_2B073676; /* 0x2B073671: jae 0x2b073676 */ 35818 L_2B073673: 35819 MEM32(ebx + 0x8) = edi; /* 0x2B073673: mov dword ptr [ebx + 8], edi */ 35820 L_2B073676: 35821 eax = MEM32(ebx + 0x4); /* 0x2B073676: mov eax, dword ptr [ebx + 4] */ 35822 /* test eax, eax */ /* 0x2B073679: test eax, eax */ 35823 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 35824 _cf = 0; 35825 _flag_k = FK_TEST; 35826 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073699; /* 0x2B07367B: je 0x2b073699 */ 35827 L_2B07367D: 35828 SET_LO8(ecx, MEM8(eax + (-0x1))); /* 0x2B07367D: mov cl, byte ptr [eax - 1] */ 35829 /* test LO8(ecx), LO8(ecx) */ /* 0x2B073680: test cl, cl */ 35830 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 35831 _cf = 0; 35832 _flag_k = FK_NARROW(FK_TEST, 24); 35833 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073699; /* 0x2B073682: je 0x2b073699 */ 35834 L_2B073684: 35835 /* cmp LO8(ecx), 0xFFu */ /* 0x2B073684: cmp cl, 0xff */ 35836 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 35837 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35838 _flag_k = FK_NARROW(FK_CMP, 24); 35839 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B073699; /* 0x2B073687: je 0x2b073699 */ 35840 L_2B073689: 35841 /* test edi, edi */ /* 0x2B073689: test edi, edi */ 35842 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 35843 _cf = 0; 35844 _flag_k = FK_TEST; 35845 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0736B1; /* 0x2B07368B: jne 0x2b0736b1 */ 35846 L_2B07368D: 35847 PUSH32(esp, 1); /* 0x2B07368D: push 1 */ 35848 ecx = ebx; /* 0x2B07368F: mov ecx, ebx */ 35849 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B073691: call dword ptr [0x2b0b514c] */ 35850 RECOMP_FLAGS_IN(); 35851 goto L_2B0736E2; /* 0x2B073697: jmp 0x2b0736e2 */ 35852 L_2B073699: 35853 /* test edi, edi */ /* 0x2B073699: test edi, edi */ 35854 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 35855 _cf = 0; 35856 _flag_k = FK_TEST; 35857 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0736AC; /* 0x2B07369B: jne 0x2b0736ac */ 35858 L_2B07369D: 35859 /* test eax, eax */ /* 0x2B07369D: test eax, eax */ 35860 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 35861 _cf = 0; 35862 _flag_k = FK_TEST; 35863 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0736E2; /* 0x2B07369F: je 0x2b0736e2 */ 35864 L_2B0736A1: 35865 PUSH32(esp, edi); /* 0x2B0736A1: push edi */ 35866 ecx = ebx; /* 0x2B0736A2: mov ecx, ebx */ 35867 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B0736A4: call dword ptr [0x2b0b5150] */ 35868 RECOMP_FLAGS_IN(); 35869 goto L_2B0736E2; /* 0x2B0736AA: jmp 0x2b0736e2 */ 35870 L_2B0736AC: 35871 /* cmp MEM32(ebx + 0xC), edi */ /* 0x2B0736AC: cmp dword ptr [ebx + 0xc], edi */ 35872 _flag_a = (uint32_t)(MEM32(ebx + 0xC)); _flag_b = (uint32_t)(edi); 35873 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35874 _flag_k = FK_CMP; 35875 if (CMP_AE(_flag_a, _flag_b)) goto L_2B0736BA; /* 0x2B0736AF: jae 0x2b0736ba */ 35876 L_2B0736B1: 35877 PUSH32(esp, edi); /* 0x2B0736B1: push edi */ 35878 ecx = ebx; /* 0x2B0736B2: mov ecx, ebx */ 35879 RECOMP_ICALL(MEM32(0x2B0B5110)); /* 0x2B0736B4: call dword ptr [0x2b0b5110] */ 35880 RECOMP_FLAGS_IN(); 35881 L_2B0736BA: 35882 edx = MEM32(ebx + 0x8); /* 0x2B0736BA: mov edx, dword ptr [ebx + 8] */ 35883 edi = MEM32(ebx + 0x4); /* 0x2B0736BD: mov edi, dword ptr [ebx + 4] */ 35884 eax = MEM32(ebp + 0x10); /* 0x2B0736C0: mov eax, dword ptr [ebp + 0x10] */ 35885 ecx = esi; /* 0x2B0736C3: mov ecx, esi */ 35886 esi = MEM32(ebp + 0x8); /* 0x2B0736C5: mov esi, dword ptr [ebp + 8] */ 35887 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 35888 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 35889 edi = edi + edx; /* 0x2B0736C8: add edi, edx */ 35890 _flag_k = FK_ADD; 35891 edx = ecx; /* 0x2B0736CA: mov edx, ecx */ 35892 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0736CC: shr ecx, 2 */ 35893 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 35894 ecx = ecx >> 2u; /* 0x2B0736CC: shr ecx, 2 */ 35895 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0736CF: 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; } 35896 ecx = edx; /* 0x2B0736D1: mov ecx, edx */ 35897 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 35898 ecx = ecx & 3; /* 0x2B0736D3: and ecx, 3 */ 35899 _cf = 0; 35900 _flag_k = FK_TEST; 35901 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0736D6: 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; } 35902 ecx = MEM32(ebx + 0x4); /* 0x2B0736D8: mov ecx, dword ptr [ebx + 4] */ 35903 MEM32(ebx + 0x8) = eax; /* 0x2B0736DB: mov dword ptr [ebx + 8], eax */ 35904 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B0736DE: mov byte ptr [ecx + eax], 0 */ 35905 L_2B0736E2: 35906 PUSH32(esp, 0x14u); /* 0x2B0736E2: push 0x14 */ 35907 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0736E4: push -1 */ 35908 ecx = ebx; /* 0x2B0736E6: mov ecx, ebx */ 35909 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B0736E8: call dword ptr [0x2b0b5a74] */ 35910 RECOMP_FLAGS_IN(); 35911 edi = MEM32(ebp + 0xC); /* 0x2B0736EE: mov edi, dword ptr [ebp + 0xc] */ 35912 edx = MEM32(0x2B0B515C); /* 0x2B0736F1: mov edx, dword ptr [0x2b0b515c] */ 35913 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 35914 eax = 0; /* 0x2B0736F7: xor eax, eax */ 35915 _cf = 0; 35916 _flag_k = FK_TEST; 35917 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 35918 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0736F9: or ecx, 0xffffffff */ 35919 _cf = 0; 35920 _flag_k = FK_TEST; 35921 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; } /* 0x2B0736FC: repne scasb al, byte ptr es:[edi] */ 35922 eax = MEM32(edx); /* 0x2B0736FE: mov eax, dword ptr [edx] */ 35923 edx = MEM32(ebx + 0x8); /* 0x2B073700: mov edx, dword ptr [ebx + 8] */ 35924 ecx = ~ecx; /* 0x2B073703: not ecx */ 35925 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 35926 ecx = ecx - 1; /* 0x2B073705: dec ecx */ 35927 _flag_k = FK_DEC; 35928 esi = ecx; /* 0x2B073706: mov esi, ecx */ 35929 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 35930 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35931 eax = eax - edx; /* 0x2B073708: sub eax, edx */ 35932 _flag_k = FK_CMP; 35933 /* cmp eax, esi */ /* 0x2B07370A: cmp eax, esi */ 35934 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 35935 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35936 _flag_k = FK_CMP; 35937 if (CMP_A(_flag_a, _flag_b)) goto L_2B073714; /* 0x2B07370C: ja 0x2b073714 */ 35938 L_2B07370E: 35939 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07370E: call dword ptr [0x2b0b51a8] */ 35940 RECOMP_FLAGS_IN(); 35941 L_2B073714: 35942 /* test esi, esi */ /* 0x2B073714: test esi, esi */ 35943 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 35944 _cf = 0; 35945 _flag_k = FK_TEST; 35946 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0737B6; /* 0x2B073716: jbe 0x2b0737b6 */ 35947 L_2B07371C: 35948 edx = MEM32(ebx + 0x8); /* 0x2B07371C: mov edx, dword ptr [ebx + 8] */ 35949 edi = esi; /* 0x2B07371F: mov edi, esi */ 35950 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 35951 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 35952 edi = edi + edx; /* 0x2B073721: add edi, edx */ 35953 _flag_k = FK_ADD; 35954 ecx = ebx; /* 0x2B073723: mov ecx, ebx */ 35955 MEM32(ebp + 0x8) = edi; /* 0x2B073725: mov dword ptr [ebp + 8], edi */ 35956 RECOMP_ICALL(MEM32(0x2B0B5118)); /* 0x2B073728: call dword ptr [0x2b0b5118] */ 35957 RECOMP_FLAGS_IN(); 35958 /* cmp eax, edi */ /* 0x2B07372E: cmp eax, edi */ 35959 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 35960 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35961 _flag_k = FK_CMP; 35962 if (CMP_AE(_flag_a, _flag_b)) goto L_2B073738; /* 0x2B073730: jae 0x2b073738 */ 35963 L_2B073732: 35964 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B073732: call dword ptr [0x2b0b51a8] */ 35965 RECOMP_FLAGS_IN(); 35966 L_2B073738: 35967 /* cmp edi, MEM32(ebx + 0x8) */ /* 0x2B073738: cmp edi, dword ptr [ebx + 8] */ 35968 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ebx + 0x8)); 35969 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35970 _flag_k = FK_CMP; 35971 if (CMP_AE(_flag_a, _flag_b)) goto L_2B073740; /* 0x2B07373B: jae 0x2b073740 */ 35972 L_2B07373D: 35973 MEM32(ebx + 0x8) = edi; /* 0x2B07373D: mov dword ptr [ebx + 8], edi */ 35974 L_2B073740: 35975 eax = MEM32(ebx + 0x4); /* 0x2B073740: mov eax, dword ptr [ebx + 4] */ 35976 /* test eax, eax */ /* 0x2B073743: test eax, eax */ 35977 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 35978 _cf = 0; 35979 _flag_k = FK_TEST; 35980 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073768; /* 0x2B073745: je 0x2b073768 */ 35981 L_2B073747: 35982 SET_LO8(ecx, MEM8(eax + (-0x1))); /* 0x2B073747: mov cl, byte ptr [eax - 1] */ 35983 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07374A: test cl, cl */ 35984 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 35985 _cf = 0; 35986 _flag_k = FK_NARROW(FK_TEST, 24); 35987 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073768; /* 0x2B07374C: je 0x2b073768 */ 35988 L_2B07374E: 35989 /* cmp LO8(ecx), 0xFFu */ /* 0x2B07374E: cmp cl, 0xff */ 35990 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 35991 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 35992 _flag_k = FK_NARROW(FK_CMP, 24); 35993 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B073768; /* 0x2B073751: je 0x2b073768 */ 35994 L_2B073753: 35995 /* test edi, edi */ /* 0x2B073753: test edi, edi */ 35996 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 35997 _cf = 0; 35998 _flag_k = FK_TEST; 35999 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B073785; /* 0x2B073755: jne 0x2b073785 */ 36000 L_2B073757: 36001 PUSH32(esp, 1); /* 0x2B073757: push 1 */ 36002 ecx = ebx; /* 0x2B073759: mov ecx, ebx */ 36003 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07375B: call dword ptr [0x2b0b514c] */ 36004 RECOMP_FLAGS_IN(); 36005 edi = POP32_VAL(esp); /* 0x2B073761: pop edi */ 36006 esi = POP32_VAL(esp); /* 0x2B073762: pop esi */ 36007 ebx = POP32_VAL(esp); /* 0x2B073763: pop ebx */ 36008 ebp = POP32_VAL(esp); /* 0x2B073764: pop ebp */ 36009 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B073765: ret 0xc */ 36010 L_2B073768: 36011 /* test edi, edi */ /* 0x2B073768: test edi, edi */ 36012 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 36013 _cf = 0; 36014 _flag_k = FK_TEST; 36015 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B073780; /* 0x2B07376A: jne 0x2b073780 */ 36016 L_2B07376C: 36017 /* test eax, eax */ /* 0x2B07376C: test eax, eax */ 36018 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 36019 _cf = 0; 36020 _flag_k = FK_TEST; 36021 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0737B6; /* 0x2B07376E: je 0x2b0737b6 */ 36022 L_2B073770: 36023 PUSH32(esp, edi); /* 0x2B073770: push edi */ 36024 ecx = ebx; /* 0x2B073771: mov ecx, ebx */ 36025 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B073773: call dword ptr [0x2b0b5150] */ 36026 RECOMP_FLAGS_IN(); 36027 edi = POP32_VAL(esp); /* 0x2B073779: pop edi */ 36028 esi = POP32_VAL(esp); /* 0x2B07377A: pop esi */ 36029 ebx = POP32_VAL(esp); /* 0x2B07377B: pop ebx */ 36030 ebp = POP32_VAL(esp); /* 0x2B07377C: pop ebp */ 36031 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B07377D: ret 0xc */ 36032 L_2B073780: 36033 /* cmp MEM32(ebx + 0xC), edi */ /* 0x2B073780: cmp dword ptr [ebx + 0xc], edi */ 36034 _flag_a = (uint32_t)(MEM32(ebx + 0xC)); _flag_b = (uint32_t)(edi); 36035 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36036 _flag_k = FK_CMP; 36037 if (CMP_AE(_flag_a, _flag_b)) goto L_2B07378E; /* 0x2B073783: jae 0x2b07378e */ 36038 L_2B073785: 36039 PUSH32(esp, edi); /* 0x2B073785: push edi */ 36040 ecx = ebx; /* 0x2B073786: mov ecx, ebx */ 36041 RECOMP_ICALL(MEM32(0x2B0B5110)); /* 0x2B073788: call dword ptr [0x2b0b5110] */ 36042 RECOMP_FLAGS_IN(); 36043 L_2B07378E: 36044 edx = MEM32(ebx + 0x8); /* 0x2B07378E: mov edx, dword ptr [ebx + 8] */ 36045 edi = MEM32(ebx + 0x4); /* 0x2B073791: mov edi, dword ptr [ebx + 4] */ 36046 eax = MEM32(ebp + 0x8); /* 0x2B073794: mov eax, dword ptr [ebp + 8] */ 36047 ecx = esi; /* 0x2B073797: mov ecx, esi */ 36048 esi = MEM32(ebp + 0xC); /* 0x2B073799: mov esi, dword ptr [ebp + 0xc] */ 36049 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 36050 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 36051 edi = edi + edx; /* 0x2B07379C: add edi, edx */ 36052 _flag_k = FK_ADD; 36053 edx = ecx; /* 0x2B07379E: mov edx, ecx */ 36054 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0737A0: shr ecx, 2 */ 36055 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 36056 ecx = ecx >> 2u; /* 0x2B0737A0: shr ecx, 2 */ 36057 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0737A3: 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; } 36058 ecx = edx; /* 0x2B0737A5: mov ecx, edx */ 36059 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 36060 ecx = ecx & 3; /* 0x2B0737A7: and ecx, 3 */ 36061 _cf = 0; 36062 _flag_k = FK_TEST; 36063 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0737AA: 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; } 36064 ecx = MEM32(ebx + 0x4); /* 0x2B0737AC: mov ecx, dword ptr [ebx + 4] */ 36065 MEM32(ebx + 0x8) = eax; /* 0x2B0737AF: mov dword ptr [ebx + 8], eax */ 36066 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B0737B2: mov byte ptr [ecx + eax], 0 */ 36067 L_2B0737B6: 36068 edi = POP32_VAL(esp); /* 0x2B0737B6: pop edi */ 36069 esi = POP32_VAL(esp); /* 0x2B0737B7: pop esi */ 36070 ebx = POP32_VAL(esp); /* 0x2B0737B8: pop ebx */ 36071 ebp = POP32_VAL(esp); /* 0x2B0737B9: pop ebp */ 36072 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B0737BA: ret 0xc */ 36073 RECOMP_REGS_OUT(); 36074 } 36075 36076 void sub_2B0737C0(void) { 36077 int _fpu_cmp = 0; 36078 uint32_t _cf = 0; 36079 int _df = 1; 36080 uint32_t _flag_k = FK_NONE; 36081 uint32_t _flag_a = 0, _flag_b = 0; 36082 uint32_t _itail_tgt = 0; 36083 RECOMP_REGS_LOCALS 36084 RECOMP_ENTER(0x2B0737C0u); 36085 36086 L_2B0737C0: 36087 PUSH32(esp, ebp); /* 0x2B0737C0: push ebp */ 36088 ebp = esp; /* 0x2B0737C1: mov ebp, esp */ 36089 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x58u); 36090 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36091 esp = esp - 0x58u; /* 0x2B0737C3: sub esp, 0x58 */ 36092 _flag_k = FK_CMP; 36093 PUSH32(esp, ebx); /* 0x2B0737C6: push ebx */ 36094 PUSH32(esp, esi); /* 0x2B0737C7: push esi */ 36095 esi = ecx; /* 0x2B0737C8: mov esi, ecx */ 36096 SET_LO8(eax, MEM8(esi + 0x1C)); /* 0x2B0737CA: mov al, byte ptr [esi + 0x1c] */ 36097 /* test LO8(eax), LO8(eax) */ /* 0x2B0737CD: test al, al */ 36098 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 36099 _cf = 0; 36100 _flag_k = FK_NARROW(FK_TEST, 24); 36101 PUSH32(esp, edi); /* 0x2B0737CF: push edi */ 36102 MEM32(ebp + (-0x4)) = esi; /* 0x2B0737D0: mov dword ptr [ebp - 4], esi */ 36103 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073A1C; /* 0x2B0737D3: je 0x2b073a1c */ 36104 L_2B0737D9: 36105 eax = MEM32(ebp + 0x8); /* 0x2B0737D9: mov eax, dword ptr [ebp + 8] */ 36106 PUSH32(esp, 0x4Au); /* 0x2B0737DC: push 0x4a */ 36107 PUSH32(esp, eax); /* 0x2B0737DE: push eax */ 36108 RECOMP_ICALL(0x2B0735D0u); /* 0x2B0737DF: call 0x2b0735d0 */ /* not lifted */ 36109 RECOMP_FLAGS_IN(); 36110 /* cmp eax, 0x499602D2u */ /* 0x2B0737E4: cmp eax, 0x499602d2 */ 36111 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 36112 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36113 _flag_k = FK_CMP; 36114 MEM32(ebp + (-0x8)) = eax; /* 0x2B0737E9: mov dword ptr [ebp - 8], eax */ 36115 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B073A1C; /* 0x2B0737EC: je 0x2b073a1c */ 36116 L_2B0737F2: 36117 /* test eax, eax */ /* 0x2B0737F2: test eax, eax */ 36118 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 36119 _cf = 0; 36120 _flag_k = FK_TEST; 36121 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073A1C; /* 0x2B0737F4: je 0x2b073a1c */ 36122 L_2B0737FA: 36123 ecx = MEM32(esi + 0x28); /* 0x2B0737FA: mov ecx, dword ptr [esi + 0x28] */ 36124 PUSH32(esp, 0x13u); /* 0x2B0737FD: push 0x13 */ 36125 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0737FF: push -1 */ 36126 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B073801: call dword ptr [0x2b0b5a74] */ 36127 RECOMP_FLAGS_IN(); 36128 ebx = MEM32(esi + 0x28); /* 0x2B073807: mov ebx, dword ptr [esi + 0x28] */ 36129 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 36130 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07380A: or ecx, 0xffffffff */ 36131 _cf = 0; 36132 _flag_k = FK_TEST; 36133 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 36134 eax = 0; /* 0x2B07380D: xor eax, eax */ 36135 _cf = 0; 36136 _flag_k = FK_TEST; 36137 edi = 0x2B0EBF34u; /* 0x2B07380F: mov edi, 0x2b0ebf34 */ 36138 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; } /* 0x2B073814: repne scasb al, byte ptr es:[edi] */ 36139 ecx = ~ecx; /* 0x2B073816: not ecx */ 36140 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 36141 ecx = ecx - 1; /* 0x2B073818: dec ecx */ 36142 _flag_k = FK_DEC; 36143 esi = ecx; /* 0x2B073819: mov esi, ecx */ 36144 ecx = MEM32(0x2B0B515C); /* 0x2B07381B: mov ecx, dword ptr [0x2b0b515c] */ 36145 edx = MEM32(ecx); /* 0x2B073821: mov edx, dword ptr [ecx] */ 36146 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebx + 0x8)); 36147 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36148 edx = edx - MEM32(ebx + 0x8); /* 0x2B073823: sub edx, dword ptr [ebx + 8] */ 36149 _flag_k = FK_CMP; 36150 /* cmp edx, esi */ /* 0x2B073826: cmp edx, esi */ 36151 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 36152 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36153 _flag_k = FK_CMP; 36154 if (CMP_A(_flag_a, _flag_b)) goto L_2B073830; /* 0x2B073828: ja 0x2b073830 */ 36155 L_2B07382A: 36156 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07382A: call dword ptr [0x2b0b51a8] */ 36157 RECOMP_FLAGS_IN(); 36158 L_2B073830: 36159 /* test esi, esi */ /* 0x2B073830: test esi, esi */ 36160 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 36161 _cf = 0; 36162 _flag_k = FK_TEST; 36163 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0738C8; /* 0x2B073832: jbe 0x2b0738c8 */ 36164 L_2B073838: 36165 edi = MEM32(ebx + 0x8); /* 0x2B073838: mov edi, dword ptr [ebx + 8] */ 36166 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 36167 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 36168 edi = edi + esi; /* 0x2B07383B: add edi, esi */ 36169 _flag_k = FK_ADD; 36170 ecx = ebx; /* 0x2B07383D: mov ecx, ebx */ 36171 MEM32(ebp + 0x8) = edi; /* 0x2B07383F: mov dword ptr [ebp + 8], edi */ 36172 RECOMP_ICALL(MEM32(0x2B0B5118)); /* 0x2B073842: call dword ptr [0x2b0b5118] */ 36173 RECOMP_FLAGS_IN(); 36174 /* cmp eax, edi */ /* 0x2B073848: cmp eax, edi */ 36175 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 36176 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36177 _flag_k = FK_CMP; 36178 if (CMP_AE(_flag_a, _flag_b)) goto L_2B073852; /* 0x2B07384A: jae 0x2b073852 */ 36179 L_2B07384C: 36180 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07384C: call dword ptr [0x2b0b51a8] */ 36181 RECOMP_FLAGS_IN(); 36182 L_2B073852: 36183 /* cmp edi, MEM32(ebx + 0x8) */ /* 0x2B073852: cmp edi, dword ptr [ebx + 8] */ 36184 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ebx + 0x8)); 36185 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36186 _flag_k = FK_CMP; 36187 if (CMP_AE(_flag_a, _flag_b)) goto L_2B07385A; /* 0x2B073855: jae 0x2b07385a */ 36188 L_2B073857: 36189 MEM32(ebx + 0x8) = edi; /* 0x2B073857: mov dword ptr [ebx + 8], edi */ 36190 L_2B07385A: 36191 eax = MEM32(ebx + 0x4); /* 0x2B07385A: mov eax, dword ptr [ebx + 4] */ 36192 /* test eax, eax */ /* 0x2B07385D: test eax, eax */ 36193 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 36194 _cf = 0; 36195 _flag_k = FK_TEST; 36196 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07387D; /* 0x2B07385F: je 0x2b07387d */ 36197 L_2B073861: 36198 SET_LO8(ecx, MEM8(eax + (-0x1))); /* 0x2B073861: mov cl, byte ptr [eax - 1] */ 36199 /* test LO8(ecx), LO8(ecx) */ /* 0x2B073864: test cl, cl */ 36200 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 36201 _cf = 0; 36202 _flag_k = FK_NARROW(FK_TEST, 24); 36203 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07387D; /* 0x2B073866: je 0x2b07387d */ 36204 L_2B073868: 36205 /* cmp LO8(ecx), 0xFFu */ /* 0x2B073868: cmp cl, 0xff */ 36206 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 36207 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36208 _flag_k = FK_NARROW(FK_CMP, 24); 36209 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07387D; /* 0x2B07386B: je 0x2b07387d */ 36210 L_2B07386D: 36211 /* test edi, edi */ /* 0x2B07386D: test edi, edi */ 36212 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 36213 _cf = 0; 36214 _flag_k = FK_TEST; 36215 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B073895; /* 0x2B07386F: jne 0x2b073895 */ 36216 L_2B073871: 36217 PUSH32(esp, 1); /* 0x2B073871: push 1 */ 36218 ecx = ebx; /* 0x2B073873: mov ecx, ebx */ 36219 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B073875: call dword ptr [0x2b0b514c] */ 36220 RECOMP_FLAGS_IN(); 36221 goto L_2B0738C8; /* 0x2B07387B: jmp 0x2b0738c8 */ 36222 L_2B07387D: 36223 /* test edi, edi */ /* 0x2B07387D: test edi, edi */ 36224 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 36225 _cf = 0; 36226 _flag_k = FK_TEST; 36227 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B073890; /* 0x2B07387F: jne 0x2b073890 */ 36228 L_2B073881: 36229 /* test eax, eax */ /* 0x2B073881: test eax, eax */ 36230 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 36231 _cf = 0; 36232 _flag_k = FK_TEST; 36233 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0738C8; /* 0x2B073883: je 0x2b0738c8 */ 36234 L_2B073885: 36235 PUSH32(esp, edi); /* 0x2B073885: push edi */ 36236 ecx = ebx; /* 0x2B073886: mov ecx, ebx */ 36237 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B073888: call dword ptr [0x2b0b5150] */ 36238 RECOMP_FLAGS_IN(); 36239 goto L_2B0738C8; /* 0x2B07388E: jmp 0x2b0738c8 */ 36240 L_2B073890: 36241 /* cmp MEM32(ebx + 0xC), edi */ /* 0x2B073890: cmp dword ptr [ebx + 0xc], edi */ 36242 _flag_a = (uint32_t)(MEM32(ebx + 0xC)); _flag_b = (uint32_t)(edi); 36243 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36244 _flag_k = FK_CMP; 36245 if (CMP_AE(_flag_a, _flag_b)) goto L_2B07389E; /* 0x2B073893: jae 0x2b07389e */ 36246 L_2B073895: 36247 PUSH32(esp, edi); /* 0x2B073895: push edi */ 36248 ecx = ebx; /* 0x2B073896: mov ecx, ebx */ 36249 RECOMP_ICALL(MEM32(0x2B0B5110)); /* 0x2B073898: call dword ptr [0x2b0b5110] */ 36250 RECOMP_FLAGS_IN(); 36251 L_2B07389E: 36252 edi = MEM32(ebx + 0x8); /* 0x2B07389E: mov edi, dword ptr [ebx + 8] */ 36253 eax = MEM32(ebx + 0x4); /* 0x2B0738A1: mov eax, dword ptr [ebx + 4] */ 36254 ecx = esi; /* 0x2B0738A4: mov ecx, esi */ 36255 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 36256 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 36257 edi = edi + eax; /* 0x2B0738A6: add edi, eax */ 36258 _flag_k = FK_ADD; 36259 eax = ecx; /* 0x2B0738A8: mov eax, ecx */ 36260 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0738AA: shr ecx, 2 */ 36261 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 36262 ecx = ecx >> 2u; /* 0x2B0738AA: shr ecx, 2 */ 36263 esi = 0x2B0EBF34u; /* 0x2B0738AD: mov esi, 0x2b0ebf34 */ 36264 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0738B2: 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; } 36265 ecx = eax; /* 0x2B0738B4: mov ecx, eax */ 36266 eax = MEM32(ebp + 0x8); /* 0x2B0738B6: mov eax, dword ptr [ebp + 8] */ 36267 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 36268 ecx = ecx & 3; /* 0x2B0738B9: and ecx, 3 */ 36269 _cf = 0; 36270 _flag_k = FK_TEST; 36271 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0738BC: 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; } 36272 ecx = MEM32(ebx + 0x4); /* 0x2B0738BE: mov ecx, dword ptr [ebx + 4] */ 36273 MEM32(ebx + 0x8) = eax; /* 0x2B0738C1: mov dword ptr [ebx + 8], eax */ 36274 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B0738C4: mov byte ptr [eax + ecx], 0 */ 36275 L_2B0738C8: 36276 edx = MEM32(ebp + (-0x4)); /* 0x2B0738C8: mov edx, dword ptr [ebp - 4] */ 36277 ecx = MEM32(edx + 0x28); /* 0x2B0738CB: mov ecx, dword ptr [edx + 0x28] */ 36278 PUSH32(esp, 0x14u); /* 0x2B0738CE: push 0x14 */ 36279 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0738D0: push -1 */ 36280 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B0738D2: call dword ptr [0x2b0b5a74] */ 36281 RECOMP_FLAGS_IN(); 36282 eax = MEM32(ebp + (-0x8)); /* 0x2B0738D8: mov eax, dword ptr [ebp - 8] */ 36283 PUSH32(esp, eax); /* 0x2B0738DB: push eax */ 36284 ecx = ebp + (-0x58); /* 0x2B0738DC: lea ecx, [ebp - 0x58] */ 36285 PUSH32(esp, 0x2B0EBF30u); /* 0x2B0738DF: push 0x2b0ebf30 */ 36286 PUSH32(esp, ecx); /* 0x2B0738E4: push ecx */ 36287 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B0738E5: call dword ptr [0x2b0b51f0] */ 36288 RECOMP_FLAGS_IN(); 36289 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 36290 eax = 0; /* 0x2B0738EB: xor eax, eax */ 36291 _cf = 0; 36292 _flag_k = FK_TEST; 36293 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 36294 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0738ED: or ecx, 0xffffffff */ 36295 _cf = 0; 36296 _flag_k = FK_TEST; 36297 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 36298 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 36299 esp = esp + 0xCu; /* 0x2B0738F0: add esp, 0xc */ 36300 _flag_k = FK_ADD; 36301 edi = ebp + (-0x58); /* 0x2B0738F3: lea edi, [ebp - 0x58] */ 36302 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; } /* 0x2B0738F6: repne scasb al, byte ptr es:[edi] */ 36303 ecx = ~ecx; /* 0x2B0738F8: not ecx */ 36304 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 36305 ecx = ecx - 1; /* 0x2B0738FA: dec ecx */ 36306 _flag_k = FK_DEC; 36307 eax = 0x55555556u; /* 0x2B0738FB: mov eax, 0x55555556 */ 36308 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B073900: imul ecx */ 36309 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 36310 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 36311 eax = edx; /* 0x2B073902: mov eax, edx */ 36312 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B073904: shr eax, 0x1f */ 36313 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 36314 eax = eax >> 31u; /* 0x2B073904: shr eax, 0x1f */ 36315 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 36316 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 36317 edx = edx + eax; /* 0x2B073907: add edx, eax */ 36318 _flag_k = FK_ADD; 36319 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 36320 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 36321 edx = edx + ecx; /* 0x2B073909: add edx, ecx */ 36322 _flag_k = FK_ADD; 36323 edi = edx; /* 0x2B07390B: mov edi, edx */ 36324 eax = ecx; /* 0x2B07390D: mov eax, ecx */ 36325 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B07390F: cdq */ 36326 esi = 3; /* 0x2B073910: mov esi, 3 */ 36327 { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)esi; /* 0x2B073915: idiv esi */ 36328 if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); } 36329 else { eax = 0; edx = 0; } } 36330 /* test edx, edx */ /* 0x2B073917: test edx, edx */ 36331 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 36332 _cf = 0; 36333 _flag_k = FK_TEST; 36334 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07391C; /* 0x2B073919: jne 0x2b07391c */ 36335 L_2B07391B: 36336 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 36337 edi = edi - 1; /* 0x2B07391B: dec edi */ 36338 _flag_k = FK_DEC; 36339 L_2B07391C: 36340 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 36341 edi = edi - 1; /* 0x2B07391C: dec edi */ 36342 _flag_k = FK_DEC; 36343 MEM8(ebp + edi + (-0x2F)) = (uint8_t)(0); /* 0x2B07391D: mov byte ptr [ebp + edi - 0x2f], 0 */ 36344 esi = 1; /* 0x2B073922: mov esi, 1 */ 36345 if (/* dec result */ CMP_S(_flag_a, _flag_b)) goto L_2B073950; /* 0x2B073927: js 0x2b073950 */ 36346 L_2B073929: 36347 SET_LO8(edx, MEM8(ebp + ecx + (-0x59))); /* 0x2B073929: mov dl, byte ptr [ebp + ecx - 0x59] */ 36348 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 36349 ecx = ecx - 1; /* 0x2B07392D: dec ecx */ 36350 _flag_k = FK_DEC; 36351 MEM8(ebp + edi + (-0x30)) = (uint8_t)(LO8(edx)); /* 0x2B07392E: mov byte ptr [ebp + edi - 0x30], dl */ 36352 eax = esi; /* 0x2B073932: mov eax, esi */ 36353 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B073934: cdq */ 36354 ebx = 3; /* 0x2B073935: mov ebx, 3 */ 36355 { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ebx; /* 0x2B07393A: idiv ebx */ 36356 if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); } 36357 else { eax = 0; edx = 0; } } 36358 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 36359 edi = edi - 1; /* 0x2B07393C: dec edi */ 36360 _flag_k = FK_DEC; 36361 /* test edx, edx */ /* 0x2B07393D: test edx, edx */ 36362 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 36363 _cf = 0; 36364 _flag_k = FK_TEST; 36365 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07394B; /* 0x2B07393F: jne 0x2b07394b */ 36366 L_2B073941: 36367 /* test ecx, ecx */ /* 0x2B073941: test ecx, ecx */ 36368 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 36369 _cf = 0; 36370 _flag_k = FK_TEST; 36371 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07394B; /* 0x2B073943: je 0x2b07394b */ 36372 L_2B073945: 36373 MEM8(ebp + edi + (-0x30)) = (uint8_t)(0x2Cu); /* 0x2B073945: mov byte ptr [ebp + edi - 0x30], 0x2c */ 36374 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 36375 edi = edi - 1; /* 0x2B07394A: dec edi */ 36376 _flag_k = FK_DEC; 36377 L_2B07394B: 36378 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 36379 esi = esi + 1; /* 0x2B07394B: inc esi */ 36380 _flag_k = FK_INC; 36381 /* test edi, edi */ /* 0x2B07394C: test edi, edi */ 36382 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 36383 _cf = 0; 36384 _flag_k = FK_TEST; 36385 RECOMP_BACKEDGE(); 36386 if (TEST_NS(_flag_a, _flag_b)) goto L_2B073929; /* 0x2B07394E: jge 0x2b073929 */ 36387 L_2B073950: 36388 ebx = MEM32(ebp + 0xC); /* 0x2B073950: mov ebx, dword ptr [ebp + 0xc] */ 36389 edx = MEM32(ebx + 0x8); /* 0x2B073953: mov edx, dword ptr [ebx + 8] */ 36390 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 36391 ecx = ecx | 0xFFFFFFFFu; /* 0x2B073956: or ecx, 0xffffffff */ 36392 _cf = 0; 36393 _flag_k = FK_TEST; 36394 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 36395 eax = 0; /* 0x2B073959: xor eax, eax */ 36396 _cf = 0; 36397 _flag_k = FK_TEST; 36398 edi = ebp + (-0x30); /* 0x2B07395B: lea edi, [ebp - 0x30] */ 36399 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; } /* 0x2B07395E: repne scasb al, byte ptr es:[edi] */ 36400 eax = MEM32(0x2B0B515C); /* 0x2B073960: mov eax, dword ptr [0x2b0b515c] */ 36401 ecx = ~ecx; /* 0x2B073965: not ecx */ 36402 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 36403 ecx = ecx - 1; /* 0x2B073967: dec ecx */ 36404 _flag_k = FK_DEC; 36405 esi = ecx; /* 0x2B073968: mov esi, ecx */ 36406 ecx = MEM32(eax); /* 0x2B07396A: mov ecx, dword ptr [eax] */ 36407 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 36408 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36409 ecx = ecx - edx; /* 0x2B07396C: sub ecx, edx */ 36410 _flag_k = FK_CMP; 36411 /* cmp ecx, esi */ /* 0x2B07396E: cmp ecx, esi */ 36412 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 36413 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36414 _flag_k = FK_CMP; 36415 if (CMP_A(_flag_a, _flag_b)) goto L_2B073978; /* 0x2B073970: ja 0x2b073978 */ 36416 L_2B073972: 36417 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B073972: call dword ptr [0x2b0b51a8] */ 36418 RECOMP_FLAGS_IN(); 36419 L_2B073978: 36420 /* test esi, esi */ /* 0x2B073978: test esi, esi */ 36421 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 36422 _cf = 0; 36423 _flag_k = FK_TEST; 36424 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073A1C; /* 0x2B07397A: jbe 0x2b073a1c */ 36425 L_2B073980: 36426 edi = MEM32(ebx + 0x8); /* 0x2B073980: mov edi, dword ptr [ebx + 8] */ 36427 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 36428 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 36429 edi = edi + esi; /* 0x2B073983: add edi, esi */ 36430 _flag_k = FK_ADD; 36431 ecx = ebx; /* 0x2B073985: mov ecx, ebx */ 36432 MEM32(ebp + 0x8) = edi; /* 0x2B073987: mov dword ptr [ebp + 8], edi */ 36433 RECOMP_ICALL(MEM32(0x2B0B5118)); /* 0x2B07398A: call dword ptr [0x2b0b5118] */ 36434 RECOMP_FLAGS_IN(); 36435 /* cmp eax, edi */ /* 0x2B073990: cmp eax, edi */ 36436 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 36437 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36438 _flag_k = FK_CMP; 36439 if (CMP_AE(_flag_a, _flag_b)) goto L_2B07399A; /* 0x2B073992: jae 0x2b07399a */ 36440 L_2B073994: 36441 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B073994: call dword ptr [0x2b0b51a8] */ 36442 RECOMP_FLAGS_IN(); 36443 L_2B07399A: 36444 /* cmp edi, MEM32(ebx + 0x8) */ /* 0x2B07399A: cmp edi, dword ptr [ebx + 8] */ 36445 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ebx + 0x8)); 36446 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36447 _flag_k = FK_CMP; 36448 if (CMP_AE(_flag_a, _flag_b)) goto L_2B0739A2; /* 0x2B07399D: jae 0x2b0739a2 */ 36449 L_2B07399F: 36450 MEM32(ebx + 0x8) = edi; /* 0x2B07399F: mov dword ptr [ebx + 8], edi */ 36451 L_2B0739A2: 36452 eax = MEM32(ebx + 0x4); /* 0x2B0739A2: mov eax, dword ptr [ebx + 4] */ 36453 /* test eax, eax */ /* 0x2B0739A5: test eax, eax */ 36454 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 36455 _cf = 0; 36456 _flag_k = FK_TEST; 36457 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0739CC; /* 0x2B0739A7: je 0x2b0739cc */ 36458 L_2B0739A9: 36459 SET_LO8(ecx, MEM8(eax + (-0x1))); /* 0x2B0739A9: mov cl, byte ptr [eax - 1] */ 36460 /* test LO8(ecx), LO8(ecx) */ /* 0x2B0739AC: test cl, cl */ 36461 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 36462 _cf = 0; 36463 _flag_k = FK_NARROW(FK_TEST, 24); 36464 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0739CC; /* 0x2B0739AE: je 0x2b0739cc */ 36465 L_2B0739B0: 36466 /* cmp LO8(ecx), 0xFFu */ /* 0x2B0739B0: cmp cl, 0xff */ 36467 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 36468 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36469 _flag_k = FK_NARROW(FK_CMP, 24); 36470 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0739CC; /* 0x2B0739B3: je 0x2b0739cc */ 36471 L_2B0739B5: 36472 /* test edi, edi */ /* 0x2B0739B5: test edi, edi */ 36473 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 36474 _cf = 0; 36475 _flag_k = FK_TEST; 36476 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0739EB; /* 0x2B0739B7: jne 0x2b0739eb */ 36477 L_2B0739B9: 36478 PUSH32(esp, 1); /* 0x2B0739B9: push 1 */ 36479 ecx = ebx; /* 0x2B0739BB: mov ecx, ebx */ 36480 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0739BD: call dword ptr [0x2b0b514c] */ 36481 RECOMP_FLAGS_IN(); 36482 edi = POP32_VAL(esp); /* 0x2B0739C3: pop edi */ 36483 esi = POP32_VAL(esp); /* 0x2B0739C4: pop esi */ 36484 ebx = POP32_VAL(esp); /* 0x2B0739C5: pop ebx */ 36485 esp = ebp; /* 0x2B0739C6: mov esp, ebp */ 36486 ebp = POP32_VAL(esp); /* 0x2B0739C8: pop ebp */ 36487 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0739C9: ret 8 */ 36488 L_2B0739CC: 36489 /* test edi, edi */ /* 0x2B0739CC: test edi, edi */ 36490 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 36491 _cf = 0; 36492 _flag_k = FK_TEST; 36493 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0739E6; /* 0x2B0739CE: jne 0x2b0739e6 */ 36494 L_2B0739D0: 36495 /* test eax, eax */ /* 0x2B0739D0: test eax, eax */ 36496 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 36497 _cf = 0; 36498 _flag_k = FK_TEST; 36499 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073A1C; /* 0x2B0739D2: je 0x2b073a1c */ 36500 L_2B0739D4: 36501 PUSH32(esp, edi); /* 0x2B0739D4: push edi */ 36502 ecx = ebx; /* 0x2B0739D5: mov ecx, ebx */ 36503 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B0739D7: call dword ptr [0x2b0b5150] */ 36504 RECOMP_FLAGS_IN(); 36505 edi = POP32_VAL(esp); /* 0x2B0739DD: pop edi */ 36506 esi = POP32_VAL(esp); /* 0x2B0739DE: pop esi */ 36507 ebx = POP32_VAL(esp); /* 0x2B0739DF: pop ebx */ 36508 esp = ebp; /* 0x2B0739E0: mov esp, ebp */ 36509 ebp = POP32_VAL(esp); /* 0x2B0739E2: pop ebp */ 36510 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0739E3: ret 8 */ 36511 L_2B0739E6: 36512 /* cmp MEM32(ebx + 0xC), edi */ /* 0x2B0739E6: cmp dword ptr [ebx + 0xc], edi */ 36513 _flag_a = (uint32_t)(MEM32(ebx + 0xC)); _flag_b = (uint32_t)(edi); 36514 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36515 _flag_k = FK_CMP; 36516 if (CMP_AE(_flag_a, _flag_b)) goto L_2B0739F4; /* 0x2B0739E9: jae 0x2b0739f4 */ 36517 L_2B0739EB: 36518 PUSH32(esp, edi); /* 0x2B0739EB: push edi */ 36519 ecx = ebx; /* 0x2B0739EC: mov ecx, ebx */ 36520 RECOMP_ICALL(MEM32(0x2B0B5110)); /* 0x2B0739EE: call dword ptr [0x2b0b5110] */ 36521 RECOMP_FLAGS_IN(); 36522 L_2B0739F4: 36523 edi = MEM32(ebx + 0x8); /* 0x2B0739F4: mov edi, dword ptr [ebx + 8] */ 36524 edx = MEM32(ebx + 0x4); /* 0x2B0739F7: mov edx, dword ptr [ebx + 4] */ 36525 eax = MEM32(ebp + 0x8); /* 0x2B0739FA: mov eax, dword ptr [ebp + 8] */ 36526 ecx = esi; /* 0x2B0739FD: mov ecx, esi */ 36527 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 36528 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 36529 edi = edi + edx; /* 0x2B0739FF: add edi, edx */ 36530 _flag_k = FK_ADD; 36531 edx = ecx; /* 0x2B073A01: mov edx, ecx */ 36532 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B073A03: shr ecx, 2 */ 36533 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 36534 ecx = ecx >> 2u; /* 0x2B073A03: shr ecx, 2 */ 36535 esi = ebp + (-0x30); /* 0x2B073A06: lea esi, [ebp - 0x30] */ 36536 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B073A09: 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; } 36537 ecx = edx; /* 0x2B073A0B: mov ecx, edx */ 36538 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 36539 ecx = ecx & 3; /* 0x2B073A0D: and ecx, 3 */ 36540 _cf = 0; 36541 _flag_k = FK_TEST; 36542 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B073A10: 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; } 36543 ecx = MEM32(ebx + 0x4); /* 0x2B073A12: mov ecx, dword ptr [ebx + 4] */ 36544 MEM32(ebx + 0x8) = eax; /* 0x2B073A15: mov dword ptr [ebx + 8], eax */ 36545 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B073A18: mov byte ptr [eax + ecx], 0 */ 36546 L_2B073A1C: 36547 edi = POP32_VAL(esp); /* 0x2B073A1C: pop edi */ 36548 esi = POP32_VAL(esp); /* 0x2B073A1D: pop esi */ 36549 ebx = POP32_VAL(esp); /* 0x2B073A1E: pop ebx */ 36550 esp = ebp; /* 0x2B073A1F: mov esp, ebp */ 36551 ebp = POP32_VAL(esp); /* 0x2B073A21: pop ebp */ 36552 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B073A22: ret 8 */ 36553 RECOMP_REGS_OUT(); 36554 } 36555 36556 void sub_2B073A30(void) { 36557 int _fpu_cmp = 0; 36558 uint32_t _cf = 0; 36559 int _df = 1; 36560 uint32_t _flag_k = FK_NONE; 36561 uint32_t _flag_a = 0, _flag_b = 0; 36562 uint32_t _itail_tgt = 0; 36563 RECOMP_REGS_LOCALS 36564 RECOMP_ENTER(0x2B073A30u); 36565 36566 L_2B073A30: 36567 PUSH32(esp, ebp); /* 0x2B073A30: push ebp */ 36568 L_2B073A31: 36569 ebp = esp; /* 0x2B073A31: mov ebp, esp */ 36570 L_2B073A33: 36571 PUSH32(esp, esi); /* 0x2B073A33: push esi */ 36572 L_2B073A34: 36573 PUSH32(esp, 0x38u); /* 0x2B073A34: push 0x38 */ 36574 L_2B073A36: 36575 esi = ecx; /* 0x2B073A36: mov esi, ecx */ 36576 L_2B073A38: 36577 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B073A38: call dword ptr [0x2b0b5b64] */ 36578 RECOMP_FLAGS_IN(); 36579 L_2B073A3E: 36580 ecx = eax; /* 0x2B073A3E: mov ecx, eax */ 36581 L_2B073A40: 36582 RECOMP_ICALL(MEM32(0x2B0B59D0)); /* 0x2B073A40: call dword ptr [0x2b0b59d0] */ 36583 RECOMP_FLAGS_IN(); 36584 L_2B073A46: 36585 /* test LO8(eax), LO8(eax) */ /* 0x2B073A46: test al, al */ 36586 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 36587 _cf = 0; 36588 _flag_k = FK_NARROW(FK_TEST, 24); 36589 L_2B073A48: 36590 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B073B09; /* 0x2B073A48: je 0x2b073b09 */ 36591 L_2B073A4E: 36592 eax = MEM32(ebp + 0x8); /* 0x2B073A4E: mov eax, dword ptr [ebp + 8] */ 36593 L_2B073A51: 36594 PUSH32(esp, 0x29u); /* 0x2B073A51: push 0x29 */ 36595 L_2B073A53: 36596 PUSH32(esp, eax); /* 0x2B073A53: push eax */ 36597 L_2B073A54: 36598 ecx = esi; /* 0x2B073A54: mov ecx, esi */ 36599 L_2B073A56: 36600 RECOMP_ICALL(0x2B0735D0u); /* 0x2B073A56: call 0x2b0735d0 */ /* not lifted */ 36601 RECOMP_FLAGS_IN(); 36602 L_2B073A5B: 36603 /* cmp eax, 0x499602D2u */ /* 0x2B073A5B: cmp eax, 0x499602d2 */ 36604 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 36605 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36606 _flag_k = FK_CMP; 36607 L_2B073A60: 36608 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B073B09; /* 0x2B073A60: je 0x2b073b09 */ 36609 L_2B073A66: 36610 /* test eax, eax */ /* 0x2B073A66: test eax, eax */ 36611 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 36612 _cf = 0; 36613 _flag_k = FK_TEST; 36614 L_2B073A68: 36615 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B073B09; /* 0x2B073A68: je 0x2b073b09 */ 36616 L_2B073A6E: 36617 ecx = eax + (-0x1); /* 0x2B073A6E: lea ecx, [eax - 1] */ 36618 L_2B073A71: 36619 /* cmp ecx, 0xDu */ /* 0x2B073A71: cmp ecx, 0xd */ 36620 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xDu); 36621 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36622 _flag_k = FK_CMP; 36623 L_2B073A74: 36624 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_2B073ADF; /* 0x2B073A74: ja 0x2b073adf */ 36625 L_2B073A76: 36626 { _itail_tgt = (uint32_t)(MEM32(ecx * 4 + 0x2B073B10)); goto _ljump; } 36627 L_2B073A7D: 36628 eax = 0x2B0EBFC8u; /* 0x2B073A7D: mov eax, 0x2b0ebfc8 */ 36629 L_2B073A82: 36630 goto L_2B073AF8; /* 0x2B073A82: jmp 0x2b073af8 */ 36631 L_2B073A84: 36632 eax = 0x2B0EBFC0u; /* 0x2B073A84: mov eax, 0x2b0ebfc0 */ 36633 L_2B073A89: 36634 goto L_2B073AF8; /* 0x2B073A89: jmp 0x2b073af8 */ 36635 L_2B073A8B: 36636 eax = 0x2B0EBFB8u; /* 0x2B073A8B: mov eax, 0x2b0ebfb8 */ 36637 L_2B073A90: 36638 goto L_2B073AF8; /* 0x2B073A90: jmp 0x2b073af8 */ 36639 L_2B073A92: 36640 eax = 0x2B0EBFB4u; /* 0x2B073A92: mov eax, 0x2b0ebfb4 */ 36641 L_2B073A97: 36642 goto L_2B073AF8; /* 0x2B073A97: jmp 0x2b073af8 */ 36643 L_2B073A99: 36644 eax = 0x2B0EBFA8u; /* 0x2B073A99: mov eax, 0x2b0ebfa8 */ 36645 L_2B073A9E: 36646 goto L_2B073AF8; /* 0x2B073A9E: jmp 0x2b073af8 */ 36647 L_2B073AA0: 36648 eax = 0x2B0EBF9Cu; /* 0x2B073AA0: mov eax, 0x2b0ebf9c */ 36649 L_2B073AA5: 36650 goto L_2B073AF8; /* 0x2B073AA5: jmp 0x2b073af8 */ 36651 L_2B073AA7: 36652 eax = 0x2B0EBF94u; /* 0x2B073AA7: mov eax, 0x2b0ebf94 */ 36653 L_2B073AAC: 36654 goto L_2B073AF8; /* 0x2B073AAC: jmp 0x2b073af8 */ 36655 L_2B073AAE: 36656 eax = 0x2B0EBF88u; /* 0x2B073AAE: mov eax, 0x2b0ebf88 */ 36657 L_2B073AB3: 36658 goto L_2B073AF8; /* 0x2B073AB3: jmp 0x2b073af8 */ 36659 L_2B073AB5: 36660 eax = 0x2B0EBF80u; /* 0x2B073AB5: mov eax, 0x2b0ebf80 */ 36661 L_2B073ABA: 36662 goto L_2B073AF8; /* 0x2B073ABA: jmp 0x2b073af8 */ 36663 L_2B073ABC: 36664 eax = 0x2B0EBF78u; /* 0x2B073ABC: mov eax, 0x2b0ebf78 */ 36665 L_2B073AC1: 36666 goto L_2B073AF8; /* 0x2B073AC1: jmp 0x2b073af8 */ 36667 L_2B073AC3: 36668 eax = 0x2B0EBF6Cu; /* 0x2B073AC3: mov eax, 0x2b0ebf6c */ 36669 L_2B073AC8: 36670 goto L_2B073AF8; /* 0x2B073AC8: jmp 0x2b073af8 */ 36671 L_2B073ACA: 36672 eax = 0x2B0EBF64u; /* 0x2B073ACA: mov eax, 0x2b0ebf64 */ 36673 L_2B073ACF: 36674 goto L_2B073AF8; /* 0x2B073ACF: jmp 0x2b073af8 */ 36675 L_2B073AD1: 36676 eax = 0x2B0EBF5Cu; /* 0x2B073AD1: mov eax, 0x2b0ebf5c */ 36677 L_2B073AD6: 36678 goto L_2B073AF8; /* 0x2B073AD6: jmp 0x2b073af8 */ 36679 L_2B073AD8: 36680 eax = 0x2B0EBF54u; /* 0x2B073AD8: mov eax, 0x2b0ebf54 */ 36681 L_2B073ADD: 36682 goto L_2B073AF8; /* 0x2B073ADD: jmp 0x2b073af8 */ 36683 L_2B073ADF: 36684 PUSH32(esp, eax); /* 0x2B073ADF: push eax */ 36685 L_2B073AE0: 36686 PUSH32(esp, 0x2B0EBF48u); /* 0x2B073AE0: push 0x2b0ebf48 */ 36687 L_2B073AE5: 36688 PUSH32(esp, 0x2B0EEE84u); /* 0x2B073AE5: push 0x2b0eee84 */ 36689 L_2B073AEA: 36690 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B073AEA: call dword ptr [0x2b0b51f0] */ 36691 RECOMP_FLAGS_IN(); 36692 L_2B073AF0: 36693 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 36694 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 36695 esp = esp + 0xCu; /* 0x2B073AF0: add esp, 0xc */ 36696 _flag_k = FK_ADD; 36697 L_2B073AF3: 36698 eax = 0x2B0EEE84u; /* 0x2B073AF3: mov eax, 0x2b0eee84 */ 36699 L_2B073AF8: 36700 ecx = MEM32(ebp + 0xC); /* 0x2B073AF8: mov ecx, dword ptr [ebp + 0xc] */ 36701 L_2B073AFB: 36702 PUSH32(esp, ecx); /* 0x2B073AFB: push ecx */ 36703 L_2B073AFC: 36704 PUSH32(esp, eax); /* 0x2B073AFC: push eax */ 36705 L_2B073AFD: 36706 PUSH32(esp, 0x2B0EBF40u); /* 0x2B073AFD: push 0x2b0ebf40 */ 36707 L_2B073B02: 36708 ecx = esi; /* 0x2B073B02: mov ecx, esi */ 36709 L_2B073B04: 36710 RECOMP_ICALL(0x2B073610u); /* 0x2B073B04: call 0x2b073610 */ /* not lifted */ 36711 RECOMP_FLAGS_IN(); 36712 L_2B073B09: 36713 esi = POP32_VAL(esp); /* 0x2B073B09: pop esi */ 36714 L_2B073B0A: 36715 ebp = POP32_VAL(esp); /* 0x2B073B0A: pop ebp */ 36716 L_2B073B0B: 36717 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B073B0B: ret 8 */ 36718 _ljump: 36719 switch (_itail_tgt) { 36720 case 0x2B073A30u: goto L_2B073A30; 36721 case 0x2B073A31u: goto L_2B073A31; 36722 case 0x2B073A33u: goto L_2B073A33; 36723 case 0x2B073A34u: goto L_2B073A34; 36724 case 0x2B073A36u: goto L_2B073A36; 36725 case 0x2B073A38u: goto L_2B073A38; 36726 case 0x2B073A3Eu: goto L_2B073A3E; 36727 case 0x2B073A40u: goto L_2B073A40; 36728 case 0x2B073A46u: goto L_2B073A46; 36729 case 0x2B073A48u: goto L_2B073A48; 36730 case 0x2B073A4Eu: goto L_2B073A4E; 36731 case 0x2B073A51u: goto L_2B073A51; 36732 case 0x2B073A53u: goto L_2B073A53; 36733 case 0x2B073A54u: goto L_2B073A54; 36734 case 0x2B073A56u: goto L_2B073A56; 36735 case 0x2B073A5Bu: goto L_2B073A5B; 36736 case 0x2B073A60u: goto L_2B073A60; 36737 case 0x2B073A66u: goto L_2B073A66; 36738 case 0x2B073A68u: goto L_2B073A68; 36739 case 0x2B073A6Eu: goto L_2B073A6E; 36740 case 0x2B073A71u: goto L_2B073A71; 36741 case 0x2B073A74u: goto L_2B073A74; 36742 case 0x2B073A76u: goto L_2B073A76; 36743 case 0x2B073A7Du: goto L_2B073A7D; 36744 case 0x2B073A82u: goto L_2B073A82; 36745 case 0x2B073A84u: goto L_2B073A84; 36746 case 0x2B073A89u: goto L_2B073A89; 36747 case 0x2B073A8Bu: goto L_2B073A8B; 36748 case 0x2B073A90u: goto L_2B073A90; 36749 case 0x2B073A92u: goto L_2B073A92; 36750 case 0x2B073A97u: goto L_2B073A97; 36751 case 0x2B073A99u: goto L_2B073A99; 36752 case 0x2B073A9Eu: goto L_2B073A9E; 36753 case 0x2B073AA0u: goto L_2B073AA0; 36754 case 0x2B073AA5u: goto L_2B073AA5; 36755 case 0x2B073AA7u: goto L_2B073AA7; 36756 case 0x2B073AACu: goto L_2B073AAC; 36757 case 0x2B073AAEu: goto L_2B073AAE; 36758 case 0x2B073AB3u: goto L_2B073AB3; 36759 case 0x2B073AB5u: goto L_2B073AB5; 36760 case 0x2B073ABAu: goto L_2B073ABA; 36761 case 0x2B073ABCu: goto L_2B073ABC; 36762 case 0x2B073AC1u: goto L_2B073AC1; 36763 case 0x2B073AC3u: goto L_2B073AC3; 36764 case 0x2B073AC8u: goto L_2B073AC8; 36765 case 0x2B073ACAu: goto L_2B073ACA; 36766 case 0x2B073ACFu: goto L_2B073ACF; 36767 case 0x2B073AD1u: goto L_2B073AD1; 36768 case 0x2B073AD6u: goto L_2B073AD6; 36769 case 0x2B073AD8u: goto L_2B073AD8; 36770 case 0x2B073ADDu: goto L_2B073ADD; 36771 case 0x2B073ADFu: goto L_2B073ADF; 36772 case 0x2B073AE0u: goto L_2B073AE0; 36773 case 0x2B073AE5u: goto L_2B073AE5; 36774 case 0x2B073AEAu: goto L_2B073AEA; 36775 case 0x2B073AF0u: goto L_2B073AF0; 36776 case 0x2B073AF3u: goto L_2B073AF3; 36777 case 0x2B073AF8u: goto L_2B073AF8; 36778 case 0x2B073AFBu: goto L_2B073AFB; 36779 case 0x2B073AFCu: goto L_2B073AFC; 36780 case 0x2B073AFDu: goto L_2B073AFD; 36781 case 0x2B073B02u: goto L_2B073B02; 36782 case 0x2B073B04u: goto L_2B073B04; 36783 case 0x2B073B09u: goto L_2B073B09; 36784 case 0x2B073B0Au: goto L_2B073B0A; 36785 case 0x2B073B0Bu: goto L_2B073B0B; 36786 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 36787 } 36788 RECOMP_REGS_OUT(); 36789 } 36790 36791 void sub_2B073B50(void) { 36792 int _fpu_cmp = 0; 36793 uint32_t _cf = 0; 36794 int _df = 1; 36795 uint32_t _flag_k = FK_NONE; 36796 uint32_t _flag_a = 0, _flag_b = 0; 36797 uint32_t _itail_tgt = 0; 36798 RECOMP_REGS_LOCALS 36799 RECOMP_ENTER(0x2B073B50u); 36800 36801 L_2B073B50: 36802 PUSH32(esp, ebp); /* 0x2B073B50: push ebp */ 36803 ebp = esp; /* 0x2B073B51: mov ebp, esp */ 36804 eax = MEM32(ebp + 0x8); /* 0x2B073B53: mov eax, dword ptr [ebp + 8] */ 36805 PUSH32(esp, esi); /* 0x2B073B56: push esi */ 36806 PUSH32(esp, eax); /* 0x2B073B57: push eax */ 36807 esi = ecx; /* 0x2B073B58: mov esi, ecx */ 36808 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B073B5A: call dword ptr [0x2b0b5d6c] */ 36809 RECOMP_FLAGS_IN(); 36810 ecx = eax; /* 0x2B073B60: mov ecx, eax */ 36811 RECOMP_ICALL(MEM32(0x2B0B5C5C)); /* 0x2B073B62: call dword ptr [0x2b0b5c5c] */ 36812 RECOMP_FLAGS_IN(); 36813 /* test eax, eax */ /* 0x2B073B68: test eax, eax */ 36814 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 36815 _cf = 0; 36816 _flag_k = FK_TEST; 36817 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073B7D; /* 0x2B073B6A: je 0x2b073b7d */ 36818 L_2B073B6C: 36819 ecx = MEM32(ebp + 0xC); /* 0x2B073B6C: mov ecx, dword ptr [ebp + 0xc] */ 36820 PUSH32(esp, ecx); /* 0x2B073B6F: push ecx */ 36821 PUSH32(esp, eax); /* 0x2B073B70: push eax */ 36822 PUSH32(esp, 0x2B0EBFD0u); /* 0x2B073B71: push 0x2b0ebfd0 */ 36823 ecx = esi; /* 0x2B073B76: mov ecx, esi */ 36824 RECOMP_ICALL(0x2B073610u); /* 0x2B073B78: call 0x2b073610 */ /* not lifted */ 36825 RECOMP_FLAGS_IN(); 36826 L_2B073B7D: 36827 esi = POP32_VAL(esp); /* 0x2B073B7D: pop esi */ 36828 ebp = POP32_VAL(esp); /* 0x2B073B7E: pop ebp */ 36829 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B073B7F: ret 8 */ 36830 RECOMP_REGS_OUT(); 36831 } 36832 36833 void sub_2B073B90(void) { 36834 int _fpu_cmp = 0; 36835 uint32_t _cf = 0; 36836 int _df = 1; 36837 uint32_t _flag_k = FK_NONE; 36838 uint32_t _flag_a = 0, _flag_b = 0; 36839 uint32_t _itail_tgt = 0; 36840 RECOMP_REGS_LOCALS 36841 RECOMP_ENTER(0x2B073B90u); 36842 36843 L_2B073B90: 36844 PUSH32(esp, ebp); /* 0x2B073B90: push ebp */ 36845 ebp = esp; /* 0x2B073B91: mov ebp, esp */ 36846 eax = MEM32(ebp + 0x8); /* 0x2B073B93: mov eax, dword ptr [ebp + 8] */ 36847 PUSH32(esp, esi); /* 0x2B073B96: push esi */ 36848 PUSH32(esp, 0x11Fu); /* 0x2B073B97: push 0x11f */ 36849 esi = ecx; /* 0x2B073B9C: mov esi, ecx */ 36850 PUSH32(esp, eax); /* 0x2B073B9E: push eax */ 36851 RECOMP_ICALL(0x2B0735D0u); /* 0x2B073B9F: call 0x2b0735d0 */ /* not lifted */ 36852 RECOMP_FLAGS_IN(); 36853 /* cmp eax, 0x499602D2u */ /* 0x2B073BA4: cmp eax, 0x499602d2 */ 36854 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 36855 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36856 _flag_k = FK_CMP; 36857 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B073BD4; /* 0x2B073BA9: je 0x2b073bd4 */ 36858 L_2B073BAB: 36859 PUSH32(esp, eax); /* 0x2B073BAB: push eax */ 36860 PUSH32(esp, 0x2B0EB724u); /* 0x2B073BAC: push 0x2b0eb724 */ 36861 PUSH32(esp, 0x2B0EEE84u); /* 0x2B073BB1: push 0x2b0eee84 */ 36862 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B073BB6: call dword ptr [0x2b0b51f0] */ 36863 RECOMP_FLAGS_IN(); 36864 ecx = MEM32(ebp + 0xC); /* 0x2B073BBC: mov ecx, dword ptr [ebp + 0xc] */ 36865 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 36866 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 36867 esp = esp + 0xCu; /* 0x2B073BBF: add esp, 0xc */ 36868 _flag_k = FK_ADD; 36869 PUSH32(esp, ecx); /* 0x2B073BC2: push ecx */ 36870 PUSH32(esp, 0x2B0EEE84u); /* 0x2B073BC3: push 0x2b0eee84 */ 36871 PUSH32(esp, 0x2B0EBFD8u); /* 0x2B073BC8: push 0x2b0ebfd8 */ 36872 ecx = esi; /* 0x2B073BCD: mov ecx, esi */ 36873 RECOMP_ICALL(0x2B073610u); /* 0x2B073BCF: call 0x2b073610 */ /* not lifted */ 36874 RECOMP_FLAGS_IN(); 36875 L_2B073BD4: 36876 esi = POP32_VAL(esp); /* 0x2B073BD4: pop esi */ 36877 ebp = POP32_VAL(esp); /* 0x2B073BD5: pop ebp */ 36878 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B073BD6: ret 8 */ 36879 RECOMP_REGS_OUT(); 36880 } 36881 36882 void sub_2B073BE0(void) { 36883 int _fpu_cmp = 0; 36884 uint32_t _cf = 0; 36885 int _df = 1; 36886 uint32_t _flag_k = FK_NONE; 36887 uint32_t _flag_a = 0, _flag_b = 0; 36888 uint32_t _itail_tgt = 0; 36889 RECOMP_REGS_LOCALS 36890 RECOMP_ENTER(0x2B073BE0u); 36891 36892 L_2B073BE0: 36893 PUSH32(esp, ebp); /* 0x2B073BE0: push ebp */ 36894 ebp = esp; /* 0x2B073BE1: mov ebp, esp */ 36895 eax = MEM32(ebp + 0x8); /* 0x2B073BE3: mov eax, dword ptr [ebp + 8] */ 36896 PUSH32(esp, esi); /* 0x2B073BE6: push esi */ 36897 PUSH32(esp, eax); /* 0x2B073BE7: push eax */ 36898 esi = ecx; /* 0x2B073BE8: mov esi, ecx */ 36899 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B073BEA: call dword ptr [0x2b0b5d6c] */ 36900 RECOMP_FLAGS_IN(); 36901 ecx = eax; /* 0x2B073BF0: mov ecx, eax */ 36902 RECOMP_ICALL(MEM32(0x2B0B5C60)); /* 0x2B073BF2: call dword ptr [0x2b0b5c60] */ 36903 RECOMP_FLAGS_IN(); 36904 /* test eax, eax */ /* 0x2B073BF8: test eax, eax */ 36905 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 36906 _cf = 0; 36907 _flag_k = FK_TEST; 36908 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073C0D; /* 0x2B073BFA: je 0x2b073c0d */ 36909 L_2B073BFC: 36910 ecx = MEM32(ebp + 0xC); /* 0x2B073BFC: mov ecx, dword ptr [ebp + 0xc] */ 36911 PUSH32(esp, ecx); /* 0x2B073BFF: push ecx */ 36912 PUSH32(esp, eax); /* 0x2B073C00: push eax */ 36913 PUSH32(esp, 0x2B0EBFE0u); /* 0x2B073C01: push 0x2b0ebfe0 */ 36914 ecx = esi; /* 0x2B073C06: mov ecx, esi */ 36915 RECOMP_ICALL(0x2B073610u); /* 0x2B073C08: call 0x2b073610 */ /* not lifted */ 36916 RECOMP_FLAGS_IN(); 36917 L_2B073C0D: 36918 esi = POP32_VAL(esp); /* 0x2B073C0D: pop esi */ 36919 ebp = POP32_VAL(esp); /* 0x2B073C0E: pop ebp */ 36920 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B073C0F: ret 8 */ 36921 RECOMP_REGS_OUT(); 36922 } 36923 36924 void sub_2B073C20(void) { 36925 int _fpu_cmp = 0; 36926 uint32_t _cf = 0; 36927 int _df = 1; 36928 uint32_t _flag_k = FK_NONE; 36929 uint32_t _flag_a = 0, _flag_b = 0; 36930 uint32_t _itail_tgt = 0; 36931 RECOMP_REGS_LOCALS 36932 RECOMP_ENTER(0x2B073C20u); 36933 36934 L_2B073C20: 36935 PUSH32(esp, ebp); /* 0x2B073C20: push ebp */ 36936 ebp = esp; /* 0x2B073C21: mov ebp, esp */ 36937 PUSH32(esp, ecx); /* 0x2B073C23: push ecx */ 36938 PUSH32(esp, ebx); /* 0x2B073C24: push ebx */ 36939 PUSH32(esp, esi); /* 0x2B073C25: push esi */ 36940 PUSH32(esp, edi); /* 0x2B073C26: push edi */ 36941 edi = MEM32(ebp + 0x8); /* 0x2B073C27: mov edi, dword ptr [ebp + 8] */ 36942 PUSH32(esp, 0x126u); /* 0x2B073C2A: push 0x126 */ 36943 esi = ecx; /* 0x2B073C2F: mov esi, ecx */ 36944 PUSH32(esp, edi); /* 0x2B073C31: push edi */ 36945 RECOMP_ICALL(0x2B0735D0u); /* 0x2B073C32: call 0x2b0735d0 */ /* not lifted */ 36946 RECOMP_FLAGS_IN(); 36947 PUSH32(esp, 0xD2u); /* 0x2B073C37: push 0xd2 */ 36948 ebx = eax; /* 0x2B073C3C: mov ebx, eax */ 36949 PUSH32(esp, edi); /* 0x2B073C3E: push edi */ 36950 ecx = esi; /* 0x2B073C3F: mov ecx, esi */ 36951 MEM32(ebp + (-0x4)) = ebx; /* 0x2B073C41: mov dword ptr [ebp - 4], ebx */ 36952 RECOMP_ICALL(0x2B0735D0u); /* 0x2B073C44: call 0x2b0735d0 */ /* not lifted */ 36953 RECOMP_FLAGS_IN(); 36954 /* cmp ebx, 0x499602D2u */ /* 0x2B073C49: cmp ebx, 0x499602d2 */ 36955 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x499602D2u); 36956 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36957 _flag_k = FK_CMP; 36958 MEM32(ebp + 0x8) = eax; /* 0x2B073C4F: mov dword ptr [ebp + 8], eax */ 36959 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B073CA2; /* 0x2B073C52: je 0x2b073ca2 */ 36960 L_2B073C54: 36961 /* cmp eax, 0x499602D2u */ /* 0x2B073C54: cmp eax, 0x499602d2 */ 36962 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 36963 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36964 _flag_k = FK_CMP; 36965 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B073CA2; /* 0x2B073C59: je 0x2b073ca2 */ 36966 L_2B073C5B: 36967 fp_push((double)(int32_t)MEM32(ebp + 0x8)); /* 0x2B073C5B: fild dword ptr [ebp + 8] */ 36968 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 36969 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36970 esp = esp - 8; /* 0x2B073C5E: sub esp, 8 */ 36971 _flag_k = FK_CMP; 36972 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 36973 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 36974 esp = esp - 8; /* 0x2B073C61: sub esp, 8 */ 36975 _flag_k = FK_CMP; 36976 _st[0] *= (double)*(float*)ADDR(0x2B0B6CE4); /* 0x2B073C64: fmul dword ptr [0x2b0b6ce4] */ 36977 { double _v = fp_pop(); *(double*)ADDR(esp + 0x8) = _v; } /* 0x2B073C6A: fstp qword ptr [esp + 8] */ 36978 fp_push((double)(int32_t)MEM32(ebp + (-0x4))); /* 0x2B073C6E: fild dword ptr [ebp - 4] */ 36979 _st[0] *= (double)*(float*)ADDR(0x2B0B6CE4); /* 0x2B073C71: fmul dword ptr [0x2b0b6ce4] */ 36980 { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x2B073C77: fstp qword ptr [esp] */ 36981 PUSH32(esp, 0x2B0EBFF4u); /* 0x2B073C7A: push 0x2b0ebff4 */ 36982 PUSH32(esp, 0x2B0EEE84u); /* 0x2B073C7F: push 0x2b0eee84 */ 36983 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B073C84: call dword ptr [0x2b0b51f0] */ 36984 RECOMP_FLAGS_IN(); 36985 eax = MEM32(ebp + 0xC); /* 0x2B073C8A: mov eax, dword ptr [ebp + 0xc] */ 36986 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u); 36987 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 36988 esp = esp + 0x18u; /* 0x2B073C8D: add esp, 0x18 */ 36989 _flag_k = FK_ADD; 36990 PUSH32(esp, eax); /* 0x2B073C90: push eax */ 36991 PUSH32(esp, 0x2B0EEE84u); /* 0x2B073C91: push 0x2b0eee84 */ 36992 PUSH32(esp, 0x2B0EBFE8u); /* 0x2B073C96: push 0x2b0ebfe8 */ 36993 ecx = esi; /* 0x2B073C9B: mov ecx, esi */ 36994 RECOMP_ICALL(0x2B073610u); /* 0x2B073C9D: call 0x2b073610 */ /* not lifted */ 36995 RECOMP_FLAGS_IN(); 36996 L_2B073CA2: 36997 edi = POP32_VAL(esp); /* 0x2B073CA2: pop edi */ 36998 esi = POP32_VAL(esp); /* 0x2B073CA3: pop esi */ 36999 ebx = POP32_VAL(esp); /* 0x2B073CA4: pop ebx */ 37000 esp = ebp; /* 0x2B073CA5: mov esp, ebp */ 37001 ebp = POP32_VAL(esp); /* 0x2B073CA7: pop ebp */ 37002 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B073CA8: ret 8 */ 37003 RECOMP_REGS_OUT(); 37004 } 37005 37006 void sub_2B073CB0(void) { 37007 int _fpu_cmp = 0; 37008 uint32_t _cf = 0; 37009 int _df = 1; 37010 uint32_t _flag_k = FK_NONE; 37011 uint32_t _flag_a = 0, _flag_b = 0; 37012 uint32_t _itail_tgt = 0; 37013 RECOMP_REGS_LOCALS 37014 RECOMP_ENTER(0x2B073CB0u); 37015 37016 L_2B073CB0: 37017 PUSH32(esp, ebp); /* 0x2B073CB0: push ebp */ 37018 ebp = esp; /* 0x2B073CB1: mov ebp, esp */ 37019 eax = MEM32(ebp + 0x8); /* 0x2B073CB3: mov eax, dword ptr [ebp + 8] */ 37020 PUSH32(esp, esi); /* 0x2B073CB6: push esi */ 37021 PUSH32(esp, eax); /* 0x2B073CB7: push eax */ 37022 esi = ecx; /* 0x2B073CB8: mov esi, ecx */ 37023 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B073CBA: call dword ptr [0x2b0b5d6c] */ 37024 RECOMP_FLAGS_IN(); 37025 ecx = eax; /* 0x2B073CC0: mov ecx, eax */ 37026 RECOMP_ICALL(MEM32(0x2B0B5C64)); /* 0x2B073CC2: call dword ptr [0x2b0b5c64] */ 37027 RECOMP_FLAGS_IN(); 37028 /* test eax, eax */ /* 0x2B073CC8: test eax, eax */ 37029 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 37030 _cf = 0; 37031 _flag_k = FK_TEST; 37032 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073CDD; /* 0x2B073CCA: je 0x2b073cdd */ 37033 L_2B073CCC: 37034 ecx = MEM32(ebp + 0xC); /* 0x2B073CCC: mov ecx, dword ptr [ebp + 0xc] */ 37035 PUSH32(esp, ecx); /* 0x2B073CCF: push ecx */ 37036 PUSH32(esp, eax); /* 0x2B073CD0: push eax */ 37037 PUSH32(esp, 0x2B0EC014u); /* 0x2B073CD1: push 0x2b0ec014 */ 37038 ecx = esi; /* 0x2B073CD6: mov ecx, esi */ 37039 RECOMP_ICALL(0x2B073610u); /* 0x2B073CD8: call 0x2b073610 */ /* not lifted */ 37040 RECOMP_FLAGS_IN(); 37041 L_2B073CDD: 37042 esi = POP32_VAL(esp); /* 0x2B073CDD: pop esi */ 37043 ebp = POP32_VAL(esp); /* 0x2B073CDE: pop ebp */ 37044 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B073CDF: ret 8 */ 37045 RECOMP_REGS_OUT(); 37046 } 37047 37048 void sub_2B073CF0(void) { 37049 int _fpu_cmp = 0; 37050 uint32_t _cf = 0; 37051 int _df = 1; 37052 uint32_t _flag_k = FK_NONE; 37053 uint32_t _flag_a = 0, _flag_b = 0; 37054 uint32_t _itail_tgt = 0; 37055 RECOMP_REGS_LOCALS 37056 RECOMP_ENTER(0x2B073CF0u); 37057 37058 L_2B073CF0: 37059 PUSH32(esp, ebp); /* 0x2B073CF0: push ebp */ 37060 ebp = esp; /* 0x2B073CF1: mov ebp, esp */ 37061 eax = MEM32(ebp + 0x8); /* 0x2B073CF3: mov eax, dword ptr [ebp + 8] */ 37062 PUSH32(esp, esi); /* 0x2B073CF6: push esi */ 37063 PUSH32(esp, eax); /* 0x2B073CF7: push eax */ 37064 esi = ecx; /* 0x2B073CF8: mov esi, ecx */ 37065 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B073CFA: call dword ptr [0x2b0b5d6c] */ 37066 RECOMP_FLAGS_IN(); 37067 ecx = eax; /* 0x2B073D00: mov ecx, eax */ 37068 RECOMP_ICALL(MEM32(0x2B0B5C6C)); /* 0x2B073D02: call dword ptr [0x2b0b5c6c] */ 37069 RECOMP_FLAGS_IN(); 37070 /* test eax, eax */ /* 0x2B073D08: test eax, eax */ 37071 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 37072 _cf = 0; 37073 _flag_k = FK_TEST; 37074 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073D1D; /* 0x2B073D0A: je 0x2b073d1d */ 37075 L_2B073D0C: 37076 ecx = MEM32(ebp + 0xC); /* 0x2B073D0C: mov ecx, dword ptr [ebp + 0xc] */ 37077 PUSH32(esp, ecx); /* 0x2B073D0F: push ecx */ 37078 PUSH32(esp, eax); /* 0x2B073D10: push eax */ 37079 PUSH32(esp, 0x2B0EC024u); /* 0x2B073D11: push 0x2b0ec024 */ 37080 ecx = esi; /* 0x2B073D16: mov ecx, esi */ 37081 RECOMP_ICALL(0x2B073610u); /* 0x2B073D18: call 0x2b073610 */ /* not lifted */ 37082 RECOMP_FLAGS_IN(); 37083 L_2B073D1D: 37084 esi = POP32_VAL(esp); /* 0x2B073D1D: pop esi */ 37085 ebp = POP32_VAL(esp); /* 0x2B073D1E: pop ebp */ 37086 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B073D1F: ret 8 */ 37087 RECOMP_REGS_OUT(); 37088 } 37089 37090 void sub_2B073D30(void) { 37091 int _fpu_cmp = 0; 37092 uint32_t _cf = 0; 37093 int _df = 1; 37094 uint32_t _flag_k = FK_NONE; 37095 uint32_t _flag_a = 0, _flag_b = 0; 37096 uint32_t _itail_tgt = 0; 37097 RECOMP_REGS_LOCALS 37098 RECOMP_ENTER(0x2B073D30u); 37099 37100 L_2B073D30: 37101 PUSH32(esp, ebp); /* 0x2B073D30: push ebp */ 37102 ebp = esp; /* 0x2B073D31: mov ebp, esp */ 37103 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B073D33: push -1 */ 37104 PUSH32(esp, 0x2B0B1239u); /* 0x2B073D35: push 0x2b0b1239 */ 37105 eax = MEM32(FS_BASE + (0)); /* 0x2B073D3A: mov eax, dword ptr fs:[0] */ 37106 PUSH32(esp, eax); /* 0x2B073D40: push eax */ 37107 MEM32(FS_BASE + (0)) = esp; /* 0x2B073D41: mov dword ptr fs:[0], esp */ 37108 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 37109 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37110 esp = esp - 0x14u; /* 0x2B073D48: sub esp, 0x14 */ 37111 _flag_k = FK_CMP; 37112 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B073D4B: mov al, byte ptr [ebp + 0xb] */ 37113 PUSH32(esp, ebx); /* 0x2B073D4E: push ebx */ 37114 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 37115 ebx = 0; /* 0x2B073D4F: xor ebx, ebx */ 37116 _cf = 0; 37117 _flag_k = FK_TEST; 37118 PUSH32(esp, esi); /* 0x2B073D51: push esi */ 37119 PUSH32(esp, edi); /* 0x2B073D52: push edi */ 37120 MEM32(ebp + (-0x10)) = ecx; /* 0x2B073D53: mov dword ptr [ebp - 0x10], ecx */ 37121 MEM8(ebp + (-0x20)) = (uint8_t)(LO8(eax)); /* 0x2B073D56: mov byte ptr [ebp - 0x20], al */ 37122 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B073D59: mov dword ptr [ebp - 0x1c], ebx */ 37123 MEM32(ebp + (-0x18)) = ebx; /* 0x2B073D5C: mov dword ptr [ebp - 0x18], ebx */ 37124 MEM32(ebp + (-0x14)) = ebx; /* 0x2B073D5F: mov dword ptr [ebp - 0x14], ebx */ 37125 ecx = MEM32(ebp + 0x8); /* 0x2B073D62: mov ecx, dword ptr [ebp + 8] */ 37126 PUSH32(esp, 0xEu); /* 0x2B073D65: push 0xe */ 37127 PUSH32(esp, ecx); /* 0x2B073D67: push ecx */ 37128 MEM32(ebp + (-0x4)) = ebx; /* 0x2B073D68: mov dword ptr [ebp - 4], ebx */ 37129 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B073D6B: call dword ptr [0x2b0b5d6c] */ 37130 RECOMP_FLAGS_IN(); 37131 ecx = eax; /* 0x2B073D71: mov ecx, eax */ 37132 RECOMP_ICALL(MEM32(0x2B0B5D84)); /* 0x2B073D73: call dword ptr [0x2b0b5d84] */ 37133 RECOMP_FLAGS_IN(); 37134 esi = eax; /* 0x2B073D79: mov esi, eax */ 37135 /* cmp esi, ebx */ /* 0x2B073D7B: cmp esi, ebx */ 37136 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 37137 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37138 _flag_k = FK_CMP; 37139 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B073DE1; /* 0x2B073D7D: je 0x2b073de1 */ 37140 L_2B073D7F: 37141 edx = MEM32(0x2B0B515C); /* 0x2B073D7F: mov edx, dword ptr [0x2b0b515c] */ 37142 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 37143 eax = 0; /* 0x2B073D85: xor eax, eax */ 37144 _cf = 0; 37145 _flag_k = FK_TEST; 37146 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 37147 ecx = ecx | 0xFFFFFFFFu; /* 0x2B073D87: or ecx, 0xffffffff */ 37148 _cf = 0; 37149 _flag_k = FK_TEST; 37150 edi = esi; /* 0x2B073D8A: mov edi, esi */ 37151 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; } /* 0x2B073D8C: repne scasb al, byte ptr es:[edi] */ 37152 eax = MEM32(edx); /* 0x2B073D8E: mov eax, dword ptr [edx] */ 37153 edx = MEM32(ebp + (-0x18)); /* 0x2B073D90: mov edx, dword ptr [ebp - 0x18] */ 37154 ecx = ~ecx; /* 0x2B073D93: not ecx */ 37155 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 37156 ecx = ecx - 1; /* 0x2B073D95: dec ecx */ 37157 _flag_k = FK_DEC; 37158 edi = ecx; /* 0x2B073D96: mov edi, ecx */ 37159 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 37160 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37161 eax = eax - edx; /* 0x2B073D98: sub eax, edx */ 37162 _flag_k = FK_CMP; 37163 /* cmp eax, edi */ /* 0x2B073D9A: cmp eax, edi */ 37164 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 37165 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37166 _flag_k = FK_CMP; 37167 if (CMP_A(_flag_a, _flag_b)) goto L_2B073DA4; /* 0x2B073D9C: ja 0x2b073da4 */ 37168 L_2B073D9E: 37169 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B073D9E: call dword ptr [0x2b0b51a8] */ 37170 RECOMP_FLAGS_IN(); 37171 L_2B073DA4: 37172 /* cmp edi, ebx */ /* 0x2B073DA4: cmp edi, ebx */ 37173 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 37174 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37175 _flag_k = FK_CMP; 37176 if (CMP_BE(_flag_a, _flag_b)) goto L_2B073DE1; /* 0x2B073DA6: jbe 0x2b073de1 */ 37177 L_2B073DA8: 37178 ecx = MEM32(ebp + (-0x18)); /* 0x2B073DA8: mov ecx, dword ptr [ebp - 0x18] */ 37179 ebx = ecx + edi; /* 0x2B073DAB: lea ebx, [ecx + edi] */ 37180 PUSH32(esp, 0); /* 0x2B073DAE: push 0 */ 37181 PUSH32(esp, ebx); /* 0x2B073DB0: push ebx */ 37182 ecx = ebp + (-0x20); /* 0x2B073DB1: lea ecx, [ebp - 0x20] */ 37183 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B073DB4: call dword ptr [0x2b0b5154] */ 37184 RECOMP_FLAGS_IN(); 37185 /* test LO8(eax), LO8(eax) */ /* 0x2B073DBA: test al, al */ 37186 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 37187 _cf = 0; 37188 _flag_k = FK_NARROW(FK_TEST, 24); 37189 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073DE1; /* 0x2B073DBC: je 0x2b073de1 */ 37190 L_2B073DBE: 37191 eax = MEM32(ebp + (-0x18)); /* 0x2B073DBE: mov eax, dword ptr [ebp - 0x18] */ 37192 edx = MEM32(ebp + (-0x1C)); /* 0x2B073DC1: mov edx, dword ptr [ebp - 0x1c] */ 37193 ecx = edi; /* 0x2B073DC4: mov ecx, edi */ 37194 edi = eax + edx; /* 0x2B073DC6: lea edi, [eax + edx] */ 37195 edx = ecx; /* 0x2B073DC9: mov edx, ecx */ 37196 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B073DCB: shr ecx, 2 */ 37197 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 37198 ecx = ecx >> 2u; /* 0x2B073DCB: shr ecx, 2 */ 37199 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B073DCE: 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; } 37200 ecx = edx; /* 0x2B073DD0: mov ecx, edx */ 37201 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 37202 ecx = ecx & 3; /* 0x2B073DD2: and ecx, 3 */ 37203 _cf = 0; 37204 _flag_k = FK_TEST; 37205 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B073DD5: 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; } 37206 eax = MEM32(ebp + (-0x1C)); /* 0x2B073DD7: mov eax, dword ptr [ebp - 0x1c] */ 37207 MEM32(ebp + (-0x18)) = ebx; /* 0x2B073DDA: mov dword ptr [ebp - 0x18], ebx */ 37208 MEM8(eax + ebx) = (uint8_t)(0); /* 0x2B073DDD: mov byte ptr [eax + ebx], 0 */ 37209 L_2B073DE1: 37210 ecx = MEM32(ebp + 0x8); /* 0x2B073DE1: mov ecx, dword ptr [ebp + 8] */ 37211 PUSH32(esp, 0); /* 0x2B073DE4: push 0 */ 37212 PUSH32(esp, ecx); /* 0x2B073DE6: push ecx */ 37213 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B073DE7: call dword ptr [0x2b0b5d6c] */ 37214 RECOMP_FLAGS_IN(); 37215 ecx = eax; /* 0x2B073DED: mov ecx, eax */ 37216 RECOMP_ICALL(MEM32(0x2B0B5D84)); /* 0x2B073DEF: call dword ptr [0x2b0b5d84] */ 37217 RECOMP_FLAGS_IN(); 37218 esi = eax; /* 0x2B073DF5: mov esi, eax */ 37219 /* test esi, esi */ /* 0x2B073DF7: test esi, esi */ 37220 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 37221 _cf = 0; 37222 _flag_k = FK_TEST; 37223 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073E5D; /* 0x2B073DF9: je 0x2b073e5d */ 37224 L_2B073DFB: 37225 edx = MEM32(0x2B0B515C); /* 0x2B073DFB: mov edx, dword ptr [0x2b0b515c] */ 37226 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 37227 eax = 0; /* 0x2B073E01: xor eax, eax */ 37228 _cf = 0; 37229 _flag_k = FK_TEST; 37230 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 37231 ecx = ecx | 0xFFFFFFFFu; /* 0x2B073E03: or ecx, 0xffffffff */ 37232 _cf = 0; 37233 _flag_k = FK_TEST; 37234 edi = esi; /* 0x2B073E06: mov edi, esi */ 37235 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; } /* 0x2B073E08: repne scasb al, byte ptr es:[edi] */ 37236 eax = MEM32(edx); /* 0x2B073E0A: mov eax, dword ptr [edx] */ 37237 edx = MEM32(ebp + (-0x18)); /* 0x2B073E0C: mov edx, dword ptr [ebp - 0x18] */ 37238 ecx = ~ecx; /* 0x2B073E0F: not ecx */ 37239 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 37240 ecx = ecx - 1; /* 0x2B073E11: dec ecx */ 37241 _flag_k = FK_DEC; 37242 edi = ecx; /* 0x2B073E12: mov edi, ecx */ 37243 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 37244 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37245 eax = eax - edx; /* 0x2B073E14: sub eax, edx */ 37246 _flag_k = FK_CMP; 37247 /* cmp eax, edi */ /* 0x2B073E16: cmp eax, edi */ 37248 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 37249 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37250 _flag_k = FK_CMP; 37251 if (CMP_A(_flag_a, _flag_b)) goto L_2B073E20; /* 0x2B073E18: ja 0x2b073e20 */ 37252 L_2B073E1A: 37253 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B073E1A: call dword ptr [0x2b0b51a8] */ 37254 RECOMP_FLAGS_IN(); 37255 L_2B073E20: 37256 /* test edi, edi */ /* 0x2B073E20: test edi, edi */ 37257 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 37258 _cf = 0; 37259 _flag_k = FK_TEST; 37260 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073E5D; /* 0x2B073E22: jbe 0x2b073e5d */ 37261 L_2B073E24: 37262 ecx = MEM32(ebp + (-0x18)); /* 0x2B073E24: mov ecx, dword ptr [ebp - 0x18] */ 37263 ebx = ecx + edi; /* 0x2B073E27: lea ebx, [ecx + edi] */ 37264 PUSH32(esp, 0); /* 0x2B073E2A: push 0 */ 37265 PUSH32(esp, ebx); /* 0x2B073E2C: push ebx */ 37266 ecx = ebp + (-0x20); /* 0x2B073E2D: lea ecx, [ebp - 0x20] */ 37267 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B073E30: call dword ptr [0x2b0b5154] */ 37268 RECOMP_FLAGS_IN(); 37269 /* test LO8(eax), LO8(eax) */ /* 0x2B073E36: test al, al */ 37270 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 37271 _cf = 0; 37272 _flag_k = FK_NARROW(FK_TEST, 24); 37273 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073E5D; /* 0x2B073E38: je 0x2b073e5d */ 37274 L_2B073E3A: 37275 eax = MEM32(ebp + (-0x18)); /* 0x2B073E3A: mov eax, dword ptr [ebp - 0x18] */ 37276 edx = MEM32(ebp + (-0x1C)); /* 0x2B073E3D: mov edx, dword ptr [ebp - 0x1c] */ 37277 ecx = edi; /* 0x2B073E40: mov ecx, edi */ 37278 edi = eax + edx; /* 0x2B073E42: lea edi, [eax + edx] */ 37279 edx = ecx; /* 0x2B073E45: mov edx, ecx */ 37280 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B073E47: shr ecx, 2 */ 37281 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 37282 ecx = ecx >> 2u; /* 0x2B073E47: shr ecx, 2 */ 37283 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B073E4A: 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; } 37284 ecx = edx; /* 0x2B073E4C: mov ecx, edx */ 37285 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 37286 ecx = ecx & 3; /* 0x2B073E4E: and ecx, 3 */ 37287 _cf = 0; 37288 _flag_k = FK_TEST; 37289 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B073E51: 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; } 37290 eax = MEM32(ebp + (-0x1C)); /* 0x2B073E53: mov eax, dword ptr [ebp - 0x1c] */ 37291 MEM32(ebp + (-0x18)) = ebx; /* 0x2B073E56: mov dword ptr [ebp - 0x18], ebx */ 37292 MEM8(eax + ebx) = (uint8_t)(0); /* 0x2B073E59: mov byte ptr [eax + ebx], 0 */ 37293 L_2B073E5D: 37294 eax = MEM32(ebp + (-0x18)); /* 0x2B073E5D: mov eax, dword ptr [ebp - 0x18] */ 37295 /* test eax, eax */ /* 0x2B073E60: test eax, eax */ 37296 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 37297 _cf = 0; 37298 _flag_k = FK_TEST; 37299 edi = POP32_VAL(esp); /* 0x2B073E62: pop edi */ 37300 esi = POP32_VAL(esp); /* 0x2B073E63: pop esi */ 37301 ebx = POP32_VAL(esp); /* 0x2B073E64: pop ebx */ 37302 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073E85; /* 0x2B073E65: je 0x2b073e85 */ 37303 L_2B073E67: 37304 eax = MEM32(ebp + (-0x1C)); /* 0x2B073E67: mov eax, dword ptr [ebp - 0x1c] */ 37305 /* test eax, eax */ /* 0x2B073E6A: test eax, eax */ 37306 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 37307 _cf = 0; 37308 _flag_k = FK_TEST; 37309 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B073E73; /* 0x2B073E6C: jne 0x2b073e73 */ 37310 L_2B073E6E: 37311 eax = MEM32(0x2B0B513C); /* 0x2B073E6E: mov eax, dword ptr [0x2b0b513c] */ 37312 L_2B073E73: 37313 ecx = MEM32(ebp + 0xC); /* 0x2B073E73: mov ecx, dword ptr [ebp + 0xc] */ 37314 PUSH32(esp, ecx); /* 0x2B073E76: push ecx */ 37315 ecx = MEM32(ebp + (-0x10)); /* 0x2B073E77: mov ecx, dword ptr [ebp - 0x10] */ 37316 PUSH32(esp, eax); /* 0x2B073E7A: push eax */ 37317 PUSH32(esp, 0x2B0EC034u); /* 0x2B073E7B: push 0x2b0ec034 */ 37318 RECOMP_ICALL(0x2B073610u); /* 0x2B073E80: call 0x2b073610 */ /* not lifted */ 37319 RECOMP_FLAGS_IN(); 37320 L_2B073E85: 37321 ecx = MEM32(ebp + (-0x1C)); /* 0x2B073E85: mov ecx, dword ptr [ebp - 0x1c] */ 37322 /* test ecx, ecx */ /* 0x2B073E88: test ecx, ecx */ 37323 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 37324 _cf = 0; 37325 _flag_k = FK_TEST; 37326 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073EB6; /* 0x2B073E8A: je 0x2b073eb6 */ 37327 L_2B073E8C: 37328 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B073E8C: mov al, byte ptr [ecx - 1] */ 37329 /* test LO8(eax), LO8(eax) */ /* 0x2B073E8F: test al, al */ 37330 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 37331 _cf = 0; 37332 _flag_k = FK_NARROW(FK_TEST, 24); 37333 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073EAC; /* 0x2B073E91: je 0x2b073eac */ 37334 L_2B073E93: 37335 /* cmp LO8(eax), 0xFFu */ /* 0x2B073E93: cmp al, 0xff */ 37336 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 37337 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37338 _flag_k = FK_NARROW(FK_CMP, 24); 37339 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B073EAC; /* 0x2B073E95: je 0x2b073eac */ 37340 L_2B073E97: 37341 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 37342 SET_LO8(eax, LO8(eax) - 1); /* 0x2B073E97: dec al */ 37343 _flag_k = FK_NARROW(FK_DEC, 24); 37344 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B073E99: mov byte ptr [ecx - 1], al */ 37345 ecx = MEM32(ebp + (-0xC)); /* 0x2B073E9C: mov ecx, dword ptr [ebp - 0xc] */ 37346 MEM32(FS_BASE + (0)) = ecx; /* 0x2B073E9F: mov dword ptr fs:[0], ecx */ 37347 esp = ebp; /* 0x2B073EA6: mov esp, ebp */ 37348 ebp = POP32_VAL(esp); /* 0x2B073EA8: pop ebp */ 37349 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B073EA9: ret 8 */ 37350 L_2B073EAC: 37351 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 37352 ecx = ecx - 1; /* 0x2B073EAC: dec ecx */ 37353 _flag_k = FK_DEC; 37354 PUSH32(esp, ecx); /* 0x2B073EAD: push ecx */ 37355 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B073EAE: call 0x2b0ab1ba */ /* not lifted */ 37356 RECOMP_FLAGS_IN(); 37357 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 37358 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 37359 esp = esp + 4; /* 0x2B073EB3: add esp, 4 */ 37360 _flag_k = FK_ADD; 37361 L_2B073EB6: 37362 ecx = MEM32(ebp + (-0xC)); /* 0x2B073EB6: mov ecx, dword ptr [ebp - 0xc] */ 37363 MEM32(FS_BASE + (0)) = ecx; /* 0x2B073EB9: mov dword ptr fs:[0], ecx */ 37364 esp = ebp; /* 0x2B073EC0: mov esp, ebp */ 37365 ebp = POP32_VAL(esp); /* 0x2B073EC2: pop ebp */ 37366 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B073EC3: ret 8 */ 37367 RECOMP_REGS_OUT(); 37368 } 37369 37370 void sub_2B073ED0(void) { 37371 int _fpu_cmp = 0; 37372 uint32_t _cf = 0; 37373 int _df = 1; 37374 uint32_t _flag_k = FK_NONE; 37375 uint32_t _flag_a = 0, _flag_b = 0; 37376 uint32_t _itail_tgt = 0; 37377 RECOMP_REGS_LOCALS 37378 RECOMP_ENTER(0x2B073ED0u); 37379 37380 L_2B073ED0: 37381 PUSH32(esp, ebp); /* 0x2B073ED0: push ebp */ 37382 ebp = esp; /* 0x2B073ED1: mov ebp, esp */ 37383 eax = MEM32(ebp + 0x8); /* 0x2B073ED3: mov eax, dword ptr [ebp + 8] */ 37384 PUSH32(esp, esi); /* 0x2B073ED6: push esi */ 37385 PUSH32(esp, 0x18u); /* 0x2B073ED7: push 0x18 */ 37386 PUSH32(esp, eax); /* 0x2B073ED9: push eax */ 37387 esi = ecx; /* 0x2B073EDA: mov esi, ecx */ 37388 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B073EDC: call dword ptr [0x2b0b5d6c] */ 37389 RECOMP_FLAGS_IN(); 37390 ecx = eax; /* 0x2B073EE2: mov ecx, eax */ 37391 RECOMP_ICALL(MEM32(0x2B0B5D84)); /* 0x2B073EE4: call dword ptr [0x2b0b5d84] */ 37392 RECOMP_FLAGS_IN(); 37393 /* cmp MEM8(eax), 0 */ /* 0x2B073EEA: cmp byte ptr [eax], 0 */ 37394 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0) << 24; 37395 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37396 _flag_k = FK_NARROW(FK_CMP, 24); 37397 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B073F00; /* 0x2B073EED: je 0x2b073f00 */ 37398 L_2B073EEF: 37399 ecx = MEM32(ebp + 0xC); /* 0x2B073EEF: mov ecx, dword ptr [ebp + 0xc] */ 37400 PUSH32(esp, ecx); /* 0x2B073EF2: push ecx */ 37401 PUSH32(esp, eax); /* 0x2B073EF3: push eax */ 37402 PUSH32(esp, 0x2B0EC040u); /* 0x2B073EF4: push 0x2b0ec040 */ 37403 ecx = esi; /* 0x2B073EF9: mov ecx, esi */ 37404 RECOMP_ICALL(0x2B073610u); /* 0x2B073EFB: call 0x2b073610 */ /* not lifted */ 37405 RECOMP_FLAGS_IN(); 37406 L_2B073F00: 37407 esi = POP32_VAL(esp); /* 0x2B073F00: pop esi */ 37408 ebp = POP32_VAL(esp); /* 0x2B073F01: pop ebp */ 37409 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B073F02: ret 8 */ 37410 RECOMP_REGS_OUT(); 37411 } 37412 37413 void sub_2B073F10(void) { 37414 int _fpu_cmp = 0; 37415 uint32_t _cf = 0; 37416 int _df = 1; 37417 uint32_t _flag_k = FK_NONE; 37418 uint32_t _flag_a = 0, _flag_b = 0; 37419 uint32_t _itail_tgt = 0; 37420 RECOMP_REGS_LOCALS 37421 RECOMP_ENTER(0x2B073F10u); 37422 37423 L_2B073F10: 37424 PUSH32(esp, ebp); /* 0x2B073F10: push ebp */ 37425 ebp = esp; /* 0x2B073F11: mov ebp, esp */ 37426 eax = MEM32(ebp + 0x8); /* 0x2B073F13: mov eax, dword ptr [ebp + 8] */ 37427 PUSH32(esp, esi); /* 0x2B073F16: push esi */ 37428 PUSH32(esp, 0x19u); /* 0x2B073F17: push 0x19 */ 37429 PUSH32(esp, eax); /* 0x2B073F19: push eax */ 37430 esi = ecx; /* 0x2B073F1A: mov esi, ecx */ 37431 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B073F1C: call dword ptr [0x2b0b5d6c] */ 37432 RECOMP_FLAGS_IN(); 37433 ecx = eax; /* 0x2B073F22: mov ecx, eax */ 37434 RECOMP_ICALL(MEM32(0x2B0B5D84)); /* 0x2B073F24: call dword ptr [0x2b0b5d84] */ 37435 RECOMP_FLAGS_IN(); 37436 /* cmp MEM8(eax), 0 */ /* 0x2B073F2A: cmp byte ptr [eax], 0 */ 37437 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0) << 24; 37438 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37439 _flag_k = FK_NARROW(FK_CMP, 24); 37440 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B073F40; /* 0x2B073F2D: je 0x2b073f40 */ 37441 L_2B073F2F: 37442 ecx = MEM32(ebp + 0xC); /* 0x2B073F2F: mov ecx, dword ptr [ebp + 0xc] */ 37443 PUSH32(esp, ecx); /* 0x2B073F32: push ecx */ 37444 PUSH32(esp, eax); /* 0x2B073F33: push eax */ 37445 PUSH32(esp, 0x2B0EC060u); /* 0x2B073F34: push 0x2b0ec060 */ 37446 ecx = esi; /* 0x2B073F39: mov ecx, esi */ 37447 RECOMP_ICALL(0x2B073610u); /* 0x2B073F3B: call 0x2b073610 */ /* not lifted */ 37448 RECOMP_FLAGS_IN(); 37449 L_2B073F40: 37450 esi = POP32_VAL(esp); /* 0x2B073F40: pop esi */ 37451 ebp = POP32_VAL(esp); /* 0x2B073F41: pop ebp */ 37452 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B073F42: ret 8 */ 37453 RECOMP_REGS_OUT(); 37454 } 37455 37456 void sub_2B073F50(void) { 37457 int _fpu_cmp = 0; 37458 uint32_t _cf = 0; 37459 int _df = 1; 37460 uint32_t _flag_k = FK_NONE; 37461 uint32_t _flag_a = 0, _flag_b = 0; 37462 uint32_t _itail_tgt = 0; 37463 RECOMP_REGS_LOCALS 37464 RECOMP_ENTER(0x2B073F50u); 37465 37466 L_2B073F50: 37467 PUSH32(esp, ebp); /* 0x2B073F50: push ebp */ 37468 ebp = esp; /* 0x2B073F51: mov ebp, esp */ 37469 eax = MEM32(ebp + 0x8); /* 0x2B073F53: mov eax, dword ptr [ebp + 8] */ 37470 PUSH32(esp, esi); /* 0x2B073F56: push esi */ 37471 PUSH32(esp, 0x1Au); /* 0x2B073F57: push 0x1a */ 37472 PUSH32(esp, eax); /* 0x2B073F59: push eax */ 37473 esi = ecx; /* 0x2B073F5A: mov esi, ecx */ 37474 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B073F5C: call dword ptr [0x2b0b5d6c] */ 37475 RECOMP_FLAGS_IN(); 37476 ecx = eax; /* 0x2B073F62: mov ecx, eax */ 37477 RECOMP_ICALL(MEM32(0x2B0B5D84)); /* 0x2B073F64: call dword ptr [0x2b0b5d84] */ 37478 RECOMP_FLAGS_IN(); 37479 /* cmp MEM8(eax), 0 */ /* 0x2B073F6A: cmp byte ptr [eax], 0 */ 37480 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0) << 24; 37481 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37482 _flag_k = FK_NARROW(FK_CMP, 24); 37483 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B073F80; /* 0x2B073F6D: je 0x2b073f80 */ 37484 L_2B073F6F: 37485 ecx = MEM32(ebp + 0xC); /* 0x2B073F6F: mov ecx, dword ptr [ebp + 0xc] */ 37486 PUSH32(esp, ecx); /* 0x2B073F72: push ecx */ 37487 PUSH32(esp, eax); /* 0x2B073F73: push eax */ 37488 PUSH32(esp, 0x2B0EC080u); /* 0x2B073F74: push 0x2b0ec080 */ 37489 ecx = esi; /* 0x2B073F79: mov ecx, esi */ 37490 RECOMP_ICALL(0x2B073610u); /* 0x2B073F7B: call 0x2b073610 */ /* not lifted */ 37491 RECOMP_FLAGS_IN(); 37492 L_2B073F80: 37493 esi = POP32_VAL(esp); /* 0x2B073F80: pop esi */ 37494 ebp = POP32_VAL(esp); /* 0x2B073F81: pop ebp */ 37495 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B073F82: ret 8 */ 37496 RECOMP_REGS_OUT(); 37497 } 37498 37499 void sub_2B073F90(void) { 37500 int _fpu_cmp = 0; 37501 uint32_t _cf = 0; 37502 int _df = 1; 37503 uint32_t _flag_k = FK_NONE; 37504 uint32_t _flag_a = 0, _flag_b = 0; 37505 uint32_t _itail_tgt = 0; 37506 RECOMP_REGS_LOCALS 37507 RECOMP_ENTER(0x2B073F90u); 37508 37509 L_2B073F90: 37510 PUSH32(esp, ebp); /* 0x2B073F90: push ebp */ 37511 ebp = esp; /* 0x2B073F91: mov ebp, esp */ 37512 eax = MEM32(ebp + 0x8); /* 0x2B073F93: mov eax, dword ptr [ebp + 8] */ 37513 PUSH32(esp, esi); /* 0x2B073F96: push esi */ 37514 PUSH32(esp, eax); /* 0x2B073F97: push eax */ 37515 esi = ecx; /* 0x2B073F98: mov esi, ecx */ 37516 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B073F9A: call dword ptr [0x2b0b5d6c] */ 37517 RECOMP_FLAGS_IN(); 37518 ecx = eax; /* 0x2B073FA0: mov ecx, eax */ 37519 RECOMP_ICALL(MEM32(0x2B0B5C70)); /* 0x2B073FA2: call dword ptr [0x2b0b5c70] */ 37520 RECOMP_FLAGS_IN(); 37521 /* test eax, eax */ /* 0x2B073FA8: test eax, eax */ 37522 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 37523 _cf = 0; 37524 _flag_k = FK_TEST; 37525 if (TEST_Z(_flag_a, _flag_b)) goto L_2B073FC2; /* 0x2B073FAA: je 0x2b073fc2 */ 37526 L_2B073FAC: 37527 /* cmp MEM8(eax), 0 */ /* 0x2B073FAC: cmp byte ptr [eax], 0 */ 37528 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0) << 24; 37529 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37530 _flag_k = FK_NARROW(FK_CMP, 24); 37531 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B073FC2; /* 0x2B073FAF: je 0x2b073fc2 */ 37532 L_2B073FB1: 37533 ecx = MEM32(ebp + 0xC); /* 0x2B073FB1: mov ecx, dword ptr [ebp + 0xc] */ 37534 PUSH32(esp, ecx); /* 0x2B073FB4: push ecx */ 37535 PUSH32(esp, eax); /* 0x2B073FB5: push eax */ 37536 PUSH32(esp, 0x2B0EC098u); /* 0x2B073FB6: push 0x2b0ec098 */ 37537 ecx = esi; /* 0x2B073FBB: mov ecx, esi */ 37538 RECOMP_ICALL(0x2B073610u); /* 0x2B073FBD: call 0x2b073610 */ /* not lifted */ 37539 RECOMP_FLAGS_IN(); 37540 L_2B073FC2: 37541 esi = POP32_VAL(esp); /* 0x2B073FC2: pop esi */ 37542 ebp = POP32_VAL(esp); /* 0x2B073FC3: pop ebp */ 37543 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B073FC4: ret 8 */ 37544 RECOMP_REGS_OUT(); 37545 } 37546 37547 void sub_2B073FD0(void) { 37548 int _fpu_cmp = 0; 37549 uint32_t _cf = 0; 37550 int _df = 1; 37551 uint32_t _flag_k = FK_NONE; 37552 uint32_t _flag_a = 0, _flag_b = 0; 37553 uint32_t _itail_tgt = 0; 37554 RECOMP_REGS_LOCALS 37555 RECOMP_ENTER(0x2B073FD0u); 37556 37557 L_2B073FD0: 37558 PUSH32(esp, ebp); /* 0x2B073FD0: push ebp */ 37559 ebp = esp; /* 0x2B073FD1: mov ebp, esp */ 37560 PUSH32(esp, esi); /* 0x2B073FD3: push esi */ 37561 eax = ebp + 0xB; /* 0x2B073FD4: lea eax, [ebp + 0xb] */ 37562 esi = ecx; /* 0x2B073FD7: mov esi, ecx */ 37563 ecx = MEM32(ebp + 0x8); /* 0x2B073FD9: mov ecx, dword ptr [ebp + 8] */ 37564 PUSH32(esp, eax); /* 0x2B073FDC: push eax */ 37565 PUSH32(esp, ecx); /* 0x2B073FDD: push ecx */ 37566 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B073FDE: call dword ptr [0x2b0b5d6c] */ 37567 RECOMP_FLAGS_IN(); 37568 ecx = eax; /* 0x2B073FE4: mov ecx, eax */ 37569 RECOMP_ICALL(MEM32(0x2B0B5C74)); /* 0x2B073FE6: call dword ptr [0x2b0b5c74] */ 37570 RECOMP_FLAGS_IN(); 37571 /* test eax, eax */ /* 0x2B073FEC: test eax, eax */ 37572 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 37573 _cf = 0; 37574 _flag_k = FK_TEST; 37575 if (TEST_Z(_flag_a, _flag_b)) goto L_2B074001; /* 0x2B073FEE: je 0x2b074001 */ 37576 L_2B073FF0: 37577 edx = MEM32(ebp + 0xC); /* 0x2B073FF0: mov edx, dword ptr [ebp + 0xc] */ 37578 PUSH32(esp, edx); /* 0x2B073FF3: push edx */ 37579 PUSH32(esp, eax); /* 0x2B073FF4: push eax */ 37580 PUSH32(esp, 0x2B0EC0B0u); /* 0x2B073FF5: push 0x2b0ec0b0 */ 37581 ecx = esi; /* 0x2B073FFA: mov ecx, esi */ 37582 RECOMP_ICALL(0x2B073610u); /* 0x2B073FFC: call 0x2b073610 */ /* not lifted */ 37583 RECOMP_FLAGS_IN(); 37584 L_2B074001: 37585 esi = POP32_VAL(esp); /* 0x2B074001: pop esi */ 37586 ebp = POP32_VAL(esp); /* 0x2B074002: pop ebp */ 37587 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B074003: ret 8 */ 37588 RECOMP_REGS_OUT(); 37589 } 37590 37591 void sub_2B074010(void) { 37592 int _fpu_cmp = 0; 37593 uint32_t _cf = 0; 37594 int _df = 1; 37595 uint32_t _flag_k = FK_NONE; 37596 uint32_t _flag_a = 0, _flag_b = 0; 37597 uint32_t _itail_tgt = 0; 37598 RECOMP_REGS_LOCALS 37599 RECOMP_ENTER(0x2B074010u); 37600 37601 L_2B074010: 37602 PUSH32(esp, ebp); /* 0x2B074010: push ebp */ 37603 ebp = esp; /* 0x2B074011: mov ebp, esp */ 37604 eax = MEM32(ebp + 0x8); /* 0x2B074013: mov eax, dword ptr [ebp + 8] */ 37605 PUSH32(esp, esi); /* 0x2B074016: push esi */ 37606 PUSH32(esp, eax); /* 0x2B074017: push eax */ 37607 esi = ecx; /* 0x2B074018: mov esi, ecx */ 37608 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B07401A: call dword ptr [0x2b0b5d6c] */ 37609 RECOMP_FLAGS_IN(); 37610 ecx = eax; /* 0x2B074020: mov ecx, eax */ 37611 RECOMP_ICALL(MEM32(0x2B0B5C78)); /* 0x2B074022: call dword ptr [0x2b0b5c78] */ 37612 RECOMP_FLAGS_IN(); 37613 /* test eax, eax */ /* 0x2B074028: test eax, eax */ 37614 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 37615 _cf = 0; 37616 _flag_k = FK_TEST; 37617 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07403D; /* 0x2B07402A: je 0x2b07403d */ 37618 L_2B07402C: 37619 ecx = MEM32(ebp + 0xC); /* 0x2B07402C: mov ecx, dword ptr [ebp + 0xc] */ 37620 PUSH32(esp, ecx); /* 0x2B07402F: push ecx */ 37621 PUSH32(esp, eax); /* 0x2B074030: push eax */ 37622 PUSH32(esp, 0x2B0EC0C0u); /* 0x2B074031: push 0x2b0ec0c0 */ 37623 ecx = esi; /* 0x2B074036: mov ecx, esi */ 37624 RECOMP_ICALL(0x2B073610u); /* 0x2B074038: call 0x2b073610 */ /* not lifted */ 37625 RECOMP_FLAGS_IN(); 37626 L_2B07403D: 37627 esi = POP32_VAL(esp); /* 0x2B07403D: pop esi */ 37628 ebp = POP32_VAL(esp); /* 0x2B07403E: pop ebp */ 37629 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07403F: ret 8 */ 37630 RECOMP_REGS_OUT(); 37631 } 37632 37633 void sub_2B074050(void) { 37634 int _fpu_cmp = 0; 37635 uint32_t _cf = 0; 37636 int _df = 1; 37637 uint32_t _flag_k = FK_NONE; 37638 uint32_t _flag_a = 0, _flag_b = 0; 37639 uint32_t _itail_tgt = 0; 37640 RECOMP_REGS_LOCALS 37641 RECOMP_ENTER(0x2B074050u); 37642 37643 L_2B074050: 37644 PUSH32(esp, ebp); /* 0x2B074050: push ebp */ 37645 ebp = esp; /* 0x2B074051: mov ebp, esp */ 37646 eax = MEM32(ebp + 0x8); /* 0x2B074053: mov eax, dword ptr [ebp + 8] */ 37647 PUSH32(esp, edi); /* 0x2B074056: push edi */ 37648 PUSH32(esp, eax); /* 0x2B074057: push eax */ 37649 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B074058: call dword ptr [0x2b0b5d6c] */ 37650 RECOMP_FLAGS_IN(); 37651 ecx = eax; /* 0x2B07405E: mov ecx, eax */ 37652 RECOMP_ICALL(MEM32(0x2B0B5EAC)); /* 0x2B074060: call dword ptr [0x2b0b5eac] */ 37653 RECOMP_FLAGS_IN(); 37654 edi = eax; /* 0x2B074066: mov edi, eax */ 37655 /* test edi, edi */ /* 0x2B074068: test edi, edi */ 37656 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 37657 _cf = 0; 37658 _flag_k = FK_TEST; 37659 if (TEST_Z(_flag_a, _flag_b)) goto L_2B074099; /* 0x2B07406A: je 0x2b074099 */ 37660 L_2B07406C: 37661 PUSH32(esp, esi); /* 0x2B07406C: push esi */ 37662 esi = MEM32(ebp + 0xC); /* 0x2B07406D: mov esi, dword ptr [ebp + 0xc] */ 37663 PUSH32(esp, 0xCu); /* 0x2B074070: push 0xc */ 37664 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B074072: push -1 */ 37665 ecx = esi; /* 0x2B074074: mov ecx, esi */ 37666 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B074076: call dword ptr [0x2b0b5a74] */ 37667 RECOMP_FLAGS_IN(); 37668 eax = 4; /* 0x2B07407C: mov eax, 4 */ 37669 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 37670 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37671 eax = eax - edi; /* 0x2B074081: sub eax, edi */ 37672 _flag_k = FK_CMP; 37673 eax = eax + eax * 4; /* 0x2B074083: lea eax, [eax + eax*4] */ 37674 ecx = eax + eax * 4; /* 0x2B074086: lea ecx, [eax + eax*4] */ 37675 PUSH32(esp, ecx); /* 0x2B074089: push ecx */ 37676 PUSH32(esp, 0x2B0EC0D0u); /* 0x2B07408A: push 0x2b0ec0d0 */ 37677 PUSH32(esp, esi); /* 0x2B07408F: push esi */ 37678 RECOMP_ICALL(0x2B020AF0u); /* 0x2B074090: call 0x2b020af0 */ /* not lifted */ 37679 RECOMP_FLAGS_IN(); 37680 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 37681 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 37682 esp = esp + 0xCu; /* 0x2B074095: add esp, 0xc */ 37683 _flag_k = FK_ADD; 37684 esi = POP32_VAL(esp); /* 0x2B074098: pop esi */ 37685 L_2B074099: 37686 edi = POP32_VAL(esp); /* 0x2B074099: pop edi */ 37687 ebp = POP32_VAL(esp); /* 0x2B07409A: pop ebp */ 37688 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07409B: ret 8 */ 37689 RECOMP_REGS_OUT(); 37690 } 37691 37692 void sub_2B0740A0(void) { 37693 int _fpu_cmp = 0; 37694 uint32_t _cf = 0; 37695 int _df = 1; 37696 uint32_t _flag_k = FK_NONE; 37697 uint32_t _flag_a = 0, _flag_b = 0; 37698 uint32_t _itail_tgt = 0; 37699 RECOMP_REGS_LOCALS 37700 RECOMP_ENTER(0x2B0740A0u); 37701 37702 L_2B0740A0: 37703 PUSH32(esp, ebp); /* 0x2B0740A0: push ebp */ 37704 ebp = esp; /* 0x2B0740A1: mov ebp, esp */ 37705 PUSH32(esp, ebx); /* 0x2B0740A3: push ebx */ 37706 PUSH32(esp, esi); /* 0x2B0740A4: push esi */ 37707 PUSH32(esp, edi); /* 0x2B0740A5: push edi */ 37708 edi = MEM32(ebp + 0x8); /* 0x2B0740A6: mov edi, dword ptr [ebp + 8] */ 37709 PUSH32(esp, edi); /* 0x2B0740A9: push edi */ 37710 esi = ecx; /* 0x2B0740AA: mov esi, ecx */ 37711 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0740AC: call dword ptr [0x2b0b5d6c] */ 37712 RECOMP_FLAGS_IN(); 37713 ecx = eax; /* 0x2B0740B2: mov ecx, eax */ 37714 RECOMP_ICALL(MEM32(0x2B0B5DCC)); /* 0x2B0740B4: call dword ptr [0x2b0b5dcc] */ 37715 RECOMP_FLAGS_IN(); 37716 /* test LO8(eax), LO8(eax) */ /* 0x2B0740BA: test al, al */ 37717 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 37718 _cf = 0; 37719 _flag_k = FK_NARROW(FK_TEST, 24); 37720 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0741A1; /* 0x2B0740BC: jne 0x2b0741a1 */ 37721 L_2B0740C2: 37722 PUSH32(esp, 8); /* 0x2B0740C2: push 8 */ 37723 PUSH32(esp, edi); /* 0x2B0740C4: push edi */ 37724 ecx = esi; /* 0x2B0740C5: mov ecx, esi */ 37725 RECOMP_ICALL(0x2B0735D0u); /* 0x2B0740C7: call 0x2b0735d0 */ /* not lifted */ 37726 RECOMP_FLAGS_IN(); 37727 /* cmp eax, 0x499602D2u */ /* 0x2B0740CC: cmp eax, 0x499602d2 */ 37728 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 37729 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37730 _flag_k = FK_CMP; 37731 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0741A1; /* 0x2B0740D1: je 0x2b0741a1 */ 37732 L_2B0740D7: 37733 /* test eax, eax */ /* 0x2B0740D7: test eax, eax */ 37734 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 37735 _cf = 0; 37736 _flag_k = FK_TEST; 37737 if (TEST_LE(_flag_a, _flag_b)) goto L_2B0741A1; /* 0x2B0740D9: jle 0x2b0741a1 */ 37738 L_2B0740DF: 37739 ebx = MEM32(ebp + 0xC); /* 0x2B0740DF: mov ebx, dword ptr [ebp + 0xc] */ 37740 edx = MEM32(ebx + 0x8); /* 0x2B0740E2: mov edx, dword ptr [ebx + 8] */ 37741 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 37742 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0740E5: or ecx, 0xffffffff */ 37743 _cf = 0; 37744 _flag_k = FK_TEST; 37745 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 37746 eax = 0; /* 0x2B0740E8: xor eax, eax */ 37747 _cf = 0; 37748 _flag_k = FK_TEST; 37749 edi = 0x2B0EC0E0u; /* 0x2B0740EA: mov edi, 0x2b0ec0e0 */ 37750 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; } /* 0x2B0740EF: repne scasb al, byte ptr es:[edi] */ 37751 eax = MEM32(0x2B0B515C); /* 0x2B0740F1: mov eax, dword ptr [0x2b0b515c] */ 37752 ecx = ~ecx; /* 0x2B0740F6: not ecx */ 37753 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 37754 ecx = ecx - 1; /* 0x2B0740F8: dec ecx */ 37755 _flag_k = FK_DEC; 37756 edi = ecx; /* 0x2B0740F9: mov edi, ecx */ 37757 ecx = MEM32(eax); /* 0x2B0740FB: mov ecx, dword ptr [eax] */ 37758 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 37759 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37760 ecx = ecx - edx; /* 0x2B0740FD: sub ecx, edx */ 37761 _flag_k = FK_CMP; 37762 /* cmp ecx, edi */ /* 0x2B0740FF: cmp ecx, edi */ 37763 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 37764 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37765 _flag_k = FK_CMP; 37766 if (CMP_A(_flag_a, _flag_b)) goto L_2B074109; /* 0x2B074101: ja 0x2b074109 */ 37767 L_2B074103: 37768 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B074103: call dword ptr [0x2b0b51a8] */ 37769 RECOMP_FLAGS_IN(); 37770 L_2B074109: 37771 /* test edi, edi */ /* 0x2B074109: test edi, edi */ 37772 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 37773 _cf = 0; 37774 _flag_k = FK_TEST; 37775 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0741A1; /* 0x2B07410B: jbe 0x2b0741a1 */ 37776 L_2B074111: 37777 esi = MEM32(ebx + 0x8); /* 0x2B074111: mov esi, dword ptr [ebx + 8] */ 37778 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 37779 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 37780 esi = esi + edi; /* 0x2B074114: add esi, edi */ 37781 _flag_k = FK_ADD; 37782 /* cmp esi, 0xFFFFFFFDu */ /* 0x2B074116: cmp esi, -3 */ 37783 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0xFFFFFFFDu); 37784 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37785 _flag_k = FK_CMP; 37786 MEM32(ebp + 0x8) = esi; /* 0x2B074119: mov dword ptr [ebp + 8], esi */ 37787 if (CMP_BE(_flag_a, _flag_b)) goto L_2B074124; /* 0x2B07411C: jbe 0x2b074124 */ 37788 L_2B07411E: 37789 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07411E: call dword ptr [0x2b0b51a8] */ 37790 RECOMP_FLAGS_IN(); 37791 L_2B074124: 37792 /* cmp esi, MEM32(ebx + 0x8) */ /* 0x2B074124: cmp esi, dword ptr [ebx + 8] */ 37793 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ebx + 0x8)); 37794 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37795 _flag_k = FK_CMP; 37796 if (CMP_AE(_flag_a, _flag_b)) goto L_2B07412C; /* 0x2B074127: jae 0x2b07412c */ 37797 L_2B074129: 37798 MEM32(ebx + 0x8) = esi; /* 0x2B074129: mov dword ptr [ebx + 8], esi */ 37799 L_2B07412C: 37800 eax = MEM32(ebx + 0x4); /* 0x2B07412C: mov eax, dword ptr [ebx + 4] */ 37801 /* test eax, eax */ /* 0x2B07412F: test eax, eax */ 37802 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 37803 _cf = 0; 37804 _flag_k = FK_TEST; 37805 if (TEST_Z(_flag_a, _flag_b)) goto L_2B074154; /* 0x2B074131: je 0x2b074154 */ 37806 L_2B074133: 37807 SET_LO8(ecx, MEM8(eax + (-0x1))); /* 0x2B074133: mov cl, byte ptr [eax - 1] */ 37808 /* test LO8(ecx), LO8(ecx) */ /* 0x2B074136: test cl, cl */ 37809 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 37810 _cf = 0; 37811 _flag_k = FK_NARROW(FK_TEST, 24); 37812 if (TEST_Z(_flag_a, _flag_b)) goto L_2B074154; /* 0x2B074138: je 0x2b074154 */ 37813 L_2B07413A: 37814 /* cmp LO8(ecx), 0xFFu */ /* 0x2B07413A: cmp cl, 0xff */ 37815 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 37816 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37817 _flag_k = FK_NARROW(FK_CMP, 24); 37818 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B074154; /* 0x2B07413D: je 0x2b074154 */ 37819 L_2B07413F: 37820 /* test esi, esi */ /* 0x2B07413F: test esi, esi */ 37821 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 37822 _cf = 0; 37823 _flag_k = FK_TEST; 37824 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07416E; /* 0x2B074141: jne 0x2b07416e */ 37825 L_2B074143: 37826 PUSH32(esp, 1); /* 0x2B074143: push 1 */ 37827 ecx = ebx; /* 0x2B074145: mov ecx, ebx */ 37828 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B074147: call dword ptr [0x2b0b514c] */ 37829 RECOMP_FLAGS_IN(); 37830 edi = POP32_VAL(esp); /* 0x2B07414D: pop edi */ 37831 esi = POP32_VAL(esp); /* 0x2B07414E: pop esi */ 37832 ebx = POP32_VAL(esp); /* 0x2B07414F: pop ebx */ 37833 ebp = POP32_VAL(esp); /* 0x2B074150: pop ebp */ 37834 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B074151: ret 8 */ 37835 L_2B074154: 37836 /* test esi, esi */ /* 0x2B074154: test esi, esi */ 37837 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 37838 _cf = 0; 37839 _flag_k = FK_TEST; 37840 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B074169; /* 0x2B074156: jne 0x2b074169 */ 37841 L_2B074158: 37842 /* test eax, eax */ /* 0x2B074158: test eax, eax */ 37843 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 37844 _cf = 0; 37845 _flag_k = FK_TEST; 37846 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0741A1; /* 0x2B07415A: je 0x2b0741a1 */ 37847 L_2B07415C: 37848 MEM32(ebx + 0x8) = esi; /* 0x2B07415C: mov dword ptr [ebx + 8], esi */ 37849 edi = POP32_VAL(esp); /* 0x2B07415F: pop edi */ 37850 esi = POP32_VAL(esp); /* 0x2B074160: pop esi */ 37851 MEM8(eax) = (uint8_t)(0); /* 0x2B074161: mov byte ptr [eax], 0 */ 37852 ebx = POP32_VAL(esp); /* 0x2B074164: pop ebx */ 37853 ebp = POP32_VAL(esp); /* 0x2B074165: pop ebp */ 37854 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B074166: ret 8 */ 37855 L_2B074169: 37856 /* cmp MEM32(ebx + 0xC), esi */ /* 0x2B074169: cmp dword ptr [ebx + 0xc], esi */ 37857 _flag_a = (uint32_t)(MEM32(ebx + 0xC)); _flag_b = (uint32_t)(esi); 37858 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37859 _flag_k = FK_CMP; 37860 if (CMP_AE(_flag_a, _flag_b)) goto L_2B074177; /* 0x2B07416C: jae 0x2b074177 */ 37861 L_2B07416E: 37862 PUSH32(esp, esi); /* 0x2B07416E: push esi */ 37863 ecx = ebx; /* 0x2B07416F: mov ecx, ebx */ 37864 RECOMP_ICALL(MEM32(0x2B0B5110)); /* 0x2B074171: call dword ptr [0x2b0b5110] */ 37865 RECOMP_FLAGS_IN(); 37866 L_2B074177: 37867 edx = MEM32(ebx + 0x4); /* 0x2B074177: mov edx, dword ptr [ebx + 4] */ 37868 eax = MEM32(ebp + 0x8); /* 0x2B07417A: mov eax, dword ptr [ebp + 8] */ 37869 ecx = edi; /* 0x2B07417D: mov ecx, edi */ 37870 edi = MEM32(ebx + 0x8); /* 0x2B07417F: mov edi, dword ptr [ebx + 8] */ 37871 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 37872 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 37873 edi = edi + edx; /* 0x2B074182: add edi, edx */ 37874 _flag_k = FK_ADD; 37875 edx = ecx; /* 0x2B074184: mov edx, ecx */ 37876 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B074186: shr ecx, 2 */ 37877 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 37878 ecx = ecx >> 2u; /* 0x2B074186: shr ecx, 2 */ 37879 esi = 0x2B0EC0E0u; /* 0x2B074189: mov esi, 0x2b0ec0e0 */ 37880 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07418E: 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; } 37881 ecx = edx; /* 0x2B074190: mov ecx, edx */ 37882 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 37883 ecx = ecx & 3; /* 0x2B074192: and ecx, 3 */ 37884 _cf = 0; 37885 _flag_k = FK_TEST; 37886 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B074195: 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; } 37887 ecx = MEM32(ebx + 0x4); /* 0x2B074197: mov ecx, dword ptr [ebx + 4] */ 37888 MEM32(ebx + 0x8) = eax; /* 0x2B07419A: mov dword ptr [ebx + 8], eax */ 37889 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B07419D: mov byte ptr [ecx + eax], 0 */ 37890 L_2B0741A1: 37891 edi = POP32_VAL(esp); /* 0x2B0741A1: pop edi */ 37892 esi = POP32_VAL(esp); /* 0x2B0741A2: pop esi */ 37893 ebx = POP32_VAL(esp); /* 0x2B0741A3: pop ebx */ 37894 ebp = POP32_VAL(esp); /* 0x2B0741A4: pop ebp */ 37895 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0741A5: ret 8 */ 37896 RECOMP_REGS_OUT(); 37897 } 37898 37899 void sub_2B0741B0(void) { 37900 int _fpu_cmp = 0; 37901 uint32_t _cf = 0; 37902 int _df = 1; 37903 uint32_t _flag_k = FK_NONE; 37904 uint32_t _flag_a = 0, _flag_b = 0; 37905 uint32_t _itail_tgt = 0; 37906 RECOMP_REGS_LOCALS 37907 RECOMP_ENTER(0x2B0741B0u); 37908 37909 L_2B0741B0: 37910 PUSH32(esp, ebp); /* 0x2B0741B0: push ebp */ 37911 ebp = esp; /* 0x2B0741B1: mov ebp, esp */ 37912 PUSH32(esp, ebx); /* 0x2B0741B3: push ebx */ 37913 ebx = MEM32(ebp + 0x8); /* 0x2B0741B4: mov ebx, dword ptr [ebp + 8] */ 37914 PUSH32(esp, esi); /* 0x2B0741B7: push esi */ 37915 PUSH32(esp, edi); /* 0x2B0741B8: push edi */ 37916 PUSH32(esp, 0x2BDu); /* 0x2B0741B9: push 0x2bd */ 37917 esi = ecx; /* 0x2B0741BE: mov esi, ecx */ 37918 PUSH32(esp, ebx); /* 0x2B0741C0: push ebx */ 37919 RECOMP_ICALL(0x2B0735D0u); /* 0x2B0741C1: call 0x2b0735d0 */ /* not lifted */ 37920 RECOMP_FLAGS_IN(); 37921 edi = eax; /* 0x2B0741C6: mov edi, eax */ 37922 /* cmp edi, 0x499602D2u */ /* 0x2B0741C8: cmp edi, 0x499602d2 */ 37923 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x499602D2u); 37924 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37925 _flag_k = FK_CMP; 37926 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B074227; /* 0x2B0741CE: je 0x2b074227 */ 37927 L_2B0741D0: 37928 /* test edi, edi */ /* 0x2B0741D0: test edi, edi */ 37929 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 37930 _cf = 0; 37931 _flag_k = FK_TEST; 37932 if (TEST_Z(_flag_a, _flag_b)) goto L_2B074227; /* 0x2B0741D2: je 0x2b074227 */ 37933 L_2B0741D4: 37934 PUSH32(esp, 0); /* 0x2B0741D4: push 0 */ 37935 PUSH32(esp, ebx); /* 0x2B0741D6: push ebx */ 37936 ecx = esi; /* 0x2B0741D7: mov ecx, esi */ 37937 RECOMP_ICALL(0x2B0735D0u); /* 0x2B0741D9: call 0x2b0735d0 */ /* not lifted */ 37938 RECOMP_FLAGS_IN(); 37939 /* test LO8(eax), 0x20u */ /* 0x2B0741DE: test al, 0x20 */ 37940 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0x20u) << 24; 37941 _cf = 0; 37942 _flag_k = FK_NARROW(FK_TEST, 24); 37943 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0741FE; /* 0x2B0741E0: je 0x2b0741fe */ 37944 L_2B0741E2: 37945 /* cmp eax, 0x499602D2u */ /* 0x2B0741E2: cmp eax, 0x499602d2 */ 37946 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 37947 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 37948 _flag_k = FK_CMP; 37949 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0741FE; /* 0x2B0741E7: je 0x2b0741fe */ 37950 L_2B0741E9: 37951 PUSH32(esp, 0x2B0EC100u); /* 0x2B0741E9: push 0x2b0ec100 */ 37952 PUSH32(esp, 0x2B0EEE84u); /* 0x2B0741EE: push 0x2b0eee84 */ 37953 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B0741F3: call dword ptr [0x2b0b51f0] */ 37954 RECOMP_FLAGS_IN(); 37955 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 37956 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 37957 esp = esp + 8; /* 0x2B0741F9: add esp, 8 */ 37958 _flag_k = FK_ADD; 37959 goto L_2B074212; /* 0x2B0741FC: jmp 0x2b074212 */ 37960 L_2B0741FE: 37961 PUSH32(esp, edi); /* 0x2B0741FE: push edi */ 37962 PUSH32(esp, 0x2B0E7354u); /* 0x2B0741FF: push 0x2b0e7354 */ 37963 PUSH32(esp, 0x2B0EEE84u); /* 0x2B074204: push 0x2b0eee84 */ 37964 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B074209: call dword ptr [0x2b0b51f0] */ 37965 RECOMP_FLAGS_IN(); 37966 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 37967 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 37968 esp = esp + 0xCu; /* 0x2B07420F: add esp, 0xc */ 37969 _flag_k = FK_ADD; 37970 L_2B074212: 37971 eax = MEM32(ebp + 0xC); /* 0x2B074212: mov eax, dword ptr [ebp + 0xc] */ 37972 PUSH32(esp, eax); /* 0x2B074215: push eax */ 37973 PUSH32(esp, 0x2B0EEE84u); /* 0x2B074216: push 0x2b0eee84 */ 37974 PUSH32(esp, 0x2B0EC0ECu); /* 0x2B07421B: push 0x2b0ec0ec */ 37975 ecx = esi; /* 0x2B074220: mov ecx, esi */ 37976 RECOMP_ICALL(0x2B073610u); /* 0x2B074222: call 0x2b073610 */ /* not lifted */ 37977 RECOMP_FLAGS_IN(); 37978 L_2B074227: 37979 edi = POP32_VAL(esp); /* 0x2B074227: pop edi */ 37980 esi = POP32_VAL(esp); /* 0x2B074228: pop esi */ 37981 ebx = POP32_VAL(esp); /* 0x2B074229: pop ebx */ 37982 ebp = POP32_VAL(esp); /* 0x2B07422A: pop ebp */ 37983 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07422B: ret 8 */ 37984 RECOMP_REGS_OUT(); 37985 } 37986 37987 void sub_2B074230(void) { 37988 int _fpu_cmp = 0; 37989 uint32_t _cf = 0; 37990 int _df = 1; 37991 uint32_t _flag_k = FK_NONE; 37992 uint32_t _flag_a = 0, _flag_b = 0; 37993 uint32_t _itail_tgt = 0; 37994 RECOMP_REGS_LOCALS 37995 RECOMP_ENTER(0x2B074230u); 37996 37997 L_2B074230: 37998 PUSH32(esp, ebp); /* 0x2B074230: push ebp */ 37999 ebp = esp; /* 0x2B074231: mov ebp, esp */ 38000 PUSH32(esp, ecx); /* 0x2B074233: push ecx */ 38001 eax = MEM32(ebp + 0x8); /* 0x2B074234: mov eax, dword ptr [ebp + 8] */ 38002 PUSH32(esp, 0); /* 0x2B074237: push 0 */ 38003 PUSH32(esp, eax); /* 0x2B074239: push eax */ 38004 MEM32(ebp + (-0x4)) = ecx; /* 0x2B07423A: mov dword ptr [ebp - 4], ecx */ 38005 RECOMP_ICALL(0x2B0735D0u); /* 0x2B07423D: call 0x2b0735d0 */ /* not lifted */ 38006 RECOMP_FLAGS_IN(); 38007 edx = eax; /* 0x2B074242: mov edx, eax */ 38008 /* cmp edx, 0x499602D2u */ /* 0x2B074244: cmp edx, 0x499602d2 */ 38009 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x499602D2u); 38010 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38011 _flag_k = FK_CMP; 38012 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07431B; /* 0x2B07424A: je 0x2b07431b */ 38013 L_2B074250: 38014 /* test edx, 0x04000000u */ /* 0x2B074250: test edx, 0x4000000 */ 38015 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x04000000u); 38016 _cf = 0; 38017 _flag_k = FK_TEST; 38018 PUSH32(esp, ebx); /* 0x2B074256: push ebx */ 38019 PUSH32(esp, esi); /* 0x2B074257: push esi */ 38020 PUSH32(esp, edi); /* 0x2B074258: push edi */ 38021 MEM8(0x2B0EEE84) = (uint8_t)(0); /* 0x2B074259: mov byte ptr [0x2b0eee84], 0 */ 38022 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07428F; /* 0x2B074260: je 0x2b07428f */ 38023 L_2B074262: 38024 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 38025 ecx = ecx | 0xFFFFFFFFu; /* 0x2B074262: or ecx, 0xffffffff */ 38026 _cf = 0; 38027 _flag_k = FK_TEST; 38028 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 38029 eax = 0; /* 0x2B074265: xor eax, eax */ 38030 _cf = 0; 38031 _flag_k = FK_TEST; 38032 edi = 0x2B0EC128u; /* 0x2B074267: mov edi, 0x2b0ec128 */ 38033 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; } /* 0x2B07426C: repne scasb al, byte ptr es:[edi] */ 38034 ecx = ~ecx; /* 0x2B07426E: not ecx */ 38035 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 38036 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38037 edi = edi - ecx; /* 0x2B074270: sub edi, ecx */ 38038 _flag_k = FK_CMP; 38039 ebx = ecx; /* 0x2B074272: mov ebx, ecx */ 38040 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 38041 ecx = ecx | 0xFFFFFFFFu; /* 0x2B074274: or ecx, 0xffffffff */ 38042 _cf = 0; 38043 _flag_k = FK_TEST; 38044 esi = edi; /* 0x2B074277: mov esi, edi */ 38045 edi = 0x2B0EEE84u; /* 0x2B074279: mov edi, 0x2b0eee84 */ 38046 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; } /* 0x2B07427E: repne scasb al, byte ptr es:[edi] */ 38047 ecx = ebx; /* 0x2B074280: mov ecx, ebx */ 38048 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B074282: shr ecx, 2 */ 38049 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 38050 ecx = ecx >> 2u; /* 0x2B074282: shr ecx, 2 */ 38051 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 38052 edi = edi - 1; /* 0x2B074285: dec edi */ 38053 _flag_k = FK_DEC; 38054 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B074286: 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; } 38055 ecx = ebx; /* 0x2B074288: mov ecx, ebx */ 38056 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 38057 ecx = ecx & 3; /* 0x2B07428A: and ecx, 3 */ 38058 _cf = 0; 38059 _flag_k = FK_TEST; 38060 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07428D: 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; } 38061 L_2B07428F: 38062 /* test edx, 0x08000000u */ /* 0x2B07428F: test edx, 0x8000000 */ 38063 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x08000000u); 38064 _cf = 0; 38065 _flag_k = FK_TEST; 38066 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0742C4; /* 0x2B074295: je 0x2b0742c4 */ 38067 L_2B074297: 38068 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 38069 ecx = ecx | 0xFFFFFFFFu; /* 0x2B074297: or ecx, 0xffffffff */ 38070 _cf = 0; 38071 _flag_k = FK_TEST; 38072 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 38073 eax = 0; /* 0x2B07429A: xor eax, eax */ 38074 _cf = 0; 38075 _flag_k = FK_TEST; 38076 edi = 0x2B0EC120u; /* 0x2B07429C: mov edi, 0x2b0ec120 */ 38077 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; } /* 0x2B0742A1: repne scasb al, byte ptr es:[edi] */ 38078 ecx = ~ecx; /* 0x2B0742A3: not ecx */ 38079 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 38080 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38081 edi = edi - ecx; /* 0x2B0742A5: sub edi, ecx */ 38082 _flag_k = FK_CMP; 38083 ebx = ecx; /* 0x2B0742A7: mov ebx, ecx */ 38084 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 38085 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0742A9: or ecx, 0xffffffff */ 38086 _cf = 0; 38087 _flag_k = FK_TEST; 38088 esi = edi; /* 0x2B0742AC: mov esi, edi */ 38089 edi = 0x2B0EEE84u; /* 0x2B0742AE: mov edi, 0x2b0eee84 */ 38090 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; } /* 0x2B0742B3: repne scasb al, byte ptr es:[edi] */ 38091 ecx = ebx; /* 0x2B0742B5: mov ecx, ebx */ 38092 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0742B7: shr ecx, 2 */ 38093 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 38094 ecx = ecx >> 2u; /* 0x2B0742B7: shr ecx, 2 */ 38095 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 38096 edi = edi - 1; /* 0x2B0742BA: dec edi */ 38097 _flag_k = FK_DEC; 38098 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0742BB: 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; } 38099 ecx = ebx; /* 0x2B0742BD: mov ecx, ebx */ 38100 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 38101 ecx = ecx & 3; /* 0x2B0742BF: and ecx, 3 */ 38102 _cf = 0; 38103 _flag_k = FK_TEST; 38104 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0742C2: 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; } 38105 L_2B0742C4: 38106 /* test edx, 0x00040000u */ /* 0x2B0742C4: test edx, 0x40000 */ 38107 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x00040000u); 38108 _cf = 0; 38109 _flag_k = FK_TEST; 38110 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0742F9; /* 0x2B0742CA: je 0x2b0742f9 */ 38111 L_2B0742CC: 38112 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 38113 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0742CC: or ecx, 0xffffffff */ 38114 _cf = 0; 38115 _flag_k = FK_TEST; 38116 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 38117 eax = 0; /* 0x2B0742CF: xor eax, eax */ 38118 _cf = 0; 38119 _flag_k = FK_TEST; 38120 edi = 0x2B0EC108u; /* 0x2B0742D1: mov edi, 0x2b0ec108 */ 38121 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; } /* 0x2B0742D6: repne scasb al, byte ptr es:[edi] */ 38122 ecx = ~ecx; /* 0x2B0742D8: not ecx */ 38123 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 38124 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38125 edi = edi - ecx; /* 0x2B0742DA: sub edi, ecx */ 38126 _flag_k = FK_CMP; 38127 edx = ecx; /* 0x2B0742DC: mov edx, ecx */ 38128 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 38129 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0742DE: or ecx, 0xffffffff */ 38130 _cf = 0; 38131 _flag_k = FK_TEST; 38132 esi = edi; /* 0x2B0742E1: mov esi, edi */ 38133 edi = 0x2B0EEE84u; /* 0x2B0742E3: mov edi, 0x2b0eee84 */ 38134 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; } /* 0x2B0742E8: repne scasb al, byte ptr es:[edi] */ 38135 ecx = edx; /* 0x2B0742EA: mov ecx, edx */ 38136 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0742EC: shr ecx, 2 */ 38137 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 38138 ecx = ecx >> 2u; /* 0x2B0742EC: shr ecx, 2 */ 38139 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 38140 edi = edi - 1; /* 0x2B0742EF: dec edi */ 38141 _flag_k = FK_DEC; 38142 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0742F0: 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; } 38143 ecx = edx; /* 0x2B0742F2: mov ecx, edx */ 38144 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 38145 ecx = ecx & 3; /* 0x2B0742F4: and ecx, 3 */ 38146 _cf = 0; 38147 _flag_k = FK_TEST; 38148 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0742F7: 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; } 38149 L_2B0742F9: 38150 SET_LO8(eax, MEM8(0x2B0EEE84)); /* 0x2B0742F9: mov al, byte ptr [0x2b0eee84] */ 38151 /* test LO8(eax), LO8(eax) */ /* 0x2B0742FE: test al, al */ 38152 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 38153 _cf = 0; 38154 _flag_k = FK_NARROW(FK_TEST, 24); 38155 edi = POP32_VAL(esp); /* 0x2B074300: pop edi */ 38156 esi = POP32_VAL(esp); /* 0x2B074301: pop esi */ 38157 ebx = POP32_VAL(esp); /* 0x2B074302: pop ebx */ 38158 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07431B; /* 0x2B074303: je 0x2b07431b */ 38159 L_2B074305: 38160 eax = MEM32(ebp + 0xC); /* 0x2B074305: mov eax, dword ptr [ebp + 0xc] */ 38161 ecx = MEM32(ebp + (-0x4)); /* 0x2B074308: mov ecx, dword ptr [ebp - 4] */ 38162 PUSH32(esp, eax); /* 0x2B07430B: push eax */ 38163 PUSH32(esp, 0x2B0EEE84u); /* 0x2B07430C: push 0x2b0eee84 */ 38164 PUSH32(esp, 0x2B0E2BF8u); /* 0x2B074311: push 0x2b0e2bf8 */ 38165 RECOMP_ICALL(0x2B073610u); /* 0x2B074316: call 0x2b073610 */ /* not lifted */ 38166 RECOMP_FLAGS_IN(); 38167 L_2B07431B: 38168 esp = ebp; /* 0x2B07431B: mov esp, ebp */ 38169 ebp = POP32_VAL(esp); /* 0x2B07431D: pop ebp */ 38170 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07431E: ret 8 */ 38171 RECOMP_REGS_OUT(); 38172 } 38173 38174 void sub_2B074330(void) { 38175 int _fpu_cmp = 0; 38176 uint32_t _cf = 0; 38177 int _df = 1; 38178 uint32_t _flag_k = FK_NONE; 38179 uint32_t _flag_a = 0, _flag_b = 0; 38180 uint32_t _itail_tgt = 0; 38181 RECOMP_REGS_LOCALS 38182 RECOMP_ENTER(0x2B074330u); 38183 38184 L_2B074330: 38185 PUSH32(esp, ebp); /* 0x2B074330: push ebp */ 38186 ebp = esp; /* 0x2B074331: mov ebp, esp */ 38187 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B074333: push -1 */ 38188 PUSH32(esp, 0x2B0B127Fu); /* 0x2B074335: push 0x2b0b127f */ 38189 eax = MEM32(FS_BASE + (0)); /* 0x2B07433A: mov eax, dword ptr fs:[0] */ 38190 PUSH32(esp, eax); /* 0x2B074340: push eax */ 38191 MEM32(FS_BASE + (0)) = esp; /* 0x2B074341: mov dword ptr fs:[0], esp */ 38192 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x40u); 38193 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38194 esp = esp - 0x40u; /* 0x2B074348: sub esp, 0x40 */ 38195 _flag_k = FK_CMP; 38196 eax = MEM32(ebp + 0x8); /* 0x2B07434B: mov eax, dword ptr [ebp + 8] */ 38197 PUSH32(esp, esi); /* 0x2B07434E: push esi */ 38198 PUSH32(esp, edi); /* 0x2B07434F: push edi */ 38199 PUSH32(esp, eax); /* 0x2B074350: push eax */ 38200 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B074351: call dword ptr [0x2b0b5d6c] */ 38201 RECOMP_FLAGS_IN(); 38202 ecx = eax; /* 0x2B074357: mov ecx, eax */ 38203 RECOMP_ICALL(MEM32(0x2B0B5C7C)); /* 0x2B074359: call dword ptr [0x2b0b5c7c] */ 38204 RECOMP_FLAGS_IN(); 38205 esi = eax; /* 0x2B07435F: mov esi, eax */ 38206 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 38207 edi = 0; /* 0x2B074361: xor edi, edi */ 38208 _cf = 0; 38209 _flag_k = FK_TEST; 38210 /* cmp esi, edi */ /* 0x2B074363: cmp esi, edi */ 38211 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 38212 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38213 _flag_k = FK_CMP; 38214 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0744E9; /* 0x2B074365: je 0x2b0744e9 */ 38215 L_2B07436B: 38216 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B07436B: mov cl, byte ptr [ebp + 0xb] */ 38217 MEM8(ebp + (-0x20)) = (uint8_t)(LO8(ecx)); /* 0x2B07436E: mov byte ptr [ebp - 0x20], cl */ 38218 PUSH32(esp, edi); /* 0x2B074371: push edi */ 38219 ecx = ebp + (-0x20); /* 0x2B074372: lea ecx, [ebp - 0x20] */ 38220 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B074375: call dword ptr [0x2b0b514c] */ 38221 RECOMP_FLAGS_IN(); 38222 MEM32(ebp + (-0x10)) = edi; /* 0x2B07437B: mov dword ptr [ebp - 0x10], edi */ 38223 ecx = ebp + (-0x4C); /* 0x2B07437E: lea ecx, [ebp - 0x4c] */ 38224 MEM32(ebp + (-0x4)) = edi; /* 0x2B074381: mov dword ptr [ebp - 4], edi */ 38225 RECOMP_ICALL(MEM32(0x2B0B5750)); /* 0x2B074384: call dword ptr [0x2b0b5750] */ 38226 RECOMP_FLAGS_IN(); 38227 eax = MEM32(esi + 0x8); /* 0x2B07438A: mov eax, dword ptr [esi + 8] */ 38228 esi = MEM32(esi + 0x4); /* 0x2B07438D: mov esi, dword ptr [esi + 4] */ 38229 /* cmp esi, edi */ /* 0x2B074390: cmp esi, edi */ 38230 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 38231 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38232 _flag_k = FK_CMP; 38233 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B074392: mov byte ptr [ebp - 4], 1 */ 38234 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07439E; /* 0x2B074396: jne 0x2b07439e */ 38235 L_2B074398: 38236 esi = MEM32(0x2B0B513C); /* 0x2B074398: mov esi, dword ptr [0x2b0b513c] */ 38237 L_2B07439E: 38238 PUSH32(esp, edi); /* 0x2B07439E: push edi */ 38239 PUSH32(esp, edi); /* 0x2B07439F: push edi */ 38240 edx = ebp + (-0x4C); /* 0x2B0743A0: lea edx, [ebp - 0x4c] */ 38241 PUSH32(esp, edx); /* 0x2B0743A3: push edx */ 38242 PUSH32(esp, eax); /* 0x2B0743A4: push eax */ 38243 PUSH32(esp, esi); /* 0x2B0743A5: push esi */ 38244 ecx = ebp + (-0x20); /* 0x2B0743A6: lea ecx, [ebp - 0x20] */ 38245 RECOMP_ICALL(MEM32(0x2B0B5788)); /* 0x2B0743A9: call dword ptr [0x2b0b5788] */ 38246 RECOMP_FLAGS_IN(); 38247 eax = MEM32(0x2B0B515C); /* 0x2B0743AF: mov eax, dword ptr [0x2b0b515c] */ 38248 eax = MEM32(eax); /* 0x2B0743B4: mov eax, dword ptr [eax] */ 38249 ecx = MEM32(ebp + (-0x18)); /* 0x2B0743B6: mov ecx, dword ptr [ebp - 0x18] */ 38250 esi = eax; /* 0x2B0743B9: mov esi, eax */ 38251 /* cmp ecx, esi */ /* 0x2B0743BB: cmp ecx, esi */ 38252 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 38253 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38254 _flag_k = FK_CMP; 38255 if (CMP_AE(_flag_a, _flag_b)) goto L_2B0743C1; /* 0x2B0743BD: jae 0x2b0743c1 */ 38256 L_2B0743BF: 38257 esi = ecx; /* 0x2B0743BF: mov esi, ecx */ 38258 L_2B0743C1: 38259 PUSH32(esp, ebx); /* 0x2B0743C1: push ebx */ 38260 ebx = MEM32(ebp + 0xC); /* 0x2B0743C2: mov ebx, dword ptr [ebp + 0xc] */ 38261 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebx + 0x8)); 38262 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38263 eax = eax - MEM32(ebx + 0x8); /* 0x2B0743C5: sub eax, dword ptr [ebx + 8] */ 38264 _flag_k = FK_CMP; 38265 /* cmp eax, esi */ /* 0x2B0743C8: cmp eax, esi */ 38266 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 38267 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38268 _flag_k = FK_CMP; 38269 if (CMP_A(_flag_a, _flag_b)) goto L_2B0743D2; /* 0x2B0743CA: ja 0x2b0743d2 */ 38270 L_2B0743CC: 38271 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0743CC: call dword ptr [0x2b0b51a8] */ 38272 RECOMP_FLAGS_IN(); 38273 L_2B0743D2: 38274 /* cmp esi, edi */ /* 0x2B0743D2: cmp esi, edi */ 38275 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 38276 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38277 _flag_k = FK_CMP; 38278 if (CMP_BE(_flag_a, _flag_b)) goto L_2B074424; /* 0x2B0743D4: jbe 0x2b074424 */ 38279 L_2B0743D6: 38280 edx = MEM32(ebx + 0x8); /* 0x2B0743D6: mov edx, dword ptr [ebx + 8] */ 38281 eax = esi; /* 0x2B0743D9: mov eax, esi */ 38282 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 38283 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 38284 eax = eax + edx; /* 0x2B0743DB: add eax, edx */ 38285 _flag_k = FK_ADD; 38286 PUSH32(esp, edi); /* 0x2B0743DD: push edi */ 38287 PUSH32(esp, eax); /* 0x2B0743DE: push eax */ 38288 ecx = ebx; /* 0x2B0743DF: mov ecx, ebx */ 38289 MEM32(ebp + 0x8) = eax; /* 0x2B0743E1: mov dword ptr [ebp + 8], eax */ 38290 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0743E4: call dword ptr [0x2b0b5154] */ 38291 RECOMP_FLAGS_IN(); 38292 /* test LO8(eax), LO8(eax) */ /* 0x2B0743EA: test al, al */ 38293 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 38294 _cf = 0; 38295 _flag_k = FK_NARROW(FK_TEST, 24); 38296 if (TEST_Z(_flag_a, _flag_b)) goto L_2B074424; /* 0x2B0743EC: je 0x2b074424 */ 38297 L_2B0743EE: 38298 eax = MEM32(ebp + (-0x1C)); /* 0x2B0743EE: mov eax, dword ptr [ebp - 0x1c] */ 38299 /* cmp eax, edi */ /* 0x2B0743F1: cmp eax, edi */ 38300 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 38301 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38302 _flag_k = FK_CMP; 38303 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0743FA; /* 0x2B0743F3: jne 0x2b0743fa */ 38304 L_2B0743F5: 38305 eax = MEM32(0x2B0B513C); /* 0x2B0743F5: mov eax, dword ptr [0x2b0b513c] */ 38306 L_2B0743FA: 38307 ecx = MEM32(ebx + 0x8); /* 0x2B0743FA: mov ecx, dword ptr [ebx + 8] */ 38308 edi = MEM32(ebx + 0x4); /* 0x2B0743FD: mov edi, dword ptr [ebx + 4] */ 38309 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 38310 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 38311 edi = edi + ecx; /* 0x2B074400: add edi, ecx */ 38312 _flag_k = FK_ADD; 38313 ecx = esi; /* 0x2B074402: mov ecx, esi */ 38314 edx = ecx; /* 0x2B074404: mov edx, ecx */ 38315 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B074406: shr ecx, 2 */ 38316 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 38317 ecx = ecx >> 2u; /* 0x2B074406: shr ecx, 2 */ 38318 esi = eax; /* 0x2B074409: mov esi, eax */ 38319 eax = MEM32(ebp + 0x8); /* 0x2B07440B: mov eax, dword ptr [ebp + 8] */ 38320 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07440E: 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; } 38321 ecx = edx; /* 0x2B074410: mov ecx, edx */ 38322 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 38323 ecx = ecx & 3; /* 0x2B074412: and ecx, 3 */ 38324 _cf = 0; 38325 _flag_k = FK_TEST; 38326 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B074415: 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; } 38327 MEM32(ebx + 0x8) = eax; /* 0x2B074417: mov dword ptr [ebx + 8], eax */ 38328 ebx = MEM32(ebx + 0x4); /* 0x2B07441A: mov ebx, dword ptr [ebx + 4] */ 38329 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 38330 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 38331 ebx = ebx + eax; /* 0x2B07441D: add ebx, eax */ 38332 _flag_k = FK_ADD; 38333 MEM8(ebx) = (uint8_t)(0); /* 0x2B07441F: mov byte ptr [ebx], 0 */ 38334 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 38335 edi = 0; /* 0x2B074422: xor edi, edi */ 38336 _cf = 0; 38337 _flag_k = FK_TEST; 38338 L_2B074424: 38339 ebx = MEM32(ebp + (-0x28)); /* 0x2B074424: mov ebx, dword ptr [ebp - 0x28] */ 38340 esi = MEM32(ebp + (-0x2C)); /* 0x2B074427: mov esi, dword ptr [ebp - 0x2c] */ 38341 /* cmp esi, ebx */ /* 0x2B07442A: cmp esi, ebx */ 38342 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 38343 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38344 _flag_k = FK_CMP; 38345 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B07442C: mov byte ptr [ebp - 4], 2 */ 38346 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B074444; /* 0x2B074430: je 0x2b074444 */ 38347 L_2B074432: 38348 PUSH32(esp, edi); /* 0x2B074432: push edi */ 38349 ecx = esi; /* 0x2B074433: mov ecx, esi */ 38350 RECOMP_ICALL(0x2B075100u); /* 0x2B074435: call 0x2b075100 */ /* not lifted */ 38351 RECOMP_FLAGS_IN(); 38352 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x18u); 38353 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 38354 esi = esi + 0x18u; /* 0x2B07443A: add esi, 0x18 */ 38355 _flag_k = FK_ADD; 38356 /* cmp esi, ebx */ /* 0x2B07443D: cmp esi, ebx */ 38357 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 38358 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38359 _flag_k = FK_CMP; 38360 RECOMP_BACKEDGE(); 38361 if (CMP_NE(_flag_a, _flag_b)) goto L_2B074432; /* 0x2B07443F: jne 0x2b074432 */ 38362 L_2B074441: 38363 esi = MEM32(ebp + (-0x2C)); /* 0x2B074441: mov esi, dword ptr [ebp - 0x2c] */ 38364 L_2B074444: 38365 PUSH32(esp, esi); /* 0x2B074444: push esi */ 38366 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B074445: call 0x2b0ab1ba */ /* not lifted */ 38367 RECOMP_FLAGS_IN(); 38368 eax = MEM32(ebp + (-0x40)); /* 0x2B07444A: mov eax, dword ptr [ebp - 0x40] */ 38369 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 38370 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 38371 esp = esp + 4; /* 0x2B07444D: add esp, 4 */ 38372 _flag_k = FK_ADD; 38373 PUSH32(esp, eax); /* 0x2B074450: push eax */ 38374 MEM32(ebp + (-0x2C)) = edi; /* 0x2B074451: mov dword ptr [ebp - 0x2c], edi */ 38375 MEM32(ebp + (-0x28)) = edi; /* 0x2B074454: mov dword ptr [ebp - 0x28], edi */ 38376 MEM32(ebp + (-0x24)) = edi; /* 0x2B074457: mov dword ptr [ebp - 0x24], edi */ 38377 ecx = MEM32(eax); /* 0x2B07445A: mov ecx, dword ptr [eax] */ 38378 PUSH32(esp, ecx); /* 0x2B07445C: push ecx */ 38379 eax = ebp + 0x8; /* 0x2B07445D: lea eax, [ebp + 8] */ 38380 PUSH32(esp, eax); /* 0x2B074460: push eax */ 38381 ecx = ebp + (-0x44); /* 0x2B074461: lea ecx, [ebp - 0x44] */ 38382 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B074464: mov byte ptr [ebp - 4], 0 */ 38383 RECOMP_ICALL(0x2B075050u); /* 0x2B074468: call 0x2b075050 */ /* not lifted */ 38384 RECOMP_FLAGS_IN(); 38385 ecx = MEM32(ebp + (-0x40)); /* 0x2B07446D: mov ecx, dword ptr [ebp - 0x40] */ 38386 PUSH32(esp, ecx); /* 0x2B074470: push ecx */ 38387 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B074471: call 0x2b0ab1ba */ /* not lifted */ 38388 RECOMP_FLAGS_IN(); 38389 edx = MEM32(ebp + (-0x3C)); /* 0x2B074476: mov edx, dword ptr [ebp - 0x3c] */ 38390 PUSH32(esp, edx); /* 0x2B074479: push edx */ 38391 MEM32(ebp + (-0x40)) = edi; /* 0x2B07447A: mov dword ptr [ebp - 0x40], edi */ 38392 MEM32(ebp + (-0x34)) = edi; /* 0x2B07447D: mov dword ptr [ebp - 0x34], edi */ 38393 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B074480: call 0x2b0ab1ba */ /* not lifted */ 38394 RECOMP_FLAGS_IN(); 38395 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 38396 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 38397 esp = esp + 8; /* 0x2B074485: add esp, 8 */ 38398 _flag_k = FK_ADD; 38399 MEM32(ebp + (-0x3C)) = edi; /* 0x2B074488: mov dword ptr [ebp - 0x3c], edi */ 38400 esi = MEM32(ebp + (-0x10)); /* 0x2B07448B: mov esi, dword ptr [ebp - 0x10] */ 38401 /* cmp esi, edi */ /* 0x2B07448E: cmp esi, edi */ 38402 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 38403 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38404 _flag_k = FK_CMP; 38405 MEM32(ebp + (-0x4)) = 3; /* 0x2B074490: mov dword ptr [ebp - 4], 3 */ 38406 ebx = POP32_VAL(esp); /* 0x2B074497: pop ebx */ 38407 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0744D7; /* 0x2B074498: je 0x2b0744d7 */ 38408 L_2B07449A: 38409 edx = MEM32(esi + 0x2C); /* 0x2B07449A: mov edx, dword ptr [esi + 0x2c] */ 38410 eax = esi + 0x2C; /* 0x2B07449D: lea eax, [esi + 0x2c] */ 38411 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 38412 edx = edx - 1; /* 0x2B0744A0: dec edx */ 38413 _flag_k = FK_DEC; 38414 ecx = edx; /* 0x2B0744A1: mov ecx, edx */ 38415 /* cmp ecx, edi */ /* 0x2B0744A3: cmp ecx, edi */ 38416 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 38417 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38418 _flag_k = FK_CMP; 38419 MEM32(eax) = edx; /* 0x2B0744A5: mov dword ptr [eax], edx */ 38420 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0744D7; /* 0x2B0744A7: jne 0x2b0744d7 */ 38421 L_2B0744A9: 38422 /* cmp esi, edi */ /* 0x2B0744A9: cmp esi, edi */ 38423 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 38424 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38425 _flag_k = FK_CMP; 38426 MEM32(ebp + 0xC) = esi; /* 0x2B0744AB: mov dword ptr [ebp + 0xc], esi */ 38427 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0744D7; /* 0x2B0744AE: je 0x2b0744d7 */ 38428 L_2B0744B0: 38429 PUSH32(esp, 1); /* 0x2B0744B0: push 1 */ 38430 ecx = esi + 0x1C; /* 0x2B0744B2: lea ecx, [esi + 0x1c] */ 38431 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B0744B5: mov byte ptr [ebp - 4], 4 */ 38432 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0744B9: call dword ptr [0x2b0b514c] */ 38433 RECOMP_FLAGS_IN(); 38434 PUSH32(esp, 1); /* 0x2B0744BF: push 1 */ 38435 ecx = esi + 0xC; /* 0x2B0744C1: lea ecx, [esi + 0xc] */ 38436 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B0744C4: mov byte ptr [ebp - 4], 3 */ 38437 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0744C8: call dword ptr [0x2b0b514c] */ 38438 RECOMP_FLAGS_IN(); 38439 PUSH32(esp, esi); /* 0x2B0744CE: push esi */ 38440 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0744CF: call 0x2b0ab1ba */ /* not lifted */ 38441 RECOMP_FLAGS_IN(); 38442 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 38443 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 38444 esp = esp + 4; /* 0x2B0744D4: add esp, 4 */ 38445 _flag_k = FK_ADD; 38446 L_2B0744D7: 38447 PUSH32(esp, 1); /* 0x2B0744D7: push 1 */ 38448 ecx = ebp + (-0x20); /* 0x2B0744D9: lea ecx, [ebp - 0x20] */ 38449 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B0744DC: mov dword ptr [ebp - 4], 0xffffffff */ 38450 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0744E3: call dword ptr [0x2b0b514c] */ 38451 RECOMP_FLAGS_IN(); 38452 L_2B0744E9: 38453 ecx = MEM32(ebp + (-0xC)); /* 0x2B0744E9: mov ecx, dword ptr [ebp - 0xc] */ 38454 edi = POP32_VAL(esp); /* 0x2B0744EC: pop edi */ 38455 esi = POP32_VAL(esp); /* 0x2B0744ED: pop esi */ 38456 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0744EE: mov dword ptr fs:[0], ecx */ 38457 esp = ebp; /* 0x2B0744F5: mov esp, ebp */ 38458 ebp = POP32_VAL(esp); /* 0x2B0744F7: pop ebp */ 38459 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0744F8: ret 8 */ 38460 RECOMP_REGS_OUT(); 38461 } 38462 38463 void sub_2B074500(void) { 38464 int _fpu_cmp = 0; 38465 uint32_t _cf = 0; 38466 int _df = 1; 38467 uint32_t _flag_k = FK_NONE; 38468 uint32_t _flag_a = 0, _flag_b = 0; 38469 uint32_t _itail_tgt = 0; 38470 RECOMP_REGS_LOCALS 38471 RECOMP_ENTER(0x2B074500u); 38472 38473 L_2B074500: 38474 PUSH32(esp, ebp); /* 0x2B074500: push ebp */ 38475 ebp = esp; /* 0x2B074501: mov ebp, esp */ 38476 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 38477 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38478 esp = esp - 8; /* 0x2B074503: sub esp, 8 */ 38479 _flag_k = FK_CMP; 38480 eax = MEM32(ebp + 0x8); /* 0x2B074506: mov eax, dword ptr [ebp + 8] */ 38481 PUSH32(esp, ebx); /* 0x2B074509: push ebx */ 38482 PUSH32(esp, esi); /* 0x2B07450A: push esi */ 38483 PUSH32(esp, edi); /* 0x2B07450B: push edi */ 38484 edi = ecx; /* 0x2B07450C: mov edi, ecx */ 38485 PUSH32(esp, eax); /* 0x2B07450E: push eax */ 38486 MEM32(ebp + (-0x8)) = edi; /* 0x2B07450F: mov dword ptr [ebp - 8], edi */ 38487 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B074512: call dword ptr [0x2b0b5d6c] */ 38488 RECOMP_FLAGS_IN(); 38489 ecx = eax; /* 0x2B074518: mov ecx, eax */ 38490 RECOMP_ICALL(MEM32(0x2B0B5C80)); /* 0x2B07451A: call dword ptr [0x2b0b5c80] */ 38491 RECOMP_FLAGS_IN(); 38492 esi = eax; /* 0x2B074520: mov esi, eax */ 38493 /* test esi, esi */ /* 0x2B074522: test esi, esi */ 38494 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 38495 _cf = 0; 38496 _flag_k = FK_TEST; 38497 MEM32(ebp + (-0x4)) = esi; /* 0x2B074524: mov dword ptr [ebp - 4], esi */ 38498 if (TEST_Z(_flag_a, _flag_b)) goto L_2B074760; /* 0x2B074527: je 0x2b074760 */ 38499 L_2B07452D: 38500 eax = MEM32(esi + 0x8); /* 0x2B07452D: mov eax, dword ptr [esi + 8] */ 38501 /* test eax, eax */ /* 0x2B074530: test eax, eax */ 38502 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 38503 _cf = 0; 38504 _flag_k = FK_TEST; 38505 if (TEST_Z(_flag_a, _flag_b)) goto L_2B074760; /* 0x2B074532: je 0x2b074760 */ 38506 L_2B074538: 38507 ecx = MEM32(esi + 0xC); /* 0x2B074538: mov ecx, dword ptr [esi + 0xc] */ 38508 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 38509 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38510 ecx = ecx - eax; /* 0x2B07453B: sub ecx, eax */ 38511 _flag_k = FK_CMP; 38512 eax = 0x38E38E39u; /* 0x2B07453D: mov eax, 0x38e38e39 */ 38513 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B074542: imul ecx */ 38514 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 38515 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 38516 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x2B074544: sar edx, 3 */ 38517 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 38518 edx = (uint32_t)((int32_t)edx >> 3u); 38519 ecx = edx; /* 0x2B074547: mov ecx, edx */ 38520 if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x2B074549: shr ecx, 0x1f */ 38521 if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 38522 ecx = ecx >> 31u; /* 0x2B074549: shr ecx, 0x1f */ 38523 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 38524 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 38525 edx = edx + ecx; /* 0x2B07454C: add edx, ecx */ 38526 _flag_k = FK_ADD; 38527 if (/* add result */ recomp_cond(_flag_k, _flag_a, _flag_b, CC_E)) goto L_2B074760; /* 0x2B07454E: je 0x2b074760 */ 38528 L_2B074554: 38529 ecx = MEM32(edi + 0x28); /* 0x2B074554: mov ecx, dword ptr [edi + 0x28] */ 38530 PUSH32(esp, 0x13u); /* 0x2B074557: push 0x13 */ 38531 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B074559: push -1 */ 38532 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B07455B: call dword ptr [0x2b0b5a74] */ 38533 RECOMP_FLAGS_IN(); 38534 edx = MEM32(0x2B0B515C); /* 0x2B074561: mov edx, dword ptr [0x2b0b515c] */ 38535 ebx = MEM32(ebp + 0xC); /* 0x2B074567: mov ebx, dword ptr [ebp + 0xc] */ 38536 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 38537 eax = 0; /* 0x2B07456A: xor eax, eax */ 38538 _cf = 0; 38539 _flag_k = FK_TEST; 38540 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 38541 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07456C: or ecx, 0xffffffff */ 38542 _cf = 0; 38543 _flag_k = FK_TEST; 38544 edi = 0x2B0EC130u; /* 0x2B07456F: mov edi, 0x2b0ec130 */ 38545 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; } /* 0x2B074574: repne scasb al, byte ptr es:[edi] */ 38546 eax = MEM32(edx); /* 0x2B074576: mov eax, dword ptr [edx] */ 38547 edx = MEM32(ebx + 0x8); /* 0x2B074578: mov edx, dword ptr [ebx + 8] */ 38548 ecx = ~ecx; /* 0x2B07457B: not ecx */ 38549 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 38550 ecx = ecx - 1; /* 0x2B07457D: dec ecx */ 38551 _flag_k = FK_DEC; 38552 edi = ecx; /* 0x2B07457E: mov edi, ecx */ 38553 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 38554 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38555 eax = eax - edx; /* 0x2B074580: sub eax, edx */ 38556 _flag_k = FK_CMP; 38557 /* cmp eax, edi */ /* 0x2B074582: cmp eax, edi */ 38558 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 38559 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38560 _flag_k = FK_CMP; 38561 if (CMP_A(_flag_a, _flag_b)) goto L_2B07458C; /* 0x2B074584: ja 0x2b07458c */ 38562 L_2B074586: 38563 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B074586: call dword ptr [0x2b0b51a8] */ 38564 RECOMP_FLAGS_IN(); 38565 L_2B07458C: 38566 /* test edi, edi */ /* 0x2B07458C: test edi, edi */ 38567 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 38568 _cf = 0; 38569 _flag_k = FK_TEST; 38570 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0745D3; /* 0x2B07458E: jbe 0x2b0745d3 */ 38571 L_2B074590: 38572 eax = MEM32(ebx + 0x8); /* 0x2B074590: mov eax, dword ptr [ebx + 8] */ 38573 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 38574 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 38575 eax = eax + edi; /* 0x2B074593: add eax, edi */ 38576 _flag_k = FK_ADD; 38577 PUSH32(esp, 0); /* 0x2B074595: push 0 */ 38578 PUSH32(esp, eax); /* 0x2B074597: push eax */ 38579 ecx = ebx; /* 0x2B074598: mov ecx, ebx */ 38580 MEM32(ebp + 0x8) = eax; /* 0x2B07459A: mov dword ptr [ebp + 8], eax */ 38581 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07459D: call dword ptr [0x2b0b5154] */ 38582 RECOMP_FLAGS_IN(); 38583 /* test LO8(eax), LO8(eax) */ /* 0x2B0745A3: test al, al */ 38584 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 38585 _cf = 0; 38586 _flag_k = FK_NARROW(FK_TEST, 24); 38587 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0745D3; /* 0x2B0745A5: je 0x2b0745d3 */ 38588 L_2B0745A7: 38589 edx = MEM32(ebx + 0x8); /* 0x2B0745A7: mov edx, dword ptr [ebx + 8] */ 38590 eax = MEM32(ebp + 0x8); /* 0x2B0745AA: mov eax, dword ptr [ebp + 8] */ 38591 ecx = edi; /* 0x2B0745AD: mov ecx, edi */ 38592 edi = MEM32(ebx + 0x4); /* 0x2B0745AF: mov edi, dword ptr [ebx + 4] */ 38593 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 38594 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 38595 edi = edi + edx; /* 0x2B0745B2: add edi, edx */ 38596 _flag_k = FK_ADD; 38597 edx = ecx; /* 0x2B0745B4: mov edx, ecx */ 38598 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0745B6: shr ecx, 2 */ 38599 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 38600 ecx = ecx >> 2u; /* 0x2B0745B6: shr ecx, 2 */ 38601 esi = 0x2B0EC130u; /* 0x2B0745B9: mov esi, 0x2b0ec130 */ 38602 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0745BE: 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; } 38603 ecx = edx; /* 0x2B0745C0: mov ecx, edx */ 38604 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 38605 ecx = ecx & 3; /* 0x2B0745C2: and ecx, 3 */ 38606 _cf = 0; 38607 _flag_k = FK_TEST; 38608 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0745C5: 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; } 38609 PUSH32(esp, eax); /* 0x2B0745C7: push eax */ 38610 ecx = ebx; /* 0x2B0745C8: mov ecx, ebx */ 38611 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B0745CA: call dword ptr [0x2b0b5150] */ 38612 RECOMP_FLAGS_IN(); 38613 esi = MEM32(ebp + (-0x4)); /* 0x2B0745D0: mov esi, dword ptr [ebp - 4] */ 38614 L_2B0745D3: 38615 ecx = MEM32(ebp + (-0x8)); /* 0x2B0745D3: mov ecx, dword ptr [ebp - 8] */ 38616 ecx = MEM32(ecx + 0x28); /* 0x2B0745D6: mov ecx, dword ptr [ecx + 0x28] */ 38617 PUSH32(esp, 0x14u); /* 0x2B0745D9: push 0x14 */ 38618 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0745DB: push -1 */ 38619 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B0745DD: call dword ptr [0x2b0b5a74] */ 38620 RECOMP_FLAGS_IN(); 38621 eax = MEM32(esi + 0x8); /* 0x2B0745E3: mov eax, dword ptr [esi + 8] */ 38622 /* test eax, eax */ /* 0x2B0745E6: test eax, eax */ 38623 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 38624 _cf = 0; 38625 _flag_k = FK_TEST; 38626 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0745EE; /* 0x2B0745E8: jne 0x2b0745ee */ 38627 L_2B0745EA: 38628 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 38629 edx = 0; /* 0x2B0745EA: xor edx, edx */ 38630 _cf = 0; 38631 _flag_k = FK_TEST; 38632 goto L_2B074604; /* 0x2B0745EC: jmp 0x2b074604 */ 38633 L_2B0745EE: 38634 ecx = MEM32(esi + 0xC); /* 0x2B0745EE: mov ecx, dword ptr [esi + 0xc] */ 38635 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 38636 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38637 ecx = ecx - eax; /* 0x2B0745F1: sub ecx, eax */ 38638 _flag_k = FK_CMP; 38639 eax = 0x38E38E39u; /* 0x2B0745F3: mov eax, 0x38e38e39 */ 38640 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B0745F8: imul ecx */ 38641 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 38642 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 38643 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x2B0745FA: sar edx, 3 */ 38644 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 38645 edx = (uint32_t)((int32_t)edx >> 3u); 38646 eax = edx; /* 0x2B0745FD: mov eax, edx */ 38647 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B0745FF: shr eax, 0x1f */ 38648 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 38649 eax = eax >> 31u; /* 0x2B0745FF: shr eax, 0x1f */ 38650 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 38651 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 38652 edx = edx + eax; /* 0x2B074602: add edx, eax */ 38653 _flag_k = FK_ADD; 38654 L_2B074604: 38655 /* test edx, edx */ /* 0x2B074604: test edx, edx */ 38656 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 38657 _cf = 0; 38658 _flag_k = FK_TEST; 38659 if (TEST_Z(_flag_a, _flag_b)) goto L_2B074760; /* 0x2B074606: jbe 0x2b074760 */ 38660 L_2B07460C: 38661 MEM32(ebp + 0x8) = 0; /* 0x2B07460C: mov dword ptr [ebp + 8], 0 */ 38662 MEM32(ebp + 0xC) = edx; /* 0x2B074613: mov dword ptr [ebp + 0xc], edx */ 38663 goto L_2B07461B; /* 0x2B074616: jmp 0x2b07461b */ 38664 L_2B074618: 38665 esi = MEM32(ebp + (-0x4)); /* 0x2B074618: mov esi, dword ptr [ebp - 4] */ 38666 L_2B07461B: 38667 ecx = MEM32(esi + 0x8); /* 0x2B07461B: mov ecx, dword ptr [esi + 8] */ 38668 edx = MEM32(ebp + 0x8); /* 0x2B07461E: mov edx, dword ptr [ebp + 8] */ 38669 eax = MEM32(0x2B0B515C); /* 0x2B074621: mov eax, dword ptr [0x2b0b515c] */ 38670 eax = MEM32(eax); /* 0x2B074626: mov eax, dword ptr [eax] */ 38671 esi = ecx + edx + 0xC; /* 0x2B074628: lea esi, [ecx + edx + 0xc] */ 38672 ecx = MEM32(esi + 0x8); /* 0x2B07462C: mov ecx, dword ptr [esi + 8] */ 38673 edi = eax; /* 0x2B07462F: mov edi, eax */ 38674 /* cmp ecx, edi */ /* 0x2B074631: cmp ecx, edi */ 38675 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 38676 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38677 _flag_k = FK_CMP; 38678 if (CMP_AE(_flag_a, _flag_b)) goto L_2B074637; /* 0x2B074633: jae 0x2b074637 */ 38679 L_2B074635: 38680 edi = ecx; /* 0x2B074635: mov edi, ecx */ 38681 L_2B074637: 38682 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebx + 0x8)); 38683 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38684 eax = eax - MEM32(ebx + 0x8); /* 0x2B074637: sub eax, dword ptr [ebx + 8] */ 38685 _flag_k = FK_CMP; 38686 /* cmp eax, edi */ /* 0x2B07463A: cmp eax, edi */ 38687 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 38688 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38689 _flag_k = FK_CMP; 38690 if (CMP_A(_flag_a, _flag_b)) goto L_2B074644; /* 0x2B07463C: ja 0x2b074644 */ 38691 L_2B07463E: 38692 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07463E: call dword ptr [0x2b0b51a8] */ 38693 RECOMP_FLAGS_IN(); 38694 L_2B074644: 38695 /* test edi, edi */ /* 0x2B074644: test edi, edi */ 38696 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 38697 _cf = 0; 38698 _flag_k = FK_TEST; 38699 if (TEST_Z(_flag_a, _flag_b)) goto L_2B074691; /* 0x2B074646: jbe 0x2b074691 */ 38700 L_2B074648: 38701 eax = MEM32(ebx + 0x8); /* 0x2B074648: mov eax, dword ptr [ebx + 8] */ 38702 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 38703 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 38704 eax = eax + edi; /* 0x2B07464B: add eax, edi */ 38705 _flag_k = FK_ADD; 38706 PUSH32(esp, 0); /* 0x2B07464D: push 0 */ 38707 PUSH32(esp, eax); /* 0x2B07464F: push eax */ 38708 ecx = ebx; /* 0x2B074650: mov ecx, ebx */ 38709 MEM32(ebp + (-0x8)) = eax; /* 0x2B074652: mov dword ptr [ebp - 8], eax */ 38710 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B074655: call dword ptr [0x2b0b5154] */ 38711 RECOMP_FLAGS_IN(); 38712 /* test LO8(eax), LO8(eax) */ /* 0x2B07465B: test al, al */ 38713 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 38714 _cf = 0; 38715 _flag_k = FK_NARROW(FK_TEST, 24); 38716 if (TEST_Z(_flag_a, _flag_b)) goto L_2B074691; /* 0x2B07465D: je 0x2b074691 */ 38717 L_2B07465F: 38718 esi = MEM32(esi + 0x4); /* 0x2B07465F: mov esi, dword ptr [esi + 4] */ 38719 /* test esi, esi */ /* 0x2B074662: test esi, esi */ 38720 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 38721 _cf = 0; 38722 _flag_k = FK_TEST; 38723 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07466C; /* 0x2B074664: jne 0x2b07466c */ 38724 L_2B074666: 38725 esi = MEM32(0x2B0B513C); /* 0x2B074666: mov esi, dword ptr [0x2b0b513c] */ 38726 L_2B07466C: 38727 edx = MEM32(ebx + 0x4); /* 0x2B07466C: mov edx, dword ptr [ebx + 4] */ 38728 eax = MEM32(ebp + (-0x8)); /* 0x2B07466F: mov eax, dword ptr [ebp - 8] */ 38729 ecx = edi; /* 0x2B074672: mov ecx, edi */ 38730 edi = MEM32(ebx + 0x8); /* 0x2B074674: mov edi, dword ptr [ebx + 8] */ 38731 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 38732 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 38733 edi = edi + edx; /* 0x2B074677: add edi, edx */ 38734 _flag_k = FK_ADD; 38735 edx = ecx; /* 0x2B074679: mov edx, ecx */ 38736 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07467B: shr ecx, 2 */ 38737 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 38738 ecx = ecx >> 2u; /* 0x2B07467B: shr ecx, 2 */ 38739 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07467E: 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; } 38740 ecx = edx; /* 0x2B074680: mov ecx, edx */ 38741 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 38742 ecx = ecx & 3; /* 0x2B074682: and ecx, 3 */ 38743 _cf = 0; 38744 _flag_k = FK_TEST; 38745 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B074685: 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; } 38746 ecx = MEM32(ebx + 0x4); /* 0x2B074687: mov ecx, dword ptr [ebx + 4] */ 38747 MEM32(ebx + 0x8) = eax; /* 0x2B07468A: mov dword ptr [ebx + 8], eax */ 38748 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B07468D: mov byte ptr [ecx + eax], 0 */ 38749 L_2B074691: 38750 edx = MEM32(0x2B0B515C); /* 0x2B074691: mov edx, dword ptr [0x2b0b515c] */ 38751 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 38752 eax = 0; /* 0x2B074697: xor eax, eax */ 38753 _cf = 0; 38754 _flag_k = FK_TEST; 38755 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 38756 ecx = ecx | 0xFFFFFFFFu; /* 0x2B074699: or ecx, 0xffffffff */ 38757 _cf = 0; 38758 _flag_k = FK_TEST; 38759 edi = 0x2B0E2BF8u; /* 0x2B07469C: mov edi, 0x2b0e2bf8 */ 38760 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; } /* 0x2B0746A1: repne scasb al, byte ptr es:[edi] */ 38761 eax = MEM32(edx); /* 0x2B0746A3: mov eax, dword ptr [edx] */ 38762 edx = MEM32(ebx + 0x8); /* 0x2B0746A5: mov edx, dword ptr [ebx + 8] */ 38763 ecx = ~ecx; /* 0x2B0746A8: not ecx */ 38764 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 38765 ecx = ecx - 1; /* 0x2B0746AA: dec ecx */ 38766 _flag_k = FK_DEC; 38767 esi = ecx; /* 0x2B0746AB: mov esi, ecx */ 38768 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 38769 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38770 eax = eax - edx; /* 0x2B0746AD: sub eax, edx */ 38771 _flag_k = FK_CMP; 38772 /* cmp eax, esi */ /* 0x2B0746AF: cmp eax, esi */ 38773 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 38774 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38775 _flag_k = FK_CMP; 38776 if (CMP_A(_flag_a, _flag_b)) goto L_2B0746B9; /* 0x2B0746B1: ja 0x2b0746b9 */ 38777 L_2B0746B3: 38778 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0746B3: call dword ptr [0x2b0b51a8] */ 38779 RECOMP_FLAGS_IN(); 38780 L_2B0746B9: 38781 /* test esi, esi */ /* 0x2B0746B9: test esi, esi */ 38782 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 38783 _cf = 0; 38784 _flag_k = FK_TEST; 38785 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07474A; /* 0x2B0746BB: jbe 0x2b07474a */ 38786 L_2B0746C1: 38787 edi = MEM32(ebx + 0x8); /* 0x2B0746C1: mov edi, dword ptr [ebx + 8] */ 38788 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 38789 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 38790 edi = edi + esi; /* 0x2B0746C4: add edi, esi */ 38791 _flag_k = FK_ADD; 38792 /* cmp edi, 0xFFFFFFFDu */ /* 0x2B0746C6: cmp edi, -3 */ 38793 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xFFFFFFFDu); 38794 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38795 _flag_k = FK_CMP; 38796 MEM32(ebp + (-0x8)) = edi; /* 0x2B0746C9: mov dword ptr [ebp - 8], edi */ 38797 if (CMP_BE(_flag_a, _flag_b)) goto L_2B0746D4; /* 0x2B0746CC: jbe 0x2b0746d4 */ 38798 L_2B0746CE: 38799 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0746CE: call dword ptr [0x2b0b51a8] */ 38800 RECOMP_FLAGS_IN(); 38801 L_2B0746D4: 38802 /* cmp edi, MEM32(ebx + 0x8) */ /* 0x2B0746D4: cmp edi, dword ptr [ebx + 8] */ 38803 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ebx + 0x8)); 38804 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38805 _flag_k = FK_CMP; 38806 if (CMP_AE(_flag_a, _flag_b)) goto L_2B0746DC; /* 0x2B0746D7: jae 0x2b0746dc */ 38807 L_2B0746D9: 38808 MEM32(ebx + 0x8) = edi; /* 0x2B0746D9: mov dword ptr [ebx + 8], edi */ 38809 L_2B0746DC: 38810 eax = MEM32(ebx + 0x4); /* 0x2B0746DC: mov eax, dword ptr [ebx + 4] */ 38811 /* test eax, eax */ /* 0x2B0746DF: test eax, eax */ 38812 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 38813 _cf = 0; 38814 _flag_k = FK_TEST; 38815 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0746FF; /* 0x2B0746E1: je 0x2b0746ff */ 38816 L_2B0746E3: 38817 SET_LO8(ecx, MEM8(eax + (-0x1))); /* 0x2B0746E3: mov cl, byte ptr [eax - 1] */ 38818 /* test LO8(ecx), LO8(ecx) */ /* 0x2B0746E6: test cl, cl */ 38819 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 38820 _cf = 0; 38821 _flag_k = FK_NARROW(FK_TEST, 24); 38822 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0746FF; /* 0x2B0746E8: je 0x2b0746ff */ 38823 L_2B0746EA: 38824 /* cmp LO8(ecx), 0xFFu */ /* 0x2B0746EA: cmp cl, 0xff */ 38825 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 38826 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38827 _flag_k = FK_NARROW(FK_CMP, 24); 38828 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0746FF; /* 0x2B0746ED: je 0x2b0746ff */ 38829 L_2B0746EF: 38830 /* test edi, edi */ /* 0x2B0746EF: test edi, edi */ 38831 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 38832 _cf = 0; 38833 _flag_k = FK_TEST; 38834 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B074717; /* 0x2B0746F1: jne 0x2b074717 */ 38835 L_2B0746F3: 38836 PUSH32(esp, 1); /* 0x2B0746F3: push 1 */ 38837 ecx = ebx; /* 0x2B0746F5: mov ecx, ebx */ 38838 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0746F7: call dword ptr [0x2b0b514c] */ 38839 RECOMP_FLAGS_IN(); 38840 goto L_2B07474A; /* 0x2B0746FD: jmp 0x2b07474a */ 38841 L_2B0746FF: 38842 /* test edi, edi */ /* 0x2B0746FF: test edi, edi */ 38843 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 38844 _cf = 0; 38845 _flag_k = FK_TEST; 38846 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B074712; /* 0x2B074701: jne 0x2b074712 */ 38847 L_2B074703: 38848 /* test eax, eax */ /* 0x2B074703: test eax, eax */ 38849 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 38850 _cf = 0; 38851 _flag_k = FK_TEST; 38852 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07474A; /* 0x2B074705: je 0x2b07474a */ 38853 L_2B074707: 38854 PUSH32(esp, edi); /* 0x2B074707: push edi */ 38855 ecx = ebx; /* 0x2B074708: mov ecx, ebx */ 38856 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07470A: call dword ptr [0x2b0b5150] */ 38857 RECOMP_FLAGS_IN(); 38858 goto L_2B07474A; /* 0x2B074710: jmp 0x2b07474a */ 38859 L_2B074712: 38860 /* cmp MEM32(ebx + 0xC), edi */ /* 0x2B074712: cmp dword ptr [ebx + 0xc], edi */ 38861 _flag_a = (uint32_t)(MEM32(ebx + 0xC)); _flag_b = (uint32_t)(edi); 38862 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38863 _flag_k = FK_CMP; 38864 if (CMP_AE(_flag_a, _flag_b)) goto L_2B074720; /* 0x2B074715: jae 0x2b074720 */ 38865 L_2B074717: 38866 PUSH32(esp, edi); /* 0x2B074717: push edi */ 38867 ecx = ebx; /* 0x2B074718: mov ecx, ebx */ 38868 RECOMP_ICALL(MEM32(0x2B0B5110)); /* 0x2B07471A: call dword ptr [0x2b0b5110] */ 38869 RECOMP_FLAGS_IN(); 38870 L_2B074720: 38871 edi = MEM32(ebx + 0x8); /* 0x2B074720: mov edi, dword ptr [ebx + 8] */ 38872 edx = MEM32(ebx + 0x4); /* 0x2B074723: mov edx, dword ptr [ebx + 4] */ 38873 eax = MEM32(ebp + (-0x8)); /* 0x2B074726: mov eax, dword ptr [ebp - 8] */ 38874 ecx = esi; /* 0x2B074729: mov ecx, esi */ 38875 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 38876 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 38877 edi = edi + edx; /* 0x2B07472B: add edi, edx */ 38878 _flag_k = FK_ADD; 38879 edx = ecx; /* 0x2B07472D: mov edx, ecx */ 38880 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07472F: shr ecx, 2 */ 38881 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 38882 ecx = ecx >> 2u; /* 0x2B07472F: shr ecx, 2 */ 38883 esi = 0x2B0E2BF8u; /* 0x2B074732: mov esi, 0x2b0e2bf8 */ 38884 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B074737: 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; } 38885 ecx = edx; /* 0x2B074739: mov ecx, edx */ 38886 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 38887 ecx = ecx & 3; /* 0x2B07473B: and ecx, 3 */ 38888 _cf = 0; 38889 _flag_k = FK_TEST; 38890 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07473E: 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; } 38891 ecx = MEM32(ebx + 0x4); /* 0x2B074740: mov ecx, dword ptr [ebx + 4] */ 38892 MEM32(ebx + 0x8) = eax; /* 0x2B074743: mov dword ptr [ebx + 8], eax */ 38893 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B074746: mov byte ptr [ecx + eax], 0 */ 38894 L_2B07474A: 38895 ecx = MEM32(ebp + 0x8); /* 0x2B07474A: mov ecx, dword ptr [ebp + 8] */ 38896 eax = MEM32(ebp + 0xC); /* 0x2B07474D: mov eax, dword ptr [ebp + 0xc] */ 38897 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x24u); 38898 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 38899 ecx = ecx + 0x24u; /* 0x2B074750: add ecx, 0x24 */ 38900 _flag_k = FK_ADD; 38901 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 38902 eax = eax - 1; /* 0x2B074753: dec eax */ 38903 _flag_k = FK_DEC; 38904 MEM32(ebp + 0x8) = ecx; /* 0x2B074754: mov dword ptr [ebp + 8], ecx */ 38905 MEM32(ebp + 0xC) = eax; /* 0x2B074757: mov dword ptr [ebp + 0xc], eax */ 38906 RECOMP_BACKEDGE(); 38907 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B074618; /* 0x2B07475A: jne 0x2b074618 */ 38908 L_2B074760: 38909 edi = POP32_VAL(esp); /* 0x2B074760: pop edi */ 38910 esi = POP32_VAL(esp); /* 0x2B074761: pop esi */ 38911 ebx = POP32_VAL(esp); /* 0x2B074762: pop ebx */ 38912 esp = ebp; /* 0x2B074763: mov esp, ebp */ 38913 ebp = POP32_VAL(esp); /* 0x2B074765: pop ebp */ 38914 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B074766: ret 8 */ 38915 RECOMP_REGS_OUT(); 38916 } 38917 38918 void sub_2B074770(void) { 38919 int _fpu_cmp = 0; 38920 uint32_t _cf = 0; 38921 int _df = 1; 38922 uint32_t _flag_k = FK_NONE; 38923 uint32_t _flag_a = 0, _flag_b = 0; 38924 uint32_t _itail_tgt = 0; 38925 RECOMP_REGS_LOCALS 38926 RECOMP_ENTER(0x2B074770u); 38927 38928 L_2B074770: 38929 PUSH32(esp, ebp); /* 0x2B074770: push ebp */ 38930 ebp = esp; /* 0x2B074771: mov ebp, esp */ 38931 PUSH32(esp, ecx); /* 0x2B074773: push ecx */ 38932 eax = MEM32(ebp + 0x8); /* 0x2B074774: mov eax, dword ptr [ebp + 8] */ 38933 PUSH32(esp, ebx); /* 0x2B074777: push ebx */ 38934 PUSH32(esp, esi); /* 0x2B074778: push esi */ 38935 PUSH32(esp, edi); /* 0x2B074779: push edi */ 38936 PUSH32(esp, 0x184u); /* 0x2B07477A: push 0x184 */ 38937 PUSH32(esp, eax); /* 0x2B07477F: push eax */ 38938 MEM32(ebp + (-0x4)) = ecx; /* 0x2B074780: mov dword ptr [ebp - 4], ecx */ 38939 RECOMP_ICALL(0x2B0735D0u); /* 0x2B074783: call 0x2b0735d0 */ /* not lifted */ 38940 RECOMP_FLAGS_IN(); 38941 esi = eax; /* 0x2B074788: mov esi, eax */ 38942 /* test esi, esi */ /* 0x2B07478A: test esi, esi */ 38943 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 38944 _cf = 0; 38945 _flag_k = FK_TEST; 38946 if (TEST_Z(_flag_a, _flag_b)) goto L_2B074A0A; /* 0x2B07478C: je 0x2b074a0a */ 38947 L_2B074792: 38948 /* cmp esi, 0x499602D2u */ /* 0x2B074792: cmp esi, 0x499602d2 */ 38949 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x499602D2u); 38950 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38951 _flag_k = FK_CMP; 38952 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B074A0A; /* 0x2B074798: je 0x2b074a0a */ 38953 L_2B07479E: 38954 ebx = MEM32(ebp + 0xC); /* 0x2B07479E: mov ebx, dword ptr [ebp + 0xc] */ 38955 PUSH32(esp, 0x13u); /* 0x2B0747A1: push 0x13 */ 38956 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0747A3: push -1 */ 38957 ecx = ebx; /* 0x2B0747A5: mov ecx, ebx */ 38958 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B0747A7: call dword ptr [0x2b0b5a74] */ 38959 RECOMP_FLAGS_IN(); 38960 /* cmp esi, 1 */ /* 0x2B0747AD: cmp esi, 1 */ 38961 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 38962 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38963 _flag_k = FK_CMP; 38964 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07481D; /* 0x2B0747B0: jne 0x2b07481d */ 38965 L_2B0747B2: 38966 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 38967 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0747B2: or ecx, 0xffffffff */ 38968 _cf = 0; 38969 _flag_k = FK_TEST; 38970 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 38971 eax = 0; /* 0x2B0747B5: xor eax, eax */ 38972 _cf = 0; 38973 _flag_k = FK_TEST; 38974 edi = 0x2B0EC158u; /* 0x2B0747B7: mov edi, 0x2b0ec158 */ 38975 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; } /* 0x2B0747BC: repne scasb al, byte ptr es:[edi] */ 38976 ecx = ~ecx; /* 0x2B0747BE: not ecx */ 38977 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 38978 ecx = ecx - 1; /* 0x2B0747C0: dec ecx */ 38979 _flag_k = FK_DEC; 38980 esi = ecx; /* 0x2B0747C1: mov esi, ecx */ 38981 ecx = MEM32(0x2B0B515C); /* 0x2B0747C3: mov ecx, dword ptr [0x2b0b515c] */ 38982 edx = MEM32(ecx); /* 0x2B0747C9: mov edx, dword ptr [ecx] */ 38983 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebx + 0x8)); 38984 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38985 edx = edx - MEM32(ebx + 0x8); /* 0x2B0747CB: sub edx, dword ptr [ebx + 8] */ 38986 _flag_k = FK_CMP; 38987 /* cmp edx, esi */ /* 0x2B0747CE: cmp edx, esi */ 38988 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 38989 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 38990 _flag_k = FK_CMP; 38991 if (CMP_A(_flag_a, _flag_b)) goto L_2B0747D8; /* 0x2B0747D0: ja 0x2b0747d8 */ 38992 L_2B0747D2: 38993 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0747D2: call dword ptr [0x2b0b51a8] */ 38994 RECOMP_FLAGS_IN(); 38995 L_2B0747D8: 38996 /* test esi, esi */ /* 0x2B0747D8: test esi, esi */ 38997 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 38998 _cf = 0; 38999 _flag_k = FK_TEST; 39000 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07488A; /* 0x2B0747DA: jbe 0x2b07488a */ 39001 L_2B0747E0: 39002 eax = MEM32(ebx + 0x8); /* 0x2B0747E0: mov eax, dword ptr [ebx + 8] */ 39003 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 39004 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 39005 eax = eax + esi; /* 0x2B0747E3: add eax, esi */ 39006 _flag_k = FK_ADD; 39007 PUSH32(esp, 0); /* 0x2B0747E5: push 0 */ 39008 PUSH32(esp, eax); /* 0x2B0747E7: push eax */ 39009 ecx = ebx; /* 0x2B0747E8: mov ecx, ebx */ 39010 MEM32(ebp + 0xC) = eax; /* 0x2B0747EA: mov dword ptr [ebp + 0xc], eax */ 39011 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0747ED: call dword ptr [0x2b0b5154] */ 39012 RECOMP_FLAGS_IN(); 39013 /* test LO8(eax), LO8(eax) */ /* 0x2B0747F3: test al, al */ 39014 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 39015 _cf = 0; 39016 _flag_k = FK_NARROW(FK_TEST, 24); 39017 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07488A; /* 0x2B0747F5: je 0x2b07488a */ 39018 L_2B0747FB: 39019 eax = MEM32(ebx + 0x4); /* 0x2B0747FB: mov eax, dword ptr [ebx + 4] */ 39020 edi = MEM32(ebx + 0x8); /* 0x2B0747FE: mov edi, dword ptr [ebx + 8] */ 39021 ecx = esi; /* 0x2B074801: mov ecx, esi */ 39022 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 39023 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 39024 edi = edi + eax; /* 0x2B074803: add edi, eax */ 39025 _flag_k = FK_ADD; 39026 eax = ecx; /* 0x2B074805: mov eax, ecx */ 39027 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B074807: shr ecx, 2 */ 39028 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 39029 ecx = ecx >> 2u; /* 0x2B074807: shr ecx, 2 */ 39030 esi = 0x2B0EC158u; /* 0x2B07480A: mov esi, 0x2b0ec158 */ 39031 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07480F: 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; } 39032 ecx = eax; /* 0x2B074811: mov ecx, eax */ 39033 eax = MEM32(ebp + 0xC); /* 0x2B074813: mov eax, dword ptr [ebp + 0xc] */ 39034 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 39035 ecx = ecx & 3; /* 0x2B074816: and ecx, 3 */ 39036 _cf = 0; 39037 _flag_k = FK_TEST; 39038 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B074819: 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; } 39039 goto L_2B074880; /* 0x2B07481B: jmp 0x2b074880 */ 39040 L_2B07481D: 39041 edx = MEM32(0x2B0B515C); /* 0x2B07481D: mov edx, dword ptr [0x2b0b515c] */ 39042 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 39043 eax = 0; /* 0x2B074823: xor eax, eax */ 39044 _cf = 0; 39045 _flag_k = FK_TEST; 39046 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 39047 ecx = ecx | 0xFFFFFFFFu; /* 0x2B074825: or ecx, 0xffffffff */ 39048 _cf = 0; 39049 _flag_k = FK_TEST; 39050 edi = 0x2B0EC148u; /* 0x2B074828: mov edi, 0x2b0ec148 */ 39051 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; } /* 0x2B07482D: repne scasb al, byte ptr es:[edi] */ 39052 eax = MEM32(edx); /* 0x2B07482F: mov eax, dword ptr [edx] */ 39053 edx = MEM32(ebx + 0x8); /* 0x2B074831: mov edx, dword ptr [ebx + 8] */ 39054 ecx = ~ecx; /* 0x2B074834: not ecx */ 39055 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 39056 ecx = ecx - 1; /* 0x2B074836: dec ecx */ 39057 _flag_k = FK_DEC; 39058 esi = ecx; /* 0x2B074837: mov esi, ecx */ 39059 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 39060 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39061 eax = eax - edx; /* 0x2B074839: sub eax, edx */ 39062 _flag_k = FK_CMP; 39063 /* cmp eax, esi */ /* 0x2B07483B: cmp eax, esi */ 39064 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 39065 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39066 _flag_k = FK_CMP; 39067 if (CMP_A(_flag_a, _flag_b)) goto L_2B074845; /* 0x2B07483D: ja 0x2b074845 */ 39068 L_2B07483F: 39069 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07483F: call dword ptr [0x2b0b51a8] */ 39070 RECOMP_FLAGS_IN(); 39071 L_2B074845: 39072 /* test esi, esi */ /* 0x2B074845: test esi, esi */ 39073 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 39074 _cf = 0; 39075 _flag_k = FK_TEST; 39076 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07488A; /* 0x2B074847: jbe 0x2b07488a */ 39077 L_2B074849: 39078 eax = MEM32(ebx + 0x8); /* 0x2B074849: mov eax, dword ptr [ebx + 8] */ 39079 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 39080 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 39081 eax = eax + esi; /* 0x2B07484C: add eax, esi */ 39082 _flag_k = FK_ADD; 39083 PUSH32(esp, 0); /* 0x2B07484E: push 0 */ 39084 PUSH32(esp, eax); /* 0x2B074850: push eax */ 39085 ecx = ebx; /* 0x2B074851: mov ecx, ebx */ 39086 MEM32(ebp + 0xC) = eax; /* 0x2B074853: mov dword ptr [ebp + 0xc], eax */ 39087 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B074856: call dword ptr [0x2b0b5154] */ 39088 RECOMP_FLAGS_IN(); 39089 /* test LO8(eax), LO8(eax) */ /* 0x2B07485C: test al, al */ 39090 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 39091 _cf = 0; 39092 _flag_k = FK_NARROW(FK_TEST, 24); 39093 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07488A; /* 0x2B07485E: je 0x2b07488a */ 39094 L_2B074860: 39095 edx = MEM32(ebx + 0x4); /* 0x2B074860: mov edx, dword ptr [ebx + 4] */ 39096 edi = MEM32(ebx + 0x8); /* 0x2B074863: mov edi, dword ptr [ebx + 8] */ 39097 eax = MEM32(ebp + 0xC); /* 0x2B074866: mov eax, dword ptr [ebp + 0xc] */ 39098 ecx = esi; /* 0x2B074869: mov ecx, esi */ 39099 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 39100 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 39101 edi = edi + edx; /* 0x2B07486B: add edi, edx */ 39102 _flag_k = FK_ADD; 39103 edx = ecx; /* 0x2B07486D: mov edx, ecx */ 39104 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07486F: shr ecx, 2 */ 39105 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 39106 ecx = ecx >> 2u; /* 0x2B07486F: shr ecx, 2 */ 39107 esi = 0x2B0EC148u; /* 0x2B074872: mov esi, 0x2b0ec148 */ 39108 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B074877: 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; } 39109 ecx = edx; /* 0x2B074879: mov ecx, edx */ 39110 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 39111 ecx = ecx & 3; /* 0x2B07487B: and ecx, 3 */ 39112 _cf = 0; 39113 _flag_k = FK_TEST; 39114 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07487E: 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; } 39115 L_2B074880: 39116 ecx = MEM32(ebx + 0x4); /* 0x2B074880: mov ecx, dword ptr [ebx + 4] */ 39117 MEM32(ebx + 0x8) = eax; /* 0x2B074883: mov dword ptr [ebx + 8], eax */ 39118 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B074886: mov byte ptr [ecx + eax], 0 */ 39119 L_2B07488A: 39120 PUSH32(esp, 0x14u); /* 0x2B07488A: push 0x14 */ 39121 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07488C: push -1 */ 39122 ecx = ebx; /* 0x2B07488E: mov ecx, ebx */ 39123 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B074890: call dword ptr [0x2b0b5a74] */ 39124 RECOMP_FLAGS_IN(); 39125 edx = MEM32(ebp + 0x8); /* 0x2B074896: mov edx, dword ptr [ebp + 8] */ 39126 ecx = MEM32(ebp + (-0x4)); /* 0x2B074899: mov ecx, dword ptr [ebp - 4] */ 39127 PUSH32(esp, 0x4Bu); /* 0x2B07489C: push 0x4b */ 39128 PUSH32(esp, edx); /* 0x2B07489E: push edx */ 39129 RECOMP_ICALL(0x2B0735D0u); /* 0x2B07489F: call 0x2b0735d0 */ /* not lifted */ 39130 RECOMP_FLAGS_IN(); 39131 /* cmp eax, 0x499602D2u */ /* 0x2B0748A4: cmp eax, 0x499602d2 */ 39132 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 39133 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39134 _flag_k = FK_CMP; 39135 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07493C; /* 0x2B0748A9: je 0x2b07493c */ 39136 L_2B0748AF: 39137 PUSH32(esp, 0x14u); /* 0x2B0748AF: push 0x14 */ 39138 PUSH32(esp, 0x2B0EEE84u); /* 0x2B0748B1: push 0x2b0eee84 */ 39139 PUSH32(esp, eax); /* 0x2B0748B6: push eax */ 39140 RECOMP_ICALL(0x2B074F00u); /* 0x2B0748B7: call 0x2b074f00 */ /* not lifted */ 39141 RECOMP_FLAGS_IN(); 39142 edx = MEM32(ebx + 0x8); /* 0x2B0748BC: mov edx, dword ptr [ebx + 8] */ 39143 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 39144 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0748BF: or ecx, 0xffffffff */ 39145 _cf = 0; 39146 _flag_k = FK_TEST; 39147 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 39148 eax = 0; /* 0x2B0748C2: xor eax, eax */ 39149 _cf = 0; 39150 _flag_k = FK_TEST; 39151 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 39152 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 39153 esp = esp + 0xCu; /* 0x2B0748C4: add esp, 0xc */ 39154 _flag_k = FK_ADD; 39155 edi = 0x2B0EEE84u; /* 0x2B0748C7: mov edi, 0x2b0eee84 */ 39156 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; } /* 0x2B0748CC: repne scasb al, byte ptr es:[edi] */ 39157 eax = MEM32(0x2B0B515C); /* 0x2B0748CE: mov eax, dword ptr [0x2b0b515c] */ 39158 ecx = ~ecx; /* 0x2B0748D3: not ecx */ 39159 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 39160 ecx = ecx - 1; /* 0x2B0748D5: dec ecx */ 39161 _flag_k = FK_DEC; 39162 esi = ecx; /* 0x2B0748D6: mov esi, ecx */ 39163 ecx = MEM32(eax); /* 0x2B0748D8: mov ecx, dword ptr [eax] */ 39164 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 39165 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39166 ecx = ecx - edx; /* 0x2B0748DA: sub ecx, edx */ 39167 _flag_k = FK_CMP; 39168 /* cmp ecx, esi */ /* 0x2B0748DC: cmp ecx, esi */ 39169 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 39170 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39171 _flag_k = FK_CMP; 39172 if (CMP_A(_flag_a, _flag_b)) goto L_2B0748E6; /* 0x2B0748DE: ja 0x2b0748e6 */ 39173 L_2B0748E0: 39174 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0748E0: call dword ptr [0x2b0b51a8] */ 39175 RECOMP_FLAGS_IN(); 39176 L_2B0748E6: 39177 /* test esi, esi */ /* 0x2B0748E6: test esi, esi */ 39178 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 39179 _cf = 0; 39180 _flag_k = FK_TEST; 39181 if (TEST_Z(_flag_a, _flag_b)) goto L_2B074A0A; /* 0x2B0748E8: jbe 0x2b074a0a */ 39182 L_2B0748EE: 39183 eax = MEM32(ebx + 0x8); /* 0x2B0748EE: mov eax, dword ptr [ebx + 8] */ 39184 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 39185 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 39186 eax = eax + esi; /* 0x2B0748F1: add eax, esi */ 39187 _flag_k = FK_ADD; 39188 PUSH32(esp, 0); /* 0x2B0748F3: push 0 */ 39189 PUSH32(esp, eax); /* 0x2B0748F5: push eax */ 39190 ecx = ebx; /* 0x2B0748F6: mov ecx, ebx */ 39191 MEM32(ebp + 0x8) = eax; /* 0x2B0748F8: mov dword ptr [ebp + 8], eax */ 39192 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0748FB: call dword ptr [0x2b0b5154] */ 39193 RECOMP_FLAGS_IN(); 39194 /* test LO8(eax), LO8(eax) */ /* 0x2B074901: test al, al */ 39195 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 39196 _cf = 0; 39197 _flag_k = FK_NARROW(FK_TEST, 24); 39198 if (TEST_Z(_flag_a, _flag_b)) goto L_2B074A0A; /* 0x2B074903: je 0x2b074a0a */ 39199 L_2B074909: 39200 edi = MEM32(ebx + 0x8); /* 0x2B074909: mov edi, dword ptr [ebx + 8] */ 39201 edx = MEM32(ebx + 0x4); /* 0x2B07490C: mov edx, dword ptr [ebx + 4] */ 39202 eax = MEM32(ebp + 0x8); /* 0x2B07490F: mov eax, dword ptr [ebp + 8] */ 39203 ecx = esi; /* 0x2B074912: mov ecx, esi */ 39204 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 39205 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 39206 edi = edi + edx; /* 0x2B074914: add edi, edx */ 39207 _flag_k = FK_ADD; 39208 edx = ecx; /* 0x2B074916: mov edx, ecx */ 39209 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B074918: shr ecx, 2 */ 39210 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 39211 ecx = ecx >> 2u; /* 0x2B074918: shr ecx, 2 */ 39212 esi = 0x2B0EEE84u; /* 0x2B07491B: mov esi, 0x2b0eee84 */ 39213 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B074920: 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; } 39214 ecx = edx; /* 0x2B074922: mov ecx, edx */ 39215 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 39216 ecx = ecx & 3; /* 0x2B074924: and ecx, 3 */ 39217 _cf = 0; 39218 _flag_k = FK_TEST; 39219 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B074927: 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; } 39220 ecx = MEM32(ebx + 0x4); /* 0x2B074929: mov ecx, dword ptr [ebx + 4] */ 39221 edi = POP32_VAL(esp); /* 0x2B07492C: pop edi */ 39222 MEM32(ebx + 0x8) = eax; /* 0x2B07492D: mov dword ptr [ebx + 8], eax */ 39223 esi = POP32_VAL(esp); /* 0x2B074930: pop esi */ 39224 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B074931: mov byte ptr [ecx + eax], 0 */ 39225 ebx = POP32_VAL(esp); /* 0x2B074935: pop ebx */ 39226 esp = ebp; /* 0x2B074936: mov esp, ebp */ 39227 ebp = POP32_VAL(esp); /* 0x2B074938: pop ebp */ 39228 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B074939: ret 8 */ 39229 L_2B07493C: 39230 edx = MEM32(0x2B0B515C); /* 0x2B07493C: mov edx, dword ptr [0x2b0b515c] */ 39231 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 39232 eax = 0; /* 0x2B074942: xor eax, eax */ 39233 _cf = 0; 39234 _flag_k = FK_TEST; 39235 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 39236 ecx = ecx | 0xFFFFFFFFu; /* 0x2B074944: or ecx, 0xffffffff */ 39237 _cf = 0; 39238 _flag_k = FK_TEST; 39239 edi = 0x2B0EC140u; /* 0x2B074947: mov edi, 0x2b0ec140 */ 39240 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; } /* 0x2B07494C: repne scasb al, byte ptr es:[edi] */ 39241 eax = MEM32(edx); /* 0x2B07494E: mov eax, dword ptr [edx] */ 39242 edx = MEM32(ebx + 0x8); /* 0x2B074950: mov edx, dword ptr [ebx + 8] */ 39243 ecx = ~ecx; /* 0x2B074953: not ecx */ 39244 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 39245 ecx = ecx - 1; /* 0x2B074955: dec ecx */ 39246 _flag_k = FK_DEC; 39247 edi = ecx; /* 0x2B074956: mov edi, ecx */ 39248 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 39249 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39250 eax = eax - edx; /* 0x2B074958: sub eax, edx */ 39251 _flag_k = FK_CMP; 39252 /* cmp eax, edi */ /* 0x2B07495A: cmp eax, edi */ 39253 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 39254 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39255 _flag_k = FK_CMP; 39256 if (CMP_A(_flag_a, _flag_b)) goto L_2B074964; /* 0x2B07495C: ja 0x2b074964 */ 39257 L_2B07495E: 39258 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07495E: call dword ptr [0x2b0b51a8] */ 39259 RECOMP_FLAGS_IN(); 39260 L_2B074964: 39261 /* test edi, edi */ /* 0x2B074964: test edi, edi */ 39262 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 39263 _cf = 0; 39264 _flag_k = FK_TEST; 39265 if (TEST_Z(_flag_a, _flag_b)) goto L_2B074A0A; /* 0x2B074966: jbe 0x2b074a0a */ 39266 L_2B07496C: 39267 esi = MEM32(ebx + 0x8); /* 0x2B07496C: mov esi, dword ptr [ebx + 8] */ 39268 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 39269 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 39270 esi = esi + edi; /* 0x2B07496F: add esi, edi */ 39271 _flag_k = FK_ADD; 39272 ecx = ebx; /* 0x2B074971: mov ecx, ebx */ 39273 MEM32(ebp + 0x8) = esi; /* 0x2B074973: mov dword ptr [ebp + 8], esi */ 39274 RECOMP_ICALL(MEM32(0x2B0B5118)); /* 0x2B074976: call dword ptr [0x2b0b5118] */ 39275 RECOMP_FLAGS_IN(); 39276 /* cmp eax, esi */ /* 0x2B07497C: cmp eax, esi */ 39277 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 39278 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39279 _flag_k = FK_CMP; 39280 if (CMP_AE(_flag_a, _flag_b)) goto L_2B074986; /* 0x2B07497E: jae 0x2b074986 */ 39281 L_2B074980: 39282 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B074980: call dword ptr [0x2b0b51a8] */ 39283 RECOMP_FLAGS_IN(); 39284 L_2B074986: 39285 /* cmp esi, MEM32(ebx + 0x8) */ /* 0x2B074986: cmp esi, dword ptr [ebx + 8] */ 39286 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ebx + 0x8)); 39287 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39288 _flag_k = FK_CMP; 39289 if (CMP_AE(_flag_a, _flag_b)) goto L_2B07498E; /* 0x2B074989: jae 0x2b07498e */ 39290 L_2B07498B: 39291 MEM32(ebx + 0x8) = esi; /* 0x2B07498B: mov dword ptr [ebx + 8], esi */ 39292 L_2B07498E: 39293 eax = MEM32(ebx + 0x4); /* 0x2B07498E: mov eax, dword ptr [ebx + 4] */ 39294 /* test eax, eax */ /* 0x2B074991: test eax, eax */ 39295 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 39296 _cf = 0; 39297 _flag_k = FK_TEST; 39298 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0749B8; /* 0x2B074993: je 0x2b0749b8 */ 39299 L_2B074995: 39300 SET_LO8(ecx, MEM8(eax + (-0x1))); /* 0x2B074995: mov cl, byte ptr [eax - 1] */ 39301 /* test LO8(ecx), LO8(ecx) */ /* 0x2B074998: test cl, cl */ 39302 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 39303 _cf = 0; 39304 _flag_k = FK_NARROW(FK_TEST, 24); 39305 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0749B8; /* 0x2B07499A: je 0x2b0749b8 */ 39306 L_2B07499C: 39307 /* cmp LO8(ecx), 0xFFu */ /* 0x2B07499C: cmp cl, 0xff */ 39308 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 39309 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39310 _flag_k = FK_NARROW(FK_CMP, 24); 39311 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0749B8; /* 0x2B07499F: je 0x2b0749b8 */ 39312 L_2B0749A1: 39313 /* test esi, esi */ /* 0x2B0749A1: test esi, esi */ 39314 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 39315 _cf = 0; 39316 _flag_k = FK_TEST; 39317 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0749D7; /* 0x2B0749A3: jne 0x2b0749d7 */ 39318 L_2B0749A5: 39319 PUSH32(esp, 1); /* 0x2B0749A5: push 1 */ 39320 ecx = ebx; /* 0x2B0749A7: mov ecx, ebx */ 39321 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0749A9: call dword ptr [0x2b0b514c] */ 39322 RECOMP_FLAGS_IN(); 39323 edi = POP32_VAL(esp); /* 0x2B0749AF: pop edi */ 39324 esi = POP32_VAL(esp); /* 0x2B0749B0: pop esi */ 39325 ebx = POP32_VAL(esp); /* 0x2B0749B1: pop ebx */ 39326 esp = ebp; /* 0x2B0749B2: mov esp, ebp */ 39327 ebp = POP32_VAL(esp); /* 0x2B0749B4: pop ebp */ 39328 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0749B5: ret 8 */ 39329 L_2B0749B8: 39330 /* test esi, esi */ /* 0x2B0749B8: test esi, esi */ 39331 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 39332 _cf = 0; 39333 _flag_k = FK_TEST; 39334 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0749D2; /* 0x2B0749BA: jne 0x2b0749d2 */ 39335 L_2B0749BC: 39336 /* test eax, eax */ /* 0x2B0749BC: test eax, eax */ 39337 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 39338 _cf = 0; 39339 _flag_k = FK_TEST; 39340 if (TEST_Z(_flag_a, _flag_b)) goto L_2B074A0A; /* 0x2B0749BE: je 0x2b074a0a */ 39341 L_2B0749C0: 39342 PUSH32(esp, esi); /* 0x2B0749C0: push esi */ 39343 ecx = ebx; /* 0x2B0749C1: mov ecx, ebx */ 39344 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B0749C3: call dword ptr [0x2b0b5150] */ 39345 RECOMP_FLAGS_IN(); 39346 edi = POP32_VAL(esp); /* 0x2B0749C9: pop edi */ 39347 esi = POP32_VAL(esp); /* 0x2B0749CA: pop esi */ 39348 ebx = POP32_VAL(esp); /* 0x2B0749CB: pop ebx */ 39349 esp = ebp; /* 0x2B0749CC: mov esp, ebp */ 39350 ebp = POP32_VAL(esp); /* 0x2B0749CE: pop ebp */ 39351 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0749CF: ret 8 */ 39352 L_2B0749D2: 39353 /* cmp MEM32(ebx + 0xC), esi */ /* 0x2B0749D2: cmp dword ptr [ebx + 0xc], esi */ 39354 _flag_a = (uint32_t)(MEM32(ebx + 0xC)); _flag_b = (uint32_t)(esi); 39355 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39356 _flag_k = FK_CMP; 39357 if (CMP_AE(_flag_a, _flag_b)) goto L_2B0749E0; /* 0x2B0749D5: jae 0x2b0749e0 */ 39358 L_2B0749D7: 39359 PUSH32(esp, esi); /* 0x2B0749D7: push esi */ 39360 ecx = ebx; /* 0x2B0749D8: mov ecx, ebx */ 39361 RECOMP_ICALL(MEM32(0x2B0B5110)); /* 0x2B0749DA: call dword ptr [0x2b0b5110] */ 39362 RECOMP_FLAGS_IN(); 39363 L_2B0749E0: 39364 edx = MEM32(ebx + 0x4); /* 0x2B0749E0: mov edx, dword ptr [ebx + 4] */ 39365 eax = MEM32(ebp + 0x8); /* 0x2B0749E3: mov eax, dword ptr [ebp + 8] */ 39366 ecx = edi; /* 0x2B0749E6: mov ecx, edi */ 39367 edi = MEM32(ebx + 0x8); /* 0x2B0749E8: mov edi, dword ptr [ebx + 8] */ 39368 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 39369 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 39370 edi = edi + edx; /* 0x2B0749EB: add edi, edx */ 39371 _flag_k = FK_ADD; 39372 edx = ecx; /* 0x2B0749ED: mov edx, ecx */ 39373 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0749EF: shr ecx, 2 */ 39374 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 39375 ecx = ecx >> 2u; /* 0x2B0749EF: shr ecx, 2 */ 39376 esi = 0x2B0EC140u; /* 0x2B0749F2: mov esi, 0x2b0ec140 */ 39377 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0749F7: 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; } 39378 ecx = edx; /* 0x2B0749F9: mov ecx, edx */ 39379 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 39380 ecx = ecx & 3; /* 0x2B0749FB: and ecx, 3 */ 39381 _cf = 0; 39382 _flag_k = FK_TEST; 39383 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0749FE: 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; } 39384 ecx = MEM32(ebx + 0x4); /* 0x2B074A00: mov ecx, dword ptr [ebx + 4] */ 39385 MEM32(ebx + 0x8) = eax; /* 0x2B074A03: mov dword ptr [ebx + 8], eax */ 39386 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B074A06: mov byte ptr [ecx + eax], 0 */ 39387 L_2B074A0A: 39388 edi = POP32_VAL(esp); /* 0x2B074A0A: pop edi */ 39389 esi = POP32_VAL(esp); /* 0x2B074A0B: pop esi */ 39390 ebx = POP32_VAL(esp); /* 0x2B074A0C: pop ebx */ 39391 esp = ebp; /* 0x2B074A0D: mov esp, ebp */ 39392 ebp = POP32_VAL(esp); /* 0x2B074A0F: pop ebp */ 39393 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B074A10: ret 8 */ 39394 RECOMP_REGS_OUT(); 39395 } 39396 39397 void sub_2B074A20(void) { 39398 int _fpu_cmp = 0; 39399 uint32_t _cf = 0; 39400 int _df = 1; 39401 uint32_t _flag_k = FK_NONE; 39402 uint32_t _flag_a = 0, _flag_b = 0; 39403 uint32_t _itail_tgt = 0; 39404 RECOMP_REGS_LOCALS 39405 RECOMP_ENTER(0x2B074A20u); 39406 39407 L_2B074A20: 39408 PUSH32(esp, ebp); /* 0x2B074A20: push ebp */ 39409 ebp = esp; /* 0x2B074A21: mov ebp, esp */ 39410 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 39411 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39412 esp = esp - 8; /* 0x2B074A23: sub esp, 8 */ 39413 _flag_k = FK_CMP; 39414 PUSH32(esp, ebx); /* 0x2B074A26: push ebx */ 39415 PUSH32(esp, esi); /* 0x2B074A27: push esi */ 39416 esi = MEM32(ebp + 0x8); /* 0x2B074A28: mov esi, dword ptr [ebp + 8] */ 39417 ebx = ecx; /* 0x2B074A2B: mov ebx, ecx */ 39418 eax = MEM32(ebx + 0x24); /* 0x2B074A2D: mov eax, dword ptr [ebx + 0x24] */ 39419 /* cmp eax, MEM32(esi + 0x4) */ /* 0x2B074A30: cmp eax, dword ptr [esi + 4] */ 39420 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 39421 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39422 _flag_k = FK_CMP; 39423 if (CMP_NE(_flag_a, _flag_b)) goto L_2B074B17; /* 0x2B074A33: jne 0x2b074b17 */ 39424 L_2B074A39: 39425 ecx = MEM32(ebx + 0x20); /* 0x2B074A39: mov ecx, dword ptr [ebx + 0x20] */ 39426 /* cmp ecx, MEM32(esi) */ /* 0x2B074A3C: cmp ecx, dword ptr [esi] */ 39427 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 39428 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39429 _flag_k = FK_CMP; 39430 if (CMP_NE(_flag_a, _flag_b)) goto L_2B074B17; /* 0x2B074A3E: jne 0x2b074b17 */ 39431 L_2B074A44: 39432 PUSH32(esp, edi); /* 0x2B074A44: push edi */ 39433 PUSH32(esp, esi); /* 0x2B074A45: push esi */ 39434 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B074A46: call dword ptr [0x2b0b5d6c] */ 39435 RECOMP_FLAGS_IN(); 39436 ecx = eax; /* 0x2B074A4C: mov ecx, eax */ 39437 RECOMP_ICALL(MEM32(0x2B0B5E94)); /* 0x2B074A4E: call dword ptr [0x2b0b5e94] */ 39438 RECOMP_FLAGS_IN(); 39439 /* test LO8(eax), LO8(eax) */ /* 0x2B074A54: test al, al */ 39440 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 39441 _cf = 0; 39442 _flag_k = FK_NARROW(FK_TEST, 24); 39443 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B074A64; /* 0x2B074A56: jne 0x2b074a64 */ 39444 L_2B074A58: 39445 PUSH32(esp, 1); /* 0x2B074A58: push 1 */ 39446 PUSH32(esp, esi); /* 0x2B074A5A: push esi */ 39447 ecx = ebx; /* 0x2B074A5B: mov ecx, ebx */ 39448 /* Character references use actor stats regardless of the open shop view. */ 39449 { 39450 uint8_t shop_mode = MEM8(ebx + 0x1C); 39451 MEM8(ebx + 0x1C) = 0; 39452 RECOMP_ICALL(0x2B06FC30u); /* 0x2B074A5D: call 0x2b06fc30 */ /* not lifted */ 39453 RECOMP_FLAGS_IN(); 39454 MEM8(ebx + 0x1C) = shop_mode; 39455 } 39456 goto L_2B074AB4; /* 0x2B074A62: jmp 0x2b074ab4 */ 39457 L_2B074A64: 39458 edx = MEM32(ebx + 0x28); /* 0x2B074A64: mov edx, dword ptr [ebx + 0x28] */ 39459 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 39460 ecx = ecx | 0xFFFFFFFFu; /* 0x2B074A67: or ecx, 0xffffffff */ 39461 _cf = 0; 39462 _flag_k = FK_TEST; 39463 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 39464 eax = 0; /* 0x2B074A6A: xor eax, eax */ 39465 _cf = 0; 39466 _flag_k = FK_TEST; 39467 edi = 0x2B0E517Cu; /* 0x2B074A6C: mov edi, 0x2b0e517c */ 39468 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; } /* 0x2B074A71: repne scasb al, byte ptr es:[edi] */ 39469 ecx = ~ecx; /* 0x2B074A73: not ecx */ 39470 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 39471 ecx = ecx - 1; /* 0x2B074A75: dec ecx */ 39472 _flag_k = FK_DEC; 39473 esi = ecx; /* 0x2B074A76: mov esi, ecx */ 39474 PUSH32(esp, 1); /* 0x2B074A78: push 1 */ 39475 PUSH32(esp, esi); /* 0x2B074A7A: push esi */ 39476 ecx = edx; /* 0x2B074A7B: mov ecx, edx */ 39477 MEM32(ebp + (-0x4)) = edx; /* 0x2B074A7D: mov dword ptr [ebp - 4], edx */ 39478 MEM32(ebp + (-0x8)) = esi; /* 0x2B074A80: mov dword ptr [ebp - 8], esi */ 39479 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B074A83: call dword ptr [0x2b0b5154] */ 39480 RECOMP_FLAGS_IN(); 39481 /* test LO8(eax), LO8(eax) */ /* 0x2B074A89: test al, al */ 39482 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 39483 _cf = 0; 39484 _flag_k = FK_NARROW(FK_TEST, 24); 39485 if (TEST_Z(_flag_a, _flag_b)) goto L_2B074AB4; /* 0x2B074A8B: je 0x2b074ab4 */ 39486 L_2B074A8D: 39487 eax = MEM32(ebp + (-0x4)); /* 0x2B074A8D: mov eax, dword ptr [ebp - 4] */ 39488 edi = MEM32(eax + 0x4); /* 0x2B074A90: mov edi, dword ptr [eax + 4] */ 39489 ecx = esi; /* 0x2B074A93: mov ecx, esi */ 39490 edx = ecx; /* 0x2B074A95: mov edx, ecx */ 39491 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B074A97: shr ecx, 2 */ 39492 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 39493 ecx = ecx >> 2u; /* 0x2B074A97: shr ecx, 2 */ 39494 esi = 0x2B0E517Cu; /* 0x2B074A9A: mov esi, 0x2b0e517c */ 39495 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B074A9F: 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; } 39496 ecx = edx; /* 0x2B074AA1: mov ecx, edx */ 39497 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 39498 ecx = ecx & 3; /* 0x2B074AA3: and ecx, 3 */ 39499 _cf = 0; 39500 _flag_k = FK_TEST; 39501 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B074AA6: 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; } 39502 ecx = edx; /* 0x2B074AA8: mov ecx, edx */ 39503 MEM32(eax + 0x8) = ecx; /* 0x2B074AAA: mov dword ptr [eax + 8], ecx */ 39504 eax = MEM32(eax + 0x4); /* 0x2B074AAD: mov eax, dword ptr [eax + 4] */ 39505 MEM8(eax + ecx) = (uint8_t)(0); /* 0x2B074AB0: mov byte ptr [eax + ecx], 0 */ 39506 L_2B074AB4: 39507 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 39508 eax = 0; /* 0x2B074AB4: xor eax, eax */ 39509 _cf = 0; 39510 _flag_k = FK_TEST; 39511 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 39512 ecx = 0; /* 0x2B074AB6: xor ecx, ecx */ 39513 _cf = 0; 39514 _flag_k = FK_TEST; 39515 MEM32(ebx) = eax; /* 0x2B074AB8: mov dword ptr [ebx], eax */ 39516 MEM32(ebx + 0x4) = ecx; /* 0x2B074ABA: mov dword ptr [ebx + 4], ecx */ 39517 ecx = MEM32(ebx + 0x28); /* 0x2B074ABD: mov ecx, dword ptr [ebx + 0x28] */ 39518 eax = MEM32(ecx + 0x8); /* 0x2B074AC0: mov eax, dword ptr [ecx + 8] */ 39519 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 39520 eax = eax + 1; /* 0x2B074AC3: inc eax */ 39521 _flag_k = FK_INC; 39522 PUSH32(esp, eax); /* 0x2B074AC4: push eax */ 39523 RECOMP_ICALL(0x2B0AB212u); /* 0x2B074AC5: call 0x2b0ab212 */ /* not lifted */ 39524 RECOMP_FLAGS_IN(); 39525 ecx = MEM32(ebx + 0x28); /* 0x2B074ACA: mov ecx, dword ptr [ebx + 0x28] */ 39526 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 39527 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 39528 esp = esp + 4; /* 0x2B074ACD: add esp, 4 */ 39529 _flag_k = FK_ADD; 39530 esi = eax; /* 0x2B074AD0: mov esi, eax */ 39531 PUSH32(esp, 0); /* 0x2B074AD2: push 0 */ 39532 PUSH32(esp, esi); /* 0x2B074AD4: push esi */ 39533 RECOMP_ICALL(MEM32(0x2B0B5B84)); /* 0x2B074AD5: call dword ptr [0x2b0b5b84] */ 39534 RECOMP_FLAGS_IN(); 39535 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 39536 ecx = ecx | 0xFFFFFFFFu; /* 0x2B074ADB: or ecx, 0xffffffff */ 39537 _cf = 0; 39538 _flag_k = FK_TEST; 39539 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 39540 eax = 0; /* 0x2B074ADE: xor eax, eax */ 39541 _cf = 0; 39542 _flag_k = FK_TEST; 39543 edi = esi; /* 0x2B074AE0: mov edi, esi */ 39544 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; } /* 0x2B074AE2: repne scasb al, byte ptr es:[edi] */ 39545 edi = MEM32(0x2B0B53CC); /* 0x2B074AE4: mov edi, dword ptr [0x2b0b53cc] */ 39546 ecx = ~ecx; /* 0x2B074AEA: not ecx */ 39547 PUSH32(esp, ecx); /* 0x2B074AEC: push ecx */ 39548 PUSH32(esp, esi); /* 0x2B074AED: push esi */ 39549 PUSH32(esp, 0xB2u); /* 0x2B074AEE: push 0xb2 */ 39550 PUSH32(esp, 0x20u); /* 0x2B074AF3: push 0x20 */ 39551 RECOMP_ICALL(edi); /* 0x2B074AF5: call edi */ 39552 RECOMP_FLAGS_IN(); 39553 ecx = eax; /* 0x2B074AF7: mov ecx, eax */ 39554 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B074AF9: call dword ptr [0x2b0b53c4] */ 39555 RECOMP_FLAGS_IN(); 39556 edx = MEM32(ebp + 0x8); /* 0x2B074AFF: mov edx, dword ptr [ebp + 8] */ 39557 PUSH32(esp, edx); /* 0x2B074B02: push edx */ 39558 RECOMP_ICALL(edi); /* 0x2B074B03: call edi */ 39559 RECOMP_FLAGS_IN(); 39560 ecx = eax; /* 0x2B074B05: mov ecx, eax */ 39561 RECOMP_ICALL(MEM32(0x2B0B53B4)); /* 0x2B074B07: call dword ptr [0x2b0b53b4] */ 39562 RECOMP_FLAGS_IN(); 39563 PUSH32(esp, esi); /* 0x2B074B0D: push esi */ 39564 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B074B0E: call 0x2b0ab1ba */ /* not lifted */ 39565 RECOMP_FLAGS_IN(); 39566 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 39567 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 39568 esp = esp + 4; /* 0x2B074B13: add esp, 4 */ 39569 _flag_k = FK_ADD; 39570 edi = POP32_VAL(esp); /* 0x2B074B16: pop edi */ 39571 L_2B074B17: 39572 esi = POP32_VAL(esp); /* 0x2B074B17: pop esi */ 39573 ebx = POP32_VAL(esp); /* 0x2B074B18: pop ebx */ 39574 esp = ebp; /* 0x2B074B19: mov esp, ebp */ 39575 ebp = POP32_VAL(esp); /* 0x2B074B1B: pop ebp */ 39576 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B074B1C: ret 4 */ 39577 RECOMP_REGS_OUT(); 39578 } 39579 39580 void sub_2B074B20(void) { 39581 int _fpu_cmp = 0; 39582 uint32_t _cf = 0; 39583 int _df = 1; 39584 uint32_t _flag_k = FK_NONE; 39585 uint32_t _flag_a = 0, _flag_b = 0; 39586 uint32_t _itail_tgt = 0; 39587 RECOMP_REGS_LOCALS 39588 RECOMP_ENTER(0x2B074B20u); 39589 39590 L_2B074B20: 39591 PUSH32(esp, ebp); /* 0x2B074B20: push ebp */ 39592 ebp = esp; /* 0x2B074B21: mov ebp, esp */ 39593 eax = MEM32(ebp + 0x8); /* 0x2B074B23: mov eax, dword ptr [ebp + 8] */ 39594 edx = MEM32(eax); /* 0x2B074B26: mov edx, dword ptr [eax] */ 39595 MEM32(ecx) = edx; /* 0x2B074B28: mov dword ptr [ecx], edx */ 39596 edx = MEM32(eax + 0x4); /* 0x2B074B2A: mov edx, dword ptr [eax + 4] */ 39597 MEM32(ecx + 0x4) = edx; /* 0x2B074B2D: mov dword ptr [ecx + 4], edx */ 39598 edx = MEM32(eax); /* 0x2B074B30: mov edx, dword ptr [eax] */ 39599 MEM32(ecx + 0x20) = edx; /* 0x2B074B32: mov dword ptr [ecx + 0x20], edx */ 39600 edx = MEM32(eax + 0x4); /* 0x2B074B35: mov edx, dword ptr [eax + 4] */ 39601 PUSH32(esp, eax); /* 0x2B074B38: push eax */ 39602 MEM32(ecx + 0x24) = edx; /* 0x2B074B39: mov dword ptr [ecx + 0x24], edx */ 39603 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B074B3C: call dword ptr [0x2b0b5d6c] */ 39604 RECOMP_FLAGS_IN(); 39605 ecx = eax; /* 0x2B074B42: mov ecx, eax */ 39606 RECOMP_ICALL(MEM32(0x2B0B5D20)); /* 0x2B074B44: call dword ptr [0x2b0b5d20] */ 39607 RECOMP_FLAGS_IN(); 39608 ebp = POP32_VAL(esp); /* 0x2B074B4A: pop ebp */ 39609 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B074B4B: ret 4 */ 39610 RECOMP_REGS_OUT(); 39611 } 39612 39613 void sub_2B074B50(void) { 39614 int _fpu_cmp = 0; 39615 uint32_t _cf = 0; 39616 int _df = 1; 39617 uint32_t _flag_k = FK_NONE; 39618 uint32_t _flag_a = 0, _flag_b = 0; 39619 uint32_t _itail_tgt = 0; 39620 RECOMP_REGS_LOCALS 39621 RECOMP_ENTER(0x2B074B50u); 39622 39623 L_2B074B50: 39624 PUSH32(esp, ebp); /* 0x2B074B50: push ebp */ 39625 ebp = esp; /* 0x2B074B51: mov ebp, esp */ 39626 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B074B53: push -1 */ 39627 PUSH32(esp, 0x2B0B12D8u); /* 0x2B074B55: push 0x2b0b12d8 */ 39628 eax = MEM32(FS_BASE + (0)); /* 0x2B074B5A: mov eax, dword ptr fs:[0] */ 39629 PUSH32(esp, eax); /* 0x2B074B60: push eax */ 39630 MEM32(FS_BASE + (0)) = esp; /* 0x2B074B61: mov dword ptr fs:[0], esp */ 39631 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10Cu); 39632 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39633 esp = esp - 0x10Cu; /* 0x2B074B68: sub esp, 0x10c */ 39634 _flag_k = FK_CMP; 39635 PUSH32(esp, ebx); /* 0x2B074B6E: push ebx */ 39636 ebx = ecx; /* 0x2B074B6F: mov ebx, ecx */ 39637 edx = MEM32(ebx + 0x28); /* 0x2B074B71: mov edx, dword ptr [ebx + 0x28] */ 39638 PUSH32(esp, esi); /* 0x2B074B74: push esi */ 39639 PUSH32(esp, edi); /* 0x2B074B75: push edi */ 39640 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 39641 ecx = ecx | 0xFFFFFFFFu; /* 0x2B074B76: or ecx, 0xffffffff */ 39642 _cf = 0; 39643 _flag_k = FK_TEST; 39644 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 39645 eax = 0; /* 0x2B074B79: xor eax, eax */ 39646 _cf = 0; 39647 _flag_k = FK_TEST; 39648 edi = 0x2B0EE648u; /* 0x2B074B7B: mov edi, 0x2b0ee648 */ 39649 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; } /* 0x2B074B80: repne scasb al, byte ptr es:[edi] */ 39650 ecx = ~ecx; /* 0x2B074B82: not ecx */ 39651 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 39652 ecx = ecx - 1; /* 0x2B074B84: dec ecx */ 39653 _flag_k = FK_DEC; 39654 PUSH32(esp, ecx); /* 0x2B074B85: push ecx */ 39655 PUSH32(esp, 0x2B0EE648u); /* 0x2B074B86: push 0x2b0ee648 */ 39656 ecx = edx; /* 0x2B074B8B: mov ecx, edx */ 39657 MEM32(ebp + (-0x3C)) = ebx; /* 0x2B074B8D: mov dword ptr [ebp - 0x3c], ebx */ 39658 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B074B90: call dword ptr [0x2b0b5148] */ 39659 RECOMP_FLAGS_IN(); 39660 esi = MEM32(ebp + 0x8); /* 0x2B074B96: mov esi, dword ptr [ebp + 8] */ 39661 SET_LO8(eax, MEM8(esi)); /* 0x2B074B99: mov al, byte ptr [esi] */ 39662 PUSH32(esp, 0); /* 0x2B074B9B: push 0 */ 39663 ecx = ebp + (-0x1C); /* 0x2B074B9D: lea ecx, [ebp - 0x1c] */ 39664 MEM8(ebp + (-0x1C)) = (uint8_t)(LO8(eax)); /* 0x2B074BA0: mov byte ptr [ebp - 0x1c], al */ 39665 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B074BA3: call dword ptr [0x2b0b514c] */ 39666 RECOMP_FLAGS_IN(); 39667 ecx = MEM32(0x2B0B515C); /* 0x2B074BA9: mov ecx, dword ptr [0x2b0b515c] */ 39668 edx = MEM32(ecx); /* 0x2B074BAF: mov edx, dword ptr [ecx] */ 39669 PUSH32(esp, edx); /* 0x2B074BB1: push edx */ 39670 PUSH32(esp, 0); /* 0x2B074BB2: push 0 */ 39671 PUSH32(esp, esi); /* 0x2B074BB4: push esi */ 39672 ecx = ebp + (-0x1C); /* 0x2B074BB5: lea ecx, [ebp - 0x1c] */ 39673 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B074BB8: call dword ptr [0x2b0b5158] */ 39674 RECOMP_FLAGS_IN(); 39675 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 39676 ecx = ecx | 0xFFFFFFFFu; /* 0x2B074BBE: or ecx, 0xffffffff */ 39677 _cf = 0; 39678 _flag_k = FK_TEST; 39679 MEM32(ebp + (-0x20)) = ecx; /* 0x2B074BC1: mov dword ptr [ebp - 0x20], ecx */ 39680 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 39681 eax = 0; /* 0x2B074BC4: xor eax, eax */ 39682 _cf = 0; 39683 _flag_k = FK_TEST; 39684 edi = 0x2B0EC1A4u; /* 0x2B074BC6: mov edi, 0x2b0ec1a4 */ 39685 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; } /* 0x2B074BCB: repne scasb al, byte ptr es:[edi] */ 39686 ecx = ~ecx; /* 0x2B074BCD: not ecx */ 39687 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 39688 ecx = ecx - 1; /* 0x2B074BCF: dec ecx */ 39689 _flag_k = FK_DEC; 39690 PUSH32(esp, ecx); /* 0x2B074BD0: push ecx */ 39691 PUSH32(esp, eax); /* 0x2B074BD1: push eax */ 39692 PUSH32(esp, 0x2B0EC1A4u); /* 0x2B074BD2: push 0x2b0ec1a4 */ 39693 ecx = ebp + (-0x1C); /* 0x2B074BD7: lea ecx, [ebp - 0x1c] */ 39694 MEM32(ebp + (-0x4)) = 0; /* 0x2B074BDA: mov dword ptr [ebp - 4], 0 */ 39695 RECOMP_ICALL(MEM32(0x2B0B5160)); /* 0x2B074BE1: call dword ptr [0x2b0b5160] */ 39696 RECOMP_FLAGS_IN(); 39697 esi = eax; /* 0x2B074BE7: mov esi, eax */ 39698 /* cmp esi, 0xFFFFFFFFu */ /* 0x2B074BE9: cmp esi, -1 */ 39699 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0xFFFFFFFFu); 39700 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39701 _flag_k = FK_CMP; 39702 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B074CBF; /* 0x2B074BEC: je 0x2b074cbf */ 39703 L_2B074BF2: 39704 ebx = MEM32(ebp + (-0x18)); /* 0x2B074BF2: mov ebx, dword ptr [ebp - 0x18] */ 39705 /* test ebx, ebx */ /* 0x2B074BF5: test ebx, ebx */ 39706 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 39707 _cf = 0; 39708 _flag_k = FK_TEST; 39709 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B074BFF; /* 0x2B074BF7: jne 0x2b074bff */ 39710 L_2B074BF9: 39711 ebx = MEM32(0x2B0B513C); /* 0x2B074BF9: mov ebx, dword ptr [0x2b0b513c] */ 39712 L_2B074BFF: 39713 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B074BFF: mov al, byte ptr [ebp + 0xb] */ 39714 PUSH32(esp, 0); /* 0x2B074C02: push 0 */ 39715 ecx = ebp + (-0x34); /* 0x2B074C04: lea ecx, [ebp - 0x34] */ 39716 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(esi); 39717 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 39718 ebx = ebx + esi; /* 0x2B074C07: add ebx, esi */ 39719 _flag_k = FK_ADD; 39720 MEM8(ebp + (-0x34)) = (uint8_t)(LO8(eax)); /* 0x2B074C09: mov byte ptr [ebp - 0x34], al */ 39721 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B074C0C: call dword ptr [0x2b0b514c] */ 39722 RECOMP_FLAGS_IN(); 39723 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 39724 ecx = ecx | 0xFFFFFFFFu; /* 0x2B074C12: or ecx, 0xffffffff */ 39725 _cf = 0; 39726 _flag_k = FK_TEST; 39727 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 39728 eax = 0; /* 0x2B074C15: xor eax, eax */ 39729 _cf = 0; 39730 _flag_k = FK_TEST; 39731 edi = ebx; /* 0x2B074C17: mov edi, ebx */ 39732 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; } /* 0x2B074C19: repne scasb al, byte ptr es:[edi] */ 39733 ecx = ~ecx; /* 0x2B074C1B: not ecx */ 39734 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 39735 ecx = ecx - 1; /* 0x2B074C1D: dec ecx */ 39736 _flag_k = FK_DEC; 39737 PUSH32(esp, ecx); /* 0x2B074C1E: push ecx */ 39738 PUSH32(esp, ebx); /* 0x2B074C1F: push ebx */ 39739 ecx = ebp + (-0x34); /* 0x2B074C20: lea ecx, [ebp - 0x34] */ 39740 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B074C23: call dword ptr [0x2b0b5148] */ 39741 RECOMP_FLAGS_IN(); 39742 eax = MEM32(ebp + (-0x30)); /* 0x2B074C29: mov eax, dword ptr [ebp - 0x30] */ 39743 /* test eax, eax */ /* 0x2B074C2C: test eax, eax */ 39744 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 39745 _cf = 0; 39746 _flag_k = FK_TEST; 39747 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B074C2E: mov byte ptr [ebp - 4], 1 */ 39748 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B074C39; /* 0x2B074C32: jne 0x2b074c39 */ 39749 L_2B074C34: 39750 eax = MEM32(0x2B0B513C); /* 0x2B074C34: mov eax, dword ptr [0x2b0b513c] */ 39751 L_2B074C39: 39752 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 39753 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 39754 eax = eax + 8; /* 0x2B074C39: add eax, 8 */ 39755 _flag_k = FK_ADD; 39756 PUSH32(esp, eax); /* 0x2B074C3C: push eax */ 39757 RECOMP_ICALL(MEM32(0x2B0B51FC)); /* 0x2B074C3D: call dword ptr [0x2b0b51fc] */ 39758 RECOMP_FLAGS_IN(); 39759 edi = MEM32(ebp + (-0x2C)); /* 0x2B074C43: mov edi, dword ptr [ebp - 0x2c] */ 39760 MEM32(ebp + (-0x20)) = eax; /* 0x2B074C46: mov dword ptr [ebp - 0x20], eax */ 39761 eax = MEM32(ebp + (-0x14)); /* 0x2B074C49: mov eax, dword ptr [ebp - 0x14] */ 39762 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 39763 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 39764 esp = esp + 4; /* 0x2B074C4C: add esp, 4 */ 39765 _flag_k = FK_ADD; 39766 /* cmp eax, esi */ /* 0x2B074C4F: cmp eax, esi */ 39767 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 39768 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39769 _flag_k = FK_CMP; 39770 if (CMP_AE(_flag_a, _flag_b)) goto L_2B074C59; /* 0x2B074C51: jae 0x2b074c59 */ 39771 L_2B074C53: 39772 RECOMP_ICALL(MEM32(0x2B0B519C)); /* 0x2B074C53: call dword ptr [0x2b0b519c] */ 39773 RECOMP_FLAGS_IN(); 39774 L_2B074C59: 39775 eax = MEM32(ebp + (-0x14)); /* 0x2B074C59: mov eax, dword ptr [ebp - 0x14] */ 39776 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 39777 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39778 eax = eax - esi; /* 0x2B074C5C: sub eax, esi */ 39779 _flag_k = FK_CMP; 39780 /* cmp eax, edi */ /* 0x2B074C5E: cmp eax, edi */ 39781 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 39782 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39783 _flag_k = FK_CMP; 39784 if (CMP_AE(_flag_a, _flag_b)) goto L_2B074C64; /* 0x2B074C60: jae 0x2b074c64 */ 39785 L_2B074C62: 39786 edi = eax; /* 0x2B074C62: mov edi, eax */ 39787 L_2B074C64: 39788 /* test edi, edi */ /* 0x2B074C64: test edi, edi */ 39789 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 39790 _cf = 0; 39791 _flag_k = FK_TEST; 39792 if (TEST_Z(_flag_a, _flag_b)) goto L_2B074CAD; /* 0x2B074C66: jbe 0x2b074cad */ 39793 L_2B074C68: 39794 ecx = ebp + (-0x1C); /* 0x2B074C68: lea ecx, [ebp - 0x1c] */ 39795 RECOMP_ICALL(MEM32(0x2B0B516C)); /* 0x2B074C6B: call dword ptr [0x2b0b516c] */ 39796 RECOMP_FLAGS_IN(); 39797 eax = MEM32(ebp + (-0x14)); /* 0x2B074C71: mov eax, dword ptr [ebp - 0x14] */ 39798 edx = MEM32(ebp + (-0x18)); /* 0x2B074C74: mov edx, dword ptr [ebp - 0x18] */ 39799 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 39800 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39801 eax = eax - edi; /* 0x2B074C77: sub eax, edi */ 39802 _flag_k = FK_CMP; 39803 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 39804 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39805 eax = eax - esi; /* 0x2B074C79: sub eax, esi */ 39806 _flag_k = FK_CMP; 39807 ecx = edx + edi; /* 0x2B074C7B: lea ecx, [edx + edi] */ 39808 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 39809 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 39810 ecx = ecx + esi; /* 0x2B074C7E: add ecx, esi */ 39811 _flag_k = FK_ADD; 39812 PUSH32(esp, eax); /* 0x2B074C80: push eax */ 39813 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx); 39814 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 39815 esi = esi + edx; /* 0x2B074C81: add esi, edx */ 39816 _flag_k = FK_ADD; 39817 PUSH32(esp, ecx); /* 0x2B074C83: push ecx */ 39818 PUSH32(esp, esi); /* 0x2B074C84: push esi */ 39819 RECOMP_ICALL(MEM32(0x2B0B51D4)); /* 0x2B074C85: call dword ptr [0x2b0b51d4] */ 39820 RECOMP_FLAGS_IN(); 39821 esi = MEM32(ebp + (-0x14)); /* 0x2B074C8B: mov esi, dword ptr [ebp - 0x14] */ 39822 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 39823 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 39824 esp = esp + 0xCu; /* 0x2B074C8E: add esp, 0xc */ 39825 _flag_k = FK_ADD; 39826 PUSH32(esp, 0); /* 0x2B074C91: push 0 */ 39827 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 39828 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39829 esi = esi - edi; /* 0x2B074C93: sub esi, edi */ 39830 _flag_k = FK_CMP; 39831 PUSH32(esp, esi); /* 0x2B074C95: push esi */ 39832 ecx = ebp + (-0x1C); /* 0x2B074C96: lea ecx, [ebp - 0x1c] */ 39833 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B074C99: call dword ptr [0x2b0b5154] */ 39834 RECOMP_FLAGS_IN(); 39835 /* test LO8(eax), LO8(eax) */ /* 0x2B074C9F: test al, al */ 39836 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 39837 _cf = 0; 39838 _flag_k = FK_NARROW(FK_TEST, 24); 39839 if (TEST_Z(_flag_a, _flag_b)) goto L_2B074CAD; /* 0x2B074CA1: je 0x2b074cad */ 39840 L_2B074CA3: 39841 PUSH32(esp, esi); /* 0x2B074CA3: push esi */ 39842 ecx = ebp + (-0x1C); /* 0x2B074CA4: lea ecx, [ebp - 0x1c] */ 39843 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B074CA7: call dword ptr [0x2b0b5150] */ 39844 RECOMP_FLAGS_IN(); 39845 L_2B074CAD: 39846 PUSH32(esp, 1); /* 0x2B074CAD: push 1 */ 39847 ecx = ebp + (-0x34); /* 0x2B074CAF: lea ecx, [ebp - 0x34] */ 39848 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B074CB2: mov byte ptr [ebp - 4], 0 */ 39849 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B074CB6: call dword ptr [0x2b0b514c] */ 39850 RECOMP_FLAGS_IN(); 39851 ebx = MEM32(ebp + (-0x3C)); /* 0x2B074CBC: mov ebx, dword ptr [ebp - 0x3c] */ 39852 L_2B074CBF: 39853 ecx = ebp + (-0x21); /* 0x2B074CBF: lea ecx, [ebp - 0x21] */ 39854 PUSH32(esp, ecx); /* 0x2B074CC2: push ecx */ 39855 ecx = ebp + (-0x50); /* 0x2B074CC3: lea ecx, [ebp - 0x50] */ 39856 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B074CC6: call dword ptr [0x2b0b5190] */ 39857 RECOMP_FLAGS_IN(); 39858 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 39859 edi = 0; /* 0x2B074CCC: xor edi, edi */ 39860 _cf = 0; 39861 _flag_k = FK_TEST; 39862 MEM32(ebp + (-0x40)) = edi; /* 0x2B074CCE: mov dword ptr [ebp - 0x40], edi */ 39863 esi = MEM32(0x2B0B5790); /* 0x2B074CD1: mov esi, dword ptr [0x2b0b5790] */ 39864 edx = ebp + (-0x20); /* 0x2B074CD7: lea edx, [ebp - 0x20] */ 39865 PUSH32(esp, edx); /* 0x2B074CDA: push edx */ 39866 eax = ebp + (-0x1C); /* 0x2B074CDB: lea eax, [ebp - 0x1c] */ 39867 PUSH32(esp, eax); /* 0x2B074CDE: push eax */ 39868 ecx = ebp + (-0x50); /* 0x2B074CDF: lea ecx, [ebp - 0x50] */ 39869 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B074CE2: mov byte ptr [ebp - 4], 2 */ 39870 RECOMP_ICALL(esi); /* 0x2B074CE6: call esi */ 39871 RECOMP_FLAGS_IN(); 39872 /* test LO8(eax), LO8(eax) */ /* 0x2B074CE8: test al, al */ 39873 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 39874 _cf = 0; 39875 _flag_k = FK_NARROW(FK_TEST, 24); 39876 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B074E54; /* 0x2B074CEA: jne 0x2b074e54 */ 39877 L_2B074CF0: 39878 RECOMP_ICALL(MEM32(0x2B0B56D4)); /* 0x2B074CF0: call dword ptr [0x2b0b56d4] */ 39879 RECOMP_FLAGS_IN(); 39880 ecx = ebp + (-0x22); /* 0x2B074CF6: lea ecx, [ebp - 0x22] */ 39881 PUSH32(esp, ecx); /* 0x2B074CF9: push ecx */ 39882 PUSH32(esp, eax); /* 0x2B074CFA: push eax */ 39883 ecx = ebp + (-0x38); /* 0x2B074CFB: lea ecx, [ebp - 0x38] */ 39884 RECOMP_ICALL(MEM32(0x2B0B5040)); /* 0x2B074CFE: call dword ptr [0x2b0b5040] */ 39885 RECOMP_FLAGS_IN(); 39886 MEM32(ebp + (-0x28)) = edi; /* 0x2B074D04: mov dword ptr [ebp - 0x28], edi */ 39887 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 39888 ecx = ecx | 0xFFFFFFFFu; /* 0x2B074D07: or ecx, 0xffffffff */ 39889 _cf = 0; 39890 _flag_k = FK_TEST; 39891 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 39892 eax = 0; /* 0x2B074D0A: xor eax, eax */ 39893 _cf = 0; 39894 _flag_k = FK_TEST; 39895 edi = 0x2B0EC198u; /* 0x2B074D0C: mov edi, 0x2b0ec198 */ 39896 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; } /* 0x2B074D11: repne scasb al, byte ptr es:[edi] */ 39897 ecx = ~ecx; /* 0x2B074D13: not ecx */ 39898 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 39899 ecx = ecx - 1; /* 0x2B074D15: dec ecx */ 39900 _flag_k = FK_DEC; 39901 PUSH32(esp, ecx); /* 0x2B074D16: push ecx */ 39902 PUSH32(esp, 0x2B0EC198u); /* 0x2B074D17: push 0x2b0ec198 */ 39903 ecx = ebp + (-0x38); /* 0x2B074D1C: lea ecx, [ebp - 0x38] */ 39904 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B074D1F: mov byte ptr [ebp - 4], 3 */ 39905 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B074D23: call dword ptr [0x2b0b5188] */ 39906 RECOMP_FLAGS_IN(); 39907 edx = MEM32(0x2B0B515C); /* 0x2B074D29: mov edx, dword ptr [0x2b0b515c] */ 39908 eax = MEM32(edx); /* 0x2B074D2F: mov eax, dword ptr [edx] */ 39909 PUSH32(esp, eax); /* 0x2B074D31: push eax */ 39910 PUSH32(esp, 0); /* 0x2B074D32: push 0 */ 39911 ecx = ebp + (-0x1C); /* 0x2B074D34: lea ecx, [ebp - 0x1c] */ 39912 PUSH32(esp, ecx); /* 0x2B074D37: push ecx */ 39913 ecx = ebp + (-0x38); /* 0x2B074D38: lea ecx, [ebp - 0x38] */ 39914 RECOMP_ICALL(MEM32(0x2B0B51A0)); /* 0x2B074D3B: call dword ptr [0x2b0b51a0] */ 39915 RECOMP_FLAGS_IN(); 39916 edx = ebp + (-0x20); /* 0x2B074D41: lea edx, [ebp - 0x20] */ 39917 PUSH32(esp, edx); /* 0x2B074D44: push edx */ 39918 eax = ebp + (-0x38); /* 0x2B074D45: lea eax, [ebp - 0x38] */ 39919 PUSH32(esp, eax); /* 0x2B074D48: push eax */ 39920 ecx = ebp + (-0x50); /* 0x2B074D49: lea ecx, [ebp - 0x50] */ 39921 RECOMP_ICALL(esi); /* 0x2B074D4C: call esi */ 39922 RECOMP_FLAGS_IN(); 39923 /* test LO8(eax), LO8(eax) */ /* 0x2B074D4E: test al, al */ 39924 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 39925 _cf = 0; 39926 _flag_k = FK_NARROW(FK_TEST, 24); 39927 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B074E1E; /* 0x2B074D50: jne 0x2b074e1e */ 39928 L_2B074D56: 39929 ecx = MEM32(ebp + 0x8); /* 0x2B074D56: mov ecx, dword ptr [ebp + 8] */ 39930 eax = MEM32(ecx + 0x4); /* 0x2B074D59: mov eax, dword ptr [ecx + 4] */ 39931 /* test eax, eax */ /* 0x2B074D5C: test eax, eax */ 39932 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 39933 _cf = 0; 39934 _flag_k = FK_TEST; 39935 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B074D65; /* 0x2B074D5E: jne 0x2b074d65 */ 39936 L_2B074D60: 39937 eax = MEM32(0x2B0B513C); /* 0x2B074D60: mov eax, dword ptr [0x2b0b513c] */ 39938 L_2B074D65: 39939 PUSH32(esp, eax); /* 0x2B074D65: push eax */ 39940 PUSH32(esp, 0x2B0EC16Cu); /* 0x2B074D66: push 0x2b0ec16c */ 39941 edx = ebp + (-0x118); /* 0x2B074D6B: lea edx, [ebp - 0x118] */ 39942 PUSH32(esp, 0xC8u); /* 0x2B074D71: push 0xc8 */ 39943 PUSH32(esp, edx); /* 0x2B074D76: push edx */ 39944 RECOMP_ICALL(0x2B012180u); /* 0x2B074D77: call 0x2b012180 */ /* not lifted */ 39945 RECOMP_FLAGS_IN(); 39946 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 39947 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 39948 esp = esp + 0x10u; /* 0x2B074D7C: add esp, 0x10 */ 39949 _flag_k = FK_ADD; 39950 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 39951 ecx = ecx | 0xFFFFFFFFu; /* 0x2B074D7F: or ecx, 0xffffffff */ 39952 _cf = 0; 39953 _flag_k = FK_TEST; 39954 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 39955 eax = 0; /* 0x2B074D82: xor eax, eax */ 39956 _cf = 0; 39957 _flag_k = FK_TEST; 39958 edi = ebp + (-0x118); /* 0x2B074D84: lea edi, [ebp - 0x118] */ 39959 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; } /* 0x2B074D8A: repne scasb al, byte ptr es:[edi] */ 39960 edi = MEM32(0x2B0B53CC); /* 0x2B074D8C: mov edi, dword ptr [0x2b0b53cc] */ 39961 ecx = ~ecx; /* 0x2B074D92: not ecx */ 39962 PUSH32(esp, ecx); /* 0x2B074D94: push ecx */ 39963 eax = ebp + (-0x118); /* 0x2B074D95: lea eax, [ebp - 0x118] */ 39964 PUSH32(esp, eax); /* 0x2B074D9B: push eax */ 39965 PUSH32(esp, 0x99u); /* 0x2B074D9C: push 0x99 */ 39966 PUSH32(esp, 3); /* 0x2B074DA1: push 3 */ 39967 RECOMP_ICALL(edi); /* 0x2B074DA3: call edi */ 39968 RECOMP_FLAGS_IN(); 39969 ecx = eax; /* 0x2B074DA5: mov ecx, eax */ 39970 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B074DA7: call dword ptr [0x2b0b53c4] */ 39971 RECOMP_FLAGS_IN(); 39972 PUSH32(esp, 0xCu); /* 0x2B074DAD: push 0xc */ 39973 RECOMP_ICALL(edi); /* 0x2B074DAF: call edi */ 39974 RECOMP_FLAGS_IN(); 39975 ecx = eax; /* 0x2B074DB1: mov ecx, eax */ 39976 RECOMP_ICALL(MEM32(0x2B0B53B0)); /* 0x2B074DB3: call dword ptr [0x2b0b53b0] */ 39977 RECOMP_FLAGS_IN(); 39978 ecx = MEM32(ebp + (-0x28)); /* 0x2B074DB9: mov ecx, dword ptr [ebp - 0x28] */ 39979 /* test ecx, ecx */ /* 0x2B074DBC: test ecx, ecx */ 39980 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 39981 _cf = 0; 39982 _flag_k = FK_TEST; 39983 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B074DBE: mov byte ptr [ebp - 4], 4 */ 39984 if (TEST_Z(_flag_a, _flag_b)) goto L_2B074DC9; /* 0x2B074DC2: je 0x2b074dc9 */ 39985 L_2B074DC4: 39986 RECOMP_ICALL(0x2B005B20u); /* 0x2B074DC4: call 0x2b005b20 */ /* not lifted */ 39987 RECOMP_FLAGS_IN(); 39988 L_2B074DC9: 39989 PUSH32(esp, 1); /* 0x2B074DC9: push 1 */ 39990 ecx = ebp + (-0x38); /* 0x2B074DCB: lea ecx, [ebp - 0x38] */ 39991 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B074DCE: mov byte ptr [ebp - 4], 2 */ 39992 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B074DD2: call dword ptr [0x2b0b514c] */ 39993 RECOMP_FLAGS_IN(); 39994 ecx = MEM32(ebp + (-0x40)); /* 0x2B074DD8: mov ecx, dword ptr [ebp - 0x40] */ 39995 /* test ecx, ecx */ /* 0x2B074DDB: test ecx, ecx */ 39996 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 39997 _cf = 0; 39998 _flag_k = FK_TEST; 39999 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B074DDD: mov byte ptr [ebp - 4], 5 */ 40000 if (TEST_Z(_flag_a, _flag_b)) goto L_2B074DE8; /* 0x2B074DE1: je 0x2b074de8 */ 40001 L_2B074DE3: 40002 RECOMP_ICALL(0x2B005B20u); /* 0x2B074DE3: call 0x2b005b20 */ /* not lifted */ 40003 RECOMP_FLAGS_IN(); 40004 L_2B074DE8: 40005 PUSH32(esp, 1); /* 0x2B074DE8: push 1 */ 40006 ecx = ebp + (-0x50); /* 0x2B074DEA: lea ecx, [ebp - 0x50] */ 40007 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B074DED: mov byte ptr [ebp - 4], 0 */ 40008 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B074DF1: call dword ptr [0x2b0b514c] */ 40009 RECOMP_FLAGS_IN(); 40010 PUSH32(esp, 1); /* 0x2B074DF7: push 1 */ 40011 ecx = ebp + (-0x1C); /* 0x2B074DF9: lea ecx, [ebp - 0x1c] */ 40012 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B074DFC: mov dword ptr [ebp - 4], 0xffffffff */ 40013 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B074E03: call dword ptr [0x2b0b514c] */ 40014 RECOMP_FLAGS_IN(); 40015 edi = POP32_VAL(esp); /* 0x2B074E09: pop edi */ 40016 esi = POP32_VAL(esp); /* 0x2B074E0A: pop esi */ 40017 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 40018 SET_LO8(eax, 0); /* 0x2B074E0B: xor al, al */ 40019 _cf = 0; 40020 _flag_k = FK_NARROW(FK_TEST, 24); 40021 ebx = POP32_VAL(esp); /* 0x2B074E0D: pop ebx */ 40022 ecx = MEM32(ebp + (-0xC)); /* 0x2B074E0E: mov ecx, dword ptr [ebp - 0xc] */ 40023 MEM32(FS_BASE + (0)) = ecx; /* 0x2B074E11: mov dword ptr fs:[0], ecx */ 40024 esp = ebp; /* 0x2B074E18: mov esp, ebp */ 40025 ebp = POP32_VAL(esp); /* 0x2B074E1A: pop ebp */ 40026 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B074E1B: ret 4 */ 40027 L_2B074E1E: 40028 eax = MEM32(ebp + (-0x28)); /* 0x2B074E1E: mov eax, dword ptr [ebp - 0x28] */ 40029 /* test eax, eax */ /* 0x2B074E21: test eax, eax */ 40030 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 40031 _cf = 0; 40032 _flag_k = FK_TEST; 40033 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B074E23: mov byte ptr [ebp - 4], 6 */ 40034 if (TEST_Z(_flag_a, _flag_b)) goto L_2B074E45; /* 0x2B074E27: je 0x2b074e45 */ 40035 L_2B074E29: 40036 esi = MEM32(eax + 0x2C); /* 0x2B074E29: mov esi, dword ptr [eax + 0x2c] */ 40037 ecx = eax; /* 0x2B074E2C: mov ecx, eax */ 40038 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 40039 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 40040 eax = eax + 0x2Cu; /* 0x2B074E2E: add eax, 0x2c */ 40041 _flag_k = FK_ADD; 40042 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 40043 esi = esi - 1; /* 0x2B074E31: dec esi */ 40044 _flag_k = FK_DEC; 40045 edx = esi; /* 0x2B074E32: mov edx, esi */ 40046 /* test edx, edx */ /* 0x2B074E34: test edx, edx */ 40047 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 40048 _cf = 0; 40049 _flag_k = FK_TEST; 40050 MEM32(eax) = esi; /* 0x2B074E36: mov dword ptr [eax], esi */ 40051 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B074E45; /* 0x2B074E38: jne 0x2b074e45 */ 40052 L_2B074E3A: 40053 /* test ecx, ecx */ /* 0x2B074E3A: test ecx, ecx */ 40054 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 40055 _cf = 0; 40056 _flag_k = FK_TEST; 40057 if (TEST_Z(_flag_a, _flag_b)) goto L_2B074E45; /* 0x2B074E3C: je 0x2b074e45 */ 40058 L_2B074E3E: 40059 PUSH32(esp, 1); /* 0x2B074E3E: push 1 */ 40060 RECOMP_ICALL(0x2B007900u); /* 0x2B074E40: call 0x2b007900 */ /* not lifted */ 40061 RECOMP_FLAGS_IN(); 40062 L_2B074E45: 40063 PUSH32(esp, 1); /* 0x2B074E45: push 1 */ 40064 ecx = ebp + (-0x38); /* 0x2B074E47: lea ecx, [ebp - 0x38] */ 40065 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B074E4A: mov byte ptr [ebp - 4], 2 */ 40066 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B074E4E: call dword ptr [0x2b0b514c] */ 40067 RECOMP_FLAGS_IN(); 40068 L_2B074E54: 40069 eax = MEM32(ebp + (-0x4C)); /* 0x2B074E54: mov eax, dword ptr [ebp - 0x4c] */ 40070 /* test eax, eax */ /* 0x2B074E57: test eax, eax */ 40071 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 40072 _cf = 0; 40073 _flag_k = FK_TEST; 40074 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B074E60; /* 0x2B074E59: jne 0x2b074e60 */ 40075 L_2B074E5B: 40076 eax = MEM32(0x2B0B513C); /* 0x2B074E5B: mov eax, dword ptr [0x2b0b513c] */ 40077 L_2B074E60: 40078 edx = MEM32(ebp + (-0x48)); /* 0x2B074E60: mov edx, dword ptr [ebp - 0x48] */ 40079 PUSH32(esp, 0); /* 0x2B074E63: push 0 */ 40080 PUSH32(esp, 0); /* 0x2B074E65: push 0 */ 40081 ecx = ebx + 0xE4; /* 0x2B074E67: lea ecx, [ebx + 0xe4] */ 40082 PUSH32(esp, ecx); /* 0x2B074E6D: push ecx */ 40083 ecx = MEM32(ebx + 0x28); /* 0x2B074E6E: mov ecx, dword ptr [ebx + 0x28] */ 40084 PUSH32(esp, edx); /* 0x2B074E71: push edx */ 40085 PUSH32(esp, eax); /* 0x2B074E72: push eax */ 40086 RECOMP_ICALL(MEM32(0x2B0B5788)); /* 0x2B074E73: call dword ptr [0x2b0b5788] */ 40087 RECOMP_FLAGS_IN(); 40088 eax = MEM32(0x2B0B515C); /* 0x2B074E79: mov eax, dword ptr [0x2b0b515c] */ 40089 ecx = MEM32(eax); /* 0x2B074E7E: mov ecx, dword ptr [eax] */ 40090 edx = MEM32(ebp + 0x8); /* 0x2B074E80: mov edx, dword ptr [ebp + 8] */ 40091 PUSH32(esp, ecx); /* 0x2B074E83: push ecx */ 40092 PUSH32(esp, 0); /* 0x2B074E84: push 0 */ 40093 PUSH32(esp, edx); /* 0x2B074E86: push edx */ 40094 ecx = ebx + 0x30; /* 0x2B074E87: lea ecx, [ebx + 0x30] */ 40095 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B074E8A: call dword ptr [0x2b0b5158] */ 40096 RECOMP_FLAGS_IN(); 40097 eax = MEM32(ebp + (-0x40)); /* 0x2B074E90: mov eax, dword ptr [ebp - 0x40] */ 40098 /* test eax, eax */ /* 0x2B074E93: test eax, eax */ 40099 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 40100 _cf = 0; 40101 _flag_k = FK_TEST; 40102 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B074E95: mov byte ptr [ebp - 4], 7 */ 40103 if (TEST_Z(_flag_a, _flag_b)) goto L_2B074EB7; /* 0x2B074E99: je 0x2b074eb7 */ 40104 L_2B074E9B: 40105 esi = MEM32(eax + 0x2C); /* 0x2B074E9B: mov esi, dword ptr [eax + 0x2c] */ 40106 ecx = eax; /* 0x2B074E9E: mov ecx, eax */ 40107 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 40108 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 40109 eax = eax + 0x2Cu; /* 0x2B074EA0: add eax, 0x2c */ 40110 _flag_k = FK_ADD; 40111 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 40112 esi = esi - 1; /* 0x2B074EA3: dec esi */ 40113 _flag_k = FK_DEC; 40114 edx = esi; /* 0x2B074EA4: mov edx, esi */ 40115 /* test edx, edx */ /* 0x2B074EA6: test edx, edx */ 40116 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 40117 _cf = 0; 40118 _flag_k = FK_TEST; 40119 MEM32(eax) = esi; /* 0x2B074EA8: mov dword ptr [eax], esi */ 40120 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B074EB7; /* 0x2B074EAA: jne 0x2b074eb7 */ 40121 L_2B074EAC: 40122 /* test ecx, ecx */ /* 0x2B074EAC: test ecx, ecx */ 40123 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 40124 _cf = 0; 40125 _flag_k = FK_TEST; 40126 if (TEST_Z(_flag_a, _flag_b)) goto L_2B074EB7; /* 0x2B074EAE: je 0x2b074eb7 */ 40127 L_2B074EB0: 40128 PUSH32(esp, 1); /* 0x2B074EB0: push 1 */ 40129 RECOMP_ICALL(0x2B007900u); /* 0x2B074EB2: call 0x2b007900 */ /* not lifted */ 40130 RECOMP_FLAGS_IN(); 40131 L_2B074EB7: 40132 PUSH32(esp, 1); /* 0x2B074EB7: push 1 */ 40133 ecx = ebp + (-0x50); /* 0x2B074EB9: lea ecx, [ebp - 0x50] */ 40134 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B074EBC: mov byte ptr [ebp - 4], 0 */ 40135 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B074EC0: call dword ptr [0x2b0b514c] */ 40136 RECOMP_FLAGS_IN(); 40137 ecx = MEM32(ebp + (-0x18)); /* 0x2B074EC6: mov ecx, dword ptr [ebp - 0x18] */ 40138 /* test ecx, ecx */ /* 0x2B074EC9: test ecx, ecx */ 40139 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 40140 _cf = 0; 40141 _flag_k = FK_TEST; 40142 if (TEST_Z(_flag_a, _flag_b)) goto L_2B074EE9; /* 0x2B074ECB: je 0x2b074ee9 */ 40143 L_2B074ECD: 40144 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B074ECD: mov al, byte ptr [ecx - 1] */ 40145 /* test LO8(eax), LO8(eax) */ /* 0x2B074ED0: test al, al */ 40146 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 40147 _cf = 0; 40148 _flag_k = FK_NARROW(FK_TEST, 24); 40149 if (TEST_Z(_flag_a, _flag_b)) goto L_2B074EDF; /* 0x2B074ED2: je 0x2b074edf */ 40150 L_2B074ED4: 40151 /* cmp LO8(eax), 0xFFu */ /* 0x2B074ED4: cmp al, 0xff */ 40152 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 40153 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40154 _flag_k = FK_NARROW(FK_CMP, 24); 40155 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B074EDF; /* 0x2B074ED6: je 0x2b074edf */ 40156 L_2B074ED8: 40157 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 40158 SET_LO8(eax, LO8(eax) - 1); /* 0x2B074ED8: dec al */ 40159 _flag_k = FK_NARROW(FK_DEC, 24); 40160 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B074EDA: mov byte ptr [ecx - 1], al */ 40161 goto L_2B074EE9; /* 0x2B074EDD: jmp 0x2b074ee9 */ 40162 L_2B074EDF: 40163 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 40164 ecx = ecx - 1; /* 0x2B074EDF: dec ecx */ 40165 _flag_k = FK_DEC; 40166 PUSH32(esp, ecx); /* 0x2B074EE0: push ecx */ 40167 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B074EE1: call 0x2b0ab1ba */ /* not lifted */ 40168 RECOMP_FLAGS_IN(); 40169 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 40170 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 40171 esp = esp + 4; /* 0x2B074EE6: add esp, 4 */ 40172 _flag_k = FK_ADD; 40173 L_2B074EE9: 40174 ecx = MEM32(ebp + (-0xC)); /* 0x2B074EE9: mov ecx, dword ptr [ebp - 0xc] */ 40175 edi = POP32_VAL(esp); /* 0x2B074EEC: pop edi */ 40176 esi = POP32_VAL(esp); /* 0x2B074EED: pop esi */ 40177 SET_LO8(eax, 1); /* 0x2B074EEE: mov al, 1 */ 40178 ebx = POP32_VAL(esp); /* 0x2B074EF0: pop ebx */ 40179 MEM32(FS_BASE + (0)) = ecx; /* 0x2B074EF1: mov dword ptr fs:[0], ecx */ 40180 esp = ebp; /* 0x2B074EF8: mov esp, ebp */ 40181 ebp = POP32_VAL(esp); /* 0x2B074EFA: pop ebp */ 40182 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B074EFB: ret 4 */ 40183 RECOMP_REGS_OUT(); 40184 } 40185 40186 void sub_2B074F00(void) { 40187 int _fpu_cmp = 0; 40188 uint32_t _cf = 0; 40189 int _df = 1; 40190 uint32_t _flag_k = FK_NONE; 40191 uint32_t _flag_a = 0, _flag_b = 0; 40192 uint32_t _itail_tgt = 0; 40193 RECOMP_REGS_LOCALS 40194 RECOMP_ENTER(0x2B074F00u); 40195 40196 L_2B074F00: 40197 PUSH32(esp, ebp); /* 0x2B074F00: push ebp */ 40198 ebp = esp; /* 0x2B074F01: mov ebp, esp */ 40199 PUSH32(esp, ebx); /* 0x2B074F03: push ebx */ 40200 ebx = MEM32(ebp + 0x8); /* 0x2B074F04: mov ebx, dword ptr [ebp + 8] */ 40201 PUSH32(esp, esi); /* 0x2B074F07: push esi */ 40202 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 40203 esi = 0; /* 0x2B074F08: xor esi, esi */ 40204 _cf = 0; 40205 _flag_k = FK_TEST; 40206 /* cmp ebx, 0xF9Fu */ /* 0x2B074F0A: cmp ebx, 0xf9f */ 40207 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0xF9Fu); 40208 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40209 _flag_k = FK_CMP; 40210 PUSH32(esp, edi); /* 0x2B074F10: push edi */ 40211 if (CMP_LE(_flag_a, _flag_b)) goto L_2B074F1A; /* 0x2B074F11: jle 0x2b074f1a */ 40212 L_2B074F13: 40213 edi = POP32_VAL(esp); /* 0x2B074F13: pop edi */ 40214 esi = POP32_VAL(esp); /* 0x2B074F14: pop esi */ 40215 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 40216 eax = 0; /* 0x2B074F15: xor eax, eax */ 40217 _cf = 0; 40218 _flag_k = FK_TEST; 40219 ebx = POP32_VAL(esp); /* 0x2B074F17: pop ebx */ 40220 ebp = POP32_VAL(esp); /* 0x2B074F18: pop ebp */ 40221 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B074F19: ret */ 40222 L_2B074F1A: 40223 edi = 0x2B0EB4F8u; /* 0x2B074F1A: mov edi, 0x2b0eb4f8 */ 40224 L_2B074F1F: 40225 /* cmp ebx, MEM32(edi) */ /* 0x2B074F1F: cmp ebx, dword ptr [edi] */ 40226 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edi)); 40227 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40228 _flag_k = FK_CMP; 40229 if (CMP_L(_flag_a, _flag_b)) goto L_2B074F4D; /* 0x2B074F21: jl 0x2b074f4d */ 40230 L_2B074F23: 40231 eax = MEM32(edi + 0x4); /* 0x2B074F23: mov eax, dword ptr [edi + 4] */ 40232 ecx = MEM32(ebp + 0xC); /* 0x2B074F26: mov ecx, dword ptr [ebp + 0xc] */ 40233 PUSH32(esp, eax); /* 0x2B074F29: push eax */ 40234 edx = esi + ecx; /* 0x2B074F2A: lea edx, [esi + ecx] */ 40235 PUSH32(esp, 0x2B0E2C48u); /* 0x2B074F2D: push 0x2b0e2c48 */ 40236 PUSH32(esp, edx); /* 0x2B074F32: push edx */ 40237 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B074F33: call dword ptr [0x2b0b51f0] */ 40238 RECOMP_FLAGS_IN(); 40239 ecx = MEM32(ebp + 0x10); /* 0x2B074F39: mov ecx, dword ptr [ebp + 0x10] */ 40240 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 40241 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 40242 esi = esi + eax; /* 0x2B074F3C: add esi, eax */ 40243 _flag_k = FK_ADD; 40244 eax = MEM32(edi); /* 0x2B074F3E: mov eax, dword ptr [edi] */ 40245 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 40246 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 40247 esp = esp + 0xCu; /* 0x2B074F40: add esp, 0xc */ 40248 _flag_k = FK_ADD; 40249 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 40250 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40251 ebx = ebx - eax; /* 0x2B074F43: sub ebx, eax */ 40252 _flag_k = FK_CMP; 40253 /* cmp esi, ecx */ /* 0x2B074F45: cmp esi, ecx */ 40254 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 40255 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40256 _flag_k = FK_CMP; 40257 RECOMP_BACKEDGE(); 40258 if (CMP_AE(_flag_a, _flag_b)) goto L_2B074F13; /* 0x2B074F47: jae 0x2b074f13 */ 40259 L_2B074F49: 40260 /* cmp ebx, eax */ /* 0x2B074F49: cmp ebx, eax */ 40261 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 40262 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40263 _flag_k = FK_CMP; 40264 RECOMP_BACKEDGE(); 40265 if (CMP_GE(_flag_a, _flag_b)) goto L_2B074F23; /* 0x2B074F4B: jge 0x2b074f23 */ 40266 L_2B074F4D: 40267 /* cmp ebx, MEM32(edi + 0x8) */ /* 0x2B074F4D: cmp ebx, dword ptr [edi + 8] */ 40268 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 40269 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40270 _flag_k = FK_CMP; 40271 if (CMP_L(_flag_a, _flag_b)) goto L_2B074F79; /* 0x2B074F50: jl 0x2b074f79 */ 40272 L_2B074F52: 40273 eax = MEM32(edi + 0xC); /* 0x2B074F52: mov eax, dword ptr [edi + 0xc] */ 40274 ecx = MEM32(ebp + 0xC); /* 0x2B074F55: mov ecx, dword ptr [ebp + 0xc] */ 40275 PUSH32(esp, eax); /* 0x2B074F58: push eax */ 40276 edx = esi + ecx; /* 0x2B074F59: lea edx, [esi + ecx] */ 40277 PUSH32(esp, 0x2B0E2C48u); /* 0x2B074F5C: push 0x2b0e2c48 */ 40278 PUSH32(esp, edx); /* 0x2B074F61: push edx */ 40279 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B074F62: call dword ptr [0x2b0b51f0] */ 40280 RECOMP_FLAGS_IN(); 40281 ecx = MEM32(edi + 0x8); /* 0x2B074F68: mov ecx, dword ptr [edi + 8] */ 40282 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 40283 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 40284 esi = esi + eax; /* 0x2B074F6B: add esi, eax */ 40285 _flag_k = FK_ADD; 40286 eax = MEM32(ebp + 0x10); /* 0x2B074F6D: mov eax, dword ptr [ebp + 0x10] */ 40287 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 40288 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 40289 esp = esp + 0xCu; /* 0x2B074F70: add esp, 0xc */ 40290 _flag_k = FK_ADD; 40291 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 40292 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40293 ebx = ebx - ecx; /* 0x2B074F73: sub ebx, ecx */ 40294 _flag_k = FK_CMP; 40295 /* cmp esi, eax */ /* 0x2B074F75: cmp esi, eax */ 40296 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 40297 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40298 _flag_k = FK_CMP; 40299 RECOMP_BACKEDGE(); 40300 if (CMP_AE(_flag_a, _flag_b)) goto L_2B074F13; /* 0x2B074F77: jae 0x2b074f13 */ 40301 L_2B074F79: 40302 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 40303 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 40304 edi = edi + 0x10u; /* 0x2B074F79: add edi, 0x10 */ 40305 _flag_k = FK_ADD; 40306 /* test ebx, ebx */ /* 0x2B074F7C: test ebx, ebx */ 40307 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 40308 _cf = 0; 40309 _flag_k = FK_TEST; 40310 RECOMP_BACKEDGE(); 40311 if (TEST_G(_flag_a, _flag_b)) goto L_2B074F1F; /* 0x2B074F7E: jg 0x2b074f1f */ 40312 L_2B074F80: 40313 eax = MEM32(ebp + 0xC); /* 0x2B074F80: mov eax, dword ptr [ebp + 0xc] */ 40314 edi = POP32_VAL(esp); /* 0x2B074F83: pop edi */ 40315 esi = POP32_VAL(esp); /* 0x2B074F84: pop esi */ 40316 ebx = POP32_VAL(esp); /* 0x2B074F85: pop ebx */ 40317 ebp = POP32_VAL(esp); /* 0x2B074F86: pop ebp */ 40318 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B074F87: ret */ 40319 RECOMP_REGS_OUT(); 40320 } 40321 40322 void sub_2B074F90(void) { 40323 int _fpu_cmp = 0; 40324 uint32_t _cf = 0; 40325 int _df = 1; 40326 uint32_t _flag_k = FK_NONE; 40327 uint32_t _flag_a = 0, _flag_b = 0; 40328 uint32_t _itail_tgt = 0; 40329 RECOMP_REGS_LOCALS 40330 RECOMP_ENTER(0x2B074F90u); 40331 40332 L_2B074F90: 40333 PUSH32(esp, ebp); /* 0x2B074F90: push ebp */ 40334 ebp = esp; /* 0x2B074F91: mov ebp, esp */ 40335 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 40336 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40337 esp = esp - 8; /* 0x2B074F93: sub esp, 8 */ 40338 _flag_k = FK_CMP; 40339 PUSH32(esp, ebx); /* 0x2B074F96: push ebx */ 40340 PUSH32(esp, esi); /* 0x2B074F97: push esi */ 40341 esi = ecx; /* 0x2B074F98: mov esi, ecx */ 40342 ecx = MEM32(esi + 0x10); /* 0x2B074F9A: mov ecx, dword ptr [esi + 0x10] */ 40343 /* test ecx, ecx */ /* 0x2B074F9D: test ecx, ecx */ 40344 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 40345 _cf = 0; 40346 _flag_k = FK_TEST; 40347 PUSH32(esp, edi); /* 0x2B074F9F: push edi */ 40348 edi = MEM32(esi + 0x4); /* 0x2B074FA0: mov edi, dword ptr [esi + 4] */ 40349 eax = MEM32(edi); /* 0x2B074FA3: mov eax, dword ptr [edi] */ 40350 MEM32(ebp + (-0x4)) = eax; /* 0x2B074FA5: mov dword ptr [ebp - 4], eax */ 40351 if (TEST_Z(_flag_a, _flag_b)) goto L_2B074FFA; /* 0x2B074FA8: je 0x2b074ffa */ 40352 L_2B074FAA: 40353 ecx = eax; /* 0x2B074FAA: mov ecx, eax */ 40354 /* cmp eax, ecx */ /* 0x2B074FAC: cmp eax, ecx */ 40355 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 40356 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40357 _flag_k = FK_CMP; 40358 if (CMP_NE(_flag_a, _flag_b)) goto L_2B074FFA; /* 0x2B074FAE: jne 0x2b074ffa */ 40359 L_2B074FB0: 40360 /* cmp edi, edi */ /* 0x2B074FB0: cmp edi, edi */ 40361 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 40362 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40363 _flag_k = FK_CMP; 40364 if (CMP_NE(_flag_a, _flag_b)) goto L_2B074FFA; /* 0x2B074FB2: jne 0x2b074ffa */ 40365 L_2B074FB4: 40366 ebx = MEM32(edi + 0x4); /* 0x2B074FB4: mov ebx, dword ptr [edi + 4] */ 40367 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B074FB7: cmp ebx, dword ptr [esi + 8] */ 40368 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 40369 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40370 _flag_k = FK_CMP; 40371 edi = ebx; /* 0x2B074FBA: mov edi, ebx */ 40372 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B074FDD; /* 0x2B074FBC: je 0x2b074fdd */ 40373 L_2B074FBE: 40374 eax = MEM32(edi + 0x8); /* 0x2B074FBE: mov eax, dword ptr [edi + 8] */ 40375 PUSH32(esp, eax); /* 0x2B074FC1: push eax */ 40376 ecx = esi; /* 0x2B074FC2: mov ecx, esi */ 40377 RECOMP_ICALL(0x2B06D8B0u); /* 0x2B074FC4: call 0x2b06d8b0 */ /* not lifted */ 40378 RECOMP_FLAGS_IN(); 40379 edi = MEM32(edi); /* 0x2B074FC9: mov edi, dword ptr [edi] */ 40380 PUSH32(esp, ebx); /* 0x2B074FCB: push ebx */ 40381 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B074FCC: call 0x2b0ab1ba */ /* not lifted */ 40382 RECOMP_FLAGS_IN(); 40383 eax = MEM32(esi + 0x8); /* 0x2B074FD1: mov eax, dword ptr [esi + 8] */ 40384 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 40385 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 40386 esp = esp + 4; /* 0x2B074FD4: add esp, 4 */ 40387 _flag_k = FK_ADD; 40388 /* cmp edi, eax */ /* 0x2B074FD7: cmp edi, eax */ 40389 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 40390 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40391 _flag_k = FK_CMP; 40392 ebx = edi; /* 0x2B074FD9: mov ebx, edi */ 40393 RECOMP_BACKEDGE(); 40394 if (CMP_NE(_flag_a, _flag_b)) goto L_2B074FBE; /* 0x2B074FDB: jne 0x2b074fbe */ 40395 L_2B074FDD: 40396 ecx = MEM32(esi + 0x4); /* 0x2B074FDD: mov ecx, dword ptr [esi + 4] */ 40397 edx = MEM32(esi + 0x8); /* 0x2B074FE0: mov edx, dword ptr [esi + 8] */ 40398 MEM32(ecx + 0x4) = edx; /* 0x2B074FE3: mov dword ptr [ecx + 4], edx */ 40399 eax = MEM32(esi + 0x4); /* 0x2B074FE6: mov eax, dword ptr [esi + 4] */ 40400 MEM32(esi + 0x10) = 0; /* 0x2B074FE9: mov dword ptr [esi + 0x10], 0 */ 40401 MEM32(eax) = eax; /* 0x2B074FF0: mov dword ptr [eax], eax */ 40402 eax = MEM32(esi + 0x4); /* 0x2B074FF2: mov eax, dword ptr [esi + 4] */ 40403 MEM32(eax + 0x8) = eax; /* 0x2B074FF5: mov dword ptr [eax + 8], eax */ 40404 goto L_2B07501B; /* 0x2B074FF8: jmp 0x2b07501b */ 40405 L_2B074FFA: 40406 /* cmp eax, edi */ /* 0x2B074FFA: cmp eax, edi */ 40407 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 40408 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40409 _flag_k = FK_CMP; 40410 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07501B; /* 0x2B074FFC: je 0x2b07501b */ 40411 L_2B074FFE: 40412 ecx = ebp + (-0x4); /* 0x2B074FFE: lea ecx, [ebp - 4] */ 40413 ebx = eax; /* 0x2B075001: mov ebx, eax */ 40414 RECOMP_ICALL(0x2B06A300u); /* 0x2B075003: call 0x2b06a300 */ /* not lifted */ 40415 RECOMP_FLAGS_IN(); 40416 PUSH32(esp, ebx); /* 0x2B075008: push ebx */ 40417 eax = ebp + (-0x8); /* 0x2B075009: lea eax, [ebp - 8] */ 40418 PUSH32(esp, eax); /* 0x2B07500C: push eax */ 40419 ecx = esi; /* 0x2B07500D: mov ecx, esi */ 40420 RECOMP_ICALL(0x2B06D4F0u); /* 0x2B07500F: call 0x2b06d4f0 */ /* not lifted */ 40421 RECOMP_FLAGS_IN(); 40422 eax = MEM32(ebp + (-0x4)); /* 0x2B075014: mov eax, dword ptr [ebp - 4] */ 40423 /* cmp eax, edi */ /* 0x2B075017: cmp eax, edi */ 40424 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 40425 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40426 _flag_k = FK_CMP; 40427 RECOMP_BACKEDGE(); 40428 if (CMP_NE(_flag_a, _flag_b)) goto L_2B074FFE; /* 0x2B075019: jne 0x2b074ffe */ 40429 L_2B07501B: 40430 ecx = MEM32(esi + 0x4); /* 0x2B07501B: mov ecx, dword ptr [esi + 4] */ 40431 PUSH32(esp, ecx); /* 0x2B07501E: push ecx */ 40432 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07501F: call 0x2b0ab1ba */ /* not lifted */ 40433 RECOMP_FLAGS_IN(); 40434 edx = MEM32(esi + 0x8); /* 0x2B075024: mov edx, dword ptr [esi + 8] */ 40435 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 40436 edi = 0; /* 0x2B075027: xor edi, edi */ 40437 _cf = 0; 40438 _flag_k = FK_TEST; 40439 PUSH32(esp, edx); /* 0x2B075029: push edx */ 40440 MEM32(esi + 0x4) = edi; /* 0x2B07502A: mov dword ptr [esi + 4], edi */ 40441 MEM32(esi + 0x10) = edi; /* 0x2B07502D: mov dword ptr [esi + 0x10], edi */ 40442 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B075030: call 0x2b0ab1ba */ /* not lifted */ 40443 RECOMP_FLAGS_IN(); 40444 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 40445 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 40446 esp = esp + 8; /* 0x2B075035: add esp, 8 */ 40447 _flag_k = FK_ADD; 40448 MEM32(esi + 0x8) = edi; /* 0x2B075038: mov dword ptr [esi + 8], edi */ 40449 edi = POP32_VAL(esp); /* 0x2B07503B: pop edi */ 40450 esi = POP32_VAL(esp); /* 0x2B07503C: pop esi */ 40451 ebx = POP32_VAL(esp); /* 0x2B07503D: pop ebx */ 40452 esp = ebp; /* 0x2B07503E: mov esp, ebp */ 40453 ebp = POP32_VAL(esp); /* 0x2B075040: pop ebp */ 40454 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B075041: ret */ 40455 RECOMP_REGS_OUT(); 40456 } 40457 40458 void sub_2B075050(void) { 40459 int _fpu_cmp = 0; 40460 uint32_t _cf = 0; 40461 int _df = 1; 40462 uint32_t _flag_k = FK_NONE; 40463 uint32_t _flag_a = 0, _flag_b = 0; 40464 uint32_t _itail_tgt = 0; 40465 RECOMP_REGS_LOCALS 40466 RECOMP_ENTER(0x2B075050u); 40467 40468 L_2B075050: 40469 PUSH32(esp, ebp); /* 0x2B075050: push ebp */ 40470 ebp = esp; /* 0x2B075051: mov ebp, esp */ 40471 PUSH32(esp, ebx); /* 0x2B075053: push ebx */ 40472 ebx = MEM32(ebp + 0x10); /* 0x2B075054: mov ebx, dword ptr [ebp + 0x10] */ 40473 PUSH32(esp, esi); /* 0x2B075057: push esi */ 40474 esi = ecx; /* 0x2B075058: mov esi, ecx */ 40475 eax = MEM32(esi + 0x10); /* 0x2B07505A: mov eax, dword ptr [esi + 0x10] */ 40476 /* test eax, eax */ /* 0x2B07505D: test eax, eax */ 40477 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 40478 _cf = 0; 40479 _flag_k = FK_TEST; 40480 ecx = MEM32(ebp + 0xC); /* 0x2B07505F: mov ecx, dword ptr [ebp + 0xc] */ 40481 PUSH32(esp, edi); /* 0x2B075062: push edi */ 40482 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0750C5; /* 0x2B075063: je 0x2b0750c5 */ 40483 L_2B075065: 40484 eax = MEM32(esi + 0x4); /* 0x2B075065: mov eax, dword ptr [esi + 4] */ 40485 /* cmp ecx, MEM32(eax) */ /* 0x2B075068: cmp ecx, dword ptr [eax] */ 40486 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 40487 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40488 _flag_k = FK_CMP; 40489 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0750C5; /* 0x2B07506A: jne 0x2b0750c5 */ 40490 L_2B07506C: 40491 /* cmp ebx, eax */ /* 0x2B07506C: cmp ebx, eax */ 40492 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 40493 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40494 _flag_k = FK_CMP; 40495 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0750C5; /* 0x2B07506E: jne 0x2b0750c5 */ 40496 L_2B075070: 40497 ebx = MEM32(eax + 0x4); /* 0x2B075070: mov ebx, dword ptr [eax + 4] */ 40498 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B075073: cmp ebx, dword ptr [esi + 8] */ 40499 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 40500 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40501 _flag_k = FK_CMP; 40502 edi = ebx; /* 0x2B075076: mov edi, ebx */ 40503 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075099; /* 0x2B075078: je 0x2b075099 */ 40504 L_2B07507A: 40505 eax = MEM32(edi + 0x8); /* 0x2B07507A: mov eax, dword ptr [edi + 8] */ 40506 PUSH32(esp, eax); /* 0x2B07507D: push eax */ 40507 ecx = esi; /* 0x2B07507E: mov ecx, esi */ 40508 RECOMP_ICALL(0x2B06D8B0u); /* 0x2B075080: call 0x2b06d8b0 */ /* not lifted */ 40509 RECOMP_FLAGS_IN(); 40510 edi = MEM32(edi); /* 0x2B075085: mov edi, dword ptr [edi] */ 40511 PUSH32(esp, ebx); /* 0x2B075087: push ebx */ 40512 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B075088: call 0x2b0ab1ba */ /* not lifted */ 40513 RECOMP_FLAGS_IN(); 40514 eax = MEM32(esi + 0x8); /* 0x2B07508D: mov eax, dword ptr [esi + 8] */ 40515 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 40516 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 40517 esp = esp + 4; /* 0x2B075090: add esp, 4 */ 40518 _flag_k = FK_ADD; 40519 /* cmp edi, eax */ /* 0x2B075093: cmp edi, eax */ 40520 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 40521 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40522 _flag_k = FK_CMP; 40523 ebx = edi; /* 0x2B075095: mov ebx, edi */ 40524 RECOMP_BACKEDGE(); 40525 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07507A; /* 0x2B075097: jne 0x2b07507a */ 40526 L_2B075099: 40527 ecx = MEM32(esi + 0x4); /* 0x2B075099: mov ecx, dword ptr [esi + 4] */ 40528 edx = MEM32(esi + 0x8); /* 0x2B07509C: mov edx, dword ptr [esi + 8] */ 40529 MEM32(ecx + 0x4) = edx; /* 0x2B07509F: mov dword ptr [ecx + 4], edx */ 40530 eax = MEM32(esi + 0x4); /* 0x2B0750A2: mov eax, dword ptr [esi + 4] */ 40531 MEM32(esi + 0x10) = 0; /* 0x2B0750A5: mov dword ptr [esi + 0x10], 0 */ 40532 MEM32(eax) = eax; /* 0x2B0750AC: mov dword ptr [eax], eax */ 40533 eax = MEM32(esi + 0x4); /* 0x2B0750AE: mov eax, dword ptr [esi + 4] */ 40534 MEM32(eax + 0x8) = eax; /* 0x2B0750B1: mov dword ptr [eax + 8], eax */ 40535 eax = MEM32(esi + 0x4); /* 0x2B0750B4: mov eax, dword ptr [esi + 4] */ 40536 ecx = MEM32(eax); /* 0x2B0750B7: mov ecx, dword ptr [eax] */ 40537 eax = MEM32(ebp + 0x8); /* 0x2B0750B9: mov eax, dword ptr [ebp + 8] */ 40538 edi = POP32_VAL(esp); /* 0x2B0750BC: pop edi */ 40539 esi = POP32_VAL(esp); /* 0x2B0750BD: pop esi */ 40540 MEM32(eax) = ecx; /* 0x2B0750BE: mov dword ptr [eax], ecx */ 40541 ebx = POP32_VAL(esp); /* 0x2B0750C0: pop ebx */ 40542 ebp = POP32_VAL(esp); /* 0x2B0750C1: pop ebp */ 40543 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B0750C2: ret 0xc */ 40544 L_2B0750C5: 40545 /* cmp ecx, ebx */ /* 0x2B0750C5: cmp ecx, ebx */ 40546 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 40547 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40548 _flag_k = FK_CMP; 40549 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0750E6; /* 0x2B0750C7: je 0x2b0750e6 */ 40550 L_2B0750C9: 40551 edi = ecx; /* 0x2B0750C9: mov edi, ecx */ 40552 ecx = ebp + 0xC; /* 0x2B0750CB: lea ecx, [ebp + 0xc] */ 40553 RECOMP_ICALL(0x2B06A300u); /* 0x2B0750CE: call 0x2b06a300 */ /* not lifted */ 40554 RECOMP_FLAGS_IN(); 40555 PUSH32(esp, edi); /* 0x2B0750D3: push edi */ 40556 ecx = ebp + 0x10; /* 0x2B0750D4: lea ecx, [ebp + 0x10] */ 40557 PUSH32(esp, ecx); /* 0x2B0750D7: push ecx */ 40558 ecx = esi; /* 0x2B0750D8: mov ecx, esi */ 40559 RECOMP_ICALL(0x2B06D4F0u); /* 0x2B0750DA: call 0x2b06d4f0 */ /* not lifted */ 40560 RECOMP_FLAGS_IN(); 40561 ecx = MEM32(ebp + 0xC); /* 0x2B0750DF: mov ecx, dword ptr [ebp + 0xc] */ 40562 /* cmp ecx, ebx */ /* 0x2B0750E2: cmp ecx, ebx */ 40563 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 40564 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40565 _flag_k = FK_CMP; 40566 RECOMP_BACKEDGE(); 40567 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0750C9; /* 0x2B0750E4: jne 0x2b0750c9 */ 40568 L_2B0750E6: 40569 eax = MEM32(ebp + 0x8); /* 0x2B0750E6: mov eax, dword ptr [ebp + 8] */ 40570 edi = POP32_VAL(esp); /* 0x2B0750E9: pop edi */ 40571 esi = POP32_VAL(esp); /* 0x2B0750EA: pop esi */ 40572 MEM32(eax) = ecx; /* 0x2B0750EB: mov dword ptr [eax], ecx */ 40573 ebx = POP32_VAL(esp); /* 0x2B0750ED: pop ebx */ 40574 ebp = POP32_VAL(esp); /* 0x2B0750EE: pop ebp */ 40575 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B0750EF: ret 0xc */ 40576 RECOMP_REGS_OUT(); 40577 } 40578 40579 void sub_2B075100(void) { 40580 int _fpu_cmp = 0; 40581 uint32_t _cf = 0; 40582 int _df = 1; 40583 uint32_t _flag_k = FK_NONE; 40584 uint32_t _flag_a = 0, _flag_b = 0; 40585 uint32_t _itail_tgt = 0; 40586 RECOMP_REGS_LOCALS 40587 RECOMP_ENTER(0x2B075100u); 40588 40589 L_2B075100: 40590 PUSH32(esp, ebp); /* 0x2B075100: push ebp */ 40591 ebp = esp; /* 0x2B075101: mov ebp, esp */ 40592 PUSH32(esp, esi); /* 0x2B075103: push esi */ 40593 esi = ecx; /* 0x2B075104: mov esi, ecx */ 40594 RECOMP_ICALL(0x2B075130u); /* 0x2B075106: call 0x2b075130 */ /* not lifted */ 40595 RECOMP_FLAGS_IN(); 40596 /* test MEM8(ebp + 0x8), 1 */ /* 0x2B07510B: test byte ptr [ebp + 8], 1 */ 40597 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 40598 _cf = 0; 40599 _flag_k = FK_NARROW(FK_TEST, 24); 40600 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07511A; /* 0x2B07510F: je 0x2b07511a */ 40601 L_2B075111: 40602 PUSH32(esp, esi); /* 0x2B075111: push esi */ 40603 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B075112: call 0x2b0ab1ba */ /* not lifted */ 40604 RECOMP_FLAGS_IN(); 40605 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 40606 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 40607 esp = esp + 4; /* 0x2B075117: add esp, 4 */ 40608 _flag_k = FK_ADD; 40609 L_2B07511A: 40610 eax = esi; /* 0x2B07511A: mov eax, esi */ 40611 esi = POP32_VAL(esp); /* 0x2B07511C: pop esi */ 40612 ebp = POP32_VAL(esp); /* 0x2B07511D: pop ebp */ 40613 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07511E: ret 4 */ 40614 RECOMP_REGS_OUT(); 40615 } 40616 40617 void sub_2B075130(void) { 40618 int _fpu_cmp = 0; 40619 uint32_t _cf = 0; 40620 int _df = 1; 40621 uint32_t _flag_k = FK_NONE; 40622 uint32_t _flag_a = 0, _flag_b = 0; 40623 uint32_t _itail_tgt = 0; 40624 RECOMP_REGS_LOCALS 40625 RECOMP_ENTER(0x2B075130u); 40626 40627 L_2B075130: 40628 PUSH32(esp, esi); /* 0x2B075130: push esi */ 40629 esi = ecx; /* 0x2B075131: mov esi, ecx */ 40630 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 40631 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 40632 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 40633 _cf = 0; 40634 _flag_k = FK_TEST; 40635 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 40636 L_2B07513A: 40637 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 40638 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 40639 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 40640 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 40641 _cf = 0; 40642 _flag_k = FK_NARROW(FK_TEST, 24); 40643 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 40644 L_2B075143: 40645 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 40646 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 40647 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40648 _flag_k = FK_NARROW(FK_CMP, 24); 40649 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 40650 L_2B075147: 40651 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 40652 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 40653 _flag_k = FK_NARROW(FK_DEC, 24); 40654 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 40655 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 40656 L_2B07514D: 40657 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 40658 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 40659 RECOMP_FLAGS_IN(); 40660 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 40661 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 40662 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 40663 _flag_k = FK_ADD; 40664 L_2B075156: 40665 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 40666 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 40667 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 40668 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 40669 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 40670 RECOMP_REGS_OUT(); 40671 } 40672 40673 void sub_2B075156(void) { 40674 int _fpu_cmp = 0; 40675 uint32_t _cf = 0; 40676 int _df = 1; 40677 uint32_t _flag_k = FK_NONE; 40678 uint32_t _flag_a = 0, _flag_b = 0; 40679 uint32_t _itail_tgt = 0; 40680 RECOMP_REGS_LOCALS 40681 RECOMP_ENTER(0x2B075156u); 40682 40683 L_2B075156: 40684 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 40685 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 40686 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 40687 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 40688 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 40689 RECOMP_REGS_OUT(); 40690 } 40691 40692 void sub_2B075170(void) { 40693 int _fpu_cmp = 0; 40694 uint32_t _cf = 0; 40695 int _df = 1; 40696 uint32_t _flag_k = FK_NONE; 40697 uint32_t _flag_a = 0, _flag_b = 0; 40698 uint32_t _itail_tgt = 0; 40699 RECOMP_REGS_LOCALS 40700 RECOMP_ENTER(0x2B075170u); 40701 40702 L_2B075170: 40703 PUSH32(esp, ebx); /* 0x2B075170: push ebx */ 40704 PUSH32(esp, esi); /* 0x2B075171: push esi */ 40705 esi = MEM32(0x2B0B53CC); /* 0x2B075172: mov esi, dword ptr [0x2b0b53cc] */ 40706 PUSH32(esp, edi); /* 0x2B075178: push edi */ 40707 ebx = ecx; /* 0x2B075179: mov ebx, ecx */ 40708 RECOMP_ICALL(esi); /* 0x2B07517B: call esi */ 40709 RECOMP_FLAGS_IN(); 40710 ecx = eax; /* 0x2B07517D: mov ecx, eax */ 40711 RECOMP_ICALL(MEM32(0x2B0B5374)); /* 0x2B07517F: call dword ptr [0x2b0b5374] */ 40712 RECOMP_FLAGS_IN(); 40713 PUSH32(esp, 0x7D0u); /* 0x2B075185: push 0x7d0 */ 40714 PUSH32(esp, 0x14u); /* 0x2B07518A: push 0x14 */ 40715 PUSH32(esp, 1); /* 0x2B07518C: push 1 */ 40716 RECOMP_ICALL(esi); /* 0x2B07518E: call esi */ 40717 RECOMP_FLAGS_IN(); 40718 ecx = eax; /* 0x2B075190: mov ecx, eax */ 40719 RECOMP_ICALL(MEM32(0x2B0B5378)); /* 0x2B075192: call dword ptr [0x2b0b5378] */ 40720 RECOMP_FLAGS_IN(); 40721 PUSH32(esp, 0x2B075310u); /* 0x2B075198: push 0x2b075310 */ 40722 RECOMP_ICALL(esi); /* 0x2B07519D: call esi */ 40723 RECOMP_FLAGS_IN(); 40724 ecx = eax; /* 0x2B07519F: mov ecx, eax */ 40725 RECOMP_ICALL(MEM32(0x2B0B537C)); /* 0x2B0751A1: call dword ptr [0x2b0b537c] */ 40726 RECOMP_FLAGS_IN(); 40727 PUSH32(esp, 0x2B0753B0u); /* 0x2B0751A7: push 0x2b0753b0 */ 40728 PUSH32(esp, 5); /* 0x2B0751AC: push 5 */ 40729 RECOMP_ICALL(esi); /* 0x2B0751AE: call esi */ 40730 RECOMP_FLAGS_IN(); 40731 edi = MEM32(0x2B0B5324); /* 0x2B0751B0: mov edi, dword ptr [0x2b0b5324] */ 40732 ecx = eax; /* 0x2B0751B6: mov ecx, eax */ 40733 RECOMP_ICALL(edi); /* 0x2B0751B8: call edi */ 40734 RECOMP_FLAGS_IN(); 40735 PUSH32(esp, 0x2B0753C0u); /* 0x2B0751BA: push 0x2b0753c0 */ 40736 PUSH32(esp, 6); /* 0x2B0751BF: push 6 */ 40737 RECOMP_ICALL(esi); /* 0x2B0751C1: call esi */ 40738 RECOMP_FLAGS_IN(); 40739 ecx = eax; /* 0x2B0751C3: mov ecx, eax */ 40740 RECOMP_ICALL(edi); /* 0x2B0751C5: call edi */ 40741 RECOMP_FLAGS_IN(); 40742 PUSH32(esp, 0x2B0754B0u); /* 0x2B0751C7: push 0x2b0754b0 */ 40743 PUSH32(esp, 0xB3u); /* 0x2B0751CC: push 0xb3 */ 40744 RECOMP_ICALL(esi); /* 0x2B0751D1: call esi */ 40745 RECOMP_FLAGS_IN(); 40746 ecx = eax; /* 0x2B0751D3: mov ecx, eax */ 40747 RECOMP_ICALL(edi); /* 0x2B0751D5: call edi */ 40748 RECOMP_FLAGS_IN(); 40749 PUSH32(esp, 0x2B075500u); /* 0x2B0751D7: push 0x2b075500 */ 40750 PUSH32(esp, 0xB4u); /* 0x2B0751DC: push 0xb4 */ 40751 RECOMP_ICALL(esi); /* 0x2B0751E1: call esi */ 40752 RECOMP_FLAGS_IN(); 40753 ecx = eax; /* 0x2B0751E3: mov ecx, eax */ 40754 RECOMP_ICALL(edi); /* 0x2B0751E5: call edi */ 40755 RECOMP_FLAGS_IN(); 40756 PUSH32(esp, 0x2B075560u); /* 0x2B0751E7: push 0x2b075560 */ 40757 PUSH32(esp, 0xB5u); /* 0x2B0751EC: push 0xb5 */ 40758 RECOMP_ICALL(esi); /* 0x2B0751F1: call esi */ 40759 RECOMP_FLAGS_IN(); 40760 ecx = eax; /* 0x2B0751F3: mov ecx, eax */ 40761 RECOMP_ICALL(edi); /* 0x2B0751F5: call edi */ 40762 RECOMP_FLAGS_IN(); 40763 PUSH32(esp, 0x2B0755C0u); /* 0x2B0751F7: push 0x2b0755c0 */ 40764 PUSH32(esp, 0xB6u); /* 0x2B0751FC: push 0xb6 */ 40765 RECOMP_ICALL(esi); /* 0x2B075201: call esi */ 40766 RECOMP_FLAGS_IN(); 40767 ecx = eax; /* 0x2B075203: mov ecx, eax */ 40768 RECOMP_ICALL(edi); /* 0x2B075205: call edi */ 40769 RECOMP_FLAGS_IN(); 40770 PUSH32(esp, 0x2B075610u); /* 0x2B075207: push 0x2b075610 */ 40771 PUSH32(esp, 0xB7u); /* 0x2B07520C: push 0xb7 */ 40772 RECOMP_ICALL(esi); /* 0x2B075211: call esi */ 40773 RECOMP_FLAGS_IN(); 40774 ecx = eax; /* 0x2B075213: mov ecx, eax */ 40775 RECOMP_ICALL(edi); /* 0x2B075215: call edi */ 40776 RECOMP_FLAGS_IN(); 40777 PUSH32(esp, 0x2B0755C0u); /* 0x2B075217: push 0x2b0755c0 */ 40778 PUSH32(esp, 0xB8u); /* 0x2B07521C: push 0xb8 */ 40779 RECOMP_ICALL(esi); /* 0x2B075221: call esi */ 40780 RECOMP_FLAGS_IN(); 40781 ecx = eax; /* 0x2B075223: mov ecx, eax */ 40782 RECOMP_ICALL(edi); /* 0x2B075225: call edi */ 40783 RECOMP_FLAGS_IN(); 40784 PUSH32(esp, 0x2B0756D0u); /* 0x2B075227: push 0x2b0756d0 */ 40785 PUSH32(esp, 0xB9u); /* 0x2B07522C: push 0xb9 */ 40786 RECOMP_ICALL(esi); /* 0x2B075231: call esi */ 40787 RECOMP_FLAGS_IN(); 40788 ecx = eax; /* 0x2B075233: mov ecx, eax */ 40789 RECOMP_ICALL(edi); /* 0x2B075235: call edi */ 40790 RECOMP_FLAGS_IN(); 40791 PUSH32(esp, 0x2B075720u); /* 0x2B075237: push 0x2b075720 */ 40792 PUSH32(esp, 0xBAu); /* 0x2B07523C: push 0xba */ 40793 RECOMP_ICALL(esi); /* 0x2B075241: call esi */ 40794 RECOMP_FLAGS_IN(); 40795 ecx = eax; /* 0x2B075243: mov ecx, eax */ 40796 RECOMP_ICALL(edi); /* 0x2B075245: call edi */ 40797 RECOMP_FLAGS_IN(); 40798 PUSH32(esp, 0x2B075770u); /* 0x2B075247: push 0x2b075770 */ 40799 PUSH32(esp, 0x81u); /* 0x2B07524C: push 0x81 */ 40800 RECOMP_ICALL(esi); /* 0x2B075251: call esi */ 40801 RECOMP_FLAGS_IN(); 40802 ecx = eax; /* 0x2B075253: mov ecx, eax */ 40803 RECOMP_ICALL(edi); /* 0x2B075255: call edi */ 40804 RECOMP_FLAGS_IN(); 40805 PUSH32(esp, 0x2B075780u); /* 0x2B075257: push 0x2b075780 */ 40806 PUSH32(esp, 0xBBu); /* 0x2B07525C: push 0xbb */ 40807 RECOMP_ICALL(esi); /* 0x2B075261: call esi */ 40808 RECOMP_FLAGS_IN(); 40809 ecx = eax; /* 0x2B075263: mov ecx, eax */ 40810 RECOMP_ICALL(edi); /* 0x2B075265: call edi */ 40811 RECOMP_FLAGS_IN(); 40812 PUSH32(esp, 0x2B075500u); /* 0x2B075267: push 0x2b075500 */ 40813 PUSH32(esp, 0xBCu); /* 0x2B07526C: push 0xbc */ 40814 RECOMP_ICALL(esi); /* 0x2B075271: call esi */ 40815 RECOMP_FLAGS_IN(); 40816 ecx = eax; /* 0x2B075273: mov ecx, eax */ 40817 RECOMP_ICALL(edi); /* 0x2B075275: call edi */ 40818 RECOMP_FLAGS_IN(); 40819 PUSH32(esp, 0x2B075800u); /* 0x2B075277: push 0x2b075800 */ 40820 PUSH32(esp, 0x70u); /* 0x2B07527C: push 0x70 */ 40821 RECOMP_ICALL(esi); /* 0x2B07527E: call esi */ 40822 RECOMP_FLAGS_IN(); 40823 ecx = eax; /* 0x2B075280: mov ecx, eax */ 40824 RECOMP_ICALL(edi); /* 0x2B075282: call edi */ 40825 RECOMP_FLAGS_IN(); 40826 PUSH32(esp, 0x2B075990u); /* 0x2B075284: push 0x2b075990 */ 40827 PUSH32(esp, 0xBDu); /* 0x2B075289: push 0xbd */ 40828 RECOMP_ICALL(esi); /* 0x2B07528E: call esi */ 40829 RECOMP_FLAGS_IN(); 40830 ecx = eax; /* 0x2B075290: mov ecx, eax */ 40831 RECOMP_ICALL(edi); /* 0x2B075292: call edi */ 40832 RECOMP_FLAGS_IN(); 40833 PUSH32(esp, 0x2B075A10u); /* 0x2B075294: push 0x2b075a10 */ 40834 PUSH32(esp, 0x7Eu); /* 0x2B075299: push 0x7e */ 40835 RECOMP_ICALL(esi); /* 0x2B07529B: call esi */ 40836 RECOMP_FLAGS_IN(); 40837 ecx = eax; /* 0x2B07529D: mov ecx, eax */ 40838 RECOMP_ICALL(edi); /* 0x2B07529F: call edi */ 40839 RECOMP_FLAGS_IN(); 40840 PUSH32(esp, 0x2B075670u); /* 0x2B0752A1: push 0x2b075670 */ 40841 PUSH32(esp, 0xBEu); /* 0x2B0752A6: push 0xbe */ 40842 RECOMP_ICALL(esi); /* 0x2B0752AB: call esi */ 40843 RECOMP_FLAGS_IN(); 40844 ecx = eax; /* 0x2B0752AD: mov ecx, eax */ 40845 RECOMP_ICALL(edi); /* 0x2B0752AF: call edi */ 40846 RECOMP_FLAGS_IN(); 40847 PUSH32(esp, 0x2B075B50u); /* 0x2B0752B1: push 0x2b075b50 */ 40848 PUSH32(esp, 0x71u); /* 0x2B0752B6: push 0x71 */ 40849 RECOMP_ICALL(esi); /* 0x2B0752B8: call esi */ 40850 RECOMP_FLAGS_IN(); 40851 ecx = eax; /* 0x2B0752BA: mov ecx, eax */ 40852 RECOMP_ICALL(edi); /* 0x2B0752BC: call edi */ 40853 RECOMP_FLAGS_IN(); 40854 PUSH32(esp, 0x2B0753F0u); /* 0x2B0752BE: push 0x2b0753f0 */ 40855 PUSH32(esp, 0xBFu); /* 0x2B0752C3: push 0xbf */ 40856 RECOMP_ICALL(esi); /* 0x2B0752C8: call esi */ 40857 RECOMP_FLAGS_IN(); 40858 ecx = eax; /* 0x2B0752CA: mov ecx, eax */ 40859 RECOMP_ICALL(edi); /* 0x2B0752CC: call edi */ 40860 RECOMP_FLAGS_IN(); 40861 PUSH32(esp, 0x2B075C00u); /* 0x2B0752CE: push 0x2b075c00 */ 40862 PUSH32(esp, 0x9Cu); /* 0x2B0752D3: push 0x9c */ 40863 RECOMP_ICALL(esi); /* 0x2B0752D8: call esi */ 40864 RECOMP_FLAGS_IN(); 40865 ecx = eax; /* 0x2B0752DA: mov ecx, eax */ 40866 RECOMP_ICALL(edi); /* 0x2B0752DC: call edi */ 40867 RECOMP_FLAGS_IN(); 40868 PUSH32(esp, 0x2B075C40u); /* 0x2B0752DE: push 0x2b075c40 */ 40869 PUSH32(esp, 0xC0u); /* 0x2B0752E3: push 0xc0 */ 40870 RECOMP_ICALL(esi); /* 0x2B0752E8: call esi */ 40871 RECOMP_FLAGS_IN(); 40872 ecx = eax; /* 0x2B0752EA: mov ecx, eax */ 40873 RECOMP_ICALL(edi); /* 0x2B0752EC: call edi */ 40874 RECOMP_FLAGS_IN(); 40875 PUSH32(esp, 0x2B075CB0u); /* 0x2B0752EE: push 0x2b075cb0 */ 40876 PUSH32(esp, 0xB1u); /* 0x2B0752F3: push 0xb1 */ 40877 RECOMP_ICALL(esi); /* 0x2B0752F8: call esi */ 40878 RECOMP_FLAGS_IN(); 40879 ecx = eax; /* 0x2B0752FA: mov ecx, eax */ 40880 RECOMP_ICALL(edi); /* 0x2B0752FC: call edi */ 40881 RECOMP_FLAGS_IN(); 40882 edi = POP32_VAL(esp); /* 0x2B0752FE: pop edi */ 40883 esi = POP32_VAL(esp); /* 0x2B0752FF: pop esi */ 40884 eax = ebx; /* 0x2B075300: mov eax, ebx */ 40885 MEM32(0x2B0EF01C) = 0; /* 0x2B075302: mov dword ptr [0x2b0ef01c], 0 */ 40886 ebx = POP32_VAL(esp); /* 0x2B07530C: pop ebx */ 40887 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07530D: ret */ 40888 RECOMP_REGS_OUT(); 40889 } 40890 40891 void sub_2B075310(void) { 40892 int _fpu_cmp = 0; 40893 uint32_t _cf = 0; 40894 int _df = 1; 40895 uint32_t _flag_k = FK_NONE; 40896 uint32_t _flag_a = 0, _flag_b = 0; 40897 uint32_t _itail_tgt = 0; 40898 RECOMP_REGS_LOCALS 40899 RECOMP_ENTER(0x2B075310u); 40900 40901 goto L_2B075310; 40902 L_2B06D020: 40903 PUSH32(esp, esi); /* 0x2B06D020: push esi */ 40904 esi = ecx; /* 0x2B06D021: mov esi, ecx */ 40905 SET_LO8(eax, MEM8(esi + 0x4C)); /* 0x2B06D023: mov al, byte ptr [esi + 0x4c] */ 40906 /* test LO8(eax), LO8(eax) */ /* 0x2B06D026: test al, al */ 40907 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 40908 _cf = 0; 40909 _flag_k = FK_NARROW(FK_TEST, 24); 40910 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06D094; /* 0x2B06D028: je 0x2b06d094 */ 40911 L_2B06D02A: 40912 SET_LO8(eax, MEM8(esi + 0x58)); /* 0x2B06D02A: mov al, byte ptr [esi + 0x58] */ 40913 /* test LO8(eax), LO8(eax) */ /* 0x2B06D02D: test al, al */ 40914 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 40915 _cf = 0; 40916 _flag_k = FK_NARROW(FK_TEST, 24); 40917 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06D094; /* 0x2B06D02F: je 0x2b06d094 */ 40918 L_2B06D031: 40919 eax = MEM32(esi + 0xD4); /* 0x2B06D031: mov eax, dword ptr [esi + 0xd4] */ 40920 SET_LO8(ecx, MEM8(eax + 0xA8)); /* 0x2B06D037: mov cl, byte ptr [eax + 0xa8] */ 40921 /* test LO8(ecx), LO8(ecx) */ /* 0x2B06D03D: test cl, cl */ 40922 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 40923 _cf = 0; 40924 _flag_k = FK_NARROW(FK_TEST, 24); 40925 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06D094; /* 0x2B06D03F: jne 0x2b06d094 */ 40926 L_2B06D041: 40927 RECOMP_ICALL(MEM32(0x2B0B53BC)); /* 0x2B06D041: call dword ptr [0x2b0b53bc] */ 40928 RECOMP_FLAGS_IN(); 40929 ecx = MEM32(eax + 0x14); /* 0x2B06D047: mov ecx, dword ptr [eax + 0x14] */ 40930 fp_push(*(float*)&MEM32(ecx)); /* 0x2B06D04A: fld dword ptr [ecx] */ 40931 fp_push(*(float*)&MEM32(esi + 0x50)); /* 0x2B06D04C: fld dword ptr [esi + 0x50] */ 40932 _st[0] -= _st[1]; /* 0x2B06D04F: fsub st(1) */ 40933 { float _v = (float)_st[0]; *(float*)ADDR(esi + 0x50) = _v; } /* 0x2B06D051: fst dword ptr [esi + 0x50] */ 40934 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B06D054: fcomp dword ptr [0x2b0b61b8] */ 40935 fp_pop(); 40936 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B06D05A: fnstsw ax */ 40937 /* test HI8(eax), 1 */ /* 0x2B06D05C: test ah, 1 */ 40938 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 40939 _cf = 0; 40940 _flag_k = FK_NARROW(FK_TEST, 24); 40941 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06D092; /* 0x2B06D05F: je 0x2b06d092 */ 40942 L_2B06D061: 40943 _st[0] = (double)*(float*)ADDR(esi + 0x54) - _st[0]; /* 0x2B06D061: fsubr dword ptr [esi + 0x54] */ 40944 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B06D064: fcom dword ptr [0x2b0b61b8] */ 40945 { float _v = (float)_st[0]; *(float*)ADDR(esi + 0x54) = _v; } /* 0x2B06D06A: fst dword ptr [esi + 0x54] */ 40946 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B06D06D: fnstsw ax */ 40947 /* test HI8(eax), 1 */ /* 0x2B06D06F: test ah, 1 */ 40948 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 40949 _cf = 0; 40950 _flag_k = FK_NARROW(FK_TEST, 24); 40951 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06D07F; /* 0x2B06D072: je 0x2b06d07f */ 40952 L_2B06D074: 40953 ecx = esi; /* 0x2B06D074: mov ecx, esi */ 40954 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x2B06D076: fstp st(0) */ 40955 RECOMP_ICALL(0x2B06CBD0u); /* 0x2B06D078: call 0x2b06cbd0 */ /* not lifted */ 40956 RECOMP_FLAGS_IN(); 40957 esi = POP32_VAL(esp); /* 0x2B06D07D: pop esi */ 40958 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06D07E: ret */ 40959 L_2B06D07F: 40960 _st[0] *= *(double*)ADDR(0x2B0B64D0); /* 0x2B06D07F: fmul qword ptr [0x2b0b64d0] */ 40961 PUSH32(esp, ecx); /* 0x2B06D085: push ecx */ 40962 ecx = esi; /* 0x2B06D086: mov ecx, esi */ 40963 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x2B06D088: fstp dword ptr [esp] */ 40964 RECOMP_ICALL(0x2B06D0A0u); /* 0x2B06D08B: call 0x2b06d0a0 */ /* not lifted */ 40965 RECOMP_FLAGS_IN(); 40966 esi = POP32_VAL(esp); /* 0x2B06D090: pop esi */ 40967 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06D091: ret */ 40968 L_2B06D092: 40969 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x2B06D092: fstp st(0) */ 40970 L_2B06D094: 40971 esi = POP32_VAL(esp); /* 0x2B06D094: pop esi */ 40972 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06D095: ret */ 40973 L_2B075310: 40974 ecx = MEM32(0x2B0EF01C); /* 0x2B075310: mov ecx, dword ptr [0x2b0ef01c] */ 40975 /* test ecx, ecx */ /* 0x2B075316: test ecx, ecx */ 40976 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 40977 _cf = 0; 40978 _flag_k = FK_TEST; 40979 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07531F; /* 0x2B075318: je 0x2b07531f */ 40980 L_2B07531A: 40981 RECOMP_BACKEDGE(); 40982 goto L_2B06D020; /* 0x2B07531A: jmp 0x2b06d020 */ 40983 L_2B07531F: 40984 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07531F: ret */ 40985 RECOMP_REGS_OUT(); 40986 } 40987 40988 void sub_2B075320(void) { 40989 int _fpu_cmp = 0; 40990 uint32_t _cf = 0; 40991 int _df = 1; 40992 uint32_t _flag_k = FK_NONE; 40993 uint32_t _flag_a = 0, _flag_b = 0; 40994 uint32_t _itail_tgt = 0; 40995 RECOMP_REGS_LOCALS 40996 RECOMP_ENTER(0x2B075320u); 40997 40998 L_2B075320: 40999 RECOMP_ICALL(0x2B0753C0u); /* 0x2B075320: call 0x2b0753c0 */ /* not lifted */ 41000 RECOMP_FLAGS_IN(); 41001 MEM32(0x2B0EF01C) = 0; /* 0x2B075325: mov dword ptr [0x2b0ef01c], 0 */ 41002 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07532F: ret */ 41003 RECOMP_REGS_OUT(); 41004 } 41005 41006 void sub_2B075330(void) { 41007 int _fpu_cmp = 0; 41008 uint32_t _cf = 0; 41009 int _df = 1; 41010 uint32_t _flag_k = FK_NONE; 41011 uint32_t _flag_a = 0, _flag_b = 0; 41012 uint32_t _itail_tgt = 0; 41013 RECOMP_REGS_LOCALS 41014 RECOMP_ENTER(0x2B075330u); 41015 41016 L_2B075330: 41017 PUSH32(esp, ebp); /* 0x2B075330: push ebp */ 41018 ebp = esp; /* 0x2B075331: mov ebp, esp */ 41019 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B075333: push -1 */ 41020 PUSH32(esp, 0x2B0B12FBu); /* 0x2B075335: push 0x2b0b12fb */ 41021 eax = MEM32(FS_BASE + (0)); /* 0x2B07533A: mov eax, dword ptr fs:[0] */ 41022 PUSH32(esp, eax); /* 0x2B075340: push eax */ 41023 MEM32(FS_BASE + (0)) = esp; /* 0x2B075341: mov dword ptr fs:[0], esp */ 41024 PUSH32(esp, ecx); /* 0x2B075348: push ecx */ 41025 eax = MEM32(0x2B0EF018); /* 0x2B075349: mov eax, dword ptr [0x2b0ef018] */ 41026 /* test eax, eax */ /* 0x2B07534E: test eax, eax */ 41027 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 41028 _cf = 0; 41029 _flag_k = FK_TEST; 41030 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07538B; /* 0x2B075350: jne 0x2b07538b */ 41031 L_2B075352: 41032 PUSH32(esp, 1); /* 0x2B075352: push 1 */ 41033 RECOMP_ICALL(0x2B0AB212u); /* 0x2B075354: call 0x2b0ab212 */ /* not lifted */ 41034 RECOMP_FLAGS_IN(); 41035 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 41036 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 41037 esp = esp + 4; /* 0x2B075359: add esp, 4 */ 41038 _flag_k = FK_ADD; 41039 MEM32(ebp + (-0x10)) = eax; /* 0x2B07535C: mov dword ptr [ebp - 0x10], eax */ 41040 /* test eax, eax */ /* 0x2B07535F: test eax, eax */ 41041 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 41042 _cf = 0; 41043 _flag_k = FK_TEST; 41044 MEM32(ebp + (-0x4)) = 0; /* 0x2B075361: mov dword ptr [ebp - 4], 0 */ 41045 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075384; /* 0x2B075368: je 0x2b075384 */ 41046 L_2B07536A: 41047 ecx = eax; /* 0x2B07536A: mov ecx, eax */ 41048 RECOMP_ICALL(0x2B075170u); /* 0x2B07536C: call 0x2b075170 */ /* not lifted */ 41049 RECOMP_FLAGS_IN(); 41050 MEM32(0x2B0EF018) = eax; /* 0x2B075371: mov dword ptr [0x2b0ef018], eax */ 41051 ecx = MEM32(ebp + (-0xC)); /* 0x2B075376: mov ecx, dword ptr [ebp - 0xc] */ 41052 MEM32(FS_BASE + (0)) = ecx; /* 0x2B075379: mov dword ptr fs:[0], ecx */ 41053 esp = ebp; /* 0x2B075380: mov esp, ebp */ 41054 ebp = POP32_VAL(esp); /* 0x2B075382: pop ebp */ 41055 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B075383: ret */ 41056 L_2B075384: 41057 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 41058 eax = 0; /* 0x2B075384: xor eax, eax */ 41059 _cf = 0; 41060 _flag_k = FK_TEST; 41061 MEM32(0x2B0EF018) = eax; /* 0x2B075386: mov dword ptr [0x2b0ef018], eax */ 41062 L_2B07538B: 41063 ecx = MEM32(ebp + (-0xC)); /* 0x2B07538B: mov ecx, dword ptr [ebp - 0xc] */ 41064 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07538E: mov dword ptr fs:[0], ecx */ 41065 esp = ebp; /* 0x2B075395: mov esp, ebp */ 41066 ebp = POP32_VAL(esp); /* 0x2B075397: pop ebp */ 41067 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B075398: ret */ 41068 RECOMP_REGS_OUT(); 41069 } 41070 41071 void sub_2B0753A0(void) { 41072 int _fpu_cmp = 0; 41073 uint32_t _cf = 0; 41074 int _df = 1; 41075 uint32_t _flag_k = FK_NONE; 41076 uint32_t _flag_a = 0, _flag_b = 0; 41077 uint32_t _itail_tgt = 0; 41078 RECOMP_REGS_LOCALS 41079 RECOMP_ENTER(0x2B0753A0u); 41080 41081 L_2B0753A0: 41082 eax = MEM32(0x2B0EF018); /* 0x2B0753A0: mov eax, dword ptr [0x2b0ef018] */ 41083 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0753A5: ret */ 41084 RECOMP_REGS_OUT(); 41085 } 41086 41087 void sub_2B0753B0(void) { 41088 int _fpu_cmp = 0; 41089 uint32_t _cf = 0; 41090 int _df = 1; 41091 uint32_t _flag_k = FK_NONE; 41092 uint32_t _flag_a = 0, _flag_b = 0; 41093 uint32_t _itail_tgt = 0; 41094 RECOMP_REGS_LOCALS 41095 RECOMP_ENTER(0x2B0753B0u); 41096 41097 L_2B0753B0: 41098 goto L_2B0753F0; /* 0x2B0753B0: jmp 0x2b0753f0 */ 41099 L_2B0753F0: 41100 PUSH32(esp, ebp); /* 0x2B0753F0: push ebp */ 41101 ebp = esp; /* 0x2B0753F1: mov ebp, esp */ 41102 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0753F3: push -1 */ 41103 PUSH32(esp, 0x2B0B131Bu); /* 0x2B0753F5: push 0x2b0b131b */ 41104 eax = MEM32(FS_BASE + (0)); /* 0x2B0753FA: mov eax, dword ptr fs:[0] */ 41105 PUSH32(esp, eax); /* 0x2B075400: push eax */ 41106 MEM32(FS_BASE + (0)) = esp; /* 0x2B075401: mov dword ptr fs:[0], esp */ 41107 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 41108 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41109 esp = esp - 0xCu; /* 0x2B075408: sub esp, 0xc */ 41110 _flag_k = FK_CMP; 41111 PUSH32(esp, esi); /* 0x2B07540B: push esi */ 41112 esi = MEM32(0x2B0EF01C); /* 0x2B07540C: mov esi, dword ptr [0x2b0ef01c] */ 41113 PUSH32(esp, edi); /* 0x2B075412: push edi */ 41114 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 41115 edi = 0; /* 0x2B075413: xor edi, edi */ 41116 _cf = 0; 41117 _flag_k = FK_TEST; 41118 /* cmp esi, edi */ /* 0x2B075415: cmp esi, edi */ 41119 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 41120 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41121 _flag_k = FK_CMP; 41122 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075429; /* 0x2B075417: je 0x2b075429 */ 41123 L_2B075419: 41124 ecx = esi; /* 0x2B075419: mov ecx, esi */ 41125 RECOMP_ICALL(0x2B06C450u); /* 0x2B07541B: call 0x2b06c450 */ /* not lifted */ 41126 RECOMP_FLAGS_IN(); 41127 PUSH32(esp, esi); /* 0x2B075420: push esi */ 41128 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B075421: call 0x2b0ab1ba */ /* not lifted */ 41129 RECOMP_FLAGS_IN(); 41130 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 41131 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 41132 esp = esp + 4; /* 0x2B075426: add esp, 4 */ 41133 _flag_k = FK_ADD; 41134 L_2B075429: 41135 eax = MEM32(0x2B0B6048); /* 0x2B075429: mov eax, dword ptr [0x2b0b6048] */ 41136 esi = MEM32(0x2B0B602C); /* 0x2B07542E: mov esi, dword ptr [0x2b0b602c] */ 41137 PUSH32(esp, 1); /* 0x2B075434: push 1 */ 41138 MEM32(0x2B0EF01C) = edi; /* 0x2B075436: mov dword ptr [0x2b0ef01c], edi */ 41139 MEM32(ebp + (-0x18)) = edi; /* 0x2B07543C: mov dword ptr [ebp - 0x18], edi */ 41140 MEM32(ebp + (-0x14)) = edi; /* 0x2B07543F: mov dword ptr [ebp - 0x14], edi */ 41141 ecx = MEM32(eax); /* 0x2B075442: mov ecx, dword ptr [eax] */ 41142 PUSH32(esp, 0x2B0EB4E0u); /* 0x2B075444: push 0x2b0eb4e0 */ 41143 RECOMP_ICALL(esi); /* 0x2B075449: call esi */ 41144 RECOMP_FLAGS_IN(); 41145 ecx = MEM32(0x2B0B6048); /* 0x2B07544B: mov ecx, dword ptr [0x2b0b6048] */ 41146 PUSH32(esp, 1); /* 0x2B075451: push 1 */ 41147 MEM32(ebp + (-0x18)) = eax; /* 0x2B075453: mov dword ptr [ebp - 0x18], eax */ 41148 ecx = MEM32(ecx); /* 0x2B075456: mov ecx, dword ptr [ecx] */ 41149 PUSH32(esp, 0x2B0EB4D8u); /* 0x2B075458: push 0x2b0eb4d8 */ 41150 RECOMP_ICALL(esi); /* 0x2B07545D: call esi */ 41151 RECOMP_FLAGS_IN(); 41152 PUSH32(esp, 0x110u); /* 0x2B07545F: push 0x110 */ 41153 MEM32(ebp + (-0x14)) = eax; /* 0x2B075464: mov dword ptr [ebp - 0x14], eax */ 41154 RECOMP_ICALL(0x2B0AB212u); /* 0x2B075467: call 0x2b0ab212 */ /* not lifted */ 41155 RECOMP_FLAGS_IN(); 41156 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 41157 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 41158 esp = esp + 4; /* 0x2B07546C: add esp, 4 */ 41159 _flag_k = FK_ADD; 41160 MEM32(ebp + (-0x10)) = eax; /* 0x2B07546F: mov dword ptr [ebp - 0x10], eax */ 41161 /* cmp eax, edi */ /* 0x2B075472: cmp eax, edi */ 41162 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 41163 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41164 _flag_k = FK_CMP; 41165 MEM32(ebp + (-0x4)) = edi; /* 0x2B075474: mov dword ptr [ebp - 4], edi */ 41166 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075499; /* 0x2B075477: je 0x2b075499 */ 41167 L_2B075479: 41168 edx = ebp + (-0x18); /* 0x2B075479: lea edx, [ebp - 0x18] */ 41169 PUSH32(esp, edx); /* 0x2B07547C: push edx */ 41170 ecx = eax; /* 0x2B07547D: mov ecx, eax */ 41171 RECOMP_ICALL(0x2B06B660u); /* 0x2B07547F: call 0x2b06b660 */ /* not lifted */ 41172 RECOMP_FLAGS_IN(); 41173 edi = POP32_VAL(esp); /* 0x2B075484: pop edi */ 41174 MEM32(0x2B0EF01C) = eax; /* 0x2B075485: mov dword ptr [0x2b0ef01c], eax */ 41175 esi = POP32_VAL(esp); /* 0x2B07548A: pop esi */ 41176 ecx = MEM32(ebp + (-0xC)); /* 0x2B07548B: mov ecx, dword ptr [ebp - 0xc] */ 41177 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07548E: mov dword ptr fs:[0], ecx */ 41178 esp = ebp; /* 0x2B075495: mov esp, ebp */ 41179 ebp = POP32_VAL(esp); /* 0x2B075497: pop ebp */ 41180 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B075498: ret */ 41181 L_2B075499: 41182 ecx = MEM32(ebp + (-0xC)); /* 0x2B075499: mov ecx, dword ptr [ebp - 0xc] */ 41183 MEM32(0x2B0EF01C) = edi; /* 0x2B07549C: mov dword ptr [0x2b0ef01c], edi */ 41184 edi = POP32_VAL(esp); /* 0x2B0754A2: pop edi */ 41185 esi = POP32_VAL(esp); /* 0x2B0754A3: pop esi */ 41186 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0754A4: mov dword ptr fs:[0], ecx */ 41187 esp = ebp; /* 0x2B0754AB: mov esp, ebp */ 41188 ebp = POP32_VAL(esp); /* 0x2B0754AD: pop ebp */ 41189 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0754AE: ret */ 41190 RECOMP_REGS_OUT(); 41191 } 41192 41193 void sub_2B0753C0(void) { 41194 int _fpu_cmp = 0; 41195 uint32_t _cf = 0; 41196 int _df = 1; 41197 uint32_t _flag_k = FK_NONE; 41198 uint32_t _flag_a = 0, _flag_b = 0; 41199 uint32_t _itail_tgt = 0; 41200 RECOMP_REGS_LOCALS 41201 RECOMP_ENTER(0x2B0753C0u); 41202 41203 L_2B0753C0: 41204 PUSH32(esp, esi); /* 0x2B0753C0: push esi */ 41205 esi = MEM32(0x2B0EF01C); /* 0x2B0753C1: mov esi, dword ptr [0x2b0ef01c] */ 41206 /* test esi, esi */ /* 0x2B0753C7: test esi, esi */ 41207 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 41208 _cf = 0; 41209 _flag_k = FK_TEST; 41210 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0753DB; /* 0x2B0753C9: je 0x2b0753db */ 41211 L_2B0753CB: 41212 ecx = esi; /* 0x2B0753CB: mov ecx, esi */ 41213 RECOMP_ICALL(0x2B06C450u); /* 0x2B0753CD: call 0x2b06c450 */ /* not lifted */ 41214 RECOMP_FLAGS_IN(); 41215 PUSH32(esp, esi); /* 0x2B0753D2: push esi */ 41216 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0753D3: call 0x2b0ab1ba */ /* not lifted */ 41217 RECOMP_FLAGS_IN(); 41218 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 41219 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 41220 esp = esp + 4; /* 0x2B0753D8: add esp, 4 */ 41221 _flag_k = FK_ADD; 41222 L_2B0753DB: 41223 MEM32(0x2B0EF01C) = 0; /* 0x2B0753DB: mov dword ptr [0x2b0ef01c], 0 */ 41224 esi = POP32_VAL(esp); /* 0x2B0753E5: pop esi */ 41225 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0753E6: ret */ 41226 RECOMP_REGS_OUT(); 41227 } 41228 41229 void sub_2B0753F0(void) { 41230 int _fpu_cmp = 0; 41231 uint32_t _cf = 0; 41232 int _df = 1; 41233 uint32_t _flag_k = FK_NONE; 41234 uint32_t _flag_a = 0, _flag_b = 0; 41235 uint32_t _itail_tgt = 0; 41236 RECOMP_REGS_LOCALS 41237 RECOMP_ENTER(0x2B0753F0u); 41238 41239 L_2B0753F0: 41240 PUSH32(esp, ebp); /* 0x2B0753F0: push ebp */ 41241 ebp = esp; /* 0x2B0753F1: mov ebp, esp */ 41242 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0753F3: push -1 */ 41243 PUSH32(esp, 0x2B0B131Bu); /* 0x2B0753F5: push 0x2b0b131b */ 41244 eax = MEM32(FS_BASE + (0)); /* 0x2B0753FA: mov eax, dword ptr fs:[0] */ 41245 PUSH32(esp, eax); /* 0x2B075400: push eax */ 41246 MEM32(FS_BASE + (0)) = esp; /* 0x2B075401: mov dword ptr fs:[0], esp */ 41247 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 41248 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41249 esp = esp - 0xCu; /* 0x2B075408: sub esp, 0xc */ 41250 _flag_k = FK_CMP; 41251 PUSH32(esp, esi); /* 0x2B07540B: push esi */ 41252 esi = MEM32(0x2B0EF01C); /* 0x2B07540C: mov esi, dword ptr [0x2b0ef01c] */ 41253 PUSH32(esp, edi); /* 0x2B075412: push edi */ 41254 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 41255 edi = 0; /* 0x2B075413: xor edi, edi */ 41256 _cf = 0; 41257 _flag_k = FK_TEST; 41258 /* cmp esi, edi */ /* 0x2B075415: cmp esi, edi */ 41259 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 41260 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41261 _flag_k = FK_CMP; 41262 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075429; /* 0x2B075417: je 0x2b075429 */ 41263 L_2B075419: 41264 ecx = esi; /* 0x2B075419: mov ecx, esi */ 41265 RECOMP_ICALL(0x2B06C450u); /* 0x2B07541B: call 0x2b06c450 */ /* not lifted */ 41266 RECOMP_FLAGS_IN(); 41267 PUSH32(esp, esi); /* 0x2B075420: push esi */ 41268 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B075421: call 0x2b0ab1ba */ /* not lifted */ 41269 RECOMP_FLAGS_IN(); 41270 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 41271 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 41272 esp = esp + 4; /* 0x2B075426: add esp, 4 */ 41273 _flag_k = FK_ADD; 41274 L_2B075429: 41275 eax = MEM32(0x2B0B6048); /* 0x2B075429: mov eax, dword ptr [0x2b0b6048] */ 41276 esi = MEM32(0x2B0B602C); /* 0x2B07542E: mov esi, dword ptr [0x2b0b602c] */ 41277 PUSH32(esp, 1); /* 0x2B075434: push 1 */ 41278 MEM32(0x2B0EF01C) = edi; /* 0x2B075436: mov dword ptr [0x2b0ef01c], edi */ 41279 MEM32(ebp + (-0x18)) = edi; /* 0x2B07543C: mov dword ptr [ebp - 0x18], edi */ 41280 MEM32(ebp + (-0x14)) = edi; /* 0x2B07543F: mov dword ptr [ebp - 0x14], edi */ 41281 ecx = MEM32(eax); /* 0x2B075442: mov ecx, dword ptr [eax] */ 41282 PUSH32(esp, 0x2B0EB4E0u); /* 0x2B075444: push 0x2b0eb4e0 */ 41283 RECOMP_ICALL(esi); /* 0x2B075449: call esi */ 41284 RECOMP_FLAGS_IN(); 41285 ecx = MEM32(0x2B0B6048); /* 0x2B07544B: mov ecx, dword ptr [0x2b0b6048] */ 41286 PUSH32(esp, 1); /* 0x2B075451: push 1 */ 41287 MEM32(ebp + (-0x18)) = eax; /* 0x2B075453: mov dword ptr [ebp - 0x18], eax */ 41288 ecx = MEM32(ecx); /* 0x2B075456: mov ecx, dword ptr [ecx] */ 41289 PUSH32(esp, 0x2B0EB4D8u); /* 0x2B075458: push 0x2b0eb4d8 */ 41290 RECOMP_ICALL(esi); /* 0x2B07545D: call esi */ 41291 RECOMP_FLAGS_IN(); 41292 PUSH32(esp, 0x110u); /* 0x2B07545F: push 0x110 */ 41293 MEM32(ebp + (-0x14)) = eax; /* 0x2B075464: mov dword ptr [ebp - 0x14], eax */ 41294 RECOMP_ICALL(0x2B0AB212u); /* 0x2B075467: call 0x2b0ab212 */ /* not lifted */ 41295 RECOMP_FLAGS_IN(); 41296 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 41297 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 41298 esp = esp + 4; /* 0x2B07546C: add esp, 4 */ 41299 _flag_k = FK_ADD; 41300 MEM32(ebp + (-0x10)) = eax; /* 0x2B07546F: mov dword ptr [ebp - 0x10], eax */ 41301 /* cmp eax, edi */ /* 0x2B075472: cmp eax, edi */ 41302 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 41303 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41304 _flag_k = FK_CMP; 41305 MEM32(ebp + (-0x4)) = edi; /* 0x2B075474: mov dword ptr [ebp - 4], edi */ 41306 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075499; /* 0x2B075477: je 0x2b075499 */ 41307 L_2B075479: 41308 edx = ebp + (-0x18); /* 0x2B075479: lea edx, [ebp - 0x18] */ 41309 PUSH32(esp, edx); /* 0x2B07547C: push edx */ 41310 ecx = eax; /* 0x2B07547D: mov ecx, eax */ 41311 RECOMP_ICALL(0x2B06B660u); /* 0x2B07547F: call 0x2b06b660 */ /* not lifted */ 41312 RECOMP_FLAGS_IN(); 41313 edi = POP32_VAL(esp); /* 0x2B075484: pop edi */ 41314 MEM32(0x2B0EF01C) = eax; /* 0x2B075485: mov dword ptr [0x2b0ef01c], eax */ 41315 esi = POP32_VAL(esp); /* 0x2B07548A: pop esi */ 41316 ecx = MEM32(ebp + (-0xC)); /* 0x2B07548B: mov ecx, dword ptr [ebp - 0xc] */ 41317 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07548E: mov dword ptr fs:[0], ecx */ 41318 esp = ebp; /* 0x2B075495: mov esp, ebp */ 41319 ebp = POP32_VAL(esp); /* 0x2B075497: pop ebp */ 41320 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B075498: ret */ 41321 L_2B075499: 41322 ecx = MEM32(ebp + (-0xC)); /* 0x2B075499: mov ecx, dword ptr [ebp - 0xc] */ 41323 MEM32(0x2B0EF01C) = edi; /* 0x2B07549C: mov dword ptr [0x2b0ef01c], edi */ 41324 edi = POP32_VAL(esp); /* 0x2B0754A2: pop edi */ 41325 esi = POP32_VAL(esp); /* 0x2B0754A3: pop esi */ 41326 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0754A4: mov dword ptr fs:[0], ecx */ 41327 esp = ebp; /* 0x2B0754AB: mov esp, ebp */ 41328 ebp = POP32_VAL(esp); /* 0x2B0754AD: pop ebp */ 41329 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0754AE: ret */ 41330 RECOMP_REGS_OUT(); 41331 } 41332 41333 void sub_2B0754B0(void) { 41334 int _fpu_cmp = 0; 41335 uint32_t _cf = 0; 41336 int _df = 1; 41337 uint32_t _flag_k = FK_NONE; 41338 uint32_t _flag_a = 0, _flag_b = 0; 41339 uint32_t _itail_tgt = 0; 41340 RECOMP_REGS_LOCALS 41341 RECOMP_ENTER(0x2B0754B0u); 41342 41343 L_2B0754B0: 41344 PUSH32(esp, ebp); /* 0x2B0754B0: push ebp */ 41345 ebp = esp; /* 0x2B0754B1: mov ebp, esp */ 41346 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 41347 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41348 esp = esp - 8; /* 0x2B0754B3: sub esp, 8 */ 41349 _flag_k = FK_CMP; 41350 eax = MEM32(0x2B0EF01C); /* 0x2B0754B6: mov eax, dword ptr [0x2b0ef01c] */ 41351 /* test eax, eax */ /* 0x2B0754BB: test eax, eax */ 41352 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 41353 _cf = 0; 41354 _flag_k = FK_TEST; 41355 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0754FA; /* 0x2B0754BD: je 0x2b0754fa */ 41356 L_2B0754BF: 41357 eax = ebp + (-0x8); /* 0x2B0754BF: lea eax, [ebp - 8] */ 41358 PUSH32(esp, eax); /* 0x2B0754C2: push eax */ 41359 MEM32(ebp + (-0x8)) = 0; /* 0x2B0754C3: mov dword ptr [ebp - 8], 0 */ 41360 MEM32(ebp + (-0x4)) = 0; /* 0x2B0754CA: mov dword ptr [ebp - 4], 0 */ 41361 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B0754D1: call dword ptr [0x2b0b53cc] */ 41362 RECOMP_FLAGS_IN(); 41363 ecx = eax; /* 0x2B0754D7: mov ecx, eax */ 41364 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B0754D9: call dword ptr [0x2b0b53ac] */ 41365 RECOMP_FLAGS_IN(); 41366 PUSH32(esp, 0); /* 0x2B0754DF: push 0 */ 41367 PUSH32(esp, 0); /* 0x2B0754E1: push 0 */ 41368 PUSH32(esp, 0); /* 0x2B0754E3: push 0 */ 41369 PUSH32(esp, 0); /* 0x2B0754E5: push 0 */ 41370 PUSH32(esp, 0); /* 0x2B0754E7: push 0 */ 41371 PUSH32(esp, 0); /* 0x2B0754E9: push 0 */ 41372 ecx = ebp + (-0x8); /* 0x2B0754EB: lea ecx, [ebp - 8] */ 41373 PUSH32(esp, ecx); /* 0x2B0754EE: push ecx */ 41374 ecx = MEM32(0x2B0EF01C); /* 0x2B0754EF: mov ecx, dword ptr [0x2b0ef01c] */ 41375 RECOMP_ICALL(0x2B06D8F0u); /* 0x2B0754F5: call 0x2b06d8f0 */ /* not lifted */ 41376 RECOMP_FLAGS_IN(); 41377 L_2B0754FA: 41378 esp = ebp; /* 0x2B0754FA: mov esp, ebp */ 41379 ebp = POP32_VAL(esp); /* 0x2B0754FC: pop ebp */ 41380 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0754FD: ret */ 41381 RECOMP_REGS_OUT(); 41382 } 41383 41384 void sub_2B075500(void) { 41385 int _fpu_cmp = 0; 41386 uint32_t _cf = 0; 41387 int _df = 1; 41388 uint32_t _flag_k = FK_NONE; 41389 uint32_t _flag_a = 0, _flag_b = 0; 41390 uint32_t _itail_tgt = 0; 41391 RECOMP_REGS_LOCALS 41392 RECOMP_ENTER(0x2B075500u); 41393 41394 L_2B075500: 41395 PUSH32(esp, ebp); /* 0x2B075500: push ebp */ 41396 ebp = esp; /* 0x2B075501: mov ebp, esp */ 41397 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 41398 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41399 esp = esp - 8; /* 0x2B075503: sub esp, 8 */ 41400 _flag_k = FK_CMP; 41401 eax = MEM32(0x2B0EF01C); /* 0x2B075506: mov eax, dword ptr [0x2b0ef01c] */ 41402 /* test eax, eax */ /* 0x2B07550B: test eax, eax */ 41403 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 41404 _cf = 0; 41405 _flag_k = FK_TEST; 41406 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07554D; /* 0x2B07550D: je 0x2b07554d */ 41407 L_2B07550F: 41408 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B07550F: call dword ptr [0x2b0b53cc] */ 41409 RECOMP_FLAGS_IN(); 41410 ecx = eax; /* 0x2B075515: mov ecx, eax */ 41411 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B075517: call dword ptr [0x2b0b53a4] */ 41412 RECOMP_FLAGS_IN(); 41413 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x54u); 41414 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 41415 eax = eax + 0x54u; /* 0x2B07551D: add eax, 0x54 */ 41416 _flag_k = FK_ADD; 41417 ecx = ebp + (-0x8); /* 0x2B075520: lea ecx, [ebp - 8] */ 41418 /* cmp ecx, eax */ /* 0x2B075523: cmp ecx, eax */ 41419 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 41420 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41421 _flag_k = FK_CMP; 41422 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075532; /* 0x2B075525: je 0x2b075532 */ 41423 L_2B075527: 41424 edx = MEM32(eax); /* 0x2B075527: mov edx, dword ptr [eax] */ 41425 eax = MEM32(eax + 0x4); /* 0x2B075529: mov eax, dword ptr [eax + 4] */ 41426 MEM32(ebp + (-0x8)) = edx; /* 0x2B07552C: mov dword ptr [ebp - 8], edx */ 41427 MEM32(ebp + (-0x4)) = eax; /* 0x2B07552F: mov dword ptr [ebp - 4], eax */ 41428 L_2B075532: 41429 PUSH32(esp, 0); /* 0x2B075532: push 0 */ 41430 PUSH32(esp, 0); /* 0x2B075534: push 0 */ 41431 PUSH32(esp, 0); /* 0x2B075536: push 0 */ 41432 PUSH32(esp, 0); /* 0x2B075538: push 0 */ 41433 PUSH32(esp, 0); /* 0x2B07553A: push 0 */ 41434 PUSH32(esp, 0); /* 0x2B07553C: push 0 */ 41435 ecx = ebp + (-0x8); /* 0x2B07553E: lea ecx, [ebp - 8] */ 41436 PUSH32(esp, ecx); /* 0x2B075541: push ecx */ 41437 ecx = MEM32(0x2B0EF01C); /* 0x2B075542: mov ecx, dword ptr [0x2b0ef01c] */ 41438 RECOMP_ICALL(0x2B06D8F0u); /* 0x2B075548: call 0x2b06d8f0 */ /* not lifted */ 41439 RECOMP_FLAGS_IN(); 41440 L_2B07554D: 41441 esp = ebp; /* 0x2B07554D: mov esp, ebp */ 41442 ebp = POP32_VAL(esp); /* 0x2B07554F: pop ebp */ 41443 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B075550: ret */ 41444 RECOMP_REGS_OUT(); 41445 } 41446 41447 void sub_2B075560(void) { 41448 int _fpu_cmp = 0; 41449 uint32_t _cf = 0; 41450 int _df = 1; 41451 uint32_t _flag_k = FK_NONE; 41452 uint32_t _flag_a = 0, _flag_b = 0; 41453 uint32_t _itail_tgt = 0; 41454 RECOMP_REGS_LOCALS 41455 RECOMP_ENTER(0x2B075560u); 41456 41457 L_2B075560: 41458 PUSH32(esp, ebp); /* 0x2B075560: push ebp */ 41459 ebp = esp; /* 0x2B075561: mov ebp, esp */ 41460 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 41461 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41462 esp = esp - 8; /* 0x2B075563: sub esp, 8 */ 41463 _flag_k = FK_CMP; 41464 eax = MEM32(0x2B0EF01C); /* 0x2B075566: mov eax, dword ptr [0x2b0ef01c] */ 41465 /* test eax, eax */ /* 0x2B07556B: test eax, eax */ 41466 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 41467 _cf = 0; 41468 _flag_k = FK_TEST; 41469 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0755AD; /* 0x2B07556D: je 0x2b0755ad */ 41470 L_2B07556F: 41471 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B07556F: call dword ptr [0x2b0b53cc] */ 41472 RECOMP_FLAGS_IN(); 41473 ecx = eax; /* 0x2B075575: mov ecx, eax */ 41474 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B075577: call dword ptr [0x2b0b53a4] */ 41475 RECOMP_FLAGS_IN(); 41476 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x54u); 41477 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 41478 eax = eax + 0x54u; /* 0x2B07557D: add eax, 0x54 */ 41479 _flag_k = FK_ADD; 41480 ecx = ebp + (-0x8); /* 0x2B075580: lea ecx, [ebp - 8] */ 41481 /* cmp ecx, eax */ /* 0x2B075583: cmp ecx, eax */ 41482 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 41483 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41484 _flag_k = FK_CMP; 41485 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075592; /* 0x2B075585: je 0x2b075592 */ 41486 L_2B075587: 41487 edx = MEM32(eax); /* 0x2B075587: mov edx, dword ptr [eax] */ 41488 eax = MEM32(eax + 0x4); /* 0x2B075589: mov eax, dword ptr [eax + 4] */ 41489 MEM32(ebp + (-0x8)) = edx; /* 0x2B07558C: mov dword ptr [ebp - 8], edx */ 41490 MEM32(ebp + (-0x4)) = eax; /* 0x2B07558F: mov dword ptr [ebp - 4], eax */ 41491 L_2B075592: 41492 PUSH32(esp, 0); /* 0x2B075592: push 0 */ 41493 PUSH32(esp, 0); /* 0x2B075594: push 0 */ 41494 PUSH32(esp, 0); /* 0x2B075596: push 0 */ 41495 PUSH32(esp, 0); /* 0x2B075598: push 0 */ 41496 PUSH32(esp, 1); /* 0x2B07559A: push 1 */ 41497 PUSH32(esp, 0); /* 0x2B07559C: push 0 */ 41498 ecx = ebp + (-0x8); /* 0x2B07559E: lea ecx, [ebp - 8] */ 41499 PUSH32(esp, ecx); /* 0x2B0755A1: push ecx */ 41500 ecx = MEM32(0x2B0EF01C); /* 0x2B0755A2: mov ecx, dword ptr [0x2b0ef01c] */ 41501 RECOMP_ICALL(0x2B06D8F0u); /* 0x2B0755A8: call 0x2b06d8f0 */ /* not lifted */ 41502 RECOMP_FLAGS_IN(); 41503 L_2B0755AD: 41504 esp = ebp; /* 0x2B0755AD: mov esp, ebp */ 41505 ebp = POP32_VAL(esp); /* 0x2B0755AF: pop ebp */ 41506 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0755B0: ret */ 41507 RECOMP_REGS_OUT(); 41508 } 41509 41510 void sub_2B0755C0(void) { 41511 int _fpu_cmp = 0; 41512 uint32_t _cf = 0; 41513 int _df = 1; 41514 uint32_t _flag_k = FK_NONE; 41515 uint32_t _flag_a = 0, _flag_b = 0; 41516 uint32_t _itail_tgt = 0; 41517 RECOMP_REGS_LOCALS 41518 RECOMP_ENTER(0x2B0755C0u); 41519 41520 L_2B0755C0: 41521 PUSH32(esp, ebp); /* 0x2B0755C0: push ebp */ 41522 ebp = esp; /* 0x2B0755C1: mov ebp, esp */ 41523 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 41524 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41525 esp = esp - 8; /* 0x2B0755C3: sub esp, 8 */ 41526 _flag_k = FK_CMP; 41527 eax = MEM32(0x2B0EF01C); /* 0x2B0755C6: mov eax, dword ptr [0x2b0ef01c] */ 41528 /* test eax, eax */ /* 0x2B0755CB: test eax, eax */ 41529 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 41530 _cf = 0; 41531 _flag_k = FK_TEST; 41532 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07560A; /* 0x2B0755CD: je 0x2b07560a */ 41533 L_2B0755CF: 41534 eax = ebp + (-0x8); /* 0x2B0755CF: lea eax, [ebp - 8] */ 41535 PUSH32(esp, eax); /* 0x2B0755D2: push eax */ 41536 MEM32(ebp + (-0x8)) = 0; /* 0x2B0755D3: mov dword ptr [ebp - 8], 0 */ 41537 MEM32(ebp + (-0x4)) = 0; /* 0x2B0755DA: mov dword ptr [ebp - 4], 0 */ 41538 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B0755E1: call dword ptr [0x2b0b53cc] */ 41539 RECOMP_FLAGS_IN(); 41540 ecx = eax; /* 0x2B0755E7: mov ecx, eax */ 41541 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B0755E9: call dword ptr [0x2b0b53ac] */ 41542 RECOMP_FLAGS_IN(); 41543 PUSH32(esp, 0); /* 0x2B0755EF: push 0 */ 41544 PUSH32(esp, 0); /* 0x2B0755F1: push 0 */ 41545 PUSH32(esp, 0); /* 0x2B0755F3: push 0 */ 41546 PUSH32(esp, 0); /* 0x2B0755F5: push 0 */ 41547 PUSH32(esp, 1); /* 0x2B0755F7: push 1 */ 41548 PUSH32(esp, 0); /* 0x2B0755F9: push 0 */ 41549 ecx = ebp + (-0x8); /* 0x2B0755FB: lea ecx, [ebp - 8] */ 41550 PUSH32(esp, ecx); /* 0x2B0755FE: push ecx */ 41551 ecx = MEM32(0x2B0EF01C); /* 0x2B0755FF: mov ecx, dword ptr [0x2b0ef01c] */ 41552 RECOMP_ICALL(0x2B06D8F0u); /* 0x2B075605: call 0x2b06d8f0 */ /* not lifted */ 41553 RECOMP_FLAGS_IN(); 41554 L_2B07560A: 41555 esp = ebp; /* 0x2B07560A: mov esp, ebp */ 41556 ebp = POP32_VAL(esp); /* 0x2B07560C: pop ebp */ 41557 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07560D: ret */ 41558 RECOMP_REGS_OUT(); 41559 } 41560 41561 void sub_2B075610(void) { 41562 int _fpu_cmp = 0; 41563 uint32_t _cf = 0; 41564 int _df = 1; 41565 uint32_t _flag_k = FK_NONE; 41566 uint32_t _flag_a = 0, _flag_b = 0; 41567 uint32_t _itail_tgt = 0; 41568 RECOMP_REGS_LOCALS 41569 RECOMP_ENTER(0x2B075610u); 41570 41571 L_2B075610: 41572 PUSH32(esp, ebp); /* 0x2B075610: push ebp */ 41573 ebp = esp; /* 0x2B075611: mov ebp, esp */ 41574 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 41575 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41576 esp = esp - 8; /* 0x2B075613: sub esp, 8 */ 41577 _flag_k = FK_CMP; 41578 eax = MEM32(0x2B0EF01C); /* 0x2B075616: mov eax, dword ptr [0x2b0ef01c] */ 41579 /* test eax, eax */ /* 0x2B07561B: test eax, eax */ 41580 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 41581 _cf = 0; 41582 _flag_k = FK_TEST; 41583 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07565D; /* 0x2B07561D: je 0x2b07565d */ 41584 L_2B07561F: 41585 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B07561F: call dword ptr [0x2b0b53cc] */ 41586 RECOMP_FLAGS_IN(); 41587 ecx = eax; /* 0x2B075625: mov ecx, eax */ 41588 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B075627: call dword ptr [0x2b0b53a4] */ 41589 RECOMP_FLAGS_IN(); 41590 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x54u); 41591 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 41592 eax = eax + 0x54u; /* 0x2B07562D: add eax, 0x54 */ 41593 _flag_k = FK_ADD; 41594 ecx = ebp + (-0x8); /* 0x2B075630: lea ecx, [ebp - 8] */ 41595 /* cmp ecx, eax */ /* 0x2B075633: cmp ecx, eax */ 41596 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 41597 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41598 _flag_k = FK_CMP; 41599 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075642; /* 0x2B075635: je 0x2b075642 */ 41600 L_2B075637: 41601 edx = MEM32(eax); /* 0x2B075637: mov edx, dword ptr [eax] */ 41602 eax = MEM32(eax + 0x4); /* 0x2B075639: mov eax, dword ptr [eax + 4] */ 41603 MEM32(ebp + (-0x8)) = edx; /* 0x2B07563C: mov dword ptr [ebp - 8], edx */ 41604 MEM32(ebp + (-0x4)) = eax; /* 0x2B07563F: mov dword ptr [ebp - 4], eax */ 41605 L_2B075642: 41606 PUSH32(esp, 0); /* 0x2B075642: push 0 */ 41607 PUSH32(esp, 0); /* 0x2B075644: push 0 */ 41608 PUSH32(esp, 0); /* 0x2B075646: push 0 */ 41609 PUSH32(esp, 0); /* 0x2B075648: push 0 */ 41610 PUSH32(esp, 0); /* 0x2B07564A: push 0 */ 41611 PUSH32(esp, 1); /* 0x2B07564C: push 1 */ 41612 ecx = ebp + (-0x8); /* 0x2B07564E: lea ecx, [ebp - 8] */ 41613 PUSH32(esp, ecx); /* 0x2B075651: push ecx */ 41614 ecx = MEM32(0x2B0EF01C); /* 0x2B075652: mov ecx, dword ptr [0x2b0ef01c] */ 41615 RECOMP_ICALL(0x2B06D8F0u); /* 0x2B075658: call 0x2b06d8f0 */ /* not lifted */ 41616 RECOMP_FLAGS_IN(); 41617 L_2B07565D: 41618 esp = ebp; /* 0x2B07565D: mov esp, ebp */ 41619 ebp = POP32_VAL(esp); /* 0x2B07565F: pop ebp */ 41620 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B075660: ret */ 41621 RECOMP_REGS_OUT(); 41622 } 41623 41624 void sub_2B075670(void) { 41625 int _fpu_cmp = 0; 41626 uint32_t _cf = 0; 41627 int _df = 1; 41628 uint32_t _flag_k = FK_NONE; 41629 uint32_t _flag_a = 0, _flag_b = 0; 41630 uint32_t _itail_tgt = 0; 41631 RECOMP_REGS_LOCALS 41632 RECOMP_ENTER(0x2B075670u); 41633 41634 L_2B075670: 41635 PUSH32(esp, ebp); /* 0x2B075670: push ebp */ 41636 ebp = esp; /* 0x2B075671: mov ebp, esp */ 41637 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 41638 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41639 esp = esp - 8; /* 0x2B075673: sub esp, 8 */ 41640 _flag_k = FK_CMP; 41641 eax = MEM32(0x2B0EF01C); /* 0x2B075676: mov eax, dword ptr [0x2b0ef01c] */ 41642 /* test eax, eax */ /* 0x2B07567B: test eax, eax */ 41643 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 41644 _cf = 0; 41645 _flag_k = FK_TEST; 41646 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0756BD; /* 0x2B07567D: je 0x2b0756bd */ 41647 L_2B07567F: 41648 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B07567F: call dword ptr [0x2b0b53cc] */ 41649 RECOMP_FLAGS_IN(); 41650 ecx = eax; /* 0x2B075685: mov ecx, eax */ 41651 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B075687: call dword ptr [0x2b0b53a4] */ 41652 RECOMP_FLAGS_IN(); 41653 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x54u); 41654 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 41655 eax = eax + 0x54u; /* 0x2B07568D: add eax, 0x54 */ 41656 _flag_k = FK_ADD; 41657 ecx = ebp + (-0x8); /* 0x2B075690: lea ecx, [ebp - 8] */ 41658 /* cmp ecx, eax */ /* 0x2B075693: cmp ecx, eax */ 41659 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 41660 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41661 _flag_k = FK_CMP; 41662 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0756A2; /* 0x2B075695: je 0x2b0756a2 */ 41663 L_2B075697: 41664 edx = MEM32(eax); /* 0x2B075697: mov edx, dword ptr [eax] */ 41665 eax = MEM32(eax + 0x4); /* 0x2B075699: mov eax, dword ptr [eax + 4] */ 41666 MEM32(ebp + (-0x8)) = edx; /* 0x2B07569C: mov dword ptr [ebp - 8], edx */ 41667 MEM32(ebp + (-0x4)) = eax; /* 0x2B07569F: mov dword ptr [ebp - 4], eax */ 41668 L_2B0756A2: 41669 PUSH32(esp, 0); /* 0x2B0756A2: push 0 */ 41670 PUSH32(esp, 1); /* 0x2B0756A4: push 1 */ 41671 PUSH32(esp, 0); /* 0x2B0756A6: push 0 */ 41672 PUSH32(esp, 0); /* 0x2B0756A8: push 0 */ 41673 PUSH32(esp, 0); /* 0x2B0756AA: push 0 */ 41674 PUSH32(esp, 0); /* 0x2B0756AC: push 0 */ 41675 ecx = ebp + (-0x8); /* 0x2B0756AE: lea ecx, [ebp - 8] */ 41676 PUSH32(esp, ecx); /* 0x2B0756B1: push ecx */ 41677 ecx = MEM32(0x2B0EF01C); /* 0x2B0756B2: mov ecx, dword ptr [0x2b0ef01c] */ 41678 RECOMP_ICALL(0x2B06D8F0u); /* 0x2B0756B8: call 0x2b06d8f0 */ /* not lifted */ 41679 RECOMP_FLAGS_IN(); 41680 L_2B0756BD: 41681 esp = ebp; /* 0x2B0756BD: mov esp, ebp */ 41682 ebp = POP32_VAL(esp); /* 0x2B0756BF: pop ebp */ 41683 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0756C0: ret */ 41684 RECOMP_REGS_OUT(); 41685 } 41686 41687 void sub_2B0756D0(void) { 41688 int _fpu_cmp = 0; 41689 uint32_t _cf = 0; 41690 int _df = 1; 41691 uint32_t _flag_k = FK_NONE; 41692 uint32_t _flag_a = 0, _flag_b = 0; 41693 uint32_t _itail_tgt = 0; 41694 RECOMP_REGS_LOCALS 41695 RECOMP_ENTER(0x2B0756D0u); 41696 41697 L_2B0756D0: 41698 PUSH32(esp, ebp); /* 0x2B0756D0: push ebp */ 41699 ebp = esp; /* 0x2B0756D1: mov ebp, esp */ 41700 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 41701 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41702 esp = esp - 0xCu; /* 0x2B0756D3: sub esp, 0xc */ 41703 _flag_k = FK_CMP; 41704 eax = MEM32(0x2B0EF01C); /* 0x2B0756D6: mov eax, dword ptr [0x2b0ef01c] */ 41705 /* test eax, eax */ /* 0x2B0756DB: test eax, eax */ 41706 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 41707 _cf = 0; 41708 _flag_k = FK_TEST; 41709 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075719; /* 0x2B0756DD: je 0x2b075719 */ 41710 L_2B0756DF: 41711 eax = ebp + (-0x4); /* 0x2B0756DF: lea eax, [ebp - 4] */ 41712 PUSH32(esp, eax); /* 0x2B0756E2: push eax */ 41713 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B0756E3: call dword ptr [0x2b0b53cc] */ 41714 RECOMP_FLAGS_IN(); 41715 ecx = eax; /* 0x2B0756E9: mov ecx, eax */ 41716 RECOMP_ICALL(MEM32(0x2B0B53A8)); /* 0x2B0756EB: call dword ptr [0x2b0b53a8] */ 41717 RECOMP_FLAGS_IN(); 41718 ecx = MEM32(ebp + (-0x4)); /* 0x2B0756F1: mov ecx, dword ptr [ebp - 4] */ 41719 PUSH32(esp, 0); /* 0x2B0756F4: push 0 */ 41720 PUSH32(esp, 0); /* 0x2B0756F6: push 0 */ 41721 PUSH32(esp, 0); /* 0x2B0756F8: push 0 */ 41722 PUSH32(esp, 0); /* 0x2B0756FA: push 0 */ 41723 PUSH32(esp, 0); /* 0x2B0756FC: push 0 */ 41724 PUSH32(esp, 0); /* 0x2B0756FE: push 0 */ 41725 edx = ebp + (-0xC); /* 0x2B075700: lea edx, [ebp - 0xc] */ 41726 MEM32(ebp + (-0x8)) = ecx; /* 0x2B075703: mov dword ptr [ebp - 8], ecx */ 41727 ecx = MEM32(0x2B0EF01C); /* 0x2B075706: mov ecx, dword ptr [0x2b0ef01c] */ 41728 PUSH32(esp, edx); /* 0x2B07570C: push edx */ 41729 MEM32(ebp + (-0xC)) = 0x1F4u; /* 0x2B07570D: mov dword ptr [ebp - 0xc], 0x1f4 */ 41730 RECOMP_ICALL(0x2B06D8F0u); /* 0x2B075714: call 0x2b06d8f0 */ /* not lifted */ 41731 RECOMP_FLAGS_IN(); 41732 L_2B075719: 41733 esp = ebp; /* 0x2B075719: mov esp, ebp */ 41734 ebp = POP32_VAL(esp); /* 0x2B07571B: pop ebp */ 41735 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07571C: ret */ 41736 RECOMP_REGS_OUT(); 41737 } 41738 41739 void sub_2B075720(void) { 41740 int _fpu_cmp = 0; 41741 uint32_t _cf = 0; 41742 int _df = 1; 41743 uint32_t _flag_k = FK_NONE; 41744 uint32_t _flag_a = 0, _flag_b = 0; 41745 uint32_t _itail_tgt = 0; 41746 RECOMP_REGS_LOCALS 41747 RECOMP_ENTER(0x2B075720u); 41748 41749 L_2B075720: 41750 PUSH32(esp, ebp); /* 0x2B075720: push ebp */ 41751 ebp = esp; /* 0x2B075721: mov ebp, esp */ 41752 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 41753 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41754 esp = esp - 0xCu; /* 0x2B075723: sub esp, 0xc */ 41755 _flag_k = FK_CMP; 41756 eax = MEM32(0x2B0EF01C); /* 0x2B075726: mov eax, dword ptr [0x2b0ef01c] */ 41757 /* test eax, eax */ /* 0x2B07572B: test eax, eax */ 41758 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 41759 _cf = 0; 41760 _flag_k = FK_TEST; 41761 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075769; /* 0x2B07572D: je 0x2b075769 */ 41762 L_2B07572F: 41763 eax = ebp + (-0x4); /* 0x2B07572F: lea eax, [ebp - 4] */ 41764 PUSH32(esp, eax); /* 0x2B075732: push eax */ 41765 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B075733: call dword ptr [0x2b0b53cc] */ 41766 RECOMP_FLAGS_IN(); 41767 ecx = eax; /* 0x2B075739: mov ecx, eax */ 41768 RECOMP_ICALL(MEM32(0x2B0B53A8)); /* 0x2B07573B: call dword ptr [0x2b0b53a8] */ 41769 RECOMP_FLAGS_IN(); 41770 ecx = MEM32(ebp + (-0x4)); /* 0x2B075741: mov ecx, dword ptr [ebp - 4] */ 41771 PUSH32(esp, 0); /* 0x2B075744: push 0 */ 41772 PUSH32(esp, 0); /* 0x2B075746: push 0 */ 41773 PUSH32(esp, 0); /* 0x2B075748: push 0 */ 41774 PUSH32(esp, 0); /* 0x2B07574A: push 0 */ 41775 PUSH32(esp, 0); /* 0x2B07574C: push 0 */ 41776 PUSH32(esp, 0); /* 0x2B07574E: push 0 */ 41777 edx = ebp + (-0xC); /* 0x2B075750: lea edx, [ebp - 0xc] */ 41778 MEM32(ebp + (-0x8)) = ecx; /* 0x2B075753: mov dword ptr [ebp - 8], ecx */ 41779 ecx = MEM32(0x2B0EF01C); /* 0x2B075756: mov ecx, dword ptr [0x2b0ef01c] */ 41780 PUSH32(esp, edx); /* 0x2B07575C: push edx */ 41781 MEM32(ebp + (-0xC)) = 0x1F5u; /* 0x2B07575D: mov dword ptr [ebp - 0xc], 0x1f5 */ 41782 RECOMP_ICALL(0x2B06D8F0u); /* 0x2B075764: call 0x2b06d8f0 */ /* not lifted */ 41783 RECOMP_FLAGS_IN(); 41784 L_2B075769: 41785 esp = ebp; /* 0x2B075769: mov esp, ebp */ 41786 ebp = POP32_VAL(esp); /* 0x2B07576B: pop ebp */ 41787 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07576C: ret */ 41788 RECOMP_REGS_OUT(); 41789 } 41790 41791 void sub_2B075770(void) { 41792 int _fpu_cmp = 0; 41793 uint32_t _cf = 0; 41794 int _df = 1; 41795 uint32_t _flag_k = FK_NONE; 41796 uint32_t _flag_a = 0, _flag_b = 0; 41797 uint32_t _itail_tgt = 0; 41798 RECOMP_REGS_LOCALS 41799 RECOMP_ENTER(0x2B075770u); 41800 41801 goto L_2B075770; 41802 L_2B06CBD0: 41803 PUSH32(esp, esi); /* 0x2B06CBD0: push esi */ 41804 esi = ecx; /* 0x2B06CBD1: mov esi, ecx */ 41805 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 41806 eax = 0; /* 0x2B06CBD3: xor eax, eax */ 41807 _cf = 0; 41808 _flag_k = FK_TEST; 41809 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 41810 ecx = 0; /* 0x2B06CBD5: xor ecx, ecx */ 41811 _cf = 0; 41812 _flag_k = FK_TEST; 41813 MEM32(esi + 0xC) = eax; /* 0x2B06CBD7: mov dword ptr [esi + 0xc], eax */ 41814 PUSH32(esp, 0x10u); /* 0x2B06CBDA: push 0x10 */ 41815 MEM32(esi + 0x10) = ecx; /* 0x2B06CBDC: mov dword ptr [esi + 0x10], ecx */ 41816 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B06CBDF: call dword ptr [0x2b0b5b64] */ 41817 RECOMP_FLAGS_IN(); 41818 ecx = eax; /* 0x2B06CBE5: mov ecx, eax */ 41819 RECOMP_ICALL(MEM32(0x2B0B5B68)); /* 0x2B06CBE7: call dword ptr [0x2b0b5b68] */ 41820 RECOMP_FLAGS_IN(); 41821 ecx = esi; /* 0x2B06CBED: mov ecx, esi */ 41822 MEM8(esi + 0x4C) = (uint8_t)(0); /* 0x2B06CBEF: mov byte ptr [esi + 0x4c], 0 */ 41823 RECOMP_ICALL(0x2B06CF30u); /* 0x2B06CBF3: call 0x2b06cf30 */ /* not lifted */ 41824 RECOMP_FLAGS_IN(); 41825 esi = POP32_VAL(esp); /* 0x2B06CBF8: pop esi */ 41826 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06CBF9: ret */ 41827 L_2B075770: 41828 ecx = MEM32(0x2B0EF01C); /* 0x2B075770: mov ecx, dword ptr [0x2b0ef01c] */ 41829 /* test ecx, ecx */ /* 0x2B075776: test ecx, ecx */ 41830 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 41831 _cf = 0; 41832 _flag_k = FK_TEST; 41833 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07577F; /* 0x2B075778: je 0x2b07577f */ 41834 L_2B07577A: 41835 RECOMP_BACKEDGE(); 41836 goto L_2B06CBD0; /* 0x2B07577A: jmp 0x2b06cbd0 */ 41837 L_2B07577F: 41838 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07577F: ret */ 41839 RECOMP_REGS_OUT(); 41840 } 41841 41842 void sub_2B075780(void) { 41843 int _fpu_cmp = 0; 41844 uint32_t _cf = 0; 41845 int _df = 1; 41846 uint32_t _flag_k = FK_NONE; 41847 uint32_t _flag_a = 0, _flag_b = 0; 41848 uint32_t _itail_tgt = 0; 41849 RECOMP_REGS_LOCALS 41850 RECOMP_ENTER(0x2B075780u); 41851 41852 L_2B075780: 41853 PUSH32(esp, ebp); /* 0x2B075780: push ebp */ 41854 ebp = esp; /* 0x2B075781: mov ebp, esp */ 41855 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 41856 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41857 esp = esp - 8; /* 0x2B075783: sub esp, 8 */ 41858 _flag_k = FK_CMP; 41859 eax = MEM32(0x2B0EF01C); /* 0x2B075786: mov eax, dword ptr [0x2b0ef01c] */ 41860 /* test eax, eax */ /* 0x2B07578B: test eax, eax */ 41861 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 41862 _cf = 0; 41863 _flag_k = FK_TEST; 41864 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0757F6; /* 0x2B07578D: je 0x2b0757f6 */ 41865 L_2B07578F: 41866 eax = ebp + (-0x8); /* 0x2B07578F: lea eax, [ebp - 8] */ 41867 PUSH32(esp, eax); /* 0x2B075792: push eax */ 41868 MEM32(ebp + (-0x8)) = 0; /* 0x2B075793: mov dword ptr [ebp - 8], 0 */ 41869 MEM32(ebp + (-0x4)) = 0; /* 0x2B07579A: mov dword ptr [ebp - 4], 0 */ 41870 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B0757A1: call dword ptr [0x2b0b53cc] */ 41871 RECOMP_FLAGS_IN(); 41872 ecx = eax; /* 0x2B0757A7: mov ecx, eax */ 41873 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B0757A9: call dword ptr [0x2b0b53ac] */ 41874 RECOMP_FLAGS_IN(); 41875 ecx = MEM32(0x2B0EF01C); /* 0x2B0757AF: mov ecx, dword ptr [0x2b0ef01c] */ 41876 edx = MEM32(ebp + (-0x4)); /* 0x2B0757B5: mov edx, dword ptr [ebp - 4] */ 41877 /* cmp edx, MEM32(ecx + 0x4) */ /* 0x2B0757B8: cmp edx, dword ptr [ecx + 4] */ 41878 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 41879 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41880 _flag_k = FK_CMP; 41881 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0757D1; /* 0x2B0757BB: jne 0x2b0757d1 */ 41882 L_2B0757BD: 41883 eax = MEM32(ebp + (-0x8)); /* 0x2B0757BD: mov eax, dword ptr [ebp - 8] */ 41884 /* cmp eax, MEM32(ecx) */ /* 0x2B0757C0: cmp eax, dword ptr [ecx] */ 41885 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 41886 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41887 _flag_k = FK_CMP; 41888 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0757D1; /* 0x2B0757C2: jne 0x2b0757d1 */ 41889 L_2B0757C4: 41890 edx = ebp + (-0x8); /* 0x2B0757C4: lea edx, [ebp - 8] */ 41891 PUSH32(esp, edx); /* 0x2B0757C7: push edx */ 41892 RECOMP_ICALL(0x2B074A20u); /* 0x2B0757C8: call 0x2b074a20 */ /* not lifted */ 41893 RECOMP_FLAGS_IN(); 41894 esp = ebp; /* 0x2B0757CD: mov esp, ebp */ 41895 ebp = POP32_VAL(esp); /* 0x2B0757CF: pop ebp */ 41896 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0757D0: ret */ 41897 L_2B0757D1: 41898 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 41899 edx = 0; /* 0x2B0757D1: xor edx, edx */ 41900 _cf = 0; 41901 _flag_k = FK_TEST; 41902 PUSH32(esp, edx); /* 0x2B0757D3: push edx */ 41903 PUSH32(esp, edx); /* 0x2B0757D4: push edx */ 41904 PUSH32(esp, 1); /* 0x2B0757D5: push 1 */ 41905 PUSH32(esp, edx); /* 0x2B0757D7: push edx */ 41906 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 41907 eax = 0; /* 0x2B0757D8: xor eax, eax */ 41908 _cf = 0; 41909 _flag_k = FK_TEST; 41910 MEM32(ecx + 0xC) = eax; /* 0x2B0757DA: mov dword ptr [ecx + 0xc], eax */ 41911 eax = MEM32(0x2B0EF01C); /* 0x2B0757DD: mov eax, dword ptr [0x2b0ef01c] */ 41912 PUSH32(esp, edx); /* 0x2B0757E2: push edx */ 41913 PUSH32(esp, edx); /* 0x2B0757E3: push edx */ 41914 ecx = ebp + (-0x8); /* 0x2B0757E4: lea ecx, [ebp - 8] */ 41915 MEM32(eax + 0x10) = edx; /* 0x2B0757E7: mov dword ptr [eax + 0x10], edx */ 41916 PUSH32(esp, ecx); /* 0x2B0757EA: push ecx */ 41917 ecx = MEM32(0x2B0EF01C); /* 0x2B0757EB: mov ecx, dword ptr [0x2b0ef01c] */ 41918 RECOMP_ICALL(0x2B06D8F0u); /* 0x2B0757F1: call 0x2b06d8f0 */ /* not lifted */ 41919 RECOMP_FLAGS_IN(); 41920 L_2B0757F6: 41921 esp = ebp; /* 0x2B0757F6: mov esp, ebp */ 41922 ebp = POP32_VAL(esp); /* 0x2B0757F8: pop ebp */ 41923 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0757F9: ret */ 41924 RECOMP_REGS_OUT(); 41925 } 41926 41927 void sub_2B075800(void) { 41928 int _fpu_cmp = 0; 41929 uint32_t _cf = 0; 41930 int _df = 1; 41931 uint32_t _flag_k = FK_NONE; 41932 uint32_t _flag_a = 0, _flag_b = 0; 41933 uint32_t _itail_tgt = 0; 41934 RECOMP_REGS_LOCALS 41935 RECOMP_ENTER(0x2B075800u); 41936 41937 L_2B075800: 41938 PUSH32(esp, ebp); /* 0x2B075800: push ebp */ 41939 ebp = esp; /* 0x2B075801: mov ebp, esp */ 41940 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B075803: push -1 */ 41941 PUSH32(esp, 0x2B0B134Eu); /* 0x2B075805: push 0x2b0b134e */ 41942 eax = MEM32(FS_BASE + (0)); /* 0x2B07580A: mov eax, dword ptr fs:[0] */ 41943 PUSH32(esp, eax); /* 0x2B075810: push eax */ 41944 MEM32(FS_BASE + (0)) = esp; /* 0x2B075811: mov dword ptr fs:[0], esp */ 41945 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x28u); 41946 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41947 esp = esp - 0x28u; /* 0x2B075818: sub esp, 0x28 */ 41948 _flag_k = FK_CMP; 41949 eax = MEM32(0x2B0EF01C); /* 0x2B07581B: mov eax, dword ptr [0x2b0ef01c] */ 41950 PUSH32(esp, edi); /* 0x2B075820: push edi */ 41951 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 41952 edi = 0; /* 0x2B075821: xor edi, edi */ 41953 _cf = 0; 41954 _flag_k = FK_TEST; 41955 /* cmp eax, edi */ /* 0x2B075823: cmp eax, edi */ 41956 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 41957 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 41958 _flag_k = FK_CMP; 41959 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07597A; /* 0x2B075825: je 0x2b07597a */ 41960 L_2B07582B: 41961 PUSH32(esp, ebx); /* 0x2B07582B: push ebx */ 41962 PUSH32(esp, esi); /* 0x2B07582C: push esi */ 41963 esi = MEM32(0x2B0B53CC); /* 0x2B07582D: mov esi, dword ptr [0x2b0b53cc] */ 41964 eax = ebp + (-0x20); /* 0x2B075833: lea eax, [ebp - 0x20] */ 41965 PUSH32(esp, eax); /* 0x2B075836: push eax */ 41966 MEM32(ebp + (-0x20)) = edi; /* 0x2B075837: mov dword ptr [ebp - 0x20], edi */ 41967 MEM32(ebp + (-0x1C)) = edi; /* 0x2B07583A: mov dword ptr [ebp - 0x1c], edi */ 41968 RECOMP_ICALL(esi); /* 0x2B07583D: call esi */ 41969 RECOMP_FLAGS_IN(); 41970 ecx = eax; /* 0x2B07583F: mov ecx, eax */ 41971 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B075841: call dword ptr [0x2b0b53ac] */ 41972 RECOMP_FLAGS_IN(); 41973 ecx = ebp + (-0x14); /* 0x2B075847: lea ecx, [ebp - 0x14] */ 41974 PUSH32(esp, ecx); /* 0x2B07584A: push ecx */ 41975 RECOMP_ICALL(esi); /* 0x2B07584B: call esi */ 41976 RECOMP_FLAGS_IN(); 41977 ecx = eax; /* 0x2B07584D: mov ecx, eax */ 41978 RECOMP_ICALL(MEM32(0x2B0B53A8)); /* 0x2B07584F: call dword ptr [0x2b0b53a8] */ 41979 RECOMP_FLAGS_IN(); 41980 RECOMP_ICALL(esi); /* 0x2B075855: call esi */ 41981 RECOMP_FLAGS_IN(); 41982 ecx = eax; /* 0x2B075857: mov ecx, eax */ 41983 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B075859: call dword ptr [0x2b0b53a4] */ 41984 RECOMP_FLAGS_IN(); 41985 SET_LO8(edx, MEM8(ebp + (-0xD))); /* 0x2B07585F: mov dl, byte ptr [ebp - 0xd] */ 41986 esi = eax; /* 0x2B075862: mov esi, eax */ 41987 MEM8(ebp + (-0x34)) = (uint8_t)(LO8(edx)); /* 0x2B075864: mov byte ptr [ebp - 0x34], dl */ 41988 MEM32(ebp + (-0x30)) = edi; /* 0x2B075867: mov dword ptr [ebp - 0x30], edi */ 41989 MEM32(ebp + (-0x2C)) = edi; /* 0x2B07586A: mov dword ptr [ebp - 0x2c], edi */ 41990 MEM32(ebp + (-0x28)) = edi; /* 0x2B07586D: mov dword ptr [ebp - 0x28], edi */ 41991 MEM32(ebp + (-0x24)) = edi; /* 0x2B075870: mov dword ptr [ebp - 0x24], edi */ 41992 ebx = MEM32(ebp + (-0x14)); /* 0x2B075873: mov ebx, dword ptr [ebp - 0x14] */ 41993 ecx = ebp + (-0x34); /* 0x2B075876: lea ecx, [ebp - 0x34] */ 41994 MEM32(ebp + (-0x4)) = edi; /* 0x2B075879: mov dword ptr [ebp - 4], edi */ 41995 RECOMP_ICALL(MEM32(0x2B0B5118)); /* 0x2B07587C: call dword ptr [0x2b0b5118] */ 41996 RECOMP_FLAGS_IN(); 41997 /* cmp eax, ebx */ /* 0x2B075882: cmp eax, ebx */ 41998 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 41999 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42000 _flag_k = FK_CMP; 42001 if (CMP_AE(_flag_a, _flag_b)) goto L_2B07588C; /* 0x2B075884: jae 0x2b07588c */ 42002 L_2B075886: 42003 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B075886: call dword ptr [0x2b0b51a8] */ 42004 RECOMP_FLAGS_IN(); 42005 L_2B07588C: 42006 eax = MEM32(ebp + (-0x30)); /* 0x2B07588C: mov eax, dword ptr [ebp - 0x30] */ 42007 /* cmp eax, edi */ /* 0x2B07588F: cmp eax, edi */ 42008 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 42009 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42010 _flag_k = FK_CMP; 42011 MEM32(ebp + (-0x2C)) = edi; /* 0x2B075891: mov dword ptr [ebp - 0x2c], edi */ 42012 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0758B2; /* 0x2B075894: je 0x2b0758b2 */ 42013 L_2B075896: 42014 SET_LO8(eax, MEM8(eax + (-0x1))); /* 0x2B075896: mov al, byte ptr [eax - 1] */ 42015 /* test LO8(eax), LO8(eax) */ /* 0x2B075899: test al, al */ 42016 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 42017 _cf = 0; 42018 _flag_k = FK_NARROW(FK_TEST, 24); 42019 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0758B2; /* 0x2B07589B: je 0x2b0758b2 */ 42020 L_2B07589D: 42021 /* cmp LO8(eax), 0xFFu */ /* 0x2B07589D: cmp al, 0xff */ 42022 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 42023 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42024 _flag_k = FK_NARROW(FK_CMP, 24); 42025 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0758B2; /* 0x2B07589F: je 0x2b0758b2 */ 42026 L_2B0758A1: 42027 /* cmp ebx, edi */ /* 0x2B0758A1: cmp ebx, edi */ 42028 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edi); 42029 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42030 _flag_k = FK_CMP; 42031 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0758DA; /* 0x2B0758A3: jne 0x2b0758da */ 42032 L_2B0758A5: 42033 PUSH32(esp, 1); /* 0x2B0758A5: push 1 */ 42034 ecx = ebp + (-0x34); /* 0x2B0758A7: lea ecx, [ebp - 0x34] */ 42035 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0758AA: call dword ptr [0x2b0b514c] */ 42036 RECOMP_FLAGS_IN(); 42037 goto L_2B075903; /* 0x2B0758B0: jmp 0x2b075903 */ 42038 L_2B0758B2: 42039 /* cmp ebx, edi */ /* 0x2B0758B2: cmp ebx, edi */ 42040 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edi); 42041 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42042 _flag_k = FK_CMP; 42043 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0758C3; /* 0x2B0758B4: jne 0x2b0758c3 */ 42044 L_2B0758B6: 42045 PUSH32(esp, 1); /* 0x2B0758B6: push 1 */ 42046 ecx = ebp + (-0x34); /* 0x2B0758B8: lea ecx, [ebp - 0x34] */ 42047 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0758BB: call dword ptr [0x2b0b514c] */ 42048 RECOMP_FLAGS_IN(); 42049 goto L_2B075903; /* 0x2B0758C1: jmp 0x2b075903 */ 42050 L_2B0758C3: 42051 eax = MEM32(ebp + (-0x28)); /* 0x2B0758C3: mov eax, dword ptr [ebp - 0x28] */ 42052 /* cmp eax, 0x1Fu */ /* 0x2B0758C6: cmp eax, 0x1f */ 42053 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1Fu); 42054 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42055 _flag_k = FK_CMP; 42056 if (CMP_A(_flag_a, _flag_b)) goto L_2B0758CF; /* 0x2B0758C9: ja 0x2b0758cf */ 42057 L_2B0758CB: 42058 /* cmp eax, ebx */ /* 0x2B0758CB: cmp eax, ebx */ 42059 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 42060 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42061 _flag_k = FK_CMP; 42062 if (CMP_AE(_flag_a, _flag_b)) goto L_2B0758E4; /* 0x2B0758CD: jae 0x2b0758e4 */ 42063 L_2B0758CF: 42064 PUSH32(esp, 1); /* 0x2B0758CF: push 1 */ 42065 ecx = ebp + (-0x34); /* 0x2B0758D1: lea ecx, [ebp - 0x34] */ 42066 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0758D4: call dword ptr [0x2b0b514c] */ 42067 RECOMP_FLAGS_IN(); 42068 L_2B0758DA: 42069 PUSH32(esp, ebx); /* 0x2B0758DA: push ebx */ 42070 ecx = ebp + (-0x34); /* 0x2B0758DB: lea ecx, [ebp - 0x34] */ 42071 RECOMP_ICALL(MEM32(0x2B0B5110)); /* 0x2B0758DE: call dword ptr [0x2b0b5110] */ 42072 RECOMP_FLAGS_IN(); 42073 L_2B0758E4: 42074 edi = MEM32(ebp + (-0x30)); /* 0x2B0758E4: mov edi, dword ptr [ebp - 0x30] */ 42075 ecx = ebx; /* 0x2B0758E7: mov ecx, ebx */ 42076 eax = ecx; /* 0x2B0758E9: mov eax, ecx */ 42077 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0758EB: shr ecx, 2 */ 42078 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 42079 ecx = ecx >> 2u; /* 0x2B0758EB: shr ecx, 2 */ 42080 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0758EE: 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; } 42081 ecx = eax; /* 0x2B0758F0: mov ecx, eax */ 42082 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 42083 ecx = ecx & 3; /* 0x2B0758F2: and ecx, 3 */ 42084 _cf = 0; 42085 _flag_k = FK_TEST; 42086 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0758F5: 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; } 42087 PUSH32(esp, ebx); /* 0x2B0758F7: push ebx */ 42088 ecx = ebp + (-0x34); /* 0x2B0758F8: lea ecx, [ebp - 0x34] */ 42089 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B0758FB: call dword ptr [0x2b0b5150] */ 42090 RECOMP_FLAGS_IN(); 42091 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 42092 edi = 0; /* 0x2B075901: xor edi, edi */ 42093 _cf = 0; 42094 _flag_k = FK_TEST; 42095 L_2B075903: 42096 PUSH32(esp, edi); /* 0x2B075903: push edi */ 42097 PUSH32(esp, edi); /* 0x2B075904: push edi */ 42098 PUSH32(esp, edi); /* 0x2B075905: push edi */ 42099 ecx = ebp + (-0x34); /* 0x2B075906: lea ecx, [ebp - 0x34] */ 42100 PUSH32(esp, ecx); /* 0x2B075909: push ecx */ 42101 ecx = MEM32(0x2B0EF01C); /* 0x2B07590A: mov ecx, dword ptr [0x2b0ef01c] */ 42102 PUSH32(esp, edi); /* 0x2B075910: push edi */ 42103 PUSH32(esp, edi); /* 0x2B075911: push edi */ 42104 edx = ebp + (-0x20); /* 0x2B075912: lea edx, [ebp - 0x20] */ 42105 PUSH32(esp, edx); /* 0x2B075915: push edx */ 42106 RECOMP_ICALL(0x2B06D8F0u); /* 0x2B075916: call 0x2b06d8f0 */ /* not lifted */ 42107 RECOMP_FLAGS_IN(); 42108 esi = MEM32(ebp + (-0x24)); /* 0x2B07591B: mov esi, dword ptr [ebp - 0x24] */ 42109 /* cmp esi, edi */ /* 0x2B07591E: cmp esi, edi */ 42110 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 42111 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42112 _flag_k = FK_CMP; 42113 MEM32(ebp + (-0x4)) = 1; /* 0x2B075920: mov dword ptr [ebp - 4], 1 */ 42114 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075966; /* 0x2B075927: je 0x2b075966 */ 42115 L_2B075929: 42116 edx = MEM32(esi + 0x2C); /* 0x2B075929: mov edx, dword ptr [esi + 0x2c] */ 42117 eax = esi + 0x2C; /* 0x2B07592C: lea eax, [esi + 0x2c] */ 42118 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 42119 edx = edx - 1; /* 0x2B07592F: dec edx */ 42120 _flag_k = FK_DEC; 42121 ecx = edx; /* 0x2B075930: mov ecx, edx */ 42122 /* cmp ecx, edi */ /* 0x2B075932: cmp ecx, edi */ 42123 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 42124 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42125 _flag_k = FK_CMP; 42126 MEM32(eax) = edx; /* 0x2B075934: mov dword ptr [eax], edx */ 42127 if (CMP_NE(_flag_a, _flag_b)) goto L_2B075966; /* 0x2B075936: jne 0x2b075966 */ 42128 L_2B075938: 42129 /* cmp esi, edi */ /* 0x2B075938: cmp esi, edi */ 42130 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 42131 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42132 _flag_k = FK_CMP; 42133 MEM32(ebp + (-0x18)) = esi; /* 0x2B07593A: mov dword ptr [ebp - 0x18], esi */ 42134 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075966; /* 0x2B07593D: je 0x2b075966 */ 42135 L_2B07593F: 42136 PUSH32(esp, 1); /* 0x2B07593F: push 1 */ 42137 ecx = esi + 0x1C; /* 0x2B075941: lea ecx, [esi + 0x1c] */ 42138 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B075944: mov byte ptr [ebp - 4], 2 */ 42139 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B075948: call dword ptr [0x2b0b514c] */ 42140 RECOMP_FLAGS_IN(); 42141 PUSH32(esp, 1); /* 0x2B07594E: push 1 */ 42142 ecx = esi + 0xC; /* 0x2B075950: lea ecx, [esi + 0xc] */ 42143 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B075953: mov byte ptr [ebp - 4], 1 */ 42144 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B075957: call dword ptr [0x2b0b514c] */ 42145 RECOMP_FLAGS_IN(); 42146 PUSH32(esp, esi); /* 0x2B07595D: push esi */ 42147 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07595E: call 0x2b0ab1ba */ /* not lifted */ 42148 RECOMP_FLAGS_IN(); 42149 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 42150 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 42151 esp = esp + 4; /* 0x2B075963: add esp, 4 */ 42152 _flag_k = FK_ADD; 42153 L_2B075966: 42154 PUSH32(esp, 1); /* 0x2B075966: push 1 */ 42155 ecx = ebp + (-0x34); /* 0x2B075968: lea ecx, [ebp - 0x34] */ 42156 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B07596B: mov dword ptr [ebp - 4], 0xffffffff */ 42157 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B075972: call dword ptr [0x2b0b514c] */ 42158 RECOMP_FLAGS_IN(); 42159 esi = POP32_VAL(esp); /* 0x2B075978: pop esi */ 42160 ebx = POP32_VAL(esp); /* 0x2B075979: pop ebx */ 42161 L_2B07597A: 42162 ecx = MEM32(ebp + (-0xC)); /* 0x2B07597A: mov ecx, dword ptr [ebp - 0xc] */ 42163 edi = POP32_VAL(esp); /* 0x2B07597D: pop edi */ 42164 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07597E: mov dword ptr fs:[0], ecx */ 42165 esp = ebp; /* 0x2B075985: mov esp, ebp */ 42166 ebp = POP32_VAL(esp); /* 0x2B075987: pop ebp */ 42167 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B075988: ret */ 42168 RECOMP_REGS_OUT(); 42169 } 42170 42171 void sub_2B075990(void) { 42172 int _fpu_cmp = 0; 42173 uint32_t _cf = 0; 42174 int _df = 1; 42175 uint32_t _flag_k = FK_NONE; 42176 uint32_t _flag_a = 0, _flag_b = 0; 42177 uint32_t _itail_tgt = 0; 42178 RECOMP_REGS_LOCALS 42179 RECOMP_ENTER(0x2B075990u); 42180 42181 L_2B075990: 42182 PUSH32(esp, ebp); /* 0x2B075990: push ebp */ 42183 ebp = esp; /* 0x2B075991: mov ebp, esp */ 42184 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 42185 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42186 esp = esp - 0xCu; /* 0x2B075993: sub esp, 0xc */ 42187 _flag_k = FK_CMP; 42188 eax = MEM32(0x2B0EF01C); /* 0x2B075996: mov eax, dword ptr [0x2b0ef01c] */ 42189 /* test eax, eax */ /* 0x2B07599B: test eax, eax */ 42190 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 42191 _cf = 0; 42192 _flag_k = FK_TEST; 42193 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075A08; /* 0x2B07599D: je 0x2b075a08 */ 42194 L_2B07599F: 42195 PUSH32(esp, esi); /* 0x2B07599F: push esi */ 42196 esi = MEM32(0x2B0B53CC); /* 0x2B0759A0: mov esi, dword ptr [0x2b0b53cc] */ 42197 eax = ebp + (-0x4); /* 0x2B0759A6: lea eax, [ebp - 4] */ 42198 PUSH32(esp, eax); /* 0x2B0759A9: push eax */ 42199 RECOMP_ICALL(esi); /* 0x2B0759AA: call esi */ 42200 RECOMP_FLAGS_IN(); 42201 ecx = eax; /* 0x2B0759AC: mov ecx, eax */ 42202 RECOMP_ICALL(MEM32(0x2B0B53A0)); /* 0x2B0759AE: call dword ptr [0x2b0b53a0] */ 42203 RECOMP_FLAGS_IN(); 42204 MEM32(ebp + (-0xC)) = 0; /* 0x2B0759B4: mov dword ptr [ebp - 0xc], 0 */ 42205 MEM32(ebp + (-0x8)) = 0; /* 0x2B0759BB: mov dword ptr [ebp - 8], 0 */ 42206 RECOMP_ICALL(esi); /* 0x2B0759C2: call esi */ 42207 RECOMP_FLAGS_IN(); 42208 ecx = eax; /* 0x2B0759C4: mov ecx, eax */ 42209 RECOMP_ICALL(MEM32(0x2B0B539C)); /* 0x2B0759C6: call dword ptr [0x2b0b539c] */ 42210 RECOMP_FLAGS_IN(); 42211 /* cmp eax, 0x11u */ /* 0x2B0759CC: cmp eax, 0x11 */ 42212 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x11u); 42213 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42214 _flag_k = FK_CMP; 42215 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0759E1; /* 0x2B0759CF: jne 0x2b0759e1 */ 42216 L_2B0759D1: 42217 ecx = ebp + (-0xC); /* 0x2B0759D1: lea ecx, [ebp - 0xc] */ 42218 PUSH32(esp, ecx); /* 0x2B0759D4: push ecx */ 42219 RECOMP_ICALL(esi); /* 0x2B0759D5: call esi */ 42220 RECOMP_FLAGS_IN(); 42221 ecx = eax; /* 0x2B0759D7: mov ecx, eax */ 42222 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B0759D9: call dword ptr [0x2b0b53ac] */ 42223 RECOMP_FLAGS_IN(); 42224 goto L_2B0759EA; /* 0x2B0759DF: jmp 0x2b0759ea */ 42225 L_2B0759E1: 42226 RECOMP_ICALL(MEM32(0x2B0B523C)); /* 0x2B0759E1: call dword ptr [0x2b0b523c] */ 42227 RECOMP_FLAGS_IN(); 42228 MEM32(ebp + (-0x8)) = eax; /* 0x2B0759E7: mov dword ptr [ebp - 8], eax */ 42229 L_2B0759EA: 42230 edx = MEM32(ebp + (-0x4)); /* 0x2B0759EA: mov edx, dword ptr [ebp - 4] */ 42231 ecx = MEM32(0x2B0EF01C); /* 0x2B0759ED: mov ecx, dword ptr [0x2b0ef01c] */ 42232 PUSH32(esp, 0); /* 0x2B0759F3: push 0 */ 42233 PUSH32(esp, 0); /* 0x2B0759F5: push 0 */ 42234 PUSH32(esp, 0); /* 0x2B0759F7: push 0 */ 42235 PUSH32(esp, edx); /* 0x2B0759F9: push edx */ 42236 PUSH32(esp, 0); /* 0x2B0759FA: push 0 */ 42237 PUSH32(esp, 0); /* 0x2B0759FC: push 0 */ 42238 eax = ebp + (-0xC); /* 0x2B0759FE: lea eax, [ebp - 0xc] */ 42239 PUSH32(esp, eax); /* 0x2B075A01: push eax */ 42240 RECOMP_ICALL(0x2B06D8F0u); /* 0x2B075A02: call 0x2b06d8f0 */ /* not lifted */ 42241 RECOMP_FLAGS_IN(); 42242 esi = POP32_VAL(esp); /* 0x2B075A07: pop esi */ 42243 L_2B075A08: 42244 esp = ebp; /* 0x2B075A08: mov esp, ebp */ 42245 ebp = POP32_VAL(esp); /* 0x2B075A0A: pop ebp */ 42246 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B075A0B: ret */ 42247 RECOMP_REGS_OUT(); 42248 } 42249 42250 void sub_2B075A10(void) { 42251 int _fpu_cmp = 0; 42252 uint32_t _cf = 0; 42253 int _df = 1; 42254 uint32_t _flag_k = FK_NONE; 42255 uint32_t _flag_a = 0, _flag_b = 0; 42256 uint32_t _itail_tgt = 0; 42257 RECOMP_REGS_LOCALS 42258 RECOMP_ENTER(0x2B075A10u); 42259 42260 L_2B075A10: 42261 PUSH32(esp, ebp); /* 0x2B075A10: push ebp */ 42262 ebp = esp; /* 0x2B075A11: mov ebp, esp */ 42263 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B075A13: push -1 */ 42264 PUSH32(esp, 0x2B0B137Eu); /* 0x2B075A15: push 0x2b0b137e */ 42265 eax = MEM32(FS_BASE + (0)); /* 0x2B075A1A: mov eax, dword ptr fs:[0] */ 42266 PUSH32(esp, eax); /* 0x2B075A20: push eax */ 42267 MEM32(FS_BASE + (0)) = esp; /* 0x2B075A21: mov dword ptr fs:[0], esp */ 42268 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x24u); 42269 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42270 esp = esp - 0x24u; /* 0x2B075A28: sub esp, 0x24 */ 42271 _flag_k = FK_CMP; 42272 eax = MEM32(0x2B0EF01C); /* 0x2B075A2B: mov eax, dword ptr [0x2b0ef01c] */ 42273 PUSH32(esp, ebx); /* 0x2B075A30: push ebx */ 42274 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 42275 ebx = 0; /* 0x2B075A31: xor ebx, ebx */ 42276 _cf = 0; 42277 _flag_k = FK_TEST; 42278 /* cmp eax, ebx */ /* 0x2B075A33: cmp eax, ebx */ 42279 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 42280 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42281 _flag_k = FK_CMP; 42282 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075B3E; /* 0x2B075A35: je 0x2b075b3e */ 42283 L_2B075A3B: 42284 PUSH32(esp, esi); /* 0x2B075A3B: push esi */ 42285 PUSH32(esp, edi); /* 0x2B075A3C: push edi */ 42286 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B075A3D: call dword ptr [0x2b0b53cc] */ 42287 RECOMP_FLAGS_IN(); 42288 ecx = eax; /* 0x2B075A43: mov ecx, eax */ 42289 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B075A45: call dword ptr [0x2b0b53a4] */ 42290 RECOMP_FLAGS_IN(); 42291 edx = eax; /* 0x2B075A4B: mov edx, eax */ 42292 SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2B075A4D: mov al, byte ptr [ebp - 0xd] */ 42293 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 42294 ecx = ecx | 0xFFFFFFFFu; /* 0x2B075A50: or ecx, 0xffffffff */ 42295 _cf = 0; 42296 _flag_k = FK_TEST; 42297 MEM8(ebp + (-0x30)) = (uint8_t)(LO8(eax)); /* 0x2B075A53: mov byte ptr [ebp - 0x30], al */ 42298 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 42299 eax = 0; /* 0x2B075A56: xor eax, eax */ 42300 _cf = 0; 42301 _flag_k = FK_TEST; 42302 edi = edx; /* 0x2B075A58: mov edi, edx */ 42303 MEM32(ebp + (-0x2C)) = ebx; /* 0x2B075A5A: mov dword ptr [ebp - 0x2c], ebx */ 42304 MEM32(ebp + (-0x28)) = ebx; /* 0x2B075A5D: mov dword ptr [ebp - 0x28], ebx */ 42305 MEM32(ebp + (-0x24)) = ebx; /* 0x2B075A60: mov dword ptr [ebp - 0x24], ebx */ 42306 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; } /* 0x2B075A63: repne scasb al, byte ptr es:[edi] */ 42307 ecx = ~ecx; /* 0x2B075A65: not ecx */ 42308 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 42309 ecx = ecx - 1; /* 0x2B075A67: dec ecx */ 42310 _flag_k = FK_DEC; 42311 PUSH32(esp, ecx); /* 0x2B075A68: push ecx */ 42312 PUSH32(esp, edx); /* 0x2B075A69: push edx */ 42313 ecx = ebp + (-0x30); /* 0x2B075A6A: lea ecx, [ebp - 0x30] */ 42314 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B075A6D: call dword ptr [0x2b0b5148] */ 42315 RECOMP_FLAGS_IN(); 42316 MEM32(ebp + (-0x20)) = ebx; /* 0x2B075A73: mov dword ptr [ebp - 0x20], ebx */ 42317 MEM32(ebp + (-0x4)) = ebx; /* 0x2B075A76: mov dword ptr [ebp - 4], ebx */ 42318 RECOMP_ICALL(MEM32(0x2B0B53BC)); /* 0x2B075A79: call dword ptr [0x2b0b53bc] */ 42319 RECOMP_FLAGS_IN(); 42320 eax = MEM32(eax + 0x24); /* 0x2B075A7F: mov eax, dword ptr [eax + 0x24] */ 42321 ecx = ebp + (-0x30); /* 0x2B075A82: lea ecx, [ebp - 0x30] */ 42322 PUSH32(esp, ecx); /* 0x2B075A85: push ecx */ 42323 ecx = MEM32(0x2B0EF01C); /* 0x2B075A86: mov ecx, dword ptr [0x2b0ef01c] */ 42324 PUSH32(esp, ebx); /* 0x2B075A8C: push ebx */ 42325 PUSH32(esp, ebx); /* 0x2B075A8D: push ebx */ 42326 PUSH32(esp, ebx); /* 0x2B075A8E: push ebx */ 42327 PUSH32(esp, ebx); /* 0x2B075A8F: push ebx */ 42328 PUSH32(esp, ebx); /* 0x2B075A90: push ebx */ 42329 edx = ebp + (-0x1C); /* 0x2B075A91: lea edx, [ebp - 0x1c] */ 42330 PUSH32(esp, edx); /* 0x2B075A94: push edx */ 42331 MEM32(ebp + (-0x1C)) = 4; /* 0x2B075A95: mov dword ptr [ebp - 0x1c], 4 */ 42332 MEM32(ebp + (-0x18)) = eax; /* 0x2B075A9C: mov dword ptr [ebp - 0x18], eax */ 42333 RECOMP_ICALL(0x2B06D8F0u); /* 0x2B075A9F: call 0x2b06d8f0 */ /* not lifted */ 42334 RECOMP_FLAGS_IN(); 42335 esi = MEM32(ebp + (-0x20)); /* 0x2B075AA4: mov esi, dword ptr [ebp - 0x20] */ 42336 /* cmp esi, ebx */ /* 0x2B075AA7: cmp esi, ebx */ 42337 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 42338 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42339 _flag_k = FK_CMP; 42340 MEM32(ebp + (-0x4)) = 1; /* 0x2B075AA9: mov dword ptr [ebp - 4], 1 */ 42341 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075B0C; /* 0x2B075AB0: je 0x2b075b0c */ 42342 L_2B075AB2: 42343 edx = MEM32(esi + 0x2C); /* 0x2B075AB2: mov edx, dword ptr [esi + 0x2c] */ 42344 eax = esi + 0x2C; /* 0x2B075AB5: lea eax, [esi + 0x2c] */ 42345 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 42346 edx = edx - 1; /* 0x2B075AB8: dec edx */ 42347 _flag_k = FK_DEC; 42348 ecx = edx; /* 0x2B075AB9: mov ecx, edx */ 42349 /* cmp ecx, ebx */ /* 0x2B075ABB: cmp ecx, ebx */ 42350 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 42351 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42352 _flag_k = FK_CMP; 42353 MEM32(eax) = edx; /* 0x2B075ABD: mov dword ptr [eax], edx */ 42354 if (CMP_NE(_flag_a, _flag_b)) goto L_2B075B0C; /* 0x2B075ABF: jne 0x2b075b0c */ 42355 L_2B075AC1: 42356 /* cmp esi, ebx */ /* 0x2B075AC1: cmp esi, ebx */ 42357 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 42358 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42359 _flag_k = FK_CMP; 42360 MEM32(ebp + (-0x14)) = esi; /* 0x2B075AC3: mov dword ptr [ebp - 0x14], esi */ 42361 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075B0C; /* 0x2B075AC6: je 0x2b075b0c */ 42362 L_2B075AC8: 42363 PUSH32(esp, 1); /* 0x2B075AC8: push 1 */ 42364 ecx = esi + 0x1C; /* 0x2B075ACA: lea ecx, [esi + 0x1c] */ 42365 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B075ACD: mov byte ptr [ebp - 4], 2 */ 42366 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B075AD1: call dword ptr [0x2b0b514c] */ 42367 RECOMP_FLAGS_IN(); 42368 eax = MEM32(esi + 0x10); /* 0x2B075AD7: mov eax, dword ptr [esi + 0x10] */ 42369 /* cmp eax, ebx */ /* 0x2B075ADA: cmp eax, ebx */ 42370 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 42371 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42372 _flag_k = FK_CMP; 42373 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075AFA; /* 0x2B075ADC: je 0x2b075afa */ 42374 L_2B075ADE: 42375 ecx = eax + (-0x1); /* 0x2B075ADE: lea ecx, [eax - 1] */ 42376 SET_LO8(eax, MEM8(ecx)); /* 0x2B075AE1: mov al, byte ptr [ecx] */ 42377 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B075AE3: cmp al, bl */ 42378 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 42379 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42380 _flag_k = FK_NARROW(FK_CMP, 24); 42381 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075AF1; /* 0x2B075AE5: je 0x2b075af1 */ 42382 L_2B075AE7: 42383 /* cmp LO8(eax), 0xFFu */ /* 0x2B075AE7: cmp al, 0xff */ 42384 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 42385 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42386 _flag_k = FK_NARROW(FK_CMP, 24); 42387 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075AF1; /* 0x2B075AE9: je 0x2b075af1 */ 42388 L_2B075AEB: 42389 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 42390 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075AEB: dec al */ 42391 _flag_k = FK_NARROW(FK_DEC, 24); 42392 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075AED: mov byte ptr [ecx], al */ 42393 goto L_2B075AFA; /* 0x2B075AEF: jmp 0x2b075afa */ 42394 L_2B075AF1: 42395 PUSH32(esp, ecx); /* 0x2B075AF1: push ecx */ 42396 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B075AF2: call 0x2b0ab1ba */ /* not lifted */ 42397 RECOMP_FLAGS_IN(); 42398 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 42399 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 42400 esp = esp + 4; /* 0x2B075AF7: add esp, 4 */ 42401 _flag_k = FK_ADD; 42402 L_2B075AFA: 42403 PUSH32(esp, esi); /* 0x2B075AFA: push esi */ 42404 MEM32(esi + 0x10) = ebx; /* 0x2B075AFB: mov dword ptr [esi + 0x10], ebx */ 42405 MEM32(esi + 0x14) = ebx; /* 0x2B075AFE: mov dword ptr [esi + 0x14], ebx */ 42406 MEM32(esi + 0x18) = ebx; /* 0x2B075B01: mov dword ptr [esi + 0x18], ebx */ 42407 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B075B04: call 0x2b0ab1ba */ /* not lifted */ 42408 RECOMP_FLAGS_IN(); 42409 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 42410 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 42411 esp = esp + 4; /* 0x2B075B09: add esp, 4 */ 42412 _flag_k = FK_ADD; 42413 L_2B075B0C: 42414 ecx = MEM32(ebp + (-0x2C)); /* 0x2B075B0C: mov ecx, dword ptr [ebp - 0x2c] */ 42415 /* cmp ecx, ebx */ /* 0x2B075B0F: cmp ecx, ebx */ 42416 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 42417 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42418 _flag_k = FK_CMP; 42419 edi = POP32_VAL(esp); /* 0x2B075B11: pop edi */ 42420 esi = POP32_VAL(esp); /* 0x2B075B12: pop esi */ 42421 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075B3E; /* 0x2B075B13: je 0x2b075b3e */ 42422 L_2B075B15: 42423 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B075B15: mov al, byte ptr [ecx - 1] */ 42424 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B075B18: cmp al, bl */ 42425 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 42426 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42427 _flag_k = FK_NARROW(FK_CMP, 24); 42428 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075B34; /* 0x2B075B1A: je 0x2b075b34 */ 42429 L_2B075B1C: 42430 /* cmp LO8(eax), 0xFFu */ /* 0x2B075B1C: cmp al, 0xff */ 42431 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 42432 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42433 _flag_k = FK_NARROW(FK_CMP, 24); 42434 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075B34; /* 0x2B075B1E: je 0x2b075b34 */ 42435 L_2B075B20: 42436 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 42437 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075B20: dec al */ 42438 _flag_k = FK_NARROW(FK_DEC, 24); 42439 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B075B22: mov byte ptr [ecx - 1], al */ 42440 ebx = POP32_VAL(esp); /* 0x2B075B25: pop ebx */ 42441 ecx = MEM32(ebp + (-0xC)); /* 0x2B075B26: mov ecx, dword ptr [ebp - 0xc] */ 42442 MEM32(FS_BASE + (0)) = ecx; /* 0x2B075B29: mov dword ptr fs:[0], ecx */ 42443 esp = ebp; /* 0x2B075B30: mov esp, ebp */ 42444 ebp = POP32_VAL(esp); /* 0x2B075B32: pop ebp */ 42445 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B075B33: ret */ 42446 L_2B075B34: 42447 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 42448 ecx = ecx - 1; /* 0x2B075B34: dec ecx */ 42449 _flag_k = FK_DEC; 42450 PUSH32(esp, ecx); /* 0x2B075B35: push ecx */ 42451 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B075B36: call 0x2b0ab1ba */ /* not lifted */ 42452 RECOMP_FLAGS_IN(); 42453 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 42454 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 42455 esp = esp + 4; /* 0x2B075B3B: add esp, 4 */ 42456 _flag_k = FK_ADD; 42457 L_2B075B3E: 42458 ecx = MEM32(ebp + (-0xC)); /* 0x2B075B3E: mov ecx, dword ptr [ebp - 0xc] */ 42459 ebx = POP32_VAL(esp); /* 0x2B075B41: pop ebx */ 42460 MEM32(FS_BASE + (0)) = ecx; /* 0x2B075B42: mov dword ptr fs:[0], ecx */ 42461 esp = ebp; /* 0x2B075B49: mov esp, ebp */ 42462 ebp = POP32_VAL(esp); /* 0x2B075B4B: pop ebp */ 42463 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B075B4C: ret */ 42464 RECOMP_REGS_OUT(); 42465 } 42466 42467 void sub_2B075B50(void) { 42468 int _fpu_cmp = 0; 42469 uint32_t _cf = 0; 42470 int _df = 1; 42471 uint32_t _flag_k = FK_NONE; 42472 uint32_t _flag_a = 0, _flag_b = 0; 42473 uint32_t _itail_tgt = 0; 42474 RECOMP_REGS_LOCALS 42475 RECOMP_ENTER(0x2B075B50u); 42476 42477 L_2B075B50: 42478 PUSH32(esp, ebp); /* 0x2B075B50: push ebp */ 42479 ebp = esp; /* 0x2B075B51: mov ebp, esp */ 42480 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u); 42481 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42482 esp = esp - 0x20u; /* 0x2B075B53: sub esp, 0x20 */ 42483 _flag_k = FK_CMP; 42484 eax = MEM32(0x2B0EF01C); /* 0x2B075B56: mov eax, dword ptr [0x2b0ef01c] */ 42485 PUSH32(esp, esi); /* 0x2B075B5B: push esi */ 42486 PUSH32(esp, edi); /* 0x2B075B5C: push edi */ 42487 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 42488 edi = 0; /* 0x2B075B5D: xor edi, edi */ 42489 _cf = 0; 42490 _flag_k = FK_TEST; 42491 /* cmp eax, edi */ /* 0x2B075B5F: cmp eax, edi */ 42492 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 42493 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42494 _flag_k = FK_CMP; 42495 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075BF4; /* 0x2B075B61: je 0x2b075bf4 */ 42496 L_2B075B67: 42497 esi = MEM32(0x2B0B53CC); /* 0x2B075B67: mov esi, dword ptr [0x2b0b53cc] */ 42498 eax = ebp + (-0xC); /* 0x2B075B6D: lea eax, [ebp - 0xc] */ 42499 PUSH32(esp, eax); /* 0x2B075B70: push eax */ 42500 MEM32(ebp + (-0xC)) = edi; /* 0x2B075B71: mov dword ptr [ebp - 0xc], edi */ 42501 MEM32(ebp + (-0x8)) = edi; /* 0x2B075B74: mov dword ptr [ebp - 8], edi */ 42502 RECOMP_ICALL(esi); /* 0x2B075B77: call esi */ 42503 RECOMP_FLAGS_IN(); 42504 ecx = eax; /* 0x2B075B79: mov ecx, eax */ 42505 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B075B7B: call dword ptr [0x2b0b53ac] */ 42506 RECOMP_FLAGS_IN(); 42507 ecx = ebp + (-0x4); /* 0x2B075B81: lea ecx, [ebp - 4] */ 42508 PUSH32(esp, ecx); /* 0x2B075B84: push ecx */ 42509 RECOMP_ICALL(esi); /* 0x2B075B85: call esi */ 42510 RECOMP_FLAGS_IN(); 42511 ecx = eax; /* 0x2B075B87: mov ecx, eax */ 42512 RECOMP_ICALL(MEM32(0x2B0B53A8)); /* 0x2B075B89: call dword ptr [0x2b0b53a8] */ 42513 RECOMP_FLAGS_IN(); 42514 edx = MEM32(ebp + (-0x4)); /* 0x2B075B8F: mov edx, dword ptr [ebp - 4] */ 42515 eax = MEM32(ebp + (-0x8)); /* 0x2B075B92: mov eax, dword ptr [ebp - 8] */ 42516 ecx = MEM32(ebp + (-0xC)); /* 0x2B075B95: mov ecx, dword ptr [ebp - 0xc] */ 42517 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0xFFFFu); 42518 edx = edx & 0xFFFFu; /* 0x2B075B98: and edx, 0xffff */ 42519 _cf = 0; 42520 _flag_k = FK_TEST; 42521 /* cmp eax, edi */ /* 0x2B075B9E: cmp eax, edi */ 42522 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 42523 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42524 _flag_k = FK_CMP; 42525 MEM32(ebp + (-0x14)) = edi; /* 0x2B075BA0: mov dword ptr [ebp - 0x14], edi */ 42526 MEM32(ebp + (-0x10)) = edi; /* 0x2B075BA3: mov dword ptr [ebp - 0x10], edi */ 42527 MEM32(ebp + (-0x20)) = edx; /* 0x2B075BA6: mov dword ptr [ebp - 0x20], edx */ 42528 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B075BA9: mov dword ptr [ebp - 0x1c], ecx */ 42529 MEM32(ebp + (-0x18)) = eax; /* 0x2B075BAC: mov dword ptr [ebp - 0x18], eax */ 42530 if (CMP_NE(_flag_a, _flag_b)) goto L_2B075BB4; /* 0x2B075BAF: jne 0x2b075bb4 */ 42531 L_2B075BB1: 42532 MEM32(ebp + (-0x18)) = ecx; /* 0x2B075BB1: mov dword ptr [ebp - 0x18], ecx */ 42533 L_2B075BB4: 42534 esi = MEM32(0x2B0B5D6C); /* 0x2B075BB4: mov esi, dword ptr [0x2b0b5d6c] */ 42535 eax = ebp + (-0x20); /* 0x2B075BBA: lea eax, [ebp - 0x20] */ 42536 PUSH32(esp, eax); /* 0x2B075BBD: push eax */ 42537 ecx = ebp + (-0x14); /* 0x2B075BBE: lea ecx, [ebp - 0x14] */ 42538 PUSH32(esp, ecx); /* 0x2B075BC1: push ecx */ 42539 RECOMP_ICALL(esi); /* 0x2B075BC2: call esi */ 42540 RECOMP_FLAGS_IN(); 42541 ecx = eax; /* 0x2B075BC4: mov ecx, eax */ 42542 RECOMP_ICALL(MEM32(0x2B0B5D4C)); /* 0x2B075BC6: call dword ptr [0x2b0b5d4c] */ 42543 RECOMP_FLAGS_IN(); 42544 /* test LO8(eax), LO8(eax) */ /* 0x2B075BCC: test al, al */ 42545 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 42546 _cf = 0; 42547 _flag_k = FK_NARROW(FK_TEST, 24); 42548 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075BF4; /* 0x2B075BCE: je 0x2b075bf4 */ 42549 L_2B075BD0: 42550 ecx = MEM32(0x2B0EF01C); /* 0x2B075BD0: mov ecx, dword ptr [0x2b0ef01c] */ 42551 PUSH32(esp, edi); /* 0x2B075BD6: push edi */ 42552 PUSH32(esp, edi); /* 0x2B075BD7: push edi */ 42553 PUSH32(esp, edi); /* 0x2B075BD8: push edi */ 42554 PUSH32(esp, edi); /* 0x2B075BD9: push edi */ 42555 PUSH32(esp, 1); /* 0x2B075BDA: push 1 */ 42556 PUSH32(esp, edi); /* 0x2B075BDC: push edi */ 42557 edx = ebp + (-0x14); /* 0x2B075BDD: lea edx, [ebp - 0x14] */ 42558 PUSH32(esp, edx); /* 0x2B075BE0: push edx */ 42559 RECOMP_ICALL(0x2B06D8F0u); /* 0x2B075BE1: call 0x2b06d8f0 */ /* not lifted */ 42560 RECOMP_FLAGS_IN(); 42561 eax = ebp + (-0x14); /* 0x2B075BE6: lea eax, [ebp - 0x14] */ 42562 PUSH32(esp, eax); /* 0x2B075BE9: push eax */ 42563 RECOMP_ICALL(esi); /* 0x2B075BEA: call esi */ 42564 RECOMP_FLAGS_IN(); 42565 ecx = eax; /* 0x2B075BEC: mov ecx, eax */ 42566 RECOMP_ICALL(MEM32(0x2B0B5D54)); /* 0x2B075BEE: call dword ptr [0x2b0b5d54] */ 42567 RECOMP_FLAGS_IN(); 42568 L_2B075BF4: 42569 edi = POP32_VAL(esp); /* 0x2B075BF4: pop edi */ 42570 esi = POP32_VAL(esp); /* 0x2B075BF5: pop esi */ 42571 esp = ebp; /* 0x2B075BF6: mov esp, ebp */ 42572 ebp = POP32_VAL(esp); /* 0x2B075BF8: pop ebp */ 42573 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B075BF9: ret */ 42574 RECOMP_REGS_OUT(); 42575 } 42576 42577 void sub_2B075C00(void) { 42578 int _fpu_cmp = 0; 42579 uint32_t _cf = 0; 42580 int _df = 1; 42581 uint32_t _flag_k = FK_NONE; 42582 uint32_t _flag_a = 0, _flag_b = 0; 42583 uint32_t _itail_tgt = 0; 42584 RECOMP_REGS_LOCALS 42585 RECOMP_ENTER(0x2B075C00u); 42586 42587 L_2B075C00: 42588 eax = MEM32(0x2B0EF01C); /* 0x2B075C00: mov eax, dword ptr [0x2b0ef01c] */ 42589 /* test eax, eax */ /* 0x2B075C05: test eax, eax */ 42590 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 42591 _cf = 0; 42592 _flag_k = FK_TEST; 42593 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075C30; /* 0x2B075C07: je 0x2b075c30 */ 42594 L_2B075C09: 42595 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B075C09: call dword ptr [0x2b0b5b64] */ 42596 RECOMP_FLAGS_IN(); 42597 ecx = MEM32(0x2B0EF01C); /* 0x2B075C0F: mov ecx, dword ptr [0x2b0ef01c] */ 42598 eax = MEM32(eax + 0x110); /* 0x2B075C15: mov eax, dword ptr [eax + 0x110] */ 42599 edx = MEM32(ecx + 0x48); /* 0x2B075C1B: mov edx, dword ptr [ecx + 0x48] */ 42600 edx = (uint32_t)((int32_t)edx * (int32_t)eax); /* 0x2B075C1E: imul edx, eax */ 42601 eax = MEM32(ecx + 0x40); /* 0x2B075C21: mov eax, dword ptr [ecx + 0x40] */ 42602 PUSH32(esp, 1); /* 0x2B075C24: push 1 */ 42603 PUSH32(esp, 1); /* 0x2B075C26: push 1 */ 42604 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 42605 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 42606 edx = edx + eax; /* 0x2B075C28: add edx, eax */ 42607 _flag_k = FK_ADD; 42608 PUSH32(esp, edx); /* 0x2B075C2A: push edx */ 42609 RECOMP_ICALL(0x2B06D1C0u); /* 0x2B075C2B: call 0x2b06d1c0 */ /* not lifted */ 42610 RECOMP_FLAGS_IN(); 42611 L_2B075C30: 42612 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B075C30: ret */ 42613 RECOMP_REGS_OUT(); 42614 } 42615 42616 void sub_2B075C40(void) { 42617 int _fpu_cmp = 0; 42618 uint32_t _cf = 0; 42619 int _df = 1; 42620 uint32_t _flag_k = FK_NONE; 42621 uint32_t _flag_a = 0, _flag_b = 0; 42622 uint32_t _itail_tgt = 0; 42623 RECOMP_REGS_LOCALS 42624 RECOMP_ENTER(0x2B075C40u); 42625 42626 L_2B075C40: 42627 PUSH32(esp, ebp); /* 0x2B075C40: push ebp */ 42628 ebp = esp; /* 0x2B075C41: mov ebp, esp */ 42629 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 42630 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42631 esp = esp - 8; /* 0x2B075C43: sub esp, 8 */ 42632 _flag_k = FK_CMP; 42633 eax = MEM32(0x2B0EF01C); /* 0x2B075C46: mov eax, dword ptr [0x2b0ef01c] */ 42634 /* test eax, eax */ /* 0x2B075C4B: test eax, eax */ 42635 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 42636 _cf = 0; 42637 _flag_k = FK_TEST; 42638 PUSH32(esp, ebx); /* 0x2B075C4D: push ebx */ 42639 PUSH32(esp, esi); /* 0x2B075C4E: push esi */ 42640 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075CA6; /* 0x2B075C4F: je 0x2b075ca6 */ 42641 L_2B075C51: 42642 esi = MEM32(0x2B0B5B64); /* 0x2B075C51: mov esi, dword ptr [0x2b0b5b64] */ 42643 PUSH32(esp, edi); /* 0x2B075C57: push edi */ 42644 RECOMP_ICALL(esi); /* 0x2B075C58: call esi */ 42645 RECOMP_FLAGS_IN(); 42646 edi = MEM32(eax + 0x14C); /* 0x2B075C5A: mov edi, dword ptr [eax + 0x14c] */ 42647 ebx = MEM32(eax + 0x150); /* 0x2B075C60: mov ebx, dword ptr [eax + 0x150] */ 42648 RECOMP_ICALL(esi); /* 0x2B075C66: call esi */ 42649 RECOMP_FLAGS_IN(); 42650 ecx = MEM32(eax + 0x164); /* 0x2B075C68: mov ecx, dword ptr [eax + 0x164] */ 42651 MEM32(ebp + (-0x8)) = ecx; /* 0x2B075C6E: mov dword ptr [ebp - 8], ecx */ 42652 esi = MEM32(eax + 0x168); /* 0x2B075C71: mov esi, dword ptr [eax + 0x168] */ 42653 eax = edi; /* 0x2B075C77: mov eax, edi */ 42654 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 42655 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42656 eax = eax - ecx; /* 0x2B075C79: sub eax, ecx */ 42657 _flag_k = FK_CMP; 42658 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B075C7B: cdq */ 42659 _flag_a = (uint32_t)((eax ^ edx)); _flag_b = (uint32_t)((eax ^ edx)); 42660 eax = eax ^ edx; /* 0x2B075C7C: xor eax, edx */ 42661 _cf = 0; 42662 _flag_k = FK_TEST; 42663 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 42664 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42665 eax = eax - edx; /* 0x2B075C7E: sub eax, edx */ 42666 _flag_k = FK_CMP; 42667 /* cmp eax, 0xAu */ /* 0x2B075C80: cmp eax, 0xa */ 42668 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xAu); 42669 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42670 _flag_k = FK_CMP; 42671 MEM32(ebp + (-0x4)) = esi; /* 0x2B075C83: mov dword ptr [ebp - 4], esi */ 42672 edi = POP32_VAL(esp); /* 0x2B075C86: pop edi */ 42673 if (CMP_GE(_flag_a, _flag_b)) goto L_2B075CA6; /* 0x2B075C87: jge 0x2b075ca6 */ 42674 L_2B075C89: 42675 eax = ebx; /* 0x2B075C89: mov eax, ebx */ 42676 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 42677 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42678 eax = eax - esi; /* 0x2B075C8B: sub eax, esi */ 42679 _flag_k = FK_CMP; 42680 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B075C8D: cdq */ 42681 _flag_a = (uint32_t)((eax ^ edx)); _flag_b = (uint32_t)((eax ^ edx)); 42682 eax = eax ^ edx; /* 0x2B075C8E: xor eax, edx */ 42683 _cf = 0; 42684 _flag_k = FK_TEST; 42685 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 42686 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42687 eax = eax - edx; /* 0x2B075C90: sub eax, edx */ 42688 _flag_k = FK_CMP; 42689 /* cmp eax, 0xAu */ /* 0x2B075C92: cmp eax, 0xa */ 42690 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xAu); 42691 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42692 _flag_k = FK_CMP; 42693 if (CMP_GE(_flag_a, _flag_b)) goto L_2B075CA6; /* 0x2B075C95: jge 0x2b075ca6 */ 42694 L_2B075C97: 42695 ecx = MEM32(0x2B0EF01C); /* 0x2B075C97: mov ecx, dword ptr [0x2b0ef01c] */ 42696 eax = ebp + (-0x8); /* 0x2B075C9D: lea eax, [ebp - 8] */ 42697 PUSH32(esp, eax); /* 0x2B075CA0: push eax */ 42698 RECOMP_ICALL(0x2B06D470u); /* 0x2B075CA1: call 0x2b06d470 */ /* not lifted */ 42699 RECOMP_FLAGS_IN(); 42700 L_2B075CA6: 42701 esi = POP32_VAL(esp); /* 0x2B075CA6: pop esi */ 42702 ebx = POP32_VAL(esp); /* 0x2B075CA7: pop ebx */ 42703 esp = ebp; /* 0x2B075CA8: mov esp, ebp */ 42704 ebp = POP32_VAL(esp); /* 0x2B075CAA: pop ebp */ 42705 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B075CAB: ret */ 42706 RECOMP_REGS_OUT(); 42707 } 42708 42709 void sub_2B075CB0(void) { 42710 int _fpu_cmp = 0; 42711 uint32_t _cf = 0; 42712 int _df = 1; 42713 uint32_t _flag_k = FK_NONE; 42714 uint32_t _flag_a = 0, _flag_b = 0; 42715 uint32_t _itail_tgt = 0; 42716 RECOMP_REGS_LOCALS 42717 RECOMP_ENTER(0x2B075CB0u); 42718 42719 L_2B075CB0: 42720 PUSH32(esp, ebp); /* 0x2B075CB0: push ebp */ 42721 ebp = esp; /* 0x2B075CB1: mov ebp, esp */ 42722 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B075CB3: push -1 */ 42723 PUSH32(esp, 0x2B0B13D7u); /* 0x2B075CB5: push 0x2b0b13d7 */ 42724 eax = MEM32(FS_BASE + (0)); /* 0x2B075CBA: mov eax, dword ptr fs:[0] */ 42725 PUSH32(esp, eax); /* 0x2B075CC0: push eax */ 42726 MEM32(FS_BASE + (0)) = esp; /* 0x2B075CC1: mov dword ptr fs:[0], esp */ 42727 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x4Cu); 42728 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42729 esp = esp - 0x4Cu; /* 0x2B075CC8: sub esp, 0x4c */ 42730 _flag_k = FK_CMP; 42731 PUSH32(esp, ebx); /* 0x2B075CCB: push ebx */ 42732 eax = ebp + (-0x30); /* 0x2B075CCC: lea eax, [ebp - 0x30] */ 42733 PUSH32(esp, esi); /* 0x2B075CCF: push esi */ 42734 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 42735 ebx = 0; /* 0x2B075CD0: xor ebx, ebx */ 42736 _cf = 0; 42737 _flag_k = FK_TEST; 42738 PUSH32(esp, eax); /* 0x2B075CD2: push eax */ 42739 MEM32(ebp + (-0x30)) = ebx; /* 0x2B075CD3: mov dword ptr [ebp - 0x30], ebx */ 42740 MEM32(ebp + (-0x2C)) = ebx; /* 0x2B075CD6: mov dword ptr [ebp - 0x2c], ebx */ 42741 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B075CD9: call dword ptr [0x2b0b53cc] */ 42742 RECOMP_FLAGS_IN(); 42743 ecx = eax; /* 0x2B075CDF: mov ecx, eax */ 42744 RECOMP_ICALL(MEM32(0x2B0B532C)); /* 0x2B075CE1: call dword ptr [0x2b0b532c] */ 42745 RECOMP_FLAGS_IN(); 42746 SET_LO8(ecx, MEM8(ebp + (-0xD))); /* 0x2B075CE7: mov cl, byte ptr [ebp - 0xd] */ 42747 MEM8(ebp + (-0x58)) = (uint8_t)(LO8(ecx)); /* 0x2B075CEA: mov byte ptr [ebp - 0x58], cl */ 42748 PUSH32(esp, ebx); /* 0x2B075CED: push ebx */ 42749 ecx = ebp + (-0x58); /* 0x2B075CEE: lea ecx, [ebp - 0x58] */ 42750 MEM32(ebp + (-0x28)) = ebx; /* 0x2B075CF1: mov dword ptr [ebp - 0x28], ebx */ 42751 MEM32(ebp + (-0x24)) = ebx; /* 0x2B075CF4: mov dword ptr [ebp - 0x24], ebx */ 42752 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B075CF7: call dword ptr [0x2b0b514c] */ 42753 RECOMP_FLAGS_IN(); 42754 MEM32(ebp + (-0x48)) = ebx; /* 0x2B075CFD: mov dword ptr [ebp - 0x48], ebx */ 42755 SET_LO8(edx, MEM8(ebp + (-0xD))); /* 0x2B075D00: mov dl, byte ptr [ebp - 0xd] */ 42756 PUSH32(esp, ebx); /* 0x2B075D03: push ebx */ 42757 ecx = ebp + (-0x44); /* 0x2B075D04: lea ecx, [ebp - 0x44] */ 42758 MEM32(ebp + (-0x4)) = ebx; /* 0x2B075D07: mov dword ptr [ebp - 4], ebx */ 42759 MEM8(ebp + (-0x44)) = (uint8_t)(LO8(edx)); /* 0x2B075D0A: mov byte ptr [ebp - 0x44], dl */ 42760 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B075D0D: call dword ptr [0x2b0b514c] */ 42761 RECOMP_FLAGS_IN(); 42762 MEM32(ebp + (-0x34)) = ebx; /* 0x2B075D13: mov dword ptr [ebp - 0x34], ebx */ 42763 eax = MEM32(0x2B0EF01C); /* 0x2B075D16: mov eax, dword ptr [0x2b0ef01c] */ 42764 /* cmp eax, ebx */ /* 0x2B075D1B: cmp eax, ebx */ 42765 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 42766 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42767 _flag_k = FK_CMP; 42768 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B075D1D: mov byte ptr [ebp - 4], 1 */ 42769 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075D81; /* 0x2B075D21: je 0x2b075d81 */ 42770 L_2B075D23: 42771 ecx = eax + 0xC; /* 0x2B075D23: lea ecx, [eax + 0xc] */ 42772 edx = ebp + (-0x30); /* 0x2B075D26: lea edx, [ebp - 0x30] */ 42773 /* cmp edx, ecx */ /* 0x2B075D29: cmp edx, ecx */ 42774 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 42775 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42776 _flag_k = FK_CMP; 42777 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075D34; /* 0x2B075D2B: je 0x2b075d34 */ 42778 L_2B075D2D: 42779 edx = MEM32(ecx); /* 0x2B075D2D: mov edx, dword ptr [ecx] */ 42780 ecx = MEM32(ecx + 0x4); /* 0x2B075D2F: mov ecx, dword ptr [ecx + 4] */ 42781 goto L_2B075D3A; /* 0x2B075D32: jmp 0x2b075d3a */ 42782 L_2B075D34: 42783 ecx = MEM32(ebp + (-0x2C)); /* 0x2B075D34: mov ecx, dword ptr [ebp - 0x2c] */ 42784 edx = MEM32(ebp + (-0x30)); /* 0x2B075D37: mov edx, dword ptr [ebp - 0x30] */ 42785 L_2B075D3A: 42786 MEM32(ebp + (-0x24)) = ecx; /* 0x2B075D3A: mov dword ptr [ebp - 0x24], ecx */ 42787 MEM32(ebp + (-0x28)) = edx; /* 0x2B075D3D: mov dword ptr [ebp - 0x28], edx */ 42788 SET_LO8(ecx, MEM8(eax + 0x1C)); /* 0x2B075D40: mov cl, byte ptr [eax + 0x1c] */ 42789 SET_LO8(edx, MEM8(eax + 0x1D)); /* 0x2B075D43: mov dl, byte ptr [eax + 0x1d] */ 42790 MEM8(ebp + (-0x14)) = (uint8_t)(LO8(ecx)); /* 0x2B075D46: mov byte ptr [ebp - 0x14], cl */ 42791 SET_LO8(ecx, MEM8(eax + 0x1E)); /* 0x2B075D49: mov cl, byte ptr [eax + 0x1e] */ 42792 eax = MEM32(eax + 0x2C); /* 0x2B075D4C: mov eax, dword ptr [eax + 0x2c] */ 42793 MEM8(ebp + (-0x18)) = (uint8_t)(LO8(ecx)); /* 0x2B075D4F: mov byte ptr [ebp - 0x18], cl */ 42794 PUSH32(esp, eax); /* 0x2B075D52: push eax */ 42795 ecx = ebp + (-0x58); /* 0x2B075D53: lea ecx, [ebp - 0x58] */ 42796 MEM8(ebp + (-0x1C)) = (uint8_t)(LO8(edx)); /* 0x2B075D56: mov byte ptr [ebp - 0x1c], dl */ 42797 RECOMP_ICALL(MEM32(0x2B0B5A8C)); /* 0x2B075D59: call dword ptr [0x2b0b5a8c] */ 42798 RECOMP_FLAGS_IN(); 42799 edx = MEM32(0x2B0EF01C); /* 0x2B075D5F: mov edx, dword ptr [0x2b0ef01c] */ 42800 ecx = MEM32(0x2B0B515C); /* 0x2B075D65: mov ecx, dword ptr [0x2b0b515c] */ 42801 eax = edx + 0x30; /* 0x2B075D6B: lea eax, [edx + 0x30] */ 42802 edx = MEM32(ecx); /* 0x2B075D6E: mov edx, dword ptr [ecx] */ 42803 PUSH32(esp, edx); /* 0x2B075D70: push edx */ 42804 PUSH32(esp, ebx); /* 0x2B075D71: push ebx */ 42805 PUSH32(esp, eax); /* 0x2B075D72: push eax */ 42806 ecx = ebp + (-0x44); /* 0x2B075D73: lea ecx, [ebp - 0x44] */ 42807 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B075D76: call dword ptr [0x2b0b5158] */ 42808 RECOMP_FLAGS_IN(); 42809 eax = MEM32(0x2B0EF01C); /* 0x2B075D7C: mov eax, dword ptr [0x2b0ef01c] */ 42810 L_2B075D81: 42811 esi = eax; /* 0x2B075D81: mov esi, eax */ 42812 /* cmp esi, ebx */ /* 0x2B075D83: cmp esi, ebx */ 42813 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 42814 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42815 _flag_k = FK_CMP; 42816 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075D97; /* 0x2B075D85: je 0x2b075d97 */ 42817 L_2B075D87: 42818 ecx = esi; /* 0x2B075D87: mov ecx, esi */ 42819 RECOMP_ICALL(0x2B06C450u); /* 0x2B075D89: call 0x2b06c450 */ /* not lifted */ 42820 RECOMP_FLAGS_IN(); 42821 PUSH32(esp, esi); /* 0x2B075D8E: push esi */ 42822 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B075D8F: call 0x2b0ab1ba */ /* not lifted */ 42823 RECOMP_FLAGS_IN(); 42824 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 42825 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 42826 esp = esp + 4; /* 0x2B075D94: add esp, 4 */ 42827 _flag_k = FK_ADD; 42828 L_2B075D97: 42829 PUSH32(esp, 0x110u); /* 0x2B075D97: push 0x110 */ 42830 MEM32(0x2B0EF01C) = ebx; /* 0x2B075D9C: mov dword ptr [0x2b0ef01c], ebx */ 42831 RECOMP_ICALL(0x2B0AB212u); /* 0x2B075DA2: call 0x2b0ab212 */ /* not lifted */ 42832 RECOMP_FLAGS_IN(); 42833 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 42834 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 42835 esp = esp + 4; /* 0x2B075DA7: add esp, 4 */ 42836 _flag_k = FK_ADD; 42837 MEM32(ebp + (-0x20)) = eax; /* 0x2B075DAA: mov dword ptr [ebp - 0x20], eax */ 42838 /* cmp eax, ebx */ /* 0x2B075DAD: cmp eax, ebx */ 42839 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 42840 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42841 _flag_k = FK_CMP; 42842 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B075DAF: mov byte ptr [ebp - 4], 2 */ 42843 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075DC4; /* 0x2B075DB3: je 0x2b075dc4 */ 42844 L_2B075DB5: 42845 ecx = ebp + (-0x30); /* 0x2B075DB5: lea ecx, [ebp - 0x30] */ 42846 PUSH32(esp, ecx); /* 0x2B075DB8: push ecx */ 42847 ecx = eax; /* 0x2B075DB9: mov ecx, eax */ 42848 RECOMP_ICALL(0x2B06B660u); /* 0x2B075DBB: call 0x2b06b660 */ /* not lifted */ 42849 RECOMP_FLAGS_IN(); 42850 ecx = eax; /* 0x2B075DC0: mov ecx, eax */ 42851 goto L_2B075DC6; /* 0x2B075DC2: jmp 0x2b075dc6 */ 42852 L_2B075DC4: 42853 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 42854 ecx = 0; /* 0x2B075DC4: xor ecx, ecx */ 42855 _cf = 0; 42856 _flag_k = FK_TEST; 42857 L_2B075DC6: 42858 /* cmp MEM32(ebp + (-0x28)), ebx */ /* 0x2B075DC6: cmp dword ptr [ebp - 0x28], ebx */ 42859 _flag_a = (uint32_t)(MEM32(ebp + (-0x28))); _flag_b = (uint32_t)(ebx); 42860 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42861 _flag_k = FK_CMP; 42862 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B075DC9: mov byte ptr [ebp - 4], 1 */ 42863 MEM32(0x2B0EF01C) = ecx; /* 0x2B075DCD: mov dword ptr [0x2b0ef01c], ecx */ 42864 if (CMP_NE(_flag_a, _flag_b)) goto L_2B075DDA; /* 0x2B075DD3: jne 0x2b075dda */ 42865 L_2B075DD5: 42866 /* cmp MEM32(ebp + (-0x24)), ebx */ /* 0x2B075DD5: cmp dword ptr [ebp - 0x24], ebx */ 42867 _flag_a = (uint32_t)(MEM32(ebp + (-0x24))); _flag_b = (uint32_t)(ebx); 42868 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42869 _flag_k = FK_CMP; 42870 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075E0E; /* 0x2B075DD8: je 0x2b075e0e */ 42871 L_2B075DDA: 42872 /* cmp MEM32(ebp + (-0x3C)), ebx */ /* 0x2B075DDA: cmp dword ptr [ebp - 0x3c], ebx */ 42873 _flag_a = (uint32_t)(MEM32(ebp + (-0x3C))); _flag_b = (uint32_t)(ebx); 42874 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42875 _flag_k = FK_CMP; 42876 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075DEA; /* 0x2B075DDD: je 0x2b075dea */ 42877 L_2B075DDF: 42878 edx = ebp + (-0x44); /* 0x2B075DDF: lea edx, [ebp - 0x44] */ 42879 PUSH32(esp, edx); /* 0x2B075DE2: push edx */ 42880 PUSH32(esp, ebx); /* 0x2B075DE3: push ebx */ 42881 PUSH32(esp, ebx); /* 0x2B075DE4: push ebx */ 42882 PUSH32(esp, ebx); /* 0x2B075DE5: push ebx */ 42883 PUSH32(esp, ebx); /* 0x2B075DE6: push ebx */ 42884 PUSH32(esp, ebx); /* 0x2B075DE7: push ebx */ 42885 goto L_2B075E05; /* 0x2B075DE8: jmp 0x2b075e05 */ 42886 L_2B075DEA: 42887 edx = MEM32(ebp + (-0x50)); /* 0x2B075DEA: mov edx, dword ptr [ebp - 0x50] */ 42888 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 42889 eax = 0; /* 0x2B075DED: xor eax, eax */ 42890 _cf = 0; 42891 _flag_k = FK_TEST; 42892 /* cmp edx, ebx */ /* 0x2B075DEF: cmp edx, ebx */ 42893 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 42894 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42895 _flag_k = FK_CMP; 42896 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075DF6; /* 0x2B075DF1: je 0x2b075df6 */ 42897 L_2B075DF3: 42898 eax = ebp + (-0x58); /* 0x2B075DF3: lea eax, [ebp - 0x58] */ 42899 L_2B075DF6: 42900 edx = MEM32(ebp + (-0x14)); /* 0x2B075DF6: mov edx, dword ptr [ebp - 0x14] */ 42901 PUSH32(esp, ebx); /* 0x2B075DF9: push ebx */ 42902 PUSH32(esp, edx); /* 0x2B075DFA: push edx */ 42903 edx = MEM32(ebp + (-0x1C)); /* 0x2B075DFB: mov edx, dword ptr [ebp - 0x1c] */ 42904 PUSH32(esp, ebx); /* 0x2B075DFE: push ebx */ 42905 PUSH32(esp, eax); /* 0x2B075DFF: push eax */ 42906 eax = MEM32(ebp + (-0x18)); /* 0x2B075E00: mov eax, dword ptr [ebp - 0x18] */ 42907 PUSH32(esp, eax); /* 0x2B075E03: push eax */ 42908 PUSH32(esp, edx); /* 0x2B075E04: push edx */ 42909 L_2B075E05: 42910 eax = ebp + (-0x28); /* 0x2B075E05: lea eax, [ebp - 0x28] */ 42911 PUSH32(esp, eax); /* 0x2B075E08: push eax */ 42912 RECOMP_ICALL(0x2B06D8F0u); /* 0x2B075E09: call 0x2b06d8f0 */ /* not lifted */ 42913 RECOMP_FLAGS_IN(); 42914 L_2B075E0E: 42915 esi = MEM32(ebp + (-0x34)); /* 0x2B075E0E: mov esi, dword ptr [ebp - 0x34] */ 42916 /* cmp esi, ebx */ /* 0x2B075E11: cmp esi, ebx */ 42917 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 42918 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42919 _flag_k = FK_CMP; 42920 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075E52; /* 0x2B075E13: je 0x2b075e52 */ 42921 L_2B075E15: 42922 edx = MEM32(esi + 0x2C); /* 0x2B075E15: mov edx, dword ptr [esi + 0x2c] */ 42923 eax = esi + 0x2C; /* 0x2B075E18: lea eax, [esi + 0x2c] */ 42924 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 42925 edx = edx - 1; /* 0x2B075E1B: dec edx */ 42926 _flag_k = FK_DEC; 42927 ecx = edx; /* 0x2B075E1C: mov ecx, edx */ 42928 /* cmp ecx, ebx */ /* 0x2B075E1E: cmp ecx, ebx */ 42929 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 42930 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42931 _flag_k = FK_CMP; 42932 MEM32(eax) = edx; /* 0x2B075E20: mov dword ptr [eax], edx */ 42933 if (CMP_NE(_flag_a, _flag_b)) goto L_2B075E52; /* 0x2B075E22: jne 0x2b075e52 */ 42934 L_2B075E24: 42935 /* cmp esi, ebx */ /* 0x2B075E24: cmp esi, ebx */ 42936 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 42937 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42938 _flag_k = FK_CMP; 42939 MEM32(ebp + (-0x20)) = esi; /* 0x2B075E26: mov dword ptr [ebp - 0x20], esi */ 42940 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075E52; /* 0x2B075E29: je 0x2b075e52 */ 42941 L_2B075E2B: 42942 PUSH32(esp, 1); /* 0x2B075E2B: push 1 */ 42943 ecx = esi + 0x1C; /* 0x2B075E2D: lea ecx, [esi + 0x1c] */ 42944 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B075E30: mov byte ptr [ebp - 4], 4 */ 42945 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B075E34: call dword ptr [0x2b0b514c] */ 42946 RECOMP_FLAGS_IN(); 42947 PUSH32(esp, 1); /* 0x2B075E3A: push 1 */ 42948 ecx = esi + 0xC; /* 0x2B075E3C: lea ecx, [esi + 0xc] */ 42949 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B075E3F: mov byte ptr [ebp - 4], 3 */ 42950 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B075E43: call dword ptr [0x2b0b514c] */ 42951 RECOMP_FLAGS_IN(); 42952 PUSH32(esp, esi); /* 0x2B075E49: push esi */ 42953 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B075E4A: call 0x2b0ab1ba */ /* not lifted */ 42954 RECOMP_FLAGS_IN(); 42955 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 42956 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 42957 esp = esp + 4; /* 0x2B075E4F: add esp, 4 */ 42958 _flag_k = FK_ADD; 42959 L_2B075E52: 42960 ecx = MEM32(ebp + (-0x40)); /* 0x2B075E52: mov ecx, dword ptr [ebp - 0x40] */ 42961 /* cmp ecx, ebx */ /* 0x2B075E55: cmp ecx, ebx */ 42962 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 42963 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42964 _flag_k = FK_CMP; 42965 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075E74; /* 0x2B075E57: je 0x2b075e74 */ 42966 L_2B075E59: 42967 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B075E59: mov al, byte ptr [ecx - 1] */ 42968 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 42969 ecx = ecx - 1; /* 0x2B075E5C: dec ecx */ 42970 _flag_k = FK_DEC; 42971 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B075E5D: cmp al, bl */ 42972 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 42973 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42974 _flag_k = FK_NARROW(FK_CMP, 24); 42975 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075E6B; /* 0x2B075E5F: je 0x2b075e6b */ 42976 L_2B075E61: 42977 /* cmp LO8(eax), 0xFFu */ /* 0x2B075E61: cmp al, 0xff */ 42978 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 42979 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 42980 _flag_k = FK_NARROW(FK_CMP, 24); 42981 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075E6B; /* 0x2B075E63: je 0x2b075e6b */ 42982 L_2B075E65: 42983 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 42984 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075E65: dec al */ 42985 _flag_k = FK_NARROW(FK_DEC, 24); 42986 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075E67: mov byte ptr [ecx], al */ 42987 goto L_2B075E74; /* 0x2B075E69: jmp 0x2b075e74 */ 42988 L_2B075E6B: 42989 PUSH32(esp, ecx); /* 0x2B075E6B: push ecx */ 42990 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B075E6C: call 0x2b0ab1ba */ /* not lifted */ 42991 RECOMP_FLAGS_IN(); 42992 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 42993 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 42994 esp = esp + 4; /* 0x2B075E71: add esp, 4 */ 42995 _flag_k = FK_ADD; 42996 L_2B075E74: 42997 MEM32(ebp + (-0x40)) = ebx; /* 0x2B075E74: mov dword ptr [ebp - 0x40], ebx */ 42998 MEM32(ebp + (-0x3C)) = ebx; /* 0x2B075E77: mov dword ptr [ebp - 0x3c], ebx */ 42999 MEM32(ebp + (-0x38)) = ebx; /* 0x2B075E7A: mov dword ptr [ebp - 0x38], ebx */ 43000 esi = MEM32(ebp + (-0x48)); /* 0x2B075E7D: mov esi, dword ptr [ebp - 0x48] */ 43001 /* cmp esi, ebx */ /* 0x2B075E80: cmp esi, ebx */ 43002 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 43003 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43004 _flag_k = FK_CMP; 43005 MEM32(ebp + (-0x4)) = 5; /* 0x2B075E82: mov dword ptr [ebp - 4], 5 */ 43006 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075EC8; /* 0x2B075E89: je 0x2b075ec8 */ 43007 L_2B075E8B: 43008 edx = MEM32(esi + 0x2C); /* 0x2B075E8B: mov edx, dword ptr [esi + 0x2c] */ 43009 eax = esi + 0x2C; /* 0x2B075E8E: lea eax, [esi + 0x2c] */ 43010 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 43011 edx = edx - 1; /* 0x2B075E91: dec edx */ 43012 _flag_k = FK_DEC; 43013 ecx = edx; /* 0x2B075E92: mov ecx, edx */ 43014 /* cmp ecx, ebx */ /* 0x2B075E94: cmp ecx, ebx */ 43015 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 43016 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43017 _flag_k = FK_CMP; 43018 MEM32(eax) = edx; /* 0x2B075E96: mov dword ptr [eax], edx */ 43019 if (CMP_NE(_flag_a, _flag_b)) goto L_2B075EC8; /* 0x2B075E98: jne 0x2b075ec8 */ 43020 L_2B075E9A: 43021 /* cmp esi, ebx */ /* 0x2B075E9A: cmp esi, ebx */ 43022 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 43023 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43024 _flag_k = FK_CMP; 43025 MEM32(ebp + (-0x20)) = esi; /* 0x2B075E9C: mov dword ptr [ebp - 0x20], esi */ 43026 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075EC8; /* 0x2B075E9F: je 0x2b075ec8 */ 43027 L_2B075EA1: 43028 PUSH32(esp, 1); /* 0x2B075EA1: push 1 */ 43029 ecx = esi + 0x1C; /* 0x2B075EA3: lea ecx, [esi + 0x1c] */ 43030 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B075EA6: mov byte ptr [ebp - 4], 6 */ 43031 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B075EAA: call dword ptr [0x2b0b514c] */ 43032 RECOMP_FLAGS_IN(); 43033 PUSH32(esp, 1); /* 0x2B075EB0: push 1 */ 43034 ecx = esi + 0xC; /* 0x2B075EB2: lea ecx, [esi + 0xc] */ 43035 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B075EB5: mov byte ptr [ebp - 4], 5 */ 43036 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B075EB9: call dword ptr [0x2b0b514c] */ 43037 RECOMP_FLAGS_IN(); 43038 PUSH32(esp, esi); /* 0x2B075EBF: push esi */ 43039 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B075EC0: call 0x2b0ab1ba */ /* not lifted */ 43040 RECOMP_FLAGS_IN(); 43041 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 43042 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 43043 esp = esp + 4; /* 0x2B075EC5: add esp, 4 */ 43044 _flag_k = FK_ADD; 43045 L_2B075EC8: 43046 PUSH32(esp, 1); /* 0x2B075EC8: push 1 */ 43047 ecx = ebp + (-0x58); /* 0x2B075ECA: lea ecx, [ebp - 0x58] */ 43048 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B075ECD: mov dword ptr [ebp - 4], 0xffffffff */ 43049 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B075ED4: call dword ptr [0x2b0b514c] */ 43050 RECOMP_FLAGS_IN(); 43051 ecx = MEM32(ebp + (-0xC)); /* 0x2B075EDA: mov ecx, dword ptr [ebp - 0xc] */ 43052 esi = POP32_VAL(esp); /* 0x2B075EDD: pop esi */ 43053 ebx = POP32_VAL(esp); /* 0x2B075EDE: pop ebx */ 43054 MEM32(FS_BASE + (0)) = ecx; /* 0x2B075EDF: mov dword ptr fs:[0], ecx */ 43055 esp = ebp; /* 0x2B075EE6: mov esp, ebp */ 43056 ebp = POP32_VAL(esp); /* 0x2B075EE8: pop ebp */ 43057 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B075EE9: ret */ 43058 RECOMP_REGS_OUT(); 43059 } 43060 43061 void sub_2B075EF0(void) { 43062 int _fpu_cmp = 0; 43063 uint32_t _cf = 0; 43064 int _df = 1; 43065 uint32_t _flag_k = FK_NONE; 43066 uint32_t _flag_a = 0, _flag_b = 0; 43067 uint32_t _itail_tgt = 0; 43068 RECOMP_REGS_LOCALS 43069 RECOMP_ENTER(0x2B075EF0u); 43070 43071 L_2B075EF0: 43072 PUSH32(esp, ebp); /* 0x2B075EF0: push ebp */ 43073 ebp = esp; /* 0x2B075EF1: mov ebp, esp */ 43074 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B075EF3: push -1 */ 43075 PUSH32(esp, 0x2B0B13FBu); /* 0x2B075EF5: push 0x2b0b13fb */ 43076 eax = MEM32(FS_BASE + (0)); /* 0x2B075EFA: mov eax, dword ptr fs:[0] */ 43077 PUSH32(esp, eax); /* 0x2B075F00: push eax */ 43078 MEM32(FS_BASE + (0)) = esp; /* 0x2B075F01: mov dword ptr fs:[0], esp */ 43079 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u); 43080 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43081 esp = esp - 0x20u; /* 0x2B075F08: sub esp, 0x20 */ 43082 _flag_k = FK_CMP; 43083 PUSH32(esp, ebx); /* 0x2B075F0B: push ebx */ 43084 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 43085 ebx = 0; /* 0x2B075F0C: xor ebx, ebx */ 43086 _cf = 0; 43087 _flag_k = FK_TEST; 43088 PUSH32(esp, esi); /* 0x2B075F0E: push esi */ 43089 esi = ecx; /* 0x2B075F0F: mov esi, ecx */ 43090 MEM8(esi) = (uint8_t)(1); /* 0x2B075F11: mov byte ptr [esi], 1 */ 43091 MEM32(esi + 0x14) = ebx; /* 0x2B075F14: mov dword ptr [esi + 0x14], ebx */ 43092 MEM32(esi + 0x18) = ebx; /* 0x2B075F17: mov dword ptr [esi + 0x18], ebx */ 43093 MEM32(esi + 0x1C) = ebx; /* 0x2B075F1A: mov dword ptr [esi + 0x1c], ebx */ 43094 MEM32(esi + 0x20) = ebx; /* 0x2B075F1D: mov dword ptr [esi + 0x20], ebx */ 43095 MEM32(esi + 0x24) = ebx; /* 0x2B075F20: mov dword ptr [esi + 0x24], ebx */ 43096 PUSH32(esp, edi); /* 0x2B075F23: push edi */ 43097 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 43098 eax = 0; /* 0x2B075F24: xor eax, eax */ 43099 _cf = 0; 43100 _flag_k = FK_TEST; 43101 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 43102 ecx = 0; /* 0x2B075F26: xor ecx, ecx */ 43103 _cf = 0; 43104 _flag_k = FK_TEST; 43105 PUSH32(esp, 2); /* 0x2B075F28: push 2 */ 43106 MEM32(esi + 0xC) = eax; /* 0x2B075F2A: mov dword ptr [esi + 0xc], eax */ 43107 PUSH32(esp, 0x63u); /* 0x2B075F2D: push 0x63 */ 43108 MEM32(esi + 0x2C) = ebx; /* 0x2B075F2F: mov dword ptr [esi + 0x2c], ebx */ 43109 MEM8(esi + 0x30) = (uint8_t)(LO8(ebx)); /* 0x2B075F32: mov byte ptr [esi + 0x30], bl */ 43110 MEM32(esi + 0x34) = ebx; /* 0x2B075F35: mov dword ptr [esi + 0x34], ebx */ 43111 MEM32(esi + 0x38) = ebx; /* 0x2B075F38: mov dword ptr [esi + 0x38], ebx */ 43112 MEM32(ebp + (-0x24)) = eax; /* 0x2B075F3B: mov dword ptr [ebp - 0x24], eax */ 43113 MEM32(ebp + (-0x20)) = ecx; /* 0x2B075F3E: mov dword ptr [ebp - 0x20], ecx */ 43114 MEM32(esi + 0x10) = ecx; /* 0x2B075F41: mov dword ptr [esi + 0x10], ecx */ 43115 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B075F44: call dword ptr [0x2b0b5f80] */ 43116 RECOMP_FLAGS_IN(); 43117 ecx = eax; /* 0x2B075F4A: mov ecx, eax */ 43118 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B075F4C: call dword ptr [0x2b0b5fbc] */ 43119 RECOMP_FLAGS_IN(); 43120 PUSH32(esp, 0xD8u); /* 0x2B075F52: push 0xd8 */ 43121 MEM32(ebp + (-0x10)) = eax; /* 0x2B075F57: mov dword ptr [ebp - 0x10], eax */ 43122 RECOMP_ICALL(0x2B0AB212u); /* 0x2B075F5A: call 0x2b0ab212 */ /* not lifted */ 43123 RECOMP_FLAGS_IN(); 43124 edi = eax; /* 0x2B075F5F: mov edi, eax */ 43125 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 43126 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 43127 esp = esp + 4; /* 0x2B075F61: add esp, 4 */ 43128 _flag_k = FK_ADD; 43129 MEM32(ebp + (-0x1C)) = edi; /* 0x2B075F64: mov dword ptr [ebp - 0x1c], edi */ 43130 /* cmp edi, ebx */ /* 0x2B075F67: cmp edi, ebx */ 43131 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 43132 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43133 _flag_k = FK_CMP; 43134 MEM32(ebp + (-0x4)) = ebx; /* 0x2B075F69: mov dword ptr [ebp - 4], ebx */ 43135 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B075FA3; /* 0x2B075F6C: je 0x2b075fa3 */ 43136 L_2B075F6E: 43137 edx = MEM32(ebp + (-0x10)); /* 0x2B075F6E: mov edx, dword ptr [ebp - 0x10] */ 43138 eax = ebp + (-0x14); /* 0x2B075F71: lea eax, [ebp - 0x14] */ 43139 PUSH32(esp, eax); /* 0x2B075F74: push eax */ 43140 ecx = ebp + (-0x18); /* 0x2B075F75: lea ecx, [ebp - 0x18] */ 43141 PUSH32(esp, ecx); /* 0x2B075F78: push ecx */ 43142 PUSH32(esp, 1); /* 0x2B075F79: push 1 */ 43143 PUSH32(esp, 0x2710u); /* 0x2B075F7B: push 0x2710 */ 43144 PUSH32(esp, edx); /* 0x2B075F80: push edx */ 43145 eax = ebp + (-0x24); /* 0x2B075F81: lea eax, [ebp - 0x24] */ 43146 PUSH32(esp, eax); /* 0x2B075F84: push eax */ 43147 ecx = edi; /* 0x2B075F85: mov ecx, edi */ 43148 MEM32(ebp + (-0x14)) = 0x3F800000u; /* 0x2B075F87: mov dword ptr [ebp - 0x14], 0x3f800000 */ 43149 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B075F8E: mov dword ptr [ebp - 0x18], 0x3f800000 */ 43150 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B075F95: call dword ptr [0x2b0b5654] */ 43151 RECOMP_FLAGS_IN(); 43152 MEM32(edi) = 0x2B0B618Cu; /* 0x2B075F9B: mov dword ptr [edi], 0x2b0b618c */ 43153 goto L_2B075FA5; /* 0x2B075FA1: jmp 0x2b075fa5 */ 43154 L_2B075FA3: 43155 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 43156 edi = 0; /* 0x2B075FA3: xor edi, edi */ 43157 _cf = 0; 43158 _flag_k = FK_TEST; 43159 L_2B075FA5: 43160 ecx = MEM32(ebp + (-0x10)); /* 0x2B075FA5: mov ecx, dword ptr [ebp - 0x10] */ 43161 MEM32(esi + 0x8) = edi; /* 0x2B075FA8: mov dword ptr [esi + 8], edi */ 43162 eax = MEM32(ecx + 0x8); /* 0x2B075FAB: mov eax, dword ptr [ecx + 8] */ 43163 edx = ebp + (-0x2C); /* 0x2B075FAE: lea edx, [ebp - 0x2c] */ 43164 PUSH32(esp, edx); /* 0x2B075FB1: push edx */ 43165 ecx = edi; /* 0x2B075FB2: mov ecx, edi */ 43166 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B075FB4: mov dword ptr [ebp - 4], 0xffffffff */ 43167 MEM32(ebp + (-0x2C)) = 0x80u; /* 0x2B075FBB: mov dword ptr [ebp - 0x2c], 0x80 */ 43168 MEM32(ebp + (-0x28)) = eax; /* 0x2B075FC2: mov dword ptr [ebp - 0x28], eax */ 43169 RECOMP_ICALL(MEM32(0x2B0B5558)); /* 0x2B075FC5: call dword ptr [0x2b0b5558] */ 43170 RECOMP_FLAGS_IN(); 43171 ecx = MEM32(ebp + (-0xC)); /* 0x2B075FCB: mov ecx, dword ptr [ebp - 0xc] */ 43172 edi = POP32_VAL(esp); /* 0x2B075FCE: pop edi */ 43173 eax = esi; /* 0x2B075FCF: mov eax, esi */ 43174 esi = POP32_VAL(esp); /* 0x2B075FD1: pop esi */ 43175 ebx = POP32_VAL(esp); /* 0x2B075FD2: pop ebx */ 43176 MEM32(FS_BASE + (0)) = ecx; /* 0x2B075FD3: mov dword ptr fs:[0], ecx */ 43177 esp = ebp; /* 0x2B075FDA: mov esp, ebp */ 43178 ebp = POP32_VAL(esp); /* 0x2B075FDC: pop ebp */ 43179 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B075FDD: ret */ 43180 RECOMP_REGS_OUT(); 43181 } 43182 43183 void sub_2B075FE0(void) { 43184 int _fpu_cmp = 0; 43185 uint32_t _cf = 0; 43186 int _df = 1; 43187 uint32_t _flag_k = FK_NONE; 43188 uint32_t _flag_a = 0, _flag_b = 0; 43189 uint32_t _itail_tgt = 0; 43190 RECOMP_REGS_LOCALS 43191 RECOMP_ENTER(0x2B075FE0u); 43192 43193 L_2B075FE0: 43194 PUSH32(esp, ebp); /* 0x2B075FE0: push ebp */ 43195 ebp = esp; /* 0x2B075FE1: mov ebp, esp */ 43196 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 43197 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43198 esp = esp - 8; /* 0x2B075FE3: sub esp, 8 */ 43199 _flag_k = FK_CMP; 43200 PUSH32(esp, esi); /* 0x2B075FE6: push esi */ 43201 esi = ecx; /* 0x2B075FE7: mov esi, ecx */ 43202 eax = MEM32(esi + 0x8); /* 0x2B075FE9: mov eax, dword ptr [esi + 8] */ 43203 eax = MEM32(eax + 0x28); /* 0x2B075FEC: mov eax, dword ptr [eax + 0x28] */ 43204 PUSH32(esp, eax); /* 0x2B075FEF: push eax */ 43205 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B075FF0: call dword ptr [0x2b0b5f80] */ 43206 RECOMP_FLAGS_IN(); 43207 ecx = eax; /* 0x2B075FF6: mov ecx, eax */ 43208 RECOMP_ICALL(MEM32(0x2B0B5FB8)); /* 0x2B075FF8: call dword ptr [0x2b0b5fb8] */ 43209 RECOMP_FLAGS_IN(); 43210 ecx = MEM32(esi + 0x8); /* 0x2B075FFE: mov ecx, dword ptr [esi + 8] */ 43211 /* test ecx, ecx */ /* 0x2B076001: test ecx, ecx */ 43212 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 43213 _cf = 0; 43214 _flag_k = FK_TEST; 43215 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07600B; /* 0x2B076003: je 0x2b07600b */ 43216 L_2B076005: 43217 edx = MEM32(ecx); /* 0x2B076005: mov edx, dword ptr [ecx] */ 43218 PUSH32(esp, 1); /* 0x2B076007: push 1 */ 43219 RECOMP_ICALL(MEM32(edx)); /* 0x2B076009: call dword ptr [edx] */ 43220 RECOMP_FLAGS_IN(); 43221 L_2B07600B: 43222 eax = ebp + (-0x8); /* 0x2B07600B: lea eax, [ebp - 8] */ 43223 PUSH32(esp, eax); /* 0x2B07600E: push eax */ 43224 ecx = esi; /* 0x2B07600F: mov ecx, esi */ 43225 MEM32(ebp + (-0x8)) = 0; /* 0x2B076011: mov dword ptr [ebp - 8], 0 */ 43226 MEM32(ebp + (-0x4)) = 0; /* 0x2B076018: mov dword ptr [ebp - 4], 0 */ 43227 RECOMP_ICALL(0x2B076490u); /* 0x2B07601F: call 0x2b076490 */ /* not lifted */ 43228 RECOMP_FLAGS_IN(); 43229 esi = POP32_VAL(esp); /* 0x2B076024: pop esi */ 43230 esp = ebp; /* 0x2B076025: mov esp, ebp */ 43231 ebp = POP32_VAL(esp); /* 0x2B076027: pop ebp */ 43232 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B076028: ret */ 43233 RECOMP_REGS_OUT(); 43234 } 43235 43236 void sub_2B076030(void) { 43237 int _fpu_cmp = 0; 43238 uint32_t _cf = 0; 43239 int _df = 1; 43240 uint32_t _flag_k = FK_NONE; 43241 uint32_t _flag_a = 0, _flag_b = 0; 43242 uint32_t _itail_tgt = 0; 43243 RECOMP_REGS_LOCALS 43244 RECOMP_ENTER(0x2B076030u); 43245 43246 L_2B076030: 43247 PUSH32(esp, ebp); /* 0x2B076030: push ebp */ 43248 ebp = esp; /* 0x2B076031: mov ebp, esp */ 43249 eax = MEM32(ebp + 0x8); /* 0x2B076033: mov eax, dword ptr [ebp + 8] */ 43250 edx = MEM32(eax); /* 0x2B076036: mov edx, dword ptr [eax] */ 43251 MEM32(ecx + 0xC) = edx; /* 0x2B076038: mov dword ptr [ecx + 0xc], edx */ 43252 edx = MEM32(eax + 0x4); /* 0x2B07603B: mov edx, dword ptr [eax + 4] */ 43253 MEM32(ecx + 0x10) = edx; /* 0x2B07603E: mov dword ptr [ecx + 0x10], edx */ 43254 ecx = MEM32(ecx + 0x8); /* 0x2B076041: mov ecx, dword ptr [ecx + 8] */ 43255 PUSH32(esp, eax); /* 0x2B076044: push eax */ 43256 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B076045: call dword ptr [0x2b0b5640] */ 43257 RECOMP_FLAGS_IN(); 43258 ebp = POP32_VAL(esp); /* 0x2B07604B: pop ebp */ 43259 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07604C: ret 4 */ 43260 RECOMP_REGS_OUT(); 43261 } 43262 43263 void sub_2B076050(void) { 43264 int _fpu_cmp = 0; 43265 uint32_t _cf = 0; 43266 int _df = 1; 43267 uint32_t _flag_k = FK_NONE; 43268 uint32_t _flag_a = 0, _flag_b = 0; 43269 uint32_t _itail_tgt = 0; 43270 RECOMP_REGS_LOCALS 43271 RECOMP_ENTER(0x2B076050u); 43272 43273 L_2B076050: 43274 PUSH32(esp, ebp); /* 0x2B076050: push ebp */ 43275 ebp = esp; /* 0x2B076051: mov ebp, esp */ 43276 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x50u); 43277 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43278 esp = esp - 0x50u; /* 0x2B076053: sub esp, 0x50 */ 43279 _flag_k = FK_CMP; 43280 PUSH32(esp, esi); /* 0x2B076056: push esi */ 43281 esi = ecx; /* 0x2B076057: mov esi, ecx */ 43282 /* cmp MEM8(esi), 0 */ /* 0x2B076059: cmp byte ptr [esi], 0 */ 43283 _flag_a = (uint32_t)(MEM8(esi)) << 24; _flag_b = (uint32_t)(0) << 24; 43284 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43285 _flag_k = FK_NARROW(FK_CMP, 24); 43286 PUSH32(esp, edi); /* 0x2B07605C: push edi */ 43287 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07624A; /* 0x2B07605D: je 0x2b07624a */ 43288 L_2B076063: 43289 edi = MEM32(0x2B0B5D6C); /* 0x2B076063: mov edi, dword ptr [0x2b0b5d6c] */ 43290 eax = ebp + (-0x50); /* 0x2B076069: lea eax, [ebp - 0x50] */ 43291 PUSH32(esp, eax); /* 0x2B07606C: push eax */ 43292 MEM32(ebp + (-0x50)) = 0; /* 0x2B07606D: mov dword ptr [ebp - 0x50], 0 */ 43293 MEM32(ebp + (-0x4C)) = 0; /* 0x2B076074: mov dword ptr [ebp - 0x4c], 0 */ 43294 MEM32(ebp + (-0x48)) = 0; /* 0x2B07607B: mov dword ptr [ebp - 0x48], 0 */ 43295 MEM32(ebp + (-0x44)) = 0x3F800000u; /* 0x2B076082: mov dword ptr [ebp - 0x44], 0x3f800000 */ 43296 RECOMP_ICALL(edi); /* 0x2B076089: call edi */ 43297 RECOMP_FLAGS_IN(); 43298 ecx = eax; /* 0x2B07608B: mov ecx, eax */ 43299 RECOMP_ICALL(MEM32(0x2B0B5E28)); /* 0x2B07608D: call dword ptr [0x2b0b5e28] */ 43300 RECOMP_FLAGS_IN(); 43301 MEM32(ebp + (-0x1C)) = 0; /* 0x2B076093: mov dword ptr [ebp - 0x1c], 0 */ 43302 ecx = MEM32(ebp + (-0x1C)); /* 0x2B07609A: mov ecx, dword ptr [ebp - 0x1c] */ 43303 MEM32(ebp + (-0x10)) = ecx; /* 0x2B07609D: mov dword ptr [ebp - 0x10], ecx */ 43304 ecx = MEM32(ebp + (-0x50)); /* 0x2B0760A0: mov ecx, dword ptr [ebp - 0x50] */ 43305 MEM32(ebp + (-0x18)) = 0; /* 0x2B0760A3: mov dword ptr [ebp - 0x18], 0 */ 43306 edx = MEM32(ebp + (-0x18)); /* 0x2B0760AA: mov edx, dword ptr [ebp - 0x18] */ 43307 MEM32(ebp + (-0x14)) = 0x3F800000u; /* 0x2B0760AD: mov dword ptr [ebp - 0x14], 0x3f800000 */ 43308 eax = MEM32(ebp + (-0x14)); /* 0x2B0760B4: mov eax, dword ptr [ebp - 0x14] */ 43309 MEM32(ebp + (-0x34)) = ecx; /* 0x2B0760B7: mov dword ptr [ebp - 0x34], ecx */ 43310 ecx = ebp + (-0x10); /* 0x2B0760BA: lea ecx, [ebp - 0x10] */ 43311 MEM32(ebp + (-0xC)) = edx; /* 0x2B0760BD: mov dword ptr [ebp - 0xc], edx */ 43312 edx = MEM32(ebp + (-0x4C)); /* 0x2B0760C0: mov edx, dword ptr [ebp - 0x4c] */ 43313 MEM32(ebp + (-0x8)) = eax; /* 0x2B0760C3: mov dword ptr [ebp - 8], eax */ 43314 eax = MEM32(ebp + (-0x48)); /* 0x2B0760C6: mov eax, dword ptr [ebp - 0x48] */ 43315 PUSH32(esp, ecx); /* 0x2B0760C9: push ecx */ 43316 ecx = ebp + (-0x34); /* 0x2B0760CA: lea ecx, [ebp - 0x34] */ 43317 MEM32(ebp + (-0x30)) = edx; /* 0x2B0760CD: mov dword ptr [ebp - 0x30], edx */ 43318 MEM32(ebp + (-0x2C)) = eax; /* 0x2B0760D0: mov dword ptr [ebp - 0x2c], eax */ 43319 RECOMP_ICALL(MEM32(0x2B0B60D8)); /* 0x2B0760D3: call dword ptr [0x2b0b60d8] */ 43320 RECOMP_FLAGS_IN(); 43321 edx = MEM32(eax); /* 0x2B0760D9: mov edx, dword ptr [eax] */ 43322 MEM32(ebp + (-0x1C)) = edx; /* 0x2B0760DB: mov dword ptr [ebp - 0x1c], edx */ 43323 ecx = MEM32(eax + 0x4); /* 0x2B0760DE: mov ecx, dword ptr [eax + 4] */ 43324 MEM32(ebp + (-0x18)) = ecx; /* 0x2B0760E1: mov dword ptr [ebp - 0x18], ecx */ 43325 edx = MEM32(eax + 0x8); /* 0x2B0760E4: mov edx, dword ptr [eax + 8] */ 43326 eax = MEM32(ebp + (-0x50)); /* 0x2B0760E7: mov eax, dword ptr [ebp - 0x50] */ 43327 ecx = MEM32(ebp + (-0x4C)); /* 0x2B0760EA: mov ecx, dword ptr [ebp - 0x4c] */ 43328 MEM32(ebp + (-0x40)) = eax; /* 0x2B0760ED: mov dword ptr [ebp - 0x40], eax */ 43329 MEM32(ebp + (-0x14)) = edx; /* 0x2B0760F0: mov dword ptr [ebp - 0x14], edx */ 43330 edx = MEM32(ebp + (-0x48)); /* 0x2B0760F3: mov edx, dword ptr [ebp - 0x48] */ 43331 eax = ebp + (-0x1C); /* 0x2B0760F6: lea eax, [ebp - 0x1c] */ 43332 MEM32(ebp + (-0x3C)) = ecx; /* 0x2B0760F9: mov dword ptr [ebp - 0x3c], ecx */ 43333 PUSH32(esp, eax); /* 0x2B0760FC: push eax */ 43334 ecx = ebp + (-0x40); /* 0x2B0760FD: lea ecx, [ebp - 0x40] */ 43335 MEM32(ebp + (-0x38)) = edx; /* 0x2B076100: mov dword ptr [ebp - 0x38], edx */ 43336 RECOMP_ICALL(MEM32(0x2B0B60D8)); /* 0x2B076103: call dword ptr [0x2b0b60d8] */ 43337 RECOMP_FLAGS_IN(); 43338 fp_push(*(float*)&MEM32(ebp + (-0x44))); /* 0x2B076109: fld dword ptr [ebp - 0x44] */ 43339 ecx = MEM32(eax); /* 0x2B07610C: mov ecx, dword ptr [eax] */ 43340 _st[0] += _st[0]; /* 0x2B07610E: fadd st(0), st(0) */ 43341 MEM32(ebp + (-0x28)) = ecx; /* 0x2B076110: mov dword ptr [ebp - 0x28], ecx */ 43342 edx = MEM32(eax + 0x4); /* 0x2B076113: mov edx, dword ptr [eax + 4] */ 43343 MEM32(ebp + (-0x24)) = edx; /* 0x2B076116: mov dword ptr [ebp - 0x24], edx */ 43344 eax = MEM32(eax + 0x8); /* 0x2B076119: mov eax, dword ptr [eax + 8] */ 43345 PUSH32(esp, ecx); /* 0x2B07611C: push ecx */ 43346 ecx = ebp + (-0x1C); /* 0x2B07611D: lea ecx, [ebp - 0x1c] */ 43347 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x2B076120: fstp dword ptr [esp] */ 43348 MEM32(ebp + (-0x20)) = eax; /* 0x2B076123: mov dword ptr [ebp - 0x20], eax */ 43349 RECOMP_ICALL(MEM32(0x2B0B60CC)); /* 0x2B076126: call dword ptr [0x2b0b60cc] */ 43350 RECOMP_FLAGS_IN(); 43351 PUSH32(esp, 0x40000000u); /* 0x2B07612C: push 0x40000000 */ 43352 ecx = ebp + (-0x28); /* 0x2B076131: lea ecx, [ebp - 0x28] */ 43353 RECOMP_ICALL(MEM32(0x2B0B60CC)); /* 0x2B076134: call dword ptr [0x2b0b60cc] */ 43354 RECOMP_FLAGS_IN(); 43355 ecx = ebp + (-0x1C); /* 0x2B07613A: lea ecx, [ebp - 0x1c] */ 43356 PUSH32(esp, ecx); /* 0x2B07613D: push ecx */ 43357 ecx = ebp + (-0x10); /* 0x2B07613E: lea ecx, [ebp - 0x10] */ 43358 RECOMP_ICALL(MEM32(0x2B0B60D4)); /* 0x2B076141: call dword ptr [0x2b0b60d4] */ 43359 RECOMP_FLAGS_IN(); 43360 edx = ebp + (-0x28); /* 0x2B076147: lea edx, [ebp - 0x28] */ 43361 PUSH32(esp, edx); /* 0x2B07614A: push edx */ 43362 ecx = ebp + (-0x10); /* 0x2B07614B: lea ecx, [ebp - 0x10] */ 43363 RECOMP_ICALL(MEM32(0x2B0B60D4)); /* 0x2B07614E: call dword ptr [0x2b0b60d4] */ 43364 RECOMP_FLAGS_IN(); 43365 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x2B076154: fld dword ptr [ebp - 8] */ 43366 fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x2B076157: fld dword ptr [ebp - 0x10] */ 43367 PUSH32(esp, 0); /* 0x2B07615A: push 0 */ 43368 { double _x = fp_pop(); _st[0] = atan2(_st[0], _x); } /* 0x2B07615C: fpatan */ 43369 PUSH32(esp, ecx); /* 0x2B07615E: push ecx */ 43370 ecx = MEM32(esi + 0x8); /* 0x2B07615F: mov ecx, dword ptr [esi + 8] */ 43371 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x2B076162: fstp dword ptr [ebp - 4] */ 43372 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x2B076165: fld dword ptr [ebp - 4] */ 43373 _st[0] *= *(double*)ADDR(0x2B0B7170); /* 0x2B076168: fmul qword ptr [0x2b0b7170] */ 43374 _st[0] = -_st[0]; /* 0x2B07616E: fchs */ 43375 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x2B076170: fstp dword ptr [esp] */ 43376 RECOMP_ICALL(MEM32(0x2B0B5488)); /* 0x2B076173: call dword ptr [0x2b0b5488] */ 43377 RECOMP_FLAGS_IN(); 43378 SET_LO8(eax, MEM8(esi + 0x30)); /* 0x2B076179: mov al, byte ptr [esi + 0x30] */ 43379 /* test LO8(eax), LO8(eax) */ /* 0x2B07617C: test al, al */ 43380 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 43381 _cf = 0; 43382 _flag_k = FK_NARROW(FK_TEST, 24); 43383 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07623E; /* 0x2B07617E: je 0x2b07623e */ 43384 L_2B076184: 43385 eax = MEM32(esi + 0x28); /* 0x2B076184: mov eax, dword ptr [esi + 0x28] */ 43386 /* cmp eax, MEM32(esi + 0x2C) */ /* 0x2B076187: cmp eax, dword ptr [esi + 0x2c] */ 43387 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x2C)); 43388 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43389 _flag_k = FK_CMP; 43390 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07623E; /* 0x2B07618A: jne 0x2b07623e */ 43391 L_2B076190: 43392 ecx = ebp + (-0x1C); /* 0x2B076190: lea ecx, [ebp - 0x1c] */ 43393 PUSH32(esp, ecx); /* 0x2B076193: push ecx */ 43394 MEM32(ebp + (-0x1C)) = 0; /* 0x2B076194: mov dword ptr [ebp - 0x1c], 0 */ 43395 MEM32(ebp + (-0x18)) = 0; /* 0x2B07619B: mov dword ptr [ebp - 0x18], 0 */ 43396 MEM32(ebp + (-0x14)) = 0; /* 0x2B0761A2: mov dword ptr [ebp - 0x14], 0 */ 43397 RECOMP_ICALL(edi); /* 0x2B0761A9: call edi */ 43398 RECOMP_FLAGS_IN(); 43399 ecx = eax; /* 0x2B0761AB: mov ecx, eax */ 43400 RECOMP_ICALL(MEM32(0x2B0B5F04)); /* 0x2B0761AD: call dword ptr [0x2b0b5f04] */ 43401 RECOMP_FLAGS_IN(); 43402 edx = esi + 0x1C; /* 0x2B0761B3: lea edx, [esi + 0x1c] */ 43403 eax = MEM32(edx); /* 0x2B0761B6: mov eax, dword ptr [edx] */ 43404 ecx = MEM32(edx + 0x4); /* 0x2B0761B8: mov ecx, dword ptr [edx + 4] */ 43405 edx = MEM32(edx + 0x8); /* 0x2B0761BB: mov edx, dword ptr [edx + 8] */ 43406 MEM32(ebp + (-0x28)) = eax; /* 0x2B0761BE: mov dword ptr [ebp - 0x28], eax */ 43407 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x2B0761C1: fld dword ptr [ebp - 0x28] */ 43408 _st[0] -= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2B0761C4: fsub dword ptr [ebp - 0x1c] */ 43409 MEM32(ebp + (-0x20)) = edx; /* 0x2B0761C7: mov dword ptr [ebp - 0x20], edx */ 43410 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x2B0761CA: fld dword ptr [ebp - 0x20] */ 43411 eax = MEM32(esi + 0x8); /* 0x2B0761CD: mov eax, dword ptr [esi + 8] */ 43412 _st[0] -= (double)*(float*)ADDR(ebp + (-0x14)); /* 0x2B0761D0: fsub dword ptr [ebp - 0x14] */ 43413 MEM32(ebp + (-0x24)) = ecx; /* 0x2B0761D3: mov dword ptr [ebp - 0x24], ecx */ 43414 fp_xch(1); /* 0x2B0761D6: fxch st(1) */ 43415 ecx = MEM32(eax + 0x28); /* 0x2B0761D8: mov ecx, dword ptr [eax + 0x28] */ 43416 { double _x = fp_pop(); _st[0] = atan2(_st[0], _x); } /* 0x2B0761DB: fpatan */ 43417 _st[0] = (double)*(float*)ADDR(ebp + (-0x4)) - _st[0]; /* 0x2B0761DD: fsubr dword ptr [ebp - 4] */ 43418 _st[0] *= (double)*(float*)ADDR(0x2B0B6544); /* 0x2B0761E0: fmul dword ptr [0x2b0b6544] */ 43419 _st[0] = _st[0] * (double)(int32_t)MEM32(ecx + 0xC); /* 0x2B0761E6: fimul dword ptr [ecx + 0xc] */ 43420 RECOMP_ICALL(0x2B0AB220u); /* 0x2B0761E9: call 0x2b0ab220 */ /* not lifted */ 43421 RECOMP_FLAGS_IN(); 43422 ecx = MEM32(esi + 0x34); /* 0x2B0761EE: mov ecx, dword ptr [esi + 0x34] */ 43423 edx = MEM32(ecx); /* 0x2B0761F1: mov edx, dword ptr [ecx] */ 43424 edi = eax; /* 0x2B0761F3: mov edi, eax */ 43425 RECOMP_ICALL(MEM32(edx + 0x8)); /* 0x2B0761F5: call dword ptr [edx + 8] */ 43426 RECOMP_FLAGS_IN(); 43427 ecx = MEM32(esi + 0x10); /* 0x2B0761F8: mov ecx, dword ptr [esi + 0x10] */ 43428 eax = MEM32(esi + 0xC); /* 0x2B0761FB: mov eax, dword ptr [esi + 0xc] */ 43429 MEM32(ebp + (-0x8)) = ecx; /* 0x2B0761FE: mov dword ptr [ebp - 8], ecx */ 43430 ecx = MEM32(esi + 0xC); /* 0x2B076201: mov ecx, dword ptr [esi + 0xc] */ 43431 eax = eax + edi + 0x40; /* 0x2B076204: lea eax, [eax + edi + 0x40] */ 43432 /* cmp eax, ecx */ /* 0x2B076208: cmp eax, ecx */ 43433 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 43434 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43435 _flag_k = FK_CMP; 43436 MEM32(ebp + (-0xC)) = eax; /* 0x2B07620A: mov dword ptr [ebp - 0xc], eax */ 43437 if (CMP_L(_flag_a, _flag_b)) goto L_2B076223; /* 0x2B07620D: jl 0x2b076223 */ 43438 L_2B07620F: 43439 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80u); 43440 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 43441 ecx = ecx + 0x80u; /* 0x2B07620F: add ecx, 0x80 */ 43442 _flag_k = FK_ADD; 43443 /* cmp eax, ecx */ /* 0x2B076215: cmp eax, ecx */ 43444 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 43445 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43446 _flag_k = FK_CMP; 43447 if (CMP_G(_flag_a, _flag_b)) goto L_2B076223; /* 0x2B076217: jg 0x2b076223 */ 43448 L_2B076219: 43449 ecx = MEM32(esi + 0x34); /* 0x2B076219: mov ecx, dword ptr [esi + 0x34] */ 43450 edx = MEM32(ecx); /* 0x2B07621C: mov edx, dword ptr [ecx] */ 43451 RECOMP_ICALL(MEM32(edx + 0x8)); /* 0x2B07621E: call dword ptr [edx + 8] */ 43452 RECOMP_FLAGS_IN(); 43453 goto L_2B07622B; /* 0x2B076221: jmp 0x2b07622b */ 43454 L_2B076223: 43455 ecx = MEM32(esi + 0x34); /* 0x2B076223: mov ecx, dword ptr [esi + 0x34] */ 43456 eax = MEM32(ecx); /* 0x2B076226: mov eax, dword ptr [ecx] */ 43457 RECOMP_ICALL(MEM32(eax + 0xC)); /* 0x2B076228: call dword ptr [eax + 0xc] */ 43458 RECOMP_FLAGS_IN(); 43459 L_2B07622B: 43460 ecx = ebp + (-0xC); /* 0x2B07622B: lea ecx, [ebp - 0xc] */ 43461 PUSH32(esp, ecx); /* 0x2B07622E: push ecx */ 43462 ecx = MEM32(esi + 0x34); /* 0x2B07622F: mov ecx, dword ptr [esi + 0x34] */ 43463 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B076232: call dword ptr [0x2b0b5640] */ 43464 RECOMP_FLAGS_IN(); 43465 edi = POP32_VAL(esp); /* 0x2B076238: pop edi */ 43466 esi = POP32_VAL(esp); /* 0x2B076239: pop esi */ 43467 esp = ebp; /* 0x2B07623A: mov esp, ebp */ 43468 ebp = POP32_VAL(esp); /* 0x2B07623C: pop ebp */ 43469 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07623D: ret */ 43470 L_2B07623E: 43471 ecx = MEM32(esi + 0x34); /* 0x2B07623E: mov ecx, dword ptr [esi + 0x34] */ 43472 /* test ecx, ecx */ /* 0x2B076241: test ecx, ecx */ 43473 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 43474 _cf = 0; 43475 _flag_k = FK_TEST; 43476 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07624A; /* 0x2B076243: je 0x2b07624a */ 43477 L_2B076245: 43478 edx = MEM32(ecx); /* 0x2B076245: mov edx, dword ptr [ecx] */ 43479 RECOMP_ICALL(MEM32(edx + 0xC)); /* 0x2B076247: call dword ptr [edx + 0xc] */ 43480 RECOMP_FLAGS_IN(); 43481 L_2B07624A: 43482 edi = POP32_VAL(esp); /* 0x2B07624A: pop edi */ 43483 esi = POP32_VAL(esp); /* 0x2B07624B: pop esi */ 43484 esp = ebp; /* 0x2B07624C: mov esp, ebp */ 43485 ebp = POP32_VAL(esp); /* 0x2B07624E: pop ebp */ 43486 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07624F: ret */ 43487 RECOMP_REGS_OUT(); 43488 } 43489 43490 void sub_2B0760AA(void) { 43491 int _fpu_cmp = 0; 43492 uint32_t _cf = 0; 43493 int _df = 1; 43494 uint32_t _flag_k = FK_NONE; 43495 uint32_t _flag_a = 0, _flag_b = 0; 43496 uint32_t _itail_tgt = 0; 43497 RECOMP_REGS_LOCALS 43498 RECOMP_ENTER(0x2B0760AAu); 43499 43500 L_2B0760AA: 43501 edx = MEM32(ebp + (-0x18)); /* 0x2B0760AA: mov edx, dword ptr [ebp - 0x18] */ 43502 MEM32(ebp + (-0x14)) = 0x3F800000u; /* 0x2B0760AD: mov dword ptr [ebp - 0x14], 0x3f800000 */ 43503 eax = MEM32(ebp + (-0x14)); /* 0x2B0760B4: mov eax, dword ptr [ebp - 0x14] */ 43504 MEM32(ebp + (-0x34)) = ecx; /* 0x2B0760B7: mov dword ptr [ebp - 0x34], ecx */ 43505 ecx = ebp + (-0x10); /* 0x2B0760BA: lea ecx, [ebp - 0x10] */ 43506 MEM32(ebp + (-0xC)) = edx; /* 0x2B0760BD: mov dword ptr [ebp - 0xc], edx */ 43507 edx = MEM32(ebp + (-0x4C)); /* 0x2B0760C0: mov edx, dword ptr [ebp - 0x4c] */ 43508 MEM32(ebp + (-0x8)) = eax; /* 0x2B0760C3: mov dword ptr [ebp - 8], eax */ 43509 eax = MEM32(ebp + (-0x48)); /* 0x2B0760C6: mov eax, dword ptr [ebp - 0x48] */ 43510 PUSH32(esp, ecx); /* 0x2B0760C9: push ecx */ 43511 ecx = ebp + (-0x34); /* 0x2B0760CA: lea ecx, [ebp - 0x34] */ 43512 MEM32(ebp + (-0x30)) = edx; /* 0x2B0760CD: mov dword ptr [ebp - 0x30], edx */ 43513 MEM32(ebp + (-0x2C)) = eax; /* 0x2B0760D0: mov dword ptr [ebp - 0x2c], eax */ 43514 RECOMP_ICALL(MEM32(0x2B0B60D8)); /* 0x2B0760D3: call dword ptr [0x2b0b60d8] */ 43515 RECOMP_FLAGS_IN(); 43516 edx = MEM32(eax); /* 0x2B0760D9: mov edx, dword ptr [eax] */ 43517 MEM32(ebp + (-0x1C)) = edx; /* 0x2B0760DB: mov dword ptr [ebp - 0x1c], edx */ 43518 ecx = MEM32(eax + 0x4); /* 0x2B0760DE: mov ecx, dword ptr [eax + 4] */ 43519 MEM32(ebp + (-0x18)) = ecx; /* 0x2B0760E1: mov dword ptr [ebp - 0x18], ecx */ 43520 edx = MEM32(eax + 0x8); /* 0x2B0760E4: mov edx, dword ptr [eax + 8] */ 43521 eax = MEM32(ebp + (-0x50)); /* 0x2B0760E7: mov eax, dword ptr [ebp - 0x50] */ 43522 ecx = MEM32(ebp + (-0x4C)); /* 0x2B0760EA: mov ecx, dword ptr [ebp - 0x4c] */ 43523 MEM32(ebp + (-0x40)) = eax; /* 0x2B0760ED: mov dword ptr [ebp - 0x40], eax */ 43524 MEM32(ebp + (-0x14)) = edx; /* 0x2B0760F0: mov dword ptr [ebp - 0x14], edx */ 43525 edx = MEM32(ebp + (-0x48)); /* 0x2B0760F3: mov edx, dword ptr [ebp - 0x48] */ 43526 eax = ebp + (-0x1C); /* 0x2B0760F6: lea eax, [ebp - 0x1c] */ 43527 MEM32(ebp + (-0x3C)) = ecx; /* 0x2B0760F9: mov dword ptr [ebp - 0x3c], ecx */ 43528 PUSH32(esp, eax); /* 0x2B0760FC: push eax */ 43529 ecx = ebp + (-0x40); /* 0x2B0760FD: lea ecx, [ebp - 0x40] */ 43530 MEM32(ebp + (-0x38)) = edx; /* 0x2B076100: mov dword ptr [ebp - 0x38], edx */ 43531 RECOMP_ICALL(MEM32(0x2B0B60D8)); /* 0x2B076103: call dword ptr [0x2b0b60d8] */ 43532 RECOMP_FLAGS_IN(); 43533 fp_push(*(float*)&MEM32(ebp + (-0x44))); /* 0x2B076109: fld dword ptr [ebp - 0x44] */ 43534 ecx = MEM32(eax); /* 0x2B07610C: mov ecx, dword ptr [eax] */ 43535 _st[0] += _st[0]; /* 0x2B07610E: fadd st(0), st(0) */ 43536 MEM32(ebp + (-0x28)) = ecx; /* 0x2B076110: mov dword ptr [ebp - 0x28], ecx */ 43537 edx = MEM32(eax + 0x4); /* 0x2B076113: mov edx, dword ptr [eax + 4] */ 43538 MEM32(ebp + (-0x24)) = edx; /* 0x2B076116: mov dword ptr [ebp - 0x24], edx */ 43539 eax = MEM32(eax + 0x8); /* 0x2B076119: mov eax, dword ptr [eax + 8] */ 43540 PUSH32(esp, ecx); /* 0x2B07611C: push ecx */ 43541 ecx = ebp + (-0x1C); /* 0x2B07611D: lea ecx, [ebp - 0x1c] */ 43542 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x2B076120: fstp dword ptr [esp] */ 43543 MEM32(ebp + (-0x20)) = eax; /* 0x2B076123: mov dword ptr [ebp - 0x20], eax */ 43544 RECOMP_ICALL(MEM32(0x2B0B60CC)); /* 0x2B076126: call dword ptr [0x2b0b60cc] */ 43545 RECOMP_FLAGS_IN(); 43546 PUSH32(esp, 0x40000000u); /* 0x2B07612C: push 0x40000000 */ 43547 ecx = ebp + (-0x28); /* 0x2B076131: lea ecx, [ebp - 0x28] */ 43548 RECOMP_ICALL(MEM32(0x2B0B60CC)); /* 0x2B076134: call dword ptr [0x2b0b60cc] */ 43549 RECOMP_FLAGS_IN(); 43550 ecx = ebp + (-0x1C); /* 0x2B07613A: lea ecx, [ebp - 0x1c] */ 43551 PUSH32(esp, ecx); /* 0x2B07613D: push ecx */ 43552 ecx = ebp + (-0x10); /* 0x2B07613E: lea ecx, [ebp - 0x10] */ 43553 RECOMP_ICALL(MEM32(0x2B0B60D4)); /* 0x2B076141: call dword ptr [0x2b0b60d4] */ 43554 RECOMP_FLAGS_IN(); 43555 edx = ebp + (-0x28); /* 0x2B076147: lea edx, [ebp - 0x28] */ 43556 PUSH32(esp, edx); /* 0x2B07614A: push edx */ 43557 ecx = ebp + (-0x10); /* 0x2B07614B: lea ecx, [ebp - 0x10] */ 43558 RECOMP_ICALL(MEM32(0x2B0B60D4)); /* 0x2B07614E: call dword ptr [0x2b0b60d4] */ 43559 RECOMP_FLAGS_IN(); 43560 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x2B076154: fld dword ptr [ebp - 8] */ 43561 fp_push(*(float*)&MEM32(ebp + (-0x10))); /* 0x2B076157: fld dword ptr [ebp - 0x10] */ 43562 PUSH32(esp, 0); /* 0x2B07615A: push 0 */ 43563 { double _x = fp_pop(); _st[0] = atan2(_st[0], _x); } /* 0x2B07615C: fpatan */ 43564 PUSH32(esp, ecx); /* 0x2B07615E: push ecx */ 43565 ecx = MEM32(esi + 0x8); /* 0x2B07615F: mov ecx, dword ptr [esi + 8] */ 43566 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x2B076162: fstp dword ptr [ebp - 4] */ 43567 fp_push(*(float*)&MEM32(ebp + (-0x4))); /* 0x2B076165: fld dword ptr [ebp - 4] */ 43568 _st[0] *= *(double*)ADDR(0x2B0B7170); /* 0x2B076168: fmul qword ptr [0x2b0b7170] */ 43569 _st[0] = -_st[0]; /* 0x2B07616E: fchs */ 43570 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x2B076170: fstp dword ptr [esp] */ 43571 RECOMP_ICALL(MEM32(0x2B0B5488)); /* 0x2B076173: call dword ptr [0x2b0b5488] */ 43572 RECOMP_FLAGS_IN(); 43573 SET_LO8(eax, MEM8(esi + 0x30)); /* 0x2B076179: mov al, byte ptr [esi + 0x30] */ 43574 /* test LO8(eax), LO8(eax) */ /* 0x2B07617C: test al, al */ 43575 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 43576 _cf = 0; 43577 _flag_k = FK_NARROW(FK_TEST, 24); 43578 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07623E; /* 0x2B07617E: je 0x2b07623e */ 43579 L_2B076184: 43580 eax = MEM32(esi + 0x28); /* 0x2B076184: mov eax, dword ptr [esi + 0x28] */ 43581 /* cmp eax, MEM32(esi + 0x2C) */ /* 0x2B076187: cmp eax, dword ptr [esi + 0x2c] */ 43582 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x2C)); 43583 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43584 _flag_k = FK_CMP; 43585 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07623E; /* 0x2B07618A: jne 0x2b07623e */ 43586 L_2B076190: 43587 ecx = ebp + (-0x1C); /* 0x2B076190: lea ecx, [ebp - 0x1c] */ 43588 PUSH32(esp, ecx); /* 0x2B076193: push ecx */ 43589 MEM32(ebp + (-0x1C)) = 0; /* 0x2B076194: mov dword ptr [ebp - 0x1c], 0 */ 43590 MEM32(ebp + (-0x18)) = 0; /* 0x2B07619B: mov dword ptr [ebp - 0x18], 0 */ 43591 MEM32(ebp + (-0x14)) = 0; /* 0x2B0761A2: mov dword ptr [ebp - 0x14], 0 */ 43592 RECOMP_ICALL(edi); /* 0x2B0761A9: call edi */ 43593 RECOMP_FLAGS_IN(); 43594 ecx = eax; /* 0x2B0761AB: mov ecx, eax */ 43595 RECOMP_ICALL(MEM32(0x2B0B5F04)); /* 0x2B0761AD: call dword ptr [0x2b0b5f04] */ 43596 RECOMP_FLAGS_IN(); 43597 edx = esi + 0x1C; /* 0x2B0761B3: lea edx, [esi + 0x1c] */ 43598 eax = MEM32(edx); /* 0x2B0761B6: mov eax, dword ptr [edx] */ 43599 ecx = MEM32(edx + 0x4); /* 0x2B0761B8: mov ecx, dword ptr [edx + 4] */ 43600 edx = MEM32(edx + 0x8); /* 0x2B0761BB: mov edx, dword ptr [edx + 8] */ 43601 MEM32(ebp + (-0x28)) = eax; /* 0x2B0761BE: mov dword ptr [ebp - 0x28], eax */ 43602 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x2B0761C1: fld dword ptr [ebp - 0x28] */ 43603 _st[0] -= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2B0761C4: fsub dword ptr [ebp - 0x1c] */ 43604 MEM32(ebp + (-0x20)) = edx; /* 0x2B0761C7: mov dword ptr [ebp - 0x20], edx */ 43605 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x2B0761CA: fld dword ptr [ebp - 0x20] */ 43606 eax = MEM32(esi + 0x8); /* 0x2B0761CD: mov eax, dword ptr [esi + 8] */ 43607 _st[0] -= (double)*(float*)ADDR(ebp + (-0x14)); /* 0x2B0761D0: fsub dword ptr [ebp - 0x14] */ 43608 MEM32(ebp + (-0x24)) = ecx; /* 0x2B0761D3: mov dword ptr [ebp - 0x24], ecx */ 43609 fp_xch(1); /* 0x2B0761D6: fxch st(1) */ 43610 ecx = MEM32(eax + 0x28); /* 0x2B0761D8: mov ecx, dword ptr [eax + 0x28] */ 43611 { double _x = fp_pop(); _st[0] = atan2(_st[0], _x); } /* 0x2B0761DB: fpatan */ 43612 _st[0] = (double)*(float*)ADDR(ebp + (-0x4)) - _st[0]; /* 0x2B0761DD: fsubr dword ptr [ebp - 4] */ 43613 _st[0] *= (double)*(float*)ADDR(0x2B0B6544); /* 0x2B0761E0: fmul dword ptr [0x2b0b6544] */ 43614 _st[0] = _st[0] * (double)(int32_t)MEM32(ecx + 0xC); /* 0x2B0761E6: fimul dword ptr [ecx + 0xc] */ 43615 RECOMP_ICALL(0x2B0AB220u); /* 0x2B0761E9: call 0x2b0ab220 */ /* not lifted */ 43616 RECOMP_FLAGS_IN(); 43617 ecx = MEM32(esi + 0x34); /* 0x2B0761EE: mov ecx, dword ptr [esi + 0x34] */ 43618 edx = MEM32(ecx); /* 0x2B0761F1: mov edx, dword ptr [ecx] */ 43619 edi = eax; /* 0x2B0761F3: mov edi, eax */ 43620 RECOMP_ICALL(MEM32(edx + 0x8)); /* 0x2B0761F5: call dword ptr [edx + 8] */ 43621 RECOMP_FLAGS_IN(); 43622 ecx = MEM32(esi + 0x10); /* 0x2B0761F8: mov ecx, dword ptr [esi + 0x10] */ 43623 eax = MEM32(esi + 0xC); /* 0x2B0761FB: mov eax, dword ptr [esi + 0xc] */ 43624 MEM32(ebp + (-0x8)) = ecx; /* 0x2B0761FE: mov dword ptr [ebp - 8], ecx */ 43625 ecx = MEM32(esi + 0xC); /* 0x2B076201: mov ecx, dword ptr [esi + 0xc] */ 43626 eax = eax + edi + 0x40; /* 0x2B076204: lea eax, [eax + edi + 0x40] */ 43627 /* cmp eax, ecx */ /* 0x2B076208: cmp eax, ecx */ 43628 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 43629 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43630 _flag_k = FK_CMP; 43631 MEM32(ebp + (-0xC)) = eax; /* 0x2B07620A: mov dword ptr [ebp - 0xc], eax */ 43632 if (CMP_L(_flag_a, _flag_b)) goto L_2B076223; /* 0x2B07620D: jl 0x2b076223 */ 43633 L_2B07620F: 43634 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80u); 43635 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 43636 ecx = ecx + 0x80u; /* 0x2B07620F: add ecx, 0x80 */ 43637 _flag_k = FK_ADD; 43638 /* cmp eax, ecx */ /* 0x2B076215: cmp eax, ecx */ 43639 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 43640 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43641 _flag_k = FK_CMP; 43642 if (CMP_G(_flag_a, _flag_b)) goto L_2B076223; /* 0x2B076217: jg 0x2b076223 */ 43643 L_2B076219: 43644 ecx = MEM32(esi + 0x34); /* 0x2B076219: mov ecx, dword ptr [esi + 0x34] */ 43645 edx = MEM32(ecx); /* 0x2B07621C: mov edx, dword ptr [ecx] */ 43646 RECOMP_ICALL(MEM32(edx + 0x8)); /* 0x2B07621E: call dword ptr [edx + 8] */ 43647 RECOMP_FLAGS_IN(); 43648 goto L_2B07622B; /* 0x2B076221: jmp 0x2b07622b */ 43649 L_2B076223: 43650 ecx = MEM32(esi + 0x34); /* 0x2B076223: mov ecx, dword ptr [esi + 0x34] */ 43651 eax = MEM32(ecx); /* 0x2B076226: mov eax, dword ptr [ecx] */ 43652 RECOMP_ICALL(MEM32(eax + 0xC)); /* 0x2B076228: call dword ptr [eax + 0xc] */ 43653 RECOMP_FLAGS_IN(); 43654 L_2B07622B: 43655 ecx = ebp + (-0xC); /* 0x2B07622B: lea ecx, [ebp - 0xc] */ 43656 PUSH32(esp, ecx); /* 0x2B07622E: push ecx */ 43657 ecx = MEM32(esi + 0x34); /* 0x2B07622F: mov ecx, dword ptr [esi + 0x34] */ 43658 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B076232: call dword ptr [0x2b0b5640] */ 43659 RECOMP_FLAGS_IN(); 43660 edi = POP32_VAL(esp); /* 0x2B076238: pop edi */ 43661 esi = POP32_VAL(esp); /* 0x2B076239: pop esi */ 43662 esp = ebp; /* 0x2B07623A: mov esp, ebp */ 43663 ebp = POP32_VAL(esp); /* 0x2B07623C: pop ebp */ 43664 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07623D: ret */ 43665 L_2B07623E: 43666 ecx = MEM32(esi + 0x34); /* 0x2B07623E: mov ecx, dword ptr [esi + 0x34] */ 43667 /* test ecx, ecx */ /* 0x2B076241: test ecx, ecx */ 43668 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 43669 _cf = 0; 43670 _flag_k = FK_TEST; 43671 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07624A; /* 0x2B076243: je 0x2b07624a */ 43672 L_2B076245: 43673 edx = MEM32(ecx); /* 0x2B076245: mov edx, dword ptr [ecx] */ 43674 RECOMP_ICALL(MEM32(edx + 0xC)); /* 0x2B076247: call dword ptr [edx + 0xc] */ 43675 RECOMP_FLAGS_IN(); 43676 L_2B07624A: 43677 edi = POP32_VAL(esp); /* 0x2B07624A: pop edi */ 43678 esi = POP32_VAL(esp); /* 0x2B07624B: pop esi */ 43679 esp = ebp; /* 0x2B07624C: mov esp, ebp */ 43680 ebp = POP32_VAL(esp); /* 0x2B07624E: pop ebp */ 43681 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07624F: ret */ 43682 RECOMP_REGS_OUT(); 43683 } 43684 43685 void sub_2B0761A2(void) { 43686 int _fpu_cmp = 0; 43687 uint32_t _cf = 0; 43688 int _df = 1; 43689 uint32_t _flag_k = FK_NONE; 43690 uint32_t _flag_a = 0, _flag_b = 0; 43691 uint32_t _itail_tgt = 0; 43692 RECOMP_REGS_LOCALS 43693 RECOMP_ENTER(0x2B0761A2u); 43694 43695 L_2B0761A2: 43696 MEM32(ebp + (-0x14)) = 0; /* 0x2B0761A2: mov dword ptr [ebp - 0x14], 0 */ 43697 RECOMP_ICALL(edi); /* 0x2B0761A9: call edi */ 43698 RECOMP_FLAGS_IN(); 43699 ecx = eax; /* 0x2B0761AB: mov ecx, eax */ 43700 RECOMP_ICALL(MEM32(0x2B0B5F04)); /* 0x2B0761AD: call dword ptr [0x2b0b5f04] */ 43701 RECOMP_FLAGS_IN(); 43702 edx = esi + 0x1C; /* 0x2B0761B3: lea edx, [esi + 0x1c] */ 43703 eax = MEM32(edx); /* 0x2B0761B6: mov eax, dword ptr [edx] */ 43704 ecx = MEM32(edx + 0x4); /* 0x2B0761B8: mov ecx, dword ptr [edx + 4] */ 43705 edx = MEM32(edx + 0x8); /* 0x2B0761BB: mov edx, dword ptr [edx + 8] */ 43706 MEM32(ebp + (-0x28)) = eax; /* 0x2B0761BE: mov dword ptr [ebp - 0x28], eax */ 43707 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x2B0761C1: fld dword ptr [ebp - 0x28] */ 43708 _st[0] -= (double)*(float*)ADDR(ebp + (-0x1C)); /* 0x2B0761C4: fsub dword ptr [ebp - 0x1c] */ 43709 MEM32(ebp + (-0x20)) = edx; /* 0x2B0761C7: mov dword ptr [ebp - 0x20], edx */ 43710 fp_push(*(float*)&MEM32(ebp + (-0x20))); /* 0x2B0761CA: fld dword ptr [ebp - 0x20] */ 43711 eax = MEM32(esi + 0x8); /* 0x2B0761CD: mov eax, dword ptr [esi + 8] */ 43712 _st[0] -= (double)*(float*)ADDR(ebp + (-0x14)); /* 0x2B0761D0: fsub dword ptr [ebp - 0x14] */ 43713 MEM32(ebp + (-0x24)) = ecx; /* 0x2B0761D3: mov dword ptr [ebp - 0x24], ecx */ 43714 fp_xch(1); /* 0x2B0761D6: fxch st(1) */ 43715 ecx = MEM32(eax + 0x28); /* 0x2B0761D8: mov ecx, dword ptr [eax + 0x28] */ 43716 { double _x = fp_pop(); _st[0] = atan2(_st[0], _x); } /* 0x2B0761DB: fpatan */ 43717 _st[0] = (double)*(float*)ADDR(ebp + (-0x4)) - _st[0]; /* 0x2B0761DD: fsubr dword ptr [ebp - 4] */ 43718 _st[0] *= (double)*(float*)ADDR(0x2B0B6544); /* 0x2B0761E0: fmul dword ptr [0x2b0b6544] */ 43719 _st[0] = _st[0] * (double)(int32_t)MEM32(ecx + 0xC); /* 0x2B0761E6: fimul dword ptr [ecx + 0xc] */ 43720 RECOMP_ICALL(0x2B0AB220u); /* 0x2B0761E9: call 0x2b0ab220 */ /* not lifted */ 43721 RECOMP_FLAGS_IN(); 43722 ecx = MEM32(esi + 0x34); /* 0x2B0761EE: mov ecx, dword ptr [esi + 0x34] */ 43723 edx = MEM32(ecx); /* 0x2B0761F1: mov edx, dword ptr [ecx] */ 43724 edi = eax; /* 0x2B0761F3: mov edi, eax */ 43725 RECOMP_ICALL(MEM32(edx + 0x8)); /* 0x2B0761F5: call dword ptr [edx + 8] */ 43726 RECOMP_FLAGS_IN(); 43727 ecx = MEM32(esi + 0x10); /* 0x2B0761F8: mov ecx, dword ptr [esi + 0x10] */ 43728 eax = MEM32(esi + 0xC); /* 0x2B0761FB: mov eax, dword ptr [esi + 0xc] */ 43729 MEM32(ebp + (-0x8)) = ecx; /* 0x2B0761FE: mov dword ptr [ebp - 8], ecx */ 43730 ecx = MEM32(esi + 0xC); /* 0x2B076201: mov ecx, dword ptr [esi + 0xc] */ 43731 eax = eax + edi + 0x40; /* 0x2B076204: lea eax, [eax + edi + 0x40] */ 43732 /* cmp eax, ecx */ /* 0x2B076208: cmp eax, ecx */ 43733 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 43734 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43735 _flag_k = FK_CMP; 43736 MEM32(ebp + (-0xC)) = eax; /* 0x2B07620A: mov dword ptr [ebp - 0xc], eax */ 43737 if (CMP_L(_flag_a, _flag_b)) goto L_2B076223; /* 0x2B07620D: jl 0x2b076223 */ 43738 L_2B07620F: 43739 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80u); 43740 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 43741 ecx = ecx + 0x80u; /* 0x2B07620F: add ecx, 0x80 */ 43742 _flag_k = FK_ADD; 43743 /* cmp eax, ecx */ /* 0x2B076215: cmp eax, ecx */ 43744 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 43745 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 43746 _flag_k = FK_CMP; 43747 if (CMP_G(_flag_a, _flag_b)) goto L_2B076223; /* 0x2B076217: jg 0x2b076223 */ 43748 L_2B076219: 43749 ecx = MEM32(esi + 0x34); /* 0x2B076219: mov ecx, dword ptr [esi + 0x34] */ 43750 edx = MEM32(ecx); /* 0x2B07621C: mov edx, dword ptr [ecx] */ 43751 RECOMP_ICALL(MEM32(edx + 0x8)); /* 0x2B07621E: call dword ptr [edx + 8] */ 43752 RECOMP_FLAGS_IN(); 43753 goto L_2B07622B; /* 0x2B076221: jmp 0x2b07622b */ 43754 L_2B076223: 43755 ecx = MEM32(esi + 0x34); /* 0x2B076223: mov ecx, dword ptr [esi + 0x34] */ 43756 eax = MEM32(ecx); /* 0x2B076226: mov eax, dword ptr [ecx] */ 43757 RECOMP_ICALL(MEM32(eax + 0xC)); /* 0x2B076228: call dword ptr [eax + 0xc] */ 43758 RECOMP_FLAGS_IN(); 43759 L_2B07622B: 43760 ecx = ebp + (-0xC); /* 0x2B07622B: lea ecx, [ebp - 0xc] */ 43761 PUSH32(esp, ecx); /* 0x2B07622E: push ecx */ 43762 ecx = MEM32(esi + 0x34); /* 0x2B07622F: mov ecx, dword ptr [esi + 0x34] */ 43763 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B076232: call dword ptr [0x2b0b5640] */ 43764 RECOMP_FLAGS_IN(); 43765 edi = POP32_VAL(esp); /* 0x2B076238: pop edi */ 43766 esi = POP32_VAL(esp); /* 0x2B076239: pop esi */ 43767 esp = ebp; /* 0x2B07623A: mov esp, ebp */ 43768 ebp = POP32_VAL(esp); /* 0x2B07623C: pop ebp */ 43769 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07623D: ret */ 43770 RECOMP_REGS_OUT(); 43771 } 43772 43773 void sub_2B07622B(void) { 43774 int _fpu_cmp = 0; 43775 uint32_t _cf = 0; 43776 int _df = 1; 43777 uint32_t _flag_k = FK_NONE; 43778 uint32_t _flag_a = 0, _flag_b = 0; 43779 uint32_t _itail_tgt = 0; 43780 RECOMP_REGS_LOCALS 43781 RECOMP_ENTER(0x2B07622Bu); 43782 43783 L_2B07622B: 43784 ecx = ebp + (-0xC); /* 0x2B07622B: lea ecx, [ebp - 0xc] */ 43785 PUSH32(esp, ecx); /* 0x2B07622E: push ecx */ 43786 ecx = MEM32(esi + 0x34); /* 0x2B07622F: mov ecx, dword ptr [esi + 0x34] */ 43787 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B076232: call dword ptr [0x2b0b5640] */ 43788 RECOMP_FLAGS_IN(); 43789 edi = POP32_VAL(esp); /* 0x2B076238: pop edi */ 43790 esi = POP32_VAL(esp); /* 0x2B076239: pop esi */ 43791 esp = ebp; /* 0x2B07623A: mov esp, ebp */ 43792 ebp = POP32_VAL(esp); /* 0x2B07623C: pop ebp */ 43793 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07623D: ret */ 43794 RECOMP_REGS_OUT(); 43795 }