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

Disassembly:
push 0x450
mov eax, 0x516eee
call fcn.004ae708
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0x208
mov dword [ebp - 0x434], eax
mov esi, ebx
lea eax, [ebp - 0x218]
mov dword [ebp - 0x424], ebx
push ebx
push eax
mov dword [ebp - 0x428], ebx
call fcn.004c42d0
add esp, 0xc
lea eax, [ebp - 0x424]
push eax
push 0x109
push ebx
push 0x51b1b0
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4bb9d4
and dword [ebp - 0x438], esi
lea eax, [ebp - 0x218]
push 0x104
push eax
push esi
jmp 0x4bb9b4
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4bb99a
push 0x208
push eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0x42c], 0x104
push eax
call fcn.004c42d0
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x430]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4bb992
push dword [ebp - 0x434]
lea eax, [ebp - 0x420]
push eax
call fcn.004c354d
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x428]
call edi
mov eax, dword [ebp - 0x438]
lea ecx, [ebp - 0x218]
push 0x104
inc eax
push ecx
mov dword [ebp - 0x438], eax
push eax
push dword [ebp - 0x424]
call ebx
test eax, eax
je 0x4bb904
push dword [ebp - 0x424]
call edi
test esi, esi
jne 0x4bbc02
lea eax, [ebp - 0x424]
push eax
push 9
push 0
push str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4bbad3
push 0x104
lea eax, [ebp - 0x218]
xor ebx, ebx
push eax
push ebx
jmp 0x4bbaaf
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4bbaa1
push 0x208
push eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0x430], 0x104
push eax
call fcn.004c42d0
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x42c]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4bba99
push dword [ebp - 0x434]
lea eax, [ebp - 0x420]
push eax
call fcn.004c354d
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x428]
call edi
push 0x104
lea eax, [ebp - 0x218]
inc ebx
push eax
push ebx
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x4bba0b
push dword [ebp - 0x424]
call edi
test esi, esi
jne 0x4bbc02
lea ecx, [ebp - 0x45c]
call fcn.004c1377
and dword [ebp - 4], 0
lea ecx, [ebp - 0x45c]
call fcn.004c13fc
test eax, eax
mov edx, 0x20119
lea eax, [ebp - 0x424]
push eax
setne cl
mov eax, 0x20019
test cl, cl
cmovne eax, edx
push eax
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4bbbf7
push 0x104
lea eax, [ebp - 0x218]
xor ebx, ebx
push eax
push ebx
jmp 0x4bbbdb
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4bbbcd
push 0x208
push eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0x430], 0x104
push eax
call fcn.004c42d0
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x42c]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4bbbc5
push dword [ebp - 0x434]
lea eax, [ebp - 0x420]
push eax
call fcn.004c354d
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x428]
call edi
push 0x104
lea eax, [ebp - 0x218]
inc ebx
push eax
push ebx
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x4bbb37
push dword [ebp - 0x424]
call edi
lea ecx, [ebp - 0x45c]
call fcn.004c138a
mov eax, esi
call fcn.004ae6c3
ret 4