aorecomp

Anarchy Online classic in the browser

git clone https://aorecomp.ubeagle.com/code/aorecomp.git


client/game/ddr.dll/lifted-0023.c (255978B)


      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_2B0579A0(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(0x2B0579A0u);
     17 
     18 L_2B0579A0:
     19     PUSH32(esp, ebp); /* 0x2B0579A0: push ebp */
     20     ebp = esp; /* 0x2B0579A1: mov ebp, esp */
     21     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
     22     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     23     esp = esp - 8; /* 0x2B0579A3: sub esp, 8 */
     24     _flag_k = FK_CMP;
     25     ecx = MEM32(0x2B0EEB20); /* 0x2B0579A6: mov ecx, dword ptr [0x2b0eeb20] */
     26     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
     27     eax = 0; /* 0x2B0579AC: xor eax, eax */
     28     _cf = 0;
     29     _flag_k = FK_TEST;
     30     /* cmp ecx, eax */ /* 0x2B0579AE: cmp ecx, eax */
     31     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
     32     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     33     _flag_k = FK_CMP;
     34     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0579D9; /* 0x2B0579B0: je 0x2b0579d9 */
     35 L_2B0579B2:
     36     MEM32(ebp + (-0x8)) = eax; /* 0x2B0579B2: mov dword ptr [ebp - 8], eax */
     37     MEM32(ebp + (-0x4)) = eax; /* 0x2B0579B5: mov dword ptr [ebp - 4], eax */
     38     eax = ebp + (-0x8); /* 0x2B0579B8: lea eax, [ebp - 8] */
     39     PUSH32(esp, eax); /* 0x2B0579BB: push eax */
     40     RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B0579BC: call dword ptr [0x2b0b53cc] */
     41     RECOMP_FLAGS_IN();
     42     ecx = eax; /* 0x2B0579C2: mov ecx, eax */
     43     RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B0579C4: call dword ptr [0x2b0b53ac] */
     44     RECOMP_FLAGS_IN();
     45     ecx = ebp + (-0x8); /* 0x2B0579CA: lea ecx, [ebp - 8] */
     46     PUSH32(esp, ecx); /* 0x2B0579CD: push ecx */
     47     ecx = MEM32(0x2B0EEB20); /* 0x2B0579CE: mov ecx, dword ptr [0x2b0eeb20] */
     48     RECOMP_ICALL(0x2B057430u); /* 0x2B0579D4: call 0x2b057430 */ /* not lifted */
     49     RECOMP_FLAGS_IN();
     50 L_2B0579D9:
     51     esp = ebp; /* 0x2B0579D9: mov esp, ebp */
     52     ebp = POP32_VAL(esp); /* 0x2B0579DB: pop ebp */
     53     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0579DC: ret  */
     54     RECOMP_REGS_OUT();
     55 }
     56 
     57 void sub_2B0579E0(void) {
     58     int _fpu_cmp = 0;
     59     uint32_t _cf = 0;
     60     int _df = 1;
     61     uint32_t _flag_k = FK_NONE;
     62     uint32_t _flag_a = 0, _flag_b = 0;
     63     uint32_t _itail_tgt = 0;
     64     RECOMP_REGS_LOCALS
     65     RECOMP_ENTER(0x2B0579E0u);
     66 
     67 L_2B0579E0:
     68     PUSH32(esp, ebp); /* 0x2B0579E0: push ebp */
     69     ebp = esp; /* 0x2B0579E1: mov ebp, esp */
     70     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
     71     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     72     esp = esp - 0x10u; /* 0x2B0579E3: sub esp, 0x10 */
     73     _flag_k = FK_CMP;
     74     ecx = MEM32(0x2B0EEB20); /* 0x2B0579E6: mov ecx, dword ptr [0x2b0eeb20] */
     75     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
     76     eax = 0; /* 0x2B0579EC: xor eax, eax */
     77     _cf = 0;
     78     _flag_k = FK_TEST;
     79     /* cmp ecx, eax */ /* 0x2B0579EE: cmp ecx, eax */
     80     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
     81     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
     82     _flag_k = FK_CMP;
     83     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B057A27; /* 0x2B0579F0: je 0x2b057a27 */
     84 L_2B0579F2:
     85     MEM32(ebp + (-0x10)) = eax; /* 0x2B0579F2: mov dword ptr [ebp - 0x10], eax */
     86     MEM32(ebp + (-0xC)) = eax; /* 0x2B0579F5: mov dword ptr [ebp - 0xc], eax */
     87     MEM32(ebp + (-0x8)) = eax; /* 0x2B0579F8: mov dword ptr [ebp - 8], eax */
     88     MEM32(ebp + (-0x4)) = eax; /* 0x2B0579FB: mov dword ptr [ebp - 4], eax */
     89     eax = ebp + (-0x8); /* 0x2B0579FE: lea eax, [ebp - 8] */
     90     PUSH32(esp, eax); /* 0x2B057A01: push eax */
     91     ecx = ebp + (-0x10); /* 0x2B057A02: lea ecx, [ebp - 0x10] */
     92     PUSH32(esp, ecx); /* 0x2B057A05: push ecx */
     93     RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B057A06: call dword ptr [0x2b0b53cc] */
     94     RECOMP_FLAGS_IN();
     95     ecx = eax; /* 0x2B057A0C: mov ecx, eax */
     96     RECOMP_ICALL(MEM32(0x2B0B5364)); /* 0x2B057A0E: call dword ptr [0x2b0b5364] */
     97     RECOMP_FLAGS_IN();
     98     ecx = MEM32(0x2B0EEB20); /* 0x2B057A14: mov ecx, dword ptr [0x2b0eeb20] */
     99     edx = ebp + (-0x8); /* 0x2B057A1A: lea edx, [ebp - 8] */
    100     PUSH32(esp, edx); /* 0x2B057A1D: push edx */
    101     eax = ebp + (-0x10); /* 0x2B057A1E: lea eax, [ebp - 0x10] */
    102     PUSH32(esp, eax); /* 0x2B057A21: push eax */
    103     RECOMP_ICALL(0x2B057450u); /* 0x2B057A22: call 0x2b057450 */ /* not lifted */
    104     RECOMP_FLAGS_IN();
    105 L_2B057A27:
    106     esp = ebp; /* 0x2B057A27: mov esp, ebp */
    107     ebp = POP32_VAL(esp); /* 0x2B057A29: pop ebp */
    108     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057A2A: ret  */
    109     RECOMP_REGS_OUT();
    110 }
    111 
    112 void sub_2B057A30(void) {
    113     int _fpu_cmp = 0;
    114     uint32_t _cf = 0;
    115     int _df = 1;
    116     uint32_t _flag_k = FK_NONE;
    117     uint32_t _flag_a = 0, _flag_b = 0;
    118     uint32_t _itail_tgt = 0;
    119     RECOMP_REGS_LOCALS
    120     RECOMP_ENTER(0x2B057A30u);
    121 
    122     goto L_2B057A30;
    123 L_2B057340:
    124     PUSH32(esp, ebp); /* 0x2B057340: push ebp */
    125     ebp = esp; /* 0x2B057341: mov ebp, esp */
    126     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x28u);
    127     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    128     esp = esp - 0x28u; /* 0x2B057343: sub esp, 0x28 */
    129     _flag_k = FK_CMP;
    130     SET_LO8(eax, MEM8(0x2B0EE981)); /* 0x2B057346: mov al, byte ptr [0x2b0ee981] */
    131     /* test LO8(eax), LO8(eax) */ /* 0x2B05734B: test al, al */
    132     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    133     _cf = 0;
    134     _flag_k = FK_NARROW(FK_TEST, 24);
    135     PUSH32(esp, ebx); /* 0x2B05734D: push ebx */
    136     ebx = ecx; /* 0x2B05734E: mov ebx, ecx */
    137     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0573D9; /* 0x2B057350: je 0x2b0573d9 */
    138 L_2B057356:
    139     PUSH32(esp, esi); /* 0x2B057356: push esi */
    140     PUSH32(esp, edi); /* 0x2B057357: push edi */
    141     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    142     esi = 0; /* 0x2B057358: xor esi, esi */
    143     _cf = 0;
    144     _flag_k = FK_TEST;
    145     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    146     eax = 0; /* 0x2B05735A: xor eax, eax */
    147     _cf = 0;
    148     _flag_k = FK_TEST;
    149     MEM32(ebp + (-0x28)) = esi; /* 0x2B05735C: mov dword ptr [ebp - 0x28], esi */
    150     MEM32(ebp + (-0x24)) = esi; /* 0x2B05735F: mov dword ptr [ebp - 0x24], esi */
    151     ecx = 0xAu; /* 0x2B057362: mov ecx, 0xa */
    152     edi = ebp + (-0x28); /* 0x2B057367: lea edi, [ebp - 0x28] */
    153     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B05736A: 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; }
    154     ecx = MEM32(ebx + 0x28); /* 0x2B05736C: mov ecx, dword ptr [ebx + 0x28] */
    155     MEM32(ebp + (-0xC)) = 0x30u; /* 0x2B05736F: mov dword ptr [ebp - 0xc], 0x30 */
    156     RECOMP_ICALL(MEM32(0x2B0B58CC)); /* 0x2B057376: call dword ptr [0x2b0b58cc] */
    157     RECOMP_FLAGS_IN();
    158     RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B05737C: call dword ptr [0x2b0b5d6c] */
    159     RECOMP_FLAGS_IN();
    160     ecx = eax; /* 0x2B057382: mov ecx, eax */
    161     RECOMP_ICALL(MEM32(0x2B0B5E20)); /* 0x2B057384: call dword ptr [0x2b0b5e20] */
    162     RECOMP_FLAGS_IN();
    163     edi = eax; /* 0x2B05738A: mov edi, eax */
    164     /* cmp edi, esi */ /* 0x2B05738C: cmp edi, esi */
    165     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi);
    166     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    167     _flag_k = FK_CMP;
    168     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0573B9; /* 0x2B05738E: je 0x2b0573b9 */
    169 L_2B057390:
    170     eax = MEM32(edi + 0x4); /* 0x2B057390: mov eax, dword ptr [edi + 4] */
    171     esi = MEM32(eax); /* 0x2B057393: mov esi, dword ptr [eax] */
    172     /* cmp esi, eax */ /* 0x2B057395: cmp esi, eax */
    173     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax);
    174     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    175     _flag_k = FK_CMP;
    176     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0573B9; /* 0x2B057397: je 0x2b0573b9 */
    177 L_2B057399:
    178     eax = MEM32(esi + 0x8); /* 0x2B057399: mov eax, dword ptr [esi + 8] */
    179     MEM32(ebp + (-0x28)) = eax; /* 0x2B05739C: mov dword ptr [ebp - 0x28], eax */
    180     ecx = MEM32(esi + 0xC); /* 0x2B05739F: mov ecx, dword ptr [esi + 0xc] */
    181     edx = ebp + (-0x28); /* 0x2B0573A2: lea edx, [ebp - 0x28] */
    182     MEM32(ebp + (-0x24)) = ecx; /* 0x2B0573A5: mov dword ptr [ebp - 0x24], ecx */
    183     ecx = MEM32(ebx + 0x28); /* 0x2B0573A8: mov ecx, dword ptr [ebx + 0x28] */
    184     PUSH32(esp, edx); /* 0x2B0573AB: push edx */
    185     RECOMP_ICALL(MEM32(0x2B0B58D0)); /* 0x2B0573AC: call dword ptr [0x2b0b58d0] */
    186     RECOMP_FLAGS_IN();
    187     esi = MEM32(esi); /* 0x2B0573B2: mov esi, dword ptr [esi] */
    188     /* cmp esi, MEM32(edi + 0x4) */ /* 0x2B0573B4: cmp esi, dword ptr [edi + 4] */
    189     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x4));
    190     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    191     _flag_k = FK_CMP;
    192     RECOMP_BACKEDGE();
    193     if (CMP_NE(_flag_a, _flag_b)) goto L_2B057399; /* 0x2B0573B7: jne 0x2b057399 */
    194 L_2B0573B9:
    195     ecx = MEM32(ebx + 0x28); /* 0x2B0573B9: mov ecx, dword ptr [ebx + 0x28] */
    196     RECOMP_ICALL(MEM32(0x2B0B58D4)); /* 0x2B0573BC: call dword ptr [0x2b0b58d4] */
    197     RECOMP_FLAGS_IN();
    198     ecx = ebx; /* 0x2B0573C2: mov ecx, ebx */
    199     RECOMP_ICALL(0x2B03A2B0u); /* 0x2B0573C4: call 0x2b03a2b0 */ /* not lifted */
    200     RECOMP_FLAGS_IN();
    201     SET_LO8(eax, MEM8(ebx + 0x1C)); /* 0x2B0573C9: mov al, byte ptr [ebx + 0x1c] */
    202     /* test LO8(eax), LO8(eax) */ /* 0x2B0573CC: test al, al */
    203     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    204     _cf = 0;
    205     _flag_k = FK_NARROW(FK_TEST, 24);
    206     edi = POP32_VAL(esp); /* 0x2B0573CE: pop edi */
    207     esi = POP32_VAL(esp); /* 0x2B0573CF: pop esi */
    208     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0573D9; /* 0x2B0573D0: jne 0x2b0573d9 */
    209 L_2B0573D2:
    210     eax = MEM32(ebx); /* 0x2B0573D2: mov eax, dword ptr [ebx] */
    211     ecx = ebx; /* 0x2B0573D4: mov ecx, ebx */
    212     RECOMP_ICALL(MEM32(eax + 0xC)); /* 0x2B0573D6: call dword ptr [eax + 0xc] */
    213     RECOMP_FLAGS_IN();
    214 L_2B0573D9:
    215     ebx = POP32_VAL(esp); /* 0x2B0573D9: pop ebx */
    216     esp = ebp; /* 0x2B0573DA: mov esp, ebp */
    217     ebp = POP32_VAL(esp); /* 0x2B0573DC: pop ebp */
    218     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0573DD: ret  */
    219 L_2B0573E0:
    220     RECOMP_BACKEDGE();
    221     goto L_2B057340; /* 0x2B0573E0: jmp 0x2b057340 */
    222 L_2B057A30:
    223     ecx = MEM32(0x2B0EEB20); /* 0x2B057A30: mov ecx, dword ptr [0x2b0eeb20] */
    224     /* test ecx, ecx */ /* 0x2B057A36: test ecx, ecx */
    225     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
    226     _cf = 0;
    227     _flag_k = FK_TEST;
    228     if (TEST_Z(_flag_a, _flag_b)) goto L_2B057A3F; /* 0x2B057A38: je 0x2b057a3f */
    229 L_2B057A3A:
    230     RECOMP_BACKEDGE();
    231     goto L_2B0573E0; /* 0x2B057A3A: jmp 0x2b0573e0 */
    232 L_2B057A3F:
    233     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057A3F: ret  */
    234     RECOMP_REGS_OUT();
    235 }
    236 
    237 void sub_2B057A40(void) {
    238     int _fpu_cmp = 0;
    239     uint32_t _cf = 0;
    240     int _df = 1;
    241     uint32_t _flag_k = FK_NONE;
    242     uint32_t _flag_a = 0, _flag_b = 0;
    243     uint32_t _itail_tgt = 0;
    244     RECOMP_REGS_LOCALS
    245     RECOMP_ENTER(0x2B057A40u);
    246 
    247 L_2B057A40:
    248     eax = MEM32(0x2B0EEB20); /* 0x2B057A40: mov eax, dword ptr [0x2b0eeb20] */
    249     /* test eax, eax */ /* 0x2B057A45: test eax, eax */
    250     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
    251     _cf = 0;
    252     _flag_k = FK_TEST;
    253     if (TEST_Z(_flag_a, _flag_b)) goto L_2B057A6D; /* 0x2B057A47: je 0x2b057a6d */
    254 L_2B057A49:
    255     eax = MEM32(eax + 0x28); /* 0x2B057A49: mov eax, dword ptr [eax + 0x28] */
    256     PUSH32(esp, esi); /* 0x2B057A4C: push esi */
    257     esi = MEM32(eax + 0x2C); /* 0x2B057A4D: mov esi, dword ptr [eax + 0x2c] */
    258     RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B057A50: call dword ptr [0x2b0b5b64] */
    259     RECOMP_FLAGS_IN();
    260     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x110));
    261     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    262     esi = esi - MEM32(eax + 0x110); /* 0x2B057A56: sub esi, dword ptr [eax + 0x110] */
    263     _flag_k = FK_CMP;
    264     ecx = MEM32(0x2B0EEB20); /* 0x2B057A5C: mov ecx, dword ptr [0x2b0eeb20] */
    265     ecx = MEM32(ecx + 0x28); /* 0x2B057A62: mov ecx, dword ptr [ecx + 0x28] */
    266     PUSH32(esp, esi); /* 0x2B057A65: push esi */
    267     RECOMP_ICALL(MEM32(0x2B0B5900)); /* 0x2B057A66: call dword ptr [0x2b0b5900] */
    268     RECOMP_FLAGS_IN();
    269     esi = POP32_VAL(esp); /* 0x2B057A6C: pop esi */
    270 L_2B057A6D:
    271     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057A6D: ret  */
    272     RECOMP_REGS_OUT();
    273 }
    274 
    275 void sub_2B057A70(void) {
    276     int _fpu_cmp = 0;
    277     uint32_t _cf = 0;
    278     int _df = 1;
    279     uint32_t _flag_k = FK_NONE;
    280     uint32_t _flag_a = 0, _flag_b = 0;
    281     uint32_t _itail_tgt = 0;
    282     RECOMP_REGS_LOCALS
    283     RECOMP_ENTER(0x2B057A70u);
    284 
    285 L_2B057A70:
    286     goto L_2B057A80; /* 0x2B057A70: jmp 0x2b057a80 */
    287 L_2B057A80:
    288     MEM32(0x2B0EEB60) = 0x2B0E1638u; /* 0x2B057A80: mov dword ptr [0x2b0eeb60], 0x2b0e1638 */
    289     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057A8A: ret  */
    290     RECOMP_REGS_OUT();
    291 }
    292 
    293 void sub_2B057A80(void) {
    294     int _fpu_cmp = 0;
    295     uint32_t _cf = 0;
    296     int _df = 1;
    297     uint32_t _flag_k = FK_NONE;
    298     uint32_t _flag_a = 0, _flag_b = 0;
    299     uint32_t _itail_tgt = 0;
    300     RECOMP_REGS_LOCALS
    301     RECOMP_ENTER(0x2B057A80u);
    302 
    303 L_2B057A80:
    304     MEM32(0x2B0EEB60) = 0x2B0E1638u; /* 0x2B057A80: mov dword ptr [0x2b0eeb60], 0x2b0e1638 */
    305     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057A8A: ret  */
    306     RECOMP_REGS_OUT();
    307 }
    308 
    309 void sub_2B057A90(void) {
    310     int _fpu_cmp = 0;
    311     uint32_t _cf = 0;
    312     int _df = 1;
    313     uint32_t _flag_k = FK_NONE;
    314     uint32_t _flag_a = 0, _flag_b = 0;
    315     uint32_t _itail_tgt = 0;
    316     RECOMP_REGS_LOCALS
    317     RECOMP_ENTER(0x2B057A90u);
    318 
    319 L_2B057A90:
    320     goto L_2B057AA0; /* 0x2B057A90: jmp 0x2b057aa0 */
    321 L_2B057AA0:
    322     MEM32(0x2B0EEB5C) = 0x2B0E166Cu; /* 0x2B057AA0: mov dword ptr [0x2b0eeb5c], 0x2b0e166c */
    323     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057AAA: ret  */
    324     RECOMP_REGS_OUT();
    325 }
    326 
    327 void sub_2B057AA0(void) {
    328     int _fpu_cmp = 0;
    329     uint32_t _cf = 0;
    330     int _df = 1;
    331     uint32_t _flag_k = FK_NONE;
    332     uint32_t _flag_a = 0, _flag_b = 0;
    333     uint32_t _itail_tgt = 0;
    334     RECOMP_REGS_LOCALS
    335     RECOMP_ENTER(0x2B057AA0u);
    336 
    337 L_2B057AA0:
    338     MEM32(0x2B0EEB5C) = 0x2B0E166Cu; /* 0x2B057AA0: mov dword ptr [0x2b0eeb5c], 0x2b0e166c */
    339     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057AAA: ret  */
    340     RECOMP_REGS_OUT();
    341 }
    342 
    343 void sub_2B057AB0(void) {
    344     int _fpu_cmp = 0;
    345     uint32_t _cf = 0;
    346     int _df = 1;
    347     uint32_t _flag_k = FK_NONE;
    348     uint32_t _flag_a = 0, _flag_b = 0;
    349     uint32_t _itail_tgt = 0;
    350     RECOMP_REGS_LOCALS
    351     RECOMP_ENTER(0x2B057AB0u);
    352 
    353 L_2B057AB0:
    354     goto L_2B057AC0; /* 0x2B057AB0: jmp 0x2b057ac0 */
    355 L_2B057AC0:
    356     MEM32(0x2B0EEB58) = 0x2B0E16A8u; /* 0x2B057AC0: mov dword ptr [0x2b0eeb58], 0x2b0e16a8 */
    357     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057ACA: ret  */
    358     RECOMP_REGS_OUT();
    359 }
    360 
    361 void sub_2B057AC0(void) {
    362     int _fpu_cmp = 0;
    363     uint32_t _cf = 0;
    364     int _df = 1;
    365     uint32_t _flag_k = FK_NONE;
    366     uint32_t _flag_a = 0, _flag_b = 0;
    367     uint32_t _itail_tgt = 0;
    368     RECOMP_REGS_LOCALS
    369     RECOMP_ENTER(0x2B057AC0u);
    370 
    371 L_2B057AC0:
    372     MEM32(0x2B0EEB58) = 0x2B0E16A8u; /* 0x2B057AC0: mov dword ptr [0x2b0eeb58], 0x2b0e16a8 */
    373     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057ACA: ret  */
    374     RECOMP_REGS_OUT();
    375 }
    376 
    377 void sub_2B057AD0(void) {
    378     int _fpu_cmp = 0;
    379     uint32_t _cf = 0;
    380     int _df = 1;
    381     uint32_t _flag_k = FK_NONE;
    382     uint32_t _flag_a = 0, _flag_b = 0;
    383     uint32_t _itail_tgt = 0;
    384     RECOMP_REGS_LOCALS
    385     RECOMP_ENTER(0x2B057AD0u);
    386 
    387 L_2B057AD0:
    388     goto L_2B057AE0; /* 0x2B057AD0: jmp 0x2b057ae0 */
    389 L_2B057AE0:
    390     MEM32(0x2B0EEB54) = 0x2B0E16DCu; /* 0x2B057AE0: mov dword ptr [0x2b0eeb54], 0x2b0e16dc */
    391     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057AEA: ret  */
    392     RECOMP_REGS_OUT();
    393 }
    394 
    395 void sub_2B057AE0(void) {
    396     int _fpu_cmp = 0;
    397     uint32_t _cf = 0;
    398     int _df = 1;
    399     uint32_t _flag_k = FK_NONE;
    400     uint32_t _flag_a = 0, _flag_b = 0;
    401     uint32_t _itail_tgt = 0;
    402     RECOMP_REGS_LOCALS
    403     RECOMP_ENTER(0x2B057AE0u);
    404 
    405 L_2B057AE0:
    406     MEM32(0x2B0EEB54) = 0x2B0E16DCu; /* 0x2B057AE0: mov dword ptr [0x2b0eeb54], 0x2b0e16dc */
    407     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057AEA: ret  */
    408     RECOMP_REGS_OUT();
    409 }
    410 
    411 void sub_2B057AF0(void) {
    412     int _fpu_cmp = 0;
    413     uint32_t _cf = 0;
    414     int _df = 1;
    415     uint32_t _flag_k = FK_NONE;
    416     uint32_t _flag_a = 0, _flag_b = 0;
    417     uint32_t _itail_tgt = 0;
    418     RECOMP_REGS_LOCALS
    419     RECOMP_ENTER(0x2B057AF0u);
    420 
    421 L_2B057AF0:
    422     goto L_2B057B00; /* 0x2B057AF0: jmp 0x2b057b00 */
    423 L_2B057B00:
    424     MEM32(0x2B0EEB50) = 0x2B0E1710u; /* 0x2B057B00: mov dword ptr [0x2b0eeb50], 0x2b0e1710 */
    425     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057B0A: ret  */
    426     RECOMP_REGS_OUT();
    427 }
    428 
    429 void sub_2B057B00(void) {
    430     int _fpu_cmp = 0;
    431     uint32_t _cf = 0;
    432     int _df = 1;
    433     uint32_t _flag_k = FK_NONE;
    434     uint32_t _flag_a = 0, _flag_b = 0;
    435     uint32_t _itail_tgt = 0;
    436     RECOMP_REGS_LOCALS
    437     RECOMP_ENTER(0x2B057B00u);
    438 
    439 L_2B057B00:
    440     MEM32(0x2B0EEB50) = 0x2B0E1710u; /* 0x2B057B00: mov dword ptr [0x2b0eeb50], 0x2b0e1710 */
    441     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057B0A: ret  */
    442     RECOMP_REGS_OUT();
    443 }
    444 
    445 void sub_2B057B10(void) {
    446     int _fpu_cmp = 0;
    447     uint32_t _cf = 0;
    448     int _df = 1;
    449     uint32_t _flag_k = FK_NONE;
    450     uint32_t _flag_a = 0, _flag_b = 0;
    451     uint32_t _itail_tgt = 0;
    452     RECOMP_REGS_LOCALS
    453     RECOMP_ENTER(0x2B057B10u);
    454 
    455 L_2B057B10:
    456     goto L_2B057B20; /* 0x2B057B10: jmp 0x2b057b20 */
    457 L_2B057B20:
    458     MEM32(0x2B0EEB4C) = 0x2B0E1744u; /* 0x2B057B20: mov dword ptr [0x2b0eeb4c], 0x2b0e1744 */
    459     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057B2A: ret  */
    460     RECOMP_REGS_OUT();
    461 }
    462 
    463 void sub_2B057B20(void) {
    464     int _fpu_cmp = 0;
    465     uint32_t _cf = 0;
    466     int _df = 1;
    467     uint32_t _flag_k = FK_NONE;
    468     uint32_t _flag_a = 0, _flag_b = 0;
    469     uint32_t _itail_tgt = 0;
    470     RECOMP_REGS_LOCALS
    471     RECOMP_ENTER(0x2B057B20u);
    472 
    473 L_2B057B20:
    474     MEM32(0x2B0EEB4C) = 0x2B0E1744u; /* 0x2B057B20: mov dword ptr [0x2b0eeb4c], 0x2b0e1744 */
    475     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057B2A: ret  */
    476     RECOMP_REGS_OUT();
    477 }
    478 
    479 void sub_2B057B30(void) {
    480     int _fpu_cmp = 0;
    481     uint32_t _cf = 0;
    482     int _df = 1;
    483     uint32_t _flag_k = FK_NONE;
    484     uint32_t _flag_a = 0, _flag_b = 0;
    485     uint32_t _itail_tgt = 0;
    486     RECOMP_REGS_LOCALS
    487     RECOMP_ENTER(0x2B057B30u);
    488 
    489 L_2B057B30:
    490     goto L_2B057B40; /* 0x2B057B30: jmp 0x2b057b40 */
    491 L_2B057B40:
    492     MEM32(0x2B0EEB48) = 0x2B0E1824u; /* 0x2B057B40: mov dword ptr [0x2b0eeb48], 0x2b0e1824 */
    493     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057B4A: ret  */
    494     RECOMP_REGS_OUT();
    495 }
    496 
    497 void sub_2B057B40(void) {
    498     int _fpu_cmp = 0;
    499     uint32_t _cf = 0;
    500     int _df = 1;
    501     uint32_t _flag_k = FK_NONE;
    502     uint32_t _flag_a = 0, _flag_b = 0;
    503     uint32_t _itail_tgt = 0;
    504     RECOMP_REGS_LOCALS
    505     RECOMP_ENTER(0x2B057B40u);
    506 
    507 L_2B057B40:
    508     MEM32(0x2B0EEB48) = 0x2B0E1824u; /* 0x2B057B40: mov dword ptr [0x2b0eeb48], 0x2b0e1824 */
    509     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057B4A: ret  */
    510     RECOMP_REGS_OUT();
    511 }
    512 
    513 void sub_2B057B50(void) {
    514     int _fpu_cmp = 0;
    515     uint32_t _cf = 0;
    516     int _df = 1;
    517     uint32_t _flag_k = FK_NONE;
    518     uint32_t _flag_a = 0, _flag_b = 0;
    519     uint32_t _itail_tgt = 0;
    520     RECOMP_REGS_LOCALS
    521     RECOMP_ENTER(0x2B057B50u);
    522 
    523 L_2B057B50:
    524     goto L_2B057B60; /* 0x2B057B50: jmp 0x2b057b60 */
    525 L_2B057B60:
    526     MEM32(0x2B0EEB44) = 0x2B0E177Cu; /* 0x2B057B60: mov dword ptr [0x2b0eeb44], 0x2b0e177c */
    527     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057B6A: ret  */
    528     RECOMP_REGS_OUT();
    529 }
    530 
    531 void sub_2B057B60(void) {
    532     int _fpu_cmp = 0;
    533     uint32_t _cf = 0;
    534     int _df = 1;
    535     uint32_t _flag_k = FK_NONE;
    536     uint32_t _flag_a = 0, _flag_b = 0;
    537     uint32_t _itail_tgt = 0;
    538     RECOMP_REGS_LOCALS
    539     RECOMP_ENTER(0x2B057B60u);
    540 
    541 L_2B057B60:
    542     MEM32(0x2B0EEB44) = 0x2B0E177Cu; /* 0x2B057B60: mov dword ptr [0x2b0eeb44], 0x2b0e177c */
    543     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057B6A: ret  */
    544     RECOMP_REGS_OUT();
    545 }
    546 
    547 void sub_2B057B70(void) {
    548     int _fpu_cmp = 0;
    549     uint32_t _cf = 0;
    550     int _df = 1;
    551     uint32_t _flag_k = FK_NONE;
    552     uint32_t _flag_a = 0, _flag_b = 0;
    553     uint32_t _itail_tgt = 0;
    554     RECOMP_REGS_LOCALS
    555     RECOMP_ENTER(0x2B057B70u);
    556 
    557 L_2B057B70:
    558     goto L_2B057B80; /* 0x2B057B70: jmp 0x2b057b80 */
    559 L_2B057B80:
    560     MEM32(0x2B0EEB40) = 0x2B0E17B4u; /* 0x2B057B80: mov dword ptr [0x2b0eeb40], 0x2b0e17b4 */
    561     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057B8A: ret  */
    562     RECOMP_REGS_OUT();
    563 }
    564 
    565 void sub_2B057B80(void) {
    566     int _fpu_cmp = 0;
    567     uint32_t _cf = 0;
    568     int _df = 1;
    569     uint32_t _flag_k = FK_NONE;
    570     uint32_t _flag_a = 0, _flag_b = 0;
    571     uint32_t _itail_tgt = 0;
    572     RECOMP_REGS_LOCALS
    573     RECOMP_ENTER(0x2B057B80u);
    574 
    575 L_2B057B80:
    576     MEM32(0x2B0EEB40) = 0x2B0E17B4u; /* 0x2B057B80: mov dword ptr [0x2b0eeb40], 0x2b0e17b4 */
    577     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057B8A: ret  */
    578     RECOMP_REGS_OUT();
    579 }
    580 
    581 void sub_2B057B90(void) {
    582     int _fpu_cmp = 0;
    583     uint32_t _cf = 0;
    584     int _df = 1;
    585     uint32_t _flag_k = FK_NONE;
    586     uint32_t _flag_a = 0, _flag_b = 0;
    587     uint32_t _itail_tgt = 0;
    588     RECOMP_REGS_LOCALS
    589     RECOMP_ENTER(0x2B057B90u);
    590 
    591 L_2B057B90:
    592     goto L_2B057BA0; /* 0x2B057B90: jmp 0x2b057ba0 */
    593 L_2B057BA0:
    594     MEM32(0x2B0EEB3C) = 0x2B0E17E8u; /* 0x2B057BA0: mov dword ptr [0x2b0eeb3c], 0x2b0e17e8 */
    595     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057BAA: ret  */
    596     RECOMP_REGS_OUT();
    597 }
    598 
    599 void sub_2B057BA0(void) {
    600     int _fpu_cmp = 0;
    601     uint32_t _cf = 0;
    602     int _df = 1;
    603     uint32_t _flag_k = FK_NONE;
    604     uint32_t _flag_a = 0, _flag_b = 0;
    605     uint32_t _itail_tgt = 0;
    606     RECOMP_REGS_LOCALS
    607     RECOMP_ENTER(0x2B057BA0u);
    608 
    609 L_2B057BA0:
    610     MEM32(0x2B0EEB3C) = 0x2B0E17E8u; /* 0x2B057BA0: mov dword ptr [0x2b0eeb3c], 0x2b0e17e8 */
    611     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057BAA: ret  */
    612     RECOMP_REGS_OUT();
    613 }
    614 
    615 void sub_2B057BB0(void) {
    616     int _fpu_cmp = 0;
    617     uint32_t _cf = 0;
    618     int _df = 1;
    619     uint32_t _flag_k = FK_NONE;
    620     uint32_t _flag_a = 0, _flag_b = 0;
    621     uint32_t _itail_tgt = 0;
    622     RECOMP_REGS_LOCALS
    623     RECOMP_ENTER(0x2B057BB0u);
    624 
    625 L_2B057BB0:
    626     goto L_2B057BC0; /* 0x2B057BB0: jmp 0x2b057bc0 */
    627 L_2B057BC0:
    628     MEM32(0x2B0EEB38) = 0x2B0E189Cu; /* 0x2B057BC0: mov dword ptr [0x2b0eeb38], 0x2b0e189c */
    629     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057BCA: ret  */
    630     RECOMP_REGS_OUT();
    631 }
    632 
    633 void sub_2B057BC0(void) {
    634     int _fpu_cmp = 0;
    635     uint32_t _cf = 0;
    636     int _df = 1;
    637     uint32_t _flag_k = FK_NONE;
    638     uint32_t _flag_a = 0, _flag_b = 0;
    639     uint32_t _itail_tgt = 0;
    640     RECOMP_REGS_LOCALS
    641     RECOMP_ENTER(0x2B057BC0u);
    642 
    643 L_2B057BC0:
    644     MEM32(0x2B0EEB38) = 0x2B0E189Cu; /* 0x2B057BC0: mov dword ptr [0x2b0eeb38], 0x2b0e189c */
    645     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057BCA: ret  */
    646     RECOMP_REGS_OUT();
    647 }
    648 
    649 void sub_2B057BD0(void) {
    650     int _fpu_cmp = 0;
    651     uint32_t _cf = 0;
    652     int _df = 1;
    653     uint32_t _flag_k = FK_NONE;
    654     uint32_t _flag_a = 0, _flag_b = 0;
    655     uint32_t _itail_tgt = 0;
    656     RECOMP_REGS_LOCALS
    657     RECOMP_ENTER(0x2B057BD0u);
    658 
    659 L_2B057BD0:
    660     goto L_2B057BE0; /* 0x2B057BD0: jmp 0x2b057be0 */
    661 L_2B057BE0:
    662     MEM32(0x2B0EEB34) = 0x2B0E1860u; /* 0x2B057BE0: mov dword ptr [0x2b0eeb34], 0x2b0e1860 */
    663     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057BEA: ret  */
    664     RECOMP_REGS_OUT();
    665 }
    666 
    667 void sub_2B057BE0(void) {
    668     int _fpu_cmp = 0;
    669     uint32_t _cf = 0;
    670     int _df = 1;
    671     uint32_t _flag_k = FK_NONE;
    672     uint32_t _flag_a = 0, _flag_b = 0;
    673     uint32_t _itail_tgt = 0;
    674     RECOMP_REGS_LOCALS
    675     RECOMP_ENTER(0x2B057BE0u);
    676 
    677 L_2B057BE0:
    678     MEM32(0x2B0EEB34) = 0x2B0E1860u; /* 0x2B057BE0: mov dword ptr [0x2b0eeb34], 0x2b0e1860 */
    679     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057BEA: ret  */
    680     RECOMP_REGS_OUT();
    681 }
    682 
    683 void sub_2B057BF0(void) {
    684     int _fpu_cmp = 0;
    685     uint32_t _cf = 0;
    686     int _df = 1;
    687     uint32_t _flag_k = FK_NONE;
    688     uint32_t _flag_a = 0, _flag_b = 0;
    689     uint32_t _itail_tgt = 0;
    690     RECOMP_REGS_LOCALS
    691     RECOMP_ENTER(0x2B057BF0u);
    692 
    693 L_2B057BF0:
    694     goto L_2B057C00; /* 0x2B057BF0: jmp 0x2b057c00 */
    695 L_2B057C00:
    696     MEM32(0x2B0EEB30) = 0x2B0E1908u; /* 0x2B057C00: mov dword ptr [0x2b0eeb30], 0x2b0e1908 */
    697     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057C0A: ret  */
    698     RECOMP_REGS_OUT();
    699 }
    700 
    701 void sub_2B057C00(void) {
    702     int _fpu_cmp = 0;
    703     uint32_t _cf = 0;
    704     int _df = 1;
    705     uint32_t _flag_k = FK_NONE;
    706     uint32_t _flag_a = 0, _flag_b = 0;
    707     uint32_t _itail_tgt = 0;
    708     RECOMP_REGS_LOCALS
    709     RECOMP_ENTER(0x2B057C00u);
    710 
    711 L_2B057C00:
    712     MEM32(0x2B0EEB30) = 0x2B0E1908u; /* 0x2B057C00: mov dword ptr [0x2b0eeb30], 0x2b0e1908 */
    713     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057C0A: ret  */
    714     RECOMP_REGS_OUT();
    715 }
    716 
    717 void sub_2B057C10(void) {
    718     int _fpu_cmp = 0;
    719     uint32_t _cf = 0;
    720     int _df = 1;
    721     uint32_t _flag_k = FK_NONE;
    722     uint32_t _flag_a = 0, _flag_b = 0;
    723     uint32_t _itail_tgt = 0;
    724     RECOMP_REGS_LOCALS
    725     RECOMP_ENTER(0x2B057C10u);
    726 
    727 L_2B057C10:
    728     goto L_2B057C20; /* 0x2B057C10: jmp 0x2b057c20 */
    729 L_2B057C20:
    730     MEM32(0x2B0EEB2C) = 0x2B0E1944u; /* 0x2B057C20: mov dword ptr [0x2b0eeb2c], 0x2b0e1944 */
    731     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057C2A: ret  */
    732     RECOMP_REGS_OUT();
    733 }
    734 
    735 void sub_2B057C20(void) {
    736     int _fpu_cmp = 0;
    737     uint32_t _cf = 0;
    738     int _df = 1;
    739     uint32_t _flag_k = FK_NONE;
    740     uint32_t _flag_a = 0, _flag_b = 0;
    741     uint32_t _itail_tgt = 0;
    742     RECOMP_REGS_LOCALS
    743     RECOMP_ENTER(0x2B057C20u);
    744 
    745 L_2B057C20:
    746     MEM32(0x2B0EEB2C) = 0x2B0E1944u; /* 0x2B057C20: mov dword ptr [0x2b0eeb2c], 0x2b0e1944 */
    747     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057C2A: ret  */
    748     RECOMP_REGS_OUT();
    749 }
    750 
    751 void sub_2B057C30(void) {
    752     int _fpu_cmp = 0;
    753     uint32_t _cf = 0;
    754     int _df = 1;
    755     uint32_t _flag_k = FK_NONE;
    756     uint32_t _flag_a = 0, _flag_b = 0;
    757     uint32_t _itail_tgt = 0;
    758     RECOMP_REGS_LOCALS
    759     RECOMP_ENTER(0x2B057C30u);
    760 
    761 L_2B057C30:
    762     goto L_2B057C40; /* 0x2B057C30: jmp 0x2b057c40 */
    763 L_2B057C40:
    764     MEM32(0x2B0EEB28) = 0x2B0E1978u; /* 0x2B057C40: mov dword ptr [0x2b0eeb28], 0x2b0e1978 */
    765     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057C4A: ret  */
    766     RECOMP_REGS_OUT();
    767 }
    768 
    769 void sub_2B057C40(void) {
    770     int _fpu_cmp = 0;
    771     uint32_t _cf = 0;
    772     int _df = 1;
    773     uint32_t _flag_k = FK_NONE;
    774     uint32_t _flag_a = 0, _flag_b = 0;
    775     uint32_t _itail_tgt = 0;
    776     RECOMP_REGS_LOCALS
    777     RECOMP_ENTER(0x2B057C40u);
    778 
    779 L_2B057C40:
    780     MEM32(0x2B0EEB28) = 0x2B0E1978u; /* 0x2B057C40: mov dword ptr [0x2b0eeb28], 0x2b0e1978 */
    781     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057C4A: ret  */
    782     RECOMP_REGS_OUT();
    783 }
    784 
    785 void sub_2B057C50(void) {
    786     int _fpu_cmp = 0;
    787     uint32_t _cf = 0;
    788     int _df = 1;
    789     uint32_t _flag_k = FK_NONE;
    790     uint32_t _flag_a = 0, _flag_b = 0;
    791     uint32_t _itail_tgt = 0;
    792     RECOMP_REGS_LOCALS
    793     RECOMP_ENTER(0x2B057C50u);
    794 
    795 L_2B057C50:
    796     goto L_2B057C60; /* 0x2B057C50: jmp 0x2b057c60 */
    797 L_2B057C60:
    798     MEM32(0x2B0EEB24) = 0x2B0E18D4u; /* 0x2B057C60: mov dword ptr [0x2b0eeb24], 0x2b0e18d4 */
    799     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057C6A: ret  */
    800     RECOMP_REGS_OUT();
    801 }
    802 
    803 void sub_2B057C60(void) {
    804     int _fpu_cmp = 0;
    805     uint32_t _cf = 0;
    806     int _df = 1;
    807     uint32_t _flag_k = FK_NONE;
    808     uint32_t _flag_a = 0, _flag_b = 0;
    809     uint32_t _itail_tgt = 0;
    810     RECOMP_REGS_LOCALS
    811     RECOMP_ENTER(0x2B057C60u);
    812 
    813 L_2B057C60:
    814     MEM32(0x2B0EEB24) = 0x2B0E18D4u; /* 0x2B057C60: mov dword ptr [0x2b0eeb24], 0x2b0e18d4 */
    815     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057C6A: ret  */
    816     RECOMP_REGS_OUT();
    817 }
    818 
    819 void sub_2B057C70(void) {
    820     int _fpu_cmp = 0;
    821     uint32_t _cf = 0;
    822     int _df = 1;
    823     uint32_t _flag_k = FK_NONE;
    824     uint32_t _flag_a = 0, _flag_b = 0;
    825     uint32_t _itail_tgt = 0;
    826     RECOMP_REGS_LOCALS
    827     RECOMP_ENTER(0x2B057C70u);
    828 
    829 L_2B057C70:
    830     PUSH32(esp, ebp); /* 0x2B057C70: push ebp */
    831     ebp = esp; /* 0x2B057C71: mov ebp, esp */
    832     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B057C73: push -1 */
    833     PUSH32(esp, 0x2B0AFDA2u); /* 0x2B057C75: push 0x2b0afda2 */
    834     eax = MEM32(FS_BASE + (0)); /* 0x2B057C7A: mov eax, dword ptr fs:[0] */
    835     PUSH32(esp, eax); /* 0x2B057C80: push eax */
    836     MEM32(FS_BASE + (0)) = esp; /* 0x2B057C81: mov dword ptr fs:[0], esp */
    837     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u);
    838     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    839     esp = esp - 0x18u; /* 0x2B057C88: sub esp, 0x18 */
    840     _flag_k = FK_CMP;
    841     eax = MEM32(0x2B0EE9DC); /* 0x2B057C8B: mov eax, dword ptr [0x2b0ee9dc] */
    842     PUSH32(esp, ebx); /* 0x2B057C90: push ebx */
    843     PUSH32(esp, esi); /* 0x2B057C91: push esi */
    844     PUSH32(esp, edi); /* 0x2B057C92: push edi */
    845     ebx = ecx; /* 0x2B057C93: mov ebx, ecx */
    846     PUSH32(esp, eax); /* 0x2B057C95: push eax */
    847     MEM32(ebp + (-0x10)) = ebx; /* 0x2B057C96: mov dword ptr [ebp - 0x10], ebx */
    848     RECOMP_ICALL(MEM32(0x2B0B5BC8)); /* 0x2B057C99: call dword ptr [0x2b0b5bc8] */
    849     RECOMP_FLAGS_IN();
    850     ecx = MEM32(ebp + 0x10); /* 0x2B057C9F: mov ecx, dword ptr [ebp + 0x10] */
    851     edx = MEM32(ebp + 0x8); /* 0x2B057CA2: mov edx, dword ptr [ebp + 8] */
    852     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    853     esi = 0; /* 0x2B057CA5: xor esi, esi */
    854     _cf = 0;
    855     _flag_k = FK_TEST;
    856     PUSH32(esp, 0x50u); /* 0x2B057CA7: push 0x50 */
    857     MEM32(ebp + (-0x4)) = esi; /* 0x2B057CA9: mov dword ptr [ebp - 4], esi */
    858     MEM32(ebx) = 0x2B0B6B68u; /* 0x2B057CAC: mov dword ptr [ebx], 0x2b0b6b68 */
    859     MEM32(ebx + 0x24) = ecx; /* 0x2B057CB2: mov dword ptr [ebx + 0x24], ecx */
    860     MEM32(ebx + 0x28) = esi; /* 0x2B057CB5: mov dword ptr [ebx + 0x28], esi */
    861     MEM32(ebx + 0x1C) = edx; /* 0x2B057CB8: mov dword ptr [ebx + 0x1c], edx */
    862     RECOMP_ICALL(0x2B0AB212u); /* 0x2B057CBB: call 0x2b0ab212 */ /* not lifted */
    863     RECOMP_FLAGS_IN();
    864     edi = eax; /* 0x2B057CC0: mov edi, eax */
    865     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
    866     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
    867     esp = esp + 4; /* 0x2B057CC2: add esp, 4 */
    868     _flag_k = FK_ADD;
    869     MEM32(ebp + 0x10) = edi; /* 0x2B057CC5: mov dword ptr [ebp + 0x10], edi */
    870     /* cmp edi, esi */ /* 0x2B057CC8: cmp edi, esi */
    871     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi);
    872     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    873     _flag_k = FK_CMP;
    874     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B057CCA: mov byte ptr [ebp - 4], 1 */
    875     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B057CF9; /* 0x2B057CCE: je 0x2b057cf9 */
    876 L_2B057CD0:
    877     eax = MEM32(0x2B0EE9DC); /* 0x2B057CD0: mov eax, dword ptr [0x2b0ee9dc] */
    878     PUSH32(esp, eax); /* 0x2B057CD5: push eax */
    879     PUSH32(esp, 2); /* 0x2B057CD6: push 2 */
    880     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    881     eax = 0; /* 0x2B057CD8: xor eax, eax */
    882     _cf = 0;
    883     _flag_k = FK_TEST;
    884     PUSH32(esp, eax); /* 0x2B057CDA: push eax */
    885     PUSH32(esp, esi); /* 0x2B057CDB: push esi */
    886     PUSH32(esp, 0xFB8u); /* 0x2B057CDC: push 0xfb8 */
    887     PUSH32(esp, 0x2B0EE648u); /* 0x2B057CE1: push 0x2b0ee648 */
    888     PUSH32(esp, esi); /* 0x2B057CE6: push esi */
    889     ecx = edi; /* 0x2B057CE7: mov ecx, edi */
    890     RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B057CE9: call dword ptr [0x2b0b5950] */
    891     RECOMP_FLAGS_IN();
    892     MEM32(edi) = 0x2B0B6878u; /* 0x2B057CEF: mov dword ptr [edi], 0x2b0b6878 */
    893     ecx = edi; /* 0x2B057CF5: mov ecx, edi */
    894     goto L_2B057CFB; /* 0x2B057CF7: jmp 0x2b057cfb */
    895 L_2B057CF9:
    896     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    897     ecx = 0; /* 0x2B057CF9: xor ecx, ecx */
    898     _cf = 0;
    899     _flag_k = FK_TEST;
    900 L_2B057CFB:
    901     PUSH32(esp, 0x00FFFFFFu); /* 0x2B057CFB: push 0xffffff */
    902     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B057D00: mov byte ptr [ebp - 4], 0 */
    903     MEM32(ebx + 0x20) = ecx; /* 0x2B057D04: mov dword ptr [ebx + 0x20], ecx */
    904     RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B057D07: call dword ptr [0x2b0b5858] */
    905     RECOMP_FLAGS_IN();
    906     SET_LO8(ecx, MEM8(ebp + 0xF)); /* 0x2B057D0D: mov cl, byte ptr [ebp + 0xf] */
    907     edi = MEM32(ebp + 0xC); /* 0x2B057D10: mov edi, dword ptr [ebp + 0xc] */
    908     MEM8(ebp + (-0x24)) = (uint8_t)(LO8(ecx)); /* 0x2B057D13: mov byte ptr [ebp - 0x24], cl */
    909     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    910     eax = 0; /* 0x2B057D16: xor eax, eax */
    911     _cf = 0;
    912     _flag_k = FK_TEST;
    913     PUSH32(esp, 1); /* 0x2B057D18: push 1 */
    914     MEM32(ebp + (-0x20)) = esi; /* 0x2B057D1A: mov dword ptr [ebp - 0x20], esi */
    915     MEM32(ebp + (-0x1C)) = esi; /* 0x2B057D1D: mov dword ptr [ebp - 0x1c], esi */
    916     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
    917     ecx = ecx | 0xFFFFFFFFu; /* 0x2B057D20: or ecx, 0xffffffff */
    918     _cf = 0;
    919     _flag_k = FK_TEST;
    920     if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B057D23: repne scasb al, byte ptr es:[edi] */
    921     ecx = ~ecx; /* 0x2B057D25: not ecx */
    922     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
    923     ecx = ecx - 1; /* 0x2B057D27: dec ecx */
    924     _flag_k = FK_DEC;
    925     edi = ecx; /* 0x2B057D28: mov edi, ecx */
    926     PUSH32(esp, edi); /* 0x2B057D2A: push edi */
    927     ecx = ebp + (-0x24); /* 0x2B057D2B: lea ecx, [ebp - 0x24] */
    928     MEM32(ebp + (-0x18)) = esi; /* 0x2B057D2E: mov dword ptr [ebp - 0x18], esi */
    929     MEM32(ebp + 0x10) = edi; /* 0x2B057D31: mov dword ptr [ebp + 0x10], edi */
    930     RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B057D34: call dword ptr [0x2b0b5154] */
    931     RECOMP_FLAGS_IN();
    932     /* test LO8(eax), LO8(eax) */ /* 0x2B057D3A: test al, al */
    933     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
    934     _cf = 0;
    935     _flag_k = FK_NARROW(FK_TEST, 24);
    936     if (TEST_Z(_flag_a, _flag_b)) goto L_2B057D62; /* 0x2B057D3C: je 0x2b057d62 */
    937 L_2B057D3E:
    938     esi = MEM32(ebp + 0xC); /* 0x2B057D3E: mov esi, dword ptr [ebp + 0xc] */
    939     ecx = edi; /* 0x2B057D41: mov ecx, edi */
    940     edi = MEM32(ebp + (-0x20)); /* 0x2B057D43: mov edi, dword ptr [ebp - 0x20] */
    941     edx = ecx; /* 0x2B057D46: mov edx, ecx */
    942     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B057D48: shr ecx, 2 */
    943     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
    944     ecx = ecx >> 2u; /* 0x2B057D48: shr ecx, 2 */
    945     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B057D4B: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
    946     ecx = edx; /* 0x2B057D4D: mov ecx, edx */
    947     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
    948     ecx = ecx & 3; /* 0x2B057D4F: and ecx, 3 */
    949     _cf = 0;
    950     _flag_k = FK_TEST;
    951     eax = edx; /* 0x2B057D52: mov eax, edx */
    952     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B057D54: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; }
    953     PUSH32(esp, eax); /* 0x2B057D56: push eax */
    954     ecx = ebp + (-0x24); /* 0x2B057D57: lea ecx, [ebp - 0x24] */
    955     RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B057D5A: call dword ptr [0x2b0b5150] */
    956     RECOMP_FLAGS_IN();
    957     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
    958     esi = 0; /* 0x2B057D60: xor esi, esi */
    959     _cf = 0;
    960     _flag_k = FK_TEST;
    961 L_2B057D62:
    962     MEM32(ebp + (-0x14)) = esi; /* 0x2B057D62: mov dword ptr [ebp - 0x14], esi */
    963     ecx = MEM32(0x2B0B515C); /* 0x2B057D65: mov ecx, dword ptr [0x2b0b515c] */
    964     ebx = MEM32(ebx + 0x20); /* 0x2B057D6B: mov ebx, dword ptr [ebx + 0x20] */
    965     eax = MEM32(ecx); /* 0x2B057D6E: mov eax, dword ptr [ecx] */
    966     ecx = MEM32(ebp + (-0x1C)); /* 0x2B057D70: mov ecx, dword ptr [ebp - 0x1c] */
    967     edi = ebx + 0x14; /* 0x2B057D73: lea edi, [ebx + 0x14] */
    968     ebx = ecx; /* 0x2B057D76: mov ebx, ecx */
    969     /* cmp eax, ebx */ /* 0x2B057D78: cmp eax, ebx */
    970     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
    971     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    972     _flag_k = FK_CMP;
    973     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B057D7A: mov byte ptr [ebp - 4], 2 */
    974     MEM32(ebp + 0xC) = edi; /* 0x2B057D7E: mov dword ptr [ebp + 0xc], edi */
    975     if (CMP_AE(_flag_a, _flag_b)) goto L_2B057D85; /* 0x2B057D81: jae 0x2b057d85 */
    976 L_2B057D83:
    977     ebx = eax; /* 0x2B057D83: mov ebx, eax */
    978 L_2B057D85:
    979     edx = ebp + (-0x24); /* 0x2B057D85: lea edx, [ebp - 0x24] */
    980     /* cmp edi, edx */ /* 0x2B057D88: cmp edi, edx */
    981     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
    982     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
    983     _flag_k = FK_CMP;
    984     if (CMP_NE(_flag_a, _flag_b)) goto L_2B057DA4; /* 0x2B057D8A: jne 0x2b057da4 */
    985 L_2B057D8C:
    986     PUSH32(esp, eax); /* 0x2B057D8C: push eax */
    987     PUSH32(esp, ebx); /* 0x2B057D8D: push ebx */
    988     ecx = edi; /* 0x2B057D8E: mov ecx, edi */
    989     RECOMP_ICALL(MEM32(0x2B0B51AC)); /* 0x2B057D90: call dword ptr [0x2b0b51ac] */
    990     RECOMP_FLAGS_IN();
    991     PUSH32(esp, 0); /* 0x2B057D96: push 0 */
    992     PUSH32(esp, 0); /* 0x2B057D98: push 0 */
    993     ecx = edi; /* 0x2B057D9A: mov ecx, edi */
    994     RECOMP_ICALL(MEM32(0x2B0B51AC)); /* 0x2B057D9C: call dword ptr [0x2b0b51ac] */
    995     RECOMP_FLAGS_IN();
    996     goto L_2B057E21; /* 0x2B057DA2: jmp 0x2b057e21 */
    997 L_2B057DA4:
    998     /* test ebx, ebx */ /* 0x2B057DA4: test ebx, ebx */
    999     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
   1000     _cf = 0;
   1001     _flag_k = FK_TEST;
   1002     if (TEST_Z(_flag_a, _flag_b)) goto L_2B057DE8; /* 0x2B057DA6: jbe 0x2b057de8 */
   1003 L_2B057DA8:
   1004     /* cmp ebx, ecx */ /* 0x2B057DA8: cmp ebx, ecx */
   1005     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx);
   1006     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1007     _flag_k = FK_CMP;
   1008     if (CMP_NE(_flag_a, _flag_b)) goto L_2B057DE8; /* 0x2B057DAA: jne 0x2b057de8 */
   1009 L_2B057DAC:
   1010     eax = MEM32(ebp + (-0x20)); /* 0x2B057DAC: mov eax, dword ptr [ebp - 0x20] */
   1011     /* test eax, eax */ /* 0x2B057DAF: test eax, eax */
   1012     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1013     _cf = 0;
   1014     _flag_k = FK_TEST;
   1015     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B057DB8; /* 0x2B057DB1: jne 0x2b057db8 */
   1016 L_2B057DB3:
   1017     eax = MEM32(0x2B0B513C); /* 0x2B057DB3: mov eax, dword ptr [0x2b0b513c] */
   1018 L_2B057DB8:
   1019     /* cmp MEM8(eax + (-0x1)), 0xFEu */ /* 0x2B057DB8: cmp byte ptr [eax - 1], 0xfe */
   1020     _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(0xFEu) << 24;
   1021     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1022     _flag_k = FK_NARROW(FK_CMP, 24);
   1023     if (CMP_AE(_flag_a, _flag_b)) goto L_2B057DE8; /* 0x2B057DBC: jae 0x2b057de8 */
   1024 L_2B057DBE:
   1025     PUSH32(esp, 1); /* 0x2B057DBE: push 1 */
   1026     ecx = edi; /* 0x2B057DC0: mov ecx, edi */
   1027     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B057DC2: call dword ptr [0x2b0b514c] */
   1028     RECOMP_FLAGS_IN();
   1029     eax = MEM32(ebp + (-0x20)); /* 0x2B057DC8: mov eax, dword ptr [ebp - 0x20] */
   1030     /* test eax, eax */ /* 0x2B057DCB: test eax, eax */
   1031     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1032     _cf = 0;
   1033     _flag_k = FK_TEST;
   1034     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B057DD4; /* 0x2B057DCD: jne 0x2b057dd4 */
   1035 L_2B057DCF:
   1036     eax = MEM32(0x2B0B513C); /* 0x2B057DCF: mov eax, dword ptr [0x2b0b513c] */
   1037 L_2B057DD4:
   1038     MEM32(edi + 0x4) = eax; /* 0x2B057DD4: mov dword ptr [edi + 4], eax */
   1039     ecx = MEM32(ebp + (-0x1C)); /* 0x2B057DD7: mov ecx, dword ptr [ebp - 0x1c] */
   1040     MEM32(edi + 0x8) = ecx; /* 0x2B057DDA: mov dword ptr [edi + 8], ecx */
   1041     edx = MEM32(ebp + (-0x18)); /* 0x2B057DDD: mov edx, dword ptr [ebp - 0x18] */
   1042     MEM32(edi + 0xC) = edx; /* 0x2B057DE0: mov dword ptr [edi + 0xc], edx */
   1043     _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(1) << 24;
   1044     MEM8(eax + (-0x1)) = (uint8_t)(MEM8(eax + (-0x1)) + 1); /* 0x2B057DE3: inc byte ptr [eax - 1] */
   1045     _flag_k = FK_NARROW(FK_INC, 24);
   1046     goto L_2B057E21; /* 0x2B057DE6: jmp 0x2b057e21 */
   1047 L_2B057DE8:
   1048     PUSH32(esp, 1); /* 0x2B057DE8: push 1 */
   1049     PUSH32(esp, ebx); /* 0x2B057DEA: push ebx */
   1050     ecx = edi; /* 0x2B057DEB: mov ecx, edi */
   1051     RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B057DED: call dword ptr [0x2b0b5154] */
   1052     RECOMP_FLAGS_IN();
   1053     /* test LO8(eax), LO8(eax) */ /* 0x2B057DF3: test al, al */
   1054     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   1055     _cf = 0;
   1056     _flag_k = FK_NARROW(FK_TEST, 24);
   1057     if (TEST_Z(_flag_a, _flag_b)) goto L_2B057E21; /* 0x2B057DF5: je 0x2b057e21 */
   1058 L_2B057DF7:
   1059     esi = MEM32(ebp + (-0x20)); /* 0x2B057DF7: mov esi, dword ptr [ebp - 0x20] */
   1060     /* test esi, esi */ /* 0x2B057DFA: test esi, esi */
   1061     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   1062     _cf = 0;
   1063     _flag_k = FK_TEST;
   1064     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B057E04; /* 0x2B057DFC: jne 0x2b057e04 */
   1065 L_2B057DFE:
   1066     esi = MEM32(0x2B0B513C); /* 0x2B057DFE: mov esi, dword ptr [0x2b0b513c] */
   1067 L_2B057E04:
   1068     edi = MEM32(edi + 0x4); /* 0x2B057E04: mov edi, dword ptr [edi + 4] */
   1069     ecx = ebx; /* 0x2B057E07: mov ecx, ebx */
   1070     eax = ecx; /* 0x2B057E09: mov eax, ecx */
   1071     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B057E0B: shr ecx, 2 */
   1072     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1073     ecx = ecx >> 2u; /* 0x2B057E0B: shr ecx, 2 */
   1074     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B057E0E: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   1075     ecx = eax; /* 0x2B057E10: mov ecx, eax */
   1076     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   1077     ecx = ecx & 3; /* 0x2B057E12: and ecx, 3 */
   1078     _cf = 0;
   1079     _flag_k = FK_TEST;
   1080     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B057E15: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   1081     ecx = MEM32(ebp + 0xC); /* 0x2B057E17: mov ecx, dword ptr [ebp + 0xc] */
   1082     PUSH32(esp, ebx); /* 0x2B057E1A: push ebx */
   1083     RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B057E1B: call dword ptr [0x2b0b5150] */
   1084     RECOMP_FLAGS_IN();
   1085 L_2B057E21:
   1086     esi = MEM32(ebp + (-0x14)); /* 0x2B057E21: mov esi, dword ptr [ebp - 0x14] */
   1087     /* test esi, esi */ /* 0x2B057E24: test esi, esi */
   1088     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   1089     _cf = 0;
   1090     _flag_k = FK_TEST;
   1091     if (TEST_Z(_flag_a, _flag_b)) goto L_2B057E65; /* 0x2B057E26: je 0x2b057e65 */
   1092 L_2B057E28:
   1093     edx = MEM32(esi + 0x2C); /* 0x2B057E28: mov edx, dword ptr [esi + 0x2c] */
   1094     eax = esi + 0x2C; /* 0x2B057E2B: lea eax, [esi + 0x2c] */
   1095     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   1096     edx = edx - 1; /* 0x2B057E2E: dec edx */
   1097     _flag_k = FK_DEC;
   1098     ecx = edx; /* 0x2B057E2F: mov ecx, edx */
   1099     /* test ecx, ecx */ /* 0x2B057E31: test ecx, ecx */
   1100     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1101     _cf = 0;
   1102     _flag_k = FK_TEST;
   1103     MEM32(eax) = edx; /* 0x2B057E33: mov dword ptr [eax], edx */
   1104     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B057E65; /* 0x2B057E35: jne 0x2b057e65 */
   1105 L_2B057E37:
   1106     /* test esi, esi */ /* 0x2B057E37: test esi, esi */
   1107     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   1108     _cf = 0;
   1109     _flag_k = FK_TEST;
   1110     MEM32(ebp + 0xC) = esi; /* 0x2B057E39: mov dword ptr [ebp + 0xc], esi */
   1111     if (TEST_Z(_flag_a, _flag_b)) goto L_2B057E65; /* 0x2B057E3C: je 0x2b057e65 */
   1112 L_2B057E3E:
   1113     PUSH32(esp, 1); /* 0x2B057E3E: push 1 */
   1114     ecx = esi + 0x1C; /* 0x2B057E40: lea ecx, [esi + 0x1c] */
   1115     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B057E43: mov byte ptr [ebp - 4], 4 */
   1116     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B057E47: call dword ptr [0x2b0b514c] */
   1117     RECOMP_FLAGS_IN();
   1118     PUSH32(esp, 1); /* 0x2B057E4D: push 1 */
   1119     ecx = esi + 0xC; /* 0x2B057E4F: lea ecx, [esi + 0xc] */
   1120     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B057E52: mov byte ptr [ebp - 4], 3 */
   1121     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B057E56: call dword ptr [0x2b0b514c] */
   1122     RECOMP_FLAGS_IN();
   1123     PUSH32(esp, esi); /* 0x2B057E5C: push esi */
   1124     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B057E5D: call 0x2b0ab1ba */ /* not lifted */
   1125     RECOMP_FLAGS_IN();
   1126     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1127     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1128     esp = esp + 4; /* 0x2B057E62: add esp, 4 */
   1129     _flag_k = FK_ADD;
   1130 L_2B057E65:
   1131     PUSH32(esp, 1); /* 0x2B057E65: push 1 */
   1132     ecx = ebp + (-0x24); /* 0x2B057E67: lea ecx, [ebp - 0x24] */
   1133     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B057E6A: mov byte ptr [ebp - 4], 0 */
   1134     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B057E6E: call dword ptr [0x2b0b514c] */
   1135     RECOMP_FLAGS_IN();
   1136     esi = MEM32(ebp + (-0x10)); /* 0x2B057E74: mov esi, dword ptr [ebp - 0x10] */
   1137     PUSH32(esp, 0xFA2u); /* 0x2B057E77: push 0xfa2 */
   1138     ecx = esi; /* 0x2B057E7C: mov ecx, esi */
   1139     RECOMP_ICALL(MEM32(0x2B0B5BF4)); /* 0x2B057E7E: call dword ptr [0x2b0b5bf4] */
   1140     RECOMP_FLAGS_IN();
   1141     ecx = MEM32(ebp + (-0xC)); /* 0x2B057E84: mov ecx, dword ptr [ebp - 0xc] */
   1142     edi = POP32_VAL(esp); /* 0x2B057E87: pop edi */
   1143     eax = esi; /* 0x2B057E88: mov eax, esi */
   1144     esi = POP32_VAL(esp); /* 0x2B057E8A: pop esi */
   1145     ebx = POP32_VAL(esp); /* 0x2B057E8B: pop ebx */
   1146     MEM32(FS_BASE + (0)) = ecx; /* 0x2B057E8C: mov dword ptr fs:[0], ecx */
   1147     esp = ebp; /* 0x2B057E93: mov esp, ebp */
   1148     ebp = POP32_VAL(esp); /* 0x2B057E95: pop ebp */
   1149     RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B057E96: ret 0xc */
   1150     RECOMP_REGS_OUT();
   1151 }
   1152 
   1153 void sub_2B057EA0(void) {
   1154     int _fpu_cmp = 0;
   1155     uint32_t _cf = 0;
   1156     int _df = 1;
   1157     uint32_t _flag_k = FK_NONE;
   1158     uint32_t _flag_a = 0, _flag_b = 0;
   1159     uint32_t _itail_tgt = 0;
   1160     RECOMP_REGS_LOCALS
   1161     RECOMP_ENTER(0x2B057EA0u);
   1162 
   1163 L_2B057EA0:
   1164     eax = 0x2B0E86F4u; /* 0x2B057EA0: mov eax, 0x2b0e86f4 */
   1165     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057EA5: ret  */
   1166     RECOMP_REGS_OUT();
   1167 }
   1168 
   1169 void sub_2B057EB0(void) {
   1170     int _fpu_cmp = 0;
   1171     uint32_t _cf = 0;
   1172     int _df = 1;
   1173     uint32_t _flag_k = FK_NONE;
   1174     uint32_t _flag_a = 0, _flag_b = 0;
   1175     uint32_t _itail_tgt = 0;
   1176     RECOMP_REGS_LOCALS
   1177     RECOMP_ENTER(0x2B057EB0u);
   1178 
   1179 L_2B057EB0:
   1180     PUSH32(esp, ebp); /* 0x2B057EB0: push ebp */
   1181     ebp = esp; /* 0x2B057EB1: mov ebp, esp */
   1182     PUSH32(esp, esi); /* 0x2B057EB3: push esi */
   1183     esi = ecx; /* 0x2B057EB4: mov esi, ecx */
   1184     RECOMP_ICALL(0x2B057EE0u); /* 0x2B057EB6: call 0x2b057ee0 */ /* not lifted */
   1185     RECOMP_FLAGS_IN();
   1186     /* test MEM8(ebp + 0x8), 1 */ /* 0x2B057EBB: test byte ptr [ebp + 8], 1 */
   1187     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   1188     _cf = 0;
   1189     _flag_k = FK_NARROW(FK_TEST, 24);
   1190     if (TEST_Z(_flag_a, _flag_b)) goto L_2B057ECA; /* 0x2B057EBF: je 0x2b057eca */
   1191 L_2B057EC1:
   1192     PUSH32(esp, esi); /* 0x2B057EC1: push esi */
   1193     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B057EC2: call 0x2b0ab1ba */ /* not lifted */
   1194     RECOMP_FLAGS_IN();
   1195     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1196     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1197     esp = esp + 4; /* 0x2B057EC7: add esp, 4 */
   1198     _flag_k = FK_ADD;
   1199 L_2B057ECA:
   1200     eax = esi; /* 0x2B057ECA: mov eax, esi */
   1201     esi = POP32_VAL(esp); /* 0x2B057ECC: pop esi */
   1202     ebp = POP32_VAL(esp); /* 0x2B057ECD: pop ebp */
   1203     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B057ECE: ret 4 */
   1204     RECOMP_REGS_OUT();
   1205 }
   1206 
   1207 void sub_2B057EE0(void) {
   1208     int _fpu_cmp = 0;
   1209     uint32_t _cf = 0;
   1210     int _df = 1;
   1211     uint32_t _flag_k = FK_NONE;
   1212     uint32_t _flag_a = 0, _flag_b = 0;
   1213     uint32_t _itail_tgt = 0;
   1214     RECOMP_REGS_LOCALS
   1215     RECOMP_ENTER(0x2B057EE0u);
   1216 
   1217 L_2B057EE0:
   1218     PUSH32(esp, ebp); /* 0x2B057EE0: push ebp */
   1219     ebp = esp; /* 0x2B057EE1: mov ebp, esp */
   1220     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B057EE3: push -1 */
   1221     PUSH32(esp, 0x2B0AFDB9u); /* 0x2B057EE5: push 0x2b0afdb9 */
   1222     eax = MEM32(FS_BASE + (0)); /* 0x2B057EEA: mov eax, dword ptr fs:[0] */
   1223     PUSH32(esp, eax); /* 0x2B057EF0: push eax */
   1224     MEM32(FS_BASE + (0)) = esp; /* 0x2B057EF1: mov dword ptr fs:[0], esp */
   1225     PUSH32(esp, ecx); /* 0x2B057EF8: push ecx */
   1226     PUSH32(esp, esi); /* 0x2B057EF9: push esi */
   1227     esi = ecx; /* 0x2B057EFA: mov esi, ecx */
   1228     MEM32(ebp + (-0x10)) = esi; /* 0x2B057EFC: mov dword ptr [ebp - 0x10], esi */
   1229     MEM32(esi) = 0x2B0B6B68u; /* 0x2B057EFF: mov dword ptr [esi], 0x2b0b6b68 */
   1230     ecx = MEM32(esi + 0x20); /* 0x2B057F05: mov ecx, dword ptr [esi + 0x20] */
   1231     /* test ecx, ecx */ /* 0x2B057F08: test ecx, ecx */
   1232     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   1233     _cf = 0;
   1234     _flag_k = FK_TEST;
   1235     MEM32(ebp + (-0x4)) = 0; /* 0x2B057F0A: mov dword ptr [ebp - 4], 0 */
   1236     if (TEST_Z(_flag_a, _flag_b)) goto L_2B057F19; /* 0x2B057F11: je 0x2b057f19 */
   1237 L_2B057F13:
   1238     eax = MEM32(ecx); /* 0x2B057F13: mov eax, dword ptr [ecx] */
   1239     PUSH32(esp, 1); /* 0x2B057F15: push 1 */
   1240     RECOMP_ICALL(MEM32(eax)); /* 0x2B057F17: call dword ptr [eax] */
   1241     RECOMP_FLAGS_IN();
   1242 L_2B057F19:
   1243     ecx = esi; /* 0x2B057F19: mov ecx, esi */
   1244     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B057F1B: mov dword ptr [ebp - 4], 0xffffffff */
   1245     RECOMP_ICALL(MEM32(0x2B0B5BF8)); /* 0x2B057F22: call dword ptr [0x2b0b5bf8] */
   1246     RECOMP_FLAGS_IN();
   1247     ecx = MEM32(ebp + (-0xC)); /* 0x2B057F28: mov ecx, dword ptr [ebp - 0xc] */
   1248     esi = POP32_VAL(esp); /* 0x2B057F2B: pop esi */
   1249     MEM32(FS_BASE + (0)) = ecx; /* 0x2B057F2C: mov dword ptr fs:[0], ecx */
   1250     esp = ebp; /* 0x2B057F33: mov esp, ebp */
   1251     ebp = POP32_VAL(esp); /* 0x2B057F35: pop ebp */
   1252     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057F36: ret  */
   1253     RECOMP_REGS_OUT();
   1254 }
   1255 
   1256 void sub_2B057F40(void) {
   1257     int _fpu_cmp = 0;
   1258     uint32_t _cf = 0;
   1259     int _df = 1;
   1260     uint32_t _flag_k = FK_NONE;
   1261     uint32_t _flag_a = 0, _flag_b = 0;
   1262     uint32_t _itail_tgt = 0;
   1263     RECOMP_REGS_LOCALS
   1264     RECOMP_ENTER(0x2B057F40u);
   1265 
   1266 L_2B057F40:
   1267     PUSH32(esp, ebp); /* 0x2B057F40: push ebp */
   1268     ebp = esp; /* 0x2B057F41: mov ebp, esp */
   1269     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   1270     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1271     esp = esp - 0x10u; /* 0x2B057F43: sub esp, 0x10 */
   1272     _flag_k = FK_CMP;
   1273     PUSH32(esp, esi); /* 0x2B057F46: push esi */
   1274     esi = ecx; /* 0x2B057F47: mov esi, ecx */
   1275     eax = MEM32(esi + 0x14); /* 0x2B057F49: mov eax, dword ptr [esi + 0x14] */
   1276     ecx = eax + 0x2; /* 0x2B057F4C: lea ecx, [eax + 2] */
   1277     PUSH32(esp, edi); /* 0x2B057F4F: push edi */
   1278     edi = MEM32(0x2B0B564C); /* 0x2B057F50: mov edi, dword ptr [0x2b0b564c] */
   1279     MEM32(ebp + (-0x10)) = ecx; /* 0x2B057F56: mov dword ptr [ebp - 0x10], ecx */
   1280     ecx = MEM32(esi + 0x18); /* 0x2B057F59: mov ecx, dword ptr [esi + 0x18] */
   1281     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xA5u);
   1282     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1283     eax = eax + 0xA5u; /* 0x2B057F5C: add eax, 0xa5 */
   1284     _flag_k = FK_ADD;
   1285     MEM32(ebp + (-0xC)) = ecx; /* 0x2B057F61: mov dword ptr [ebp - 0xc], ecx */
   1286     PUSH32(esp, 0); /* 0x2B057F64: push 0 */
   1287     MEM32(ebp + (-0x8)) = eax; /* 0x2B057F66: mov dword ptr [ebp - 8], eax */
   1288     eax = MEM32(0x2B0EE9DC); /* 0x2B057F69: mov eax, dword ptr [0x2b0ee9dc] */
   1289     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xBu);
   1290     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1291     ecx = ecx + 0xBu; /* 0x2B057F6E: add ecx, 0xb */
   1292     _flag_k = FK_ADD;
   1293     PUSH32(esp, 0x00202020u); /* 0x2B057F71: push 0x202020 */
   1294     edx = ebp + (-0x10); /* 0x2B057F76: lea edx, [ebp - 0x10] */
   1295     MEM32(ebp + (-0x4)) = ecx; /* 0x2B057F79: mov dword ptr [ebp - 4], ecx */
   1296     ecx = MEM32(eax + 0x28); /* 0x2B057F7C: mov ecx, dword ptr [eax + 0x28] */
   1297     PUSH32(esp, edx); /* 0x2B057F7F: push edx */
   1298     RECOMP_ICALL(edi); /* 0x2B057F80: call edi */
   1299     RECOMP_FLAGS_IN();
   1300     fp_push(*(float*)&MEM32(esi + 0x28)); /* 0x2B057F82: fld dword ptr [esi + 0x28] */
   1301     _st[0] *= (double)*(float*)ADDR(0x2B0B6B78); /* 0x2B057F85: fmul dword ptr [0x2b0b6b78] */
   1302     RECOMP_ICALL(0x2B0AB220u); /* 0x2B057F8B: call 0x2b0ab220 */ /* not lifted */
   1303     RECOMP_FLAGS_IN();
   1304     ecx = MEM32(esi + 0x14); /* 0x2B057F90: mov ecx, dword ptr [esi + 0x14] */
   1305     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   1306     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1307     ecx = ecx - eax; /* 0x2B057F93: sub ecx, eax */
   1308     _flag_k = FK_CMP;
   1309     eax = MEM32(0x2B0EE9DC); /* 0x2B057F95: mov eax, dword ptr [0x2b0ee9dc] */
   1310     PUSH32(esp, 0); /* 0x2B057F9A: push 0 */
   1311     PUSH32(esp, 0x00FF0000u); /* 0x2B057F9C: push 0xff0000 */
   1312     edx = ebp + (-0x10); /* 0x2B057FA1: lea edx, [ebp - 0x10] */
   1313     MEM32(ebp + (-0x8)) = ecx; /* 0x2B057FA4: mov dword ptr [ebp - 8], ecx */
   1314     ecx = MEM32(eax + 0x28); /* 0x2B057FA7: mov ecx, dword ptr [eax + 0x28] */
   1315     PUSH32(esp, edx); /* 0x2B057FAA: push edx */
   1316     RECOMP_ICALL(edi); /* 0x2B057FAB: call edi */
   1317     RECOMP_FLAGS_IN();
   1318     edi = POP32_VAL(esp); /* 0x2B057FAD: pop edi */
   1319     esi = POP32_VAL(esp); /* 0x2B057FAE: pop esi */
   1320     esp = ebp; /* 0x2B057FAF: mov esp, ebp */
   1321     ebp = POP32_VAL(esp); /* 0x2B057FB1: pop ebp */
   1322     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057FB2: ret  */
   1323     RECOMP_REGS_OUT();
   1324 }
   1325 
   1326 void sub_2B057FC0(void) {
   1327     int _fpu_cmp = 0;
   1328     uint32_t _cf = 0;
   1329     int _df = 1;
   1330     uint32_t _flag_k = FK_NONE;
   1331     uint32_t _flag_a = 0, _flag_b = 0;
   1332     uint32_t _itail_tgt = 0;
   1333     RECOMP_REGS_LOCALS
   1334     RECOMP_ENTER(0x2B057FC0u);
   1335 
   1336 L_2B057FC0:
   1337     PUSH32(esp, ebp); /* 0x2B057FC0: push ebp */
   1338     ebp = esp; /* 0x2B057FC1: mov ebp, esp */
   1339     eax = MEM32(ecx + 0x14); /* 0x2B057FC3: mov eax, dword ptr [ecx + 0x14] */
   1340     ecx = MEM32(ecx + 0x18); /* 0x2B057FC6: mov ecx, dword ptr [ecx + 0x18] */
   1341     PUSH32(esp, esi); /* 0x2B057FC9: push esi */
   1342     PUSH32(esp, edi); /* 0x2B057FCA: push edi */
   1343     edi = MEM32(ebp + 0x8); /* 0x2B057FCB: mov edi, dword ptr [ebp + 8] */
   1344     edx = eax + 0x2; /* 0x2B057FCE: lea edx, [eax + 2] */
   1345     MEM32(edi) = edx; /* 0x2B057FD1: mov dword ptr [edi], edx */
   1346     MEM32(edi + 0x4) = ecx; /* 0x2B057FD3: mov dword ptr [edi + 4], ecx */
   1347     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xA5u);
   1348     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1349     eax = eax + 0xA5u; /* 0x2B057FD6: add eax, 0xa5 */
   1350     _flag_k = FK_ADD;
   1351     esi = ecx + 0xB; /* 0x2B057FDB: lea esi, [ecx + 0xb] */
   1352     MEM32(edi + 0x8) = eax; /* 0x2B057FDE: mov dword ptr [edi + 8], eax */
   1353     MEM32(edi + 0xC) = esi; /* 0x2B057FE1: mov dword ptr [edi + 0xc], esi */
   1354     edi = POP32_VAL(esp); /* 0x2B057FE4: pop edi */
   1355     esi = POP32_VAL(esp); /* 0x2B057FE5: pop esi */
   1356     ebp = POP32_VAL(esp); /* 0x2B057FE6: pop ebp */
   1357     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B057FE7: ret 4 */
   1358     RECOMP_REGS_OUT();
   1359 }
   1360 
   1361 void sub_2B057FF0(void) {
   1362     int _fpu_cmp = 0;
   1363     uint32_t _cf = 0;
   1364     int _df = 1;
   1365     uint32_t _flag_k = FK_NONE;
   1366     uint32_t _flag_a = 0, _flag_b = 0;
   1367     uint32_t _itail_tgt = 0;
   1368     RECOMP_REGS_LOCALS
   1369     RECOMP_ENTER(0x2B057FF0u);
   1370 
   1371 L_2B057FF0:
   1372     SET_LO8(eax, 1); /* 0x2B057FF0: mov al, 1 */
   1373     MEM8(ecx + 0x9) = (uint8_t)(LO8(eax)); /* 0x2B057FF2: mov byte ptr [ecx + 9], al */
   1374     ecx = MEM32(ecx + 0x20); /* 0x2B057FF5: mov ecx, dword ptr [ecx + 0x20] */
   1375     MEM8(ecx + 0x9) = (uint8_t)(LO8(eax)); /* 0x2B057FF8: mov byte ptr [ecx + 9], al */
   1376     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B057FFB: ret  */
   1377     RECOMP_REGS_OUT();
   1378 }
   1379 
   1380 void sub_2B058000(void) {
   1381     int _fpu_cmp = 0;
   1382     uint32_t _cf = 0;
   1383     int _df = 1;
   1384     uint32_t _flag_k = FK_NONE;
   1385     uint32_t _flag_a = 0, _flag_b = 0;
   1386     uint32_t _itail_tgt = 0;
   1387     RECOMP_REGS_LOCALS
   1388     RECOMP_ENTER(0x2B058000u);
   1389 
   1390 L_2B058000:
   1391     PUSH32(esp, ebp); /* 0x2B058000: push ebp */
   1392     ebp = esp; /* 0x2B058001: mov ebp, esp */
   1393     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B058003: push -1 */
   1394     PUSH32(esp, 0x2B0AFE1Au); /* 0x2B058005: push 0x2b0afe1a */
   1395     eax = MEM32(FS_BASE + (0)); /* 0x2B05800A: mov eax, dword ptr fs:[0] */
   1396     PUSH32(esp, eax); /* 0x2B058010: push eax */
   1397     MEM32(FS_BASE + (0)) = esp; /* 0x2B058011: mov dword ptr fs:[0], esp */
   1398     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u);
   1399     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1400     esp = esp - 0x20u; /* 0x2B058018: sub esp, 0x20 */
   1401     _flag_k = FK_CMP;
   1402     PUSH32(esp, ebx); /* 0x2B05801B: push ebx */
   1403     PUSH32(esp, esi); /* 0x2B05801C: push esi */
   1404     esi = ecx; /* 0x2B05801D: mov esi, ecx */
   1405     PUSH32(esp, edi); /* 0x2B05801F: push edi */
   1406     MEM32(ebp + (-0x18)) = esi; /* 0x2B058020: mov dword ptr [ebp - 0x18], esi */
   1407     RECOMP_ICALL(0x2B03A220u); /* 0x2B058023: call 0x2b03a220 */ /* not lifted */
   1408     RECOMP_FLAGS_IN();
   1409     SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2B058028: mov al, byte ptr [ebp - 0xd] */
   1410     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1411     ebx = 0; /* 0x2B05802B: xor ebx, ebx */
   1412     _cf = 0;
   1413     _flag_k = FK_TEST;
   1414     MEM32(ebp + (-0x4)) = ebx; /* 0x2B05802D: mov dword ptr [ebp - 4], ebx */
   1415     MEM8(esi + 0x34) = (uint8_t)(LO8(eax)); /* 0x2B058030: mov byte ptr [esi + 0x34], al */
   1416     MEM32(esi + 0x38) = ebx; /* 0x2B058033: mov dword ptr [esi + 0x38], ebx */
   1417     MEM32(esi + 0x3C) = ebx; /* 0x2B058036: mov dword ptr [esi + 0x3c], ebx */
   1418     MEM32(esi + 0x40) = ebx; /* 0x2B058039: mov dword ptr [esi + 0x40], ebx */
   1419     SET_LO8(ecx, MEM8(ebp + (-0xD))); /* 0x2B05803C: mov cl, byte ptr [ebp - 0xd] */
   1420     MEM8(esi + 0x44) = (uint8_t)(LO8(ecx)); /* 0x2B05803F: mov byte ptr [esi + 0x44], cl */
   1421     MEM32(esi + 0x48) = ebx; /* 0x2B058042: mov dword ptr [esi + 0x48], ebx */
   1422     MEM32(esi + 0x4C) = ebx; /* 0x2B058045: mov dword ptr [esi + 0x4c], ebx */
   1423     MEM32(esi + 0x50) = ebx; /* 0x2B058048: mov dword ptr [esi + 0x50], ebx */
   1424     PUSH32(esp, 0x38u); /* 0x2B05804B: push 0x38 */
   1425     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B05804D: mov byte ptr [ebp - 4], 2 */
   1426     MEM32(esi) = 0x2B0B6B80u; /* 0x2B058051: mov dword ptr [esi], 0x2b0b6b80 */
   1427     MEM32(ebp + (-0x24)) = ebx; /* 0x2B058057: mov dword ptr [ebp - 0x24], ebx */
   1428     MEM32(ebp + (-0x20)) = ebx; /* 0x2B05805A: mov dword ptr [ebp - 0x20], ebx */
   1429     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05805D: call 0x2b0ab212 */ /* not lifted */
   1430     RECOMP_FLAGS_IN();
   1431     edi = eax; /* 0x2B058062: mov edi, eax */
   1432     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1433     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1434     esp = esp + 4; /* 0x2B058064: add esp, 4 */
   1435     _flag_k = FK_ADD;
   1436     MEM32(ebp + (-0x14)) = edi; /* 0x2B058067: mov dword ptr [ebp - 0x14], edi */
   1437     /* cmp edi, ebx */ /* 0x2B05806A: cmp edi, ebx */
   1438     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   1439     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1440     _flag_k = FK_CMP;
   1441     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B05806C: mov byte ptr [ebp - 4], 3 */
   1442     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B058097; /* 0x2B058070: je 0x2b058097 */
   1443 L_2B058072:
   1444     edx = MEM32(0x2B0EE9DC); /* 0x2B058072: mov edx, dword ptr [0x2b0ee9dc] */
   1445     PUSH32(esp, edx); /* 0x2B058078: push edx */
   1446     PUSH32(esp, 0xFA0u); /* 0x2B058079: push 0xfa0 */
   1447     PUSH32(esp, 0x111u); /* 0x2B05807E: push 0x111 */
   1448     eax = ebp + (-0x24); /* 0x2B058083: lea eax, [ebp - 0x24] */
   1449     PUSH32(esp, eax); /* 0x2B058086: push eax */
   1450     ecx = edi; /* 0x2B058087: mov ecx, edi */
   1451     RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B058089: call dword ptr [0x2b0b5948] */
   1452     RECOMP_FLAGS_IN();
   1453     MEM32(edi) = 0x2B0B68F4u; /* 0x2B05808F: mov dword ptr [edi], 0x2b0b68f4 */
   1454     goto L_2B058099; /* 0x2B058095: jmp 0x2b058099 */
   1455 L_2B058097:
   1456     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1457     edi = 0; /* 0x2B058097: xor edi, edi */
   1458     _cf = 0;
   1459     _flag_k = FK_TEST;
   1460 L_2B058099:
   1461     PUSH32(esp, 0x50u); /* 0x2B058099: push 0x50 */
   1462     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B05809B: mov byte ptr [ebp - 4], 2 */
   1463     MEM32(esi + 0x28) = edi; /* 0x2B05809F: mov dword ptr [esi + 0x28], edi */
   1464     RECOMP_ICALL(0x2B0AB212u); /* 0x2B0580A2: call 0x2b0ab212 */ /* not lifted */
   1465     RECOMP_FLAGS_IN();
   1466     edi = eax; /* 0x2B0580A7: mov edi, eax */
   1467     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1468     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1469     esp = esp + 4; /* 0x2B0580A9: add esp, 4 */
   1470     _flag_k = FK_ADD;
   1471     MEM32(ebp + (-0x14)) = edi; /* 0x2B0580AC: mov dword ptr [ebp - 0x14], edi */
   1472     /* cmp edi, ebx */ /* 0x2B0580AF: cmp edi, ebx */
   1473     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   1474     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1475     _flag_k = FK_CMP;
   1476     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B0580B1: mov byte ptr [ebp - 4], 4 */
   1477     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0580E5; /* 0x2B0580B5: je 0x2b0580e5 */
   1478 L_2B0580B7:
   1479     ecx = MEM32(0x2B0EE9DC); /* 0x2B0580B7: mov ecx, dword ptr [0x2b0ee9dc] */
   1480     edx = MEM32(ebp + (-0x20)); /* 0x2B0580BD: mov edx, dword ptr [ebp - 0x20] */
   1481     eax = MEM32(ebp + (-0x24)); /* 0x2B0580C0: mov eax, dword ptr [ebp - 0x24] */
   1482     PUSH32(esp, ecx); /* 0x2B0580C3: push ecx */
   1483     PUSH32(esp, 2); /* 0x2B0580C4: push 2 */
   1484     PUSH32(esp, edx); /* 0x2B0580C6: push edx */
   1485     PUSH32(esp, eax); /* 0x2B0580C7: push eax */
   1486     PUSH32(esp, 0xFB8u); /* 0x2B0580C8: push 0xfb8 */
   1487     PUSH32(esp, 0x2B0EE648u); /* 0x2B0580CD: push 0x2b0ee648 */
   1488     PUSH32(esp, ebx); /* 0x2B0580D2: push ebx */
   1489     ecx = edi; /* 0x2B0580D3: mov ecx, edi */
   1490     RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B0580D5: call dword ptr [0x2b0b5950] */
   1491     RECOMP_FLAGS_IN();
   1492     MEM32(edi) = 0x2B0B6878u; /* 0x2B0580DB: mov dword ptr [edi], 0x2b0b6878 */
   1493     ecx = edi; /* 0x2B0580E1: mov ecx, edi */
   1494     goto L_2B0580E7; /* 0x2B0580E3: jmp 0x2b0580e7 */
   1495 L_2B0580E5:
   1496     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1497     ecx = 0; /* 0x2B0580E5: xor ecx, ecx */
   1498     _cf = 0;
   1499     _flag_k = FK_TEST;
   1500 L_2B0580E7:
   1501     PUSH32(esp, 0x00FFFFFFu); /* 0x2B0580E7: push 0xffffff */
   1502     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B0580EC: mov byte ptr [ebp - 4], 2 */
   1503     MEM32(esi + 0x2C) = ecx; /* 0x2B0580F0: mov dword ptr [esi + 0x2c], ecx */
   1504     RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B0580F3: call dword ptr [0x2b0b5858] */
   1505     RECOMP_FLAGS_IN();
   1506     PUSH32(esp, 0x50u); /* 0x2B0580F9: push 0x50 */
   1507     RECOMP_ICALL(0x2B0AB212u); /* 0x2B0580FB: call 0x2b0ab212 */ /* not lifted */
   1508     RECOMP_FLAGS_IN();
   1509     edi = eax; /* 0x2B058100: mov edi, eax */
   1510     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1511     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1512     esp = esp + 4; /* 0x2B058102: add esp, 4 */
   1513     _flag_k = FK_ADD;
   1514     MEM32(ebp + (-0x14)) = edi; /* 0x2B058105: mov dword ptr [ebp - 0x14], edi */
   1515     /* cmp edi, ebx */ /* 0x2B058108: cmp edi, ebx */
   1516     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx);
   1517     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1518     _flag_k = FK_CMP;
   1519     MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B05810A: mov byte ptr [ebp - 4], 5 */
   1520     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05813E; /* 0x2B05810E: je 0x2b05813e */
   1521 L_2B058110:
   1522     ecx = MEM32(0x2B0EE9DC); /* 0x2B058110: mov ecx, dword ptr [0x2b0ee9dc] */
   1523     edx = MEM32(ebp + (-0x20)); /* 0x2B058116: mov edx, dword ptr [ebp - 0x20] */
   1524     eax = MEM32(ebp + (-0x24)); /* 0x2B058119: mov eax, dword ptr [ebp - 0x24] */
   1525     PUSH32(esp, ecx); /* 0x2B05811C: push ecx */
   1526     PUSH32(esp, 2); /* 0x2B05811D: push 2 */
   1527     PUSH32(esp, edx); /* 0x2B05811F: push edx */
   1528     PUSH32(esp, eax); /* 0x2B058120: push eax */
   1529     PUSH32(esp, 0xFB8u); /* 0x2B058121: push 0xfb8 */
   1530     PUSH32(esp, 0x2B0EE648u); /* 0x2B058126: push 0x2b0ee648 */
   1531     PUSH32(esp, ebx); /* 0x2B05812B: push ebx */
   1532     ecx = edi; /* 0x2B05812C: mov ecx, edi */
   1533     RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B05812E: call dword ptr [0x2b0b5950] */
   1534     RECOMP_FLAGS_IN();
   1535     MEM32(edi) = 0x2B0B6878u; /* 0x2B058134: mov dword ptr [edi], 0x2b0b6878 */
   1536     ecx = edi; /* 0x2B05813A: mov ecx, edi */
   1537     goto L_2B058140; /* 0x2B05813C: jmp 0x2b058140 */
   1538 L_2B05813E:
   1539     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1540     ecx = 0; /* 0x2B05813E: xor ecx, ecx */
   1541     _cf = 0;
   1542     _flag_k = FK_TEST;
   1543 L_2B058140:
   1544     PUSH32(esp, 0x00FFFFFFu); /* 0x2B058140: push 0xffffff */
   1545     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B058145: mov byte ptr [ebp - 4], 2 */
   1546     MEM32(esi + 0x30) = ecx; /* 0x2B058149: mov dword ptr [esi + 0x30], ecx */
   1547     RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B05814C: call dword ptr [0x2b0b5858] */
   1548     RECOMP_FLAGS_IN();
   1549     edi = 0xAu; /* 0x2B058152: mov edi, 0xa */
   1550 L_2B058157:
   1551     PUSH32(esp, 0x2Cu); /* 0x2B058157: push 0x2c */
   1552     RECOMP_ICALL(0x2B0AB212u); /* 0x2B058159: call 0x2b0ab212 */ /* not lifted */
   1553     RECOMP_FLAGS_IN();
   1554     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1555     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1556     esp = esp + 4; /* 0x2B05815E: add esp, 4 */
   1557     _flag_k = FK_ADD;
   1558     MEM32(ebp + (-0x1C)) = eax; /* 0x2B058161: mov dword ptr [ebp - 0x1c], eax */
   1559     /* cmp eax, ebx */ /* 0x2B058164: cmp eax, ebx */
   1560     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   1561     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1562     _flag_k = FK_CMP;
   1563     MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B058166: mov byte ptr [ebp - 4], 6 */
   1564     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05817C; /* 0x2B05816A: je 0x2b05817c */
   1565 L_2B05816C:
   1566     PUSH32(esp, ebx); /* 0x2B05816C: push ebx */
   1567     PUSH32(esp, 0x2B0EE648u); /* 0x2B05816D: push 0x2b0ee648 */
   1568     PUSH32(esp, esi); /* 0x2B058172: push esi */
   1569     ecx = eax; /* 0x2B058173: mov ecx, eax */
   1570     RECOMP_ICALL(0x2B057C70u); /* 0x2B058175: call 0x2b057c70 */ /* not lifted */
   1571     RECOMP_FLAGS_IN();
   1572     goto L_2B05817E; /* 0x2B05817A: jmp 0x2b05817e */
   1573 L_2B05817C:
   1574     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1575     eax = 0; /* 0x2B05817C: xor eax, eax */
   1576     _cf = 0;
   1577     _flag_k = FK_TEST;
   1578 L_2B05817E:
   1579     edx = MEM32(esi + 0x3C); /* 0x2B05817E: mov edx, dword ptr [esi + 0x3c] */
   1580     ecx = ebp + (-0x14); /* 0x2B058181: lea ecx, [ebp - 0x14] */
   1581     PUSH32(esp, ecx); /* 0x2B058184: push ecx */
   1582     ecx = esi + 0x34; /* 0x2B058185: lea ecx, [esi + 0x34] */
   1583     PUSH32(esp, 1); /* 0x2B058188: push 1 */
   1584     PUSH32(esp, edx); /* 0x2B05818A: push edx */
   1585     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B05818B: mov byte ptr [ebp - 4], 2 */
   1586     MEM32(ebp + (-0x14)) = eax; /* 0x2B05818F: mov dword ptr [ebp - 0x14], eax */
   1587     RECOMP_ICALL(0x2B01DC90u); /* 0x2B058192: call 0x2b01dc90 */ /* not lifted */
   1588     RECOMP_FLAGS_IN();
   1589     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   1590     edi = edi - 1; /* 0x2B058197: dec edi */
   1591     _flag_k = FK_DEC;
   1592     RECOMP_BACKEDGE();
   1593     if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B058157; /* 0x2B058198: jne 0x2b058157 */
   1594 L_2B05819A:
   1595     ecx = MEM32(esi + 0x28); /* 0x2B05819A: mov ecx, dword ptr [esi + 0x28] */
   1596     eax = ebp + (-0x2C); /* 0x2B05819D: lea eax, [ebp - 0x2c] */
   1597     PUSH32(esp, eax); /* 0x2B0581A0: push eax */
   1598     MEM32(ebp + (-0x2C)) = ebx; /* 0x2B0581A1: mov dword ptr [ebp - 0x2c], ebx */
   1599     MEM32(ebp + (-0x28)) = ebx; /* 0x2B0581A4: mov dword ptr [ebp - 0x28], ebx */
   1600     RECOMP_ICALL(MEM32(0x2B0B594C)); /* 0x2B0581A7: call dword ptr [0x2b0b594c] */
   1601     RECOMP_FLAGS_IN();
   1602     /* cmp MEM8(esi + 0x1C), LO8(ebx) */ /* 0x2B0581AD: cmp byte ptr [esi + 0x1c], bl */
   1603     _flag_a = (uint32_t)(MEM8(esi + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   1604     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1605     _flag_k = FK_NARROW(FK_CMP, 24);
   1606     eax = MEM32(ebp + (-0x28)); /* 0x2B0581B0: mov eax, dword ptr [ebp - 0x28] */
   1607     MEM32(esi + 0x20) = eax; /* 0x2B0581B3: mov dword ptr [esi + 0x20], eax */
   1608     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0581C0; /* 0x2B0581B6: je 0x2b0581c0 */
   1609 L_2B0581B8:
   1610     /* cmp MEM8(esi + 0xC), LO8(ebx) */ /* 0x2B0581B8: cmp byte ptr [esi + 0xc], bl */
   1611     _flag_a = (uint32_t)(MEM8(esi + 0xC)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24;
   1612     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1613     _flag_k = FK_NARROW(FK_CMP, 24);
   1614     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0581C0; /* 0x2B0581BB: je 0x2b0581c0 */
   1615 L_2B0581BD:
   1616     MEM32(esi + 0x18) = eax; /* 0x2B0581BD: mov dword ptr [esi + 0x18], eax */
   1617 L_2B0581C0:
   1618     ecx = MEM32(ebp + (-0xC)); /* 0x2B0581C0: mov ecx, dword ptr [ebp - 0xc] */
   1619     edi = POP32_VAL(esp); /* 0x2B0581C3: pop edi */
   1620     eax = esi; /* 0x2B0581C4: mov eax, esi */
   1621     esi = POP32_VAL(esp); /* 0x2B0581C6: pop esi */
   1622     ebx = POP32_VAL(esp); /* 0x2B0581C7: pop ebx */
   1623     MEM32(FS_BASE + (0)) = ecx; /* 0x2B0581C8: mov dword ptr fs:[0], ecx */
   1624     esp = ebp; /* 0x2B0581CF: mov esp, ebp */
   1625     ebp = POP32_VAL(esp); /* 0x2B0581D1: pop ebp */
   1626     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0581D2: ret  */
   1627     RECOMP_REGS_OUT();
   1628 }
   1629 
   1630 void sub_2B0581E0(void) {
   1631     int _fpu_cmp = 0;
   1632     uint32_t _cf = 0;
   1633     int _df = 1;
   1634     uint32_t _flag_k = FK_NONE;
   1635     uint32_t _flag_a = 0, _flag_b = 0;
   1636     uint32_t _itail_tgt = 0;
   1637     RECOMP_REGS_LOCALS
   1638     RECOMP_ENTER(0x2B0581E0u);
   1639 
   1640 L_2B0581E0:
   1641     PUSH32(esp, ebp); /* 0x2B0581E0: push ebp */
   1642     ebp = esp; /* 0x2B0581E1: mov ebp, esp */
   1643     PUSH32(esp, esi); /* 0x2B0581E3: push esi */
   1644     esi = ecx; /* 0x2B0581E4: mov esi, ecx */
   1645     RECOMP_ICALL(0x2B058210u); /* 0x2B0581E6: call 0x2b058210 */ /* not lifted */
   1646     RECOMP_FLAGS_IN();
   1647     /* test MEM8(ebp + 0x8), 1 */ /* 0x2B0581EB: test byte ptr [ebp + 8], 1 */
   1648     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   1649     _cf = 0;
   1650     _flag_k = FK_NARROW(FK_TEST, 24);
   1651     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0581FA; /* 0x2B0581EF: je 0x2b0581fa */
   1652 L_2B0581F1:
   1653     PUSH32(esp, esi); /* 0x2B0581F1: push esi */
   1654     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0581F2: call 0x2b0ab1ba */ /* not lifted */
   1655     RECOMP_FLAGS_IN();
   1656     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   1657     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1658     esp = esp + 4; /* 0x2B0581F7: add esp, 4 */
   1659     _flag_k = FK_ADD;
   1660 L_2B0581FA:
   1661     eax = esi; /* 0x2B0581FA: mov eax, esi */
   1662     esi = POP32_VAL(esp); /* 0x2B0581FC: pop esi */
   1663     ebp = POP32_VAL(esp); /* 0x2B0581FD: pop ebp */
   1664     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0581FE: ret 4 */
   1665     RECOMP_REGS_OUT();
   1666 }
   1667 
   1668 void sub_2B058210(void) {
   1669     int _fpu_cmp = 0;
   1670     uint32_t _cf = 0;
   1671     int _df = 1;
   1672     uint32_t _flag_k = FK_NONE;
   1673     uint32_t _flag_a = 0, _flag_b = 0;
   1674     uint32_t _itail_tgt = 0;
   1675     RECOMP_REGS_LOCALS
   1676     RECOMP_ENTER(0x2B058210u);
   1677 
   1678 L_2B058210:
   1679     PUSH32(esp, ebp); /* 0x2B058210: push ebp */
   1680     ebp = esp; /* 0x2B058211: mov ebp, esp */
   1681     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B058213: push -1 */
   1682     PUSH32(esp, 0x2B0AFE4Eu); /* 0x2B058215: push 0x2b0afe4e */
   1683     eax = MEM32(FS_BASE + (0)); /* 0x2B05821A: mov eax, dword ptr fs:[0] */
   1684     PUSH32(esp, eax); /* 0x2B058220: push eax */
   1685     MEM32(FS_BASE + (0)) = esp; /* 0x2B058221: mov dword ptr fs:[0], esp */
   1686     PUSH32(esp, ecx); /* 0x2B058228: push ecx */
   1687     PUSH32(esp, ebx); /* 0x2B058229: push ebx */
   1688     PUSH32(esp, esi); /* 0x2B05822A: push esi */
   1689     esi = ecx; /* 0x2B05822B: mov esi, ecx */
   1690     PUSH32(esp, edi); /* 0x2B05822D: push edi */
   1691     MEM32(ebp + (-0x10)) = esi; /* 0x2B05822E: mov dword ptr [ebp - 0x10], esi */
   1692     MEM32(esi) = 0x2B0B6B80u; /* 0x2B058231: mov dword ptr [esi], 0x2b0b6b80 */
   1693     ecx = MEM32(esi + 0x28); /* 0x2B058237: mov ecx, dword ptr [esi + 0x28] */
   1694     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1695     ebx = 0; /* 0x2B05823A: xor ebx, ebx */
   1696     _cf = 0;
   1697     _flag_k = FK_TEST;
   1698     /* cmp ecx, ebx */ /* 0x2B05823C: cmp ecx, ebx */
   1699     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   1700     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1701     _flag_k = FK_CMP;
   1702     MEM32(ebp + (-0x4)) = 2; /* 0x2B05823E: mov dword ptr [ebp - 4], 2 */
   1703     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05824D; /* 0x2B058245: je 0x2b05824d */
   1704 L_2B058247:
   1705     eax = MEM32(ecx); /* 0x2B058247: mov eax, dword ptr [ecx] */
   1706     PUSH32(esp, 1); /* 0x2B058249: push 1 */
   1707     RECOMP_ICALL(MEM32(eax)); /* 0x2B05824B: call dword ptr [eax] */
   1708     RECOMP_FLAGS_IN();
   1709 L_2B05824D:
   1710     ecx = MEM32(esi + 0x2C); /* 0x2B05824D: mov ecx, dword ptr [esi + 0x2c] */
   1711     /* cmp ecx, ebx */ /* 0x2B058250: cmp ecx, ebx */
   1712     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   1713     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1714     _flag_k = FK_CMP;
   1715     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05825A; /* 0x2B058252: je 0x2b05825a */
   1716 L_2B058254:
   1717     edx = MEM32(ecx); /* 0x2B058254: mov edx, dword ptr [ecx] */
   1718     PUSH32(esp, 1); /* 0x2B058256: push 1 */
   1719     RECOMP_ICALL(MEM32(edx)); /* 0x2B058258: call dword ptr [edx] */
   1720     RECOMP_FLAGS_IN();
   1721 L_2B05825A:
   1722     ecx = MEM32(esi + 0x30); /* 0x2B05825A: mov ecx, dword ptr [esi + 0x30] */
   1723     /* cmp ecx, ebx */ /* 0x2B05825D: cmp ecx, ebx */
   1724     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   1725     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1726     _flag_k = FK_CMP;
   1727     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B058267; /* 0x2B05825F: je 0x2b058267 */
   1728 L_2B058261:
   1729     eax = MEM32(ecx); /* 0x2B058261: mov eax, dword ptr [ecx] */
   1730     PUSH32(esp, 1); /* 0x2B058263: push 1 */
   1731     RECOMP_ICALL(MEM32(eax)); /* 0x2B058265: call dword ptr [eax] */
   1732     RECOMP_FLAGS_IN();
   1733 L_2B058267:
   1734     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1735     edi = 0; /* 0x2B058267: xor edi, edi */
   1736     _cf = 0;
   1737     _flag_k = FK_TEST;
   1738 L_2B058269:
   1739     eax = MEM32(esi + 0x38); /* 0x2B058269: mov eax, dword ptr [esi + 0x38] */
   1740     /* cmp eax, ebx */ /* 0x2B05826C: cmp eax, ebx */
   1741     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   1742     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1743     _flag_k = FK_CMP;
   1744     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05828E; /* 0x2B05826E: je 0x2b05828e */
   1745 L_2B058270:
   1746     ecx = MEM32(esi + 0x3C); /* 0x2B058270: mov ecx, dword ptr [esi + 0x3c] */
   1747     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   1748     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1749     ecx = ecx - eax; /* 0x2B058273: sub ecx, eax */
   1750     _flag_k = FK_CMP;
   1751     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B058275: sar ecx, 2 */
   1752     if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1753     ecx = (uint32_t)((int32_t)ecx >> 2u);
   1754     /* cmp edi, ecx */ /* 0x2B058278: cmp edi, ecx */
   1755     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
   1756     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1757     _flag_k = FK_CMP;
   1758     if (CMP_AE(_flag_a, _flag_b)) goto L_2B05828E; /* 0x2B05827A: jae 0x2b05828e */
   1759 L_2B05827C:
   1760     edx = eax; /* 0x2B05827C: mov edx, eax */
   1761     ecx = MEM32(edx + edi * 4); /* 0x2B05827E: mov ecx, dword ptr [edx + edi*4] */
   1762     /* cmp ecx, ebx */ /* 0x2B058281: cmp ecx, ebx */
   1763     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   1764     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1765     _flag_k = FK_CMP;
   1766     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05828B; /* 0x2B058283: je 0x2b05828b */
   1767 L_2B058285:
   1768     eax = MEM32(ecx); /* 0x2B058285: mov eax, dword ptr [ecx] */
   1769     PUSH32(esp, 1); /* 0x2B058287: push 1 */
   1770     RECOMP_ICALL(MEM32(eax)); /* 0x2B058289: call dword ptr [eax] */
   1771     RECOMP_FLAGS_IN();
   1772 L_2B05828B:
   1773     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   1774     edi = edi + 1; /* 0x2B05828B: inc edi */
   1775     _flag_k = FK_INC;
   1776     RECOMP_BACKEDGE();
   1777     goto L_2B058269; /* 0x2B05828C: jmp 0x2b058269 */
   1778 L_2B05828E:
   1779     eax = MEM32(esi + 0x48); /* 0x2B05828E: mov eax, dword ptr [esi + 0x48] */
   1780     PUSH32(esp, eax); /* 0x2B058291: push eax */
   1781     MEM32(ebp + (-0x10)) = eax; /* 0x2B058292: mov dword ptr [ebp - 0x10], eax */
   1782     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B058295: call 0x2b0ab1ba */ /* not lifted */
   1783     RECOMP_FLAGS_IN();
   1784     MEM32(esi + 0x48) = ebx; /* 0x2B05829A: mov dword ptr [esi + 0x48], ebx */
   1785     MEM32(esi + 0x4C) = ebx; /* 0x2B05829D: mov dword ptr [esi + 0x4c], ebx */
   1786     MEM32(esi + 0x50) = ebx; /* 0x2B0582A0: mov dword ptr [esi + 0x50], ebx */
   1787     eax = MEM32(esi + 0x38); /* 0x2B0582A3: mov eax, dword ptr [esi + 0x38] */
   1788     PUSH32(esp, eax); /* 0x2B0582A6: push eax */
   1789     MEM32(ebp + (-0x10)) = eax; /* 0x2B0582A7: mov dword ptr [ebp - 0x10], eax */
   1790     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0582AA: call 0x2b0ab1ba */ /* not lifted */
   1791     RECOMP_FLAGS_IN();
   1792     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   1793     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1794     esp = esp + 8; /* 0x2B0582AF: add esp, 8 */
   1795     _flag_k = FK_ADD;
   1796     ecx = esi; /* 0x2B0582B2: mov ecx, esi */
   1797     MEM32(esi + 0x38) = ebx; /* 0x2B0582B4: mov dword ptr [esi + 0x38], ebx */
   1798     MEM32(esi + 0x3C) = ebx; /* 0x2B0582B7: mov dword ptr [esi + 0x3c], ebx */
   1799     MEM32(esi + 0x40) = ebx; /* 0x2B0582BA: mov dword ptr [esi + 0x40], ebx */
   1800     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B0582BD: mov dword ptr [ebp - 4], 0xffffffff */
   1801     RECOMP_ICALL(0x2B03A290u); /* 0x2B0582C4: call 0x2b03a290 */ /* not lifted */
   1802     RECOMP_FLAGS_IN();
   1803     ecx = MEM32(ebp + (-0xC)); /* 0x2B0582C9: mov ecx, dword ptr [ebp - 0xc] */
   1804     edi = POP32_VAL(esp); /* 0x2B0582CC: pop edi */
   1805     esi = POP32_VAL(esp); /* 0x2B0582CD: pop esi */
   1806     ebx = POP32_VAL(esp); /* 0x2B0582CE: pop ebx */
   1807     MEM32(FS_BASE + (0)) = ecx; /* 0x2B0582CF: mov dword ptr fs:[0], ecx */
   1808     esp = ebp; /* 0x2B0582D6: mov esp, ebp */
   1809     ebp = POP32_VAL(esp); /* 0x2B0582D8: pop ebp */
   1810     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0582D9: ret  */
   1811     RECOMP_REGS_OUT();
   1812 }
   1813 
   1814 void sub_2B0582E0(void) {
   1815     int _fpu_cmp = 0;
   1816     uint32_t _cf = 0;
   1817     int _df = 1;
   1818     uint32_t _flag_k = FK_NONE;
   1819     uint32_t _flag_a = 0, _flag_b = 0;
   1820     uint32_t _itail_tgt = 0;
   1821     RECOMP_REGS_LOCALS
   1822     RECOMP_ENTER(0x2B0582E0u);
   1823 
   1824 L_2B0582E0:
   1825     PUSH32(esp, ebp); /* 0x2B0582E0: push ebp */
   1826     ebp = esp; /* 0x2B0582E1: mov ebp, esp */
   1827     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x410u);
   1828     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1829     esp = esp - 0x410u; /* 0x2B0582E3: sub esp, 0x410 */
   1830     _flag_k = FK_CMP;
   1831     PUSH32(esp, ebx); /* 0x2B0582E9: push ebx */
   1832     PUSH32(esp, esi); /* 0x2B0582EA: push esi */
   1833     esi = ecx; /* 0x2B0582EB: mov esi, ecx */
   1834     ecx = MEM32(esi + 0x8); /* 0x2B0582ED: mov ecx, dword ptr [esi + 8] */
   1835     eax = MEM32(esi + 0x4); /* 0x2B0582F0: mov eax, dword ptr [esi + 4] */
   1836     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x14u);
   1837     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1838     ecx = ecx + 0x14u; /* 0x2B0582F3: add ecx, 0x14 */
   1839     _flag_k = FK_ADD;
   1840     PUSH32(esp, edi); /* 0x2B0582F6: push edi */
   1841     edx = ebp + (-0x8); /* 0x2B0582F7: lea edx, [ebp - 8] */
   1842     MEM32(ebp + (-0x4)) = ecx; /* 0x2B0582FA: mov dword ptr [ebp - 4], ecx */
   1843     ecx = MEM32(esi + 0x28); /* 0x2B0582FD: mov ecx, dword ptr [esi + 0x28] */
   1844     PUSH32(esp, edx); /* 0x2B058300: push edx */
   1845     MEM32(ebp + (-0x8)) = eax; /* 0x2B058301: mov dword ptr [ebp - 8], eax */
   1846     RECOMP_ICALL(MEM32(0x2B0B5940)); /* 0x2B058304: call dword ptr [0x2b0b5940] */
   1847     RECOMP_FLAGS_IN();
   1848     eax = MEM32(esi + 0x28); /* 0x2B05830A: mov eax, dword ptr [esi + 0x28] */
   1849     edi = MEM32(0x2B0B5924); /* 0x2B05830D: mov edi, dword ptr [0x2b0b5924] */
   1850     MEM8(eax + 0x9) = (uint8_t)(1); /* 0x2B058313: mov byte ptr [eax + 9], 1 */
   1851     ecx = MEM32(ebp + (-0x4)); /* 0x2B058317: mov ecx, dword ptr [ebp - 4] */
   1852     edx = MEM32(ebp + (-0x8)); /* 0x2B05831A: mov edx, dword ptr [ebp - 8] */
   1853     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8);
   1854     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1855     ecx = ecx + 8; /* 0x2B05831D: add ecx, 8 */
   1856     _flag_k = FK_ADD;
   1857     MEM32(ebp + (-0x4)) = ecx; /* 0x2B058320: mov dword ptr [ebp - 4], ecx */
   1858     ecx = MEM32(esi + 0x2C); /* 0x2B058323: mov ecx, dword ptr [esi + 0x2c] */
   1859     ebx = 4; /* 0x2B058326: mov ebx, 4 */
   1860     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx);
   1861     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1862     edx = edx + ebx; /* 0x2B05832B: add edx, ebx */
   1863     _flag_k = FK_ADD;
   1864     MEM32(ebp + (-0x8)) = edx; /* 0x2B05832D: mov dword ptr [ebp - 8], edx */
   1865     MEM8(ecx + 0x8) = (uint8_t)(1); /* 0x2B058330: mov byte ptr [ecx + 8], 1 */
   1866     edx = MEM32(ebp + (-0x4)); /* 0x2B058334: mov edx, dword ptr [ebp - 4] */
   1867     eax = MEM32(ebp + (-0x8)); /* 0x2B058337: mov eax, dword ptr [ebp - 8] */
   1868     ecx = MEM32(esi + 0x2C); /* 0x2B05833A: mov ecx, dword ptr [esi + 0x2c] */
   1869     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(2);
   1870     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1871     edx = edx + 2; /* 0x2B05833D: add edx, 2 */
   1872     _flag_k = FK_ADD;
   1873     PUSH32(esp, edx); /* 0x2B058340: push edx */
   1874     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   1875     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1876     eax = eax + ebx; /* 0x2B058341: add eax, ebx */
   1877     _flag_k = FK_ADD;
   1878     PUSH32(esp, eax); /* 0x2B058343: push eax */
   1879     RECOMP_ICALL(edi); /* 0x2B058344: call edi */
   1880     RECOMP_FLAGS_IN();
   1881     ecx = MEM32(esi + 0x2C); /* 0x2B058346: mov ecx, dword ptr [esi + 0x2c] */
   1882     MEM8(ecx + 0x9) = (uint8_t)(1); /* 0x2B058349: mov byte ptr [ecx + 9], 1 */
   1883     _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0xEu);
   1884     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1885     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) + 0xEu; /* 0x2B05834D: add dword ptr [ebp - 4], 0xe */
   1886     _flag_k = FK_ADD;
   1887     edx = MEM32(esi + 0x30); /* 0x2B058351: mov edx, dword ptr [esi + 0x30] */
   1888     MEM8(edx + 0x8) = (uint8_t)(1); /* 0x2B058354: mov byte ptr [edx + 8], 1 */
   1889     eax = MEM32(ebp + (-0x4)); /* 0x2B058358: mov eax, dword ptr [ebp - 4] */
   1890     ecx = MEM32(ebp + (-0x8)); /* 0x2B05835B: mov ecx, dword ptr [ebp - 8] */
   1891     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2);
   1892     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1893     eax = eax + 2; /* 0x2B05835E: add eax, 2 */
   1894     _flag_k = FK_ADD;
   1895     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx);
   1896     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1897     ecx = ecx + ebx; /* 0x2B058361: add ecx, ebx */
   1898     _flag_k = FK_ADD;
   1899     PUSH32(esp, eax); /* 0x2B058363: push eax */
   1900     PUSH32(esp, ecx); /* 0x2B058364: push ecx */
   1901     ecx = MEM32(esi + 0x30); /* 0x2B058365: mov ecx, dword ptr [esi + 0x30] */
   1902     RECOMP_ICALL(edi); /* 0x2B058368: call edi */
   1903     RECOMP_FLAGS_IN();
   1904     edx = MEM32(esi + 0x30); /* 0x2B05836A: mov edx, dword ptr [esi + 0x30] */
   1905     MEM8(edx + 0x9) = (uint8_t)(1); /* 0x2B05836D: mov byte ptr [edx + 9], 1 */
   1906     eax = MEM32(ebp + (-0x4)); /* 0x2B058371: mov eax, dword ptr [ebp - 4] */
   1907     edx = MEM32(ebp + (-0x8)); /* 0x2B058374: mov edx, dword ptr [ebp - 8] */
   1908     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1Cu);
   1909     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1910     eax = eax + 0x1Cu; /* 0x2B058377: add eax, 0x1c */
   1911     _flag_k = FK_ADD;
   1912     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx);
   1913     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1914     edx = edx + ebx; /* 0x2B05837A: add edx, ebx */
   1915     _flag_k = FK_ADD;
   1916     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2);
   1917     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1918     eax = eax + 2; /* 0x2B05837C: add eax, 2 */
   1919     _flag_k = FK_ADD;
   1920     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1921     edi = 0; /* 0x2B05837F: xor edi, edi */
   1922     _cf = 0;
   1923     _flag_k = FK_TEST;
   1924     MEM32(ebp + (-0x8)) = edx; /* 0x2B058381: mov dword ptr [ebp - 8], edx */
   1925     MEM32(ebp + (-0x4)) = eax; /* 0x2B058384: mov dword ptr [ebp - 4], eax */
   1926     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   1927     ebx = 0; /* 0x2B058387: xor ebx, ebx */
   1928     _cf = 0;
   1929     _flag_k = FK_TEST;
   1930 L_2B058389:
   1931     eax = MEM32(esi + 0x38); /* 0x2B058389: mov eax, dword ptr [esi + 0x38] */
   1932     /* test eax, eax */ /* 0x2B05838C: test eax, eax */
   1933     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1934     _cf = 0;
   1935     _flag_k = FK_TEST;
   1936     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0584AB; /* 0x2B05838E: je 0x2b0584ab */
   1937 L_2B058394:
   1938     ecx = MEM32(esi + 0x3C); /* 0x2B058394: mov ecx, dword ptr [esi + 0x3c] */
   1939     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   1940     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1941     ecx = ecx - eax; /* 0x2B058397: sub ecx, eax */
   1942     _flag_k = FK_CMP;
   1943     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B058399: sar ecx, 2 */
   1944     if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1945     ecx = (uint32_t)((int32_t)ecx >> 2u);
   1946     /* cmp edi, ecx */ /* 0x2B05839C: cmp edi, ecx */
   1947     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
   1948     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1949     _flag_k = FK_CMP;
   1950     if (CMP_AE(_flag_a, _flag_b)) goto L_2B0584AB; /* 0x2B05839E: jae 0x2b0584ab */
   1951 L_2B0583A4:
   1952     eax = MEM32(esi + 0x48); /* 0x2B0583A4: mov eax, dword ptr [esi + 0x48] */
   1953     /* test eax, eax */ /* 0x2B0583A7: test eax, eax */
   1954     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   1955     _cf = 0;
   1956     _flag_k = FK_TEST;
   1957     if (TEST_Z(_flag_a, _flag_b)) goto L_2B058452; /* 0x2B0583A9: je 0x2b058452 */
   1958 L_2B0583AF:
   1959     ecx = MEM32(esi + 0x4C); /* 0x2B0583AF: mov ecx, dword ptr [esi + 0x4c] */
   1960     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   1961     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1962     ecx = ecx - eax; /* 0x2B0583B2: sub ecx, eax */
   1963     _flag_k = FK_CMP;
   1964     eax = 0x2AAAAAABu; /* 0x2B0583B4: mov eax, 0x2aaaaaab */
   1965     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B0583B9: imul ecx */
   1966       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
   1967       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
   1968     if (1u) _cf = (((edx) >> 0) & 1u); /* 0x2B0583BB: sar edx, 1 */
   1969     if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1970     edx = (uint32_t)((int32_t)edx >> 1u);
   1971     eax = edx; /* 0x2B0583BD: mov eax, edx */
   1972     if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B0583BF: shr eax, 0x1f */
   1973     if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   1974     eax = eax >> 31u; /* 0x2B0583BF: shr eax, 0x1f */
   1975     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   1976     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1977     edx = edx + eax; /* 0x2B0583C2: add edx, eax */
   1978     _flag_k = FK_ADD;
   1979     /* cmp edi, edx */ /* 0x2B0583C4: cmp edi, edx */
   1980     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   1981     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   1982     _flag_k = FK_CMP;
   1983     if (CMP_AE(_flag_a, _flag_b)) goto L_2B058452; /* 0x2B0583C6: jae 0x2b058452 */
   1984 L_2B0583CC:
   1985     ecx = MEM32(esi + 0x38); /* 0x2B0583CC: mov ecx, dword ptr [esi + 0x38] */
   1986     eax = MEM32(ecx + edi * 4); /* 0x2B0583CF: mov eax, dword ptr [ecx + edi*4] */
   1987     edx = MEM32(eax + 0x20); /* 0x2B0583D2: mov edx, dword ptr [eax + 0x20] */
   1988     MEM8(eax + 0x8) = (uint8_t)(1); /* 0x2B0583D5: mov byte ptr [eax + 8], 1 */
   1989     MEM8(edx + 0x8) = (uint8_t)(1); /* 0x2B0583D9: mov byte ptr [edx + 8], 1 */
   1990     eax = MEM32(esi + 0x48); /* 0x2B0583DD: mov eax, dword ptr [esi + 0x48] */
   1991     ecx = MEM32(eax + ebx + 0x8); /* 0x2B0583E0: mov ecx, dword ptr [eax + ebx + 8] */
   1992     edx = MEM32(eax + ebx + 0x4); /* 0x2B0583E4: mov edx, dword ptr [eax + ebx + 4] */
   1993     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   1994     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   1995     eax = eax + ebx; /* 0x2B0583E8: add eax, ebx */
   1996     _flag_k = FK_ADD;
   1997     MEM32(ebp + (-0x10)) = ecx; /* 0x2B0583EA: mov dword ptr [ebp - 0x10], ecx */
   1998     fp_push((double)(int32_t)MEM32(ebp + (-0x10))); /* 0x2B0583ED: fild dword ptr [ebp - 0x10] */
   1999     MEM32(ebp + (-0xC)) = edx; /* 0x2B0583F0: mov dword ptr [ebp - 0xc], edx */
   2000     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2001     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2002     esp = esp - 8; /* 0x2B0583F3: sub esp, 8 */
   2003     _flag_k = FK_CMP;
   2004     _st[0] = _st[0] / (double)(int32_t)MEM32(ebp + (-0xC)); /* 0x2B0583F6: fidiv dword ptr [ebp - 0xc] */
   2005     _st[0] = *(double*)ADDR(0x2B0B63C0) - _st[0]; /* 0x2B0583F9: fsubr qword ptr [0x2b0b63c0] */
   2006     _st[0] *= *(double*)ADDR(0x2B0B6BA0); /* 0x2B0583FF: fmul qword ptr [0x2b0b6ba0] */
   2007     { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x2B058405: fstp qword ptr [esp] */
   2008     PUSH32(esp, ecx); /* 0x2B058408: push ecx */
   2009     ecx = MEM32(eax); /* 0x2B058409: mov ecx, dword ptr [eax] */
   2010     PUSH32(esp, edx); /* 0x2B05840B: push edx */
   2011     PUSH32(esp, ecx); /* 0x2B05840C: push ecx */
   2012     edx = ebp + (-0x410); /* 0x2B05840D: lea edx, [ebp - 0x410] */
   2013     PUSH32(esp, 0x2B0E8718u); /* 0x2B058413: push 0x2b0e8718 */
   2014     PUSH32(esp, edx); /* 0x2B058418: push edx */
   2015     RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B058419: call dword ptr [0x2b0b51f0] */
   2016     RECOMP_FLAGS_IN();
   2017     ecx = MEM32(esi + 0x38); /* 0x2B05841F: mov ecx, dword ptr [esi + 0x38] */
   2018     ecx = MEM32(ecx + edi * 4); /* 0x2B058422: mov ecx, dword ptr [ecx + edi*4] */
   2019     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu);
   2020     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2021     esp = esp + 0x1Cu; /* 0x2B058425: add esp, 0x1c */
   2022     _flag_k = FK_ADD;
   2023     eax = ebp + (-0x410); /* 0x2B058428: lea eax, [ebp - 0x410] */
   2024     PUSH32(esp, eax); /* 0x2B05842E: push eax */
   2025     RECOMP_ICALL(0x2B0584C0u); /* 0x2B05842F: call 0x2b0584c0 */ /* not lifted */
   2026     RECOMP_FLAGS_IN();
   2027     edx = MEM32(esi + 0x48); /* 0x2B058434: mov edx, dword ptr [esi + 0x48] */
   2028     fp_push((double)(int32_t)MEM32(edx + ebx + 0x8)); /* 0x2B058437: fild dword ptr [edx + ebx + 8] */
   2029     eax = edx + ebx; /* 0x2B05843B: lea eax, [edx + ebx] */
   2030     _st[0] = _st[0] / (double)(int32_t)MEM32(eax + 0x4); /* 0x2B05843E: fidiv dword ptr [eax + 4] */
   2031     eax = MEM32(esi + 0x38); /* 0x2B058441: mov eax, dword ptr [esi + 0x38] */
   2032     ecx = MEM32(eax + edi * 4); /* 0x2B058444: mov ecx, dword ptr [eax + edi*4] */
   2033     _st[0] = (double)*(float*)ADDR(0x2B0B63D0) - _st[0]; /* 0x2B058447: fsubr dword ptr [0x2b0b63d0] */
   2034     { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x28) = _v; } /* 0x2B05844D: fstp dword ptr [ecx + 0x28] */
   2035     goto L_2B058470; /* 0x2B058450: jmp 0x2b058470 */
   2036 L_2B058452:
   2037     edx = MEM32(esi + 0x38); /* 0x2B058452: mov edx, dword ptr [esi + 0x38] */
   2038     eax = MEM32(edx + edi * 4); /* 0x2B058455: mov eax, dword ptr [edx + edi*4] */
   2039     MEM8(eax + 0x8) = (uint8_t)(0); /* 0x2B058458: mov byte ptr [eax + 8], 0 */
   2040     eax = MEM32(eax + 0x20); /* 0x2B05845C: mov eax, dword ptr [eax + 0x20] */
   2041     MEM8(eax + 0x8) = (uint8_t)(0); /* 0x2B05845F: mov byte ptr [eax + 8], 0 */
   2042     ecx = MEM32(esi + 0x38); /* 0x2B058463: mov ecx, dword ptr [esi + 0x38] */
   2043     edx = MEM32(ecx + edi * 4); /* 0x2B058466: mov edx, dword ptr [ecx + edi*4] */
   2044     MEM32(edx + 0x28) = 0; /* 0x2B058469: mov dword ptr [edx + 0x28], 0 */
   2045 L_2B058470:
   2046     ecx = MEM32(esi + 0x38); /* 0x2B058470: mov ecx, dword ptr [esi + 0x38] */
   2047     edx = MEM32(ebp + (-0x8)); /* 0x2B058473: mov edx, dword ptr [ebp - 8] */
   2048     ecx = MEM32(ecx + edi * 4); /* 0x2B058476: mov ecx, dword ptr [ecx + edi*4] */
   2049     eax = MEM32(ebp + (-0x4)); /* 0x2B058479: mov eax, dword ptr [ebp - 4] */
   2050     MEM32(ecx + 0x14) = edx; /* 0x2B05847C: mov dword ptr [ecx + 0x14], edx */
   2051     MEM32(ecx + 0x18) = eax; /* 0x2B05847F: mov dword ptr [ecx + 0x18], eax */
   2052     ecx = MEM32(ecx + 0x20); /* 0x2B058482: mov ecx, dword ptr [ecx + 0x20] */
   2053     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   2054     eax = eax + 1; /* 0x2B058485: inc eax */
   2055     _flag_k = FK_INC;
   2056     PUSH32(esp, eax); /* 0x2B058486: push eax */
   2057     PUSH32(esp, edx); /* 0x2B058487: push edx */
   2058     RECOMP_ICALL(MEM32(0x2B0B5924)); /* 0x2B058488: call dword ptr [0x2b0b5924] */
   2059     RECOMP_FLAGS_IN();
   2060     edx = MEM32(esi + 0x38); /* 0x2B05848E: mov edx, dword ptr [esi + 0x38] */
   2061     ecx = MEM32(edx + edi * 4); /* 0x2B058491: mov ecx, dword ptr [edx + edi*4] */
   2062     RECOMP_ICALL(0x2B057FF0u); /* 0x2B058494: call 0x2b057ff0 */ /* not lifted */
   2063     RECOMP_FLAGS_IN();
   2064     edx = MEM32(ebp + (-0x4)); /* 0x2B058499: mov edx, dword ptr [ebp - 4] */
   2065     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0xEu);
   2066     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2067     edx = edx + 0xEu; /* 0x2B05849C: add edx, 0xe */
   2068     _flag_k = FK_ADD;
   2069     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   2070     edi = edi + 1; /* 0x2B05849F: inc edi */
   2071     _flag_k = FK_INC;
   2072     MEM32(ebp + (-0x4)) = edx; /* 0x2B0584A0: mov dword ptr [ebp - 4], edx */
   2073     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0xCu);
   2074     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2075     ebx = ebx + 0xCu; /* 0x2B0584A3: add ebx, 0xc */
   2076     _flag_k = FK_ADD;
   2077     RECOMP_BACKEDGE();
   2078     goto L_2B058389; /* 0x2B0584A6: jmp 0x2b058389 */
   2079 L_2B0584AB:
   2080     edi = POP32_VAL(esp); /* 0x2B0584AB: pop edi */
   2081     esi = POP32_VAL(esp); /* 0x2B0584AC: pop esi */
   2082     ebx = POP32_VAL(esp); /* 0x2B0584AD: pop ebx */
   2083     esp = ebp; /* 0x2B0584AE: mov esp, ebp */
   2084     ebp = POP32_VAL(esp); /* 0x2B0584B0: pop ebp */
   2085     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0584B1: ret  */
   2086     RECOMP_REGS_OUT();
   2087 }
   2088 
   2089 void sub_2B058389(void) {
   2090     int _fpu_cmp = 0;
   2091     uint32_t _cf = 0;
   2092     int _df = 1;
   2093     uint32_t _flag_k = FK_NONE;
   2094     uint32_t _flag_a = 0, _flag_b = 0;
   2095     uint32_t _itail_tgt = 0;
   2096     RECOMP_REGS_LOCALS
   2097     RECOMP_ENTER(0x2B058389u);
   2098 
   2099 L_2B058389:
   2100     eax = MEM32(esi + 0x38); /* 0x2B058389: mov eax, dword ptr [esi + 0x38] */
   2101     /* test eax, eax */ /* 0x2B05838C: test eax, eax */
   2102     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2103     _cf = 0;
   2104     _flag_k = FK_TEST;
   2105     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0584AB; /* 0x2B05838E: je 0x2b0584ab */
   2106 L_2B058394:
   2107     ecx = MEM32(esi + 0x3C); /* 0x2B058394: mov ecx, dword ptr [esi + 0x3c] */
   2108     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   2109     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2110     ecx = ecx - eax; /* 0x2B058397: sub ecx, eax */
   2111     _flag_k = FK_CMP;
   2112     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B058399: sar ecx, 2 */
   2113     if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2114     ecx = (uint32_t)((int32_t)ecx >> 2u);
   2115     /* cmp edi, ecx */ /* 0x2B05839C: cmp edi, ecx */
   2116     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
   2117     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2118     _flag_k = FK_CMP;
   2119     if (CMP_AE(_flag_a, _flag_b)) goto L_2B0584AB; /* 0x2B05839E: jae 0x2b0584ab */
   2120 L_2B0583A4:
   2121     eax = MEM32(esi + 0x48); /* 0x2B0583A4: mov eax, dword ptr [esi + 0x48] */
   2122     /* test eax, eax */ /* 0x2B0583A7: test eax, eax */
   2123     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2124     _cf = 0;
   2125     _flag_k = FK_TEST;
   2126     if (TEST_Z(_flag_a, _flag_b)) goto L_2B058452; /* 0x2B0583A9: je 0x2b058452 */
   2127 L_2B0583AF:
   2128     ecx = MEM32(esi + 0x4C); /* 0x2B0583AF: mov ecx, dword ptr [esi + 0x4c] */
   2129     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   2130     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2131     ecx = ecx - eax; /* 0x2B0583B2: sub ecx, eax */
   2132     _flag_k = FK_CMP;
   2133     eax = 0x2AAAAAABu; /* 0x2B0583B4: mov eax, 0x2aaaaaab */
   2134     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B0583B9: imul ecx */
   2135       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
   2136       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
   2137     if (1u) _cf = (((edx) >> 0) & 1u); /* 0x2B0583BB: sar edx, 1 */
   2138     if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2139     edx = (uint32_t)((int32_t)edx >> 1u);
   2140     eax = edx; /* 0x2B0583BD: mov eax, edx */
   2141     if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B0583BF: shr eax, 0x1f */
   2142     if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2143     eax = eax >> 31u; /* 0x2B0583BF: shr eax, 0x1f */
   2144     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   2145     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2146     edx = edx + eax; /* 0x2B0583C2: add edx, eax */
   2147     _flag_k = FK_ADD;
   2148     /* cmp edi, edx */ /* 0x2B0583C4: cmp edi, edx */
   2149     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   2150     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2151     _flag_k = FK_CMP;
   2152     if (CMP_AE(_flag_a, _flag_b)) goto L_2B058452; /* 0x2B0583C6: jae 0x2b058452 */
   2153 L_2B0583CC:
   2154     ecx = MEM32(esi + 0x38); /* 0x2B0583CC: mov ecx, dword ptr [esi + 0x38] */
   2155     eax = MEM32(ecx + edi * 4); /* 0x2B0583CF: mov eax, dword ptr [ecx + edi*4] */
   2156     edx = MEM32(eax + 0x20); /* 0x2B0583D2: mov edx, dword ptr [eax + 0x20] */
   2157     MEM8(eax + 0x8) = (uint8_t)(1); /* 0x2B0583D5: mov byte ptr [eax + 8], 1 */
   2158     MEM8(edx + 0x8) = (uint8_t)(1); /* 0x2B0583D9: mov byte ptr [edx + 8], 1 */
   2159     eax = MEM32(esi + 0x48); /* 0x2B0583DD: mov eax, dword ptr [esi + 0x48] */
   2160     ecx = MEM32(eax + ebx + 0x8); /* 0x2B0583E0: mov ecx, dword ptr [eax + ebx + 8] */
   2161     edx = MEM32(eax + ebx + 0x4); /* 0x2B0583E4: mov edx, dword ptr [eax + ebx + 4] */
   2162     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   2163     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2164     eax = eax + ebx; /* 0x2B0583E8: add eax, ebx */
   2165     _flag_k = FK_ADD;
   2166     MEM32(ebp + (-0x10)) = ecx; /* 0x2B0583EA: mov dword ptr [ebp - 0x10], ecx */
   2167     fp_push((double)(int32_t)MEM32(ebp + (-0x10))); /* 0x2B0583ED: fild dword ptr [ebp - 0x10] */
   2168     MEM32(ebp + (-0xC)) = edx; /* 0x2B0583F0: mov dword ptr [ebp - 0xc], edx */
   2169     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2170     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2171     esp = esp - 8; /* 0x2B0583F3: sub esp, 8 */
   2172     _flag_k = FK_CMP;
   2173     _st[0] = _st[0] / (double)(int32_t)MEM32(ebp + (-0xC)); /* 0x2B0583F6: fidiv dword ptr [ebp - 0xc] */
   2174     _st[0] = *(double*)ADDR(0x2B0B63C0) - _st[0]; /* 0x2B0583F9: fsubr qword ptr [0x2b0b63c0] */
   2175     _st[0] *= *(double*)ADDR(0x2B0B6BA0); /* 0x2B0583FF: fmul qword ptr [0x2b0b6ba0] */
   2176     { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x2B058405: fstp qword ptr [esp] */
   2177     PUSH32(esp, ecx); /* 0x2B058408: push ecx */
   2178     ecx = MEM32(eax); /* 0x2B058409: mov ecx, dword ptr [eax] */
   2179     PUSH32(esp, edx); /* 0x2B05840B: push edx */
   2180     PUSH32(esp, ecx); /* 0x2B05840C: push ecx */
   2181     edx = ebp + (-0x410); /* 0x2B05840D: lea edx, [ebp - 0x410] */
   2182     PUSH32(esp, 0x2B0E8718u); /* 0x2B058413: push 0x2b0e8718 */
   2183     PUSH32(esp, edx); /* 0x2B058418: push edx */
   2184     RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B058419: call dword ptr [0x2b0b51f0] */
   2185     RECOMP_FLAGS_IN();
   2186     ecx = MEM32(esi + 0x38); /* 0x2B05841F: mov ecx, dword ptr [esi + 0x38] */
   2187     ecx = MEM32(ecx + edi * 4); /* 0x2B058422: mov ecx, dword ptr [ecx + edi*4] */
   2188     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu);
   2189     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2190     esp = esp + 0x1Cu; /* 0x2B058425: add esp, 0x1c */
   2191     _flag_k = FK_ADD;
   2192     eax = ebp + (-0x410); /* 0x2B058428: lea eax, [ebp - 0x410] */
   2193     PUSH32(esp, eax); /* 0x2B05842E: push eax */
   2194     RECOMP_ICALL(0x2B0584C0u); /* 0x2B05842F: call 0x2b0584c0 */ /* not lifted */
   2195     RECOMP_FLAGS_IN();
   2196     edx = MEM32(esi + 0x48); /* 0x2B058434: mov edx, dword ptr [esi + 0x48] */
   2197     fp_push((double)(int32_t)MEM32(edx + ebx + 0x8)); /* 0x2B058437: fild dword ptr [edx + ebx + 8] */
   2198     eax = edx + ebx; /* 0x2B05843B: lea eax, [edx + ebx] */
   2199     _st[0] = _st[0] / (double)(int32_t)MEM32(eax + 0x4); /* 0x2B05843E: fidiv dword ptr [eax + 4] */
   2200     eax = MEM32(esi + 0x38); /* 0x2B058441: mov eax, dword ptr [esi + 0x38] */
   2201     ecx = MEM32(eax + edi * 4); /* 0x2B058444: mov ecx, dword ptr [eax + edi*4] */
   2202     _st[0] = (double)*(float*)ADDR(0x2B0B63D0) - _st[0]; /* 0x2B058447: fsubr dword ptr [0x2b0b63d0] */
   2203     { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x28) = _v; } /* 0x2B05844D: fstp dword ptr [ecx + 0x28] */
   2204     goto L_2B058470; /* 0x2B058450: jmp 0x2b058470 */
   2205 L_2B058452:
   2206     edx = MEM32(esi + 0x38); /* 0x2B058452: mov edx, dword ptr [esi + 0x38] */
   2207     eax = MEM32(edx + edi * 4); /* 0x2B058455: mov eax, dword ptr [edx + edi*4] */
   2208     MEM8(eax + 0x8) = (uint8_t)(0); /* 0x2B058458: mov byte ptr [eax + 8], 0 */
   2209     eax = MEM32(eax + 0x20); /* 0x2B05845C: mov eax, dword ptr [eax + 0x20] */
   2210     MEM8(eax + 0x8) = (uint8_t)(0); /* 0x2B05845F: mov byte ptr [eax + 8], 0 */
   2211     ecx = MEM32(esi + 0x38); /* 0x2B058463: mov ecx, dword ptr [esi + 0x38] */
   2212     edx = MEM32(ecx + edi * 4); /* 0x2B058466: mov edx, dword ptr [ecx + edi*4] */
   2213     MEM32(edx + 0x28) = 0; /* 0x2B058469: mov dword ptr [edx + 0x28], 0 */
   2214 L_2B058470:
   2215     ecx = MEM32(esi + 0x38); /* 0x2B058470: mov ecx, dword ptr [esi + 0x38] */
   2216     edx = MEM32(ebp + (-0x8)); /* 0x2B058473: mov edx, dword ptr [ebp - 8] */
   2217     ecx = MEM32(ecx + edi * 4); /* 0x2B058476: mov ecx, dword ptr [ecx + edi*4] */
   2218     eax = MEM32(ebp + (-0x4)); /* 0x2B058479: mov eax, dword ptr [ebp - 4] */
   2219     MEM32(ecx + 0x14) = edx; /* 0x2B05847C: mov dword ptr [ecx + 0x14], edx */
   2220     MEM32(ecx + 0x18) = eax; /* 0x2B05847F: mov dword ptr [ecx + 0x18], eax */
   2221     ecx = MEM32(ecx + 0x20); /* 0x2B058482: mov ecx, dword ptr [ecx + 0x20] */
   2222     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   2223     eax = eax + 1; /* 0x2B058485: inc eax */
   2224     _flag_k = FK_INC;
   2225     PUSH32(esp, eax); /* 0x2B058486: push eax */
   2226     PUSH32(esp, edx); /* 0x2B058487: push edx */
   2227     RECOMP_ICALL(MEM32(0x2B0B5924)); /* 0x2B058488: call dword ptr [0x2b0b5924] */
   2228     RECOMP_FLAGS_IN();
   2229     edx = MEM32(esi + 0x38); /* 0x2B05848E: mov edx, dword ptr [esi + 0x38] */
   2230     ecx = MEM32(edx + edi * 4); /* 0x2B058491: mov ecx, dword ptr [edx + edi*4] */
   2231     RECOMP_ICALL(0x2B057FF0u); /* 0x2B058494: call 0x2b057ff0 */ /* not lifted */
   2232     RECOMP_FLAGS_IN();
   2233     edx = MEM32(ebp + (-0x4)); /* 0x2B058499: mov edx, dword ptr [ebp - 4] */
   2234     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0xEu);
   2235     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2236     edx = edx + 0xEu; /* 0x2B05849C: add edx, 0xe */
   2237     _flag_k = FK_ADD;
   2238     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   2239     edi = edi + 1; /* 0x2B05849F: inc edi */
   2240     _flag_k = FK_INC;
   2241     MEM32(ebp + (-0x4)) = edx; /* 0x2B0584A0: mov dword ptr [ebp - 4], edx */
   2242     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0xCu);
   2243     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2244     ebx = ebx + 0xCu; /* 0x2B0584A3: add ebx, 0xc */
   2245     _flag_k = FK_ADD;
   2246     RECOMP_BACKEDGE();
   2247     goto L_2B058389; /* 0x2B0584A6: jmp 0x2b058389 */
   2248 L_2B0584AB:
   2249     edi = POP32_VAL(esp); /* 0x2B0584AB: pop edi */
   2250     esi = POP32_VAL(esp); /* 0x2B0584AC: pop esi */
   2251     ebx = POP32_VAL(esp); /* 0x2B0584AD: pop ebx */
   2252     esp = ebp; /* 0x2B0584AE: mov esp, ebp */
   2253     ebp = POP32_VAL(esp); /* 0x2B0584B0: pop ebp */
   2254     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0584B1: ret  */
   2255     RECOMP_REGS_OUT();
   2256 }
   2257 
   2258 void sub_2B058470(void) {
   2259     int _fpu_cmp = 0;
   2260     uint32_t _cf = 0;
   2261     int _df = 1;
   2262     uint32_t _flag_k = FK_NONE;
   2263     uint32_t _flag_a = 0, _flag_b = 0;
   2264     uint32_t _itail_tgt = 0;
   2265     RECOMP_REGS_LOCALS
   2266     RECOMP_ENTER(0x2B058470u);
   2267 
   2268     goto L_2B058470;
   2269 L_2B058389:
   2270     eax = MEM32(esi + 0x38); /* 0x2B058389: mov eax, dword ptr [esi + 0x38] */
   2271     /* test eax, eax */ /* 0x2B05838C: test eax, eax */
   2272     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2273     _cf = 0;
   2274     _flag_k = FK_TEST;
   2275     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0584AB; /* 0x2B05838E: je 0x2b0584ab */
   2276 L_2B058394:
   2277     ecx = MEM32(esi + 0x3C); /* 0x2B058394: mov ecx, dword ptr [esi + 0x3c] */
   2278     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   2279     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2280     ecx = ecx - eax; /* 0x2B058397: sub ecx, eax */
   2281     _flag_k = FK_CMP;
   2282     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B058399: sar ecx, 2 */
   2283     if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2284     ecx = (uint32_t)((int32_t)ecx >> 2u);
   2285     /* cmp edi, ecx */ /* 0x2B05839C: cmp edi, ecx */
   2286     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx);
   2287     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2288     _flag_k = FK_CMP;
   2289     if (CMP_AE(_flag_a, _flag_b)) goto L_2B0584AB; /* 0x2B05839E: jae 0x2b0584ab */
   2290 L_2B0583A4:
   2291     eax = MEM32(esi + 0x48); /* 0x2B0583A4: mov eax, dword ptr [esi + 0x48] */
   2292     /* test eax, eax */ /* 0x2B0583A7: test eax, eax */
   2293     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2294     _cf = 0;
   2295     _flag_k = FK_TEST;
   2296     if (TEST_Z(_flag_a, _flag_b)) goto L_2B058452; /* 0x2B0583A9: je 0x2b058452 */
   2297 L_2B0583AF:
   2298     ecx = MEM32(esi + 0x4C); /* 0x2B0583AF: mov ecx, dword ptr [esi + 0x4c] */
   2299     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   2300     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2301     ecx = ecx - eax; /* 0x2B0583B2: sub ecx, eax */
   2302     _flag_k = FK_CMP;
   2303     eax = 0x2AAAAAABu; /* 0x2B0583B4: mov eax, 0x2aaaaaab */
   2304     { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B0583B9: imul ecx */
   2305       eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r;
   2306       _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; }
   2307     if (1u) _cf = (((edx) >> 0) & 1u); /* 0x2B0583BB: sar edx, 1 */
   2308     if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2309     edx = (uint32_t)((int32_t)edx >> 1u);
   2310     eax = edx; /* 0x2B0583BD: mov eax, edx */
   2311     if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B0583BF: shr eax, 0x1f */
   2312     if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2313     eax = eax >> 31u; /* 0x2B0583BF: shr eax, 0x1f */
   2314     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax);
   2315     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2316     edx = edx + eax; /* 0x2B0583C2: add edx, eax */
   2317     _flag_k = FK_ADD;
   2318     /* cmp edi, edx */ /* 0x2B0583C4: cmp edi, edx */
   2319     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   2320     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2321     _flag_k = FK_CMP;
   2322     if (CMP_AE(_flag_a, _flag_b)) goto L_2B058452; /* 0x2B0583C6: jae 0x2b058452 */
   2323 L_2B0583CC:
   2324     ecx = MEM32(esi + 0x38); /* 0x2B0583CC: mov ecx, dword ptr [esi + 0x38] */
   2325     eax = MEM32(ecx + edi * 4); /* 0x2B0583CF: mov eax, dword ptr [ecx + edi*4] */
   2326     edx = MEM32(eax + 0x20); /* 0x2B0583D2: mov edx, dword ptr [eax + 0x20] */
   2327     MEM8(eax + 0x8) = (uint8_t)(1); /* 0x2B0583D5: mov byte ptr [eax + 8], 1 */
   2328     MEM8(edx + 0x8) = (uint8_t)(1); /* 0x2B0583D9: mov byte ptr [edx + 8], 1 */
   2329     eax = MEM32(esi + 0x48); /* 0x2B0583DD: mov eax, dword ptr [esi + 0x48] */
   2330     ecx = MEM32(eax + ebx + 0x8); /* 0x2B0583E0: mov ecx, dword ptr [eax + ebx + 8] */
   2331     edx = MEM32(eax + ebx + 0x4); /* 0x2B0583E4: mov edx, dword ptr [eax + ebx + 4] */
   2332     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   2333     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2334     eax = eax + ebx; /* 0x2B0583E8: add eax, ebx */
   2335     _flag_k = FK_ADD;
   2336     MEM32(ebp + (-0x10)) = ecx; /* 0x2B0583EA: mov dword ptr [ebp - 0x10], ecx */
   2337     fp_push((double)(int32_t)MEM32(ebp + (-0x10))); /* 0x2B0583ED: fild dword ptr [ebp - 0x10] */
   2338     MEM32(ebp + (-0xC)) = edx; /* 0x2B0583F0: mov dword ptr [ebp - 0xc], edx */
   2339     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   2340     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2341     esp = esp - 8; /* 0x2B0583F3: sub esp, 8 */
   2342     _flag_k = FK_CMP;
   2343     _st[0] = _st[0] / (double)(int32_t)MEM32(ebp + (-0xC)); /* 0x2B0583F6: fidiv dword ptr [ebp - 0xc] */
   2344     _st[0] = *(double*)ADDR(0x2B0B63C0) - _st[0]; /* 0x2B0583F9: fsubr qword ptr [0x2b0b63c0] */
   2345     _st[0] *= *(double*)ADDR(0x2B0B6BA0); /* 0x2B0583FF: fmul qword ptr [0x2b0b6ba0] */
   2346     { double _v = fp_pop(); *(double*)ADDR(esp) = _v; } /* 0x2B058405: fstp qword ptr [esp] */
   2347     PUSH32(esp, ecx); /* 0x2B058408: push ecx */
   2348     ecx = MEM32(eax); /* 0x2B058409: mov ecx, dword ptr [eax] */
   2349     PUSH32(esp, edx); /* 0x2B05840B: push edx */
   2350     PUSH32(esp, ecx); /* 0x2B05840C: push ecx */
   2351     edx = ebp + (-0x410); /* 0x2B05840D: lea edx, [ebp - 0x410] */
   2352     PUSH32(esp, 0x2B0E8718u); /* 0x2B058413: push 0x2b0e8718 */
   2353     PUSH32(esp, edx); /* 0x2B058418: push edx */
   2354     RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B058419: call dword ptr [0x2b0b51f0] */
   2355     RECOMP_FLAGS_IN();
   2356     ecx = MEM32(esi + 0x38); /* 0x2B05841F: mov ecx, dword ptr [esi + 0x38] */
   2357     ecx = MEM32(ecx + edi * 4); /* 0x2B058422: mov ecx, dword ptr [ecx + edi*4] */
   2358     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu);
   2359     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2360     esp = esp + 0x1Cu; /* 0x2B058425: add esp, 0x1c */
   2361     _flag_k = FK_ADD;
   2362     eax = ebp + (-0x410); /* 0x2B058428: lea eax, [ebp - 0x410] */
   2363     PUSH32(esp, eax); /* 0x2B05842E: push eax */
   2364     RECOMP_ICALL(0x2B0584C0u); /* 0x2B05842F: call 0x2b0584c0 */ /* not lifted */
   2365     RECOMP_FLAGS_IN();
   2366     edx = MEM32(esi + 0x48); /* 0x2B058434: mov edx, dword ptr [esi + 0x48] */
   2367     fp_push((double)(int32_t)MEM32(edx + ebx + 0x8)); /* 0x2B058437: fild dword ptr [edx + ebx + 8] */
   2368     eax = edx + ebx; /* 0x2B05843B: lea eax, [edx + ebx] */
   2369     _st[0] = _st[0] / (double)(int32_t)MEM32(eax + 0x4); /* 0x2B05843E: fidiv dword ptr [eax + 4] */
   2370     eax = MEM32(esi + 0x38); /* 0x2B058441: mov eax, dword ptr [esi + 0x38] */
   2371     ecx = MEM32(eax + edi * 4); /* 0x2B058444: mov ecx, dword ptr [eax + edi*4] */
   2372     _st[0] = (double)*(float*)ADDR(0x2B0B63D0) - _st[0]; /* 0x2B058447: fsubr dword ptr [0x2b0b63d0] */
   2373     { float _v = (float)fp_pop(); *(float*)ADDR(ecx + 0x28) = _v; } /* 0x2B05844D: fstp dword ptr [ecx + 0x28] */
   2374     goto L_2B058470; /* 0x2B058450: jmp 0x2b058470 */
   2375 L_2B058452:
   2376     edx = MEM32(esi + 0x38); /* 0x2B058452: mov edx, dword ptr [esi + 0x38] */
   2377     eax = MEM32(edx + edi * 4); /* 0x2B058455: mov eax, dword ptr [edx + edi*4] */
   2378     MEM8(eax + 0x8) = (uint8_t)(0); /* 0x2B058458: mov byte ptr [eax + 8], 0 */
   2379     eax = MEM32(eax + 0x20); /* 0x2B05845C: mov eax, dword ptr [eax + 0x20] */
   2380     MEM8(eax + 0x8) = (uint8_t)(0); /* 0x2B05845F: mov byte ptr [eax + 8], 0 */
   2381     ecx = MEM32(esi + 0x38); /* 0x2B058463: mov ecx, dword ptr [esi + 0x38] */
   2382     edx = MEM32(ecx + edi * 4); /* 0x2B058466: mov edx, dword ptr [ecx + edi*4] */
   2383     MEM32(edx + 0x28) = 0; /* 0x2B058469: mov dword ptr [edx + 0x28], 0 */
   2384 L_2B058470:
   2385     ecx = MEM32(esi + 0x38); /* 0x2B058470: mov ecx, dword ptr [esi + 0x38] */
   2386     edx = MEM32(ebp + (-0x8)); /* 0x2B058473: mov edx, dword ptr [ebp - 8] */
   2387     ecx = MEM32(ecx + edi * 4); /* 0x2B058476: mov ecx, dword ptr [ecx + edi*4] */
   2388     eax = MEM32(ebp + (-0x4)); /* 0x2B058479: mov eax, dword ptr [ebp - 4] */
   2389     MEM32(ecx + 0x14) = edx; /* 0x2B05847C: mov dword ptr [ecx + 0x14], edx */
   2390     MEM32(ecx + 0x18) = eax; /* 0x2B05847F: mov dword ptr [ecx + 0x18], eax */
   2391     ecx = MEM32(ecx + 0x20); /* 0x2B058482: mov ecx, dword ptr [ecx + 0x20] */
   2392     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1);
   2393     eax = eax + 1; /* 0x2B058485: inc eax */
   2394     _flag_k = FK_INC;
   2395     PUSH32(esp, eax); /* 0x2B058486: push eax */
   2396     PUSH32(esp, edx); /* 0x2B058487: push edx */
   2397     RECOMP_ICALL(MEM32(0x2B0B5924)); /* 0x2B058488: call dword ptr [0x2b0b5924] */
   2398     RECOMP_FLAGS_IN();
   2399     edx = MEM32(esi + 0x38); /* 0x2B05848E: mov edx, dword ptr [esi + 0x38] */
   2400     ecx = MEM32(edx + edi * 4); /* 0x2B058491: mov ecx, dword ptr [edx + edi*4] */
   2401     RECOMP_ICALL(0x2B057FF0u); /* 0x2B058494: call 0x2b057ff0 */ /* not lifted */
   2402     RECOMP_FLAGS_IN();
   2403     edx = MEM32(ebp + (-0x4)); /* 0x2B058499: mov edx, dword ptr [ebp - 4] */
   2404     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0xEu);
   2405     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2406     edx = edx + 0xEu; /* 0x2B05849C: add edx, 0xe */
   2407     _flag_k = FK_ADD;
   2408     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1);
   2409     edi = edi + 1; /* 0x2B05849F: inc edi */
   2410     _flag_k = FK_INC;
   2411     MEM32(ebp + (-0x4)) = edx; /* 0x2B0584A0: mov dword ptr [ebp - 4], edx */
   2412     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0xCu);
   2413     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2414     ebx = ebx + 0xCu; /* 0x2B0584A3: add ebx, 0xc */
   2415     _flag_k = FK_ADD;
   2416     RECOMP_BACKEDGE();
   2417     goto L_2B058389; /* 0x2B0584A6: jmp 0x2b058389 */
   2418 L_2B0584AB:
   2419     edi = POP32_VAL(esp); /* 0x2B0584AB: pop edi */
   2420     esi = POP32_VAL(esp); /* 0x2B0584AC: pop esi */
   2421     ebx = POP32_VAL(esp); /* 0x2B0584AD: pop ebx */
   2422     esp = ebp; /* 0x2B0584AE: mov esp, ebp */
   2423     ebp = POP32_VAL(esp); /* 0x2B0584B0: pop ebp */
   2424     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0584B1: ret  */
   2425     RECOMP_REGS_OUT();
   2426 }
   2427 
   2428 void sub_2B0584C0(void) {
   2429     int _fpu_cmp = 0;
   2430     uint32_t _cf = 0;
   2431     int _df = 1;
   2432     uint32_t _flag_k = FK_NONE;
   2433     uint32_t _flag_a = 0, _flag_b = 0;
   2434     uint32_t _itail_tgt = 0;
   2435     RECOMP_REGS_LOCALS
   2436     RECOMP_ENTER(0x2B0584C0u);
   2437 
   2438 L_2B0584C0:
   2439     PUSH32(esp, ebp); /* 0x2B0584C0: push ebp */
   2440     ebp = esp; /* 0x2B0584C1: mov ebp, esp */
   2441     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0584C3: push -1 */
   2442     PUSH32(esp, 0x2B0AFE7Eu); /* 0x2B0584C5: push 0x2b0afe7e */
   2443     eax = MEM32(FS_BASE + (0)); /* 0x2B0584CA: mov eax, dword ptr fs:[0] */
   2444     PUSH32(esp, eax); /* 0x2B0584D0: push eax */
   2445     MEM32(FS_BASE + (0)) = esp; /* 0x2B0584D1: mov dword ptr fs:[0], esp */
   2446     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u);
   2447     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2448     esp = esp - 0x18u; /* 0x2B0584D8: sub esp, 0x18 */
   2449     _flag_k = FK_CMP;
   2450     SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B0584DB: mov al, byte ptr [ebp + 0xb] */
   2451     PUSH32(esp, ebx); /* 0x2B0584DE: push ebx */
   2452     PUSH32(esp, esi); /* 0x2B0584DF: push esi */
   2453     MEM32(ebp + (-0x10)) = ecx; /* 0x2B0584E0: mov dword ptr [ebp - 0x10], ecx */
   2454     PUSH32(esp, edi); /* 0x2B0584E3: push edi */
   2455     edi = MEM32(ebp + 0x8); /* 0x2B0584E4: mov edi, dword ptr [ebp + 8] */
   2456     _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu));
   2457     ecx = ecx | 0xFFFFFFFFu; /* 0x2B0584E7: or ecx, 0xffffffff */
   2458     _cf = 0;
   2459     _flag_k = FK_TEST;
   2460     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2461     esi = 0; /* 0x2B0584EA: xor esi, esi */
   2462     _cf = 0;
   2463     _flag_k = FK_TEST;
   2464     MEM8(ebp + (-0x24)) = (uint8_t)(LO8(eax)); /* 0x2B0584EC: mov byte ptr [ebp - 0x24], al */
   2465     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2466     eax = 0; /* 0x2B0584EF: xor eax, eax */
   2467     _cf = 0;
   2468     _flag_k = FK_TEST;
   2469     if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B0584F1: repne scasb al, byte ptr es:[edi] */
   2470     ecx = ~ecx; /* 0x2B0584F3: not ecx */
   2471     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1);
   2472     ecx = ecx - 1; /* 0x2B0584F5: dec ecx */
   2473     _flag_k = FK_DEC;
   2474     ebx = ecx; /* 0x2B0584F6: mov ebx, ecx */
   2475     PUSH32(esp, 1); /* 0x2B0584F8: push 1 */
   2476     PUSH32(esp, ebx); /* 0x2B0584FA: push ebx */
   2477     ecx = ebp + (-0x24); /* 0x2B0584FB: lea ecx, [ebp - 0x24] */
   2478     MEM32(ebp + (-0x20)) = esi; /* 0x2B0584FE: mov dword ptr [ebp - 0x20], esi */
   2479     MEM32(ebp + (-0x1C)) = esi; /* 0x2B058501: mov dword ptr [ebp - 0x1c], esi */
   2480     MEM32(ebp + (-0x18)) = esi; /* 0x2B058504: mov dword ptr [ebp - 0x18], esi */
   2481     RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B058507: call dword ptr [0x2b0b5154] */
   2482     RECOMP_FLAGS_IN();
   2483     /* test LO8(eax), LO8(eax) */ /* 0x2B05850D: test al, al */
   2484     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   2485     _cf = 0;
   2486     _flag_k = FK_NARROW(FK_TEST, 24);
   2487     if (TEST_Z(_flag_a, _flag_b)) goto L_2B058533; /* 0x2B05850F: je 0x2b058533 */
   2488 L_2B058511:
   2489     edi = MEM32(ebp + (-0x20)); /* 0x2B058511: mov edi, dword ptr [ebp - 0x20] */
   2490     esi = MEM32(ebp + 0x8); /* 0x2B058514: mov esi, dword ptr [ebp + 8] */
   2491     ecx = ebx; /* 0x2B058517: mov ecx, ebx */
   2492     edx = ecx; /* 0x2B058519: mov edx, ecx */
   2493     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B05851B: shr ecx, 2 */
   2494     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2495     ecx = ecx >> 2u; /* 0x2B05851B: shr ecx, 2 */
   2496     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B05851E: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   2497     ecx = edx; /* 0x2B058520: mov ecx, edx */
   2498     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   2499     ecx = ecx & 3; /* 0x2B058522: and ecx, 3 */
   2500     _cf = 0;
   2501     _flag_k = FK_TEST;
   2502     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B058525: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   2503     PUSH32(esp, ebx); /* 0x2B058527: push ebx */
   2504     ecx = ebp + (-0x24); /* 0x2B058528: lea ecx, [ebp - 0x24] */
   2505     RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B05852B: call dword ptr [0x2b0b5150] */
   2506     RECOMP_FLAGS_IN();
   2507     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2508     esi = 0; /* 0x2B058531: xor esi, esi */
   2509     _cf = 0;
   2510     _flag_k = FK_TEST;
   2511 L_2B058533:
   2512     MEM32(ebp + (-0x14)) = esi; /* 0x2B058533: mov dword ptr [ebp - 0x14], esi */
   2513     eax = MEM32(ebp + (-0x10)); /* 0x2B058536: mov eax, dword ptr [ebp - 0x10] */
   2514     ecx = MEM32(0x2B0B515C); /* 0x2B058539: mov ecx, dword ptr [0x2b0b515c] */
   2515     edi = MEM32(eax + 0x20); /* 0x2B05853F: mov edi, dword ptr [eax + 0x20] */
   2516     eax = MEM32(ecx); /* 0x2B058542: mov eax, dword ptr [ecx] */
   2517     ecx = MEM32(ebp + (-0x1C)); /* 0x2B058544: mov ecx, dword ptr [ebp - 0x1c] */
   2518     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x14u);
   2519     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2520     edi = edi + 0x14u; /* 0x2B058547: add edi, 0x14 */
   2521     _flag_k = FK_ADD;
   2522     ebx = ecx; /* 0x2B05854A: mov ebx, ecx */
   2523     /* cmp eax, ebx */ /* 0x2B05854C: cmp eax, ebx */
   2524     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx);
   2525     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2526     _flag_k = FK_CMP;
   2527     MEM32(ebp + (-0x4)) = esi; /* 0x2B05854E: mov dword ptr [ebp - 4], esi */
   2528     MEM32(ebp + 0x8) = edi; /* 0x2B058551: mov dword ptr [ebp + 8], edi */
   2529     if (CMP_AE(_flag_a, _flag_b)) goto L_2B058558; /* 0x2B058554: jae 0x2b058558 */
   2530 L_2B058556:
   2531     ebx = eax; /* 0x2B058556: mov ebx, eax */
   2532 L_2B058558:
   2533     edx = ebp + (-0x24); /* 0x2B058558: lea edx, [ebp - 0x24] */
   2534     /* cmp edi, edx */ /* 0x2B05855B: cmp edi, edx */
   2535     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx);
   2536     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2537     _flag_k = FK_CMP;
   2538     if (CMP_NE(_flag_a, _flag_b)) goto L_2B058577; /* 0x2B05855D: jne 0x2b058577 */
   2539 L_2B05855F:
   2540     PUSH32(esp, eax); /* 0x2B05855F: push eax */
   2541     PUSH32(esp, ebx); /* 0x2B058560: push ebx */
   2542     ecx = edi; /* 0x2B058561: mov ecx, edi */
   2543     RECOMP_ICALL(MEM32(0x2B0B51AC)); /* 0x2B058563: call dword ptr [0x2b0b51ac] */
   2544     RECOMP_FLAGS_IN();
   2545     PUSH32(esp, 0); /* 0x2B058569: push 0 */
   2546     PUSH32(esp, 0); /* 0x2B05856B: push 0 */
   2547     ecx = edi; /* 0x2B05856D: mov ecx, edi */
   2548     RECOMP_ICALL(MEM32(0x2B0B51AC)); /* 0x2B05856F: call dword ptr [0x2b0b51ac] */
   2549     RECOMP_FLAGS_IN();
   2550     goto L_2B0585F4; /* 0x2B058575: jmp 0x2b0585f4 */
   2551 L_2B058577:
   2552     /* test ebx, ebx */ /* 0x2B058577: test ebx, ebx */
   2553     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx);
   2554     _cf = 0;
   2555     _flag_k = FK_TEST;
   2556     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0585BB; /* 0x2B058579: jbe 0x2b0585bb */
   2557 L_2B05857B:
   2558     /* cmp ebx, ecx */ /* 0x2B05857B: cmp ebx, ecx */
   2559     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx);
   2560     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2561     _flag_k = FK_CMP;
   2562     if (CMP_NE(_flag_a, _flag_b)) goto L_2B0585BB; /* 0x2B05857D: jne 0x2b0585bb */
   2563 L_2B05857F:
   2564     eax = MEM32(ebp + (-0x20)); /* 0x2B05857F: mov eax, dword ptr [ebp - 0x20] */
   2565     /* test eax, eax */ /* 0x2B058582: test eax, eax */
   2566     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2567     _cf = 0;
   2568     _flag_k = FK_TEST;
   2569     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05858B; /* 0x2B058584: jne 0x2b05858b */
   2570 L_2B058586:
   2571     eax = MEM32(0x2B0B513C); /* 0x2B058586: mov eax, dword ptr [0x2b0b513c] */
   2572 L_2B05858B:
   2573     /* cmp MEM8(eax + (-0x1)), 0xFEu */ /* 0x2B05858B: cmp byte ptr [eax - 1], 0xfe */
   2574     _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(0xFEu) << 24;
   2575     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2576     _flag_k = FK_NARROW(FK_CMP, 24);
   2577     if (CMP_AE(_flag_a, _flag_b)) goto L_2B0585BB; /* 0x2B05858F: jae 0x2b0585bb */
   2578 L_2B058591:
   2579     PUSH32(esp, 1); /* 0x2B058591: push 1 */
   2580     ecx = edi; /* 0x2B058593: mov ecx, edi */
   2581     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B058595: call dword ptr [0x2b0b514c] */
   2582     RECOMP_FLAGS_IN();
   2583     eax = MEM32(ebp + (-0x20)); /* 0x2B05859B: mov eax, dword ptr [ebp - 0x20] */
   2584     /* test eax, eax */ /* 0x2B05859E: test eax, eax */
   2585     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   2586     _cf = 0;
   2587     _flag_k = FK_TEST;
   2588     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0585A7; /* 0x2B0585A0: jne 0x2b0585a7 */
   2589 L_2B0585A2:
   2590     eax = MEM32(0x2B0B513C); /* 0x2B0585A2: mov eax, dword ptr [0x2b0b513c] */
   2591 L_2B0585A7:
   2592     MEM32(edi + 0x4) = eax; /* 0x2B0585A7: mov dword ptr [edi + 4], eax */
   2593     ecx = MEM32(ebp + (-0x1C)); /* 0x2B0585AA: mov ecx, dword ptr [ebp - 0x1c] */
   2594     MEM32(edi + 0x8) = ecx; /* 0x2B0585AD: mov dword ptr [edi + 8], ecx */
   2595     edx = MEM32(ebp + (-0x18)); /* 0x2B0585B0: mov edx, dword ptr [ebp - 0x18] */
   2596     MEM32(edi + 0xC) = edx; /* 0x2B0585B3: mov dword ptr [edi + 0xc], edx */
   2597     _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(1) << 24;
   2598     MEM8(eax + (-0x1)) = (uint8_t)(MEM8(eax + (-0x1)) + 1); /* 0x2B0585B6: inc byte ptr [eax - 1] */
   2599     _flag_k = FK_NARROW(FK_INC, 24);
   2600     goto L_2B0585F4; /* 0x2B0585B9: jmp 0x2b0585f4 */
   2601 L_2B0585BB:
   2602     PUSH32(esp, 1); /* 0x2B0585BB: push 1 */
   2603     PUSH32(esp, ebx); /* 0x2B0585BD: push ebx */
   2604     ecx = edi; /* 0x2B0585BE: mov ecx, edi */
   2605     RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0585C0: call dword ptr [0x2b0b5154] */
   2606     RECOMP_FLAGS_IN();
   2607     /* test LO8(eax), LO8(eax) */ /* 0x2B0585C6: test al, al */
   2608     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   2609     _cf = 0;
   2610     _flag_k = FK_NARROW(FK_TEST, 24);
   2611     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0585F4; /* 0x2B0585C8: je 0x2b0585f4 */
   2612 L_2B0585CA:
   2613     esi = MEM32(ebp + (-0x20)); /* 0x2B0585CA: mov esi, dword ptr [ebp - 0x20] */
   2614     /* test esi, esi */ /* 0x2B0585CD: test esi, esi */
   2615     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   2616     _cf = 0;
   2617     _flag_k = FK_TEST;
   2618     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0585D7; /* 0x2B0585CF: jne 0x2b0585d7 */
   2619 L_2B0585D1:
   2620     esi = MEM32(0x2B0B513C); /* 0x2B0585D1: mov esi, dword ptr [0x2b0b513c] */
   2621 L_2B0585D7:
   2622     edi = MEM32(edi + 0x4); /* 0x2B0585D7: mov edi, dword ptr [edi + 4] */
   2623     ecx = ebx; /* 0x2B0585DA: mov ecx, ebx */
   2624     eax = ecx; /* 0x2B0585DC: mov eax, ecx */
   2625     if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0585DE: shr ecx, 2 */
   2626     if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; }
   2627     ecx = ecx >> 2u; /* 0x2B0585DE: shr ecx, 2 */
   2628     if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0585E1: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   2629     ecx = eax; /* 0x2B0585E3: mov ecx, eax */
   2630     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3);
   2631     ecx = ecx & 3; /* 0x2B0585E5: and ecx, 3 */
   2632     _cf = 0;
   2633     _flag_k = FK_TEST;
   2634     if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0585E8: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; }
   2635     ecx = MEM32(ebp + 0x8); /* 0x2B0585EA: mov ecx, dword ptr [ebp + 8] */
   2636     PUSH32(esp, ebx); /* 0x2B0585ED: push ebx */
   2637     RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B0585EE: call dword ptr [0x2b0b5150] */
   2638     RECOMP_FLAGS_IN();
   2639 L_2B0585F4:
   2640     esi = MEM32(ebp + (-0x14)); /* 0x2B0585F4: mov esi, dword ptr [ebp - 0x14] */
   2641     /* test esi, esi */ /* 0x2B0585F7: test esi, esi */
   2642     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   2643     _cf = 0;
   2644     _flag_k = FK_TEST;
   2645     MEM32(ebp + (-0x4)) = 1; /* 0x2B0585F9: mov dword ptr [ebp - 4], 1 */
   2646     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05863F; /* 0x2B058600: je 0x2b05863f */
   2647 L_2B058602:
   2648     edx = MEM32(esi + 0x2C); /* 0x2B058602: mov edx, dword ptr [esi + 0x2c] */
   2649     eax = esi + 0x2C; /* 0x2B058605: lea eax, [esi + 0x2c] */
   2650     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1);
   2651     edx = edx - 1; /* 0x2B058608: dec edx */
   2652     _flag_k = FK_DEC;
   2653     ecx = edx; /* 0x2B058609: mov ecx, edx */
   2654     /* test ecx, ecx */ /* 0x2B05860B: test ecx, ecx */
   2655     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   2656     _cf = 0;
   2657     _flag_k = FK_TEST;
   2658     MEM32(eax) = edx; /* 0x2B05860D: mov dword ptr [eax], edx */
   2659     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05863F; /* 0x2B05860F: jne 0x2b05863f */
   2660 L_2B058611:
   2661     /* test esi, esi */ /* 0x2B058611: test esi, esi */
   2662     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi);
   2663     _cf = 0;
   2664     _flag_k = FK_TEST;
   2665     MEM32(ebp + 0x8) = esi; /* 0x2B058613: mov dword ptr [ebp + 8], esi */
   2666     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05863F; /* 0x2B058616: je 0x2b05863f */
   2667 L_2B058618:
   2668     PUSH32(esp, 1); /* 0x2B058618: push 1 */
   2669     ecx = esi + 0x1C; /* 0x2B05861A: lea ecx, [esi + 0x1c] */
   2670     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B05861D: mov byte ptr [ebp - 4], 2 */
   2671     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B058621: call dword ptr [0x2b0b514c] */
   2672     RECOMP_FLAGS_IN();
   2673     PUSH32(esp, 1); /* 0x2B058627: push 1 */
   2674     ecx = esi + 0xC; /* 0x2B058629: lea ecx, [esi + 0xc] */
   2675     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B05862C: mov byte ptr [ebp - 4], 1 */
   2676     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B058630: call dword ptr [0x2b0b514c] */
   2677     RECOMP_FLAGS_IN();
   2678     PUSH32(esp, esi); /* 0x2B058636: push esi */
   2679     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B058637: call 0x2b0ab1ba */ /* not lifted */
   2680     RECOMP_FLAGS_IN();
   2681     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2682     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2683     esp = esp + 4; /* 0x2B05863C: add esp, 4 */
   2684     _flag_k = FK_ADD;
   2685 L_2B05863F:
   2686     PUSH32(esp, 1); /* 0x2B05863F: push 1 */
   2687     ecx = ebp + (-0x24); /* 0x2B058641: lea ecx, [ebp - 0x24] */
   2688     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B058644: mov dword ptr [ebp - 4], 0xffffffff */
   2689     RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B05864B: call dword ptr [0x2b0b514c] */
   2690     RECOMP_FLAGS_IN();
   2691     ecx = MEM32(ebp + (-0xC)); /* 0x2B058651: mov ecx, dword ptr [ebp - 0xc] */
   2692     edi = POP32_VAL(esp); /* 0x2B058654: pop edi */
   2693     esi = POP32_VAL(esp); /* 0x2B058655: pop esi */
   2694     ebx = POP32_VAL(esp); /* 0x2B058656: pop ebx */
   2695     MEM32(FS_BASE + (0)) = ecx; /* 0x2B058657: mov dword ptr fs:[0], ecx */
   2696     esp = ebp; /* 0x2B05865E: mov esp, ebp */
   2697     ebp = POP32_VAL(esp); /* 0x2B058660: pop ebp */
   2698     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B058661: ret 4 */
   2699     RECOMP_REGS_OUT();
   2700 }
   2701 
   2702 void sub_2B058670(void) {
   2703     int _fpu_cmp = 0;
   2704     uint32_t _cf = 0;
   2705     int _df = 1;
   2706     uint32_t _flag_k = FK_NONE;
   2707     uint32_t _flag_a = 0, _flag_b = 0;
   2708     uint32_t _itail_tgt = 0;
   2709     RECOMP_REGS_LOCALS
   2710     RECOMP_ENTER(0x2B058670u);
   2711 
   2712 L_2B058670:
   2713     SET_LO8(eax, MEM8(ecx + 0xC)); /* 0x2B058670: mov al, byte ptr [ecx + 0xc] */
   2714     /* test LO8(eax), LO8(eax) */ /* 0x2B058673: test al, al */
   2715     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   2716     _cf = 0;
   2717     _flag_k = FK_NARROW(FK_TEST, 24);
   2718     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05867E; /* 0x2B058675: je 0x2b05867e */
   2719 L_2B058677:
   2720     eax = MEM32(ecx + 0x28); /* 0x2B058677: mov eax, dword ptr [ecx + 0x28] */
   2721     MEM8(eax + 0x8) = (uint8_t)(1); /* 0x2B05867A: mov byte ptr [eax + 8], 1 */
   2722 L_2B05867E:
   2723     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05867E: ret  */
   2724     RECOMP_REGS_OUT();
   2725 }
   2726 
   2727 void sub_2B058680(void) {
   2728     int _fpu_cmp = 0;
   2729     uint32_t _cf = 0;
   2730     int _df = 1;
   2731     uint32_t _flag_k = FK_NONE;
   2732     uint32_t _flag_a = 0, _flag_b = 0;
   2733     uint32_t _itail_tgt = 0;
   2734     RECOMP_REGS_LOCALS
   2735     RECOMP_ENTER(0x2B058680u);
   2736 
   2737 L_2B058680:
   2738     eax = MEM32(ecx + 0x28); /* 0x2B058680: mov eax, dword ptr [ecx + 0x28] */
   2739     MEM8(eax + 0x8) = (uint8_t)(0); /* 0x2B058683: mov byte ptr [eax + 8], 0 */
   2740     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B058687: ret  */
   2741     RECOMP_REGS_OUT();
   2742 }
   2743 
   2744 void sub_2B058690(void) {
   2745     int _fpu_cmp = 0;
   2746     uint32_t _cf = 0;
   2747     int _df = 1;
   2748     uint32_t _flag_k = FK_NONE;
   2749     uint32_t _flag_a = 0, _flag_b = 0;
   2750     uint32_t _itail_tgt = 0;
   2751     RECOMP_REGS_LOCALS
   2752     RECOMP_ENTER(0x2B058690u);
   2753 
   2754 L_2B058690:
   2755     PUSH32(esp, ebp); /* 0x2B058690: push ebp */
   2756     ebp = esp; /* 0x2B058691: mov ebp, esp */
   2757     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B058693: push -1 */
   2758     PUSH32(esp, 0x2B0AFEAFu); /* 0x2B058695: push 0x2b0afeaf */
   2759     eax = MEM32(FS_BASE + (0)); /* 0x2B05869A: mov eax, dword ptr fs:[0] */
   2760     PUSH32(esp, eax); /* 0x2B0586A0: push eax */
   2761     MEM32(FS_BASE + (0)) = esp; /* 0x2B0586A1: mov dword ptr fs:[0], esp */
   2762     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x78u);
   2763     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2764     esp = esp - 0x78u; /* 0x2B0586A8: sub esp, 0x78 */
   2765     _flag_k = FK_CMP;
   2766     PUSH32(esp, ebx); /* 0x2B0586AB: push ebx */
   2767     PUSH32(esp, esi); /* 0x2B0586AC: push esi */
   2768     esi = MEM32(0x2B0B5258); /* 0x2B0586AD: mov esi, dword ptr [0x2b0b5258] */
   2769     PUSH32(esp, edi); /* 0x2B0586B3: push edi */
   2770     PUSH32(esp, 0x2B0E87C8u); /* 0x2B0586B4: push 0x2b0e87c8 */
   2771     RECOMP_ICALL(esi); /* 0x2B0586B9: call esi */
   2772     RECOMP_FLAGS_IN();
   2773     edi = MEM32(0x2B0B53CC); /* 0x2B0586BB: mov edi, dword ptr [0x2b0b53cc] */
   2774     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2775     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2776     esp = esp + 4; /* 0x2B0586C1: add esp, 4 */
   2777     _flag_k = FK_ADD;
   2778     RECOMP_ICALL(edi); /* 0x2B0586C4: call edi */
   2779     RECOMP_FLAGS_IN();
   2780     ecx = eax; /* 0x2B0586C6: mov ecx, eax */
   2781     RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B0586C8: call dword ptr [0x2b0b53a4] */
   2782     RECOMP_FLAGS_IN();
   2783     ebx = eax; /* 0x2B0586CE: mov ebx, eax */
   2784     eax = ebp + (-0x10); /* 0x2B0586D0: lea eax, [ebp - 0x10] */
   2785     PUSH32(esp, eax); /* 0x2B0586D3: push eax */
   2786     RECOMP_ICALL(edi); /* 0x2B0586D4: call edi */
   2787     RECOMP_FLAGS_IN();
   2788     ecx = eax; /* 0x2B0586D6: mov ecx, eax */
   2789     RECOMP_ICALL(MEM32(0x2B0B53A8)); /* 0x2B0586D8: call dword ptr [0x2b0b53a8] */
   2790     RECOMP_FLAGS_IN();
   2791     ecx = MEM32(ebp + (-0x10)); /* 0x2B0586DE: mov ecx, dword ptr [ebp - 0x10] */
   2792     PUSH32(esp, ecx); /* 0x2B0586E1: push ecx */
   2793     PUSH32(esp, ebx); /* 0x2B0586E2: push ebx */
   2794     ecx = ebp + (-0x84); /* 0x2B0586E3: lea ecx, [ebp - 0x84] */
   2795     RECOMP_ICALL(MEM32(0x2B0B5C34)); /* 0x2B0586E9: call dword ptr [0x2b0b5c34] */
   2796     RECOMP_FLAGS_IN();
   2797     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2798     ebx = 0; /* 0x2B0586EF: xor ebx, ebx */
   2799     _cf = 0;
   2800     _flag_k = FK_TEST;
   2801     ecx = ebp + (-0x28); /* 0x2B0586F1: lea ecx, [ebp - 0x28] */
   2802     MEM32(ebp + (-0x4)) = ebx; /* 0x2B0586F4: mov dword ptr [ebp - 4], ebx */
   2803     RECOMP_ICALL(0x2B0A8730u); /* 0x2B0586F7: call 0x2b0a8730 */ /* not lifted */
   2804     RECOMP_FLAGS_IN();
   2805     edx = ebp + (-0x28); /* 0x2B0586FC: lea edx, [ebp - 0x28] */
   2806     PUSH32(esp, edx); /* 0x2B0586FF: push edx */
   2807     eax = ebp + (-0x84); /* 0x2B058700: lea eax, [ebp - 0x84] */
   2808     PUSH32(esp, eax); /* 0x2B058706: push eax */
   2809     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B058707: mov byte ptr [ebp - 4], 1 */
   2810     MEM32(ebp + (-0x40)) = ebx; /* 0x2B05870B: mov dword ptr [ebp - 0x40], ebx */
   2811     MEM32(ebp + (-0x3C)) = ebx; /* 0x2B05870E: mov dword ptr [ebp - 0x3c], ebx */
   2812     MEM32(ebp + (-0x38)) = ebx; /* 0x2B058711: mov dword ptr [ebp - 0x38], ebx */
   2813     MEM32(ebp + (-0x34)) = ebx; /* 0x2B058714: mov dword ptr [ebp - 0x34], ebx */
   2814     MEM32(ebp + (-0x30)) = ebx; /* 0x2B058717: mov dword ptr [ebp - 0x30], ebx */
   2815     MEM32(ebp + (-0x2C)) = ebx; /* 0x2B05871A: mov dword ptr [ebp - 0x2c], ebx */
   2816     RECOMP_ICALL(0x2B0A8870u); /* 0x2B05871D: call 0x2b0a8870 */ /* not lifted */
   2817     RECOMP_FLAGS_IN();
   2818     ecx = ebp + (-0x40); /* 0x2B058722: lea ecx, [ebp - 0x40] */
   2819     PUSH32(esp, ecx); /* 0x2B058725: push ecx */
   2820     edx = ebp + (-0x84); /* 0x2B058726: lea edx, [ebp - 0x84] */
   2821     PUSH32(esp, edx); /* 0x2B05872C: push edx */
   2822     RECOMP_ICALL(0x2B0A8910u); /* 0x2B05872D: call 0x2b0a8910 */ /* not lifted */
   2823     RECOMP_FLAGS_IN();
   2824     eax = MEM32(ebp + (-0x2C)); /* 0x2B058732: mov eax, dword ptr [ebp - 0x2c] */
   2825     PUSH32(esp, eax); /* 0x2B058735: push eax */
   2826     PUSH32(esp, 0x2B0E87A0u); /* 0x2B058736: push 0x2b0e87a0 */
   2827     RECOMP_ICALL(esi); /* 0x2B05873B: call esi */
   2828     RECOMP_FLAGS_IN();
   2829     PUSH32(esp, 0x50u); /* 0x2B05873D: push 0x50 */
   2830     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05873F: call 0x2b0ab212 */ /* not lifted */
   2831     RECOMP_FLAGS_IN();
   2832     esi = eax; /* 0x2B058744: mov esi, eax */
   2833     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu);
   2834     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2835     esp = esp + 0x1Cu; /* 0x2B058746: add esp, 0x1c */
   2836     _flag_k = FK_ADD;
   2837     MEM32(ebp + (-0x14)) = esi; /* 0x2B058749: mov dword ptr [ebp - 0x14], esi */
   2838     /* cmp esi, ebx */ /* 0x2B05874C: cmp esi, ebx */
   2839     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   2840     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2841     _flag_k = FK_CMP;
   2842     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B05874E: mov byte ptr [ebp - 4], 2 */
   2843     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05878B; /* 0x2B058752: je 0x2b05878b */
   2844 L_2B058754:
   2845     RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B058754: call dword ptr [0x2b0b5b64] */
   2846     RECOMP_FLAGS_IN();
   2847     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u);
   2848     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2849     eax = eax + 0xD4u; /* 0x2B05875A: add eax, 0xd4 */
   2850     _flag_k = FK_ADD;
   2851     ecx = ebp + (-0x1C); /* 0x2B05875F: lea ecx, [ebp - 0x1c] */
   2852     /* cmp ecx, eax */ /* 0x2B058762: cmp ecx, eax */
   2853     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   2854     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   2855     _flag_k = FK_CMP;
   2856     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B058771; /* 0x2B058764: je 0x2b058771 */
   2857 L_2B058766:
   2858     edx = MEM32(eax); /* 0x2B058766: mov edx, dword ptr [eax] */
   2859     MEM32(ebp + (-0x1C)) = edx; /* 0x2B058768: mov dword ptr [ebp - 0x1c], edx */
   2860     eax = MEM32(eax + 0x4); /* 0x2B05876B: mov eax, dword ptr [eax + 4] */
   2861     MEM32(ebp + (-0x18)) = eax; /* 0x2B05876E: mov dword ptr [ebp - 0x18], eax */
   2862 L_2B058771:
   2863     PUSH32(esp, 1); /* 0x2B058771: push 1 */
   2864     ecx = ebp + (-0x28); /* 0x2B058773: lea ecx, [ebp - 0x28] */
   2865     PUSH32(esp, ecx); /* 0x2B058776: push ecx */
   2866     edx = ebp + (-0x1C); /* 0x2B058777: lea edx, [ebp - 0x1c] */
   2867     PUSH32(esp, edx); /* 0x2B05877A: push edx */
   2868     ecx = esi; /* 0x2B05877B: mov ecx, esi */
   2869     RECOMP_ICALL(MEM32(0x2B0B6000)); /* 0x2B05877D: call dword ptr [0x2b0b6000] */
   2870     RECOMP_FLAGS_IN();
   2871     MEM32(esi) = 0x2B0B6BACu; /* 0x2B058783: mov dword ptr [esi], 0x2b0b6bac */
   2872     goto L_2B05878D; /* 0x2B058789: jmp 0x2b05878d */
   2873 L_2B05878B:
   2874     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   2875     esi = 0; /* 0x2B05878B: xor esi, esi */
   2876     _cf = 0;
   2877     _flag_k = FK_TEST;
   2878 L_2B05878D:
   2879     eax = MEM32(0x2B0B6004); /* 0x2B05878D: mov eax, dword ptr [0x2b0b6004] */
   2880     ecx = MEM32(eax); /* 0x2B058792: mov ecx, dword ptr [eax] */
   2881     PUSH32(esp, esi); /* 0x2B058794: push esi */
   2882     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B058795: mov byte ptr [ebp - 4], 1 */
   2883     RECOMP_ICALL(MEM32(0x2B0B6008)); /* 0x2B058799: call dword ptr [0x2b0b6008] */
   2884     RECOMP_FLAGS_IN();
   2885     ecx = ebp + (-0x28); /* 0x2B05879F: lea ecx, [ebp - 0x28] */
   2886     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B0587A2: mov byte ptr [ebp - 4], bl */
   2887     RECOMP_ICALL(0x2B0A8780u); /* 0x2B0587A5: call 0x2b0a8780 */ /* not lifted */
   2888     RECOMP_FLAGS_IN();
   2889     ecx = ebp + (-0x84); /* 0x2B0587AA: lea ecx, [ebp - 0x84] */
   2890     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B0587B0: mov dword ptr [ebp - 4], 0xffffffff */
   2891     RECOMP_ICALL(MEM32(0x2B0B5C48)); /* 0x2B0587B7: call dword ptr [0x2b0b5c48] */
   2892     RECOMP_FLAGS_IN();
   2893     ecx = MEM32(ebp + (-0xC)); /* 0x2B0587BD: mov ecx, dword ptr [ebp - 0xc] */
   2894     edi = POP32_VAL(esp); /* 0x2B0587C0: pop edi */
   2895     esi = POP32_VAL(esp); /* 0x2B0587C1: pop esi */
   2896     ebx = POP32_VAL(esp); /* 0x2B0587C2: pop ebx */
   2897     MEM32(FS_BASE + (0)) = ecx; /* 0x2B0587C3: mov dword ptr fs:[0], ecx */
   2898     esp = ebp; /* 0x2B0587CA: mov esp, ebp */
   2899     ebp = POP32_VAL(esp); /* 0x2B0587CC: pop ebp */
   2900     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0587CD: ret  */
   2901     RECOMP_REGS_OUT();
   2902 }
   2903 
   2904 void sub_2B05878D(void) {
   2905     int _fpu_cmp = 0;
   2906     uint32_t _cf = 0;
   2907     int _df = 1;
   2908     uint32_t _flag_k = FK_NONE;
   2909     uint32_t _flag_a = 0, _flag_b = 0;
   2910     uint32_t _itail_tgt = 0;
   2911     RECOMP_REGS_LOCALS
   2912     RECOMP_ENTER(0x2B05878Du);
   2913 
   2914 L_2B05878D:
   2915     eax = MEM32(0x2B0B6004); /* 0x2B05878D: mov eax, dword ptr [0x2b0b6004] */
   2916     ecx = MEM32(eax); /* 0x2B058792: mov ecx, dword ptr [eax] */
   2917     PUSH32(esp, esi); /* 0x2B058794: push esi */
   2918     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B058795: mov byte ptr [ebp - 4], 1 */
   2919     RECOMP_ICALL(MEM32(0x2B0B6008)); /* 0x2B058799: call dword ptr [0x2b0b6008] */
   2920     RECOMP_FLAGS_IN();
   2921     ecx = ebp + (-0x28); /* 0x2B05879F: lea ecx, [ebp - 0x28] */
   2922     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B0587A2: mov byte ptr [ebp - 4], bl */
   2923     RECOMP_ICALL(0x2B0A8780u); /* 0x2B0587A5: call 0x2b0a8780 */ /* not lifted */
   2924     RECOMP_FLAGS_IN();
   2925     ecx = ebp + (-0x84); /* 0x2B0587AA: lea ecx, [ebp - 0x84] */
   2926     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B0587B0: mov dword ptr [ebp - 4], 0xffffffff */
   2927     RECOMP_ICALL(MEM32(0x2B0B5C48)); /* 0x2B0587B7: call dword ptr [0x2b0b5c48] */
   2928     RECOMP_FLAGS_IN();
   2929     ecx = MEM32(ebp + (-0xC)); /* 0x2B0587BD: mov ecx, dword ptr [ebp - 0xc] */
   2930     edi = POP32_VAL(esp); /* 0x2B0587C0: pop edi */
   2931     esi = POP32_VAL(esp); /* 0x2B0587C1: pop esi */
   2932     ebx = POP32_VAL(esp); /* 0x2B0587C2: pop ebx */
   2933     MEM32(FS_BASE + (0)) = ecx; /* 0x2B0587C3: mov dword ptr fs:[0], ecx */
   2934     esp = ebp; /* 0x2B0587CA: mov esp, ebp */
   2935     ebp = POP32_VAL(esp); /* 0x2B0587CC: pop ebp */
   2936     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0587CD: ret  */
   2937     RECOMP_REGS_OUT();
   2938 }
   2939 
   2940 void sub_2B0587D0(void) {
   2941     int _fpu_cmp = 0;
   2942     uint32_t _cf = 0;
   2943     int _df = 1;
   2944     uint32_t _flag_k = FK_NONE;
   2945     uint32_t _flag_a = 0, _flag_b = 0;
   2946     uint32_t _itail_tgt = 0;
   2947     RECOMP_REGS_LOCALS
   2948     RECOMP_ENTER(0x2B0587D0u);
   2949 
   2950 L_2B0587D0:
   2951     PUSH32(esp, ebp); /* 0x2B0587D0: push ebp */
   2952     ebp = esp; /* 0x2B0587D1: mov ebp, esp */
   2953     PUSH32(esp, esi); /* 0x2B0587D3: push esi */
   2954     esi = ecx; /* 0x2B0587D4: mov esi, ecx */
   2955     RECOMP_ICALL(MEM32(0x2B0B5FFC)); /* 0x2B0587D6: call dword ptr [0x2b0b5ffc] */
   2956     RECOMP_FLAGS_IN();
   2957     /* test MEM8(ebp + 0x8), 1 */ /* 0x2B0587DC: test byte ptr [ebp + 8], 1 */
   2958     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   2959     _cf = 0;
   2960     _flag_k = FK_NARROW(FK_TEST, 24);
   2961     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0587EB; /* 0x2B0587E0: je 0x2b0587eb */
   2962 L_2B0587E2:
   2963     PUSH32(esp, esi); /* 0x2B0587E2: push esi */
   2964     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0587E3: call 0x2b0ab1ba */ /* not lifted */
   2965     RECOMP_FLAGS_IN();
   2966     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   2967     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   2968     esp = esp + 4; /* 0x2B0587E8: add esp, 4 */
   2969     _flag_k = FK_ADD;
   2970 L_2B0587EB:
   2971     eax = esi; /* 0x2B0587EB: mov eax, esi */
   2972     esi = POP32_VAL(esp); /* 0x2B0587ED: pop esi */
   2973     ebp = POP32_VAL(esp); /* 0x2B0587EE: pop ebp */
   2974     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0587EF: ret 4 */
   2975     RECOMP_REGS_OUT();
   2976 }
   2977 
   2978 void sub_2B058800(void) {
   2979     int _fpu_cmp = 0;
   2980     uint32_t _cf = 0;
   2981     int _df = 1;
   2982     uint32_t _flag_k = FK_NONE;
   2983     uint32_t _flag_a = 0, _flag_b = 0;
   2984     uint32_t _itail_tgt = 0;
   2985     RECOMP_REGS_LOCALS
   2986     RECOMP_ENTER(0x2B058800u);
   2987 
   2988 L_2B058800:
   2989     PUSH32(esp, ebp); /* 0x2B058800: push ebp */
   2990     ebp = esp; /* 0x2B058801: mov ebp, esp */
   2991     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B058803: push -1 */
   2992     PUSH32(esp, 0x2B0AFECBu); /* 0x2B058805: push 0x2b0afecb */
   2993     eax = MEM32(FS_BASE + (0)); /* 0x2B05880A: mov eax, dword ptr fs:[0] */
   2994     PUSH32(esp, eax); /* 0x2B058810: push eax */
   2995     MEM32(FS_BASE + (0)) = esp; /* 0x2B058811: mov dword ptr fs:[0], esp */
   2996     PUSH32(esp, ecx); /* 0x2B058818: push ecx */
   2997     eax = MEM32(0x2B0EEBA4); /* 0x2B058819: mov eax, dword ptr [0x2b0eeba4] */
   2998     /* test eax, eax */ /* 0x2B05881E: test eax, eax */
   2999     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3000     _cf = 0;
   3001     _flag_k = FK_TEST;
   3002     if (TEST_NZ(_flag_a, _flag_b)) goto L_2B05885B; /* 0x2B058820: jne 0x2b05885b */
   3003 L_2B058822:
   3004     PUSH32(esp, 4); /* 0x2B058822: push 4 */
   3005     RECOMP_ICALL(0x2B0AB212u); /* 0x2B058824: call 0x2b0ab212 */ /* not lifted */
   3006     RECOMP_FLAGS_IN();
   3007     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3008     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3009     esp = esp + 4; /* 0x2B058829: add esp, 4 */
   3010     _flag_k = FK_ADD;
   3011     MEM32(ebp + (-0x10)) = eax; /* 0x2B05882C: mov dword ptr [ebp - 0x10], eax */
   3012     /* test eax, eax */ /* 0x2B05882F: test eax, eax */
   3013     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3014     _cf = 0;
   3015     _flag_k = FK_TEST;
   3016     MEM32(ebp + (-0x4)) = 0; /* 0x2B058831: mov dword ptr [ebp - 4], 0 */
   3017     if (TEST_Z(_flag_a, _flag_b)) goto L_2B058854; /* 0x2B058838: je 0x2b058854 */
   3018 L_2B05883A:
   3019     ecx = eax; /* 0x2B05883A: mov ecx, eax */
   3020     RECOMP_ICALL(0x2B058A80u); /* 0x2B05883C: call 0x2b058a80 */ /* not lifted */
   3021     RECOMP_FLAGS_IN();
   3022     MEM32(0x2B0EEBA4) = eax; /* 0x2B058841: mov dword ptr [0x2b0eeba4], eax */
   3023     ecx = MEM32(ebp + (-0xC)); /* 0x2B058846: mov ecx, dword ptr [ebp - 0xc] */
   3024     MEM32(FS_BASE + (0)) = ecx; /* 0x2B058849: mov dword ptr fs:[0], ecx */
   3025     esp = ebp; /* 0x2B058850: mov esp, ebp */
   3026     ebp = POP32_VAL(esp); /* 0x2B058852: pop ebp */
   3027     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B058853: ret  */
   3028 L_2B058854:
   3029     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3030     eax = 0; /* 0x2B058854: xor eax, eax */
   3031     _cf = 0;
   3032     _flag_k = FK_TEST;
   3033     MEM32(0x2B0EEBA4) = eax; /* 0x2B058856: mov dword ptr [0x2b0eeba4], eax */
   3034 L_2B05885B:
   3035     ecx = MEM32(ebp + (-0xC)); /* 0x2B05885B: mov ecx, dword ptr [ebp - 0xc] */
   3036     MEM32(FS_BASE + (0)) = ecx; /* 0x2B05885E: mov dword ptr fs:[0], ecx */
   3037     esp = ebp; /* 0x2B058865: mov esp, ebp */
   3038     ebp = POP32_VAL(esp); /* 0x2B058867: pop ebp */
   3039     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B058868: ret  */
   3040     RECOMP_REGS_OUT();
   3041 }
   3042 
   3043 void sub_2B058870(void) {
   3044     int _fpu_cmp = 0;
   3045     uint32_t _cf = 0;
   3046     int _df = 1;
   3047     uint32_t _flag_k = FK_NONE;
   3048     uint32_t _flag_a = 0, _flag_b = 0;
   3049     uint32_t _itail_tgt = 0;
   3050     RECOMP_REGS_LOCALS
   3051     RECOMP_ENTER(0x2B058870u);
   3052 
   3053 L_2B058870:
   3054     eax = MEM32(0x2B0EEBA4); /* 0x2B058870: mov eax, dword ptr [0x2b0eeba4] */
   3055     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B058875: ret  */
   3056     RECOMP_REGS_OUT();
   3057 }
   3058 
   3059 void sub_2B058880(void) {
   3060     int _fpu_cmp = 0;
   3061     uint32_t _cf = 0;
   3062     int _df = 1;
   3063     uint32_t _flag_k = FK_NONE;
   3064     uint32_t _flag_a = 0, _flag_b = 0;
   3065     uint32_t _itail_tgt = 0;
   3066     RECOMP_REGS_LOCALS
   3067     RECOMP_ENTER(0x2B058880u);
   3068 
   3069 L_2B058880:
   3070     goto L_2B058890; /* 0x2B058880: jmp 0x2b058890 */
   3071 L_2B058890:
   3072     MEM32(0x2B0EEBA0) = 0x2B0E1638u; /* 0x2B058890: mov dword ptr [0x2b0eeba0], 0x2b0e1638 */
   3073     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05889A: ret  */
   3074     RECOMP_REGS_OUT();
   3075 }
   3076 
   3077 void sub_2B058890(void) {
   3078     int _fpu_cmp = 0;
   3079     uint32_t _cf = 0;
   3080     int _df = 1;
   3081     uint32_t _flag_k = FK_NONE;
   3082     uint32_t _flag_a = 0, _flag_b = 0;
   3083     uint32_t _itail_tgt = 0;
   3084     RECOMP_REGS_LOCALS
   3085     RECOMP_ENTER(0x2B058890u);
   3086 
   3087 L_2B058890:
   3088     MEM32(0x2B0EEBA0) = 0x2B0E1638u; /* 0x2B058890: mov dword ptr [0x2b0eeba0], 0x2b0e1638 */
   3089     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05889A: ret  */
   3090     RECOMP_REGS_OUT();
   3091 }
   3092 
   3093 void sub_2B0588A0(void) {
   3094     int _fpu_cmp = 0;
   3095     uint32_t _cf = 0;
   3096     int _df = 1;
   3097     uint32_t _flag_k = FK_NONE;
   3098     uint32_t _flag_a = 0, _flag_b = 0;
   3099     uint32_t _itail_tgt = 0;
   3100     RECOMP_REGS_LOCALS
   3101     RECOMP_ENTER(0x2B0588A0u);
   3102 
   3103 L_2B0588A0:
   3104     goto L_2B0588B0; /* 0x2B0588A0: jmp 0x2b0588b0 */
   3105 L_2B0588B0:
   3106     MEM32(0x2B0EEB9C) = 0x2B0E166Cu; /* 0x2B0588B0: mov dword ptr [0x2b0eeb9c], 0x2b0e166c */
   3107     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0588BA: ret  */
   3108     RECOMP_REGS_OUT();
   3109 }
   3110 
   3111 void sub_2B0588B0(void) {
   3112     int _fpu_cmp = 0;
   3113     uint32_t _cf = 0;
   3114     int _df = 1;
   3115     uint32_t _flag_k = FK_NONE;
   3116     uint32_t _flag_a = 0, _flag_b = 0;
   3117     uint32_t _itail_tgt = 0;
   3118     RECOMP_REGS_LOCALS
   3119     RECOMP_ENTER(0x2B0588B0u);
   3120 
   3121 L_2B0588B0:
   3122     MEM32(0x2B0EEB9C) = 0x2B0E166Cu; /* 0x2B0588B0: mov dword ptr [0x2b0eeb9c], 0x2b0e166c */
   3123     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0588BA: ret  */
   3124     RECOMP_REGS_OUT();
   3125 }
   3126 
   3127 void sub_2B0588C0(void) {
   3128     int _fpu_cmp = 0;
   3129     uint32_t _cf = 0;
   3130     int _df = 1;
   3131     uint32_t _flag_k = FK_NONE;
   3132     uint32_t _flag_a = 0, _flag_b = 0;
   3133     uint32_t _itail_tgt = 0;
   3134     RECOMP_REGS_LOCALS
   3135     RECOMP_ENTER(0x2B0588C0u);
   3136 
   3137 L_2B0588C0:
   3138     goto L_2B0588D0; /* 0x2B0588C0: jmp 0x2b0588d0 */
   3139 L_2B0588D0:
   3140     MEM32(0x2B0EEB98) = 0x2B0E16A8u; /* 0x2B0588D0: mov dword ptr [0x2b0eeb98], 0x2b0e16a8 */
   3141     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0588DA: ret  */
   3142     RECOMP_REGS_OUT();
   3143 }
   3144 
   3145 void sub_2B0588D0(void) {
   3146     int _fpu_cmp = 0;
   3147     uint32_t _cf = 0;
   3148     int _df = 1;
   3149     uint32_t _flag_k = FK_NONE;
   3150     uint32_t _flag_a = 0, _flag_b = 0;
   3151     uint32_t _itail_tgt = 0;
   3152     RECOMP_REGS_LOCALS
   3153     RECOMP_ENTER(0x2B0588D0u);
   3154 
   3155 L_2B0588D0:
   3156     MEM32(0x2B0EEB98) = 0x2B0E16A8u; /* 0x2B0588D0: mov dword ptr [0x2b0eeb98], 0x2b0e16a8 */
   3157     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0588DA: ret  */
   3158     RECOMP_REGS_OUT();
   3159 }
   3160 
   3161 void sub_2B0588E0(void) {
   3162     int _fpu_cmp = 0;
   3163     uint32_t _cf = 0;
   3164     int _df = 1;
   3165     uint32_t _flag_k = FK_NONE;
   3166     uint32_t _flag_a = 0, _flag_b = 0;
   3167     uint32_t _itail_tgt = 0;
   3168     RECOMP_REGS_LOCALS
   3169     RECOMP_ENTER(0x2B0588E0u);
   3170 
   3171 L_2B0588E0:
   3172     goto L_2B0588F0; /* 0x2B0588E0: jmp 0x2b0588f0 */
   3173 L_2B0588F0:
   3174     MEM32(0x2B0EEB94) = 0x2B0E16DCu; /* 0x2B0588F0: mov dword ptr [0x2b0eeb94], 0x2b0e16dc */
   3175     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0588FA: ret  */
   3176     RECOMP_REGS_OUT();
   3177 }
   3178 
   3179 void sub_2B0588F0(void) {
   3180     int _fpu_cmp = 0;
   3181     uint32_t _cf = 0;
   3182     int _df = 1;
   3183     uint32_t _flag_k = FK_NONE;
   3184     uint32_t _flag_a = 0, _flag_b = 0;
   3185     uint32_t _itail_tgt = 0;
   3186     RECOMP_REGS_LOCALS
   3187     RECOMP_ENTER(0x2B0588F0u);
   3188 
   3189 L_2B0588F0:
   3190     MEM32(0x2B0EEB94) = 0x2B0E16DCu; /* 0x2B0588F0: mov dword ptr [0x2b0eeb94], 0x2b0e16dc */
   3191     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0588FA: ret  */
   3192     RECOMP_REGS_OUT();
   3193 }
   3194 
   3195 void sub_2B058900(void) {
   3196     int _fpu_cmp = 0;
   3197     uint32_t _cf = 0;
   3198     int _df = 1;
   3199     uint32_t _flag_k = FK_NONE;
   3200     uint32_t _flag_a = 0, _flag_b = 0;
   3201     uint32_t _itail_tgt = 0;
   3202     RECOMP_REGS_LOCALS
   3203     RECOMP_ENTER(0x2B058900u);
   3204 
   3205 L_2B058900:
   3206     goto L_2B058910; /* 0x2B058900: jmp 0x2b058910 */
   3207 L_2B058910:
   3208     MEM32(0x2B0EEB90) = 0x2B0E1710u; /* 0x2B058910: mov dword ptr [0x2b0eeb90], 0x2b0e1710 */
   3209     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05891A: ret  */
   3210     RECOMP_REGS_OUT();
   3211 }
   3212 
   3213 void sub_2B058910(void) {
   3214     int _fpu_cmp = 0;
   3215     uint32_t _cf = 0;
   3216     int _df = 1;
   3217     uint32_t _flag_k = FK_NONE;
   3218     uint32_t _flag_a = 0, _flag_b = 0;
   3219     uint32_t _itail_tgt = 0;
   3220     RECOMP_REGS_LOCALS
   3221     RECOMP_ENTER(0x2B058910u);
   3222 
   3223 L_2B058910:
   3224     MEM32(0x2B0EEB90) = 0x2B0E1710u; /* 0x2B058910: mov dword ptr [0x2b0eeb90], 0x2b0e1710 */
   3225     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05891A: ret  */
   3226     RECOMP_REGS_OUT();
   3227 }
   3228 
   3229 void sub_2B058920(void) {
   3230     int _fpu_cmp = 0;
   3231     uint32_t _cf = 0;
   3232     int _df = 1;
   3233     uint32_t _flag_k = FK_NONE;
   3234     uint32_t _flag_a = 0, _flag_b = 0;
   3235     uint32_t _itail_tgt = 0;
   3236     RECOMP_REGS_LOCALS
   3237     RECOMP_ENTER(0x2B058920u);
   3238 
   3239 L_2B058920:
   3240     goto L_2B058930; /* 0x2B058920: jmp 0x2b058930 */
   3241 L_2B058930:
   3242     MEM32(0x2B0EEB8C) = 0x2B0E1744u; /* 0x2B058930: mov dword ptr [0x2b0eeb8c], 0x2b0e1744 */
   3243     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05893A: ret  */
   3244     RECOMP_REGS_OUT();
   3245 }
   3246 
   3247 void sub_2B058930(void) {
   3248     int _fpu_cmp = 0;
   3249     uint32_t _cf = 0;
   3250     int _df = 1;
   3251     uint32_t _flag_k = FK_NONE;
   3252     uint32_t _flag_a = 0, _flag_b = 0;
   3253     uint32_t _itail_tgt = 0;
   3254     RECOMP_REGS_LOCALS
   3255     RECOMP_ENTER(0x2B058930u);
   3256 
   3257 L_2B058930:
   3258     MEM32(0x2B0EEB8C) = 0x2B0E1744u; /* 0x2B058930: mov dword ptr [0x2b0eeb8c], 0x2b0e1744 */
   3259     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05893A: ret  */
   3260     RECOMP_REGS_OUT();
   3261 }
   3262 
   3263 void sub_2B058940(void) {
   3264     int _fpu_cmp = 0;
   3265     uint32_t _cf = 0;
   3266     int _df = 1;
   3267     uint32_t _flag_k = FK_NONE;
   3268     uint32_t _flag_a = 0, _flag_b = 0;
   3269     uint32_t _itail_tgt = 0;
   3270     RECOMP_REGS_LOCALS
   3271     RECOMP_ENTER(0x2B058940u);
   3272 
   3273 L_2B058940:
   3274     goto L_2B058950; /* 0x2B058940: jmp 0x2b058950 */
   3275 L_2B058950:
   3276     MEM32(0x2B0EEB88) = 0x2B0E1824u; /* 0x2B058950: mov dword ptr [0x2b0eeb88], 0x2b0e1824 */
   3277     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05895A: ret  */
   3278     RECOMP_REGS_OUT();
   3279 }
   3280 
   3281 void sub_2B058950(void) {
   3282     int _fpu_cmp = 0;
   3283     uint32_t _cf = 0;
   3284     int _df = 1;
   3285     uint32_t _flag_k = FK_NONE;
   3286     uint32_t _flag_a = 0, _flag_b = 0;
   3287     uint32_t _itail_tgt = 0;
   3288     RECOMP_REGS_LOCALS
   3289     RECOMP_ENTER(0x2B058950u);
   3290 
   3291 L_2B058950:
   3292     MEM32(0x2B0EEB88) = 0x2B0E1824u; /* 0x2B058950: mov dword ptr [0x2b0eeb88], 0x2b0e1824 */
   3293     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05895A: ret  */
   3294     RECOMP_REGS_OUT();
   3295 }
   3296 
   3297 void sub_2B058960(void) {
   3298     int _fpu_cmp = 0;
   3299     uint32_t _cf = 0;
   3300     int _df = 1;
   3301     uint32_t _flag_k = FK_NONE;
   3302     uint32_t _flag_a = 0, _flag_b = 0;
   3303     uint32_t _itail_tgt = 0;
   3304     RECOMP_REGS_LOCALS
   3305     RECOMP_ENTER(0x2B058960u);
   3306 
   3307 L_2B058960:
   3308     goto L_2B058970; /* 0x2B058960: jmp 0x2b058970 */
   3309 L_2B058970:
   3310     MEM32(0x2B0EEB84) = 0x2B0E177Cu; /* 0x2B058970: mov dword ptr [0x2b0eeb84], 0x2b0e177c */
   3311     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05897A: ret  */
   3312     RECOMP_REGS_OUT();
   3313 }
   3314 
   3315 void sub_2B058970(void) {
   3316     int _fpu_cmp = 0;
   3317     uint32_t _cf = 0;
   3318     int _df = 1;
   3319     uint32_t _flag_k = FK_NONE;
   3320     uint32_t _flag_a = 0, _flag_b = 0;
   3321     uint32_t _itail_tgt = 0;
   3322     RECOMP_REGS_LOCALS
   3323     RECOMP_ENTER(0x2B058970u);
   3324 
   3325 L_2B058970:
   3326     MEM32(0x2B0EEB84) = 0x2B0E177Cu; /* 0x2B058970: mov dword ptr [0x2b0eeb84], 0x2b0e177c */
   3327     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05897A: ret  */
   3328     RECOMP_REGS_OUT();
   3329 }
   3330 
   3331 void sub_2B058980(void) {
   3332     int _fpu_cmp = 0;
   3333     uint32_t _cf = 0;
   3334     int _df = 1;
   3335     uint32_t _flag_k = FK_NONE;
   3336     uint32_t _flag_a = 0, _flag_b = 0;
   3337     uint32_t _itail_tgt = 0;
   3338     RECOMP_REGS_LOCALS
   3339     RECOMP_ENTER(0x2B058980u);
   3340 
   3341 L_2B058980:
   3342     goto L_2B058990; /* 0x2B058980: jmp 0x2b058990 */
   3343 L_2B058990:
   3344     MEM32(0x2B0EEB80) = 0x2B0E17B4u; /* 0x2B058990: mov dword ptr [0x2b0eeb80], 0x2b0e17b4 */
   3345     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05899A: ret  */
   3346     RECOMP_REGS_OUT();
   3347 }
   3348 
   3349 void sub_2B058990(void) {
   3350     int _fpu_cmp = 0;
   3351     uint32_t _cf = 0;
   3352     int _df = 1;
   3353     uint32_t _flag_k = FK_NONE;
   3354     uint32_t _flag_a = 0, _flag_b = 0;
   3355     uint32_t _itail_tgt = 0;
   3356     RECOMP_REGS_LOCALS
   3357     RECOMP_ENTER(0x2B058990u);
   3358 
   3359 L_2B058990:
   3360     MEM32(0x2B0EEB80) = 0x2B0E17B4u; /* 0x2B058990: mov dword ptr [0x2b0eeb80], 0x2b0e17b4 */
   3361     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05899A: ret  */
   3362     RECOMP_REGS_OUT();
   3363 }
   3364 
   3365 void sub_2B0589A0(void) {
   3366     int _fpu_cmp = 0;
   3367     uint32_t _cf = 0;
   3368     int _df = 1;
   3369     uint32_t _flag_k = FK_NONE;
   3370     uint32_t _flag_a = 0, _flag_b = 0;
   3371     uint32_t _itail_tgt = 0;
   3372     RECOMP_REGS_LOCALS
   3373     RECOMP_ENTER(0x2B0589A0u);
   3374 
   3375 L_2B0589A0:
   3376     goto L_2B0589B0; /* 0x2B0589A0: jmp 0x2b0589b0 */
   3377 L_2B0589B0:
   3378     MEM32(0x2B0EEB7C) = 0x2B0E17E8u; /* 0x2B0589B0: mov dword ptr [0x2b0eeb7c], 0x2b0e17e8 */
   3379     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0589BA: ret  */
   3380     RECOMP_REGS_OUT();
   3381 }
   3382 
   3383 void sub_2B0589B0(void) {
   3384     int _fpu_cmp = 0;
   3385     uint32_t _cf = 0;
   3386     int _df = 1;
   3387     uint32_t _flag_k = FK_NONE;
   3388     uint32_t _flag_a = 0, _flag_b = 0;
   3389     uint32_t _itail_tgt = 0;
   3390     RECOMP_REGS_LOCALS
   3391     RECOMP_ENTER(0x2B0589B0u);
   3392 
   3393 L_2B0589B0:
   3394     MEM32(0x2B0EEB7C) = 0x2B0E17E8u; /* 0x2B0589B0: mov dword ptr [0x2b0eeb7c], 0x2b0e17e8 */
   3395     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0589BA: ret  */
   3396     RECOMP_REGS_OUT();
   3397 }
   3398 
   3399 void sub_2B0589C0(void) {
   3400     int _fpu_cmp = 0;
   3401     uint32_t _cf = 0;
   3402     int _df = 1;
   3403     uint32_t _flag_k = FK_NONE;
   3404     uint32_t _flag_a = 0, _flag_b = 0;
   3405     uint32_t _itail_tgt = 0;
   3406     RECOMP_REGS_LOCALS
   3407     RECOMP_ENTER(0x2B0589C0u);
   3408 
   3409 L_2B0589C0:
   3410     goto L_2B0589D0; /* 0x2B0589C0: jmp 0x2b0589d0 */
   3411 L_2B0589D0:
   3412     MEM32(0x2B0EEB78) = 0x2B0E189Cu; /* 0x2B0589D0: mov dword ptr [0x2b0eeb78], 0x2b0e189c */
   3413     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0589DA: ret  */
   3414     RECOMP_REGS_OUT();
   3415 }
   3416 
   3417 void sub_2B0589D0(void) {
   3418     int _fpu_cmp = 0;
   3419     uint32_t _cf = 0;
   3420     int _df = 1;
   3421     uint32_t _flag_k = FK_NONE;
   3422     uint32_t _flag_a = 0, _flag_b = 0;
   3423     uint32_t _itail_tgt = 0;
   3424     RECOMP_REGS_LOCALS
   3425     RECOMP_ENTER(0x2B0589D0u);
   3426 
   3427 L_2B0589D0:
   3428     MEM32(0x2B0EEB78) = 0x2B0E189Cu; /* 0x2B0589D0: mov dword ptr [0x2b0eeb78], 0x2b0e189c */
   3429     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0589DA: ret  */
   3430     RECOMP_REGS_OUT();
   3431 }
   3432 
   3433 void sub_2B0589E0(void) {
   3434     int _fpu_cmp = 0;
   3435     uint32_t _cf = 0;
   3436     int _df = 1;
   3437     uint32_t _flag_k = FK_NONE;
   3438     uint32_t _flag_a = 0, _flag_b = 0;
   3439     uint32_t _itail_tgt = 0;
   3440     RECOMP_REGS_LOCALS
   3441     RECOMP_ENTER(0x2B0589E0u);
   3442 
   3443 L_2B0589E0:
   3444     goto L_2B0589F0; /* 0x2B0589E0: jmp 0x2b0589f0 */
   3445 L_2B0589F0:
   3446     MEM32(0x2B0EEB74) = 0x2B0E1860u; /* 0x2B0589F0: mov dword ptr [0x2b0eeb74], 0x2b0e1860 */
   3447     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0589FA: ret  */
   3448     RECOMP_REGS_OUT();
   3449 }
   3450 
   3451 void sub_2B0589F0(void) {
   3452     int _fpu_cmp = 0;
   3453     uint32_t _cf = 0;
   3454     int _df = 1;
   3455     uint32_t _flag_k = FK_NONE;
   3456     uint32_t _flag_a = 0, _flag_b = 0;
   3457     uint32_t _itail_tgt = 0;
   3458     RECOMP_REGS_LOCALS
   3459     RECOMP_ENTER(0x2B0589F0u);
   3460 
   3461 L_2B0589F0:
   3462     MEM32(0x2B0EEB74) = 0x2B0E1860u; /* 0x2B0589F0: mov dword ptr [0x2b0eeb74], 0x2b0e1860 */
   3463     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0589FA: ret  */
   3464     RECOMP_REGS_OUT();
   3465 }
   3466 
   3467 void sub_2B058A00(void) {
   3468     int _fpu_cmp = 0;
   3469     uint32_t _cf = 0;
   3470     int _df = 1;
   3471     uint32_t _flag_k = FK_NONE;
   3472     uint32_t _flag_a = 0, _flag_b = 0;
   3473     uint32_t _itail_tgt = 0;
   3474     RECOMP_REGS_LOCALS
   3475     RECOMP_ENTER(0x2B058A00u);
   3476 
   3477 L_2B058A00:
   3478     goto L_2B058A10; /* 0x2B058A00: jmp 0x2b058a10 */
   3479 L_2B058A10:
   3480     MEM32(0x2B0EEB70) = 0x2B0E1908u; /* 0x2B058A10: mov dword ptr [0x2b0eeb70], 0x2b0e1908 */
   3481     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B058A1A: ret  */
   3482     RECOMP_REGS_OUT();
   3483 }
   3484 
   3485 void sub_2B058A10(void) {
   3486     int _fpu_cmp = 0;
   3487     uint32_t _cf = 0;
   3488     int _df = 1;
   3489     uint32_t _flag_k = FK_NONE;
   3490     uint32_t _flag_a = 0, _flag_b = 0;
   3491     uint32_t _itail_tgt = 0;
   3492     RECOMP_REGS_LOCALS
   3493     RECOMP_ENTER(0x2B058A10u);
   3494 
   3495 L_2B058A10:
   3496     MEM32(0x2B0EEB70) = 0x2B0E1908u; /* 0x2B058A10: mov dword ptr [0x2b0eeb70], 0x2b0e1908 */
   3497     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B058A1A: ret  */
   3498     RECOMP_REGS_OUT();
   3499 }
   3500 
   3501 void sub_2B058A20(void) {
   3502     int _fpu_cmp = 0;
   3503     uint32_t _cf = 0;
   3504     int _df = 1;
   3505     uint32_t _flag_k = FK_NONE;
   3506     uint32_t _flag_a = 0, _flag_b = 0;
   3507     uint32_t _itail_tgt = 0;
   3508     RECOMP_REGS_LOCALS
   3509     RECOMP_ENTER(0x2B058A20u);
   3510 
   3511 L_2B058A20:
   3512     goto L_2B058A30; /* 0x2B058A20: jmp 0x2b058a30 */
   3513 L_2B058A30:
   3514     MEM32(0x2B0EEB6C) = 0x2B0E1944u; /* 0x2B058A30: mov dword ptr [0x2b0eeb6c], 0x2b0e1944 */
   3515     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B058A3A: ret  */
   3516     RECOMP_REGS_OUT();
   3517 }
   3518 
   3519 void sub_2B058A30(void) {
   3520     int _fpu_cmp = 0;
   3521     uint32_t _cf = 0;
   3522     int _df = 1;
   3523     uint32_t _flag_k = FK_NONE;
   3524     uint32_t _flag_a = 0, _flag_b = 0;
   3525     uint32_t _itail_tgt = 0;
   3526     RECOMP_REGS_LOCALS
   3527     RECOMP_ENTER(0x2B058A30u);
   3528 
   3529 L_2B058A30:
   3530     MEM32(0x2B0EEB6C) = 0x2B0E1944u; /* 0x2B058A30: mov dword ptr [0x2b0eeb6c], 0x2b0e1944 */
   3531     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B058A3A: ret  */
   3532     RECOMP_REGS_OUT();
   3533 }
   3534 
   3535 void sub_2B058A40(void) {
   3536     int _fpu_cmp = 0;
   3537     uint32_t _cf = 0;
   3538     int _df = 1;
   3539     uint32_t _flag_k = FK_NONE;
   3540     uint32_t _flag_a = 0, _flag_b = 0;
   3541     uint32_t _itail_tgt = 0;
   3542     RECOMP_REGS_LOCALS
   3543     RECOMP_ENTER(0x2B058A40u);
   3544 
   3545 L_2B058A40:
   3546     goto L_2B058A50; /* 0x2B058A40: jmp 0x2b058a50 */
   3547 L_2B058A50:
   3548     MEM32(0x2B0EEB68) = 0x2B0E1978u; /* 0x2B058A50: mov dword ptr [0x2b0eeb68], 0x2b0e1978 */
   3549     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B058A5A: ret  */
   3550     RECOMP_REGS_OUT();
   3551 }
   3552 
   3553 void sub_2B058A50(void) {
   3554     int _fpu_cmp = 0;
   3555     uint32_t _cf = 0;
   3556     int _df = 1;
   3557     uint32_t _flag_k = FK_NONE;
   3558     uint32_t _flag_a = 0, _flag_b = 0;
   3559     uint32_t _itail_tgt = 0;
   3560     RECOMP_REGS_LOCALS
   3561     RECOMP_ENTER(0x2B058A50u);
   3562 
   3563 L_2B058A50:
   3564     MEM32(0x2B0EEB68) = 0x2B0E1978u; /* 0x2B058A50: mov dword ptr [0x2b0eeb68], 0x2b0e1978 */
   3565     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B058A5A: ret  */
   3566     RECOMP_REGS_OUT();
   3567 }
   3568 
   3569 void sub_2B058A60(void) {
   3570     int _fpu_cmp = 0;
   3571     uint32_t _cf = 0;
   3572     int _df = 1;
   3573     uint32_t _flag_k = FK_NONE;
   3574     uint32_t _flag_a = 0, _flag_b = 0;
   3575     uint32_t _itail_tgt = 0;
   3576     RECOMP_REGS_LOCALS
   3577     RECOMP_ENTER(0x2B058A60u);
   3578 
   3579 L_2B058A60:
   3580     goto L_2B058A70; /* 0x2B058A60: jmp 0x2b058a70 */
   3581 L_2B058A70:
   3582     MEM32(0x2B0EEB64) = 0x2B0E18D4u; /* 0x2B058A70: mov dword ptr [0x2b0eeb64], 0x2b0e18d4 */
   3583     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B058A7A: ret  */
   3584     RECOMP_REGS_OUT();
   3585 }
   3586 
   3587 void sub_2B058A70(void) {
   3588     int _fpu_cmp = 0;
   3589     uint32_t _cf = 0;
   3590     int _df = 1;
   3591     uint32_t _flag_k = FK_NONE;
   3592     uint32_t _flag_a = 0, _flag_b = 0;
   3593     uint32_t _itail_tgt = 0;
   3594     RECOMP_REGS_LOCALS
   3595     RECOMP_ENTER(0x2B058A70u);
   3596 
   3597 L_2B058A70:
   3598     MEM32(0x2B0EEB64) = 0x2B0E18D4u; /* 0x2B058A70: mov dword ptr [0x2b0eeb64], 0x2b0e18d4 */
   3599     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B058A7A: ret  */
   3600     RECOMP_REGS_OUT();
   3601 }
   3602 
   3603 void sub_2B058A80(void) {
   3604     int _fpu_cmp = 0;
   3605     uint32_t _cf = 0;
   3606     int _df = 1;
   3607     uint32_t _flag_k = FK_NONE;
   3608     uint32_t _flag_a = 0, _flag_b = 0;
   3609     uint32_t _itail_tgt = 0;
   3610     RECOMP_REGS_LOCALS
   3611     RECOMP_ENTER(0x2B058A80u);
   3612 
   3613 L_2B058A80:
   3614     PUSH32(esp, ebx); /* 0x2B058A80: push ebx */
   3615     PUSH32(esp, esi); /* 0x2B058A81: push esi */
   3616     esi = MEM32(0x2B0B53CC); /* 0x2B058A82: mov esi, dword ptr [0x2b0b53cc] */
   3617     PUSH32(esp, edi); /* 0x2B058A88: push edi */
   3618     edi = ecx; /* 0x2B058A89: mov edi, ecx */
   3619     RECOMP_ICALL(esi); /* 0x2B058A8B: call esi */
   3620     RECOMP_FLAGS_IN();
   3621     ecx = eax; /* 0x2B058A8D: mov ecx, eax */
   3622     RECOMP_ICALL(MEM32(0x2B0B5374)); /* 0x2B058A8F: call dword ptr [0x2b0b5374] */
   3623     RECOMP_FLAGS_IN();
   3624     PUSH32(esp, 0x9C4u); /* 0x2B058A95: push 0x9c4 */
   3625     PUSH32(esp, 0x2Eu); /* 0x2B058A9A: push 0x2e */
   3626     PUSH32(esp, 1); /* 0x2B058A9C: push 1 */
   3627     RECOMP_ICALL(esi); /* 0x2B058A9E: call esi */
   3628     RECOMP_FLAGS_IN();
   3629     ecx = eax; /* 0x2B058AA0: mov ecx, eax */
   3630     RECOMP_ICALL(MEM32(0x2B0B5378)); /* 0x2B058AA2: call dword ptr [0x2b0b5378] */
   3631     RECOMP_FLAGS_IN();
   3632     PUSH32(esp, 0x2B058B00u); /* 0x2B058AA8: push 0x2b058b00 */
   3633     PUSH32(esp, 5); /* 0x2B058AAD: push 5 */
   3634     RECOMP_ICALL(esi); /* 0x2B058AAF: call esi */
   3635     RECOMP_FLAGS_IN();
   3636     ebx = MEM32(0x2B0B5324); /* 0x2B058AB1: mov ebx, dword ptr [0x2b0b5324] */
   3637     ecx = eax; /* 0x2B058AB7: mov ecx, eax */
   3638     RECOMP_ICALL(ebx); /* 0x2B058AB9: call ebx */
   3639     RECOMP_FLAGS_IN();
   3640     PUSH32(esp, 0x2B058B70u); /* 0x2B058ABB: push 0x2b058b70 */
   3641     PUSH32(esp, 6); /* 0x2B058AC0: push 6 */
   3642     RECOMP_ICALL(esi); /* 0x2B058AC2: call esi */
   3643     RECOMP_FLAGS_IN();
   3644     ecx = eax; /* 0x2B058AC4: mov ecx, eax */
   3645     RECOMP_ICALL(ebx); /* 0x2B058AC6: call ebx */
   3646     RECOMP_FLAGS_IN();
   3647     PUSH32(esp, 0x2B058BA0u); /* 0x2B058AC8: push 0x2b058ba0 */
   3648     RECOMP_ICALL(esi); /* 0x2B058ACD: call esi */
   3649     RECOMP_FLAGS_IN();
   3650     ecx = eax; /* 0x2B058ACF: mov ecx, eax */
   3651     RECOMP_ICALL(MEM32(0x2B0B537C)); /* 0x2B058AD1: call dword ptr [0x2b0b537c] */
   3652     RECOMP_FLAGS_IN();
   3653     PUSH32(esp, 0x2B058BB0u); /* 0x2B058AD7: push 0x2b058bb0 */
   3654     PUSH32(esp, 0x11Au); /* 0x2B058ADC: push 0x11a */
   3655     RECOMP_ICALL(esi); /* 0x2B058AE1: call esi */
   3656     RECOMP_FLAGS_IN();
   3657     ecx = eax; /* 0x2B058AE3: mov ecx, eax */
   3658     RECOMP_ICALL(ebx); /* 0x2B058AE5: call ebx */
   3659     RECOMP_FLAGS_IN();
   3660     MEM32(edi) = 0; /* 0x2B058AE7: mov dword ptr [edi], 0 */
   3661     eax = edi; /* 0x2B058AED: mov eax, edi */
   3662     edi = POP32_VAL(esp); /* 0x2B058AEF: pop edi */
   3663     esi = POP32_VAL(esp); /* 0x2B058AF0: pop esi */
   3664     ebx = POP32_VAL(esp); /* 0x2B058AF1: pop ebx */
   3665     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B058AF2: ret  */
   3666     RECOMP_REGS_OUT();
   3667 }
   3668 
   3669 void sub_2B058B00(void) {
   3670     int _fpu_cmp = 0;
   3671     uint32_t _cf = 0;
   3672     int _df = 1;
   3673     uint32_t _flag_k = FK_NONE;
   3674     uint32_t _flag_a = 0, _flag_b = 0;
   3675     uint32_t _itail_tgt = 0;
   3676     RECOMP_REGS_LOCALS
   3677     RECOMP_ENTER(0x2B058B00u);
   3678 
   3679 L_2B058B00:
   3680     PUSH32(esp, ebp); /* 0x2B058B00: push ebp */
   3681     ebp = esp; /* 0x2B058B01: mov ebp, esp */
   3682     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B058B03: push -1 */
   3683     PUSH32(esp, 0x2B0AFEEBu); /* 0x2B058B05: push 0x2b0afeeb */
   3684     eax = MEM32(FS_BASE + (0)); /* 0x2B058B0A: mov eax, dword ptr fs:[0] */
   3685     PUSH32(esp, eax); /* 0x2B058B10: push eax */
   3686     MEM32(FS_BASE + (0)) = esp; /* 0x2B058B11: mov dword ptr fs:[0], esp */
   3687     PUSH32(esp, ecx); /* 0x2B058B18: push ecx */
   3688     PUSH32(esp, 0x54u); /* 0x2B058B19: push 0x54 */
   3689     RECOMP_ICALL(0x2B0AB212u); /* 0x2B058B1B: call 0x2b0ab212 */ /* not lifted */
   3690     RECOMP_FLAGS_IN();
   3691     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3692     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3693     esp = esp + 4; /* 0x2B058B20: add esp, 4 */
   3694     _flag_k = FK_ADD;
   3695     MEM32(ebp + (-0x10)) = eax; /* 0x2B058B23: mov dword ptr [ebp - 0x10], eax */
   3696     /* test eax, eax */ /* 0x2B058B26: test eax, eax */
   3697     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   3698     _cf = 0;
   3699     _flag_k = FK_TEST;
   3700     MEM32(ebp + (-0x4)) = 0; /* 0x2B058B28: mov dword ptr [ebp - 4], 0 */
   3701     if (TEST_Z(_flag_a, _flag_b)) goto L_2B058B4E; /* 0x2B058B2F: je 0x2b058b4e */
   3702 L_2B058B31:
   3703     ecx = eax; /* 0x2B058B31: mov ecx, eax */
   3704     RECOMP_ICALL(0x2B058000u); /* 0x2B058B33: call 0x2b058000 */ /* not lifted */
   3705     RECOMP_FLAGS_IN();
   3706     ecx = MEM32(0x2B0EEBA4); /* 0x2B058B38: mov ecx, dword ptr [0x2b0eeba4] */
   3707     MEM32(ecx) = eax; /* 0x2B058B3E: mov dword ptr [ecx], eax */
   3708     ecx = MEM32(ebp + (-0xC)); /* 0x2B058B40: mov ecx, dword ptr [ebp - 0xc] */
   3709     MEM32(FS_BASE + (0)) = ecx; /* 0x2B058B43: mov dword ptr fs:[0], ecx */
   3710     esp = ebp; /* 0x2B058B4A: mov esp, ebp */
   3711     ebp = POP32_VAL(esp); /* 0x2B058B4C: pop ebp */
   3712     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B058B4D: ret  */
   3713 L_2B058B4E:
   3714     edx = MEM32(0x2B0EEBA4); /* 0x2B058B4E: mov edx, dword ptr [0x2b0eeba4] */
   3715     ecx = MEM32(ebp + (-0xC)); /* 0x2B058B54: mov ecx, dword ptr [ebp - 0xc] */
   3716     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3717     eax = 0; /* 0x2B058B57: xor eax, eax */
   3718     _cf = 0;
   3719     _flag_k = FK_TEST;
   3720     MEM32(edx) = eax; /* 0x2B058B59: mov dword ptr [edx], eax */
   3721     MEM32(FS_BASE + (0)) = ecx; /* 0x2B058B5B: mov dword ptr fs:[0], ecx */
   3722     esp = ebp; /* 0x2B058B62: mov esp, ebp */
   3723     ebp = POP32_VAL(esp); /* 0x2B058B64: pop ebp */
   3724     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B058B65: ret  */
   3725     RECOMP_REGS_OUT();
   3726 }
   3727 
   3728 void sub_2B058B70(void) {
   3729     int _fpu_cmp = 0;
   3730     uint32_t _cf = 0;
   3731     int _df = 1;
   3732     uint32_t _flag_k = FK_NONE;
   3733     uint32_t _flag_a = 0, _flag_b = 0;
   3734     uint32_t _itail_tgt = 0;
   3735     RECOMP_REGS_LOCALS
   3736     RECOMP_ENTER(0x2B058B70u);
   3737 
   3738 L_2B058B70:
   3739     eax = MEM32(0x2B0EEBA4); /* 0x2B058B70: mov eax, dword ptr [0x2b0eeba4] */
   3740     ecx = MEM32(eax); /* 0x2B058B75: mov ecx, dword ptr [eax] */
   3741     /* test ecx, ecx */ /* 0x2B058B77: test ecx, ecx */
   3742     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   3743     _cf = 0;
   3744     _flag_k = FK_TEST;
   3745     if (TEST_Z(_flag_a, _flag_b)) goto L_2B058B8E; /* 0x2B058B79: je 0x2b058b8e */
   3746 L_2B058B7B:
   3747     eax = MEM32(ecx); /* 0x2B058B7B: mov eax, dword ptr [ecx] */
   3748     PUSH32(esp, 1); /* 0x2B058B7D: push 1 */
   3749     RECOMP_ICALL(MEM32(eax)); /* 0x2B058B7F: call dword ptr [eax] */
   3750     RECOMP_FLAGS_IN();
   3751     ecx = MEM32(0x2B0EEBA4); /* 0x2B058B81: mov ecx, dword ptr [0x2b0eeba4] */
   3752     MEM32(ecx) = 0; /* 0x2B058B87: mov dword ptr [ecx], 0 */
   3753     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B058B8D: ret  */
   3754 L_2B058B8E:
   3755     MEM32(eax) = 0; /* 0x2B058B8E: mov dword ptr [eax], 0 */
   3756     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B058B94: ret  */
   3757     RECOMP_REGS_OUT();
   3758 }
   3759 
   3760 void sub_2B058BA0(void) {
   3761     int _fpu_cmp = 0;
   3762     uint32_t _cf = 0;
   3763     int _df = 1;
   3764     uint32_t _flag_k = FK_NONE;
   3765     uint32_t _flag_a = 0, _flag_b = 0;
   3766     uint32_t _itail_tgt = 0;
   3767     RECOMP_REGS_LOCALS
   3768     RECOMP_ENTER(0x2B058BA0u);
   3769 
   3770     goto L_2B058BA0;
   3771 L_2B001520:
   3772     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B001520: ret  */
   3773 L_2B058BA0:
   3774     eax = MEM32(0x2B0EEBA4); /* 0x2B058BA0: mov eax, dword ptr [0x2b0eeba4] */
   3775     ecx = MEM32(eax); /* 0x2B058BA5: mov ecx, dword ptr [eax] */
   3776     RECOMP_BACKEDGE();
   3777     goto L_2B001520; /* 0x2B058BA7: jmp 0x2b001520 */
   3778     { RECOMP_REGS_OUT(); return; } /* end of function */
   3779     RECOMP_REGS_OUT();
   3780 }
   3781 
   3782 void sub_2B058BB0(void) {
   3783     int _fpu_cmp = 0;
   3784     uint32_t _cf = 0;
   3785     int _df = 1;
   3786     uint32_t _flag_k = FK_NONE;
   3787     uint32_t _flag_a = 0, _flag_b = 0;
   3788     uint32_t _itail_tgt = 0;
   3789     RECOMP_REGS_LOCALS
   3790     RECOMP_ENTER(0x2B058BB0u);
   3791 
   3792     goto L_2B058BB0;
   3793 L_2B058690:
   3794     PUSH32(esp, ebp); /* 0x2B058690: push ebp */
   3795     ebp = esp; /* 0x2B058691: mov ebp, esp */
   3796     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B058693: push -1 */
   3797     PUSH32(esp, 0x2B0AFEAFu); /* 0x2B058695: push 0x2b0afeaf */
   3798     eax = MEM32(FS_BASE + (0)); /* 0x2B05869A: mov eax, dword ptr fs:[0] */
   3799     PUSH32(esp, eax); /* 0x2B0586A0: push eax */
   3800     MEM32(FS_BASE + (0)) = esp; /* 0x2B0586A1: mov dword ptr fs:[0], esp */
   3801     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x78u);
   3802     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3803     esp = esp - 0x78u; /* 0x2B0586A8: sub esp, 0x78 */
   3804     _flag_k = FK_CMP;
   3805     PUSH32(esp, ebx); /* 0x2B0586AB: push ebx */
   3806     PUSH32(esp, esi); /* 0x2B0586AC: push esi */
   3807     esi = MEM32(0x2B0B5258); /* 0x2B0586AD: mov esi, dword ptr [0x2b0b5258] */
   3808     PUSH32(esp, edi); /* 0x2B0586B3: push edi */
   3809     PUSH32(esp, 0x2B0E87C8u); /* 0x2B0586B4: push 0x2b0e87c8 */
   3810     RECOMP_ICALL(esi); /* 0x2B0586B9: call esi */
   3811     RECOMP_FLAGS_IN();
   3812     edi = MEM32(0x2B0B53CC); /* 0x2B0586BB: mov edi, dword ptr [0x2b0b53cc] */
   3813     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3814     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3815     esp = esp + 4; /* 0x2B0586C1: add esp, 4 */
   3816     _flag_k = FK_ADD;
   3817     RECOMP_ICALL(edi); /* 0x2B0586C4: call edi */
   3818     RECOMP_FLAGS_IN();
   3819     ecx = eax; /* 0x2B0586C6: mov ecx, eax */
   3820     RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B0586C8: call dword ptr [0x2b0b53a4] */
   3821     RECOMP_FLAGS_IN();
   3822     ebx = eax; /* 0x2B0586CE: mov ebx, eax */
   3823     eax = ebp + (-0x10); /* 0x2B0586D0: lea eax, [ebp - 0x10] */
   3824     PUSH32(esp, eax); /* 0x2B0586D3: push eax */
   3825     RECOMP_ICALL(edi); /* 0x2B0586D4: call edi */
   3826     RECOMP_FLAGS_IN();
   3827     ecx = eax; /* 0x2B0586D6: mov ecx, eax */
   3828     RECOMP_ICALL(MEM32(0x2B0B53A8)); /* 0x2B0586D8: call dword ptr [0x2b0b53a8] */
   3829     RECOMP_FLAGS_IN();
   3830     ecx = MEM32(ebp + (-0x10)); /* 0x2B0586DE: mov ecx, dword ptr [ebp - 0x10] */
   3831     PUSH32(esp, ecx); /* 0x2B0586E1: push ecx */
   3832     PUSH32(esp, ebx); /* 0x2B0586E2: push ebx */
   3833     ecx = ebp + (-0x84); /* 0x2B0586E3: lea ecx, [ebp - 0x84] */
   3834     RECOMP_ICALL(MEM32(0x2B0B5C34)); /* 0x2B0586E9: call dword ptr [0x2b0b5c34] */
   3835     RECOMP_FLAGS_IN();
   3836     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3837     ebx = 0; /* 0x2B0586EF: xor ebx, ebx */
   3838     _cf = 0;
   3839     _flag_k = FK_TEST;
   3840     ecx = ebp + (-0x28); /* 0x2B0586F1: lea ecx, [ebp - 0x28] */
   3841     MEM32(ebp + (-0x4)) = ebx; /* 0x2B0586F4: mov dword ptr [ebp - 4], ebx */
   3842     RECOMP_ICALL(0x2B0A8730u); /* 0x2B0586F7: call 0x2b0a8730 */ /* not lifted */
   3843     RECOMP_FLAGS_IN();
   3844     edx = ebp + (-0x28); /* 0x2B0586FC: lea edx, [ebp - 0x28] */
   3845     PUSH32(esp, edx); /* 0x2B0586FF: push edx */
   3846     eax = ebp + (-0x84); /* 0x2B058700: lea eax, [ebp - 0x84] */
   3847     PUSH32(esp, eax); /* 0x2B058706: push eax */
   3848     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B058707: mov byte ptr [ebp - 4], 1 */
   3849     MEM32(ebp + (-0x40)) = ebx; /* 0x2B05870B: mov dword ptr [ebp - 0x40], ebx */
   3850     MEM32(ebp + (-0x3C)) = ebx; /* 0x2B05870E: mov dword ptr [ebp - 0x3c], ebx */
   3851     MEM32(ebp + (-0x38)) = ebx; /* 0x2B058711: mov dword ptr [ebp - 0x38], ebx */
   3852     MEM32(ebp + (-0x34)) = ebx; /* 0x2B058714: mov dword ptr [ebp - 0x34], ebx */
   3853     MEM32(ebp + (-0x30)) = ebx; /* 0x2B058717: mov dword ptr [ebp - 0x30], ebx */
   3854     MEM32(ebp + (-0x2C)) = ebx; /* 0x2B05871A: mov dword ptr [ebp - 0x2c], ebx */
   3855     RECOMP_ICALL(0x2B0A8870u); /* 0x2B05871D: call 0x2b0a8870 */ /* not lifted */
   3856     RECOMP_FLAGS_IN();
   3857     ecx = ebp + (-0x40); /* 0x2B058722: lea ecx, [ebp - 0x40] */
   3858     PUSH32(esp, ecx); /* 0x2B058725: push ecx */
   3859     edx = ebp + (-0x84); /* 0x2B058726: lea edx, [ebp - 0x84] */
   3860     PUSH32(esp, edx); /* 0x2B05872C: push edx */
   3861     RECOMP_ICALL(0x2B0A8910u); /* 0x2B05872D: call 0x2b0a8910 */ /* not lifted */
   3862     RECOMP_FLAGS_IN();
   3863     eax = MEM32(ebp + (-0x2C)); /* 0x2B058732: mov eax, dword ptr [ebp - 0x2c] */
   3864     PUSH32(esp, eax); /* 0x2B058735: push eax */
   3865     PUSH32(esp, 0x2B0E87A0u); /* 0x2B058736: push 0x2b0e87a0 */
   3866     RECOMP_ICALL(esi); /* 0x2B05873B: call esi */
   3867     RECOMP_FLAGS_IN();
   3868     PUSH32(esp, 0x50u); /* 0x2B05873D: push 0x50 */
   3869     RECOMP_ICALL(0x2B0AB212u); /* 0x2B05873F: call 0x2b0ab212 */ /* not lifted */
   3870     RECOMP_FLAGS_IN();
   3871     esi = eax; /* 0x2B058744: mov esi, eax */
   3872     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu);
   3873     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3874     esp = esp + 0x1Cu; /* 0x2B058746: add esp, 0x1c */
   3875     _flag_k = FK_ADD;
   3876     MEM32(ebp + (-0x14)) = esi; /* 0x2B058749: mov dword ptr [ebp - 0x14], esi */
   3877     /* cmp esi, ebx */ /* 0x2B05874C: cmp esi, ebx */
   3878     _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx);
   3879     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3880     _flag_k = FK_CMP;
   3881     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B05874E: mov byte ptr [ebp - 4], 2 */
   3882     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B05878B; /* 0x2B058752: je 0x2b05878b */
   3883 L_2B058754:
   3884     RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B058754: call dword ptr [0x2b0b5b64] */
   3885     RECOMP_FLAGS_IN();
   3886     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u);
   3887     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3888     eax = eax + 0xD4u; /* 0x2B05875A: add eax, 0xd4 */
   3889     _flag_k = FK_ADD;
   3890     ecx = ebp + (-0x1C); /* 0x2B05875F: lea ecx, [ebp - 0x1c] */
   3891     /* cmp ecx, eax */ /* 0x2B058762: cmp ecx, eax */
   3892     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax);
   3893     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3894     _flag_k = FK_CMP;
   3895     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B058771; /* 0x2B058764: je 0x2b058771 */
   3896 L_2B058766:
   3897     edx = MEM32(eax); /* 0x2B058766: mov edx, dword ptr [eax] */
   3898     MEM32(ebp + (-0x1C)) = edx; /* 0x2B058768: mov dword ptr [ebp - 0x1c], edx */
   3899     eax = MEM32(eax + 0x4); /* 0x2B05876B: mov eax, dword ptr [eax + 4] */
   3900     MEM32(ebp + (-0x18)) = eax; /* 0x2B05876E: mov dword ptr [ebp - 0x18], eax */
   3901 L_2B058771:
   3902     PUSH32(esp, 1); /* 0x2B058771: push 1 */
   3903     ecx = ebp + (-0x28); /* 0x2B058773: lea ecx, [ebp - 0x28] */
   3904     PUSH32(esp, ecx); /* 0x2B058776: push ecx */
   3905     edx = ebp + (-0x1C); /* 0x2B058777: lea edx, [ebp - 0x1c] */
   3906     PUSH32(esp, edx); /* 0x2B05877A: push edx */
   3907     ecx = esi; /* 0x2B05877B: mov ecx, esi */
   3908     RECOMP_ICALL(MEM32(0x2B0B6000)); /* 0x2B05877D: call dword ptr [0x2b0b6000] */
   3909     RECOMP_FLAGS_IN();
   3910     MEM32(esi) = 0x2B0B6BACu; /* 0x2B058783: mov dword ptr [esi], 0x2b0b6bac */
   3911     goto L_2B05878D; /* 0x2B058789: jmp 0x2b05878d */
   3912 L_2B05878B:
   3913     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3914     esi = 0; /* 0x2B05878B: xor esi, esi */
   3915     _cf = 0;
   3916     _flag_k = FK_TEST;
   3917 L_2B05878D:
   3918     eax = MEM32(0x2B0B6004); /* 0x2B05878D: mov eax, dword ptr [0x2b0b6004] */
   3919     ecx = MEM32(eax); /* 0x2B058792: mov ecx, dword ptr [eax] */
   3920     PUSH32(esp, esi); /* 0x2B058794: push esi */
   3921     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B058795: mov byte ptr [ebp - 4], 1 */
   3922     RECOMP_ICALL(MEM32(0x2B0B6008)); /* 0x2B058799: call dword ptr [0x2b0b6008] */
   3923     RECOMP_FLAGS_IN();
   3924     ecx = ebp + (-0x28); /* 0x2B05879F: lea ecx, [ebp - 0x28] */
   3925     MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B0587A2: mov byte ptr [ebp - 4], bl */
   3926     RECOMP_ICALL(0x2B0A8780u); /* 0x2B0587A5: call 0x2b0a8780 */ /* not lifted */
   3927     RECOMP_FLAGS_IN();
   3928     ecx = ebp + (-0x84); /* 0x2B0587AA: lea ecx, [ebp - 0x84] */
   3929     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B0587B0: mov dword ptr [ebp - 4], 0xffffffff */
   3930     RECOMP_ICALL(MEM32(0x2B0B5C48)); /* 0x2B0587B7: call dword ptr [0x2b0b5c48] */
   3931     RECOMP_FLAGS_IN();
   3932     ecx = MEM32(ebp + (-0xC)); /* 0x2B0587BD: mov ecx, dword ptr [ebp - 0xc] */
   3933     edi = POP32_VAL(esp); /* 0x2B0587C0: pop edi */
   3934     esi = POP32_VAL(esp); /* 0x2B0587C1: pop esi */
   3935     ebx = POP32_VAL(esp); /* 0x2B0587C2: pop ebx */
   3936     MEM32(FS_BASE + (0)) = ecx; /* 0x2B0587C3: mov dword ptr fs:[0], ecx */
   3937     esp = ebp; /* 0x2B0587CA: mov esp, ebp */
   3938     ebp = POP32_VAL(esp); /* 0x2B0587CC: pop ebp */
   3939     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0587CD: ret  */
   3940 L_2B058BB0:
   3941     eax = MEM32(0x2B0EEBA4); /* 0x2B058BB0: mov eax, dword ptr [0x2b0eeba4] */
   3942     ecx = MEM32(eax); /* 0x2B058BB5: mov ecx, dword ptr [eax] */
   3943     RECOMP_BACKEDGE();
   3944     goto L_2B058690; /* 0x2B058BB7: jmp 0x2b058690 */
   3945     { RECOMP_REGS_OUT(); return; } /* end of function */
   3946     RECOMP_REGS_OUT();
   3947 }
   3948 
   3949 void sub_2B058BC0(void) {
   3950     int _fpu_cmp = 0;
   3951     uint32_t _cf = 0;
   3952     int _df = 1;
   3953     uint32_t _flag_k = FK_NONE;
   3954     uint32_t _flag_a = 0, _flag_b = 0;
   3955     uint32_t _itail_tgt = 0;
   3956     RECOMP_REGS_LOCALS
   3957     RECOMP_ENTER(0x2B058BC0u);
   3958 
   3959 L_2B058BC0:
   3960     PUSH32(esp, ebp); /* 0x2B058BC0: push ebp */
   3961     ebp = esp; /* 0x2B058BC1: mov ebp, esp */
   3962     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B058BC3: push -1 */
   3963     PUSH32(esp, 0x2B0AFFB8u); /* 0x2B058BC5: push 0x2b0affb8 */
   3964     eax = MEM32(FS_BASE + (0)); /* 0x2B058BCA: mov eax, dword ptr fs:[0] */
   3965     PUSH32(esp, eax); /* 0x2B058BD0: push eax */
   3966     MEM32(FS_BASE + (0)) = esp; /* 0x2B058BD1: mov dword ptr fs:[0], esp */
   3967     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u);
   3968     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3969     esp = esp - 0x10u; /* 0x2B058BD8: sub esp, 0x10 */
   3970     _flag_k = FK_CMP;
   3971     PUSH32(esp, ebx); /* 0x2B058BDB: push ebx */
   3972     PUSH32(esp, esi); /* 0x2B058BDC: push esi */
   3973     esi = ecx; /* 0x2B058BDD: mov esi, ecx */
   3974     PUSH32(esp, edi); /* 0x2B058BDF: push edi */
   3975     MEM32(ebp + (-0x10)) = esi; /* 0x2B058BE0: mov dword ptr [ebp - 0x10], esi */
   3976     RECOMP_ICALL(0x2B03A220u); /* 0x2B058BE3: call 0x2b03a220 */ /* not lifted */
   3977     RECOMP_FLAGS_IN();
   3978     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   3979     edi = 0; /* 0x2B058BE8: xor edi, edi */
   3980     _cf = 0;
   3981     _flag_k = FK_TEST;
   3982     PUSH32(esp, 0x38u); /* 0x2B058BEA: push 0x38 */
   3983     MEM32(ebp + (-0x4)) = edi; /* 0x2B058BEC: mov dword ptr [ebp - 4], edi */
   3984     MEM32(esi) = 0x2B0B6BD0u; /* 0x2B058BEF: mov dword ptr [esi], 0x2b0b6bd0 */
   3985     MEM32(ebp + (-0x1C)) = edi; /* 0x2B058BF5: mov dword ptr [ebp - 0x1c], edi */
   3986     MEM32(ebp + (-0x18)) = edi; /* 0x2B058BF8: mov dword ptr [ebp - 0x18], edi */
   3987     RECOMP_ICALL(0x2B0AB212u); /* 0x2B058BFB: call 0x2b0ab212 */ /* not lifted */
   3988     RECOMP_FLAGS_IN();
   3989     ebx = eax; /* 0x2B058C00: mov ebx, eax */
   3990     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   3991     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   3992     esp = esp + 4; /* 0x2B058C02: add esp, 4 */
   3993     _flag_k = FK_ADD;
   3994     MEM32(ebp + (-0x14)) = ebx; /* 0x2B058C05: mov dword ptr [ebp - 0x14], ebx */
   3995     /* cmp ebx, edi */ /* 0x2B058C08: cmp ebx, edi */
   3996     _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edi);
   3997     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   3998     _flag_k = FK_CMP;
   3999     MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B058C0A: mov byte ptr [ebp - 4], 1 */
   4000     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B058C36; /* 0x2B058C0E: je 0x2b058c36 */
   4001 L_2B058C10:
   4002     eax = MEM32(0x2B0EE9DC); /* 0x2B058C10: mov eax, dword ptr [0x2b0ee9dc] */
   4003     PUSH32(esp, eax); /* 0x2B058C15: push eax */
   4004     PUSH32(esp, 0xFA2u); /* 0x2B058C16: push 0xfa2 */
   4005     PUSH32(esp, 0x190u); /* 0x2B058C1B: push 0x190 */
   4006     ecx = ebp + (-0x1C); /* 0x2B058C20: lea ecx, [ebp - 0x1c] */
   4007     PUSH32(esp, ecx); /* 0x2B058C23: push ecx */
   4008     ecx = ebx; /* 0x2B058C24: mov ecx, ebx */
   4009     RECOMP_ICALL(MEM32(0x2B0B5948)); /* 0x2B058C26: call dword ptr [0x2b0b5948] */
   4010     RECOMP_FLAGS_IN();
   4011     MEM32(ebx) = 0x2B0B68F4u; /* 0x2B058C2C: mov dword ptr [ebx], 0x2b0b68f4 */
   4012     eax = ebx; /* 0x2B058C32: mov eax, ebx */
   4013     goto L_2B058C38; /* 0x2B058C34: jmp 0x2b058c38 */
   4014 L_2B058C36:
   4015     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4016     eax = 0; /* 0x2B058C36: xor eax, eax */
   4017     _cf = 0;
   4018     _flag_k = FK_TEST;
   4019 L_2B058C38:
   4020     SET_LO8(ecx, MEM8(esi + 0x1C)); /* 0x2B058C38: mov cl, byte ptr [esi + 0x1c] */
   4021     /* test LO8(ecx), LO8(ecx) */ /* 0x2B058C3B: test cl, cl */
   4022     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
   4023     _cf = 0;
   4024     _flag_k = FK_NARROW(FK_TEST, 24);
   4025     MEM32(esi + 0x28) = eax; /* 0x2B058C3D: mov dword ptr [esi + 0x28], eax */
   4026     eax = MEM32(eax + 0x14); /* 0x2B058C40: mov eax, dword ptr [eax + 0x14] */
   4027     eax = MEM32(eax + 0x8); /* 0x2B058C43: mov eax, dword ptr [eax + 8] */
   4028     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B058C46: mov byte ptr [ebp - 4], 0 */
   4029     MEM32(esi + 0x20) = eax; /* 0x2B058C4A: mov dword ptr [esi + 0x20], eax */
   4030     if (TEST_Z(_flag_a, _flag_b)) goto L_2B058C59; /* 0x2B058C4D: je 0x2b058c59 */
   4031 L_2B058C4F:
   4032     SET_LO8(ecx, MEM8(esi + 0xC)); /* 0x2B058C4F: mov cl, byte ptr [esi + 0xc] */
   4033     /* test LO8(ecx), LO8(ecx) */ /* 0x2B058C52: test cl, cl */
   4034     _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24;
   4035     _cf = 0;
   4036     _flag_k = FK_NARROW(FK_TEST, 24);
   4037     if (TEST_Z(_flag_a, _flag_b)) goto L_2B058C59; /* 0x2B058C54: je 0x2b058c59 */
   4038 L_2B058C56:
   4039     MEM32(esi + 0x18) = eax; /* 0x2B058C56: mov dword ptr [esi + 0x18], eax */
   4040 L_2B058C59:
   4041     PUSH32(esp, 0x1Cu); /* 0x2B058C59: push 0x1c */
   4042     RECOMP_ICALL(0x2B0AB212u); /* 0x2B058C5B: call 0x2b0ab212 */ /* not lifted */
   4043     RECOMP_FLAGS_IN();
   4044     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4045     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4046     esp = esp + 4; /* 0x2B058C60: add esp, 4 */
   4047     _flag_k = FK_ADD;
   4048     MEM32(ebp + (-0x14)) = eax; /* 0x2B058C63: mov dword ptr [ebp - 0x14], eax */
   4049     /* cmp eax, edi */ /* 0x2B058C66: cmp eax, edi */
   4050     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   4051     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4052     _flag_k = FK_CMP;
   4053     MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B058C68: mov byte ptr [ebp - 4], 2 */
   4054     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B058C89; /* 0x2B058C6C: je 0x2b058c89 */
   4055 L_2B058C6E:
   4056     edx = MEM32(0x2B0EE9DC); /* 0x2B058C6E: mov edx, dword ptr [0x2b0ee9dc] */
   4057     PUSH32(esp, edx); /* 0x2B058C74: push edx */
   4058     PUSH32(esp, edi); /* 0x2B058C75: push edi */
   4059     PUSH32(esp, 0x2B0E4438u); /* 0x2B058C76: push 0x2b0e4438 */
   4060     PUSH32(esp, 0x2B0E8938u); /* 0x2B058C7B: push 0x2b0e8938 */
   4061     ecx = eax; /* 0x2B058C80: mov ecx, eax */
   4062     RECOMP_ICALL(0x2B05F070u); /* 0x2B058C82: call 0x2b05f070 */ /* not lifted */
   4063     RECOMP_FLAGS_IN();
   4064     goto L_2B058C8B; /* 0x2B058C87: jmp 0x2b058c8b */
   4065 L_2B058C89:
   4066     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4067     eax = 0; /* 0x2B058C89: xor eax, eax */
   4068     _cf = 0;
   4069     _flag_k = FK_TEST;
   4070 L_2B058C8B:
   4071     PUSH32(esp, 0x2Cu); /* 0x2B058C8B: push 0x2c */
   4072     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B058C8D: mov byte ptr [ebp - 4], 0 */
   4073     MEM32(esi + 0x2C) = eax; /* 0x2B058C91: mov dword ptr [esi + 0x2c], eax */
   4074     RECOMP_ICALL(0x2B0AB212u); /* 0x2B058C94: call 0x2b0ab212 */ /* not lifted */
   4075     RECOMP_FLAGS_IN();
   4076     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4077     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4078     esp = esp + 4; /* 0x2B058C99: add esp, 4 */
   4079     _flag_k = FK_ADD;
   4080     MEM32(ebp + (-0x14)) = eax; /* 0x2B058C9C: mov dword ptr [ebp - 0x14], eax */
   4081     /* cmp eax, edi */ /* 0x2B058C9F: cmp eax, edi */
   4082     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   4083     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4084     _flag_k = FK_CMP;
   4085     MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B058CA1: mov byte ptr [ebp - 4], 3 */
   4086     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B058CCD; /* 0x2B058CA5: je 0x2b058ccd */
   4087 L_2B058CA7:
   4088     ecx = MEM32(0x2B0EE9DC); /* 0x2B058CA7: mov ecx, dword ptr [0x2b0ee9dc] */
   4089     PUSH32(esp, ecx); /* 0x2B058CAD: push ecx */
   4090     PUSH32(esp, edi); /* 0x2B058CAE: push edi */
   4091     PUSH32(esp, 0x2B059730u); /* 0x2B058CAF: push 0x2b059730 */
   4092     PUSH32(esp, 0x65u); /* 0x2B058CB4: push 0x65 */
   4093     PUSH32(esp, 1); /* 0x2B058CB6: push 1 */
   4094     PUSH32(esp, 1); /* 0x2B058CB8: push 1 */
   4095     PUSH32(esp, 0x2B0E8928u); /* 0x2B058CBA: push 0x2b0e8928 */
   4096     PUSH32(esp, 0x2B0E8918u); /* 0x2B058CBF: push 0x2b0e8918 */
   4097     ecx = eax; /* 0x2B058CC4: mov ecx, eax */
   4098     RECOMP_ICALL(0x2B05F3C0u); /* 0x2B058CC6: call 0x2b05f3c0 */ /* not lifted */
   4099     RECOMP_FLAGS_IN();
   4100     goto L_2B058CCF; /* 0x2B058CCB: jmp 0x2b058ccf */
   4101 L_2B058CCD:
   4102     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4103     eax = 0; /* 0x2B058CCD: xor eax, eax */
   4104     _cf = 0;
   4105     _flag_k = FK_TEST;
   4106 L_2B058CCF:
   4107     PUSH32(esp, 0x1Cu); /* 0x2B058CCF: push 0x1c */
   4108     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B058CD1: mov byte ptr [ebp - 4], 0 */
   4109     MEM32(esi + 0x30) = eax; /* 0x2B058CD5: mov dword ptr [esi + 0x30], eax */
   4110     RECOMP_ICALL(0x2B0AB212u); /* 0x2B058CD8: call 0x2b0ab212 */ /* not lifted */
   4111     RECOMP_FLAGS_IN();
   4112     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4113     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4114     esp = esp + 4; /* 0x2B058CDD: add esp, 4 */
   4115     _flag_k = FK_ADD;
   4116     MEM32(ebp + (-0x14)) = eax; /* 0x2B058CE0: mov dword ptr [ebp - 0x14], eax */
   4117     /* cmp eax, edi */ /* 0x2B058CE3: cmp eax, edi */
   4118     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   4119     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4120     _flag_k = FK_CMP;
   4121     MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B058CE5: mov byte ptr [ebp - 4], 4 */
   4122     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B058D07; /* 0x2B058CE9: je 0x2b058d07 */
   4123 L_2B058CEB:
   4124     edx = MEM32(0x2B0EE9DC); /* 0x2B058CEB: mov edx, dword ptr [0x2b0ee9dc] */
   4125     PUSH32(esp, edx); /* 0x2B058CF1: push edx */
   4126     PUSH32(esp, 1); /* 0x2B058CF2: push 1 */
   4127     PUSH32(esp, 0x2B0E890Cu); /* 0x2B058CF4: push 0x2b0e890c */
   4128     PUSH32(esp, 0x2B0E88FCu); /* 0x2B058CF9: push 0x2b0e88fc */
   4129     ecx = eax; /* 0x2B058CFE: mov ecx, eax */
   4130     RECOMP_ICALL(0x2B05F070u); /* 0x2B058D00: call 0x2b05f070 */ /* not lifted */
   4131     RECOMP_FLAGS_IN();
   4132     goto L_2B058D09; /* 0x2B058D05: jmp 0x2b058d09 */
   4133 L_2B058D07:
   4134     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4135     eax = 0; /* 0x2B058D07: xor eax, eax */
   4136     _cf = 0;
   4137     _flag_k = FK_TEST;
   4138 L_2B058D09:
   4139     PUSH32(esp, 0x2Cu); /* 0x2B058D09: push 0x2c */
   4140     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B058D0B: mov byte ptr [ebp - 4], 0 */
   4141     MEM32(esi + 0x34) = eax; /* 0x2B058D0F: mov dword ptr [esi + 0x34], eax */
   4142     RECOMP_ICALL(0x2B0AB212u); /* 0x2B058D12: call 0x2b0ab212 */ /* not lifted */
   4143     RECOMP_FLAGS_IN();
   4144     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4145     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4146     esp = esp + 4; /* 0x2B058D17: add esp, 4 */
   4147     _flag_k = FK_ADD;
   4148     MEM32(ebp + (-0x14)) = eax; /* 0x2B058D1A: mov dword ptr [ebp - 0x14], eax */
   4149     /* cmp eax, edi */ /* 0x2B058D1D: cmp eax, edi */
   4150     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   4151     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4152     _flag_k = FK_CMP;
   4153     MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B058D1F: mov byte ptr [ebp - 4], 5 */
   4154     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B058D4C; /* 0x2B058D23: je 0x2b058d4c */
   4155 L_2B058D25:
   4156     ecx = MEM32(0x2B0EE9DC); /* 0x2B058D25: mov ecx, dword ptr [0x2b0ee9dc] */
   4157     PUSH32(esp, ecx); /* 0x2B058D2B: push ecx */
   4158     PUSH32(esp, 1); /* 0x2B058D2C: push 1 */
   4159     PUSH32(esp, 0x2B059730u); /* 0x2B058D2E: push 0x2b059730 */
   4160     PUSH32(esp, 0x65u); /* 0x2B058D33: push 0x65 */
   4161     PUSH32(esp, 1); /* 0x2B058D35: push 1 */
   4162     PUSH32(esp, 1); /* 0x2B058D37: push 1 */
   4163     PUSH32(esp, 0x2B0E88F0u); /* 0x2B058D39: push 0x2b0e88f0 */
   4164     PUSH32(esp, 0x2B0E88E4u); /* 0x2B058D3E: push 0x2b0e88e4 */
   4165     ecx = eax; /* 0x2B058D43: mov ecx, eax */
   4166     RECOMP_ICALL(0x2B05F3C0u); /* 0x2B058D45: call 0x2b05f3c0 */ /* not lifted */
   4167     RECOMP_FLAGS_IN();
   4168     goto L_2B058D4E; /* 0x2B058D4A: jmp 0x2b058d4e */
   4169 L_2B058D4C:
   4170     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4171     eax = 0; /* 0x2B058D4C: xor eax, eax */
   4172     _cf = 0;
   4173     _flag_k = FK_TEST;
   4174 L_2B058D4E:
   4175     PUSH32(esp, 0x1Cu); /* 0x2B058D4E: push 0x1c */
   4176     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B058D50: mov byte ptr [ebp - 4], 0 */
   4177     MEM32(esi + 0x38) = eax; /* 0x2B058D54: mov dword ptr [esi + 0x38], eax */
   4178     RECOMP_ICALL(0x2B0AB212u); /* 0x2B058D57: call 0x2b0ab212 */ /* not lifted */
   4179     RECOMP_FLAGS_IN();
   4180     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4181     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4182     esp = esp + 4; /* 0x2B058D5C: add esp, 4 */
   4183     _flag_k = FK_ADD;
   4184     MEM32(ebp + (-0x14)) = eax; /* 0x2B058D5F: mov dword ptr [ebp - 0x14], eax */
   4185     /* cmp eax, edi */ /* 0x2B058D62: cmp eax, edi */
   4186     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   4187     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4188     _flag_k = FK_CMP;
   4189     MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B058D64: mov byte ptr [ebp - 4], 6 */
   4190     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B058D86; /* 0x2B058D68: je 0x2b058d86 */
   4191 L_2B058D6A:
   4192     edx = MEM32(0x2B0EE9DC); /* 0x2B058D6A: mov edx, dword ptr [0x2b0ee9dc] */
   4193     PUSH32(esp, edx); /* 0x2B058D70: push edx */
   4194     PUSH32(esp, 1); /* 0x2B058D71: push 1 */
   4195     PUSH32(esp, 0x2B0E6D4Cu); /* 0x2B058D73: push 0x2b0e6d4c */
   4196     PUSH32(esp, 0x2B0E88D4u); /* 0x2B058D78: push 0x2b0e88d4 */
   4197     ecx = eax; /* 0x2B058D7D: mov ecx, eax */
   4198     RECOMP_ICALL(0x2B05F070u); /* 0x2B058D7F: call 0x2b05f070 */ /* not lifted */
   4199     RECOMP_FLAGS_IN();
   4200     goto L_2B058D88; /* 0x2B058D84: jmp 0x2b058d88 */
   4201 L_2B058D86:
   4202     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4203     eax = 0; /* 0x2B058D86: xor eax, eax */
   4204     _cf = 0;
   4205     _flag_k = FK_TEST;
   4206 L_2B058D88:
   4207     PUSH32(esp, 0x2Cu); /* 0x2B058D88: push 0x2c */
   4208     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B058D8A: mov byte ptr [ebp - 4], 0 */
   4209     MEM32(esi + 0x3C) = eax; /* 0x2B058D8E: mov dword ptr [esi + 0x3c], eax */
   4210     RECOMP_ICALL(0x2B0AB212u); /* 0x2B058D91: call 0x2b0ab212 */ /* not lifted */
   4211     RECOMP_FLAGS_IN();
   4212     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4213     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4214     esp = esp + 4; /* 0x2B058D96: add esp, 4 */
   4215     _flag_k = FK_ADD;
   4216     MEM32(ebp + (-0x14)) = eax; /* 0x2B058D99: mov dword ptr [ebp - 0x14], eax */
   4217     /* cmp eax, edi */ /* 0x2B058D9C: cmp eax, edi */
   4218     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   4219     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4220     _flag_k = FK_CMP;
   4221     MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B058D9E: mov byte ptr [ebp - 4], 7 */
   4222     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B058DCB; /* 0x2B058DA2: je 0x2b058dcb */
   4223 L_2B058DA4:
   4224     ecx = MEM32(0x2B0EE9DC); /* 0x2B058DA4: mov ecx, dword ptr [0x2b0ee9dc] */
   4225     PUSH32(esp, ecx); /* 0x2B058DAA: push ecx */
   4226     PUSH32(esp, 2); /* 0x2B058DAB: push 2 */
   4227     PUSH32(esp, 0x2B059730u); /* 0x2B058DAD: push 0x2b059730 */
   4228     PUSH32(esp, 0x65u); /* 0x2B058DB2: push 0x65 */
   4229     PUSH32(esp, 1); /* 0x2B058DB4: push 1 */
   4230     PUSH32(esp, 1); /* 0x2B058DB6: push 1 */
   4231     PUSH32(esp, 0x2B0E88C8u); /* 0x2B058DB8: push 0x2b0e88c8 */
   4232     PUSH32(esp, 0x2B0E88B8u); /* 0x2B058DBD: push 0x2b0e88b8 */
   4233     ecx = eax; /* 0x2B058DC2: mov ecx, eax */
   4234     RECOMP_ICALL(0x2B05F3C0u); /* 0x2B058DC4: call 0x2b05f3c0 */ /* not lifted */
   4235     RECOMP_FLAGS_IN();
   4236     goto L_2B058DCD; /* 0x2B058DC9: jmp 0x2b058dcd */
   4237 L_2B058DCB:
   4238     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4239     eax = 0; /* 0x2B058DCB: xor eax, eax */
   4240     _cf = 0;
   4241     _flag_k = FK_TEST;
   4242 L_2B058DCD:
   4243     PUSH32(esp, 0x2Cu); /* 0x2B058DCD: push 0x2c */
   4244     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B058DCF: mov byte ptr [ebp - 4], 0 */
   4245     MEM32(esi + 0x40) = eax; /* 0x2B058DD3: mov dword ptr [esi + 0x40], eax */
   4246     RECOMP_ICALL(0x2B0AB212u); /* 0x2B058DD6: call 0x2b0ab212 */ /* not lifted */
   4247     RECOMP_FLAGS_IN();
   4248     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4249     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4250     esp = esp + 4; /* 0x2B058DDB: add esp, 4 */
   4251     _flag_k = FK_ADD;
   4252     MEM32(ebp + (-0x14)) = eax; /* 0x2B058DDE: mov dword ptr [ebp - 0x14], eax */
   4253     /* cmp eax, edi */ /* 0x2B058DE1: cmp eax, edi */
   4254     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   4255     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4256     _flag_k = FK_CMP;
   4257     MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B058DE3: mov byte ptr [ebp - 4], 8 */
   4258     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B058E0F; /* 0x2B058DE7: je 0x2b058e0f */
   4259 L_2B058DE9:
   4260     edx = MEM32(0x2B0EE9DC); /* 0x2B058DE9: mov edx, dword ptr [0x2b0ee9dc] */
   4261     PUSH32(esp, edx); /* 0x2B058DEF: push edx */
   4262     PUSH32(esp, 6); /* 0x2B058DF0: push 6 */
   4263     PUSH32(esp, 0x2B059730u); /* 0x2B058DF2: push 0x2b059730 */
   4264     PUSH32(esp, 4); /* 0x2B058DF7: push 4 */
   4265     PUSH32(esp, edi); /* 0x2B058DF9: push edi */
   4266     PUSH32(esp, 1); /* 0x2B058DFA: push 1 */
   4267     PUSH32(esp, 0x2B0E88A8u); /* 0x2B058DFC: push 0x2b0e88a8 */
   4268     PUSH32(esp, 0x2B0E8898u); /* 0x2B058E01: push 0x2b0e8898 */
   4269     ecx = eax; /* 0x2B058E06: mov ecx, eax */
   4270     RECOMP_ICALL(0x2B05F3C0u); /* 0x2B058E08: call 0x2b05f3c0 */ /* not lifted */
   4271     RECOMP_FLAGS_IN();
   4272     goto L_2B058E11; /* 0x2B058E0D: jmp 0x2b058e11 */
   4273 L_2B058E0F:
   4274     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4275     eax = 0; /* 0x2B058E0F: xor eax, eax */
   4276     _cf = 0;
   4277     _flag_k = FK_TEST;
   4278 L_2B058E11:
   4279     PUSH32(esp, 0x1Cu); /* 0x2B058E11: push 0x1c */
   4280     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B058E13: mov byte ptr [ebp - 4], 0 */
   4281     MEM32(esi + 0x44) = eax; /* 0x2B058E17: mov dword ptr [esi + 0x44], eax */
   4282     RECOMP_ICALL(0x2B0AB212u); /* 0x2B058E1A: call 0x2b0ab212 */ /* not lifted */
   4283     RECOMP_FLAGS_IN();
   4284     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4285     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4286     esp = esp + 4; /* 0x2B058E1F: add esp, 4 */
   4287     _flag_k = FK_ADD;
   4288     MEM32(ebp + (-0x14)) = eax; /* 0x2B058E22: mov dword ptr [ebp - 0x14], eax */
   4289     /* cmp eax, edi */ /* 0x2B058E25: cmp eax, edi */
   4290     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   4291     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4292     _flag_k = FK_CMP;
   4293     MEM8(ebp + (-0x4)) = (uint8_t)(9); /* 0x2B058E27: mov byte ptr [ebp - 4], 9 */
   4294     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B058E49; /* 0x2B058E2B: je 0x2b058e49 */
   4295 L_2B058E2D:
   4296     ecx = MEM32(0x2B0EE9DC); /* 0x2B058E2D: mov ecx, dword ptr [0x2b0ee9dc] */
   4297     PUSH32(esp, ecx); /* 0x2B058E33: push ecx */
   4298     PUSH32(esp, 1); /* 0x2B058E34: push 1 */
   4299     PUSH32(esp, 0x2B0E8888u); /* 0x2B058E36: push 0x2b0e8888 */
   4300     PUSH32(esp, 0x2B0E8878u); /* 0x2B058E3B: push 0x2b0e8878 */
   4301     ecx = eax; /* 0x2B058E40: mov ecx, eax */
   4302     RECOMP_ICALL(0x2B05F070u); /* 0x2B058E42: call 0x2b05f070 */ /* not lifted */
   4303     RECOMP_FLAGS_IN();
   4304     goto L_2B058E4B; /* 0x2B058E47: jmp 0x2b058e4b */
   4305 L_2B058E49:
   4306     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4307     eax = 0; /* 0x2B058E49: xor eax, eax */
   4308     _cf = 0;
   4309     _flag_k = FK_TEST;
   4310 L_2B058E4B:
   4311     PUSH32(esp, 0x2Cu); /* 0x2B058E4B: push 0x2c */
   4312     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B058E4D: mov byte ptr [ebp - 4], 0 */
   4313     MEM32(esi + 0x48) = eax; /* 0x2B058E51: mov dword ptr [esi + 0x48], eax */
   4314     RECOMP_ICALL(0x2B0AB212u); /* 0x2B058E54: call 0x2b0ab212 */ /* not lifted */
   4315     RECOMP_FLAGS_IN();
   4316     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4317     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4318     esp = esp + 4; /* 0x2B058E59: add esp, 4 */
   4319     _flag_k = FK_ADD;
   4320     MEM32(ebp + (-0x14)) = eax; /* 0x2B058E5C: mov dword ptr [ebp - 0x14], eax */
   4321     /* cmp eax, edi */ /* 0x2B058E5F: cmp eax, edi */
   4322     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   4323     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4324     _flag_k = FK_CMP;
   4325     MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B058E61: mov byte ptr [ebp - 4], 0xa */
   4326     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B058E8E; /* 0x2B058E65: je 0x2b058e8e */
   4327 L_2B058E67:
   4328     edx = MEM32(0x2B0EE9DC); /* 0x2B058E67: mov edx, dword ptr [0x2b0ee9dc] */
   4329     PUSH32(esp, edx); /* 0x2B058E6D: push edx */
   4330     PUSH32(esp, 8); /* 0x2B058E6E: push 8 */
   4331     PUSH32(esp, 0x2B059730u); /* 0x2B058E70: push 0x2b059730 */
   4332     PUSH32(esp, 0x65u); /* 0x2B058E75: push 0x65 */
   4333     PUSH32(esp, 1); /* 0x2B058E77: push 1 */
   4334     PUSH32(esp, 1); /* 0x2B058E79: push 1 */
   4335     PUSH32(esp, 0x2B0E8864u); /* 0x2B058E7B: push 0x2b0e8864 */
   4336     PUSH32(esp, 0x2B0E8854u); /* 0x2B058E80: push 0x2b0e8854 */
   4337     ecx = eax; /* 0x2B058E85: mov ecx, eax */
   4338     RECOMP_ICALL(0x2B05F3C0u); /* 0x2B058E87: call 0x2b05f3c0 */ /* not lifted */
   4339     RECOMP_FLAGS_IN();
   4340     goto L_2B058E90; /* 0x2B058E8C: jmp 0x2b058e90 */
   4341 L_2B058E8E:
   4342     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4343     eax = 0; /* 0x2B058E8E: xor eax, eax */
   4344     _cf = 0;
   4345     _flag_k = FK_TEST;
   4346 L_2B058E90:
   4347     ebx = MEM32(0x2B0B602C); /* 0x2B058E90: mov ebx, dword ptr [0x2b0b602c] */
   4348     MEM32(esi + 0x4C) = eax; /* 0x2B058E96: mov dword ptr [esi + 0x4c], eax */
   4349     eax = MEM32(0x2B0B6048); /* 0x2B058E99: mov eax, dword ptr [0x2b0b6048] */
   4350     ecx = MEM32(eax); /* 0x2B058E9E: mov ecx, dword ptr [eax] */
   4351     PUSH32(esp, 2); /* 0x2B058EA0: push 2 */
   4352     PUSH32(esp, 0x2B0E12F8u); /* 0x2B058EA2: push 0x2b0e12f8 */
   4353     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B058EA7: mov byte ptr [ebp - 4], 0 */
   4354     RECOMP_ICALL(ebx); /* 0x2B058EAB: call ebx */
   4355     RECOMP_FLAGS_IN();
   4356     /* cmp eax, 4 */ /* 0x2B058EAD: cmp eax, 4 */
   4357     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   4358     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4359     _flag_k = FK_CMP;
   4360     if (CMP_NE(_flag_a, _flag_b)) goto L_2B058ECA; /* 0x2B058EB0: jne 0x2b058eca */
   4361 L_2B058EB2:
   4362     ecx = MEM32(0x2B0B6048); /* 0x2B058EB2: mov ecx, dword ptr [0x2b0b6048] */
   4363     ecx = MEM32(ecx); /* 0x2B058EB8: mov ecx, dword ptr [ecx] */
   4364     PUSH32(esp, 1); /* 0x2B058EBA: push 1 */
   4365     PUSH32(esp, 2); /* 0x2B058EBC: push 2 */
   4366     PUSH32(esp, edi); /* 0x2B058EBE: push edi */
   4367     PUSH32(esp, 0x2B0E12F8u); /* 0x2B058EBF: push 0x2b0e12f8 */
   4368     RECOMP_ICALL(MEM32(0x2B0B604C)); /* 0x2B058EC4: call dword ptr [0x2b0b604c] */
   4369     RECOMP_FLAGS_IN();
   4370 L_2B058ECA:
   4371     PUSH32(esp, 0x2Cu); /* 0x2B058ECA: push 0x2c */
   4372     RECOMP_ICALL(0x2B0AB212u); /* 0x2B058ECC: call 0x2b0ab212 */ /* not lifted */
   4373     RECOMP_FLAGS_IN();
   4374     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4375     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4376     esp = esp + 4; /* 0x2B058ED1: add esp, 4 */
   4377     _flag_k = FK_ADD;
   4378     MEM32(ebp + (-0x14)) = eax; /* 0x2B058ED4: mov dword ptr [ebp - 0x14], eax */
   4379     /* cmp eax, edi */ /* 0x2B058ED7: cmp eax, edi */
   4380     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   4381     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   4382     _flag_k = FK_CMP;
   4383     MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B058ED9: mov byte ptr [ebp - 4], 0xb */
   4384     if (CMP_EQ(_flag_a, _flag_b)) goto L_2B058F05; /* 0x2B058EDD: je 0x2b058f05 */
   4385 L_2B058EDF:
   4386     edx = MEM32(0x2B0EE9DC); /* 0x2B058EDF: mov edx, dword ptr [0x2b0ee9dc] */
   4387     PUSH32(esp, edx); /* 0x2B058EE5: push edx */
   4388     PUSH32(esp, 9); /* 0x2B058EE6: push 9 */
   4389     PUSH32(esp, 0x2B059730u); /* 0x2B058EE8: push 0x2b059730 */
   4390     PUSH32(esp, 4); /* 0x2B058EED: push 4 */
   4391     PUSH32(esp, edi); /* 0x2B058EEF: push edi */
   4392     PUSH32(esp, 2); /* 0x2B058EF0: push 2 */
   4393     PUSH32(esp, 0x2B0E12F8u); /* 0x2B058EF2: push 0x2b0e12f8 */
   4394     PUSH32(esp, 0x2B0E8848u); /* 0x2B058EF7: push 0x2b0e8848 */
   4395     ecx = eax; /* 0x2B058EFC: mov ecx, eax */
   4396     RECOMP_ICALL(0x2B05F3C0u); /* 0x2B058EFE: call 0x2b05f3c0 */ /* not lifted */
   4397     RECOMP_FLAGS_IN();
   4398     goto L_2B058F07; /* 0x2B058F03: jmp 0x2b058f07 */
   4399 L_2B058F05:
   4400     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4401     eax = 0; /* 0x2B058F05: xor eax, eax */
   4402     _cf = 0;
   4403     _flag_k = FK_TEST;
   4404 L_2B058F07:
   4405     PUSH32(esp, 0x50u); /* 0x2B058F07: push 0x50 */
   4406     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B058F09: mov byte ptr [ebp - 4], 0 */
   4407     MEM32(esi + 0x50) = eax; /* 0x2B058F0D: mov dword ptr [esi + 0x50], eax */
   4408     RECOMP_ICALL(0x2B0AB212u); /* 0x2B058F10: call 0x2b0ab212 */ /* not lifted */
   4409     RECOMP_FLAGS_IN();
   4410     edi = eax; /* 0x2B058F15: mov edi, eax */
   4411     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4412     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4413     esp = esp + 4; /* 0x2B058F17: add esp, 4 */
   4414     _flag_k = FK_ADD;
   4415     MEM32(ebp + (-0x14)) = edi; /* 0x2B058F1A: mov dword ptr [ebp - 0x14], edi */
   4416     /* test edi, edi */ /* 0x2B058F1D: test edi, edi */
   4417     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   4418     _cf = 0;
   4419     _flag_k = FK_TEST;
   4420     MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x2B058F1F: mov byte ptr [ebp - 4], 0xc */
   4421     if (TEST_Z(_flag_a, _flag_b)) goto L_2B058F51; /* 0x2B058F23: je 0x2b058f51 */
   4422 L_2B058F25:
   4423     eax = MEM32(0x2B0EE9DC); /* 0x2B058F25: mov eax, dword ptr [0x2b0ee9dc] */
   4424     ecx = MEM32(ebp + (-0x18)); /* 0x2B058F2A: mov ecx, dword ptr [ebp - 0x18] */
   4425     edx = MEM32(ebp + (-0x1C)); /* 0x2B058F2D: mov edx, dword ptr [ebp - 0x1c] */
   4426     PUSH32(esp, eax); /* 0x2B058F30: push eax */
   4427     PUSH32(esp, 0); /* 0x2B058F31: push 0 */
   4428     PUSH32(esp, ecx); /* 0x2B058F33: push ecx */
   4429     PUSH32(esp, edx); /* 0x2B058F34: push edx */
   4430     PUSH32(esp, 0xFB2u); /* 0x2B058F35: push 0xfb2 */
   4431     PUSH32(esp, 0x2B0E8834u); /* 0x2B058F3A: push 0x2b0e8834 */
   4432     PUSH32(esp, 1); /* 0x2B058F3F: push 1 */
   4433     ecx = edi; /* 0x2B058F41: mov ecx, edi */
   4434     RECOMP_ICALL(MEM32(0x2B0B5950)); /* 0x2B058F43: call dword ptr [0x2b0b5950] */
   4435     RECOMP_FLAGS_IN();
   4436     MEM32(edi) = 0x2B0B6878u; /* 0x2B058F49: mov dword ptr [edi], 0x2b0b6878 */
   4437     goto L_2B058F53; /* 0x2B058F4F: jmp 0x2b058f53 */
   4438 L_2B058F51:
   4439     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4440     edi = 0; /* 0x2B058F51: xor edi, edi */
   4441     _cf = 0;
   4442     _flag_k = FK_TEST;
   4443 L_2B058F53:
   4444     PUSH32(esp, 0x00FFFF33u); /* 0x2B058F53: push 0xffff33 */
   4445     ecx = edi; /* 0x2B058F58: mov ecx, edi */
   4446     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B058F5A: mov byte ptr [ebp - 4], 0 */
   4447     MEM32(esi + 0x54) = edi; /* 0x2B058F5E: mov dword ptr [esi + 0x54], edi */
   4448     RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B058F61: call dword ptr [0x2b0b5858] */
   4449     RECOMP_FLAGS_IN();
   4450     PUSH32(esp, 0x1Cu); /* 0x2B058F67: push 0x1c */
   4451     RECOMP_ICALL(0x2B0AB212u); /* 0x2B058F69: call 0x2b0ab212 */ /* not lifted */
   4452     RECOMP_FLAGS_IN();
   4453     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4454     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4455     esp = esp + 4; /* 0x2B058F6E: add esp, 4 */
   4456     _flag_k = FK_ADD;
   4457     MEM32(ebp + (-0x14)) = eax; /* 0x2B058F71: mov dword ptr [ebp - 0x14], eax */
   4458     /* test eax, eax */ /* 0x2B058F74: test eax, eax */
   4459     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4460     _cf = 0;
   4461     _flag_k = FK_TEST;
   4462     MEM8(ebp + (-0x4)) = (uint8_t)(0xDu); /* 0x2B058F76: mov byte ptr [ebp - 4], 0xd */
   4463     if (TEST_Z(_flag_a, _flag_b)) goto L_2B058F98; /* 0x2B058F7A: je 0x2b058f98 */
   4464 L_2B058F7C:
   4465     ecx = MEM32(0x2B0EE9DC); /* 0x2B058F7C: mov ecx, dword ptr [0x2b0ee9dc] */
   4466     PUSH32(esp, ecx); /* 0x2B058F82: push ecx */
   4467     PUSH32(esp, 1); /* 0x2B058F83: push 1 */
   4468     PUSH32(esp, 0x2B0E1C5Cu); /* 0x2B058F85: push 0x2b0e1c5c */
   4469     PUSH32(esp, 0x2B0E1C78u); /* 0x2B058F8A: push 0x2b0e1c78 */
   4470     ecx = eax; /* 0x2B058F8F: mov ecx, eax */
   4471     RECOMP_ICALL(0x2B05F070u); /* 0x2B058F91: call 0x2b05f070 */ /* not lifted */
   4472     RECOMP_FLAGS_IN();
   4473     goto L_2B058F9A; /* 0x2B058F96: jmp 0x2b058f9a */
   4474 L_2B058F98:
   4475     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4476     eax = 0; /* 0x2B058F98: xor eax, eax */
   4477     _cf = 0;
   4478     _flag_k = FK_TEST;
   4479 L_2B058F9A:
   4480     PUSH32(esp, 0x1Cu); /* 0x2B058F9A: push 0x1c */
   4481     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B058F9C: mov byte ptr [ebp - 4], 0 */
   4482     MEM32(esi + 0x58) = eax; /* 0x2B058FA0: mov dword ptr [esi + 0x58], eax */
   4483     RECOMP_ICALL(0x2B0AB212u); /* 0x2B058FA3: call 0x2b0ab212 */ /* not lifted */
   4484     RECOMP_FLAGS_IN();
   4485     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4486     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4487     esp = esp + 4; /* 0x2B058FA8: add esp, 4 */
   4488     _flag_k = FK_ADD;
   4489     MEM32(ebp + (-0x14)) = eax; /* 0x2B058FAB: mov dword ptr [ebp - 0x14], eax */
   4490     /* test eax, eax */ /* 0x2B058FAE: test eax, eax */
   4491     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4492     _cf = 0;
   4493     _flag_k = FK_TEST;
   4494     MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x2B058FB0: mov byte ptr [ebp - 4], 0xe */
   4495     if (TEST_Z(_flag_a, _flag_b)) goto L_2B058FD2; /* 0x2B058FB4: je 0x2b058fd2 */
   4496 L_2B058FB6:
   4497     edx = MEM32(0x2B0EE9DC); /* 0x2B058FB6: mov edx, dword ptr [0x2b0ee9dc] */
   4498     PUSH32(esp, edx); /* 0x2B058FBC: push edx */
   4499     PUSH32(esp, 1); /* 0x2B058FBD: push 1 */
   4500     PUSH32(esp, 0x2B0E1C08u); /* 0x2B058FBF: push 0x2b0e1c08 */
   4501     PUSH32(esp, 0x2B0E8824u); /* 0x2B058FC4: push 0x2b0e8824 */
   4502     ecx = eax; /* 0x2B058FC9: mov ecx, eax */
   4503     RECOMP_ICALL(0x2B05F070u); /* 0x2B058FCB: call 0x2b05f070 */ /* not lifted */
   4504     RECOMP_FLAGS_IN();
   4505     goto L_2B058FD4; /* 0x2B058FD0: jmp 0x2b058fd4 */
   4506 L_2B058FD2:
   4507     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4508     eax = 0; /* 0x2B058FD2: xor eax, eax */
   4509     _cf = 0;
   4510     _flag_k = FK_TEST;
   4511 L_2B058FD4:
   4512     PUSH32(esp, 0x1Cu); /* 0x2B058FD4: push 0x1c */
   4513     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B058FD6: mov byte ptr [ebp - 4], 0 */
   4514     MEM32(esi + 0x5C) = eax; /* 0x2B058FDA: mov dword ptr [esi + 0x5c], eax */
   4515     RECOMP_ICALL(0x2B0AB212u); /* 0x2B058FDD: call 0x2b0ab212 */ /* not lifted */
   4516     RECOMP_FLAGS_IN();
   4517     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4518     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4519     esp = esp + 4; /* 0x2B058FE2: add esp, 4 */
   4520     _flag_k = FK_ADD;
   4521     MEM32(ebp + (-0x14)) = eax; /* 0x2B058FE5: mov dword ptr [ebp - 0x14], eax */
   4522     /* test eax, eax */ /* 0x2B058FE8: test eax, eax */
   4523     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4524     _cf = 0;
   4525     _flag_k = FK_TEST;
   4526     MEM8(ebp + (-0x4)) = (uint8_t)(0xFu); /* 0x2B058FEA: mov byte ptr [ebp - 4], 0xf */
   4527     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05900C; /* 0x2B058FEE: je 0x2b05900c */
   4528 L_2B058FF0:
   4529     ecx = MEM32(0x2B0EE9DC); /* 0x2B058FF0: mov ecx, dword ptr [0x2b0ee9dc] */
   4530     PUSH32(esp, ecx); /* 0x2B058FF6: push ecx */
   4531     PUSH32(esp, 1); /* 0x2B058FF7: push 1 */
   4532     PUSH32(esp, 0x2B0E1C20u); /* 0x2B058FF9: push 0x2b0e1c20 */
   4533     PUSH32(esp, 0x2B0E8814u); /* 0x2B058FFE: push 0x2b0e8814 */
   4534     ecx = eax; /* 0x2B059003: mov ecx, eax */
   4535     RECOMP_ICALL(0x2B05F070u); /* 0x2B059005: call 0x2b05f070 */ /* not lifted */
   4536     RECOMP_FLAGS_IN();
   4537     goto L_2B05900E; /* 0x2B05900A: jmp 0x2b05900e */
   4538 L_2B05900C:
   4539     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4540     eax = 0; /* 0x2B05900C: xor eax, eax */
   4541     _cf = 0;
   4542     _flag_k = FK_TEST;
   4543 L_2B05900E:
   4544     PUSH32(esp, 0x1Cu); /* 0x2B05900E: push 0x1c */
   4545     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B059010: mov byte ptr [ebp - 4], 0 */
   4546     MEM32(esi + 0x60) = eax; /* 0x2B059014: mov dword ptr [esi + 0x60], eax */
   4547     RECOMP_ICALL(0x2B0AB212u); /* 0x2B059017: call 0x2b0ab212 */ /* not lifted */
   4548     RECOMP_FLAGS_IN();
   4549     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4550     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4551     esp = esp + 4; /* 0x2B05901C: add esp, 4 */
   4552     _flag_k = FK_ADD;
   4553     MEM32(ebp + (-0x14)) = eax; /* 0x2B05901F: mov dword ptr [ebp - 0x14], eax */
   4554     /* test eax, eax */ /* 0x2B059022: test eax, eax */
   4555     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   4556     _cf = 0;
   4557     _flag_k = FK_TEST;
   4558     MEM8(ebp + (-0x4)) = (uint8_t)(0x10u); /* 0x2B059024: mov byte ptr [ebp - 4], 0x10 */
   4559     if (TEST_Z(_flag_a, _flag_b)) goto L_2B059046; /* 0x2B059028: je 0x2b059046 */
   4560 L_2B05902A:
   4561     edx = MEM32(0x2B0EE9DC); /* 0x2B05902A: mov edx, dword ptr [0x2b0ee9dc] */
   4562     PUSH32(esp, edx); /* 0x2B059030: push edx */
   4563     PUSH32(esp, 1); /* 0x2B059031: push 1 */
   4564     PUSH32(esp, 0x2B0E1B70u); /* 0x2B059033: push 0x2b0e1b70 */
   4565     PUSH32(esp, 0x2B0E8804u); /* 0x2B059038: push 0x2b0e8804 */
   4566     ecx = eax; /* 0x2B05903D: mov ecx, eax */
   4567     RECOMP_ICALL(0x2B05F070u); /* 0x2B05903F: call 0x2b05f070 */ /* not lifted */
   4568     RECOMP_FLAGS_IN();
   4569     goto L_2B059048; /* 0x2B059044: jmp 0x2b059048 */
   4570 L_2B059046:
   4571     _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0);
   4572     eax = 0; /* 0x2B059046: xor eax, eax */
   4573     _cf = 0;
   4574     _flag_k = FK_TEST;
   4575 L_2B059048:
   4576     edi = MEM32(0x2B0B6050); /* 0x2B059048: mov edi, dword ptr [0x2b0b6050] */
   4577     PUSH32(esp, 1); /* 0x2B05904E: push 1 */
   4578     PUSH32(esp, 0); /* 0x2B059050: push 0 */
   4579     PUSH32(esp, 3); /* 0x2B059052: push 3 */
   4580     MEM32(esi + 0x64) = eax; /* 0x2B059054: mov dword ptr [esi + 0x64], eax */
   4581     eax = MEM32(0x2B0B6048); /* 0x2B059057: mov eax, dword ptr [0x2b0b6048] */
   4582     ecx = MEM32(eax); /* 0x2B05905C: mov ecx, dword ptr [eax] */
   4583     PUSH32(esp, 0x2B0593C0u); /* 0x2B05905E: push 0x2b0593c0 */
   4584     PUSH32(esp, 0x2B0E4438u); /* 0x2B059063: push 0x2b0e4438 */
   4585     MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B059068: mov byte ptr [ebp - 4], 0 */
   4586     RECOMP_ICALL(edi); /* 0x2B05906C: call edi */
   4587     RECOMP_FLAGS_IN();
   4588     ecx = MEM32(0x2B0B6048); /* 0x2B05906E: mov ecx, dword ptr [0x2b0b6048] */
   4589     ecx = MEM32(ecx); /* 0x2B059074: mov ecx, dword ptr [ecx] */
   4590     PUSH32(esp, 1); /* 0x2B059076: push 1 */
   4591     PUSH32(esp, 1); /* 0x2B059078: push 1 */
   4592     PUSH32(esp, 4); /* 0x2B05907A: push 4 */
   4593     PUSH32(esp, 0x2B0593C0u); /* 0x2B05907C: push 0x2b0593c0 */
   4594     PUSH32(esp, 0x2B0E890Cu); /* 0x2B059081: push 0x2b0e890c */
   4595     RECOMP_ICALL(edi); /* 0x2B059086: call edi */
   4596     RECOMP_FLAGS_IN();
   4597     edx = MEM32(0x2B0B6048); /* 0x2B059088: mov edx, dword ptr [0x2b0b6048] */
   4598     ecx = MEM32(edx); /* 0x2B05908E: mov ecx, dword ptr [edx] */
   4599     PUSH32(esp, 1); /* 0x2B059090: push 1 */
   4600     PUSH32(esp, 1); /* 0x2B059092: push 1 */
   4601     PUSH32(esp, 7); /* 0x2B059094: push 7 */
   4602     PUSH32(esp, 0x2B0593C0u); /* 0x2B059096: push 0x2b0593c0 */
   4603     PUSH32(esp, 0x2B0E8888u); /* 0x2B05909B: push 0x2b0e8888 */
   4604     RECOMP_ICALL(edi); /* 0x2B0590A0: call edi */
   4605     RECOMP_FLAGS_IN();
   4606     eax = MEM32(0x2B0B6048); /* 0x2B0590A2: mov eax, dword ptr [0x2b0b6048] */
   4607     ecx = MEM32(eax); /* 0x2B0590A7: mov ecx, dword ptr [eax] */
   4608     PUSH32(esp, 1); /* 0x2B0590A9: push 1 */
   4609     PUSH32(esp, 1); /* 0x2B0590AB: push 1 */
   4610     PUSH32(esp, 5); /* 0x2B0590AD: push 5 */
   4611     PUSH32(esp, 0x2B0593C0u); /* 0x2B0590AF: push 0x2b0593c0 */
   4612     PUSH32(esp, 0x2B0E6D4Cu); /* 0x2B0590B4: push 0x2b0e6d4c */
   4613     RECOMP_ICALL(edi); /* 0x2B0590B9: call edi */
   4614     RECOMP_FLAGS_IN();
   4615     ecx = MEM32(0x2B0B6048); /* 0x2B0590BB: mov ecx, dword ptr [0x2b0b6048] */
   4616     ecx = MEM32(ecx); /* 0x2B0590C1: mov ecx, dword ptr [ecx] */
   4617     PUSH32(esp, 1); /* 0x2B0590C3: push 1 */
   4618     PUSH32(esp, 0x2B0E890Cu); /* 0x2B0590C5: push 0x2b0e890c */
   4619     RECOMP_ICALL(ebx); /* 0x2B0590CA: call ebx */
   4620     RECOMP_FLAGS_IN();
   4621     PUSH32(esp, eax); /* 0x2B0590CC: push eax */
   4622     PUSH32(esp, 4); /* 0x2B0590CD: push 4 */
   4623     RECOMP_ICALL(0x2B0593C0u); /* 0x2B0590CF: call 0x2b0593c0 */ /* not lifted */
   4624     RECOMP_FLAGS_IN();
   4625     edx = MEM32(0x2B0B6048); /* 0x2B0590D4: mov edx, dword ptr [0x2b0b6048] */
   4626     ecx = MEM32(edx); /* 0x2B0590DA: mov ecx, dword ptr [edx] */
   4627     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4628     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4629     esp = esp + 8; /* 0x2B0590DC: add esp, 8 */
   4630     _flag_k = FK_ADD;
   4631     PUSH32(esp, 0); /* 0x2B0590DF: push 0 */
   4632     PUSH32(esp, 0x2B0E4438u); /* 0x2B0590E1: push 0x2b0e4438 */
   4633     RECOMP_ICALL(ebx); /* 0x2B0590E6: call ebx */
   4634     RECOMP_FLAGS_IN();
   4635     PUSH32(esp, eax); /* 0x2B0590E8: push eax */
   4636     PUSH32(esp, 3); /* 0x2B0590E9: push 3 */
   4637     RECOMP_ICALL(0x2B0593C0u); /* 0x2B0590EB: call 0x2b0593c0 */ /* not lifted */
   4638     RECOMP_FLAGS_IN();
   4639     eax = MEM32(0x2B0B6048); /* 0x2B0590F0: mov eax, dword ptr [0x2b0b6048] */
   4640     ecx = MEM32(eax); /* 0x2B0590F5: mov ecx, dword ptr [eax] */
   4641     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4642     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4643     esp = esp + 8; /* 0x2B0590F7: add esp, 8 */
   4644     _flag_k = FK_ADD;
   4645     PUSH32(esp, 1); /* 0x2B0590FA: push 1 */
   4646     PUSH32(esp, 0x2B0E6D4Cu); /* 0x2B0590FC: push 0x2b0e6d4c */
   4647     RECOMP_ICALL(ebx); /* 0x2B059101: call ebx */
   4648     RECOMP_FLAGS_IN();
   4649     PUSH32(esp, eax); /* 0x2B059103: push eax */
   4650     PUSH32(esp, 5); /* 0x2B059104: push 5 */
   4651     RECOMP_ICALL(0x2B0593C0u); /* 0x2B059106: call 0x2b0593c0 */ /* not lifted */
   4652     RECOMP_FLAGS_IN();
   4653     ecx = MEM32(0x2B0B6048); /* 0x2B05910B: mov ecx, dword ptr [0x2b0b6048] */
   4654     ecx = MEM32(ecx); /* 0x2B059111: mov ecx, dword ptr [ecx] */
   4655     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4656     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4657     esp = esp + 8; /* 0x2B059113: add esp, 8 */
   4658     _flag_k = FK_ADD;
   4659     PUSH32(esp, 1); /* 0x2B059116: push 1 */
   4660     PUSH32(esp, 0x2B0E8888u); /* 0x2B059118: push 0x2b0e8888 */
   4661     RECOMP_ICALL(ebx); /* 0x2B05911D: call ebx */
   4662     RECOMP_FLAGS_IN();
   4663     PUSH32(esp, eax); /* 0x2B05911F: push eax */
   4664     PUSH32(esp, 7); /* 0x2B059120: push 7 */
   4665     RECOMP_ICALL(0x2B0593C0u); /* 0x2B059122: call 0x2b0593c0 */ /* not lifted */
   4666     RECOMP_FLAGS_IN();
   4667     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   4668     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4669     esp = esp + 8; /* 0x2B059127: add esp, 8 */
   4670     _flag_k = FK_ADD;
   4671     ecx = esi; /* 0x2B05912A: mov ecx, esi */
   4672     RECOMP_ICALL(0x2B0596A0u); /* 0x2B05912C: call 0x2b0596a0 */ /* not lifted */
   4673     RECOMP_FLAGS_IN();
   4674     ecx = esi; /* 0x2B059131: mov ecx, esi */
   4675     RECOMP_ICALL(0x2B059880u); /* 0x2B059133: call 0x2b059880 */ /* not lifted */
   4676     RECOMP_FLAGS_IN();
   4677     PUSH32(esp, 0x2B0E87FCu); /* 0x2B059138: push 0x2b0e87fc */
   4678     PUSH32(esp, 0); /* 0x2B05913D: push 0 */
   4679     ecx = esi; /* 0x2B05913F: mov ecx, esi */
   4680     RECOMP_ICALL(0x2B03A2D0u); /* 0x2B059141: call 0x2b03a2d0 */ /* not lifted */
   4681     RECOMP_FLAGS_IN();
   4682     PUSH32(esp, 1); /* 0x2B059146: push 1 */
   4683     ecx = esi; /* 0x2B059148: mov ecx, esi */
   4684     RECOMP_ICALL(0x2B03A350u); /* 0x2B05914A: call 0x2b03a350 */ /* not lifted */
   4685     RECOMP_FLAGS_IN();
   4686     ecx = MEM32(ebp + (-0xC)); /* 0x2B05914F: mov ecx, dword ptr [ebp - 0xc] */
   4687     edi = POP32_VAL(esp); /* 0x2B059152: pop edi */
   4688     MEM32(0x2B0EEBB0) = esi; /* 0x2B059153: mov dword ptr [0x2b0eebb0], esi */
   4689     eax = esi; /* 0x2B059159: mov eax, esi */
   4690     esi = POP32_VAL(esp); /* 0x2B05915B: pop esi */
   4691     ebx = POP32_VAL(esp); /* 0x2B05915C: pop ebx */
   4692     MEM32(FS_BASE + (0)) = ecx; /* 0x2B05915D: mov dword ptr fs:[0], ecx */
   4693     esp = ebp; /* 0x2B059164: mov esp, ebp */
   4694     ebp = POP32_VAL(esp); /* 0x2B059166: pop ebp */
   4695     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B059167: ret  */
   4696     RECOMP_REGS_OUT();
   4697 }
   4698 
   4699 void sub_2B059170(void) {
   4700     int _fpu_cmp = 0;
   4701     uint32_t _cf = 0;
   4702     int _df = 1;
   4703     uint32_t _flag_k = FK_NONE;
   4704     uint32_t _flag_a = 0, _flag_b = 0;
   4705     uint32_t _itail_tgt = 0;
   4706     RECOMP_REGS_LOCALS
   4707     RECOMP_ENTER(0x2B059170u);
   4708 
   4709 L_2B059170:
   4710     PUSH32(esp, ebp); /* 0x2B059170: push ebp */
   4711     ebp = esp; /* 0x2B059171: mov ebp, esp */
   4712     PUSH32(esp, esi); /* 0x2B059173: push esi */
   4713     esi = ecx; /* 0x2B059174: mov esi, ecx */
   4714     RECOMP_ICALL(0x2B0591A0u); /* 0x2B059176: call 0x2b0591a0 */ /* not lifted */
   4715     RECOMP_FLAGS_IN();
   4716     /* test MEM8(ebp + 0x8), 1 */ /* 0x2B05917B: test byte ptr [ebp + 8], 1 */
   4717     _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24;
   4718     _cf = 0;
   4719     _flag_k = FK_NARROW(FK_TEST, 24);
   4720     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05918A; /* 0x2B05917F: je 0x2b05918a */
   4721 L_2B059181:
   4722     PUSH32(esp, esi); /* 0x2B059181: push esi */
   4723     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B059182: call 0x2b0ab1ba */ /* not lifted */
   4724     RECOMP_FLAGS_IN();
   4725     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4726     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4727     esp = esp + 4; /* 0x2B059187: add esp, 4 */
   4728     _flag_k = FK_ADD;
   4729 L_2B05918A:
   4730     eax = esi; /* 0x2B05918A: mov eax, esi */
   4731     esi = POP32_VAL(esp); /* 0x2B05918C: pop esi */
   4732     ebp = POP32_VAL(esp); /* 0x2B05918D: pop ebp */
   4733     RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B05918E: ret 4 */
   4734     RECOMP_REGS_OUT();
   4735 }
   4736 
   4737 void sub_2B0591A0(void) {
   4738     int _fpu_cmp = 0;
   4739     uint32_t _cf = 0;
   4740     int _df = 1;
   4741     uint32_t _flag_k = FK_NONE;
   4742     uint32_t _flag_a = 0, _flag_b = 0;
   4743     uint32_t _itail_tgt = 0;
   4744     RECOMP_REGS_LOCALS
   4745     RECOMP_ENTER(0x2B0591A0u);
   4746 
   4747 L_2B0591A0:
   4748     PUSH32(esp, ebp); /* 0x2B0591A0: push ebp */
   4749     ebp = esp; /* 0x2B0591A1: mov ebp, esp */
   4750     PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0591A3: push -1 */
   4751     PUSH32(esp, 0x2B0AFFD8u); /* 0x2B0591A5: push 0x2b0affd8 */
   4752     eax = MEM32(FS_BASE + (0)); /* 0x2B0591AA: mov eax, dword ptr fs:[0] */
   4753     PUSH32(esp, eax); /* 0x2B0591B0: push eax */
   4754     MEM32(FS_BASE + (0)) = esp; /* 0x2B0591B1: mov dword ptr fs:[0], esp */
   4755     PUSH32(esp, ecx); /* 0x2B0591B8: push ecx */
   4756     PUSH32(esp, esi); /* 0x2B0591B9: push esi */
   4757     esi = ecx; /* 0x2B0591BA: mov esi, ecx */
   4758     PUSH32(esp, edi); /* 0x2B0591BC: push edi */
   4759     MEM32(ebp + (-0x10)) = esi; /* 0x2B0591BD: mov dword ptr [ebp - 0x10], esi */
   4760     MEM32(esi) = 0x2B0B6BD0u; /* 0x2B0591C0: mov dword ptr [esi], 0x2b0b6bd0 */
   4761     eax = MEM32(0x2B0B6048); /* 0x2B0591C6: mov eax, dword ptr [0x2b0b6048] */
   4762     ecx = MEM32(eax); /* 0x2B0591CB: mov ecx, dword ptr [eax] */
   4763     edi = MEM32(0x2B0B6054); /* 0x2B0591CD: mov edi, dword ptr [0x2b0b6054] */
   4764     PUSH32(esp, 0); /* 0x2B0591D3: push 0 */
   4765     PUSH32(esp, 3); /* 0x2B0591D5: push 3 */
   4766     PUSH32(esp, 0x2B0593C0u); /* 0x2B0591D7: push 0x2b0593c0 */
   4767     PUSH32(esp, 0x2B0E4438u); /* 0x2B0591DC: push 0x2b0e4438 */
   4768     MEM32(ebp + (-0x4)) = 0; /* 0x2B0591E1: mov dword ptr [ebp - 4], 0 */
   4769     RECOMP_ICALL(edi); /* 0x2B0591E8: call edi */
   4770     RECOMP_FLAGS_IN();
   4771     ecx = MEM32(0x2B0B6048); /* 0x2B0591EA: mov ecx, dword ptr [0x2b0b6048] */
   4772     ecx = MEM32(ecx); /* 0x2B0591F0: mov ecx, dword ptr [ecx] */
   4773     PUSH32(esp, 1); /* 0x2B0591F2: push 1 */
   4774     PUSH32(esp, 4); /* 0x2B0591F4: push 4 */
   4775     PUSH32(esp, 0x2B0593C0u); /* 0x2B0591F6: push 0x2b0593c0 */
   4776     PUSH32(esp, 0x2B0E890Cu); /* 0x2B0591FB: push 0x2b0e890c */
   4777     RECOMP_ICALL(edi); /* 0x2B059200: call edi */
   4778     RECOMP_FLAGS_IN();
   4779     edx = MEM32(0x2B0B6048); /* 0x2B059202: mov edx, dword ptr [0x2b0b6048] */
   4780     ecx = MEM32(edx); /* 0x2B059208: mov ecx, dword ptr [edx] */
   4781     PUSH32(esp, 1); /* 0x2B05920A: push 1 */
   4782     PUSH32(esp, 5); /* 0x2B05920C: push 5 */
   4783     PUSH32(esp, 0x2B0593C0u); /* 0x2B05920E: push 0x2b0593c0 */
   4784     PUSH32(esp, 0x2B0E6D4Cu); /* 0x2B059213: push 0x2b0e6d4c */
   4785     RECOMP_ICALL(edi); /* 0x2B059218: call edi */
   4786     RECOMP_FLAGS_IN();
   4787     eax = MEM32(0x2B0B6048); /* 0x2B05921A: mov eax, dword ptr [0x2b0b6048] */
   4788     ecx = MEM32(eax); /* 0x2B05921F: mov ecx, dword ptr [eax] */
   4789     PUSH32(esp, 1); /* 0x2B059221: push 1 */
   4790     PUSH32(esp, 7); /* 0x2B059223: push 7 */
   4791     PUSH32(esp, 0x2B0593C0u); /* 0x2B059225: push 0x2b0593c0 */
   4792     PUSH32(esp, 0x2B0E8888u); /* 0x2B05922A: push 0x2b0e8888 */
   4793     RECOMP_ICALL(edi); /* 0x2B05922F: call edi */
   4794     RECOMP_FLAGS_IN();
   4795     ecx = MEM32(esi + 0x28); /* 0x2B059231: mov ecx, dword ptr [esi + 0x28] */
   4796     /* test ecx, ecx */ /* 0x2B059234: test ecx, ecx */
   4797     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx);
   4798     _cf = 0;
   4799     _flag_k = FK_TEST;
   4800     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05923E; /* 0x2B059236: je 0x2b05923e */
   4801 L_2B059238:
   4802     edx = MEM32(ecx); /* 0x2B059238: mov edx, dword ptr [ecx] */
   4803     PUSH32(esp, 1); /* 0x2B05923A: push 1 */
   4804     RECOMP_ICALL(MEM32(edx)); /* 0x2B05923C: call dword ptr [edx] */
   4805     RECOMP_FLAGS_IN();
   4806 L_2B05923E:
   4807     edi = MEM32(esi + 0x2C); /* 0x2B05923E: mov edi, dword ptr [esi + 0x2c] */
   4808     /* test edi, edi */ /* 0x2B059241: test edi, edi */
   4809     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   4810     _cf = 0;
   4811     _flag_k = FK_TEST;
   4812     if (TEST_Z(_flag_a, _flag_b)) goto L_2B059255; /* 0x2B059243: je 0x2b059255 */
   4813 L_2B059245:
   4814     ecx = edi; /* 0x2B059245: mov ecx, edi */
   4815     RECOMP_ICALL(0x2B05F200u); /* 0x2B059247: call 0x2b05f200 */ /* not lifted */
   4816     RECOMP_FLAGS_IN();
   4817     PUSH32(esp, edi); /* 0x2B05924C: push edi */
   4818     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05924D: call 0x2b0ab1ba */ /* not lifted */
   4819     RECOMP_FLAGS_IN();
   4820     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4821     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4822     esp = esp + 4; /* 0x2B059252: add esp, 4 */
   4823     _flag_k = FK_ADD;
   4824 L_2B059255:
   4825     edi = MEM32(esi + 0x30); /* 0x2B059255: mov edi, dword ptr [esi + 0x30] */
   4826     /* test edi, edi */ /* 0x2B059258: test edi, edi */
   4827     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   4828     _cf = 0;
   4829     _flag_k = FK_TEST;
   4830     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05926C; /* 0x2B05925A: je 0x2b05926c */
   4831 L_2B05925C:
   4832     ecx = edi; /* 0x2B05925C: mov ecx, edi */
   4833     RECOMP_ICALL(0x2B05F670u); /* 0x2B05925E: call 0x2b05f670 */ /* not lifted */
   4834     RECOMP_FLAGS_IN();
   4835     PUSH32(esp, edi); /* 0x2B059263: push edi */
   4836     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B059264: call 0x2b0ab1ba */ /* not lifted */
   4837     RECOMP_FLAGS_IN();
   4838     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4839     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4840     esp = esp + 4; /* 0x2B059269: add esp, 4 */
   4841     _flag_k = FK_ADD;
   4842 L_2B05926C:
   4843     edi = MEM32(esi + 0x34); /* 0x2B05926C: mov edi, dword ptr [esi + 0x34] */
   4844     /* test edi, edi */ /* 0x2B05926F: test edi, edi */
   4845     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   4846     _cf = 0;
   4847     _flag_k = FK_TEST;
   4848     if (TEST_Z(_flag_a, _flag_b)) goto L_2B059283; /* 0x2B059271: je 0x2b059283 */
   4849 L_2B059273:
   4850     ecx = edi; /* 0x2B059273: mov ecx, edi */
   4851     RECOMP_ICALL(0x2B05F200u); /* 0x2B059275: call 0x2b05f200 */ /* not lifted */
   4852     RECOMP_FLAGS_IN();
   4853     PUSH32(esp, edi); /* 0x2B05927A: push edi */
   4854     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05927B: call 0x2b0ab1ba */ /* not lifted */
   4855     RECOMP_FLAGS_IN();
   4856     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4857     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4858     esp = esp + 4; /* 0x2B059280: add esp, 4 */
   4859     _flag_k = FK_ADD;
   4860 L_2B059283:
   4861     edi = MEM32(esi + 0x38); /* 0x2B059283: mov edi, dword ptr [esi + 0x38] */
   4862     /* test edi, edi */ /* 0x2B059286: test edi, edi */
   4863     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   4864     _cf = 0;
   4865     _flag_k = FK_TEST;
   4866     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05929A; /* 0x2B059288: je 0x2b05929a */
   4867 L_2B05928A:
   4868     ecx = edi; /* 0x2B05928A: mov ecx, edi */
   4869     RECOMP_ICALL(0x2B05F670u); /* 0x2B05928C: call 0x2b05f670 */ /* not lifted */
   4870     RECOMP_FLAGS_IN();
   4871     PUSH32(esp, edi); /* 0x2B059291: push edi */
   4872     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B059292: call 0x2b0ab1ba */ /* not lifted */
   4873     RECOMP_FLAGS_IN();
   4874     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4875     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4876     esp = esp + 4; /* 0x2B059297: add esp, 4 */
   4877     _flag_k = FK_ADD;
   4878 L_2B05929A:
   4879     edi = MEM32(esi + 0x3C); /* 0x2B05929A: mov edi, dword ptr [esi + 0x3c] */
   4880     /* test edi, edi */ /* 0x2B05929D: test edi, edi */
   4881     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   4882     _cf = 0;
   4883     _flag_k = FK_TEST;
   4884     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0592B1; /* 0x2B05929F: je 0x2b0592b1 */
   4885 L_2B0592A1:
   4886     ecx = edi; /* 0x2B0592A1: mov ecx, edi */
   4887     RECOMP_ICALL(0x2B05F200u); /* 0x2B0592A3: call 0x2b05f200 */ /* not lifted */
   4888     RECOMP_FLAGS_IN();
   4889     PUSH32(esp, edi); /* 0x2B0592A8: push edi */
   4890     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0592A9: call 0x2b0ab1ba */ /* not lifted */
   4891     RECOMP_FLAGS_IN();
   4892     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4893     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4894     esp = esp + 4; /* 0x2B0592AE: add esp, 4 */
   4895     _flag_k = FK_ADD;
   4896 L_2B0592B1:
   4897     edi = MEM32(esi + 0x40); /* 0x2B0592B1: mov edi, dword ptr [esi + 0x40] */
   4898     /* test edi, edi */ /* 0x2B0592B4: test edi, edi */
   4899     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   4900     _cf = 0;
   4901     _flag_k = FK_TEST;
   4902     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0592C8; /* 0x2B0592B6: je 0x2b0592c8 */
   4903 L_2B0592B8:
   4904     ecx = edi; /* 0x2B0592B8: mov ecx, edi */
   4905     RECOMP_ICALL(0x2B05F670u); /* 0x2B0592BA: call 0x2b05f670 */ /* not lifted */
   4906     RECOMP_FLAGS_IN();
   4907     PUSH32(esp, edi); /* 0x2B0592BF: push edi */
   4908     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0592C0: call 0x2b0ab1ba */ /* not lifted */
   4909     RECOMP_FLAGS_IN();
   4910     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4911     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4912     esp = esp + 4; /* 0x2B0592C5: add esp, 4 */
   4913     _flag_k = FK_ADD;
   4914 L_2B0592C8:
   4915     edi = MEM32(esi + 0x44); /* 0x2B0592C8: mov edi, dword ptr [esi + 0x44] */
   4916     /* test edi, edi */ /* 0x2B0592CB: test edi, edi */
   4917     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   4918     _cf = 0;
   4919     _flag_k = FK_TEST;
   4920     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0592DF; /* 0x2B0592CD: je 0x2b0592df */
   4921 L_2B0592CF:
   4922     ecx = edi; /* 0x2B0592CF: mov ecx, edi */
   4923     RECOMP_ICALL(0x2B05F670u); /* 0x2B0592D1: call 0x2b05f670 */ /* not lifted */
   4924     RECOMP_FLAGS_IN();
   4925     PUSH32(esp, edi); /* 0x2B0592D6: push edi */
   4926     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0592D7: call 0x2b0ab1ba */ /* not lifted */
   4927     RECOMP_FLAGS_IN();
   4928     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4929     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4930     esp = esp + 4; /* 0x2B0592DC: add esp, 4 */
   4931     _flag_k = FK_ADD;
   4932 L_2B0592DF:
   4933     edi = MEM32(esi + 0x48); /* 0x2B0592DF: mov edi, dword ptr [esi + 0x48] */
   4934     /* test edi, edi */ /* 0x2B0592E2: test edi, edi */
   4935     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   4936     _cf = 0;
   4937     _flag_k = FK_TEST;
   4938     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0592F6; /* 0x2B0592E4: je 0x2b0592f6 */
   4939 L_2B0592E6:
   4940     ecx = edi; /* 0x2B0592E6: mov ecx, edi */
   4941     RECOMP_ICALL(0x2B05F200u); /* 0x2B0592E8: call 0x2b05f200 */ /* not lifted */
   4942     RECOMP_FLAGS_IN();
   4943     PUSH32(esp, edi); /* 0x2B0592ED: push edi */
   4944     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0592EE: call 0x2b0ab1ba */ /* not lifted */
   4945     RECOMP_FLAGS_IN();
   4946     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   4947     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   4948     esp = esp + 4; /* 0x2B0592F3: add esp, 4 */
   4949     _flag_k = FK_ADD;
   4950 L_2B0592F6:
   4951     edi = MEM32(esi + 0x4C); /* 0x2B0592F6: mov edi, dword ptr [esi + 0x4c] */
   4952     /* test edi, edi */ /* 0x2B0592F9: test edi, edi */
   4953     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   4954     _cf = 0;
   4955     _flag_k = FK_TEST;
   4956     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05930D; /* 0x2B0592FB: je 0x2b05930d */
   4957 L_2B0592FD:
   4958     ecx = edi; /* 0x2B0592FD: mov ecx, edi */
   4959     RECOMP_ICALL(0x2B05F670u); /* 0x2B0592FF: call 0x2b05f670 */ /* not lifted */
   4960     RECOMP_FLAGS_IN();
   4961     PUSH32(esp, edi); /* 0x2B059304: push edi */
   4962     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B059305: 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; /* 0x2B05930A: add esp, 4 */
   4967     _flag_k = FK_ADD;
   4968 L_2B05930D:
   4969     edi = MEM32(esi + 0x50); /* 0x2B05930D: mov edi, dword ptr [esi + 0x50] */
   4970     /* test edi, edi */ /* 0x2B059310: 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_2B059324; /* 0x2B059312: je 0x2b059324 */
   4975 L_2B059314:
   4976     ecx = edi; /* 0x2B059314: mov ecx, edi */
   4977     RECOMP_ICALL(0x2B05F670u); /* 0x2B059316: call 0x2b05f670 */ /* not lifted */
   4978     RECOMP_FLAGS_IN();
   4979     PUSH32(esp, edi); /* 0x2B05931B: push edi */
   4980     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05931C: 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; /* 0x2B059321: add esp, 4 */
   4985     _flag_k = FK_ADD;
   4986 L_2B059324:
   4987     ecx = MEM32(esi + 0x54); /* 0x2B059324: mov ecx, dword ptr [esi + 0x54] */
   4988     /* test ecx, ecx */ /* 0x2B059327: 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_2B059331; /* 0x2B059329: je 0x2b059331 */
   4993 L_2B05932B:
   4994     eax = MEM32(ecx); /* 0x2B05932B: mov eax, dword ptr [ecx] */
   4995     PUSH32(esp, 1); /* 0x2B05932D: push 1 */
   4996     RECOMP_ICALL(MEM32(eax)); /* 0x2B05932F: call dword ptr [eax] */
   4997     RECOMP_FLAGS_IN();
   4998 L_2B059331:
   4999     edi = MEM32(esi + 0x58); /* 0x2B059331: mov edi, dword ptr [esi + 0x58] */
   5000     /* test edi, edi */ /* 0x2B059334: test edi, edi */
   5001     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   5002     _cf = 0;
   5003     _flag_k = FK_TEST;
   5004     if (TEST_Z(_flag_a, _flag_b)) goto L_2B059348; /* 0x2B059336: je 0x2b059348 */
   5005 L_2B059338:
   5006     ecx = edi; /* 0x2B059338: mov ecx, edi */
   5007     RECOMP_ICALL(0x2B05F200u); /* 0x2B05933A: call 0x2b05f200 */ /* not lifted */
   5008     RECOMP_FLAGS_IN();
   5009     PUSH32(esp, edi); /* 0x2B05933F: push edi */
   5010     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B059340: call 0x2b0ab1ba */ /* not lifted */
   5011     RECOMP_FLAGS_IN();
   5012     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5013     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5014     esp = esp + 4; /* 0x2B059345: add esp, 4 */
   5015     _flag_k = FK_ADD;
   5016 L_2B059348:
   5017     edi = MEM32(esi + 0x5C); /* 0x2B059348: mov edi, dword ptr [esi + 0x5c] */
   5018     /* test edi, edi */ /* 0x2B05934B: test edi, edi */
   5019     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   5020     _cf = 0;
   5021     _flag_k = FK_TEST;
   5022     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05935F; /* 0x2B05934D: je 0x2b05935f */
   5023 L_2B05934F:
   5024     ecx = edi; /* 0x2B05934F: mov ecx, edi */
   5025     RECOMP_ICALL(0x2B05F200u); /* 0x2B059351: call 0x2b05f200 */ /* not lifted */
   5026     RECOMP_FLAGS_IN();
   5027     PUSH32(esp, edi); /* 0x2B059356: push edi */
   5028     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B059357: call 0x2b0ab1ba */ /* not lifted */
   5029     RECOMP_FLAGS_IN();
   5030     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5031     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5032     esp = esp + 4; /* 0x2B05935C: add esp, 4 */
   5033     _flag_k = FK_ADD;
   5034 L_2B05935F:
   5035     edi = MEM32(esi + 0x60); /* 0x2B05935F: mov edi, dword ptr [esi + 0x60] */
   5036     /* test edi, edi */ /* 0x2B059362: test edi, edi */
   5037     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   5038     _cf = 0;
   5039     _flag_k = FK_TEST;
   5040     if (TEST_Z(_flag_a, _flag_b)) goto L_2B059376; /* 0x2B059364: je 0x2b059376 */
   5041 L_2B059366:
   5042     ecx = edi; /* 0x2B059366: mov ecx, edi */
   5043     RECOMP_ICALL(0x2B05F200u); /* 0x2B059368: call 0x2b05f200 */ /* not lifted */
   5044     RECOMP_FLAGS_IN();
   5045     PUSH32(esp, edi); /* 0x2B05936D: push edi */
   5046     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B05936E: call 0x2b0ab1ba */ /* not lifted */
   5047     RECOMP_FLAGS_IN();
   5048     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5049     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5050     esp = esp + 4; /* 0x2B059373: add esp, 4 */
   5051     _flag_k = FK_ADD;
   5052 L_2B059376:
   5053     edi = MEM32(esi + 0x64); /* 0x2B059376: mov edi, dword ptr [esi + 0x64] */
   5054     /* test edi, edi */ /* 0x2B059379: test edi, edi */
   5055     _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi);
   5056     _cf = 0;
   5057     _flag_k = FK_TEST;
   5058     if (TEST_Z(_flag_a, _flag_b)) goto L_2B05938D; /* 0x2B05937B: je 0x2b05938d */
   5059 L_2B05937D:
   5060     ecx = edi; /* 0x2B05937D: mov ecx, edi */
   5061     RECOMP_ICALL(0x2B05F200u); /* 0x2B05937F: call 0x2b05f200 */ /* not lifted */
   5062     RECOMP_FLAGS_IN();
   5063     PUSH32(esp, edi); /* 0x2B059384: push edi */
   5064     RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B059385: call 0x2b0ab1ba */ /* not lifted */
   5065     RECOMP_FLAGS_IN();
   5066     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5067     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5068     esp = esp + 4; /* 0x2B05938A: add esp, 4 */
   5069     _flag_k = FK_ADD;
   5070 L_2B05938D:
   5071     ecx = esi; /* 0x2B05938D: mov ecx, esi */
   5072     MEM32(0x2B0EEBB0) = 0; /* 0x2B05938F: mov dword ptr [0x2b0eebb0], 0 */
   5073     MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B059399: mov dword ptr [ebp - 4], 0xffffffff */
   5074     RECOMP_ICALL(0x2B03A290u); /* 0x2B0593A0: call 0x2b03a290 */ /* not lifted */
   5075     RECOMP_FLAGS_IN();
   5076     ecx = MEM32(ebp + (-0xC)); /* 0x2B0593A5: mov ecx, dword ptr [ebp - 0xc] */
   5077     edi = POP32_VAL(esp); /* 0x2B0593A8: pop edi */
   5078     esi = POP32_VAL(esp); /* 0x2B0593A9: pop esi */
   5079     MEM32(FS_BASE + (0)) = ecx; /* 0x2B0593AA: mov dword ptr fs:[0], ecx */
   5080     esp = ebp; /* 0x2B0593B1: mov esp, ebp */
   5081     ebp = POP32_VAL(esp); /* 0x2B0593B3: pop ebp */
   5082     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0593B4: ret  */
   5083     RECOMP_REGS_OUT();
   5084 }
   5085 
   5086 void sub_2B0593C0(void) {
   5087     int _fpu_cmp = 0;
   5088     uint32_t _cf = 0;
   5089     int _df = 1;
   5090     uint32_t _flag_k = FK_NONE;
   5091     uint32_t _flag_a = 0, _flag_b = 0;
   5092     uint32_t _itail_tgt = 0;
   5093     RECOMP_REGS_LOCALS
   5094     RECOMP_ENTER(0x2B0593C0u);
   5095 
   5096 L_2B0593C0:
   5097     PUSH32(esp, ebp); /* 0x2B0593C0: push ebp */
   5098     ebp = esp; /* 0x2B0593C1: mov ebp, esp */
   5099     eax = MEM32(ebp + 0x8); /* 0x2B0593C3: mov eax, dword ptr [ebp + 8] */
   5100     /* cmp eax, 3 */ /* 0x2B0593C6: cmp eax, 3 */
   5101     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3);
   5102     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5103     _flag_k = FK_CMP;
   5104     if (CMP_NE(_flag_a, _flag_b)) goto L_2B0593E2; /* 0x2B0593C9: jne 0x2b0593e2 */
   5105 L_2B0593CB:
   5106     eax = MEM32(ebp + 0xC); /* 0x2B0593CB: mov eax, dword ptr [ebp + 0xc] */
   5107     /* test eax, eax */ /* 0x2B0593CE: test eax, eax */
   5108     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5109     _cf = 0;
   5110     _flag_k = FK_TEST;
   5111     if (TEST_Z(_flag_a, _flag_b)) goto L_2B0593DA; /* 0x2B0593D0: je 0x2b0593da */
   5112 L_2B0593D2:
   5113     RECOMP_ICALL(MEM32(0x2B0B60B0)); /* 0x2B0593D2: call dword ptr [0x2b0b60b0] */
   5114     RECOMP_FLAGS_IN();
   5115     ebp = POP32_VAL(esp); /* 0x2B0593D8: pop ebp */
   5116     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0593D9: ret  */
   5117 L_2B0593DA:
   5118     RECOMP_ICALL(MEM32(0x2B0B6084)); /* 0x2B0593DA: call dword ptr [0x2b0b6084] */
   5119     RECOMP_FLAGS_IN();
   5120     ebp = POP32_VAL(esp); /* 0x2B0593E0: pop ebp */
   5121     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0593E1: ret  */
   5122 L_2B0593E2:
   5123     /* cmp eax, 4 */ /* 0x2B0593E2: cmp eax, 4 */
   5124     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4);
   5125     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5126     _flag_k = FK_CMP;
   5127     if (CMP_NE(_flag_a, _flag_b)) goto L_2B0593FB; /* 0x2B0593E5: jne 0x2b0593fb */
   5128 L_2B0593E7:
   5129     edx = MEM32(ebp + 0xC); /* 0x2B0593E7: mov edx, dword ptr [ebp + 0xc] */
   5130     /* test edx, edx */ /* 0x2B0593EA: test edx, edx */
   5131     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
   5132     _cf = 0;
   5133     _flag_k = FK_TEST;
   5134     SET_LO8(eax, (TEST_Z(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B0593EC: sete al */
   5135     PUSH32(esp, eax); /* 0x2B0593EF: push eax */
   5136     RECOMP_ICALL(MEM32(0x2B0B6080)); /* 0x2B0593F0: call dword ptr [0x2b0b6080] */
   5137     RECOMP_FLAGS_IN();
   5138     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5139     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5140     esp = esp + 4; /* 0x2B0593F6: add esp, 4 */
   5141     _flag_k = FK_ADD;
   5142     ebp = POP32_VAL(esp); /* 0x2B0593F9: pop ebp */
   5143     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0593FA: ret  */
   5144 L_2B0593FB:
   5145     /* cmp eax, 7 */ /* 0x2B0593FB: cmp eax, 7 */
   5146     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(7);
   5147     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5148     _flag_k = FK_CMP;
   5149     if (CMP_NE(_flag_a, _flag_b)) goto L_2B059414; /* 0x2B0593FE: jne 0x2b059414 */
   5150 L_2B059400:
   5151     eax = MEM32(ebp + 0xC); /* 0x2B059400: mov eax, dword ptr [ebp + 0xc] */
   5152     /* test eax, eax */ /* 0x2B059403: test eax, eax */
   5153     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax);
   5154     _cf = 0;
   5155     _flag_k = FK_TEST;
   5156     SET_LO8(ecx, (TEST_Z(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B059405: sete cl */
   5157     PUSH32(esp, ecx); /* 0x2B059408: push ecx */
   5158     RECOMP_ICALL(MEM32(0x2B0B60B4)); /* 0x2B059409: call dword ptr [0x2b0b60b4] */
   5159     RECOMP_FLAGS_IN();
   5160     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5161     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5162     esp = esp + 4; /* 0x2B05940F: add esp, 4 */
   5163     _flag_k = FK_ADD;
   5164     ebp = POP32_VAL(esp); /* 0x2B059412: pop ebp */
   5165     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B059413: ret  */
   5166 L_2B059414:
   5167     /* cmp eax, 5 */ /* 0x2B059414: cmp eax, 5 */
   5168     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(5);
   5169     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5170     _flag_k = FK_CMP;
   5171     if (CMP_NE(_flag_a, _flag_b)) goto L_2B05942B; /* 0x2B059417: jne 0x2b05942b */
   5172 L_2B059419:
   5173     edx = MEM32(ebp + 0xC); /* 0x2B059419: mov edx, dword ptr [ebp + 0xc] */
   5174     /* test edx, edx */ /* 0x2B05941C: test edx, edx */
   5175     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx);
   5176     _cf = 0;
   5177     _flag_k = FK_TEST;
   5178     SET_LO8(edx, (TEST_Z(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B05941E: sete dl */
   5179     PUSH32(esp, edx); /* 0x2B059421: push edx */
   5180     RECOMP_ICALL(MEM32(0x2B0B60A8)); /* 0x2B059422: call dword ptr [0x2b0b60a8] */
   5181     RECOMP_FLAGS_IN();
   5182     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4);
   5183     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5184     esp = esp + 4; /* 0x2B059428: add esp, 4 */
   5185     _flag_k = FK_ADD;
   5186 L_2B05942B:
   5187     ebp = POP32_VAL(esp); /* 0x2B05942B: pop ebp */
   5188     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05942C: ret  */
   5189     RECOMP_REGS_OUT();
   5190 }
   5191 
   5192 void sub_2B059430(void) {
   5193     int _fpu_cmp = 0;
   5194     uint32_t _cf = 0;
   5195     int _df = 1;
   5196     uint32_t _flag_k = FK_NONE;
   5197     uint32_t _flag_a = 0, _flag_b = 0;
   5198     uint32_t _itail_tgt = 0;
   5199     RECOMP_REGS_LOCALS
   5200     RECOMP_ENTER(0x2B059430u);
   5201 
   5202 L_2B059430:
   5203     PUSH32(esp, ebp); /* 0x2B059430: push ebp */
   5204     ebp = esp; /* 0x2B059431: mov ebp, esp */
   5205     _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8);
   5206     _cf = (uint32_t)CMP_B(_flag_a, _flag_b);
   5207     esp = esp - 8; /* 0x2B059433: sub esp, 8 */
   5208     _flag_k = FK_CMP;
   5209     PUSH32(esp, esi); /* 0x2B059436: push esi */
   5210     esi = ecx; /* 0x2B059437: mov esi, ecx */
   5211     ecx = MEM32(esi + 0x8); /* 0x2B059439: mov ecx, dword ptr [esi + 8] */
   5212     eax = MEM32(esi + 0x4); /* 0x2B05943C: mov eax, dword ptr [esi + 4] */
   5213     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x14u);
   5214     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5215     ecx = ecx + 0x14u; /* 0x2B05943F: add ecx, 0x14 */
   5216     _flag_k = FK_ADD;
   5217     PUSH32(esp, edi); /* 0x2B059442: push edi */
   5218     edx = ebp + (-0x8); /* 0x2B059443: lea edx, [ebp - 8] */
   5219     MEM32(ebp + (-0x4)) = ecx; /* 0x2B059446: mov dword ptr [ebp - 4], ecx */
   5220     ecx = MEM32(esi + 0x28); /* 0x2B059449: mov ecx, dword ptr [esi + 0x28] */
   5221     PUSH32(esp, edx); /* 0x2B05944C: push edx */
   5222     MEM32(ebp + (-0x8)) = eax; /* 0x2B05944D: mov dword ptr [ebp - 8], eax */
   5223     RECOMP_ICALL(MEM32(0x2B0B5940)); /* 0x2B059450: call dword ptr [0x2b0b5940] */
   5224     RECOMP_FLAGS_IN();
   5225     eax = MEM32(esi + 0x28); /* 0x2B059456: mov eax, dword ptr [esi + 0x28] */
   5226     MEM8(eax + 0x9) = (uint8_t)(1); /* 0x2B059459: mov byte ptr [eax + 9], 1 */
   5227     ecx = MEM32(ebp + (-0x8)); /* 0x2B05945D: mov ecx, dword ptr [ebp - 8] */
   5228     eax = MEM32(ebp + (-0x4)); /* 0x2B059460: mov eax, dword ptr [ebp - 4] */
   5229     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(5);
   5230     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5231     ecx = ecx + 5; /* 0x2B059463: add ecx, 5 */
   5232     _flag_k = FK_ADD;
   5233     MEM32(ebp + (-0x8)) = ecx; /* 0x2B059466: mov dword ptr [ebp - 8], ecx */
   5234     ecx = ebp + (-0x8); /* 0x2B059469: lea ecx, [ebp - 8] */
   5235     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFu);
   5236     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5237     eax = eax + 0xFu; /* 0x2B05946C: add eax, 0xf */
   5238     _flag_k = FK_ADD;
   5239     PUSH32(esp, ecx); /* 0x2B05946F: push ecx */
   5240     ecx = MEM32(esi + 0x2C); /* 0x2B059470: mov ecx, dword ptr [esi + 0x2c] */
   5241     MEM32(ebp + (-0x4)) = eax; /* 0x2B059473: mov dword ptr [ebp - 4], eax */
   5242     RECOMP_ICALL(0x2B05F300u); /* 0x2B059476: call 0x2b05f300 */ /* not lifted */
   5243     RECOMP_FLAGS_IN();
   5244     ecx = MEM32(esi + 0x2C); /* 0x2B05947B: mov ecx, dword ptr [esi + 0x2c] */
   5245     RECOMP_ICALL(0x2B05F2E0u); /* 0x2B05947E: call 0x2b05f2e0 */ /* not lifted */
   5246     RECOMP_FLAGS_IN();
   5247     edx = MEM32(ebp + (-0x4)); /* 0x2B059483: mov edx, dword ptr [ebp - 4] */
   5248     ecx = MEM32(esi + 0x30); /* 0x2B059486: mov ecx, dword ptr [esi + 0x30] */
   5249     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0xCu);
   5250     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5251     edx = edx + 0xCu; /* 0x2B059489: add edx, 0xc */
   5252     _flag_k = FK_ADD;
   5253     MEM32(ebp + (-0x4)) = edx; /* 0x2B05948C: mov dword ptr [ebp - 4], edx */
   5254     edx = ebp + (-0x8); /* 0x2B05948F: lea edx, [ebp - 8] */
   5255     PUSH32(esp, edx); /* 0x2B059492: push edx */
   5256     RECOMP_ICALL(0x2B05F7B0u); /* 0x2B059493: call 0x2b05f7b0 */ /* not lifted */
   5257     RECOMP_FLAGS_IN();
   5258     ecx = MEM32(esi + 0x30); /* 0x2B059498: mov ecx, dword ptr [esi + 0x30] */
   5259     RECOMP_ICALL(0x2B05F790u); /* 0x2B05949B: call 0x2b05f790 */ /* not lifted */
   5260     RECOMP_FLAGS_IN();
   5261     eax = MEM32(ebp + (-0x4)); /* 0x2B0594A0: mov eax, dword ptr [ebp - 4] */
   5262     ecx = MEM32(esi + 0x34); /* 0x2B0594A3: mov ecx, dword ptr [esi + 0x34] */
   5263     edi = 0x18u; /* 0x2B0594A6: mov edi, 0x18 */
   5264     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   5265     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5266     eax = eax + edi; /* 0x2B0594AB: add eax, edi */
   5267     _flag_k = FK_ADD;
   5268     MEM32(ebp + (-0x4)) = eax; /* 0x2B0594AD: mov dword ptr [ebp - 4], eax */
   5269     eax = ebp + (-0x8); /* 0x2B0594B0: lea eax, [ebp - 8] */
   5270     PUSH32(esp, eax); /* 0x2B0594B3: push eax */
   5271     RECOMP_ICALL(0x2B05F300u); /* 0x2B0594B4: call 0x2b05f300 */ /* not lifted */
   5272     RECOMP_FLAGS_IN();
   5273     ecx = MEM32(esi + 0x34); /* 0x2B0594B9: mov ecx, dword ptr [esi + 0x34] */
   5274     RECOMP_ICALL(0x2B05F2E0u); /* 0x2B0594BC: call 0x2b05f2e0 */ /* not lifted */
   5275     RECOMP_FLAGS_IN();
   5276     _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0xCu);
   5277     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5278     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) + 0xCu; /* 0x2B0594C1: add dword ptr [ebp - 4], 0xc */
   5279     _flag_k = FK_ADD;
   5280     ecx = ebp + (-0x8); /* 0x2B0594C5: lea ecx, [ebp - 8] */
   5281     PUSH32(esp, ecx); /* 0x2B0594C8: push ecx */
   5282     ecx = MEM32(esi + 0x38); /* 0x2B0594C9: mov ecx, dword ptr [esi + 0x38] */
   5283     RECOMP_ICALL(0x2B05F7B0u); /* 0x2B0594CC: call 0x2b05f7b0 */ /* not lifted */
   5284     RECOMP_FLAGS_IN();
   5285     ecx = MEM32(esi + 0x38); /* 0x2B0594D1: mov ecx, dword ptr [esi + 0x38] */
   5286     RECOMP_ICALL(0x2B05F790u); /* 0x2B0594D4: call 0x2b05f790 */ /* not lifted */
   5287     RECOMP_FLAGS_IN();
   5288     edx = MEM32(ebp + (-0x4)); /* 0x2B0594D9: mov edx, dword ptr [ebp - 4] */
   5289     ecx = MEM32(esi + 0x3C); /* 0x2B0594DC: mov ecx, dword ptr [esi + 0x3c] */
   5290     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
   5291     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5292     edx = edx + edi; /* 0x2B0594DF: add edx, edi */
   5293     _flag_k = FK_ADD;
   5294     MEM32(ebp + (-0x4)) = edx; /* 0x2B0594E1: mov dword ptr [ebp - 4], edx */
   5295     edx = ebp + (-0x8); /* 0x2B0594E4: lea edx, [ebp - 8] */
   5296     PUSH32(esp, edx); /* 0x2B0594E7: push edx */
   5297     RECOMP_ICALL(0x2B05F300u); /* 0x2B0594E8: call 0x2b05f300 */ /* not lifted */
   5298     RECOMP_FLAGS_IN();
   5299     ecx = MEM32(esi + 0x3C); /* 0x2B0594ED: mov ecx, dword ptr [esi + 0x3c] */
   5300     RECOMP_ICALL(0x2B05F2E0u); /* 0x2B0594F0: call 0x2b05f2e0 */ /* not lifted */
   5301     RECOMP_FLAGS_IN();
   5302     eax = MEM32(ebp + (-0x4)); /* 0x2B0594F5: mov eax, dword ptr [ebp - 4] */
   5303     ecx = MEM32(esi + 0x40); /* 0x2B0594F8: mov ecx, dword ptr [esi + 0x40] */
   5304     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu);
   5305     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5306     eax = eax + 0xCu; /* 0x2B0594FB: add eax, 0xc */
   5307     _flag_k = FK_ADD;
   5308     MEM32(ebp + (-0x4)) = eax; /* 0x2B0594FE: mov dword ptr [ebp - 4], eax */
   5309     eax = ebp + (-0x8); /* 0x2B059501: lea eax, [ebp - 8] */
   5310     PUSH32(esp, eax); /* 0x2B059504: push eax */
   5311     RECOMP_ICALL(0x2B05F7B0u); /* 0x2B059505: call 0x2b05f7b0 */ /* not lifted */
   5312     RECOMP_FLAGS_IN();
   5313     ecx = MEM32(esi + 0x40); /* 0x2B05950A: mov ecx, dword ptr [esi + 0x40] */
   5314     RECOMP_ICALL(0x2B05F790u); /* 0x2B05950D: call 0x2b05f790 */ /* not lifted */
   5315     RECOMP_FLAGS_IN();
   5316     _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(edi);
   5317     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5318     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) + edi; /* 0x2B059512: add dword ptr [ebp - 4], edi */
   5319     _flag_k = FK_ADD;
   5320     ecx = ebp + (-0x8); /* 0x2B059515: lea ecx, [ebp - 8] */
   5321     PUSH32(esp, ecx); /* 0x2B059518: push ecx */
   5322     ecx = MEM32(esi + 0x44); /* 0x2B059519: mov ecx, dword ptr [esi + 0x44] */
   5323     RECOMP_ICALL(0x2B05F7B0u); /* 0x2B05951C: call 0x2b05f7b0 */ /* not lifted */
   5324     RECOMP_FLAGS_IN();
   5325     ecx = MEM32(esi + 0x44); /* 0x2B059521: mov ecx, dword ptr [esi + 0x44] */
   5326     RECOMP_ICALL(0x2B05F790u); /* 0x2B059524: call 0x2b05f790 */ /* not lifted */
   5327     RECOMP_FLAGS_IN();
   5328     edx = MEM32(ebp + (-0x4)); /* 0x2B059529: mov edx, dword ptr [ebp - 4] */
   5329     ecx = MEM32(esi + 0x48); /* 0x2B05952C: mov ecx, dword ptr [esi + 0x48] */
   5330     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x20u);
   5331     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5332     edx = edx + 0x20u; /* 0x2B05952F: add edx, 0x20 */
   5333     _flag_k = FK_ADD;
   5334     MEM32(ebp + (-0x4)) = edx; /* 0x2B059532: mov dword ptr [ebp - 4], edx */
   5335     edx = ebp + (-0x8); /* 0x2B059535: lea edx, [ebp - 8] */
   5336     PUSH32(esp, edx); /* 0x2B059538: push edx */
   5337     RECOMP_ICALL(0x2B05F300u); /* 0x2B059539: call 0x2b05f300 */ /* not lifted */
   5338     RECOMP_FLAGS_IN();
   5339     ecx = MEM32(esi + 0x48); /* 0x2B05953E: mov ecx, dword ptr [esi + 0x48] */
   5340     RECOMP_ICALL(0x2B05F2E0u); /* 0x2B059541: call 0x2b05f2e0 */ /* not lifted */
   5341     RECOMP_FLAGS_IN();
   5342     eax = MEM32(ebp + (-0x4)); /* 0x2B059546: mov eax, dword ptr [ebp - 4] */
   5343     ecx = MEM32(esi + 0x4C); /* 0x2B059549: mov ecx, dword ptr [esi + 0x4c] */
   5344     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu);
   5345     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5346     eax = eax + 0xCu; /* 0x2B05954C: add eax, 0xc */
   5347     _flag_k = FK_ADD;
   5348     MEM32(ebp + (-0x4)) = eax; /* 0x2B05954F: mov dword ptr [ebp - 4], eax */
   5349     eax = ebp + (-0x8); /* 0x2B059552: lea eax, [ebp - 8] */
   5350     PUSH32(esp, eax); /* 0x2B059555: push eax */
   5351     RECOMP_ICALL(0x2B05F7B0u); /* 0x2B059556: call 0x2b05f7b0 */ /* not lifted */
   5352     RECOMP_FLAGS_IN();
   5353     ecx = MEM32(esi + 0x4C); /* 0x2B05955B: mov ecx, dword ptr [esi + 0x4c] */
   5354     RECOMP_ICALL(0x2B05F790u); /* 0x2B05955E: call 0x2b05f790 */ /* not lifted */
   5355     RECOMP_FLAGS_IN();
   5356     _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(edi);
   5357     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5358     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) + edi; /* 0x2B059563: add dword ptr [ebp - 4], edi */
   5359     _flag_k = FK_ADD;
   5360     ecx = ebp + (-0x8); /* 0x2B059566: lea ecx, [ebp - 8] */
   5361     PUSH32(esp, ecx); /* 0x2B059569: push ecx */
   5362     ecx = MEM32(esi + 0x50); /* 0x2B05956A: mov ecx, dword ptr [esi + 0x50] */
   5363     RECOMP_ICALL(0x2B05F7B0u); /* 0x2B05956D: call 0x2b05f7b0 */ /* not lifted */
   5364     RECOMP_FLAGS_IN();
   5365     ecx = MEM32(esi + 0x50); /* 0x2B059572: mov ecx, dword ptr [esi + 0x50] */
   5366     RECOMP_ICALL(0x2B05F790u); /* 0x2B059575: call 0x2b05f790 */ /* not lifted */
   5367     RECOMP_FLAGS_IN();
   5368     eax = MEM32(ebp + (-0x4)); /* 0x2B05957A: mov eax, dword ptr [ebp - 4] */
   5369     edx = MEM32(ebp + (-0x8)); /* 0x2B05957D: mov edx, dword ptr [ebp - 8] */
   5370     ecx = MEM32(esi + 0x54); /* 0x2B059580: mov ecx, dword ptr [esi + 0x54] */
   5371     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   5372     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5373     eax = eax + edi; /* 0x2B059583: add eax, edi */
   5374     _flag_k = FK_ADD;
   5375     PUSH32(esp, eax); /* 0x2B059585: push eax */
   5376     PUSH32(esp, edx); /* 0x2B059586: push edx */
   5377     MEM32(ebp + (-0x4)) = eax; /* 0x2B059587: mov dword ptr [ebp - 4], eax */
   5378     RECOMP_ICALL(MEM32(0x2B0B5924)); /* 0x2B05958A: call dword ptr [0x2b0b5924] */
   5379     RECOMP_FLAGS_IN();
   5380     eax = MEM32(esi + 0x54); /* 0x2B059590: mov eax, dword ptr [esi + 0x54] */
   5381     MEM8(eax + 0x9) = (uint8_t)(1); /* 0x2B059593: mov byte ptr [eax + 9], 1 */
   5382     ecx = MEM32(ebp + (-0x4)); /* 0x2B059597: mov ecx, dword ptr [ebp - 4] */
   5383     edi = 0xCu; /* 0x2B05959A: mov edi, 0xc */
   5384     _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi);
   5385     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5386     ecx = ecx + edi; /* 0x2B05959F: add ecx, edi */
   5387     _flag_k = FK_ADD;
   5388     MEM32(ebp + (-0x4)) = ecx; /* 0x2B0595A1: mov dword ptr [ebp - 4], ecx */
   5389     ecx = ebp + (-0x8); /* 0x2B0595A4: lea ecx, [ebp - 8] */
   5390     PUSH32(esp, ecx); /* 0x2B0595A7: push ecx */
   5391     ecx = MEM32(esi + 0x58); /* 0x2B0595A8: mov ecx, dword ptr [esi + 0x58] */
   5392     RECOMP_ICALL(0x2B05F300u); /* 0x2B0595AB: call 0x2b05f300 */ /* not lifted */
   5393     RECOMP_FLAGS_IN();
   5394     ecx = MEM32(esi + 0x58); /* 0x2B0595B0: mov ecx, dword ptr [esi + 0x58] */
   5395     RECOMP_ICALL(0x2B05F2E0u); /* 0x2B0595B3: call 0x2b05f2e0 */ /* not lifted */
   5396     RECOMP_FLAGS_IN();
   5397     edx = MEM32(ebp + (-0x4)); /* 0x2B0595B8: mov edx, dword ptr [ebp - 4] */
   5398     ecx = MEM32(esi + 0x5C); /* 0x2B0595BB: mov ecx, dword ptr [esi + 0x5c] */
   5399     _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi);
   5400     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5401     edx = edx + edi; /* 0x2B0595BE: add edx, edi */
   5402     _flag_k = FK_ADD;
   5403     MEM32(ebp + (-0x4)) = edx; /* 0x2B0595C0: mov dword ptr [ebp - 4], edx */
   5404     edx = ebp + (-0x8); /* 0x2B0595C3: lea edx, [ebp - 8] */
   5405     PUSH32(esp, edx); /* 0x2B0595C6: push edx */
   5406     RECOMP_ICALL(0x2B05F300u); /* 0x2B0595C7: call 0x2b05f300 */ /* not lifted */
   5407     RECOMP_FLAGS_IN();
   5408     ecx = MEM32(esi + 0x5C); /* 0x2B0595CC: mov ecx, dword ptr [esi + 0x5c] */
   5409     RECOMP_ICALL(0x2B05F2E0u); /* 0x2B0595CF: call 0x2b05f2e0 */ /* not lifted */
   5410     RECOMP_FLAGS_IN();
   5411     eax = MEM32(ebp + (-0x4)); /* 0x2B0595D4: mov eax, dword ptr [ebp - 4] */
   5412     ecx = MEM32(esi + 0x60); /* 0x2B0595D7: mov ecx, dword ptr [esi + 0x60] */
   5413     _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi);
   5414     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5415     eax = eax + edi; /* 0x2B0595DA: add eax, edi */
   5416     _flag_k = FK_ADD;
   5417     MEM32(ebp + (-0x4)) = eax; /* 0x2B0595DC: mov dword ptr [ebp - 4], eax */
   5418     eax = ebp + (-0x8); /* 0x2B0595DF: lea eax, [ebp - 8] */
   5419     PUSH32(esp, eax); /* 0x2B0595E2: push eax */
   5420     RECOMP_ICALL(0x2B05F300u); /* 0x2B0595E3: call 0x2b05f300 */ /* not lifted */
   5421     RECOMP_FLAGS_IN();
   5422     ecx = MEM32(esi + 0x60); /* 0x2B0595E8: mov ecx, dword ptr [esi + 0x60] */
   5423     RECOMP_ICALL(0x2B05F2E0u); /* 0x2B0595EB: call 0x2b05f2e0 */ /* not lifted */
   5424     RECOMP_FLAGS_IN();
   5425     _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(edi);
   5426     _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a);
   5427     MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) + edi; /* 0x2B0595F0: add dword ptr [ebp - 4], edi */
   5428     _flag_k = FK_ADD;
   5429     ecx = ebp + (-0x8); /* 0x2B0595F3: lea ecx, [ebp - 8] */
   5430     PUSH32(esp, ecx); /* 0x2B0595F6: push ecx */
   5431     ecx = MEM32(esi + 0x64); /* 0x2B0595F7: mov ecx, dword ptr [esi + 0x64] */
   5432     RECOMP_ICALL(0x2B05F300u); /* 0x2B0595FA: call 0x2b05f300 */ /* not lifted */
   5433     RECOMP_FLAGS_IN();
   5434     ecx = MEM32(esi + 0x64); /* 0x2B0595FF: mov ecx, dword ptr [esi + 0x64] */
   5435     RECOMP_ICALL(0x2B05F2E0u); /* 0x2B059602: call 0x2b05f2e0 */ /* not lifted */
   5436     RECOMP_FLAGS_IN();
   5437     edi = POP32_VAL(esp); /* 0x2B059607: pop edi */
   5438     esi = POP32_VAL(esp); /* 0x2B059608: pop esi */
   5439     esp = ebp; /* 0x2B059609: mov esp, ebp */
   5440     ebp = POP32_VAL(esp); /* 0x2B05960B: pop ebp */
   5441     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B05960C: ret  */
   5442     RECOMP_REGS_OUT();
   5443 }
   5444 
   5445 void sub_2B059610(void) {
   5446     int _fpu_cmp = 0;
   5447     uint32_t _cf = 0;
   5448     int _df = 1;
   5449     uint32_t _flag_k = FK_NONE;
   5450     uint32_t _flag_a = 0, _flag_b = 0;
   5451     uint32_t _itail_tgt = 0;
   5452     RECOMP_REGS_LOCALS
   5453     RECOMP_ENTER(0x2B059610u);
   5454 
   5455 L_2B059610:
   5456     PUSH32(esp, esi); /* 0x2B059610: push esi */
   5457     esi = ecx; /* 0x2B059611: mov esi, ecx */
   5458     SET_LO8(eax, MEM8(esi + 0xC)); /* 0x2B059613: mov al, byte ptr [esi + 0xc] */
   5459     /* test LO8(eax), LO8(eax) */ /* 0x2B059616: test al, al */
   5460     _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24;
   5461     _cf = 0;
   5462     _flag_k = FK_NARROW(FK_TEST, 24);
   5463     if (TEST_Z(_flag_a, _flag_b)) goto L_2B059698; /* 0x2B059618: je 0x2b059698 */
   5464 L_2B05961A:
   5465     eax = MEM32(esi + 0x28); /* 0x2B05961A: mov eax, dword ptr [esi + 0x28] */
   5466     MEM8(eax + 0x8) = (uint8_t)(1); /* 0x2B05961D: mov byte ptr [eax + 8], 1 */
   5467     ecx = MEM32(esi + 0x2C); /* 0x2B059621: mov ecx, dword ptr [esi + 0x2c] */
   5468     RECOMP_ICALL(0x2B05F2A0u); /* 0x2B059624: call 0x2b05f2a0 */ /* not lifted */
   5469     RECOMP_FLAGS_IN();
   5470     ecx = MEM32(esi + 0x30); /* 0x2B059629: mov ecx, dword ptr [esi + 0x30] */
   5471     RECOMP_ICALL(0x2B05F750u); /* 0x2B05962C: call 0x2b05f750 */ /* not lifted */
   5472     RECOMP_FLAGS_IN();
   5473     ecx = MEM32(esi + 0x34); /* 0x2B059631: mov ecx, dword ptr [esi + 0x34] */
   5474     RECOMP_ICALL(0x2B05F2A0u); /* 0x2B059634: call 0x2b05f2a0 */ /* not lifted */
   5475     RECOMP_FLAGS_IN();
   5476     ecx = MEM32(esi + 0x38); /* 0x2B059639: mov ecx, dword ptr [esi + 0x38] */
   5477     RECOMP_ICALL(0x2B05F750u); /* 0x2B05963C: call 0x2b05f750 */ /* not lifted */
   5478     RECOMP_FLAGS_IN();
   5479     ecx = MEM32(esi + 0x3C); /* 0x2B059641: mov ecx, dword ptr [esi + 0x3c] */
   5480     RECOMP_ICALL(0x2B05F2A0u); /* 0x2B059644: call 0x2b05f2a0 */ /* not lifted */
   5481     RECOMP_FLAGS_IN();
   5482     ecx = MEM32(esi + 0x40); /* 0x2B059649: mov ecx, dword ptr [esi + 0x40] */
   5483     RECOMP_ICALL(0x2B05F750u); /* 0x2B05964C: call 0x2b05f750 */ /* not lifted */
   5484     RECOMP_FLAGS_IN();
   5485     ecx = MEM32(esi + 0x44); /* 0x2B059651: mov ecx, dword ptr [esi + 0x44] */
   5486     RECOMP_ICALL(0x2B05F750u); /* 0x2B059654: call 0x2b05f750 */ /* not lifted */
   5487     RECOMP_FLAGS_IN();
   5488     ecx = MEM32(esi + 0x48); /* 0x2B059659: mov ecx, dword ptr [esi + 0x48] */
   5489     RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05965C: call 0x2b05f2a0 */ /* not lifted */
   5490     RECOMP_FLAGS_IN();
   5491     ecx = MEM32(esi + 0x4C); /* 0x2B059661: mov ecx, dword ptr [esi + 0x4c] */
   5492     RECOMP_ICALL(0x2B05F750u); /* 0x2B059664: call 0x2b05f750 */ /* not lifted */
   5493     RECOMP_FLAGS_IN();
   5494     ecx = MEM32(esi + 0x50); /* 0x2B059669: mov ecx, dword ptr [esi + 0x50] */
   5495     RECOMP_ICALL(0x2B05F750u); /* 0x2B05966C: call 0x2b05f750 */ /* not lifted */
   5496     RECOMP_FLAGS_IN();
   5497     ecx = MEM32(esi + 0x54); /* 0x2B059671: mov ecx, dword ptr [esi + 0x54] */
   5498     MEM8(ecx + 0x8) = (uint8_t)(1); /* 0x2B059674: mov byte ptr [ecx + 8], 1 */
   5499     ecx = MEM32(esi + 0x58); /* 0x2B059678: mov ecx, dword ptr [esi + 0x58] */
   5500     RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05967B: call 0x2b05f2a0 */ /* not lifted */
   5501     RECOMP_FLAGS_IN();
   5502     ecx = MEM32(esi + 0x5C); /* 0x2B059680: mov ecx, dword ptr [esi + 0x5c] */
   5503     RECOMP_ICALL(0x2B05F2A0u); /* 0x2B059683: call 0x2b05f2a0 */ /* not lifted */
   5504     RECOMP_FLAGS_IN();
   5505     ecx = MEM32(esi + 0x60); /* 0x2B059688: mov ecx, dword ptr [esi + 0x60] */
   5506     RECOMP_ICALL(0x2B05F2A0u); /* 0x2B05968B: call 0x2b05f2a0 */ /* not lifted */
   5507     RECOMP_FLAGS_IN();
   5508     ecx = MEM32(esi + 0x64); /* 0x2B059690: mov ecx, dword ptr [esi + 0x64] */
   5509     RECOMP_ICALL(0x2B05F2A0u); /* 0x2B059693: call 0x2b05f2a0 */ /* not lifted */
   5510     RECOMP_FLAGS_IN();
   5511 L_2B059698:
   5512     esi = POP32_VAL(esp); /* 0x2B059698: pop esi */
   5513     RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B059699: ret  */
   5514     RECOMP_REGS_OUT();
   5515 }