Function at 0x42b690
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x48b3e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x488
push edi
mov edi, ecx
lea eax, [esp + 0x4c]
mov ecx, dword [edi + 0x78]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x4b20c8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x494], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], eax
lea edx, [esp + 0x20]
mov byte [esp + 0x494], 2
push edx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x42b74d
lea ecx, [esp + 4]
mov byte [esp + 0x494], 1
call fcn.0047c0f3
lea ecx, [esp + 0xc]
mov byte [esp + 0x494], 0
call fcn.0047c0f3
lea ecx, [esp + 0x10]
mov dword [esp + 0x494], 0xffffffff
call fcn.0047c0f3
pop edi
mov ecx, dword [esp + 0x488]
mov dword fs:[0], ecx
add esp, 0x494
ret
push ebx
mov edx, dword [esp + 0x24]
push ebp
push esi
push 0
push 0
push 0
lea eax, [esp + 0x48]
push 0
lea ecx, [esp + 0xa8]
push eax
push ecx
mov ebp, 0x100
push 0
push edx
mov dword [esp + 0x54], 0
mov dword [esp + 0x5c], ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0x103
je 0x42bb42
test eax, eax
jne 0x42bb05
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x28]
push eax
push 0x20019
lea ecx, [esp + 0xa0]
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42bb12
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x24]
lea ecx, [esp + 0x198]
push eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x4c]
push ecx
push edx
push 0
push str.DisplayName
push eax
mov dword [esp + 0x3c], ebp
call esi
test eax, eax
jne 0x42b802
lea ecx, [esp + 0x198]
push ecx
lea ecx, [esp + 0x20]
call fcn.0047c27c
lea edx, [esp + 0x24]
lea eax, [esp + 0x298]
push edx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x4c]
push eax
push ecx
push 0
push str.UninstallString
push edx
mov dword [esp + 0x3c], ebp
call esi
test eax, eax
jne 0x42b83b
lea eax, [esp + 0x298]
lea ecx, [esp + 0x18]
push eax
call fcn.0047c27c
lea ecx, [esp + 0x24]
lea edx, [esp + 0x398]
push ecx
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x4c]
push edx
push eax
push 0
push str.DisplayIcon
push ecx
mov dword [esp + 0x3c], ebp
call esi
test eax, eax
jne 0x42b874
lea edx, [esp + 0x398]
lea ecx, [esp + 0x10]
push edx
call fcn.0047c27c
mov eax, dword [esp + 0x1c]
push 0x4b61a0
push eax
call fcn.00463ffe
add esp, 8
test eax, eax
je 0x42bad0
mov ecx, dword [esp + 0x18]
push 0x4b61a0
push ecx
call fcn.00463ffe
add esp, 8
test eax, eax
je 0x42bad0
mov edx, dword [esp + 0x10]
push 0x4b61a0
push edx
mov dword [esp + 0x4c], 0
call fcn.00463ffe
add esp, 8
test eax, eax
je 0x42b989
mov eax, dword [0x4b20c8]
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
push 0x2c
push 0
lea ecx, [esp + 0x40]
push eax
push ecx
mov byte [esp + 0x4b0], 4
call fcn.0047c72f
mov edx, dword [esp + 0x10]
push 0x2c
push 1
lea eax, [esp + 0x28]
push edx
push eax
call fcn.0047c72f
mov ecx, dword [esp + 0x20]
push 0x4b61a0
push ecx
call fcn.00463ffe
add esp, 8
test eax, eax
jne 0x42b929
push 0x4ad458
lea ecx, [esp + 0x24]
call fcn.0047c27c
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x38]
lea edx, [esp + 0x54]
push 1
push edx
push 0
push eax
call fcn.00463fa1
add esp, 4
push eax
push esi
call dword [sym.imp.SHELL32.dll_ExtractIconExA]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x42b967
mov ecx, dword [edi + 0x488]
push eax
push 0xffffffffffffffff
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x4a0], 3
call fcn.0047c0f3
mov byte [esp + 0x4a0], 2
lea ecx, [esp + 0x38]
jmp 0x42ba3c
lea edx, [esp + 0x18]
lea ecx, [esp + 0x14]
push edx
call fcn.0047be68
push 0x4b61a0
push 0x4adcc4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4a8], 5
call fcn.00475ae6
lea ecx, [esp + 0x14]
call fcn.0047c607
push str..exe
lea ecx, [esp + 0x18]
call fcn.00475df5
add eax, 4
lea ecx, [esp + 0x14]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.00475d5b
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4a4], 6
call fcn.0047c22c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4a0], 5
call fcn.0047c0f3
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push 1
push ecx
push 0
push 0
push edx
call dword [sym.imp.SHELL32.dll_ExtractIconExA]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x42ba30
push eax
mov eax, dword [edi + 0x488]
push 0xffffffffffffffff
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov dword [esp + 0x44], eax
mov byte [esp + 0x4a0], 2
lea ecx, [esp + 0x14]
call fcn.0047c0f3
mov ecx, dword [edi + 0x78]
push 0
push 0
push 0x1004
push ecx
call ebx
mov edx, dword [esp + 0x44]
push 0
mov esi, eax
mov eax, dword [esp + 0x20]
push edx
push 0
push 0
lea ebp, [edi + 0x5c]
push eax
push esi
push 3
mov ecx, ebp
call fcn.00476b58
mov ecx, dword [esp + 0x18]
push ecx
push 1
push esi
mov ecx, ebp
call fcn.00476c1d
lea edx, [esp + 0x98]
mov ecx, ebp
push edx
push 2
push esi
call fcn.00476c1d
push esi
push 0
push 0
push 0
push 0
push 4
push 0
push esi
mov ecx, ebp
call fcn.00476ba4
inc esi
cmp esi, 0x10
jle 0x42bacb
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x58]
sub eax, esi
sub eax, 0x11
and eax, 0xffff
push eax
mov eax, dword [edi + 0x78]
push 0
push 0x101e
push eax
call ebx
mov ebp, 0x100
push 0x4b61a0
lea ecx, [esp + 0x20]
call fcn.0047c27c
push 0x4b61a0
lea ecx, [esp + 0x1c]
call fcn.0047c27c
push 0x4b61a0
lea ecx, [esp + 0x14]
call fcn.0047c27c
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x3c], ebp
inc eax
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x34]
push 0
push 0
push 0
lea edx, [esp + 0x48]
push 0
lea eax, [esp + 0xa8]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
jne 0x42b794
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x4b20c8]
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], eax
mov ecx, dword [edi + 0x78]
push 0
push 0
push 0x1004
push ecx
mov byte [esp + 0x4b0], 8
call ebx
push eax
lea edx, [esp + 0x44]
push 0x4ad424
push edx
call fcn.0047617b
mov eax, dword [esp + 0x4c]
add esp, 0xc
lea ecx, [esp + 0x30]
push eax
push 0x15
push ecx
call fcn.00480d27
mov ecx, dword [edi + 0x78]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x78]
mov dword [esp + 0x78], 4
push eax
push 0
push 0x101a
push ecx
mov dword [esp + 0x94], edx
call ebx
mov eax, dword [edi + 0x78]
lea edx, [edi + 0x5c]
push 0x42bc90
push edx
push 0x1030
push eax
call ebx
mov edx, dword [edi + 0x78]
lea ecx, [esp + 0x68]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x68]
sub eax, esi
and eax, 0xffff
push eax
mov eax, dword [edi + 0x78]
push 0
push 0x101e
push eax
call ebx
mov ecx, dword [edi + 0x78]
push 0
push 1
push 0x101e
push ecx
call ebx
mov edx, dword [edi + 0x78]
push 0
push 2
push 0x101e
push edx
call ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0x4a0], 7
call fcn.0047c0f3
lea ecx, [esp + 0x40]
mov byte [esp + 0x4a0], 2
call fcn.0047c0f3
lea ecx, [esp + 0x10]
mov byte [esp + 0x4a0], 1
call fcn.0047c0f3
mov byte [esp + 0x4a0], 0
lea ecx, [esp + 0x18]
call fcn.0047c0f3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x4a0], 0xffffffff
call fcn.0047c0f3
mov ecx, dword [esp + 0x498]
pop esi
pop ebp
pop ebx
pop edi
mov dword fs:[0], ecx
add esp, 0x494
ret