Function at 0x4ed6b8
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc0
mov edi, dword [ebp + 8]
mov eax, dword [0x5a8564]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor ebx, ebx
dec ebx
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x4ed6ed
mov eax, dword [edi]
sub esp, 0x1c
movaps xmm0, xmmword [0x572b10]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x110000
call esi
mov dword [ebp - 0x1c], 0x5741b8
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
cmp eax, ebx
jne 0x4ed759
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x4ed820
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x4ed73e
mov eax, dword [edi]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x4ed860
lea ecx, [ebp - 0x1c]
call fcn.004c8f42
jmp 0x4ed6da
lea ecx, [ebp - 0xc8]
mov dword [ecx], 2
xor esi, esi
push esi
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x4ed89d
lea eax, [ebp - 0xcc]
mov dword [eax], esi
push esi
push eax
push 0xc
push dword [ebp + 0x10]
push 0x24
push dword [ebp + 0xc]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x4ed8d6
mov bl, 1
cmp dword [ebp - 0xcc], 0xc
je 0x4ed922
push 2
call fcn.0044f030
add esp, 4
test al, al
je 0x4ed920
lea esi, [ebp - 0xc4]
mov ecx, esi
push 2
push 0x8b
push str....._third_partycrashpadcrashpadutilwin_registration_protocol_win.cc
call fcn.0044f100
lea eax, [ebp - 0xbc]
push 0x1c
push str.TransactNamedPipe:_expected
push eax
call fcn.0040218b
add esp, 0xc
mov ecx, eax
push 0xc
call fcn.0040e8b0
push 0xb
push str.__observed
push eax
call fcn.0040218b
add esp, 0xc
mov ecx, eax
push dword [ebp - 0xcc]
call fcn.0040e8b0
mov ecx, esi
call fcn.0044f510
jmp 0x4ed920
push 2
call fcn.0044f030
add esp, 4
test al, al
je 0x4ed920
call fcn.0044ff30
lea esi, [ebp - 0xc4]
mov ecx, esi
push eax
push 2
push 0x6b
push str....._third_partycrashpadcrashpadutilwin_registration_protocol_win.cc
call fcn.004500d0
lea eax, [ebp - 0xbc]
push 0xa
push str.CreateFile
jmp 0x4ed910
push 2
call fcn.0044f030
add esp, 4
test al, al
je 0x4ed920
call fcn.0044ff30
lea esi, [ebp - 0xc4]
mov ecx, esi
push eax
push 2
push 0x70
push str....._third_partycrashpadcrashpadutilwin_registration_protocol_win.cc
call fcn.004500d0
lea eax, [ebp - 0xbc]
push 0xd
push str.WaitNamedPipe
jmp 0x4ed910
push 2
call fcn.0044f030
add esp, 4
test al, al
je 0x4ed920
call fcn.0044ff30
lea esi, [ebp - 0xc4]
mov ecx, esi
push eax
push 2
push 0x79
push str....._third_partycrashpadcrashpadutilwin_registration_protocol_win.cc
call fcn.004500d0
lea eax, [ebp - 0xbc]
push 0x17
push 0x5778c3
jmp 0x4ed910
push 2
call fcn.0044f030
add esp, 4
test al, al
je 0x4ed920
call fcn.0044ff30
lea esi, [ebp - 0xc4]
mov ecx, esi
push eax
push 2
push 0x87
push str....._third_partycrashpadcrashpadutilwin_registration_protocol_win.cc
call fcn.004500d0
lea eax, [ebp - 0xbc]
push 0x11
push 0x5778db
push eax
call fcn.0040218b
add esp, 0xc
mov ecx, esi
call fcn.00450180
xor ebx, ebx
lea ecx, [ebp - 0x1c]
call fcn.004c8f42
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005327f1
mov eax, ebx
add esp, 0xc0
pop esi
pop edi
pop ebx
pop ebp
ret