Function at 0x1000d88a
Capabilities:
Connect pipe
Create pipe

Disassembly:
push 0xffffffffffffffff
push 0x10044fd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x38]
mov dword [esp + 0x14], esi
call fcn.10001000
lea ecx, [esp + 0x38]
mov dword [esp + 0x78], 0
call fcn.100013e0
mov eax, dword [0x10054f08]
mov ecx, 0x10054f08
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x6b0]
push ecx
lea edx, [esp + 0x14]
push str..pipe_s
push edx
mov byte [esp + 0x84], 1
call fcn.10006640
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.10006580
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
push eax
push eax
push 1
push eax
mov dword [esp + 0x44], eax
call ebx
mov edi, eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x34], edi
call fcn.10001020
mov ebp, dword [esp + 0x10]
push eax
push 0
push 0x1000
push 0x1000
push 0xff
push 6
push 0x40000003
push ebp
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000da69
jmp 0x1000d950
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x21c]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edx
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x1000d9a3
cmp eax, 0x3e5
je 0x1000d98a
test edi, edi
je 0x1000d962
jmp 0x1000d9a3
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x24]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x1000da56
push 0x18
mov dword [esp + 0x1c], 0
call fcn.100370d9
mov dword [eax], esi
mov ecx, dword [esp + 0x28]
lea edx, [eax + 4]
mov dword [edx], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x38]
mov dword [edx + 0x10], ecx
lea edx, [esp + 0x1c]
push edx
push 0
push eax
push 0x1000d850
push 0
push 0
call fcn.10037735
add esp, 0x1c
test eax, eax
je 0x1000d9fd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
push eax
push eax
push 1
push eax
mov dword [esp + 0x44], eax
call ebx
mov edi, eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x34], edi
call fcn.10001020
push eax
push 0
push 0x1000
push 0x1000
push 0xff
push 6
push 0x40000003
push ebp
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000d950
jmp 0x1000da69
cmp esi, 0xffffffff
je 0x1000da69
push esi
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x10]
mov byte [esp + 0x78], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
pop ebx
jg 0x1000da8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x28]
mov dword [esp + 0x68], 0xffffffff
call fcn.10001500
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret