Function at 0x18005f170
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 8], 0
mov rax, rcx
je 0x18005fa2a
mov r11d, dword [0x180182290]
xor r10d, r10d
movdqa xmm3, xmmword [0x180164c10]
mov r8d, r10d
movdqa xmm5, xmmword [0x180164ba0]
movdqa xmm4, xmmword [0x180164b70]
movaps xmmword [rsp + 0x10], xmm6
movaps xmmword [rsp], xmm7
cmp r11d, 5
jl 0x18005f259
movzx ecx, word [rcx]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016d0f0]
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
jmp 0x18005f28d
movabs r9, 0xfe7e7e7efe7efeff
nop dword [rax]
nop word [rax + rax]
movzx ecx, r8b
mov rdx, r9
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 8
jb 0x18005f270
xor byte [rax + 4], 0x7f
xor byte [rax + 6], 0x5f
movzx r8d, byte [rax + 4]
movzx ecx, byte [rax + 1]
xor r8b, 0xdc
movzx edx, byte [rax + 2]
not cl
movzx r9d, byte [rax + 6]
xor cl, 0x62
xor byte [rax], 0x8d
xor r8b, 0xae
xor byte [rax + 5], 0x7f
not dl
movdqa xmm6, xmmword [0x180164bd0]
xor dl, 0x9d
movdqa xmm7, xmmword [0x180164bc0]
xor r9b, 0x7d
mov byte [rax + 1], cl
xor dl, 0xba
movzx ecx, byte [rax + 3]
xor r9b, 0xba
not cl
mov byte [rax + 4], r8b
xor cl, 0x16
mov byte [rax + 2], dl
mov byte [rax + 3], cl
mov r8, r10
movzx ecx, byte [rax + 7]
not cl
mov byte [rax + 6], r9b
xor cl, 0x92
mov byte [rax + 7], cl
cmp r11d, 5
jl 0x18005f3ae
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016a450]
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
jmp 0x18005f3dd
movabs r9, 0xbbdddbddf9dbbbbb
nop dword [rax + rax]
movzx ecx, r8b
mov rdx, r9
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 8
jb 0x18005f3c0
xor byte [rax], 0xdc
mov r8, r10
xor byte [rax + 1], 0xdc
xor byte [rax + 2], 0xdc
xor byte [rax + 3], 0xdc
xor byte [rax + 4], 0xdc
xor byte [rax + 5], 0xdc
xor byte [rax + 6], 0xdc
xor byte [rax + 7], 0xdc
cmp r11d, 5
jl 0x18005f4a9
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016df70]
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
jmp 0x18005f4dd
movabs r9, 0xfffff77ffffffff7
nop dword [rax]
nop word [rax + rax]
movzx ecx, r8b
mov rdx, r9
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 8
jb 0x18005f4c0
xor byte [rax], 0xef
mov r8, r10
xor byte [rax + 1], 0x66
xor byte [rax + 2], 0x6e
xor byte [rax + 3], 0xef
xor byte [rax + 4], 0x66
xor byte [rax + 5], 0x6e
xor byte [rax + 6], 0xef
xor byte [rax + 7], 0x66
cmp r11d, 5
jl 0x18005f5a9
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016c4c0]
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
jmp 0x18005f5dd
movabs r9, 0xf5dddf77f55df57d
nop dword [rax]
nop word [rax + rax]
movzx ecx, r8b
mov rdx, r9
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 8
jb 0x18005f5c0
xor byte [rax + 2], 0xf5
xor byte [rax + 4], 0xd4
movzx r8d, byte [rax + 4]
movzx edx, byte [rax + 2]
xor r8b, 0x37
xor byte [rax + 6], 0x64
xor r8b, 0xa2
xor byte [rax], 0x5d
xor dl, 0x37
xor byte [rax + 1], 0xa4
xor dl, 0x27
xor byte [rax + 3], 0x55
xor byte [rax + 5], 0xc0
xor byte [rax + 7], 0xfd
mov byte [rax + 4], r8b
mov r8, r10
mov byte [rax + 2], dl
cmp r11d, 5
jl 0x18005f6c7
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180169490]
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
jmp 0x18005f6fd
movabs r9, 0x9753131ff9f75db1
nop dword [rax]
nop word [rax + rax]
movzx ecx, r8b
mov rdx, r9
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 8
jb 0x18005f6e0
xor byte [rax], 0xbd
mov r8, r10
xor byte [rax + 1], 0xbd
xor byte [rax + 2], 0xbd
xor byte [rax + 3], 0xbd
xor byte [rax + 4], 0xbd
xor byte [rax + 5], 0xbd
xor byte [rax + 6], 0xbd
xor byte [rax + 7], 0xbd
cmp r11d, 5
jl 0x18005f7c9
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016db90]
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
jmp 0x18005f7fd
movabs r9, 0xffeb606bc1c26b65
nop dword [rax]
nop word [rax + rax]
movzx ecx, r8b
mov rdx, r9
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 8
jb 0x18005f7e0
xor byte [rax], 0x3c
mov r8, r10
xor byte [rax + 1], 0x26
xor byte [rax + 2], 0xb1
xor byte [rax + 3], 0x3c
xor byte [rax + 4], 0x26
xor byte [rax + 5], 0xb1
xor byte [rax + 6], 0x3c
xor byte [rax + 7], 0x26
cmp r11d, 5
jl 0x18005f8c9
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180166a30]
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
jmp 0x18005f8fd
movabs r9, 0x5d137bff9d103a75
nop dword [rax]
nop word [rax + rax]
movzx ecx, r8b
mov rdx, r9
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 8
jb 0x18005f8e0
xor byte [rax + 2], 0xae
xor byte [rax + 4], 0xeb
xor byte [rax + 6], 0xda
movzx ecx, byte [rax + 2]
movzx edx, byte [rax + 4]
xor cl, 0xb6
movzx r8d, byte [rax + 6]
xor dl, 0xa7
xor byte [rax], 0x1c
xor r8b, 0xae
xor byte [rax + 1], 0xb7
xor cl, 0xe
xor byte [rax + 3], 0x99
xor dl, 0xce
xor byte [rax + 5], 0xc5
xor r8b, 0x63
xor byte [rax + 7], 0x52
mov byte [rax + 2], cl
mov byte [rax + 4], dl
mov byte [rax + 6], r8b
cmp r11d, 5
jl 0x18005f9f1
movzx ecx, word [rax]
movdqa xmm2, xmmword [0x1801669d0]
psllq xmm7, 3
psllq xmm4, 3
movd xmm0, ecx
vpsrlvq xmm1, xmm2, xmm4
pshufb xmm1, xmm3
psllq xmm6, 3
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]
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
vpsrlvq xmm1, xmm2, xmm7
movaps xmm7, xmmword [rsp]
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
vpsrlvq xmm1, xmm2, xmm6
movaps xmm6, xmmword [rsp + 0x10]
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
mov byte [rax + 8], 0
add rsp, 0x28
ret
movabs r8, 0x5be9895dd531356b
nop dword [rax + rax]
movzx ecx, r10b
mov rdx, r8
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r10], dl
inc r10
cmp r10, 8
jb 0x18005fa00
movaps xmm7, xmmword [rsp]
movaps xmm6, xmmword [rsp + 0x10]
mov byte [rax + 8], 0
add rsp, 0x28
ret