Function at 0x4548a0
Capabilities:
Connect pipe
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb534
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push esi
push edi
mov eax, dword [0x6522a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4548ea
mov dword [edi + 0x24], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 8]
mov eax, dword [edi + 0x48]
mov ecx, dword [edi + 0x4c]
push 0
sub ecx, eax
sar ecx, 2
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ecx, dword [edi + 0x4c]
sub ecx, dword [edi + 0x48]
sar ecx, 2
mov dword [ebp - 0x14], eax
cmp eax, ecx
jbe 0x454930
cmp eax, 0xffffffff
je 0x454ae5
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
lea ecx, [eax*4]
mov eax, dword [edi + 0x28]
push 0x24
mov dword [ebp - 0x10], ecx
mov eax, dword [eax + ecx]
mov dword [ebp + 8], eax
call fcn.005927e6
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x45499c
mov ecx, esi
call fcn.0045ee70
mov eax, dword [ebp + 8]
mov dword [esi], vtable.p2ptoolkit::NamedPipeIO.0
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
jmp 0x45499e
xor esi, esi
push 0
push 0
push 0x2800
push 0x2800
push 0xff
push 6
push 0x40000003
lea ecx, [edi + 0x54]
mov dword [ebp - 4], 0xffffffff
call fcn.00453230
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edi + 0x28]
mov dword [ecx + edx], eax
mov eax, dword [edi + 0x28]
cmp dword [eax + edx], 0xffffffff
je 0x454b3b
mov eax, dword [ebp - 0x14]
lea ecx, [edi + 0x3c]
mov dword [ebp - 0x18], ecx
lea edx, [eax + eax*4]
mov eax, dword [ecx]
shl edx, 2
mov dword [ebp + 8], edx
push dword [eax + edx + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x3c]
xorps xmm0, xmm0
add eax, dword [ebp + 8]
push 0
push 0
push 1
movups xmmword [eax], xmm0
push 0
mov dword [eax + 0x10], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [edi + 0x3c]
add ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x3c]
add eax, dword [ebp - 0x10]
add ecx, dword [ebp + 8]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x454a6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
cmp eax, 0x3e5
je 0x454a6c
cmp eax, 0x217
jne 0x454a94
mov eax, dword [edi + 0x3c]
mov ecx, dword [ebp + 8]
push dword [ecx + eax + 0x10]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [edi + 0x3c]
mov eax, dword [ebp + 8]
mov edx, dword [edi + 0x48]
mov ecx, dword [eax + ecx + 0x10]
mov eax, dword [ebp - 0x10]
mov dword [eax + edx], ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
call fcn.00454700
mov eax, dword [eax + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x2c
lea eax, [ebp - 0x34]
push str.C:Devgit_toolkitlibs_base_namedpipeio.cpp
push eax
call fcn.00448a50
mov esi, eax
push 0xc
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 5
push str.ENamedPipeIO
push eax
call fcn.00448a50
add esp, 0x18
push 0x1c9
push esi
push eax
push dword [ebp - 0x1c]
mov byte [ebp - 4], 6
jmp 0x454b25
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x2c
mov edi, eax
lea eax, [ebp - 0x28]
push str.C:Devgit_toolkitlibs_base_namedpipeio.cpp
push eax
call fcn.00448a50
mov esi, eax
push 0xc
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push str.ENamedPipeIO
push eax
call fcn.00448a50
add esp, 0x18
push 0x1ae
push esi
push eax
mov byte [ebp - 4], 1
push edi
lea ecx, [ebp - 0x58]
call fcn.00454150
push 0x63fe6c
lea eax, [ebp - 0x58]
push eax
call fcn.00594600
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x2c
mov edi, eax
lea eax, [ebp - 0x34]
push str.C:Devgit_toolkitlibs_base_namedpipeio.cpp
push eax
call fcn.00448a50
mov esi, eax
push 0xc
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 3
push str.ENamedPipeIO
push eax
call fcn.00448a50
add esp, 0x18
push 0x1b8
push esi
push eax
push edi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.00454150
push 0x63fe6c
lea eax, [ebp - 0x58]
push eax
call fcn.00594600
int3