Function at 0x1800c4040
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0xa], 0
mov rax, rcx
je 0x1800c4a5a
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 0x1800c4152
movzx ecx, word [rcx]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x1801685a0]
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 0x1800c417d
movabs r9, 0x7efffe7f7e7e7fff
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 0x1800c4160
xor byte [rax + 4], 0x7f
xor byte [rax + 6], 0x7f
xor byte [rax + 8], 0x5f
movzx r8d, byte [rax + 4]
xor byte [rax + 2], 0x5f
xor r8b, 0x1e
movzx r9d, byte [rax + 6]
xor r8b, 0xef
movzx r10d, byte [rax + 8]
xor r9b, 0xbd
movzx ecx, byte [rax + 9]
xor r10b, 0x1c
movzx edx, byte [rax + 2]
xor r9b, 0xef
xor byte [rax], 0xc9
xor dl, 0x1c
xor byte [rax + 1], 0x1f
xor r10b, 0xbf
xor byte [rax + 3], 0xfb
not cl
xor byte [rax + 5], 0xaf
xor cl, 0x60
xor byte [rax + 7], 0x2b
not dl
movdqa xmm6, xmmword [0x180164bd0]
movdqa xmm7, xmmword [0x180164bc0]
mov byte [rax + 4], r8b
mov r8, r11
mov byte [rax + 2], dl
mov byte [rax + 6], r9b
mov byte [rax + 8], r10b
mov byte [rax + 9], cl
cmp ebx, 5
jl 0x1800c42cd
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016dab0]
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 0x1800c42fd
movabs r9, 0xffbbbdb9bdff9fb9
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 0x1800c42e0
xor byte [rax], 0xb9
mov r8, r11
xor byte [rax + 1], 0xb9
xor byte [rax + 2], 0xb9
xor byte [rax + 3], 0xb9
xor byte [rax + 4], 0xb9
xor byte [rax + 5], 0xb9
xor byte [rax + 6], 0xb9
xor byte [rax + 7], 0xb9
xor byte [rax + 8], 0xb9
xor byte [rax + 9], 0xb9
cmp ebx, 5
jl 0x1800c43f6
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180168e90]
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 0x1800c441d
movabs r9, 0x7fff7f77ff77ff77
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 0x1800c4400
xor byte [rax], 0x6f
mov r8, r11
xor byte [rax + 1], 0x76
xor byte [rax + 2], 0x6e
xor byte [rax + 3], 0x6f
xor byte [rax + 4], 0x76
xor byte [rax + 5], 0x6e
xor byte [rax + 6], 0x6f
xor byte [rax + 7], 0x76
xor byte [rax + 8], 0x6e
xor byte [rax + 9], 0x6f
cmp ebx, 5
jl 0x1800c4516
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x1801665a0]
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 0x1800c453d
movabs r9, 0x55d57d7f7f5d5755
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 0x1800c4520
xor byte [rax + 6], 0x6f
mov r8, r11
xor byte [rax + 8], 0xf5
movzx r9d, byte [rax + 2]
movzx edx, byte [rax + 6]
not r9b
movzx r10d, byte [rax + 8]
xor r9b, 0xb7
movzx ecx, byte [rax + 7]
xor dl, 0xbb
xor byte [rax + 4], 0xee
xor r10b, 0xb7
xor byte [rax], 0xda
xor r9b, 0xf6
xor byte [rax + 1], 0x36
xor dl, 0x36
xor byte [rax + 3], 0x71
xor r10b, 0x6e
xor byte [rax + 5], 0xc3
not cl
xor byte [rax + 9], 0x6f
xor cl, 0x10
mov byte [rax + 2], r9b
mov byte [rax + 6], dl
mov byte [rax + 7], cl
mov byte [rax + 8], r10b
cmp ebx, 5
jl 0x1800c466c
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180166db0]
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 0x1800c469d
movabs r9, 0x5ffd5d7ff9f3b135
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 0x1800c4680
xor byte [rax], 0xcd
mov r8, r11
xor byte [rax + 1], 0xcd
xor byte [rax + 2], 0xcd
xor byte [rax + 3], 0xcd
xor byte [rax + 4], 0xcd
xor byte [rax + 5], 0xcd
xor byte [rax + 6], 0xcd
xor byte [rax + 7], 0xcd
xor byte [rax + 8], 0xcd
xor byte [rax + 9], 0xcd
cmp ebx, 5
jl 0x1800c4796
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180166200]
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 0x1800c47bd
movabs r9, 0x4d4e605ed1fe6f5b
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 0x1800c47a0
xor byte [rax], 0xe3
mov r8, r11
xor byte [rax + 1], 0xa3
xor byte [rax + 2], 0x2d
xor byte [rax + 3], 0xe3
xor byte [rax + 4], 0xa3
xor byte [rax + 5], 0x2d
xor byte [rax + 6], 0xe3
xor byte [rax + 7], 0xa3
xor byte [rax + 8], 0x2d
xor byte [rax + 9], 0xe3
cmp ebx, 5
jl 0x1800c48b6
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016ba50]
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 0x1800c48dd
movabs r9, 0xdef97eb298f6b836
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 0x1800c48c0
xor byte [rax + 2], 0x9a
xor byte [rax + 4], 0x89
xor byte [rax + 8], 0xce
movzx r10d, byte [rax + 6]
movzx edx, byte [rax + 2]
not r10b
movzx r8d, byte [rax + 4]
xor r10b, 0x54
movzx r9d, byte [rax + 8]
xor dl, 0x8c
movzx ecx, byte [rax + 1]
xor r8b, 7
xor byte [rax], 0xda
xor r9b, 0x8c
xor byte [rax + 3], 0xc1
xor r10b, 0x62
xor byte [rax + 5], 0x3f
xor dl, 0xda
xor byte [rax + 7], 0x7b
xor r8b, 0xda
xor byte [rax + 9], 0x97
xor r9b, 0xeb
not cl
mov byte [rax + 2], dl
xor cl, 0xbc
mov byte [rax + 4], r8b
cmp ebx, 5
mov byte [rax + 1], cl
mov rbx, qword [rsp + 0x20]
mov byte [rax + 6], r10b
mov byte [rax + 8], r9b
jl 0x1800c4a1f
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180166070]
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, 0x474d15d969815f97
nop dword [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 0x1800c4a30
movaps xmm7, xmmword [rsp]
movaps xmm6, xmmword [rsp + 0x10]
mov byte [rax + 0xa], 0
add rsp, 0x28
ret