Function at 0x41a125
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
xor esi, esi
push 0xfffffffffffffff5
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], 0xc
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x24], esi
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push esi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
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
jne 0x41a176
xor eax, eax
jmp 0x41a35a
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push esi
push esi
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], ebx
call edi
push eax
push dword [ebp - 8]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x41a1c3
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], esi
je 0x41a1b2
cmp dword [ebp - 8], ebx
je 0x41a1b2
push dword [ebp - 8]
call edi
mov dword [ebp - 8], ebx
cmp dword [ebp - 4], esi
je 0x41a16f
cmp dword [ebp - 4], ebx
je 0x41a16f
push dword [ebp - 4]
call edi
jmp 0x41a16f
cmp dword [ebp - 8], esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x41a1db
cmp dword [ebp - 8], ebx
je 0x41a1db
push dword [ebp - 8]
call esi
mov dword [ebp - 8], ebx
push 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x41a215
cmp dword [ebp - 4], eax
je 0x41a16f
cmp dword [ebp - 4], ebx
je 0x41a16f
push dword [ebp - 4]
call esi
jmp 0x41a16f
push 2
push 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], ebx
call edi
push eax
push dword [ebp - 0x14]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor edi, edi
test eax, eax
jne 0x41a284
cmp dword [ebp - 8], edi
je 0x41a249
cmp dword [ebp - 8], ebx
je 0x41a249
push dword [ebp - 8]
call esi
mov dword [ebp - 8], ebx
cmp dword [ebp - 4], edi
je 0x41a25b
cmp dword [ebp - 4], ebx
je 0x41a25b
push dword [ebp - 4]
call esi
mov dword [ebp - 4], ebx
cmp dword [ebp - 0xc], edi
je 0x41a26d
cmp dword [ebp - 0xc], ebx
je 0x41a26d
push dword [ebp - 0xc]
call esi
mov dword [ebp - 0xc], ebx
cmp dword [ebp - 0x14], edi
je 0x41a16f
cmp dword [ebp - 0x14], ebx
je 0x41a16f
push dword [ebp - 0x14]
jmp 0x41a20e
cmp dword [ebp - 0x14], edi
je 0x41a296
cmp dword [ebp - 0x14], ebx
je 0x41a296
push dword [ebp - 0x14]
call esi
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 4], ebx
je 0x41a2a9
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xc]
call fcn.0041a361
jmp 0x41a2ab
xor eax, eax
cmp eax, edi
jne 0x41a2ff
cmp dword [ebp - 0x10], edi
je 0x41a2c1
cmp dword [ebp - 0x10], ebx
je 0x41a2c1
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 4], edi
je 0x41a2d3
cmp dword [ebp - 4], ebx
je 0x41a2d3
push dword [ebp - 4]
call esi
mov dword [ebp - 4], ebx
cmp dword [ebp - 0xc], edi
je 0x41a2e5
cmp dword [ebp - 0xc], ebx
je 0x41a2e5
push dword [ebp - 0xc]
call esi
mov dword [ebp - 0xc], ebx
cmp dword [ebp - 0x18], edi
je 0x41a16f
cmp dword [ebp - 0x18], ebx
je 0x41a16f
push dword [ebp - 0x18]
jmp 0x41a20e
push dword [ebp - 0x1c]
lea edx, [ebp - 4]
lea ecx, [ebp - 0x10]
call fcn.0041a425
cmp dword [ebp - 0x10], 0
mov edi, eax
je 0x41a322
cmp dword [ebp - 0x10], ebx
je 0x41a322
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 4], 0
je 0x41a335
cmp dword [ebp - 4], ebx
je 0x41a335
push dword [ebp - 4]
call esi
mov dword [ebp - 4], ebx
cmp dword [ebp - 0xc], 0
je 0x41a348
cmp dword [ebp - 0xc], ebx
je 0x41a348
push dword [ebp - 0xc]
call esi
mov dword [ebp - 0xc], ebx
cmp dword [ebp - 0x18], 0
je 0x41a358
cmp dword [ebp - 0x18], ebx
je 0x41a358
push dword [ebp - 0x18]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4