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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
xor r15d, r15d
movsxd r14, ecx
lea rcx, [rbp + 0x6f]
mov qword [rbp - 0x79], r15
xor r9d, r9d
mov dword [rsp + 0x58], 0x18
lea r8, [rsp + 0x58]
mov dword [rbp - 0x71], 1
lea rdx, [rbp + 0x7f]
mov edi, r15d
mov r13d, r15d
call qword [sym.imp.KERNEL32.dll_CreatePipe]
mov ebx, eax
test eax, eax
je 0x14013644d
xor r9d, r9d
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0x77]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
mov r13d, eax
test eax, eax
je 0x14013644d
lea edx, [r15 + 1]
mov ecx, 0x401
call fcn.140032b90
mov rsi, rax
test rax, rax
je 0x140136472
mov rcx, qword [0x140469458]
xor r9d, r9d
mov qword [rsp + 0x28], r15
mov r8d, 0x400
mov rdx, rax
mov dword [rsp + 0x20], r15d
call fcn.140188ad0
lea rcx, [r14 + r14*8]
mov rdx, 0xffffffffffffffff
lea r12, [rcx*8]
mov rcx, qword [0x140460528]
mov rax, qword [r12 + rcx]
inc rdx
cmp byte [rax + rdx], dil
jne 0x1401360f7
mov rax, 0xffffffffffffffff
nop word [rax + rax]
cmp byte [rsi + rax + 1], dil
lea rax, [rax + 1]
jne 0x140136110
lea r14d, [rax + 0x20]
add r14d, edx
cmp qword [r12 + rcx + 8], rdi
je 0x1401361a3
mov edx, 1
mov ecx, 0x401
call fcn.140032b90
mov rdi, rax
test rax, rax
jne 0x14013615a
cmp dword [0x14045b3f8], r15d
jne 0x140136472
mov rcx, rsi
call fcn.140005660
jmp 0x140136472
mov rcx, qword [0x140460528]
xor r9d, r9d
mov qword [rsp + 0x28], r15
mov r8d, 0x400
mov rdx, rdi
mov dword [rsp + 0x20], r15d
mov rcx, qword [r12 + rcx + 8]
call fcn.140188ad0
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rdi + rax], r15b
jne 0x140136190
mov rcx, qword [0x140460528]
add r14d, eax
mov rcx, qword [r12 + rcx + 0x10]
test rcx, rcx
je 0x1401361c0
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], r15b
jne 0x1401361b4
add r14d, eax
movsxd r15, r14d
mov edx, 1
mov rcx, r15
call fcn.140032b90
mov rbx, rax
test rax, rax
jne 0x14013620e
mov eax, dword [0x14045b3f8]
test eax, eax
jne 0x1401361f0
mov rcx, rsi
call fcn.140005660
mov eax, dword [0x14045b3f8]
test rdi, rdi
je 0x140136472
test eax, eax
jne 0x140136472
mov rcx, rdi
call fcn.140005660
jmp 0x140136472
mov rax, qword [0x140460528]
lea r8, str._s__dl__f__s
mov r9, rsi
mov rdx, r15
mov rcx, qword [r12 + rax]
mov qword [rsp + 0x20], rcx
mov rcx, rbx
call fcn.14028ab80
mov rax, qword [0x140460528]
mov r9, qword [r12 + rax + 8]
test r9, r9
je 0x14013627a
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140136250
mov eax, r14d
lea r8, str.__P_s
sub eax, ecx
movsxd rcx, ecx
add rcx, rbx
movsxd rdx, eax
call fcn.14028ab80
mov rax, qword [0x140460528]
mov r9, qword [r12 + rax + 0x10]
test r9, r9
je 0x1401362b1
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x140136290
sub r14d, eax
movsxd rcx, eax
movsxd rdx, r14d
lea r8, [0x1403c1888]
add rcx, rbx
call fcn.14028ab80
test rdi, rdi
je 0x1401362c7
cmp dword [0x14045b3f8], 0
jne 0x1401362c7
mov rcx, rdi
call fcn.140005660
lea rcx, [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov rax, qword [rbp + 0x77]
xor ecx, ecx
mov qword [rbp + 0xf], rax
xor r9d, r9d
mov qword [rbp + 0x17], rax
xor r8d, r8d
mov rax, qword [rbp + 0x6f]
mov rdx, rbx
mov qword [rbp + 7], rax
lea rax, [rbp - 0x69]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x49]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], reloc.WSOCK32.dll_recv
mov dword [rsp + 0x20], 1
mov dword [rbp - 0xd], 0x101
mov word [rbp - 9], cx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [0x14045b3f8]
mov edi, eax
test ecx, ecx
jne 0x140136353
mov rcx, rsi
call fcn.140005660
mov ecx, dword [0x14045b3f8]
test ecx, ecx
jne 0x140136353
mov rcx, rbx
call fcn.140005660
test edi, edi
jne 0x140136386
lea rcx, str.cs_create_connection_exec_failed
call qword [case.0x1400407ae.0]
mov rcx, rax
call fcn.140183380
lea rcx, str.E623:_Could_not_spawn_cscope_process
call qword [case.0x1400407ae.0]
mov rcx, rax
call fcn.140186090
jmp 0x140136472
mov rcx, qword [0x140460528]
mov eax, dword [rbp - 0x59]
mov dword [rcx + r12 + 0x18], eax
mov rax, qword [rbp - 0x69]
mov qword [rcx + r12 + 0x20], rax
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x7f]
mov edx, 0x4008
call fcn.140017074
test eax, eax
js 0x1401363d9
lea rdx, [0x1403b8ff0]
mov ecx, eax
call fcn.140016af0
mov rcx, qword [0x140460528]
mov qword [r12 + rcx + 0x40], rax
test rax, rax
jne 0x1401363ee
lea rcx, str.cs_create_connection:_fdopen_for_to_fp_failed
call qword [case.0x1400407ae.0]
mov rcx, rax
call fcn.140183380
mov rcx, qword [rsp + 0x50]
mov edx, 0x4000
call fcn.140017074
test eax, eax
js 0x140136420
lea rdx, [0x1403b9004]
mov ecx, eax
call fcn.140016af0
mov rcx, qword [0x140460528]
mov qword [r12 + rcx + 0x38], rax
test rax, rax
jne 0x140136435
lea rcx, str.cs_create_connection:_fdopen_for_fr_fp_failed
call qword [case.0x1400407ae.0]
mov rcx, rax
call fcn.140183380
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1401364a5
lea rcx, str.E566:_Could_not_create_cscope_pipes
call qword [case.0x1400407ae.0]
mov rdi, rax
call fcn.140182a30
test eax, eax
jne 0x14013646e
mov rcx, rdi
call fcn.140182400
test ebx, ebx
je 0x140136486
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x7f]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r13d, r13d
je 0x1401364a0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x140]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret