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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x6b3701
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x470], eax
push ebx
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x4b8]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
lea edx, [esp + 0x24]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push edx
mov word [esi + 0x1a7], 0x10c
mov byte [esi + 0x1a6], 0
mov dword [esi + 0x1a0], 0
mov ecx, dword [edi + 0x18]
mov eax, dword [ebx + 0x18]
push ecx
push edi
mov dword [esp + 0x2c], ecx
mov ecx, ebx
push eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x2c], eax
call fcn.006520c0
test eax, eax
je 0x64816d
cmp eax, 2
jne 0x647a8b
cmp dword [esp + 0x24], eax
jne 0x647a8b
push esi
push edi
push ebx
call fcn.00648d80
add esp, 0xc
jmp 0x64816d
push 1
lea ecx, [ebx + 4]
push 8
call fcn.005cdc20
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push 1
mov dword [eax], ecx
mov ecx, dword [edx + 0x80]
mov dword [eax + 4], ecx
lea ecx, [edi + 4]
push 8
mov dword [edx + 0x80], eax
call fcn.005cdc20
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov ecx, dword [edx + 0x70]
mov dword [eax + 4], ecx
mov ecx, ebx
mov dword [edx + 0x70], eax
call fcn.0064ae50
test eax, eax
je 0x647c5e
mov esi, eax
mov ecx, edi
call fcn.0064aea0
mov dword [esp + 0x24], eax
test eax, eax
je 0x647b82
test esi, esi
je 0x647b1b
movsd xmm0, qword [esi + 0xc0]
comisd xmm0, xmmword [eax + 0xb0]
ja 0x647b82
cmp byte [esi + 0xc8], 0
jne 0x647b1b
cmp byte [eax + 0xb8], 0
jne 0x647b82
cmp byte [eax + 0xb8], 0
jne 0x647c5a
mov ecx, edi
call fcn.00649a00
mov esi, dword [esp + 0x24]
lea ecx, [edi + 4]
push ecx
sub esp, 8
mov dword [esp + 0x28], eax
mov ecx, eax
movsd xmm0, qword [esi + 0xa8]
addsd xmm0, qword [esi + 0xa0]
mulsd xmm0, qword [0x6f8780]
movsd qword [esp], xmm0
push esi
call fcn.0065e4e0
test al, al
je 0x647c5a
push ebx
push esi
mov ecx, edi
call fcn.0065f030
push ebx
push dword [esp + 0x20]
mov ecx, edi
call fcn.0065f030
jmp 0x647be3
cmp byte [esi + 0xc8], 0
jne 0x647c5a
mov ecx, ebx
call fcn.00649910
movsd xmm0, qword [esi + 0xb8]
lea ecx, [ebx + 4]
addsd xmm0, qword [esi + 0xb0]
push ecx
sub esp, 8
mov dword [esp + 0x30], eax
mov ecx, eax
mulsd xmm0, qword [0x6f8780]
movsd qword [esp], xmm0
push esi
call fcn.0065e1c0
test al, al
je 0x647c5a
push edi
push esi
mov ecx, ebx
call fcn.0065eca0
push edi
push dword [esp + 0x28]
mov ecx, ebx
call fcn.0065eca0
cmp dword [ebx + 0x24], 9
jl 0x647c3d
cmp dword [edi + 0x24], 9
jl 0x647bf7
push edi
mov ecx, ebx
call fcn.0064ba60
cmp dword [ebx + 0x24], 9
jl 0x647c3d
cmp dword [edi + 0x24], 9
jl 0x647c3d
mov ecx, ebx
call fcn.0065e610
push eax
push dword [ebx + 0x18]
mov ecx, ebx
push edi
call fcn.0064c500
mov ecx, edi
call fcn.0065e640
push eax
push dword [edi + 0x18]
mov ecx, edi
push ebx
call fcn.0064ca40
push edi
mov ecx, ebx
call fcn.0065c3e0
mov ecx, ebx
call fcn.0064bba0
cmp eax, 9
jg 0x647c5a
cmp dword [ebx + 0x18], 0
je 0x647c5a
cmp dword [edi + 0x18], 0
je 0x647c5a
mov ecx, ebx
call fcn.0064ae50
mov esi, eax
test esi, esi
jne 0x647ae0
mov esi, dword [esp + 0x2c]
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x647d0e
cmp dword [eax + 0x88], 0
je 0x647c85
push edi
mov ecx, ebx
call fcn.00659670
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 0x1c]
lea esp, [esp]
movsd xmm0, qword [edi + 0x50]
mov ecx, esi
push edi
sub esp, 0x10
movsd qword [esp + 8], xmm0
movsd xmm0, qword [edi + 0xb0]
movsd qword [esp], xmm0
call fcn.0060f840
movsd xmm0, qword [edi + 0x70]
lea ecx, [edi + 0x30]
push ecx
sub esp, 0x10
mov dword [esp + 0x38], eax
mov ecx, esi
movsd qword [esp + 8], xmm0
movsd xmm0, qword [edi + 0xb8]
movsd qword [esp], xmm0
call fcn.0060f840
test eax, eax
jns 0x647d00
mov ecx, dword [esp + 0x24]
test ecx, ecx
js 0x647d00
mov eax, 1
shl eax, cl
not eax
and word [esi + 0x1a0], ax
and word [esi + 0x1a2], ax
mov edi, dword [edi + 0x88]
test edi, edi
jne 0x647c90
mov edi, dword [esp + 0x30]
push esi
push edi
push ebx
call fcn.00648d80
add esp, 0xc
mov dword [esp + 0x20], eax
cmp dword [ebx + 0x18], 0
je 0x64816d
cmp dword [edi + 0x18], 0
je 0x64816d
mov ecx, ebx
call fcn.0065a5c0
mov ecx, edi
call fcn.0065a620
mov eax, dword [esp + 0x20]
mov esi, dword [ebx + 0x18]
movsd xmm0, qword [0x6ce9f8]
test al, 1
jne 0x647dd7
comisd xmm0, xmmword [esi + 0xb0]
jbe 0x647dd7
cmp dword [esi + 0x80], 0
mov ecx, dword [ebx]
mov dword [esp + 0x1c], ecx
je 0x647dd7
push ecx
mov ecx, esi
call fcn.0064b490
push dword [esp + 0x1c]
mov ecx, dword [edi]
lea eax, [esp + 0x450]
sub esp, 8
fstp qword [esp + 0x30]
movsd xmm0, qword [esp + 0x30]
movsd qword [esp], xmm0
push eax
call fcn.005f4550
mov ecx, eax
call fcn.005d9b70
test al, al
je 0x647dcb
push dword [esp + 0x1c]
movsd xmm0, qword [esp + 0x28]
mov ecx, dword [esp + 0x30]
sub esp, 0x10
movsd qword [esp + 8], xmm0
xorps xmm0, xmm0
movsd qword [esp], xmm0
call fcn.0060f5c0
mov eax, dword [esp + 0x20]
movsd xmm0, qword [0x6ce9f8]
mov ecx, dword [edi + 0x18]
test al, 4
jne 0x647e4e
comisd xmm0, xmmword [ecx + 0xa0]
jbe 0x647e4e
cmp dword [ecx + 0x70], 0
mov eax, dword [edi]
mov dword [esp + 0x1c], eax
je 0x647e4e
push eax
call fcn.0064b740
push dword [esp + 0x1c]
mov ecx, dword [ebx]
lea eax, [esp + 0x450]
sub esp, 8
fstp qword [esp + 0x30]
movsd xmm0, qword [esp + 0x30]
movsd qword [esp], xmm0
push eax
call fcn.005d88f0
mov ecx, eax
call fcn.005d9b70
test al, al
je 0x647e4e
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
xorps xmm0, xmm0
sub esp, 0x10
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x38]
movsd qword [esp], xmm0
call fcn.0060f5c0
mov ecx, ebx
call fcn.0065e610
test byte [esp + 0x20], 2
mov ecx, eax
jne 0x647ee5
movsd xmm0, qword [ecx + 0xb8]
comisd xmm0, xmmword [0x6d2fc8]
jbe 0x647ee5
mov eax, dword [ebx]
add eax, 0x30
cmp dword [ecx + 0x80], 0
mov dword [esp + 0x1c], eax
je 0x647ee5
push eax
call fcn.0064b490
push dword [esp + 0x1c]
mov ecx, dword [edi]
lea eax, [esp + 0x450]
sub esp, 8
fstp qword [esp + 0x30]
movsd xmm0, qword [esp + 0x30]
movsd qword [esp], xmm0
push eax
call fcn.005f4550
mov ecx, eax
call fcn.005d9b70
test al, al
je 0x647ee5
push dword [esp + 0x1c]
movsd xmm0, qword [esp + 0x28]
mov ecx, dword [esp + 0x30]
sub esp, 0x10
movsd qword [esp + 8], xmm0
movsd xmm0, qword [0x6f8788]
movsd qword [esp], xmm0
call fcn.0060f5c0
mov ecx, edi
call fcn.0065e640
test byte [esp + 0x20], 8
mov ecx, eax
jne 0x647f79
movsd xmm0, qword [ecx + 0xa8]
comisd xmm0, xmmword [0x6d2fc8]
jbe 0x647f79
mov eax, dword [edi]
add eax, 0x20
cmp dword [ecx + 0x70], 0
mov dword [esp + 0x1c], eax
je 0x647f79
push eax
call fcn.0064b740
push dword [esp + 0x1c]
mov ecx, dword [ebx]
lea eax, [esp + 0x450]
sub esp, 8
fstp qword [esp + 0x30]
movsd xmm0, qword [esp + 0x30]
movsd qword [esp], xmm0
push eax
call fcn.005d88f0
mov ecx, eax
call fcn.005d9b70
test al, al
je 0x647f79
push dword [esp + 0x1c]
movsd xmm0, qword [0x6f8788]
mov ecx, dword [esp + 0x30]
sub esp, 0x10
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x38]
movsd qword [esp], xmm0
call fcn.0060f5c0
lea ecx, [esp + 0x3c]
call fcn.006455c0
mov dword [esp + 0x4c0], 0
test esi, esi
je 0x647fc6
mov al, byte [esi + 0x58]
test al, al
je 0x647f9f
mov al, byte [esi + 0x78]
test al, al
jne 0x647fbc
mov edi, dword [edi + 0x18]
test edi, edi
je 0x647fb8
push edi
push esi
lea ecx, [esp + 0x44]
call fcn.0064f240
mov edi, dword [edi + 0x78]
test edi, edi
jne 0x647fa6
mov edi, dword [esp + 0x30]
mov esi, dword [esi + 0x88]
test esi, esi
jne 0x647f91
push dword [esp + 0x2c]
lea ecx, [esp + 0x40]
call fcn.006502b0
mov edx, dword [esp + 0x2c]
xor esi, esi
movzx eax, byte [edx + 0x1a6]
dec eax
mov dword [esp + 0x1c], eax
test eax, eax
jle 0x64813c
mov dword [esp + 0x20], 1
mov ecx, esi
mov eax, 1
shl eax, cl
movzx ecx, word [edx + 0x1a0]
mov dword [esp + 0x24], eax
test ecx, eax
je 0x648032
mov ecx, dword [esp + 0x20]
mov eax, 1
movzx edi, word [edx + 0x1a0]
shl eax, cl
test edi, eax
mov edi, dword [esp + 0x30]
je 0x648032
inc esi
inc ecx
mov dword [esp + 0x20], ecx
jmp 0x648132
movsd xmm0, qword [edx + esi*8 + 0xe8]
lea eax, [esp + 0x44c]
addsd xmm0, qword [edx + esi*8 + 0xe0]
mov ecx, dword [ebx]
sub esp, 8
mulsd xmm0, qword [0x6f8780]
movsd qword [esp], xmm0
push eax
movsd qword [esp + 0x40], xmm0
call fcn.005d88f0
movsd xmm0, qword [0x6b7ea0]
lea eax, [esp + 0x44c]
push dword [edi]
movsd qword [esp + 0x470], xmm0
lea ecx, [esp + 0x460]
movss xmm0, dword [0x6cf3f8]
cvtps2pd xmm0, xmm0
push eax
sub esp, 8
mov byte [esp + 0x484], 0
unpcklpd xmm0, xmm0
movups xmmword [esp + 0x46c], xmm0
movsd xmm0, qword [esp + 0x44]
movsd qword [esp], xmm0
push dword [ebx]
call fcn.0065d4d0
cmp byte [esp + 0x474], 0
mov edx, dword [esp + 0x2c]
jne 0x6480d4
inc esi
inc dword [esp + 0x20]
jmp 0x648132
movzx eax, word [edx + 0x1a0]
test dword [esp + 0x24], eax
je 0x6480ef
push esi
mov ecx, edx
call fcn.0060fb00
dec dword [esp + 0x1c]
jmp 0x648124
mov ecx, dword [esp + 0x20]
mov eax, 1
movzx edi, word [edx + 0x1a0]
shl eax, cl
test edi, eax
mov edi, dword [esp + 0x30]
je 0x648117
push ecx
mov ecx, edx
call fcn.0060fb00
dec dword [esp + 0x1c]
jmp 0x648124
push esi
mov ecx, edx
call fcn.0060fbc0
inc esi
inc dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
push esi
call fcn.0060fbc0
mov edx, dword [esp + 0x2c]
cmp esi, dword [esp + 0x1c]
jl 0x647ff5
mov dword [esp + 0x4c0], 0xffffffff
lea eax, [esp + 0x3c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x4c0], 0xffffffff
mov eax, dword [esp + 0x4c]
cmp eax, dword [esp + 0x48]
je 0x64816d
push eax
call fcn.005701e0
add esp, 4
mov ecx, dword [esp + 0x4b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.005472b9
mov esp, ebp
pop ebp
ret