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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x547fc7
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x547fc0
mov ecx, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00404690
mov ecx, dword [ebp + 0x10]
inc ecx
mov eax, dword [ebp - 8]
mov edx, dword [0x4010c8]
call fcn.00404df4
xor eax, eax
push ebp
push 0x54825b
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00492c68
test al, al
je 0x54800c
mov ebx, 0x20119
jmp 0x548011
mov ebx, 0x20019
lea eax, [ebp - 0xc]
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
call fcn.004046a0
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x548212
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x13c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
mov dword [ebp - 0x10], 0x3e8
mov ebx, dword [ebp - 0x18]
dec ebx
test ebx, ebx
jl 0x548212
inc ebx
mov dword [ebp - 0x30], 0
cmp byte [0xbd34e0], 3
je 0x548212
mov eax, dword [0x55e810]
mov eax, dword [eax]
call fcn.0048fe70
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x23c]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegEnumKeyExA
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x244], eax
mov byte [ebp - 0x240], 6
lea edx, [ebp - 0x244]
xor ecx, ecx
mov eax, 0x548284
call fcn.00409e10
cmp dword [ebp - 4], 0
jne 0x54810f
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x244], eax
mov byte [ebp - 0x240], 6
lea edx, [ebp - 0x244]
xor ecx, ecx
mov eax, 0x548284
call fcn.00409e10
jmp 0x548156
push dword [ebp - 4]
push 0x548290
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x244], eax
mov byte [ebp - 0x240], 6
lea edx, [ebp - 0x244]
xor ecx, ecx
mov eax, 0x548284
call fcn.00409e10
push dword [ebp - 0x248]
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00404560
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x244], eax
mov byte [ebp - 0x240], 6
lea edx, [ebp - 0x244]
xor ecx, ecx
mov eax, 0x548284
call fcn.00409e10
mov eax, dword [0x55e1cc]
inc dword [eax]
mov eax, dword [0x55e1cc]
mov eax, dword [eax]
mov ecx, 0xc8
cdq
idiv ecx
test edx, edx
jne 0x5481a4
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 8]
call fcn.0047002c
mov edx, dword [ebp - 0x34]
mov eax, 0x54829c
call fcn.004047e4
test eax, eax
jg 0x548208
mov eax, dword [ebp - 0x34]
mov edx, 0x5482d8
call fcn.004045ec
je 0x548208
mov edx, dword [ebp - 0x34]
mov eax, 0x548314
call fcn.004047e4
test eax, eax
jg 0x548208
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.00548368
mov eax, dword [ebp + 0x10]
push eax
push edi
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.00547f9c
mov dword [ebp - 0x10], 0x3e8
inc dword [ebp - 0x30]
dec ebx
jne 0x54807c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x548262
lea eax, [ebp - 0x248]
call fcn.004041e0
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00404204
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
inc ecx
mov edx, dword [0x4010c8]
call fcn.00404cb4
lea eax, [ebp - 4]
call fcn.004041e0
ret