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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4484ff
mov eax, dword fs:[0]
push eax
mov eax, 0x1180
call fcn.00445a10
mov eax, dword [0x467040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x1080], esi
call fcn.00427640
nop dword [eax]
test eax, eax
jne 0x42796b
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Failed_to_find_explorer.exe_process.
call fcn.0040af60
push 0x40d840
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x427fe8
mov edx, eax
lea ecx, [ebp - 0x1070]
call fcn.00412ce0
push 0xe
push str.memory.exe__p
push ecx
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00415940
mov dword [ebp - 0x1048], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x1058], xmm0
mov dword [ebp - 0x1044], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
or esi, 2
movups xmmword [ebp - 0x1058], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1048], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x105c]
cmp ecx, 7
jbe 0x427a1f
mov edx, dword [ebp - 0x1070]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x427a15
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x427a15
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00444ae8
add esp, 8
xor eax, eax
mov dword [ebp - 0x1060], 0
push eax
mov word [ebp - 0x1070], ax
mov dword [ebp - 0x1088], eax
lea eax, [ebp - 0x108c]
push eax
lea eax, [ebp - 0x1078]
mov dword [ebp - 0x105c], 7
push eax
lea eax, [ebp - 0x1074]
mov dword [ebp - 0x108c], 0xc
push eax
mov dword [ebp - 0x1084], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x427f9e
push 0x40
lea eax, [ebp - 0x1188]
mov dword [ebp - 0x118c], 0x44
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x1078]
lea ecx, [ebp - 0x10a0]
or dword [ebp - 0x1160], 0x101
add esp, 0xc
mov dword [ebp - 0x1150], eax
xor eax, eax
cmp dword [ebp - 0x1044], 7
mov word [ebp - 0x115c], ax
lea eax, [ebp - 0x1058]
cmova eax, dword [ebp - 0x1058]
push ecx
lea ecx, [ebp - 0x118c]
push ecx
push 0
push 0
push 0x10
push 1
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x427b08
push dword [ebp - 0x1074]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x1078]
jmp 0x427f98
push dword [ebp - 0x1078]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x107c]
push 0
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x1074]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x427f68
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebp - 0x107c]
test eax, eax
je 0x427f68
push eax
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1030], 0
xorps xmm0, xmm0
mov dword [ebp - 0x102c], 0
push eax
lea ecx, [ebp - 0x1040]
movups xmmword [ebp - 0x1040], xmm0
call fcn.00406720
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10e8]
mov dword [ebp - 0x1148], 0x457928
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0x1138]
mov byte [ebp - 4], 4
or esi, 1
lea ecx, [ebp - 0x1148]
push eax
mov dword [ebp - 0x1080], esi
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x1148]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x1148]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x114c], eax
lea eax, [ebp - 0x1138]
mov ecx, eax
mov dword [ebp - 0x1090], eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov byte [ebp - 4], 6
lea eax, [ebp - 0x1040]
cmp dword [ebp - 0x102c], 0xf
lea ecx, [ebp - 0x1138]
push 2
push dword [ebp - 0x1030]
cmova eax, dword [ebp - 0x1040]
push eax
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
call fcn.0042b3c0
xorps xmm0, xmm0
mov dword [ebp - 0x1018], 0
movups xmmword [ebp - 0x1028], xmm0
mov dword [ebp - 0x1014], 0xf
mov byte [ebp - 0x1028], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1148]
mov eax, dword [ebp - 0x1148]
push 0xa
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
movzx eax, al
lea edx, [ebp - 0x1028]
push eax
lea ecx, [ebp - 0x1148]
call fcn.0040db00
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator_bool_void_const]
nop word [eax + eax]
test al, al
je 0x427e4e
nop dword [eax + eax]
cmp dword [ebp - 0x1014], 0xf
lea ecx, [ebp - 0x1028]
mov edx, dword [ebp - 0x1018]
cmova ecx, dword [ebp - 0x1028]
push 0x29
push str.TRACE_0000_0000_PcaClient_MonitorProcess_
push 0
call fcn.00417ee0
add esp, 0xc
test eax, eax
je 0x427d32
cmp dword [ebp - 0x1014], 0xf
lea ecx, [ebp - 0x1028]
mov edx, dword [ebp - 0x1018]
cmova ecx, dword [ebp - 0x1028]
push 8
push str.file:___
push 0
call fcn.00417ee0
add esp, 0xc
test eax, eax
jne 0x427e07
cmp dword [ebp - 0x1014], 0xf
lea ecx, [ebp - 0x1028]
mov edx, dword [ebp - 0x1018]
cmova ecx, dword [ebp - 0x1028]
push 4
push 0x4574d8
push 0
call fcn.00417ee0
add esp, 0xc
cmp eax, 0xffffffff
je 0x427e07
cmp dword [ebp - 0x1014], 0xf
lea ecx, [ebp - 0x1028]
mov edx, dword [ebp - 0x1018]
cmova ecx, dword [ebp - 0x1028]
push 0x29
push str.TRACE_0000_0000_PcaClient_MonitorProcess_
push 0
call fcn.00417ee0
add esp, 0xc
test eax, eax
je 0x427dcc
cmp dword ds:[ebp - 0x1014], 0xf
lea ecx, [ebp - 0x1028]
mov edx, dword [ebp - 0x1018]
cmova ecx, dword [ebp - 0x1028]
push 8
push str.file:___
push 0
call fcn.00417ee0
add esp, 0xc
test eax, eax
jne 0x427e07
cmp dword [ebp - 0x1014], 0xf
lea ecx, [ebp - 0x1028]
mov edx, dword [ebp - 0x1018]
cmova ecx, dword [ebp - 0x1028]
push 4
push 0x4574d8
push 0
call fcn.00417ee0
add esp, 0xc
cmp eax, 0xffffffff
je 0x427e07
lea ecx, [ebp - 0x1028]
call fcn.004271e0
mov eax, dword [ebp - 0x1148]
lea ecx, [ebp - 0x1148]
push 0xa
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
movzx eax, al
lea edx, [ebp - 0x1028]
push eax
lea ecx, [ebp - 0x1148]
call fcn.0040db00
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator_bool_void_const]
test al, al
jne 0x427cd0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1014]
cmp ecx, 0xf
jbe 0x427e93
mov edx, dword [ebp - 0x1028]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x427e89
mov edx, dword ds:[eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427a0f
push ecx
push edx
call fcn.00444ae8
add esp, 8
mov eax, dword ds:[ebp - 0x1148]
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0xf
mov byte [ebp - 0x1028], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x1148]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x114c], eax
lea ecx, [ebp - 0x1138]
call fcn.0042ad20
lea ecx, [ebp - 0x1130]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x10e8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x102c]
cmp ecx, 0xf
jbe 0x427f3b
mov edx, dword [ebp - 0x1040]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x427f31
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427a0f
push ecx
push edx
call fcn.00444ae8
add esp, 8
push 0
lea eax, [ebp - 0x107c]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x1074]
call dword [sym.imp.KERNEL32.dll_ReadFile]
nop dword [eax]
test eax, eax
jne 0x427b60
push 0xffffffffffffffff
push dword [ebp - 0x10a0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword ds:[ebp - 0x10a0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x109c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x1074]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1044]
cmp ecx, 7
jbe 0x427fe8
mov edx, dword ds:[ebp - 0x1058]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x427fde
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x427fde
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00444ae8
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444aa0
mov esp, ebp
pop ebp
ret