Function at 0x4af890
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4e7f77
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x56e01c]
xor eax, esp
mov dword [esp + 0x468], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56e01c]
xor eax, esp
push eax
lea eax, [esp + 0x484]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x28], esi
mov eax, 1
mov dword [esp + 0x48c], eax
mov ecx, dword [sym.imp.QtCore4.dll_struct_QListData::Data_QListData::shared_null]
mov dword [edi], ecx
mov edx, ecx
mov ecx, eax
lock xadd dword [edx], ecx
mov dword [esp + 0x28], eax
call fcn.0042c700
xor eax, eax
push str.GetNativeSystemInfo
push str.kernel32.dll
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x4af944
lea edx, [esp + 0x30]
push edx
call eax
mov eax, dword [esp + 0x30]
cmp ax, 6
je 0x4af954
cmp ax, 9
jne 0x4af95b
mov eax, 0x20119
jmp 0x4af960
mov eax, 0x20019
lea ecx, [esp + 0x14]
push ecx
push eax
push esi
lea ecx, [esp + 0x4a0]
call dword [sym.imp.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4afa77
push 0x206
lea eax, [esp + 0x7a]
xor edx, edx
push esi
push eax
mov word [esp + 0x80], dx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x34]
push esi
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x9c]
push ecx
push edx
mov dword [esp + 0x54], 0x104
mov dword [esp + 0x4c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [esp + 0x18]
cmp eax, esi
jbe 0x4afa6c
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ebp, dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const___int_]
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x290]
push ecx
push esi
push edx
mov dword [esp + 0x40], 0xff
call ebx
test eax, eax
jne 0x4afa65
push 0xffffffffffffffff
lea eax, [esp + 0x280]
push eax
lea ecx, [esp + 0x34]
push ecx
call ebp
add esp, 0xc
push edi
mov ecx, eax
mov byte [esp + 0x490], 2
call fcn.0040efb0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48c], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
inc esi
cmp esi, dword [esp + 0x18]
jb 0x4afa06
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x494]
mov byte [esp + 0x48c], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, edi
mov ecx, dword [esp + 0x484]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x468]
xor ecx, esp
call fcn.004ce3bb
add esp, 0x47c
ret