Function at 0x18005ce90
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x18
cmp byte [rcx + 6], 0
mov rax, rcx
je 0x18005d585
mov r10d, dword [0x180182290]
xor r9d, r9d
movdqa xmm3, xmmword [0x180164c10]
mov r8d, r9d
movdqa xmm5, xmmword [0x180164ba0]
movdqa xmm4, xmmword [0x180164b70]
movaps xmmword [rsp], xmm6
cmp r10d, 5
jl 0x18005cf4a
movzx ecx, word [rcx]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180168820]
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
movd ecx, xmm1
mov word [rax + 4], cx
jmp 0x18005cf7d
movabs r11, 0x7f7efeff7efffe7e
nop dword [rax]
nop dword [rax + rax]
movzx ecx, r8b
mov rdx, r11
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 6
jb 0x18005cf60
xor byte [rax + 2], 0x7f
xor byte [rax + 4], 0x7f
movzx r8d, byte [rax + 4]
movzx ecx, byte [rax + 1]
xor r8b, 0xdf
movzx edx, byte [rax + 2]
not cl
xor byte [rax], 0x7e
xor cl, 0x13
xor byte [rax + 5], 9
xor r8b, 0xea
movdqa xmm6, xmmword [0x180164bc0]
xor dl, 0x1e
mov byte [rax + 1], cl
xor dl, 0xba
movzx ecx, byte [rax + 3]
not cl
mov byte [rax + 4], r8b
xor cl, 0xb1
mov byte [rax + 2], dl
mov byte [rax + 3], cl
mov r8, r9
cmp r10d, 5
jl 0x18005d04d
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016a100]
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, xmm6
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
movd ecx, xmm1
mov word [rax + 4], cx
jmp 0x18005d07d
movabs r11, 0xb999d9bdfdbbffdb
nop word [rax + rax]
movzx ecx, r8b
mov rdx, r11
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 6
jb 0x18005d060
xor byte [rax], 0xfd
mov r8, r9
xor byte [rax + 1], 0xfd
xor byte [rax + 2], 0xfd
xor byte [rax + 3], 0xfd
xor byte [rax + 4], 0xfd
xor byte [rax + 5], 0xfd
cmp r10d, 5
jl 0x18005d117
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180168bd0]
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
movd ecx, xmm1
mov word [rax + 4], cx
jmp 0x18005d14d
movabs r11, 0x7ff7f7f7f77f7f77
nop dword [rax]
nop word [rax + rax]
movzx ecx, r8b
mov rdx, r11
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 6
jb 0x18005d130
xor byte [rax], 0x66
mov r8, r9
xor byte [rax + 1], 0x67
xor byte [rax + 2], 0x66
xor byte [rax + 3], 0x66
xor byte [rax + 4], 0x67
xor byte [rax + 5], 0x66
cmp r10d, 5
jl 0x18005d1e7
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016bc80]
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
movd ecx, xmm1
mov word [rax + 4], cx
jmp 0x18005d21d
movabs r11, 0xdfdd7dfd5f75555d
nop dword [rax]
nop word [rax + rax]
movzx ecx, r8b
mov rdx, r11
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 6
jb 0x18005d200
xor byte [rax + 2], 0x4d
mov r8, r9
xor byte [rax + 4], 0x65
movzx ecx, byte [rax + 2]
movzx edx, byte [rax + 4]
xor cl, 0xbf
xor byte [rax], 0xbb
xor dl, 0x37
xor byte [rax + 1], 0x9d
xor cl, 0x3f
xor byte [rax + 3], 0x8c
xor dl, 0x3e
xor byte [rax + 5], 0xa7
mov byte [rax + 2], cl
mov byte [rax + 4], dl
cmp r10d, 5
jl 0x18005d2d1
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x1801664b0]
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, xmm6
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
movd ecx, xmm1
mov word [rax + 4], cx
jmp 0x18005d2fd
movabs r11, 0x551fd715d7f591f5
nop dword [rax + rax]
movzx ecx, r8b
mov rdx, r11
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 6
jb 0x18005d2e0
xor byte [rax], 0x99
mov r8, r9
xor byte [rax + 1], 0x99
xor byte [rax + 2], 0x99
xor byte [rax + 3], 0x99
xor byte [rax + 4], 0x99
xor byte [rax + 5], 0x99
cmp r10d, 5
jl 0x18005d397
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016ce20]
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
movd ecx, xmm1
mov word [rax + 4], cx
jmp 0x18005d3cd
movabs r11, 0xfc5e45f467d7d9fd
nop dword [rax]
nop word [rax + rax]
movzx ecx, r8b
mov rdx, r11
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 6
jb 0x18005d3b0
xor byte [rax], 0x30
mov r8, r9
xor byte [rax + 1], 0xbb
xor byte [rax + 2], 0x6f
xor byte [rax + 3], 0x30
xor byte [rax + 4], 0xbb
xor byte [rax + 5], 0x6f
cmp r10d, 5
jl 0x18005d467
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180165ba0]
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
movd ecx, xmm1
mov word [rax + 4], cx
jmp 0x18005d49d
movabs r11, 0x3eddfeb913de1f33
nop dword [rax]
nop word [rax + rax]
movzx ecx, r8b
mov rdx, r11
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 6
jb 0x18005d480
xor byte [rax + 2], 8
xor byte [rax + 4], 0x9b
movzx ecx, byte [rax + 2]
movzx edx, byte [rax + 4]
xor cl, 0x2c
xor byte [rax], 0xd1
xor dl, 0x6e
xor byte [rax + 1], 0xd4
xor cl, 0x83
xor byte [rax + 3], 0x7d
xor dl, 0x6b
xor byte [rax + 5], 9
mov byte [rax + 2], cl
mov byte [rax + 4], dl
cmp r10d, 5
jl 0x18005d54d
movzx ecx, word [rax]
movdqa xmm2, xmmword [0x180166f10]
psllq xmm6, 3
psllq xmm4, 3
movd xmm0, ecx
vpsrlvq xmm1, xmm2, xmm4
pshufb xmm1, xmm3
psllq xmm5, 3
xorps xmm1, xmm0
movd ecx, xmm1
vpsrlvq xmm1, xmm2, xmm5
pshufb xmm1, xmm3
mov word [rax], cx
movzx ecx, word [rax + 2]
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
vpsrlvq xmm1, xmm2, xmm6
movaps xmm6, xmmword [rsp]
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 4], cx
mov byte [rax + 6], 0
add rsp, 0x18
ret
movabs r8, 0x67f7a945730d6b67
nop word [rax + 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, 6
jb 0x18005d560
movaps xmm6, xmmword [rsp]
mov byte [rax + 6], 0
add rsp, 0x18
ret