Function at 0x10002ecd
Capabilities:
Connect pipe
Create pipe

Disassembly:
jmp 0x100b993c
push ebp
lea ebp, [esp - 0x794]
sub esp, 0x814
mov eax, dword [0x10178af8]
xor eax, ebp
mov dword [ebp + 0x790], eax
mov eax, dword [ebp + 0x79c]
push ebx
mov ebx, dword [ebp + 0x7ac]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x7a4]
push esi
mov esi, dword [ebp + 0x7a0]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x7a8]
push edi
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, dword [0x1017ebe0]
je 0x100b9994
call fcn.100b97cd
xor edi, edi
cmp ebx, edi
je 0x100b999d
mov byte [ebx], 1
push 0x8000100
push 0x400
lea eax, [ebp - 0x70]
push eax
push esi
call sym.CoreFoundation.dll_CFStringGetCString
add esp, 0x10
test al, al
jne 0x100b99bf
xor eax, eax
jmp 0x100b9c7d
lea eax, [ebp - 0x70]
push eax
push str..pipe_s
lea eax, [ebp + 0x390]
push 0x400
push eax
call dword [0x10181004]
add esp, 0x10
push edi
push 0x96
push edi
push edi
push 0xff
push 6
push 0x40000003
lea eax, [ebp + 0x390]
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov dword [ebp - 0x80], eax
cmp eax, 0xffffffff
je 0x100b99b8
push eax
push ebx
push dword [ebp - 0x7c]
push esi
push dword [ebp - 0x74]
mov esi, dword [ebp - 0x78]
call fcn.100b9137
mov esi, eax
or byte [esi + 4], 0x10
add esp, 0x14
test byte [esi + 4], 0x10
je 0x100b9a30
call sym.CoreFoundation.dll_CFRunLoopGetCurrent
mov dword [ebp - 0x74], eax
jmp 0x100b9a33
mov dword [ebp - 0x74], edi
push dword [ebp - 0x74]
push dword [esi + 0x18]
call sym.CoreFoundation.dll_CFDictionaryGetValue
mov ebx, eax
pop ecx
pop ecx
cmp ebx, edi
jne 0x100b9af2
push 0x14
call dword [0x10181090]
pop ecx
push edi
push edi
push edi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push dword [ebp - 0x74]
mov dword [ebx + 0x10], eax
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
push dword [esi + 0x18]
call sym.CoreFoundation.dll_CFDictionarySetValue
add esp, 0xc
cmp dword [0x1017ebe8], edi
je 0x100b9af2
call sym.CoreFoundation.dll__CFGetProgname
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call sym.CoreFoundation.dll_CFRunLoopGetCurrent
push eax
push str._p__d___s_
call sym.CoreFoundation.dll___CFStringMakeConstantString
pop ecx
push eax
push edi
push edi
call sym.CoreFoundation.dll_CFStringCreateWithFormat
add esp, 0x18
push dword [ebx + 0x10]
mov dword [ebp - 0x74], eax
push str.Created_read_handle__x
call sym.CoreFoundation.dll___CFStringMakeConstantString
pop ecx
push eax
push edi
push edi
call sym.CoreFoundation.dll_CFStringCreateWithFormat
add esp, 0x10
push eax
push dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
push 0x101400b8
call sym.CoreFoundation.dll___CFStringMakeConstantString
pop ecx
push eax
push 7
call sym.CoreFoundation.dll_CFLog
push dword [ebp - 0x74]
call sym.CoreFoundation.dll_CFRelease
push dword [ebp - 0x78]
call sym.CoreFoundation.dll_CFRelease
add esp, 0x18
push ebx
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x100b9b22
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x218
je 0x100b9b22
cmp eax, 0x3e5
je 0x100b9b22
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100b99b8
cmp dword [0x1017ebe8], edi
je 0x100b9c7b
call sym.CoreFoundation.dll__CFGetProgname
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call sym.CoreFoundation.dll_CFRunLoopGetCurrent
push eax
push str._p__d___s_
call sym.CoreFoundation.dll___CFStringMakeConstantString
pop ecx
push eax
push edi
push edi
call sym.CoreFoundation.dll_CFStringCreateWithFormat
add esp, 0x18
test byte [esi + 4], 0x10
mov dword [ebp - 0x7c], eax
je 0x100b9b6b
call sym.CoreFoundation.dll_CFRunLoopGetCurrent
mov dword [ebp - 0x74], eax
jmp 0x100b9b6e
mov dword [ebp - 0x74], edi
push dword [ebp - 0x74]
push dword [esi + 0x18]
call sym.CoreFoundation.dll_CFDictionaryGetValue
mov ebx, eax
pop ecx
pop ecx
cmp ebx, edi
jne 0x100b9c2d
push 0x14
call dword [0x10181090]
pop ecx
push edi
push edi
push edi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push dword [ebp - 0x74]
mov dword [ebx + 0x10], eax
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
push dword [esi + 0x18]
call sym.CoreFoundation.dll_CFDictionarySetValue
add esp, 0xc
cmp dword [0x1017ebe8], edi
je 0x100b9c2d
call sym.CoreFoundation.dll__CFGetProgname
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call sym.CoreFoundation.dll_CFRunLoopGetCurrent
push eax
push str._p__d___s_
call sym.CoreFoundation.dll___CFStringMakeConstantString
pop ecx
push eax
push edi
push edi
call sym.CoreFoundation.dll_CFStringCreateWithFormat
add esp, 0x18
push dword [ebx + 0x10]
mov dword [ebp - 0x74], eax
push str.Created_read_handle__x
call sym.CoreFoundation.dll___CFStringMakeConstantString
pop ecx
push eax
push edi
push edi
call sym.CoreFoundation.dll_CFStringCreateWithFormat
add esp, 0x10
push eax
push dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
push 0x101400b8
call sym.CoreFoundation.dll___CFStringMakeConstantString
pop ecx
push eax
push 7
call sym.CoreFoundation.dll_CFLog
push dword [ebp - 0x74]
call sym.CoreFoundation.dll_CFRelease
push dword [ebp - 0x78]
call sym.CoreFoundation.dll_CFRelease
add esp, 0x18
lea eax, [ebp + 0x390]
push eax
push dword [ebx + 0x10]
push dword [ebp - 0x80]
push esi
push str.created_pipe__x_with_handle__x_with_read_handle__x_serving_name__s
call sym.CoreFoundation.dll___CFStringMakeConstantString
pop ecx
push eax
push edi
push edi
call sym.CoreFoundation.dll_CFStringCreateWithFormat
add esp, 0x1c
mov edi, eax
push edi
push dword [ebp - 0x7c]
push 0x101400b8
call sym.CoreFoundation.dll___CFStringMakeConstantString
pop ecx
push eax
push 7
call sym.CoreFoundation.dll_CFLog
push dword [ebp - 0x7c]
call sym.CoreFoundation.dll_CFRelease
push edi
call sym.CoreFoundation.dll_CFRelease
add esp, 0x18
mov eax, esi
mov ecx, dword [ebp + 0x790]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10128382
add ebp, 0x794
leave
ret