Function at 0x180053840
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x18
cmp byte [rcx + 6], 0
mov rax, rcx
je 0x180053f35
mov r10d, dword [0x180182290]
xor r9d, r9d
movdqa xmm3, xmmword [0x180164c10]
mov r8d, r9d
movdqa xmm5, xmmword [0x180164ba0]
movdqa xmm4, xmmword [0x180164b70]
movaps xmmword [rsp], xmm6
cmp r10d, 5
jl 0x1800538fa
movzx ecx, word [rcx]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016d6e0]
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
movd ecx, xmm1
mov word [rax + 4], cx
jmp 0x18005392d
movabs r11, 0xff7e7ffeff7e7f7e
nop dword [rax]
nop dword [rax + rax]
movzx ecx, r8b
mov rdx, r11
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 6
jb 0x180053910
xor byte [rax + 2], 0x5f
xor byte [rax + 4], 0xdf
movzx r8d, byte [rax + 4]
movzx ecx, byte [rax + 1]
xor r8b, 0xde
movzx edx, byte [rax + 2]
not cl
xor byte [rax], 0xa8
xor cl, 0xd7
xor byte [rax + 5], 0xcd
xor r8b, 0xee
movdqa xmm6, xmmword [0x180164bc0]
xor dl, 0xbf
mov byte [rax + 1], cl
xor dl, 0xaa
movzx ecx, byte [rax + 3]
not cl
mov byte [rax + 4], r8b
xor cl, 0xd1
mov byte [rax + 2], dl
mov byte [rax + 3], cl
mov r8, r9
cmp r10d, 5
jl 0x1800539fd
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016a280]
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, xmm6
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
movd ecx, xmm1
mov word [rax + 4], cx
jmp 0x180053a2d
movabs r11, 0xb9fdffdbd9fddd9b
nop word [rax + rax]
movzx ecx, r8b
mov rdx, r11
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 6
jb 0x180053a10
xor byte [rax], 0x88
mov r8, r9
xor byte [rax + 1], 0x88
xor byte [rax + 2], 0x88
xor byte [rax + 3], 0x88
xor byte [rax + 4], 0x88
xor byte [rax + 5], 0x88
cmp r10d, 5
jl 0x180053ac7
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x1801686c0]
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
movd ecx, xmm1
mov word [rax + 4], cx
jmp 0x180053afd
movabs r11, 0x7f7777f77ff7f7f7
nop dword [rax]
nop word [rax + rax]
movzx ecx, r8b
mov rdx, r11
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 6
jb 0x180053ae0
xor byte [rax], 0x7e
mov r8, r9
xor byte [rax + 1], 0xfe
xor byte [rax + 2], 0x7e
xor byte [rax + 3], 0x7e
xor byte [rax + 4], 0xfe
xor byte [rax + 5], 0x7e
cmp r10d, 5
jl 0x180053b97
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x1801666d0]
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
movd ecx, xmm1
mov word [rax + 4], cx
jmp 0x180053bcd
movabs r11, 0x5775d5f5fff5d7d7
nop dword [rax]
nop word [rax + rax]
movzx ecx, r8b
mov rdx, r11
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 6
jb 0x180053bb0
xor byte [rax + 2], 0x7d
mov r8, r9
xor byte [rax + 4], 0x74
movzx ecx, byte [rax + 2]
movzx edx, byte [rax + 4]
xor cl, 0xf7
xor byte [rax], 0x8e
xor dl, 0x77
xor byte [rax + 1], 0x92
xor cl, 0xf3
xor byte [rax + 3], 0x96
xor dl, 0x3b
xor byte [rax + 5], 0x1b
mov byte [rax + 2], cl
mov byte [rax + 4], dl
cmp r10d, 5
jl 0x180053c81
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180168690]
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, xmm6
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
movd ecx, xmm1
mov word [rax + 4], cx
jmp 0x180053cad
movabs r11, 0x7f75d137133fbbf3
nop dword [rax + rax]
movzx ecx, r8b
mov rdx, r11
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 6
jb 0x180053c90
xor byte [rax], 0xd8
mov r8, r9
xor byte [rax + 1], 0xd8
xor byte [rax + 2], 0xd8
xor byte [rax + 3], 0xd8
xor byte [rax + 4], 0xd8
xor byte [rax + 5], 0xd8
cmp r10d, 5
jl 0x180053d47
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016d2b0]
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
movd ecx, xmm1
mov word [rax + 4], cx
jmp 0x180053d7d
movabs r11, 0xfefbc1f4e56d43c6
nop dword [rax]
nop word [rax + rax]
movzx ecx, r8b
mov rdx, r11
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 6
jb 0x180053d60
xor byte [rax], 0x3f
mov r8, r9
xor byte [rax + 1], 0x62
xor byte [rax + 2], 0x6f
xor byte [rax + 3], 0x3f
xor byte [rax + 4], 0x62
xor byte [rax + 5], 0x6f
cmp r10d, 5
jl 0x180053e17
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180165110]
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
movd ecx, xmm1
mov word [rax + 4], cx
jmp 0x180053e4d
movabs r11, 0x1914d559dc9bf074
nop dword [rax]
nop word [rax + rax]
movzx ecx, r8b
mov rdx, r11
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 6
jb 0x180053e30
xor byte [rax + 2], 0xfe
xor byte [rax + 4], 0xfe
movzx ecx, byte [rax + 2]
movzx edx, byte [rax + 4]
xor cl, 0x6d
xor byte [rax], 0x2e
xor dl, 0x96
xor byte [rax + 1], 0xf9
xor cl, 0x76
xor byte [rax + 3], 0xbb
xor dl, 3
xor byte [rax + 5], 0x84
mov byte [rax + 2], cl
mov byte [rax + 4], dl
cmp r10d, 5
jl 0x180053efd
movzx ecx, word [rax]
movdqa xmm2, xmmword [0x180166b10]
psllq xmm6, 3
psllq xmm4, 3
movd xmm0, ecx
vpsrlvq xmm1, xmm2, xmm4
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
vpsrlvq xmm1, xmm2, xmm6
movaps xmm6, xmmword [rsp]
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 4], cx
mov byte [rax + 6], 0
add rsp, 0x18
ret
movabs r8, 0x5d8743751dc5cf41
nop word [rax + rax]
movzx ecx, r9b
mov rdx, r8
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 6
jb 0x180053f10
movaps xmm6, xmmword [rsp]
mov byte [rax + 6], 0
add rsp, 0x18
ret