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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x6b3c00
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0x40], eax
movss xmm0, dword [ebp + 0xc]
lea ecx, [ebp + 0x14]
addss xmm0, dword [ebp + 0x10]
movss xmm2, dword [0x6b7e70]
lea esi, [esp + 0x34]
mov eax, dword [eax]
mov dword [esp + 0x34], 0x3f800000
push 0x100
movss dword [esp + 0x34], xmm0
movss xmm0, dword [ebp + 0x14]
movss xmm1, dword [eax + 4]
comiss xmm0, xmm2
divss xmm2, xmm0
cmovbe esi, ecx
xor ebx, ebx
mov dword [esp + 0x54], esi
divss xmm1, dword [esi]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x60], 0x40
mov dword [esp + 0x68], 0x40
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x28], xmm1
call fcn.00570240
mov dword [esp + 0x70], eax
mov dword [esp + 0xc4], ebx
xor edi, edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x80], edi
push 0x80
mov dword [esp + 0x78], 0x40
mov dword [esp + 0x80], 0x40
call fcn.00570240
mov dword [esp + 0x88], eax
mov byte [esp + 0xc8], 1
movss xmm0, dword [ebp + 0xc]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x5c], xmm0
fld qword [esp + 0x5c]
fstp qword [esp]
call fcn.005515c0
fstp qword [esp + 0x5c]
movsd xmm0, qword [esp + 0x5c]
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x38]
cvtps2pd xmm0, xmm0
mov dword [esp + 0x24], eax
movsd qword [esp + 0x5c], xmm0
fld qword [esp + 0x5c]
fstp qword [esp]
call fcn.005514a0
fstp qword [esp + 0x5c]
movsd xmm0, qword [esp + 0x5c]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
mov dword [esp + 0x54], eax
cmp dword [esp + 0x1c], eax
jge 0x66280b
mov eax, dword [ebp + 8]
dec eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x28], eax
jmp 0x662610
push ebx
lea ecx, [esp + 0x60]
call fcn.00662c60
push edi
lea ecx, [esp + 0x74]
call fcn.00662bd0
movd xmm0, dword [esp + 0x1c]
sub esp, 8
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x6f8778]
mulss xmm0, dword [esp + 0x40]
movss dword [esp + 0x34], xmm0
subss xmm0, dword [esp + 0x2c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x4c], xmm0
fld qword [esp + 0x4c]
fstp qword [esp]
call fcn.005515c0
fstp qword [esp + 0x4c]
movsd xmm0, qword [esp + 0x4c]
lea edx, [esp + 0x38]
cvtpd2ps xmm0, xmm0
lea ecx, [esp + 0x44]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x34]
addss xmm0, dword [esp + 0x2c]
test eax, eax
mov dword [esp + 0x38], eax
cmovns ecx, edx
cvtps2pd xmm0, xmm0
mov edi, dword [ecx]
mov dword [esp + 0x38], edi
movsd qword [esp + 0x4c], xmm0
fld qword [esp + 0x4c]
fstp qword [esp]
call fcn.005514a0
fstp qword [esp + 0x4c]
movsd xmm0, qword [esp + 0x4c]
lea ecx, [esp + 0x30]
cvtpd2ps xmm0, xmm0
add esp, 8
lea edx, [esp + 0x20]
xorps xmm1, xmm1
cvttss2si eax, xmm0
cmp dword [esp + 0x28], eax
mov dword [esp + 0x20], eax
cmovge ecx, edx
mov ebx, dword [ecx]
movss dword [esp + 0x20], xmm1
cmp edi, ebx
jg 0x66274e
mov eax, dword [esp + 0x40]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov ecx, dword [eax]
push ecx
addss xmm0, dword [0x6f8778]
mov eax, dword [ecx]
subss xmm0, dword [esp + 0x30]
mov eax, dword [eax]
mulss xmm0, dword [esi]
movss dword [esp], xmm0
call eax
push 1
lea ecx, [esp + 0x60]
fstp dword [esp + 0x48]
call fcn.00662410
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x6c]
movss xmm0, dword [esp + 0x44]
lea ecx, [edx + eax*4]
inc eax
mov dword [esp + 0x60], eax
test ecx, ecx
je 0x662738
movss dword [ecx], xmm0
addss xmm0, dword [esp + 0x20]
inc edi
movaps xmm1, xmm0
movss dword [esp + 0x20], xmm1
cmp edi, ebx
jle 0x6626e0
jmp 0x662756
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x6c]
xor ecx, ecx
xor ebx, ebx
test eax, eax
jle 0x6627c6
mov esi, dword [esp + 0x60]
movss xmm0, dword [edx + ebx*4]
divss xmm0, xmm1
push 1
mulss xmm0, dword [0x6d5c38]
cvttss2si eax, xmm0
movzx eax, ax
add ecx, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x74]
call fcn.00662380
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x80]
lea ecx, [eax + edi*2]
inc edi
mov dword [esp + 0x74], edi
test ecx, ecx
je 0x6627ad
mov eax, dword [esp + 0x44]
mov word [ecx], ax
movss xmm1, dword [esp + 0x20]
inc ebx
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x2c]
cmp ebx, esi
jl 0x662762
mov esi, dword [esp + 0x50]
jmp 0x6627ca
mov edi, dword [esp + 0x74]
mov eax, 0x4000
sub eax, ecx
movzx ecx, ax
mov eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x80]
sar eax, 1
push edi
push edx
push dword [esp + 0x38]
add word [edx + eax*2], cx
mov ecx, dword [ebp + 0x18]
call fcn.0066b190
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x60]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x54]
jl 0x662610
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x66281d
push dword [ebp + 0x18]
call eax
add esp, 4
mov byte [esp + 0xc0], 0
mov eax, dword [esp + 0x80]
cmp eax, dword [esp + 0x7c]
je 0x66283b
push eax
call fcn.005701e0
add esp, 4
mov dword [esp + 0xc0], 0xffffffff
mov eax, dword [esp + 0x6c]
cmp eax, dword [esp + 0x68]
je 0x662859
push eax
call fcn.005701e0
add esp, 4
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