Function at 0x18008d0b0
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Get common file path
Read file on windows
Read pipe

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x18012a010]
xor rax, rsp
mov qword [rbp + 0x220], rax
cmp qword [rdx + 0x18], 0x10
mov rdi, rdx
mov rsi, rcx
mov rbx, rdx
jb 0x18008d0ef
mov rbx, qword [rdx]
xor edx, edx
lea rcx, [rbp + 0x20]
mov r8d, 0xf8
call fcn.1800d33c0
lea rcx, [rbp + 0x20]
call fcn.1800c2540
xorps xmm0, xmm0
lea rdx, [rbp + 0x1a0]
xorps xmm1, xmm1
mov ecx, 0x80
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x160], xmm0
movups xmmword [rbp + 0x170], xmm0
movups xmmword [rbp + 0x180], xmm0
movups xmmword [rbp + 0x190], xmm0
movups xmmword [rbp + 0x1a0], xmm1
movups xmmword [rbp + 0x1b0], xmm1
movups xmmword [rbp + 0x1c0], xmm1
movups xmmword [rbp + 0x1d0], xmm1
movups xmmword [rbp + 0x1e0], xmm1
movups xmmword [rbp + 0x1f0], xmm1
movups xmmword [rbp + 0x200], xmm1
movups xmmword [rbp + 0x210], xmm1
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov r8, 0xffffffffffffffff
mov rcx, r8
nop dword [rax + rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x18008d1a0
inc rcx
mov eax, 2
mul rcx
cmovo rax, r8
mov rcx, rax
call fcn.1800d8574
xor r15d, r15d
mov r14, rax
test rax, rax
je 0x18008d423
mov rdx, rax
sub rdx, rbx
nop word [rax + rax]
movzx ecx, byte [rbx]
mov byte [rdx + rbx], cl
lea rbx, [rbx + 1]
test cl, cl
jne 0x18008d1e0
xorps xmm1, xmm1
mov dword [rbp + 0x10], r15d
xorps xmm0, xmm0
mov qword [rsp + 0x50], r15
movups xmmword [rbp - 0x78], xmm0
xor eax, eax
mov dword [rbp - 0x70], 1
xor r9d, r9d
mov qword [rbp - 0x78], r15
lea r8, [rbp - 0x80]
mov qword [rsp + 0x58], r15
lea rdx, [rsp + 0x58]
mov dword [rbp - 0x80], 0x18
lea rcx, [rsp + 0x50]
mov dword [rbp - 0x60], 0x68
movups xmmword [rbp - 0x58], xmm1
mov qword [rsp + 0x78], rax
movups xmmword [rbp - 0x48], xmm1
movups xmmword [rbp - 0x38], xmm1
movups xmmword [rbp - 0x28], xmm1
movups xmmword [rbp - 0x18], xmm1
movups xmmword [rbp - 8], xmm1
movups xmmword [rsp + 0x68], xmm0
call qword [sym.imp.KERNEL32.dll_CreatePipe]
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
mov ebx, eax
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test ebx, ebx
je 0x18008d415
mov rax, qword [rsp + 0x58]
lea rcx, [rsp + 0x60]
mov qword [rbp], rax
mov qword [rbp - 8], rax
mov word [rbp - 0x20], r15w
mov dword [rbp - 0x24], 0x101
mov qword [rsp + 0x60], r15
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rbp - 0x60]
mov rdx, r14
mov qword [rsp + 0x40], rax
xor ecx, ecx
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rsp + 0x60]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
test ebx, ebx
je 0x18008d415
nop word [rax + rax]
mov rcx, qword [rsp + 0x68]
mov edx, 0x64
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x18008d342
mov rcx, qword [rsp + 0x50]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], r15
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
cmp dword [rbp + 0x10], r15d
je 0x18008d3e7
mov rcx, qword [rsp + 0x50]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], r15
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x18008d300
cmp dword [rbp + 0x10], r15d
je 0x18008d300
mov rcx, qword [rsp + 0x50]
lea r9, [rbp + 0x10]
mov r8d, 0x7f
mov qword [rsp + 0x20], r15
lea rdx, [rbp + 0x120]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18008d300
mov eax, dword [rbp + 0x10]
cmp rax, 0x80
jae 0x18008d50c
lea rdx, [rbp + 0x120]
mov byte [rbp + rax + 0x120], r15b
lea rcx, [rbp + 0x30]
call fcn.1800c3940
mov rcx, qword [rsp + 0x50]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], r15
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
jne 0x18008d367
jmp 0x18008d300
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18008d41b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, r14
call fcn.1800d8560
mov rcx, qword [rbp + 0xa8]
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 0xf
mov byte [rsi], r15b
test cl, 2
jne 0x18008d465
mov rax, qword [rbp + 0x78]
mov r8, qword [rax]
test r8, r8
je 0x18008d465
cmp r8, qword [rbp + 0xa0]
mov rax, qword [rbp + 0x58]
cmovb r8, qword [rbp + 0xa0]
mov rdx, qword [rax]
sub r8, rdx
jmp 0x18008d48d
test cl, 4
jne 0x18008d495
mov rax, qword [rbp + 0x70]
mov rcx, qword [rax]
test rcx, rcx
je 0x18008d495
mov rax, qword [rbp + 0x50]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x88]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
mov rcx, rsi
call fcn.1800c30f0
lea rcx, [rbp + 0x20]
call fcn.18008d520
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x18008d4d4
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x18008d4cf
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18008d512
mov rcx, r8
call fcn.1800cff50
mov qword [rdi + 0x10], r15
mov rax, rsi
mov qword [rdi + 0x18], 0xf
mov byte [rdi], r15b
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1800cfc90
mov rbx, qword [rsp + 0x370]
add rsp, 0x330
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1800cfdbc
int3
call fcn.1800df1b0
int3