Function at 0x100453ca
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100751e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x50], esi
xor ecx, ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], edx
mov word [ebp - 0x1c], cx
cmp dword [esi + 0x18], edx
je 0x10045529
mov ebx, str.Not_Available
push ebx
call fcn.10002800
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x1c]
call fcn.10005d60
xor eax, eax
push eax
push eax
push eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_GetNamedPipeInfo]
mov eax, dword [ebp - 0x4c]
xor ebx, ebx
mov ecx, eax
inc ebx
and ecx, ebx
mov dword [ebp - 0x44], ecx
je 0x1004544b
test byte [ebp - 0x48], bl
je 0x10045455
test al, 2
je 0x1004549b
test byte [ebp - 0x48], 1
je 0x1004549b
call fcn.100032a0
cmp eax, ebx
jg 0x10045495
push ebx
push 0xfb
push str.e:core_45_srcipcipc_channel_win.cc
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x40], 8
call fcn.10003310
push dword [ebp - 0x4c]
add eax, 8
push str.Inconsistent_open_mode._Mode_:
push eax
call fcn.10002510
pop ecx
pop ecx
mov ecx, eax
call fcn.10004160
test byte [ebp - 0x40], 8
jmp 0x1004550b
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea eax, [ebp - 0x3c]
push 2
push 0
push 0
push eax
call esi
push eax
mov eax, dword [ebp - 0x50]
push dword [eax + 0x18]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x10045521
call fcn.100032a0
cmp eax, ebx
jg 0x10045507
push ebx
push 0x106
push str.e:core_45_srcipcipc_channel_win.cc
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x40], 0x10
call fcn.10003310
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esi + 8]
push str.DuplicateHandle_failed._Error_:
push eax
call fcn.10002510
pop ecx
pop ecx
mov ecx, eax
call fcn.10004260
test byte [ebp - 0x40], 0x10
je 0x100456a9
lea ecx, [ebp - 0x100]
call fcn.10003360
jmp 0x100456a9
push dword [ebp - 0x3c]
jmp 0x100455f6
xor ebx, ebx
mov ecx, eax
inc ebx
and ecx, ebx
mov dword [ebp - 0x44], ecx
je 0x1004559e
lea eax, [edi + 0x1084]
push eax
lea eax, [ebp - 0x34]
push esi
push eax
call fcn.100459ea
lea ecx, [ebp - 0x1c]
add esp, 0xc
cmp ecx, eax
je 0x1004555a
push 0xffffffffffffffff
push 0
push eax
call fcn.10004e70
push 0
push ebx
lea ecx, [ebp - 0x34]
call fcn.10002010
xor edx, edx
mov ecx, 0x1000
cmp dword [edi + 0x1084], edx
push edx
push 0x1388
push ecx
push ecx
setne al
cmp dword [ebp - 8], 8
push ebx
mov byte [edi + 0x107e], al
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push edx
push 0x40080003
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
jmp 0x100455f5
test al, 2
je 0x10045601
lea eax, [edi + 0x1084]
push eax
lea eax, [ebp - 0x34]
push esi
push eax
call fcn.100459ea
lea ecx, [ebp - 0x1c]
add esp, 0xc
cmp ecx, eax
je 0x100455c7
push 0xffffffffffffffff
push 0
push eax
call fcn.10004e70
push 0
push ebx
lea ecx, [ebp - 0x34]
call fcn.10002010
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
xor ecx, ecx
push ecx
push 0x40100000
push 3
push ecx
push ecx
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
lea ecx, [edi + 0x1060]
call fcn.10010b40
push dword [edi + 0x1060]
call fcn.10010880
pop ecx
test al, al
jne 0x100456af
call fcn.100032a0
mov esi, 0x100
cmp eax, ebx
jg 0x10045699
mov dword [ebp - 0x40], esi
call sub.KERNEL32.dll_GetLastError
push eax
push ebx
push 0x129
push str.e:core_45_srcipcipc_channel_win.cc
lea ecx, [ebp - 0x108]
call fcn.10003b10
add eax, 0x10
push str.Unable_to_create_pipe__
push eax
call fcn.10002510
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x1c]
push ecx
push eax
call fcn.10003bf0
add esp, 0x10
mov edx, str.client
cmp dword [ebp - 0x44], 0
mov ecx, str.server
cmove ecx, edx
push str._mode
push ecx
push str.__in
push eax
call fcn.10002510
pop ecx
pop ecx
push eax
call fcn.10002510
pop ecx
pop ecx
push eax
call fcn.10002510
pop ecx
pop ecx
test dword [ebp - 0x40], esi
je 0x100456a9
lea ecx, [ebp - 0x108]
call fcn.10003b70
mov byte [ebp - 0x35], 0
jmp 0x10045725
push 0x1c
call fcn.10049954
pop ecx
test eax, eax
je 0x100456cf
push 2
push 0xffff
push 0xfffffffffffffffe
mov ecx, eax
call fcn.10044d46
mov esi, eax
jmp 0x100456d1
xor esi, esi
cmp byte [edi + 0x107e], 0
je 0x100456de
xor eax, eax
jmp 0x100456e4
mov eax, dword [edi + 0x1084]
mov dword [ebp - 0x44], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x3c], eax
mov ecx, esi
lea eax, [ebp - 0x3c]
push eax
call fcn.100150f0
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x10045710
mov dword [ebp - 0x3c], eax
mov ecx, esi
lea eax, [ebp - 0x3c]
push eax
call fcn.100150f0
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], esi
push eax
lea ecx, [edi + 0x1068]
call fcn.10044c49
mov byte [ebp - 0x35], bl
push 0
push ebx
lea ecx, [ebp - 0x1c]
call fcn.10002010
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x35]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1004a139
mov esp, ebp
pop ebp
ret 8