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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x66f3a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x42c], ebx
mov esi, edi
test ebx, ebx
jne 0x4328a6
xor eax, eax
jmp 0x432adb
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x418], edi
push edi
push eax
mov dword [ebp - 0x41c], edi
call fcn.004a20a0
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
push 0x109
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4329de
and dword [ebp - 0x428], esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
jmp 0x4329ba
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4329a0
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x420], 0x104
push eax
call fcn.004a20a0
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x424]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x432994
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.004a3b0b
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call edi
test esi, esi
jne 0x4329ce
mov eax, dword [ebp - 0x428]
lea ecx, [ebp - 0x20c]
push 0x104
inc eax
push ecx
mov dword [ebp - 0x428], eax
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x43290b
push dword [ebp - 0x418]
call edi
test esi, esi
jne 0x432ad9
lea eax, [ebp - 0x418]
push eax
push 9
push 0
push 0x5f93e0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x432ad9
push 0x104
lea eax, [ebp - 0x20c]
xor ebx, ebx
push eax
push ebx
jmp 0x432abd
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x432aaf
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.004a20a0
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x420]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x432aa3
push dword [ebp - 0x42c]
lea eax, [ebp - 0x414]
push eax
call fcn.004a3b0b
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call edi
test esi, esi
jne 0x432ad1
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x432a15
push dword [ebp - 0x418]
call edi
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00422909
mov esp, ebp
pop ebp
ret 4