Function at 0x10032280
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push esi
push edi
push ebx
sub esp, 0x64
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x20]
lea edx, [eax + 0x1f]
and edx, 0xffffffe0
mov dword [esp + 0xc], edx
cmp dword [ebp + 0x1c], 0
lea eax, [edx + ebx*8]
jbe 0x1003262d
mov esi, dword [ebp + 8]
lea edi, [eax + ebx*8]
mov dword [esp], edi
lea edi, [ebx*4]
mov dword [esp + 8], edi
mov edi, ebx
shr edi, 2
xor ecx, ecx
mov dword [esp + 0x28], edi
mov edi, ebx
shr edi, 1
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], eax
mov edx, dword [esi + 8]
movaps xmm0, xmmword [0x10366b20]
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp + 0x1c]
test eax, eax
jbe 0x10032620
mov dword [esp + 0x10], ecx
xor ebx, ebx
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x34], esi
mov esi, dword [edi]
mov ecx, dword [edi + 8]
mov edx, dword [ebp + 0x28]
mov edi, dword [esp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [edx + edi*4]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x1c], edi
mov edx, dword [eax + ebx*4]
mov eax, 0x38e38e39
mov dword [esp + 0x20], edx
lea edx, [ecx + 8]
mov dword [esp + 0x50], edx
mul edx
shr edx, 1
mov edi, dword [esp + 8]
mov dword [esp + 0x30], ecx
lea ecx, [ecx + 7]
lea eax, [edx + edx*8]
mov edx, dword [esp + 0x50]
sub edx, eax
mov eax, 0x38e38e39
imul edx, edi
add edx, dword [esi + ebx*4]
mov dword [esp + 0x50], edx
mul ecx
shr edx, 1
lea eax, [edx + edx*8]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx, edi
add ecx, dword [esi + ebx*4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x30]
lea ecx, [ecx + 6]
mul ecx
shr edx, 1
lea eax, [edx + edx*8]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx, edi
add ecx, dword [esi + ebx*4]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x30]
lea ecx, [ecx + 5]
mul ecx
shr edx, 1
lea eax, [edx + edx*8]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx, edi
add ecx, dword [esi + ebx*4]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x30]
lea ecx, [ecx + 4]
mul ecx
shr edx, 1
lea eax, [edx + edx*8]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx, edi
add ecx, dword [esi + ebx*4]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x30]
lea ecx, [ecx + 3]
mul ecx
shr edx, 1
lea eax, [edx + edx*8]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx, edi
add ecx, dword [esi + ebx*4]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x30]
lea ecx, [ecx + 2]
mul ecx
shr edx, 1
lea eax, [edx + edx*8]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx, edi
add ecx, dword [esi + ebx*4]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x30]
lea ecx, [ecx + 1]
mul ecx
shr edx, 1
lea eax, [edx + edx*8]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx, edi
add ecx, dword [esi + ebx*4]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x30]
mul ecx
shr edx, 1
lea eax, [edx + edx*8]
sub ecx, eax
imul ecx, edi
add ecx, dword [esi + ebx*4]
mov eax, dword [ebp + 0x20]
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x28], 0
lea eax, [esi + eax*4 - 0x10]
mov esi, dword [esp + 0x2c]
jbe 0x10032574
mov dword [esp + 0x2c], esi
xor edx, edx
mov dword [esp + 4], ebx
mov dword [esp + 0x30], ecx
movaps xmm2, xmmword [0x10366b20]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x54], edx
shl edx, 4
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
movaps xmm0, xmmword [edi + edx]
mov edi, dword [esp + 0x48]
movaps xmm1, xmmword [ecx + edx]
mulps xmm0, xmmword [ebx + 0x10]
mulps xmm1, xmmword [ebx]
movaps xmm3, xmmword [edi + edx]
mov edi, dword [esp + 0x44]
mulps xmm3, xmmword [ebx + 0x20]
movaps xmm4, xmmword [edi + edx]
subps xmm1, xmm3
mulps xmm4, xmmword [ebx + 0x30]
mov edi, dword [esp + 0x40]
subps xmm0, xmm4
movaps xmm5, xmmword [edi + edx]
mov edi, dword [esp + 0x3c]
mulps xmm5, xmmword [ebx + 0x40]
movaps xmm6, xmmword [edi + edx]
addps xmm1, xmm5
mulps xmm6, xmmword [ebx + 0x50]
mov edi, dword [esp + 0x38]
addps xmm0, xmm6
movaps xmm7, xmmword [edi + edx]
mov edi, dword [esp + 0x2c]
movaps xmm6, xmmword [eax]
add eax, 0xfffffff0
mulps xmm7, xmmword [ebx + 0x60]
movaps xmm3, xmmword [edi + edx]
subps xmm1, xmm7
mulps xmm3, xmmword [ebx + 0x70]
shufps xmm6, xmm6, 0x1b
subps xmm0, xmm3
mulps xmm6, xmm2
mov edi, dword [esp + 0x50]
movaps xmm5, xmmword [ebx + 0x90]
mulps xmm5, xmm6
movaps xmm4, xmmword [edi + edx]
addps xmm0, xmm5
mulps xmm4, xmmword [ebx + 0x80]
movaps xmmword [ecx + edx], xmm6
add ebx, 0xa0
movaps xmm3, xmmword [esi + 0x10]
addps xmm1, xmm4
movaps xmm4, xmmword [esi]
movaps xmm5, xmm1
mulps xmm5, xmm4
add esi, 0x20
mulps xmm1, xmm3
mulps xmm3, xmm0
mulps xmm4, xmm0
subps xmm5, xmm3
addps xmm1, xmm4
mov ecx, dword [esp + 0x34]
movaps xmm0, xmm5
movlhps xmm0, xmm1
shufps xmm5, xmm1, 0xee
mov edx, dword [esp + 0x54]
inc edx
shufps xmm0, xmm0, 0xd8
shufps xmm5, xmm5, 0xd8
movaps xmmword [ecx], xmm0
movaps xmmword [ecx + 0x10], xmm5
add ecx, 0x20
mov dword [esp + 0x34], ecx
cmp edx, dword [esp + 0x28]
jb 0x10032470
mov ebx, dword [esp + 4]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
push dword [edx + 0x18]
push dword [edx + 8]
push dword [esp + 0x1c]
push dword [esp + 0x18]
call fcn.10049410
mov eax, dword [ebp + 0x24]
mov edx, dword [esp + 0x10]
cmp dword [esp + 0x24], 0
mov ecx, dword [eax + edx*4]
mov edi, dword [ecx + ebx*4]
jbe 0x10032606
xor esi, esi
mov dword [esp + 4], ebx
xor ecx, ecx
mov eax, dword [esp]
mov edx, dword [esp + 0x14]
movss xmm0, dword [edx + esi*8 + 4]
lea ebx, [esi*8]
xorps xmm0, xmmword [0x10366b10]
neg ebx
movss dword [ecx + edi], xmm0
add ebx, eax
movss xmm1, dword [edx + esi*8]
inc esi
xorps xmm1, xmmword [0x10366b10]
movss dword [ecx + edi + 4], xmm1
movss xmm2, dword [ebx - 4]
xorps xmm2, xmmword [0x10366b10]
movss dword [ecx + edi + 8], xmm2
mov ebx, dword [ebx - 8]
mov dword [ecx + edi + 0xc], ebx
add ecx, 0x10
cmp esi, dword [esp + 0x24]
jb 0x100325b0
mov ebx, dword [esp + 4]
inc ebx
cmp ebx, dword [ebp + 0x18]
jb 0x100322f2
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 8]
inc ecx
inc edx
mov dword [esi + 8], edx
cmp ecx, edi
jb 0x100322e4
add esp, 0x64
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret