Function at 0x5a0a04
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb8
mov edi, dword [ebp + 8]
mov eax, dword [0x7024bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x5a0a2d
mov eax, dword [edi]
sub esp, 0x1c
movaps xmm0, xmmword [0x6c7c50]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x110000
call ebx
cmp eax, 0xffffffff
jne 0x5a0abe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x5a0b85
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x5a0a71
mov eax, dword [edi]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x5a0a23
push 2
call fcn.00499940
add esp, 4
test al, al
je 0x5a0bcc
call fcn.0049a360
lea esi, [ebp - 0xbc]
mov ecx, esi
push eax
push 2
push 0x6b
push str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
call fcn.0049a500
lea eax, [ebp - 0xb4]
push 0xd
push str.WaitNamedPipe
jmp 0x5a0bbc
mov esi, eax
lea eax, [ebp - 0xc0]
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 0x5a0bd3
lea eax, [ebp - 0xc4]
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 0x5a0c0c
mov bl, 1
cmp dword [ebp - 0xc4], 0xc
je 0x5a0c58
push 2
call fcn.00499940
add esp, 4
test al, al
je 0x5a0c56
lea edi, [ebp - 0xbc]
mov ecx, edi
push 2
push 0x86
push str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
call fcn.004999e0
lea eax, [ebp - 0xb4]
push 0x1c
push str.TransactNamedPipe:_expected
push eax
call fcn.0040280c
add esp, 0xc
mov ecx, eax
push 0xc
call fcn.004779d0
push 0xb
push str.__observed
push eax
call fcn.0040280c
add esp, 0xc
mov ecx, eax
push dword [ebp - 0xc4]
call fcn.004779d0
mov ecx, edi
call fcn.00499dc0
jmp 0x5a0c56
push 2
call fcn.00499940
add esp, 4
test al, al
je 0x5a0bcc
call fcn.0049a360
lea esi, [ebp - 0xbc]
mov ecx, esi
push eax
push 2
push 0x66
push str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
call fcn.0049a500
lea eax, [ebp - 0xb4]
push 0xa
push 0x6c7cba
push eax
call fcn.0040280c
add esp, 0xc
mov ecx, esi
call fcn.0049a5b0
xor ebx, ebx
jmp 0x5a0c61
push 2
call fcn.00499940
add esp, 4
test al, al
je 0x5a0c56
call fcn.0049a360
lea edi, [ebp - 0xbc]
mov ecx, edi
push eax
push 2
push 0x74
push str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
call fcn.0049a500
lea eax, [ebp - 0xb4]
push 0x17
push 0x6c7cd3
jmp 0x5a0c46
push 2
call fcn.00499940
add esp, 4
test al, al
je 0x5a0c56
call fcn.0049a360
lea edi, [ebp - 0xbc]
mov ecx, edi
push eax
push 2
push 0x82
push str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
call fcn.0049a500
lea eax, [ebp - 0xb4]
push 0x11
push 0x6c7ceb
push eax
call fcn.0040280c
add esp, 0xc
mov ecx, edi
call fcn.0049a5b0
xor ebx, ebx
push esi
call fcn.005a08f4
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0064180a
mov eax, ebx
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret