Function at 0x6e1a5aa8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xcc
mov ebx, dword [ebp + 0x10]
mov edx, ebx
lea eax, [ebp - 0x1c]
call fcn.6e1a5954
mov edx, ebx
lea eax, [ebp - 0x20]
call fcn.6e1a4908
lea ecx, [ebp - 0x20]
mov edx, 0x20019
mov eax, dword [ebp + 0xc]
call fcn.6e1a47f8
mov ebx, eax
test eax, eax
je 0x6e1a5c90
lea eax, [ebp - 0x1c]
mov dword [esp], eax
call method.QString.utf16___const
lea esi, [ebp - 0x28]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0
lea edx, [ebp - 0x24]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.ADVAPI32.DLL_RegQueryValueExW
sub esp, 0x18
test eax, eax
jne 0x6e1a5cc0
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call method.QByteArray.QByteArray_int__char_
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
dec edx
je 0x6e1a5e44
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call method.QByteArray.realloc_int_
mov eax, dword [ebp - 0x2c]
mov edi, dword [eax + 0xc]
lea eax, [ebp - 0x1c]
mov dword [esp], eax
call method.QString.utf16___const
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.ADVAPI32.DLL_RegQueryValueExW
sub esp, 0x18
test eax, eax
jne 0x6e1a5e34
mov eax, dword [ebp - 0x24]
cmp eax, 0xb
jbe switch.0x6e1a5ce0
mov dword [esp + 4], eax
mov dword [esp], str.QSettings:_Unknown_data__d_type_in_Windows_registry
call sym.QtCore4.dll_qWarning_char_const__::_
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x6e1a5c6c
and dword [ebp - 0x98], 0xc0000000
mov al, byte [ebp - 0x95]
and eax, 0xffffffbf
or eax, 0xffffff80
mov byte [ebp - 0x95], al
mov dword [ebp - 0xa0], 0
lea esi, [ebp - 0xa0]
mov dword [esp + 4], esi
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call method.QVariant.operator_QVariant_const_
jmp 0x6e1a5d59
mov dword [ebp - 0x34], sym.QtCore4.dll_QListData::shared_null
lock inc dword [sym.QtCore4.dll_QListData::shared_null]
setne al
mov ecx, dword [ebp - 0x28]
test ecx, ecx
jne 0x6e1a5e58
lea eax, [ebp - 0x34]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x6e1a5c5d
lea esi, [ebp - 0x60]
mov eax, dword [ebp - 0xb0]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.6e191f28
push edi
mov dword [esp + 4], esi
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call method.QVariant.operator_QVariant_const_
mov dword [esp], esi
call method.QVariant.QVariant__
mov eax, dword [ebp - 0xb0]
mov dword [esp], eax
call fcn.6e234248
nop
mov dword [esp], ebx
call sub.ADVAPI32.DLL_RegCloseKey
push edx
mov bl, 1
mov eax, dword [ebp - 0x2c]
lock dec dword [eax]
setne dl
test dl, dl
jne 0x6e1a5c90
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym.QtCore4.dll_qFree_void_
nop
mov eax, dword [ebp - 0x20]
lock dec dword [eax]
setne dl
test dl, dl
je 0x6e1a5cd0
mov eax, dword [ebp - 0x1c]
lock dec dword [eax]
setne dl
test dl, dl
jne 0x6e1a5cb5
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call method.QString.free_QString::Data_
mov al, bl
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
mov dword [esp], ebx
call sub.ADVAPI32.DLL_RegCloseKey
push esi
xor ebx, ebx
jmp 0x6e1a5c90
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call method.QString.free_QString::Data_
jmp 0x6e1a5c9d
jmp dword [eax*4 + 0x6e2f6240]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x6e1a5c6c
mov dword [esp + 4], eax
mov dword [esp + 8], edx
lea esi, [ebp - 0x90]
mov dword [esp], esi
call method.QVariant.QVariant_long_long_
mov dword [esp + 4], esi
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call method.QVariant.operator_QVariant_const_
jmp 0x6e1a5d59
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x6e1a5c6c
mov dword [esp + 4], eax
lea esi, [ebp - 0x80]
mov dword [esp], esi
call method.QVariant.QVariant_int_
mov dword [esp + 4], esi
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call method.QVariant.operator_QVariant_const_
mov dword [esp], esi
call method.QVariant.QVariant__
jmp 0x6e1a5c6c
mov dword [ebp - 0x38], sym.QtCore4.dll_QString::shared_null
lock inc dword [sym.QtCore4.dll_QString::shared_null]
setne al
mov ecx, dword [ebp - 0x28]
test ecx, ecx
jne 0x6e1a5f2c
lea eax, [ebp - 0x38]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x6e1a5e21
lea esi, [ebp - 0x50]
mov eax, dword [ebp - 0xac]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.6e191914
push edi
mov dword [esp + 4], esi
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call method.QVariant.operator_QVariant_const_
mov dword [esp], esi
call method.QVariant.QVariant__
jmp 0x6e1a5e21
mov dword [ebp - 0x38], sym.QtCore4.dll_QString::shared_null
lock inc dword [sym.QtCore4.dll_QString::shared_null]
setne al
mov esi, dword [ebp - 0x28]
test esi, esi
jne 0x6e1a5ed8
lea eax, [ebp - 0x38]
mov dword [ebp - 0xac], eax
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x6e1a5e21
lea esi, [ebp - 0x70]
mov eax, dword [ebp - 0xac]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.6e191914
push eax
mov dword [esp + 4], esi
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call method.QVariant.operator_QVariant_const_
mov dword [esp], esi
call method.QVariant.QVariant__
mov eax, dword [ebp - 0xac]
mov dword [esp], eax
call method.QString.QString__
jmp 0x6e1a5c6c
mov dword [esp], ebx
call sub.ADVAPI32.DLL_RegCloseKey
push ebx
xor ebx, ebx
jmp 0x6e1a5c77
mov edi, dword [eax + 0xc]
lea edx, [eax + 0x10]
cmp edi, edx
jne 0x6e1a5b4b
jmp 0x6e1a5b63
xor edi, edi
lea eax, [ebp - 0x38]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0xb0], eax
jmp 0x6e1a5e74
lea edi, [esi + edi + 1]
mov dword [esp + 8], 0xffffffff
lea eax, [edi + edi]
mov edx, dword [ebp - 0x2c]
add eax, dword [edx + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xac]
mov dword [esp], eax
call method.QString.fromWCharArray_wchar_t_const__int_
push edx
mov eax, dword [ebp - 0x38]
mov esi, dword [eax + 8]
test esi, esi
je 0x6e1a5f78
mov eax, dword [ebp - 0xac]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xb0]
mov dword [esp], eax
call fcn.6e244f70
mov eax, dword [ebp - 0x38]
lock dec dword [eax]
setne dl
test dl, dl
jne 0x6e1a5e70
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call method.QString.free_QString::Data_
jmp 0x6e1a5e70
mov eax, dword [ebp - 0x2c]
lea esi, [ebp - 0x3c]
mov ecx, dword [eax + 8]
mov edx, ecx
shr edx, 0x1f
add edx, ecx
sar edx, 1
mov dword [esp + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 4], eax
mov dword [esp], esi
lea eax, [ebp - 0x38]
mov dword [ebp - 0xac], eax
call method.QString.fromWCharArray_wchar_t_const__int_
push ecx
mov dword [esp + 4], esi
lea eax, [ebp - 0x38]
mov dword [ebp - 0xac], eax
mov dword [esp], eax
call method.QString.operator_QString_const_
mov dword [esp], esi
call method.QString.QString__
jmp 0x6e1a5ded
lea esi, [ebp - 0x30]
mov dword [esp + 8], 0xffffffff
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0xc]
mov dword [esp + 4], eax
mov dword [esp], esi
lea eax, [ebp - 0x38]
mov dword [ebp - 0xac], eax
call method.QString.fromWCharArray_wchar_t_const__int_
push edx
mov dword [esp + 4], esi
lea eax, [ebp - 0x38]
mov dword [ebp - 0xac], eax
mov dword [esp], eax
call method.QString.operator_QString_const_
mov dword [esp], esi
call method.QString.QString__
jmp 0x6e1a5d8d
mov eax, dword [ebp - 0xac]
mov dword [esp], eax
call method.QString.QString__
jmp 0x6e1a5c29