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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x1a0], rbx
mov rax, qword [0x140040080]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rbp + 0x40], rdx
xor r13d, r13d
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], r13
mov dword [rcx + 0x20], 0x18
mov dword [rcx + 0x30], 1
mov qword [rcx + 0x28], r13
xor r9d, r9d
lea r8, [rcx + 0x20]
lea rdx, [rcx + 0x18]
add rcx, 0x10
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x1400050c6
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], recv
mov byte [rbp - 0x58], r13b
lea r8d, [r13 + 0x10]
lea rdx, str.Networking_error
lea rcx, [rbp - 0x58]
call fcn.140004070
lea r8d, [r13 + 2]
lea rdx, [rbp - 0x58]
mov rcx, qword [0x140042db8]
call fcn.140007df0
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x140005115
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], recv
mov byte [rbp - 0x58], r13b
lea r8d, [rax + 0x10]
lea rdx, str.Networking_error
lea rcx, [rbp - 0x58]
call fcn.140004070
mov r8d, 2
lea rdx, [rbp - 0x58]
mov rcx, qword [0x140042db8]
call fcn.140007df0
xor r9d, r9d
lea r8, [rsi + 0x20]
lea rdx, [rsi + 8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x140005167
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], recv
mov byte [rbp - 0x58], r13b
lea r8d, [rax + 0x10]
lea rdx, str.Networking_error
lea rcx, [rbp - 0x58]
call fcn.140004070
mov r8d, 2
lea rdx, [rbp - 0x58]
mov rcx, qword [0x140042db8]
call fcn.140007df0
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x1400051b6
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], recv
mov byte [rbp - 0x58], r13b
lea r8d, [rax + 0x10]
lea rdx, str.Networking_error
lea rcx, [rbp - 0x58]
call fcn.140004070
mov r8d, 2
lea rdx, [rbp - 0x58]
mov rcx, qword [0x140042db8]
call fcn.140007df0
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.140002c40
mov rbx, rax
mov qword [rsp + 0x50], rax
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x2c], rax
mov qword [rbp - 0x24], rax
mov qword [rbp - 0x1c], rax
mov qword [rbp - 0x14], rax
mov qword [rbp - 0xc], rax
mov qword [rbp - 4], rax
mov qword [rbp + 4], rax
mov qword [rbp + 0xc], rax
mov qword [rbp + 0x14], rax
mov dword [rbp + 0x1c], eax
mov dword [rbp - 0x30], 0x68
mov rax, qword [rsi + 0x18]
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x28], rax
mov rax, qword [rsi]
mov qword [rbp + 0x20], rax
or dword [rbp + 0xc], 0x100
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14000522d
mov rcx, qword [rbx]
lea rax, [rbp - 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1400052ab
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], recv
mov byte [rsp + 0x58], al
lea r8d, [rax + 0x10]
lea rdx, str.Networking_error
lea rcx, [rsp + 0x58]
call fcn.140004070
mov r8d, 2
lea rdx, [rsp + 0x58]
mov rcx, qword [0x140042db8]
call fcn.140007df0
jmp 0x1400052c0
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400052fa
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400052f5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000537f
mov rcx, r8
call fcn.140009744
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], recv
mov byte [rbx], 0
mov qword [0x140042dc0], rsi
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140005346
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140005341
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005385
mov rcx, r8
call fcn.140009744
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], recv
mov byte [rdi], 0
mov rax, rsi
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.140009720
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400119b4
nop
call fcn.1400119b4
int3