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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc0
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
movzx eax, word [eax]
cmp ax, 0x40
push esi
jle 0x56be9c
push 0x40
push str.at_most__d_tables_in_a_join
mov esi, ebx
call fcn.0055887a
pop ecx
pop ecx
xor eax, eax
jmp 0x56c433
test byte [ebp + 0x18], 0x80
je 0x56beab
mov dword [ebp - 8], 1
jmp 0x56beaf
cwde
mov dword [ebp - 8], eax
mov eax, dword [ebx]
push edi
mov edi, dword [ebp - 8]
imul edi, edi, 0x50
add edi, 0x37
and edi, 0xfffffff8
lea ecx, [edi + 0x264]
push ecx
mov dword [ebp - 0x20], eax
call fcn.0054e73c
mov esi, eax
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x1e], 0
pop ecx
mov dword [ebp - 4], esi
je 0x56bee9
push esi
push eax
call fcn.00541d27
pop ecx
jmp 0x56c42f
mov eax, dword [ebp - 8]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x38]
mov dword [esi], ebx
call fcn.0054b8ce
mov dword [esi + 0x14], eax
mov ax, word [ebp + 0x18]
add edi, esi
mov word [esi + 4], ax
push 0x104
lea eax, [edi + 0x160]
mov dword [esi + 0x1c], edi
fld qword [ebx + 0x1c0]
push 0
fstp qword [esi + 0x20]
push eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x1c], eax
call fcn.00586790
push dword [ebp - 0x1c]
mov ecx, ebx
mov eax, edi
call fcn.00547d93
add esp, 0x10
cmp dword [ebx + 0x15c], 0
jne 0x56bf6d
mov eax, dword [ebx]
test byte [eax + 0xc], 0x40
jne 0x56bf6d
push dword [ebp + 0x10]
and dword [ebp - 0x64], 0
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], 0x56953c
mov dword [ebp - 0x60], ebx
call fcn.0054c13c
pop ecx
pop ecx
push 0x45
push dword [ebp + 0x10]
push edi
call fcn.0054dbb5
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x56bfa8
cmp dword [ebp - 8], 0
je 0x56bf97
push dword [ebp + 0x10]
push 3
pop eax
call fcn.0054c4f3
pop ecx
test eax, eax
je 0x56bfa8
push 8
push dword [esi + 0x14]
push dword [ebp + 0x10]
push ebx
call fcn.005675bf
add esp, 0x10
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x18], 0
xor ecx, ecx
cmp cx, word [eax]
jge 0x56c000
mov ebx, dword [ebp - 0x1c]
add eax, 0x14
mov dword [ebp - 0x30], eax
mov ecx, dword [ebx]
mov edx, dword [eax + 0xc]
mov dword [ebx + ecx*4 + 4], edx
inc dword [ebx]
mov ecx, dword [eax]
test ecx, ecx
je 0x56bfec
test byte [ecx + 0x22], 0x10
je 0x56bfec
mov ecx, dword [ebp - 0x18]
xor eax, eax
inc eax
xor edx, edx
call fcn.0058b1a0
or dword [edi + 8], eax
or dword [edi + 0xc], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 0xc]
movsx ecx, word [ecx]
inc dword [ebp - 0x18]
add eax, 0x38
cmp dword [ebp - 0x18], ecx
mov dword [ebp - 0x30], eax
jl 0x56bfbf
push dword [ebp + 0xc]
call fcn.0056be45
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x1e], 0
pop ecx
jne 0x56c419
mov eax, dword [ebp - 8]
or dword [ebp - 0x10], 0xffffffff
or dword [ebp - 0xc], 0xffffffff
or dword [ebp - 0x30], 0xffffffff
and dword [ebp - 0x24], 0
and dword [ebp - 0x18], 0
lea ebx, [esi + 0x30]
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x28], ebx
test eax, eax
jle 0x56c321
dec eax
mov dword [ebp - 0x6c], eax
or dword [ebp - 0x34], 0xffffffff
fld qword [0x669958]
xor eax, eax
push 0xa
pop ecx
lea edi, [ebp - 0xc0]
rep stosd dword es:[edi], eax
fstp qword [ebp - 0xa8]
mov eax, dword [ebp - 0x24]
xor ecx, ecx
xor edx, edx
cmp eax, dword [ebp - 0x6c]
mov dword [ebp - 0x50], ecx
setl dl
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
cmp edx, ecx
mov dword [ebp - 0x14], edx
jl 0x56c265
jmp 0x56c085
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x34], 0
jge 0x56c265
mov edx, dword [ebp + 0xc]
mov ecx, eax
imul ecx, ecx, 0x38
cmp eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
lea ebx, [ecx + edx + 8]
jge 0x56c25c
mov eax, dword [ebp - 0x24]
imul eax, eax, 0x50
lea eax, [eax + esi + 0x78]
mov dword [ebp - 0x4c], eax
test byte [ebx + 0x15], 0xa
push 0
pop eax
setne al
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x2c], eax
je 0x56c0d3
cmp dword [ebp - 0x3c], 0
jne 0x56c25c
push dword [ebx + 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.00547dba
pop ecx
mov ecx, edx
mov edi, eax
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x5c], ecx
and ecx, dword [ebp - 0xc]
or eax, ecx
jne 0x56c104
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x24]
jne 0x56c246
inc dword [ebp - 0x24]
jmp 0x56c246
xor edx, edx
cmp dword [ebp - 0x14], edx
je 0x56c112
mov eax, dword [ebp - 0x5c]
mov ecx, edi
jmp 0x56c118
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x18], edx
jne 0x56c12b
mov eax, dword [ebp + 0x14]
cmp eax, edx
je 0x56c12b
mov eax, dword [eax]
jmp 0x56c12d
xor eax, eax
cmp dword [ebx + 0x34], edx
jne 0x56c135
inc dword [ebp - 0x50]
mov edx, dword [ebx + 0xc]
test byte [edx + 0x22], 0x10
je 0x56c164
push dword [ebp - 0x4c]
lea edx, [ebp - 0x98]
push edx
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x54]
push ecx
push ebx
push dword [ebp - 0x40]
push dword [ebp + 8]
call fcn.005612f8
add esp, 0x28
jmp 0x56c187
push eax
push dword [ebp - 0xc]
lea esi, [ebp - 0x98]
push dword [ebp - 0x10]
push dword [ebp - 0x54]
push ecx
push ebx
push dword [ebp - 0x40]
push dword [ebp + 8]
call fcn.0055fd9b
mov esi, dword [ebp - 4]
add esp, 0x20
cmp dword [ebp - 0x14], 0
je 0x56c1a2
test dword [ebp - 0x98], 0x100f3000
jne 0x56c1a2
mov eax, dword [ebp - 0x5c]
or dword [ebp - 0x48], edi
or dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x74]
and eax, dword [ebp - 0x10]
and ecx, dword [ebp - 0xc]
or eax, ecx
jne 0x56c240
xor edx, edx
cmp dword [ebp - 0x34], edx
jl 0x56c1d8
and edi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x5c]
and ecx, dword [ebp - 0x44]
mov eax, edi
or eax, ecx
jne 0x56c1d8
test dword [ebp - 0x98], 0x100f3000
je 0x56c240
cmp dword [ebp - 0x50], edx
je 0x56c1ee
cmp dword [ebx + 0x34], edx
je 0x56c1ee
test dword [ebp - 0x98], 0x100f3000
je 0x56c240
cmp dword [ebp - 0x34], edx
jl 0x56c226
fld qword [ebp - 0xa8]
fcomp qword [ebp - 0x80]
fnstsw ax
test ah, 0x41
je 0x56c226
fld qword [ebp - 0xa8]
fcomp qword [ebp - 0x80]
fnstsw ax
test ah, 1
jne 0x56c240
fld qword [ebp - 0xb8]
fcomp qword [ebp - 0x90]
fnstsw ax
test ah, 0x41
jne 0x56c240
mov eax, dword [ebp - 0x2c]
push 0xa
pop ecx
lea esi, [ebp - 0x98]
lea edi, [ebp - 0xc0]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 4]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x3c], 0
jne 0x56c25c
inc dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0x4c], 0x50
add ebx, 0x38
cmp eax, dword [ebp - 8]
jl 0x56c0b4
dec dword [ebp - 0x14]
jns 0x56c082
mov ebx, dword [ebp - 0xc0]
test ebx, 0x1000000
je 0x56c279
mov eax, dword [ebp + 0x14]
and dword [eax], 0
mov edx, dword [ebp - 0x28]
and dword [ebp - 0x30], ebx
push 6
pop ecx
lea esi, [ebp - 0xc0]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
test ebx, 0x200f0000
je 0x56c2a2
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
mov dword [edx + 0x20], ecx
inc dword [eax + 0x44]
jmp 0x56c2a6
or dword [edx + 0x20], 0xffffffff
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 0xc]
imul eax, eax, 0x38
lea esi, [eax + ecx]
push dword [esi + 0x20]
mov eax, dword [ebp - 0x1c]
call fcn.00547dba
not eax
fld1
and dword [ebp - 0x10], eax
mov al, byte [ebp - 0x34]
fcomp qword [ebp - 0xb8]
pop ecx
mov ecx, dword [ebp - 0x28]
mov byte [ecx + 0x34], al
not edx
and dword [ebp - 0xc], edx
fnstsw ax
test ah, 0x41
mov eax, dword [ebp + 8]
jp 0x56c2f5
fld qword [eax + 0x1c0]
fmul qword [ebp - 0xb8]
fstp qword [eax + 0x1c0]
mov esi, dword [esi + 0x3c]
test esi, esi
je 0x56c308
test ebx, 0xf0000
je 0x56c406
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x28], 0x50
cmp eax, dword [ebp - 8]
mov esi, dword [ebp - 4]
jl 0x56c042
mov ebx, dword [ebp - 0x70]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0
jne 0x56c419
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x1e], 0
jne 0x56c419
mov eax, dword [ebp - 0x30]
and eax, 0x4000000
je 0x56c34f
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x56c34f
and dword [ecx], 0
test byte [ebp + 0x18], 4
je 0x56c363
test eax, eax
je 0x56c363
and dword [ebx], 0xff7fffff
mov byte [esi + 6], 1
mov eax, dword [ebp + 8]
or esi, 0xffffffff
call fcn.00564738
fld1
mov eax, dword [ebp - 4]
fstp qword [eax + 0x28]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x28], ebx
test eax, eax
jle 0x56c539
mov dword [ebp - 0x3c], eax
movzx eax, byte [ebx + 0x34]
fld qword [ebx + 8]
mov ecx, dword [ebp + 0xc]
imul eax, eax, 0x38
lea edi, [eax + ecx + 8]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x18]
mov dword [ebx + 0x1c], ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
fmul qword [ecx + 0x28]
fstp qword [ecx + 0x28]
mov esi, dword [eax + 0x44]
mov ecx, dword [ebp - 0x20]
call fcn.00547588
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
test byte [eax + 0x22], 2
jne 0x56c4b9
xor edx, edx
cmp dword [eax + 0x1c], edx
jne 0x56c4b9
mov ecx, dword [ebx]
test ecx, 0x8000000
je 0x56c437
push 0xfffffffffffffff6
push dword [ebp - 0x20]
call fcn.00547c2e
pop ecx
push eax
push edx
push edx
push dword [edi + 0x18]
push 0x7f
push dword [ebp - 0x38]
call fcn.0054fa51
add esp, 0x1c
jmp 0x56c4b9
push dword [esi]
mov esi, eax
push str.cannot_use_index:__s
call fcn.0055887a
pop ecx
pop ecx
mov esi, dword [ebp - 4]
fld qword [esi + 0x20]
mov eax, dword [ebp + 8]
push dword [ebp - 0x20]
fstp qword [eax + 0x1c0]
mov ebx, esi
call fcn.0054deaa
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
test ecx, 0x800000
jne 0x56c4a2
test byte [ebp + 0x18], 0x10
jne 0x56c4a2
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 0x1c]
xor eax, eax
cmp byte [ecx + 6], al
setne al
add eax, 0x26
push eax
push dword [ebp - 0x14]
push dword [edi + 0x18]
push dword [ebp + 8]
call fcn.0055353c
mov eax, dword [ebp - 4]
add esp, 0x10
cmp byte [eax + 6], 0
jne 0x56c4b9
mov eax, esi
cmp dword [eax + 8], 0x40
jge 0x56c4b9
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x2c]
xor edx, edx
jmp 0x56c48a
shrd eax, ecx, 1
shr ecx, 1
inc edx
mov esi, eax
or esi, ecx
jne 0x56c483
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 0x1c]
push 0xfffffffffffffff2
push edx
dec eax
push ecx
call fcn.0054bb12
jmp 0x56c4b6
push dword [eax]
mov ebx, dword [eax + 0x14]
mov eax, dword [ebp + 8]
push edx
push dword [ebp - 0x14]
call fcn.0054ca87
mov ebx, dword [ebp - 0x28]
add esp, 0xc
mov eax, dword [ebx]
test eax, 0x20000000
je 0x56c4da
push ebx
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push edi
push dword [ebp - 0x40]
push dword [ebp + 8]
call fcn.0055fa2b
add esp, 0x18
jmp 0x56c506
test eax, 0xf0000
je 0x56c506
mov esi, dword [ebx + 0x10]
push esi
push dword [ebp + 8]
call fcn.0055a00e
push 0xfffffffffffffff0
push eax
push dword [ebp - 0x14]
push dword [esi + 0x14]
push dword [ebx + 0x20]
push 0x26
push dword [ebp - 0x38]
call fcn.0054fa51
add esp, 0x24
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
call fcn.00564738
mov eax, dword [ebp - 0x40]
push dword [edi + 0x18]
mov eax, dword [eax + 4]
call fcn.00547dba
not eax
and dword [ebp - 0x10], eax
not edx
and dword [ebp - 0xc], edx
add ebx, 0x50
dec dword [ebp - 0x3c]
pop ecx
mov dword [ebp - 0x28], ebx
jne 0x56c38d
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x1e], 0
jne 0x56c416
or edx, 0xffffffff
xor ebx, ebx
cmp dword [ebp - 8], ebx
mov eax, edx
mov edi, ecx
jle 0x56c580
lea esi, [edi + 0x5c]
push edx
push eax
push dword [ebp + 0x18]
push ebx
push edi
call fcn.0056a17c
mov ecx, dword [esi]
add esp, 0x14
inc ebx
add esi, 0x50
cmp ebx, dword [ebp - 8]
mov dword [edi + 0x10], ecx
jl 0x56c563
mov eax, edi
jmp 0x56c432