Function at 0x5a4f10
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 0x5a4f49
push 0x40
push str.at_most__d_tables_in_a_join
mov esi, ebx
call fcn.0059192d
pop ecx
pop ecx
xor eax, eax
jmp 0x5a54e0
test byte [ebp + 0x18], 0x80
je 0x5a4f58
mov dword [ebp - 8], 1
jmp 0x5a4f5c
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.005877ef
mov esi, eax
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x1e], 0
pop ecx
mov dword [ebp - 4], esi
je 0x5a4f96
push esi
push eax
call fcn.0057add7
pop ecx
jmp 0x5a54dc
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.00584981
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.005c8fb0
push dword [ebp - 0x1c]
mov ecx, ebx
mov eax, edi
call fcn.00580e43
add esp, 0x10
cmp dword [ebx + 0x15c], 0
jne 0x5a501a
mov eax, dword [ebx]
test byte [eax + 0xc], 0x40
jne 0x5a501a
push dword [ebp + 0x10]
and dword [ebp - 0x64], 0
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], 0x5a25e9
mov dword [ebp - 0x60], ebx
call fcn.005851ef
pop ecx
pop ecx
push 0x45
push dword [ebp + 0x10]
push edi
call fcn.00586c68
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x5a5055
cmp dword [ebp - 8], 0
je 0x5a5044
push dword [ebp + 0x10]
push 3
pop eax
call fcn.005855a6
pop ecx
test eax, eax
je 0x5a5055
push 8
push dword [esi + 0x14]
push dword [ebp + 0x10]
push ebx
call fcn.005a066f
add esp, 0x10
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x18], 0
xor ecx, ecx
cmp cx, word [eax]
jge 0x5a50ad
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 0x5a5099
test byte [ecx + 0x22], 0x10
je 0x5a5099
mov ecx, dword [ebp - 0x18]
xor eax, eax
inc eax
xor edx, edx
call fcn.005cd9c0
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 0x5a506c
push dword [ebp + 0xc]
call fcn.005a4ef2
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x1e], 0
pop ecx
jne 0x5a54c6
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 0x5a53ce
dec eax
mov dword [ebp - 0x6c], eax
or dword [ebp - 0x34], 0xffffffff
fld qword [0x6b28b0]
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 0x5a5312
jmp 0x5a5132
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x34], 0
jge 0x5a5312
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 0x5a5309
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 0x5a5180
cmp dword [ebp - 0x3c], 0
jne 0x5a5309
push dword [ebx + 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.00580e6a
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 0x5a51b1
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x24]
jne 0x5a52f3
inc dword [ebp - 0x24]
jmp 0x5a52f3
xor edx, edx
cmp dword [ebp - 0x14], edx
je 0x5a51bf
mov eax, dword [ebp - 0x5c]
mov ecx, edi
jmp 0x5a51c5
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x18], edx
jne 0x5a51d8
mov eax, dword [ebp + 0x14]
cmp eax, edx
je 0x5a51d8
mov eax, dword [eax]
jmp 0x5a51da
xor eax, eax
cmp dword [ebx + 0x34], edx
jne 0x5a51e2
inc dword [ebp - 0x50]
mov edx, dword [ebx + 0xc]
test byte [edx + 0x22], 0x10
je 0x5a5211
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.0059a3a8
add esp, 0x28
jmp 0x5a5234
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.00598e4b
mov esi, dword [ebp - 4]
add esp, 0x20
cmp dword [ebp - 0x14], 0
je 0x5a524f
test dword [ebp - 0x98], 0x100f3000
jne 0x5a524f
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 0x5a52ed
xor edx, edx
cmp dword [ebp - 0x34], edx
jl 0x5a5285
and edi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x5c]
and ecx, dword [ebp - 0x44]
mov eax, edi
or eax, ecx
jne 0x5a5285
test dword [ebp - 0x98], 0x100f3000
je 0x5a52ed
cmp dword [ebp - 0x50], edx
je 0x5a529b
cmp dword [ebx + 0x34], edx
je 0x5a529b
test dword [ebp - 0x98], 0x100f3000
je 0x5a52ed
cmp dword [ebp - 0x34], edx
jl 0x5a52d3
fld qword [ebp - 0xa8]
fcomp qword [ebp - 0x80]
fnstsw ax
test ah, 0x41
je 0x5a52d3
fld qword [ebp - 0xa8]
fcomp qword [ebp - 0x80]
fnstsw ax
test ah, 1
jne 0x5a52ed
fld qword [ebp - 0xb8]
fcomp qword [ebp - 0x90]
fnstsw ax
test ah, 0x41
jne 0x5a52ed
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 0x5a5309
inc dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0x4c], 0x50
add ebx, 0x38
cmp eax, dword [ebp - 8]
jl 0x5a5161
dec dword [ebp - 0x14]
jns 0x5a512f
mov ebx, dword [ebp - 0xc0]
test ebx, 0x1000000
je 0x5a5326
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 0x5a534f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
mov dword [edx + 0x20], ecx
inc dword [eax + 0x44]
jmp 0x5a5353
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.00580e6a
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 0x5a53a2
fld qword [eax + 0x1c0]
fmul qword [ebp - 0xb8]
fstp qword [eax + 0x1c0]
mov esi, dword [esi + 0x3c]
test esi, esi
je 0x5a53b5
test ebx, 0xf0000
je 0x5a54b3
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 0x5a50ef
mov ebx, dword [ebp - 0x70]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0
jne 0x5a54c6
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x1e], 0
jne 0x5a54c6
mov eax, dword [ebp - 0x30]
and eax, 0x4000000
je 0x5a53fc
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x5a53fc
and dword [ecx], 0
test byte [ebp + 0x18], 4
je 0x5a5410
test eax, eax
je 0x5a5410
and dword [ebx], 0xff7fffff
mov byte [esi + 6], 1
mov eax, dword [ebp + 8]
or esi, 0xffffffff
call fcn.0059d7e8
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 0x5a55e6
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.00580638
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
test byte [eax + 0x22], 2
jne 0x5a5566
xor edx, edx
cmp dword [eax + 0x1c], edx
jne 0x5a5566
mov ecx, dword [ebx]
test ecx, 0x8000000
je 0x5a54e4
push 0xfffffffffffffff6
push dword [ebp - 0x20]
call fcn.00580cde
pop ecx
push eax
push edx
push edx
push dword [edi + 0x18]
push 0x7f
push dword [ebp - 0x38]
call fcn.00588b04
add esp, 0x1c
jmp 0x5a5566
push dword [esi]
mov esi, eax
push str.cannot_use_index:__s
call fcn.0059192d
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.00586f5d
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
test ecx, 0x800000
jne 0x5a554f
test byte [ebp + 0x18], 0x10
jne 0x5a554f
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.0058c5ef
mov eax, dword [ebp - 4]
add esp, 0x10
cmp byte [eax + 6], 0
jne 0x5a5566
mov eax, esi
cmp dword [eax + 8], 0x40
jge 0x5a5566
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x2c]
xor edx, edx
jmp 0x5a5537
shrd eax, ecx, 1
shr ecx, 1
inc edx
mov esi, eax
or esi, ecx
jne 0x5a5530
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 0x1c]
push 0xfffffffffffffff2
push edx
dec eax
push ecx
call fcn.00584bc5
jmp 0x5a5563
push dword [eax]
mov ebx, dword [eax + 0x14]
mov eax, dword [ebp + 8]
push edx
push dword [ebp - 0x14]
call fcn.00585b3a
mov ebx, dword [ebp - 0x28]
add esp, 0xc
mov eax, dword [ebx]
test eax, 0x20000000
je 0x5a5587
push ebx
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push edi
push dword [ebp - 0x40]
push dword [ebp + 8]
call fcn.00598adb
add esp, 0x18
jmp 0x5a55b3
test eax, 0xf0000
je 0x5a55b3
mov esi, dword [ebx + 0x10]
push esi
push dword [ebp + 8]
call fcn.005930c1
push 0xfffffffffffffff0
push eax
push dword [ebp - 0x14]
push dword [esi + 0x14]
push dword [ebx + 0x20]
push 0x26
push dword [ebp - 0x38]
call fcn.00588b04
add esp, 0x24
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
call fcn.0059d7e8
mov eax, dword [ebp - 0x40]
push dword [edi + 0x18]
mov eax, dword [eax + 4]
call fcn.00580e6a
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 0x5a543a
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 0x5a54c3
or edx, 0xffffffff
xor ebx, ebx
cmp dword [ebp - 8], ebx
mov eax, edx
mov edi, ecx
jle 0x5a562d
lea esi, [edi + 0x5c]
push edx
push eax
push dword [ebp + 0x18]
push ebx
push edi
call fcn.005a3229
mov ecx, dword [esi]
add esp, 0x14
inc ebx
add esi, 0x50
cmp ebx, dword [ebp - 8]
mov dword [edi + 0x10], ecx
jl 0x5a5610
mov eax, edi
jmp 0x5a54df