Function at 0x459150
Capabilities:
Create pipe
Create two anonymous pipes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d85e8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x513330]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
lea ebx, [edi + 0x70]
push str.____________________Entrance____________________
lea ecx, [ebp - 0x28]
mov eax, ebx
push ecx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], str.PreparePipes
call fcn.00471a00
add esp, 0xc
xor eax, eax
push eax
lea edx, [ebp - 0x34]
lea esi, [edi + 0xd4]
push edx
mov dword [ebp - 4], eax
mov byte [ebp - 4], 1
push esi
add edi, 0xd0
push edi
mov dword [ebp - 0x34], 0xc
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x459213
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_CreatePipe_StdOut_._err_d.
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.00471980
mov ecx, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x10
push ecx
call ebx
mov edx, dword [esi]
push edx
call ebx
mov dword [esi], 0
mov dword [edi], 0
jmp 0x459256
mov eax, dword [edi]
push 0
push 1
push eax
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x459250
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_SetHandleInformation___err_d.
lea ecx, [ebp - 0x28]
push ecx
push ebx
call fcn.00471980
mov edx, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x10
push edx
call ebx
mov dword [edi], 0
jmp 0x459256
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 8]
push 0
lea ecx, [ebp - 0x34]
push ecx
add esi, 0xd8
add eax, 0xdc
push esi
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x4592b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0x1c]
push str.Failed_to_CreatePipe_StdIn_._err_d.
lea edx, [ebp - 0x28]
push edx
push eax
call fcn.00471980
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
add esp, 0x10
push edx
call ebx
mov eax, dword [esi]
push eax
call ebx
mov ecx, dword [ebp - 0x18]
mov dword [ecx], 0
jmp 0x4592e2
mov edx, dword [esi]
push 0
push 1
push edx
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x4592e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1c]
push eax
push str.Failed_to_SetHandleInformation___err_d.
lea eax, [ebp - 0x28]
push eax
push ecx
call fcn.00471980
mov edx, dword [esi]
add esp, 0x10
push edx
call ebx
mov dword [esi], 0
mov eax, dword [esi]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
push eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push edx
mov edx, dword [edi]
push ecx
mov ecx, dword [ebp - 0x1c]
push edx
push str.Exiting_with_m_hStdOutRead_d__m_hStdOutWrite_d__m_hStdInRead_d__m_hStdInWrite_d
lea eax, [ebp - 0x28]
push eax
push ecx
call fcn.004719c0
add esp, 0x1c
push str.______________________Exit______________________
lea edx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
push edx
push eax
call fcn.00471a00
add esp, 0xc
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4