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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x330]
sub rsp, 0x430
mov rax, qword [0x1400be108]
xor rax, rsp
mov qword [rbp + 0x320], rax
mov rbx, rdx
mov dword [rsp + 0x20], ecx
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__set_abort_behavior]
cmp dword [rsp + 0x20], 2
jl 0x1400030b7
mov rdx, qword [rbx + 8]
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
nop
cmp qword [rsp + 0x78], 0
je 0x1400030aa
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
cmp dword [rsp + 0x20], 3
jl 0x140002d89
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
mov rdx, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt6Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
cmp qword [rsp + 0x60], 0
jne 0x140002da3
lea rdx, str.SOFTWAREAMDDVROverlays
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt6Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_char_const____ptr64____ptr64]
xor esi, esi
mov qword [rbp + 0xf0], rsi
mov qword [rbp + 0x100], rsi
mov qword [rbp + 0x108], 7
mov word [rbp + 0xf0], si
lea r8d, [rsi + 0x24]
lea rdx, str.baba7208_1231_4de6_9388_22932276e142
lea rcx, [rbp + 0xf0]
call fcn.1400029e0
nop
lea rdx, [rbp + 0xf0]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt6Core.dll_public:_static_class_QString___cdecl_QString::fromStdWString_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64_]
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140001820
movzx edi, al
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x108]
cmp rdx, 8
jb 0x140002e54
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e4f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001bc64
lea r8, [rsp + 0x68]
lea rdx, str.AMDSrcExt_
lea rcx, [rbp - 0x70]
call fcn.140002c60
nop
lea rdx, [rbp + 0x110]
lea rcx, [rbp - 0x70]
call qword [sym.imp.Qt6Core.dll_public:_long_long___int64____cdecl_QString::toWCharArray_wchar_t____ptr64_const___ptr64]
cdqe
add rax, rax
cmp rax, 0x208
jae 0x1400030e8
mov word [rbp + rax + 0x110], si
lea rcx, [rbp + 0x110]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x14002066c]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test dil, dil
jne 0x140002eeb
lea r8, [rbp + 0x110]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
test rax, rax
je 0x140002ed9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140002eeb
lea rcx, str.mutex_creation_failed__exiting..._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x140003093
lea rcx, [0x140020670]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str.QSG_INFO1
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__putenv]
lea rcx, str.QT_LOGGING_RULESqt.qpa.gltrue
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__putenv]
lea rcx, str.QT_MULTIMEDIA_PREFERRED_PLUGINSw_d
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__putenv]
lea rcx, str.QT_AUTO_SCREEN_SCALE_FACTOR0
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__putenv]
mov dl, 1
mov ecx, 0x12
call qword [sym.imp.Qt6Core.dll_public:_static_void___cdecl_QCoreApplication::setAttribute_enum_Qt::ApplicationAttribute__bool_]
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QSurfaceFormat::constructor_void____ptr64]
nop
mov edx, 0x18
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QSurfaceFormat::setDepthBufferSize_int____ptr64]
mov edx, 8
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QSurfaceFormat::setStencilBufferSize_int____ptr64]
xor r8d, r8d
lea edx, [r8 + 3]
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QSurfaceFormat::setVersion_int__int____ptr64]
xor edx, edx
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QSurfaceFormat::setSwapInterval_int____ptr64]
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt6Gui.dll_public:_static_void___cdecl_QSurfaceFormat::setDefaultFormat_class_QSurfaceFormat_const____ptr64_]
mov r9d, 0x60401
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x80]
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QGuiApplication::constructor_int____ptr64__char____ptr64____ptr64__int____ptr64]
nop
lea rdx, [0x140020720]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt6Core.dll_public:_static_void___cdecl_QCoreApplication::setOrganizationName_class_QString_const____ptr64_]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
call qword [sym.imp.Qt6WebEngineQuick.dll_void___cdecl_QtWebEngineQuick::initialize_void_]
test dil, dil
jne 0x14000302d
lea rcx, [rbp - 0x50]
call fcn.140003850
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov rbx, rax
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0xf0]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140004820
call qword [sym.imp.Qt6Gui.dll_public:_static_int___cdecl_QGuiApplication::exec_void_]
nop
lea rcx, [rbp - 0x50]
call fcn.140003ad0
jmp 0x14000307c
lea rcx, [rbp - 0x50]
call fcn.1400012d0
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xf0]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov rbx, rax
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140002030
call qword [sym.imp.Qt6Gui.dll_public:_static_int___cdecl_QGuiApplication::exec_void_]
nop
lea rcx, [rbp - 0x50]
call fcn.140001690
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.Qt6Gui.dll_public_virtual:_void___cdecl_QGuiApplication::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QSurfaceFormat::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x70]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
jmp 0x1400030c4
lea rcx, str.No_guid_specified._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.14001bd80
mov rbx, qword [rsp + 0x460]
add rsp, 0x430
pop rdi
pop rsi
pop rbp
ret
call fcn.14001bed4
nop
int3