Function at 0x440d80
Capabilities:
Check mutex on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x2a8
mov edi, dword [ebp + 8]
mov bl, byte [ebp + 0xc]
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [esp + 0x2a0], eax
xor esi, esi
dec esi
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov ecx, edi
call fcn.0041a390
lea ecx, [esp + 0x8c]
mov dword [ecx], esi
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
call fcn.0041a390
lea eax, [esp + 0x88]
mov dword [eax], esi
push eax
call fcn.00408180
add esp, 4
call fcn.005312f0
mov dword [esp + 8], eax
test bl, bl
jne 0x440ee5
xor eax, eax
lea esi, [esp + 0x98]
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x88]
mov eax, dword [ecx]
push esi
push 0x19
push str.CHROME_CRASHPAD_PIPE_NAME
call dword [eax + 4]
test al, al
je 0x440e73
call fcn.00502860
mov esi, eax
movzx eax, byte [esp + 0xa3]
mov ebx, edi
test al, al
jns 0x440e3a
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
jmp 0x440e41
lea ecx, [esp + 0x98]
lea edi, [esp + 0x78]
push eax
push ecx
push edi
call fcn.004c52a0
add esp, 0xc
mov ecx, esi
push edi
call fcn.00530630
cmp byte [edi + 0xb], 0
jns 0x440e6a
push dword [esp + 0x78]
call fcn.004cf0d6
add esp, 4
lea esi, [esp + 0x98]
mov edi, ebx
cmp byte [esi + 0xb], 0
jns 0x440e88
push dword [esp + 0x98]
call fcn.004cf0d6
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
call dword [eax + 0x34]
test al, al
je 0x440ea5
call fcn.004c6090
mov byte [eax + 0x16], 1
mov dword [eax + 0xc], sym.service_update.exe_Ordinal_0
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x88], 0
test ecx, ecx
je 0x440ec1
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esp + 0x8c]
call fcn.004c5e70
mov ecx, dword [esp + 0x2a0]
xor ecx, ebp
call fcn.004d25a3
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
lea esi, [esp + 0x78]
mov dword [esi + 4], edi
mov dword [esi], edi
mov dword [esi + 8], edi
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
push esi
call dword [eax + 0x3c]
test al, al
je 0x440f35
movzx eax, byte [esp + 0x83]
test al, al
jns 0x440f15
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
lea ebx, [esp + 0x98]
mov ecx, ebx
push eax
push esi
call fcn.004cae90
mov ecx, dword [ebp + 8]
push ebx
call fcn.00411710
mov ecx, ebx
call fcn.004c5e70
lea esi, [esp + 0x68]
mov dword [esi + 4], edi
mov dword [esi], edi
mov dword [esi + 8], edi
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
push esi
call dword [eax + 0x40]
test al, al
je 0x440f99
movzx eax, byte [esp + 0x73]
test al, al
jns 0x440f60
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
lea edi, [esp + 0x98]
mov ecx, edi
push eax
push esi
call fcn.004cae90
lea esi, [esp + 0x8c]
mov ecx, esi
push edi
call fcn.00411710
mov ecx, edi
call fcn.004c5e70
push 0
push esi
call fcn.0040a6c0
add esp, 8
test al, al
je 0x4418b3
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
movzx ebx, byte [esp + 0x97]
test bl, bl
cmovs ebx, dword [esp + 0x90]
mov edi, dword [esp + 0x8c]
lea eax, [esp + 0x8c]
cmovns edi, eax
lea eax, [ebx + 0x1f]
cmp eax, 0x7ffffff0
jae 0x4418aa
cmp eax, 4
ja 0x440fe6
lea esi, [esp + 0x58]
mov byte [esi + 0xb], bl
jmp 0x44101c
mov dword [esp + 4], ebx
mov eax, dword [esp + 4]
lea ebx, [eax + 0x27]
and ebx, 0xfffffff8
lea eax, [ebx + ebx]
push eax
call fcn.004cf0a6
add esp, 4
mov esi, eax
mov dword [esp + 0x58], eax
or ebx, 0x80000000
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 4]
mov dword [esp + 0x5c], ebx
test ebx, ebx
je 0x44102a
lea eax, [ebx + ebx]
push eax
push edi
push esi
call fcn.004d4f00
add esp, 0xc
mov word [esi + ebx*2], 0
lea esi, [esp + 0x58]
mov ecx, esi
push 0x1f
push str.CrashpadMetricsMutexBrowserSide
call fcn.004cb060
movzx eax, byte [esi + 0xb]
mov edx, dword [esi]
mov ecx, eax
test al, al
jns 0x441054
mov ecx, dword [esp + 0x5c]
mov esi, edx
test ecx, ecx
je 0x4410c8
lea edx, [ecx + ecx]
add edx, 0xfffffffe
mov edi, edx
shr edi, 1
inc edi
mov eax, esi
and edi, 3
je 0x44107f
neg edi
mov eax, esi
cmp word [eax], 0x5c
jne 0x441079
mov word [eax], 0x5f
add eax, 2
inc edi
jne 0x44106e
cmp edx, 6
jb 0x4410c0
lea ecx, [esi + ecx*2]
cmp word [eax], 0x5c
jne 0x441092
mov word [eax], 0x5f
cmp word [eax + 2], 0x5c
jne 0x44109f
mov word [eax + 2], 0x5f
cmp word [eax + 4], 0x5c
jne 0x4410ac
mov word [eax + 4], 0x5f
cmp word [eax + 6], 0x5c
jne 0x4410b9
mov word [eax + 6], 0x5f
add eax, 8
cmp ecx, eax
jne 0x441087
mov al, byte [esp + 0x63]
mov edx, dword [esp + 0x58]
mov esi, dword [ebp + 0x1c]
test al, al
lea eax, [esp + 0x58]
cmovs eax, edx
xor edi, edi
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x44112a
cmp byte [esp + 0x97], 0
jns 0x441111
mov eax, dword [esp + 0x8c]
mov word [eax], 0
mov dword [esp + 0x90], 0
jmp 0x441123
mov word [esp + 0x8c], 0
mov byte [esp + 0x97], 0
mov byte [0x5c74fc], 1
lea eax, [esp + 0x50]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax - 4], eax
lea eax, [esp + 0x4c]
push eax
call fcn.00468320
add esp, 4
lea edi, [esp + 0x40]
xor ebx, ebx
dec ebx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
push edi
call dword [eax + 0x54]
mov ecx, dword [esp + 0x88]
mov eax, dword [ecx]
push edi
push 0x1a
push str.CHROME_CRASHPAD_SERVER_URL
call dword [eax + 4]
lea edi, [esp + 0x34]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov ecx, edi
push esi
call fcn.00407430
movzx eax, byte [edi + 0xb]
test al, al
jns 0x441190
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x4411e8
xor esi, esi
lea edi, [esp + 0x98]
push 0x208
push esi
push edi
call fcn.004d5a00
add esp, 0xc
push 0x104
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4418b6
push edi
call fcn.004d00f2
add esp, 4
lea esi, [esp + 0x28]
mov ecx, esi
push eax
push edi
call fcn.004cae90
lea ecx, [esp + 0x34]
push esi
call fcn.00411710
mov ecx, esi
call fcn.004c5e70
mov eax, dword [ebp + 0x20]
xor ecx, ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ecx
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov eax, ebx
sub eax, edi
je 0x441271
mov ecx, eax
sar ecx, 2
imul edx, ecx, 0xaaaaaaab
mov ecx, edx
mov dword [esp + 4], edx
cmp edx, 0x15555556
jae 0x4418b9
push eax
call fcn.004cf0a6
add esp, 4
mov esi, eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], eax
mov eax, dword [esp + 4]
lea eax, [eax + eax*2]
lea eax, [esi + eax*4]
mov dword [esp + 0xa0], eax
cmp edi, ebx
je 0x44126a
mov ecx, esi
push edi
call section..text
add edi, 0xc
add esi, 0xc
cmp ebx, edi
jne 0x441258
mov dword [esp + 0x9c], esi
cmp byte [ebp + 0x14], 0
je 0x4412e7
lea esi, [esp + 0x18]
mov ecx, esi
push 0x583e3b
call fcn.004fc470
mov ecx, esi
push str.crashpad_handler
call fcn.004b8650
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x28], xmm0
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax], ecx
mov eax, dword [esp + 0x9c]
cmp eax, dword [esp + 0xa0]
jae 0x441330
mov edx, dword [esp + 0x30]
mov dword [eax + 8], edx
movsd xmm0, qword [esp + 0x28]
movsd qword [eax], xmm0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], ecx
add eax, 0xc
mov dword [esp + 0x9c], eax
jmp 0x441353
lea esi, [esp + 0x28]
xor eax, eax
dec eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
lea edi, [esp + 0x34]
mov ecx, edi
push esi
call fcn.0040ed40
lea ebx, [esp + 0x18]
mov ecx, esi
push 0x14
push str.crashpad_handler.exe
push ebx
call fcn.00411970
mov ecx, edi
push ebx
call fcn.00411710
mov ecx, ebx
call fcn.004c5e70
mov ecx, esi
call fcn.004c5e70
jmp 0x441489
lea esi, [esp + 0x28]
lea ecx, [esp + 0x98]
push esi
call fcn.004cd290
cmp byte [esi + 0xb], 0
jns 0x441353
push dword [esp + 0x28]
call fcn.004cf0d6
add esp, 4
mov edi, dword [ebp + 0x18]
cmp byte [esp + 0x23], 0
jns 0x441369
push dword [esp + 0x18]
call fcn.004cf0d6
add esp, 4
movzx eax, byte [edi + 0xb]
test al, al
jns 0x441374
mov eax, dword [edi + 4]
test eax, eax
je 0x44142c
lea esi, [esp + 0x18]
mov ecx, esi
push str.__user_data_dir
call fcn.004fc470
movzx eax, byte [edi + 0xb]
test al, al
jns 0x441399
mov eax, dword [edi + 4]
mov edi, dword [edi]
mov ecx, esi
push eax
push edi
call fcn.004b8680
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x28], xmm0
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax], ecx
mov eax, dword [esp + 0x9c]
cmp eax, dword [esp + 0xa0]
jae 0x4413f6
mov edx, dword [esp + 0x30]
mov dword [eax + 8], edx
movsd xmm0, qword [esp + 0x28]
movsd qword [eax], xmm0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], ecx
add eax, 0xc
mov dword [esp + 0x9c], eax
jmp 0x441419
lea esi, [esp + 0x28]
lea ecx, [esp + 0x98]
push esi
call fcn.004cd290
cmp byte [esi + 0xb], 0
jns 0x441419
push dword [esp + 0x28]
call fcn.004cf0d6
add esp, 4
cmp byte [esp + 0x23], 0
jns 0x44142c
push dword [esp + 0x18]
call fcn.004cf0d6
add esp, 4
lea esi, [esp + 0x28]
mov ecx, esi
push str._prefetch:7
call fcn.004fc470
mov eax, dword [esp + 0x9c]
cmp eax, dword [esp + 0xa0]
jae 0x441469
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
movsd xmm0, qword [esp + 0x28]
movsd qword [eax], xmm0
add eax, 0xc
mov dword [esp + 0x9c], eax
jmp 0x441489
lea ecx, [esp + 0x98]
push esi
call fcn.004cd290
cmp byte [esp + 0x33], 0
jns 0x441489
push dword [esp + 0x28]
call fcn.004cf0d6
add esp, 4
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov edi, dword [esp + 0x98]
mov ebx, dword [esp + 0x9c]
mov eax, ebx
sub eax, edi
je 0x441503
mov ecx, eax
sar ecx, 2
imul edx, ecx, 0xaaaaaaab
mov ecx, edx
mov dword [esp + 4], edx
cmp edx, 0x15555556
jae 0x4418c5
push eax
call fcn.004cf0a6
add esp, 4
mov esi, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 4]
lea eax, [eax + eax*2]
lea eax, [esi + eax*4]
mov dword [esp + 0x30], eax
cmp edi, ebx
je 0x4414ff
mov ecx, esi
push edi
call section..text
add edi, 0xc
add esi, 0xc
cmp ebx, edi
jne 0x4414ed
mov dword [esp + 0x2c], esi
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
call dword [eax + 0x58]
test al, al
je 0x44162d
lea esi, [esp + 0x18]
mov ecx, esi
push str.__monitor_self
call fcn.004fc470
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x30]
jae 0x441548
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
movsd xmm0, qword [esp + 0x18]
movsd qword [eax], xmm0
add eax, 0xc
mov dword [esp + 0x2c], eax
jmp 0x441565
lea ecx, [esp + 0x28]
push esi
call fcn.004cd290
cmp byte [esp + 0x23], 0
jns 0x441565
push dword [esp + 0x18]
call fcn.004cf0d6
add esp, 4
mov ebx, dword [esp + 0x98]
mov edi, dword [esp + 0x9c]
cmp ebx, edi
je 0x44162d
xor esi, esi
lea ecx, [esp + 0xc]
push str.__monitor_self_argument
call fcn.004fc470
movzx eax, byte [ebx + 0xb]
mov edx, ebx
test al, al
jns 0x44159a
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
lea ecx, [esp + 0xc]
push eax
push edx
call fcn.004b8680
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x18], xmm0
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax], esi
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x30]
jae 0x4415ee
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
movsd xmm0, qword [esp + 0x18]
movsd qword [eax], xmm0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], esi
add eax, 0xc
mov dword [esp + 0x2c], eax
jmp 0x44160f
lea ecx, [esp + 0x28]
lea eax, [esp + 0x18]
push eax
call fcn.004cd290
cmp byte [esp + 0x23], 0
jns 0x44160f
push dword [esp + 0x18]
call fcn.004cf0d6
add esp, 4
cmp byte [esp + 0x17], 0
jns 0x441622
push dword [esp + 0xc]
call fcn.004cf0d6
add esp, 4
add ebx, 0xc
cmp edi, ebx
jne 0x44157d
lea esi, [esp + 0xc]
mov ecx, esi
push str.__monitor_self_annotationptype
call fcn.004fc470
mov ecx, esi
push str.crashpad_handler
call fcn.004b8650
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x18], xmm0
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax], ecx
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x30]
jae 0x441698
mov edx, dword [esp + 0x20]
mov dword [eax + 8], edx
movsd xmm0, qword [esp + 0x18]
movsd qword [eax], xmm0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ecx
add eax, 0xc
mov dword [esp + 0x2c], eax
lea ebx, [esp + 0x4c]
jmp 0x4416bc
lea esi, [esp + 0x18]
lea ecx, [esp + 0x28]
push esi
call fcn.004cd290
cmp byte [esi + 0xb], 0
lea ebx, [esp + 0x4c]
jns 0x4416bc
push dword [esp + 0x18]
call fcn.004cf0d6
add esp, 4
cmp byte [esp + 0x17], 0
jns 0x4416cf
push dword [esp + 0xc]
call fcn.004cf0d6
add esp, 4
call fcn.00502860
xor edx, edx
lea edi, [esp + 0x18]
mov dword [edi], edx
mov dword [edi + 4], edx
mov dword [edi + 8], edx
lea esi, [esp + 0x28]
mov ecx, eax
push edi
push edx
push edx
push esi
push ebx
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0xa4]
push eax
push dword [ebp + 8]
lea eax, [esp + 0x54]
push eax
call fcn.00467c50
mov ebx, dword [edi]
test ebx, ebx
je 0x441736
mov esi, dword [esp + 0x1c]
mov eax, ebx
cmp esi, ebx
je 0x441729
add esi, 0xfffffff4
mov ecx, esi
call fcn.004c5e70
cmp ebx, esi
jne 0x441717
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebx
push eax
call fcn.004cf0d6
add esp, 4
mov esi, dword [esp + 0x88]
call fcn.00502860
mov ecx, eax
lea ebx, [esp + 0xc]
push ebx
call fcn.00530870
movzx eax, byte [esp + 0x17]
test al, al
jns 0x44175f
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push ebx
push edi
call fcn.00412900
add esp, 0xc
mov eax, dword [esi]
mov ecx, esi
push edi
push 0x19
push str.CHROME_CRASHPAD_PIPE_NAME
call dword [eax + 0xc]
cmp byte [esp + 0x23], 0
jns 0x44178c
push dword [esp + 0x18]
call fcn.004cf0d6
add esp, 4
cmp byte [esp + 0x17], 0
mov edi, dword [ebp + 8]
jns 0x4417a2
push dword [esp + 0xc]
call fcn.004cf0d6
add esp, 4
mov esi, dword [esp + 0x28]
test esi, esi
je 0x4417e8
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x44189f
lea edi, [eax - 0xc]
cmp byte [eax - 1], 0
js 0x4417c7
mov eax, edi
cmp esi, edi
jne 0x4417b6
jmp 0x4417d4
push dword [eax - 0xc]
call fcn.004cf0d6
add esp, 4
jmp 0x4417bf
mov eax, dword [esp + 0x28]
mov edi, dword [ebp + 8]
mov dword [esp + 0x2c], esi
push eax
call fcn.004cf0d6
add esp, 4
mov esi, dword [esp + 0x98]
test esi, esi
je 0x44183a
mov eax, dword [esp + 0x9c]
cmp eax, esi
je 0x4418a6
lea edi, [eax - 0xc]
cmp byte [eax - 1], 0
js 0x441813
mov eax, edi
cmp esi, edi
jne 0x441802
jmp 0x441820
push dword [eax - 0xc]
call fcn.004cf0d6
add esp, 4
jmp 0x44180b
mov eax, dword [esp + 0x98]
mov edi, dword [ebp + 8]
mov dword [esp + 0x9c], esi
push eax
call fcn.004cf0d6
add esp, 4
lea ecx, [esp + 0x34]
call fcn.004c5e70
cmp byte [esp + 0x4b], 0
jns 0x441856
push dword [esp + 0x40]
call fcn.004cf0d6
add esp, 4
lea ecx, [esp + 0x4c]
push dword [ecx + 4]
call fcn.004fd700
cmp byte [esp + 0x63], 0
jns 0x441875
push dword [esp + 0x58]
call fcn.004cf0d6
add esp, 4
cmp byte [esp + 0x73], 0
jns 0x441888
push dword [esp + 0x68]
call fcn.004cf0d6
add esp, 4
cmp byte [esp + 0x83], 0
jns 0x440e88
push dword [esp + 0x78]
jmp 0x440e80
mov eax, esi
jmp 0x4417db
mov eax, esi
jmp 0x44182a
lea ecx, [esp + 0x58]
call fcn.004fc800
int3
int3
lea ecx, [esp + 0x98]
call fcn.004ff350
lea ecx, [esp + 0x28]
call fcn.004ff350
int3