Function at 0x45a225
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 0x45a2ff
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 4], ebx
je 0x45a29a
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x45a2a4
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x45a2ae
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x45a2b8
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x45a2c2
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x45a2cc
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x45a2d6
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.0043a0a0
add esp, 0x18
xor al, al
jmp 0x45a5fb
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 0x45a384
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
or ebx, 0xffffffff
cmp dword [ebp - 4], ebx
je 0x45a337
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x45a341
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x45a34b
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x45a355
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x45a35f
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x45a369
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x45a373
push dword [ebp - 0x14]
call esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x290
jmp 0x45a54c
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 0x45a3fb
or ebx, 0xffffffff
cmp dword [ebp - 4], ebx
je 0x45a3ae
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x45a3b8
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x45a3c2
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x45a3cc
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x45a3d6
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x45a3e0
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x45a3ea
push dword [ebp - 0x14]
call esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x2a6
jmp 0x45a54c
push dword [ebp - 4]
call esi
test eax, eax
jne 0x45a45e
or ebx, 0xffffffff
cmp dword [ebp - 4], ebx
je 0x45a411
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x45a41b
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x45a425
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x45a42f
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x45a439
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x45a443
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x45a44d
push dword [ebp - 0x14]
call esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x2b5
jmp 0x45a5b6
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 0x45a4de
or ebx, 0xffffffff
cmp dword [ebp - 4], ebx
je 0x45a487
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x45a491
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x45a49b
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x45a4a5
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x45a4af
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x45a4b9
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x45a4c3
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 0x45a5c0
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 0x45a558
or ebx, 0xffffffff
cmp dword [ebp - 4], ebx
je 0x45a504
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x45a50e
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x45a518
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x45a522
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x45a52c
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x45a536
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x45a540
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 0x45a5c0
push dword [ebp - 8]
call esi
test eax, eax
jne 0x45a5d0
or ebx, 0xffffffff
cmp dword [ebp - 4], ebx
je 0x45a56e
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x45a578
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x45a582
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x45a58c
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x45a596
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x45a5a0
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x45a5aa
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.0043a0a0
add esp, 0x18
xor al, al
jmp 0x45a5fa
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