Function at 0x44afe6
Capabilities:
Connect pipe
Create pipe

Disassembly:
push 0x8c
mov eax, 0x4922df
call fcn.0045cda0
mov edi, ecx
xor ebx, ebx
lea eax, [ebp - 0x98]
push 0x14
push ebx
push eax
mov dword [ebp - 0x10], ebx
call sub.MSVCR120.dll_memset
add esp, 0xc
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.kernel32.dll_CreateEventA]
mov esi, eax
mov dword [ebp - 0x78], esi
mov eax, dword [edi + 4]
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], ebx
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
cmp esi, 0xffffffff
jne 0x44b073
push ebx
push esi
push str.Failed_to_create_connection
lea ecx, [ebp - 0x6c]
call fcn.00417813
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x54], vtable.RSException.0
call fcn.00413841
mov dword [ebp - 0x54], vtable.CMessageException.0
lea eax, [ebp - 0x54]
push 0x4b8b88
push eax
call sub.MSVCR120.dll__CxxThrowException
lea eax, [ebp - 0x84]
push eax
call fcn.0045e90c
pop ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x74], vtable.RSSecurityUtilsWin::CLocalFreeGuard.0
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 2
lea eax, [edi + 8]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00413841
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 3
call fcn.00418b99
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 4
call fcn.00418b99
lea ecx, [ebp - 0x84]
push ecx
push ebx
mov ecx, 0x1000
push ecx
push ecx
push 0xff
push 0xe
push 0x40000003
push eax
call dword [sym.imp.kernel32.dll_CreateNamedPipeA]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
mov ebx, eax
call fcn.0041394e
lea ecx, [ebp - 0x64]
call fcn.0041394e
cmp ebx, 0xffffffff
je 0x44b1f3
lea eax, [ebp - 0x98]
push eax
push ebx
call dword [sym.imp.kernel32.dll_ConnectNamedPipe]
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x217
jne 0x44b120
push dword [edi + 4]
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 4]
mov ebx, eax
jmp 0x44b18b
cmp eax, 0x3e5
jne 0x44b1dc
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x18]
push eax
push 2
call dword [sym.imp.kernel32.dll_WaitForMultipleObjects]
sub eax, 0
je 0x44b175
dec eax
jne 0x44b199
xor eax, eax
inc eax
xor ebx, ebx
mov dword [ebp - 0x10], eax
test eax, eax
je 0x44b091
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], bl
test eax, eax
je 0x44b164
push eax
call dword [sym.imp.kernel32.dll_LocalFree]
or dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
call fcn.0045cd6e
ret
push dword [edi + 4]
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 4]
push dword [ebp - 0x18]
mov ebx, eax
call dword [sym.imp.kernel32.dll_ResetEvent]
cmp dword [ebp - 0x10], 0
jne 0x44b143
test ebx, ebx
jne 0x44b143
mov eax, ebx
jmp 0x44b148
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
push 0
push 0xffffffffffffffff
push str.Bad_completion_event
lea ecx, [ebp - 0x50]
call fcn.00417813
mov byte [ebp - 4], 6
lea eax, [ebp - 0x50]
mov dword [ebp - 0x38], vtable.RSException.0
push eax
lea ecx, [ebp - 0x34]
call fcn.00413841
mov dword [ebp - 0x38], vtable.CMessageException.0
lea eax, [ebp - 0x38]
push 0x4b8b88
jmp 0x44b06d
push 0
push 0xffffffffffffffff
push str.Failed_to_create_connection
lea ecx, [ebp - 0x50]
call fcn.00417813
mov byte [ebp - 4], 7
jmp 0x44b1b5
push 0
push 0xffffffffffffffff
push str.Failed_to_create_connection
lea ecx, [ebp - 0x50]
call fcn.00417813
mov byte [ebp - 4], 5
jmp 0x44b1b5