Function at 0x670e6220
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov qword [rbp + 0x17], 0xfffffffffffffffe
mov qword [rsp + 0x118], rbx
mov r13d, r8d
mov r14, rdx
mov r12, rcx
xor r15d, r15d
mov dword [rbp - 0x31], r15d
lea rax, sym.QtCoreVBox4.dll_struct_QListData::Data_QListData::shared_null
mov qword [rbp - 0x41], rax
lock inc dword [sym.QtCoreVBox4.dll_struct_QListData::Data_QListData::shared_null]
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
lea rax, [rbp - 0x2d]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x21]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x25]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x670e63ae
mov edx, eax
lea rcx, [rbp + 0xf]
call fcn.670e3c30
nop
lea rdx, [rbp - 0x19]
mov rcx, rax
call sym.QtCoreVBox4.dll_public:_class_QByteArray___cdecl_QString::toLatin1_void____ptr64
mov rbx, rax
mov rcx, qword [rax]
mov edx, dword [rcx]
cmp edx, 1
jne 0x670e62f1
mov rdx, qword [rax]
lea rcx, [rdx + 0x18]
cmp qword [rdx + 0x10], rcx
je 0x670e62ff
mov rcx, qword [rax]
mov edx, dword [rcx + 8]
mov rcx, rax
call sym.QtCoreVBox4.dll_private:_void___cdecl_QByteArray::realloc_int____ptr64
mov rax, qword [rbx]
mov rdx, qword [rax + 0x10]
lea rcx, str.QSettings:_RegQueryInfoKey___failed:__s
call sym.QtCoreVBox4.dll_void___cdecl_qWarning_char_const____ptr64_
nop
mov rcx, qword [rbp - 0x19]
lock dec dword [rcx]
jne 0x670e6326
mov rcx, qword [rbp - 0x19]
call sym.QtCoreVBox4.dll_void___cdecl_qFree_void____ptr64_
nop
mov rax, qword [rbp + 0xf]
lock dec dword [rax]
jne 0x670e6338
mov rcx, qword [rbp + 0xf]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
mov rax, qword [rbp - 0x41]
mov qword [r12], rax
lock inc dword [rax]
mov rax, qword [r12]
test byte [rax + 0x10], 1
jne 0x670e6358
mov edx, dword [rax + 4]
mov rcx, r12
call fcn.6701b820
mov dword [rbp - 0x31], 1
mov rax, qword [rbp - 0x41]
lock dec dword [rax]
jne 0x670e6671
mov rsi, qword [rbp - 0x41]
movsxd rax, dword [rsi + 0xc]
lea rbx, [rsi + rax*8 + 0x18]
movsxd rax, dword [rsi + 8]
lea rdi, [rsi + rax*8 + 0x18]
cmp rdi, rbx
je 0x670e6669
nop dword [rax + rax]
sub rbx, 8
mov rdx, qword [rbx]
lock dec dword [rdx]
jne 0x670e63a4
mov rcx, qword [rbx]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
cmp rbx, rdi
jne 0x670e6390
jmp 0x670e6669
mov eax, dword [rbp - 0x29]
inc eax
mov dword [rbp - 0x29], eax
mov edx, dword [rbp - 0x2d]
inc edx
mov dword [rbp - 0x2d], edx
cmp r13d, 1
jne 0x670e63c9
mov esi, dword [rbp - 0x21]
jmp 0x670e63ce
mov esi, dword [rbp - 0x25]
mov edx, eax
inc edx
add edx, edx
xor r8d, r8d
lea rcx, [rbp - 0x49]
call sym.QtCoreVBox4.dll_public:_void___cdecl_QByteArray::constructor_int__char____ptr64
nop
mov edi, r15d
test esi, esi
jle 0x670e65e9
lea rbx, sym.QtCoreVBox4.dll_struct_QString::Data_QString::shared_null
mov qword [rbp - 0x39], rbx
lock inc dword [sym.QtCoreVBox4.dll_struct_QString::Data_QString::shared_null]
mov rax, qword [rbp - 0x49]
movsxd rcx, dword [rax + 8]
shr rcx, 1
mov dword [rbp + 0x7f], ecx
mov ecx, dword [rax]
cmp r13d, 1
jne 0x670e645e
cmp ecx, r13d
jne 0x670e6425
mov rcx, qword [rbp - 0x49]
lea rdx, [rcx + 0x18]
cmp qword [rcx + 0x10], rdx
je 0x670e6435
mov edx, dword [rax + 8]
lea rcx, [rbp - 0x49]
call sym.QtCoreVBox4.dll_private:_void___cdecl_QByteArray::realloc_int____ptr64
mov rcx, qword [rbp - 0x49]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x7f]
mov r8, qword [rcx + 0x10]
mov edx, edi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x670e64a8
cmp ecx, 1
jne 0x670e6471
mov rcx, qword [rbp - 0x49]
lea rdx, [rcx + 0x18]
cmp qword [rcx + 0x10], rdx
je 0x670e6481
mov edx, dword [rax + 8]
lea rcx, [rbp - 0x49]
call sym.QtCoreVBox4.dll_private:_void___cdecl_QByteArray::realloc_int____ptr64
mov rcx, qword [rbp - 0x49]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x7f]
mov r8, qword [rcx + 0x10]
mov edx, edi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x670e6544
mov rax, qword [rbp - 0x49]
mov r8d, dword [rbp + 0x7f]
mov rdx, qword [rax + 0x10]
lea rcx, [rbp - 1]
call sym.QtCoreVBox4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const____ptr64__int_
mov rcx, qword [rax]
mov qword [rbp - 0x39], rcx
mov qword [rax], rbx
mov rax, qword [rbp - 1]
lock dec dword [rax]
jne 0x670e64e1
mov rcx, qword [rbp - 1]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
mov rbx, qword [rbp - 0x39]
cmp dword [rbx + 8], 0
jne 0x670e651f
or r8d, 0xffffffff
lea rdx, [0x67184a18]
lea rcx, [rbp - 0x11]
call sym.QtCoreVBox4.dll_public:_static_class_QString___cdecl_QString::fromLatin1_char_const____ptr64__int_
mov rcx, qword [rax]
mov qword [rbp - 0x39], rcx
mov qword [rax], rbx
mov rax, qword [rbp - 0x11]
lock dec dword [rax]
jne 0x670e651b
mov rcx, qword [rbp - 0x11]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
mov rbx, qword [rbp - 0x39]
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x41]
call fcn.670217b0
nop
lock dec dword [rbx]
jne 0x670e65d8
mov rcx, qword [rbp - 0x39]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
jmp 0x670e65d8
mov edx, eax
lea rcx, [rbp + 7]
call fcn.670e3c30
nop
lea rdx, [rbp - 9]
mov rcx, rax
call sym.QtCoreVBox4.dll_public:_class_QByteArray___cdecl_QString::toLatin1_void____ptr64
mov rbx, rax
mov rcx, qword [rax]
mov edx, dword [rcx]
cmp edx, 1
jne 0x670e6576
mov rdx, qword [rax]
lea rcx, [rdx + 0x18]
cmp qword [rdx + 0x10], rcx
je 0x670e6584
mov rcx, qword [rax]
mov edx, dword [rcx + 8]
mov rcx, rax
call sym.QtCoreVBox4.dll_private:_void___cdecl_QByteArray::realloc_int____ptr64
mov rax, qword [rbx]
mov rdx, qword [rax + 0x10]
lea rcx, str.QSettings:_RegEnumValue_failed:__s
call sym.QtCoreVBox4.dll_void___cdecl_qWarning_char_const____ptr64_
nop
mov rax, qword [rbp - 9]
lock dec dword [rax]
jne 0x670e65ab
mov rcx, qword [rbp - 9]
call sym.QtCoreVBox4.dll_void___cdecl_qFree_void____ptr64_
nop
mov rax, qword [rbp + 7]
lock dec dword [rax]
jne 0x670e65be
mov rcx, qword [rbp + 7]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
lea rbx, sym.QtCoreVBox4.dll_struct_QString::Data_QString::shared_null
lock dec dword [sym.QtCoreVBox4.dll_struct_QString::Data_QString::shared_null]
jne 0x670e65df
mov rcx, rbx
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
jmp 0x670e65df
lea rbx, sym.QtCoreVBox4.dll_struct_QString::Data_QString::shared_null
inc edi
cmp edi, esi
jl 0x670e63f1
mov rax, qword [rbp - 0x41]
mov qword [r12], rax
lock inc dword [rax]
mov rax, qword [r12]
test byte [rax + 0x10], 1
jne 0x670e6609
mov edx, dword [rax + 4]
mov rcx, r12
call fcn.6701b820
mov dword [rbp - 0x31], 1
mov rax, qword [rbp - 0x49]
lock dec dword [rax]
jne 0x670e6623
mov rcx, qword [rbp - 0x49]
call sym.QtCoreVBox4.dll_void___cdecl_qFree_void____ptr64_
nop
mov rax, qword [rbp - 0x41]
lock dec dword [rax]
jne 0x670e6671
mov rsi, qword [rbp - 0x41]
movsxd rax, dword [rsi + 0xc]
lea rbx, [rsi + rax*8 + 0x18]
movsxd rax, dword [rsi + 8]
lea rdi, [rsi + rax*8 + 0x18]
cmp rdi, rbx
je 0x670e6669
nop word [rax + rax]
sub rbx, 8
mov rdx, qword [rbx]
lock dec dword [rdx]
jne 0x670e6664
mov rcx, qword [rbx]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
cmp rbx, rdi
jne 0x670e6650
mov rcx, rsi
call sym.QtCoreVBox4.dll_void___cdecl_qFree_void____ptr64_
mov rax, r12
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret