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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x658
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x658], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
xor eax, eax
mov word [ebp - 0x220], ax
push 0x206
push 0
lea ecx, [ebp - 0x21e]
push ecx
call fcn.005b4de0
add esp, 0xc
mov dword [ebp - 0x10], 0x104
lea edx, [ebp - 0x224]
push edx
push 0x109
push 0
push 0x6468d8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x452982
mov dword [ebp - 0x228], 0
jmp 0x452894
mov eax, dword [ebp - 0x228]
add eax, 1
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp - 0x228]
push eax
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x452975
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x452970
mov dword [ebp - 0x230], 0x104
xor edx, edx
mov word [ebp - 0x438], dx
push 0x206
push 0
lea eax, [ebp - 0x436]
push eax
call fcn.005b4de0
add esp, 0xc
mov dword [ebp - 0x22c], 1
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x438]
push edx
lea eax, [ebp - 0x22c]
push eax
push 0
push 0x646944
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x452966
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x438]
push eax
call fcn.0041c6e0
add esp, 8
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
je 0x452966
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x452885
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 0
jne 0x452abd
lea eax, [ebp - 0x224]
push eax
push 9
push 0
push 0x646960
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x452abd
mov dword [ebp - 0x440], 0
jmp 0x4529cf
mov ecx, dword [ebp - 0x440]
add ecx, 1
mov dword [ebp - 0x440], ecx
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x440]
push ecx
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x452ab0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x220]
push ecx
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x452aab
mov dword [ebp - 0x448], 0x104
xor eax, eax
mov word [ebp - 0x650], ax
push 0x206
push 0
lea ecx, [ebp - 0x64e]
push ecx
call fcn.005b4de0
add esp, 0xc
mov dword [ebp - 0x444], 1
lea edx, [ebp - 0x448]
push edx
lea eax, [ebp - 0x650]
push eax
lea ecx, [ebp - 0x444]
push ecx
push 0
push 0x6469e4
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x452aa1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x650]
push ecx
call fcn.0041c6e0
add esp, 8
mov dword [ebp - 0x654], eax
cmp dword [ebp - 0x654], 0
je 0x452aa1
mov dword [ebp - 4], 1
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4529c0
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret 4