Function at 0x140002c30
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x14000c038]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
lea rcx, [rsp + 0x40]
call fcn.1400028b0
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt6Core.dll_public:_static_class_QChar___cdecl_QDir::separator_void_]
movzx edx, word [rax]
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt6Core.dll_public:_class_QString____ptr64___cdecl_QString::append_class_QChar____ptr64]
lea rdx, str.WVR64.msi
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_public:_class_QString____ptr64___cdecl_QString::append_char_const____ptr64____ptr64]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
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 0x140002e0f
xor edi, edi
mov word [rbp + rax - 0x40], di
lea rcx, [rsp + 0x70]
call fcn.140002600
nop
lea rdx, str.INSTALLDIR__1_
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
mov rbx, rax
lea edx, [rdi + 0x20]
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt6Core.dll___0QChar__QEAA__S_Z]
movzx ecx, word [rax]
mov word [rsp + 0x20], cx
xor r9d, r9d
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.Qt6Core.dll_public:_class_QString___cdecl_QString::arg_class_QString_const____ptr64__int__class_QChar____ptr64]
nop
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov ebx, 0xffffffff
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt6Core.dll_public:_static_bool___cdecl_QFile::exists_class_QString_const____ptr64_]
test al, al
je 0x140002dc6
mov qword [rsp + 0x38], rdi
lea rdx, [rsp + 0x38]
lea rcx, [0x140002540]
call qword [sym.imp.USER32.dll_EnumWindows]
lea rdx, [rsp + 0x38]
mov ecx, 0x202
call sub.msi.dll_MsiSetPropertyW
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt6Core.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_QString::toStdWString_void____ptr64]
cmp qword [rax + 0x18], 8
jb 0x140002d74
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x40]
call sub.msi.dll_MsiOpenDatabaseW
mov ebx, eax
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140002dc6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002dc0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002dc0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006ab8
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov eax, ebx
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140006ed0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.140006bc8
nop
int3