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

Disassembly:
push esi
push edi
push ebx
sub esp, 0x50
mov ebx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x60]
lea edx, [ebx*4 - 4]
imul edx, eax
lea edi, [ebx + 1]
vmovss xmm1, dword [esi]
vmovaps xmm0, xmm1
mov dword [esp + 0x1c], edx
lea edx, [esi + edx]
mov dword [esp], edx
lea ecx, [eax*4]
mov edx, dword [esp + 0x64]
sar edi, 1
mov dword [esp + 0x44], edi
mov dword [esp + 0x30], ecx
lea ecx, [esi + eax*4]
lea eax, [edx + eax*8 - 4]
cmp edi, 1
mov edi, dword [esp]
jle 0x10228451
mov dword [esp], 0
mov esi, 1
mov dword [esp + 4], eax
mov eax, dword [esp]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x6c]
vmovss xmm2, dword [ecx]
inc esi
vaddss xmm3, xmm2, dword [edi]
vmovss dword [edx + eax*4], xmm3
vaddss xmm1, xmm3, xmm1
vmovss xmm4, dword [ecx]
lea ecx, [ecx + ebx*4]
vsubss xmm5, xmm4, dword [edi]
vmovss dword [edx + eax*4 + 4], xmm5
add eax, 2
sub edi, dword [esp + 0x30]
cmp esi, dword [esp + 0x44]
jl 0x10228410
mov eax, dword [esp + 4]
cmp dword [esp + 0x44], 1
mov ebx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
vmovss dword [edx], xmm1
jle 0x102284eb
mov edi, dword [esp + 0x6c]
mov esi, 1
lea ecx, [ebx - 1]
vmovaps xmm2, xmm0
mov ebx, esi
vxorps xmm1, xmm1, xmm1
test ecx, ecx
jle 0x102284d0
mov dword [esp], ecx
xor edx, edx
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x68]
vmovss xmm3, dword [ecx + ebx*8]
vmovss xmm5, dword [ecx + ebx*8 + 4]
add ebx, dword [esp + 8]
vmulss xmm4, xmm3, dword [esi + edx*4]
mov eax, ebx
vmulss xmm6, xmm5, dword [esi + edx*4 + 4]
vaddss xmm2, xmm2, xmm4
vaddss xmm1, xmm1, xmm6
sub eax, edi
cmp ebx, edi
cmovge ebx, eax
add edx, 2
cmp edx, dword [esp]
jl 0x1022848e
mov ecx, dword [esp]
mov esi, dword [esp + 8]
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x6c]
inc esi
vmovss dword [eax], xmm2
vmovss dword [eax + 4], xmm1
lea eax, [eax + edi*8]
cmp esi, dword [esp + 0x44]
jl 0x10228467
mov ebx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x74]
lea edx, [edx + 4]
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x6c]
sar eax, 1
lea edi, [edi + ebx*8]
mov dword [esp + 0x20], eax
lea ecx, [ecx + 4]
test eax, eax
jle 0x1022879c
mov eax, 1
lea esi, [ebx + ebx - 2]
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x6c]
vmovss xmm3, dword [ecx]
vmovss xmm6, dword [ecx + 4]
vmovaps xmm5, xmm3
vmovaps xmm4, xmm6
lea ebx, [ecx + esi*4]
mov dword [esp + 0x3c], ebx
lea esi, [edx + esi*8]
mov ebx, dword [esp + 0x1c]
lea ebx, [ebx + ecx]
mov dword [esp + 0x24], ebx
mov ebx, eax
shl ebx, 4
neg ebx
add ebx, esi
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x68]
cmp dword [esp + 0x44], 1
lea ebx, [edi + ebx*8]
mov dword [esp + 0x34], ebx
jle 0x10228686
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
vmovss dword [esp], xmm4
vmovss dword [esp + 4], xmm5
mov dword [esp + 0x28], esi
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x3c], edi
vmovss xmm2, dword [edi]
vmovss xmm4, dword [edi + 4]
lea edi, [edx*8]
vmovss dword [esp + 0x40], xmm6
vmulss xmm1, xmm4, dword [esi + edi + 4]
vmulss xmm5, xmm2, dword [esi + edi + 4]
vmulss xmm6, xmm2, dword [esi + edx*8]
vmulss xmm7, xmm4, dword [esi + edx*8]
vsubss xmm0, xmm6, xmm1
vaddss xmm1, xmm7, xmm5
neg edi
inc edx
add edi, dword [esp + 0x34]
vmovss xmm6, dword [ebx]
mov esi, dword [esp + 0x6c]
vmovss xmm7, dword [edi + 4]
vmulss xmm4, xmm6, dword [edi]
vmulss xmm2, xmm7, dword [ebx + 4]
vmulss xmm6, xmm6, xmm7
vsubss xmm2, xmm4, xmm2
vmovss xmm5, dword [edi]
vaddss xmm7, xmm0, xmm2
vsubss xmm0, xmm0, xmm2
vmulss xmm5, xmm5, dword [ebx + 4]
vaddss xmm3, xmm7, xmm3
vaddss xmm4, xmm5, xmm6
vmovss dword [eax + ecx*4 + 8], xmm0
vaddss xmm5, xmm1, xmm4
vsubss xmm0, xmm1, xmm4
mov edi, dword [esp + 0x3c]
vmovss xmm6, dword [esp + 0x40]
sub ebx, dword [esp + 0x30]
vaddss xmm6, xmm5, xmm6
vmovss dword [eax + ecx*4], xmm7
lea edi, [edi + esi*4]
vmovss dword [eax + ecx*4 + 4], xmm5
vmovss dword [eax + ecx*4 + 0xc], xmm0
add ecx, 4
cmp edx, dword [esp + 0x44]
jl 0x102285ab
vmovss xmm4, dword [esp]
vmovss xmm5, dword [esp + 4]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x44], 1
vmovss dword [edx], xmm3
vmovss dword [edx + 4], xmm6
jle 0x10228787
mov dword [esp + 0x18], ecx
mov ebx, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x6c]
vmovaps xmm0, xmm5
vmovaps xmm3, xmm4
mov edx, ebx
vxorps xmm2, xmm2, xmm2
vxorps xmm1, xmm1, xmm1
cmp dword [esp + 0x48], 0
jle 0x10228748
mov dword [esp + 0x4c], ebx
xor eax, eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ecx
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x68]
nop dword [eax]
nop dword [eax]
vmovss xmm7, dword [ebx + edx*8]
vmulss xmm6, xmm7, dword [esi + eax*4]
vaddss xmm0, xmm0, xmm6
vmulss xmm6, xmm7, dword [esi + eax*4 + 4]
vaddss xmm3, xmm3, xmm6
vmovss xmm6, dword [ebx + edx*8 + 4]
vmulss xmm7, xmm6, dword [esi + eax*4 + 0xc]
add edx, dword [esp + 0x4c]
vaddss xmm1, xmm1, xmm7
vmulss xmm7, xmm6, dword [esi + eax*4 + 8]
mov ecx, edx
add eax, 4
sub ecx, edi
cmp edx, edi
vaddss xmm2, xmm2, xmm7
cmovge edx, ecx
cmp eax, dword [esp + 0x48]
jl 0x102286f0
mov ebx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x6c]
inc ebx
vsubss xmm6, xmm0, xmm1
vaddss xmm7, xmm3, xmm2
vaddss xmm0, xmm1, xmm0
vsubss xmm1, xmm2, xmm3
vmovss dword [esi], xmm6
vmovss dword [esi + 4], xmm7
lea esi, [esi + edi*8]
vmovss dword [ecx], xmm0
vmovss dword [ecx + 4], xmm1
lea ecx, [ecx + edi*8]
cmp ebx, dword [esp + 0x44]
jl 0x102286ae
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
add ecx, 8
add edx, 8
mov edi, dword [esp + 0x34]
cmp eax, dword [esp + 0x20]
jle 0x1022851b
add esp, 0x50
pop ebx
pop edi
pop esi
ret