client/game/ddr.dll/lifted-0038.c (978783B)
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_2B092314(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(0x2B092314u); 17 18 goto L_2B092314; 19 L_2B092294: 20 /* cmp MEM8(eax + 0x3C), LO8(ebx) */ /* 0x2B092294: cmp byte ptr [eax + 0x3c], bl */ 21 _flag_a = (uint32_t)(MEM8(eax + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23 _flag_k = FK_NARROW(FK_CMP, 24); 24 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924E2; /* 0x2B092297: jne 0x2b0924e2 */ 25 L_2B09229D: 26 edx = MEM32(eax + 0x4); /* 0x2B09229D: mov edx, dword ptr [eax + 4] */ 27 ecx = MEM32(edx); /* 0x2B0922A0: mov ecx, dword ptr [edx] */ 28 /* cmp eax, ecx */ /* 0x2B0922A2: cmp eax, ecx */ 29 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 30 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31 _flag_k = FK_CMP; 32 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092314; /* 0x2B0922A4: jne 0x2b092314 */ 33 L_2B0922A6: 34 ecx = MEM32(edx + 0x8); /* 0x2B0922A6: mov ecx, dword ptr [edx + 8] */ 35 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B0922A9: mov dl, byte ptr [ecx + 0x3c] */ 36 /* test LO8(edx), LO8(edx) */ /* 0x2B0922AC: test dl, dl */ 37 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 38 _cf = 0; 39 _flag_k = FK_NARROW(FK_TEST, 24); 40 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0922FB; /* 0x2B0922AE: jne 0x2b0922fb */ 41 L_2B0922B0: 42 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0922B0: mov byte ptr [ecx + 0x3c], bl */ 43 edx = MEM32(eax + 0x4); /* 0x2B0922B3: mov edx, dword ptr [eax + 4] */ 44 MEM8(edx + 0x3C) = (uint8_t)(0); /* 0x2B0922B6: mov byte ptr [edx + 0x3c], 0 */ 45 ecx = MEM32(eax + 0x4); /* 0x2B0922BA: mov ecx, dword ptr [eax + 4] */ 46 edx = MEM32(ecx + 0x8); /* 0x2B0922BD: mov edx, dword ptr [ecx + 8] */ 47 esi = MEM32(edx); /* 0x2B0922C0: mov esi, dword ptr [edx] */ 48 MEM32(ecx + 0x8) = esi; /* 0x2B0922C2: mov dword ptr [ecx + 8], esi */ 49 esi = MEM32(edx); /* 0x2B0922C5: mov esi, dword ptr [edx] */ 50 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0922C7: cmp esi, dword ptr [edi + 8] */ 51 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 52 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 53 _flag_k = FK_CMP; 54 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0922CF; /* 0x2B0922CA: je 0x2b0922cf */ 55 L_2B0922CC: 56 MEM32(esi + 0x4) = ecx; /* 0x2B0922CC: mov dword ptr [esi + 4], ecx */ 57 L_2B0922CF: 58 esi = MEM32(ecx + 0x4); /* 0x2B0922CF: mov esi, dword ptr [ecx + 4] */ 59 MEM32(edx + 0x4) = esi; /* 0x2B0922D2: mov dword ptr [edx + 4], esi */ 60 esi = MEM32(edi + 0x4); /* 0x2B0922D5: mov esi, dword ptr [edi + 4] */ 61 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0922D8: cmp ecx, dword ptr [esi + 4] */ 62 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 63 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 64 _flag_k = FK_CMP; 65 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0922E2; /* 0x2B0922DB: jne 0x2b0922e2 */ 66 L_2B0922DD: 67 MEM32(esi + 0x4) = edx; /* 0x2B0922DD: mov dword ptr [esi + 4], edx */ 68 goto L_2B0922F0; /* 0x2B0922E0: jmp 0x2b0922f0 */ 69 L_2B0922E2: 70 esi = MEM32(ecx + 0x4); /* 0x2B0922E2: mov esi, dword ptr [ecx + 4] */ 71 /* cmp ecx, MEM32(esi) */ /* 0x2B0922E5: cmp ecx, dword ptr [esi] */ 72 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 73 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 74 _flag_k = FK_CMP; 75 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0922ED; /* 0x2B0922E7: jne 0x2b0922ed */ 76 L_2B0922E9: 77 MEM32(esi) = edx; /* 0x2B0922E9: mov dword ptr [esi], edx */ 78 goto L_2B0922F0; /* 0x2B0922EB: jmp 0x2b0922f0 */ 79 L_2B0922ED: 80 MEM32(esi + 0x8) = edx; /* 0x2B0922ED: mov dword ptr [esi + 8], edx */ 81 L_2B0922F0: 82 MEM32(edx) = ecx; /* 0x2B0922F0: mov dword ptr [edx], ecx */ 83 MEM32(ecx + 0x4) = edx; /* 0x2B0922F2: mov dword ptr [ecx + 4], edx */ 84 ecx = MEM32(eax + 0x4); /* 0x2B0922F5: mov ecx, dword ptr [eax + 4] */ 85 ecx = MEM32(ecx + 0x8); /* 0x2B0922F8: mov ecx, dword ptr [ecx + 8] */ 86 L_2B0922FB: 87 edx = MEM32(ecx); /* 0x2B0922FB: mov edx, dword ptr [ecx] */ 88 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B0922FD: cmp byte ptr [edx + 0x3c], bl */ 89 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 90 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 91 _flag_k = FK_NARROW(FK_CMP, 24); 92 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092396; /* 0x2B092300: jne 0x2b092396 */ 93 L_2B092306: 94 edx = MEM32(ecx + 0x8); /* 0x2B092306: mov edx, dword ptr [ecx + 8] */ 95 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092309: cmp byte ptr [edx + 0x3c], bl */ 96 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 97 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 98 _flag_k = FK_NARROW(FK_CMP, 24); 99 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092396; /* 0x2B09230C: jne 0x2b092396 */ 100 L_2B092312: 101 goto L_2B09237E; /* 0x2B092312: jmp 0x2b09237e */ 102 L_2B092314: 103 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B092314: mov dl, byte ptr [ecx + 0x3c] */ 104 /* test LO8(edx), LO8(edx) */ /* 0x2B092317: test dl, dl */ 105 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 106 _cf = 0; 107 _flag_k = FK_NARROW(FK_TEST, 24); 108 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B092367; /* 0x2B092319: jne 0x2b092367 */ 109 L_2B09231B: 110 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09231B: mov byte ptr [ecx + 0x3c], bl */ 111 ecx = MEM32(eax + 0x4); /* 0x2B09231E: mov ecx, dword ptr [eax + 4] */ 112 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B092321: mov byte ptr [ecx + 0x3c], 0 */ 113 ecx = MEM32(eax + 0x4); /* 0x2B092325: mov ecx, dword ptr [eax + 4] */ 114 edx = MEM32(ecx); /* 0x2B092328: mov edx, dword ptr [ecx] */ 115 esi = MEM32(edx + 0x8); /* 0x2B09232A: mov esi, dword ptr [edx + 8] */ 116 MEM32(ecx) = esi; /* 0x2B09232D: mov dword ptr [ecx], esi */ 117 esi = MEM32(edx + 0x8); /* 0x2B09232F: mov esi, dword ptr [edx + 8] */ 118 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B092332: cmp esi, dword ptr [edi + 8] */ 119 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 120 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 121 _flag_k = FK_CMP; 122 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09233A; /* 0x2B092335: je 0x2b09233a */ 123 L_2B092337: 124 MEM32(esi + 0x4) = ecx; /* 0x2B092337: mov dword ptr [esi + 4], ecx */ 125 L_2B09233A: 126 esi = MEM32(ecx + 0x4); /* 0x2B09233A: mov esi, dword ptr [ecx + 4] */ 127 MEM32(edx + 0x4) = esi; /* 0x2B09233D: mov dword ptr [edx + 4], esi */ 128 esi = MEM32(edi + 0x4); /* 0x2B092340: mov esi, dword ptr [edi + 4] */ 129 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B092343: cmp ecx, dword ptr [esi + 4] */ 130 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 131 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 132 _flag_k = FK_CMP; 133 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09234D; /* 0x2B092346: jne 0x2b09234d */ 134 L_2B092348: 135 MEM32(esi + 0x4) = edx; /* 0x2B092348: mov dword ptr [esi + 4], edx */ 136 goto L_2B09235C; /* 0x2B09234B: jmp 0x2b09235c */ 137 L_2B09234D: 138 esi = MEM32(ecx + 0x4); /* 0x2B09234D: mov esi, dword ptr [ecx + 4] */ 139 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B092350: cmp ecx, dword ptr [esi + 8] */ 140 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 141 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 142 _flag_k = FK_CMP; 143 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09235A; /* 0x2B092353: jne 0x2b09235a */ 144 L_2B092355: 145 MEM32(esi + 0x8) = edx; /* 0x2B092355: mov dword ptr [esi + 8], edx */ 146 goto L_2B09235C; /* 0x2B092358: jmp 0x2b09235c */ 147 L_2B09235A: 148 MEM32(esi) = edx; /* 0x2B09235A: mov dword ptr [esi], edx */ 149 L_2B09235C: 150 MEM32(edx + 0x8) = ecx; /* 0x2B09235C: mov dword ptr [edx + 8], ecx */ 151 MEM32(ecx + 0x4) = edx; /* 0x2B09235F: mov dword ptr [ecx + 4], edx */ 152 edx = MEM32(eax + 0x4); /* 0x2B092362: mov edx, dword ptr [eax + 4] */ 153 ecx = MEM32(edx); /* 0x2B092365: mov ecx, dword ptr [edx] */ 154 L_2B092367: 155 edx = MEM32(ecx + 0x8); /* 0x2B092367: mov edx, dword ptr [ecx + 8] */ 156 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B09236A: cmp byte ptr [edx + 0x3c], bl */ 157 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 158 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 159 _flag_k = FK_NARROW(FK_CMP, 24); 160 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092443; /* 0x2B09236D: jne 0x2b092443 */ 161 L_2B092373: 162 edx = MEM32(ecx); /* 0x2B092373: mov edx, dword ptr [ecx] */ 163 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092375: cmp byte ptr [edx + 0x3c], bl */ 164 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 165 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 166 _flag_k = FK_NARROW(FK_CMP, 24); 167 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092443; /* 0x2B092378: jne 0x2b092443 */ 168 L_2B09237E: 169 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B09237E: mov byte ptr [ecx + 0x3c], 0 */ 170 ecx = MEM32(edi + 0x4); /* 0x2B092382: mov ecx, dword ptr [edi + 4] */ 171 eax = MEM32(eax + 0x4); /* 0x2B092385: mov eax, dword ptr [eax + 4] */ 172 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B092388: cmp eax, dword ptr [ecx + 4] */ 173 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 174 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 175 _flag_k = FK_CMP; 176 RECOMP_BACKEDGE(); 177 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092294; /* 0x2B09238B: jne 0x2b092294 */ 178 L_2B092391: 179 goto L_2B0924E2; /* 0x2B092391: jmp 0x2b0924e2 */ 180 L_2B092396: 181 edx = MEM32(ecx + 0x8); /* 0x2B092396: mov edx, dword ptr [ecx + 8] */ 182 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092399: cmp byte ptr [edx + 0x3c], bl */ 183 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 184 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 185 _flag_k = FK_NARROW(FK_CMP, 24); 186 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923E7; /* 0x2B09239C: jne 0x2b0923e7 */ 187 L_2B09239E: 188 edx = MEM32(ecx); /* 0x2B09239E: mov edx, dword ptr [ecx] */ 189 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923A0: mov byte ptr [edx + 0x3c], bl */ 190 edx = MEM32(ecx); /* 0x2B0923A3: mov edx, dword ptr [ecx] */ 191 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B0923A5: mov byte ptr [ecx + 0x3c], 0 */ 192 esi = MEM32(edx + 0x8); /* 0x2B0923A9: mov esi, dword ptr [edx + 8] */ 193 MEM32(ecx) = esi; /* 0x2B0923AC: mov dword ptr [ecx], esi */ 194 esi = MEM32(edx + 0x8); /* 0x2B0923AE: mov esi, dword ptr [edx + 8] */ 195 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0923B1: cmp esi, dword ptr [edi + 8] */ 196 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 197 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 198 _flag_k = FK_CMP; 199 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0923B9; /* 0x2B0923B4: je 0x2b0923b9 */ 200 L_2B0923B6: 201 MEM32(esi + 0x4) = ecx; /* 0x2B0923B6: mov dword ptr [esi + 4], ecx */ 202 L_2B0923B9: 203 esi = MEM32(ecx + 0x4); /* 0x2B0923B9: mov esi, dword ptr [ecx + 4] */ 204 MEM32(edx + 0x4) = esi; /* 0x2B0923BC: mov dword ptr [edx + 4], esi */ 205 esi = MEM32(edi + 0x4); /* 0x2B0923BF: mov esi, dword ptr [edi + 4] */ 206 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0923C2: cmp ecx, dword ptr [esi + 4] */ 207 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 208 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 209 _flag_k = FK_CMP; 210 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923CC; /* 0x2B0923C5: jne 0x2b0923cc */ 211 L_2B0923C7: 212 MEM32(esi + 0x4) = edx; /* 0x2B0923C7: mov dword ptr [esi + 4], edx */ 213 goto L_2B0923DB; /* 0x2B0923CA: jmp 0x2b0923db */ 214 L_2B0923CC: 215 esi = MEM32(ecx + 0x4); /* 0x2B0923CC: mov esi, dword ptr [ecx + 4] */ 216 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0923CF: cmp ecx, dword ptr [esi + 8] */ 217 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 218 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 219 _flag_k = FK_CMP; 220 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923D9; /* 0x2B0923D2: jne 0x2b0923d9 */ 221 L_2B0923D4: 222 MEM32(esi + 0x8) = edx; /* 0x2B0923D4: mov dword ptr [esi + 8], edx */ 223 goto L_2B0923DB; /* 0x2B0923D7: jmp 0x2b0923db */ 224 L_2B0923D9: 225 MEM32(esi) = edx; /* 0x2B0923D9: mov dword ptr [esi], edx */ 226 L_2B0923DB: 227 MEM32(edx + 0x8) = ecx; /* 0x2B0923DB: mov dword ptr [edx + 8], ecx */ 228 MEM32(ecx + 0x4) = edx; /* 0x2B0923DE: mov dword ptr [ecx + 4], edx */ 229 ecx = MEM32(eax + 0x4); /* 0x2B0923E1: mov ecx, dword ptr [eax + 4] */ 230 ecx = MEM32(ecx + 0x8); /* 0x2B0923E4: mov ecx, dword ptr [ecx + 8] */ 231 L_2B0923E7: 232 edx = MEM32(eax + 0x4); /* 0x2B0923E7: mov edx, dword ptr [eax + 4] */ 233 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B0923EA: mov dl, byte ptr [edx + 0x3c] */ 234 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B0923ED: mov byte ptr [ecx + 0x3c], dl */ 235 edx = MEM32(eax + 0x4); /* 0x2B0923F0: mov edx, dword ptr [eax + 4] */ 236 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923F3: mov byte ptr [edx + 0x3c], bl */ 237 ecx = MEM32(ecx + 0x8); /* 0x2B0923F6: mov ecx, dword ptr [ecx + 8] */ 238 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923F9: mov byte ptr [ecx + 0x3c], bl */ 239 ecx = MEM32(eax + 0x4); /* 0x2B0923FC: mov ecx, dword ptr [eax + 4] */ 240 edx = MEM32(ecx + 0x8); /* 0x2B0923FF: mov edx, dword ptr [ecx + 8] */ 241 esi = MEM32(edx); /* 0x2B092402: mov esi, dword ptr [edx] */ 242 MEM32(ecx + 0x8) = esi; /* 0x2B092404: mov dword ptr [ecx + 8], esi */ 243 esi = MEM32(edx); /* 0x2B092407: mov esi, dword ptr [edx] */ 244 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B092409: cmp esi, dword ptr [edi + 8] */ 245 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 246 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 247 _flag_k = FK_CMP; 248 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092411; /* 0x2B09240C: je 0x2b092411 */ 249 L_2B09240E: 250 MEM32(esi + 0x4) = ecx; /* 0x2B09240E: mov dword ptr [esi + 4], ecx */ 251 L_2B092411: 252 esi = MEM32(ecx + 0x4); /* 0x2B092411: mov esi, dword ptr [ecx + 4] */ 253 MEM32(edx + 0x4) = esi; /* 0x2B092414: mov dword ptr [edx + 4], esi */ 254 esi = MEM32(edi + 0x4); /* 0x2B092417: mov esi, dword ptr [edi + 4] */ 255 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B09241A: cmp ecx, dword ptr [esi + 4] */ 256 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 257 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 258 _flag_k = FK_CMP; 259 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092429; /* 0x2B09241D: jne 0x2b092429 */ 260 L_2B09241F: 261 MEM32(esi + 0x4) = edx; /* 0x2B09241F: mov dword ptr [esi + 4], edx */ 262 MEM32(edx) = ecx; /* 0x2B092422: mov dword ptr [edx], ecx */ 263 goto L_2B0924DF; /* 0x2B092424: jmp 0x2b0924df */ 264 L_2B092429: 265 esi = MEM32(ecx + 0x4); /* 0x2B092429: mov esi, dword ptr [ecx + 4] */ 266 /* cmp ecx, MEM32(esi) */ /* 0x2B09242C: cmp ecx, dword ptr [esi] */ 267 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 268 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 269 _flag_k = FK_CMP; 270 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092439; /* 0x2B09242E: jne 0x2b092439 */ 271 L_2B092430: 272 MEM32(esi) = edx; /* 0x2B092430: mov dword ptr [esi], edx */ 273 MEM32(edx) = ecx; /* 0x2B092432: mov dword ptr [edx], ecx */ 274 goto L_2B0924DF; /* 0x2B092434: jmp 0x2b0924df */ 275 L_2B092439: 276 MEM32(esi + 0x8) = edx; /* 0x2B092439: mov dword ptr [esi + 8], edx */ 277 MEM32(edx) = ecx; /* 0x2B09243C: mov dword ptr [edx], ecx */ 278 goto L_2B0924DF; /* 0x2B09243E: jmp 0x2b0924df */ 279 L_2B092443: 280 edx = MEM32(ecx); /* 0x2B092443: mov edx, dword ptr [ecx] */ 281 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092445: cmp byte ptr [edx + 0x3c], bl */ 282 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 283 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 284 _flag_k = FK_NARROW(FK_CMP, 24); 285 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092491; /* 0x2B092448: jne 0x2b092491 */ 286 L_2B09244A: 287 edx = MEM32(ecx + 0x8); /* 0x2B09244A: mov edx, dword ptr [ecx + 8] */ 288 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09244D: mov byte ptr [edx + 0x3c], bl */ 289 edx = MEM32(ecx + 0x8); /* 0x2B092450: mov edx, dword ptr [ecx + 8] */ 290 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B092453: mov byte ptr [ecx + 0x3c], 0 */ 291 esi = MEM32(edx); /* 0x2B092457: mov esi, dword ptr [edx] */ 292 MEM32(ecx + 0x8) = esi; /* 0x2B092459: mov dword ptr [ecx + 8], esi */ 293 esi = MEM32(edx); /* 0x2B09245C: mov esi, dword ptr [edx] */ 294 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B09245E: cmp esi, dword ptr [edi + 8] */ 295 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 296 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 297 _flag_k = FK_CMP; 298 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092466; /* 0x2B092461: je 0x2b092466 */ 299 L_2B092463: 300 MEM32(esi + 0x4) = ecx; /* 0x2B092463: mov dword ptr [esi + 4], ecx */ 301 L_2B092466: 302 esi = MEM32(ecx + 0x4); /* 0x2B092466: mov esi, dword ptr [ecx + 4] */ 303 MEM32(edx + 0x4) = esi; /* 0x2B092469: mov dword ptr [edx + 4], esi */ 304 esi = MEM32(edi + 0x4); /* 0x2B09246C: mov esi, dword ptr [edi + 4] */ 305 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B09246F: cmp ecx, dword ptr [esi + 4] */ 306 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 307 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 308 _flag_k = FK_CMP; 309 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092479; /* 0x2B092472: jne 0x2b092479 */ 310 L_2B092474: 311 MEM32(esi + 0x4) = edx; /* 0x2B092474: mov dword ptr [esi + 4], edx */ 312 goto L_2B092487; /* 0x2B092477: jmp 0x2b092487 */ 313 L_2B092479: 314 esi = MEM32(ecx + 0x4); /* 0x2B092479: mov esi, dword ptr [ecx + 4] */ 315 /* cmp ecx, MEM32(esi) */ /* 0x2B09247C: cmp ecx, dword ptr [esi] */ 316 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 317 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 318 _flag_k = FK_CMP; 319 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092484; /* 0x2B09247E: jne 0x2b092484 */ 320 L_2B092480: 321 MEM32(esi) = edx; /* 0x2B092480: mov dword ptr [esi], edx */ 322 goto L_2B092487; /* 0x2B092482: jmp 0x2b092487 */ 323 L_2B092484: 324 MEM32(esi + 0x8) = edx; /* 0x2B092484: mov dword ptr [esi + 8], edx */ 325 L_2B092487: 326 MEM32(edx) = ecx; /* 0x2B092487: mov dword ptr [edx], ecx */ 327 MEM32(ecx + 0x4) = edx; /* 0x2B092489: mov dword ptr [ecx + 4], edx */ 328 ecx = MEM32(eax + 0x4); /* 0x2B09248C: mov ecx, dword ptr [eax + 4] */ 329 ecx = MEM32(ecx); /* 0x2B09248F: mov ecx, dword ptr [ecx] */ 330 L_2B092491: 331 edx = MEM32(eax + 0x4); /* 0x2B092491: mov edx, dword ptr [eax + 4] */ 332 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B092494: mov dl, byte ptr [edx + 0x3c] */ 333 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B092497: mov byte ptr [ecx + 0x3c], dl */ 334 edx = MEM32(eax + 0x4); /* 0x2B09249A: mov edx, dword ptr [eax + 4] */ 335 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09249D: mov byte ptr [edx + 0x3c], bl */ 336 ecx = MEM32(ecx); /* 0x2B0924A0: mov ecx, dword ptr [ecx] */ 337 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0924A2: mov byte ptr [ecx + 0x3c], bl */ 338 ecx = MEM32(eax + 0x4); /* 0x2B0924A5: mov ecx, dword ptr [eax + 4] */ 339 edx = MEM32(ecx); /* 0x2B0924A8: mov edx, dword ptr [ecx] */ 340 esi = MEM32(edx + 0x8); /* 0x2B0924AA: mov esi, dword ptr [edx + 8] */ 341 MEM32(ecx) = esi; /* 0x2B0924AD: mov dword ptr [ecx], esi */ 342 esi = MEM32(edx + 0x8); /* 0x2B0924AF: mov esi, dword ptr [edx + 8] */ 343 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0924B2: cmp esi, dword ptr [edi + 8] */ 344 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 345 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 346 _flag_k = FK_CMP; 347 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0924BA; /* 0x2B0924B5: je 0x2b0924ba */ 348 L_2B0924B7: 349 MEM32(esi + 0x4) = ecx; /* 0x2B0924B7: mov dword ptr [esi + 4], ecx */ 350 L_2B0924BA: 351 esi = MEM32(ecx + 0x4); /* 0x2B0924BA: mov esi, dword ptr [ecx + 4] */ 352 MEM32(edx + 0x4) = esi; /* 0x2B0924BD: mov dword ptr [edx + 4], esi */ 353 esi = MEM32(edi + 0x4); /* 0x2B0924C0: mov esi, dword ptr [edi + 4] */ 354 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0924C3: cmp ecx, dword ptr [esi + 4] */ 355 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 356 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 357 _flag_k = FK_CMP; 358 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924CD; /* 0x2B0924C6: jne 0x2b0924cd */ 359 L_2B0924C8: 360 MEM32(esi + 0x4) = edx; /* 0x2B0924C8: mov dword ptr [esi + 4], edx */ 361 goto L_2B0924DC; /* 0x2B0924CB: jmp 0x2b0924dc */ 362 L_2B0924CD: 363 esi = MEM32(ecx + 0x4); /* 0x2B0924CD: mov esi, dword ptr [ecx + 4] */ 364 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0924D0: cmp ecx, dword ptr [esi + 8] */ 365 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 366 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 367 _flag_k = FK_CMP; 368 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924DA; /* 0x2B0924D3: jne 0x2b0924da */ 369 L_2B0924D5: 370 MEM32(esi + 0x8) = edx; /* 0x2B0924D5: mov dword ptr [esi + 8], edx */ 371 goto L_2B0924DC; /* 0x2B0924D8: jmp 0x2b0924dc */ 372 L_2B0924DA: 373 MEM32(esi) = edx; /* 0x2B0924DA: mov dword ptr [esi], edx */ 374 L_2B0924DC: 375 MEM32(edx + 0x8) = ecx; /* 0x2B0924DC: mov dword ptr [edx + 8], ecx */ 376 L_2B0924DF: 377 MEM32(ecx + 0x4) = edx; /* 0x2B0924DF: mov dword ptr [ecx + 4], edx */ 378 L_2B0924E2: 379 esi = MEM32(ebp + (-0x4)); /* 0x2B0924E2: mov esi, dword ptr [ebp - 4] */ 380 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0924E5: mov byte ptr [eax + 0x3c], bl */ 381 ecx = esi + 0xC; /* 0x2B0924E8: lea ecx, [esi + 0xc] */ 382 RECOMP_ICALL(0x2B0925A0u); /* 0x2B0924EB: call 0x2b0925a0 */ /* not lifted */ 383 RECOMP_FLAGS_IN(); 384 PUSH32(esp, esi); /* 0x2B0924F0: push esi */ 385 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0924F1: call 0x2b0ab1ba */ /* not lifted */ 386 RECOMP_FLAGS_IN(); 387 eax = MEM32(edi + 0x10); /* 0x2B0924F6: mov eax, dword ptr [edi + 0x10] */ 388 edx = MEM32(ebp + 0xC); /* 0x2B0924F9: mov edx, dword ptr [ebp + 0xc] */ 389 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 390 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 391 esp = esp + 4; /* 0x2B0924FC: add esp, 4 */ 392 _flag_k = FK_ADD; 393 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 394 eax = eax - 1; /* 0x2B0924FF: dec eax */ 395 _flag_k = FK_DEC; 396 MEM32(edi + 0x10) = eax; /* 0x2B092500: mov dword ptr [edi + 0x10], eax */ 397 eax = MEM32(ebp + 0x8); /* 0x2B092503: mov eax, dword ptr [ebp + 8] */ 398 edi = POP32_VAL(esp); /* 0x2B092506: pop edi */ 399 esi = POP32_VAL(esp); /* 0x2B092507: pop esi */ 400 MEM32(eax) = edx; /* 0x2B092508: mov dword ptr [eax], edx */ 401 ebx = POP32_VAL(esp); /* 0x2B09250A: pop ebx */ 402 esp = ebp; /* 0x2B09250B: mov esp, ebp */ 403 ebp = POP32_VAL(esp); /* 0x2B09250D: pop ebp */ 404 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B09250E: ret 8 */ 405 RECOMP_REGS_OUT(); 406 } 407 408 void sub_2B09235C(void) { 409 int _fpu_cmp = 0; 410 uint32_t _cf = 0; 411 int _df = 1; 412 uint32_t _flag_k = FK_NONE; 413 uint32_t _flag_a = 0, _flag_b = 0; 414 uint32_t _itail_tgt = 0; 415 RECOMP_REGS_LOCALS 416 RECOMP_ENTER(0x2B09235Cu); 417 418 goto L_2B09235C; 419 L_2B092294: 420 /* cmp MEM8(eax + 0x3C), LO8(ebx) */ /* 0x2B092294: cmp byte ptr [eax + 0x3c], bl */ 421 _flag_a = (uint32_t)(MEM8(eax + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 422 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 423 _flag_k = FK_NARROW(FK_CMP, 24); 424 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924E2; /* 0x2B092297: jne 0x2b0924e2 */ 425 L_2B09229D: 426 edx = MEM32(eax + 0x4); /* 0x2B09229D: mov edx, dword ptr [eax + 4] */ 427 ecx = MEM32(edx); /* 0x2B0922A0: mov ecx, dword ptr [edx] */ 428 /* cmp eax, ecx */ /* 0x2B0922A2: cmp eax, ecx */ 429 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 430 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 431 _flag_k = FK_CMP; 432 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092314; /* 0x2B0922A4: jne 0x2b092314 */ 433 L_2B0922A6: 434 ecx = MEM32(edx + 0x8); /* 0x2B0922A6: mov ecx, dword ptr [edx + 8] */ 435 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B0922A9: mov dl, byte ptr [ecx + 0x3c] */ 436 /* test LO8(edx), LO8(edx) */ /* 0x2B0922AC: test dl, dl */ 437 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 438 _cf = 0; 439 _flag_k = FK_NARROW(FK_TEST, 24); 440 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0922FB; /* 0x2B0922AE: jne 0x2b0922fb */ 441 L_2B0922B0: 442 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0922B0: mov byte ptr [ecx + 0x3c], bl */ 443 edx = MEM32(eax + 0x4); /* 0x2B0922B3: mov edx, dword ptr [eax + 4] */ 444 MEM8(edx + 0x3C) = (uint8_t)(0); /* 0x2B0922B6: mov byte ptr [edx + 0x3c], 0 */ 445 ecx = MEM32(eax + 0x4); /* 0x2B0922BA: mov ecx, dword ptr [eax + 4] */ 446 edx = MEM32(ecx + 0x8); /* 0x2B0922BD: mov edx, dword ptr [ecx + 8] */ 447 esi = MEM32(edx); /* 0x2B0922C0: mov esi, dword ptr [edx] */ 448 MEM32(ecx + 0x8) = esi; /* 0x2B0922C2: mov dword ptr [ecx + 8], esi */ 449 esi = MEM32(edx); /* 0x2B0922C5: mov esi, dword ptr [edx] */ 450 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0922C7: cmp esi, dword ptr [edi + 8] */ 451 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 452 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 453 _flag_k = FK_CMP; 454 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0922CF; /* 0x2B0922CA: je 0x2b0922cf */ 455 L_2B0922CC: 456 MEM32(esi + 0x4) = ecx; /* 0x2B0922CC: mov dword ptr [esi + 4], ecx */ 457 L_2B0922CF: 458 esi = MEM32(ecx + 0x4); /* 0x2B0922CF: mov esi, dword ptr [ecx + 4] */ 459 MEM32(edx + 0x4) = esi; /* 0x2B0922D2: mov dword ptr [edx + 4], esi */ 460 esi = MEM32(edi + 0x4); /* 0x2B0922D5: mov esi, dword ptr [edi + 4] */ 461 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0922D8: cmp ecx, dword ptr [esi + 4] */ 462 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 463 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 464 _flag_k = FK_CMP; 465 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0922E2; /* 0x2B0922DB: jne 0x2b0922e2 */ 466 L_2B0922DD: 467 MEM32(esi + 0x4) = edx; /* 0x2B0922DD: mov dword ptr [esi + 4], edx */ 468 goto L_2B0922F0; /* 0x2B0922E0: jmp 0x2b0922f0 */ 469 L_2B0922E2: 470 esi = MEM32(ecx + 0x4); /* 0x2B0922E2: mov esi, dword ptr [ecx + 4] */ 471 /* cmp ecx, MEM32(esi) */ /* 0x2B0922E5: cmp ecx, dword ptr [esi] */ 472 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 473 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 474 _flag_k = FK_CMP; 475 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0922ED; /* 0x2B0922E7: jne 0x2b0922ed */ 476 L_2B0922E9: 477 MEM32(esi) = edx; /* 0x2B0922E9: mov dword ptr [esi], edx */ 478 goto L_2B0922F0; /* 0x2B0922EB: jmp 0x2b0922f0 */ 479 L_2B0922ED: 480 MEM32(esi + 0x8) = edx; /* 0x2B0922ED: mov dword ptr [esi + 8], edx */ 481 L_2B0922F0: 482 MEM32(edx) = ecx; /* 0x2B0922F0: mov dword ptr [edx], ecx */ 483 MEM32(ecx + 0x4) = edx; /* 0x2B0922F2: mov dword ptr [ecx + 4], edx */ 484 ecx = MEM32(eax + 0x4); /* 0x2B0922F5: mov ecx, dword ptr [eax + 4] */ 485 ecx = MEM32(ecx + 0x8); /* 0x2B0922F8: mov ecx, dword ptr [ecx + 8] */ 486 L_2B0922FB: 487 edx = MEM32(ecx); /* 0x2B0922FB: mov edx, dword ptr [ecx] */ 488 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B0922FD: cmp byte ptr [edx + 0x3c], bl */ 489 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 490 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 491 _flag_k = FK_NARROW(FK_CMP, 24); 492 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092396; /* 0x2B092300: jne 0x2b092396 */ 493 L_2B092306: 494 edx = MEM32(ecx + 0x8); /* 0x2B092306: mov edx, dword ptr [ecx + 8] */ 495 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092309: cmp byte ptr [edx + 0x3c], bl */ 496 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 497 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 498 _flag_k = FK_NARROW(FK_CMP, 24); 499 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092396; /* 0x2B09230C: jne 0x2b092396 */ 500 L_2B092312: 501 goto L_2B09237E; /* 0x2B092312: jmp 0x2b09237e */ 502 L_2B092314: 503 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B092314: mov dl, byte ptr [ecx + 0x3c] */ 504 /* test LO8(edx), LO8(edx) */ /* 0x2B092317: test dl, dl */ 505 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 506 _cf = 0; 507 _flag_k = FK_NARROW(FK_TEST, 24); 508 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B092367; /* 0x2B092319: jne 0x2b092367 */ 509 L_2B09231B: 510 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09231B: mov byte ptr [ecx + 0x3c], bl */ 511 ecx = MEM32(eax + 0x4); /* 0x2B09231E: mov ecx, dword ptr [eax + 4] */ 512 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B092321: mov byte ptr [ecx + 0x3c], 0 */ 513 ecx = MEM32(eax + 0x4); /* 0x2B092325: mov ecx, dword ptr [eax + 4] */ 514 edx = MEM32(ecx); /* 0x2B092328: mov edx, dword ptr [ecx] */ 515 esi = MEM32(edx + 0x8); /* 0x2B09232A: mov esi, dword ptr [edx + 8] */ 516 MEM32(ecx) = esi; /* 0x2B09232D: mov dword ptr [ecx], esi */ 517 esi = MEM32(edx + 0x8); /* 0x2B09232F: mov esi, dword ptr [edx + 8] */ 518 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B092332: cmp esi, dword ptr [edi + 8] */ 519 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 520 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 521 _flag_k = FK_CMP; 522 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09233A; /* 0x2B092335: je 0x2b09233a */ 523 L_2B092337: 524 MEM32(esi + 0x4) = ecx; /* 0x2B092337: mov dword ptr [esi + 4], ecx */ 525 L_2B09233A: 526 esi = MEM32(ecx + 0x4); /* 0x2B09233A: mov esi, dword ptr [ecx + 4] */ 527 MEM32(edx + 0x4) = esi; /* 0x2B09233D: mov dword ptr [edx + 4], esi */ 528 esi = MEM32(edi + 0x4); /* 0x2B092340: mov esi, dword ptr [edi + 4] */ 529 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B092343: cmp ecx, dword ptr [esi + 4] */ 530 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 531 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 532 _flag_k = FK_CMP; 533 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09234D; /* 0x2B092346: jne 0x2b09234d */ 534 L_2B092348: 535 MEM32(esi + 0x4) = edx; /* 0x2B092348: mov dword ptr [esi + 4], edx */ 536 goto L_2B09235C; /* 0x2B09234B: jmp 0x2b09235c */ 537 L_2B09234D: 538 esi = MEM32(ecx + 0x4); /* 0x2B09234D: mov esi, dword ptr [ecx + 4] */ 539 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B092350: cmp ecx, dword ptr [esi + 8] */ 540 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 541 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 542 _flag_k = FK_CMP; 543 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09235A; /* 0x2B092353: jne 0x2b09235a */ 544 L_2B092355: 545 MEM32(esi + 0x8) = edx; /* 0x2B092355: mov dword ptr [esi + 8], edx */ 546 goto L_2B09235C; /* 0x2B092358: jmp 0x2b09235c */ 547 L_2B09235A: 548 MEM32(esi) = edx; /* 0x2B09235A: mov dword ptr [esi], edx */ 549 L_2B09235C: 550 MEM32(edx + 0x8) = ecx; /* 0x2B09235C: mov dword ptr [edx + 8], ecx */ 551 MEM32(ecx + 0x4) = edx; /* 0x2B09235F: mov dword ptr [ecx + 4], edx */ 552 edx = MEM32(eax + 0x4); /* 0x2B092362: mov edx, dword ptr [eax + 4] */ 553 ecx = MEM32(edx); /* 0x2B092365: mov ecx, dword ptr [edx] */ 554 L_2B092367: 555 edx = MEM32(ecx + 0x8); /* 0x2B092367: mov edx, dword ptr [ecx + 8] */ 556 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B09236A: cmp byte ptr [edx + 0x3c], bl */ 557 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 558 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 559 _flag_k = FK_NARROW(FK_CMP, 24); 560 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092443; /* 0x2B09236D: jne 0x2b092443 */ 561 L_2B092373: 562 edx = MEM32(ecx); /* 0x2B092373: mov edx, dword ptr [ecx] */ 563 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092375: cmp byte ptr [edx + 0x3c], bl */ 564 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 565 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 566 _flag_k = FK_NARROW(FK_CMP, 24); 567 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092443; /* 0x2B092378: jne 0x2b092443 */ 568 L_2B09237E: 569 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B09237E: mov byte ptr [ecx + 0x3c], 0 */ 570 ecx = MEM32(edi + 0x4); /* 0x2B092382: mov ecx, dword ptr [edi + 4] */ 571 eax = MEM32(eax + 0x4); /* 0x2B092385: mov eax, dword ptr [eax + 4] */ 572 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B092388: cmp eax, dword ptr [ecx + 4] */ 573 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 574 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 575 _flag_k = FK_CMP; 576 RECOMP_BACKEDGE(); 577 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092294; /* 0x2B09238B: jne 0x2b092294 */ 578 L_2B092391: 579 goto L_2B0924E2; /* 0x2B092391: jmp 0x2b0924e2 */ 580 L_2B092396: 581 edx = MEM32(ecx + 0x8); /* 0x2B092396: mov edx, dword ptr [ecx + 8] */ 582 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092399: cmp byte ptr [edx + 0x3c], bl */ 583 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 584 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 585 _flag_k = FK_NARROW(FK_CMP, 24); 586 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923E7; /* 0x2B09239C: jne 0x2b0923e7 */ 587 L_2B09239E: 588 edx = MEM32(ecx); /* 0x2B09239E: mov edx, dword ptr [ecx] */ 589 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923A0: mov byte ptr [edx + 0x3c], bl */ 590 edx = MEM32(ecx); /* 0x2B0923A3: mov edx, dword ptr [ecx] */ 591 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B0923A5: mov byte ptr [ecx + 0x3c], 0 */ 592 esi = MEM32(edx + 0x8); /* 0x2B0923A9: mov esi, dword ptr [edx + 8] */ 593 MEM32(ecx) = esi; /* 0x2B0923AC: mov dword ptr [ecx], esi */ 594 esi = MEM32(edx + 0x8); /* 0x2B0923AE: mov esi, dword ptr [edx + 8] */ 595 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0923B1: cmp esi, dword ptr [edi + 8] */ 596 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 597 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 598 _flag_k = FK_CMP; 599 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0923B9; /* 0x2B0923B4: je 0x2b0923b9 */ 600 L_2B0923B6: 601 MEM32(esi + 0x4) = ecx; /* 0x2B0923B6: mov dword ptr [esi + 4], ecx */ 602 L_2B0923B9: 603 esi = MEM32(ecx + 0x4); /* 0x2B0923B9: mov esi, dword ptr [ecx + 4] */ 604 MEM32(edx + 0x4) = esi; /* 0x2B0923BC: mov dword ptr [edx + 4], esi */ 605 esi = MEM32(edi + 0x4); /* 0x2B0923BF: mov esi, dword ptr [edi + 4] */ 606 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0923C2: cmp ecx, dword ptr [esi + 4] */ 607 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 608 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 609 _flag_k = FK_CMP; 610 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923CC; /* 0x2B0923C5: jne 0x2b0923cc */ 611 L_2B0923C7: 612 MEM32(esi + 0x4) = edx; /* 0x2B0923C7: mov dword ptr [esi + 4], edx */ 613 goto L_2B0923DB; /* 0x2B0923CA: jmp 0x2b0923db */ 614 L_2B0923CC: 615 esi = MEM32(ecx + 0x4); /* 0x2B0923CC: mov esi, dword ptr [ecx + 4] */ 616 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0923CF: cmp ecx, dword ptr [esi + 8] */ 617 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 618 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 619 _flag_k = FK_CMP; 620 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923D9; /* 0x2B0923D2: jne 0x2b0923d9 */ 621 L_2B0923D4: 622 MEM32(esi + 0x8) = edx; /* 0x2B0923D4: mov dword ptr [esi + 8], edx */ 623 goto L_2B0923DB; /* 0x2B0923D7: jmp 0x2b0923db */ 624 L_2B0923D9: 625 MEM32(esi) = edx; /* 0x2B0923D9: mov dword ptr [esi], edx */ 626 L_2B0923DB: 627 MEM32(edx + 0x8) = ecx; /* 0x2B0923DB: mov dword ptr [edx + 8], ecx */ 628 MEM32(ecx + 0x4) = edx; /* 0x2B0923DE: mov dword ptr [ecx + 4], edx */ 629 ecx = MEM32(eax + 0x4); /* 0x2B0923E1: mov ecx, dword ptr [eax + 4] */ 630 ecx = MEM32(ecx + 0x8); /* 0x2B0923E4: mov ecx, dword ptr [ecx + 8] */ 631 L_2B0923E7: 632 edx = MEM32(eax + 0x4); /* 0x2B0923E7: mov edx, dword ptr [eax + 4] */ 633 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B0923EA: mov dl, byte ptr [edx + 0x3c] */ 634 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B0923ED: mov byte ptr [ecx + 0x3c], dl */ 635 edx = MEM32(eax + 0x4); /* 0x2B0923F0: mov edx, dword ptr [eax + 4] */ 636 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923F3: mov byte ptr [edx + 0x3c], bl */ 637 ecx = MEM32(ecx + 0x8); /* 0x2B0923F6: mov ecx, dword ptr [ecx + 8] */ 638 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923F9: mov byte ptr [ecx + 0x3c], bl */ 639 ecx = MEM32(eax + 0x4); /* 0x2B0923FC: mov ecx, dword ptr [eax + 4] */ 640 edx = MEM32(ecx + 0x8); /* 0x2B0923FF: mov edx, dword ptr [ecx + 8] */ 641 esi = MEM32(edx); /* 0x2B092402: mov esi, dword ptr [edx] */ 642 MEM32(ecx + 0x8) = esi; /* 0x2B092404: mov dword ptr [ecx + 8], esi */ 643 esi = MEM32(edx); /* 0x2B092407: mov esi, dword ptr [edx] */ 644 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B092409: cmp esi, dword ptr [edi + 8] */ 645 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 646 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 647 _flag_k = FK_CMP; 648 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092411; /* 0x2B09240C: je 0x2b092411 */ 649 L_2B09240E: 650 MEM32(esi + 0x4) = ecx; /* 0x2B09240E: mov dword ptr [esi + 4], ecx */ 651 L_2B092411: 652 esi = MEM32(ecx + 0x4); /* 0x2B092411: mov esi, dword ptr [ecx + 4] */ 653 MEM32(edx + 0x4) = esi; /* 0x2B092414: mov dword ptr [edx + 4], esi */ 654 esi = MEM32(edi + 0x4); /* 0x2B092417: mov esi, dword ptr [edi + 4] */ 655 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B09241A: cmp ecx, dword ptr [esi + 4] */ 656 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 657 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 658 _flag_k = FK_CMP; 659 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092429; /* 0x2B09241D: jne 0x2b092429 */ 660 L_2B09241F: 661 MEM32(esi + 0x4) = edx; /* 0x2B09241F: mov dword ptr [esi + 4], edx */ 662 MEM32(edx) = ecx; /* 0x2B092422: mov dword ptr [edx], ecx */ 663 goto L_2B0924DF; /* 0x2B092424: jmp 0x2b0924df */ 664 L_2B092429: 665 esi = MEM32(ecx + 0x4); /* 0x2B092429: mov esi, dword ptr [ecx + 4] */ 666 /* cmp ecx, MEM32(esi) */ /* 0x2B09242C: cmp ecx, dword ptr [esi] */ 667 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 668 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 669 _flag_k = FK_CMP; 670 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092439; /* 0x2B09242E: jne 0x2b092439 */ 671 L_2B092430: 672 MEM32(esi) = edx; /* 0x2B092430: mov dword ptr [esi], edx */ 673 MEM32(edx) = ecx; /* 0x2B092432: mov dword ptr [edx], ecx */ 674 goto L_2B0924DF; /* 0x2B092434: jmp 0x2b0924df */ 675 L_2B092439: 676 MEM32(esi + 0x8) = edx; /* 0x2B092439: mov dword ptr [esi + 8], edx */ 677 MEM32(edx) = ecx; /* 0x2B09243C: mov dword ptr [edx], ecx */ 678 goto L_2B0924DF; /* 0x2B09243E: jmp 0x2b0924df */ 679 L_2B092443: 680 edx = MEM32(ecx); /* 0x2B092443: mov edx, dword ptr [ecx] */ 681 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092445: cmp byte ptr [edx + 0x3c], bl */ 682 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 683 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 684 _flag_k = FK_NARROW(FK_CMP, 24); 685 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092491; /* 0x2B092448: jne 0x2b092491 */ 686 L_2B09244A: 687 edx = MEM32(ecx + 0x8); /* 0x2B09244A: mov edx, dword ptr [ecx + 8] */ 688 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09244D: mov byte ptr [edx + 0x3c], bl */ 689 edx = MEM32(ecx + 0x8); /* 0x2B092450: mov edx, dword ptr [ecx + 8] */ 690 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B092453: mov byte ptr [ecx + 0x3c], 0 */ 691 esi = MEM32(edx); /* 0x2B092457: mov esi, dword ptr [edx] */ 692 MEM32(ecx + 0x8) = esi; /* 0x2B092459: mov dword ptr [ecx + 8], esi */ 693 esi = MEM32(edx); /* 0x2B09245C: mov esi, dword ptr [edx] */ 694 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B09245E: cmp esi, dword ptr [edi + 8] */ 695 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 696 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 697 _flag_k = FK_CMP; 698 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092466; /* 0x2B092461: je 0x2b092466 */ 699 L_2B092463: 700 MEM32(esi + 0x4) = ecx; /* 0x2B092463: mov dword ptr [esi + 4], ecx */ 701 L_2B092466: 702 esi = MEM32(ecx + 0x4); /* 0x2B092466: mov esi, dword ptr [ecx + 4] */ 703 MEM32(edx + 0x4) = esi; /* 0x2B092469: mov dword ptr [edx + 4], esi */ 704 esi = MEM32(edi + 0x4); /* 0x2B09246C: mov esi, dword ptr [edi + 4] */ 705 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B09246F: cmp ecx, dword ptr [esi + 4] */ 706 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 707 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 708 _flag_k = FK_CMP; 709 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092479; /* 0x2B092472: jne 0x2b092479 */ 710 L_2B092474: 711 MEM32(esi + 0x4) = edx; /* 0x2B092474: mov dword ptr [esi + 4], edx */ 712 goto L_2B092487; /* 0x2B092477: jmp 0x2b092487 */ 713 L_2B092479: 714 esi = MEM32(ecx + 0x4); /* 0x2B092479: mov esi, dword ptr [ecx + 4] */ 715 /* cmp ecx, MEM32(esi) */ /* 0x2B09247C: cmp ecx, dword ptr [esi] */ 716 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 717 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 718 _flag_k = FK_CMP; 719 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092484; /* 0x2B09247E: jne 0x2b092484 */ 720 L_2B092480: 721 MEM32(esi) = edx; /* 0x2B092480: mov dword ptr [esi], edx */ 722 goto L_2B092487; /* 0x2B092482: jmp 0x2b092487 */ 723 L_2B092484: 724 MEM32(esi + 0x8) = edx; /* 0x2B092484: mov dword ptr [esi + 8], edx */ 725 L_2B092487: 726 MEM32(edx) = ecx; /* 0x2B092487: mov dword ptr [edx], ecx */ 727 MEM32(ecx + 0x4) = edx; /* 0x2B092489: mov dword ptr [ecx + 4], edx */ 728 ecx = MEM32(eax + 0x4); /* 0x2B09248C: mov ecx, dword ptr [eax + 4] */ 729 ecx = MEM32(ecx); /* 0x2B09248F: mov ecx, dword ptr [ecx] */ 730 L_2B092491: 731 edx = MEM32(eax + 0x4); /* 0x2B092491: mov edx, dword ptr [eax + 4] */ 732 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B092494: mov dl, byte ptr [edx + 0x3c] */ 733 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B092497: mov byte ptr [ecx + 0x3c], dl */ 734 edx = MEM32(eax + 0x4); /* 0x2B09249A: mov edx, dword ptr [eax + 4] */ 735 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09249D: mov byte ptr [edx + 0x3c], bl */ 736 ecx = MEM32(ecx); /* 0x2B0924A0: mov ecx, dword ptr [ecx] */ 737 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0924A2: mov byte ptr [ecx + 0x3c], bl */ 738 ecx = MEM32(eax + 0x4); /* 0x2B0924A5: mov ecx, dword ptr [eax + 4] */ 739 edx = MEM32(ecx); /* 0x2B0924A8: mov edx, dword ptr [ecx] */ 740 esi = MEM32(edx + 0x8); /* 0x2B0924AA: mov esi, dword ptr [edx + 8] */ 741 MEM32(ecx) = esi; /* 0x2B0924AD: mov dword ptr [ecx], esi */ 742 esi = MEM32(edx + 0x8); /* 0x2B0924AF: mov esi, dword ptr [edx + 8] */ 743 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0924B2: cmp esi, dword ptr [edi + 8] */ 744 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 745 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 746 _flag_k = FK_CMP; 747 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0924BA; /* 0x2B0924B5: je 0x2b0924ba */ 748 L_2B0924B7: 749 MEM32(esi + 0x4) = ecx; /* 0x2B0924B7: mov dword ptr [esi + 4], ecx */ 750 L_2B0924BA: 751 esi = MEM32(ecx + 0x4); /* 0x2B0924BA: mov esi, dword ptr [ecx + 4] */ 752 MEM32(edx + 0x4) = esi; /* 0x2B0924BD: mov dword ptr [edx + 4], esi */ 753 esi = MEM32(edi + 0x4); /* 0x2B0924C0: mov esi, dword ptr [edi + 4] */ 754 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0924C3: cmp ecx, dword ptr [esi + 4] */ 755 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 756 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 757 _flag_k = FK_CMP; 758 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924CD; /* 0x2B0924C6: jne 0x2b0924cd */ 759 L_2B0924C8: 760 MEM32(esi + 0x4) = edx; /* 0x2B0924C8: mov dword ptr [esi + 4], edx */ 761 goto L_2B0924DC; /* 0x2B0924CB: jmp 0x2b0924dc */ 762 L_2B0924CD: 763 esi = MEM32(ecx + 0x4); /* 0x2B0924CD: mov esi, dword ptr [ecx + 4] */ 764 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0924D0: cmp ecx, dword ptr [esi + 8] */ 765 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 766 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 767 _flag_k = FK_CMP; 768 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924DA; /* 0x2B0924D3: jne 0x2b0924da */ 769 L_2B0924D5: 770 MEM32(esi + 0x8) = edx; /* 0x2B0924D5: mov dword ptr [esi + 8], edx */ 771 goto L_2B0924DC; /* 0x2B0924D8: jmp 0x2b0924dc */ 772 L_2B0924DA: 773 MEM32(esi) = edx; /* 0x2B0924DA: mov dword ptr [esi], edx */ 774 L_2B0924DC: 775 MEM32(edx + 0x8) = ecx; /* 0x2B0924DC: mov dword ptr [edx + 8], ecx */ 776 L_2B0924DF: 777 MEM32(ecx + 0x4) = edx; /* 0x2B0924DF: mov dword ptr [ecx + 4], edx */ 778 L_2B0924E2: 779 esi = MEM32(ebp + (-0x4)); /* 0x2B0924E2: mov esi, dword ptr [ebp - 4] */ 780 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0924E5: mov byte ptr [eax + 0x3c], bl */ 781 ecx = esi + 0xC; /* 0x2B0924E8: lea ecx, [esi + 0xc] */ 782 RECOMP_ICALL(0x2B0925A0u); /* 0x2B0924EB: call 0x2b0925a0 */ /* not lifted */ 783 RECOMP_FLAGS_IN(); 784 PUSH32(esp, esi); /* 0x2B0924F0: push esi */ 785 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0924F1: call 0x2b0ab1ba */ /* not lifted */ 786 RECOMP_FLAGS_IN(); 787 eax = MEM32(edi + 0x10); /* 0x2B0924F6: mov eax, dword ptr [edi + 0x10] */ 788 edx = MEM32(ebp + 0xC); /* 0x2B0924F9: mov edx, dword ptr [ebp + 0xc] */ 789 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 790 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 791 esp = esp + 4; /* 0x2B0924FC: add esp, 4 */ 792 _flag_k = FK_ADD; 793 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 794 eax = eax - 1; /* 0x2B0924FF: dec eax */ 795 _flag_k = FK_DEC; 796 MEM32(edi + 0x10) = eax; /* 0x2B092500: mov dword ptr [edi + 0x10], eax */ 797 eax = MEM32(ebp + 0x8); /* 0x2B092503: mov eax, dword ptr [ebp + 8] */ 798 edi = POP32_VAL(esp); /* 0x2B092506: pop edi */ 799 esi = POP32_VAL(esp); /* 0x2B092507: pop esi */ 800 MEM32(eax) = edx; /* 0x2B092508: mov dword ptr [eax], edx */ 801 ebx = POP32_VAL(esp); /* 0x2B09250A: pop ebx */ 802 esp = ebp; /* 0x2B09250B: mov esp, ebp */ 803 ebp = POP32_VAL(esp); /* 0x2B09250D: pop ebp */ 804 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B09250E: ret 8 */ 805 RECOMP_REGS_OUT(); 806 } 807 808 void sub_2B092367(void) { 809 int _fpu_cmp = 0; 810 uint32_t _cf = 0; 811 int _df = 1; 812 uint32_t _flag_k = FK_NONE; 813 uint32_t _flag_a = 0, _flag_b = 0; 814 uint32_t _itail_tgt = 0; 815 RECOMP_REGS_LOCALS 816 RECOMP_ENTER(0x2B092367u); 817 818 goto L_2B092367; 819 L_2B092294: 820 /* cmp MEM8(eax + 0x3C), LO8(ebx) */ /* 0x2B092294: cmp byte ptr [eax + 0x3c], bl */ 821 _flag_a = (uint32_t)(MEM8(eax + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 822 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 823 _flag_k = FK_NARROW(FK_CMP, 24); 824 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924E2; /* 0x2B092297: jne 0x2b0924e2 */ 825 L_2B09229D: 826 edx = MEM32(eax + 0x4); /* 0x2B09229D: mov edx, dword ptr [eax + 4] */ 827 ecx = MEM32(edx); /* 0x2B0922A0: mov ecx, dword ptr [edx] */ 828 /* cmp eax, ecx */ /* 0x2B0922A2: cmp eax, ecx */ 829 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 830 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 831 _flag_k = FK_CMP; 832 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092314; /* 0x2B0922A4: jne 0x2b092314 */ 833 L_2B0922A6: 834 ecx = MEM32(edx + 0x8); /* 0x2B0922A6: mov ecx, dword ptr [edx + 8] */ 835 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B0922A9: mov dl, byte ptr [ecx + 0x3c] */ 836 /* test LO8(edx), LO8(edx) */ /* 0x2B0922AC: test dl, dl */ 837 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 838 _cf = 0; 839 _flag_k = FK_NARROW(FK_TEST, 24); 840 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0922FB; /* 0x2B0922AE: jne 0x2b0922fb */ 841 L_2B0922B0: 842 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0922B0: mov byte ptr [ecx + 0x3c], bl */ 843 edx = MEM32(eax + 0x4); /* 0x2B0922B3: mov edx, dword ptr [eax + 4] */ 844 MEM8(edx + 0x3C) = (uint8_t)(0); /* 0x2B0922B6: mov byte ptr [edx + 0x3c], 0 */ 845 ecx = MEM32(eax + 0x4); /* 0x2B0922BA: mov ecx, dword ptr [eax + 4] */ 846 edx = MEM32(ecx + 0x8); /* 0x2B0922BD: mov edx, dword ptr [ecx + 8] */ 847 esi = MEM32(edx); /* 0x2B0922C0: mov esi, dword ptr [edx] */ 848 MEM32(ecx + 0x8) = esi; /* 0x2B0922C2: mov dword ptr [ecx + 8], esi */ 849 esi = MEM32(edx); /* 0x2B0922C5: mov esi, dword ptr [edx] */ 850 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0922C7: cmp esi, dword ptr [edi + 8] */ 851 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 852 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 853 _flag_k = FK_CMP; 854 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0922CF; /* 0x2B0922CA: je 0x2b0922cf */ 855 L_2B0922CC: 856 MEM32(esi + 0x4) = ecx; /* 0x2B0922CC: mov dword ptr [esi + 4], ecx */ 857 L_2B0922CF: 858 esi = MEM32(ecx + 0x4); /* 0x2B0922CF: mov esi, dword ptr [ecx + 4] */ 859 MEM32(edx + 0x4) = esi; /* 0x2B0922D2: mov dword ptr [edx + 4], esi */ 860 esi = MEM32(edi + 0x4); /* 0x2B0922D5: mov esi, dword ptr [edi + 4] */ 861 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0922D8: cmp ecx, dword ptr [esi + 4] */ 862 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 863 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 864 _flag_k = FK_CMP; 865 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0922E2; /* 0x2B0922DB: jne 0x2b0922e2 */ 866 L_2B0922DD: 867 MEM32(esi + 0x4) = edx; /* 0x2B0922DD: mov dword ptr [esi + 4], edx */ 868 goto L_2B0922F0; /* 0x2B0922E0: jmp 0x2b0922f0 */ 869 L_2B0922E2: 870 esi = MEM32(ecx + 0x4); /* 0x2B0922E2: mov esi, dword ptr [ecx + 4] */ 871 /* cmp ecx, MEM32(esi) */ /* 0x2B0922E5: cmp ecx, dword ptr [esi] */ 872 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 873 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 874 _flag_k = FK_CMP; 875 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0922ED; /* 0x2B0922E7: jne 0x2b0922ed */ 876 L_2B0922E9: 877 MEM32(esi) = edx; /* 0x2B0922E9: mov dword ptr [esi], edx */ 878 goto L_2B0922F0; /* 0x2B0922EB: jmp 0x2b0922f0 */ 879 L_2B0922ED: 880 MEM32(esi + 0x8) = edx; /* 0x2B0922ED: mov dword ptr [esi + 8], edx */ 881 L_2B0922F0: 882 MEM32(edx) = ecx; /* 0x2B0922F0: mov dword ptr [edx], ecx */ 883 MEM32(ecx + 0x4) = edx; /* 0x2B0922F2: mov dword ptr [ecx + 4], edx */ 884 ecx = MEM32(eax + 0x4); /* 0x2B0922F5: mov ecx, dword ptr [eax + 4] */ 885 ecx = MEM32(ecx + 0x8); /* 0x2B0922F8: mov ecx, dword ptr [ecx + 8] */ 886 L_2B0922FB: 887 edx = MEM32(ecx); /* 0x2B0922FB: mov edx, dword ptr [ecx] */ 888 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B0922FD: cmp byte ptr [edx + 0x3c], bl */ 889 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 890 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 891 _flag_k = FK_NARROW(FK_CMP, 24); 892 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092396; /* 0x2B092300: jne 0x2b092396 */ 893 L_2B092306: 894 edx = MEM32(ecx + 0x8); /* 0x2B092306: mov edx, dword ptr [ecx + 8] */ 895 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092309: cmp byte ptr [edx + 0x3c], bl */ 896 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 897 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 898 _flag_k = FK_NARROW(FK_CMP, 24); 899 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092396; /* 0x2B09230C: jne 0x2b092396 */ 900 L_2B092312: 901 goto L_2B09237E; /* 0x2B092312: jmp 0x2b09237e */ 902 L_2B092314: 903 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B092314: mov dl, byte ptr [ecx + 0x3c] */ 904 /* test LO8(edx), LO8(edx) */ /* 0x2B092317: test dl, dl */ 905 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 906 _cf = 0; 907 _flag_k = FK_NARROW(FK_TEST, 24); 908 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B092367; /* 0x2B092319: jne 0x2b092367 */ 909 L_2B09231B: 910 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09231B: mov byte ptr [ecx + 0x3c], bl */ 911 ecx = MEM32(eax + 0x4); /* 0x2B09231E: mov ecx, dword ptr [eax + 4] */ 912 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B092321: mov byte ptr [ecx + 0x3c], 0 */ 913 ecx = MEM32(eax + 0x4); /* 0x2B092325: mov ecx, dword ptr [eax + 4] */ 914 edx = MEM32(ecx); /* 0x2B092328: mov edx, dword ptr [ecx] */ 915 esi = MEM32(edx + 0x8); /* 0x2B09232A: mov esi, dword ptr [edx + 8] */ 916 MEM32(ecx) = esi; /* 0x2B09232D: mov dword ptr [ecx], esi */ 917 esi = MEM32(edx + 0x8); /* 0x2B09232F: mov esi, dword ptr [edx + 8] */ 918 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B092332: cmp esi, dword ptr [edi + 8] */ 919 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 920 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 921 _flag_k = FK_CMP; 922 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09233A; /* 0x2B092335: je 0x2b09233a */ 923 L_2B092337: 924 MEM32(esi + 0x4) = ecx; /* 0x2B092337: mov dword ptr [esi + 4], ecx */ 925 L_2B09233A: 926 esi = MEM32(ecx + 0x4); /* 0x2B09233A: mov esi, dword ptr [ecx + 4] */ 927 MEM32(edx + 0x4) = esi; /* 0x2B09233D: mov dword ptr [edx + 4], esi */ 928 esi = MEM32(edi + 0x4); /* 0x2B092340: mov esi, dword ptr [edi + 4] */ 929 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B092343: cmp ecx, dword ptr [esi + 4] */ 930 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 931 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 932 _flag_k = FK_CMP; 933 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09234D; /* 0x2B092346: jne 0x2b09234d */ 934 L_2B092348: 935 MEM32(esi + 0x4) = edx; /* 0x2B092348: mov dword ptr [esi + 4], edx */ 936 goto L_2B09235C; /* 0x2B09234B: jmp 0x2b09235c */ 937 L_2B09234D: 938 esi = MEM32(ecx + 0x4); /* 0x2B09234D: mov esi, dword ptr [ecx + 4] */ 939 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B092350: cmp ecx, dword ptr [esi + 8] */ 940 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 941 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 942 _flag_k = FK_CMP; 943 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09235A; /* 0x2B092353: jne 0x2b09235a */ 944 L_2B092355: 945 MEM32(esi + 0x8) = edx; /* 0x2B092355: mov dword ptr [esi + 8], edx */ 946 goto L_2B09235C; /* 0x2B092358: jmp 0x2b09235c */ 947 L_2B09235A: 948 MEM32(esi) = edx; /* 0x2B09235A: mov dword ptr [esi], edx */ 949 L_2B09235C: 950 MEM32(edx + 0x8) = ecx; /* 0x2B09235C: mov dword ptr [edx + 8], ecx */ 951 MEM32(ecx + 0x4) = edx; /* 0x2B09235F: mov dword ptr [ecx + 4], edx */ 952 edx = MEM32(eax + 0x4); /* 0x2B092362: mov edx, dword ptr [eax + 4] */ 953 ecx = MEM32(edx); /* 0x2B092365: mov ecx, dword ptr [edx] */ 954 L_2B092367: 955 edx = MEM32(ecx + 0x8); /* 0x2B092367: mov edx, dword ptr [ecx + 8] */ 956 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B09236A: cmp byte ptr [edx + 0x3c], bl */ 957 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 958 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 959 _flag_k = FK_NARROW(FK_CMP, 24); 960 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092443; /* 0x2B09236D: jne 0x2b092443 */ 961 L_2B092373: 962 edx = MEM32(ecx); /* 0x2B092373: mov edx, dword ptr [ecx] */ 963 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092375: cmp byte ptr [edx + 0x3c], bl */ 964 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 965 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 966 _flag_k = FK_NARROW(FK_CMP, 24); 967 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092443; /* 0x2B092378: jne 0x2b092443 */ 968 L_2B09237E: 969 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B09237E: mov byte ptr [ecx + 0x3c], 0 */ 970 ecx = MEM32(edi + 0x4); /* 0x2B092382: mov ecx, dword ptr [edi + 4] */ 971 eax = MEM32(eax + 0x4); /* 0x2B092385: mov eax, dword ptr [eax + 4] */ 972 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B092388: cmp eax, dword ptr [ecx + 4] */ 973 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 974 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 975 _flag_k = FK_CMP; 976 RECOMP_BACKEDGE(); 977 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092294; /* 0x2B09238B: jne 0x2b092294 */ 978 L_2B092391: 979 goto L_2B0924E2; /* 0x2B092391: jmp 0x2b0924e2 */ 980 L_2B092396: 981 edx = MEM32(ecx + 0x8); /* 0x2B092396: mov edx, dword ptr [ecx + 8] */ 982 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092399: cmp byte ptr [edx + 0x3c], bl */ 983 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 984 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 985 _flag_k = FK_NARROW(FK_CMP, 24); 986 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923E7; /* 0x2B09239C: jne 0x2b0923e7 */ 987 L_2B09239E: 988 edx = MEM32(ecx); /* 0x2B09239E: mov edx, dword ptr [ecx] */ 989 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923A0: mov byte ptr [edx + 0x3c], bl */ 990 edx = MEM32(ecx); /* 0x2B0923A3: mov edx, dword ptr [ecx] */ 991 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B0923A5: mov byte ptr [ecx + 0x3c], 0 */ 992 esi = MEM32(edx + 0x8); /* 0x2B0923A9: mov esi, dword ptr [edx + 8] */ 993 MEM32(ecx) = esi; /* 0x2B0923AC: mov dword ptr [ecx], esi */ 994 esi = MEM32(edx + 0x8); /* 0x2B0923AE: mov esi, dword ptr [edx + 8] */ 995 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0923B1: cmp esi, dword ptr [edi + 8] */ 996 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 997 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 998 _flag_k = FK_CMP; 999 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0923B9; /* 0x2B0923B4: je 0x2b0923b9 */ 1000 L_2B0923B6: 1001 MEM32(esi + 0x4) = ecx; /* 0x2B0923B6: mov dword ptr [esi + 4], ecx */ 1002 L_2B0923B9: 1003 esi = MEM32(ecx + 0x4); /* 0x2B0923B9: mov esi, dword ptr [ecx + 4] */ 1004 MEM32(edx + 0x4) = esi; /* 0x2B0923BC: mov dword ptr [edx + 4], esi */ 1005 esi = MEM32(edi + 0x4); /* 0x2B0923BF: mov esi, dword ptr [edi + 4] */ 1006 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0923C2: cmp ecx, dword ptr [esi + 4] */ 1007 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1008 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1009 _flag_k = FK_CMP; 1010 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923CC; /* 0x2B0923C5: jne 0x2b0923cc */ 1011 L_2B0923C7: 1012 MEM32(esi + 0x4) = edx; /* 0x2B0923C7: mov dword ptr [esi + 4], edx */ 1013 goto L_2B0923DB; /* 0x2B0923CA: jmp 0x2b0923db */ 1014 L_2B0923CC: 1015 esi = MEM32(ecx + 0x4); /* 0x2B0923CC: mov esi, dword ptr [ecx + 4] */ 1016 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0923CF: cmp ecx, dword ptr [esi + 8] */ 1017 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1018 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1019 _flag_k = FK_CMP; 1020 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923D9; /* 0x2B0923D2: jne 0x2b0923d9 */ 1021 L_2B0923D4: 1022 MEM32(esi + 0x8) = edx; /* 0x2B0923D4: mov dword ptr [esi + 8], edx */ 1023 goto L_2B0923DB; /* 0x2B0923D7: jmp 0x2b0923db */ 1024 L_2B0923D9: 1025 MEM32(esi) = edx; /* 0x2B0923D9: mov dword ptr [esi], edx */ 1026 L_2B0923DB: 1027 MEM32(edx + 0x8) = ecx; /* 0x2B0923DB: mov dword ptr [edx + 8], ecx */ 1028 MEM32(ecx + 0x4) = edx; /* 0x2B0923DE: mov dword ptr [ecx + 4], edx */ 1029 ecx = MEM32(eax + 0x4); /* 0x2B0923E1: mov ecx, dword ptr [eax + 4] */ 1030 ecx = MEM32(ecx + 0x8); /* 0x2B0923E4: mov ecx, dword ptr [ecx + 8] */ 1031 L_2B0923E7: 1032 edx = MEM32(eax + 0x4); /* 0x2B0923E7: mov edx, dword ptr [eax + 4] */ 1033 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B0923EA: mov dl, byte ptr [edx + 0x3c] */ 1034 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B0923ED: mov byte ptr [ecx + 0x3c], dl */ 1035 edx = MEM32(eax + 0x4); /* 0x2B0923F0: mov edx, dword ptr [eax + 4] */ 1036 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923F3: mov byte ptr [edx + 0x3c], bl */ 1037 ecx = MEM32(ecx + 0x8); /* 0x2B0923F6: mov ecx, dword ptr [ecx + 8] */ 1038 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923F9: mov byte ptr [ecx + 0x3c], bl */ 1039 ecx = MEM32(eax + 0x4); /* 0x2B0923FC: mov ecx, dword ptr [eax + 4] */ 1040 edx = MEM32(ecx + 0x8); /* 0x2B0923FF: mov edx, dword ptr [ecx + 8] */ 1041 esi = MEM32(edx); /* 0x2B092402: mov esi, dword ptr [edx] */ 1042 MEM32(ecx + 0x8) = esi; /* 0x2B092404: mov dword ptr [ecx + 8], esi */ 1043 esi = MEM32(edx); /* 0x2B092407: mov esi, dword ptr [edx] */ 1044 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B092409: cmp esi, dword ptr [edi + 8] */ 1045 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1046 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1047 _flag_k = FK_CMP; 1048 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092411; /* 0x2B09240C: je 0x2b092411 */ 1049 L_2B09240E: 1050 MEM32(esi + 0x4) = ecx; /* 0x2B09240E: mov dword ptr [esi + 4], ecx */ 1051 L_2B092411: 1052 esi = MEM32(ecx + 0x4); /* 0x2B092411: mov esi, dword ptr [ecx + 4] */ 1053 MEM32(edx + 0x4) = esi; /* 0x2B092414: mov dword ptr [edx + 4], esi */ 1054 esi = MEM32(edi + 0x4); /* 0x2B092417: mov esi, dword ptr [edi + 4] */ 1055 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B09241A: cmp ecx, dword ptr [esi + 4] */ 1056 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1057 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1058 _flag_k = FK_CMP; 1059 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092429; /* 0x2B09241D: jne 0x2b092429 */ 1060 L_2B09241F: 1061 MEM32(esi + 0x4) = edx; /* 0x2B09241F: mov dword ptr [esi + 4], edx */ 1062 MEM32(edx) = ecx; /* 0x2B092422: mov dword ptr [edx], ecx */ 1063 goto L_2B0924DF; /* 0x2B092424: jmp 0x2b0924df */ 1064 L_2B092429: 1065 esi = MEM32(ecx + 0x4); /* 0x2B092429: mov esi, dword ptr [ecx + 4] */ 1066 /* cmp ecx, MEM32(esi) */ /* 0x2B09242C: cmp ecx, dword ptr [esi] */ 1067 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 1068 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1069 _flag_k = FK_CMP; 1070 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092439; /* 0x2B09242E: jne 0x2b092439 */ 1071 L_2B092430: 1072 MEM32(esi) = edx; /* 0x2B092430: mov dword ptr [esi], edx */ 1073 MEM32(edx) = ecx; /* 0x2B092432: mov dword ptr [edx], ecx */ 1074 goto L_2B0924DF; /* 0x2B092434: jmp 0x2b0924df */ 1075 L_2B092439: 1076 MEM32(esi + 0x8) = edx; /* 0x2B092439: mov dword ptr [esi + 8], edx */ 1077 MEM32(edx) = ecx; /* 0x2B09243C: mov dword ptr [edx], ecx */ 1078 goto L_2B0924DF; /* 0x2B09243E: jmp 0x2b0924df */ 1079 L_2B092443: 1080 edx = MEM32(ecx); /* 0x2B092443: mov edx, dword ptr [ecx] */ 1081 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092445: cmp byte ptr [edx + 0x3c], bl */ 1082 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1083 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1084 _flag_k = FK_NARROW(FK_CMP, 24); 1085 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092491; /* 0x2B092448: jne 0x2b092491 */ 1086 L_2B09244A: 1087 edx = MEM32(ecx + 0x8); /* 0x2B09244A: mov edx, dword ptr [ecx + 8] */ 1088 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09244D: mov byte ptr [edx + 0x3c], bl */ 1089 edx = MEM32(ecx + 0x8); /* 0x2B092450: mov edx, dword ptr [ecx + 8] */ 1090 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B092453: mov byte ptr [ecx + 0x3c], 0 */ 1091 esi = MEM32(edx); /* 0x2B092457: mov esi, dword ptr [edx] */ 1092 MEM32(ecx + 0x8) = esi; /* 0x2B092459: mov dword ptr [ecx + 8], esi */ 1093 esi = MEM32(edx); /* 0x2B09245C: mov esi, dword ptr [edx] */ 1094 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B09245E: cmp esi, dword ptr [edi + 8] */ 1095 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1096 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1097 _flag_k = FK_CMP; 1098 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092466; /* 0x2B092461: je 0x2b092466 */ 1099 L_2B092463: 1100 MEM32(esi + 0x4) = ecx; /* 0x2B092463: mov dword ptr [esi + 4], ecx */ 1101 L_2B092466: 1102 esi = MEM32(ecx + 0x4); /* 0x2B092466: mov esi, dword ptr [ecx + 4] */ 1103 MEM32(edx + 0x4) = esi; /* 0x2B092469: mov dword ptr [edx + 4], esi */ 1104 esi = MEM32(edi + 0x4); /* 0x2B09246C: mov esi, dword ptr [edi + 4] */ 1105 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B09246F: cmp ecx, dword ptr [esi + 4] */ 1106 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1107 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1108 _flag_k = FK_CMP; 1109 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092479; /* 0x2B092472: jne 0x2b092479 */ 1110 L_2B092474: 1111 MEM32(esi + 0x4) = edx; /* 0x2B092474: mov dword ptr [esi + 4], edx */ 1112 goto L_2B092487; /* 0x2B092477: jmp 0x2b092487 */ 1113 L_2B092479: 1114 esi = MEM32(ecx + 0x4); /* 0x2B092479: mov esi, dword ptr [ecx + 4] */ 1115 /* cmp ecx, MEM32(esi) */ /* 0x2B09247C: cmp ecx, dword ptr [esi] */ 1116 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 1117 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1118 _flag_k = FK_CMP; 1119 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092484; /* 0x2B09247E: jne 0x2b092484 */ 1120 L_2B092480: 1121 MEM32(esi) = edx; /* 0x2B092480: mov dword ptr [esi], edx */ 1122 goto L_2B092487; /* 0x2B092482: jmp 0x2b092487 */ 1123 L_2B092484: 1124 MEM32(esi + 0x8) = edx; /* 0x2B092484: mov dword ptr [esi + 8], edx */ 1125 L_2B092487: 1126 MEM32(edx) = ecx; /* 0x2B092487: mov dword ptr [edx], ecx */ 1127 MEM32(ecx + 0x4) = edx; /* 0x2B092489: mov dword ptr [ecx + 4], edx */ 1128 ecx = MEM32(eax + 0x4); /* 0x2B09248C: mov ecx, dword ptr [eax + 4] */ 1129 ecx = MEM32(ecx); /* 0x2B09248F: mov ecx, dword ptr [ecx] */ 1130 L_2B092491: 1131 edx = MEM32(eax + 0x4); /* 0x2B092491: mov edx, dword ptr [eax + 4] */ 1132 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B092494: mov dl, byte ptr [edx + 0x3c] */ 1133 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B092497: mov byte ptr [ecx + 0x3c], dl */ 1134 edx = MEM32(eax + 0x4); /* 0x2B09249A: mov edx, dword ptr [eax + 4] */ 1135 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09249D: mov byte ptr [edx + 0x3c], bl */ 1136 ecx = MEM32(ecx); /* 0x2B0924A0: mov ecx, dword ptr [ecx] */ 1137 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0924A2: mov byte ptr [ecx + 0x3c], bl */ 1138 ecx = MEM32(eax + 0x4); /* 0x2B0924A5: mov ecx, dword ptr [eax + 4] */ 1139 edx = MEM32(ecx); /* 0x2B0924A8: mov edx, dword ptr [ecx] */ 1140 esi = MEM32(edx + 0x8); /* 0x2B0924AA: mov esi, dword ptr [edx + 8] */ 1141 MEM32(ecx) = esi; /* 0x2B0924AD: mov dword ptr [ecx], esi */ 1142 esi = MEM32(edx + 0x8); /* 0x2B0924AF: mov esi, dword ptr [edx + 8] */ 1143 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0924B2: cmp esi, dword ptr [edi + 8] */ 1144 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1145 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1146 _flag_k = FK_CMP; 1147 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0924BA; /* 0x2B0924B5: je 0x2b0924ba */ 1148 L_2B0924B7: 1149 MEM32(esi + 0x4) = ecx; /* 0x2B0924B7: mov dword ptr [esi + 4], ecx */ 1150 L_2B0924BA: 1151 esi = MEM32(ecx + 0x4); /* 0x2B0924BA: mov esi, dword ptr [ecx + 4] */ 1152 MEM32(edx + 0x4) = esi; /* 0x2B0924BD: mov dword ptr [edx + 4], esi */ 1153 esi = MEM32(edi + 0x4); /* 0x2B0924C0: mov esi, dword ptr [edi + 4] */ 1154 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0924C3: cmp ecx, dword ptr [esi + 4] */ 1155 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1156 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1157 _flag_k = FK_CMP; 1158 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924CD; /* 0x2B0924C6: jne 0x2b0924cd */ 1159 L_2B0924C8: 1160 MEM32(esi + 0x4) = edx; /* 0x2B0924C8: mov dword ptr [esi + 4], edx */ 1161 goto L_2B0924DC; /* 0x2B0924CB: jmp 0x2b0924dc */ 1162 L_2B0924CD: 1163 esi = MEM32(ecx + 0x4); /* 0x2B0924CD: mov esi, dword ptr [ecx + 4] */ 1164 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0924D0: cmp ecx, dword ptr [esi + 8] */ 1165 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1166 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1167 _flag_k = FK_CMP; 1168 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924DA; /* 0x2B0924D3: jne 0x2b0924da */ 1169 L_2B0924D5: 1170 MEM32(esi + 0x8) = edx; /* 0x2B0924D5: mov dword ptr [esi + 8], edx */ 1171 goto L_2B0924DC; /* 0x2B0924D8: jmp 0x2b0924dc */ 1172 L_2B0924DA: 1173 MEM32(esi) = edx; /* 0x2B0924DA: mov dword ptr [esi], edx */ 1174 L_2B0924DC: 1175 MEM32(edx + 0x8) = ecx; /* 0x2B0924DC: mov dword ptr [edx + 8], ecx */ 1176 L_2B0924DF: 1177 MEM32(ecx + 0x4) = edx; /* 0x2B0924DF: mov dword ptr [ecx + 4], edx */ 1178 L_2B0924E2: 1179 esi = MEM32(ebp + (-0x4)); /* 0x2B0924E2: mov esi, dword ptr [ebp - 4] */ 1180 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0924E5: mov byte ptr [eax + 0x3c], bl */ 1181 ecx = esi + 0xC; /* 0x2B0924E8: lea ecx, [esi + 0xc] */ 1182 RECOMP_ICALL(0x2B0925A0u); /* 0x2B0924EB: call 0x2b0925a0 */ /* not lifted */ 1183 RECOMP_FLAGS_IN(); 1184 PUSH32(esp, esi); /* 0x2B0924F0: push esi */ 1185 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0924F1: call 0x2b0ab1ba */ /* not lifted */ 1186 RECOMP_FLAGS_IN(); 1187 eax = MEM32(edi + 0x10); /* 0x2B0924F6: mov eax, dword ptr [edi + 0x10] */ 1188 edx = MEM32(ebp + 0xC); /* 0x2B0924F9: mov edx, dword ptr [ebp + 0xc] */ 1189 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1190 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1191 esp = esp + 4; /* 0x2B0924FC: add esp, 4 */ 1192 _flag_k = FK_ADD; 1193 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1194 eax = eax - 1; /* 0x2B0924FF: dec eax */ 1195 _flag_k = FK_DEC; 1196 MEM32(edi + 0x10) = eax; /* 0x2B092500: mov dword ptr [edi + 0x10], eax */ 1197 eax = MEM32(ebp + 0x8); /* 0x2B092503: mov eax, dword ptr [ebp + 8] */ 1198 edi = POP32_VAL(esp); /* 0x2B092506: pop edi */ 1199 esi = POP32_VAL(esp); /* 0x2B092507: pop esi */ 1200 MEM32(eax) = edx; /* 0x2B092508: mov dword ptr [eax], edx */ 1201 ebx = POP32_VAL(esp); /* 0x2B09250A: pop ebx */ 1202 esp = ebp; /* 0x2B09250B: mov esp, ebp */ 1203 ebp = POP32_VAL(esp); /* 0x2B09250D: pop ebp */ 1204 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B09250E: ret 8 */ 1205 RECOMP_REGS_OUT(); 1206 } 1207 1208 void sub_2B09237E(void) { 1209 int _fpu_cmp = 0; 1210 uint32_t _cf = 0; 1211 int _df = 1; 1212 uint32_t _flag_k = FK_NONE; 1213 uint32_t _flag_a = 0, _flag_b = 0; 1214 uint32_t _itail_tgt = 0; 1215 RECOMP_REGS_LOCALS 1216 RECOMP_ENTER(0x2B09237Eu); 1217 1218 goto L_2B09237E; 1219 L_2B092294: 1220 /* cmp MEM8(eax + 0x3C), LO8(ebx) */ /* 0x2B092294: cmp byte ptr [eax + 0x3c], bl */ 1221 _flag_a = (uint32_t)(MEM8(eax + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1222 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1223 _flag_k = FK_NARROW(FK_CMP, 24); 1224 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924E2; /* 0x2B092297: jne 0x2b0924e2 */ 1225 L_2B09229D: 1226 edx = MEM32(eax + 0x4); /* 0x2B09229D: mov edx, dword ptr [eax + 4] */ 1227 ecx = MEM32(edx); /* 0x2B0922A0: mov ecx, dword ptr [edx] */ 1228 /* cmp eax, ecx */ /* 0x2B0922A2: cmp eax, ecx */ 1229 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1230 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1231 _flag_k = FK_CMP; 1232 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092314; /* 0x2B0922A4: jne 0x2b092314 */ 1233 L_2B0922A6: 1234 ecx = MEM32(edx + 0x8); /* 0x2B0922A6: mov ecx, dword ptr [edx + 8] */ 1235 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B0922A9: mov dl, byte ptr [ecx + 0x3c] */ 1236 /* test LO8(edx), LO8(edx) */ /* 0x2B0922AC: test dl, dl */ 1237 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 1238 _cf = 0; 1239 _flag_k = FK_NARROW(FK_TEST, 24); 1240 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0922FB; /* 0x2B0922AE: jne 0x2b0922fb */ 1241 L_2B0922B0: 1242 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0922B0: mov byte ptr [ecx + 0x3c], bl */ 1243 edx = MEM32(eax + 0x4); /* 0x2B0922B3: mov edx, dword ptr [eax + 4] */ 1244 MEM8(edx + 0x3C) = (uint8_t)(0); /* 0x2B0922B6: mov byte ptr [edx + 0x3c], 0 */ 1245 ecx = MEM32(eax + 0x4); /* 0x2B0922BA: mov ecx, dword ptr [eax + 4] */ 1246 edx = MEM32(ecx + 0x8); /* 0x2B0922BD: mov edx, dword ptr [ecx + 8] */ 1247 esi = MEM32(edx); /* 0x2B0922C0: mov esi, dword ptr [edx] */ 1248 MEM32(ecx + 0x8) = esi; /* 0x2B0922C2: mov dword ptr [ecx + 8], esi */ 1249 esi = MEM32(edx); /* 0x2B0922C5: mov esi, dword ptr [edx] */ 1250 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0922C7: cmp esi, dword ptr [edi + 8] */ 1251 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1252 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1253 _flag_k = FK_CMP; 1254 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0922CF; /* 0x2B0922CA: je 0x2b0922cf */ 1255 L_2B0922CC: 1256 MEM32(esi + 0x4) = ecx; /* 0x2B0922CC: mov dword ptr [esi + 4], ecx */ 1257 L_2B0922CF: 1258 esi = MEM32(ecx + 0x4); /* 0x2B0922CF: mov esi, dword ptr [ecx + 4] */ 1259 MEM32(edx + 0x4) = esi; /* 0x2B0922D2: mov dword ptr [edx + 4], esi */ 1260 esi = MEM32(edi + 0x4); /* 0x2B0922D5: mov esi, dword ptr [edi + 4] */ 1261 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0922D8: cmp ecx, dword ptr [esi + 4] */ 1262 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1263 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1264 _flag_k = FK_CMP; 1265 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0922E2; /* 0x2B0922DB: jne 0x2b0922e2 */ 1266 L_2B0922DD: 1267 MEM32(esi + 0x4) = edx; /* 0x2B0922DD: mov dword ptr [esi + 4], edx */ 1268 goto L_2B0922F0; /* 0x2B0922E0: jmp 0x2b0922f0 */ 1269 L_2B0922E2: 1270 esi = MEM32(ecx + 0x4); /* 0x2B0922E2: mov esi, dword ptr [ecx + 4] */ 1271 /* cmp ecx, MEM32(esi) */ /* 0x2B0922E5: cmp ecx, dword ptr [esi] */ 1272 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 1273 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1274 _flag_k = FK_CMP; 1275 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0922ED; /* 0x2B0922E7: jne 0x2b0922ed */ 1276 L_2B0922E9: 1277 MEM32(esi) = edx; /* 0x2B0922E9: mov dword ptr [esi], edx */ 1278 goto L_2B0922F0; /* 0x2B0922EB: jmp 0x2b0922f0 */ 1279 L_2B0922ED: 1280 MEM32(esi + 0x8) = edx; /* 0x2B0922ED: mov dword ptr [esi + 8], edx */ 1281 L_2B0922F0: 1282 MEM32(edx) = ecx; /* 0x2B0922F0: mov dword ptr [edx], ecx */ 1283 MEM32(ecx + 0x4) = edx; /* 0x2B0922F2: mov dword ptr [ecx + 4], edx */ 1284 ecx = MEM32(eax + 0x4); /* 0x2B0922F5: mov ecx, dword ptr [eax + 4] */ 1285 ecx = MEM32(ecx + 0x8); /* 0x2B0922F8: mov ecx, dword ptr [ecx + 8] */ 1286 L_2B0922FB: 1287 edx = MEM32(ecx); /* 0x2B0922FB: mov edx, dword ptr [ecx] */ 1288 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B0922FD: cmp byte ptr [edx + 0x3c], bl */ 1289 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1290 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1291 _flag_k = FK_NARROW(FK_CMP, 24); 1292 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092396; /* 0x2B092300: jne 0x2b092396 */ 1293 L_2B092306: 1294 edx = MEM32(ecx + 0x8); /* 0x2B092306: mov edx, dword ptr [ecx + 8] */ 1295 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092309: cmp byte ptr [edx + 0x3c], bl */ 1296 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1297 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1298 _flag_k = FK_NARROW(FK_CMP, 24); 1299 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092396; /* 0x2B09230C: jne 0x2b092396 */ 1300 L_2B092312: 1301 goto L_2B09237E; /* 0x2B092312: jmp 0x2b09237e */ 1302 L_2B092314: 1303 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B092314: mov dl, byte ptr [ecx + 0x3c] */ 1304 /* test LO8(edx), LO8(edx) */ /* 0x2B092317: test dl, dl */ 1305 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 1306 _cf = 0; 1307 _flag_k = FK_NARROW(FK_TEST, 24); 1308 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B092367; /* 0x2B092319: jne 0x2b092367 */ 1309 L_2B09231B: 1310 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09231B: mov byte ptr [ecx + 0x3c], bl */ 1311 ecx = MEM32(eax + 0x4); /* 0x2B09231E: mov ecx, dword ptr [eax + 4] */ 1312 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B092321: mov byte ptr [ecx + 0x3c], 0 */ 1313 ecx = MEM32(eax + 0x4); /* 0x2B092325: mov ecx, dword ptr [eax + 4] */ 1314 edx = MEM32(ecx); /* 0x2B092328: mov edx, dword ptr [ecx] */ 1315 esi = MEM32(edx + 0x8); /* 0x2B09232A: mov esi, dword ptr [edx + 8] */ 1316 MEM32(ecx) = esi; /* 0x2B09232D: mov dword ptr [ecx], esi */ 1317 esi = MEM32(edx + 0x8); /* 0x2B09232F: mov esi, dword ptr [edx + 8] */ 1318 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B092332: cmp esi, dword ptr [edi + 8] */ 1319 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1320 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1321 _flag_k = FK_CMP; 1322 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09233A; /* 0x2B092335: je 0x2b09233a */ 1323 L_2B092337: 1324 MEM32(esi + 0x4) = ecx; /* 0x2B092337: mov dword ptr [esi + 4], ecx */ 1325 L_2B09233A: 1326 esi = MEM32(ecx + 0x4); /* 0x2B09233A: mov esi, dword ptr [ecx + 4] */ 1327 MEM32(edx + 0x4) = esi; /* 0x2B09233D: mov dword ptr [edx + 4], esi */ 1328 esi = MEM32(edi + 0x4); /* 0x2B092340: mov esi, dword ptr [edi + 4] */ 1329 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B092343: cmp ecx, dword ptr [esi + 4] */ 1330 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1331 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1332 _flag_k = FK_CMP; 1333 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09234D; /* 0x2B092346: jne 0x2b09234d */ 1334 L_2B092348: 1335 MEM32(esi + 0x4) = edx; /* 0x2B092348: mov dword ptr [esi + 4], edx */ 1336 goto L_2B09235C; /* 0x2B09234B: jmp 0x2b09235c */ 1337 L_2B09234D: 1338 esi = MEM32(ecx + 0x4); /* 0x2B09234D: mov esi, dword ptr [ecx + 4] */ 1339 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B092350: cmp ecx, dword ptr [esi + 8] */ 1340 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1341 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1342 _flag_k = FK_CMP; 1343 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09235A; /* 0x2B092353: jne 0x2b09235a */ 1344 L_2B092355: 1345 MEM32(esi + 0x8) = edx; /* 0x2B092355: mov dword ptr [esi + 8], edx */ 1346 goto L_2B09235C; /* 0x2B092358: jmp 0x2b09235c */ 1347 L_2B09235A: 1348 MEM32(esi) = edx; /* 0x2B09235A: mov dword ptr [esi], edx */ 1349 L_2B09235C: 1350 MEM32(edx + 0x8) = ecx; /* 0x2B09235C: mov dword ptr [edx + 8], ecx */ 1351 MEM32(ecx + 0x4) = edx; /* 0x2B09235F: mov dword ptr [ecx + 4], edx */ 1352 edx = MEM32(eax + 0x4); /* 0x2B092362: mov edx, dword ptr [eax + 4] */ 1353 ecx = MEM32(edx); /* 0x2B092365: mov ecx, dword ptr [edx] */ 1354 L_2B092367: 1355 edx = MEM32(ecx + 0x8); /* 0x2B092367: mov edx, dword ptr [ecx + 8] */ 1356 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B09236A: cmp byte ptr [edx + 0x3c], bl */ 1357 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1358 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1359 _flag_k = FK_NARROW(FK_CMP, 24); 1360 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092443; /* 0x2B09236D: jne 0x2b092443 */ 1361 L_2B092373: 1362 edx = MEM32(ecx); /* 0x2B092373: mov edx, dword ptr [ecx] */ 1363 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092375: cmp byte ptr [edx + 0x3c], bl */ 1364 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1365 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1366 _flag_k = FK_NARROW(FK_CMP, 24); 1367 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092443; /* 0x2B092378: jne 0x2b092443 */ 1368 L_2B09237E: 1369 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B09237E: mov byte ptr [ecx + 0x3c], 0 */ 1370 ecx = MEM32(edi + 0x4); /* 0x2B092382: mov ecx, dword ptr [edi + 4] */ 1371 eax = MEM32(eax + 0x4); /* 0x2B092385: mov eax, dword ptr [eax + 4] */ 1372 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B092388: cmp eax, dword ptr [ecx + 4] */ 1373 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 1374 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1375 _flag_k = FK_CMP; 1376 RECOMP_BACKEDGE(); 1377 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092294; /* 0x2B09238B: jne 0x2b092294 */ 1378 L_2B092391: 1379 goto L_2B0924E2; /* 0x2B092391: jmp 0x2b0924e2 */ 1380 L_2B092396: 1381 edx = MEM32(ecx + 0x8); /* 0x2B092396: mov edx, dword ptr [ecx + 8] */ 1382 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092399: cmp byte ptr [edx + 0x3c], bl */ 1383 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1384 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1385 _flag_k = FK_NARROW(FK_CMP, 24); 1386 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923E7; /* 0x2B09239C: jne 0x2b0923e7 */ 1387 L_2B09239E: 1388 edx = MEM32(ecx); /* 0x2B09239E: mov edx, dword ptr [ecx] */ 1389 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923A0: mov byte ptr [edx + 0x3c], bl */ 1390 edx = MEM32(ecx); /* 0x2B0923A3: mov edx, dword ptr [ecx] */ 1391 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B0923A5: mov byte ptr [ecx + 0x3c], 0 */ 1392 esi = MEM32(edx + 0x8); /* 0x2B0923A9: mov esi, dword ptr [edx + 8] */ 1393 MEM32(ecx) = esi; /* 0x2B0923AC: mov dword ptr [ecx], esi */ 1394 esi = MEM32(edx + 0x8); /* 0x2B0923AE: mov esi, dword ptr [edx + 8] */ 1395 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0923B1: cmp esi, dword ptr [edi + 8] */ 1396 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1397 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1398 _flag_k = FK_CMP; 1399 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0923B9; /* 0x2B0923B4: je 0x2b0923b9 */ 1400 L_2B0923B6: 1401 MEM32(esi + 0x4) = ecx; /* 0x2B0923B6: mov dword ptr [esi + 4], ecx */ 1402 L_2B0923B9: 1403 esi = MEM32(ecx + 0x4); /* 0x2B0923B9: mov esi, dword ptr [ecx + 4] */ 1404 MEM32(edx + 0x4) = esi; /* 0x2B0923BC: mov dword ptr [edx + 4], esi */ 1405 esi = MEM32(edi + 0x4); /* 0x2B0923BF: mov esi, dword ptr [edi + 4] */ 1406 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0923C2: cmp ecx, dword ptr [esi + 4] */ 1407 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1408 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1409 _flag_k = FK_CMP; 1410 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923CC; /* 0x2B0923C5: jne 0x2b0923cc */ 1411 L_2B0923C7: 1412 MEM32(esi + 0x4) = edx; /* 0x2B0923C7: mov dword ptr [esi + 4], edx */ 1413 goto L_2B0923DB; /* 0x2B0923CA: jmp 0x2b0923db */ 1414 L_2B0923CC: 1415 esi = MEM32(ecx + 0x4); /* 0x2B0923CC: mov esi, dword ptr [ecx + 4] */ 1416 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0923CF: cmp ecx, dword ptr [esi + 8] */ 1417 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1418 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1419 _flag_k = FK_CMP; 1420 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923D9; /* 0x2B0923D2: jne 0x2b0923d9 */ 1421 L_2B0923D4: 1422 MEM32(esi + 0x8) = edx; /* 0x2B0923D4: mov dword ptr [esi + 8], edx */ 1423 goto L_2B0923DB; /* 0x2B0923D7: jmp 0x2b0923db */ 1424 L_2B0923D9: 1425 MEM32(esi) = edx; /* 0x2B0923D9: mov dword ptr [esi], edx */ 1426 L_2B0923DB: 1427 MEM32(edx + 0x8) = ecx; /* 0x2B0923DB: mov dword ptr [edx + 8], ecx */ 1428 MEM32(ecx + 0x4) = edx; /* 0x2B0923DE: mov dword ptr [ecx + 4], edx */ 1429 ecx = MEM32(eax + 0x4); /* 0x2B0923E1: mov ecx, dword ptr [eax + 4] */ 1430 ecx = MEM32(ecx + 0x8); /* 0x2B0923E4: mov ecx, dword ptr [ecx + 8] */ 1431 L_2B0923E7: 1432 edx = MEM32(eax + 0x4); /* 0x2B0923E7: mov edx, dword ptr [eax + 4] */ 1433 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B0923EA: mov dl, byte ptr [edx + 0x3c] */ 1434 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B0923ED: mov byte ptr [ecx + 0x3c], dl */ 1435 edx = MEM32(eax + 0x4); /* 0x2B0923F0: mov edx, dword ptr [eax + 4] */ 1436 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923F3: mov byte ptr [edx + 0x3c], bl */ 1437 ecx = MEM32(ecx + 0x8); /* 0x2B0923F6: mov ecx, dword ptr [ecx + 8] */ 1438 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923F9: mov byte ptr [ecx + 0x3c], bl */ 1439 ecx = MEM32(eax + 0x4); /* 0x2B0923FC: mov ecx, dword ptr [eax + 4] */ 1440 edx = MEM32(ecx + 0x8); /* 0x2B0923FF: mov edx, dword ptr [ecx + 8] */ 1441 esi = MEM32(edx); /* 0x2B092402: mov esi, dword ptr [edx] */ 1442 MEM32(ecx + 0x8) = esi; /* 0x2B092404: mov dword ptr [ecx + 8], esi */ 1443 esi = MEM32(edx); /* 0x2B092407: mov esi, dword ptr [edx] */ 1444 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B092409: cmp esi, dword ptr [edi + 8] */ 1445 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1446 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1447 _flag_k = FK_CMP; 1448 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092411; /* 0x2B09240C: je 0x2b092411 */ 1449 L_2B09240E: 1450 MEM32(esi + 0x4) = ecx; /* 0x2B09240E: mov dword ptr [esi + 4], ecx */ 1451 L_2B092411: 1452 esi = MEM32(ecx + 0x4); /* 0x2B092411: mov esi, dword ptr [ecx + 4] */ 1453 MEM32(edx + 0x4) = esi; /* 0x2B092414: mov dword ptr [edx + 4], esi */ 1454 esi = MEM32(edi + 0x4); /* 0x2B092417: mov esi, dword ptr [edi + 4] */ 1455 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B09241A: cmp ecx, dword ptr [esi + 4] */ 1456 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1457 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1458 _flag_k = FK_CMP; 1459 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092429; /* 0x2B09241D: jne 0x2b092429 */ 1460 L_2B09241F: 1461 MEM32(esi + 0x4) = edx; /* 0x2B09241F: mov dword ptr [esi + 4], edx */ 1462 MEM32(edx) = ecx; /* 0x2B092422: mov dword ptr [edx], ecx */ 1463 goto L_2B0924DF; /* 0x2B092424: jmp 0x2b0924df */ 1464 L_2B092429: 1465 esi = MEM32(ecx + 0x4); /* 0x2B092429: mov esi, dword ptr [ecx + 4] */ 1466 /* cmp ecx, MEM32(esi) */ /* 0x2B09242C: cmp ecx, dword ptr [esi] */ 1467 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 1468 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1469 _flag_k = FK_CMP; 1470 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092439; /* 0x2B09242E: jne 0x2b092439 */ 1471 L_2B092430: 1472 MEM32(esi) = edx; /* 0x2B092430: mov dword ptr [esi], edx */ 1473 MEM32(edx) = ecx; /* 0x2B092432: mov dword ptr [edx], ecx */ 1474 goto L_2B0924DF; /* 0x2B092434: jmp 0x2b0924df */ 1475 L_2B092439: 1476 MEM32(esi + 0x8) = edx; /* 0x2B092439: mov dword ptr [esi + 8], edx */ 1477 MEM32(edx) = ecx; /* 0x2B09243C: mov dword ptr [edx], ecx */ 1478 goto L_2B0924DF; /* 0x2B09243E: jmp 0x2b0924df */ 1479 L_2B092443: 1480 edx = MEM32(ecx); /* 0x2B092443: mov edx, dword ptr [ecx] */ 1481 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092445: cmp byte ptr [edx + 0x3c], bl */ 1482 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1483 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1484 _flag_k = FK_NARROW(FK_CMP, 24); 1485 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092491; /* 0x2B092448: jne 0x2b092491 */ 1486 L_2B09244A: 1487 edx = MEM32(ecx + 0x8); /* 0x2B09244A: mov edx, dword ptr [ecx + 8] */ 1488 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09244D: mov byte ptr [edx + 0x3c], bl */ 1489 edx = MEM32(ecx + 0x8); /* 0x2B092450: mov edx, dword ptr [ecx + 8] */ 1490 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B092453: mov byte ptr [ecx + 0x3c], 0 */ 1491 esi = MEM32(edx); /* 0x2B092457: mov esi, dword ptr [edx] */ 1492 MEM32(ecx + 0x8) = esi; /* 0x2B092459: mov dword ptr [ecx + 8], esi */ 1493 esi = MEM32(edx); /* 0x2B09245C: mov esi, dword ptr [edx] */ 1494 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B09245E: cmp esi, dword ptr [edi + 8] */ 1495 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1496 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1497 _flag_k = FK_CMP; 1498 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092466; /* 0x2B092461: je 0x2b092466 */ 1499 L_2B092463: 1500 MEM32(esi + 0x4) = ecx; /* 0x2B092463: mov dword ptr [esi + 4], ecx */ 1501 L_2B092466: 1502 esi = MEM32(ecx + 0x4); /* 0x2B092466: mov esi, dword ptr [ecx + 4] */ 1503 MEM32(edx + 0x4) = esi; /* 0x2B092469: mov dword ptr [edx + 4], esi */ 1504 esi = MEM32(edi + 0x4); /* 0x2B09246C: mov esi, dword ptr [edi + 4] */ 1505 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B09246F: cmp ecx, dword ptr [esi + 4] */ 1506 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1507 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1508 _flag_k = FK_CMP; 1509 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092479; /* 0x2B092472: jne 0x2b092479 */ 1510 L_2B092474: 1511 MEM32(esi + 0x4) = edx; /* 0x2B092474: mov dword ptr [esi + 4], edx */ 1512 goto L_2B092487; /* 0x2B092477: jmp 0x2b092487 */ 1513 L_2B092479: 1514 esi = MEM32(ecx + 0x4); /* 0x2B092479: mov esi, dword ptr [ecx + 4] */ 1515 /* cmp ecx, MEM32(esi) */ /* 0x2B09247C: cmp ecx, dword ptr [esi] */ 1516 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 1517 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1518 _flag_k = FK_CMP; 1519 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092484; /* 0x2B09247E: jne 0x2b092484 */ 1520 L_2B092480: 1521 MEM32(esi) = edx; /* 0x2B092480: mov dword ptr [esi], edx */ 1522 goto L_2B092487; /* 0x2B092482: jmp 0x2b092487 */ 1523 L_2B092484: 1524 MEM32(esi + 0x8) = edx; /* 0x2B092484: mov dword ptr [esi + 8], edx */ 1525 L_2B092487: 1526 MEM32(edx) = ecx; /* 0x2B092487: mov dword ptr [edx], ecx */ 1527 MEM32(ecx + 0x4) = edx; /* 0x2B092489: mov dword ptr [ecx + 4], edx */ 1528 ecx = MEM32(eax + 0x4); /* 0x2B09248C: mov ecx, dword ptr [eax + 4] */ 1529 ecx = MEM32(ecx); /* 0x2B09248F: mov ecx, dword ptr [ecx] */ 1530 L_2B092491: 1531 edx = MEM32(eax + 0x4); /* 0x2B092491: mov edx, dword ptr [eax + 4] */ 1532 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B092494: mov dl, byte ptr [edx + 0x3c] */ 1533 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B092497: mov byte ptr [ecx + 0x3c], dl */ 1534 edx = MEM32(eax + 0x4); /* 0x2B09249A: mov edx, dword ptr [eax + 4] */ 1535 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09249D: mov byte ptr [edx + 0x3c], bl */ 1536 ecx = MEM32(ecx); /* 0x2B0924A0: mov ecx, dword ptr [ecx] */ 1537 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0924A2: mov byte ptr [ecx + 0x3c], bl */ 1538 ecx = MEM32(eax + 0x4); /* 0x2B0924A5: mov ecx, dword ptr [eax + 4] */ 1539 edx = MEM32(ecx); /* 0x2B0924A8: mov edx, dword ptr [ecx] */ 1540 esi = MEM32(edx + 0x8); /* 0x2B0924AA: mov esi, dword ptr [edx + 8] */ 1541 MEM32(ecx) = esi; /* 0x2B0924AD: mov dword ptr [ecx], esi */ 1542 esi = MEM32(edx + 0x8); /* 0x2B0924AF: mov esi, dword ptr [edx + 8] */ 1543 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0924B2: cmp esi, dword ptr [edi + 8] */ 1544 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1545 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1546 _flag_k = FK_CMP; 1547 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0924BA; /* 0x2B0924B5: je 0x2b0924ba */ 1548 L_2B0924B7: 1549 MEM32(esi + 0x4) = ecx; /* 0x2B0924B7: mov dword ptr [esi + 4], ecx */ 1550 L_2B0924BA: 1551 esi = MEM32(ecx + 0x4); /* 0x2B0924BA: mov esi, dword ptr [ecx + 4] */ 1552 MEM32(edx + 0x4) = esi; /* 0x2B0924BD: mov dword ptr [edx + 4], esi */ 1553 esi = MEM32(edi + 0x4); /* 0x2B0924C0: mov esi, dword ptr [edi + 4] */ 1554 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0924C3: cmp ecx, dword ptr [esi + 4] */ 1555 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1556 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1557 _flag_k = FK_CMP; 1558 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924CD; /* 0x2B0924C6: jne 0x2b0924cd */ 1559 L_2B0924C8: 1560 MEM32(esi + 0x4) = edx; /* 0x2B0924C8: mov dword ptr [esi + 4], edx */ 1561 goto L_2B0924DC; /* 0x2B0924CB: jmp 0x2b0924dc */ 1562 L_2B0924CD: 1563 esi = MEM32(ecx + 0x4); /* 0x2B0924CD: mov esi, dword ptr [ecx + 4] */ 1564 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0924D0: cmp ecx, dword ptr [esi + 8] */ 1565 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1566 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1567 _flag_k = FK_CMP; 1568 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924DA; /* 0x2B0924D3: jne 0x2b0924da */ 1569 L_2B0924D5: 1570 MEM32(esi + 0x8) = edx; /* 0x2B0924D5: mov dword ptr [esi + 8], edx */ 1571 goto L_2B0924DC; /* 0x2B0924D8: jmp 0x2b0924dc */ 1572 L_2B0924DA: 1573 MEM32(esi) = edx; /* 0x2B0924DA: mov dword ptr [esi], edx */ 1574 L_2B0924DC: 1575 MEM32(edx + 0x8) = ecx; /* 0x2B0924DC: mov dword ptr [edx + 8], ecx */ 1576 L_2B0924DF: 1577 MEM32(ecx + 0x4) = edx; /* 0x2B0924DF: mov dword ptr [ecx + 4], edx */ 1578 L_2B0924E2: 1579 esi = MEM32(ebp + (-0x4)); /* 0x2B0924E2: mov esi, dword ptr [ebp - 4] */ 1580 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0924E5: mov byte ptr [eax + 0x3c], bl */ 1581 ecx = esi + 0xC; /* 0x2B0924E8: lea ecx, [esi + 0xc] */ 1582 RECOMP_ICALL(0x2B0925A0u); /* 0x2B0924EB: call 0x2b0925a0 */ /* not lifted */ 1583 RECOMP_FLAGS_IN(); 1584 PUSH32(esp, esi); /* 0x2B0924F0: push esi */ 1585 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0924F1: call 0x2b0ab1ba */ /* not lifted */ 1586 RECOMP_FLAGS_IN(); 1587 eax = MEM32(edi + 0x10); /* 0x2B0924F6: mov eax, dword ptr [edi + 0x10] */ 1588 edx = MEM32(ebp + 0xC); /* 0x2B0924F9: mov edx, dword ptr [ebp + 0xc] */ 1589 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1590 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1591 esp = esp + 4; /* 0x2B0924FC: add esp, 4 */ 1592 _flag_k = FK_ADD; 1593 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1594 eax = eax - 1; /* 0x2B0924FF: dec eax */ 1595 _flag_k = FK_DEC; 1596 MEM32(edi + 0x10) = eax; /* 0x2B092500: mov dword ptr [edi + 0x10], eax */ 1597 eax = MEM32(ebp + 0x8); /* 0x2B092503: mov eax, dword ptr [ebp + 8] */ 1598 edi = POP32_VAL(esp); /* 0x2B092506: pop edi */ 1599 esi = POP32_VAL(esp); /* 0x2B092507: pop esi */ 1600 MEM32(eax) = edx; /* 0x2B092508: mov dword ptr [eax], edx */ 1601 ebx = POP32_VAL(esp); /* 0x2B09250A: pop ebx */ 1602 esp = ebp; /* 0x2B09250B: mov esp, ebp */ 1603 ebp = POP32_VAL(esp); /* 0x2B09250D: pop ebp */ 1604 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B09250E: ret 8 */ 1605 RECOMP_REGS_OUT(); 1606 } 1607 1608 void sub_2B092396(void) { 1609 int _fpu_cmp = 0; 1610 uint32_t _cf = 0; 1611 int _df = 1; 1612 uint32_t _flag_k = FK_NONE; 1613 uint32_t _flag_a = 0, _flag_b = 0; 1614 uint32_t _itail_tgt = 0; 1615 RECOMP_REGS_LOCALS 1616 RECOMP_ENTER(0x2B092396u); 1617 1618 L_2B092396: 1619 edx = MEM32(ecx + 0x8); /* 0x2B092396: mov edx, dword ptr [ecx + 8] */ 1620 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092399: cmp byte ptr [edx + 0x3c], bl */ 1621 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1622 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1623 _flag_k = FK_NARROW(FK_CMP, 24); 1624 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923E7; /* 0x2B09239C: jne 0x2b0923e7 */ 1625 L_2B09239E: 1626 edx = MEM32(ecx); /* 0x2B09239E: mov edx, dword ptr [ecx] */ 1627 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923A0: mov byte ptr [edx + 0x3c], bl */ 1628 edx = MEM32(ecx); /* 0x2B0923A3: mov edx, dword ptr [ecx] */ 1629 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B0923A5: mov byte ptr [ecx + 0x3c], 0 */ 1630 esi = MEM32(edx + 0x8); /* 0x2B0923A9: mov esi, dword ptr [edx + 8] */ 1631 MEM32(ecx) = esi; /* 0x2B0923AC: mov dword ptr [ecx], esi */ 1632 esi = MEM32(edx + 0x8); /* 0x2B0923AE: mov esi, dword ptr [edx + 8] */ 1633 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0923B1: cmp esi, dword ptr [edi + 8] */ 1634 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1635 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1636 _flag_k = FK_CMP; 1637 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0923B9; /* 0x2B0923B4: je 0x2b0923b9 */ 1638 L_2B0923B6: 1639 MEM32(esi + 0x4) = ecx; /* 0x2B0923B6: mov dword ptr [esi + 4], ecx */ 1640 L_2B0923B9: 1641 esi = MEM32(ecx + 0x4); /* 0x2B0923B9: mov esi, dword ptr [ecx + 4] */ 1642 MEM32(edx + 0x4) = esi; /* 0x2B0923BC: mov dword ptr [edx + 4], esi */ 1643 esi = MEM32(edi + 0x4); /* 0x2B0923BF: mov esi, dword ptr [edi + 4] */ 1644 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0923C2: cmp ecx, dword ptr [esi + 4] */ 1645 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1646 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1647 _flag_k = FK_CMP; 1648 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923CC; /* 0x2B0923C5: jne 0x2b0923cc */ 1649 L_2B0923C7: 1650 MEM32(esi + 0x4) = edx; /* 0x2B0923C7: mov dword ptr [esi + 4], edx */ 1651 goto L_2B0923DB; /* 0x2B0923CA: jmp 0x2b0923db */ 1652 L_2B0923CC: 1653 esi = MEM32(ecx + 0x4); /* 0x2B0923CC: mov esi, dword ptr [ecx + 4] */ 1654 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0923CF: cmp ecx, dword ptr [esi + 8] */ 1655 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1656 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1657 _flag_k = FK_CMP; 1658 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923D9; /* 0x2B0923D2: jne 0x2b0923d9 */ 1659 L_2B0923D4: 1660 MEM32(esi + 0x8) = edx; /* 0x2B0923D4: mov dword ptr [esi + 8], edx */ 1661 goto L_2B0923DB; /* 0x2B0923D7: jmp 0x2b0923db */ 1662 L_2B0923D9: 1663 MEM32(esi) = edx; /* 0x2B0923D9: mov dword ptr [esi], edx */ 1664 L_2B0923DB: 1665 MEM32(edx + 0x8) = ecx; /* 0x2B0923DB: mov dword ptr [edx + 8], ecx */ 1666 MEM32(ecx + 0x4) = edx; /* 0x2B0923DE: mov dword ptr [ecx + 4], edx */ 1667 ecx = MEM32(eax + 0x4); /* 0x2B0923E1: mov ecx, dword ptr [eax + 4] */ 1668 ecx = MEM32(ecx + 0x8); /* 0x2B0923E4: mov ecx, dword ptr [ecx + 8] */ 1669 L_2B0923E7: 1670 edx = MEM32(eax + 0x4); /* 0x2B0923E7: mov edx, dword ptr [eax + 4] */ 1671 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B0923EA: mov dl, byte ptr [edx + 0x3c] */ 1672 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B0923ED: mov byte ptr [ecx + 0x3c], dl */ 1673 edx = MEM32(eax + 0x4); /* 0x2B0923F0: mov edx, dword ptr [eax + 4] */ 1674 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923F3: mov byte ptr [edx + 0x3c], bl */ 1675 ecx = MEM32(ecx + 0x8); /* 0x2B0923F6: mov ecx, dword ptr [ecx + 8] */ 1676 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923F9: mov byte ptr [ecx + 0x3c], bl */ 1677 ecx = MEM32(eax + 0x4); /* 0x2B0923FC: mov ecx, dword ptr [eax + 4] */ 1678 edx = MEM32(ecx + 0x8); /* 0x2B0923FF: mov edx, dword ptr [ecx + 8] */ 1679 esi = MEM32(edx); /* 0x2B092402: mov esi, dword ptr [edx] */ 1680 MEM32(ecx + 0x8) = esi; /* 0x2B092404: mov dword ptr [ecx + 8], esi */ 1681 esi = MEM32(edx); /* 0x2B092407: mov esi, dword ptr [edx] */ 1682 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B092409: cmp esi, dword ptr [edi + 8] */ 1683 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1684 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1685 _flag_k = FK_CMP; 1686 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092411; /* 0x2B09240C: je 0x2b092411 */ 1687 L_2B09240E: 1688 MEM32(esi + 0x4) = ecx; /* 0x2B09240E: mov dword ptr [esi + 4], ecx */ 1689 L_2B092411: 1690 esi = MEM32(ecx + 0x4); /* 0x2B092411: mov esi, dword ptr [ecx + 4] */ 1691 MEM32(edx + 0x4) = esi; /* 0x2B092414: mov dword ptr [edx + 4], esi */ 1692 esi = MEM32(edi + 0x4); /* 0x2B092417: mov esi, dword ptr [edi + 4] */ 1693 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B09241A: cmp ecx, dword ptr [esi + 4] */ 1694 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1695 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1696 _flag_k = FK_CMP; 1697 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092429; /* 0x2B09241D: jne 0x2b092429 */ 1698 L_2B09241F: 1699 MEM32(esi + 0x4) = edx; /* 0x2B09241F: mov dword ptr [esi + 4], edx */ 1700 MEM32(edx) = ecx; /* 0x2B092422: mov dword ptr [edx], ecx */ 1701 goto L_2B0924DF; /* 0x2B092424: jmp 0x2b0924df */ 1702 L_2B092429: 1703 esi = MEM32(ecx + 0x4); /* 0x2B092429: mov esi, dword ptr [ecx + 4] */ 1704 /* cmp ecx, MEM32(esi) */ /* 0x2B09242C: cmp ecx, dword ptr [esi] */ 1705 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 1706 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1707 _flag_k = FK_CMP; 1708 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092439; /* 0x2B09242E: jne 0x2b092439 */ 1709 L_2B092430: 1710 MEM32(esi) = edx; /* 0x2B092430: mov dword ptr [esi], edx */ 1711 MEM32(edx) = ecx; /* 0x2B092432: mov dword ptr [edx], ecx */ 1712 goto L_2B0924DF; /* 0x2B092434: jmp 0x2b0924df */ 1713 L_2B092439: 1714 MEM32(esi + 0x8) = edx; /* 0x2B092439: mov dword ptr [esi + 8], edx */ 1715 MEM32(edx) = ecx; /* 0x2B09243C: mov dword ptr [edx], ecx */ 1716 goto L_2B0924DF; /* 0x2B09243E: jmp 0x2b0924df */ 1717 L_2B0924DF: 1718 MEM32(ecx + 0x4) = edx; /* 0x2B0924DF: mov dword ptr [ecx + 4], edx */ 1719 esi = MEM32(ebp + (-0x4)); /* 0x2B0924E2: mov esi, dword ptr [ebp - 4] */ 1720 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0924E5: mov byte ptr [eax + 0x3c], bl */ 1721 ecx = esi + 0xC; /* 0x2B0924E8: lea ecx, [esi + 0xc] */ 1722 RECOMP_ICALL(0x2B0925A0u); /* 0x2B0924EB: call 0x2b0925a0 */ /* not lifted */ 1723 RECOMP_FLAGS_IN(); 1724 PUSH32(esp, esi); /* 0x2B0924F0: push esi */ 1725 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0924F1: call 0x2b0ab1ba */ /* not lifted */ 1726 RECOMP_FLAGS_IN(); 1727 eax = MEM32(edi + 0x10); /* 0x2B0924F6: mov eax, dword ptr [edi + 0x10] */ 1728 edx = MEM32(ebp + 0xC); /* 0x2B0924F9: mov edx, dword ptr [ebp + 0xc] */ 1729 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1730 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1731 esp = esp + 4; /* 0x2B0924FC: add esp, 4 */ 1732 _flag_k = FK_ADD; 1733 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1734 eax = eax - 1; /* 0x2B0924FF: dec eax */ 1735 _flag_k = FK_DEC; 1736 MEM32(edi + 0x10) = eax; /* 0x2B092500: mov dword ptr [edi + 0x10], eax */ 1737 eax = MEM32(ebp + 0x8); /* 0x2B092503: mov eax, dword ptr [ebp + 8] */ 1738 edi = POP32_VAL(esp); /* 0x2B092506: pop edi */ 1739 esi = POP32_VAL(esp); /* 0x2B092507: pop esi */ 1740 MEM32(eax) = edx; /* 0x2B092508: mov dword ptr [eax], edx */ 1741 ebx = POP32_VAL(esp); /* 0x2B09250A: pop ebx */ 1742 esp = ebp; /* 0x2B09250B: mov esp, ebp */ 1743 ebp = POP32_VAL(esp); /* 0x2B09250D: pop ebp */ 1744 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B09250E: ret 8 */ 1745 RECOMP_REGS_OUT(); 1746 } 1747 1748 void sub_2B0923DB(void) { 1749 int _fpu_cmp = 0; 1750 uint32_t _cf = 0; 1751 int _df = 1; 1752 uint32_t _flag_k = FK_NONE; 1753 uint32_t _flag_a = 0, _flag_b = 0; 1754 uint32_t _itail_tgt = 0; 1755 RECOMP_REGS_LOCALS 1756 RECOMP_ENTER(0x2B0923DBu); 1757 1758 L_2B0923DB: 1759 MEM32(edx + 0x8) = ecx; /* 0x2B0923DB: mov dword ptr [edx + 8], ecx */ 1760 MEM32(ecx + 0x4) = edx; /* 0x2B0923DE: mov dword ptr [ecx + 4], edx */ 1761 ecx = MEM32(eax + 0x4); /* 0x2B0923E1: mov ecx, dword ptr [eax + 4] */ 1762 ecx = MEM32(ecx + 0x8); /* 0x2B0923E4: mov ecx, dword ptr [ecx + 8] */ 1763 edx = MEM32(eax + 0x4); /* 0x2B0923E7: mov edx, dword ptr [eax + 4] */ 1764 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B0923EA: mov dl, byte ptr [edx + 0x3c] */ 1765 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B0923ED: mov byte ptr [ecx + 0x3c], dl */ 1766 edx = MEM32(eax + 0x4); /* 0x2B0923F0: mov edx, dword ptr [eax + 4] */ 1767 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923F3: mov byte ptr [edx + 0x3c], bl */ 1768 ecx = MEM32(ecx + 0x8); /* 0x2B0923F6: mov ecx, dword ptr [ecx + 8] */ 1769 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923F9: mov byte ptr [ecx + 0x3c], bl */ 1770 ecx = MEM32(eax + 0x4); /* 0x2B0923FC: mov ecx, dword ptr [eax + 4] */ 1771 edx = MEM32(ecx + 0x8); /* 0x2B0923FF: mov edx, dword ptr [ecx + 8] */ 1772 esi = MEM32(edx); /* 0x2B092402: mov esi, dword ptr [edx] */ 1773 MEM32(ecx + 0x8) = esi; /* 0x2B092404: mov dword ptr [ecx + 8], esi */ 1774 esi = MEM32(edx); /* 0x2B092407: mov esi, dword ptr [edx] */ 1775 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B092409: cmp esi, dword ptr [edi + 8] */ 1776 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1777 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1778 _flag_k = FK_CMP; 1779 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092411; /* 0x2B09240C: je 0x2b092411 */ 1780 L_2B09240E: 1781 MEM32(esi + 0x4) = ecx; /* 0x2B09240E: mov dword ptr [esi + 4], ecx */ 1782 L_2B092411: 1783 esi = MEM32(ecx + 0x4); /* 0x2B092411: mov esi, dword ptr [ecx + 4] */ 1784 MEM32(edx + 0x4) = esi; /* 0x2B092414: mov dword ptr [edx + 4], esi */ 1785 esi = MEM32(edi + 0x4); /* 0x2B092417: mov esi, dword ptr [edi + 4] */ 1786 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B09241A: cmp ecx, dword ptr [esi + 4] */ 1787 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1788 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1789 _flag_k = FK_CMP; 1790 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092429; /* 0x2B09241D: jne 0x2b092429 */ 1791 L_2B09241F: 1792 MEM32(esi + 0x4) = edx; /* 0x2B09241F: mov dword ptr [esi + 4], edx */ 1793 MEM32(edx) = ecx; /* 0x2B092422: mov dword ptr [edx], ecx */ 1794 goto L_2B0924DF; /* 0x2B092424: jmp 0x2b0924df */ 1795 L_2B092429: 1796 esi = MEM32(ecx + 0x4); /* 0x2B092429: mov esi, dword ptr [ecx + 4] */ 1797 /* cmp ecx, MEM32(esi) */ /* 0x2B09242C: cmp ecx, dword ptr [esi] */ 1798 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 1799 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1800 _flag_k = FK_CMP; 1801 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092439; /* 0x2B09242E: jne 0x2b092439 */ 1802 L_2B092430: 1803 MEM32(esi) = edx; /* 0x2B092430: mov dword ptr [esi], edx */ 1804 MEM32(edx) = ecx; /* 0x2B092432: mov dword ptr [edx], ecx */ 1805 goto L_2B0924DF; /* 0x2B092434: jmp 0x2b0924df */ 1806 L_2B092439: 1807 MEM32(esi + 0x8) = edx; /* 0x2B092439: mov dword ptr [esi + 8], edx */ 1808 MEM32(edx) = ecx; /* 0x2B09243C: mov dword ptr [edx], ecx */ 1809 goto L_2B0924DF; /* 0x2B09243E: jmp 0x2b0924df */ 1810 L_2B0924DF: 1811 MEM32(ecx + 0x4) = edx; /* 0x2B0924DF: mov dword ptr [ecx + 4], edx */ 1812 esi = MEM32(ebp + (-0x4)); /* 0x2B0924E2: mov esi, dword ptr [ebp - 4] */ 1813 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0924E5: mov byte ptr [eax + 0x3c], bl */ 1814 ecx = esi + 0xC; /* 0x2B0924E8: lea ecx, [esi + 0xc] */ 1815 RECOMP_ICALL(0x2B0925A0u); /* 0x2B0924EB: call 0x2b0925a0 */ /* not lifted */ 1816 RECOMP_FLAGS_IN(); 1817 PUSH32(esp, esi); /* 0x2B0924F0: push esi */ 1818 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0924F1: call 0x2b0ab1ba */ /* not lifted */ 1819 RECOMP_FLAGS_IN(); 1820 eax = MEM32(edi + 0x10); /* 0x2B0924F6: mov eax, dword ptr [edi + 0x10] */ 1821 edx = MEM32(ebp + 0xC); /* 0x2B0924F9: mov edx, dword ptr [ebp + 0xc] */ 1822 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1823 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1824 esp = esp + 4; /* 0x2B0924FC: add esp, 4 */ 1825 _flag_k = FK_ADD; 1826 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1827 eax = eax - 1; /* 0x2B0924FF: dec eax */ 1828 _flag_k = FK_DEC; 1829 MEM32(edi + 0x10) = eax; /* 0x2B092500: mov dword ptr [edi + 0x10], eax */ 1830 eax = MEM32(ebp + 0x8); /* 0x2B092503: mov eax, dword ptr [ebp + 8] */ 1831 edi = POP32_VAL(esp); /* 0x2B092506: pop edi */ 1832 esi = POP32_VAL(esp); /* 0x2B092507: pop esi */ 1833 MEM32(eax) = edx; /* 0x2B092508: mov dword ptr [eax], edx */ 1834 ebx = POP32_VAL(esp); /* 0x2B09250A: pop ebx */ 1835 esp = ebp; /* 0x2B09250B: mov esp, ebp */ 1836 ebp = POP32_VAL(esp); /* 0x2B09250D: pop ebp */ 1837 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B09250E: ret 8 */ 1838 RECOMP_REGS_OUT(); 1839 } 1840 1841 void sub_2B092487(void) { 1842 int _fpu_cmp = 0; 1843 uint32_t _cf = 0; 1844 int _df = 1; 1845 uint32_t _flag_k = FK_NONE; 1846 uint32_t _flag_a = 0, _flag_b = 0; 1847 uint32_t _itail_tgt = 0; 1848 RECOMP_REGS_LOCALS 1849 RECOMP_ENTER(0x2B092487u); 1850 1851 L_2B092487: 1852 MEM32(edx) = ecx; /* 0x2B092487: mov dword ptr [edx], ecx */ 1853 MEM32(ecx + 0x4) = edx; /* 0x2B092489: mov dword ptr [ecx + 4], edx */ 1854 ecx = MEM32(eax + 0x4); /* 0x2B09248C: mov ecx, dword ptr [eax + 4] */ 1855 ecx = MEM32(ecx); /* 0x2B09248F: mov ecx, dword ptr [ecx] */ 1856 edx = MEM32(eax + 0x4); /* 0x2B092491: mov edx, dword ptr [eax + 4] */ 1857 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B092494: mov dl, byte ptr [edx + 0x3c] */ 1858 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B092497: mov byte ptr [ecx + 0x3c], dl */ 1859 edx = MEM32(eax + 0x4); /* 0x2B09249A: mov edx, dword ptr [eax + 4] */ 1860 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09249D: mov byte ptr [edx + 0x3c], bl */ 1861 ecx = MEM32(ecx); /* 0x2B0924A0: mov ecx, dword ptr [ecx] */ 1862 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0924A2: mov byte ptr [ecx + 0x3c], bl */ 1863 ecx = MEM32(eax + 0x4); /* 0x2B0924A5: mov ecx, dword ptr [eax + 4] */ 1864 edx = MEM32(ecx); /* 0x2B0924A8: mov edx, dword ptr [ecx] */ 1865 esi = MEM32(edx + 0x8); /* 0x2B0924AA: mov esi, dword ptr [edx + 8] */ 1866 MEM32(ecx) = esi; /* 0x2B0924AD: mov dword ptr [ecx], esi */ 1867 esi = MEM32(edx + 0x8); /* 0x2B0924AF: mov esi, dword ptr [edx + 8] */ 1868 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0924B2: cmp esi, dword ptr [edi + 8] */ 1869 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1870 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1871 _flag_k = FK_CMP; 1872 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0924BA; /* 0x2B0924B5: je 0x2b0924ba */ 1873 L_2B0924B7: 1874 MEM32(esi + 0x4) = ecx; /* 0x2B0924B7: mov dword ptr [esi + 4], ecx */ 1875 L_2B0924BA: 1876 esi = MEM32(ecx + 0x4); /* 0x2B0924BA: mov esi, dword ptr [ecx + 4] */ 1877 MEM32(edx + 0x4) = esi; /* 0x2B0924BD: mov dword ptr [edx + 4], esi */ 1878 esi = MEM32(edi + 0x4); /* 0x2B0924C0: mov esi, dword ptr [edi + 4] */ 1879 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0924C3: cmp ecx, dword ptr [esi + 4] */ 1880 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1881 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1882 _flag_k = FK_CMP; 1883 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924CD; /* 0x2B0924C6: jne 0x2b0924cd */ 1884 L_2B0924C8: 1885 MEM32(esi + 0x4) = edx; /* 0x2B0924C8: mov dword ptr [esi + 4], edx */ 1886 goto L_2B0924DC; /* 0x2B0924CB: jmp 0x2b0924dc */ 1887 L_2B0924CD: 1888 esi = MEM32(ecx + 0x4); /* 0x2B0924CD: mov esi, dword ptr [ecx + 4] */ 1889 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0924D0: cmp ecx, dword ptr [esi + 8] */ 1890 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1891 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1892 _flag_k = FK_CMP; 1893 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924DA; /* 0x2B0924D3: jne 0x2b0924da */ 1894 L_2B0924D5: 1895 MEM32(esi + 0x8) = edx; /* 0x2B0924D5: mov dword ptr [esi + 8], edx */ 1896 goto L_2B0924DC; /* 0x2B0924D8: jmp 0x2b0924dc */ 1897 L_2B0924DA: 1898 MEM32(esi) = edx; /* 0x2B0924DA: mov dword ptr [esi], edx */ 1899 L_2B0924DC: 1900 MEM32(edx + 0x8) = ecx; /* 0x2B0924DC: mov dword ptr [edx + 8], ecx */ 1901 MEM32(ecx + 0x4) = edx; /* 0x2B0924DF: mov dword ptr [ecx + 4], edx */ 1902 esi = MEM32(ebp + (-0x4)); /* 0x2B0924E2: mov esi, dword ptr [ebp - 4] */ 1903 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0924E5: mov byte ptr [eax + 0x3c], bl */ 1904 ecx = esi + 0xC; /* 0x2B0924E8: lea ecx, [esi + 0xc] */ 1905 RECOMP_ICALL(0x2B0925A0u); /* 0x2B0924EB: call 0x2b0925a0 */ /* not lifted */ 1906 RECOMP_FLAGS_IN(); 1907 PUSH32(esp, esi); /* 0x2B0924F0: push esi */ 1908 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0924F1: call 0x2b0ab1ba */ /* not lifted */ 1909 RECOMP_FLAGS_IN(); 1910 eax = MEM32(edi + 0x10); /* 0x2B0924F6: mov eax, dword ptr [edi + 0x10] */ 1911 edx = MEM32(ebp + 0xC); /* 0x2B0924F9: mov edx, dword ptr [ebp + 0xc] */ 1912 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1913 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1914 esp = esp + 4; /* 0x2B0924FC: add esp, 4 */ 1915 _flag_k = FK_ADD; 1916 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1917 eax = eax - 1; /* 0x2B0924FF: dec eax */ 1918 _flag_k = FK_DEC; 1919 MEM32(edi + 0x10) = eax; /* 0x2B092500: mov dword ptr [edi + 0x10], eax */ 1920 eax = MEM32(ebp + 0x8); /* 0x2B092503: mov eax, dword ptr [ebp + 8] */ 1921 edi = POP32_VAL(esp); /* 0x2B092506: pop edi */ 1922 esi = POP32_VAL(esp); /* 0x2B092507: pop esi */ 1923 MEM32(eax) = edx; /* 0x2B092508: mov dword ptr [eax], edx */ 1924 ebx = POP32_VAL(esp); /* 0x2B09250A: pop ebx */ 1925 esp = ebp; /* 0x2B09250B: mov esp, ebp */ 1926 ebp = POP32_VAL(esp); /* 0x2B09250D: pop ebp */ 1927 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B09250E: ret 8 */ 1928 RECOMP_REGS_OUT(); 1929 } 1930 1931 void sub_2B0924DC(void) { 1932 int _fpu_cmp = 0; 1933 uint32_t _cf = 0; 1934 int _df = 1; 1935 uint32_t _flag_k = FK_NONE; 1936 uint32_t _flag_a = 0, _flag_b = 0; 1937 uint32_t _itail_tgt = 0; 1938 RECOMP_REGS_LOCALS 1939 RECOMP_ENTER(0x2B0924DCu); 1940 1941 L_2B0924DC: 1942 MEM32(edx + 0x8) = ecx; /* 0x2B0924DC: mov dword ptr [edx + 8], ecx */ 1943 MEM32(ecx + 0x4) = edx; /* 0x2B0924DF: mov dword ptr [ecx + 4], edx */ 1944 esi = MEM32(ebp + (-0x4)); /* 0x2B0924E2: mov esi, dword ptr [ebp - 4] */ 1945 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0924E5: mov byte ptr [eax + 0x3c], bl */ 1946 ecx = esi + 0xC; /* 0x2B0924E8: lea ecx, [esi + 0xc] */ 1947 RECOMP_ICALL(0x2B0925A0u); /* 0x2B0924EB: call 0x2b0925a0 */ /* not lifted */ 1948 RECOMP_FLAGS_IN(); 1949 PUSH32(esp, esi); /* 0x2B0924F0: push esi */ 1950 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0924F1: call 0x2b0ab1ba */ /* not lifted */ 1951 RECOMP_FLAGS_IN(); 1952 eax = MEM32(edi + 0x10); /* 0x2B0924F6: mov eax, dword ptr [edi + 0x10] */ 1953 edx = MEM32(ebp + 0xC); /* 0x2B0924F9: mov edx, dword ptr [ebp + 0xc] */ 1954 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1955 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1956 esp = esp + 4; /* 0x2B0924FC: add esp, 4 */ 1957 _flag_k = FK_ADD; 1958 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1959 eax = eax - 1; /* 0x2B0924FF: dec eax */ 1960 _flag_k = FK_DEC; 1961 MEM32(edi + 0x10) = eax; /* 0x2B092500: mov dword ptr [edi + 0x10], eax */ 1962 eax = MEM32(ebp + 0x8); /* 0x2B092503: mov eax, dword ptr [ebp + 8] */ 1963 edi = POP32_VAL(esp); /* 0x2B092506: pop edi */ 1964 esi = POP32_VAL(esp); /* 0x2B092507: pop esi */ 1965 MEM32(eax) = edx; /* 0x2B092508: mov dword ptr [eax], edx */ 1966 ebx = POP32_VAL(esp); /* 0x2B09250A: pop ebx */ 1967 esp = ebp; /* 0x2B09250B: mov esp, ebp */ 1968 ebp = POP32_VAL(esp); /* 0x2B09250D: pop ebp */ 1969 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B09250E: ret 8 */ 1970 RECOMP_REGS_OUT(); 1971 } 1972 1973 void sub_2B0924DF(void) { 1974 int _fpu_cmp = 0; 1975 uint32_t _cf = 0; 1976 int _df = 1; 1977 uint32_t _flag_k = FK_NONE; 1978 uint32_t _flag_a = 0, _flag_b = 0; 1979 uint32_t _itail_tgt = 0; 1980 RECOMP_REGS_LOCALS 1981 RECOMP_ENTER(0x2B0924DFu); 1982 1983 L_2B0924DF: 1984 MEM32(ecx + 0x4) = edx; /* 0x2B0924DF: mov dword ptr [ecx + 4], edx */ 1985 esi = MEM32(ebp + (-0x4)); /* 0x2B0924E2: mov esi, dword ptr [ebp - 4] */ 1986 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0924E5: mov byte ptr [eax + 0x3c], bl */ 1987 ecx = esi + 0xC; /* 0x2B0924E8: lea ecx, [esi + 0xc] */ 1988 RECOMP_ICALL(0x2B0925A0u); /* 0x2B0924EB: call 0x2b0925a0 */ /* not lifted */ 1989 RECOMP_FLAGS_IN(); 1990 PUSH32(esp, esi); /* 0x2B0924F0: push esi */ 1991 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0924F1: call 0x2b0ab1ba */ /* not lifted */ 1992 RECOMP_FLAGS_IN(); 1993 eax = MEM32(edi + 0x10); /* 0x2B0924F6: mov eax, dword ptr [edi + 0x10] */ 1994 edx = MEM32(ebp + 0xC); /* 0x2B0924F9: mov edx, dword ptr [ebp + 0xc] */ 1995 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1996 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1997 esp = esp + 4; /* 0x2B0924FC: add esp, 4 */ 1998 _flag_k = FK_ADD; 1999 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2000 eax = eax - 1; /* 0x2B0924FF: dec eax */ 2001 _flag_k = FK_DEC; 2002 MEM32(edi + 0x10) = eax; /* 0x2B092500: mov dword ptr [edi + 0x10], eax */ 2003 eax = MEM32(ebp + 0x8); /* 0x2B092503: mov eax, dword ptr [ebp + 8] */ 2004 edi = POP32_VAL(esp); /* 0x2B092506: pop edi */ 2005 esi = POP32_VAL(esp); /* 0x2B092507: pop esi */ 2006 MEM32(eax) = edx; /* 0x2B092508: mov dword ptr [eax], edx */ 2007 ebx = POP32_VAL(esp); /* 0x2B09250A: pop ebx */ 2008 esp = ebp; /* 0x2B09250B: mov esp, ebp */ 2009 ebp = POP32_VAL(esp); /* 0x2B09250D: pop ebp */ 2010 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B09250E: ret 8 */ 2011 RECOMP_REGS_OUT(); 2012 } 2013 2014 void sub_2B0924E2(void) { 2015 int _fpu_cmp = 0; 2016 uint32_t _cf = 0; 2017 int _df = 1; 2018 uint32_t _flag_k = FK_NONE; 2019 uint32_t _flag_a = 0, _flag_b = 0; 2020 uint32_t _itail_tgt = 0; 2021 RECOMP_REGS_LOCALS 2022 RECOMP_ENTER(0x2B0924E2u); 2023 2024 L_2B0924E2: 2025 esi = MEM32(ebp + (-0x4)); /* 0x2B0924E2: mov esi, dword ptr [ebp - 4] */ 2026 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0924E5: mov byte ptr [eax + 0x3c], bl */ 2027 ecx = esi + 0xC; /* 0x2B0924E8: lea ecx, [esi + 0xc] */ 2028 RECOMP_ICALL(0x2B0925A0u); /* 0x2B0924EB: call 0x2b0925a0 */ /* not lifted */ 2029 RECOMP_FLAGS_IN(); 2030 PUSH32(esp, esi); /* 0x2B0924F0: push esi */ 2031 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0924F1: call 0x2b0ab1ba */ /* not lifted */ 2032 RECOMP_FLAGS_IN(); 2033 eax = MEM32(edi + 0x10); /* 0x2B0924F6: mov eax, dword ptr [edi + 0x10] */ 2034 edx = MEM32(ebp + 0xC); /* 0x2B0924F9: mov edx, dword ptr [ebp + 0xc] */ 2035 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2036 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2037 esp = esp + 4; /* 0x2B0924FC: add esp, 4 */ 2038 _flag_k = FK_ADD; 2039 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2040 eax = eax - 1; /* 0x2B0924FF: dec eax */ 2041 _flag_k = FK_DEC; 2042 MEM32(edi + 0x10) = eax; /* 0x2B092500: mov dword ptr [edi + 0x10], eax */ 2043 eax = MEM32(ebp + 0x8); /* 0x2B092503: mov eax, dword ptr [ebp + 8] */ 2044 edi = POP32_VAL(esp); /* 0x2B092506: pop edi */ 2045 esi = POP32_VAL(esp); /* 0x2B092507: pop esi */ 2046 MEM32(eax) = edx; /* 0x2B092508: mov dword ptr [eax], edx */ 2047 ebx = POP32_VAL(esp); /* 0x2B09250A: pop ebx */ 2048 esp = ebp; /* 0x2B09250B: mov esp, ebp */ 2049 ebp = POP32_VAL(esp); /* 0x2B09250D: pop ebp */ 2050 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B09250E: ret 8 */ 2051 RECOMP_REGS_OUT(); 2052 } 2053 2054 void sub_2B092520(void) { 2055 int _fpu_cmp = 0; 2056 uint32_t _cf = 0; 2057 int _df = 1; 2058 uint32_t _flag_k = FK_NONE; 2059 uint32_t _flag_a = 0, _flag_b = 0; 2060 uint32_t _itail_tgt = 0; 2061 RECOMP_REGS_LOCALS 2062 RECOMP_ENTER(0x2B092520u); 2063 2064 L_2B092520: 2065 PUSH32(esp, ebp); /* 0x2B092520: push ebp */ 2066 ebp = esp; /* 0x2B092521: mov ebp, esp */ 2067 PUSH32(esp, ebx); /* 0x2B092523: push ebx */ 2068 PUSH32(esp, esi); /* 0x2B092524: push esi */ 2069 ebx = ecx; /* 0x2B092525: mov ebx, ecx */ 2070 eax = MEM32(ebx + 0x8); /* 0x2B092527: mov eax, dword ptr [ebx + 8] */ 2071 PUSH32(esp, edi); /* 0x2B09252A: push edi */ 2072 edi = MEM32(ebp + 0x8); /* 0x2B09252B: mov edi, dword ptr [ebp + 8] */ 2073 /* cmp edi, eax */ /* 0x2B09252E: cmp edi, eax */ 2074 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 2075 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2076 _flag_k = FK_CMP; 2077 esi = edi; /* 0x2B092530: mov esi, edi */ 2078 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09255B; /* 0x2B092532: je 0x2b09255b */ 2079 L_2B092534: 2080 eax = MEM32(esi + 0x8); /* 0x2B092534: mov eax, dword ptr [esi + 8] */ 2081 PUSH32(esp, eax); /* 0x2B092537: push eax */ 2082 ecx = ebx; /* 0x2B092538: mov ecx, ebx */ 2083 RECOMP_ICALL(0x2B092520u); /* 0x2B09253A: call 0x2b092520 */ /* not lifted */ 2084 RECOMP_FLAGS_IN(); 2085 esi = MEM32(esi); /* 0x2B09253F: mov esi, dword ptr [esi] */ 2086 ecx = edi + 0xC; /* 0x2B092541: lea ecx, [edi + 0xc] */ 2087 RECOMP_ICALL(0x2B0925A0u); /* 0x2B092544: call 0x2b0925a0 */ /* not lifted */ 2088 RECOMP_FLAGS_IN(); 2089 PUSH32(esp, edi); /* 0x2B092549: push edi */ 2090 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09254A: call 0x2b0ab1ba */ /* not lifted */ 2091 RECOMP_FLAGS_IN(); 2092 eax = MEM32(ebx + 0x8); /* 0x2B09254F: mov eax, dword ptr [ebx + 8] */ 2093 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2094 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2095 esp = esp + 4; /* 0x2B092552: add esp, 4 */ 2096 _flag_k = FK_ADD; 2097 /* cmp esi, eax */ /* 0x2B092555: cmp esi, eax */ 2098 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 2099 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2100 _flag_k = FK_CMP; 2101 edi = esi; /* 0x2B092557: mov edi, esi */ 2102 RECOMP_BACKEDGE(); 2103 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092534; /* 0x2B092559: jne 0x2b092534 */ 2104 L_2B09255B: 2105 edi = POP32_VAL(esp); /* 0x2B09255B: pop edi */ 2106 esi = POP32_VAL(esp); /* 0x2B09255C: pop esi */ 2107 ebx = POP32_VAL(esp); /* 0x2B09255D: pop ebx */ 2108 ebp = POP32_VAL(esp); /* 0x2B09255E: pop ebp */ 2109 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B09255F: ret 4 */ 2110 RECOMP_REGS_OUT(); 2111 } 2112 2113 void sub_2B092570(void) { 2114 int _fpu_cmp = 0; 2115 uint32_t _cf = 0; 2116 int _df = 1; 2117 uint32_t _flag_k = FK_NONE; 2118 uint32_t _flag_a = 0, _flag_b = 0; 2119 uint32_t _itail_tgt = 0; 2120 RECOMP_REGS_LOCALS 2121 RECOMP_ENTER(0x2B092570u); 2122 2123 L_2B092570: 2124 PUSH32(esp, ebp); /* 0x2B092570: push ebp */ 2125 ebp = esp; /* 0x2B092571: mov ebp, esp */ 2126 PUSH32(esp, esi); /* 0x2B092573: push esi */ 2127 esi = ecx; /* 0x2B092574: mov esi, ecx */ 2128 RECOMP_ICALL(0x2B0925A0u); /* 0x2B092576: call 0x2b0925a0 */ /* not lifted */ 2129 RECOMP_FLAGS_IN(); 2130 /* test MEM8(ebp + 0x8), 1 */ /* 0x2B09257B: test byte ptr [ebp + 8], 1 */ 2131 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 2132 _cf = 0; 2133 _flag_k = FK_NARROW(FK_TEST, 24); 2134 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09258A; /* 0x2B09257F: je 0x2b09258a */ 2135 L_2B092581: 2136 PUSH32(esp, esi); /* 0x2B092581: push esi */ 2137 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B092582: call 0x2b0ab1ba */ /* not lifted */ 2138 RECOMP_FLAGS_IN(); 2139 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2140 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2141 esp = esp + 4; /* 0x2B092587: add esp, 4 */ 2142 _flag_k = FK_ADD; 2143 L_2B09258A: 2144 eax = esi; /* 0x2B09258A: mov eax, esi */ 2145 esi = POP32_VAL(esp); /* 0x2B09258C: pop esi */ 2146 ebp = POP32_VAL(esp); /* 0x2B09258D: pop ebp */ 2147 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B09258E: ret 4 */ 2148 RECOMP_REGS_OUT(); 2149 } 2150 2151 void sub_2B0925A0(void) { 2152 int _fpu_cmp = 0; 2153 uint32_t _cf = 0; 2154 int _df = 1; 2155 uint32_t _flag_k = FK_NONE; 2156 uint32_t _flag_a = 0, _flag_b = 0; 2157 uint32_t _itail_tgt = 0; 2158 RECOMP_REGS_LOCALS 2159 RECOMP_ENTER(0x2B0925A0u); 2160 2161 L_2B0925A0: 2162 eax = MEM32(ecx); /* 0x2B0925A0: mov eax, dword ptr [ecx] */ 2163 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 2164 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2165 ecx = ecx + 4; /* 0x2B0925A2: add ecx, 4 */ 2166 _flag_k = FK_ADD; 2167 /* cmp eax, ecx */ /* 0x2B0925A5: cmp eax, ecx */ 2168 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2169 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2170 _flag_k = FK_CMP; 2171 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0925B0; /* 0x2B0925A7: je 0x2b0925b0 */ 2172 L_2B0925A9: 2173 PUSH32(esp, eax); /* 0x2B0925A9: push eax */ 2174 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0925AA: call 0x2b0ab1ba */ /* not lifted */ 2175 RECOMP_FLAGS_IN(); 2176 ecx = POP32_VAL(esp); /* 0x2B0925AF: pop ecx */ 2177 L_2B0925B0: 2178 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0925B0: ret */ 2179 RECOMP_REGS_OUT(); 2180 } 2181 2182 void sub_2B0925C0(void) { 2183 int _fpu_cmp = 0; 2184 uint32_t _cf = 0; 2185 int _df = 1; 2186 uint32_t _flag_k = FK_NONE; 2187 uint32_t _flag_a = 0, _flag_b = 0; 2188 uint32_t _itail_tgt = 0; 2189 RECOMP_REGS_LOCALS 2190 RECOMP_ENTER(0x2B0925C0u); 2191 2192 L_2B0925C0: 2193 PUSH32(esp, ebp); /* 0x2B0925C0: push ebp */ 2194 ebp = esp; /* 0x2B0925C1: mov ebp, esp */ 2195 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0925C3: push -1 */ 2196 PUSH32(esp, 0x2B0B2D56u); /* 0x2B0925C5: push 0x2b0b2d56 */ 2197 eax = MEM32(FS_BASE + (0)); /* 0x2B0925CA: mov eax, dword ptr fs:[0] */ 2198 PUSH32(esp, eax); /* 0x2B0925D0: push eax */ 2199 MEM32(FS_BASE + (0)) = esp; /* 0x2B0925D1: mov dword ptr fs:[0], esp */ 2200 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x4Cu); 2201 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2202 esp = esp - 0x4Cu; /* 0x2B0925D8: sub esp, 0x4c */ 2203 _flag_k = FK_CMP; 2204 PUSH32(esp, ebx); /* 0x2B0925DB: push ebx */ 2205 PUSH32(esp, esi); /* 0x2B0925DC: push esi */ 2206 esi = ecx; /* 0x2B0925DD: mov esi, ecx */ 2207 PUSH32(esp, edi); /* 0x2B0925DF: push edi */ 2208 MEM32(ebp + (-0x10)) = esi; /* 0x2B0925E0: mov dword ptr [ebp - 0x10], esi */ 2209 eax = MEM32(ebp + 0x8); /* 0x2B0925E3: mov eax, dword ptr [ebp + 8] */ 2210 ecx = MEM32(ebp + 0xC); /* 0x2B0925E6: mov ecx, dword ptr [ebp + 0xc] */ 2211 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2212 ebx = 0; /* 0x2B0925E9: xor ebx, ebx */ 2213 _cf = 0; 2214 _flag_k = FK_TEST; 2215 PUSH32(esp, 0x50u); /* 0x2B0925EB: push 0x50 */ 2216 MEM32(ebp + (-0x4)) = ebx; /* 0x2B0925ED: mov dword ptr [ebp - 4], ebx */ 2217 MEM32(esi + 0x4) = eax; /* 0x2B0925F0: mov dword ptr [esi + 4], eax */ 2218 MEM32(esi + 0x8) = ecx; /* 0x2B0925F3: mov dword ptr [esi + 8], ecx */ 2219 MEM32(esi) = 0x2B0B71D0u; /* 0x2B0925F6: mov dword ptr [esi], 0x2b0b71d0 */ 2220 MEM32(ebp + (-0x20)) = ebx; /* 0x2B0925FC: mov dword ptr [ebp - 0x20], ebx */ 2221 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B0925FF: mov dword ptr [ebp - 0x1c], ebx */ 2222 RECOMP_ICALL(0x2B0AB212u); /* 0x2B092602: call 0x2b0ab212 */ /* not lifted */ 2223 RECOMP_FLAGS_IN(); 2224 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2225 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2226 esp = esp + 4; /* 0x2B092607: add esp, 4 */ 2227 _flag_k = FK_ADD; 2228 MEM32(ebp + 0x8) = eax; /* 0x2B09260A: mov dword ptr [ebp + 8], eax */ 2229 /* cmp eax, ebx */ /* 0x2B09260D: cmp eax, ebx */ 2230 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2231 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2232 _flag_k = FK_CMP; 2233 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B09260F: mov byte ptr [ebp - 4], 1 */ 2234 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092645; /* 0x2B092613: je 0x2b092645 */ 2235 L_2B092615: 2236 edx = MEM32(esi + 0x8); /* 0x2B092615: mov edx, dword ptr [esi + 8] */ 2237 PUSH32(esp, ebx); /* 0x2B092618: push ebx */ 2238 PUSH32(esp, 0x3F800000u); /* 0x2B092619: push 0x3f800000 */ 2239 PUSH32(esp, 0x3F800000u); /* 0x2B09261E: push 0x3f800000 */ 2240 ecx = 0x100u; /* 0x2B092623: mov ecx, 0x100 */ 2241 PUSH32(esp, edx); /* 0x2B092628: push edx */ 2242 MEM32(ebp + (-0x28)) = ecx; /* 0x2B092629: mov dword ptr [ebp - 0x28], ecx */ 2243 MEM32(ebp + (-0x24)) = ecx; /* 0x2B09262C: mov dword ptr [ebp - 0x24], ecx */ 2244 ecx = ebp + (-0x20); /* 0x2B09262F: lea ecx, [ebp - 0x20] */ 2245 PUSH32(esp, ecx); /* 0x2B092632: push ecx */ 2246 edx = ebp + (-0x28); /* 0x2B092633: lea edx, [ebp - 0x28] */ 2247 PUSH32(esp, edx); /* 0x2B092636: push edx */ 2248 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B092637: push -1 */ 2249 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B092639: push -1 */ 2250 ecx = eax; /* 0x2B09263B: mov ecx, eax */ 2251 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B09263D: call dword ptr [0x2b0b5bd8] */ 2252 RECOMP_FLAGS_IN(); 2253 goto L_2B092647; /* 0x2B092643: jmp 0x2b092647 */ 2254 L_2B092645: 2255 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2256 eax = 0; /* 0x2B092645: xor eax, eax */ 2257 _cf = 0; 2258 _flag_k = FK_TEST; 2259 L_2B092647: 2260 PUSH32(esp, 1); /* 0x2B092647: push 1 */ 2261 MEM32(esi + 0xC) = eax; /* 0x2B092649: mov dword ptr [esi + 0xc], eax */ 2262 eax = MEM32(eax + 0x28); /* 0x2B09264C: mov eax, dword ptr [eax + 0x28] */ 2263 PUSH32(esp, ebx); /* 0x2B09264F: push ebx */ 2264 PUSH32(esp, ebx); /* 0x2B092650: push ebx */ 2265 ecx = eax; /* 0x2B092651: mov ecx, eax */ 2266 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B092653: mov byte ptr [ebp - 4], bl */ 2267 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B092656: call dword ptr [0x2b0b564c] */ 2268 RECOMP_FLAGS_IN(); 2269 PUSH32(esp, 0x38u); /* 0x2B09265C: push 0x38 */ 2270 RECOMP_ICALL(0x2B0AB212u); /* 0x2B09265E: call 0x2b0ab212 */ /* not lifted */ 2271 RECOMP_FLAGS_IN(); 2272 edi = eax; /* 0x2B092663: mov edi, eax */ 2273 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2274 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2275 esp = esp + 4; /* 0x2B092665: add esp, 4 */ 2276 _flag_k = FK_ADD; 2277 MEM32(ebp + 0x8) = edi; /* 0x2B092668: mov dword ptr [ebp + 8], edi */ 2278 /* cmp edi, ebx */ /* 0x2B09266B: cmp edi, ebx */ 2279 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 2280 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2281 _flag_k = FK_CMP; 2282 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B09266D: mov byte ptr [ebp - 4], 2 */ 2283 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092696; /* 0x2B092671: je 0x2b092696 */ 2284 L_2B092673: 2285 eax = MEM32(esi + 0xC); /* 0x2B092673: mov eax, dword ptr [esi + 0xc] */ 2286 ecx = MEM32(esi + 0x8); /* 0x2B092676: mov ecx, dword ptr [esi + 8] */ 2287 PUSH32(esp, eax); /* 0x2B092679: push eax */ 2288 PUSH32(esp, ecx); /* 0x2B09267A: push ecx */ 2289 PUSH32(esp, 0x96u); /* 0x2B09267B: push 0x96 */ 2290 edx = ebp + (-0x20); /* 0x2B092680: lea edx, [ebp - 0x20] */ 2291 PUSH32(esp, edx); /* 0x2B092683: push edx */ 2292 ecx = edi; /* 0x2B092684: mov ecx, edi */ 2293 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B092686: call dword ptr [0x2b0b5948] */ 2294 RECOMP_FLAGS_IN(); 2295 MEM32(edi) = 0x2B0B68F4u; /* 0x2B09268C: mov dword ptr [edi], 0x2b0b68f4 */ 2296 edx = edi; /* 0x2B092692: mov edx, edi */ 2297 goto L_2B092698; /* 0x2B092694: jmp 0x2b092698 */ 2298 L_2B092696: 2299 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2300 edx = 0; /* 0x2B092696: xor edx, edx */ 2301 _cf = 0; 2302 _flag_k = FK_TEST; 2303 L_2B092698: 2304 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2305 eax = 0; /* 0x2B092698: xor eax, eax */ 2306 _cf = 0; 2307 _flag_k = FK_TEST; 2308 ecx = 0xCu; /* 0x2B09269A: mov ecx, 0xc */ 2309 edi = ebp + (-0x58); /* 0x2B09269F: lea edi, [ebp - 0x58] */ 2310 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0926A2: 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; } 2311 eax = MEM32(esi + 0x8); /* 0x2B0926A4: mov eax, dword ptr [esi + 8] */ 2312 MEM32(ebp + (-0x18)) = ebx; /* 0x2B0926A7: mov dword ptr [ebp - 0x18], ebx */ 2313 MEM32(ebp + (-0x14)) = ebx; /* 0x2B0926AA: mov dword ptr [ebp - 0x14], ebx */ 2314 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2315 eax = eax + 1; /* 0x2B0926AD: inc eax */ 2316 _flag_k = FK_INC; 2317 MEM32(ebp + (-0x40)) = eax; /* 0x2B0926AE: mov dword ptr [ebp - 0x40], eax */ 2318 MEM32(esi + 0x10) = edx; /* 0x2B0926B1: mov dword ptr [esi + 0x10], edx */ 2319 eax = MEM32(edx + 0x14); /* 0x2B0926B4: mov eax, dword ptr [edx + 0x14] */ 2320 ecx = MEM32(eax + 0xC); /* 0x2B0926B7: mov ecx, dword ptr [eax + 0xc] */ 2321 MEM32(ebp + (-0x18)) = ecx; /* 0x2B0926BA: mov dword ptr [ebp - 0x18], ecx */ 2322 edx = MEM32(edx + 0x14); /* 0x2B0926BD: mov edx, dword ptr [edx + 0x14] */ 2323 edx = MEM32(edx + 0x8); /* 0x2B0926C0: mov edx, dword ptr [edx + 8] */ 2324 ecx = MEM32(esi + 0xC); /* 0x2B0926C3: mov ecx, dword ptr [esi + 0xc] */ 2325 eax = ebp + (-0x18); /* 0x2B0926C6: lea eax, [ebp - 0x18] */ 2326 PUSH32(esp, eax); /* 0x2B0926C9: push eax */ 2327 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B0926CA: mov byte ptr [ebp - 4], bl */ 2328 MEM32(ebp + (-0x14)) = edx; /* 0x2B0926CD: mov dword ptr [ebp - 0x14], edx */ 2329 RECOMP_ICALL(MEM32(0x2B0B5978)); /* 0x2B0926D0: call dword ptr [0x2b0b5978] */ 2330 RECOMP_FLAGS_IN(); 2331 PUSH32(esp, 2); /* 0x2B0926D6: push 2 */ 2332 ecx = ebp + (-0x28); /* 0x2B0926D8: lea ecx, [ebp - 0x28] */ 2333 PUSH32(esp, 0x97u); /* 0x2B0926DB: push 0x97 */ 2334 PUSH32(esp, ecx); /* 0x2B0926E0: push ecx */ 2335 MEM32(ebp + (-0x38)) = 0x97u; /* 0x2B0926E1: mov dword ptr [ebp - 0x38], 0x97 */ 2336 MEM32(ebp + (-0x34)) = 0x98u; /* 0x2B0926E8: mov dword ptr [ebp - 0x34], 0x98 */ 2337 MEM32(ebp + (-0x3C)) = 0x99u; /* 0x2B0926EF: mov dword ptr [ebp - 0x3c], 0x99 */ 2338 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B0926F6: call dword ptr [0x2b0b5f80] */ 2339 RECOMP_FLAGS_IN(); 2340 ecx = eax; /* 0x2B0926FC: mov ecx, eax */ 2341 RECOMP_ICALL(MEM32(0x2B0B5F7C)); /* 0x2B0926FE: call dword ptr [0x2b0b5f7c] */ 2342 RECOMP_FLAGS_IN(); 2343 edx = MEM32(eax); /* 0x2B092704: mov edx, dword ptr [eax] */ 2344 MEM32(ebp + (-0x18)) = edx; /* 0x2B092706: mov dword ptr [ebp - 0x18], edx */ 2345 eax = MEM32(eax + 0x4); /* 0x2B092709: mov eax, dword ptr [eax + 4] */ 2346 PUSH32(esp, 0x50u); /* 0x2B09270C: push 0x50 */ 2347 MEM32(ebp + (-0x14)) = eax; /* 0x2B09270E: mov dword ptr [ebp - 0x14], eax */ 2348 RECOMP_ICALL(0x2B0AB212u); /* 0x2B092711: call 0x2b0ab212 */ /* not lifted */ 2349 RECOMP_FLAGS_IN(); 2350 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2351 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2352 esp = esp + 4; /* 0x2B092716: add esp, 4 */ 2353 _flag_k = FK_ADD; 2354 MEM32(ebp + 0x8) = eax; /* 0x2B092719: mov dword ptr [ebp + 8], eax */ 2355 /* cmp eax, ebx */ /* 0x2B09271C: cmp eax, ebx */ 2356 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2357 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2358 _flag_k = FK_CMP; 2359 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B09271E: mov byte ptr [ebp - 4], 3 */ 2360 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09274C; /* 0x2B092722: je 0x2b09274c */ 2361 L_2B092724: 2362 ecx = MEM32(esi + 0x8); /* 0x2B092724: mov ecx, dword ptr [esi + 8] */ 2363 PUSH32(esp, ebx); /* 0x2B092727: push ebx */ 2364 PUSH32(esp, 0x3F800000u); /* 0x2B092728: push 0x3f800000 */ 2365 PUSH32(esp, 0x3F800000u); /* 0x2B09272D: push 0x3f800000 */ 2366 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 2367 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2368 ecx = ecx + 2; /* 0x2B092732: add ecx, 2 */ 2369 _flag_k = FK_ADD; 2370 PUSH32(esp, ecx); /* 0x2B092735: push ecx */ 2371 edx = ebp + (-0x20); /* 0x2B092736: lea edx, [ebp - 0x20] */ 2372 PUSH32(esp, edx); /* 0x2B092739: push edx */ 2373 ecx = ebp + (-0x18); /* 0x2B09273A: lea ecx, [ebp - 0x18] */ 2374 PUSH32(esp, ecx); /* 0x2B09273D: push ecx */ 2375 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B09273E: push -1 */ 2376 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B092740: push -1 */ 2377 ecx = eax; /* 0x2B092742: mov ecx, eax */ 2378 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B092744: call dword ptr [0x2b0b5bd8] */ 2379 RECOMP_FLAGS_IN(); 2380 goto L_2B09274E; /* 0x2B09274A: jmp 0x2b09274e */ 2381 L_2B09274C: 2382 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2383 eax = 0; /* 0x2B09274C: xor eax, eax */ 2384 _cf = 0; 2385 _flag_k = FK_TEST; 2386 L_2B09274E: 2387 PUSH32(esp, 1); /* 0x2B09274E: push 1 */ 2388 MEM32(esi + 0x14) = eax; /* 0x2B092750: mov dword ptr [esi + 0x14], eax */ 2389 eax = MEM32(eax + 0x28); /* 0x2B092753: mov eax, dword ptr [eax + 0x28] */ 2390 PUSH32(esp, ebx); /* 0x2B092756: push ebx */ 2391 PUSH32(esp, ebx); /* 0x2B092757: push ebx */ 2392 ecx = eax; /* 0x2B092758: mov ecx, eax */ 2393 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B09275A: mov byte ptr [ebp - 4], bl */ 2394 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B09275D: call dword ptr [0x2b0b564c] */ 2395 RECOMP_FLAGS_IN(); 2396 PUSH32(esp, 0xBCu); /* 0x2B092763: push 0xbc */ 2397 RECOMP_ICALL(0x2B0AB212u); /* 0x2B092768: call 0x2b0ab212 */ /* not lifted */ 2398 RECOMP_FLAGS_IN(); 2399 edi = eax; /* 0x2B09276D: mov edi, eax */ 2400 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2401 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2402 esp = esp + 4; /* 0x2B09276F: add esp, 4 */ 2403 _flag_k = FK_ADD; 2404 MEM32(ebp + 0x8) = edi; /* 0x2B092772: mov dword ptr [ebp + 8], edi */ 2405 /* cmp edi, ebx */ /* 0x2B092775: cmp edi, ebx */ 2406 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 2407 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2408 _flag_k = FK_CMP; 2409 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B092777: mov byte ptr [ebp - 4], 4 */ 2410 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092795; /* 0x2B09277B: je 0x2b092795 */ 2411 L_2B09277D: 2412 edx = MEM32(esi + 0x14); /* 0x2B09277D: mov edx, dword ptr [esi + 0x14] */ 2413 PUSH32(esp, edx); /* 0x2B092780: push edx */ 2414 eax = ebp + (-0x58); /* 0x2B092781: lea eax, [ebp - 0x58] */ 2415 PUSH32(esp, eax); /* 0x2B092784: push eax */ 2416 ecx = edi; /* 0x2B092785: mov ecx, edi */ 2417 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B092787: call dword ptr [0x2b0b5afc] */ 2418 RECOMP_FLAGS_IN(); 2419 MEM32(edi) = 0x2B0B645Cu; /* 0x2B09278D: mov dword ptr [edi], 0x2b0b645c */ 2420 goto L_2B092797; /* 0x2B092793: jmp 0x2b092797 */ 2421 L_2B092795: 2422 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2423 edi = 0; /* 0x2B092795: xor edi, edi */ 2424 _cf = 0; 2425 _flag_k = FK_TEST; 2426 L_2B092797: 2427 PUSH32(esp, 2); /* 0x2B092797: push 2 */ 2428 ecx = ebp + (-0x28); /* 0x2B092799: lea ecx, [ebp - 0x28] */ 2429 PUSH32(esp, 0x9Au); /* 0x2B09279C: push 0x9a */ 2430 PUSH32(esp, ecx); /* 0x2B0927A1: push ecx */ 2431 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B0927A2: mov byte ptr [ebp - 4], bl */ 2432 MEM32(esi + 0x18) = edi; /* 0x2B0927A5: mov dword ptr [esi + 0x18], edi */ 2433 MEM32(ebp + (-0x38)) = 0x9Au; /* 0x2B0927A8: mov dword ptr [ebp - 0x38], 0x9a */ 2434 MEM32(ebp + (-0x34)) = 0x9Bu; /* 0x2B0927AF: mov dword ptr [ebp - 0x34], 0x9b */ 2435 MEM32(ebp + (-0x3C)) = ebx; /* 0x2B0927B6: mov dword ptr [ebp - 0x3c], ebx */ 2436 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B0927B9: call dword ptr [0x2b0b5f80] */ 2437 RECOMP_FLAGS_IN(); 2438 ecx = eax; /* 0x2B0927BF: mov ecx, eax */ 2439 RECOMP_ICALL(MEM32(0x2B0B5F7C)); /* 0x2B0927C1: call dword ptr [0x2b0b5f7c] */ 2440 RECOMP_FLAGS_IN(); 2441 edx = MEM32(eax); /* 0x2B0927C7: mov edx, dword ptr [eax] */ 2442 MEM32(ebp + (-0x18)) = edx; /* 0x2B0927C9: mov dword ptr [ebp - 0x18], edx */ 2443 eax = MEM32(eax + 0x4); /* 0x2B0927CC: mov eax, dword ptr [eax + 4] */ 2444 PUSH32(esp, 0x50u); /* 0x2B0927CF: push 0x50 */ 2445 MEM32(ebp + (-0x14)) = eax; /* 0x2B0927D1: mov dword ptr [ebp - 0x14], eax */ 2446 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0927D4: call 0x2b0ab212 */ /* not lifted */ 2447 RECOMP_FLAGS_IN(); 2448 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2449 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2450 esp = esp + 4; /* 0x2B0927D9: add esp, 4 */ 2451 _flag_k = FK_ADD; 2452 MEM32(ebp + 0x8) = eax; /* 0x2B0927DC: mov dword ptr [ebp + 8], eax */ 2453 /* cmp eax, ebx */ /* 0x2B0927DF: cmp eax, ebx */ 2454 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2455 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2456 _flag_k = FK_CMP; 2457 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B0927E1: mov byte ptr [ebp - 4], 5 */ 2458 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09280F; /* 0x2B0927E5: je 0x2b09280f */ 2459 L_2B0927E7: 2460 ecx = MEM32(esi + 0x8); /* 0x2B0927E7: mov ecx, dword ptr [esi + 8] */ 2461 PUSH32(esp, ebx); /* 0x2B0927EA: push ebx */ 2462 PUSH32(esp, 0x3F800000u); /* 0x2B0927EB: push 0x3f800000 */ 2463 PUSH32(esp, 0x3F800000u); /* 0x2B0927F0: push 0x3f800000 */ 2464 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 2465 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2466 ecx = ecx + 2; /* 0x2B0927F5: add ecx, 2 */ 2467 _flag_k = FK_ADD; 2468 PUSH32(esp, ecx); /* 0x2B0927F8: push ecx */ 2469 edx = ebp + (-0x20); /* 0x2B0927F9: lea edx, [ebp - 0x20] */ 2470 PUSH32(esp, edx); /* 0x2B0927FC: push edx */ 2471 ecx = ebp + (-0x18); /* 0x2B0927FD: lea ecx, [ebp - 0x18] */ 2472 PUSH32(esp, ecx); /* 0x2B092800: push ecx */ 2473 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B092801: push -1 */ 2474 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B092803: push -1 */ 2475 ecx = eax; /* 0x2B092805: mov ecx, eax */ 2476 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B092807: call dword ptr [0x2b0b5bd8] */ 2477 RECOMP_FLAGS_IN(); 2478 goto L_2B092811; /* 0x2B09280D: jmp 0x2b092811 */ 2479 L_2B09280F: 2480 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2481 eax = 0; /* 0x2B09280F: xor eax, eax */ 2482 _cf = 0; 2483 _flag_k = FK_TEST; 2484 L_2B092811: 2485 PUSH32(esp, 1); /* 0x2B092811: push 1 */ 2486 MEM32(esi + 0x1C) = eax; /* 0x2B092813: mov dword ptr [esi + 0x1c], eax */ 2487 eax = MEM32(eax + 0x28); /* 0x2B092816: mov eax, dword ptr [eax + 0x28] */ 2488 PUSH32(esp, ebx); /* 0x2B092819: push ebx */ 2489 PUSH32(esp, ebx); /* 0x2B09281A: push ebx */ 2490 ecx = eax; /* 0x2B09281B: mov ecx, eax */ 2491 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B09281D: mov byte ptr [ebp - 4], bl */ 2492 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B092820: call dword ptr [0x2b0b564c] */ 2493 RECOMP_FLAGS_IN(); 2494 PUSH32(esp, 0xBCu); /* 0x2B092826: push 0xbc */ 2495 RECOMP_ICALL(0x2B0AB212u); /* 0x2B09282B: call 0x2b0ab212 */ /* not lifted */ 2496 RECOMP_FLAGS_IN(); 2497 edi = eax; /* 0x2B092830: mov edi, eax */ 2498 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2499 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2500 esp = esp + 4; /* 0x2B092832: add esp, 4 */ 2501 _flag_k = FK_ADD; 2502 MEM32(ebp + 0x8) = edi; /* 0x2B092835: mov dword ptr [ebp + 8], edi */ 2503 /* cmp edi, ebx */ /* 0x2B092838: cmp edi, ebx */ 2504 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 2505 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2506 _flag_k = FK_CMP; 2507 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B09283A: mov byte ptr [ebp - 4], 6 */ 2508 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092858; /* 0x2B09283E: je 0x2b092858 */ 2509 L_2B092840: 2510 edx = MEM32(esi + 0x1C); /* 0x2B092840: mov edx, dword ptr [esi + 0x1c] */ 2511 PUSH32(esp, edx); /* 0x2B092843: push edx */ 2512 eax = ebp + (-0x58); /* 0x2B092844: lea eax, [ebp - 0x58] */ 2513 PUSH32(esp, eax); /* 0x2B092847: push eax */ 2514 ecx = edi; /* 0x2B092848: mov ecx, edi */ 2515 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B09284A: call dword ptr [0x2b0b5afc] */ 2516 RECOMP_FLAGS_IN(); 2517 MEM32(edi) = 0x2B0B645Cu; /* 0x2B092850: mov dword ptr [edi], 0x2b0b645c */ 2518 goto L_2B09285A; /* 0x2B092856: jmp 0x2b09285a */ 2519 L_2B092858: 2520 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2521 edi = 0; /* 0x2B092858: xor edi, edi */ 2522 _cf = 0; 2523 _flag_k = FK_TEST; 2524 L_2B09285A: 2525 PUSH32(esp, 2); /* 0x2B09285A: push 2 */ 2526 ecx = ebp + (-0x28); /* 0x2B09285C: lea ecx, [ebp - 0x28] */ 2527 PUSH32(esp, 0x9Cu); /* 0x2B09285F: push 0x9c */ 2528 PUSH32(esp, ecx); /* 0x2B092864: push ecx */ 2529 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B092865: mov byte ptr [ebp - 4], bl */ 2530 MEM32(esi + 0x20) = edi; /* 0x2B092868: mov dword ptr [esi + 0x20], edi */ 2531 MEM32(ebp + (-0x38)) = 0x9Cu; /* 0x2B09286B: mov dword ptr [ebp - 0x38], 0x9c */ 2532 MEM32(ebp + (-0x34)) = 0x9Du; /* 0x2B092872: mov dword ptr [ebp - 0x34], 0x9d */ 2533 MEM32(ebp + (-0x3C)) = 0x9Eu; /* 0x2B092879: mov dword ptr [ebp - 0x3c], 0x9e */ 2534 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B092880: call dword ptr [0x2b0b5f80] */ 2535 RECOMP_FLAGS_IN(); 2536 ecx = eax; /* 0x2B092886: mov ecx, eax */ 2537 RECOMP_ICALL(MEM32(0x2B0B5F7C)); /* 0x2B092888: call dword ptr [0x2b0b5f7c] */ 2538 RECOMP_FLAGS_IN(); 2539 edx = MEM32(eax); /* 0x2B09288E: mov edx, dword ptr [eax] */ 2540 MEM32(ebp + (-0x18)) = edx; /* 0x2B092890: mov dword ptr [ebp - 0x18], edx */ 2541 eax = MEM32(eax + 0x4); /* 0x2B092893: mov eax, dword ptr [eax + 4] */ 2542 PUSH32(esp, 0x50u); /* 0x2B092896: push 0x50 */ 2543 MEM32(ebp + (-0x14)) = eax; /* 0x2B092898: mov dword ptr [ebp - 0x14], eax */ 2544 RECOMP_ICALL(0x2B0AB212u); /* 0x2B09289B: call 0x2b0ab212 */ /* not lifted */ 2545 RECOMP_FLAGS_IN(); 2546 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2547 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2548 esp = esp + 4; /* 0x2B0928A0: add esp, 4 */ 2549 _flag_k = FK_ADD; 2550 MEM32(ebp + 0x8) = eax; /* 0x2B0928A3: mov dword ptr [ebp + 8], eax */ 2551 /* cmp eax, ebx */ /* 0x2B0928A6: cmp eax, ebx */ 2552 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2553 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2554 _flag_k = FK_CMP; 2555 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B0928A8: mov byte ptr [ebp - 4], 7 */ 2556 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0928D6; /* 0x2B0928AC: je 0x2b0928d6 */ 2557 L_2B0928AE: 2558 ecx = MEM32(esi + 0x8); /* 0x2B0928AE: mov ecx, dword ptr [esi + 8] */ 2559 PUSH32(esp, ebx); /* 0x2B0928B1: push ebx */ 2560 PUSH32(esp, 0x3F800000u); /* 0x2B0928B2: push 0x3f800000 */ 2561 PUSH32(esp, 0x3F800000u); /* 0x2B0928B7: push 0x3f800000 */ 2562 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 2563 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2564 ecx = ecx + 2; /* 0x2B0928BC: add ecx, 2 */ 2565 _flag_k = FK_ADD; 2566 PUSH32(esp, ecx); /* 0x2B0928BF: push ecx */ 2567 edx = ebp + (-0x20); /* 0x2B0928C0: lea edx, [ebp - 0x20] */ 2568 PUSH32(esp, edx); /* 0x2B0928C3: push edx */ 2569 ecx = ebp + (-0x18); /* 0x2B0928C4: lea ecx, [ebp - 0x18] */ 2570 PUSH32(esp, ecx); /* 0x2B0928C7: push ecx */ 2571 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0928C8: push -1 */ 2572 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0928CA: push -1 */ 2573 ecx = eax; /* 0x2B0928CC: mov ecx, eax */ 2574 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B0928CE: call dword ptr [0x2b0b5bd8] */ 2575 RECOMP_FLAGS_IN(); 2576 goto L_2B0928D8; /* 0x2B0928D4: jmp 0x2b0928d8 */ 2577 L_2B0928D6: 2578 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2579 eax = 0; /* 0x2B0928D6: xor eax, eax */ 2580 _cf = 0; 2581 _flag_k = FK_TEST; 2582 L_2B0928D8: 2583 PUSH32(esp, 1); /* 0x2B0928D8: push 1 */ 2584 MEM32(esi + 0x24) = eax; /* 0x2B0928DA: mov dword ptr [esi + 0x24], eax */ 2585 eax = MEM32(eax + 0x28); /* 0x2B0928DD: mov eax, dword ptr [eax + 0x28] */ 2586 PUSH32(esp, ebx); /* 0x2B0928E0: push ebx */ 2587 PUSH32(esp, ebx); /* 0x2B0928E1: push ebx */ 2588 ecx = eax; /* 0x2B0928E2: mov ecx, eax */ 2589 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B0928E4: mov byte ptr [ebp - 4], bl */ 2590 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B0928E7: call dword ptr [0x2b0b564c] */ 2591 RECOMP_FLAGS_IN(); 2592 PUSH32(esp, 0xBCu); /* 0x2B0928ED: push 0xbc */ 2593 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0928F2: call 0x2b0ab212 */ /* not lifted */ 2594 RECOMP_FLAGS_IN(); 2595 edi = eax; /* 0x2B0928F7: mov edi, eax */ 2596 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2597 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2598 esp = esp + 4; /* 0x2B0928F9: add esp, 4 */ 2599 _flag_k = FK_ADD; 2600 MEM32(ebp + 0x8) = edi; /* 0x2B0928FC: mov dword ptr [ebp + 8], edi */ 2601 /* cmp edi, ebx */ /* 0x2B0928FF: cmp edi, ebx */ 2602 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 2603 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2604 _flag_k = FK_CMP; 2605 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B092901: mov byte ptr [ebp - 4], 8 */ 2606 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09291F; /* 0x2B092905: je 0x2b09291f */ 2607 L_2B092907: 2608 edx = MEM32(esi + 0x24); /* 0x2B092907: mov edx, dword ptr [esi + 0x24] */ 2609 PUSH32(esp, edx); /* 0x2B09290A: push edx */ 2610 eax = ebp + (-0x58); /* 0x2B09290B: lea eax, [ebp - 0x58] */ 2611 PUSH32(esp, eax); /* 0x2B09290E: push eax */ 2612 ecx = edi; /* 0x2B09290F: mov ecx, edi */ 2613 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B092911: call dword ptr [0x2b0b5afc] */ 2614 RECOMP_FLAGS_IN(); 2615 MEM32(edi) = 0x2B0B645Cu; /* 0x2B092917: mov dword ptr [edi], 0x2b0b645c */ 2616 goto L_2B092921; /* 0x2B09291D: jmp 0x2b092921 */ 2617 L_2B09291F: 2618 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2619 edi = 0; /* 0x2B09291F: xor edi, edi */ 2620 _cf = 0; 2621 _flag_k = FK_TEST; 2622 L_2B092921: 2623 PUSH32(esp, 2); /* 0x2B092921: push 2 */ 2624 ecx = ebp + (-0x28); /* 0x2B092923: lea ecx, [ebp - 0x28] */ 2625 PUSH32(esp, 0x9Fu); /* 0x2B092926: push 0x9f */ 2626 PUSH32(esp, ecx); /* 0x2B09292B: push ecx */ 2627 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B09292C: mov byte ptr [ebp - 4], bl */ 2628 MEM32(esi + 0x28) = edi; /* 0x2B09292F: mov dword ptr [esi + 0x28], edi */ 2629 MEM32(ebp + (-0x38)) = 0x9Fu; /* 0x2B092932: mov dword ptr [ebp - 0x38], 0x9f */ 2630 MEM32(ebp + (-0x34)) = 0xA0u; /* 0x2B092939: mov dword ptr [ebp - 0x34], 0xa0 */ 2631 MEM32(ebp + (-0x3C)) = 0xA1u; /* 0x2B092940: mov dword ptr [ebp - 0x3c], 0xa1 */ 2632 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B092947: call dword ptr [0x2b0b5f80] */ 2633 RECOMP_FLAGS_IN(); 2634 ecx = eax; /* 0x2B09294D: mov ecx, eax */ 2635 RECOMP_ICALL(MEM32(0x2B0B5F7C)); /* 0x2B09294F: call dword ptr [0x2b0b5f7c] */ 2636 RECOMP_FLAGS_IN(); 2637 edx = MEM32(eax); /* 0x2B092955: mov edx, dword ptr [eax] */ 2638 MEM32(ebp + (-0x18)) = edx; /* 0x2B092957: mov dword ptr [ebp - 0x18], edx */ 2639 eax = MEM32(eax + 0x4); /* 0x2B09295A: mov eax, dword ptr [eax + 4] */ 2640 PUSH32(esp, 0x50u); /* 0x2B09295D: push 0x50 */ 2641 MEM32(ebp + (-0x14)) = eax; /* 0x2B09295F: mov dword ptr [ebp - 0x14], eax */ 2642 RECOMP_ICALL(0x2B0AB212u); /* 0x2B092962: call 0x2b0ab212 */ /* not lifted */ 2643 RECOMP_FLAGS_IN(); 2644 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2645 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2646 esp = esp + 4; /* 0x2B092967: add esp, 4 */ 2647 _flag_k = FK_ADD; 2648 MEM32(ebp + 0x8) = eax; /* 0x2B09296A: mov dword ptr [ebp + 8], eax */ 2649 /* cmp eax, ebx */ /* 0x2B09296D: cmp eax, ebx */ 2650 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2651 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2652 _flag_k = FK_CMP; 2653 MEM8(ebp + (-0x4)) = (uint8_t)(9); /* 0x2B09296F: mov byte ptr [ebp - 4], 9 */ 2654 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09299D; /* 0x2B092973: je 0x2b09299d */ 2655 L_2B092975: 2656 ecx = MEM32(esi + 0x8); /* 0x2B092975: mov ecx, dword ptr [esi + 8] */ 2657 PUSH32(esp, ebx); /* 0x2B092978: push ebx */ 2658 PUSH32(esp, 0x3F800000u); /* 0x2B092979: push 0x3f800000 */ 2659 PUSH32(esp, 0x3F800000u); /* 0x2B09297E: push 0x3f800000 */ 2660 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 2661 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2662 ecx = ecx + 2; /* 0x2B092983: add ecx, 2 */ 2663 _flag_k = FK_ADD; 2664 PUSH32(esp, ecx); /* 0x2B092986: push ecx */ 2665 edx = ebp + (-0x20); /* 0x2B092987: lea edx, [ebp - 0x20] */ 2666 PUSH32(esp, edx); /* 0x2B09298A: push edx */ 2667 ecx = ebp + (-0x18); /* 0x2B09298B: lea ecx, [ebp - 0x18] */ 2668 PUSH32(esp, ecx); /* 0x2B09298E: push ecx */ 2669 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B09298F: push -1 */ 2670 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B092991: push -1 */ 2671 ecx = eax; /* 0x2B092993: mov ecx, eax */ 2672 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B092995: call dword ptr [0x2b0b5bd8] */ 2673 RECOMP_FLAGS_IN(); 2674 goto L_2B09299F; /* 0x2B09299B: jmp 0x2b09299f */ 2675 L_2B09299D: 2676 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2677 eax = 0; /* 0x2B09299D: xor eax, eax */ 2678 _cf = 0; 2679 _flag_k = FK_TEST; 2680 L_2B09299F: 2681 PUSH32(esp, 1); /* 0x2B09299F: push 1 */ 2682 MEM32(esi + 0x2C) = eax; /* 0x2B0929A1: mov dword ptr [esi + 0x2c], eax */ 2683 eax = MEM32(eax + 0x28); /* 0x2B0929A4: mov eax, dword ptr [eax + 0x28] */ 2684 PUSH32(esp, ebx); /* 0x2B0929A7: push ebx */ 2685 PUSH32(esp, ebx); /* 0x2B0929A8: push ebx */ 2686 ecx = eax; /* 0x2B0929A9: mov ecx, eax */ 2687 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B0929AB: mov byte ptr [ebp - 4], bl */ 2688 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B0929AE: call dword ptr [0x2b0b564c] */ 2689 RECOMP_FLAGS_IN(); 2690 PUSH32(esp, 0xBCu); /* 0x2B0929B4: push 0xbc */ 2691 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0929B9: call 0x2b0ab212 */ /* not lifted */ 2692 RECOMP_FLAGS_IN(); 2693 edi = eax; /* 0x2B0929BE: mov edi, eax */ 2694 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2695 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2696 esp = esp + 4; /* 0x2B0929C0: add esp, 4 */ 2697 _flag_k = FK_ADD; 2698 MEM32(ebp + 0x8) = edi; /* 0x2B0929C3: mov dword ptr [ebp + 8], edi */ 2699 /* cmp edi, ebx */ /* 0x2B0929C6: cmp edi, ebx */ 2700 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 2701 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2702 _flag_k = FK_CMP; 2703 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B0929C8: mov byte ptr [ebp - 4], 0xa */ 2704 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0929E6; /* 0x2B0929CC: je 0x2b0929e6 */ 2705 L_2B0929CE: 2706 edx = MEM32(esi + 0x2C); /* 0x2B0929CE: mov edx, dword ptr [esi + 0x2c] */ 2707 PUSH32(esp, edx); /* 0x2B0929D1: push edx */ 2708 eax = ebp + (-0x58); /* 0x2B0929D2: lea eax, [ebp - 0x58] */ 2709 PUSH32(esp, eax); /* 0x2B0929D5: push eax */ 2710 ecx = edi; /* 0x2B0929D6: mov ecx, edi */ 2711 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B0929D8: call dword ptr [0x2b0b5afc] */ 2712 RECOMP_FLAGS_IN(); 2713 MEM32(edi) = 0x2B0B645Cu; /* 0x2B0929DE: mov dword ptr [edi], 0x2b0b645c */ 2714 goto L_2B0929E8; /* 0x2B0929E4: jmp 0x2b0929e8 */ 2715 L_2B0929E6: 2716 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2717 edi = 0; /* 0x2B0929E6: xor edi, edi */ 2718 _cf = 0; 2719 _flag_k = FK_TEST; 2720 L_2B0929E8: 2721 ecx = MEM32(esi + 0x18); /* 0x2B0929E8: mov ecx, dword ptr [esi + 0x18] */ 2722 PUSH32(esp, esi); /* 0x2B0929EB: push esi */ 2723 MEM32(esi + 0x30) = edi; /* 0x2B0929EC: mov dword ptr [esi + 0x30], edi */ 2724 edi = MEM32(0x2B0B5820); /* 0x2B0929EF: mov edi, dword ptr [0x2b0b5820] */ 2725 PUSH32(esp, 0x2B092C30u); /* 0x2B0929F5: push 0x2b092c30 */ 2726 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B0929FA: mov byte ptr [ebp - 4], bl */ 2727 RECOMP_ICALL(edi); /* 0x2B0929FD: call edi */ 2728 RECOMP_FLAGS_IN(); 2729 ecx = MEM32(esi + 0x20); /* 0x2B0929FF: mov ecx, dword ptr [esi + 0x20] */ 2730 PUSH32(esp, esi); /* 0x2B092A02: push esi */ 2731 PUSH32(esp, 0x2B092C40u); /* 0x2B092A03: push 0x2b092c40 */ 2732 RECOMP_ICALL(edi); /* 0x2B092A08: call edi */ 2733 RECOMP_FLAGS_IN(); 2734 ecx = MEM32(esi + 0x28); /* 0x2B092A0A: mov ecx, dword ptr [esi + 0x28] */ 2735 PUSH32(esp, esi); /* 0x2B092A0D: push esi */ 2736 PUSH32(esp, 0x2B092C50u); /* 0x2B092A0E: push 0x2b092c50 */ 2737 RECOMP_ICALL(edi); /* 0x2B092A13: call edi */ 2738 RECOMP_FLAGS_IN(); 2739 ecx = MEM32(esi + 0x30); /* 0x2B092A15: mov ecx, dword ptr [esi + 0x30] */ 2740 PUSH32(esp, esi); /* 0x2B092A18: push esi */ 2741 PUSH32(esp, 0x2B092C60u); /* 0x2B092A19: push 0x2b092c60 */ 2742 RECOMP_ICALL(edi); /* 0x2B092A1E: call edi */ 2743 RECOMP_FLAGS_IN(); 2744 ecx = MEM32(esi + 0x18); /* 0x2B092A20: mov ecx, dword ptr [esi + 0x18] */ 2745 edi = MEM32(0x2B0B5810); /* 0x2B092A23: mov edi, dword ptr [0x2b0b5810] */ 2746 PUSH32(esp, 0x2B0ED3D0u); /* 0x2B092A29: push 0x2b0ed3d0 */ 2747 RECOMP_ICALL(edi); /* 0x2B092A2E: call edi */ 2748 RECOMP_FLAGS_IN(); 2749 ecx = MEM32(esi + 0x20); /* 0x2B092A30: mov ecx, dword ptr [esi + 0x20] */ 2750 PUSH32(esp, 0x2B0ED3BCu); /* 0x2B092A33: push 0x2b0ed3bc */ 2751 RECOMP_ICALL(edi); /* 0x2B092A38: call edi */ 2752 RECOMP_FLAGS_IN(); 2753 ecx = MEM32(esi + 0x28); /* 0x2B092A3A: mov ecx, dword ptr [esi + 0x28] */ 2754 PUSH32(esp, 0x2B0ED3B0u); /* 0x2B092A3D: push 0x2b0ed3b0 */ 2755 RECOMP_ICALL(edi); /* 0x2B092A42: call edi */ 2756 RECOMP_FLAGS_IN(); 2757 ecx = MEM32(esi + 0x30); /* 0x2B092A44: mov ecx, dword ptr [esi + 0x30] */ 2758 PUSH32(esp, 0x2B0ED3A8u); /* 0x2B092A47: push 0x2b0ed3a8 */ 2759 RECOMP_ICALL(edi); /* 0x2B092A4C: call edi */ 2760 RECOMP_FLAGS_IN(); 2761 /* cmp MEM8(ebp + 0x14), LO8(ebx) */ /* 0x2B092A4E: cmp byte ptr [ebp + 0x14], bl */ 2762 _flag_a = (uint32_t)(MEM8(ebp + 0x14)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2763 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2764 _flag_k = FK_NARROW(FK_CMP, 24); 2765 edi = MEM32(0x2B0B5AB4); /* 0x2B092A51: mov edi, dword ptr [0x2b0b5ab4] */ 2766 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092A5F; /* 0x2B092A57: jne 0x2b092a5f */ 2767 L_2B092A59: 2768 ecx = MEM32(esi + 0x28); /* 0x2B092A59: mov ecx, dword ptr [esi + 0x28] */ 2769 PUSH32(esp, ebx); /* 0x2B092A5C: push ebx */ 2770 RECOMP_ICALL(edi); /* 0x2B092A5D: call edi */ 2771 RECOMP_FLAGS_IN(); 2772 L_2B092A5F: 2773 /* cmp MEM8(ebp + 0x10), LO8(ebx) */ /* 0x2B092A5F: cmp byte ptr [ebp + 0x10], bl */ 2774 _flag_a = (uint32_t)(MEM8(ebp + 0x10)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2775 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2776 _flag_k = FK_NARROW(FK_CMP, 24); 2777 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092A6A; /* 0x2B092A62: jne 0x2b092a6a */ 2778 L_2B092A64: 2779 ecx = MEM32(esi + 0x18); /* 0x2B092A64: mov ecx, dword ptr [esi + 0x18] */ 2780 PUSH32(esp, ebx); /* 0x2B092A67: push ebx */ 2781 RECOMP_ICALL(edi); /* 0x2B092A68: call edi */ 2782 RECOMP_FLAGS_IN(); 2783 L_2B092A6A: 2784 /* cmp MEM8(ebp + 0x18), LO8(ebx) */ /* 0x2B092A6A: cmp byte ptr [ebp + 0x18], bl */ 2785 _flag_a = (uint32_t)(MEM8(ebp + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2786 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2787 _flag_k = FK_NARROW(FK_CMP, 24); 2788 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092A75; /* 0x2B092A6D: jne 0x2b092a75 */ 2789 L_2B092A6F: 2790 ecx = MEM32(esi + 0x30); /* 0x2B092A6F: mov ecx, dword ptr [esi + 0x30] */ 2791 PUSH32(esp, ebx); /* 0x2B092A72: push ebx */ 2792 RECOMP_ICALL(edi); /* 0x2B092A73: call edi */ 2793 RECOMP_FLAGS_IN(); 2794 L_2B092A75: 2795 ecx = MEM32(ebp + (-0xC)); /* 0x2B092A75: mov ecx, dword ptr [ebp - 0xc] */ 2796 edi = POP32_VAL(esp); /* 0x2B092A78: pop edi */ 2797 eax = esi; /* 0x2B092A79: mov eax, esi */ 2798 esi = POP32_VAL(esp); /* 0x2B092A7B: pop esi */ 2799 ebx = POP32_VAL(esp); /* 0x2B092A7C: pop ebx */ 2800 MEM32(FS_BASE + (0)) = ecx; /* 0x2B092A7D: mov dword ptr fs:[0], ecx */ 2801 esp = ebp; /* 0x2B092A84: mov esp, ebp */ 2802 ebp = POP32_VAL(esp); /* 0x2B092A86: pop ebp */ 2803 RECOMP_FLAGS_OUT(); esp += 24; { RECOMP_REGS_OUT(); return; } /* 0x2B092A87: ret 0x14 */ 2804 RECOMP_REGS_OUT(); 2805 } 2806 2807 void sub_2B092A90(void) { 2808 int _fpu_cmp = 0; 2809 uint32_t _cf = 0; 2810 int _df = 1; 2811 uint32_t _flag_k = FK_NONE; 2812 uint32_t _flag_a = 0, _flag_b = 0; 2813 uint32_t _itail_tgt = 0; 2814 RECOMP_REGS_LOCALS 2815 RECOMP_ENTER(0x2B092A90u); 2816 2817 L_2B092A90: 2818 MEM32(ecx) = 0x2B0B71E8u; /* 0x2B092A90: mov dword ptr [ecx], 0x2b0b71e8 */ 2819 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B092A96: ret */ 2820 RECOMP_REGS_OUT(); 2821 } 2822 2823 void sub_2B092AA0(void) { 2824 int _fpu_cmp = 0; 2825 uint32_t _cf = 0; 2826 int _df = 1; 2827 uint32_t _flag_k = FK_NONE; 2828 uint32_t _flag_a = 0, _flag_b = 0; 2829 uint32_t _itail_tgt = 0; 2830 RECOMP_REGS_LOCALS 2831 RECOMP_ENTER(0x2B092AA0u); 2832 2833 L_2B092AA0: 2834 PUSH32(esp, ebp); /* 0x2B092AA0: push ebp */ 2835 ebp = esp; /* 0x2B092AA1: mov ebp, esp */ 2836 /* test MEM8(ebp + 0x8), 1 */ /* 0x2B092AA3: test byte ptr [ebp + 8], 1 */ 2837 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 2838 _cf = 0; 2839 _flag_k = FK_NARROW(FK_TEST, 24); 2840 PUSH32(esp, esi); /* 0x2B092AA7: push esi */ 2841 esi = ecx; /* 0x2B092AA8: mov esi, ecx */ 2842 MEM32(esi) = 0x2B0B71E8u; /* 0x2B092AAA: mov dword ptr [esi], 0x2b0b71e8 */ 2843 if (TEST_Z(_flag_a, _flag_b)) goto L_2B092ABB; /* 0x2B092AB0: je 0x2b092abb */ 2844 L_2B092AB2: 2845 PUSH32(esp, esi); /* 0x2B092AB2: push esi */ 2846 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B092AB3: call 0x2b0ab1ba */ /* not lifted */ 2847 RECOMP_FLAGS_IN(); 2848 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2849 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2850 esp = esp + 4; /* 0x2B092AB8: add esp, 4 */ 2851 _flag_k = FK_ADD; 2852 L_2B092ABB: 2853 eax = esi; /* 0x2B092ABB: mov eax, esi */ 2854 esi = POP32_VAL(esp); /* 0x2B092ABD: pop esi */ 2855 ebp = POP32_VAL(esp); /* 0x2B092ABE: pop ebp */ 2856 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B092ABF: ret 4 */ 2857 RECOMP_REGS_OUT(); 2858 } 2859 2860 void sub_2B092AD0(void) { 2861 int _fpu_cmp = 0; 2862 uint32_t _cf = 0; 2863 int _df = 1; 2864 uint32_t _flag_k = FK_NONE; 2865 uint32_t _flag_a = 0, _flag_b = 0; 2866 uint32_t _itail_tgt = 0; 2867 RECOMP_REGS_LOCALS 2868 RECOMP_ENTER(0x2B092AD0u); 2869 2870 L_2B092AD0: 2871 PUSH32(esp, ebp); /* 0x2B092AD0: push ebp */ 2872 ebp = esp; /* 0x2B092AD1: mov ebp, esp */ 2873 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2874 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2875 esp = esp - 8; /* 0x2B092AD3: sub esp, 8 */ 2876 _flag_k = FK_CMP; 2877 PUSH32(esp, ebx); /* 0x2B092AD6: push ebx */ 2878 ebx = MEM32(0x2B0B5BB8); /* 0x2B092AD7: mov ebx, dword ptr [0x2b0b5bb8] */ 2879 PUSH32(esp, esi); /* 0x2B092ADD: push esi */ 2880 esi = MEM32(ebp + 0x8); /* 0x2B092ADE: mov esi, dword ptr [ebp + 8] */ 2881 PUSH32(esp, edi); /* 0x2B092AE1: push edi */ 2882 edi = ecx; /* 0x2B092AE2: mov edi, ecx */ 2883 ecx = MEM32(edi + 0xC); /* 0x2B092AE4: mov ecx, dword ptr [edi + 0xc] */ 2884 PUSH32(esp, esi); /* 0x2B092AE7: push esi */ 2885 RECOMP_ICALL(ebx); /* 0x2B092AE8: call ebx */ 2886 RECOMP_FLAGS_IN(); 2887 eax = MEM32(esi); /* 0x2B092AEA: mov eax, dword ptr [esi] */ 2888 ecx = MEM32(esi); /* 0x2B092AEC: mov ecx, dword ptr [esi] */ 2889 MEM32(ebp + (-0x8)) = eax; /* 0x2B092AEE: mov dword ptr [ebp - 8], eax */ 2890 eax = MEM32(esi + 0x4); /* 0x2B092AF1: mov eax, dword ptr [esi + 4] */ 2891 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8); 2892 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2893 ecx = ecx + 8; /* 0x2B092AF4: add ecx, 8 */ 2894 _flag_k = FK_ADD; 2895 edx = ebp + (-0x8); /* 0x2B092AF7: lea edx, [ebp - 8] */ 2896 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(5); 2897 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2898 eax = eax + 5; /* 0x2B092AFA: add eax, 5 */ 2899 _flag_k = FK_ADD; 2900 MEM32(ebp + (-0x8)) = ecx; /* 0x2B092AFD: mov dword ptr [ebp - 8], ecx */ 2901 ecx = MEM32(edi + 0x14); /* 0x2B092B00: mov ecx, dword ptr [edi + 0x14] */ 2902 PUSH32(esp, edx); /* 0x2B092B03: push edx */ 2903 MEM32(ebp + (-0x4)) = eax; /* 0x2B092B04: mov dword ptr [ebp - 4], eax */ 2904 RECOMP_ICALL(ebx); /* 0x2B092B07: call ebx */ 2905 RECOMP_FLAGS_IN(); 2906 eax = MEM32(esi); /* 0x2B092B09: mov eax, dword ptr [esi] */ 2907 ecx = ebp + (-0x8); /* 0x2B092B0B: lea ecx, [ebp - 8] */ 2908 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Fu); 2909 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2910 eax = eax + 0x2Fu; /* 0x2B092B0E: add eax, 0x2f */ 2911 _flag_k = FK_ADD; 2912 PUSH32(esp, ecx); /* 0x2B092B11: push ecx */ 2913 ecx = MEM32(edi + 0x1C); /* 0x2B092B12: mov ecx, dword ptr [edi + 0x1c] */ 2914 MEM32(ebp + (-0x8)) = eax; /* 0x2B092B15: mov dword ptr [ebp - 8], eax */ 2915 RECOMP_ICALL(ebx); /* 0x2B092B18: call ebx */ 2916 RECOMP_FLAGS_IN(); 2917 edx = MEM32(esi); /* 0x2B092B1A: mov edx, dword ptr [esi] */ 2918 ecx = MEM32(edi + 0x24); /* 0x2B092B1C: mov ecx, dword ptr [edi + 0x24] */ 2919 eax = ebp + (-0x8); /* 0x2B092B1F: lea eax, [ebp - 8] */ 2920 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x56u); 2921 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2922 edx = edx + 0x56u; /* 0x2B092B22: add edx, 0x56 */ 2923 _flag_k = FK_ADD; 2924 PUSH32(esp, eax); /* 0x2B092B25: push eax */ 2925 MEM32(ebp + (-0x8)) = edx; /* 0x2B092B26: mov dword ptr [ebp - 8], edx */ 2926 RECOMP_ICALL(ebx); /* 0x2B092B29: call ebx */ 2927 RECOMP_FLAGS_IN(); 2928 ecx = MEM32(esi); /* 0x2B092B2B: mov ecx, dword ptr [esi] */ 2929 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x7Du); 2930 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2931 ecx = ecx + 0x7Du; /* 0x2B092B2D: add ecx, 0x7d */ 2932 _flag_k = FK_ADD; 2933 edx = ebp + (-0x8); /* 0x2B092B30: lea edx, [ebp - 8] */ 2934 MEM32(ebp + (-0x8)) = ecx; /* 0x2B092B33: mov dword ptr [ebp - 8], ecx */ 2935 ecx = MEM32(edi + 0x2C); /* 0x2B092B36: mov ecx, dword ptr [edi + 0x2c] */ 2936 PUSH32(esp, edx); /* 0x2B092B39: push edx */ 2937 RECOMP_ICALL(ebx); /* 0x2B092B3A: call ebx */ 2938 RECOMP_FLAGS_IN(); 2939 edi = POP32_VAL(esp); /* 0x2B092B3C: pop edi */ 2940 esi = POP32_VAL(esp); /* 0x2B092B3D: pop esi */ 2941 ebx = POP32_VAL(esp); /* 0x2B092B3E: pop ebx */ 2942 esp = ebp; /* 0x2B092B3F: mov esp, ebp */ 2943 ebp = POP32_VAL(esp); /* 0x2B092B41: pop ebp */ 2944 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B092B42: ret 4 */ 2945 RECOMP_REGS_OUT(); 2946 } 2947 2948 void sub_2B092B50(void) { 2949 int _fpu_cmp = 0; 2950 uint32_t _cf = 0; 2951 int _df = 1; 2952 uint32_t _flag_k = FK_NONE; 2953 uint32_t _flag_a = 0, _flag_b = 0; 2954 uint32_t _itail_tgt = 0; 2955 RECOMP_REGS_LOCALS 2956 RECOMP_ENTER(0x2B092B50u); 2957 2958 L_2B092B50: 2959 PUSH32(esp, ebp); /* 0x2B092B50: push ebp */ 2960 ebp = esp; /* 0x2B092B51: mov ebp, esp */ 2961 PUSH32(esp, ebx); /* 0x2B092B53: push ebx */ 2962 ebx = MEM32(0x2B0B5BE0); /* 0x2B092B54: mov ebx, dword ptr [0x2b0b5be0] */ 2963 PUSH32(esp, esi); /* 0x2B092B5A: push esi */ 2964 PUSH32(esp, edi); /* 0x2B092B5B: push edi */ 2965 edi = MEM32(ebp + 0x8); /* 0x2B092B5C: mov edi, dword ptr [ebp + 8] */ 2966 esi = ecx; /* 0x2B092B5F: mov esi, ecx */ 2967 ecx = MEM32(esi + 0xC); /* 0x2B092B61: mov ecx, dword ptr [esi + 0xc] */ 2968 PUSH32(esp, edi); /* 0x2B092B64: push edi */ 2969 RECOMP_ICALL(ebx); /* 0x2B092B65: call ebx */ 2970 RECOMP_FLAGS_IN(); 2971 ecx = MEM32(esi + 0x14); /* 0x2B092B67: mov ecx, dword ptr [esi + 0x14] */ 2972 PUSH32(esp, edi); /* 0x2B092B6A: push edi */ 2973 RECOMP_ICALL(ebx); /* 0x2B092B6B: call ebx */ 2974 RECOMP_FLAGS_IN(); 2975 ecx = MEM32(esi + 0x1C); /* 0x2B092B6D: mov ecx, dword ptr [esi + 0x1c] */ 2976 PUSH32(esp, edi); /* 0x2B092B70: push edi */ 2977 RECOMP_ICALL(ebx); /* 0x2B092B71: call ebx */ 2978 RECOMP_FLAGS_IN(); 2979 ecx = MEM32(esi + 0x24); /* 0x2B092B73: mov ecx, dword ptr [esi + 0x24] */ 2980 PUSH32(esp, edi); /* 0x2B092B76: push edi */ 2981 RECOMP_ICALL(ebx); /* 0x2B092B77: call ebx */ 2982 RECOMP_FLAGS_IN(); 2983 ecx = MEM32(esi + 0x2C); /* 0x2B092B79: mov ecx, dword ptr [esi + 0x2c] */ 2984 PUSH32(esp, edi); /* 0x2B092B7C: push edi */ 2985 RECOMP_ICALL(ebx); /* 0x2B092B7D: call ebx */ 2986 RECOMP_FLAGS_IN(); 2987 edi = POP32_VAL(esp); /* 0x2B092B7F: pop edi */ 2988 esi = POP32_VAL(esp); /* 0x2B092B80: pop esi */ 2989 ebx = POP32_VAL(esp); /* 0x2B092B81: pop ebx */ 2990 ebp = POP32_VAL(esp); /* 0x2B092B82: pop ebp */ 2991 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B092B83: ret 4 */ 2992 RECOMP_REGS_OUT(); 2993 } 2994 2995 void sub_2B092B90(void) { 2996 int _fpu_cmp = 0; 2997 uint32_t _cf = 0; 2998 int _df = 1; 2999 uint32_t _flag_k = FK_NONE; 3000 uint32_t _flag_a = 0, _flag_b = 0; 3001 uint32_t _itail_tgt = 0; 3002 RECOMP_REGS_LOCALS 3003 RECOMP_ENTER(0x2B092B90u); 3004 3005 L_2B092B90: 3006 PUSH32(esp, ebx); /* 0x2B092B90: push ebx */ 3007 PUSH32(esp, esi); /* 0x2B092B91: push esi */ 3008 esi = ecx; /* 0x2B092B92: mov esi, ecx */ 3009 ecx = MEM32(esi + 0xC); /* 0x2B092B94: mov ecx, dword ptr [esi + 0xc] */ 3010 PUSH32(esp, edi); /* 0x2B092B97: push edi */ 3011 edi = MEM32(0x2B0B5BB4); /* 0x2B092B98: mov edi, dword ptr [0x2b0b5bb4] */ 3012 RECOMP_ICALL(edi); /* 0x2B092B9E: call edi */ 3013 RECOMP_FLAGS_IN(); 3014 ecx = MEM32(esi + 0x14); /* 0x2B092BA0: mov ecx, dword ptr [esi + 0x14] */ 3015 RECOMP_ICALL(edi); /* 0x2B092BA3: call edi */ 3016 RECOMP_FLAGS_IN(); 3017 ecx = MEM32(esi + 0x18); /* 0x2B092BA5: mov ecx, dword ptr [esi + 0x18] */ 3018 ebx = MEM32(0x2B0B5B3C); /* 0x2B092BA8: mov ebx, dword ptr [0x2b0b5b3c] */ 3019 RECOMP_ICALL(ebx); /* 0x2B092BAE: call ebx */ 3020 RECOMP_FLAGS_IN(); 3021 ecx = MEM32(esi + 0x1C); /* 0x2B092BB0: mov ecx, dword ptr [esi + 0x1c] */ 3022 RECOMP_ICALL(edi); /* 0x2B092BB3: call edi */ 3023 RECOMP_FLAGS_IN(); 3024 ecx = MEM32(esi + 0x20); /* 0x2B092BB5: mov ecx, dword ptr [esi + 0x20] */ 3025 RECOMP_ICALL(ebx); /* 0x2B092BB8: call ebx */ 3026 RECOMP_FLAGS_IN(); 3027 ecx = MEM32(esi + 0x24); /* 0x2B092BBA: mov ecx, dword ptr [esi + 0x24] */ 3028 RECOMP_ICALL(edi); /* 0x2B092BBD: call edi */ 3029 RECOMP_FLAGS_IN(); 3030 ecx = MEM32(esi + 0x28); /* 0x2B092BBF: mov ecx, dword ptr [esi + 0x28] */ 3031 RECOMP_ICALL(ebx); /* 0x2B092BC2: call ebx */ 3032 RECOMP_FLAGS_IN(); 3033 ecx = MEM32(esi + 0x2C); /* 0x2B092BC4: mov ecx, dword ptr [esi + 0x2c] */ 3034 RECOMP_ICALL(edi); /* 0x2B092BC7: call edi */ 3035 RECOMP_FLAGS_IN(); 3036 ecx = MEM32(esi + 0x30); /* 0x2B092BC9: mov ecx, dword ptr [esi + 0x30] */ 3037 RECOMP_ICALL(ebx); /* 0x2B092BCC: call ebx */ 3038 RECOMP_FLAGS_IN(); 3039 edi = POP32_VAL(esp); /* 0x2B092BCE: pop edi */ 3040 esi = POP32_VAL(esp); /* 0x2B092BCF: pop esi */ 3041 ebx = POP32_VAL(esp); /* 0x2B092BD0: pop ebx */ 3042 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B092BD1: ret */ 3043 RECOMP_REGS_OUT(); 3044 } 3045 3046 void sub_2B092BE0(void) { 3047 int _fpu_cmp = 0; 3048 uint32_t _cf = 0; 3049 int _df = 1; 3050 uint32_t _flag_k = FK_NONE; 3051 uint32_t _flag_a = 0, _flag_b = 0; 3052 uint32_t _itail_tgt = 0; 3053 RECOMP_REGS_LOCALS 3054 RECOMP_ENTER(0x2B092BE0u); 3055 3056 L_2B092BE0: 3057 PUSH32(esp, ebx); /* 0x2B092BE0: push ebx */ 3058 PUSH32(esp, esi); /* 0x2B092BE1: push esi */ 3059 esi = ecx; /* 0x2B092BE2: mov esi, ecx */ 3060 ecx = MEM32(esi + 0xC); /* 0x2B092BE4: mov ecx, dword ptr [esi + 0xc] */ 3061 PUSH32(esp, edi); /* 0x2B092BE7: push edi */ 3062 edi = MEM32(0x2B0B5BAC); /* 0x2B092BE8: mov edi, dword ptr [0x2b0b5bac] */ 3063 RECOMP_ICALL(edi); /* 0x2B092BEE: call edi */ 3064 RECOMP_FLAGS_IN(); 3065 ecx = MEM32(esi + 0x14); /* 0x2B092BF0: mov ecx, dword ptr [esi + 0x14] */ 3066 RECOMP_ICALL(edi); /* 0x2B092BF3: call edi */ 3067 RECOMP_FLAGS_IN(); 3068 ecx = MEM32(esi + 0x18); /* 0x2B092BF5: mov ecx, dword ptr [esi + 0x18] */ 3069 ebx = MEM32(0x2B0B5B34); /* 0x2B092BF8: mov ebx, dword ptr [0x2b0b5b34] */ 3070 RECOMP_ICALL(ebx); /* 0x2B092BFE: call ebx */ 3071 RECOMP_FLAGS_IN(); 3072 ecx = MEM32(esi + 0x1C); /* 0x2B092C00: mov ecx, dword ptr [esi + 0x1c] */ 3073 RECOMP_ICALL(edi); /* 0x2B092C03: call edi */ 3074 RECOMP_FLAGS_IN(); 3075 ecx = MEM32(esi + 0x20); /* 0x2B092C05: mov ecx, dword ptr [esi + 0x20] */ 3076 RECOMP_ICALL(ebx); /* 0x2B092C08: call ebx */ 3077 RECOMP_FLAGS_IN(); 3078 ecx = MEM32(esi + 0x24); /* 0x2B092C0A: mov ecx, dword ptr [esi + 0x24] */ 3079 RECOMP_ICALL(edi); /* 0x2B092C0D: call edi */ 3080 RECOMP_FLAGS_IN(); 3081 ecx = MEM32(esi + 0x28); /* 0x2B092C0F: mov ecx, dword ptr [esi + 0x28] */ 3082 RECOMP_ICALL(ebx); /* 0x2B092C12: call ebx */ 3083 RECOMP_FLAGS_IN(); 3084 ecx = MEM32(esi + 0x2C); /* 0x2B092C14: mov ecx, dword ptr [esi + 0x2c] */ 3085 RECOMP_ICALL(edi); /* 0x2B092C17: call edi */ 3086 RECOMP_FLAGS_IN(); 3087 ecx = MEM32(esi + 0x30); /* 0x2B092C19: mov ecx, dword ptr [esi + 0x30] */ 3088 RECOMP_ICALL(ebx); /* 0x2B092C1C: call ebx */ 3089 RECOMP_FLAGS_IN(); 3090 edi = POP32_VAL(esp); /* 0x2B092C1E: pop edi */ 3091 esi = POP32_VAL(esp); /* 0x2B092C1F: pop esi */ 3092 ebx = POP32_VAL(esp); /* 0x2B092C20: pop ebx */ 3093 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B092C21: ret */ 3094 RECOMP_REGS_OUT(); 3095 } 3096 3097 void sub_2B092C30(void) { 3098 int _fpu_cmp = 0; 3099 uint32_t _cf = 0; 3100 int _df = 1; 3101 uint32_t _flag_k = FK_NONE; 3102 uint32_t _flag_a = 0, _flag_b = 0; 3103 uint32_t _itail_tgt = 0; 3104 RECOMP_REGS_LOCALS 3105 RECOMP_ENTER(0x2B092C30u); 3106 3107 L_2B092C30: 3108 PUSH32(esp, ebp); /* 0x2B092C30: push ebp */ 3109 ebp = esp; /* 0x2B092C31: mov ebp, esp */ 3110 eax = MEM32(ebp + 0x8); /* 0x2B092C33: mov eax, dword ptr [ebp + 8] */ 3111 ecx = MEM32(eax + 0x4); /* 0x2B092C36: mov ecx, dword ptr [eax + 4] */ 3112 RECOMP_ICALL(0x2B094CF0u); /* 0x2B092C39: call 0x2b094cf0 */ /* not lifted */ 3113 RECOMP_FLAGS_IN(); 3114 ebp = POP32_VAL(esp); /* 0x2B092C3E: pop ebp */ 3115 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B092C3F: ret */ 3116 RECOMP_REGS_OUT(); 3117 } 3118 3119 void sub_2B092C40(void) { 3120 int _fpu_cmp = 0; 3121 uint32_t _cf = 0; 3122 int _df = 1; 3123 uint32_t _flag_k = FK_NONE; 3124 uint32_t _flag_a = 0, _flag_b = 0; 3125 uint32_t _itail_tgt = 0; 3126 RECOMP_REGS_LOCALS 3127 RECOMP_ENTER(0x2B092C40u); 3128 3129 L_2B092C40: 3130 PUSH32(esp, ebp); /* 0x2B092C40: push ebp */ 3131 ebp = esp; /* 0x2B092C41: mov ebp, esp */ 3132 eax = MEM32(ebp + 0x8); /* 0x2B092C43: mov eax, dword ptr [ebp + 8] */ 3133 ecx = MEM32(eax + 0x4); /* 0x2B092C46: mov ecx, dword ptr [eax + 4] */ 3134 RECOMP_ICALL(0x2B094D40u); /* 0x2B092C49: call 0x2b094d40 */ /* not lifted */ 3135 RECOMP_FLAGS_IN(); 3136 ebp = POP32_VAL(esp); /* 0x2B092C4E: pop ebp */ 3137 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B092C4F: ret */ 3138 RECOMP_REGS_OUT(); 3139 } 3140 3141 void sub_2B092C50(void) { 3142 int _fpu_cmp = 0; 3143 uint32_t _cf = 0; 3144 int _df = 1; 3145 uint32_t _flag_k = FK_NONE; 3146 uint32_t _flag_a = 0, _flag_b = 0; 3147 uint32_t _itail_tgt = 0; 3148 RECOMP_REGS_LOCALS 3149 RECOMP_ENTER(0x2B092C50u); 3150 3151 L_2B092C50: 3152 PUSH32(esp, ebp); /* 0x2B092C50: push ebp */ 3153 ebp = esp; /* 0x2B092C51: mov ebp, esp */ 3154 eax = MEM32(ebp + 0x8); /* 0x2B092C53: mov eax, dword ptr [ebp + 8] */ 3155 ecx = MEM32(eax + 0x4); /* 0x2B092C56: mov ecx, dword ptr [eax + 4] */ 3156 RECOMP_ICALL(0x2B094D60u); /* 0x2B092C59: call 0x2b094d60 */ /* not lifted */ 3157 RECOMP_FLAGS_IN(); 3158 ebp = POP32_VAL(esp); /* 0x2B092C5E: pop ebp */ 3159 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B092C5F: ret */ 3160 RECOMP_REGS_OUT(); 3161 } 3162 3163 void sub_2B092C60(void) { 3164 int _fpu_cmp = 0; 3165 uint32_t _cf = 0; 3166 int _df = 1; 3167 uint32_t _flag_k = FK_NONE; 3168 uint32_t _flag_a = 0, _flag_b = 0; 3169 uint32_t _itail_tgt = 0; 3170 RECOMP_REGS_LOCALS 3171 RECOMP_ENTER(0x2B092C60u); 3172 3173 L_2B092C60: 3174 PUSH32(esp, ebp); /* 0x2B092C60: push ebp */ 3175 ebp = esp; /* 0x2B092C61: mov ebp, esp */ 3176 eax = MEM32(ebp + 0x8); /* 0x2B092C63: mov eax, dword ptr [ebp + 8] */ 3177 ecx = MEM32(eax + 0x4); /* 0x2B092C66: mov ecx, dword ptr [eax + 4] */ 3178 RECOMP_ICALL(0x2B094DC0u); /* 0x2B092C69: call 0x2b094dc0 */ /* not lifted */ 3179 RECOMP_FLAGS_IN(); 3180 ebp = POP32_VAL(esp); /* 0x2B092C6E: pop ebp */ 3181 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B092C6F: ret */ 3182 RECOMP_REGS_OUT(); 3183 } 3184 3185 void sub_2B092C70(void) { 3186 int _fpu_cmp = 0; 3187 uint32_t _cf = 0; 3188 int _df = 1; 3189 uint32_t _flag_k = FK_NONE; 3190 uint32_t _flag_a = 0, _flag_b = 0; 3191 uint32_t _itail_tgt = 0; 3192 RECOMP_REGS_LOCALS 3193 RECOMP_ENTER(0x2B092C70u); 3194 3195 L_2B092C70: 3196 PUSH32(esp, ebp); /* 0x2B092C70: push ebp */ 3197 ebp = esp; /* 0x2B092C71: mov ebp, esp */ 3198 PUSH32(esp, esi); /* 0x2B092C73: push esi */ 3199 esi = ecx; /* 0x2B092C74: mov esi, ecx */ 3200 RECOMP_ICALL(0x2B092CA0u); /* 0x2B092C76: call 0x2b092ca0 */ /* not lifted */ 3201 RECOMP_FLAGS_IN(); 3202 /* test MEM8(ebp + 0x8), 1 */ /* 0x2B092C7B: test byte ptr [ebp + 8], 1 */ 3203 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 3204 _cf = 0; 3205 _flag_k = FK_NARROW(FK_TEST, 24); 3206 if (TEST_Z(_flag_a, _flag_b)) goto L_2B092C8A; /* 0x2B092C7F: je 0x2b092c8a */ 3207 L_2B092C81: 3208 PUSH32(esp, esi); /* 0x2B092C81: push esi */ 3209 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B092C82: call 0x2b0ab1ba */ /* not lifted */ 3210 RECOMP_FLAGS_IN(); 3211 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3212 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3213 esp = esp + 4; /* 0x2B092C87: add esp, 4 */ 3214 _flag_k = FK_ADD; 3215 L_2B092C8A: 3216 eax = esi; /* 0x2B092C8A: mov eax, esi */ 3217 esi = POP32_VAL(esp); /* 0x2B092C8C: pop esi */ 3218 ebp = POP32_VAL(esp); /* 0x2B092C8D: pop ebp */ 3219 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B092C8E: ret 4 */ 3220 RECOMP_REGS_OUT(); 3221 } 3222 3223 void sub_2B092CA0(void) { 3224 int _fpu_cmp = 0; 3225 uint32_t _cf = 0; 3226 int _df = 1; 3227 uint32_t _flag_k = FK_NONE; 3228 uint32_t _flag_a = 0, _flag_b = 0; 3229 uint32_t _itail_tgt = 0; 3230 RECOMP_REGS_LOCALS 3231 RECOMP_ENTER(0x2B092CA0u); 3232 3233 L_2B092CA0: 3234 PUSH32(esp, ebp); /* 0x2B092CA0: push ebp */ 3235 ebp = esp; /* 0x2B092CA1: mov ebp, esp */ 3236 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B092CA3: push -1 */ 3237 PUSH32(esp, 0x2B0B2D68u); /* 0x2B092CA5: push 0x2b0b2d68 */ 3238 eax = MEM32(FS_BASE + (0)); /* 0x2B092CAA: mov eax, dword ptr fs:[0] */ 3239 PUSH32(esp, eax); /* 0x2B092CB0: push eax */ 3240 MEM32(FS_BASE + (0)) = esp; /* 0x2B092CB1: mov dword ptr fs:[0], esp */ 3241 PUSH32(esp, ecx); /* 0x2B092CB8: push ecx */ 3242 PUSH32(esp, ebx); /* 0x2B092CB9: push ebx */ 3243 PUSH32(esp, esi); /* 0x2B092CBA: push esi */ 3244 esi = ecx; /* 0x2B092CBB: mov esi, ecx */ 3245 PUSH32(esp, edi); /* 0x2B092CBD: push edi */ 3246 MEM32(ebp + (-0x10)) = esi; /* 0x2B092CBE: mov dword ptr [ebp - 0x10], esi */ 3247 MEM32(esi) = 0x2B0B71D0u; /* 0x2B092CC1: mov dword ptr [esi], 0x2b0b71d0 */ 3248 ecx = MEM32(esi + 0x18); /* 0x2B092CC7: mov ecx, dword ptr [esi + 0x18] */ 3249 /* test ecx, ecx */ /* 0x2B092CCA: test ecx, ecx */ 3250 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3251 _cf = 0; 3252 _flag_k = FK_TEST; 3253 MEM32(ebp + (-0x4)) = 0; /* 0x2B092CCC: mov dword ptr [ebp - 4], 0 */ 3254 if (TEST_Z(_flag_a, _flag_b)) goto L_2B092CDB; /* 0x2B092CD3: je 0x2b092cdb */ 3255 L_2B092CD5: 3256 eax = MEM32(ecx); /* 0x2B092CD5: mov eax, dword ptr [ecx] */ 3257 PUSH32(esp, 1); /* 0x2B092CD7: push 1 */ 3258 RECOMP_ICALL(MEM32(eax)); /* 0x2B092CD9: call dword ptr [eax] */ 3259 RECOMP_FLAGS_IN(); 3260 L_2B092CDB: 3261 edi = MEM32(esi + 0x14); /* 0x2B092CDB: mov edi, dword ptr [esi + 0x14] */ 3262 /* test edi, edi */ /* 0x2B092CDE: test edi, edi */ 3263 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3264 _cf = 0; 3265 _flag_k = FK_TEST; 3266 ebx = MEM32(0x2B0B5BC4); /* 0x2B092CE0: mov ebx, dword ptr [0x2b0b5bc4] */ 3267 if (TEST_Z(_flag_a, _flag_b)) goto L_2B092CF5; /* 0x2B092CE6: je 0x2b092cf5 */ 3268 L_2B092CE8: 3269 ecx = edi; /* 0x2B092CE8: mov ecx, edi */ 3270 RECOMP_ICALL(ebx); /* 0x2B092CEA: call ebx */ 3271 RECOMP_FLAGS_IN(); 3272 PUSH32(esp, edi); /* 0x2B092CEC: push edi */ 3273 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B092CED: call 0x2b0ab1ba */ /* not lifted */ 3274 RECOMP_FLAGS_IN(); 3275 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3276 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3277 esp = esp + 4; /* 0x2B092CF2: add esp, 4 */ 3278 _flag_k = FK_ADD; 3279 L_2B092CF5: 3280 ecx = MEM32(esi + 0x20); /* 0x2B092CF5: mov ecx, dword ptr [esi + 0x20] */ 3281 /* test ecx, ecx */ /* 0x2B092CF8: test ecx, ecx */ 3282 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3283 _cf = 0; 3284 _flag_k = FK_TEST; 3285 if (TEST_Z(_flag_a, _flag_b)) goto L_2B092D02; /* 0x2B092CFA: je 0x2b092d02 */ 3286 L_2B092CFC: 3287 edx = MEM32(ecx); /* 0x2B092CFC: mov edx, dword ptr [ecx] */ 3288 PUSH32(esp, 1); /* 0x2B092CFE: push 1 */ 3289 RECOMP_ICALL(MEM32(edx)); /* 0x2B092D00: call dword ptr [edx] */ 3290 RECOMP_FLAGS_IN(); 3291 L_2B092D02: 3292 edi = MEM32(esi + 0x1C); /* 0x2B092D02: mov edi, dword ptr [esi + 0x1c] */ 3293 /* test edi, edi */ /* 0x2B092D05: test edi, edi */ 3294 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3295 _cf = 0; 3296 _flag_k = FK_TEST; 3297 if (TEST_Z(_flag_a, _flag_b)) goto L_2B092D16; /* 0x2B092D07: je 0x2b092d16 */ 3298 L_2B092D09: 3299 ecx = edi; /* 0x2B092D09: mov ecx, edi */ 3300 RECOMP_ICALL(ebx); /* 0x2B092D0B: call ebx */ 3301 RECOMP_FLAGS_IN(); 3302 PUSH32(esp, edi); /* 0x2B092D0D: push edi */ 3303 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B092D0E: call 0x2b0ab1ba */ /* not lifted */ 3304 RECOMP_FLAGS_IN(); 3305 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3306 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3307 esp = esp + 4; /* 0x2B092D13: add esp, 4 */ 3308 _flag_k = FK_ADD; 3309 L_2B092D16: 3310 ecx = MEM32(esi + 0x28); /* 0x2B092D16: mov ecx, dword ptr [esi + 0x28] */ 3311 /* test ecx, ecx */ /* 0x2B092D19: test ecx, ecx */ 3312 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3313 _cf = 0; 3314 _flag_k = FK_TEST; 3315 if (TEST_Z(_flag_a, _flag_b)) goto L_2B092D23; /* 0x2B092D1B: je 0x2b092d23 */ 3316 L_2B092D1D: 3317 eax = MEM32(ecx); /* 0x2B092D1D: mov eax, dword ptr [ecx] */ 3318 PUSH32(esp, 1); /* 0x2B092D1F: push 1 */ 3319 RECOMP_ICALL(MEM32(eax)); /* 0x2B092D21: call dword ptr [eax] */ 3320 RECOMP_FLAGS_IN(); 3321 L_2B092D23: 3322 edi = MEM32(esi + 0x24); /* 0x2B092D23: mov edi, dword ptr [esi + 0x24] */ 3323 /* test edi, edi */ /* 0x2B092D26: test edi, edi */ 3324 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3325 _cf = 0; 3326 _flag_k = FK_TEST; 3327 if (TEST_Z(_flag_a, _flag_b)) goto L_2B092D37; /* 0x2B092D28: je 0x2b092d37 */ 3328 L_2B092D2A: 3329 ecx = edi; /* 0x2B092D2A: mov ecx, edi */ 3330 RECOMP_ICALL(ebx); /* 0x2B092D2C: call ebx */ 3331 RECOMP_FLAGS_IN(); 3332 PUSH32(esp, edi); /* 0x2B092D2E: push edi */ 3333 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B092D2F: call 0x2b0ab1ba */ /* not lifted */ 3334 RECOMP_FLAGS_IN(); 3335 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3336 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3337 esp = esp + 4; /* 0x2B092D34: add esp, 4 */ 3338 _flag_k = FK_ADD; 3339 L_2B092D37: 3340 ecx = MEM32(esi + 0x30); /* 0x2B092D37: mov ecx, dword ptr [esi + 0x30] */ 3341 /* test ecx, ecx */ /* 0x2B092D3A: test ecx, ecx */ 3342 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3343 _cf = 0; 3344 _flag_k = FK_TEST; 3345 if (TEST_Z(_flag_a, _flag_b)) goto L_2B092D44; /* 0x2B092D3C: je 0x2b092d44 */ 3346 L_2B092D3E: 3347 edx = MEM32(ecx); /* 0x2B092D3E: mov edx, dword ptr [ecx] */ 3348 PUSH32(esp, 1); /* 0x2B092D40: push 1 */ 3349 RECOMP_ICALL(MEM32(edx)); /* 0x2B092D42: call dword ptr [edx] */ 3350 RECOMP_FLAGS_IN(); 3351 L_2B092D44: 3352 edi = MEM32(esi + 0x2C); /* 0x2B092D44: mov edi, dword ptr [esi + 0x2c] */ 3353 /* test edi, edi */ /* 0x2B092D47: test edi, edi */ 3354 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3355 _cf = 0; 3356 _flag_k = FK_TEST; 3357 if (TEST_Z(_flag_a, _flag_b)) goto L_2B092D58; /* 0x2B092D49: je 0x2b092d58 */ 3358 L_2B092D4B: 3359 ecx = edi; /* 0x2B092D4B: mov ecx, edi */ 3360 RECOMP_ICALL(ebx); /* 0x2B092D4D: call ebx */ 3361 RECOMP_FLAGS_IN(); 3362 PUSH32(esp, edi); /* 0x2B092D4F: push edi */ 3363 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B092D50: call 0x2b0ab1ba */ /* not lifted */ 3364 RECOMP_FLAGS_IN(); 3365 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3366 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3367 esp = esp + 4; /* 0x2B092D55: add esp, 4 */ 3368 _flag_k = FK_ADD; 3369 L_2B092D58: 3370 ecx = MEM32(esi + 0x10); /* 0x2B092D58: mov ecx, dword ptr [esi + 0x10] */ 3371 /* test ecx, ecx */ /* 0x2B092D5B: test ecx, ecx */ 3372 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3373 _cf = 0; 3374 _flag_k = FK_TEST; 3375 if (TEST_Z(_flag_a, _flag_b)) goto L_2B092D65; /* 0x2B092D5D: je 0x2b092d65 */ 3376 L_2B092D5F: 3377 eax = MEM32(ecx); /* 0x2B092D5F: mov eax, dword ptr [ecx] */ 3378 PUSH32(esp, 1); /* 0x2B092D61: push 1 */ 3379 RECOMP_ICALL(MEM32(eax)); /* 0x2B092D63: call dword ptr [eax] */ 3380 RECOMP_FLAGS_IN(); 3381 L_2B092D65: 3382 edi = MEM32(esi + 0xC); /* 0x2B092D65: mov edi, dword ptr [esi + 0xc] */ 3383 /* test edi, edi */ /* 0x2B092D68: test edi, edi */ 3384 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3385 _cf = 0; 3386 _flag_k = FK_TEST; 3387 if (TEST_Z(_flag_a, _flag_b)) goto L_2B092D79; /* 0x2B092D6A: je 0x2b092d79 */ 3388 L_2B092D6C: 3389 ecx = edi; /* 0x2B092D6C: mov ecx, edi */ 3390 RECOMP_ICALL(ebx); /* 0x2B092D6E: call ebx */ 3391 RECOMP_FLAGS_IN(); 3392 PUSH32(esp, edi); /* 0x2B092D70: push edi */ 3393 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B092D71: call 0x2b0ab1ba */ /* not lifted */ 3394 RECOMP_FLAGS_IN(); 3395 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3396 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3397 esp = esp + 4; /* 0x2B092D76: add esp, 4 */ 3398 _flag_k = FK_ADD; 3399 L_2B092D79: 3400 ecx = MEM32(ebp + (-0xC)); /* 0x2B092D79: mov ecx, dword ptr [ebp - 0xc] */ 3401 edi = POP32_VAL(esp); /* 0x2B092D7C: pop edi */ 3402 MEM32(esi) = 0x2B0B71E8u; /* 0x2B092D7D: mov dword ptr [esi], 0x2b0b71e8 */ 3403 esi = POP32_VAL(esp); /* 0x2B092D83: pop esi */ 3404 ebx = POP32_VAL(esp); /* 0x2B092D84: pop ebx */ 3405 MEM32(FS_BASE + (0)) = ecx; /* 0x2B092D85: mov dword ptr fs:[0], ecx */ 3406 esp = ebp; /* 0x2B092D8C: mov esp, ebp */ 3407 ebp = POP32_VAL(esp); /* 0x2B092D8E: pop ebp */ 3408 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B092D8F: ret */ 3409 RECOMP_REGS_OUT(); 3410 } 3411 3412 void sub_2B092D90(void) { 3413 int _fpu_cmp = 0; 3414 uint32_t _cf = 0; 3415 int _df = 1; 3416 uint32_t _flag_k = FK_NONE; 3417 uint32_t _flag_a = 0, _flag_b = 0; 3418 uint32_t _itail_tgt = 0; 3419 RECOMP_REGS_LOCALS 3420 RECOMP_ENTER(0x2B092D90u); 3421 3422 L_2B092D90: 3423 PUSH32(esp, ebp); /* 0x2B092D90: push ebp */ 3424 ebp = esp; /* 0x2B092D91: mov ebp, esp */ 3425 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B092D93: push -1 */ 3426 PUSH32(esp, 0x2B0B2E4Du); /* 0x2B092D95: push 0x2b0b2e4d */ 3427 eax = MEM32(FS_BASE + (0)); /* 0x2B092D9A: mov eax, dword ptr fs:[0] */ 3428 PUSH32(esp, eax); /* 0x2B092DA0: push eax */ 3429 MEM32(FS_BASE + (0)) = esp; /* 0x2B092DA1: mov dword ptr fs:[0], esp */ 3430 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x88u); 3431 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3432 esp = esp - 0x88u; /* 0x2B092DA8: sub esp, 0x88 */ 3433 _flag_k = FK_CMP; 3434 PUSH32(esp, ebx); /* 0x2B092DAE: push ebx */ 3435 ebx = ecx; /* 0x2B092DAF: mov ebx, ecx */ 3436 ecx = MEM32(ebp + 0x8); /* 0x2B092DB1: mov ecx, dword ptr [ebp + 8] */ 3437 eax = ebx + 0x3C; /* 0x2B092DB4: lea eax, [ebx + 0x3c] */ 3438 /* cmp eax, ecx */ /* 0x2B092DB7: cmp eax, ecx */ 3439 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3440 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3441 _flag_k = FK_CMP; 3442 PUSH32(esp, esi); /* 0x2B092DB9: push esi */ 3443 PUSH32(esp, edi); /* 0x2B092DBA: push edi */ 3444 MEM32(ebp + (-0x64)) = ebx; /* 0x2B092DBB: mov dword ptr [ebp - 0x64], ebx */ 3445 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092DCA; /* 0x2B092DBE: je 0x2b092dca */ 3446 L_2B092DC0: 3447 edx = MEM32(ecx); /* 0x2B092DC0: mov edx, dword ptr [ecx] */ 3448 MEM32(eax) = edx; /* 0x2B092DC2: mov dword ptr [eax], edx */ 3449 ecx = MEM32(ecx + 0x4); /* 0x2B092DC4: mov ecx, dword ptr [ecx + 4] */ 3450 MEM32(eax + 0x4) = ecx; /* 0x2B092DC7: mov dword ptr [eax + 4], ecx */ 3451 L_2B092DCA: 3452 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B092DCA: mov dl, byte ptr [ebp + 0xb] */ 3453 edi = ebx + 0x44; /* 0x2B092DCD: lea edi, [ebx + 0x44] */ 3454 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3455 esi = 0; /* 0x2B092DD0: xor esi, esi */ 3456 _cf = 0; 3457 _flag_k = FK_TEST; 3458 PUSH32(esp, esi); /* 0x2B092DD2: push esi */ 3459 ecx = edi; /* 0x2B092DD3: mov ecx, edi */ 3460 MEM8(edi) = (uint8_t)(LO8(edx)); /* 0x2B092DD5: mov byte ptr [edi], dl */ 3461 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B092DD7: call dword ptr [0x2b0b514c] */ 3462 RECOMP_FLAGS_IN(); 3463 MEM32(edi + 0x10) = esi; /* 0x2B092DDD: mov dword ptr [edi + 0x10], esi */ 3464 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B092DE0: mov al, byte ptr [ebp + 0xb] */ 3465 edi = ebx + 0x58; /* 0x2B092DE3: lea edi, [ebx + 0x58] */ 3466 PUSH32(esp, esi); /* 0x2B092DE6: push esi */ 3467 ecx = edi; /* 0x2B092DE7: mov ecx, edi */ 3468 MEM32(ebp + (-0x4)) = esi; /* 0x2B092DE9: mov dword ptr [ebp - 4], esi */ 3469 MEM8(edi) = (uint8_t)(LO8(eax)); /* 0x2B092DEC: mov byte ptr [edi], al */ 3470 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B092DEE: call dword ptr [0x2b0b514c] */ 3471 RECOMP_FLAGS_IN(); 3472 MEM32(edi + 0x10) = esi; /* 0x2B092DF4: mov dword ptr [edi + 0x10], esi */ 3473 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B092DF7: mov cl, byte ptr [ebp + 0xb] */ 3474 MEM8(ebx + 0x6C) = (uint8_t)(LO8(ecx)); /* 0x2B092DFA: mov byte ptr [ebx + 0x6c], cl */ 3475 MEM32(ebx + 0x70) = esi; /* 0x2B092DFD: mov dword ptr [ebx + 0x70], esi */ 3476 MEM32(ebx + 0x74) = esi; /* 0x2B092E00: mov dword ptr [ebx + 0x74], esi */ 3477 MEM32(ebx + 0x78) = esi; /* 0x2B092E03: mov dword ptr [ebx + 0x78], esi */ 3478 MEM32(ebx + 0x9C) = esi; /* 0x2B092E06: mov dword ptr [ebx + 0x9c], esi */ 3479 MEM32(ebx + 0xA0) = esi; /* 0x2B092E0C: mov dword ptr [ebx + 0xa0], esi */ 3480 _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu)); 3481 eax = eax | 0xFFFFFFFFu; /* 0x2B092E12: or eax, 0xffffffff */ 3482 _cf = 0; 3483 _flag_k = FK_TEST; 3484 MEM32(ebx + 0x84) = 0x4650u; /* 0x2B092E15: mov dword ptr [ebx + 0x84], 0x4650 */ 3485 MEM8(ebx + 0xA4) = (uint8_t)(1); /* 0x2B092E1F: mov byte ptr [ebx + 0xa4], 1 */ 3486 MEM32(ebx + 0x88) = eax; /* 0x2B092E26: mov dword ptr [ebx + 0x88], eax */ 3487 MEM8(ebx + 0xA5) = (uint8_t)(0); /* 0x2B092E2C: mov byte ptr [ebx + 0xa5], 0 */ 3488 MEM32(ebx) = esi; /* 0x2B092E33: mov dword ptr [ebx], esi */ 3489 MEM32(ebx + 0x4) = esi; /* 0x2B092E35: mov dword ptr [ebx + 4], esi */ 3490 MEM32(ebx + 0x38) = esi; /* 0x2B092E38: mov dword ptr [ebx + 0x38], esi */ 3491 MEM32(ebx + 0x80) = eax; /* 0x2B092E3B: mov dword ptr [ebx + 0x80], eax */ 3492 MEM8(ebx + 0xA6) = (uint8_t)(1); /* 0x2B092E41: mov byte ptr [ebx + 0xa6], 1 */ 3493 edx = MEM32(0x2B0B6048); /* 0x2B092E48: mov edx, dword ptr [0x2b0b6048] */ 3494 ecx = MEM32(edx); /* 0x2B092E4E: mov ecx, dword ptr [edx] */ 3495 PUSH32(esp, 1); /* 0x2B092E50: push 1 */ 3496 PUSH32(esp, 0x2B0ED444u); /* 0x2B092E52: push 0x2b0ed444 */ 3497 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B092E57: mov byte ptr [ebp - 4], 2 */ 3498 RECOMP_ICALL(MEM32(0x2B0B6024)); /* 0x2B092E5B: call dword ptr [0x2b0b6024] */ 3499 RECOMP_FLAGS_IN(); 3500 { float _v = (float)_st[0]; *(float*)ADDR(ebx + 0x8C) = _v; } /* 0x2B092E61: fst dword ptr [ebx + 0x8c] */ 3501 edi = MEM32(0x2B0B602C); /* 0x2B092E67: mov edi, dword ptr [0x2b0b602c] */ 3502 { float _v = (float)fp_pop(); *(float*)ADDR(ebx + 0x90) = _v; } /* 0x2B092E6D: fstp dword ptr [ebx + 0x90] */ 3503 eax = MEM32(0x2B0B6048); /* 0x2B092E73: mov eax, dword ptr [0x2b0b6048] */ 3504 ecx = MEM32(eax); /* 0x2B092E78: mov ecx, dword ptr [eax] */ 3505 PUSH32(esp, 1); /* 0x2B092E7A: push 1 */ 3506 PUSH32(esp, 0x2B0ED438u); /* 0x2B092E7C: push 0x2b0ed438 */ 3507 RECOMP_ICALL(edi); /* 0x2B092E81: call edi */ 3508 RECOMP_FLAGS_IN(); 3509 MEM32(ebx + 0x94) = eax; /* 0x2B092E83: mov dword ptr [ebx + 0x94], eax */ 3510 ecx = MEM32(0x2B0B6048); /* 0x2B092E89: mov ecx, dword ptr [0x2b0b6048] */ 3511 ecx = MEM32(ecx); /* 0x2B092E8F: mov ecx, dword ptr [ecx] */ 3512 PUSH32(esp, 1); /* 0x2B092E91: push 1 */ 3513 PUSH32(esp, 0x2B0ED42Cu); /* 0x2B092E93: push 0x2b0ed42c */ 3514 RECOMP_ICALL(edi); /* 0x2B092E98: call edi */ 3515 RECOMP_FLAGS_IN(); 3516 MEM32(ebx + 0x98) = eax; /* 0x2B092E9A: mov dword ptr [ebx + 0x98], eax */ 3517 edx = MEM32(0x2B0B6048); /* 0x2B092EA0: mov edx, dword ptr [0x2b0b6048] */ 3518 ecx = MEM32(edx); /* 0x2B092EA6: mov ecx, dword ptr [edx] */ 3519 PUSH32(esp, 1); /* 0x2B092EA8: push 1 */ 3520 PUSH32(esp, 0x2B0ED420u); /* 0x2B092EAA: push 0x2b0ed420 */ 3521 RECOMP_ICALL(edi); /* 0x2B092EAF: call edi */ 3522 RECOMP_FLAGS_IN(); 3523 MEM32(ebx + 0x9C) = eax; /* 0x2B092EB1: mov dword ptr [ebx + 0x9c], eax */ 3524 eax = MEM32(0x2B0B6048); /* 0x2B092EB7: mov eax, dword ptr [0x2b0b6048] */ 3525 ecx = MEM32(eax); /* 0x2B092EBC: mov ecx, dword ptr [eax] */ 3526 PUSH32(esp, 1); /* 0x2B092EBE: push 1 */ 3527 PUSH32(esp, 0x2B0ED414u); /* 0x2B092EC0: push 0x2b0ed414 */ 3528 RECOMP_ICALL(edi); /* 0x2B092EC5: call edi */ 3529 RECOMP_FLAGS_IN(); 3530 ecx = MEM32(ebp + 0x8); /* 0x2B092EC7: mov ecx, dword ptr [ebp + 8] */ 3531 PUSH32(esp, ecx); /* 0x2B092ECA: push ecx */ 3532 MEM32(ebx + 0xA0) = eax; /* 0x2B092ECB: mov dword ptr [ebx + 0xa0], eax */ 3533 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B092ED1: call dword ptr [0x2b0b5d6c] */ 3534 RECOMP_FLAGS_IN(); 3535 ecx = eax; /* 0x2B092ED7: mov ecx, eax */ 3536 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B092ED9: call dword ptr [0x2b0b5d50] */ 3537 RECOMP_FLAGS_IN(); 3538 edi = eax; /* 0x2B092EDF: mov edi, eax */ 3539 MEM32(ebp + 0x8) = edi; /* 0x2B092EE1: mov dword ptr [ebp + 8], edi */ 3540 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B092EE4: mov dl, byte ptr [ebp + 0xb] */ 3541 PUSH32(esp, esi); /* 0x2B092EE7: push esi */ 3542 ecx = ebp + (-0x20); /* 0x2B092EE8: lea ecx, [ebp - 0x20] */ 3543 MEM8(ebp + (-0x20)) = (uint8_t)(LO8(edx)); /* 0x2B092EEB: mov byte ptr [ebp - 0x20], dl */ 3544 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B092EEE: call dword ptr [0x2b0b514c] */ 3545 RECOMP_FLAGS_IN(); 3546 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3547 ecx = ecx | 0xFFFFFFFFu; /* 0x2B092EF4: or ecx, 0xffffffff */ 3548 _cf = 0; 3549 _flag_k = FK_TEST; 3550 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3551 eax = 0; /* 0x2B092EF7: xor eax, eax */ 3552 _cf = 0; 3553 _flag_k = FK_TEST; 3554 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B092EF9: repne scasb al, byte ptr es:[edi] */ 3555 ecx = ~ecx; /* 0x2B092EFB: not ecx */ 3556 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 3557 ecx = ecx - 1; /* 0x2B092EFD: dec ecx */ 3558 _flag_k = FK_DEC; 3559 edi = ecx; /* 0x2B092EFE: mov edi, ecx */ 3560 PUSH32(esp, 1); /* 0x2B092F00: push 1 */ 3561 PUSH32(esp, edi); /* 0x2B092F02: push edi */ 3562 ecx = ebp + (-0x20); /* 0x2B092F03: lea ecx, [ebp - 0x20] */ 3563 MEM32(ebp + (-0x2C)) = edi; /* 0x2B092F06: mov dword ptr [ebp - 0x2c], edi */ 3564 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B092F09: call dword ptr [0x2b0b5154] */ 3565 RECOMP_FLAGS_IN(); 3566 /* test LO8(eax), LO8(eax) */ /* 0x2B092F0F: test al, al */ 3567 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3568 _cf = 0; 3569 _flag_k = FK_NARROW(FK_TEST, 24); 3570 if (TEST_Z(_flag_a, _flag_b)) goto L_2B092F37; /* 0x2B092F11: je 0x2b092f37 */ 3571 L_2B092F13: 3572 esi = MEM32(ebp + 0x8); /* 0x2B092F13: mov esi, dword ptr [ebp + 8] */ 3573 ecx = edi; /* 0x2B092F16: mov ecx, edi */ 3574 edi = MEM32(ebp + (-0x1C)); /* 0x2B092F18: mov edi, dword ptr [ebp - 0x1c] */ 3575 eax = ecx; /* 0x2B092F1B: mov eax, ecx */ 3576 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B092F1D: shr ecx, 2 */ 3577 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3578 ecx = ecx >> 2u; /* 0x2B092F1D: shr ecx, 2 */ 3579 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B092F20: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 3580 ecx = eax; /* 0x2B092F22: mov ecx, eax */ 3581 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 3582 ecx = ecx & 3; /* 0x2B092F24: and ecx, 3 */ 3583 _cf = 0; 3584 _flag_k = FK_TEST; 3585 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B092F27: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; } 3586 ecx = eax; /* 0x2B092F29: mov ecx, eax */ 3587 PUSH32(esp, ecx); /* 0x2B092F2B: push ecx */ 3588 ecx = ebp + (-0x20); /* 0x2B092F2C: lea ecx, [ebp - 0x20] */ 3589 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B092F2F: call dword ptr [0x2b0b5150] */ 3590 RECOMP_FLAGS_IN(); 3591 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3592 esi = 0; /* 0x2B092F35: xor esi, esi */ 3593 _cf = 0; 3594 _flag_k = FK_TEST; 3595 L_2B092F37: 3596 MEM32(ebp + (-0x10)) = esi; /* 0x2B092F37: mov dword ptr [ebp - 0x10], esi */ 3597 edx = ebp + (-0x20); /* 0x2B092F3A: lea edx, [ebp - 0x20] */ 3598 PUSH32(esp, edx); /* 0x2B092F3D: push edx */ 3599 ecx = ebx + 0x44; /* 0x2B092F3E: lea ecx, [ebx + 0x44] */ 3600 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B092F41: mov byte ptr [ebp - 4], 3 */ 3601 RECOMP_ICALL(MEM32(0x2B0B5A8C)); /* 0x2B092F45: call dword ptr [0x2b0b5a8c] */ 3602 RECOMP_FLAGS_IN(); 3603 eax = MEM32(ebp + (-0x10)); /* 0x2B092F4B: mov eax, dword ptr [ebp - 0x10] */ 3604 /* cmp eax, esi */ /* 0x2B092F4E: cmp eax, esi */ 3605 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 3606 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3607 _flag_k = FK_CMP; 3608 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B092F50: mov byte ptr [ebp - 4], 4 */ 3609 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092F7B; /* 0x2B092F54: je 0x2b092f7b */ 3610 L_2B092F56: 3611 edx = MEM32(eax + 0x2C); /* 0x2B092F56: mov edx, dword ptr [eax + 0x2c] */ 3612 edi = eax; /* 0x2B092F59: mov edi, eax */ 3613 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 3614 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3615 eax = eax + 0x2Cu; /* 0x2B092F5B: add eax, 0x2c */ 3616 _flag_k = FK_ADD; 3617 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 3618 edx = edx - 1; /* 0x2B092F5E: dec edx */ 3619 _flag_k = FK_DEC; 3620 ecx = edx; /* 0x2B092F5F: mov ecx, edx */ 3621 /* cmp ecx, esi */ /* 0x2B092F61: cmp ecx, esi */ 3622 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 3623 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3624 _flag_k = FK_CMP; 3625 MEM32(eax) = edx; /* 0x2B092F63: mov dword ptr [eax], edx */ 3626 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092F7B; /* 0x2B092F65: jne 0x2b092f7b */ 3627 L_2B092F67: 3628 /* cmp edi, esi */ /* 0x2B092F67: cmp edi, esi */ 3629 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 3630 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3631 _flag_k = FK_CMP; 3632 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092F7B; /* 0x2B092F69: je 0x2b092f7b */ 3633 L_2B092F6B: 3634 ecx = edi; /* 0x2B092F6B: mov ecx, edi */ 3635 RECOMP_ICALL(0x2B005B40u); /* 0x2B092F6D: call 0x2b005b40 */ /* not lifted */ 3636 RECOMP_FLAGS_IN(); 3637 PUSH32(esp, edi); /* 0x2B092F72: push edi */ 3638 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B092F73: call 0x2b0ab1ba */ /* not lifted */ 3639 RECOMP_FLAGS_IN(); 3640 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3641 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3642 esp = esp + 4; /* 0x2B092F78: add esp, 4 */ 3643 _flag_k = FK_ADD; 3644 L_2B092F7B: 3645 PUSH32(esp, 1); /* 0x2B092F7B: push 1 */ 3646 ecx = ebp + (-0x20); /* 0x2B092F7D: lea ecx, [ebp - 0x20] */ 3647 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B092F80: mov byte ptr [ebp - 4], 2 */ 3648 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B092F84: call dword ptr [0x2b0b514c] */ 3649 RECOMP_FLAGS_IN(); 3650 PUSH32(esp, 0x40u); /* 0x2B092F8A: push 0x40 */ 3651 MEM32(ebp + (-0x48)) = 0xA8u; /* 0x2B092F8C: mov dword ptr [ebp - 0x48], 0xa8 */ 3652 MEM32(ebp + (-0x44)) = 0xA9u; /* 0x2B092F93: mov dword ptr [ebp - 0x44], 0xa9 */ 3653 MEM32(ebp + (-0x4C)) = 0xAAu; /* 0x2B092F9A: mov dword ptr [ebp - 0x4c], 0xaa */ 3654 MEM32(ebp + (-0x50)) = 0xABu; /* 0x2B092FA1: mov dword ptr [ebp - 0x50], 0xab */ 3655 MEM32(ebp + (-0x54)) = 0xACu; /* 0x2B092FA8: mov dword ptr [ebp - 0x54], 0xac */ 3656 MEM32(ebp + (-0x58)) = 0xADu; /* 0x2B092FAF: mov dword ptr [ebp - 0x58], 0xad */ 3657 MEM32(ebp + (-0x60)) = 0xAEu; /* 0x2B092FB6: mov dword ptr [ebp - 0x60], 0xae */ 3658 MEM32(ebp + (-0x5C)) = 0xAFu; /* 0x2B092FBD: mov dword ptr [ebp - 0x5c], 0xaf */ 3659 RECOMP_ICALL(0x2B0AB212u); /* 0x2B092FC4: call 0x2b0ab212 */ /* not lifted */ 3660 RECOMP_FLAGS_IN(); 3661 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3662 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3663 esp = esp + 4; /* 0x2B092FC9: add esp, 4 */ 3664 _flag_k = FK_ADD; 3665 MEM32(ebp + 0x8) = eax; /* 0x2B092FCC: mov dword ptr [ebp + 8], eax */ 3666 /* cmp eax, esi */ /* 0x2B092FCF: cmp eax, esi */ 3667 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 3668 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3669 _flag_k = FK_CMP; 3670 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B092FD1: mov byte ptr [ebp - 4], 5 */ 3671 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092FF2; /* 0x2B092FD5: je 0x2b092ff2 */ 3672 L_2B092FD7: 3673 ecx = MEM32(ebx + 0x84); /* 0x2B092FD7: mov ecx, dword ptr [ebx + 0x84] */ 3674 PUSH32(esp, ecx); /* 0x2B092FDD: push ecx */ 3675 PUSH32(esp, ebx); /* 0x2B092FDE: push ebx */ 3676 PUSH32(esp, 0x2B095CC0u); /* 0x2B092FDF: push 0x2b095cc0 */ 3677 edx = ebp + (-0x60); /* 0x2B092FE4: lea edx, [ebp - 0x60] */ 3678 PUSH32(esp, edx); /* 0x2B092FE7: push edx */ 3679 ecx = eax; /* 0x2B092FE8: mov ecx, eax */ 3680 RECOMP_ICALL(MEM32(0x2B0B59F4)); /* 0x2B092FEA: call dword ptr [0x2b0b59f4] */ 3681 RECOMP_FLAGS_IN(); 3682 goto L_2B092FF4; /* 0x2B092FF0: jmp 0x2b092ff4 */ 3683 L_2B092FF2: 3684 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3685 eax = 0; /* 0x2B092FF2: xor eax, eax */ 3686 _cf = 0; 3687 _flag_k = FK_TEST; 3688 L_2B092FF4: 3689 MEM32(ebx + 0x8) = eax; /* 0x2B092FF4: mov dword ptr [ebx + 8], eax */ 3690 eax = MEM32(eax + 0x3C); /* 0x2B092FF7: mov eax, dword ptr [eax + 0x3c] */ 3691 PUSH32(esp, 0x14u); /* 0x2B092FFA: push 0x14 */ 3692 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B092FFC: mov byte ptr [ebp - 4], 2 */ 3693 MEM32(eax + 0x90) = 0x2B095D40u; /* 0x2B093000: mov dword ptr [eax + 0x90], 0x2b095d40 */ 3694 MEM32(eax + 0x94) = ebx; /* 0x2B09300A: mov dword ptr [eax + 0x94], ebx */ 3695 RECOMP_ICALL(0x2B0AB212u); /* 0x2B093010: call 0x2b0ab212 */ /* not lifted */ 3696 RECOMP_FLAGS_IN(); 3697 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3698 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3699 esp = esp + 4; /* 0x2B093015: add esp, 4 */ 3700 _flag_k = FK_ADD; 3701 MEM32(ebp + 0x8) = eax; /* 0x2B093018: mov dword ptr [ebp + 8], eax */ 3702 /* cmp eax, esi */ /* 0x2B09301B: cmp eax, esi */ 3703 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 3704 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3705 _flag_k = FK_CMP; 3706 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B09301D: mov byte ptr [ebp - 4], 6 */ 3707 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093034; /* 0x2B093021: je 0x2b093034 */ 3708 L_2B093023: 3709 ecx = MEM32(ebx + 0x84); /* 0x2B093023: mov ecx, dword ptr [ebx + 0x84] */ 3710 PUSH32(esp, ecx); /* 0x2B093029: push ecx */ 3711 ecx = eax; /* 0x2B09302A: mov ecx, eax */ 3712 RECOMP_ICALL(MEM32(0x2B0B5B10)); /* 0x2B09302C: call dword ptr [0x2b0b5b10] */ 3713 RECOMP_FLAGS_IN(); 3714 goto L_2B093036; /* 0x2B093032: jmp 0x2b093036 */ 3715 L_2B093034: 3716 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3717 eax = 0; /* 0x2B093034: xor eax, eax */ 3718 _cf = 0; 3719 _flag_k = FK_TEST; 3720 L_2B093036: 3721 PUSH32(esp, 0x00202020u); /* 0x2B093036: push 0x202020 */ 3722 ecx = eax; /* 0x2B09303B: mov ecx, eax */ 3723 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B09303D: mov byte ptr [ebp - 4], 2 */ 3724 MEM32(ebx + 0xC) = eax; /* 0x2B093041: mov dword ptr [ebx + 0xc], eax */ 3725 RECOMP_ICALL(MEM32(0x2B0B5B0C)); /* 0x2B093044: call dword ptr [0x2b0b5b0c] */ 3726 RECOMP_FLAGS_IN(); 3727 PUSH32(esp, 0x70u); /* 0x2B09304A: push 0x70 */ 3728 RECOMP_ICALL(0x2B0AB212u); /* 0x2B09304C: call 0x2b0ab212 */ /* not lifted */ 3729 RECOMP_FLAGS_IN(); 3730 edi = eax; /* 0x2B093051: mov edi, eax */ 3731 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3732 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3733 esp = esp + 4; /* 0x2B093053: add esp, 4 */ 3734 _flag_k = FK_ADD; 3735 MEM32(ebp + 0x8) = edi; /* 0x2B093056: mov dword ptr [ebp + 8], edi */ 3736 /* cmp edi, esi */ /* 0x2B093059: cmp edi, esi */ 3737 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 3738 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3739 _flag_k = FK_CMP; 3740 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B09305B: mov byte ptr [ebp - 4], 7 */ 3741 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093099; /* 0x2B09305F: je 0x2b093099 */ 3742 L_2B093061: 3743 PUSH32(esp, esi); /* 0x2B093061: push esi */ 3744 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B093062: push -1 */ 3745 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B093064: push -1 */ 3746 PUSH32(esp, 0x3Cu); /* 0x2B093066: push 0x3c */ 3747 PUSH32(esp, esi); /* 0x2B093068: push esi */ 3748 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 3749 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3750 esp = esp - 0x10u; /* 0x2B093069: sub esp, 0x10 */ 3751 _flag_k = FK_CMP; 3752 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3753 eax = 0; /* 0x2B09306C: xor eax, eax */ 3754 _cf = 0; 3755 _flag_k = FK_TEST; 3756 edx = esp; /* 0x2B09306E: mov edx, esp */ 3757 MEM32(edx) = eax; /* 0x2B093070: mov dword ptr [edx], eax */ 3758 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3759 ecx = 0; /* 0x2B093072: xor ecx, ecx */ 3760 _cf = 0; 3761 _flag_k = FK_TEST; 3762 MEM32(edx + 0x4) = ecx; /* 0x2B093074: mov dword ptr [edx + 4], ecx */ 3763 MEM32(edx + 0x8) = eax; /* 0x2B093077: mov dword ptr [edx + 8], eax */ 3764 MEM32(edx + 0xC) = eax; /* 0x2B09307A: mov dword ptr [edx + 0xc], eax */ 3765 eax = MEM32(ebx + 0x84); /* 0x2B09307D: mov eax, dword ptr [ebx + 0x84] */ 3766 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 3767 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3768 eax = eax + 4; /* 0x2B093083: add eax, 4 */ 3769 _flag_k = FK_ADD; 3770 PUSH32(esp, eax); /* 0x2B093086: push eax */ 3771 PUSH32(esp, esi); /* 0x2B093087: push esi */ 3772 PUSH32(esp, esi); /* 0x2B093088: push esi */ 3773 ecx = edi; /* 0x2B093089: mov ecx, edi */ 3774 RECOMP_ICALL(MEM32(0x2B0B5C00)); /* 0x2B09308B: call dword ptr [0x2b0b5c00] */ 3775 RECOMP_FLAGS_IN(); 3776 MEM32(edi) = 0x2B0B6164u; /* 0x2B093091: mov dword ptr [edi], 0x2b0b6164 */ 3777 goto L_2B09309B; /* 0x2B093097: jmp 0x2b09309b */ 3778 L_2B093099: 3779 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3780 edi = 0; /* 0x2B093099: xor edi, edi */ 3781 _cf = 0; 3782 _flag_k = FK_TEST; 3783 L_2B09309B: 3784 MEM32(ebx + 0x20) = edi; /* 0x2B09309B: mov dword ptr [ebx + 0x20], edi */ 3785 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3786 eax = 0; /* 0x2B09309E: xor eax, eax */ 3787 _cf = 0; 3788 _flag_k = FK_TEST; 3789 ecx = 0xCu; /* 0x2B0930A0: mov ecx, 0xc */ 3790 edi = ebp + (-0x94); /* 0x2B0930A5: lea edi, [ebp - 0x94] */ 3791 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0930AB: 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; } 3792 ecx = MEM32(ebx + 0x84); /* 0x2B0930AD: mov ecx, dword ptr [ebx + 0x84] */ 3793 edi = MEM32(0x2B0B5F80); /* 0x2B0930B3: mov edi, dword ptr [0x2b0b5f80] */ 3794 PUSH32(esp, 2); /* 0x2B0930B9: push 2 */ 3795 edx = ebp + (-0x14); /* 0x2B0930BB: lea edx, [ebp - 0x14] */ 3796 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 3797 ecx = ecx + 1; /* 0x2B0930BE: inc ecx */ 3798 _flag_k = FK_INC; 3799 PUSH32(esp, 0xB0u); /* 0x2B0930BF: push 0xb0 */ 3800 PUSH32(esp, edx); /* 0x2B0930C4: push edx */ 3801 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B0930C5: mov byte ptr [ebp - 4], 2 */ 3802 MEM32(ebp + (-0x34)) = esi; /* 0x2B0930C9: mov dword ptr [ebp - 0x34], esi */ 3803 MEM32(ebp + (-0x30)) = esi; /* 0x2B0930CC: mov dword ptr [ebp - 0x30], esi */ 3804 MEM32(ebp + (-0x7C)) = ecx; /* 0x2B0930CF: mov dword ptr [ebp - 0x7c], ecx */ 3805 MEM32(ebp + (-0x74)) = 0xB0u; /* 0x2B0930D2: mov dword ptr [ebp - 0x74], 0xb0 */ 3806 MEM32(ebp + (-0x70)) = 0xB1u; /* 0x2B0930D9: mov dword ptr [ebp - 0x70], 0xb1 */ 3807 RECOMP_ICALL(edi); /* 0x2B0930E0: call edi */ 3808 RECOMP_FLAGS_IN(); 3809 ecx = eax; /* 0x2B0930E2: mov ecx, eax */ 3810 RECOMP_ICALL(MEM32(0x2B0B5F7C)); /* 0x2B0930E4: call dword ptr [0x2b0b5f7c] */ 3811 RECOMP_FLAGS_IN(); 3812 ecx = MEM32(eax); /* 0x2B0930EA: mov ecx, dword ptr [eax] */ 3813 MEM32(ebp + (-0x28)) = ecx; /* 0x2B0930EC: mov dword ptr [ebp - 0x28], ecx */ 3814 edx = MEM32(eax + 0x4); /* 0x2B0930EF: mov edx, dword ptr [eax + 4] */ 3815 PUSH32(esp, 2); /* 0x2B0930F2: push 2 */ 3816 eax = ebp + (-0x14); /* 0x2B0930F4: lea eax, [ebp - 0x14] */ 3817 PUSH32(esp, 0xB0u); /* 0x2B0930F7: push 0xb0 */ 3818 PUSH32(esp, eax); /* 0x2B0930FC: push eax */ 3819 MEM32(ebp + (-0x24)) = edx; /* 0x2B0930FD: mov dword ptr [ebp - 0x24], edx */ 3820 MEM32(ebp + (-0x74)) = 0xB0u; /* 0x2B093100: mov dword ptr [ebp - 0x74], 0xb0 */ 3821 MEM32(ebp + (-0x70)) = 0xB1u; /* 0x2B093107: mov dword ptr [ebp - 0x70], 0xb1 */ 3822 RECOMP_ICALL(edi); /* 0x2B09310E: call edi */ 3823 RECOMP_FLAGS_IN(); 3824 ecx = eax; /* 0x2B093110: mov ecx, eax */ 3825 RECOMP_ICALL(MEM32(0x2B0B5F7C)); /* 0x2B093112: call dword ptr [0x2b0b5f7c] */ 3826 RECOMP_FLAGS_IN(); 3827 ecx = MEM32(eax); /* 0x2B093118: mov ecx, dword ptr [eax] */ 3828 MEM32(ebp + (-0x28)) = ecx; /* 0x2B09311A: mov dword ptr [ebp - 0x28], ecx */ 3829 edx = MEM32(eax + 0x4); /* 0x2B09311D: mov edx, dword ptr [eax + 4] */ 3830 PUSH32(esp, 0x50u); /* 0x2B093120: push 0x50 */ 3831 MEM32(ebp + (-0x24)) = edx; /* 0x2B093122: mov dword ptr [ebp - 0x24], edx */ 3832 RECOMP_ICALL(0x2B0AB212u); /* 0x2B093125: call 0x2b0ab212 */ /* not lifted */ 3833 RECOMP_FLAGS_IN(); 3834 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3835 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3836 esp = esp + 4; /* 0x2B09312A: add esp, 4 */ 3837 _flag_k = FK_ADD; 3838 MEM32(ebp + 0x8) = eax; /* 0x2B09312D: mov dword ptr [ebp + 8], eax */ 3839 /* cmp eax, esi */ /* 0x2B093130: cmp eax, esi */ 3840 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 3841 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3842 _flag_k = FK_CMP; 3843 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B093132: mov byte ptr [ebp - 4], 8 */ 3844 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093163; /* 0x2B093136: je 0x2b093163 */ 3845 L_2B093138: 3846 ecx = MEM32(ebx + 0x84); /* 0x2B093138: mov ecx, dword ptr [ebx + 0x84] */ 3847 PUSH32(esp, esi); /* 0x2B09313E: push esi */ 3848 PUSH32(esp, 0x3F800000u); /* 0x2B09313F: push 0x3f800000 */ 3849 PUSH32(esp, 0x3F800000u); /* 0x2B093144: push 0x3f800000 */ 3850 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 3851 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3852 ecx = ecx + 2; /* 0x2B093149: add ecx, 2 */ 3853 _flag_k = FK_ADD; 3854 PUSH32(esp, ecx); /* 0x2B09314C: push ecx */ 3855 edx = ebp + (-0x34); /* 0x2B09314D: lea edx, [ebp - 0x34] */ 3856 PUSH32(esp, edx); /* 0x2B093150: push edx */ 3857 ecx = ebp + (-0x28); /* 0x2B093151: lea ecx, [ebp - 0x28] */ 3858 PUSH32(esp, ecx); /* 0x2B093154: push ecx */ 3859 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B093155: push -1 */ 3860 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B093157: push -1 */ 3861 ecx = eax; /* 0x2B093159: mov ecx, eax */ 3862 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B09315B: call dword ptr [0x2b0b5bd8] */ 3863 RECOMP_FLAGS_IN(); 3864 goto L_2B093165; /* 0x2B093161: jmp 0x2b093165 */ 3865 L_2B093163: 3866 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3867 eax = 0; /* 0x2B093163: xor eax, eax */ 3868 _cf = 0; 3869 _flag_k = FK_TEST; 3870 L_2B093165: 3871 PUSH32(esp, 1); /* 0x2B093165: push 1 */ 3872 MEM32(ebx + 0x10) = eax; /* 0x2B093167: mov dword ptr [ebx + 0x10], eax */ 3873 eax = MEM32(eax + 0x28); /* 0x2B09316A: mov eax, dword ptr [eax + 0x28] */ 3874 PUSH32(esp, esi); /* 0x2B09316D: push esi */ 3875 PUSH32(esp, esi); /* 0x2B09316E: push esi */ 3876 ecx = eax; /* 0x2B09316F: mov ecx, eax */ 3877 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B093171: mov byte ptr [ebp - 4], 2 */ 3878 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B093175: call dword ptr [0x2b0b564c] */ 3879 RECOMP_FLAGS_IN(); 3880 PUSH32(esp, 0xBCu); /* 0x2B09317B: push 0xbc */ 3881 RECOMP_ICALL(0x2B0AB212u); /* 0x2B093180: call 0x2b0ab212 */ /* not lifted */ 3882 RECOMP_FLAGS_IN(); 3883 edi = eax; /* 0x2B093185: mov edi, eax */ 3884 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3885 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3886 esp = esp + 4; /* 0x2B093187: add esp, 4 */ 3887 _flag_k = FK_ADD; 3888 MEM32(ebp + 0x8) = edi; /* 0x2B09318A: mov dword ptr [ebp + 8], edi */ 3889 /* cmp edi, esi */ /* 0x2B09318D: cmp edi, esi */ 3890 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 3891 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3892 _flag_k = FK_CMP; 3893 MEM8(ebp + (-0x4)) = (uint8_t)(9); /* 0x2B09318F: mov byte ptr [ebp - 4], 9 */ 3894 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0931B2; /* 0x2B093193: je 0x2b0931b2 */ 3895 L_2B093195: 3896 edx = MEM32(ebx + 0x10); /* 0x2B093195: mov edx, dword ptr [ebx + 0x10] */ 3897 PUSH32(esp, edx); /* 0x2B093198: push edx */ 3898 eax = ebp + (-0x94); /* 0x2B093199: lea eax, [ebp - 0x94] */ 3899 PUSH32(esp, eax); /* 0x2B09319F: push eax */ 3900 ecx = edi; /* 0x2B0931A0: mov ecx, edi */ 3901 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B0931A2: call dword ptr [0x2b0b5afc] */ 3902 RECOMP_FLAGS_IN(); 3903 MEM32(edi) = 0x2B0B645Cu; /* 0x2B0931A8: mov dword ptr [edi], 0x2b0b645c */ 3904 ecx = edi; /* 0x2B0931AE: mov ecx, edi */ 3905 goto L_2B0931B4; /* 0x2B0931B0: jmp 0x2b0931b4 */ 3906 L_2B0931B2: 3907 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3908 ecx = 0; /* 0x2B0931B2: xor ecx, ecx */ 3909 _cf = 0; 3910 _flag_k = FK_TEST; 3911 L_2B0931B4: 3912 PUSH32(esp, ebx); /* 0x2B0931B4: push ebx */ 3913 PUSH32(esp, 0x2B095D00u); /* 0x2B0931B5: push 0x2b095d00 */ 3914 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B0931BA: mov byte ptr [ebp - 4], 2 */ 3915 MEM32(ebx + 0x14) = ecx; /* 0x2B0931BE: mov dword ptr [ebx + 0x14], ecx */ 3916 RECOMP_ICALL(MEM32(0x2B0B5820)); /* 0x2B0931C1: call dword ptr [0x2b0b5820] */ 3917 RECOMP_FLAGS_IN(); 3918 PUSH32(esp, 2); /* 0x2B0931C7: push 2 */ 3919 ecx = ebp + (-0x14); /* 0x2B0931C9: lea ecx, [ebp - 0x14] */ 3920 PUSH32(esp, 0xB2u); /* 0x2B0931CC: push 0xb2 */ 3921 PUSH32(esp, ecx); /* 0x2B0931D1: push ecx */ 3922 MEM32(ebp + (-0x74)) = 0xB2u; /* 0x2B0931D2: mov dword ptr [ebp - 0x74], 0xb2 */ 3923 MEM32(ebp + (-0x70)) = 0xB3u; /* 0x2B0931D9: mov dword ptr [ebp - 0x70], 0xb3 */ 3924 MEM32(ebp + (-0x94)) = 1; /* 0x2B0931E0: mov dword ptr [ebp - 0x94], 1 */ 3925 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B0931EA: call dword ptr [0x2b0b5f80] */ 3926 RECOMP_FLAGS_IN(); 3927 ecx = eax; /* 0x2B0931F0: mov ecx, eax */ 3928 RECOMP_ICALL(MEM32(0x2B0B5F7C)); /* 0x2B0931F2: call dword ptr [0x2b0b5f7c] */ 3929 RECOMP_FLAGS_IN(); 3930 edx = MEM32(eax); /* 0x2B0931F8: mov edx, dword ptr [eax] */ 3931 MEM32(ebp + (-0x28)) = edx; /* 0x2B0931FA: mov dword ptr [ebp - 0x28], edx */ 3932 eax = MEM32(eax + 0x4); /* 0x2B0931FD: mov eax, dword ptr [eax + 4] */ 3933 PUSH32(esp, 0x50u); /* 0x2B093200: push 0x50 */ 3934 MEM32(ebp + (-0x24)) = eax; /* 0x2B093202: mov dword ptr [ebp - 0x24], eax */ 3935 RECOMP_ICALL(0x2B0AB212u); /* 0x2B093205: call 0x2b0ab212 */ /* not lifted */ 3936 RECOMP_FLAGS_IN(); 3937 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3938 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3939 esp = esp + 4; /* 0x2B09320A: add esp, 4 */ 3940 _flag_k = FK_ADD; 3941 MEM32(ebp + 0x8) = eax; /* 0x2B09320D: mov dword ptr [ebp + 8], eax */ 3942 /* cmp eax, esi */ /* 0x2B093210: cmp eax, esi */ 3943 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 3944 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3945 _flag_k = FK_CMP; 3946 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B093212: mov byte ptr [ebp - 4], 0xa */ 3947 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093243; /* 0x2B093216: je 0x2b093243 */ 3948 L_2B093218: 3949 ecx = MEM32(ebx + 0x84); /* 0x2B093218: mov ecx, dword ptr [ebx + 0x84] */ 3950 PUSH32(esp, esi); /* 0x2B09321E: push esi */ 3951 PUSH32(esp, 0x3F800000u); /* 0x2B09321F: push 0x3f800000 */ 3952 PUSH32(esp, 0x3F800000u); /* 0x2B093224: push 0x3f800000 */ 3953 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 3954 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3955 ecx = ecx + 2; /* 0x2B093229: add ecx, 2 */ 3956 _flag_k = FK_ADD; 3957 PUSH32(esp, ecx); /* 0x2B09322C: push ecx */ 3958 edx = ebp + (-0x34); /* 0x2B09322D: lea edx, [ebp - 0x34] */ 3959 PUSH32(esp, edx); /* 0x2B093230: push edx */ 3960 ecx = ebp + (-0x28); /* 0x2B093231: lea ecx, [ebp - 0x28] */ 3961 PUSH32(esp, ecx); /* 0x2B093234: push ecx */ 3962 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B093235: push -1 */ 3963 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B093237: push -1 */ 3964 ecx = eax; /* 0x2B093239: mov ecx, eax */ 3965 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B09323B: call dword ptr [0x2b0b5bd8] */ 3966 RECOMP_FLAGS_IN(); 3967 goto L_2B093245; /* 0x2B093241: jmp 0x2b093245 */ 3968 L_2B093243: 3969 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3970 eax = 0; /* 0x2B093243: xor eax, eax */ 3971 _cf = 0; 3972 _flag_k = FK_TEST; 3973 L_2B093245: 3974 PUSH32(esp, 1); /* 0x2B093245: push 1 */ 3975 MEM32(ebx + 0x18) = eax; /* 0x2B093247: mov dword ptr [ebx + 0x18], eax */ 3976 eax = MEM32(eax + 0x28); /* 0x2B09324A: mov eax, dword ptr [eax + 0x28] */ 3977 PUSH32(esp, esi); /* 0x2B09324D: push esi */ 3978 PUSH32(esp, esi); /* 0x2B09324E: push esi */ 3979 ecx = eax; /* 0x2B09324F: mov ecx, eax */ 3980 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B093251: mov byte ptr [ebp - 4], 2 */ 3981 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B093255: call dword ptr [0x2b0b564c] */ 3982 RECOMP_FLAGS_IN(); 3983 PUSH32(esp, 0xBCu); /* 0x2B09325B: push 0xbc */ 3984 RECOMP_ICALL(0x2B0AB212u); /* 0x2B093260: call 0x2b0ab212 */ /* not lifted */ 3985 RECOMP_FLAGS_IN(); 3986 edi = eax; /* 0x2B093265: mov edi, eax */ 3987 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3988 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3989 esp = esp + 4; /* 0x2B093267: add esp, 4 */ 3990 _flag_k = FK_ADD; 3991 MEM32(ebp + 0x8) = edi; /* 0x2B09326A: mov dword ptr [ebp + 8], edi */ 3992 /* cmp edi, esi */ /* 0x2B09326D: cmp edi, esi */ 3993 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 3994 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3995 _flag_k = FK_CMP; 3996 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B09326F: mov byte ptr [ebp - 4], 0xb */ 3997 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093292; /* 0x2B093273: je 0x2b093292 */ 3998 L_2B093275: 3999 edx = MEM32(ebx + 0x18); /* 0x2B093275: mov edx, dword ptr [ebx + 0x18] */ 4000 PUSH32(esp, edx); /* 0x2B093278: push edx */ 4001 eax = ebp + (-0x94); /* 0x2B093279: lea eax, [ebp - 0x94] */ 4002 PUSH32(esp, eax); /* 0x2B09327F: push eax */ 4003 ecx = edi; /* 0x2B093280: mov ecx, edi */ 4004 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B093282: call dword ptr [0x2b0b5afc] */ 4005 RECOMP_FLAGS_IN(); 4006 MEM32(edi) = 0x2B0B645Cu; /* 0x2B093288: mov dword ptr [edi], 0x2b0b645c */ 4007 ecx = edi; /* 0x2B09328E: mov ecx, edi */ 4008 goto L_2B093294; /* 0x2B093290: jmp 0x2b093294 */ 4009 L_2B093292: 4010 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4011 ecx = 0; /* 0x2B093292: xor ecx, ecx */ 4012 _cf = 0; 4013 _flag_k = FK_TEST; 4014 L_2B093294: 4015 PUSH32(esp, ebx); /* 0x2B093294: push ebx */ 4016 PUSH32(esp, 0x2B095D20u); /* 0x2B093295: push 0x2b095d20 */ 4017 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B09329A: mov byte ptr [ebp - 4], 2 */ 4018 MEM32(ebx + 0x1C) = ecx; /* 0x2B09329E: mov dword ptr [ebx + 0x1c], ecx */ 4019 RECOMP_ICALL(MEM32(0x2B0B5820)); /* 0x2B0932A1: call dword ptr [0x2b0b5820] */ 4020 RECOMP_FLAGS_IN(); 4021 ecx = MEM32(0x2B0B6048); /* 0x2B0932A7: mov ecx, dword ptr [0x2b0b6048] */ 4022 ecx = MEM32(ecx); /* 0x2B0932AD: mov ecx, dword ptr [ecx] */ 4023 PUSH32(esp, 1); /* 0x2B0932AF: push 1 */ 4024 PUSH32(esp, 0x2B0ED404u); /* 0x2B0932B1: push 0x2b0ed404 */ 4025 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B0932B6: call dword ptr [0x2b0b602c] */ 4026 RECOMP_FLAGS_IN(); 4027 /* test eax, eax */ /* 0x2B0932BC: test eax, eax */ 4028 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4029 _cf = 0; 4030 _flag_k = FK_TEST; 4031 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0932CB; /* 0x2B0932BE: je 0x2b0932cb */ 4032 L_2B0932C0: 4033 ecx = MEM32(ebx + 0x1C); /* 0x2B0932C0: mov ecx, dword ptr [ebx + 0x1c] */ 4034 PUSH32(esp, 2); /* 0x2B0932C3: push 2 */ 4035 RECOMP_ICALL(MEM32(0x2B0B5AB4)); /* 0x2B0932C5: call dword ptr [0x2b0b5ab4] */ 4036 RECOMP_FLAGS_IN(); 4037 L_2B0932CB: 4038 PUSH32(esp, 0xB4u); /* 0x2B0932CB: push 0xb4 */ 4039 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0932D0: call 0x2b0ab212 */ /* not lifted */ 4040 RECOMP_FLAGS_IN(); 4041 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4042 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4043 esp = esp + 4; /* 0x2B0932D5: add esp, 4 */ 4044 _flag_k = FK_ADD; 4045 MEM32(ebp + 0x8) = eax; /* 0x2B0932D8: mov dword ptr [ebp + 8], eax */ 4046 /* cmp eax, esi */ /* 0x2B0932DB: cmp eax, esi */ 4047 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 4048 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4049 _flag_k = FK_CMP; 4050 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x2B0932DD: mov byte ptr [ebp - 4], 0xc */ 4051 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093324; /* 0x2B0932E1: je 0x2b093324 */ 4052 L_2B0932E3: 4053 edx = MEM32(ebx + 0x84); /* 0x2B0932E3: mov edx, dword ptr [ebx + 0x84] */ 4054 PUSH32(esp, 0xB9u); /* 0x2B0932E9: push 0xb9 */ 4055 PUSH32(esp, 0xB8u); /* 0x2B0932EE: push 0xb8 */ 4056 PUSH32(esp, 0xB7u); /* 0x2B0932F3: push 0xb7 */ 4057 PUSH32(esp, 0xB6u); /* 0x2B0932F8: push 0xb6 */ 4058 PUSH32(esp, 0xB5u); /* 0x2B0932FD: push 0xb5 */ 4059 PUSH32(esp, 0xB4u); /* 0x2B093302: push 0xb4 */ 4060 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(2); 4061 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4062 edx = edx + 2; /* 0x2B093307: add edx, 2 */ 4063 _flag_k = FK_ADD; 4064 PUSH32(esp, edx); /* 0x2B09330A: push edx */ 4065 ecx = ebp + (-0x14); /* 0x2B09330B: lea ecx, [ebp - 0x14] */ 4066 edi = 0x40u; /* 0x2B09330E: mov edi, 0x40 */ 4067 PUSH32(esp, ecx); /* 0x2B093313: push ecx */ 4068 ecx = eax; /* 0x2B093314: mov ecx, eax */ 4069 MEM32(ebp + (-0x14)) = edi; /* 0x2B093316: mov dword ptr [ebp - 0x14], edi */ 4070 MEM32(ebp + (-0x10)) = edi; /* 0x2B093319: mov dword ptr [ebp - 0x10], edi */ 4071 RECOMP_ICALL(MEM32(0x2B0B5A04)); /* 0x2B09331C: call dword ptr [0x2b0b5a04] */ 4072 RECOMP_FLAGS_IN(); 4073 goto L_2B09332B; /* 0x2B093322: jmp 0x2b09332b */ 4074 L_2B093324: 4075 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4076 eax = 0; /* 0x2B093324: xor eax, eax */ 4077 _cf = 0; 4078 _flag_k = FK_TEST; 4079 edi = 0x40u; /* 0x2B093326: mov edi, 0x40 */ 4080 L_2B09332B: 4081 MEM32(ebx + 0x24) = eax; /* 0x2B09332B: mov dword ptr [ebx + 0x24], eax */ 4082 PUSH32(esp, 0xB4u); /* 0x2B09332E: push 0xb4 */ 4083 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B093333: mov byte ptr [ebp - 4], 2 */ 4084 MEM32(eax + 0x2C) = 0x2B095D60u; /* 0x2B093337: mov dword ptr [eax + 0x2c], 0x2b095d60 */ 4085 MEM32(eax + 0x30) = ebx; /* 0x2B09333E: mov dword ptr [eax + 0x30], ebx */ 4086 RECOMP_ICALL(0x2B0AB212u); /* 0x2B093341: call 0x2b0ab212 */ /* not lifted */ 4087 RECOMP_FLAGS_IN(); 4088 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4089 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4090 esp = esp + 4; /* 0x2B093346: add esp, 4 */ 4091 _flag_k = FK_ADD; 4092 MEM32(ebp + 0x8) = eax; /* 0x2B093349: mov dword ptr [ebp + 8], eax */ 4093 /* cmp eax, esi */ /* 0x2B09334C: cmp eax, esi */ 4094 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 4095 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4096 _flag_k = FK_CMP; 4097 MEM8(ebp + (-0x4)) = (uint8_t)(0xDu); /* 0x2B09334E: mov byte ptr [ebp - 4], 0xd */ 4098 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093390; /* 0x2B093352: je 0x2b093390 */ 4099 L_2B093354: 4100 edx = MEM32(ebx + 0x84); /* 0x2B093354: mov edx, dword ptr [ebx + 0x84] */ 4101 PUSH32(esp, 0xB9u); /* 0x2B09335A: push 0xb9 */ 4102 PUSH32(esp, 0xB8u); /* 0x2B09335F: push 0xb8 */ 4103 PUSH32(esp, 0xB7u); /* 0x2B093364: push 0xb7 */ 4104 PUSH32(esp, 0xB6u); /* 0x2B093369: push 0xb6 */ 4105 PUSH32(esp, 0xB5u); /* 0x2B09336E: push 0xb5 */ 4106 PUSH32(esp, 0xB4u); /* 0x2B093373: push 0xb4 */ 4107 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(2); 4108 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4109 edx = edx + 2; /* 0x2B093378: add edx, 2 */ 4110 _flag_k = FK_ADD; 4111 PUSH32(esp, edx); /* 0x2B09337B: push edx */ 4112 ecx = ebp + (-0x14); /* 0x2B09337C: lea ecx, [ebp - 0x14] */ 4113 PUSH32(esp, ecx); /* 0x2B09337F: push ecx */ 4114 ecx = eax; /* 0x2B093380: mov ecx, eax */ 4115 MEM32(ebp + (-0x14)) = edi; /* 0x2B093382: mov dword ptr [ebp - 0x14], edi */ 4116 MEM32(ebp + (-0x10)) = edi; /* 0x2B093385: mov dword ptr [ebp - 0x10], edi */ 4117 RECOMP_ICALL(MEM32(0x2B0B5A04)); /* 0x2B093388: call dword ptr [0x2b0b5a04] */ 4118 RECOMP_FLAGS_IN(); 4119 goto L_2B093392; /* 0x2B09338E: jmp 0x2b093392 */ 4120 L_2B093390: 4121 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4122 eax = 0; /* 0x2B093390: xor eax, eax */ 4123 _cf = 0; 4124 _flag_k = FK_TEST; 4125 L_2B093392: 4126 MEM32(ebx + 0x28) = eax; /* 0x2B093392: mov dword ptr [ebx + 0x28], eax */ 4127 PUSH32(esp, 2); /* 0x2B093395: push 2 */ 4128 PUSH32(esp, 0xBAu); /* 0x2B093397: push 0xba */ 4129 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B09339C: mov byte ptr [ebp - 4], 2 */ 4130 MEM32(eax + 0x2C) = 0x2B095D60u; /* 0x2B0933A0: mov dword ptr [eax + 0x2c], 0x2b095d60 */ 4131 MEM32(eax + 0x30) = ebx; /* 0x2B0933A7: mov dword ptr [eax + 0x30], ebx */ 4132 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B0933AA: call dword ptr [0x2b0b5f80] */ 4133 RECOMP_FLAGS_IN(); 4134 ecx = eax; /* 0x2B0933B0: mov ecx, eax */ 4135 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B0933B2: call dword ptr [0x2b0b5fbc] */ 4136 RECOMP_FLAGS_IN(); 4137 PUSH32(esp, 0x34u); /* 0x2B0933B8: push 0x34 */ 4138 edi = eax; /* 0x2B0933BA: mov edi, eax */ 4139 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0933BC: call 0x2b0ab212 */ /* not lifted */ 4140 RECOMP_FLAGS_IN(); 4141 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4142 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4143 esp = esp + 4; /* 0x2B0933C1: add esp, 4 */ 4144 _flag_k = FK_ADD; 4145 MEM32(ebp + 0x8) = eax; /* 0x2B0933C4: mov dword ptr [ebp + 8], eax */ 4146 /* cmp eax, esi */ /* 0x2B0933C7: cmp eax, esi */ 4147 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 4148 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4149 _flag_k = FK_CMP; 4150 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x2B0933C9: mov byte ptr [ebp - 4], 0xe */ 4151 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0933F4; /* 0x2B0933CD: je 0x2b0933f4 */ 4152 L_2B0933CF: 4153 edx = MEM32(edi + 0x2C); /* 0x2B0933CF: mov edx, dword ptr [edi + 0x2c] */ 4154 ecx = MEM32(edi + 0x8); /* 0x2B0933D2: mov ecx, dword ptr [edi + 8] */ 4155 PUSH32(esp, edx); /* 0x2B0933D5: push edx */ 4156 edx = MEM32(edi + 0xC); /* 0x2B0933D6: mov edx, dword ptr [edi + 0xc] */ 4157 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 4158 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4159 ecx = ecx + 3; /* 0x2B0933D9: add ecx, 3 */ 4160 _flag_k = FK_ADD; 4161 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xFFFFFFFCu); 4162 ecx = ecx & 0xFFFFFFFCu; /* 0x2B0933DC: and ecx, 0xfffffffc */ 4163 _cf = 0; 4164 _flag_k = FK_TEST; 4165 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(3); 4166 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4167 edx = edx + 3; /* 0x2B0933DF: add edx, 3 */ 4168 _flag_k = FK_ADD; 4169 PUSH32(esp, ecx); /* 0x2B0933E2: push ecx */ 4170 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0xFFFFFFFCu); 4171 edx = edx & 0xFFFFFFFCu; /* 0x2B0933E3: and edx, 0xfffffffc */ 4172 _cf = 0; 4173 _flag_k = FK_TEST; 4174 PUSH32(esp, edx); /* 0x2B0933E6: push edx */ 4175 ecx = eax; /* 0x2B0933E7: mov ecx, eax */ 4176 RECOMP_ICALL(MEM32(0x2B0B5650)); /* 0x2B0933E9: call dword ptr [0x2b0b5650] */ 4177 RECOMP_FLAGS_IN(); 4178 MEM32(ebp + 0x8) = eax; /* 0x2B0933EF: mov dword ptr [ebp + 8], eax */ 4179 goto L_2B0933F7; /* 0x2B0933F2: jmp 0x2b0933f7 */ 4180 L_2B0933F4: 4181 MEM32(ebp + 0x8) = esi; /* 0x2B0933F4: mov dword ptr [ebp + 8], esi */ 4182 L_2B0933F7: 4183 ecx = MEM32(ebp + 0x8); /* 0x2B0933F7: mov ecx, dword ptr [ebp + 8] */ 4184 PUSH32(esp, esi); /* 0x2B0933FA: push esi */ 4185 PUSH32(esp, esi); /* 0x2B0933FB: push esi */ 4186 PUSH32(esp, esi); /* 0x2B0933FC: push esi */ 4187 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B0933FD: mov byte ptr [ebp - 4], 2 */ 4188 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B093401: call dword ptr [0x2b0b564c] */ 4189 RECOMP_FLAGS_IN(); 4190 MEM32(ebp + (-0x40)) = esi; /* 0x2B093407: mov dword ptr [ebp - 0x40], esi */ 4191 MEM32(ebp + (-0x3C)) = esi; /* 0x2B09340A: mov dword ptr [ebp - 0x3c], esi */ 4192 eax = MEM32(edi + 0xC); /* 0x2B09340D: mov eax, dword ptr [edi + 0xc] */ 4193 ecx = MEM32(edi + 0x8); /* 0x2B093410: mov ecx, dword ptr [edi + 8] */ 4194 PUSH32(esp, 0xFF00u); /* 0x2B093413: push 0xff00 */ 4195 MEM32(ebp + (-0x14)) = eax; /* 0x2B093418: mov dword ptr [ebp - 0x14], eax */ 4196 PUSH32(esp, edi); /* 0x2B09341B: push edi */ 4197 MEM32(ebp + (-0x10)) = ecx; /* 0x2B09341C: mov dword ptr [ebp - 0x10], ecx */ 4198 eax = ebp + (-0x40); /* 0x2B09341F: lea eax, [ebp - 0x40] */ 4199 PUSH32(esp, eax); /* 0x2B093422: push eax */ 4200 ecx = ebp + (-0x1C); /* 0x2B093423: lea ecx, [ebp - 0x1c] */ 4201 PUSH32(esp, ecx); /* 0x2B093426: push ecx */ 4202 ecx = MEM32(ebp + 0x8); /* 0x2B093427: mov ecx, dword ptr [ebp + 8] */ 4203 MEM32(ebp + (-0x1C)) = esi; /* 0x2B09342A: mov dword ptr [ebp - 0x1c], esi */ 4204 MEM32(ebp + (-0x18)) = esi; /* 0x2B09342D: mov dword ptr [ebp - 0x18], esi */ 4205 RECOMP_ICALL(MEM32(0x2B0B5554)); /* 0x2B093430: call dword ptr [0x2b0b5554] */ 4206 RECOMP_FLAGS_IN(); 4207 PUSH32(esp, edi); /* 0x2B093436: push edi */ 4208 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B093437: call dword ptr [0x2b0b5f80] */ 4209 RECOMP_FLAGS_IN(); 4210 ecx = eax; /* 0x2B09343D: mov ecx, eax */ 4211 RECOMP_ICALL(MEM32(0x2B0B5FB8)); /* 0x2B09343F: call dword ptr [0x2b0b5fb8] */ 4212 RECOMP_FLAGS_IN(); 4213 PUSH32(esp, 0xD8u); /* 0x2B093445: push 0xd8 */ 4214 RECOMP_ICALL(0x2B0AB212u); /* 0x2B09344A: call 0x2b0ab212 */ /* not lifted */ 4215 RECOMP_FLAGS_IN(); 4216 edi = eax; /* 0x2B09344F: mov edi, eax */ 4217 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4218 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4219 esp = esp + 4; /* 0x2B093451: add esp, 4 */ 4220 _flag_k = FK_ADD; 4221 MEM32(ebp + (-0x10)) = edi; /* 0x2B093454: mov dword ptr [ebp - 0x10], edi */ 4222 /* cmp edi, esi */ /* 0x2B093457: cmp edi, esi */ 4223 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 4224 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4225 _flag_k = FK_CMP; 4226 MEM8(ebp + (-0x4)) = (uint8_t)(0xFu); /* 0x2B093459: mov byte ptr [ebp - 4], 0xf */ 4227 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093498; /* 0x2B09345D: je 0x2b093498 */ 4228 L_2B09345F: 4229 ecx = MEM32(ebx + 0x84); /* 0x2B09345F: mov ecx, dword ptr [ebx + 0x84] */ 4230 edx = ebp + (-0x2C); /* 0x2B093465: lea edx, [ebp - 0x2c] */ 4231 PUSH32(esp, edx); /* 0x2B093468: push edx */ 4232 edx = MEM32(ebp + 0x8); /* 0x2B093469: mov edx, dword ptr [ebp + 8] */ 4233 eax = ebp + (-0x38); /* 0x2B09346C: lea eax, [ebp - 0x38] */ 4234 PUSH32(esp, eax); /* 0x2B09346F: push eax */ 4235 PUSH32(esp, esi); /* 0x2B093470: push esi */ 4236 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8); 4237 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4238 ecx = ecx + 8; /* 0x2B093471: add ecx, 8 */ 4239 _flag_k = FK_ADD; 4240 PUSH32(esp, ecx); /* 0x2B093474: push ecx */ 4241 PUSH32(esp, edx); /* 0x2B093475: push edx */ 4242 eax = ebp + (-0x34); /* 0x2B093476: lea eax, [ebp - 0x34] */ 4243 PUSH32(esp, eax); /* 0x2B093479: push eax */ 4244 ecx = edi; /* 0x2B09347A: mov ecx, edi */ 4245 MEM32(ebp + (-0x2C)) = 0x3F800000u; /* 0x2B09347C: mov dword ptr [ebp - 0x2c], 0x3f800000 */ 4246 MEM32(ebp + (-0x38)) = 0x3F800000u; /* 0x2B093483: mov dword ptr [ebp - 0x38], 0x3f800000 */ 4247 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B09348A: call dword ptr [0x2b0b5654] */ 4248 RECOMP_FLAGS_IN(); 4249 MEM32(edi) = 0x2B0B618Cu; /* 0x2B093490: mov dword ptr [edi], 0x2b0b618c */ 4250 goto L_2B09349A; /* 0x2B093496: jmp 0x2b09349a */ 4251 L_2B093498: 4252 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4253 edi = 0; /* 0x2B093498: xor edi, edi */ 4254 _cf = 0; 4255 _flag_k = FK_TEST; 4256 L_2B09349A: 4257 PUSH32(esp, 0x5Cu); /* 0x2B09349A: push 0x5c */ 4258 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B09349C: mov byte ptr [ebp - 4], 2 */ 4259 MEM32(ebx + 0x2C) = edi; /* 0x2B0934A0: mov dword ptr [ebx + 0x2c], edi */ 4260 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0934A3: call 0x2b0ab212 */ /* not lifted */ 4261 RECOMP_FLAGS_IN(); 4262 edi = eax; /* 0x2B0934A8: mov edi, eax */ 4263 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4264 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4265 esp = esp + 4; /* 0x2B0934AA: add esp, 4 */ 4266 _flag_k = FK_ADD; 4267 MEM32(ebp + (-0x10)) = edi; /* 0x2B0934AD: mov dword ptr [ebp - 0x10], edi */ 4268 /* cmp edi, esi */ /* 0x2B0934B0: cmp edi, esi */ 4269 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 4270 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4271 _flag_k = FK_CMP; 4272 MEM8(ebp + (-0x4)) = (uint8_t)(0x10u); /* 0x2B0934B2: mov byte ptr [ebp - 4], 0x10 */ 4273 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0934F3; /* 0x2B0934B6: je 0x2b0934f3 */ 4274 L_2B0934B8: 4275 eax = MEM32(ebx + 0x84); /* 0x2B0934B8: mov eax, dword ptr [ebx + 0x84] */ 4276 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 4277 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4278 eax = eax + 8; /* 0x2B0934BE: add eax, 8 */ 4279 _flag_k = FK_ADD; 4280 PUSH32(esp, esi); /* 0x2B0934C1: push esi */ 4281 ecx = edi; /* 0x2B0934C2: mov ecx, edi */ 4282 MEM32(ebp + 0x8) = eax; /* 0x2B0934C4: mov dword ptr [ebp + 8], eax */ 4283 RECOMP_ICALL(MEM32(0x2B0B5990)); /* 0x2B0934C7: call dword ptr [0x2b0b5990] */ 4284 RECOMP_FLAGS_IN(); 4285 ecx = MEM32(ebp + 0x8); /* 0x2B0934CD: mov ecx, dword ptr [ebp + 8] */ 4286 PUSH32(esp, ecx); /* 0x2B0934D0: push ecx */ 4287 ecx = edi; /* 0x2B0934D1: mov ecx, edi */ 4288 MEM8(ebp + (-0x4)) = (uint8_t)(0x11u); /* 0x2B0934D3: mov byte ptr [ebp - 4], 0x11 */ 4289 MEM32(edi) = 0x2B0B7200u; /* 0x2B0934D7: mov dword ptr [edi], 0x2b0b7200 */ 4290 MEM32(edi + 0x54) = ebx; /* 0x2B0934DD: mov dword ptr [edi + 0x54], ebx */ 4291 MEM32(edi + 0x58) = esi; /* 0x2B0934E0: mov dword ptr [edi + 0x58], esi */ 4292 RECOMP_ICALL(MEM32(0x2B0B59A0)); /* 0x2B0934E3: call dword ptr [0x2b0b59a0] */ 4293 RECOMP_FLAGS_IN(); 4294 MEM8(edi + 0x24) = (uint8_t)(1); /* 0x2B0934E9: mov byte ptr [edi + 0x24], 1 */ 4295 MEM8(edi + 0x25) = (uint8_t)(1); /* 0x2B0934ED: mov byte ptr [edi + 0x25], 1 */ 4296 goto L_2B0934F5; /* 0x2B0934F1: jmp 0x2b0934f5 */ 4297 L_2B0934F3: 4298 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4299 edi = 0; /* 0x2B0934F3: xor edi, edi */ 4300 _cf = 0; 4301 _flag_k = FK_TEST; 4302 L_2B0934F5: 4303 eax = ebx + 0x3C; /* 0x2B0934F5: lea eax, [ebx + 0x3c] */ 4304 PUSH32(esp, esi); /* 0x2B0934F8: push esi */ 4305 PUSH32(esp, eax); /* 0x2B0934F9: push eax */ 4306 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B0934FA: mov byte ptr [ebp - 4], 2 */ 4307 MEM32(ebx + 0x30) = edi; /* 0x2B0934FE: mov dword ptr [ebx + 0x30], edi */ 4308 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B093501: call dword ptr [0x2b0b5d6c] */ 4309 RECOMP_FLAGS_IN(); 4310 ecx = eax; /* 0x2B093507: mov ecx, eax */ 4311 RECOMP_ICALL(MEM32(0x2B0B5EE0)); /* 0x2B093509: call dword ptr [0x2b0b5ee0] */ 4312 RECOMP_FLAGS_IN(); 4313 if (21u) _cf = (((eax) >> 20) & 1u); /* 0x2B09350F: shr eax, 0x15 */ 4314 if (21u) { _flag_a = recomp_flags_pack((eax >> 21u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4315 eax = eax >> 21u; /* 0x2B09350F: shr eax, 0x15 */ 4316 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4317 SET_LO8(eax, LO8(eax) & 1); /* 0x2B093512: and al, 1 */ 4318 _cf = 0; 4319 _flag_k = FK_NARROW(FK_TEST, 24); 4320 PUSH32(esp, 0x34u); /* 0x2B093514: push 0x34 */ 4321 MEM8(ebp + 0x8) = (uint8_t)(LO8(eax)); /* 0x2B093516: mov byte ptr [ebp + 8], al */ 4322 RECOMP_ICALL(0x2B0AB212u); /* 0x2B093519: call 0x2b0ab212 */ /* not lifted */ 4323 RECOMP_FLAGS_IN(); 4324 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4325 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4326 esp = esp + 4; /* 0x2B09351E: add esp, 4 */ 4327 _flag_k = FK_ADD; 4328 MEM32(ebp + (-0x10)) = eax; /* 0x2B093521: mov dword ptr [ebp - 0x10], eax */ 4329 /* cmp eax, esi */ /* 0x2B093524: cmp eax, esi */ 4330 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 4331 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4332 _flag_k = FK_CMP; 4333 MEM8(ebp + (-0x4)) = (uint8_t)(0x12u); /* 0x2B093526: mov byte ptr [ebp - 4], 0x12 */ 4334 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093549; /* 0x2B09352A: je 0x2b093549 */ 4335 L_2B09352C: 4336 edx = MEM32(ebp + 0x8); /* 0x2B09352C: mov edx, dword ptr [ebp + 8] */ 4337 ecx = MEM32(ebp + 0x10); /* 0x2B09352F: mov ecx, dword ptr [ebp + 0x10] */ 4338 PUSH32(esp, edx); /* 0x2B093532: push edx */ 4339 edx = MEM32(ebp + 0xC); /* 0x2B093533: mov edx, dword ptr [ebp + 0xc] */ 4340 PUSH32(esp, ecx); /* 0x2B093536: push ecx */ 4341 ecx = MEM32(ebx + 0x84); /* 0x2B093537: mov ecx, dword ptr [ebx + 0x84] */ 4342 PUSH32(esp, edx); /* 0x2B09353D: push edx */ 4343 PUSH32(esp, ecx); /* 0x2B09353E: push ecx */ 4344 PUSH32(esp, ebx); /* 0x2B09353F: push ebx */ 4345 ecx = eax; /* 0x2B093540: mov ecx, eax */ 4346 RECOMP_ICALL(0x2B0925C0u); /* 0x2B093542: call 0x2b0925c0 */ /* not lifted */ 4347 RECOMP_FLAGS_IN(); 4348 goto L_2B09354B; /* 0x2B093547: jmp 0x2b09354b */ 4349 L_2B093549: 4350 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4351 eax = 0; /* 0x2B093549: xor eax, eax */ 4352 _cf = 0; 4353 _flag_k = FK_TEST; 4354 L_2B09354B: 4355 PUSH32(esp, 0xE6u); /* 0x2B09354B: push 0xe6 */ 4356 ecx = ebx; /* 0x2B093550: mov ecx, ebx */ 4357 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B093552: mov byte ptr [ebp - 4], 2 */ 4358 MEM32(ebx + 0x34) = eax; /* 0x2B093556: mov dword ptr [ebx + 0x34], eax */ 4359 RECOMP_ICALL(0x2B095110u); /* 0x2B093559: call 0x2b095110 */ /* not lifted */ 4360 RECOMP_FLAGS_IN(); 4361 edi = MEM32(0x2B0B5F80); /* 0x2B09355E: mov edi, dword ptr [0x2b0b5f80] */ 4362 PUSH32(esp, 2); /* 0x2B093564: push 2 */ 4363 edx = ebp + (-0x14); /* 0x2B093566: lea edx, [ebp - 0x14] */ 4364 PUSH32(esp, 0x96u); /* 0x2B093569: push 0x96 */ 4365 PUSH32(esp, edx); /* 0x2B09356E: push edx */ 4366 RECOMP_ICALL(edi); /* 0x2B09356F: call edi */ 4367 RECOMP_FLAGS_IN(); 4368 ecx = eax; /* 0x2B093571: mov ecx, eax */ 4369 RECOMP_ICALL(MEM32(0x2B0B5F7C)); /* 0x2B093573: call dword ptr [0x2b0b5f7c] */ 4370 RECOMP_FLAGS_IN(); 4371 esi = MEM32(eax); /* 0x2B093579: mov esi, dword ptr [eax] */ 4372 PUSH32(esp, 2); /* 0x2B09357B: push 2 */ 4373 eax = ebp + (-0x14); /* 0x2B09357D: lea eax, [ebp - 0x14] */ 4374 PUSH32(esp, 0xA2u); /* 0x2B093580: push 0xa2 */ 4375 PUSH32(esp, eax); /* 0x2B093585: push eax */ 4376 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 4377 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4378 esi = esi + 0x10u; /* 0x2B093586: add esi, 0x10 */ 4379 _flag_k = FK_ADD; 4380 RECOMP_ICALL(edi); /* 0x2B093589: call edi */ 4381 RECOMP_FLAGS_IN(); 4382 ecx = eax; /* 0x2B09358B: mov ecx, eax */ 4383 RECOMP_ICALL(MEM32(0x2B0B5F7C)); /* 0x2B09358D: call dword ptr [0x2b0b5f7c] */ 4384 RECOMP_FLAGS_IN(); 4385 ecx = MEM32(ebx + 0x8); /* 0x2B093593: mov ecx, dword ptr [ebx + 8] */ 4386 eax = MEM32(eax + 0x4); /* 0x2B093596: mov eax, dword ptr [eax + 4] */ 4387 edx = MEM32(ecx + 0x3C); /* 0x2B093599: mov edx, dword ptr [ecx + 0x3c] */ 4388 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 4389 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4390 eax = eax + 0x10u; /* 0x2B09359C: add eax, 0x10 */ 4391 _flag_k = FK_ADD; 4392 MEM32(edx + 0x6C) = esi; /* 0x2B09359F: mov dword ptr [edx + 0x6c], esi */ 4393 PUSH32(esp, 0x3Bu); /* 0x2B0935A2: push 0x3b */ 4394 MEM32(edx + 0x70) = eax; /* 0x2B0935A4: mov dword ptr [edx + 0x70], eax */ 4395 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B0935A7: call dword ptr [0x2b0b5b64] */ 4396 RECOMP_FLAGS_IN(); 4397 ecx = eax; /* 0x2B0935AD: mov ecx, eax */ 4398 RECOMP_ICALL(MEM32(0x2B0B5AA0)); /* 0x2B0935AF: call dword ptr [0x2b0b5aa0] */ 4399 RECOMP_FLAGS_IN(); 4400 eax = ebx + 0x9C; /* 0x2B0935B5: lea eax, [ebx + 0x9c] */ 4401 PUSH32(esp, eax); /* 0x2B0935BB: push eax */ 4402 ecx = ebx; /* 0x2B0935BC: mov ecx, ebx */ 4403 RECOMP_ICALL(0x2B0955C0u); /* 0x2B0935BE: call 0x2b0955c0 */ /* not lifted */ 4404 RECOMP_FLAGS_IN(); 4405 ecx = ebx; /* 0x2B0935C3: mov ecx, ebx */ 4406 RECOMP_ICALL(0x2B094F20u); /* 0x2B0935C5: call 0x2b094f20 */ /* not lifted */ 4407 RECOMP_FLAGS_IN(); 4408 ecx = MEM32(ebp + (-0xC)); /* 0x2B0935CA: mov ecx, dword ptr [ebp - 0xc] */ 4409 edi = POP32_VAL(esp); /* 0x2B0935CD: pop edi */ 4410 esi = POP32_VAL(esp); /* 0x2B0935CE: pop esi */ 4411 eax = ebx; /* 0x2B0935CF: mov eax, ebx */ 4412 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0935D1: mov dword ptr fs:[0], ecx */ 4413 ebx = POP32_VAL(esp); /* 0x2B0935D8: pop ebx */ 4414 esp = ebp; /* 0x2B0935D9: mov esp, ebp */ 4415 ebp = POP32_VAL(esp); /* 0x2B0935DB: pop ebp */ 4416 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B0935DC: ret 0xc */ 4417 RECOMP_REGS_OUT(); 4418 } 4419 4420 void sub_2B0935E0(void) { 4421 int _fpu_cmp = 0; 4422 uint32_t _cf = 0; 4423 int _df = 1; 4424 uint32_t _flag_k = FK_NONE; 4425 uint32_t _flag_a = 0, _flag_b = 0; 4426 uint32_t _itail_tgt = 0; 4427 RECOMP_REGS_LOCALS 4428 RECOMP_ENTER(0x2B0935E0u); 4429 4430 L_2B0935E0: 4431 eax = 0x2B0ED454u; /* 0x2B0935E0: mov eax, 0x2b0ed454 */ 4432 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0935E5: ret */ 4433 RECOMP_REGS_OUT(); 4434 } 4435 4436 void sub_2B0935F0(void) { 4437 int _fpu_cmp = 0; 4438 uint32_t _cf = 0; 4439 int _df = 1; 4440 uint32_t _flag_k = FK_NONE; 4441 uint32_t _flag_a = 0, _flag_b = 0; 4442 uint32_t _itail_tgt = 0; 4443 RECOMP_REGS_LOCALS 4444 RECOMP_ENTER(0x2B0935F0u); 4445 4446 L_2B0935F0: 4447 PUSH32(esp, ebp); /* 0x2B0935F0: push ebp */ 4448 ebp = esp; /* 0x2B0935F1: mov ebp, esp */ 4449 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 4450 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4451 esp = esp - 0x10u; /* 0x2B0935F3: sub esp, 0x10 */ 4452 _flag_k = FK_CMP; 4453 SET_LO8(eax, MEM8(ebp + 0x14)); /* 0x2B0935F6: mov al, byte ptr [ebp + 0x14] */ 4454 /* test LO8(eax), LO8(eax) */ /* 0x2B0935F9: test al, al */ 4455 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4456 _cf = 0; 4457 _flag_k = FK_NARROW(FK_TEST, 24); 4458 PUSH32(esp, esi); /* 0x2B0935FB: push esi */ 4459 PUSH32(esp, edi); /* 0x2B0935FC: push edi */ 4460 edi = ecx; /* 0x2B0935FD: mov edi, ecx */ 4461 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09364B; /* 0x2B0935FF: jne 0x2b09364b */ 4462 L_2B093601: 4463 esi = MEM32(ebp + 0xC); /* 0x2B093601: mov esi, dword ptr [ebp + 0xc] */ 4464 eax = MEM32(ebp + 0x8); /* 0x2B093604: mov eax, dword ptr [ebp + 8] */ 4465 PUSH32(esp, esi); /* 0x2B093607: push esi */ 4466 PUSH32(esp, eax); /* 0x2B093608: push eax */ 4467 RECOMP_ICALL(MEM32(0x2B0B5974)); /* 0x2B093609: call dword ptr [0x2b0b5974] */ 4468 RECOMP_FLAGS_IN(); 4469 /* test LO8(eax), LO8(eax) */ /* 0x2B09360F: test al, al */ 4470 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4471 _cf = 0; 4472 _flag_k = FK_NARROW(FK_TEST, 24); 4473 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09364B; /* 0x2B093611: je 0x2b09364b */ 4474 L_2B093613: 4475 PUSH32(esp, 3); /* 0x2B093613: push 3 */ 4476 PUSH32(esp, 2); /* 0x2B093615: push 2 */ 4477 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B093617: call dword ptr [0x2b0b53cc] */ 4478 RECOMP_FLAGS_IN(); 4479 ecx = eax; /* 0x2B09361D: mov ecx, eax */ 4480 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B09361F: call dword ptr [0x2b0b53c8] */ 4481 RECOMP_FLAGS_IN(); 4482 ecx = edi + 0x2C; /* 0x2B093625: lea ecx, [edi + 0x2c] */ 4483 edx = MEM32(ecx); /* 0x2B093628: mov edx, dword ptr [ecx] */ 4484 eax = MEM32(ecx + 0x4); /* 0x2B09362A: mov eax, dword ptr [ecx + 4] */ 4485 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 4486 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4487 esi = esi - eax; /* 0x2B09362D: sub esi, eax */ 4488 _flag_k = FK_CMP; 4489 MEM32(ebp + (-0x10)) = edx; /* 0x2B09362F: mov dword ptr [ebp - 0x10], edx */ 4490 edx = MEM32(ecx + 0x8); /* 0x2B093632: mov edx, dword ptr [ecx + 8] */ 4491 ecx = MEM32(ecx + 0xC); /* 0x2B093635: mov ecx, dword ptr [ecx + 0xc] */ 4492 MEM32(edi + 0x58) = esi; /* 0x2B093638: mov dword ptr [edi + 0x58], esi */ 4493 edi = POP32_VAL(esp); /* 0x2B09363B: pop edi */ 4494 MEM32(ebp + (-0x8)) = edx; /* 0x2B09363C: mov dword ptr [ebp - 8], edx */ 4495 MEM32(ebp + (-0x4)) = ecx; /* 0x2B09363F: mov dword ptr [ebp - 4], ecx */ 4496 SET_LO8(eax, 1); /* 0x2B093642: mov al, 1 */ 4497 esi = POP32_VAL(esp); /* 0x2B093644: pop esi */ 4498 esp = ebp; /* 0x2B093645: mov esp, ebp */ 4499 ebp = POP32_VAL(esp); /* 0x2B093647: pop ebp */ 4500 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B093648: ret 0x10 */ 4501 L_2B09364B: 4502 edi = POP32_VAL(esp); /* 0x2B09364B: pop edi */ 4503 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 4504 SET_LO8(eax, 0); /* 0x2B09364C: xor al, al */ 4505 _cf = 0; 4506 _flag_k = FK_NARROW(FK_TEST, 24); 4507 esi = POP32_VAL(esp); /* 0x2B09364E: pop esi */ 4508 esp = ebp; /* 0x2B09364F: mov esp, ebp */ 4509 ebp = POP32_VAL(esp); /* 0x2B093651: pop ebp */ 4510 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B093652: ret 0x10 */ 4511 RECOMP_REGS_OUT(); 4512 } 4513 4514 void sub_2B093660(void) { 4515 int _fpu_cmp = 0; 4516 uint32_t _cf = 0; 4517 int _df = 1; 4518 uint32_t _flag_k = FK_NONE; 4519 uint32_t _flag_a = 0, _flag_b = 0; 4520 uint32_t _itail_tgt = 0; 4521 RECOMP_REGS_LOCALS 4522 RECOMP_ENTER(0x2B093660u); 4523 4524 L_2B093660: 4525 PUSH32(esp, ebp); /* 0x2B093660: push ebp */ 4526 ebp = esp; /* 0x2B093661: mov ebp, esp */ 4527 edx = MEM32(ecx + 0x58); /* 0x2B093663: mov edx, dword ptr [ecx + 0x58] */ 4528 eax = MEM32(ebp + 0xC); /* 0x2B093666: mov eax, dword ptr [ebp + 0xc] */ 4529 ecx = MEM32(ecx + 0x54); /* 0x2B093669: mov ecx, dword ptr [ecx + 0x54] */ 4530 PUSH32(esp, 0); /* 0x2B09366C: push 0 */ 4531 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4532 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4533 eax = eax - edx; /* 0x2B09366E: sub eax, edx */ 4534 _flag_k = FK_CMP; 4535 PUSH32(esp, eax); /* 0x2B093670: push eax */ 4536 RECOMP_ICALL(0x2B095900u); /* 0x2B093671: call 0x2b095900 */ /* not lifted */ 4537 RECOMP_FLAGS_IN(); 4538 PUSH32(esp, 3); /* 0x2B093676: push 3 */ 4539 PUSH32(esp, 2); /* 0x2B093678: push 2 */ 4540 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B09367A: call dword ptr [0x2b0b53cc] */ 4541 RECOMP_FLAGS_IN(); 4542 ecx = eax; /* 0x2B093680: mov ecx, eax */ 4543 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B093682: call dword ptr [0x2b0b53c8] */ 4544 RECOMP_FLAGS_IN(); 4545 SET_LO8(eax, 1); /* 0x2B093688: mov al, 1 */ 4546 ebp = POP32_VAL(esp); /* 0x2B09368A: pop ebp */ 4547 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B09368B: ret 8 */ 4548 RECOMP_REGS_OUT(); 4549 } 4550 4551 void sub_2B093690(void) { 4552 int _fpu_cmp = 0; 4553 uint32_t _cf = 0; 4554 int _df = 1; 4555 uint32_t _flag_k = FK_NONE; 4556 uint32_t _flag_a = 0, _flag_b = 0; 4557 uint32_t _itail_tgt = 0; 4558 RECOMP_REGS_LOCALS 4559 RECOMP_ENTER(0x2B093690u); 4560 4561 L_2B093690: 4562 PUSH32(esp, ebp); /* 0x2B093690: push ebp */ 4563 ebp = esp; /* 0x2B093691: mov ebp, esp */ 4564 edx = MEM32(ecx + 0x58); /* 0x2B093693: mov edx, dword ptr [ecx + 0x58] */ 4565 eax = MEM32(ebp + 0xC); /* 0x2B093696: mov eax, dword ptr [ebp + 0xc] */ 4566 ecx = MEM32(ecx + 0x54); /* 0x2B093699: mov ecx, dword ptr [ecx + 0x54] */ 4567 PUSH32(esp, 1); /* 0x2B09369C: push 1 */ 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; /* 0x2B09369E: sub eax, edx */ 4571 _flag_k = FK_CMP; 4572 PUSH32(esp, eax); /* 0x2B0936A0: push eax */ 4573 RECOMP_ICALL(0x2B095900u); /* 0x2B0936A1: call 0x2b095900 */ /* not lifted */ 4574 RECOMP_FLAGS_IN(); 4575 ebp = POP32_VAL(esp); /* 0x2B0936A6: pop ebp */ 4576 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0936A7: ret 8 */ 4577 RECOMP_REGS_OUT(); 4578 } 4579 4580 void sub_2B0936B0(void) { 4581 int _fpu_cmp = 0; 4582 uint32_t _cf = 0; 4583 int _df = 1; 4584 uint32_t _flag_k = FK_NONE; 4585 uint32_t _flag_a = 0, _flag_b = 0; 4586 uint32_t _itail_tgt = 0; 4587 RECOMP_REGS_LOCALS 4588 RECOMP_ENTER(0x2B0936B0u); 4589 4590 L_2B0936B0: 4591 PUSH32(esp, ebp); /* 0x2B0936B0: push ebp */ 4592 ebp = esp; /* 0x2B0936B1: mov ebp, esp */ 4593 PUSH32(esp, esi); /* 0x2B0936B3: push esi */ 4594 esi = ecx; /* 0x2B0936B4: mov esi, ecx */ 4595 RECOMP_ICALL(0x2B0936E0u); /* 0x2B0936B6: call 0x2b0936e0 */ /* not lifted */ 4596 RECOMP_FLAGS_IN(); 4597 /* test MEM8(ebp + 0x8), 1 */ /* 0x2B0936BB: test byte ptr [ebp + 8], 1 */ 4598 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 4599 _cf = 0; 4600 _flag_k = FK_NARROW(FK_TEST, 24); 4601 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0936CA; /* 0x2B0936BF: je 0x2b0936ca */ 4602 L_2B0936C1: 4603 PUSH32(esp, esi); /* 0x2B0936C1: push esi */ 4604 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0936C2: call 0x2b0ab1ba */ /* not lifted */ 4605 RECOMP_FLAGS_IN(); 4606 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4607 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4608 esp = esp + 4; /* 0x2B0936C7: add esp, 4 */ 4609 _flag_k = FK_ADD; 4610 L_2B0936CA: 4611 eax = esi; /* 0x2B0936CA: mov eax, esi */ 4612 esi = POP32_VAL(esp); /* 0x2B0936CC: pop esi */ 4613 ebp = POP32_VAL(esp); /* 0x2B0936CD: pop ebp */ 4614 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0936CE: ret 4 */ 4615 RECOMP_REGS_OUT(); 4616 } 4617 4618 void sub_2B0936E0(void) { 4619 int _fpu_cmp = 0; 4620 uint32_t _cf = 0; 4621 int _df = 1; 4622 uint32_t _flag_k = FK_NONE; 4623 uint32_t _flag_a = 0, _flag_b = 0; 4624 uint32_t _itail_tgt = 0; 4625 RECOMP_REGS_LOCALS 4626 RECOMP_ENTER(0x2B0936E0u); 4627 4628 L_2B0936E0: 4629 { _itail_tgt = (uint32_t)(MEM32(0x2B0B59A4)); goto _ljump; } 4630 { RECOMP_REGS_OUT(); return; } /* end of function */ 4631 _ljump: 4632 switch (_itail_tgt) { 4633 case 0x2B0936E0u: goto L_2B0936E0; 4634 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 4635 } 4636 RECOMP_REGS_OUT(); 4637 } 4638 4639 void sub_2B0936F0(void) { 4640 int _fpu_cmp = 0; 4641 uint32_t _cf = 0; 4642 int _df = 1; 4643 uint32_t _flag_k = FK_NONE; 4644 uint32_t _flag_a = 0, _flag_b = 0; 4645 uint32_t _itail_tgt = 0; 4646 RECOMP_REGS_LOCALS 4647 RECOMP_ENTER(0x2B0936F0u); 4648 4649 L_2B0936F0: 4650 PUSH32(esp, ebp); /* 0x2B0936F0: push ebp */ 4651 ebp = esp; /* 0x2B0936F1: mov ebp, esp */ 4652 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0936F3: push -1 */ 4653 PUSH32(esp, 0x2B0B2EADu); /* 0x2B0936F5: push 0x2b0b2ead */ 4654 eax = MEM32(FS_BASE + (0)); /* 0x2B0936FA: mov eax, dword ptr fs:[0] */ 4655 PUSH32(esp, eax); /* 0x2B093700: push eax */ 4656 MEM32(FS_BASE + (0)) = esp; /* 0x2B093701: mov dword ptr fs:[0], esp */ 4657 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 4658 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4659 esp = esp - 0x14u; /* 0x2B093708: sub esp, 0x14 */ 4660 _flag_k = FK_CMP; 4661 PUSH32(esp, ebx); /* 0x2B09370B: push ebx */ 4662 PUSH32(esp, esi); /* 0x2B09370C: push esi */ 4663 esi = ecx; /* 0x2B09370D: mov esi, ecx */ 4664 PUSH32(esp, edi); /* 0x2B09370F: push edi */ 4665 MEM32(ebp + (-0x14)) = esi; /* 0x2B093710: mov dword ptr [ebp - 0x14], esi */ 4666 ebx = MEM32(0x2B0B5B64); /* 0x2B093713: mov ebx, dword ptr [0x2b0b5b64] */ 4667 PUSH32(esp, 0x3Bu); /* 0x2B093719: push 0x3b */ 4668 MEM32(ebp + (-0x4)) = 2; /* 0x2B09371B: mov dword ptr [ebp - 4], 2 */ 4669 RECOMP_ICALL(ebx); /* 0x2B093722: call ebx */ 4670 RECOMP_FLAGS_IN(); 4671 ecx = eax; /* 0x2B093724: mov ecx, eax */ 4672 RECOMP_ICALL(MEM32(0x2B0B5B68)); /* 0x2B093726: call dword ptr [0x2b0b5b68] */ 4673 RECOMP_FLAGS_IN(); 4674 edx = MEM32(esi + 0x94); /* 0x2B09372C: mov edx, dword ptr [esi + 0x94] */ 4675 eax = MEM32(0x2B0B6048); /* 0x2B093732: mov eax, dword ptr [0x2b0b6048] */ 4676 ecx = MEM32(eax); /* 0x2B093737: mov ecx, dword ptr [eax] */ 4677 edi = MEM32(0x2B0B604C); /* 0x2B093739: mov edi, dword ptr [0x2b0b604c] */ 4678 PUSH32(esp, 1); /* 0x2B09373F: push 1 */ 4679 PUSH32(esp, 1); /* 0x2B093741: push 1 */ 4680 PUSH32(esp, edx); /* 0x2B093743: push edx */ 4681 PUSH32(esp, 0x2B0ED438u); /* 0x2B093744: push 0x2b0ed438 */ 4682 RECOMP_ICALL(edi); /* 0x2B093749: call edi */ 4683 RECOMP_FLAGS_IN(); 4684 edx = MEM32(esi + 0x98); /* 0x2B09374B: mov edx, dword ptr [esi + 0x98] */ 4685 eax = MEM32(0x2B0B6048); /* 0x2B093751: mov eax, dword ptr [0x2b0b6048] */ 4686 ecx = MEM32(eax); /* 0x2B093756: mov ecx, dword ptr [eax] */ 4687 PUSH32(esp, 1); /* 0x2B093758: push 1 */ 4688 PUSH32(esp, 1); /* 0x2B09375A: push 1 */ 4689 PUSH32(esp, edx); /* 0x2B09375C: push edx */ 4690 PUSH32(esp, 0x2B0ED42Cu); /* 0x2B09375D: push 0x2b0ed42c */ 4691 RECOMP_ICALL(edi); /* 0x2B093762: call edi */ 4692 RECOMP_FLAGS_IN(); 4693 edx = MEM32(esi + 0x9C); /* 0x2B093764: mov edx, dword ptr [esi + 0x9c] */ 4694 eax = MEM32(0x2B0B6048); /* 0x2B09376A: mov eax, dword ptr [0x2b0b6048] */ 4695 ecx = MEM32(eax); /* 0x2B09376F: mov ecx, dword ptr [eax] */ 4696 PUSH32(esp, 1); /* 0x2B093771: push 1 */ 4697 PUSH32(esp, 1); /* 0x2B093773: push 1 */ 4698 PUSH32(esp, edx); /* 0x2B093775: push edx */ 4699 PUSH32(esp, 0x2B0ED420u); /* 0x2B093776: push 0x2b0ed420 */ 4700 RECOMP_ICALL(edi); /* 0x2B09377B: call edi */ 4701 RECOMP_FLAGS_IN(); 4702 edx = MEM32(esi + 0xA0); /* 0x2B09377D: mov edx, dword ptr [esi + 0xa0] */ 4703 eax = MEM32(0x2B0B6048); /* 0x2B093783: mov eax, dword ptr [0x2b0b6048] */ 4704 ecx = MEM32(eax); /* 0x2B093788: mov ecx, dword ptr [eax] */ 4705 PUSH32(esp, 1); /* 0x2B09378A: push 1 */ 4706 PUSH32(esp, 1); /* 0x2B09378C: push 1 */ 4707 PUSH32(esp, edx); /* 0x2B09378E: push edx */ 4708 PUSH32(esp, 0x2B0ED414u); /* 0x2B09378F: push 0x2b0ed414 */ 4709 RECOMP_ICALL(edi); /* 0x2B093794: call edi */ 4710 RECOMP_FLAGS_IN(); 4711 edx = MEM32(esi + 0x8C); /* 0x2B093796: mov edx, dword ptr [esi + 0x8c] */ 4712 eax = MEM32(0x2B0B6048); /* 0x2B09379C: mov eax, dword ptr [0x2b0b6048] */ 4713 ecx = MEM32(eax); /* 0x2B0937A1: mov ecx, dword ptr [eax] */ 4714 PUSH32(esp, 1); /* 0x2B0937A3: push 1 */ 4715 PUSH32(esp, 1); /* 0x2B0937A5: push 1 */ 4716 PUSH32(esp, edx); /* 0x2B0937A7: push edx */ 4717 PUSH32(esp, 0x2B0ED444u); /* 0x2B0937A8: push 0x2b0ed444 */ 4718 RECOMP_ICALL(MEM32(0x2B0B6060)); /* 0x2B0937AD: call dword ptr [0x2b0b6060] */ 4719 RECOMP_FLAGS_IN(); 4720 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x2B0937B3: fstp st(0) */ 4721 eax = MEM32(esi + 0x1C); /* 0x2B0937B5: mov eax, dword ptr [esi + 0x1c] */ 4722 eax = MEM32(eax + 0x54); /* 0x2B0937B8: mov eax, dword ptr [eax + 0x54] */ 4723 /* cmp eax, 1 */ /* 0x2B0937BB: cmp eax, 1 */ 4724 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 4725 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4726 _flag_k = FK_CMP; 4727 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0937D5; /* 0x2B0937BE: je 0x2b0937d5 */ 4728 L_2B0937C0: 4729 /* cmp eax, 3 */ /* 0x2B0937C0: cmp eax, 3 */ 4730 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 4731 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4732 _flag_k = FK_CMP; 4733 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0937D5; /* 0x2B0937C3: je 0x2b0937d5 */ 4734 L_2B0937C5: 4735 /* cmp eax, 2 */ /* 0x2B0937C5: cmp eax, 2 */ 4736 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 4737 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4738 _flag_k = FK_CMP; 4739 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0937CF; /* 0x2B0937C8: je 0x2b0937cf */ 4740 L_2B0937CA: 4741 /* cmp eax, 4 */ /* 0x2B0937CA: cmp eax, 4 */ 4742 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 4743 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4744 _flag_k = FK_CMP; 4745 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0937D5; /* 0x2B0937CD: jne 0x2b0937d5 */ 4746 L_2B0937CF: 4747 MEM8(ebp + (-0x10)) = (uint8_t)(1); /* 0x2B0937CF: mov byte ptr [ebp - 0x10], 1 */ 4748 goto L_2B0937D9; /* 0x2B0937D3: jmp 0x2b0937d9 */ 4749 L_2B0937D5: 4750 MEM8(ebp + (-0x10)) = (uint8_t)(0); /* 0x2B0937D5: mov byte ptr [ebp - 0x10], 0 */ 4751 L_2B0937D9: 4752 edx = MEM32(ebp + (-0x10)); /* 0x2B0937D9: mov edx, dword ptr [ebp - 0x10] */ 4753 eax = MEM32(0x2B0B6048); /* 0x2B0937DC: mov eax, dword ptr [0x2b0b6048] */ 4754 ecx = MEM32(eax); /* 0x2B0937E1: mov ecx, dword ptr [eax] */ 4755 PUSH32(esp, 1); /* 0x2B0937E3: push 1 */ 4756 PUSH32(esp, 1); /* 0x2B0937E5: push 1 */ 4757 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0xFFu); 4758 edx = edx & 0xFFu; /* 0x2B0937E7: and edx, 0xff */ 4759 _cf = 0; 4760 _flag_k = FK_TEST; 4761 PUSH32(esp, edx); /* 0x2B0937ED: push edx */ 4762 PUSH32(esp, 0x2B0ED404u); /* 0x2B0937EE: push 0x2b0ed404 */ 4763 RECOMP_ICALL(edi); /* 0x2B0937F3: call edi */ 4764 RECOMP_FLAGS_IN(); 4765 eax = MEM32(esi + 0x38); /* 0x2B0937F5: mov eax, dword ptr [esi + 0x38] */ 4766 /* test eax, eax */ /* 0x2B0937F8: test eax, eax */ 4767 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4768 _cf = 0; 4769 _flag_k = FK_TEST; 4770 if (TEST_Z(_flag_a, _flag_b)) goto L_2B093803; /* 0x2B0937FA: je 0x2b093803 */ 4771 L_2B0937FC: 4772 ecx = esi; /* 0x2B0937FC: mov ecx, esi */ 4773 RECOMP_ICALL(0x2B095BF0u); /* 0x2B0937FE: call 0x2b095bf0 */ /* not lifted */ 4774 RECOMP_FLAGS_IN(); 4775 L_2B093803: 4776 SET_LO8(eax, MEM8(esi + 0xA6)); /* 0x2B093803: mov al, byte ptr [esi + 0xa6] */ 4777 /* test LO8(eax), LO8(eax) */ /* 0x2B093809: test al, al */ 4778 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4779 _cf = 0; 4780 _flag_k = FK_NARROW(FK_TEST, 24); 4781 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09383C; /* 0x2B09380B: je 0x2b09383c */ 4782 L_2B09380D: 4783 RECOMP_ICALL(ebx); /* 0x2B09380D: call ebx */ 4784 RECOMP_FLAGS_IN(); 4785 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 4786 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4787 eax = eax + 0xD4u; /* 0x2B09380F: add eax, 0xd4 */ 4788 _flag_k = FK_ADD; 4789 ecx = ebp + (-0x20); /* 0x2B093814: lea ecx, [ebp - 0x20] */ 4790 /* cmp ecx, eax */ /* 0x2B093817: cmp ecx, eax */ 4791 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 4792 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4793 _flag_k = FK_CMP; 4794 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093826; /* 0x2B093819: je 0x2b093826 */ 4795 L_2B09381B: 4796 edx = MEM32(eax); /* 0x2B09381B: mov edx, dword ptr [eax] */ 4797 MEM32(ebp + (-0x20)) = edx; /* 0x2B09381D: mov dword ptr [ebp - 0x20], edx */ 4798 eax = MEM32(eax + 0x4); /* 0x2B093820: mov eax, dword ptr [eax + 4] */ 4799 MEM32(ebp + (-0x1C)) = eax; /* 0x2B093823: mov dword ptr [ebp - 0x1c], eax */ 4800 L_2B093826: 4801 ecx = esi + 0x3C; /* 0x2B093826: lea ecx, [esi + 0x3c] */ 4802 PUSH32(esp, ecx); /* 0x2B093829: push ecx */ 4803 edx = ebp + (-0x20); /* 0x2B09382A: lea edx, [ebp - 0x20] */ 4804 PUSH32(esp, edx); /* 0x2B09382D: push edx */ 4805 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B09382E: call dword ptr [0x2b0b5d6c] */ 4806 RECOMP_FLAGS_IN(); 4807 ecx = eax; /* 0x2B093834: mov ecx, eax */ 4808 RECOMP_ICALL(MEM32(0x2B0B5CD4)); /* 0x2B093836: call dword ptr [0x2b0b5cd4] */ 4809 RECOMP_FLAGS_IN(); 4810 L_2B09383C: 4811 ecx = MEM32(esi + 0x4); /* 0x2B09383C: mov ecx, dword ptr [esi + 4] */ 4812 /* test ecx, ecx */ /* 0x2B09383F: test ecx, ecx */ 4813 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 4814 _cf = 0; 4815 _flag_k = FK_TEST; 4816 if (TEST_Z(_flag_a, _flag_b)) goto L_2B093849; /* 0x2B093841: je 0x2b093849 */ 4817 L_2B093843: 4818 eax = MEM32(ecx); /* 0x2B093843: mov eax, dword ptr [ecx] */ 4819 PUSH32(esp, 1); /* 0x2B093845: push 1 */ 4820 RECOMP_ICALL(MEM32(eax)); /* 0x2B093847: call dword ptr [eax] */ 4821 RECOMP_FLAGS_IN(); 4822 L_2B093849: 4823 edi = MEM32(esi); /* 0x2B093849: mov edi, dword ptr [esi] */ 4824 /* test edi, edi */ /* 0x2B09384B: test edi, edi */ 4825 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4826 _cf = 0; 4827 _flag_k = FK_TEST; 4828 ebx = MEM32(0x2B0B5BC4); /* 0x2B09384D: mov ebx, dword ptr [0x2b0b5bc4] */ 4829 if (TEST_Z(_flag_a, _flag_b)) goto L_2B093862; /* 0x2B093853: je 0x2b093862 */ 4830 L_2B093855: 4831 ecx = edi; /* 0x2B093855: mov ecx, edi */ 4832 RECOMP_ICALL(ebx); /* 0x2B093857: call ebx */ 4833 RECOMP_FLAGS_IN(); 4834 PUSH32(esp, edi); /* 0x2B093859: push edi */ 4835 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09385A: call 0x2b0ab1ba */ /* not lifted */ 4836 RECOMP_FLAGS_IN(); 4837 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4838 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4839 esp = esp + 4; /* 0x2B09385F: add esp, 4 */ 4840 _flag_k = FK_ADD; 4841 L_2B093862: 4842 edi = MEM32(esi + 0x8); /* 0x2B093862: mov edi, dword ptr [esi + 8] */ 4843 /* test edi, edi */ /* 0x2B093865: test edi, edi */ 4844 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4845 _cf = 0; 4846 _flag_k = FK_TEST; 4847 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09387A; /* 0x2B093867: je 0x2b09387a */ 4848 L_2B093869: 4849 ecx = edi; /* 0x2B093869: mov ecx, edi */ 4850 RECOMP_ICALL(MEM32(0x2B0B5A00)); /* 0x2B09386B: call dword ptr [0x2b0b5a00] */ 4851 RECOMP_FLAGS_IN(); 4852 PUSH32(esp, edi); /* 0x2B093871: push edi */ 4853 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B093872: call 0x2b0ab1ba */ /* not lifted */ 4854 RECOMP_FLAGS_IN(); 4855 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4856 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4857 esp = esp + 4; /* 0x2B093877: add esp, 4 */ 4858 _flag_k = FK_ADD; 4859 L_2B09387A: 4860 edi = MEM32(esi + 0xC); /* 0x2B09387A: mov edi, dword ptr [esi + 0xc] */ 4861 /* test edi, edi */ /* 0x2B09387D: test edi, edi */ 4862 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4863 _cf = 0; 4864 _flag_k = FK_TEST; 4865 if (TEST_Z(_flag_a, _flag_b)) goto L_2B093892; /* 0x2B09387F: je 0x2b093892 */ 4866 L_2B093881: 4867 ecx = edi; /* 0x2B093881: mov ecx, edi */ 4868 RECOMP_ICALL(MEM32(0x2B0B5B2C)); /* 0x2B093883: call dword ptr [0x2b0b5b2c] */ 4869 RECOMP_FLAGS_IN(); 4870 PUSH32(esp, edi); /* 0x2B093889: push edi */ 4871 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09388A: call 0x2b0ab1ba */ /* not lifted */ 4872 RECOMP_FLAGS_IN(); 4873 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4874 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4875 esp = esp + 4; /* 0x2B09388F: add esp, 4 */ 4876 _flag_k = FK_ADD; 4877 L_2B093892: 4878 ecx = MEM32(esi + 0x20); /* 0x2B093892: mov ecx, dword ptr [esi + 0x20] */ 4879 /* test ecx, ecx */ /* 0x2B093895: test ecx, ecx */ 4880 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 4881 _cf = 0; 4882 _flag_k = FK_TEST; 4883 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09389F; /* 0x2B093897: je 0x2b09389f */ 4884 L_2B093899: 4885 edx = MEM32(ecx); /* 0x2B093899: mov edx, dword ptr [ecx] */ 4886 PUSH32(esp, 1); /* 0x2B09389B: push 1 */ 4887 RECOMP_ICALL(MEM32(edx)); /* 0x2B09389D: call dword ptr [edx] */ 4888 RECOMP_FLAGS_IN(); 4889 L_2B09389F: 4890 ecx = MEM32(esi + 0x14); /* 0x2B09389F: mov ecx, dword ptr [esi + 0x14] */ 4891 /* test ecx, ecx */ /* 0x2B0938A2: test ecx, ecx */ 4892 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 4893 _cf = 0; 4894 _flag_k = FK_TEST; 4895 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0938AC; /* 0x2B0938A4: je 0x2b0938ac */ 4896 L_2B0938A6: 4897 eax = MEM32(ecx); /* 0x2B0938A6: mov eax, dword ptr [ecx] */ 4898 PUSH32(esp, 1); /* 0x2B0938A8: push 1 */ 4899 RECOMP_ICALL(MEM32(eax)); /* 0x2B0938AA: call dword ptr [eax] */ 4900 RECOMP_FLAGS_IN(); 4901 L_2B0938AC: 4902 edi = MEM32(esi + 0x10); /* 0x2B0938AC: mov edi, dword ptr [esi + 0x10] */ 4903 /* test edi, edi */ /* 0x2B0938AF: test edi, edi */ 4904 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4905 _cf = 0; 4906 _flag_k = FK_TEST; 4907 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0938C0; /* 0x2B0938B1: je 0x2b0938c0 */ 4908 L_2B0938B3: 4909 ecx = edi; /* 0x2B0938B3: mov ecx, edi */ 4910 RECOMP_ICALL(ebx); /* 0x2B0938B5: call ebx */ 4911 RECOMP_FLAGS_IN(); 4912 PUSH32(esp, edi); /* 0x2B0938B7: push edi */ 4913 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0938B8: call 0x2b0ab1ba */ /* not lifted */ 4914 RECOMP_FLAGS_IN(); 4915 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4916 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4917 esp = esp + 4; /* 0x2B0938BD: add esp, 4 */ 4918 _flag_k = FK_ADD; 4919 L_2B0938C0: 4920 ecx = MEM32(esi + 0x1C); /* 0x2B0938C0: mov ecx, dword ptr [esi + 0x1c] */ 4921 /* test ecx, ecx */ /* 0x2B0938C3: test ecx, ecx */ 4922 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 4923 _cf = 0; 4924 _flag_k = FK_TEST; 4925 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0938CD; /* 0x2B0938C5: je 0x2b0938cd */ 4926 L_2B0938C7: 4927 edx = MEM32(ecx); /* 0x2B0938C7: mov edx, dword ptr [ecx] */ 4928 PUSH32(esp, 1); /* 0x2B0938C9: push 1 */ 4929 RECOMP_ICALL(MEM32(edx)); /* 0x2B0938CB: call dword ptr [edx] */ 4930 RECOMP_FLAGS_IN(); 4931 L_2B0938CD: 4932 edi = MEM32(esi + 0x18); /* 0x2B0938CD: mov edi, dword ptr [esi + 0x18] */ 4933 /* test edi, edi */ /* 0x2B0938D0: test edi, edi */ 4934 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4935 _cf = 0; 4936 _flag_k = FK_TEST; 4937 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0938E1; /* 0x2B0938D2: je 0x2b0938e1 */ 4938 L_2B0938D4: 4939 ecx = edi; /* 0x2B0938D4: mov ecx, edi */ 4940 RECOMP_ICALL(ebx); /* 0x2B0938D6: call ebx */ 4941 RECOMP_FLAGS_IN(); 4942 PUSH32(esp, edi); /* 0x2B0938D8: push edi */ 4943 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0938D9: call 0x2b0ab1ba */ /* not lifted */ 4944 RECOMP_FLAGS_IN(); 4945 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4946 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4947 esp = esp + 4; /* 0x2B0938DE: add esp, 4 */ 4948 _flag_k = FK_ADD; 4949 L_2B0938E1: 4950 edi = MEM32(esi + 0x24); /* 0x2B0938E1: mov edi, dword ptr [esi + 0x24] */ 4951 /* test edi, edi */ /* 0x2B0938E4: test edi, edi */ 4952 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4953 _cf = 0; 4954 _flag_k = FK_TEST; 4955 ebx = MEM32(0x2B0B5A68); /* 0x2B0938E6: mov ebx, dword ptr [0x2b0b5a68] */ 4956 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0938FB; /* 0x2B0938EC: je 0x2b0938fb */ 4957 L_2B0938EE: 4958 ecx = edi; /* 0x2B0938EE: mov ecx, edi */ 4959 RECOMP_ICALL(ebx); /* 0x2B0938F0: call ebx */ 4960 RECOMP_FLAGS_IN(); 4961 PUSH32(esp, edi); /* 0x2B0938F2: push edi */ 4962 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0938F3: call 0x2b0ab1ba */ /* not lifted */ 4963 RECOMP_FLAGS_IN(); 4964 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4965 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4966 esp = esp + 4; /* 0x2B0938F8: add esp, 4 */ 4967 _flag_k = FK_ADD; 4968 L_2B0938FB: 4969 edi = MEM32(esi + 0x28); /* 0x2B0938FB: mov edi, dword ptr [esi + 0x28] */ 4970 /* test edi, edi */ /* 0x2B0938FE: test edi, edi */ 4971 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4972 _cf = 0; 4973 _flag_k = FK_TEST; 4974 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09390F; /* 0x2B093900: je 0x2b09390f */ 4975 L_2B093902: 4976 ecx = edi; /* 0x2B093902: mov ecx, edi */ 4977 RECOMP_ICALL(ebx); /* 0x2B093904: call ebx */ 4978 RECOMP_FLAGS_IN(); 4979 PUSH32(esp, edi); /* 0x2B093906: push edi */ 4980 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B093907: call 0x2b0ab1ba */ /* not lifted */ 4981 RECOMP_FLAGS_IN(); 4982 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4983 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4984 esp = esp + 4; /* 0x2B09390C: add esp, 4 */ 4985 _flag_k = FK_ADD; 4986 L_2B09390F: 4987 ecx = MEM32(esi + 0x30); /* 0x2B09390F: mov ecx, dword ptr [esi + 0x30] */ 4988 /* test ecx, ecx */ /* 0x2B093912: test ecx, ecx */ 4989 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 4990 _cf = 0; 4991 _flag_k = FK_TEST; 4992 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09391C; /* 0x2B093914: je 0x2b09391c */ 4993 L_2B093916: 4994 eax = MEM32(ecx); /* 0x2B093916: mov eax, dword ptr [ecx] */ 4995 PUSH32(esp, 1); /* 0x2B093918: push 1 */ 4996 RECOMP_ICALL(MEM32(eax)); /* 0x2B09391A: call dword ptr [eax] */ 4997 RECOMP_FLAGS_IN(); 4998 L_2B09391C: 4999 ecx = MEM32(esi + 0x34); /* 0x2B09391C: mov ecx, dword ptr [esi + 0x34] */ 5000 /* test ecx, ecx */ /* 0x2B09391F: test ecx, ecx */ 5001 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5002 _cf = 0; 5003 _flag_k = FK_TEST; 5004 if (TEST_Z(_flag_a, _flag_b)) goto L_2B093929; /* 0x2B093921: je 0x2b093929 */ 5005 L_2B093923: 5006 edx = MEM32(ecx); /* 0x2B093923: mov edx, dword ptr [ecx] */ 5007 PUSH32(esp, 1); /* 0x2B093925: push 1 */ 5008 RECOMP_ICALL(MEM32(edx)); /* 0x2B093927: call dword ptr [edx] */ 5009 RECOMP_FLAGS_IN(); 5010 L_2B093929: 5011 edi = MEM32(esi + 0x38); /* 0x2B093929: mov edi, dword ptr [esi + 0x38] */ 5012 /* test edi, edi */ /* 0x2B09392C: test edi, edi */ 5013 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 5014 _cf = 0; 5015 _flag_k = FK_TEST; 5016 if (TEST_Z(_flag_a, _flag_b)) goto L_2B093940; /* 0x2B09392E: je 0x2b093940 */ 5017 L_2B093930: 5018 ecx = edi; /* 0x2B093930: mov ecx, edi */ 5019 RECOMP_ICALL(0x2B093A60u); /* 0x2B093932: call 0x2b093a60 */ /* not lifted */ 5020 RECOMP_FLAGS_IN(); 5021 PUSH32(esp, edi); /* 0x2B093937: push edi */ 5022 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B093938: call 0x2b0ab1ba */ /* not lifted */ 5023 RECOMP_FLAGS_IN(); 5024 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5025 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5026 esp = esp + 4; /* 0x2B09393D: add esp, 4 */ 5027 _flag_k = FK_ADD; 5028 L_2B093940: 5029 ecx = MEM32(esi + 0x2C); /* 0x2B093940: mov ecx, dword ptr [esi + 0x2c] */ 5030 /* test ecx, ecx */ /* 0x2B093943: test ecx, ecx */ 5031 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5032 _cf = 0; 5033 _flag_k = FK_TEST; 5034 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09394D; /* 0x2B093945: je 0x2b09394d */ 5035 L_2B093947: 5036 eax = MEM32(ecx); /* 0x2B093947: mov eax, dword ptr [ecx] */ 5037 PUSH32(esp, 1); /* 0x2B093949: push 1 */ 5038 RECOMP_ICALL(MEM32(eax)); /* 0x2B09394B: call dword ptr [eax] */ 5039 RECOMP_FLAGS_IN(); 5040 L_2B09394D: 5041 ebx = MEM32(esi + 0x74); /* 0x2B09394D: mov ebx, dword ptr [esi + 0x74] */ 5042 edi = MEM32(esi + 0x70); /* 0x2B093950: mov edi, dword ptr [esi + 0x70] */ 5043 /* cmp edi, ebx */ /* 0x2B093953: cmp edi, ebx */ 5044 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 5045 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5046 _flag_k = FK_CMP; 5047 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B093955: mov byte ptr [ebp - 4], 1 */ 5048 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09396C; /* 0x2B093959: je 0x2b09396c */ 5049 L_2B09395B: 5050 PUSH32(esp, 1); /* 0x2B09395B: push 1 */ 5051 ecx = edi; /* 0x2B09395D: mov ecx, edi */ 5052 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09395F: call dword ptr [0x2b0b514c] */ 5053 RECOMP_FLAGS_IN(); 5054 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 5055 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5056 edi = edi + 0x10u; /* 0x2B093965: add edi, 0x10 */ 5057 _flag_k = FK_ADD; 5058 /* cmp edi, ebx */ /* 0x2B093968: cmp edi, ebx */ 5059 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 5060 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5061 _flag_k = FK_CMP; 5062 RECOMP_BACKEDGE(); 5063 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09395B; /* 0x2B09396A: jne 0x2b09395b */ 5064 L_2B09396C: 5065 eax = MEM32(esi + 0x70); /* 0x2B09396C: mov eax, dword ptr [esi + 0x70] */ 5066 PUSH32(esp, eax); /* 0x2B09396F: push eax */ 5067 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B093970: call 0x2b0ab1ba */ /* not lifted */ 5068 RECOMP_FLAGS_IN(); 5069 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5070 eax = 0; /* 0x2B093975: xor eax, eax */ 5071 _cf = 0; 5072 _flag_k = FK_TEST; 5073 ebx = esi + 0x58; /* 0x2B093977: lea ebx, [esi + 0x58] */ 5074 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5075 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5076 esp = esp + 4; /* 0x2B09397A: add esp, 4 */ 5077 _flag_k = FK_ADD; 5078 MEM32(esi + 0x70) = eax; /* 0x2B09397D: mov dword ptr [esi + 0x70], eax */ 5079 MEM32(esi + 0x74) = eax; /* 0x2B093980: mov dword ptr [esi + 0x74], eax */ 5080 MEM32(esi + 0x78) = eax; /* 0x2B093983: mov dword ptr [esi + 0x78], eax */ 5081 MEM32(ebp + (-0x10)) = ebx; /* 0x2B093986: mov dword ptr [ebp - 0x10], ebx */ 5082 edi = MEM32(ebx + 0x10); /* 0x2B093989: mov edi, dword ptr [ebx + 0x10] */ 5083 /* test edi, edi */ /* 0x2B09398C: test edi, edi */ 5084 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 5085 _cf = 0; 5086 _flag_k = FK_TEST; 5087 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0939C3; /* 0x2B09398E: je 0x2b0939c3 */ 5088 L_2B093990: 5089 _flag_a = (uint32_t)(MEM32(edi + 0x2C)); _flag_b = (uint32_t)(1); 5090 MEM32(edi + 0x2C) = MEM32(edi + 0x2C) - 1; /* 0x2B093990: dec dword ptr [edi + 0x2c] */ 5091 _flag_k = FK_DEC; 5092 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B0939C3; /* 0x2B093993: jne 0x2b0939c3 */ 5093 L_2B093995: 5094 /* test edi, edi */ /* 0x2B093995: test edi, edi */ 5095 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 5096 _cf = 0; 5097 _flag_k = FK_TEST; 5098 MEM32(ebp + (-0x18)) = edi; /* 0x2B093997: mov dword ptr [ebp - 0x18], edi */ 5099 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0939C3; /* 0x2B09399A: je 0x2b0939c3 */ 5100 L_2B09399C: 5101 PUSH32(esp, 1); /* 0x2B09399C: push 1 */ 5102 ecx = edi + 0x1C; /* 0x2B09399E: lea ecx, [edi + 0x1c] */ 5103 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B0939A1: mov byte ptr [ebp - 4], 4 */ 5104 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0939A5: call dword ptr [0x2b0b514c] */ 5105 RECOMP_FLAGS_IN(); 5106 PUSH32(esp, 1); /* 0x2B0939AB: push 1 */ 5107 ecx = edi + 0xC; /* 0x2B0939AD: lea ecx, [edi + 0xc] */ 5108 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B0939B0: mov byte ptr [ebp - 4], 3 */ 5109 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0939B4: call dword ptr [0x2b0b514c] */ 5110 RECOMP_FLAGS_IN(); 5111 PUSH32(esp, edi); /* 0x2B0939BA: push edi */ 5112 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0939BB: call 0x2b0ab1ba */ /* not lifted */ 5113 RECOMP_FLAGS_IN(); 5114 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5115 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5116 esp = esp + 4; /* 0x2B0939C0: add esp, 4 */ 5117 _flag_k = FK_ADD; 5118 L_2B0939C3: 5119 eax = MEM32(ebx + 0x4); /* 0x2B0939C3: mov eax, dword ptr [ebx + 4] */ 5120 /* test eax, eax */ /* 0x2B0939C6: test eax, eax */ 5121 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5122 _cf = 0; 5123 _flag_k = FK_TEST; 5124 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0939E6; /* 0x2B0939C8: je 0x2b0939e6 */ 5125 L_2B0939CA: 5126 ecx = eax + (-0x1); /* 0x2B0939CA: lea ecx, [eax - 1] */ 5127 SET_LO8(eax, MEM8(ecx)); /* 0x2B0939CD: mov al, byte ptr [ecx] */ 5128 /* test LO8(eax), LO8(eax) */ /* 0x2B0939CF: test al, al */ 5129 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5130 _cf = 0; 5131 _flag_k = FK_NARROW(FK_TEST, 24); 5132 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0939DD; /* 0x2B0939D1: je 0x2b0939dd */ 5133 L_2B0939D3: 5134 /* cmp LO8(eax), 0xFFu */ /* 0x2B0939D3: cmp al, 0xff */ 5135 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 5136 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5137 _flag_k = FK_NARROW(FK_CMP, 24); 5138 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0939DD; /* 0x2B0939D5: je 0x2b0939dd */ 5139 L_2B0939D7: 5140 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 5141 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0939D7: dec al */ 5142 _flag_k = FK_NARROW(FK_DEC, 24); 5143 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B0939D9: mov byte ptr [ecx], al */ 5144 goto L_2B0939E6; /* 0x2B0939DB: jmp 0x2b0939e6 */ 5145 L_2B0939DD: 5146 PUSH32(esp, ecx); /* 0x2B0939DD: push ecx */ 5147 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0939DE: call 0x2b0ab1ba */ /* not lifted */ 5148 RECOMP_FLAGS_IN(); 5149 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5150 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5151 esp = esp + 4; /* 0x2B0939E3: add esp, 4 */ 5152 _flag_k = FK_ADD; 5153 L_2B0939E6: 5154 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5155 eax = 0; /* 0x2B0939E6: xor eax, eax */ 5156 _cf = 0; 5157 _flag_k = FK_TEST; 5158 edi = esi + 0x44; /* 0x2B0939E8: lea edi, [esi + 0x44] */ 5159 MEM32(ebx + 0x4) = eax; /* 0x2B0939EB: mov dword ptr [ebx + 4], eax */ 5160 MEM32(ebx + 0x8) = eax; /* 0x2B0939EE: mov dword ptr [ebx + 8], eax */ 5161 MEM32(ebx + 0xC) = eax; /* 0x2B0939F1: mov dword ptr [ebx + 0xc], eax */ 5162 MEM32(ebp + (-0x18)) = edi; /* 0x2B0939F4: mov dword ptr [ebp - 0x18], edi */ 5163 esi = MEM32(edi + 0x10); /* 0x2B0939F7: mov esi, dword ptr [edi + 0x10] */ 5164 /* cmp esi, eax */ /* 0x2B0939FA: cmp esi, eax */ 5165 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 5166 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5167 _flag_k = FK_CMP; 5168 ebx = 5; /* 0x2B0939FC: mov ebx, 5 */ 5169 MEM32(ebp + (-0x4)) = ebx; /* 0x2B093A01: mov dword ptr [ebp - 4], ebx */ 5170 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093A38; /* 0x2B093A04: je 0x2b093a38 */ 5171 L_2B093A06: 5172 _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1); 5173 MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B093A06: dec dword ptr [esi + 0x2c] */ 5174 _flag_k = FK_DEC; 5175 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B093A38; /* 0x2B093A09: jne 0x2b093a38 */ 5176 L_2B093A0B: 5177 /* cmp esi, eax */ /* 0x2B093A0B: cmp esi, eax */ 5178 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 5179 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5180 _flag_k = FK_CMP; 5181 MEM32(ebp + (-0x14)) = esi; /* 0x2B093A0D: mov dword ptr [ebp - 0x14], esi */ 5182 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093A38; /* 0x2B093A10: je 0x2b093a38 */ 5183 L_2B093A12: 5184 PUSH32(esp, 1); /* 0x2B093A12: push 1 */ 5185 ecx = esi + 0x1C; /* 0x2B093A14: lea ecx, [esi + 0x1c] */ 5186 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B093A17: mov byte ptr [ebp - 4], 6 */ 5187 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B093A1B: call dword ptr [0x2b0b514c] */ 5188 RECOMP_FLAGS_IN(); 5189 PUSH32(esp, 1); /* 0x2B093A21: push 1 */ 5190 ecx = esi + 0xC; /* 0x2B093A23: lea ecx, [esi + 0xc] */ 5191 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B093A26: mov byte ptr [ebp - 4], bl */ 5192 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B093A29: call dword ptr [0x2b0b514c] */ 5193 RECOMP_FLAGS_IN(); 5194 PUSH32(esp, esi); /* 0x2B093A2F: push esi */ 5195 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B093A30: call 0x2b0ab1ba */ /* not lifted */ 5196 RECOMP_FLAGS_IN(); 5197 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5198 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5199 esp = esp + 4; /* 0x2B093A35: add esp, 4 */ 5200 _flag_k = FK_ADD; 5201 L_2B093A38: 5202 PUSH32(esp, 1); /* 0x2B093A38: push 1 */ 5203 ecx = edi; /* 0x2B093A3A: mov ecx, edi */ 5204 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B093A3C: mov dword ptr [ebp - 4], 0xffffffff */ 5205 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B093A43: call dword ptr [0x2b0b514c] */ 5206 RECOMP_FLAGS_IN(); 5207 ecx = MEM32(ebp + (-0xC)); /* 0x2B093A49: mov ecx, dword ptr [ebp - 0xc] */ 5208 edi = POP32_VAL(esp); /* 0x2B093A4C: pop edi */ 5209 esi = POP32_VAL(esp); /* 0x2B093A4D: pop esi */ 5210 ebx = POP32_VAL(esp); /* 0x2B093A4E: pop ebx */ 5211 MEM32(FS_BASE + (0)) = ecx; /* 0x2B093A4F: mov dword ptr fs:[0], ecx */ 5212 esp = ebp; /* 0x2B093A56: mov esp, ebp */ 5213 ebp = POP32_VAL(esp); /* 0x2B093A58: pop ebp */ 5214 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B093A59: ret */ 5215 RECOMP_REGS_OUT(); 5216 } 5217 5218 void sub_2B093A60(void) { 5219 int _fpu_cmp = 0; 5220 uint32_t _cf = 0; 5221 int _df = 1; 5222 uint32_t _flag_k = FK_NONE; 5223 uint32_t _flag_a = 0, _flag_b = 0; 5224 uint32_t _itail_tgt = 0; 5225 RECOMP_REGS_LOCALS 5226 RECOMP_ENTER(0x2B093A60u); 5227 5228 L_2B093A60: 5229 PUSH32(esp, ebp); /* 0x2B093A60: push ebp */ 5230 ebp = esp; /* 0x2B093A61: mov ebp, esp */ 5231 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B093A63: push -1 */ 5232 PUSH32(esp, 0x2B0B2ECBu); /* 0x2B093A65: push 0x2b0b2ecb */ 5233 eax = MEM32(FS_BASE + (0)); /* 0x2B093A6A: mov eax, dword ptr fs:[0] */ 5234 PUSH32(esp, eax); /* 0x2B093A70: push eax */ 5235 MEM32(FS_BASE + (0)) = esp; /* 0x2B093A71: mov dword ptr fs:[0], esp */ 5236 PUSH32(esp, ecx); /* 0x2B093A78: push ecx */ 5237 PUSH32(esp, ebx); /* 0x2B093A79: push ebx */ 5238 PUSH32(esp, esi); /* 0x2B093A7A: push esi */ 5239 esi = ecx; /* 0x2B093A7B: mov esi, ecx */ 5240 PUSH32(esp, edi); /* 0x2B093A7D: push edi */ 5241 MEM32(ebp + (-0x10)) = esi; /* 0x2B093A7E: mov dword ptr [ebp - 0x10], esi */ 5242 PUSH32(esp, 0x97u); /* 0x2B093A81: push 0x97 */ 5243 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5244 ebx = 0; /* 0x2B093A86: xor ebx, ebx */ 5245 _cf = 0; 5246 _flag_k = FK_TEST; 5247 PUSH32(esp, 3); /* 0x2B093A88: push 3 */ 5248 MEM32(ebp + (-0x4)) = ebx; /* 0x2B093A8A: mov dword ptr [ebp - 4], ebx */ 5249 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B093A8D: call dword ptr [0x2b0b53cc] */ 5250 RECOMP_FLAGS_IN(); 5251 ecx = eax; /* 0x2B093A93: mov ecx, eax */ 5252 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B093A95: call dword ptr [0x2b0b53c8] */ 5253 RECOMP_FLAGS_IN(); 5254 ecx = MEM32(esi + 0x4); /* 0x2B093A9B: mov ecx, dword ptr [esi + 4] */ 5255 /* cmp ecx, ebx */ /* 0x2B093A9E: cmp ecx, ebx */ 5256 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 5257 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5258 _flag_k = FK_CMP; 5259 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093AA8; /* 0x2B093AA0: je 0x2b093aa8 */ 5260 L_2B093AA2: 5261 eax = MEM32(ecx); /* 0x2B093AA2: mov eax, dword ptr [ecx] */ 5262 PUSH32(esp, 1); /* 0x2B093AA4: push 1 */ 5263 RECOMP_ICALL(MEM32(eax)); /* 0x2B093AA6: call dword ptr [eax] */ 5264 RECOMP_FLAGS_IN(); 5265 L_2B093AA8: 5266 edi = MEM32(esi + 0x8); /* 0x2B093AA8: mov edi, dword ptr [esi + 8] */ 5267 /* cmp edi, ebx */ /* 0x2B093AAB: cmp edi, ebx */ 5268 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 5269 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5270 _flag_k = FK_CMP; 5271 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093AC0; /* 0x2B093AAD: je 0x2b093ac0 */ 5272 L_2B093AAF: 5273 ecx = edi; /* 0x2B093AAF: mov ecx, edi */ 5274 RECOMP_ICALL(MEM32(0x2B0B58E8)); /* 0x2B093AB1: call dword ptr [0x2b0b58e8] */ 5275 RECOMP_FLAGS_IN(); 5276 PUSH32(esp, edi); /* 0x2B093AB7: push edi */ 5277 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B093AB8: call 0x2b0ab1ba */ /* not lifted */ 5278 RECOMP_FLAGS_IN(); 5279 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5280 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5281 esp = esp + 4; /* 0x2B093ABD: add esp, 4 */ 5282 _flag_k = FK_ADD; 5283 L_2B093AC0: 5284 ecx = MEM32(esi + 0x1C); /* 0x2B093AC0: mov ecx, dword ptr [esi + 0x1c] */ 5285 /* cmp ecx, ebx */ /* 0x2B093AC3: cmp ecx, ebx */ 5286 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 5287 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5288 _flag_k = FK_CMP; 5289 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093ACD; /* 0x2B093AC5: je 0x2b093acd */ 5290 L_2B093AC7: 5291 edx = MEM32(ecx); /* 0x2B093AC7: mov edx, dword ptr [ecx] */ 5292 PUSH32(esp, 1); /* 0x2B093AC9: push 1 */ 5293 RECOMP_ICALL(MEM32(edx)); /* 0x2B093ACB: call dword ptr [edx] */ 5294 RECOMP_FLAGS_IN(); 5295 L_2B093ACD: 5296 ecx = MEM32(esi + 0x20); /* 0x2B093ACD: mov ecx, dword ptr [esi + 0x20] */ 5297 /* cmp ecx, ebx */ /* 0x2B093AD0: cmp ecx, ebx */ 5298 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 5299 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5300 _flag_k = FK_CMP; 5301 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093ADA; /* 0x2B093AD2: je 0x2b093ada */ 5302 L_2B093AD4: 5303 eax = MEM32(ecx); /* 0x2B093AD4: mov eax, dword ptr [ecx] */ 5304 PUSH32(esp, 1); /* 0x2B093AD6: push 1 */ 5305 RECOMP_ICALL(MEM32(eax)); /* 0x2B093AD8: call dword ptr [eax] */ 5306 RECOMP_FLAGS_IN(); 5307 L_2B093ADA: 5308 ecx = MEM32(esi + 0x10); /* 0x2B093ADA: mov ecx, dword ptr [esi + 0x10] */ 5309 /* cmp ecx, ebx */ /* 0x2B093ADD: cmp ecx, ebx */ 5310 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 5311 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5312 _flag_k = FK_CMP; 5313 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093AE7; /* 0x2B093ADF: je 0x2b093ae7 */ 5314 L_2B093AE1: 5315 edx = MEM32(ecx); /* 0x2B093AE1: mov edx, dword ptr [ecx] */ 5316 PUSH32(esp, 1); /* 0x2B093AE3: push 1 */ 5317 RECOMP_ICALL(MEM32(edx)); /* 0x2B093AE5: call dword ptr [edx] */ 5318 RECOMP_FLAGS_IN(); 5319 L_2B093AE7: 5320 ecx = MEM32(esi + 0x14); /* 0x2B093AE7: mov ecx, dword ptr [esi + 0x14] */ 5321 /* cmp ecx, ebx */ /* 0x2B093AEA: cmp ecx, ebx */ 5322 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 5323 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5324 _flag_k = FK_CMP; 5325 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093AF4; /* 0x2B093AEC: je 0x2b093af4 */ 5326 L_2B093AEE: 5327 eax = MEM32(ecx); /* 0x2B093AEE: mov eax, dword ptr [ecx] */ 5328 PUSH32(esp, 1); /* 0x2B093AF0: push 1 */ 5329 RECOMP_ICALL(MEM32(eax)); /* 0x2B093AF2: call dword ptr [eax] */ 5330 RECOMP_FLAGS_IN(); 5331 L_2B093AF4: 5332 edi = MEM32(esi + 0x18); /* 0x2B093AF4: mov edi, dword ptr [esi + 0x18] */ 5333 /* cmp edi, ebx */ /* 0x2B093AF7: cmp edi, ebx */ 5334 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 5335 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5336 _flag_k = FK_CMP; 5337 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093B0C; /* 0x2B093AF9: je 0x2b093b0c */ 5338 L_2B093AFB: 5339 ecx = edi; /* 0x2B093AFB: mov ecx, edi */ 5340 RECOMP_ICALL(MEM32(0x2B0B5A54)); /* 0x2B093AFD: call dword ptr [0x2b0b5a54] */ 5341 RECOMP_FLAGS_IN(); 5342 PUSH32(esp, edi); /* 0x2B093B03: push edi */ 5343 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B093B04: call 0x2b0ab1ba */ /* not lifted */ 5344 RECOMP_FLAGS_IN(); 5345 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5346 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5347 esp = esp + 4; /* 0x2B093B09: add esp, 4 */ 5348 _flag_k = FK_ADD; 5349 L_2B093B0C: 5350 ecx = MEM32(esi + 0xC); /* 0x2B093B0C: mov ecx, dword ptr [esi + 0xc] */ 5351 /* cmp ecx, ebx */ /* 0x2B093B0F: cmp ecx, ebx */ 5352 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 5353 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5354 _flag_k = FK_CMP; 5355 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093B19; /* 0x2B093B11: je 0x2b093b19 */ 5356 L_2B093B13: 5357 edx = MEM32(ecx); /* 0x2B093B13: mov edx, dword ptr [ecx] */ 5358 PUSH32(esp, 1); /* 0x2B093B15: push 1 */ 5359 RECOMP_ICALL(MEM32(edx)); /* 0x2B093B17: call dword ptr [edx] */ 5360 RECOMP_FLAGS_IN(); 5361 L_2B093B19: 5362 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5363 edi = 0; /* 0x2B093B19: xor edi, edi */ 5364 _cf = 0; 5365 _flag_k = FK_TEST; 5366 L_2B093B1B: 5367 eax = MEM32(esi + 0x28); /* 0x2B093B1B: mov eax, dword ptr [esi + 0x28] */ 5368 /* cmp eax, ebx */ /* 0x2B093B1E: cmp eax, ebx */ 5369 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 5370 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5371 _flag_k = FK_CMP; 5372 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093B40; /* 0x2B093B20: je 0x2b093b40 */ 5373 L_2B093B22: 5374 ecx = MEM32(esi + 0x2C); /* 0x2B093B22: mov ecx, dword ptr [esi + 0x2c] */ 5375 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 5376 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5377 ecx = ecx - eax; /* 0x2B093B25: sub ecx, eax */ 5378 _flag_k = FK_CMP; 5379 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B093B27: sar ecx, 2 */ 5380 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5381 ecx = (uint32_t)((int32_t)ecx >> 2u); 5382 /* cmp edi, ecx */ /* 0x2B093B2A: cmp edi, ecx */ 5383 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 5384 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5385 _flag_k = FK_CMP; 5386 if (CMP_AE(_flag_a, _flag_b)) goto L_2B093B40; /* 0x2B093B2C: jae 0x2b093b40 */ 5387 L_2B093B2E: 5388 edx = eax; /* 0x2B093B2E: mov edx, eax */ 5389 ecx = MEM32(edx + edi * 4); /* 0x2B093B30: mov ecx, dword ptr [edx + edi*4] */ 5390 /* cmp ecx, ebx */ /* 0x2B093B33: cmp ecx, ebx */ 5391 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 5392 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5393 _flag_k = FK_CMP; 5394 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093B3D; /* 0x2B093B35: je 0x2b093b3d */ 5395 L_2B093B37: 5396 eax = MEM32(ecx); /* 0x2B093B37: mov eax, dword ptr [ecx] */ 5397 PUSH32(esp, 1); /* 0x2B093B39: push 1 */ 5398 RECOMP_ICALL(MEM32(eax)); /* 0x2B093B3B: call dword ptr [eax] */ 5399 RECOMP_FLAGS_IN(); 5400 L_2B093B3D: 5401 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 5402 edi = edi + 1; /* 0x2B093B3D: inc edi */ 5403 _flag_k = FK_INC; 5404 RECOMP_BACKEDGE(); 5405 goto L_2B093B1B; /* 0x2B093B3E: jmp 0x2b093b1b */ 5406 L_2B093B40: 5407 edi = MEM32(esi); /* 0x2B093B40: mov edi, dword ptr [esi] */ 5408 /* cmp edi, ebx */ /* 0x2B093B42: cmp edi, ebx */ 5409 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 5410 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5411 _flag_k = FK_CMP; 5412 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093B57; /* 0x2B093B44: je 0x2b093b57 */ 5413 L_2B093B46: 5414 ecx = edi; /* 0x2B093B46: mov ecx, edi */ 5415 RECOMP_ICALL(MEM32(0x2B0B5BC4)); /* 0x2B093B48: call dword ptr [0x2b0b5bc4] */ 5416 RECOMP_FLAGS_IN(); 5417 PUSH32(esp, edi); /* 0x2B093B4E: push edi */ 5418 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B093B4F: call 0x2b0ab1ba */ /* not lifted */ 5419 RECOMP_FLAGS_IN(); 5420 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5421 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5422 esp = esp + 4; /* 0x2B093B54: add esp, 4 */ 5423 _flag_k = FK_ADD; 5424 L_2B093B57: 5425 eax = MEM32(esi + 0x28); /* 0x2B093B57: mov eax, dword ptr [esi + 0x28] */ 5426 PUSH32(esp, eax); /* 0x2B093B5A: push eax */ 5427 MEM32(ebp + (-0x10)) = eax; /* 0x2B093B5B: mov dword ptr [ebp - 0x10], eax */ 5428 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B093B5E: call 0x2b0ab1ba */ /* not lifted */ 5429 RECOMP_FLAGS_IN(); 5430 ecx = MEM32(ebp + (-0xC)); /* 0x2B093B63: mov ecx, dword ptr [ebp - 0xc] */ 5431 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5432 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5433 esp = esp + 4; /* 0x2B093B66: add esp, 4 */ 5434 _flag_k = FK_ADD; 5435 MEM32(esi + 0x28) = ebx; /* 0x2B093B69: mov dword ptr [esi + 0x28], ebx */ 5436 MEM32(esi + 0x2C) = ebx; /* 0x2B093B6C: mov dword ptr [esi + 0x2c], ebx */ 5437 MEM32(esi + 0x30) = ebx; /* 0x2B093B6F: mov dword ptr [esi + 0x30], ebx */ 5438 edi = POP32_VAL(esp); /* 0x2B093B72: pop edi */ 5439 esi = POP32_VAL(esp); /* 0x2B093B73: pop esi */ 5440 ebx = POP32_VAL(esp); /* 0x2B093B74: pop ebx */ 5441 MEM32(FS_BASE + (0)) = ecx; /* 0x2B093B75: mov dword ptr fs:[0], ecx */ 5442 esp = ebp; /* 0x2B093B7C: mov esp, ebp */ 5443 ebp = POP32_VAL(esp); /* 0x2B093B7E: pop ebp */ 5444 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B093B7F: ret */ 5445 RECOMP_REGS_OUT(); 5446 } 5447 5448 void sub_2B093B80(void) { 5449 int _fpu_cmp = 0; 5450 uint32_t _cf = 0; 5451 int _df = 1; 5452 uint32_t _flag_k = FK_NONE; 5453 uint32_t _flag_a = 0, _flag_b = 0; 5454 uint32_t _itail_tgt = 0; 5455 RECOMP_REGS_LOCALS 5456 RECOMP_ENTER(0x2B093B80u); 5457 5458 L_2B093B80: 5459 PUSH32(esp, ebp); /* 0x2B093B80: push ebp */ 5460 ebp = esp; /* 0x2B093B81: mov ebp, esp */ 5461 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B093B83: push -1 */ 5462 PUSH32(esp, 0x2B0B2EE8u); /* 0x2B093B85: push 0x2b0b2ee8 */ 5463 eax = MEM32(FS_BASE + (0)); /* 0x2B093B8A: mov eax, dword ptr fs:[0] */ 5464 PUSH32(esp, eax); /* 0x2B093B90: push eax */ 5465 MEM32(FS_BASE + (0)) = esp; /* 0x2B093B91: mov dword ptr fs:[0], esp */ 5466 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 5467 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5468 esp = esp - 0x10u; /* 0x2B093B98: sub esp, 0x10 */ 5469 _flag_k = FK_CMP; 5470 PUSH32(esp, edi); /* 0x2B093B9B: push edi */ 5471 edi = ecx; /* 0x2B093B9C: mov edi, ecx */ 5472 eax = MEM32(edi + 0x1C); /* 0x2B093B9E: mov eax, dword ptr [edi + 0x1c] */ 5473 MEM8(edi + 0xA6) = (uint8_t)(0); /* 0x2B093BA1: mov byte ptr [edi + 0xa6], 0 */ 5474 eax = MEM32(eax + 0x54); /* 0x2B093BA8: mov eax, dword ptr [eax + 0x54] */ 5475 /* cmp eax, 1 */ /* 0x2B093BAB: cmp eax, 1 */ 5476 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 5477 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5478 _flag_k = FK_CMP; 5479 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093BBF; /* 0x2B093BAE: je 0x2b093bbf */ 5480 L_2B093BB0: 5481 /* cmp eax, 3 */ /* 0x2B093BB0: cmp eax, 3 */ 5482 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 5483 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5484 _flag_k = FK_CMP; 5485 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093BBF; /* 0x2B093BB3: je 0x2b093bbf */ 5486 L_2B093BB5: 5487 /* cmp eax, 2 */ /* 0x2B093BB5: cmp eax, 2 */ 5488 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 5489 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5490 _flag_k = FK_CMP; 5491 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093BD7; /* 0x2B093BB8: je 0x2b093bd7 */ 5492 L_2B093BBA: 5493 /* cmp eax, 4 */ /* 0x2B093BBA: cmp eax, 4 */ 5494 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 5495 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5496 _flag_k = FK_CMP; 5497 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093BD7; /* 0x2B093BBD: je 0x2b093bd7 */ 5498 L_2B093BBF: 5499 PUSH32(esp, 0); /* 0x2B093BBF: push 0 */ 5500 RECOMP_ICALL(MEM32(0x2B0B51DC)); /* 0x2B093BC1: call dword ptr [0x2b0b51dc] */ 5501 RECOMP_FLAGS_IN(); 5502 ecx = MEM32(ebp + 0xC); /* 0x2B093BC7: mov ecx, dword ptr [ebp + 0xc] */ 5503 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5504 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5505 esp = esp + 4; /* 0x2B093BCA: add esp, 4 */ 5506 _flag_k = FK_ADD; 5507 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5508 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5509 eax = eax + ecx; /* 0x2B093BCD: add eax, ecx */ 5510 _flag_k = FK_ADD; 5511 MEM32(edi + 0x88) = eax; /* 0x2B093BCF: mov dword ptr [edi + 0x88], eax */ 5512 goto L_2B093C33; /* 0x2B093BD5: jmp 0x2b093c33 */ 5513 L_2B093BD7: 5514 SET_LO8(eax, MEM8(ebp + 0xF)); /* 0x2B093BD7: mov al, byte ptr [ebp + 0xf] */ 5515 MEM8(ebp + (-0x1C)) = (uint8_t)(LO8(eax)); /* 0x2B093BDA: mov byte ptr [ebp - 0x1c], al */ 5516 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5517 eax = 0; /* 0x2B093BDD: xor eax, eax */ 5518 _cf = 0; 5519 _flag_k = FK_TEST; 5520 PUSH32(esp, ebx); /* 0x2B093BDF: push ebx */ 5521 PUSH32(esp, esi); /* 0x2B093BE0: push esi */ 5522 MEM32(ebp + (-0x18)) = eax; /* 0x2B093BE1: mov dword ptr [ebp - 0x18], eax */ 5523 MEM32(ebp + (-0x14)) = eax; /* 0x2B093BE4: mov dword ptr [ebp - 0x14], eax */ 5524 MEM32(ebp + (-0x10)) = eax; /* 0x2B093BE7: mov dword ptr [ebp - 0x10], eax */ 5525 ecx = ebp + (-0x1C); /* 0x2B093BEA: lea ecx, [ebp - 0x1c] */ 5526 PUSH32(esp, ecx); /* 0x2B093BED: push ecx */ 5527 ecx = edi; /* 0x2B093BEE: mov ecx, edi */ 5528 MEM32(ebp + (-0x4)) = eax; /* 0x2B093BF0: mov dword ptr [ebp - 4], eax */ 5529 RECOMP_ICALL(0x2B094A30u); /* 0x2B093BF3: call 0x2b094a30 */ /* not lifted */ 5530 RECOMP_FLAGS_IN(); 5531 ebx = MEM32(ebp + (-0x14)); /* 0x2B093BF8: mov ebx, dword ptr [ebp - 0x14] */ 5532 esi = MEM32(ebp + (-0x18)); /* 0x2B093BFB: mov esi, dword ptr [ebp - 0x18] */ 5533 /* cmp esi, ebx */ /* 0x2B093BFE: cmp esi, ebx */ 5534 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 5535 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5536 _flag_k = FK_CMP; 5537 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B093C00: mov dword ptr [ebp - 4], 0xffffffff */ 5538 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093C1D; /* 0x2B093C07: je 0x2b093c1d */ 5539 L_2B093C09: 5540 PUSH32(esp, 1); /* 0x2B093C09: push 1 */ 5541 ecx = esi; /* 0x2B093C0B: mov ecx, esi */ 5542 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B093C0D: call dword ptr [0x2b0b514c] */ 5543 RECOMP_FLAGS_IN(); 5544 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 5545 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5546 esi = esi + 0x10u; /* 0x2B093C13: add esi, 0x10 */ 5547 _flag_k = FK_ADD; 5548 /* cmp esi, ebx */ /* 0x2B093C16: cmp esi, ebx */ 5549 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 5550 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5551 _flag_k = FK_CMP; 5552 RECOMP_BACKEDGE(); 5553 if (CMP_NE(_flag_a, _flag_b)) goto L_2B093C09; /* 0x2B093C18: jne 0x2b093c09 */ 5554 L_2B093C1A: 5555 esi = MEM32(ebp + (-0x18)); /* 0x2B093C1A: mov esi, dword ptr [ebp - 0x18] */ 5556 L_2B093C1D: 5557 PUSH32(esp, esi); /* 0x2B093C1D: push esi */ 5558 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B093C1E: call 0x2b0ab1ba */ /* not lifted */ 5559 RECOMP_FLAGS_IN(); 5560 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5561 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5562 esp = esp + 4; /* 0x2B093C23: add esp, 4 */ 5563 _flag_k = FK_ADD; 5564 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5565 eax = 0; /* 0x2B093C26: xor eax, eax */ 5566 _cf = 0; 5567 _flag_k = FK_TEST; 5568 esi = POP32_VAL(esp); /* 0x2B093C28: pop esi */ 5569 MEM32(ebp + (-0x18)) = eax; /* 0x2B093C29: mov dword ptr [ebp - 0x18], eax */ 5570 MEM32(ebp + (-0x14)) = eax; /* 0x2B093C2C: mov dword ptr [ebp - 0x14], eax */ 5571 MEM32(ebp + (-0x10)) = eax; /* 0x2B093C2F: mov dword ptr [ebp - 0x10], eax */ 5572 ebx = POP32_VAL(esp); /* 0x2B093C32: pop ebx */ 5573 L_2B093C33: 5574 eax = MEM32(ebp + 0x8); /* 0x2B093C33: mov eax, dword ptr [ebp + 8] */ 5575 ecx = MEM32(eax + 0x8); /* 0x2B093C36: mov ecx, dword ptr [eax + 8] */ 5576 /* test ecx, ecx */ /* 0x2B093C39: test ecx, ecx */ 5577 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5578 _cf = 0; 5579 _flag_k = FK_TEST; 5580 if (TEST_Z(_flag_a, _flag_b)) goto L_2B093C51; /* 0x2B093C3B: je 0x2b093c51 */ 5581 L_2B093C3D: 5582 PUSH32(esp, 3); /* 0x2B093C3D: push 3 */ 5583 PUSH32(esp, eax); /* 0x2B093C3F: push eax */ 5584 ecx = edi; /* 0x2B093C40: mov ecx, edi */ 5585 MEM32(edi + 0x80) = 1; /* 0x2B093C42: mov dword ptr [edi + 0x80], 1 */ 5586 RECOMP_ICALL(0x2B0945B0u); /* 0x2B093C4C: call 0x2b0945b0 */ /* not lifted */ 5587 RECOMP_FLAGS_IN(); 5588 L_2B093C51: 5589 ecx = MEM32(ebp + (-0xC)); /* 0x2B093C51: mov ecx, dword ptr [ebp - 0xc] */ 5590 edi = POP32_VAL(esp); /* 0x2B093C54: pop edi */ 5591 MEM32(FS_BASE + (0)) = ecx; /* 0x2B093C55: mov dword ptr fs:[0], ecx */ 5592 esp = ebp; /* 0x2B093C5C: mov esp, ebp */ 5593 ebp = POP32_VAL(esp); /* 0x2B093C5E: pop ebp */ 5594 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B093C5F: ret 8 */ 5595 RECOMP_REGS_OUT(); 5596 } 5597 5598 void sub_2B093C70(void) { 5599 int _fpu_cmp = 0; 5600 uint32_t _cf = 0; 5601 int _df = 1; 5602 uint32_t _flag_k = FK_NONE; 5603 uint32_t _flag_a = 0, _flag_b = 0; 5604 uint32_t _itail_tgt = 0; 5605 RECOMP_REGS_LOCALS 5606 RECOMP_ENTER(0x2B093C70u); 5607 5608 L_2B093C70: 5609 eax = MEM32(ecx + 0x38); /* 0x2B093C70: mov eax, dword ptr [ecx + 0x38] */ 5610 /* test eax, eax */ /* 0x2B093C73: test eax, eax */ 5611 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5612 _cf = 0; 5613 _flag_k = FK_TEST; 5614 if (TEST_Z(_flag_a, _flag_b)) goto L_2B093C7C; /* 0x2B093C75: je 0x2b093c7c */ 5615 L_2B093C77: 5616 goto L_2B095BF0; /* 0x2B093C77: jmp 0x2b095bf0 */ 5617 L_2B093C7C: 5618 MEM32(ecx + 0x88) = 0; /* 0x2B093C7C: mov dword ptr [ecx + 0x88], 0 */ 5619 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B093C86: ret */ 5620 L_2B095BF0: 5621 PUSH32(esp, ebp); /* 0x2B095BF0: push ebp */ 5622 ebp = esp; /* 0x2B095BF1: mov ebp, esp */ 5623 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 5624 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5625 esp = esp - 8; /* 0x2B095BF3: sub esp, 8 */ 5626 _flag_k = FK_CMP; 5627 PUSH32(esp, esi); /* 0x2B095BF6: push esi */ 5628 esi = ecx; /* 0x2B095BF7: mov esi, ecx */ 5629 MEM32(esi + 0x80) = 3; /* 0x2B095BF9: mov dword ptr [esi + 0x80], 3 */ 5630 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B095C03: call dword ptr [0x2b0b5b64] */ 5631 RECOMP_FLAGS_IN(); 5632 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 5633 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5634 eax = eax + 0xD4u; /* 0x2B095C09: add eax, 0xd4 */ 5635 _flag_k = FK_ADD; 5636 ecx = ebp + (-0x8); /* 0x2B095C0E: lea ecx, [ebp - 8] */ 5637 /* cmp ecx, eax */ /* 0x2B095C11: cmp ecx, eax */ 5638 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 5639 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5640 _flag_k = FK_CMP; 5641 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B095C20; /* 0x2B095C13: je 0x2b095c20 */ 5642 L_2B095C15: 5643 edx = MEM32(eax); /* 0x2B095C15: mov edx, dword ptr [eax] */ 5644 MEM32(ebp + (-0x8)) = edx; /* 0x2B095C17: mov dword ptr [ebp - 8], edx */ 5645 eax = MEM32(eax + 0x4); /* 0x2B095C1A: mov eax, dword ptr [eax + 4] */ 5646 MEM32(ebp + (-0x4)) = eax; /* 0x2B095C1D: mov dword ptr [ebp - 4], eax */ 5647 L_2B095C20: 5648 PUSH32(esp, 0); /* 0x2B095C20: push 0 */ 5649 PUSH32(esp, 0); /* 0x2B095C22: push 0 */ 5650 ecx = esi + 0x3C; /* 0x2B095C24: lea ecx, [esi + 0x3c] */ 5651 PUSH32(esp, ecx); /* 0x2B095C27: push ecx */ 5652 edx = ebp + (-0x8); /* 0x2B095C28: lea edx, [ebp - 8] */ 5653 PUSH32(esp, edx); /* 0x2B095C2B: push edx */ 5654 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B095C2C: call dword ptr [0x2b0b5d6c] */ 5655 RECOMP_FLAGS_IN(); 5656 ecx = eax; /* 0x2B095C32: mov ecx, eax */ 5657 RECOMP_ICALL(MEM32(0x2B0B5CEC)); /* 0x2B095C34: call dword ptr [0x2b0b5cec] */ 5658 RECOMP_FLAGS_IN(); 5659 MEM8(esi + 0xA5) = (uint8_t)(1); /* 0x2B095C3A: mov byte ptr [esi + 0xa5], 1 */ 5660 esi = POP32_VAL(esp); /* 0x2B095C41: pop esi */ 5661 esp = ebp; /* 0x2B095C42: mov esp, ebp */ 5662 ebp = POP32_VAL(esp); /* 0x2B095C44: pop ebp */ 5663 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B095C45: ret */ 5664 RECOMP_REGS_OUT(); 5665 } 5666 5667 void sub_2B093C90(void) { 5668 int _fpu_cmp = 0; 5669 uint32_t _cf = 0; 5670 int _df = 1; 5671 uint32_t _flag_k = FK_NONE; 5672 uint32_t _flag_a = 0, _flag_b = 0; 5673 uint32_t _itail_tgt = 0; 5674 RECOMP_REGS_LOCALS 5675 RECOMP_ENTER(0x2B093C90u); 5676 5677 L_2B093C90: 5678 PUSH32(esp, esi); /* 0x2B093C90: push esi */ 5679 esi = ecx; /* 0x2B093C91: mov esi, ecx */ 5680 /* cmp MEM32(esi + 0x88), 0xFFFFFFFFu */ /* 0x2B093C93: cmp dword ptr [esi + 0x88], -1 */ 5681 _flag_a = (uint32_t)(MEM32(esi + 0x88)); _flag_b = (uint32_t)(0xFFFFFFFFu); 5682 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5683 _flag_k = FK_CMP; 5684 if (CMP_NE(_flag_a, _flag_b)) goto L_2B093CA0; /* 0x2B093C9A: jne 0x2b093ca0 */ 5685 L_2B093C9C: 5686 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 5687 SET_LO8(eax, 0); /* 0x2B093C9C: xor al, al */ 5688 _cf = 0; 5689 _flag_k = FK_NARROW(FK_TEST, 24); 5690 esi = POP32_VAL(esp); /* 0x2B093C9E: pop esi */ 5691 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B093C9F: ret */ 5692 L_2B093CA0: 5693 PUSH32(esp, 0); /* 0x2B093CA0: push 0 */ 5694 RECOMP_ICALL(MEM32(0x2B0B51DC)); /* 0x2B093CA2: call dword ptr [0x2b0b51dc] */ 5695 RECOMP_FLAGS_IN(); 5696 edx = MEM32(esi + 0x88); /* 0x2B093CA8: mov edx, dword ptr [esi + 0x88] */ 5697 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5698 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5699 esp = esp + 4; /* 0x2B093CAE: add esp, 4 */ 5700 _flag_k = FK_ADD; 5701 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5702 ecx = 0; /* 0x2B093CB1: xor ecx, ecx */ 5703 _cf = 0; 5704 _flag_k = FK_TEST; 5705 /* cmp eax, edx */ /* 0x2B093CB3: cmp eax, edx */ 5706 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5707 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5708 _flag_k = FK_CMP; 5709 SET_LO8(ecx, (CMP_G(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B093CB5: setg cl */ 5710 SET_LO8(eax, LO8(ecx)); /* 0x2B093CB8: mov al, cl */ 5711 esi = POP32_VAL(esp); /* 0x2B093CBA: pop esi */ 5712 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B093CBB: ret */ 5713 RECOMP_REGS_OUT(); 5714 } 5715 5716 void sub_2B093CC0(void) { 5717 int _fpu_cmp = 0; 5718 uint32_t _cf = 0; 5719 int _df = 1; 5720 uint32_t _flag_k = FK_NONE; 5721 uint32_t _flag_a = 0, _flag_b = 0; 5722 uint32_t _itail_tgt = 0; 5723 RECOMP_REGS_LOCALS 5724 RECOMP_ENTER(0x2B093CC0u); 5725 5726 L_2B093CC0: 5727 PUSH32(esp, ebp); /* 0x2B093CC0: push ebp */ 5728 ebp = esp; /* 0x2B093CC1: mov ebp, esp */ 5729 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B093CC3: push -1 */ 5730 PUSH32(esp, 0x2B0B2F0Bu); /* 0x2B093CC5: push 0x2b0b2f0b */ 5731 eax = MEM32(FS_BASE + (0)); /* 0x2B093CCA: mov eax, dword ptr fs:[0] */ 5732 PUSH32(esp, eax); /* 0x2B093CD0: push eax */ 5733 MEM32(FS_BASE + (0)) = esp; /* 0x2B093CD1: mov dword ptr fs:[0], esp */ 5734 PUSH32(esp, ecx); /* 0x2B093CD8: push ecx */ 5735 PUSH32(esp, esi); /* 0x2B093CD9: push esi */ 5736 esi = ecx; /* 0x2B093CDA: mov esi, ecx */ 5737 eax = MEM32(esi + 0x38); /* 0x2B093CDC: mov eax, dword ptr [esi + 0x38] */ 5738 /* test eax, eax */ /* 0x2B093CDF: test eax, eax */ 5739 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5740 _cf = 0; 5741 _flag_k = FK_TEST; 5742 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B093D31; /* 0x2B093CE1: jne 0x2b093d31 */ 5743 L_2B093CE3: 5744 PUSH32(esp, 0x44u); /* 0x2B093CE3: push 0x44 */ 5745 RECOMP_ICALL(0x2B0AB212u); /* 0x2B093CE5: call 0x2b0ab212 */ /* not lifted */ 5746 RECOMP_FLAGS_IN(); 5747 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5748 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5749 esp = esp + 4; /* 0x2B093CEA: add esp, 4 */ 5750 _flag_k = FK_ADD; 5751 MEM32(ebp + (-0x10)) = eax; /* 0x2B093CED: mov dword ptr [ebp - 0x10], eax */ 5752 /* test eax, eax */ /* 0x2B093CF0: test eax, eax */ 5753 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5754 _cf = 0; 5755 _flag_k = FK_TEST; 5756 MEM32(ebp + (-0x4)) = 0; /* 0x2B093CF2: mov dword ptr [ebp - 4], 0 */ 5757 if (TEST_Z(_flag_a, _flag_b)) goto L_2B093D10; /* 0x2B093CF9: je 0x2b093d10 */ 5758 L_2B093CFB: 5759 ecx = MEM32(ebp + 0x8); /* 0x2B093CFB: mov ecx, dword ptr [ebp + 8] */ 5760 edx = MEM32(esi + 0x84); /* 0x2B093CFE: mov edx, dword ptr [esi + 0x84] */ 5761 PUSH32(esp, ecx); /* 0x2B093D04: push ecx */ 5762 PUSH32(esp, edx); /* 0x2B093D05: push edx */ 5763 PUSH32(esp, esi); /* 0x2B093D06: push esi */ 5764 ecx = eax; /* 0x2B093D07: mov ecx, eax */ 5765 RECOMP_ICALL(0x2B093D50u); /* 0x2B093D09: call 0x2b093d50 */ /* not lifted */ 5766 RECOMP_FLAGS_IN(); 5767 goto L_2B093D12; /* 0x2B093D0E: jmp 0x2b093d12 */ 5768 L_2B093D10: 5769 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5770 eax = 0; /* 0x2B093D10: xor eax, eax */ 5771 _cf = 0; 5772 _flag_k = FK_TEST; 5773 L_2B093D12: 5774 ecx = esi; /* 0x2B093D12: mov ecx, esi */ 5775 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B093D14: mov dword ptr [ebp - 4], 0xffffffff */ 5776 MEM32(esi + 0x38) = eax; /* 0x2B093D1B: mov dword ptr [esi + 0x38], eax */ 5777 RECOMP_ICALL(0x2B094F20u); /* 0x2B093D1E: call 0x2b094f20 */ /* not lifted */ 5778 RECOMP_FLAGS_IN(); 5779 eax = esi + 0x9C; /* 0x2B093D23: lea eax, [esi + 0x9c] */ 5780 PUSH32(esp, eax); /* 0x2B093D29: push eax */ 5781 ecx = esi; /* 0x2B093D2A: mov ecx, esi */ 5782 RECOMP_ICALL(0x2B0955C0u); /* 0x2B093D2C: call 0x2b0955c0 */ /* not lifted */ 5783 RECOMP_FLAGS_IN(); 5784 L_2B093D31: 5785 ecx = MEM32(ebp + (-0xC)); /* 0x2B093D31: mov ecx, dword ptr [ebp - 0xc] */ 5786 esi = POP32_VAL(esp); /* 0x2B093D34: pop esi */ 5787 MEM32(FS_BASE + (0)) = ecx; /* 0x2B093D35: mov dword ptr fs:[0], ecx */ 5788 esp = ebp; /* 0x2B093D3C: mov esp, ebp */ 5789 ebp = POP32_VAL(esp); /* 0x2B093D3E: pop ebp */ 5790 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B093D3F: ret 4 */ 5791 RECOMP_REGS_OUT(); 5792 } 5793 5794 void sub_2B093D50(void) { 5795 int _fpu_cmp = 0; 5796 uint32_t _cf = 0; 5797 int _df = 1; 5798 uint32_t _flag_k = FK_NONE; 5799 uint32_t _flag_a = 0, _flag_b = 0; 5800 uint32_t _itail_tgt = 0; 5801 RECOMP_REGS_LOCALS 5802 RECOMP_ENTER(0x2B093D50u); 5803 5804 L_2B093D50: 5805 PUSH32(esp, ebp); /* 0x2B093D50: push ebp */ 5806 ebp = esp; /* 0x2B093D51: mov ebp, esp */ 5807 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B093D53: push -1 */ 5808 PUSH32(esp, 0x2B0B2F99u); /* 0x2B093D55: push 0x2b0b2f99 */ 5809 eax = MEM32(FS_BASE + (0)); /* 0x2B093D5A: mov eax, dword ptr fs:[0] */ 5810 PUSH32(esp, eax); /* 0x2B093D60: push eax */ 5811 MEM32(FS_BASE + (0)) = esp; /* 0x2B093D61: mov dword ptr fs:[0], esp */ 5812 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x84u); 5813 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5814 esp = esp - 0x84u; /* 0x2B093D68: sub esp, 0x84 */ 5815 _flag_k = FK_CMP; 5816 SET_LO8(eax, MEM8(ebp + 0x13)); /* 0x2B093D6E: mov al, byte ptr [ebp + 0x13] */ 5817 PUSH32(esp, ebx); /* 0x2B093D71: push ebx */ 5818 PUSH32(esp, esi); /* 0x2B093D72: push esi */ 5819 esi = ecx; /* 0x2B093D73: mov esi, ecx */ 5820 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5821 ebx = 0; /* 0x2B093D75: xor ebx, ebx */ 5822 _cf = 0; 5823 _flag_k = FK_TEST; 5824 PUSH32(esp, edi); /* 0x2B093D77: push edi */ 5825 MEM32(ebp + (-0x38)) = esi; /* 0x2B093D78: mov dword ptr [ebp - 0x38], esi */ 5826 MEM8(esi + 0x24) = (uint8_t)(LO8(eax)); /* 0x2B093D7B: mov byte ptr [esi + 0x24], al */ 5827 MEM32(esi + 0x28) = ebx; /* 0x2B093D7E: mov dword ptr [esi + 0x28], ebx */ 5828 MEM32(esi + 0x2C) = ebx; /* 0x2B093D81: mov dword ptr [esi + 0x2c], ebx */ 5829 MEM32(esi + 0x30) = ebx; /* 0x2B093D84: mov dword ptr [esi + 0x30], ebx */ 5830 ecx = MEM32(ebp + 0x8); /* 0x2B093D87: mov ecx, dword ptr [ebp + 8] */ 5831 edx = MEM32(ebp + 0xC); /* 0x2B093D8A: mov edx, dword ptr [ebp + 0xc] */ 5832 eax = MEM32(ebp + 0x10); /* 0x2B093D8D: mov eax, dword ptr [ebp + 0x10] */ 5833 PUSH32(esp, 0x50u); /* 0x2B093D90: push 0x50 */ 5834 MEM32(ebp + (-0x4)) = ebx; /* 0x2B093D92: mov dword ptr [ebp - 4], ebx */ 5835 MEM32(esi + 0x3C) = ecx; /* 0x2B093D95: mov dword ptr [esi + 0x3c], ecx */ 5836 MEM32(esi + 0x40) = edx; /* 0x2B093D98: mov dword ptr [esi + 0x40], edx */ 5837 MEM32(ebp + (-0x14)) = ebx; /* 0x2B093D9B: mov dword ptr [ebp - 0x14], ebx */ 5838 MEM32(ebp + (-0x10)) = ebx; /* 0x2B093D9E: mov dword ptr [ebp - 0x10], ebx */ 5839 MEM32(esi + 0x34) = ebx; /* 0x2B093DA1: mov dword ptr [esi + 0x34], ebx */ 5840 MEM32(esi + 0x38) = eax; /* 0x2B093DA4: mov dword ptr [esi + 0x38], eax */ 5841 RECOMP_ICALL(0x2B0AB212u); /* 0x2B093DA7: call 0x2b0ab212 */ /* not lifted */ 5842 RECOMP_FLAGS_IN(); 5843 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5844 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5845 esp = esp + 4; /* 0x2B093DAC: add esp, 4 */ 5846 _flag_k = FK_ADD; 5847 MEM32(ebp + 0x8) = eax; /* 0x2B093DAF: mov dword ptr [ebp + 8], eax */ 5848 /* cmp eax, ebx */ /* 0x2B093DB2: cmp eax, ebx */ 5849 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 5850 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5851 _flag_k = FK_CMP; 5852 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B093DB4: mov byte ptr [ebp - 4], 1 */ 5853 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093DED; /* 0x2B093DB8: je 0x2b093ded */ 5854 L_2B093DBA: 5855 ecx = MEM32(esi + 0x40); /* 0x2B093DBA: mov ecx, dword ptr [esi + 0x40] */ 5856 PUSH32(esp, ebx); /* 0x2B093DBD: push ebx */ 5857 PUSH32(esp, 0x3F800000u); /* 0x2B093DBE: push 0x3f800000 */ 5858 PUSH32(esp, 0x3F800000u); /* 0x2B093DC3: push 0x3f800000 */ 5859 PUSH32(esp, ecx); /* 0x2B093DC8: push ecx */ 5860 edx = ebp + (-0x14); /* 0x2B093DC9: lea edx, [ebp - 0x14] */ 5861 PUSH32(esp, edx); /* 0x2B093DCC: push edx */ 5862 ecx = ebp + (-0x2C); /* 0x2B093DCD: lea ecx, [ebp - 0x2c] */ 5863 PUSH32(esp, ecx); /* 0x2B093DD0: push ecx */ 5864 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B093DD1: push -1 */ 5865 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B093DD3: push -1 */ 5866 ecx = eax; /* 0x2B093DD5: mov ecx, eax */ 5867 MEM32(ebp + (-0x2C)) = 0x100u; /* 0x2B093DD7: mov dword ptr [ebp - 0x2c], 0x100 */ 5868 MEM32(ebp + (-0x28)) = 0x200u; /* 0x2B093DDE: mov dword ptr [ebp - 0x28], 0x200 */ 5869 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B093DE5: call dword ptr [0x2b0b5bd8] */ 5870 RECOMP_FLAGS_IN(); 5871 goto L_2B093DEF; /* 0x2B093DEB: jmp 0x2b093def */ 5872 L_2B093DED: 5873 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5874 eax = 0; /* 0x2B093DED: xor eax, eax */ 5875 _cf = 0; 5876 _flag_k = FK_TEST; 5877 L_2B093DEF: 5878 PUSH32(esp, 1); /* 0x2B093DEF: push 1 */ 5879 MEM32(esi) = eax; /* 0x2B093DF1: mov dword ptr [esi], eax */ 5880 eax = MEM32(eax + 0x28); /* 0x2B093DF3: mov eax, dword ptr [eax + 0x28] */ 5881 PUSH32(esp, ebx); /* 0x2B093DF6: push ebx */ 5882 PUSH32(esp, ebx); /* 0x2B093DF7: push ebx */ 5883 ecx = eax; /* 0x2B093DF8: mov ecx, eax */ 5884 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B093DFA: mov byte ptr [ebp - 4], 0 */ 5885 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B093DFE: call dword ptr [0x2b0b564c] */ 5886 RECOMP_FLAGS_IN(); 5887 PUSH32(esp, 0x38u); /* 0x2B093E04: push 0x38 */ 5888 RECOMP_ICALL(0x2B0AB212u); /* 0x2B093E06: call 0x2b0ab212 */ /* not lifted */ 5889 RECOMP_FLAGS_IN(); 5890 edi = eax; /* 0x2B093E0B: mov edi, eax */ 5891 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5892 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5893 esp = esp + 4; /* 0x2B093E0D: add esp, 4 */ 5894 _flag_k = FK_ADD; 5895 MEM32(ebp + 0x8) = edi; /* 0x2B093E10: mov dword ptr [ebp + 8], edi */ 5896 /* cmp edi, ebx */ /* 0x2B093E13: cmp edi, ebx */ 5897 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 5898 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5899 _flag_k = FK_CMP; 5900 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B093E15: mov byte ptr [ebp - 4], 2 */ 5901 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093E3B; /* 0x2B093E19: je 0x2b093e3b */ 5902 L_2B093E1B: 5903 edx = MEM32(esi); /* 0x2B093E1B: mov edx, dword ptr [esi] */ 5904 eax = MEM32(esi + 0x40); /* 0x2B093E1D: mov eax, dword ptr [esi + 0x40] */ 5905 PUSH32(esp, edx); /* 0x2B093E20: push edx */ 5906 PUSH32(esp, eax); /* 0x2B093E21: push eax */ 5907 PUSH32(esp, 0xA2u); /* 0x2B093E22: push 0xa2 */ 5908 ecx = ebp + (-0x14); /* 0x2B093E27: lea ecx, [ebp - 0x14] */ 5909 PUSH32(esp, ecx); /* 0x2B093E2A: push ecx */ 5910 ecx = edi; /* 0x2B093E2B: mov ecx, edi */ 5911 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B093E2D: call dword ptr [0x2b0b5948] */ 5912 RECOMP_FLAGS_IN(); 5913 MEM32(edi) = 0x2B0B68F4u; /* 0x2B093E33: mov dword ptr [edi], 0x2b0b68f4 */ 5914 goto L_2B093E3D; /* 0x2B093E39: jmp 0x2b093e3d */ 5915 L_2B093E3B: 5916 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5917 edi = 0; /* 0x2B093E3B: xor edi, edi */ 5918 _cf = 0; 5919 _flag_k = FK_TEST; 5920 L_2B093E3D: 5921 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B093E3D: mov dword ptr [ebp - 0x1c], ebx */ 5922 MEM32(ebp + (-0x18)) = ebx; /* 0x2B093E40: mov dword ptr [ebp - 0x18], ebx */ 5923 MEM32(esi + 0x4) = edi; /* 0x2B093E43: mov dword ptr [esi + 4], edi */ 5924 eax = MEM32(edi + 0x14); /* 0x2B093E46: mov eax, dword ptr [edi + 0x14] */ 5925 edx = MEM32(eax + 0xC); /* 0x2B093E49: mov edx, dword ptr [eax + 0xc] */ 5926 MEM32(ebp + (-0x1C)) = edx; /* 0x2B093E4C: mov dword ptr [ebp - 0x1c], edx */ 5927 edi = MEM32(edi + 0x14); /* 0x2B093E4F: mov edi, dword ptr [edi + 0x14] */ 5928 eax = MEM32(edi + 0x8); /* 0x2B093E52: mov eax, dword ptr [edi + 8] */ 5929 ecx = ebp + (-0x1C); /* 0x2B093E55: lea ecx, [ebp - 0x1c] */ 5930 PUSH32(esp, ecx); /* 0x2B093E58: push ecx */ 5931 ecx = MEM32(esi); /* 0x2B093E59: mov ecx, dword ptr [esi] */ 5932 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B093E5B: mov byte ptr [ebp - 4], 0 */ 5933 MEM32(ebp + (-0x18)) = eax; /* 0x2B093E5F: mov dword ptr [ebp - 0x18], eax */ 5934 RECOMP_ICALL(MEM32(0x2B0B5978)); /* 0x2B093E62: call dword ptr [0x2b0b5978] */ 5935 RECOMP_FLAGS_IN(); 5936 PUSH32(esp, 0x64u); /* 0x2B093E68: push 0x64 */ 5937 RECOMP_ICALL(0x2B0AB212u); /* 0x2B093E6A: call 0x2b0ab212 */ /* not lifted */ 5938 RECOMP_FLAGS_IN(); 5939 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5940 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5941 esp = esp + 4; /* 0x2B093E6F: add esp, 4 */ 5942 _flag_k = FK_ADD; 5943 MEM32(ebp + 0x8) = eax; /* 0x2B093E72: mov dword ptr [ebp + 8], eax */ 5944 /* cmp eax, ebx */ /* 0x2B093E75: cmp eax, ebx */ 5945 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 5946 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5947 _flag_k = FK_CMP; 5948 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B093E77: mov byte ptr [ebp - 4], 3 */ 5949 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093EA6; /* 0x2B093E7B: je 0x2b093ea6 */ 5950 L_2B093E7D: 5951 edx = MEM32(esi); /* 0x2B093E7D: mov edx, dword ptr [esi] */ 5952 ecx = MEM32(esi + 0x40); /* 0x2B093E7F: mov ecx, dword ptr [esi + 0x40] */ 5953 PUSH32(esp, edx); /* 0x2B093E82: push edx */ 5954 PUSH32(esp, ebx); /* 0x2B093E83: push ebx */ 5955 PUSH32(esp, 0x30u); /* 0x2B093E84: push 0x30 */ 5956 PUSH32(esp, 4); /* 0x2B093E86: push 4 */ 5957 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 5958 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5959 ecx = ecx + 2; /* 0x2B093E88: add ecx, 2 */ 5960 _flag_k = FK_ADD; 5961 PUSH32(esp, ecx); /* 0x2B093E8B: push ecx */ 5962 PUSH32(esp, 0x64u); /* 0x2B093E8C: push 0x64 */ 5963 PUSH32(esp, ebx); /* 0x2B093E8E: push ebx */ 5964 PUSH32(esp, ebx); /* 0x2B093E8F: push ebx */ 5965 PUSH32(esp, 0x36u); /* 0x2B093E90: push 0x36 */ 5966 PUSH32(esp, 0x36u); /* 0x2B093E92: push 0x36 */ 5967 PUSH32(esp, 3); /* 0x2B093E94: push 3 */ 5968 PUSH32(esp, 2); /* 0x2B093E96: push 2 */ 5969 edx = ebp + (-0x14); /* 0x2B093E98: lea edx, [ebp - 0x14] */ 5970 PUSH32(esp, edx); /* 0x2B093E9B: push edx */ 5971 ecx = eax; /* 0x2B093E9C: mov ecx, eax */ 5972 RECOMP_ICALL(MEM32(0x2B0B58F8)); /* 0x2B093E9E: call dword ptr [0x2b0b58f8] */ 5973 RECOMP_FLAGS_IN(); 5974 goto L_2B093EA8; /* 0x2B093EA4: jmp 0x2b093ea8 */ 5975 L_2B093EA6: 5976 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5977 eax = 0; /* 0x2B093EA6: xor eax, eax */ 5978 _cf = 0; 5979 _flag_k = FK_TEST; 5980 L_2B093EA8: 5981 ecx = MEM32(ebp + 0x10); /* 0x2B093EA8: mov ecx, dword ptr [ebp + 0x10] */ 5982 PUSH32(esp, ecx); /* 0x2B093EAB: push ecx */ 5983 ecx = eax; /* 0x2B093EAC: mov ecx, eax */ 5984 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B093EAE: mov byte ptr [ebp - 4], 0 */ 5985 MEM32(esi + 0x8) = eax; /* 0x2B093EB2: mov dword ptr [esi + 8], eax */ 5986 RECOMP_ICALL(MEM32(0x2B0B58FC)); /* 0x2B093EB5: call dword ptr [0x2b0b58fc] */ 5987 RECOMP_FLAGS_IN(); 5988 eax = MEM32(esi + 0x8); /* 0x2B093EBB: mov eax, dword ptr [esi + 8] */ 5989 MEM32(eax + 0x5C) = 0x2B094450u; /* 0x2B093EBE: mov dword ptr [eax + 0x5c], 0x2b094450 */ 5990 MEM32(eax + 0x60) = esi; /* 0x2B093EC5: mov dword ptr [eax + 0x60], esi */ 5991 ecx = MEM32(esi + 0x8); /* 0x2B093EC8: mov ecx, dword ptr [esi + 8] */ 5992 PUSH32(esp, ebx); /* 0x2B093ECB: push ebx */ 5993 RECOMP_ICALL(MEM32(0x2B0B58E4)); /* 0x2B093ECC: call dword ptr [0x2b0b58e4] */ 5994 RECOMP_FLAGS_IN(); 5995 edx = MEM32(ebp + (-0x1C)); /* 0x2B093ED2: mov edx, dword ptr [ebp - 0x1c] */ 5996 eax = MEM32(ebp + (-0x18)); /* 0x2B093ED5: mov eax, dword ptr [ebp - 0x18] */ 5997 PUSH32(esp, 0x70u); /* 0x2B093ED8: push 0x70 */ 5998 MEM32(ebp + (-0x2C)) = edx; /* 0x2B093EDA: mov dword ptr [ebp - 0x2c], edx */ 5999 MEM32(ebp + (-0x28)) = eax; /* 0x2B093EDD: mov dword ptr [ebp - 0x28], eax */ 6000 RECOMP_ICALL(0x2B0AB212u); /* 0x2B093EE0: call 0x2b0ab212 */ /* not lifted */ 6001 RECOMP_FLAGS_IN(); 6002 edi = eax; /* 0x2B093EE5: mov edi, eax */ 6003 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6004 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6005 esp = esp + 4; /* 0x2B093EE7: add esp, 4 */ 6006 _flag_k = FK_ADD; 6007 MEM32(ebp + 0x8) = edi; /* 0x2B093EEA: mov dword ptr [ebp + 8], edi */ 6008 /* cmp edi, ebx */ /* 0x2B093EED: cmp edi, ebx */ 6009 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 6010 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6011 _flag_k = FK_CMP; 6012 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B093EEF: mov byte ptr [ebp - 4], 4 */ 6013 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093F30; /* 0x2B093EF3: je 0x2b093f30 */ 6014 L_2B093EF5: 6015 ecx = MEM32(esi); /* 0x2B093EF5: mov ecx, dword ptr [esi] */ 6016 PUSH32(esp, ecx); /* 0x2B093EF7: push ecx */ 6017 ecx = MEM32(ebp + (-0x28)); /* 0x2B093EF8: mov ecx, dword ptr [ebp - 0x28] */ 6018 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B093EFB: push -1 */ 6019 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B093EFD: push -1 */ 6020 PUSH32(esp, 0x3Cu); /* 0x2B093EFF: push 0x3c */ 6021 PUSH32(esp, ebx); /* 0x2B093F01: push ebx */ 6022 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 6023 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6024 esp = esp - 0x10u; /* 0x2B093F02: sub esp, 0x10 */ 6025 _flag_k = FK_CMP; 6026 edx = esp; /* 0x2B093F05: mov edx, esp */ 6027 MEM32(edx) = ebx; /* 0x2B093F07: mov dword ptr [edx], ebx */ 6028 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6029 eax = 0; /* 0x2B093F09: xor eax, eax */ 6030 _cf = 0; 6031 _flag_k = FK_TEST; 6032 MEM32(edx + 0x4) = eax; /* 0x2B093F0B: mov dword ptr [edx + 4], eax */ 6033 eax = MEM32(ebp + (-0x2C)); /* 0x2B093F0E: mov eax, dword ptr [ebp - 0x2c] */ 6034 MEM32(edx + 0x8) = eax; /* 0x2B093F11: mov dword ptr [edx + 8], eax */ 6035 MEM32(edx + 0xC) = ecx; /* 0x2B093F14: mov dword ptr [edx + 0xc], ecx */ 6036 edx = MEM32(esi + 0x40); /* 0x2B093F17: mov edx, dword ptr [esi + 0x40] */ 6037 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 6038 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6039 edx = edx + 4; /* 0x2B093F1A: add edx, 4 */ 6040 _flag_k = FK_ADD; 6041 PUSH32(esp, edx); /* 0x2B093F1D: push edx */ 6042 PUSH32(esp, ebx); /* 0x2B093F1E: push ebx */ 6043 PUSH32(esp, ebx); /* 0x2B093F1F: push ebx */ 6044 ecx = edi; /* 0x2B093F20: mov ecx, edi */ 6045 RECOMP_ICALL(MEM32(0x2B0B5C00)); /* 0x2B093F22: call dword ptr [0x2b0b5c00] */ 6046 RECOMP_FLAGS_IN(); 6047 MEM32(edi) = 0x2B0B6164u; /* 0x2B093F28: mov dword ptr [edi], 0x2b0b6164 */ 6048 goto L_2B093F32; /* 0x2B093F2E: jmp 0x2b093f32 */ 6049 L_2B093F30: 6050 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6051 edi = 0; /* 0x2B093F30: xor edi, edi */ 6052 _cf = 0; 6053 _flag_k = FK_TEST; 6054 L_2B093F32: 6055 /* cmp MEM32(ebp + 0x10), 1 */ /* 0x2B093F32: cmp dword ptr [ebp + 0x10], 1 */ 6056 _flag_a = (uint32_t)(MEM32(ebp + 0x10)); _flag_b = (uint32_t)(1); 6057 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6058 _flag_k = FK_CMP; 6059 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B093F36: mov byte ptr [ebp - 4], 0 */ 6060 MEM32(esi + 0xC) = edi; /* 0x2B093F3A: mov dword ptr [esi + 0xc], edi */ 6061 MEM32(ebp + 0x8) = 0x2B0ED4A8u; /* 0x2B093F3D: mov dword ptr [ebp + 8], 0x2b0ed4a8 */ 6062 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093F4D; /* 0x2B093F44: je 0x2b093f4d */ 6063 L_2B093F46: 6064 MEM32(ebp + 0x8) = 0x2B0ED49Cu; /* 0x2B093F46: mov dword ptr [ebp + 8], 0x2b0ed49c */ 6065 L_2B093F4D: 6066 PUSH32(esp, 0x50u); /* 0x2B093F4D: push 0x50 */ 6067 RECOMP_ICALL(0x2B0AB212u); /* 0x2B093F4F: call 0x2b0ab212 */ /* not lifted */ 6068 RECOMP_FLAGS_IN(); 6069 edi = eax; /* 0x2B093F54: mov edi, eax */ 6070 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6071 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6072 esp = esp + 4; /* 0x2B093F56: add esp, 4 */ 6073 _flag_k = FK_ADD; 6074 MEM32(ebp + 0xC) = edi; /* 0x2B093F59: mov dword ptr [ebp + 0xc], edi */ 6075 /* cmp edi, ebx */ /* 0x2B093F5C: cmp edi, ebx */ 6076 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 6077 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6078 _flag_k = FK_CMP; 6079 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B093F5E: mov byte ptr [ebp - 4], 5 */ 6080 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093F8D; /* 0x2B093F62: je 0x2b093f8d */ 6081 L_2B093F64: 6082 eax = MEM32(esi); /* 0x2B093F64: mov eax, dword ptr [esi] */ 6083 ecx = MEM32(ebp + (-0x10)); /* 0x2B093F66: mov ecx, dword ptr [ebp - 0x10] */ 6084 edx = MEM32(ebp + (-0x14)); /* 0x2B093F69: mov edx, dword ptr [ebp - 0x14] */ 6085 PUSH32(esp, eax); /* 0x2B093F6C: push eax */ 6086 eax = MEM32(esi + 0x40); /* 0x2B093F6D: mov eax, dword ptr [esi + 0x40] */ 6087 PUSH32(esp, ebx); /* 0x2B093F70: push ebx */ 6088 PUSH32(esp, ecx); /* 0x2B093F71: push ecx */ 6089 ecx = MEM32(ebp + 0x8); /* 0x2B093F72: mov ecx, dword ptr [ebp + 8] */ 6090 PUSH32(esp, edx); /* 0x2B093F75: push edx */ 6091 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 6092 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6093 eax = eax + 2; /* 0x2B093F76: add eax, 2 */ 6094 _flag_k = FK_ADD; 6095 PUSH32(esp, eax); /* 0x2B093F79: push eax */ 6096 PUSH32(esp, ecx); /* 0x2B093F7A: push ecx */ 6097 PUSH32(esp, 1); /* 0x2B093F7B: push 1 */ 6098 ecx = edi; /* 0x2B093F7D: mov ecx, edi */ 6099 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B093F7F: call dword ptr [0x2b0b5950] */ 6100 RECOMP_FLAGS_IN(); 6101 MEM32(edi) = 0x2B0B6878u; /* 0x2B093F85: mov dword ptr [edi], 0x2b0b6878 */ 6102 goto L_2B093F8F; /* 0x2B093F8B: jmp 0x2b093f8f */ 6103 L_2B093F8D: 6104 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6105 edi = 0; /* 0x2B093F8D: xor edi, edi */ 6106 _cf = 0; 6107 _flag_k = FK_TEST; 6108 L_2B093F8F: 6109 PUSH32(esp, 0x00D7F0FFu); /* 0x2B093F8F: push 0xd7f0ff */ 6110 ecx = edi; /* 0x2B093F94: mov ecx, edi */ 6111 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B093F96: mov byte ptr [ebp - 4], 0 */ 6112 MEM32(esi + 0x10) = edi; /* 0x2B093F9A: mov dword ptr [esi + 0x10], edi */ 6113 RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B093F9D: call dword ptr [0x2b0b5858] */ 6114 RECOMP_FLAGS_IN(); 6115 PUSH32(esp, 0x50u); /* 0x2B093FA3: push 0x50 */ 6116 RECOMP_ICALL(0x2B0AB212u); /* 0x2B093FA5: call 0x2b0ab212 */ /* not lifted */ 6117 RECOMP_FLAGS_IN(); 6118 edi = eax; /* 0x2B093FAA: mov edi, eax */ 6119 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6120 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6121 esp = esp + 4; /* 0x2B093FAC: add esp, 4 */ 6122 _flag_k = FK_ADD; 6123 MEM32(ebp + 0x8) = edi; /* 0x2B093FAF: mov dword ptr [ebp + 8], edi */ 6124 /* cmp edi, ebx */ /* 0x2B093FB2: cmp edi, ebx */ 6125 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 6126 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6127 _flag_k = FK_CMP; 6128 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B093FB4: mov byte ptr [ebp - 4], 6 */ 6129 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B093FE4; /* 0x2B093FB8: je 0x2b093fe4 */ 6130 L_2B093FBA: 6131 edx = MEM32(esi); /* 0x2B093FBA: mov edx, dword ptr [esi] */ 6132 eax = MEM32(ebp + (-0x10)); /* 0x2B093FBC: mov eax, dword ptr [ebp - 0x10] */ 6133 ecx = MEM32(ebp + (-0x14)); /* 0x2B093FBF: mov ecx, dword ptr [ebp - 0x14] */ 6134 PUSH32(esp, edx); /* 0x2B093FC2: push edx */ 6135 edx = MEM32(esi + 0x40); /* 0x2B093FC3: mov edx, dword ptr [esi + 0x40] */ 6136 PUSH32(esp, ebx); /* 0x2B093FC6: push ebx */ 6137 PUSH32(esp, eax); /* 0x2B093FC7: push eax */ 6138 PUSH32(esp, ecx); /* 0x2B093FC8: push ecx */ 6139 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(2); 6140 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6141 edx = edx + 2; /* 0x2B093FC9: add edx, 2 */ 6142 _flag_k = FK_ADD; 6143 PUSH32(esp, edx); /* 0x2B093FCC: push edx */ 6144 PUSH32(esp, 0x2B0ED48Cu); /* 0x2B093FCD: push 0x2b0ed48c */ 6145 PUSH32(esp, 1); /* 0x2B093FD2: push 1 */ 6146 ecx = edi; /* 0x2B093FD4: mov ecx, edi */ 6147 RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B093FD6: call dword ptr [0x2b0b5950] */ 6148 RECOMP_FLAGS_IN(); 6149 MEM32(edi) = 0x2B0B6878u; /* 0x2B093FDC: mov dword ptr [edi], 0x2b0b6878 */ 6150 goto L_2B093FE6; /* 0x2B093FE2: jmp 0x2b093fe6 */ 6151 L_2B093FE4: 6152 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6153 edi = 0; /* 0x2B093FE4: xor edi, edi */ 6154 _cf = 0; 6155 _flag_k = FK_TEST; 6156 L_2B093FE6: 6157 PUSH32(esp, 0x00D7F0FFu); /* 0x2B093FE6: push 0xd7f0ff */ 6158 ecx = edi; /* 0x2B093FEB: mov ecx, edi */ 6159 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B093FED: mov byte ptr [ebp - 4], 0 */ 6160 MEM32(esi + 0x14) = edi; /* 0x2B093FF1: mov dword ptr [esi + 0x14], edi */ 6161 RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B093FF4: call dword ptr [0x2b0b5858] */ 6162 RECOMP_FLAGS_IN(); 6163 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6164 eax = 0; /* 0x2B093FFA: xor eax, eax */ 6165 _cf = 0; 6166 _flag_k = FK_TEST; 6167 ecx = 0xAu; /* 0x2B093FFC: mov ecx, 0xa */ 6168 edi = ebp + (-0x60); /* 0x2B094001: lea edi, [ebp - 0x60] */ 6169 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B094004: 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; } 6170 eax = 1; /* 0x2B094006: mov eax, 1 */ 6171 MEM32(ebp + (-0x54)) = eax; /* 0x2B09400B: mov dword ptr [ebp - 0x54], eax */ 6172 MEM32(ebp + (-0x44)) = eax; /* 0x2B09400E: mov dword ptr [ebp - 0x44], eax */ 6173 eax = MEM32(esi + 0x40); /* 0x2B094011: mov eax, dword ptr [esi + 0x40] */ 6174 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 6175 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6176 eax = eax + 2; /* 0x2B094014: add eax, 2 */ 6177 _flag_k = FK_ADD; 6178 PUSH32(esp, 0xA4u); /* 0x2B094017: push 0xa4 */ 6179 MEM32(ebp + (-0x58)) = 0x55u; /* 0x2B09401C: mov dword ptr [ebp - 0x58], 0x55 */ 6180 MEM32(ebp + (-0x50)) = 0xAu; /* 0x2B094023: mov dword ptr [ebp - 0x50], 0xa */ 6181 MEM32(ebp + (-0x40)) = eax; /* 0x2B09402A: mov dword ptr [ebp - 0x40], eax */ 6182 MEM32(ebp + (-0x3C)) = 0xBCu; /* 0x2B09402D: mov dword ptr [ebp - 0x3c], 0xbc */ 6183 RECOMP_ICALL(0x2B0AB212u); /* 0x2B094034: call 0x2b0ab212 */ /* not lifted */ 6184 RECOMP_FLAGS_IN(); 6185 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6186 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6187 esp = esp + 4; /* 0x2B094039: add esp, 4 */ 6188 _flag_k = FK_ADD; 6189 MEM32(ebp + 0x8) = eax; /* 0x2B09403C: mov dword ptr [ebp + 8], eax */ 6190 /* cmp eax, ebx */ /* 0x2B09403F: cmp eax, ebx */ 6191 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 6192 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6193 _flag_k = FK_CMP; 6194 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B094041: mov byte ptr [ebp - 4], 7 */ 6195 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094058; /* 0x2B094045: je 0x2b094058 */ 6196 L_2B094047: 6197 ecx = MEM32(esi); /* 0x2B094047: mov ecx, dword ptr [esi] */ 6198 PUSH32(esp, ecx); /* 0x2B094049: push ecx */ 6199 edx = ebp + (-0x60); /* 0x2B09404A: lea edx, [ebp - 0x60] */ 6200 PUSH32(esp, edx); /* 0x2B09404D: push edx */ 6201 ecx = eax; /* 0x2B09404E: mov ecx, eax */ 6202 RECOMP_ICALL(MEM32(0x2B0B5808)); /* 0x2B094050: call dword ptr [0x2b0b5808] */ 6203 RECOMP_FLAGS_IN(); 6204 goto L_2B09405A; /* 0x2B094056: jmp 0x2b09405a */ 6205 L_2B094058: 6206 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6207 eax = 0; /* 0x2B094058: xor eax, eax */ 6208 _cf = 0; 6209 _flag_k = FK_TEST; 6210 L_2B09405A: 6211 PUSH32(esp, esi); /* 0x2B09405A: push esi */ 6212 PUSH32(esp, 0x2B094450u); /* 0x2B09405B: push 0x2b094450 */ 6213 ecx = eax; /* 0x2B094060: mov ecx, eax */ 6214 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B094062: mov byte ptr [ebp - 4], 0 */ 6215 MEM32(esi + 0x18) = eax; /* 0x2B094066: mov dword ptr [esi + 0x18], eax */ 6216 RECOMP_ICALL(MEM32(0x2B0B580C)); /* 0x2B094069: call dword ptr [0x2b0b580c] */ 6217 RECOMP_FLAGS_IN(); 6218 eax = MEM32(esi + 0x18); /* 0x2B09406F: mov eax, dword ptr [esi + 0x18] */ 6219 ebx = MEM32(0x2B0B5810); /* 0x2B094072: mov ebx, dword ptr [0x2b0b5810] */ 6220 MEM32(eax + 0x8) = 0x2B0944D0u; /* 0x2B094078: mov dword ptr [eax + 8], 0x2b0944d0 */ 6221 MEM32(eax + 0xC) = esi; /* 0x2B09407F: mov dword ptr [eax + 0xc], esi */ 6222 eax = MEM32(esi + 0x18); /* 0x2B094082: mov eax, dword ptr [esi + 0x18] */ 6223 ecx = MEM32(eax + 0x9C); /* 0x2B094085: mov ecx, dword ptr [eax + 0x9c] */ 6224 PUSH32(esp, 0x2B0E77CCu); /* 0x2B09408B: push 0x2b0e77cc */ 6225 RECOMP_ICALL(ebx); /* 0x2B094090: call ebx */ 6226 RECOMP_FLAGS_IN(); 6227 ecx = MEM32(esi + 0x10); /* 0x2B094092: mov ecx, dword ptr [esi + 0x10] */ 6228 edi = MEM32(0x2B0B5924); /* 0x2B094095: mov edi, dword ptr [0x2b0b5924] */ 6229 PUSH32(esp, 5); /* 0x2B09409B: push 5 */ 6230 PUSH32(esp, 0x20u); /* 0x2B09409D: push 0x20 */ 6231 RECOMP_ICALL(edi); /* 0x2B09409F: call edi */ 6232 RECOMP_FLAGS_IN(); 6233 ecx = MEM32(esi + 0x14); /* 0x2B0940A1: mov ecx, dword ptr [esi + 0x14] */ 6234 PUSH32(esp, 0xBBu); /* 0x2B0940A4: push 0xbb */ 6235 PUSH32(esp, 0x1Bu); /* 0x2B0940A9: push 0x1b */ 6236 MEM32(ebp + (-0x24)) = 0x1Bu; /* 0x2B0940AB: mov dword ptr [ebp - 0x24], 0x1b */ 6237 MEM32(ebp + (-0x20)) = 0xBBu; /* 0x2B0940B2: mov dword ptr [ebp - 0x20], 0xbb */ 6238 RECOMP_ICALL(edi); /* 0x2B0940B9: call edi */ 6239 RECOMP_FLAGS_IN(); 6240 _flag_a = (uint32_t)(MEM32(ebp + (-0x20))); _flag_b = (uint32_t)(0x14u); 6241 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6242 MEM32(ebp + (-0x20)) = MEM32(ebp + (-0x20)) + 0x14u; /* 0x2B0940BB: add dword ptr [ebp - 0x20], 0x14 */ 6243 _flag_k = FK_ADD; 6244 ecx = ebp + (-0x24); /* 0x2B0940BF: lea ecx, [ebp - 0x24] */ 6245 PUSH32(esp, ecx); /* 0x2B0940C2: push ecx */ 6246 ecx = MEM32(esi + 0x18); /* 0x2B0940C3: mov ecx, dword ptr [esi + 0x18] */ 6247 MEM32(ebp + (-0x24)) = 0x16u; /* 0x2B0940C6: mov dword ptr [ebp - 0x24], 0x16 */ 6248 RECOMP_ICALL(MEM32(0x2B0B5A50)); /* 0x2B0940CD: call dword ptr [0x2b0b5a50] */ 6249 RECOMP_FLAGS_IN(); 6250 edx = MEM32(esi + 0x40); /* 0x2B0940D3: mov edx, dword ptr [esi + 0x40] */ 6251 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6252 eax = 0; /* 0x2B0940D6: xor eax, eax */ 6253 _cf = 0; 6254 _flag_k = FK_TEST; 6255 ecx = 0xCu; /* 0x2B0940D8: mov ecx, 0xc */ 6256 edi = ebp + (-0x90); /* 0x2B0940DD: lea edi, [ebp - 0x90] */ 6257 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0940E3: 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; } 6258 PUSH32(esp, 2); /* 0x2B0940E5: push 2 */ 6259 eax = ebp + (-0x2C); /* 0x2B0940E7: lea eax, [ebp - 0x2c] */ 6260 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 6261 edx = edx + 1; /* 0x2B0940EA: inc edx */ 6262 _flag_k = FK_INC; 6263 PUSH32(esp, 0xA3u); /* 0x2B0940EB: push 0xa3 */ 6264 PUSH32(esp, eax); /* 0x2B0940F0: push eax */ 6265 MEM32(ebp + (-0x78)) = edx; /* 0x2B0940F1: mov dword ptr [ebp - 0x78], edx */ 6266 MEM32(ebp + (-0x70)) = 0xA3u; /* 0x2B0940F4: mov dword ptr [ebp - 0x70], 0xa3 */ 6267 MEM32(ebp + (-0x6C)) = 0xA4u; /* 0x2B0940FB: mov dword ptr [ebp - 0x6c], 0xa4 */ 6268 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B094102: call dword ptr [0x2b0b5f80] */ 6269 RECOMP_FLAGS_IN(); 6270 ecx = eax; /* 0x2B094108: mov ecx, eax */ 6271 RECOMP_ICALL(MEM32(0x2B0B5F7C)); /* 0x2B09410A: call dword ptr [0x2b0b5f7c] */ 6272 RECOMP_FLAGS_IN(); 6273 ecx = MEM32(eax); /* 0x2B094110: mov ecx, dword ptr [eax] */ 6274 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B094112: mov dword ptr [ebp - 0x1c], ecx */ 6275 edx = MEM32(eax + 0x4); /* 0x2B094115: mov edx, dword ptr [eax + 4] */ 6276 PUSH32(esp, 0xBCu); /* 0x2B094118: push 0xbc */ 6277 MEM32(ebp + (-0x18)) = edx; /* 0x2B09411D: mov dword ptr [ebp - 0x18], edx */ 6278 MEM32(ebp + (-0x2C)) = 0xCu; /* 0x2B094120: mov dword ptr [ebp - 0x2c], 0xc */ 6279 RECOMP_ICALL(0x2B0AB212u); /* 0x2B094127: call 0x2b0ab212 */ /* not lifted */ 6280 RECOMP_FLAGS_IN(); 6281 edi = eax; /* 0x2B09412C: mov edi, eax */ 6282 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6283 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6284 esp = esp + 4; /* 0x2B09412E: add esp, 4 */ 6285 _flag_k = FK_ADD; 6286 MEM32(ebp + 0x8) = edi; /* 0x2B094131: mov dword ptr [ebp + 8], edi */ 6287 /* test edi, edi */ /* 0x2B094134: test edi, edi */ 6288 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 6289 _cf = 0; 6290 _flag_k = FK_TEST; 6291 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B094136: mov byte ptr [ebp - 4], 8 */ 6292 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094156; /* 0x2B09413A: je 0x2b094156 */ 6293 L_2B09413C: 6294 eax = MEM32(esi); /* 0x2B09413C: mov eax, dword ptr [esi] */ 6295 PUSH32(esp, eax); /* 0x2B09413E: push eax */ 6296 ecx = ebp + (-0x90); /* 0x2B09413F: lea ecx, [ebp - 0x90] */ 6297 PUSH32(esp, ecx); /* 0x2B094145: push ecx */ 6298 ecx = edi; /* 0x2B094146: mov ecx, edi */ 6299 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B094148: call dword ptr [0x2b0b5afc] */ 6300 RECOMP_FLAGS_IN(); 6301 MEM32(edi) = 0x2B0B645Cu; /* 0x2B09414E: mov dword ptr [edi], 0x2b0b645c */ 6302 goto L_2B094158; /* 0x2B094154: jmp 0x2b094158 */ 6303 L_2B094156: 6304 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6305 edi = 0; /* 0x2B094156: xor edi, edi */ 6306 _cf = 0; 6307 _flag_k = FK_TEST; 6308 L_2B094158: 6309 edx = MEM32(ebp + (-0x2C)); /* 0x2B094158: mov edx, dword ptr [ebp - 0x2c] */ 6310 eax = 0xE4u; /* 0x2B09415B: mov eax, 0xe4 */ 6311 PUSH32(esp, eax); /* 0x2B094160: push eax */ 6312 PUSH32(esp, edx); /* 0x2B094161: push edx */ 6313 ecx = edi; /* 0x2B094162: mov ecx, edi */ 6314 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B094164: mov byte ptr [ebp - 4], 0 */ 6315 MEM32(esi + 0x1C) = edi; /* 0x2B094168: mov dword ptr [esi + 0x1c], edi */ 6316 RECOMP_ICALL(MEM32(0x2B0B5A4C)); /* 0x2B09416B: call dword ptr [0x2b0b5a4c] */ 6317 RECOMP_FLAGS_IN(); 6318 ecx = MEM32(esi + 0x1C); /* 0x2B094171: mov ecx, dword ptr [esi + 0x1c] */ 6319 PUSH32(esp, 0x2B0ED47Cu); /* 0x2B094174: push 0x2b0ed47c */ 6320 RECOMP_ICALL(ebx); /* 0x2B094179: call ebx */ 6321 RECOMP_FLAGS_IN(); 6322 PUSH32(esp, 0xBCu); /* 0x2B09417B: push 0xbc */ 6323 MEM32(ebp + (-0x70)) = 0xA5u; /* 0x2B094180: mov dword ptr [ebp - 0x70], 0xa5 */ 6324 MEM32(ebp + (-0x6C)) = 0xA6u; /* 0x2B094187: mov dword ptr [ebp - 0x6c], 0xa6 */ 6325 RECOMP_ICALL(0x2B0AB212u); /* 0x2B09418E: call 0x2b0ab212 */ /* not lifted */ 6326 RECOMP_FLAGS_IN(); 6327 edi = eax; /* 0x2B094193: mov edi, eax */ 6328 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6329 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6330 esp = esp + 4; /* 0x2B094195: add esp, 4 */ 6331 _flag_k = FK_ADD; 6332 MEM32(ebp + 0x8) = edi; /* 0x2B094198: mov dword ptr [ebp + 8], edi */ 6333 /* test edi, edi */ /* 0x2B09419B: test edi, edi */ 6334 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 6335 _cf = 0; 6336 _flag_k = FK_TEST; 6337 MEM8(ebp + (-0x4)) = (uint8_t)(9); /* 0x2B09419D: mov byte ptr [ebp - 4], 9 */ 6338 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0941BF; /* 0x2B0941A1: je 0x2b0941bf */ 6339 L_2B0941A3: 6340 eax = MEM32(esi); /* 0x2B0941A3: mov eax, dword ptr [esi] */ 6341 PUSH32(esp, eax); /* 0x2B0941A5: push eax */ 6342 ecx = ebp + (-0x90); /* 0x2B0941A6: lea ecx, [ebp - 0x90] */ 6343 PUSH32(esp, ecx); /* 0x2B0941AC: push ecx */ 6344 ecx = edi; /* 0x2B0941AD: mov ecx, edi */ 6345 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B0941AF: call dword ptr [0x2b0b5afc] */ 6346 RECOMP_FLAGS_IN(); 6347 MEM32(edi) = 0x2B0B645Cu; /* 0x2B0941B5: mov dword ptr [edi], 0x2b0b645c */ 6348 ecx = edi; /* 0x2B0941BB: mov ecx, edi */ 6349 goto L_2B0941C1; /* 0x2B0941BD: jmp 0x2b0941c1 */ 6350 L_2B0941BF: 6351 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6352 ecx = 0; /* 0x2B0941BF: xor ecx, ecx */ 6353 _cf = 0; 6354 _flag_k = FK_TEST; 6355 L_2B0941C1: 6356 eax = 0xE4u; /* 0x2B0941C1: mov eax, 0xe4 */ 6357 PUSH32(esp, eax); /* 0x2B0941C6: push eax */ 6358 eax = 0x3Cu; /* 0x2B0941C7: mov eax, 0x3c */ 6359 PUSH32(esp, eax); /* 0x2B0941CC: push eax */ 6360 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B0941CD: mov byte ptr [ebp - 4], 0 */ 6361 MEM32(esi + 0x20) = ecx; /* 0x2B0941D1: mov dword ptr [esi + 0x20], ecx */ 6362 RECOMP_ICALL(MEM32(0x2B0B5A4C)); /* 0x2B0941D4: call dword ptr [0x2b0b5a4c] */ 6363 RECOMP_FLAGS_IN(); 6364 ecx = MEM32(esi + 0x20); /* 0x2B0941DA: mov ecx, dword ptr [esi + 0x20] */ 6365 PUSH32(esp, 0x2B0ED46Cu); /* 0x2B0941DD: push 0x2b0ed46c */ 6366 RECOMP_ICALL(ebx); /* 0x2B0941E2: call ebx */ 6367 RECOMP_FLAGS_IN(); 6368 ecx = MEM32(esi + 0x1C); /* 0x2B0941E4: mov ecx, dword ptr [esi + 0x1c] */ 6369 edi = MEM32(0x2B0B5820); /* 0x2B0941E7: mov edi, dword ptr [0x2b0b5820] */ 6370 PUSH32(esp, esi); /* 0x2B0941ED: push esi */ 6371 PUSH32(esp, 0x2B0944F0u); /* 0x2B0941EE: push 0x2b0944f0 */ 6372 RECOMP_ICALL(edi); /* 0x2B0941F3: call edi */ 6373 RECOMP_FLAGS_IN(); 6374 ecx = MEM32(esi + 0x20); /* 0x2B0941F5: mov ecx, dword ptr [esi + 0x20] */ 6375 PUSH32(esp, esi); /* 0x2B0941F8: push esi */ 6376 PUSH32(esp, 0x2B094570u); /* 0x2B0941F9: push 0x2b094570 */ 6377 RECOMP_ICALL(edi); /* 0x2B0941FE: call edi */ 6378 RECOMP_FLAGS_IN(); 6379 eax = MEM32(ebp + 0x10); /* 0x2B094200: mov eax, dword ptr [ebp + 0x10] */ 6380 /* cmp eax, 6 */ /* 0x2B094203: cmp eax, 6 */ 6381 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(6); 6382 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6383 _flag_k = FK_CMP; 6384 ecx = eax; /* 0x2B094206: mov ecx, eax */ 6385 MEM32(ebp + 0x8) = ecx; /* 0x2B094208: mov dword ptr [ebp + 8], ecx */ 6386 if (CMP_GE(_flag_a, _flag_b)) goto L_2B09443B; /* 0x2B09420B: jge 0x2b09443b */ 6387 L_2B094211: 6388 goto L_2B094216; /* 0x2B094211: jmp 0x2b094216 */ 6389 L_2B094213: 6390 ecx = MEM32(ebp + 0x8); /* 0x2B094213: mov ecx, dword ptr [ebp + 8] */ 6391 L_2B094216: 6392 eax = ecx; /* 0x2B094216: mov eax, ecx */ 6393 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80000001u); 6394 eax = eax & 0x80000001u; /* 0x2B094218: and eax, 0x80000001 */ 6395 _cf = 0; 6396 _flag_k = FK_TEST; 6397 if (TEST_NS(_flag_a, _flag_b)) goto L_2B094224; /* 0x2B09421D: jns 0x2b094224 */ 6398 L_2B09421F: 6399 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6400 eax = eax - 1; /* 0x2B09421F: dec eax */ 6401 _flag_k = FK_DEC; 6402 _flag_a = (uint32_t)((eax | 0xFFFFFFFEu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFEu)); 6403 eax = eax | 0xFFFFFFFEu; /* 0x2B094220: or eax, 0xfffffffe */ 6404 _cf = 0; 6405 _flag_k = FK_TEST; 6406 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6407 eax = eax + 1; /* 0x2B094223: inc eax */ 6408 _flag_k = FK_INC; 6409 L_2B094224: 6410 eax = eax + eax * 2; /* 0x2B094224: lea eax, [eax + eax*2] */ 6411 edx = eax + eax * 8; /* 0x2B094227: lea edx, [eax + eax*8] */ 6412 eax = edx + edx + 0x5; /* 0x2B09422A: lea eax, [edx + edx + 5] */ 6413 MEM32(ebp + (-0x14)) = eax; /* 0x2B09422E: mov dword ptr [ebp - 0x14], eax */ 6414 eax = ecx; /* 0x2B094231: mov eax, ecx */ 6415 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B094233: cdq */ 6416 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 6417 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6418 eax = eax - edx; /* 0x2B094234: sub eax, edx */ 6419 _flag_k = FK_CMP; 6420 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B094236: sar eax, 1 */ 6421 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6422 eax = (uint32_t)((int32_t)eax >> 1u); 6423 eax = eax + eax * 2; /* 0x2B094238: lea eax, [eax + eax*2] */ 6424 ecx = eax + eax * 8; /* 0x2B09423B: lea ecx, [eax + eax*8] */ 6425 edx = ecx + ecx + 0x15; /* 0x2B09423E: lea edx, [ecx + ecx + 0x15] */ 6426 PUSH32(esp, 0x38u); /* 0x2B094242: push 0x38 */ 6427 MEM32(ebp + (-0x10)) = edx; /* 0x2B094244: mov dword ptr [ebp - 0x10], edx */ 6428 RECOMP_ICALL(0x2B0AB212u); /* 0x2B094247: call 0x2b0ab212 */ /* not lifted */ 6429 RECOMP_FLAGS_IN(); 6430 edi = eax; /* 0x2B09424C: mov edi, eax */ 6431 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6432 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6433 esp = esp + 4; /* 0x2B09424E: add esp, 4 */ 6434 _flag_k = FK_ADD; 6435 MEM32(ebp + 0x10) = edi; /* 0x2B094251: mov dword ptr [ebp + 0x10], edi */ 6436 /* test edi, edi */ /* 0x2B094254: test edi, edi */ 6437 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 6438 _cf = 0; 6439 _flag_k = FK_TEST; 6440 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B094256: mov byte ptr [ebp - 4], 0xa */ 6441 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094284; /* 0x2B09425A: je 0x2b094284 */ 6442 L_2B09425C: 6443 eax = MEM32(esi); /* 0x2B09425C: mov eax, dword ptr [esi] */ 6444 ecx = MEM32(esi + 0x40); /* 0x2B09425E: mov ecx, dword ptr [esi + 0x40] */ 6445 PUSH32(esp, eax); /* 0x2B094261: push eax */ 6446 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xAu); 6447 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6448 ecx = ecx + 0xAu; /* 0x2B094262: add ecx, 0xa */ 6449 _flag_k = FK_ADD; 6450 PUSH32(esp, ecx); /* 0x2B094265: push ecx */ 6451 PUSH32(esp, 0xA7u); /* 0x2B094266: push 0xa7 */ 6452 edx = ebp + (-0x14); /* 0x2B09426B: lea edx, [ebp - 0x14] */ 6453 PUSH32(esp, edx); /* 0x2B09426E: push edx */ 6454 ecx = edi; /* 0x2B09426F: mov ecx, edi */ 6455 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B094271: call dword ptr [0x2b0b5948] */ 6456 RECOMP_FLAGS_IN(); 6457 ebx = edi; /* 0x2B094277: mov ebx, edi */ 6458 MEM32(edi) = 0x2B0B68F4u; /* 0x2B094279: mov dword ptr [edi], 0x2b0b68f4 */ 6459 MEM32(ebp + 0x10) = ebx; /* 0x2B09427F: mov dword ptr [ebp + 0x10], ebx */ 6460 goto L_2B09428E; /* 0x2B094282: jmp 0x2b09428e */ 6461 L_2B094284: 6462 MEM32(ebp + 0x10) = 0; /* 0x2B094284: mov dword ptr [ebp + 0x10], 0 */ 6463 ebx = MEM32(ebp + 0x10); /* 0x2B09428B: mov ebx, dword ptr [ebp + 0x10] */ 6464 L_2B09428E: 6465 eax = MEM32(esi + 0x2C); /* 0x2B09428E: mov eax, dword ptr [esi + 0x2c] */ 6466 ecx = MEM32(esi + 0x30); /* 0x2B094291: mov ecx, dword ptr [esi + 0x30] */ 6467 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 6468 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6469 ecx = ecx - eax; /* 0x2B094294: sub ecx, eax */ 6470 _flag_k = FK_CMP; 6471 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B094296: sar ecx, 2 */ 6472 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6473 ecx = (uint32_t)((int32_t)ecx >> 2u); 6474 /* cmp ecx, 1 */ /* 0x2B094299: cmp ecx, 1 */ 6475 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 6476 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6477 _flag_k = FK_CMP; 6478 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B09429C: mov byte ptr [ebp - 4], 0 */ 6479 edi = eax; /* 0x2B0942A0: mov edi, eax */ 6480 if (CMP_AE(_flag_a, _flag_b)) goto L_2B09437D; /* 0x2B0942A2: jae 0x2b09437d */ 6481 L_2B0942A8: 6482 edx = MEM32(esi + 0x28); /* 0x2B0942A8: mov edx, dword ptr [esi + 0x28] */ 6483 /* test edx, edx */ /* 0x2B0942AB: test edx, edx */ 6484 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 6485 _cf = 0; 6486 _flag_k = FK_TEST; 6487 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0942BB; /* 0x2B0942AD: je 0x2b0942bb */ 6488 L_2B0942AF: 6489 ecx = eax; /* 0x2B0942AF: mov ecx, eax */ 6490 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 6491 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6492 ecx = ecx - edx; /* 0x2B0942B1: sub ecx, edx */ 6493 _flag_k = FK_CMP; 6494 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0942B3: sar ecx, 2 */ 6495 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6496 ecx = (uint32_t)((int32_t)ecx >> 2u); 6497 /* cmp ecx, 1 */ /* 0x2B0942B6: cmp ecx, 1 */ 6498 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 6499 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6500 _flag_k = FK_CMP; 6501 if (CMP_A(_flag_a, _flag_b)) goto L_2B0942C0; /* 0x2B0942B9: ja 0x2b0942c0 */ 6502 L_2B0942BB: 6503 ecx = 1; /* 0x2B0942BB: mov ecx, 1 */ 6504 L_2B0942C0: 6505 /* test edx, edx */ /* 0x2B0942C0: test edx, edx */ 6506 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 6507 _cf = 0; 6508 _flag_k = FK_TEST; 6509 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0942C8; /* 0x2B0942C2: jne 0x2b0942c8 */ 6510 L_2B0942C4: 6511 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6512 eax = 0; /* 0x2B0942C4: xor eax, eax */ 6513 _cf = 0; 6514 _flag_k = FK_TEST; 6515 goto L_2B0942CD; /* 0x2B0942C6: jmp 0x2b0942cd */ 6516 L_2B0942C8: 6517 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 6518 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6519 eax = eax - edx; /* 0x2B0942C8: sub eax, edx */ 6520 _flag_k = FK_CMP; 6521 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B0942CA: sar eax, 2 */ 6522 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6523 eax = (uint32_t)((int32_t)eax >> 2u); 6524 L_2B0942CD: 6525 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6526 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6527 eax = eax + ecx; /* 0x2B0942CD: add eax, ecx */ 6528 _flag_k = FK_ADD; 6529 /* test eax, eax */ /* 0x2B0942CF: test eax, eax */ 6530 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6531 _cf = 0; 6532 _flag_k = FK_TEST; 6533 MEM32(ebp + (-0x28)) = eax; /* 0x2B0942D1: mov dword ptr [ebp - 0x28], eax */ 6534 if (TEST_NS(_flag_a, _flag_b)) goto L_2B0942D8; /* 0x2B0942D4: jge 0x2b0942d8 */ 6535 L_2B0942D6: 6536 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6537 eax = 0; /* 0x2B0942D6: xor eax, eax */ 6538 _cf = 0; 6539 _flag_k = FK_TEST; 6540 L_2B0942D8: 6541 edx = eax * 4; /* 0x2B0942D8: lea edx, [eax*4] */ 6542 PUSH32(esp, edx); /* 0x2B0942DF: push edx */ 6543 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0942E0: call 0x2b0ab212 */ /* not lifted */ 6544 RECOMP_FLAGS_IN(); 6545 ecx = MEM32(esi + 0x28); /* 0x2B0942E5: mov ecx, dword ptr [esi + 0x28] */ 6546 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6547 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6548 esp = esp + 4; /* 0x2B0942E8: add esp, 4 */ 6549 _flag_k = FK_ADD; 6550 /* cmp ecx, edi */ /* 0x2B0942EB: cmp ecx, edi */ 6551 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 6552 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6553 _flag_k = FK_CMP; 6554 ebx = eax; /* 0x2B0942ED: mov ebx, eax */ 6555 MEM32(ebp + 0xC) = ebx; /* 0x2B0942EF: mov dword ptr [ebp + 0xc], ebx */ 6556 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094306; /* 0x2B0942F2: je 0x2b094306 */ 6557 L_2B0942F4: 6558 /* test eax, eax */ /* 0x2B0942F4: test eax, eax */ 6559 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6560 _cf = 0; 6561 _flag_k = FK_TEST; 6562 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0942FC; /* 0x2B0942F6: je 0x2b0942fc */ 6563 L_2B0942F8: 6564 edx = MEM32(ecx); /* 0x2B0942F8: mov edx, dword ptr [ecx] */ 6565 MEM32(eax) = edx; /* 0x2B0942FA: mov dword ptr [eax], edx */ 6566 L_2B0942FC: 6567 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 6568 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6569 ecx = ecx + 4; /* 0x2B0942FC: add ecx, 4 */ 6570 _flag_k = FK_ADD; 6571 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 6572 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6573 eax = eax + 4; /* 0x2B0942FF: add eax, 4 */ 6574 _flag_k = FK_ADD; 6575 /* cmp ecx, edi */ /* 0x2B094302: cmp ecx, edi */ 6576 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 6577 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6578 _flag_k = FK_CMP; 6579 RECOMP_BACKEDGE(); 6580 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0942F4; /* 0x2B094304: jne 0x2b0942f4 */ 6581 L_2B094306: 6582 /* test eax, eax */ /* 0x2B094306: test eax, eax */ 6583 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6584 _cf = 0; 6585 _flag_k = FK_TEST; 6586 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09430F; /* 0x2B094308: je 0x2b09430f */ 6587 L_2B09430A: 6588 ecx = MEM32(ebp + 0x10); /* 0x2B09430A: mov ecx, dword ptr [ebp + 0x10] */ 6589 MEM32(eax) = ecx; /* 0x2B09430D: mov dword ptr [eax], ecx */ 6590 L_2B09430F: 6591 edx = MEM32(esi + 0x2C); /* 0x2B09430F: mov edx, dword ptr [esi + 0x2c] */ 6592 /* cmp edi, edx */ /* 0x2B094312: cmp edi, edx */ 6593 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 6594 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6595 _flag_k = FK_CMP; 6596 ecx = eax + 0x4; /* 0x2B094314: lea ecx, [eax + 4] */ 6597 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094336; /* 0x2B094317: je 0x2b094336 */ 6598 L_2B094319: 6599 ebx = ecx; /* 0x2B094319: mov ebx, ecx */ 6600 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 6601 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6602 ebx = ebx - eax; /* 0x2B09431B: sub ebx, eax */ 6603 _flag_k = FK_CMP; 6604 edi = ebx + edi + (-0x4); /* 0x2B09431D: lea edi, [ebx + edi - 4] */ 6605 L_2B094321: 6606 /* test ecx, ecx */ /* 0x2B094321: test ecx, ecx */ 6607 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6608 _cf = 0; 6609 _flag_k = FK_TEST; 6610 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094329; /* 0x2B094323: je 0x2b094329 */ 6611 L_2B094325: 6612 eax = MEM32(edi); /* 0x2B094325: mov eax, dword ptr [edi] */ 6613 MEM32(ecx) = eax; /* 0x2B094327: mov dword ptr [ecx], eax */ 6614 L_2B094329: 6615 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4); 6616 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6617 edi = edi + 4; /* 0x2B094329: add edi, 4 */ 6618 _flag_k = FK_ADD; 6619 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 6620 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6621 ecx = ecx + 4; /* 0x2B09432C: add ecx, 4 */ 6622 _flag_k = FK_ADD; 6623 /* cmp edi, edx */ /* 0x2B09432F: cmp edi, edx */ 6624 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 6625 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6626 _flag_k = FK_CMP; 6627 RECOMP_BACKEDGE(); 6628 if (CMP_NE(_flag_a, _flag_b)) goto L_2B094321; /* 0x2B094331: jne 0x2b094321 */ 6629 L_2B094333: 6630 ebx = MEM32(ebp + 0xC); /* 0x2B094333: mov ebx, dword ptr [ebp + 0xc] */ 6631 L_2B094336: 6632 eax = MEM32(esi + 0x28); /* 0x2B094336: mov eax, dword ptr [esi + 0x28] */ 6633 PUSH32(esp, eax); /* 0x2B094339: push eax */ 6634 MEM32(ebp + 0x10) = eax; /* 0x2B09433A: mov dword ptr [ebp + 0x10], eax */ 6635 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09433D: call 0x2b0ab1ba */ /* not lifted */ 6636 RECOMP_FLAGS_IN(); 6637 ecx = MEM32(ebp + (-0x28)); /* 0x2B094342: mov ecx, dword ptr [ebp - 0x28] */ 6638 edx = ebx + ecx * 4; /* 0x2B094345: lea edx, [ebx + ecx*4] */ 6639 ecx = MEM32(esi + 0x28); /* 0x2B094348: mov ecx, dword ptr [esi + 0x28] */ 6640 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6641 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6642 esp = esp + 4; /* 0x2B09434B: add esp, 4 */ 6643 _flag_k = FK_ADD; 6644 /* test ecx, ecx */ /* 0x2B09434E: test ecx, ecx */ 6645 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6646 _cf = 0; 6647 _flag_k = FK_TEST; 6648 MEM32(esi + 0x30) = edx; /* 0x2B094350: mov dword ptr [esi + 0x30], edx */ 6649 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094366; /* 0x2B094353: jne 0x2b094366 */ 6650 L_2B094355: 6651 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6652 eax = 0; /* 0x2B094355: xor eax, eax */ 6653 _cf = 0; 6654 _flag_k = FK_TEST; 6655 eax = ebx + eax * 4 + 0x4; /* 0x2B094357: lea eax, [ebx + eax*4 + 4] */ 6656 MEM32(esi + 0x2C) = eax; /* 0x2B09435B: mov dword ptr [esi + 0x2c], eax */ 6657 MEM32(esi + 0x28) = ebx; /* 0x2B09435E: mov dword ptr [esi + 0x28], ebx */ 6658 goto L_2B09442B; /* 0x2B094361: jmp 0x2b09442b */ 6659 L_2B094366: 6660 eax = MEM32(esi + 0x2C); /* 0x2B094366: mov eax, dword ptr [esi + 0x2c] */ 6661 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6662 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6663 eax = eax - ecx; /* 0x2B094369: sub eax, ecx */ 6664 _flag_k = FK_CMP; 6665 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B09436B: sar eax, 2 */ 6666 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6667 eax = (uint32_t)((int32_t)eax >> 2u); 6668 eax = ebx + eax * 4 + 0x4; /* 0x2B09436E: lea eax, [ebx + eax*4 + 4] */ 6669 MEM32(esi + 0x2C) = eax; /* 0x2B094372: mov dword ptr [esi + 0x2c], eax */ 6670 MEM32(esi + 0x28) = ebx; /* 0x2B094375: mov dword ptr [esi + 0x28], ebx */ 6671 goto L_2B09442B; /* 0x2B094378: jmp 0x2b09442b */ 6672 L_2B09437D: 6673 ecx = eax; /* 0x2B09437D: mov ecx, eax */ 6674 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 6675 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6676 ecx = ecx - edi; /* 0x2B09437F: sub ecx, edi */ 6677 _flag_k = FK_CMP; 6678 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B094381: sar ecx, 2 */ 6679 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6680 ecx = (uint32_t)((int32_t)ecx >> 2u); 6681 /* cmp ecx, 1 */ /* 0x2B094384: cmp ecx, 1 */ 6682 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 6683 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6684 _flag_k = FK_CMP; 6685 if (CMP_AE(_flag_a, _flag_b)) goto L_2B0943DB; /* 0x2B094387: jae 0x2b0943db */ 6686 L_2B094389: 6687 /* cmp edi, eax */ /* 0x2B094389: cmp edi, eax */ 6688 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 6689 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6690 _flag_k = FK_CMP; 6691 ecx = edi + 0x4; /* 0x2B09438B: lea ecx, [edi + 4] */ 6692 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0943A8; /* 0x2B09438E: je 0x2b0943a8 */ 6693 L_2B094390: 6694 edx = ecx + (-0x4); /* 0x2B094390: lea edx, [ecx - 4] */ 6695 L_2B094393: 6696 /* test ecx, ecx */ /* 0x2B094393: test ecx, ecx */ 6697 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6698 _cf = 0; 6699 _flag_k = FK_TEST; 6700 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09439E; /* 0x2B094395: je 0x2b09439e */ 6701 L_2B094397: 6702 ebx = MEM32(edx); /* 0x2B094397: mov ebx, dword ptr [edx] */ 6703 MEM32(ecx) = ebx; /* 0x2B094399: mov dword ptr [ecx], ebx */ 6704 ebx = MEM32(ebp + 0x10); /* 0x2B09439B: mov ebx, dword ptr [ebp + 0x10] */ 6705 L_2B09439E: 6706 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 6707 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6708 edx = edx + 4; /* 0x2B09439E: add edx, 4 */ 6709 _flag_k = FK_ADD; 6710 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 6711 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6712 ecx = ecx + 4; /* 0x2B0943A1: add ecx, 4 */ 6713 _flag_k = FK_ADD; 6714 /* cmp edx, eax */ /* 0x2B0943A4: cmp edx, eax */ 6715 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 6716 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6717 _flag_k = FK_CMP; 6718 RECOMP_BACKEDGE(); 6719 if (CMP_NE(_flag_a, _flag_b)) goto L_2B094393; /* 0x2B0943A6: jne 0x2b094393 */ 6720 L_2B0943A8: 6721 ecx = MEM32(esi + 0x2C); /* 0x2B0943A8: mov ecx, dword ptr [esi + 0x2c] */ 6722 edx = ecx; /* 0x2B0943AB: mov edx, ecx */ 6723 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 6724 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6725 edx = edx - edi; /* 0x2B0943AD: sub edx, edi */ 6726 _flag_k = FK_CMP; 6727 if (2u) _cf = (((edx) >> 1) & 1u); /* 0x2B0943AF: sar edx, 2 */ 6728 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6729 edx = (uint32_t)((int32_t)edx >> 2u); 6730 eax = 1; /* 0x2B0943B2: mov eax, 1 */ 6731 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 6732 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6733 eax = eax - edx; /* 0x2B0943B7: sub eax, edx */ 6734 _flag_k = FK_CMP; 6735 if (/* sub result */ CMP_EQ(_flag_a, _flag_b)) goto L_2B0943C7; /* 0x2B0943B9: je 0x2b0943c7 */ 6736 L_2B0943BB: 6737 /* test ecx, ecx */ /* 0x2B0943BB: test ecx, ecx */ 6738 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6739 _cf = 0; 6740 _flag_k = FK_TEST; 6741 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0943C1; /* 0x2B0943BD: je 0x2b0943c1 */ 6742 L_2B0943BF: 6743 MEM32(ecx) = ebx; /* 0x2B0943BF: mov dword ptr [ecx], ebx */ 6744 L_2B0943C1: 6745 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 6746 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6747 ecx = ecx + 4; /* 0x2B0943C1: add ecx, 4 */ 6748 _flag_k = FK_ADD; 6749 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6750 eax = eax - 1; /* 0x2B0943C4: dec eax */ 6751 _flag_k = FK_DEC; 6752 RECOMP_BACKEDGE(); 6753 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B0943BB; /* 0x2B0943C5: jne 0x2b0943bb */ 6754 L_2B0943C7: 6755 ecx = MEM32(esi + 0x2C); /* 0x2B0943C7: mov ecx, dword ptr [esi + 0x2c] */ 6756 /* cmp edi, ecx */ /* 0x2B0943CA: cmp edi, ecx */ 6757 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 6758 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6759 _flag_k = FK_CMP; 6760 eax = edi; /* 0x2B0943CC: mov eax, edi */ 6761 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094427; /* 0x2B0943CE: je 0x2b094427 */ 6762 L_2B0943D0: 6763 MEM32(eax) = ebx; /* 0x2B0943D0: mov dword ptr [eax], ebx */ 6764 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 6765 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6766 eax = eax + 4; /* 0x2B0943D2: add eax, 4 */ 6767 _flag_k = FK_ADD; 6768 /* cmp eax, ecx */ /* 0x2B0943D5: cmp eax, ecx */ 6769 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6770 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6771 _flag_k = FK_CMP; 6772 RECOMP_BACKEDGE(); 6773 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0943D0; /* 0x2B0943D7: jne 0x2b0943d0 */ 6774 L_2B0943D9: 6775 goto L_2B094427; /* 0x2B0943D9: jmp 0x2b094427 */ 6776 L_2B0943DB: 6777 ecx = eax + (-0x4); /* 0x2B0943DB: lea ecx, [eax - 4] */ 6778 /* cmp ecx, eax */ /* 0x2B0943DE: cmp ecx, eax */ 6779 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 6780 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6781 _flag_k = FK_CMP; 6782 edx = eax; /* 0x2B0943E0: mov edx, eax */ 6783 MEM32(ebp + 0xC) = ecx; /* 0x2B0943E2: mov dword ptr [ebp + 0xc], ecx */ 6784 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0943FC; /* 0x2B0943E5: je 0x2b0943fc */ 6785 L_2B0943E7: 6786 /* test edx, edx */ /* 0x2B0943E7: test edx, edx */ 6787 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 6788 _cf = 0; 6789 _flag_k = FK_TEST; 6790 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0943F2; /* 0x2B0943E9: je 0x2b0943f2 */ 6791 L_2B0943EB: 6792 ebx = MEM32(ecx); /* 0x2B0943EB: mov ebx, dword ptr [ecx] */ 6793 MEM32(edx) = ebx; /* 0x2B0943ED: mov dword ptr [edx], ebx */ 6794 ebx = MEM32(ebp + 0x10); /* 0x2B0943EF: mov ebx, dword ptr [ebp + 0x10] */ 6795 L_2B0943F2: 6796 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 6797 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6798 ecx = ecx + 4; /* 0x2B0943F2: add ecx, 4 */ 6799 _flag_k = FK_ADD; 6800 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 6801 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6802 edx = edx + 4; /* 0x2B0943F5: add edx, 4 */ 6803 _flag_k = FK_ADD; 6804 /* cmp ecx, eax */ /* 0x2B0943F8: cmp ecx, eax */ 6805 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 6806 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6807 _flag_k = FK_CMP; 6808 RECOMP_BACKEDGE(); 6809 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0943E7; /* 0x2B0943FA: jne 0x2b0943e7 */ 6810 L_2B0943FC: 6811 ecx = MEM32(esi + 0x2C); /* 0x2B0943FC: mov ecx, dword ptr [esi + 0x2c] */ 6812 eax = ecx + (-0x4); /* 0x2B0943FF: lea eax, [ecx - 4] */ 6813 /* cmp edi, eax */ /* 0x2B094402: cmp edi, eax */ 6814 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 6815 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6816 _flag_k = FK_CMP; 6817 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094415; /* 0x2B094404: je 0x2b094415 */ 6818 L_2B094406: 6819 edx = MEM32(eax + (-0x4)); /* 0x2B094406: mov edx, dword ptr [eax - 4] */ 6820 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 6821 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6822 eax = eax - 4; /* 0x2B094409: sub eax, 4 */ 6823 _flag_k = FK_CMP; 6824 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 6825 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6826 ecx = ecx - 4; /* 0x2B09440C: sub ecx, 4 */ 6827 _flag_k = FK_CMP; 6828 /* cmp eax, edi */ /* 0x2B09440F: cmp eax, edi */ 6829 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 6830 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6831 _flag_k = FK_CMP; 6832 MEM32(ecx) = edx; /* 0x2B094411: mov dword ptr [ecx], edx */ 6833 RECOMP_BACKEDGE(); 6834 if (CMP_NE(_flag_a, _flag_b)) goto L_2B094406; /* 0x2B094413: jne 0x2b094406 */ 6835 L_2B094415: 6836 ecx = edi + 0x4; /* 0x2B094415: lea ecx, [edi + 4] */ 6837 /* cmp edi, ecx */ /* 0x2B094418: cmp edi, ecx */ 6838 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 6839 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6840 _flag_k = FK_CMP; 6841 eax = edi; /* 0x2B09441A: mov eax, edi */ 6842 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094427; /* 0x2B09441C: je 0x2b094427 */ 6843 L_2B09441E: 6844 MEM32(eax) = ebx; /* 0x2B09441E: mov dword ptr [eax], ebx */ 6845 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 6846 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6847 eax = eax + 4; /* 0x2B094420: add eax, 4 */ 6848 _flag_k = FK_ADD; 6849 /* cmp eax, ecx */ /* 0x2B094423: cmp eax, ecx */ 6850 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6851 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6852 _flag_k = FK_CMP; 6853 RECOMP_BACKEDGE(); 6854 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09441E; /* 0x2B094425: jne 0x2b09441e */ 6855 L_2B094427: 6856 _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(4); 6857 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6858 MEM32(esi + 0x2C) = MEM32(esi + 0x2C) + 4; /* 0x2B094427: add dword ptr [esi + 0x2c], 4 */ 6859 _flag_k = FK_ADD; 6860 L_2B09442B: 6861 eax = MEM32(ebp + 0x8); /* 0x2B09442B: mov eax, dword ptr [ebp + 8] */ 6862 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6863 eax = eax + 1; /* 0x2B09442E: inc eax */ 6864 _flag_k = FK_INC; 6865 /* cmp eax, 6 */ /* 0x2B09442F: cmp eax, 6 */ 6866 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(6); 6867 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6868 _flag_k = FK_CMP; 6869 MEM32(ebp + 0x8) = eax; /* 0x2B094432: mov dword ptr [ebp + 8], eax */ 6870 RECOMP_BACKEDGE(); 6871 if (CMP_L(_flag_a, _flag_b)) goto L_2B094213; /* 0x2B094435: jl 0x2b094213 */ 6872 L_2B09443B: 6873 ecx = MEM32(ebp + (-0xC)); /* 0x2B09443B: mov ecx, dword ptr [ebp - 0xc] */ 6874 edi = POP32_VAL(esp); /* 0x2B09443E: pop edi */ 6875 eax = esi; /* 0x2B09443F: mov eax, esi */ 6876 esi = POP32_VAL(esp); /* 0x2B094441: pop esi */ 6877 MEM32(FS_BASE + (0)) = ecx; /* 0x2B094442: mov dword ptr fs:[0], ecx */ 6878 ebx = POP32_VAL(esp); /* 0x2B094449: pop ebx */ 6879 esp = ebp; /* 0x2B09444A: mov esp, ebp */ 6880 ebp = POP32_VAL(esp); /* 0x2B09444C: pop ebp */ 6881 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B09444D: ret 0xc */ 6882 RECOMP_REGS_OUT(); 6883 } 6884 6885 void sub_2B094213(void) { 6886 int _fpu_cmp = 0; 6887 uint32_t _cf = 0; 6888 int _df = 1; 6889 uint32_t _flag_k = FK_NONE; 6890 uint32_t _flag_a = 0, _flag_b = 0; 6891 uint32_t _itail_tgt = 0; 6892 RECOMP_REGS_LOCALS 6893 RECOMP_ENTER(0x2B094213u); 6894 6895 L_2B094213: 6896 ecx = MEM32(ebp + 0x8); /* 0x2B094213: mov ecx, dword ptr [ebp + 8] */ 6897 eax = ecx; /* 0x2B094216: mov eax, ecx */ 6898 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80000001u); 6899 eax = eax & 0x80000001u; /* 0x2B094218: and eax, 0x80000001 */ 6900 _cf = 0; 6901 _flag_k = FK_TEST; 6902 if (TEST_NS(_flag_a, _flag_b)) goto L_2B094224; /* 0x2B09421D: jns 0x2b094224 */ 6903 L_2B09421F: 6904 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6905 eax = eax - 1; /* 0x2B09421F: dec eax */ 6906 _flag_k = FK_DEC; 6907 _flag_a = (uint32_t)((eax | 0xFFFFFFFEu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFEu)); 6908 eax = eax | 0xFFFFFFFEu; /* 0x2B094220: or eax, 0xfffffffe */ 6909 _cf = 0; 6910 _flag_k = FK_TEST; 6911 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6912 eax = eax + 1; /* 0x2B094223: inc eax */ 6913 _flag_k = FK_INC; 6914 L_2B094224: 6915 eax = eax + eax * 2; /* 0x2B094224: lea eax, [eax + eax*2] */ 6916 edx = eax + eax * 8; /* 0x2B094227: lea edx, [eax + eax*8] */ 6917 eax = edx + edx + 0x5; /* 0x2B09422A: lea eax, [edx + edx + 5] */ 6918 MEM32(ebp + (-0x14)) = eax; /* 0x2B09422E: mov dword ptr [ebp - 0x14], eax */ 6919 eax = ecx; /* 0x2B094231: mov eax, ecx */ 6920 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B094233: cdq */ 6921 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 6922 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6923 eax = eax - edx; /* 0x2B094234: sub eax, edx */ 6924 _flag_k = FK_CMP; 6925 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B094236: sar eax, 1 */ 6926 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6927 eax = (uint32_t)((int32_t)eax >> 1u); 6928 eax = eax + eax * 2; /* 0x2B094238: lea eax, [eax + eax*2] */ 6929 ecx = eax + eax * 8; /* 0x2B09423B: lea ecx, [eax + eax*8] */ 6930 edx = ecx + ecx + 0x15; /* 0x2B09423E: lea edx, [ecx + ecx + 0x15] */ 6931 PUSH32(esp, 0x38u); /* 0x2B094242: push 0x38 */ 6932 MEM32(ebp + (-0x10)) = edx; /* 0x2B094244: mov dword ptr [ebp - 0x10], edx */ 6933 RECOMP_ICALL(0x2B0AB212u); /* 0x2B094247: call 0x2b0ab212 */ /* not lifted */ 6934 RECOMP_FLAGS_IN(); 6935 edi = eax; /* 0x2B09424C: mov edi, eax */ 6936 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6937 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6938 esp = esp + 4; /* 0x2B09424E: add esp, 4 */ 6939 _flag_k = FK_ADD; 6940 MEM32(ebp + 0x10) = edi; /* 0x2B094251: mov dword ptr [ebp + 0x10], edi */ 6941 /* test edi, edi */ /* 0x2B094254: test edi, edi */ 6942 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 6943 _cf = 0; 6944 _flag_k = FK_TEST; 6945 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B094256: mov byte ptr [ebp - 4], 0xa */ 6946 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094284; /* 0x2B09425A: je 0x2b094284 */ 6947 L_2B09425C: 6948 eax = MEM32(esi); /* 0x2B09425C: mov eax, dword ptr [esi] */ 6949 ecx = MEM32(esi + 0x40); /* 0x2B09425E: mov ecx, dword ptr [esi + 0x40] */ 6950 PUSH32(esp, eax); /* 0x2B094261: push eax */ 6951 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xAu); 6952 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6953 ecx = ecx + 0xAu; /* 0x2B094262: add ecx, 0xa */ 6954 _flag_k = FK_ADD; 6955 PUSH32(esp, ecx); /* 0x2B094265: push ecx */ 6956 PUSH32(esp, 0xA7u); /* 0x2B094266: push 0xa7 */ 6957 edx = ebp + (-0x14); /* 0x2B09426B: lea edx, [ebp - 0x14] */ 6958 PUSH32(esp, edx); /* 0x2B09426E: push edx */ 6959 ecx = edi; /* 0x2B09426F: mov ecx, edi */ 6960 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B094271: call dword ptr [0x2b0b5948] */ 6961 RECOMP_FLAGS_IN(); 6962 ebx = edi; /* 0x2B094277: mov ebx, edi */ 6963 MEM32(edi) = 0x2B0B68F4u; /* 0x2B094279: mov dword ptr [edi], 0x2b0b68f4 */ 6964 MEM32(ebp + 0x10) = ebx; /* 0x2B09427F: mov dword ptr [ebp + 0x10], ebx */ 6965 goto L_2B09428E; /* 0x2B094282: jmp 0x2b09428e */ 6966 L_2B094284: 6967 MEM32(ebp + 0x10) = 0; /* 0x2B094284: mov dword ptr [ebp + 0x10], 0 */ 6968 ebx = MEM32(ebp + 0x10); /* 0x2B09428B: mov ebx, dword ptr [ebp + 0x10] */ 6969 L_2B09428E: 6970 eax = MEM32(esi + 0x2C); /* 0x2B09428E: mov eax, dword ptr [esi + 0x2c] */ 6971 ecx = MEM32(esi + 0x30); /* 0x2B094291: mov ecx, dword ptr [esi + 0x30] */ 6972 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 6973 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6974 ecx = ecx - eax; /* 0x2B094294: sub ecx, eax */ 6975 _flag_k = FK_CMP; 6976 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B094296: sar ecx, 2 */ 6977 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6978 ecx = (uint32_t)((int32_t)ecx >> 2u); 6979 /* cmp ecx, 1 */ /* 0x2B094299: cmp ecx, 1 */ 6980 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 6981 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6982 _flag_k = FK_CMP; 6983 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B09429C: mov byte ptr [ebp - 4], 0 */ 6984 edi = eax; /* 0x2B0942A0: mov edi, eax */ 6985 if (CMP_AE(_flag_a, _flag_b)) goto L_2B09437D; /* 0x2B0942A2: jae 0x2b09437d */ 6986 L_2B0942A8: 6987 edx = MEM32(esi + 0x28); /* 0x2B0942A8: mov edx, dword ptr [esi + 0x28] */ 6988 /* test edx, edx */ /* 0x2B0942AB: test edx, edx */ 6989 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 6990 _cf = 0; 6991 _flag_k = FK_TEST; 6992 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0942BB; /* 0x2B0942AD: je 0x2b0942bb */ 6993 L_2B0942AF: 6994 ecx = eax; /* 0x2B0942AF: mov ecx, eax */ 6995 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 6996 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6997 ecx = ecx - edx; /* 0x2B0942B1: sub ecx, edx */ 6998 _flag_k = FK_CMP; 6999 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0942B3: sar ecx, 2 */ 7000 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7001 ecx = (uint32_t)((int32_t)ecx >> 2u); 7002 /* cmp ecx, 1 */ /* 0x2B0942B6: cmp ecx, 1 */ 7003 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7004 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7005 _flag_k = FK_CMP; 7006 if (CMP_A(_flag_a, _flag_b)) goto L_2B0942C0; /* 0x2B0942B9: ja 0x2b0942c0 */ 7007 L_2B0942BB: 7008 ecx = 1; /* 0x2B0942BB: mov ecx, 1 */ 7009 L_2B0942C0: 7010 /* test edx, edx */ /* 0x2B0942C0: test edx, edx */ 7011 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 7012 _cf = 0; 7013 _flag_k = FK_TEST; 7014 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0942C8; /* 0x2B0942C2: jne 0x2b0942c8 */ 7015 L_2B0942C4: 7016 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7017 eax = 0; /* 0x2B0942C4: xor eax, eax */ 7018 _cf = 0; 7019 _flag_k = FK_TEST; 7020 goto L_2B0942CD; /* 0x2B0942C6: jmp 0x2b0942cd */ 7021 L_2B0942C8: 7022 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7023 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7024 eax = eax - edx; /* 0x2B0942C8: sub eax, edx */ 7025 _flag_k = FK_CMP; 7026 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B0942CA: sar eax, 2 */ 7027 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7028 eax = (uint32_t)((int32_t)eax >> 2u); 7029 L_2B0942CD: 7030 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7031 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7032 eax = eax + ecx; /* 0x2B0942CD: add eax, ecx */ 7033 _flag_k = FK_ADD; 7034 /* test eax, eax */ /* 0x2B0942CF: test eax, eax */ 7035 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7036 _cf = 0; 7037 _flag_k = FK_TEST; 7038 MEM32(ebp + (-0x28)) = eax; /* 0x2B0942D1: mov dword ptr [ebp - 0x28], eax */ 7039 if (TEST_NS(_flag_a, _flag_b)) goto L_2B0942D8; /* 0x2B0942D4: jge 0x2b0942d8 */ 7040 L_2B0942D6: 7041 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7042 eax = 0; /* 0x2B0942D6: xor eax, eax */ 7043 _cf = 0; 7044 _flag_k = FK_TEST; 7045 L_2B0942D8: 7046 edx = eax * 4; /* 0x2B0942D8: lea edx, [eax*4] */ 7047 PUSH32(esp, edx); /* 0x2B0942DF: push edx */ 7048 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0942E0: call 0x2b0ab212 */ /* not lifted */ 7049 RECOMP_FLAGS_IN(); 7050 ecx = MEM32(esi + 0x28); /* 0x2B0942E5: mov ecx, dword ptr [esi + 0x28] */ 7051 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7052 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7053 esp = esp + 4; /* 0x2B0942E8: add esp, 4 */ 7054 _flag_k = FK_ADD; 7055 /* cmp ecx, edi */ /* 0x2B0942EB: cmp ecx, edi */ 7056 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 7057 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7058 _flag_k = FK_CMP; 7059 ebx = eax; /* 0x2B0942ED: mov ebx, eax */ 7060 MEM32(ebp + 0xC) = ebx; /* 0x2B0942EF: mov dword ptr [ebp + 0xc], ebx */ 7061 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094306; /* 0x2B0942F2: je 0x2b094306 */ 7062 L_2B0942F4: 7063 /* test eax, eax */ /* 0x2B0942F4: test eax, eax */ 7064 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7065 _cf = 0; 7066 _flag_k = FK_TEST; 7067 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0942FC; /* 0x2B0942F6: je 0x2b0942fc */ 7068 L_2B0942F8: 7069 edx = MEM32(ecx); /* 0x2B0942F8: mov edx, dword ptr [ecx] */ 7070 MEM32(eax) = edx; /* 0x2B0942FA: mov dword ptr [eax], edx */ 7071 L_2B0942FC: 7072 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 7073 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7074 ecx = ecx + 4; /* 0x2B0942FC: add ecx, 4 */ 7075 _flag_k = FK_ADD; 7076 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 7077 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7078 eax = eax + 4; /* 0x2B0942FF: add eax, 4 */ 7079 _flag_k = FK_ADD; 7080 /* cmp ecx, edi */ /* 0x2B094302: cmp ecx, edi */ 7081 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 7082 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7083 _flag_k = FK_CMP; 7084 RECOMP_BACKEDGE(); 7085 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0942F4; /* 0x2B094304: jne 0x2b0942f4 */ 7086 L_2B094306: 7087 /* test eax, eax */ /* 0x2B094306: test eax, eax */ 7088 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7089 _cf = 0; 7090 _flag_k = FK_TEST; 7091 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09430F; /* 0x2B094308: je 0x2b09430f */ 7092 L_2B09430A: 7093 ecx = MEM32(ebp + 0x10); /* 0x2B09430A: mov ecx, dword ptr [ebp + 0x10] */ 7094 MEM32(eax) = ecx; /* 0x2B09430D: mov dword ptr [eax], ecx */ 7095 L_2B09430F: 7096 edx = MEM32(esi + 0x2C); /* 0x2B09430F: mov edx, dword ptr [esi + 0x2c] */ 7097 /* cmp edi, edx */ /* 0x2B094312: cmp edi, edx */ 7098 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 7099 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7100 _flag_k = FK_CMP; 7101 ecx = eax + 0x4; /* 0x2B094314: lea ecx, [eax + 4] */ 7102 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094336; /* 0x2B094317: je 0x2b094336 */ 7103 L_2B094319: 7104 ebx = ecx; /* 0x2B094319: mov ebx, ecx */ 7105 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 7106 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7107 ebx = ebx - eax; /* 0x2B09431B: sub ebx, eax */ 7108 _flag_k = FK_CMP; 7109 edi = ebx + edi + (-0x4); /* 0x2B09431D: lea edi, [ebx + edi - 4] */ 7110 L_2B094321: 7111 /* test ecx, ecx */ /* 0x2B094321: test ecx, ecx */ 7112 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7113 _cf = 0; 7114 _flag_k = FK_TEST; 7115 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094329; /* 0x2B094323: je 0x2b094329 */ 7116 L_2B094325: 7117 eax = MEM32(edi); /* 0x2B094325: mov eax, dword ptr [edi] */ 7118 MEM32(ecx) = eax; /* 0x2B094327: mov dword ptr [ecx], eax */ 7119 L_2B094329: 7120 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4); 7121 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7122 edi = edi + 4; /* 0x2B094329: add edi, 4 */ 7123 _flag_k = FK_ADD; 7124 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 7125 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7126 ecx = ecx + 4; /* 0x2B09432C: add ecx, 4 */ 7127 _flag_k = FK_ADD; 7128 /* cmp edi, edx */ /* 0x2B09432F: cmp edi, edx */ 7129 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 7130 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7131 _flag_k = FK_CMP; 7132 RECOMP_BACKEDGE(); 7133 if (CMP_NE(_flag_a, _flag_b)) goto L_2B094321; /* 0x2B094331: jne 0x2b094321 */ 7134 L_2B094333: 7135 ebx = MEM32(ebp + 0xC); /* 0x2B094333: mov ebx, dword ptr [ebp + 0xc] */ 7136 L_2B094336: 7137 eax = MEM32(esi + 0x28); /* 0x2B094336: mov eax, dword ptr [esi + 0x28] */ 7138 PUSH32(esp, eax); /* 0x2B094339: push eax */ 7139 MEM32(ebp + 0x10) = eax; /* 0x2B09433A: mov dword ptr [ebp + 0x10], eax */ 7140 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09433D: call 0x2b0ab1ba */ /* not lifted */ 7141 RECOMP_FLAGS_IN(); 7142 ecx = MEM32(ebp + (-0x28)); /* 0x2B094342: mov ecx, dword ptr [ebp - 0x28] */ 7143 edx = ebx + ecx * 4; /* 0x2B094345: lea edx, [ebx + ecx*4] */ 7144 ecx = MEM32(esi + 0x28); /* 0x2B094348: mov ecx, dword ptr [esi + 0x28] */ 7145 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7146 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7147 esp = esp + 4; /* 0x2B09434B: add esp, 4 */ 7148 _flag_k = FK_ADD; 7149 /* test ecx, ecx */ /* 0x2B09434E: test ecx, ecx */ 7150 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7151 _cf = 0; 7152 _flag_k = FK_TEST; 7153 MEM32(esi + 0x30) = edx; /* 0x2B094350: mov dword ptr [esi + 0x30], edx */ 7154 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094366; /* 0x2B094353: jne 0x2b094366 */ 7155 L_2B094355: 7156 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7157 eax = 0; /* 0x2B094355: xor eax, eax */ 7158 _cf = 0; 7159 _flag_k = FK_TEST; 7160 eax = ebx + eax * 4 + 0x4; /* 0x2B094357: lea eax, [ebx + eax*4 + 4] */ 7161 MEM32(esi + 0x2C) = eax; /* 0x2B09435B: mov dword ptr [esi + 0x2c], eax */ 7162 MEM32(esi + 0x28) = ebx; /* 0x2B09435E: mov dword ptr [esi + 0x28], ebx */ 7163 goto L_2B09442B; /* 0x2B094361: jmp 0x2b09442b */ 7164 L_2B094366: 7165 eax = MEM32(esi + 0x2C); /* 0x2B094366: mov eax, dword ptr [esi + 0x2c] */ 7166 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7167 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7168 eax = eax - ecx; /* 0x2B094369: sub eax, ecx */ 7169 _flag_k = FK_CMP; 7170 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B09436B: sar eax, 2 */ 7171 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7172 eax = (uint32_t)((int32_t)eax >> 2u); 7173 eax = ebx + eax * 4 + 0x4; /* 0x2B09436E: lea eax, [ebx + eax*4 + 4] */ 7174 MEM32(esi + 0x2C) = eax; /* 0x2B094372: mov dword ptr [esi + 0x2c], eax */ 7175 MEM32(esi + 0x28) = ebx; /* 0x2B094375: mov dword ptr [esi + 0x28], ebx */ 7176 goto L_2B09442B; /* 0x2B094378: jmp 0x2b09442b */ 7177 L_2B09437D: 7178 ecx = eax; /* 0x2B09437D: mov ecx, eax */ 7179 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 7180 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7181 ecx = ecx - edi; /* 0x2B09437F: sub ecx, edi */ 7182 _flag_k = FK_CMP; 7183 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B094381: sar ecx, 2 */ 7184 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7185 ecx = (uint32_t)((int32_t)ecx >> 2u); 7186 /* cmp ecx, 1 */ /* 0x2B094384: cmp ecx, 1 */ 7187 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7188 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7189 _flag_k = FK_CMP; 7190 if (CMP_AE(_flag_a, _flag_b)) goto L_2B0943DB; /* 0x2B094387: jae 0x2b0943db */ 7191 L_2B094389: 7192 /* cmp edi, eax */ /* 0x2B094389: cmp edi, eax */ 7193 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 7194 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7195 _flag_k = FK_CMP; 7196 ecx = edi + 0x4; /* 0x2B09438B: lea ecx, [edi + 4] */ 7197 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0943A8; /* 0x2B09438E: je 0x2b0943a8 */ 7198 L_2B094390: 7199 edx = ecx + (-0x4); /* 0x2B094390: lea edx, [ecx - 4] */ 7200 L_2B094393: 7201 /* test ecx, ecx */ /* 0x2B094393: test ecx, ecx */ 7202 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7203 _cf = 0; 7204 _flag_k = FK_TEST; 7205 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09439E; /* 0x2B094395: je 0x2b09439e */ 7206 L_2B094397: 7207 ebx = MEM32(edx); /* 0x2B094397: mov ebx, dword ptr [edx] */ 7208 MEM32(ecx) = ebx; /* 0x2B094399: mov dword ptr [ecx], ebx */ 7209 ebx = MEM32(ebp + 0x10); /* 0x2B09439B: mov ebx, dword ptr [ebp + 0x10] */ 7210 L_2B09439E: 7211 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 7212 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7213 edx = edx + 4; /* 0x2B09439E: add edx, 4 */ 7214 _flag_k = FK_ADD; 7215 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 7216 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7217 ecx = ecx + 4; /* 0x2B0943A1: add ecx, 4 */ 7218 _flag_k = FK_ADD; 7219 /* cmp edx, eax */ /* 0x2B0943A4: cmp edx, eax */ 7220 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 7221 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7222 _flag_k = FK_CMP; 7223 RECOMP_BACKEDGE(); 7224 if (CMP_NE(_flag_a, _flag_b)) goto L_2B094393; /* 0x2B0943A6: jne 0x2b094393 */ 7225 L_2B0943A8: 7226 ecx = MEM32(esi + 0x2C); /* 0x2B0943A8: mov ecx, dword ptr [esi + 0x2c] */ 7227 edx = ecx; /* 0x2B0943AB: mov edx, ecx */ 7228 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 7229 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7230 edx = edx - edi; /* 0x2B0943AD: sub edx, edi */ 7231 _flag_k = FK_CMP; 7232 if (2u) _cf = (((edx) >> 1) & 1u); /* 0x2B0943AF: sar edx, 2 */ 7233 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7234 edx = (uint32_t)((int32_t)edx >> 2u); 7235 eax = 1; /* 0x2B0943B2: mov eax, 1 */ 7236 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7237 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7238 eax = eax - edx; /* 0x2B0943B7: sub eax, edx */ 7239 _flag_k = FK_CMP; 7240 if (/* sub result */ CMP_EQ(_flag_a, _flag_b)) goto L_2B0943C7; /* 0x2B0943B9: je 0x2b0943c7 */ 7241 L_2B0943BB: 7242 /* test ecx, ecx */ /* 0x2B0943BB: test ecx, ecx */ 7243 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7244 _cf = 0; 7245 _flag_k = FK_TEST; 7246 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0943C1; /* 0x2B0943BD: je 0x2b0943c1 */ 7247 L_2B0943BF: 7248 MEM32(ecx) = ebx; /* 0x2B0943BF: mov dword ptr [ecx], ebx */ 7249 L_2B0943C1: 7250 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 7251 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7252 ecx = ecx + 4; /* 0x2B0943C1: add ecx, 4 */ 7253 _flag_k = FK_ADD; 7254 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7255 eax = eax - 1; /* 0x2B0943C4: dec eax */ 7256 _flag_k = FK_DEC; 7257 RECOMP_BACKEDGE(); 7258 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B0943BB; /* 0x2B0943C5: jne 0x2b0943bb */ 7259 L_2B0943C7: 7260 ecx = MEM32(esi + 0x2C); /* 0x2B0943C7: mov ecx, dword ptr [esi + 0x2c] */ 7261 /* cmp edi, ecx */ /* 0x2B0943CA: cmp edi, ecx */ 7262 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 7263 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7264 _flag_k = FK_CMP; 7265 eax = edi; /* 0x2B0943CC: mov eax, edi */ 7266 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094427; /* 0x2B0943CE: je 0x2b094427 */ 7267 L_2B0943D0: 7268 MEM32(eax) = ebx; /* 0x2B0943D0: mov dword ptr [eax], ebx */ 7269 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 7270 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7271 eax = eax + 4; /* 0x2B0943D2: add eax, 4 */ 7272 _flag_k = FK_ADD; 7273 /* cmp eax, ecx */ /* 0x2B0943D5: cmp eax, ecx */ 7274 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7275 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7276 _flag_k = FK_CMP; 7277 RECOMP_BACKEDGE(); 7278 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0943D0; /* 0x2B0943D7: jne 0x2b0943d0 */ 7279 L_2B0943D9: 7280 goto L_2B094427; /* 0x2B0943D9: jmp 0x2b094427 */ 7281 L_2B0943DB: 7282 ecx = eax + (-0x4); /* 0x2B0943DB: lea ecx, [eax - 4] */ 7283 /* cmp ecx, eax */ /* 0x2B0943DE: cmp ecx, eax */ 7284 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 7285 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7286 _flag_k = FK_CMP; 7287 edx = eax; /* 0x2B0943E0: mov edx, eax */ 7288 MEM32(ebp + 0xC) = ecx; /* 0x2B0943E2: mov dword ptr [ebp + 0xc], ecx */ 7289 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0943FC; /* 0x2B0943E5: je 0x2b0943fc */ 7290 L_2B0943E7: 7291 /* test edx, edx */ /* 0x2B0943E7: test edx, edx */ 7292 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 7293 _cf = 0; 7294 _flag_k = FK_TEST; 7295 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0943F2; /* 0x2B0943E9: je 0x2b0943f2 */ 7296 L_2B0943EB: 7297 ebx = MEM32(ecx); /* 0x2B0943EB: mov ebx, dword ptr [ecx] */ 7298 MEM32(edx) = ebx; /* 0x2B0943ED: mov dword ptr [edx], ebx */ 7299 ebx = MEM32(ebp + 0x10); /* 0x2B0943EF: mov ebx, dword ptr [ebp + 0x10] */ 7300 L_2B0943F2: 7301 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 7302 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7303 ecx = ecx + 4; /* 0x2B0943F2: add ecx, 4 */ 7304 _flag_k = FK_ADD; 7305 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 7306 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7307 edx = edx + 4; /* 0x2B0943F5: add edx, 4 */ 7308 _flag_k = FK_ADD; 7309 /* cmp ecx, eax */ /* 0x2B0943F8: cmp ecx, eax */ 7310 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 7311 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7312 _flag_k = FK_CMP; 7313 RECOMP_BACKEDGE(); 7314 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0943E7; /* 0x2B0943FA: jne 0x2b0943e7 */ 7315 L_2B0943FC: 7316 ecx = MEM32(esi + 0x2C); /* 0x2B0943FC: mov ecx, dword ptr [esi + 0x2c] */ 7317 eax = ecx + (-0x4); /* 0x2B0943FF: lea eax, [ecx - 4] */ 7318 /* cmp edi, eax */ /* 0x2B094402: cmp edi, eax */ 7319 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 7320 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7321 _flag_k = FK_CMP; 7322 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094415; /* 0x2B094404: je 0x2b094415 */ 7323 L_2B094406: 7324 edx = MEM32(eax + (-0x4)); /* 0x2B094406: mov edx, dword ptr [eax - 4] */ 7325 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 7326 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7327 eax = eax - 4; /* 0x2B094409: sub eax, 4 */ 7328 _flag_k = FK_CMP; 7329 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 7330 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7331 ecx = ecx - 4; /* 0x2B09440C: sub ecx, 4 */ 7332 _flag_k = FK_CMP; 7333 /* cmp eax, edi */ /* 0x2B09440F: cmp eax, edi */ 7334 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 7335 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7336 _flag_k = FK_CMP; 7337 MEM32(ecx) = edx; /* 0x2B094411: mov dword ptr [ecx], edx */ 7338 RECOMP_BACKEDGE(); 7339 if (CMP_NE(_flag_a, _flag_b)) goto L_2B094406; /* 0x2B094413: jne 0x2b094406 */ 7340 L_2B094415: 7341 ecx = edi + 0x4; /* 0x2B094415: lea ecx, [edi + 4] */ 7342 /* cmp edi, ecx */ /* 0x2B094418: cmp edi, ecx */ 7343 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 7344 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7345 _flag_k = FK_CMP; 7346 eax = edi; /* 0x2B09441A: mov eax, edi */ 7347 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094427; /* 0x2B09441C: je 0x2b094427 */ 7348 L_2B09441E: 7349 MEM32(eax) = ebx; /* 0x2B09441E: mov dword ptr [eax], ebx */ 7350 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 7351 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7352 eax = eax + 4; /* 0x2B094420: add eax, 4 */ 7353 _flag_k = FK_ADD; 7354 /* cmp eax, ecx */ /* 0x2B094423: cmp eax, ecx */ 7355 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7356 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7357 _flag_k = FK_CMP; 7358 RECOMP_BACKEDGE(); 7359 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09441E; /* 0x2B094425: jne 0x2b09441e */ 7360 L_2B094427: 7361 _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(4); 7362 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7363 MEM32(esi + 0x2C) = MEM32(esi + 0x2C) + 4; /* 0x2B094427: add dword ptr [esi + 0x2c], 4 */ 7364 _flag_k = FK_ADD; 7365 L_2B09442B: 7366 eax = MEM32(ebp + 0x8); /* 0x2B09442B: mov eax, dword ptr [ebp + 8] */ 7367 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7368 eax = eax + 1; /* 0x2B09442E: inc eax */ 7369 _flag_k = FK_INC; 7370 /* cmp eax, 6 */ /* 0x2B09442F: cmp eax, 6 */ 7371 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(6); 7372 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7373 _flag_k = FK_CMP; 7374 MEM32(ebp + 0x8) = eax; /* 0x2B094432: mov dword ptr [ebp + 8], eax */ 7375 RECOMP_BACKEDGE(); 7376 if (CMP_L(_flag_a, _flag_b)) goto L_2B094213; /* 0x2B094435: jl 0x2b094213 */ 7377 L_2B09443B: 7378 ecx = MEM32(ebp + (-0xC)); /* 0x2B09443B: mov ecx, dword ptr [ebp - 0xc] */ 7379 edi = POP32_VAL(esp); /* 0x2B09443E: pop edi */ 7380 eax = esi; /* 0x2B09443F: mov eax, esi */ 7381 esi = POP32_VAL(esp); /* 0x2B094441: pop esi */ 7382 MEM32(FS_BASE + (0)) = ecx; /* 0x2B094442: mov dword ptr fs:[0], ecx */ 7383 ebx = POP32_VAL(esp); /* 0x2B094449: pop ebx */ 7384 esp = ebp; /* 0x2B09444A: mov esp, ebp */ 7385 ebp = POP32_VAL(esp); /* 0x2B09444C: pop ebp */ 7386 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B09444D: ret 0xc */ 7387 RECOMP_REGS_OUT(); 7388 } 7389 7390 void sub_2B09428E(void) { 7391 int _fpu_cmp = 0; 7392 uint32_t _cf = 0; 7393 int _df = 1; 7394 uint32_t _flag_k = FK_NONE; 7395 uint32_t _flag_a = 0, _flag_b = 0; 7396 uint32_t _itail_tgt = 0; 7397 RECOMP_REGS_LOCALS 7398 RECOMP_ENTER(0x2B09428Eu); 7399 7400 goto L_2B09428E; 7401 L_2B094213: 7402 ecx = MEM32(ebp + 0x8); /* 0x2B094213: mov ecx, dword ptr [ebp + 8] */ 7403 eax = ecx; /* 0x2B094216: mov eax, ecx */ 7404 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80000001u); 7405 eax = eax & 0x80000001u; /* 0x2B094218: and eax, 0x80000001 */ 7406 _cf = 0; 7407 _flag_k = FK_TEST; 7408 if (TEST_NS(_flag_a, _flag_b)) goto L_2B094224; /* 0x2B09421D: jns 0x2b094224 */ 7409 L_2B09421F: 7410 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7411 eax = eax - 1; /* 0x2B09421F: dec eax */ 7412 _flag_k = FK_DEC; 7413 _flag_a = (uint32_t)((eax | 0xFFFFFFFEu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFEu)); 7414 eax = eax | 0xFFFFFFFEu; /* 0x2B094220: or eax, 0xfffffffe */ 7415 _cf = 0; 7416 _flag_k = FK_TEST; 7417 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7418 eax = eax + 1; /* 0x2B094223: inc eax */ 7419 _flag_k = FK_INC; 7420 L_2B094224: 7421 eax = eax + eax * 2; /* 0x2B094224: lea eax, [eax + eax*2] */ 7422 edx = eax + eax * 8; /* 0x2B094227: lea edx, [eax + eax*8] */ 7423 eax = edx + edx + 0x5; /* 0x2B09422A: lea eax, [edx + edx + 5] */ 7424 MEM32(ebp + (-0x14)) = eax; /* 0x2B09422E: mov dword ptr [ebp - 0x14], eax */ 7425 eax = ecx; /* 0x2B094231: mov eax, ecx */ 7426 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B094233: cdq */ 7427 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7428 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7429 eax = eax - edx; /* 0x2B094234: sub eax, edx */ 7430 _flag_k = FK_CMP; 7431 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B094236: sar eax, 1 */ 7432 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7433 eax = (uint32_t)((int32_t)eax >> 1u); 7434 eax = eax + eax * 2; /* 0x2B094238: lea eax, [eax + eax*2] */ 7435 ecx = eax + eax * 8; /* 0x2B09423B: lea ecx, [eax + eax*8] */ 7436 edx = ecx + ecx + 0x15; /* 0x2B09423E: lea edx, [ecx + ecx + 0x15] */ 7437 PUSH32(esp, 0x38u); /* 0x2B094242: push 0x38 */ 7438 MEM32(ebp + (-0x10)) = edx; /* 0x2B094244: mov dword ptr [ebp - 0x10], edx */ 7439 RECOMP_ICALL(0x2B0AB212u); /* 0x2B094247: call 0x2b0ab212 */ /* not lifted */ 7440 RECOMP_FLAGS_IN(); 7441 edi = eax; /* 0x2B09424C: mov edi, eax */ 7442 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7443 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7444 esp = esp + 4; /* 0x2B09424E: add esp, 4 */ 7445 _flag_k = FK_ADD; 7446 MEM32(ebp + 0x10) = edi; /* 0x2B094251: mov dword ptr [ebp + 0x10], edi */ 7447 /* test edi, edi */ /* 0x2B094254: test edi, edi */ 7448 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 7449 _cf = 0; 7450 _flag_k = FK_TEST; 7451 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B094256: mov byte ptr [ebp - 4], 0xa */ 7452 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094284; /* 0x2B09425A: je 0x2b094284 */ 7453 L_2B09425C: 7454 eax = MEM32(esi); /* 0x2B09425C: mov eax, dword ptr [esi] */ 7455 ecx = MEM32(esi + 0x40); /* 0x2B09425E: mov ecx, dword ptr [esi + 0x40] */ 7456 PUSH32(esp, eax); /* 0x2B094261: push eax */ 7457 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xAu); 7458 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7459 ecx = ecx + 0xAu; /* 0x2B094262: add ecx, 0xa */ 7460 _flag_k = FK_ADD; 7461 PUSH32(esp, ecx); /* 0x2B094265: push ecx */ 7462 PUSH32(esp, 0xA7u); /* 0x2B094266: push 0xa7 */ 7463 edx = ebp + (-0x14); /* 0x2B09426B: lea edx, [ebp - 0x14] */ 7464 PUSH32(esp, edx); /* 0x2B09426E: push edx */ 7465 ecx = edi; /* 0x2B09426F: mov ecx, edi */ 7466 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B094271: call dword ptr [0x2b0b5948] */ 7467 RECOMP_FLAGS_IN(); 7468 ebx = edi; /* 0x2B094277: mov ebx, edi */ 7469 MEM32(edi) = 0x2B0B68F4u; /* 0x2B094279: mov dword ptr [edi], 0x2b0b68f4 */ 7470 MEM32(ebp + 0x10) = ebx; /* 0x2B09427F: mov dword ptr [ebp + 0x10], ebx */ 7471 goto L_2B09428E; /* 0x2B094282: jmp 0x2b09428e */ 7472 L_2B094284: 7473 MEM32(ebp + 0x10) = 0; /* 0x2B094284: mov dword ptr [ebp + 0x10], 0 */ 7474 ebx = MEM32(ebp + 0x10); /* 0x2B09428B: mov ebx, dword ptr [ebp + 0x10] */ 7475 L_2B09428E: 7476 eax = MEM32(esi + 0x2C); /* 0x2B09428E: mov eax, dword ptr [esi + 0x2c] */ 7477 ecx = MEM32(esi + 0x30); /* 0x2B094291: mov ecx, dword ptr [esi + 0x30] */ 7478 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 7479 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7480 ecx = ecx - eax; /* 0x2B094294: sub ecx, eax */ 7481 _flag_k = FK_CMP; 7482 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B094296: sar ecx, 2 */ 7483 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7484 ecx = (uint32_t)((int32_t)ecx >> 2u); 7485 /* cmp ecx, 1 */ /* 0x2B094299: cmp ecx, 1 */ 7486 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7487 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7488 _flag_k = FK_CMP; 7489 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B09429C: mov byte ptr [ebp - 4], 0 */ 7490 edi = eax; /* 0x2B0942A0: mov edi, eax */ 7491 if (CMP_AE(_flag_a, _flag_b)) goto L_2B09437D; /* 0x2B0942A2: jae 0x2b09437d */ 7492 L_2B0942A8: 7493 edx = MEM32(esi + 0x28); /* 0x2B0942A8: mov edx, dword ptr [esi + 0x28] */ 7494 /* test edx, edx */ /* 0x2B0942AB: test edx, edx */ 7495 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 7496 _cf = 0; 7497 _flag_k = FK_TEST; 7498 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0942BB; /* 0x2B0942AD: je 0x2b0942bb */ 7499 L_2B0942AF: 7500 ecx = eax; /* 0x2B0942AF: mov ecx, eax */ 7501 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 7502 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7503 ecx = ecx - edx; /* 0x2B0942B1: sub ecx, edx */ 7504 _flag_k = FK_CMP; 7505 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0942B3: sar ecx, 2 */ 7506 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7507 ecx = (uint32_t)((int32_t)ecx >> 2u); 7508 /* cmp ecx, 1 */ /* 0x2B0942B6: cmp ecx, 1 */ 7509 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7510 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7511 _flag_k = FK_CMP; 7512 if (CMP_A(_flag_a, _flag_b)) goto L_2B0942C0; /* 0x2B0942B9: ja 0x2b0942c0 */ 7513 L_2B0942BB: 7514 ecx = 1; /* 0x2B0942BB: mov ecx, 1 */ 7515 L_2B0942C0: 7516 /* test edx, edx */ /* 0x2B0942C0: test edx, edx */ 7517 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 7518 _cf = 0; 7519 _flag_k = FK_TEST; 7520 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0942C8; /* 0x2B0942C2: jne 0x2b0942c8 */ 7521 L_2B0942C4: 7522 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7523 eax = 0; /* 0x2B0942C4: xor eax, eax */ 7524 _cf = 0; 7525 _flag_k = FK_TEST; 7526 goto L_2B0942CD; /* 0x2B0942C6: jmp 0x2b0942cd */ 7527 L_2B0942C8: 7528 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7529 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7530 eax = eax - edx; /* 0x2B0942C8: sub eax, edx */ 7531 _flag_k = FK_CMP; 7532 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B0942CA: sar eax, 2 */ 7533 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7534 eax = (uint32_t)((int32_t)eax >> 2u); 7535 L_2B0942CD: 7536 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7537 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7538 eax = eax + ecx; /* 0x2B0942CD: add eax, ecx */ 7539 _flag_k = FK_ADD; 7540 /* test eax, eax */ /* 0x2B0942CF: test eax, eax */ 7541 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7542 _cf = 0; 7543 _flag_k = FK_TEST; 7544 MEM32(ebp + (-0x28)) = eax; /* 0x2B0942D1: mov dword ptr [ebp - 0x28], eax */ 7545 if (TEST_NS(_flag_a, _flag_b)) goto L_2B0942D8; /* 0x2B0942D4: jge 0x2b0942d8 */ 7546 L_2B0942D6: 7547 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7548 eax = 0; /* 0x2B0942D6: xor eax, eax */ 7549 _cf = 0; 7550 _flag_k = FK_TEST; 7551 L_2B0942D8: 7552 edx = eax * 4; /* 0x2B0942D8: lea edx, [eax*4] */ 7553 PUSH32(esp, edx); /* 0x2B0942DF: push edx */ 7554 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0942E0: call 0x2b0ab212 */ /* not lifted */ 7555 RECOMP_FLAGS_IN(); 7556 ecx = MEM32(esi + 0x28); /* 0x2B0942E5: mov ecx, dword ptr [esi + 0x28] */ 7557 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7558 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7559 esp = esp + 4; /* 0x2B0942E8: add esp, 4 */ 7560 _flag_k = FK_ADD; 7561 /* cmp ecx, edi */ /* 0x2B0942EB: cmp ecx, edi */ 7562 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 7563 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7564 _flag_k = FK_CMP; 7565 ebx = eax; /* 0x2B0942ED: mov ebx, eax */ 7566 MEM32(ebp + 0xC) = ebx; /* 0x2B0942EF: mov dword ptr [ebp + 0xc], ebx */ 7567 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094306; /* 0x2B0942F2: je 0x2b094306 */ 7568 L_2B0942F4: 7569 /* test eax, eax */ /* 0x2B0942F4: test eax, eax */ 7570 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7571 _cf = 0; 7572 _flag_k = FK_TEST; 7573 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0942FC; /* 0x2B0942F6: je 0x2b0942fc */ 7574 L_2B0942F8: 7575 edx = MEM32(ecx); /* 0x2B0942F8: mov edx, dword ptr [ecx] */ 7576 MEM32(eax) = edx; /* 0x2B0942FA: mov dword ptr [eax], edx */ 7577 L_2B0942FC: 7578 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 7579 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7580 ecx = ecx + 4; /* 0x2B0942FC: add ecx, 4 */ 7581 _flag_k = FK_ADD; 7582 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 7583 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7584 eax = eax + 4; /* 0x2B0942FF: add eax, 4 */ 7585 _flag_k = FK_ADD; 7586 /* cmp ecx, edi */ /* 0x2B094302: cmp ecx, edi */ 7587 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 7588 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7589 _flag_k = FK_CMP; 7590 RECOMP_BACKEDGE(); 7591 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0942F4; /* 0x2B094304: jne 0x2b0942f4 */ 7592 L_2B094306: 7593 /* test eax, eax */ /* 0x2B094306: test eax, eax */ 7594 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7595 _cf = 0; 7596 _flag_k = FK_TEST; 7597 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09430F; /* 0x2B094308: je 0x2b09430f */ 7598 L_2B09430A: 7599 ecx = MEM32(ebp + 0x10); /* 0x2B09430A: mov ecx, dword ptr [ebp + 0x10] */ 7600 MEM32(eax) = ecx; /* 0x2B09430D: mov dword ptr [eax], ecx */ 7601 L_2B09430F: 7602 edx = MEM32(esi + 0x2C); /* 0x2B09430F: mov edx, dword ptr [esi + 0x2c] */ 7603 /* cmp edi, edx */ /* 0x2B094312: cmp edi, edx */ 7604 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 7605 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7606 _flag_k = FK_CMP; 7607 ecx = eax + 0x4; /* 0x2B094314: lea ecx, [eax + 4] */ 7608 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094336; /* 0x2B094317: je 0x2b094336 */ 7609 L_2B094319: 7610 ebx = ecx; /* 0x2B094319: mov ebx, ecx */ 7611 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 7612 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7613 ebx = ebx - eax; /* 0x2B09431B: sub ebx, eax */ 7614 _flag_k = FK_CMP; 7615 edi = ebx + edi + (-0x4); /* 0x2B09431D: lea edi, [ebx + edi - 4] */ 7616 L_2B094321: 7617 /* test ecx, ecx */ /* 0x2B094321: test ecx, ecx */ 7618 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7619 _cf = 0; 7620 _flag_k = FK_TEST; 7621 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094329; /* 0x2B094323: je 0x2b094329 */ 7622 L_2B094325: 7623 eax = MEM32(edi); /* 0x2B094325: mov eax, dword ptr [edi] */ 7624 MEM32(ecx) = eax; /* 0x2B094327: mov dword ptr [ecx], eax */ 7625 L_2B094329: 7626 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4); 7627 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7628 edi = edi + 4; /* 0x2B094329: add edi, 4 */ 7629 _flag_k = FK_ADD; 7630 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 7631 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7632 ecx = ecx + 4; /* 0x2B09432C: add ecx, 4 */ 7633 _flag_k = FK_ADD; 7634 /* cmp edi, edx */ /* 0x2B09432F: cmp edi, edx */ 7635 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 7636 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7637 _flag_k = FK_CMP; 7638 RECOMP_BACKEDGE(); 7639 if (CMP_NE(_flag_a, _flag_b)) goto L_2B094321; /* 0x2B094331: jne 0x2b094321 */ 7640 L_2B094333: 7641 ebx = MEM32(ebp + 0xC); /* 0x2B094333: mov ebx, dword ptr [ebp + 0xc] */ 7642 L_2B094336: 7643 eax = MEM32(esi + 0x28); /* 0x2B094336: mov eax, dword ptr [esi + 0x28] */ 7644 PUSH32(esp, eax); /* 0x2B094339: push eax */ 7645 MEM32(ebp + 0x10) = eax; /* 0x2B09433A: mov dword ptr [ebp + 0x10], eax */ 7646 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09433D: call 0x2b0ab1ba */ /* not lifted */ 7647 RECOMP_FLAGS_IN(); 7648 ecx = MEM32(ebp + (-0x28)); /* 0x2B094342: mov ecx, dword ptr [ebp - 0x28] */ 7649 edx = ebx + ecx * 4; /* 0x2B094345: lea edx, [ebx + ecx*4] */ 7650 ecx = MEM32(esi + 0x28); /* 0x2B094348: mov ecx, dword ptr [esi + 0x28] */ 7651 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7652 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7653 esp = esp + 4; /* 0x2B09434B: add esp, 4 */ 7654 _flag_k = FK_ADD; 7655 /* test ecx, ecx */ /* 0x2B09434E: test ecx, ecx */ 7656 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7657 _cf = 0; 7658 _flag_k = FK_TEST; 7659 MEM32(esi + 0x30) = edx; /* 0x2B094350: mov dword ptr [esi + 0x30], edx */ 7660 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094366; /* 0x2B094353: jne 0x2b094366 */ 7661 L_2B094355: 7662 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7663 eax = 0; /* 0x2B094355: xor eax, eax */ 7664 _cf = 0; 7665 _flag_k = FK_TEST; 7666 eax = ebx + eax * 4 + 0x4; /* 0x2B094357: lea eax, [ebx + eax*4 + 4] */ 7667 MEM32(esi + 0x2C) = eax; /* 0x2B09435B: mov dword ptr [esi + 0x2c], eax */ 7668 MEM32(esi + 0x28) = ebx; /* 0x2B09435E: mov dword ptr [esi + 0x28], ebx */ 7669 goto L_2B09442B; /* 0x2B094361: jmp 0x2b09442b */ 7670 L_2B094366: 7671 eax = MEM32(esi + 0x2C); /* 0x2B094366: mov eax, dword ptr [esi + 0x2c] */ 7672 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7673 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7674 eax = eax - ecx; /* 0x2B094369: sub eax, ecx */ 7675 _flag_k = FK_CMP; 7676 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B09436B: sar eax, 2 */ 7677 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7678 eax = (uint32_t)((int32_t)eax >> 2u); 7679 eax = ebx + eax * 4 + 0x4; /* 0x2B09436E: lea eax, [ebx + eax*4 + 4] */ 7680 MEM32(esi + 0x2C) = eax; /* 0x2B094372: mov dword ptr [esi + 0x2c], eax */ 7681 MEM32(esi + 0x28) = ebx; /* 0x2B094375: mov dword ptr [esi + 0x28], ebx */ 7682 goto L_2B09442B; /* 0x2B094378: jmp 0x2b09442b */ 7683 L_2B09437D: 7684 ecx = eax; /* 0x2B09437D: mov ecx, eax */ 7685 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 7686 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7687 ecx = ecx - edi; /* 0x2B09437F: sub ecx, edi */ 7688 _flag_k = FK_CMP; 7689 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B094381: sar ecx, 2 */ 7690 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7691 ecx = (uint32_t)((int32_t)ecx >> 2u); 7692 /* cmp ecx, 1 */ /* 0x2B094384: cmp ecx, 1 */ 7693 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7694 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7695 _flag_k = FK_CMP; 7696 if (CMP_AE(_flag_a, _flag_b)) goto L_2B0943DB; /* 0x2B094387: jae 0x2b0943db */ 7697 L_2B094389: 7698 /* cmp edi, eax */ /* 0x2B094389: cmp edi, eax */ 7699 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 7700 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7701 _flag_k = FK_CMP; 7702 ecx = edi + 0x4; /* 0x2B09438B: lea ecx, [edi + 4] */ 7703 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0943A8; /* 0x2B09438E: je 0x2b0943a8 */ 7704 L_2B094390: 7705 edx = ecx + (-0x4); /* 0x2B094390: lea edx, [ecx - 4] */ 7706 L_2B094393: 7707 /* test ecx, ecx */ /* 0x2B094393: test ecx, ecx */ 7708 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7709 _cf = 0; 7710 _flag_k = FK_TEST; 7711 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09439E; /* 0x2B094395: je 0x2b09439e */ 7712 L_2B094397: 7713 ebx = MEM32(edx); /* 0x2B094397: mov ebx, dword ptr [edx] */ 7714 MEM32(ecx) = ebx; /* 0x2B094399: mov dword ptr [ecx], ebx */ 7715 ebx = MEM32(ebp + 0x10); /* 0x2B09439B: mov ebx, dword ptr [ebp + 0x10] */ 7716 L_2B09439E: 7717 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 7718 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7719 edx = edx + 4; /* 0x2B09439E: add edx, 4 */ 7720 _flag_k = FK_ADD; 7721 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 7722 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7723 ecx = ecx + 4; /* 0x2B0943A1: add ecx, 4 */ 7724 _flag_k = FK_ADD; 7725 /* cmp edx, eax */ /* 0x2B0943A4: cmp edx, eax */ 7726 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 7727 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7728 _flag_k = FK_CMP; 7729 RECOMP_BACKEDGE(); 7730 if (CMP_NE(_flag_a, _flag_b)) goto L_2B094393; /* 0x2B0943A6: jne 0x2b094393 */ 7731 L_2B0943A8: 7732 ecx = MEM32(esi + 0x2C); /* 0x2B0943A8: mov ecx, dword ptr [esi + 0x2c] */ 7733 edx = ecx; /* 0x2B0943AB: mov edx, ecx */ 7734 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 7735 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7736 edx = edx - edi; /* 0x2B0943AD: sub edx, edi */ 7737 _flag_k = FK_CMP; 7738 if (2u) _cf = (((edx) >> 1) & 1u); /* 0x2B0943AF: sar edx, 2 */ 7739 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7740 edx = (uint32_t)((int32_t)edx >> 2u); 7741 eax = 1; /* 0x2B0943B2: mov eax, 1 */ 7742 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7743 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7744 eax = eax - edx; /* 0x2B0943B7: sub eax, edx */ 7745 _flag_k = FK_CMP; 7746 if (/* sub result */ CMP_EQ(_flag_a, _flag_b)) goto L_2B0943C7; /* 0x2B0943B9: je 0x2b0943c7 */ 7747 L_2B0943BB: 7748 /* test ecx, ecx */ /* 0x2B0943BB: test ecx, ecx */ 7749 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7750 _cf = 0; 7751 _flag_k = FK_TEST; 7752 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0943C1; /* 0x2B0943BD: je 0x2b0943c1 */ 7753 L_2B0943BF: 7754 MEM32(ecx) = ebx; /* 0x2B0943BF: mov dword ptr [ecx], ebx */ 7755 L_2B0943C1: 7756 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 7757 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7758 ecx = ecx + 4; /* 0x2B0943C1: add ecx, 4 */ 7759 _flag_k = FK_ADD; 7760 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7761 eax = eax - 1; /* 0x2B0943C4: dec eax */ 7762 _flag_k = FK_DEC; 7763 RECOMP_BACKEDGE(); 7764 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B0943BB; /* 0x2B0943C5: jne 0x2b0943bb */ 7765 L_2B0943C7: 7766 ecx = MEM32(esi + 0x2C); /* 0x2B0943C7: mov ecx, dword ptr [esi + 0x2c] */ 7767 /* cmp edi, ecx */ /* 0x2B0943CA: cmp edi, ecx */ 7768 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 7769 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7770 _flag_k = FK_CMP; 7771 eax = edi; /* 0x2B0943CC: mov eax, edi */ 7772 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094427; /* 0x2B0943CE: je 0x2b094427 */ 7773 L_2B0943D0: 7774 MEM32(eax) = ebx; /* 0x2B0943D0: mov dword ptr [eax], ebx */ 7775 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 7776 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7777 eax = eax + 4; /* 0x2B0943D2: add eax, 4 */ 7778 _flag_k = FK_ADD; 7779 /* cmp eax, ecx */ /* 0x2B0943D5: cmp eax, ecx */ 7780 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7781 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7782 _flag_k = FK_CMP; 7783 RECOMP_BACKEDGE(); 7784 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0943D0; /* 0x2B0943D7: jne 0x2b0943d0 */ 7785 L_2B0943D9: 7786 goto L_2B094427; /* 0x2B0943D9: jmp 0x2b094427 */ 7787 L_2B0943DB: 7788 ecx = eax + (-0x4); /* 0x2B0943DB: lea ecx, [eax - 4] */ 7789 /* cmp ecx, eax */ /* 0x2B0943DE: cmp ecx, eax */ 7790 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 7791 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7792 _flag_k = FK_CMP; 7793 edx = eax; /* 0x2B0943E0: mov edx, eax */ 7794 MEM32(ebp + 0xC) = ecx; /* 0x2B0943E2: mov dword ptr [ebp + 0xc], ecx */ 7795 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0943FC; /* 0x2B0943E5: je 0x2b0943fc */ 7796 L_2B0943E7: 7797 /* test edx, edx */ /* 0x2B0943E7: test edx, edx */ 7798 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 7799 _cf = 0; 7800 _flag_k = FK_TEST; 7801 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0943F2; /* 0x2B0943E9: je 0x2b0943f2 */ 7802 L_2B0943EB: 7803 ebx = MEM32(ecx); /* 0x2B0943EB: mov ebx, dword ptr [ecx] */ 7804 MEM32(edx) = ebx; /* 0x2B0943ED: mov dword ptr [edx], ebx */ 7805 ebx = MEM32(ebp + 0x10); /* 0x2B0943EF: mov ebx, dword ptr [ebp + 0x10] */ 7806 L_2B0943F2: 7807 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 7808 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7809 ecx = ecx + 4; /* 0x2B0943F2: add ecx, 4 */ 7810 _flag_k = FK_ADD; 7811 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 7812 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7813 edx = edx + 4; /* 0x2B0943F5: add edx, 4 */ 7814 _flag_k = FK_ADD; 7815 /* cmp ecx, eax */ /* 0x2B0943F8: cmp ecx, eax */ 7816 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 7817 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7818 _flag_k = FK_CMP; 7819 RECOMP_BACKEDGE(); 7820 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0943E7; /* 0x2B0943FA: jne 0x2b0943e7 */ 7821 L_2B0943FC: 7822 ecx = MEM32(esi + 0x2C); /* 0x2B0943FC: mov ecx, dword ptr [esi + 0x2c] */ 7823 eax = ecx + (-0x4); /* 0x2B0943FF: lea eax, [ecx - 4] */ 7824 /* cmp edi, eax */ /* 0x2B094402: cmp edi, eax */ 7825 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 7826 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7827 _flag_k = FK_CMP; 7828 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094415; /* 0x2B094404: je 0x2b094415 */ 7829 L_2B094406: 7830 edx = MEM32(eax + (-0x4)); /* 0x2B094406: mov edx, dword ptr [eax - 4] */ 7831 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 7832 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7833 eax = eax - 4; /* 0x2B094409: sub eax, 4 */ 7834 _flag_k = FK_CMP; 7835 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 7836 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7837 ecx = ecx - 4; /* 0x2B09440C: sub ecx, 4 */ 7838 _flag_k = FK_CMP; 7839 /* cmp eax, edi */ /* 0x2B09440F: cmp eax, edi */ 7840 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 7841 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7842 _flag_k = FK_CMP; 7843 MEM32(ecx) = edx; /* 0x2B094411: mov dword ptr [ecx], edx */ 7844 RECOMP_BACKEDGE(); 7845 if (CMP_NE(_flag_a, _flag_b)) goto L_2B094406; /* 0x2B094413: jne 0x2b094406 */ 7846 L_2B094415: 7847 ecx = edi + 0x4; /* 0x2B094415: lea ecx, [edi + 4] */ 7848 /* cmp edi, ecx */ /* 0x2B094418: cmp edi, ecx */ 7849 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 7850 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7851 _flag_k = FK_CMP; 7852 eax = edi; /* 0x2B09441A: mov eax, edi */ 7853 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094427; /* 0x2B09441C: je 0x2b094427 */ 7854 L_2B09441E: 7855 MEM32(eax) = ebx; /* 0x2B09441E: mov dword ptr [eax], ebx */ 7856 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 7857 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7858 eax = eax + 4; /* 0x2B094420: add eax, 4 */ 7859 _flag_k = FK_ADD; 7860 /* cmp eax, ecx */ /* 0x2B094423: cmp eax, ecx */ 7861 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7862 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7863 _flag_k = FK_CMP; 7864 RECOMP_BACKEDGE(); 7865 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09441E; /* 0x2B094425: jne 0x2b09441e */ 7866 L_2B094427: 7867 _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(4); 7868 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7869 MEM32(esi + 0x2C) = MEM32(esi + 0x2C) + 4; /* 0x2B094427: add dword ptr [esi + 0x2c], 4 */ 7870 _flag_k = FK_ADD; 7871 L_2B09442B: 7872 eax = MEM32(ebp + 0x8); /* 0x2B09442B: mov eax, dword ptr [ebp + 8] */ 7873 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7874 eax = eax + 1; /* 0x2B09442E: inc eax */ 7875 _flag_k = FK_INC; 7876 /* cmp eax, 6 */ /* 0x2B09442F: cmp eax, 6 */ 7877 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(6); 7878 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7879 _flag_k = FK_CMP; 7880 MEM32(ebp + 0x8) = eax; /* 0x2B094432: mov dword ptr [ebp + 8], eax */ 7881 RECOMP_BACKEDGE(); 7882 if (CMP_L(_flag_a, _flag_b)) goto L_2B094213; /* 0x2B094435: jl 0x2b094213 */ 7883 L_2B09443B: 7884 ecx = MEM32(ebp + (-0xC)); /* 0x2B09443B: mov ecx, dword ptr [ebp - 0xc] */ 7885 edi = POP32_VAL(esp); /* 0x2B09443E: pop edi */ 7886 eax = esi; /* 0x2B09443F: mov eax, esi */ 7887 esi = POP32_VAL(esp); /* 0x2B094441: pop esi */ 7888 MEM32(FS_BASE + (0)) = ecx; /* 0x2B094442: mov dword ptr fs:[0], ecx */ 7889 ebx = POP32_VAL(esp); /* 0x2B094449: pop ebx */ 7890 esp = ebp; /* 0x2B09444A: mov esp, ebp */ 7891 ebp = POP32_VAL(esp); /* 0x2B09444C: pop ebp */ 7892 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B09444D: ret 0xc */ 7893 RECOMP_REGS_OUT(); 7894 } 7895 7896 void sub_2B0942CD(void) { 7897 int _fpu_cmp = 0; 7898 uint32_t _cf = 0; 7899 int _df = 1; 7900 uint32_t _flag_k = FK_NONE; 7901 uint32_t _flag_a = 0, _flag_b = 0; 7902 uint32_t _itail_tgt = 0; 7903 RECOMP_REGS_LOCALS 7904 RECOMP_ENTER(0x2B0942CDu); 7905 7906 goto L_2B0942CD; 7907 L_2B094213: 7908 ecx = MEM32(ebp + 0x8); /* 0x2B094213: mov ecx, dword ptr [ebp + 8] */ 7909 eax = ecx; /* 0x2B094216: mov eax, ecx */ 7910 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80000001u); 7911 eax = eax & 0x80000001u; /* 0x2B094218: and eax, 0x80000001 */ 7912 _cf = 0; 7913 _flag_k = FK_TEST; 7914 if (TEST_NS(_flag_a, _flag_b)) goto L_2B094224; /* 0x2B09421D: jns 0x2b094224 */ 7915 L_2B09421F: 7916 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7917 eax = eax - 1; /* 0x2B09421F: dec eax */ 7918 _flag_k = FK_DEC; 7919 _flag_a = (uint32_t)((eax | 0xFFFFFFFEu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFEu)); 7920 eax = eax | 0xFFFFFFFEu; /* 0x2B094220: or eax, 0xfffffffe */ 7921 _cf = 0; 7922 _flag_k = FK_TEST; 7923 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7924 eax = eax + 1; /* 0x2B094223: inc eax */ 7925 _flag_k = FK_INC; 7926 L_2B094224: 7927 eax = eax + eax * 2; /* 0x2B094224: lea eax, [eax + eax*2] */ 7928 edx = eax + eax * 8; /* 0x2B094227: lea edx, [eax + eax*8] */ 7929 eax = edx + edx + 0x5; /* 0x2B09422A: lea eax, [edx + edx + 5] */ 7930 MEM32(ebp + (-0x14)) = eax; /* 0x2B09422E: mov dword ptr [ebp - 0x14], eax */ 7931 eax = ecx; /* 0x2B094231: mov eax, ecx */ 7932 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B094233: cdq */ 7933 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7934 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7935 eax = eax - edx; /* 0x2B094234: sub eax, edx */ 7936 _flag_k = FK_CMP; 7937 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B094236: sar eax, 1 */ 7938 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7939 eax = (uint32_t)((int32_t)eax >> 1u); 7940 eax = eax + eax * 2; /* 0x2B094238: lea eax, [eax + eax*2] */ 7941 ecx = eax + eax * 8; /* 0x2B09423B: lea ecx, [eax + eax*8] */ 7942 edx = ecx + ecx + 0x15; /* 0x2B09423E: lea edx, [ecx + ecx + 0x15] */ 7943 PUSH32(esp, 0x38u); /* 0x2B094242: push 0x38 */ 7944 MEM32(ebp + (-0x10)) = edx; /* 0x2B094244: mov dword ptr [ebp - 0x10], edx */ 7945 RECOMP_ICALL(0x2B0AB212u); /* 0x2B094247: call 0x2b0ab212 */ /* not lifted */ 7946 RECOMP_FLAGS_IN(); 7947 edi = eax; /* 0x2B09424C: mov edi, eax */ 7948 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7949 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7950 esp = esp + 4; /* 0x2B09424E: add esp, 4 */ 7951 _flag_k = FK_ADD; 7952 MEM32(ebp + 0x10) = edi; /* 0x2B094251: mov dword ptr [ebp + 0x10], edi */ 7953 /* test edi, edi */ /* 0x2B094254: test edi, edi */ 7954 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 7955 _cf = 0; 7956 _flag_k = FK_TEST; 7957 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B094256: mov byte ptr [ebp - 4], 0xa */ 7958 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094284; /* 0x2B09425A: je 0x2b094284 */ 7959 L_2B09425C: 7960 eax = MEM32(esi); /* 0x2B09425C: mov eax, dword ptr [esi] */ 7961 ecx = MEM32(esi + 0x40); /* 0x2B09425E: mov ecx, dword ptr [esi + 0x40] */ 7962 PUSH32(esp, eax); /* 0x2B094261: push eax */ 7963 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xAu); 7964 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7965 ecx = ecx + 0xAu; /* 0x2B094262: add ecx, 0xa */ 7966 _flag_k = FK_ADD; 7967 PUSH32(esp, ecx); /* 0x2B094265: push ecx */ 7968 PUSH32(esp, 0xA7u); /* 0x2B094266: push 0xa7 */ 7969 edx = ebp + (-0x14); /* 0x2B09426B: lea edx, [ebp - 0x14] */ 7970 PUSH32(esp, edx); /* 0x2B09426E: push edx */ 7971 ecx = edi; /* 0x2B09426F: mov ecx, edi */ 7972 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B094271: call dword ptr [0x2b0b5948] */ 7973 RECOMP_FLAGS_IN(); 7974 ebx = edi; /* 0x2B094277: mov ebx, edi */ 7975 MEM32(edi) = 0x2B0B68F4u; /* 0x2B094279: mov dword ptr [edi], 0x2b0b68f4 */ 7976 MEM32(ebp + 0x10) = ebx; /* 0x2B09427F: mov dword ptr [ebp + 0x10], ebx */ 7977 goto L_2B09428E; /* 0x2B094282: jmp 0x2b09428e */ 7978 L_2B094284: 7979 MEM32(ebp + 0x10) = 0; /* 0x2B094284: mov dword ptr [ebp + 0x10], 0 */ 7980 ebx = MEM32(ebp + 0x10); /* 0x2B09428B: mov ebx, dword ptr [ebp + 0x10] */ 7981 L_2B09428E: 7982 eax = MEM32(esi + 0x2C); /* 0x2B09428E: mov eax, dword ptr [esi + 0x2c] */ 7983 ecx = MEM32(esi + 0x30); /* 0x2B094291: mov ecx, dword ptr [esi + 0x30] */ 7984 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 7985 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7986 ecx = ecx - eax; /* 0x2B094294: sub ecx, eax */ 7987 _flag_k = FK_CMP; 7988 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B094296: sar ecx, 2 */ 7989 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7990 ecx = (uint32_t)((int32_t)ecx >> 2u); 7991 /* cmp ecx, 1 */ /* 0x2B094299: cmp ecx, 1 */ 7992 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7993 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7994 _flag_k = FK_CMP; 7995 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B09429C: mov byte ptr [ebp - 4], 0 */ 7996 edi = eax; /* 0x2B0942A0: mov edi, eax */ 7997 if (CMP_AE(_flag_a, _flag_b)) goto L_2B09437D; /* 0x2B0942A2: jae 0x2b09437d */ 7998 L_2B0942A8: 7999 edx = MEM32(esi + 0x28); /* 0x2B0942A8: mov edx, dword ptr [esi + 0x28] */ 8000 /* test edx, edx */ /* 0x2B0942AB: test edx, edx */ 8001 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 8002 _cf = 0; 8003 _flag_k = FK_TEST; 8004 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0942BB; /* 0x2B0942AD: je 0x2b0942bb */ 8005 L_2B0942AF: 8006 ecx = eax; /* 0x2B0942AF: mov ecx, eax */ 8007 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8008 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8009 ecx = ecx - edx; /* 0x2B0942B1: sub ecx, edx */ 8010 _flag_k = FK_CMP; 8011 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0942B3: sar ecx, 2 */ 8012 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8013 ecx = (uint32_t)((int32_t)ecx >> 2u); 8014 /* cmp ecx, 1 */ /* 0x2B0942B6: cmp ecx, 1 */ 8015 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 8016 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8017 _flag_k = FK_CMP; 8018 if (CMP_A(_flag_a, _flag_b)) goto L_2B0942C0; /* 0x2B0942B9: ja 0x2b0942c0 */ 8019 L_2B0942BB: 8020 ecx = 1; /* 0x2B0942BB: mov ecx, 1 */ 8021 L_2B0942C0: 8022 /* test edx, edx */ /* 0x2B0942C0: test edx, edx */ 8023 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 8024 _cf = 0; 8025 _flag_k = FK_TEST; 8026 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0942C8; /* 0x2B0942C2: jne 0x2b0942c8 */ 8027 L_2B0942C4: 8028 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8029 eax = 0; /* 0x2B0942C4: xor eax, eax */ 8030 _cf = 0; 8031 _flag_k = FK_TEST; 8032 goto L_2B0942CD; /* 0x2B0942C6: jmp 0x2b0942cd */ 8033 L_2B0942C8: 8034 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 8035 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8036 eax = eax - edx; /* 0x2B0942C8: sub eax, edx */ 8037 _flag_k = FK_CMP; 8038 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B0942CA: sar eax, 2 */ 8039 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8040 eax = (uint32_t)((int32_t)eax >> 2u); 8041 L_2B0942CD: 8042 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8043 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8044 eax = eax + ecx; /* 0x2B0942CD: add eax, ecx */ 8045 _flag_k = FK_ADD; 8046 /* test eax, eax */ /* 0x2B0942CF: test eax, eax */ 8047 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8048 _cf = 0; 8049 _flag_k = FK_TEST; 8050 MEM32(ebp + (-0x28)) = eax; /* 0x2B0942D1: mov dword ptr [ebp - 0x28], eax */ 8051 if (TEST_NS(_flag_a, _flag_b)) goto L_2B0942D8; /* 0x2B0942D4: jge 0x2b0942d8 */ 8052 L_2B0942D6: 8053 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8054 eax = 0; /* 0x2B0942D6: xor eax, eax */ 8055 _cf = 0; 8056 _flag_k = FK_TEST; 8057 L_2B0942D8: 8058 edx = eax * 4; /* 0x2B0942D8: lea edx, [eax*4] */ 8059 PUSH32(esp, edx); /* 0x2B0942DF: push edx */ 8060 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0942E0: call 0x2b0ab212 */ /* not lifted */ 8061 RECOMP_FLAGS_IN(); 8062 ecx = MEM32(esi + 0x28); /* 0x2B0942E5: mov ecx, dword ptr [esi + 0x28] */ 8063 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8064 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8065 esp = esp + 4; /* 0x2B0942E8: add esp, 4 */ 8066 _flag_k = FK_ADD; 8067 /* cmp ecx, edi */ /* 0x2B0942EB: cmp ecx, edi */ 8068 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 8069 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8070 _flag_k = FK_CMP; 8071 ebx = eax; /* 0x2B0942ED: mov ebx, eax */ 8072 MEM32(ebp + 0xC) = ebx; /* 0x2B0942EF: mov dword ptr [ebp + 0xc], ebx */ 8073 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094306; /* 0x2B0942F2: je 0x2b094306 */ 8074 L_2B0942F4: 8075 /* test eax, eax */ /* 0x2B0942F4: test eax, eax */ 8076 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8077 _cf = 0; 8078 _flag_k = FK_TEST; 8079 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0942FC; /* 0x2B0942F6: je 0x2b0942fc */ 8080 L_2B0942F8: 8081 edx = MEM32(ecx); /* 0x2B0942F8: mov edx, dword ptr [ecx] */ 8082 MEM32(eax) = edx; /* 0x2B0942FA: mov dword ptr [eax], edx */ 8083 L_2B0942FC: 8084 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 8085 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8086 ecx = ecx + 4; /* 0x2B0942FC: add ecx, 4 */ 8087 _flag_k = FK_ADD; 8088 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 8089 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8090 eax = eax + 4; /* 0x2B0942FF: add eax, 4 */ 8091 _flag_k = FK_ADD; 8092 /* cmp ecx, edi */ /* 0x2B094302: cmp ecx, edi */ 8093 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 8094 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8095 _flag_k = FK_CMP; 8096 RECOMP_BACKEDGE(); 8097 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0942F4; /* 0x2B094304: jne 0x2b0942f4 */ 8098 L_2B094306: 8099 /* test eax, eax */ /* 0x2B094306: test eax, eax */ 8100 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8101 _cf = 0; 8102 _flag_k = FK_TEST; 8103 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09430F; /* 0x2B094308: je 0x2b09430f */ 8104 L_2B09430A: 8105 ecx = MEM32(ebp + 0x10); /* 0x2B09430A: mov ecx, dword ptr [ebp + 0x10] */ 8106 MEM32(eax) = ecx; /* 0x2B09430D: mov dword ptr [eax], ecx */ 8107 L_2B09430F: 8108 edx = MEM32(esi + 0x2C); /* 0x2B09430F: mov edx, dword ptr [esi + 0x2c] */ 8109 /* cmp edi, edx */ /* 0x2B094312: cmp edi, edx */ 8110 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 8111 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8112 _flag_k = FK_CMP; 8113 ecx = eax + 0x4; /* 0x2B094314: lea ecx, [eax + 4] */ 8114 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094336; /* 0x2B094317: je 0x2b094336 */ 8115 L_2B094319: 8116 ebx = ecx; /* 0x2B094319: mov ebx, ecx */ 8117 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 8118 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8119 ebx = ebx - eax; /* 0x2B09431B: sub ebx, eax */ 8120 _flag_k = FK_CMP; 8121 edi = ebx + edi + (-0x4); /* 0x2B09431D: lea edi, [ebx + edi - 4] */ 8122 L_2B094321: 8123 /* test ecx, ecx */ /* 0x2B094321: test ecx, ecx */ 8124 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8125 _cf = 0; 8126 _flag_k = FK_TEST; 8127 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094329; /* 0x2B094323: je 0x2b094329 */ 8128 L_2B094325: 8129 eax = MEM32(edi); /* 0x2B094325: mov eax, dword ptr [edi] */ 8130 MEM32(ecx) = eax; /* 0x2B094327: mov dword ptr [ecx], eax */ 8131 L_2B094329: 8132 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4); 8133 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8134 edi = edi + 4; /* 0x2B094329: add edi, 4 */ 8135 _flag_k = FK_ADD; 8136 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 8137 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8138 ecx = ecx + 4; /* 0x2B09432C: add ecx, 4 */ 8139 _flag_k = FK_ADD; 8140 /* cmp edi, edx */ /* 0x2B09432F: cmp edi, edx */ 8141 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 8142 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8143 _flag_k = FK_CMP; 8144 RECOMP_BACKEDGE(); 8145 if (CMP_NE(_flag_a, _flag_b)) goto L_2B094321; /* 0x2B094331: jne 0x2b094321 */ 8146 L_2B094333: 8147 ebx = MEM32(ebp + 0xC); /* 0x2B094333: mov ebx, dword ptr [ebp + 0xc] */ 8148 L_2B094336: 8149 eax = MEM32(esi + 0x28); /* 0x2B094336: mov eax, dword ptr [esi + 0x28] */ 8150 PUSH32(esp, eax); /* 0x2B094339: push eax */ 8151 MEM32(ebp + 0x10) = eax; /* 0x2B09433A: mov dword ptr [ebp + 0x10], eax */ 8152 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09433D: call 0x2b0ab1ba */ /* not lifted */ 8153 RECOMP_FLAGS_IN(); 8154 ecx = MEM32(ebp + (-0x28)); /* 0x2B094342: mov ecx, dword ptr [ebp - 0x28] */ 8155 edx = ebx + ecx * 4; /* 0x2B094345: lea edx, [ebx + ecx*4] */ 8156 ecx = MEM32(esi + 0x28); /* 0x2B094348: mov ecx, dword ptr [esi + 0x28] */ 8157 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8158 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8159 esp = esp + 4; /* 0x2B09434B: add esp, 4 */ 8160 _flag_k = FK_ADD; 8161 /* test ecx, ecx */ /* 0x2B09434E: test ecx, ecx */ 8162 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8163 _cf = 0; 8164 _flag_k = FK_TEST; 8165 MEM32(esi + 0x30) = edx; /* 0x2B094350: mov dword ptr [esi + 0x30], edx */ 8166 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094366; /* 0x2B094353: jne 0x2b094366 */ 8167 L_2B094355: 8168 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8169 eax = 0; /* 0x2B094355: xor eax, eax */ 8170 _cf = 0; 8171 _flag_k = FK_TEST; 8172 eax = ebx + eax * 4 + 0x4; /* 0x2B094357: lea eax, [ebx + eax*4 + 4] */ 8173 MEM32(esi + 0x2C) = eax; /* 0x2B09435B: mov dword ptr [esi + 0x2c], eax */ 8174 MEM32(esi + 0x28) = ebx; /* 0x2B09435E: mov dword ptr [esi + 0x28], ebx */ 8175 goto L_2B09442B; /* 0x2B094361: jmp 0x2b09442b */ 8176 L_2B094366: 8177 eax = MEM32(esi + 0x2C); /* 0x2B094366: mov eax, dword ptr [esi + 0x2c] */ 8178 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8179 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8180 eax = eax - ecx; /* 0x2B094369: sub eax, ecx */ 8181 _flag_k = FK_CMP; 8182 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B09436B: sar eax, 2 */ 8183 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8184 eax = (uint32_t)((int32_t)eax >> 2u); 8185 eax = ebx + eax * 4 + 0x4; /* 0x2B09436E: lea eax, [ebx + eax*4 + 4] */ 8186 MEM32(esi + 0x2C) = eax; /* 0x2B094372: mov dword ptr [esi + 0x2c], eax */ 8187 MEM32(esi + 0x28) = ebx; /* 0x2B094375: mov dword ptr [esi + 0x28], ebx */ 8188 goto L_2B09442B; /* 0x2B094378: jmp 0x2b09442b */ 8189 L_2B09437D: 8190 ecx = eax; /* 0x2B09437D: mov ecx, eax */ 8191 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 8192 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8193 ecx = ecx - edi; /* 0x2B09437F: sub ecx, edi */ 8194 _flag_k = FK_CMP; 8195 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B094381: sar ecx, 2 */ 8196 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8197 ecx = (uint32_t)((int32_t)ecx >> 2u); 8198 /* cmp ecx, 1 */ /* 0x2B094384: cmp ecx, 1 */ 8199 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 8200 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8201 _flag_k = FK_CMP; 8202 if (CMP_AE(_flag_a, _flag_b)) goto L_2B0943DB; /* 0x2B094387: jae 0x2b0943db */ 8203 L_2B094389: 8204 /* cmp edi, eax */ /* 0x2B094389: cmp edi, eax */ 8205 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 8206 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8207 _flag_k = FK_CMP; 8208 ecx = edi + 0x4; /* 0x2B09438B: lea ecx, [edi + 4] */ 8209 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0943A8; /* 0x2B09438E: je 0x2b0943a8 */ 8210 L_2B094390: 8211 edx = ecx + (-0x4); /* 0x2B094390: lea edx, [ecx - 4] */ 8212 L_2B094393: 8213 /* test ecx, ecx */ /* 0x2B094393: test ecx, ecx */ 8214 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8215 _cf = 0; 8216 _flag_k = FK_TEST; 8217 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09439E; /* 0x2B094395: je 0x2b09439e */ 8218 L_2B094397: 8219 ebx = MEM32(edx); /* 0x2B094397: mov ebx, dword ptr [edx] */ 8220 MEM32(ecx) = ebx; /* 0x2B094399: mov dword ptr [ecx], ebx */ 8221 ebx = MEM32(ebp + 0x10); /* 0x2B09439B: mov ebx, dword ptr [ebp + 0x10] */ 8222 L_2B09439E: 8223 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 8224 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8225 edx = edx + 4; /* 0x2B09439E: add edx, 4 */ 8226 _flag_k = FK_ADD; 8227 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 8228 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8229 ecx = ecx + 4; /* 0x2B0943A1: add ecx, 4 */ 8230 _flag_k = FK_ADD; 8231 /* cmp edx, eax */ /* 0x2B0943A4: cmp edx, eax */ 8232 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 8233 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8234 _flag_k = FK_CMP; 8235 RECOMP_BACKEDGE(); 8236 if (CMP_NE(_flag_a, _flag_b)) goto L_2B094393; /* 0x2B0943A6: jne 0x2b094393 */ 8237 L_2B0943A8: 8238 ecx = MEM32(esi + 0x2C); /* 0x2B0943A8: mov ecx, dword ptr [esi + 0x2c] */ 8239 edx = ecx; /* 0x2B0943AB: mov edx, ecx */ 8240 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 8241 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8242 edx = edx - edi; /* 0x2B0943AD: sub edx, edi */ 8243 _flag_k = FK_CMP; 8244 if (2u) _cf = (((edx) >> 1) & 1u); /* 0x2B0943AF: sar edx, 2 */ 8245 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8246 edx = (uint32_t)((int32_t)edx >> 2u); 8247 eax = 1; /* 0x2B0943B2: mov eax, 1 */ 8248 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 8249 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8250 eax = eax - edx; /* 0x2B0943B7: sub eax, edx */ 8251 _flag_k = FK_CMP; 8252 if (/* sub result */ CMP_EQ(_flag_a, _flag_b)) goto L_2B0943C7; /* 0x2B0943B9: je 0x2b0943c7 */ 8253 L_2B0943BB: 8254 /* test ecx, ecx */ /* 0x2B0943BB: test ecx, ecx */ 8255 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8256 _cf = 0; 8257 _flag_k = FK_TEST; 8258 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0943C1; /* 0x2B0943BD: je 0x2b0943c1 */ 8259 L_2B0943BF: 8260 MEM32(ecx) = ebx; /* 0x2B0943BF: mov dword ptr [ecx], ebx */ 8261 L_2B0943C1: 8262 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 8263 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8264 ecx = ecx + 4; /* 0x2B0943C1: add ecx, 4 */ 8265 _flag_k = FK_ADD; 8266 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 8267 eax = eax - 1; /* 0x2B0943C4: dec eax */ 8268 _flag_k = FK_DEC; 8269 RECOMP_BACKEDGE(); 8270 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B0943BB; /* 0x2B0943C5: jne 0x2b0943bb */ 8271 L_2B0943C7: 8272 ecx = MEM32(esi + 0x2C); /* 0x2B0943C7: mov ecx, dword ptr [esi + 0x2c] */ 8273 /* cmp edi, ecx */ /* 0x2B0943CA: cmp edi, ecx */ 8274 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 8275 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8276 _flag_k = FK_CMP; 8277 eax = edi; /* 0x2B0943CC: mov eax, edi */ 8278 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094427; /* 0x2B0943CE: je 0x2b094427 */ 8279 L_2B0943D0: 8280 MEM32(eax) = ebx; /* 0x2B0943D0: mov dword ptr [eax], ebx */ 8281 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 8282 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8283 eax = eax + 4; /* 0x2B0943D2: add eax, 4 */ 8284 _flag_k = FK_ADD; 8285 /* cmp eax, ecx */ /* 0x2B0943D5: cmp eax, ecx */ 8286 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8287 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8288 _flag_k = FK_CMP; 8289 RECOMP_BACKEDGE(); 8290 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0943D0; /* 0x2B0943D7: jne 0x2b0943d0 */ 8291 L_2B0943D9: 8292 goto L_2B094427; /* 0x2B0943D9: jmp 0x2b094427 */ 8293 L_2B0943DB: 8294 ecx = eax + (-0x4); /* 0x2B0943DB: lea ecx, [eax - 4] */ 8295 /* cmp ecx, eax */ /* 0x2B0943DE: cmp ecx, eax */ 8296 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 8297 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8298 _flag_k = FK_CMP; 8299 edx = eax; /* 0x2B0943E0: mov edx, eax */ 8300 MEM32(ebp + 0xC) = ecx; /* 0x2B0943E2: mov dword ptr [ebp + 0xc], ecx */ 8301 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0943FC; /* 0x2B0943E5: je 0x2b0943fc */ 8302 L_2B0943E7: 8303 /* test edx, edx */ /* 0x2B0943E7: test edx, edx */ 8304 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 8305 _cf = 0; 8306 _flag_k = FK_TEST; 8307 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0943F2; /* 0x2B0943E9: je 0x2b0943f2 */ 8308 L_2B0943EB: 8309 ebx = MEM32(ecx); /* 0x2B0943EB: mov ebx, dword ptr [ecx] */ 8310 MEM32(edx) = ebx; /* 0x2B0943ED: mov dword ptr [edx], ebx */ 8311 ebx = MEM32(ebp + 0x10); /* 0x2B0943EF: mov ebx, dword ptr [ebp + 0x10] */ 8312 L_2B0943F2: 8313 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 8314 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8315 ecx = ecx + 4; /* 0x2B0943F2: add ecx, 4 */ 8316 _flag_k = FK_ADD; 8317 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 8318 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8319 edx = edx + 4; /* 0x2B0943F5: add edx, 4 */ 8320 _flag_k = FK_ADD; 8321 /* cmp ecx, eax */ /* 0x2B0943F8: cmp ecx, eax */ 8322 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 8323 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8324 _flag_k = FK_CMP; 8325 RECOMP_BACKEDGE(); 8326 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0943E7; /* 0x2B0943FA: jne 0x2b0943e7 */ 8327 L_2B0943FC: 8328 ecx = MEM32(esi + 0x2C); /* 0x2B0943FC: mov ecx, dword ptr [esi + 0x2c] */ 8329 eax = ecx + (-0x4); /* 0x2B0943FF: lea eax, [ecx - 4] */ 8330 /* cmp edi, eax */ /* 0x2B094402: cmp edi, eax */ 8331 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 8332 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8333 _flag_k = FK_CMP; 8334 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094415; /* 0x2B094404: je 0x2b094415 */ 8335 L_2B094406: 8336 edx = MEM32(eax + (-0x4)); /* 0x2B094406: mov edx, dword ptr [eax - 4] */ 8337 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 8338 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8339 eax = eax - 4; /* 0x2B094409: sub eax, 4 */ 8340 _flag_k = FK_CMP; 8341 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 8342 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8343 ecx = ecx - 4; /* 0x2B09440C: sub ecx, 4 */ 8344 _flag_k = FK_CMP; 8345 /* cmp eax, edi */ /* 0x2B09440F: cmp eax, edi */ 8346 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 8347 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8348 _flag_k = FK_CMP; 8349 MEM32(ecx) = edx; /* 0x2B094411: mov dword ptr [ecx], edx */ 8350 RECOMP_BACKEDGE(); 8351 if (CMP_NE(_flag_a, _flag_b)) goto L_2B094406; /* 0x2B094413: jne 0x2b094406 */ 8352 L_2B094415: 8353 ecx = edi + 0x4; /* 0x2B094415: lea ecx, [edi + 4] */ 8354 /* cmp edi, ecx */ /* 0x2B094418: cmp edi, ecx */ 8355 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 8356 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8357 _flag_k = FK_CMP; 8358 eax = edi; /* 0x2B09441A: mov eax, edi */ 8359 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094427; /* 0x2B09441C: je 0x2b094427 */ 8360 L_2B09441E: 8361 MEM32(eax) = ebx; /* 0x2B09441E: mov dword ptr [eax], ebx */ 8362 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 8363 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8364 eax = eax + 4; /* 0x2B094420: add eax, 4 */ 8365 _flag_k = FK_ADD; 8366 /* cmp eax, ecx */ /* 0x2B094423: cmp eax, ecx */ 8367 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8368 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8369 _flag_k = FK_CMP; 8370 RECOMP_BACKEDGE(); 8371 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09441E; /* 0x2B094425: jne 0x2b09441e */ 8372 L_2B094427: 8373 _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(4); 8374 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8375 MEM32(esi + 0x2C) = MEM32(esi + 0x2C) + 4; /* 0x2B094427: add dword ptr [esi + 0x2c], 4 */ 8376 _flag_k = FK_ADD; 8377 L_2B09442B: 8378 eax = MEM32(ebp + 0x8); /* 0x2B09442B: mov eax, dword ptr [ebp + 8] */ 8379 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 8380 eax = eax + 1; /* 0x2B09442E: inc eax */ 8381 _flag_k = FK_INC; 8382 /* cmp eax, 6 */ /* 0x2B09442F: cmp eax, 6 */ 8383 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(6); 8384 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8385 _flag_k = FK_CMP; 8386 MEM32(ebp + 0x8) = eax; /* 0x2B094432: mov dword ptr [ebp + 8], eax */ 8387 RECOMP_BACKEDGE(); 8388 if (CMP_L(_flag_a, _flag_b)) goto L_2B094213; /* 0x2B094435: jl 0x2b094213 */ 8389 L_2B09443B: 8390 ecx = MEM32(ebp + (-0xC)); /* 0x2B09443B: mov ecx, dword ptr [ebp - 0xc] */ 8391 edi = POP32_VAL(esp); /* 0x2B09443E: pop edi */ 8392 eax = esi; /* 0x2B09443F: mov eax, esi */ 8393 esi = POP32_VAL(esp); /* 0x2B094441: pop esi */ 8394 MEM32(FS_BASE + (0)) = ecx; /* 0x2B094442: mov dword ptr fs:[0], ecx */ 8395 ebx = POP32_VAL(esp); /* 0x2B094449: pop ebx */ 8396 esp = ebp; /* 0x2B09444A: mov esp, ebp */ 8397 ebp = POP32_VAL(esp); /* 0x2B09444C: pop ebp */ 8398 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B09444D: ret 0xc */ 8399 RECOMP_REGS_OUT(); 8400 } 8401 8402 void sub_2B094427(void) { 8403 int _fpu_cmp = 0; 8404 uint32_t _cf = 0; 8405 int _df = 1; 8406 uint32_t _flag_k = FK_NONE; 8407 uint32_t _flag_a = 0, _flag_b = 0; 8408 uint32_t _itail_tgt = 0; 8409 RECOMP_REGS_LOCALS 8410 RECOMP_ENTER(0x2B094427u); 8411 8412 goto L_2B094427; 8413 L_2B094213: 8414 ecx = MEM32(ebp + 0x8); /* 0x2B094213: mov ecx, dword ptr [ebp + 8] */ 8415 eax = ecx; /* 0x2B094216: mov eax, ecx */ 8416 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80000001u); 8417 eax = eax & 0x80000001u; /* 0x2B094218: and eax, 0x80000001 */ 8418 _cf = 0; 8419 _flag_k = FK_TEST; 8420 if (TEST_NS(_flag_a, _flag_b)) goto L_2B094224; /* 0x2B09421D: jns 0x2b094224 */ 8421 L_2B09421F: 8422 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 8423 eax = eax - 1; /* 0x2B09421F: dec eax */ 8424 _flag_k = FK_DEC; 8425 _flag_a = (uint32_t)((eax | 0xFFFFFFFEu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFEu)); 8426 eax = eax | 0xFFFFFFFEu; /* 0x2B094220: or eax, 0xfffffffe */ 8427 _cf = 0; 8428 _flag_k = FK_TEST; 8429 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 8430 eax = eax + 1; /* 0x2B094223: inc eax */ 8431 _flag_k = FK_INC; 8432 L_2B094224: 8433 eax = eax + eax * 2; /* 0x2B094224: lea eax, [eax + eax*2] */ 8434 edx = eax + eax * 8; /* 0x2B094227: lea edx, [eax + eax*8] */ 8435 eax = edx + edx + 0x5; /* 0x2B09422A: lea eax, [edx + edx + 5] */ 8436 MEM32(ebp + (-0x14)) = eax; /* 0x2B09422E: mov dword ptr [ebp - 0x14], eax */ 8437 eax = ecx; /* 0x2B094231: mov eax, ecx */ 8438 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B094233: cdq */ 8439 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 8440 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8441 eax = eax - edx; /* 0x2B094234: sub eax, edx */ 8442 _flag_k = FK_CMP; 8443 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B094236: sar eax, 1 */ 8444 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8445 eax = (uint32_t)((int32_t)eax >> 1u); 8446 eax = eax + eax * 2; /* 0x2B094238: lea eax, [eax + eax*2] */ 8447 ecx = eax + eax * 8; /* 0x2B09423B: lea ecx, [eax + eax*8] */ 8448 edx = ecx + ecx + 0x15; /* 0x2B09423E: lea edx, [ecx + ecx + 0x15] */ 8449 PUSH32(esp, 0x38u); /* 0x2B094242: push 0x38 */ 8450 MEM32(ebp + (-0x10)) = edx; /* 0x2B094244: mov dword ptr [ebp - 0x10], edx */ 8451 RECOMP_ICALL(0x2B0AB212u); /* 0x2B094247: call 0x2b0ab212 */ /* not lifted */ 8452 RECOMP_FLAGS_IN(); 8453 edi = eax; /* 0x2B09424C: mov edi, eax */ 8454 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8455 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8456 esp = esp + 4; /* 0x2B09424E: add esp, 4 */ 8457 _flag_k = FK_ADD; 8458 MEM32(ebp + 0x10) = edi; /* 0x2B094251: mov dword ptr [ebp + 0x10], edi */ 8459 /* test edi, edi */ /* 0x2B094254: test edi, edi */ 8460 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 8461 _cf = 0; 8462 _flag_k = FK_TEST; 8463 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B094256: mov byte ptr [ebp - 4], 0xa */ 8464 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094284; /* 0x2B09425A: je 0x2b094284 */ 8465 L_2B09425C: 8466 eax = MEM32(esi); /* 0x2B09425C: mov eax, dword ptr [esi] */ 8467 ecx = MEM32(esi + 0x40); /* 0x2B09425E: mov ecx, dword ptr [esi + 0x40] */ 8468 PUSH32(esp, eax); /* 0x2B094261: push eax */ 8469 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xAu); 8470 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8471 ecx = ecx + 0xAu; /* 0x2B094262: add ecx, 0xa */ 8472 _flag_k = FK_ADD; 8473 PUSH32(esp, ecx); /* 0x2B094265: push ecx */ 8474 PUSH32(esp, 0xA7u); /* 0x2B094266: push 0xa7 */ 8475 edx = ebp + (-0x14); /* 0x2B09426B: lea edx, [ebp - 0x14] */ 8476 PUSH32(esp, edx); /* 0x2B09426E: push edx */ 8477 ecx = edi; /* 0x2B09426F: mov ecx, edi */ 8478 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B094271: call dword ptr [0x2b0b5948] */ 8479 RECOMP_FLAGS_IN(); 8480 ebx = edi; /* 0x2B094277: mov ebx, edi */ 8481 MEM32(edi) = 0x2B0B68F4u; /* 0x2B094279: mov dword ptr [edi], 0x2b0b68f4 */ 8482 MEM32(ebp + 0x10) = ebx; /* 0x2B09427F: mov dword ptr [ebp + 0x10], ebx */ 8483 goto L_2B09428E; /* 0x2B094282: jmp 0x2b09428e */ 8484 L_2B094284: 8485 MEM32(ebp + 0x10) = 0; /* 0x2B094284: mov dword ptr [ebp + 0x10], 0 */ 8486 ebx = MEM32(ebp + 0x10); /* 0x2B09428B: mov ebx, dword ptr [ebp + 0x10] */ 8487 L_2B09428E: 8488 eax = MEM32(esi + 0x2C); /* 0x2B09428E: mov eax, dword ptr [esi + 0x2c] */ 8489 ecx = MEM32(esi + 0x30); /* 0x2B094291: mov ecx, dword ptr [esi + 0x30] */ 8490 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 8491 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8492 ecx = ecx - eax; /* 0x2B094294: sub ecx, eax */ 8493 _flag_k = FK_CMP; 8494 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B094296: sar ecx, 2 */ 8495 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8496 ecx = (uint32_t)((int32_t)ecx >> 2u); 8497 /* cmp ecx, 1 */ /* 0x2B094299: cmp ecx, 1 */ 8498 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 8499 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8500 _flag_k = FK_CMP; 8501 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B09429C: mov byte ptr [ebp - 4], 0 */ 8502 edi = eax; /* 0x2B0942A0: mov edi, eax */ 8503 if (CMP_AE(_flag_a, _flag_b)) goto L_2B09437D; /* 0x2B0942A2: jae 0x2b09437d */ 8504 L_2B0942A8: 8505 edx = MEM32(esi + 0x28); /* 0x2B0942A8: mov edx, dword ptr [esi + 0x28] */ 8506 /* test edx, edx */ /* 0x2B0942AB: test edx, edx */ 8507 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 8508 _cf = 0; 8509 _flag_k = FK_TEST; 8510 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0942BB; /* 0x2B0942AD: je 0x2b0942bb */ 8511 L_2B0942AF: 8512 ecx = eax; /* 0x2B0942AF: mov ecx, eax */ 8513 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8514 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8515 ecx = ecx - edx; /* 0x2B0942B1: sub ecx, edx */ 8516 _flag_k = FK_CMP; 8517 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0942B3: sar ecx, 2 */ 8518 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8519 ecx = (uint32_t)((int32_t)ecx >> 2u); 8520 /* cmp ecx, 1 */ /* 0x2B0942B6: cmp ecx, 1 */ 8521 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 8522 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8523 _flag_k = FK_CMP; 8524 if (CMP_A(_flag_a, _flag_b)) goto L_2B0942C0; /* 0x2B0942B9: ja 0x2b0942c0 */ 8525 L_2B0942BB: 8526 ecx = 1; /* 0x2B0942BB: mov ecx, 1 */ 8527 L_2B0942C0: 8528 /* test edx, edx */ /* 0x2B0942C0: test edx, edx */ 8529 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 8530 _cf = 0; 8531 _flag_k = FK_TEST; 8532 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0942C8; /* 0x2B0942C2: jne 0x2b0942c8 */ 8533 L_2B0942C4: 8534 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8535 eax = 0; /* 0x2B0942C4: xor eax, eax */ 8536 _cf = 0; 8537 _flag_k = FK_TEST; 8538 goto L_2B0942CD; /* 0x2B0942C6: jmp 0x2b0942cd */ 8539 L_2B0942C8: 8540 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 8541 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8542 eax = eax - edx; /* 0x2B0942C8: sub eax, edx */ 8543 _flag_k = FK_CMP; 8544 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B0942CA: sar eax, 2 */ 8545 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8546 eax = (uint32_t)((int32_t)eax >> 2u); 8547 L_2B0942CD: 8548 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8549 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8550 eax = eax + ecx; /* 0x2B0942CD: add eax, ecx */ 8551 _flag_k = FK_ADD; 8552 /* test eax, eax */ /* 0x2B0942CF: test eax, eax */ 8553 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8554 _cf = 0; 8555 _flag_k = FK_TEST; 8556 MEM32(ebp + (-0x28)) = eax; /* 0x2B0942D1: mov dword ptr [ebp - 0x28], eax */ 8557 if (TEST_NS(_flag_a, _flag_b)) goto L_2B0942D8; /* 0x2B0942D4: jge 0x2b0942d8 */ 8558 L_2B0942D6: 8559 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8560 eax = 0; /* 0x2B0942D6: xor eax, eax */ 8561 _cf = 0; 8562 _flag_k = FK_TEST; 8563 L_2B0942D8: 8564 edx = eax * 4; /* 0x2B0942D8: lea edx, [eax*4] */ 8565 PUSH32(esp, edx); /* 0x2B0942DF: push edx */ 8566 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0942E0: call 0x2b0ab212 */ /* not lifted */ 8567 RECOMP_FLAGS_IN(); 8568 ecx = MEM32(esi + 0x28); /* 0x2B0942E5: mov ecx, dword ptr [esi + 0x28] */ 8569 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8570 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8571 esp = esp + 4; /* 0x2B0942E8: add esp, 4 */ 8572 _flag_k = FK_ADD; 8573 /* cmp ecx, edi */ /* 0x2B0942EB: cmp ecx, edi */ 8574 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 8575 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8576 _flag_k = FK_CMP; 8577 ebx = eax; /* 0x2B0942ED: mov ebx, eax */ 8578 MEM32(ebp + 0xC) = ebx; /* 0x2B0942EF: mov dword ptr [ebp + 0xc], ebx */ 8579 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094306; /* 0x2B0942F2: je 0x2b094306 */ 8580 L_2B0942F4: 8581 /* test eax, eax */ /* 0x2B0942F4: test eax, eax */ 8582 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8583 _cf = 0; 8584 _flag_k = FK_TEST; 8585 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0942FC; /* 0x2B0942F6: je 0x2b0942fc */ 8586 L_2B0942F8: 8587 edx = MEM32(ecx); /* 0x2B0942F8: mov edx, dword ptr [ecx] */ 8588 MEM32(eax) = edx; /* 0x2B0942FA: mov dword ptr [eax], edx */ 8589 L_2B0942FC: 8590 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 8591 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8592 ecx = ecx + 4; /* 0x2B0942FC: add ecx, 4 */ 8593 _flag_k = FK_ADD; 8594 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 8595 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8596 eax = eax + 4; /* 0x2B0942FF: add eax, 4 */ 8597 _flag_k = FK_ADD; 8598 /* cmp ecx, edi */ /* 0x2B094302: cmp ecx, edi */ 8599 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 8600 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8601 _flag_k = FK_CMP; 8602 RECOMP_BACKEDGE(); 8603 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0942F4; /* 0x2B094304: jne 0x2b0942f4 */ 8604 L_2B094306: 8605 /* test eax, eax */ /* 0x2B094306: test eax, eax */ 8606 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8607 _cf = 0; 8608 _flag_k = FK_TEST; 8609 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09430F; /* 0x2B094308: je 0x2b09430f */ 8610 L_2B09430A: 8611 ecx = MEM32(ebp + 0x10); /* 0x2B09430A: mov ecx, dword ptr [ebp + 0x10] */ 8612 MEM32(eax) = ecx; /* 0x2B09430D: mov dword ptr [eax], ecx */ 8613 L_2B09430F: 8614 edx = MEM32(esi + 0x2C); /* 0x2B09430F: mov edx, dword ptr [esi + 0x2c] */ 8615 /* cmp edi, edx */ /* 0x2B094312: cmp edi, edx */ 8616 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 8617 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8618 _flag_k = FK_CMP; 8619 ecx = eax + 0x4; /* 0x2B094314: lea ecx, [eax + 4] */ 8620 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094336; /* 0x2B094317: je 0x2b094336 */ 8621 L_2B094319: 8622 ebx = ecx; /* 0x2B094319: mov ebx, ecx */ 8623 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 8624 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8625 ebx = ebx - eax; /* 0x2B09431B: sub ebx, eax */ 8626 _flag_k = FK_CMP; 8627 edi = ebx + edi + (-0x4); /* 0x2B09431D: lea edi, [ebx + edi - 4] */ 8628 L_2B094321: 8629 /* test ecx, ecx */ /* 0x2B094321: test ecx, ecx */ 8630 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8631 _cf = 0; 8632 _flag_k = FK_TEST; 8633 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094329; /* 0x2B094323: je 0x2b094329 */ 8634 L_2B094325: 8635 eax = MEM32(edi); /* 0x2B094325: mov eax, dword ptr [edi] */ 8636 MEM32(ecx) = eax; /* 0x2B094327: mov dword ptr [ecx], eax */ 8637 L_2B094329: 8638 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4); 8639 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8640 edi = edi + 4; /* 0x2B094329: add edi, 4 */ 8641 _flag_k = FK_ADD; 8642 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 8643 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8644 ecx = ecx + 4; /* 0x2B09432C: add ecx, 4 */ 8645 _flag_k = FK_ADD; 8646 /* cmp edi, edx */ /* 0x2B09432F: cmp edi, edx */ 8647 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 8648 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8649 _flag_k = FK_CMP; 8650 RECOMP_BACKEDGE(); 8651 if (CMP_NE(_flag_a, _flag_b)) goto L_2B094321; /* 0x2B094331: jne 0x2b094321 */ 8652 L_2B094333: 8653 ebx = MEM32(ebp + 0xC); /* 0x2B094333: mov ebx, dword ptr [ebp + 0xc] */ 8654 L_2B094336: 8655 eax = MEM32(esi + 0x28); /* 0x2B094336: mov eax, dword ptr [esi + 0x28] */ 8656 PUSH32(esp, eax); /* 0x2B094339: push eax */ 8657 MEM32(ebp + 0x10) = eax; /* 0x2B09433A: mov dword ptr [ebp + 0x10], eax */ 8658 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09433D: call 0x2b0ab1ba */ /* not lifted */ 8659 RECOMP_FLAGS_IN(); 8660 ecx = MEM32(ebp + (-0x28)); /* 0x2B094342: mov ecx, dword ptr [ebp - 0x28] */ 8661 edx = ebx + ecx * 4; /* 0x2B094345: lea edx, [ebx + ecx*4] */ 8662 ecx = MEM32(esi + 0x28); /* 0x2B094348: mov ecx, dword ptr [esi + 0x28] */ 8663 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8664 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8665 esp = esp + 4; /* 0x2B09434B: add esp, 4 */ 8666 _flag_k = FK_ADD; 8667 /* test ecx, ecx */ /* 0x2B09434E: test ecx, ecx */ 8668 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8669 _cf = 0; 8670 _flag_k = FK_TEST; 8671 MEM32(esi + 0x30) = edx; /* 0x2B094350: mov dword ptr [esi + 0x30], edx */ 8672 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094366; /* 0x2B094353: jne 0x2b094366 */ 8673 L_2B094355: 8674 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8675 eax = 0; /* 0x2B094355: xor eax, eax */ 8676 _cf = 0; 8677 _flag_k = FK_TEST; 8678 eax = ebx + eax * 4 + 0x4; /* 0x2B094357: lea eax, [ebx + eax*4 + 4] */ 8679 MEM32(esi + 0x2C) = eax; /* 0x2B09435B: mov dword ptr [esi + 0x2c], eax */ 8680 MEM32(esi + 0x28) = ebx; /* 0x2B09435E: mov dword ptr [esi + 0x28], ebx */ 8681 goto L_2B09442B; /* 0x2B094361: jmp 0x2b09442b */ 8682 L_2B094366: 8683 eax = MEM32(esi + 0x2C); /* 0x2B094366: mov eax, dword ptr [esi + 0x2c] */ 8684 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8685 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8686 eax = eax - ecx; /* 0x2B094369: sub eax, ecx */ 8687 _flag_k = FK_CMP; 8688 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B09436B: sar eax, 2 */ 8689 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8690 eax = (uint32_t)((int32_t)eax >> 2u); 8691 eax = ebx + eax * 4 + 0x4; /* 0x2B09436E: lea eax, [ebx + eax*4 + 4] */ 8692 MEM32(esi + 0x2C) = eax; /* 0x2B094372: mov dword ptr [esi + 0x2c], eax */ 8693 MEM32(esi + 0x28) = ebx; /* 0x2B094375: mov dword ptr [esi + 0x28], ebx */ 8694 goto L_2B09442B; /* 0x2B094378: jmp 0x2b09442b */ 8695 L_2B09437D: 8696 ecx = eax; /* 0x2B09437D: mov ecx, eax */ 8697 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 8698 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8699 ecx = ecx - edi; /* 0x2B09437F: sub ecx, edi */ 8700 _flag_k = FK_CMP; 8701 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B094381: sar ecx, 2 */ 8702 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8703 ecx = (uint32_t)((int32_t)ecx >> 2u); 8704 /* cmp ecx, 1 */ /* 0x2B094384: cmp ecx, 1 */ 8705 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 8706 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8707 _flag_k = FK_CMP; 8708 if (CMP_AE(_flag_a, _flag_b)) goto L_2B0943DB; /* 0x2B094387: jae 0x2b0943db */ 8709 L_2B094389: 8710 /* cmp edi, eax */ /* 0x2B094389: cmp edi, eax */ 8711 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 8712 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8713 _flag_k = FK_CMP; 8714 ecx = edi + 0x4; /* 0x2B09438B: lea ecx, [edi + 4] */ 8715 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0943A8; /* 0x2B09438E: je 0x2b0943a8 */ 8716 L_2B094390: 8717 edx = ecx + (-0x4); /* 0x2B094390: lea edx, [ecx - 4] */ 8718 L_2B094393: 8719 /* test ecx, ecx */ /* 0x2B094393: test ecx, ecx */ 8720 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8721 _cf = 0; 8722 _flag_k = FK_TEST; 8723 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09439E; /* 0x2B094395: je 0x2b09439e */ 8724 L_2B094397: 8725 ebx = MEM32(edx); /* 0x2B094397: mov ebx, dword ptr [edx] */ 8726 MEM32(ecx) = ebx; /* 0x2B094399: mov dword ptr [ecx], ebx */ 8727 ebx = MEM32(ebp + 0x10); /* 0x2B09439B: mov ebx, dword ptr [ebp + 0x10] */ 8728 L_2B09439E: 8729 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 8730 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8731 edx = edx + 4; /* 0x2B09439E: add edx, 4 */ 8732 _flag_k = FK_ADD; 8733 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 8734 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8735 ecx = ecx + 4; /* 0x2B0943A1: add ecx, 4 */ 8736 _flag_k = FK_ADD; 8737 /* cmp edx, eax */ /* 0x2B0943A4: cmp edx, eax */ 8738 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 8739 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8740 _flag_k = FK_CMP; 8741 RECOMP_BACKEDGE(); 8742 if (CMP_NE(_flag_a, _flag_b)) goto L_2B094393; /* 0x2B0943A6: jne 0x2b094393 */ 8743 L_2B0943A8: 8744 ecx = MEM32(esi + 0x2C); /* 0x2B0943A8: mov ecx, dword ptr [esi + 0x2c] */ 8745 edx = ecx; /* 0x2B0943AB: mov edx, ecx */ 8746 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 8747 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8748 edx = edx - edi; /* 0x2B0943AD: sub edx, edi */ 8749 _flag_k = FK_CMP; 8750 if (2u) _cf = (((edx) >> 1) & 1u); /* 0x2B0943AF: sar edx, 2 */ 8751 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8752 edx = (uint32_t)((int32_t)edx >> 2u); 8753 eax = 1; /* 0x2B0943B2: mov eax, 1 */ 8754 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 8755 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8756 eax = eax - edx; /* 0x2B0943B7: sub eax, edx */ 8757 _flag_k = FK_CMP; 8758 if (/* sub result */ CMP_EQ(_flag_a, _flag_b)) goto L_2B0943C7; /* 0x2B0943B9: je 0x2b0943c7 */ 8759 L_2B0943BB: 8760 /* test ecx, ecx */ /* 0x2B0943BB: test ecx, ecx */ 8761 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8762 _cf = 0; 8763 _flag_k = FK_TEST; 8764 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0943C1; /* 0x2B0943BD: je 0x2b0943c1 */ 8765 L_2B0943BF: 8766 MEM32(ecx) = ebx; /* 0x2B0943BF: mov dword ptr [ecx], ebx */ 8767 L_2B0943C1: 8768 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 8769 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8770 ecx = ecx + 4; /* 0x2B0943C1: add ecx, 4 */ 8771 _flag_k = FK_ADD; 8772 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 8773 eax = eax - 1; /* 0x2B0943C4: dec eax */ 8774 _flag_k = FK_DEC; 8775 RECOMP_BACKEDGE(); 8776 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B0943BB; /* 0x2B0943C5: jne 0x2b0943bb */ 8777 L_2B0943C7: 8778 ecx = MEM32(esi + 0x2C); /* 0x2B0943C7: mov ecx, dword ptr [esi + 0x2c] */ 8779 /* cmp edi, ecx */ /* 0x2B0943CA: cmp edi, ecx */ 8780 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 8781 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8782 _flag_k = FK_CMP; 8783 eax = edi; /* 0x2B0943CC: mov eax, edi */ 8784 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094427; /* 0x2B0943CE: je 0x2b094427 */ 8785 L_2B0943D0: 8786 MEM32(eax) = ebx; /* 0x2B0943D0: mov dword ptr [eax], ebx */ 8787 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 8788 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8789 eax = eax + 4; /* 0x2B0943D2: add eax, 4 */ 8790 _flag_k = FK_ADD; 8791 /* cmp eax, ecx */ /* 0x2B0943D5: cmp eax, ecx */ 8792 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8793 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8794 _flag_k = FK_CMP; 8795 RECOMP_BACKEDGE(); 8796 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0943D0; /* 0x2B0943D7: jne 0x2b0943d0 */ 8797 L_2B0943D9: 8798 goto L_2B094427; /* 0x2B0943D9: jmp 0x2b094427 */ 8799 L_2B0943DB: 8800 ecx = eax + (-0x4); /* 0x2B0943DB: lea ecx, [eax - 4] */ 8801 /* cmp ecx, eax */ /* 0x2B0943DE: cmp ecx, eax */ 8802 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 8803 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8804 _flag_k = FK_CMP; 8805 edx = eax; /* 0x2B0943E0: mov edx, eax */ 8806 MEM32(ebp + 0xC) = ecx; /* 0x2B0943E2: mov dword ptr [ebp + 0xc], ecx */ 8807 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0943FC; /* 0x2B0943E5: je 0x2b0943fc */ 8808 L_2B0943E7: 8809 /* test edx, edx */ /* 0x2B0943E7: test edx, edx */ 8810 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 8811 _cf = 0; 8812 _flag_k = FK_TEST; 8813 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0943F2; /* 0x2B0943E9: je 0x2b0943f2 */ 8814 L_2B0943EB: 8815 ebx = MEM32(ecx); /* 0x2B0943EB: mov ebx, dword ptr [ecx] */ 8816 MEM32(edx) = ebx; /* 0x2B0943ED: mov dword ptr [edx], ebx */ 8817 ebx = MEM32(ebp + 0x10); /* 0x2B0943EF: mov ebx, dword ptr [ebp + 0x10] */ 8818 L_2B0943F2: 8819 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 8820 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8821 ecx = ecx + 4; /* 0x2B0943F2: add ecx, 4 */ 8822 _flag_k = FK_ADD; 8823 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 8824 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8825 edx = edx + 4; /* 0x2B0943F5: add edx, 4 */ 8826 _flag_k = FK_ADD; 8827 /* cmp ecx, eax */ /* 0x2B0943F8: cmp ecx, eax */ 8828 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 8829 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8830 _flag_k = FK_CMP; 8831 RECOMP_BACKEDGE(); 8832 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0943E7; /* 0x2B0943FA: jne 0x2b0943e7 */ 8833 L_2B0943FC: 8834 ecx = MEM32(esi + 0x2C); /* 0x2B0943FC: mov ecx, dword ptr [esi + 0x2c] */ 8835 eax = ecx + (-0x4); /* 0x2B0943FF: lea eax, [ecx - 4] */ 8836 /* cmp edi, eax */ /* 0x2B094402: cmp edi, eax */ 8837 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 8838 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8839 _flag_k = FK_CMP; 8840 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094415; /* 0x2B094404: je 0x2b094415 */ 8841 L_2B094406: 8842 edx = MEM32(eax + (-0x4)); /* 0x2B094406: mov edx, dword ptr [eax - 4] */ 8843 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 8844 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8845 eax = eax - 4; /* 0x2B094409: sub eax, 4 */ 8846 _flag_k = FK_CMP; 8847 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 8848 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8849 ecx = ecx - 4; /* 0x2B09440C: sub ecx, 4 */ 8850 _flag_k = FK_CMP; 8851 /* cmp eax, edi */ /* 0x2B09440F: cmp eax, edi */ 8852 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 8853 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8854 _flag_k = FK_CMP; 8855 MEM32(ecx) = edx; /* 0x2B094411: mov dword ptr [ecx], edx */ 8856 RECOMP_BACKEDGE(); 8857 if (CMP_NE(_flag_a, _flag_b)) goto L_2B094406; /* 0x2B094413: jne 0x2b094406 */ 8858 L_2B094415: 8859 ecx = edi + 0x4; /* 0x2B094415: lea ecx, [edi + 4] */ 8860 /* cmp edi, ecx */ /* 0x2B094418: cmp edi, ecx */ 8861 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 8862 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8863 _flag_k = FK_CMP; 8864 eax = edi; /* 0x2B09441A: mov eax, edi */ 8865 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094427; /* 0x2B09441C: je 0x2b094427 */ 8866 L_2B09441E: 8867 MEM32(eax) = ebx; /* 0x2B09441E: mov dword ptr [eax], ebx */ 8868 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 8869 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8870 eax = eax + 4; /* 0x2B094420: add eax, 4 */ 8871 _flag_k = FK_ADD; 8872 /* cmp eax, ecx */ /* 0x2B094423: cmp eax, ecx */ 8873 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8874 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8875 _flag_k = FK_CMP; 8876 RECOMP_BACKEDGE(); 8877 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09441E; /* 0x2B094425: jne 0x2b09441e */ 8878 L_2B094427: 8879 _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(4); 8880 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8881 MEM32(esi + 0x2C) = MEM32(esi + 0x2C) + 4; /* 0x2B094427: add dword ptr [esi + 0x2c], 4 */ 8882 _flag_k = FK_ADD; 8883 L_2B09442B: 8884 eax = MEM32(ebp + 0x8); /* 0x2B09442B: mov eax, dword ptr [ebp + 8] */ 8885 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 8886 eax = eax + 1; /* 0x2B09442E: inc eax */ 8887 _flag_k = FK_INC; 8888 /* cmp eax, 6 */ /* 0x2B09442F: cmp eax, 6 */ 8889 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(6); 8890 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8891 _flag_k = FK_CMP; 8892 MEM32(ebp + 0x8) = eax; /* 0x2B094432: mov dword ptr [ebp + 8], eax */ 8893 RECOMP_BACKEDGE(); 8894 if (CMP_L(_flag_a, _flag_b)) goto L_2B094213; /* 0x2B094435: jl 0x2b094213 */ 8895 L_2B09443B: 8896 ecx = MEM32(ebp + (-0xC)); /* 0x2B09443B: mov ecx, dword ptr [ebp - 0xc] */ 8897 edi = POP32_VAL(esp); /* 0x2B09443E: pop edi */ 8898 eax = esi; /* 0x2B09443F: mov eax, esi */ 8899 esi = POP32_VAL(esp); /* 0x2B094441: pop esi */ 8900 MEM32(FS_BASE + (0)) = ecx; /* 0x2B094442: mov dword ptr fs:[0], ecx */ 8901 ebx = POP32_VAL(esp); /* 0x2B094449: pop ebx */ 8902 esp = ebp; /* 0x2B09444A: mov esp, ebp */ 8903 ebp = POP32_VAL(esp); /* 0x2B09444C: pop ebp */ 8904 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B09444D: ret 0xc */ 8905 RECOMP_REGS_OUT(); 8906 } 8907 8908 void sub_2B09442B(void) { 8909 int _fpu_cmp = 0; 8910 uint32_t _cf = 0; 8911 int _df = 1; 8912 uint32_t _flag_k = FK_NONE; 8913 uint32_t _flag_a = 0, _flag_b = 0; 8914 uint32_t _itail_tgt = 0; 8915 RECOMP_REGS_LOCALS 8916 RECOMP_ENTER(0x2B09442Bu); 8917 8918 goto L_2B09442B; 8919 L_2B094213: 8920 ecx = MEM32(ebp + 0x8); /* 0x2B094213: mov ecx, dword ptr [ebp + 8] */ 8921 eax = ecx; /* 0x2B094216: mov eax, ecx */ 8922 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80000001u); 8923 eax = eax & 0x80000001u; /* 0x2B094218: and eax, 0x80000001 */ 8924 _cf = 0; 8925 _flag_k = FK_TEST; 8926 if (TEST_NS(_flag_a, _flag_b)) goto L_2B094224; /* 0x2B09421D: jns 0x2b094224 */ 8927 L_2B09421F: 8928 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 8929 eax = eax - 1; /* 0x2B09421F: dec eax */ 8930 _flag_k = FK_DEC; 8931 _flag_a = (uint32_t)((eax | 0xFFFFFFFEu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFEu)); 8932 eax = eax | 0xFFFFFFFEu; /* 0x2B094220: or eax, 0xfffffffe */ 8933 _cf = 0; 8934 _flag_k = FK_TEST; 8935 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 8936 eax = eax + 1; /* 0x2B094223: inc eax */ 8937 _flag_k = FK_INC; 8938 L_2B094224: 8939 eax = eax + eax * 2; /* 0x2B094224: lea eax, [eax + eax*2] */ 8940 edx = eax + eax * 8; /* 0x2B094227: lea edx, [eax + eax*8] */ 8941 eax = edx + edx + 0x5; /* 0x2B09422A: lea eax, [edx + edx + 5] */ 8942 MEM32(ebp + (-0x14)) = eax; /* 0x2B09422E: mov dword ptr [ebp - 0x14], eax */ 8943 eax = ecx; /* 0x2B094231: mov eax, ecx */ 8944 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B094233: cdq */ 8945 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 8946 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8947 eax = eax - edx; /* 0x2B094234: sub eax, edx */ 8948 _flag_k = FK_CMP; 8949 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B094236: sar eax, 1 */ 8950 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8951 eax = (uint32_t)((int32_t)eax >> 1u); 8952 eax = eax + eax * 2; /* 0x2B094238: lea eax, [eax + eax*2] */ 8953 ecx = eax + eax * 8; /* 0x2B09423B: lea ecx, [eax + eax*8] */ 8954 edx = ecx + ecx + 0x15; /* 0x2B09423E: lea edx, [ecx + ecx + 0x15] */ 8955 PUSH32(esp, 0x38u); /* 0x2B094242: push 0x38 */ 8956 MEM32(ebp + (-0x10)) = edx; /* 0x2B094244: mov dword ptr [ebp - 0x10], edx */ 8957 RECOMP_ICALL(0x2B0AB212u); /* 0x2B094247: call 0x2b0ab212 */ /* not lifted */ 8958 RECOMP_FLAGS_IN(); 8959 edi = eax; /* 0x2B09424C: mov edi, eax */ 8960 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8961 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8962 esp = esp + 4; /* 0x2B09424E: add esp, 4 */ 8963 _flag_k = FK_ADD; 8964 MEM32(ebp + 0x10) = edi; /* 0x2B094251: mov dword ptr [ebp + 0x10], edi */ 8965 /* test edi, edi */ /* 0x2B094254: test edi, edi */ 8966 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 8967 _cf = 0; 8968 _flag_k = FK_TEST; 8969 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B094256: mov byte ptr [ebp - 4], 0xa */ 8970 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094284; /* 0x2B09425A: je 0x2b094284 */ 8971 L_2B09425C: 8972 eax = MEM32(esi); /* 0x2B09425C: mov eax, dword ptr [esi] */ 8973 ecx = MEM32(esi + 0x40); /* 0x2B09425E: mov ecx, dword ptr [esi + 0x40] */ 8974 PUSH32(esp, eax); /* 0x2B094261: push eax */ 8975 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xAu); 8976 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8977 ecx = ecx + 0xAu; /* 0x2B094262: add ecx, 0xa */ 8978 _flag_k = FK_ADD; 8979 PUSH32(esp, ecx); /* 0x2B094265: push ecx */ 8980 PUSH32(esp, 0xA7u); /* 0x2B094266: push 0xa7 */ 8981 edx = ebp + (-0x14); /* 0x2B09426B: lea edx, [ebp - 0x14] */ 8982 PUSH32(esp, edx); /* 0x2B09426E: push edx */ 8983 ecx = edi; /* 0x2B09426F: mov ecx, edi */ 8984 RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B094271: call dword ptr [0x2b0b5948] */ 8985 RECOMP_FLAGS_IN(); 8986 ebx = edi; /* 0x2B094277: mov ebx, edi */ 8987 MEM32(edi) = 0x2B0B68F4u; /* 0x2B094279: mov dword ptr [edi], 0x2b0b68f4 */ 8988 MEM32(ebp + 0x10) = ebx; /* 0x2B09427F: mov dword ptr [ebp + 0x10], ebx */ 8989 goto L_2B09428E; /* 0x2B094282: jmp 0x2b09428e */ 8990 L_2B094284: 8991 MEM32(ebp + 0x10) = 0; /* 0x2B094284: mov dword ptr [ebp + 0x10], 0 */ 8992 ebx = MEM32(ebp + 0x10); /* 0x2B09428B: mov ebx, dword ptr [ebp + 0x10] */ 8993 L_2B09428E: 8994 eax = MEM32(esi + 0x2C); /* 0x2B09428E: mov eax, dword ptr [esi + 0x2c] */ 8995 ecx = MEM32(esi + 0x30); /* 0x2B094291: mov ecx, dword ptr [esi + 0x30] */ 8996 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 8997 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8998 ecx = ecx - eax; /* 0x2B094294: sub ecx, eax */ 8999 _flag_k = FK_CMP; 9000 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B094296: sar ecx, 2 */ 9001 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9002 ecx = (uint32_t)((int32_t)ecx >> 2u); 9003 /* cmp ecx, 1 */ /* 0x2B094299: cmp ecx, 1 */ 9004 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 9005 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9006 _flag_k = FK_CMP; 9007 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B09429C: mov byte ptr [ebp - 4], 0 */ 9008 edi = eax; /* 0x2B0942A0: mov edi, eax */ 9009 if (CMP_AE(_flag_a, _flag_b)) goto L_2B09437D; /* 0x2B0942A2: jae 0x2b09437d */ 9010 L_2B0942A8: 9011 edx = MEM32(esi + 0x28); /* 0x2B0942A8: mov edx, dword ptr [esi + 0x28] */ 9012 /* test edx, edx */ /* 0x2B0942AB: test edx, edx */ 9013 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 9014 _cf = 0; 9015 _flag_k = FK_TEST; 9016 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0942BB; /* 0x2B0942AD: je 0x2b0942bb */ 9017 L_2B0942AF: 9018 ecx = eax; /* 0x2B0942AF: mov ecx, eax */ 9019 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 9020 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9021 ecx = ecx - edx; /* 0x2B0942B1: sub ecx, edx */ 9022 _flag_k = FK_CMP; 9023 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0942B3: sar ecx, 2 */ 9024 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9025 ecx = (uint32_t)((int32_t)ecx >> 2u); 9026 /* cmp ecx, 1 */ /* 0x2B0942B6: cmp ecx, 1 */ 9027 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 9028 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9029 _flag_k = FK_CMP; 9030 if (CMP_A(_flag_a, _flag_b)) goto L_2B0942C0; /* 0x2B0942B9: ja 0x2b0942c0 */ 9031 L_2B0942BB: 9032 ecx = 1; /* 0x2B0942BB: mov ecx, 1 */ 9033 L_2B0942C0: 9034 /* test edx, edx */ /* 0x2B0942C0: test edx, edx */ 9035 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 9036 _cf = 0; 9037 _flag_k = FK_TEST; 9038 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0942C8; /* 0x2B0942C2: jne 0x2b0942c8 */ 9039 L_2B0942C4: 9040 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9041 eax = 0; /* 0x2B0942C4: xor eax, eax */ 9042 _cf = 0; 9043 _flag_k = FK_TEST; 9044 goto L_2B0942CD; /* 0x2B0942C6: jmp 0x2b0942cd */ 9045 L_2B0942C8: 9046 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 9047 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9048 eax = eax - edx; /* 0x2B0942C8: sub eax, edx */ 9049 _flag_k = FK_CMP; 9050 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B0942CA: sar eax, 2 */ 9051 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9052 eax = (uint32_t)((int32_t)eax >> 2u); 9053 L_2B0942CD: 9054 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9055 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9056 eax = eax + ecx; /* 0x2B0942CD: add eax, ecx */ 9057 _flag_k = FK_ADD; 9058 /* test eax, eax */ /* 0x2B0942CF: test eax, eax */ 9059 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9060 _cf = 0; 9061 _flag_k = FK_TEST; 9062 MEM32(ebp + (-0x28)) = eax; /* 0x2B0942D1: mov dword ptr [ebp - 0x28], eax */ 9063 if (TEST_NS(_flag_a, _flag_b)) goto L_2B0942D8; /* 0x2B0942D4: jge 0x2b0942d8 */ 9064 L_2B0942D6: 9065 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9066 eax = 0; /* 0x2B0942D6: xor eax, eax */ 9067 _cf = 0; 9068 _flag_k = FK_TEST; 9069 L_2B0942D8: 9070 edx = eax * 4; /* 0x2B0942D8: lea edx, [eax*4] */ 9071 PUSH32(esp, edx); /* 0x2B0942DF: push edx */ 9072 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0942E0: call 0x2b0ab212 */ /* not lifted */ 9073 RECOMP_FLAGS_IN(); 9074 ecx = MEM32(esi + 0x28); /* 0x2B0942E5: mov ecx, dword ptr [esi + 0x28] */ 9075 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9076 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9077 esp = esp + 4; /* 0x2B0942E8: add esp, 4 */ 9078 _flag_k = FK_ADD; 9079 /* cmp ecx, edi */ /* 0x2B0942EB: cmp ecx, edi */ 9080 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 9081 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9082 _flag_k = FK_CMP; 9083 ebx = eax; /* 0x2B0942ED: mov ebx, eax */ 9084 MEM32(ebp + 0xC) = ebx; /* 0x2B0942EF: mov dword ptr [ebp + 0xc], ebx */ 9085 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094306; /* 0x2B0942F2: je 0x2b094306 */ 9086 L_2B0942F4: 9087 /* test eax, eax */ /* 0x2B0942F4: test eax, eax */ 9088 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9089 _cf = 0; 9090 _flag_k = FK_TEST; 9091 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0942FC; /* 0x2B0942F6: je 0x2b0942fc */ 9092 L_2B0942F8: 9093 edx = MEM32(ecx); /* 0x2B0942F8: mov edx, dword ptr [ecx] */ 9094 MEM32(eax) = edx; /* 0x2B0942FA: mov dword ptr [eax], edx */ 9095 L_2B0942FC: 9096 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 9097 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9098 ecx = ecx + 4; /* 0x2B0942FC: add ecx, 4 */ 9099 _flag_k = FK_ADD; 9100 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 9101 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9102 eax = eax + 4; /* 0x2B0942FF: add eax, 4 */ 9103 _flag_k = FK_ADD; 9104 /* cmp ecx, edi */ /* 0x2B094302: cmp ecx, edi */ 9105 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 9106 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9107 _flag_k = FK_CMP; 9108 RECOMP_BACKEDGE(); 9109 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0942F4; /* 0x2B094304: jne 0x2b0942f4 */ 9110 L_2B094306: 9111 /* test eax, eax */ /* 0x2B094306: test eax, eax */ 9112 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9113 _cf = 0; 9114 _flag_k = FK_TEST; 9115 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09430F; /* 0x2B094308: je 0x2b09430f */ 9116 L_2B09430A: 9117 ecx = MEM32(ebp + 0x10); /* 0x2B09430A: mov ecx, dword ptr [ebp + 0x10] */ 9118 MEM32(eax) = ecx; /* 0x2B09430D: mov dword ptr [eax], ecx */ 9119 L_2B09430F: 9120 edx = MEM32(esi + 0x2C); /* 0x2B09430F: mov edx, dword ptr [esi + 0x2c] */ 9121 /* cmp edi, edx */ /* 0x2B094312: cmp edi, edx */ 9122 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 9123 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9124 _flag_k = FK_CMP; 9125 ecx = eax + 0x4; /* 0x2B094314: lea ecx, [eax + 4] */ 9126 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094336; /* 0x2B094317: je 0x2b094336 */ 9127 L_2B094319: 9128 ebx = ecx; /* 0x2B094319: mov ebx, ecx */ 9129 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 9130 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9131 ebx = ebx - eax; /* 0x2B09431B: sub ebx, eax */ 9132 _flag_k = FK_CMP; 9133 edi = ebx + edi + (-0x4); /* 0x2B09431D: lea edi, [ebx + edi - 4] */ 9134 L_2B094321: 9135 /* test ecx, ecx */ /* 0x2B094321: test ecx, ecx */ 9136 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9137 _cf = 0; 9138 _flag_k = FK_TEST; 9139 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094329; /* 0x2B094323: je 0x2b094329 */ 9140 L_2B094325: 9141 eax = MEM32(edi); /* 0x2B094325: mov eax, dword ptr [edi] */ 9142 MEM32(ecx) = eax; /* 0x2B094327: mov dword ptr [ecx], eax */ 9143 L_2B094329: 9144 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4); 9145 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9146 edi = edi + 4; /* 0x2B094329: add edi, 4 */ 9147 _flag_k = FK_ADD; 9148 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 9149 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9150 ecx = ecx + 4; /* 0x2B09432C: add ecx, 4 */ 9151 _flag_k = FK_ADD; 9152 /* cmp edi, edx */ /* 0x2B09432F: cmp edi, edx */ 9153 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 9154 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9155 _flag_k = FK_CMP; 9156 RECOMP_BACKEDGE(); 9157 if (CMP_NE(_flag_a, _flag_b)) goto L_2B094321; /* 0x2B094331: jne 0x2b094321 */ 9158 L_2B094333: 9159 ebx = MEM32(ebp + 0xC); /* 0x2B094333: mov ebx, dword ptr [ebp + 0xc] */ 9160 L_2B094336: 9161 eax = MEM32(esi + 0x28); /* 0x2B094336: mov eax, dword ptr [esi + 0x28] */ 9162 PUSH32(esp, eax); /* 0x2B094339: push eax */ 9163 MEM32(ebp + 0x10) = eax; /* 0x2B09433A: mov dword ptr [ebp + 0x10], eax */ 9164 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09433D: call 0x2b0ab1ba */ /* not lifted */ 9165 RECOMP_FLAGS_IN(); 9166 ecx = MEM32(ebp + (-0x28)); /* 0x2B094342: mov ecx, dword ptr [ebp - 0x28] */ 9167 edx = ebx + ecx * 4; /* 0x2B094345: lea edx, [ebx + ecx*4] */ 9168 ecx = MEM32(esi + 0x28); /* 0x2B094348: mov ecx, dword ptr [esi + 0x28] */ 9169 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9170 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9171 esp = esp + 4; /* 0x2B09434B: add esp, 4 */ 9172 _flag_k = FK_ADD; 9173 /* test ecx, ecx */ /* 0x2B09434E: test ecx, ecx */ 9174 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9175 _cf = 0; 9176 _flag_k = FK_TEST; 9177 MEM32(esi + 0x30) = edx; /* 0x2B094350: mov dword ptr [esi + 0x30], edx */ 9178 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094366; /* 0x2B094353: jne 0x2b094366 */ 9179 L_2B094355: 9180 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9181 eax = 0; /* 0x2B094355: xor eax, eax */ 9182 _cf = 0; 9183 _flag_k = FK_TEST; 9184 eax = ebx + eax * 4 + 0x4; /* 0x2B094357: lea eax, [ebx + eax*4 + 4] */ 9185 MEM32(esi + 0x2C) = eax; /* 0x2B09435B: mov dword ptr [esi + 0x2c], eax */ 9186 MEM32(esi + 0x28) = ebx; /* 0x2B09435E: mov dword ptr [esi + 0x28], ebx */ 9187 goto L_2B09442B; /* 0x2B094361: jmp 0x2b09442b */ 9188 L_2B094366: 9189 eax = MEM32(esi + 0x2C); /* 0x2B094366: mov eax, dword ptr [esi + 0x2c] */ 9190 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9191 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9192 eax = eax - ecx; /* 0x2B094369: sub eax, ecx */ 9193 _flag_k = FK_CMP; 9194 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B09436B: sar eax, 2 */ 9195 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9196 eax = (uint32_t)((int32_t)eax >> 2u); 9197 eax = ebx + eax * 4 + 0x4; /* 0x2B09436E: lea eax, [ebx + eax*4 + 4] */ 9198 MEM32(esi + 0x2C) = eax; /* 0x2B094372: mov dword ptr [esi + 0x2c], eax */ 9199 MEM32(esi + 0x28) = ebx; /* 0x2B094375: mov dword ptr [esi + 0x28], ebx */ 9200 goto L_2B09442B; /* 0x2B094378: jmp 0x2b09442b */ 9201 L_2B09437D: 9202 ecx = eax; /* 0x2B09437D: mov ecx, eax */ 9203 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 9204 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9205 ecx = ecx - edi; /* 0x2B09437F: sub ecx, edi */ 9206 _flag_k = FK_CMP; 9207 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B094381: sar ecx, 2 */ 9208 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9209 ecx = (uint32_t)((int32_t)ecx >> 2u); 9210 /* cmp ecx, 1 */ /* 0x2B094384: cmp ecx, 1 */ 9211 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 9212 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9213 _flag_k = FK_CMP; 9214 if (CMP_AE(_flag_a, _flag_b)) goto L_2B0943DB; /* 0x2B094387: jae 0x2b0943db */ 9215 L_2B094389: 9216 /* cmp edi, eax */ /* 0x2B094389: cmp edi, eax */ 9217 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 9218 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9219 _flag_k = FK_CMP; 9220 ecx = edi + 0x4; /* 0x2B09438B: lea ecx, [edi + 4] */ 9221 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0943A8; /* 0x2B09438E: je 0x2b0943a8 */ 9222 L_2B094390: 9223 edx = ecx + (-0x4); /* 0x2B094390: lea edx, [ecx - 4] */ 9224 L_2B094393: 9225 /* test ecx, ecx */ /* 0x2B094393: test ecx, ecx */ 9226 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9227 _cf = 0; 9228 _flag_k = FK_TEST; 9229 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09439E; /* 0x2B094395: je 0x2b09439e */ 9230 L_2B094397: 9231 ebx = MEM32(edx); /* 0x2B094397: mov ebx, dword ptr [edx] */ 9232 MEM32(ecx) = ebx; /* 0x2B094399: mov dword ptr [ecx], ebx */ 9233 ebx = MEM32(ebp + 0x10); /* 0x2B09439B: mov ebx, dword ptr [ebp + 0x10] */ 9234 L_2B09439E: 9235 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 9236 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9237 edx = edx + 4; /* 0x2B09439E: add edx, 4 */ 9238 _flag_k = FK_ADD; 9239 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 9240 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9241 ecx = ecx + 4; /* 0x2B0943A1: add ecx, 4 */ 9242 _flag_k = FK_ADD; 9243 /* cmp edx, eax */ /* 0x2B0943A4: cmp edx, eax */ 9244 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 9245 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9246 _flag_k = FK_CMP; 9247 RECOMP_BACKEDGE(); 9248 if (CMP_NE(_flag_a, _flag_b)) goto L_2B094393; /* 0x2B0943A6: jne 0x2b094393 */ 9249 L_2B0943A8: 9250 ecx = MEM32(esi + 0x2C); /* 0x2B0943A8: mov ecx, dword ptr [esi + 0x2c] */ 9251 edx = ecx; /* 0x2B0943AB: mov edx, ecx */ 9252 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 9253 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9254 edx = edx - edi; /* 0x2B0943AD: sub edx, edi */ 9255 _flag_k = FK_CMP; 9256 if (2u) _cf = (((edx) >> 1) & 1u); /* 0x2B0943AF: sar edx, 2 */ 9257 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9258 edx = (uint32_t)((int32_t)edx >> 2u); 9259 eax = 1; /* 0x2B0943B2: mov eax, 1 */ 9260 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 9261 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9262 eax = eax - edx; /* 0x2B0943B7: sub eax, edx */ 9263 _flag_k = FK_CMP; 9264 if (/* sub result */ CMP_EQ(_flag_a, _flag_b)) goto L_2B0943C7; /* 0x2B0943B9: je 0x2b0943c7 */ 9265 L_2B0943BB: 9266 /* test ecx, ecx */ /* 0x2B0943BB: test ecx, ecx */ 9267 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9268 _cf = 0; 9269 _flag_k = FK_TEST; 9270 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0943C1; /* 0x2B0943BD: je 0x2b0943c1 */ 9271 L_2B0943BF: 9272 MEM32(ecx) = ebx; /* 0x2B0943BF: mov dword ptr [ecx], ebx */ 9273 L_2B0943C1: 9274 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 9275 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9276 ecx = ecx + 4; /* 0x2B0943C1: add ecx, 4 */ 9277 _flag_k = FK_ADD; 9278 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 9279 eax = eax - 1; /* 0x2B0943C4: dec eax */ 9280 _flag_k = FK_DEC; 9281 RECOMP_BACKEDGE(); 9282 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B0943BB; /* 0x2B0943C5: jne 0x2b0943bb */ 9283 L_2B0943C7: 9284 ecx = MEM32(esi + 0x2C); /* 0x2B0943C7: mov ecx, dword ptr [esi + 0x2c] */ 9285 /* cmp edi, ecx */ /* 0x2B0943CA: cmp edi, ecx */ 9286 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 9287 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9288 _flag_k = FK_CMP; 9289 eax = edi; /* 0x2B0943CC: mov eax, edi */ 9290 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094427; /* 0x2B0943CE: je 0x2b094427 */ 9291 L_2B0943D0: 9292 MEM32(eax) = ebx; /* 0x2B0943D0: mov dword ptr [eax], ebx */ 9293 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 9294 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9295 eax = eax + 4; /* 0x2B0943D2: add eax, 4 */ 9296 _flag_k = FK_ADD; 9297 /* cmp eax, ecx */ /* 0x2B0943D5: cmp eax, ecx */ 9298 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9299 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9300 _flag_k = FK_CMP; 9301 RECOMP_BACKEDGE(); 9302 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0943D0; /* 0x2B0943D7: jne 0x2b0943d0 */ 9303 L_2B0943D9: 9304 goto L_2B094427; /* 0x2B0943D9: jmp 0x2b094427 */ 9305 L_2B0943DB: 9306 ecx = eax + (-0x4); /* 0x2B0943DB: lea ecx, [eax - 4] */ 9307 /* cmp ecx, eax */ /* 0x2B0943DE: cmp ecx, eax */ 9308 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 9309 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9310 _flag_k = FK_CMP; 9311 edx = eax; /* 0x2B0943E0: mov edx, eax */ 9312 MEM32(ebp + 0xC) = ecx; /* 0x2B0943E2: mov dword ptr [ebp + 0xc], ecx */ 9313 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0943FC; /* 0x2B0943E5: je 0x2b0943fc */ 9314 L_2B0943E7: 9315 /* test edx, edx */ /* 0x2B0943E7: test edx, edx */ 9316 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 9317 _cf = 0; 9318 _flag_k = FK_TEST; 9319 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0943F2; /* 0x2B0943E9: je 0x2b0943f2 */ 9320 L_2B0943EB: 9321 ebx = MEM32(ecx); /* 0x2B0943EB: mov ebx, dword ptr [ecx] */ 9322 MEM32(edx) = ebx; /* 0x2B0943ED: mov dword ptr [edx], ebx */ 9323 ebx = MEM32(ebp + 0x10); /* 0x2B0943EF: mov ebx, dword ptr [ebp + 0x10] */ 9324 L_2B0943F2: 9325 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 9326 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9327 ecx = ecx + 4; /* 0x2B0943F2: add ecx, 4 */ 9328 _flag_k = FK_ADD; 9329 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 9330 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9331 edx = edx + 4; /* 0x2B0943F5: add edx, 4 */ 9332 _flag_k = FK_ADD; 9333 /* cmp ecx, eax */ /* 0x2B0943F8: cmp ecx, eax */ 9334 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 9335 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9336 _flag_k = FK_CMP; 9337 RECOMP_BACKEDGE(); 9338 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0943E7; /* 0x2B0943FA: jne 0x2b0943e7 */ 9339 L_2B0943FC: 9340 ecx = MEM32(esi + 0x2C); /* 0x2B0943FC: mov ecx, dword ptr [esi + 0x2c] */ 9341 eax = ecx + (-0x4); /* 0x2B0943FF: lea eax, [ecx - 4] */ 9342 /* cmp edi, eax */ /* 0x2B094402: cmp edi, eax */ 9343 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 9344 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9345 _flag_k = FK_CMP; 9346 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094415; /* 0x2B094404: je 0x2b094415 */ 9347 L_2B094406: 9348 edx = MEM32(eax + (-0x4)); /* 0x2B094406: mov edx, dword ptr [eax - 4] */ 9349 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 9350 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9351 eax = eax - 4; /* 0x2B094409: sub eax, 4 */ 9352 _flag_k = FK_CMP; 9353 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 9354 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9355 ecx = ecx - 4; /* 0x2B09440C: sub ecx, 4 */ 9356 _flag_k = FK_CMP; 9357 /* cmp eax, edi */ /* 0x2B09440F: cmp eax, edi */ 9358 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 9359 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9360 _flag_k = FK_CMP; 9361 MEM32(ecx) = edx; /* 0x2B094411: mov dword ptr [ecx], edx */ 9362 RECOMP_BACKEDGE(); 9363 if (CMP_NE(_flag_a, _flag_b)) goto L_2B094406; /* 0x2B094413: jne 0x2b094406 */ 9364 L_2B094415: 9365 ecx = edi + 0x4; /* 0x2B094415: lea ecx, [edi + 4] */ 9366 /* cmp edi, ecx */ /* 0x2B094418: cmp edi, ecx */ 9367 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 9368 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9369 _flag_k = FK_CMP; 9370 eax = edi; /* 0x2B09441A: mov eax, edi */ 9371 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094427; /* 0x2B09441C: je 0x2b094427 */ 9372 L_2B09441E: 9373 MEM32(eax) = ebx; /* 0x2B09441E: mov dword ptr [eax], ebx */ 9374 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 9375 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9376 eax = eax + 4; /* 0x2B094420: add eax, 4 */ 9377 _flag_k = FK_ADD; 9378 /* cmp eax, ecx */ /* 0x2B094423: cmp eax, ecx */ 9379 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9380 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9381 _flag_k = FK_CMP; 9382 RECOMP_BACKEDGE(); 9383 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09441E; /* 0x2B094425: jne 0x2b09441e */ 9384 L_2B094427: 9385 _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(4); 9386 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9387 MEM32(esi + 0x2C) = MEM32(esi + 0x2C) + 4; /* 0x2B094427: add dword ptr [esi + 0x2c], 4 */ 9388 _flag_k = FK_ADD; 9389 L_2B09442B: 9390 eax = MEM32(ebp + 0x8); /* 0x2B09442B: mov eax, dword ptr [ebp + 8] */ 9391 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 9392 eax = eax + 1; /* 0x2B09442E: inc eax */ 9393 _flag_k = FK_INC; 9394 /* cmp eax, 6 */ /* 0x2B09442F: cmp eax, 6 */ 9395 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(6); 9396 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9397 _flag_k = FK_CMP; 9398 MEM32(ebp + 0x8) = eax; /* 0x2B094432: mov dword ptr [ebp + 8], eax */ 9399 RECOMP_BACKEDGE(); 9400 if (CMP_L(_flag_a, _flag_b)) goto L_2B094213; /* 0x2B094435: jl 0x2b094213 */ 9401 L_2B09443B: 9402 ecx = MEM32(ebp + (-0xC)); /* 0x2B09443B: mov ecx, dword ptr [ebp - 0xc] */ 9403 edi = POP32_VAL(esp); /* 0x2B09443E: pop edi */ 9404 eax = esi; /* 0x2B09443F: mov eax, esi */ 9405 esi = POP32_VAL(esp); /* 0x2B094441: pop esi */ 9406 MEM32(FS_BASE + (0)) = ecx; /* 0x2B094442: mov dword ptr fs:[0], ecx */ 9407 ebx = POP32_VAL(esp); /* 0x2B094449: pop ebx */ 9408 esp = ebp; /* 0x2B09444A: mov esp, ebp */ 9409 ebp = POP32_VAL(esp); /* 0x2B09444C: pop ebp */ 9410 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B09444D: ret 0xc */ 9411 RECOMP_REGS_OUT(); 9412 } 9413 9414 void sub_2B094450(void) { 9415 int _fpu_cmp = 0; 9416 uint32_t _cf = 0; 9417 int _df = 1; 9418 uint32_t _flag_k = FK_NONE; 9419 uint32_t _flag_a = 0, _flag_b = 0; 9420 uint32_t _itail_tgt = 0; 9421 RECOMP_REGS_LOCALS 9422 RECOMP_ENTER(0x2B094450u); 9423 9424 L_2B094450: 9425 PUSH32(esp, ebp); /* 0x2B094450: push ebp */ 9426 ebp = esp; /* 0x2B094451: mov ebp, esp */ 9427 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 9428 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9429 esp = esp - 8; /* 0x2B094453: sub esp, 8 */ 9430 _flag_k = FK_CMP; 9431 PUSH32(esp, ebx); /* 0x2B094456: push ebx */ 9432 PUSH32(esp, esi); /* 0x2B094457: push esi */ 9433 esi = MEM32(ebp + 0x8); /* 0x2B094458: mov esi, dword ptr [ebp + 8] */ 9434 eax = MEM32(esi + 0x4); /* 0x2B09445B: mov eax, dword ptr [esi + 4] */ 9435 PUSH32(esp, edi); /* 0x2B09445E: push edi */ 9436 ecx = ebp + (-0x8); /* 0x2B09445F: lea ecx, [ebp - 8] */ 9437 SET_LO8(ebx, 1); /* 0x2B094462: mov bl, 1 */ 9438 MEM8(eax + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B094464: mov byte ptr [eax + 9], bl */ 9439 PUSH32(esp, ecx); /* 0x2B094467: push ecx */ 9440 ecx = MEM32(esi + 0x8); /* 0x2B094468: mov ecx, dword ptr [esi + 8] */ 9441 MEM32(ebp + (-0x8)) = 7; /* 0x2B09446B: mov dword ptr [ebp - 8], 7 */ 9442 MEM32(ebp + (-0x4)) = 0x17u; /* 0x2B094472: mov dword ptr [ebp - 4], 0x17 */ 9443 RECOMP_ICALL(MEM32(0x2B0B58E0)); /* 0x2B094479: call dword ptr [0x2b0b58e0] */ 9444 RECOMP_FLAGS_IN(); 9445 ecx = MEM32(esi + 0x8); /* 0x2B09447F: mov ecx, dword ptr [esi + 8] */ 9446 PUSH32(esp, 0); /* 0x2B094482: push 0 */ 9447 RECOMP_ICALL(MEM32(0x2B0B58E4)); /* 0x2B094484: call dword ptr [0x2b0b58e4] */ 9448 RECOMP_FLAGS_IN(); 9449 ecx = MEM32(esi + 0x1C); /* 0x2B09448A: mov ecx, dword ptr [esi + 0x1c] */ 9450 edi = MEM32(0x2B0B5960); /* 0x2B09448D: mov edi, dword ptr [0x2b0b5960] */ 9451 RECOMP_ICALL(edi); /* 0x2B094493: call edi */ 9452 RECOMP_FLAGS_IN(); 9453 ecx = MEM32(esi + 0x20); /* 0x2B094495: mov ecx, dword ptr [esi + 0x20] */ 9454 RECOMP_ICALL(edi); /* 0x2B094498: call edi */ 9455 RECOMP_FLAGS_IN(); 9456 edx = MEM32(esi + 0x10); /* 0x2B09449A: mov edx, dword ptr [esi + 0x10] */ 9457 MEM8(edx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B09449D: mov byte ptr [edx + 9], bl */ 9458 eax = MEM32(esi + 0x14); /* 0x2B0944A0: mov eax, dword ptr [esi + 0x14] */ 9459 MEM8(eax + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B0944A3: mov byte ptr [eax + 9], bl */ 9460 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9461 eax = 0; /* 0x2B0944A6: xor eax, eax */ 9462 _cf = 0; 9463 _flag_k = FK_TEST; 9464 L_2B0944A8: 9465 ecx = MEM32(esi + 0x28); /* 0x2B0944A8: mov ecx, dword ptr [esi + 0x28] */ 9466 /* test ecx, ecx */ /* 0x2B0944AB: test ecx, ecx */ 9467 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9468 _cf = 0; 9469 _flag_k = FK_TEST; 9470 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0944C4; /* 0x2B0944AD: je 0x2b0944c4 */ 9471 L_2B0944AF: 9472 edx = MEM32(esi + 0x2C); /* 0x2B0944AF: mov edx, dword ptr [esi + 0x2c] */ 9473 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 9474 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9475 edx = edx - ecx; /* 0x2B0944B2: sub edx, ecx */ 9476 _flag_k = FK_CMP; 9477 if (2u) _cf = (((edx) >> 1) & 1u); /* 0x2B0944B4: sar edx, 2 */ 9478 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9479 edx = (uint32_t)((int32_t)edx >> 2u); 9480 /* cmp eax, edx */ /* 0x2B0944B7: cmp eax, edx */ 9481 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 9482 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9483 _flag_k = FK_CMP; 9484 if (CMP_AE(_flag_a, _flag_b)) goto L_2B0944C4; /* 0x2B0944B9: jae 0x2b0944c4 */ 9485 L_2B0944BB: 9486 edx = MEM32(ecx + eax * 4); /* 0x2B0944BB: mov edx, dword ptr [ecx + eax*4] */ 9487 MEM8(edx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B0944BE: mov byte ptr [edx + 9], bl */ 9488 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 9489 eax = eax + 1; /* 0x2B0944C1: inc eax */ 9490 _flag_k = FK_INC; 9491 RECOMP_BACKEDGE(); 9492 goto L_2B0944A8; /* 0x2B0944C2: jmp 0x2b0944a8 */ 9493 L_2B0944C4: 9494 edi = POP32_VAL(esp); /* 0x2B0944C4: pop edi */ 9495 esi = POP32_VAL(esp); /* 0x2B0944C5: pop esi */ 9496 ebx = POP32_VAL(esp); /* 0x2B0944C6: pop ebx */ 9497 esp = ebp; /* 0x2B0944C7: mov esp, ebp */ 9498 ebp = POP32_VAL(esp); /* 0x2B0944C9: pop ebp */ 9499 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0944CA: ret */ 9500 RECOMP_REGS_OUT(); 9501 } 9502 9503 void sub_2B0944D0(void) { 9504 int _fpu_cmp = 0; 9505 uint32_t _cf = 0; 9506 int _df = 1; 9507 uint32_t _flag_k = FK_NONE; 9508 uint32_t _flag_a = 0, _flag_b = 0; 9509 uint32_t _itail_tgt = 0; 9510 RECOMP_REGS_LOCALS 9511 RECOMP_ENTER(0x2B0944D0u); 9512 9513 L_2B0944D0: 9514 PUSH32(esp, 0x97u); /* 0x2B0944D0: push 0x97 */ 9515 PUSH32(esp, 3); /* 0x2B0944D5: push 3 */ 9516 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B0944D7: call dword ptr [0x2b0b53cc] */ 9517 RECOMP_FLAGS_IN(); 9518 ecx = eax; /* 0x2B0944DD: mov ecx, eax */ 9519 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B0944DF: call dword ptr [0x2b0b53c8] */ 9520 RECOMP_FLAGS_IN(); 9521 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0944E5: ret */ 9522 RECOMP_REGS_OUT(); 9523 } 9524 9525 void sub_2B0944F0(void) { 9526 int _fpu_cmp = 0; 9527 uint32_t _cf = 0; 9528 int _df = 1; 9529 uint32_t _flag_k = FK_NONE; 9530 uint32_t _flag_a = 0, _flag_b = 0; 9531 uint32_t _itail_tgt = 0; 9532 RECOMP_REGS_LOCALS 9533 RECOMP_ENTER(0x2B0944F0u); 9534 9535 L_2B0944F0: 9536 PUSH32(esp, ebp); /* 0x2B0944F0: push ebp */ 9537 ebp = esp; /* 0x2B0944F1: mov ebp, esp */ 9538 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 9539 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9540 esp = esp - 0x14u; /* 0x2B0944F3: sub esp, 0x14 */ 9541 _flag_k = FK_CMP; 9542 PUSH32(esp, ebx); /* 0x2B0944F6: push ebx */ 9543 PUSH32(esp, esi); /* 0x2B0944F7: push esi */ 9544 PUSH32(esp, edi); /* 0x2B0944F8: push edi */ 9545 PUSH32(esp, 2); /* 0x2B0944F9: push 2 */ 9546 PUSH32(esp, 0x3Du); /* 0x2B0944FB: push 0x3d */ 9547 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0944FD: call dword ptr [0x2b0b5d6c] */ 9548 RECOMP_FLAGS_IN(); 9549 ecx = eax; /* 0x2B094503: mov ecx, eax */ 9550 RECOMP_ICALL(MEM32(0x2B0B5D70)); /* 0x2B094505: call dword ptr [0x2b0b5d70] */ 9551 RECOMP_FLAGS_IN(); 9552 ebx = MEM32(ebp + 0x8); /* 0x2B09450B: mov ebx, dword ptr [ebp + 8] */ 9553 esi = eax; /* 0x2B09450E: mov esi, eax */ 9554 eax = MEM32(ebx + 0x18); /* 0x2B094510: mov eax, dword ptr [ebx + 0x18] */ 9555 eax = MEM32(eax + 0x50); /* 0x2B094513: mov eax, dword ptr [eax + 0x50] */ 9556 eax = MEM32(eax + 0x4); /* 0x2B094516: mov eax, dword ptr [eax + 4] */ 9557 /* test eax, eax */ /* 0x2B094519: test eax, eax */ 9558 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9559 _cf = 0; 9560 _flag_k = FK_TEST; 9561 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094522; /* 0x2B09451B: jne 0x2b094522 */ 9562 L_2B09451D: 9563 eax = MEM32(0x2B0B513C); /* 0x2B09451D: mov eax, dword ptr [0x2b0b513c] */ 9564 L_2B094522: 9565 PUSH32(esp, eax); /* 0x2B094522: push eax */ 9566 RECOMP_ICALL(MEM32(0x2B0B51FC)); /* 0x2B094523: call dword ptr [0x2b0b51fc] */ 9567 RECOMP_FLAGS_IN(); 9568 edi = eax; /* 0x2B094529: mov edi, eax */ 9569 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9570 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9571 esp = esp + 4; /* 0x2B09452B: add esp, 4 */ 9572 _flag_k = FK_ADD; 9573 /* cmp esi, edi */ /* 0x2B09452E: cmp esi, edi */ 9574 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 9575 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9576 _flag_k = FK_CMP; 9577 if (CMP_AE(_flag_a, _flag_b)) goto L_2B094554; /* 0x2B094530: jae 0x2b094554 */ 9578 L_2B094532: 9579 PUSH32(esp, esi); /* 0x2B094532: push esi */ 9580 ecx = ebp + (-0x14); /* 0x2B094533: lea ecx, [ebp - 0x14] */ 9581 PUSH32(esp, 0x2B0E7354u); /* 0x2B094536: push 0x2b0e7354 */ 9582 PUSH32(esp, ecx); /* 0x2B09453B: push ecx */ 9583 edi = esi; /* 0x2B09453C: mov edi, esi */ 9584 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B09453E: call dword ptr [0x2b0b51f0] */ 9585 RECOMP_FLAGS_IN(); 9586 ecx = MEM32(ebx + 0x18); /* 0x2B094544: mov ecx, dword ptr [ebx + 0x18] */ 9587 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 9588 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9589 esp = esp + 0xCu; /* 0x2B094547: add esp, 0xc */ 9590 _flag_k = FK_ADD; 9591 edx = ebp + (-0x14); /* 0x2B09454A: lea edx, [ebp - 0x14] */ 9592 PUSH32(esp, edx); /* 0x2B09454D: push edx */ 9593 RECOMP_ICALL(MEM32(0x2B0B5A24)); /* 0x2B09454E: call dword ptr [0x2b0b5a24] */ 9594 RECOMP_FLAGS_IN(); 9595 L_2B094554: 9596 ecx = MEM32(ebx + 0x3C); /* 0x2B094554: mov ecx, dword ptr [ebx + 0x3c] */ 9597 PUSH32(esp, edi); /* 0x2B094557: push edi */ 9598 RECOMP_ICALL(0x2B095BA0u); /* 0x2B094558: call 0x2b095ba0 */ /* not lifted */ 9599 RECOMP_FLAGS_IN(); 9600 edi = POP32_VAL(esp); /* 0x2B09455D: pop edi */ 9601 esi = POP32_VAL(esp); /* 0x2B09455E: pop esi */ 9602 ebx = POP32_VAL(esp); /* 0x2B09455F: pop ebx */ 9603 esp = ebp; /* 0x2B094560: mov esp, ebp */ 9604 ebp = POP32_VAL(esp); /* 0x2B094562: pop ebp */ 9605 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B094563: ret */ 9606 RECOMP_REGS_OUT(); 9607 } 9608 9609 void sub_2B094570(void) { 9610 int _fpu_cmp = 0; 9611 uint32_t _cf = 0; 9612 int _df = 1; 9613 uint32_t _flag_k = FK_NONE; 9614 uint32_t _flag_a = 0, _flag_b = 0; 9615 uint32_t _itail_tgt = 0; 9616 RECOMP_REGS_LOCALS 9617 RECOMP_ENTER(0x2B094570u); 9618 9619 L_2B094570: 9620 PUSH32(esp, ebp); /* 0x2B094570: push ebp */ 9621 ebp = esp; /* 0x2B094571: mov ebp, esp */ 9622 eax = MEM32(ebp + 0x8); /* 0x2B094573: mov eax, dword ptr [ebp + 8] */ 9623 ecx = MEM32(eax + 0x3C); /* 0x2B094576: mov ecx, dword ptr [eax + 0x3c] */ 9624 RECOMP_ICALL(0x2B095BF0u); /* 0x2B094579: call 0x2b095bf0 */ /* not lifted */ 9625 RECOMP_FLAGS_IN(); 9626 ebp = POP32_VAL(esp); /* 0x2B09457E: pop ebp */ 9627 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09457F: ret */ 9628 RECOMP_REGS_OUT(); 9629 } 9630 9631 void sub_2B094580(void) { 9632 int _fpu_cmp = 0; 9633 uint32_t _cf = 0; 9634 int _df = 1; 9635 uint32_t _flag_k = FK_NONE; 9636 uint32_t _flag_a = 0, _flag_b = 0; 9637 uint32_t _itail_tgt = 0; 9638 RECOMP_REGS_LOCALS 9639 RECOMP_ENTER(0x2B094580u); 9640 9641 L_2B094580: 9642 PUSH32(esp, esi); /* 0x2B094580: push esi */ 9643 PUSH32(esp, edi); /* 0x2B094581: push edi */ 9644 edi = ecx; /* 0x2B094582: mov edi, ecx */ 9645 esi = MEM32(edi + 0x38); /* 0x2B094584: mov esi, dword ptr [edi + 0x38] */ 9646 /* test esi, esi */ /* 0x2B094587: test esi, esi */ 9647 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 9648 _cf = 0; 9649 _flag_k = FK_TEST; 9650 MEM8(edi + 0xA5) = (uint8_t)(0); /* 0x2B094589: mov byte ptr [edi + 0xa5], 0 */ 9651 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0945A9; /* 0x2B094590: je 0x2b0945a9 */ 9652 L_2B094592: 9653 ecx = esi; /* 0x2B094592: mov ecx, esi */ 9654 RECOMP_ICALL(0x2B093A60u); /* 0x2B094594: call 0x2b093a60 */ /* not lifted */ 9655 RECOMP_FLAGS_IN(); 9656 PUSH32(esp, esi); /* 0x2B094599: push esi */ 9657 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09459A: call 0x2b0ab1ba */ /* not lifted */ 9658 RECOMP_FLAGS_IN(); 9659 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9660 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9661 esp = esp + 4; /* 0x2B09459F: add esp, 4 */ 9662 _flag_k = FK_ADD; 9663 MEM32(edi + 0x38) = 0; /* 0x2B0945A2: mov dword ptr [edi + 0x38], 0 */ 9664 L_2B0945A9: 9665 edi = POP32_VAL(esp); /* 0x2B0945A9: pop edi */ 9666 esi = POP32_VAL(esp); /* 0x2B0945AA: pop esi */ 9667 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0945AB: ret */ 9668 RECOMP_REGS_OUT(); 9669 } 9670 9671 void sub_2B0945B0(void) { 9672 int _fpu_cmp = 0; 9673 uint32_t _cf = 0; 9674 int _df = 1; 9675 uint32_t _flag_k = FK_NONE; 9676 uint32_t _flag_a = 0, _flag_b = 0; 9677 uint32_t _itail_tgt = 0; 9678 RECOMP_REGS_LOCALS 9679 RECOMP_ENTER(0x2B0945B0u); 9680 9681 L_2B0945B0: 9682 PUSH32(esp, ebp); /* 0x2B0945B0: push ebp */ 9683 L_2B0945B1: 9684 ebp = esp; /* 0x2B0945B1: mov ebp, esp */ 9685 L_2B0945B3: 9686 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0945B3: push -1 */ 9687 L_2B0945B5: 9688 PUSH32(esp, 0x2B0B2FD7u); /* 0x2B0945B5: push 0x2b0b2fd7 */ 9689 L_2B0945BA: 9690 eax = MEM32(FS_BASE + (0)); /* 0x2B0945BA: mov eax, dword ptr fs:[0] */ 9691 L_2B0945C0: 9692 PUSH32(esp, eax); /* 0x2B0945C0: push eax */ 9693 L_2B0945C1: 9694 MEM32(FS_BASE + (0)) = esp; /* 0x2B0945C1: mov dword ptr fs:[0], esp */ 9695 L_2B0945C8: 9696 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x30u); 9697 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9698 esp = esp - 0x30u; /* 0x2B0945C8: sub esp, 0x30 */ 9699 _flag_k = FK_CMP; 9700 L_2B0945CB: 9701 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B0945CB: mov al, byte ptr [ebp + 0xb] */ 9702 L_2B0945CE: 9703 PUSH32(esp, ebx); /* 0x2B0945CE: push ebx */ 9704 L_2B0945CF: 9705 PUSH32(esp, esi); /* 0x2B0945CF: push esi */ 9706 L_2B0945D0: 9707 PUSH32(esp, edi); /* 0x2B0945D0: push edi */ 9708 L_2B0945D1: 9709 esi = ecx; /* 0x2B0945D1: mov esi, ecx */ 9710 L_2B0945D3: 9711 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9712 edi = 0; /* 0x2B0945D3: xor edi, edi */ 9713 _cf = 0; 9714 _flag_k = FK_TEST; 9715 L_2B0945D5: 9716 PUSH32(esp, edi); /* 0x2B0945D5: push edi */ 9717 L_2B0945D6: 9718 ecx = ebp + (-0x3C); /* 0x2B0945D6: lea ecx, [ebp - 0x3c] */ 9719 L_2B0945D9: 9720 MEM32(ebp + (-0x10)) = esi; /* 0x2B0945D9: mov dword ptr [ebp - 0x10], esi */ 9721 L_2B0945DC: 9722 MEM8(ebp + (-0x3C)) = (uint8_t)(LO8(eax)); /* 0x2B0945DC: mov byte ptr [ebp - 0x3c], al */ 9723 L_2B0945DF: 9724 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0945DF: call dword ptr [0x2b0b514c] */ 9725 RECOMP_FLAGS_IN(); 9726 L_2B0945E5: 9727 MEM32(ebp + (-0x2C)) = edi; /* 0x2B0945E5: mov dword ptr [ebp - 0x2c], edi */ 9728 L_2B0945E8: 9729 ecx = MEM32(ebp + 0xC); /* 0x2B0945E8: mov ecx, dword ptr [ebp + 0xc] */ 9730 L_2B0945EB: 9731 ebx = MEM32(0x2B0B602C); /* 0x2B0945EB: mov ebx, dword ptr [0x2b0b602c] */ 9732 L_2B0945F1: 9733 eax = ecx + (-0x1); /* 0x2B0945F1: lea eax, [ecx - 1] */ 9734 L_2B0945F4: 9735 /* cmp eax, 4 */ /* 0x2B0945F4: cmp eax, 4 */ 9736 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 9737 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9738 _flag_k = FK_CMP; 9739 L_2B0945F7: 9740 MEM32(ebp + (-0x4)) = edi; /* 0x2B0945F7: mov dword ptr [ebp - 4], edi */ 9741 L_2B0945FA: 9742 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_2B0947E7; /* 0x2B0945FA: ja 0x2b0947e7 */ 9743 L_2B094600: 9744 { _itail_tgt = (uint32_t)(MEM32(eax * 4 + 0x2B094A1C)); goto _ljump; } 9745 L_2B094607: 9746 /* cmp MEM32(esi + 0x80), 1 */ /* 0x2B094607: cmp dword ptr [esi + 0x80], 1 */ 9747 _flag_a = (uint32_t)(MEM32(esi + 0x80)); _flag_b = (uint32_t)(1); 9748 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9749 _flag_k = FK_CMP; 9750 L_2B09460E: 9751 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0947E7; /* 0x2B09460E: je 0x2b0947e7 */ 9752 L_2B094614: 9753 /* cmp MEM32(esi + 0x60), edi */ /* 0x2B094614: cmp dword ptr [esi + 0x60], edi */ 9754 _flag_a = (uint32_t)(MEM32(esi + 0x60)); _flag_b = (uint32_t)(edi); 9755 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9756 _flag_k = FK_CMP; 9757 L_2B094617: 9758 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B094637; /* 0x2B094617: je 0x2b094637 */ 9759 L_2B094619: 9760 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 9761 ecx = ecx | 0xFFFFFFFFu; /* 0x2B094619: or ecx, 0xffffffff */ 9762 _cf = 0; 9763 _flag_k = FK_TEST; 9764 L_2B09461C: 9765 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9766 eax = 0; /* 0x2B09461C: xor eax, eax */ 9767 _cf = 0; 9768 _flag_k = FK_TEST; 9769 L_2B09461E: 9770 edi = 0x2B0E2BF8u; /* 0x2B09461E: mov edi, 0x2b0e2bf8 */ 9771 L_2B094623: 9772 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B094623: repne scasb al, byte ptr es:[edi] */ 9773 L_2B094625: 9774 ecx = ~ecx; /* 0x2B094625: not ecx */ 9775 L_2B094627: 9776 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 9777 ecx = ecx - 1; /* 0x2B094627: dec ecx */ 9778 _flag_k = FK_DEC; 9779 L_2B094628: 9780 PUSH32(esp, ecx); /* 0x2B094628: push ecx */ 9781 L_2B094629: 9782 PUSH32(esp, 0x2B0E2BF8u); /* 0x2B094629: push 0x2b0e2bf8 */ 9783 L_2B09462E: 9784 ecx = ebp + (-0x3C); /* 0x2B09462E: lea ecx, [ebp - 0x3c] */ 9785 L_2B094631: 9786 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B094631: call dword ptr [0x2b0b5188] */ 9787 RECOMP_FLAGS_IN(); 9788 L_2B094637: 9789 PUSH32(esp, 0xDu); /* 0x2B094637: push 0xd */ 9790 L_2B094639: 9791 PUSH32(esp, 0); /* 0x2B094639: push 0 */ 9792 L_2B09463B: 9793 ecx = ebp + (-0x3C); /* 0x2B09463B: lea ecx, [ebp - 0x3c] */ 9794 L_2B09463E: 9795 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B09463E: call dword ptr [0x2b0b5a74] */ 9796 RECOMP_FLAGS_IN(); 9797 L_2B094644: 9798 PUSH32(esp, 0x2B0E1C00u); /* 0x2B094644: push 0x2b0e1c00 */ 9799 L_2B094649: 9800 edx = esi + 0x44; /* 0x2B094649: lea edx, [esi + 0x44] */ 9801 L_2B09464C: 9802 PUSH32(esp, edx); /* 0x2B09464C: push edx */ 9803 L_2B09464D: 9804 eax = ebp + (-0x28); /* 0x2B09464D: lea eax, [ebp - 0x28] */ 9805 L_2B094650: 9806 PUSH32(esp, eax); /* 0x2B094650: push eax */ 9807 L_2B094651: 9808 RECOMP_ICALL(0x2B0AB1CCu); /* 0x2B094651: call 0x2b0ab1cc */ /* not lifted */ 9809 RECOMP_FLAGS_IN(); 9810 L_2B094656: 9811 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 9812 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9813 esp = esp + 0xCu; /* 0x2B094656: add esp, 0xc */ 9814 _flag_k = FK_ADD; 9815 L_2B094659: 9816 ecx = MEM32(0x2B0B515C); /* 0x2B094659: mov ecx, dword ptr [0x2b0b515c] */ 9817 L_2B09465F: 9818 edx = MEM32(ecx); /* 0x2B09465F: mov edx, dword ptr [ecx] */ 9819 L_2B094661: 9820 PUSH32(esp, edx); /* 0x2B094661: push edx */ 9821 L_2B094662: 9822 PUSH32(esp, 0); /* 0x2B094662: push 0 */ 9823 L_2B094664: 9824 PUSH32(esp, eax); /* 0x2B094664: push eax */ 9825 L_2B094665: 9826 ecx = ebp + (-0x3C); /* 0x2B094665: lea ecx, [ebp - 0x3c] */ 9827 L_2B094668: 9828 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B094668: mov byte ptr [ebp - 4], 1 */ 9829 L_2B09466C: 9830 RECOMP_ICALL(MEM32(0x2B0B51A0)); /* 0x2B09466C: call dword ptr [0x2b0b51a0] */ 9831 RECOMP_FLAGS_IN(); 9832 L_2B094672: 9833 PUSH32(esp, 1); /* 0x2B094672: push 1 */ 9834 L_2B094674: 9835 ecx = ebp + (-0x28); /* 0x2B094674: lea ecx, [ebp - 0x28] */ 9836 L_2B094677: 9837 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B094677: mov byte ptr [ebp - 4], 0 */ 9838 L_2B09467B: 9839 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09467B: call dword ptr [0x2b0b514c] */ 9840 RECOMP_FLAGS_IN(); 9841 L_2B094681: 9842 goto L_2B0947E7; /* 0x2B094681: jmp 0x2b0947e7 */ 9843 L_2B094686: 9844 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 9845 ecx = ecx | 0xFFFFFFFFu; /* 0x2B094686: or ecx, 0xffffffff */ 9846 _cf = 0; 9847 _flag_k = FK_TEST; 9848 L_2B094689: 9849 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9850 eax = 0; /* 0x2B094689: xor eax, eax */ 9851 _cf = 0; 9852 _flag_k = FK_TEST; 9853 L_2B09468B: 9854 edi = 0x2B0E2BF8u; /* 0x2B09468B: mov edi, 0x2b0e2bf8 */ 9855 L_2B094690: 9856 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B094690: repne scasb al, byte ptr es:[edi] */ 9857 L_2B094692: 9858 ecx = ~ecx; /* 0x2B094692: not ecx */ 9859 L_2B094694: 9860 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 9861 ecx = ecx - 1; /* 0x2B094694: dec ecx */ 9862 _flag_k = FK_DEC; 9863 L_2B094695: 9864 PUSH32(esp, ecx); /* 0x2B094695: push ecx */ 9865 L_2B094696: 9866 PUSH32(esp, 0x2B0E2BF8u); /* 0x2B094696: push 0x2b0e2bf8 */ 9867 L_2B09469B: 9868 ecx = ebp + (-0x3C); /* 0x2B09469B: lea ecx, [ebp - 0x3c] */ 9869 L_2B09469E: 9870 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B09469E: call dword ptr [0x2b0b5188] */ 9871 RECOMP_FLAGS_IN(); 9872 L_2B0946A4: 9873 eax = MEM32(0x2B0B6048); /* 0x2B0946A4: mov eax, dword ptr [0x2b0b6048] */ 9874 L_2B0946A9: 9875 ecx = MEM32(eax); /* 0x2B0946A9: mov ecx, dword ptr [eax] */ 9876 L_2B0946AB: 9877 PUSH32(esp, 1); /* 0x2B0946AB: push 1 */ 9878 L_2B0946AD: 9879 PUSH32(esp, 0x2B0E8DC0u); /* 0x2B0946AD: push 0x2b0e8dc0 */ 9880 L_2B0946B2: 9881 RECOMP_ICALL(ebx); /* 0x2B0946B2: call ebx */ 9882 RECOMP_FLAGS_IN(); 9883 L_2B0946B4: 9884 /* test eax, eax */ /* 0x2B0946B4: test eax, eax */ 9885 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9886 _cf = 0; 9887 _flag_k = FK_TEST; 9888 L_2B0946B6: 9889 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0947E7; /* 0x2B0946B6: je 0x2b0947e7 */ 9890 L_2B0946BC: 9891 PUSH32(esp, 0xAu); /* 0x2B0946BC: push 0xa */ 9892 L_2B0946BE: 9893 PUSH32(esp, 0); /* 0x2B0946BE: push 0 */ 9894 L_2B0946C0: 9895 ecx = ebp + (-0x3C); /* 0x2B0946C0: lea ecx, [ebp - 0x3c] */ 9896 L_2B0946C3: 9897 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B0946C3: call dword ptr [0x2b0b5a74] */ 9898 RECOMP_FLAGS_IN(); 9899 L_2B0946C9: 9900 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B0946C9: call dword ptr [0x2b0b5b64] */ 9901 RECOMP_FLAGS_IN(); 9902 L_2B0946CF: 9903 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 9904 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9905 eax = eax + 0xD4u; /* 0x2B0946CF: add eax, 0xd4 */ 9906 _flag_k = FK_ADD; 9907 L_2B0946D4: 9908 ecx = ebp + (-0x18); /* 0x2B0946D4: lea ecx, [ebp - 0x18] */ 9909 L_2B0946D7: 9910 /* cmp ecx, eax */ /* 0x2B0946D7: cmp ecx, eax */ 9911 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 9912 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9913 _flag_k = FK_CMP; 9914 L_2B0946D9: 9915 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0946E6; /* 0x2B0946D9: je 0x2b0946e6 */ 9916 L_2B0946DB: 9917 edx = MEM32(eax); /* 0x2B0946DB: mov edx, dword ptr [eax] */ 9918 L_2B0946DD: 9919 MEM32(ebp + (-0x18)) = edx; /* 0x2B0946DD: mov dword ptr [ebp - 0x18], edx */ 9920 L_2B0946E0: 9921 eax = MEM32(eax + 0x4); /* 0x2B0946E0: mov eax, dword ptr [eax + 4] */ 9922 L_2B0946E3: 9923 MEM32(ebp + (-0x14)) = eax; /* 0x2B0946E3: mov dword ptr [ebp - 0x14], eax */ 9924 L_2B0946E6: 9925 ecx = ebp + (-0x18); /* 0x2B0946E6: lea ecx, [ebp - 0x18] */ 9926 L_2B0946E9: 9927 PUSH32(esp, ecx); /* 0x2B0946E9: push ecx */ 9928 L_2B0946EA: 9929 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0946EA: call dword ptr [0x2b0b5d6c] */ 9930 RECOMP_FLAGS_IN(); 9931 L_2B0946F0: 9932 ecx = eax; /* 0x2B0946F0: mov ecx, eax */ 9933 L_2B0946F2: 9934 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B0946F2: call dword ptr [0x2b0b5d50] */ 9935 RECOMP_FLAGS_IN(); 9936 L_2B0946F8: 9937 edx = eax; /* 0x2B0946F8: mov edx, eax */ 9938 L_2B0946FA: 9939 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 9940 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0946FA: or ecx, 0xffffffff */ 9941 _cf = 0; 9942 _flag_k = FK_TEST; 9943 L_2B0946FD: 9944 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9945 eax = 0; /* 0x2B0946FD: xor eax, eax */ 9946 _cf = 0; 9947 _flag_k = FK_TEST; 9948 L_2B0946FF: 9949 edi = edx; /* 0x2B0946FF: mov edi, edx */ 9950 L_2B094701: 9951 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B094701: repne scasb al, byte ptr es:[edi] */ 9952 L_2B094703: 9953 ecx = ~ecx; /* 0x2B094703: not ecx */ 9954 L_2B094705: 9955 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 9956 ecx = ecx - 1; /* 0x2B094705: dec ecx */ 9957 _flag_k = FK_DEC; 9958 L_2B094706: 9959 PUSH32(esp, ecx); /* 0x2B094706: push ecx */ 9960 L_2B094707: 9961 PUSH32(esp, edx); /* 0x2B094707: push edx */ 9962 L_2B094708: 9963 ecx = ebp + (-0x3C); /* 0x2B094708: lea ecx, [ebp - 0x3c] */ 9964 L_2B09470B: 9965 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B09470B: call dword ptr [0x2b0b5188] */ 9966 RECOMP_FLAGS_IN(); 9967 L_2B094711: 9968 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 9969 ecx = ecx | 0xFFFFFFFFu; /* 0x2B094711: or ecx, 0xffffffff */ 9970 _cf = 0; 9971 _flag_k = FK_TEST; 9972 L_2B094714: 9973 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9974 eax = 0; /* 0x2B094714: xor eax, eax */ 9975 _cf = 0; 9976 _flag_k = FK_TEST; 9977 L_2B094716: 9978 edi = 0x2B0E1C00u; /* 0x2B094716: mov edi, 0x2b0e1c00 */ 9979 L_2B09471B: 9980 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B09471B: repne scasb al, byte ptr es:[edi] */ 9981 L_2B09471D: 9982 ecx = ~ecx; /* 0x2B09471D: not ecx */ 9983 L_2B09471F: 9984 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 9985 ecx = ecx - 1; /* 0x2B09471F: dec ecx */ 9986 _flag_k = FK_DEC; 9987 L_2B094720: 9988 PUSH32(esp, ecx); /* 0x2B094720: push ecx */ 9989 L_2B094721: 9990 PUSH32(esp, 0x2B0E1C00u); /* 0x2B094721: push 0x2b0e1c00 */ 9991 L_2B094726: 9992 ecx = ebp + (-0x3C); /* 0x2B094726: lea ecx, [ebp - 0x3c] */ 9993 L_2B094729: 9994 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B094729: call dword ptr [0x2b0b5188] */ 9995 RECOMP_FLAGS_IN(); 9996 L_2B09472F: 9997 goto L_2B0947E7; /* 0x2B09472F: jmp 0x2b0947e7 */ 9998 L_2B094734: 9999 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 10000 ecx = ecx | 0xFFFFFFFFu; /* 0x2B094734: or ecx, 0xffffffff */ 10001 _cf = 0; 10002 _flag_k = FK_TEST; 10003 L_2B094737: 10004 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10005 eax = 0; /* 0x2B094737: xor eax, eax */ 10006 _cf = 0; 10007 _flag_k = FK_TEST; 10008 L_2B094739: 10009 edi = 0x2B0E2BF8u; /* 0x2B094739: mov edi, 0x2b0e2bf8 */ 10010 L_2B09473E: 10011 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B09473E: repne scasb al, byte ptr es:[edi] */ 10012 L_2B094740: 10013 ecx = ~ecx; /* 0x2B094740: not ecx */ 10014 L_2B094742: 10015 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10016 ecx = ecx - 1; /* 0x2B094742: dec ecx */ 10017 _flag_k = FK_DEC; 10018 L_2B094743: 10019 PUSH32(esp, ecx); /* 0x2B094743: push ecx */ 10020 L_2B094744: 10021 PUSH32(esp, 0x2B0E2BF8u); /* 0x2B094744: push 0x2b0e2bf8 */ 10022 L_2B094749: 10023 ecx = ebp + (-0x3C); /* 0x2B094749: lea ecx, [ebp - 0x3c] */ 10024 L_2B09474C: 10025 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B09474C: call dword ptr [0x2b0b5188] */ 10026 RECOMP_FLAGS_IN(); 10027 L_2B094752: 10028 PUSH32(esp, 0xCu); /* 0x2B094752: push 0xc */ 10029 L_2B094754: 10030 goto L_2B0947DC; /* 0x2B094754: jmp 0x2b0947dc */ 10031 L_2B094759: 10032 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 10033 ecx = ecx | 0xFFFFFFFFu; /* 0x2B094759: or ecx, 0xffffffff */ 10034 _cf = 0; 10035 _flag_k = FK_TEST; 10036 L_2B09475C: 10037 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10038 eax = 0; /* 0x2B09475C: xor eax, eax */ 10039 _cf = 0; 10040 _flag_k = FK_TEST; 10041 L_2B09475E: 10042 edi = 0x2B0E2BF8u; /* 0x2B09475E: mov edi, 0x2b0e2bf8 */ 10043 L_2B094763: 10044 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B094763: repne scasb al, byte ptr es:[edi] */ 10045 L_2B094765: 10046 ecx = ~ecx; /* 0x2B094765: not ecx */ 10047 L_2B094767: 10048 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10049 ecx = ecx - 1; /* 0x2B094767: dec ecx */ 10050 _flag_k = FK_DEC; 10051 L_2B094768: 10052 PUSH32(esp, ecx); /* 0x2B094768: push ecx */ 10053 L_2B094769: 10054 PUSH32(esp, 0x2B0E2BF8u); /* 0x2B094769: push 0x2b0e2bf8 */ 10055 L_2B09476E: 10056 ecx = ebp + (-0x3C); /* 0x2B09476E: lea ecx, [ebp - 0x3c] */ 10057 L_2B094771: 10058 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B094771: call dword ptr [0x2b0b5188] */ 10059 RECOMP_FLAGS_IN(); 10060 L_2B094777: 10061 PUSH32(esp, 9); /* 0x2B094777: push 9 */ 10062 L_2B094779: 10063 PUSH32(esp, 0); /* 0x2B094779: push 0 */ 10064 L_2B09477B: 10065 ecx = ebp + (-0x3C); /* 0x2B09477B: lea ecx, [ebp - 0x3c] */ 10066 L_2B09477E: 10067 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B09477E: call dword ptr [0x2b0b5a74] */ 10068 RECOMP_FLAGS_IN(); 10069 L_2B094784: 10070 edx = MEM32(0x2B0B515C); /* 0x2B094784: mov edx, dword ptr [0x2b0b515c] */ 10071 L_2B09478A: 10072 eax = MEM32(edx); /* 0x2B09478A: mov eax, dword ptr [edx] */ 10073 L_2B09478C: 10074 PUSH32(esp, eax); /* 0x2B09478C: push eax */ 10075 L_2B09478D: 10076 PUSH32(esp, 0); /* 0x2B09478D: push 0 */ 10077 L_2B09478F: 10078 ecx = esi + 0x44; /* 0x2B09478F: lea ecx, [esi + 0x44] */ 10079 L_2B094792: 10080 PUSH32(esp, ecx); /* 0x2B094792: push ecx */ 10081 L_2B094793: 10082 ecx = ebp + (-0x3C); /* 0x2B094793: lea ecx, [ebp - 0x3c] */ 10083 L_2B094796: 10084 RECOMP_ICALL(MEM32(0x2B0B51A0)); /* 0x2B094796: call dword ptr [0x2b0b51a0] */ 10085 RECOMP_FLAGS_IN(); 10086 L_2B09479C: 10087 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 10088 ecx = ecx | 0xFFFFFFFFu; /* 0x2B09479C: or ecx, 0xffffffff */ 10089 _cf = 0; 10090 _flag_k = FK_TEST; 10091 L_2B09479F: 10092 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10093 eax = 0; /* 0x2B09479F: xor eax, eax */ 10094 _cf = 0; 10095 _flag_k = FK_TEST; 10096 L_2B0947A1: 10097 edi = 0x2B0E19F8u; /* 0x2B0947A1: mov edi, 0x2b0e19f8 */ 10098 L_2B0947A6: 10099 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B0947A6: repne scasb al, byte ptr es:[edi] */ 10100 L_2B0947A8: 10101 ecx = ~ecx; /* 0x2B0947A8: not ecx */ 10102 L_2B0947AA: 10103 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10104 ecx = ecx - 1; /* 0x2B0947AA: dec ecx */ 10105 _flag_k = FK_DEC; 10106 L_2B0947AB: 10107 PUSH32(esp, ecx); /* 0x2B0947AB: push ecx */ 10108 L_2B0947AC: 10109 PUSH32(esp, 0x2B0E19F8u); /* 0x2B0947AC: push 0x2b0e19f8 */ 10110 L_2B0947B1: 10111 ecx = ebp + (-0x3C); /* 0x2B0947B1: lea ecx, [ebp - 0x3c] */ 10112 L_2B0947B4: 10113 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B0947B4: call dword ptr [0x2b0b5188] */ 10114 RECOMP_FLAGS_IN(); 10115 L_2B0947BA: 10116 goto L_2B0947E7; /* 0x2B0947BA: jmp 0x2b0947e7 */ 10117 L_2B0947BC: 10118 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 10119 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0947BC: or ecx, 0xffffffff */ 10120 _cf = 0; 10121 _flag_k = FK_TEST; 10122 L_2B0947BF: 10123 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10124 eax = 0; /* 0x2B0947BF: xor eax, eax */ 10125 _cf = 0; 10126 _flag_k = FK_TEST; 10127 L_2B0947C1: 10128 edi = 0x2B0E2BF8u; /* 0x2B0947C1: mov edi, 0x2b0e2bf8 */ 10129 L_2B0947C6: 10130 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B0947C6: repne scasb al, byte ptr es:[edi] */ 10131 L_2B0947C8: 10132 ecx = ~ecx; /* 0x2B0947C8: not ecx */ 10133 L_2B0947CA: 10134 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10135 ecx = ecx - 1; /* 0x2B0947CA: dec ecx */ 10136 _flag_k = FK_DEC; 10137 L_2B0947CB: 10138 PUSH32(esp, ecx); /* 0x2B0947CB: push ecx */ 10139 L_2B0947CC: 10140 PUSH32(esp, 0x2B0E2BF8u); /* 0x2B0947CC: push 0x2b0e2bf8 */ 10141 L_2B0947D1: 10142 ecx = ebp + (-0x3C); /* 0x2B0947D1: lea ecx, [ebp - 0x3c] */ 10143 L_2B0947D4: 10144 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B0947D4: call dword ptr [0x2b0b5188] */ 10145 RECOMP_FLAGS_IN(); 10146 L_2B0947DA: 10147 PUSH32(esp, 0x10u); /* 0x2B0947DA: push 0x10 */ 10148 L_2B0947DC: 10149 PUSH32(esp, 0); /* 0x2B0947DC: push 0 */ 10150 L_2B0947DE: 10151 ecx = ebp + (-0x3C); /* 0x2B0947DE: lea ecx, [ebp - 0x3c] */ 10152 L_2B0947E1: 10153 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B0947E1: call dword ptr [0x2b0b5a74] */ 10154 RECOMP_FLAGS_IN(); 10155 L_2B0947E7: 10156 /* cmp MEM32(ebp + 0xC), 2 */ /* 0x2B0947E7: cmp dword ptr [ebp + 0xc], 2 */ 10157 _flag_a = (uint32_t)(MEM32(ebp + 0xC)); _flag_b = (uint32_t)(2); 10158 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10159 _flag_k = FK_CMP; 10160 L_2B0947EB: 10161 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B094806; /* 0x2B0947EB: jne 0x2b094806 */ 10162 L_2B0947ED: 10163 edx = MEM32(0x2B0B6048); /* 0x2B0947ED: mov edx, dword ptr [0x2b0b6048] */ 10164 L_2B0947F3: 10165 ecx = MEM32(edx); /* 0x2B0947F3: mov ecx, dword ptr [edx] */ 10166 L_2B0947F5: 10167 PUSH32(esp, 1); /* 0x2B0947F5: push 1 */ 10168 L_2B0947F7: 10169 PUSH32(esp, 0x2B0E8DC0u); /* 0x2B0947F7: push 0x2b0e8dc0 */ 10170 L_2B0947FC: 10171 RECOMP_ICALL(ebx); /* 0x2B0947FC: call ebx */ 10172 RECOMP_FLAGS_IN(); 10173 L_2B0947FE: 10174 /* test eax, eax */ /* 0x2B0947FE: test eax, eax */ 10175 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10176 _cf = 0; 10177 _flag_k = FK_TEST; 10178 L_2B094800: 10179 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0948F0; /* 0x2B094800: je 0x2b0948f0 */ 10180 L_2B094806: 10181 edi = MEM32(ebp + 0x8); /* 0x2B094806: mov edi, dword ptr [ebp + 8] */ 10182 L_2B094809: 10183 eax = MEM32(edi + 0x8); /* 0x2B094809: mov eax, dword ptr [edi + 8] */ 10184 L_2B09480C: 10185 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10186 esi = 0; /* 0x2B09480C: xor esi, esi */ 10187 _cf = 0; 10188 _flag_k = FK_TEST; 10189 L_2B09480E: 10190 /* test eax, eax */ /* 0x2B09480E: test eax, eax */ 10191 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10192 _cf = 0; 10193 _flag_k = FK_TEST; 10194 L_2B094810: 10195 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_BE, _cf)) goto L_2B0948ED; /* 0x2B094810: jbe 0x2b0948ed */ 10196 L_2B094816: 10197 goto L_2B09481B; /* 0x2B094816: jmp 0x2b09481b */ 10198 L_2B094818: 10199 edi = MEM32(ebp + 0x8); /* 0x2B094818: mov edi, dword ptr [ebp + 8] */ 10200 L_2B09481B: 10201 edx = MEM32(0x2B0B513C); /* 0x2B09481B: mov edx, dword ptr [0x2b0b513c] */ 10202 L_2B094821: 10203 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 10204 eax = eax - 1; /* 0x2B094821: dec eax */ 10205 _flag_k = FK_DEC; 10206 L_2B094822: 10207 /* cmp esi, eax */ /* 0x2B094822: cmp esi, eax */ 10208 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 10209 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10210 _flag_k = FK_CMP; 10211 L_2B094824: 10212 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_AE, _cf)) goto L_2B09488B; /* 0x2B094824: jae 0x2b09488b */ 10213 L_2B094826: 10214 eax = MEM32(edi + 0x4); /* 0x2B094826: mov eax, dword ptr [edi + 4] */ 10215 L_2B094829: 10216 /* test eax, eax */ /* 0x2B094829: test eax, eax */ 10217 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10218 _cf = 0; 10219 _flag_k = FK_TEST; 10220 L_2B09482B: 10221 ecx = edx; /* 0x2B09482B: mov ecx, edx */ 10222 L_2B09482D: 10223 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B094832; /* 0x2B09482D: je 0x2b094832 */ 10224 L_2B09482F: 10225 ecx = eax + esi; /* 0x2B09482F: lea ecx, [eax + esi] */ 10226 L_2B094832: 10227 /* cmp MEM8(ecx), 0x5Cu */ /* 0x2B094832: cmp byte ptr [ecx], 0x5c */ 10228 _flag_a = (uint32_t)(MEM8(ecx)) << 24; _flag_b = (uint32_t)(0x5Cu) << 24; 10229 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10230 _flag_k = FK_NARROW(FK_CMP, 24); 10231 L_2B094835: 10232 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B09488B; /* 0x2B094835: jne 0x2b09488b */ 10233 L_2B094837: 10234 /* test eax, eax */ /* 0x2B094837: test eax, eax */ 10235 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10236 _cf = 0; 10237 _flag_k = FK_TEST; 10238 L_2B094839: 10239 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B09483F; /* 0x2B094839: jne 0x2b09483f */ 10240 L_2B09483B: 10241 eax = edx; /* 0x2B09483B: mov eax, edx */ 10242 L_2B09483D: 10243 goto L_2B094843; /* 0x2B09483D: jmp 0x2b094843 */ 10244 L_2B09483F: 10245 eax = eax + esi + 0x1; /* 0x2B09483F: lea eax, [eax + esi + 1] */ 10246 L_2B094843: 10247 /* cmp MEM8(eax), 0x6Eu */ /* 0x2B094843: cmp byte ptr [eax], 0x6e */ 10248 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0x6Eu) << 24; 10249 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10250 _flag_k = FK_NARROW(FK_CMP, 24); 10251 L_2B094846: 10252 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B09488B; /* 0x2B094846: jne 0x2b09488b */ 10253 L_2B094848: 10254 eax = MEM32(0x2B0B515C); /* 0x2B094848: mov eax, dword ptr [0x2b0b515c] */ 10255 L_2B09484D: 10256 ecx = MEM32(eax); /* 0x2B09484D: mov ecx, dword ptr [eax] */ 10257 L_2B09484F: 10258 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + (-0x34))); 10259 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10260 ecx = ecx - MEM32(ebp + (-0x34)); /* 0x2B09484F: sub ecx, dword ptr [ebp - 0x34] */ 10261 _flag_k = FK_CMP; 10262 L_2B094852: 10263 /* cmp ecx, 1 */ /* 0x2B094852: cmp ecx, 1 */ 10264 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10265 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10266 _flag_k = FK_CMP; 10267 L_2B094855: 10268 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_2B09485D; /* 0x2B094855: ja 0x2b09485d */ 10269 L_2B094857: 10270 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B094857: call dword ptr [0x2b0b51a8] */ 10271 RECOMP_FLAGS_IN(); 10272 L_2B09485D: 10273 edx = MEM32(ebp + (-0x34)); /* 0x2B09485D: mov edx, dword ptr [ebp - 0x34] */ 10274 L_2B094860: 10275 edi = edx + 0x1; /* 0x2B094860: lea edi, [edx + 1] */ 10276 L_2B094863: 10277 PUSH32(esp, 0); /* 0x2B094863: push 0 */ 10278 L_2B094865: 10279 PUSH32(esp, edi); /* 0x2B094865: push edi */ 10280 L_2B094866: 10281 ecx = ebp + (-0x3C); /* 0x2B094866: lea ecx, [ebp - 0x3c] */ 10282 L_2B094869: 10283 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B094869: call dword ptr [0x2b0b5154] */ 10284 RECOMP_FLAGS_IN(); 10285 L_2B09486F: 10286 /* test LO8(eax), LO8(eax) */ /* 0x2B09486F: test al, al */ 10287 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10288 _cf = 0; 10289 _flag_k = FK_NARROW(FK_TEST, 24); 10290 L_2B094871: 10291 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B094888; /* 0x2B094871: je 0x2b094888 */ 10292 L_2B094873: 10293 eax = MEM32(ebp + (-0x34)); /* 0x2B094873: mov eax, dword ptr [ebp - 0x34] */ 10294 L_2B094876: 10295 ecx = MEM32(ebp + (-0x38)); /* 0x2B094876: mov ecx, dword ptr [ebp - 0x38] */ 10296 L_2B094879: 10297 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10298 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10299 eax = eax + ecx; /* 0x2B094879: add eax, ecx */ 10300 _flag_k = FK_ADD; 10301 L_2B09487B: 10302 MEM8(eax) = (uint8_t)(0xAu); /* 0x2B09487B: mov byte ptr [eax], 0xa */ 10303 L_2B09487E: 10304 edx = MEM32(ebp + (-0x38)); /* 0x2B09487E: mov edx, dword ptr [ebp - 0x38] */ 10305 L_2B094881: 10306 MEM32(ebp + (-0x34)) = edi; /* 0x2B094881: mov dword ptr [ebp - 0x34], edi */ 10307 L_2B094884: 10308 MEM8(edx + edi) = (uint8_t)(0); /* 0x2B094884: mov byte ptr [edx + edi], 0 */ 10309 L_2B094888: 10310 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 10311 esi = esi + 1; /* 0x2B094888: inc esi */ 10312 _flag_k = FK_INC; 10313 L_2B094889: 10314 goto L_2B0948DE; /* 0x2B094889: jmp 0x2b0948de */ 10315 L_2B09488B: 10316 eax = MEM32(edi + 0x4); /* 0x2B09488B: mov eax, dword ptr [edi + 4] */ 10317 L_2B09488E: 10318 /* test eax, eax */ /* 0x2B09488E: test eax, eax */ 10319 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10320 _cf = 0; 10321 _flag_k = FK_TEST; 10322 L_2B094890: 10323 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B094896; /* 0x2B094890: jne 0x2b094896 */ 10324 L_2B094892: 10325 eax = edx; /* 0x2B094892: mov eax, edx */ 10326 L_2B094894: 10327 goto L_2B094898; /* 0x2B094894: jmp 0x2b094898 */ 10328 L_2B094896: 10329 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 10330 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10331 eax = eax + esi; /* 0x2B094896: add eax, esi */ 10332 _flag_k = FK_ADD; 10333 L_2B094898: 10334 SET_LO8(ebx, MEM8(eax)); /* 0x2B094898: mov bl, byte ptr [eax] */ 10335 L_2B09489A: 10336 eax = MEM32(0x2B0B515C); /* 0x2B09489A: mov eax, dword ptr [0x2b0b515c] */ 10337 L_2B09489F: 10338 ecx = MEM32(eax); /* 0x2B09489F: mov ecx, dword ptr [eax] */ 10339 L_2B0948A1: 10340 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + (-0x34))); 10341 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10342 ecx = ecx - MEM32(ebp + (-0x34)); /* 0x2B0948A1: sub ecx, dword ptr [ebp - 0x34] */ 10343 _flag_k = FK_CMP; 10344 L_2B0948A4: 10345 /* cmp ecx, 1 */ /* 0x2B0948A4: cmp ecx, 1 */ 10346 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10347 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10348 _flag_k = FK_CMP; 10349 L_2B0948A7: 10350 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_2B0948AF; /* 0x2B0948A7: ja 0x2b0948af */ 10351 L_2B0948A9: 10352 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0948A9: call dword ptr [0x2b0b51a8] */ 10353 RECOMP_FLAGS_IN(); 10354 L_2B0948AF: 10355 edx = MEM32(ebp + (-0x34)); /* 0x2B0948AF: mov edx, dword ptr [ebp - 0x34] */ 10356 L_2B0948B2: 10357 edi = edx + 0x1; /* 0x2B0948B2: lea edi, [edx + 1] */ 10358 L_2B0948B5: 10359 PUSH32(esp, 0); /* 0x2B0948B5: push 0 */ 10360 L_2B0948B7: 10361 PUSH32(esp, edi); /* 0x2B0948B7: push edi */ 10362 L_2B0948B8: 10363 ecx = ebp + (-0x3C); /* 0x2B0948B8: lea ecx, [ebp - 0x3c] */ 10364 L_2B0948BB: 10365 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0948BB: call dword ptr [0x2b0b5154] */ 10366 RECOMP_FLAGS_IN(); 10367 L_2B0948C1: 10368 /* test LO8(eax), LO8(eax) */ /* 0x2B0948C1: test al, al */ 10369 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10370 _cf = 0; 10371 _flag_k = FK_NARROW(FK_TEST, 24); 10372 L_2B0948C3: 10373 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0948DE; /* 0x2B0948C3: je 0x2b0948de */ 10374 L_2B0948C5: 10375 eax = MEM32(ebp + (-0x34)); /* 0x2B0948C5: mov eax, dword ptr [ebp - 0x34] */ 10376 L_2B0948C8: 10377 ecx = MEM32(ebp + (-0x38)); /* 0x2B0948C8: mov ecx, dword ptr [ebp - 0x38] */ 10378 L_2B0948CB: 10379 edx = (int32_t)(int8_t)LO8(ebx); /* 0x2B0948CB: movsx edx, bl */ 10380 L_2B0948CE: 10381 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10382 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10383 eax = eax + ecx; /* 0x2B0948CE: add eax, ecx */ 10384 _flag_k = FK_ADD; 10385 L_2B0948D0: 10386 MEM8(eax) = (uint8_t)(LO8(edx)); /* 0x2B0948D0: mov byte ptr [eax], dl */ 10387 L_2B0948D2: 10388 SET_HI8(edx, LO8(edx)); /* 0x2B0948D2: mov dh, dl */ 10389 L_2B0948D4: 10390 edx = MEM32(ebp + (-0x38)); /* 0x2B0948D4: mov edx, dword ptr [ebp - 0x38] */ 10391 L_2B0948D7: 10392 MEM32(ebp + (-0x34)) = edi; /* 0x2B0948D7: mov dword ptr [ebp - 0x34], edi */ 10393 L_2B0948DA: 10394 MEM8(edx + edi) = (uint8_t)(0); /* 0x2B0948DA: mov byte ptr [edx + edi], 0 */ 10395 L_2B0948DE: 10396 eax = MEM32(ebp + 0x8); /* 0x2B0948DE: mov eax, dword ptr [ebp + 8] */ 10397 L_2B0948E1: 10398 eax = MEM32(eax + 0x8); /* 0x2B0948E1: mov eax, dword ptr [eax + 8] */ 10399 L_2B0948E4: 10400 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 10401 esi = esi + 1; /* 0x2B0948E4: inc esi */ 10402 _flag_k = FK_INC; 10403 L_2B0948E5: 10404 /* cmp esi, eax */ /* 0x2B0948E5: cmp esi, eax */ 10405 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 10406 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10407 _flag_k = FK_CMP; 10408 L_2B0948E7: 10409 RECOMP_BACKEDGE(); 10410 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_B, _cf)) goto L_2B094818; /* 0x2B0948E7: jb 0x2b094818 */ 10411 L_2B0948ED: 10412 esi = MEM32(ebp + (-0x10)); /* 0x2B0948ED: mov esi, dword ptr [ebp - 0x10] */ 10413 L_2B0948F0: 10414 ecx = MEM32(0x2B0B515C); /* 0x2B0948F0: mov ecx, dword ptr [0x2b0b515c] */ 10415 L_2B0948F6: 10416 eax = MEM32(ecx); /* 0x2B0948F6: mov eax, dword ptr [ecx] */ 10417 L_2B0948F8: 10418 ecx = MEM32(ebp + (-0x34)); /* 0x2B0948F8: mov ecx, dword ptr [ebp - 0x34] */ 10419 L_2B0948FB: 10420 ebx = esi + 0x58; /* 0x2B0948FB: lea ebx, [esi + 0x58] */ 10421 L_2B0948FE: 10422 esi = eax; /* 0x2B0948FE: mov esi, eax */ 10423 L_2B094900: 10424 /* cmp ecx, esi */ /* 0x2B094900: cmp ecx, esi */ 10425 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 10426 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10427 _flag_k = FK_CMP; 10428 L_2B094902: 10429 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_AE, _cf)) goto L_2B094906; /* 0x2B094902: jae 0x2b094906 */ 10430 L_2B094904: 10431 esi = ecx; /* 0x2B094904: mov esi, ecx */ 10432 L_2B094906: 10433 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebx + 0x8)); 10434 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10435 eax = eax - MEM32(ebx + 0x8); /* 0x2B094906: sub eax, dword ptr [ebx + 8] */ 10436 _flag_k = FK_CMP; 10437 L_2B094909: 10438 /* cmp eax, esi */ /* 0x2B094909: cmp eax, esi */ 10439 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 10440 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10441 _flag_k = FK_CMP; 10442 L_2B09490B: 10443 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_2B094913; /* 0x2B09490B: ja 0x2b094913 */ 10444 L_2B09490D: 10445 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B09490D: call dword ptr [0x2b0b51a8] */ 10446 RECOMP_FLAGS_IN(); 10447 L_2B094913: 10448 /* test esi, esi */ /* 0x2B094913: test esi, esi */ 10449 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 10450 _cf = 0; 10451 _flag_k = FK_TEST; 10452 L_2B094915: 10453 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_BE, _cf)) goto L_2B094964; /* 0x2B094915: jbe 0x2b094964 */ 10454 L_2B094917: 10455 ecx = MEM32(ebx + 0x8); /* 0x2B094917: mov ecx, dword ptr [ebx + 8] */ 10456 L_2B09491A: 10457 eax = esi; /* 0x2B09491A: mov eax, esi */ 10458 L_2B09491C: 10459 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10460 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10461 eax = eax + ecx; /* 0x2B09491C: add eax, ecx */ 10462 _flag_k = FK_ADD; 10463 L_2B09491E: 10464 PUSH32(esp, 0); /* 0x2B09491E: push 0 */ 10465 L_2B094920: 10466 PUSH32(esp, eax); /* 0x2B094920: push eax */ 10467 L_2B094921: 10468 ecx = ebx; /* 0x2B094921: mov ecx, ebx */ 10469 L_2B094923: 10470 MEM32(ebp + 0x8) = eax; /* 0x2B094923: mov dword ptr [ebp + 8], eax */ 10471 L_2B094926: 10472 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B094926: call dword ptr [0x2b0b5154] */ 10473 RECOMP_FLAGS_IN(); 10474 L_2B09492C: 10475 /* test LO8(eax), LO8(eax) */ /* 0x2B09492C: test al, al */ 10476 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10477 _cf = 0; 10478 _flag_k = FK_NARROW(FK_TEST, 24); 10479 L_2B09492E: 10480 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B094964; /* 0x2B09492E: je 0x2b094964 */ 10481 L_2B094930: 10482 eax = MEM32(ebp + (-0x38)); /* 0x2B094930: mov eax, dword ptr [ebp - 0x38] */ 10483 L_2B094933: 10484 /* test eax, eax */ /* 0x2B094933: test eax, eax */ 10485 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10486 _cf = 0; 10487 _flag_k = FK_TEST; 10488 L_2B094935: 10489 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B09493C; /* 0x2B094935: jne 0x2b09493c */ 10490 L_2B094937: 10491 eax = MEM32(0x2B0B513C); /* 0x2B094937: mov eax, dword ptr [0x2b0b513c] */ 10492 L_2B09493C: 10493 ecx = MEM32(ebx + 0x8); /* 0x2B09493C: mov ecx, dword ptr [ebx + 8] */ 10494 L_2B09493F: 10495 edi = MEM32(ebx + 0x4); /* 0x2B09493F: mov edi, dword ptr [ebx + 4] */ 10496 L_2B094942: 10497 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 10498 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10499 edi = edi + ecx; /* 0x2B094942: add edi, ecx */ 10500 _flag_k = FK_ADD; 10501 L_2B094944: 10502 ecx = esi; /* 0x2B094944: mov ecx, esi */ 10503 L_2B094946: 10504 edx = ecx; /* 0x2B094946: mov edx, ecx */ 10505 L_2B094948: 10506 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B094948: shr ecx, 2 */ 10507 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10508 ecx = ecx >> 2u; /* 0x2B094948: shr ecx, 2 */ 10509 L_2B09494B: 10510 esi = eax; /* 0x2B09494B: mov esi, eax */ 10511 L_2B09494D: 10512 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B09494D: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 10513 L_2B09494F: 10514 ecx = edx; /* 0x2B09494F: mov ecx, edx */ 10515 L_2B094951: 10516 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 10517 ecx = ecx & 3; /* 0x2B094951: and ecx, 3 */ 10518 _cf = 0; 10519 _flag_k = FK_TEST; 10520 L_2B094954: 10521 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B094954: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; } 10522 L_2B094956: 10523 ecx = MEM32(ebp + 0x8); /* 0x2B094956: mov ecx, dword ptr [ebp + 8] */ 10524 L_2B094959: 10525 eax = MEM32(ebx + 0x4); /* 0x2B094959: mov eax, dword ptr [ebx + 4] */ 10526 L_2B09495C: 10527 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10528 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10529 eax = eax + ecx; /* 0x2B09495C: add eax, ecx */ 10530 _flag_k = FK_ADD; 10531 L_2B09495E: 10532 MEM32(ebx + 0x8) = ecx; /* 0x2B09495E: mov dword ptr [ebx + 8], ecx */ 10533 L_2B094961: 10534 MEM8(eax) = (uint8_t)(0); /* 0x2B094961: mov byte ptr [eax], 0 */ 10535 L_2B094964: 10536 esi = MEM32(ebp + (-0x10)); /* 0x2B094964: mov esi, dword ptr [ebp - 0x10] */ 10537 L_2B094967: 10538 ecx = MEM32(esi + 0x24); /* 0x2B094967: mov ecx, dword ptr [esi + 0x24] */ 10539 L_2B09496A: 10540 PUSH32(esp, ebx); /* 0x2B09496A: push ebx */ 10541 L_2B09496B: 10542 RECOMP_ICALL(MEM32(0x2B0B59D4)); /* 0x2B09496B: call dword ptr [0x2b0b59d4] */ 10543 RECOMP_FLAGS_IN(); 10544 L_2B094971: 10545 ecx = MEM32(esi + 0x24); /* 0x2B094971: mov ecx, dword ptr [esi + 0x24] */ 10546 L_2B094974: 10547 PUSH32(esp, 1); /* 0x2B094974: push 1 */ 10548 L_2B094976: 10549 PUSH32(esp, 1); /* 0x2B094976: push 1 */ 10550 L_2B094978: 10551 PUSH32(esp, 0xFFFE7961u); /* 0x2B094978: push 0xfffe7961 */ 10552 L_2B09497D: 10553 RECOMP_ICALL(MEM32(0x2B0B57E8)); /* 0x2B09497D: call dword ptr [0x2b0b57e8] */ 10554 RECOMP_FLAGS_IN(); 10555 L_2B094983: 10556 eax = MEM32(ebp + 0xC); /* 0x2B094983: mov eax, dword ptr [ebp + 0xc] */ 10557 L_2B094986: 10558 MEM32(esi + 0x80) = eax; /* 0x2B094986: mov dword ptr [esi + 0x80], eax */ 10559 L_2B09498C: 10560 esi = MEM32(ebp + (-0x2C)); /* 0x2B09498C: mov esi, dword ptr [ebp - 0x2c] */ 10561 L_2B09498F: 10562 /* test esi, esi */ /* 0x2B09498F: test esi, esi */ 10563 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 10564 _cf = 0; 10565 _flag_k = FK_TEST; 10566 L_2B094991: 10567 MEM32(ebp + (-0x4)) = 2; /* 0x2B094991: mov dword ptr [ebp - 4], 2 */ 10568 L_2B094998: 10569 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0949D7; /* 0x2B094998: je 0x2b0949d7 */ 10570 L_2B09499A: 10571 edx = MEM32(esi + 0x2C); /* 0x2B09499A: mov edx, dword ptr [esi + 0x2c] */ 10572 L_2B09499D: 10573 eax = esi + 0x2C; /* 0x2B09499D: lea eax, [esi + 0x2c] */ 10574 L_2B0949A0: 10575 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 10576 edx = edx - 1; /* 0x2B0949A0: dec edx */ 10577 _flag_k = FK_DEC; 10578 L_2B0949A1: 10579 ecx = edx; /* 0x2B0949A1: mov ecx, edx */ 10580 L_2B0949A3: 10581 /* test ecx, ecx */ /* 0x2B0949A3: test ecx, ecx */ 10582 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 10583 _cf = 0; 10584 _flag_k = FK_TEST; 10585 L_2B0949A5: 10586 MEM32(eax) = edx; /* 0x2B0949A5: mov dword ptr [eax], edx */ 10587 L_2B0949A7: 10588 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B0949D7; /* 0x2B0949A7: jne 0x2b0949d7 */ 10589 L_2B0949A9: 10590 /* test esi, esi */ /* 0x2B0949A9: test esi, esi */ 10591 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 10592 _cf = 0; 10593 _flag_k = FK_TEST; 10594 L_2B0949AB: 10595 MEM32(ebp + 0x8) = esi; /* 0x2B0949AB: mov dword ptr [ebp + 8], esi */ 10596 L_2B0949AE: 10597 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0949D7; /* 0x2B0949AE: je 0x2b0949d7 */ 10598 L_2B0949B0: 10599 PUSH32(esp, 1); /* 0x2B0949B0: push 1 */ 10600 L_2B0949B2: 10601 ecx = esi + 0x1C; /* 0x2B0949B2: lea ecx, [esi + 0x1c] */ 10602 L_2B0949B5: 10603 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B0949B5: mov byte ptr [ebp - 4], 3 */ 10604 L_2B0949B9: 10605 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0949B9: call dword ptr [0x2b0b514c] */ 10606 RECOMP_FLAGS_IN(); 10607 L_2B0949BF: 10608 PUSH32(esp, 1); /* 0x2B0949BF: push 1 */ 10609 L_2B0949C1: 10610 ecx = esi + 0xC; /* 0x2B0949C1: lea ecx, [esi + 0xc] */ 10611 L_2B0949C4: 10612 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B0949C4: mov byte ptr [ebp - 4], 2 */ 10613 L_2B0949C8: 10614 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0949C8: call dword ptr [0x2b0b514c] */ 10615 RECOMP_FLAGS_IN(); 10616 L_2B0949CE: 10617 PUSH32(esp, esi); /* 0x2B0949CE: push esi */ 10618 L_2B0949CF: 10619 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0949CF: call 0x2b0ab1ba */ /* not lifted */ 10620 RECOMP_FLAGS_IN(); 10621 L_2B0949D4: 10622 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10623 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10624 esp = esp + 4; /* 0x2B0949D4: add esp, 4 */ 10625 _flag_k = FK_ADD; 10626 L_2B0949D7: 10627 ecx = MEM32(ebp + (-0x38)); /* 0x2B0949D7: mov ecx, dword ptr [ebp - 0x38] */ 10628 L_2B0949DA: 10629 /* test ecx, ecx */ /* 0x2B0949DA: test ecx, ecx */ 10630 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 10631 _cf = 0; 10632 _flag_k = FK_TEST; 10633 L_2B0949DC: 10634 edi = POP32_VAL(esp); /* 0x2B0949DC: pop edi */ 10635 L_2B0949DD: 10636 esi = POP32_VAL(esp); /* 0x2B0949DD: pop esi */ 10637 L_2B0949DE: 10638 ebx = POP32_VAL(esp); /* 0x2B0949DE: pop ebx */ 10639 L_2B0949DF: 10640 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B094A0B; /* 0x2B0949DF: je 0x2b094a0b */ 10641 L_2B0949E1: 10642 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B0949E1: mov al, byte ptr [ecx - 1] */ 10643 L_2B0949E4: 10644 /* test LO8(eax), LO8(eax) */ /* 0x2B0949E4: test al, al */ 10645 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10646 _cf = 0; 10647 _flag_k = FK_NARROW(FK_TEST, 24); 10648 L_2B0949E6: 10649 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B094A01; /* 0x2B0949E6: je 0x2b094a01 */ 10650 L_2B0949E8: 10651 /* cmp LO8(eax), 0xFFu */ /* 0x2B0949E8: cmp al, 0xff */ 10652 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 10653 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10654 _flag_k = FK_NARROW(FK_CMP, 24); 10655 L_2B0949EA: 10656 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B094A01; /* 0x2B0949EA: je 0x2b094a01 */ 10657 L_2B0949EC: 10658 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 10659 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0949EC: dec al */ 10660 _flag_k = FK_NARROW(FK_DEC, 24); 10661 L_2B0949EE: 10662 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B0949EE: mov byte ptr [ecx - 1], al */ 10663 L_2B0949F1: 10664 ecx = MEM32(ebp + (-0xC)); /* 0x2B0949F1: mov ecx, dword ptr [ebp - 0xc] */ 10665 L_2B0949F4: 10666 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0949F4: mov dword ptr fs:[0], ecx */ 10667 L_2B0949FB: 10668 esp = ebp; /* 0x2B0949FB: mov esp, ebp */ 10669 L_2B0949FD: 10670 ebp = POP32_VAL(esp); /* 0x2B0949FD: pop ebp */ 10671 L_2B0949FE: 10672 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0949FE: ret 8 */ 10673 L_2B094A01: 10674 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10675 ecx = ecx - 1; /* 0x2B094A01: dec ecx */ 10676 _flag_k = FK_DEC; 10677 L_2B094A02: 10678 PUSH32(esp, ecx); /* 0x2B094A02: push ecx */ 10679 L_2B094A03: 10680 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B094A03: call 0x2b0ab1ba */ /* not lifted */ 10681 RECOMP_FLAGS_IN(); 10682 L_2B094A08: 10683 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10684 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10685 esp = esp + 4; /* 0x2B094A08: add esp, 4 */ 10686 _flag_k = FK_ADD; 10687 L_2B094A0B: 10688 ecx = MEM32(ebp + (-0xC)); /* 0x2B094A0B: mov ecx, dword ptr [ebp - 0xc] */ 10689 L_2B094A0E: 10690 MEM32(FS_BASE + (0)) = ecx; /* 0x2B094A0E: mov dword ptr fs:[0], ecx */ 10691 L_2B094A15: 10692 esp = ebp; /* 0x2B094A15: mov esp, ebp */ 10693 L_2B094A17: 10694 ebp = POP32_VAL(esp); /* 0x2B094A17: pop ebp */ 10695 L_2B094A18: 10696 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B094A18: ret 8 */ 10697 _ljump: 10698 switch (_itail_tgt) { 10699 case 0x2B0945B0u: goto L_2B0945B0; 10700 case 0x2B0945B1u: goto L_2B0945B1; 10701 case 0x2B0945B3u: goto L_2B0945B3; 10702 case 0x2B0945B5u: goto L_2B0945B5; 10703 case 0x2B0945BAu: goto L_2B0945BA; 10704 case 0x2B0945C0u: goto L_2B0945C0; 10705 case 0x2B0945C1u: goto L_2B0945C1; 10706 case 0x2B0945C8u: goto L_2B0945C8; 10707 case 0x2B0945CBu: goto L_2B0945CB; 10708 case 0x2B0945CEu: goto L_2B0945CE; 10709 case 0x2B0945CFu: goto L_2B0945CF; 10710 case 0x2B0945D0u: goto L_2B0945D0; 10711 case 0x2B0945D1u: goto L_2B0945D1; 10712 case 0x2B0945D3u: goto L_2B0945D3; 10713 case 0x2B0945D5u: goto L_2B0945D5; 10714 case 0x2B0945D6u: goto L_2B0945D6; 10715 case 0x2B0945D9u: goto L_2B0945D9; 10716 case 0x2B0945DCu: goto L_2B0945DC; 10717 case 0x2B0945DFu: goto L_2B0945DF; 10718 case 0x2B0945E5u: goto L_2B0945E5; 10719 case 0x2B0945E8u: goto L_2B0945E8; 10720 case 0x2B0945EBu: goto L_2B0945EB; 10721 case 0x2B0945F1u: goto L_2B0945F1; 10722 case 0x2B0945F4u: goto L_2B0945F4; 10723 case 0x2B0945F7u: goto L_2B0945F7; 10724 case 0x2B0945FAu: goto L_2B0945FA; 10725 case 0x2B094600u: goto L_2B094600; 10726 case 0x2B094607u: goto L_2B094607; 10727 case 0x2B09460Eu: goto L_2B09460E; 10728 case 0x2B094614u: goto L_2B094614; 10729 case 0x2B094617u: goto L_2B094617; 10730 case 0x2B094619u: goto L_2B094619; 10731 case 0x2B09461Cu: goto L_2B09461C; 10732 case 0x2B09461Eu: goto L_2B09461E; 10733 case 0x2B094623u: goto L_2B094623; 10734 case 0x2B094625u: goto L_2B094625; 10735 case 0x2B094627u: goto L_2B094627; 10736 case 0x2B094628u: goto L_2B094628; 10737 case 0x2B094629u: goto L_2B094629; 10738 case 0x2B09462Eu: goto L_2B09462E; 10739 case 0x2B094631u: goto L_2B094631; 10740 case 0x2B094637u: goto L_2B094637; 10741 case 0x2B094639u: goto L_2B094639; 10742 case 0x2B09463Bu: goto L_2B09463B; 10743 case 0x2B09463Eu: goto L_2B09463E; 10744 case 0x2B094644u: goto L_2B094644; 10745 case 0x2B094649u: goto L_2B094649; 10746 case 0x2B09464Cu: goto L_2B09464C; 10747 case 0x2B09464Du: goto L_2B09464D; 10748 case 0x2B094650u: goto L_2B094650; 10749 case 0x2B094651u: goto L_2B094651; 10750 case 0x2B094656u: goto L_2B094656; 10751 case 0x2B094659u: goto L_2B094659; 10752 case 0x2B09465Fu: goto L_2B09465F; 10753 case 0x2B094661u: goto L_2B094661; 10754 case 0x2B094662u: goto L_2B094662; 10755 case 0x2B094664u: goto L_2B094664; 10756 case 0x2B094665u: goto L_2B094665; 10757 case 0x2B094668u: goto L_2B094668; 10758 case 0x2B09466Cu: goto L_2B09466C; 10759 case 0x2B094672u: goto L_2B094672; 10760 case 0x2B094674u: goto L_2B094674; 10761 case 0x2B094677u: goto L_2B094677; 10762 case 0x2B09467Bu: goto L_2B09467B; 10763 case 0x2B094681u: goto L_2B094681; 10764 case 0x2B094686u: goto L_2B094686; 10765 case 0x2B094689u: goto L_2B094689; 10766 case 0x2B09468Bu: goto L_2B09468B; 10767 case 0x2B094690u: goto L_2B094690; 10768 case 0x2B094692u: goto L_2B094692; 10769 case 0x2B094694u: goto L_2B094694; 10770 case 0x2B094695u: goto L_2B094695; 10771 case 0x2B094696u: goto L_2B094696; 10772 case 0x2B09469Bu: goto L_2B09469B; 10773 case 0x2B09469Eu: goto L_2B09469E; 10774 case 0x2B0946A4u: goto L_2B0946A4; 10775 case 0x2B0946A9u: goto L_2B0946A9; 10776 case 0x2B0946ABu: goto L_2B0946AB; 10777 case 0x2B0946ADu: goto L_2B0946AD; 10778 case 0x2B0946B2u: goto L_2B0946B2; 10779 case 0x2B0946B4u: goto L_2B0946B4; 10780 case 0x2B0946B6u: goto L_2B0946B6; 10781 case 0x2B0946BCu: goto L_2B0946BC; 10782 case 0x2B0946BEu: goto L_2B0946BE; 10783 case 0x2B0946C0u: goto L_2B0946C0; 10784 case 0x2B0946C3u: goto L_2B0946C3; 10785 case 0x2B0946C9u: goto L_2B0946C9; 10786 case 0x2B0946CFu: goto L_2B0946CF; 10787 case 0x2B0946D4u: goto L_2B0946D4; 10788 case 0x2B0946D7u: goto L_2B0946D7; 10789 case 0x2B0946D9u: goto L_2B0946D9; 10790 case 0x2B0946DBu: goto L_2B0946DB; 10791 case 0x2B0946DDu: goto L_2B0946DD; 10792 case 0x2B0946E0u: goto L_2B0946E0; 10793 case 0x2B0946E3u: goto L_2B0946E3; 10794 case 0x2B0946E6u: goto L_2B0946E6; 10795 case 0x2B0946E9u: goto L_2B0946E9; 10796 case 0x2B0946EAu: goto L_2B0946EA; 10797 case 0x2B0946F0u: goto L_2B0946F0; 10798 case 0x2B0946F2u: goto L_2B0946F2; 10799 case 0x2B0946F8u: goto L_2B0946F8; 10800 case 0x2B0946FAu: goto L_2B0946FA; 10801 case 0x2B0946FDu: goto L_2B0946FD; 10802 case 0x2B0946FFu: goto L_2B0946FF; 10803 case 0x2B094701u: goto L_2B094701; 10804 case 0x2B094703u: goto L_2B094703; 10805 case 0x2B094705u: goto L_2B094705; 10806 case 0x2B094706u: goto L_2B094706; 10807 case 0x2B094707u: goto L_2B094707; 10808 case 0x2B094708u: goto L_2B094708; 10809 case 0x2B09470Bu: goto L_2B09470B; 10810 case 0x2B094711u: goto L_2B094711; 10811 case 0x2B094714u: goto L_2B094714; 10812 case 0x2B094716u: goto L_2B094716; 10813 case 0x2B09471Bu: goto L_2B09471B; 10814 case 0x2B09471Du: goto L_2B09471D; 10815 case 0x2B09471Fu: goto L_2B09471F; 10816 case 0x2B094720u: goto L_2B094720; 10817 case 0x2B094721u: goto L_2B094721; 10818 case 0x2B094726u: goto L_2B094726; 10819 case 0x2B094729u: goto L_2B094729; 10820 case 0x2B09472Fu: goto L_2B09472F; 10821 case 0x2B094734u: goto L_2B094734; 10822 case 0x2B094737u: goto L_2B094737; 10823 case 0x2B094739u: goto L_2B094739; 10824 case 0x2B09473Eu: goto L_2B09473E; 10825 case 0x2B094740u: goto L_2B094740; 10826 case 0x2B094742u: goto L_2B094742; 10827 case 0x2B094743u: goto L_2B094743; 10828 case 0x2B094744u: goto L_2B094744; 10829 case 0x2B094749u: goto L_2B094749; 10830 case 0x2B09474Cu: goto L_2B09474C; 10831 case 0x2B094752u: goto L_2B094752; 10832 case 0x2B094754u: goto L_2B094754; 10833 case 0x2B094759u: goto L_2B094759; 10834 case 0x2B09475Cu: goto L_2B09475C; 10835 case 0x2B09475Eu: goto L_2B09475E; 10836 case 0x2B094763u: goto L_2B094763; 10837 case 0x2B094765u: goto L_2B094765; 10838 case 0x2B094767u: goto L_2B094767; 10839 case 0x2B094768u: goto L_2B094768; 10840 case 0x2B094769u: goto L_2B094769; 10841 case 0x2B09476Eu: goto L_2B09476E; 10842 case 0x2B094771u: goto L_2B094771; 10843 case 0x2B094777u: goto L_2B094777; 10844 case 0x2B094779u: goto L_2B094779; 10845 case 0x2B09477Bu: goto L_2B09477B; 10846 case 0x2B09477Eu: goto L_2B09477E; 10847 case 0x2B094784u: goto L_2B094784; 10848 case 0x2B09478Au: goto L_2B09478A; 10849 case 0x2B09478Cu: goto L_2B09478C; 10850 case 0x2B09478Du: goto L_2B09478D; 10851 case 0x2B09478Fu: goto L_2B09478F; 10852 case 0x2B094792u: goto L_2B094792; 10853 case 0x2B094793u: goto L_2B094793; 10854 case 0x2B094796u: goto L_2B094796; 10855 case 0x2B09479Cu: goto L_2B09479C; 10856 case 0x2B09479Fu: goto L_2B09479F; 10857 case 0x2B0947A1u: goto L_2B0947A1; 10858 case 0x2B0947A6u: goto L_2B0947A6; 10859 case 0x2B0947A8u: goto L_2B0947A8; 10860 case 0x2B0947AAu: goto L_2B0947AA; 10861 case 0x2B0947ABu: goto L_2B0947AB; 10862 case 0x2B0947ACu: goto L_2B0947AC; 10863 case 0x2B0947B1u: goto L_2B0947B1; 10864 case 0x2B0947B4u: goto L_2B0947B4; 10865 case 0x2B0947BAu: goto L_2B0947BA; 10866 case 0x2B0947BCu: goto L_2B0947BC; 10867 case 0x2B0947BFu: goto L_2B0947BF; 10868 case 0x2B0947C1u: goto L_2B0947C1; 10869 case 0x2B0947C6u: goto L_2B0947C6; 10870 case 0x2B0947C8u: goto L_2B0947C8; 10871 case 0x2B0947CAu: goto L_2B0947CA; 10872 case 0x2B0947CBu: goto L_2B0947CB; 10873 case 0x2B0947CCu: goto L_2B0947CC; 10874 case 0x2B0947D1u: goto L_2B0947D1; 10875 case 0x2B0947D4u: goto L_2B0947D4; 10876 case 0x2B0947DAu: goto L_2B0947DA; 10877 case 0x2B0947DCu: goto L_2B0947DC; 10878 case 0x2B0947DEu: goto L_2B0947DE; 10879 case 0x2B0947E1u: goto L_2B0947E1; 10880 case 0x2B0947E7u: goto L_2B0947E7; 10881 case 0x2B0947EBu: goto L_2B0947EB; 10882 case 0x2B0947EDu: goto L_2B0947ED; 10883 case 0x2B0947F3u: goto L_2B0947F3; 10884 case 0x2B0947F5u: goto L_2B0947F5; 10885 case 0x2B0947F7u: goto L_2B0947F7; 10886 case 0x2B0947FCu: goto L_2B0947FC; 10887 case 0x2B0947FEu: goto L_2B0947FE; 10888 case 0x2B094800u: goto L_2B094800; 10889 case 0x2B094806u: goto L_2B094806; 10890 case 0x2B094809u: goto L_2B094809; 10891 case 0x2B09480Cu: goto L_2B09480C; 10892 case 0x2B09480Eu: goto L_2B09480E; 10893 case 0x2B094810u: goto L_2B094810; 10894 case 0x2B094816u: goto L_2B094816; 10895 case 0x2B094818u: goto L_2B094818; 10896 case 0x2B09481Bu: goto L_2B09481B; 10897 case 0x2B094821u: goto L_2B094821; 10898 case 0x2B094822u: goto L_2B094822; 10899 case 0x2B094824u: goto L_2B094824; 10900 case 0x2B094826u: goto L_2B094826; 10901 case 0x2B094829u: goto L_2B094829; 10902 case 0x2B09482Bu: goto L_2B09482B; 10903 case 0x2B09482Du: goto L_2B09482D; 10904 case 0x2B09482Fu: goto L_2B09482F; 10905 case 0x2B094832u: goto L_2B094832; 10906 case 0x2B094835u: goto L_2B094835; 10907 case 0x2B094837u: goto L_2B094837; 10908 case 0x2B094839u: goto L_2B094839; 10909 case 0x2B09483Bu: goto L_2B09483B; 10910 case 0x2B09483Du: goto L_2B09483D; 10911 case 0x2B09483Fu: goto L_2B09483F; 10912 case 0x2B094843u: goto L_2B094843; 10913 case 0x2B094846u: goto L_2B094846; 10914 case 0x2B094848u: goto L_2B094848; 10915 case 0x2B09484Du: goto L_2B09484D; 10916 case 0x2B09484Fu: goto L_2B09484F; 10917 case 0x2B094852u: goto L_2B094852; 10918 case 0x2B094855u: goto L_2B094855; 10919 case 0x2B094857u: goto L_2B094857; 10920 case 0x2B09485Du: goto L_2B09485D; 10921 case 0x2B094860u: goto L_2B094860; 10922 case 0x2B094863u: goto L_2B094863; 10923 case 0x2B094865u: goto L_2B094865; 10924 case 0x2B094866u: goto L_2B094866; 10925 case 0x2B094869u: goto L_2B094869; 10926 case 0x2B09486Fu: goto L_2B09486F; 10927 case 0x2B094871u: goto L_2B094871; 10928 case 0x2B094873u: goto L_2B094873; 10929 case 0x2B094876u: goto L_2B094876; 10930 case 0x2B094879u: goto L_2B094879; 10931 case 0x2B09487Bu: goto L_2B09487B; 10932 case 0x2B09487Eu: goto L_2B09487E; 10933 case 0x2B094881u: goto L_2B094881; 10934 case 0x2B094884u: goto L_2B094884; 10935 case 0x2B094888u: goto L_2B094888; 10936 case 0x2B094889u: goto L_2B094889; 10937 case 0x2B09488Bu: goto L_2B09488B; 10938 case 0x2B09488Eu: goto L_2B09488E; 10939 case 0x2B094890u: goto L_2B094890; 10940 case 0x2B094892u: goto L_2B094892; 10941 case 0x2B094894u: goto L_2B094894; 10942 case 0x2B094896u: goto L_2B094896; 10943 case 0x2B094898u: goto L_2B094898; 10944 case 0x2B09489Au: goto L_2B09489A; 10945 case 0x2B09489Fu: goto L_2B09489F; 10946 case 0x2B0948A1u: goto L_2B0948A1; 10947 case 0x2B0948A4u: goto L_2B0948A4; 10948 case 0x2B0948A7u: goto L_2B0948A7; 10949 case 0x2B0948A9u: goto L_2B0948A9; 10950 case 0x2B0948AFu: goto L_2B0948AF; 10951 case 0x2B0948B2u: goto L_2B0948B2; 10952 case 0x2B0948B5u: goto L_2B0948B5; 10953 case 0x2B0948B7u: goto L_2B0948B7; 10954 case 0x2B0948B8u: goto L_2B0948B8; 10955 case 0x2B0948BBu: goto L_2B0948BB; 10956 case 0x2B0948C1u: goto L_2B0948C1; 10957 case 0x2B0948C3u: goto L_2B0948C3; 10958 case 0x2B0948C5u: goto L_2B0948C5; 10959 case 0x2B0948C8u: goto L_2B0948C8; 10960 case 0x2B0948CBu: goto L_2B0948CB; 10961 case 0x2B0948CEu: goto L_2B0948CE; 10962 case 0x2B0948D0u: goto L_2B0948D0; 10963 case 0x2B0948D2u: goto L_2B0948D2; 10964 case 0x2B0948D4u: goto L_2B0948D4; 10965 case 0x2B0948D7u: goto L_2B0948D7; 10966 case 0x2B0948DAu: goto L_2B0948DA; 10967 case 0x2B0948DEu: goto L_2B0948DE; 10968 case 0x2B0948E1u: goto L_2B0948E1; 10969 case 0x2B0948E4u: goto L_2B0948E4; 10970 case 0x2B0948E5u: goto L_2B0948E5; 10971 case 0x2B0948E7u: goto L_2B0948E7; 10972 case 0x2B0948EDu: goto L_2B0948ED; 10973 case 0x2B0948F0u: goto L_2B0948F0; 10974 case 0x2B0948F6u: goto L_2B0948F6; 10975 case 0x2B0948F8u: goto L_2B0948F8; 10976 case 0x2B0948FBu: goto L_2B0948FB; 10977 case 0x2B0948FEu: goto L_2B0948FE; 10978 case 0x2B094900u: goto L_2B094900; 10979 case 0x2B094902u: goto L_2B094902; 10980 case 0x2B094904u: goto L_2B094904; 10981 case 0x2B094906u: goto L_2B094906; 10982 case 0x2B094909u: goto L_2B094909; 10983 case 0x2B09490Bu: goto L_2B09490B; 10984 case 0x2B09490Du: goto L_2B09490D; 10985 case 0x2B094913u: goto L_2B094913; 10986 case 0x2B094915u: goto L_2B094915; 10987 case 0x2B094917u: goto L_2B094917; 10988 case 0x2B09491Au: goto L_2B09491A; 10989 case 0x2B09491Cu: goto L_2B09491C; 10990 case 0x2B09491Eu: goto L_2B09491E; 10991 case 0x2B094920u: goto L_2B094920; 10992 case 0x2B094921u: goto L_2B094921; 10993 case 0x2B094923u: goto L_2B094923; 10994 case 0x2B094926u: goto L_2B094926; 10995 case 0x2B09492Cu: goto L_2B09492C; 10996 case 0x2B09492Eu: goto L_2B09492E; 10997 case 0x2B094930u: goto L_2B094930; 10998 case 0x2B094933u: goto L_2B094933; 10999 case 0x2B094935u: goto L_2B094935; 11000 case 0x2B094937u: goto L_2B094937; 11001 case 0x2B09493Cu: goto L_2B09493C; 11002 case 0x2B09493Fu: goto L_2B09493F; 11003 case 0x2B094942u: goto L_2B094942; 11004 case 0x2B094944u: goto L_2B094944; 11005 case 0x2B094946u: goto L_2B094946; 11006 case 0x2B094948u: goto L_2B094948; 11007 case 0x2B09494Bu: goto L_2B09494B; 11008 case 0x2B09494Du: goto L_2B09494D; 11009 case 0x2B09494Fu: goto L_2B09494F; 11010 case 0x2B094951u: goto L_2B094951; 11011 case 0x2B094954u: goto L_2B094954; 11012 case 0x2B094956u: goto L_2B094956; 11013 case 0x2B094959u: goto L_2B094959; 11014 case 0x2B09495Cu: goto L_2B09495C; 11015 case 0x2B09495Eu: goto L_2B09495E; 11016 case 0x2B094961u: goto L_2B094961; 11017 case 0x2B094964u: goto L_2B094964; 11018 case 0x2B094967u: goto L_2B094967; 11019 case 0x2B09496Au: goto L_2B09496A; 11020 case 0x2B09496Bu: goto L_2B09496B; 11021 case 0x2B094971u: goto L_2B094971; 11022 case 0x2B094974u: goto L_2B094974; 11023 case 0x2B094976u: goto L_2B094976; 11024 case 0x2B094978u: goto L_2B094978; 11025 case 0x2B09497Du: goto L_2B09497D; 11026 case 0x2B094983u: goto L_2B094983; 11027 case 0x2B094986u: goto L_2B094986; 11028 case 0x2B09498Cu: goto L_2B09498C; 11029 case 0x2B09498Fu: goto L_2B09498F; 11030 case 0x2B094991u: goto L_2B094991; 11031 case 0x2B094998u: goto L_2B094998; 11032 case 0x2B09499Au: goto L_2B09499A; 11033 case 0x2B09499Du: goto L_2B09499D; 11034 case 0x2B0949A0u: goto L_2B0949A0; 11035 case 0x2B0949A1u: goto L_2B0949A1; 11036 case 0x2B0949A3u: goto L_2B0949A3; 11037 case 0x2B0949A5u: goto L_2B0949A5; 11038 case 0x2B0949A7u: goto L_2B0949A7; 11039 case 0x2B0949A9u: goto L_2B0949A9; 11040 case 0x2B0949ABu: goto L_2B0949AB; 11041 case 0x2B0949AEu: goto L_2B0949AE; 11042 case 0x2B0949B0u: goto L_2B0949B0; 11043 case 0x2B0949B2u: goto L_2B0949B2; 11044 case 0x2B0949B5u: goto L_2B0949B5; 11045 case 0x2B0949B9u: goto L_2B0949B9; 11046 case 0x2B0949BFu: goto L_2B0949BF; 11047 case 0x2B0949C1u: goto L_2B0949C1; 11048 case 0x2B0949C4u: goto L_2B0949C4; 11049 case 0x2B0949C8u: goto L_2B0949C8; 11050 case 0x2B0949CEu: goto L_2B0949CE; 11051 case 0x2B0949CFu: goto L_2B0949CF; 11052 case 0x2B0949D4u: goto L_2B0949D4; 11053 case 0x2B0949D7u: goto L_2B0949D7; 11054 case 0x2B0949DAu: goto L_2B0949DA; 11055 case 0x2B0949DCu: goto L_2B0949DC; 11056 case 0x2B0949DDu: goto L_2B0949DD; 11057 case 0x2B0949DEu: goto L_2B0949DE; 11058 case 0x2B0949DFu: goto L_2B0949DF; 11059 case 0x2B0949E1u: goto L_2B0949E1; 11060 case 0x2B0949E4u: goto L_2B0949E4; 11061 case 0x2B0949E6u: goto L_2B0949E6; 11062 case 0x2B0949E8u: goto L_2B0949E8; 11063 case 0x2B0949EAu: goto L_2B0949EA; 11064 case 0x2B0949ECu: goto L_2B0949EC; 11065 case 0x2B0949EEu: goto L_2B0949EE; 11066 case 0x2B0949F1u: goto L_2B0949F1; 11067 case 0x2B0949F4u: goto L_2B0949F4; 11068 case 0x2B0949FBu: goto L_2B0949FB; 11069 case 0x2B0949FDu: goto L_2B0949FD; 11070 case 0x2B0949FEu: goto L_2B0949FE; 11071 case 0x2B094A01u: goto L_2B094A01; 11072 case 0x2B094A02u: goto L_2B094A02; 11073 case 0x2B094A03u: goto L_2B094A03; 11074 case 0x2B094A08u: goto L_2B094A08; 11075 case 0x2B094A0Bu: goto L_2B094A0B; 11076 case 0x2B094A0Eu: goto L_2B094A0E; 11077 case 0x2B094A15u: goto L_2B094A15; 11078 case 0x2B094A17u: goto L_2B094A17; 11079 case 0x2B094A18u: goto L_2B094A18; 11080 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 11081 } 11082 RECOMP_REGS_OUT(); 11083 } 11084 11085 void sub_2B0947DC(void) { 11086 int _fpu_cmp = 0; 11087 uint32_t _cf = 0; 11088 int _df = 1; 11089 uint32_t _flag_k = FK_NONE; 11090 uint32_t _flag_a = 0, _flag_b = 0; 11091 uint32_t _itail_tgt = 0; 11092 RECOMP_REGS_LOCALS 11093 RECOMP_ENTER(0x2B0947DCu); 11094 11095 L_2B0947DC: 11096 PUSH32(esp, 0); /* 0x2B0947DC: push 0 */ 11097 ecx = ebp + (-0x3C); /* 0x2B0947DE: lea ecx, [ebp - 0x3c] */ 11098 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B0947E1: call dword ptr [0x2b0b5a74] */ 11099 RECOMP_FLAGS_IN(); 11100 /* cmp MEM32(ebp + 0xC), 2 */ /* 0x2B0947E7: cmp dword ptr [ebp + 0xc], 2 */ 11101 _flag_a = (uint32_t)(MEM32(ebp + 0xC)); _flag_b = (uint32_t)(2); 11102 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11103 _flag_k = FK_CMP; 11104 if (CMP_NE(_flag_a, _flag_b)) goto L_2B094806; /* 0x2B0947EB: jne 0x2b094806 */ 11105 L_2B0947ED: 11106 edx = MEM32(0x2B0B6048); /* 0x2B0947ED: mov edx, dword ptr [0x2b0b6048] */ 11107 ecx = MEM32(edx); /* 0x2B0947F3: mov ecx, dword ptr [edx] */ 11108 PUSH32(esp, 1); /* 0x2B0947F5: push 1 */ 11109 PUSH32(esp, 0x2B0E8DC0u); /* 0x2B0947F7: push 0x2b0e8dc0 */ 11110 RECOMP_ICALL(ebx); /* 0x2B0947FC: call ebx */ 11111 RECOMP_FLAGS_IN(); 11112 /* test eax, eax */ /* 0x2B0947FE: test eax, eax */ 11113 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11114 _cf = 0; 11115 _flag_k = FK_TEST; 11116 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0948F0; /* 0x2B094800: je 0x2b0948f0 */ 11117 L_2B094806: 11118 edi = MEM32(ebp + 0x8); /* 0x2B094806: mov edi, dword ptr [ebp + 8] */ 11119 eax = MEM32(edi + 0x8); /* 0x2B094809: mov eax, dword ptr [edi + 8] */ 11120 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11121 esi = 0; /* 0x2B09480C: xor esi, esi */ 11122 _cf = 0; 11123 _flag_k = FK_TEST; 11124 /* test eax, eax */ /* 0x2B09480E: test eax, eax */ 11125 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11126 _cf = 0; 11127 _flag_k = FK_TEST; 11128 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0948ED; /* 0x2B094810: jbe 0x2b0948ed */ 11129 L_2B094816: 11130 goto L_2B09481B; /* 0x2B094816: jmp 0x2b09481b */ 11131 L_2B094818: 11132 edi = MEM32(ebp + 0x8); /* 0x2B094818: mov edi, dword ptr [ebp + 8] */ 11133 L_2B09481B: 11134 edx = MEM32(0x2B0B513C); /* 0x2B09481B: mov edx, dword ptr [0x2b0b513c] */ 11135 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 11136 eax = eax - 1; /* 0x2B094821: dec eax */ 11137 _flag_k = FK_DEC; 11138 /* cmp esi, eax */ /* 0x2B094822: cmp esi, eax */ 11139 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 11140 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11141 _flag_k = FK_CMP; 11142 if (CMP_AE(_flag_a, _flag_b)) goto L_2B09488B; /* 0x2B094824: jae 0x2b09488b */ 11143 L_2B094826: 11144 eax = MEM32(edi + 0x4); /* 0x2B094826: mov eax, dword ptr [edi + 4] */ 11145 /* test eax, eax */ /* 0x2B094829: test eax, eax */ 11146 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11147 _cf = 0; 11148 _flag_k = FK_TEST; 11149 ecx = edx; /* 0x2B09482B: mov ecx, edx */ 11150 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094832; /* 0x2B09482D: je 0x2b094832 */ 11151 L_2B09482F: 11152 ecx = eax + esi; /* 0x2B09482F: lea ecx, [eax + esi] */ 11153 L_2B094832: 11154 /* cmp MEM8(ecx), 0x5Cu */ /* 0x2B094832: cmp byte ptr [ecx], 0x5c */ 11155 _flag_a = (uint32_t)(MEM8(ecx)) << 24; _flag_b = (uint32_t)(0x5Cu) << 24; 11156 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11157 _flag_k = FK_NARROW(FK_CMP, 24); 11158 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09488B; /* 0x2B094835: jne 0x2b09488b */ 11159 L_2B094837: 11160 /* test eax, eax */ /* 0x2B094837: test eax, eax */ 11161 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11162 _cf = 0; 11163 _flag_k = FK_TEST; 11164 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09483F; /* 0x2B094839: jne 0x2b09483f */ 11165 L_2B09483B: 11166 eax = edx; /* 0x2B09483B: mov eax, edx */ 11167 goto L_2B094843; /* 0x2B09483D: jmp 0x2b094843 */ 11168 L_2B09483F: 11169 eax = eax + esi + 0x1; /* 0x2B09483F: lea eax, [eax + esi + 1] */ 11170 L_2B094843: 11171 /* cmp MEM8(eax), 0x6Eu */ /* 0x2B094843: cmp byte ptr [eax], 0x6e */ 11172 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0x6Eu) << 24; 11173 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11174 _flag_k = FK_NARROW(FK_CMP, 24); 11175 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09488B; /* 0x2B094846: jne 0x2b09488b */ 11176 L_2B094848: 11177 eax = MEM32(0x2B0B515C); /* 0x2B094848: mov eax, dword ptr [0x2b0b515c] */ 11178 ecx = MEM32(eax); /* 0x2B09484D: mov ecx, dword ptr [eax] */ 11179 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + (-0x34))); 11180 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11181 ecx = ecx - MEM32(ebp + (-0x34)); /* 0x2B09484F: sub ecx, dword ptr [ebp - 0x34] */ 11182 _flag_k = FK_CMP; 11183 /* cmp ecx, 1 */ /* 0x2B094852: cmp ecx, 1 */ 11184 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 11185 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11186 _flag_k = FK_CMP; 11187 if (CMP_A(_flag_a, _flag_b)) goto L_2B09485D; /* 0x2B094855: ja 0x2b09485d */ 11188 L_2B094857: 11189 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B094857: call dword ptr [0x2b0b51a8] */ 11190 RECOMP_FLAGS_IN(); 11191 L_2B09485D: 11192 edx = MEM32(ebp + (-0x34)); /* 0x2B09485D: mov edx, dword ptr [ebp - 0x34] */ 11193 edi = edx + 0x1; /* 0x2B094860: lea edi, [edx + 1] */ 11194 PUSH32(esp, 0); /* 0x2B094863: push 0 */ 11195 PUSH32(esp, edi); /* 0x2B094865: push edi */ 11196 ecx = ebp + (-0x3C); /* 0x2B094866: lea ecx, [ebp - 0x3c] */ 11197 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B094869: call dword ptr [0x2b0b5154] */ 11198 RECOMP_FLAGS_IN(); 11199 /* test LO8(eax), LO8(eax) */ /* 0x2B09486F: test al, al */ 11200 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11201 _cf = 0; 11202 _flag_k = FK_NARROW(FK_TEST, 24); 11203 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094888; /* 0x2B094871: je 0x2b094888 */ 11204 L_2B094873: 11205 eax = MEM32(ebp + (-0x34)); /* 0x2B094873: mov eax, dword ptr [ebp - 0x34] */ 11206 ecx = MEM32(ebp + (-0x38)); /* 0x2B094876: mov ecx, dword ptr [ebp - 0x38] */ 11207 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11208 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11209 eax = eax + ecx; /* 0x2B094879: add eax, ecx */ 11210 _flag_k = FK_ADD; 11211 MEM8(eax) = (uint8_t)(0xAu); /* 0x2B09487B: mov byte ptr [eax], 0xa */ 11212 edx = MEM32(ebp + (-0x38)); /* 0x2B09487E: mov edx, dword ptr [ebp - 0x38] */ 11213 MEM32(ebp + (-0x34)) = edi; /* 0x2B094881: mov dword ptr [ebp - 0x34], edi */ 11214 MEM8(edx + edi) = (uint8_t)(0); /* 0x2B094884: mov byte ptr [edx + edi], 0 */ 11215 L_2B094888: 11216 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 11217 esi = esi + 1; /* 0x2B094888: inc esi */ 11218 _flag_k = FK_INC; 11219 goto L_2B0948DE; /* 0x2B094889: jmp 0x2b0948de */ 11220 L_2B09488B: 11221 eax = MEM32(edi + 0x4); /* 0x2B09488B: mov eax, dword ptr [edi + 4] */ 11222 /* test eax, eax */ /* 0x2B09488E: test eax, eax */ 11223 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11224 _cf = 0; 11225 _flag_k = FK_TEST; 11226 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094896; /* 0x2B094890: jne 0x2b094896 */ 11227 L_2B094892: 11228 eax = edx; /* 0x2B094892: mov eax, edx */ 11229 goto L_2B094898; /* 0x2B094894: jmp 0x2b094898 */ 11230 L_2B094896: 11231 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 11232 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11233 eax = eax + esi; /* 0x2B094896: add eax, esi */ 11234 _flag_k = FK_ADD; 11235 L_2B094898: 11236 SET_LO8(ebx, MEM8(eax)); /* 0x2B094898: mov bl, byte ptr [eax] */ 11237 eax = MEM32(0x2B0B515C); /* 0x2B09489A: mov eax, dword ptr [0x2b0b515c] */ 11238 ecx = MEM32(eax); /* 0x2B09489F: mov ecx, dword ptr [eax] */ 11239 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + (-0x34))); 11240 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11241 ecx = ecx - MEM32(ebp + (-0x34)); /* 0x2B0948A1: sub ecx, dword ptr [ebp - 0x34] */ 11242 _flag_k = FK_CMP; 11243 /* cmp ecx, 1 */ /* 0x2B0948A4: cmp ecx, 1 */ 11244 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 11245 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11246 _flag_k = FK_CMP; 11247 if (CMP_A(_flag_a, _flag_b)) goto L_2B0948AF; /* 0x2B0948A7: ja 0x2b0948af */ 11248 L_2B0948A9: 11249 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0948A9: call dword ptr [0x2b0b51a8] */ 11250 RECOMP_FLAGS_IN(); 11251 L_2B0948AF: 11252 edx = MEM32(ebp + (-0x34)); /* 0x2B0948AF: mov edx, dword ptr [ebp - 0x34] */ 11253 edi = edx + 0x1; /* 0x2B0948B2: lea edi, [edx + 1] */ 11254 PUSH32(esp, 0); /* 0x2B0948B5: push 0 */ 11255 PUSH32(esp, edi); /* 0x2B0948B7: push edi */ 11256 ecx = ebp + (-0x3C); /* 0x2B0948B8: lea ecx, [ebp - 0x3c] */ 11257 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0948BB: call dword ptr [0x2b0b5154] */ 11258 RECOMP_FLAGS_IN(); 11259 /* test LO8(eax), LO8(eax) */ /* 0x2B0948C1: test al, al */ 11260 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11261 _cf = 0; 11262 _flag_k = FK_NARROW(FK_TEST, 24); 11263 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0948DE; /* 0x2B0948C3: je 0x2b0948de */ 11264 L_2B0948C5: 11265 eax = MEM32(ebp + (-0x34)); /* 0x2B0948C5: mov eax, dword ptr [ebp - 0x34] */ 11266 ecx = MEM32(ebp + (-0x38)); /* 0x2B0948C8: mov ecx, dword ptr [ebp - 0x38] */ 11267 edx = (int32_t)(int8_t)LO8(ebx); /* 0x2B0948CB: movsx edx, bl */ 11268 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11269 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11270 eax = eax + ecx; /* 0x2B0948CE: add eax, ecx */ 11271 _flag_k = FK_ADD; 11272 MEM8(eax) = (uint8_t)(LO8(edx)); /* 0x2B0948D0: mov byte ptr [eax], dl */ 11273 SET_HI8(edx, LO8(edx)); /* 0x2B0948D2: mov dh, dl */ 11274 edx = MEM32(ebp + (-0x38)); /* 0x2B0948D4: mov edx, dword ptr [ebp - 0x38] */ 11275 MEM32(ebp + (-0x34)) = edi; /* 0x2B0948D7: mov dword ptr [ebp - 0x34], edi */ 11276 MEM8(edx + edi) = (uint8_t)(0); /* 0x2B0948DA: mov byte ptr [edx + edi], 0 */ 11277 L_2B0948DE: 11278 eax = MEM32(ebp + 0x8); /* 0x2B0948DE: mov eax, dword ptr [ebp + 8] */ 11279 eax = MEM32(eax + 0x8); /* 0x2B0948E1: mov eax, dword ptr [eax + 8] */ 11280 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 11281 esi = esi + 1; /* 0x2B0948E4: inc esi */ 11282 _flag_k = FK_INC; 11283 /* cmp esi, eax */ /* 0x2B0948E5: cmp esi, eax */ 11284 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 11285 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11286 _flag_k = FK_CMP; 11287 RECOMP_BACKEDGE(); 11288 if (CMP_B(_flag_a, _flag_b)) goto L_2B094818; /* 0x2B0948E7: jb 0x2b094818 */ 11289 L_2B0948ED: 11290 esi = MEM32(ebp + (-0x10)); /* 0x2B0948ED: mov esi, dword ptr [ebp - 0x10] */ 11291 L_2B0948F0: 11292 ecx = MEM32(0x2B0B515C); /* 0x2B0948F0: mov ecx, dword ptr [0x2b0b515c] */ 11293 eax = MEM32(ecx); /* 0x2B0948F6: mov eax, dword ptr [ecx] */ 11294 ecx = MEM32(ebp + (-0x34)); /* 0x2B0948F8: mov ecx, dword ptr [ebp - 0x34] */ 11295 ebx = esi + 0x58; /* 0x2B0948FB: lea ebx, [esi + 0x58] */ 11296 esi = eax; /* 0x2B0948FE: mov esi, eax */ 11297 /* cmp ecx, esi */ /* 0x2B094900: cmp ecx, esi */ 11298 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 11299 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11300 _flag_k = FK_CMP; 11301 if (CMP_AE(_flag_a, _flag_b)) goto L_2B094906; /* 0x2B094902: jae 0x2b094906 */ 11302 L_2B094904: 11303 esi = ecx; /* 0x2B094904: mov esi, ecx */ 11304 L_2B094906: 11305 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebx + 0x8)); 11306 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11307 eax = eax - MEM32(ebx + 0x8); /* 0x2B094906: sub eax, dword ptr [ebx + 8] */ 11308 _flag_k = FK_CMP; 11309 /* cmp eax, esi */ /* 0x2B094909: cmp eax, esi */ 11310 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 11311 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11312 _flag_k = FK_CMP; 11313 if (CMP_A(_flag_a, _flag_b)) goto L_2B094913; /* 0x2B09490B: ja 0x2b094913 */ 11314 L_2B09490D: 11315 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B09490D: call dword ptr [0x2b0b51a8] */ 11316 RECOMP_FLAGS_IN(); 11317 L_2B094913: 11318 /* test esi, esi */ /* 0x2B094913: test esi, esi */ 11319 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 11320 _cf = 0; 11321 _flag_k = FK_TEST; 11322 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094964; /* 0x2B094915: jbe 0x2b094964 */ 11323 L_2B094917: 11324 ecx = MEM32(ebx + 0x8); /* 0x2B094917: mov ecx, dword ptr [ebx + 8] */ 11325 eax = esi; /* 0x2B09491A: mov eax, esi */ 11326 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11327 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11328 eax = eax + ecx; /* 0x2B09491C: add eax, ecx */ 11329 _flag_k = FK_ADD; 11330 PUSH32(esp, 0); /* 0x2B09491E: push 0 */ 11331 PUSH32(esp, eax); /* 0x2B094920: push eax */ 11332 ecx = ebx; /* 0x2B094921: mov ecx, ebx */ 11333 MEM32(ebp + 0x8) = eax; /* 0x2B094923: mov dword ptr [ebp + 8], eax */ 11334 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B094926: call dword ptr [0x2b0b5154] */ 11335 RECOMP_FLAGS_IN(); 11336 /* test LO8(eax), LO8(eax) */ /* 0x2B09492C: test al, al */ 11337 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11338 _cf = 0; 11339 _flag_k = FK_NARROW(FK_TEST, 24); 11340 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094964; /* 0x2B09492E: je 0x2b094964 */ 11341 L_2B094930: 11342 eax = MEM32(ebp + (-0x38)); /* 0x2B094930: mov eax, dword ptr [ebp - 0x38] */ 11343 /* test eax, eax */ /* 0x2B094933: test eax, eax */ 11344 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11345 _cf = 0; 11346 _flag_k = FK_TEST; 11347 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09493C; /* 0x2B094935: jne 0x2b09493c */ 11348 L_2B094937: 11349 eax = MEM32(0x2B0B513C); /* 0x2B094937: mov eax, dword ptr [0x2b0b513c] */ 11350 L_2B09493C: 11351 ecx = MEM32(ebx + 0x8); /* 0x2B09493C: mov ecx, dword ptr [ebx + 8] */ 11352 edi = MEM32(ebx + 0x4); /* 0x2B09493F: mov edi, dword ptr [ebx + 4] */ 11353 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 11354 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11355 edi = edi + ecx; /* 0x2B094942: add edi, ecx */ 11356 _flag_k = FK_ADD; 11357 ecx = esi; /* 0x2B094944: mov ecx, esi */ 11358 edx = ecx; /* 0x2B094946: mov edx, ecx */ 11359 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B094948: shr ecx, 2 */ 11360 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11361 ecx = ecx >> 2u; /* 0x2B094948: shr ecx, 2 */ 11362 esi = eax; /* 0x2B09494B: mov esi, eax */ 11363 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B09494D: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 11364 ecx = edx; /* 0x2B09494F: mov ecx, edx */ 11365 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 11366 ecx = ecx & 3; /* 0x2B094951: and ecx, 3 */ 11367 _cf = 0; 11368 _flag_k = FK_TEST; 11369 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B094954: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; } 11370 ecx = MEM32(ebp + 0x8); /* 0x2B094956: mov ecx, dword ptr [ebp + 8] */ 11371 eax = MEM32(ebx + 0x4); /* 0x2B094959: mov eax, dword ptr [ebx + 4] */ 11372 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11373 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11374 eax = eax + ecx; /* 0x2B09495C: add eax, ecx */ 11375 _flag_k = FK_ADD; 11376 MEM32(ebx + 0x8) = ecx; /* 0x2B09495E: mov dword ptr [ebx + 8], ecx */ 11377 MEM8(eax) = (uint8_t)(0); /* 0x2B094961: mov byte ptr [eax], 0 */ 11378 L_2B094964: 11379 esi = MEM32(ebp + (-0x10)); /* 0x2B094964: mov esi, dword ptr [ebp - 0x10] */ 11380 ecx = MEM32(esi + 0x24); /* 0x2B094967: mov ecx, dword ptr [esi + 0x24] */ 11381 PUSH32(esp, ebx); /* 0x2B09496A: push ebx */ 11382 RECOMP_ICALL(MEM32(0x2B0B59D4)); /* 0x2B09496B: call dword ptr [0x2b0b59d4] */ 11383 RECOMP_FLAGS_IN(); 11384 ecx = MEM32(esi + 0x24); /* 0x2B094971: mov ecx, dword ptr [esi + 0x24] */ 11385 PUSH32(esp, 1); /* 0x2B094974: push 1 */ 11386 PUSH32(esp, 1); /* 0x2B094976: push 1 */ 11387 PUSH32(esp, 0xFFFE7961u); /* 0x2B094978: push 0xfffe7961 */ 11388 RECOMP_ICALL(MEM32(0x2B0B57E8)); /* 0x2B09497D: call dword ptr [0x2b0b57e8] */ 11389 RECOMP_FLAGS_IN(); 11390 eax = MEM32(ebp + 0xC); /* 0x2B094983: mov eax, dword ptr [ebp + 0xc] */ 11391 MEM32(esi + 0x80) = eax; /* 0x2B094986: mov dword ptr [esi + 0x80], eax */ 11392 esi = MEM32(ebp + (-0x2C)); /* 0x2B09498C: mov esi, dword ptr [ebp - 0x2c] */ 11393 /* test esi, esi */ /* 0x2B09498F: test esi, esi */ 11394 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 11395 _cf = 0; 11396 _flag_k = FK_TEST; 11397 MEM32(ebp + (-0x4)) = 2; /* 0x2B094991: mov dword ptr [ebp - 4], 2 */ 11398 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0949D7; /* 0x2B094998: je 0x2b0949d7 */ 11399 L_2B09499A: 11400 edx = MEM32(esi + 0x2C); /* 0x2B09499A: mov edx, dword ptr [esi + 0x2c] */ 11401 eax = esi + 0x2C; /* 0x2B09499D: lea eax, [esi + 0x2c] */ 11402 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 11403 edx = edx - 1; /* 0x2B0949A0: dec edx */ 11404 _flag_k = FK_DEC; 11405 ecx = edx; /* 0x2B0949A1: mov ecx, edx */ 11406 /* test ecx, ecx */ /* 0x2B0949A3: test ecx, ecx */ 11407 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11408 _cf = 0; 11409 _flag_k = FK_TEST; 11410 MEM32(eax) = edx; /* 0x2B0949A5: mov dword ptr [eax], edx */ 11411 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0949D7; /* 0x2B0949A7: jne 0x2b0949d7 */ 11412 L_2B0949A9: 11413 /* test esi, esi */ /* 0x2B0949A9: test esi, esi */ 11414 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 11415 _cf = 0; 11416 _flag_k = FK_TEST; 11417 MEM32(ebp + 0x8) = esi; /* 0x2B0949AB: mov dword ptr [ebp + 8], esi */ 11418 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0949D7; /* 0x2B0949AE: je 0x2b0949d7 */ 11419 L_2B0949B0: 11420 PUSH32(esp, 1); /* 0x2B0949B0: push 1 */ 11421 ecx = esi + 0x1C; /* 0x2B0949B2: lea ecx, [esi + 0x1c] */ 11422 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B0949B5: mov byte ptr [ebp - 4], 3 */ 11423 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0949B9: call dword ptr [0x2b0b514c] */ 11424 RECOMP_FLAGS_IN(); 11425 PUSH32(esp, 1); /* 0x2B0949BF: push 1 */ 11426 ecx = esi + 0xC; /* 0x2B0949C1: lea ecx, [esi + 0xc] */ 11427 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B0949C4: mov byte ptr [ebp - 4], 2 */ 11428 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0949C8: call dword ptr [0x2b0b514c] */ 11429 RECOMP_FLAGS_IN(); 11430 PUSH32(esp, esi); /* 0x2B0949CE: push esi */ 11431 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0949CF: call 0x2b0ab1ba */ /* not lifted */ 11432 RECOMP_FLAGS_IN(); 11433 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11434 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11435 esp = esp + 4; /* 0x2B0949D4: add esp, 4 */ 11436 _flag_k = FK_ADD; 11437 L_2B0949D7: 11438 ecx = MEM32(ebp + (-0x38)); /* 0x2B0949D7: mov ecx, dword ptr [ebp - 0x38] */ 11439 /* test ecx, ecx */ /* 0x2B0949DA: test ecx, ecx */ 11440 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11441 _cf = 0; 11442 _flag_k = FK_TEST; 11443 edi = POP32_VAL(esp); /* 0x2B0949DC: pop edi */ 11444 esi = POP32_VAL(esp); /* 0x2B0949DD: pop esi */ 11445 ebx = POP32_VAL(esp); /* 0x2B0949DE: pop ebx */ 11446 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094A0B; /* 0x2B0949DF: je 0x2b094a0b */ 11447 L_2B0949E1: 11448 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B0949E1: mov al, byte ptr [ecx - 1] */ 11449 /* test LO8(eax), LO8(eax) */ /* 0x2B0949E4: test al, al */ 11450 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11451 _cf = 0; 11452 _flag_k = FK_NARROW(FK_TEST, 24); 11453 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094A01; /* 0x2B0949E6: je 0x2b094a01 */ 11454 L_2B0949E8: 11455 /* cmp LO8(eax), 0xFFu */ /* 0x2B0949E8: cmp al, 0xff */ 11456 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 11457 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11458 _flag_k = FK_NARROW(FK_CMP, 24); 11459 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094A01; /* 0x2B0949EA: je 0x2b094a01 */ 11460 L_2B0949EC: 11461 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 11462 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0949EC: dec al */ 11463 _flag_k = FK_NARROW(FK_DEC, 24); 11464 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B0949EE: mov byte ptr [ecx - 1], al */ 11465 ecx = MEM32(ebp + (-0xC)); /* 0x2B0949F1: mov ecx, dword ptr [ebp - 0xc] */ 11466 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0949F4: mov dword ptr fs:[0], ecx */ 11467 esp = ebp; /* 0x2B0949FB: mov esp, ebp */ 11468 ebp = POP32_VAL(esp); /* 0x2B0949FD: pop ebp */ 11469 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0949FE: ret 8 */ 11470 L_2B094A01: 11471 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 11472 ecx = ecx - 1; /* 0x2B094A01: dec ecx */ 11473 _flag_k = FK_DEC; 11474 PUSH32(esp, ecx); /* 0x2B094A02: push ecx */ 11475 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B094A03: call 0x2b0ab1ba */ /* not lifted */ 11476 RECOMP_FLAGS_IN(); 11477 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11478 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11479 esp = esp + 4; /* 0x2B094A08: add esp, 4 */ 11480 _flag_k = FK_ADD; 11481 L_2B094A0B: 11482 ecx = MEM32(ebp + (-0xC)); /* 0x2B094A0B: mov ecx, dword ptr [ebp - 0xc] */ 11483 MEM32(FS_BASE + (0)) = ecx; /* 0x2B094A0E: mov dword ptr fs:[0], ecx */ 11484 esp = ebp; /* 0x2B094A15: mov esp, ebp */ 11485 ebp = POP32_VAL(esp); /* 0x2B094A17: pop ebp */ 11486 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B094A18: ret 8 */ 11487 RECOMP_REGS_OUT(); 11488 } 11489 11490 void sub_2B0947E7(void) { 11491 int _fpu_cmp = 0; 11492 uint32_t _cf = 0; 11493 int _df = 1; 11494 uint32_t _flag_k = FK_NONE; 11495 uint32_t _flag_a = 0, _flag_b = 0; 11496 uint32_t _itail_tgt = 0; 11497 RECOMP_REGS_LOCALS 11498 RECOMP_ENTER(0x2B0947E7u); 11499 11500 L_2B0947E7: 11501 /* cmp MEM32(ebp + 0xC), 2 */ /* 0x2B0947E7: cmp dword ptr [ebp + 0xc], 2 */ 11502 _flag_a = (uint32_t)(MEM32(ebp + 0xC)); _flag_b = (uint32_t)(2); 11503 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11504 _flag_k = FK_CMP; 11505 if (CMP_NE(_flag_a, _flag_b)) goto L_2B094806; /* 0x2B0947EB: jne 0x2b094806 */ 11506 L_2B0947ED: 11507 edx = MEM32(0x2B0B6048); /* 0x2B0947ED: mov edx, dword ptr [0x2b0b6048] */ 11508 ecx = MEM32(edx); /* 0x2B0947F3: mov ecx, dword ptr [edx] */ 11509 PUSH32(esp, 1); /* 0x2B0947F5: push 1 */ 11510 PUSH32(esp, 0x2B0E8DC0u); /* 0x2B0947F7: push 0x2b0e8dc0 */ 11511 RECOMP_ICALL(ebx); /* 0x2B0947FC: call ebx */ 11512 RECOMP_FLAGS_IN(); 11513 /* test eax, eax */ /* 0x2B0947FE: test eax, eax */ 11514 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11515 _cf = 0; 11516 _flag_k = FK_TEST; 11517 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0948F0; /* 0x2B094800: je 0x2b0948f0 */ 11518 L_2B094806: 11519 edi = MEM32(ebp + 0x8); /* 0x2B094806: mov edi, dword ptr [ebp + 8] */ 11520 eax = MEM32(edi + 0x8); /* 0x2B094809: mov eax, dword ptr [edi + 8] */ 11521 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11522 esi = 0; /* 0x2B09480C: xor esi, esi */ 11523 _cf = 0; 11524 _flag_k = FK_TEST; 11525 /* test eax, eax */ /* 0x2B09480E: test eax, eax */ 11526 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11527 _cf = 0; 11528 _flag_k = FK_TEST; 11529 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0948ED; /* 0x2B094810: jbe 0x2b0948ed */ 11530 L_2B094816: 11531 goto L_2B09481B; /* 0x2B094816: jmp 0x2b09481b */ 11532 L_2B094818: 11533 edi = MEM32(ebp + 0x8); /* 0x2B094818: mov edi, dword ptr [ebp + 8] */ 11534 L_2B09481B: 11535 edx = MEM32(0x2B0B513C); /* 0x2B09481B: mov edx, dword ptr [0x2b0b513c] */ 11536 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 11537 eax = eax - 1; /* 0x2B094821: dec eax */ 11538 _flag_k = FK_DEC; 11539 /* cmp esi, eax */ /* 0x2B094822: cmp esi, eax */ 11540 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 11541 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11542 _flag_k = FK_CMP; 11543 if (CMP_AE(_flag_a, _flag_b)) goto L_2B09488B; /* 0x2B094824: jae 0x2b09488b */ 11544 L_2B094826: 11545 eax = MEM32(edi + 0x4); /* 0x2B094826: mov eax, dword ptr [edi + 4] */ 11546 /* test eax, eax */ /* 0x2B094829: test eax, eax */ 11547 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11548 _cf = 0; 11549 _flag_k = FK_TEST; 11550 ecx = edx; /* 0x2B09482B: mov ecx, edx */ 11551 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094832; /* 0x2B09482D: je 0x2b094832 */ 11552 L_2B09482F: 11553 ecx = eax + esi; /* 0x2B09482F: lea ecx, [eax + esi] */ 11554 L_2B094832: 11555 /* cmp MEM8(ecx), 0x5Cu */ /* 0x2B094832: cmp byte ptr [ecx], 0x5c */ 11556 _flag_a = (uint32_t)(MEM8(ecx)) << 24; _flag_b = (uint32_t)(0x5Cu) << 24; 11557 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11558 _flag_k = FK_NARROW(FK_CMP, 24); 11559 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09488B; /* 0x2B094835: jne 0x2b09488b */ 11560 L_2B094837: 11561 /* test eax, eax */ /* 0x2B094837: test eax, eax */ 11562 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11563 _cf = 0; 11564 _flag_k = FK_TEST; 11565 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09483F; /* 0x2B094839: jne 0x2b09483f */ 11566 L_2B09483B: 11567 eax = edx; /* 0x2B09483B: mov eax, edx */ 11568 goto L_2B094843; /* 0x2B09483D: jmp 0x2b094843 */ 11569 L_2B09483F: 11570 eax = eax + esi + 0x1; /* 0x2B09483F: lea eax, [eax + esi + 1] */ 11571 L_2B094843: 11572 /* cmp MEM8(eax), 0x6Eu */ /* 0x2B094843: cmp byte ptr [eax], 0x6e */ 11573 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0x6Eu) << 24; 11574 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11575 _flag_k = FK_NARROW(FK_CMP, 24); 11576 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09488B; /* 0x2B094846: jne 0x2b09488b */ 11577 L_2B094848: 11578 eax = MEM32(0x2B0B515C); /* 0x2B094848: mov eax, dword ptr [0x2b0b515c] */ 11579 ecx = MEM32(eax); /* 0x2B09484D: mov ecx, dword ptr [eax] */ 11580 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + (-0x34))); 11581 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11582 ecx = ecx - MEM32(ebp + (-0x34)); /* 0x2B09484F: sub ecx, dword ptr [ebp - 0x34] */ 11583 _flag_k = FK_CMP; 11584 /* cmp ecx, 1 */ /* 0x2B094852: cmp ecx, 1 */ 11585 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 11586 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11587 _flag_k = FK_CMP; 11588 if (CMP_A(_flag_a, _flag_b)) goto L_2B09485D; /* 0x2B094855: ja 0x2b09485d */ 11589 L_2B094857: 11590 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B094857: call dword ptr [0x2b0b51a8] */ 11591 RECOMP_FLAGS_IN(); 11592 L_2B09485D: 11593 edx = MEM32(ebp + (-0x34)); /* 0x2B09485D: mov edx, dword ptr [ebp - 0x34] */ 11594 edi = edx + 0x1; /* 0x2B094860: lea edi, [edx + 1] */ 11595 PUSH32(esp, 0); /* 0x2B094863: push 0 */ 11596 PUSH32(esp, edi); /* 0x2B094865: push edi */ 11597 ecx = ebp + (-0x3C); /* 0x2B094866: lea ecx, [ebp - 0x3c] */ 11598 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B094869: call dword ptr [0x2b0b5154] */ 11599 RECOMP_FLAGS_IN(); 11600 /* test LO8(eax), LO8(eax) */ /* 0x2B09486F: test al, al */ 11601 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11602 _cf = 0; 11603 _flag_k = FK_NARROW(FK_TEST, 24); 11604 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094888; /* 0x2B094871: je 0x2b094888 */ 11605 L_2B094873: 11606 eax = MEM32(ebp + (-0x34)); /* 0x2B094873: mov eax, dword ptr [ebp - 0x34] */ 11607 ecx = MEM32(ebp + (-0x38)); /* 0x2B094876: mov ecx, dword ptr [ebp - 0x38] */ 11608 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11609 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11610 eax = eax + ecx; /* 0x2B094879: add eax, ecx */ 11611 _flag_k = FK_ADD; 11612 MEM8(eax) = (uint8_t)(0xAu); /* 0x2B09487B: mov byte ptr [eax], 0xa */ 11613 edx = MEM32(ebp + (-0x38)); /* 0x2B09487E: mov edx, dword ptr [ebp - 0x38] */ 11614 MEM32(ebp + (-0x34)) = edi; /* 0x2B094881: mov dword ptr [ebp - 0x34], edi */ 11615 MEM8(edx + edi) = (uint8_t)(0); /* 0x2B094884: mov byte ptr [edx + edi], 0 */ 11616 L_2B094888: 11617 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 11618 esi = esi + 1; /* 0x2B094888: inc esi */ 11619 _flag_k = FK_INC; 11620 goto L_2B0948DE; /* 0x2B094889: jmp 0x2b0948de */ 11621 L_2B09488B: 11622 eax = MEM32(edi + 0x4); /* 0x2B09488B: mov eax, dword ptr [edi + 4] */ 11623 /* test eax, eax */ /* 0x2B09488E: test eax, eax */ 11624 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11625 _cf = 0; 11626 _flag_k = FK_TEST; 11627 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094896; /* 0x2B094890: jne 0x2b094896 */ 11628 L_2B094892: 11629 eax = edx; /* 0x2B094892: mov eax, edx */ 11630 goto L_2B094898; /* 0x2B094894: jmp 0x2b094898 */ 11631 L_2B094896: 11632 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 11633 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11634 eax = eax + esi; /* 0x2B094896: add eax, esi */ 11635 _flag_k = FK_ADD; 11636 L_2B094898: 11637 SET_LO8(ebx, MEM8(eax)); /* 0x2B094898: mov bl, byte ptr [eax] */ 11638 eax = MEM32(0x2B0B515C); /* 0x2B09489A: mov eax, dword ptr [0x2b0b515c] */ 11639 ecx = MEM32(eax); /* 0x2B09489F: mov ecx, dword ptr [eax] */ 11640 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + (-0x34))); 11641 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11642 ecx = ecx - MEM32(ebp + (-0x34)); /* 0x2B0948A1: sub ecx, dword ptr [ebp - 0x34] */ 11643 _flag_k = FK_CMP; 11644 /* cmp ecx, 1 */ /* 0x2B0948A4: cmp ecx, 1 */ 11645 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 11646 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11647 _flag_k = FK_CMP; 11648 if (CMP_A(_flag_a, _flag_b)) goto L_2B0948AF; /* 0x2B0948A7: ja 0x2b0948af */ 11649 L_2B0948A9: 11650 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0948A9: call dword ptr [0x2b0b51a8] */ 11651 RECOMP_FLAGS_IN(); 11652 L_2B0948AF: 11653 edx = MEM32(ebp + (-0x34)); /* 0x2B0948AF: mov edx, dword ptr [ebp - 0x34] */ 11654 edi = edx + 0x1; /* 0x2B0948B2: lea edi, [edx + 1] */ 11655 PUSH32(esp, 0); /* 0x2B0948B5: push 0 */ 11656 PUSH32(esp, edi); /* 0x2B0948B7: push edi */ 11657 ecx = ebp + (-0x3C); /* 0x2B0948B8: lea ecx, [ebp - 0x3c] */ 11658 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0948BB: call dword ptr [0x2b0b5154] */ 11659 RECOMP_FLAGS_IN(); 11660 /* test LO8(eax), LO8(eax) */ /* 0x2B0948C1: test al, al */ 11661 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11662 _cf = 0; 11663 _flag_k = FK_NARROW(FK_TEST, 24); 11664 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0948DE; /* 0x2B0948C3: je 0x2b0948de */ 11665 L_2B0948C5: 11666 eax = MEM32(ebp + (-0x34)); /* 0x2B0948C5: mov eax, dword ptr [ebp - 0x34] */ 11667 ecx = MEM32(ebp + (-0x38)); /* 0x2B0948C8: mov ecx, dword ptr [ebp - 0x38] */ 11668 edx = (int32_t)(int8_t)LO8(ebx); /* 0x2B0948CB: movsx edx, bl */ 11669 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11670 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11671 eax = eax + ecx; /* 0x2B0948CE: add eax, ecx */ 11672 _flag_k = FK_ADD; 11673 MEM8(eax) = (uint8_t)(LO8(edx)); /* 0x2B0948D0: mov byte ptr [eax], dl */ 11674 SET_HI8(edx, LO8(edx)); /* 0x2B0948D2: mov dh, dl */ 11675 edx = MEM32(ebp + (-0x38)); /* 0x2B0948D4: mov edx, dword ptr [ebp - 0x38] */ 11676 MEM32(ebp + (-0x34)) = edi; /* 0x2B0948D7: mov dword ptr [ebp - 0x34], edi */ 11677 MEM8(edx + edi) = (uint8_t)(0); /* 0x2B0948DA: mov byte ptr [edx + edi], 0 */ 11678 L_2B0948DE: 11679 eax = MEM32(ebp + 0x8); /* 0x2B0948DE: mov eax, dword ptr [ebp + 8] */ 11680 eax = MEM32(eax + 0x8); /* 0x2B0948E1: mov eax, dword ptr [eax + 8] */ 11681 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 11682 esi = esi + 1; /* 0x2B0948E4: inc esi */ 11683 _flag_k = FK_INC; 11684 /* cmp esi, eax */ /* 0x2B0948E5: cmp esi, eax */ 11685 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 11686 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11687 _flag_k = FK_CMP; 11688 RECOMP_BACKEDGE(); 11689 if (CMP_B(_flag_a, _flag_b)) goto L_2B094818; /* 0x2B0948E7: jb 0x2b094818 */ 11690 L_2B0948ED: 11691 esi = MEM32(ebp + (-0x10)); /* 0x2B0948ED: mov esi, dword ptr [ebp - 0x10] */ 11692 L_2B0948F0: 11693 ecx = MEM32(0x2B0B515C); /* 0x2B0948F0: mov ecx, dword ptr [0x2b0b515c] */ 11694 eax = MEM32(ecx); /* 0x2B0948F6: mov eax, dword ptr [ecx] */ 11695 ecx = MEM32(ebp + (-0x34)); /* 0x2B0948F8: mov ecx, dword ptr [ebp - 0x34] */ 11696 ebx = esi + 0x58; /* 0x2B0948FB: lea ebx, [esi + 0x58] */ 11697 esi = eax; /* 0x2B0948FE: mov esi, eax */ 11698 /* cmp ecx, esi */ /* 0x2B094900: cmp ecx, esi */ 11699 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 11700 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11701 _flag_k = FK_CMP; 11702 if (CMP_AE(_flag_a, _flag_b)) goto L_2B094906; /* 0x2B094902: jae 0x2b094906 */ 11703 L_2B094904: 11704 esi = ecx; /* 0x2B094904: mov esi, ecx */ 11705 L_2B094906: 11706 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebx + 0x8)); 11707 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11708 eax = eax - MEM32(ebx + 0x8); /* 0x2B094906: sub eax, dword ptr [ebx + 8] */ 11709 _flag_k = FK_CMP; 11710 /* cmp eax, esi */ /* 0x2B094909: cmp eax, esi */ 11711 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 11712 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11713 _flag_k = FK_CMP; 11714 if (CMP_A(_flag_a, _flag_b)) goto L_2B094913; /* 0x2B09490B: ja 0x2b094913 */ 11715 L_2B09490D: 11716 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B09490D: call dword ptr [0x2b0b51a8] */ 11717 RECOMP_FLAGS_IN(); 11718 L_2B094913: 11719 /* test esi, esi */ /* 0x2B094913: test esi, esi */ 11720 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 11721 _cf = 0; 11722 _flag_k = FK_TEST; 11723 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094964; /* 0x2B094915: jbe 0x2b094964 */ 11724 L_2B094917: 11725 ecx = MEM32(ebx + 0x8); /* 0x2B094917: mov ecx, dword ptr [ebx + 8] */ 11726 eax = esi; /* 0x2B09491A: mov eax, esi */ 11727 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11728 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11729 eax = eax + ecx; /* 0x2B09491C: add eax, ecx */ 11730 _flag_k = FK_ADD; 11731 PUSH32(esp, 0); /* 0x2B09491E: push 0 */ 11732 PUSH32(esp, eax); /* 0x2B094920: push eax */ 11733 ecx = ebx; /* 0x2B094921: mov ecx, ebx */ 11734 MEM32(ebp + 0x8) = eax; /* 0x2B094923: mov dword ptr [ebp + 8], eax */ 11735 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B094926: call dword ptr [0x2b0b5154] */ 11736 RECOMP_FLAGS_IN(); 11737 /* test LO8(eax), LO8(eax) */ /* 0x2B09492C: test al, al */ 11738 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11739 _cf = 0; 11740 _flag_k = FK_NARROW(FK_TEST, 24); 11741 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094964; /* 0x2B09492E: je 0x2b094964 */ 11742 L_2B094930: 11743 eax = MEM32(ebp + (-0x38)); /* 0x2B094930: mov eax, dword ptr [ebp - 0x38] */ 11744 /* test eax, eax */ /* 0x2B094933: test eax, eax */ 11745 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11746 _cf = 0; 11747 _flag_k = FK_TEST; 11748 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09493C; /* 0x2B094935: jne 0x2b09493c */ 11749 L_2B094937: 11750 eax = MEM32(0x2B0B513C); /* 0x2B094937: mov eax, dword ptr [0x2b0b513c] */ 11751 L_2B09493C: 11752 ecx = MEM32(ebx + 0x8); /* 0x2B09493C: mov ecx, dword ptr [ebx + 8] */ 11753 edi = MEM32(ebx + 0x4); /* 0x2B09493F: mov edi, dword ptr [ebx + 4] */ 11754 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 11755 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11756 edi = edi + ecx; /* 0x2B094942: add edi, ecx */ 11757 _flag_k = FK_ADD; 11758 ecx = esi; /* 0x2B094944: mov ecx, esi */ 11759 edx = ecx; /* 0x2B094946: mov edx, ecx */ 11760 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B094948: shr ecx, 2 */ 11761 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11762 ecx = ecx >> 2u; /* 0x2B094948: shr ecx, 2 */ 11763 esi = eax; /* 0x2B09494B: mov esi, eax */ 11764 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B09494D: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 11765 ecx = edx; /* 0x2B09494F: mov ecx, edx */ 11766 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 11767 ecx = ecx & 3; /* 0x2B094951: and ecx, 3 */ 11768 _cf = 0; 11769 _flag_k = FK_TEST; 11770 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B094954: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; } 11771 ecx = MEM32(ebp + 0x8); /* 0x2B094956: mov ecx, dword ptr [ebp + 8] */ 11772 eax = MEM32(ebx + 0x4); /* 0x2B094959: mov eax, dword ptr [ebx + 4] */ 11773 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11774 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11775 eax = eax + ecx; /* 0x2B09495C: add eax, ecx */ 11776 _flag_k = FK_ADD; 11777 MEM32(ebx + 0x8) = ecx; /* 0x2B09495E: mov dword ptr [ebx + 8], ecx */ 11778 MEM8(eax) = (uint8_t)(0); /* 0x2B094961: mov byte ptr [eax], 0 */ 11779 L_2B094964: 11780 esi = MEM32(ebp + (-0x10)); /* 0x2B094964: mov esi, dword ptr [ebp - 0x10] */ 11781 ecx = MEM32(esi + 0x24); /* 0x2B094967: mov ecx, dword ptr [esi + 0x24] */ 11782 PUSH32(esp, ebx); /* 0x2B09496A: push ebx */ 11783 RECOMP_ICALL(MEM32(0x2B0B59D4)); /* 0x2B09496B: call dword ptr [0x2b0b59d4] */ 11784 RECOMP_FLAGS_IN(); 11785 ecx = MEM32(esi + 0x24); /* 0x2B094971: mov ecx, dword ptr [esi + 0x24] */ 11786 PUSH32(esp, 1); /* 0x2B094974: push 1 */ 11787 PUSH32(esp, 1); /* 0x2B094976: push 1 */ 11788 PUSH32(esp, 0xFFFE7961u); /* 0x2B094978: push 0xfffe7961 */ 11789 RECOMP_ICALL(MEM32(0x2B0B57E8)); /* 0x2B09497D: call dword ptr [0x2b0b57e8] */ 11790 RECOMP_FLAGS_IN(); 11791 eax = MEM32(ebp + 0xC); /* 0x2B094983: mov eax, dword ptr [ebp + 0xc] */ 11792 MEM32(esi + 0x80) = eax; /* 0x2B094986: mov dword ptr [esi + 0x80], eax */ 11793 esi = MEM32(ebp + (-0x2C)); /* 0x2B09498C: mov esi, dword ptr [ebp - 0x2c] */ 11794 /* test esi, esi */ /* 0x2B09498F: test esi, esi */ 11795 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 11796 _cf = 0; 11797 _flag_k = FK_TEST; 11798 MEM32(ebp + (-0x4)) = 2; /* 0x2B094991: mov dword ptr [ebp - 4], 2 */ 11799 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0949D7; /* 0x2B094998: je 0x2b0949d7 */ 11800 L_2B09499A: 11801 edx = MEM32(esi + 0x2C); /* 0x2B09499A: mov edx, dword ptr [esi + 0x2c] */ 11802 eax = esi + 0x2C; /* 0x2B09499D: lea eax, [esi + 0x2c] */ 11803 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 11804 edx = edx - 1; /* 0x2B0949A0: dec edx */ 11805 _flag_k = FK_DEC; 11806 ecx = edx; /* 0x2B0949A1: mov ecx, edx */ 11807 /* test ecx, ecx */ /* 0x2B0949A3: test ecx, ecx */ 11808 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11809 _cf = 0; 11810 _flag_k = FK_TEST; 11811 MEM32(eax) = edx; /* 0x2B0949A5: mov dword ptr [eax], edx */ 11812 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0949D7; /* 0x2B0949A7: jne 0x2b0949d7 */ 11813 L_2B0949A9: 11814 /* test esi, esi */ /* 0x2B0949A9: test esi, esi */ 11815 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 11816 _cf = 0; 11817 _flag_k = FK_TEST; 11818 MEM32(ebp + 0x8) = esi; /* 0x2B0949AB: mov dword ptr [ebp + 8], esi */ 11819 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0949D7; /* 0x2B0949AE: je 0x2b0949d7 */ 11820 L_2B0949B0: 11821 PUSH32(esp, 1); /* 0x2B0949B0: push 1 */ 11822 ecx = esi + 0x1C; /* 0x2B0949B2: lea ecx, [esi + 0x1c] */ 11823 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B0949B5: mov byte ptr [ebp - 4], 3 */ 11824 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0949B9: call dword ptr [0x2b0b514c] */ 11825 RECOMP_FLAGS_IN(); 11826 PUSH32(esp, 1); /* 0x2B0949BF: push 1 */ 11827 ecx = esi + 0xC; /* 0x2B0949C1: lea ecx, [esi + 0xc] */ 11828 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B0949C4: mov byte ptr [ebp - 4], 2 */ 11829 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0949C8: call dword ptr [0x2b0b514c] */ 11830 RECOMP_FLAGS_IN(); 11831 PUSH32(esp, esi); /* 0x2B0949CE: push esi */ 11832 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0949CF: call 0x2b0ab1ba */ /* not lifted */ 11833 RECOMP_FLAGS_IN(); 11834 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11835 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11836 esp = esp + 4; /* 0x2B0949D4: add esp, 4 */ 11837 _flag_k = FK_ADD; 11838 L_2B0949D7: 11839 ecx = MEM32(ebp + (-0x38)); /* 0x2B0949D7: mov ecx, dword ptr [ebp - 0x38] */ 11840 /* test ecx, ecx */ /* 0x2B0949DA: test ecx, ecx */ 11841 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11842 _cf = 0; 11843 _flag_k = FK_TEST; 11844 edi = POP32_VAL(esp); /* 0x2B0949DC: pop edi */ 11845 esi = POP32_VAL(esp); /* 0x2B0949DD: pop esi */ 11846 ebx = POP32_VAL(esp); /* 0x2B0949DE: pop ebx */ 11847 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094A0B; /* 0x2B0949DF: je 0x2b094a0b */ 11848 L_2B0949E1: 11849 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B0949E1: mov al, byte ptr [ecx - 1] */ 11850 /* test LO8(eax), LO8(eax) */ /* 0x2B0949E4: test al, al */ 11851 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11852 _cf = 0; 11853 _flag_k = FK_NARROW(FK_TEST, 24); 11854 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094A01; /* 0x2B0949E6: je 0x2b094a01 */ 11855 L_2B0949E8: 11856 /* cmp LO8(eax), 0xFFu */ /* 0x2B0949E8: cmp al, 0xff */ 11857 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 11858 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11859 _flag_k = FK_NARROW(FK_CMP, 24); 11860 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094A01; /* 0x2B0949EA: je 0x2b094a01 */ 11861 L_2B0949EC: 11862 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 11863 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0949EC: dec al */ 11864 _flag_k = FK_NARROW(FK_DEC, 24); 11865 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B0949EE: mov byte ptr [ecx - 1], al */ 11866 ecx = MEM32(ebp + (-0xC)); /* 0x2B0949F1: mov ecx, dword ptr [ebp - 0xc] */ 11867 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0949F4: mov dword ptr fs:[0], ecx */ 11868 esp = ebp; /* 0x2B0949FB: mov esp, ebp */ 11869 ebp = POP32_VAL(esp); /* 0x2B0949FD: pop ebp */ 11870 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0949FE: ret 8 */ 11871 L_2B094A01: 11872 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 11873 ecx = ecx - 1; /* 0x2B094A01: dec ecx */ 11874 _flag_k = FK_DEC; 11875 PUSH32(esp, ecx); /* 0x2B094A02: push ecx */ 11876 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B094A03: call 0x2b0ab1ba */ /* not lifted */ 11877 RECOMP_FLAGS_IN(); 11878 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11879 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11880 esp = esp + 4; /* 0x2B094A08: add esp, 4 */ 11881 _flag_k = FK_ADD; 11882 L_2B094A0B: 11883 ecx = MEM32(ebp + (-0xC)); /* 0x2B094A0B: mov ecx, dword ptr [ebp - 0xc] */ 11884 MEM32(FS_BASE + (0)) = ecx; /* 0x2B094A0E: mov dword ptr fs:[0], ecx */ 11885 esp = ebp; /* 0x2B094A15: mov esp, ebp */ 11886 ebp = POP32_VAL(esp); /* 0x2B094A17: pop ebp */ 11887 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B094A18: ret 8 */ 11888 RECOMP_REGS_OUT(); 11889 } 11890 11891 void sub_2B094818(void) { 11892 int _fpu_cmp = 0; 11893 uint32_t _cf = 0; 11894 int _df = 1; 11895 uint32_t _flag_k = FK_NONE; 11896 uint32_t _flag_a = 0, _flag_b = 0; 11897 uint32_t _itail_tgt = 0; 11898 RECOMP_REGS_LOCALS 11899 RECOMP_ENTER(0x2B094818u); 11900 11901 L_2B094818: 11902 edi = MEM32(ebp + 0x8); /* 0x2B094818: mov edi, dword ptr [ebp + 8] */ 11903 edx = MEM32(0x2B0B513C); /* 0x2B09481B: mov edx, dword ptr [0x2b0b513c] */ 11904 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 11905 eax = eax - 1; /* 0x2B094821: dec eax */ 11906 _flag_k = FK_DEC; 11907 /* cmp esi, eax */ /* 0x2B094822: cmp esi, eax */ 11908 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 11909 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11910 _flag_k = FK_CMP; 11911 if (CMP_AE(_flag_a, _flag_b)) goto L_2B09488B; /* 0x2B094824: jae 0x2b09488b */ 11912 L_2B094826: 11913 eax = MEM32(edi + 0x4); /* 0x2B094826: mov eax, dword ptr [edi + 4] */ 11914 /* test eax, eax */ /* 0x2B094829: test eax, eax */ 11915 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11916 _cf = 0; 11917 _flag_k = FK_TEST; 11918 ecx = edx; /* 0x2B09482B: mov ecx, edx */ 11919 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094832; /* 0x2B09482D: je 0x2b094832 */ 11920 L_2B09482F: 11921 ecx = eax + esi; /* 0x2B09482F: lea ecx, [eax + esi] */ 11922 L_2B094832: 11923 /* cmp MEM8(ecx), 0x5Cu */ /* 0x2B094832: cmp byte ptr [ecx], 0x5c */ 11924 _flag_a = (uint32_t)(MEM8(ecx)) << 24; _flag_b = (uint32_t)(0x5Cu) << 24; 11925 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11926 _flag_k = FK_NARROW(FK_CMP, 24); 11927 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09488B; /* 0x2B094835: jne 0x2b09488b */ 11928 L_2B094837: 11929 /* test eax, eax */ /* 0x2B094837: test eax, eax */ 11930 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11931 _cf = 0; 11932 _flag_k = FK_TEST; 11933 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09483F; /* 0x2B094839: jne 0x2b09483f */ 11934 L_2B09483B: 11935 eax = edx; /* 0x2B09483B: mov eax, edx */ 11936 goto L_2B094843; /* 0x2B09483D: jmp 0x2b094843 */ 11937 L_2B09483F: 11938 eax = eax + esi + 0x1; /* 0x2B09483F: lea eax, [eax + esi + 1] */ 11939 L_2B094843: 11940 /* cmp MEM8(eax), 0x6Eu */ /* 0x2B094843: cmp byte ptr [eax], 0x6e */ 11941 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0x6Eu) << 24; 11942 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11943 _flag_k = FK_NARROW(FK_CMP, 24); 11944 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09488B; /* 0x2B094846: jne 0x2b09488b */ 11945 L_2B094848: 11946 eax = MEM32(0x2B0B515C); /* 0x2B094848: mov eax, dword ptr [0x2b0b515c] */ 11947 ecx = MEM32(eax); /* 0x2B09484D: mov ecx, dword ptr [eax] */ 11948 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + (-0x34))); 11949 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11950 ecx = ecx - MEM32(ebp + (-0x34)); /* 0x2B09484F: sub ecx, dword ptr [ebp - 0x34] */ 11951 _flag_k = FK_CMP; 11952 /* cmp ecx, 1 */ /* 0x2B094852: cmp ecx, 1 */ 11953 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 11954 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11955 _flag_k = FK_CMP; 11956 if (CMP_A(_flag_a, _flag_b)) goto L_2B09485D; /* 0x2B094855: ja 0x2b09485d */ 11957 L_2B094857: 11958 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B094857: call dword ptr [0x2b0b51a8] */ 11959 RECOMP_FLAGS_IN(); 11960 L_2B09485D: 11961 edx = MEM32(ebp + (-0x34)); /* 0x2B09485D: mov edx, dword ptr [ebp - 0x34] */ 11962 edi = edx + 0x1; /* 0x2B094860: lea edi, [edx + 1] */ 11963 PUSH32(esp, 0); /* 0x2B094863: push 0 */ 11964 PUSH32(esp, edi); /* 0x2B094865: push edi */ 11965 ecx = ebp + (-0x3C); /* 0x2B094866: lea ecx, [ebp - 0x3c] */ 11966 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B094869: call dword ptr [0x2b0b5154] */ 11967 RECOMP_FLAGS_IN(); 11968 /* test LO8(eax), LO8(eax) */ /* 0x2B09486F: test al, al */ 11969 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11970 _cf = 0; 11971 _flag_k = FK_NARROW(FK_TEST, 24); 11972 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094888; /* 0x2B094871: je 0x2b094888 */ 11973 L_2B094873: 11974 eax = MEM32(ebp + (-0x34)); /* 0x2B094873: mov eax, dword ptr [ebp - 0x34] */ 11975 ecx = MEM32(ebp + (-0x38)); /* 0x2B094876: mov ecx, dword ptr [ebp - 0x38] */ 11976 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11977 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11978 eax = eax + ecx; /* 0x2B094879: add eax, ecx */ 11979 _flag_k = FK_ADD; 11980 MEM8(eax) = (uint8_t)(0xAu); /* 0x2B09487B: mov byte ptr [eax], 0xa */ 11981 edx = MEM32(ebp + (-0x38)); /* 0x2B09487E: mov edx, dword ptr [ebp - 0x38] */ 11982 MEM32(ebp + (-0x34)) = edi; /* 0x2B094881: mov dword ptr [ebp - 0x34], edi */ 11983 MEM8(edx + edi) = (uint8_t)(0); /* 0x2B094884: mov byte ptr [edx + edi], 0 */ 11984 L_2B094888: 11985 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 11986 esi = esi + 1; /* 0x2B094888: inc esi */ 11987 _flag_k = FK_INC; 11988 goto L_2B0948DE; /* 0x2B094889: jmp 0x2b0948de */ 11989 L_2B09488B: 11990 eax = MEM32(edi + 0x4); /* 0x2B09488B: mov eax, dword ptr [edi + 4] */ 11991 /* test eax, eax */ /* 0x2B09488E: test eax, eax */ 11992 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11993 _cf = 0; 11994 _flag_k = FK_TEST; 11995 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094896; /* 0x2B094890: jne 0x2b094896 */ 11996 L_2B094892: 11997 eax = edx; /* 0x2B094892: mov eax, edx */ 11998 goto L_2B094898; /* 0x2B094894: jmp 0x2b094898 */ 11999 L_2B094896: 12000 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 12001 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12002 eax = eax + esi; /* 0x2B094896: add eax, esi */ 12003 _flag_k = FK_ADD; 12004 L_2B094898: 12005 SET_LO8(ebx, MEM8(eax)); /* 0x2B094898: mov bl, byte ptr [eax] */ 12006 eax = MEM32(0x2B0B515C); /* 0x2B09489A: mov eax, dword ptr [0x2b0b515c] */ 12007 ecx = MEM32(eax); /* 0x2B09489F: mov ecx, dword ptr [eax] */ 12008 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + (-0x34))); 12009 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12010 ecx = ecx - MEM32(ebp + (-0x34)); /* 0x2B0948A1: sub ecx, dword ptr [ebp - 0x34] */ 12011 _flag_k = FK_CMP; 12012 /* cmp ecx, 1 */ /* 0x2B0948A4: cmp ecx, 1 */ 12013 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12014 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12015 _flag_k = FK_CMP; 12016 if (CMP_A(_flag_a, _flag_b)) goto L_2B0948AF; /* 0x2B0948A7: ja 0x2b0948af */ 12017 L_2B0948A9: 12018 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0948A9: call dword ptr [0x2b0b51a8] */ 12019 RECOMP_FLAGS_IN(); 12020 L_2B0948AF: 12021 edx = MEM32(ebp + (-0x34)); /* 0x2B0948AF: mov edx, dword ptr [ebp - 0x34] */ 12022 edi = edx + 0x1; /* 0x2B0948B2: lea edi, [edx + 1] */ 12023 PUSH32(esp, 0); /* 0x2B0948B5: push 0 */ 12024 PUSH32(esp, edi); /* 0x2B0948B7: push edi */ 12025 ecx = ebp + (-0x3C); /* 0x2B0948B8: lea ecx, [ebp - 0x3c] */ 12026 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0948BB: call dword ptr [0x2b0b5154] */ 12027 RECOMP_FLAGS_IN(); 12028 /* test LO8(eax), LO8(eax) */ /* 0x2B0948C1: test al, al */ 12029 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12030 _cf = 0; 12031 _flag_k = FK_NARROW(FK_TEST, 24); 12032 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0948DE; /* 0x2B0948C3: je 0x2b0948de */ 12033 L_2B0948C5: 12034 eax = MEM32(ebp + (-0x34)); /* 0x2B0948C5: mov eax, dword ptr [ebp - 0x34] */ 12035 ecx = MEM32(ebp + (-0x38)); /* 0x2B0948C8: mov ecx, dword ptr [ebp - 0x38] */ 12036 edx = (int32_t)(int8_t)LO8(ebx); /* 0x2B0948CB: movsx edx, bl */ 12037 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12038 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12039 eax = eax + ecx; /* 0x2B0948CE: add eax, ecx */ 12040 _flag_k = FK_ADD; 12041 MEM8(eax) = (uint8_t)(LO8(edx)); /* 0x2B0948D0: mov byte ptr [eax], dl */ 12042 SET_HI8(edx, LO8(edx)); /* 0x2B0948D2: mov dh, dl */ 12043 edx = MEM32(ebp + (-0x38)); /* 0x2B0948D4: mov edx, dword ptr [ebp - 0x38] */ 12044 MEM32(ebp + (-0x34)) = edi; /* 0x2B0948D7: mov dword ptr [ebp - 0x34], edi */ 12045 MEM8(edx + edi) = (uint8_t)(0); /* 0x2B0948DA: mov byte ptr [edx + edi], 0 */ 12046 L_2B0948DE: 12047 eax = MEM32(ebp + 0x8); /* 0x2B0948DE: mov eax, dword ptr [ebp + 8] */ 12048 eax = MEM32(eax + 0x8); /* 0x2B0948E1: mov eax, dword ptr [eax + 8] */ 12049 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 12050 esi = esi + 1; /* 0x2B0948E4: inc esi */ 12051 _flag_k = FK_INC; 12052 /* cmp esi, eax */ /* 0x2B0948E5: cmp esi, eax */ 12053 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 12054 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12055 _flag_k = FK_CMP; 12056 RECOMP_BACKEDGE(); 12057 if (CMP_B(_flag_a, _flag_b)) goto L_2B094818; /* 0x2B0948E7: jb 0x2b094818 */ 12058 L_2B0948ED: 12059 esi = MEM32(ebp + (-0x10)); /* 0x2B0948ED: mov esi, dword ptr [ebp - 0x10] */ 12060 ecx = MEM32(0x2B0B515C); /* 0x2B0948F0: mov ecx, dword ptr [0x2b0b515c] */ 12061 eax = MEM32(ecx); /* 0x2B0948F6: mov eax, dword ptr [ecx] */ 12062 ecx = MEM32(ebp + (-0x34)); /* 0x2B0948F8: mov ecx, dword ptr [ebp - 0x34] */ 12063 ebx = esi + 0x58; /* 0x2B0948FB: lea ebx, [esi + 0x58] */ 12064 esi = eax; /* 0x2B0948FE: mov esi, eax */ 12065 /* cmp ecx, esi */ /* 0x2B094900: cmp ecx, esi */ 12066 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 12067 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12068 _flag_k = FK_CMP; 12069 if (CMP_AE(_flag_a, _flag_b)) goto L_2B094906; /* 0x2B094902: jae 0x2b094906 */ 12070 L_2B094904: 12071 esi = ecx; /* 0x2B094904: mov esi, ecx */ 12072 L_2B094906: 12073 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebx + 0x8)); 12074 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12075 eax = eax - MEM32(ebx + 0x8); /* 0x2B094906: sub eax, dword ptr [ebx + 8] */ 12076 _flag_k = FK_CMP; 12077 /* cmp eax, esi */ /* 0x2B094909: cmp eax, esi */ 12078 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 12079 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12080 _flag_k = FK_CMP; 12081 if (CMP_A(_flag_a, _flag_b)) goto L_2B094913; /* 0x2B09490B: ja 0x2b094913 */ 12082 L_2B09490D: 12083 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B09490D: call dword ptr [0x2b0b51a8] */ 12084 RECOMP_FLAGS_IN(); 12085 L_2B094913: 12086 /* test esi, esi */ /* 0x2B094913: test esi, esi */ 12087 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 12088 _cf = 0; 12089 _flag_k = FK_TEST; 12090 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094964; /* 0x2B094915: jbe 0x2b094964 */ 12091 L_2B094917: 12092 ecx = MEM32(ebx + 0x8); /* 0x2B094917: mov ecx, dword ptr [ebx + 8] */ 12093 eax = esi; /* 0x2B09491A: mov eax, esi */ 12094 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12095 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12096 eax = eax + ecx; /* 0x2B09491C: add eax, ecx */ 12097 _flag_k = FK_ADD; 12098 PUSH32(esp, 0); /* 0x2B09491E: push 0 */ 12099 PUSH32(esp, eax); /* 0x2B094920: push eax */ 12100 ecx = ebx; /* 0x2B094921: mov ecx, ebx */ 12101 MEM32(ebp + 0x8) = eax; /* 0x2B094923: mov dword ptr [ebp + 8], eax */ 12102 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B094926: call dword ptr [0x2b0b5154] */ 12103 RECOMP_FLAGS_IN(); 12104 /* test LO8(eax), LO8(eax) */ /* 0x2B09492C: test al, al */ 12105 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12106 _cf = 0; 12107 _flag_k = FK_NARROW(FK_TEST, 24); 12108 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094964; /* 0x2B09492E: je 0x2b094964 */ 12109 L_2B094930: 12110 eax = MEM32(ebp + (-0x38)); /* 0x2B094930: mov eax, dword ptr [ebp - 0x38] */ 12111 /* test eax, eax */ /* 0x2B094933: test eax, eax */ 12112 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12113 _cf = 0; 12114 _flag_k = FK_TEST; 12115 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09493C; /* 0x2B094935: jne 0x2b09493c */ 12116 L_2B094937: 12117 eax = MEM32(0x2B0B513C); /* 0x2B094937: mov eax, dword ptr [0x2b0b513c] */ 12118 L_2B09493C: 12119 ecx = MEM32(ebx + 0x8); /* 0x2B09493C: mov ecx, dword ptr [ebx + 8] */ 12120 edi = MEM32(ebx + 0x4); /* 0x2B09493F: mov edi, dword ptr [ebx + 4] */ 12121 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 12122 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12123 edi = edi + ecx; /* 0x2B094942: add edi, ecx */ 12124 _flag_k = FK_ADD; 12125 ecx = esi; /* 0x2B094944: mov ecx, esi */ 12126 edx = ecx; /* 0x2B094946: mov edx, ecx */ 12127 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B094948: shr ecx, 2 */ 12128 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12129 ecx = ecx >> 2u; /* 0x2B094948: shr ecx, 2 */ 12130 esi = eax; /* 0x2B09494B: mov esi, eax */ 12131 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B09494D: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 12132 ecx = edx; /* 0x2B09494F: mov ecx, edx */ 12133 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 12134 ecx = ecx & 3; /* 0x2B094951: and ecx, 3 */ 12135 _cf = 0; 12136 _flag_k = FK_TEST; 12137 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B094954: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; } 12138 ecx = MEM32(ebp + 0x8); /* 0x2B094956: mov ecx, dword ptr [ebp + 8] */ 12139 eax = MEM32(ebx + 0x4); /* 0x2B094959: mov eax, dword ptr [ebx + 4] */ 12140 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12141 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12142 eax = eax + ecx; /* 0x2B09495C: add eax, ecx */ 12143 _flag_k = FK_ADD; 12144 MEM32(ebx + 0x8) = ecx; /* 0x2B09495E: mov dword ptr [ebx + 8], ecx */ 12145 MEM8(eax) = (uint8_t)(0); /* 0x2B094961: mov byte ptr [eax], 0 */ 12146 L_2B094964: 12147 esi = MEM32(ebp + (-0x10)); /* 0x2B094964: mov esi, dword ptr [ebp - 0x10] */ 12148 ecx = MEM32(esi + 0x24); /* 0x2B094967: mov ecx, dword ptr [esi + 0x24] */ 12149 PUSH32(esp, ebx); /* 0x2B09496A: push ebx */ 12150 RECOMP_ICALL(MEM32(0x2B0B59D4)); /* 0x2B09496B: call dword ptr [0x2b0b59d4] */ 12151 RECOMP_FLAGS_IN(); 12152 ecx = MEM32(esi + 0x24); /* 0x2B094971: mov ecx, dword ptr [esi + 0x24] */ 12153 PUSH32(esp, 1); /* 0x2B094974: push 1 */ 12154 PUSH32(esp, 1); /* 0x2B094976: push 1 */ 12155 PUSH32(esp, 0xFFFE7961u); /* 0x2B094978: push 0xfffe7961 */ 12156 RECOMP_ICALL(MEM32(0x2B0B57E8)); /* 0x2B09497D: call dword ptr [0x2b0b57e8] */ 12157 RECOMP_FLAGS_IN(); 12158 eax = MEM32(ebp + 0xC); /* 0x2B094983: mov eax, dword ptr [ebp + 0xc] */ 12159 MEM32(esi + 0x80) = eax; /* 0x2B094986: mov dword ptr [esi + 0x80], eax */ 12160 esi = MEM32(ebp + (-0x2C)); /* 0x2B09498C: mov esi, dword ptr [ebp - 0x2c] */ 12161 /* test esi, esi */ /* 0x2B09498F: test esi, esi */ 12162 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 12163 _cf = 0; 12164 _flag_k = FK_TEST; 12165 MEM32(ebp + (-0x4)) = 2; /* 0x2B094991: mov dword ptr [ebp - 4], 2 */ 12166 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0949D7; /* 0x2B094998: je 0x2b0949d7 */ 12167 L_2B09499A: 12168 edx = MEM32(esi + 0x2C); /* 0x2B09499A: mov edx, dword ptr [esi + 0x2c] */ 12169 eax = esi + 0x2C; /* 0x2B09499D: lea eax, [esi + 0x2c] */ 12170 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 12171 edx = edx - 1; /* 0x2B0949A0: dec edx */ 12172 _flag_k = FK_DEC; 12173 ecx = edx; /* 0x2B0949A1: mov ecx, edx */ 12174 /* test ecx, ecx */ /* 0x2B0949A3: test ecx, ecx */ 12175 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12176 _cf = 0; 12177 _flag_k = FK_TEST; 12178 MEM32(eax) = edx; /* 0x2B0949A5: mov dword ptr [eax], edx */ 12179 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0949D7; /* 0x2B0949A7: jne 0x2b0949d7 */ 12180 L_2B0949A9: 12181 /* test esi, esi */ /* 0x2B0949A9: test esi, esi */ 12182 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 12183 _cf = 0; 12184 _flag_k = FK_TEST; 12185 MEM32(ebp + 0x8) = esi; /* 0x2B0949AB: mov dword ptr [ebp + 8], esi */ 12186 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0949D7; /* 0x2B0949AE: je 0x2b0949d7 */ 12187 L_2B0949B0: 12188 PUSH32(esp, 1); /* 0x2B0949B0: push 1 */ 12189 ecx = esi + 0x1C; /* 0x2B0949B2: lea ecx, [esi + 0x1c] */ 12190 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B0949B5: mov byte ptr [ebp - 4], 3 */ 12191 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0949B9: call dword ptr [0x2b0b514c] */ 12192 RECOMP_FLAGS_IN(); 12193 PUSH32(esp, 1); /* 0x2B0949BF: push 1 */ 12194 ecx = esi + 0xC; /* 0x2B0949C1: lea ecx, [esi + 0xc] */ 12195 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B0949C4: mov byte ptr [ebp - 4], 2 */ 12196 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0949C8: call dword ptr [0x2b0b514c] */ 12197 RECOMP_FLAGS_IN(); 12198 PUSH32(esp, esi); /* 0x2B0949CE: push esi */ 12199 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0949CF: call 0x2b0ab1ba */ /* not lifted */ 12200 RECOMP_FLAGS_IN(); 12201 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12202 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12203 esp = esp + 4; /* 0x2B0949D4: add esp, 4 */ 12204 _flag_k = FK_ADD; 12205 L_2B0949D7: 12206 ecx = MEM32(ebp + (-0x38)); /* 0x2B0949D7: mov ecx, dword ptr [ebp - 0x38] */ 12207 /* test ecx, ecx */ /* 0x2B0949DA: test ecx, ecx */ 12208 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12209 _cf = 0; 12210 _flag_k = FK_TEST; 12211 edi = POP32_VAL(esp); /* 0x2B0949DC: pop edi */ 12212 esi = POP32_VAL(esp); /* 0x2B0949DD: pop esi */ 12213 ebx = POP32_VAL(esp); /* 0x2B0949DE: pop ebx */ 12214 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094A0B; /* 0x2B0949DF: je 0x2b094a0b */ 12215 L_2B0949E1: 12216 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B0949E1: mov al, byte ptr [ecx - 1] */ 12217 /* test LO8(eax), LO8(eax) */ /* 0x2B0949E4: test al, al */ 12218 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12219 _cf = 0; 12220 _flag_k = FK_NARROW(FK_TEST, 24); 12221 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094A01; /* 0x2B0949E6: je 0x2b094a01 */ 12222 L_2B0949E8: 12223 /* cmp LO8(eax), 0xFFu */ /* 0x2B0949E8: cmp al, 0xff */ 12224 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 12225 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12226 _flag_k = FK_NARROW(FK_CMP, 24); 12227 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094A01; /* 0x2B0949EA: je 0x2b094a01 */ 12228 L_2B0949EC: 12229 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 12230 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0949EC: dec al */ 12231 _flag_k = FK_NARROW(FK_DEC, 24); 12232 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B0949EE: mov byte ptr [ecx - 1], al */ 12233 ecx = MEM32(ebp + (-0xC)); /* 0x2B0949F1: mov ecx, dword ptr [ebp - 0xc] */ 12234 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0949F4: mov dword ptr fs:[0], ecx */ 12235 esp = ebp; /* 0x2B0949FB: mov esp, ebp */ 12236 ebp = POP32_VAL(esp); /* 0x2B0949FD: pop ebp */ 12237 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0949FE: ret 8 */ 12238 L_2B094A01: 12239 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12240 ecx = ecx - 1; /* 0x2B094A01: dec ecx */ 12241 _flag_k = FK_DEC; 12242 PUSH32(esp, ecx); /* 0x2B094A02: push ecx */ 12243 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B094A03: call 0x2b0ab1ba */ /* not lifted */ 12244 RECOMP_FLAGS_IN(); 12245 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12246 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12247 esp = esp + 4; /* 0x2B094A08: add esp, 4 */ 12248 _flag_k = FK_ADD; 12249 L_2B094A0B: 12250 ecx = MEM32(ebp + (-0xC)); /* 0x2B094A0B: mov ecx, dword ptr [ebp - 0xc] */ 12251 MEM32(FS_BASE + (0)) = ecx; /* 0x2B094A0E: mov dword ptr fs:[0], ecx */ 12252 esp = ebp; /* 0x2B094A15: mov esp, ebp */ 12253 ebp = POP32_VAL(esp); /* 0x2B094A17: pop ebp */ 12254 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B094A18: ret 8 */ 12255 RECOMP_REGS_OUT(); 12256 } 12257 12258 void sub_2B09481B(void) { 12259 int _fpu_cmp = 0; 12260 uint32_t _cf = 0; 12261 int _df = 1; 12262 uint32_t _flag_k = FK_NONE; 12263 uint32_t _flag_a = 0, _flag_b = 0; 12264 uint32_t _itail_tgt = 0; 12265 RECOMP_REGS_LOCALS 12266 RECOMP_ENTER(0x2B09481Bu); 12267 12268 goto L_2B09481B; 12269 L_2B094818: 12270 edi = MEM32(ebp + 0x8); /* 0x2B094818: mov edi, dword ptr [ebp + 8] */ 12271 L_2B09481B: 12272 edx = MEM32(0x2B0B513C); /* 0x2B09481B: mov edx, dword ptr [0x2b0b513c] */ 12273 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 12274 eax = eax - 1; /* 0x2B094821: dec eax */ 12275 _flag_k = FK_DEC; 12276 /* cmp esi, eax */ /* 0x2B094822: cmp esi, eax */ 12277 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 12278 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12279 _flag_k = FK_CMP; 12280 if (CMP_AE(_flag_a, _flag_b)) goto L_2B09488B; /* 0x2B094824: jae 0x2b09488b */ 12281 L_2B094826: 12282 eax = MEM32(edi + 0x4); /* 0x2B094826: mov eax, dword ptr [edi + 4] */ 12283 /* test eax, eax */ /* 0x2B094829: test eax, eax */ 12284 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12285 _cf = 0; 12286 _flag_k = FK_TEST; 12287 ecx = edx; /* 0x2B09482B: mov ecx, edx */ 12288 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094832; /* 0x2B09482D: je 0x2b094832 */ 12289 L_2B09482F: 12290 ecx = eax + esi; /* 0x2B09482F: lea ecx, [eax + esi] */ 12291 L_2B094832: 12292 /* cmp MEM8(ecx), 0x5Cu */ /* 0x2B094832: cmp byte ptr [ecx], 0x5c */ 12293 _flag_a = (uint32_t)(MEM8(ecx)) << 24; _flag_b = (uint32_t)(0x5Cu) << 24; 12294 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12295 _flag_k = FK_NARROW(FK_CMP, 24); 12296 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09488B; /* 0x2B094835: jne 0x2b09488b */ 12297 L_2B094837: 12298 /* test eax, eax */ /* 0x2B094837: test eax, eax */ 12299 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12300 _cf = 0; 12301 _flag_k = FK_TEST; 12302 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09483F; /* 0x2B094839: jne 0x2b09483f */ 12303 L_2B09483B: 12304 eax = edx; /* 0x2B09483B: mov eax, edx */ 12305 goto L_2B094843; /* 0x2B09483D: jmp 0x2b094843 */ 12306 L_2B09483F: 12307 eax = eax + esi + 0x1; /* 0x2B09483F: lea eax, [eax + esi + 1] */ 12308 L_2B094843: 12309 /* cmp MEM8(eax), 0x6Eu */ /* 0x2B094843: cmp byte ptr [eax], 0x6e */ 12310 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0x6Eu) << 24; 12311 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12312 _flag_k = FK_NARROW(FK_CMP, 24); 12313 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09488B; /* 0x2B094846: jne 0x2b09488b */ 12314 L_2B094848: 12315 eax = MEM32(0x2B0B515C); /* 0x2B094848: mov eax, dword ptr [0x2b0b515c] */ 12316 ecx = MEM32(eax); /* 0x2B09484D: mov ecx, dword ptr [eax] */ 12317 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + (-0x34))); 12318 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12319 ecx = ecx - MEM32(ebp + (-0x34)); /* 0x2B09484F: sub ecx, dword ptr [ebp - 0x34] */ 12320 _flag_k = FK_CMP; 12321 /* cmp ecx, 1 */ /* 0x2B094852: cmp ecx, 1 */ 12322 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12323 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12324 _flag_k = FK_CMP; 12325 if (CMP_A(_flag_a, _flag_b)) goto L_2B09485D; /* 0x2B094855: ja 0x2b09485d */ 12326 L_2B094857: 12327 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B094857: call dword ptr [0x2b0b51a8] */ 12328 RECOMP_FLAGS_IN(); 12329 L_2B09485D: 12330 edx = MEM32(ebp + (-0x34)); /* 0x2B09485D: mov edx, dword ptr [ebp - 0x34] */ 12331 edi = edx + 0x1; /* 0x2B094860: lea edi, [edx + 1] */ 12332 PUSH32(esp, 0); /* 0x2B094863: push 0 */ 12333 PUSH32(esp, edi); /* 0x2B094865: push edi */ 12334 ecx = ebp + (-0x3C); /* 0x2B094866: lea ecx, [ebp - 0x3c] */ 12335 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B094869: call dword ptr [0x2b0b5154] */ 12336 RECOMP_FLAGS_IN(); 12337 /* test LO8(eax), LO8(eax) */ /* 0x2B09486F: test al, al */ 12338 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12339 _cf = 0; 12340 _flag_k = FK_NARROW(FK_TEST, 24); 12341 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094888; /* 0x2B094871: je 0x2b094888 */ 12342 L_2B094873: 12343 eax = MEM32(ebp + (-0x34)); /* 0x2B094873: mov eax, dword ptr [ebp - 0x34] */ 12344 ecx = MEM32(ebp + (-0x38)); /* 0x2B094876: mov ecx, dword ptr [ebp - 0x38] */ 12345 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12346 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12347 eax = eax + ecx; /* 0x2B094879: add eax, ecx */ 12348 _flag_k = FK_ADD; 12349 MEM8(eax) = (uint8_t)(0xAu); /* 0x2B09487B: mov byte ptr [eax], 0xa */ 12350 edx = MEM32(ebp + (-0x38)); /* 0x2B09487E: mov edx, dword ptr [ebp - 0x38] */ 12351 MEM32(ebp + (-0x34)) = edi; /* 0x2B094881: mov dword ptr [ebp - 0x34], edi */ 12352 MEM8(edx + edi) = (uint8_t)(0); /* 0x2B094884: mov byte ptr [edx + edi], 0 */ 12353 L_2B094888: 12354 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 12355 esi = esi + 1; /* 0x2B094888: inc esi */ 12356 _flag_k = FK_INC; 12357 goto L_2B0948DE; /* 0x2B094889: jmp 0x2b0948de */ 12358 L_2B09488B: 12359 eax = MEM32(edi + 0x4); /* 0x2B09488B: mov eax, dword ptr [edi + 4] */ 12360 /* test eax, eax */ /* 0x2B09488E: test eax, eax */ 12361 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12362 _cf = 0; 12363 _flag_k = FK_TEST; 12364 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094896; /* 0x2B094890: jne 0x2b094896 */ 12365 L_2B094892: 12366 eax = edx; /* 0x2B094892: mov eax, edx */ 12367 goto L_2B094898; /* 0x2B094894: jmp 0x2b094898 */ 12368 L_2B094896: 12369 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 12370 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12371 eax = eax + esi; /* 0x2B094896: add eax, esi */ 12372 _flag_k = FK_ADD; 12373 L_2B094898: 12374 SET_LO8(ebx, MEM8(eax)); /* 0x2B094898: mov bl, byte ptr [eax] */ 12375 eax = MEM32(0x2B0B515C); /* 0x2B09489A: mov eax, dword ptr [0x2b0b515c] */ 12376 ecx = MEM32(eax); /* 0x2B09489F: mov ecx, dword ptr [eax] */ 12377 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + (-0x34))); 12378 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12379 ecx = ecx - MEM32(ebp + (-0x34)); /* 0x2B0948A1: sub ecx, dword ptr [ebp - 0x34] */ 12380 _flag_k = FK_CMP; 12381 /* cmp ecx, 1 */ /* 0x2B0948A4: cmp ecx, 1 */ 12382 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12383 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12384 _flag_k = FK_CMP; 12385 if (CMP_A(_flag_a, _flag_b)) goto L_2B0948AF; /* 0x2B0948A7: ja 0x2b0948af */ 12386 L_2B0948A9: 12387 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0948A9: call dword ptr [0x2b0b51a8] */ 12388 RECOMP_FLAGS_IN(); 12389 L_2B0948AF: 12390 edx = MEM32(ebp + (-0x34)); /* 0x2B0948AF: mov edx, dword ptr [ebp - 0x34] */ 12391 edi = edx + 0x1; /* 0x2B0948B2: lea edi, [edx + 1] */ 12392 PUSH32(esp, 0); /* 0x2B0948B5: push 0 */ 12393 PUSH32(esp, edi); /* 0x2B0948B7: push edi */ 12394 ecx = ebp + (-0x3C); /* 0x2B0948B8: lea ecx, [ebp - 0x3c] */ 12395 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0948BB: call dword ptr [0x2b0b5154] */ 12396 RECOMP_FLAGS_IN(); 12397 /* test LO8(eax), LO8(eax) */ /* 0x2B0948C1: test al, al */ 12398 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12399 _cf = 0; 12400 _flag_k = FK_NARROW(FK_TEST, 24); 12401 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0948DE; /* 0x2B0948C3: je 0x2b0948de */ 12402 L_2B0948C5: 12403 eax = MEM32(ebp + (-0x34)); /* 0x2B0948C5: mov eax, dword ptr [ebp - 0x34] */ 12404 ecx = MEM32(ebp + (-0x38)); /* 0x2B0948C8: mov ecx, dword ptr [ebp - 0x38] */ 12405 edx = (int32_t)(int8_t)LO8(ebx); /* 0x2B0948CB: movsx edx, bl */ 12406 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12407 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12408 eax = eax + ecx; /* 0x2B0948CE: add eax, ecx */ 12409 _flag_k = FK_ADD; 12410 MEM8(eax) = (uint8_t)(LO8(edx)); /* 0x2B0948D0: mov byte ptr [eax], dl */ 12411 SET_HI8(edx, LO8(edx)); /* 0x2B0948D2: mov dh, dl */ 12412 edx = MEM32(ebp + (-0x38)); /* 0x2B0948D4: mov edx, dword ptr [ebp - 0x38] */ 12413 MEM32(ebp + (-0x34)) = edi; /* 0x2B0948D7: mov dword ptr [ebp - 0x34], edi */ 12414 MEM8(edx + edi) = (uint8_t)(0); /* 0x2B0948DA: mov byte ptr [edx + edi], 0 */ 12415 L_2B0948DE: 12416 eax = MEM32(ebp + 0x8); /* 0x2B0948DE: mov eax, dword ptr [ebp + 8] */ 12417 eax = MEM32(eax + 0x8); /* 0x2B0948E1: mov eax, dword ptr [eax + 8] */ 12418 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 12419 esi = esi + 1; /* 0x2B0948E4: inc esi */ 12420 _flag_k = FK_INC; 12421 /* cmp esi, eax */ /* 0x2B0948E5: cmp esi, eax */ 12422 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 12423 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12424 _flag_k = FK_CMP; 12425 RECOMP_BACKEDGE(); 12426 if (CMP_B(_flag_a, _flag_b)) goto L_2B094818; /* 0x2B0948E7: jb 0x2b094818 */ 12427 L_2B0948ED: 12428 esi = MEM32(ebp + (-0x10)); /* 0x2B0948ED: mov esi, dword ptr [ebp - 0x10] */ 12429 ecx = MEM32(0x2B0B515C); /* 0x2B0948F0: mov ecx, dword ptr [0x2b0b515c] */ 12430 eax = MEM32(ecx); /* 0x2B0948F6: mov eax, dword ptr [ecx] */ 12431 ecx = MEM32(ebp + (-0x34)); /* 0x2B0948F8: mov ecx, dword ptr [ebp - 0x34] */ 12432 ebx = esi + 0x58; /* 0x2B0948FB: lea ebx, [esi + 0x58] */ 12433 esi = eax; /* 0x2B0948FE: mov esi, eax */ 12434 /* cmp ecx, esi */ /* 0x2B094900: cmp ecx, esi */ 12435 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 12436 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12437 _flag_k = FK_CMP; 12438 if (CMP_AE(_flag_a, _flag_b)) goto L_2B094906; /* 0x2B094902: jae 0x2b094906 */ 12439 L_2B094904: 12440 esi = ecx; /* 0x2B094904: mov esi, ecx */ 12441 L_2B094906: 12442 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebx + 0x8)); 12443 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12444 eax = eax - MEM32(ebx + 0x8); /* 0x2B094906: sub eax, dword ptr [ebx + 8] */ 12445 _flag_k = FK_CMP; 12446 /* cmp eax, esi */ /* 0x2B094909: cmp eax, esi */ 12447 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 12448 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12449 _flag_k = FK_CMP; 12450 if (CMP_A(_flag_a, _flag_b)) goto L_2B094913; /* 0x2B09490B: ja 0x2b094913 */ 12451 L_2B09490D: 12452 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B09490D: call dword ptr [0x2b0b51a8] */ 12453 RECOMP_FLAGS_IN(); 12454 L_2B094913: 12455 /* test esi, esi */ /* 0x2B094913: test esi, esi */ 12456 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 12457 _cf = 0; 12458 _flag_k = FK_TEST; 12459 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094964; /* 0x2B094915: jbe 0x2b094964 */ 12460 L_2B094917: 12461 ecx = MEM32(ebx + 0x8); /* 0x2B094917: mov ecx, dword ptr [ebx + 8] */ 12462 eax = esi; /* 0x2B09491A: mov eax, esi */ 12463 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12464 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12465 eax = eax + ecx; /* 0x2B09491C: add eax, ecx */ 12466 _flag_k = FK_ADD; 12467 PUSH32(esp, 0); /* 0x2B09491E: push 0 */ 12468 PUSH32(esp, eax); /* 0x2B094920: push eax */ 12469 ecx = ebx; /* 0x2B094921: mov ecx, ebx */ 12470 MEM32(ebp + 0x8) = eax; /* 0x2B094923: mov dword ptr [ebp + 8], eax */ 12471 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B094926: call dword ptr [0x2b0b5154] */ 12472 RECOMP_FLAGS_IN(); 12473 /* test LO8(eax), LO8(eax) */ /* 0x2B09492C: test al, al */ 12474 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12475 _cf = 0; 12476 _flag_k = FK_NARROW(FK_TEST, 24); 12477 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094964; /* 0x2B09492E: je 0x2b094964 */ 12478 L_2B094930: 12479 eax = MEM32(ebp + (-0x38)); /* 0x2B094930: mov eax, dword ptr [ebp - 0x38] */ 12480 /* test eax, eax */ /* 0x2B094933: test eax, eax */ 12481 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12482 _cf = 0; 12483 _flag_k = FK_TEST; 12484 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09493C; /* 0x2B094935: jne 0x2b09493c */ 12485 L_2B094937: 12486 eax = MEM32(0x2B0B513C); /* 0x2B094937: mov eax, dword ptr [0x2b0b513c] */ 12487 L_2B09493C: 12488 ecx = MEM32(ebx + 0x8); /* 0x2B09493C: mov ecx, dword ptr [ebx + 8] */ 12489 edi = MEM32(ebx + 0x4); /* 0x2B09493F: mov edi, dword ptr [ebx + 4] */ 12490 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 12491 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12492 edi = edi + ecx; /* 0x2B094942: add edi, ecx */ 12493 _flag_k = FK_ADD; 12494 ecx = esi; /* 0x2B094944: mov ecx, esi */ 12495 edx = ecx; /* 0x2B094946: mov edx, ecx */ 12496 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B094948: shr ecx, 2 */ 12497 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12498 ecx = ecx >> 2u; /* 0x2B094948: shr ecx, 2 */ 12499 esi = eax; /* 0x2B09494B: mov esi, eax */ 12500 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B09494D: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 12501 ecx = edx; /* 0x2B09494F: mov ecx, edx */ 12502 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 12503 ecx = ecx & 3; /* 0x2B094951: and ecx, 3 */ 12504 _cf = 0; 12505 _flag_k = FK_TEST; 12506 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B094954: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; } 12507 ecx = MEM32(ebp + 0x8); /* 0x2B094956: mov ecx, dword ptr [ebp + 8] */ 12508 eax = MEM32(ebx + 0x4); /* 0x2B094959: mov eax, dword ptr [ebx + 4] */ 12509 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12510 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12511 eax = eax + ecx; /* 0x2B09495C: add eax, ecx */ 12512 _flag_k = FK_ADD; 12513 MEM32(ebx + 0x8) = ecx; /* 0x2B09495E: mov dword ptr [ebx + 8], ecx */ 12514 MEM8(eax) = (uint8_t)(0); /* 0x2B094961: mov byte ptr [eax], 0 */ 12515 L_2B094964: 12516 esi = MEM32(ebp + (-0x10)); /* 0x2B094964: mov esi, dword ptr [ebp - 0x10] */ 12517 ecx = MEM32(esi + 0x24); /* 0x2B094967: mov ecx, dword ptr [esi + 0x24] */ 12518 PUSH32(esp, ebx); /* 0x2B09496A: push ebx */ 12519 RECOMP_ICALL(MEM32(0x2B0B59D4)); /* 0x2B09496B: call dword ptr [0x2b0b59d4] */ 12520 RECOMP_FLAGS_IN(); 12521 ecx = MEM32(esi + 0x24); /* 0x2B094971: mov ecx, dword ptr [esi + 0x24] */ 12522 PUSH32(esp, 1); /* 0x2B094974: push 1 */ 12523 PUSH32(esp, 1); /* 0x2B094976: push 1 */ 12524 PUSH32(esp, 0xFFFE7961u); /* 0x2B094978: push 0xfffe7961 */ 12525 RECOMP_ICALL(MEM32(0x2B0B57E8)); /* 0x2B09497D: call dword ptr [0x2b0b57e8] */ 12526 RECOMP_FLAGS_IN(); 12527 eax = MEM32(ebp + 0xC); /* 0x2B094983: mov eax, dword ptr [ebp + 0xc] */ 12528 MEM32(esi + 0x80) = eax; /* 0x2B094986: mov dword ptr [esi + 0x80], eax */ 12529 esi = MEM32(ebp + (-0x2C)); /* 0x2B09498C: mov esi, dword ptr [ebp - 0x2c] */ 12530 /* test esi, esi */ /* 0x2B09498F: test esi, esi */ 12531 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 12532 _cf = 0; 12533 _flag_k = FK_TEST; 12534 MEM32(ebp + (-0x4)) = 2; /* 0x2B094991: mov dword ptr [ebp - 4], 2 */ 12535 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0949D7; /* 0x2B094998: je 0x2b0949d7 */ 12536 L_2B09499A: 12537 edx = MEM32(esi + 0x2C); /* 0x2B09499A: mov edx, dword ptr [esi + 0x2c] */ 12538 eax = esi + 0x2C; /* 0x2B09499D: lea eax, [esi + 0x2c] */ 12539 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 12540 edx = edx - 1; /* 0x2B0949A0: dec edx */ 12541 _flag_k = FK_DEC; 12542 ecx = edx; /* 0x2B0949A1: mov ecx, edx */ 12543 /* test ecx, ecx */ /* 0x2B0949A3: test ecx, ecx */ 12544 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12545 _cf = 0; 12546 _flag_k = FK_TEST; 12547 MEM32(eax) = edx; /* 0x2B0949A5: mov dword ptr [eax], edx */ 12548 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0949D7; /* 0x2B0949A7: jne 0x2b0949d7 */ 12549 L_2B0949A9: 12550 /* test esi, esi */ /* 0x2B0949A9: test esi, esi */ 12551 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 12552 _cf = 0; 12553 _flag_k = FK_TEST; 12554 MEM32(ebp + 0x8) = esi; /* 0x2B0949AB: mov dword ptr [ebp + 8], esi */ 12555 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0949D7; /* 0x2B0949AE: je 0x2b0949d7 */ 12556 L_2B0949B0: 12557 PUSH32(esp, 1); /* 0x2B0949B0: push 1 */ 12558 ecx = esi + 0x1C; /* 0x2B0949B2: lea ecx, [esi + 0x1c] */ 12559 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B0949B5: mov byte ptr [ebp - 4], 3 */ 12560 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0949B9: call dword ptr [0x2b0b514c] */ 12561 RECOMP_FLAGS_IN(); 12562 PUSH32(esp, 1); /* 0x2B0949BF: push 1 */ 12563 ecx = esi + 0xC; /* 0x2B0949C1: lea ecx, [esi + 0xc] */ 12564 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B0949C4: mov byte ptr [ebp - 4], 2 */ 12565 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0949C8: call dword ptr [0x2b0b514c] */ 12566 RECOMP_FLAGS_IN(); 12567 PUSH32(esp, esi); /* 0x2B0949CE: push esi */ 12568 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0949CF: call 0x2b0ab1ba */ /* not lifted */ 12569 RECOMP_FLAGS_IN(); 12570 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12571 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12572 esp = esp + 4; /* 0x2B0949D4: add esp, 4 */ 12573 _flag_k = FK_ADD; 12574 L_2B0949D7: 12575 ecx = MEM32(ebp + (-0x38)); /* 0x2B0949D7: mov ecx, dword ptr [ebp - 0x38] */ 12576 /* test ecx, ecx */ /* 0x2B0949DA: test ecx, ecx */ 12577 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12578 _cf = 0; 12579 _flag_k = FK_TEST; 12580 edi = POP32_VAL(esp); /* 0x2B0949DC: pop edi */ 12581 esi = POP32_VAL(esp); /* 0x2B0949DD: pop esi */ 12582 ebx = POP32_VAL(esp); /* 0x2B0949DE: pop ebx */ 12583 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094A0B; /* 0x2B0949DF: je 0x2b094a0b */ 12584 L_2B0949E1: 12585 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B0949E1: mov al, byte ptr [ecx - 1] */ 12586 /* test LO8(eax), LO8(eax) */ /* 0x2B0949E4: test al, al */ 12587 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12588 _cf = 0; 12589 _flag_k = FK_NARROW(FK_TEST, 24); 12590 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094A01; /* 0x2B0949E6: je 0x2b094a01 */ 12591 L_2B0949E8: 12592 /* cmp LO8(eax), 0xFFu */ /* 0x2B0949E8: cmp al, 0xff */ 12593 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 12594 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12595 _flag_k = FK_NARROW(FK_CMP, 24); 12596 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094A01; /* 0x2B0949EA: je 0x2b094a01 */ 12597 L_2B0949EC: 12598 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 12599 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0949EC: dec al */ 12600 _flag_k = FK_NARROW(FK_DEC, 24); 12601 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B0949EE: mov byte ptr [ecx - 1], al */ 12602 ecx = MEM32(ebp + (-0xC)); /* 0x2B0949F1: mov ecx, dword ptr [ebp - 0xc] */ 12603 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0949F4: mov dword ptr fs:[0], ecx */ 12604 esp = ebp; /* 0x2B0949FB: mov esp, ebp */ 12605 ebp = POP32_VAL(esp); /* 0x2B0949FD: pop ebp */ 12606 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0949FE: ret 8 */ 12607 L_2B094A01: 12608 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12609 ecx = ecx - 1; /* 0x2B094A01: dec ecx */ 12610 _flag_k = FK_DEC; 12611 PUSH32(esp, ecx); /* 0x2B094A02: push ecx */ 12612 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B094A03: call 0x2b0ab1ba */ /* not lifted */ 12613 RECOMP_FLAGS_IN(); 12614 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12615 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12616 esp = esp + 4; /* 0x2B094A08: add esp, 4 */ 12617 _flag_k = FK_ADD; 12618 L_2B094A0B: 12619 ecx = MEM32(ebp + (-0xC)); /* 0x2B094A0B: mov ecx, dword ptr [ebp - 0xc] */ 12620 MEM32(FS_BASE + (0)) = ecx; /* 0x2B094A0E: mov dword ptr fs:[0], ecx */ 12621 esp = ebp; /* 0x2B094A15: mov esp, ebp */ 12622 ebp = POP32_VAL(esp); /* 0x2B094A17: pop ebp */ 12623 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B094A18: ret 8 */ 12624 RECOMP_REGS_OUT(); 12625 } 12626 12627 void sub_2B094843(void) { 12628 int _fpu_cmp = 0; 12629 uint32_t _cf = 0; 12630 int _df = 1; 12631 uint32_t _flag_k = FK_NONE; 12632 uint32_t _flag_a = 0, _flag_b = 0; 12633 uint32_t _itail_tgt = 0; 12634 RECOMP_REGS_LOCALS 12635 RECOMP_ENTER(0x2B094843u); 12636 12637 goto L_2B094843; 12638 L_2B094818: 12639 edi = MEM32(ebp + 0x8); /* 0x2B094818: mov edi, dword ptr [ebp + 8] */ 12640 edx = MEM32(0x2B0B513C); /* 0x2B09481B: mov edx, dword ptr [0x2b0b513c] */ 12641 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 12642 eax = eax - 1; /* 0x2B094821: dec eax */ 12643 _flag_k = FK_DEC; 12644 /* cmp esi, eax */ /* 0x2B094822: cmp esi, eax */ 12645 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 12646 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12647 _flag_k = FK_CMP; 12648 if (CMP_AE(_flag_a, _flag_b)) goto L_2B09488B; /* 0x2B094824: jae 0x2b09488b */ 12649 L_2B094826: 12650 eax = MEM32(edi + 0x4); /* 0x2B094826: mov eax, dword ptr [edi + 4] */ 12651 /* test eax, eax */ /* 0x2B094829: test eax, eax */ 12652 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12653 _cf = 0; 12654 _flag_k = FK_TEST; 12655 ecx = edx; /* 0x2B09482B: mov ecx, edx */ 12656 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094832; /* 0x2B09482D: je 0x2b094832 */ 12657 L_2B09482F: 12658 ecx = eax + esi; /* 0x2B09482F: lea ecx, [eax + esi] */ 12659 L_2B094832: 12660 /* cmp MEM8(ecx), 0x5Cu */ /* 0x2B094832: cmp byte ptr [ecx], 0x5c */ 12661 _flag_a = (uint32_t)(MEM8(ecx)) << 24; _flag_b = (uint32_t)(0x5Cu) << 24; 12662 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12663 _flag_k = FK_NARROW(FK_CMP, 24); 12664 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09488B; /* 0x2B094835: jne 0x2b09488b */ 12665 L_2B094837: 12666 /* test eax, eax */ /* 0x2B094837: test eax, eax */ 12667 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12668 _cf = 0; 12669 _flag_k = FK_TEST; 12670 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09483F; /* 0x2B094839: jne 0x2b09483f */ 12671 L_2B09483B: 12672 eax = edx; /* 0x2B09483B: mov eax, edx */ 12673 goto L_2B094843; /* 0x2B09483D: jmp 0x2b094843 */ 12674 L_2B09483F: 12675 eax = eax + esi + 0x1; /* 0x2B09483F: lea eax, [eax + esi + 1] */ 12676 L_2B094843: 12677 /* cmp MEM8(eax), 0x6Eu */ /* 0x2B094843: cmp byte ptr [eax], 0x6e */ 12678 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0x6Eu) << 24; 12679 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12680 _flag_k = FK_NARROW(FK_CMP, 24); 12681 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09488B; /* 0x2B094846: jne 0x2b09488b */ 12682 L_2B094848: 12683 eax = MEM32(0x2B0B515C); /* 0x2B094848: mov eax, dword ptr [0x2b0b515c] */ 12684 ecx = MEM32(eax); /* 0x2B09484D: mov ecx, dword ptr [eax] */ 12685 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + (-0x34))); 12686 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12687 ecx = ecx - MEM32(ebp + (-0x34)); /* 0x2B09484F: sub ecx, dword ptr [ebp - 0x34] */ 12688 _flag_k = FK_CMP; 12689 /* cmp ecx, 1 */ /* 0x2B094852: cmp ecx, 1 */ 12690 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12691 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12692 _flag_k = FK_CMP; 12693 if (CMP_A(_flag_a, _flag_b)) goto L_2B09485D; /* 0x2B094855: ja 0x2b09485d */ 12694 L_2B094857: 12695 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B094857: call dword ptr [0x2b0b51a8] */ 12696 RECOMP_FLAGS_IN(); 12697 L_2B09485D: 12698 edx = MEM32(ebp + (-0x34)); /* 0x2B09485D: mov edx, dword ptr [ebp - 0x34] */ 12699 edi = edx + 0x1; /* 0x2B094860: lea edi, [edx + 1] */ 12700 PUSH32(esp, 0); /* 0x2B094863: push 0 */ 12701 PUSH32(esp, edi); /* 0x2B094865: push edi */ 12702 ecx = ebp + (-0x3C); /* 0x2B094866: lea ecx, [ebp - 0x3c] */ 12703 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B094869: call dword ptr [0x2b0b5154] */ 12704 RECOMP_FLAGS_IN(); 12705 /* test LO8(eax), LO8(eax) */ /* 0x2B09486F: test al, al */ 12706 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12707 _cf = 0; 12708 _flag_k = FK_NARROW(FK_TEST, 24); 12709 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094888; /* 0x2B094871: je 0x2b094888 */ 12710 L_2B094873: 12711 eax = MEM32(ebp + (-0x34)); /* 0x2B094873: mov eax, dword ptr [ebp - 0x34] */ 12712 ecx = MEM32(ebp + (-0x38)); /* 0x2B094876: mov ecx, dword ptr [ebp - 0x38] */ 12713 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12714 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12715 eax = eax + ecx; /* 0x2B094879: add eax, ecx */ 12716 _flag_k = FK_ADD; 12717 MEM8(eax) = (uint8_t)(0xAu); /* 0x2B09487B: mov byte ptr [eax], 0xa */ 12718 edx = MEM32(ebp + (-0x38)); /* 0x2B09487E: mov edx, dword ptr [ebp - 0x38] */ 12719 MEM32(ebp + (-0x34)) = edi; /* 0x2B094881: mov dword ptr [ebp - 0x34], edi */ 12720 MEM8(edx + edi) = (uint8_t)(0); /* 0x2B094884: mov byte ptr [edx + edi], 0 */ 12721 L_2B094888: 12722 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 12723 esi = esi + 1; /* 0x2B094888: inc esi */ 12724 _flag_k = FK_INC; 12725 goto L_2B0948DE; /* 0x2B094889: jmp 0x2b0948de */ 12726 L_2B09488B: 12727 eax = MEM32(edi + 0x4); /* 0x2B09488B: mov eax, dword ptr [edi + 4] */ 12728 /* test eax, eax */ /* 0x2B09488E: test eax, eax */ 12729 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12730 _cf = 0; 12731 _flag_k = FK_TEST; 12732 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094896; /* 0x2B094890: jne 0x2b094896 */ 12733 L_2B094892: 12734 eax = edx; /* 0x2B094892: mov eax, edx */ 12735 goto L_2B094898; /* 0x2B094894: jmp 0x2b094898 */ 12736 L_2B094896: 12737 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 12738 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12739 eax = eax + esi; /* 0x2B094896: add eax, esi */ 12740 _flag_k = FK_ADD; 12741 L_2B094898: 12742 SET_LO8(ebx, MEM8(eax)); /* 0x2B094898: mov bl, byte ptr [eax] */ 12743 eax = MEM32(0x2B0B515C); /* 0x2B09489A: mov eax, dword ptr [0x2b0b515c] */ 12744 ecx = MEM32(eax); /* 0x2B09489F: mov ecx, dword ptr [eax] */ 12745 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + (-0x34))); 12746 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12747 ecx = ecx - MEM32(ebp + (-0x34)); /* 0x2B0948A1: sub ecx, dword ptr [ebp - 0x34] */ 12748 _flag_k = FK_CMP; 12749 /* cmp ecx, 1 */ /* 0x2B0948A4: cmp ecx, 1 */ 12750 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12751 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12752 _flag_k = FK_CMP; 12753 if (CMP_A(_flag_a, _flag_b)) goto L_2B0948AF; /* 0x2B0948A7: ja 0x2b0948af */ 12754 L_2B0948A9: 12755 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0948A9: call dword ptr [0x2b0b51a8] */ 12756 RECOMP_FLAGS_IN(); 12757 L_2B0948AF: 12758 edx = MEM32(ebp + (-0x34)); /* 0x2B0948AF: mov edx, dword ptr [ebp - 0x34] */ 12759 edi = edx + 0x1; /* 0x2B0948B2: lea edi, [edx + 1] */ 12760 PUSH32(esp, 0); /* 0x2B0948B5: push 0 */ 12761 PUSH32(esp, edi); /* 0x2B0948B7: push edi */ 12762 ecx = ebp + (-0x3C); /* 0x2B0948B8: lea ecx, [ebp - 0x3c] */ 12763 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0948BB: call dword ptr [0x2b0b5154] */ 12764 RECOMP_FLAGS_IN(); 12765 /* test LO8(eax), LO8(eax) */ /* 0x2B0948C1: test al, al */ 12766 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12767 _cf = 0; 12768 _flag_k = FK_NARROW(FK_TEST, 24); 12769 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0948DE; /* 0x2B0948C3: je 0x2b0948de */ 12770 L_2B0948C5: 12771 eax = MEM32(ebp + (-0x34)); /* 0x2B0948C5: mov eax, dword ptr [ebp - 0x34] */ 12772 ecx = MEM32(ebp + (-0x38)); /* 0x2B0948C8: mov ecx, dword ptr [ebp - 0x38] */ 12773 edx = (int32_t)(int8_t)LO8(ebx); /* 0x2B0948CB: movsx edx, bl */ 12774 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12775 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12776 eax = eax + ecx; /* 0x2B0948CE: add eax, ecx */ 12777 _flag_k = FK_ADD; 12778 MEM8(eax) = (uint8_t)(LO8(edx)); /* 0x2B0948D0: mov byte ptr [eax], dl */ 12779 SET_HI8(edx, LO8(edx)); /* 0x2B0948D2: mov dh, dl */ 12780 edx = MEM32(ebp + (-0x38)); /* 0x2B0948D4: mov edx, dword ptr [ebp - 0x38] */ 12781 MEM32(ebp + (-0x34)) = edi; /* 0x2B0948D7: mov dword ptr [ebp - 0x34], edi */ 12782 MEM8(edx + edi) = (uint8_t)(0); /* 0x2B0948DA: mov byte ptr [edx + edi], 0 */ 12783 L_2B0948DE: 12784 eax = MEM32(ebp + 0x8); /* 0x2B0948DE: mov eax, dword ptr [ebp + 8] */ 12785 eax = MEM32(eax + 0x8); /* 0x2B0948E1: mov eax, dword ptr [eax + 8] */ 12786 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 12787 esi = esi + 1; /* 0x2B0948E4: inc esi */ 12788 _flag_k = FK_INC; 12789 /* cmp esi, eax */ /* 0x2B0948E5: cmp esi, eax */ 12790 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 12791 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12792 _flag_k = FK_CMP; 12793 RECOMP_BACKEDGE(); 12794 if (CMP_B(_flag_a, _flag_b)) goto L_2B094818; /* 0x2B0948E7: jb 0x2b094818 */ 12795 L_2B0948ED: 12796 esi = MEM32(ebp + (-0x10)); /* 0x2B0948ED: mov esi, dword ptr [ebp - 0x10] */ 12797 ecx = MEM32(0x2B0B515C); /* 0x2B0948F0: mov ecx, dword ptr [0x2b0b515c] */ 12798 eax = MEM32(ecx); /* 0x2B0948F6: mov eax, dword ptr [ecx] */ 12799 ecx = MEM32(ebp + (-0x34)); /* 0x2B0948F8: mov ecx, dword ptr [ebp - 0x34] */ 12800 ebx = esi + 0x58; /* 0x2B0948FB: lea ebx, [esi + 0x58] */ 12801 esi = eax; /* 0x2B0948FE: mov esi, eax */ 12802 /* cmp ecx, esi */ /* 0x2B094900: cmp ecx, esi */ 12803 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 12804 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12805 _flag_k = FK_CMP; 12806 if (CMP_AE(_flag_a, _flag_b)) goto L_2B094906; /* 0x2B094902: jae 0x2b094906 */ 12807 L_2B094904: 12808 esi = ecx; /* 0x2B094904: mov esi, ecx */ 12809 L_2B094906: 12810 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebx + 0x8)); 12811 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12812 eax = eax - MEM32(ebx + 0x8); /* 0x2B094906: sub eax, dword ptr [ebx + 8] */ 12813 _flag_k = FK_CMP; 12814 /* cmp eax, esi */ /* 0x2B094909: cmp eax, esi */ 12815 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 12816 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12817 _flag_k = FK_CMP; 12818 if (CMP_A(_flag_a, _flag_b)) goto L_2B094913; /* 0x2B09490B: ja 0x2b094913 */ 12819 L_2B09490D: 12820 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B09490D: call dword ptr [0x2b0b51a8] */ 12821 RECOMP_FLAGS_IN(); 12822 L_2B094913: 12823 /* test esi, esi */ /* 0x2B094913: test esi, esi */ 12824 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 12825 _cf = 0; 12826 _flag_k = FK_TEST; 12827 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094964; /* 0x2B094915: jbe 0x2b094964 */ 12828 L_2B094917: 12829 ecx = MEM32(ebx + 0x8); /* 0x2B094917: mov ecx, dword ptr [ebx + 8] */ 12830 eax = esi; /* 0x2B09491A: mov eax, esi */ 12831 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12832 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12833 eax = eax + ecx; /* 0x2B09491C: add eax, ecx */ 12834 _flag_k = FK_ADD; 12835 PUSH32(esp, 0); /* 0x2B09491E: push 0 */ 12836 PUSH32(esp, eax); /* 0x2B094920: push eax */ 12837 ecx = ebx; /* 0x2B094921: mov ecx, ebx */ 12838 MEM32(ebp + 0x8) = eax; /* 0x2B094923: mov dword ptr [ebp + 8], eax */ 12839 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B094926: call dword ptr [0x2b0b5154] */ 12840 RECOMP_FLAGS_IN(); 12841 /* test LO8(eax), LO8(eax) */ /* 0x2B09492C: test al, al */ 12842 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12843 _cf = 0; 12844 _flag_k = FK_NARROW(FK_TEST, 24); 12845 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094964; /* 0x2B09492E: je 0x2b094964 */ 12846 L_2B094930: 12847 eax = MEM32(ebp + (-0x38)); /* 0x2B094930: mov eax, dword ptr [ebp - 0x38] */ 12848 /* test eax, eax */ /* 0x2B094933: test eax, eax */ 12849 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12850 _cf = 0; 12851 _flag_k = FK_TEST; 12852 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09493C; /* 0x2B094935: jne 0x2b09493c */ 12853 L_2B094937: 12854 eax = MEM32(0x2B0B513C); /* 0x2B094937: mov eax, dword ptr [0x2b0b513c] */ 12855 L_2B09493C: 12856 ecx = MEM32(ebx + 0x8); /* 0x2B09493C: mov ecx, dword ptr [ebx + 8] */ 12857 edi = MEM32(ebx + 0x4); /* 0x2B09493F: mov edi, dword ptr [ebx + 4] */ 12858 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 12859 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12860 edi = edi + ecx; /* 0x2B094942: add edi, ecx */ 12861 _flag_k = FK_ADD; 12862 ecx = esi; /* 0x2B094944: mov ecx, esi */ 12863 edx = ecx; /* 0x2B094946: mov edx, ecx */ 12864 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B094948: shr ecx, 2 */ 12865 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12866 ecx = ecx >> 2u; /* 0x2B094948: shr ecx, 2 */ 12867 esi = eax; /* 0x2B09494B: mov esi, eax */ 12868 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B09494D: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 12869 ecx = edx; /* 0x2B09494F: mov ecx, edx */ 12870 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 12871 ecx = ecx & 3; /* 0x2B094951: and ecx, 3 */ 12872 _cf = 0; 12873 _flag_k = FK_TEST; 12874 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B094954: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; } 12875 ecx = MEM32(ebp + 0x8); /* 0x2B094956: mov ecx, dword ptr [ebp + 8] */ 12876 eax = MEM32(ebx + 0x4); /* 0x2B094959: mov eax, dword ptr [ebx + 4] */ 12877 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12878 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12879 eax = eax + ecx; /* 0x2B09495C: add eax, ecx */ 12880 _flag_k = FK_ADD; 12881 MEM32(ebx + 0x8) = ecx; /* 0x2B09495E: mov dword ptr [ebx + 8], ecx */ 12882 MEM8(eax) = (uint8_t)(0); /* 0x2B094961: mov byte ptr [eax], 0 */ 12883 L_2B094964: 12884 esi = MEM32(ebp + (-0x10)); /* 0x2B094964: mov esi, dword ptr [ebp - 0x10] */ 12885 ecx = MEM32(esi + 0x24); /* 0x2B094967: mov ecx, dword ptr [esi + 0x24] */ 12886 PUSH32(esp, ebx); /* 0x2B09496A: push ebx */ 12887 RECOMP_ICALL(MEM32(0x2B0B59D4)); /* 0x2B09496B: call dword ptr [0x2b0b59d4] */ 12888 RECOMP_FLAGS_IN(); 12889 ecx = MEM32(esi + 0x24); /* 0x2B094971: mov ecx, dword ptr [esi + 0x24] */ 12890 PUSH32(esp, 1); /* 0x2B094974: push 1 */ 12891 PUSH32(esp, 1); /* 0x2B094976: push 1 */ 12892 PUSH32(esp, 0xFFFE7961u); /* 0x2B094978: push 0xfffe7961 */ 12893 RECOMP_ICALL(MEM32(0x2B0B57E8)); /* 0x2B09497D: call dword ptr [0x2b0b57e8] */ 12894 RECOMP_FLAGS_IN(); 12895 eax = MEM32(ebp + 0xC); /* 0x2B094983: mov eax, dword ptr [ebp + 0xc] */ 12896 MEM32(esi + 0x80) = eax; /* 0x2B094986: mov dword ptr [esi + 0x80], eax */ 12897 esi = MEM32(ebp + (-0x2C)); /* 0x2B09498C: mov esi, dword ptr [ebp - 0x2c] */ 12898 /* test esi, esi */ /* 0x2B09498F: test esi, esi */ 12899 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 12900 _cf = 0; 12901 _flag_k = FK_TEST; 12902 MEM32(ebp + (-0x4)) = 2; /* 0x2B094991: mov dword ptr [ebp - 4], 2 */ 12903 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0949D7; /* 0x2B094998: je 0x2b0949d7 */ 12904 L_2B09499A: 12905 edx = MEM32(esi + 0x2C); /* 0x2B09499A: mov edx, dword ptr [esi + 0x2c] */ 12906 eax = esi + 0x2C; /* 0x2B09499D: lea eax, [esi + 0x2c] */ 12907 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 12908 edx = edx - 1; /* 0x2B0949A0: dec edx */ 12909 _flag_k = FK_DEC; 12910 ecx = edx; /* 0x2B0949A1: mov ecx, edx */ 12911 /* test ecx, ecx */ /* 0x2B0949A3: test ecx, ecx */ 12912 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12913 _cf = 0; 12914 _flag_k = FK_TEST; 12915 MEM32(eax) = edx; /* 0x2B0949A5: mov dword ptr [eax], edx */ 12916 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0949D7; /* 0x2B0949A7: jne 0x2b0949d7 */ 12917 L_2B0949A9: 12918 /* test esi, esi */ /* 0x2B0949A9: test esi, esi */ 12919 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 12920 _cf = 0; 12921 _flag_k = FK_TEST; 12922 MEM32(ebp + 0x8) = esi; /* 0x2B0949AB: mov dword ptr [ebp + 8], esi */ 12923 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0949D7; /* 0x2B0949AE: je 0x2b0949d7 */ 12924 L_2B0949B0: 12925 PUSH32(esp, 1); /* 0x2B0949B0: push 1 */ 12926 ecx = esi + 0x1C; /* 0x2B0949B2: lea ecx, [esi + 0x1c] */ 12927 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B0949B5: mov byte ptr [ebp - 4], 3 */ 12928 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0949B9: call dword ptr [0x2b0b514c] */ 12929 RECOMP_FLAGS_IN(); 12930 PUSH32(esp, 1); /* 0x2B0949BF: push 1 */ 12931 ecx = esi + 0xC; /* 0x2B0949C1: lea ecx, [esi + 0xc] */ 12932 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B0949C4: mov byte ptr [ebp - 4], 2 */ 12933 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0949C8: call dword ptr [0x2b0b514c] */ 12934 RECOMP_FLAGS_IN(); 12935 PUSH32(esp, esi); /* 0x2B0949CE: push esi */ 12936 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0949CF: call 0x2b0ab1ba */ /* not lifted */ 12937 RECOMP_FLAGS_IN(); 12938 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12939 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12940 esp = esp + 4; /* 0x2B0949D4: add esp, 4 */ 12941 _flag_k = FK_ADD; 12942 L_2B0949D7: 12943 ecx = MEM32(ebp + (-0x38)); /* 0x2B0949D7: mov ecx, dword ptr [ebp - 0x38] */ 12944 /* test ecx, ecx */ /* 0x2B0949DA: test ecx, ecx */ 12945 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12946 _cf = 0; 12947 _flag_k = FK_TEST; 12948 edi = POP32_VAL(esp); /* 0x2B0949DC: pop edi */ 12949 esi = POP32_VAL(esp); /* 0x2B0949DD: pop esi */ 12950 ebx = POP32_VAL(esp); /* 0x2B0949DE: pop ebx */ 12951 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094A0B; /* 0x2B0949DF: je 0x2b094a0b */ 12952 L_2B0949E1: 12953 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B0949E1: mov al, byte ptr [ecx - 1] */ 12954 /* test LO8(eax), LO8(eax) */ /* 0x2B0949E4: test al, al */ 12955 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12956 _cf = 0; 12957 _flag_k = FK_NARROW(FK_TEST, 24); 12958 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094A01; /* 0x2B0949E6: je 0x2b094a01 */ 12959 L_2B0949E8: 12960 /* cmp LO8(eax), 0xFFu */ /* 0x2B0949E8: cmp al, 0xff */ 12961 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 12962 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12963 _flag_k = FK_NARROW(FK_CMP, 24); 12964 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094A01; /* 0x2B0949EA: je 0x2b094a01 */ 12965 L_2B0949EC: 12966 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 12967 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0949EC: dec al */ 12968 _flag_k = FK_NARROW(FK_DEC, 24); 12969 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B0949EE: mov byte ptr [ecx - 1], al */ 12970 ecx = MEM32(ebp + (-0xC)); /* 0x2B0949F1: mov ecx, dword ptr [ebp - 0xc] */ 12971 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0949F4: mov dword ptr fs:[0], ecx */ 12972 esp = ebp; /* 0x2B0949FB: mov esp, ebp */ 12973 ebp = POP32_VAL(esp); /* 0x2B0949FD: pop ebp */ 12974 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0949FE: ret 8 */ 12975 L_2B094A01: 12976 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12977 ecx = ecx - 1; /* 0x2B094A01: dec ecx */ 12978 _flag_k = FK_DEC; 12979 PUSH32(esp, ecx); /* 0x2B094A02: push ecx */ 12980 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B094A03: call 0x2b0ab1ba */ /* not lifted */ 12981 RECOMP_FLAGS_IN(); 12982 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12983 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12984 esp = esp + 4; /* 0x2B094A08: add esp, 4 */ 12985 _flag_k = FK_ADD; 12986 L_2B094A0B: 12987 ecx = MEM32(ebp + (-0xC)); /* 0x2B094A0B: mov ecx, dword ptr [ebp - 0xc] */ 12988 MEM32(FS_BASE + (0)) = ecx; /* 0x2B094A0E: mov dword ptr fs:[0], ecx */ 12989 esp = ebp; /* 0x2B094A15: mov esp, ebp */ 12990 ebp = POP32_VAL(esp); /* 0x2B094A17: pop ebp */ 12991 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B094A18: ret 8 */ 12992 RECOMP_REGS_OUT(); 12993 } 12994 12995 void sub_2B094898(void) { 12996 int _fpu_cmp = 0; 12997 uint32_t _cf = 0; 12998 int _df = 1; 12999 uint32_t _flag_k = FK_NONE; 13000 uint32_t _flag_a = 0, _flag_b = 0; 13001 uint32_t _itail_tgt = 0; 13002 RECOMP_REGS_LOCALS 13003 RECOMP_ENTER(0x2B094898u); 13004 13005 goto L_2B094898; 13006 L_2B094818: 13007 edi = MEM32(ebp + 0x8); /* 0x2B094818: mov edi, dword ptr [ebp + 8] */ 13008 edx = MEM32(0x2B0B513C); /* 0x2B09481B: mov edx, dword ptr [0x2b0b513c] */ 13009 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 13010 eax = eax - 1; /* 0x2B094821: dec eax */ 13011 _flag_k = FK_DEC; 13012 /* cmp esi, eax */ /* 0x2B094822: cmp esi, eax */ 13013 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 13014 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13015 _flag_k = FK_CMP; 13016 if (CMP_AE(_flag_a, _flag_b)) goto L_2B09488B; /* 0x2B094824: jae 0x2b09488b */ 13017 L_2B094826: 13018 eax = MEM32(edi + 0x4); /* 0x2B094826: mov eax, dword ptr [edi + 4] */ 13019 /* test eax, eax */ /* 0x2B094829: test eax, eax */ 13020 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13021 _cf = 0; 13022 _flag_k = FK_TEST; 13023 ecx = edx; /* 0x2B09482B: mov ecx, edx */ 13024 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094832; /* 0x2B09482D: je 0x2b094832 */ 13025 L_2B09482F: 13026 ecx = eax + esi; /* 0x2B09482F: lea ecx, [eax + esi] */ 13027 L_2B094832: 13028 /* cmp MEM8(ecx), 0x5Cu */ /* 0x2B094832: cmp byte ptr [ecx], 0x5c */ 13029 _flag_a = (uint32_t)(MEM8(ecx)) << 24; _flag_b = (uint32_t)(0x5Cu) << 24; 13030 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13031 _flag_k = FK_NARROW(FK_CMP, 24); 13032 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09488B; /* 0x2B094835: jne 0x2b09488b */ 13033 L_2B094837: 13034 /* test eax, eax */ /* 0x2B094837: test eax, eax */ 13035 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13036 _cf = 0; 13037 _flag_k = FK_TEST; 13038 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09483F; /* 0x2B094839: jne 0x2b09483f */ 13039 L_2B09483B: 13040 eax = edx; /* 0x2B09483B: mov eax, edx */ 13041 goto L_2B094843; /* 0x2B09483D: jmp 0x2b094843 */ 13042 L_2B09483F: 13043 eax = eax + esi + 0x1; /* 0x2B09483F: lea eax, [eax + esi + 1] */ 13044 L_2B094843: 13045 /* cmp MEM8(eax), 0x6Eu */ /* 0x2B094843: cmp byte ptr [eax], 0x6e */ 13046 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0x6Eu) << 24; 13047 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13048 _flag_k = FK_NARROW(FK_CMP, 24); 13049 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09488B; /* 0x2B094846: jne 0x2b09488b */ 13050 L_2B094848: 13051 eax = MEM32(0x2B0B515C); /* 0x2B094848: mov eax, dword ptr [0x2b0b515c] */ 13052 ecx = MEM32(eax); /* 0x2B09484D: mov ecx, dword ptr [eax] */ 13053 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + (-0x34))); 13054 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13055 ecx = ecx - MEM32(ebp + (-0x34)); /* 0x2B09484F: sub ecx, dword ptr [ebp - 0x34] */ 13056 _flag_k = FK_CMP; 13057 /* cmp ecx, 1 */ /* 0x2B094852: cmp ecx, 1 */ 13058 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13059 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13060 _flag_k = FK_CMP; 13061 if (CMP_A(_flag_a, _flag_b)) goto L_2B09485D; /* 0x2B094855: ja 0x2b09485d */ 13062 L_2B094857: 13063 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B094857: call dword ptr [0x2b0b51a8] */ 13064 RECOMP_FLAGS_IN(); 13065 L_2B09485D: 13066 edx = MEM32(ebp + (-0x34)); /* 0x2B09485D: mov edx, dword ptr [ebp - 0x34] */ 13067 edi = edx + 0x1; /* 0x2B094860: lea edi, [edx + 1] */ 13068 PUSH32(esp, 0); /* 0x2B094863: push 0 */ 13069 PUSH32(esp, edi); /* 0x2B094865: push edi */ 13070 ecx = ebp + (-0x3C); /* 0x2B094866: lea ecx, [ebp - 0x3c] */ 13071 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B094869: call dword ptr [0x2b0b5154] */ 13072 RECOMP_FLAGS_IN(); 13073 /* test LO8(eax), LO8(eax) */ /* 0x2B09486F: test al, al */ 13074 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13075 _cf = 0; 13076 _flag_k = FK_NARROW(FK_TEST, 24); 13077 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094888; /* 0x2B094871: je 0x2b094888 */ 13078 L_2B094873: 13079 eax = MEM32(ebp + (-0x34)); /* 0x2B094873: mov eax, dword ptr [ebp - 0x34] */ 13080 ecx = MEM32(ebp + (-0x38)); /* 0x2B094876: mov ecx, dword ptr [ebp - 0x38] */ 13081 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13082 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13083 eax = eax + ecx; /* 0x2B094879: add eax, ecx */ 13084 _flag_k = FK_ADD; 13085 MEM8(eax) = (uint8_t)(0xAu); /* 0x2B09487B: mov byte ptr [eax], 0xa */ 13086 edx = MEM32(ebp + (-0x38)); /* 0x2B09487E: mov edx, dword ptr [ebp - 0x38] */ 13087 MEM32(ebp + (-0x34)) = edi; /* 0x2B094881: mov dword ptr [ebp - 0x34], edi */ 13088 MEM8(edx + edi) = (uint8_t)(0); /* 0x2B094884: mov byte ptr [edx + edi], 0 */ 13089 L_2B094888: 13090 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 13091 esi = esi + 1; /* 0x2B094888: inc esi */ 13092 _flag_k = FK_INC; 13093 goto L_2B0948DE; /* 0x2B094889: jmp 0x2b0948de */ 13094 L_2B09488B: 13095 eax = MEM32(edi + 0x4); /* 0x2B09488B: mov eax, dword ptr [edi + 4] */ 13096 /* test eax, eax */ /* 0x2B09488E: test eax, eax */ 13097 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13098 _cf = 0; 13099 _flag_k = FK_TEST; 13100 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094896; /* 0x2B094890: jne 0x2b094896 */ 13101 L_2B094892: 13102 eax = edx; /* 0x2B094892: mov eax, edx */ 13103 goto L_2B094898; /* 0x2B094894: jmp 0x2b094898 */ 13104 L_2B094896: 13105 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 13106 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13107 eax = eax + esi; /* 0x2B094896: add eax, esi */ 13108 _flag_k = FK_ADD; 13109 L_2B094898: 13110 SET_LO8(ebx, MEM8(eax)); /* 0x2B094898: mov bl, byte ptr [eax] */ 13111 eax = MEM32(0x2B0B515C); /* 0x2B09489A: mov eax, dword ptr [0x2b0b515c] */ 13112 ecx = MEM32(eax); /* 0x2B09489F: mov ecx, dword ptr [eax] */ 13113 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + (-0x34))); 13114 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13115 ecx = ecx - MEM32(ebp + (-0x34)); /* 0x2B0948A1: sub ecx, dword ptr [ebp - 0x34] */ 13116 _flag_k = FK_CMP; 13117 /* cmp ecx, 1 */ /* 0x2B0948A4: cmp ecx, 1 */ 13118 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13119 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13120 _flag_k = FK_CMP; 13121 if (CMP_A(_flag_a, _flag_b)) goto L_2B0948AF; /* 0x2B0948A7: ja 0x2b0948af */ 13122 L_2B0948A9: 13123 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0948A9: call dword ptr [0x2b0b51a8] */ 13124 RECOMP_FLAGS_IN(); 13125 L_2B0948AF: 13126 edx = MEM32(ebp + (-0x34)); /* 0x2B0948AF: mov edx, dword ptr [ebp - 0x34] */ 13127 edi = edx + 0x1; /* 0x2B0948B2: lea edi, [edx + 1] */ 13128 PUSH32(esp, 0); /* 0x2B0948B5: push 0 */ 13129 PUSH32(esp, edi); /* 0x2B0948B7: push edi */ 13130 ecx = ebp + (-0x3C); /* 0x2B0948B8: lea ecx, [ebp - 0x3c] */ 13131 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0948BB: call dword ptr [0x2b0b5154] */ 13132 RECOMP_FLAGS_IN(); 13133 /* test LO8(eax), LO8(eax) */ /* 0x2B0948C1: test al, al */ 13134 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13135 _cf = 0; 13136 _flag_k = FK_NARROW(FK_TEST, 24); 13137 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0948DE; /* 0x2B0948C3: je 0x2b0948de */ 13138 L_2B0948C5: 13139 eax = MEM32(ebp + (-0x34)); /* 0x2B0948C5: mov eax, dword ptr [ebp - 0x34] */ 13140 ecx = MEM32(ebp + (-0x38)); /* 0x2B0948C8: mov ecx, dword ptr [ebp - 0x38] */ 13141 edx = (int32_t)(int8_t)LO8(ebx); /* 0x2B0948CB: movsx edx, bl */ 13142 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13143 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13144 eax = eax + ecx; /* 0x2B0948CE: add eax, ecx */ 13145 _flag_k = FK_ADD; 13146 MEM8(eax) = (uint8_t)(LO8(edx)); /* 0x2B0948D0: mov byte ptr [eax], dl */ 13147 SET_HI8(edx, LO8(edx)); /* 0x2B0948D2: mov dh, dl */ 13148 edx = MEM32(ebp + (-0x38)); /* 0x2B0948D4: mov edx, dword ptr [ebp - 0x38] */ 13149 MEM32(ebp + (-0x34)) = edi; /* 0x2B0948D7: mov dword ptr [ebp - 0x34], edi */ 13150 MEM8(edx + edi) = (uint8_t)(0); /* 0x2B0948DA: mov byte ptr [edx + edi], 0 */ 13151 L_2B0948DE: 13152 eax = MEM32(ebp + 0x8); /* 0x2B0948DE: mov eax, dword ptr [ebp + 8] */ 13153 eax = MEM32(eax + 0x8); /* 0x2B0948E1: mov eax, dword ptr [eax + 8] */ 13154 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 13155 esi = esi + 1; /* 0x2B0948E4: inc esi */ 13156 _flag_k = FK_INC; 13157 /* cmp esi, eax */ /* 0x2B0948E5: cmp esi, eax */ 13158 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 13159 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13160 _flag_k = FK_CMP; 13161 RECOMP_BACKEDGE(); 13162 if (CMP_B(_flag_a, _flag_b)) goto L_2B094818; /* 0x2B0948E7: jb 0x2b094818 */ 13163 L_2B0948ED: 13164 esi = MEM32(ebp + (-0x10)); /* 0x2B0948ED: mov esi, dword ptr [ebp - 0x10] */ 13165 ecx = MEM32(0x2B0B515C); /* 0x2B0948F0: mov ecx, dword ptr [0x2b0b515c] */ 13166 eax = MEM32(ecx); /* 0x2B0948F6: mov eax, dword ptr [ecx] */ 13167 ecx = MEM32(ebp + (-0x34)); /* 0x2B0948F8: mov ecx, dword ptr [ebp - 0x34] */ 13168 ebx = esi + 0x58; /* 0x2B0948FB: lea ebx, [esi + 0x58] */ 13169 esi = eax; /* 0x2B0948FE: mov esi, eax */ 13170 /* cmp ecx, esi */ /* 0x2B094900: cmp ecx, esi */ 13171 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 13172 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13173 _flag_k = FK_CMP; 13174 if (CMP_AE(_flag_a, _flag_b)) goto L_2B094906; /* 0x2B094902: jae 0x2b094906 */ 13175 L_2B094904: 13176 esi = ecx; /* 0x2B094904: mov esi, ecx */ 13177 L_2B094906: 13178 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebx + 0x8)); 13179 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13180 eax = eax - MEM32(ebx + 0x8); /* 0x2B094906: sub eax, dword ptr [ebx + 8] */ 13181 _flag_k = FK_CMP; 13182 /* cmp eax, esi */ /* 0x2B094909: cmp eax, esi */ 13183 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 13184 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13185 _flag_k = FK_CMP; 13186 if (CMP_A(_flag_a, _flag_b)) goto L_2B094913; /* 0x2B09490B: ja 0x2b094913 */ 13187 L_2B09490D: 13188 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B09490D: call dword ptr [0x2b0b51a8] */ 13189 RECOMP_FLAGS_IN(); 13190 L_2B094913: 13191 /* test esi, esi */ /* 0x2B094913: test esi, esi */ 13192 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 13193 _cf = 0; 13194 _flag_k = FK_TEST; 13195 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094964; /* 0x2B094915: jbe 0x2b094964 */ 13196 L_2B094917: 13197 ecx = MEM32(ebx + 0x8); /* 0x2B094917: mov ecx, dword ptr [ebx + 8] */ 13198 eax = esi; /* 0x2B09491A: mov eax, esi */ 13199 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13200 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13201 eax = eax + ecx; /* 0x2B09491C: add eax, ecx */ 13202 _flag_k = FK_ADD; 13203 PUSH32(esp, 0); /* 0x2B09491E: push 0 */ 13204 PUSH32(esp, eax); /* 0x2B094920: push eax */ 13205 ecx = ebx; /* 0x2B094921: mov ecx, ebx */ 13206 MEM32(ebp + 0x8) = eax; /* 0x2B094923: mov dword ptr [ebp + 8], eax */ 13207 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B094926: call dword ptr [0x2b0b5154] */ 13208 RECOMP_FLAGS_IN(); 13209 /* test LO8(eax), LO8(eax) */ /* 0x2B09492C: test al, al */ 13210 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13211 _cf = 0; 13212 _flag_k = FK_NARROW(FK_TEST, 24); 13213 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094964; /* 0x2B09492E: je 0x2b094964 */ 13214 L_2B094930: 13215 eax = MEM32(ebp + (-0x38)); /* 0x2B094930: mov eax, dword ptr [ebp - 0x38] */ 13216 /* test eax, eax */ /* 0x2B094933: test eax, eax */ 13217 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13218 _cf = 0; 13219 _flag_k = FK_TEST; 13220 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09493C; /* 0x2B094935: jne 0x2b09493c */ 13221 L_2B094937: 13222 eax = MEM32(0x2B0B513C); /* 0x2B094937: mov eax, dword ptr [0x2b0b513c] */ 13223 L_2B09493C: 13224 ecx = MEM32(ebx + 0x8); /* 0x2B09493C: mov ecx, dword ptr [ebx + 8] */ 13225 edi = MEM32(ebx + 0x4); /* 0x2B09493F: mov edi, dword ptr [ebx + 4] */ 13226 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 13227 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13228 edi = edi + ecx; /* 0x2B094942: add edi, ecx */ 13229 _flag_k = FK_ADD; 13230 ecx = esi; /* 0x2B094944: mov ecx, esi */ 13231 edx = ecx; /* 0x2B094946: mov edx, ecx */ 13232 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B094948: shr ecx, 2 */ 13233 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13234 ecx = ecx >> 2u; /* 0x2B094948: shr ecx, 2 */ 13235 esi = eax; /* 0x2B09494B: mov esi, eax */ 13236 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B09494D: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 13237 ecx = edx; /* 0x2B09494F: mov ecx, edx */ 13238 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 13239 ecx = ecx & 3; /* 0x2B094951: and ecx, 3 */ 13240 _cf = 0; 13241 _flag_k = FK_TEST; 13242 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B094954: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; } 13243 ecx = MEM32(ebp + 0x8); /* 0x2B094956: mov ecx, dword ptr [ebp + 8] */ 13244 eax = MEM32(ebx + 0x4); /* 0x2B094959: mov eax, dword ptr [ebx + 4] */ 13245 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13246 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13247 eax = eax + ecx; /* 0x2B09495C: add eax, ecx */ 13248 _flag_k = FK_ADD; 13249 MEM32(ebx + 0x8) = ecx; /* 0x2B09495E: mov dword ptr [ebx + 8], ecx */ 13250 MEM8(eax) = (uint8_t)(0); /* 0x2B094961: mov byte ptr [eax], 0 */ 13251 L_2B094964: 13252 esi = MEM32(ebp + (-0x10)); /* 0x2B094964: mov esi, dword ptr [ebp - 0x10] */ 13253 ecx = MEM32(esi + 0x24); /* 0x2B094967: mov ecx, dword ptr [esi + 0x24] */ 13254 PUSH32(esp, ebx); /* 0x2B09496A: push ebx */ 13255 RECOMP_ICALL(MEM32(0x2B0B59D4)); /* 0x2B09496B: call dword ptr [0x2b0b59d4] */ 13256 RECOMP_FLAGS_IN(); 13257 ecx = MEM32(esi + 0x24); /* 0x2B094971: mov ecx, dword ptr [esi + 0x24] */ 13258 PUSH32(esp, 1); /* 0x2B094974: push 1 */ 13259 PUSH32(esp, 1); /* 0x2B094976: push 1 */ 13260 PUSH32(esp, 0xFFFE7961u); /* 0x2B094978: push 0xfffe7961 */ 13261 RECOMP_ICALL(MEM32(0x2B0B57E8)); /* 0x2B09497D: call dword ptr [0x2b0b57e8] */ 13262 RECOMP_FLAGS_IN(); 13263 eax = MEM32(ebp + 0xC); /* 0x2B094983: mov eax, dword ptr [ebp + 0xc] */ 13264 MEM32(esi + 0x80) = eax; /* 0x2B094986: mov dword ptr [esi + 0x80], eax */ 13265 esi = MEM32(ebp + (-0x2C)); /* 0x2B09498C: mov esi, dword ptr [ebp - 0x2c] */ 13266 /* test esi, esi */ /* 0x2B09498F: test esi, esi */ 13267 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 13268 _cf = 0; 13269 _flag_k = FK_TEST; 13270 MEM32(ebp + (-0x4)) = 2; /* 0x2B094991: mov dword ptr [ebp - 4], 2 */ 13271 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0949D7; /* 0x2B094998: je 0x2b0949d7 */ 13272 L_2B09499A: 13273 edx = MEM32(esi + 0x2C); /* 0x2B09499A: mov edx, dword ptr [esi + 0x2c] */ 13274 eax = esi + 0x2C; /* 0x2B09499D: lea eax, [esi + 0x2c] */ 13275 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 13276 edx = edx - 1; /* 0x2B0949A0: dec edx */ 13277 _flag_k = FK_DEC; 13278 ecx = edx; /* 0x2B0949A1: mov ecx, edx */ 13279 /* test ecx, ecx */ /* 0x2B0949A3: test ecx, ecx */ 13280 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 13281 _cf = 0; 13282 _flag_k = FK_TEST; 13283 MEM32(eax) = edx; /* 0x2B0949A5: mov dword ptr [eax], edx */ 13284 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0949D7; /* 0x2B0949A7: jne 0x2b0949d7 */ 13285 L_2B0949A9: 13286 /* test esi, esi */ /* 0x2B0949A9: test esi, esi */ 13287 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 13288 _cf = 0; 13289 _flag_k = FK_TEST; 13290 MEM32(ebp + 0x8) = esi; /* 0x2B0949AB: mov dword ptr [ebp + 8], esi */ 13291 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0949D7; /* 0x2B0949AE: je 0x2b0949d7 */ 13292 L_2B0949B0: 13293 PUSH32(esp, 1); /* 0x2B0949B0: push 1 */ 13294 ecx = esi + 0x1C; /* 0x2B0949B2: lea ecx, [esi + 0x1c] */ 13295 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B0949B5: mov byte ptr [ebp - 4], 3 */ 13296 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0949B9: call dword ptr [0x2b0b514c] */ 13297 RECOMP_FLAGS_IN(); 13298 PUSH32(esp, 1); /* 0x2B0949BF: push 1 */ 13299 ecx = esi + 0xC; /* 0x2B0949C1: lea ecx, [esi + 0xc] */ 13300 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B0949C4: mov byte ptr [ebp - 4], 2 */ 13301 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0949C8: call dword ptr [0x2b0b514c] */ 13302 RECOMP_FLAGS_IN(); 13303 PUSH32(esp, esi); /* 0x2B0949CE: push esi */ 13304 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0949CF: call 0x2b0ab1ba */ /* not lifted */ 13305 RECOMP_FLAGS_IN(); 13306 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13307 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13308 esp = esp + 4; /* 0x2B0949D4: add esp, 4 */ 13309 _flag_k = FK_ADD; 13310 L_2B0949D7: 13311 ecx = MEM32(ebp + (-0x38)); /* 0x2B0949D7: mov ecx, dword ptr [ebp - 0x38] */ 13312 /* test ecx, ecx */ /* 0x2B0949DA: test ecx, ecx */ 13313 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 13314 _cf = 0; 13315 _flag_k = FK_TEST; 13316 edi = POP32_VAL(esp); /* 0x2B0949DC: pop edi */ 13317 esi = POP32_VAL(esp); /* 0x2B0949DD: pop esi */ 13318 ebx = POP32_VAL(esp); /* 0x2B0949DE: pop ebx */ 13319 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094A0B; /* 0x2B0949DF: je 0x2b094a0b */ 13320 L_2B0949E1: 13321 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B0949E1: mov al, byte ptr [ecx - 1] */ 13322 /* test LO8(eax), LO8(eax) */ /* 0x2B0949E4: test al, al */ 13323 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13324 _cf = 0; 13325 _flag_k = FK_NARROW(FK_TEST, 24); 13326 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094A01; /* 0x2B0949E6: je 0x2b094a01 */ 13327 L_2B0949E8: 13328 /* cmp LO8(eax), 0xFFu */ /* 0x2B0949E8: cmp al, 0xff */ 13329 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 13330 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13331 _flag_k = FK_NARROW(FK_CMP, 24); 13332 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094A01; /* 0x2B0949EA: je 0x2b094a01 */ 13333 L_2B0949EC: 13334 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 13335 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0949EC: dec al */ 13336 _flag_k = FK_NARROW(FK_DEC, 24); 13337 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B0949EE: mov byte ptr [ecx - 1], al */ 13338 ecx = MEM32(ebp + (-0xC)); /* 0x2B0949F1: mov ecx, dword ptr [ebp - 0xc] */ 13339 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0949F4: mov dword ptr fs:[0], ecx */ 13340 esp = ebp; /* 0x2B0949FB: mov esp, ebp */ 13341 ebp = POP32_VAL(esp); /* 0x2B0949FD: pop ebp */ 13342 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0949FE: ret 8 */ 13343 L_2B094A01: 13344 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13345 ecx = ecx - 1; /* 0x2B094A01: dec ecx */ 13346 _flag_k = FK_DEC; 13347 PUSH32(esp, ecx); /* 0x2B094A02: push ecx */ 13348 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B094A03: call 0x2b0ab1ba */ /* not lifted */ 13349 RECOMP_FLAGS_IN(); 13350 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13351 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13352 esp = esp + 4; /* 0x2B094A08: add esp, 4 */ 13353 _flag_k = FK_ADD; 13354 L_2B094A0B: 13355 ecx = MEM32(ebp + (-0xC)); /* 0x2B094A0B: mov ecx, dword ptr [ebp - 0xc] */ 13356 MEM32(FS_BASE + (0)) = ecx; /* 0x2B094A0E: mov dword ptr fs:[0], ecx */ 13357 esp = ebp; /* 0x2B094A15: mov esp, ebp */ 13358 ebp = POP32_VAL(esp); /* 0x2B094A17: pop ebp */ 13359 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B094A18: ret 8 */ 13360 RECOMP_REGS_OUT(); 13361 } 13362 13363 void sub_2B0948DE(void) { 13364 int _fpu_cmp = 0; 13365 uint32_t _cf = 0; 13366 int _df = 1; 13367 uint32_t _flag_k = FK_NONE; 13368 uint32_t _flag_a = 0, _flag_b = 0; 13369 uint32_t _itail_tgt = 0; 13370 RECOMP_REGS_LOCALS 13371 RECOMP_ENTER(0x2B0948DEu); 13372 13373 goto L_2B0948DE; 13374 L_2B094818: 13375 edi = MEM32(ebp + 0x8); /* 0x2B094818: mov edi, dword ptr [ebp + 8] */ 13376 edx = MEM32(0x2B0B513C); /* 0x2B09481B: mov edx, dword ptr [0x2b0b513c] */ 13377 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 13378 eax = eax - 1; /* 0x2B094821: dec eax */ 13379 _flag_k = FK_DEC; 13380 /* cmp esi, eax */ /* 0x2B094822: cmp esi, eax */ 13381 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 13382 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13383 _flag_k = FK_CMP; 13384 if (CMP_AE(_flag_a, _flag_b)) goto L_2B09488B; /* 0x2B094824: jae 0x2b09488b */ 13385 L_2B094826: 13386 eax = MEM32(edi + 0x4); /* 0x2B094826: mov eax, dword ptr [edi + 4] */ 13387 /* test eax, eax */ /* 0x2B094829: test eax, eax */ 13388 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13389 _cf = 0; 13390 _flag_k = FK_TEST; 13391 ecx = edx; /* 0x2B09482B: mov ecx, edx */ 13392 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094832; /* 0x2B09482D: je 0x2b094832 */ 13393 L_2B09482F: 13394 ecx = eax + esi; /* 0x2B09482F: lea ecx, [eax + esi] */ 13395 L_2B094832: 13396 /* cmp MEM8(ecx), 0x5Cu */ /* 0x2B094832: cmp byte ptr [ecx], 0x5c */ 13397 _flag_a = (uint32_t)(MEM8(ecx)) << 24; _flag_b = (uint32_t)(0x5Cu) << 24; 13398 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13399 _flag_k = FK_NARROW(FK_CMP, 24); 13400 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09488B; /* 0x2B094835: jne 0x2b09488b */ 13401 L_2B094837: 13402 /* test eax, eax */ /* 0x2B094837: test eax, eax */ 13403 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13404 _cf = 0; 13405 _flag_k = FK_TEST; 13406 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09483F; /* 0x2B094839: jne 0x2b09483f */ 13407 L_2B09483B: 13408 eax = edx; /* 0x2B09483B: mov eax, edx */ 13409 goto L_2B094843; /* 0x2B09483D: jmp 0x2b094843 */ 13410 L_2B09483F: 13411 eax = eax + esi + 0x1; /* 0x2B09483F: lea eax, [eax + esi + 1] */ 13412 L_2B094843: 13413 /* cmp MEM8(eax), 0x6Eu */ /* 0x2B094843: cmp byte ptr [eax], 0x6e */ 13414 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0x6Eu) << 24; 13415 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13416 _flag_k = FK_NARROW(FK_CMP, 24); 13417 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09488B; /* 0x2B094846: jne 0x2b09488b */ 13418 L_2B094848: 13419 eax = MEM32(0x2B0B515C); /* 0x2B094848: mov eax, dword ptr [0x2b0b515c] */ 13420 ecx = MEM32(eax); /* 0x2B09484D: mov ecx, dword ptr [eax] */ 13421 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + (-0x34))); 13422 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13423 ecx = ecx - MEM32(ebp + (-0x34)); /* 0x2B09484F: sub ecx, dword ptr [ebp - 0x34] */ 13424 _flag_k = FK_CMP; 13425 /* cmp ecx, 1 */ /* 0x2B094852: cmp ecx, 1 */ 13426 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13427 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13428 _flag_k = FK_CMP; 13429 if (CMP_A(_flag_a, _flag_b)) goto L_2B09485D; /* 0x2B094855: ja 0x2b09485d */ 13430 L_2B094857: 13431 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B094857: call dword ptr [0x2b0b51a8] */ 13432 RECOMP_FLAGS_IN(); 13433 L_2B09485D: 13434 edx = MEM32(ebp + (-0x34)); /* 0x2B09485D: mov edx, dword ptr [ebp - 0x34] */ 13435 edi = edx + 0x1; /* 0x2B094860: lea edi, [edx + 1] */ 13436 PUSH32(esp, 0); /* 0x2B094863: push 0 */ 13437 PUSH32(esp, edi); /* 0x2B094865: push edi */ 13438 ecx = ebp + (-0x3C); /* 0x2B094866: lea ecx, [ebp - 0x3c] */ 13439 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B094869: call dword ptr [0x2b0b5154] */ 13440 RECOMP_FLAGS_IN(); 13441 /* test LO8(eax), LO8(eax) */ /* 0x2B09486F: test al, al */ 13442 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13443 _cf = 0; 13444 _flag_k = FK_NARROW(FK_TEST, 24); 13445 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094888; /* 0x2B094871: je 0x2b094888 */ 13446 L_2B094873: 13447 eax = MEM32(ebp + (-0x34)); /* 0x2B094873: mov eax, dword ptr [ebp - 0x34] */ 13448 ecx = MEM32(ebp + (-0x38)); /* 0x2B094876: mov ecx, dword ptr [ebp - 0x38] */ 13449 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13450 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13451 eax = eax + ecx; /* 0x2B094879: add eax, ecx */ 13452 _flag_k = FK_ADD; 13453 MEM8(eax) = (uint8_t)(0xAu); /* 0x2B09487B: mov byte ptr [eax], 0xa */ 13454 edx = MEM32(ebp + (-0x38)); /* 0x2B09487E: mov edx, dword ptr [ebp - 0x38] */ 13455 MEM32(ebp + (-0x34)) = edi; /* 0x2B094881: mov dword ptr [ebp - 0x34], edi */ 13456 MEM8(edx + edi) = (uint8_t)(0); /* 0x2B094884: mov byte ptr [edx + edi], 0 */ 13457 L_2B094888: 13458 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 13459 esi = esi + 1; /* 0x2B094888: inc esi */ 13460 _flag_k = FK_INC; 13461 goto L_2B0948DE; /* 0x2B094889: jmp 0x2b0948de */ 13462 L_2B09488B: 13463 eax = MEM32(edi + 0x4); /* 0x2B09488B: mov eax, dword ptr [edi + 4] */ 13464 /* test eax, eax */ /* 0x2B09488E: test eax, eax */ 13465 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13466 _cf = 0; 13467 _flag_k = FK_TEST; 13468 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094896; /* 0x2B094890: jne 0x2b094896 */ 13469 L_2B094892: 13470 eax = edx; /* 0x2B094892: mov eax, edx */ 13471 goto L_2B094898; /* 0x2B094894: jmp 0x2b094898 */ 13472 L_2B094896: 13473 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 13474 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13475 eax = eax + esi; /* 0x2B094896: add eax, esi */ 13476 _flag_k = FK_ADD; 13477 L_2B094898: 13478 SET_LO8(ebx, MEM8(eax)); /* 0x2B094898: mov bl, byte ptr [eax] */ 13479 eax = MEM32(0x2B0B515C); /* 0x2B09489A: mov eax, dword ptr [0x2b0b515c] */ 13480 ecx = MEM32(eax); /* 0x2B09489F: mov ecx, dword ptr [eax] */ 13481 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + (-0x34))); 13482 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13483 ecx = ecx - MEM32(ebp + (-0x34)); /* 0x2B0948A1: sub ecx, dword ptr [ebp - 0x34] */ 13484 _flag_k = FK_CMP; 13485 /* cmp ecx, 1 */ /* 0x2B0948A4: cmp ecx, 1 */ 13486 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13487 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13488 _flag_k = FK_CMP; 13489 if (CMP_A(_flag_a, _flag_b)) goto L_2B0948AF; /* 0x2B0948A7: ja 0x2b0948af */ 13490 L_2B0948A9: 13491 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0948A9: call dword ptr [0x2b0b51a8] */ 13492 RECOMP_FLAGS_IN(); 13493 L_2B0948AF: 13494 edx = MEM32(ebp + (-0x34)); /* 0x2B0948AF: mov edx, dword ptr [ebp - 0x34] */ 13495 edi = edx + 0x1; /* 0x2B0948B2: lea edi, [edx + 1] */ 13496 PUSH32(esp, 0); /* 0x2B0948B5: push 0 */ 13497 PUSH32(esp, edi); /* 0x2B0948B7: push edi */ 13498 ecx = ebp + (-0x3C); /* 0x2B0948B8: lea ecx, [ebp - 0x3c] */ 13499 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0948BB: call dword ptr [0x2b0b5154] */ 13500 RECOMP_FLAGS_IN(); 13501 /* test LO8(eax), LO8(eax) */ /* 0x2B0948C1: test al, al */ 13502 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13503 _cf = 0; 13504 _flag_k = FK_NARROW(FK_TEST, 24); 13505 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0948DE; /* 0x2B0948C3: je 0x2b0948de */ 13506 L_2B0948C5: 13507 eax = MEM32(ebp + (-0x34)); /* 0x2B0948C5: mov eax, dword ptr [ebp - 0x34] */ 13508 ecx = MEM32(ebp + (-0x38)); /* 0x2B0948C8: mov ecx, dword ptr [ebp - 0x38] */ 13509 edx = (int32_t)(int8_t)LO8(ebx); /* 0x2B0948CB: movsx edx, bl */ 13510 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13511 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13512 eax = eax + ecx; /* 0x2B0948CE: add eax, ecx */ 13513 _flag_k = FK_ADD; 13514 MEM8(eax) = (uint8_t)(LO8(edx)); /* 0x2B0948D0: mov byte ptr [eax], dl */ 13515 SET_HI8(edx, LO8(edx)); /* 0x2B0948D2: mov dh, dl */ 13516 edx = MEM32(ebp + (-0x38)); /* 0x2B0948D4: mov edx, dword ptr [ebp - 0x38] */ 13517 MEM32(ebp + (-0x34)) = edi; /* 0x2B0948D7: mov dword ptr [ebp - 0x34], edi */ 13518 MEM8(edx + edi) = (uint8_t)(0); /* 0x2B0948DA: mov byte ptr [edx + edi], 0 */ 13519 L_2B0948DE: 13520 eax = MEM32(ebp + 0x8); /* 0x2B0948DE: mov eax, dword ptr [ebp + 8] */ 13521 eax = MEM32(eax + 0x8); /* 0x2B0948E1: mov eax, dword ptr [eax + 8] */ 13522 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 13523 esi = esi + 1; /* 0x2B0948E4: inc esi */ 13524 _flag_k = FK_INC; 13525 /* cmp esi, eax */ /* 0x2B0948E5: cmp esi, eax */ 13526 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 13527 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13528 _flag_k = FK_CMP; 13529 RECOMP_BACKEDGE(); 13530 if (CMP_B(_flag_a, _flag_b)) goto L_2B094818; /* 0x2B0948E7: jb 0x2b094818 */ 13531 L_2B0948ED: 13532 esi = MEM32(ebp + (-0x10)); /* 0x2B0948ED: mov esi, dword ptr [ebp - 0x10] */ 13533 ecx = MEM32(0x2B0B515C); /* 0x2B0948F0: mov ecx, dword ptr [0x2b0b515c] */ 13534 eax = MEM32(ecx); /* 0x2B0948F6: mov eax, dword ptr [ecx] */ 13535 ecx = MEM32(ebp + (-0x34)); /* 0x2B0948F8: mov ecx, dword ptr [ebp - 0x34] */ 13536 ebx = esi + 0x58; /* 0x2B0948FB: lea ebx, [esi + 0x58] */ 13537 esi = eax; /* 0x2B0948FE: mov esi, eax */ 13538 /* cmp ecx, esi */ /* 0x2B094900: cmp ecx, esi */ 13539 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 13540 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13541 _flag_k = FK_CMP; 13542 if (CMP_AE(_flag_a, _flag_b)) goto L_2B094906; /* 0x2B094902: jae 0x2b094906 */ 13543 L_2B094904: 13544 esi = ecx; /* 0x2B094904: mov esi, ecx */ 13545 L_2B094906: 13546 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebx + 0x8)); 13547 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13548 eax = eax - MEM32(ebx + 0x8); /* 0x2B094906: sub eax, dword ptr [ebx + 8] */ 13549 _flag_k = FK_CMP; 13550 /* cmp eax, esi */ /* 0x2B094909: cmp eax, esi */ 13551 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 13552 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13553 _flag_k = FK_CMP; 13554 if (CMP_A(_flag_a, _flag_b)) goto L_2B094913; /* 0x2B09490B: ja 0x2b094913 */ 13555 L_2B09490D: 13556 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B09490D: call dword ptr [0x2b0b51a8] */ 13557 RECOMP_FLAGS_IN(); 13558 L_2B094913: 13559 /* test esi, esi */ /* 0x2B094913: test esi, esi */ 13560 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 13561 _cf = 0; 13562 _flag_k = FK_TEST; 13563 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094964; /* 0x2B094915: jbe 0x2b094964 */ 13564 L_2B094917: 13565 ecx = MEM32(ebx + 0x8); /* 0x2B094917: mov ecx, dword ptr [ebx + 8] */ 13566 eax = esi; /* 0x2B09491A: mov eax, esi */ 13567 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13568 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13569 eax = eax + ecx; /* 0x2B09491C: add eax, ecx */ 13570 _flag_k = FK_ADD; 13571 PUSH32(esp, 0); /* 0x2B09491E: push 0 */ 13572 PUSH32(esp, eax); /* 0x2B094920: push eax */ 13573 ecx = ebx; /* 0x2B094921: mov ecx, ebx */ 13574 MEM32(ebp + 0x8) = eax; /* 0x2B094923: mov dword ptr [ebp + 8], eax */ 13575 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B094926: call dword ptr [0x2b0b5154] */ 13576 RECOMP_FLAGS_IN(); 13577 /* test LO8(eax), LO8(eax) */ /* 0x2B09492C: test al, al */ 13578 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13579 _cf = 0; 13580 _flag_k = FK_NARROW(FK_TEST, 24); 13581 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094964; /* 0x2B09492E: je 0x2b094964 */ 13582 L_2B094930: 13583 eax = MEM32(ebp + (-0x38)); /* 0x2B094930: mov eax, dword ptr [ebp - 0x38] */ 13584 /* test eax, eax */ /* 0x2B094933: test eax, eax */ 13585 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13586 _cf = 0; 13587 _flag_k = FK_TEST; 13588 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09493C; /* 0x2B094935: jne 0x2b09493c */ 13589 L_2B094937: 13590 eax = MEM32(0x2B0B513C); /* 0x2B094937: mov eax, dword ptr [0x2b0b513c] */ 13591 L_2B09493C: 13592 ecx = MEM32(ebx + 0x8); /* 0x2B09493C: mov ecx, dword ptr [ebx + 8] */ 13593 edi = MEM32(ebx + 0x4); /* 0x2B09493F: mov edi, dword ptr [ebx + 4] */ 13594 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 13595 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13596 edi = edi + ecx; /* 0x2B094942: add edi, ecx */ 13597 _flag_k = FK_ADD; 13598 ecx = esi; /* 0x2B094944: mov ecx, esi */ 13599 edx = ecx; /* 0x2B094946: mov edx, ecx */ 13600 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B094948: shr ecx, 2 */ 13601 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13602 ecx = ecx >> 2u; /* 0x2B094948: shr ecx, 2 */ 13603 esi = eax; /* 0x2B09494B: mov esi, eax */ 13604 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B09494D: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 13605 ecx = edx; /* 0x2B09494F: mov ecx, edx */ 13606 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 13607 ecx = ecx & 3; /* 0x2B094951: and ecx, 3 */ 13608 _cf = 0; 13609 _flag_k = FK_TEST; 13610 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B094954: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; } 13611 ecx = MEM32(ebp + 0x8); /* 0x2B094956: mov ecx, dword ptr [ebp + 8] */ 13612 eax = MEM32(ebx + 0x4); /* 0x2B094959: mov eax, dword ptr [ebx + 4] */ 13613 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13614 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13615 eax = eax + ecx; /* 0x2B09495C: add eax, ecx */ 13616 _flag_k = FK_ADD; 13617 MEM32(ebx + 0x8) = ecx; /* 0x2B09495E: mov dword ptr [ebx + 8], ecx */ 13618 MEM8(eax) = (uint8_t)(0); /* 0x2B094961: mov byte ptr [eax], 0 */ 13619 L_2B094964: 13620 esi = MEM32(ebp + (-0x10)); /* 0x2B094964: mov esi, dword ptr [ebp - 0x10] */ 13621 ecx = MEM32(esi + 0x24); /* 0x2B094967: mov ecx, dword ptr [esi + 0x24] */ 13622 PUSH32(esp, ebx); /* 0x2B09496A: push ebx */ 13623 RECOMP_ICALL(MEM32(0x2B0B59D4)); /* 0x2B09496B: call dword ptr [0x2b0b59d4] */ 13624 RECOMP_FLAGS_IN(); 13625 ecx = MEM32(esi + 0x24); /* 0x2B094971: mov ecx, dword ptr [esi + 0x24] */ 13626 PUSH32(esp, 1); /* 0x2B094974: push 1 */ 13627 PUSH32(esp, 1); /* 0x2B094976: push 1 */ 13628 PUSH32(esp, 0xFFFE7961u); /* 0x2B094978: push 0xfffe7961 */ 13629 RECOMP_ICALL(MEM32(0x2B0B57E8)); /* 0x2B09497D: call dword ptr [0x2b0b57e8] */ 13630 RECOMP_FLAGS_IN(); 13631 eax = MEM32(ebp + 0xC); /* 0x2B094983: mov eax, dword ptr [ebp + 0xc] */ 13632 MEM32(esi + 0x80) = eax; /* 0x2B094986: mov dword ptr [esi + 0x80], eax */ 13633 esi = MEM32(ebp + (-0x2C)); /* 0x2B09498C: mov esi, dword ptr [ebp - 0x2c] */ 13634 /* test esi, esi */ /* 0x2B09498F: test esi, esi */ 13635 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 13636 _cf = 0; 13637 _flag_k = FK_TEST; 13638 MEM32(ebp + (-0x4)) = 2; /* 0x2B094991: mov dword ptr [ebp - 4], 2 */ 13639 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0949D7; /* 0x2B094998: je 0x2b0949d7 */ 13640 L_2B09499A: 13641 edx = MEM32(esi + 0x2C); /* 0x2B09499A: mov edx, dword ptr [esi + 0x2c] */ 13642 eax = esi + 0x2C; /* 0x2B09499D: lea eax, [esi + 0x2c] */ 13643 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 13644 edx = edx - 1; /* 0x2B0949A0: dec edx */ 13645 _flag_k = FK_DEC; 13646 ecx = edx; /* 0x2B0949A1: mov ecx, edx */ 13647 /* test ecx, ecx */ /* 0x2B0949A3: test ecx, ecx */ 13648 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 13649 _cf = 0; 13650 _flag_k = FK_TEST; 13651 MEM32(eax) = edx; /* 0x2B0949A5: mov dword ptr [eax], edx */ 13652 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0949D7; /* 0x2B0949A7: jne 0x2b0949d7 */ 13653 L_2B0949A9: 13654 /* test esi, esi */ /* 0x2B0949A9: test esi, esi */ 13655 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 13656 _cf = 0; 13657 _flag_k = FK_TEST; 13658 MEM32(ebp + 0x8) = esi; /* 0x2B0949AB: mov dword ptr [ebp + 8], esi */ 13659 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0949D7; /* 0x2B0949AE: je 0x2b0949d7 */ 13660 L_2B0949B0: 13661 PUSH32(esp, 1); /* 0x2B0949B0: push 1 */ 13662 ecx = esi + 0x1C; /* 0x2B0949B2: lea ecx, [esi + 0x1c] */ 13663 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B0949B5: mov byte ptr [ebp - 4], 3 */ 13664 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0949B9: call dword ptr [0x2b0b514c] */ 13665 RECOMP_FLAGS_IN(); 13666 PUSH32(esp, 1); /* 0x2B0949BF: push 1 */ 13667 ecx = esi + 0xC; /* 0x2B0949C1: lea ecx, [esi + 0xc] */ 13668 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B0949C4: mov byte ptr [ebp - 4], 2 */ 13669 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0949C8: call dword ptr [0x2b0b514c] */ 13670 RECOMP_FLAGS_IN(); 13671 PUSH32(esp, esi); /* 0x2B0949CE: push esi */ 13672 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0949CF: call 0x2b0ab1ba */ /* not lifted */ 13673 RECOMP_FLAGS_IN(); 13674 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13675 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13676 esp = esp + 4; /* 0x2B0949D4: add esp, 4 */ 13677 _flag_k = FK_ADD; 13678 L_2B0949D7: 13679 ecx = MEM32(ebp + (-0x38)); /* 0x2B0949D7: mov ecx, dword ptr [ebp - 0x38] */ 13680 /* test ecx, ecx */ /* 0x2B0949DA: test ecx, ecx */ 13681 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 13682 _cf = 0; 13683 _flag_k = FK_TEST; 13684 edi = POP32_VAL(esp); /* 0x2B0949DC: pop edi */ 13685 esi = POP32_VAL(esp); /* 0x2B0949DD: pop esi */ 13686 ebx = POP32_VAL(esp); /* 0x2B0949DE: pop ebx */ 13687 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094A0B; /* 0x2B0949DF: je 0x2b094a0b */ 13688 L_2B0949E1: 13689 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B0949E1: mov al, byte ptr [ecx - 1] */ 13690 /* test LO8(eax), LO8(eax) */ /* 0x2B0949E4: test al, al */ 13691 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13692 _cf = 0; 13693 _flag_k = FK_NARROW(FK_TEST, 24); 13694 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094A01; /* 0x2B0949E6: je 0x2b094a01 */ 13695 L_2B0949E8: 13696 /* cmp LO8(eax), 0xFFu */ /* 0x2B0949E8: cmp al, 0xff */ 13697 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 13698 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13699 _flag_k = FK_NARROW(FK_CMP, 24); 13700 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094A01; /* 0x2B0949EA: je 0x2b094a01 */ 13701 L_2B0949EC: 13702 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 13703 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0949EC: dec al */ 13704 _flag_k = FK_NARROW(FK_DEC, 24); 13705 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B0949EE: mov byte ptr [ecx - 1], al */ 13706 ecx = MEM32(ebp + (-0xC)); /* 0x2B0949F1: mov ecx, dword ptr [ebp - 0xc] */ 13707 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0949F4: mov dword ptr fs:[0], ecx */ 13708 esp = ebp; /* 0x2B0949FB: mov esp, ebp */ 13709 ebp = POP32_VAL(esp); /* 0x2B0949FD: pop ebp */ 13710 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0949FE: ret 8 */ 13711 L_2B094A01: 13712 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13713 ecx = ecx - 1; /* 0x2B094A01: dec ecx */ 13714 _flag_k = FK_DEC; 13715 PUSH32(esp, ecx); /* 0x2B094A02: push ecx */ 13716 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B094A03: call 0x2b0ab1ba */ /* not lifted */ 13717 RECOMP_FLAGS_IN(); 13718 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13719 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13720 esp = esp + 4; /* 0x2B094A08: add esp, 4 */ 13721 _flag_k = FK_ADD; 13722 L_2B094A0B: 13723 ecx = MEM32(ebp + (-0xC)); /* 0x2B094A0B: mov ecx, dword ptr [ebp - 0xc] */ 13724 MEM32(FS_BASE + (0)) = ecx; /* 0x2B094A0E: mov dword ptr fs:[0], ecx */ 13725 esp = ebp; /* 0x2B094A15: mov esp, ebp */ 13726 ebp = POP32_VAL(esp); /* 0x2B094A17: pop ebp */ 13727 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B094A18: ret 8 */ 13728 RECOMP_REGS_OUT(); 13729 } 13730 13731 void sub_2B094A30(void) { 13732 int _fpu_cmp = 0; 13733 uint32_t _cf = 0; 13734 int _df = 1; 13735 uint32_t _flag_k = FK_NONE; 13736 uint32_t _flag_a = 0, _flag_b = 0; 13737 uint32_t _itail_tgt = 0; 13738 RECOMP_REGS_LOCALS 13739 RECOMP_ENTER(0x2B094A30u); 13740 13741 L_2B094A30: 13742 PUSH32(esp, ebp); /* 0x2B094A30: push ebp */ 13743 ebp = esp; /* 0x2B094A31: mov ebp, esp */ 13744 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B094A33: push -1 */ 13745 PUSH32(esp, 0x2B0B300Bu); /* 0x2B094A35: push 0x2b0b300b */ 13746 eax = MEM32(FS_BASE + (0)); /* 0x2B094A3A: mov eax, dword ptr fs:[0] */ 13747 PUSH32(esp, eax); /* 0x2B094A40: push eax */ 13748 MEM32(FS_BASE + (0)) = esp; /* 0x2B094A41: mov dword ptr fs:[0], esp */ 13749 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x434u); 13750 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13751 esp = esp - 0x434u; /* 0x2B094A48: sub esp, 0x434 */ 13752 _flag_k = FK_CMP; 13753 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B094A4E: mov al, byte ptr [ebp + 0xb] */ 13754 PUSH32(esp, ebx); /* 0x2B094A51: push ebx */ 13755 PUSH32(esp, esi); /* 0x2B094A52: push esi */ 13756 PUSH32(esp, edi); /* 0x2B094A53: push edi */ 13757 esi = ecx; /* 0x2B094A54: mov esi, ecx */ 13758 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13759 edi = 0; /* 0x2B094A56: xor edi, edi */ 13760 _cf = 0; 13761 _flag_k = FK_TEST; 13762 PUSH32(esp, edi); /* 0x2B094A58: push edi */ 13763 ecx = ebp + (-0x40); /* 0x2B094A59: lea ecx, [ebp - 0x40] */ 13764 MEM32(ebp + (-0x18)) = esi; /* 0x2B094A5C: mov dword ptr [ebp - 0x18], esi */ 13765 MEM8(ebp + (-0x40)) = (uint8_t)(LO8(eax)); /* 0x2B094A5F: mov byte ptr [ebp - 0x40], al */ 13766 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B094A62: call dword ptr [0x2b0b514c] */ 13767 RECOMP_FLAGS_IN(); 13768 MEM32(ebp + (-0x30)) = edi; /* 0x2B094A68: mov dword ptr [ebp - 0x30], edi */ 13769 ebx = MEM32(ebp + 0x8); /* 0x2B094A6B: mov ebx, dword ptr [ebp + 8] */ 13770 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x6Cu); 13771 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13772 esi = esi + 0x6Cu; /* 0x2B094A6E: add esi, 0x6c */ 13773 _flag_k = FK_ADD; 13774 /* cmp esi, ebx */ /* 0x2B094A71: cmp esi, ebx */ 13775 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 13776 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13777 _flag_k = FK_CMP; 13778 MEM32(ebp + (-0x4)) = edi; /* 0x2B094A73: mov dword ptr [ebp - 4], edi */ 13779 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094B62; /* 0x2B094A76: je 0x2b094b62 */ 13780 L_2B094A7C: 13781 ecx = esi; /* 0x2B094A7C: mov ecx, esi */ 13782 RECOMP_ICALL(0x2B002FC0u); /* 0x2B094A7E: call 0x2b002fc0 */ /* not lifted */ 13783 RECOMP_FLAGS_IN(); 13784 ecx = ebx; /* 0x2B094A83: mov ecx, ebx */ 13785 edi = eax; /* 0x2B094A85: mov edi, eax */ 13786 RECOMP_ICALL(0x2B002FC0u); /* 0x2B094A87: call 0x2b002fc0 */ /* not lifted */ 13787 RECOMP_FLAGS_IN(); 13788 /* cmp eax, edi */ /* 0x2B094A8C: cmp eax, edi */ 13789 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 13790 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13791 _flag_k = FK_CMP; 13792 if (CMP_A(_flag_a, _flag_b)) goto L_2B094AC7; /* 0x2B094A8E: ja 0x2b094ac7 */ 13793 L_2B094A90: 13794 edx = MEM32(esi + 0x4); /* 0x2B094A90: mov edx, dword ptr [esi + 4] */ 13795 eax = MEM32(ebx + 0x8); /* 0x2B094A93: mov eax, dword ptr [ebx + 8] */ 13796 ecx = MEM32(ebx + 0x4); /* 0x2B094A96: mov ecx, dword ptr [ebx + 4] */ 13797 PUSH32(esp, edx); /* 0x2B094A99: push edx */ 13798 PUSH32(esp, eax); /* 0x2B094A9A: push eax */ 13799 PUSH32(esp, ecx); /* 0x2B094A9B: push ecx */ 13800 RECOMP_ICALL(0x2B01E300u); /* 0x2B094A9C: call 0x2b01e300 */ /* not lifted */ 13801 RECOMP_FLAGS_IN(); 13802 ecx = MEM32(esi + 0x8); /* 0x2B094AA1: mov ecx, dword ptr [esi + 8] */ 13803 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 13804 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13805 esp = esp + 0xCu; /* 0x2B094AA4: add esp, 0xc */ 13806 _flag_k = FK_ADD; 13807 PUSH32(esp, ecx); /* 0x2B094AA7: push ecx */ 13808 PUSH32(esp, eax); /* 0x2B094AA8: push eax */ 13809 ecx = esi; /* 0x2B094AA9: mov ecx, esi */ 13810 RECOMP_ICALL(0x2B002FE0u); /* 0x2B094AAB: call 0x2b002fe0 */ /* not lifted */ 13811 RECOMP_FLAGS_IN(); 13812 L_2B094AB0: 13813 ecx = ebx; /* 0x2B094AB0: mov ecx, ebx */ 13814 RECOMP_ICALL(0x2B002FC0u); /* 0x2B094AB2: call 0x2b002fc0 */ /* not lifted */ 13815 RECOMP_FLAGS_IN(); 13816 ecx = MEM32(esi + 0x4); /* 0x2B094AB7: mov ecx, dword ptr [esi + 4] */ 13817 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B094ABA: shl eax, 4 */ 13818 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13819 eax = eax << 4u; /* 0x2B094ABA: shl eax, 4 */ 13820 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13821 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13822 eax = eax + ecx; /* 0x2B094ABD: add eax, ecx */ 13823 _flag_k = FK_ADD; 13824 MEM32(esi + 0x8) = eax; /* 0x2B094ABF: mov dword ptr [esi + 8], eax */ 13825 goto L_2B094B62; /* 0x2B094AC2: jmp 0x2b094b62 */ 13826 L_2B094AC7: 13827 ecx = esi; /* 0x2B094AC7: mov ecx, esi */ 13828 RECOMP_ICALL(0x2B01DC70u); /* 0x2B094AC9: call 0x2b01dc70 */ /* not lifted */ 13829 RECOMP_FLAGS_IN(); 13830 ecx = ebx; /* 0x2B094ACE: mov ecx, ebx */ 13831 edi = eax; /* 0x2B094AD0: mov edi, eax */ 13832 RECOMP_ICALL(0x2B002FC0u); /* 0x2B094AD2: call 0x2b002fc0 */ /* not lifted */ 13833 RECOMP_FLAGS_IN(); 13834 /* cmp eax, edi */ /* 0x2B094AD7: cmp eax, edi */ 13835 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 13836 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13837 _flag_k = FK_CMP; 13838 if (CMP_A(_flag_a, _flag_b)) goto L_2B094B15; /* 0x2B094AD9: ja 0x2b094b15 */ 13839 L_2B094ADB: 13840 edx = MEM32(ebx + 0x4); /* 0x2B094ADB: mov edx, dword ptr [ebx + 4] */ 13841 ecx = esi; /* 0x2B094ADE: mov ecx, esi */ 13842 MEM32(ebp + 0x8) = edx; /* 0x2B094AE0: mov dword ptr [ebp + 8], edx */ 13843 RECOMP_ICALL(0x2B002FC0u); /* 0x2B094AE3: call 0x2b002fc0 */ /* not lifted */ 13844 RECOMP_FLAGS_IN(); 13845 ecx = MEM32(esi + 0x4); /* 0x2B094AE8: mov ecx, dword ptr [esi + 4] */ 13846 edi = eax; /* 0x2B094AEB: mov edi, eax */ 13847 eax = MEM32(ebp + 0x8); /* 0x2B094AED: mov eax, dword ptr [ebp + 8] */ 13848 if (4u) _cf = (((edi) >> 28) & 1u); /* 0x2B094AF0: shl edi, 4 */ 13849 if (4u) { _flag_a = recomp_flags_pack((edi << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13850 edi = edi << 4u; /* 0x2B094AF0: shl edi, 4 */ 13851 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 13852 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13853 edi = edi + eax; /* 0x2B094AF3: add edi, eax */ 13854 _flag_k = FK_ADD; 13855 eax = MEM32(ebx + 0x4); /* 0x2B094AF5: mov eax, dword ptr [ebx + 4] */ 13856 PUSH32(esp, ecx); /* 0x2B094AF8: push ecx */ 13857 PUSH32(esp, edi); /* 0x2B094AF9: push edi */ 13858 PUSH32(esp, eax); /* 0x2B094AFA: push eax */ 13859 RECOMP_ICALL(0x2B01E300u); /* 0x2B094AFB: call 0x2b01e300 */ /* not lifted */ 13860 RECOMP_FLAGS_IN(); 13861 edx = MEM32(esi + 0x8); /* 0x2B094B00: mov edx, dword ptr [esi + 8] */ 13862 eax = MEM32(ebx + 0x8); /* 0x2B094B03: mov eax, dword ptr [ebx + 8] */ 13863 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 13864 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13865 esp = esp + 0xCu; /* 0x2B094B06: add esp, 0xc */ 13866 _flag_k = FK_ADD; 13867 PUSH32(esp, edx); /* 0x2B094B09: push edx */ 13868 PUSH32(esp, eax); /* 0x2B094B0A: push eax */ 13869 PUSH32(esp, edi); /* 0x2B094B0B: push edi */ 13870 ecx = esi; /* 0x2B094B0C: mov ecx, esi */ 13871 RECOMP_ICALL(0x2B003030u); /* 0x2B094B0E: call 0x2b003030 */ /* not lifted */ 13872 RECOMP_FLAGS_IN(); 13873 RECOMP_BACKEDGE(); 13874 goto L_2B094AB0; /* 0x2B094B13: jmp 0x2b094ab0 */ 13875 L_2B094B15: 13876 eax = MEM32(esi + 0x8); /* 0x2B094B15: mov eax, dword ptr [esi + 8] */ 13877 ecx = MEM32(esi + 0x4); /* 0x2B094B18: mov ecx, dword ptr [esi + 4] */ 13878 PUSH32(esp, eax); /* 0x2B094B1B: push eax */ 13879 PUSH32(esp, ecx); /* 0x2B094B1C: push ecx */ 13880 ecx = esi; /* 0x2B094B1D: mov ecx, esi */ 13881 RECOMP_ICALL(0x2B002FE0u); /* 0x2B094B1F: call 0x2b002fe0 */ /* not lifted */ 13882 RECOMP_FLAGS_IN(); 13883 eax = MEM32(esi + 0x4); /* 0x2B094B24: mov eax, dword ptr [esi + 4] */ 13884 PUSH32(esp, eax); /* 0x2B094B27: push eax */ 13885 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B094B28: call 0x2b0ab1ba */ /* not lifted */ 13886 RECOMP_FLAGS_IN(); 13887 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13888 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13889 esp = esp + 4; /* 0x2B094B2D: add esp, 4 */ 13890 _flag_k = FK_ADD; 13891 ecx = ebx; /* 0x2B094B30: mov ecx, ebx */ 13892 RECOMP_ICALL(0x2B002FC0u); /* 0x2B094B32: call 0x2b002fc0 */ /* not lifted */ 13893 RECOMP_FLAGS_IN(); 13894 /* test eax, eax */ /* 0x2B094B37: test eax, eax */ 13895 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13896 _cf = 0; 13897 _flag_k = FK_TEST; 13898 if (TEST_NS(_flag_a, _flag_b)) goto L_2B094B3D; /* 0x2B094B39: jge 0x2b094b3d */ 13899 L_2B094B3B: 13900 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13901 eax = 0; /* 0x2B094B3B: xor eax, eax */ 13902 _cf = 0; 13903 _flag_k = FK_TEST; 13904 L_2B094B3D: 13905 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B094B3D: shl eax, 4 */ 13906 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13907 eax = eax << 4u; /* 0x2B094B3D: shl eax, 4 */ 13908 PUSH32(esp, eax); /* 0x2B094B40: push eax */ 13909 RECOMP_ICALL(0x2B0AB212u); /* 0x2B094B41: call 0x2b0ab212 */ /* not lifted */ 13910 RECOMP_FLAGS_IN(); 13911 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13912 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13913 esp = esp + 4; /* 0x2B094B46: add esp, 4 */ 13914 _flag_k = FK_ADD; 13915 MEM32(esi + 0x4) = eax; /* 0x2B094B49: mov dword ptr [esi + 4], eax */ 13916 ecx = MEM32(ebx + 0x8); /* 0x2B094B4C: mov ecx, dword ptr [ebx + 8] */ 13917 edx = MEM32(ebx + 0x4); /* 0x2B094B4F: mov edx, dword ptr [ebx + 4] */ 13918 PUSH32(esp, eax); /* 0x2B094B52: push eax */ 13919 PUSH32(esp, ecx); /* 0x2B094B53: push ecx */ 13920 PUSH32(esp, edx); /* 0x2B094B54: push edx */ 13921 ecx = esi; /* 0x2B094B55: mov ecx, esi */ 13922 RECOMP_ICALL(0x2B003030u); /* 0x2B094B57: call 0x2b003030 */ /* not lifted */ 13923 RECOMP_FLAGS_IN(); 13924 MEM32(esi + 0x8) = eax; /* 0x2B094B5C: mov dword ptr [esi + 8], eax */ 13925 MEM32(esi + 0xC) = eax; /* 0x2B094B5F: mov dword ptr [esi + 0xc], eax */ 13926 L_2B094B62: 13927 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13928 esi = 0; /* 0x2B094B62: xor esi, esi */ 13929 _cf = 0; 13930 _flag_k = FK_TEST; 13931 MEM32(ebp + (-0x10)) = esi; /* 0x2B094B64: mov dword ptr [ebp - 0x10], esi */ 13932 SET_LO8(eax, 0x80u); /* 0x2B094B67: mov al, 0x80 */ 13933 MEM8(ebp + (-0x10)) = (uint8_t)(0xEEu); /* 0x2B094B69: mov byte ptr [ebp - 0x10], 0xee */ 13934 MEM8(ebp + (-0xF)) = (uint8_t)(LO8(eax)); /* 0x2B094B6D: mov byte ptr [ebp - 0xf], al */ 13935 MEM8(ebp + (-0xE)) = (uint8_t)(LO8(eax)); /* 0x2B094B70: mov byte ptr [ebp - 0xe], al */ 13936 MEM32(ebp + 0x8) = esi; /* 0x2B094B73: mov dword ptr [ebp + 8], esi */ 13937 L_2B094B76: 13938 eax = MEM32(ebx + 0x4); /* 0x2B094B76: mov eax, dword ptr [ebx + 4] */ 13939 /* test eax, eax */ /* 0x2B094B79: test eax, eax */ 13940 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13941 _cf = 0; 13942 _flag_k = FK_TEST; 13943 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094C8F; /* 0x2B094B7B: je 0x2b094c8f */ 13944 L_2B094B81: 13945 edx = MEM32(ebx + 0x8); /* 0x2B094B81: mov edx, dword ptr [ebx + 8] */ 13946 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 13947 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13948 edx = edx - eax; /* 0x2B094B84: sub edx, eax */ 13949 _flag_k = FK_CMP; 13950 eax = MEM32(ebp + 0x8); /* 0x2B094B86: mov eax, dword ptr [ebp + 8] */ 13951 if (4u) _cf = (((edx) >> 3) & 1u); /* 0x2B094B89: sar edx, 4 */ 13952 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13953 edx = (uint32_t)((int32_t)edx >> 4u); 13954 /* cmp eax, edx */ /* 0x2B094B8C: cmp eax, edx */ 13955 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 13956 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13957 _flag_k = FK_CMP; 13958 if (CMP_AE(_flag_a, _flag_b)) goto L_2B094C8F; /* 0x2B094B8E: jae 0x2b094c8f */ 13959 L_2B094B94: 13960 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B094B94: mov al, byte ptr [ebp + 0xb] */ 13961 PUSH32(esp, 0); /* 0x2B094B97: push 0 */ 13962 ecx = ebp + (-0x2C); /* 0x2B094B99: lea ecx, [ebp - 0x2c] */ 13963 MEM8(ebp + (-0x2C)) = (uint8_t)(LO8(eax)); /* 0x2B094B9C: mov byte ptr [ebp - 0x2c], al */ 13964 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B094B9F: call dword ptr [0x2b0b514c] */ 13965 RECOMP_FLAGS_IN(); 13966 eax = MEM32(ebx + 0x4); /* 0x2B094BA5: mov eax, dword ptr [ebx + 4] */ 13967 ecx = MEM32(esi + eax + 0x8); /* 0x2B094BA8: mov ecx, dword ptr [esi + eax + 8] */ 13968 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13969 edi = 0; /* 0x2B094BAC: xor edi, edi */ 13970 _cf = 0; 13971 _flag_k = FK_TEST; 13972 /* test ecx, ecx */ /* 0x2B094BAE: test ecx, ecx */ 13973 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 13974 _cf = 0; 13975 _flag_k = FK_TEST; 13976 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B094BB0: mov byte ptr [ebp - 4], 1 */ 13977 MEM32(ebp + (-0x14)) = edi; /* 0x2B094BB4: mov dword ptr [ebp - 0x14], edi */ 13978 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094C26; /* 0x2B094BB7: jbe 0x2b094c26 */ 13979 L_2B094BB9: 13980 ecx = MEM32(esi + eax + 0x4); /* 0x2B094BB9: mov ecx, dword ptr [esi + eax + 4] */ 13981 /* test ecx, ecx */ /* 0x2B094BBD: test ecx, ecx */ 13982 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 13983 _cf = 0; 13984 _flag_k = FK_TEST; 13985 edx = MEM32(0x2B0B513C); /* 0x2B094BBF: mov edx, dword ptr [0x2b0b513c] */ 13986 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094BCB; /* 0x2B094BC5: jne 0x2b094bcb */ 13987 L_2B094BC7: 13988 ecx = edx; /* 0x2B094BC7: mov ecx, edx */ 13989 goto L_2B094BCD; /* 0x2B094BC9: jmp 0x2b094bcd */ 13990 L_2B094BCB: 13991 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 13992 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13993 ecx = ecx + edi; /* 0x2B094BCB: add ecx, edi */ 13994 _flag_k = FK_ADD; 13995 L_2B094BCD: 13996 /* cmp MEM8(ecx), 0x22u */ /* 0x2B094BCD: cmp byte ptr [ecx], 0x22 */ 13997 _flag_a = (uint32_t)(MEM8(ecx)) << 24; _flag_b = (uint32_t)(0x22u) << 24; 13998 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13999 _flag_k = FK_NARROW(FK_CMP, 24); 14000 if (CMP_NE(_flag_a, _flag_b)) goto L_2B094BF5; /* 0x2B094BD0: jne 0x2b094bf5 */ 14001 L_2B094BD2: 14002 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14003 ecx = ecx | 0xFFFFFFFFu; /* 0x2B094BD2: or ecx, 0xffffffff */ 14004 _cf = 0; 14005 _flag_k = FK_TEST; 14006 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14007 eax = 0; /* 0x2B094BD5: xor eax, eax */ 14008 _cf = 0; 14009 _flag_k = FK_TEST; 14010 edi = 0x2B0ED4C8u; /* 0x2B094BD7: mov edi, 0x2b0ed4c8 */ 14011 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B094BDC: repne scasb al, byte ptr es:[edi] */ 14012 ecx = ~ecx; /* 0x2B094BDE: not ecx */ 14013 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14014 ecx = ecx - 1; /* 0x2B094BE0: dec ecx */ 14015 _flag_k = FK_DEC; 14016 PUSH32(esp, ecx); /* 0x2B094BE1: push ecx */ 14017 PUSH32(esp, 0x2B0ED4C8u); /* 0x2B094BE2: push 0x2b0ed4c8 */ 14018 ecx = ebp + (-0x2C); /* 0x2B094BE7: lea ecx, [ebp - 0x2c] */ 14019 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B094BEA: call dword ptr [0x2b0b5188] */ 14020 RECOMP_FLAGS_IN(); 14021 edi = MEM32(ebp + (-0x14)); /* 0x2B094BF0: mov edi, dword ptr [ebp - 0x14] */ 14022 goto L_2B094C17; /* 0x2B094BF3: jmp 0x2b094c17 */ 14023 L_2B094BF5: 14024 eax = MEM32(esi + eax + 0x4); /* 0x2B094BF5: mov eax, dword ptr [esi + eax + 4] */ 14025 /* test eax, eax */ /* 0x2B094BF9: test eax, eax */ 14026 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14027 _cf = 0; 14028 _flag_k = FK_TEST; 14029 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094C01; /* 0x2B094BFB: jne 0x2b094c01 */ 14030 L_2B094BFD: 14031 eax = edx; /* 0x2B094BFD: mov eax, edx */ 14032 goto L_2B094C03; /* 0x2B094BFF: jmp 0x2b094c03 */ 14033 L_2B094C01: 14034 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 14035 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14036 eax = eax + edi; /* 0x2B094C01: add eax, edi */ 14037 _flag_k = FK_ADD; 14038 L_2B094C03: 14039 SET_LO8(ecx, MEM8(eax)); /* 0x2B094C03: mov cl, byte ptr [eax] */ 14040 MEM8(ebp + (-0x1C)) = (uint8_t)(LO8(ecx)); /* 0x2B094C05: mov byte ptr [ebp - 0x1c], cl */ 14041 edx = MEM32(ebp + (-0x1C)); /* 0x2B094C08: mov edx, dword ptr [ebp - 0x1c] */ 14042 PUSH32(esp, edx); /* 0x2B094C0B: push edx */ 14043 PUSH32(esp, 1); /* 0x2B094C0C: push 1 */ 14044 ecx = ebp + (-0x2C); /* 0x2B094C0E: lea ecx, [ebp - 0x2c] */ 14045 RECOMP_ICALL(MEM32(0x2B0B5114)); /* 0x2B094C11: call dword ptr [0x2b0b5114] */ 14046 RECOMP_FLAGS_IN(); 14047 L_2B094C17: 14048 eax = MEM32(ebx + 0x4); /* 0x2B094C17: mov eax, dword ptr [ebx + 4] */ 14049 ecx = MEM32(esi + eax + 0x8); /* 0x2B094C1A: mov ecx, dword ptr [esi + eax + 8] */ 14050 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 14051 edi = edi + 1; /* 0x2B094C1E: inc edi */ 14052 _flag_k = FK_INC; 14053 /* cmp edi, ecx */ /* 0x2B094C1F: cmp edi, ecx */ 14054 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 14055 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14056 _flag_k = FK_CMP; 14057 MEM32(ebp + (-0x14)) = edi; /* 0x2B094C21: mov dword ptr [ebp - 0x14], edi */ 14058 RECOMP_BACKEDGE(); 14059 if (CMP_B(_flag_a, _flag_b)) goto L_2B094BB9; /* 0x2B094C24: jb 0x2b094bb9 */ 14060 L_2B094C26: 14061 eax = MEM32(ebp + (-0x28)); /* 0x2B094C26: mov eax, dword ptr [ebp - 0x28] */ 14062 /* test eax, eax */ /* 0x2B094C29: test eax, eax */ 14063 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14064 _cf = 0; 14065 _flag_k = FK_TEST; 14066 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094C32; /* 0x2B094C2B: jne 0x2b094c32 */ 14067 L_2B094C2D: 14068 eax = MEM32(0x2B0B513C); /* 0x2B094C2D: mov eax, dword ptr [0x2b0b513c] */ 14069 L_2B094C32: 14070 ecx = MEM32(ebp + 0x8); /* 0x2B094C32: mov ecx, dword ptr [ebp + 8] */ 14071 PUSH32(esp, ecx); /* 0x2B094C35: push ecx */ 14072 PUSH32(esp, eax); /* 0x2B094C36: push eax */ 14073 edx = ebp + (-0x10); /* 0x2B094C37: lea edx, [ebp - 0x10] */ 14074 PUSH32(esp, edx); /* 0x2B094C3A: push edx */ 14075 PUSH32(esp, 0x2B0ED4B4u); /* 0x2B094C3B: push 0x2b0ed4b4 */ 14076 eax = ebp + (-0x440); /* 0x2B094C40: lea eax, [ebp - 0x440] */ 14077 PUSH32(esp, 0x400u); /* 0x2B094C46: push 0x400 */ 14078 PUSH32(esp, eax); /* 0x2B094C4B: push eax */ 14079 RECOMP_ICALL(0x2B012180u); /* 0x2B094C4C: call 0x2b012180 */ /* not lifted */ 14080 RECOMP_FLAGS_IN(); 14081 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14082 ecx = ecx | 0xFFFFFFFFu; /* 0x2B094C51: or ecx, 0xffffffff */ 14083 _cf = 0; 14084 _flag_k = FK_TEST; 14085 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u); 14086 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14087 esp = esp + 0x18u; /* 0x2B094C54: add esp, 0x18 */ 14088 _flag_k = FK_ADD; 14089 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14090 eax = 0; /* 0x2B094C57: xor eax, eax */ 14091 _cf = 0; 14092 _flag_k = FK_TEST; 14093 edi = ebp + (-0x440); /* 0x2B094C59: lea edi, [ebp - 0x440] */ 14094 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B094C5F: repne scasb al, byte ptr es:[edi] */ 14095 ecx = ~ecx; /* 0x2B094C61: not ecx */ 14096 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14097 ecx = ecx - 1; /* 0x2B094C63: dec ecx */ 14098 _flag_k = FK_DEC; 14099 PUSH32(esp, ecx); /* 0x2B094C64: push ecx */ 14100 ecx = ebp + (-0x440); /* 0x2B094C65: lea ecx, [ebp - 0x440] */ 14101 PUSH32(esp, ecx); /* 0x2B094C6B: push ecx */ 14102 ecx = ebp + (-0x40); /* 0x2B094C6C: lea ecx, [ebp - 0x40] */ 14103 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B094C6F: call dword ptr [0x2b0b5188] */ 14104 RECOMP_FLAGS_IN(); 14105 PUSH32(esp, 1); /* 0x2B094C75: push 1 */ 14106 ecx = ebp + (-0x2C); /* 0x2B094C77: lea ecx, [ebp - 0x2c] */ 14107 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B094C7A: mov byte ptr [ebp - 4], 0 */ 14108 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B094C7E: call dword ptr [0x2b0b514c] */ 14109 RECOMP_FLAGS_IN(); 14110 _flag_a = (uint32_t)(MEM32(ebp + 0x8)); _flag_b = (uint32_t)(1); 14111 MEM32(ebp + 0x8) = MEM32(ebp + 0x8) + 1; /* 0x2B094C84: inc dword ptr [ebp + 8] */ 14112 _flag_k = FK_INC; 14113 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 14114 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14115 esi = esi + 0x10u; /* 0x2B094C87: add esi, 0x10 */ 14116 _flag_k = FK_ADD; 14117 RECOMP_BACKEDGE(); 14118 goto L_2B094B76; /* 0x2B094C8A: jmp 0x2b094b76 */ 14119 L_2B094C8F: 14120 eax = MEM32(ebp + (-0x18)); /* 0x2B094C8F: mov eax, dword ptr [ebp - 0x18] */ 14121 ecx = MEM32(eax + 0x28); /* 0x2B094C92: mov ecx, dword ptr [eax + 0x28] */ 14122 edx = ebp + (-0x40); /* 0x2B094C95: lea edx, [ebp - 0x40] */ 14123 PUSH32(esp, edx); /* 0x2B094C98: push edx */ 14124 RECOMP_ICALL(MEM32(0x2B0B59D4)); /* 0x2B094C99: call dword ptr [0x2b0b59d4] */ 14125 RECOMP_FLAGS_IN(); 14126 ecx = MEM32(ebp + (-0x30)); /* 0x2B094C9F: mov ecx, dword ptr [ebp - 0x30] */ 14127 /* test ecx, ecx */ /* 0x2B094CA2: test ecx, ecx */ 14128 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 14129 _cf = 0; 14130 _flag_k = FK_TEST; 14131 edi = POP32_VAL(esp); /* 0x2B094CA4: pop edi */ 14132 esi = POP32_VAL(esp); /* 0x2B094CA5: pop esi */ 14133 MEM32(ebp + (-0x4)) = 2; /* 0x2B094CA6: mov dword ptr [ebp - 4], 2 */ 14134 ebx = POP32_VAL(esp); /* 0x2B094CAD: pop ebx */ 14135 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094CB5; /* 0x2B094CAE: je 0x2b094cb5 */ 14136 L_2B094CB0: 14137 RECOMP_ICALL(0x2B005B20u); /* 0x2B094CB0: call 0x2b005b20 */ /* not lifted */ 14138 RECOMP_FLAGS_IN(); 14139 L_2B094CB5: 14140 PUSH32(esp, 1); /* 0x2B094CB5: push 1 */ 14141 ecx = ebp + (-0x40); /* 0x2B094CB7: lea ecx, [ebp - 0x40] */ 14142 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B094CBA: mov dword ptr [ebp - 4], 0xffffffff */ 14143 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B094CC1: call dword ptr [0x2b0b514c] */ 14144 RECOMP_FLAGS_IN(); 14145 ecx = MEM32(ebp + (-0xC)); /* 0x2B094CC7: mov ecx, dword ptr [ebp - 0xc] */ 14146 MEM32(FS_BASE + (0)) = ecx; /* 0x2B094CCA: mov dword ptr fs:[0], ecx */ 14147 esp = ebp; /* 0x2B094CD1: mov esp, ebp */ 14148 ebp = POP32_VAL(esp); /* 0x2B094CD3: pop ebp */ 14149 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B094CD4: ret 4 */ 14150 RECOMP_REGS_OUT(); 14151 } 14152 14153 void sub_2B094B62(void) { 14154 int _fpu_cmp = 0; 14155 uint32_t _cf = 0; 14156 int _df = 1; 14157 uint32_t _flag_k = FK_NONE; 14158 uint32_t _flag_a = 0, _flag_b = 0; 14159 uint32_t _itail_tgt = 0; 14160 RECOMP_REGS_LOCALS 14161 RECOMP_ENTER(0x2B094B62u); 14162 14163 L_2B094B62: 14164 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14165 esi = 0; /* 0x2B094B62: xor esi, esi */ 14166 _cf = 0; 14167 _flag_k = FK_TEST; 14168 MEM32(ebp + (-0x10)) = esi; /* 0x2B094B64: mov dword ptr [ebp - 0x10], esi */ 14169 SET_LO8(eax, 0x80u); /* 0x2B094B67: mov al, 0x80 */ 14170 MEM8(ebp + (-0x10)) = (uint8_t)(0xEEu); /* 0x2B094B69: mov byte ptr [ebp - 0x10], 0xee */ 14171 MEM8(ebp + (-0xF)) = (uint8_t)(LO8(eax)); /* 0x2B094B6D: mov byte ptr [ebp - 0xf], al */ 14172 MEM8(ebp + (-0xE)) = (uint8_t)(LO8(eax)); /* 0x2B094B70: mov byte ptr [ebp - 0xe], al */ 14173 MEM32(ebp + 0x8) = esi; /* 0x2B094B73: mov dword ptr [ebp + 8], esi */ 14174 L_2B094B76: 14175 eax = MEM32(ebx + 0x4); /* 0x2B094B76: mov eax, dword ptr [ebx + 4] */ 14176 /* test eax, eax */ /* 0x2B094B79: test eax, eax */ 14177 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14178 _cf = 0; 14179 _flag_k = FK_TEST; 14180 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094C8F; /* 0x2B094B7B: je 0x2b094c8f */ 14181 L_2B094B81: 14182 edx = MEM32(ebx + 0x8); /* 0x2B094B81: mov edx, dword ptr [ebx + 8] */ 14183 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 14184 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14185 edx = edx - eax; /* 0x2B094B84: sub edx, eax */ 14186 _flag_k = FK_CMP; 14187 eax = MEM32(ebp + 0x8); /* 0x2B094B86: mov eax, dword ptr [ebp + 8] */ 14188 if (4u) _cf = (((edx) >> 3) & 1u); /* 0x2B094B89: sar edx, 4 */ 14189 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14190 edx = (uint32_t)((int32_t)edx >> 4u); 14191 /* cmp eax, edx */ /* 0x2B094B8C: cmp eax, edx */ 14192 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 14193 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14194 _flag_k = FK_CMP; 14195 if (CMP_AE(_flag_a, _flag_b)) goto L_2B094C8F; /* 0x2B094B8E: jae 0x2b094c8f */ 14196 L_2B094B94: 14197 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B094B94: mov al, byte ptr [ebp + 0xb] */ 14198 PUSH32(esp, 0); /* 0x2B094B97: push 0 */ 14199 ecx = ebp + (-0x2C); /* 0x2B094B99: lea ecx, [ebp - 0x2c] */ 14200 MEM8(ebp + (-0x2C)) = (uint8_t)(LO8(eax)); /* 0x2B094B9C: mov byte ptr [ebp - 0x2c], al */ 14201 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B094B9F: call dword ptr [0x2b0b514c] */ 14202 RECOMP_FLAGS_IN(); 14203 eax = MEM32(ebx + 0x4); /* 0x2B094BA5: mov eax, dword ptr [ebx + 4] */ 14204 ecx = MEM32(esi + eax + 0x8); /* 0x2B094BA8: mov ecx, dword ptr [esi + eax + 8] */ 14205 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14206 edi = 0; /* 0x2B094BAC: xor edi, edi */ 14207 _cf = 0; 14208 _flag_k = FK_TEST; 14209 /* test ecx, ecx */ /* 0x2B094BAE: test ecx, ecx */ 14210 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 14211 _cf = 0; 14212 _flag_k = FK_TEST; 14213 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B094BB0: mov byte ptr [ebp - 4], 1 */ 14214 MEM32(ebp + (-0x14)) = edi; /* 0x2B094BB4: mov dword ptr [ebp - 0x14], edi */ 14215 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094C26; /* 0x2B094BB7: jbe 0x2b094c26 */ 14216 L_2B094BB9: 14217 ecx = MEM32(esi + eax + 0x4); /* 0x2B094BB9: mov ecx, dword ptr [esi + eax + 4] */ 14218 /* test ecx, ecx */ /* 0x2B094BBD: test ecx, ecx */ 14219 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 14220 _cf = 0; 14221 _flag_k = FK_TEST; 14222 edx = MEM32(0x2B0B513C); /* 0x2B094BBF: mov edx, dword ptr [0x2b0b513c] */ 14223 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094BCB; /* 0x2B094BC5: jne 0x2b094bcb */ 14224 L_2B094BC7: 14225 ecx = edx; /* 0x2B094BC7: mov ecx, edx */ 14226 goto L_2B094BCD; /* 0x2B094BC9: jmp 0x2b094bcd */ 14227 L_2B094BCB: 14228 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 14229 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14230 ecx = ecx + edi; /* 0x2B094BCB: add ecx, edi */ 14231 _flag_k = FK_ADD; 14232 L_2B094BCD: 14233 /* cmp MEM8(ecx), 0x22u */ /* 0x2B094BCD: cmp byte ptr [ecx], 0x22 */ 14234 _flag_a = (uint32_t)(MEM8(ecx)) << 24; _flag_b = (uint32_t)(0x22u) << 24; 14235 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14236 _flag_k = FK_NARROW(FK_CMP, 24); 14237 if (CMP_NE(_flag_a, _flag_b)) goto L_2B094BF5; /* 0x2B094BD0: jne 0x2b094bf5 */ 14238 L_2B094BD2: 14239 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14240 ecx = ecx | 0xFFFFFFFFu; /* 0x2B094BD2: or ecx, 0xffffffff */ 14241 _cf = 0; 14242 _flag_k = FK_TEST; 14243 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14244 eax = 0; /* 0x2B094BD5: xor eax, eax */ 14245 _cf = 0; 14246 _flag_k = FK_TEST; 14247 edi = 0x2B0ED4C8u; /* 0x2B094BD7: mov edi, 0x2b0ed4c8 */ 14248 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B094BDC: repne scasb al, byte ptr es:[edi] */ 14249 ecx = ~ecx; /* 0x2B094BDE: not ecx */ 14250 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14251 ecx = ecx - 1; /* 0x2B094BE0: dec ecx */ 14252 _flag_k = FK_DEC; 14253 PUSH32(esp, ecx); /* 0x2B094BE1: push ecx */ 14254 PUSH32(esp, 0x2B0ED4C8u); /* 0x2B094BE2: push 0x2b0ed4c8 */ 14255 ecx = ebp + (-0x2C); /* 0x2B094BE7: lea ecx, [ebp - 0x2c] */ 14256 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B094BEA: call dword ptr [0x2b0b5188] */ 14257 RECOMP_FLAGS_IN(); 14258 edi = MEM32(ebp + (-0x14)); /* 0x2B094BF0: mov edi, dword ptr [ebp - 0x14] */ 14259 goto L_2B094C17; /* 0x2B094BF3: jmp 0x2b094c17 */ 14260 L_2B094BF5: 14261 eax = MEM32(esi + eax + 0x4); /* 0x2B094BF5: mov eax, dword ptr [esi + eax + 4] */ 14262 /* test eax, eax */ /* 0x2B094BF9: test eax, eax */ 14263 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14264 _cf = 0; 14265 _flag_k = FK_TEST; 14266 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094C01; /* 0x2B094BFB: jne 0x2b094c01 */ 14267 L_2B094BFD: 14268 eax = edx; /* 0x2B094BFD: mov eax, edx */ 14269 goto L_2B094C03; /* 0x2B094BFF: jmp 0x2b094c03 */ 14270 L_2B094C01: 14271 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 14272 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14273 eax = eax + edi; /* 0x2B094C01: add eax, edi */ 14274 _flag_k = FK_ADD; 14275 L_2B094C03: 14276 SET_LO8(ecx, MEM8(eax)); /* 0x2B094C03: mov cl, byte ptr [eax] */ 14277 MEM8(ebp + (-0x1C)) = (uint8_t)(LO8(ecx)); /* 0x2B094C05: mov byte ptr [ebp - 0x1c], cl */ 14278 edx = MEM32(ebp + (-0x1C)); /* 0x2B094C08: mov edx, dword ptr [ebp - 0x1c] */ 14279 PUSH32(esp, edx); /* 0x2B094C0B: push edx */ 14280 PUSH32(esp, 1); /* 0x2B094C0C: push 1 */ 14281 ecx = ebp + (-0x2C); /* 0x2B094C0E: lea ecx, [ebp - 0x2c] */ 14282 RECOMP_ICALL(MEM32(0x2B0B5114)); /* 0x2B094C11: call dword ptr [0x2b0b5114] */ 14283 RECOMP_FLAGS_IN(); 14284 L_2B094C17: 14285 eax = MEM32(ebx + 0x4); /* 0x2B094C17: mov eax, dword ptr [ebx + 4] */ 14286 ecx = MEM32(esi + eax + 0x8); /* 0x2B094C1A: mov ecx, dword ptr [esi + eax + 8] */ 14287 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 14288 edi = edi + 1; /* 0x2B094C1E: inc edi */ 14289 _flag_k = FK_INC; 14290 /* cmp edi, ecx */ /* 0x2B094C1F: cmp edi, ecx */ 14291 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 14292 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14293 _flag_k = FK_CMP; 14294 MEM32(ebp + (-0x14)) = edi; /* 0x2B094C21: mov dword ptr [ebp - 0x14], edi */ 14295 RECOMP_BACKEDGE(); 14296 if (CMP_B(_flag_a, _flag_b)) goto L_2B094BB9; /* 0x2B094C24: jb 0x2b094bb9 */ 14297 L_2B094C26: 14298 eax = MEM32(ebp + (-0x28)); /* 0x2B094C26: mov eax, dword ptr [ebp - 0x28] */ 14299 /* test eax, eax */ /* 0x2B094C29: test eax, eax */ 14300 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14301 _cf = 0; 14302 _flag_k = FK_TEST; 14303 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094C32; /* 0x2B094C2B: jne 0x2b094c32 */ 14304 L_2B094C2D: 14305 eax = MEM32(0x2B0B513C); /* 0x2B094C2D: mov eax, dword ptr [0x2b0b513c] */ 14306 L_2B094C32: 14307 ecx = MEM32(ebp + 0x8); /* 0x2B094C32: mov ecx, dword ptr [ebp + 8] */ 14308 PUSH32(esp, ecx); /* 0x2B094C35: push ecx */ 14309 PUSH32(esp, eax); /* 0x2B094C36: push eax */ 14310 edx = ebp + (-0x10); /* 0x2B094C37: lea edx, [ebp - 0x10] */ 14311 PUSH32(esp, edx); /* 0x2B094C3A: push edx */ 14312 PUSH32(esp, 0x2B0ED4B4u); /* 0x2B094C3B: push 0x2b0ed4b4 */ 14313 eax = ebp + (-0x440); /* 0x2B094C40: lea eax, [ebp - 0x440] */ 14314 PUSH32(esp, 0x400u); /* 0x2B094C46: push 0x400 */ 14315 PUSH32(esp, eax); /* 0x2B094C4B: push eax */ 14316 RECOMP_ICALL(0x2B012180u); /* 0x2B094C4C: call 0x2b012180 */ /* not lifted */ 14317 RECOMP_FLAGS_IN(); 14318 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14319 ecx = ecx | 0xFFFFFFFFu; /* 0x2B094C51: or ecx, 0xffffffff */ 14320 _cf = 0; 14321 _flag_k = FK_TEST; 14322 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u); 14323 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14324 esp = esp + 0x18u; /* 0x2B094C54: add esp, 0x18 */ 14325 _flag_k = FK_ADD; 14326 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14327 eax = 0; /* 0x2B094C57: xor eax, eax */ 14328 _cf = 0; 14329 _flag_k = FK_TEST; 14330 edi = ebp + (-0x440); /* 0x2B094C59: lea edi, [ebp - 0x440] */ 14331 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B094C5F: repne scasb al, byte ptr es:[edi] */ 14332 ecx = ~ecx; /* 0x2B094C61: not ecx */ 14333 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14334 ecx = ecx - 1; /* 0x2B094C63: dec ecx */ 14335 _flag_k = FK_DEC; 14336 PUSH32(esp, ecx); /* 0x2B094C64: push ecx */ 14337 ecx = ebp + (-0x440); /* 0x2B094C65: lea ecx, [ebp - 0x440] */ 14338 PUSH32(esp, ecx); /* 0x2B094C6B: push ecx */ 14339 ecx = ebp + (-0x40); /* 0x2B094C6C: lea ecx, [ebp - 0x40] */ 14340 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B094C6F: call dword ptr [0x2b0b5188] */ 14341 RECOMP_FLAGS_IN(); 14342 PUSH32(esp, 1); /* 0x2B094C75: push 1 */ 14343 ecx = ebp + (-0x2C); /* 0x2B094C77: lea ecx, [ebp - 0x2c] */ 14344 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B094C7A: mov byte ptr [ebp - 4], 0 */ 14345 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B094C7E: call dword ptr [0x2b0b514c] */ 14346 RECOMP_FLAGS_IN(); 14347 _flag_a = (uint32_t)(MEM32(ebp + 0x8)); _flag_b = (uint32_t)(1); 14348 MEM32(ebp + 0x8) = MEM32(ebp + 0x8) + 1; /* 0x2B094C84: inc dword ptr [ebp + 8] */ 14349 _flag_k = FK_INC; 14350 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 14351 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14352 esi = esi + 0x10u; /* 0x2B094C87: add esi, 0x10 */ 14353 _flag_k = FK_ADD; 14354 RECOMP_BACKEDGE(); 14355 goto L_2B094B76; /* 0x2B094C8A: jmp 0x2b094b76 */ 14356 L_2B094C8F: 14357 eax = MEM32(ebp + (-0x18)); /* 0x2B094C8F: mov eax, dword ptr [ebp - 0x18] */ 14358 ecx = MEM32(eax + 0x28); /* 0x2B094C92: mov ecx, dword ptr [eax + 0x28] */ 14359 edx = ebp + (-0x40); /* 0x2B094C95: lea edx, [ebp - 0x40] */ 14360 PUSH32(esp, edx); /* 0x2B094C98: push edx */ 14361 RECOMP_ICALL(MEM32(0x2B0B59D4)); /* 0x2B094C99: call dword ptr [0x2b0b59d4] */ 14362 RECOMP_FLAGS_IN(); 14363 ecx = MEM32(ebp + (-0x30)); /* 0x2B094C9F: mov ecx, dword ptr [ebp - 0x30] */ 14364 /* test ecx, ecx */ /* 0x2B094CA2: test ecx, ecx */ 14365 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 14366 _cf = 0; 14367 _flag_k = FK_TEST; 14368 edi = POP32_VAL(esp); /* 0x2B094CA4: pop edi */ 14369 esi = POP32_VAL(esp); /* 0x2B094CA5: pop esi */ 14370 MEM32(ebp + (-0x4)) = 2; /* 0x2B094CA6: mov dword ptr [ebp - 4], 2 */ 14371 ebx = POP32_VAL(esp); /* 0x2B094CAD: pop ebx */ 14372 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094CB5; /* 0x2B094CAE: je 0x2b094cb5 */ 14373 L_2B094CB0: 14374 RECOMP_ICALL(0x2B005B20u); /* 0x2B094CB0: call 0x2b005b20 */ /* not lifted */ 14375 RECOMP_FLAGS_IN(); 14376 L_2B094CB5: 14377 PUSH32(esp, 1); /* 0x2B094CB5: push 1 */ 14378 ecx = ebp + (-0x40); /* 0x2B094CB7: lea ecx, [ebp - 0x40] */ 14379 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B094CBA: mov dword ptr [ebp - 4], 0xffffffff */ 14380 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B094CC1: call dword ptr [0x2b0b514c] */ 14381 RECOMP_FLAGS_IN(); 14382 ecx = MEM32(ebp + (-0xC)); /* 0x2B094CC7: mov ecx, dword ptr [ebp - 0xc] */ 14383 MEM32(FS_BASE + (0)) = ecx; /* 0x2B094CCA: mov dword ptr fs:[0], ecx */ 14384 esp = ebp; /* 0x2B094CD1: mov esp, ebp */ 14385 ebp = POP32_VAL(esp); /* 0x2B094CD3: pop ebp */ 14386 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B094CD4: ret 4 */ 14387 RECOMP_REGS_OUT(); 14388 } 14389 14390 void sub_2B094B76(void) { 14391 int _fpu_cmp = 0; 14392 uint32_t _cf = 0; 14393 int _df = 1; 14394 uint32_t _flag_k = FK_NONE; 14395 uint32_t _flag_a = 0, _flag_b = 0; 14396 uint32_t _itail_tgt = 0; 14397 RECOMP_REGS_LOCALS 14398 RECOMP_ENTER(0x2B094B76u); 14399 14400 L_2B094B76: 14401 eax = MEM32(ebx + 0x4); /* 0x2B094B76: mov eax, dword ptr [ebx + 4] */ 14402 /* test eax, eax */ /* 0x2B094B79: test eax, eax */ 14403 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14404 _cf = 0; 14405 _flag_k = FK_TEST; 14406 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094C8F; /* 0x2B094B7B: je 0x2b094c8f */ 14407 L_2B094B81: 14408 edx = MEM32(ebx + 0x8); /* 0x2B094B81: mov edx, dword ptr [ebx + 8] */ 14409 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 14410 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14411 edx = edx - eax; /* 0x2B094B84: sub edx, eax */ 14412 _flag_k = FK_CMP; 14413 eax = MEM32(ebp + 0x8); /* 0x2B094B86: mov eax, dword ptr [ebp + 8] */ 14414 if (4u) _cf = (((edx) >> 3) & 1u); /* 0x2B094B89: sar edx, 4 */ 14415 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14416 edx = (uint32_t)((int32_t)edx >> 4u); 14417 /* cmp eax, edx */ /* 0x2B094B8C: cmp eax, edx */ 14418 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 14419 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14420 _flag_k = FK_CMP; 14421 if (CMP_AE(_flag_a, _flag_b)) goto L_2B094C8F; /* 0x2B094B8E: jae 0x2b094c8f */ 14422 L_2B094B94: 14423 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B094B94: mov al, byte ptr [ebp + 0xb] */ 14424 PUSH32(esp, 0); /* 0x2B094B97: push 0 */ 14425 ecx = ebp + (-0x2C); /* 0x2B094B99: lea ecx, [ebp - 0x2c] */ 14426 MEM8(ebp + (-0x2C)) = (uint8_t)(LO8(eax)); /* 0x2B094B9C: mov byte ptr [ebp - 0x2c], al */ 14427 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B094B9F: call dword ptr [0x2b0b514c] */ 14428 RECOMP_FLAGS_IN(); 14429 eax = MEM32(ebx + 0x4); /* 0x2B094BA5: mov eax, dword ptr [ebx + 4] */ 14430 ecx = MEM32(esi + eax + 0x8); /* 0x2B094BA8: mov ecx, dword ptr [esi + eax + 8] */ 14431 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14432 edi = 0; /* 0x2B094BAC: xor edi, edi */ 14433 _cf = 0; 14434 _flag_k = FK_TEST; 14435 /* test ecx, ecx */ /* 0x2B094BAE: test ecx, ecx */ 14436 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 14437 _cf = 0; 14438 _flag_k = FK_TEST; 14439 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B094BB0: mov byte ptr [ebp - 4], 1 */ 14440 MEM32(ebp + (-0x14)) = edi; /* 0x2B094BB4: mov dword ptr [ebp - 0x14], edi */ 14441 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094C26; /* 0x2B094BB7: jbe 0x2b094c26 */ 14442 L_2B094BB9: 14443 ecx = MEM32(esi + eax + 0x4); /* 0x2B094BB9: mov ecx, dword ptr [esi + eax + 4] */ 14444 /* test ecx, ecx */ /* 0x2B094BBD: test ecx, ecx */ 14445 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 14446 _cf = 0; 14447 _flag_k = FK_TEST; 14448 edx = MEM32(0x2B0B513C); /* 0x2B094BBF: mov edx, dword ptr [0x2b0b513c] */ 14449 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094BCB; /* 0x2B094BC5: jne 0x2b094bcb */ 14450 L_2B094BC7: 14451 ecx = edx; /* 0x2B094BC7: mov ecx, edx */ 14452 goto L_2B094BCD; /* 0x2B094BC9: jmp 0x2b094bcd */ 14453 L_2B094BCB: 14454 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 14455 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14456 ecx = ecx + edi; /* 0x2B094BCB: add ecx, edi */ 14457 _flag_k = FK_ADD; 14458 L_2B094BCD: 14459 /* cmp MEM8(ecx), 0x22u */ /* 0x2B094BCD: cmp byte ptr [ecx], 0x22 */ 14460 _flag_a = (uint32_t)(MEM8(ecx)) << 24; _flag_b = (uint32_t)(0x22u) << 24; 14461 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14462 _flag_k = FK_NARROW(FK_CMP, 24); 14463 if (CMP_NE(_flag_a, _flag_b)) goto L_2B094BF5; /* 0x2B094BD0: jne 0x2b094bf5 */ 14464 L_2B094BD2: 14465 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14466 ecx = ecx | 0xFFFFFFFFu; /* 0x2B094BD2: or ecx, 0xffffffff */ 14467 _cf = 0; 14468 _flag_k = FK_TEST; 14469 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14470 eax = 0; /* 0x2B094BD5: xor eax, eax */ 14471 _cf = 0; 14472 _flag_k = FK_TEST; 14473 edi = 0x2B0ED4C8u; /* 0x2B094BD7: mov edi, 0x2b0ed4c8 */ 14474 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B094BDC: repne scasb al, byte ptr es:[edi] */ 14475 ecx = ~ecx; /* 0x2B094BDE: not ecx */ 14476 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14477 ecx = ecx - 1; /* 0x2B094BE0: dec ecx */ 14478 _flag_k = FK_DEC; 14479 PUSH32(esp, ecx); /* 0x2B094BE1: push ecx */ 14480 PUSH32(esp, 0x2B0ED4C8u); /* 0x2B094BE2: push 0x2b0ed4c8 */ 14481 ecx = ebp + (-0x2C); /* 0x2B094BE7: lea ecx, [ebp - 0x2c] */ 14482 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B094BEA: call dword ptr [0x2b0b5188] */ 14483 RECOMP_FLAGS_IN(); 14484 edi = MEM32(ebp + (-0x14)); /* 0x2B094BF0: mov edi, dword ptr [ebp - 0x14] */ 14485 goto L_2B094C17; /* 0x2B094BF3: jmp 0x2b094c17 */ 14486 L_2B094BF5: 14487 eax = MEM32(esi + eax + 0x4); /* 0x2B094BF5: mov eax, dword ptr [esi + eax + 4] */ 14488 /* test eax, eax */ /* 0x2B094BF9: test eax, eax */ 14489 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14490 _cf = 0; 14491 _flag_k = FK_TEST; 14492 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094C01; /* 0x2B094BFB: jne 0x2b094c01 */ 14493 L_2B094BFD: 14494 eax = edx; /* 0x2B094BFD: mov eax, edx */ 14495 goto L_2B094C03; /* 0x2B094BFF: jmp 0x2b094c03 */ 14496 L_2B094C01: 14497 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 14498 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14499 eax = eax + edi; /* 0x2B094C01: add eax, edi */ 14500 _flag_k = FK_ADD; 14501 L_2B094C03: 14502 SET_LO8(ecx, MEM8(eax)); /* 0x2B094C03: mov cl, byte ptr [eax] */ 14503 MEM8(ebp + (-0x1C)) = (uint8_t)(LO8(ecx)); /* 0x2B094C05: mov byte ptr [ebp - 0x1c], cl */ 14504 edx = MEM32(ebp + (-0x1C)); /* 0x2B094C08: mov edx, dword ptr [ebp - 0x1c] */ 14505 PUSH32(esp, edx); /* 0x2B094C0B: push edx */ 14506 PUSH32(esp, 1); /* 0x2B094C0C: push 1 */ 14507 ecx = ebp + (-0x2C); /* 0x2B094C0E: lea ecx, [ebp - 0x2c] */ 14508 RECOMP_ICALL(MEM32(0x2B0B5114)); /* 0x2B094C11: call dword ptr [0x2b0b5114] */ 14509 RECOMP_FLAGS_IN(); 14510 L_2B094C17: 14511 eax = MEM32(ebx + 0x4); /* 0x2B094C17: mov eax, dword ptr [ebx + 4] */ 14512 ecx = MEM32(esi + eax + 0x8); /* 0x2B094C1A: mov ecx, dword ptr [esi + eax + 8] */ 14513 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 14514 edi = edi + 1; /* 0x2B094C1E: inc edi */ 14515 _flag_k = FK_INC; 14516 /* cmp edi, ecx */ /* 0x2B094C1F: cmp edi, ecx */ 14517 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 14518 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14519 _flag_k = FK_CMP; 14520 MEM32(ebp + (-0x14)) = edi; /* 0x2B094C21: mov dword ptr [ebp - 0x14], edi */ 14521 RECOMP_BACKEDGE(); 14522 if (CMP_B(_flag_a, _flag_b)) goto L_2B094BB9; /* 0x2B094C24: jb 0x2b094bb9 */ 14523 L_2B094C26: 14524 eax = MEM32(ebp + (-0x28)); /* 0x2B094C26: mov eax, dword ptr [ebp - 0x28] */ 14525 /* test eax, eax */ /* 0x2B094C29: test eax, eax */ 14526 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14527 _cf = 0; 14528 _flag_k = FK_TEST; 14529 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094C32; /* 0x2B094C2B: jne 0x2b094c32 */ 14530 L_2B094C2D: 14531 eax = MEM32(0x2B0B513C); /* 0x2B094C2D: mov eax, dword ptr [0x2b0b513c] */ 14532 L_2B094C32: 14533 ecx = MEM32(ebp + 0x8); /* 0x2B094C32: mov ecx, dword ptr [ebp + 8] */ 14534 PUSH32(esp, ecx); /* 0x2B094C35: push ecx */ 14535 PUSH32(esp, eax); /* 0x2B094C36: push eax */ 14536 edx = ebp + (-0x10); /* 0x2B094C37: lea edx, [ebp - 0x10] */ 14537 PUSH32(esp, edx); /* 0x2B094C3A: push edx */ 14538 PUSH32(esp, 0x2B0ED4B4u); /* 0x2B094C3B: push 0x2b0ed4b4 */ 14539 eax = ebp + (-0x440); /* 0x2B094C40: lea eax, [ebp - 0x440] */ 14540 PUSH32(esp, 0x400u); /* 0x2B094C46: push 0x400 */ 14541 PUSH32(esp, eax); /* 0x2B094C4B: push eax */ 14542 RECOMP_ICALL(0x2B012180u); /* 0x2B094C4C: call 0x2b012180 */ /* not lifted */ 14543 RECOMP_FLAGS_IN(); 14544 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14545 ecx = ecx | 0xFFFFFFFFu; /* 0x2B094C51: or ecx, 0xffffffff */ 14546 _cf = 0; 14547 _flag_k = FK_TEST; 14548 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u); 14549 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14550 esp = esp + 0x18u; /* 0x2B094C54: add esp, 0x18 */ 14551 _flag_k = FK_ADD; 14552 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14553 eax = 0; /* 0x2B094C57: xor eax, eax */ 14554 _cf = 0; 14555 _flag_k = FK_TEST; 14556 edi = ebp + (-0x440); /* 0x2B094C59: lea edi, [ebp - 0x440] */ 14557 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B094C5F: repne scasb al, byte ptr es:[edi] */ 14558 ecx = ~ecx; /* 0x2B094C61: not ecx */ 14559 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14560 ecx = ecx - 1; /* 0x2B094C63: dec ecx */ 14561 _flag_k = FK_DEC; 14562 PUSH32(esp, ecx); /* 0x2B094C64: push ecx */ 14563 ecx = ebp + (-0x440); /* 0x2B094C65: lea ecx, [ebp - 0x440] */ 14564 PUSH32(esp, ecx); /* 0x2B094C6B: push ecx */ 14565 ecx = ebp + (-0x40); /* 0x2B094C6C: lea ecx, [ebp - 0x40] */ 14566 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B094C6F: call dword ptr [0x2b0b5188] */ 14567 RECOMP_FLAGS_IN(); 14568 PUSH32(esp, 1); /* 0x2B094C75: push 1 */ 14569 ecx = ebp + (-0x2C); /* 0x2B094C77: lea ecx, [ebp - 0x2c] */ 14570 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B094C7A: mov byte ptr [ebp - 4], 0 */ 14571 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B094C7E: call dword ptr [0x2b0b514c] */ 14572 RECOMP_FLAGS_IN(); 14573 _flag_a = (uint32_t)(MEM32(ebp + 0x8)); _flag_b = (uint32_t)(1); 14574 MEM32(ebp + 0x8) = MEM32(ebp + 0x8) + 1; /* 0x2B094C84: inc dword ptr [ebp + 8] */ 14575 _flag_k = FK_INC; 14576 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 14577 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14578 esi = esi + 0x10u; /* 0x2B094C87: add esi, 0x10 */ 14579 _flag_k = FK_ADD; 14580 RECOMP_BACKEDGE(); 14581 goto L_2B094B76; /* 0x2B094C8A: jmp 0x2b094b76 */ 14582 L_2B094C8F: 14583 eax = MEM32(ebp + (-0x18)); /* 0x2B094C8F: mov eax, dword ptr [ebp - 0x18] */ 14584 ecx = MEM32(eax + 0x28); /* 0x2B094C92: mov ecx, dword ptr [eax + 0x28] */ 14585 edx = ebp + (-0x40); /* 0x2B094C95: lea edx, [ebp - 0x40] */ 14586 PUSH32(esp, edx); /* 0x2B094C98: push edx */ 14587 RECOMP_ICALL(MEM32(0x2B0B59D4)); /* 0x2B094C99: call dword ptr [0x2b0b59d4] */ 14588 RECOMP_FLAGS_IN(); 14589 ecx = MEM32(ebp + (-0x30)); /* 0x2B094C9F: mov ecx, dword ptr [ebp - 0x30] */ 14590 /* test ecx, ecx */ /* 0x2B094CA2: test ecx, ecx */ 14591 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 14592 _cf = 0; 14593 _flag_k = FK_TEST; 14594 edi = POP32_VAL(esp); /* 0x2B094CA4: pop edi */ 14595 esi = POP32_VAL(esp); /* 0x2B094CA5: pop esi */ 14596 MEM32(ebp + (-0x4)) = 2; /* 0x2B094CA6: mov dword ptr [ebp - 4], 2 */ 14597 ebx = POP32_VAL(esp); /* 0x2B094CAD: pop ebx */ 14598 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094CB5; /* 0x2B094CAE: je 0x2b094cb5 */ 14599 L_2B094CB0: 14600 RECOMP_ICALL(0x2B005B20u); /* 0x2B094CB0: call 0x2b005b20 */ /* not lifted */ 14601 RECOMP_FLAGS_IN(); 14602 L_2B094CB5: 14603 PUSH32(esp, 1); /* 0x2B094CB5: push 1 */ 14604 ecx = ebp + (-0x40); /* 0x2B094CB7: lea ecx, [ebp - 0x40] */ 14605 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B094CBA: mov dword ptr [ebp - 4], 0xffffffff */ 14606 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B094CC1: call dword ptr [0x2b0b514c] */ 14607 RECOMP_FLAGS_IN(); 14608 ecx = MEM32(ebp + (-0xC)); /* 0x2B094CC7: mov ecx, dword ptr [ebp - 0xc] */ 14609 MEM32(FS_BASE + (0)) = ecx; /* 0x2B094CCA: mov dword ptr fs:[0], ecx */ 14610 esp = ebp; /* 0x2B094CD1: mov esp, ebp */ 14611 ebp = POP32_VAL(esp); /* 0x2B094CD3: pop ebp */ 14612 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B094CD4: ret 4 */ 14613 RECOMP_REGS_OUT(); 14614 } 14615 14616 void sub_2B094BB9(void) { 14617 int _fpu_cmp = 0; 14618 uint32_t _cf = 0; 14619 int _df = 1; 14620 uint32_t _flag_k = FK_NONE; 14621 uint32_t _flag_a = 0, _flag_b = 0; 14622 uint32_t _itail_tgt = 0; 14623 RECOMP_REGS_LOCALS 14624 RECOMP_ENTER(0x2B094BB9u); 14625 14626 goto L_2B094BB9; 14627 L_2B094B76: 14628 eax = MEM32(ebx + 0x4); /* 0x2B094B76: mov eax, dword ptr [ebx + 4] */ 14629 /* test eax, eax */ /* 0x2B094B79: test eax, eax */ 14630 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14631 _cf = 0; 14632 _flag_k = FK_TEST; 14633 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094C8F; /* 0x2B094B7B: je 0x2b094c8f */ 14634 L_2B094B81: 14635 edx = MEM32(ebx + 0x8); /* 0x2B094B81: mov edx, dword ptr [ebx + 8] */ 14636 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 14637 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14638 edx = edx - eax; /* 0x2B094B84: sub edx, eax */ 14639 _flag_k = FK_CMP; 14640 eax = MEM32(ebp + 0x8); /* 0x2B094B86: mov eax, dword ptr [ebp + 8] */ 14641 if (4u) _cf = (((edx) >> 3) & 1u); /* 0x2B094B89: sar edx, 4 */ 14642 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14643 edx = (uint32_t)((int32_t)edx >> 4u); 14644 /* cmp eax, edx */ /* 0x2B094B8C: cmp eax, edx */ 14645 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 14646 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14647 _flag_k = FK_CMP; 14648 if (CMP_AE(_flag_a, _flag_b)) goto L_2B094C8F; /* 0x2B094B8E: jae 0x2b094c8f */ 14649 L_2B094B94: 14650 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B094B94: mov al, byte ptr [ebp + 0xb] */ 14651 PUSH32(esp, 0); /* 0x2B094B97: push 0 */ 14652 ecx = ebp + (-0x2C); /* 0x2B094B99: lea ecx, [ebp - 0x2c] */ 14653 MEM8(ebp + (-0x2C)) = (uint8_t)(LO8(eax)); /* 0x2B094B9C: mov byte ptr [ebp - 0x2c], al */ 14654 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B094B9F: call dword ptr [0x2b0b514c] */ 14655 RECOMP_FLAGS_IN(); 14656 eax = MEM32(ebx + 0x4); /* 0x2B094BA5: mov eax, dword ptr [ebx + 4] */ 14657 ecx = MEM32(esi + eax + 0x8); /* 0x2B094BA8: mov ecx, dword ptr [esi + eax + 8] */ 14658 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14659 edi = 0; /* 0x2B094BAC: xor edi, edi */ 14660 _cf = 0; 14661 _flag_k = FK_TEST; 14662 /* test ecx, ecx */ /* 0x2B094BAE: test ecx, ecx */ 14663 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 14664 _cf = 0; 14665 _flag_k = FK_TEST; 14666 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B094BB0: mov byte ptr [ebp - 4], 1 */ 14667 MEM32(ebp + (-0x14)) = edi; /* 0x2B094BB4: mov dword ptr [ebp - 0x14], edi */ 14668 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094C26; /* 0x2B094BB7: jbe 0x2b094c26 */ 14669 L_2B094BB9: 14670 ecx = MEM32(esi + eax + 0x4); /* 0x2B094BB9: mov ecx, dword ptr [esi + eax + 4] */ 14671 /* test ecx, ecx */ /* 0x2B094BBD: test ecx, ecx */ 14672 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 14673 _cf = 0; 14674 _flag_k = FK_TEST; 14675 edx = MEM32(0x2B0B513C); /* 0x2B094BBF: mov edx, dword ptr [0x2b0b513c] */ 14676 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094BCB; /* 0x2B094BC5: jne 0x2b094bcb */ 14677 L_2B094BC7: 14678 ecx = edx; /* 0x2B094BC7: mov ecx, edx */ 14679 goto L_2B094BCD; /* 0x2B094BC9: jmp 0x2b094bcd */ 14680 L_2B094BCB: 14681 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 14682 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14683 ecx = ecx + edi; /* 0x2B094BCB: add ecx, edi */ 14684 _flag_k = FK_ADD; 14685 L_2B094BCD: 14686 /* cmp MEM8(ecx), 0x22u */ /* 0x2B094BCD: cmp byte ptr [ecx], 0x22 */ 14687 _flag_a = (uint32_t)(MEM8(ecx)) << 24; _flag_b = (uint32_t)(0x22u) << 24; 14688 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14689 _flag_k = FK_NARROW(FK_CMP, 24); 14690 if (CMP_NE(_flag_a, _flag_b)) goto L_2B094BF5; /* 0x2B094BD0: jne 0x2b094bf5 */ 14691 L_2B094BD2: 14692 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14693 ecx = ecx | 0xFFFFFFFFu; /* 0x2B094BD2: or ecx, 0xffffffff */ 14694 _cf = 0; 14695 _flag_k = FK_TEST; 14696 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14697 eax = 0; /* 0x2B094BD5: xor eax, eax */ 14698 _cf = 0; 14699 _flag_k = FK_TEST; 14700 edi = 0x2B0ED4C8u; /* 0x2B094BD7: mov edi, 0x2b0ed4c8 */ 14701 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B094BDC: repne scasb al, byte ptr es:[edi] */ 14702 ecx = ~ecx; /* 0x2B094BDE: not ecx */ 14703 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14704 ecx = ecx - 1; /* 0x2B094BE0: dec ecx */ 14705 _flag_k = FK_DEC; 14706 PUSH32(esp, ecx); /* 0x2B094BE1: push ecx */ 14707 PUSH32(esp, 0x2B0ED4C8u); /* 0x2B094BE2: push 0x2b0ed4c8 */ 14708 ecx = ebp + (-0x2C); /* 0x2B094BE7: lea ecx, [ebp - 0x2c] */ 14709 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B094BEA: call dword ptr [0x2b0b5188] */ 14710 RECOMP_FLAGS_IN(); 14711 edi = MEM32(ebp + (-0x14)); /* 0x2B094BF0: mov edi, dword ptr [ebp - 0x14] */ 14712 goto L_2B094C17; /* 0x2B094BF3: jmp 0x2b094c17 */ 14713 L_2B094BF5: 14714 eax = MEM32(esi + eax + 0x4); /* 0x2B094BF5: mov eax, dword ptr [esi + eax + 4] */ 14715 /* test eax, eax */ /* 0x2B094BF9: test eax, eax */ 14716 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14717 _cf = 0; 14718 _flag_k = FK_TEST; 14719 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094C01; /* 0x2B094BFB: jne 0x2b094c01 */ 14720 L_2B094BFD: 14721 eax = edx; /* 0x2B094BFD: mov eax, edx */ 14722 goto L_2B094C03; /* 0x2B094BFF: jmp 0x2b094c03 */ 14723 L_2B094C01: 14724 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 14725 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14726 eax = eax + edi; /* 0x2B094C01: add eax, edi */ 14727 _flag_k = FK_ADD; 14728 L_2B094C03: 14729 SET_LO8(ecx, MEM8(eax)); /* 0x2B094C03: mov cl, byte ptr [eax] */ 14730 MEM8(ebp + (-0x1C)) = (uint8_t)(LO8(ecx)); /* 0x2B094C05: mov byte ptr [ebp - 0x1c], cl */ 14731 edx = MEM32(ebp + (-0x1C)); /* 0x2B094C08: mov edx, dword ptr [ebp - 0x1c] */ 14732 PUSH32(esp, edx); /* 0x2B094C0B: push edx */ 14733 PUSH32(esp, 1); /* 0x2B094C0C: push 1 */ 14734 ecx = ebp + (-0x2C); /* 0x2B094C0E: lea ecx, [ebp - 0x2c] */ 14735 RECOMP_ICALL(MEM32(0x2B0B5114)); /* 0x2B094C11: call dword ptr [0x2b0b5114] */ 14736 RECOMP_FLAGS_IN(); 14737 L_2B094C17: 14738 eax = MEM32(ebx + 0x4); /* 0x2B094C17: mov eax, dword ptr [ebx + 4] */ 14739 ecx = MEM32(esi + eax + 0x8); /* 0x2B094C1A: mov ecx, dword ptr [esi + eax + 8] */ 14740 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 14741 edi = edi + 1; /* 0x2B094C1E: inc edi */ 14742 _flag_k = FK_INC; 14743 /* cmp edi, ecx */ /* 0x2B094C1F: cmp edi, ecx */ 14744 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 14745 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14746 _flag_k = FK_CMP; 14747 MEM32(ebp + (-0x14)) = edi; /* 0x2B094C21: mov dword ptr [ebp - 0x14], edi */ 14748 RECOMP_BACKEDGE(); 14749 if (CMP_B(_flag_a, _flag_b)) goto L_2B094BB9; /* 0x2B094C24: jb 0x2b094bb9 */ 14750 L_2B094C26: 14751 eax = MEM32(ebp + (-0x28)); /* 0x2B094C26: mov eax, dword ptr [ebp - 0x28] */ 14752 /* test eax, eax */ /* 0x2B094C29: test eax, eax */ 14753 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14754 _cf = 0; 14755 _flag_k = FK_TEST; 14756 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094C32; /* 0x2B094C2B: jne 0x2b094c32 */ 14757 L_2B094C2D: 14758 eax = MEM32(0x2B0B513C); /* 0x2B094C2D: mov eax, dword ptr [0x2b0b513c] */ 14759 L_2B094C32: 14760 ecx = MEM32(ebp + 0x8); /* 0x2B094C32: mov ecx, dword ptr [ebp + 8] */ 14761 PUSH32(esp, ecx); /* 0x2B094C35: push ecx */ 14762 PUSH32(esp, eax); /* 0x2B094C36: push eax */ 14763 edx = ebp + (-0x10); /* 0x2B094C37: lea edx, [ebp - 0x10] */ 14764 PUSH32(esp, edx); /* 0x2B094C3A: push edx */ 14765 PUSH32(esp, 0x2B0ED4B4u); /* 0x2B094C3B: push 0x2b0ed4b4 */ 14766 eax = ebp + (-0x440); /* 0x2B094C40: lea eax, [ebp - 0x440] */ 14767 PUSH32(esp, 0x400u); /* 0x2B094C46: push 0x400 */ 14768 PUSH32(esp, eax); /* 0x2B094C4B: push eax */ 14769 RECOMP_ICALL(0x2B012180u); /* 0x2B094C4C: call 0x2b012180 */ /* not lifted */ 14770 RECOMP_FLAGS_IN(); 14771 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14772 ecx = ecx | 0xFFFFFFFFu; /* 0x2B094C51: or ecx, 0xffffffff */ 14773 _cf = 0; 14774 _flag_k = FK_TEST; 14775 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u); 14776 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14777 esp = esp + 0x18u; /* 0x2B094C54: add esp, 0x18 */ 14778 _flag_k = FK_ADD; 14779 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14780 eax = 0; /* 0x2B094C57: xor eax, eax */ 14781 _cf = 0; 14782 _flag_k = FK_TEST; 14783 edi = ebp + (-0x440); /* 0x2B094C59: lea edi, [ebp - 0x440] */ 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; } /* 0x2B094C5F: repne scasb al, byte ptr es:[edi] */ 14785 ecx = ~ecx; /* 0x2B094C61: not ecx */ 14786 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14787 ecx = ecx - 1; /* 0x2B094C63: dec ecx */ 14788 _flag_k = FK_DEC; 14789 PUSH32(esp, ecx); /* 0x2B094C64: push ecx */ 14790 ecx = ebp + (-0x440); /* 0x2B094C65: lea ecx, [ebp - 0x440] */ 14791 PUSH32(esp, ecx); /* 0x2B094C6B: push ecx */ 14792 ecx = ebp + (-0x40); /* 0x2B094C6C: lea ecx, [ebp - 0x40] */ 14793 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B094C6F: call dword ptr [0x2b0b5188] */ 14794 RECOMP_FLAGS_IN(); 14795 PUSH32(esp, 1); /* 0x2B094C75: push 1 */ 14796 ecx = ebp + (-0x2C); /* 0x2B094C77: lea ecx, [ebp - 0x2c] */ 14797 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B094C7A: mov byte ptr [ebp - 4], 0 */ 14798 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B094C7E: call dword ptr [0x2b0b514c] */ 14799 RECOMP_FLAGS_IN(); 14800 _flag_a = (uint32_t)(MEM32(ebp + 0x8)); _flag_b = (uint32_t)(1); 14801 MEM32(ebp + 0x8) = MEM32(ebp + 0x8) + 1; /* 0x2B094C84: inc dword ptr [ebp + 8] */ 14802 _flag_k = FK_INC; 14803 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 14804 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14805 esi = esi + 0x10u; /* 0x2B094C87: add esi, 0x10 */ 14806 _flag_k = FK_ADD; 14807 RECOMP_BACKEDGE(); 14808 goto L_2B094B76; /* 0x2B094C8A: jmp 0x2b094b76 */ 14809 L_2B094C8F: 14810 eax = MEM32(ebp + (-0x18)); /* 0x2B094C8F: mov eax, dword ptr [ebp - 0x18] */ 14811 ecx = MEM32(eax + 0x28); /* 0x2B094C92: mov ecx, dword ptr [eax + 0x28] */ 14812 edx = ebp + (-0x40); /* 0x2B094C95: lea edx, [ebp - 0x40] */ 14813 PUSH32(esp, edx); /* 0x2B094C98: push edx */ 14814 RECOMP_ICALL(MEM32(0x2B0B59D4)); /* 0x2B094C99: call dword ptr [0x2b0b59d4] */ 14815 RECOMP_FLAGS_IN(); 14816 ecx = MEM32(ebp + (-0x30)); /* 0x2B094C9F: mov ecx, dword ptr [ebp - 0x30] */ 14817 /* test ecx, ecx */ /* 0x2B094CA2: test ecx, ecx */ 14818 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 14819 _cf = 0; 14820 _flag_k = FK_TEST; 14821 edi = POP32_VAL(esp); /* 0x2B094CA4: pop edi */ 14822 esi = POP32_VAL(esp); /* 0x2B094CA5: pop esi */ 14823 MEM32(ebp + (-0x4)) = 2; /* 0x2B094CA6: mov dword ptr [ebp - 4], 2 */ 14824 ebx = POP32_VAL(esp); /* 0x2B094CAD: pop ebx */ 14825 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094CB5; /* 0x2B094CAE: je 0x2b094cb5 */ 14826 L_2B094CB0: 14827 RECOMP_ICALL(0x2B005B20u); /* 0x2B094CB0: call 0x2b005b20 */ /* not lifted */ 14828 RECOMP_FLAGS_IN(); 14829 L_2B094CB5: 14830 PUSH32(esp, 1); /* 0x2B094CB5: push 1 */ 14831 ecx = ebp + (-0x40); /* 0x2B094CB7: lea ecx, [ebp - 0x40] */ 14832 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B094CBA: mov dword ptr [ebp - 4], 0xffffffff */ 14833 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B094CC1: call dword ptr [0x2b0b514c] */ 14834 RECOMP_FLAGS_IN(); 14835 ecx = MEM32(ebp + (-0xC)); /* 0x2B094CC7: mov ecx, dword ptr [ebp - 0xc] */ 14836 MEM32(FS_BASE + (0)) = ecx; /* 0x2B094CCA: mov dword ptr fs:[0], ecx */ 14837 esp = ebp; /* 0x2B094CD1: mov esp, ebp */ 14838 ebp = POP32_VAL(esp); /* 0x2B094CD3: pop ebp */ 14839 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B094CD4: ret 4 */ 14840 RECOMP_REGS_OUT(); 14841 } 14842 14843 void sub_2B094BCD(void) { 14844 int _fpu_cmp = 0; 14845 uint32_t _cf = 0; 14846 int _df = 1; 14847 uint32_t _flag_k = FK_NONE; 14848 uint32_t _flag_a = 0, _flag_b = 0; 14849 uint32_t _itail_tgt = 0; 14850 RECOMP_REGS_LOCALS 14851 RECOMP_ENTER(0x2B094BCDu); 14852 14853 goto L_2B094BCD; 14854 L_2B094B76: 14855 eax = MEM32(ebx + 0x4); /* 0x2B094B76: mov eax, dword ptr [ebx + 4] */ 14856 /* test eax, eax */ /* 0x2B094B79: test eax, eax */ 14857 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14858 _cf = 0; 14859 _flag_k = FK_TEST; 14860 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094C8F; /* 0x2B094B7B: je 0x2b094c8f */ 14861 L_2B094B81: 14862 edx = MEM32(ebx + 0x8); /* 0x2B094B81: mov edx, dword ptr [ebx + 8] */ 14863 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 14864 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14865 edx = edx - eax; /* 0x2B094B84: sub edx, eax */ 14866 _flag_k = FK_CMP; 14867 eax = MEM32(ebp + 0x8); /* 0x2B094B86: mov eax, dword ptr [ebp + 8] */ 14868 if (4u) _cf = (((edx) >> 3) & 1u); /* 0x2B094B89: sar edx, 4 */ 14869 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14870 edx = (uint32_t)((int32_t)edx >> 4u); 14871 /* cmp eax, edx */ /* 0x2B094B8C: cmp eax, edx */ 14872 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 14873 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14874 _flag_k = FK_CMP; 14875 if (CMP_AE(_flag_a, _flag_b)) goto L_2B094C8F; /* 0x2B094B8E: jae 0x2b094c8f */ 14876 L_2B094B94: 14877 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B094B94: mov al, byte ptr [ebp + 0xb] */ 14878 PUSH32(esp, 0); /* 0x2B094B97: push 0 */ 14879 ecx = ebp + (-0x2C); /* 0x2B094B99: lea ecx, [ebp - 0x2c] */ 14880 MEM8(ebp + (-0x2C)) = (uint8_t)(LO8(eax)); /* 0x2B094B9C: mov byte ptr [ebp - 0x2c], al */ 14881 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B094B9F: call dword ptr [0x2b0b514c] */ 14882 RECOMP_FLAGS_IN(); 14883 eax = MEM32(ebx + 0x4); /* 0x2B094BA5: mov eax, dword ptr [ebx + 4] */ 14884 ecx = MEM32(esi + eax + 0x8); /* 0x2B094BA8: mov ecx, dword ptr [esi + eax + 8] */ 14885 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14886 edi = 0; /* 0x2B094BAC: xor edi, edi */ 14887 _cf = 0; 14888 _flag_k = FK_TEST; 14889 /* test ecx, ecx */ /* 0x2B094BAE: test ecx, ecx */ 14890 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 14891 _cf = 0; 14892 _flag_k = FK_TEST; 14893 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B094BB0: mov byte ptr [ebp - 4], 1 */ 14894 MEM32(ebp + (-0x14)) = edi; /* 0x2B094BB4: mov dword ptr [ebp - 0x14], edi */ 14895 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094C26; /* 0x2B094BB7: jbe 0x2b094c26 */ 14896 L_2B094BB9: 14897 ecx = MEM32(esi + eax + 0x4); /* 0x2B094BB9: mov ecx, dword ptr [esi + eax + 4] */ 14898 /* test ecx, ecx */ /* 0x2B094BBD: test ecx, ecx */ 14899 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 14900 _cf = 0; 14901 _flag_k = FK_TEST; 14902 edx = MEM32(0x2B0B513C); /* 0x2B094BBF: mov edx, dword ptr [0x2b0b513c] */ 14903 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094BCB; /* 0x2B094BC5: jne 0x2b094bcb */ 14904 L_2B094BC7: 14905 ecx = edx; /* 0x2B094BC7: mov ecx, edx */ 14906 goto L_2B094BCD; /* 0x2B094BC9: jmp 0x2b094bcd */ 14907 L_2B094BCB: 14908 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 14909 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14910 ecx = ecx + edi; /* 0x2B094BCB: add ecx, edi */ 14911 _flag_k = FK_ADD; 14912 L_2B094BCD: 14913 /* cmp MEM8(ecx), 0x22u */ /* 0x2B094BCD: cmp byte ptr [ecx], 0x22 */ 14914 _flag_a = (uint32_t)(MEM8(ecx)) << 24; _flag_b = (uint32_t)(0x22u) << 24; 14915 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14916 _flag_k = FK_NARROW(FK_CMP, 24); 14917 if (CMP_NE(_flag_a, _flag_b)) goto L_2B094BF5; /* 0x2B094BD0: jne 0x2b094bf5 */ 14918 L_2B094BD2: 14919 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14920 ecx = ecx | 0xFFFFFFFFu; /* 0x2B094BD2: or ecx, 0xffffffff */ 14921 _cf = 0; 14922 _flag_k = FK_TEST; 14923 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14924 eax = 0; /* 0x2B094BD5: xor eax, eax */ 14925 _cf = 0; 14926 _flag_k = FK_TEST; 14927 edi = 0x2B0ED4C8u; /* 0x2B094BD7: mov edi, 0x2b0ed4c8 */ 14928 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B094BDC: repne scasb al, byte ptr es:[edi] */ 14929 ecx = ~ecx; /* 0x2B094BDE: not ecx */ 14930 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14931 ecx = ecx - 1; /* 0x2B094BE0: dec ecx */ 14932 _flag_k = FK_DEC; 14933 PUSH32(esp, ecx); /* 0x2B094BE1: push ecx */ 14934 PUSH32(esp, 0x2B0ED4C8u); /* 0x2B094BE2: push 0x2b0ed4c8 */ 14935 ecx = ebp + (-0x2C); /* 0x2B094BE7: lea ecx, [ebp - 0x2c] */ 14936 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B094BEA: call dword ptr [0x2b0b5188] */ 14937 RECOMP_FLAGS_IN(); 14938 edi = MEM32(ebp + (-0x14)); /* 0x2B094BF0: mov edi, dword ptr [ebp - 0x14] */ 14939 goto L_2B094C17; /* 0x2B094BF3: jmp 0x2b094c17 */ 14940 L_2B094BF5: 14941 eax = MEM32(esi + eax + 0x4); /* 0x2B094BF5: mov eax, dword ptr [esi + eax + 4] */ 14942 /* test eax, eax */ /* 0x2B094BF9: test eax, eax */ 14943 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14944 _cf = 0; 14945 _flag_k = FK_TEST; 14946 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094C01; /* 0x2B094BFB: jne 0x2b094c01 */ 14947 L_2B094BFD: 14948 eax = edx; /* 0x2B094BFD: mov eax, edx */ 14949 goto L_2B094C03; /* 0x2B094BFF: jmp 0x2b094c03 */ 14950 L_2B094C01: 14951 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 14952 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14953 eax = eax + edi; /* 0x2B094C01: add eax, edi */ 14954 _flag_k = FK_ADD; 14955 L_2B094C03: 14956 SET_LO8(ecx, MEM8(eax)); /* 0x2B094C03: mov cl, byte ptr [eax] */ 14957 MEM8(ebp + (-0x1C)) = (uint8_t)(LO8(ecx)); /* 0x2B094C05: mov byte ptr [ebp - 0x1c], cl */ 14958 edx = MEM32(ebp + (-0x1C)); /* 0x2B094C08: mov edx, dword ptr [ebp - 0x1c] */ 14959 PUSH32(esp, edx); /* 0x2B094C0B: push edx */ 14960 PUSH32(esp, 1); /* 0x2B094C0C: push 1 */ 14961 ecx = ebp + (-0x2C); /* 0x2B094C0E: lea ecx, [ebp - 0x2c] */ 14962 RECOMP_ICALL(MEM32(0x2B0B5114)); /* 0x2B094C11: call dword ptr [0x2b0b5114] */ 14963 RECOMP_FLAGS_IN(); 14964 L_2B094C17: 14965 eax = MEM32(ebx + 0x4); /* 0x2B094C17: mov eax, dword ptr [ebx + 4] */ 14966 ecx = MEM32(esi + eax + 0x8); /* 0x2B094C1A: mov ecx, dword ptr [esi + eax + 8] */ 14967 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 14968 edi = edi + 1; /* 0x2B094C1E: inc edi */ 14969 _flag_k = FK_INC; 14970 /* cmp edi, ecx */ /* 0x2B094C1F: cmp edi, ecx */ 14971 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 14972 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14973 _flag_k = FK_CMP; 14974 MEM32(ebp + (-0x14)) = edi; /* 0x2B094C21: mov dword ptr [ebp - 0x14], edi */ 14975 RECOMP_BACKEDGE(); 14976 if (CMP_B(_flag_a, _flag_b)) goto L_2B094BB9; /* 0x2B094C24: jb 0x2b094bb9 */ 14977 L_2B094C26: 14978 eax = MEM32(ebp + (-0x28)); /* 0x2B094C26: mov eax, dword ptr [ebp - 0x28] */ 14979 /* test eax, eax */ /* 0x2B094C29: test eax, eax */ 14980 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14981 _cf = 0; 14982 _flag_k = FK_TEST; 14983 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094C32; /* 0x2B094C2B: jne 0x2b094c32 */ 14984 L_2B094C2D: 14985 eax = MEM32(0x2B0B513C); /* 0x2B094C2D: mov eax, dword ptr [0x2b0b513c] */ 14986 L_2B094C32: 14987 ecx = MEM32(ebp + 0x8); /* 0x2B094C32: mov ecx, dword ptr [ebp + 8] */ 14988 PUSH32(esp, ecx); /* 0x2B094C35: push ecx */ 14989 PUSH32(esp, eax); /* 0x2B094C36: push eax */ 14990 edx = ebp + (-0x10); /* 0x2B094C37: lea edx, [ebp - 0x10] */ 14991 PUSH32(esp, edx); /* 0x2B094C3A: push edx */ 14992 PUSH32(esp, 0x2B0ED4B4u); /* 0x2B094C3B: push 0x2b0ed4b4 */ 14993 eax = ebp + (-0x440); /* 0x2B094C40: lea eax, [ebp - 0x440] */ 14994 PUSH32(esp, 0x400u); /* 0x2B094C46: push 0x400 */ 14995 PUSH32(esp, eax); /* 0x2B094C4B: push eax */ 14996 RECOMP_ICALL(0x2B012180u); /* 0x2B094C4C: call 0x2b012180 */ /* not lifted */ 14997 RECOMP_FLAGS_IN(); 14998 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14999 ecx = ecx | 0xFFFFFFFFu; /* 0x2B094C51: or ecx, 0xffffffff */ 15000 _cf = 0; 15001 _flag_k = FK_TEST; 15002 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u); 15003 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15004 esp = esp + 0x18u; /* 0x2B094C54: add esp, 0x18 */ 15005 _flag_k = FK_ADD; 15006 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15007 eax = 0; /* 0x2B094C57: xor eax, eax */ 15008 _cf = 0; 15009 _flag_k = FK_TEST; 15010 edi = ebp + (-0x440); /* 0x2B094C59: lea edi, [ebp - 0x440] */ 15011 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B094C5F: repne scasb al, byte ptr es:[edi] */ 15012 ecx = ~ecx; /* 0x2B094C61: not ecx */ 15013 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15014 ecx = ecx - 1; /* 0x2B094C63: dec ecx */ 15015 _flag_k = FK_DEC; 15016 PUSH32(esp, ecx); /* 0x2B094C64: push ecx */ 15017 ecx = ebp + (-0x440); /* 0x2B094C65: lea ecx, [ebp - 0x440] */ 15018 PUSH32(esp, ecx); /* 0x2B094C6B: push ecx */ 15019 ecx = ebp + (-0x40); /* 0x2B094C6C: lea ecx, [ebp - 0x40] */ 15020 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B094C6F: call dword ptr [0x2b0b5188] */ 15021 RECOMP_FLAGS_IN(); 15022 PUSH32(esp, 1); /* 0x2B094C75: push 1 */ 15023 ecx = ebp + (-0x2C); /* 0x2B094C77: lea ecx, [ebp - 0x2c] */ 15024 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B094C7A: mov byte ptr [ebp - 4], 0 */ 15025 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B094C7E: call dword ptr [0x2b0b514c] */ 15026 RECOMP_FLAGS_IN(); 15027 _flag_a = (uint32_t)(MEM32(ebp + 0x8)); _flag_b = (uint32_t)(1); 15028 MEM32(ebp + 0x8) = MEM32(ebp + 0x8) + 1; /* 0x2B094C84: inc dword ptr [ebp + 8] */ 15029 _flag_k = FK_INC; 15030 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 15031 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15032 esi = esi + 0x10u; /* 0x2B094C87: add esi, 0x10 */ 15033 _flag_k = FK_ADD; 15034 RECOMP_BACKEDGE(); 15035 goto L_2B094B76; /* 0x2B094C8A: jmp 0x2b094b76 */ 15036 L_2B094C8F: 15037 eax = MEM32(ebp + (-0x18)); /* 0x2B094C8F: mov eax, dword ptr [ebp - 0x18] */ 15038 ecx = MEM32(eax + 0x28); /* 0x2B094C92: mov ecx, dword ptr [eax + 0x28] */ 15039 edx = ebp + (-0x40); /* 0x2B094C95: lea edx, [ebp - 0x40] */ 15040 PUSH32(esp, edx); /* 0x2B094C98: push edx */ 15041 RECOMP_ICALL(MEM32(0x2B0B59D4)); /* 0x2B094C99: call dword ptr [0x2b0b59d4] */ 15042 RECOMP_FLAGS_IN(); 15043 ecx = MEM32(ebp + (-0x30)); /* 0x2B094C9F: mov ecx, dword ptr [ebp - 0x30] */ 15044 /* test ecx, ecx */ /* 0x2B094CA2: test ecx, ecx */ 15045 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 15046 _cf = 0; 15047 _flag_k = FK_TEST; 15048 edi = POP32_VAL(esp); /* 0x2B094CA4: pop edi */ 15049 esi = POP32_VAL(esp); /* 0x2B094CA5: pop esi */ 15050 MEM32(ebp + (-0x4)) = 2; /* 0x2B094CA6: mov dword ptr [ebp - 4], 2 */ 15051 ebx = POP32_VAL(esp); /* 0x2B094CAD: pop ebx */ 15052 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094CB5; /* 0x2B094CAE: je 0x2b094cb5 */ 15053 L_2B094CB0: 15054 RECOMP_ICALL(0x2B005B20u); /* 0x2B094CB0: call 0x2b005b20 */ /* not lifted */ 15055 RECOMP_FLAGS_IN(); 15056 L_2B094CB5: 15057 PUSH32(esp, 1); /* 0x2B094CB5: push 1 */ 15058 ecx = ebp + (-0x40); /* 0x2B094CB7: lea ecx, [ebp - 0x40] */ 15059 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B094CBA: mov dword ptr [ebp - 4], 0xffffffff */ 15060 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B094CC1: call dword ptr [0x2b0b514c] */ 15061 RECOMP_FLAGS_IN(); 15062 ecx = MEM32(ebp + (-0xC)); /* 0x2B094CC7: mov ecx, dword ptr [ebp - 0xc] */ 15063 MEM32(FS_BASE + (0)) = ecx; /* 0x2B094CCA: mov dword ptr fs:[0], ecx */ 15064 esp = ebp; /* 0x2B094CD1: mov esp, ebp */ 15065 ebp = POP32_VAL(esp); /* 0x2B094CD3: pop ebp */ 15066 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B094CD4: ret 4 */ 15067 RECOMP_REGS_OUT(); 15068 } 15069 15070 void sub_2B094C03(void) { 15071 int _fpu_cmp = 0; 15072 uint32_t _cf = 0; 15073 int _df = 1; 15074 uint32_t _flag_k = FK_NONE; 15075 uint32_t _flag_a = 0, _flag_b = 0; 15076 uint32_t _itail_tgt = 0; 15077 RECOMP_REGS_LOCALS 15078 RECOMP_ENTER(0x2B094C03u); 15079 15080 goto L_2B094C03; 15081 L_2B094B76: 15082 eax = MEM32(ebx + 0x4); /* 0x2B094B76: mov eax, dword ptr [ebx + 4] */ 15083 /* test eax, eax */ /* 0x2B094B79: test eax, eax */ 15084 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15085 _cf = 0; 15086 _flag_k = FK_TEST; 15087 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094C8F; /* 0x2B094B7B: je 0x2b094c8f */ 15088 L_2B094B81: 15089 edx = MEM32(ebx + 0x8); /* 0x2B094B81: mov edx, dword ptr [ebx + 8] */ 15090 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 15091 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15092 edx = edx - eax; /* 0x2B094B84: sub edx, eax */ 15093 _flag_k = FK_CMP; 15094 eax = MEM32(ebp + 0x8); /* 0x2B094B86: mov eax, dword ptr [ebp + 8] */ 15095 if (4u) _cf = (((edx) >> 3) & 1u); /* 0x2B094B89: sar edx, 4 */ 15096 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 15097 edx = (uint32_t)((int32_t)edx >> 4u); 15098 /* cmp eax, edx */ /* 0x2B094B8C: cmp eax, edx */ 15099 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 15100 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15101 _flag_k = FK_CMP; 15102 if (CMP_AE(_flag_a, _flag_b)) goto L_2B094C8F; /* 0x2B094B8E: jae 0x2b094c8f */ 15103 L_2B094B94: 15104 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B094B94: mov al, byte ptr [ebp + 0xb] */ 15105 PUSH32(esp, 0); /* 0x2B094B97: push 0 */ 15106 ecx = ebp + (-0x2C); /* 0x2B094B99: lea ecx, [ebp - 0x2c] */ 15107 MEM8(ebp + (-0x2C)) = (uint8_t)(LO8(eax)); /* 0x2B094B9C: mov byte ptr [ebp - 0x2c], al */ 15108 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B094B9F: call dword ptr [0x2b0b514c] */ 15109 RECOMP_FLAGS_IN(); 15110 eax = MEM32(ebx + 0x4); /* 0x2B094BA5: mov eax, dword ptr [ebx + 4] */ 15111 ecx = MEM32(esi + eax + 0x8); /* 0x2B094BA8: mov ecx, dword ptr [esi + eax + 8] */ 15112 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15113 edi = 0; /* 0x2B094BAC: xor edi, edi */ 15114 _cf = 0; 15115 _flag_k = FK_TEST; 15116 /* test ecx, ecx */ /* 0x2B094BAE: test ecx, ecx */ 15117 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 15118 _cf = 0; 15119 _flag_k = FK_TEST; 15120 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B094BB0: mov byte ptr [ebp - 4], 1 */ 15121 MEM32(ebp + (-0x14)) = edi; /* 0x2B094BB4: mov dword ptr [ebp - 0x14], edi */ 15122 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094C26; /* 0x2B094BB7: jbe 0x2b094c26 */ 15123 L_2B094BB9: 15124 ecx = MEM32(esi + eax + 0x4); /* 0x2B094BB9: mov ecx, dword ptr [esi + eax + 4] */ 15125 /* test ecx, ecx */ /* 0x2B094BBD: test ecx, ecx */ 15126 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 15127 _cf = 0; 15128 _flag_k = FK_TEST; 15129 edx = MEM32(0x2B0B513C); /* 0x2B094BBF: mov edx, dword ptr [0x2b0b513c] */ 15130 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094BCB; /* 0x2B094BC5: jne 0x2b094bcb */ 15131 L_2B094BC7: 15132 ecx = edx; /* 0x2B094BC7: mov ecx, edx */ 15133 goto L_2B094BCD; /* 0x2B094BC9: jmp 0x2b094bcd */ 15134 L_2B094BCB: 15135 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 15136 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15137 ecx = ecx + edi; /* 0x2B094BCB: add ecx, edi */ 15138 _flag_k = FK_ADD; 15139 L_2B094BCD: 15140 /* cmp MEM8(ecx), 0x22u */ /* 0x2B094BCD: cmp byte ptr [ecx], 0x22 */ 15141 _flag_a = (uint32_t)(MEM8(ecx)) << 24; _flag_b = (uint32_t)(0x22u) << 24; 15142 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15143 _flag_k = FK_NARROW(FK_CMP, 24); 15144 if (CMP_NE(_flag_a, _flag_b)) goto L_2B094BF5; /* 0x2B094BD0: jne 0x2b094bf5 */ 15145 L_2B094BD2: 15146 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15147 ecx = ecx | 0xFFFFFFFFu; /* 0x2B094BD2: or ecx, 0xffffffff */ 15148 _cf = 0; 15149 _flag_k = FK_TEST; 15150 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15151 eax = 0; /* 0x2B094BD5: xor eax, eax */ 15152 _cf = 0; 15153 _flag_k = FK_TEST; 15154 edi = 0x2B0ED4C8u; /* 0x2B094BD7: mov edi, 0x2b0ed4c8 */ 15155 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B094BDC: repne scasb al, byte ptr es:[edi] */ 15156 ecx = ~ecx; /* 0x2B094BDE: not ecx */ 15157 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15158 ecx = ecx - 1; /* 0x2B094BE0: dec ecx */ 15159 _flag_k = FK_DEC; 15160 PUSH32(esp, ecx); /* 0x2B094BE1: push ecx */ 15161 PUSH32(esp, 0x2B0ED4C8u); /* 0x2B094BE2: push 0x2b0ed4c8 */ 15162 ecx = ebp + (-0x2C); /* 0x2B094BE7: lea ecx, [ebp - 0x2c] */ 15163 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B094BEA: call dword ptr [0x2b0b5188] */ 15164 RECOMP_FLAGS_IN(); 15165 edi = MEM32(ebp + (-0x14)); /* 0x2B094BF0: mov edi, dword ptr [ebp - 0x14] */ 15166 goto L_2B094C17; /* 0x2B094BF3: jmp 0x2b094c17 */ 15167 L_2B094BF5: 15168 eax = MEM32(esi + eax + 0x4); /* 0x2B094BF5: mov eax, dword ptr [esi + eax + 4] */ 15169 /* test eax, eax */ /* 0x2B094BF9: test eax, eax */ 15170 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15171 _cf = 0; 15172 _flag_k = FK_TEST; 15173 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094C01; /* 0x2B094BFB: jne 0x2b094c01 */ 15174 L_2B094BFD: 15175 eax = edx; /* 0x2B094BFD: mov eax, edx */ 15176 goto L_2B094C03; /* 0x2B094BFF: jmp 0x2b094c03 */ 15177 L_2B094C01: 15178 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 15179 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15180 eax = eax + edi; /* 0x2B094C01: add eax, edi */ 15181 _flag_k = FK_ADD; 15182 L_2B094C03: 15183 SET_LO8(ecx, MEM8(eax)); /* 0x2B094C03: mov cl, byte ptr [eax] */ 15184 MEM8(ebp + (-0x1C)) = (uint8_t)(LO8(ecx)); /* 0x2B094C05: mov byte ptr [ebp - 0x1c], cl */ 15185 edx = MEM32(ebp + (-0x1C)); /* 0x2B094C08: mov edx, dword ptr [ebp - 0x1c] */ 15186 PUSH32(esp, edx); /* 0x2B094C0B: push edx */ 15187 PUSH32(esp, 1); /* 0x2B094C0C: push 1 */ 15188 ecx = ebp + (-0x2C); /* 0x2B094C0E: lea ecx, [ebp - 0x2c] */ 15189 RECOMP_ICALL(MEM32(0x2B0B5114)); /* 0x2B094C11: call dword ptr [0x2b0b5114] */ 15190 RECOMP_FLAGS_IN(); 15191 L_2B094C17: 15192 eax = MEM32(ebx + 0x4); /* 0x2B094C17: mov eax, dword ptr [ebx + 4] */ 15193 ecx = MEM32(esi + eax + 0x8); /* 0x2B094C1A: mov ecx, dword ptr [esi + eax + 8] */ 15194 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 15195 edi = edi + 1; /* 0x2B094C1E: inc edi */ 15196 _flag_k = FK_INC; 15197 /* cmp edi, ecx */ /* 0x2B094C1F: cmp edi, ecx */ 15198 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 15199 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15200 _flag_k = FK_CMP; 15201 MEM32(ebp + (-0x14)) = edi; /* 0x2B094C21: mov dword ptr [ebp - 0x14], edi */ 15202 RECOMP_BACKEDGE(); 15203 if (CMP_B(_flag_a, _flag_b)) goto L_2B094BB9; /* 0x2B094C24: jb 0x2b094bb9 */ 15204 L_2B094C26: 15205 eax = MEM32(ebp + (-0x28)); /* 0x2B094C26: mov eax, dword ptr [ebp - 0x28] */ 15206 /* test eax, eax */ /* 0x2B094C29: test eax, eax */ 15207 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15208 _cf = 0; 15209 _flag_k = FK_TEST; 15210 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094C32; /* 0x2B094C2B: jne 0x2b094c32 */ 15211 L_2B094C2D: 15212 eax = MEM32(0x2B0B513C); /* 0x2B094C2D: mov eax, dword ptr [0x2b0b513c] */ 15213 L_2B094C32: 15214 ecx = MEM32(ebp + 0x8); /* 0x2B094C32: mov ecx, dword ptr [ebp + 8] */ 15215 PUSH32(esp, ecx); /* 0x2B094C35: push ecx */ 15216 PUSH32(esp, eax); /* 0x2B094C36: push eax */ 15217 edx = ebp + (-0x10); /* 0x2B094C37: lea edx, [ebp - 0x10] */ 15218 PUSH32(esp, edx); /* 0x2B094C3A: push edx */ 15219 PUSH32(esp, 0x2B0ED4B4u); /* 0x2B094C3B: push 0x2b0ed4b4 */ 15220 eax = ebp + (-0x440); /* 0x2B094C40: lea eax, [ebp - 0x440] */ 15221 PUSH32(esp, 0x400u); /* 0x2B094C46: push 0x400 */ 15222 PUSH32(esp, eax); /* 0x2B094C4B: push eax */ 15223 RECOMP_ICALL(0x2B012180u); /* 0x2B094C4C: call 0x2b012180 */ /* not lifted */ 15224 RECOMP_FLAGS_IN(); 15225 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15226 ecx = ecx | 0xFFFFFFFFu; /* 0x2B094C51: or ecx, 0xffffffff */ 15227 _cf = 0; 15228 _flag_k = FK_TEST; 15229 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u); 15230 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15231 esp = esp + 0x18u; /* 0x2B094C54: add esp, 0x18 */ 15232 _flag_k = FK_ADD; 15233 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15234 eax = 0; /* 0x2B094C57: xor eax, eax */ 15235 _cf = 0; 15236 _flag_k = FK_TEST; 15237 edi = ebp + (-0x440); /* 0x2B094C59: lea edi, [ebp - 0x440] */ 15238 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B094C5F: repne scasb al, byte ptr es:[edi] */ 15239 ecx = ~ecx; /* 0x2B094C61: not ecx */ 15240 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15241 ecx = ecx - 1; /* 0x2B094C63: dec ecx */ 15242 _flag_k = FK_DEC; 15243 PUSH32(esp, ecx); /* 0x2B094C64: push ecx */ 15244 ecx = ebp + (-0x440); /* 0x2B094C65: lea ecx, [ebp - 0x440] */ 15245 PUSH32(esp, ecx); /* 0x2B094C6B: push ecx */ 15246 ecx = ebp + (-0x40); /* 0x2B094C6C: lea ecx, [ebp - 0x40] */ 15247 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B094C6F: call dword ptr [0x2b0b5188] */ 15248 RECOMP_FLAGS_IN(); 15249 PUSH32(esp, 1); /* 0x2B094C75: push 1 */ 15250 ecx = ebp + (-0x2C); /* 0x2B094C77: lea ecx, [ebp - 0x2c] */ 15251 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B094C7A: mov byte ptr [ebp - 4], 0 */ 15252 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B094C7E: call dword ptr [0x2b0b514c] */ 15253 RECOMP_FLAGS_IN(); 15254 _flag_a = (uint32_t)(MEM32(ebp + 0x8)); _flag_b = (uint32_t)(1); 15255 MEM32(ebp + 0x8) = MEM32(ebp + 0x8) + 1; /* 0x2B094C84: inc dword ptr [ebp + 8] */ 15256 _flag_k = FK_INC; 15257 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 15258 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15259 esi = esi + 0x10u; /* 0x2B094C87: add esi, 0x10 */ 15260 _flag_k = FK_ADD; 15261 RECOMP_BACKEDGE(); 15262 goto L_2B094B76; /* 0x2B094C8A: jmp 0x2b094b76 */ 15263 L_2B094C8F: 15264 eax = MEM32(ebp + (-0x18)); /* 0x2B094C8F: mov eax, dword ptr [ebp - 0x18] */ 15265 ecx = MEM32(eax + 0x28); /* 0x2B094C92: mov ecx, dword ptr [eax + 0x28] */ 15266 edx = ebp + (-0x40); /* 0x2B094C95: lea edx, [ebp - 0x40] */ 15267 PUSH32(esp, edx); /* 0x2B094C98: push edx */ 15268 RECOMP_ICALL(MEM32(0x2B0B59D4)); /* 0x2B094C99: call dword ptr [0x2b0b59d4] */ 15269 RECOMP_FLAGS_IN(); 15270 ecx = MEM32(ebp + (-0x30)); /* 0x2B094C9F: mov ecx, dword ptr [ebp - 0x30] */ 15271 /* test ecx, ecx */ /* 0x2B094CA2: test ecx, ecx */ 15272 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 15273 _cf = 0; 15274 _flag_k = FK_TEST; 15275 edi = POP32_VAL(esp); /* 0x2B094CA4: pop edi */ 15276 esi = POP32_VAL(esp); /* 0x2B094CA5: pop esi */ 15277 MEM32(ebp + (-0x4)) = 2; /* 0x2B094CA6: mov dword ptr [ebp - 4], 2 */ 15278 ebx = POP32_VAL(esp); /* 0x2B094CAD: pop ebx */ 15279 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094CB5; /* 0x2B094CAE: je 0x2b094cb5 */ 15280 L_2B094CB0: 15281 RECOMP_ICALL(0x2B005B20u); /* 0x2B094CB0: call 0x2b005b20 */ /* not lifted */ 15282 RECOMP_FLAGS_IN(); 15283 L_2B094CB5: 15284 PUSH32(esp, 1); /* 0x2B094CB5: push 1 */ 15285 ecx = ebp + (-0x40); /* 0x2B094CB7: lea ecx, [ebp - 0x40] */ 15286 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B094CBA: mov dword ptr [ebp - 4], 0xffffffff */ 15287 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B094CC1: call dword ptr [0x2b0b514c] */ 15288 RECOMP_FLAGS_IN(); 15289 ecx = MEM32(ebp + (-0xC)); /* 0x2B094CC7: mov ecx, dword ptr [ebp - 0xc] */ 15290 MEM32(FS_BASE + (0)) = ecx; /* 0x2B094CCA: mov dword ptr fs:[0], ecx */ 15291 esp = ebp; /* 0x2B094CD1: mov esp, ebp */ 15292 ebp = POP32_VAL(esp); /* 0x2B094CD3: pop ebp */ 15293 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B094CD4: ret 4 */ 15294 RECOMP_REGS_OUT(); 15295 } 15296 15297 void sub_2B094C17(void) { 15298 int _fpu_cmp = 0; 15299 uint32_t _cf = 0; 15300 int _df = 1; 15301 uint32_t _flag_k = FK_NONE; 15302 uint32_t _flag_a = 0, _flag_b = 0; 15303 uint32_t _itail_tgt = 0; 15304 RECOMP_REGS_LOCALS 15305 RECOMP_ENTER(0x2B094C17u); 15306 15307 goto L_2B094C17; 15308 L_2B094B76: 15309 eax = MEM32(ebx + 0x4); /* 0x2B094B76: mov eax, dword ptr [ebx + 4] */ 15310 /* test eax, eax */ /* 0x2B094B79: test eax, eax */ 15311 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15312 _cf = 0; 15313 _flag_k = FK_TEST; 15314 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094C8F; /* 0x2B094B7B: je 0x2b094c8f */ 15315 L_2B094B81: 15316 edx = MEM32(ebx + 0x8); /* 0x2B094B81: mov edx, dword ptr [ebx + 8] */ 15317 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 15318 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15319 edx = edx - eax; /* 0x2B094B84: sub edx, eax */ 15320 _flag_k = FK_CMP; 15321 eax = MEM32(ebp + 0x8); /* 0x2B094B86: mov eax, dword ptr [ebp + 8] */ 15322 if (4u) _cf = (((edx) >> 3) & 1u); /* 0x2B094B89: sar edx, 4 */ 15323 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 15324 edx = (uint32_t)((int32_t)edx >> 4u); 15325 /* cmp eax, edx */ /* 0x2B094B8C: cmp eax, edx */ 15326 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 15327 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15328 _flag_k = FK_CMP; 15329 if (CMP_AE(_flag_a, _flag_b)) goto L_2B094C8F; /* 0x2B094B8E: jae 0x2b094c8f */ 15330 L_2B094B94: 15331 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B094B94: mov al, byte ptr [ebp + 0xb] */ 15332 PUSH32(esp, 0); /* 0x2B094B97: push 0 */ 15333 ecx = ebp + (-0x2C); /* 0x2B094B99: lea ecx, [ebp - 0x2c] */ 15334 MEM8(ebp + (-0x2C)) = (uint8_t)(LO8(eax)); /* 0x2B094B9C: mov byte ptr [ebp - 0x2c], al */ 15335 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B094B9F: call dword ptr [0x2b0b514c] */ 15336 RECOMP_FLAGS_IN(); 15337 eax = MEM32(ebx + 0x4); /* 0x2B094BA5: mov eax, dword ptr [ebx + 4] */ 15338 ecx = MEM32(esi + eax + 0x8); /* 0x2B094BA8: mov ecx, dword ptr [esi + eax + 8] */ 15339 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15340 edi = 0; /* 0x2B094BAC: xor edi, edi */ 15341 _cf = 0; 15342 _flag_k = FK_TEST; 15343 /* test ecx, ecx */ /* 0x2B094BAE: test ecx, ecx */ 15344 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 15345 _cf = 0; 15346 _flag_k = FK_TEST; 15347 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B094BB0: mov byte ptr [ebp - 4], 1 */ 15348 MEM32(ebp + (-0x14)) = edi; /* 0x2B094BB4: mov dword ptr [ebp - 0x14], edi */ 15349 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094C26; /* 0x2B094BB7: jbe 0x2b094c26 */ 15350 L_2B094BB9: 15351 ecx = MEM32(esi + eax + 0x4); /* 0x2B094BB9: mov ecx, dword ptr [esi + eax + 4] */ 15352 /* test ecx, ecx */ /* 0x2B094BBD: test ecx, ecx */ 15353 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 15354 _cf = 0; 15355 _flag_k = FK_TEST; 15356 edx = MEM32(0x2B0B513C); /* 0x2B094BBF: mov edx, dword ptr [0x2b0b513c] */ 15357 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094BCB; /* 0x2B094BC5: jne 0x2b094bcb */ 15358 L_2B094BC7: 15359 ecx = edx; /* 0x2B094BC7: mov ecx, edx */ 15360 goto L_2B094BCD; /* 0x2B094BC9: jmp 0x2b094bcd */ 15361 L_2B094BCB: 15362 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 15363 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15364 ecx = ecx + edi; /* 0x2B094BCB: add ecx, edi */ 15365 _flag_k = FK_ADD; 15366 L_2B094BCD: 15367 /* cmp MEM8(ecx), 0x22u */ /* 0x2B094BCD: cmp byte ptr [ecx], 0x22 */ 15368 _flag_a = (uint32_t)(MEM8(ecx)) << 24; _flag_b = (uint32_t)(0x22u) << 24; 15369 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15370 _flag_k = FK_NARROW(FK_CMP, 24); 15371 if (CMP_NE(_flag_a, _flag_b)) goto L_2B094BF5; /* 0x2B094BD0: jne 0x2b094bf5 */ 15372 L_2B094BD2: 15373 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15374 ecx = ecx | 0xFFFFFFFFu; /* 0x2B094BD2: or ecx, 0xffffffff */ 15375 _cf = 0; 15376 _flag_k = FK_TEST; 15377 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15378 eax = 0; /* 0x2B094BD5: xor eax, eax */ 15379 _cf = 0; 15380 _flag_k = FK_TEST; 15381 edi = 0x2B0ED4C8u; /* 0x2B094BD7: mov edi, 0x2b0ed4c8 */ 15382 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B094BDC: repne scasb al, byte ptr es:[edi] */ 15383 ecx = ~ecx; /* 0x2B094BDE: not ecx */ 15384 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15385 ecx = ecx - 1; /* 0x2B094BE0: dec ecx */ 15386 _flag_k = FK_DEC; 15387 PUSH32(esp, ecx); /* 0x2B094BE1: push ecx */ 15388 PUSH32(esp, 0x2B0ED4C8u); /* 0x2B094BE2: push 0x2b0ed4c8 */ 15389 ecx = ebp + (-0x2C); /* 0x2B094BE7: lea ecx, [ebp - 0x2c] */ 15390 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B094BEA: call dword ptr [0x2b0b5188] */ 15391 RECOMP_FLAGS_IN(); 15392 edi = MEM32(ebp + (-0x14)); /* 0x2B094BF0: mov edi, dword ptr [ebp - 0x14] */ 15393 goto L_2B094C17; /* 0x2B094BF3: jmp 0x2b094c17 */ 15394 L_2B094BF5: 15395 eax = MEM32(esi + eax + 0x4); /* 0x2B094BF5: mov eax, dword ptr [esi + eax + 4] */ 15396 /* test eax, eax */ /* 0x2B094BF9: test eax, eax */ 15397 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15398 _cf = 0; 15399 _flag_k = FK_TEST; 15400 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094C01; /* 0x2B094BFB: jne 0x2b094c01 */ 15401 L_2B094BFD: 15402 eax = edx; /* 0x2B094BFD: mov eax, edx */ 15403 goto L_2B094C03; /* 0x2B094BFF: jmp 0x2b094c03 */ 15404 L_2B094C01: 15405 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 15406 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15407 eax = eax + edi; /* 0x2B094C01: add eax, edi */ 15408 _flag_k = FK_ADD; 15409 L_2B094C03: 15410 SET_LO8(ecx, MEM8(eax)); /* 0x2B094C03: mov cl, byte ptr [eax] */ 15411 MEM8(ebp + (-0x1C)) = (uint8_t)(LO8(ecx)); /* 0x2B094C05: mov byte ptr [ebp - 0x1c], cl */ 15412 edx = MEM32(ebp + (-0x1C)); /* 0x2B094C08: mov edx, dword ptr [ebp - 0x1c] */ 15413 PUSH32(esp, edx); /* 0x2B094C0B: push edx */ 15414 PUSH32(esp, 1); /* 0x2B094C0C: push 1 */ 15415 ecx = ebp + (-0x2C); /* 0x2B094C0E: lea ecx, [ebp - 0x2c] */ 15416 RECOMP_ICALL(MEM32(0x2B0B5114)); /* 0x2B094C11: call dword ptr [0x2b0b5114] */ 15417 RECOMP_FLAGS_IN(); 15418 L_2B094C17: 15419 eax = MEM32(ebx + 0x4); /* 0x2B094C17: mov eax, dword ptr [ebx + 4] */ 15420 ecx = MEM32(esi + eax + 0x8); /* 0x2B094C1A: mov ecx, dword ptr [esi + eax + 8] */ 15421 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 15422 edi = edi + 1; /* 0x2B094C1E: inc edi */ 15423 _flag_k = FK_INC; 15424 /* cmp edi, ecx */ /* 0x2B094C1F: cmp edi, ecx */ 15425 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 15426 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15427 _flag_k = FK_CMP; 15428 MEM32(ebp + (-0x14)) = edi; /* 0x2B094C21: mov dword ptr [ebp - 0x14], edi */ 15429 RECOMP_BACKEDGE(); 15430 if (CMP_B(_flag_a, _flag_b)) goto L_2B094BB9; /* 0x2B094C24: jb 0x2b094bb9 */ 15431 L_2B094C26: 15432 eax = MEM32(ebp + (-0x28)); /* 0x2B094C26: mov eax, dword ptr [ebp - 0x28] */ 15433 /* test eax, eax */ /* 0x2B094C29: test eax, eax */ 15434 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15435 _cf = 0; 15436 _flag_k = FK_TEST; 15437 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B094C32; /* 0x2B094C2B: jne 0x2b094c32 */ 15438 L_2B094C2D: 15439 eax = MEM32(0x2B0B513C); /* 0x2B094C2D: mov eax, dword ptr [0x2b0b513c] */ 15440 L_2B094C32: 15441 ecx = MEM32(ebp + 0x8); /* 0x2B094C32: mov ecx, dword ptr [ebp + 8] */ 15442 PUSH32(esp, ecx); /* 0x2B094C35: push ecx */ 15443 PUSH32(esp, eax); /* 0x2B094C36: push eax */ 15444 edx = ebp + (-0x10); /* 0x2B094C37: lea edx, [ebp - 0x10] */ 15445 PUSH32(esp, edx); /* 0x2B094C3A: push edx */ 15446 PUSH32(esp, 0x2B0ED4B4u); /* 0x2B094C3B: push 0x2b0ed4b4 */ 15447 eax = ebp + (-0x440); /* 0x2B094C40: lea eax, [ebp - 0x440] */ 15448 PUSH32(esp, 0x400u); /* 0x2B094C46: push 0x400 */ 15449 PUSH32(esp, eax); /* 0x2B094C4B: push eax */ 15450 RECOMP_ICALL(0x2B012180u); /* 0x2B094C4C: call 0x2b012180 */ /* not lifted */ 15451 RECOMP_FLAGS_IN(); 15452 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15453 ecx = ecx | 0xFFFFFFFFu; /* 0x2B094C51: or ecx, 0xffffffff */ 15454 _cf = 0; 15455 _flag_k = FK_TEST; 15456 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u); 15457 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15458 esp = esp + 0x18u; /* 0x2B094C54: add esp, 0x18 */ 15459 _flag_k = FK_ADD; 15460 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15461 eax = 0; /* 0x2B094C57: xor eax, eax */ 15462 _cf = 0; 15463 _flag_k = FK_TEST; 15464 edi = ebp + (-0x440); /* 0x2B094C59: lea edi, [ebp - 0x440] */ 15465 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B094C5F: repne scasb al, byte ptr es:[edi] */ 15466 ecx = ~ecx; /* 0x2B094C61: not ecx */ 15467 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15468 ecx = ecx - 1; /* 0x2B094C63: dec ecx */ 15469 _flag_k = FK_DEC; 15470 PUSH32(esp, ecx); /* 0x2B094C64: push ecx */ 15471 ecx = ebp + (-0x440); /* 0x2B094C65: lea ecx, [ebp - 0x440] */ 15472 PUSH32(esp, ecx); /* 0x2B094C6B: push ecx */ 15473 ecx = ebp + (-0x40); /* 0x2B094C6C: lea ecx, [ebp - 0x40] */ 15474 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B094C6F: call dword ptr [0x2b0b5188] */ 15475 RECOMP_FLAGS_IN(); 15476 PUSH32(esp, 1); /* 0x2B094C75: push 1 */ 15477 ecx = ebp + (-0x2C); /* 0x2B094C77: lea ecx, [ebp - 0x2c] */ 15478 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B094C7A: mov byte ptr [ebp - 4], 0 */ 15479 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B094C7E: call dword ptr [0x2b0b514c] */ 15480 RECOMP_FLAGS_IN(); 15481 _flag_a = (uint32_t)(MEM32(ebp + 0x8)); _flag_b = (uint32_t)(1); 15482 MEM32(ebp + 0x8) = MEM32(ebp + 0x8) + 1; /* 0x2B094C84: inc dword ptr [ebp + 8] */ 15483 _flag_k = FK_INC; 15484 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 15485 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15486 esi = esi + 0x10u; /* 0x2B094C87: add esi, 0x10 */ 15487 _flag_k = FK_ADD; 15488 RECOMP_BACKEDGE(); 15489 goto L_2B094B76; /* 0x2B094C8A: jmp 0x2b094b76 */ 15490 L_2B094C8F: 15491 eax = MEM32(ebp + (-0x18)); /* 0x2B094C8F: mov eax, dword ptr [ebp - 0x18] */ 15492 ecx = MEM32(eax + 0x28); /* 0x2B094C92: mov ecx, dword ptr [eax + 0x28] */ 15493 edx = ebp + (-0x40); /* 0x2B094C95: lea edx, [ebp - 0x40] */ 15494 PUSH32(esp, edx); /* 0x2B094C98: push edx */ 15495 RECOMP_ICALL(MEM32(0x2B0B59D4)); /* 0x2B094C99: call dword ptr [0x2b0b59d4] */ 15496 RECOMP_FLAGS_IN(); 15497 ecx = MEM32(ebp + (-0x30)); /* 0x2B094C9F: mov ecx, dword ptr [ebp - 0x30] */ 15498 /* test ecx, ecx */ /* 0x2B094CA2: test ecx, ecx */ 15499 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 15500 _cf = 0; 15501 _flag_k = FK_TEST; 15502 edi = POP32_VAL(esp); /* 0x2B094CA4: pop edi */ 15503 esi = POP32_VAL(esp); /* 0x2B094CA5: pop esi */ 15504 MEM32(ebp + (-0x4)) = 2; /* 0x2B094CA6: mov dword ptr [ebp - 4], 2 */ 15505 ebx = POP32_VAL(esp); /* 0x2B094CAD: pop ebx */ 15506 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094CB5; /* 0x2B094CAE: je 0x2b094cb5 */ 15507 L_2B094CB0: 15508 RECOMP_ICALL(0x2B005B20u); /* 0x2B094CB0: call 0x2b005b20 */ /* not lifted */ 15509 RECOMP_FLAGS_IN(); 15510 L_2B094CB5: 15511 PUSH32(esp, 1); /* 0x2B094CB5: push 1 */ 15512 ecx = ebp + (-0x40); /* 0x2B094CB7: lea ecx, [ebp - 0x40] */ 15513 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B094CBA: mov dword ptr [ebp - 4], 0xffffffff */ 15514 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B094CC1: call dword ptr [0x2b0b514c] */ 15515 RECOMP_FLAGS_IN(); 15516 ecx = MEM32(ebp + (-0xC)); /* 0x2B094CC7: mov ecx, dword ptr [ebp - 0xc] */ 15517 MEM32(FS_BASE + (0)) = ecx; /* 0x2B094CCA: mov dword ptr fs:[0], ecx */ 15518 esp = ebp; /* 0x2B094CD1: mov esp, ebp */ 15519 ebp = POP32_VAL(esp); /* 0x2B094CD3: pop ebp */ 15520 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B094CD4: ret 4 */ 15521 RECOMP_REGS_OUT(); 15522 } 15523 15524 void sub_2B094CE0(void) { 15525 int _fpu_cmp = 0; 15526 uint32_t _cf = 0; 15527 int _df = 1; 15528 uint32_t _flag_k = FK_NONE; 15529 uint32_t _flag_a = 0, _flag_b = 0; 15530 uint32_t _itail_tgt = 0; 15531 RECOMP_REGS_LOCALS 15532 RECOMP_ENTER(0x2B094CE0u); 15533 15534 goto L_2B094CE0; 15535 L_2B094580: 15536 PUSH32(esp, esi); /* 0x2B094580: push esi */ 15537 PUSH32(esp, edi); /* 0x2B094581: push edi */ 15538 edi = ecx; /* 0x2B094582: mov edi, ecx */ 15539 esi = MEM32(edi + 0x38); /* 0x2B094584: mov esi, dword ptr [edi + 0x38] */ 15540 /* test esi, esi */ /* 0x2B094587: test esi, esi */ 15541 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 15542 _cf = 0; 15543 _flag_k = FK_TEST; 15544 MEM8(edi + 0xA5) = (uint8_t)(0); /* 0x2B094589: mov byte ptr [edi + 0xa5], 0 */ 15545 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0945A9; /* 0x2B094590: je 0x2b0945a9 */ 15546 L_2B094592: 15547 ecx = esi; /* 0x2B094592: mov ecx, esi */ 15548 RECOMP_ICALL(0x2B093A60u); /* 0x2B094594: call 0x2b093a60 */ /* not lifted */ 15549 RECOMP_FLAGS_IN(); 15550 PUSH32(esp, esi); /* 0x2B094599: push esi */ 15551 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09459A: call 0x2b0ab1ba */ /* not lifted */ 15552 RECOMP_FLAGS_IN(); 15553 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15554 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15555 esp = esp + 4; /* 0x2B09459F: add esp, 4 */ 15556 _flag_k = FK_ADD; 15557 MEM32(edi + 0x38) = 0; /* 0x2B0945A2: mov dword ptr [edi + 0x38], 0 */ 15558 L_2B0945A9: 15559 edi = POP32_VAL(esp); /* 0x2B0945A9: pop edi */ 15560 esi = POP32_VAL(esp); /* 0x2B0945AA: pop esi */ 15561 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0945AB: ret */ 15562 L_2B094CE0: 15563 MEM32(ecx + 0x80) = 3; /* 0x2B094CE0: mov dword ptr [ecx + 0x80], 3 */ 15564 RECOMP_BACKEDGE(); 15565 goto L_2B094580; /* 0x2B094CEA: jmp 0x2b094580 */ 15566 { RECOMP_REGS_OUT(); return; } /* end of function */ 15567 RECOMP_REGS_OUT(); 15568 } 15569 15570 void sub_2B094CF0(void) { 15571 int _fpu_cmp = 0; 15572 uint32_t _cf = 0; 15573 int _df = 1; 15574 uint32_t _flag_k = FK_NONE; 15575 uint32_t _flag_a = 0, _flag_b = 0; 15576 uint32_t _itail_tgt = 0; 15577 RECOMP_REGS_LOCALS 15578 RECOMP_ENTER(0x2B094CF0u); 15579 15580 L_2B094CF0: 15581 PUSH32(esp, ebp); /* 0x2B094CF0: push ebp */ 15582 ebp = esp; /* 0x2B094CF1: mov ebp, esp */ 15583 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 15584 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15585 esp = esp - 8; /* 0x2B094CF3: sub esp, 8 */ 15586 _flag_k = FK_CMP; 15587 PUSH32(esp, esi); /* 0x2B094CF6: push esi */ 15588 esi = ecx; /* 0x2B094CF7: mov esi, ecx */ 15589 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B094CF9: call dword ptr [0x2b0b5b64] */ 15590 RECOMP_FLAGS_IN(); 15591 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 15592 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15593 eax = eax + 0xD4u; /* 0x2B094CFF: add eax, 0xd4 */ 15594 _flag_k = FK_ADD; 15595 ecx = ebp + (-0x8); /* 0x2B094D04: lea ecx, [ebp - 8] */ 15596 /* cmp ecx, eax */ /* 0x2B094D07: cmp ecx, eax */ 15597 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 15598 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15599 _flag_k = FK_CMP; 15600 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094D16; /* 0x2B094D09: je 0x2b094d16 */ 15601 L_2B094D0B: 15602 edx = MEM32(eax); /* 0x2B094D0B: mov edx, dword ptr [eax] */ 15603 MEM32(ebp + (-0x8)) = edx; /* 0x2B094D0D: mov dword ptr [ebp - 8], edx */ 15604 eax = MEM32(eax + 0x4); /* 0x2B094D10: mov eax, dword ptr [eax + 4] */ 15605 MEM32(ebp + (-0x4)) = eax; /* 0x2B094D13: mov dword ptr [ebp - 4], eax */ 15606 L_2B094D16: 15607 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x3Cu); 15608 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15609 esi = esi + 0x3Cu; /* 0x2B094D16: add esi, 0x3c */ 15610 _flag_k = FK_ADD; 15611 ecx = ebp + (-0x8); /* 0x2B094D19: lea ecx, [ebp - 8] */ 15612 PUSH32(esp, esi); /* 0x2B094D1C: push esi */ 15613 PUSH32(esp, ecx); /* 0x2B094D1D: push ecx */ 15614 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B094D1E: call dword ptr [0x2b0b5d6c] */ 15615 RECOMP_FLAGS_IN(); 15616 ecx = eax; /* 0x2B094D24: mov ecx, eax */ 15617 RECOMP_ICALL(MEM32(0x2B0B5CD8)); /* 0x2B094D26: call dword ptr [0x2b0b5cd8] */ 15618 RECOMP_FLAGS_IN(); 15619 esi = POP32_VAL(esp); /* 0x2B094D2C: pop esi */ 15620 esp = ebp; /* 0x2B094D2D: mov esp, ebp */ 15621 ebp = POP32_VAL(esp); /* 0x2B094D2F: pop ebp */ 15622 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B094D30: ret */ 15623 RECOMP_REGS_OUT(); 15624 } 15625 15626 void sub_2B094D40(void) { 15627 int _fpu_cmp = 0; 15628 uint32_t _cf = 0; 15629 int _df = 1; 15630 uint32_t _flag_k = FK_NONE; 15631 uint32_t _flag_a = 0, _flag_b = 0; 15632 uint32_t _itail_tgt = 0; 15633 RECOMP_REGS_LOCALS 15634 RECOMP_ENTER(0x2B094D40u); 15635 15636 L_2B094D40: 15637 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x3Cu); 15638 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15639 ecx = ecx + 0x3Cu; /* 0x2B094D40: add ecx, 0x3c */ 15640 _flag_k = FK_ADD; 15641 PUSH32(esp, ecx); /* 0x2B094D43: push ecx */ 15642 PUSH32(esp, 0xB3u); /* 0x2B094D44: push 0xb3 */ 15643 PUSH32(esp, 0x14u); /* 0x2B094D49: push 0x14 */ 15644 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B094D4B: call dword ptr [0x2b0b53cc] */ 15645 RECOMP_FLAGS_IN(); 15646 ecx = eax; /* 0x2B094D51: mov ecx, eax */ 15647 RECOMP_ICALL(MEM32(0x2B0B5380)); /* 0x2B094D53: call dword ptr [0x2b0b5380] */ 15648 RECOMP_FLAGS_IN(); 15649 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B094D59: ret */ 15650 RECOMP_REGS_OUT(); 15651 } 15652 15653 void sub_2B094D60(void) { 15654 int _fpu_cmp = 0; 15655 uint32_t _cf = 0; 15656 int _df = 1; 15657 uint32_t _flag_k = FK_NONE; 15658 uint32_t _flag_a = 0, _flag_b = 0; 15659 uint32_t _itail_tgt = 0; 15660 RECOMP_REGS_LOCALS 15661 RECOMP_ENTER(0x2B094D60u); 15662 15663 L_2B094D60: 15664 PUSH32(esp, ebp); /* 0x2B094D60: push ebp */ 15665 ebp = esp; /* 0x2B094D61: mov ebp, esp */ 15666 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 15667 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15668 esp = esp - 8; /* 0x2B094D63: sub esp, 8 */ 15669 _flag_k = FK_CMP; 15670 PUSH32(esp, esi); /* 0x2B094D66: push esi */ 15671 esi = ecx; /* 0x2B094D67: mov esi, ecx */ 15672 eax = MEM32(esi + 0x38); /* 0x2B094D69: mov eax, dword ptr [esi + 0x38] */ 15673 /* test eax, eax */ /* 0x2B094D6C: test eax, eax */ 15674 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15675 _cf = 0; 15676 _flag_k = FK_TEST; 15677 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094D7A; /* 0x2B094D6E: je 0x2b094d7a */ 15678 L_2B094D70: 15679 RECOMP_ICALL(0x2B095BF0u); /* 0x2B094D70: call 0x2b095bf0 */ /* not lifted */ 15680 RECOMP_FLAGS_IN(); 15681 esi = POP32_VAL(esp); /* 0x2B094D75: pop esi */ 15682 esp = ebp; /* 0x2B094D76: mov esp, ebp */ 15683 ebp = POP32_VAL(esp); /* 0x2B094D78: pop ebp */ 15684 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B094D79: ret */ 15685 L_2B094D7A: 15686 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B094D7A: call dword ptr [0x2b0b5b64] */ 15687 RECOMP_FLAGS_IN(); 15688 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 15689 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15690 eax = eax + 0xD4u; /* 0x2B094D80: add eax, 0xd4 */ 15691 _flag_k = FK_ADD; 15692 ecx = ebp + (-0x8); /* 0x2B094D85: lea ecx, [ebp - 8] */ 15693 /* cmp ecx, eax */ /* 0x2B094D88: cmp ecx, eax */ 15694 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 15695 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15696 _flag_k = FK_CMP; 15697 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094D97; /* 0x2B094D8A: je 0x2b094d97 */ 15698 L_2B094D8C: 15699 edx = MEM32(eax); /* 0x2B094D8C: mov edx, dword ptr [eax] */ 15700 MEM32(ebp + (-0x8)) = edx; /* 0x2B094D8E: mov dword ptr [ebp - 8], edx */ 15701 eax = MEM32(eax + 0x4); /* 0x2B094D91: mov eax, dword ptr [eax + 4] */ 15702 MEM32(ebp + (-0x4)) = eax; /* 0x2B094D94: mov dword ptr [ebp - 4], eax */ 15703 L_2B094D97: 15704 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x3Cu); 15705 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15706 esi = esi + 0x3Cu; /* 0x2B094D97: add esi, 0x3c */ 15707 _flag_k = FK_ADD; 15708 ecx = ebp + (-0x8); /* 0x2B094D9A: lea ecx, [ebp - 8] */ 15709 PUSH32(esp, esi); /* 0x2B094D9D: push esi */ 15710 PUSH32(esp, ecx); /* 0x2B094D9E: push ecx */ 15711 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B094D9F: call dword ptr [0x2b0b5d6c] */ 15712 RECOMP_FLAGS_IN(); 15713 ecx = eax; /* 0x2B094DA5: mov ecx, eax */ 15714 RECOMP_ICALL(MEM32(0x2B0B5CDC)); /* 0x2B094DA7: call dword ptr [0x2b0b5cdc] */ 15715 RECOMP_FLAGS_IN(); 15716 esi = POP32_VAL(esp); /* 0x2B094DAD: pop esi */ 15717 esp = ebp; /* 0x2B094DAE: mov esp, ebp */ 15718 ebp = POP32_VAL(esp); /* 0x2B094DB0: pop ebp */ 15719 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B094DB1: ret */ 15720 RECOMP_REGS_OUT(); 15721 } 15722 15723 void sub_2B094DC0(void) { 15724 int _fpu_cmp = 0; 15725 uint32_t _cf = 0; 15726 int _df = 1; 15727 uint32_t _flag_k = FK_NONE; 15728 uint32_t _flag_a = 0, _flag_b = 0; 15729 uint32_t _itail_tgt = 0; 15730 RECOMP_REGS_LOCALS 15731 RECOMP_ENTER(0x2B094DC0u); 15732 15733 L_2B094DC0: 15734 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x3Cu); 15735 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15736 ecx = ecx + 0x3Cu; /* 0x2B094DC0: add ecx, 0x3c */ 15737 _flag_k = FK_ADD; 15738 PUSH32(esp, ecx); /* 0x2B094DC3: push ecx */ 15739 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B094DC4: call dword ptr [0x2b0b5d6c] */ 15740 RECOMP_FLAGS_IN(); 15741 ecx = eax; /* 0x2B094DCA: mov ecx, eax */ 15742 RECOMP_ICALL(MEM32(0x2B0B5EF0)); /* 0x2B094DCC: call dword ptr [0x2b0b5ef0] */ 15743 RECOMP_FLAGS_IN(); 15744 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B094DD2: ret */ 15745 RECOMP_REGS_OUT(); 15746 } 15747 15748 void sub_2B094DE0(void) { 15749 int _fpu_cmp = 0; 15750 uint32_t _cf = 0; 15751 int _df = 1; 15752 uint32_t _flag_k = FK_NONE; 15753 uint32_t _flag_a = 0, _flag_b = 0; 15754 uint32_t _itail_tgt = 0; 15755 RECOMP_REGS_LOCALS 15756 RECOMP_ENTER(0x2B094DE0u); 15757 15758 L_2B094DE0: 15759 PUSH32(esp, ebp); /* 0x2B094DE0: push ebp */ 15760 ebp = esp; /* 0x2B094DE1: mov ebp, esp */ 15761 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B094DE3: push -1 */ 15762 PUSH32(esp, 0x2B0B303Eu); /* 0x2B094DE5: push 0x2b0b303e */ 15763 eax = MEM32(FS_BASE + (0)); /* 0x2B094DEA: mov eax, dword ptr fs:[0] */ 15764 PUSH32(esp, eax); /* 0x2B094DF0: push eax */ 15765 MEM32(FS_BASE + (0)) = esp; /* 0x2B094DF1: mov dword ptr fs:[0], esp */ 15766 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u); 15767 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15768 esp = esp - 0x18u; /* 0x2B094DF8: sub esp, 0x18 */ 15769 _flag_k = FK_CMP; 15770 eax = MEM32(ebp + 0xC); /* 0x2B094DFB: mov eax, dword ptr [ebp + 0xc] */ 15771 MEM32(ecx + 0x7C) = eax; /* 0x2B094DFE: mov dword ptr [ecx + 0x7c], eax */ 15772 PUSH32(esp, ebx); /* 0x2B094E01: push ebx */ 15773 MEM32(ebp + (-0x10)) = ecx; /* 0x2B094E02: mov dword ptr [ebp - 0x10], ecx */ 15774 ecx = MEM32(ebp + 0x8); /* 0x2B094E05: mov ecx, dword ptr [ebp + 8] */ 15775 PUSH32(esp, esi); /* 0x2B094E08: push esi */ 15776 esi = MEM32(ecx + 0x4); /* 0x2B094E09: mov esi, dword ptr [ecx + 4] */ 15777 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15778 eax = 0; /* 0x2B094E0C: xor eax, eax */ 15779 _cf = 0; 15780 _flag_k = FK_TEST; 15781 /* cmp esi, eax */ /* 0x2B094E0E: cmp esi, eax */ 15782 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 15783 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15784 _flag_k = FK_CMP; 15785 PUSH32(esp, edi); /* 0x2B094E10: push edi */ 15786 if (CMP_NE(_flag_a, _flag_b)) goto L_2B094E19; /* 0x2B094E11: jne 0x2b094e19 */ 15787 L_2B094E13: 15788 esi = MEM32(0x2B0B513C); /* 0x2B094E13: mov esi, dword ptr [0x2b0b513c] */ 15789 L_2B094E19: 15790 SET_LO8(edx, MEM8(ebp + 0xF)); /* 0x2B094E19: mov dl, byte ptr [ebp + 0xf] */ 15791 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15792 ecx = ecx | 0xFFFFFFFFu; /* 0x2B094E1C: or ecx, 0xffffffff */ 15793 _cf = 0; 15794 _flag_k = FK_TEST; 15795 MEM32(ebp + (-0x20)) = eax; /* 0x2B094E1F: mov dword ptr [ebp - 0x20], eax */ 15796 MEM32(ebp + (-0x1C)) = eax; /* 0x2B094E22: mov dword ptr [ebp - 0x1c], eax */ 15797 MEM32(ebp + (-0x18)) = eax; /* 0x2B094E25: mov dword ptr [ebp - 0x18], eax */ 15798 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15799 eax = 0; /* 0x2B094E28: xor eax, eax */ 15800 _cf = 0; 15801 _flag_k = FK_TEST; 15802 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(edx)); /* 0x2B094E2A: mov byte ptr [ebp - 0x24], dl */ 15803 edi = esi; /* 0x2B094E2D: mov edi, esi */ 15804 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B094E2F: repne scasb al, byte ptr es:[edi] */ 15805 ecx = ~ecx; /* 0x2B094E31: not ecx */ 15806 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15807 ecx = ecx - 1; /* 0x2B094E33: dec ecx */ 15808 _flag_k = FK_DEC; 15809 ebx = ecx; /* 0x2B094E34: mov ebx, ecx */ 15810 PUSH32(esp, 1); /* 0x2B094E36: push 1 */ 15811 PUSH32(esp, ebx); /* 0x2B094E38: push ebx */ 15812 ecx = ebp + (-0x24); /* 0x2B094E39: lea ecx, [ebp - 0x24] */ 15813 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B094E3C: call dword ptr [0x2b0b5154] */ 15814 RECOMP_FLAGS_IN(); 15815 /* test LO8(eax), LO8(eax) */ /* 0x2B094E42: test al, al */ 15816 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15817 _cf = 0; 15818 _flag_k = FK_NARROW(FK_TEST, 24); 15819 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094E63; /* 0x2B094E44: je 0x2b094e63 */ 15820 L_2B094E46: 15821 edi = MEM32(ebp + (-0x20)); /* 0x2B094E46: mov edi, dword ptr [ebp - 0x20] */ 15822 ecx = ebx; /* 0x2B094E49: mov ecx, ebx */ 15823 eax = ecx; /* 0x2B094E4B: mov eax, ecx */ 15824 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B094E4D: shr ecx, 2 */ 15825 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 15826 ecx = ecx >> 2u; /* 0x2B094E4D: shr ecx, 2 */ 15827 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B094E50: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 15828 ecx = eax; /* 0x2B094E52: mov ecx, eax */ 15829 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 15830 ecx = ecx & 3; /* 0x2B094E54: and ecx, 3 */ 15831 _cf = 0; 15832 _flag_k = FK_TEST; 15833 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B094E57: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; } 15834 ecx = MEM32(ebp + (-0x20)); /* 0x2B094E59: mov ecx, dword ptr [ebp - 0x20] */ 15835 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B094E5C: mov dword ptr [ebp - 0x1c], ebx */ 15836 MEM8(ecx + ebx) = (uint8_t)(0); /* 0x2B094E5F: mov byte ptr [ecx + ebx], 0 */ 15837 L_2B094E63: 15838 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15839 esi = 0; /* 0x2B094E63: xor esi, esi */ 15840 _cf = 0; 15841 _flag_k = FK_TEST; 15842 MEM32(ebp + (-0x14)) = esi; /* 0x2B094E65: mov dword ptr [ebp - 0x14], esi */ 15843 ebx = MEM32(ebp + (-0x10)); /* 0x2B094E68: mov ebx, dword ptr [ebp - 0x10] */ 15844 ecx = MEM32(ebx + 0x28); /* 0x2B094E6B: mov ecx, dword ptr [ebx + 0x28] */ 15845 edx = ebp + (-0x24); /* 0x2B094E6E: lea edx, [ebp - 0x24] */ 15846 PUSH32(esp, edx); /* 0x2B094E71: push edx */ 15847 MEM32(ebp + (-0x4)) = esi; /* 0x2B094E72: mov dword ptr [ebp - 4], esi */ 15848 RECOMP_ICALL(MEM32(0x2B0B59D4)); /* 0x2B094E75: call dword ptr [0x2b0b59d4] */ 15849 RECOMP_FLAGS_IN(); 15850 edi = MEM32(ebp + (-0x14)); /* 0x2B094E7B: mov edi, dword ptr [ebp - 0x14] */ 15851 /* cmp edi, esi */ /* 0x2B094E7E: cmp edi, esi */ 15852 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 15853 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15854 _flag_k = FK_CMP; 15855 MEM32(ebp + (-0x4)) = 1; /* 0x2B094E80: mov dword ptr [ebp - 4], 1 */ 15856 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094EC6; /* 0x2B094E87: je 0x2b094ec6 */ 15857 L_2B094E89: 15858 edx = MEM32(edi + 0x2C); /* 0x2B094E89: mov edx, dword ptr [edi + 0x2c] */ 15859 eax = edi + 0x2C; /* 0x2B094E8C: lea eax, [edi + 0x2c] */ 15860 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 15861 edx = edx - 1; /* 0x2B094E8F: dec edx */ 15862 _flag_k = FK_DEC; 15863 ecx = edx; /* 0x2B094E90: mov ecx, edx */ 15864 /* cmp ecx, esi */ /* 0x2B094E92: cmp ecx, esi */ 15865 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 15866 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15867 _flag_k = FK_CMP; 15868 MEM32(eax) = edx; /* 0x2B094E94: mov dword ptr [eax], edx */ 15869 if (CMP_NE(_flag_a, _flag_b)) goto L_2B094EC6; /* 0x2B094E96: jne 0x2b094ec6 */ 15870 L_2B094E98: 15871 /* cmp edi, esi */ /* 0x2B094E98: cmp edi, esi */ 15872 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 15873 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15874 _flag_k = FK_CMP; 15875 MEM32(ebp + 0x8) = edi; /* 0x2B094E9A: mov dword ptr [ebp + 8], edi */ 15876 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094EC6; /* 0x2B094E9D: je 0x2b094ec6 */ 15877 L_2B094E9F: 15878 PUSH32(esp, 1); /* 0x2B094E9F: push 1 */ 15879 ecx = edi + 0x1C; /* 0x2B094EA1: lea ecx, [edi + 0x1c] */ 15880 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B094EA4: mov byte ptr [ebp - 4], 2 */ 15881 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B094EA8: call dword ptr [0x2b0b514c] */ 15882 RECOMP_FLAGS_IN(); 15883 PUSH32(esp, 1); /* 0x2B094EAE: push 1 */ 15884 ecx = edi + 0xC; /* 0x2B094EB0: lea ecx, [edi + 0xc] */ 15885 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B094EB3: mov byte ptr [ebp - 4], 1 */ 15886 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B094EB7: call dword ptr [0x2b0b514c] */ 15887 RECOMP_FLAGS_IN(); 15888 PUSH32(esp, edi); /* 0x2B094EBD: push edi */ 15889 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B094EBE: call 0x2b0ab1ba */ /* not lifted */ 15890 RECOMP_FLAGS_IN(); 15891 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15892 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15893 esp = esp + 4; /* 0x2B094EC3: add esp, 4 */ 15894 _flag_k = FK_ADD; 15895 L_2B094EC6: 15896 eax = MEM32(ebp + (-0x20)); /* 0x2B094EC6: mov eax, dword ptr [ebp - 0x20] */ 15897 /* cmp eax, esi */ /* 0x2B094EC9: cmp eax, esi */ 15898 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 15899 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15900 _flag_k = FK_CMP; 15901 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B094ECB: mov dword ptr [ebp - 4], 0xffffffff */ 15902 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094EF0; /* 0x2B094ED2: je 0x2b094ef0 */ 15903 L_2B094ED4: 15904 ecx = eax + (-0x1); /* 0x2B094ED4: lea ecx, [eax - 1] */ 15905 SET_LO8(eax, MEM8(ecx)); /* 0x2B094ED7: mov al, byte ptr [ecx] */ 15906 /* test LO8(eax), LO8(eax) */ /* 0x2B094ED9: test al, al */ 15907 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15908 _cf = 0; 15909 _flag_k = FK_NARROW(FK_TEST, 24); 15910 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094EE7; /* 0x2B094EDB: je 0x2b094ee7 */ 15911 L_2B094EDD: 15912 /* cmp LO8(eax), 0xFFu */ /* 0x2B094EDD: cmp al, 0xff */ 15913 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 15914 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15915 _flag_k = FK_NARROW(FK_CMP, 24); 15916 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B094EE7; /* 0x2B094EDF: je 0x2b094ee7 */ 15917 L_2B094EE1: 15918 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 15919 SET_LO8(eax, LO8(eax) - 1); /* 0x2B094EE1: dec al */ 15920 _flag_k = FK_NARROW(FK_DEC, 24); 15921 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B094EE3: mov byte ptr [ecx], al */ 15922 goto L_2B094EF0; /* 0x2B094EE5: jmp 0x2b094ef0 */ 15923 L_2B094EE7: 15924 PUSH32(esp, ecx); /* 0x2B094EE7: push ecx */ 15925 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B094EE8: call 0x2b0ab1ba */ /* not lifted */ 15926 RECOMP_FLAGS_IN(); 15927 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15928 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15929 esp = esp + 4; /* 0x2B094EED: add esp, 4 */ 15930 _flag_k = FK_ADD; 15931 L_2B094EF0: 15932 eax = MEM32(ebp + 0xC); /* 0x2B094EF0: mov eax, dword ptr [ebp + 0xc] */ 15933 PUSH32(esp, eax); /* 0x2B094EF3: push eax */ 15934 ecx = ebx; /* 0x2B094EF4: mov ecx, ebx */ 15935 MEM32(ebp + (-0x20)) = esi; /* 0x2B094EF6: mov dword ptr [ebp - 0x20], esi */ 15936 MEM32(ebp + (-0x1C)) = esi; /* 0x2B094EF9: mov dword ptr [ebp - 0x1c], esi */ 15937 MEM32(ebp + (-0x18)) = esi; /* 0x2B094EFC: mov dword ptr [ebp - 0x18], esi */ 15938 RECOMP_ICALL(0x2B093CC0u); /* 0x2B094EFF: call 0x2b093cc0 */ /* not lifted */ 15939 RECOMP_FLAGS_IN(); 15940 ecx = MEM32(ebp + (-0xC)); /* 0x2B094F04: mov ecx, dword ptr [ebp - 0xc] */ 15941 edi = POP32_VAL(esp); /* 0x2B094F07: pop edi */ 15942 esi = POP32_VAL(esp); /* 0x2B094F08: pop esi */ 15943 ebx = POP32_VAL(esp); /* 0x2B094F09: pop ebx */ 15944 MEM32(FS_BASE + (0)) = ecx; /* 0x2B094F0A: mov dword ptr fs:[0], ecx */ 15945 esp = ebp; /* 0x2B094F11: mov esp, ebp */ 15946 ebp = POP32_VAL(esp); /* 0x2B094F13: pop ebp */ 15947 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B094F14: ret 8 */ 15948 RECOMP_REGS_OUT(); 15949 } 15950 15951 void sub_2B094F20(void) { 15952 int _fpu_cmp = 0; 15953 uint32_t _cf = 0; 15954 int _df = 1; 15955 uint32_t _flag_k = FK_NONE; 15956 uint32_t _flag_a = 0, _flag_b = 0; 15957 uint32_t _itail_tgt = 0; 15958 RECOMP_REGS_LOCALS 15959 RECOMP_ENTER(0x2B094F20u); 15960 15961 L_2B094F20: 15962 PUSH32(esp, ebx); /* 0x2B094F20: push ebx */ 15963 PUSH32(esp, esi); /* 0x2B094F21: push esi */ 15964 esi = ecx; /* 0x2B094F22: mov esi, ecx */ 15965 SET_LO8(eax, MEM8(esi + 0xA4)); /* 0x2B094F24: mov al, byte ptr [esi + 0xa4] */ 15966 /* test LO8(eax), LO8(eax) */ /* 0x2B094F2A: test al, al */ 15967 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15968 _cf = 0; 15969 _flag_k = FK_NARROW(FK_TEST, 24); 15970 PUSH32(esp, edi); /* 0x2B094F2C: push edi */ 15971 if (TEST_Z(_flag_a, _flag_b)) goto L_2B095011; /* 0x2B094F2D: je 0x2b095011 */ 15972 L_2B094F33: 15973 ecx = MEM32(esi + 0x8); /* 0x2B094F33: mov ecx, dword ptr [esi + 8] */ 15974 RECOMP_ICALL(MEM32(0x2B0B5A0C)); /* 0x2B094F36: call dword ptr [0x2b0b5a0c] */ 15975 RECOMP_FLAGS_IN(); 15976 ecx = MEM32(esi + 0xC); /* 0x2B094F3C: mov ecx, dword ptr [esi + 0xc] */ 15977 RECOMP_ICALL(MEM32(0x2B0B5B40)); /* 0x2B094F3F: call dword ptr [0x2b0b5b40] */ 15978 RECOMP_FLAGS_IN(); 15979 eax = MEM32(esi + 0x20); /* 0x2B094F45: mov eax, dword ptr [esi + 0x20] */ 15980 ebx = MEM32(0x2B0B5BB4); /* 0x2B094F48: mov ebx, dword ptr [0x2b0b5bb4] */ 15981 MEM8(eax + 0x8) = (uint8_t)(1); /* 0x2B094F4E: mov byte ptr [eax + 8], 1 */ 15982 ecx = MEM32(esi + 0x10); /* 0x2B094F52: mov ecx, dword ptr [esi + 0x10] */ 15983 RECOMP_ICALL(ebx); /* 0x2B094F55: call ebx */ 15984 RECOMP_FLAGS_IN(); 15985 ecx = MEM32(esi + 0x14); /* 0x2B094F57: mov ecx, dword ptr [esi + 0x14] */ 15986 edi = MEM32(0x2B0B5B3C); /* 0x2B094F5A: mov edi, dword ptr [0x2b0b5b3c] */ 15987 RECOMP_ICALL(edi); /* 0x2B094F60: call edi */ 15988 RECOMP_FLAGS_IN(); 15989 ecx = MEM32(esi + 0x18); /* 0x2B094F62: mov ecx, dword ptr [esi + 0x18] */ 15990 RECOMP_ICALL(ebx); /* 0x2B094F65: call ebx */ 15991 RECOMP_FLAGS_IN(); 15992 ecx = MEM32(esi + 0x1C); /* 0x2B094F67: mov ecx, dword ptr [esi + 0x1c] */ 15993 RECOMP_ICALL(edi); /* 0x2B094F6A: call edi */ 15994 RECOMP_FLAGS_IN(); 15995 ecx = MEM32(esi + 0x24); /* 0x2B094F6C: mov ecx, dword ptr [esi + 0x24] */ 15996 RECOMP_ICALL(MEM32(0x2B0B5A1C)); /* 0x2B094F6F: call dword ptr [0x2b0b5a1c] */ 15997 RECOMP_FLAGS_IN(); 15998 ecx = MEM32(esi + 0x28); /* 0x2B094F75: mov ecx, dword ptr [esi + 0x28] */ 15999 RECOMP_ICALL(MEM32(0x2B0B5A1C)); /* 0x2B094F78: call dword ptr [0x2b0b5a1c] */ 16000 RECOMP_FLAGS_IN(); 16001 ecx = MEM32(esi + 0x2C); /* 0x2B094F7E: mov ecx, dword ptr [esi + 0x2c] */ 16002 edx = MEM32(ecx); /* 0x2B094F81: mov edx, dword ptr [ecx] */ 16003 RECOMP_ICALL(MEM32(edx + 0x8)); /* 0x2B094F83: call dword ptr [edx + 8] */ 16004 RECOMP_FLAGS_IN(); 16005 eax = MEM32(esi + 0x30); /* 0x2B094F86: mov eax, dword ptr [esi + 0x30] */ 16006 MEM8(eax + 0x8) = (uint8_t)(1); /* 0x2B094F89: mov byte ptr [eax + 8], 1 */ 16007 ecx = MEM32(esi); /* 0x2B094F8D: mov ecx, dword ptr [esi] */ 16008 /* test ecx, ecx */ /* 0x2B094F8F: test ecx, ecx */ 16009 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16010 _cf = 0; 16011 _flag_k = FK_TEST; 16012 if (TEST_Z(_flag_a, _flag_b)) goto L_2B094F95; /* 0x2B094F91: je 0x2b094f95 */ 16013 L_2B094F93: 16014 RECOMP_ICALL(ebx); /* 0x2B094F93: call ebx */ 16015 RECOMP_FLAGS_IN(); 16016 L_2B094F95: 16017 ecx = MEM32(esi + 0x34); /* 0x2B094F95: mov ecx, dword ptr [esi + 0x34] */ 16018 edx = MEM32(ecx); /* 0x2B094F98: mov edx, dword ptr [ecx] */ 16019 RECOMP_ICALL(MEM32(edx + 0xC)); /* 0x2B094F9A: call dword ptr [edx + 0xc] */ 16020 RECOMP_FLAGS_IN(); 16021 esi = MEM32(esi + 0x38); /* 0x2B094F9D: mov esi, dword ptr [esi + 0x38] */ 16022 /* test esi, esi */ /* 0x2B094FA0: test esi, esi */ 16023 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 16024 _cf = 0; 16025 _flag_k = FK_TEST; 16026 if (TEST_Z(_flag_a, _flag_b)) goto L_2B095011; /* 0x2B094FA2: je 0x2b095011 */ 16027 L_2B094FA4: 16028 ecx = MEM32(esi); /* 0x2B094FA4: mov ecx, dword ptr [esi] */ 16029 RECOMP_ICALL(ebx); /* 0x2B094FA6: call ebx */ 16030 RECOMP_FLAGS_IN(); 16031 ecx = MEM32(esi + 0x8); /* 0x2B094FA8: mov ecx, dword ptr [esi + 8] */ 16032 RECOMP_ICALL(MEM32(0x2B0B58DC)); /* 0x2B094FAB: call dword ptr [0x2b0b58dc] */ 16033 RECOMP_FLAGS_IN(); 16034 ecx = MEM32(esi + 0x8); /* 0x2B094FB1: mov ecx, dword ptr [esi + 8] */ 16035 PUSH32(esp, 0); /* 0x2B094FB4: push 0 */ 16036 RECOMP_ICALL(MEM32(0x2B0B58E4)); /* 0x2B094FB6: call dword ptr [0x2b0b58e4] */ 16037 RECOMP_FLAGS_IN(); 16038 eax = MEM32(esi + 0x4); /* 0x2B094FBC: mov eax, dword ptr [esi + 4] */ 16039 MEM8(eax + 0x8) = (uint8_t)(1); /* 0x2B094FBF: mov byte ptr [eax + 8], 1 */ 16040 ecx = MEM32(esi + 0x4); /* 0x2B094FC3: mov ecx, dword ptr [esi + 4] */ 16041 MEM8(ecx + 0x9) = (uint8_t)(1); /* 0x2B094FC6: mov byte ptr [ecx + 9], 1 */ 16042 edx = MEM32(esi + 0xC); /* 0x2B094FCA: mov edx, dword ptr [esi + 0xc] */ 16043 MEM8(edx + 0x8) = (uint8_t)(1); /* 0x2B094FCD: mov byte ptr [edx + 8], 1 */ 16044 eax = MEM32(esi + 0x10); /* 0x2B094FD1: mov eax, dword ptr [esi + 0x10] */ 16045 MEM8(eax + 0x8) = (uint8_t)(1); /* 0x2B094FD4: mov byte ptr [eax + 8], 1 */ 16046 ecx = MEM32(esi + 0x18); /* 0x2B094FD8: mov ecx, dword ptr [esi + 0x18] */ 16047 RECOMP_ICALL(MEM32(0x2B0B5A14)); /* 0x2B094FDB: call dword ptr [0x2b0b5a14] */ 16048 RECOMP_FLAGS_IN(); 16049 ecx = MEM32(esi + 0x14); /* 0x2B094FE1: mov ecx, dword ptr [esi + 0x14] */ 16050 MEM8(ecx + 0x8) = (uint8_t)(1); /* 0x2B094FE4: mov byte ptr [ecx + 8], 1 */ 16051 ecx = MEM32(esi + 0x1C); /* 0x2B094FE8: mov ecx, dword ptr [esi + 0x1c] */ 16052 RECOMP_ICALL(edi); /* 0x2B094FEB: call edi */ 16053 RECOMP_FLAGS_IN(); 16054 ecx = MEM32(esi + 0x20); /* 0x2B094FED: mov ecx, dword ptr [esi + 0x20] */ 16055 RECOMP_ICALL(edi); /* 0x2B094FF0: call edi */ 16056 RECOMP_FLAGS_IN(); 16057 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16058 eax = 0; /* 0x2B094FF2: xor eax, eax */ 16059 _cf = 0; 16060 _flag_k = FK_TEST; 16061 L_2B094FF4: 16062 ecx = MEM32(esi + 0x28); /* 0x2B094FF4: mov ecx, dword ptr [esi + 0x28] */ 16063 /* test ecx, ecx */ /* 0x2B094FF7: test ecx, ecx */ 16064 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16065 _cf = 0; 16066 _flag_k = FK_TEST; 16067 if (TEST_Z(_flag_a, _flag_b)) goto L_2B095011; /* 0x2B094FF9: je 0x2b095011 */ 16068 L_2B094FFB: 16069 edx = MEM32(esi + 0x2C); /* 0x2B094FFB: mov edx, dword ptr [esi + 0x2c] */ 16070 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 16071 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16072 edx = edx - ecx; /* 0x2B094FFE: sub edx, ecx */ 16073 _flag_k = FK_CMP; 16074 if (2u) _cf = (((edx) >> 1) & 1u); /* 0x2B095000: sar edx, 2 */ 16075 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 16076 edx = (uint32_t)((int32_t)edx >> 2u); 16077 /* cmp eax, edx */ /* 0x2B095003: cmp eax, edx */ 16078 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 16079 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16080 _flag_k = FK_CMP; 16081 if (CMP_AE(_flag_a, _flag_b)) goto L_2B095011; /* 0x2B095005: jae 0x2b095011 */ 16082 L_2B095007: 16083 edx = MEM32(ecx + eax * 4); /* 0x2B095007: mov edx, dword ptr [ecx + eax*4] */ 16084 MEM8(edx + 0x8) = (uint8_t)(1); /* 0x2B09500A: mov byte ptr [edx + 8], 1 */ 16085 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 16086 eax = eax + 1; /* 0x2B09500E: inc eax */ 16087 _flag_k = FK_INC; 16088 RECOMP_BACKEDGE(); 16089 goto L_2B094FF4; /* 0x2B09500F: jmp 0x2b094ff4 */ 16090 L_2B095011: 16091 edi = POP32_VAL(esp); /* 0x2B095011: pop edi */ 16092 esi = POP32_VAL(esp); /* 0x2B095012: pop esi */ 16093 ebx = POP32_VAL(esp); /* 0x2B095013: pop ebx */ 16094 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B095014: ret */ 16095 RECOMP_REGS_OUT(); 16096 } 16097 16098 void sub_2B095020(void) { 16099 int _fpu_cmp = 0; 16100 uint32_t _cf = 0; 16101 int _df = 1; 16102 uint32_t _flag_k = FK_NONE; 16103 uint32_t _flag_a = 0, _flag_b = 0; 16104 uint32_t _itail_tgt = 0; 16105 RECOMP_REGS_LOCALS 16106 RECOMP_ENTER(0x2B095020u); 16107 16108 L_2B095020: 16109 PUSH32(esp, ebx); /* 0x2B095020: push ebx */ 16110 PUSH32(esp, esi); /* 0x2B095021: push esi */ 16111 esi = ecx; /* 0x2B095022: mov esi, ecx */ 16112 SET_LO8(eax, MEM8(esi + 0xA4)); /* 0x2B095024: mov al, byte ptr [esi + 0xa4] */ 16113 /* test LO8(eax), LO8(eax) */ /* 0x2B09502A: test al, al */ 16114 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 16115 _cf = 0; 16116 _flag_k = FK_NARROW(FK_TEST, 24); 16117 PUSH32(esp, edi); /* 0x2B09502C: push edi */ 16118 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0950FF; /* 0x2B09502D: je 0x2b0950ff */ 16119 L_2B095033: 16120 ecx = MEM32(esi + 0x8); /* 0x2B095033: mov ecx, dword ptr [esi + 8] */ 16121 RECOMP_ICALL(MEM32(0x2B0B5A10)); /* 0x2B095036: call dword ptr [0x2b0b5a10] */ 16122 RECOMP_FLAGS_IN(); 16123 ecx = MEM32(esi + 0xC); /* 0x2B09503C: mov ecx, dword ptr [esi + 0xc] */ 16124 RECOMP_ICALL(MEM32(0x2B0B5B38)); /* 0x2B09503F: call dword ptr [0x2b0b5b38] */ 16125 RECOMP_FLAGS_IN(); 16126 eax = MEM32(esi + 0x20); /* 0x2B095045: mov eax, dword ptr [esi + 0x20] */ 16127 ebx = MEM32(0x2B0B5BAC); /* 0x2B095048: mov ebx, dword ptr [0x2b0b5bac] */ 16128 MEM8(eax + 0x8) = (uint8_t)(0); /* 0x2B09504E: mov byte ptr [eax + 8], 0 */ 16129 ecx = MEM32(esi + 0x10); /* 0x2B095052: mov ecx, dword ptr [esi + 0x10] */ 16130 RECOMP_ICALL(ebx); /* 0x2B095055: call ebx */ 16131 RECOMP_FLAGS_IN(); 16132 ecx = MEM32(esi + 0x14); /* 0x2B095057: mov ecx, dword ptr [esi + 0x14] */ 16133 edi = MEM32(0x2B0B5B34); /* 0x2B09505A: mov edi, dword ptr [0x2b0b5b34] */ 16134 RECOMP_ICALL(edi); /* 0x2B095060: call edi */ 16135 RECOMP_FLAGS_IN(); 16136 ecx = MEM32(esi + 0x18); /* 0x2B095062: mov ecx, dword ptr [esi + 0x18] */ 16137 RECOMP_ICALL(ebx); /* 0x2B095065: call ebx */ 16138 RECOMP_FLAGS_IN(); 16139 ecx = MEM32(esi + 0x1C); /* 0x2B095067: mov ecx, dword ptr [esi + 0x1c] */ 16140 RECOMP_ICALL(edi); /* 0x2B09506A: call edi */ 16141 RECOMP_FLAGS_IN(); 16142 ecx = MEM32(esi + 0x24); /* 0x2B09506C: mov ecx, dword ptr [esi + 0x24] */ 16143 RECOMP_ICALL(MEM32(0x2B0B5A20)); /* 0x2B09506F: call dword ptr [0x2b0b5a20] */ 16144 RECOMP_FLAGS_IN(); 16145 ecx = MEM32(esi + 0x28); /* 0x2B095075: mov ecx, dword ptr [esi + 0x28] */ 16146 RECOMP_ICALL(MEM32(0x2B0B5A20)); /* 0x2B095078: call dword ptr [0x2b0b5a20] */ 16147 RECOMP_FLAGS_IN(); 16148 ecx = MEM32(esi + 0x2C); /* 0x2B09507E: mov ecx, dword ptr [esi + 0x2c] */ 16149 edx = MEM32(ecx); /* 0x2B095081: mov edx, dword ptr [ecx] */ 16150 RECOMP_ICALL(MEM32(edx + 0xC)); /* 0x2B095083: call dword ptr [edx + 0xc] */ 16151 RECOMP_FLAGS_IN(); 16152 eax = MEM32(esi + 0x30); /* 0x2B095086: mov eax, dword ptr [esi + 0x30] */ 16153 MEM8(eax + 0x8) = (uint8_t)(0); /* 0x2B095089: mov byte ptr [eax + 8], 0 */ 16154 ecx = MEM32(esi); /* 0x2B09508D: mov ecx, dword ptr [esi] */ 16155 /* test ecx, ecx */ /* 0x2B09508F: test ecx, ecx */ 16156 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16157 _cf = 0; 16158 _flag_k = FK_TEST; 16159 if (TEST_Z(_flag_a, _flag_b)) goto L_2B095095; /* 0x2B095091: je 0x2b095095 */ 16160 L_2B095093: 16161 RECOMP_ICALL(ebx); /* 0x2B095093: call ebx */ 16162 RECOMP_FLAGS_IN(); 16163 L_2B095095: 16164 ecx = MEM32(esi + 0x34); /* 0x2B095095: mov ecx, dword ptr [esi + 0x34] */ 16165 edx = MEM32(ecx); /* 0x2B095098: mov edx, dword ptr [ecx] */ 16166 RECOMP_ICALL(MEM32(edx + 0x10)); /* 0x2B09509A: call dword ptr [edx + 0x10] */ 16167 RECOMP_FLAGS_IN(); 16168 esi = MEM32(esi + 0x38); /* 0x2B09509D: mov esi, dword ptr [esi + 0x38] */ 16169 /* test esi, esi */ /* 0x2B0950A0: test esi, esi */ 16170 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 16171 _cf = 0; 16172 _flag_k = FK_TEST; 16173 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0950FF; /* 0x2B0950A2: je 0x2b0950ff */ 16174 L_2B0950A4: 16175 ecx = MEM32(esi); /* 0x2B0950A4: mov ecx, dword ptr [esi] */ 16176 RECOMP_ICALL(ebx); /* 0x2B0950A6: call ebx */ 16177 RECOMP_FLAGS_IN(); 16178 ecx = MEM32(esi + 0x8); /* 0x2B0950A8: mov ecx, dword ptr [esi + 8] */ 16179 RECOMP_ICALL(MEM32(0x2B0B58D8)); /* 0x2B0950AB: call dword ptr [0x2b0b58d8] */ 16180 RECOMP_FLAGS_IN(); 16181 eax = MEM32(esi + 0x4); /* 0x2B0950B1: mov eax, dword ptr [esi + 4] */ 16182 MEM8(eax + 0x8) = (uint8_t)(0); /* 0x2B0950B4: mov byte ptr [eax + 8], 0 */ 16183 ecx = MEM32(esi + 0xC); /* 0x2B0950B8: mov ecx, dword ptr [esi + 0xc] */ 16184 MEM8(ecx + 0x8) = (uint8_t)(0); /* 0x2B0950BB: mov byte ptr [ecx + 8], 0 */ 16185 edx = MEM32(esi + 0x10); /* 0x2B0950BF: mov edx, dword ptr [esi + 0x10] */ 16186 SET_LO8(ebx, 1); /* 0x2B0950C2: mov bl, 1 */ 16187 MEM8(edx + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B0950C4: mov byte ptr [edx + 8], bl */ 16188 ecx = MEM32(esi + 0x18); /* 0x2B0950C7: mov ecx, dword ptr [esi + 0x18] */ 16189 RECOMP_ICALL(MEM32(0x2B0B5A14)); /* 0x2B0950CA: call dword ptr [0x2b0b5a14] */ 16190 RECOMP_FLAGS_IN(); 16191 eax = MEM32(esi + 0x14); /* 0x2B0950D0: mov eax, dword ptr [esi + 0x14] */ 16192 MEM8(eax + 0x8) = (uint8_t)(LO8(ebx)); /* 0x2B0950D3: mov byte ptr [eax + 8], bl */ 16193 ecx = MEM32(esi + 0x1C); /* 0x2B0950D6: mov ecx, dword ptr [esi + 0x1c] */ 16194 RECOMP_ICALL(edi); /* 0x2B0950D9: call edi */ 16195 RECOMP_FLAGS_IN(); 16196 ecx = MEM32(esi + 0x20); /* 0x2B0950DB: mov ecx, dword ptr [esi + 0x20] */ 16197 RECOMP_ICALL(edi); /* 0x2B0950DE: call edi */ 16198 RECOMP_FLAGS_IN(); 16199 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16200 eax = 0; /* 0x2B0950E0: xor eax, eax */ 16201 _cf = 0; 16202 _flag_k = FK_TEST; 16203 L_2B0950E2: 16204 ecx = MEM32(esi + 0x28); /* 0x2B0950E2: mov ecx, dword ptr [esi + 0x28] */ 16205 /* test ecx, ecx */ /* 0x2B0950E5: test ecx, ecx */ 16206 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16207 _cf = 0; 16208 _flag_k = FK_TEST; 16209 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0950FF; /* 0x2B0950E7: je 0x2b0950ff */ 16210 L_2B0950E9: 16211 edx = MEM32(esi + 0x2C); /* 0x2B0950E9: mov edx, dword ptr [esi + 0x2c] */ 16212 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 16213 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16214 edx = edx - ecx; /* 0x2B0950EC: sub edx, ecx */ 16215 _flag_k = FK_CMP; 16216 if (2u) _cf = (((edx) >> 1) & 1u); /* 0x2B0950EE: sar edx, 2 */ 16217 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 16218 edx = (uint32_t)((int32_t)edx >> 2u); 16219 /* cmp eax, edx */ /* 0x2B0950F1: cmp eax, edx */ 16220 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 16221 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16222 _flag_k = FK_CMP; 16223 if (CMP_AE(_flag_a, _flag_b)) goto L_2B0950FF; /* 0x2B0950F3: jae 0x2b0950ff */ 16224 L_2B0950F5: 16225 edx = MEM32(ecx + eax * 4); /* 0x2B0950F5: mov edx, dword ptr [ecx + eax*4] */ 16226 MEM8(edx + 0x8) = (uint8_t)(0); /* 0x2B0950F8: mov byte ptr [edx + 8], 0 */ 16227 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 16228 eax = eax + 1; /* 0x2B0950FC: inc eax */ 16229 _flag_k = FK_INC; 16230 RECOMP_BACKEDGE(); 16231 goto L_2B0950E2; /* 0x2B0950FD: jmp 0x2b0950e2 */ 16232 L_2B0950FF: 16233 edi = POP32_VAL(esp); /* 0x2B0950FF: pop edi */ 16234 esi = POP32_VAL(esp); /* 0x2B095100: pop esi */ 16235 ebx = POP32_VAL(esp); /* 0x2B095101: pop ebx */ 16236 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B095102: ret */ 16237 RECOMP_REGS_OUT(); 16238 } 16239 16240 void sub_2B095110(void) { 16241 int _fpu_cmp = 0; 16242 uint32_t _cf = 0; 16243 int _df = 1; 16244 uint32_t _flag_k = FK_NONE; 16245 uint32_t _flag_a = 0, _flag_b = 0; 16246 uint32_t _itail_tgt = 0; 16247 RECOMP_REGS_LOCALS 16248 RECOMP_ENTER(0x2B095110u); 16249 16250 L_2B095110: 16251 PUSH32(esp, ebp); /* 0x2B095110: push ebp */ 16252 ebp = esp; /* 0x2B095111: mov ebp, esp */ 16253 PUSH32(esp, ebx); /* 0x2B095113: push ebx */ 16254 PUSH32(esp, esi); /* 0x2B095114: push esi */ 16255 esi = ecx; /* 0x2B095115: mov esi, ecx */ 16256 SET_LO8(eax, MEM8(esi + 0xA4)); /* 0x2B095117: mov al, byte ptr [esi + 0xa4] */ 16257 /* test LO8(eax), LO8(eax) */ /* 0x2B09511D: test al, al */ 16258 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 16259 _cf = 0; 16260 _flag_k = FK_NARROW(FK_TEST, 24); 16261 PUSH32(esp, edi); /* 0x2B09511F: push edi */ 16262 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09517D; /* 0x2B095120: je 0x2b09517d */ 16263 L_2B095122: 16264 edi = MEM32(ebp + 0x8); /* 0x2B095122: mov edi, dword ptr [ebp + 8] */ 16265 ecx = MEM32(esi + 0x8); /* 0x2B095125: mov ecx, dword ptr [esi + 8] */ 16266 PUSH32(esp, edi); /* 0x2B095128: push edi */ 16267 RECOMP_ICALL(MEM32(0x2B0B57DC)); /* 0x2B095129: call dword ptr [0x2b0b57dc] */ 16268 RECOMP_FLAGS_IN(); 16269 ecx = MEM32(esi + 0xC); /* 0x2B09512F: mov ecx, dword ptr [esi + 0xc] */ 16270 PUSH32(esp, edi); /* 0x2B095132: push edi */ 16271 RECOMP_ICALL(MEM32(0x2B0B5B08)); /* 0x2B095133: call dword ptr [0x2b0b5b08] */ 16272 RECOMP_FLAGS_IN(); 16273 ecx = MEM32(esi + 0x10); /* 0x2B095139: mov ecx, dword ptr [esi + 0x10] */ 16274 ebx = MEM32(0x2B0B5BE0); /* 0x2B09513C: mov ebx, dword ptr [0x2b0b5be0] */ 16275 PUSH32(esp, edi); /* 0x2B095142: push edi */ 16276 RECOMP_ICALL(ebx); /* 0x2B095143: call ebx */ 16277 RECOMP_FLAGS_IN(); 16278 ecx = MEM32(esi + 0x18); /* 0x2B095145: mov ecx, dword ptr [esi + 0x18] */ 16279 PUSH32(esp, edi); /* 0x2B095148: push edi */ 16280 RECOMP_ICALL(ebx); /* 0x2B095149: call ebx */ 16281 RECOMP_FLAGS_IN(); 16282 ecx = MEM32(esi + 0x24); /* 0x2B09514B: mov ecx, dword ptr [esi + 0x24] */ 16283 PUSH32(esp, edi); /* 0x2B09514E: push edi */ 16284 RECOMP_ICALL(MEM32(0x2B0B57D8)); /* 0x2B09514F: call dword ptr [0x2b0b57d8] */ 16285 RECOMP_FLAGS_IN(); 16286 ecx = MEM32(esi + 0x28); /* 0x2B095155: mov ecx, dword ptr [esi + 0x28] */ 16287 PUSH32(esp, edi); /* 0x2B095158: push edi */ 16288 RECOMP_ICALL(MEM32(0x2B0B57D8)); /* 0x2B095159: call dword ptr [0x2b0b57d8] */ 16289 RECOMP_FLAGS_IN(); 16290 ecx = MEM32(esi + 0x34); /* 0x2B09515F: mov ecx, dword ptr [esi + 0x34] */ 16291 eax = MEM32(ecx); /* 0x2B095162: mov eax, dword ptr [ecx] */ 16292 PUSH32(esp, edi); /* 0x2B095164: push edi */ 16293 RECOMP_ICALL(MEM32(eax + 0x8)); /* 0x2B095165: call dword ptr [eax + 8] */ 16294 RECOMP_FLAGS_IN(); 16295 ecx = MEM32(esi); /* 0x2B095168: mov ecx, dword ptr [esi] */ 16296 /* test ecx, ecx */ /* 0x2B09516A: test ecx, ecx */ 16297 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16298 _cf = 0; 16299 _flag_k = FK_TEST; 16300 if (TEST_Z(_flag_a, _flag_b)) goto L_2B095171; /* 0x2B09516C: je 0x2b095171 */ 16301 L_2B09516E: 16302 PUSH32(esp, edi); /* 0x2B09516E: push edi */ 16303 RECOMP_ICALL(ebx); /* 0x2B09516F: call ebx */ 16304 RECOMP_FLAGS_IN(); 16305 L_2B095171: 16306 esi = MEM32(esi + 0x38); /* 0x2B095171: mov esi, dword ptr [esi + 0x38] */ 16307 /* test esi, esi */ /* 0x2B095174: test esi, esi */ 16308 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 16309 _cf = 0; 16310 _flag_k = FK_TEST; 16311 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09517D; /* 0x2B095176: je 0x2b09517d */ 16312 L_2B095178: 16313 ecx = MEM32(esi); /* 0x2B095178: mov ecx, dword ptr [esi] */ 16314 PUSH32(esp, edi); /* 0x2B09517A: push edi */ 16315 RECOMP_ICALL(ebx); /* 0x2B09517B: call ebx */ 16316 RECOMP_FLAGS_IN(); 16317 L_2B09517D: 16318 edi = POP32_VAL(esp); /* 0x2B09517D: pop edi */ 16319 esi = POP32_VAL(esp); /* 0x2B09517E: pop esi */ 16320 ebx = POP32_VAL(esp); /* 0x2B09517F: pop ebx */ 16321 ebp = POP32_VAL(esp); /* 0x2B095180: pop ebp */ 16322 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B095181: ret 4 */ 16323 RECOMP_REGS_OUT(); 16324 } 16325 16326 void sub_2B095190(void) { 16327 int _fpu_cmp = 0; 16328 uint32_t _cf = 0; 16329 int _df = 1; 16330 uint32_t _flag_k = FK_NONE; 16331 uint32_t _flag_a = 0, _flag_b = 0; 16332 uint32_t _itail_tgt = 0; 16333 RECOMP_REGS_LOCALS 16334 RECOMP_ENTER(0x2B095190u); 16335 16336 L_2B095190: 16337 PUSH32(esp, ebp); /* 0x2B095190: push ebp */ 16338 ebp = esp; /* 0x2B095191: mov ebp, esp */ 16339 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x30u); 16340 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16341 esp = esp - 0x30u; /* 0x2B095193: sub esp, 0x30 */ 16342 _flag_k = FK_CMP; 16343 PUSH32(esp, ebx); /* 0x2B095196: push ebx */ 16344 PUSH32(esp, esi); /* 0x2B095197: push esi */ 16345 esi = ecx; /* 0x2B095198: mov esi, ecx */ 16346 eax = MEM32(esi + 0x38); /* 0x2B09519A: mov eax, dword ptr [esi + 0x38] */ 16347 /* test eax, eax */ /* 0x2B09519D: test eax, eax */ 16348 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 16349 _cf = 0; 16350 _flag_k = FK_TEST; 16351 PUSH32(esp, edi); /* 0x2B09519F: push edi */ 16352 if (TEST_Z(_flag_a, _flag_b)) goto L_2B095311; /* 0x2B0951A0: je 0x2b095311 */ 16353 L_2B0951A6: 16354 ecx = MEM32(eax + 0x34); /* 0x2B0951A6: mov ecx, dword ptr [eax + 0x34] */ 16355 /* cmp ecx, MEM32(eax + 0x38) */ /* 0x2B0951A9: cmp ecx, dword ptr [eax + 0x38] */ 16356 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax + 0x38)); 16357 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16358 _flag_k = FK_CMP; 16359 if (CMP_GE(_flag_a, _flag_b)) goto L_2B0952FF; /* 0x2B0951AC: jge 0x2b0952ff */ 16360 L_2B0951B2: 16361 ebx = MEM32(0x2B0B5B64); /* 0x2B0951B2: mov ebx, dword ptr [0x2b0b5b64] */ 16362 RECOMP_ICALL(ebx); /* 0x2B0951B8: call ebx */ 16363 RECOMP_FLAGS_IN(); 16364 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 16365 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16366 eax = eax + 0xD4u; /* 0x2B0951BA: add eax, 0xd4 */ 16367 _flag_k = FK_ADD; 16368 edx = ebp + (-0x8); /* 0x2B0951BF: lea edx, [ebp - 8] */ 16369 /* cmp edx, eax */ /* 0x2B0951C2: cmp edx, eax */ 16370 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 16371 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16372 _flag_k = FK_CMP; 16373 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0951D1; /* 0x2B0951C4: je 0x2b0951d1 */ 16374 L_2B0951C6: 16375 ecx = MEM32(eax); /* 0x2B0951C6: mov ecx, dword ptr [eax] */ 16376 MEM32(ebp + (-0x8)) = ecx; /* 0x2B0951C8: mov dword ptr [ebp - 8], ecx */ 16377 edx = MEM32(eax + 0x4); /* 0x2B0951CB: mov edx, dword ptr [eax + 4] */ 16378 MEM32(ebp + (-0x4)) = edx; /* 0x2B0951CE: mov dword ptr [ebp - 4], edx */ 16379 L_2B0951D1: 16380 eax = MEM32(ebp + 0xC); /* 0x2B0951D1: mov eax, dword ptr [ebp + 0xc] */ 16381 edi = MEM32(0x2B0B5D6C); /* 0x2B0951D4: mov edi, dword ptr [0x2b0b5d6c] */ 16382 PUSH32(esp, eax); /* 0x2B0951DA: push eax */ 16383 ecx = esi + 0x3C; /* 0x2B0951DB: lea ecx, [esi + 0x3c] */ 16384 PUSH32(esp, ecx); /* 0x2B0951DE: push ecx */ 16385 edx = ebp + (-0x8); /* 0x2B0951DF: lea edx, [ebp - 8] */ 16386 PUSH32(esp, edx); /* 0x2B0951E2: push edx */ 16387 RECOMP_ICALL(edi); /* 0x2B0951E3: call edi */ 16388 RECOMP_FLAGS_IN(); 16389 ecx = eax; /* 0x2B0951E5: mov ecx, eax */ 16390 RECOMP_ICALL(MEM32(0x2B0B5CE4)); /* 0x2B0951E7: call dword ptr [0x2b0b5ce4] */ 16391 RECOMP_FLAGS_IN(); 16392 esi = MEM32(esi + 0x38); /* 0x2B0951ED: mov esi, dword ptr [esi + 0x38] */ 16393 ecx = MEM32(esi + 0x8); /* 0x2B0951F0: mov ecx, dword ptr [esi + 8] */ 16394 RECOMP_ICALL(MEM32(0x2B0B58CC)); /* 0x2B0951F3: call dword ptr [0x2b0b58cc] */ 16395 RECOMP_FLAGS_IN(); 16396 MEM32(esi + 0x34) = 0; /* 0x2B0951F9: mov dword ptr [esi + 0x34], 0 */ 16397 RECOMP_ICALL(ebx); /* 0x2B095200: call ebx */ 16398 RECOMP_FLAGS_IN(); 16399 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 16400 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16401 eax = eax + 0xD4u; /* 0x2B095202: add eax, 0xd4 */ 16402 _flag_k = FK_ADD; 16403 ecx = ebp + (-0x8); /* 0x2B095207: lea ecx, [ebp - 8] */ 16404 /* cmp ecx, eax */ /* 0x2B09520A: cmp ecx, eax */ 16405 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 16406 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16407 _flag_k = FK_CMP; 16408 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B095219; /* 0x2B09520C: je 0x2b095219 */ 16409 L_2B09520E: 16410 edx = MEM32(eax); /* 0x2B09520E: mov edx, dword ptr [eax] */ 16411 MEM32(ebp + (-0x8)) = edx; /* 0x2B095210: mov dword ptr [ebp - 8], edx */ 16412 eax = MEM32(eax + 0x4); /* 0x2B095213: mov eax, dword ptr [eax + 4] */ 16413 MEM32(ebp + (-0x4)) = eax; /* 0x2B095216: mov dword ptr [ebp - 4], eax */ 16414 L_2B095219: 16415 ecx = ebp + (-0x8); /* 0x2B095219: lea ecx, [ebp - 8] */ 16416 PUSH32(esp, ecx); /* 0x2B09521C: push ecx */ 16417 RECOMP_ICALL(edi); /* 0x2B09521D: call edi */ 16418 RECOMP_FLAGS_IN(); 16419 ecx = eax; /* 0x2B09521F: mov ecx, eax */ 16420 RECOMP_ICALL(MEM32(0x2B0B5E60)); /* 0x2B095221: call dword ptr [0x2b0b5e60] */ 16421 RECOMP_FLAGS_IN(); 16422 /* test eax, eax */ /* 0x2B095227: test eax, eax */ 16423 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 16424 _cf = 0; 16425 _flag_k = FK_TEST; 16426 if (TEST_Z(_flag_a, _flag_b)) goto L_2B095311; /* 0x2B095229: je 0x2b095311 */ 16427 L_2B09522F: 16428 ecx = MEM32(eax + 0x8); /* 0x2B09522F: mov ecx, dword ptr [eax + 8] */ 16429 /* test ecx, ecx */ /* 0x2B095232: test ecx, ecx */ 16430 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16431 _cf = 0; 16432 _flag_k = FK_TEST; 16433 edx = MEM32(eax + 0x4); /* 0x2B095234: mov edx, dword ptr [eax + 4] */ 16434 ebx = MEM32(edx); /* 0x2B095237: mov ebx, dword ptr [edx] */ 16435 if (TEST_LE(_flag_a, _flag_b)) goto L_2B09528E; /* 0x2B095239: jle 0x2b09528e */ 16436 L_2B09523B: 16437 MEM32(ebp + 0xC) = ecx; /* 0x2B09523B: mov dword ptr [ebp + 0xc], ecx */ 16438 L_2B09523E: 16439 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16440 eax = 0; /* 0x2B09523E: xor eax, eax */ 16441 _cf = 0; 16442 _flag_k = FK_TEST; 16443 ecx = 0xAu; /* 0x2B095240: mov ecx, 0xa */ 16444 edi = ebp + (-0x30); /* 0x2B095245: lea edi, [ebp - 0x30] */ 16445 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B095248: 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; } 16446 ecx = MEM32(ebx + 0xC); /* 0x2B09524A: mov ecx, dword ptr [ebx + 0xc] */ 16447 eax = MEM32(ebx + 0x8); /* 0x2B09524D: mov eax, dword ptr [ebx + 8] */ 16448 edx = ebp + (-0x30); /* 0x2B095250: lea edx, [ebp - 0x30] */ 16449 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B095253: mov dword ptr [ebp - 0x2c], ecx */ 16450 ecx = MEM32(esi + 0x8); /* 0x2B095256: mov ecx, dword ptr [esi + 8] */ 16451 PUSH32(esp, edx); /* 0x2B095259: push edx */ 16452 MEM32(ebp + (-0x30)) = eax; /* 0x2B09525A: mov dword ptr [ebp - 0x30], eax */ 16453 MEM32(ebp + (-0x14)) = 0x30u; /* 0x2B09525D: mov dword ptr [ebp - 0x14], 0x30 */ 16454 MEM32(ebp + (-0x10)) = 0xFFFFFFFFu; /* 0x2B095264: mov dword ptr [ebp - 0x10], 0xffffffff */ 16455 MEM32(ebp + (-0x18)) = 0x25u; /* 0x2B09526B: mov dword ptr [ebp - 0x18], 0x25 */ 16456 RECOMP_ICALL(MEM32(0x2B0B58D0)); /* 0x2B095272: call dword ptr [0x2b0b58d0] */ 16457 RECOMP_FLAGS_IN(); 16458 /* test eax, eax */ /* 0x2B095278: test eax, eax */ 16459 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 16460 _cf = 0; 16461 _flag_k = FK_TEST; 16462 if (TEST_Z(_flag_a, _flag_b)) goto L_2B095283; /* 0x2B09527A: je 0x2b095283 */ 16463 L_2B09527C: 16464 MEM8(eax + 0x24) = (uint8_t)(0); /* 0x2B09527C: mov byte ptr [eax + 0x24], 0 */ 16465 _flag_a = (uint32_t)(MEM32(esi + 0x34)); _flag_b = (uint32_t)(1); 16466 MEM32(esi + 0x34) = MEM32(esi + 0x34) + 1; /* 0x2B095280: inc dword ptr [esi + 0x34] */ 16467 _flag_k = FK_INC; 16468 L_2B095283: 16469 eax = MEM32(ebp + 0xC); /* 0x2B095283: mov eax, dword ptr [ebp + 0xc] */ 16470 ebx = MEM32(ebx); /* 0x2B095286: mov ebx, dword ptr [ebx] */ 16471 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 16472 eax = eax - 1; /* 0x2B095288: dec eax */ 16473 _flag_k = FK_DEC; 16474 MEM32(ebp + 0xC) = eax; /* 0x2B095289: mov dword ptr [ebp + 0xc], eax */ 16475 RECOMP_BACKEDGE(); 16476 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B09523E; /* 0x2B09528C: jne 0x2b09523e */ 16477 L_2B09528E: 16478 ecx = MEM32(esi + 0x8); /* 0x2B09528E: mov ecx, dword ptr [esi + 8] */ 16479 RECOMP_ICALL(MEM32(0x2B0B58D4)); /* 0x2B095291: call dword ptr [0x2b0b58d4] */ 16480 RECOMP_FLAGS_IN(); 16481 eax = MEM32(esi + 0x4); /* 0x2B095297: mov eax, dword ptr [esi + 4] */ 16482 ecx = ebp + (-0x8); /* 0x2B09529A: lea ecx, [ebp - 8] */ 16483 SET_LO8(ebx, 1); /* 0x2B09529D: mov bl, 1 */ 16484 MEM8(eax + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B09529F: mov byte ptr [eax + 9], bl */ 16485 PUSH32(esp, ecx); /* 0x2B0952A2: push ecx */ 16486 ecx = MEM32(esi + 0x8); /* 0x2B0952A3: mov ecx, dword ptr [esi + 8] */ 16487 MEM32(ebp + (-0x8)) = 7; /* 0x2B0952A6: mov dword ptr [ebp - 8], 7 */ 16488 MEM32(ebp + (-0x4)) = 0x17u; /* 0x2B0952AD: mov dword ptr [ebp - 4], 0x17 */ 16489 RECOMP_ICALL(MEM32(0x2B0B58E0)); /* 0x2B0952B4: call dword ptr [0x2b0b58e0] */ 16490 RECOMP_FLAGS_IN(); 16491 ecx = MEM32(esi + 0x8); /* 0x2B0952BA: mov ecx, dword ptr [esi + 8] */ 16492 PUSH32(esp, 0); /* 0x2B0952BD: push 0 */ 16493 RECOMP_ICALL(MEM32(0x2B0B58E4)); /* 0x2B0952BF: call dword ptr [0x2b0b58e4] */ 16494 RECOMP_FLAGS_IN(); 16495 ecx = MEM32(esi + 0x1C); /* 0x2B0952C5: mov ecx, dword ptr [esi + 0x1c] */ 16496 edi = MEM32(0x2B0B5960); /* 0x2B0952C8: mov edi, dword ptr [0x2b0b5960] */ 16497 RECOMP_ICALL(edi); /* 0x2B0952CE: call edi */ 16498 RECOMP_FLAGS_IN(); 16499 ecx = MEM32(esi + 0x20); /* 0x2B0952D0: mov ecx, dword ptr [esi + 0x20] */ 16500 RECOMP_ICALL(edi); /* 0x2B0952D3: call edi */ 16501 RECOMP_FLAGS_IN(); 16502 edx = MEM32(esi + 0x10); /* 0x2B0952D5: mov edx, dword ptr [esi + 0x10] */ 16503 MEM8(edx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B0952D8: mov byte ptr [edx + 9], bl */ 16504 eax = MEM32(esi + 0x14); /* 0x2B0952DB: mov eax, dword ptr [esi + 0x14] */ 16505 MEM8(eax + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B0952DE: mov byte ptr [eax + 9], bl */ 16506 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16507 eax = 0; /* 0x2B0952E1: xor eax, eax */ 16508 _cf = 0; 16509 _flag_k = FK_TEST; 16510 L_2B0952E3: 16511 ecx = MEM32(esi + 0x28); /* 0x2B0952E3: mov ecx, dword ptr [esi + 0x28] */ 16512 /* test ecx, ecx */ /* 0x2B0952E6: test ecx, ecx */ 16513 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16514 _cf = 0; 16515 _flag_k = FK_TEST; 16516 if (TEST_Z(_flag_a, _flag_b)) goto L_2B095311; /* 0x2B0952E8: je 0x2b095311 */ 16517 L_2B0952EA: 16518 edx = MEM32(esi + 0x2C); /* 0x2B0952EA: mov edx, dword ptr [esi + 0x2c] */ 16519 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 16520 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16521 edx = edx - ecx; /* 0x2B0952ED: sub edx, ecx */ 16522 _flag_k = FK_CMP; 16523 if (2u) _cf = (((edx) >> 1) & 1u); /* 0x2B0952EF: sar edx, 2 */ 16524 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 16525 edx = (uint32_t)((int32_t)edx >> 2u); 16526 /* cmp eax, edx */ /* 0x2B0952F2: cmp eax, edx */ 16527 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 16528 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16529 _flag_k = FK_CMP; 16530 if (CMP_AE(_flag_a, _flag_b)) goto L_2B095311; /* 0x2B0952F4: jae 0x2b095311 */ 16531 L_2B0952F6: 16532 edx = MEM32(ecx + eax * 4); /* 0x2B0952F6: mov edx, dword ptr [ecx + eax*4] */ 16533 MEM8(edx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B0952F9: mov byte ptr [edx + 9], bl */ 16534 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 16535 eax = eax + 1; /* 0x2B0952FC: inc eax */ 16536 _flag_k = FK_INC; 16537 RECOMP_BACKEDGE(); 16538 goto L_2B0952E3; /* 0x2B0952FD: jmp 0x2b0952e3 */ 16539 L_2B0952FF: 16540 eax = MEM32(ebp + 0xC); /* 0x2B0952FF: mov eax, dword ptr [ebp + 0xc] */ 16541 PUSH32(esp, eax); /* 0x2B095302: push eax */ 16542 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B095303: call dword ptr [0x2b0b5d6c] */ 16543 RECOMP_FLAGS_IN(); 16544 ecx = eax; /* 0x2B095309: mov ecx, eax */ 16545 RECOMP_ICALL(MEM32(0x2B0B5CE0)); /* 0x2B09530B: call dword ptr [0x2b0b5ce0] */ 16546 RECOMP_FLAGS_IN(); 16547 L_2B095311: 16548 edi = POP32_VAL(esp); /* 0x2B095311: pop edi */ 16549 esi = POP32_VAL(esp); /* 0x2B095312: pop esi */ 16550 ebx = POP32_VAL(esp); /* 0x2B095313: pop ebx */ 16551 esp = ebp; /* 0x2B095314: mov esp, ebp */ 16552 ebp = POP32_VAL(esp); /* 0x2B095316: pop ebp */ 16553 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B095317: ret 8 */ 16554 RECOMP_REGS_OUT(); 16555 } 16556 16557 void sub_2B095297(void) { 16558 int _fpu_cmp = 0; 16559 uint32_t _cf = 0; 16560 int _df = 1; 16561 uint32_t _flag_k = FK_NONE; 16562 uint32_t _flag_a = 0, _flag_b = 0; 16563 uint32_t _itail_tgt = 0; 16564 RECOMP_REGS_LOCALS 16565 RECOMP_ENTER(0x2B095297u); 16566 16567 L_2B095297: 16568 eax = MEM32(esi + 0x4); /* 0x2B095297: mov eax, dword ptr [esi + 4] */ 16569 ecx = ebp + (-0x8); /* 0x2B09529A: lea ecx, [ebp - 8] */ 16570 SET_LO8(ebx, 1); /* 0x2B09529D: mov bl, 1 */ 16571 MEM8(eax + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B09529F: mov byte ptr [eax + 9], bl */ 16572 PUSH32(esp, ecx); /* 0x2B0952A2: push ecx */ 16573 ecx = MEM32(esi + 0x8); /* 0x2B0952A3: mov ecx, dword ptr [esi + 8] */ 16574 MEM32(ebp + (-0x8)) = 7; /* 0x2B0952A6: mov dword ptr [ebp - 8], 7 */ 16575 MEM32(ebp + (-0x4)) = 0x17u; /* 0x2B0952AD: mov dword ptr [ebp - 4], 0x17 */ 16576 RECOMP_ICALL(MEM32(0x2B0B58E0)); /* 0x2B0952B4: call dword ptr [0x2b0b58e0] */ 16577 RECOMP_FLAGS_IN(); 16578 ecx = MEM32(esi + 0x8); /* 0x2B0952BA: mov ecx, dword ptr [esi + 8] */ 16579 PUSH32(esp, 0); /* 0x2B0952BD: push 0 */ 16580 RECOMP_ICALL(MEM32(0x2B0B58E4)); /* 0x2B0952BF: call dword ptr [0x2b0b58e4] */ 16581 RECOMP_FLAGS_IN(); 16582 ecx = MEM32(esi + 0x1C); /* 0x2B0952C5: mov ecx, dword ptr [esi + 0x1c] */ 16583 edi = MEM32(0x2B0B5960); /* 0x2B0952C8: mov edi, dword ptr [0x2b0b5960] */ 16584 RECOMP_ICALL(edi); /* 0x2B0952CE: call edi */ 16585 RECOMP_FLAGS_IN(); 16586 ecx = MEM32(esi + 0x20); /* 0x2B0952D0: mov ecx, dword ptr [esi + 0x20] */ 16587 RECOMP_ICALL(edi); /* 0x2B0952D3: call edi */ 16588 RECOMP_FLAGS_IN(); 16589 edx = MEM32(esi + 0x10); /* 0x2B0952D5: mov edx, dword ptr [esi + 0x10] */ 16590 MEM8(edx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B0952D8: mov byte ptr [edx + 9], bl */ 16591 eax = MEM32(esi + 0x14); /* 0x2B0952DB: mov eax, dword ptr [esi + 0x14] */ 16592 MEM8(eax + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B0952DE: mov byte ptr [eax + 9], bl */ 16593 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16594 eax = 0; /* 0x2B0952E1: xor eax, eax */ 16595 _cf = 0; 16596 _flag_k = FK_TEST; 16597 L_2B0952E3: 16598 ecx = MEM32(esi + 0x28); /* 0x2B0952E3: mov ecx, dword ptr [esi + 0x28] */ 16599 /* test ecx, ecx */ /* 0x2B0952E6: test ecx, ecx */ 16600 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16601 _cf = 0; 16602 _flag_k = FK_TEST; 16603 if (TEST_Z(_flag_a, _flag_b)) goto L_2B095311; /* 0x2B0952E8: je 0x2b095311 */ 16604 L_2B0952EA: 16605 edx = MEM32(esi + 0x2C); /* 0x2B0952EA: mov edx, dword ptr [esi + 0x2c] */ 16606 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 16607 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16608 edx = edx - ecx; /* 0x2B0952ED: sub edx, ecx */ 16609 _flag_k = FK_CMP; 16610 if (2u) _cf = (((edx) >> 1) & 1u); /* 0x2B0952EF: sar edx, 2 */ 16611 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 16612 edx = (uint32_t)((int32_t)edx >> 2u); 16613 /* cmp eax, edx */ /* 0x2B0952F2: cmp eax, edx */ 16614 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 16615 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16616 _flag_k = FK_CMP; 16617 if (CMP_AE(_flag_a, _flag_b)) goto L_2B095311; /* 0x2B0952F4: jae 0x2b095311 */ 16618 L_2B0952F6: 16619 edx = MEM32(ecx + eax * 4); /* 0x2B0952F6: mov edx, dword ptr [ecx + eax*4] */ 16620 MEM8(edx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B0952F9: mov byte ptr [edx + 9], bl */ 16621 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 16622 eax = eax + 1; /* 0x2B0952FC: inc eax */ 16623 _flag_k = FK_INC; 16624 RECOMP_BACKEDGE(); 16625 goto L_2B0952E3; /* 0x2B0952FD: jmp 0x2b0952e3 */ 16626 L_2B095311: 16627 edi = POP32_VAL(esp); /* 0x2B095311: pop edi */ 16628 esi = POP32_VAL(esp); /* 0x2B095312: pop esi */ 16629 ebx = POP32_VAL(esp); /* 0x2B095313: pop ebx */ 16630 esp = ebp; /* 0x2B095314: mov esp, ebp */ 16631 ebp = POP32_VAL(esp); /* 0x2B095316: pop ebp */ 16632 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B095317: ret 8 */ 16633 RECOMP_REGS_OUT(); 16634 } 16635 16636 void sub_2B0952E3(void) { 16637 int _fpu_cmp = 0; 16638 uint32_t _cf = 0; 16639 int _df = 1; 16640 uint32_t _flag_k = FK_NONE; 16641 uint32_t _flag_a = 0, _flag_b = 0; 16642 uint32_t _itail_tgt = 0; 16643 RECOMP_REGS_LOCALS 16644 RECOMP_ENTER(0x2B0952E3u); 16645 16646 L_2B0952E3: 16647 ecx = MEM32(esi + 0x28); /* 0x2B0952E3: mov ecx, dword ptr [esi + 0x28] */ 16648 /* test ecx, ecx */ /* 0x2B0952E6: test ecx, ecx */ 16649 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16650 _cf = 0; 16651 _flag_k = FK_TEST; 16652 if (TEST_Z(_flag_a, _flag_b)) goto L_2B095311; /* 0x2B0952E8: je 0x2b095311 */ 16653 L_2B0952EA: 16654 edx = MEM32(esi + 0x2C); /* 0x2B0952EA: mov edx, dword ptr [esi + 0x2c] */ 16655 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 16656 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16657 edx = edx - ecx; /* 0x2B0952ED: sub edx, ecx */ 16658 _flag_k = FK_CMP; 16659 if (2u) _cf = (((edx) >> 1) & 1u); /* 0x2B0952EF: sar edx, 2 */ 16660 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 16661 edx = (uint32_t)((int32_t)edx >> 2u); 16662 /* cmp eax, edx */ /* 0x2B0952F2: cmp eax, edx */ 16663 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 16664 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16665 _flag_k = FK_CMP; 16666 if (CMP_AE(_flag_a, _flag_b)) goto L_2B095311; /* 0x2B0952F4: jae 0x2b095311 */ 16667 L_2B0952F6: 16668 edx = MEM32(ecx + eax * 4); /* 0x2B0952F6: mov edx, dword ptr [ecx + eax*4] */ 16669 MEM8(edx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B0952F9: mov byte ptr [edx + 9], bl */ 16670 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 16671 eax = eax + 1; /* 0x2B0952FC: inc eax */ 16672 _flag_k = FK_INC; 16673 RECOMP_BACKEDGE(); 16674 goto L_2B0952E3; /* 0x2B0952FD: jmp 0x2b0952e3 */ 16675 L_2B095311: 16676 edi = POP32_VAL(esp); /* 0x2B095311: pop edi */ 16677 esi = POP32_VAL(esp); /* 0x2B095312: pop esi */ 16678 ebx = POP32_VAL(esp); /* 0x2B095313: pop ebx */ 16679 esp = ebp; /* 0x2B095314: mov esp, ebp */ 16680 ebp = POP32_VAL(esp); /* 0x2B095316: pop ebp */ 16681 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B095317: ret 8 */ 16682 RECOMP_REGS_OUT(); 16683 } 16684 16685 void sub_2B0952FF(void) { 16686 int _fpu_cmp = 0; 16687 uint32_t _cf = 0; 16688 int _df = 1; 16689 uint32_t _flag_k = FK_NONE; 16690 uint32_t _flag_a = 0, _flag_b = 0; 16691 uint32_t _itail_tgt = 0; 16692 RECOMP_REGS_LOCALS 16693 RECOMP_ENTER(0x2B0952FFu); 16694 16695 L_2B0952FF: 16696 eax = MEM32(ebp + 0xC); /* 0x2B0952FF: mov eax, dword ptr [ebp + 0xc] */ 16697 PUSH32(esp, eax); /* 0x2B095302: push eax */ 16698 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B095303: call dword ptr [0x2b0b5d6c] */ 16699 RECOMP_FLAGS_IN(); 16700 ecx = eax; /* 0x2B095309: mov ecx, eax */ 16701 RECOMP_ICALL(MEM32(0x2B0B5CE0)); /* 0x2B09530B: call dword ptr [0x2b0b5ce0] */ 16702 RECOMP_FLAGS_IN(); 16703 edi = POP32_VAL(esp); /* 0x2B095311: pop edi */ 16704 esi = POP32_VAL(esp); /* 0x2B095312: pop esi */ 16705 ebx = POP32_VAL(esp); /* 0x2B095313: pop ebx */ 16706 esp = ebp; /* 0x2B095314: mov esp, ebp */ 16707 ebp = POP32_VAL(esp); /* 0x2B095316: pop ebp */ 16708 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B095317: ret 8 */ 16709 RECOMP_REGS_OUT(); 16710 } 16711 16712 void sub_2B095311(void) { 16713 int _fpu_cmp = 0; 16714 uint32_t _cf = 0; 16715 int _df = 1; 16716 uint32_t _flag_k = FK_NONE; 16717 uint32_t _flag_a = 0, _flag_b = 0; 16718 uint32_t _itail_tgt = 0; 16719 RECOMP_REGS_LOCALS 16720 RECOMP_ENTER(0x2B095311u); 16721 16722 L_2B095311: 16723 edi = POP32_VAL(esp); /* 0x2B095311: pop edi */ 16724 esi = POP32_VAL(esp); /* 0x2B095312: pop esi */ 16725 ebx = POP32_VAL(esp); /* 0x2B095313: pop ebx */ 16726 esp = ebp; /* 0x2B095314: mov esp, ebp */ 16727 ebp = POP32_VAL(esp); /* 0x2B095316: pop ebp */ 16728 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B095317: ret 8 */ 16729 RECOMP_REGS_OUT(); 16730 } 16731 16732 void sub_2B095320(void) { 16733 int _fpu_cmp = 0; 16734 uint32_t _cf = 0; 16735 int _df = 1; 16736 uint32_t _flag_k = FK_NONE; 16737 uint32_t _flag_a = 0, _flag_b = 0; 16738 uint32_t _itail_tgt = 0; 16739 RECOMP_REGS_LOCALS 16740 RECOMP_ENTER(0x2B095320u); 16741 16742 L_2B095320: 16743 PUSH32(esp, ebp); /* 0x2B095320: push ebp */ 16744 ebp = esp; /* 0x2B095321: mov ebp, esp */ 16745 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x28u); 16746 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16747 esp = esp - 0x28u; /* 0x2B095323: sub esp, 0x28 */ 16748 _flag_k = FK_CMP; 16749 eax = MEM32(ebp + 0x8); /* 0x2B095326: mov eax, dword ptr [ebp + 8] */ 16750 PUSH32(esp, ebx); /* 0x2B095329: push ebx */ 16751 PUSH32(esp, esi); /* 0x2B09532A: push esi */ 16752 esi = ecx; /* 0x2B09532B: mov esi, ecx */ 16753 ecx = MEM32(eax); /* 0x2B09532D: mov ecx, dword ptr [eax] */ 16754 ebx = esi + 0x94; /* 0x2B09532F: lea ebx, [esi + 0x94] */ 16755 MEM32(ebx) = ecx; /* 0x2B095335: mov dword ptr [ebx], ecx */ 16756 edx = MEM32(eax + 0x4); /* 0x2B095337: mov edx, dword ptr [eax + 4] */ 16757 PUSH32(esp, edi); /* 0x2B09533A: push edi */ 16758 edi = MEM32(0x2B0B5690); /* 0x2B09533B: mov edi, dword ptr [0x2b0b5690] */ 16759 MEM32(ebx + 0x4) = edx; /* 0x2B095341: mov dword ptr [ebx + 4], edx */ 16760 RECOMP_ICALL(edi); /* 0x2B095344: call edi */ 16761 RECOMP_FLAGS_IN(); 16762 ecx = eax; /* 0x2B095346: mov ecx, eax */ 16763 RECOMP_ICALL(MEM32(0x2B0B5688)); /* 0x2B095348: call dword ptr [0x2b0b5688] */ 16764 RECOMP_FLAGS_IN(); 16765 MEM32(ebp + 0x8) = eax; /* 0x2B09534E: mov dword ptr [ebp + 8], eax */ 16766 RECOMP_ICALL(edi); /* 0x2B095351: call edi */ 16767 RECOMP_FLAGS_IN(); 16768 ecx = eax; /* 0x2B095353: mov ecx, eax */ 16769 RECOMP_ICALL(MEM32(0x2B0B568C)); /* 0x2B095355: call dword ptr [0x2b0b568c] */ 16770 RECOMP_FLAGS_IN(); 16771 ecx = MEM32(esi + 0x34); /* 0x2B09535B: mov ecx, dword ptr [esi + 0x34] */ 16772 ecx = MEM32(ecx + 0xC); /* 0x2B09535E: mov ecx, dword ptr [ecx + 0xc] */ 16773 edx = MEM32(esi + 0xA0); /* 0x2B095361: mov edx, dword ptr [esi + 0xa0] */ 16774 ecx = MEM32(ecx + 0x38); /* 0x2B095367: mov ecx, dword ptr [ecx + 0x38] */ 16775 edi = MEM32(esi + 0x9C); /* 0x2B09536A: mov edi, dword ptr [esi + 0x9c] */ 16776 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 16777 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16778 ecx = ecx + edx; /* 0x2B095370: add ecx, edx */ 16779 _flag_k = FK_ADD; 16780 edx = MEM32(esi + 0x38); /* 0x2B095372: mov edx, dword ptr [esi + 0x38] */ 16781 /* test edx, edx */ /* 0x2B095375: test edx, edx */ 16782 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 16783 _cf = 0; 16784 _flag_k = FK_TEST; 16785 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09537E; /* 0x2B095377: je 0x2b09537e */ 16786 L_2B095379: 16787 edx = MEM32(edx); /* 0x2B095379: mov edx, dword ptr [edx] */ 16788 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx + 0x34)); 16789 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16790 edi = edi + MEM32(edx + 0x34); /* 0x2B09537B: add edi, dword ptr [edx + 0x34] */ 16791 _flag_k = FK_ADD; 16792 L_2B09537E: 16793 edx = MEM32(ebp + 0x8); /* 0x2B09537E: mov edx, dword ptr [ebp + 8] */ 16794 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 16795 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16796 edx = edx - edi; /* 0x2B095381: sub edx, edi */ 16797 _flag_k = FK_CMP; 16798 /* cmp MEM32(ebx), edx */ /* 0x2B095383: cmp dword ptr [ebx], edx */ 16799 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(edx); 16800 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16801 _flag_k = FK_CMP; 16802 if (CMP_LE(_flag_a, _flag_b)) goto L_2B095389; /* 0x2B095385: jle 0x2b095389 */ 16803 L_2B095387: 16804 MEM32(ebx) = edx; /* 0x2B095387: mov dword ptr [ebx], edx */ 16805 L_2B095389: 16806 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 16807 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16808 eax = eax - ecx; /* 0x2B095389: sub eax, ecx */ 16809 _flag_k = FK_CMP; 16810 /* cmp MEM32(esi + 0x98), eax */ /* 0x2B09538B: cmp dword ptr [esi + 0x98], eax */ 16811 _flag_a = (uint32_t)(MEM32(esi + 0x98)); _flag_b = (uint32_t)(eax); 16812 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16813 _flag_k = FK_CMP; 16814 if (CMP_LE(_flag_a, _flag_b)) goto L_2B095399; /* 0x2B095391: jle 0x2b095399 */ 16815 L_2B095393: 16816 MEM32(esi + 0x98) = eax; /* 0x2B095393: mov dword ptr [esi + 0x98], eax */ 16817 L_2B095399: 16818 /* cmp MEM32(ebx), 0 */ /* 0x2B095399: cmp dword ptr [ebx], 0 */ 16819 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(0); 16820 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16821 _flag_k = FK_CMP; 16822 if (CMP_GE(_flag_a, _flag_b)) goto L_2B0953A4; /* 0x2B09539C: jge 0x2b0953a4 */ 16823 L_2B09539E: 16824 MEM32(ebx) = 0; /* 0x2B09539E: mov dword ptr [ebx], 0 */ 16825 L_2B0953A4: 16826 eax = MEM32(esi + 0x98); /* 0x2B0953A4: mov eax, dword ptr [esi + 0x98] */ 16827 /* test eax, eax */ /* 0x2B0953AA: test eax, eax */ 16828 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 16829 _cf = 0; 16830 _flag_k = FK_TEST; 16831 if (TEST_NS(_flag_a, _flag_b)) goto L_2B0953B8; /* 0x2B0953AC: jge 0x2b0953b8 */ 16832 L_2B0953AE: 16833 MEM32(esi + 0x98) = 0; /* 0x2B0953AE: mov dword ptr [esi + 0x98], 0 */ 16834 L_2B0953B8: 16835 SET_LO8(eax, MEM8(esi + 0xA4)); /* 0x2B0953B8: mov al, byte ptr [esi + 0xa4] */ 16836 /* test LO8(eax), LO8(eax) */ /* 0x2B0953BE: test al, al */ 16837 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 16838 _cf = 0; 16839 _flag_k = FK_NARROW(FK_TEST, 24); 16840 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0955B6; /* 0x2B0953C0: je 0x2b0955b6 */ 16841 L_2B0953C6: 16842 ecx = MEM32(esi + 0x8); /* 0x2B0953C6: mov ecx, dword ptr [esi + 8] */ 16843 PUSH32(esp, ebx); /* 0x2B0953C9: push ebx */ 16844 RECOMP_ICALL(MEM32(0x2B0B59EC)); /* 0x2B0953CA: call dword ptr [0x2b0b59ec] */ 16845 RECOMP_FLAGS_IN(); 16846 ecx = MEM32(esi + 0x8); /* 0x2B0953D0: mov ecx, dword ptr [esi + 8] */ 16847 eax = ebp + (-0x28); /* 0x2B0953D3: lea eax, [ebp - 0x28] */ 16848 PUSH32(esp, eax); /* 0x2B0953D6: push eax */ 16849 RECOMP_ICALL(MEM32(0x2B0B59F0)); /* 0x2B0953D7: call dword ptr [0x2b0b59f0] */ 16850 RECOMP_FLAGS_IN(); 16851 ecx = MEM32(eax); /* 0x2B0953DD: mov ecx, dword ptr [eax] */ 16852 MEM32(ebp + (-0x10)) = ecx; /* 0x2B0953DF: mov dword ptr [ebp - 0x10], ecx */ 16853 edx = MEM32(eax + 0x4); /* 0x2B0953E2: mov edx, dword ptr [eax + 4] */ 16854 ecx = MEM32(esi + 0xC); /* 0x2B0953E5: mov ecx, dword ptr [esi + 0xc] */ 16855 eax = ebp + (-0x10); /* 0x2B0953E8: lea eax, [ebp - 0x10] */ 16856 PUSH32(esp, eax); /* 0x2B0953EB: push eax */ 16857 MEM32(ebp + (-0xC)) = edx; /* 0x2B0953EC: mov dword ptr [ebp - 0xc], edx */ 16858 RECOMP_ICALL(MEM32(0x2B0B5B00)); /* 0x2B0953EF: call dword ptr [0x2b0b5b00] */ 16859 RECOMP_FLAGS_IN(); 16860 ecx = MEM32(esi + 0x20); /* 0x2B0953F5: mov ecx, dword ptr [esi + 0x20] */ 16861 edx = MEM32(ecx); /* 0x2B0953F8: mov edx, dword ptr [ecx] */ 16862 eax = ebp + (-0x10); /* 0x2B0953FA: lea eax, [ebp - 0x10] */ 16863 PUSH32(esp, eax); /* 0x2B0953FD: push eax */ 16864 RECOMP_ICALL(MEM32(edx + 0x14)); /* 0x2B0953FE: call dword ptr [edx + 0x14] */ 16865 RECOMP_FLAGS_IN(); 16866 ecx = MEM32(esi + 0x10); /* 0x2B095401: mov ecx, dword ptr [esi + 0x10] */ 16867 edi = MEM32(ecx + 0x34); /* 0x2B095404: mov edi, dword ptr [ecx + 0x34] */ 16868 edx = MEM32(ebx); /* 0x2B095407: mov edx, dword ptr [ebx] */ 16869 eax = MEM32(esi + 0x9C); /* 0x2B095409: mov eax, dword ptr [esi + 0x9c] */ 16870 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 16871 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16872 edx = edx - edi; /* 0x2B09540F: sub edx, edi */ 16873 _flag_k = FK_CMP; 16874 edi = MEM32(0x2B0B5BB8); /* 0x2B095411: mov edi, dword ptr [0x2b0b5bb8] */ 16875 edx = edx + eax + (-0x6); /* 0x2B095417: lea edx, [edx + eax - 6] */ 16876 eax = MEM32(esi + 0x98); /* 0x2B09541B: mov eax, dword ptr [esi + 0x98] */ 16877 MEM32(ebp + (-0x8)) = edx; /* 0x2B095421: mov dword ptr [ebp - 8], edx */ 16878 edx = ebp + (-0x8); /* 0x2B095424: lea edx, [ebp - 8] */ 16879 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 16880 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16881 eax = eax + 2; /* 0x2B095427: add eax, 2 */ 16882 _flag_k = FK_ADD; 16883 PUSH32(esp, edx); /* 0x2B09542A: push edx */ 16884 MEM32(ebp + (-0x4)) = eax; /* 0x2B09542B: mov dword ptr [ebp - 4], eax */ 16885 RECOMP_ICALL(edi); /* 0x2B09542E: call edi */ 16886 RECOMP_FLAGS_IN(); 16887 eax = MEM32(esi + 0x10); /* 0x2B095430: mov eax, dword ptr [esi + 0x10] */ 16888 ecx = MEM32(eax + 0x34); /* 0x2B095433: mov ecx, dword ptr [eax + 0x34] */ 16889 edx = MEM32(ebp + (-0x8)); /* 0x2B095436: mov edx, dword ptr [ebp - 8] */ 16890 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 16891 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16892 edx = edx - ecx; /* 0x2B095439: sub edx, ecx */ 16893 _flag_k = FK_CMP; 16894 ecx = MEM32(esi + 0x18); /* 0x2B09543B: mov ecx, dword ptr [esi + 0x18] */ 16895 MEM32(ebp + (-0x8)) = edx; /* 0x2B09543E: mov dword ptr [ebp - 8], edx */ 16896 edx = ebp + (-0x8); /* 0x2B095441: lea edx, [ebp - 8] */ 16897 PUSH32(esp, edx); /* 0x2B095444: push edx */ 16898 RECOMP_ICALL(edi); /* 0x2B095445: call edi */ 16899 RECOMP_FLAGS_IN(); 16900 ecx = MEM32(ebp + (-0xC)); /* 0x2B095447: mov ecx, dword ptr [ebp - 0xc] */ 16901 eax = MEM32(ebp + (-0x10)); /* 0x2B09544A: mov eax, dword ptr [ebp - 0x10] */ 16902 edx = ebp + (-0x8); /* 0x2B09544D: lea edx, [ebp - 8] */ 16903 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 16904 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16905 eax = eax + 2; /* 0x2B095450: add eax, 2 */ 16906 _flag_k = FK_ADD; 16907 MEM32(ebp + (-0x4)) = ecx; /* 0x2B095453: mov dword ptr [ebp - 4], ecx */ 16908 ecx = MEM32(esi + 0x24); /* 0x2B095456: mov ecx, dword ptr [esi + 0x24] */ 16909 PUSH32(esp, edx); /* 0x2B095459: push edx */ 16910 MEM32(ebp + (-0x8)) = eax; /* 0x2B09545A: mov dword ptr [ebp - 8], eax */ 16911 RECOMP_ICALL(MEM32(0x2B0B5A08)); /* 0x2B09545D: call dword ptr [0x2b0b5a08] */ 16912 RECOMP_FLAGS_IN(); 16913 eax = MEM32(esi + 0x90); /* 0x2B095463: mov eax, dword ptr [esi + 0x90] */ 16914 PUSH32(esp, eax); /* 0x2B095469: push eax */ 16915 ecx = esi; /* 0x2B09546A: mov ecx, esi */ 16916 RECOMP_ICALL(0x2B0958D0u); /* 0x2B09546C: call 0x2b0958d0 */ /* not lifted */ 16917 RECOMP_FLAGS_IN(); 16918 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0xC))); 16919 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16920 eax = eax + MEM32(ebp + (-0xC)); /* 0x2B095471: add eax, dword ptr [ebp - 0xc] */ 16921 _flag_k = FK_ADD; 16922 ecx = ebp + (-0x8); /* 0x2B095474: lea ecx, [ebp - 8] */ 16923 PUSH32(esp, ecx); /* 0x2B095477: push ecx */ 16924 ecx = MEM32(esi + 0x2C); /* 0x2B095478: mov ecx, dword ptr [esi + 0x2c] */ 16925 MEM32(ebp + (-0x4)) = eax; /* 0x2B09547B: mov dword ptr [ebp - 4], eax */ 16926 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B09547E: call dword ptr [0x2b0b5640] */ 16927 RECOMP_FLAGS_IN(); 16928 ecx = MEM32(esi + 0x30); /* 0x2B095484: mov ecx, dword ptr [esi + 0x30] */ 16929 edx = MEM32(ecx); /* 0x2B095487: mov edx, dword ptr [ecx] */ 16930 eax = ebp + (-0x8); /* 0x2B095489: lea eax, [ebp - 8] */ 16931 PUSH32(esp, eax); /* 0x2B09548C: push eax */ 16932 RECOMP_ICALL(MEM32(edx + 0x14)); /* 0x2B09548D: call dword ptr [edx + 0x14] */ 16933 RECOMP_FLAGS_IN(); 16934 edi = MEM32(ebp + (-0x4)); /* 0x2B095490: mov edi, dword ptr [ebp - 4] */ 16935 ecx = ebp + (-0x28); /* 0x2B095493: lea ecx, [ebp - 0x28] */ 16936 PUSH32(esp, ecx); /* 0x2B095496: push ecx */ 16937 ecx = MEM32(esi + 0x28); /* 0x2B095497: mov ecx, dword ptr [esi + 0x28] */ 16938 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4); 16939 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16940 edi = edi + 4; /* 0x2B09549A: add edi, 4 */ 16941 _flag_k = FK_ADD; 16942 MEM32(ebp + (-0x4)) = edi; /* 0x2B09549D: mov dword ptr [ebp - 4], edi */ 16943 RECOMP_ICALL(MEM32(0x2B0B57F4)); /* 0x2B0954A0: call dword ptr [0x2b0b57f4] */ 16944 RECOMP_FLAGS_IN(); 16945 ecx = MEM32(esi + 0x8); /* 0x2B0954A6: mov ecx, dword ptr [esi + 8] */ 16946 edx = ebp + (-0x18); /* 0x2B0954A9: lea edx, [ebp - 0x18] */ 16947 PUSH32(esp, edx); /* 0x2B0954AC: push edx */ 16948 edi = eax; /* 0x2B0954AD: mov edi, eax */ 16949 RECOMP_ICALL(MEM32(0x2B0B59FC)); /* 0x2B0954AF: call dword ptr [0x2b0b59fc] */ 16950 RECOMP_FLAGS_IN(); 16951 eax = MEM32(eax + 0x4); /* 0x2B0954B5: mov eax, dword ptr [eax + 4] */ 16952 ecx = MEM32(edi + 0x4); /* 0x2B0954B8: mov ecx, dword ptr [edi + 4] */ 16953 edi = MEM32(ebp + (-0xC)); /* 0x2B0954BB: mov edi, dword ptr [ebp - 0xc] */ 16954 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 16955 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16956 eax = eax - ecx; /* 0x2B0954BE: sub eax, ecx */ 16957 _flag_k = FK_CMP; 16958 ecx = ebp + (-0x8); /* 0x2B0954C0: lea ecx, [ebp - 8] */ 16959 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 16960 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16961 eax = eax + edi; /* 0x2B0954C3: add eax, edi */ 16962 _flag_k = FK_ADD; 16963 PUSH32(esp, ecx); /* 0x2B0954C5: push ecx */ 16964 ecx = MEM32(esi + 0x28); /* 0x2B0954C6: mov ecx, dword ptr [esi + 0x28] */ 16965 MEM32(ebp + (-0x4)) = eax; /* 0x2B0954C9: mov dword ptr [ebp - 4], eax */ 16966 RECOMP_ICALL(MEM32(0x2B0B5A08)); /* 0x2B0954CC: call dword ptr [0x2b0b5a08] */ 16967 RECOMP_FLAGS_IN(); 16968 edx = MEM32(ebx); /* 0x2B0954D2: mov edx, dword ptr [ebx] */ 16969 ecx = MEM32(esi + 0xA0); /* 0x2B0954D4: mov ecx, dword ptr [esi + 0xa0] */ 16970 eax = MEM32(ebx + 0x4); /* 0x2B0954DA: mov eax, dword ptr [ebx + 4] */ 16971 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 16972 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16973 eax = eax + ecx; /* 0x2B0954DD: add eax, ecx */ 16974 _flag_k = FK_ADD; 16975 ecx = MEM32(esi + 0x34); /* 0x2B0954DF: mov ecx, dword ptr [esi + 0x34] */ 16976 MEM32(ebp + (-0x20)) = edx; /* 0x2B0954E2: mov dword ptr [ebp - 0x20], edx */ 16977 edx = ebp + (-0x20); /* 0x2B0954E5: lea edx, [ebp - 0x20] */ 16978 MEM32(ebp + (-0x1C)) = eax; /* 0x2B0954E8: mov dword ptr [ebp - 0x1c], eax */ 16979 eax = MEM32(ecx); /* 0x2B0954EB: mov eax, dword ptr [ecx] */ 16980 PUSH32(esp, edx); /* 0x2B0954ED: push edx */ 16981 RECOMP_ICALL(MEM32(eax + 0x4)); /* 0x2B0954EE: call dword ptr [eax + 4] */ 16982 RECOMP_FLAGS_IN(); 16983 edi = MEM32(esi + 0x38); /* 0x2B0954F1: mov edi, dword ptr [esi + 0x38] */ 16984 /* test edi, edi */ /* 0x2B0954F4: test edi, edi */ 16985 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16986 _cf = 0; 16987 _flag_k = FK_TEST; 16988 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09558D; /* 0x2B0954F6: je 0x2b09558d */ 16989 L_2B0954FC: 16990 eax = MEM32(ebx); /* 0x2B0954FC: mov eax, dword ptr [ebx] */ 16991 ecx = MEM32(esi + 0x9C); /* 0x2B0954FE: mov ecx, dword ptr [esi + 0x9c] */ 16992 ebx = MEM32(ebx + 0x4); /* 0x2B095504: mov ebx, dword ptr [ebx + 4] */ 16993 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 16994 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16995 eax = eax + ecx; /* 0x2B095507: add eax, ecx */ 16996 _flag_k = FK_ADD; 16997 ecx = MEM32(edi); /* 0x2B095509: mov ecx, dword ptr [edi] */ 16998 MEM32(ebp + (-0x18)) = eax; /* 0x2B09550B: mov dword ptr [ebp - 0x18], eax */ 16999 eax = ebp + (-0x18); /* 0x2B09550E: lea eax, [ebp - 0x18] */ 17000 PUSH32(esp, eax); /* 0x2B095511: push eax */ 17001 MEM32(ebp + (-0x14)) = ebx; /* 0x2B095512: mov dword ptr [ebp - 0x14], ebx */ 17002 RECOMP_ICALL(MEM32(0x2B0B5BB8)); /* 0x2B095515: call dword ptr [0x2b0b5bb8] */ 17003 RECOMP_FLAGS_IN(); 17004 edx = MEM32(edi + 0x4); /* 0x2B09551B: mov edx, dword ptr [edi + 4] */ 17005 ecx = 7; /* 0x2B09551E: mov ecx, 7 */ 17006 eax = 0x17u; /* 0x2B095523: mov eax, 0x17 */ 17007 MEM32(ebp + (-0x18)) = ecx; /* 0x2B095528: mov dword ptr [ebp - 0x18], ecx */ 17008 MEM32(ebp + (-0x14)) = eax; /* 0x2B09552B: mov dword ptr [ebp - 0x14], eax */ 17009 MEM8(edx + 0x9) = (uint8_t)(1); /* 0x2B09552E: mov byte ptr [edx + 9], 1 */ 17010 MEM32(ebp + (-0x24)) = eax; /* 0x2B095532: mov dword ptr [ebp - 0x24], eax */ 17011 eax = ebp + (-0x28); /* 0x2B095535: lea eax, [ebp - 0x28] */ 17012 MEM32(ebp + (-0x28)) = ecx; /* 0x2B095538: mov dword ptr [ebp - 0x28], ecx */ 17013 ecx = MEM32(edi + 0x8); /* 0x2B09553B: mov ecx, dword ptr [edi + 8] */ 17014 PUSH32(esp, eax); /* 0x2B09553E: push eax */ 17015 RECOMP_ICALL(MEM32(0x2B0B58E0)); /* 0x2B09553F: call dword ptr [0x2b0b58e0] */ 17016 RECOMP_FLAGS_IN(); 17017 ecx = MEM32(edi + 0x8); /* 0x2B095545: mov ecx, dword ptr [edi + 8] */ 17018 PUSH32(esp, 0); /* 0x2B095548: push 0 */ 17019 RECOMP_ICALL(MEM32(0x2B0B58E4)); /* 0x2B09554A: call dword ptr [0x2b0b58e4] */ 17020 RECOMP_FLAGS_IN(); 17021 ecx = MEM32(edi + 0x1C); /* 0x2B095550: mov ecx, dword ptr [edi + 0x1c] */ 17022 ebx = MEM32(0x2B0B5960); /* 0x2B095553: mov ebx, dword ptr [0x2b0b5960] */ 17023 RECOMP_ICALL(ebx); /* 0x2B095559: call ebx */ 17024 RECOMP_FLAGS_IN(); 17025 ecx = MEM32(edi + 0x20); /* 0x2B09555B: mov ecx, dword ptr [edi + 0x20] */ 17026 RECOMP_ICALL(ebx); /* 0x2B09555E: call ebx */ 17027 RECOMP_FLAGS_IN(); 17028 ecx = MEM32(edi + 0x10); /* 0x2B095560: mov ecx, dword ptr [edi + 0x10] */ 17029 MEM8(ecx + 0x9) = (uint8_t)(1); /* 0x2B095563: mov byte ptr [ecx + 9], 1 */ 17030 edx = MEM32(edi + 0x14); /* 0x2B095567: mov edx, dword ptr [edi + 0x14] */ 17031 MEM8(edx + 0x9) = (uint8_t)(1); /* 0x2B09556A: mov byte ptr [edx + 9], 1 */ 17032 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17033 eax = 0; /* 0x2B09556E: xor eax, eax */ 17034 _cf = 0; 17035 _flag_k = FK_TEST; 17036 L_2B095570: 17037 ecx = MEM32(edi + 0x28); /* 0x2B095570: mov ecx, dword ptr [edi + 0x28] */ 17038 /* test ecx, ecx */ /* 0x2B095573: test ecx, ecx */ 17039 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 17040 _cf = 0; 17041 _flag_k = FK_TEST; 17042 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09558D; /* 0x2B095575: je 0x2b09558d */ 17043 L_2B095577: 17044 edx = MEM32(edi + 0x2C); /* 0x2B095577: mov edx, dword ptr [edi + 0x2c] */ 17045 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 17046 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17047 edx = edx - ecx; /* 0x2B09557A: sub edx, ecx */ 17048 _flag_k = FK_CMP; 17049 if (2u) _cf = (((edx) >> 1) & 1u); /* 0x2B09557C: sar edx, 2 */ 17050 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17051 edx = (uint32_t)((int32_t)edx >> 2u); 17052 /* cmp eax, edx */ /* 0x2B09557F: cmp eax, edx */ 17053 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 17054 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17055 _flag_k = FK_CMP; 17056 if (CMP_AE(_flag_a, _flag_b)) goto L_2B09558D; /* 0x2B095581: jae 0x2b09558d */ 17057 L_2B095583: 17058 edx = MEM32(ecx + eax * 4); /* 0x2B095583: mov edx, dword ptr [ecx + eax*4] */ 17059 MEM8(edx + 0x9) = (uint8_t)(1); /* 0x2B095586: mov byte ptr [edx + 9], 1 */ 17060 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 17061 eax = eax + 1; /* 0x2B09558A: inc eax */ 17062 _flag_k = FK_INC; 17063 RECOMP_BACKEDGE(); 17064 goto L_2B095570; /* 0x2B09558B: jmp 0x2b095570 */ 17065 L_2B09558D: 17066 /* cmp MEM32(esi), 0 */ /* 0x2B09558D: cmp dword ptr [esi], 0 */ 17067 _flag_a = (uint32_t)(MEM32(esi)); _flag_b = (uint32_t)(0); 17068 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17069 _flag_k = FK_CMP; 17070 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0955B6; /* 0x2B095590: je 0x2b0955b6 */ 17071 L_2B095592: 17072 ecx = MEM32(esi + 0x8); /* 0x2B095592: mov ecx, dword ptr [esi + 8] */ 17073 eax = ebp + (-0x18); /* 0x2B095595: lea eax, [ebp - 0x18] */ 17074 PUSH32(esp, eax); /* 0x2B095598: push eax */ 17075 RECOMP_ICALL(MEM32(0x2B0B57EC)); /* 0x2B095599: call dword ptr [0x2b0b57ec] */ 17076 RECOMP_FLAGS_IN(); 17077 ecx = MEM32(eax); /* 0x2B09559F: mov ecx, dword ptr [eax] */ 17078 MEM32(ebp + (-0x28)) = ecx; /* 0x2B0955A1: mov dword ptr [ebp - 0x28], ecx */ 17079 edx = MEM32(eax + 0x4); /* 0x2B0955A4: mov edx, dword ptr [eax + 4] */ 17080 ecx = MEM32(esi); /* 0x2B0955A7: mov ecx, dword ptr [esi] */ 17081 eax = ebp + (-0x28); /* 0x2B0955A9: lea eax, [ebp - 0x28] */ 17082 PUSH32(esp, eax); /* 0x2B0955AC: push eax */ 17083 MEM32(ebp + (-0x24)) = edx; /* 0x2B0955AD: mov dword ptr [ebp - 0x24], edx */ 17084 RECOMP_ICALL(MEM32(0x2B0B5BB8)); /* 0x2B0955B0: call dword ptr [0x2b0b5bb8] */ 17085 RECOMP_FLAGS_IN(); 17086 L_2B0955B6: 17087 edi = POP32_VAL(esp); /* 0x2B0955B6: pop edi */ 17088 esi = POP32_VAL(esp); /* 0x2B0955B7: pop esi */ 17089 ebx = POP32_VAL(esp); /* 0x2B0955B8: pop ebx */ 17090 esp = ebp; /* 0x2B0955B9: mov esp, ebp */ 17091 ebp = POP32_VAL(esp); /* 0x2B0955BB: pop ebp */ 17092 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0955BC: ret 4 */ 17093 RECOMP_REGS_OUT(); 17094 } 17095 17096 void sub_2B0955C0(void) { 17097 int _fpu_cmp = 0; 17098 uint32_t _cf = 0; 17099 int _df = 1; 17100 uint32_t _flag_k = FK_NONE; 17101 uint32_t _flag_a = 0, _flag_b = 0; 17102 uint32_t _itail_tgt = 0; 17103 RECOMP_REGS_LOCALS 17104 RECOMP_ENTER(0x2B0955C0u); 17105 17106 L_2B0955C0: 17107 PUSH32(esp, ebp); /* 0x2B0955C0: push ebp */ 17108 ebp = esp; /* 0x2B0955C1: mov ebp, esp */ 17109 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0955C3: push -1 */ 17110 PUSH32(esp, 0x2B0B307Cu); /* 0x2B0955C5: push 0x2b0b307c */ 17111 eax = MEM32(FS_BASE + (0)); /* 0x2B0955CA: mov eax, dword ptr fs:[0] */ 17112 PUSH32(esp, eax); /* 0x2B0955D0: push eax */ 17113 MEM32(FS_BASE + (0)) = esp; /* 0x2B0955D1: mov dword ptr fs:[0], esp */ 17114 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x3Cu); 17115 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17116 esp = esp - 0x3Cu; /* 0x2B0955D8: sub esp, 0x3c */ 17117 _flag_k = FK_CMP; 17118 PUSH32(esp, esi); /* 0x2B0955DB: push esi */ 17119 PUSH32(esp, edi); /* 0x2B0955DC: push edi */ 17120 edi = MEM32(ebp + 0x8); /* 0x2B0955DD: mov edi, dword ptr [ebp + 8] */ 17121 eax = MEM32(edi); /* 0x2B0955E0: mov eax, dword ptr [edi] */ 17122 esi = ecx; /* 0x2B0955E2: mov esi, ecx */ 17123 MEM32(esi + 0x9C) = eax; /* 0x2B0955E4: mov dword ptr [esi + 0x9c], eax */ 17124 SET_LO8(eax, MEM8(esi + 0xA4)); /* 0x2B0955EA: mov al, byte ptr [esi + 0xa4] */ 17125 /* test LO8(eax), LO8(eax) */ /* 0x2B0955F0: test al, al */ 17126 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17127 _cf = 0; 17128 _flag_k = FK_NARROW(FK_TEST, 24); 17129 ecx = MEM32(edi + 0x4); /* 0x2B0955F2: mov ecx, dword ptr [edi + 4] */ 17130 MEM32(esi + 0xA0) = ecx; /* 0x2B0955F5: mov dword ptr [esi + 0xa0], ecx */ 17131 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0958AF; /* 0x2B0955FB: je 0x2b0958af */ 17132 L_2B095601: 17133 ecx = MEM32(esi + 0x8); /* 0x2B095601: mov ecx, dword ptr [esi + 8] */ 17134 PUSH32(esp, ebx); /* 0x2B095604: push ebx */ 17135 PUSH32(esp, edi); /* 0x2B095605: push edi */ 17136 RECOMP_ICALL(MEM32(0x2B0B59F8)); /* 0x2B095606: call dword ptr [0x2b0b59f8] */ 17137 RECOMP_FLAGS_IN(); 17138 ecx = MEM32(esi + 0x8); /* 0x2B09560C: mov ecx, dword ptr [esi + 8] */ 17139 edx = ebp + (-0x38); /* 0x2B09560F: lea edx, [ebp - 0x38] */ 17140 PUSH32(esp, edx); /* 0x2B095612: push edx */ 17141 RECOMP_ICALL(MEM32(0x2B0B59FC)); /* 0x2B095613: call dword ptr [0x2b0b59fc] */ 17142 RECOMP_FLAGS_IN(); 17143 ecx = MEM32(eax); /* 0x2B095619: mov ecx, dword ptr [eax] */ 17144 MEM32(ebp + (-0x20)) = ecx; /* 0x2B09561B: mov dword ptr [ebp - 0x20], ecx */ 17145 edx = MEM32(eax + 0x4); /* 0x2B09561E: mov edx, dword ptr [eax + 4] */ 17146 ecx = MEM32(esi + 0xC); /* 0x2B095621: mov ecx, dword ptr [esi + 0xc] */ 17147 eax = ebp + (-0x20); /* 0x2B095624: lea eax, [ebp - 0x20] */ 17148 PUSH32(esp, eax); /* 0x2B095627: push eax */ 17149 MEM32(ebp + (-0x1C)) = edx; /* 0x2B095628: mov dword ptr [ebp - 0x1c], edx */ 17150 RECOMP_ICALL(MEM32(0x2B0B5B04)); /* 0x2B09562B: call dword ptr [0x2b0b5b04] */ 17151 RECOMP_FLAGS_IN(); 17152 ecx = MEM32(esi + 0x20); /* 0x2B095631: mov ecx, dword ptr [esi + 0x20] */ 17153 edx = MEM32(ecx); /* 0x2B095634: mov edx, dword ptr [ecx] */ 17154 eax = ebp + (-0x20); /* 0x2B095636: lea eax, [ebp - 0x20] */ 17155 PUSH32(esp, eax); /* 0x2B095639: push eax */ 17156 RECOMP_ICALL(MEM32(edx + 0x18)); /* 0x2B09563A: call dword ptr [edx + 0x18] */ 17157 RECOMP_FLAGS_IN(); 17158 ecx = MEM32(ebp + (-0x20)); /* 0x2B09563D: mov ecx, dword ptr [ebp - 0x20] */ 17159 edi = MEM32(edi); /* 0x2B095640: mov edi, dword ptr [edi] */ 17160 edx = MEM32(esi + 0x8C); /* 0x2B095642: mov edx, dword ptr [esi + 0x8c] */ 17161 ebx = MEM32(ebp + (-0x1C)); /* 0x2B095648: mov ebx, dword ptr [ebp - 0x1c] */ 17162 MEM32(ebp + (-0x38)) = ecx; /* 0x2B09564B: mov dword ptr [ebp - 0x38], ecx */ 17163 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xCu); 17164 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17165 edi = edi - 0xCu; /* 0x2B09564E: sub edi, 0xc */ 17166 _flag_k = FK_CMP; 17167 PUSH32(esp, edx); /* 0x2B095651: push edx */ 17168 ecx = esi; /* 0x2B095652: mov ecx, esi */ 17169 MEM32(ebp + (-0x38)) = edi; /* 0x2B095654: mov dword ptr [ebp - 0x38], edi */ 17170 RECOMP_ICALL(0x2B0958D0u); /* 0x2B095657: call 0x2b0958d0 */ /* not lifted */ 17171 RECOMP_FLAGS_IN(); 17172 ecx = MEM32(esi + 0x24); /* 0x2B09565C: mov ecx, dword ptr [esi + 0x24] */ 17173 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 17174 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17175 ebx = ebx - eax; /* 0x2B09565F: sub ebx, eax */ 17176 _flag_k = FK_CMP; 17177 MEM32(ebp + (-0x2C)) = eax; /* 0x2B095661: mov dword ptr [ebp - 0x2c], eax */ 17178 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(4); 17179 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17180 ebx = ebx - 4; /* 0x2B095664: sub ebx, 4 */ 17181 _flag_k = FK_CMP; 17182 eax = ebp + (-0x30); /* 0x2B095667: lea eax, [ebp - 0x30] */ 17183 MEM32(ebp + (-0x3C)) = ebx; /* 0x2B09566A: mov dword ptr [ebp - 0x3c], ebx */ 17184 ebx = MEM32(0x2B0B57D4); /* 0x2B09566D: mov ebx, dword ptr [0x2b0b57d4] */ 17185 PUSH32(esp, eax); /* 0x2B095673: push eax */ 17186 MEM32(ebp + (-0x30)) = edi; /* 0x2B095674: mov dword ptr [ebp - 0x30], edi */ 17187 MEM32(ebp + (-0x40)) = edi; /* 0x2B095677: mov dword ptr [ebp - 0x40], edi */ 17188 RECOMP_ICALL(ebx); /* 0x2B09567A: call ebx */ 17189 RECOMP_FLAGS_IN(); 17190 fp_push((double)(int32_t)MEM32(ebp + (-0x38))); /* 0x2B09567C: fild dword ptr [ebp - 0x38] */ 17191 ecx = MEM32(esi + 0x2C); /* 0x2B09567F: mov ecx, dword ptr [esi + 0x2c] */ 17192 MEM32(ebp + (-0x10)) = 0x3F800000u; /* 0x2B095682: mov dword ptr [ebp - 0x10], 0x3f800000 */ 17193 eax = MEM32(ecx + 0x28); /* 0x2B095689: mov eax, dword ptr [ecx + 0x28] */ 17194 edx = MEM32(eax + 0xC); /* 0x2B09568C: mov edx, dword ptr [eax + 0xc] */ 17195 MEM32(ebp + 0x8) = edx; /* 0x2B09568F: mov dword ptr [ebp + 8], edx */ 17196 _st[0] = _st[0] / (double)(int32_t)MEM32(ebp + 0x8); /* 0x2B095692: fidiv dword ptr [ebp + 8] */ 17197 eax = ebp + (-0x10); /* 0x2B095695: lea eax, [ebp - 0x10] */ 17198 PUSH32(esp, eax); /* 0x2B095698: push eax */ 17199 edx = ebp + 0x8; /* 0x2B095699: lea edx, [ebp + 8] */ 17200 PUSH32(esp, edx); /* 0x2B09569C: push edx */ 17201 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x8) = _v; } /* 0x2B09569D: fstp dword ptr [ebp + 8] */ 17202 RECOMP_ICALL(MEM32(0x2B0B5658)); /* 0x2B0956A0: call dword ptr [0x2b0b5658] */ 17203 RECOMP_FLAGS_IN(); 17204 ecx = MEM32(esi + 0x30); /* 0x2B0956A6: mov ecx, dword ptr [esi + 0x30] */ 17205 edx = ebp + (-0x38); /* 0x2B0956A9: lea edx, [ebp - 0x38] */ 17206 MEM32(ebp + (-0x38)) = edi; /* 0x2B0956AC: mov dword ptr [ebp - 0x38], edi */ 17207 MEM32(ebp + (-0x34)) = 4; /* 0x2B0956AF: mov dword ptr [ebp - 0x34], 4 */ 17208 eax = MEM32(ecx); /* 0x2B0956B6: mov eax, dword ptr [ecx] */ 17209 PUSH32(esp, edx); /* 0x2B0956B8: push edx */ 17210 RECOMP_ICALL(MEM32(eax + 0x18)); /* 0x2B0956B9: call dword ptr [eax + 0x18] */ 17211 RECOMP_FLAGS_IN(); 17212 ecx = MEM32(esi + 0x28); /* 0x2B0956BC: mov ecx, dword ptr [esi + 0x28] */ 17213 eax = ebp + (-0x40); /* 0x2B0956BF: lea eax, [ebp - 0x40] */ 17214 PUSH32(esp, eax); /* 0x2B0956C2: push eax */ 17215 RECOMP_ICALL(ebx); /* 0x2B0956C3: call ebx */ 17216 RECOMP_FLAGS_IN(); 17217 ecx = MEM32(0x2B0B5BCC); /* 0x2B0956C5: mov ecx, dword ptr [0x2b0b5bcc] */ 17218 /* cmp MEM32(ecx), 0 */ /* 0x2B0956CB: cmp dword ptr [ecx], 0 */ 17219 _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(0); 17220 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17221 _flag_k = FK_CMP; 17222 if (CMP_NE(_flag_a, _flag_b)) goto L_2B095703; /* 0x2B0956CE: jne 0x2b095703 */ 17223 L_2B0956D0: 17224 PUSH32(esp, 0x20u); /* 0x2B0956D0: push 0x20 */ 17225 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0956D2: call 0x2b0ab212 */ /* not lifted */ 17226 RECOMP_FLAGS_IN(); 17227 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17228 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17229 esp = esp + 4; /* 0x2B0956D7: add esp, 4 */ 17230 _flag_k = FK_ADD; 17231 MEM32(ebp + 0x8) = eax; /* 0x2B0956DA: mov dword ptr [ebp + 8], eax */ 17232 /* test eax, eax */ /* 0x2B0956DD: test eax, eax */ 17233 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 17234 _cf = 0; 17235 _flag_k = FK_TEST; 17236 MEM32(ebp + (-0x4)) = 0; /* 0x2B0956DF: mov dword ptr [ebp - 4], 0 */ 17237 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0956F2; /* 0x2B0956E6: je 0x2b0956f2 */ 17238 L_2B0956E8: 17239 ecx = eax; /* 0x2B0956E8: mov ecx, eax */ 17240 RECOMP_ICALL(MEM32(0x2B0B5BD0)); /* 0x2B0956EA: call dword ptr [0x2b0b5bd0] */ 17241 RECOMP_FLAGS_IN(); 17242 goto L_2B0956F4; /* 0x2B0956F0: jmp 0x2b0956f4 */ 17243 L_2B0956F2: 17244 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17245 eax = 0; /* 0x2B0956F2: xor eax, eax */ 17246 _cf = 0; 17247 _flag_k = FK_TEST; 17248 L_2B0956F4: 17249 edx = MEM32(0x2B0B5BCC); /* 0x2B0956F4: mov edx, dword ptr [0x2b0b5bcc] */ 17250 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B0956FA: mov dword ptr [ebp - 4], 0xffffffff */ 17251 MEM32(edx) = eax; /* 0x2B095701: mov dword ptr [edx], eax */ 17252 L_2B095703: 17253 eax = MEM32(0x2B0B5BCC); /* 0x2B095703: mov eax, dword ptr [0x2b0b5bcc] */ 17254 edx = MEM32(esi + 0x28); /* 0x2B095708: mov edx, dword ptr [esi + 0x28] */ 17255 ecx = MEM32(eax); /* 0x2B09570B: mov ecx, dword ptr [eax] */ 17256 ebx = MEM32(0x2B0B5B94); /* 0x2B09570D: mov ebx, dword ptr [0x2b0b5b94] */ 17257 edi = MEM32(edx + 0x20); /* 0x2B095713: mov edi, dword ptr [edx + 0x20] */ 17258 PUSH32(esp, 0x10u); /* 0x2B095716: push 0x10 */ 17259 RECOMP_ICALL(ebx); /* 0x2B095718: call ebx */ 17260 RECOMP_FLAGS_IN(); 17261 PUSH32(esp, eax); /* 0x2B09571A: push eax */ 17262 ecx = edi; /* 0x2B09571B: mov ecx, edi */ 17263 RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B09571D: call dword ptr [0x2b0b5858] */ 17264 RECOMP_FLAGS_IN(); 17265 eax = MEM32(0x2B0B5BCC); /* 0x2B095723: mov eax, dword ptr [0x2b0b5bcc] */ 17266 ecx = MEM32(eax); /* 0x2B095728: mov ecx, dword ptr [eax] */ 17267 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17268 edi = 0; /* 0x2B09572A: xor edi, edi */ 17269 _cf = 0; 17270 _flag_k = FK_TEST; 17271 /* cmp ecx, edi */ /* 0x2B09572C: cmp ecx, edi */ 17272 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 17273 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17274 _flag_k = FK_CMP; 17275 if (CMP_NE(_flag_a, _flag_b)) goto L_2B095763; /* 0x2B09572E: jne 0x2b095763 */ 17276 L_2B095730: 17277 PUSH32(esp, 0x20u); /* 0x2B095730: push 0x20 */ 17278 RECOMP_ICALL(0x2B0AB212u); /* 0x2B095732: call 0x2b0ab212 */ /* not lifted */ 17279 RECOMP_FLAGS_IN(); 17280 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17281 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17282 esp = esp + 4; /* 0x2B095737: add esp, 4 */ 17283 _flag_k = FK_ADD; 17284 MEM32(ebp + 0x8) = eax; /* 0x2B09573A: mov dword ptr [ebp + 8], eax */ 17285 /* cmp eax, edi */ /* 0x2B09573D: cmp eax, edi */ 17286 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 17287 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17288 _flag_k = FK_CMP; 17289 MEM32(ebp + (-0x4)) = 1; /* 0x2B09573F: mov dword ptr [ebp - 4], 1 */ 17290 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B095752; /* 0x2B095746: je 0x2b095752 */ 17291 L_2B095748: 17292 ecx = eax; /* 0x2B095748: mov ecx, eax */ 17293 RECOMP_ICALL(MEM32(0x2B0B5BD0)); /* 0x2B09574A: call dword ptr [0x2b0b5bd0] */ 17294 RECOMP_FLAGS_IN(); 17295 goto L_2B095754; /* 0x2B095750: jmp 0x2b095754 */ 17296 L_2B095752: 17297 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17298 eax = 0; /* 0x2B095752: xor eax, eax */ 17299 _cf = 0; 17300 _flag_k = FK_TEST; 17301 L_2B095754: 17302 ecx = MEM32(0x2B0B5BCC); /* 0x2B095754: mov ecx, dword ptr [0x2b0b5bcc] */ 17303 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B09575A: mov dword ptr [ebp - 4], 0xffffffff */ 17304 MEM32(ecx) = eax; /* 0x2B095761: mov dword ptr [ecx], eax */ 17305 L_2B095763: 17306 edx = MEM32(0x2B0B5BCC); /* 0x2B095763: mov edx, dword ptr [0x2b0b5bcc] */ 17307 ecx = MEM32(edx); /* 0x2B095769: mov ecx, dword ptr [edx] */ 17308 PUSH32(esp, edi); /* 0x2B09576B: push edi */ 17309 PUSH32(esp, 0x10u); /* 0x2B09576C: push 0x10 */ 17310 RECOMP_ICALL(ebx); /* 0x2B09576E: call ebx */ 17311 RECOMP_FLAGS_IN(); 17312 ecx = MEM32(esi + 0x28); /* 0x2B095770: mov ecx, dword ptr [esi + 0x28] */ 17313 PUSH32(esp, eax); /* 0x2B095773: push eax */ 17314 RECOMP_ICALL(MEM32(0x2B0B57F8)); /* 0x2B095774: call dword ptr [0x2b0b57f8] */ 17315 RECOMP_FLAGS_IN(); 17316 ecx = MEM32(esi + 0x4); /* 0x2B09577A: mov ecx, dword ptr [esi + 4] */ 17317 /* cmp ecx, edi */ /* 0x2B09577D: cmp ecx, edi */ 17318 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 17319 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17320 _flag_k = FK_CMP; 17321 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B095787; /* 0x2B09577F: je 0x2b095787 */ 17322 L_2B095781: 17323 eax = MEM32(ecx); /* 0x2B095781: mov eax, dword ptr [ecx] */ 17324 PUSH32(esp, 1); /* 0x2B095783: push 1 */ 17325 RECOMP_ICALL(MEM32(eax)); /* 0x2B095785: call dword ptr [eax] */ 17326 RECOMP_FLAGS_IN(); 17327 L_2B095787: 17328 ebx = MEM32(esi); /* 0x2B095787: mov ebx, dword ptr [esi] */ 17329 /* cmp ebx, edi */ /* 0x2B095789: cmp ebx, edi */ 17330 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edi); 17331 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17332 _flag_k = FK_CMP; 17333 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09579E; /* 0x2B09578B: je 0x2b09579e */ 17334 L_2B09578D: 17335 ecx = ebx; /* 0x2B09578D: mov ecx, ebx */ 17336 RECOMP_ICALL(MEM32(0x2B0B5BC4)); /* 0x2B09578F: call dword ptr [0x2b0b5bc4] */ 17337 RECOMP_FLAGS_IN(); 17338 PUSH32(esp, ebx); /* 0x2B095795: push ebx */ 17339 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B095796: call 0x2b0ab1ba */ /* not lifted */ 17340 RECOMP_FLAGS_IN(); 17341 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17342 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17343 esp = esp + 4; /* 0x2B09579B: add esp, 4 */ 17344 _flag_k = FK_ADD; 17345 L_2B09579E: 17346 ecx = ebp + (-0x48); /* 0x2B09579E: lea ecx, [ebp - 0x48] */ 17347 PUSH32(esp, ecx); /* 0x2B0957A1: push ecx */ 17348 ecx = MEM32(esi + 0x8); /* 0x2B0957A2: mov ecx, dword ptr [esi + 8] */ 17349 RECOMP_ICALL(MEM32(0x2B0B57F0)); /* 0x2B0957A5: call dword ptr [0x2b0b57f0] */ 17350 RECOMP_FLAGS_IN(); 17351 edx = MEM32(eax); /* 0x2B0957AB: mov edx, dword ptr [eax] */ 17352 MEM32(ebp + (-0x28)) = edx; /* 0x2B0957AD: mov dword ptr [ebp - 0x28], edx */ 17353 eax = MEM32(eax + 0x4); /* 0x2B0957B0: mov eax, dword ptr [eax + 4] */ 17354 PUSH32(esp, 0x50u); /* 0x2B0957B3: push 0x50 */ 17355 MEM32(ebp + (-0x24)) = eax; /* 0x2B0957B5: mov dword ptr [ebp - 0x24], eax */ 17356 MEM32(ebp + (-0x18)) = edi; /* 0x2B0957B8: mov dword ptr [ebp - 0x18], edi */ 17357 MEM32(ebp + (-0x14)) = edi; /* 0x2B0957BB: mov dword ptr [ebp - 0x14], edi */ 17358 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0957BE: call 0x2b0ab212 */ /* not lifted */ 17359 RECOMP_FLAGS_IN(); 17360 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17361 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17362 esp = esp + 4; /* 0x2B0957C3: add esp, 4 */ 17363 _flag_k = FK_ADD; 17364 MEM32(ebp + 0x8) = eax; /* 0x2B0957C6: mov dword ptr [ebp + 8], eax */ 17365 /* cmp eax, edi */ /* 0x2B0957C9: cmp eax, edi */ 17366 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 17367 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17368 _flag_k = FK_CMP; 17369 MEM32(ebp + (-0x4)) = 2; /* 0x2B0957CB: mov dword ptr [ebp - 4], 2 */ 17370 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0957FF; /* 0x2B0957D2: je 0x2b0957ff */ 17371 L_2B0957D4: 17372 ecx = MEM32(esi + 0x84); /* 0x2B0957D4: mov ecx, dword ptr [esi + 0x84] */ 17373 PUSH32(esp, edi); /* 0x2B0957DA: push edi */ 17374 PUSH32(esp, 0x3F800000u); /* 0x2B0957DB: push 0x3f800000 */ 17375 PUSH32(esp, 0x3F800000u); /* 0x2B0957E0: push 0x3f800000 */ 17376 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 17377 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17378 ecx = ecx + 2; /* 0x2B0957E5: add ecx, 2 */ 17379 _flag_k = FK_ADD; 17380 PUSH32(esp, ecx); /* 0x2B0957E8: push ecx */ 17381 edx = ebp + (-0x18); /* 0x2B0957E9: lea edx, [ebp - 0x18] */ 17382 PUSH32(esp, edx); /* 0x2B0957EC: push edx */ 17383 ecx = ebp + (-0x28); /* 0x2B0957ED: lea ecx, [ebp - 0x28] */ 17384 PUSH32(esp, ecx); /* 0x2B0957F0: push ecx */ 17385 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0957F1: push -1 */ 17386 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0957F3: push -1 */ 17387 ecx = eax; /* 0x2B0957F5: mov ecx, eax */ 17388 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B0957F7: call dword ptr [0x2b0b5bd8] */ 17389 RECOMP_FLAGS_IN(); 17390 goto L_2B095801; /* 0x2B0957FD: jmp 0x2b095801 */ 17391 L_2B0957FF: 17392 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17393 eax = 0; /* 0x2B0957FF: xor eax, eax */ 17394 _cf = 0; 17395 _flag_k = FK_TEST; 17396 L_2B095801: 17397 PUSH32(esp, 1); /* 0x2B095801: push 1 */ 17398 MEM32(esi) = eax; /* 0x2B095803: mov dword ptr [esi], eax */ 17399 eax = MEM32(eax + 0x28); /* 0x2B095805: mov eax, dword ptr [eax + 0x28] */ 17400 PUSH32(esp, edi); /* 0x2B095808: push edi */ 17401 PUSH32(esp, edi); /* 0x2B095809: push edi */ 17402 ecx = eax; /* 0x2B09580A: mov ecx, eax */ 17403 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B09580C: mov dword ptr [ebp - 4], 0xffffffff */ 17404 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B095813: call dword ptr [0x2b0b564c] */ 17405 RECOMP_FLAGS_IN(); 17406 edi = MEM32(ebp + (-0x14)); /* 0x2B095819: mov edi, dword ptr [ebp - 0x14] */ 17407 ebx = 3; /* 0x2B09581C: mov ebx, 3 */ 17408 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 17409 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17410 edi = edi + ebx; /* 0x2B095821: add edi, ebx */ 17411 _flag_k = FK_ADD; 17412 PUSH32(esp, 0x50u); /* 0x2B095823: push 0x50 */ 17413 MEM32(ebp + (-0x14)) = edi; /* 0x2B095825: mov dword ptr [ebp - 0x14], edi */ 17414 RECOMP_ICALL(0x2B0AB212u); /* 0x2B095828: call 0x2b0ab212 */ /* not lifted */ 17415 RECOMP_FLAGS_IN(); 17416 edi = eax; /* 0x2B09582D: mov edi, eax */ 17417 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17418 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17419 esp = esp + 4; /* 0x2B09582F: add esp, 4 */ 17420 _flag_k = FK_ADD; 17421 MEM32(ebp + 0x8) = edi; /* 0x2B095832: mov dword ptr [ebp + 8], edi */ 17422 /* test edi, edi */ /* 0x2B095835: test edi, edi */ 17423 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 17424 _cf = 0; 17425 _flag_k = FK_TEST; 17426 MEM32(ebp + (-0x4)) = ebx; /* 0x2B095837: mov dword ptr [ebp - 4], ebx */ 17427 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09586E; /* 0x2B09583A: je 0x2b09586e */ 17428 L_2B09583C: 17429 edx = MEM32(esi); /* 0x2B09583C: mov edx, dword ptr [esi] */ 17430 eax = MEM32(ebp + (-0x14)); /* 0x2B09583E: mov eax, dword ptr [ebp - 0x14] */ 17431 ecx = MEM32(ebp + (-0x18)); /* 0x2B095841: mov ecx, dword ptr [ebp - 0x18] */ 17432 PUSH32(esp, edx); /* 0x2B095844: push edx */ 17433 edx = MEM32(esi + 0x84); /* 0x2B095845: mov edx, dword ptr [esi + 0x84] */ 17434 PUSH32(esp, 0x800u); /* 0x2B09584B: push 0x800 */ 17435 PUSH32(esp, eax); /* 0x2B095850: push eax */ 17436 PUSH32(esp, ecx); /* 0x2B095851: push ecx */ 17437 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(2); 17438 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17439 edx = edx + 2; /* 0x2B095852: add edx, 2 */ 17440 _flag_k = FK_ADD; 17441 PUSH32(esp, edx); /* 0x2B095855: push edx */ 17442 eax = esi + 0x44; /* 0x2B095856: lea eax, [esi + 0x44] */ 17443 PUSH32(esp, eax); /* 0x2B095859: push eax */ 17444 PUSH32(esp, 2); /* 0x2B09585A: push 2 */ 17445 ecx = edi; /* 0x2B09585C: mov ecx, edi */ 17446 RECOMP_ICALL(MEM32(0x2B0B59BC)); /* 0x2B09585E: call dword ptr [0x2b0b59bc] */ 17447 RECOMP_FLAGS_IN(); 17448 MEM32(edi) = 0x2B0B6878u; /* 0x2B095864: mov dword ptr [edi], 0x2b0b6878 */ 17449 ecx = edi; /* 0x2B09586A: mov ecx, edi */ 17450 goto L_2B095870; /* 0x2B09586C: jmp 0x2b095870 */ 17451 L_2B09586E: 17452 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17453 ecx = 0; /* 0x2B09586E: xor ecx, ecx */ 17454 _cf = 0; 17455 _flag_k = FK_TEST; 17456 L_2B095870: 17457 PUSH32(esp, 0x003CD2FFu); /* 0x2B095870: push 0x3cd2ff */ 17458 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B095875: mov dword ptr [ebp - 4], 0xffffffff */ 17459 MEM32(esi + 0x4) = ecx; /* 0x2B09587C: mov dword ptr [esi + 4], ecx */ 17460 RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B09587F: call dword ptr [0x2b0b5858] */ 17461 RECOMP_FLAGS_IN(); 17462 ebx = MEM32(esi + 0x4); /* 0x2B095885: mov ebx, dword ptr [esi + 4] */ 17463 ebx = MEM32(ebx + 0x34); /* 0x2B095888: mov ebx, dword ptr [ebx + 0x34] */ 17464 edx = MEM32(ebp + (-0x28)); /* 0x2B09588B: mov edx, dword ptr [ebp - 0x28] */ 17465 edi = MEM32(ebp + (-0x24)); /* 0x2B09588E: mov edi, dword ptr [ebp - 0x24] */ 17466 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17467 eax = 0; /* 0x2B095891: xor eax, eax */ 17468 _cf = 0; 17469 _flag_k = FK_TEST; 17470 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17471 ecx = 0; /* 0x2B095893: xor ecx, ecx */ 17472 _cf = 0; 17473 _flag_k = FK_TEST; 17474 MEM32(ebx) = eax; /* 0x2B095895: mov dword ptr [ebx], eax */ 17475 MEM32(ebx + 0x4) = ecx; /* 0x2B095897: mov dword ptr [ebx + 4], ecx */ 17476 ecx = esi + 0x94; /* 0x2B09589A: lea ecx, [esi + 0x94] */ 17477 MEM32(ebx + 0x8) = edx; /* 0x2B0958A0: mov dword ptr [ebx + 8], edx */ 17478 PUSH32(esp, ecx); /* 0x2B0958A3: push ecx */ 17479 ecx = esi; /* 0x2B0958A4: mov ecx, esi */ 17480 MEM32(ebx + 0xC) = edi; /* 0x2B0958A6: mov dword ptr [ebx + 0xc], edi */ 17481 RECOMP_ICALL(0x2B095320u); /* 0x2B0958A9: call 0x2b095320 */ /* not lifted */ 17482 RECOMP_FLAGS_IN(); 17483 ebx = POP32_VAL(esp); /* 0x2B0958AE: pop ebx */ 17484 L_2B0958AF: 17485 ecx = MEM32(ebp + (-0xC)); /* 0x2B0958AF: mov ecx, dword ptr [ebp - 0xc] */ 17486 edi = POP32_VAL(esp); /* 0x2B0958B2: pop edi */ 17487 esi = POP32_VAL(esp); /* 0x2B0958B3: pop esi */ 17488 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0958B4: mov dword ptr fs:[0], ecx */ 17489 esp = ebp; /* 0x2B0958BB: mov esp, ebp */ 17490 ebp = POP32_VAL(esp); /* 0x2B0958BD: pop ebp */ 17491 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0958BE: ret 4 */ 17492 RECOMP_REGS_OUT(); 17493 } 17494 17495 void sub_2B0958D0(void) { 17496 int _fpu_cmp = 0; 17497 uint32_t _cf = 0; 17498 int _df = 1; 17499 uint32_t _flag_k = FK_NONE; 17500 uint32_t _flag_a = 0, _flag_b = 0; 17501 uint32_t _itail_tgt = 0; 17502 RECOMP_REGS_LOCALS 17503 RECOMP_ENTER(0x2B0958D0u); 17504 17505 L_2B0958D0: 17506 PUSH32(esp, ebp); /* 0x2B0958D0: push ebp */ 17507 ebp = esp; /* 0x2B0958D1: mov ebp, esp */ 17508 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 17509 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17510 esp = esp - 0x10u; /* 0x2B0958D3: sub esp, 0x10 */ 17511 _flag_k = FK_CMP; 17512 ecx = MEM32(ecx + 0x8); /* 0x2B0958D6: mov ecx, dword ptr [ecx + 8] */ 17513 eax = ebp + (-0x10); /* 0x2B0958D9: lea eax, [ebp - 0x10] */ 17514 PUSH32(esp, eax); /* 0x2B0958DC: push eax */ 17515 RECOMP_ICALL(MEM32(0x2B0B59FC)); /* 0x2B0958DD: call dword ptr [0x2b0b59fc] */ 17516 RECOMP_FLAGS_IN(); 17517 ecx = MEM32(eax); /* 0x2B0958E3: mov ecx, dword ptr [eax] */ 17518 edx = MEM32(eax + 0x4); /* 0x2B0958E5: mov edx, dword ptr [eax + 4] */ 17519 MEM32(ebp + (-0x4)) = edx; /* 0x2B0958E8: mov dword ptr [ebp - 4], edx */ 17520 fp_push((double)(int32_t)MEM32(ebp + (-0x4))); /* 0x2B0958EB: fild dword ptr [ebp - 4] */ 17521 MEM32(ebp + (-0x8)) = ecx; /* 0x2B0958EE: mov dword ptr [ebp - 8], ecx */ 17522 _st[0] *= (double)*(float*)ADDR(ebp + 0x8); /* 0x2B0958F1: fmul dword ptr [ebp + 8] */ 17523 RECOMP_ICALL(0x2B0AB220u); /* 0x2B0958F4: call 0x2b0ab220 */ /* not lifted */ 17524 RECOMP_FLAGS_IN(); 17525 esp = ebp; /* 0x2B0958F9: mov esp, ebp */ 17526 ebp = POP32_VAL(esp); /* 0x2B0958FB: pop ebp */ 17527 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0958FC: ret 4 */ 17528 RECOMP_REGS_OUT(); 17529 } 17530 17531 void sub_2B095900(void) { 17532 int _fpu_cmp = 0; 17533 uint32_t _cf = 0; 17534 int _df = 1; 17535 uint32_t _flag_k = FK_NONE; 17536 uint32_t _flag_a = 0, _flag_b = 0; 17537 uint32_t _itail_tgt = 0; 17538 RECOMP_REGS_LOCALS 17539 RECOMP_ENTER(0x2B095900u); 17540 17541 L_2B095900: 17542 PUSH32(esp, ebp); /* 0x2B095900: push ebp */ 17543 ebp = esp; /* 0x2B095901: mov ebp, esp */ 17544 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x38u); 17545 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17546 esp = esp - 0x38u; /* 0x2B095903: sub esp, 0x38 */ 17547 _flag_k = FK_CMP; 17548 PUSH32(esp, ebx); /* 0x2B095906: push ebx */ 17549 PUSH32(esp, esi); /* 0x2B095907: push esi */ 17550 PUSH32(esp, edi); /* 0x2B095908: push edi */ 17551 edi = MEM32(0x2B0B57FC); /* 0x2B095909: mov edi, dword ptr [0x2b0b57fc] */ 17552 esi = ecx; /* 0x2B09590F: mov esi, ecx */ 17553 ecx = MEM32(esi + 0x24); /* 0x2B095911: mov ecx, dword ptr [esi + 0x24] */ 17554 eax = ebp + (-0x18); /* 0x2B095914: lea eax, [ebp - 0x18] */ 17555 PUSH32(esp, eax); /* 0x2B095917: push eax */ 17556 RECOMP_ICALL(edi); /* 0x2B095918: call edi */ 17557 RECOMP_FLAGS_IN(); 17558 edx = MEM32(eax + 0x4); /* 0x2B09591A: mov edx, dword ptr [eax + 4] */ 17559 ecx = MEM32(ebp + 0x8); /* 0x2B09591D: mov ecx, dword ptr [ebp + 8] */ 17560 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 17561 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17562 ecx = ecx - edx; /* 0x2B095920: sub ecx, edx */ 17563 _flag_k = FK_CMP; 17564 MEM32(ebp + 0x8) = ecx; /* 0x2B095922: mov dword ptr [ebp + 8], ecx */ 17565 fp_push((double)(int32_t)MEM32(ebp + 0x8)); /* 0x2B095925: fild dword ptr [ebp + 8] */ 17566 ecx = MEM32(esi + 0x28); /* 0x2B095928: mov ecx, dword ptr [esi + 0x28] */ 17567 edx = ebp + (-0x28); /* 0x2B09592B: lea edx, [ebp - 0x28] */ 17568 PUSH32(esp, edx); /* 0x2B09592E: push edx */ 17569 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x4)) = _v; } /* 0x2B09592F: fstp dword ptr [ebp - 4] */ 17570 RECOMP_ICALL(edi); /* 0x2B095932: call edi */ 17571 RECOMP_FLAGS_IN(); 17572 ecx = MEM32(esi + 0x24); /* 0x2B095934: mov ecx, dword ptr [esi + 0x24] */ 17573 ebx = eax; /* 0x2B095937: mov ebx, eax */ 17574 eax = ebp + (-0x38); /* 0x2B095939: lea eax, [ebp - 0x38] */ 17575 PUSH32(esp, eax); /* 0x2B09593C: push eax */ 17576 RECOMP_ICALL(edi); /* 0x2B09593D: call edi */ 17577 RECOMP_FLAGS_IN(); 17578 edx = MEM32(eax + 0x4); /* 0x2B09593F: mov edx, dword ptr [eax + 4] */ 17579 ecx = MEM32(ebx + 0xC); /* 0x2B095942: mov ecx, dword ptr [ebx + 0xc] */ 17580 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 17581 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17582 ecx = ecx - edx; /* 0x2B095945: sub ecx, edx */ 17583 _flag_k = FK_CMP; 17584 MEM32(ebp + 0x8) = ecx; /* 0x2B095947: mov dword ptr [ebp + 8], ecx */ 17585 fp_push((double)(int32_t)MEM32(ebp + 0x8)); /* 0x2B09594A: fild dword ptr [ebp + 8] */ 17586 _st[0] = (double)*(float*)ADDR(ebp + (-0x4)) / _st[0]; /* 0x2B09594D: fdivr dword ptr [ebp - 4] */ 17587 { float _v = (float)_st[0]; *(float*)ADDR(esi + 0x90) = _v; } /* 0x2B095950: fst dword ptr [esi + 0x90] */ 17588 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B6558)); /* 0x2B095956: fcomp dword ptr [0x2b0b6558] */ 17589 fp_pop(); 17590 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B09595C: fnstsw ax */ 17591 /* test HI8(eax), 1 */ /* 0x2B09595E: test ah, 1 */ 17592 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 17593 _cf = 0; 17594 _flag_k = FK_NARROW(FK_TEST, 24); 17595 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09596D; /* 0x2B095961: je 0x2b09596d */ 17596 L_2B095963: 17597 MEM32(esi + 0x90) = 0x3DCCCCCDu; /* 0x2B095963: mov dword ptr [esi + 0x90], 0x3dcccccd */ 17598 L_2B09596D: 17599 fp_push(*(float*)&MEM32(esi + 0x90)); /* 0x2B09596D: fld dword ptr [esi + 0x90] */ 17600 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B6564)); /* 0x2B095973: fcomp dword ptr [0x2b0b6564] */ 17601 fp_pop(); 17602 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B095979: fnstsw ax */ 17603 /* test HI8(eax), 0x41u */ /* 0x2B09597B: test ah, 0x41 */ 17604 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 17605 _cf = 0; 17606 _flag_k = FK_NARROW(FK_TEST, 24); 17607 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09598A; /* 0x2B09597E: jne 0x2b09598a */ 17608 L_2B095980: 17609 MEM32(esi + 0x90) = 0x3F666666u; /* 0x2B095980: mov dword ptr [esi + 0x90], 0x3f666666 */ 17610 L_2B09598A: 17611 SET_LO8(eax, MEM8(ebp + 0xC)); /* 0x2B09598A: mov al, byte ptr [ebp + 0xc] */ 17612 /* test LO8(eax), LO8(eax) */ /* 0x2B09598D: test al, al */ 17613 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17614 _cf = 0; 17615 _flag_k = FK_NARROW(FK_TEST, 24); 17616 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0959B4; /* 0x2B09598F: je 0x2b0959b4 */ 17617 L_2B095991: 17618 edx = MEM32(esi + 0x90); /* 0x2B095991: mov edx, dword ptr [esi + 0x90] */ 17619 eax = esi + 0x9C; /* 0x2B095997: lea eax, [esi + 0x9c] */ 17620 PUSH32(esp, eax); /* 0x2B09599D: push eax */ 17621 ecx = esi; /* 0x2B09599E: mov ecx, esi */ 17622 MEM32(esi + 0x8C) = edx; /* 0x2B0959A0: mov dword ptr [esi + 0x8c], edx */ 17623 RECOMP_ICALL(0x2B0955C0u); /* 0x2B0959A6: call 0x2b0955c0 */ /* not lifted */ 17624 RECOMP_FLAGS_IN(); 17625 edi = POP32_VAL(esp); /* 0x2B0959AB: pop edi */ 17626 esi = POP32_VAL(esp); /* 0x2B0959AC: pop esi */ 17627 ebx = POP32_VAL(esp); /* 0x2B0959AD: pop ebx */ 17628 esp = ebp; /* 0x2B0959AE: mov esp, ebp */ 17629 ebp = POP32_VAL(esp); /* 0x2B0959B0: pop ebp */ 17630 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0959B1: ret 8 */ 17631 L_2B0959B4: 17632 edi = MEM32(esi + 0x2C); /* 0x2B0959B4: mov edi, dword ptr [esi + 0x2c] */ 17633 fp_push(*(float*)&MEM32(edi + 0x18)); /* 0x2B0959B7: fld dword ptr [edi + 0x18] */ 17634 RECOMP_ICALL(0x2B0AB220u); /* 0x2B0959BA: call 0x2b0ab220 */ /* not lifted */ 17635 RECOMP_FLAGS_IN(); 17636 MEM32(ebp + (-0x8)) = eax; /* 0x2B0959BF: mov dword ptr [ebp - 8], eax */ 17637 fp_push(*(float*)&MEM32(edi + 0x1C)); /* 0x2B0959C2: fld dword ptr [edi + 0x1c] */ 17638 RECOMP_ICALL(0x2B0AB220u); /* 0x2B0959C5: call 0x2b0ab220 */ /* not lifted */ 17639 RECOMP_FLAGS_IN(); 17640 ecx = ebp + (-0x10); /* 0x2B0959CA: lea ecx, [ebp - 0x10] */ 17641 PUSH32(esp, ecx); /* 0x2B0959CD: push ecx */ 17642 ecx = MEM32(esi + 0x8); /* 0x2B0959CE: mov ecx, dword ptr [esi + 8] */ 17643 MEM32(ebp + (-0x4)) = eax; /* 0x2B0959D1: mov dword ptr [ebp - 4], eax */ 17644 RECOMP_ICALL(MEM32(0x2B0B59F0)); /* 0x2B0959D4: call dword ptr [0x2b0b59f0] */ 17645 RECOMP_FLAGS_IN(); 17646 edx = MEM32(esi + 0x90); /* 0x2B0959DA: mov edx, dword ptr [esi + 0x90] */ 17647 PUSH32(esp, edx); /* 0x2B0959E0: push edx */ 17648 ecx = esi; /* 0x2B0959E1: mov ecx, esi */ 17649 edi = eax; /* 0x2B0959E3: mov edi, eax */ 17650 RECOMP_ICALL(0x2B0958D0u); /* 0x2B0959E5: call 0x2b0958d0 */ /* not lifted */ 17651 RECOMP_FLAGS_IN(); 17652 ecx = MEM32(edi + 0x4); /* 0x2B0959EA: mov ecx, dword ptr [edi + 4] */ 17653 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 17654 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17655 ecx = ecx + eax; /* 0x2B0959ED: add ecx, eax */ 17656 _flag_k = FK_ADD; 17657 edx = ebp + (-0x8); /* 0x2B0959EF: lea edx, [ebp - 8] */ 17658 MEM32(ebp + (-0x4)) = ecx; /* 0x2B0959F2: mov dword ptr [ebp - 4], ecx */ 17659 ecx = MEM32(esi + 0x2C); /* 0x2B0959F5: mov ecx, dword ptr [esi + 0x2c] */ 17660 PUSH32(esp, edx); /* 0x2B0959F8: push edx */ 17661 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B0959F9: call dword ptr [0x2b0b5640] */ 17662 RECOMP_FLAGS_IN(); 17663 edi = POP32_VAL(esp); /* 0x2B0959FF: pop edi */ 17664 esi = POP32_VAL(esp); /* 0x2B095A00: pop esi */ 17665 ebx = POP32_VAL(esp); /* 0x2B095A01: pop ebx */ 17666 esp = ebp; /* 0x2B095A02: mov esp, ebp */ 17667 ebp = POP32_VAL(esp); /* 0x2B095A04: pop ebp */ 17668 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B095A05: ret 8 */ 17669 RECOMP_REGS_OUT(); 17670 } 17671 17672 void sub_2B095A10(void) { 17673 int _fpu_cmp = 0; 17674 uint32_t _cf = 0; 17675 int _df = 1; 17676 uint32_t _flag_k = FK_NONE; 17677 uint32_t _flag_a = 0, _flag_b = 0; 17678 uint32_t _itail_tgt = 0; 17679 RECOMP_REGS_LOCALS 17680 RECOMP_ENTER(0x2B095A10u); 17681 17682 L_2B095A10: 17683 PUSH32(esp, ebp); /* 0x2B095A10: push ebp */ 17684 ebp = esp; /* 0x2B095A11: mov ebp, esp */ 17685 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x38u); 17686 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17687 esp = esp - 0x38u; /* 0x2B095A13: sub esp, 0x38 */ 17688 _flag_k = FK_CMP; 17689 PUSH32(esp, ebx); /* 0x2B095A16: push ebx */ 17690 PUSH32(esp, esi); /* 0x2B095A17: push esi */ 17691 esi = ecx; /* 0x2B095A18: mov esi, ecx */ 17692 eax = MEM32(esi + 0x38); /* 0x2B095A1A: mov eax, dword ptr [esi + 0x38] */ 17693 /* test eax, eax */ /* 0x2B095A1D: test eax, eax */ 17694 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 17695 _cf = 0; 17696 _flag_k = FK_TEST; 17697 PUSH32(esp, edi); /* 0x2B095A1F: push edi */ 17698 if (TEST_Z(_flag_a, _flag_b)) goto L_2B095B8B; /* 0x2B095A20: je 0x2b095b8b */ 17699 L_2B095A26: 17700 eax = MEM32(ebp + 0x8); /* 0x2B095A26: mov eax, dword ptr [ebp + 8] */ 17701 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x54u); 17702 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17703 eax = eax + 0x54u; /* 0x2B095A29: add eax, 0x54 */ 17704 _flag_k = FK_ADD; 17705 ecx = ebp + (-0x8); /* 0x2B095A2C: lea ecx, [ebp - 8] */ 17706 /* cmp ecx, eax */ /* 0x2B095A2F: cmp ecx, eax */ 17707 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 17708 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17709 _flag_k = FK_CMP; 17710 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B095A3E; /* 0x2B095A31: je 0x2b095a3e */ 17711 L_2B095A33: 17712 edx = MEM32(eax); /* 0x2B095A33: mov edx, dword ptr [eax] */ 17713 eax = MEM32(eax + 0x4); /* 0x2B095A35: mov eax, dword ptr [eax + 4] */ 17714 MEM32(ebp + (-0x8)) = edx; /* 0x2B095A38: mov dword ptr [ebp - 8], edx */ 17715 MEM32(ebp + (-0x4)) = eax; /* 0x2B095A3B: mov dword ptr [ebp - 4], eax */ 17716 L_2B095A3E: 17717 ebx = MEM32(0x2B0B5B64); /* 0x2B095A3E: mov ebx, dword ptr [0x2b0b5b64] */ 17718 RECOMP_ICALL(ebx); /* 0x2B095A44: call ebx */ 17719 RECOMP_FLAGS_IN(); 17720 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 17721 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17722 eax = eax + 0xD4u; /* 0x2B095A46: add eax, 0xd4 */ 17723 _flag_k = FK_ADD; 17724 ecx = ebp + (-0x10); /* 0x2B095A4B: lea ecx, [ebp - 0x10] */ 17725 /* cmp ecx, eax */ /* 0x2B095A4E: cmp ecx, eax */ 17726 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 17727 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17728 _flag_k = FK_CMP; 17729 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B095A5D; /* 0x2B095A50: je 0x2b095a5d */ 17730 L_2B095A52: 17731 edx = MEM32(eax); /* 0x2B095A52: mov edx, dword ptr [eax] */ 17732 MEM32(ebp + (-0x10)) = edx; /* 0x2B095A54: mov dword ptr [ebp - 0x10], edx */ 17733 eax = MEM32(eax + 0x4); /* 0x2B095A57: mov eax, dword ptr [eax + 4] */ 17734 MEM32(ebp + (-0xC)) = eax; /* 0x2B095A5A: mov dword ptr [ebp - 0xc], eax */ 17735 L_2B095A5D: 17736 edi = MEM32(0x2B0B5D6C); /* 0x2B095A5D: mov edi, dword ptr [0x2b0b5d6c] */ 17737 ecx = ebp + (-0x8); /* 0x2B095A63: lea ecx, [ebp - 8] */ 17738 PUSH32(esp, ecx); /* 0x2B095A66: push ecx */ 17739 edx = esi + 0x3C; /* 0x2B095A67: lea edx, [esi + 0x3c] */ 17740 PUSH32(esp, edx); /* 0x2B095A6A: push edx */ 17741 eax = ebp + (-0x10); /* 0x2B095A6B: lea eax, [ebp - 0x10] */ 17742 PUSH32(esp, eax); /* 0x2B095A6E: push eax */ 17743 RECOMP_ICALL(edi); /* 0x2B095A6F: call edi */ 17744 RECOMP_FLAGS_IN(); 17745 ecx = eax; /* 0x2B095A71: mov ecx, eax */ 17746 RECOMP_ICALL(MEM32(0x2B0B5CE8)); /* 0x2B095A73: call dword ptr [0x2b0b5ce8] */ 17747 RECOMP_FLAGS_IN(); 17748 esi = MEM32(esi + 0x38); /* 0x2B095A79: mov esi, dword ptr [esi + 0x38] */ 17749 ecx = MEM32(esi + 0x8); /* 0x2B095A7C: mov ecx, dword ptr [esi + 8] */ 17750 RECOMP_ICALL(MEM32(0x2B0B58CC)); /* 0x2B095A7F: call dword ptr [0x2b0b58cc] */ 17751 RECOMP_FLAGS_IN(); 17752 MEM32(esi + 0x34) = 0; /* 0x2B095A85: mov dword ptr [esi + 0x34], 0 */ 17753 RECOMP_ICALL(ebx); /* 0x2B095A8C: call ebx */ 17754 RECOMP_FLAGS_IN(); 17755 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 17756 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17757 eax = eax + 0xD4u; /* 0x2B095A8E: add eax, 0xd4 */ 17758 _flag_k = FK_ADD; 17759 ecx = ebp + (-0x10); /* 0x2B095A93: lea ecx, [ebp - 0x10] */ 17760 /* cmp ecx, eax */ /* 0x2B095A96: cmp ecx, eax */ 17761 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 17762 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17763 _flag_k = FK_CMP; 17764 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B095AA5; /* 0x2B095A98: je 0x2b095aa5 */ 17765 L_2B095A9A: 17766 edx = MEM32(eax); /* 0x2B095A9A: mov edx, dword ptr [eax] */ 17767 MEM32(ebp + (-0x10)) = edx; /* 0x2B095A9C: mov dword ptr [ebp - 0x10], edx */ 17768 eax = MEM32(eax + 0x4); /* 0x2B095A9F: mov eax, dword ptr [eax + 4] */ 17769 MEM32(ebp + (-0xC)) = eax; /* 0x2B095AA2: mov dword ptr [ebp - 0xc], eax */ 17770 L_2B095AA5: 17771 ecx = ebp + (-0x10); /* 0x2B095AA5: lea ecx, [ebp - 0x10] */ 17772 PUSH32(esp, ecx); /* 0x2B095AA8: push ecx */ 17773 RECOMP_ICALL(edi); /* 0x2B095AA9: call edi */ 17774 RECOMP_FLAGS_IN(); 17775 ecx = eax; /* 0x2B095AAB: mov ecx, eax */ 17776 RECOMP_ICALL(MEM32(0x2B0B5E60)); /* 0x2B095AAD: call dword ptr [0x2b0b5e60] */ 17777 RECOMP_FLAGS_IN(); 17778 /* test eax, eax */ /* 0x2B095AB3: test eax, eax */ 17779 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 17780 _cf = 0; 17781 _flag_k = FK_TEST; 17782 if (TEST_Z(_flag_a, _flag_b)) goto L_2B095B8B; /* 0x2B095AB5: je 0x2b095b8b */ 17783 L_2B095ABB: 17784 ecx = MEM32(eax + 0x8); /* 0x2B095ABB: mov ecx, dword ptr [eax + 8] */ 17785 /* test ecx, ecx */ /* 0x2B095ABE: test ecx, ecx */ 17786 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 17787 _cf = 0; 17788 _flag_k = FK_TEST; 17789 edx = MEM32(eax + 0x4); /* 0x2B095AC0: mov edx, dword ptr [eax + 4] */ 17790 ebx = MEM32(edx); /* 0x2B095AC3: mov ebx, dword ptr [edx] */ 17791 if (TEST_LE(_flag_a, _flag_b)) goto L_2B095B1A; /* 0x2B095AC5: jle 0x2b095b1a */ 17792 L_2B095AC7: 17793 MEM32(ebp + 0x8) = ecx; /* 0x2B095AC7: mov dword ptr [ebp + 8], ecx */ 17794 L_2B095ACA: 17795 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17796 eax = 0; /* 0x2B095ACA: xor eax, eax */ 17797 _cf = 0; 17798 _flag_k = FK_TEST; 17799 ecx = 0xAu; /* 0x2B095ACC: mov ecx, 0xa */ 17800 edi = ebp + (-0x38); /* 0x2B095AD1: lea edi, [ebp - 0x38] */ 17801 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B095AD4: 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; } 17802 ecx = MEM32(ebx + 0xC); /* 0x2B095AD6: mov ecx, dword ptr [ebx + 0xc] */ 17803 eax = MEM32(ebx + 0x8); /* 0x2B095AD9: mov eax, dword ptr [ebx + 8] */ 17804 edx = ebp + (-0x38); /* 0x2B095ADC: lea edx, [ebp - 0x38] */ 17805 MEM32(ebp + (-0x34)) = ecx; /* 0x2B095ADF: mov dword ptr [ebp - 0x34], ecx */ 17806 ecx = MEM32(esi + 0x8); /* 0x2B095AE2: mov ecx, dword ptr [esi + 8] */ 17807 PUSH32(esp, edx); /* 0x2B095AE5: push edx */ 17808 MEM32(ebp + (-0x38)) = eax; /* 0x2B095AE6: mov dword ptr [ebp - 0x38], eax */ 17809 MEM32(ebp + (-0x1C)) = 0x30u; /* 0x2B095AE9: mov dword ptr [ebp - 0x1c], 0x30 */ 17810 MEM32(ebp + (-0x18)) = 0xFFFFFFFFu; /* 0x2B095AF0: mov dword ptr [ebp - 0x18], 0xffffffff */ 17811 MEM32(ebp + (-0x20)) = 0x25u; /* 0x2B095AF7: mov dword ptr [ebp - 0x20], 0x25 */ 17812 RECOMP_ICALL(MEM32(0x2B0B58D0)); /* 0x2B095AFE: call dword ptr [0x2b0b58d0] */ 17813 RECOMP_FLAGS_IN(); 17814 /* test eax, eax */ /* 0x2B095B04: test eax, eax */ 17815 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 17816 _cf = 0; 17817 _flag_k = FK_TEST; 17818 if (TEST_Z(_flag_a, _flag_b)) goto L_2B095B0F; /* 0x2B095B06: je 0x2b095b0f */ 17819 L_2B095B08: 17820 MEM8(eax + 0x24) = (uint8_t)(0); /* 0x2B095B08: mov byte ptr [eax + 0x24], 0 */ 17821 _flag_a = (uint32_t)(MEM32(esi + 0x34)); _flag_b = (uint32_t)(1); 17822 MEM32(esi + 0x34) = MEM32(esi + 0x34) + 1; /* 0x2B095B0C: inc dword ptr [esi + 0x34] */ 17823 _flag_k = FK_INC; 17824 L_2B095B0F: 17825 eax = MEM32(ebp + 0x8); /* 0x2B095B0F: mov eax, dword ptr [ebp + 8] */ 17826 ebx = MEM32(ebx); /* 0x2B095B12: mov ebx, dword ptr [ebx] */ 17827 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 17828 eax = eax - 1; /* 0x2B095B14: dec eax */ 17829 _flag_k = FK_DEC; 17830 MEM32(ebp + 0x8) = eax; /* 0x2B095B15: mov dword ptr [ebp + 8], eax */ 17831 RECOMP_BACKEDGE(); 17832 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B095ACA; /* 0x2B095B18: jne 0x2b095aca */ 17833 L_2B095B1A: 17834 ecx = MEM32(esi + 0x8); /* 0x2B095B1A: mov ecx, dword ptr [esi + 8] */ 17835 RECOMP_ICALL(MEM32(0x2B0B58D4)); /* 0x2B095B1D: call dword ptr [0x2b0b58d4] */ 17836 RECOMP_FLAGS_IN(); 17837 eax = MEM32(esi + 0x4); /* 0x2B095B23: mov eax, dword ptr [esi + 4] */ 17838 ecx = ebp + (-0x10); /* 0x2B095B26: lea ecx, [ebp - 0x10] */ 17839 SET_LO8(ebx, 1); /* 0x2B095B29: mov bl, 1 */ 17840 MEM8(eax + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B095B2B: mov byte ptr [eax + 9], bl */ 17841 PUSH32(esp, ecx); /* 0x2B095B2E: push ecx */ 17842 ecx = MEM32(esi + 0x8); /* 0x2B095B2F: mov ecx, dword ptr [esi + 8] */ 17843 MEM32(ebp + (-0x10)) = 7; /* 0x2B095B32: mov dword ptr [ebp - 0x10], 7 */ 17844 MEM32(ebp + (-0xC)) = 0x17u; /* 0x2B095B39: mov dword ptr [ebp - 0xc], 0x17 */ 17845 RECOMP_ICALL(MEM32(0x2B0B58E0)); /* 0x2B095B40: call dword ptr [0x2b0b58e0] */ 17846 RECOMP_FLAGS_IN(); 17847 ecx = MEM32(esi + 0x8); /* 0x2B095B46: mov ecx, dword ptr [esi + 8] */ 17848 PUSH32(esp, 0); /* 0x2B095B49: push 0 */ 17849 RECOMP_ICALL(MEM32(0x2B0B58E4)); /* 0x2B095B4B: call dword ptr [0x2b0b58e4] */ 17850 RECOMP_FLAGS_IN(); 17851 ecx = MEM32(esi + 0x1C); /* 0x2B095B51: mov ecx, dword ptr [esi + 0x1c] */ 17852 edi = MEM32(0x2B0B5960); /* 0x2B095B54: mov edi, dword ptr [0x2b0b5960] */ 17853 RECOMP_ICALL(edi); /* 0x2B095B5A: call edi */ 17854 RECOMP_FLAGS_IN(); 17855 ecx = MEM32(esi + 0x20); /* 0x2B095B5C: mov ecx, dword ptr [esi + 0x20] */ 17856 RECOMP_ICALL(edi); /* 0x2B095B5F: call edi */ 17857 RECOMP_FLAGS_IN(); 17858 edx = MEM32(esi + 0x10); /* 0x2B095B61: mov edx, dword ptr [esi + 0x10] */ 17859 MEM8(edx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B095B64: mov byte ptr [edx + 9], bl */ 17860 eax = MEM32(esi + 0x14); /* 0x2B095B67: mov eax, dword ptr [esi + 0x14] */ 17861 MEM8(eax + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B095B6A: mov byte ptr [eax + 9], bl */ 17862 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17863 eax = 0; /* 0x2B095B6D: xor eax, eax */ 17864 _cf = 0; 17865 _flag_k = FK_TEST; 17866 L_2B095B6F: 17867 ecx = MEM32(esi + 0x28); /* 0x2B095B6F: mov ecx, dword ptr [esi + 0x28] */ 17868 /* test ecx, ecx */ /* 0x2B095B72: test ecx, ecx */ 17869 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 17870 _cf = 0; 17871 _flag_k = FK_TEST; 17872 if (TEST_Z(_flag_a, _flag_b)) goto L_2B095B8B; /* 0x2B095B74: je 0x2b095b8b */ 17873 L_2B095B76: 17874 edx = MEM32(esi + 0x2C); /* 0x2B095B76: mov edx, dword ptr [esi + 0x2c] */ 17875 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 17876 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17877 edx = edx - ecx; /* 0x2B095B79: sub edx, ecx */ 17878 _flag_k = FK_CMP; 17879 if (2u) _cf = (((edx) >> 1) & 1u); /* 0x2B095B7B: sar edx, 2 */ 17880 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17881 edx = (uint32_t)((int32_t)edx >> 2u); 17882 /* cmp eax, edx */ /* 0x2B095B7E: cmp eax, edx */ 17883 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 17884 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17885 _flag_k = FK_CMP; 17886 if (CMP_AE(_flag_a, _flag_b)) goto L_2B095B8B; /* 0x2B095B80: jae 0x2b095b8b */ 17887 L_2B095B82: 17888 edx = MEM32(ecx + eax * 4); /* 0x2B095B82: mov edx, dword ptr [ecx + eax*4] */ 17889 MEM8(edx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B095B85: mov byte ptr [edx + 9], bl */ 17890 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 17891 eax = eax + 1; /* 0x2B095B88: inc eax */ 17892 _flag_k = FK_INC; 17893 RECOMP_BACKEDGE(); 17894 goto L_2B095B6F; /* 0x2B095B89: jmp 0x2b095b6f */ 17895 L_2B095B8B: 17896 edi = POP32_VAL(esp); /* 0x2B095B8B: pop edi */ 17897 esi = POP32_VAL(esp); /* 0x2B095B8C: pop esi */ 17898 ebx = POP32_VAL(esp); /* 0x2B095B8D: pop ebx */ 17899 esp = ebp; /* 0x2B095B8E: mov esp, ebp */ 17900 ebp = POP32_VAL(esp); /* 0x2B095B90: pop ebp */ 17901 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B095B91: ret 4 */ 17902 RECOMP_REGS_OUT(); 17903 } 17904 17905 void sub_2B095B6F(void) { 17906 int _fpu_cmp = 0; 17907 uint32_t _cf = 0; 17908 int _df = 1; 17909 uint32_t _flag_k = FK_NONE; 17910 uint32_t _flag_a = 0, _flag_b = 0; 17911 uint32_t _itail_tgt = 0; 17912 RECOMP_REGS_LOCALS 17913 RECOMP_ENTER(0x2B095B6Fu); 17914 17915 L_2B095B6F: 17916 ecx = MEM32(esi + 0x28); /* 0x2B095B6F: mov ecx, dword ptr [esi + 0x28] */ 17917 /* test ecx, ecx */ /* 0x2B095B72: test ecx, ecx */ 17918 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 17919 _cf = 0; 17920 _flag_k = FK_TEST; 17921 if (TEST_Z(_flag_a, _flag_b)) goto L_2B095B8B; /* 0x2B095B74: je 0x2b095b8b */ 17922 L_2B095B76: 17923 edx = MEM32(esi + 0x2C); /* 0x2B095B76: mov edx, dword ptr [esi + 0x2c] */ 17924 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 17925 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17926 edx = edx - ecx; /* 0x2B095B79: sub edx, ecx */ 17927 _flag_k = FK_CMP; 17928 if (2u) _cf = (((edx) >> 1) & 1u); /* 0x2B095B7B: sar edx, 2 */ 17929 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17930 edx = (uint32_t)((int32_t)edx >> 2u); 17931 /* cmp eax, edx */ /* 0x2B095B7E: cmp eax, edx */ 17932 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 17933 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17934 _flag_k = FK_CMP; 17935 if (CMP_AE(_flag_a, _flag_b)) goto L_2B095B8B; /* 0x2B095B80: jae 0x2b095b8b */ 17936 L_2B095B82: 17937 edx = MEM32(ecx + eax * 4); /* 0x2B095B82: mov edx, dword ptr [ecx + eax*4] */ 17938 MEM8(edx + 0x9) = (uint8_t)(LO8(ebx)); /* 0x2B095B85: mov byte ptr [edx + 9], bl */ 17939 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 17940 eax = eax + 1; /* 0x2B095B88: inc eax */ 17941 _flag_k = FK_INC; 17942 RECOMP_BACKEDGE(); 17943 goto L_2B095B6F; /* 0x2B095B89: jmp 0x2b095b6f */ 17944 L_2B095B8B: 17945 edi = POP32_VAL(esp); /* 0x2B095B8B: pop edi */ 17946 esi = POP32_VAL(esp); /* 0x2B095B8C: pop esi */ 17947 ebx = POP32_VAL(esp); /* 0x2B095B8D: pop ebx */ 17948 esp = ebp; /* 0x2B095B8E: mov esp, ebp */ 17949 ebp = POP32_VAL(esp); /* 0x2B095B90: pop ebp */ 17950 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B095B91: ret 4 */ 17951 RECOMP_REGS_OUT(); 17952 } 17953 17954 void sub_2B095BA0(void) { 17955 int _fpu_cmp = 0; 17956 uint32_t _cf = 0; 17957 int _df = 1; 17958 uint32_t _flag_k = FK_NONE; 17959 uint32_t _flag_a = 0, _flag_b = 0; 17960 uint32_t _itail_tgt = 0; 17961 RECOMP_REGS_LOCALS 17962 RECOMP_ENTER(0x2B095BA0u); 17963 17964 L_2B095BA0: 17965 PUSH32(esp, ebp); /* 0x2B095BA0: push ebp */ 17966 ebp = esp; /* 0x2B095BA1: mov ebp, esp */ 17967 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 17968 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17969 esp = esp - 8; /* 0x2B095BA3: sub esp, 8 */ 17970 _flag_k = FK_CMP; 17971 PUSH32(esp, esi); /* 0x2B095BA6: push esi */ 17972 esi = ecx; /* 0x2B095BA7: mov esi, ecx */ 17973 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B095BA9: call dword ptr [0x2b0b5b64] */ 17974 RECOMP_FLAGS_IN(); 17975 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 17976 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17977 eax = eax + 0xD4u; /* 0x2B095BAF: add eax, 0xd4 */ 17978 _flag_k = FK_ADD; 17979 ecx = ebp + (-0x8); /* 0x2B095BB4: lea ecx, [ebp - 8] */ 17980 /* cmp ecx, eax */ /* 0x2B095BB7: cmp ecx, eax */ 17981 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 17982 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17983 _flag_k = FK_CMP; 17984 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B095BC6; /* 0x2B095BB9: je 0x2b095bc6 */ 17985 L_2B095BBB: 17986 edx = MEM32(eax); /* 0x2B095BBB: mov edx, dword ptr [eax] */ 17987 MEM32(ebp + (-0x8)) = edx; /* 0x2B095BBD: mov dword ptr [ebp - 8], edx */ 17988 eax = MEM32(eax + 0x4); /* 0x2B095BC0: mov eax, dword ptr [eax + 4] */ 17989 MEM32(ebp + (-0x4)) = eax; /* 0x2B095BC3: mov dword ptr [ebp - 4], eax */ 17990 L_2B095BC6: 17991 ecx = MEM32(ebp + 0x8); /* 0x2B095BC6: mov ecx, dword ptr [ebp + 8] */ 17992 PUSH32(esp, 1); /* 0x2B095BC9: push 1 */ 17993 PUSH32(esp, ecx); /* 0x2B095BCB: push ecx */ 17994 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x3Cu); 17995 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17996 esi = esi + 0x3Cu; /* 0x2B095BCC: add esi, 0x3c */ 17997 _flag_k = FK_ADD; 17998 edx = ebp + (-0x8); /* 0x2B095BCF: lea edx, [ebp - 8] */ 17999 PUSH32(esp, esi); /* 0x2B095BD2: push esi */ 18000 PUSH32(esp, edx); /* 0x2B095BD3: push edx */ 18001 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B095BD4: call dword ptr [0x2b0b5d6c] */ 18002 RECOMP_FLAGS_IN(); 18003 ecx = eax; /* 0x2B095BDA: mov ecx, eax */ 18004 RECOMP_ICALL(MEM32(0x2B0B5CEC)); /* 0x2B095BDC: call dword ptr [0x2b0b5cec] */ 18005 RECOMP_FLAGS_IN(); 18006 esi = POP32_VAL(esp); /* 0x2B095BE2: pop esi */ 18007 esp = ebp; /* 0x2B095BE3: mov esp, ebp */ 18008 ebp = POP32_VAL(esp); /* 0x2B095BE5: pop ebp */ 18009 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B095BE6: ret 4 */ 18010 RECOMP_REGS_OUT(); 18011 } 18012 18013 void sub_2B095BF0(void) { 18014 int _fpu_cmp = 0; 18015 uint32_t _cf = 0; 18016 int _df = 1; 18017 uint32_t _flag_k = FK_NONE; 18018 uint32_t _flag_a = 0, _flag_b = 0; 18019 uint32_t _itail_tgt = 0; 18020 RECOMP_REGS_LOCALS 18021 RECOMP_ENTER(0x2B095BF0u); 18022 18023 L_2B095BF0: 18024 PUSH32(esp, ebp); /* 0x2B095BF0: push ebp */ 18025 ebp = esp; /* 0x2B095BF1: mov ebp, esp */ 18026 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 18027 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18028 esp = esp - 8; /* 0x2B095BF3: sub esp, 8 */ 18029 _flag_k = FK_CMP; 18030 PUSH32(esp, esi); /* 0x2B095BF6: push esi */ 18031 esi = ecx; /* 0x2B095BF7: mov esi, ecx */ 18032 MEM32(esi + 0x80) = 3; /* 0x2B095BF9: mov dword ptr [esi + 0x80], 3 */ 18033 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B095C03: call dword ptr [0x2b0b5b64] */ 18034 RECOMP_FLAGS_IN(); 18035 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 18036 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18037 eax = eax + 0xD4u; /* 0x2B095C09: add eax, 0xd4 */ 18038 _flag_k = FK_ADD; 18039 ecx = ebp + (-0x8); /* 0x2B095C0E: lea ecx, [ebp - 8] */ 18040 /* cmp ecx, eax */ /* 0x2B095C11: cmp ecx, eax */ 18041 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 18042 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18043 _flag_k = FK_CMP; 18044 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B095C20; /* 0x2B095C13: je 0x2b095c20 */ 18045 L_2B095C15: 18046 edx = MEM32(eax); /* 0x2B095C15: mov edx, dword ptr [eax] */ 18047 MEM32(ebp + (-0x8)) = edx; /* 0x2B095C17: mov dword ptr [ebp - 8], edx */ 18048 eax = MEM32(eax + 0x4); /* 0x2B095C1A: mov eax, dword ptr [eax + 4] */ 18049 MEM32(ebp + (-0x4)) = eax; /* 0x2B095C1D: mov dword ptr [ebp - 4], eax */ 18050 L_2B095C20: 18051 PUSH32(esp, 0); /* 0x2B095C20: push 0 */ 18052 PUSH32(esp, 0); /* 0x2B095C22: push 0 */ 18053 ecx = esi + 0x3C; /* 0x2B095C24: lea ecx, [esi + 0x3c] */ 18054 PUSH32(esp, ecx); /* 0x2B095C27: push ecx */ 18055 edx = ebp + (-0x8); /* 0x2B095C28: lea edx, [ebp - 8] */ 18056 PUSH32(esp, edx); /* 0x2B095C2B: push edx */ 18057 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B095C2C: call dword ptr [0x2b0b5d6c] */ 18058 RECOMP_FLAGS_IN(); 18059 ecx = eax; /* 0x2B095C32: mov ecx, eax */ 18060 RECOMP_ICALL(MEM32(0x2B0B5CEC)); /* 0x2B095C34: call dword ptr [0x2b0b5cec] */ 18061 RECOMP_FLAGS_IN(); 18062 MEM8(esi + 0xA5) = (uint8_t)(1); /* 0x2B095C3A: mov byte ptr [esi + 0xa5], 1 */ 18063 esi = POP32_VAL(esp); /* 0x2B095C41: pop esi */ 18064 esp = ebp; /* 0x2B095C42: mov esp, ebp */ 18065 ebp = POP32_VAL(esp); /* 0x2B095C44: pop ebp */ 18066 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B095C45: ret */ 18067 RECOMP_REGS_OUT(); 18068 } 18069 18070 void sub_2B095C50(void) { 18071 int _fpu_cmp = 0; 18072 uint32_t _cf = 0; 18073 int _df = 1; 18074 uint32_t _flag_k = FK_NONE; 18075 uint32_t _flag_a = 0, _flag_b = 0; 18076 uint32_t _itail_tgt = 0; 18077 RECOMP_REGS_LOCALS 18078 RECOMP_ENTER(0x2B095C50u); 18079 18080 L_2B095C50: 18081 PUSH32(esp, ebp); /* 0x2B095C50: push ebp */ 18082 ebp = esp; /* 0x2B095C51: mov ebp, esp */ 18083 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 18084 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18085 esp = esp - 8; /* 0x2B095C53: sub esp, 8 */ 18086 _flag_k = FK_CMP; 18087 edx = MEM32(ebp + 0x8); /* 0x2B095C56: mov edx, dword ptr [ebp + 8] */ 18088 PUSH32(esp, esi); /* 0x2B095C59: push esi */ 18089 esi = ecx; /* 0x2B095C5A: mov esi, ecx */ 18090 eax = MEM32(esi + 0x28); /* 0x2B095C5C: mov eax, dword ptr [esi + 0x28] */ 18091 ecx = MEM32(eax); /* 0x2B095C5F: mov ecx, dword ptr [eax] */ 18092 PUSH32(esp, edi); /* 0x2B095C61: push edi */ 18093 edi = MEM32(edx + 0x4); /* 0x2B095C62: mov edi, dword ptr [edx + 4] */ 18094 MEM32(ebp + (-0x8)) = ecx; /* 0x2B095C65: mov dword ptr [ebp - 8], ecx */ 18095 ecx = MEM32(eax + 0x4); /* 0x2B095C68: mov ecx, dword ptr [eax + 4] */ 18096 /* cmp edi, ecx */ /* 0x2B095C6B: cmp edi, ecx */ 18097 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 18098 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18099 _flag_k = FK_CMP; 18100 if (CMP_GE(_flag_a, _flag_b)) goto L_2B095C94; /* 0x2B095C6D: jge 0x2b095c94 */ 18101 L_2B095C6F: 18102 eax = MEM32(esi + 0x24); /* 0x2B095C6F: mov eax, dword ptr [esi + 0x24] */ 18103 ecx = MEM32(eax + 0x20); /* 0x2B095C72: mov ecx, dword ptr [eax + 0x20] */ 18104 ecx = MEM32(ecx + 0x34); /* 0x2B095C75: mov ecx, dword ptr [ecx + 0x34] */ 18105 RECOMP_ICALL(MEM32(0x2B0B56F8)); /* 0x2B095C78: call dword ptr [0x2b0b56f8] */ 18106 RECOMP_FLAGS_IN(); 18107 eax = (uint32_t)((int32_t)eax * (int32_t)MEM32(ebp + 0xC)); /* 0x2B095C7E: imul eax, dword ptr [ebp + 0xc] */ 18108 ecx = MEM32(esi + 0x24); /* 0x2B095C82: mov ecx, dword ptr [esi + 0x24] */ 18109 PUSH32(esp, eax); /* 0x2B095C85: push eax */ 18110 RECOMP_ICALL(MEM32(0x2B0B5800)); /* 0x2B095C86: call dword ptr [0x2b0b5800] */ 18111 RECOMP_FLAGS_IN(); 18112 edi = POP32_VAL(esp); /* 0x2B095C8C: pop edi */ 18113 esi = POP32_VAL(esp); /* 0x2B095C8D: pop esi */ 18114 esp = ebp; /* 0x2B095C8E: mov esp, ebp */ 18115 ebp = POP32_VAL(esp); /* 0x2B095C90: pop ebp */ 18116 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B095C91: ret 8 */ 18117 L_2B095C94: 18118 edx = MEM32(eax + 0x20); /* 0x2B095C94: mov edx, dword ptr [eax + 0x20] */ 18119 ecx = MEM32(edx + 0x34); /* 0x2B095C97: mov ecx, dword ptr [edx + 0x34] */ 18120 RECOMP_ICALL(MEM32(0x2B0B56F8)); /* 0x2B095C9A: call dword ptr [0x2b0b56f8] */ 18121 RECOMP_FLAGS_IN(); 18122 eax = (uint32_t)((int32_t)eax * (int32_t)MEM32(ebp + 0xC)); /* 0x2B095CA0: imul eax, dword ptr [ebp + 0xc] */ 18123 ecx = MEM32(esi + 0x28); /* 0x2B095CA4: mov ecx, dword ptr [esi + 0x28] */ 18124 PUSH32(esp, eax); /* 0x2B095CA7: push eax */ 18125 RECOMP_ICALL(MEM32(0x2B0B5800)); /* 0x2B095CA8: call dword ptr [0x2b0b5800] */ 18126 RECOMP_FLAGS_IN(); 18127 edi = POP32_VAL(esp); /* 0x2B095CAE: pop edi */ 18128 esi = POP32_VAL(esp); /* 0x2B095CAF: pop esi */ 18129 esp = ebp; /* 0x2B095CB0: mov esp, ebp */ 18130 ebp = POP32_VAL(esp); /* 0x2B095CB2: pop ebp */ 18131 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B095CB3: ret 8 */ 18132 RECOMP_REGS_OUT(); 18133 } 18134 18135 void sub_2B095CC0(void) { 18136 int _fpu_cmp = 0; 18137 uint32_t _cf = 0; 18138 int _df = 1; 18139 uint32_t _flag_k = FK_NONE; 18140 uint32_t _flag_a = 0, _flag_b = 0; 18141 uint32_t _itail_tgt = 0; 18142 RECOMP_REGS_LOCALS 18143 RECOMP_ENTER(0x2B095CC0u); 18144 18145 L_2B095CC0: 18146 PUSH32(esp, ebp); /* 0x2B095CC0: push ebp */ 18147 ebp = esp; /* 0x2B095CC1: mov ebp, esp */ 18148 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 18149 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18150 esp = esp - 8; /* 0x2B095CC3: sub esp, 8 */ 18151 _flag_k = FK_CMP; 18152 ecx = MEM32(ebp + 0x8); /* 0x2B095CC6: mov ecx, dword ptr [ebp + 8] */ 18153 /* test ecx, ecx */ /* 0x2B095CC9: test ecx, ecx */ 18154 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 18155 _cf = 0; 18156 _flag_k = FK_TEST; 18157 if (TEST_Z(_flag_a, _flag_b)) goto L_2B095CF2; /* 0x2B095CCB: je 0x2b095cf2 */ 18158 L_2B095CCD: 18159 eax = MEM32(ecx + 0x94); /* 0x2B095CCD: mov eax, dword ptr [ecx + 0x94] */ 18160 edx = MEM32(ecx + 0x98); /* 0x2B095CD3: mov edx, dword ptr [ecx + 0x98] */ 18161 PUSH32(esp, esi); /* 0x2B095CD9: push esi */ 18162 esi = MEM32(ebp + 0xC); /* 0x2B095CDA: mov esi, dword ptr [ebp + 0xc] */ 18163 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi)); 18164 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18165 eax = eax + MEM32(esi); /* 0x2B095CDD: add eax, dword ptr [esi] */ 18166 _flag_k = FK_ADD; 18167 MEM32(ebp + (-0x8)) = eax; /* 0x2B095CDF: mov dword ptr [ebp - 8], eax */ 18168 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18169 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18170 edx = edx + MEM32(esi + 0x4); /* 0x2B095CE2: add edx, dword ptr [esi + 4] */ 18171 _flag_k = FK_ADD; 18172 eax = ebp + (-0x8); /* 0x2B095CE5: lea eax, [ebp - 8] */ 18173 PUSH32(esp, eax); /* 0x2B095CE8: push eax */ 18174 MEM32(ebp + (-0x4)) = edx; /* 0x2B095CE9: mov dword ptr [ebp - 4], edx */ 18175 RECOMP_ICALL(0x2B095320u); /* 0x2B095CEC: call 0x2b095320 */ /* not lifted */ 18176 RECOMP_FLAGS_IN(); 18177 esi = POP32_VAL(esp); /* 0x2B095CF1: pop esi */ 18178 L_2B095CF2: 18179 esp = ebp; /* 0x2B095CF2: mov esp, ebp */ 18180 ebp = POP32_VAL(esp); /* 0x2B095CF4: pop ebp */ 18181 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B095CF5: ret */ 18182 RECOMP_REGS_OUT(); 18183 } 18184 18185 void sub_2B095D00(void) { 18186 int _fpu_cmp = 0; 18187 uint32_t _cf = 0; 18188 int _df = 1; 18189 uint32_t _flag_k = FK_NONE; 18190 uint32_t _flag_a = 0, _flag_b = 0; 18191 uint32_t _itail_tgt = 0; 18192 RECOMP_REGS_LOCALS 18193 RECOMP_ENTER(0x2B095D00u); 18194 18195 L_2B095D00: 18196 PUSH32(esp, ebp); /* 0x2B095D00: push ebp */ 18197 ebp = esp; /* 0x2B095D01: mov ebp, esp */ 18198 eax = MEM32(ebp + 0x8); /* 0x2B095D03: mov eax, dword ptr [ebp + 8] */ 18199 /* test eax, eax */ /* 0x2B095D06: test eax, eax */ 18200 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 18201 _cf = 0; 18202 _flag_k = FK_TEST; 18203 if (TEST_Z(_flag_a, _flag_b)) goto L_2B095D14; /* 0x2B095D08: je 0x2b095d14 */ 18204 L_2B095D0A: 18205 MEM32(eax + 0x88) = 0; /* 0x2B095D0A: mov dword ptr [eax + 0x88], 0 */ 18206 L_2B095D14: 18207 ebp = POP32_VAL(esp); /* 0x2B095D14: pop ebp */ 18208 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B095D15: ret */ 18209 RECOMP_REGS_OUT(); 18210 } 18211 18212 void sub_2B095D20(void) { 18213 int _fpu_cmp = 0; 18214 uint32_t _cf = 0; 18215 int _df = 1; 18216 uint32_t _flag_k = FK_NONE; 18217 uint32_t _flag_a = 0, _flag_b = 0; 18218 uint32_t _itail_tgt = 0; 18219 RECOMP_REGS_LOCALS 18220 RECOMP_ENTER(0x2B095D20u); 18221 18222 L_2B095D20: 18223 PUSH32(esp, ebp); /* 0x2B095D20: push ebp */ 18224 ebp = esp; /* 0x2B095D21: mov ebp, esp */ 18225 eax = MEM32(ebp + 0x8); /* 0x2B095D23: mov eax, dword ptr [ebp + 8] */ 18226 /* test eax, eax */ /* 0x2B095D26: test eax, eax */ 18227 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 18228 _cf = 0; 18229 _flag_k = FK_TEST; 18230 if (TEST_Z(_flag_a, _flag_b)) goto L_2B095D34; /* 0x2B095D28: je 0x2b095d34 */ 18231 L_2B095D2A: 18232 MEM32(eax + 0x88) = 0xFFFFFFFFu; /* 0x2B095D2A: mov dword ptr [eax + 0x88], 0xffffffff */ 18233 L_2B095D34: 18234 ebp = POP32_VAL(esp); /* 0x2B095D34: pop ebp */ 18235 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B095D35: ret */ 18236 RECOMP_REGS_OUT(); 18237 } 18238 18239 void sub_2B095D40(void) { 18240 int _fpu_cmp = 0; 18241 uint32_t _cf = 0; 18242 int _df = 1; 18243 uint32_t _flag_k = FK_NONE; 18244 uint32_t _flag_a = 0, _flag_b = 0; 18245 uint32_t _itail_tgt = 0; 18246 RECOMP_REGS_LOCALS 18247 RECOMP_ENTER(0x2B095D40u); 18248 18249 L_2B095D40: 18250 PUSH32(esp, ebp); /* 0x2B095D40: push ebp */ 18251 ebp = esp; /* 0x2B095D41: mov ebp, esp */ 18252 ecx = MEM32(ebp + 0x8); /* 0x2B095D43: mov ecx, dword ptr [ebp + 8] */ 18253 /* test ecx, ecx */ /* 0x2B095D46: test ecx, ecx */ 18254 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 18255 _cf = 0; 18256 _flag_k = FK_TEST; 18257 if (TEST_Z(_flag_a, _flag_b)) goto L_2B095D5A; /* 0x2B095D48: je 0x2b095d5a */ 18258 L_2B095D4A: 18259 SET_LO8(eax, MEM8(ebp + 0x10)); /* 0x2B095D4A: mov al, byte ptr [ebp + 0x10] */ 18260 /* test LO8(eax), LO8(eax) */ /* 0x2B095D4D: test al, al */ 18261 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18262 _cf = 0; 18263 _flag_k = FK_NARROW(FK_TEST, 24); 18264 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B095D5A; /* 0x2B095D4F: jne 0x2b095d5a */ 18265 L_2B095D51: 18266 eax = MEM32(ebp + 0xC); /* 0x2B095D51: mov eax, dword ptr [ebp + 0xc] */ 18267 PUSH32(esp, eax); /* 0x2B095D54: push eax */ 18268 RECOMP_ICALL(0x2B0955C0u); /* 0x2B095D55: call 0x2b0955c0 */ /* not lifted */ 18269 RECOMP_FLAGS_IN(); 18270 L_2B095D5A: 18271 ebp = POP32_VAL(esp); /* 0x2B095D5A: pop ebp */ 18272 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B095D5B: ret */ 18273 RECOMP_REGS_OUT(); 18274 } 18275 18276 void sub_2B095D60(void) { 18277 int _fpu_cmp = 0; 18278 uint32_t _cf = 0; 18279 int _df = 1; 18280 uint32_t _flag_k = FK_NONE; 18281 uint32_t _flag_a = 0, _flag_b = 0; 18282 uint32_t _itail_tgt = 0; 18283 RECOMP_REGS_LOCALS 18284 RECOMP_ENTER(0x2B095D60u); 18285 18286 L_2B095D60: 18287 PUSH32(esp, ebp); /* 0x2B095D60: push ebp */ 18288 ebp = esp; /* 0x2B095D61: mov ebp, esp */ 18289 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B095D63: push -1 */ 18290 PUSH32(esp, 0x2B0B30AEu); /* 0x2B095D65: push 0x2b0b30ae */ 18291 eax = MEM32(FS_BASE + (0)); /* 0x2B095D6A: mov eax, dword ptr fs:[0] */ 18292 PUSH32(esp, eax); /* 0x2B095D70: push eax */ 18293 MEM32(FS_BASE + (0)) = esp; /* 0x2B095D71: mov dword ptr fs:[0], esp */ 18294 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 18295 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18296 esp = esp - 0x1Cu; /* 0x2B095D78: sub esp, 0x1c */ 18297 _flag_k = FK_CMP; 18298 eax = MEM32(ebp + 0xC); /* 0x2B095D7B: mov eax, dword ptr [ebp + 0xc] */ 18299 eax = MEM32(eax + 0x4); /* 0x2B095D7E: mov eax, dword ptr [eax + 4] */ 18300 PUSH32(esp, ebx); /* 0x2B095D81: push ebx */ 18301 PUSH32(esp, esi); /* 0x2B095D82: push esi */ 18302 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18303 esi = 0; /* 0x2B095D83: xor esi, esi */ 18304 _cf = 0; 18305 _flag_k = FK_TEST; 18306 /* cmp eax, esi */ /* 0x2B095D85: cmp eax, esi */ 18307 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 18308 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18309 _flag_k = FK_CMP; 18310 PUSH32(esp, edi); /* 0x2B095D87: push edi */ 18311 if (CMP_NE(_flag_a, _flag_b)) goto L_2B095D8F; /* 0x2B095D88: jne 0x2b095d8f */ 18312 L_2B095D8A: 18313 eax = MEM32(0x2B0B513C); /* 0x2B095D8A: mov eax, dword ptr [0x2b0b513c] */ 18314 L_2B095D8F: 18315 PUSH32(esp, eax); /* 0x2B095D8F: push eax */ 18316 RECOMP_ICALL(MEM32(0x2B0B526C)); /* 0x2B095D90: call dword ptr [0x2b0b526c] */ 18317 RECOMP_FLAGS_IN(); 18318 ebx = MEM32(ebp + 0x8); /* 0x2B095D96: mov ebx, dword ptr [ebp + 8] */ 18319 edi = eax; /* 0x2B095D99: mov edi, eax */ 18320 eax = MEM32(ebx + 0x70); /* 0x2B095D9B: mov eax, dword ptr [ebx + 0x70] */ 18321 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18322 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18323 esp = esp + 4; /* 0x2B095D9E: add esp, 4 */ 18324 _flag_k = FK_ADD; 18325 /* cmp eax, esi */ /* 0x2B095DA1: cmp eax, esi */ 18326 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 18327 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18328 _flag_k = FK_CMP; 18329 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B095EEC; /* 0x2B095DA3: je 0x2b095eec */ 18330 L_2B095DA9: 18331 ecx = MEM32(ebx + 0x74); /* 0x2B095DA9: mov ecx, dword ptr [ebx + 0x74] */ 18332 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 18333 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18334 ecx = ecx - eax; /* 0x2B095DAC: sub ecx, eax */ 18335 _flag_k = FK_CMP; 18336 if (4u) _cf = (((ecx) >> 3) & 1u); /* 0x2B095DAE: sar ecx, 4 */ 18337 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 18338 ecx = (uint32_t)((int32_t)ecx >> 4u); 18339 /* cmp edi, ecx */ /* 0x2B095DB1: cmp edi, ecx */ 18340 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 18341 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18342 _flag_k = FK_CMP; 18343 if (CMP_AE(_flag_a, _flag_b)) goto L_2B095EEC; /* 0x2B095DB3: jae 0x2b095eec */ 18344 L_2B095DB9: 18345 edx = edi; /* 0x2B095DB9: mov edx, edi */ 18346 if (4u) _cf = (((edx) >> 28) & 1u); /* 0x2B095DBB: shl edx, 4 */ 18347 if (4u) { _flag_a = recomp_flags_pack((edx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 18348 edx = edx << 4u; /* 0x2B095DBB: shl edx, 4 */ 18349 PUSH32(esp, 2); /* 0x2B095DBE: push 2 */ 18350 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 18351 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18352 edx = edx + eax; /* 0x2B095DC0: add edx, eax */ 18353 _flag_k = FK_ADD; 18354 PUSH32(esp, edx); /* 0x2B095DC2: push edx */ 18355 ecx = ebx; /* 0x2B095DC3: mov ecx, ebx */ 18356 RECOMP_ICALL(0x2B0945B0u); /* 0x2B095DC5: call 0x2b0945b0 */ /* not lifted */ 18357 RECOMP_FLAGS_IN(); 18358 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B095DCA: call dword ptr [0x2b0b5b64] */ 18359 RECOMP_FLAGS_IN(); 18360 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 18361 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18362 eax = eax + 0xD4u; /* 0x2B095DD0: add eax, 0xd4 */ 18363 _flag_k = FK_ADD; 18364 ecx = ebp + (-0x14); /* 0x2B095DD5: lea ecx, [ebp - 0x14] */ 18365 /* cmp ecx, eax */ /* 0x2B095DD8: cmp ecx, eax */ 18366 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 18367 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18368 _flag_k = FK_CMP; 18369 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B095DE7; /* 0x2B095DDA: je 0x2b095de7 */ 18370 L_2B095DDC: 18371 edx = MEM32(eax); /* 0x2B095DDC: mov edx, dword ptr [eax] */ 18372 MEM32(ebp + (-0x14)) = edx; /* 0x2B095DDE: mov dword ptr [ebp - 0x14], edx */ 18373 eax = MEM32(eax + 0x4); /* 0x2B095DE1: mov eax, dword ptr [eax + 4] */ 18374 MEM32(ebp + (-0x10)) = eax; /* 0x2B095DE4: mov dword ptr [ebp - 0x10], eax */ 18375 L_2B095DE7: 18376 PUSH32(esp, edi); /* 0x2B095DE7: push edi */ 18377 ecx = ebx + 0x3C; /* 0x2B095DE8: lea ecx, [ebx + 0x3c] */ 18378 PUSH32(esp, ecx); /* 0x2B095DEB: push ecx */ 18379 edx = ebp + (-0x14); /* 0x2B095DEC: lea edx, [ebp - 0x14] */ 18380 PUSH32(esp, edx); /* 0x2B095DEF: push edx */ 18381 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B095DF0: call dword ptr [0x2b0b5d6c] */ 18382 RECOMP_FLAGS_IN(); 18383 ecx = eax; /* 0x2B095DF6: mov ecx, eax */ 18384 RECOMP_ICALL(MEM32(0x2B0B5CF0)); /* 0x2B095DF8: call dword ptr [0x2b0b5cf0] */ 18385 RECOMP_FLAGS_IN(); 18386 SET_LO8(eax, MEM8(ebp + 0xF)); /* 0x2B095DFE: mov al, byte ptr [ebp + 0xf] */ 18387 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 18388 ecx = ecx | 0xFFFFFFFFu; /* 0x2B095E01: or ecx, 0xffffffff */ 18389 _cf = 0; 18390 _flag_k = FK_TEST; 18391 MEM8(ebp + (-0x28)) = (uint8_t)(LO8(eax)); /* 0x2B095E04: mov byte ptr [ebp - 0x28], al */ 18392 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18393 eax = 0; /* 0x2B095E07: xor eax, eax */ 18394 _cf = 0; 18395 _flag_k = FK_TEST; 18396 edi = 0x2B0EE648u; /* 0x2B095E09: mov edi, 0x2b0ee648 */ 18397 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B095E0E: repne scasb al, byte ptr es:[edi] */ 18398 ecx = ~ecx; /* 0x2B095E10: not ecx */ 18399 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 18400 ecx = ecx - 1; /* 0x2B095E12: dec ecx */ 18401 _flag_k = FK_DEC; 18402 PUSH32(esp, ecx); /* 0x2B095E13: push ecx */ 18403 PUSH32(esp, 0x2B0EE648u); /* 0x2B095E14: push 0x2b0ee648 */ 18404 ecx = ebp + (-0x28); /* 0x2B095E19: lea ecx, [ebp - 0x28] */ 18405 MEM32(ebp + (-0x24)) = esi; /* 0x2B095E1C: mov dword ptr [ebp - 0x24], esi */ 18406 MEM32(ebp + (-0x20)) = esi; /* 0x2B095E1F: mov dword ptr [ebp - 0x20], esi */ 18407 MEM32(ebp + (-0x1C)) = esi; /* 0x2B095E22: mov dword ptr [ebp - 0x1c], esi */ 18408 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B095E25: call dword ptr [0x2b0b5148] */ 18409 RECOMP_FLAGS_IN(); 18410 MEM32(ebp + (-0x18)) = esi; /* 0x2B095E2B: mov dword ptr [ebp - 0x18], esi */ 18411 ecx = ebp + (-0x28); /* 0x2B095E2E: lea ecx, [ebp - 0x28] */ 18412 PUSH32(esp, ecx); /* 0x2B095E31: push ecx */ 18413 ecx = MEM32(ebx + 0x28); /* 0x2B095E32: mov ecx, dword ptr [ebx + 0x28] */ 18414 MEM32(ebp + (-0x4)) = esi; /* 0x2B095E35: mov dword ptr [ebp - 4], esi */ 18415 RECOMP_ICALL(MEM32(0x2B0B59D4)); /* 0x2B095E38: call dword ptr [0x2b0b59d4] */ 18416 RECOMP_FLAGS_IN(); 18417 edi = MEM32(ebp + (-0x18)); /* 0x2B095E3E: mov edi, dword ptr [ebp - 0x18] */ 18418 /* cmp edi, esi */ /* 0x2B095E41: cmp edi, esi */ 18419 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 18420 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18421 _flag_k = FK_CMP; 18422 MEM32(ebp + (-0x4)) = 1; /* 0x2B095E43: mov dword ptr [ebp - 4], 1 */ 18423 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B095E89; /* 0x2B095E4A: je 0x2b095e89 */ 18424 L_2B095E4C: 18425 edx = MEM32(edi + 0x2C); /* 0x2B095E4C: mov edx, dword ptr [edi + 0x2c] */ 18426 eax = edi + 0x2C; /* 0x2B095E4F: lea eax, [edi + 0x2c] */ 18427 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 18428 edx = edx - 1; /* 0x2B095E52: dec edx */ 18429 _flag_k = FK_DEC; 18430 ecx = edx; /* 0x2B095E53: mov ecx, edx */ 18431 /* cmp ecx, esi */ /* 0x2B095E55: cmp ecx, esi */ 18432 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 18433 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18434 _flag_k = FK_CMP; 18435 MEM32(eax) = edx; /* 0x2B095E57: mov dword ptr [eax], edx */ 18436 if (CMP_NE(_flag_a, _flag_b)) goto L_2B095E89; /* 0x2B095E59: jne 0x2b095e89 */ 18437 L_2B095E5B: 18438 /* cmp edi, esi */ /* 0x2B095E5B: cmp edi, esi */ 18439 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 18440 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18441 _flag_k = FK_CMP; 18442 MEM32(ebp + 0xC) = edi; /* 0x2B095E5D: mov dword ptr [ebp + 0xc], edi */ 18443 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B095E89; /* 0x2B095E60: je 0x2b095e89 */ 18444 L_2B095E62: 18445 PUSH32(esp, 1); /* 0x2B095E62: push 1 */ 18446 ecx = edi + 0x1C; /* 0x2B095E64: lea ecx, [edi + 0x1c] */ 18447 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B095E67: mov byte ptr [ebp - 4], 2 */ 18448 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B095E6B: call dword ptr [0x2b0b514c] */ 18449 RECOMP_FLAGS_IN(); 18450 PUSH32(esp, 1); /* 0x2B095E71: push 1 */ 18451 ecx = edi + 0xC; /* 0x2B095E73: lea ecx, [edi + 0xc] */ 18452 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B095E76: mov byte ptr [ebp - 4], 1 */ 18453 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B095E7A: call dword ptr [0x2b0b514c] */ 18454 RECOMP_FLAGS_IN(); 18455 PUSH32(esp, edi); /* 0x2B095E80: push edi */ 18456 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B095E81: call 0x2b0ab1ba */ /* not lifted */ 18457 RECOMP_FLAGS_IN(); 18458 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18459 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18460 esp = esp + 4; /* 0x2B095E86: add esp, 4 */ 18461 _flag_k = FK_ADD; 18462 L_2B095E89: 18463 PUSH32(esp, 1); /* 0x2B095E89: push 1 */ 18464 ecx = ebp + (-0x28); /* 0x2B095E8B: lea ecx, [ebp - 0x28] */ 18465 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B095E8E: mov dword ptr [ebp - 4], 0xffffffff */ 18466 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B095E95: call dword ptr [0x2b0b514c] */ 18467 RECOMP_FLAGS_IN(); 18468 esi = MEM32(ebx + 0x74); /* 0x2B095E9B: mov esi, dword ptr [ebx + 0x74] */ 18469 /* cmp esi, esi */ /* 0x2B095E9E: cmp esi, esi */ 18470 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 18471 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18472 _flag_k = FK_CMP; 18473 edi = MEM32(ebx + 0x70); /* 0x2B095EA0: mov edi, dword ptr [ebx + 0x70] */ 18474 MEM32(ebp + 0xC) = esi; /* 0x2B095EA3: mov dword ptr [ebp + 0xc], esi */ 18475 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B095EC9; /* 0x2B095EA6: je 0x2b095ec9 */ 18476 L_2B095EA8: 18477 edx = MEM32(0x2B0B515C); /* 0x2B095EA8: mov edx, dword ptr [0x2b0b515c] */ 18478 eax = MEM32(edx); /* 0x2B095EAE: mov eax, dword ptr [edx] */ 18479 PUSH32(esp, eax); /* 0x2B095EB0: push eax */ 18480 PUSH32(esp, 0); /* 0x2B095EB1: push 0 */ 18481 PUSH32(esp, esi); /* 0x2B095EB3: push esi */ 18482 ecx = edi; /* 0x2B095EB4: mov ecx, edi */ 18483 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B095EB6: call dword ptr [0x2b0b5158] */ 18484 RECOMP_FLAGS_IN(); 18485 eax = MEM32(ebp + 0xC); /* 0x2B095EBC: mov eax, dword ptr [ebp + 0xc] */ 18486 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 18487 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18488 esi = esi + 0x10u; /* 0x2B095EBF: add esi, 0x10 */ 18489 _flag_k = FK_ADD; 18490 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 18491 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18492 edi = edi + 0x10u; /* 0x2B095EC2: add edi, 0x10 */ 18493 _flag_k = FK_ADD; 18494 /* cmp esi, eax */ /* 0x2B095EC5: cmp esi, eax */ 18495 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 18496 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18497 _flag_k = FK_CMP; 18498 RECOMP_BACKEDGE(); 18499 if (CMP_NE(_flag_a, _flag_b)) goto L_2B095EA8; /* 0x2B095EC7: jne 0x2b095ea8 */ 18500 L_2B095EC9: 18501 eax = MEM32(ebx + 0x74); /* 0x2B095EC9: mov eax, dword ptr [ebx + 0x74] */ 18502 /* cmp edi, eax */ /* 0x2B095ECC: cmp edi, eax */ 18503 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 18504 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18505 _flag_k = FK_CMP; 18506 MEM32(ebp + 0xC) = eax; /* 0x2B095ECE: mov dword ptr [ebp + 0xc], eax */ 18507 esi = edi; /* 0x2B095ED1: mov esi, edi */ 18508 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B095EE9; /* 0x2B095ED3: je 0x2b095ee9 */ 18509 L_2B095ED5: 18510 PUSH32(esp, 1); /* 0x2B095ED5: push 1 */ 18511 ecx = esi; /* 0x2B095ED7: mov ecx, esi */ 18512 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B095ED9: call dword ptr [0x2b0b514c] */ 18513 RECOMP_FLAGS_IN(); 18514 eax = MEM32(ebp + 0xC); /* 0x2B095EDF: mov eax, dword ptr [ebp + 0xc] */ 18515 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 18516 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18517 esi = esi + 0x10u; /* 0x2B095EE2: add esi, 0x10 */ 18518 _flag_k = FK_ADD; 18519 /* cmp esi, eax */ /* 0x2B095EE5: cmp esi, eax */ 18520 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 18521 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18522 _flag_k = FK_CMP; 18523 RECOMP_BACKEDGE(); 18524 if (CMP_NE(_flag_a, _flag_b)) goto L_2B095ED5; /* 0x2B095EE7: jne 0x2b095ed5 */ 18525 L_2B095EE9: 18526 MEM32(ebx + 0x74) = edi; /* 0x2B095EE9: mov dword ptr [ebx + 0x74], edi */ 18527 L_2B095EEC: 18528 ecx = MEM32(ebp + (-0xC)); /* 0x2B095EEC: mov ecx, dword ptr [ebp - 0xc] */ 18529 edi = POP32_VAL(esp); /* 0x2B095EEF: pop edi */ 18530 esi = POP32_VAL(esp); /* 0x2B095EF0: pop esi */ 18531 ebx = POP32_VAL(esp); /* 0x2B095EF1: pop ebx */ 18532 MEM32(FS_BASE + (0)) = ecx; /* 0x2B095EF2: mov dword ptr fs:[0], ecx */ 18533 esp = ebp; /* 0x2B095EF9: mov esp, ebp */ 18534 ebp = POP32_VAL(esp); /* 0x2B095EFB: pop ebp */ 18535 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B095EFC: ret */ 18536 RECOMP_REGS_OUT(); 18537 } 18538 18539 void sub_2B095F00(void) { 18540 int _fpu_cmp = 0; 18541 uint32_t _cf = 0; 18542 int _df = 1; 18543 uint32_t _flag_k = FK_NONE; 18544 uint32_t _flag_a = 0, _flag_b = 0; 18545 uint32_t _itail_tgt = 0; 18546 RECOMP_REGS_LOCALS 18547 RECOMP_ENTER(0x2B095F00u); 18548 18549 L_2B095F00: 18550 PUSH32(esp, ebp); /* 0x2B095F00: push ebp */ 18551 ebp = esp; /* 0x2B095F01: mov ebp, esp */ 18552 PUSH32(esp, ecx); /* 0x2B095F03: push ecx */ 18553 PUSH32(esp, ebx); /* 0x2B095F04: push ebx */ 18554 PUSH32(esp, esi); /* 0x2B095F05: push esi */ 18555 PUSH32(esp, edi); /* 0x2B095F06: push edi */ 18556 edi = MEM32(ebp + 0x8); /* 0x2B095F07: mov edi, dword ptr [ebp + 8] */ 18557 SET_LO8(eax, MEM8(edi)); /* 0x2B095F0A: mov al, byte ptr [edi] */ 18558 esi = ecx; /* 0x2B095F0C: mov esi, ecx */ 18559 MEM8(esi) = (uint8_t)(LO8(eax)); /* 0x2B095F0E: mov byte ptr [esi], al */ 18560 SET_LO8(ecx, MEM8(edi + 0x1)); /* 0x2B095F10: mov cl, byte ptr [edi + 1] */ 18561 MEM8(esi + 0x1) = (uint8_t)(LO8(ecx)); /* 0x2B095F13: mov byte ptr [esi + 1], cl */ 18562 SET_LO8(edx, MEM8(edi + 0xC)); /* 0x2B095F16: mov dl, byte ptr [edi + 0xc] */ 18563 PUSH32(esp, 0x18u); /* 0x2B095F19: push 0x18 */ 18564 MEM8(esi + 0xC) = (uint8_t)(LO8(edx)); /* 0x2B095F1B: mov byte ptr [esi + 0xc], dl */ 18565 RECOMP_ICALL(0x2B0AB212u); /* 0x2B095F1E: call 0x2b0ab212 */ /* not lifted */ 18566 RECOMP_FLAGS_IN(); 18567 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18568 edx = 0; /* 0x2B095F23: xor edx, edx */ 18569 _cf = 0; 18570 _flag_k = FK_TEST; 18571 MEM32(eax + 0x4) = edx; /* 0x2B095F25: mov dword ptr [eax + 4], edx */ 18572 MEM8(eax + 0x15) = (uint8_t)(LO8(edx)); /* 0x2B095F28: mov byte ptr [eax + 0x15], dl */ 18573 SET_LO8(ecx, 1); /* 0x2B095F2B: mov cl, 1 */ 18574 MEM8(eax + 0x14) = (uint8_t)(LO8(ecx)); /* 0x2B095F2D: mov byte ptr [eax + 0x14], cl */ 18575 MEM32(esi + 0x8) = eax; /* 0x2B095F30: mov dword ptr [esi + 8], eax */ 18576 MEM8(eax + 0x15) = (uint8_t)(LO8(ecx)); /* 0x2B095F33: mov byte ptr [eax + 0x15], cl */ 18577 eax = MEM32(esi + 0x8); /* 0x2B095F36: mov eax, dword ptr [esi + 8] */ 18578 MEM32(eax) = edx; /* 0x2B095F39: mov dword ptr [eax], edx */ 18579 ecx = MEM32(esi + 0x8); /* 0x2B095F3B: mov ecx, dword ptr [esi + 8] */ 18580 MEM32(ecx + 0x8) = edx; /* 0x2B095F3E: mov dword ptr [ecx + 8], edx */ 18581 ebx = MEM32(esi + 0x8); /* 0x2B095F41: mov ebx, dword ptr [esi + 8] */ 18582 PUSH32(esp, 0x18u); /* 0x2B095F44: push 0x18 */ 18583 RECOMP_ICALL(0x2B0AB212u); /* 0x2B095F46: call 0x2b0ab212 */ /* not lifted */ 18584 RECOMP_FLAGS_IN(); 18585 MEM32(eax + 0x4) = ebx; /* 0x2B095F4B: mov dword ptr [eax + 4], ebx */ 18586 MEM8(eax + 0x14) = (uint8_t)(0); /* 0x2B095F4E: mov byte ptr [eax + 0x14], 0 */ 18587 MEM8(eax + 0x15) = (uint8_t)(0); /* 0x2B095F52: mov byte ptr [eax + 0x15], 0 */ 18588 MEM32(esi + 0x4) = eax; /* 0x2B095F56: mov dword ptr [esi + 4], eax */ 18589 MEM32(eax) = eax; /* 0x2B095F59: mov dword ptr [eax], eax */ 18590 eax = MEM32(esi + 0x4); /* 0x2B095F5B: mov eax, dword ptr [esi + 4] */ 18591 MEM32(eax + 0x8) = eax; /* 0x2B095F5E: mov dword ptr [eax + 8], eax */ 18592 ecx = MEM32(esi + 0x8); /* 0x2B095F61: mov ecx, dword ptr [esi + 8] */ 18593 eax = MEM32(esi + 0x4); /* 0x2B095F64: mov eax, dword ptr [esi + 4] */ 18594 MEM32(esi + 0x10) = 0; /* 0x2B095F67: mov dword ptr [esi + 0x10], 0 */ 18595 edx = MEM32(edi + 0x4); /* 0x2B095F6E: mov edx, dword ptr [edi + 4] */ 18596 ebx = MEM32(edx + 0x4); /* 0x2B095F71: mov ebx, dword ptr [edx + 4] */ 18597 MEM32(ebp + (-0x4)) = ecx; /* 0x2B095F74: mov dword ptr [ebp - 4], ecx */ 18598 SET_LO8(ecx, MEM8(ebx + 0x15)); /* 0x2B095F77: mov cl, byte ptr [ebx + 0x15] */ 18599 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 18600 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18601 esp = esp + 8; /* 0x2B095F7A: add esp, 8 */ 18602 _flag_k = FK_ADD; 18603 /* test LO8(ecx), LO8(ecx) */ /* 0x2B095F7D: test cl, cl */ 18604 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 18605 _cf = 0; 18606 _flag_k = FK_NARROW(FK_TEST, 24); 18607 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B095FDF; /* 0x2B095F7F: jne 0x2b095fdf */ 18608 L_2B095F81: 18609 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18610 edx = 0; /* 0x2B095F81: xor edx, edx */ 18611 _cf = 0; 18612 _flag_k = FK_TEST; 18613 SET_LO8(edx, MEM8(ebx + 0x14)); /* 0x2B095F83: mov dl, byte ptr [ebx + 0x14] */ 18614 ecx = esi; /* 0x2B095F86: mov ecx, esi */ 18615 PUSH32(esp, edx); /* 0x2B095F88: push edx */ 18616 PUSH32(esp, eax); /* 0x2B095F89: push eax */ 18617 RECOMP_ICALL(0x2B078C00u); /* 0x2B095F8A: call 0x2b078c00 */ /* not lifted */ 18618 RECOMP_FLAGS_IN(); 18619 ecx = ebx + 0xC; /* 0x2B095F8F: lea ecx, [ebx + 0xc] */ 18620 MEM32(ebp + 0x8) = eax; /* 0x2B095F92: mov dword ptr [ebp + 8], eax */ 18621 PUSH32(esp, ecx); /* 0x2B095F95: push ecx */ 18622 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 18623 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18624 eax = eax + 0xCu; /* 0x2B095F96: add eax, 0xc */ 18625 _flag_k = FK_ADD; 18626 PUSH32(esp, eax); /* 0x2B095F99: push eax */ 18627 RECOMP_ICALL(0x2B019D80u); /* 0x2B095F9A: call 0x2b019d80 */ /* not lifted */ 18628 RECOMP_FLAGS_IN(); 18629 edx = MEM32(esi + 0x8); /* 0x2B095F9F: mov edx, dword ptr [esi + 8] */ 18630 eax = MEM32(ebp + 0x8); /* 0x2B095FA2: mov eax, dword ptr [ebp + 8] */ 18631 MEM32(eax) = edx; /* 0x2B095FA5: mov dword ptr [eax], edx */ 18632 ecx = MEM32(esi + 0x8); /* 0x2B095FA7: mov ecx, dword ptr [esi + 8] */ 18633 edx = MEM32(ebp + (-0x4)); /* 0x2B095FAA: mov edx, dword ptr [ebp - 4] */ 18634 MEM32(eax + 0x8) = ecx; /* 0x2B095FAD: mov dword ptr [eax + 8], ecx */ 18635 ecx = MEM32(esi + 0x8); /* 0x2B095FB0: mov ecx, dword ptr [esi + 8] */ 18636 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 18637 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18638 esp = esp + 8; /* 0x2B095FB3: add esp, 8 */ 18639 _flag_k = FK_ADD; 18640 /* cmp edx, ecx */ /* 0x2B095FB6: cmp edx, ecx */ 18641 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 18642 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18643 _flag_k = FK_CMP; 18644 if (CMP_NE(_flag_a, _flag_b)) goto L_2B095FBD; /* 0x2B095FB8: jne 0x2b095fbd */ 18645 L_2B095FBA: 18646 MEM32(ebp + (-0x4)) = eax; /* 0x2B095FBA: mov dword ptr [ebp - 4], eax */ 18647 L_2B095FBD: 18648 PUSH32(esp, eax); /* 0x2B095FBD: push eax */ 18649 eax = MEM32(ebx); /* 0x2B095FBE: mov eax, dword ptr [ebx] */ 18650 PUSH32(esp, eax); /* 0x2B095FC0: push eax */ 18651 ecx = esi; /* 0x2B095FC1: mov ecx, esi */ 18652 RECOMP_ICALL(0x2B096970u); /* 0x2B095FC3: call 0x2b096970 */ /* not lifted */ 18653 RECOMP_FLAGS_IN(); 18654 ecx = MEM32(ebp + 0x8); /* 0x2B095FC8: mov ecx, dword ptr [ebp + 8] */ 18655 PUSH32(esp, ecx); /* 0x2B095FCB: push ecx */ 18656 MEM32(ecx) = eax; /* 0x2B095FCC: mov dword ptr [ecx], eax */ 18657 ecx = MEM32(ebx + 0x8); /* 0x2B095FCE: mov ecx, dword ptr [ebx + 8] */ 18658 PUSH32(esp, ecx); /* 0x2B095FD1: push ecx */ 18659 ecx = esi; /* 0x2B095FD2: mov ecx, esi */ 18660 RECOMP_ICALL(0x2B096970u); /* 0x2B095FD4: call 0x2b096970 */ /* not lifted */ 18661 RECOMP_FLAGS_IN(); 18662 edx = MEM32(ebp + 0x8); /* 0x2B095FD9: mov edx, dword ptr [ebp + 8] */ 18663 MEM32(edx + 0x8) = eax; /* 0x2B095FDC: mov dword ptr [edx + 8], eax */ 18664 L_2B095FDF: 18665 eax = MEM32(esi + 0x4); /* 0x2B095FDF: mov eax, dword ptr [esi + 4] */ 18666 ecx = MEM32(ebp + (-0x4)); /* 0x2B095FE2: mov ecx, dword ptr [ebp - 4] */ 18667 MEM32(eax + 0x4) = ecx; /* 0x2B095FE5: mov dword ptr [eax + 4], ecx */ 18668 edx = MEM32(edi + 0x10); /* 0x2B095FE8: mov edx, dword ptr [edi + 0x10] */ 18669 ecx = MEM32(esi + 0x8); /* 0x2B095FEB: mov ecx, dword ptr [esi + 8] */ 18670 MEM32(esi + 0x10) = edx; /* 0x2B095FEE: mov dword ptr [esi + 0x10], edx */ 18671 edx = MEM32(esi + 0x4); /* 0x2B095FF1: mov edx, dword ptr [esi + 4] */ 18672 eax = MEM32(edx + 0x4); /* 0x2B095FF4: mov eax, dword ptr [edx + 4] */ 18673 /* cmp eax, ecx */ /* 0x2B095FF7: cmp eax, ecx */ 18674 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 18675 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18676 _flag_k = FK_CMP; 18677 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09603B; /* 0x2B095FF9: je 0x2b09603b */ 18678 L_2B095FFB: 18679 ecx = MEM32(eax); /* 0x2B095FFB: mov ecx, dword ptr [eax] */ 18680 SET_LO8(ebx, MEM8(ecx + 0x15)); /* 0x2B095FFD: mov bl, byte ptr [ecx + 0x15] */ 18681 /* test LO8(ebx), LO8(ebx) */ /* 0x2B096000: test bl, bl */ 18682 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18683 _cf = 0; 18684 _flag_k = FK_NARROW(FK_TEST, 24); 18685 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09600F; /* 0x2B096002: jne 0x2b09600f */ 18686 L_2B096004: 18687 eax = ecx; /* 0x2B096004: mov eax, ecx */ 18688 ecx = MEM32(eax); /* 0x2B096006: mov ecx, dword ptr [eax] */ 18689 SET_LO8(ebx, MEM8(ecx + 0x15)); /* 0x2B096008: mov bl, byte ptr [ecx + 0x15] */ 18690 /* test LO8(ebx), LO8(ebx) */ /* 0x2B09600B: test bl, bl */ 18691 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18692 _cf = 0; 18693 _flag_k = FK_NARROW(FK_TEST, 24); 18694 RECOMP_BACKEDGE(); 18695 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096004; /* 0x2B09600D: je 0x2b096004 */ 18696 L_2B09600F: 18697 MEM32(edx) = eax; /* 0x2B09600F: mov dword ptr [edx], eax */ 18698 edx = MEM32(esi + 0x4); /* 0x2B096011: mov edx, dword ptr [esi + 4] */ 18699 ecx = MEM32(edx + 0x4); /* 0x2B096014: mov ecx, dword ptr [edx + 4] */ 18700 eax = MEM32(ecx + 0x8); /* 0x2B096017: mov eax, dword ptr [ecx + 8] */ 18701 SET_LO8(ebx, MEM8(eax + 0x15)); /* 0x2B09601A: mov bl, byte ptr [eax + 0x15] */ 18702 /* test LO8(ebx), LO8(ebx) */ /* 0x2B09601D: test bl, bl */ 18703 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18704 _cf = 0; 18705 _flag_k = FK_NARROW(FK_TEST, 24); 18706 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09602D; /* 0x2B09601F: jne 0x2b09602d */ 18707 L_2B096021: 18708 ecx = eax; /* 0x2B096021: mov ecx, eax */ 18709 eax = MEM32(ecx + 0x8); /* 0x2B096023: mov eax, dword ptr [ecx + 8] */ 18710 SET_LO8(ebx, MEM8(eax + 0x15)); /* 0x2B096026: mov bl, byte ptr [eax + 0x15] */ 18711 /* test LO8(ebx), LO8(ebx) */ /* 0x2B096029: test bl, bl */ 18712 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18713 _cf = 0; 18714 _flag_k = FK_NARROW(FK_TEST, 24); 18715 RECOMP_BACKEDGE(); 18716 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096021; /* 0x2B09602B: je 0x2b096021 */ 18717 L_2B09602D: 18718 edi = POP32_VAL(esp); /* 0x2B09602D: pop edi */ 18719 eax = esi; /* 0x2B09602E: mov eax, esi */ 18720 esi = POP32_VAL(esp); /* 0x2B096030: pop esi */ 18721 MEM32(edx + 0x8) = ecx; /* 0x2B096031: mov dword ptr [edx + 8], ecx */ 18722 ebx = POP32_VAL(esp); /* 0x2B096034: pop ebx */ 18723 esp = ebp; /* 0x2B096035: mov esp, ebp */ 18724 ebp = POP32_VAL(esp); /* 0x2B096037: pop ebp */ 18725 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B096038: ret 4 */ 18726 L_2B09603B: 18727 MEM32(edx) = edx; /* 0x2B09603B: mov dword ptr [edx], edx */ 18728 eax = MEM32(esi + 0x4); /* 0x2B09603D: mov eax, dword ptr [esi + 4] */ 18729 edi = POP32_VAL(esp); /* 0x2B096040: pop edi */ 18730 MEM32(eax + 0x8) = eax; /* 0x2B096041: mov dword ptr [eax + 8], eax */ 18731 eax = esi; /* 0x2B096044: mov eax, esi */ 18732 esi = POP32_VAL(esp); /* 0x2B096046: pop esi */ 18733 ebx = POP32_VAL(esp); /* 0x2B096047: pop ebx */ 18734 esp = ebp; /* 0x2B096048: mov esp, ebp */ 18735 ebp = POP32_VAL(esp); /* 0x2B09604A: pop ebp */ 18736 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B09604B: ret 4 */ 18737 RECOMP_REGS_OUT(); 18738 } 18739 18740 void sub_2B096050(void) { 18741 int _fpu_cmp = 0; 18742 uint32_t _cf = 0; 18743 int _df = 1; 18744 uint32_t _flag_k = FK_NONE; 18745 uint32_t _flag_a = 0, _flag_b = 0; 18746 uint32_t _itail_tgt = 0; 18747 RECOMP_REGS_LOCALS 18748 RECOMP_ENTER(0x2B096050u); 18749 18750 L_2B096050: 18751 PUSH32(esp, ebp); /* 0x2B096050: push ebp */ 18752 ebp = esp; /* 0x2B096051: mov ebp, esp */ 18753 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 18754 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18755 esp = esp - 8; /* 0x2B096053: sub esp, 8 */ 18756 _flag_k = FK_CMP; 18757 eax = MEM32(ebp + 0x8); /* 0x2B096056: mov eax, dword ptr [ebp + 8] */ 18758 PUSH32(esp, ebx); /* 0x2B096059: push ebx */ 18759 PUSH32(esp, esi); /* 0x2B09605A: push esi */ 18760 esi = ecx; /* 0x2B09605B: mov esi, ecx */ 18761 /* cmp esi, eax */ /* 0x2B09605D: cmp esi, eax */ 18762 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 18763 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18764 _flag_k = FK_CMP; 18765 PUSH32(esp, edi); /* 0x2B09605F: push edi */ 18766 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0961B1; /* 0x2B096060: je 0x2b0961b1 */ 18767 L_2B096066: 18768 edi = MEM32(esi + 0x4); /* 0x2B096066: mov edi, dword ptr [esi + 4] */ 18769 ecx = MEM32(esi + 0x10); /* 0x2B096069: mov ecx, dword ptr [esi + 0x10] */ 18770 /* test ecx, ecx */ /* 0x2B09606C: test ecx, ecx */ 18771 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 18772 _cf = 0; 18773 _flag_k = FK_TEST; 18774 eax = MEM32(edi); /* 0x2B09606E: mov eax, dword ptr [edi] */ 18775 MEM32(ebp + (-0x4)) = eax; /* 0x2B096070: mov dword ptr [ebp - 4], eax */ 18776 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0960C5; /* 0x2B096073: je 0x2b0960c5 */ 18777 L_2B096075: 18778 ecx = eax; /* 0x2B096075: mov ecx, eax */ 18779 /* cmp eax, ecx */ /* 0x2B096077: cmp eax, ecx */ 18780 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 18781 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18782 _flag_k = FK_CMP; 18783 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0960C5; /* 0x2B096079: jne 0x2b0960c5 */ 18784 L_2B09607B: 18785 /* cmp edi, edi */ /* 0x2B09607B: cmp edi, edi */ 18786 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 18787 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18788 _flag_k = FK_CMP; 18789 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0960C5; /* 0x2B09607D: jne 0x2b0960c5 */ 18790 L_2B09607F: 18791 ebx = MEM32(edi + 0x4); /* 0x2B09607F: mov ebx, dword ptr [edi + 4] */ 18792 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B096082: cmp ebx, dword ptr [esi + 8] */ 18793 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18794 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18795 _flag_k = FK_CMP; 18796 edi = ebx; /* 0x2B096085: mov edi, ebx */ 18797 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0960A8; /* 0x2B096087: je 0x2b0960a8 */ 18798 L_2B096089: 18799 eax = MEM32(edi + 0x8); /* 0x2B096089: mov eax, dword ptr [edi + 8] */ 18800 PUSH32(esp, eax); /* 0x2B09608C: push eax */ 18801 ecx = esi; /* 0x2B09608D: mov ecx, esi */ 18802 RECOMP_ICALL(0x2B096A00u); /* 0x2B09608F: call 0x2b096a00 */ /* not lifted */ 18803 RECOMP_FLAGS_IN(); 18804 edi = MEM32(edi); /* 0x2B096094: mov edi, dword ptr [edi] */ 18805 PUSH32(esp, ebx); /* 0x2B096096: push ebx */ 18806 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B096097: call 0x2b0ab1ba */ /* not lifted */ 18807 RECOMP_FLAGS_IN(); 18808 eax = MEM32(esi + 0x8); /* 0x2B09609C: mov eax, dword ptr [esi + 8] */ 18809 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18810 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18811 esp = esp + 4; /* 0x2B09609F: add esp, 4 */ 18812 _flag_k = FK_ADD; 18813 /* cmp edi, eax */ /* 0x2B0960A2: cmp edi, eax */ 18814 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 18815 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18816 _flag_k = FK_CMP; 18817 ebx = edi; /* 0x2B0960A4: mov ebx, edi */ 18818 RECOMP_BACKEDGE(); 18819 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096089; /* 0x2B0960A6: jne 0x2b096089 */ 18820 L_2B0960A8: 18821 ecx = MEM32(esi + 0x4); /* 0x2B0960A8: mov ecx, dword ptr [esi + 4] */ 18822 edx = MEM32(esi + 0x8); /* 0x2B0960AB: mov edx, dword ptr [esi + 8] */ 18823 MEM32(ecx + 0x4) = edx; /* 0x2B0960AE: mov dword ptr [ecx + 4], edx */ 18824 eax = MEM32(esi + 0x4); /* 0x2B0960B1: mov eax, dword ptr [esi + 4] */ 18825 MEM32(esi + 0x10) = 0; /* 0x2B0960B4: mov dword ptr [esi + 0x10], 0 */ 18826 MEM32(eax) = eax; /* 0x2B0960BB: mov dword ptr [eax], eax */ 18827 eax = MEM32(esi + 0x4); /* 0x2B0960BD: mov eax, dword ptr [esi + 4] */ 18828 MEM32(eax + 0x8) = eax; /* 0x2B0960C0: mov dword ptr [eax + 8], eax */ 18829 goto L_2B0960E6; /* 0x2B0960C3: jmp 0x2b0960e6 */ 18830 L_2B0960C5: 18831 /* cmp eax, edi */ /* 0x2B0960C5: cmp eax, edi */ 18832 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 18833 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18834 _flag_k = FK_CMP; 18835 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0960E6; /* 0x2B0960C7: je 0x2b0960e6 */ 18836 L_2B0960C9: 18837 ecx = ebp + (-0x4); /* 0x2B0960C9: lea ecx, [ebp - 4] */ 18838 ebx = eax; /* 0x2B0960CC: mov ebx, eax */ 18839 RECOMP_ICALL(0x2B06A300u); /* 0x2B0960CE: call 0x2b06a300 */ /* not lifted */ 18840 RECOMP_FLAGS_IN(); 18841 PUSH32(esp, ebx); /* 0x2B0960D3: push ebx */ 18842 eax = ebp + (-0x8); /* 0x2B0960D4: lea eax, [ebp - 8] */ 18843 PUSH32(esp, eax); /* 0x2B0960D7: push eax */ 18844 ecx = esi; /* 0x2B0960D8: mov ecx, esi */ 18845 RECOMP_ICALL(0x2B06D4F0u); /* 0x2B0960DA: call 0x2b06d4f0 */ /* not lifted */ 18846 RECOMP_FLAGS_IN(); 18847 eax = MEM32(ebp + (-0x4)); /* 0x2B0960DF: mov eax, dword ptr [ebp - 4] */ 18848 /* cmp eax, edi */ /* 0x2B0960E2: cmp eax, edi */ 18849 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 18850 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18851 _flag_k = FK_CMP; 18852 RECOMP_BACKEDGE(); 18853 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0960C9; /* 0x2B0960E4: jne 0x2b0960c9 */ 18854 L_2B0960E6: 18855 ecx = MEM32(ebp + 0x8); /* 0x2B0960E6: mov ecx, dword ptr [ebp + 8] */ 18856 SET_LO8(edx, MEM8(ecx + 0x1)); /* 0x2B0960E9: mov dl, byte ptr [ecx + 1] */ 18857 eax = MEM32(esi + 0x4); /* 0x2B0960EC: mov eax, dword ptr [esi + 4] */ 18858 MEM8(esi + 0x1) = (uint8_t)(LO8(edx)); /* 0x2B0960EF: mov byte ptr [esi + 1], dl */ 18859 ecx = MEM32(ecx + 0x4); /* 0x2B0960F2: mov ecx, dword ptr [ecx + 4] */ 18860 ebx = MEM32(ecx + 0x4); /* 0x2B0960F5: mov ebx, dword ptr [ecx + 4] */ 18861 SET_LO8(ecx, MEM8(ebx + 0x15)); /* 0x2B0960F8: mov cl, byte ptr [ebx + 0x15] */ 18862 /* test LO8(ecx), LO8(ecx) */ /* 0x2B0960FB: test cl, cl */ 18863 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 18864 _cf = 0; 18865 _flag_k = FK_NARROW(FK_TEST, 24); 18866 edx = MEM32(esi + 0x8); /* 0x2B0960FD: mov edx, dword ptr [esi + 8] */ 18867 MEM32(ebp + (-0x4)) = edx; /* 0x2B096100: mov dword ptr [ebp - 4], edx */ 18868 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B096159; /* 0x2B096103: jne 0x2b096159 */ 18869 L_2B096105: 18870 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18871 ecx = 0; /* 0x2B096105: xor ecx, ecx */ 18872 _cf = 0; 18873 _flag_k = FK_TEST; 18874 SET_LO8(ecx, MEM8(ebx + 0x14)); /* 0x2B096107: mov cl, byte ptr [ebx + 0x14] */ 18875 PUSH32(esp, ecx); /* 0x2B09610A: push ecx */ 18876 PUSH32(esp, eax); /* 0x2B09610B: push eax */ 18877 ecx = esi; /* 0x2B09610C: mov ecx, esi */ 18878 RECOMP_ICALL(0x2B078C00u); /* 0x2B09610E: call 0x2b078c00 */ /* not lifted */ 18879 RECOMP_FLAGS_IN(); 18880 edi = eax; /* 0x2B096113: mov edi, eax */ 18881 edx = ebx + 0xC; /* 0x2B096115: lea edx, [ebx + 0xc] */ 18882 PUSH32(esp, edx); /* 0x2B096118: push edx */ 18883 eax = edi + 0xC; /* 0x2B096119: lea eax, [edi + 0xc] */ 18884 PUSH32(esp, eax); /* 0x2B09611C: push eax */ 18885 RECOMP_ICALL(0x2B019D80u); /* 0x2B09611D: call 0x2b019d80 */ /* not lifted */ 18886 RECOMP_FLAGS_IN(); 18887 ecx = MEM32(esi + 0x8); /* 0x2B096122: mov ecx, dword ptr [esi + 8] */ 18888 eax = MEM32(ebp + (-0x4)); /* 0x2B096125: mov eax, dword ptr [ebp - 4] */ 18889 MEM32(edi) = ecx; /* 0x2B096128: mov dword ptr [edi], ecx */ 18890 edx = MEM32(esi + 0x8); /* 0x2B09612A: mov edx, dword ptr [esi + 8] */ 18891 MEM32(edi + 0x8) = edx; /* 0x2B09612D: mov dword ptr [edi + 8], edx */ 18892 ecx = MEM32(esi + 0x8); /* 0x2B096130: mov ecx, dword ptr [esi + 8] */ 18893 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 18894 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18895 esp = esp + 8; /* 0x2B096133: add esp, 8 */ 18896 _flag_k = FK_ADD; 18897 /* cmp eax, ecx */ /* 0x2B096136: cmp eax, ecx */ 18898 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 18899 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18900 _flag_k = FK_CMP; 18901 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09613D; /* 0x2B096138: jne 0x2b09613d */ 18902 L_2B09613A: 18903 MEM32(ebp + (-0x4)) = edi; /* 0x2B09613A: mov dword ptr [ebp - 4], edi */ 18904 L_2B09613D: 18905 ecx = MEM32(ebx); /* 0x2B09613D: mov ecx, dword ptr [ebx] */ 18906 PUSH32(esp, edi); /* 0x2B09613F: push edi */ 18907 PUSH32(esp, ecx); /* 0x2B096140: push ecx */ 18908 ecx = esi; /* 0x2B096141: mov ecx, esi */ 18909 RECOMP_ICALL(0x2B096970u); /* 0x2B096143: call 0x2b096970 */ /* not lifted */ 18910 RECOMP_FLAGS_IN(); 18911 MEM32(edi) = eax; /* 0x2B096148: mov dword ptr [edi], eax */ 18912 edx = MEM32(ebx + 0x8); /* 0x2B09614A: mov edx, dword ptr [ebx + 8] */ 18913 PUSH32(esp, edi); /* 0x2B09614D: push edi */ 18914 PUSH32(esp, edx); /* 0x2B09614E: push edx */ 18915 ecx = esi; /* 0x2B09614F: mov ecx, esi */ 18916 RECOMP_ICALL(0x2B096970u); /* 0x2B096151: call 0x2b096970 */ /* not lifted */ 18917 RECOMP_FLAGS_IN(); 18918 MEM32(edi + 0x8) = eax; /* 0x2B096156: mov dword ptr [edi + 8], eax */ 18919 L_2B096159: 18920 eax = MEM32(esi + 0x4); /* 0x2B096159: mov eax, dword ptr [esi + 4] */ 18921 ecx = MEM32(ebp + (-0x4)); /* 0x2B09615C: mov ecx, dword ptr [ebp - 4] */ 18922 edx = MEM32(ebp + 0x8); /* 0x2B09615F: mov edx, dword ptr [ebp + 8] */ 18923 MEM32(eax + 0x4) = ecx; /* 0x2B096162: mov dword ptr [eax + 4], ecx */ 18924 eax = MEM32(edx + 0x10); /* 0x2B096165: mov eax, dword ptr [edx + 0x10] */ 18925 edx = MEM32(esi + 0x4); /* 0x2B096168: mov edx, dword ptr [esi + 4] */ 18926 MEM32(esi + 0x10) = eax; /* 0x2B09616B: mov dword ptr [esi + 0x10], eax */ 18927 ecx = MEM32(edx + 0x4); /* 0x2B09616E: mov ecx, dword ptr [edx + 4] */ 18928 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B096171: cmp ecx, dword ptr [esi + 8] */ 18929 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18930 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18931 _flag_k = FK_CMP; 18932 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0961A9; /* 0x2B096174: je 0x2b0961a9 */ 18933 L_2B096176: 18934 eax = MEM32(ecx); /* 0x2B096176: mov eax, dword ptr [ecx] */ 18935 SET_LO8(ebx, MEM8(eax + 0x15)); /* 0x2B096178: mov bl, byte ptr [eax + 0x15] */ 18936 /* test LO8(ebx), LO8(ebx) */ /* 0x2B09617B: test bl, bl */ 18937 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18938 _cf = 0; 18939 _flag_k = FK_NARROW(FK_TEST, 24); 18940 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09618A; /* 0x2B09617D: jne 0x2b09618a */ 18941 L_2B09617F: 18942 ecx = eax; /* 0x2B09617F: mov ecx, eax */ 18943 eax = MEM32(ecx); /* 0x2B096181: mov eax, dword ptr [ecx] */ 18944 SET_LO8(ebx, MEM8(eax + 0x15)); /* 0x2B096183: mov bl, byte ptr [eax + 0x15] */ 18945 /* test LO8(ebx), LO8(ebx) */ /* 0x2B096186: test bl, bl */ 18946 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18947 _cf = 0; 18948 _flag_k = FK_NARROW(FK_TEST, 24); 18949 RECOMP_BACKEDGE(); 18950 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09617F; /* 0x2B096188: je 0x2b09617f */ 18951 L_2B09618A: 18952 MEM32(edx) = ecx; /* 0x2B09618A: mov dword ptr [edx], ecx */ 18953 edi = MEM32(esi + 0x4); /* 0x2B09618C: mov edi, dword ptr [esi + 4] */ 18954 ecx = MEM32(edi + 0x4); /* 0x2B09618F: mov ecx, dword ptr [edi + 4] */ 18955 PUSH32(esp, ecx); /* 0x2B096192: push ecx */ 18956 RECOMP_ICALL(0x2B096A40u); /* 0x2B096193: call 0x2b096a40 */ /* not lifted */ 18957 RECOMP_FLAGS_IN(); 18958 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18959 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18960 esp = esp + 4; /* 0x2B096198: add esp, 4 */ 18961 _flag_k = FK_ADD; 18962 MEM32(edi + 0x8) = eax; /* 0x2B09619B: mov dword ptr [edi + 8], eax */ 18963 edi = POP32_VAL(esp); /* 0x2B09619E: pop edi */ 18964 eax = esi; /* 0x2B09619F: mov eax, esi */ 18965 esi = POP32_VAL(esp); /* 0x2B0961A1: pop esi */ 18966 ebx = POP32_VAL(esp); /* 0x2B0961A2: pop ebx */ 18967 esp = ebp; /* 0x2B0961A3: mov esp, ebp */ 18968 ebp = POP32_VAL(esp); /* 0x2B0961A5: pop ebp */ 18969 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0961A6: ret 4 */ 18970 L_2B0961A9: 18971 MEM32(edx) = edx; /* 0x2B0961A9: mov dword ptr [edx], edx */ 18972 eax = MEM32(esi + 0x4); /* 0x2B0961AB: mov eax, dword ptr [esi + 4] */ 18973 MEM32(eax + 0x8) = eax; /* 0x2B0961AE: mov dword ptr [eax + 8], eax */ 18974 L_2B0961B1: 18975 edi = POP32_VAL(esp); /* 0x2B0961B1: pop edi */ 18976 eax = esi; /* 0x2B0961B2: mov eax, esi */ 18977 esi = POP32_VAL(esp); /* 0x2B0961B4: pop esi */ 18978 ebx = POP32_VAL(esp); /* 0x2B0961B5: pop ebx */ 18979 esp = ebp; /* 0x2B0961B6: mov esp, ebp */ 18980 ebp = POP32_VAL(esp); /* 0x2B0961B8: pop ebp */ 18981 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0961B9: ret 4 */ 18982 RECOMP_REGS_OUT(); 18983 } 18984 18985 void sub_2B0961C0(void) { 18986 int _fpu_cmp = 0; 18987 uint32_t _cf = 0; 18988 int _df = 1; 18989 uint32_t _flag_k = FK_NONE; 18990 uint32_t _flag_a = 0, _flag_b = 0; 18991 uint32_t _itail_tgt = 0; 18992 RECOMP_REGS_LOCALS 18993 RECOMP_ENTER(0x2B0961C0u); 18994 18995 L_2B0961C0: 18996 PUSH32(esp, ebp); /* 0x2B0961C0: push ebp */ 18997 ebp = esp; /* 0x2B0961C1: mov ebp, esp */ 18998 PUSH32(esp, ecx); /* 0x2B0961C3: push ecx */ 18999 SET_LO8(eax, MEM8(ebp + (-0x1))); /* 0x2B0961C4: mov al, byte ptr [ebp - 1] */ 19000 PUSH32(esp, ebx); /* 0x2B0961C7: push ebx */ 19001 PUSH32(esp, esi); /* 0x2B0961C8: push esi */ 19002 esi = ecx; /* 0x2B0961C9: mov esi, ecx */ 19003 SET_LO8(ecx, MEM8(ebp + (-0x1))); /* 0x2B0961CB: mov cl, byte ptr [ebp - 1] */ 19004 PUSH32(esp, edi); /* 0x2B0961CE: push edi */ 19005 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19006 ebx = 0; /* 0x2B0961CF: xor ebx, ebx */ 19007 _cf = 0; 19008 _flag_k = FK_TEST; 19009 PUSH32(esp, 0x18u); /* 0x2B0961D1: push 0x18 */ 19010 MEM8(esi) = (uint8_t)(LO8(eax)); /* 0x2B0961D3: mov byte ptr [esi], al */ 19011 MEM8(esi + 0x1) = (uint8_t)(LO8(ecx)); /* 0x2B0961D5: mov byte ptr [esi + 1], cl */ 19012 MEM8(esi + 0xC) = (uint8_t)(LO8(ebx)); /* 0x2B0961D8: mov byte ptr [esi + 0xc], bl */ 19013 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0961DB: call 0x2b0ab212 */ /* not lifted */ 19014 RECOMP_FLAGS_IN(); 19015 MEM32(eax + 0x4) = ebx; /* 0x2B0961E0: mov dword ptr [eax + 4], ebx */ 19016 MEM8(eax + 0x15) = (uint8_t)(LO8(ebx)); /* 0x2B0961E3: mov byte ptr [eax + 0x15], bl */ 19017 SET_LO8(ecx, 1); /* 0x2B0961E6: mov cl, 1 */ 19018 MEM8(eax + 0x14) = (uint8_t)(LO8(ecx)); /* 0x2B0961E8: mov byte ptr [eax + 0x14], cl */ 19019 MEM32(esi + 0x8) = eax; /* 0x2B0961EB: mov dword ptr [esi + 8], eax */ 19020 MEM8(eax + 0x15) = (uint8_t)(LO8(ecx)); /* 0x2B0961EE: mov byte ptr [eax + 0x15], cl */ 19021 edx = MEM32(esi + 0x8); /* 0x2B0961F1: mov edx, dword ptr [esi + 8] */ 19022 MEM32(edx) = ebx; /* 0x2B0961F4: mov dword ptr [edx], ebx */ 19023 eax = MEM32(esi + 0x8); /* 0x2B0961F6: mov eax, dword ptr [esi + 8] */ 19024 MEM32(eax + 0x8) = ebx; /* 0x2B0961F9: mov dword ptr [eax + 8], ebx */ 19025 edi = MEM32(esi + 0x8); /* 0x2B0961FC: mov edi, dword ptr [esi + 8] */ 19026 PUSH32(esp, 0x18u); /* 0x2B0961FF: push 0x18 */ 19027 RECOMP_ICALL(0x2B0AB212u); /* 0x2B096201: call 0x2b0ab212 */ /* not lifted */ 19028 RECOMP_FLAGS_IN(); 19029 MEM32(eax + 0x4) = edi; /* 0x2B096206: mov dword ptr [eax + 4], edi */ 19030 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B096209: mov byte ptr [eax + 0x14], bl */ 19031 MEM8(eax + 0x15) = (uint8_t)(LO8(ebx)); /* 0x2B09620C: mov byte ptr [eax + 0x15], bl */ 19032 MEM32(esi + 0x4) = eax; /* 0x2B09620F: mov dword ptr [esi + 4], eax */ 19033 MEM32(eax) = eax; /* 0x2B096212: mov dword ptr [eax], eax */ 19034 eax = MEM32(esi + 0x4); /* 0x2B096214: mov eax, dword ptr [esi + 4] */ 19035 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 19036 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19037 esp = esp + 8; /* 0x2B096217: add esp, 8 */ 19038 _flag_k = FK_ADD; 19039 MEM32(eax + 0x8) = eax; /* 0x2B09621A: mov dword ptr [eax + 8], eax */ 19040 edi = POP32_VAL(esp); /* 0x2B09621D: pop edi */ 19041 MEM32(esi + 0x10) = ebx; /* 0x2B09621E: mov dword ptr [esi + 0x10], ebx */ 19042 eax = esi; /* 0x2B096221: mov eax, esi */ 19043 esi = POP32_VAL(esp); /* 0x2B096223: pop esi */ 19044 ebx = POP32_VAL(esp); /* 0x2B096224: pop ebx */ 19045 esp = ebp; /* 0x2B096225: mov esp, ebp */ 19046 ebp = POP32_VAL(esp); /* 0x2B096227: pop ebp */ 19047 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B096228: ret */ 19048 RECOMP_REGS_OUT(); 19049 } 19050 19051 void sub_2B096230(void) { 19052 int _fpu_cmp = 0; 19053 uint32_t _cf = 0; 19054 int _df = 1; 19055 uint32_t _flag_k = FK_NONE; 19056 uint32_t _flag_a = 0, _flag_b = 0; 19057 uint32_t _itail_tgt = 0; 19058 RECOMP_REGS_LOCALS 19059 RECOMP_ENTER(0x2B096230u); 19060 19061 L_2B096230: 19062 PUSH32(esp, ebp); /* 0x2B096230: push ebp */ 19063 ebp = esp; /* 0x2B096231: mov ebp, esp */ 19064 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B096233: push -1 */ 19065 PUSH32(esp, 0x2B0B30C8u); /* 0x2B096235: push 0x2b0b30c8 */ 19066 eax = MEM32(FS_BASE + (0)); /* 0x2B09623A: mov eax, dword ptr fs:[0] */ 19067 PUSH32(esp, eax); /* 0x2B096240: push eax */ 19068 MEM32(FS_BASE + (0)) = esp; /* 0x2B096241: mov dword ptr fs:[0], esp */ 19069 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 19070 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19071 esp = esp - 0xCu; /* 0x2B096248: sub esp, 0xc */ 19072 _flag_k = FK_CMP; 19073 PUSH32(esp, ebx); /* 0x2B09624B: push ebx */ 19074 PUSH32(esp, esi); /* 0x2B09624C: push esi */ 19075 esi = ecx; /* 0x2B09624D: mov esi, ecx */ 19076 PUSH32(esp, edi); /* 0x2B09624F: push edi */ 19077 MEM32(ebp + (-0x10)) = esi; /* 0x2B096250: mov dword ptr [ebp - 0x10], esi */ 19078 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19079 ebx = 0; /* 0x2B096253: xor ebx, ebx */ 19080 _cf = 0; 19081 _flag_k = FK_TEST; 19082 MEM32(ebp + (-0x4)) = ebx; /* 0x2B096255: mov dword ptr [ebp - 4], ebx */ 19083 RECOMP_ICALL(0x2B096540u); /* 0x2B096258: call 0x2b096540 */ /* not lifted */ 19084 RECOMP_FLAGS_IN(); 19085 edi = MEM32(esi + 0x4); /* 0x2B09625D: mov edi, dword ptr [esi + 4] */ 19086 /* cmp MEM32(esi + 0x10), ebx */ /* 0x2B096260: cmp dword ptr [esi + 0x10], ebx */ 19087 _flag_a = (uint32_t)(MEM32(esi + 0x10)); _flag_b = (uint32_t)(ebx); 19088 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19089 _flag_k = FK_CMP; 19090 eax = MEM32(edi); /* 0x2B096263: mov eax, dword ptr [edi] */ 19091 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B096265: mov dword ptr [ebp - 4], 0xffffffff */ 19092 MEM32(ebp + (-0x10)) = eax; /* 0x2B09626C: mov dword ptr [ebp - 0x10], eax */ 19093 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0962CC; /* 0x2B09626F: je 0x2b0962cc */ 19094 L_2B096271: 19095 ecx = eax; /* 0x2B096271: mov ecx, eax */ 19096 /* cmp eax, ecx */ /* 0x2B096273: cmp eax, ecx */ 19097 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 19098 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19099 _flag_k = FK_CMP; 19100 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0962CC; /* 0x2B096275: jne 0x2b0962cc */ 19101 L_2B096277: 19102 /* cmp edi, edi */ /* 0x2B096277: cmp edi, edi */ 19103 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 19104 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19105 _flag_k = FK_CMP; 19106 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0962CC; /* 0x2B096279: jne 0x2b0962cc */ 19107 L_2B09627B: 19108 ebx = MEM32(edi + 0x4); /* 0x2B09627B: mov ebx, dword ptr [edi + 4] */ 19109 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B09627E: cmp ebx, dword ptr [esi + 8] */ 19110 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19111 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19112 _flag_k = FK_CMP; 19113 edi = ebx; /* 0x2B096281: mov edi, ebx */ 19114 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0962A4; /* 0x2B096283: je 0x2b0962a4 */ 19115 L_2B096285: 19116 eax = MEM32(edi + 0x8); /* 0x2B096285: mov eax, dword ptr [edi + 8] */ 19117 PUSH32(esp, eax); /* 0x2B096288: push eax */ 19118 ecx = esi; /* 0x2B096289: mov ecx, esi */ 19119 RECOMP_ICALL(0x2B096A00u); /* 0x2B09628B: call 0x2b096a00 */ /* not lifted */ 19120 RECOMP_FLAGS_IN(); 19121 edi = MEM32(edi); /* 0x2B096290: mov edi, dword ptr [edi] */ 19122 PUSH32(esp, ebx); /* 0x2B096292: push ebx */ 19123 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B096293: call 0x2b0ab1ba */ /* not lifted */ 19124 RECOMP_FLAGS_IN(); 19125 eax = MEM32(esi + 0x8); /* 0x2B096298: mov eax, dword ptr [esi + 8] */ 19126 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19127 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19128 esp = esp + 4; /* 0x2B09629B: add esp, 4 */ 19129 _flag_k = FK_ADD; 19130 /* cmp edi, eax */ /* 0x2B09629E: cmp edi, eax */ 19131 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 19132 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19133 _flag_k = FK_CMP; 19134 ebx = edi; /* 0x2B0962A0: mov ebx, edi */ 19135 RECOMP_BACKEDGE(); 19136 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096285; /* 0x2B0962A2: jne 0x2b096285 */ 19137 L_2B0962A4: 19138 ecx = MEM32(esi + 0x4); /* 0x2B0962A4: mov ecx, dword ptr [esi + 4] */ 19139 edx = MEM32(esi + 0x8); /* 0x2B0962A7: mov edx, dword ptr [esi + 8] */ 19140 MEM32(ecx + 0x4) = edx; /* 0x2B0962AA: mov dword ptr [ecx + 4], edx */ 19141 eax = MEM32(esi + 0x4); /* 0x2B0962AD: mov eax, dword ptr [esi + 4] */ 19142 MEM32(esi + 0x10) = 0; /* 0x2B0962B0: mov dword ptr [esi + 0x10], 0 */ 19143 MEM32(eax) = eax; /* 0x2B0962B7: mov dword ptr [eax], eax */ 19144 eax = MEM32(esi + 0x4); /* 0x2B0962B9: mov eax, dword ptr [esi + 4] */ 19145 MEM32(eax + 0x8) = eax; /* 0x2B0962BC: mov dword ptr [eax + 8], eax */ 19146 eax = ebp + (-0x14); /* 0x2B0962BF: lea eax, [ebp - 0x14] */ 19147 PUSH32(esp, eax); /* 0x2B0962C2: push eax */ 19148 ecx = esi; /* 0x2B0962C3: mov ecx, esi */ 19149 RECOMP_ICALL(0x2B018B60u); /* 0x2B0962C5: call 0x2b018b60 */ /* not lifted */ 19150 RECOMP_FLAGS_IN(); 19151 goto L_2B0962ED; /* 0x2B0962CA: jmp 0x2b0962ed */ 19152 L_2B0962CC: 19153 /* cmp eax, edi */ /* 0x2B0962CC: cmp eax, edi */ 19154 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 19155 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19156 _flag_k = FK_CMP; 19157 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0962EF; /* 0x2B0962CE: je 0x2b0962ef */ 19158 L_2B0962D0: 19159 ecx = ebp + (-0x10); /* 0x2B0962D0: lea ecx, [ebp - 0x10] */ 19160 ebx = eax; /* 0x2B0962D3: mov ebx, eax */ 19161 RECOMP_ICALL(0x2B06A300u); /* 0x2B0962D5: call 0x2b06a300 */ /* not lifted */ 19162 RECOMP_FLAGS_IN(); 19163 PUSH32(esp, ebx); /* 0x2B0962DA: push ebx */ 19164 ecx = ebp + (-0x18); /* 0x2B0962DB: lea ecx, [ebp - 0x18] */ 19165 PUSH32(esp, ecx); /* 0x2B0962DE: push ecx */ 19166 ecx = esi; /* 0x2B0962DF: mov ecx, esi */ 19167 RECOMP_ICALL(0x2B06D4F0u); /* 0x2B0962E1: call 0x2b06d4f0 */ /* not lifted */ 19168 RECOMP_FLAGS_IN(); 19169 eax = MEM32(ebp + (-0x10)); /* 0x2B0962E6: mov eax, dword ptr [ebp - 0x10] */ 19170 /* cmp eax, edi */ /* 0x2B0962E9: cmp eax, edi */ 19171 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 19172 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19173 _flag_k = FK_CMP; 19174 RECOMP_BACKEDGE(); 19175 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0962D0; /* 0x2B0962EB: jne 0x2b0962d0 */ 19176 L_2B0962ED: 19177 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19178 ebx = 0; /* 0x2B0962ED: xor ebx, ebx */ 19179 _cf = 0; 19180 _flag_k = FK_TEST; 19181 L_2B0962EF: 19182 edx = MEM32(esi + 0x4); /* 0x2B0962EF: mov edx, dword ptr [esi + 4] */ 19183 PUSH32(esp, edx); /* 0x2B0962F2: push edx */ 19184 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0962F3: call 0x2b0ab1ba */ /* not lifted */ 19185 RECOMP_FLAGS_IN(); 19186 eax = MEM32(esi + 0x8); /* 0x2B0962F8: mov eax, dword ptr [esi + 8] */ 19187 PUSH32(esp, eax); /* 0x2B0962FB: push eax */ 19188 MEM32(esi + 0x4) = ebx; /* 0x2B0962FC: mov dword ptr [esi + 4], ebx */ 19189 MEM32(esi + 0x10) = ebx; /* 0x2B0962FF: mov dword ptr [esi + 0x10], ebx */ 19190 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B096302: call 0x2b0ab1ba */ /* not lifted */ 19191 RECOMP_FLAGS_IN(); 19192 ecx = MEM32(ebp + (-0xC)); /* 0x2B096307: mov ecx, dword ptr [ebp - 0xc] */ 19193 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 19194 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19195 esp = esp + 8; /* 0x2B09630A: add esp, 8 */ 19196 _flag_k = FK_ADD; 19197 MEM32(esi + 0x8) = ebx; /* 0x2B09630D: mov dword ptr [esi + 8], ebx */ 19198 edi = POP32_VAL(esp); /* 0x2B096310: pop edi */ 19199 esi = POP32_VAL(esp); /* 0x2B096311: pop esi */ 19200 ebx = POP32_VAL(esp); /* 0x2B096312: pop ebx */ 19201 MEM32(FS_BASE + (0)) = ecx; /* 0x2B096313: mov dword ptr fs:[0], ecx */ 19202 esp = ebp; /* 0x2B09631A: mov esp, ebp */ 19203 ebp = POP32_VAL(esp); /* 0x2B09631C: pop ebp */ 19204 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09631D: ret */ 19205 RECOMP_REGS_OUT(); 19206 } 19207 19208 void sub_2B096320(void) { 19209 int _fpu_cmp = 0; 19210 uint32_t _cf = 0; 19211 int _df = 1; 19212 uint32_t _flag_k = FK_NONE; 19213 uint32_t _flag_a = 0, _flag_b = 0; 19214 uint32_t _itail_tgt = 0; 19215 RECOMP_REGS_LOCALS 19216 RECOMP_ENTER(0x2B096320u); 19217 19218 L_2B096320: 19219 PUSH32(esp, ebp); /* 0x2B096320: push ebp */ 19220 ebp = esp; /* 0x2B096321: mov ebp, esp */ 19221 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 19222 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19223 esp = esp - 8; /* 0x2B096323: sub esp, 8 */ 19224 _flag_k = FK_CMP; 19225 PUSH32(esp, ebx); /* 0x2B096326: push ebx */ 19226 PUSH32(esp, esi); /* 0x2B096327: push esi */ 19227 esi = ecx; /* 0x2B096328: mov esi, ecx */ 19228 ecx = MEM32(esi + 0x10); /* 0x2B09632A: mov ecx, dword ptr [esi + 0x10] */ 19229 /* test ecx, ecx */ /* 0x2B09632D: test ecx, ecx */ 19230 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 19231 _cf = 0; 19232 _flag_k = FK_TEST; 19233 PUSH32(esp, edi); /* 0x2B09632F: push edi */ 19234 edi = MEM32(esi + 0x4); /* 0x2B096330: mov edi, dword ptr [esi + 4] */ 19235 eax = MEM32(edi); /* 0x2B096333: mov eax, dword ptr [edi] */ 19236 MEM32(ebp + (-0x4)) = eax; /* 0x2B096335: mov dword ptr [ebp - 4], eax */ 19237 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096395; /* 0x2B096338: je 0x2b096395 */ 19238 L_2B09633A: 19239 ecx = eax; /* 0x2B09633A: mov ecx, eax */ 19240 /* cmp eax, ecx */ /* 0x2B09633C: cmp eax, ecx */ 19241 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 19242 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19243 _flag_k = FK_CMP; 19244 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096395; /* 0x2B09633E: jne 0x2b096395 */ 19245 L_2B096340: 19246 /* cmp edi, edi */ /* 0x2B096340: cmp edi, edi */ 19247 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 19248 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19249 _flag_k = FK_CMP; 19250 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096395; /* 0x2B096342: jne 0x2b096395 */ 19251 L_2B096344: 19252 ebx = MEM32(edi + 0x4); /* 0x2B096344: mov ebx, dword ptr [edi + 4] */ 19253 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B096347: cmp ebx, dword ptr [esi + 8] */ 19254 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19255 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19256 _flag_k = FK_CMP; 19257 edi = ebx; /* 0x2B09634A: mov edi, ebx */ 19258 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09636D; /* 0x2B09634C: je 0x2b09636d */ 19259 L_2B09634E: 19260 eax = MEM32(edi + 0x8); /* 0x2B09634E: mov eax, dword ptr [edi + 8] */ 19261 PUSH32(esp, eax); /* 0x2B096351: push eax */ 19262 ecx = esi; /* 0x2B096352: mov ecx, esi */ 19263 RECOMP_ICALL(0x2B096A00u); /* 0x2B096354: call 0x2b096a00 */ /* not lifted */ 19264 RECOMP_FLAGS_IN(); 19265 edi = MEM32(edi); /* 0x2B096359: mov edi, dword ptr [edi] */ 19266 PUSH32(esp, ebx); /* 0x2B09635B: push ebx */ 19267 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09635C: call 0x2b0ab1ba */ /* not lifted */ 19268 RECOMP_FLAGS_IN(); 19269 eax = MEM32(esi + 0x8); /* 0x2B096361: mov eax, dword ptr [esi + 8] */ 19270 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19271 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19272 esp = esp + 4; /* 0x2B096364: add esp, 4 */ 19273 _flag_k = FK_ADD; 19274 /* cmp edi, eax */ /* 0x2B096367: cmp edi, eax */ 19275 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 19276 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19277 _flag_k = FK_CMP; 19278 ebx = edi; /* 0x2B096369: mov ebx, edi */ 19279 RECOMP_BACKEDGE(); 19280 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09634E; /* 0x2B09636B: jne 0x2b09634e */ 19281 L_2B09636D: 19282 ecx = MEM32(esi + 0x4); /* 0x2B09636D: mov ecx, dword ptr [esi + 4] */ 19283 edx = MEM32(esi + 0x8); /* 0x2B096370: mov edx, dword ptr [esi + 8] */ 19284 MEM32(ecx + 0x4) = edx; /* 0x2B096373: mov dword ptr [ecx + 4], edx */ 19285 eax = MEM32(esi + 0x4); /* 0x2B096376: mov eax, dword ptr [esi + 4] */ 19286 MEM32(esi + 0x10) = 0; /* 0x2B096379: mov dword ptr [esi + 0x10], 0 */ 19287 MEM32(eax) = eax; /* 0x2B096380: mov dword ptr [eax], eax */ 19288 eax = MEM32(esi + 0x4); /* 0x2B096382: mov eax, dword ptr [esi + 4] */ 19289 MEM32(eax + 0x8) = eax; /* 0x2B096385: mov dword ptr [eax + 8], eax */ 19290 eax = ebp + (-0x8); /* 0x2B096388: lea eax, [ebp - 8] */ 19291 PUSH32(esp, eax); /* 0x2B09638B: push eax */ 19292 ecx = esi; /* 0x2B09638C: mov ecx, esi */ 19293 RECOMP_ICALL(0x2B018B60u); /* 0x2B09638E: call 0x2b018b60 */ /* not lifted */ 19294 RECOMP_FLAGS_IN(); 19295 goto L_2B0963B6; /* 0x2B096393: jmp 0x2b0963b6 */ 19296 L_2B096395: 19297 /* cmp eax, edi */ /* 0x2B096395: cmp eax, edi */ 19298 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 19299 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19300 _flag_k = FK_CMP; 19301 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0963B6; /* 0x2B096397: je 0x2b0963b6 */ 19302 L_2B096399: 19303 ecx = ebp + (-0x4); /* 0x2B096399: lea ecx, [ebp - 4] */ 19304 ebx = eax; /* 0x2B09639C: mov ebx, eax */ 19305 RECOMP_ICALL(0x2B06A300u); /* 0x2B09639E: call 0x2b06a300 */ /* not lifted */ 19306 RECOMP_FLAGS_IN(); 19307 PUSH32(esp, ebx); /* 0x2B0963A3: push ebx */ 19308 ecx = ebp + (-0x8); /* 0x2B0963A4: lea ecx, [ebp - 8] */ 19309 PUSH32(esp, ecx); /* 0x2B0963A7: push ecx */ 19310 ecx = esi; /* 0x2B0963A8: mov ecx, esi */ 19311 RECOMP_ICALL(0x2B06D4F0u); /* 0x2B0963AA: call 0x2b06d4f0 */ /* not lifted */ 19312 RECOMP_FLAGS_IN(); 19313 eax = MEM32(ebp + (-0x4)); /* 0x2B0963AF: mov eax, dword ptr [ebp - 4] */ 19314 /* cmp eax, edi */ /* 0x2B0963B2: cmp eax, edi */ 19315 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 19316 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19317 _flag_k = FK_CMP; 19318 RECOMP_BACKEDGE(); 19319 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096399; /* 0x2B0963B4: jne 0x2b096399 */ 19320 L_2B0963B6: 19321 edx = MEM32(esi + 0x4); /* 0x2B0963B6: mov edx, dword ptr [esi + 4] */ 19322 PUSH32(esp, edx); /* 0x2B0963B9: push edx */ 19323 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0963BA: call 0x2b0ab1ba */ /* not lifted */ 19324 RECOMP_FLAGS_IN(); 19325 eax = MEM32(esi + 0x8); /* 0x2B0963BF: mov eax, dword ptr [esi + 8] */ 19326 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19327 edi = 0; /* 0x2B0963C2: xor edi, edi */ 19328 _cf = 0; 19329 _flag_k = FK_TEST; 19330 PUSH32(esp, eax); /* 0x2B0963C4: push eax */ 19331 MEM32(esi + 0x4) = edi; /* 0x2B0963C5: mov dword ptr [esi + 4], edi */ 19332 MEM32(esi + 0x10) = edi; /* 0x2B0963C8: mov dword ptr [esi + 0x10], edi */ 19333 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0963CB: call 0x2b0ab1ba */ /* not lifted */ 19334 RECOMP_FLAGS_IN(); 19335 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 19336 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19337 esp = esp + 8; /* 0x2B0963D0: add esp, 8 */ 19338 _flag_k = FK_ADD; 19339 MEM32(esi + 0x8) = edi; /* 0x2B0963D3: mov dword ptr [esi + 8], edi */ 19340 edi = POP32_VAL(esp); /* 0x2B0963D6: pop edi */ 19341 esi = POP32_VAL(esp); /* 0x2B0963D7: pop esi */ 19342 ebx = POP32_VAL(esp); /* 0x2B0963D8: pop ebx */ 19343 esp = ebp; /* 0x2B0963D9: mov esp, ebp */ 19344 ebp = POP32_VAL(esp); /* 0x2B0963DB: pop ebp */ 19345 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0963DC: ret */ 19346 RECOMP_REGS_OUT(); 19347 } 19348 19349 void sub_2B0963B6(void) { 19350 int _fpu_cmp = 0; 19351 uint32_t _cf = 0; 19352 int _df = 1; 19353 uint32_t _flag_k = FK_NONE; 19354 uint32_t _flag_a = 0, _flag_b = 0; 19355 uint32_t _itail_tgt = 0; 19356 RECOMP_REGS_LOCALS 19357 RECOMP_ENTER(0x2B0963B6u); 19358 19359 L_2B0963B6: 19360 edx = MEM32(esi + 0x4); /* 0x2B0963B6: mov edx, dword ptr [esi + 4] */ 19361 PUSH32(esp, edx); /* 0x2B0963B9: push edx */ 19362 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0963BA: call 0x2b0ab1ba */ /* not lifted */ 19363 RECOMP_FLAGS_IN(); 19364 eax = MEM32(esi + 0x8); /* 0x2B0963BF: mov eax, dword ptr [esi + 8] */ 19365 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19366 edi = 0; /* 0x2B0963C2: xor edi, edi */ 19367 _cf = 0; 19368 _flag_k = FK_TEST; 19369 PUSH32(esp, eax); /* 0x2B0963C4: push eax */ 19370 MEM32(esi + 0x4) = edi; /* 0x2B0963C5: mov dword ptr [esi + 4], edi */ 19371 MEM32(esi + 0x10) = edi; /* 0x2B0963C8: mov dword ptr [esi + 0x10], edi */ 19372 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0963CB: call 0x2b0ab1ba */ /* not lifted */ 19373 RECOMP_FLAGS_IN(); 19374 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 19375 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19376 esp = esp + 8; /* 0x2B0963D0: add esp, 8 */ 19377 _flag_k = FK_ADD; 19378 MEM32(esi + 0x8) = edi; /* 0x2B0963D3: mov dword ptr [esi + 8], edi */ 19379 edi = POP32_VAL(esp); /* 0x2B0963D6: pop edi */ 19380 esi = POP32_VAL(esp); /* 0x2B0963D7: pop esi */ 19381 ebx = POP32_VAL(esp); /* 0x2B0963D8: pop ebx */ 19382 esp = ebp; /* 0x2B0963D9: mov esp, ebp */ 19383 ebp = POP32_VAL(esp); /* 0x2B0963DB: pop ebp */ 19384 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0963DC: ret */ 19385 RECOMP_REGS_OUT(); 19386 } 19387 19388 void sub_2B0963E0(void) { 19389 int _fpu_cmp = 0; 19390 uint32_t _cf = 0; 19391 int _df = 1; 19392 uint32_t _flag_k = FK_NONE; 19393 uint32_t _flag_a = 0, _flag_b = 0; 19394 uint32_t _itail_tgt = 0; 19395 RECOMP_REGS_LOCALS 19396 RECOMP_ENTER(0x2B0963E0u); 19397 19398 L_2B0963E0: 19399 PUSH32(esp, ebp); /* 0x2B0963E0: push ebp */ 19400 ebp = esp; /* 0x2B0963E1: mov ebp, esp */ 19401 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0963E3: push -1 */ 19402 PUSH32(esp, 0x2B0B30EBu); /* 0x2B0963E5: push 0x2b0b30eb */ 19403 eax = MEM32(FS_BASE + (0)); /* 0x2B0963EA: mov eax, dword ptr fs:[0] */ 19404 PUSH32(esp, eax); /* 0x2B0963F0: push eax */ 19405 MEM32(FS_BASE + (0)) = esp; /* 0x2B0963F1: mov dword ptr fs:[0], esp */ 19406 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 19407 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19408 esp = esp - 0x14u; /* 0x2B0963F8: sub esp, 0x14 */ 19409 _flag_k = FK_CMP; 19410 PUSH32(esp, ebx); /* 0x2B0963FB: push ebx */ 19411 ebx = MEM32(ebp + 0x8); /* 0x2B0963FC: mov ebx, dword ptr [ebp + 8] */ 19412 PUSH32(esp, esi); /* 0x2B0963FF: push esi */ 19413 PUSH32(esp, edi); /* 0x2B096400: push edi */ 19414 esi = ecx; /* 0x2B096401: mov esi, ecx */ 19415 PUSH32(esp, ebx); /* 0x2B096403: push ebx */ 19416 MEM32(ebp + (-0x10)) = esi; /* 0x2B096404: mov dword ptr [ebp - 0x10], esi */ 19417 RECOMP_ICALL(0x2B0964D0u); /* 0x2B096407: call 0x2b0964d0 */ /* not lifted */ 19418 RECOMP_FLAGS_IN(); 19419 PUSH32(esp, 0xCu); /* 0x2B09640C: push 0xc */ 19420 RECOMP_ICALL(0x2B0AB212u); /* 0x2B09640E: call 0x2b0ab212 */ /* not lifted */ 19421 RECOMP_FLAGS_IN(); 19422 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19423 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19424 esp = esp + 4; /* 0x2B096413: add esp, 4 */ 19425 _flag_k = FK_ADD; 19426 MEM32(ebp + 0x8) = eax; /* 0x2B096416: mov dword ptr [ebp + 8], eax */ 19427 /* test eax, eax */ /* 0x2B096419: test eax, eax */ 19428 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 19429 _cf = 0; 19430 _flag_k = FK_TEST; 19431 MEM32(ebp + (-0x4)) = 0; /* 0x2B09641B: mov dword ptr [ebp - 4], 0 */ 19432 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09642E; /* 0x2B096422: je 0x2b09642e */ 19433 L_2B096424: 19434 PUSH32(esp, ebx); /* 0x2B096424: push ebx */ 19435 ecx = eax; /* 0x2B096425: mov ecx, eax */ 19436 RECOMP_ICALL(0x2B0967B0u); /* 0x2B096427: call 0x2b0967b0 */ /* not lifted */ 19437 RECOMP_FLAGS_IN(); 19438 goto L_2B096430; /* 0x2B09642C: jmp 0x2b096430 */ 19439 L_2B09642E: 19440 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19441 eax = 0; /* 0x2B09642E: xor eax, eax */ 19442 _cf = 0; 19443 _flag_k = FK_TEST; 19444 L_2B096430: 19445 edx = MEM32(esi + 0x4); /* 0x2B096430: mov edx, dword ptr [esi + 4] */ 19446 ecx = MEM32(ebp + (-0x10)); /* 0x2B096433: mov ecx, dword ptr [ebp - 0x10] */ 19447 ecx = MEM32(ecx + 0x8); /* 0x2B096436: mov ecx, dword ptr [ecx + 8] */ 19448 MEM32(ebp + (-0x1C)) = eax; /* 0x2B096439: mov dword ptr [ebp - 0x1c], eax */ 19449 MEM32(ebp + (-0x20)) = ebx; /* 0x2B09643C: mov dword ptr [ebp - 0x20], ebx */ 19450 esi = MEM32(edx + 0x4); /* 0x2B09643F: mov esi, dword ptr [edx + 4] */ 19451 /* cmp esi, ecx */ /* 0x2B096442: cmp esi, ecx */ 19452 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 19453 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19454 _flag_k = FK_CMP; 19455 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B096444: mov dword ptr [ebp - 4], 0xffffffff */ 19456 edi = edx; /* 0x2B09644B: mov edi, edx */ 19457 SET_LO8(eax, 1); /* 0x2B09644D: mov al, 1 */ 19458 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B096468; /* 0x2B09644F: je 0x2b096468 */ 19459 L_2B096451: 19460 /* cmp ebx, MEM32(esi + 0xC) */ /* 0x2B096451: cmp ebx, dword ptr [esi + 0xc] */ 19461 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0xC)); 19462 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19463 _flag_k = FK_CMP; 19464 SET_LO8(eax, (CMP_L(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B096454: setl al */ 19465 /* test LO8(eax), LO8(eax) */ /* 0x2B096457: test al, al */ 19466 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19467 _cf = 0; 19468 _flag_k = FK_NARROW(FK_TEST, 24); 19469 edi = esi; /* 0x2B096459: mov edi, esi */ 19470 if (TEST_Z(_flag_a, _flag_b)) goto L_2B096461; /* 0x2B09645B: je 0x2b096461 */ 19471 L_2B09645D: 19472 esi = MEM32(esi); /* 0x2B09645D: mov esi, dword ptr [esi] */ 19473 goto L_2B096464; /* 0x2B09645F: jmp 0x2b096464 */ 19474 L_2B096461: 19475 esi = MEM32(esi + 0x8); /* 0x2B096461: mov esi, dword ptr [esi + 8] */ 19476 L_2B096464: 19477 /* cmp esi, ecx */ /* 0x2B096464: cmp esi, ecx */ 19478 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 19479 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19480 _flag_k = FK_CMP; 19481 RECOMP_BACKEDGE(); 19482 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096451; /* 0x2B096466: jne 0x2b096451 */ 19483 L_2B096468: 19484 ecx = MEM32(ebp + (-0x10)); /* 0x2B096468: mov ecx, dword ptr [ebp - 0x10] */ 19485 SET_LO8(ebx, MEM8(ecx + 0xC)); /* 0x2B09646B: mov bl, byte ptr [ecx + 0xc] */ 19486 /* test LO8(ebx), LO8(ebx) */ /* 0x2B09646E: test bl, bl */ 19487 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 19488 _cf = 0; 19489 _flag_k = FK_NARROW(FK_TEST, 24); 19490 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09647D; /* 0x2B096470: je 0x2b09647d */ 19491 L_2B096472: 19492 edx = ebp + (-0x20); /* 0x2B096472: lea edx, [ebp - 0x20] */ 19493 PUSH32(esp, edx); /* 0x2B096475: push edx */ 19494 PUSH32(esp, edi); /* 0x2B096476: push edi */ 19495 PUSH32(esp, esi); /* 0x2B096477: push esi */ 19496 eax = ebp + (-0x14); /* 0x2B096478: lea eax, [ebp - 0x14] */ 19497 goto L_2B0964B2; /* 0x2B09647B: jmp 0x2b0964b2 */ 19498 L_2B09647D: 19499 /* test LO8(eax), LO8(eax) */ /* 0x2B09647D: test al, al */ 19500 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19501 _cf = 0; 19502 _flag_k = FK_NARROW(FK_TEST, 24); 19503 MEM32(ebp + 0x8) = edi; /* 0x2B09647F: mov dword ptr [ebp + 8], edi */ 19504 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09649E; /* 0x2B096482: je 0x2b09649e */ 19505 L_2B096484: 19506 /* cmp edi, MEM32(edx) */ /* 0x2B096484: cmp edi, dword ptr [edx] */ 19507 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx)); 19508 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19509 _flag_k = FK_CMP; 19510 if (CMP_NE(_flag_a, _flag_b)) goto L_2B096493; /* 0x2B096486: jne 0x2b096493 */ 19511 L_2B096488: 19512 edx = ebp + (-0x20); /* 0x2B096488: lea edx, [ebp - 0x20] */ 19513 PUSH32(esp, edx); /* 0x2B09648B: push edx */ 19514 PUSH32(esp, edi); /* 0x2B09648C: push edi */ 19515 PUSH32(esp, esi); /* 0x2B09648D: push esi */ 19516 eax = ebp + (-0x18); /* 0x2B09648E: lea eax, [ebp - 0x18] */ 19517 goto L_2B0964B2; /* 0x2B096491: jmp 0x2b0964b2 */ 19518 L_2B096493: 19519 ecx = ebp + 0x8; /* 0x2B096493: lea ecx, [ebp + 8] */ 19520 RECOMP_ICALL(0x2B078C30u); /* 0x2B096496: call 0x2b078c30 */ /* not lifted */ 19521 RECOMP_FLAGS_IN(); 19522 ecx = MEM32(ebp + (-0x10)); /* 0x2B09649B: mov ecx, dword ptr [ebp - 0x10] */ 19523 L_2B09649E: 19524 edx = MEM32(ebp + 0x8); /* 0x2B09649E: mov edx, dword ptr [ebp + 8] */ 19525 eax = MEM32(edx + 0xC); /* 0x2B0964A1: mov eax, dword ptr [edx + 0xc] */ 19526 /* cmp eax, MEM32(ebp + (-0x20)) */ /* 0x2B0964A4: cmp eax, dword ptr [ebp - 0x20] */ 19527 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x20))); 19528 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19529 _flag_k = FK_CMP; 19530 if (CMP_GE(_flag_a, _flag_b)) goto L_2B0964B8; /* 0x2B0964A7: jge 0x2b0964b8 */ 19531 L_2B0964A9: 19532 edx = ebp + (-0x20); /* 0x2B0964A9: lea edx, [ebp - 0x20] */ 19533 PUSH32(esp, edx); /* 0x2B0964AC: push edx */ 19534 PUSH32(esp, edi); /* 0x2B0964AD: push edi */ 19535 PUSH32(esp, esi); /* 0x2B0964AE: push esi */ 19536 eax = ebp + (-0x10); /* 0x2B0964AF: lea eax, [ebp - 0x10] */ 19537 L_2B0964B2: 19538 PUSH32(esp, eax); /* 0x2B0964B2: push eax */ 19539 RECOMP_ICALL(0x2B0325B0u); /* 0x2B0964B3: call 0x2b0325b0 */ /* not lifted */ 19540 RECOMP_FLAGS_IN(); 19541 L_2B0964B8: 19542 ecx = MEM32(ebp + (-0xC)); /* 0x2B0964B8: mov ecx, dword ptr [ebp - 0xc] */ 19543 edi = POP32_VAL(esp); /* 0x2B0964BB: pop edi */ 19544 esi = POP32_VAL(esp); /* 0x2B0964BC: pop esi */ 19545 ebx = POP32_VAL(esp); /* 0x2B0964BD: pop ebx */ 19546 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0964BE: mov dword ptr fs:[0], ecx */ 19547 esp = ebp; /* 0x2B0964C5: mov esp, ebp */ 19548 ebp = POP32_VAL(esp); /* 0x2B0964C7: pop ebp */ 19549 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0964C8: ret 4 */ 19550 RECOMP_REGS_OUT(); 19551 }