Function at 0x47d270
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:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1c7d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1088
call fcn.0048e930
mov eax, dword [0x4e3ec8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x1028], esi
mov dword [ebp - 0x1034], edi
push edi
lea eax, [ebp - 0x1050]
push eax
lea ecx, [ebp - 0x102c]
push ecx
lea edx, [ebp - 0x101c]
mov ebx, 1
mov dword [ebp - 4], edi
push edx
mov byte [ebp - 4], bl
mov dword [ebp - 0x101c], edi
mov dword [ebp - 0x102c], edi
mov dword [ebp - 0x1050], 0xc
mov dword [ebp - 0x1048], ebx
mov dword [ebp - 0x104c], edi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x47d31b
push str.executeCommand_StdoutRd_CreatePipe
call fcn.0047d0f0
add esp, 4
push str.Error:_executeCommand_StdoutRd_CreatePipe
jmp 0x47d62a
mov eax, dword [ebp - 0x101c]
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x47d345
push str.executeCommand_Stdout_SetHandleInformation
call fcn.0047d0f0
add esp, 4
push str.Error:_executeCommand_Stdout_SetHandleInformation
jmp 0x47d62a
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_13125]
push eax
lea ecx, [ebp - 0x1018]
push str.C:WINDOWSSystem32cmd.exe__c
push ecx
call fcn.00401a70
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp - 0x1018]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_5207]
push 0x44
lea esi, [ebx + eax]
xor eax, eax
lea edx, [ebp - 0x1098]
push edi
push edx
mov dword [ebp - 0x1044], eax
mov dword [ebp - 0x1040], eax
mov dword [ebp - 0x103c], eax
mov dword [ebp - 0x1038], eax
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0x102c]
or dword [ebp - 0x106c], 0x101
add esp, 0xc
mov dword [ebp - 0x1058], eax
mov dword [ebp - 0x105c], eax
xor eax, eax
push esi
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x1098], 0x44
mov word [ebp - 0x1068], ax
call dword [sym.imp.mfc100.dll_Ordinal_4498]
lea ecx, [ebp - 0x1044]
push ecx
lea edx, [ebp - 0x1098]
push edx
push edi
push edi
push 0x10
push ebx
push edi
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0xffffffffffffffff
lea ecx, [ebp + 0xc]
mov esi, eax
call dword [sym.imp.mfc100.dll_Ordinal_11439]
cmp esi, edi
jne 0x47d436
push str.CreateChildProcess_CreateProcess
call fcn.0047d0f0
add esp, 4
push str.Error:_CreateChildProcess_CreateProcess_Fail
jmp 0x47d624
mov al, byte [ebp + 0x10]
mov ecx, dword [ebp - 0x1044]
sub al, bl
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x4b1
dec eax
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x1044]
lea edx, [ebp - 0x1018]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0x1044]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov esi, eax
call edi
mov edx, dword [ebp - 0x1040]
push edx
call edi
test esi, esi
jne 0x47d4c6
mov eax, dword [ebp - 0x1018]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x1020], esp
push 0x4ae26b
call dword [sym.imp.mfc100.dll_Ordinal_310]
push ecx
mov ecx, esp
mov dword [ebp - 0x1024], esp
push str.CommonUtils_CreateChildProcess_Error:_Executed_command_but_couldnt_get_exit_code:
mov byte [ebp - 4], 3
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov byte [ebp - 4], bl
call fcn.0047c140
add esp, 0xc
mov ecx, dword [ebp - 0x102c]
push ecx
call edi
test eax, eax
jne 0x47d50c
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [ebp - 0x1024], esp
push 0x4af974
call dword [sym.imp.mfc100.dll_Ordinal_310]
push ecx
mov ecx, esp
mov dword [ebp - 0x1020], esp
push str.CreateChildProcess_Error:_g_hChildStd_OUT_Wr_Pipe_Close_failure
mov byte [ebp - 4], 4
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov byte [ebp - 4], bl
call fcn.0047c140
add esp, 0xc
push 0x4ae26b
lea ecx, [ebp - 0x1030]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov byte [ebp - 4], 5
mov bl, 6
lea esp, [esp]
mov ecx, dword [ebp - 0x101c]
push 0
lea edx, [ebp - 0x1034]
push edx
push 0x1000
lea eax, [ebp - 0x1014]
push eax
push ecx
call esi
test eax, eax
je 0x47d592
mov eax, dword [ebp - 0x1034]
test eax, eax
je 0x47d592
push eax
lea edx, [ebp - 0x1014]
push edx
lea ecx, [ebp - 0x1018]
call dword [sym.imp.mfc100.dll_Ordinal_311]
push eax
lea ecx, [ebp - 0x1030]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc100.dll_Ordinal_1479]
lea ecx, [ebp - 0x1018]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc100.dll_Ordinal_901]
jmp 0x47d530
mov eax, dword [ebp - 0x101c]
push eax
call edi
test eax, eax
jne 0x47d5ac
push str.CreateChildProcess_Error:_Pipe_Close_failure
call fcn.0047d0f0
add esp, 4
mov esi, dword [ebp - 0x1028]
lea ecx, [ebp - 0x1030]
push ecx
mov ecx, esi
call dword [sym.imp.mfc100.dll_Ordinal_300]
lea ecx, [ebp - 0x1030]
call dword [sym.imp.mfc100.dll_Ordinal_901]
jmp 0x47d632
mov esi, dword [ebp - 0x1028]
mov ecx, esi
call dword [sym.imp.mfc100.dll_Ordinal_310]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret