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

Disassembly:
push 0xffffffffffffffff
push 0x6715f6b1
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x672699e0]
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.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 + 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 0x670da40a
push eax
lea eax, [esp + 0x38]
push eax
call fcn.670d7ca0
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 0x670da381
mov eax, dword [esi]
lea ecx, [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x670da38e
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 0x670da3bf
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 0x670da3de
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 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 0x670da401
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.6701b740
mov dword [esp + 0x48], ebp
jmp 0x670da5f9
add dword [esp + 0x20], ebp
add dword [esp + 0x1c], ebp
cmp dword [esp + 0x68], ebp
jne 0x670da426
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
jmp 0x670da432
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.QtCore4.dll_public:_void___thiscall_QByteArray::constructor_int__char_
mov byte [esp + 0x5c], 4
cmp dword [esp + 0x2c], edi
jle 0x670da5b3
mov ebp, sym.QtCore4.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 0x670da4be
mov eax, dword [edx]
cmp eax, 1
jne 0x670da493
mov eax, dword [esp + 0x14]
lea edx, [eax + 0x10]
cmp dword [eax + 0xc], edx
je 0x670da4a3
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 + 0x34]
push ecx
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x670da4fa
mov edx, dword [edx]
cmp edx, 1
jne 0x670da4d1
mov eax, dword [esp + 0x14]
lea edx, [eax + 0x10]
cmp dword [eax + 0xc], edx
je 0x670da4e1
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 + 0x34]
push ecx
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x670da62f
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.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromUcs2_unsigned_short_int_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 0x670da53e
mov edx, dword [esp + 0x38]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
cmp dword [esi + 8], 0
jne 0x670da57c
push 0xffffffffffffffff
lea ecx, [esp + 0x48]
push 0x6716da80
push ecx
call sym.QtCore4.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 0x670da57c
mov ecx, dword [esp + 0x44]
push ecx
call sym.QtCore4.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.670215e0
mov byte [esp + 0x5c], 4
mov eax, esi
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670da5a3
push esi
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
inc edi
cmp edi, dword [esp + 0x2c]
jl 0x670da455
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 0x670da5d6
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.6701b740
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x48], ebp
mov byte [esp + 0x5c], 1
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x670da5f9
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 0x670da619
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x1c]
call fcn.67019690
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.670d7ca0
add esp, 8
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
mov byte [esp + 0x60], 6
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], 7
cmp edx, 1
jne 0x670da668
mov eax, dword [esi]
lea ecx, [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x670da675
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], 6
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670da6a7
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 0x670da6c6
mov ecx, dword [esp + 0x40]
push ecx
call sym.QtCore4.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 0x670da5a3
push ebp
jmp 0x670da59b