Function at 0x1002393c
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 [0x101f1dd0]
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.10076580
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 0x10023a66
push edi
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x6c], esi
push esi
jmp 0x10023a43
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 0x10023a38
push ebx
lea eax, [ebp + 0x1a6]
push esi
push eax
mov dword [ebp - 0x78], edi
mov word [ebp + 0x1a4], si
call fcn.10076580
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 0x10023a2f
push dword [ebp - 0x80]
lea eax, [ebp + 0x1a4]
push eax
call fcn.10078b09
test eax, eax
pop ecx
pop ecx
je 0x10023a2f
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 0x100239ba
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x74], esi
jne 0x10023b36
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 0x10023b36
push edi
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x6c], esi
push esi
jmp 0x10023b1c
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 0x10023b11
push ebx
lea eax, [ebp + 0x1a6]
push esi
push eax
mov dword [ebp - 0x7c], edi
mov word [ebp + 0x1a4], si
call fcn.10076580
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 0x10023b08
push dword [ebp - 0x80]
lea eax, [ebp + 0x1a4]
push eax
call fcn.10078b09
test eax, eax
pop ecx
pop ecx
je 0x10023b08
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 0x10023a93
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.10075e13
add ebp, 0x3b0
leave
ret 4