Function at 0x14000cc90
Capabilities:
Check mutex on windows
Print debug messages

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1c0
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1400d3008]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov r15d, r9d
mov r14, rcx
xor edi, edi
mov qword [rsp + 0x40], rdi
mov esi, edi
mov dword [rsp + 0x48], edi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], rdi
lea r8, [0x1400b5450]
lea edx, [rdi + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
test rax, rax
je 0x14000cd2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000cd2e
lea r9d, [rdi + 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 fcn.140057a18
int3
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x40], xmm1
movdqa xmmword [rbp + 0x50], xmm0
xor eax, eax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
mov qword [rbp], rax
lea ecx, [rax + 0x18]
call fcn.14002dcec
mov qword [rbp - 0x30], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov rcx, rax
call fcn.1400088d0
nop
mov rbx, qword [0x1400dd338]
mov qword [0x1400dd338], rax
test rbx, rbx
je 0x14000cdd5
mov rax, qword [rbx + 8]
test rax, rax
je 0x14000cdb0
lock dec dword [rax]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbx + 8], rdi
mov esi, dword [rsp + 0x48]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000cdc1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rdi
mov edx, 0x18
mov rcx, rbx
call fcn.14002dfd8
mov rax, qword [0x1400dd338]
mov rcx, qword [rax + 8]
inc dword [rcx + 0x18]
call fcn.140008f50
call fcn.1400176b0
call fcn.140008be0
mov r8d, r15d
mov rdx, r14
lea rcx, [rbp + 0x30]
call fcn.14000c9f0
test rax, rax
jne 0x14000ce07
lea edi, [rax + 3]
jmp 0x14000d1dc
mov qword [0x1400d94c8], rax
mov edx, 1
lea rcx, [0x14000c570]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov r14, rdi
mov qword [rbp + 0x10], rdi
xor eax, eax
mov qword [rbp + 8], rax
mov dword [rsp + 0x34], edi
mov dword [rsp + 0x38], edi
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 8]
call fcn.140006ac0
nop
movzx r8d, byte [0x1400d954d]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rbx, qword [rbp + 8]
mov rcx, rbx
call fcn.14001b9e0
test eax, eax
jns 0x14000ce87
test rbx, rbx
je 0x14000ced1
mov rcx, rbx
call fcn.14001afe0
mov edx, 0x60
mov rcx, rbx
call fcn.14002dfd8
jmp 0x14000ced1
cmp byte [0x1400d954d], 0
je 0x14000ceca
lea r9, [rsp + 0x54]
mov r8d, 1
mov edx, dword [0x1400d9550]
mov rcx, rbx
call fcn.14001bc20
test eax, eax
js 0x14000ce6b
lea r9, [rsp + 0x58]
mov r8d, 2
mov edx, dword [0x1400d9550]
mov rcx, rbx
call fcn.14001bc20
test eax, eax
js 0x14000ce6b
mov r14, rbx
mov qword [rbp + 0x10], rbx
call fcn.140008be0
cmp dword [0x1400d9550], 0
je 0x14000cf38
xor r9d, r9d
xor r8d, r8d
mov edx, 0x402
mov rcx, qword [0x1400d94c8]
call qword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
mov byte [rsp + 0x30], al
lea rcx, [rsp + 0x60]
call fcn.140016780
nop
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.1400167b0
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000cf29
mov edx, 1
call fcn.14002dfd8
movaps xmm6, xmmword [rbp - 0x70]
movaps xmmword [rsp + 0x40], xmm6
mov esi, dword [rsp + 0x48]
jmp 0x14000cf3d
movaps xmm6, xmmword [rsp + 0x40]
call fcn.14000cb50
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x14000cf93
nop dword [rax]
test eax, eax
je 0x14000d08b
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
jne 0x14000cf60
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.1400086a0
nop
mov r8, rax
lea rdx, str.Error:
lea rcx, [rsp + 0x68]
call fcn.1400152d0
cmp qword [rax + 0x18], 0x10
jb 0x14000cfc3
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rax, qword [rbp - 0x80]
cmp rax, 0x10
jb 0x14000d023
inc rax
mov rcx, qword [rsp + 0x68]
cmp rax, 0x1000
jb 0x14000d01e
test cl, 0x1f
je 0x14000cff1
call fcn.140057078
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14000d000
call fcn.140057078
int3
sub rcx, rax
cmp rcx, 8
jae 0x14000d00f
call fcn.140057078
int3
cmp rcx, 0x27
jbe 0x14000d01b
call fcn.140057078
int3
mov rcx, rax
call fcn.14002dfd0
mov qword [rbp - 0x80], 0xf
mov qword [rsp + 0x78], rdi
mov byte [rsp + 0x68], 0
mov rax, qword [rbp - 0x38]
cmp rax, 0x10
jb 0x14000d08b
inc rax
mov rcx, qword [rbp - 0x50]
cmp rax, 0x1000
jb 0x14000d086
test cl, 0x1f
je 0x14000d059
call fcn.140057078
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14000d068
call fcn.140057078
int3
sub rcx, rax
cmp rcx, 8
jae 0x14000d077
call fcn.140057078
int3
cmp rcx, 0x27
jbe 0x14000d083
call fcn.140057078
int3
mov rcx, rax
call fcn.14002dfd0
mov qword [rbp + 0x10], rdi
test r14, r14
je 0x14000d0a9
mov rcx, r14
call fcn.14001afe0
mov edx, 0x60
mov rcx, r14
call fcn.14002dfd8
cmp byte [0x1400d954d], 0
jne 0x14000d1c9
cmp dword [0x1400d9550], 0
je 0x14000d121
test esi, esi
setne al
test al, al
jne 0x14000d0d2
mov ecx, 1
call fcn.14002ff80
test esi, esi
sete al
test al, al
je 0x14000d0e5
mov ecx, 1
call fcn.14002ff80
call sub.KERNEL32.dll_GetCurrentThreadId
cmp esi, eax
jne 0x14000d0f8
mov ecx, 5
call fcn.14002ff80
movdqa xmmword [rbp - 0x60], xmm6
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.140030d30
test eax, eax
je 0x14000d116
mov ecx, 2
call fcn.14002ff80
mov qword [rsp + 0x40], rdi
mov esi, edi
mov dword [rsp + 0x48], edi
cmp dword [0x1400dd528], 0
setne al
test al, al
je 0x14000d134
call fcn.14000c490
mov rax, qword [0x1400dd328]
mov r14, qword [rax + 0x138]
test r14, r14
jne 0x14000d14d
call fcn.14002ef1c
int3
mov rax, qword [r14]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.140006f80]
mov rcx, r14
call rbx
test al, al
je 0x14000d19d
lea rax, [rbp + 0x30]
mov qword [rbp - 0x30], rax
mov rax, qword [0x1400dd328]
mov r14, qword [rax + 0x78]
test r14, r14
jne 0x14000d184
call fcn.14002ef1c
int3
mov rax, qword [r14]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.140006f80]
lea rdx, [rbp - 0x30]
mov rcx, r14
call rbx
cmp qword [0x1400d94e8], 0
je 0x14000d1c9
mov rcx, qword [0x1400dd218]
test rcx, rcx
je 0x14000d1c9
call qword [sym.imp.KERNEL32.dll_SetEvent]
or edx, 0xffffffff
mov rcx, qword [0x1400d94e8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [0x1400dd338]
test rax, rax
je 0x14000d1dc
mov rcx, qword [rax + 8]
dec dword [rcx + 0x18]
lea rcx, [rbp + 0x48]
call fcn.140010810
lea rcx, [rbp + 0x30]
call fcn.140010810
nop
lea rcx, [rbp + 0x18]
call fcn.140010810
nop
test esi, esi
je 0x14000d203
call fcn.14005ca14
int3
mov eax, edi
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14002d9f0
mov rbx, qword [rsp + 0x1f8]
movaps xmm6, xmmword [rsp + 0x1b0]
add rsp, 0x1c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret