Function at 0x140001490
Capabilities:
Check mutex on windows

Disassembly:
mov dword [rsp + 8], ecx
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rbx, rdx
lea r8, str.GlobalC6BD7C17_F6E4_4B61_83AC_741301CFCC2C
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rdi, rax
test rax, rax
jne 0x1400014d6
lea eax, [rdi + 1]
add rsp, 0x1e0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400014f3
xor eax, eax
add rsp, 0x1e0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x20
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov byte [rbp + 0x120], 0
lea rcx, [rbp - 0x48]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
mov r9d, 0x60403
mov r8, rbx
lea rdx, [rbp + 0x110]
lea rcx, [rsp + 0x78]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QCoreApplication::constructor_int____ptr64__char____ptr64____ptr64__int____ptr64]
nop
lea rcx, [rbp + 0x78]
call qword [sym.imp.Qt6Core.dll_public:_static_class_QString___cdecl_QCoreApplication::applicationFilePath_void_]
mov rdx, rax
lea rcx, [rbp - 0x48]
call qword [sym.imp.Qt6Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rbp + 0x78]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rdx, str.1617A0A5_A727_4999_A0B6_B91188BE0F91
lea rcx, [rbp + 0x60]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
nop
xor r8d, r8d
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x30]
call fcn.140007560
nop
lea rcx, [rbp + 0x60]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp - 0x30]
call fcn.14000baa0
lea rax, [rbp + 0x120]
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x30]
mov qword [rbp - 0x58], rax
lea rax, [rsp + 0x78]
mov qword [rbp - 0x50], rax
lea rax, [rbp + 0x120]
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x70], rax
lea rax, [0x14000c260]
mov qword [rbp - 0x78], rax
mov ecx, 0x20
call fcn.140013718
mov qword [rbp + 0x128], rax
mov dword [rax], 1
lea rcx, [0x1400013d0]
mov qword [rax + 8], rcx
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rax + 0x10], xmm0
lea rcx, [0x140017400]
mov qword [rsp + 0x40], rcx
xor r14d, r14d
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x78]
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x70]
call qword [sym.imp.Qt6Core.dll_private:_static_class_QMetaObject::Connection___cdecl_QObject::connectImpl_class_QObject_const____ptr64__void____ptr64____ptr64__class_QObject_const____ptr64__void____ptr64____ptr64__class_QtPrivate::QSlotObjectBase____ptr64__enum_Qt::ConnectionType__int_const____ptr64__struct_QMetaObject_const____ptr64_]
lea rcx, [rbp - 0x70]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QMetaObject::Connection::destructor_void____ptr64]
lea rcx, [rbp - 0x30]
call fcn.14000b910
mov rbx, rax
lea rax, [fcn.140002ef0]
mov qword [rbp - 0x68], rax
lea ecx, [r14 + 0x18]
call fcn.140013718
mov qword [rbp + 0x128], rax
mov dword [rax], 1
lea rcx, [0x140001430]
mov qword [rax + 8], rcx
lea rcx, [rbp - 0x60]
mov qword [rax + 0x10], rcx
lea rcx, [0x140016eb0]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x78]
lea r8, [rbp - 0x68]
mov rdx, rbx
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt6Core.dll_private:_static_class_QMetaObject::Connection___cdecl_QObject::connectImpl_class_QObject_const____ptr64__void____ptr64____ptr64__class_QObject_const____ptr64__void____ptr64____ptr64__class_QtPrivate::QSlotObjectBase____ptr64__enum_Qt::ConnectionType__int_const____ptr64__struct_QMetaObject_const____ptr64_]
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QMetaObject::Connection::destructor_void____ptr64]
call qword [sym.imp.Qt6Core.dll_public:_static_int___cdecl_QCoreApplication::exec_void_]
mov esi, eax
mov rcx, qword [rbp + 0x40]
mov rbx, qword [rcx + 8]
cmp byte [rbx + 0x19], r14b
jne 0x1400016fb
nop
mov r8, qword [rbx + 0x10]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x40]
call fcn.1400011a0
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x30
call fcn.140013754
cmp byte [rbx + 0x19], 0
je 0x1400016d0
mov rcx, qword [rbp + 0x40]
mov edx, 0x30
call fcn.140013754
mov rcx, qword [rbp + 0x30]
mov rbx, qword [rcx + 8]
cmp byte [rbx + 0x19], 0
jne 0x14000173e
mov r8, qword [rbx + 0x10]
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.1400011a0
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x30
call fcn.140013754
cmp byte [rbx + 0x19], 0
je 0x140001713
mov rcx, qword [rbp + 0x30]
mov edx, 0x30
call fcn.140013754
mov rcx, qword [rbp + 0x20]
mov rbx, qword [rcx + 8]
cmp byte [rbx + 0x19], 0
jne 0x14000178b
nop word [rax + rax]
mov r8, qword [rbx + 0x10]
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.1400011a0
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x30
call fcn.140013754
cmp byte [rbx + 0x19], 0
je 0x140001760
mov rcx, qword [rbp + 0x20]
mov edx, 0x30
call fcn.140013754
lea rcx, [rbp + 8]
call qword [sym.imp.Qt6Network.dll_public_virtual:_void___cdecl_QLocalServer::destructor_void____ptr64]
lea rcx, [rbp - 0x10]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp - 0x20]
call qword [sym.imp.Qt6Core.dll_public_virtual:_void___cdecl_QObject::destructor_void____ptr64]
lea rcx, [rbp - 0x30]
call qword [sym.imp.Qt6Core.dll_public_virtual:_void___cdecl_QObject::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.Qt6Core.dll_public_virtual:_void___cdecl_QCoreApplication::destructor_void____ptr64]
cmp byte [rbp + 0x120], 0
je 0x1400018db
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov qword [rsp + 0x60], r14
lea rcx, [rbp + 0xc0]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
mov rdi, rax
lea rdx, str.__1_
lea rcx, [rbp + 0xa8]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
mov rbx, rax
mov edx, 0x20
lea rcx, [rbp + 0x128]
call qword [sym.imp.Qt6Core.dll___0QChar__QEAA__S_Z]
movzx ecx, word [rax]
mov word [rsp + 0x20], cx
xor r9d, r9d
lea r8, [rbp - 0x48]
lea rdx, [rbp + 0x90]
mov rcx, rbx
call qword [sym.imp.Qt6Core.dll_public:_class_QString___cdecl_QString::arg_class_QString_const____ptr64__int__class_QChar____ptr64]
nop
xor r9d, r9d
mov r8, rdi
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_public:_static_bool___cdecl_QProcess::startDetached_class_QString_const____ptr64__class_QList_class_QString__const____ptr64__class_QString_const____ptr64__long_long___int64_____ptr64_]
nop
lea rcx, [rbp + 0x90]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp + 0xa8]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp + 0xc0]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400018db
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400018db
mov rax, qword [rsp + 0x60]
lea rcx, [rax + rax*2]
mov rbx, qword [rsp + 0x58]
lea rdi, [rbx + rcx*8]
cmp rbx, rdi
je 0x1400018c6
mov rcx, rbx
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
add rbx, 0x18
cmp rbx, rdi
jne 0x1400018b4
mov edx, 0x18
lea r8d, [rdx - 0x10]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.Qt6Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__long_long___int64___long_long___int64__]
nop
lea rcx, [rbp - 0x48]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov eax, esi
add rsp, 0x1e0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret