Function at 0x1800a1170
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0xe], 0
mov rax, rcx
je 0x1800a1a51
mov r11d, dword [0x180182290]
xor r10d, r10d
movdqa xmm3, xmmword [0x180164c10]
mov r8d, r10d
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 0x1800a1262
movzx ecx, word [rcx]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016d820]
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 r9, 0xff7f7e7f7e7f7eff
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, 0xe
jb 0x1800a1270
movzx r8d, byte [rax + 6]
xor byte [rax + 2], 0xdf
not r8b
movzx ecx, byte [rax + 1]
xor r8b, 0x5c
movzx r9d, byte [rax + 4]
not cl
movzx edx, byte [rax + 2]
xor cl, 0x32
xor byte [rax], 0xad
xor r8b, 0xfb
xor byte [rax + 3], 0x6f
not r9b
xor byte [rax + 5], 0xa9
xor dl, 0x7c
xor byte [rax + 7], 0xad
xor r9b, 0x1f
xor byte [rax + 8], 0x4d
xor dl, 0xaa
xor byte [rax + 0xa], 0xae
xor r9b, 0xef
xor byte [rax + 0xc], 0x69
xor byte [rax + 0xd], 0xf8
movdqa xmm6, xmmword [0x180164bd0]
movdqa xmm7, xmmword [0x180164bc0]
mov byte [rax + 1], cl
movzx ecx, byte [rax + 9]
not cl
mov byte [rax + 6], r8b
xor cl, 0xf4
mov byte [rax + 2], dl
mov byte [rax + 9], cl
mov r8, r10
movzx ecx, byte [rax + 0xb]
not cl
mov byte [rax + 4], r9b
xor cl, 0xf3
mov byte [rax + 0xb], cl
cmp r11d, 5
jl 0x1800a13ca
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016db50]
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 r9, 0xffdd9dbdff99d9df
nop dword [rax]
nop dword [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, 0xe
jb 0x1800a13e0
mov r9d, 0xe
mov rcx, rax
mov edx, r9d
nop dword [rax]
xor byte [rcx], 0xeb
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1800a1410
mov r8, r10
cmp r11d, 5
jl 0x1800a14ce
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016c800]
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, 0xf77ff7ff77ff777f
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, r9
jb 0x1800a14e0
xor byte [rax], 0x6e
mov r8, r10
xor byte [rax + 1], 0xe6
xor byte [rax + 2], 0xe6
xor byte [rax + 3], 0x6e
xor byte [rax + 4], 0xe6
xor byte [rax + 5], 0xe6
xor byte [rax + 6], 0x6e
xor byte [rax + 7], 0xe6
xor byte [rax + 8], 0xe6
xor byte [rax + 9], 0x6e
xor byte [rax + 0xa], 0xe6
xor byte [rax + 0xb], 0xe6
xor byte [rax + 0xc], 0x6e
xor byte [rax + 0xd], 0xe6
cmp r11d, 5
jl 0x1800a15e4
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180168050]
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, 0x7d75fdf5f57ff57f
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, r9
jb 0x1800a15f0
movzx ecx, byte [rax + 3]
mov r8, r10
xor byte [rax], 0x30
not cl
xor byte [rax + 1], 0xed
xor cl, 0x5b
xor byte [rax + 2], 0x57
xor byte [rax + 4], 0x9e
xor byte [rax + 5], 0x34
xor byte [rax + 6], 0x39
xor byte [rax + 7], 0xc2
xor byte [rax + 8], 0xb8
xor byte [rax + 0xa], 0xb9
xor byte [rax + 0xb], 0xa5
xor byte [rax + 0xc], 0xce
xor byte [rax + 0xd], 0x60
mov byte [rax + 3], cl
movzx ecx, byte [rax + 9]
not cl
xor cl, 0x69
mov byte [rax + 9], cl
cmp r11d, 5
jl 0x1800a1704
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180167900]
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, 0x7799b13f591b59d3
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, r9
jb 0x1800a1710
mov rbx, qword [rsp + 0x20]
mov rcx, rax
nop dword [rax]
nop dword [rax + rax]
xor byte [rcx], 0x82
lea rcx, [rcx + 1]
sub r9, 1
jne 0x1800a1740
mov r8, r10
cmp r11d, 5
jl 0x1800a17fe
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x1801668f0]
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 r9, 0x596a74cc75f5eed0
nop dword [rax + rax]
movzx ecx, r8b
mov rdx, r9
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [r8 + rax], dl
inc r8
cmp r8, 0xe
jb 0x1800a1810
xor byte [rax], 0x74
mov r8, r10
xor byte [rax + 1], 0xe2
xor byte [rax + 2], 0x6a
xor byte [rax + 3], 0x74
xor byte [rax + 4], 0xe2
xor byte [rax + 5], 0x6a
xor byte [rax + 6], 0x74
xor byte [rax + 7], 0xe2
xor byte [rax + 8], 0x6a
xor byte [rax + 9], 0x74
xor byte [rax + 0xa], 0xe2
xor byte [rax + 0xb], 0x6a
xor byte [rax + 0xc], 0x74
xor byte [rax + 0xd], 0xe2
cmp r11d, 5
jl 0x1800a1915
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180167ea0]
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 r9, 0x7bdd3b37debb1ddc
nop
movzx ecx, r8b
mov rdx, r9
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [r8 + rax], dl
inc r8
cmp r8, 0xe
jb 0x1800a1920
xor byte [rax], 0x57
xor byte [rax + 1], 0x9e
xor byte [rax + 2], 0x65
xor byte [rax + 3], 0xe7
xor byte [rax + 4], 0x6a
xor byte [rax + 5], 0x27
xor byte [rax + 6], 0x10
xor byte [rax + 7], 0x4a
xor byte [rax + 8], 0xa4
xor byte [rax + 9], 0x46
xor byte [rax + 0xa], 0x81
xor byte [rax + 0xb], 0xd8
xor byte [rax + 0xc], 1
xor byte [rax + 0xd], 0xfa
cmp r11d, 5
jl 0x1800a1a12
movzx ecx, word [rax]
mov r10d, 8
movdqa xmm2, xmmword [0x18016a150]
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, 0xb9a305ab99cb5937
movaps xmm6, xmmword [rsp + 0x10]
nop word [rax + rax]
movzx ecx, r10b
mov rdx, r8
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [r10 + rax], dl
inc r10
cmp r10, 0xe
jb 0x1800a1a30
mov byte [rax + 0xe], 0
add rsp, 0x28
ret