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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x64e2c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
movss xmm3, dword [0x5eeaf4]
movd xmm0, dword [ecx]
cvtdq2ps xmm0, xmm0
movss dword [edx], xmm0
movd xmm0, dword [ecx + 4]
cvtdq2ps xmm0, xmm0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
movss dword [edx + 4], xmm0
cmp dword [ecx], 0
jne 0x587275
movaps xmm0, xmmword [0x612a60]
movaps xmm1, xmm3
jmp 0x587284
mov eax, dword [ecx + 0x18]
movups xmm0, xmmword [ecx + 8]
mov dword [ebp - 8], eax
movss xmm1, dword [ebp - 8]
movups xmmword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 0x14]
mulss xmm0, xmm1
movss dword [edx + 0x10], xmm0
movss xmm0, dword [ebp - 0x10]
mulss xmm0, xmm1
movss dword [edx + 0x14], xmm0
movss xmm0, dword [ebp - 0xc]
mulss xmm0, xmm1
movss dword [edx + 0x18], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [edx + 0x1c], xmm0
mov eax, dword [ecx]
test eax, eax
jne 0x5872ce
movaps xmm0, xmmword [0x612a60]
movaps xmm1, xmm3
jmp 0x587301
cmp eax, 1
ja 0x5872f2
lea eax, [eax + eax*4]
movups xmm0, xmmword [ecx + eax*4 - 0xc]
mov eax, dword [ecx + eax*4 + 4]
movups xmmword [ebp - 0x2c], xmm0
addss xmm0, xmm3
movss dword [ebp - 0x2c], xmm0
movups xmm0, xmmword [ebp - 0x2c]
jmp 0x5872f9
movups xmm0, xmmword [ecx + 0x1c]
mov eax, dword [ecx + 0x2c]
mov dword [ebp - 8], eax
movss xmm1, dword [ebp - 8]
movups xmmword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 0x14]
mulss xmm0, xmm1
movss dword [edx + 0x20], xmm0
movss xmm0, dword [ebp - 0x10]
mulss xmm0, xmm1
movss dword [edx + 0x24], xmm0
movss xmm0, dword [ebp - 0xc]
mulss xmm0, xmm1
movss dword [edx + 0x28], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [edx + 0x2c], xmm0
mov eax, dword [ecx]
test eax, eax
jne 0x58734b
movaps xmm0, xmmword [0x612a60]
movaps xmm1, xmm3
jmp 0x587382
cmp eax, 2
ja 0x587373
lea eax, [eax + eax*4]
movups xmm0, xmmword [ecx + eax*4 - 0xc]
mov eax, dword [ecx + eax*4 + 4]
movups xmmword [ebp - 0x2c], xmm0
addss xmm0, dword [0x5eeb08]
movss dword [ebp - 0x2c], xmm0
movups xmm0, xmmword [ebp - 0x2c]
jmp 0x58737a
movups xmm0, xmmword [ecx + 0x30]
mov eax, dword [ecx + 0x40]
mov dword [ebp - 8], eax
movss xmm1, dword [ebp - 8]
movups xmmword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 0x14]
mulss xmm0, xmm1
movss dword [edx + 0x30], xmm0
movss xmm0, dword [ebp - 0x10]
mulss xmm0, xmm1
movss dword [edx + 0x34], xmm0
movss xmm0, dword [ebp - 0xc]
mulss xmm0, xmm1
movss dword [edx + 0x38], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [edx + 0x3c], xmm0
mov eax, dword [ecx]
test eax, eax
jne 0x5873cc
movaps xmm0, xmmword [0x612a60]
movaps xmm1, xmm3
jmp 0x587403
cmp eax, 3
ja 0x5873f4
lea eax, [eax + eax*4]
movups xmm0, xmmword [ecx + eax*4 - 0xc]
mov eax, dword [ecx + eax*4 + 4]
movups xmmword [ebp - 0x2c], xmm0
addss xmm0, dword [0x5eeb10]
movss dword [ebp - 0x2c], xmm0
movups xmm0, xmmword [ebp - 0x2c]
jmp 0x5873fb
movups xmm0, xmmword [ecx + 0x44]
mov eax, dword [ecx + 0x54]
mov dword [ebp - 8], eax
movss xmm1, dword [ebp - 8]
movups xmmword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 0x14]
mulss xmm0, xmm1
movss dword [edx + 0x40], xmm0
movss xmm0, dword [ebp - 0x10]
mulss xmm0, xmm1
movss dword [edx + 0x44], xmm0
movss xmm0, dword [ebp - 0xc]
mulss xmm0, xmm1
movss dword [edx + 0x48], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [edx + 0x4c], xmm0
mov eax, dword [ecx]
test eax, eax
jne 0x58744d
movaps xmm0, xmmword [0x612a60]
movaps xmm1, xmm3
jmp 0x587484
cmp eax, 4
ja 0x587475
lea eax, [eax + eax*4]
movups xmm0, xmmword [ecx + eax*4 - 0xc]
mov eax, dword [ecx + eax*4 + 4]
movups xmmword [ebp - 0x2c], xmm0
addss xmm0, dword [0x5eeb14]
movss dword [ebp - 0x2c], xmm0
movups xmm0, xmmword [ebp - 0x2c]
jmp 0x58747c
movups xmm0, xmmword [ecx + 0x58]
mov eax, dword [ecx + 0x68]
mov dword [ebp - 8], eax
movss xmm1, dword [ebp - 8]
movups xmmword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 0x14]
mulss xmm0, xmm1
movss dword [edx + 0x50], xmm0
movss xmm0, dword [ebp - 0x10]
mulss xmm0, xmm1
movss dword [edx + 0x54], xmm0
movss xmm0, dword [ebp - 0xc]
mulss xmm0, xmm1
movss dword [edx + 0x58], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [edx + 0x5c], xmm0
mov eax, dword [ecx]
test eax, eax
jne 0x5874ce
movaps xmm0, xmmword [0x612a60]
movaps xmm1, xmm3
jmp 0x587505
cmp eax, 5
ja 0x5874f6
lea eax, [eax + eax*4]
movups xmm0, xmmword [ecx + eax*4 - 0xc]
mov eax, dword [ecx + eax*4 + 4]
movups xmmword [ebp - 0x2c], xmm0
addss xmm0, dword [0x5eeb18]
movss dword [ebp - 0x2c], xmm0
movups xmm0, xmmword [ebp - 0x2c]
jmp 0x5874fd
movups xmm0, xmmword [ecx + 0x6c]
mov eax, dword [ecx + 0x7c]
mov dword [ebp - 8], eax
movss xmm1, dword [ebp - 8]
movups xmmword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 0x14]
mulss xmm0, xmm1
movss dword [edx + 0x60], xmm0
movss xmm0, dword [ebp - 0x10]
mulss xmm0, xmm1
movss dword [edx + 0x64], xmm0
movss xmm0, dword [ebp - 0xc]
mulss xmm0, xmm1
movss dword [edx + 0x68], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [edx + 0x6c], xmm0
mov eax, dword [ecx]
test eax, eax
jne 0x58754f
movaps xmm0, xmmword [0x612a60]
movaps xmm1, xmm3
jmp 0x58758c
cmp eax, 6
ja 0x587577
lea eax, [eax + eax*4]
movups xmm0, xmmword [ecx + eax*4 - 0xc]
mov eax, dword [ecx + eax*4 + 4]
movups xmmword [ebp - 0x2c], xmm0
addss xmm0, dword [0x5eeb1c]
movss dword [ebp - 0x2c], xmm0
movups xmm0, xmmword [ebp - 0x2c]
jmp 0x587584
movups xmm0, xmmword [ecx + 0x80]
mov eax, dword [ecx + 0x90]
mov dword [ebp - 8], eax
movss xmm1, dword [ebp - 8]
movups xmmword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 0x14]
mulss xmm0, xmm1
movss dword [edx + 0x70], xmm0
movss xmm0, dword [ebp - 0x10]
mulss xmm0, xmm1
movss dword [edx + 0x74], xmm0
movss xmm0, dword [ebp - 0xc]
mulss xmm0, xmm1
movss dword [edx + 0x78], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [edx + 0x7c], xmm0
mov eax, dword [ecx]
test eax, eax
jne 0x5875d6
movaps xmm0, xmmword [0x612a60]
movaps xmm1, xmm3
jmp 0x587613
cmp eax, 7
ja 0x5875fe
lea eax, [eax + eax*4]
movups xmm0, xmmword [ecx + eax*4 - 0xc]
mov eax, dword [ecx + eax*4 + 4]
movups xmmword [ebp - 0x2c], xmm0
addss xmm0, dword [0x5eeb20]
movss dword [ebp - 0x2c], xmm0
movups xmm0, xmmword [ebp - 0x2c]
jmp 0x58760b
movups xmm0, xmmword [ecx + 0x94]
mov eax, dword [ecx + 0xa4]
mov dword [ebp - 8], eax
movss xmm1, dword [ebp - 8]
movups xmmword [ebp - 0x18], xmm0
lea eax, [edx + 0x94]
movss xmm0, dword [ebp - 0x14]
mulss xmm0, xmm1
push ebx
push esi
push edi
movss dword [edx + 0x80], xmm0
lea ebx, [ecx + 0xac]
movss xmm0, dword [ebp - 0x10]
xor edi, edi
mulss xmm0, xmm1
mov dword [ebp - 0x30], eax
movss dword [edx + 0x84], xmm0
movss xmm0, dword [ebp - 0xc]
mulss xmm0, xmm1
movss dword [edx + 0x88], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [edx + 0x8c], xmm0
nop dword [eax + eax]
mov esi, dword [ecx + 4]
test esi, esi
jne 0x587685
xorps xmm1, xmm1
movaps xmm4, xmm3
xorps xmm0, xmm0
movaps xmm2, xmm3
jmp 0x587700
cmp esi, edi
ja 0x5876ba
movss xmm4, dword [ecx + esi*8 + 0xa4]
mov eax, edi
movd xmm0, edi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5eebd0]
mov eax, dword [ebp - 0x30]
cvtpd2ps xmm1, xmm0
addss xmm1, dword [ecx + esi*8 + 0xa0]
jmp 0x5876c3
movss xmm1, dword [ebx - 4]
movss xmm4, dword [ebx]
lea edx, [edi + 1]
cmp esi, edx
ja 0x5876f6
movss xmm2, dword [ecx + esi*8 + 0xa4]
movd xmm0, edx
cvtdq2pd xmm0, xmm0
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x5eebd0]
cvtpd2ps xmm0, xmm0
addss xmm0, dword [ecx + esi*8 + 0xa0]
jmp 0x587700
movss xmm0, dword [ebx + 4]
movss xmm2, dword [ebx + 8]
movss dword [eax - 4], xmm4
add edi, 2
movss dword [eax], xmm1
add ebx, 0x10
movss dword [eax + 4], xmm2
movss dword [eax + 8], xmm0
add eax, 0x10
mov dword [ebp - 0x30], eax
cmp edi, 8
jb 0x587670
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.005b26e6
mov esp, ebp
pop ebp
ret