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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1c09
mov eax, dword fs:[0]
push eax
mov eax, 0x1050
call fcn.00578bc0
mov eax, dword [0x6b06f8]
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.00408561
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 0x41c635
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 0x41c629
mov edi, 0x400
jmp 0x41c461
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.0040850b
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 0x41c5f1
lea eax, [ebp - 0x1058]
push 0x670fe8
push eax
lea ecx, [ebp - 0x1040]
call fcn.0040fc53
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1014]
push ecx
lea ecx, [ebp - 0x1044]
push ecx
mov ecx, eax
call fcn.0040fc53
add esp, 0x10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1058]
call fcn.004085a2
lea eax, [ebp - 0x1034]
push eax
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x1050]
push eax
push str.UninstallString
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 0x41c552
mov eax, dword [ebp - 0x1034]
cmp eax, ebx
je 0x41c552
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.00408606
mov eax, dword [ebp - 0x104c]
cmp dword [eax - 0xc], ebx
je 0x41c5e2
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 0x41c5d0
mov eax, dword [ebp - 0x1034]
cmp eax, ebx
je 0x41c5d0
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 0x41c5b1
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x814]
lea edx, [ebp - 0x1030]
call fcn.004099c2
lea eax, [ebp - 0x1030]
push eax
mov eax, dword [ebp - 0x1054]
call fcn.0042688c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1044]
call fcn.004085a2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x104c]
call fcn.004085a2
mov byte [ebp - 4], bl
push ebx
push 1
lea esi, [ebp - 0x1030]
call fcn.00409c0f
inc dword [ebp - 0x103c]
mov eax, dword [ebp - 0x103c]
cmp eax, dword [ebp - 0x1048]
jb 0x41c45c
push dword [ebp - 0x1038]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1040]
call fcn.004085a2
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.0057372c
leave
ret