Function at 0x18005abe0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x18
cmp byte [rcx + 6], 0
mov rax, rcx
je 0x18005b2d5
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 0x18005ac9a
movzx ecx, word [rcx]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016d4f0]
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 0x18005accd
movabs r11, 0xfeffffffff7fff7f
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 0x18005acb0
xor byte [rax + 2], 0x5f
xor byte [rax + 4], 0x7f
movzx r8d, byte [rax + 4]
movzx edx, byte [rax + 2]
xor r8b, 0x9e
xor byte [rax], 0x98
xor r8b, 0xae
xor byte [rax + 1], 0xec
xor dl, 0xbc
xor byte [rax + 3], 0x7b
xor dl, 0xab
xor byte [rax + 5], 0xa
movdqa xmm6, xmmword [0x180164bc0]
mov byte [rax + 4], r8b
mov r8, r9
mov byte [rax + 2], dl
cmp r10d, 5
jl 0x18005ad8d
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016a590]
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 0x18005adbd
movabs r11, 0xbd9db99bbff9f9d9
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 0x18005ada0
xor byte [rax], 0x9a
mov r8, r9
xor byte [rax + 1], 0x9a
xor byte [rax + 2], 0x9a
xor byte [rax + 3], 0x9a
xor byte [rax + 4], 0x9a
xor byte [rax + 5], 0x9a
cmp r10d, 5
jl 0x18005ae57
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180168e70]
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 0x18005ae8d
movabs r11, 0x7fff7f777f7777ff
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 0x18005ae70
xor byte [rax], 0xe6
mov r8, r9
xor byte [rax + 1], 0x6e
xor byte [rax + 2], 0xef
xor byte [rax + 3], 0xe6
xor byte [rax + 4], 0x6e
xor byte [rax + 5], 0xef
cmp r10d, 5
jl 0x18005af27
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180166d90]
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 0x18005af5d
movabs r11, 0x5ff755d5f77d7757
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 0x18005af40
xor byte [rax + 2], 0x54
mov r8, r9
xor byte [rax + 4], 0xf5
movzx ecx, byte [rax + 2]
movzx edx, byte [rax + 4]
not cl
xor byte [rax], 0xaa
xor cl, 0xa7
xor byte [rax + 1], 0xa7
xor dl, 0x7b
xor byte [rax + 5], 0x6f
xor dl, 0xbe
mov byte [rax + 2], cl
movzx ecx, byte [rax + 3]
not cl
mov byte [rax + 4], dl
xor cl, 0xa4
mov byte [rax + 3], cl
cmp r10d, 5
jl 0x18005b018
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180169f30]
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 0x18005b04d
movabs r11, 0xb51f7b99d71b9755
nop dword [rax]
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 0x18005b030
xor byte [rax], 0xb3
mov r8, r9
xor byte [rax + 1], 0xb3
xor byte [rax + 2], 0xb3
xor byte [rax + 3], 0xb3
xor byte [rax + 4], 0xb3
xor byte [rax + 5], 0xb3
cmp r10d, 5
jl 0x18005b0e7
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016cad0]
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 0x18005b11d
movabs r11, 0xf8f179c6f6d657c3
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 0x18005b100
xor byte [rax], 0xf7
mov r8, r9
xor byte [rax + 1], 0xa0
xor byte [rax + 2], 0x3a
xor byte [rax + 3], 0xf7
xor byte [rax + 4], 0xa0
xor byte [rax + 5], 0x3a
cmp r10d, 5
jl 0x18005b1b7
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180166b40]
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 0x18005b1ed
movabs r11, 0x5d965596783bf65a
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 0x18005b1d0
xor byte [rax + 2], 0xfc
xor byte [rax + 4], 0xcd
movzx ecx, byte [rax + 2]
movzx edx, byte [rax + 4]
xor cl, 0x3e
xor byte [rax], 0xb2
xor dl, 0x9d
xor byte [rax + 1], 0x7d
xor cl, 0x42
xor byte [rax + 3], 0xd
xor dl, 0xa3
xor byte [rax + 5], 0x64
mov byte [rax + 2], cl
mov byte [rax + 4], dl
cmp r10d, 5
jl 0x18005b29d
movzx ecx, word [rax]
movdqa xmm2, xmmword [0x180164c80]
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, 0x1b901cb3db53f77
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 0x18005b2b0
movaps xmm6, xmmword [rsp]
mov byte [rax + 6], 0
add rsp, 0x18
ret