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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
mov edx, dword [ebp + 8]
lea eax, [edx + 0x1c]
mov dword [esp + 0x14], ecx
push esi
mov esi, dword [eax]
cmp esi, 0xffffffff
mov ecx, dword [edx + 0xc]
push edi
lea edi, [esp + 0x78]
mov dword [esp + 0x54], ecx
movss xmm0, dword [esp + 0x54]
cmovge edi, eax
mov eax, dword [edx + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], eax
mov eax, dword [edx]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
subss xmm0, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x50], eax
movss xmm2, dword [esp + 0x50]
mov dword [esp + 0x38], edx
subss xmm2, dword [esp + 0x38]
movss dword [esp + 0x2c], xmm0
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x54], ecx
movss xmm1, dword [esp + 0x54]
mulss xmm1, xmm0
mov dword [esp + 0x7c], 6
movss dword [esp + 0x28], xmm2
mov eax, dword [esp + 0x28]
mov dword [esp + 0x50], eax
movss xmm0, dword [esp + 0x50]
mulss xmm0, xmm2
mov dword [esp + 0x78], 0xffffffff
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x4ac2c9
sqrtsd xmm0, xmm0
jmp 0x4ac2ce
call fcn.00649080
cmp esi, 6
lea eax, [esp + 0x7c]
cvtsd2ss xmm0, xmm0
cmovle eax, edi
mov eax, dword [eax]
movss dword [esp + 0x28], xmm0
cmp eax, 6
ja case.0x4ac2e9.0
jmp dword [eax*4 + 0x4aca70]
mov ecx, dword [0x782898]
mov eax, dword [0x782894]
jmp 0x4ac332
mov ecx, dword [0x7828a0]
mov eax, dword [0x78289c]
jmp 0x4ac332
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
cmp eax, 2
je case.0x4ac2e9.3
cmp eax, 3
jne case.0x4ac2e9.0
mov ecx, dword [0x7828a8]
mov eax, dword [0x7828a4]
jmp 0x4ac332
mov ecx, dword [0x782890]
mov eax, dword [0x78288c]
mov dword [esp + 0x14], eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
movss xmm1, dword [0x67b0c4]
mov dword [esp + 0x4c], 0x3f800000
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x67b110]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [esp + 0x40], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x67b110]
movzx eax, cl
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [esp + 0x44], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x67b110]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0xa4]
push eax
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [esp + 0x50], xmm0
call fcn.0042e9f0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x54], 0x3f800000
movups xmm0, xmmword [eax]
mov eax, ecx
shr eax, 0x10
movaps xmm1, xmm0
movaps xmmword [esp + 0xa8], xmm0
shufps xmm1, xmm0, 0x55
movzx eax, al
movups xmmword [esp + 0xc8], xmm1
movaps xmm1, xmm0
shufps xmm1, xmm0, 0xaa
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movups xmmword [esp + 0xb8], xmm1
addsd xmm0, qword [eax*8 + 0x67b110]
movss xmm1, dword [0x67b0c4]
mov eax, ecx
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [esp + 0x48], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x67b110]
movzx eax, cl
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [esp + 0x4c], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x67b110]
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x5c]
push eax
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [esp + 0x58], xmm0
call fcn.0042e9f0
add esp, 0x10
mov edi, dword [esp + 0x1c]
movups xmm0, xmmword [eax]
mov eax, dword [edi + 4]
movups xmmword [esp + 0x40], xmm0
cmp byte [eax + 0x574fc3], 0
je 0x4ac4de
mov ecx, edi
call fcn.005d2850
mov ecx, edi
mov esi, eax
call fcn.005d2850
push dword [esp + 0x24]
mov ecx, eax
push dword [esp + 0x1c]
call fcn.00626ae0
push eax
mov ecx, esi
call fcn.00628e00
mov dword [esp + 0x20], eax
jmp 0x4ac4e6
mov dword [esp + 0x20], 0
mov eax, dword [ebp + 8]
cmp byte [eax + 0x14], 0
je 0x4ac51e
mov eax, dword [eax + 0x18]
test eax, eax
js 0x4ac51e
mov ecx, dword [edi + 4]
push eax
call fcn.005229b0
test al, al
je 0x4ac51e
movd xmm0, dword [0x78290c]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x67ed54]
movss dword [esp + 0x14], xmm0
jmp 0x4ac52c
movss xmm2, dword [0x67b0b4]
movss dword [esp + 0x14], xmm2
movss xmm1, dword [esp + 0x28]
comiss xmm1, dword [0x67b308]
jbe 0x4ac8d7
movss xmm0, dword [esp + 0x30]
subss xmm0, dword [esp + 0x38]
divss xmm0, xmm1
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x34]
subss xmm0, dword [esp + 0x3c]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x50], eax
divss xmm0, xmm1
movss dword [esp + 0x54], xmm0
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x54], ecx
mov ecx, edi
call fcn.005d2840
mov ecx, dword [esp + 0x1c]
mov edi, eax
mov esi, dword [0x780c78]
call fcn.005d2840
cmp byte [ebp + 0xc], 0
mov edx, dword [ebp + 8]
je 0x4ac5b8
mov ecx, dword [edi + esi*4 + 0x40]
sub ecx, dword [edx + 0x10]
movd xmm0, ecx
mov ecx, dword [0x780c78]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [eax + ecx*4 + 0x48]
jmp 0x4ac5d2
mov ecx, dword [edi + esi*4 + 0x20]
sub ecx, dword [edx + 0x10]
movd xmm0, ecx
mov ecx, dword [0x780c78]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [eax + ecx*4 + 0x28]
mov edi, dword [esp + 0x1c]
mov ecx, edi
movss dword [esp + 0x18], xmm0
call fcn.005d2840
imul ecx, dword [esp + 0x20], 0xbc
mov eax, dword [edi + 4]
movss xmm1, dword [esp + 0x18]
divss xmm1, dword [0x680724]
mov dword [esp + 0x20], 0x3f800000
mov dword [esp + 0x28], 0
movd xmm0, dword [ecx + eax + 0x576038]
lea ecx, [esp + 0x28]
cvtdq2ps xmm0, xmm0
lea eax, [esp + 0x24]
mulss xmm1, dword [0x67b0c8]
divss xmm0, dword [0x67ed54]
divss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm1
movss xmm0, dword [0x67b0b4]
movss dword [esp + 0x24], xmm1
cmovbe ecx, eax
lea eax, [esp + 0x20]
comiss xmm1, xmm0
cmovbe eax, ecx
mov ecx, edi
subss xmm0, dword [eax]
movss dword [esp + 0x18], xmm0
call fcn.005d28e0
push 0xffffffffffffffff
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xa8]
mov ecx, edi
call fcn.005d28e0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x12c]
mov ecx, edi
call fcn.005d28e0
movss xmm0, dword [esp + 0x14]
sub esp, 0x10
mov ecx, eax
mov edx, dword [eax]
movss dword [esp + 0xc], xmm0
movups xmm0, xmmword [esp + 0xc0]
movss dword [esp + 8], xmm0
movups xmm0, xmmword [esp + 0xd0]
movss dword [esp + 4], xmm0
movaps xmm0, xmmword [esp + 0xb0]
movss dword [esp], xmm0
call dword [edx + 0x1c4]
movss xmm2, dword [esp + 0x18]
mulss xmm2, dword [0x67ed50]
movss xmm0, dword [esp + 0x50]
xorps xmm0, xmmword [0x67b120]
movss dword [esp + 0x28], xmm0
movaps xmm1, xmm2
mulss xmm1, dword [esp + 0x54]
mulss xmm2, xmm0
movss xmm0, dword [esp + 0x38]
subss xmm0, xmm1
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x3c]
subss xmm0, xmm2
movss dword [esp + 0x84], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x38]
movss dword [esp + 0x88], xmm0
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [esp + 0x30]
subss xmm0, xmm1
addss xmm1, dword [esp + 0x30]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [esp + 0x34]
subss xmm0, xmm2
movss dword [esp + 0x98], xmm1
addss xmm2, dword [esp + 0x34]
movss dword [esp + 0x94], xmm0
mov ecx, edi
movss dword [esp + 0x9c], xmm2
call fcn.005d28e0
push 1
lea ecx, [esp + 0x84]
push ecx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x19c]
movss xmm1, dword [esp + 0x18]
mov ecx, edi
mulss xmm1, dword [0x67ed48]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x28]
mulss xmm0, dword [esp + 0x54]
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x24], xmm0
call fcn.005d28e0
movss xmm0, dword [esp + 0x14]
sub esp, 0x10
mov ecx, eax
mov edx, dword [eax]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x58]
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x50]
movss dword [esp], xmm0
call dword [edx + 0x1c4]
movss xmm1, dword [esp + 0x24]
mov ecx, edi
movss xmm0, dword [esp + 0x38]
movss xmm4, dword [esp + 0x18]
subss xmm0, xmm1
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x3c]
subss xmm0, xmm4
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x38]
movss dword [esp + 0x58], xmm0
movaps xmm0, xmm4
addss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0x30]
subss xmm0, xmm1
addss xmm1, dword [esp + 0x30]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x34]
subss xmm0, xmm4
movss dword [esp + 0x68], xmm1
addss xmm4, dword [esp + 0x34]
movss dword [esp + 0x64], xmm0
movaps xmm0, xmmword [esp + 0x50]
movss dword [esp + 0x6c], xmm4
movaps xmmword [esp + 0x80], xmm0
movaps xmm0, xmmword [esp + 0x60]
movaps xmmword [esp + 0x90], xmm0
call fcn.005d28e0
push 1
lea ecx, [esp + 0x84]
push ecx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x19c]
mov ecx, edi
call fcn.005d28e0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x130]
mov ecx, edi
call fcn.005d2840
mov ecx, dword [0x780c78]
mov esi, dword [eax + ecx*4 + 0x20]
mov eax, 0x55555556
imul esi
mov ecx, edi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
sub esi, eax
mov dword [esp + 0x28], esi
call fcn.005d28e0
mov ecx, dword [edi + 4]
mov edx, dword [eax]
push dword [ecx + esi*4 + 0x575d38]
mov ecx, eax
call dword [edx + 0xa8]
mov ecx, edi
call fcn.005d28e0
mov edi, eax
mov ecx, dword [edi]
mov esi, dword [ecx + 0x14c]
mov ecx, dword [esp + 0x1c]
call fcn.005d2840
mov ecx, dword [0x780c78]
push ecx
movd xmm0, dword [eax + ecx*4 + 0x20]
mov ecx, edi
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call esi
mov edi, dword [esp + 0x1c]
mov ecx, edi
call fcn.005d28e0
movss xmm0, dword [esp + 0x14]
sub esp, 0x10
mov ecx, eax
mov edx, dword [eax]
movss dword [esp + 0xc], xmm0
movups xmm0, xmmword [esp + 0xc0]
movss dword [esp + 8], xmm0
movups xmm0, xmmword [esp + 0xd0]
movss dword [esp + 4], xmm0
movaps xmm0, xmmword [esp + 0xb0]
movss dword [esp], xmm0
call dword [edx + 0x1c4]
mov ecx, edi
call fcn.005d28e0
movss xmm0, dword [esp + 0x34]
sub esp, 0x10
mov esi, dword [esp + 0x38]
mov ecx, eax
mov edx, dword [eax]
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [esp], xmm0
push dword [edi + esi*4 + 0x60]
push dword [edi + 8]
call dword [edx + 0x194]
mov ecx, edi
call fcn.005d28e0
movss xmm0, dword [esp + 0x14]
sub esp, 0x10
mov ecx, eax
mov edx, dword [eax]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x58]
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x50]
movss dword [esp], xmm0
call dword [edx + 0x1c4]
mov ecx, edi
call fcn.005d28e0
sub esp, 0x10
mov edx, dword [eax]
movss xmm0, dword [esp + 0x44]
mov ecx, eax
mov dword [esp + 0xc], 0x3f555555
mov dword [esp + 8], 0x3f555555
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [esp], xmm0
push dword [edi + esi*4 + 0x60]
push dword [edi + 8]
call dword [edx + 0x194]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8