Function at 0x180052a60
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x18
cmp byte [rcx + 6], 0
mov rax, rcx
je 0x180053135
mov r10d, dword [0x180182290]
xor r9d, r9d
movdqa xmm3, xmmword [0x180164c10]
mov r8d, r9d
movdqa xmm5, xmmword [0x180164ba0]
movdqa xmm4, xmmword [0x180164b70]
movaps xmmword [rsp], xmm6
cmp r10d, 5
jl 0x180052b1a
movzx ecx, word [rcx]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180168520]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax], cx
movzx ecx, word [rax + 2]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 4], cx
jmp 0x180052b4d
movabs r11, 0x7efeff7f7fff7ffe
nop dword [rax]
nop dword [rax + rax]
movzx ecx, r8b
mov rdx, r11
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 6
jb 0x180052b30
xor byte [rax + 4], 0x7f
mov r8, r9
movzx edx, byte [rax + 4]
xor byte [rax + 2], 0x5f
xor dl, 0xdc
xor byte [rax], 0xb
xor dl, 0xeb
xor byte [rax + 1], 0x6b
xor byte [rax + 3], 0x3c
xor byte [rax + 5], 0xee
movdqa xmm6, xmmword [0x180164bc0]
mov byte [rax + 4], dl
cmp r10d, 5
jl 0x180052bfc
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180169b00]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax], cx
movzx ecx, word [rax + 2]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm6
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 4], cx
jmp 0x180052c2d
movabs r11, 0x9fd9dfb9bbdffbd9
nop word [rax + rax]
movzx ecx, r8b
mov rdx, r11
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 6
jb 0x180052c10
xor byte [rax], 0xe9
mov r8, r9
xor byte [rax + 1], 0xe9
xor byte [rax + 2], 0xe9
xor byte [rax + 3], 0xe9
xor byte [rax + 4], 0xe9
xor byte [rax + 5], 0xe9
cmp r10d, 5
jl 0x180052cc7
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016ca30]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax], cx
movzx ecx, word [rax + 2]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 4], cx
jmp 0x180052cfd
movabs r11, 0xf7ffff7ff777777f
nop dword [rax]
nop word [rax + rax]
movzx ecx, r8b
mov rdx, r11
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 6
jb 0x180052ce0
xor byte [rax], 0xf7
mov r8, r9
xor byte [rax + 1], 0x66
xor byte [rax + 2], 0xf7
xor byte [rax + 3], 0xf7
xor byte [rax + 4], 0x66
xor byte [rax + 5], 0xf7
cmp r10d, 5
jl 0x180052d97
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016cf40]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax], cx
movzx ecx, word [rax + 2]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 4], cx
jmp 0x180052dcd
movabs r11, 0xfd7f777f5577dd5d
nop dword [rax]
nop word [rax + rax]
movzx ecx, r8b
mov rdx, r11
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 6
jb 0x180052db0
xor byte [rax + 2], 0xc6
mov r8, r9
xor byte [rax + 4], 0xd7
movzx ecx, byte [rax + 2]
movzx edx, byte [rax + 4]
xor cl, 0x77
xor byte [rax], 0x44
xor dl, 0x77
xor byte [rax + 1], 0xe6
xor cl, 0x37
xor byte [rax + 3], 0x1b
xor dl, 0xab
xor byte [rax + 5], 0xdc
mov byte [rax + 2], cl
mov byte [rax + 4], dl
cmp r10d, 5
jl 0x180052e81
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180169e40]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax], cx
movzx ecx, word [rax + 2]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm6
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 4], cx
jmp 0x180052ead
movabs r11, 0xb19b7b99ff7b39df
nop dword [rax + rax]
movzx ecx, r8b
mov rdx, r11
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 6
jb 0x180052e90
xor byte [rax], 0x9a
mov r8, r9
xor byte [rax + 1], 0x9a
xor byte [rax + 2], 0x9a
xor byte [rax + 3], 0x9a
xor byte [rax + 4], 0x9a
xor byte [rax + 5], 0x9a
cmp r10d, 5
jl 0x180052f47
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180167200]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax], cx
movzx ecx, word [rax + 2]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 4], cx
jmp 0x180052f7d
movabs r11, 0x70cb46d7425be0d0
nop dword [rax]
nop word [rax + rax]
movzx ecx, r8b
mov rdx, r11
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 6
jb 0x180052f60
xor byte [rax], 0xbc
mov r8, r9
xor byte [rax + 1], 0xb4
xor byte [rax + 2], 0x25
xor byte [rax + 3], 0xbc
xor byte [rax + 4], 0xb4
xor byte [rax + 5], 0x25
cmp r10d, 5
jl 0x180053017
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016ce50]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax], cx
movzx ecx, word [rax + 2]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 4], cx
jmp 0x18005304d
movabs r11, 0xfcf933f932939e96
nop dword [rax]
nop word [rax + rax]
movzx ecx, r8b
mov rdx, r11
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 6
jb 0x180053030
xor byte [rax + 2], 0x5a
xor byte [rax + 4], 0xed
movzx ecx, byte [rax + 2]
movzx edx, byte [rax + 4]
xor cl, 0x5f
xor byte [rax], 0xec
xor dl, 0xbf
xor byte [rax + 1], 0x14
xor cl, 0xd6
xor byte [rax + 3], 0x53
xor dl, 0x63
xor byte [rax + 5], 0xc6
mov byte [rax + 2], cl
mov byte [rax + 4], dl
cmp r10d, 5
jl 0x1800530fd
movzx ecx, word [rax]
movdqa xmm2, xmmword [0x180165a60]
psllq xmm6, 3
psllq xmm4, 3
movd xmm0, ecx
vpsrlvq xmm1, xmm2, xmm4
pshufb xmm1, xmm3
psllq xmm5, 3
xorps xmm1, xmm0
movd ecx, xmm1
vpsrlvq xmm1, xmm2, xmm5
pshufb xmm1, xmm3
mov word [rax], cx
movzx ecx, word [rax + 2]
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
vpsrlvq xmm1, xmm2, xmm6
movaps xmm6, xmmword [rsp]
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 4], cx
mov byte [rax + 6], 0
add rsp, 0x18
ret
movabs r8, 0x3d559f1b5179717b
nop word [rax + rax]
movzx ecx, r9b
mov rdx, r8
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 6
jb 0x180053110
movaps xmm6, xmmword [rsp]
mov byte [rax + 6], 0
add rsp, 0x18
ret