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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [ebp + 8]
xorps xmm1, xmm1
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [eax]
push edi
mov edi, ecx
mov eax, dword [eax + 4]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x50f650]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esi + 4]
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x4cf11e
sqrtsd xmm0, xmm0
jmp 0x4cf123
call fcn.0043e5b0
movss xmm1, dword [0x5b89a8]
cvtsd2ss xmm0, xmm0
maxss xmm1, xmm0
movss xmm0, dword [0x870be8]
divss xmm0, xmm1
movss dword [esp + 0x14], xmm1
addss xmm0, xmm1
xorps xmm1, xmm1
mulss xmm0, dword [0x5bfe78]
addss xmm0, dword [0x598488]
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x4cf16b
sqrtsd xmm0, xmm0
jmp 0x4cf170
call fcn.0043e5b0
cvtsd2ss xmm0, xmm0
sub esp, 0xc
lea ecx, [edi + 0x14]
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [esp + 4], xmm0
movss xmm0, dword [esi]
divss xmm0, dword [esp + 0x1c]
movss dword [esp], xmm0
push 1
call fcn.004b9e40
movss xmm0, dword [esi + 8]
divss xmm0, dword [esp + 0x10]
movss dword [esp + 0x24], xmm0
mulss xmm0, dword [0x5b89fc]
movss dword [esp + 0x18], xmm0
movsd xmm0, qword [0x511ec8]
call fcn.0043d200
movss xmm1, dword [esp + 0x18]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x511784]
movss dword [esp + 0x14], xmm0
mulss xmm0, dword [esi + 0x10]
mulss xmm0, xmm1
movss dword [esp + 0x18], xmm0
cvtps2pd xmm0, xmm1
call fcn.0043e990
movss xmm1, dword [esp + 0x18]
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x18], xmm0
fld qword [esp + 0x18]
call fcn.005059c0
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
sub esp, 0xc
cvtpd2ps xmm0, xmm0
xorps xmm1, xmm1
addss xmm0, xmm0
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 0xc]
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x4cf24f
sqrtsd xmm0, xmm0
jmp 0x4cf254
call fcn.0043e5b0
cvtsd2ss xmm0, xmm0
lea ecx, [edi + 0x30]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp], xmm0
push 2
call fcn.004b9e40
movss xmm0, dword [esi + 0x14]
divss xmm0, dword [esp + 0x10]
movss xmm1, dword [esp + 0x14]
mulss xmm1, dword [esi + 0x1c]
movss dword [esp + 0x24], xmm0
mulss xmm0, dword [0x5b89fc]
mulss xmm1, xmm0
cvtps2pd xmm0, xmm0
movss dword [esp + 0x14], xmm1
call fcn.0043e990
movss xmm1, dword [esp + 0x14]
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x18], xmm0
fld qword [esp + 0x18]
call fcn.005059c0
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
sub esp, 0xc
cvtpd2ps xmm0, xmm0
xorps xmm1, xmm1
addss xmm0, xmm0
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 0x18]
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x4cf2fb
sqrtsd xmm0, xmm0
jmp 0x4cf300
call fcn.0043e5b0
cvtsd2ss xmm0, xmm0
lea ecx, [edi + 0x4c]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp], xmm0
push 2
call fcn.004b9e40
movss xmm0, dword [esi + 0x24]
xorps xmm1, xmm1
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x4cf336
sqrtsd xmm0, xmm0
jmp 0x4cf33b
call fcn.0043e5b0
movss xmm1, dword [0x5b89a8]
cvtsd2ss xmm0, xmm0
maxss xmm1, xmm0
movss xmm0, dword [0x870be8]
divss xmm0, xmm1
movss dword [esp + 0x24], xmm1
addss xmm0, xmm1
xorps xmm1, xmm1
mulss xmm0, dword [0x5bfe78]
addss xmm0, dword [0x598488]
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x4cf383
sqrtsd xmm0, xmm0
jmp 0x4cf388
call fcn.0043e5b0
cvtsd2ss xmm0, xmm0
sub esp, 0xc
lea ecx, [edi + 0x68]
movss xmm1, dword [esp + 0x30]
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 0x20]
divss xmm0, dword [esp + 0x1c]
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push 0
call fcn.004b9e40
mov edx, dword [ebp + 0xc]
mov esi, 1
mov eax, dword [edx + 0x8c]
sub eax, dword [edx + 0x88]
sar eax, 0xc
cmp eax, esi
jbe 0x4cf476
lea ecx, [edi + 0x9c]
mov eax, dword [edi + 0x1c]
lea ecx, [ecx + 0x7c]
mov dword [ecx - 0x80], eax
inc esi
mov eax, dword [edi + 0x20]
mov dword [ecx - 0x7c], eax
mov eax, dword [edi + 0x24]
mov dword [ecx - 0x78], eax
mov eax, dword [edi + 0x28]
mov dword [ecx - 0x74], eax
mov eax, dword [edi + 0x2c]
mov dword [ecx - 0x70], eax
mov eax, dword [edi + 0x38]
mov dword [ecx - 0x64], eax
mov eax, dword [edi + 0x3c]
mov dword [ecx - 0x60], eax
mov eax, dword [edi + 0x40]
mov dword [ecx - 0x5c], eax
mov eax, dword [edi + 0x44]
mov dword [ecx - 0x58], eax
mov eax, dword [edi + 0x48]
mov dword [ecx - 0x54], eax
mov eax, dword [edi + 0x54]
mov dword [ecx - 0x48], eax
mov eax, dword [edi + 0x58]
mov dword [ecx - 0x44], eax
mov eax, dword [edi + 0x5c]
mov dword [ecx - 0x40], eax
mov eax, dword [edi + 0x60]
mov dword [ecx - 0x3c], eax
mov eax, dword [edi + 0x64]
mov dword [ecx - 0x38], eax
mov eax, dword [edi + 0x70]
mov dword [ecx - 0x2c], eax
mov eax, dword [edi + 0x74]
mov dword [ecx - 0x28], eax
mov eax, dword [edi + 0x78]
mov dword [ecx - 0x24], eax
mov eax, dword [edi + 0x7c]
mov dword [ecx - 0x20], eax
mov eax, dword [edi + 0x80]
mov dword [ecx - 0x1c], eax
mov eax, dword [edx + 0x8c]
sub eax, dword [edx + 0x88]
sar eax, 0xc
cmp esi, eax
jb 0x4cf3e0
mov esi, dword [ebp + 0x14]
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x84]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov ebx, dword [edx + 0x8c]
sub ebx, dword [edx + 0x88]
movss xmm1, dword [edx + 0x90]
mov edx, dword [esi + 0x84]
sub edx, dword [esi + 0x80]
sar ebx, 0xc
sar edx, 0xc
test ebx, ebx
je 0x4cf532
mov ecx, dword [ebp + 0xc]
add edi, 0x88
add ecx, 0xc
mov dword [esp + 0x14], ecx
nop word [eax + eax]
xor eax, eax
mov dword [esp + 0x24], 0xffffffff
xorps xmm0, xmm0
test edx, edx
je 0x4cf519
mov esi, dword [ecx]
mov ecx, dword [ebp + 0x14]
add ecx, 4
nop dword [eax]
cmp dword [ecx], esi
je 0x4cf506
inc eax
add ecx, 8
cmp eax, edx
jb 0x4cf4f0
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
jmp 0x4cf51c
mov ecx, dword [ebp + 0x14]
movaps xmm0, xmm1
mov esi, eax
mulss xmm0, dword [ecx + eax*8]
mov ecx, dword [esp + 0x14]
jmp 0x4cf51c
or esi, 0xffffffff
mov dword [edi - 0x78], esi
add ecx, 8
movss dword [edi], xmm0
add edi, 0x7c
mov dword [esp + 0x14], ecx
sub ebx, 1
jne 0x4cf4d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14