Function at 0x4524f4
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4b713f
call fcn.0049dfc4
sub esp, 0x50
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x30], ebx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 1
call fcn.00401e1e
mov esi, vtable._zstring_class_ztraits_0__.0
mov dword [ebp - 0x3c], esi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
mov dword [ebp - 4], 2
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00401e1e
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 4
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00403753
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00402f35
lea eax, [ebp + 0xc]
mov edi, 0x20019
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
push edi
push ebx
push dword [ebp - 0x28]
mov dword [ebp + 0xc], ebx
push SysReAllocStringLen
call esi
cmp eax, ebx
jne 0x4525a5
lea ecx, [ebp - 0x10]
call fcn.0041623e
mov ecx, dword [ebp + 0xc]
cmp eax, ebx
mov dword [ebp - 0x10], ecx
je 0x4525d2
lea ecx, [ebp - 0x2c]
call fcn.00402f35
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], ebx
push eax
push edi
push ebx
push dword [ebp - 0x28]
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp eax, ebx
jne 0x4525d2
lea ecx, [ebp - 0x10]
call fcn.0041623e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
push 0xffffffffffffffff
push str.DisplayVersion
mov dword [ebp - 0x14], 0x104
call fcn.00401275
pop ecx
mov dword [ebp + 0xc], eax
pop ecx
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 6
call fcn.00411368
push dword [ebp + 0xc]
mov byte [ebp - 4], 8
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x4c]
call fcn.00402f35
mov esi, dword [ebp - 0x48]
lea eax, [ebp - 0x5c]
push 0x200
push eax
lea ecx, [ebp - 0x3c]
call fcn.0041120a
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.00411336
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], ebx
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 8
call fcn.00401d79
push 0x2e
lea eax, [ebp - 0x18]
pop esi
lea ecx, [ebp - 0x3c]
push ebx
push 1
pop edi
mov dword [ebp - 0x18], esi
push edi
push eax
call fcn.00401db4
cmp eax, dword [0x4be690]
je 0x452696
inc eax
lea ecx, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x18]
push edi
push eax
mov dword [ebp - 0x18], esi
call fcn.00401db4
mov ecx, dword [0x4be690]
cmp eax, ecx
je 0x452696
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401cbd
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x3c]
push eax
call fcn.0040235c
mov dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 5
call fcn.004012b4
cmp dword [ebp - 0x10], ebx
je 0x4526c2
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.004012b4
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.004012b4
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret