Function at 0x18009c5d0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0xe], 0
mov rax, rcx
je 0x18009ce91
mov r11d, dword [0x180182290]
xor r9d, r9d
movdqa xmm3, xmmword [0x180164c10]
mov r8d, r9d
movdqa xmm5, xmmword [0x180164ba0]
movdqa xmm4, xmmword [0x180164b70]
mov qword [rsp + 0x20], rbx
movaps xmmword [rsp + 0x10], xmm6
movaps xmmword [rsp], xmm7
cmp r11d, 5
jl 0x18009c6c2
movzx ecx, word [rcx]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016d2e0]
mov r8d, 8
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
movd ecx, xmm1
mov word [rax + 6], cx
movabs r10, 0xfefe7e7ffeffff7f
nop dword [rax]
movzx ecx, r8b
mov rdx, r10
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 0xe
jb 0x18009c6d0
xor byte [rax + 4], 0x7f
xor byte [rax + 6], 0xdf
movzx r8d, byte [rax + 6]
movzx ecx, byte [rax + 4]
not r8b
movzx edx, byte [rax + 2]
xor cl, 0x9f
xor byte [rax], 0x9e
not cl
xor byte [rax + 1], 0xf8
xor r8b, 0xbb
xor byte [rax + 3], 0xdf
not dl
xor byte [rax + 8], 0xb8
xor dl, 0x9d
xor byte [rax + 9], 0x6e
xor dl, 0xef
xor byte [rax + 0xa], 0xbe
xor byte [rax + 0xb], 0xdf
xor byte [rax + 0xc], 0xaa
xor byte [rax + 0xd], 0xb9
movdqa xmm6, xmmword [0x180164bd0]
movdqa xmm7, xmmword [0x180164bc0]
mov byte [rax + 4], cl
movzx ecx, byte [rax + 5]
not cl
mov byte [rax + 6], r8b
xor cl, 0x75
mov byte [rax + 2], dl
mov byte [rax + 5], cl
mov r8, r9
movzx ecx, byte [rax + 7]
not cl
xor cl, 0x63
mov byte [rax + 7], cl
cmp r11d, 5
jl 0x18009c81c
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016b720]
mov r8d, 8
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
movd ecx, xmm1
mov word [rax + 6], cx
movabs r10, 0xdbf99bfffffd99d9
nop word [rax + rax]
movzx ecx, r8b
mov rdx, r10
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 0xe
jb 0x18009c830
mov r10d, 0xe
mov rcx, rax
mov edx, r10d
nop dword [rax]
xor byte [rcx], 0x8b
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x18009c860
mov r8, r9
cmp r11d, 5
jl 0x18009c91e
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180167810]
mov r8d, 8
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
movd ecx, xmm1
mov word [rax + 6], cx
movabs rbx, 0x777f7f77ffff7777
nop dword [rax + rax]
movzx ecx, r8b
mov rdx, rbx
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, r10
jb 0x18009c930
xor byte [rax], 0xfe
mov r8, r9
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
xor byte [rax + 0xa], 0x66
xor byte [rax + 0xb], 0x67
xor byte [rax + 0xc], 0xfe
xor byte [rax + 0xd], 0x66
cmp r11d, 5
jl 0x18009ca34
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180166d80]
mov r8d, 8
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
movd ecx, xmm1
mov word [rax + 6], cx
movabs rbx, 0x5ff57775dd7ddddf
nop
movzx ecx, r8b
mov rdx, rbx
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, r10
jb 0x18009ca40
xor byte [rax], 0x14
mov r8, r9
xor byte [rax + 1], 0x39
xor byte [rax + 2], 0x4f
xor byte [rax + 3], 0x50
xor byte [rax + 4], 0xc1
xor byte [rax + 5], 0x58
xor byte [rax + 6], 0x29
xor byte [rax + 7], 6
xor byte [rax + 8], 0xc8
xor byte [rax + 9], 0xdd
xor byte [rax + 0xa], 0xd1
xor byte [rax + 0xb], 0xb5
xor byte [rax + 0xc], 0xc6
xor byte [rax + 0xd], 0x98
cmp r11d, 5
jl 0x18009cb44
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016daa0]
mov r8d, 8
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
movd ecx, xmm1
mov word [rax + 6], cx
movabs rbx, 0xffb1135bb3373593
nop
movzx ecx, r8b
mov rdx, rbx
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, r10
jb 0x18009cb50
mov rbx, qword [rsp + 0x20]
mov rcx, rax
nop dword [rax]
nop dword [rax + rax]
xor byte [rcx], 0xd8
lea rcx, [rcx + 1]
sub r10, 1
jne 0x18009cb80
mov r8, r9
cmp r11d, 5
jl 0x18009cc3e
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180167e30]
mov r8d, 8
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
movd ecx, xmm1
mov word [rax + 6], cx
movabs r10, 0x7b64dadbe851df44
nop dword [rax + rax]
movzx ecx, r8b
mov rdx, r10
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [r8 + rax], dl
inc r8
cmp r8, 0xe
jb 0x18009cc50
xor byte [rax], 0x69
mov r8, r9
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
xor byte [rax + 0xa], 0xa5
xor byte [rax + 0xb], 0x69
xor byte [rax + 0xc], 0x69
xor byte [rax + 0xd], 0xa5
cmp r11d, 5
jl 0x18009cd55
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180165360]
mov r8d, 8
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
movd ecx, xmm1
mov word [rax + 6], cx
movabs r10, 0x1db7fe5bb6911a90
nop
movzx ecx, r8b
mov rdx, r10
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [r8 + rax], dl
inc r8
cmp r8, 0xe
jb 0x18009cd60
xor byte [rax], 0x54
xor byte [rax + 1], 0xbe
xor byte [rax + 2], 0xb
xor byte [rax + 3], 0xde
xor byte [rax + 4], 0xbe
xor byte [rax + 5], 0xda
xor byte [rax + 6], 0xda
xor byte [rax + 7], 0x2b
xor byte [rax + 8], 0xcf
xor byte [rax + 9], 0x6a
xor byte [rax + 0xa], 0xa1
xor byte [rax + 0xb], 0x95
xor byte [rax + 0xc], 0x97
xor byte [rax + 0xd], 0x63
cmp r11d, 5
jl 0x18009ce52
movzx ecx, word [rax]
mov r9d, 8
movdqa xmm2, xmmword [0x180169be0]
psllq xmm4, 3
vpsrlvq xmm1, xmm2, xmm4
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
psllq xmm5, 3
movd ecx, xmm1
vpsrlvq xmm1, xmm2, xmm5
pshufb xmm1, xmm3
mov word [rax], cx
movzx ecx, word [rax + 2]
psllq xmm7, 3
psllq xmm6, 3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
vpsrlvq xmm1, xmm2, xmm7
pshufb xmm1, xmm3
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
vpsrlvq xmm1, xmm2, xmm6
pshufb xmm1, xmm3
mov word [rax + 4], cx
movzx ecx, word [rax + 6]
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 6], cx
movaps xmm7, xmmword [rsp]
movabs r8, 0xa197215bad45f141
movaps xmm6, xmmword [rsp + 0x10]
nop word [rax + rax]
movzx ecx, r9b
mov rdx, r8
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [r9 + rax], dl
inc r9
cmp r9, 0xe
jb 0x18009ce70
mov byte [rax + 0xe], 0
add rsp, 0x28
ret