Function at 0x14004eb60
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 [0x1402ecca8]
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.140017e10
test al, al
je 0x14004ec61
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 0x14004ec1b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [0x1401dcf10]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x14004ec1b
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 0x14004ec61
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14004ec61
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 0x14004f027
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor ecx, ecx
test eax, eax
jns 0x14004ecaf
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.1400509e0
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 0xffffffff
jmp 0x14004f027
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 0x14004ed29
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.1400509e0
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, ebx
jmp 0x14004f027
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.140006470
xor r8d, r8d
mov edx, 0xffffffff
lea rcx, str.VeDetector
call fcn.14007e490
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.140080db0
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x14004ee82
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ee7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ee7d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140175928
mov ecx, 0x80
call fcn.1401758ec
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14004eea5
xor edx, edx
mov rcx, rax
call fcn.140055320
mov rdi, rax
jmp 0x14004eea8
mov rdi, r15
test rdi, rdi
je 0x14004eeb8
mov rcx, rdi
call qword [sym.imp.Qt6Core.dll_public:_static_struct_QtSharedPointer::ExternalRefCountData____ptr64___cdecl_QtSharedPointer::ExternalRefCountData::getAndRef_class_QObject_const____ptr64_]
jmp 0x14004eebb
mov rax, r15
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdi
test rax, rax
je 0x14004eed1
mov eax, dword [rax + 4]
test eax, eax
jne 0x14004eed4
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.14002a020
movdqa xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x80], xmm0
movq rcx, xmm0
test rcx, rcx
je 0x14004ef05
lock inc dword [rcx]
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.14002ef00
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.1401758ec
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14004ef4e
mov dword [rax], 1
lea rcx, [0x14004f420]
mov qword [rax + 8], rcx
lea rcx, [rsp + 0x60]
mov qword [rax + 0x10], rcx
jmp 0x14004ef51
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.14002a020
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
lea rdx, [rbp - 0x70]
mov rcx, rax
call fcn.14002ef00
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14004efd7
mov eax, dword [rcx + 4]
test eax, eax
je 0x14004efd7
cmp qword [rsp + 0x68], 0
je 0x14004efd7
mov eax, dword [rcx + 4]
test eax, eax
je 0x14004efb4
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 0x14004efd7
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14004efd7
call fcn.140176020
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 0x14004f01b
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x14004f01b
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14004f01b
call fcn.140176020
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.140175f30
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x190
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret