Function at 0x14000e2c0
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
lea rbp, [rcx + 0x1b8]
lea rdx, str.Unspecified_error___init.
or r12, 0xffffffffffffffff
mov rax, r12
xor r15d, r15d
inc rax
cmp word [rdx + rax*2], r15w
jne 0x14000e2f4
mov r8d, eax
mov rcx, rbp
call fcn.1400020f4
mov rdx, rdi
lea rcx, [rbx + 8]
call fcn.1400065ec
test eax, eax
je 0x14000e38f
mov rcx, qword [rbx + 0x1b0]
sub rcx, 0x18
call fcn.140001ea0
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
mov edi, 1
sub edi, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
or eax, edi
jge 0x14000e352
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140001f48
mov rbx, qword [rsp + 0x50]
mov r8, rbx
lea rdx, str.Error_reading_crash_info:__s
mov rcx, rbp
call fcn.1400047a0
nop
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14000e388
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001400b.0]
xor eax, eax
jmp 0x14000e4e0
lea rsi, [rbx + 0x280]
mov r8, rdi
lea rdx, [0x14003e958]
mov rcx, rsi
call fcn.1400047a0
call fcn.1400016e0
mov rcx, rax
test rax, rax
je 0x14000e59d
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14001400b.0]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov r8, qword [rsi]
mov edi, 1
mov ecx, edi
sub ecx, dword [r8 - 8]
mov eax, dword [r8 - 0xc]
or eax, ecx
jge 0x14000e3f2
xor edx, edx
mov rcx, rsi
call fcn.140001f48
mov r8, qword [rsi]
lea rdx, str.LocalCrashRptEvent__s
lea rcx, [rsp + 0x50]
call fcn.1400047a0
mov r9, qword [rsp + 0x50]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x288], rax
lea r9, str.RTLReading
lea r8, str.Settings
mov rdx, qword [rbx + 0x18]
lea rcx, [rsp + 0x60]
call fcn.140003370
nop
lea rdx, [0x14003f6c4]
mov rcx, qword [rsp + 0x60]
call fcn.140021a9c
test eax, eax
jne 0x14000e456
mov ecx, edi
call qword [sym.imp.USER32.dll_SetProcessDefaultLayout]
cmp dword [rbx + 0x98], r15d
jne 0x14000e4f7
mov edx, edi
mov rcx, rbx
call fcn.14000e5a8
lea rdx, str.Success.
mov rax, r12
inc rax
cmp word [rdx + rax*2], r15w
jne 0x14000e477
mov r8d, eax
mov rcx, rbp
call fcn.1400020f4
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14000e4b6
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001400b.0]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov ecx, r12d
lock xadd dword [rdx + 0x10], ecx
add ecx, r12d
test ecx, ecx
jg 0x14000e4de
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x14001400b.0]
mov eax, edi
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea r8, str.Local43773530_129a_4298_88f2_20eea3e4a59b
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000e52b
lea rdx, str.Another_CrashSender.exe_already_tries_to_resend_recent_reports.
mov rax, r12
inc rax
cmp word [rdx + rax*2], r15w
jne 0x14000e51f
jmp 0x14000e58a
mov rax, qword [rbx + 0x160]
sub rax, qword [rbx + 0x158]
sar rax, 4
movabs rcx, 0xeeeeeeeeeeeeeeef
imul rax, rcx
test eax, eax
jne 0x14000e565
lea rdx, str.There_are_no_reports_for_us_to_send.
mov rax, r12
inc rax
cmp word [rdx + rax*2], r15w
jne 0x14000e559
jmp 0x14000e58a
lea rcx, [rbx + 8]
call fcn.1400090c0
test eax, eax
jne 0x14000e46d
lea rdx, str.Not_enough_time_elapsed_to_remind_user_about_recent_crash_reports.
mov rax, r12
inc rax
cmp word [rdx + rax*2], r15w
jne 0x14000e580
mov r8d, eax
mov rcx, rbp
call fcn.1400020f4
mov edi, r15d
jmp 0x14000e48d
mov ecx, 0x80004005
call fcn.140001558
int3