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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe98
mov eax, dword [0x585698]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
neg ebx
sbb ebx, ebx
mov dword [ebp - 0xe8c], ecx
lea ecx, [ebp - 0xe70]
push ecx
and ebx, 0x100
add ebx, 0x20019
push ebx
xor edi, edi
push edi
mov dword [ebp - 0xe7c], eax
mov eax, dword [ebp + 0xc]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push eax
mov dword [ebp - 0xe90], eax
mov dword [ebp - 0xe70], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42af54
xor eax, eax
jmp 0x42b44e
xor eax, eax
push 0x206
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push edi
push eax
mov dword [ebp - 0xe78], edi
call fcn.004f18b0
add esp, 0xc
push 8
lea eax, [ebp - 0xe98]
push edi
push eax
mov dword [ebp - 0xe74], 0x208
call fcn.004f18b0
add esp, 0xc
lea eax, [ebp - 0xe98]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0xe74]
push eax
lea eax, [ebp - 0x424]
push eax
push edi
jmp 0x42b42b
push dword [ebp - 0xe7c]
call fcn.0042a6bf
test eax, eax
jne 0x42b43f
inc dword [ebp - 0xe78]
lea eax, [ebp - 0xe68]
push eax
push ebx
push edi
lea eax, [ebp - 0x424]
push eax
push dword [ebp - 0xe70]
mov esi, 0x208
mov dword [ebp - 0xe74], esi
mov dword [ebp - 0xe68], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42b40d
push esi
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push edi
push eax
call fcn.004f18b0
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0xc
lea eax, [ebp - 0xe6c]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push str.SystemComponent
push dword [ebp - 0xe68]
mov dword [ebp - 0xe6c], 4
mov dword [ebp - 0xe84], edi
call esi
test eax, eax
jne 0x42b067
cmp dword [ebp - 0xe6c], edi
jbe 0x42b067
inc eax
cmp word [ebp - 0x21c], ax
jne 0x42b067
mov dword [ebp - 0xe84], eax
lea eax, [ebp - 0xe6c]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push str.ParentKeyName
push dword [ebp - 0xe68]
mov dword [ebp - 0xe6c], 0x208
call esi
test eax, eax
jne 0x42b0b5
cmp dword [ebp - 0xe6c], edi
jbe 0x42b0b5
lea eax, [ebp - 0x21c]
push str.OperatingSystem
push eax
call fcn.004f52b9
pop ecx
pop ecx
test eax, eax
je 0x42b32b
lea esi, [ebp - 0xe64]
call fcn.0042a640
push 0xa3c
mov eax, esi
push edi
push eax
call fcn.004f18b0
mov eax, dword [ebp + 0x10]
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0x100
mov dword [ebp - 0xe54], eax
xor eax, eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0xe6c]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push str.WindowsInstaller
push dword [ebp - 0xe68]
mov dword [ebp - 0xe58], edi
mov dword [ebp - 0xe6c], 4
mov dword [ebp - 0xe88], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42b140
cmp dword [ebp - 0xe6c], edi
jbe 0x42b140
cmp word [ebp - 0x21c], 1
sete al
mov dword [ebp - 0xe88], eax
mov eax, dword [ebp - 0xe7c]
test byte [eax + 4], 4
mov esi, 0x208
je 0x42b186
lea eax, [ebp - 0x424]
push eax
push esi
lea eax, [ebp - 0xc48]
push eax
call fcn.0042653b
lea eax, [ebp - 0x424]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push 0x54823c
lea eax, [ebp - 0xa40]
push esi
push eax
call fcn.0042a55b
add esp, 0x14
xor eax, eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0xe6c]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push str.DisplayName
push dword [ebp - 0xe68]
mov dword [ebp - 0xe6c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42b281
cmp dword [ebp - 0xe6c], edi
jbe 0x42b281
cmp word [ebp - 0x21c], di
je 0x42b32b
cmp dword [ebp - 0xe84], edi
je 0x42b23d
lea eax, [ebp - 0x21c]
push eax
push str.Windows_Live_Messenger
call fcn.004f52b9
pop ecx
pop ecx
test eax, eax
je 0x42b23d
lea eax, [ebp - 0x21c]
push eax
push str.Windows_Live_Mail
call fcn.004f52b9
pop ecx
pop ecx
test eax, eax
je 0x42b23d
push 0x5486dc
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x42b23d
push str.Kaspersky
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x42b32b
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0xe80]
push eax
call fcn.004056ee
push dword [ebp - 0xe80]
lea eax, [ebp - 0xe50]
push esi
push eax
call fcn.0042653b
lea esi, [ebp - 0xe50]
call fcn.0042b578
mov eax, dword [ebp - 0xe80]
add eax, 0xfffffff0
call fcn.00405521
mov esi, 0x208
cmp dword [ebp - 0xe88], edi
jne 0x42b302
xor eax, eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0xe6c]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push str.UninstallString
push dword [ebp - 0xe68]
mov dword [ebp - 0xe6c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42b356
cmp dword [ebp - 0xe6c], edi
jbe 0x42b356
cmp word [ebp - 0x21c], di
jne 0x42b342
push 0x545a48
lea eax, [ebp - 0xc48]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x42b32b
push 0x5486d8
lea eax, [ebp - 0xc48]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x42b32b
push str.MsiExec.exe__X
push esi
lea eax, [ebp - 0x838]
push eax
call fcn.0042653b
lea eax, [ebp - 0xc48]
push eax
lea eax, [ebp - 0x838]
push eax
mov eax, esi
call fcn.00426577
jmp 0x42b356
push dword [ebp - 0xe68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xe68], edi
jmp 0x42b40d
lea eax, [ebp - 0x21c]
push eax
push esi
lea eax, [ebp - 0x838]
push eax
call fcn.0042653b
lea eax, [ebp - 0x838]
push eax
lea eax, [ebp - 0xe50]
push eax
call fcn.0042b45f
mov dword [ebp - 0xe60], eax
xor eax, eax
cmp dword [ebp - 0xe90], 0x80000001
sete al
mov dword [ebp - 0xe5c], eax
mov eax, dword [ebp - 0xe7c]
test byte [eax + 4], 2
je 0x42b3e0
xor eax, eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0xe6c]
push eax
lea eax, [ebp - 0x21c]
push eax
push edi
push edi
push str.DisplayIcon
push dword [ebp - 0xe68]
mov dword [ebp - 0xe6c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42b3e0
cmp dword [ebp - 0xe6c], edi
jbe 0x42b3e0
lea eax, [ebp - 0x21c]
push eax
push esi
lea eax, [ebp - 0x630]
push eax
call fcn.0042653b
push dword [ebp - 0xe68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xe68], edi
cmp word [ebp - 0xe50], di
je 0x42b40d
lea eax, [ebp - 0xe64]
push eax
push dword [ebp - 0xe8c]
call fcn.0042b5ce
lea eax, [ebp - 0xe98]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0xe74]
push eax
lea eax, [ebp - 0x424]
push eax
push dword [ebp - 0xe78]
push dword [ebp - 0xe70]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x42afb2
push dword [ebp - 0xe70]
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