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

Disassembly:
push esi
push edi
push ebx
push ebp
lea esp, [esp - 0x50]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov esi, edx
mov edi, dword [esp + 0x64]
inc esi
sar esi, 1
lea ebp, [edx*4]
add ebp, 0xfffffffc
lea ecx, [eax*4]
imul ebp, dword [esp + 0x70]
lea ebx, [edi + ecx]
movss xmm1, dword [edi]
movaps xmm0, xmm1
mov dword [esp + 0x40], ecx
mov ecx, edi
mov dword [esp + 0x20], ebp
add ecx, ebp
mov ebp, dword [esp + 0x68]
lea eax, [eax*8]
mov dword [esp + 0x48], esi
lea ebp, [ebp + eax]
add ebp, 0xfffffffc
cmp esi, 1
mov esi, dword [esp + 0x68]
jle 0x1021a6f7
mov dword [esp], 0
mov edi, 1
mov dword [esp + 4], ebp
mov dword [esp + 0x34], eax
mov eax, dword [esp]
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x7c]
movss xmm2, dword [ebx]
inc edi
addss xmm2, dword [ecx]
movss dword [esi + eax*4], xmm2
addss xmm1, xmm2
movss xmm3, dword [ebx]
add ebx, edx
subss xmm3, dword [ecx]
sub ecx, edx
movss dword [esi + eax*4 + 4], xmm3
add eax, 2
cmp edi, ebp
jl 0x1021a6b7
mov ebp, dword [esp + 4]
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], 1
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
movss dword [esi], xmm1
jle 0x1021a78c
mov edi, dword [esp + 0x48]
mov ebx, 1
lea ecx, [edx - 1]
movaps xmm2, xmm0
mov esi, ebx
xorps xmm1, xmm1
test ecx, ecx
jle 0x1021a773
mov dword [esp], ebx
xor edx, edx
mov dword [esp + 4], ebp
mov dword [esp + 0x34], eax
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x7c]
mov edi, dword [esp + 0x6c]
movss xmm3, dword [ebx + esi*8]
movss xmm4, dword [ebx + esi*8 + 4]
add esi, dword [esp]
mulss xmm3, dword [ebp + edx*4]
mov eax, esi
mulss xmm4, dword [ebp + edx*4 + 4]
addss xmm2, xmm3
addss xmm1, xmm4
sub eax, edi
cmp esi, edi
cmovge esi, eax
add edx, 2
cmp edx, ecx
jl 0x1021a732
mov ebx, dword [esp]
mov ebp, dword [esp + 4]
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x48]
inc ebx
movss dword [ebp], xmm2
movss dword [ebp + 4], xmm1
add ebp, eax
cmp ebx, edi
jl 0x1021a70d
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x78]
mov edi, dword [esp + 0x70]
sar edi, 1
lea ebp, [ecx + 4]
mov dword [esp + 0x28], edi
lea ecx, [esi + 4]
test edi, edi
lea esi, [edx*8]
mov dword [esp + 0x24], esi
lea esi, [ebx + esi]
jle 0x1021aa49
mov ebx, 1
lea edi, [edx + edx]
add edi, 0xfffffffe
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x40]
movss xmm1, dword [ebp]
movss xmm0, dword [ebp + 4]
movaps xmm5, xmm1
movaps xmm4, xmm0
lea edx, [edi + ebp]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x30], edx
lea edx, [edi + ebp]
mov dword [esp + 0x2c], edx
mov edx, ebx
lea edi, [eax + ecx]
shl edx, 4
neg edx
add edx, edi
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x24]
cmp dword [esp + 0x48], 1
lea edx, [edx + esi]
mov dword [esp + 0x44], edx
jle 0x1021a931
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x34], eax
movss dword [esp], xmm4
movss dword [esp + 4], xmm5
mov dword [esp + 0x38], edi
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x7c]
movss xmm2, dword [ebp]
lea edi, [edx*8]
movss xmm7, dword [ebp + 4]
movaps xmm6, xmm2
movss xmm5, dword [esi + edx*8]
mulss xmm7, dword [esi + edi + 4]
mulss xmm2, dword [esi + edi + 4]
mulss xmm6, dword [esi + edx*8]
mulss xmm5, dword [ebp + 4]
subss xmm6, xmm7
addss xmm5, xmm2
neg edi
inc edx
add edi, dword [esp + 0x44]
movss xmm3, dword [eax]
movaps xmm4, xmm3
movss xmm7, dword [edi + 4]
movss xmm2, dword [edi]
mulss xmm4, dword [edi]
mulss xmm3, dword [edi + 4]
mulss xmm7, dword [eax + 4]
mulss xmm2, dword [eax + 4]
subss xmm4, xmm7
addss xmm2, xmm3
movaps xmm3, xmm6
movaps xmm7, xmm5
mov edi, dword [esp + 0x40]
sub eax, edi
add ebp, dword [esp + 0x40]
addss xmm3, xmm4
addss xmm7, xmm2
subss xmm6, xmm4
subss xmm5, xmm2
addss xmm1, xmm3
addss xmm0, xmm7
movss dword [ebx + ecx*4], xmm3
movss dword [ebx + ecx*4 + 4], xmm7
movss dword [ebx + ecx*4 + 8], xmm6
movss dword [ebx + ecx*4 + 0xc], xmm5
add ecx, 4
cmp edx, dword [esp + 0x48]
jl 0x1021a858
movss xmm4, dword [esp]
movss xmm5, dword [esp + 4]
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], 1
movss dword [ecx], xmm1
movss dword [ecx + 4], xmm0
jle 0x1021aa34
mov dword [esp + 0x1c], ebp
mov edx, 1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x10]
movaps xmm0, xmm5
movaps xmm2, xmm4
mov ebx, edx
xorps xmm1, xmm1
xorps xmm3, xmm3
test ebp, ebp
jle 0x1021a9f1
mov dword [esp + 0x4c], edx
xor ecx, ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x6c]
nop dword [eax]
movss xmm6, dword [esi + ecx*4]
movss xmm7, dword [edx + ebx*8]
mulss xmm6, dword [edx + ebx*8]
mulss xmm7, dword [esi + ecx*4 + 4]
addss xmm0, xmm6
addss xmm2, xmm7
movss xmm6, dword [esi + ecx*4 + 0xc]
movss xmm7, dword [edx + ebx*8 + 4]
mulss xmm6, dword [edx + ebx*8 + 4]
mulss xmm7, dword [esi + ecx*4 + 8]
addss xmm3, xmm6
addss xmm1, xmm7
add ebx, dword [esp + 0x4c]
add ecx, 4
mov eax, ebx
sub eax, edi
cmp ebx, edi
cmovge ebx, eax
cmp ecx, ebp
jl 0x1021a990
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
movaps xmm6, xmm0
movaps xmm7, xmm2
inc edx
subss xmm6, xmm3
addss xmm7, xmm1
addss xmm3, xmm0
subss xmm1, xmm2
movss dword [edi], xmm6
movss dword [edi + 4], xmm7
add edi, eax
movss dword [esi], xmm3
movss dword [esi + 4], xmm1
add esi, eax
cmp edx, dword [esp + 0x48]
jl 0x1021a959
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
inc ebx
add ebp, 8
add ecx, 8
mov esi, dword [esp + 0x44]
cmp ebx, dword [esp + 0x28]
jle 0x1021a7c9
lea esp, [esp + 0x50]
pop ebp
pop ebx
pop edi
pop esi
ret