Function at 0x18004e5a0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0xc], 0
mov rax, rcx
je 0x18004f13d
movdqa xmm3, xmmword [0x180164c10]
movdqa xmm5, xmmword [0x180164ba0]
movdqa xmm4, xmmword [0x180164b70]
mov qword [rsp + 0x30], rbx
xor ebx, ebx
mov qword [rsp + 0x20], rdi
mov r8d, ebx
mov edi, dword [0x180182290]
movaps xmmword [rsp + 0x10], xmm6
movaps xmmword [rsp], xmm7
cmp edi, 5
jl 0x18004e6dc
movzx ecx, word [rcx]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016d2f0]
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
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 8], cx
movzx ecx, word [rax + 0xa]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 0xa], cx
jmp 0x18004e70d
movabs r9, 0xfefe7efe7ffeffff
nop word [rax + 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, 0xc
jb 0x18004e6f0
xor byte [rax + 2], 0x7f
xor byte [rax + 4], 0x7f
xor byte [rax + 0xa], 0x5f
movzx r8d, byte [rax + 4]
movzx ecx, byte [rax + 1]
xor r8b, 0x5c
movzx r10d, byte [rax + 6]
not cl
movzx r11d, byte [rax + 8]
xor cl, 0xd7
movzx edx, byte [rax + 2]
xor r8b, 0xfe
movzx r9d, byte [rax + 0xa]
not r10b
xor byte [rax], 0x19
not r11b
xor byte [rax + 5], 0x9a
xor dl, 0x7c
xor byte [rax + 7], 0xb9
xor r10b, 0xbd
xor byte [rax + 9], 0xac
xor r11b, 0x7c
movdqa xmm6, xmmword [0x180164bd0]
xor r9b, 0x5c
movdqa xmm7, xmmword [0x180164bc0]
xor dl, 0xee
mov byte [rax + 1], cl
xor r10b, 0xaa
movzx ecx, byte [rax + 3]
xor r11b, 0xea
not cl
mov byte [rax + 4], r8b
xor cl, 0xd7
mov byte [rax + 2], dl
mov byte [rax + 3], cl
xor r9b, 0xea
movzx ecx, byte [rax + 0xb]
mov r8, rbx
not cl
mov byte [rax + 6], r10b
xor cl, 0xc1
mov byte [rax + 8], r11b
mov byte [rax + 0xa], r9b
mov byte [rax + 0xb], cl
cmp edi, 5
jl 0x18004e8ab
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016b660]
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
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 8], cx
movzx ecx, word [rax + 0xa]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 0xa], cx
jmp 0x18004e8dd
movabs r9, 0xdbbb9bf9dddfbbbb
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, 0xc
jb 0x18004e8c0
mov r11d, 0xc
mov rcx, rax
mov edx, r11d
nop dword [rax]
xor byte [rcx], 0xc8
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x18004e8f0
mov r8, rbx
cmp edi, 5
jl 0x18004e9f5
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x1801678e0]
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
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 8], cx
movzx ecx, word [rax + 0xa]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 0xa], cx
jmp 0x18004ea1c
movabs r9, 0x777ffff777fff7f7
nop
movzx ecx, r8b
mov rdx, r9
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, r11
jb 0x18004ea00
xor byte [rax], 0x66
mov r8, rbx
xor byte [rax + 1], 0xfe
xor byte [rax + 2], 0xf6
xor byte [rax + 3], 0x66
xor byte [rax + 4], 0xfe
xor byte [rax + 5], 0xf6
xor byte [rax + 6], 0x66
xor byte [rax + 7], 0xfe
xor byte [rax + 8], 0xf6
xor byte [rax + 9], 0x66
xor byte [rax + 0xa], 0xfe
xor byte [rax + 0xb], 0xf6
cmp edi, 5
jl 0x18004eb43
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180166ae0]
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
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 8], cx
movzx ecx, word [rax + 0xa]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 0xa], cx
jmp 0x18004eb6c
movabs r9, 0x5d77dd7555dddf7d
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, r11
jb 0x18004eb50
xor byte [rax + 2], 0x7d
xor byte [rax + 4], 0xfc
xor byte [rax + 6], 0x64
xor byte [rax + 8], 0x5c
xor byte [rax + 0xa], 0x77
movzx r8d, byte [rax + 6]
movzx ecx, byte [rax + 2]
xor r8b, 0xf7
movzx edx, byte [rax + 4]
xor r8b, 0xef
movzx r9d, byte [rax + 8]
xor dl, 0xb7
movzx r10d, byte [rax + 0xa]
xor dl, 0xb3
xor byte [rax], 0x3f
xor r10b, 0xb7
xor byte [rax + 1], 0x2c
xor r10b, 0x2e
xor byte [rax + 3], 0x41
not cl
xor byte [rax + 5], 0xae
xor cl, 0x6b
xor byte [rax + 7], 0x79
not r9b
xor byte [rax + 9], 0xa4
xor r9b, 0xf3
xor byte [rax + 0xb], 0x60
mov byte [rax + 6], r8b
mov r8, rbx
mov byte [rax + 2], cl
mov byte [rax + 4], dl
mov byte [rax + 8], r9b
mov byte [rax + 0xa], r10b
cmp edi, 5
jl 0x18004ecde
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180167eb0]
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
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 8], cx
movzx ecx, word [rax + 0xa]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 0xa], cx
jmp 0x18004ed0c
movabs r9, 0x7bf57df575ff3311
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, r11
jb 0x18004ecf0
mov rcx, rax
nop
xor byte [rcx], 0xee
lea rcx, [rcx + 1]
sub r11, 1
jne 0x18004ed10
mov r8, rbx
cmp edi, 5
jl 0x18004ee15
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180166e80]
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
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 8], cx
movzx ecx, word [rax + 0xa]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 0xa], cx
jmp 0x18004ee3d
movabs r9, 0x644dea6045eb6751
nop
movzx ecx, r8b
mov rdx, r9
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 0xc
jb 0x18004ee20
xor byte [rax], 0x6e
mov r8, rbx
xor byte [rax + 1], 0x78
xor byte [rax + 2], 0x3c
xor byte [rax + 3], 0x6e
xor byte [rax + 4], 0x78
xor byte [rax + 5], 0x3c
xor byte [rax + 6], 0x6e
xor byte [rax + 7], 0x78
xor byte [rax + 8], 0x3c
xor byte [rax + 9], 0x6e
xor byte [rax + 0xa], 0x78
xor byte [rax + 0xb], 0x3c
cmp edi, 5
jl 0x18004ef64
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016caa0]
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
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 8], cx
movzx ecx, word [rax + 0xa]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 0xa], cx
jmp 0x18004ef8d
movabs r9, 0xf89fd93fb05bfaf4
nop
movzx ecx, r8b
mov rdx, r9
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 0xc
jb 0x18004ef70
xor byte [rax + 2], 0xc
xor byte [rax + 4], 0xe9
xor byte [rax + 6], 0xcc
xor byte [rax + 8], 0x4e
xor byte [rax + 0xa], 0x6b
movzx ecx, byte [rax + 2]
movzx edx, byte [rax + 4]
xor cl, 0xc6
movzx r8d, byte [rax + 6]
xor cl, 0x1a
movzx r9d, byte [rax + 8]
xor dl, 0x4c
movzx r10d, byte [rax + 0xa]
xor r8b, 0x66
xor byte [rax], 0x9e
xor r9b, 0xc6
xor byte [rax + 1], 0x74
xor r10b, 0x4c
xor byte [rax + 5], 0xf0
xor dl, 0xea
xor byte [rax + 7], 1
xor r8b, 0x12
xor byte [rax + 0xb], 0xea
xor r9b, 0x26
mov byte [rax + 2], cl
xor r10b, 0x66
movzx ecx, byte [rax + 3]
not cl
mov byte [rax + 4], dl
xor cl, 0x28
mov byte [rax + 6], r8b
mov byte [rax + 3], cl
movzx ecx, byte [rax + 9]
not cl
mov byte [rax + 8], r9b
xor cl, 0xf3
mov byte [rax + 0xa], r10b
cmp edi, 5
mov byte [rax + 9], cl
mov rdi, qword [rsp + 0x20]
jl 0x18004f103
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180167f20]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
psllq xmm7, 3
movd ecx, xmm1
movdqa xmm0, xmm5
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
psllq xmm6, 3
movd ecx, xmm1
vpsrlvq xmm1, xmm2, xmm7
pshufb xmm1, xmm3
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
psllq xmm4, 3
psllq xmm5, 3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
vpsrlvq xmm1, xmm2, xmm6
pshufb xmm1, xmm3
mov word [rax + 4], cx
movzx ecx, word [rax + 6]
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
vpsrlvq xmm1, xmm2, xmm5
pshufb xmm1, xmm3
mov word [rax + 8], cx
movzx ecx, word [rax + 0xa]
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 0xa], cx
jmp 0x18004f12b
movabs r8, 0x7d1bc3b1c7ad75bd
nop dword [rax]
movzx ecx, bl
mov rdx, r8
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + rbx], dl
inc rbx
cmp rbx, 0xc
jb 0x18004f110
movaps xmm7, xmmword [rsp]
movaps xmm6, xmmword [rsp + 0x10]
mov rbx, qword [rsp + 0x30]
mov byte [rax + 0xc], 0
add rsp, 0x28
ret