Function at 0x42a8fc
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14b0
call fcn.0050ead0
mov eax, dword [0x585698]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x1498], eax
mov eax, dword [ebp + 0xc]
push edi
mov esi, ecx
mov dword [ebp - 0x14a8], eax
xor edi, edi
xor eax, eax
cmp esi, edi
je 0x42aea8
push 0x40e
mov word [ebp - 0xa3c], ax
lea eax, [ebp - 0xa3a]
push edi
push eax
call fcn.004f18b0
add esp, 0xc
push esi
push 0x548528
lea eax, [ebp - 0xa3c]
push 0x410
push eax
call fcn.0042a55b
mov esi, dword [ebp + 0x10]
add esp, 0x10
neg esi
sbb esi, esi
lea eax, [ebp - 0x148c]
push eax
and esi, 0x100
add esi, 0x20019
push esi
push edi
lea eax, [ebp - 0xa3c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x1488], esi
mov dword [ebp - 0x148c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42a9b1
xor eax, eax
jmp 0x42aea8
xor eax, eax
push 0x206
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push edi
push eax
mov dword [ebp - 0x1494], edi
call fcn.004f18b0
add esp, 0xc
push 8
lea eax, [ebp - 0x14b0]
push edi
mov ebx, 0x208
push eax
mov dword [ebp - 0x1490], ebx
call fcn.004f18b0
add esp, 0xc
lea eax, [ebp - 0x14b0]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x1490]
push eax
lea eax, [ebp - 0x424]
push eax
push edi
jmp 0x42ae85
push dword [ebp - 0x1498]
call fcn.0042a6bf
test eax, eax
jne 0x42ae99
inc dword [ebp - 0x1494]
lea eax, [ebp - 0x424]
push eax
push ebx
lea eax, [ebp - 0x62c]
push eax
mov dword [ebp - 0x1490], ebx
mov dword [ebp - 0x1480], edi
call fcn.0042653b
push str.InstallProperties
lea eax, [ebp - 0x62c]
push eax
mov eax, ebx
call fcn.00426577
lea eax, [ebp - 0x1480]
push eax
push esi
push edi
lea eax, [ebp - 0x62c]
push eax
push dword [ebp - 0x148c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42ae67
push ebx
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push edi
push eax
call fcn.004f18b0
add esp, 0xc
lea eax, [ebp - 0x1484]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push str.SystemComponent
push dword [ebp - 0x1480]
mov dword [ebp - 0x1484], 4
mov dword [ebp - 0x14a0], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42aae5
cmp dword [ebp - 0x1484], edi
jbe 0x42aae5
inc eax
cmp word [ebp - 0x21c], ax
jne 0x42aae5
mov dword [ebp - 0x14a0], eax
lea eax, [ebp - 0x1484]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push str.ParentKeyName
push dword [ebp - 0x1480]
mov dword [ebp - 0x1484], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42ab46
cmp dword [ebp - 0x1484], edi
jbe 0x42ab46
lea eax, [ebp - 0x21c]
push str.OperatingSystem
push eax
call fcn.004f52b9
pop ecx
pop ecx
test eax, eax
jne 0x42ab46
push dword [ebp - 0x1480]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1480], edi
jmp 0x42ae67
lea esi, [ebp - 0x147c]
call fcn.0042a640
push 0xa3c
mov eax, esi
push edi
push eax
call fcn.004f18b0
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
and eax, 0x100
mov dword [ebp - 0x146c], eax
xor eax, eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x1484]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push str.WindowsInstaller
push dword [ebp - 0x1480]
mov dword [ebp - 0x1470], 1
mov dword [ebp - 0x1484], 4
mov dword [ebp - 0x14a4], edi
call esi
test eax, eax
jne 0x42abd7
cmp dword [ebp - 0x1484], edi
jbe 0x42abd7
cmp word [ebp - 0x21c], 1
sete al
mov dword [ebp - 0x14a4], eax
mov eax, dword [ebp - 0x1498]
test byte [eax + 4], 4
je 0x42ac2a
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0xa3c]
push eax
push 0x54823c
lea eax, [ebp - 0x1058]
push ebx
push eax
call fcn.0042a55b
lea eax, [ebp - 0x424]
add esp, 0x14
push eax
call fcn.004f192a
pop ecx
cmp eax, 0x20
jb 0x42ac2a
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x1260]
call fcn.0042bc64
xor eax, eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x1484]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push str.DisplayName
push dword [ebp - 0x1480]
mov dword [ebp - 0x1484], ebx
call esi
test eax, eax
jne 0x42ad05
cmp dword [ebp - 0x1484], edi
jbe 0x42ad05
cmp word [ebp - 0x21c], di
jne 0x42ac8a
push dword [ebp - 0x1480]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1480], edi
jmp 0x42ae61
cmp dword [ebp - 0x14a0], edi
je 0x42acc0
lea eax, [ebp - 0x21c]
push eax
push str.Windows_Live_Messenger
call fcn.004f52b9
pop ecx
pop ecx
test eax, eax
je 0x42acc0
lea eax, [ebp - 0x21c]
push eax
push str.Windows_Live_Mail
call fcn.004f52b9
pop ecx
pop ecx
test eax, eax
jne 0x42ac73
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x149c]
push eax
call fcn.004056ee
push dword [ebp - 0x149c]
lea eax, [ebp - 0x1468]
push ebx
push eax
call fcn.0042653b
lea esi, [ebp - 0x1468]
call fcn.0042b578
mov eax, dword [ebp - 0x149c]
add eax, 0xfffffff0
call fcn.00405521
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x14a4], edi
jne 0x42ad86
xor eax, eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x1484]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push str.UninstallString
push dword [ebp - 0x1480]
mov dword [ebp - 0x1484], ebx
call esi
test eax, eax
jne 0x42adc3
cmp dword [ebp - 0x1484], edi
jbe 0x42adc3
cmp word [ebp - 0x21c], di
jne 0x42adaf
push 0x545a48
lea eax, [ebp - 0x1260]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x42ac73
push 0x5486d8
lea eax, [ebp - 0x1260]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x42ac73
push str.MsiExec.exe__X
push ebx
lea eax, [ebp - 0xe50]
push eax
call fcn.0042653b
lea eax, [ebp - 0x1260]
push eax
lea eax, [ebp - 0xe50]
push eax
mov eax, ebx
call fcn.00426577
jmp 0x42adc3
lea eax, [ebp - 0x21c]
push eax
push ebx
lea eax, [ebp - 0xe50]
push eax
call fcn.0042653b
lea eax, [ebp - 0xe50]
push eax
lea eax, [ebp - 0x1468]
push eax
call fcn.0042b45f
mov dword [ebp - 0x1478], eax
mov eax, dword [ebp - 0x1498]
test byte [eax + 4], 2
je 0x42ae34
xor eax, eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x1484]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push str.DisplayIcon
push dword [ebp - 0x1480]
mov dword [ebp - 0x1484], ebx
call esi
test eax, eax
jne 0x42ae34
cmp dword [ebp - 0x1484], edi
jbe 0x42ae34
lea eax, [ebp - 0x21c]
push eax
push ebx
lea eax, [ebp - 0xc48]
push eax
call fcn.0042653b
push dword [ebp - 0x1480]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1480], edi
cmp word [ebp - 0x1468], di
je 0x42ae61
lea eax, [ebp - 0x147c]
push eax
push dword [ebp - 0x14a8]
call fcn.0042b5ce
mov esi, dword [ebp - 0x1488]
lea eax, [ebp - 0x14b0]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x1490]
push eax
lea eax, [ebp - 0x424]
push eax
push dword [ebp - 0x1494]
push dword [ebp - 0x148c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x42aa10
push dword [ebp - 0x148c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f189b
leave
ret 0xc