Function at 0x4ac87c
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc8
mov eax, dword [0x5599f4]
mov edi, dword [ebp + 8]
xor eax, ebp
mov dword [esp + 0xc0], eax
mov eax, edi
cmp dword [edi + 0x14], 7
jbe 0x4ac8a6
mov eax, dword [edi]
xor ebx, ebx
jmp 0x4ac8e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x4aca2b
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x4ac8c5
mov eax, dword [edi]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x4aca5e
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x4ac8e0
mov eax, dword [edi]
push ebx
push 0x110000
push 3
push ebx
push ebx
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4ac8aa
lea eax, [esp + 4]
mov dword [eax], 2
push ebx
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x4ac9aa
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov edi, esp
mov dword [edi], edx
push edx
push edi
push 0xc
push eax
push 0x24
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x4ac9dd
cmp dword [esp], 0xc
mov bl, 1
je 0x4aca20
push 2
call fcn.004180d0
add esp, 4
test al, al
je 0x4aca1e
lea edi, [esp + 8]
mov ecx, edi
push 2
push 0x58
push str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
call fcn.00418160
lea eax, [esp + 0x10]
push str.TransactNamedPipe:_expected
push eax
call fcn.004015c0
add esp, 8
mov ecx, eax
push 0xc
call fcn.00408294
push str.__observed
push eax
call fcn.004015c0
add esp, 8
mov ecx, eax
push dword [esp]
call fcn.00418c30
mov ecx, edi
call fcn.00417750
jmp 0x4aca1e
push 2
call fcn.004180d0
add esp, 4
test al, al
je 0x4aca1e
call sub.KERNEL32.dll_GetLastError
lea edi, [esp + 8]
mov ecx, edi
push eax
push 2
push 0x46
push str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
call fcn.00419440
lea eax, [esp + 0x18]
push 0x54fd5c
jmp 0x4aca0e
push 2
call fcn.004180d0
add esp, 4
test al, al
je 0x4aca1e
call sub.KERNEL32.dll_GetLastError
lea edi, [esp + 8]
mov ecx, edi
push eax
push 2
push 0x54
push str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
call fcn.00419440
lea eax, [esp + 0x18]
push 0x54fd74
push eax
call fcn.004015c0
add esp, 8
mov ecx, edi
call fcn.00419560
xor ebx, ebx
push esi
call fcn.00482bd8
add esp, 4
jmp 0x4acaa1
push 2
call fcn.004180d0
add esp, 4
test al, al
je 0x4aca9f
call sub.KERNEL32.dll_GetLastError
lea esi, [esp + 8]
mov ecx, esi
push eax
push 2
push 0x38
push str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
call fcn.00419440
lea eax, [esp + 0x18]
push str.CreateFile
jmp 0x4aca8f
push 2
call fcn.004180d0
add esp, 4
test al, al
je 0x4aca9f
call sub.KERNEL32.dll_GetLastError
lea esi, [esp + 8]
mov ecx, esi
push eax
push 2
push 0x3d
push str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
call fcn.00419440
lea eax, [esp + 0x18]
push str.WaitNamedPipe
push eax
call fcn.004015c0
add esp, 8
mov ecx, esi
call fcn.00419560
xor ebx, ebx
mov ecx, dword [esp + 0xc0]
xor ecx, ebp
call fcn.004d4bc8
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret