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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4295a5
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x438478]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::empty_void_const]
movzx eax, al
test eax, eax
jne 0x41e583
or eax, 0xffffffff
jmp 0x41e7e4
mov dword [ebp - 0x5c], 0
xor ecx, ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0xac], 0
push 0x40
push 0
lea edx, [ebp - 0xa8]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x50], 0
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x5c], 0xc
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x58], 0
push 0
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x41e62a
or eax, 0xffffffff
jmp 0x41e7e4
push 0
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0xb0]
push edx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x41e64d
or eax, 0xffffffff
jmp 0x41e7e4
mov dword [ebp - 0xac], 0x44
mov dword [ebp - 0x80], 0x101
xor ecx, ecx
mov word [ebp - 0x7c], cx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x1d8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1d8]
push eax
lea ecx, [ebp - 0x30]
push ecx
call sub.Utility.dll_Ordinal_4
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1d8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0xac]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41e72d
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xb0]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1dc], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [ebp - 0x1dc]
jmp 0x41e7e4
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x1bc], 0
push 0x100
push 0
lea ecx, [ebp - 0x1bb]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0
lea edx, [ebp - 0x40]
push edx
push 0x100
lea eax, [ebp - 0x1bc]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jne 0x41e785
jmp 0x41e797
lea edx, [ebp - 0x1bc]
push edx
mov ecx, dword [ebp + 8]
call dword [0x42b244]
jmp 0x41e741
push 0xffffffffffffffff
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [ebp - 0x1e0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042673a
mov esp, ebp
pop ebp
ret