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

Disassembly:
push 0xffffffffffffffff
push 0x67145fe9
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67237378]
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 + 0x44], edi
mov dword [esp + 0x18], sym.QtCore4.dll_struct_QListData::Data_QListData::shared_null
mov eax, sym.QtCore4.dll_struct_QListData::Data_QListData::shared_null
mov ecx, ebp
lock xadd dword [eax], ecx
push edi
push edi
push edi
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x58]
push eax
push edi
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x68]
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 0x670c072a
push eax
lea eax, [esp + 0x38]
push eax
call fcn.670bdff0
add esp, 8
lea ecx, [esp + 0x30]
push ecx
mov bl, 2
mov ecx, eax
mov byte [esp + 0x60], bl
call sym.QtCore4.dll_public:_class_QByteArray___thiscall_QString::toLatin1_void_
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax]
cmp edx, ebp
mov byte [esp + 0x5c], 3
jne 0x670c06a1
mov eax, dword [esi]
lea ecx, [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x670c06ae
mov edx, dword [esi]
mov eax, dword [edx + 8]
push eax
mov ecx, esi
call sym.QtCore4.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.QtCore4.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 0x670c06df
mov ecx, dword [esp + 0x30]
push ecx
call sym.QtCore4.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 0x670c06fe
mov ecx, dword [esp + 0x34]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x64]
mov dword [edi], eax
mov edx, ebp
lock xadd dword [eax], edx
mov eax, dword [edi]
test byte [eax + 0x10], 1
jne 0x670c0721
mov eax, dword [eax + 4]
push eax
mov ecx, edi
call fcn.6701b220
mov dword [esp + 0x44], ebp
jmp 0x670c0913
add dword [esp + 0x24], ebp
add dword [esp + 0x20], ebp
cmp dword [esp + 0x68], ebp
jne 0x670c0746
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], edx
jmp 0x670c0752
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
add eax, ebp
lea ecx, [eax + eax]
push edi
push ecx
lea ecx, [esp + 0x1c]
call sym.QtCore4.dll_public:_void___thiscall_QByteArray::constructor_int__char_
cmp dword [esp + 0x2c], 0
mov byte [esp + 0x5c], 4
jle 0x670c08cd
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [esp + 0x1c], sym.QtCore4.dll_struct_QString::Data_QString::shared_null
mov edx, sym.QtCore4.dll_struct_QString::Data_QString::shared_null
mov eax, 1
lock xadd dword [edx], eax
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 8]
lea ecx, [edx + 8]
shr eax, 1
cmp dword [esp + 0x68], 1
mov dword [esp + 0x28], eax
mov edx, dword [edx]
mov byte [esp + 0x5c], 5
jne 0x670c07e4
cmp edx, 1
jne 0x670c07bd
mov eax, dword [esp + 0x14]
lea edx, [eax + 0x10]
cmp dword [eax + 0xc], edx
je 0x670c07cd
mov eax, dword [ecx]
push eax
lea ecx, [esp + 0x18]
call sym.QtCore4.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 + 0x38]
push ecx
push eax
push edi
push ebx
call ebp
jmp 0x670c081e
cmp edx, 1
jne 0x670c07f5
mov eax, dword [esp + 0x14]
lea edx, [eax + 0x10]
cmp dword [eax + 0xc], edx
je 0x670c0805
mov eax, dword [ecx]
push eax
lea ecx, [esp + 0x18]
call sym.QtCore4.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 + 0x38]
push ecx
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x670c096d
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov eax, dword [edx + 0xc]
push ecx
push eax
lea edx, [esp + 0x40]
push edx
call sym.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromUcs2_unsigned_short_int_const___int_
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 6
call fcn.67058a30
mov eax, dword [esp + 0x38]
mov byte [esp + 0x5c], 5
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670c086e
mov edx, dword [esp + 0x38]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov edx, dword [esp + 0x1c]
cmp dword [edx + 8], 0
jne 0x670c088e
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x54], 0x671ac844
call fcn.6701af50
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.670302f0
mov edx, dword [esp + 0x1c]
or eax, 0xffffffff
mov byte [esp + 0x5c], 4
lock xadd dword [edx], eax
jne 0x670c08bb
mov ecx, dword [esp + 0x1c]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
add edi, 1
cmp edi, dword [esp + 0x2c]
jl 0x670c0778
mov ebp, 1
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x64]
mov dword [edi], eax
mov edx, ebp
lock xadd dword [eax], edx
mov eax, dword [edi]
test byte [eax + 0x10], 1
jne 0x670c08f0
mov eax, dword [eax + 4]
push eax
mov ecx, edi
call fcn.6701b220
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], ebp
mov byte [esp + 0x5c], 1
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x670c0913
mov eax, dword [esp + 0x14]
push eax
call sym.QtCore4.dll_void___cdecl_qFree_void__
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
mov byte [esp + 0x5c], 0
je 0x670c0957
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670c0957
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0xc]
lea ecx, [eax + edx*4 + 0x14]
mov edx, dword [eax + 8]
mov esi, eax
push ecx
lea eax, [eax + edx*4 + 0x14]
push eax
lea ecx, [esp + 0x20]
call fcn.67018400
mov ecx, dword [esi]
test ecx, ecx
jne 0x670c0957
push esi
call sym.QtCore4.dll_void___cdecl_qFree_void__
add esp, 4
mov eax, edi
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.670bdff0
add esp, 8
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
mov byte [esp + 0x60], 7
call sym.QtCore4.dll_public:_class_QByteArray___thiscall_QString::toLatin1_void_
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax]
cmp edx, 1
mov byte [esp + 0x5c], 8
jne 0x670c09a6
mov eax, dword [esi]
lea ecx, [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x670c09b3
mov edx, dword [esi]
mov eax, dword [edx + 8]
push eax
mov ecx, esi
call sym.QtCore4.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.QtCore4.dll_void___cdecl_qWarning_char_const__
mov edx, dword [esp + 0x44]
add esp, 8
mov byte [esp + 0x5c], 7
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670c09e5
mov ecx, dword [esp + 0x3c]
push ecx
call sym.QtCore4.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 0x670c089c
mov ecx, dword [esp + 0x40]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
jmp 0x670c089c