Function at 0x494856
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe8
mov esi, esp
mov dword [esi + 4], ecx
mov eax, dword [0x57ffac]
xor eax, ebp
mov dword [esi + 0xe0], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [esi + 0xc]
push eax
push str..pipecrashpad__lu_
push ecx
call fcn.0042d5a0
add esp, 0xc
xor ecx, ecx
dec ecx
mov ebx, 0xfffffffb
mov dword [esi], ecx
lea edi, [esi + 0xb8]
push edi
call fcn.004b11f4
add esp, 4
movzx eax, byte [esi + 0x17]
test al, al
cmovs eax, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
lea ecx, [esi + 0xc]
cmovns edx, ecx
mov ecx, edi
push eax
push edx
xor edi, edi
push edi
call fcn.0041c7c0
mov ecx, dword [eax + 8]
mov dword [esi + 0xcc], ecx
movsd xmm0, qword [eax]
movsd qword [esi + 0xc4], xmm0
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
movzx eax, byte [esi + 0xcf]
lea ecx, [esi + 0xc4]
test al, al
jns 0x494901
mov ecx, dword [esi + 0xc4]
mov eax, dword [esi + 0xc8]
push eax
push ecx
lea eax, [esi + 0xd0]
push eax
call fcn.0042de10
add esp, 0xc
mov ecx, dword [esi + 4]
cmp byte [ecx + 0xb], 0
js 0x494926
mov word [ecx], 0
mov byte [ecx + 0xb], 0
jmp 0x49494e
mov eax, dword [ecx]
mov word [eax], 0
mov dword [ecx + 4], 0
cmp byte [ecx + 0xb], 0
jns 0x49494e
push dword [ecx]
call fcn.004fe838
mov ecx, dword [esi + 4]
add esp, 4
mov dword [ecx + 8], 0
mov eax, dword [esi + 0xd8]
mov dword [ecx + 8], eax
movsd xmm0, qword [esi + 0xd0]
movsd qword [ecx], xmm0
xor eax, eax
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd8], eax
cmp byte [esi + 0xcf], 0
jns 0x494991
push dword [esi + 0xc4]
call fcn.004fe838
mov ecx, dword [esi + 4]
add esp, 4
cmp byte [esi + 0xc3], 0
jns 0x4949ab
push dword [esi + 0xb8]
call fcn.004fe838
mov ecx, dword [esi + 4]
add esp, 4
push 1
push ecx
call fcn.004b14a4
add esp, 8
mov ecx, dword [esi]
cmp ecx, 0xffffffff
je 0x4949d2
cmp eax, ecx
je 0x494bf4
mov edi, eax
push ecx
call fcn.004b1120
add esp, 4
mov eax, edi
cmp eax, 0xffffffff
jne 0x494a1b
mov ecx, eax
inc ebx
jne 0x494897
push 0x12e
push str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
lea edi, [esi + 0xd0]
push edi
mov ebx, eax
call fcn.004b1770
add esp, 0xc
mov ecx, edi
call fcn.004b1740
push 0xf
push str.CreateNamedPipe
push eax
call fcn.00401b1f
add esp, 0xc
mov ecx, edi
call fcn.004b1750
mov eax, ebx
mov dword [esi + 8], eax
cmp byte [esi + 0x17], 0
jns 0x494a2f
push dword [esi + 0xc]
call fcn.004fe838
add esp, 4
xor edi, edi
mov dword [esi + 0xd4], edi
mov dword [esi + 0xd0], 0xc
mov dword [esi + 0xd8], 1
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
push edi
push edi
lea eax, [esi + 0xd0]
push eax
call ebx
mov dword [0x580110], eax
push edi
push edi
push edi
lea eax, [esi + 0xd0]
push eax
call ebx
mov dword [0x580114], eax
push edi
push edi
push edi
lea eax, [esi + 0xd0]
push eax
call ebx
mov dword [0x580118], eax
call 0x494bf9
push fcn.00495e40
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x495fb0
push 0x16
call fcn.00515df3
add esp, 8
push 0x6c
call fcn.004fe808
add esp, 4
mov ebx, eax
mov dword [esi], esp
mov ecx, eax
push dword [ebp + 8]
call fcn.004225f0
lea ecx, [ebx + 0xc]
push dword [ebp + 0xc]
call fcn.004225f0
lea ecx, [ebx + 0x18]
push dword [ebp + 0x10]
call fcn.004225f0
lea ecx, [ebx + 0x24]
push dword [ebp + 0x14]
call fcn.0041c06e
lea eax, [ebx + 0x34]
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x30], eax
mov ecx, dword [ebp + 0x18]
lea eax, [ecx + 4]
mov dword [esi + 0xc], eax
mov eax, dword [ecx]
mov dword [esi + 0xc4], eax
lea ecx, [ebx + 0x30]
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0xc4]
push eax
push edx
call fcn.00496092
lea ecx, [ebx + 0x3c]
push dword [ebp + 0x1c]
call fcn.00405088
lea ecx, [ebx + 0x48]
push dword [ebp + 0x28]
call fcn.0049602e
lea ecx, [ebx + 0x54]
mov edi, dword [esi + 4]
push edi
call fcn.0041cab2
mov dword [ebx + 0x60], 0x53c528
mov eax, dword [esi + 8]
mov dword [ebx + 0x64], eax
mov byte [ebx + 0x68], 0
mov esp, dword [esi]
cmp byte [ebp + 0x24], 0
je 0x494bcb
lea eax, [edi + 0xc]
mov dword [esi], eax
xor eax, eax
push eax
push eax
push ebx
push 0x494c60
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
mov ecx, dword [esi]
lea eax, [esi + 0xc]
push eax
call fcn.00494c26
mov bl, 1
xor eax, eax
cmp dword [edi + 0x10], eax
jne 0x494bdb
push 2
call fcn.00424cb0
add esp, 4
test al, al
je 0x494bbd
call fcn.00425620
lea edi, [esi + 0xc]
mov ecx, edi
push eax
push 2
push 0x292
push str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
call fcn.00425750
lea eax, [esi + 0x14]
push 0xc
push 0x53c2f2
push eax
call fcn.00401b1f
add esp, 0xc
mov ecx, edi
call fcn.00425800
mov dword [0x583408], 2
xor ebx, ebx
jmp 0x494bdb
mov edi, esp
push eax
mov ecx, esp
mov dword [ecx], ebx
call fcn.00494cad
mov ebx, eax
mov esp, edi
mov ecx, dword [esi + 0xe0]
xor ecx, ebp
call fcn.004fe871
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x24
call fcn.00510edd
push ebp
mov ebp, esp
push esi
push 0x5833ec
call fcn.004b17dc
add esp, 4
push 4
call fcn.004fe808
add esp, 4
mov esi, eax
mov ecx, eax
call fcn.00434400
mov dword [0x583404], esi
pop esi
pop ebp
ret