Function at 0x491990
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb4
mov edi, dword [ebp + 8]
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [ebp - 0x10], eax
movaps xmm0, xmmword [0x5e3d40]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x4919c0
mov eax, dword [edi]
sub esp, 0x1c
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x110000
call ebx
cmp eax, 0xffffffff
je 0x491a56
mov esi, eax
lea eax, [ebp - 0xbc]
mov dword [eax], 2
xor edi, edi
push edi
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x491ac9
lea eax, [ebp - 0xc0]
mov dword [eax], edi
push edi
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
je 0x491b06
mov bl, 1
cmp dword [ebp - 0xc0], 0xc
jne 0x491b52
push esi
call fcn.00492e40
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050dc12
mov eax, ebx
add esp, 0xb4
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x491b67
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x491a71
mov eax, dword [edi]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
movaps xmm0, xmmword [0x5e3d40]
jne 0x4919b6
push 2
call fcn.004cff00
add esp, 4
test al, al
je 0x491b75
call fcn.0055ae80
lea esi, [ebp - 0xb8]
mov ecx, esi
push eax
push 2
push 0x70
push str....._third_partycrashpadcrashpadutilwin_registration_protocol_win.cc
call fcn.0055afc0
lea eax, [ebp - 0xb0]
push 0xd
push str.WaitNamedPipe
jmp 0x491c03
push 2
call fcn.004cff00
add esp, 4
test al, al
je 0x491b60
call fcn.0055ae80
lea edi, [ebp - 0xb8]
mov ecx, edi
push eax
push 2
push 0x79
push str....._third_partycrashpadcrashpadutilwin_registration_protocol_win.cc
call fcn.0055afc0
lea eax, [ebp - 0xb0]
push 0x17
push 0x5e3dd3
jmp 0x491b40
push 2
call fcn.004cff00
add esp, 4
test al, al
je 0x491b60
call fcn.0055ae80
lea edi, [ebp - 0xb8]
mov ecx, edi
push eax
push 2
push 0x87
push str....._third_partycrashpadcrashpadutilwin_registration_protocol_win.cc
call fcn.0055afc0
lea eax, [ebp - 0xb0]
push 0x11
push 0x5e3deb
push eax
call fcn.0053f2f0
add esp, 0xc
mov ecx, edi
call fcn.0055b020
jmp 0x491b60
push 2
call fcn.004cff00
add esp, 4
test al, al
jne 0x491b7c
xor ebx, ebx
jmp 0x491a36
push 2
call fcn.004cff00
add esp, 4
test al, al
jne 0x491bda
xor ebx, ebx
jmp 0x491a3f
lea edi, [ebp - 0xb8]
mov ecx, edi
push 2
push 0x8b
push str....._third_partycrashpadcrashpadutilwin_registration_protocol_win.cc
call fcn.00458910
lea eax, [ebp - 0xb0]
push 0x1c
push str.TransactNamedPipe:_expected
push eax
call fcn.0053f2f0
add esp, 0xc
mov ecx, eax
push 0xc
call fcn.0042ad20
push 0xb
push str.__observed
push eax
call fcn.0053f2f0
add esp, 0xc
mov ecx, eax
push dword [ebp - 0xc0]
call fcn.0042ad20
mov ecx, edi
call fcn.00458d50
jmp 0x491b60
call fcn.0055ae80
lea esi, [ebp - 0xb8]
mov ecx, esi
push eax
push 2
push 0x6b
push str....._third_partycrashpadcrashpadutilwin_registration_protocol_win.cc
call fcn.0055afc0
lea eax, [ebp - 0xb0]
push 0xa
push 0x5e3dba
push eax
call fcn.0053f2f0
add esp, 0xc
mov ecx, esi
call fcn.0055b020
jmp 0x491b75