Function at 0x10002ebe
Capabilities:
Create pipe

Disassembly:
jmp 0x100b98fb
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 0x100b9953
call fcn.100b978c
xor edi, edi
cmp ebx, edi
je 0x100b995c
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 0x100b997e
xor eax, eax
jmp 0x100b9c3c
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 0x100b9977
push eax
push ebx
push dword [ebp - 0x7c]
push esi
push dword [ebp - 0x74]
mov esi, dword [ebp - 0x78]
call fcn.100b90f6
mov esi, eax
or byte [esi + 4], 0x10
add esp, 0x14
test byte [esi + 4], 0x10
je 0x100b99ef
call sym.CoreFoundation.dll_CFRunLoopGetCurrent
mov dword [ebp - 0x74], eax
jmp 0x100b99f2
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 0x100b9ab1
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 0x100b9ab1
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 0x100b9ae1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x218
je 0x100b9ae1
cmp eax, 0x3e5
je 0x100b9ae1
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100b9977
cmp dword [0x1017ebe8], edi
je 0x100b9c3a
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 0x100b9b2a
call sym.CoreFoundation.dll_CFRunLoopGetCurrent
mov dword [ebp - 0x74], eax
jmp 0x100b9b2d
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 0x100b9bec
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 0x100b9bec
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.10128342
add ebp, 0x794
leave
ret