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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
movss xmm0, dword [0x718824]
divss xmm0, dword [ebp + 0x18]
mov eax, dword [ecx + 0x2c]
push esi
xor esi, esi
mov dword [esp + 0x14], ecx
push edi
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x1c], eax
movss dword [esp + 0x14], xmm0
test eax, eax
jle 0x58aaaa
mov edx, dword [ebp + 8]
sub dword [ebp + 0x10], edx
nop
mov eax, dword [ecx + 0x20]
mov edi, dword [eax + esi*4]
test edi, edi
jns 0x58a6be
xor edi, edi
jmp 0x58a6c4
mov eax, dword [ecx + 8]
mov edi, dword [eax + edi*4]
test edi, edi
je 0x58aa99
mov eax, dword [ebp + 0xc]
movaps xmm5, xmmword [eax + 0x10]
lea ecx, [eax + 0x10]
movaps xmm3, xmmword [edx]
movaps xmm6, xmm5
movaps xmm4, xmm3
shufps xmm6, xmm5, 0xff
mulps xmm4, xmm5
movaps xmm1, xmm3
shufps xmm1, xmm3, 0xc9
movaps xmm2, xmm3
shufps xmm2, xmm3, 0xd2
movaps xmm0, xmm4
shufps xmm0, xmm4, 0x55
addss xmm0, xmm4
shufps xmm4, xmm4, 0xaa
addss xmm4, xmm0
movaps xmm0, xmm5
shufps xmm0, xmm5, 0xd2
mulps xmm1, xmm0
movaps xmm0, xmm5
shufps xmm0, xmm5, 0xc9
mulps xmm2, xmm0
shufps xmm4, xmm4, 0
mulps xmm4, xmm5
subps xmm2, xmm1
mulps xmm2, xmm6
mulps xmm6, xmm6
addps xmm6, xmmword [0x7195c0]
mulps xmm6, xmm3
addps xmm6, xmm4
addps xmm2, xmm6
addps xmm2, xmm2
addps xmm2, xmmword [eax]
lea eax, [edx + 0x10]
push eax
push ecx
lea ecx, [esp + 0xb8]
movaps xmmword [esp + 0xa8], xmm2
call fcn.004782a0
mov eax, dword [ebp + 0xc]
xorps xmm2, xmm2
movaps xmm4, xmmword [esp + 0xb0]
mov ecx, dword [ebp + 0x14]
add ecx, 0x10
movaps xmm0, xmmword [eax + 0x20]
mov eax, dword [ebp + 8]
mulps xmm0, xmmword [eax + 0x20]
movaps xmmword [esp + 0xc0], xmm0
movaps xmm0, xmm4
mulps xmm0, xmm4
movaps xmm1, xmm0
shufps xmm1, xmm0, 0x4e
addps xmm1, xmm0
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xb1
addps xmm0, xmm1
movaps xmm1, xmm2
movss xmm2, dword [0x719764]
movaps xmm6, xmm2
movaps xmmword [esp + 0x20], xmm1
movss xmm2, dword [0x719760]
movaps xmm5, xmm2
movaps xmmword [esp + 0x50], xmm6
shufps xmm0, xmm0, 0
movaps xmm3, xmm0
movaps xmmword [esp + 0x60], xmm5
movaps xmm2, xmm0
rsqrtss xmm3, xmm3
mulss xmm0, xmm3
cmpeqss xmm2, xmm1
movaps xmm1, xmm6
mulss xmm0, xmm3
subss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm3
mulss xmm0, xmm1
andnps xmm2, xmm0
shufps xmm2, xmm2, 0
mulps xmm2, xmm4
movaps xmmword [esp + 0xb0], xmm2
movaps xmm5, xmmword [ecx]
mov edx, dword [ebp + 0x10]
movaps xmm2, xmm5
shufps xmm2, xmm5, 0xc9
movaps xmm1, xmm5
shufps xmm1, xmm5, 0xd2
movaps xmm6, xmm5
shufps xmm6, xmm5, 0xff
movaps xmm3, xmmword [edx + eax]
movaps xmm4, xmm3
mov eax, dword [ebp + 0x14]
mulps xmm4, xmm5
movaps xmm0, xmm4
shufps xmm0, xmm4, 0x55
addss xmm0, xmm4
shufps xmm4, xmm4, 0xaa
addss xmm4, xmm0
movaps xmm0, xmm3
shufps xmm0, xmm3, 0xd2
mulps xmm2, xmm0
movaps xmm0, xmm3
shufps xmm0, xmm3, 0xc9
mulps xmm1, xmm0
shufps xmm4, xmm4, 0
mulps xmm4, xmm5
subps xmm2, xmm1
mulps xmm2, xmm6
mulps xmm6, xmm6
addps xmm6, xmmword [0x7195c0]
mulps xmm6, xmm3
addps xmm6, xmm4
addps xmm2, xmm6
addps xmm2, xmm2
addps xmm2, xmmword [eax]
mov eax, dword [ebp + 8]
add eax, 0x10
add eax, edx
push eax
push ecx
lea ecx, [esp + 0x88]
movaps xmmword [esp + 0x78], xmm2
call fcn.004782a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
movaps xmm4, xmmword [esp + 0x80]
movaps xmm0, xmmword [ecx + eax + 0x20]
mov ecx, edi
mov eax, dword [ebp + 0x14]
mulps xmm0, xmmword [eax + 0x20]
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x74]
push eax
movaps xmmword [esp + 0x98], xmm0
movaps xmm0, xmm4
mulps xmm0, xmm4
movaps xmm1, xmm0
shufps xmm1, xmm0, 0x4e
addps xmm1, xmm0
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xb1
addps xmm0, xmm1
movaps xmm1, xmmword [esp + 0x58]
shufps xmm0, xmm0, 0
movaps xmm2, xmm0
movaps xmm3, xmm0
cmpeqss xmm3, dword [esp + 0x28]
rsqrtss xmm2, xmm2
mulss xmm0, xmm2
mulss xmm0, xmm2
subss xmm1, xmm0
movaps xmm0, xmmword [esp + 0x68]
mulss xmm0, xmm2
mulss xmm0, xmm1
andnps xmm3, xmm0
shufps xmm3, xmm3, 0
mulps xmm3, xmm4
movaps xmmword [esp + 0x88], xmm3
call fcn.00511bc0
movaps xmm1, xmmword [esp + 0x70]
subps xmm1, xmmword [esp + 0xa0]
movss xmm0, dword [esp + 0x14]
mov ecx, edi
shufps xmm0, xmm0, 0
mulps xmm1, xmm0
movaps xmmword [esp + 0xd0], xmm1
call fcn.005078e0
mov eax, dword [edi + 0xe0]
lea ecx, [edi + 0xe0]
lea edx, [esp + 0xd0]
push edx
call dword [eax + 0x40]
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x38]
call fcn.00558c20
movaps xmm3, xmmword [esp + 0x30]
movaps xmm0, xmm3
movaps xmm4, xmmword [esp + 0x50]
mulps xmm0, xmm3
movaps xmm1, xmm0
shufps xmm1, xmm0, 0x4e
addps xmm1, xmm0
movaps xmm2, xmm1
shufps xmm2, xmm1, 0xb1
addps xmm2, xmm1
shufps xmm2, xmm2, 0
movaps xmm0, xmm2
movaps xmm1, xmm2
cmpeqss xmm1, dword [esp + 0x20]
rsqrtss xmm0, xmm0
mulss xmm2, xmm0
mulss xmm2, xmm0
subss xmm4, xmm2
movaps xmm2, xmmword [esp + 0x60]
mulss xmm2, xmm0
mulss xmm2, xmm4
andnps xmm1, xmm2
shufps xmm1, xmm1, 0
mulps xmm1, xmm3
movaps xmmword [esp + 0x30], xmm1
mulps xmm1, xmm1
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
addss xmm0, xmm1
shufps xmm1, xmm1, 0xaa
addss xmm1, xmm0
sqrtss xmm1, xmm1
comiss xmm1, dword [0x77f9a4]
ja 0x58aa09
xorps xmm0, xmm0
jmp 0x58aa72
movss xmm1, dword [esp + 0x3c]
andps xmm1, xmmword [0x719120]
movaps xmm0, xmm1
andps xmm0, xmmword [0x719120]
comiss xmm0, dword [0x718824]
jb 0x58aa3b
xorps xmm0, xmm0
comiss xmm1, xmm0
ja 0x58aa43
movss xmm0, dword [0x719d84]
jmp 0x58aa43
movaps xmm0, xmm1
call fcn.0062b294
lea eax, [esp + 0x40]
movaps xmmword [esp + 0x20], xmm0
push eax
lea ecx, [esp + 0x34]
call fcn.0058b020
movaps xmm0, xmmword [esp + 0x20]
mulss xmm0, dword [0x719724]
mulss xmm0, dword [esp + 0x14]
shufps xmm0, xmm0, 0
mulps xmm0, xmmword [esp + 0x40]
mov ecx, edi
movaps xmmword [esp + 0x40], xmm0
call fcn.005078e0
mov eax, dword [edi + 0xe0]
lea ecx, [edi + 0xe0]
lea edx, [esp + 0x40]
push edx
call dword [eax + 0x44]
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x18]
inc esi
add edx, 0x30
mov dword [ebp + 8], edx
cmp esi, dword [esp + 0x1c]
jl 0x58a6b0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14