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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b18fd
mov eax, dword fs:[0]
push eax
mov eax, 0x1050
call fcn.005788a0
mov eax, dword [0x6bd6f8]
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.0040852d
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 0x41c2c8
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 0x41c2bc
mov edi, 0x400
jmp 0x41c0f4
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.004084d7
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 0x41c284
lea eax, [ebp - 0x1058]
push 0x680d80
push eax
lea ecx, [ebp - 0x1040]
call fcn.0040fc0a
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1014]
push ecx
lea ecx, [ebp - 0x1044]
push ecx
mov ecx, eax
call fcn.0040fc0a
add esp, 0x10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1058]
call fcn.0040856e
lea eax, [ebp - 0x1034]
push eax
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x1050]
push eax
push 0x680d84
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 0x41c1e5
mov eax, dword [ebp - 0x1034]
cmp eax, ebx
je 0x41c1e5
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.004085d2
mov eax, dword [ebp - 0x104c]
cmp dword [eax - 0xc], ebx
je 0x41c275
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 0x41c263
mov eax, dword [ebp - 0x1034]
cmp eax, ebx
je 0x41c263
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 0x41c244
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x814]
lea edx, [ebp - 0x1030]
call fcn.00409972
lea eax, [ebp - 0x1030]
push eax
mov eax, dword [ebp - 0x1054]
call fcn.004265a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1044]
call fcn.0040856e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x104c]
call fcn.0040856e
mov byte [ebp - 4], bl
push ebx
push 1
lea esi, [ebp - 0x1030]
call fcn.00409bbf
inc dword [ebp - 0x103c]
mov eax, dword [ebp - 0x103c]
cmp eax, dword [ebp - 0x1048]
jb 0x41c0ef
push dword [ebp - 0x1038]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1040]
call fcn.0040856e
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.0057340c
leave
ret