Function at 0x180050c10
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 8], 0
mov rax, rcx
je 0x1800514ba
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 0x180050cf9
movzx ecx, word [rcx]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016d470]
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 0x180050d2d
movabs r9, 0xfeff7ffffeff7e7f
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 0x180050d10
xor byte [rax + 2], 0x5f
xor byte [rax + 4], 0x5f
movzx r8d, byte [rax + 4]
movzx r9d, byte [rax + 6]
xor r8b, 0xdf
movzx edx, byte [rax + 2]
xor r8b, 0xba
movzx ecx, byte [rax + 1]
not r9b
xor byte [rax], 0xf
xor r9b, 0x7e
xor byte [rax + 3], 0x1f
xor dl, 0x3e
xor byte [rax + 5], 0x29
xor r9b, 0xbf
xor byte [rax + 7], 0xef
xor dl, 0xfb
movdqa xmm6, xmmword [0x180164bd0]
not cl
movdqa xmm7, xmmword [0x180164bc0]
xor cl, 0xe4
mov byte [rax + 4], r8b
mov r8, r10
mov byte [rax + 1], cl
mov byte [rax + 2], dl
mov byte [rax + 6], r9b
cmp r11d, 5
jl 0x180050e3f
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016a670]
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 0x180050e6d
movabs r9, 0xbddfddfb9bfdd99d
nop dword [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 0x180050e50
xor byte [rax], 0xef
mov r8, r10
xor byte [rax + 1], 0xef
xor byte [rax + 2], 0xef
xor byte [rax + 3], 0xef
xor byte [rax + 4], 0xef
xor byte [rax + 5], 0xef
xor byte [rax + 6], 0xef
xor byte [rax + 7], 0xef
cmp r11d, 5
jl 0x180050f39
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016c650]
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 0x180050f6d
movabs r9, 0xf77777f7fff7ffff
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 0x180050f50
xor byte [rax], 0x67
mov r8, r10
xor byte [rax + 1], 0xe7
xor byte [rax + 2], 0x6f
xor byte [rax + 3], 0x67
xor byte [rax + 4], 0xe7
xor byte [rax + 5], 0x6f
xor byte [rax + 6], 0x67
xor byte [rax + 7], 0xe7
cmp r11d, 5
jl 0x180051039
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016b050]
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 0x18005106d
movabs r9, 0xd55f5ff7f7f775d7
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 0x180051050
xor byte [rax + 2], 0xd6
xor byte [rax + 4], 0xec
xor byte [rax + 6], 0x75
movzx r8d, byte [rax + 6]
movzx ecx, byte [rax + 2]
not r8b
movzx edx, byte [rax + 4]
xor r8b, 0x22
xor byte [rax], 0xe2
xor cl, 0x3f
xor byte [rax + 1], 0x64
xor dl, 0x33
xor byte [rax + 3], 0xcd
xor cl, 0xe3
xor byte [rax + 5], 0xf7
xor dl, 0xf7
xor byte [rax + 7], 0x92
mov byte [rax + 6], r8b
mov r8, r10
mov byte [rax + 2], cl
mov byte [rax + 4], dl
cmp r11d, 5
jl 0x180051163
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180165240]
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 0x18005118d
movabs r9, 0x1bb377f9d15b3b1f
nop dword [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 0x180051170
xor byte [rax], 0xee
mov r8, r10
xor byte [rax + 1], 0xee
xor byte [rax + 2], 0xee
xor byte [rax + 3], 0xee
xor byte [rax + 4], 0xee
xor byte [rax + 5], 0xee
xor byte [rax + 6], 0xee
xor byte [rax + 7], 0xee
cmp r11d, 5
jl 0x180051259
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016ccc0]
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 0x18005128d
movabs r9, 0xfb5bf8e0c371dc65
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 0x180051270
xor byte [rax], 0xb3
mov r8, r10
xor byte [rax + 1], 0x3e
xor byte [rax + 2], 0xe6
xor byte [rax + 3], 0xb3
xor byte [rax + 4], 0x3e
xor byte [rax + 5], 0xe6
xor byte [rax + 6], 0xb3
xor byte [rax + 7], 0x3e
cmp r11d, 5
jl 0x180051359
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180165190]
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 0x18005138d
movabs r9, 0x1af4fc7cf3f153f2
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 0x180051370
xor byte [rax + 2], 0x6d
xor byte [rax + 4], 0x89
xor byte [rax + 6], 0xb8
movzx ecx, byte [rax + 2]
movzx edx, byte [rax + 4]
xor cl, 0x6c
movzx r8d, byte [rax + 6]
xor dl, 0x5f
xor byte [rax], 0xf1
xor r8b, 0x84
xor byte [rax + 1], 1
xor cl, 0x66
xor byte [rax + 3], 0xdc
xor dl, 0xeb
xor byte [rax + 5], 0xba
xor r8b, 0xa3
xor byte [rax + 7], 0xa5
mov byte [rax + 2], cl
mov byte [rax + 4], dl
mov byte [rax + 6], r8b
cmp r11d, 5
jl 0x180051481
movzx ecx, word [rax]
movdqa xmm2, xmmword [0x180165560]
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, 0x2d07d33d3f4bb94b
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 0x180051490
movaps xmm7, xmmword [rsp]
movaps xmm6, xmmword [rsp + 0x10]
mov byte [rax + 8], 0
add rsp, 0x28
ret