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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
push edi
lea eax, [ebp + 0x10]
mov ebx, ecx
push eax
push dword [ebp + 0xc]
mov dword [esp + 0x2c], ebx
call fcn.0064f640
mov edi, eax
test edi, edi
jne 0x64cf3d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
movsd xmm4, qword [edi + 0xa8]
xorps xmm2, xmm2
mov eax, dword [edi + 0x78]
mov ecx, dword [edi + 0x7c]
movsd xmm3, qword [edi + 0x48]
movsd qword [esp + 0x28], xmm4
movsd qword [esp + 0x30], xmm2
mov dword [esp + 0x20], ecx
test eax, eax
je 0x64cf9b
jmp 0x64cf70
mov esi, dword [eax]
movsd xmm1, qword [esi + 0xb0]
movsd xmm0, qword [esi + 0xa8]
subsd xmm1, xmm3
subsd xmm0, xmm3
mulsd xmm1, xmm0
comisd xmm2, xmm1
jae 0x64cf9d
mov eax, dword [eax + 4]
test eax, eax
jne 0x64cf70
xor esi, esi
movsd xmm0, qword [edi + 0x68]
comisd xmm0, xmm3
seta dl
mov byte [esp + 0x1e], dl
test ecx, ecx
je 0x64d10e
movsd xmm0, qword [ecx + 0xb0]
ucomisd xmm0, xmm4
lahf
test ah, 0x44
jp 0x64d10e
movsd xmm0, qword [ecx + 0xa8]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x3c]
mov ecx, ebx
push eax
sub esp, 0x10
subsd xmm0, xmm4
movsd qword [esp + 8], xmm0
movsd qword [esp], xmm4
push dword [ebp + 8]
call fcn.00649db0
test al, al
je 0x64d107
mov eax, dword [esp + 0x20]
movsd xmm1, qword [esp + 0x38]
comisd xmm1, xmmword [eax + 0xa8]
jbe 0x64d107
movsd xmm0, qword [esp + 0x28]
comisd xmm0, xmm1
jbe 0x64d107
movsd xmm0, qword [esp + 0x30]
sub esp, 8
mov ecx, eax
movsd qword [esp], xmm0
call fcn.0065a380
test eax, eax
je 0x64d107
movsd xmm0, qword [esp + 0x38]
sub esp, 8
mov ecx, ebx
mov esi, eax
movsd qword [esp], xmm0
push dword [esp + 0x28]
call fcn.00649ae0
mov edi, eax
mov ecx, edi
call fcn.00658fa0
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x70], 0
jne 0x64d081
movsd xmm0, qword [0x6b7ea0]
movsd qword [eax + 0x68], xmm0
movsd xmm1, qword [esp + 0x30]
mov ebx, esi
mov byte [eax + 0x70], 1
comisd xmm1, xmmword [ebx + 0xa8]
jbe 0x64d107
movsd xmm0, qword [ebx + 0xb0]
comisd xmm0, xmm1
jbe 0x64d107
mov ecx, dword [ebp + 8]
sub esp, 8
movsd qword [esp], xmm1
push ebx
call fcn.00649ae0
cmp byte [esp + 0x1e], 0
mov dword [esp + 0x20], eax
je 0x64d0e5
cmp byte [ebx + 0x70], 0
jne 0x64d0d4
movsd xmm0, qword [0x6b7ea0]
movsd qword [ebx + 0x68], xmm0
mov ecx, eax
mov byte [ebx + 0x70], 1
call fcn.00658fa0
mov esi, dword [esp + 0x20]
jmp 0x64d107
mov ecx, ebx
call fcn.00658fa0
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x50], 0
jne 0x64d103
movsd xmm0, qword [0x6b7ea0]
movsd qword [eax + 0x48], xmm0
mov byte [eax + 0x50], 1
mov dl, byte [esp + 0x1e]
xorps xmm2, xmm2
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 0x78]
movsd xmm3, qword [ecx + 0x68]
test eax, eax
je 0x64d14b
lea ecx, [ecx]
mov ebx, dword [eax]
movsd xmm1, qword [ebx + 0xb0]
movsd xmm0, qword [ebx + 0xa8]
subsd xmm1, xmm3
subsd xmm0, xmm3
mulsd xmm1, xmm0
comisd xmm2, xmm1
jae 0x64d14d
mov eax, dword [eax + 4]
test eax, eax
jne 0x64d120
xor ebx, ebx
test dl, dl
jne 0x64d157
mov eax, esi
mov esi, ebx
mov ebx, eax
push esi
push ecx
mov ecx, dword [esp + 0x2c]
push edi
call fcn.0065f160
mov ecx, dword [ebp + 8]
push edi
push ebx
push esi
mov byte [esp + 0x2b], al
call fcn.0065f160
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x28]
or byte [esp + 0x23], al
push edi
call fcn.0065c520
mov ecx, dword [ebp + 8]
push ebx
push esi
call fcn.0065c520
mov eax, dword [ebp + 0x10]
mov ecx, edi
mov ebx, dword [esp + 0x24]
movsd xmm0, qword [eax + 0xb0]
movsd qword [edi + 0xb0], xmm0
mov eax, dword [ebx]
push eax
mov word [edi + 0xc2], 0
call fcn.00651040
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x38]
movsd xmm0, qword [edi + 0xa8]
push dword [eax]
push edi
sub esp, 8
movsd qword [esp], xmm0
push dword [ebx]
call fcn.0065cb70
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x58]
movsd xmm0, qword [edi + 0xb0]
push dword [eax]
lea eax, [edi + 0x20]
push eax
sub esp, 8
movsd qword [esp], xmm0
push dword [ebx]
call fcn.0065cb70
movsd xmm4, qword [0x6f8788]
xorps xmm2, xmm2
movsd xmm5, qword [edi + 0x48]
movapd xmm1, xmm2
movsd xmm3, qword [edi + 0x68]
subsd xmm1, xmm5
movapd xmm0, xmm4
subsd xmm0, xmm5
mulsd xmm1, xmm0
comisd xmm2, xmm1
jb 0x64d286
movapd xmm1, xmm2
movapd xmm0, xmm4
subsd xmm1, xmm3
subsd xmm0, xmm3
mulsd xmm1, xmm0
comisd xmm2, xmm1
jb 0x64d286
cmp byte [esp + 0x1e], 0
jne 0x64d255
movapd xmm0, xmm5
movaps xmm5, xmm3
movapd xmm3, xmm0
mov eax, dword [ebp + 8]
mov ecx, esi
movsd qword [esi + 0xa8], xmm5
movsd qword [esi + 0xb0], xmm3
mov eax, dword [eax]
push eax
mov word [esi + 0xc2], 0
call fcn.00651040
movsd xmm4, qword [0x6f8788]
xorps xmm2, xmm2
mov eax, dword [edi + 0x7c]
mov ecx, dword [edi + 0x80]
mov dword [esp + 0x28], ecx
test eax, eax
je 0x64d2a6
mov dword [eax + 0x80], ecx
test ecx, ecx
je 0x64d2b4
mov dword [ecx + 0x7c], eax
jmp 0x64d2b4
mov dword [ebx + 0x18], ecx
test ecx, ecx
je 0x64d2b4
mov dword [ecx + 0x7c], 0
subsd xmm4, qword [edi + 0x48]
movapd xmm1, xmm2
subsd xmm1, qword [edi + 0x48]
dec dword [ebx + 0x24]
mulsd xmm1, xmm4
comisd xmm2, xmm1
jae 0x64d2e4
mov eax, dword [ebx + 0x20]
mov dword [edi + 0x80], eax
mov dword [ebx + 0x20], edi
mov byte [edi + 0xc4], 1
jmp 0x64d2f0
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0x80], eax
mov dword [ebx + 0x1c], edi
mov edx, dword [esi + 0x7c]
mov eax, dword [esi + 0x80]
mov edi, dword [ebp + 8]
test edx, edx
je 0x64d30f
mov dword [edx + 0x80], eax
test eax, eax
je 0x64d31d
mov dword [eax + 0x7c], edx
jmp 0x64d31d
mov dword [edi + 0x18], eax
test eax, eax
je 0x64d31d
mov dword [eax + 0x7c], 0
dec dword [edi + 0x24]
cmp byte [esp + 0x1f], 0
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x80], eax
mov dword [edi + 0x1c], esi
je 0x64d345
mov ecx, ebx
call fcn.0064cde0
mov ecx, edi
call fcn.0064cde0
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x64d352
cmp byte [ecx + 0xc4], 0
je 0x64d354
xor ecx, ecx
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc