Function at 0x10012c28
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 [0x10139d20]
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.10077be0
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 0x10012d52
push edi
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x6c], esi
push esi
jmp 0x10012d2f
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 0x10012d24
push ebx
lea eax, [ebp + 0x1a6]
push esi
push eax
mov dword [ebp - 0x78], edi
mov word [ebp + 0x1a4], si
call fcn.10077be0
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 0x10012d1b
push dword [ebp - 0x80]
lea eax, [ebp + 0x1a4]
push eax
call fcn.10079fe3
test eax, eax
pop ecx
pop ecx
je 0x10012d1b
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 0x10012ca6
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x74], esi
jne 0x10012e22
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 0x10012e22
push edi
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x6c], esi
push esi
jmp 0x10012e08
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 0x10012dfd
push ebx
lea eax, [ebp + 0x1a6]
push esi
push eax
mov dword [ebp - 0x7c], edi
mov word [ebp + 0x1a4], si
call fcn.10077be0
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 0x10012df4
push dword [ebp - 0x80]
lea eax, [ebp + 0x1a4]
push eax
call fcn.10079fe3
test eax, eax
pop ecx
pop ecx
je 0x10012df4
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 0x10012d7f
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.100773e8
add ebp, 0x3b0
leave
ret 4