Function at 0x1800579f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 2], 0
mov rax, rcx
je 0x180057d91
mov r10d, dword [0x180182290]
xor r8d, r8d
movdqa xmm4, xmmword [0x180164c10]
mov r9d, r8d
movdqa xmm3, xmmword [0x180164b70]
cmp r10d, 5
jl 0x180057a4e
movzx ecx, word [rcx]
movdqa xmm1, xmm3
movdqa xmm0, xmmword [0x18016d250]
psllq xmm1, 3
vpsrlvq xmm2, xmm0, xmm1
movd xmm0, ecx
pshufb xmm2, xmm4
xorps xmm2, xmm0
movd ecx, xmm2
mov word [rax], cx
jmp 0x180057a7d
movabs r11, 0xfe7fff7ffffffffe
nop dword [rax + rax]
movzx ecx, r9b
mov rdx, r11
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 2
jb 0x180057a60
xor byte [rax], 0x9a
mov r9, r8
xor byte [rax + 1], 0x7c
cmp r10d, 5
jl 0x180057abb
movzx ecx, word [rax]
movdqa xmm1, xmm3
movdqa xmm0, xmmword [0x18016a120]
psllq xmm1, 3
vpsrlvq xmm2, xmm0, xmm1
movd xmm0, ecx
pshufb xmm2, xmm4
xorps xmm2, xmm0
movd ecx, xmm2
mov word [rax], cx
jmp 0x180057aed
movabs r11, 0xb999fddfff9fb9dd
nop word [rax + rax]
movzx ecx, r9b
mov rdx, r11
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 2
jb 0x180057ad0
xor byte [rax], 0xfc
mov r9, r8
xor byte [rax + 1], 0xfc
cmp r10d, 5
jl 0x180057b2b
movzx ecx, word [rax]
movdqa xmm1, xmm3
movdqa xmm0, xmmword [0x18016e030]
psllq xmm1, 3
vpsrlvq xmm2, xmm0, xmm1
movd xmm0, ecx
pshufb xmm2, xmm4
xorps xmm2, xmm0
movd ecx, xmm2
mov word [rax], cx
jmp 0x180057b5d
movabs r11, 0xfffffff77f777fff
nop word [rax + rax]
movzx ecx, r9b
mov rdx, r11
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 2
jb 0x180057b40
xor byte [rax], 0xee
mov r9, r8
xor byte [rax + 1], 0xfe
cmp r10d, 5
jl 0x180057b9b
movzx ecx, word [rax]
movdqa xmm1, xmm3
movdqa xmm0, xmmword [0x18016bb40]
psllq xmm1, 3
vpsrlvq xmm2, xmm0, xmm1
movd xmm0, ecx
pshufb xmm2, xmm4
xorps xmm2, xmm0
movd ecx, xmm2
mov word [rax], cx
jmp 0x180057bcd
movabs r11, 0xdf7f7f7f75dd55d7
nop word [rax + rax]
movzx ecx, r9b
mov rdx, r11
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 2
jb 0x180057bb0
xor byte [rax], 0x3e
mov r9, r8
xor byte [rax + 1], 0xe6
cmp r10d, 5
jl 0x180057c0b
movzx ecx, word [rax]
movdqa xmm1, xmm3
movdqa xmm0, xmmword [0x180167f60]
psllq xmm1, 3
vpsrlvq xmm2, xmm0, xmm1
movd xmm0, ecx
pshufb xmm2, xmm4
xorps xmm2, xmm0
movd ecx, xmm2
mov word [rax], cx
jmp 0x180057c3d
movabs r11, 0x7d3b7fb5b1913159
nop word [rax + rax]
movzx ecx, r9b
mov rdx, r11
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 2
jb 0x180057c20
xor byte [rax], 0xe5
mov r9, r8
xor byte [rax + 1], 0xe5
cmp r10d, 5
jl 0x180057c7b
movzx ecx, word [rax]
movdqa xmm1, xmm3
movdqa xmm0, xmmword [0x18016c0f0]
psllq xmm1, 3
vpsrlvq xmm2, xmm0, xmm1
movd xmm0, ecx
pshufb xmm2, xmm4
xorps xmm2, xmm0
movd ecx, xmm2
mov word [rax], cx
jmp 0x180057cad
movabs r11, 0xee40d64ffbe458c2
nop word [rax + rax]
movzx ecx, r9b
mov rdx, r11
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 2
jb 0x180057c90
xor byte [rax], 0xbb
mov r9, r8
xor byte [rax + 1], 0x70
cmp r10d, 5
jl 0x180057ceb
movzx ecx, word [rax]
movdqa xmm1, xmm3
movdqa xmm0, xmmword [0x180166a10]
psllq xmm1, 3
vpsrlvq xmm2, xmm0, xmm1
movd xmm0, ecx
pshufb xmm2, xmm4
xorps xmm2, xmm0
movd ecx, xmm2
mov word [rax], cx
jmp 0x180057d1d
movabs r11, 0x5c921f5b59ffff38
nop word [rax + rax]
movzx ecx, r9b
mov rdx, r11
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 2
jb 0x180057d00
xor byte [rax], 0x36
xor byte [rax + 1], 0x7f
cmp r10d, 5
jl 0x180057d57
movzx ecx, word [rax]
movdqa xmm0, xmmword [0x180165230]
psllq xmm3, 3
vpsrlvq xmm1, xmm0, xmm3
movd xmm0, ecx
pshufb xmm1, xmm4
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax], cx
mov byte [rax + 2], 0
ret
movabs r9, 0x1bb371b907c34bcd
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, 2
jb 0x180057d70
mov byte [rax + 2], 0
ret