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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push ebx
push esi
push edi
xor ebx, ebx
push 0x44
pop esi
push esi
lea eax, [ebp - 0x8c]
push ebx
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x30], 0xc
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x20], ebx
mov dword [ebp - 8], ebx
call sub.msvcrt.dll_memset
xor eax, eax
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_CreatePipe]
push ebx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
call edi
test eax, eax
jne 0x1000bcf8
xor eax, eax
jmp 0x1000be5d
push ebx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call edi
test eax, eax
je 0x1000be2e
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x54], eax
xor eax, eax
push 0x1001
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x60], 0x101
mov word [ebp - 0x5c], ax
call fcn.1000ac58
mov edi, eax
pop ecx
mov dword [ebp - 0x20], edi
cmp edi, ebx
je 0x1000bcf1
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [0x10039740]
push ebx
push ebx
push 0x8000000
push 1
push ebx
push ebx
push dword [ebp + 8]
push ebx
call dword [eax + 0x38]
test eax, eax
je 0x1000be2e
push dword [ebp - 0x10]
mov eax, dword [0x10039740]
call dword [eax + 0x30]
push dword [ebp - 0x14]
mov eax, dword [0x10039740]
call dword [eax + 0x30]
mov dword [ebp - 0x1c], ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [0x10039740]
push 0x1000
push edi
push dword [ebp - 0xc]
call dword [eax + 0x88]
mov esi, eax
mov eax, dword [ebp - 0x1c]
mov byte [eax + edi], bl
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x1000bdce
push ebx
push edi
push eax
mov dword [ebp - 0x24], eax
call fcn.1000b367
mov dword [ebp - 8], eax
lea eax, [ebp - 0x24]
push 0xffffffffffffffff
push eax
call fcn.1000ab81
add esp, 0x14
jmp 0x1000bdda
push edi
xor eax, eax
call fcn.1000b670
pop ecx
mov dword [ebp - 8], eax
cmp esi, ebx
jne 0x1000bd88
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
call fcn.1000acd6
pop ecx
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_IsTextUnicode]
test eax, eax
jne 0x1000be18
push dword [ebp - 8]
call fcn.1000b550
mov esi, eax
pop ecx
cmp esi, ebx
je 0x1000be18
lea eax, [ebp - 8]
push ebx
push eax
call fcn.1000ab81
pop ecx
pop ecx
mov eax, esi
jmp 0x1000be5d
push dword [ebp - 0x40]
mov eax, dword [0x10039740]
call dword [eax + 0x30]
push dword [ebp - 0x3c]
mov eax, dword [0x10039740]
call dword [eax + 0x30]
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.1000ab81
pop ecx
pop ecx
cmp dword [ebp - 0x18], ebx
je 0x1000be4a
push dword [ebp - 0x18]
mov eax, dword [0x10039740]
call dword [eax + 0x30]
cmp dword [ebp - 0xc], ebx
je 0x1000be5a
push dword [ebp - 0xc]
mov eax, dword [0x10039740]
call dword [eax + 0x30]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret