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

Disassembly:
sub esp, 0x5c
mov edx, dword [esp + 0x60]
xor ecx, ecx
mov eax, dword [esp + 0x64]
push esi
mov esi, edx
mov dword [esp + 0x20], ecx
imul esi, eax
mov dword [esp + 0x5c], ecx
push edi
mov edi, dword [esp + 0x70]
mov dword [esp + 0x28], esi
test eax, eax
jle 0x46a9cc
lea ecx, [edi + esi*4]
mov dword [esp + 0x58], ecx
lea eax, [edx + edx]
imul ecx, esi, 0xc
mov dword [esp + 0x20], eax
lea eax, [edi + esi*8]
mov dword [esp + 0x5c], eax
mov esi, edx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x74]
add ecx, edi
mov dword [esp + 0x54], ecx
shl esi, 2
mov edx, dword [esp + 0x58]
movss xmm2, dword [edx]
addss xmm2, dword [ecx]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
movss xmm1, dword [edi + ecx*4]
addss xmm1, dword [edx]
mov edx, dword [esp + 0x74]
shl ecx, 2
movaps xmm0, xmm1
subss xmm1, xmm2
addss xmm0, xmm2
movss dword [eax + ecx*4], xmm0
lea eax, [esi + ecx]
add ecx, dword [esp + 0x20]
movss dword [edx + eax*4 - 4], xmm1
mov eax, dword [esp + 0x60]
movss xmm0, dword [edi + eax*4]
mov eax, dword [esp + 0x5c]
add dword [esp + 0x5c], esi
subss xmm0, dword [eax]
mov eax, edx
mov edx, dword [esp + 0x54]
movss dword [eax + ecx*4 - 4], xmm0
movss xmm0, dword [edx]
mov edx, dword [esp + 0x58]
add dword [esp + 0x58], esi
subss xmm0, dword [edx]
mov edx, dword [esp + 0x68]
add dword [esp + 0x60], edx
movss dword [eax + ecx*4], xmm0
mov ecx, dword [esp + 0x54]
add ecx, esi
sub dword [esp + 0x30], 1
mov dword [esp + 0x54], ecx
jne 0x46a930
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x6c]
mov ecx, edx
shl ecx, 2
cmp edx, 2
jl 0x46adb7
je 0x46acc1
test eax, eax
jle 0x46acb8
and dword [esp + 0x60], 0
lea ecx, [edx + edx]
mov dword [esp + 0x1c], ecx
imul ecx, edx, 3
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], ecx
imul ecx, edx, 0xfffffffd
mov dword [esp + 8], ecx
imul ecx, esi, 3
xor eax, eax
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x74]
mov edi, eax
shl edi, 2
mov dword [esp + 0x58], edi
lea edi, [edx + edx]
lea edi, [edi + eax*4]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x70]
cmp edx, 2
jle 0x46ac8a
mov eax, dword [esp + 0x2c]
lea eax, [ecx + eax*4]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x58]
lea edx, [ecx + eax*4]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x1c]
lea eax, [eax + edx*2]
lea eax, [ecx + eax*4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x60]
lea ecx, [edi + eax*4]
add eax, esi
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x34], ecx
lea eax, [edi + eax*4]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x54], eax
add ecx, 4
lea eax, [esi + esi]
mov dword [esp + 0x38], ecx
sub eax, dword [esp + 0x60]
add eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x7c]
sub ecx, dword [esp + 0x78]
mov dword [esp + 0x2c], ecx
lea eax, [edi + eax*4]
mov ecx, dword [esp + 0x80]
sub ecx, dword [esp + 0x78]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x58]
add eax, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x18], ecx
lea eax, [edi + eax*4]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x80]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x58]
lea eax, [eax - 3]
shr eax, 1
inc eax
mov ecx, dword [esp + 0x38]
push 8
pop edi
add dword [esp + 0x48], edi
add dword [esp + 0x44], edi
sub dword [esp + 0x5c], edi
add dword [esp + 0x54], edi
add dword [esp + 0x50], edi
add dword [esp + 0x4c], edi
add dword [esp + 0x40], edi
movss xmm2, dword [ecx - 4]
sub dword [esp + 0x3c], edi
movaps xmm0, xmm2
mov edi, dword [esp + 0x54]
mulss xmm2, dword [edi]
movss xmm1, dword [edi - 4]
movss xmm3, dword [edi]
mulss xmm3, dword [ecx]
mov edi, dword [esp + 0x50]
mulss xmm0, xmm1
mulss xmm1, dword [ecx]
movss xmm7, dword [edi]
addss xmm3, xmm0
movss xmm0, dword [edi - 4]
subss xmm2, xmm1
movss xmm1, dword [esi + ecx]
mov esi, dword [esp + 0x34]
mulss xmm0, dword [edx + esi]
movss dword [esp + 0x58], xmm2
movaps xmm2, xmm1
mulss xmm1, dword [edi - 4]
mov edi, dword [esp + 0x4c]
mulss xmm2, xmm7
mulss xmm7, dword [edx + esi]
addss xmm2, xmm0
subss xmm7, xmm1
movss xmm1, dword [edi - 4]
movaps xmm0, xmm1
mulss xmm0, dword [esi]
movss dword [esp + 0x14], xmm2
movss xmm2, dword [edi]
mov edi, dword [esp + 0x18]
movaps xmm4, xmm2
mulss xmm2, dword [esi]
mulss xmm1, dword [edi + ecx]
mulss xmm4, dword [edi + ecx]
mov ecx, dword [esp + 0x48]
subss xmm2, xmm1
addss xmm4, xmm0
movss xmm0, dword [esp + 0x58]
movss xmm1, dword [ecx - 4]
movaps xmm5, xmm2
addss xmm5, xmm0
subss xmm0, xmm2
movaps xmm6, xmm4
movaps xmm2, xmm1
subss xmm4, xmm3
addss xmm2, dword [esp + 0x14]
subss xmm1, dword [esp + 0x14]
addss xmm6, xmm3
movss xmm3, dword [ecx]
mov ecx, dword [esp + 0x44]
movss dword [esp + 0x58], xmm0
movss dword [esp + 0x10], xmm4
movaps xmm0, xmm2
movaps xmm4, xmm3
subss xmm3, xmm7
addss xmm0, xmm6
addss xmm4, xmm7
movss dword [ecx - 4], xmm0
movaps xmm0, xmm4
addss xmm0, xmm5
movss dword [ecx], xmm0
movaps xmm0, xmm1
subss xmm0, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
addss xmm1, dword [esp + 0x58]
movss dword [ecx - 4], xmm0
movss xmm0, dword [esp + 0x10]
subss xmm0, xmm3
movss dword [ecx], xmm0
mov ecx, dword [esp + 0x40]
subss xmm2, xmm6
addss xmm3, dword [esp + 0x10]
add dword [esp + 0x38], 8
subss xmm5, xmm4
add dword [esp + 0x34], 8
mov esi, dword [esp + 0x2c]
movss dword [ecx - 4], xmm1
movss dword [ecx], xmm3
mov ecx, dword [esp + 0x3c]
movss dword [ecx - 4], xmm2
movss dword [ecx], xmm5
sub eax, 1
jne 0x46aaea
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
add eax, edx
add dword [esp + 0x60], ecx
mov ecx, dword [esp + 8]
add dword [esp + 0x30], ecx
sub dword [esp + 0x20], 1
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x24], eax
jne 0x46aa13
mov eax, dword [esp + 0x6c]
mov ecx, edx
shl ecx, 2
test dl, 1
jne 0x46adb7
lea edi, [edx - 1]
add edi, esi
mov dword [esp + 0x20], edi
lea edi, [edi + esi*2]
mov dword [esp + 8], edi
mov edi, dword [esp + 0x70]
test eax, eax
jle 0x46adb7
mov eax, edx
movss xmm4, dword [0x872db0]
shl eax, 4
movaps xmm3, xmm4
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x74]
add eax, ecx
xorps xmm3, xmmword [0x5c0800]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
lea eax, [edi + eax*4]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 8]
lea eax, [edi + eax*4]
mov dword [esp + 0x30], eax
lea eax, [edx + edx*2]
mov edx, dword [esp + 0x74]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x20]
mov dword [esp + 8], eax
lea eax, [edx + esi]
sub edx, esi
mov esi, dword [esp + 8]
lea eax, [edi + eax*4]
mov dword [esp + 0x10], eax
lea eax, [edi + edx*4]
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x68]
add dword [esp + 0x68], ecx
movss xmm1, dword [eax]
mov eax, dword [esp + 0x30]
movaps xmm2, xmm1
add dword [esp + 0x30], ecx
subss xmm1, dword [eax]
addss xmm2, dword [eax]
mov eax, dword [esp + 0x20]
mulss xmm1, xmm4
mulss xmm2, xmm3
movaps xmm0, xmm1
addss xmm0, dword [eax]
movss dword [edx - 4], xmm0
movss xmm0, dword [eax]
add eax, ecx
subss xmm0, xmm1
mov dword [esp + 0x20], eax
movss dword [esi - 4], xmm0
movaps xmm0, xmm2
subss xmm0, dword [edi]
movss dword [edx], xmm0
addss xmm2, dword [edi]
add edx, dword [esp + 0x14]
add edi, ecx
movss dword [esi], xmm2
add esi, dword [esp + 0x14]
sub dword [esp + 0x6c], 1
jne 0x46ad49
pop edi
pop esi
add esp, 0x5c
ret