Function at 0x14000b6d0
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 0x14000b770
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000b770
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.140024d3c
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.140007020
nop
mov rbx, qword [0x14003fe58]
mov qword [0x14003fe58], rax
test rbx, rbx
je 0x14000b817
mov rax, qword [rbx + 8]
test rax, rax
je 0x14000b7f2
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 0x14000b803
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rsi
mov edx, 0x18
mov rcx, rbx
call fcn.140024d08
mov rax, qword [0x14003fe58]
mov rcx, qword [rax + 8]
inc dword [rcx + 0x18]
call fcn.140007740
call fcn.14000e7f0
call fcn.140007330
mov r8d, r15d
mov rdx, r14
lea rcx, [rbp + 0x10]
call fcn.14000b430
test rax, rax
jne 0x14000b849
lea esi, [rax + 3]
jmp 0x14000bb35
mov qword [0x14003bf28], rax
mov edx, 1
lea rcx, [0x14000afb0]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov ecx, 0x60
call fcn.140024d3c
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.1400122e0
mov rbx, rax
movzx r8d, byte [0x14003c06d]
movzx edx, byte [0x14003c06b]
mov rcx, rax
call fcn.140012d40
cmp byte [0x14003c06d], 0
je 0x14000b8da
mov r8d, 1
mov edx, dword [0x14003c070]
mov rcx, rbx
call fcn.1400130e0
mov r8d, 2
mov edx, dword [0x14003c070]
mov rcx, rbx
call fcn.1400130e0
call fcn.140007330
cmp dword [0x14003c070], 0
je 0x14000b943
xor r9d, r9d
xor r8d, r8d
mov edx, 0x402
mov rcx, qword [0x14003bf28]
call qword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x40]
call fcn.14000ddb0
nop
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14000dde0
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000b933
mov edx, 1
call fcn.140024d08
movaps xmm6, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x30], xmm6
mov edi, dword [rsp + 0x38]
jmp 0x14000b948
movaps xmm6, xmmword [rsp + 0x30]
call fcn.14000b590
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x14000b993
test eax, eax
je 0x14000b9de
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 0x14000b964
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.140006e50
nop
mov r8, rax
lea rdx, str.Error:
lea rcx, [rbp - 0x80]
call fcn.14000d640
cmp qword [rax + 0x18], 0x10
jb 0x14000b9c2
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rbp - 0x80]
call fcn.140005ad0
nop
lea rcx, [rbp - 0x60]
call fcn.140005ad0
test rbx, rbx
je 0x14000b9f8
mov rcx, rbx
call fcn.1400123f0
mov edx, 0x60
mov rcx, rbx
call fcn.140024d08
cmp byte [0x14003c06d], 0
jne 0x14000bb22
cmp dword [0x14003c070], 0
je 0x14000ba78
test edi, edi
setne al
test al, al
jne 0x14000ba22
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 0x14000ba36
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 0x14000ba4b
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 0x14000ba6d
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 [0x140040048], 0
setne al
test al, al
je 0x14000ba8b
call fcn.14000aed0
mov rax, qword [0x14003fe48]
mov r14, qword [rax + 0x138]
test r14, r14
jne 0x14000baa5
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.140006c10]
mov rcx, r14
call rbx
test al, al
je 0x14000baf6
lea rax, [rbp + 0x10]
mov qword [rbp - 0x40], rax
mov rax, qword [0x14003fe48]
mov r14, qword [rax + 0x78]
test r14, r14
jne 0x14000badd
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.140006c10]
lea rdx, [rbp - 0x40]
mov rcx, r14
call rbx
cmp qword [0x14003fd38], 0
je 0x14000bb22
mov rcx, qword [0x14003fd40]
test rcx, rcx
je 0x14000bb22
call qword [sym.imp.KERNEL32.dll_SetEvent]
or edx, 0xffffffff
mov rcx, qword [0x14003fd38]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [0x14003fe58]
test rax, rax
je 0x14000bb35
mov rcx, qword [rax + 8]
dec dword [rcx + 0x18]
lea rcx, [rbp + 0x28]
call fcn.14000c7b0
lea rcx, [rbp + 0x10]
call fcn.14000c7b0
nop
lea rcx, [rbp - 8]
call fcn.14000c7b0
nop
test edi, edi
je 0x14000bb5d
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.140024b60
mov rbx, qword [rsp + 0x1d8]
movaps xmm6, xmmword [rsp + 0x190]
add rsp, 0x1a0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret