Function at 0x14000b730
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, [0x14002ae60]
lea edx, [rsi + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
test rax, rax
je 0x14000b7d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000b7d0
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.140024d6c
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.140007080
nop
mov rbx, qword [0x14003fa48]
mov qword [0x14003fa48], rax
test rbx, rbx
je 0x14000b877
mov rax, qword [rbx + 8]
test rax, rax
je 0x14000b852
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 0x14000b863
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rsi
mov edx, 0x18
mov rcx, rbx
call fcn.140024d38
mov rax, qword [0x14003fa48]
mov rcx, qword [rax + 8]
inc dword [rcx + 0x18]
call fcn.1400077a0
call fcn.14000e850
call fcn.140007390
mov r8d, r15d
mov rdx, r14
lea rcx, [rbp + 0x10]
call fcn.14000b490
test rax, rax
jne 0x14000b8a9
lea esi, [rax + 3]
jmp 0x14000bb95
mov qword [0x14003bbd8], rax
mov edx, 1
lea rcx, [0x14000b010]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov ecx, 0x60
call fcn.140024d6c
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.140012340
mov rbx, rax
movzx r8d, byte [0x14003bc5d]
movzx edx, byte [0x14003bc5b]
mov rcx, rax
call fcn.140012d70
cmp byte [0x14003bc5d], 0
je 0x14000b93a
mov r8d, 1
mov edx, dword [0x14003bc60]
mov rcx, rbx
call fcn.140013110
mov r8d, 2
mov edx, dword [0x14003bc60]
mov rcx, rbx
call fcn.140013110
call fcn.140007390
cmp dword [0x14003bc60], 0
je 0x14000b9a3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x402
mov rcx, qword [0x14003bbd8]
call qword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x40]
call fcn.14000de10
nop
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14000de40
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000b993
mov edx, 1
call fcn.140024d38
movaps xmm6, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x30], xmm6
mov edi, dword [rsp + 0x38]
jmp 0x14000b9a8
movaps xmm6, xmmword [rsp + 0x30]
call fcn.14000b5f0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x14000b9f3
test eax, eax
je 0x14000ba3e
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 0x14000b9c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.140006eb0
nop
mov r8, rax
lea rdx, str.Error:
lea rcx, [rbp - 0x80]
call fcn.14000d6a0
cmp qword [rax + 0x18], 0x10
jb 0x14000ba22
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rbp - 0x80]
call fcn.140005b30
nop
lea rcx, [rbp - 0x60]
call fcn.140005b30
test rbx, rbx
je 0x14000ba58
mov rcx, rbx
call fcn.140012450
mov edx, 0x60
mov rcx, rbx
call fcn.140024d38
cmp byte [0x14003bc5d], 0
jne 0x14000bb82
cmp dword [0x14003bc60], 0
je 0x14000bad8
test edi, edi
setne al
test al, al
jne 0x14000ba82
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 0x14000ba96
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 0x14000baab
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 0x14000bacd
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 [0x14003fc38], 0
setne al
test al, al
je 0x14000baeb
call fcn.14000af30
mov rax, qword [0x14003fa38]
mov r14, qword [rax + 0x138]
test r14, r14
jne 0x14000bb05
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.140006c70]
mov rcx, r14
call rbx
test al, al
je 0x14000bb56
lea rax, [rbp + 0x10]
mov qword [rbp - 0x40], rax
mov rax, qword [0x14003fa38]
mov r14, qword [rax + 0x78]
test r14, r14
jne 0x14000bb3d
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.140006c70]
lea rdx, [rbp - 0x40]
mov rcx, r14
call rbx
cmp qword [0x14003bbf8], 0
je 0x14000bb82
mov rcx, qword [0x14003f928]
test rcx, rcx
je 0x14000bb82
call qword [sym.imp.KERNEL32.dll_SetEvent]
or edx, 0xffffffff
mov rcx, qword [0x14003bbf8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [0x14003fa48]
test rax, rax
je 0x14000bb95
mov rcx, qword [rax + 8]
dec dword [rcx + 0x18]
lea rcx, [rbp + 0x28]
call fcn.14000c810
lea rcx, [rbp + 0x10]
call fcn.14000c810
nop
lea rcx, [rbp - 8]
call fcn.14000c810
nop
test edi, edi
je 0x14000bbbd
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.140024b90
mov rbx, qword [rsp + 0x1d8]
movaps xmm6, xmmword [rsp + 0x190]
add rsp, 0x1a0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret