Function at 0x4bf960
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x68
movups xmmword [rsp], xmm6
movups xmmword [rsp + 0x10], xmm7
movups xmmword [rsp + 0x20], xmm8
movups xmmword [rsp + 0x30], xmm9
movups xmmword [rsp + 0x40], xmm10
movups xmmword [rsp + 0x50], xmm11
mov r10d, 0xaaaaaaab
shr r8d, 4
mov r11d, r8d
imul r10, r11
shr r10, 0x22
cmp r8d, 5
jbe 0x4bfc81
movdqu xmm4, xmmword [rcx]
mov rax, rdx
xor r9d, r9d
nop
movups xmmword [rax], xmm4
movdqu xmm7, xmmword [rcx + 0x10]
add r9d, 1
add rax, 0x60
movups xmmword [rax - 0x50], xmm7
movdqu xmm7, xmmword [rcx + 0x20]
movups xmmword [rax - 0x40], xmm7
movdqu xmm7, xmmword [rcx + 0x30]
movups xmmword [rax - 0x30], xmm7
movdqu xmm7, xmmword [rcx + 0x40]
movups xmmword [rax - 0x20], xmm7
movdqu xmm9, xmmword [rcx + 0x50]
movups xmmword [rax - 0x10], xmm9
movdqu xmm2, xmmword [rcx + 0x20]
movdqu xmm4, xmmword [rcx]
movdqu xmm5, xmmword [rcx + 0x60]
movdqu xmm3, xmmword [rcx + 0x40]
paddq xmm4, xmm2
movdqu xmm0, xmmword [rcx + 0x30]
pxor xmm5, xmm4
pshufd xmm5, xmm5, 0xb1
paddq xmm3, xmm5
pxor xmm2, xmm3
movdqu xmm1, xmm2
psrlq xmm2, 0x18
psllq xmm1, 0x28
por xmm2, xmm1
paddq xmm4, xmm2
pxor xmm5, xmm4
movdqu xmm8, xmm5
psrlq xmm5, 0x10
psllq xmm8, 0x30
por xmm5, xmm8
movdqu xmm8, xmmword [rcx + 0x70]
paddq xmm3, xmm5
movdqu xmm10, xmm5
pxor xmm2, xmm3
pslldq xmm10, 8
movdqu xmm1, xmm2
psrlq xmm2, 0x3f
psllq xmm1, 1
por xmm1, xmm2
movdqu xmm2, xmmword [rcx + 0x10]
paddq xmm2, xmm0
pxor xmm8, xmm2
pshufd xmm8, xmm8, 0xb1
paddq xmm9, xmm8
pxor xmm0, xmm9
movdqu xmm6, xmm0
psrlq xmm0, 0x18
psllq xmm6, 0x28
por xmm0, xmm6
paddq xmm2, xmm0
pxor xmm8, xmm2
movdqu xmm6, xmm8
psrlq xmm8, 0x10
psllq xmm6, 0x30
por xmm8, xmm6
paddq xmm9, xmm8
movdqu xmm7, xmm8
psrldq xmm8, 8
pslldq xmm7, 8
pxor xmm0, xmm9
movdqu xmm6, xmm0
psrlq xmm0, 0x3f
por xmm8, xmm10
psllq xmm6, 1
por xmm0, xmm6
movdqu xmm6, xmm5
movdqu xmm5, xmm1
psrldq xmm1, 8
pslldq xmm5, 8
movdqu xmm11, xmm0
pslldq xmm0, 8
psrldq xmm11, 8
por xmm0, xmm1
psrldq xmm6, 8
por xmm5, xmm11
paddq xmm4, xmm0
paddq xmm2, xmm5
por xmm6, xmm7
pxor xmm8, xmm4
pxor xmm6, xmm2
pshufd xmm8, xmm8, 0xb1
pshufd xmm6, xmm6, 0xb1
paddq xmm9, xmm8
paddq xmm3, xmm6
pxor xmm0, xmm9
pxor xmm5, xmm3
movdqu xmm1, xmm0
psrlq xmm0, 0x18
psllq xmm1, 0x28
por xmm1, xmm0
movdqu xmm0, xmm8
paddq xmm4, xmm1
pxor xmm0, xmm4
movups xmmword [rcx], xmm4
movdqu xmm8, xmm0
psrlq xmm0, 0x10
psllq xmm8, 0x30
por xmm0, xmm8
paddq xmm9, xmm0
pxor xmm1, xmm9
movups xmmword [rcx + 0x50], xmm9
movdqu xmm8, xmm1
psrlq xmm1, 0x3f
psllq xmm8, 1
por xmm1, xmm8
movdqu xmm8, xmm5
psllq xmm8, 0x28
psrlq xmm5, 0x18
por xmm5, xmm8
paddq xmm2, xmm5
movups xmmword [rcx + 0x10], xmm2
pxor xmm2, xmm6
movdqu xmm6, xmm2
psrlq xmm2, 0x10
psllq xmm6, 0x30
por xmm2, xmm6
paddq xmm3, xmm2
movdqu xmm6, xmm2
movups xmmword [rcx + 0x40], xmm3
pxor xmm3, xmm5
pslldq xmm2, 8
movdqu xmm5, xmm3
psrlq xmm3, 0x3f
psllq xmm5, 1
psrldq xmm6, 8
por xmm3, xmm5
movdqu xmm5, xmm0
pslldq xmm5, 8
psrldq xmm0, 8
por xmm2, xmm0
movdqu xmm0, xmm5
por xmm0, xmm6
movups xmmword [rcx + 0x60], xmm2
movdqu xmm2, xmm1
movups xmmword [rcx + 0x70], xmm0
movdqu xmm0, xmm3
psrldq xmm2, 8
pslldq xmm0, 8
psrldq xmm3, 8
pslldq xmm1, 8
por xmm0, xmm2
por xmm1, xmm3
movups xmmword [rcx + 0x30], xmm0
movups xmmword [rcx + 0x20], xmm1
cmp r10d, r9d
jg 0x4bf9b0
lea eax, [r10 - 1]
mov r9d, 0x60
lea rax, [rax + rax*2 + 3]
shl rax, 5
cmp r8d, 5
cmovle rax, r9
add rdx, rax
mov eax, 0xaaaaaaab
imul rax, r11
shr rax, 0x22
lea eax, [rax + rax*2]
add eax, eax
sub r8d, eax
je 0x4bfcdb
movdqu xmm7, xmmword [rcx]
movups xmmword [rdx], xmm7
cmp r8d, 1
je 0x4bfcdb
movdqu xmm7, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm7
cmp r8d, 2
je 0x4bfcdb
movdqu xmm7, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x20], xmm7
cmp r8d, 3
je 0x4bfcdb
movdqu xmm7, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x30], xmm7
cmp r8d, 5
jne 0x4bfcdb
movdqu xmm7, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x40], xmm7
movups xmm6, xmmword [rsp]
movups xmm7, xmmword [rsp + 0x10]
movups xmm8, xmmword [rsp + 0x20]
movups xmm9, xmmword [rsp + 0x30]
movups xmm10, xmmword [rsp + 0x40]
movups xmm11, xmmword [rsp + 0x50]
add rsp, 0x68
ret