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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
or ebx, 0xffffffff
mov dword [ebp - 0x20], ecx
mov eax, edx
mov dword [ecx], ebx
mov dword [ebp - 0x24], eax
push esi
xor esi, esi
mov dword [ebp - 0x30], 0xc
mov dword [eax], ebx
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], 1
mov dword [eax], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [eax], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ebx
mov dword [eax], ebx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x14], ebx
push eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
test eax, eax
jne 0x459ed9
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 4], ebx
je 0x459e74
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x459e7e
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x459e88
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x459e92
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x459e9c
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x459ea6
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x459eb0
push dword [ebp - 0x14]
call esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x27d
push str.CreateSubprocessPipes
push str._s:_d___CreatePipe_failed___d_
push 0
push 0
call fcn.00439ccd
add esp, 0x18
xor al, al
jmp 0x45a1d5
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
lea eax, [ebp - 0x18]
push 2
push 1
push esi
push eax
call edi
push eax
push dword [ebp - 0xc]
call edi
mov ebx, dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
push eax
call ebx
test eax, eax
jne 0x459f5e
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
or ebx, 0xffffffff
cmp dword [ebp - 4], ebx
je 0x459f11
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x459f1b
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x459f25
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x459f2f
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x459f39
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x459f43
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x459f4d
push dword [ebp - 0x14]
call esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x290
jmp 0x45a126
push 2
push esi
push esi
lea eax, [ebp - 0x10]
push eax
call edi
push eax
push dword [ebp - 4]
call edi
push eax
call ebx
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
test eax, eax
jne 0x459fd5
or ebx, 0xffffffff
cmp dword [ebp - 4], ebx
je 0x459f88
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x459f92
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x459f9c
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x459fa6
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x459fb0
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x459fba
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x459fc4
push dword [ebp - 0x14]
call esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x2a6
jmp 0x45a126
push dword [ebp - 4]
call esi
test eax, eax
jne 0x45a038
or ebx, 0xffffffff
cmp dword [ebp - 4], ebx
je 0x459feb
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x459ff5
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x459fff
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x45a009
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x45a013
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x45a01d
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x45a027
push dword [ebp - 0x14]
call esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x2b5
jmp 0x45a190
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x30]
push 0
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
test eax, eax
jne 0x45a0b8
or ebx, 0xffffffff
cmp dword [ebp - 4], ebx
je 0x45a061
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x45a06b
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x45a075
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x45a07f
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x45a089
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x45a093
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x45a09d
push dword [ebp - 0x14]
call esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x2c4
push str.CreateSubprocessPipes
push str._s:_d___CreatePipe_failed___d_
jmp 0x45a19a
push 2
push 0
push 0
lea eax, [ebp - 0x14]
push eax
call edi
push eax
push dword [ebp - 8]
call edi
push eax
call ebx
test eax, eax
jne 0x45a132
or ebx, 0xffffffff
cmp dword [ebp - 4], ebx
je 0x45a0de
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x45a0e8
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x45a0f2
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x45a0fc
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x45a106
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x45a110
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x45a11a
push dword [ebp - 0x14]
call esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x2d7
push str.CreateSubprocessPipes
push str._s:_d___DuplicateHandle_failed___d_
jmp 0x45a19a
push dword [ebp - 8]
call esi
test eax, eax
jne 0x45a1aa
or ebx, 0xffffffff
cmp dword [ebp - 4], ebx
je 0x45a148
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x45a152
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x45a15c
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x45a166
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x45a170
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x45a17a
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x45a184
push dword [ebp - 0x14]
call esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x2e6
push str.CreateSubprocessPipes
push str._s:_d___CloseHandle_failed___d_
push 0
push 0
call fcn.00439ccd
add esp, 0x18
xor al, al
jmp 0x45a1d4
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
mov dword [edx], ecx
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
mov dword [edx], ecx
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret