Function at 0x1800ba350
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0xf], 0
mov rax, rcx
je 0x1800bac71
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 0x1800ba442
movzx ecx, word [rcx]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x1801681c0]
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, 0x7e7e7e7e7f7e7f7e
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, 0xf
jb 0x1800ba450
xor byte [rax + 2], 0x5f
xor byte [rax + 4], 0x5f
xor byte [rax + 6], 0x7f
movzx r8d, byte [rax + 6]
movzx ecx, byte [rax + 2]
xor r8b, 0x9e
movzx edx, byte [rax + 4]
xor cl, 0xbe
xor byte [rax], 0xbf
xor cl, 0xfa
xor byte [rax + 1], 0x7f
xor r8b, 0xef
xor byte [rax + 5], 0x38
xor dl, 0xbd
xor byte [rax + 8], 0xbe
xor dl, 0xea
xor byte [rax + 9], 0x9a
xor byte [rax + 0xa], 0x9c
xor byte [rax + 0xb], 0xc8
xor byte [rax + 0xc], 0x7b
xor byte [rax + 0xd], 0xef
xor byte [rax + 0xe], 0x1f
movdqa xmm6, xmmword [0x180164bd0]
movdqa xmm7, xmmword [0x180164bc0]
mov byte [rax + 2], cl
movzx ecx, byte [rax + 3]
not cl
mov byte [rax + 6], r8b
xor cl, 0xc1
mov byte [rax + 4], dl
mov byte [rax + 3], cl
mov r8, r9
movzx ecx, byte [rax + 7]
not cl
xor cl, 0xa1
mov byte [rax + 7], cl
cmp r11d, 5
jl 0x1800ba5a4
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016df20]
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, 0xffffb99fbbd9bfdb
nop
movzx ecx, r8b
mov rdx, r10
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 0xf
jb 0x1800ba5b0
mov r10d, 0xf
mov rcx, rax
mov edx, r10d
nop dword [rax]
xor byte [rcx], 0xd8
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1800ba5e0
mov r8, r9
cmp r11d, 5
jl 0x1800ba69e
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180167bc0]
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, 0x77fff7f7f7f77fff
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 0x1800ba6b0
xor byte [rax], 0x77
mov r8, r9
xor byte [rax + 1], 0xe6
xor byte [rax + 2], 0x67
xor byte [rax + 3], 0x77
xor byte [rax + 4], 0xe6
xor byte [rax + 5], 0x67
xor byte [rax + 6], 0x77
xor byte [rax + 7], 0xe6
xor byte [rax + 8], 0x67
xor byte [rax + 9], 0x77
xor byte [rax + 0xa], 0xe6
xor byte [rax + 0xb], 0x67
xor byte [rax + 0xc], 0x77
xor byte [rax + 0xd], 0xe6
xor byte [rax + 0xe], 0x67
cmp r11d, 5
jl 0x1800ba7b8
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016df30]
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, 0xffffdddfdf5d575f
nop dword [rax]
nop word [rax + rax]
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 0x1800ba7d0
movzx ecx, byte [rax + 2]
mov r8, r9
xor byte [rax], 0x47
not cl
xor byte [rax + 1], 0xfe
xor cl, 0xd8
xor byte [rax + 3], 0xa1
xor byte [rax + 4], 0x7d
xor byte [rax + 6], 0xaa
xor byte [rax + 8], 0xbc
xor byte [rax + 9], 0xad
xor byte [rax + 0xa], 0x93
xor byte [rax + 0xd], 0x6c
xor byte [rax + 0xe], 0x61
mov byte [rax + 2], cl
movzx ecx, byte [rax + 5]
not cl
xor cl, 0xf8
mov byte [rax + 5], cl
movzx ecx, byte [rax + 7]
not cl
xor cl, 0xdc
mov byte [rax + 7], cl
movzx ecx, byte [rax + 0xb]
not cl
xor cl, 0xdc
mov byte [rax + 0xb], cl
movzx ecx, byte [rax + 0xc]
not cl
xor cl, 0x18
mov byte [rax + 0xc], cl
cmp r11d, 5
jl 0x1800ba900
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x1801653d0]
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, 0x1f99b1395ff3d5ff
nop word [rax + rax]
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 0x1800ba910
mov rbx, qword [rsp + 0x20]
mov rcx, rax
nop dword [rax]
nop dword [rax + rax]
xor byte [rcx], 0xa0
lea rcx, [rcx + 1]
sub r10, 1
jne 0x1800ba940
mov r8, r9
cmp r11d, 5
jl 0x1800ba9fe
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016ca50]
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, 0xf859fde5c6cdfc4f
nop dword [rax + rax]
movzx ecx, r8b
mov rdx, r10
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 0xf
jb 0x1800baa10
xor byte [rax], 0x7d
mov r8, r9
xor byte [rax + 1], 0xbe
xor byte [rax + 2], 0x61
xor byte [rax + 3], 0x7d
xor byte [rax + 4], 0xbe
xor byte [rax + 5], 0x61
xor byte [rax + 6], 0x7d
xor byte [rax + 7], 0xbe
xor byte [rax + 8], 0x61
xor byte [rax + 9], 0x7d
xor byte [rax + 0xa], 0xbe
xor byte [rax + 0xb], 0x61
xor byte [rax + 0xc], 0x7d
xor byte [rax + 0xd], 0xbe
xor byte [rax + 0xe], 0x61
cmp r11d, 5
jl 0x1800bab19
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180166460]
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, 0x54717555dff0fafb
nop dword [rax]
nop word [rax + 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, 0xf
jb 0x1800bab30
movzx ecx, byte [rax + 5]
xor byte [rax], 0x7a
not cl
xor byte [rax + 1], 0xda
xor cl, 0xb6
xor byte [rax + 2], 0xe3
xor byte [rax + 3], 0xeb
xor byte [rax + 4], 0x28
xor byte [rax + 6], 0x2c
xor byte [rax + 7], 0xf3
xor byte [rax + 8], 0x40
xor byte [rax + 9], 0xaa
xor byte [rax + 0xb], 0xd7
xor byte [rax + 0xc], 0xa8
xor byte [rax + 0xd], 0x75
xor byte [rax + 0xe], 0xf9
mov byte [rax + 5], cl
movzx ecx, byte [rax + 0xa]
not cl
xor cl, 0x72
mov byte [rax + 0xa], cl
cmp r11d, 5
jl 0x1800bac36
movzx ecx, word [rax]
mov r9d, 8
movdqa xmm2, xmmword [0x180165f20]
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, 0x431f6d33c107ed37
movaps xmm6, xmmword [rsp + 0x10]
nop dword [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, 0xf
jb 0x1800bac50
mov byte [rax + 0xf], 0
add rsp, 0x28
ret