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

Disassembly:
push 0xffffffffffffffff
push 0x6713d969
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67221378]
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 0x670c2c5a
push eax
lea eax, [esp + 0x38]
push eax
call fcn.670c0450
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]
mov byte [esp + 0x5c], 3
cmp edx, ebp
jne 0x670c2bd1
mov eax, dword [esi]
lea ecx, [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x670c2bde
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 0x670c2c0f
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 0x670c2c2e
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 0x670c2c51
mov eax, dword [eax + 4]
push eax
mov ecx, edi
call fcn.67019c70
mov dword [esp + 0x44], ebp
jmp 0x670c2e41
add dword [esp + 0x24], ebp
add dword [esp + 0x20], ebp
cmp dword [esp + 0x68], ebp
jne 0x670c2c76
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], edx
jmp 0x670c2c82
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 0x670c2dfb
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 0x670c2d14
cmp edx, 1
jne 0x670c2ced
mov eax, dword [esp + 0x14]
lea edx, [eax + 0x10]
cmp dword [eax + 0xc], edx
je 0x670c2cfd
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 0x670c2d4e
cmp edx, 1
jne 0x670c2d25
mov eax, dword [esp + 0x14]
lea edx, [eax + 0x10]
cmp dword [eax + 0xc], edx
je 0x670c2d35
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 0x670c2e9b
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.6705a9c0
mov eax, dword [esp + 0x38]
mov byte [esp + 0x5c], 5
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670c2d9e
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 0x670c2dbe
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x54], 0x6714b950
call fcn.670199a0
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.6701fb90
mov edx, dword [esp + 0x1c]
or eax, 0xffffffff
mov byte [esp + 0x5c], 4
lock xadd dword [edx], eax
jne 0x670c2deb
mov ecx, dword [esp + 0x1c]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
inc edi
cmp edi, dword [esp + 0x2c]
jl 0x670c2ca8
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 0x670c2e1e
mov eax, dword [eax + 4]
push eax
mov ecx, edi
call fcn.67019c70
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], ebp
mov byte [esp + 0x5c], 1
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x670c2e41
mov eax, dword [esp + 0x14]
push eax
call sym.QtCore4.dll_void___cdecl_qFree_void__
add esp, 4
mov eax, dword [esp + 0x18]
mov byte [esp + 0x5c], 0
test eax, eax
je 0x670c2e85
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670c2e85
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.67017070
mov ecx, dword [esi]
test ecx, ecx
jne 0x670c2e85
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.670c0450
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]
mov byte [esp + 0x5c], 8
cmp edx, 1
jne 0x670c2ed4
mov eax, dword [esi]
lea ecx, [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x670c2ee1
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 0x670c2f13
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 0x670c2dcc
mov ecx, dword [esp + 0x40]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
jmp 0x670c2dcc