Function at 0x67021920
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov qword [rbp + 0x27], 0xfffffffffffffffe
mov qword [rsp + 0xe8], rbx
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
xor r13d, r13d
mov dword [rbp + 0x7f], r13d
lea r12, sym.QtCoreVBox4.dll_struct_QString::Data_QString::shared_null
mov qword [rbp - 0x31], r12
lock inc dword [sym.QtCoreVBox4.dll_struct_QString::Data_QString::shared_null]
mov rdx, r8
lea rcx, [rbp - 0x41]
call fcn.67021820
nop
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.670e3bb0
nop
mov qword [rbp - 0x21], r13
lea rcx, [rbp - 0x39]
call sym.QtCoreVBox4.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rdx, rax
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x670219ff
mov qword [rsi], r12
lock inc dword [sym.QtCoreVBox4.dll_struct_QString::Data_QString::shared_null]
mov dword [rbp + 0x7f], 1
mov rcx, qword [rbp - 0x39]
lock dec dword [rcx]
jne 0x670219d7
mov rcx, qword [rbp - 0x39]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
mov rax, qword [rbp - 0x41]
lock dec dword [rax]
jne 0x670219ea
mov rcx, qword [rbp - 0x41]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
lock dec dword [sym.QtCoreVBox4.dll_struct_QString::Data_QString::shared_null]
jne 0x67021dab
mov rcx, r12
jmp 0x67021da6
lea rcx, [rbp - 0x41]
call sym.QtCoreVBox4.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rdx, rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rbp - 9]
xor r8d, r8d
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x67021a74
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsi], r12
lock inc dword [sym.QtCoreVBox4.dll_struct_QString::Data_QString::shared_null]
mov dword [rbp + 0x7f], 1
mov rcx, qword [rbp - 0x39]
lock dec dword [rcx]
jne 0x67021a5c
mov rcx, qword [rbp - 0x39]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
mov rax, qword [rbp - 0x41]
lock dec dword [rax]
jne 0x67021a6f
mov rcx, qword [rbp - 0x41]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
jmp 0x670219ea
xor r8d, r8d
mov edx, dword [rbp - 0x19]
lea rcx, [rbp - 0x49]
call sym.QtCoreVBox4.dll_public:_void___cdecl_QByteArray::constructor_int__char____ptr64
nop
mov rax, qword [rbp - 0x49]
mov ecx, dword [rax]
mov rax, qword [rbp - 0x49]
cmp ecx, 1
jne 0x67021a9d
lea rcx, [rax + 0x18]
cmp qword [rax + 0x10], rcx
je 0x67021aad
mov edx, dword [rax + 8]
lea rcx, [rbp - 0x49]
call sym.QtCoreVBox4.dll_private:_void___cdecl_QByteArray::realloc_int____ptr64
mov rax, qword [rbp - 0x49]
mov rbx, qword [rax + 0x10]
lea rcx, [rbp - 0x41]
call sym.QtCoreVBox4.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rdx, rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x67021b38
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsi], r12
lock inc dword [sym.QtCoreVBox4.dll_struct_QString::Data_QString::shared_null]
mov dword [rbp + 0x7f], 1
mov rcx, qword [rbp - 0x49]
lock dec dword [rcx]
jne 0x67021b0d
mov rcx, qword [rbp - 0x49]
call sym.QtCoreVBox4.dll_void___cdecl_qFree_void____ptr64_
nop
mov rax, qword [rbp - 0x39]
lock dec dword [rax]
jne 0x67021b20
mov rcx, qword [rbp - 0x39]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
mov rax, qword [rbp - 0x41]
lock dec dword [rax]
jne 0x67021b33
mov rcx, qword [rbp - 0x41]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
jmp 0x670219ea
or ebx, 0xffffffff
mov edx, dword [rbp - 9]
cmp edx, 7
ja case.0x67021b59.6
lea r8, [0x67000000]
mov ecx, dword [r8 + rdx*4 + 0x21dc8]
add rcx, r8
jmp rcx
mov rax, qword [rbp - 0x49]
mov r8d, ebx
mov rdx, qword [rax + 0x10]
lea rcx, [rbp + 7]
call sym.QtCoreVBox4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const____ptr64__int_
mov rcx, qword [rax]
mov qword [rbp - 0x31], rcx
mov qword [rax], r12
mov rax, qword [rbp + 7]
lock dec dword [rax]
jne 0x67021d44
mov rcx, qword [rbp + 7]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
jmp 0x67021d44
lea rax, sym.QtCoreVBox4.dll_struct_QListData::Data_QListData::shared_null
mov qword [rbp - 0x11], rax
lock inc dword [sym.QtCoreVBox4.dll_struct_QListData::Data_QListData::shared_null]
mov rax, qword [rbp - 0x49]
mov r8d, ebx
mov rdx, qword [rax + 0x10]
lea rcx, [rbp - 0x29]
call sym.QtCoreVBox4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const____ptr64__int_
nop
mov rax, qword [rbp - 0x29]
mov ecx, dword [rax + 8]
lea edi, [rcx + 1]
test ecx, ecx
je 0x67021c1b
nop dword [rax]
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x11]
call fcn.670217b0
nop
mov rax, qword [rbp - 0x29]
lock dec dword [rax]
jne 0x67021bf0
mov rcx, qword [rbp - 0x29]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
mov rax, qword [rbp - 0x49]
mov rcx, qword [rax + 0x10]
movsxd rax, edi
lea rdx, [rcx + rax*2]
mov r8d, ebx
lea rcx, [rbp - 0x29]
call sym.QtCoreVBox4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const____ptr64__int_
nop
mov rax, qword [rbp - 0x29]
mov ecx, dword [rax + 8]
lea edi, [rdi + rcx + 1]
test ecx, ecx
jne 0x67021bd0
lock dec dword [rax]
jne 0x67021c29
mov rcx, qword [rbp - 0x29]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
mov edx, ebx
lea rcx, [0x6717f4f8]
call sym.QtCoreVBox4.dll_private:_static_struct_QString::Data____ptr64___cdecl_QString::fromLatin1_helper_char_const____ptr64__int_
mov qword [rbp - 1], rax
lea r8, [rbp - 1]
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 0x11]
call fcn.67021670
mov rcx, qword [rax]
mov qword [rbp - 0x31], rcx
mov qword [rax], r12
mov rax, qword [rbp + 0x1f]
lock dec dword [rax]
jne 0x67021c69
mov rcx, qword [rbp + 0x1f]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
mov rax, qword [rbp - 1]
lock dec dword [rax]
jne 0x67021c7c
mov rcx, qword [rbp - 1]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
mov rax, qword [rbp - 0x11]
lock dec dword [rax]
jne 0x67021d44
mov r13, qword [rbp - 0x11]
movsxd rax, dword [r13 + 0xc]
lea rdi, [r13 + rax*8 + 0x18]
movsxd rax, dword [r13 + 8]
lea r12, [r13 + rax*8 + 0x18]
cmp r12, rdi
je 0x67021cbd
sub rdi, 8
mov rdx, qword [rdi]
lock dec dword [rdx]
jne 0x67021cb8
mov rcx, qword [rdi]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
cmp rdi, r12
jne 0x67021ca4
mov rcx, r13
call sym.QtCoreVBox4.dll_void___cdecl_qFree_void____ptr64_
jmp 0x67021d44
mov rcx, qword [rbp - 0x49]
mov eax, dword [rcx + 8]
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
mov rdx, qword [rcx + 0x10]
lea rcx, [rbp + 0xf]
call sym.QtCoreVBox4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const____ptr64__int_
mov rcx, qword [rax]
mov qword [rbp - 0x31], rcx
mov qword [rax], r12
mov rax, qword [rbp + 0xf]
lock dec dword [rax]
jne 0x67021d44
mov rcx, qword [rbp + 0xf]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
jmp 0x67021d44
mov rax, qword [rbp - 0x49]
mov rcx, qword [rax + 0x10]
mov r8d, 0xa
mov edx, dword [rcx]
lea rcx, [rbp + 0x17]
call sym.QtCoreVBox4.dll_public:_static_class_QString___cdecl_QString::number_int__int_
mov rcx, qword [rax]
mov qword [rbp - 0x31], rcx
mov qword [rax], r12
mov rax, qword [rbp + 0x17]
lock dec dword [rax]
jne 0x67021d44
mov rcx, qword [rbp + 0x17]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
jmp 0x67021d44
lea rcx, str.QSettings:_unknown_data__u_type_in_windows_registry
call sym.QtCoreVBox4.dll_void___cdecl_qWarning_char_const____ptr64_
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r11, qword [rbp - 0x31]
mov qword [rsi], r11
lock inc dword [r11]
mov dword [rbp + 0x7f], 1
mov rax, qword [rbp - 0x49]
lock dec dword [rax]
jne 0x67021d73
mov rcx, qword [rbp - 0x49]
call sym.QtCoreVBox4.dll_void___cdecl_qFree_void____ptr64_
nop
mov rax, qword [rbp - 0x39]
lock dec dword [rax]
jne 0x67021d86
mov rcx, qword [rbp - 0x39]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
mov rax, qword [rbp - 0x41]
lock dec dword [rax]
jne 0x67021d99
mov rcx, qword [rbp - 0x41]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
mov rax, qword [rbp - 0x31]
lock dec dword [rax]
jne 0x67021dab
mov rcx, qword [rbp - 0x31]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
mov rax, rsi
mov rbx, qword [rsp + 0xe8]
add rsp, 0xb0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret