Function at 0x425290
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 0x49be24
mov eax, dword fs:[0]
push eax
sub esp, 0x4f0
mov eax, dword [0x4c6374]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x4b4]
push 0x44
xorps xmm0, xmm0
push 0
push eax
movq qword [ebp - 0x46c], xmm0
call fcn.004793f0
push 0x105
lea eax, [ebp - 0x118]
mov dword [ebp - 0x454], 0
xorps xmm0, xmm0
mov dword [ebp - 0x450], 0
push 0
push eax
movups xmmword [ebp - 0x464], xmm0
call fcn.004793f0
add esp, 0x18
mov dword [ebp - 0x470], 0xc
lea eax, [ebp - 0x470]
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x468], 1
push 0
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x4254f4
push 0x98
push eax
lea eax, [ebp - 0x3b4]
push eax
call fcn.004793f0
add esp, 4
lea ecx, [ebp - 0x3b4]
call fcn.00408c30
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, str.CreatePipe_Error:
lea ecx, [ebp - 0x3b4]
call fcn.0040b820
mov ecx, eax
call fcn.00409350
push 0x29
push str.CProcHelper::CreateProcessAndReturnResult
lea ecx, [ebp - 0x4e4]
mov dword [ebp - 0x4d0], 0xf
mov dword [ebp - 0x4d4], 0
mov byte [ebp - 0x4e4], 0
call fcn.0040f450
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4cc]
push 0xe
push str.ProcHelper.cpp
mov dword [ebp - 0x4b8], 0xf
mov dword [ebp - 0x4bc], 0
mov byte [ebp - 0x4cc], 0
call fcn.0040f450
lea eax, [ebp - 0x4fc]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x3b4]
call fcn.00408b50
push eax
lea eax, [ebp - 0x4e4]
mov byte [ebp - 4], 3
push eax
push 0x13
lea eax, [ebp - 0x4cc]
push eax
push ecx
call fcn.0041f440
mov ecx, eax
call fcn.0041f910
mov eax, dword [ebp - 0x4e8]
cmp eax, 8
jb 0x42544e
inc eax
lea ecx, [ebp - 0x4fc]
push eax
push dword [ebp - 0x4fc]
call fcn.0040f5b0
xor eax, eax
mov dword [ebp - 0x4e8], 7
mov word [ebp - 0x4fc], ax
mov eax, dword [ebp - 0x4b8]
mov dword [ebp - 0x4ec], 0
cmp eax, 0x10
jb 0x425489
inc eax
lea ecx, [ebp - 0x4cc]
push eax
push dword [ebp - 0x4cc]
call fcn.0040f330
mov eax, dword [ebp - 0x4d0]
mov dword [ebp - 0x4b8], 0xf
mov dword [ebp - 0x4bc], 0
mov byte [ebp - 0x4cc], 0
cmp eax, 0x10
jb 0x4254c2
inc eax
lea ecx, [ebp - 0x4e4]
push eax
push dword [ebp - 0x4e4]
call fcn.0040f330
lea ecx, [ebp - 0x364]
call fcn.00408b70
lea eax, [ebp - 0x364]
mov dword [ebp - 4], 4
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0042f0f8
add esp, 4
xor al, al
jmp 0x42580a
lea eax, [ebp - 0x4b4]
mov dword [ebp - 0x4b4], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [ebp - 0x450]
mov dword [ebp - 0x474], eax
mov dword [ebp - 0x478], eax
xor eax, eax
mov word [ebp - 0x484], ax
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x4b4]
mov dword [ebp - 0x488], 0x101
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x42572a
push dword [ebp - 0x450]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x454]
call esi
push dword [ebp - 0x460]
call esi
push dword [ebp - 0x464]
call esi
push 0x98
lea eax, [ebp - 0x44c]
push 0
push eax
call fcn.004793f0
add esp, 4
lea ecx, [ebp - 0x44c]
call fcn.00408c30
mov dword [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, str.CreateProcess_Error:
lea ecx, [ebp - 0x44c]
call fcn.0040b820
mov edx, edi
mov ecx, eax
call fcn.0040b820
mov ecx, eax
call fcn.00409350
push 0x29
push str.CProcHelper::CreateProcessAndReturnResult
lea ecx, [ebp - 0x4e4]
mov dword [ebp - 0x4d0], 0xf
mov dword [ebp - 0x4d4], 0
mov byte [ebp - 0x4e4], 0
call fcn.0040f450
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4cc]
push 0xe
push str.ProcHelper.cpp
mov dword [ebp - 0x4b8], 0xf
mov dword [ebp - 0x4bc], 0
mov byte [ebp - 0x4cc], 0
call fcn.0040f450
lea eax, [ebp - 0x4fc]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x44c]
call fcn.00408b50
push eax
lea eax, [ebp - 0x4e4]
mov byte [ebp - 4], 8
push eax
push 0x23
lea eax, [ebp - 0x4cc]
push eax
push ecx
call fcn.0041f440
mov ecx, eax
call fcn.0041f910
mov eax, dword [ebp - 0x4e8]
cmp eax, 8
jb 0x425684
inc eax
lea ecx, [ebp - 0x4fc]
push eax
push dword [ebp - 0x4fc]
call fcn.0040f5b0
xor eax, eax
mov dword [ebp - 0x4e8], 7
mov word [ebp - 0x4fc], ax
mov eax, dword [ebp - 0x4b8]
mov dword [ebp - 0x4ec], 0
cmp eax, 0x10
jb 0x4256bf
inc eax
lea ecx, [ebp - 0x4cc]
push eax
push dword [ebp - 0x4cc]
call fcn.0040f330
mov eax, dword [ebp - 0x4d0]
mov dword [ebp - 0x4b8], 0xf
mov dword [ebp - 0x4bc], 0
mov byte [ebp - 0x4cc], 0
cmp eax, 0x10
jb 0x4256f8
inc eax
lea ecx, [ebp - 0x4e4]
push eax
push dword [ebp - 0x4e4]
call fcn.0040f330
lea ecx, [ebp - 0x3fc]
call fcn.00408b70
lea eax, [ebp - 0x3fc]
mov dword [ebp - 4], 9
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0042f0f8
add esp, 4
xor al, al
jmp 0x42580a
push 0xffffffffffffffff
push dword [ebp - 0x464]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x450]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
nop dword [eax]
push 0
lea eax, [ebp - 0x31c]
push eax
push 0x104
lea eax, [ebp - 0x118]
push eax
push dword [ebp - 0x454]
call esi
test eax, eax
jne 0x425750
push 0x200
push eax
lea eax, [ebp - 0x318]
push eax
call fcn.004793f0
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x318]
add esp, 0xc
push 0
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x118]
push eax
push 0
push 0
call esi
push eax
lea eax, [ebp - 0x318]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x118]
push eax
push 0
push 0
call esi
cmp word [ebp - 0x318], 0
jne 0x4257c9
xor ecx, ecx
jmp 0x4257e1
lea ecx, [ebp - 0x318]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4257d2
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x318]
mov ecx, ebx
push eax
call fcn.0040e610
push dword [ebp - 0x454]
call edi
push dword [ebp - 0x460]
call edi
push dword [ebp - 0x464]
call edi
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00475cda
mov esp, ebp
pop ebp
ret