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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bdddf
mov eax, dword fs:[0]
push eax
mov eax, 0x1050
call fcn.00586dc0
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.004085b5
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 0x4212ca
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 0x4212be
mov edi, 0x400
jmp 0x4210f6
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.0040855f
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 0x421286
lea eax, [ebp - 0x1058]
push 0x6810d0
push eax
lea ecx, [ebp - 0x1040]
call fcn.004116ea
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1014]
push ecx
lea ecx, [ebp - 0x1044]
push ecx
mov ecx, eax
call fcn.004116ea
add esp, 0x10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1058]
call fcn.004085f6
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 0x4211e7
mov eax, dword [ebp - 0x1034]
cmp eax, ebx
je 0x4211e7
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.0040865a
mov eax, dword [ebp - 0x104c]
cmp dword [eax - 0xc], ebx
je 0x421277
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 0x421265
mov eax, dword [ebp - 0x1034]
cmp eax, ebx
je 0x421265
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 0x421246
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x814]
lea edx, [ebp - 0x1030]
call fcn.00409b59
lea eax, [ebp - 0x1030]
push eax
mov eax, dword [ebp - 0x1054]
call fcn.0042c0cd
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1044]
call fcn.004085f6
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x104c]
call fcn.004085f6
mov byte [ebp - 4], bl
push ebx
push 1
lea esi, [ebp - 0x1030]
call fcn.00409da6
inc dword [ebp - 0x103c]
mov eax, dword [ebp - 0x103c]
cmp eax, dword [ebp - 0x1048]
jb 0x4210f1
push dword [ebp - 0x1038]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1040]
call fcn.004085f6
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.00581268
leave
ret