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

Disassembly:
push 0xffffffffffffffff
push 0x432460
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push esi
mov esi, dword [esp + 0x144]
xor ebx, ebx
cmp esi, 2
push edi
mov dword [esp + 0x28], ebx
jne 0x41a465
mov esi, dword [esp + 0x144]
push esi
call fcn.0041a240
add esp, 4
jmp 0x41a6db
mov eax, dword [0x43db14]
mov dword [esp + 0xc], eax
mov edi, 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x13c], edi
push ebx
mov byte [esp + 0x140], 2
mov dword [esp + 0x14], ebx
call fcn.00418340
add esp, 4
cmp esi, ebx
jne 0x41a4a9
lea eax, [esp + 0x10]
push eax
push 0x20119
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
jmp 0x41a4b9
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push ebx
push str.SoftwareWow6432NodeMicrosoftWindowsCurrentVersionUninstall
push reloc.PPData.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
mov esi, eax
call fcn.00418340
add esp, 4
cmp esi, ebx
je 0x41a4fa
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x41a4e2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x144]
push 0x441314
mov ecx, esi
call fcn.00428960
jmp 0x41a6b5
push ebx
push ebx
mov ecx, dword [esp + 0x18]
push ebx
push ebx
push ebx
lea edx, [esp + 0x2c]
push ebx
lea eax, [esp + 0x34]
push edx
push eax
push ebx
push ebx
mov esi, 0x100
push ebx
push ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp eax, ebx
jne 0x41a693
mov edx, dword [esp + 0x18]
push ebp
inc edx
push edx
call fcn.00428e1c
mov ebp, eax
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
jle 0x41a689
jmp 0x41a556
mov esi, 0x100
mov edi, 1
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
lea ecx, [esp + 0x3c]
push 0
push ecx
push ebp
inc eax
push ebx
push edx
mov dword [esp + 0x54], edi
mov dword [esp + 0x44], esi
mov dword [esp + 0x50], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
push 0x20019
push 0
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41a668
lea edx, [esp + 0x24]
lea eax, [esp + 0x38]
push edx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x38]
push eax
push ecx
push 0
push str.DisplayName
push edx
mov dword [esp + 0x3c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41a668
lea edi, [esp + 0x38]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0xf
jbe 0x41a62c
mov ecx, 9
mov edi, str.Microsoft
lea esi, [esp + 0x38]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x41a62c
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x14]
call fcn.00428c82
mov eax, dword [esp + 0x14c]
test eax, eax
jne 0x41a613
push str.__32_bits_
jmp 0x41a618
push str.__64_bits_
lea ecx, [esp + 0x14]
call fcn.00428c82
push 0x43da84
lea ecx, [esp + 0x14]
jmp 0x41a663
lea edx, [esp + 0x38]
lea ecx, [esp + 0x18]
push edx
call fcn.00428c82
mov eax, dword [esp + 0x14c]
test eax, eax
jne 0x41a64c
push str.__32_bits_
jmp 0x41a651
push str.__64_bits_
lea ecx, [esp + 0x1c]
call fcn.00428c82
push 0x43da84
lea ecx, [esp + 0x1c]
call fcn.00428c82
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41a677
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x20]
inc ebx
cmp ebx, eax
jl 0x41a54c
mov edi, 1
push ebp
call fcn.00428e45
add esp, 4
pop ebp
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x144]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
push edx
push esi
call fcn.00428ad5
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], edi
mov byte [esp + 0x13c], 1
call fcn.004288f2
lea ecx, [esp + 0xc]
mov byte [esp + 0x13c], 0
call fcn.004288f2
mov ecx, dword [esp + 0x134]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x134
ret