Function at 0x180091410
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x11], 0
mov rax, rcx
je 0x180092056
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 0x18009157c
movdqa xmm4, xmmword [0x180168430]
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 0x180091490
cmp r9, 0x11
jae 0x1800915ad
movabs rbx, 0x7efe7efe7e7eff7f
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 0x180091590
movzx ecx, byte [rax + 1]
lea rdx, [rax + 4]
xor byte [rax], 0xc
not cl
xor byte [rax + 2], 0xc8
xor cl, 0xb5
xor byte [rax + 3], 0xa
mov r9, r8
xor byte [rdx], 0xfb
xor byte [rax + 5], 0xd8
xor byte [rax + 7], 0xce
xor byte [rax + 8], 0xa9
xor byte [rax + 9], 0x6a
xor byte [rax + 0xa], 0xeb
xor byte [rax + 0xc], 0x18
xor byte [rax + 0xd], 0xea
xor byte [rax + 0xe], 0x8d
xor byte [rax + 0xf], 0x2b
movdqa xmm6, xmmword [0x180164be0]
mov byte [rax + 1], cl
movzx ecx, byte [rax + 6]
not cl
xor cl, 0x77
mov byte [rax + 6], cl
movzx ecx, byte [rax + 0xb]
not cl
xor cl, 0xa6
mov byte [rax + 0xb], cl
movzx ecx, byte [rax + 0x10]
not cl
xor cl, 0xd4
mov byte [rax + 0x10], cl
cmp esi, 5
jl 0x18009172c
movdqa xmm4, xmmword [0x180169700]
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 0x180091640
cmp r9, 0x11
jae 0x18009175d
movabs rbx, 0x9bbdbfddf999dfdb
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 0x180091740
movdqu xmm0, xmmword [rax]
mov r9, r8
movdqa xmm1, xmmword [0x18016ac90]
movdqa xmm5, xmmword [0x180164b80]
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
xor byte [rax + 0x10], 0xcd
cmp esi, 5
jl 0x18009188c
movdqa xmm4, xmmword [0x180167c20]
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 0x1800917a0
cmp r9, 0x11
jae 0x1800918bd
movabs rbx, 0x77fffff77ffff77f
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 0x1800918a0
xor byte [rax], 0x6f
mov r9, r8
xor byte [rax + 1], r10b
xor byte [rax + 3], 0x6f
xor byte [rax + 4], r10b
xor byte [rax + 6], 0x6f
xor byte [rax + 7], r10b
xor byte [rax + 9], 0x6f
xor byte [rax + 0xa], r10b
xor byte [rax + 0xc], 0x6f
xor byte [rax + 0xd], r10b
xor byte [rax + 0xf], 0x6f
xor byte [rax + 0x10], r10b
not byte [rax + 2]
not byte [rax + 5]
not byte [rax + 8]
not byte [rax + 0xb]
not byte [rax + 0xe]
cmp esi, 5
jl 0x180091a0c
movdqa xmm4, xmmword [0x18016bd60]
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 0x180091920
cmp r9, 0x11
jae 0x180091a3d
movabs rbx, 0xdfff7555fdf77df7
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 0x180091a20
xor byte [rax], 0x61
mov r9, r8
xor byte [rax + 1], 0x41
xor byte [rax + 2], 0x28
xor byte [rax + 3], 0x1b
xor byte [rax + 4], 0xcd
xor byte [rax + 5], 0x64
xor byte [rax + 6], 8
xor byte [rax + 7], 0xf5
xor byte [rax + 8], 0x4a
xor byte [rax + 9], 0x44
xor byte [rax + 0xa], 0x20
xor byte [rax + 0xb], 0xc5
xor byte [rax + 0xc], 0x34
xor byte [rax + 0xd], 0x87
xor byte [rax + 0xe], 0x55
xor byte [rax + 0xf], 0xb5
xor byte [rax + 0x10], 0x44
cmp esi, 5
jl 0x180091b9c
movdqa xmm4, xmmword [0x1801662e0]
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, 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 0x180091ab0
cmp r9, 0x11
jae 0x180091bcd
movabs rbx, 0x511dff1fb1191137
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 0x180091bb0
movdqu xmm0, xmmword [rax]
mov r9, r8
movdqa xmm1, xmmword [0x180169f20]
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
xor byte [rax + 0x10], 0xb4
cmp esi, 5
jl 0x180091cfc
movdqa xmm4, xmmword [0x1801661e0]
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 0x180091c10
cmp r9, 0x11
jae 0x180091d2d
movabs rbx, 0x4c5e674756e9d061
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 0x180091d10
xor byte [rax], 0xa7
mov r9, r8
xor byte [rax + 1], 0x60
xor byte [rax + 2], 0x67
xor byte [rax + 3], 0xa7
xor byte [rax + 4], 0x60
xor byte [rax + 5], 0x67
xor byte [rax + 6], 0xa7
xor byte [rax + 7], 0x60
xor byte [rax + 8], 0x67
xor byte [rax + 9], 0xa7
xor byte [rax + 0xa], 0x60
xor byte [rax + 0xb], 0x67
xor byte [rax + 0xc], 0xa7
xor byte [rax + 0xd], 0x60
xor byte [rax + 0xe], 0x67
xor byte [rax + 0xf], 0xa7
xor byte [rax + 0x10], 0x60
cmp esi, 5
jl 0x180091e8c
movdqa xmm4, xmmword [0x18016cb10]
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 0x180091da0
cmp r9, 0x11
jae 0x180091ebd
movabs rbx, 0xf93e7bb252bc7ab6
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 0x180091ea0
xor byte [rax], 0xf6
xor byte [rax + 1], 0x5e
xor byte [rax + 2], 0xa3
xor byte [rax + 3], 0xb0
xor byte [rax + 4], 0xe5
xor byte [rax + 5], 0x25
xor byte [rax + 6], 0x4c
xor byte [rax + 7], 0xfa
xor byte [rax + 8], 0xb1
xor byte [rax + 9], 7
xor byte [rax + 0xa], 0x16
xor byte [rax + 0xb], 0x3e
xor byte [rax + 0xc], 0xd8
xor byte [rax + 0xd], 0xc0
xor byte [rax + 0xe], 0x17
xor byte [rax + 0xf], 0xc5
xor byte [rax + 0x10], 0x64
movaps xmm7, xmmword [rsp]
cmp esi, 5
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
jl 0x18009201c
movdqa xmm4, xmmword [0x1801670a0]
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 0x180091f30
cmp r8, 0x11
jae 0x18009204d
movabs r9, 0x6dc5813d678f5b13
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 0x180092030
movaps xmm6, xmmword [rsp + 0x10]
mov byte [rax + 0x11], 0
add rsp, 0x28
ret