Function at 0x180083ed0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x11], 0
mov rax, rcx
je 0x180084b26
movdqa xmm2, xmmword [0x180164c10]
xor r8d, r8d
movdqa xmm3, xmmword [0x180164b70]
mov r9d, r8d
mov qword [rsp + 0x38], rsi
mov r10, 0xfffffffffffffffe
mov esi, dword [0x180182290]
mov r11d, 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 0x18008403c
movdqa xmm4, xmmword [0x180168da0]
lea rdx, [rcx + 4]
mov rbx, r10
mov edi, r11d
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 0x180083f50
cmp r9, 0x11
jae 0x18008406d
movabs rbx, 0x7ffeff7f7e7e7f7f
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, 0x11
jb 0x180084050
movzx ecx, byte [rax + 1]
lea rdx, [rax + 4]
xor byte [rax], 0xa9
not cl
xor byte [rax + 2], 0x5a
xor cl, 0xd5
xor byte [rax + 3], 0xef
mov r9, r8
xor byte [rdx], 0xec
xor byte [rax + 5], 0xba
xor byte [rax + 6], 0x5d
xor byte [rax + 7], 0xeb
xor byte [rax + 8], 0x4b
xor byte [rax + 9], 0xdb
xor byte [rax + 0xa], 0xac
xor byte [rax + 0xc], 0xd9
xor byte [rax + 0xe], 0x2a
xor byte [rax + 0xf], 0xca
movdqa xmm6, xmmword [0x180164be0]
mov byte [rax + 1], cl
movzx ecx, byte [rax + 0xb]
not cl
xor cl, 0xb1
mov byte [rax + 0xb], cl
movzx ecx, byte [rax + 0xd]
not cl
xor cl, 0x40
mov byte [rax + 0xd], cl
movzx ecx, byte [rax + 0x10]
not cl
xor cl, 0xe7
mov byte [rax + 0x10], cl
cmp esi, 5
jl 0x1800841ec
movdqa xmm4, xmmword [0x18016cd40]
mov rbx, r10
sub rbx, rax
mov rdi, r11
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, [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 0x180084100
cmp r9, 0x11
jae 0x18008421d
movabs rbx, 0xfbb99ff99b99bdb9
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, 0x11
jb 0x180084200
movdqu xmm0, xmmword [rax]
mov r9, r8
movdqa xmm1, xmmword [0x1801691a0]
movdqa xmm5, xmmword [0x180164b80]
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
xor byte [rax + 0x10], 0x8a
cmp esi, 5
jl 0x18008434c
movdqa xmm4, xmmword [0x18016c810]
lea rdx, [rax + 4]
mov rbx, r10
mov rdi, r11
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, [rdx + rbx]
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, [rdx + rdi]
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 0x180084260
cmp r9, 0x11
jae 0x18008437d
movabs rbx, 0xf77fff77777f7fff
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, 0x11
jb 0x180084360
xor byte [rax + 1], 0xe7
mov r9, r8
xor byte [rax + 2], 0x7e
xor byte [rax + 4], 0xe7
xor byte [rax + 5], 0x7e
xor byte [rax + 7], 0xe7
xor byte [rax + 8], 0x7e
xor byte [rax + 0xa], 0xe7
xor byte [rax + 0xb], 0x7e
xor byte [rax + 0xd], 0xe7
xor byte [rax + 0xe], 0x7e
xor byte [rax + 0x10], 0xe7
not byte [rax]
not byte [rax + 3]
not byte [rax + 6]
not byte [rax + 9]
not byte [rax + 0xc]
not byte [rax + 0xf]
cmp esi, 5
jl 0x1800844cc
movdqa xmm4, xmmword [0x18016cf10]
lea rdx, [rax + 4]
mov rbx, r10
mov rdi, r11
sub rbx, rax
sub rdi, rax
nop
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 0x1800843e0
cmp r9, 0x11
jae 0x1800844fd
movabs rbx, 0xfd77775ddd7dd5f7
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, 0x11
jb 0x1800844e0
movzx ecx, byte [rax + 5]
mov r9, r8
xor byte [rax], 0xf2
not cl
xor byte [rax + 1], 0x20
xor cl, 0x1c
xor byte [rax + 2], 0xed
xor byte [rax + 3], 0x3e
xor byte [rax + 4], 0x23
xor byte [rax + 6], 0x29
xor byte [rax + 7], 0x6c
xor byte [rax + 8], 0x2a
xor byte [rax + 9], 0xba
xor byte [rax + 0xb], 0x75
xor byte [rax + 0xc], 0x39
xor byte [rax + 0xd], 0xaf
xor byte [rax + 0xe], 0xf7
xor byte [rax + 0x10], 0x64
not byte [rax + 0xf]
mov byte [rax + 5], cl
movzx ecx, byte [rax + 0xa]
not cl
xor cl, 0x94
mov byte [rax + 0xa], cl
cmp esi, 5
jl 0x18008465f
movdqa xmm4, xmmword [0x18016b510]
lea rdx, [rax + 4]
mov rbx, r10
mov rdi, r11
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, 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 0x180084573
cmp r9, 0x11
jae 0x18008468d
movabs rbx, 0xd9ff3bf735b75575
nop dword [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, 0x11
jb 0x180084670
movdqu xmm0, xmmword [rax]
mov r9, r8
movdqa xmm1, xmmword [0x18016a9f0]
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
xor byte [rax + 0x10], 0xc5
cmp esi, 5
jl 0x1800847bc
movdqa xmm4, xmmword [0x1801662b0]
lea rdx, [rax + 4]
mov rbx, r10
mov rdi, r11
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, 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 0x1800846d0
cmp r9, 0x11
jae 0x1800847ed
movabs rbx, 0x5051ce454b60c150
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, 0x11
jb 0x1800847d0
xor byte [rax], 0xa3
mov r9, r8
xor byte [rax + 1], 0x65
xor byte [rax + 2], 0xba
xor byte [rax + 3], 0xa3
xor byte [rax + 4], 0x65
xor byte [rax + 5], 0xba
xor byte [rax + 6], 0xa3
xor byte [rax + 7], 0x65
xor byte [rax + 8], 0xba
xor byte [rax + 9], 0xa3
xor byte [rax + 0xa], 0x65
xor byte [rax + 0xb], 0xba
xor byte [rax + 0xc], 0xa3
xor byte [rax + 0xd], 0x65
xor byte [rax + 0xe], 0xba
xor byte [rax + 0xf], 0xa3
xor byte [rax + 0x10], 0x65
cmp esi, 5
jl 0x18008494c
movdqa xmm4, xmmword [0x180166500]
lea rdx, [rax + 4]
mov rbx, r10
mov rdi, r11
sub rbx, rax
sub rdi, rax
nop dword [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 0x180084860
cmp r9, 0x11
jae 0x18008497d
movabs rbx, 0x55753bd89b3b30dd
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, 0x11
jb 0x180084960
movzx ecx, byte [rax + 7]
xor byte [rax], 0x8e
not cl
xor byte [rax + 1], 0x83
xor cl, 0x57
xor byte [rax + 2], 0xf4
xor byte [rax + 3], 0xc1
xor byte [rax + 4], 0x92
xor byte [rax + 5], 0x5e
xor byte [rax + 6], 0xea
xor byte [rax + 8], 0x14
xor byte [rax + 9], 0xa6
xor byte [rax + 0xa], 0x8e
xor byte [rax + 0xb], 0x8e
xor byte [rax + 0xc], 0xf8
xor byte [rax + 0xd], 0x2c
xor byte [rax + 0xf], 0x22
xor byte [rax + 0x10], 0x5a
movaps xmm7, xmmword [rsp]
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
mov byte [rax + 7], cl
movzx ecx, byte [rax + 0xe]
not cl
xor cl, 0x65
cmp esi, 5
mov byte [rax + 0xe], cl
mov rsi, qword [rsp + 0x38]
jl 0x180084aec
movdqa xmm4, xmmword [0x18016bf90]
lea rdx, [rax + 4]
sub r10, rax
sub r11, rax
nop
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, [rdx + r10]
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 + r11]
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 0x180084a00
cmp r8, 0x11
jae 0x180084b1d
movabs r9, 0xe9b5b3b1c77d4573
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, 0x11
jb 0x180084b00
movaps xmm6, xmmword [rsp + 0x10]
mov byte [rax + 0x11], 0
add rsp, 0x28
ret