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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432f00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x41c
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
xor ebx, ebx
mov dword [ebp - 0x1c], esi
push str.SoftWareMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x14]
add eax, 0x30
mov byte [ebp - 4], 1
push eax
call sub.MFC42.DLL_CString::operator
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push ecx
push 1
push ebx
push edx
push 0x80000002
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x41a690
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
mov byte [ebp - 4], 3
call fcn.0041a7b0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x24]
push ecx
push edx
call fcn.0041a820
add esp, 8
cmp eax, ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
setl byte [ebp + 0xb]
call fcn.0042ebf6
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0042ebf6
cmp esi, ebx
je 0x41a64d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x94]
cmp eax, ebx
mov dword [ebp - 0x28], eax
je 0x41a757
push str.SoftWareMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [ebp - 0x14]
call fcn.0042ec02
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x20]
push ecx
mov ecx, dword [edi + 8]
push edx
add ecx, 0x90
call fcn.0041a550
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0042ebf6
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 8]
push eax
push 1
push ebx
push ecx
push 0x80000002
mov dword [ebp + 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x41a74e
xor eax, eax
cmp esi, ebx
je 0x41a70a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 8]
cmp eax, ebx
mov dword [ebp - 0x1c], esi
jne 0x41a74e
lea edx, [ebp + 8]
lea eax, [ebp - 0x428]
push edx
lea ecx, [ebp - 0x18]
push eax
push ecx
push ebx
push str.DisplayName
push esi
mov dword [ebp + 8], 0x400
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x41a782
cmp esi, ebx
je 0x41a74e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 0x1c], esi
cmp dword [ebp - 0x28], ebx
jne 0x41a6a4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0042ebf6
cmp esi, ebx
je 0x41a76d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0042ebf6
cmp esi, ebx
je 0x41a798
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4