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

Disassembly:
sub esp, 0x54
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
push esi
push edi
mov edi, ecx
imul edi, eax
mov dword [esp + 0x58], edi
lea esi, [edi + edi]
test eax, eax
jle 0x1005f39c
mov eax, dword [esp + 0x68]
lea edx, [ecx*4]
mov dword [esp + 0x1c], edx
mov edi, eax
mov edx, ecx
shl edx, 4
lea esi, [eax + esi*4]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x58]
lea eax, [eax + edx*4]
mov dword [esp + 0x14], eax
lea eax, [edx + edx*2]
mov edx, edi
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x44], edx
lea eax, [edx + ecx*8]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x54]
add eax, 0xfffffffc
add eax, edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
movss xmm1, dword [edi]
addss xmm1, dword [esi]
movss xmm2, dword [ecx]
addss xmm2, dword [eax]
mov edx, dword [esp + 0x44]
movaps xmm0, xmm1
addss xmm0, xmm2
subss xmm1, xmm2
movss dword [edx], xmm0
mov edx, dword [esp + 0x48]
movss dword [edx], xmm1
movss xmm0, dword [edi]
subss xmm0, dword [esi]
mov edx, dword [esp + 0x4c]
movss dword [edx - 4], xmm0
movss xmm0, dword [ecx]
subss xmm0, dword [eax]
movss dword [edx], xmm0
mov edx, dword [esp + 0x44]
add edx, dword [esp + 0x54]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x48]
add edx, dword [esp + 0x54]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x4c]
add edx, dword [esp + 0x54]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x1c]
add edi, edx
add ecx, edx
add eax, edx
add esi, edx
sub dword [esp + 0x24], 1
jne 0x1005f311
mov ecx, dword [esp + 0x60]
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x64]
cmp ecx, 2
jl 0x1005f79e
lea edx, [ecx + ecx]
mov dword [esp + 0x24], edx
je 0x1005f6ae
xor edx, edx
mov dword [esp + 0x18], edx
test eax, eax
jle 0x1005f6a5
xor esi, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x54], esi
lea eax, [edi + edi*2]
lea esi, [ecx + ecx*2]
mov dword [esp + 0xc], esi
lea esi, [ecx*4]
sub esi, ecx
neg esi
mov dword [esp + 8], esi
lea esi, [edi + edi*2]
mov dword [esp + 0x28], esi
mov esi, edx
nop dword [eax]
mov edi, dword [esp + 0x58]
shl edx, 2
cmp ecx, 2
jle 0x1005f67c
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x6c]
add ecx, edx
mov esi, dword [esp + 0x68]
lea ecx, [eax + ecx*4]
lea eax, [eax + edx*4]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
lea eax, [edx + eax*2]
lea eax, [ecx + eax*4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x30], eax
mov eax, edx
sub eax, dword [esp + 0x54]
lea ecx, [esi + eax*4]
add eax, edi
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x44], ecx
lea eax, [esi + eax*4]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x50], eax
add ecx, 4
lea eax, [edi + edi]
mov dword [esp + 0x34], ecx
sub eax, dword [esp + 0x54]
add eax, edx
mov ecx, dword [esp + 0x40]
lea edi, [esi + eax*4]
mov eax, dword [esp + 0x28]
add eax, edx
mov edx, dword [esp + 0x74]
sub edx, dword [esp + 0x70]
lea eax, [esi + eax*4]
mov esi, dword [esp + 0x78]
sub esi, dword [esp + 0x70]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x78]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x60]
lea eax, [eax - 3]
shr eax, 1
inc eax
mov dword [esp + 0x20], eax
jmp 0x1005f4b4
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x34]
add edi, 8
add dword [esp + 0x50], 8
sub ecx, 8
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x50]
movss xmm4, dword [eax - 4]
movss xmm2, dword [eax]
movaps xmm5, xmm4
mov eax, edi
add dword [esp + 0x4c], 8
mulss xmm5, dword [edi - 4]
movaps xmm0, xmm2
add dword [esp + 0x3c], 8
mulss xmm2, dword [edi - 4]
mov edi, dword [esp + 0x1c]
mulss xmm0, dword [eax]
add dword [esp + 0x38], 8
mulss xmm4, dword [eax]
mov eax, dword [esp + 0x40]
addss xmm5, xmm0
add dword [esp + 0x30], 8
sub dword [esp + 0x2c], 8
subss xmm4, xmm2
movss xmm3, dword [eax - 4]
mov eax, dword [esp + 0x44]
movss dword [esp + 0x48], xmm4
movss xmm7, dword [eax + edi]
mov eax, dword [esp + 0x34]
movaps xmm4, xmm7
mov edi, dword [esp + 0x40]
mulss xmm4, xmm3
movss xmm2, dword [eax + edx]
mulss xmm7, dword [edi]
movaps xmm0, xmm2
mulss xmm0, dword [edi]
mov edi, dword [esp + 0x4c]
mulss xmm2, xmm3
addss xmm4, xmm0
movss xmm3, dword [edi - 4]
mov edi, dword [esp + 0x44]
subss xmm7, xmm2
movss xmm2, dword [eax + esi]
movaps xmm6, xmm3
movaps xmm0, xmm2
mulss xmm2, xmm3
movss xmm1, dword [edi]
mov edi, dword [esp + 0x4c]
movss dword [esp + 0x10], xmm4
mulss xmm6, xmm1
movss xmm4, dword [edi]
mov edi, dword [esp + 0x3c]
mulss xmm0, xmm4
mulss xmm4, xmm1
movss xmm1, dword [edi - 4]
addss xmm6, xmm0
movss xmm3, dword [edi]
mov edi, dword [esp + 0x38]
subss xmm4, xmm2
movaps xmm2, xmm1
addss xmm2, dword [esp + 0x10]
movss dword [esp + 0x34], xmm6
addss xmm6, xmm5
movss xmm0, dword [esp + 0x34]
subss xmm0, xmm5
movaps xmm5, xmm4
subss xmm1, dword [esp + 0x10]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x48]
addss xmm5, xmm0
subss xmm0, xmm4
movaps xmm4, xmm3
addss xmm4, xmm7
subss xmm3, xmm7
movss dword [esp + 0x48], xmm0
movaps xmm0, xmm2
addss xmm0, xmm6
movss dword [edi - 4], xmm0
movaps xmm0, xmm4
addss xmm0, xmm5
movss dword [edi], xmm0
mov edi, dword [esp + 0x30]
subss xmm2, xmm6
add dword [esp + 0x44], 8
subss xmm5, xmm4
movaps xmm0, xmm1
add eax, 8
sub dword [esp + 0x20], 1
subss xmm0, dword [esp + 0x48]
addss xmm1, dword [esp + 0x48]
movss dword [ecx - 4], xmm0
movss xmm0, dword [esp + 0x34]
subss xmm0, xmm3
addss xmm3, dword [esp + 0x34]
mov dword [esp + 0x34], eax
movss dword [ecx], xmm0
movss dword [edi - 4], xmm1
movss dword [edi], xmm3
mov edi, dword [esp + 0x2c]
movss dword [edi - 4], xmm2
movss dword [edi], xmm5
jne 0x1005f4b0
mov ecx, dword [esp + 0x60]
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
add esi, dword [esp + 0xc]
add edx, ecx
add eax, dword [esp + 8]
sub dword [esp + 0x14], 1
mov dword [esp + 0x18], edx
mov dword [esp + 0x54], esi
mov dword [esp + 0x28], eax
jne 0x1005f3f0
mov eax, dword [esp + 0x64]
test cl, 1
jne 0x1005f79e
lea edx, [ecx - 1]
add edx, edi
mov dword [esp + 0x14], edx
lea edx, [edx + edi*2]
mov dword [esp + 8], edx
test eax, eax
jle 0x1005f79e
mov edi, dword [esp + 0x68]
lea edx, [ecx*4]
mov esi, dword [esp + 0x6c]
mov eax, ecx
shl eax, 4
add esi, edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
movss xmm4, dword [0x1024b4f4]
mov dword [esp + 0xc], edx
movaps xmm3, xmm4
mov edx, dword [esp + 0x14]
lea eax, [edi + eax*4]
xorps xmm3, xmmword [0x10157ae0]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 8]
lea eax, [edi + eax*4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
add eax, ecx
mov ecx, dword [esp + 0x6c]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x58]
add eax, edx
sub edx, dword [esp + 0x58]
lea eax, [edi + eax*4]
lea edi, [edi + edx*4]
nop dword [eax]
mov edx, dword [esp + 0x28]
movss xmm0, dword [edx]
mov edx, dword [esp + 0x60]
movss xmm1, dword [edx]
movaps xmm2, xmm1
mov edx, dword [esp + 0xc]
subss xmm1, xmm0
add dword [esp + 0x60], edx
addss xmm2, xmm0
add dword [esp + 0x28], edx
mulss xmm1, xmm4
mulss xmm2, xmm3
movaps xmm0, xmm1
addss xmm0, dword [edi]
movss dword [esi - 4], xmm0
movss xmm0, dword [edi]
add edi, edx
subss xmm0, xmm1
movss dword [ecx - 4], xmm0
movaps xmm0, xmm2
subss xmm0, dword [eax]
movss dword [esi], xmm0
addss xmm2, dword [eax]
add esi, dword [esp + 0x18]
add eax, edx
movss dword [ecx], xmm2
add ecx, dword [esp + 0x18]
sub dword [esp + 0x64], 1
jne 0x1005f730
pop edi
pop esi
add esp, 0x54
ret