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

Disassembly:
sub esp, 0x58
push ebx
mov eax, edx
xor ebx, ebx
push ebp
mov edx, ecx
mov dword [esp + 8], eax
mov ebp, edx
mov dword [esp + 0x58], edx
imul ebp, eax
push esi
mov esi, dword [esp + 0x6c]
push edi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x1c], ebp
test eax, eax
jle 0x66074d
mov esi, dword [esp + 0x1c]
lea ebp, [edx*4]
lea ecx, [edi + esi*4]
lea eax, [esi + esi*2]
mov dword [esp + 0x20], ecx
lea esi, [edi + esi*8]
mov dword [esp + 0x14], esi
lea eax, [edi + eax*4]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x70]
mov dword [esp + 0x18], eax
nop dword [eax]
movss xmm2, dword [ecx]
lea ecx, [ebx*4]
addss xmm2, dword [eax]
movss xmm1, dword [edi + ebx*4]
mov eax, dword [esp + 0x14]
addss xmm1, dword [eax]
lea eax, [ecx + ebp]
movaps xmm0, xmm1
subss xmm1, xmm2
addss xmm0, xmm2
movss dword [esi + ecx*4], xmm0
lea ecx, [ecx + edx*2]
movss dword [esi + eax*4 - 4], xmm1
mov eax, dword [esp + 0x14]
movss xmm0, dword [edi + ebx*4]
add ebx, edx
add dword [esp + 0x14], ebp
subss xmm0, dword [eax]
mov eax, dword [esp + 0x18]
movss dword [esi + ecx*4 - 4], xmm0
movss xmm0, dword [eax]
mov eax, dword [esp + 0x20]
subss xmm0, dword [eax]
mov eax, dword [esp + 0x18]
add eax, ebp
mov dword [esp + 0x18], eax
movss dword [esi + ecx*4], xmm0
mov ecx, dword [esp + 0x20]
add ecx, ebp
sub dword [esp + 0x44], 1
mov dword [esp + 0x20], ecx
jne 0x6606c0
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
cmp edx, 2
jl 0x660b10
je 0x660a33
xor ebx, ebx
mov dword [esp + 0x50], ebx
test eax, eax
jle 0x660a2a
mov eax, edx
mov dword [esp + 0x3c], esi
shl eax, 4
mov ecx, esi
mov dword [esp + 0x64], eax
lea eax, [ebp*2]
add eax, ebp
lea eax, [edi + eax*4]
mov dword [esp + 0x44], eax
lea eax, [edi + ebp*4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], eax
nop dword [eax + eax]
lea eax, [ebx*4]
lea eax, [eax + edx*2]
cmp edx, 2
jle 0x6609fe
lea ecx, [esi + eax*4]
lea eax, [eax + edx*2]
mov dword [esp + 0x58], ecx
lea eax, [esi + eax*4]
mov dword [esp + 0x34], eax
lea ecx, [ebx*4]
mov eax, dword [esp + 0x3c]
lea ebp, [ecx + edi]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x74]
add eax, 4
mov dword [esp + 0x5c], ebp
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
lea eax, [ecx + edx*2]
lea eax, [esi + eax*4]
mov dword [esp + 0x30], eax
lea eax, [ebx + ebp*2]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x18]
lea eax, [edi + eax*4]
mov edi, dword [esp + 0x44]
mov ecx, ebx
sub ebx, dword [esp + 0x7c]
sub ecx, dword [esp + 0x74]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x74]
mov dword [esp + 0x2c], eax
lea eax, [edx - 3]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x58]
shr eax, 1
mov dword [esp + 0x24], edi
inc eax
mov dword [esp + 0x4c], ebx
mov edi, ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x48], eax
nop
add dword [esp + 0x20], 8
add ebx, 8
mov eax, dword [esp + 0x20]
sub edx, 8
movss xmm4, dword [ebp - 4]
movss xmm2, dword [ebp]
movaps xmm5, xmm4
add dword [esp + 0x14], 8
mulss xmm4, dword [eax]
add dword [esp + 0x24], 8
movss xmm0, dword [eax]
mulss xmm5, dword [eax - 4]
add dword [esp + 0x28], 8
mulss xmm0, xmm2
add dword [esp + 0x30], 8
mulss xmm2, dword [eax - 4]
mov eax, dword [esp + 0x14]
addss xmm5, xmm0
movss xmm1, dword [ebx - 4]
sub dword [esp + 0x34], 8
subss xmm4, xmm2
movss xmm2, dword [ecx + ebp]
movss xmm3, dword [eax - 4]
movaps xmm0, xmm2
mov eax, dword [esp + 0x38]
mulss xmm2, xmm3
movss dword [esp + 0x18], xmm4
movss xmm7, dword [edi + eax]
mov edi, dword [esp + 0x14]
movaps xmm4, xmm7
mulss xmm4, xmm3
movss xmm3, dword [ebx]
mulss xmm0, dword [edi]
mulss xmm7, dword [edi]
mov edi, dword [esp + 0x24]
addss xmm4, xmm0
subss xmm7, xmm2
movss xmm2, dword [esi + ebp]
movss xmm6, dword [edi - 4]
movaps xmm0, xmm2
mulss xmm6, dword [eax]
mulss xmm2, dword [edi - 4]
movss dword [esp + 0x5c], xmm4
movss xmm4, dword [edi]
mulss xmm0, xmm4
mulss xmm4, dword [eax]
mov eax, dword [esp + 0x28]
addss xmm6, xmm0
subss xmm4, xmm2
movaps xmm2, xmm1
addss xmm2, dword [esp + 0x5c]
subss xmm1, dword [esp + 0x5c]
movss dword [esp + 0x2c], xmm6
addss xmm6, xmm5
movss xmm0, dword [esp + 0x2c]
subss xmm0, xmm5
movaps xmm5, xmm4
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x18]
addss xmm5, xmm0
subss xmm0, xmm4
movaps xmm4, xmm3
addss xmm4, xmm7
subss xmm3, xmm7
movss dword [esp + 0x18], xmm0
movaps xmm0, xmm2
addss xmm0, xmm6
movss dword [eax - 4], xmm0
movaps xmm0, xmm4
addss xmm0, xmm5
movss dword [eax], xmm0
movaps xmm0, xmm1
subss xmm0, dword [esp + 0x18]
addss xmm1, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
movss dword [edx - 4], xmm0
movss xmm0, dword [esp + 0x2c]
subss xmm0, xmm3
addss xmm3, dword [esp + 0x2c]
movss dword [edx], xmm0
movss dword [eax - 4], xmm1
add dword [esp + 0x38], 8
subss xmm2, xmm6
mov edi, dword [esp + 0x4c]
subss xmm5, xmm4
movss dword [eax], xmm3
add ebp, 8
sub dword [esp + 0x48], 1
mov eax, dword [esp + 0x34]
movss dword [eax - 4], xmm2
movss dword [eax], xmm5
jne 0x660850
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
add ecx, dword [esp + 0x64]
lea eax, [edx*4]
add dword [esp + 0x40], eax
add ebx, edx
add dword [esp + 0x44], eax
sub dword [esp + 0x54], 1
mov dword [esp + 0x50], ebx
mov dword [esp + 0x3c], ecx
jne 0x6607a0
mov eax, dword [esp + 0x10]
test dl, 1
jne 0x660b10
lea ecx, [ebp - 1]
add ecx, edx
mov dword [esp + 0x54], ecx
lea ecx, [ecx + ebp*2]
mov dword [esp + 0x64], ecx
lea ecx, [edx*4]
test eax, eax
jle 0x660b10
lea eax, [ecx*4]
movss xmm3, dword [0x6db8d8]
mov dword [esp + 0x50], eax
lea ecx, [edx*4]
mov eax, dword [esp + 0x64]
lea ebx, [ecx + esi]
movss xmm4, dword [0x6dba8c]
lea eax, [edi + eax*4]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x54]
lea eax, [edi + eax*4]
mov dword [esp + 0x60], eax
lea eax, [edx + edx*2]
lea edx, [esi + eax*4]
mov esi, dword [esp + 0x54]
lea eax, [esi + ebp]
sub esi, ebp
mov ebp, dword [esp + 0x64]
lea eax, [edi + eax*4]
lea esi, [edi + esi*4]
mov edi, dword [esp + 0x60]
nop word [eax + eax]
movss xmm1, dword [edi]
add edi, ecx
movaps xmm2, xmm1
subss xmm1, dword [ebp]
addss xmm2, dword [ebp]
add ebp, ecx
mulss xmm1, xmm3
mulss xmm2, xmm4
movaps xmm0, xmm1
addss xmm0, dword [esi]
movss dword [ebx - 4], xmm0
movss xmm0, dword [esi]
add esi, ecx
subss xmm0, xmm1
movss dword [edx - 4], xmm0
movaps xmm0, xmm2
subss xmm0, dword [eax]
movss dword [ebx], xmm0
movss xmm0, dword [eax]
add eax, ecx
add ebx, dword [esp + 0x50]
addss xmm0, xmm2
movss dword [edx], xmm0
add edx, dword [esp + 0x50]
sub dword [esp + 0x10], 1
jne 0x660ab0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret