Function at 0x18006eee0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x18
cmp byte [rcx + 6], 0
mov rax, rcx
je 0x18006f5d5
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 0x18006ef9a
movzx ecx, word [rcx]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016d900]
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 0x18006efcd
movabs r11, 0xff7f7ffffe7e7efe
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 0x18006efb0
movzx r8d, byte [rax + 4]
xor byte [rax + 2], 0xdf
not r8b
movzx edx, byte [rax + 2]
xor r8b, 0xfc
xor byte [rax], 0xc9
xor dl, 0xbe
xor byte [rax + 1], 0x9a
not r8b
xor byte [rax + 3], 0xea
xor dl, 0xfa
xor byte [rax + 5], 0x8c
movdqa xmm6, xmmword [0x180164bc0]
mov byte [rax + 4], r8b
mov r8, r9
mov byte [rax + 2], dl
cmp r10d, 5
jl 0x18006f08b
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x1801696f0]
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 0x18006f0bd
movabs r11, 0x9bbbfff9b9fd9b9d
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 0x18006f0a0
xor byte [rax], 0x9b
mov r8, r9
xor byte [rax + 1], 0x9b
xor byte [rax + 2], 0x9b
xor byte [rax + 3], 0x9b
xor byte [rax + 4], 0x9b
xor byte [rax + 5], 0x9b
cmp r10d, 5
jl 0x18006f157
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016c640]
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 0x18006f18d
movabs r11, 0xf77777f7fff7ff77
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 0x18006f170
xor byte [rax], 0x7f
mov r8, r9
xor byte [rax + 1], 0x66
xor byte [rax + 2], 0xef
xor byte [rax + 3], 0x7f
xor byte [rax + 4], 0x66
xor byte [rax + 5], 0xef
cmp r10d, 5
jl 0x18006f227
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180166750]
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 0x18006f25d
movabs r11, 0x577f77fdffd5fdf7
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 0x18006f240
xor byte [rax + 2], 0xd5
mov r8, r9
xor byte [rax + 4], 0x6f
movzx ecx, byte [rax + 2]
movzx edx, byte [rax + 4]
xor cl, 0xbb
xor byte [rax], 0x16
xor cl, 0x7e
xor byte [rax + 1], 0x35
xor dl, 0x7f
xor byte [rax + 3], 0x45
xor dl, 0xb6
mov byte [rax + 2], cl
movzx ecx, byte [rax + 5]
not cl
mov byte [rax + 4], dl
xor cl, 0x79
mov byte [rax + 5], cl
cmp r10d, 5
jl 0x18006f319
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180169300]
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 0x18006f34d
movabs r11, 0x93559f9d55f1bfb7
nop dword [rax]
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 0x18006f330
xor byte [rax], 0x93
mov r8, r9
xor byte [rax + 1], 0x93
xor byte [rax + 2], 0x93
xor byte [rax + 3], 0x93
xor byte [rax + 4], 0x93
xor byte [rax + 5], 0x93
cmp r10d, 5
jl 0x18006f3e7
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016bff0]
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 0x18006f41d
movabs r11, 0xeac54e73ef45fde4
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 0x18006f400
xor byte [rax], 0x3f
mov r8, r9
xor byte [rax + 1], 0xfe
xor byte [rax + 2], 0x63
xor byte [rax + 3], 0x3f
xor byte [rax + 4], 0xfe
xor byte [rax + 5], 0x63
cmp r10d, 5
jl 0x18006f4b7
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016a560]
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 0x18006f4ed
movabs r11, 0xbd9a7535fc98d61a
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 0x18006f4d0
xor byte [rax + 2], 0x88
xor byte [rax + 4], 0xbc
movzx ecx, byte [rax + 2]
movzx edx, byte [rax + 4]
xor cl, 0xbc
xor byte [rax], 0xfb
xor dl, 0x45
xor byte [rax + 1], 0x99
xor cl, 0x26
xor byte [rax + 3], 3
xor dl, 0xb7
xor byte [rax + 5], 0xda
mov byte [rax + 2], cl
mov byte [rax + 4], dl
cmp r10d, 5
jl 0x18006f59d
movzx ecx, word [rax]
movdqa xmm2, xmmword [0x180167d40]
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, 0x797dd5e317ed655b
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 0x18006f5b0
movaps xmm6, xmmword [rsp]
mov byte [rax + 6], 0
add rsp, 0x18
ret