Function at 0x140028a60
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 - 0x11a0]
mov eax, 0x12a0
call fcn.140049f80
sub rsp, rax
mov rax, qword [0x14006c040]
xor rax, rsp
mov qword [rbp + 0x1190], rax
xor r15d, r15d
mov dword [rsp + 0x50], r15d
call fcn.140028740
test eax, eax
jne 0x140028ada
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]
nop dword [rax]
call fcn.14000b4e0
lea rdx, [0x140010340]
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 0x1400294b2
mov edx, eax
lea rcx, [rbp + 0x170]
call fcn.140011340
nop
mov r9d, 0xe
lea r8, str.memory.exe__p
mov rcx, rax
call fcn.140012380
xorps xmm0, xmm0
movups xmmword [rbp + 0x150], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x160], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x150], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x160], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov r14d, 2
mov rdx, qword [rbp + 0x188]
cmp rdx, 7
jbe 0x140028b8c
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword [rbp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028b87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140028b87
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400493f0
movdqa xmm0, xmmword [0x14005d4a0]
movdqu xmmword [rbp + 0x180], xmm0
mov word [rbp + 0x170], r15w
mov qword [rbp - 0x80], 0x18
mov qword [rbp - 0x70], 1
mov qword [rbp - 0x78], r15
xor r9d, r9d
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x140029467
mov dword [rbp + 0xa0], 0x68
xorps xmm0, 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
movups xmmword [rbp + 0xf8], xmm0
mov rax, qword [rsp + 0x70]
mov qword [rbp + 0xf8], rax
psrldq xmm0, 4
movd eax, xmm0
or eax, 0x101
mov dword [rbp + 0xdc], eax
mov word [rbp + 0xe0], r15w
lea rdx, [rbp + 0x150]
cmp qword [rbp + 0x168], 7
cmova rdx, qword [rbp + 0x150]
lea rax, [rbp - 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0xa0]
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 0x140028ca5
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword ds:[rsp + 0x70]
jmp 0x14002945f
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x190]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x54]
mov r8d, 0x1000
lea rdx, [rbp + 0x190]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140029435
lea r12, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea rsi, [0x140059078]
mov ecx, 0x16
mov eax, dword [rsp + 0x54]
test eax, eax
je 0x140029435
mov ebx, eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x130], xmm0
cmp rax, 0xf
ja 0x140028d72
mov qword [rbp + 0x140], rax
mov qword [rbp + 0x148], 0xf
mov r8d, eax
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x130]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx + 0x130], 0
mov rdi, qword [rbp + 0x148]
mov qword [rsp + 0x78], rdi
mov rbx, qword [rbp + 0x140]
mov r13, qword [rbp + 0x130]
jmp 0x140028dbe
mov rdi, rbx
or rdi, 0xf
cmp rdi, 0x16
cmovb rdi, rcx
mov qword [rsp + 0x78], rdi
lea rcx, [rdi + 1]
call fcn.140006ec0
mov r13, rax
mov qword [rbp + 0x130], rax
mov qword [rbp + 0x140], rbx
mov qword [rbp + 0x148], rdi
mov r8, rbx
lea rdx, [rbp + 0x190]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + r13], 0
mov qword [rbp - 0x50], rsi
lea rcx, [rbp + 0x40]
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 + 0x58], r14d
mov dword [rsp + 0x50], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x50]
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 - 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x50], r12
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx - 0x54], edx
lea rax, [rbp - 0x40]
mov qword [rsp + 0x68], rax
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 0x40], rax
lea rsi, [rbp + 0x130]
cmp rdi, 0xf
cmova rsi, r13
mov eax, 2
cmp rbx, 0x7fffffff
ja 0x14002942e
test rbx, rbx
je 0x140028ebb
lfence
mov rbx, qword [rbp + 0x140]
mov rcx, rbx
call fcn.140006ec0
mov rdi, rax
mov r8, rbx
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rbx + rdi]
mov qword [rbp + 0x28], rdx
mov rcx, qword [rbp - 0x28]
mov qword [rcx], rdi
mov rcx, qword [rbp - 8]
mov qword [rcx], rdi
sub edx, edi
mov rax, qword [rbp + 0x10]
mov dword [rax], edx
mov eax, 3
mov rcx, qword [rbp + 0x148]
mov qword [rsp + 0x78], rcx
mov r13, qword [rbp + 0x130]
mov ecx, dword [rsp + 0x50]
mov dword [rsp + 0x58], ecx
jmp 0x140028ebf
mov qword [rbp + 0x28], r15
mov dword [rbp + 0x30], eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
mov qword [rbp + 0x120], r15
mov qword [rbp + 0x128], 0xf
mov byte [rbp + 0x110], 0
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
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 + 0x110]
lea rcx, [rbp - 0x50]
call fcn.14002d460
mov rcx, qword ds:[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 0x14002908f
nop
lea rdi, [rbp + 0x110]
cmp qword [rbp + 0x128], 0xf
seta r12b
mov r15, qword [rbp + 0x110]
cmova rdi, r15
mov r14, qword [rbp + 0x120]
cmp r14, 0x29
jb 0x140028fc9
lea rsi, [r14 + rdi]
lea r8, [rsi - 0x28]
sub r8, rdi
mov edx, 0x54
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140028fc9
nop dword [rax + rax]
mov r8d, 0x29
lea rdx, str.TRACE_0000_0000_PcaClient_MonitorProcess_
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140028fba
inc rbx
lea r8, [rsi - 0x28]
sub r8, rbx
mov edx, 0x54
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140028f80
jmp 0x140028fc9
nop word [rax + rax]
sub rbx, rdi
je 0x1400291af
lea rdi, [rbp + 0x110]
test r12b, r12b
cmovne rdi, r15
cmp r14, 8
jb 0x14002903c
lea rsi, [r14 + rdi]
lea r8, [rsi - 7]
sub r8, rdi
mov edx, 0x66
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x14002903c
nop dword [rax]
mov r8d, 8
lea rdx, str.file:___
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400291a6
inc rbx
lea r8, [rsi - 7]
sub r8, rbx
mov edx, 0x66
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140029000
xor r15d, r15d
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
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 + 0x110]
lea rcx, [rbp - 0x50]
call fcn.14002d460
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]
nop word [rax + rax]
test al, al
jne 0x140028f30
lea r12, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov rdx, qword [rbp + 0x128]
cmp rdx, 0xf
jbe 0x1400290d0
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400290cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002941b
call fcn.1400493f0
mov qword [rbp + 0x120], r15
mov qword [rbp + 0x128], 0xf
mov byte [rbp + 0x110], 0
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x50], r12
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x40]
call fcn.14002c9c0
lea rcx, [rbp - 0x38]
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 + 0x40]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rax, qword [rsp + 0x78]
cmp rax, 0xf
jbe 0x140029172
lea rdx, ds:[rax + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x14002916a
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029427
mov rcx, r13
call fcn.1400493f0
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x54]
mov r8d, 0x1000
lea rdx, [rbp + 0x190]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140029435
mov r14d, dword [rsp + 0x58]
jmp 0x140028cf6
sub rbx, rdi
jne 0x14002903c
lea rbx, ds:[rbp + 0x110]
test r12b, r12b
cmovne rbx, r15
cmp r14, 4
jb 0x14002903c
lea rdi, ds:[r14 + rbx]
lea r8, [rdi - 3]
sub r8, rbx
mov edx, 0x2e
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14002903c
nop
xor edx, edx
lea r8, [0x140058bd4]
nop dword [rax]
movzx ecx, byte [rax + rdx]
inc rdx
cmp cl, byte [r8 + rdx - 1]
jne 0x140029218
cmp rdx, 4
jne 0x140029200
xor ecx, ecx
jmp 0x14002921d
sbb ecx, ecx
or ecx, 1
nop dword [rax]
test ecx, ecx
je 0x14002924a
inc rax
lea r8, [rdi - 3]
sub r8, rax
mov edx, 0x2e
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
nop dword [rax + rax]
test rax, rax
jne 0x1400291f0
jmp 0x14002903c
sub rax, rbx
cmp rax, 0xffffffffffffffff
je 0x14002903c
lea rdi, [rbp + 0x110]
test r12b, r12b
cmovne rdi, r15
cmp r14, 0x29
jb 0x1400292d8
lea rsi, ds:[r14 + rdi]
lea r8, [rsi - 0x28]
sub r8, rdi
mov edx, 0x54
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1400292d8
nop dword [rax]
mov r8d, 0x29
lea rdx, str.TRACE_0000_0000_PcaClient_MonitorProcess_
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400292cf
inc rbx
lea r8, [rsi - 0x28]
sub r8, rbx
mov edx, 0x54
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140029290
jmp 0x1400292d8
sub rbx, rdi
je 0x140029369
lea rdi, [rbp + 0x110]
test r12b, r12b
cmovne rdi, r15
cmp r14, 8
jb 0x14002903c
lea rsi, [r14 + rdi]
lea r8, [rsi - 7]
sub r8, rdi
mov edx, 0x66
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x14002903c
nop dword [rax]
nop dword [rax + rax]
mov r8d, 8
lea rdx, str.file:___
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14002935d
inc rbx
lea r8, [rsi - 7]
sub r8, rbx
mov edx, 0x66
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140029320
jmp 0x14002903c
nop dword [rax]
sub rbx, rdi
jne 0x14002903c
lea rdi, [rbp + 0x110]
test r12b, r12b
cmovne rdi, r15
lea rbx, [r14 + rdi]
lea r8, [rbx - 3]
sub r8, rdi
mov edx, 0x2e
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
xor r15d, r15d
test rax, rax
je 0x14002903f
nop dword [rax + rax]
mov rcx, r15
lea r8, [0x140058bd4]
nop word [rax + rax]
movzx edx, byte [rax + rcx]
inc rcx
cmp dl, byte [r8 + rcx - 1]
jne 0x1400293cb
nop
cmp rcx, 4
jne 0x1400293b0
mov ecx, r15d
jmp 0x1400293d0
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x1400293f5
inc rax
lea r8, [rbx - 3]
sub r8, rax
mov edx, 0x2e
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x1400293a0
jmp 0x14002903f
sub rax, rdi
cmp rax, 0xffffffffffffffff
je 0x14002903f
lea rcx, [rbp + 0x110]
call fcn.140027f40
jmp 0x14002903f
nop dword [rax + rax]
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
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
nop
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x168]
cmp rdx, 7
jbe 0x1400294b2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x150]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400294ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400294ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400493f0
mov rcx, qword ds:[rbp + 0x1190]
xor rcx, rsp
call fcn.1400493d0
lea r11, [rsp + 0x12a0]
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