Function at 0x466dd0
Capabilities:
Get installed programs
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588a89
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x61b000]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1a0], ecx
lea ecx, [ebp - 0x164]
call fcn.00406020
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x466e32
mov dword [ebp - 0x14], 0x20019
push str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstall
lea ecx, [ebp - 0x164]
call fcn.00406110
jmp 0x466e49
mov dword [ebp - 0x14], 0x20119
push 0x5ea490
lea ecx, [ebp - 0x164]
call fcn.00406110
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x144], 0
push 0xff
push 0
lea eax, [ebp - 0x143]
push eax
call fcn.00568440
add esp, 0xc
mov dword [ebp - 0x40], 0x100
lea ecx, [ebp - 0x34]
call fcn.00406020
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0
lea ecx, [ebp - 0x164]
call fcn.00406190
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x466ede
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004060d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x164]
call fcn.004060d0
jmp 0x46705b
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1a4], eax
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x144]
push edx
mov eax, dword [ebp - 0x1a4]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
cmp eax, 0x103
je 0x46702d
push 0x5ea4c4
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x180]
push ecx
call fcn.00407cc0
add esp, 0xc
mov dword [ebp - 0x1a8], eax
mov edx, dword [ebp - 0x1a8]
mov dword [ebp - 0x1ac], edx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x144]
push eax
mov ecx, dword [ebp - 0x1ac]
push ecx
lea edx, [ebp - 0x19c]
push edx
call fcn.00407cc0
add esp, 0xc
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1b4], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1b4]
push ecx
lea ecx, [ebp - 0x34]
call fcn.004060f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x19c]
call fcn.004060d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x180]
call fcn.004060d0
lea edx, [ebp - 0x148]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0
lea ecx, [ebp - 0x34]
call fcn.00406190
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x466fdf
jmp 0x466ede
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x148]
push edx
mov ecx, dword [ebp - 0x1a0]
call fcn.004675d0
push 0x100
push 0
lea eax, [ebp - 0x144]
push eax
call fcn.00568440
add esp, 0xc
mov dword [ebp - 0x40], 0x100
cmp dword [ebp - 0x148], 0
je 0x467028
mov ecx, dword [ebp - 0x148]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x466ede
cmp dword [ebp - 0x10], 0
je 0x46703d
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004060d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x164]
call fcn.004060d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00560c61
mov esp, ebp
pop ebp
ret 8