Function at 0x14000eb3c
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 + 0x1c8]
lea rdx, str.Unspecified_error___init.
or r12, 0xffffffffffffffff
mov rax, r12
xor r15d, r15d
inc rax
cmp word [rdx + rax*2], r15w
jne 0x14000eb70
mov r8d, eax
mov rcx, rbp
call fcn.1400021f0
mov rdx, rdi
lea rcx, [rbx + 8]
call fcn.140006ee8
test eax, eax
je 0x14000ec0b
mov rcx, qword [rbx + 0x1c0]
sub rcx, 0x18
call fcn.140001f9c
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 0x14000ebce
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140002044
mov rbx, qword [rsp + 0x50]
mov r8, rbx
lea rdx, str.Error_reading_crash_info:__s
mov rcx, rbp
call fcn.140004fd8
nop
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14000ec04
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14001b738]
xor eax, eax
jmp 0x14000ed5d
lea rsi, [rbx + 0x290]
mov r8, rdi
lea rdx, [0x14001c7b8]
mov rcx, rsi
call fcn.140004fd8
call fcn.140001690
mov rcx, rax
test rax, rax
je 0x14000ee23
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [0x14001b738]
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 0x14000ec6e
xor edx, edx
mov rcx, rsi
call fcn.140002044
mov r8, qword [rsi]
lea rdx, str.LocalCrashRptEvent__s
lea rcx, [rsp + 0x50]
call fcn.140004fd8
mov r9, qword [rsp + 0x50]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x298], rax
lea r9, str.RTLReading
lea r8, str.Settings
mov rdx, qword [rbx + 0x18]
lea rcx, [rsp + 0x60]
call fcn.1400034e8
nop
lea rdx, [0x14001d514]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x14000ecd3
mov ecx, edi
call qword [sym.imp.USER32.dll_SetProcessDefaultLayout]
cmp dword [rbx + 0x98], r15d
jne 0x14000ed74
mov edx, edi
mov rcx, rbx
call fcn.14000ee30
lea rdx, str.Success.
mov rax, r12
inc rax
cmp word [rdx + rax*2], r15w
jne 0x14000ecf4
mov r8d, eax
mov rcx, rbp
call fcn.1400021f0
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 0x14000ed33
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14001b738]
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 0x14000ed5b
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [0x14001b738]
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 0x14000eda8
lea rdx, str.Another_CrashSender.exe_already_tries_to_resend_recent_reports.
mov rax, r12
inc rax
cmp word [rdx + rax*2], r15w
jne 0x14000ed9c
jmp 0x14000ee10
mov rcx, qword [rbx + 0x168]
sub rcx, qword [rbx + 0x160]
movabs rax, 0xf83e0f83e0f83e1
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
test edx, edx
jne 0x14000edeb
lea rdx, str.There_are_no_reports_for_us_to_send.
mov rax, r12
inc rax
cmp word [rdx + rax*2], r15w
jne 0x14000eddf
jmp 0x14000ee10
lea rcx, [rbx + 8]
call fcn.140009888
test eax, eax
jne 0x14000ecea
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 0x14000ee06
mov r8d, eax
mov rcx, rbp
call fcn.1400021f0
mov edi, r15d
jmp 0x14000ed0a
mov ecx, 0x80004005
call fcn.140001500
int3