Function at 0x5236fb
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 [0x69f564]
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 0x523729
xor eax, eax
jmp 0x52395e
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x418], edi
push edi
push eax
mov dword [ebp - 0x41c], edi
call fcn.005426c0
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 0x523861
and dword [ebp - 0x428], esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
jmp 0x52383d
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 0x523823
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x420], 0x104
push eax
call fcn.005426c0
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 0x523817
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00542c5e
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call edi
test esi, esi
jne 0x523851
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 0x52378e
push dword [ebp - 0x418]
call edi
test esi, esi
jne 0x52395c
lea eax, [ebp - 0x418]
push eax
push 9
push 0
push 0x65dcd0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x52395c
push 0x104
lea eax, [ebp - 0x20c]
xor ebx, ebx
push eax
push ebx
jmp 0x523940
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 0x523932
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.005426c0
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 0x523926
push dword [ebp - 0x42c]
lea eax, [ebp - 0x414]
push eax
call fcn.00542c5e
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call edi
test esi, esi
jne 0x523954
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 0x523898
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.0044e8de
mov esp, ebp
pop ebp
ret 4