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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x40], eax
movzx eax, word [ecx]
cmp ax, 0x40
jle 0x59146d
push 0x40
push str.at_most__d_tables_in_a_join
call fcn.005454f0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [ebp + 0x18], 0x80
mov ebx, 1
jne 0x59147b
movsx ebx, ax
mov esi, dword [edi]
mov dword [esp + 0x20], ebx
lea ebx, [ebx + ebx*4]
shl ebx, 4
add ebx, 0x37
and ebx, 0xfffffff8
lea ecx, [ebx + 0x264]
mov dword [esp + 0x28], esi
call fcn.00543630
mov esi, eax
test esi, esi
mov dword [esp + 0x10], esi
je 0x5914b8
lea eax, [ebx + 0x264]
push eax
push 0
push esi
call fcn.005e6f30
add esp, 0xc
mov edx, dword [esp + 0x28]
cmp byte [edx + 0x1e], 0
je 0x5914d7
mov eax, edx
push esi
push eax
call fcn.00543400
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x40]
mov dword [esi + 0x18], ecx
mov dword [esi], edi
mov dword [esi + 8], edx
call fcn.0055cd10
mov dword [esi + 0x14], eax
mov ax, word [ebp + 0x18]
add ebx, esi
mov word [esi + 4], ax
push 0x104
mov dword [esi + 0x1c], ebx
fld qword [edi + 0x1c0]
lea eax, [ebx + 0x160]
fstp qword [esi + 0x20]
push 0
push eax
mov dword [esp + 0x44], ebx
call fcn.005e6f30
mov edx, dword [ebp + 0x10]
lea eax, [ebx + 0x160]
mov dword [ebx + 4], eax
xor eax, eax
mov dword [ebx + 0x14], eax
lea ecx, [ebx + 0x20]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
add esp, 0xc
mov eax, edi
mov dword [ebx], edi
mov dword [ebx + 0x18], 8
mov dword [ebx + 0x1c], ecx
call fcn.0056c580
mov edx, dword [ebp + 0x10]
push 0x45
push edx
push ebx
call fcn.0058cd70
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x59158a
cmp dword [esp + 0x20], 0
je 0x591577
mov eax, dword [ebp + 0x10]
call fcn.0056a120
test eax, eax
je 0x59158a
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp + 0x10]
push 8
push eax
push ecx
push edi
call fcn.0056ca50
add esp, 0x10
mov esi, dword [ebp + 0xc]
xor edi, edi
cmp word [esi], di
jle 0x5915e6
add esi, 0x14
jmp 0x5915a0
mov edx, dword [ebx + 0x160]
mov ecx, dword [esi + 0xc]
lea eax, [ebx + 0x160]
mov dword [eax + edx*4 + 4], ecx
add dword [eax], 1
mov eax, dword [esi]
test eax, eax
je 0x5915d6
test byte [eax + 0x22], 0x10
je 0x5915d6
mov eax, 1
xor edx, edx
mov ecx, edi
call fcn.005e7af0
or dword [ebx + 8], eax
or dword [ebx + 0xc], edx
mov edx, dword [ebp + 0xc]
movsx eax, word [edx]
add edi, 1
add esi, 0x38
cmp edi, eax
jl 0x5915a0
mov esi, dword [ebx + 0x14]
sub esi, 1
js 0x591601
mov edi, dword [ebp + 0xc]
push esi
push ebx
push edi
call fcn.0058daf0
add esp, 0xc
sub esi, 1
jns 0x5915f1
mov ecx, dword [esp + 0x28]
cmp byte [ecx + 0x1e], 0
jne 0x591a96
or eax, 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
xor ecx, ecx
add eax, 0x30
cmp dword [esp + 0x20], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], eax
jle 0x591a40
lea ecx, [ecx]
mov ecx, dword [esp + 0x20]
fld qword [0x638690]
xor eax, eax
or esi, 0xffffffff
xor edx, edx
add ecx, esi
cmp dword [esp + 0x34], ecx
mov dword [esp + 0x78], eax
setl dl
mov dword [esp + 0x7c], eax
fstp qword [esp + 0x78]
mov dword [esp + 0x24], esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov ecx, edx
cmp ecx, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x48], ecx
jl 0x591909
lea ebx, [ebx]
test esi, esi
jge 0x591909
mov ebx, dword [esp + 0x34]
mov ecx, dword [ebp + 0xc]
lea eax, [ebx*8]
sub eax, ebx
cmp ebx, dword [esp + 0x20]
lea edx, [ecx + eax*8 + 8]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x14], edx
jge 0x5918fa
mov ecx, dword [esp + 0x10]
mov eax, ebx
lea eax, [eax + eax*4]
shl eax, 4
lea edx, [eax + ecx + 0x78]
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x14]
mov al, byte [eax + 0x15]
and al, 0xa
neg al
sbb eax, eax
neg eax
cmp ebx, dword [esp + 0x34]
mov dword [esp + 0x58], eax
je 0x591713
test eax, eax
jne 0x5918fa
mov esi, dword [esp + 0x38]
xor ecx, ecx
add esi, 0x160
cmp dword [esi], ecx
jle 0x59173e
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0x18]
lea eax, [esi + 4]
lea ecx, [ecx]
cmp dword [eax], edx
je 0x591766
add ecx, 1
add eax, 4
cmp ecx, dword [esi]
jl 0x591730
xor esi, esi
xor edi, edi
mov eax, esi
and eax, dword [esp + 0x18]
mov ecx, edi
and ecx, dword [esp + 0x1c]
or eax, ecx
jne 0x591778
cmp ebx, dword [esp + 0x34]
jne 0x5918df
add dword [esp + 0x34], 1
jmp 0x5918df
mov eax, 1
xor edx, edx
call fcn.005e7af0
mov esi, eax
mov edi, edx
jmp 0x591742
cmp dword [esp + 0x48], 0
je 0x591785
mov ecx, esi
mov edx, edi
jmp 0x59178d
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
cmp dword [esp + 0x3c], 0
jne 0x59179f
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x59179f
mov eax, dword [eax]
jmp 0x5917a1
xor eax, eax
mov ebx, dword [esp + 0x14]
cmp dword [ebx + 0x34], 0
jne 0x5917b0
add dword [esp + 0x5c], 1
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx + 0xc]
test byte [ebx + 0x22], 0x10
je 0x5917ef
mov ebx, dword [esp + 0x4c]
push ebx
lea ebx, [esp + 0x8c]
push ebx
mov ebx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [ebp + 8]
push ebx
push edx
mov edx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x30]
push ecx
push edx
push eax
call fcn.0058f010
add esp, 0x28
jmp 0x59181a
lea ebx, [esp + 0x88]
push ebx
mov ebx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [ebp + 8]
push ebx
push edx
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
push edx
push eax
call fcn.0058f200
add esp, 0x24
cmp dword [esp + 0x48], 0
mov edx, dword [esp + 0x88]
je 0x591838
test edx, 0x100f3000
jne 0x591838
or dword [esp + 0x50], esi
or dword [esp + 0x54], edi
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
and ecx, dword [esp + 0x1c]
and eax, ebx
or eax, ecx
jne 0x5918d4
mov ecx, dword [esp + 0x24]
test ecx, ecx
jl 0x59187c
and esi, dword [esp + 0x50]
and edi, dword [esp + 0x54]
mov eax, esi
or eax, edi
jne 0x59187c
test dword [esp + 0x60], 0x100f3000
je 0x59187c
test edx, 0x100f3000
je 0x5918d4
cmp dword [esp + 0x5c], 0
je 0x591895
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x34], 0
je 0x591895
test edx, 0x100f3000
je 0x5918d4
test ecx, ecx
jl 0x591966
fld qword [esp + 0x78]
fld qword [esp + 0xa0]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x591962
fcompp
fnstsw ax
test ah, 0x41
jp 0x5918d4
fld qword [esp + 0x68]
fcomp qword [esp + 0x90]
fnstsw ax
test ah, 0x41
je 0x591966
mov ebx, dword [esp + 0x44]
cmp dword [esp + 0x58], 0
jne 0x5918fa
add dword [esp + 0x4c], 0x50
add dword [esp + 0x14], 0x38
add ebx, 1
cmp ebx, dword [esp + 0x20]
mov dword [esp + 0x44], ebx
jl 0x5916f2
sub dword [esp + 0x48], 1
mov esi, dword [esp + 0x24]
jns 0x5916b0
mov ecx, dword [esp + 0x60]
test ecx, 0x1000000
je 0x59191e
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x64]
and dword [esp + 0x30], ecx
test ecx, 0x200f0000
mov edi, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x70]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x74]
mov dword [eax + 0x14], edx
je 0x591985
mov ecx, dword [edi + 0x44]
mov dword [eax + 0x20], ecx
add dword [edi + 0x44], 1
jmp 0x59198c
fstp st(1)
fstp st(0)
mov ebx, dword [esp + 0x44]
mov ecx, 0xa
lea esi, [esp + 0x88]
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x24], ebx
jmp 0x5918d8
mov dword [eax + 0x20], 0xffffffff
mov eax, dword [esp + 0x38]
xor ecx, ecx
add eax, 0x160
cmp dword [eax], ecx
jle 0x5919be
lea edx, [esi*8]
sub edx, esi
mov esi, dword [ebp + 0xc]
mov esi, dword [esi + edx*8 + 0x20]
lea edx, [eax + 4]
mov edi, edi
cmp dword [edx], esi
je 0x5919f8
add ecx, 1
add edx, 4
cmp ecx, dword [eax]
jl 0x5919b0
xor eax, eax
xor edx, edx
fld1
mov ecx, dword [esp + 0x24]
fld qword [esp + 0x68]
not eax
and dword [esp + 0x18], eax
fcom st(1)
mov eax, dword [esp + 0x2c]
mov byte [eax + 0x34], cl
not edx
and dword [esp + 0x1c], edx
fnstsw ax
fstp st(1)
test ah, 1
jne 0x591a06
fmul qword [edi + 0x1c0]
fstp qword [edi + 0x1c0]
jmp 0x591a08
mov eax, 1
xor edx, edx
call fcn.005e7af0
jmp 0x5919c2
fstp st(0)
mov eax, dword [ebp + 0xc]
lea edx, [ecx*8]
sub edx, ecx
mov eax, dword [eax + edx*8 + 0x3c]
test eax, eax
je 0x591a26
test dword [esp + 0x60], 0xf0000
je 0x591a86
mov eax, dword [esp + 0x3c]
add dword [esp + 0x2c], 0x50
add eax, 1
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
jl 0x591640
mov edx, dword [ebp + 8]
cmp dword [edx + 0x40], 0
jne 0x591a96
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x1e], 0
jne 0x591a96
mov eax, dword [esp + 0x30]
and eax, 0x4000000
je 0x591a6b
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x591a6b
mov dword [ecx], 0
test byte [ebp + 0x18], 4
je 0x591abd
test eax, eax
je 0x591abd
mov edi, dword [esp + 0x10]
and dword [edi + 0x30], 0xff7fffff
mov byte [edi + 6], 1
jmp 0x591ac1
mov ecx, dword [eax]
push ecx
push str.cannot_use_index:__s
call fcn.005454f0
add esp, 8
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
fld qword [eax + 0x20]
mov ecx, dword [ebp + 8]
push eax
fstp qword [ecx + 0x1c0]
push edx
call fcn.00591390
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x10]
mov ebx, edx
mov eax, dword [ebx + 0x1a8]
test eax, eax
je 0x591acf
mov ebx, eax
cmp dword [ebx + 0x15c], 0
jne 0x591b1d
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x591b02
mov eax, dword [ebx]
call fcn.0055ca10
mov esi, eax
test esi, esi
mov dword [ebx + 0xc], eax
je 0x591b1d
push 0
push 0
push 0
push 0x88
call fcn.0055cbe0
add esp, 0x10
push 0
push 0
push 0
push 1
mov eax, esi
call fcn.0055cbe0
add esp, 0x10
add eax, 1
mov dword [ebx + 0x15c], eax
fld1
or eax, 0xffffffff
mov dword [esp + 0x18], eax
fstp qword [edi + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
test eax, eax
lea ebx, [edi + 0x30]
mov dword [esp + 0x2c], ebx
jle 0x591e28
mov dword [esp + 0x3c], eax
movzx eax, byte [ebx + 0x34]
fld qword [ebx + 8]
mov ecx, dword [esp + 0x10]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + edx*8 + 0x14]
lea edi, [eax + edx*8 + 8]
mov edx, dword [edi + 0x18]
mov dword [ebx + 0x1c], edx
mov eax, 0xfff0bdc0
fmul qword [ecx + 0x28]
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], eax
fstp qword [ecx + 0x28]
mov edx, dword [esi + 0x44]
test edx, edx
je 0x591bb6
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 4]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x58], ecx
jle 0x591bb6
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 8]
add ecx, 0xc
cmp dword [ecx], edx
je 0x591bb2
add eax, 1
add ecx, 0x10
cmp eax, dword [esp + 0x58]
jl 0x591ba2
mov dword [esp + 0x24], eax
test byte [esi + 0x22], 2
jne 0x591cef
cmp dword [esi + 0x1c], 0
jne 0x591cef
mov ebx, dword [ebx]
test ebx, 0x8000000
je 0x591c68
mov ebx, dword [esi + 0x34]
test ebx, ebx
je 0x591bee
mov eax, dword [esp + 0x28]
cmp dword [ebx], eax
je 0x591bee
mov ebx, dword [ebx + 0x10]
test ebx, ebx
jne 0x591be3
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x18]
mov esi, dword [esp + 0x40]
push 0
push 0
push eax
push 0x7f
mov eax, esi
call fcn.0055cbe0
mov edi, dword [esi]
mov esi, dword [esi + 4]
add esp, 0x10
test esi, esi
je 0x591cef
cmp byte [edi + 0x1e], 0
jne 0x591cef
test eax, eax
jge 0x591c2f
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x1c]
sub eax, 1
lea ecx, [eax + eax*4]
movsx eax, byte [esi + ecx*4 + 1]
lea esi, [esi + ecx*4]
mov ecx, dword [esi + 0x10]
call fcn.0055cf70
test ebx, ebx
mov dword [esi + 0x10], 0
jne 0x591c58
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x591cef
mov dword [esi + 0x10], ebx
mov byte [esi + 1], 0xf6
add dword [ebx + 0xc], 1
jmp 0x591cef
test ebx, 0x800000
jne 0x591cda
test byte [ebp + 0x18], 0x10
jne 0x591cda
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
xor edx, edx
cmp byte [ebx + 6], dl
setne dl
add edx, 0x26
push edx
push eax
mov eax, dword [edi + 0x18]
push eax
push ecx
mov eax, esi
call fcn.0057a470
add esp, 0x10
cmp byte [ebx + 6], 0
jne 0x591cef
cmp dword [esi + 8], 0x40
jge 0x591cef
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x2c]
mov esi, eax
xor edx, edx
or esi, ecx
je 0x591cc2
shrd eax, ecx, 1
shr ecx, 1
mov esi, eax
add edx, 1
or esi, ecx
jne 0x591cb3
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 0x1c]
push 0xfffffffffffffff2
push edx
sub eax, 1
push ecx
call fcn.0055d100
add esp, 0xc
jmp 0x591cef
mov edx, dword [esi]
mov ecx, dword [esi + 0x14]
push edx
push 0
push ecx
push eax
mov eax, dword [ebp + 8]
call fcn.0056fee0
add esp, 0x10
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx]
test eax, 0x20000000
je 0x591d22
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push ebx
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
call fcn.0058e700
add esp, 0x18
jmp 0x591dc1
test eax, 0xf0000
je 0x591dc1
mov esi, dword [ebx + 0x10]
mov ecx, dword [ebp + 8]
push esi
push ecx
call fcn.00574a50
mov edx, dword [esp + 0x2c]
mov esi, dword [esi + 0x14]
mov edi, dword [esp + 0x48]
push edx
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x20]
push esi
push eax
push 0x26
mov eax, edi
call fcn.0055cbe0
mov esi, dword [edi + 4]
mov edx, dword [edi]
add esp, 0x18
test esi, esi
je 0x591db1
cmp byte [edx + 0x1e], 0
jne 0x591db1
test eax, eax
jge 0x591d74
mov eax, dword [edi + 0x1c]
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]
mov edi, edx
call fcn.0055cf70
cmp dword [esp + 0x30], 0
mov dword [esi + 0x10], 0
jne 0x591da4
mov dword [esi + 0x10], 0
mov byte [esi + 1], 0
jmp 0x591dc1
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x10], ecx
mov byte [esi + 1], 0xfa
jmp 0x591dc1
mov ecx, dword [esp + 0x30]
mov eax, 0xfffffff0
mov edi, edx
call fcn.0055cf70
mov edx, dword [esp + 0x24]
mov eax, dword [ebp + 8]
push edx
call fcn.00574560
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 4]
mov eax, dword [edx]
add esp, 4
xor ecx, ecx
test eax, eax
jle 0x591e02
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 0x18]
add edx, 4
lea ebx, [ebx]
cmp dword [edx], esi
je 0x591eb1
add ecx, 1
add edx, 4
cmp ecx, eax
jl 0x591df0
xor eax, eax
xor edx, edx
not eax
and dword [esp + 0x18], eax
not edx
and dword [esp + 0x1c], edx
add ebx, 0x50
sub dword [esp + 0x3c], 1
mov dword [esp + 0x2c], ebx
jne 0x591b44
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x1c]
mov eax, dword [esp + 0x28]
mov dword [edi + 0xc], edx
cmp byte [eax + 0x1e], 0
jne 0x591a96
or ebx, 0xffffffff
xor esi, esi
cmp dword [esp + 0x20], esi
mov dword [esp + 0x1c], ebx
jle 0x591ea6
mov edi, dword [esp + 0x10]
add edi, 0x5c
mov ecx, dword [ebp + 0x18]
movzx edx, byte [edi + 8]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push esi
lea eax, [edi - 0x2c]
push eax
mov eax, dword [ebp + 8]
push ecx
call fcn.005900e0
mov edx, dword [esp + 0x30]
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x24]
add esp, 0x14
push edx
push ebx
push eax
push esi
push ecx
call fcn.005903c0
mov dword [esp + 0x30], edx
mov edx, dword [edi]
mov ebx, eax
mov eax, dword [esp + 0x24]
add esi, 1
add esp, 0x14
add edi, 0x50
cmp esi, dword [esp + 0x20]
mov dword [eax + 0x10], edx
jl 0x591e56
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 1
xor edx, edx
call fcn.005e7af0
jmp 0x591e06