Function at 0x45a09d
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 0x45a177
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 4], ebx
je 0x45a112
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x45a11c
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x45a126
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x45a130
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x45a13a
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x45a144
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x45a14e
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.0043a05d
add esp, 0x18
xor al, al
jmp 0x45a473
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 0x45a1fc
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
or ebx, 0xffffffff
cmp dword [ebp - 4], ebx
je 0x45a1af
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x45a1b9
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x45a1c3
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x45a1cd
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x45a1d7
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x45a1e1
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x45a1eb
push dword [ebp - 0x14]
call esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x290
jmp 0x45a3c4
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 0x45a273
or ebx, 0xffffffff
cmp dword [ebp - 4], ebx
je 0x45a226
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x45a230
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x45a23a
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x45a244
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x45a24e
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x45a258
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x45a262
push dword [ebp - 0x14]
call esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x2a6
jmp 0x45a3c4
push dword [ebp - 4]
call esi
test eax, eax
jne 0x45a2d6
or ebx, 0xffffffff
cmp dword [ebp - 4], ebx
je 0x45a289
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x45a293
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x45a29d
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x45a2a7
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x45a2b1
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x45a2bb
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x45a2c5
push dword [ebp - 0x14]
call esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x2b5
jmp 0x45a42e
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 0x45a356
or ebx, 0xffffffff
cmp dword [ebp - 4], ebx
je 0x45a2ff
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x45a309
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x45a313
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x45a31d
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x45a327
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x45a331
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x45a33b
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 0x45a438
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 0x45a3d0
or ebx, 0xffffffff
cmp dword [ebp - 4], ebx
je 0x45a37c
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x45a386
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x45a390
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x45a39a
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x45a3a4
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x45a3ae
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x45a3b8
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 0x45a438
push dword [ebp - 8]
call esi
test eax, eax
jne 0x45a448
or ebx, 0xffffffff
cmp dword [ebp - 4], ebx
je 0x45a3e6
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], ebx
je 0x45a3f0
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], ebx
je 0x45a3fa
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x18], ebx
je 0x45a404
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0x1c], ebx
je 0x45a40e
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 8], ebx
je 0x45a418
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x14], ebx
je 0x45a422
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.0043a05d
add esp, 0x18
xor al, al
jmp 0x45a472
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