Function at 0x18007c730
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 4], 0
mov rax, rcx
je 0x18007cc61
mov r10d, dword [0x180182290]
xor r8d, r8d
movdqa xmm3, xmmword [0x180164c10]
mov r9d, r8d
movdqa xmm5, xmmword [0x180164ba0]
movdqa xmm4, xmmword [0x180164b70]
cmp r10d, 5
jl 0x18007c7bc
movzx ecx, word [rcx]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180168850]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm3
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
movd ecx, xmm1
mov word [rax + 2], cx
jmp 0x18007c7ed
movabs r11, 0x7f7effff7effffff
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, 4
jb 0x18007c7d0
xor byte [rax + 2], 0x7f
mov r9, r8
movzx ecx, byte [rax + 1]
movzx edx, byte [rax + 2]
not cl
xor byte [rax], 0x7a
xor cl, 0xf1
mov byte [rax + 1], cl
xor dl, 0x9d
movzx ecx, byte [rax + 3]
xor dl, 0xee
not cl
mov byte [rax + 2], dl
xor cl, 0x71
mov byte [rax + 3], cl
cmp r10d, 5
jl 0x18007c876
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016a360]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm3
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
movd ecx, xmm1
mov word [rax + 2], cx
jmp 0x18007c89d
movabs r11, 0xbb9bbfbff9dfdd99
movzx ecx, r9b
mov rdx, r11
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 4
jb 0x18007c880
xor byte [rax], 0x8b
mov r9, r8
xor byte [rax + 1], 0x8b
xor byte [rax + 2], 0x8b
xor byte [rax + 3], 0x8b
cmp r10d, 5
jl 0x18007c909
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016d7e0]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm3
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
movd ecx, xmm1
mov word [rax + 2], cx
jmp 0x18007c93d
movabs r11, 0xff7f77fff777fff7
nop dword [rax]
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, 4
jb 0x18007c920
xor byte [rax], 0x7e
mov r9, r8
xor byte [rax + 1], 0x77
xor byte [rax + 3], 0x7e
not byte [rax + 2]
cmp r10d, 5
jl 0x18007c9a8
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180167850]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm3
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
movd ecx, xmm1
mov word [rax + 2], cx
jmp 0x18007c9dd
movabs r11, 0x777fd5dd5f7ffdd5
nop dword [rax]
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, 4
jb 0x18007c9c0
xor byte [rax + 2], 0xce
mov r9, r8
movzx ecx, byte [rax + 2]
xor byte [rax], 0x23
xor cl, 0x7b
xor byte [rax + 1], 0xae
xor cl, 0xf2
xor byte [rax + 3], 0x55
mov byte [rax + 2], cl
cmp r10d, 5
jl 0x18007ca56
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180167d70]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm3
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
movd ecx, xmm1
mov word [rax + 2], cx
jmp 0x18007ca7d
movabs r11, 0x7995b3599d5b7d3d
movzx ecx, r9b
mov rdx, r11
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 4
jb 0x18007ca60
xor byte [rax], 0xf9
mov r9, r8
xor byte [rax + 1], 0xf9
xor byte [rax + 2], 0xf9
xor byte [rax + 3], 0xf9
cmp r10d, 5
jl 0x18007cae9
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016aa20]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm3
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
movd ecx, xmm1
mov word [rax + 2], cx
jmp 0x18007cb1d
movabs r11, 0xc6c2caf652d9dae6
nop dword [rax]
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, 4
jb 0x18007cb00
xor byte [rax], 0x36
mov r9, r8
xor byte [rax + 1], 0x32
xor byte [rax + 2], 0xb6
xor byte [rax + 3], 0x36
cmp r10d, 5
jl 0x18007cb89
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x1801659e0]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm3
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
movd ecx, xmm1
mov word [rax + 2], cx
jmp 0x18007cbbd
movabs r11, 0x3c52b9d233993bfd
nop dword [rax]
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, 4
jb 0x18007cba0
xor byte [rax + 2], 0x2c
movzx ecx, byte [rax + 2]
xor byte [rax], 0xd3
xor cl, 0x7f
xor byte [rax + 1], 0x50
xor cl, 0xdb
xor byte [rax + 3], 0xb2
mov byte [rax + 2], cl
cmp r10d, 5
jl 0x18007cc2e
movzx ecx, word [rax]
movdqa xmm2, xmmword [0x18016ad10]
psllq xmm4, 3
vpsrlvq xmm1, xmm2, xmm4
movd xmm0, ecx
pshufb xmm1, xmm3
psllq xmm5, 3
xorps xmm1, xmm0
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
mov word [rax + 2], cx
mov byte [rax + 4], 0
ret
movabs r9, 0xcfcf7b078b9119b1
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, 4
jb 0x18007cc40
mov byte [rax + 4], 0
ret