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

Disassembly:
push ebp
lea ebp, [esp - 0x3b0]
sub esp, 0x430
mov eax, dword [0x509690]
xor eax, ebp
mov dword [ebp + 0x3ac], eax
mov eax, dword [ebp + 0x3b8]
push ebx
push esi
push edi
xor esi, esi
mov ebx, 0x206
push ebx
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x62]
push esi
push eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x70], esi
mov word [ebp - 0x64], si
call fcn.0043db10
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
push 0x109
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov edi, 0x104
jne 0x4155cd
push edi
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x6c], esi
push esi
jmp 0x4155aa
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41559f
push ebx
lea eax, [ebp + 0x1a6]
push esi
push eax
mov dword [ebp - 0x78], edi
mov word [ebp + 0x1a4], si
call fcn.0043db10
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x1a4]
push eax
lea eax, [ebp - 0x7c]
push eax
push esi
push str.DisplayName
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415596
push dword [ebp - 0x80]
lea eax, [ebp + 0x1a4]
push eax
call fcn.0043e9ae
test eax, eax
pop ecx
pop ecx
je 0x415596
mov dword [ebp - 0x74], 1
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x6c]
push edi
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x415521
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x74], esi
jne 0x41569d
lea eax, [ebp - 0x68]
push eax
push 9
push esi
push str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstall_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41569d
push edi
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x6c], esi
push esi
jmp 0x415683
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x415678
push ebx
lea eax, [ebp + 0x1a6]
push esi
push eax
mov dword [ebp - 0x7c], edi
mov word [ebp + 0x1a4], si
call fcn.0043db10
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x1a4]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push str.DisplayName
push dword [ebp - 0x70]
mov dword [ebp - 0x78], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41566f
push dword [ebp - 0x80]
lea eax, [ebp + 0x1a4]
push eax
call fcn.0043e9ae
test eax, eax
pop ecx
pop ecx
je 0x41566f
mov dword [ebp - 0x74], 1
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x6c]
push edi
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x4155fa
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x3ac]
mov eax, dword [ebp - 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043daf5
add ebp, 0x3b0
leave
ret 4