Function at 0x180028000
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x12], 0
mov rax, rcx
je 0x180028c66
movdqa xmm2, xmmword [0x180164c10]
xor r8d, r8d
movdqa xmm3, xmmword [0x180164b70]
mov r9d, r8d
mov qword [rsp + 0x38], rsi
mov r11, 0xfffffffffffffffe
mov esi, dword [0x180182290]
mov r10d, 2
movaps xmmword [rsp + 0x10], xmm6
movaps xmmword [rsp], xmm7
movdqa xmm7, xmmword [0x180164bb0]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
cmp esi, 5
jl 0x18002816c
movdqa xmm4, xmmword [0x180168520]
lea rdx, [rcx + 4]
mov rbx, r11
mov edi, r10d
sub rbx, rcx
sub rdi, rcx
nop dword [rax + rax]
movzx ecx, word [rdx - 4]
movq xmm0, r9
punpcklqdq xmm0, xmm0
add r9, 8
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rbx + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, rax
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdi + rdx]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp r9, 0x10
jb 0x180028080
cmp r9, 0x12
jae 0x18002819d
movabs rbx, 0x7efeff7f7fff7ffe
nop word [rax + rax]
movzx ecx, r9b
mov rdx, rbx
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 0x12
jb 0x180028180
xor byte [rax + 4], 0x48
lea rdx, [rax + 4]
xor byte [rax], 0xb
mov r9, r8
xor byte [rax + 1], 0x6b
xor byte [rax + 2], 0x5f
xor byte [rax + 3], 0x3c
xor byte [rax + 5], 0xee
xor byte [rax + 6], 0xdb
xor byte [rax + 7], 0xab
xor byte [rax + 8], 0xcb
xor byte [rax + 9], 0x9c
xor byte [rax + 0xa], 0x3d
xor byte [rax + 0xb], 0x2b
xor byte [rax + 0xc], 0x4f
xor byte [rax + 0xd], 0x7b
xor byte [rax + 0xe], 0x2b
xor byte [rax + 0xf], 0xa8
xor byte [rax + 0x10], 0xbd
xor byte [rax + 0x11], r11b
movdqa xmm6, xmmword [0x180164be0]
cmp esi, 5
jl 0x1800282fc
movdqa xmm4, xmmword [0x180169b00]
mov rbx, r11
sub rbx, rax
mov rdi, r10
sub rdi, rax
movzx ecx, word [rdx - 4]
movq xmm0, r9
punpcklqdq xmm0, xmm0
add r9, 8
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rdx + rbx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, rax
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdx + rdi]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp r9, 0x10
jb 0x180028210
cmp r9, 0x12
jae 0x18002832d
movabs rbx, 0x9fd9dfb9bbdffbd9
nop word [rax + rax]
movzx ecx, r9b
mov rdx, rbx
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 0x12
jb 0x180028310
movdqu xmm0, xmmword [rax]
lea rcx, [rax + 0x10]
mov rdx, r10
movdqa xmm1, xmmword [0x18016bfc0]
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
nop word [rax + rax]
xor byte [rcx], 0xe9
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x180028350
movdqa xmm5, xmmword [0x180164b80]
mov r9, r8
cmp esi, 5
jl 0x18002847c
movdqa xmm4, xmmword [0x18016ca30]
lea rdx, [rax + 4]
mov rbx, r11
mov rdi, r10
sub rbx, rax
sub rdi, rax
nop dword [rax]
movzx ecx, word [rdx - 4]
movq xmm0, r9
punpcklqdq xmm0, xmm0
add r9, 8
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rbx + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, rax
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdi + rdx]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp r9, 0x10
jb 0x180028390
cmp r9, 0x12
jae 0x1800284ad
movabs rbx, 0xf7ffff7ff777777f
nop word [rax + rax]
movzx ecx, r9b
mov rdx, rbx
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 0x12
jb 0x180028490
xor byte [rax], 0xf7
mov r9, r8
xor byte [rax + 1], 0x66
xor byte [rax + 2], 0xf7
xor byte [rax + 3], 0xf7
xor byte [rax + 4], 0x66
xor byte [rax + 5], 0xf7
xor byte [rax + 6], 0xf7
xor byte [rax + 7], 0x66
xor byte [rax + 8], 0xf7
xor byte [rax + 9], 0xf7
xor byte [rax + 0xa], 0x66
xor byte [rax + 0xb], 0xf7
xor byte [rax + 0xc], 0xf7
xor byte [rax + 0xd], 0x66
xor byte [rax + 0xe], 0xf7
xor byte [rax + 0xf], 0xf7
xor byte [rax + 0x10], 0x66
xor byte [rax + 0x11], 0xf7
cmp esi, 5
jl 0x18002860c
movdqa xmm4, xmmword [0x18016cf40]
lea rdx, [rax + 4]
mov rbx, r11
mov rdi, r10
sub rbx, rax
sub rdi, rax
nop dword [rax + rax]
movzx ecx, word [rdx - 4]
movq xmm0, r9
punpcklqdq xmm0, xmm0
add r9, 8
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rbx + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, rax
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdi + rdx]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp r9, 0x10
jb 0x180028520
cmp r9, 0x12
jae 0x18002863d
movabs rbx, 0xfd7f777f5577dd5d
nop word [rax + rax]
movzx ecx, r9b
mov rdx, rbx
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 0x12
jb 0x180028620
xor byte [rax], 0x44
mov r9, r8
xor byte [rax + 1], 0xe6
xor byte [rax + 2], 0x86
xor byte [rax + 3], 0x1b
xor byte [rax + 4], 0xb
xor byte [rax + 5], 0xdc
xor byte [rax + 6], 0x2f
xor byte [rax + 7], 0x5b
xor byte [rax + 8], 0x4e
xor byte [rax + 9], 0x9b
xor byte [rax + 0xa], 0xd
xor byte [rax + 0xb], 0x37
xor byte [rax + 0xc], 0xcf
xor byte [rax + 0xd], 3
xor byte [rax + 0xe], 0x42
xor byte [rax + 0xf], 0x58
xor byte [rax + 0x10], 0xaf
xor byte [rax + 0x11], 0x9a
cmp esi, 5
jl 0x18002879c
movdqa xmm4, xmmword [0x180169e40]
lea rdx, [rax + 4]
mov rbx, r11
mov rdi, r10
sub rbx, rax
sub rdi, rax
nop dword [rax + rax]
movzx ecx, word [rdx - 4]
movq xmm0, r9
punpcklqdq xmm0, xmm0
add r9, 8
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rbx + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, rax
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdi + rdx]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp r9, 0x10
jb 0x1800286b0
cmp r9, 0x12
jae 0x1800287cd
movabs rbx, 0xb19b7b99ff7b39df
nop word [rax + rax]
movzx ecx, r9b
mov rdx, rbx
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 0x12
jb 0x1800287b0
movdqu xmm0, xmmword [rax]
lea rcx, [rax + 0x10]
mov rdx, r10
movdqa xmm1, xmmword [0x180169620]
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
nop word [rax + rax]
xor byte [rcx], 0x9a
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1800287f0
mov r9, r8
cmp esi, 5
jl 0x18002890d
movdqa xmm4, xmmword [0x180167200]
lea rdx, [rax + 4]
mov rbx, r11
mov rdi, r10
sub rbx, rax
sub rdi, rax
movzx ecx, word [rdx - 4]
movq xmm0, r9
punpcklqdq xmm0, xmm0
add r9, 8
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rbx + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, rax
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdi + rdx]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp r9, 0x10
jb 0x180028821
cmp r9, 0x12
jae 0x18002893d
movabs rbx, 0x70cb46d7425be0d0
nop word [rax + rax]
movzx ecx, r9b
mov rdx, rbx
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 0x12
jb 0x180028920
xor byte [rax], 0xbc
mov r9, r8
xor byte [rax + 1], 0xb4
xor byte [rax + 2], 0x25
xor byte [rax + 3], 0xbc
xor byte [rax + 4], 0xb4
xor byte [rax + 5], 0x25
xor byte [rax + 6], 0xbc
xor byte [rax + 7], 0xb4
xor byte [rax + 8], 0x25
xor byte [rax + 9], 0xbc
xor byte [rax + 0xa], 0xb4
xor byte [rax + 0xb], 0x25
xor byte [rax + 0xc], 0xbc
xor byte [rax + 0xd], 0xb4
xor byte [rax + 0xe], 0x25
xor byte [rax + 0xf], 0xbc
xor byte [rax + 0x10], 0xb4
xor byte [rax + 0x11], 0x25
cmp esi, 5
jl 0x180028a9c
movdqa xmm4, xmmword [0x18016ce50]
lea rdx, [rax + 4]
mov rbx, r11
mov rdi, r10
sub rbx, rax
sub rdi, rax
nop dword [rax + rax]
movzx ecx, word [rdx - 4]
movq xmm0, r9
punpcklqdq xmm0, xmm0
add r9, 8
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rdx + rbx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, rax
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdx + rdi]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp r9, 0x10
jb 0x1800289b0
cmp r9, 0x12
jae 0x180028acd
movabs rbx, 0xfcf933f932939e96
nop word [rax + rax]
movzx ecx, r9b
mov rdx, rbx
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 0x12
jb 0x180028ab0
xor byte [rax], 0xec
xor byte [rax + 1], 0x14
xor byte [rax + 2], 0xd3
xor byte [rax + 3], 0x53
xor byte [rax + 4], 0x31
xor byte [rax + 5], 0xc6
xor byte [rax + 6], 0x19
xor byte [rax + 7], 0xa6
xor byte [rax + 8], 0x50
xor byte [rax + 9], 0xae
xor byte [rax + 0xa], 0xad
xor byte [rax + 0xb], 0x87
xor byte [rax + 0xc], 0x8e
xor byte [rax + 0xd], 0x65
xor byte [rax + 0xe], 0x10
xor byte [rax + 0xf], 0x4e
xor byte [rax + 0x10], 0xd1
xor byte [rax + 0x11], 0x3d
movaps xmm7, xmmword [rsp]
cmp esi, 5
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
jl 0x180028c2e
movdqa xmm4, xmmword [0x180165a60]
lea rdx, [rax + 4]
sub r11, rax
sub r10, rax
movzx ecx, word [rdx - 4]
movq xmm0, r8
punpcklqdq xmm0, xmm0
add r8, 8
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [r11 + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, rax
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [r10 + rdx]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp r8, 0x10
jb 0x180028b42
cmp r8, 0x12
jae 0x180028c5d
movabs r9, 0x3d559f1b5179717b
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, 0x12
jb 0x180028c40
movaps xmm6, xmmword [rsp + 0x10]
mov byte [rax + 0x12], 0
add rsp, 0x28
ret