Function at 0x1006abe0
Capabilities:
Encode data using xor

Disassembly:
push ebx
movd xmm2, dword [esp + 0x14]
movdqa xmm0, xmmword [0x102b13b0]
mov ecx, dword [esp + 8]
psrad xmm0, xmm2
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
movdqa xmm1, xmmword [0x102b13a0]
cmp dword [esp + 0x10], 0xb
jl 0x1006b01a
test byte [esp + 0xc], 3
jne 0x1006ae7f
mov ebx, edx
and ebx, 0xf
je 0x1006acee
neg ebx
test bl, 8
je 0x1006ac8d
movq xmm5, qword [ecx]
add ecx, 8
movq xmm6, qword [edx]
movdqa xmm4, xmm5
paddd xmm4, xmm6
pxor xmm6, xmm5
movdqa xmm3, xmm6
pandn xmm6, xmm5
pand xmm3, xmm4
movdqa xmm7, xmm4
por xmm3, xmm6
pand xmm7, xmm0
psrad xmm3, 0x1f
pslld xmm4, xmm2
movdqa xmm5, xmm3
pxor xmm3, xmm1
pand xmm5, xmm0
add eax, 0xfffffffe
pcmpeqd xmm5, xmm7
pand xmm4, xmm5
pandn xmm5, xmm3
por xmm4, xmm5
movq qword [edx], xmm4
add edx, 8
test bl, 4
je 0x1006acee
movd xmm5, dword [ecx]
add ecx, 4
movd xmm6, dword [edx]
movdqa xmm4, xmm5
paddd xmm4, xmm6
pxor xmm6, xmm5
movdqa xmm3, xmm6
pandn xmm6, xmm5
pand xmm3, xmm4
movdqa xmm7, xmm4
por xmm3, xmm6
pand xmm7, xmm0
psrad xmm3, 0x1f
pslld xmm4, xmm2
movdqa xmm5, xmm3
pxor xmm3, xmm1
pand xmm5, xmm0
dec eax
pcmpeqd xmm5, xmm7
pand xmm4, xmm5
pandn xmm5, xmm3
por xmm4, xmm5
movd dword [edx], xmm4
add edx, 4
mov ebx, eax
and eax, 7
sar ebx, 3
test cl, 0xf
jne 0x1006adc0
nop
movdqa xmm6, xmmword [ecx]
movdqa xmm7, xmmword [edx]
movdqa xmm5, xmm6
paddd xmm5, xmm7
pxor xmm7, xmm6
movdqa xmm4, xmm7
movdqa xmm3, xmm5
pandn xmm7, xmmword [ecx]
pand xmm4, xmm5
por xmm4, xmm7
pand xmm3, xmm0
psrad xmm4, 0x1f
pslld xmm5, xmm2
movdqa xmm6, xmm4
pxor xmm4, xmm1
pand xmm6, xmm0
pcmpeqd xmm6, xmm3
pand xmm5, xmm6
pandn xmm6, xmm4
movdqa xmm7, xmmword [ecx + 0x10]
por xmm5, xmm6
movdqa xmmword [edx], xmm5
add ecx, 0x20
movdqa xmm5, xmmword [edx + 0x10]
movdqa xmm4, xmm5
pxor xmm5, xmm7
paddd xmm4, xmm7
movdqa xmm3, xmm5
pand xmm3, xmm4
pandn xmm5, xmm7
por xmm3, xmm5
movdqa xmm6, xmm4
psrad xmm3, 0x1f
pand xmm6, xmm0
movdqa xmm7, xmm3
pslld xmm4, xmm2
pand xmm7, xmm0
pxor xmm3, xmm1
pcmpeqd xmm7, xmm6
pand xmm4, xmm7
pandn xmm7, xmm3
por xmm4, xmm7
movdqa xmmword [edx + 0x10], xmm4
lea edx, [edx + 0x20]
dec ebx
jne 0x1006ad00
jmp 0x1006b01a
movdqu xmm7, xmmword [ecx]
movdqa xmm3, xmmword [edx]
movdqa xmm6, xmm3
pxor xmm3, xmm7
paddd xmm6, xmm7
movdqa xmm5, xmm3
pand xmm5, xmm6
pandn xmm3, xmm7
por xmm5, xmm3
movdqa xmm4, xmm6
psrad xmm5, 0x1f
pand xmm4, xmm0
movdqa xmm3, xmm5
pslld xmm6, xmm2
pand xmm3, xmm0
pxor xmm5, xmm1
pcmpeqd xmm3, xmm4
pand xmm6, xmm3
pandn xmm3, xmm5
movdqu xmm5, xmmword [ecx + 0x10]
por xmm6, xmm3
add ecx, 0x20
movdqa xmmword [edx], xmm6
movdqa xmm6, xmmword [edx + 0x10]
movdqa xmm4, xmm6
pxor xmm6, xmm5
paddd xmm4, xmm5
movdqa xmm3, xmm6
pand xmm3, xmm4
pandn xmm6, xmm5
por xmm3, xmm6
movdqa xmm5, xmm4
psrad xmm3, 0x1f
pand xmm5, xmm0
movdqa xmm7, xmm3
pslld xmm4, xmm2
pand xmm7, xmm0
pxor xmm3, xmm1
pcmpeqd xmm7, xmm5
pand xmm4, xmm7
pandn xmm7, xmm3
por xmm4, xmm7
movdqa xmmword [edx + 0x10], xmm4
lea edx, [edx + 0x20]
dec ebx
jne 0x1006adc0
jmp 0x1006b01a
mov ebx, eax
and eax, 7
sar ebx, 3
test byte [esp + 8], 0xf
jne 0x1006af60
nop dword [eax]
nop dword [eax]
movdqu xmm7, xmmword [edx]
movdqa xmm6, xmmword [ecx]
movdqa xmm5, xmm6
paddd xmm5, xmm7
pxor xmm7, xmm6
movdqa xmm4, xmm7
movdqa xmm3, xmm5
pandn xmm7, xmmword [ecx]
pand xmm4, xmm5
por xmm4, xmm7
pand xmm3, xmm0
psrad xmm4, 0x1f
pslld xmm5, xmm2
movdqa xmm6, xmm4
pxor xmm4, xmm1
pand xmm6, xmm0
pcmpeqd xmm6, xmm3
pand xmm5, xmm6
pandn xmm6, xmm4
por xmm5, xmm6
movdqa xmm7, xmmword [ecx + 0x10]
add ecx, 0x20
movdqu xmmword [edx], xmm5
movdqu xmm5, xmmword [edx + 0x10]
movdqa xmm4, xmm7
paddd xmm4, xmm5
pxor xmm5, xmm7
movdqa xmm3, xmm5
pandn xmm5, xmm7
pand xmm3, xmm4
movdqa xmm6, xmm4
por xmm3, xmm5
pand xmm6, xmm0
psrad xmm3, 0x1f
pslld xmm4, xmm2
movdqa xmm7, xmm3
pxor xmm3, xmm1
pand xmm7, xmm0
pcmpeqd xmm7, xmm6
pand xmm4, xmm7
pandn xmm7, xmm3
por xmm4, xmm7
movdqu xmmword [edx + 0x10], xmm4
lea edx, [edx + 0x20]
dec ebx
jne 0x1006aea0
jmp 0x1006b01a
movdqu xmm7, xmmword [ecx]
movdqu xmm3, xmmword [edx]
movdqa xmm6, xmm7
paddd xmm6, xmm3
pxor xmm3, xmm7
movdqa xmm5, xmm3
pandn xmm3, xmm7
pand xmm5, xmm6
movdqa xmm4, xmm6
por xmm5, xmm3
pand xmm4, xmm0
psrad xmm5, 0x1f
pslld xmm6, xmm2
movdqa xmm3, xmm5
pxor xmm5, xmm1
pand xmm3, xmm0
pcmpeqd xmm3, xmm4
pand xmm6, xmm3
pandn xmm3, xmm5
por xmm6, xmm3
movdqu xmm5, xmmword [ecx + 0x10]
movdqu xmmword [edx], xmm6
movdqu xmm6, xmmword [edx + 0x10]
movdqa xmm4, xmm6
pxor xmm6, xmm5
paddd xmm4, xmm5
movdqa xmm3, xmm6
pand xmm3, xmm4
pandn xmm6, xmm5
por xmm3, xmm6
movdqa xmm5, xmm4
psrad xmm3, 0x1f
pand xmm5, xmm0
movdqa xmm7, xmm3
pslld xmm4, xmm2
pand xmm7, xmm0
pxor xmm3, xmm1
pcmpeqd xmm7, xmm5
add ecx, 0x20
pand xmm4, xmm7
pandn xmm7, xmm3
por xmm4, xmm7
movdqu xmmword [edx + 0x10], xmm4
lea edx, [edx + 0x20]
dec ebx
jne 0x1006af60
cmp eax, 4
jl 0x1006b0a3
nop dword [eax + eax]
nop dword [eax]
nop dword [eax]
nop dword [eax]
movdqu xmm5, xmmword [ecx]
movdqu xmm6, xmmword [edx]
movdqa xmm4, xmm5
add eax, 0xfffffffc
paddd xmm4, xmm6
pxor xmm6, xmm5
movdqa xmm3, xmm6
pandn xmm6, xmm5
pand xmm3, xmm4
movdqa xmm7, xmm4
por xmm3, xmm6
pand xmm7, xmm0
psrad xmm3, 0x1f
pslld xmm4, xmm2
movdqa xmm5, xmm3
pxor xmm3, xmm1
pand xmm5, xmm0
add ecx, 0x10
pcmpeqd xmm5, xmm7
pand xmm4, xmm5
pandn xmm5, xmm3
por xmm4, xmm5
movdqu xmmword [edx], xmm4
lea edx, [edx + 0x10]
cmp eax, 4
jge 0x1006b040
test al, 2
je 0x1006b102
movq xmm5, qword [ecx]
add ecx, 8
movq xmm6, qword [edx]
movdqa xmm4, xmm5
paddd xmm4, xmm6
pxor xmm6, xmm5
movdqa xmm3, xmm6
pandn xmm6, xmm5
pand xmm3, xmm4
movdqa xmm7, xmm4
por xmm3, xmm6
pand xmm7, xmm0
psrad xmm3, 0x1f
pslld xmm4, xmm2
movdqa xmm5, xmm3
pxor xmm3, xmm1
pand xmm5, xmm0
pcmpeqd xmm5, xmm7
pand xmm4, xmm5
pandn xmm5, xmm3
por xmm4, xmm5
movq qword [edx], xmm4
add edx, 8
test al, 1
je 0x1006b157
movd xmm3, dword [ecx]
movd xmm4, dword [edx]
movdqa xmm7, xmm3
paddd xmm7, xmm4
pxor xmm4, xmm3
movdqa xmm5, xmm4
pandn xmm4, xmm3
pand xmm5, xmm7
por xmm5, xmm4
psrad xmm5, 0x1f
movdqa xmm6, xmm5
pxor xmm5, xmm1
pand xmm6, xmm0
pand xmm0, xmm7
pcmpeqd xmm6, xmm0
pslld xmm7, xmm2
pand xmm7, xmm6
pandn xmm6, xmm5
por xmm7, xmm6
movd dword [edx], xmm7
pop ebx
ret