Function at 0x14001edc0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov r14, r8
mov r15, rdx
mov rdi, rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
mov r9d, dword [0x1401a9d80]
lea r10d, [r9 + 2]
lea eax, [r9 + 1]
imul r10d, eax
imul r10d, r9d
mov eax, 0x2aaaaaab
imul r10d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 2
sub r10d, eax
cmp r10d, 0xb
jne 0x14001ee3e
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
xorps xmm0, xmm0
cvtsi2sd xmm0, r14
test r14, r14
jns 0x14001ee53
addsd xmm0, qword [0x14013a5b8]
divsd xmm0, qword [0x14013a580]
call fcn.1400e29a0
mulsd xmm0, qword [0x14013a588]
xor eax, eax
movsd xmm1, qword [0x14013a5b0]
comisd xmm0, xmm1
jb 0x14001ee8f
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x14001ee8f
movabs rcx, 0x8000000000000000
mov rax, rcx
cvttsd2si rsi, xmm0
add rsi, rax
mov qword [rsp + 0x88], rsi
lea rcx, [rsi + 1]
call fcn.1400c1e58
mov rbx, rax
mov edx, dword [0x1401a9d80]
mov ecx, edx
imul ecx, edx
and ecx, 0x8000000f
jge 0x14001eec5
dec ecx
or ecx, 0xfffffff0
inc ecx
cmp ecx, 0xc
jne 0x14001ef60
nop
mov ecx, ebp
and ecx, 1
dec ecx
not ecx
and ecx, edx
mov eax, ebp
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, edx
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, edx
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, edx
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
add edx, eax
inc ebp
cmp ebp, 0x100
jl 0x14001eed0
mov dword [0x1401a9d80], edx
test rbx, rbx
jne 0x14001ef7b
mov rcx, rdi
call fcn.1400254f0
nop
mov dword [rsp + 0x30], 1
jmp 0x14001f05f
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9, rsi
mov r8, rbx
mov rdx, r14
mov rcx, r15
call fcn.14001ea60
test al, al
jne 0x14001efbb
mov rcx, rbx
call fcn.1400c2f38
mov rcx, rdi
call fcn.1400254f0
nop
mov dword [rsp + 0x30], 1
jmp 0x14001f05f
mov rax, qword [rsp + 0x88]
mov byte [rbx + rax], 0
lea rcx, [0x1401a19a8]
mov rax, qword [0x1401a19a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x80], rax
test rbx, 0xffffffffffff0000
jne 0x14001f011
movzx esi, bx
mov ecx, esi
call fcn.1400019e0
test rax, rax
je 0x14001f022
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.140002750
jmp 0x14001f022
mov rdx, rbx
lea rcx, [rsp + 0x80]
call fcn.1400032d0
nop
mov rcx, rbx
call fcn.1400c2f38
mov rbx, qword [rsp + 0x80]
lea rcx, [rbx - 0x18]
call fcn.1400025b0
add rax, 0x18
mov qword [rdi], rax
mov dword [rsp + 0x30], 1
lock add dword [rbx - 8], 0xffffffff
jg 0x14001f05f
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret