Function at 0x18009b050
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0xf], 0
mov rax, rcx
je 0x18009b951
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 0x18009b142
movzx ecx, word [rcx]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016d4c0]
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, 0xfeffffff7efe7e7e
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 0x18009b150
xor byte [rax + 4], 0xdf
xor byte [rax + 6], 0x7f
movzx r8d, byte [rax + 6]
movzx ecx, byte [rax + 4]
not r8b
movzx edx, byte [rax + 2]
xor cl, 0x3e
xor byte [rax], 0xaf
not cl
xor byte [rax + 1], 0xb
xor r8b, 0xaf
xor byte [rax + 3], 0x4b
not dl
xor byte [rax + 8], 0x69
xor dl, 0xdd
xor byte [rax + 9], 0x8e
xor dl, 0xef
xor byte [rax + 0xc], 0xab
xor byte [rax + 0xd], 0x6f
xor byte [rax + 0xe], 0xad
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, 0xf5
mov byte [rax + 2], dl
mov byte [rax + 5], cl
mov r8, r9
movzx ecx, byte [rax + 7]
not cl
xor cl, 0x30
mov byte [rax + 7], cl
movzx ecx, byte [rax + 0xa]
not cl
xor cl, 0x94
mov byte [rax + 0xa], cl
movzx ecx, byte [rax + 0xb]
not cl
xor cl, 0x21
mov byte [rax + 0xb], cl
cmp r11d, 5
jl 0x18009b2b0
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180169ac0]
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, 0x9fbfdff99bd99fdf
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, 0xf
jb 0x18009b2c0
mov r10d, 0xf
mov rcx, rax
mov edx, r10d
nop dword [rax]
xor byte [rcx], 0x9d
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x18009b2f0
mov r8, r9
cmp r11d, 5
jl 0x18009b3ae
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016c9b0]
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, 0xf7ff7ff7f777f777
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 0x18009b3c0
xor byte [rax], 0xef
mov r8, r9
xor byte [rax + 1], 0x77
xor byte [rax + 2], 0xf6
xor byte [rax + 3], 0xef
xor byte [rax + 4], 0x77
xor byte [rax + 5], 0xf6
xor byte [rax + 6], 0xef
xor byte [rax + 7], 0x77
xor byte [rax + 8], 0xf6
xor byte [rax + 9], 0xef
xor byte [rax + 0xa], 0x77
xor byte [rax + 0xb], 0xf6
xor byte [rax + 0xc], 0xef
xor byte [rax + 0xd], 0x77
xor byte [rax + 0xe], 0xf6
cmp r11d, 5
jl 0x18009b4c8
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180166800]
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, 0x57f7577577ff7df5
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 0x18009b4e0
xor byte [rax], 0x22
mov r8, r9
xor byte [rax + 1], 0xb2
xor byte [rax + 2], 0x58
xor byte [rax + 3], 0xb2
xor byte [rax + 4], 0xa8
xor byte [rax + 5], 0xbf
xor byte [rax + 6], 0x2b
xor byte [rax + 7], 0x1d
xor byte [rax + 8], 0xfa
xor byte [rax + 9], 0xb5
xor byte [rax + 0xa], 0x6a
xor byte [rax + 0xb], 0xe2
xor byte [rax + 0xc], 0x84
xor byte [rax + 0xd], 0x2f
xor byte [rax + 0xe], 0xf4
cmp r11d, 5
jl 0x18009b5e8
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016a020]
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, 0xb71ddf9f75d59b93
nop dword [rax]
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 0x18009b600
mov rbx, qword [rsp + 0x20]
mov rcx, rax
nop dword [rax]
nop dword [rax + rax]
xor byte [rcx], 0x8b
lea rcx, [rcx + 1]
sub r10, 1
jne 0x18009b630
mov r8, r9
cmp r11d, 5
jl 0x18009b6ee
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180168a90]
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, 0x7fc15c6dd1cd4057
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 0x18009b700
xor byte [rax], 0xfe
mov r8, r9
xor byte [rax + 1], 0xa8
xor byte [rax + 2], 0x6e
xor byte [rax + 3], 0xfe
xor byte [rax + 4], 0xa8
xor byte [rax + 5], 0x6e
xor byte [rax + 6], 0xfe
xor byte [rax + 7], 0xa8
xor byte [rax + 8], 0x6e
xor byte [rax + 9], 0xfe
xor byte [rax + 0xa], 0xa8
xor byte [rax + 0xb], 0x6e
xor byte [rax + 0xc], 0xfe
xor byte [rax + 0xd], 0xa8
xor byte [rax + 0xe], 0x6e
cmp r11d, 5
jl 0x18009b809
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180169250]
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, 0x90ff59339e9cd07b
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 0x18009b820
xor byte [rax], 0x3b
xor byte [rax + 1], 0x7a
xor byte [rax + 2], 0xbb
xor byte [rax + 3], 0x7c
xor byte [rax + 4], 0xe
xor byte [rax + 5], 0xa
xor byte [rax + 6], 0x5f
xor byte [rax + 7], 0x61
xor byte [rax + 8], 0x9f
xor byte [rax + 9], 0x23
xor byte [rax + 0xa], 0x8f
xor byte [rax + 0xb], 0x6a
xor byte [rax + 0xc], 0x49
xor byte [rax + 0xd], 0xe0
xor byte [rax + 0xe], 0x50
cmp r11d, 5
jl 0x18009b916
movzx ecx, word [rax]
mov r9d, 8
movdqa xmm2, xmmword [0x1801698e0]
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, 0x9df7e93b59413f9d
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 0x18009b930
mov byte [rax + 0xf], 0
add rsp, 0x28
ret