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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0xfffffffffffffff5
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], 0xc
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 8]
or ebx, 0xffffffff
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x423a29
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push 0
push 0
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x10], ebx
call esi
mov edx, dword [ebp - 8]
push eax
push edx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
mov eax, dword [ebp - 8]
jne 0x423a34
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x423a1b
cmp eax, ebx
je 0x423a1b
push eax
call esi
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x423a29
cmp eax, ebx
je 0x423a29
push eax
call esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test eax, eax
je 0x423a4a
cmp eax, ebx
je 0x423a4a
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov dword [ebp - 8], ebx
jmp 0x423a50
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0xc]
push edx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x423a29
push 2
push 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], ebx
call esi
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x423adb
mov eax, dword [ebp - 8]
test eax, eax
je 0x423aa0
cmp eax, ebx
je 0x423aa0
push eax
call edi
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x423ab1
cmp eax, ebx
je 0x423ab1
push eax
call edi
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x423ac2
cmp eax, ebx
je 0x423ac2
push eax
call edi
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x423ad0
cmp eax, ebx
je 0x423ad0
push eax
call edi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x423aec
cmp eax, ebx
je 0x423aec
push eax
call edi
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp - 4]
cmp ecx, ebx
je 0x423b06
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 4]
call fcn.00423bb0
test eax, eax
jne 0x423b3e
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x423b1a
cmp eax, ebx
je 0x423b1a
push eax
call edi
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ebx
test ecx, ecx
je 0x423b28
cmp ecx, ebx
je 0x423b28
push ecx
call edi
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x423b39
cmp eax, ebx
je 0x423b39
push eax
call edi
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0x18]
jmp 0x423ac5
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 4]
lea edi, [ebp - 0x10]
call fcn.00423c80
mov edi, eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x423b68
cmp eax, ebx
je 0x423b68
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov dword [ebp - 0x10], ebx
jmp 0x423b6e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
test eax, eax
je 0x423b7f
cmp eax, ebx
je 0x423b7f
push eax
call esi
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x423b90
cmp eax, ebx
je 0x423b90
push eax
call esi
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x423b9e
cmp eax, ebx
je 0x423b9e
push eax
call esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4