Function at 0x1800990e0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0xe], 0
mov rax, rcx
je 0x1800999b1
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 0x1800991d2
movzx ecx, word [rcx]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x1801685f0]
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, 0x7effff7e7eff7e7e
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 0x1800991e0
movzx r8d, byte [rax + 4]
xor byte [rax + 6], 0x7f
not r8b
movzx ecx, byte [rax + 2]
xor r8b, 0x1e
movzx edx, byte [rax + 6]
not cl
xor byte [rax], 0x8b
xor cl, 0xbd
xor byte [rax + 1], 0xbb
xor cl, 0xbb
xor byte [rax + 5], 0xdd
xor r8b, 0xab
xor byte [rax + 8], 0x98
xor dl, 0xfe
xor byte [rax + 9], 0xbb
xor dl, 0xbf
xor byte [rax + 0xa], 0x7e
xor byte [rax + 0xb], 0x28
xor byte [rax + 0xd], 0x5e
not byte [rax + 0xc]
movdqa xmm6, xmmword [0x180164bd0]
movdqa xmm7, xmmword [0x180164bc0]
mov byte [rax + 2], cl
movzx ecx, byte [rax + 3]
not cl
mov byte [rax + 4], r8b
xor cl, 0x60
mov byte [rax + 6], dl
mov byte [rax + 3], cl
mov r8, r9
movzx ecx, byte [rax + 7]
not cl
xor cl, 0x94
mov byte [rax + 7], cl
cmp r11d, 5
jl 0x18009932c
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016a830]
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, 0xbfdfdbdd9bbdbd9f
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 0x180099340
mov r10d, 0xe
mov rcx, rax
mov edx, r10d
nop dword [rax]
xor byte [rcx], 0xba
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x180099370
mov r8, r9
cmp r11d, 5
jl 0x18009942e
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180167b70]
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, 0x77ff7fff777fff7f
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 0x180099440
xor byte [rax], 0xfe
mov r8, r9
xor byte [rax + 1], 0xe7
xor byte [rax + 2], 0x7e
xor byte [rax + 3], 0xfe
xor byte [rax + 4], 0xe7
xor byte [rax + 5], 0x7e
xor byte [rax + 6], 0xfe
xor byte [rax + 7], 0xe7
xor byte [rax + 8], 0x7e
xor byte [rax + 9], 0xfe
xor byte [rax + 0xa], 0xe7
xor byte [rax + 0xb], 0x7e
xor byte [rax + 0xc], 0xfe
xor byte [rax + 0xd], 0xe7
cmp r11d, 5
jl 0x180099544
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016c410]
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, 0xf5775ffd7fffd7dd
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 0x180099550
movzx ecx, byte [rax + 2]
mov r8, r9
xor byte [rax], 0xb4
not cl
xor byte [rax + 1], 0xbf
xor cl, 0xa4
xor byte [rax + 3], 8
xor byte [rax + 4], 0x15
xor byte [rax + 5], 0xe8
xor byte [rax + 6], 0x3f
xor byte [rax + 7], 0x52
xor byte [rax + 9], 0xc0
xor byte [rax + 0xa], 0xad
xor byte [rax + 0xb], 0x6a
xor byte [rax + 0xc], 0x42
xor byte [rax + 0xd], 0xd8
mov byte [rax + 2], cl
movzx ecx, byte [rax + 8]
not cl
xor cl, 0x6f
mov byte [rax + 8], cl
cmp r11d, 5
jl 0x180099664
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180165770]
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, 0x351d955571bb7779
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 0x180099670
mov rbx, qword [rsp + 0x20]
mov rcx, rax
nop dword [rax]
nop dword [rax + rax]
xor byte [rcx], 0xf5
lea rcx, [rcx + 1]
sub r10, 1
jne 0x1800996a0
mov r8, r9
cmp r11d, 5
jl 0x18009975e
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180167490]
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, 0x756ccc5dde7ecf7f
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 0x180099770
xor byte [rax], 0xae
mov r8, r9
xor byte [rax + 1], 0xa2
xor byte [rax + 2], 0x2a
xor byte [rax + 3], 0xae
xor byte [rax + 4], 0xa2
xor byte [rax + 5], 0x2a
xor byte [rax + 6], 0xae
xor byte [rax + 7], 0xa2
xor byte [rax + 8], 0x2a
xor byte [rax + 9], 0xae
xor byte [rax + 0xa], 0xa2
xor byte [rax + 0xb], 0x2a
xor byte [rax + 0xc], 0xae
xor byte [rax + 0xd], 0xa2
cmp r11d, 5
jl 0x180099875
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180165930]
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, 0x39f6b7195f9adc39
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 0x180099880
xor byte [rax], 0xdc
xor byte [rax + 1], 0x53
xor byte [rax + 2], 0xe0
xor byte [rax + 3], 0x6e
xor byte [rax + 4], 0x59
xor byte [rax + 5], 6
xor byte [rax + 6], 0xe9
xor byte [rax + 7], 0xd5
xor byte [rax + 8], 0x9a
xor byte [rax + 9], 0xed
xor byte [rax + 0xa], 0xf3
xor byte [rax + 0xb], 0xfa
xor byte [rax + 0xc], 0x17
xor byte [rax + 0xd], 0x33
cmp r11d, 5
jl 0x180099972
movzx ecx, word [rax]
mov r9d, 8
movdqa xmm2, xmmword [0x180165b00]
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, 0x3ddf8569cb815b5f
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 0x180099990
mov byte [rax + 0xe], 0
add rsp, 0x28
ret