Function at 0x14000b510
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Print debug messages
Terminate process

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0xc8]
sub rsp, 0x1a0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14003a008]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r15d, r9d
mov r14, rcx
xor esi, esi
mov qword [rsp + 0x30], rsi
mov edi, esi
mov dword [rsp + 0x38], esi
xorps xmm0, xmm0
movdqu xmmword [rbp - 8], xmm0
mov qword [rbp + 8], rsi
lea r8, [0x14002abc0]
lea edx, [rsi + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
test rax, rax
je 0x14000b5b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000b5b0
lea r9d, [rsi + 0x30]
lea r8, str.Warning
lea rdx, str.FrameView_is_already_running.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x20], xmm1
movdqa xmmword [rbp + 0x30], xmm0
xor eax, eax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
lea ecx, [rax + 0x18]
call fcn.140024b4c
mov qword [rbp - 0x40], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov rcx, rax
call fcn.140006e60
nop
mov rbx, qword [0x14003fa68]
mov qword [0x14003fa68], rax
test rbx, rbx
je 0x14000b657
mov rax, qword [rbx + 8]
test rax, rax
je 0x14000b632
lock dec dword [rax]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbx + 8], rsi
mov edi, dword [rsp + 0x38]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000b643
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rsi
mov edx, 0x18
mov rcx, rbx
call fcn.140024e38
mov rax, qword [0x14003fa68]
mov rcx, qword [rax + 8]
inc dword [rcx + 0x18]
call fcn.140007580
call fcn.14000e630
call fcn.140007170
mov r8d, r15d
mov rdx, r14
lea rcx, [rbp + 0x10]
call fcn.14000b270
test rax, rax
jne 0x14000b689
lea esi, [rax + 3]
jmp 0x14000b975
mov qword [0x14003bbf8], rax
mov edx, 1
lea rcx, [0x14000adf0]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov ecx, 0x60
call fcn.140024b4c
mov rbx, rax
mov qword [rsp + 0x50], rax
xor edx, edx
lea r8d, [rdx + 0x60]
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140012120
mov rbx, rax
movzx r8d, byte [0x14003bc7d]
movzx edx, byte [0x14003bc7b]
mov rcx, rax
call fcn.140012b50
cmp byte [0x14003bc7d], 0
je 0x14000b71a
mov r8d, 1
mov edx, dword [0x14003bc80]
mov rcx, rbx
call fcn.140012ef0
mov r8d, 2
mov edx, dword [0x14003bc80]
mov rcx, rbx
call fcn.140012ef0
call fcn.140007170
cmp dword [0x14003bc80], 0
je 0x14000b783
xor r9d, r9d
xor r8d, r8d
mov edx, 0x402
mov rcx, qword [0x14003bbf8]
call qword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x40]
call fcn.14000dbf0
nop
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14000dc20
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000b773
mov edx, 1
call fcn.140024e38
movaps xmm6, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x30], xmm6
mov edi, dword [rsp + 0x38]
jmp 0x14000b788
movaps xmm6, xmmword [rsp + 0x30]
call fcn.14000b3d0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x14000b7d3
test eax, eax
je 0x14000b81e
lea rcx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
jne 0x14000b7a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.140006c90
nop
mov r8, rax
lea rdx, str.Error:
lea rcx, [rbp - 0x80]
call fcn.14000d480
cmp qword [rax + 0x18], 0x10
jb 0x14000b802
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rbp - 0x80]
call fcn.140005910
nop
lea rcx, [rbp - 0x60]
call fcn.140005910
test rbx, rbx
je 0x14000b838
mov rcx, rbx
call fcn.140012230
mov edx, 0x60
mov rcx, rbx
call fcn.140024e38
cmp byte [0x14003bc7d], 0
jne 0x14000b962
cmp dword [0x14003bc80], 0
je 0x14000b8b8
test edi, edi
setne al
test al, al
jne 0x14000b862
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
test edi, edi
sete al
test al, al
je 0x14000b876
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp edi, eax
jne 0x14000b88b
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
movdqa xmmword [rsp + 0x50], xmm6
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x14000b8ad
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov qword [rsp + 0x30], rsi
mov edi, esi
mov dword [rsp + 0x38], esi
cmp dword [0x14003fc58], 0
setne al
test al, al
je 0x14000b8cb
call fcn.14000ad10
mov rax, qword [0x14003fa58]
mov r14, qword [rax + 0x138]
test r14, r14
jne 0x14000b8e5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [r14]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.140006a50]
mov rcx, r14
call rbx
test al, al
je 0x14000b936
lea rax, [rbp + 0x10]
mov qword [rbp - 0x40], rax
mov rax, qword [0x14003fa58]
mov r14, qword [rax + 0x78]
test r14, r14
jne 0x14000b91d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [r14]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.140006a50]
lea rdx, [rbp - 0x40]
mov rcx, r14
call rbx
cmp qword [0x14003bc18], 0
je 0x14000b962
mov rcx, qword [0x14003f948]
test rcx, rcx
je 0x14000b962
call qword [sym.imp.KERNEL32.dll_SetEvent]
or edx, 0xffffffff
mov rcx, qword [0x14003bc18]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [0x14003fa68]
test rax, rax
je 0x14000b975
mov rcx, qword [rax + 8]
dec dword [rcx + 0x18]
lea rcx, [rbp + 0x28]
call fcn.14000c5f0
lea rcx, [rbp + 0x10]
call fcn.14000c5f0
nop
lea rcx, [rbp - 8]
call fcn.14000c5f0
nop
test edi, edi
je 0x14000b99d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov eax, esi
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140024970
mov rbx, qword [rsp + 0x1d8]
movaps xmm6, xmmword [rsp + 0x190]
add rsp, 0x1a0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret