Function at 0x420330
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433714
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x6015cc]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov dword [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
push 0x43c8a0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4203a5
jmp 0x42055d
xor ecx, ecx
mov word [ebp - 0xe4], cx
push 0xc6
push 0
lea edx, [ebp - 0xe2]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0xe8], 0x64
mov dword [ebp - 0xec], 1
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xe4]
push ecx
lea edx, [ebp - 0xec]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x42044f
cmp dword [ebp - 0xec], 1
jne 0x42044f
push 0xffffffffffffffff
lea edx, [ebp - 0xe4]
push edx
lea eax, [ebp - 0xf8]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
add esp, 0xc
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x10c]
push ecx
lea ecx, [ebp - 0x10]
call dword [0x60341c]
lea ecx, [ebp - 0xf8]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x420555
cmp dword [ebp - 0xe8], 0x64
jbe 0x420555
mov edx, dword [ebp - 0xe8]
add edx, 1
mov dword [ebp - 0xf4], edx
push 0x6019d5
xor ecx, ecx
mov eax, dword [ebp - 0xf4]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042e8d0
add esp, 8
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0
je 0x420555
mov ecx, dword [ebp - 0xf4]
shl ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0xf0]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp - 0xf4]
push eax
mov ecx, dword [ebp - 0xf0]
push ecx
lea edx, [ebp - 0xec]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x42053a
cmp dword [ebp - 0xec], 1
jne 0x42053a
push 0xffffffffffffffff
mov edx, dword [ebp - 0xf0]
push edx
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
add esp, 0xc
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
push ecx
lea ecx, [ebp - 0x10]
call dword [0x60341c]
lea ecx, [ebp - 0x100]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0x104], edx
mov eax, dword [ebp - 0x104]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
xor ecx, ecx
jne 0x420383
cmp dword [ebp - 0x14], 0
je 0x42056d
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ecx, dword [ebp - 0x108]
or ecx, 1
mov dword [ebp - 0x108], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0042e70e
mov esp, ebp
pop ebp
ret