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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b86b7
mov eax, dword fs:[0]
push eax
mov eax, 0x1050
call fcn.0057edb0
mov eax, dword [0x6c56f8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1054], eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea eax, [ebp - 0x1040]
xor ebx, ebx
push eax
mov dword [ebp - 0x1038], ebx
call fcn.00408518
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x1038]
push eax
push dword [ebp - 0x1040]
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41c3b6
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1048]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x1038]
mov dword [ebp - 0x1048], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x103c], ebx
cmp dword [ebp - 0x1048], ebx
jbe 0x41c3aa
mov edi, 0x400
jmp 0x41c1e2
mov esi, reloc.OLEAUT32.dll_SysReAllocString
xor eax, eax
mov dword [ebp - 0x1018], 7
mov dword [ebp - 0x101c], ebx
mov word [ebp - 0x102c], ax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x104c]
push eax
call fcn.004084c2
mov byte [ebp - 4], 2
push edi
lea eax, [ebp - 0x1014]
push eax
push dword [ebp - 0x103c]
push dword [ebp - 0x1038]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x41c372
lea eax, [ebp - 0x1058]
push 0x688688
push eax
lea ecx, [ebp - 0x1040]
call fcn.0040fcd8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1014]
push ecx
lea ecx, [ebp - 0x1044]
push ecx
mov ecx, eax
call fcn.0040fcd8
add esp, 0x10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1058]
call fcn.00408559
lea eax, [ebp - 0x1034]
push eax
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x1050]
push eax
push 0x68868c
push dword [ebp - 0x1044]
mov dword [ebp - 0x1050], ebx
push esi
mov dword [ebp - 0x1034], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x41c2d3
mov eax, dword [ebp - 0x1034]
cmp eax, ebx
je 0x41c2d3
shr eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x814], cx
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x104c]
push eax
call fcn.004085bd
mov eax, dword [ebp - 0x104c]
cmp dword [eax - 0xc], ebx
je 0x41c363
lea eax, [ebp - 0x1034]
push eax
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x1050]
push eax
push str.DisplayName
push dword [ebp - 0x1044]
mov dword [ebp - 0x1034], edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x41c351
mov eax, dword [ebp - 0x1034]
cmp eax, ebx
je 0x41c351
shr eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x814], cx
lea eax, [ebp - 0x814]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x41c332
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x814]
lea edx, [ebp - 0x1030]
call fcn.004099a4
lea eax, [ebp - 0x1030]
push eax
mov eax, dword [ebp - 0x1054]
call fcn.0042676a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1044]
call fcn.00408559
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x104c]
call fcn.00408559
mov byte [ebp - 4], bl
push ebx
push 1
lea esi, [ebp - 0x1030]
call fcn.00409bf1
inc dword [ebp - 0x103c]
mov eax, dword [ebp - 0x103c]
cmp eax, dword [ebp - 0x1048]
jb 0x41c1dd
push dword [ebp - 0x1038]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1040]
call fcn.00408559
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005796dc
leave
ret