Function at 0x47c5a6
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push ebx
xor eax, eax
push esi
mov ebx, eax
mov dword [ebp - 4], eax
push edi
mov dword [ebp - 8], ebx
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 8
jb 0x47c5c9
mov ecx, dword [edi]
jmp 0x47c5cb
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 0x47c6b5
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, 5
je 0x47c673
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x47c673
cmp dword [edi + 0x14], 8
jb 0x47c60f
mov eax, dword [edi]
jmp 0x47c611
mov eax, edi
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
push 0
test eax, eax
pop eax
jne 0x47c5bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
cmp eax, 0x79
pop eax
je 0x47c5bf
push 2
pop edi
push edi
call fcn.00401e30
pop ecx
test al, al
je 0x47c66b
call sub.KERNEL32.dll_GetLastError
push eax
push edi
push 0x3b
push str.c:_nwjs_src_third_partycrashpadcrashpadutilwin_registration_protocol_win.cc
lea ecx, [ebp - 0xc0]
call fcn.00402680
add eax, 0x10
push str.WaitNamedPipe
push eax
call fcn.00406a20
pop ecx
pop ecx
mov ebx, edi
test bl, 2
jmp 0x47c763
push 2
pop edi
push edi
call fcn.00401e30
pop ecx
test al, al
je 0x47c6ad
call sub.KERNEL32.dll_GetLastError
push eax
push edi
push 0x35
push str.c:_nwjs_src_third_partycrashpadcrashpadutilwin_registration_protocol_win.cc
lea ecx, [ebp - 0xc0]
call fcn.00402680
add eax, 0x10
push str.CreateFile
push eax
call fcn.00406a20
pop ecx
xor ebx, ebx
pop ecx
inc ebx
test bl, 1
jmp 0x47c763
push 2
pop edi
xor eax, eax
mov dword [ebp - 8], edi
push eax
push eax
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
jne 0x47c70a
push edi
call fcn.00401e30
pop ecx
test al, al
je 0x47c705
call sub.KERNEL32.dll_GetLastError
push eax
push edi
push 0x44
push str.c:_nwjs_src_third_partycrashpadcrashpadutilwin_registration_protocol_win.cc
lea ecx, [ebp - 0xc0]
call fcn.00402680
add eax, 0x10
push 0x4a44e0
push eax
call fcn.00406a20
pop ecx
pop ecx
push 4
pop ebx
test bl, 4
jmp 0x47c763
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 0x47c772
push edi
call fcn.00401e30
pop ecx
test al, al
je 0x47c760
call sub.KERNEL32.dll_GetLastError
push eax
push edi
push 0x52
push str.c:_nwjs_src_third_partycrashpadcrashpadutilwin_registration_protocol_win.cc
lea ecx, [ebp - 0xc0]
call fcn.00402680
add eax, 0x10
push 0x4a44f8
push eax
call fcn.00406a20
pop ecx
pop ecx
push 8
pop ebx
test bl, 8
je 0x47c7d9
lea ecx, [ebp - 0xc0]
call fcn.004026b0
jmp 0x47c7d9
cmp dword [ebp + 8], 0xc
je 0x47c7dd
push edi
call fcn.00401e30
pop ecx
test al, al
je 0x47c7c9
push edi
push 0x56
push str.c:_nwjs_src_third_partycrashpadcrashpadutilwin_registration_protocol_win.cc
lea ecx, [ebp - 0xb8]
call fcn.00401ea0
push dword [ebp + 8]
add eax, 8
push str.__observed
push 0xc
push str.TransactNamedPipe:_expected
push eax
call fcn.00406a20
pop ecx
pop ecx
mov ecx, eax
call fcn.00403260
push eax
call fcn.00406a20
pop ecx
pop ecx
mov ecx, eax
call fcn.00403260
push 0x10
pop ebx
test bl, 0x10
je 0x47c7d9
lea ecx, [ebp - 0xb8]
call fcn.00401f60
xor ebx, ebx
jmp 0x47c7df
mov bl, 1
cmp esi, 0xffffffff
je 0x47c7eb
push esi
call fcn.0047b9c2
pop ecx
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret