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

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0xb8
push ebx
mov ebx, dword [ebp + 0x70]
push edi
mov edi, dword [ebp + 0x6c]
mov eax, dword [edi + 0xc]
mov dword [ebp + 0x34], eax
movzx eax, word [ebx]
cmp ax, 0x40
jle 0x478290
push 0x40
push str.at_most__d_tables_in_a_join
call fcn.00454005
pop ecx
pop ecx
xor eax, eax
jmp 0x4787cf
test byte [ebp + 0x7c], 0x80
je 0x47829f
mov dword [ebp + 0x58], 1
jmp 0x4782a3
cwde
mov dword [ebp + 0x58], eax
push esi
mov esi, dword [ebp + 0x58]
imul esi, esi, 0x50
add esi, 0x37
and esi, 0xfffffff8
mov eax, edi
mov eax, dword [eax]
lea ecx, [esi + 0x264]
push ecx
mov dword [ebp + 0x40], eax
call fcn.0045a0cc
mov edi, eax
mov eax, dword [ebp + 0x40]
cmp byte [eax + 0x1e], 0
pop ecx
mov dword [ebp + 0x50], edi
je 0x4782df
push edi
push eax
call fcn.0044b423
pop ecx
jmp 0x4787cb
mov eax, dword [ebp + 0x58]
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 0x6c]
mov dword [edi], eax
mov eax, dword [ebp + 0x34]
mov dword [edi + 8], ebx
call fcn.00456260
mov dword [edi + 0x14], eax
mov ax, word [ebp + 0x7c]
mov word [edi + 4], ax
mov eax, dword [ebp + 0x6c]
add esi, edi
mov dword [edi + 0x1c], esi
fld qword [eax + 0x1c0]
push 0x104
fstp qword [edi + 0x20]
lea eax, [esi + 0x160]
push 0
push eax
mov dword [ebp + 0x28], esi
mov dword [ebp + 0x44], eax
call fcn.0048e0e0
push dword [ebp + 0x44]
mov ecx, dword [ebp + 0x6c]
mov eax, esi
call fcn.00451f36
push dword [ebp + 0x74]
mov eax, dword [ebp + 0x6c]
call fcn.004757c5
push 0x45
push dword [ebp + 0x74]
push esi
call fcn.004594f2
add esp, 0x20
cmp dword [ebp + 0x74], 0
je 0x47837c
cmp dword [ebp + 0x58], 0
je 0x478369
push dword [ebp + 0x74]
call fcn.0045756e
pop ecx
test eax, eax
je 0x47837c
push 8
push dword [edi + 0x14]
push dword [ebp + 0x74]
push dword [ebp + 0x6c]
call fcn.0047377e
add esp, 0x10
and dword [ebp + 0x48], 0
xor eax, eax
cmp ax, word [ebx]
jge 0x4783cc
lea eax, [ebx + 0x14]
mov dword [ebp + 0x54], eax
mov eax, dword [ebp + 0x54]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 0x44]
call fcn.00451f94
mov eax, dword [ebp + 0x54]
mov eax, dword [eax]
test eax, eax
je 0x4783bd
test byte [eax + 0x22], 0x10
je 0x4783bd
mov ecx, dword [ebp + 0x48]
xor eax, eax
inc eax
xor edx, edx
call fcn.00490120
or dword [esi + 8], eax
or dword [esi + 0xc], edx
movsx eax, word [ebx]
inc dword [ebp + 0x48]
add dword [ebp + 0x54], 0x38
cmp dword [ebp + 0x48], eax
jl 0x47838d
push esi
push ebx
call fcn.0047823a
mov eax, dword [ebp + 0x40]
cmp byte [eax + 0x1e], 0
pop ecx
pop ecx
jne 0x4787b5
mov eax, dword [ebp + 0x58]
or dword [ebp + 0x5c], 0xffffffff
or dword [ebp + 0x60], 0xffffffff
or dword [ebp + 0x10], 0xffffffff
and dword [ebp + 0x3c], 0
and dword [ebp + 0x48], 0
lea ebx, [edi + 0x30]
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x4c], ebx
test eax, eax
jle 0x4786bb
dec eax
mov dword [ebp - 4], eax
or dword [ebp + 0x38], 0xffffffff
push 0x28
xor esi, esi
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.0048e0e0
fld qword [0x4b2b80]
mov ecx, dword [ebp + 0x3c]
fstp qword [ebp - 0x14]
xor eax, eax
add esp, 0xc
cmp ecx, dword [ebp - 4]
mov dword [ebp + 0x18], esi
setl al
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x20], esi
cmp eax, esi
mov dword [ebp + 0x54], eax
jl 0x47860e
cmp dword [ebp + 0x38], 0
jge 0x47860e
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp + 0x70]
mov ecx, eax
imul ecx, ecx, 0x38
cmp eax, dword [ebp + 0x58]
mov dword [ebp + 0x30], eax
lea ebx, [ecx + edx + 8]
jge 0x478605
imul eax, eax, 0x50
lea eax, [eax + edi + 0x78]
mov dword [ebp + 0x24], eax
test byte [ebx + 0x15], 0xa
push 0
pop eax
setne al
mov dword [ebp + 0x2c], eax
mov eax, dword [ebp + 0x3c]
cmp dword [ebp + 0x30], eax
je 0x478499
cmp dword [ebp + 0x2c], 0
jne 0x478605
push dword [ebx + 0x18]
mov eax, dword [ebp + 0x44]
call fcn.00451f67
pop ecx
mov ecx, edx
mov esi, eax
and eax, dword [ebp + 0x5c]
mov dword [ebp + 4], ecx
and ecx, dword [ebp + 0x60]
or eax, ecx
jne 0x4784ca
mov eax, dword [ebp + 0x30]
cmp eax, dword [ebp + 0x3c]
jne 0x4785ef
inc dword [ebp + 0x3c]
jmp 0x4785ef
xor edx, edx
cmp dword [ebp + 0x54], edx
je 0x4784d8
mov eax, dword [ebp + 4]
mov ecx, esi
jmp 0x4784de
mov ecx, dword [ebp + 0x5c]
mov eax, dword [ebp + 0x60]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0x48], edx
jne 0x4784f1
mov eax, dword [ebp + 0x78]
cmp eax, edx
je 0x4784f1
mov eax, dword [eax]
jmp 0x4784f3
xor eax, eax
cmp dword [ebx + 0x34], edx
jne 0x4784fb
inc dword [ebp + 0x18]
mov edx, dword [ebx + 0xc]
test byte [edx + 0x22], 0x10
je 0x478527
push dword [ebp + 0x24]
lea edx, [ebp - 0x54]
push edx
push eax
push dword [ebp + 0x60]
push dword [ebp + 0x5c]
push dword [ebp + 0xc]
push ecx
push ebx
push dword [ebp + 0x28]
push dword [ebp + 0x6c]
call fcn.00467682
add esp, 0x28
jmp 0x478544
push eax
push dword [ebp + 0x60]
lea eax, [ebp - 0x54]
push dword [ebp + 0x5c]
push dword [ebp + 0xc]
push ecx
push ebx
push dword [ebp + 0x28]
push dword [ebp + 0x6c]
call fcn.00464e3c
add esp, 0x20
cmp dword [ebp + 0x54], 0
je 0x47855e
test dword [ebp - 0x54], 0x100f3000
jne 0x47855e
mov edx, dword [ebp + 4]
or dword [ebp + 0x1c], esi
or dword [ebp + 0x20], edx
jmp 0x478561
mov edx, dword [ebp + 4]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
and eax, dword [ebp + 0x5c]
and ecx, dword [ebp + 0x60]
or eax, ecx
jne 0x4785e9
xor ecx, ecx
cmp dword [ebp + 0x38], ecx
jl 0x478595
and esi, dword [ebp + 0x1c]
and edx, dword [ebp + 0x20]
mov eax, esi
or eax, edx
jne 0x478595
mov eax, 0x100f3000
test dword [ebp - 0x2c], eax
je 0x47859a
test dword [ebp - 0x54], eax
je 0x4785e9
jmp 0x47859a
mov eax, 0x100f3000
cmp dword [ebp + 0x18], ecx
je 0x4785a9
cmp dword [ebx + 0x34], ecx
je 0x4785a9
test dword [ebp - 0x54], eax
je 0x4785e9
cmp dword [ebp + 0x38], ecx
jl 0x4785d5
fld qword [ebp - 0x14]
fcomp qword [ebp - 0x3c]
fnstsw ax
test ah, 0x41
je 0x4785d5
fld qword [ebp - 0x14]
fcomp qword [ebp - 0x3c]
fnstsw ax
test ah, 1
jne 0x4785e9
fld qword [ebp - 0x24]
fcomp qword [ebp - 0x4c]
fnstsw ax
test ah, 0x41
jne 0x4785e9
mov eax, dword [ebp + 0x30]
push 0xa
pop ecx
lea esi, [ebp - 0x54]
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0x50]
mov dword [ebp + 0x38], eax
cmp dword [ebp + 0x2c], 0
jne 0x478605
inc dword [ebp + 0x30]
mov eax, dword [ebp + 0x30]
add dword [ebp + 0x24], 0x50
add ebx, 0x38
cmp eax, dword [ebp + 0x58]
jl 0x47847a
dec dword [ebp + 0x54]
jns 0x47844b
test dword [ebp - 0x2c], 0x1000000
je 0x47861d
mov eax, dword [ebp + 0x78]
and dword [eax], 0
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp + 0x4c]
and dword [ebp + 0x10], eax
push 6
pop ecx
lea esi, [ebp - 0x2c]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0x6c]
test eax, 0x200f0000
je 0x478645
mov eax, dword [edi + 0x44]
mov dword [ebx + 0x20], eax
inc dword [edi + 0x44]
jmp 0x478649
or dword [ebx + 0x20], 0xffffffff
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x70]
imul eax, eax, 0x38
lea esi, [eax + ecx]
push dword [esi + 0x20]
mov eax, dword [ebp + 0x44]
call fcn.00451f67
not eax
fld1
and dword [ebp + 0x5c], eax
fcomp qword [ebp - 0x24]
mov al, byte [ebp + 0x38]
mov byte [ebx + 0x34], al
not edx
and dword [ebp + 0x60], edx
pop ecx
fnstsw ax
test ah, 0x41
jp 0x47868c
fld qword [edi + 0x1c0]
fmul qword [ebp - 0x24]
fstp qword [edi + 0x1c0]
mov esi, dword [esi + 0x3c]
test esi, esi
je 0x4786a0
test dword [ebp - 0x2c], 0xf0000
je 0x4787a4
inc dword [ebp + 0x48]
mov eax, dword [ebp + 0x48]
mov edi, dword [ebp + 0x50]
add ebx, 0x50
cmp eax, dword [ebp + 0x58]
mov dword [ebp + 0x4c], ebx
jl 0x47840e
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x6c]
cmp dword [eax + 0x40], 0
jne 0x4787b5
mov eax, dword [ebp + 0x40]
cmp byte [eax + 0x1e], 0
jne 0x4787b5
mov eax, dword [ebp + 0x10]
and eax, 0x4000000
je 0x4786e9
mov ecx, dword [ebp + 0x78]
test ecx, ecx
je 0x4786e9
and dword [ecx], 0
test byte [ebp + 0x7c], 4
je 0x4786fd
test eax, eax
je 0x4786fd
and dword [ebx], 0xff7fffff
mov byte [edi + 6], 1
mov eax, dword [ebp + 0x6c]
or esi, 0xffffffff
call fcn.004708bb
fld1
mov eax, dword [ebp + 0x58]
fstp qword [edi + 0x28]
mov dword [ebp + 0x5c], esi
mov dword [ebp + 0x60], esi
mov dword [ebp + 0x4c], ebx
test eax, eax
jle 0x4788dd
mov dword [ebp + 0x2c], eax
mov eax, dword [ebp + 0x4c]
movzx ecx, byte [eax + 0x34]
fld qword [eax + 8]
mov edx, dword [ebp + 0x70]
imul ecx, ecx, 0x38
lea ebx, [ecx + edx + 8]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 0x18]
mov dword [eax + 0x1c], edx
mov dword [ebp + 0x50], ecx
fmul qword [edi + 0x28]
mov dword [ebp + 0x14], ebx
fstp qword [edi + 0x28]
mov esi, dword [ecx + 0x44]
mov ecx, dword [ebp + 0x40]
call fcn.004516f9
mov dword [ebp + 0x44], eax
mov eax, dword [ebp + 0x50]
test byte [eax + 0x22], 2
jne 0x478856
xor edx, edx
cmp dword [eax + 0x1c], edx
jne 0x478856
mov ecx, dword [ebp + 0x4c]
mov ecx, dword [ecx]
test ecx, 0x8000000
je 0x4787d6
push 0xfffffffffffffff6
push dword [ebp + 0x40]
call fcn.00451d60
pop ecx
push eax
push edx
push edx
push dword [ebx + 0x18]
push dword [ebp + 0x34]
push 0x7f
pop eax
call fcn.0045aa2d
add esp, 0x18
jmp 0x478856
push dword [esi]
push str.cannot_use_index:__s
call fcn.00454005
mov edi, dword [ebp + 0x50]
pop ecx
pop ecx
fld qword [edi + 0x20]
mov eax, dword [ebp + 0x6c]
push dword [ebp + 0x40]
fstp qword [eax + 0x1c0]
mov ebx, edi
call fcn.00459871
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
add ebp, 0x64
leave
ret
test ecx, 0x800000
jne 0x47883f
test byte [ebp + 0x7c], 0x10
jne 0x47883f
mov esi, dword [ebp + 0x50]
xor eax, eax
cmp byte [edi + 6], al
setne al
add eax, 0x26
push eax
push dword [ebp + 0x44]
push dword [ebx + 0x18]
push dword [ebp + 0x6c]
call fcn.0045fb68
add esp, 0x10
cmp byte [edi + 6], 0
jne 0x478856
mov eax, esi
cmp dword [eax + 8], 0x40
jge 0x478856
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
xor edx, edx
jmp 0x478823
shrd eax, ecx, 1
shr ecx, 1
inc edx
mov esi, eax
or esi, ecx
jne 0x47881c
mov eax, dword [ebp + 0x34]
push 0xfffffffffffffff2
push edx
call fcn.0044f992
push dword [ebp + 0x34]
dec eax
call fcn.00456496
jmp 0x478853
push dword [eax]
mov ebx, dword [eax + 0x14]
mov eax, dword [ebp + 0x6c]
push edx
push dword [ebp + 0x44]
call fcn.00457e40
mov ebx, dword [ebp + 0x14]
add esp, 0xc
mov eax, dword [ebp + 0x4c]
mov ecx, dword [eax]
test ecx, 0x20000000
je 0x47887b
push eax
push dword [ebp + 0x60]
push dword [ebp + 0x5c]
push ebx
push dword [ebp + 0x28]
push dword [ebp + 0x6c]
call fcn.00467307
add esp, 0x18
jmp 0x4788ac
test ecx, 0xf0000
je 0x4788ac
mov esi, dword [eax + 0x10]
push esi
push dword [ebp + 0x6c]
call fcn.00462ebc
push 0xfffffffffffffff0
push eax
push dword [ebp + 0x44]
mov eax, dword [ebp + 0x4c]
push dword [esi + 0x14]
push dword [eax + 0x20]
push dword [ebp + 0x34]
push 0x26
pop eax
call fcn.0045aa2d
add esp, 0x20
mov esi, dword [ebp + 0x44]
mov eax, dword [ebp + 0x6c]
call fcn.004708bb
mov eax, dword [ebp + 0x28]
push dword [ebx + 0x18]
mov eax, dword [eax + 4]
call fcn.00451f67
add dword [ebp + 0x4c], 0x50
not eax
and dword [ebp + 0x5c], eax
not edx
and dword [ebp + 0x60], edx
dec dword [ebp + 0x2c]
pop ecx
jne 0x478724
mov eax, dword [ebp + 0x34]
call fcn.0044f992
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0x40]
cmp byte [eax + 0x1e], 0
jne 0x4787b5
or dword [ebp + 0x5c], 0xffffffff
or dword [ebp + 0x60], 0xffffffff
xor ebx, ebx
cmp dword [ebp + 0x58], ebx
jle 0x478946
lea esi, [edi + 0x5c]
push dword [ebp + 0x7c]
movzx eax, byte [esi + 8]
push eax
push ebx
lea eax, [esi - 0x2c]
push eax
push dword [ebp + 0x70]
mov eax, dword [ebp + 0x6c]
call fcn.00468827
push dword [ebp + 0x60]
push dword [ebp + 0x5c]
push dword [ebp + 0x7c]
push ebx
push edi
call fcn.00476275
add esp, 0x28
mov dword [ebp + 0x5c], eax
mov eax, dword [esi]
inc ebx
add esi, 0x50
cmp ebx, dword [ebp + 0x58]
mov dword [ebp + 0x60], edx
mov dword [edi + 0x10], eax
jl 0x478907
mov eax, edi
jmp 0x4787ce