Function at 0x14011eaf0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov r9, qword [rcx + 0x18]
mov rax, r9
inc rax
je 0x14011f3c2
mov rbp, rdx
mov rsi, qword [rcx + 8]
lea rbx, [rsi + 1]
mov rdx, rbx
shr rdx, 3
mov r8, rbx
and r8, 0xfffffffffffffff8
sub r8, rdx
cmp rsi, 8
cmovb r8, rsi
mov rdx, r8
shr rdx, 1
cmp rax, rdx
jbe 0x14011eb6d
inc r8
cmp rax, r8
cmova r8, rax
cmp r8, 8
mov qword [rsp + 0x40], r9
jae 0x14011eb9e
mov r12, rcx
xor eax, eax
cmp r8, 4
setae al
lea rdi, [rax*4 + 4]
jmp 0x14011ebef
mov qword [rsp + 0x38], rcx
mov rdi, qword [rcx]
mov rcx, rbx
shr rcx, 4
xor eax, eax
test bl, 0xf
setne al
add rax, rcx
je 0x14011ef01
cmp rax, 1
jne 0x14011ee97
xor edx, edx
jmp 0x14011eee7
movabs rax, 0x1ffffffffffffffe
or rax, 1
cmp r8, rax
ja 0x14011f3c2
mov r12, rcx
shl r8, 3
movabs rdx, 0x2492492492492493
mov rax, r8
mul rdx
sub r8, rdx
shr r8, 1
add r8, rdx
shr r8, 2
dec r8
bsr rcx, r8
not ecx
mov rdi, 0xffffffffffffffff
shr rdi, cl
inc rdi
mov ecx, 0x18
mov rax, rdi
mul rcx
jo 0x14011f3c2
mov r13, rax
add r13, 0xf
and r13, 0xfffffffffffffff0
lea r14, [rdi + 0x10]
mov r15, r13
add r15, r14
jb 0x14011f3c2
movabs rax, 0x7ffffffffffffff0
cmp r15, rax
ja 0x14011f3c2
mov qword [rsp + 0x28], rbp
test r15, r15
mov qword [rsp + 0x60], rbx
je 0x14011ec5e
movzx eax, byte [0x1404a3130]
xor ecx, ecx
mov rdx, r15
call fcn.140201a50
mov rbp, rax
test rax, rax
jne 0x14011ec63
mov rcx, r15
call fcn.140063770
mov ebp, 0x10
mov r15, rbp
add r15, r13
lea rbx, [rdi - 1]
mov rax, rdi
shr rax, 3
mov rcx, rdi
and rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rdi, 9
cmovb rcx, rbx
mov qword [rsp + 0x68], rcx
mov rcx, r15
mov dl, 0xff
mov r8, r14
call sub.msvcrt.dll_memset
mov r9, qword [r12]
mov r14, qword [rsp + 0x40]
test r14, r14
je 0x14011ee30
mov qword [rsp + 0x38], r12
lea rax, [r13 - 0x18]
add rax, rbp
mov qword [rsp + 0x30], rax
movdqa xmm0, xmmword [r9]
pmovmskb r13d, xmm0
not r13d
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax]
mov qword [rsp + 0x58], rcx
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
lea rax, [r9 - 0x18]
mov qword [rsp + 0x50], rax
xor ebp, ebp
mov rdi, r9
mov qword [rsp + 0x48], r9
jmp 0x14011ed5b
lea ecx, [r13 - 1]
and ecx, r13d
dec r14
shr rax, 0x39
lea r8, [rdx - 0x10]
and r8, rbx
mov byte [r15 + rdx], al
mov byte [r15 + r8 + 0x10], al
shl r12, 3
lea rax, [r12 + r12*2]
mov r8, qword [rsp + 0x50]
sub r8, rax
shl rdx, 3
lea rax, [rdx + rdx*2]
mov rdx, qword [rsp + 0x30]
sub rdx, rax
mov rax, qword [r8 + 0x10]
mov qword [rdx + 0x10], rax
movdqu xmm0, xmmword [r8]
movdqu xmmword [rdx], xmm0
mov r13d, ecx
test r14, r14
je 0x14011ee24
test r13w, r13w
jne 0x14011ed8e
nop word cs:[rax + rax]
movdqa xmm0, xmmword [rdi + 0x10]
add rdi, 0x10
pmovmskb r13d, xmm0
add rbp, 0x10
cmp r13d, 0xffff
je 0x14011ed70
not r13d
tzcnt r12d, r13d
add r12, rbp
mov rax, r12
neg rax
lea rax, [rax + rax*2]
mov r8, qword [r9 + rax*8 - 0x18]
mov r9, qword [r9 + rax*8 - 0x10]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x28]
call fcn.14011e960
mov rcx, rax
and rcx, rbx
movdqu xmm0, xmmword [r15 + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x14011edf8
mov r8d, 0x10
nop word cs:[rax + rax]
add rcx, r8
and rcx, rbx
movdqu xmm0, xmmword [r15 + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x14011ede0
mov r9, qword [rsp + 0x48]
tzcnt edx, edx
add rdx, rcx
and rdx, rbx
cmp byte [r15 + rdx], 0
js 0x14011ed00
movdqa xmm0, xmmword [r15]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x14011ed00
mov r12, qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
jmp 0x14011ee32
xor eax, eax
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov qword [r12], r15
mov qword [r12 + 8], rbx
mov qword [r12 + 0x10], rcx
test rsi, rsi
je 0x14011f3b1
mov ecx, 0x18
mov rax, qword [rsp + 0x60]
mul rcx
add rax, 0xf
and rax, 0xfffffffffffffff0
add rsi, rax
cmp rsi, 0xffffffffffffffef
je 0x14011f3b1
sub r9, rax
mov rcx, qword [0x1404a30d0]
xor edx, edx
mov r8, r9
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.14021d5e4
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r8d, r8d
movdqa xmm0, xmmword [0x14039dbe0]
nop
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rdi + r8]
por xmm1, xmm0
movdqa xmmword [rdi + r8], xmm1
lea rdx, [r8 + 0x20]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rdi + r8 + 0x10]
por xmm1, xmm0
movdqa xmmword [rdi + r8 + 0x10], xmm1
mov r8, rdx
add rcx, 0xfffffffffffffffe
jne 0x14011eeb0
test al, 1
je 0x14011ef01
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rdi + rdx]
por xmm0, xmmword [0x14039dbe0]
movdqa xmmword [rdi + rdx], xmm0
cmp rbx, 0x10
jae 0x14011ef27
lea rcx, [rdi + 0x10]
mov rdx, rdi
mov r8, rbx
call sub.msvcrt.dll_memmove
test rbx, rbx
jne 0x14011ef30
xor eax, eax
mov r8, qword [rsp + 0x38]
jmp 0x14011f3a9
movdqu xmm0, xmmword [rdi]
movdqu xmmword [rdi + rbx], xmm0
mov rax, qword [rbp]
mov rcx, qword [rbp + 8]
movabs r12, 0x736f6d6570736575
xor r12, rax
movabs r15, 0x646f72616e646f6d
xor r15, rcx
movabs rdx, 0x6c7967656e657261
xor rdx, rax
mov qword [rsp + 0x28], rdx
movabs rax, 0x7465646279746573
xor rax, rcx
mov qword [rsp + 0x50], rax
xor r11d, r11d
mov qword [rsp + 0x70], rsi
jmp 0x14011efa3
shr rax, 0x39
lea rcx, [r11 - 0x10]
and rcx, rsi
mov byte [rdi + r11], al
mov byte [rdi + rcx + 0x10], al
lea rax, [r11 + 1]
cmp r11, rsi
mov r11, rax
je 0x14011f386
cmp byte [rdi + r11], 0x80
jne 0x14011ef93
lea rax, [r11*8]
lea rax, [rax + rax*2]
mov rcx, rdi
sub rcx, rax
mov qword [rsp + 0x48], rcx
neg rax
add rax, rdi
add rax, 0xffffffffffffffe8
mov qword [rsp + 0x40], rax
mov rax, r11
neg rax
lea rax, [rax + rax*2]
lea rax, [rdi + rax*8]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x30], r11
nop dword [rax + rax]
mov rax, qword [rsp + 0x58]
mov r14, qword [rax - 0x18]
mov r10, qword [rax - 0x10]
add r14, 0x10
mov rax, r10
and rax, 0xfffffffffffffff8
je 0x14011f0a0
mov r13, qword [rsp + 0x28]
mov r8, r15
mov rbp, qword [rsp + 0x50]
xor r9d, r9d
mov rdx, r12
nop word cs:[rax + rax]
add rdx, r8
rol r8, 0xd
mov rcx, qword [r14 + r9]
xor r8, rdx
rol rdx, 0x20
xor rbp, rcx
add r13, rbp
rol rbp, 0x10
xor rbp, r13
add rdx, rbp
rol rbp, 0x15
add r13, r8
rol r8, 0x11
xor r8, r13
rol r13, 0x20
xor rbp, rdx
xor rdx, rcx
add r9, 8
cmp r9, rax
jb 0x14011f030
mov ebx, r10d
and ebx, 7
cmp ebx, 4
jb 0x14011f0be
mov r11d, dword [r14 + r9]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, rbx
jb 0x14011f0cf
jmp 0x14011f0fa
mov rbp, qword [rsp + 0x50]
mov r8, r15
mov r13, qword [rsp + 0x28]
mov rdx, r12
xor r9d, r9d
mov ebx, r10d
and ebx, 7
cmp ebx, 4
jae 0x14011f07e
xor r11d, r11d
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, rbx
jae 0x14011f0fa
lea rcx, [r14 + rax]
mov rsi, r15
mov r15, r12
movzx r12d, word [r9 + rcx]
lea ecx, [rax*8]
shl r12, cl
or r11, r12
mov r12, r15
mov r15, rsi
mov rsi, qword [rsp + 0x70]
or rax, 2
cmp rax, rbx
jae 0x14011f120
add r9, rax
movzx r9d, byte [r14 + r9]
shl eax, 3
mov ecx, eax
shl r9, cl
or r11, r9
jmp 0x14011f125
test rbx, rbx
je 0x14011f177
lea ecx, [rbx*8]
mov eax, 0xff
shl rax, cl
or rax, r11
cmp rbx, 7
jne 0x14011f180
add rdx, r8
rol r8, 0xd
xor rbp, rax
xor r8, rdx
rol rdx, 0x20
add r13, rbp
rol rbp, 0x10
xor rbp, r13
add rdx, rbp
rol rbp, 0x15
xor rbp, rdx
add r13, r8
rol r8, 0x11
xor r8, r13
rol r13, 0x20
xor rdx, rax
xor eax, eax
jmp 0x14011f180
mov eax, 0xff
nop dword [rax]
mov r11, qword [rsp + 0x30]
shl r10, 0x38
movabs rcx, 0x100000000000000
add r10, rcx
add rdx, r8
rol r8, 0xd
or r10, rax
xor r8, rdx
rol rdx, 0x20
xor rbp, r10
add r13, rbp
rol rbp, 0x10
xor rbp, r13
add rdx, rbp
rol rbp, 0x15
add r13, r8
rol r8, 0x11
xor rbp, rdx
xor r8, r13
rol r13, 0x20
xor rdx, r10
add rdx, r8
rol r8, 0xd
xor r8, rdx
rol rdx, 0x20
xor r13, 0xff
add r13, rbp
rol rbp, 0x10
xor rbp, r13
add rdx, rbp
rol rbp, 0x15
add r13, r8
rol r8, 0x11
xor r8, r13
rol r13, 0x20
xor rbp, rdx
add rdx, r8
rol r8, 0xd
xor r8, rdx
rol rdx, 0x20
add r13, rbp
rol rbp, 0x10
xor rbp, r13
add rdx, rbp
rol rbp, 0x15
add r13, r8
rol r8, 0x11
xor r8, r13
rol r13, 0x20
xor rbp, rdx
add rdx, r8
rol r8, 0xd
add r13, rbp
rol rbp, 0x10
xor rbp, r13
rol rbp, 0x15
xor r8, rdx
add r13, r8
rol r8, 0x11
mov rax, r13
rol rax, 0x20
xor rax, r8
xor rax, rbp
xor rax, r13
mov rcx, rsi
and rcx, rax
movdqu xmm0, xmmword [rdi + rcx]
pmovmskb edx, xmm0
mov r8, rcx
test edx, edx
jne 0x14011f2a8
mov r9d, 0x10
mov r8, rcx
nop word cs:[rax + rax]
add r8, r9
and r8, rsi
movdqu xmm0, xmmword [rdi + r8]
pmovmskb edx, xmm0
add r9, 0x10
test edx, edx
je 0x14011f290
tzcnt edx, edx
add rdx, r8
and rdx, rsi
cmp byte [rdi + rdx], 0
js 0x14011f2c4
movdqa xmm0, xmmword [rdi]
pmovmskb edx, xmm0
tzcnt edx, edx
mov r8, r11
sub r8, rcx
mov r9, rdx
sub r9, rcx
xor r9, r8
and r9, rsi
cmp r9, 0x10
jb 0x14011ef80
lea rcx, [rdx*8]
lea rcx, [rcx + rcx*2]
movzx r8d, byte [rdi + rdx]
shr rax, 0x39
lea r9, [rdx - 0x10]
and r9, rsi
mov byte [rdi + rdx], al
mov byte [rdi + r9 + 0x10], al
cmp r8b, 0xff
je 0x14011f350
mov rax, rdi
sub rax, rcx
mov r8, qword [rsp + 0x48]
mov rcx, qword [r8 - 0x18]
mov rdx, qword [rax - 0x18]
mov qword [r8 - 0x18], rdx
mov qword [rax - 0x18], rcx
mov rcx, qword [r8 - 0x10]
mov rdx, qword [rax - 0x10]
mov qword [r8 - 0x10], rdx
mov qword [rax - 0x10], rcx
mov rcx, qword [r8 - 8]
mov rdx, qword [rax - 8]
mov qword [r8 - 8], rdx
mov qword [rax - 8], rcx
jmp 0x14011eff0
neg rcx
lea rax, [rdi + rcx]
add rax, 0xffffffffffffffe8
lea rcx, [r11 - 0x10]
and rcx, rsi
mov byte [rdi + r11], 0xff
mov byte [rdi + rcx + 0x10], 0xff
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rdx + 0x10]
mov qword [rax + 0x10], rcx
movdqu xmm0, xmmword [rdx]
movdqu xmmword [rax], xmm0
jmp 0x14011ef93
mov r8, qword [rsp + 0x38]
mov rcx, qword [r8 + 8]
lea rax, [rcx + 1]
mov rdx, rax
shr rdx, 3
and rax, 0xfffffffffffffff8
sub rax, rdx
cmp rcx, 8
cmovb rax, rcx
sub rax, qword [r8 + 0x18]
mov qword [r8 + 0x10], rax
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140063730
int3