Function at 0x1000343b
Capabilities:
Connect pipe
Create pipe

Disassembly:
jmp 0x100c10d1
sub esp, 0x810
mov eax, dword [0x101844f8]
xor eax, esp
mov dword [esp + 0x80c], eax
mov eax, dword [esp + 0x81c]
push ebx
mov ebx, dword [esp + 0x81c]
push ebp
mov ebp, dword [esp + 0x81c]
push esi
mov esi, dword [esp + 0x830]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x82c]
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, dword [0x1018a768]
je 0x100c1127
call fcn.100c0690
test esi, esi
je 0x100c112e
mov byte [esi], 1
push 0x8000100
mov edi, 0x400
lea eax, [esp + 0x420]
push edi
push eax
push ebx
call sym.CoreFoundation.dll_CFStringGetCString
add esp, 0x10
test al, al
je 0x100c12a3
lea eax, [esp + 0x41c]
push eax
push str..pipe_s
lea eax, [esp + 0x24]
push edi
push eax
call fcn.10002a4a
add esp, 0x10
xor eax, eax
push eax
push 0x96
push eax
push eax
push 0xff
push 6
push 0x40000003
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov edi, eax
mov dword [esp + 0x14], edi
cmp edi, 0xffffffff
je 0x100c12a3
push edi
push esi
push dword [esp + 0x20]
push dword [esp + 0x1c]
push ebx
push ebp
call fcn.100c03e5
mov ebx, eax
or byte [ebx + 4], 0x10
call sym.CoreFoundation.dll_CFRunLoopGetCurrent
mov esi, eax
push esi
push dword [ebx + 0x18]
call sym.CoreFoundation.dll_CFDictionaryGetValue
mov ebp, eax
add esp, 0x20
test ebp, ebp
jne 0x100c127a
push 0x14
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov ebp, eax
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
and dword [ebp + 8], 0
and dword [ebp + 0xc], 0
push ebp
mov dword [ebp + 0x10], eax
push esi
push dword [ebx + 0x18]
call sym.CoreFoundation.dll_CFDictionarySetValue
add esp, 0xc
cmp dword [0x1018a770], 0
je 0x100c127a
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
xor esi, esi
push esi
push esi
call sym.CoreFoundation.dll_CFStringCreateWithFormat
add esp, 0x18
mov edi, eax
push dword [ebp + 0x10]
push str.Created_read_handle__x
call sym.CoreFoundation.dll___CFStringMakeConstantString
pop ecx
push eax
push esi
push esi
call sym.CoreFoundation.dll_CFStringCreateWithFormat
add esp, 0x10
mov esi, eax
push esi
push edi
push 0x1014c48c
call sym.CoreFoundation.dll___CFStringMakeConstantString
pop ecx
push eax
push 7
call sym.CoreFoundation.dll_CFLog
push edi
call sym.CoreFoundation.dll_CFRelease
push esi
call sym.CoreFoundation.dll_CFRelease
mov edi, dword [esp + 0x2c]
add esp, 0x18
push ebp
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x100c12be
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x218
je 0x100c12be
cmp eax, 0x3e5
je 0x100c12be
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x81c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000234c
add esp, 0x810
ret
cmp dword [0x1018a770], 0
je 0x100c1417
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 0
push 0
call sym.CoreFoundation.dll_CFStringCreateWithFormat
add esp, 0x18
mov edi, eax
test byte [ebx + 4], 0x10
mov dword [esp + 0x10], edi
je 0x100c130c
call sym.CoreFoundation.dll_CFRunLoopGetCurrent
mov esi, eax
jmp 0x100c130e
xor esi, esi
push esi
push dword [ebx + 0x18]
call sym.CoreFoundation.dll_CFDictionaryGetValue
mov ebp, eax
pop ecx
pop ecx
test ebp, ebp
jne 0x100c13cc
push 0x14
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov ebp, eax
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
and dword [ebp + 8], 0
and dword [ebp + 0xc], 0
push ebp
mov dword [ebp + 0x10], eax
push esi
push dword [ebx + 0x18]
call sym.CoreFoundation.dll_CFDictionarySetValue
add esp, 0xc
cmp dword [0x1018a770], 0
je 0x100c13cc
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
xor esi, esi
push esi
push esi
call sym.CoreFoundation.dll_CFStringCreateWithFormat
add esp, 0x18
mov edi, eax
push dword [ebp + 0x10]
push str.Created_read_handle__x
call sym.CoreFoundation.dll___CFStringMakeConstantString
pop ecx
push eax
push esi
push esi
call sym.CoreFoundation.dll_CFStringCreateWithFormat
add esp, 0x10
mov esi, eax
push esi
push edi
push 0x1014c48c
call sym.CoreFoundation.dll___CFStringMakeConstantString
pop ecx
push eax
push 7
call sym.CoreFoundation.dll_CFLog
push edi
call sym.CoreFoundation.dll_CFRelease
push esi
call sym.CoreFoundation.dll_CFRelease
mov edi, dword [esp + 0x28]
add esp, 0x18
lea eax, [esp + 0x1c]
push eax
push dword [ebp + 0x10]
push dword [esp + 0x1c]
push ebx
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 0
push 0
call sym.CoreFoundation.dll_CFStringCreateWithFormat
add esp, 0x1c
mov esi, eax
push esi
push edi
push 0x1014c48c
call sym.CoreFoundation.dll___CFStringMakeConstantString
pop ecx
push eax
push 7
call sym.CoreFoundation.dll_CFLog
push edi
call sym.CoreFoundation.dll_CFRelease
push esi
call sym.CoreFoundation.dll_CFRelease
add esp, 0x18
mov eax, ebx
jmp 0x100c12a5