Function at 0x57bc20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x1c], eax
movzx eax, word [ecx]
cmp ax, 0x40
jle 0x57bc5d
push 0x40
push str.at_most__d_tables_in_a_join
call fcn.005452d0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [ebp + 0x18], 0x80
je 0x57bc6d
mov dword [esp + 0x24], 1
jmp 0x57bc74
movsx edx, ax
mov dword [esp + 0x24], edx
mov ebx, dword [esp + 0x24]
shl ebx, 6
add ebx, 0x2f
mov eax, edi
mov esi, dword [eax]
and ebx, 0xfffffff8
lea edi, [ebx + 0x264]
mov ecx, edi
mov dword [esp + 0x28], esi
call fcn.0053d980
mov esi, eax
test esi, esi
mov dword [esp + 0x14], esi
je 0x57bcac
push edi
push 0
push esi
call fcn.005b5540
add esp, 0xc
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x1e], 0
je 0x57bcc9
push esi
push eax
call fcn.00532d60
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 8]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x18], ecx
mov dword [edi], edx
call fcn.005407a0
mov cx, word [ebp + 0x18]
mov edx, dword [ebp + 8]
lea esi, [edi + ebx]
mov dword [edi + 0x14], eax
mov dword [edi + 0x1c], esi
mov word [edi + 4], cx
fld qword [edx + 0x1c0]
fstp qword [edi + 0x20]
push 0x104
xor edi, edi
lea ebx, [esi + 0x160]
push edi
push ebx
mov dword [esp + 0x4c], esi
call fcn.005b5540
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esp + 0x68], edi
mov edi, dword [ebp + 0x10]
lea edx, [esp + 0x64]
lea ecx, [esi + 0x20]
push edi
push edx
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 0x18], 8
mov dword [esi + 0x1c], ecx
mov dword [esp + 0x6c], 0x571730
mov dword [esp + 0x74], eax
call fcn.00541090
push 0x45
push edi
push esi
call fcn.005432a0
add esp, 0x20
test edi, edi
je 0x57bd92
cmp dword [esp + 0x24], 0
je 0x57bd7b
mov eax, edi
call fcn.00541690
test eax, eax
je 0x57bd92
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp + 8]
push 8
push ecx
push edi
push edx
call fcn.0056ceb0
add esp, 0x10
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
mov dword [esp + 0x20], 0
jle 0x57bdec
lea edi, [ecx + 0x14]
mov eax, dword [ebx]
mov edx, dword [edi + 0xc]
mov dword [ebx + eax*4 + 4], edx
add dword [ebx], 1
mov eax, dword [edi]
test eax, eax
je 0x57bdd7
test byte [eax + 0x1e], 0x10
je 0x57bdd7
mov ecx, dword [esp + 0x20]
mov eax, 1
xor edx, edx
call fcn.005b8300
or dword [esi + 8], eax
or dword [esi + 0xc], edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x20]
movsx edx, word [ecx]
add eax, 1
add edi, 0x38
cmp eax, edx
mov dword [esp + 0x20], eax
jl 0x57bda6
mov edi, dword [esi + 0x14]
sub edi, 1
js 0x57be07
mov ebx, dword [ebp + 0xc]
push edi
push esi
push ebx
call fcn.00572040
add esp, 0xc
sub edi, 1
jns 0x57bdf7
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x1e], 0
jne 0x57c33e
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
or eax, 0xffffffff
xor edx, edx
cmp ebx, edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], eax
lea eax, [ecx + 0x28]
mov dword [esp + 0xc], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], eax
jle 0x57c22e
xor eax, eax
fld qword [0x5fe690]
mov edi, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
fstp qword [esp + 0x78]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
xor ecx, ecx
lea eax, [ebx - 1]
cmp dword [esp + 0xc], eax
mov dword [esp + 0x2c], 0xffffffff
setl cl
mov dword [esp + 0x68], edi
mov eax, ecx
test eax, eax
mov dword [esp + 0x50], eax
jl 0x57c0fb
jmp 0x57bec0
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0xc]
lea edx, [eax*8]
sub edx, eax
cmp eax, dword [esp + 0x24]
mov ebx, eax
lea edx, [ecx + edx*8 + 8]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x18], edx
jge 0x57c0e4
mov ecx, dword [esp + 0x14]
shl eax, 6
lea eax, [eax + ecx + 0x64]
mov dword [esp + 0x48], eax
jmp 0x57bf04
mov edx, dword [esp + 0x18]
mov al, byte [edx + 0x15]
and al, 0xa
neg al
sbb eax, eax
neg eax
cmp ebx, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
je 0x57bf21
test eax, eax
jne 0x57c0e4
mov esi, dword [esp + 0x40]
xor ecx, ecx
add esi, 0x160
cmp dword [esi], ecx
jle 0x57bf45
mov edx, dword [edx + 0x18]
lea eax, [esi + 4]
cmp dword [eax], edx
je 0x57bf6f
add ecx, 1
add eax, 4
cmp ecx, dword [esi]
jl 0x57bf37
xor esi, esi
xor edi, edi
mov edx, dword [esp + 0x30]
mov ecx, edi
and ecx, dword [esp + 0x34]
mov eax, esi
and eax, edx
or eax, ecx
jne 0x57bf81
cmp ebx, dword [esp + 0xc]
jne 0x57c0c9
add dword [esp + 0xc], 1
jmp 0x57c0c9
mov eax, 1
xor edx, edx
call fcn.005b8300
mov esi, eax
mov edi, edx
jmp 0x57bf49
cmp dword [esp + 0x50], 0
je 0x57bf8e
mov ecx, esi
mov edx, edi
jmp 0x57bf94
mov ecx, edx
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x20], 0
jne 0x57bfa6
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x57bfa6
mov eax, dword [eax]
jmp 0x57bfa8
xor eax, eax
mov ebx, dword [esp + 0x18]
cmp dword [ebx + 0x34], 0
jne 0x57bfb7
add dword [esp + 0x54], 1
mov ebx, dword [esp + 0x18]
mov ebx, dword [ebx + 0xc]
test byte [ebx + 0x1e], 0x10
je 0x57bfec
mov ebx, dword [esp + 0x48]
push ebx
lea ebx, [esp + 0x94]
push ebx
push eax
mov eax, dword [ebp + 8]
push edx
mov edx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
push edx
push eax
call fcn.0056fdf0
add esp, 0x20
jmp 0x57c00d
lea ebx, [esp + 0x90]
push ebx
push eax
mov eax, dword [ebp + 8]
push edx
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x28]
push ecx
push edx
push eax
call fcn.00569f10
add esp, 0x1c
cmp dword [esp + 0x50], 0
mov edx, dword [esp + 0x90]
je 0x57c02b
test edx, 0xf3000
jne 0x57c02b
or dword [esp + 0x58], esi
or dword [esp + 0x5c], edi
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
and eax, dword [esp + 0x30]
and ecx, dword [esp + 0x34]
or eax, ecx
jne 0x57c0be
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jl 0x57c063
and esi, dword [esp + 0x58]
and edi, dword [esp + 0x5c]
mov eax, esi
or eax, edi
jne 0x57c063
test edx, 0xf3000
je 0x57c0be
cmp dword [esp + 0x54], 0
je 0x57c07c
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x34], 0
je 0x57c07c
test edx, 0xf3000
je 0x57c0be
test ecx, ecx
jl 0x57c13f
fld qword [esp + 0x78]
fld qword [esp + 0xa0]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x57c13b
fcompp
fnstsw ax
test ah, 0x41
jp 0x57c0be
fld qword [esp + 0x80]
fcomp qword [esp + 0xa8]
fnstsw ax
test ah, 0x41
je 0x57c13f
mov ebx, dword [esp + 0x4c]
cmp dword [esp + 0x3c], 0
jne 0x57c0e4
add dword [esp + 0x48], 0x40
add dword [esp + 0x18], 0x38
add ebx, 1
cmp ebx, dword [esp + 0x24]
mov dword [esp + 0x4c], ebx
jl 0x57bf00
sub dword [esp + 0x50], 1
jns 0x57bec0
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
test edi, 0x1000000
je 0x57c10c
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x6c]
and dword [esp + 0x44], edi
test edi, 0x200f0000
mov ecx, dword [esp + 0x70]
mov dword [eax], edi
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
je 0x57c15e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x44]
mov dword [eax + 0x14], edx
add dword [ecx + 0x44], 1
jmp 0x57c165
fstp st(1)
fstp st(0)
mov ebx, dword [esp + 0x4c]
mov ecx, 0xa
lea esi, [esp + 0x90]
lea edi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x2c], ebx
jmp 0x57c0c2
mov dword [eax + 0x14], 0xffffffff
xor ecx, ecx
cmp dword [esi + 0x160], ecx
jle 0x57c1a2
mov eax, dword [esp + 0x2c]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + edx*8 + 0x20]
lea eax, [esi + 0x164]
lea esp, [esp]
cmp dword [eax], edx
je 0x57c1e2
add ecx, 1
add eax, 4
cmp ecx, dword [esi + 0x160]
jl 0x57c190
xor eax, eax
xor edx, edx
fld1
mov ecx, dword [esp + 0x2c]
fld qword [esp + 0x80]
not eax
and dword [esp + 0x30], eax
fcom st(1)
not edx
and dword [esp + 0x34], edx
mov edx, dword [esp + 0x10]
mov byte [edx + 0x28], cl
fnstsw ax
fstp st(1)
test ah, 1
jne 0x57c1f0
mov eax, dword [ebp + 8]
fmul qword [eax + 0x1c0]
fstp qword [eax + 0x1c0]
jmp 0x57c1f2
mov eax, 1
xor edx, edx
call fcn.005b8300
jmp 0x57c1a6
fstp st(0)
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + eax*8 + 0x3c]
test eax, eax
je 0x57c212
test edi, 0xf0000
je 0x57c32b
mov eax, dword [esp + 0x20]
add dword [esp + 0x10], 0x40
add eax, 1
cmp eax, ebx
mov dword [esp + 0x20], eax
jl 0x57be45
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0
jne 0x57c33e
mov edx, dword [esp + 0x28]
cmp byte [edx + 0x1e], 0
jne 0x57c33e
mov eax, dword [esp + 0x44]
and eax, 0x4000000
je 0x57c261
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x57c261
mov dword [edx], 0
test byte [ebp + 0x18], 4
je 0x57c279
test eax, eax
je 0x57c279
and dword [ecx + 0x28], 0xff7fffff
lea eax, [ecx + 0x28]
mov byte [ecx + 6], 1
mov eax, dword [ebp + 8]
or esi, 0xffffffff
push esi
call fcn.00560b30
mov eax, dword [esp + 0x18]
add eax, 0x28
add esp, 4
test ebx, ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], eax
jle 0x57c822
mov eax, dword [ebp + 8]
cmp byte [eax + 0x1e8], 2
jne 0x57c4ab
mov ecx, dword [esp + 0x10]
movzx eax, byte [ecx + 0x28]
mov ebx, dword [esp + 0x28]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*8 + 0xc]
lea edi, [eax + edx*8 + 8]
push ecx
push str.TABLE__s
mov esi, ebx
call fcn.00545070
mov edi, dword [edi + 8]
add esp, 8
test edi, edi
mov esi, eax
je 0x57c308
push edi
push esi
push str._s_AS__s
push esi
mov eax, ebx
call fcn.00545090
add esp, 0x10
mov esi, eax
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
test eax, 0x20000000
je 0x57c365
push esi
push str._s_WITH_AUTOMATIC_INDEX
push esi
mov eax, ebx
call fcn.00545090
add esp, 0xc
jmp 0x57c3dc
mov edx, dword [eax]
mov edi, dword [ebp + 8]
push edx
push str.cannot_use_index:__s
call fcn.005452d0
add esp, 8
mov eax, dword [esp + 0x14]
fld qword [eax + 0x20]
mov edx, dword [ebp + 8]
push eax
fstp qword [edx + 0x1c0]
mov eax, dword [esp + 0x2c]
push eax
call fcn.005436e0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, 0xf0000
je 0x57c385
mov edx, dword [edi + 8]
mov eax, dword [edx]
push eax
push esi
push str._s_WITH_INDEX__s
push esi
mov eax, ebx
call fcn.00545090
add esp, 0x10
jmp 0x57c3dc
test eax, 0x10000000
je 0x57c39f
push esi
push str._s_VIA_MULTI_INDEX_UNION
push esi
mov eax, ebx
call fcn.00545090
add esp, 0xc
jmp 0x57c3dc
test eax, 0x3000
je 0x57c3b9
push esi
push str._s_USING_PRIMARY_KEY
push esi
mov eax, ebx
call fcn.00545090
add esp, 0xc
jmp 0x57c3dc
test eax, 0x8000000
je 0x57c3de
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x14]
push ecx
push edx
push esi
push str._s_VIRTUAL_TABLE_INDEX__d:_s
push esi
mov eax, ebx
call fcn.00545090
add esp, 0x14
mov esi, eax
test dword [edi], 0x1000000
je 0x57c3f9
push esi
push str._s_ORDER_BY
push esi
mov eax, ebx
call fcn.00545090
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax + 0x28]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ecx + 0xc]
cmp dword [ecx + 0x10], ebx
jg 0x57c425
mov edi, ecx
call fcn.00540600
test eax, eax
je 0x57c423
mov eax, 1
jmp 0x57c457
mov ecx, edi
mov eax, dword [ecx + 0x14]
add dword [ecx + 0xc], 1
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x20]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], edx
xor edx, edx
mov byte [eax], 0x89
mov byte [eax + 3], 0
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov byte [ecx + 0x62], dl
mov eax, ebx
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ecx + 0x14]
test ebx, ebx
mov edi, dword [ecx]
je 0x57c4a1
cmp byte [edi + 0x1e], 0
jne 0x57c4a1
test eax, eax
jge 0x57c474
mov eax, dword [ecx + 0xc]
sub eax, 1
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*4 + 0x10]
lea ebx, [ebx + eax*4]
movsx eax, byte [ebx + 1]
call fcn.005408f0
xor eax, eax
cmp esi, eax
mov dword [ebx + 0x10], eax
jne 0x57c498
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], al
jmp 0x57c4ab
mov dword [ebx + 0x10], esi
mov byte [ebx + 1], 0xff
jmp 0x57c4ab
mov ecx, esi
or eax, 0xffffffff
call fcn.005408f0
mov ecx, dword [esp + 0x10]
movzx eax, byte [ecx + 0x28]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + edx*8 + 0x14]
lea ebx, [eax + edx*8 + 8]
mov edx, dword [ebx + 0x18]
mov dword [ecx + 0x10], edx
mov edx, dword [esi + 0x40]
test edx, edx
mov edi, 0xfff0bdc0
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc], edi
je 0x57c50a
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
xor edi, edi
test ecx, ecx
mov dword [esp + 0xc], edi
jle 0x57c50a
mov eax, dword [eax + 8]
add eax, 0xc
cmp dword [eax], edx
je 0x57c506
add edi, 1
add eax, 0x10
cmp edi, ecx
jl 0x57c4f8
mov dword [esp + 0xc], edi
test byte [esi + 0x1e], 2
jne 0x57c69f
cmp dword [esi + 0x18], 0
jne 0x57c69f
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
test eax, 0x8000000
je 0x57c60f
mov esi, dword [esi + 0x30]
test esi, esi
mov dword [esp + 0x2c], esi
je 0x57c553
lea ebx, [ebx]
mov edx, dword [esi]
cmp edx, dword [esp + 0x28]
je 0x57c54f
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x57c540
mov dword [esp + 0x2c], esi
mov eax, dword [ebx + 0x18]
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebx + 0xc]
cmp dword [ebx + 0x10], esi
mov dword [esp + 0x3c], eax
jg 0x57c578
mov edi, ebx
call fcn.00540600
test eax, eax
je 0x57c578
mov eax, 1
jmp 0x57c5a5
mov eax, dword [ebx + 0x14]
xor ecx, ecx
add dword [ebx + 0xc], 1
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x3c]
mov byte [eax], 0x7f
mov byte [eax + 3], cl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebx + 0x62], cl
mov eax, esi
mov esi, dword [ebx + 0x14]
test esi, esi
mov edi, dword [ebx]
je 0x57c6d6
cmp byte [edi + 0x1e], 0
jne 0x57c6d6
test eax, eax
jge 0x57c5c6
mov eax, dword [ebx + 0xc]
sub eax, 1
lea eax, [eax + eax*4]
mov ecx, dword [esi + eax*4 + 0x10]
lea esi, [esi + eax*4]
movsx eax, byte [esi + 1]
call fcn.005408f0
cmp dword [esp + 0x2c], 0
mov edi, dword [esp + 0xc]
mov dword [esi + 0x10], 0
jne 0x57c5fb
mov dword [esi + 0x10], 0
mov byte [esi + 1], 0
jmp 0x57c6a3
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xf6
add dword [eax + 0xc], 1
jmp 0x57c6a3
test eax, 0x800000
jne 0x57c68a
test byte [ebp + 0x18], 0x10
jne 0x57c68a
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + 0x18]
xor ecx, ecx
cmp byte [edx + 6], cl
setne cl
add ecx, 0x26
push ecx
mov ecx, dword [ebp + 8]
push edi
push eax
mov eax, esi
call fcn.005511d0
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp byte [ecx + 6], 0
jne 0x57c69f
cmp dword [esi + 8], 0x40
jge 0x57c69f
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
mov esi, eax
xor edx, edx
or esi, ecx
je 0x57c66f
shrd eax, ecx, 1
shr ecx, 1
mov esi, eax
add edx, 1
or esi, ecx
jne 0x57c660
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx + 0xc]
push edx
sub eax, 1
push ebx
mov ecx, 0xfffffff2
call fcn.00540a30
add esp, 8
jmp 0x57c6a3
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
push edx
push 0
push eax
mov eax, dword [ebp + 8]
push edi
call fcn.00541ef0
add esp, 0x10
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
test eax, 0x20000000
je 0x57c6dc
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call fcn.00572730
add esp, 0x18
jmp 0x57c7c1
mov edi, dword [esp + 0xc]
jmp 0x57c6a3
test eax, 0xf0000
je 0x57c7c1
mov edi, dword [esp + 0x10]
mov esi, dword [edi + 8]
mov eax, dword [ebp + 8]
push esi
push eax
call fcn.00565e20
mov edx, dword [esi + 0x14]
mov esi, dword [ebx + 0xc]
mov ecx, dword [edi + 0x14]
add esp, 8
cmp dword [ebx + 0x10], esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], edx
jg 0x57c727
mov edi, ebx
call fcn.00540600
test eax, eax
je 0x57c727
mov eax, 1
jmp 0x57c761
mov ecx, dword [ebx + 0x14]
add dword [ebx + 0xc], 1
mov edx, dword [esp + 0x3c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xc]
mov byte [eax], 0x26
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov byte [ebx + 0x62], 0
mov eax, esi
mov ecx, dword [ebx + 0x14]
mov edi, dword [ebx]
xor esi, esi
cmp ecx, esi
je 0x57c7af
cmp byte [edi + 0x1e], 0
jne 0x57c7af
cmp eax, esi
jge 0x57c77c
mov eax, dword [ebx + 0xc]
sub eax, 1
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*4]
movsx eax, byte [ebx + 1]
mov ecx, dword [ebx + 0x10]
call fcn.005408f0
mov eax, dword [esp + 0x44]
cmp eax, esi
mov edi, dword [esp + 0xc]
mov dword [ebx + 0x10], esi
jne 0x57c7a6
mov dword [ebx + 0x10], esi
mov byte [ebx + 1], 0
jmp 0x57c7c1
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], 0xfa
jmp 0x57c7c1
mov ecx, dword [esp + 0x44]
mov eax, 0xfffffff0
call fcn.005408f0
mov edi, dword [esp + 0xc]
mov eax, dword [ebp + 8]
push edi
call fcn.00560b30
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
add esp, 4
xor ecx, ecx
test eax, eax
jle 0x57c7f8
mov esi, dword [esp + 0x18]
mov esi, dword [esi + 0x18]
add edx, 4
cmp dword [edx], esi
je 0x57c87b
add ecx, 1
add edx, 4
cmp ecx, eax
jl 0x57c7e6
xor eax, eax
xor edx, edx
add dword [esp + 0x10], 0x40
not eax
and dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
not edx
and dword [esp + 0x34], edx
add eax, 1
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x20], eax
jl 0x57c2ab
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov dword [ecx + 0xc], eax
cmp byte [edx + 0x1e], 0
jne 0x57c33e
xor esi, esi
or eax, 0xffffffff
or edx, 0xffffffff
cmp dword [esp + 0x24], esi
mov ebx, ecx
jle 0x57c872
lea edi, [ebx + 0x48]
push edx
push eax
mov eax, dword [ebp + 0x18]
push eax
push esi
push ebx
call fcn.005733a0
mov ecx, dword [edi]
add esi, 1
add esp, 0x14
add edi, 0x40
cmp esi, dword [esp + 0x24]
mov dword [ebx + 0x10], ecx
jl 0x57c851
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 1
xor edx, edx
call fcn.005b8300
jmp 0x57c7fc