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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x5f3230
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x615cbc]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
mov esi, 0xa
push 0x32
lea ecx, [esp + 0x64]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], esi
call fcn.00412980
push 0x32
lea ecx, [esp + 0x58]
mov dword [esp + 0xc4], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], esi
call fcn.00412880
cmp dword [ebx + 0xc], 0x13
movsd xmm1, qword [ebp + 8]
xorps xmm0, xmm0
movsd xmm4, qword [ebx + 0x18]
movsd xmm3, qword [ebx + 0x10]
mov byte [esp + 0xc0], 1
movsd qword [esp + 0x44], xmm1
movsd qword [esp + 0x2c], xmm0
movsd qword [esp + 0x3c], xmm1
movsd qword [esp + 0x24], xmm4
movsd qword [esp + 0x34], xmm3
mov byte [esp + 0x1b], 0
jne 0x4f6b09
mov al, byte [ebx + 0x39]
mov ecx, ebx
mov byte [esp + 0x1b], al
call fcn.00459f30
fstp qword [esp + 0x24]
mov eax, dword [ebx + 0x94]
cmp dword [ebx + 0xbc], eax
movsd xmm4, qword [esp + 0x24]
movsd xmm1, qword [ebp + 8]
xorps xmm0, xmm0
jl 0x4f6aff
mov ecx, dword [ebx + 0xb4]
movsd xmm3, qword [ecx + eax*8 - 8]
jmp 0x4f6b03
movapd xmm3, xmm0
movsd qword [esp + 0x34], xmm3
movsd xmm2, qword [ebp + 0x10]
comisd xmm2, xmm0
movsd xmm5, qword [0x5ff780]
jbe 0x4f6ed0
movapd xmm6, xmm5
addsd xmm6, xmm4
comisd xmm6, xmm1
jbe 0x4f6cd0
movapd xmm3, xmm4
subsd xmm3, xmm5
comisd xmm3, xmm1
jbe 0x4f6b73
fld qword [ebp + 0x18]
sub esp, 0x18
fstp qword [esp + 0x10]
lea edx, [esp + 0x6c]
fld qword [esp + 0x3c]
lea eax, [esp + 0x78]
fstp qword [esp + 8]
mov ecx, ebx
fld qword [ebp + 8]
fstp qword [esp]
push edx
push eax
call fcn.004f2c30
movsd xmm2, qword [ebp + 0x10]
xorps xmm0, xmm0
jmp 0x4f6b75
xor eax, eax
mov esi, 1
cmp eax, esi
mov dword [esp + 0x1c], eax
jle 0x4f6ce9
lea edi, [esi + 0x17]
jmp 0x4f6b93
xorps xmm0, xmm0
mov eax, dword [esp + 0x60]
movsd qword [esp + 0x7c], xmm0
movsd qword [esp + 0x74], xmm0
movsd qword [esp + 0x6c], xmm0
movsd xmm0, qword [edi + eax]
subsd xmm0, qword [edi + eax - 0x18]
movsd qword [esp + 0x6c], xmm0
movsd xmm0, qword [edi + eax + 8]
subsd xmm0, qword [edi + eax - 0x10]
movsd qword [esp + 0x74], xmm0
movsd xmm0, qword [edi + eax + 0x10]
subsd xmm0, qword [edi + eax - 8]
lea ecx, [esp + 0x6c]
movsd qword [esp + 0x7c], xmm0
call fcn.004a88b0
fstp qword [esp + 0x4c]
movsd xmm4, qword [esp + 0x4c]
movsd xmm2, qword [ebp + 0x10]
movsd xmm3, qword [esp + 0x2c]
movsd xmm1, qword [0x5ff758]
movapd xmm0, xmm4
movapd xmm5, xmm2
addsd xmm0, xmm3
subsd xmm5, xmm1
comisd xmm0, xmm5
ja 0x4f6c44
mov ecx, dword [esp + 0x54]
movsd qword [esp + 0x2c], xmm0
movsd xmm0, qword [ecx + esi*8]
inc esi
add edi, 0x18
cmp esi, dword [esp + 0x1c]
movsd qword [esp + 0x3c], xmm0
jl 0x4f6b90
xor edi, edi
jmp 0x4f6cf1
mov eax, dword [esp + 0x54]
movapd xmm0, xmm4
addsd xmm0, xmm3
addsd xmm1, xmm2
xor edi, edi
comisd xmm1, xmm0
jbe 0x4f6ca9
movsd xmm0, qword [eax + esi*8]
movsd qword [esp + 0x4c], xmm0
mov esi, dword [sym.imp.MSVCR90.dll_free]
cmp eax, edi
je 0x4f6c77
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x60]
mov dword [esp + 0x54], edi
mov dword [esp + 0x5c], edi
cmp eax, edi
je 0x4f6c8d
push eax
call esi
add esp, 4
fld qword [esp + 0x4c]
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
movsd xmm0, qword [eax + esi*8 - 8]
movsd xmm1, qword [eax + esi*8]
subsd xmm1, xmm0
subsd xmm2, xmm3
mulsd xmm1, xmm2
divsd xmm1, xmm4
addsd xmm1, xmm0
movsd qword [esp + 0x4c], xmm1
jmp 0x4f6c67
cmp byte [esp + 0x1b], 0
je 0x4f6ce9
movapd xmm0, xmm4
subsd xmm0, xmm3
subsd xmm1, xmm0
movsd qword [esp + 0x44], xmm1
movsd xmm1, qword [0x5ff758]
movapd xmm0, xmm2
subsd xmm0, xmm1
comisd xmm0, xmmword [esp + 0x2c]
jbe 0x4f729d
cmp byte [esp + 0x1b], 0
mov ecx, ebx
je 0x4f6e7e
fld qword [ebp + 0x18]
sub esp, 0x18
fstp qword [esp + 0x10]
lea edx, [esp + 0x6c]
fld qword [esp + 0x5c]
lea eax, [esp + 0x78]
fstp qword [esp + 8]
fld qword [esp + 0x4c]
fstp qword [esp]
push edx
push eax
call fcn.004f2c30
mov ebx, eax
mov esi, 1
cmp ebx, esi
jle 0x4f6e5d
lea edi, [esi + 0x17]
lea esp, [esp]
mov eax, dword [esp + 0x60]
xorps xmm0, xmm0
movsd qword [esp + 0x7c], xmm0
movsd qword [esp + 0x74], xmm0
movsd qword [esp + 0x6c], xmm0
movsd xmm0, qword [edi + eax]
subsd xmm0, qword [edi + eax - 0x18]
movsd qword [esp + 0x6c], xmm0
movsd xmm0, qword [edi + eax + 8]
subsd xmm0, qword [edi + eax - 0x10]
movsd qword [esp + 0x74], xmm0
movsd xmm0, qword [edi + eax + 0x10]
subsd xmm0, qword [edi + eax - 8]
lea ecx, [esp + 0x6c]
movsd qword [esp + 0x7c], xmm0
call fcn.004a88b0
fstp qword [esp + 0x4c]
movsd xmm3, qword [esp + 0x4c]
movsd xmm1, qword [ebp + 0x10]
movsd xmm4, qword [esp + 0x2c]
movsd xmm2, qword [0x5ff758]
movapd xmm0, xmm3
movapd xmm5, xmm1
addsd xmm0, xmm4
subsd xmm5, xmm2
comisd xmm0, xmm5
ja 0x4f6df9
mov ecx, dword [esp + 0x54]
movsd xmm1, qword [ecx + esi*8]
inc esi
add edi, 0x18
cmp esi, ebx
movsd qword [esp + 0x2c], xmm0
jl 0x4f6d50
xor edi, edi
jmp 0x4f6e63
mov eax, dword [esp + 0x54]
movapd xmm0, xmm3
addsd xmm0, xmm4
addsd xmm2, xmm1
xor edi, edi
comisd xmm2, xmm0
jbe 0x4f6e27
movsd xmm0, qword [esp + 0x24]
subsd xmm0, qword [esp + 0x34]
addsd xmm0, qword [eax + esi*8]
jmp 0x4f6c61
movsd xmm0, qword [eax + esi*8 - 8]
movsd xmm2, qword [eax + esi*8]
subsd xmm2, xmm0
subsd xmm1, xmm4
mulsd xmm2, xmm1
divsd xmm2, xmm3
addsd xmm2, xmm0
addsd xmm2, qword [esp + 0x24]
subsd xmm2, qword [esp + 0x34]
movsd qword [esp + 0x4c], xmm2
jmp 0x4f6c67
movsd xmm1, qword [esp + 0x3c]
movsd xmm0, qword [esp + 0x24]
subsd xmm0, qword [esp + 0x34]
addsd xmm0, xmm1
movsd qword [esp + 0x3c], xmm0
jmp 0x4f729d
mov edx, dword [ebx]
fld qword [esp + 0x24]
mov edx, dword [edx + 0x6c]
sub esp, 8
lea eax, [esp + 0x74]
fstp qword [esp]
push eax
call edx
lea ecx, [esp + 0x6c]
call fcn.004a88b0
fld qword [0x5ff758]
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0x4f729d
fld qword [ebp + 0x10]
lea ecx, [esp + 0x6c]
fsub qword [esp + 0x2c]
fstp qword [esp + 0x4c]
call fcn.004a88b0
fdivr qword [esp + 0x4c]
fadd qword [esp + 0x3c]
jmp 0x4f7299
xorpd xmm2, xmmword [0x5fc740]
movapd xmm6, xmm3
subsd xmm6, xmm5
comisd xmm1, xmm6
movsd qword [esp + 0x1c], xmm2
jbe 0x4f704e
addsd xmm5, xmm3
comisd xmm1, xmm5
jbe 0x4f6f2e
fld qword [ebp + 0x18]
sub esp, 0x18
fstp qword [esp + 0x10]
lea eax, [esp + 0x6c]
fld qword [ebp + 8]
lea ecx, [esp + 0x78]
fstp qword [esp + 8]
fld qword [esp + 0x4c]
fstp qword [esp]
push eax
push ecx
mov ecx, ebx
call fcn.004f2c30
xorps xmm0, xmm0
movsd xmm2, qword [esp + 0x1c]
jmp 0x4f6f30
xor eax, eax
lea esi, [eax - 1]
cmp esi, edi
jle 0x4f7067
lea edi, [esi + esi*2]
add edi, edi
add edi, edi
add edi, edi
jmp 0x4f6f53
xorps xmm0, xmm0
mov eax, dword [esp + 0x60]
movsd qword [esp + 0x7c], xmm0
movsd qword [esp + 0x74], xmm0
movsd qword [esp + 0x6c], xmm0
movsd xmm0, qword [edi + eax]
subsd xmm0, qword [edi + eax - 0x18]
movsd qword [esp + 0x6c], xmm0
movsd xmm0, qword [edi + eax + 8]
subsd xmm0, qword [edi + eax - 0x10]
movsd qword [esp + 0x74], xmm0
movsd xmm0, qword [edi + eax + 0x10]
subsd xmm0, qword [edi + eax - 8]
lea ecx, [esp + 0x6c]
movsd qword [esp + 0x7c], xmm0
call fcn.004a88b0
fstp qword [esp + 0x4c]
movsd xmm4, qword [esp + 0x4c]
movsd xmm2, qword [esp + 0x1c]
movsd xmm3, qword [esp + 0x2c]
movsd xmm1, qword [0x5ff758]
movapd xmm0, xmm4
movapd xmm5, xmm2
addsd xmm0, xmm3
subsd xmm5, xmm1
comisd xmm0, xmm5
ja 0x4f7001
mov edx, dword [esp + 0x54]
movsd qword [esp + 0x2c], xmm0
movsd xmm0, qword [edx + esi*8 - 8]
dec esi
sub edi, 0x18
movsd qword [esp + 0x3c], xmm0
test esi, esi
jg 0x4f6f50
xor edi, edi
jmp 0x4f706f
mov eax, dword [esp + 0x54]
movapd xmm0, xmm4
addsd xmm0, xmm3
addsd xmm1, xmm2
xor edi, edi
comisd xmm1, xmm0
jbe 0x4f7024
movsd xmm0, qword [eax + esi*8 - 8]
jmp 0x4f6c61
movsd xmm0, qword [eax + esi*8]
movsd xmm1, qword [eax + esi*8 - 8]
subsd xmm1, xmm0
subsd xmm2, xmm3
mulsd xmm1, xmm2
divsd xmm1, xmm4
addsd xmm1, xmm0
movsd qword [esp + 0x4c], xmm1
jmp 0x4f6c67
cmp byte [esp + 0x1b], 0
je 0x4f7067
movapd xmm0, xmm4
subsd xmm0, xmm3
addsd xmm0, xmm1
movsd qword [esp + 0x44], xmm0
movsd xmm1, qword [0x5ff758]
movapd xmm0, xmm2
subsd xmm0, xmm1
comisd xmm0, xmmword [esp + 0x2c]
jbe 0x4f729d
cmp byte [esp + 0x1b], 0
je 0x4f724d
fld qword [ebp + 0x18]
sub esp, 0x18
fstp qword [esp + 0x10]
lea eax, [esp + 0x6c]
fld qword [esp + 0x3c]
lea ecx, [esp + 0x78]
fstp qword [esp + 8]
fld qword [esp + 0x5c]
fstp qword [esp]
push eax
push ecx
mov ecx, ebx
call fcn.004f2c30
mov esi, eax
dec esi
cmp esi, edi
jle 0x4f722f
lea edi, [esi + esi*2]
add edi, edi
add edi, edi
add edi, edi
xor ebx, ebx
mov edi, edi
mov eax, dword [esp + 0x60]
xorps xmm0, xmm0
movsd qword [esp + 0x7c], xmm0
movsd qword [esp + 0x74], xmm0
movsd qword [esp + 0x6c], xmm0
movsd xmm0, qword [edi + eax]
subsd xmm0, qword [edi + eax - 0x18]
movsd qword [esp + 0x6c], xmm0
movsd xmm0, qword [edi + eax + 8]
subsd xmm0, qword [edi + eax - 0x10]
movsd qword [esp + 0x74], xmm0
movsd xmm0, qword [edi + eax + 0x10]
subsd xmm0, qword [edi + eax - 8]
lea ecx, [esp + 0x6c]
movsd qword [esp + 0x7c], xmm0
call fcn.004a88b0
fstp qword [esp + 0x4c]
movsd xmm2, qword [esp + 0x4c]
movsd xmm4, qword [ebp + 0x10]
movsd xmm3, qword [esp + 0x2c]
movsd xmm1, qword [0x5ff758]
movapd xmm0, xmm2
movapd xmm5, xmm4
addsd xmm0, xmm3
subsd xmm5, xmm1
comisd xmm0, xmm5
ja 0x4f717c
mov edx, dword [esp + 0x54]
movsd qword [esp + 0x2c], xmm0
movsd xmm0, qword [edx + esi*8]
dec esi
sub edi, 0x18
cmp esi, ebx
jg 0x4f70d0
xor edi, edi
jmp 0x4f7235
mov eax, dword [esp + 0x54]
movapd xmm0, xmm2
addsd xmm0, xmm3
addsd xmm1, xmm4
comisd xmm1, xmm0
jbe 0x4f71d1
movsd xmm0, qword [esp + 0x24]
movsd xmm1, qword [eax + esi*8 - 8]
subsd xmm0, qword [esp + 0x34]
mov esi, dword [sym.imp.MSVCR90.dll_free]
subsd xmm1, xmm0
movsd qword [esp + 0x4c], xmm1
cmp eax, ebx
je 0x4f71be
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x60]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], ebx
cmp eax, ebx
jmp 0x4f6c85
movsd xmm0, qword [eax + esi*8]
movsd xmm4, qword [eax + esi*8 - 8]
movsd xmm1, qword [esp + 0x1c]
mov esi, dword [sym.imp.MSVCR90.dll_free]
subsd xmm4, xmm0
subsd xmm1, xmm3
mulsd xmm4, xmm1
divsd xmm4, xmm2
addsd xmm4, xmm0
movsd xmm0, qword [esp + 0x24]
subsd xmm0, qword [esp + 0x34]
subsd xmm4, xmm0
movsd qword [esp + 0x4c], xmm4
cmp eax, ebx
je 0x4f71be
push eax
call esi
mov eax, dword [esp + 0x64]
add esp, 4
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], ebx
cmp eax, ebx
jmp 0x4f6c85
movsd xmm0, qword [esp + 0x3c]
movsd xmm1, qword [esp + 0x24]
subsd xmm1, qword [esp + 0x34]
subsd xmm0, xmm1
movsd qword [esp + 0x3c], xmm0
jmp 0x4f729d
fld qword [esp + 0x34]
mov eax, dword [ebx]
mov edx, dword [eax + 0x6c]
sub esp, 8
lea ecx, [esp + 0x74]
fstp qword [esp]
push ecx
mov ecx, ebx
call edx
lea ecx, [esp + 0x6c]
call fcn.004a88b0
fld qword [0x5ff758]
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0x4f729d
fld qword [esp + 0x1c]
lea ecx, [esp + 0x6c]
fsub qword [esp + 0x2c]
fstp qword [esp + 0x4c]
call fcn.004a88b0
fdivr qword [esp + 0x4c]
fsubr qword [esp + 0x3c]
fstp qword [esp + 0x3c]
mov eax, dword [esp + 0x54]
mov esi, dword [sym.imp.MSVCR90.dll_free]
cmp eax, edi
je 0x4f72b1
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x60]
mov dword [esp + 0x54], edi
mov dword [esp + 0x5c], edi
cmp eax, edi
je 0x4f72c7
push eax
call esi
add esp, 4
fld qword [esp + 0x3c]
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18