Function at 0x40f100
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x40f11f
mov eax, dword [edi]
push 0
push 0x110000
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40f1ca
call ebx
cmp eax, 0xe7
jne 0x40f1a4
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x40f156
mov eax, dword [edi]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x40f115
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0x6b
push str..._src_util_win_registration_protocol_win.cc
push str.bool___cdecl_crashpad::SendToCrashHandlerServer_const_class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t_____const_struct_crashpad::ClientToServerMessage__union_crashpad::ServerToClientMessage__
lea ecx, [ebp - 0xb4]
call fcn.00409060
push str.WaitNamedPipe
push eax
call fcn.004011c0
add esp, 8
lea ecx, [ebp - 0xb4]
call fcn.00409240
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0x66
push str..._src_util_win_registration_protocol_win.cc
push str.bool___cdecl_crashpad::SendToCrashHandlerServer_const_class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t_____const_struct_crashpad::ClientToServerMessage__union_crashpad::ServerToClientMessage__
lea ecx, [ebp - 0xb4]
call fcn.00409060
push 0x44696c
jmp 0x40f187
push 0
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
jne 0x40f20a
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0x74
push str..._src_util_win_registration_protocol_win.cc
push str.bool___cdecl_crashpad::SendToCrashHandlerServer_const_class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t_____const_struct_crashpad::ClientToServerMessage__union_crashpad::ServerToClientMessage__
lea ecx, [ebp - 0xb4]
call fcn.00409060
push 0x446a7c
jmp 0x40f253
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
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 0x40f27b
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0x82
push str..._src_util_win_registration_protocol_win.cc
push str.bool___cdecl_crashpad::SendToCrashHandlerServer_const_class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t_____const_struct_crashpad::ClientToServerMessage__union_crashpad::ServerToClientMessage__
lea ecx, [ebp - 0xb4]
call fcn.00409060
push 0x446a94
push eax
call fcn.004011c0
add esp, 8
lea ecx, [ebp - 0xb4]
call fcn.00409240
push esi
xor bl, bl
call fcn.0040e9c0
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], 0xc
je 0x40f2ed
push 2
push 0x86
push str..._src_util_win_registration_protocol_win.cc
push str.bool___cdecl_crashpad::SendToCrashHandlerServer_const_class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t_____const_struct_crashpad::ClientToServerMessage__union_crashpad::ServerToClientMessage__
lea ecx, [ebp - 0xac]
call fcn.00408ea0
push str.TransactNamedPipe:_expected
push eax
call fcn.004011c0
add esp, 8
mov ecx, eax
push str.__observed
push 0xc
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
push eax
call fcn.004011c0
add esp, 8
mov ecx, eax
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
lea ecx, [ebp - 0xac]
call fcn.00409090
push esi
xor bl, bl
call fcn.0040e9c0
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov bl, 1
call fcn.0040e9c0
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret