Function at 0x14002a720
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x14011e878]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rdx
mov ebx, ecx
call fcn.14002a470
mov rdx, rdi
mov ecx, ebx
xor esi, esi
call fcn.140001930
test al, al
jne 0x14002a7b8
lea rdx, str.Fatal_error_has_occurred_when_analyzing_the_received_command_line.
lea ecx, [rsi + 4]
call fcn.14002a3c0
xor bl, bl
lea r8, [0x1400e3a2c]
mov ecx, 6
lea rdx, str.Crash_handler___Version__s
call fcn.14002a430
mov ecx, 5
call fcn.1400017d0
mov r8, rax
lea rdx, str.Game_Engine_____Version__s
mov ecx, 6
call fcn.14002a430
test bl, bl
jne 0x14002a805
call fcn.14002a540
mov eax, 1
jmp 0x14002aa80
mov ecx, 7
call fcn.1400017d0
mov r8, rax
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
test rax, rax
mov rsi, rax
setne bl
test rax, rax
jne 0x14002a7f6
call fcn.1400023f0
mov r8, rax
lea rdx, str.Fatal_error:_Failed_to_open_the_engine_shared_mutex.___ws_
xor ecx, ecx
call fcn.14002a3c0
test bl, bl
je 0x14002a76d
mov bl, 1
jmp 0x14002a76f
call fcn.14001f690
test al, al
jne 0x14002a813
call fcn.14002a540
call fcn.14001f710
test al, al
mov edi, 0xe
mov ecx, 0x15
cmovne edi, ecx
je 0x14002a830
call fcn.14001fe60
jmp 0x14002a835
call fcn.140001380
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], 1
mov rdx, rax
mov ecx, 8
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetProcessPreferredUILanguages]
cmp eax, 1
jne 0x14002a86d
mov r8, rbx
movzx ecx, dil
lea rdx, str.Process_language_has_been_set_to___ws_.
call fcn.14002a430
jmp 0x14002a8a8
call fcn.1400023f0
lea r9, [0x1400e5dcc]
movzx ecx, dil
mov r8, rbx
mov qword [rsp + 0x20], rax
lea rdx, str.Failed_to_set_the_process_language_to___ws_._Using_the_default_code___ws__instead.___ws_
call fcn.14002a650
lea r8, [rsp + 0x30]
mov ecx, 8
lea rdx, [0x1400e5dcc]
call qword [sym.imp.KERNEL32.dll_SetProcessPreferredUILanguages]
xor edx, edx
xor ecx, ecx
call fcn.140008260
call fcn.14002b520
call fcn.14003a950
call fcn.140007e30
call fcn.14003aba0
call fcn.14001f440
call fcn.14002a400
lea rdx, str.GenerateDumpAtRuntime
lea rcx, str.SoftwareActivisionCall_of_DutyDevelopment
call fcn.140002a10
mov edx, 0x7d0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14002a944
nop word [rax + rax]
lea rdx, str.GenerateDumpAtRuntime
lea rcx, str.SoftwareActivisionCall_of_DutyDevelopment
call fcn.140002bf0
test al, al
je 0x14002a92f
call fcn.1400093b0
lea rdx, str.GenerateDumpAtRuntime
lea rcx, str.SoftwareActivisionCall_of_DutyDevelopment
call fcn.140002a10
mov edx, 0x7d0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x14002a900
test eax, eax
je 0x14002a982
cmp eax, 0x80
je 0x14002a972
cmp eax, 0xffffffff
jne 0x14002a990
call fcn.1400023f0
mov r9, rax
lea rdx, str.The_mutex_is_in_an_unknown_state___u__and_the_waiting_failed.___ws_
mov r8d, 0xffffffff
xor ecx, ecx
call fcn.14002a3c0
jmp 0x14002a990
lea rdx, str.The_mutex_hasnt_been_released_by_the_monitored_application._It_means_that_the_engine_might_have_shutdown_unexpectedly.
xor ecx, ecx
call fcn.14002a650
jmp 0x14002a990
lea rdx, str.The_mutex_has_been_successfully_released_by_the_monitored_application.
xor ecx, ecx
call fcn.14002a430
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov ecx, 9
call fcn.1400018d0
lea rcx, str.crashed
mov edx, 0x104
mov qword [rsp + 0x28], rcx
lea r9, str._s_S
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r8, 0xffffffffffffffff
call fcn.1400029a0
lea rcx, [rsp + 0x40]
call fcn.140002100
xor ecx, ecx
test al, al
je 0x14002aa00
lea rdx, str.The_engine_has_crashed._Begin_the_crash_report_procedure.
call fcn.14002a430
mov rcx, rsi
call fcn.140009620
jmp 0x14002aa0c
lea rdx, str.The_engine_hasnt_crashed._There_is_no_need_to_generate_a_crash_report_in_this_case.
call fcn.14002a430
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x1e
call fcn.140001b90
test al, al
je 0x14002aa28
call fcn.14000a240
mov ecx, 0x1d
call fcn.140001b90
movzx edx, al
mov ecx, 0xf
call fcn.14002b200
test al, al
je 0x14002aa48
call fcn.140025430
call fcn.140024e00
call fcn.14003ab70
call fcn.140007fb0
call fcn.140008480
call fcn.14003add0
call fcn.14001f510
call fcn.14001fca0
lea rdx, str._End_of_the_program_
xor ecx, ecx
call fcn.14002a430
call fcn.14002a540
xor eax, eax
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400d51a0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret