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

Disassembly:
push 0xffffffffffffffff
push 0x67157871
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67258980]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
mov ebp, 1
mov dword [esp + 0x48], edi
mov dword [esp + 0x18], sym.QtCore_Ad_4.dll_struct_QListData::Data_QListData::shared_null
mov eax, sym.QtCore_Ad_4.dll_struct_QListData::Data_QListData::shared_null
mov ecx, ebp
lock xadd dword [eax], ecx
push edi
push edi
push edi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x5c]
push eax
push edi
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x6c]
push edx
push edi
push edi
push edi
push ebx
mov dword [esp + 0x8c], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, edi
je 0x670d52aa
push eax
lea eax, [esp + 0x38]
push eax
call fcn.670d2b40
add esp, 8
lea ecx, [esp + 0x30]
push ecx
mov bl, 2
mov ecx, eax
mov byte [esp + 0x60], bl
call sym.QtCore_Ad_4.dll_public:_class_QByteArray___thiscall_QString::toLatin1_void_
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax]
mov byte [esp + 0x5c], 3
cmp edx, ebp
jne 0x670d5221
mov eax, dword [esi]
lea ecx, [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x670d522e
mov edx, dword [esi]
mov eax, dword [edx + 8]
push eax
mov ecx, esi
call sym.QtCore_Ad_4.dll_private:_void___thiscall_QByteArray::realloc_int_
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
push eax
push str.QSettings:_RegQueryInfoKey___failed:__s
call sym.QtCore_Ad_4.dll_void___cdecl_qWarning_char_const__
mov edx, dword [esp + 0x38]
add esp, 8
mov byte [esp + 0x5c], bl
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670d525f
mov ecx, dword [esp + 0x30]
push ecx
call sym.QtCore_Ad_4.dll_void___cdecl_qFree_void__
add esp, 4
mov edx, dword [esp + 0x34]
mov byte [esp + 0x5c], 1
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670d527e
mov ecx, dword [esp + 0x34]
push ecx
call sym.QtCore_Ad_4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x64]
mov dword [esi], eax
mov edx, ebp
lock xadd dword [eax], edx
mov eax, dword [esi]
test byte [eax + 0x10], 1
jne 0x670d52a1
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.67019ca0
mov dword [esp + 0x48], ebp
jmp 0x670d5499
add dword [esp + 0x20], ebp
add dword [esp + 0x1c], ebp
cmp dword [esp + 0x68], ebp
jne 0x670d52c6
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
jmp 0x670d52d2
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], edx
add eax, ebp
push edi
add eax, eax
push eax
lea ecx, [esp + 0x1c]
call sym.QtCore_Ad_4.dll_public:_void___thiscall_QByteArray::constructor_int__char_
mov byte [esp + 0x5c], 4
cmp dword [esp + 0x2c], edi
jle 0x670d5453
mov ebp, sym.QtCore_Ad_4.dll_struct_QString::Data_QString::shared_null
mov dword [esp + 0x28], ebp
mov ecx, ebp
mov edx, 1
lock xadd dword [ecx], edx
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 8]
lea ecx, [edx + 8]
shr eax, 1
cmp dword [esp + 0x68], 1
mov byte [esp + 0x5c], 5
mov dword [esp + 0x24], eax
jne 0x670d535e
mov eax, dword [edx]
cmp eax, 1
jne 0x670d5333
mov eax, dword [esp + 0x14]
lea edx, [eax + 0x10]
cmp dword [eax + 0xc], edx
je 0x670d5343
mov eax, dword [ecx]
push eax
lea ecx, [esp + 0x18]
call sym.QtCore_Ad_4.dll_private:_void___thiscall_QByteArray::realloc_int_
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x34]
push ecx
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x670d539a
mov edx, dword [edx]
cmp edx, 1
jne 0x670d5371
mov eax, dword [esp + 0x14]
lea edx, [eax + 0x10]
cmp dword [eax + 0xc], edx
je 0x670d5381
mov eax, dword [ecx]
push eax
lea ecx, [esp + 0x18]
call sym.QtCore_Ad_4.dll_private:_void___thiscall_QByteArray::realloc_int_
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x34]
push ecx
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x670d54cf
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov eax, dword [edx + 0xc]
push ecx
push eax
lea edx, [esp + 0x40]
push edx
call sym.QtCore_Ad_4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
mov esi, dword [eax]
mov dword [eax], ebp
mov eax, dword [esp + 0x44]
add esp, 0xc
mov dword [esp + 0x28], esi
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670d53de
mov edx, dword [esp + 0x38]
push edx
call sym.QtCore_Ad_4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
cmp dword [esi + 8], 0
jne 0x670d541c
push 0xffffffffffffffff
lea ecx, [esp + 0x48]
push 0x67165a88
push ecx
call sym.QtCore_Ad_4.dll_public:_static_class_QString___cdecl_QString::fromLatin1_char_const___int_
mov ecx, esi
mov esi, dword [eax]
mov dword [eax], ecx
mov edx, dword [esp + 0x50]
add esp, 0xc
mov dword [esp + 0x28], esi
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670d541c
mov ecx, dword [esp + 0x44]
push ecx
call sym.QtCore_Ad_4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x1c]
call fcn.6701f760
mov byte [esp + 0x5c], 4
mov eax, esi
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670d5443
push esi
call sym.QtCore_Ad_4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
inc edi
cmp edi, dword [esp + 0x2c]
jl 0x670d52f5
mov ebp, 1
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x64]
mov dword [esi], eax
mov edx, ebp
lock xadd dword [eax], edx
mov eax, dword [esi]
test byte [eax + 0x10], 1
jne 0x670d5476
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.67019ca0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x48], ebp
mov byte [esp + 0x5c], 1
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x670d5499
mov eax, dword [esp + 0x14]
push eax
call sym.QtCore_Ad_4.dll_void___cdecl_qFree_void__
add esp, 4
mov ecx, dword [esp + 0x18]
or edx, 0xffffffff
mov byte [esp + 0x5c], 0
lock xadd dword [ecx], edx
jne 0x670d54b9
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x1c]
call fcn.67019a60
mov eax, esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
push eax
lea eax, [esp + 0x44]
push eax
call fcn.670d2b40
add esp, 8
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
mov byte [esp + 0x60], 6
call sym.QtCore_Ad_4.dll_public:_class_QByteArray___thiscall_QString::toLatin1_void_
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax]
mov byte [esp + 0x5c], 7
cmp edx, 1
jne 0x670d5508
mov eax, dword [esi]
lea ecx, [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x670d5515
mov edx, dword [esi]
mov eax, dword [edx + 8]
push eax
mov ecx, esi
call sym.QtCore_Ad_4.dll_private:_void___thiscall_QByteArray::realloc_int_
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
push eax
push str.QSettings:_RegEnumValue_failed:__s
call sym.QtCore_Ad_4.dll_void___cdecl_qWarning_char_const__
mov edx, dword [esp + 0x44]
add esp, 8
mov byte [esp + 0x5c], 6
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670d5547
mov ecx, dword [esp + 0x3c]
push ecx
call sym.QtCore_Ad_4.dll_void___cdecl_qFree_void__
add esp, 4
mov edx, dword [esp + 0x40]
mov byte [esp + 0x5c], 5
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670d5566
mov ecx, dword [esp + 0x40]
push ecx
call sym.QtCore_Ad_4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov byte [esp + 0x5c], 4
mov edx, ebp
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670d5443
push ebp
jmp 0x670d543b