Function at 0x10106470
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x102db678]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0x10]
push esi
mov esi, dword [ebx + 0x14]
mov dword [ebp - 0x24], eax
movups xmm0, xmmword [eax + 0x3c]
push edi
mov edi, dword [ebx + 0xc]
movaps xmmword [ebp - 0x20], xmm0
movaps xmmword [ebp - 0x70], xmm0
movups xmm7, xmmword [eax + 0x2c]
movups xmm6, xmmword [eax + 0x4c]
movaps xmmword [ebp - 0x60], xmm7
movaps xmmword [ebp - 0x80], xmm6
movups xmm5, xmmword [eax + 0x5c]
movups xmm1, xmmword [eax + 0x6c]
movaps xmmword [ebp - 0x40], xmm5
movaps xmmword [ebp - 0x50], xmm1
cmp esi, 0x10
jge 0x101064e5
test esi, esi
je 0x10106821
jmp 0x10106796
mov ecx, edx
neg ecx
and ecx, 0xf
je 0x1010653b
movups xmm0, xmmword [edx]
lea eax, [ebp - 0x50]
add edx, ecx
push eax
lea eax, [ebp - 0x40]
movaps xmmword [ebp - 0x50], xmm0
push eax
lea eax, [ebp - 0x80]
sub esi, ecx
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x24]
push ecx
movups xmmword [edi], xmm0
push eax
add edi, ecx
call fcn.10106880
movaps xmm0, xmmword [ebp - 0x70]
add esp, 0x1c
movaps xmm1, xmmword [ebp - 0x50]
movaps xmm7, xmmword [ebp - 0x60]
movaps xmm6, xmmword [ebp - 0x80]
movaps xmm5, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmmword [ebp - 0x50], xmm1
sub esi, 0x40
js 0x10106613
lea ecx, [esi + 0x40]
shr ecx, 6
mov eax, ecx
neg eax
shl eax, 6
add esi, eax
movups xmm1, xmmword [edx]
movaps xmm0, xmm7
movups xmm2, xmmword [edx + 0x10]
movups xmm3, xmmword [edx + 0x20]
movups xmm4, xmmword [edx + 0x30]
add edx, 0x40
movaps xmmword [ebp - 0x40], xmm1
movaps xmm1, xmmword [0x102ab100]
pclmulqdq xmm0, xmm1, 1
pclmulqdq xmm7, xmm1, 0x10
xorps xmm7, xmm0
movaps xmm0, xmmword [ebp - 0x20]
pclmulqdq xmm0, xmm1, 1
movaps xmm1, xmmword [ebp - 0x20]
pclmulqdq xmm1, xmmword [0x102ab100], 0x10
xorps xmm1, xmm0
movaps xmm0, xmm6
movaps xmmword [ebp - 0x20], xmm1
movaps xmm1, xmmword [0x102ab100]
pclmulqdq xmm0, xmm1, 1
pclmulqdq xmm6, xmm1, 0x10
xorps xmm6, xmm0
movaps xmm0, xmm5
pclmulqdq xmm0, xmm1, 1
pclmulqdq xmm5, xmm1, 0x10
movaps xmm1, xmmword [ebp - 0x40]
xorps xmm5, xmm0
movaps xmm0, xmmword [ebp - 0x20]
pxor xmm7, xmm1
movups xmmword [edi], xmm1
movups xmmword [edi + 0x10], xmm2
movups xmmword [edi + 0x20], xmm3
movups xmmword [edi + 0x30], xmm4
add edi, 0x40
pxor xmm0, xmm2
movaps xmmword [ebp - 0x60], xmm7
movaps xmmword [ebp - 0x20], xmm0
pxor xmm6, xmm3
movaps xmmword [ebp - 0x70], xmm0
pxor xmm5, xmm4
movaps xmmword [ebp - 0x80], xmm6
movaps xmmword [ebp - 0x40], xmm5
sub ecx, 1
jne 0x10106553
lea eax, [esi + 0x10]
test eax, eax
js 0x101066bd
movaps xmm0, xmmword [0x102ab100]
movaps xmm1, xmm5
movups xmm2, xmmword [edx]
movaps xmm5, xmm6
movups xmm3, xmmword [edx + 0x10]
mov esi, eax
movups xmm4, xmmword [edx + 0x20]
movaps xmmword [ebp - 0x40], xmm2
movaps xmm2, xmmword [ebp - 0x20]
pclmulqdq xmm6, xmm0, 1
pclmulqdq xmm5, xmm0, 0x10
xorps xmm5, xmm6
movaps xmm6, xmmword [ebp - 0x20]
pxor xmm5, xmm4
pclmulqdq xmm2, xmm0, 1
pclmulqdq xmm6, xmm0, 0x10
xorps xmm6, xmm2
movaps xmm2, xmm7
pxor xmm6, xmm3
movaps xmmword [ebp - 0x80], xmm6
pclmulqdq xmm2, xmm0, 0x10
movaps xmmword [ebp - 0x20], xmm2
movaps xmm2, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x40], xmm5
pclmulqdq xmm7, xmm0, 1
movaps xmm0, xmmword [ebp - 0x20]
xorps xmm0, xmm7
movaps xmm7, xmm1
movaps xmmword [ebp - 0x60], xmm7
pxor xmm0, xmm2
movaps xmmword [ebp - 0x70], xmm0
movups xmmword [edi], xmm2
movups xmmword [edi + 0x10], xmm3
movups xmmword [edi + 0x20], xmm4
test esi, esi
je 0x10106806
add edi, 0x30
add edx, 0x30
jmp 0x10106796
lea eax, [esi + 0x20]
test eax, eax
js 0x10106737
movaps xmm0, xmmword [0x102ab100]
movaps xmm1, xmm6
movaps xmm6, xmmword [ebp - 0x20]
movaps xmm2, xmm5
movups xmm3, xmmword [edx]
movaps xmm5, xmm6
movups xmm4, xmmword [edx + 0x10]
mov esi, eax
pclmulqdq xmm6, xmm0, 1
pclmulqdq xmm5, xmm0, 0x10
xorps xmm5, xmm6
movaps xmm6, xmm7
pxor xmm5, xmm4
movaps xmmword [ebp - 0x40], xmm5
pclmulqdq xmm7, xmm0, 1
pclmulqdq xmm6, xmm0, 0x10
xorps xmm6, xmm7
movaps xmm7, xmm1
movaps xmmword [ebp - 0x60], xmm7
movaps xmm0, xmm2
movaps xmmword [ebp - 0x70], xmm0
pxor xmm6, xmm3
movaps xmmword [ebp - 0x80], xmm6
movups xmmword [edi], xmm3
movups xmmword [edi + 0x10], xmm4
test esi, esi
je 0x10106806
add edi, 0x20
add edx, 0x20
jmp 0x10106796
lea eax, [esi + 0x30]
test eax, eax
js 0x10106791
movups xmm2, xmmword [edx]
movaps xmm1, xmm5
movaps xmm5, xmm7
movaps xmm0, xmm6
pclmulqdq xmm7, xmmword [0x102ab100], 1
pclmulqdq xmm5, xmmword [0x102ab100], 0x10
xorps xmm5, xmm7
movaps xmmword [ebp - 0x70], xmm0
movaps xmm7, xmmword [ebp - 0x20]
mov esi, eax
movaps xmmword [ebp - 0x60], xmm7
movaps xmm6, xmm1
movaps xmmword [ebp - 0x80], xmm6
pxor xmm5, xmm2
movaps xmmword [ebp - 0x40], xmm5
movups xmmword [edi], xmm2
test esi, esi
je 0x10106806
add edi, 0x10
add edx, 0x10
jmp 0x10106796
add esi, 0x40
je 0x10106806
push esi
push edx
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x20], xmm0
call fcn.10147030
movd xmm2, dword [ebp - 0x14]
lea eax, [ebp - 0x50]
movd xmm0, dword [ebp - 0x18]
movd xmm1, dword [ebp - 0x1c]
movd xmm3, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x40]
punpckldq xmm3, xmm0
push eax
lea eax, [ebp - 0x80]
punpckldq xmm1, xmm2
push eax
lea eax, [ebp - 0x70]
punpckldq xmm3, xmm1
push eax
lea eax, [ebp - 0x60]
movaps xmmword [ebp - 0x50], xmm3
push eax
push esi
push edx
movups xmmword [edi], xmm3
call fcn.10106880
movaps xmm7, xmmword [ebp - 0x60]
add esp, 0x28
movaps xmm0, xmmword [ebp - 0x70]
movaps xmm6, xmmword [ebp - 0x80]
movaps xmm5, xmmword [ebp - 0x40]
movaps xmm1, xmmword [ebp - 0x50]
jmp 0x1010680d
mov edx, dword [ebp - 0x24]
movaps xmm1, xmmword [ebp - 0x50]
movups xmmword [edx + 0x2c], xmm7
movups xmmword [edx + 0x3c], xmm0
movups xmmword [edx + 0x4c], xmm6
movups xmmword [edx + 0x5c], xmm5
movups xmmword [edx + 0x6c], xmm1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.101452d9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret