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

Disassembly:
push 0xffffffffffffffff
push 0x67152189
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67256a20]
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 0x670d13da
push eax
lea eax, [esp + 0x38]
push eax
call fcn.670cec10
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 0x670d1351
mov eax, dword [esi]
lea ecx, [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x670d135e
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 0x670d138f
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 0x670d13ae
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 0x670d13d1
mov eax, dword [eax + 4]
push eax
mov ecx, edi
call fcn.6701aad0
mov dword [esp + 0x44], ebp
jmp 0x670d15c0
add dword [esp + 0x24], ebp
add dword [esp + 0x20], ebp
cmp dword [esp + 0x68], ebp
jne 0x670d13f6
mov eax, dword [esp + 0x48]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
jmp 0x670d1402
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], ecx
add eax, ebp
push edi
lea edx, [eax + eax]
push edx
lea ecx, [esp + 0x1c]
call sym.QtCore4.dll_public:_void___thiscall_QByteArray::constructor_int__char_
cmp dword [esp + 0x2c], edi
mov byte [esp + 0x5c], 4
jle 0x670d157a
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [esp + 0x1c], sym.QtCore4.dll_struct_QString::Data_QString::shared_null
mov eax, sym.QtCore4.dll_struct_QString::Data_QString::shared_null
mov ecx, 1
lock xadd dword [eax], ecx
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 0x670d1493
cmp edx, 1
jne 0x670d146c
mov eax, dword [esp + 0x14]
lea edx, [eax + 0x10]
cmp dword [eax + 0xc], edx
je 0x670d147c
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 0x670d14cd
cmp edx, 1
jne 0x670d14a4
mov eax, dword [esp + 0x14]
lea edx, [eax + 0x10]
cmp dword [eax + 0xc], edx
je 0x670d14b4
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 0x670d1610
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.6705f610
mov eax, dword [esp + 0x38]
mov byte [esp + 0x5c], 5
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670d151d
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 0x670d153d
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x54], 0x67160ad0
call fcn.6701a840
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.67020af0
mov edx, dword [esp + 0x1c]
or eax, 0xffffffff
mov byte [esp + 0x5c], 4
lock xadd dword [edx], eax
jne 0x670d156a
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 0x670d1427
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 0x670d159d
mov eax, dword [eax + 4]
push eax
mov ecx, edi
call fcn.6701aad0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], ebp
mov byte [esp + 0x5c], 1
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x670d15c0
mov eax, dword [esp + 0x14]
push eax
call sym.QtCore4.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 0x670d15fa
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
lea edx, [eax + ecx*4 + 0x14]
mov ecx, dword [eax + 8]
push edx
lea edx, [eax + ecx*4 + 0x14]
push edx
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.67017fe0
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.670cec10
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 0x670d1649
mov eax, dword [esi]
lea ecx, [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x670d1656
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 0x670d1688
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 0x670d154b
mov ecx, dword [esp + 0x40]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
jmp 0x670d154b