Function at 0x42c540
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
sub esp, 0x880
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
call fcn.00405040
push eax
push str.execute_command____s_
push 0x184
push 0x44efa8
call fcn.00421b80
add esp, 0x10
mov dword [ebp - 0x810], 0
mov dword [ebp - 0x80c], 0
mov dword [ebp - 0x82c], 0xc
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x824], 1
push 0
lea eax, [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x80c]
push ecx
lea edx, [ebp - 0x810]
push edx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x42c5eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.execute_create_failed__lastError___d
push 0x18d
push 0x44efc4
call fcn.00421b80
add esp, 0x10
xor al, al
jmp 0x42c814
cmp dword [ebp - 0x810], 0
je 0x42c5fd
cmp dword [ebp - 0x80c], 0
jne 0x42c622
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.execute_open_failed__lastError___d
push 0x191
push 0x44f02c
call fcn.00421b80
add esp, 0x10
xor al, al
jmp 0x42c814
mov dword [ebp - 0x870], 0x44
lea eax, [ebp - 0x870]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov ecx, dword [ebp - 0x80c]
mov dword [ebp - 0x830], ecx
mov edx, dword [ebp - 0x80c]
mov dword [ebp - 0x834], edx
xor eax, eax
mov word [ebp - 0x840], ax
mov dword [ebp - 0x844], 0x101
mov ecx, dword [ebp + 8]
call fcn.00405040
push eax
push 0x200
lea ecx, [ebp - 0x404]
push ecx
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
add esp, 0xc
lea edx, [ebp - 0x880]
push edx
lea eax, [ebp - 0x870]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea ecx, [ebp - 0x404]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x814], eax
cmp dword [ebp - 0x814], 0
jne 0x42c6d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.execute_shell_failed__lastError___d
push 0x1a7
push 0x44f0dc
call fcn.00421b80
add esp, 0x10
cmp dword [ebp - 0x80c], 0
je 0x42c6f8
mov edx, dword [ebp - 0x80c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x80c], 0
cmp dword [ebp - 0x814], 0
jne 0x42c706
jmp 0x42c7d5
mov dword [ebp - 0x814], 0
mov dword [ebp - 0x81c], 0
mov eax, 1
test eax, eax
je 0x42c7cd
push 0
lea ecx, [ebp - 0x81c]
push ecx
push 0x400
lea edx, [ebp - 0x804]
push edx
mov eax, dword [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x820], eax
cmp dword [ebp - 0x820], 0
je 0x42c770
mov ecx, dword [ebp - 0x81c]
push ecx
lea edx, [ebp - 0x804]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0041b830
jmp 0x42c7c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x818], eax
cmp dword [ebp - 0x818], 0x6d
jne 0x42c7a8
mov dword [ebp - 0x814], 1
push str.execute_successed.
push 0x1c1
push 0x44f120
call fcn.00421b80
add esp, 0xc
jmp 0x42c7c6
mov eax, dword [ebp - 0x818]
push eax
push str.execute_failed_errno___d__
push 0x1c3
push str.utility::process::execute
call fcn.00421b80
add esp, 0x10
jmp 0x42c7cd
jmp 0x42c71a
xor ecx, ecx
jne 0x42c6f8
cmp dword [ebp - 0x810], 0
je 0x42c7f5
mov edx, dword [ebp - 0x810]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x810], 0
cmp dword [ebp - 0x814], 0
je 0x42c807
mov byte [ebp - 0x805], 1
jmp 0x42c80e
mov byte [ebp - 0x805], 0
mov al, byte [ebp - 0x805]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00440154
mov esp, ebp
pop ebp
ret