Function at 0x670e4b40
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
lea rbp, [rax - 0x28]
sub rsp, 0x110
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rsi, r9
mov rbx, r8
mov rdi, rdx
mov rdx, r8
lea rcx, [rsp + 0x40]
call fcn.670e4390
nop
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.670e3bb0
nop
xor r12d, r12d
mov qword [rbp - 0x78], r12
lea rcx, [rsp + 0x48]
call sym.QtCoreVBox4.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rdx, rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x670e508d
mov r13, qword [rbp - 0x78]
test r13, r13
je 0x670e508d
lea rcx, [rsp + 0x40]
call sym.QtCoreVBox4.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rdx, rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x80]
xor r8d, r8d
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x670e4c24
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x48]
lock dec dword [rcx]
jne 0x670e4c1f
mov rcx, qword [rsp + 0x48]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
jmp 0x670e50a2
xor r8d, r8d
mov edx, dword [rsp + 0x38]
lea rcx, [rsp + 0x30]
call sym.QtCoreVBox4.dll_public:_void___cdecl_QByteArray::constructor_int__char____ptr64
nop
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
mov rax, qword [rsp + 0x30]
cmp ecx, 1
jne 0x670e4c51
lea rcx, [rax + 0x18]
cmp qword [rax + 0x10], rcx
je 0x670e4c63
mov edx, dword [rax + 8]
lea rcx, [rsp + 0x30]
call sym.QtCoreVBox4.dll_private:_void___cdecl_QByteArray::realloc_int____ptr64
mov rax, qword [rsp + 0x30]
mov rbx, qword [rax + 0x10]
lea rcx, [rsp + 0x40]
call sym.QtCoreVBox4.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rdx, rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x670e4ccf
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x30]
lock dec dword [rcx]
jne 0x670e4cb5
mov rcx, qword [rsp + 0x30]
call sym.QtCoreVBox4.dll_void___cdecl_qFree_void____ptr64_
nop
mov rax, qword [rsp + 0x48]
lock dec dword [rax]
jne 0x670e4cca
mov rcx, qword [rsp + 0x48]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
jmp 0x670e50a2
or ebx, 0xffffffff
mov edx, dword [rbp - 0x80]
cmp edx, 0xb
ja case.0x670e4cf0.6
lea r8, [0x67000000]
mov ecx, dword [r8 + rdx*4 + 0xe50d8]
add rcx, r8
jmp rcx
lea rax, sym.QtCoreVBox4.dll_struct_QString::Data_QString::shared_null
mov qword [rsp + 0x58], rax
lock inc dword [sym.QtCoreVBox4.dll_struct_QString::Data_QString::shared_null]
cmp dword [rsp + 0x38], 0
je 0x670e4d43
mov rax, qword [rsp + 0x30]
mov r8d, ebx
mov rdx, qword [rax + 0x10]
lea rcx, [rbp - 0x68]
call sym.QtCoreVBox4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const____ptr64__int_
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rax]
mov qword [rsp + 0x58], rcx
mov qword [rax], rdx
mov rax, qword [rbp - 0x68]
lock dec dword [rax]
jne 0x670e4d43
mov rcx, qword [rbp - 0x68]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
test rsi, rsi
je 0x670e4d84
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x30]
call fcn.670d82a0
mov rcx, qword [rsi]
mov edx, dword [rsi + 8]
mov dword [rsp + 0x78], edx
mov rdx, qword [rax]
mov qword [rsi], rdx
mov rdx, qword [rax + 8]
mov qword [rsi + 8], rdx
mov qword [rax], rcx
mov rcx, qword [rsp + 0x78]
mov qword [rax + 8], rcx
lea rcx, [rbp - 0x30]
call sym.QtCoreVBox4.dll_public:_void___cdecl_QVariant::destructor_void____ptr64
nop
mov rax, qword [rsp + 0x58]
lock dec dword [rax]
jne 0x670e5041
mov rcx, qword [rsp + 0x58]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
jmp 0x670e5041
lea rax, sym.QtCoreVBox4.dll_struct_QListData::Data_QListData::shared_null
mov qword [rsp + 0x68], rax
lock inc dword [sym.QtCoreVBox4.dll_struct_QListData::Data_QListData::shared_null]
cmp dword [rsp + 0x38], 0
je 0x670e4e51
mov rax, qword [rsp + 0x30]
mov r8d, ebx
mov rdx, qword [rax + 0x10]
lea rcx, [rsp + 0x50]
call sym.QtCoreVBox4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const____ptr64__int_
nop
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax + 8]
lea edi, [rcx + 1]
test ecx, ecx
je 0x670e4e42
nop word [rax + rax]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x68]
call fcn.670217b0
nop
mov rax, qword [rsp + 0x50]
lock dec dword [rax]
jne 0x670e4e14
mov rcx, qword [rsp + 0x50]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x10]
movsxd rax, edi
lea rdx, [rcx + rax*2]
mov r8d, ebx
lea rcx, [rsp + 0x50]
call sym.QtCoreVBox4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const____ptr64__int_
nop
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax + 8]
lea edi, [rdi + rcx + 1]
test ecx, ecx
jne 0x670e4df0
lock dec dword [rax]
jne 0x670e4e51
mov rcx, qword [rsp + 0x50]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
test rsi, rsi
je 0x670e4e92
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x20]
call fcn.670d91a0
mov rcx, qword [rsi]
mov edx, dword [rsi + 8]
mov dword [rsp + 0x78], edx
mov rdx, qword [rax]
mov qword [rsi], rdx
mov rdx, qword [rax + 8]
mov qword [rsi + 8], rdx
mov qword [rax], rcx
mov rcx, qword [rsp + 0x78]
mov qword [rax + 8], rcx
lea rcx, [rbp - 0x20]
call sym.QtCoreVBox4.dll_public:_void___cdecl_QVariant::destructor_void____ptr64
nop
mov rax, qword [rsp + 0x68]
lock dec dword [rax]
jne 0x670e5041
mov r12, qword [rsp + 0x68]
movsxd rax, dword [r12 + 0xc]
lea rdi, [r12 + rax*8 + 0x18]
movsxd rax, dword [r12 + 8]
lea rsi, [r12 + rax*8 + 0x18]
cmp rsi, rdi
je 0x670e4ed9
nop
sub rdi, 8
mov rdx, qword [rdi]
lock dec dword [rdx]
jne 0x670e4ed4
mov rcx, qword [rdi]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
cmp rdi, rsi
jne 0x670e4ec0
mov rcx, r12
call sym.QtCoreVBox4.dll_void___cdecl_qFree_void____ptr64_
jmp 0x670e5041
lea rax, sym.QtCoreVBox4.dll_struct_QString::Data_QString::shared_null
mov qword [rsp + 0x60], rax
lock inc dword [sym.QtCoreVBox4.dll_struct_QString::Data_QString::shared_null]
cmp dword [rsp + 0x38], 0
je 0x670e4f3f
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + 8]
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
mov rdx, qword [rcx + 0x10]
lea rcx, [rbp - 0x70]
call sym.QtCoreVBox4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const____ptr64__int_
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rax]
mov qword [rsp + 0x60], rcx
mov qword [rax], rdx
mov rax, qword [rbp - 0x70]
lock dec dword [rax]
jne 0x670e4f3f
mov rcx, qword [rbp - 0x70]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
test rsi, rsi
je 0x670e4f80
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 8]
call fcn.670d82a0
mov rcx, qword [rsi]
mov edx, dword [rsi + 8]
mov dword [rsp + 0x78], edx
mov rdx, qword [rax]
mov qword [rsi], rdx
mov rdx, qword [rax + 8]
mov qword [rsi + 8], rdx
mov qword [rax], rcx
mov rcx, qword [rsp + 0x78]
mov qword [rax + 8], rcx
lea rcx, [rbp - 8]
call sym.QtCoreVBox4.dll_public:_void___cdecl_QVariant::destructor_void____ptr64
nop
mov rax, qword [rsp + 0x60]
lock dec dword [rax]
jne 0x670e5041
mov rcx, qword [rsp + 0x60]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
jmp 0x670e5041
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x10]
test rsi, rsi
je 0x670e5041
mov edx, dword [rcx]
lea rcx, [rbp - 0x40]
call sym.QtCoreVBox4.dll_public:_void___cdecl_QVariant::constructor_int____ptr64
nop
lea rdx, [rbp - 0x40]
mov rcx, rsi
call sym.QtCoreVBox4.dll_public:_class_QVariant____ptr64___cdecl_QVariant::operator_class_QVariant_const____ptr64____ptr64
nop
lea rcx, [rbp - 0x40]
jmp 0x670e503c
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x10]
test rsi, rsi
je 0x670e5041
mov rdx, qword [rcx]
lea rcx, [rbp - 0x50]
call sym.QtCoreVBox4.dll_public:_void___cdecl_QVariant::constructor_long_long___int64_____ptr64
nop
lea rdx, [rbp - 0x50]
mov rcx, rsi
call sym.QtCoreVBox4.dll_public:_class_QVariant____ptr64___cdecl_QVariant::operator_class_QVariant_const____ptr64____ptr64
nop
lea rcx, [rbp - 0x50]
jmp 0x670e503c
lea rcx, str.QSettings:_Unknown_data__d_type_in_Windows_registry
call sym.QtCoreVBox4.dll_void___cdecl_qWarning_char_const____ptr64_
test rsi, rsi
je 0x670e5041
mov dword [rbp - 0x58], 0x80000000
mov qword [rbp - 0x60], r12
mov rax, qword [rsi]
mov qword [rsp + 0x70], rax
mov eax, dword [rsi + 8]
mov dword [rsp + 0x78], eax
movaps xmm0, xmmword [rbp - 0x60]
movups xmmword [rsi], xmm0
movaps xmm1, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x60], xmm1
lea rcx, [rbp - 0x60]
call sym.QtCoreVBox4.dll_public:_void___cdecl_QVariant::destructor_void____ptr64
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rax, qword [rsp + 0x30]
lock dec dword [rax]
jne 0x670e5060
mov rcx, qword [rsp + 0x30]
call sym.QtCoreVBox4.dll_void___cdecl_qFree_void____ptr64_
nop
mov rax, qword [rsp + 0x48]
lock dec dword [rax]
jne 0x670e5075
mov rcx, qword [rsp + 0x48]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
mov rax, qword [rsp + 0x40]
lock dec dword [rax]
jne 0x670e5089
mov rcx, qword [rsp + 0x40]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
mov al, 1
jmp 0x670e50b8
mov rcx, qword [rsp + 0x48]
lock dec dword [rcx]
jne 0x670e50a2
mov rcx, qword [rsp + 0x48]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
nop
mov rax, qword [rsp + 0x40]
lock dec dword [rax]
jne 0x670e50b6
mov rcx, qword [rsp + 0x40]
call sym.QtCoreVBox4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data____ptr64_
xor al, al
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rbp
ret