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

Disassembly:
push esi
push edi
push ebx
sub esp, 0x54
mov ebx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x64]
lea edx, [ebx*4 - 4]
imul edx, eax
lea edi, [ebx + 1]
movss xmm1, dword [esi]
movaps xmm0, xmm1
mov dword [esp + 0x18], edx
lea edx, [esi + edx]
mov dword [esp], edx
lea ecx, [eax*4]
mov edx, dword [esp + 0x68]
sar edi, 1
mov dword [esp + 0x48], edi
cmp edi, 1
mov dword [esp + 0x30], ecx
lea ecx, [esi + eax*4]
mov edi, dword [esp]
lea eax, [edx + eax*8 - 4]
jle 0x10221880
mov dword [esp], 0
mov esi, 1
mov dword [esp + 4], eax
mov eax, dword [esp]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x70]
movss xmm2, dword [ecx]
inc esi
addss xmm2, dword [edi]
movss dword [edx + eax*4], xmm2
addss xmm1, xmm2
movss xmm3, dword [ecx]
lea ecx, [ecx + ebx*4]
subss xmm3, dword [edi]
movss dword [edx + eax*4 + 4], xmm3
add eax, 2
sub edi, dword [esp + 0x30]
cmp esi, dword [esp + 0x48]
jl 0x1022183f
mov eax, dword [esp + 4]
cmp dword [esp + 0x48], 1
mov ebx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
movss dword [edx], xmm1
jle 0x10221918
mov edi, dword [esp + 0x70]
mov esi, 1
lea ecx, [ebx - 1]
movaps xmm2, xmm0
mov ebx, esi
xorps xmm1, xmm1
test ecx, ecx
jle 0x102218fd
mov dword [esp + 8], ecx
xor edx, edx
mov dword [esp], esi
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x6c]
movss xmm3, dword [ecx + ebx*8]
movss xmm4, dword [ecx + ebx*8 + 4]
add ebx, dword [esp]
mulss xmm3, dword [esi + edx*4]
mov eax, ebx
mulss xmm4, dword [esi + edx*4 + 4]
addss xmm2, xmm3
addss xmm1, xmm4
sub eax, edi
cmp ebx, edi
cmovge ebx, eax
add edx, 2
cmp edx, dword [esp + 8]
jl 0x102218bb
mov ecx, dword [esp + 8]
mov esi, dword [esp]
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x70]
inc esi
movss dword [eax], xmm2
movss dword [eax + 4], xmm1
lea eax, [eax + edi*8]
cmp esi, dword [esp + 0x48]
jl 0x10221896
mov ebx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x78]
lea edx, [edx + 4]
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x70]
sar eax, 1
lea edi, [edi + ebx*8]
mov dword [esp + 0x1c], eax
lea ecx, [ecx + 4]
test eax, eax
jle 0x10221bed
mov eax, 1
lea esi, [ebx + ebx - 2]
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x70]
movss xmm1, dword [ecx]
movss xmm0, dword [ecx + 4]
movaps xmm5, xmm1
movaps xmm4, xmm0
lea ebx, [ecx + esi*4]
mov dword [esp + 0x24], ebx
lea esi, [edx + esi*8]
mov ebx, dword [esp + 0x18]
lea ebx, [ebx + ecx]
mov dword [esp + 0x20], ebx
mov ebx, eax
shl ebx, 4
neg ebx
add ebx, esi
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x6c]
cmp dword [esp + 0x48], 1
lea ebx, [edi + ebx*8]
mov dword [esp + 0x34], ebx
jle 0x10221ad3
mov dword [esp + 0x3c], 1
mov dword [esp + 8], 0
mov dword [esp + 0x28], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
movss dword [esp], xmm4
movss dword [esp + 4], xmm5
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 8]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], edi
movss xmm7, dword [ebx]
movss xmm5, dword [eax + edi*8]
shl edi, 3
movss dword [esp + 0x40], xmm1
movaps xmm4, xmm7
movss xmm1, dword [ebx + 4]
movss xmm6, dword [eax + edi + 4]
neg edi
movss dword [esp + 0x44], xmm0
movaps xmm0, xmm1
mulss xmm4, xmm5
mulss xmm5, xmm1
mulss xmm7, xmm6
mulss xmm0, xmm6
addss xmm5, xmm7
subss xmm4, xmm0
add edi, dword [esp + 0x34]
movss xmm7, dword [esi]
movss xmm1, dword [esi + 4]
movaps xmm2, xmm7
movss xmm6, dword [edi + 4]
movss xmm3, dword [edi]
movaps xmm0, xmm6
mulss xmm2, xmm3
mulss xmm0, xmm1
mulss xmm3, xmm1
mulss xmm7, xmm6
subss xmm2, xmm0
addss xmm3, xmm7
movaps xmm6, xmm4
movaps xmm7, xmm5
mov eax, dword [esp + 0x70]
addss xmm6, xmm2
addss xmm7, xmm3
subss xmm4, xmm2
subss xmm5, xmm3
mov edi, dword [esp + 0x3c]
lea ebx, [ebx + eax*4]
inc edi
movss xmm1, dword [esp + 0x40]
movss xmm0, dword [esp + 0x44]
addss xmm1, xmm6
addss xmm0, xmm7
sub esi, dword [esp + 0x30]
movss dword [edx + ecx*4], xmm6
movss dword [edx + ecx*4 + 4], xmm7
movss dword [edx + ecx*4 + 8], xmm4
movss dword [edx + ecx*4 + 0xc], xmm5
add ecx, 4
cmp edi, dword [esp + 0x48]
jl 0x102219d6
movss xmm4, dword [esp]
movss xmm5, dword [esp + 4]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x48], 1
movss dword [edx], xmm1
movss dword [edx + 4], xmm0
jle 0x10221bd8
mov dword [esp + 0x14], ecx
mov ebx, 1
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x70]
movaps xmm0, xmm5
movaps xmm2, xmm4
mov edx, ebx
xorps xmm1, xmm1
xorps xmm3, xmm3
cmp dword [esp + 0x4c], 0
jle 0x10221b93
mov dword [esp + 0x50], ebx
xor eax, eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ecx
mov ebx, dword [esp + 0x74]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x6c]
nop
movss xmm6, dword [esi + eax*4]
movss xmm7, dword [ebx + edx*8]
mulss xmm6, dword [ebx + edx*8]
mulss xmm7, dword [esi + eax*4 + 4]
addss xmm0, xmm6
addss xmm2, xmm7
movss xmm6, dword [esi + eax*4 + 0xc]
movss xmm7, dword [ebx + edx*8 + 4]
mulss xmm6, dword [ebx + edx*8 + 4]
mulss xmm7, dword [esi + eax*4 + 8]
addss xmm3, xmm6
addss xmm1, xmm7
add edx, dword [esp + 0x50]
add eax, 4
mov ecx, edx
sub ecx, edi
cmp edx, edi
cmovge edx, ecx
cmp eax, dword [esp + 0x4c]
jl 0x10221b30
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x70]
movaps xmm6, xmm0
movaps xmm7, xmm2
inc ebx
subss xmm6, xmm3
addss xmm7, xmm1
addss xmm3, xmm0
subss xmm1, xmm2
movss dword [esi], xmm6
movss dword [esi + 4], xmm7
lea esi, [esi + edi*8]
movss dword [ecx], xmm3
movss dword [ecx + 4], xmm1
lea ecx, [ecx + edi*8]
cmp ebx, dword [esp + 0x48]
jl 0x10221afb
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc eax
add ecx, 8
add edx, 8
mov edi, dword [esp + 0x34]
cmp eax, dword [esp + 0x1c]
jle 0x10221948
add esp, 0x54
pop ebx
pop edi
pop esi
ret