Function at 0x18009cea0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0xa], 0
mov rax, rcx
je 0x18009d89a
movdqa xmm3, xmmword [0x180164c10]
xor r11d, r11d
movdqa xmm4, xmmword [0x180164b70]
mov r8d, r11d
movdqa xmm5, xmmword [0x180164ba0]
mov qword [rsp + 0x20], rbx
mov ebx, dword [0x180182290]
movaps xmmword [rsp + 0x10], xmm6
movaps xmmword [rsp], xmm7
cmp ebx, 5
jl 0x18009cfb2
movzx ecx, word [rcx]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016d2e0]
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
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 4], cx
movzx ecx, word [rax + 6]
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 + 6], cx
movzx ecx, word [rax + 8]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 8], cx
jmp 0x18009cfdd
movabs r9, 0xfefe7e7ffeffff7f
nop dword [rax]
movzx ecx, r8b
mov rdx, r9
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 0xa
jb 0x18009cfc0
movzx r8d, byte [rax + 2]
xor byte [rax + 6], 0xdf
not r8b
xor byte [rax + 8], 0xdf
xor r8b, 0x9d
xor byte [rax + 4], 0x7f
xor r8b, 0xef
movzx ecx, byte [rax + 5]
movzx r9d, byte [rax + 6]
not cl
movzx r10d, byte [rax + 8]
xor cl, 0x75
movzx edx, byte [rax + 4]
xor r10b, 0x9d
xor byte [rax], 0x9e
xor dl, 0x9f
xor byte [rax + 1], 0xf8
xor r10b, 0xfa
xor byte [rax + 3], 0xdf
not r9b
xor byte [rax + 9], 0x6e
xor r9b, 0xbb
movdqa xmm6, xmmword [0x180164bd0]
not dl
movdqa xmm7, xmmword [0x180164bc0]
mov byte [rax + 5], cl
movzx ecx, byte [rax + 7]
not cl
mov byte [rax + 2], r8b
xor cl, 0x63
mov byte [rax + 4], dl
mov byte [rax + 6], r9b
mov r8, r11
mov byte [rax + 7], cl
mov byte [rax + 8], r10b
cmp ebx, 5
jl 0x18009d133
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016b720]
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, xmm7
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
movdqa xmm0, xmm6
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 4], cx
movzx ecx, word [rax + 6]
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 + 6], cx
movzx ecx, word [rax + 8]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 8], cx
jmp 0x18009d15d
movabs r9, 0xdbf99bfffffd99d9
nop dword [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, 0xa
jb 0x18009d140
xor byte [rax], 0x8b
mov r8, r11
xor byte [rax + 1], 0x8b
xor byte [rax + 2], 0x8b
xor byte [rax + 3], 0x8b
xor byte [rax + 4], 0x8b
xor byte [rax + 5], 0x8b
xor byte [rax + 6], 0x8b
xor byte [rax + 7], 0x8b
xor byte [rax + 8], 0x8b
xor byte [rax + 9], 0x8b
cmp ebx, 5
jl 0x18009d256
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180167810]
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
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 4], cx
movzx ecx, word [rax + 6]
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 + 6], cx
movzx ecx, word [rax + 8]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 8], cx
jmp 0x18009d27d
movabs r9, 0x777f7f77ffff7777
movzx ecx, r8b
mov rdx, r9
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 0xa
jb 0x18009d260
xor byte [rax], 0xfe
mov r8, r11
xor byte [rax + 1], 0x66
xor byte [rax + 2], 0x67
xor byte [rax + 3], 0xfe
xor byte [rax + 4], 0x66
xor byte [rax + 5], 0x67
xor byte [rax + 6], 0xfe
xor byte [rax + 7], 0x66
xor byte [rax + 8], 0x67
xor byte [rax + 9], 0xfe
cmp ebx, 5
jl 0x18009d376
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180166d80]
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
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 4], cx
movzx ecx, word [rax + 6]
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 + 6], cx
movzx ecx, word [rax + 8]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 8], cx
jmp 0x18009d39d
movabs r9, 0x5ff57775dd7ddddf
movzx ecx, r8b
mov rdx, r9
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 0xa
jb 0x18009d380
xor byte [rax + 2], 0x5e
xor byte [rax + 4], 0xcc
xor byte [rax + 6], 0x7c
xor byte [rax + 8], 0xc5
movzx r8d, byte [rax + 6]
movzx ecx, byte [rax + 2]
xor r8b, 0x3b
movzx edx, byte [rax + 4]
xor r8b, 0x6e
movzx r9d, byte [rax + 8]
xor cl, 0x7b
xor byte [rax], 0x14
xor dl, 0x7b
xor byte [rax + 1], 0x39
xor r9b, 0x7b
xor byte [rax + 3], 0x50
xor cl, 0x6a
xor byte [rax + 5], 0x58
xor dl, 0x76
xor byte [rax + 7], 6
xor r9b, 0x76
xor byte [rax + 9], 0xdd
mov byte [rax + 6], r8b
mov r8, r11
mov byte [rax + 2], cl
mov byte [rax + 4], dl
mov byte [rax + 8], r9b
cmp ebx, 5
jl 0x18009d4d2
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016daa0]
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, xmm7
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
movdqa xmm0, xmm6
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 4], cx
movzx ecx, word [rax + 6]
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 + 6], cx
movzx ecx, word [rax + 8]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 8], cx
jmp 0x18009d4fd
movabs r9, 0xffb1135bb3373593
nop dword [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, 0xa
jb 0x18009d4e0
xor byte [rax], 0xd8
mov r8, r11
xor byte [rax + 1], 0xd8
xor byte [rax + 2], 0xd8
xor byte [rax + 3], 0xd8
xor byte [rax + 4], 0xd8
xor byte [rax + 5], 0xd8
xor byte [rax + 6], 0xd8
xor byte [rax + 7], 0xd8
xor byte [rax + 8], 0xd8
xor byte [rax + 9], 0xd8
cmp ebx, 5
jl 0x18009d5f6
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180167e30]
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
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 4], cx
movzx ecx, word [rax + 6]
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 + 6], cx
movzx ecx, word [rax + 8]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 8], cx
jmp 0x18009d61d
movabs r9, 0x7b64dadbe851df44
movzx ecx, r8b
mov rdx, r9
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 0xa
jb 0x18009d600
xor byte [rax], 0x69
mov r8, r11
xor byte [rax + 1], 0xa5
xor byte [rax + 2], 0x69
xor byte [rax + 3], 0x69
xor byte [rax + 4], 0xa5
xor byte [rax + 5], 0x69
xor byte [rax + 6], 0x69
xor byte [rax + 7], 0xa5
xor byte [rax + 8], 0x69
xor byte [rax + 9], 0x69
cmp ebx, 5
jl 0x18009d716
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180165360]
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
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 4], cx
movzx ecx, word [rax + 6]
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 + 6], cx
movzx ecx, word [rax + 8]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 8], cx
jmp 0x18009d73d
movabs r9, 0x1db7fe5bb6911a90
movzx ecx, r8b
mov rdx, r9
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 0xa
jb 0x18009d720
xor byte [rax + 2], 0x5f
xor byte [rax + 6], 0xcf
xor byte [rax + 8], 0x7f
movzx edx, byte [rax + 2]
movzx ecx, byte [rax + 6]
xor dl, 0x17
movzx r9d, byte [rax + 8]
xor cl, 0xdf
xor byte [rax], 0x54
xor r9b, 0x17
xor byte [rax + 1], 0xbe
xor dl, 0x43
xor byte [rax + 3], 0xde
xor cl, 0xca
xor byte [rax + 4], 0xbe
xor r9b, 0xa7
xor byte [rax + 5], 0xda
xor byte [rax + 7], 0x2b
xor byte [rax + 9], 0x6a
cmp ebx, 5
mov byte [rax + 2], dl
mov rbx, qword [rsp + 0x20]
mov byte [rax + 6], cl
mov byte [rax + 8], r9b
jl 0x18009d863
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180169be0]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
psllq xmm7, 3
movd ecx, xmm1
psllq xmm6, 3
psllq xmm5, 3
mov word [rax], cx
movzx ecx, word [rax + 2]
vpsrlvq xmm1, xmm2, xmm5
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
psllq xmm4, 3
movd ecx, xmm1
vpsrlvq xmm1, xmm2, xmm7
movaps xmm7, xmmword [rsp]
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
vpsrlvq xmm1, xmm2, xmm6
movaps xmm6, xmmword [rsp + 0x10]
mov word [rax + 4], cx
movzx ecx, word [rax + 6]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
vpsrlvq xmm1, xmm2, xmm4
pshufb xmm1, xmm3
mov word [rax + 6], cx
movzx ecx, word [rax + 8]
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 8], cx
mov byte [rax + 0xa], 0
add rsp, 0x28
ret
movabs r8, 0xa197215bad45f141
nop dword [rax]
movzx ecx, r11b
mov rdx, r8
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r11], dl
inc r11
cmp r11, 0xa
jb 0x18009d870
movaps xmm7, xmmword [rsp]
movaps xmm6, xmmword [rsp + 0x10]
mov byte [rax + 0xa], 0
add rsp, 0x28
ret