Function at 0x1800561e0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0xa], 0
mov rax, rcx
je 0x180056bfa
movdqa xmm3, xmmword [0x180164c10]
xor r11d, r11d
movdqa xmm4, xmmword [0x180164b70]
mov r8d, r11d
movdqa xmm5, xmmword [0x180164ba0]
mov qword [rsp + 0x20], rbx
mov ebx, dword [0x180182290]
movaps xmmword [rsp + 0x10], xmm6
movaps xmmword [rsp], xmm7
cmp ebx, 5
jl 0x1800562f2
movzx ecx, word [rcx]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016e060]
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
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 6], cx
movzx ecx, word [rax + 8]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 8], cx
jmp 0x18005631d
movabs r9, 0xffffffff7e7eff7e
nop dword [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, 0xa
jb 0x180056300
xor byte [rax + 2], 0x5f
xor byte [rax + 8], 0x5f
movzx r8d, byte [rax + 8]
movzx ecx, byte [rax + 1]
xor r8b, 0x7d
movzx r9d, byte [rax + 4]
not cl
movzx edx, byte [rax + 2]
xor cl, 0x74
xor byte [rax], 0xda
xor r8b, 0xaa
xor byte [rax + 5], 0x99
not r9b
xor byte [rax + 6], 0xae
xor dl, 0x7d
xor byte [rax + 7], 0x7b
xor r9b, 0x7e
movdqa xmm6, xmmword [0x180164bd0]
xor dl, 0xbf
movdqa xmm7, xmmword [0x180164bc0]
xor r9b, 0xef
mov byte [rax + 1], cl
movzx ecx, byte [rax + 3]
not cl
mov byte [rax + 8], r8b
xor cl, 1
mov byte [rax + 2], dl
mov byte [rax + 3], cl
mov r8, r11
movzx ecx, byte [rax + 9]
not cl
mov byte [rax + 4], r9b
xor cl, 0xe1
mov byte [rax + 9], cl
cmp ebx, 5
jl 0x18005646c
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x1801696a0]
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
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 6], cx
movzx ecx, word [rax + 8]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 8], cx
jmp 0x18005649d
movabs r9, 0x9b9df9dfffff9ddf
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, 0xa
jb 0x180056480
xor byte [rax], 0xbe
mov r8, r11
xor byte [rax + 1], 0xbe
xor byte [rax + 2], 0xbe
xor byte [rax + 3], 0xbe
xor byte [rax + 4], 0xbe
xor byte [rax + 5], 0xbe
xor byte [rax + 6], 0xbe
xor byte [rax + 7], 0xbe
xor byte [rax + 8], 0xbe
xor byte [rax + 9], 0xbe
cmp ebx, 5
jl 0x180056596
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180168730]
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
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 6], cx
movzx ecx, word [rax + 8]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 8], cx
jmp 0x1800565bd
movabs r9, 0x7f77f77ff77fff77
movzx ecx, r8b
mov rdx, r9
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 0xa
jb 0x1800565a0
xor byte [rax], 0x76
mov r8, r11
xor byte [rax + 1], 0xf6
xor byte [rax + 2], 0x77
xor byte [rax + 3], 0x76
xor byte [rax + 4], 0xf6
xor byte [rax + 5], 0x77
xor byte [rax + 6], 0x76
xor byte [rax + 7], 0xf6
xor byte [rax + 8], 0x77
xor byte [rax + 9], 0x76
cmp ebx, 5
jl 0x1800566b6
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016b080]
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
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 6], cx
movzx ecx, word [rax + 8]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 8], cx
jmp 0x1800566dd
movabs r9, 0xd57fdffddf75fff7
movzx ecx, r8b
mov rdx, r9
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 0xa
jb 0x1800566c0
xor byte [rax + 2], 0x76
xor byte [rax + 4], 0x7d
xor byte [rax + 6], 0x6c
xor byte [rax + 8], 0xf5
movzx r8d, byte [rax + 6]
movzx ecx, byte [rax + 2]
xor r8b, 0x7b
movzx edx, byte [rax + 4]
not cl
movzx r9d, byte [rax + 8]
xor cl, 0xf2
xor byte [rax], 0x4e
xor r8b, 0x7a
xor byte [rax + 1], 0xa9
xor dl, 0x37
xor byte [rax + 5], 0x9b
xor dl, 0x2e
xor byte [rax + 7], 0xf7
not r9b
mov byte [rax + 2], cl
xor r9b, 0xbe
movzx ecx, byte [rax + 3]
not cl
mov byte [rax + 6], r8b
xor cl, 0x4b
mov byte [rax + 4], dl
mov byte [rax + 3], cl
mov r8, r11
movzx ecx, byte [rax + 9]
not cl
mov byte [rax + 8], r9b
xor cl, 0x8f
mov byte [rax + 9], cl
cmp ebx, 5
jl 0x180056820
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016c570]
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
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 6], cx
movzx ecx, word [rax + 8]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 8], cx
jmp 0x18005684d
movabs r9, 0xf71d3191b9f1f597
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, 0xa
jb 0x180056830
xor byte [rax], 0x8f
mov r8, r11
xor byte [rax + 1], 0x8f
xor byte [rax + 2], 0x8f
xor byte [rax + 3], 0x8f
xor byte [rax + 4], 0x8f
xor byte [rax + 5], 0x8f
xor byte [rax + 6], 0x8f
xor byte [rax + 7], 0x8f
xor byte [rax + 8], 0x8f
xor byte [rax + 9], 0x8f
cmp ebx, 5
jl 0x180056946
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180166100]
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
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 6], cx
movzx ecx, word [rax + 8]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 8], cx
jmp 0x18005696d
movabs r9, 0x486170f1605cc0f3
movzx ecx, r8b
mov rdx, r9
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 0xa
jb 0x180056950
xor byte [rax], 0xbe
mov r8, r11
xor byte [rax + 1], 0xa5
xor byte [rax + 2], 0x2d
xor byte [rax + 3], 0xbe
xor byte [rax + 4], 0xa5
xor byte [rax + 5], 0x2d
xor byte [rax + 6], 0xbe
xor byte [rax + 7], 0xa5
xor byte [rax + 8], 0x2d
xor byte [rax + 9], 0xbe
cmp ebx, 5
jl 0x180056a66
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180165080]
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
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 6], cx
movzx ecx, word [rax + 8]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 8], cx
jmp 0x180056a8d
movabs r9, 0x17775f77b63d1f5d
movzx ecx, r8b
mov rdx, r9
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 0xa
jb 0x180056a70
xor byte [rax + 2], 0x3c
xor byte [rax + 4], 0x6b
xor byte [rax + 6], 0x2e
xor byte [rax + 8], 0x58
movzx ecx, byte [rax + 2]
movzx edx, byte [rax + 4]
xor cl, 0x1d
movzx r8d, byte [rax + 6]
xor dl, 0x2d
movzx r9d, byte [rax + 8]
xor r8b, 0x3d
xor byte [rax], 0xa5
xor r9b, 0x1d
xor byte [rax + 1], 0x98
xor cl, 0x3a
xor byte [rax + 5], 0xed
xor dl, 0x56
xor byte [rax + 7], 0x6a
xor r8b, 0x37
xor byte [rax + 9], 0xde
xor r9b, 0x33
cmp ebx, 5
mov byte [rax + 2], cl
mov rbx, qword [rsp + 0x20]
mov byte [rax + 4], dl
mov byte [rax + 6], r8b
mov byte [rax + 8], r9b
jl 0x180056bc0
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016be00]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
psllq xmm7, 3
movd ecx, xmm1
psllq xmm6, 3
psllq xmm5, 3
mov word [rax], cx
movzx ecx, word [rax + 2]
vpsrlvq xmm1, xmm2, xmm5
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
psllq xmm4, 3
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
vpsrlvq xmm1, xmm2, xmm4
pshufb xmm1, xmm3
mov word [rax + 6], cx
movzx ecx, word [rax + 8]
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 8], cx
mov byte [rax + 0xa], 0
add rsp, 0x28
ret
movabs r8, 0xe1f511d51961f783
nop word [rax + rax]
movzx ecx, r11b
mov rdx, r8
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r11], dl
inc r11
cmp r11, 0xa
jb 0x180056bd0
movaps xmm7, xmmword [rsp]
movaps xmm6, xmmword [rsp + 0x10]
mov byte [rax + 0xa], 0
add rsp, 0x28
ret