Function at 0x49a214
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc0
mov eax, dword [0x565fa8]
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor ebx, ebx
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [edi + 0xb], bl
mov eax, edi
jns 0x49a23e
mov eax, dword [edi]
push ebx
push 0x110000
push 3
push ebx
push ebx
push 0xc0000000
push eax
call esi
cmp eax, 0xffffffff
mov dword [ebp - 0x1c], 0x52312c
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], bl
jne 0x49a298
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x49a35c
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x49a27d
mov eax, dword [edi]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x49a39c
lea ecx, [ebp - 0x1c]
call fcn.004739f0
jmp 0x49a235
lea ecx, [ebp - 0xc8]
xor esi, esi
mov dword [ecx], 2
push esi
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x49a3d9
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 0x49a412
cmp dword [ebp - 0xcc], 0xc
mov bl, 1
je 0x49a45b
push 2
call fcn.004278b0
add esp, 4
test al, al
je 0x49a459
lea esi, [ebp - 0xc4]
mov ecx, esi
push 2
push 0x58
push str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
call fcn.00427940
lea eax, [ebp - 0xc0]
push 0x1c
push str.TransactNamedPipe:_expected
push eax
call fcn.00401965
add esp, 0xc
mov ecx, eax
push 0xc
call fcn.004072f0
push 0xb
push str.__observed
push eax
call fcn.00401965
add esp, 0xc
mov ecx, eax
push dword [ebp - 0xcc]
call fcn.004072f0
mov ecx, esi
call fcn.00426f60
jmp 0x49a459
push 2
call fcn.004278b0
add esp, 4
test al, al
je 0x49a459
call fcn.00427e80
lea esi, [ebp - 0xc4]
mov ecx, esi
push eax
push 2
push 0x38
push str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
call fcn.00428040
lea eax, [ebp - 0xbc]
push 0xa
push 0x5259bd
jmp 0x49a449
push 2
call fcn.004278b0
add esp, 4
test al, al
je 0x49a459
call fcn.00427e80
lea esi, [ebp - 0xc4]
mov ecx, esi
push eax
push 2
push 0x3d
push str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
call fcn.00428040
lea eax, [ebp - 0xbc]
push 0xd
push str.WaitNamedPipe
jmp 0x49a449
push 2
call fcn.004278b0
add esp, 4
test al, al
je 0x49a459
call fcn.00427e80
lea esi, [ebp - 0xc4]
mov ecx, esi
push eax
push 2
push 0x46
push str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
call fcn.00428040
lea eax, [ebp - 0xbc]
push 0x17
push 0x5259d6
jmp 0x49a449
push 2
call fcn.004278b0
add esp, 4
test al, al
je 0x49a459
call fcn.00427e80
lea esi, [ebp - 0xc4]
mov ecx, esi
push eax
push 2
push 0x54
push str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
call fcn.00428040
lea eax, [ebp - 0xbc]
push 0x11
push 0x5259ee
push eax
call fcn.00401965
add esp, 0xc
mov ecx, esi
call fcn.00428100
xor ebx, ebx
lea ecx, [ebp - 0x1c]
call fcn.004739f0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e6891
mov eax, ebx
add esp, 0xc0
pop esi
pop edi
pop ebx
pop ebp
ret