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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
mov edi, ecx
call fcn.0048af80
mov eax, dword [ebp + 0x20]
lea edx, [ebp - 4]
movq xmm0, qword [ebp + 0x18]
push 0
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 8]
push edx
push 0
push 0
mov ecx, dword [eax]
push eax
movq qword [ebp - 0x30], xmm0
call dword [ecx + 0x2c]
movss xmm0, dword [0x54fee0]
ucomiss xmm0, dword [edi + 0x1c]
lahf
test ah, 0x44
jp 0x4aefc2
movss xmm1, dword [ebp - 0x28]
mov eax, 0x55555556
imul dword [edi]
movss xmm0, dword [0x54e00c]
movss dword [ebp - 0x10], xmm1
movss xmm1, dword [ebp - 0x30]
movss dword [ebp - 0xc], xmm1
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x4af0ed
movss xmm5, dword [edi + 0x18]
movss xmm4, dword [ebp + 0x18]
movss xmm3, dword [ebp + 0x20]
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jp 0x4af003
movss xmm0, dword [edi + 0x1c]
ucomiss xmm0, dword [ebp + 0x1c]
lahf
test ah, 0x44
jp 0x4af003
movss xmm0, dword [edi + 0x20]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x4af003
mov dword [edi + 0x14], 0
jmp 0x4af4be
movaps xmm1, xmm4
movaps xmm2, xmm3
subss xmm1, xmm5
sub esp, 0x10
mulss xmm1, dword [0x556870]
addss xmm1, dword [ebp - 0x30]
movss dword [ebp - 0xc], xmm1
movss xmm1, dword [edi + 0x20]
subss xmm2, xmm1
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm5
movss dword [esp + 4], xmm3
movss dword [esp], xmm4
mulss xmm2, dword [0x556870]
addss xmm2, dword [ebp - 0x28]
movss dword [ebp - 0x10], xmm2
call fcn.00449120
fstp dword [ebp - 0x20]
movss xmm2, dword [ebp - 0x20]
add esp, 0x10
addss xmm2, dword [edi + 0x14]
xor eax, eax
comiss xmm2, dword [0x5567b8]
movss dword [edi + 0x14], xmm2
jbe 0x4af08e
movq xmm0, qword [ebp + 0x18]
mov eax, dword [ebp + 0x20]
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x28], eax
jmp 0x4aef93
movd xmm0, dword [0x57d1d4]
movss xmm3, dword [0x54df94]
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm3
movss xmm4, dword [0x54dfd8]
divss xmm1, xmm0
mulss xmm1, xmm4
comiss xmm2, xmm1
jbe 0x4af4be
nop dword [eax]
subss xmm2, xmm1
inc eax
movaps xmm1, xmm3
movss dword [edi + 0x14], xmm2
movd xmm0, dword [0x57d1d4]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
mulss xmm1, xmm4
comiss xmm2, xmm1
ja 0x4af0c0
movss xmm0, dword [0x54e000]
mov dword [ebp - 8], eax
test eax, eax
jle 0x4af4be
movaps xmm1, xmm0
xorps xmm1, xmmword [0x54c690]
subss xmm0, xmm1
movss dword [ebp - 0x1c], xmm1
push esi
movss dword [ebp - 0x18], xmm0
mov eax, dword [edi + 4]
lea esi, [eax + eax*2]
add esi, esi
call fcn.00516bc4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x18]
divss xmm0, dword [0x54e034]
addss xmm0, dword [ebp - 0x1c]
addss xmm0, dword [ebp - 0xc]
movss dword [ebp - 0x14], xmm0
call fcn.00516bc4
mov ecx, dword [ebp + 8]
sub esp, 8
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x18]
divss xmm0, dword [0x54e034]
addss xmm0, dword [ebp - 0x1c]
addss xmm0, dword [ebp - 0x10]
movss dword [esp + 4], xmm0
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [esp], xmm0
call fcn.0048a720
test eax, eax
je 0x4af4b3
movss xmm0, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
push 0
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [esp], xmm0
call fcn.0048a7b0
mov eax, dword [ebp - 4]
lea ecx, [esi + esi*2]
movss xmm4, dword [ebp - 0x14]
xorps xmm7, xmm7
movss xmm5, dword [ebp - 0x20]
movaps xmm0, xmm4
subss xmm0, dword [edi + 0x10]
fstp dword [ebp - 0x24]
movss xmm2, dword [ebp - 0x24]
movaps xmm1, xmm5
movaps xmm3, xmm2
addss xmm1, xmm7
addss xmm3, xmm7
movss dword [eax + ecx*8], xmm0
movaps xmm0, xmm4
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 4], xmm3
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 8], xmm1
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0xc], 0xffffff
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x10], 0
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x14], 0x3f800000
subss xmm0, dword [edi + 0x10]
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x18], xmm0
movss xmm0, dword [edi + 0x10]
mov eax, dword [ebp - 4]
mulss xmm0, dword [0x54dfd8]
addss xmm0, xmm2
movss dword [eax + ecx*8 + 0x1c], xmm0
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x20], xmm1
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x24], 0xffffff
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x28], 0
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x2c], 0
lea ecx, [esi + esi*2]
movss xmm0, dword [edi + 0x10]
mov eax, dword [ebp - 4]
addss xmm0, xmm0
addss xmm0, xmm4
addss xmm4, xmm7
movss dword [eax + ecx*8 + 0x30], xmm0
movaps xmm0, xmm5
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x34], xmm3
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x38], xmm1
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x3c], 0xffffff
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x40], 0x3f800000
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x44], 0x3f800000
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x48], xmm4
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x4c], xmm3
subss xmm0, dword [edi + 0x10]
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x50], xmm0
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x54], 0xffffff
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x58], 0
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x5c], 0x3f800000
lea ecx, [esi + esi*2]
mov eax, dword [ebp - 4]
mov edx, 0x3f000000
mov dword [ebp - 0x20], 4
movss dword [eax + ecx*8 + 0x60], xmm4
movss xmm0, dword [edi + 0x10]
mulss xmm0, dword [0x54dfd8]
mov eax, dword [ebp - 4]
addss xmm0, xmm2
movss dword [eax + ecx*8 + 0x64], xmm0
movaps xmm0, xmm5
subss xmm0, dword [edi + 0x10]
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x68], xmm0
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x6c], 0xffffff
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x70], 0
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x74], 0
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x78], xmm4
mov eax, dword [ebp - 4]
movss dword [eax + ecx*8 + 0x7c], xmm3
movss xmm0, dword [edi + 0x10]
mov eax, dword [ebp - 4]
addss xmm0, xmm0
addss xmm0, xmm5
movss dword [eax + ecx*8 + 0x80], xmm0
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x84], 0xffffff
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x88], 0x3f800000
mov eax, dword [ebp - 4]
mov dword [eax + ecx*8 + 0x8c], 0x3f800000
nop dword [eax]
sub esi, 1
jns 0x4af3d1
mov eax, dword [edi]
lea eax, [eax + eax*2]
lea esi, [eax*2 - 1]
mov eax, dword [ebp - 4]
lea ecx, [esi + esi*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [ebp - 4]
or dword [eax + ecx*8 + 0xc], edx
sub esi, 1
jns 0x4af3f4
mov eax, dword [edi]
lea eax, [eax + eax*2]
lea esi, [eax*2 - 1]
mov eax, dword [ebp - 4]
lea ecx, [esi + esi*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [ebp - 4]
or dword [eax + ecx*8 + 0xc], edx
sub esi, 1
jns 0x4af417
mov eax, dword [edi]
lea eax, [eax + eax*2]
lea esi, [eax*2 - 1]
mov eax, dword [ebp - 4]
lea ecx, [esi + esi*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [ebp - 4]
or dword [eax + ecx*8 + 0xc], edx
sub esi, 1
jns 0x4af43a
mov eax, dword [edi]
lea eax, [eax + eax*2]
lea esi, [eax*2 - 1]
mov eax, dword [ebp - 4]
lea ecx, [esi + esi*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [ebp - 4]
or dword [eax + ecx*8 + 0xc], edx
sub esi, 1
jns 0x4af45d
mov eax, dword [edi]
lea eax, [eax + eax*2]
lea esi, [eax*2 - 1]
mov eax, dword [ebp - 4]
lea ecx, [esi + esi*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [ebp - 4]
or dword [eax + ecx*8 + 0xc], edx
sub esi, 1
jns 0x4af480
mov eax, dword [edi]
lea eax, [eax + eax*2]
lea esi, [eax*2 - 1]
mov eax, dword [ebp - 4]
lea ecx, [esi + esi*2]
mov byte [eax + ecx*8 + 0xf], 0
mov eax, dword [ebp - 4]
or dword [eax + ecx*8 + 0xc], edx
add edx, 0x3f000000
sub dword [ebp - 0x20], 1
jne 0x4af3c0
inc dword [edi + 4]
mov eax, dword [edi + 4]
cmp eax, dword [edi]
jl 0x4af4b3
mov dword [edi + 4], 0
sub dword [ebp - 8], 1
jne 0x4af111
pop esi
mov eax, dword [edi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
movq xmm0, qword [ebp + 0x18]
mov eax, dword [ebp + 0x20]
movq qword [edi + 0x18], xmm0
mov dword [edi + 0x20], eax
call fcn.00487260
pop edi
mov esp, ebp
pop ebp
ret 0x1c