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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x140304f48]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r14, rdx
mov dword [rsp + 0x50], ecx
lea rdx, str.en_US.UTF8
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
xor r15d, r15d
mov esi, r15d
mov rdx, r14
mov ecx, dword [rsp + 0x50]
call fcn.140018300
test al, al
je 0x14004f301
lea r8, str.09499CAB_E416_41D4_A537_138436A9E759
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
test rax, rax
je 0x14004f2bb
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [0x1401eafd0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x14004f2bb
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0xbb8
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x401
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
lea r8, str.C92B7C82_F8B3_4CE8_BBD2_E9050A7FEF57
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rsi, rax
test rax, rax
je 0x14004f301
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14004f301
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str._lv_detect_:_app_instance_already_run___
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 0xffffffff
jmp 0x14004f6c7
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor ecx, ecx
test eax, eax
jns 0x14004f34f
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
mov byte [rbp + 0x70], cl
mov r9d, eax
lea r8, str._lv_detect_:_init_COM_failed_with_err_code:_d
lea edx, [rcx + 0x40]
lea rcx, [rbp + 0x30]
call fcn.140051080
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 0xffffffff
jmp 0x14004f6c7
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov ebx, 0xffffffff
mov edx, ebx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov edi, eax
test eax, eax
jns 0x14004f3c9
call qword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
mov byte [rbp + 0x70], al
mov r9d, edi
lea r8, str._lv_detect_:_init_COM_security_failed_with_err_code:_d
lea edx, [rbx + 0x41]
lea rcx, [rbp + 0x30]
call fcn.140051080
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, ebx
jmp 0x14004f6c7
mov rdx, qword [sym.imp.VEConfig.dll_char_const__const___ptr64_const___ptr64_VEConfig::product::ORGANIZATIONNAME]
mov rdx, qword [rdx]
lea rcx, [rbp - 0x50]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
nop
lea rcx, [rbp - 0x50]
call qword [sym.imp.Qt6Core.dll_public:_static_void___cdecl_QCoreApplication::setOrganizationName_class_QString_const____ptr64_]
nop
lea rcx, [rbp - 0x50]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rdx, qword [sym.imp.VEConfig.dll_char_const__const___ptr64_const___ptr64_VEConfig::product::ORGANIZATIONNAMEDOMAIN]
mov rdx, qword [rdx]
lea rcx, [rbp - 0x38]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
nop
lea rcx, [rbp - 0x38]
call qword [sym.imp.Qt6Core.dll_public:_static_void___cdecl_QCoreApplication::setOrganizationDomain_class_QString_const____ptr64_]
nop
lea rcx, [rbp - 0x38]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rdx, qword [sym.imp.VEConfig.dll_char_const__const___ptr64_const___ptr64_VEConfig::product::NAME]
mov rdx, qword [rdx]
lea rcx, [rbp - 0x20]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
nop
lea rcx, [rbp - 0x20]
call qword [sym.imp.Qt6Core.dll_public:_static_void___cdecl_QCoreApplication::setApplicationName_class_QString_const____ptr64_]
nop
lea rcx, [rbp - 0x20]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
call fcn.140006690
xor r8d, r8d
mov edx, 0xffffffff
lea rcx, str.VeDetector
call fcn.14007fc00
mov ecx, 5
call qword [sym.imp.Qt6Gui.dll_public:_static_void___cdecl_QGuiApplication::setHighDpiScaleFactorRoundingPolicy_enum_Qt::HighDpiScaleFactorRoundingPolicy_]
mov r9d, 0x60202
mov r8, r14
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x60]
call qword [sym.imp.Qt6Widgets.dll_public:_void___cdecl_QApplication::constructor_int____ptr64__char____ptr64____ptr64__int____ptr64]
nop
lea rdx, str.:_skins_default_AppIcon_cc.ico
lea rcx, [rbp - 8]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
nop
lea rdx, [rbp - 8]
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QIcon::constructor_class_QString_const____ptr64____ptr64]
nop
mov rcx, rax
call qword [sym.imp.Qt6Gui.dll_public:_static_void___cdecl_QGuiApplication::setWindowIcon_class_QIcon_const____ptr64_]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QIcon::destructor_void____ptr64]
nop
lea rcx, [rbp - 8]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x28], SafeArrayGetLBound
mov qword [rbp + 0x20], r15
mov byte [rbp + 0x10], 0
lea rcx, [rbp + 0x10]
call fcn.140088b40
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x14004f522
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f51d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f51d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14017fa70
mov ecx, 0x80
call fcn.14017fa34
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14004f545
xor edx, edx
mov rcx, rax
call fcn.1400559c0
mov rdi, rax
jmp 0x14004f548
mov rdi, r15
test rdi, rdi
je 0x14004f558
mov rcx, rdi
call qword [sym.imp.Qt6Core.dll_public:_static_struct_QtSharedPointer::ExternalRefCountData____ptr64___cdecl_QtSharedPointer::ExternalRefCountData::getAndRef_class_QObject_const____ptr64_]
jmp 0x14004f55b
mov rax, r15
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdi
test rax, rax
je 0x14004f571
mov eax, dword [rax + 4]
test eax, eax
jne 0x14004f574
mov rdi, r15
mov edx, 0x19a
mov r8d, 0xec
mov rcx, rdi
call qword [sym.imp.Qt6Widgets.dll_public:_void___cdecl_QWidget::resize_int__int____ptr64]
call fcn.14002a650
movdqa xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x80], xmm0
movq rcx, xmm0
test rcx, rcx
je 0x14004f5a5
lock inc dword [rcx]
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.14002f5a0
mov ecx, 0xa
call qword [sym.imp.Qt6Core.dll_private:_static_enum_Qt::TimerType___cdecl_QTimer::defaultTypeFor_int_]
mov edi, eax
mov ecx, SafeArrayPutElement
call fcn.14017fa34
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14004f5ee
mov dword [rax], 1
lea rcx, [0x14004fac0]
mov qword [rax + 8], rcx
lea rcx, [rsp + 0x60]
mov qword [rax + 0x10], rcx
jmp 0x14004f5f1
mov rax, r15
mov r9, rax
xor r8d, r8d
mov edx, edi
lea ecx, [r8 + 0xa]
call qword [sym.imp.Qt6Core.dll_private:_static_void___cdecl_QTimer::singleShotImpl_int__enum_Qt::TimerType__class_QObject_const____ptr64__class_QtPrivate::QSlotObjectBase____ptr64_]
call qword [sym.imp.Qt6Widgets.dll_public:_static_int___cdecl_QApplication::exec_void_]
mov edi, eax
call fcn.14002a650
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
lea rdx, [rbp - 0x70]
mov rcx, rax
call fcn.14002f5a0
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14004f677
mov eax, dword [rcx + 4]
test eax, eax
je 0x14004f677
cmp qword [rsp + 0x68], 0
je 0x14004f677
mov eax, dword [rcx + 4]
test eax, eax
je 0x14004f654
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov edx, 1
call qword [rax + SafeArrayPutElement]
mov rcx, qword [rsp + 0x60]
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
test rcx, rcx
je 0x14004f677
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14004f677
call fcn.140180160
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.ole32.dll_CoUninitialize]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x14004f6bb
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x14004f6bb
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14004f6bb
call fcn.140180160
nop
lea rcx, [rbp - 0x60]
call qword [sym.imp.Qt6Widgets.dll_public_virtual:_void___cdecl_QApplication::destructor_void____ptr64]
mov eax, edi
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140180070
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x190
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret