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

Disassembly:
push 0x24
mov eax, 0x671b0c63
call fcn.671a2b02
mov edi, sym.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null
mov dword [ebp - 0x10], edi
xor ebx, ebx
lea eax, [ebp - 0x24]
push ebx
push ebx
push ebx
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
push ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x670d6485
push str.QSettings:_RegQueryInfoKey___failed
push eax
call sym.Qt5Core.dll_void___cdecl_qErrnoWarning_int__char_const__
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
mov dword [esi], eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 1
mov ecx, edi
jmp 0x670d65a2
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
inc ecx
inc eax
mov dword [ebp - 0x20], ecx
cmp dword [ebp + 0x10], 1
mov dword [ebp - 0x24], eax
jne 0x670d649e
mov edi, dword [ebp - 0x28]
jmp 0x670d64a3
mov edi, dword [ebp - 0x2c]
mov eax, ecx
push ebx
lea eax, [eax*2 + 2]
push eax
lea ecx, [ebp - 0x18]
call sym.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_int__char_
mov esi, ebx
test edi, edi
jle 0x670d6581
mov dword [ebp - 0x14], sym.Qt5Core.dll_struct_QArrayData_const__const_const_QArrayData::shared_null
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
mov eax, dword [eax + 4]
shr eax, 1
mov dword [ebp - 0x1c], eax
call sym.Qt5Core.dll_public:_void___thiscall_QByteArray::detach_void_
mov eax, dword [ebp - 0x18]
push ebx
push ebx
push ebx
mov ecx, dword [eax + 0xc]
add ecx, eax
lea eax, [ebp - 0x1c]
cmp dword [ebp + 0x10], 1
push ebx
push eax
push ecx
push esi
push dword [ebp + 0xc]
jne 0x670d64ff
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x670d6505
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x670d6563
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x1c]
mov ecx, dword [eax + 0xc]
add ecx, eax
lea eax, [ebp - 0x30]
push ecx
push eax
call sym.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x30]
mov dword [eax], edx
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], ebx
jne 0x670d6555
push 0x672881d8
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov dword [esp], 0x672881d8
lea ecx, [ebp - 0x14]
push eax
call fcn.67066a57
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.67015291
jmp 0x670d6570
push str.QSettings:_RegEnumValue_failed
push eax
call sym.Qt5Core.dll_void___cdecl_qErrnoWarning_int__char_const__
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
inc esi
cmp esi, edi
jl 0x670d64be
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], sym.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null
mov dword [esi], eax
call sym.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 4
call fcn.6700346c
test al, al
jne 0x670d65b6
push dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
call fcn.6701316b
mov eax, esi
call fcn.671a2adc
ret