Function at 0x140033380
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create process suspended
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x11c0]
mov eax, 0x12c0
call fcn.140051c10
sub rsp, rax
mov rax, qword [0x14007b040]
xor rax, rsp
mov qword [rbp + 0x11b0], rax
xor r15d, r15d
mov dword [rsp + 0x50], r15d
call fcn.1400330e0
mov r8d, eax
test eax, eax
jne 0x1400333fa
lea rdx, str.Failed_to_find_explorer.exe_process.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000ada0
lea rdx, [0x14000d280]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140033bc5
lea r9, [rbp + 0x1aa]
sub r9, 2
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8d, edx
test edx, edx
jne 0x140033401
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x150], xmm1
lea rax, [rbp + 0x1aa]
cmp r9, rax
jne 0x14003346c
movdqa xmm0, xmmword [0x14006ad80]
movdqu xmmword [rbp + 0x150], xmm0
mov word [rbp + 0x140], r15w
jmp 0x140033488
lea r8, [rbp + 0x1aa]
sub r8, r9
sar r8, 1
mov rdx, r9
lea rcx, [rbp + 0x140]
call fcn.1400066a0
mov dword [rsp + 0x50], 6
mov r14d, 0xe
mov r9d, r14d
lea r8, str.memory.exe__p
lea rcx, [rbp + 0x140]
call fcn.14001e7c0
xorps xmm0, xmm0
movups xmmword [rbp + 0x160], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x170], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x160], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x170], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rdx, qword [rbp + 0x158]
cmp rdx, 7
jbe 0x140033532
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003352d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003352d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140050f60
movdqa xmm0, xmmword [0x14006ad80]
movdqu xmmword [rbp + 0x150], xmm0
mov word [rbp + 0x140], r15w
mov qword [rsp + 0x68], 0x18
mov qword [rsp + 0x78], 1
mov qword [rsp + 0x70], r15
xor r9d, r9d
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
nop dword [rax]
test eax, eax
je 0x140033b5d
mov dword [rbp + 0x90], 0x68
xorps xmm0, xmm0
movups xmmword [rbp + 0x98], xmm0
movups xmmword [rbp + 0xa8], xmm0
movups xmmword [rbp + 0xb8], xmm0
movups xmmword [rbp + 0xc8], xmm0
movups xmmword [rbp + 0xd8], xmm0
movups xmmword [rbp + 0xe8], xmm0
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0xe8], rax
psrldq xmm0, 4
movd eax, xmm0
or eax, 0x101
mov dword [rbp + 0xcc], eax
mov word [rbp + 0xd0], r15w
lea rdx, [rbp + 0x160]
cmp qword [rbp + 0x178], 7
cmova rdx, qword [rbp + 0x160]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x90]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140033654
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
jmp 0x140033b56
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x1b0]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x54]
mov r8d, 0x1000
lea rdx, [rbp + 0x1b0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140033b2e
lea r13, [0x140065678]
lea r12, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea rbx, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [rsp + 0x54]
test eax, eax
je 0x140033b2e
mov r8d, eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
mov qword [rbp + 0x130], r15
mov qword [rbp + 0x138], r15
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0x120]
call fcn.1400067a0
nop
mov qword [rbp - 0x60], r13
lea rcx, [rbp + 0x30]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or r14d, 1
mov dword [rsp + 0x50], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x60], r12
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx - 0x64], edx
lea rax, [rbp - 0x50]
mov qword [rbp - 0x68], rax
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov qword [rbp - 0x50], rbx
lea rsi, [rbp + 0x120]
mov rbx, qword [rbp + 0x120]
mov rdi, qword [rbp + 0x138]
cmp rdi, 0xf
cmova rsi, rbx
mov ecx, 2
mov rax, qword [rbp + 0x130]
cmp rax, 0x7fffffff
ja 0x140033bb5
test rax, rax
je 0x1400337ee
lfence
mov rbx, qword [rbp + 0x130]
mov rcx, rbx
call fcn.1400069a0
mov rdi, rax
mov r8, rbx
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rbx + rdi]
mov qword [rbp + 0x18], rdx
mov rcx, qword [rbp - 0x38]
mov qword [rcx], rdi
mov rcx, qword [rbp - 0x18]
mov qword [rcx], rdi
sub edx, edi
mov rax, qword [rbp]
mov dword [rax], edx
mov ecx, 3
mov rdi, qword [rbp + 0x138]
mov rbx, qword [rbp + 0x120]
mov r14d, dword [rsp + 0x50]
jmp 0x1400337f2
mov qword [rbp + 0x18], r15
mov dword [rbp + 0x20], ecx
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
mov qword [rbp + 0x110], r15
mov qword [rbp + 0x118], 0xf
mov byte [rbp + 0x100], 0
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x60]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0x100]
lea rcx, [rbp - 0x60]
call fcn.14000f840
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x140033a1d
nop dword [rax]
lea rcx, [rbp + 0x100]
cmp qword [rbp + 0x118], 0xf
cmova rcx, qword [rbp + 0x100]
mov qword [rsp + 0x20], 0x29
lea r9, str.TRACE_0000_0000_PcaClient_MonitorProcess_
xor r8d, r8d
mov rdx, qword [rbp + 0x110]
call fcn.140021880
test rax, rax
je 0x1400338da
lea rcx, [rbp + 0x100]
cmp qword [rbp + 0x118], 0xf
cmova rcx, qword [rbp + 0x100]
mov qword [rsp + 0x20], 8
lea r9, str.file:___
xor r8d, r8d
mov rdx, qword [rbp + 0x110]
call fcn.140021880
test rax, rax
jne 0x1400339d8
lea rcx, [rbp + 0x100]
cmp qword [rbp + 0x118], 0xf
cmova rcx, qword [rbp + 0x100]
mov qword [rsp + 0x20], 4
lea r9, [0x140065218]
xor r8d, r8d
mov rdx, qword [rbp + 0x110]
call fcn.140021880
cmp rax, 0xffffffffffffffff
je 0x1400339d8
lea rcx, [rbp + 0x100]
cmp qword [rbp + 0x118], 0xf
cmova rcx, qword [rbp + 0x100]
mov qword [rsp + 0x20], 0x29
lea r9, str.TRACE_0000_0000_PcaClient_MonitorProcess_
xor r8d, r8d
mov rdx, qword [rbp + 0x110]
call fcn.140021880
test rax, rax
je 0x140033990
lea rcx, [rbp + 0x100]
cmp qword [rbp + 0x118], 0xf
cmova rcx, qword [rbp + 0x100]
mov qword [rsp + 0x20], 8
lea r9, str.file:___
xor r8d, r8d
mov rdx, qword [rbp + 0x110]
call fcn.140021880
test rax, rax
jne 0x1400339d8
lea rcx, [rbp + 0x100]
cmp qword [rbp + 0x118], 0xf
cmova rcx, qword [rbp + 0x100]
mov qword [rsp + 0x20], 4
lea r9, [0x140065218]
xor r8d, r8d
mov rdx, qword [rbp + 0x110]
call fcn.140021880
cmp rax, 0xffffffffffffffff
je 0x1400339d8
lea rcx, [rbp + 0x100]
call fcn.140032ba0
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x60]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0x100]
lea rcx, [rbp - 0x60]
call fcn.14000f840
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
jne 0x140033860
mov rdx, qword [rbp + 0x118]
cmp rdx, 0xf
jbe 0x140033a6f
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140033a6a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140033ba7
call fcn.140050f60
mov qword [rbp + 0x110], r15
mov qword [rbp + 0x118], 0xf
mov byte [rbp + 0x100], 0
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x60], r12
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx - 0x64], edx
lea rcx, [rbp - 0x50]
call fcn.140036b20
lea rcx, [rbp - 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, ds:[rbp + 0x30]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
cmp rdi, 0xf
jbe 0x140033afe
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140033af6
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140033bae
mov rcx, rbx
call fcn.140050f60
mov qword ss:[rsp + 0x20], r15
lea r9, [rsp + 0x54]
mov r8d, 0x1000
lea rdx, [rbp + 0x1b0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400336ab
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x178]
cmp rdx, 7
jbe 0x140033bc5
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword [rbp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140033bbc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140033bbc
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_alloc_void_]
nop
nop dword [rax]
call fcn.140050f60
mov rcx, qword [rbp + 0x11b0]
xor rcx, rsp
call fcn.140050f40
lea r11, [rsp + 0x12c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret