Function at 0x4c2e04
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc4
mov edi, dword [ebp + 8]
mov eax, dword [0x596ff8]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [edi + 2]
xor esi, esi
dec esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
test byte [edi], 1
mov eax, ebx
je 0x4c2e36
mov eax, dword [edi + 8]
sub esp, 0x1c
movaps xmm0, xmmword [0x555450]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x110000
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], 0x551fc4
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
cmp eax, esi
jne 0x4c2ea9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x4c2f70
test byte [edi], 1
mov eax, ebx
je 0x4c2e8b
mov eax, dword [edi + 8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x4c2fb0
lea ecx, [ebp - 0x1c]
call fcn.004a5c82
jmp 0x4c2e23
lea ecx, [ebp - 0xcc]
mov dword [ecx], 2
xor esi, esi
push esi
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x4c2fed
lea eax, [ebp - 0xd0]
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 0x4c3026
mov bl, 1
cmp dword [ebp - 0xd0], 0xc
je 0x4c3072
push 2
call fcn.0042ae10
add esp, 4
test al, al
je 0x4c3070
lea esi, [ebp - 0xc8]
mov ecx, esi
push 2
push 0x86
push str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
call fcn.0042aea0
lea eax, [ebp - 0xc0]
push 0x1c
push str.TransactNamedPipe:_expected
push eax
call fcn.00401c91
add esp, 0xc
mov ecx, eax
push 0xc
call fcn.0040aae0
push 0xb
push str.__observed
push eax
call fcn.00401c91
add esp, 0xc
mov ecx, eax
push dword [ebp - 0xd0]
call fcn.0040aae0
mov ecx, esi
call fcn.0042b2a0
jmp 0x4c3070
push 2
call fcn.0042ae10
add esp, 4
test al, al
je 0x4c3070
call fcn.0042b8e0
lea esi, [ebp - 0xc8]
mov ecx, esi
push eax
push 2
push 0x66
push str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
call fcn.0042ba80
lea eax, [ebp - 0xc0]
push 0xa
push 0x5554ba
jmp 0x4c3060
push 2
call fcn.0042ae10
add esp, 4
test al, al
je 0x4c3070
call fcn.0042b8e0
lea esi, [ebp - 0xc8]
mov ecx, esi
push eax
push 2
push 0x6b
push str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
call fcn.0042ba80
lea eax, [ebp - 0xc0]
push 0xd
push str.WaitNamedPipe
jmp 0x4c3060
push 2
call fcn.0042ae10
add esp, 4
test al, al
je 0x4c3070
call fcn.0042b8e0
lea esi, [ebp - 0xc8]
mov ecx, esi
push eax
push 2
push 0x74
push str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
call fcn.0042ba80
lea eax, [ebp - 0xc0]
push 0x17
push 0x5554d3
jmp 0x4c3060
push 2
call fcn.0042ae10
add esp, 4
test al, al
je 0x4c3070
call fcn.0042b8e0
lea esi, [ebp - 0xc8]
mov ecx, esi
push eax
push 2
push 0x82
push str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
call fcn.0042ba80
lea eax, [ebp - 0xc0]
push 0x11
push 0x5554eb
push eax
call fcn.00401c91
add esp, 0xc
mov ecx, esi
call fcn.0042bb30
xor ebx, ebx
lea ecx, [ebp - 0x1c]
call fcn.004a5c82
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00512931
mov eax, ebx
add esp, 0xc4
pop esi
pop edi
pop ebx
pop ebp
ret