Function at 0x14013f600
Capabilities:
Create pipe
Create process on windows
Create two anonymous pipes

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x578]
sub rsp, 0x650
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402922b8]
xor rax, rsp
mov qword [rbp + 0x540], rax
mov rbx, rcx
xor r13b, r13b
lea rcx, [rbp + 0x30]
call fcn.140132800
nop
lea rcx, [rbp + 0x260]
call fcn.140132800
nop
lea rdi, [rbx + 0x50]
lea r8, [rbp + 0x30]
mov rdx, rdi
mov rcx, rbx
call fcn.14013c350
lea r8, [rbp + 0x260]
mov rdx, rdi
mov rcx, rbx
call fcn.14013c4a0
mov sil, 1
mov edx, 1
lea rcx, [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea rax, [rbp - 0x68]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x78], 0x18
mov dword [rbp - 0x78], 1
lea rdx, [rbx + 0x760]
xor r9d, r9d
lea r8, [rsp + 0x78]
lea rcx, [rbx + 0x750]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
movzx esi, sil
xor ecx, ecx
test eax, eax
cmove esi, ecx
lea rcx, [rbx + 0x768]
xor r9d, r9d
lea r8, [rsp + 0x78]
lea rdx, [rbx + 0x758]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
movabs r14, 0x7fffffffffffffff
test eax, eax
je 0x14013fae2
test sil, sil
je 0x14013fae2
movzx eax, byte [rbx + 0xa]
neg al
sbb r14d, r14d
and r14d, 0x10
movzx eax, byte [rbx + 0x6f0]
neg al
sbb ecx, ecx
and ecx, 2
or r14d, ecx
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x40], 0x68
mov dword [rbp - 4], 0x100
mov rax, qword [rbx + 0x758]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rax
mov rax, qword [rbx + 0x750]
mov qword [rbp + 0x10], rax
mov byte [rbx + 0x48], 1
movzx eax, byte [rbp + 0x47]
shr al, 7
lea rcx, [rbp + 0x30]
test al, al
cmovne rcx, qword [rbp + 0x30]
lea rdx, [rbx + 0x280]
movzx eax, byte [rdx + 0x17]
shr al, 7
test al, 1
je 0x14013f79c
mov rdx, qword [rdx]
movzx eax, byte [rdi + 0x17]
shr al, 7
test al, 1
je 0x14013f7aa
mov rdi, qword [rdi]
lea rsi, [rbx + 0x6f8]
lea r8, [rbx + 0x710]
mov qword [rsp + 0x48], rsi
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
xor r15d, r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
setne al
test al, al
je 0x14013fabd
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x58], eax
movabs r12, 0x346dc5d63886594b
mov rax, r12
imul qword [rsp + 0x58]
sar rdx, 0xb
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rbx + 0x4b0], rdx
mov rax, qword [rbx + 0x18]
cmp qword [rbx + 0x28], rax
jge 0x14013f849
mov qword [rbx + 0x28], rax
movabs r14, 0x7fffffffffffffff
cmp rax, r14
jne 0x14013f85e
mov qword [rbx + 0x20], r14
jmp 0x14013f875
mov rcx, rbx
call fcn.14013c690
imul rcx, qword [rbx + 0x18], 0x3e8
add rax, rcx
mov qword [rbx + 0x20], rax
cmp qword [rbx + 0x28], r14
jne 0x14013f881
mov qword [rbx + 0x30], r14
jmp 0x14013f898
mov rcx, rbx
call fcn.14013c690
imul rcx, qword [rbx + 0x28], 0x3e8
add rax, rcx
mov qword [rbx + 0x30], rax
cmp dword [rbx + 0x10], r15d
jne 0x14013f8a5
mov dword [rbx + 0x10], 1
movzx eax, byte [rbx + 0x48]
test al, al
je 0x14013fa3c
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x14013f8cb
mov rdx, qword [rbx + 0x40]
mov rcx, rbx
call rax
test al, al
jne 0x14013fa27
mov rdi, qword [rbx + 0x30]
cmp qword [rbx + 0x20], rdi
cmovl rdi, qword [rbx + 0x20]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x58], eax
mov rax, r12
imul qword [rsp + 0x58]
sar rdx, 0xb
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, rdi
jge 0x14013fa3c
cmp byte [rbx + 0x6f0], r15b
je 0x14013f982
mov edx, 0xc8
lea rcx, [rbp + 0x490]
call qword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
test eax, eax
je 0x14013f94d
lea rdx, [rbp + 0x490]
mov rcx, rbx
call fcn.14013fbe0
mov rcx, rbx
call fcn.140140220
jmp 0x14013f8a5
lea rdx, [rsp + 0x50]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x14013fa1a
cmp dword [rsp + 0x50], 0x103
je 0x14013fa1a
mov byte [rbx + 0x48], r15b
mov rcx, rbx
call fcn.140140220
jmp 0x14013f8a5
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x14013f9ba
cmp dword [rsp + 0x50], 0x103
je 0x14013f9ba
mov byte [rbx + 0x48], r15b
mov rcx, rbx
call fcn.140140220
jmp 0x14013f8a5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rbx + 9], r15b
je 0x14013fa1a
test eax, eax
jne 0x14013f9d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, 0x400
mov r8d, eax
xor edx, edx
mov ecx, 0x1100
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
je 0x14013fa1a
mov rdx, qword [rsp + 0x70]
lea rcx, [0x1401a4120]
call fcn.140151d90
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rbx
call fcn.140140220
jmp 0x14013f8a5
mov r13b, 1
cmp byte [rbx + 9], r15b
je 0x14013fa3c
lea rcx, str.Cancelling_the_run._n
call fcn.140151d90
movzx eax, byte [rbx + 0x48]
test al, al
je 0x14013fa69
mov byte [rbx + 0x48], r15b
mov rax, qword [rbx]
mov rcx, rbx
test r13b, r13b
je 0x14013fa5f
mov dword [rbx + 0x10], 4
call qword [rax + 0x18]
jmp 0x14013fa69
mov dword [rbx + 0x10], 3
call qword [rax + 0x10]
mov rcx, qword [rsi]
test rcx, rcx
je 0x14013fa8e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14013fa8b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140140c20
mov qword [rsi], r15
mov rcx, qword [rbx + 0x700]
test rcx, rcx
je 0x14013fae2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14013fab4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140140c20
mov qword [rbx + 0x700], r15
jmp 0x14013fae2
mov dword [rbx + 0xc], 0xffffffff
mov byte [rbx + 0x48], r15b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140140c20
movabs r14, 0x7fffffffffffffff
mov rcx, rbx
call fcn.1401375c0
mov ebx, dword [rbx + 0xc]
movzx eax, byte [rbp + 0x277]
shr al, 7
test al, 1
je 0x14013fb2e
mov r8, qword [rbp + 0x270]
and r8, r14
inc r8
mov rdx, qword [rbp + 0x260]
test rdx, rdx
je 0x14013fb2e
cmp rdx, qword [rbp + 0x288]
je 0x14013fb2e
mov rcx, qword [rbp + 0x278]
mov rax, qword [rcx]
add r8, r8
call qword [rax + 0x18]
nop
movzx eax, byte [rbp + 0x47]
shr al, 7
test al, 1
je 0x14013fb60
mov r8, qword [rbp + 0x40]
and r8, r14
inc r8
mov rdx, qword [rbp + 0x30]
test rdx, rdx
je 0x14013fb60
cmp rdx, qword [rbp + 0x58]
je 0x14013fb60
mov rcx, qword [rbp + 0x48]
mov r9, qword [rcx]
add r8, r8
call qword [r9 + 0x18]
mov eax, ebx
mov rcx, qword [rbp + 0x540]
xor rcx, rsp
call fcn.14012fd90
lea r11, [rsp + 0x650]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret