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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1007b00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x28], 0xc
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x20], 1
push eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 8], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x1002bd05
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea eax, [ebp - 0x10]
push 2
push 0
push 0
push eax
mov dword [ebp - 0x10], 0xffffffff
call edi
push eax
push dword [ebp - 0xc]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
mov eax, dword [ebp - 0xc]
jne 0x1002bd19
test eax, eax
je 0x1002bcf6
cmp eax, 0xffffffff
je 0x1002bcf6
push eax
call esi
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 8]
test eax, eax
je 0x1002bd05
cmp eax, 0xffffffff
je 0x1002bd05
push eax
call esi
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005b6db
mov esp, ebp
pop ebp
ret 4
test eax, eax
je 0x1002bd2c
cmp eax, 0xffffffff
je 0x1002bd2c
push eax
call esi
mov dword [ebp - 0xc], 0xffffffff
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], 0xffffffff
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0xffffffff
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x1002bda5
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1002bd68
cmp eax, 0xffffffff
je 0x1002bd68
push eax
call esi
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 8]
test eax, eax
je 0x1002bd7e
cmp eax, 0xffffffff
je 0x1002bd7e
push eax
call esi
mov dword [ebp - 8], 0xffffffff
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1002bd05
cmp eax, 0xffffffff
je 0x1002bd05
push eax
call esi
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005b6db
mov esp, ebp
pop ebp
ret 4
push 2
push 0
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0xffffffff
push eax
call edi
push eax
push dword [ebp - 0x18]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x1002be50
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1002bde3
cmp eax, 0xffffffff
je 0x1002bde3
push eax
call esi
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 8]
test eax, eax
je 0x1002bdf9
cmp eax, 0xffffffff
je 0x1002bdf9
push eax
call esi
mov dword [ebp - 8], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1002be0f
cmp eax, 0xffffffff
je 0x1002be0f
push eax
call esi
mov dword [ebp - 0x14], 0xffffffff
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1002be25
cmp eax, 0xffffffff
je 0x1002be25
push eax
call esi
mov dword [ebp - 0x18], 0xffffffff
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1002bd05
cmp eax, 0xffffffff
je 0x1002bd05
push eax
call esi
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005b6db
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1002be66
cmp eax, 0xffffffff
je 0x1002be66
push eax
call esi
mov dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
call fcn.1002bf60
test eax, eax
jne 0x1002bee4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1002be8d
cmp eax, 0xffffffff
je 0x1002be8d
push eax
call esi
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 8]
test eax, eax
je 0x1002bea3
cmp eax, 0xffffffff
je 0x1002bea3
push eax
call esi
mov dword [ebp - 8], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1002beb9
cmp eax, 0xffffffff
je 0x1002beb9
push eax
call esi
mov dword [ebp - 0x14], 0xffffffff
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1002bd05
cmp eax, 0xffffffff
je 0x1002bd05
push eax
call esi
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005b6db
mov esp, ebp
pop ebp
ret 4
push ecx
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1002c040
mov ecx, dword [ebp - 0x10]
mov edi, eax
test ecx, ecx
je 0x1002bf0d
cmp ecx, 0xffffffff
je 0x1002bf0d
push ecx
call esi
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 8]
test eax, eax
je 0x1002bf23
cmp eax, 0xffffffff
je 0x1002bf23
push eax
call esi
mov dword [ebp - 8], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1002bf39
cmp eax, 0xffffffff
je 0x1002bf39
push eax
call esi
mov dword [ebp - 0x14], 0xffffffff
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1002bf48
cmp eax, 0xffffffff
je 0x1002bf48
push eax
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.1005b6db
mov esp, ebp
pop ebp
ret 4