Function at 0x4f9240
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x48
movups xmmword [rsp], xmm6
movups xmmword [rsp + 0x10], xmm7
movups xmmword [rsp + 0x20], xmm8
movups xmmword [rsp + 0x30], xmm9
mov r10d, 0xaaaaaaab
shr r8d, 4
mov r11d, r8d
imul r10, r11
shr r10, 0x22
cmp r8d, 5
jbe 0x4f94b2
movdqu xmm9, xmmword [rcx]
mov rax, rdx
xor r9d, r9d
movdqu xmm6, xmmword [0x0062c660]
nop dword [rax + rax]
movups xmmword [rax], xmm9
movdqu xmm3, xmmword [rcx + 0x10]
add r9d, 1
add rax, 0x60
movups xmmword [rax - 0x50], xmm3
movdqu xmm3, xmmword [rcx + 0x20]
movups xmmword [rax - 0x40], xmm3
movdqu xmm3, xmmword [rcx + 0x30]
movups xmmword [rax - 0x30], xmm3
movdqu xmm5, xmmword [rcx + 0x40]
movups xmmword [rax - 0x20], xmm5
movdqu xmm1, xmmword [rcx + 0x50]
movups xmmword [rax - 0x10], xmm1
movdqu xmm9, xmmword [rcx + 0x20]
movdqu xmm4, xmmword [rcx]
movdqu xmm0, xmmword [rcx + 0x60]
movdqu xmm3, xmmword [rcx + 0x40]
paddq xmm4, xmm9
pxor xmm0, xmm4
pshufd xmm0, xmm0, 0xb1
movdqu xmm2, xmmword [rcx + 0x10]
paddq xmm3, xmm0
movdqu xmm7, xmmword [rcx + 0x70]
pxor xmm9, xmm3
pshufb xmm9, xmm6
paddq xmm4, xmm9
pxor xmm0, xmm4
pshuflw xmm0, xmm0, 0x39
pshufhw xmm0, xmm0, 0x39
paddq xmm3, xmm0
movdqu xmm5, xmm0
pxor xmm9, xmm3
movdqu xmm0, xmm9
psllq xmm0, 1
psrlq xmm9, 0x3f
por xmm9, xmm0
movdqu xmm0, xmmword [rcx + 0x30]
paddq xmm2, xmm0
pxor xmm7, xmm2
pshufd xmm7, xmm7, 0xb1
paddq xmm1, xmm7
pxor xmm0, xmm1
pshufb xmm0, xmm6
paddq xmm2, xmm0
pxor xmm7, xmm2
pshuflw xmm7, xmm7, 0x39
pshufhw xmm7, xmm7, 0x39
paddq xmm1, xmm7
movdqu xmm8, xmm7
pxor xmm0, xmm1
movdqu xmm7, xmm0
psllq xmm7, 1
psrlq xmm0, 0x3f
por xmm0, xmm7
movdqu xmm7, xmm8
palignr xmm7, xmm5, 8
palignr xmm5, xmm8, 8
movdqu xmm8, xmm9
palignr xmm8, xmm0, 8
palignr xmm0, xmm9, 8
paddq xmm2, xmm8
paddq xmm4, xmm0
pxor xmm7, xmm2
pxor xmm5, xmm4
pshufd xmm5, xmm5, 0xb1
paddq xmm1, xmm5
pxor xmm0, xmm1
pshufb xmm0, xmm6
paddq xmm4, xmm0
pxor xmm5, xmm4
movdqu xmm9, xmm4
pshuflw xmm5, xmm5, 0x39
movups xmmword [rcx], xmm4
pshufhw xmm4, xmm5, 0x39
movdqu xmm5, xmm4
paddq xmm4, xmm1
pshufd xmm1, xmm7, 0xb1
pxor xmm0, xmm4
paddq xmm3, xmm1
movups xmmword [rcx + 0x50], xmm4
movdqu xmm4, xmm0
psllq xmm4, 1
pxor xmm8, xmm3
pshufb xmm8, xmm6
paddq xmm2, xmm8
psrlq xmm0, 0x3f
movups xmmword [rcx + 0x10], xmm2
pxor xmm2, xmm1
pshuflw xmm2, xmm2, 0x39
por xmm0, xmm4
pshufhw xmm1, xmm2, 0x39
movdqu xmm4, xmm1
paddq xmm1, xmm3
movups xmmword [rcx + 0x40], xmm1
pxor xmm1, xmm8
movdqu xmm2, xmm1
psrlq xmm1, 0x3f
psllq xmm2, 1
por xmm1, xmm2
movdqu xmm2, xmm5
palignr xmm2, xmm4, 8
movups xmmword [rcx + 0x70], xmm2
movdqu xmm2, xmm1
palignr xmm4, xmm5, 8
palignr xmm2, xmm0, 8
movups xmmword [rcx + 0x60], xmm4
palignr xmm0, xmm1, 8
movups xmmword [rcx + 0x30], xmm2
movups xmmword [rcx + 0x20], xmm0
cmp r10d, r9d
jg 0x4f9290
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 0x4f950c
movdqu xmm6, xmmword [rcx]
movups xmmword [rdx], xmm6
cmp r8d, 1
je 0x4f950c
movdqu xmm6, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm6
cmp r8d, 2
je 0x4f950c
movdqu xmm6, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x20], xmm6
cmp r8d, 3
je 0x4f950c
movdqu xmm6, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x30], xmm6
cmp r8d, 5
jne 0x4f950c
movdqu xmm6, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x40], xmm6
movups xmm6, xmmword [rsp]
movups xmm7, xmmword [rsp + 0x10]
movups xmm8, xmmword [rsp + 0x20]
movups xmm9, xmmword [rsp + 0x30]
add rsp, 0x48
ret