Function at 0x1400a35d0
Capabilities:
Check mutex on windows
Create thread

Disassembly:
sub rsp, 0x78
mov rax, qword [0x140158e70]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [0x1403407e0], 0x10
lea r8, [0x1403407c8]
mov edx, 1
cmovae r8, qword [0x1403407c8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [0x140340aa0], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400a3632
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400f16c0
add rsp, 0x78
ret
call fcn.140007a30
call fcn.1400d2950
test eax, eax
je 0x1400a38a8
mov edx, 3
mov ecx, 0x22002
call fcn.1400d3c60
mov edx, 3
mov ecx, 0x22003
call fcn.1400d3c60
mov edx, 0x2ee
lea rcx, str.Dead_By_Daylight_Companion
mov r8d, 0x1f4
call fcn.140007d20
lea rdx, [0x1403409c8]
mov qword [0x1403405a8], rax
mov rcx, rax
call fcn.140007e70
mov ecx, 1
call fcn.1400f16e0
lea rcx, [rsp + 0x58]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x1400a3aa0]
xor ecx, ecx
mov dword [rsp + 0x20], 0
xor edx, edx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400a3894
cmp dword [rsp + 0x58], 0
jne 0x1400a36e0
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x50]
lea rcx, [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x1400a3703
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
xorps xmm0, xmm0
lea r8, [0x1403409e4]
mov edx, 0x14d
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [0x140170cd0]
call fcn.1400a31b0
lea r8, [0x1403409e0]
mov edx, 0x180
lea rcx, [0x1401707a0]
call fcn.1400a31b0
lea r8, [0x1403409e8]
mov edx, 0x14f
lea rcx, [0x140170920]
call fcn.1400a31b0
lea r8, [0x1403409d8]
mov edx, 0x1b2
lea rcx, [0x140170f40]
call fcn.1400a31b0
lea r8, [0x1403409f0]
mov edx, 0x151
lea rcx, [0x1401703c0]
call fcn.1400a31b0
lea r8, [0x1403409d4]
mov edx, 0x11b
lea rcx, [0x140170e20]
call fcn.1400a31b0
lea r8, [0x1403409f4]
mov edx, 0x13a
lea rcx, [0x140170a70]
call fcn.1400a31b0
lea r8, [0x1403409dc]
mov edx, 0x112
lea rcx, [0x140170bb0]
call fcn.1400a31b0
lea r8, [0x1403409ec]
mov edx, 0x16f
lea rcx, [0x140170520]
call fcn.1400a31b0
lea r8, [0x1403409c0]
mov edx, 0x10f
lea rcx, [0x140170690]
call fcn.1400a31b0
call fcn.1400c9e20
mov rcx, qword [0x140340a80]
test rcx, rcx
je 0x1400a3830
call fcn.1400d4830
mov rax, qword [0x140340a00]
mov qword [0x1403405d0], rax
mov qword [0x140340a80], 0
call fcn.140008f20
mov rax, qword [0x1403409c8]
mov qword [0x1403405d0], rax
call fcn.140008f20
mov rcx, qword [0x1403405a8]
call fcn.1400d4830
call fcn.1400d2aa0
mov rcx, qword [0x140340aa0]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
test eax, eax
je 0x1400a3872
mov rcx, qword [0x140340aa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x58], 0
je 0x1400a3880
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400f16c0
add rsp, 0x78
ret
mov ecx, 6
mov dword [rsp + 0x58], 0
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xor ecx, ecx
call fcn.1400d2ca0
movsxd rdx, eax
lea rcx, [rsp + 0x30]
lea rax, str.Couldnt_initialize_GLFW__error:
add rdx, rax
call fcn.1400045d0
lea rdx, [0x14012c620]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3