Function at 0x48fc44
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
push ebx
xor eax, eax
push esi
mov ebx, eax
push edi
mov dword [ebp - 4], ebx
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 8
jb 0x48fc64
mov ecx, dword [edi]
jmp 0x48fc66
mov ecx, edi
push eax
push 0x110000
push 3
push eax
push eax
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x48fd33
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x48fcf1
cmp dword [edi + 0x14], 8
jb 0x48fc9e
mov eax, dword [edi]
jmp 0x48fca0
mov eax, edi
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
push 0
test eax, eax
pop eax
jne 0x48fc5a
push 2
pop edi
push edi
call fcn.00432780
pop ecx
test al, al
je 0x48fce9
call sub.KERNEL32.dll_GetLastError
push eax
push edi
push 0x3c
push str.c:_bc_bwin_archive_src_third_partycrashpadcrashpadutilwin_registration_protocol_win.cc
lea ecx, [ebp - 0xbc]
call fcn.00431820
add eax, 0x10
push str.WaitNamedPipe
push eax
call fcn.00415b8c
pop ecx
pop ecx
mov ebx, edi
test bl, 2
jmp 0x48fde1
push 2
pop edi
push edi
call fcn.00432780
pop ecx
test al, al
je 0x48fd2b
call sub.KERNEL32.dll_GetLastError
push eax
push edi
push 0x37
push str.c:_bc_bwin_archive_src_third_partycrashpadcrashpadutilwin_registration_protocol_win.cc
lea ecx, [ebp - 0xbc]
call fcn.00431820
add eax, 0x10
push str.CreateFile
push eax
call fcn.00415b8c
pop ecx
xor ebx, ebx
pop ecx
inc ebx
test bl, 1
jmp 0x48fde1
push 2
pop edi
xor eax, eax
mov dword [ebp - 4], edi
push eax
push eax
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
jne 0x48fd88
push edi
call fcn.00432780
pop ecx
test al, al
je 0x48fd83
call sub.KERNEL32.dll_GetLastError
push eax
push edi
push 0x45
push str.c:_bc_bwin_archive_src_third_partycrashpadcrashpadutilwin_registration_protocol_win.cc
lea ecx, [ebp - 0xbc]
call fcn.00431820
add eax, 0x10
push 0x4dfb48
push eax
call fcn.00415b8c
pop ecx
pop ecx
push 4
pop ebx
test bl, 4
jmp 0x48fde1
xor eax, eax
push eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 0xc
push dword [ebp + 0x10]
push 0x24
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
jne 0x48fdf0
push edi
call fcn.00432780
pop ecx
test al, al
je 0x48fdde
call sub.KERNEL32.dll_GetLastError
push eax
push edi
push 0x53
push str.c:_bc_bwin_archive_src_third_partycrashpadcrashpadutilwin_registration_protocol_win.cc
lea ecx, [ebp - 0xbc]
call fcn.00431820
add eax, 0x10
push 0x4dfb60
push eax
call fcn.00415b8c
pop ecx
pop ecx
push 8
pop ebx
test bl, 8
je 0x48fe57
lea ecx, [ebp - 0xbc]
call fcn.00431af0
jmp 0x48fe57
cmp dword [ebp + 8], 0xc
je 0x48fe5b
push edi
call fcn.00432780
pop ecx
test al, al
je 0x48fe47
push edi
push 0x57
push str.c:_bc_bwin_archive_src_third_partycrashpadcrashpadutilwin_registration_protocol_win.cc
lea ecx, [ebp - 0xb4]
call fcn.00431700
push dword [ebp + 8]
add eax, 8
push str.__observed
push 0xc
push str.TransactNamedPipe:_expected
push eax
call fcn.00415b8c
pop ecx
pop ecx
mov ecx, eax
call fcn.0042f288
push eax
call fcn.00415b8c
pop ecx
pop ecx
mov ecx, eax
call fcn.0042f288
push 0x10
pop ebx
test bl, 0x10
je 0x48fe57
lea ecx, [ebp - 0xb4]
call fcn.00431880
xor ebx, ebx
jmp 0x48fe5d
mov bl, 1
cmp esi, 0xffffffff
je 0x48fe69
push esi
call fcn.0048bdd2
pop ecx
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret