Function at 0x18007d020
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 2], 0
mov rax, rcx
je 0x18007d3c1
mov r10d, dword [0x180182290]
xor r8d, r8d
movdqa xmm4, xmmword [0x180164c10]
mov r9d, r8d
movdqa xmm3, xmmword [0x180164b70]
cmp r10d, 5
jl 0x18007d07e
movzx ecx, word [rcx]
movdqa xmm1, xmm3
movdqa xmm0, xmmword [0x180168370]
psllq xmm1, 3
vpsrlvq xmm2, xmm0, xmm1
movd xmm0, ecx
pshufb xmm2, xmm4
xorps xmm2, xmm0
movd ecx, xmm2
mov word [rax], cx
jmp 0x18007d0ad
movabs r11, 0x7e7ffe7f7e7eff7e
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 0x18007d090
xor byte [rax], 0xbb
mov r9, r8
xor byte [rax + 1], 0xee
cmp r10d, 5
jl 0x18007d0eb
movzx ecx, word [rax]
movdqa xmm1, xmm3
movdqa xmm0, xmmword [0x18016a380]
psllq xmm1, 3
vpsrlvq xmm2, xmm0, xmm1
movd xmm0, ecx
pshufb xmm2, xmm4
xorps xmm2, xmm0
movd ecx, xmm2
mov word [rax], cx
jmp 0x18007d11d
movabs r11, 0xbb9fdd99fb9dfbbb
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 0x18007d100
xor byte [rax], 0xad
mov r9, r8
xor byte [rax + 1], 0xad
cmp r10d, 5
jl 0x18007d15b
movzx ecx, word [rax]
movdqa xmm1, xmm3
movdqa xmm0, xmmword [0x180167a20]
psllq xmm1, 3
vpsrlvq xmm2, xmm0, xmm1
movd xmm0, ecx
pshufb xmm2, xmm4
xorps xmm2, xmm0
movd ecx, xmm2
mov word [rax], cx
jmp 0x18007d18d
movabs r11, 0x77f77ff7f77777f7
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 0x18007d170
xor byte [rax], 0x6f
mov r9, r8
not byte [rax + 1]
cmp r10d, 5
jl 0x18007d1ca
movzx ecx, word [rax]
movdqa xmm1, xmm3
movdqa xmm0, xmmword [0x1801666a0]
psllq xmm1, 3
vpsrlvq xmm2, xmm0, xmm1
movd xmm0, ecx
pshufb xmm2, xmm4
xorps xmm2, xmm0
movd ecx, xmm2
mov word [rax], cx
jmp 0x18007d1fd
movabs r11, 0x575dff77f7d5f55f
nop dword [rax]
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 0x18007d1e0
movzx ecx, byte [rax + 1]
mov r9, r8
xor byte [rax], 0x76
not cl
xor cl, 0xa4
mov byte [rax + 1], cl
cmp r10d, 5
jl 0x18007d243
movzx ecx, word [rax]
movdqa xmm1, xmm3
movdqa xmm0, xmmword [0x1801696c0]
psllq xmm1, 3
vpsrlvq xmm2, xmm0, xmm1
movd xmm0, ecx
pshufb xmm2, xmm4
xorps xmm2, xmm0
movd ecx, xmm2
mov word [rax], cx
jmp 0x18007d26d
movabs r11, 0x9b9f731b9d9397b7
nop dword [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 0x18007d250
xor byte [rax], 0xf5
mov r9, r8
xor byte [rax + 1], 0xf5
cmp r10d, 5
jl 0x18007d2ab
movzx ecx, word [rax]
movdqa xmm1, xmm3
movdqa xmm0, xmmword [0x180167930]
psllq xmm1, 3
vpsrlvq xmm2, xmm0, xmm1
movd xmm0, ecx
pshufb xmm2, xmm4
xorps xmm2, xmm0
movd ecx, xmm2
mov word [rax], cx
jmp 0x18007d2dd
movabs r11, 0x77c26af75e5d4f56
nop word [rax + rax]
movzx ecx, r9b
mov rdx, r11
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [r9 + rax], dl
inc r9
cmp r9, 2
jb 0x18007d2c0
xor byte [rax], 0xa1
mov r9, r8
xor byte [rax + 1], 0x2c
cmp r10d, 5
jl 0x18007d31b
movzx ecx, word [rax]
movdqa xmm1, xmm3
movdqa xmm0, xmmword [0x180165160]
psllq xmm1, 3
vpsrlvq xmm2, xmm0, xmm1
movd xmm0, ecx
pshufb xmm2, xmm4
xorps xmm2, xmm0
movd ecx, xmm2
mov word [rax], cx
jmp 0x18007d34d
movabs r11, 0x19d4f0d7739871d9
nop word [rax + rax]
movzx ecx, r9b
mov rdx, r11
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [r9 + rax], dl
inc r9
cmp r9, 2
jb 0x18007d330
xor byte [rax], 0xa5
xor byte [rax + 1], 0xdc
cmp r10d, 5
jl 0x18007d387
movzx ecx, word [rax]
movdqa xmm0, xmmword [0x18016cb30]
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, 0xf965a75d5779cb5d
nop dword [rax]
nop word [rax + rax]
movzx ecx, r8b
mov rdx, r9
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [r8 + rax], dl
inc r8
cmp r8, 2
jb 0x18007d3a0
mov byte [rax + 2], 0
ret