Function at 0x1800526b0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 2], 0
mov rax, rcx
je 0x180052a51
mov r10d, dword [0x180182290]
xor r8d, r8d
movdqa xmm4, xmmword [0x180164c10]
mov r9d, r8d
movdqa xmm3, xmmword [0x180164b70]
cmp r10d, 5
jl 0x18005270e
movzx ecx, word [rcx]
movdqa xmm1, xmm3
movdqa xmm0, xmmword [0x180168d80]
psllq xmm1, 3
vpsrlvq xmm2, xmm0, xmm1
movd xmm0, ecx
pshufb xmm2, xmm4
xorps xmm2, xmm0
movd ecx, xmm2
mov word [rax], cx
jmp 0x18005273d
movabs r11, 0x7ffeff7e7efeff7e
nop dword [rax + rax]
movzx ecx, r9b
mov rdx, r11
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 2
jb 0x180052720
xor byte [rax], 0xcf
mov r9, r8
xor byte [rax + 1], 0x69
cmp r10d, 5
jl 0x18005277b
movzx ecx, word [rax]
movdqa xmm1, xmm3
movdqa xmm0, xmmword [0x18016a570]
psllq xmm1, 3
vpsrlvq xmm2, xmm0, xmm1
movd xmm0, ecx
pshufb xmm2, xmm4
xorps xmm2, xmm0
movd ecx, xmm2
mov word [rax], cx
jmp 0x1800527ad
movabs r11, 0xbd9b9d999fd9dfb9
nop word [rax + rax]
movzx ecx, r9b
mov rdx, r11
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 2
jb 0x180052790
xor byte [rax], 0xab
mov r9, r8
xor byte [rax + 1], 0xab
cmp r10d, 5
jl 0x1800527eb
movzx ecx, word [rax]
movdqa xmm1, xmm3
movdqa xmm0, xmmword [0x18016c7e0]
psllq xmm1, 3
vpsrlvq xmm2, xmm0, xmm1
movd xmm0, ecx
pshufb xmm2, xmm4
xorps xmm2, xmm0
movd ecx, xmm2
mov word [rax], cx
jmp 0x18005281d
movabs r11, 0xf77ff7f7f7ff7ff7
nop word [rax + rax]
movzx ecx, r9b
mov rdx, r11
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 2
jb 0x180052800
xor byte [rax], 0x6e
mov r9, r8
xor byte [rax + 1], 0x6e
cmp r10d, 5
jl 0x18005285b
movzx ecx, word [rax]
movdqa xmm1, xmm3
movdqa xmm0, xmmword [0x18016cf20]
psllq xmm1, 3
vpsrlvq xmm2, xmm0, xmm1
movd xmm0, ecx
pshufb xmm2, xmm4
xorps xmm2, xmm0
movd ecx, xmm2
mov word [rax], cx
jmp 0x18005288d
movabs r11, 0xfd7777df755fffd5
nop word [rax + rax]
movzx ecx, r9b
mov rdx, r11
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 2
jb 0x180052870
xor byte [rax], 0x80
mov r9, r8
xor byte [rax + 1], 0x6f
cmp r10d, 5
jl 0x1800528cb
movzx ecx, word [rax]
movdqa xmm1, xmm3
movdqa xmm0, xmmword [0x180167550]
psllq xmm1, 3
vpsrlvq xmm2, xmm0, xmm1
movd xmm0, ecx
pshufb xmm2, xmm4
xorps xmm2, xmm0
movd ecx, xmm2
mov word [rax], cx
jmp 0x1800528fd
movabs r11, 0x75b31f7f355d159f
nop word [rax + rax]
movzx ecx, r9b
mov rdx, r11
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 2
jb 0x1800528e0
xor byte [rax], 0xf0
mov r9, r8
xor byte [rax + 1], 0xf0
cmp r10d, 5
jl 0x18005293b
movzx ecx, word [rax]
movdqa xmm1, xmm3
movdqa xmm0, xmmword [0x18016c0c0]
psllq xmm1, 3
vpsrlvq xmm2, xmm0, xmm1
movd xmm0, ecx
pshufb xmm2, xmm4
xorps xmm2, xmm0
movd ecx, xmm2
mov word [rax], cx
jmp 0x18005296d
movabs r11, 0xec7dc46b79d5e743
nop word [rax + rax]
movzx ecx, r9b
mov rdx, r11
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 2
jb 0x180052950
xor byte [rax], 0x70
mov r9, r8
xor byte [rax + 1], 0x79
cmp r10d, 5
jl 0x1800529ab
movzx ecx, word [rax]
movdqa xmm1, xmm3
movdqa xmm0, xmmword [0x180167c70]
psllq xmm1, 3
vpsrlvq xmm2, xmm0, xmm1
movd xmm0, ecx
pshufb xmm2, xmm4
xorps xmm2, xmm0
movd ecx, xmm2
mov word [rax], cx
jmp 0x1800529dd
movabs r11, 0x78da14343c5cf256
nop word [rax + rax]
movzx ecx, r9b
mov rdx, r11
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 2
jb 0x1800529c0
xor byte [rax], 0xc4
xor byte [rax + 1], 0xe9
cmp r10d, 5
jl 0x180052a17
movzx ecx, word [rax]
movdqa xmm0, xmmword [0x180164d10]
psllq xmm3, 3
vpsrlvq xmm1, xmm0, xmm3
movd xmm0, ecx
pshufb xmm1, xmm4
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax], cx
mov byte [rax + 2], 0
ret
movabs r9, 0x7ff8d773dbd4397
nop dword [rax]
nop word [rax + rax]
movzx ecx, r8b
mov rdx, r9
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 2
jb 0x180052a30
mov byte [rax + 2], 0
ret