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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x258], ebx
mov dword [ebp - 0x25c], ebx
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
call fcn.00404690
mov eax, dword [ebp + 0x18]
call fcn.00404690
mov eax, dword [ebp + 0x14]
call fcn.00404690
mov eax, dword [ebp + 0x10]
call fcn.00404690
xor eax, eax
push ebp
push 0x549249
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5597ec]
cmp byte [eax], 0
je 0x548f7c
mov ebx, 0x20119
jmp 0x548f81
mov ebx, 0x20019
lea eax, [ebp - 0x10]
push eax
push ebx
push 0
mov eax, dword [ebp - 0xc]
call fcn.004046a0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x549200
push 0
push 0
lea eax, [ebp - 0x30]
push eax
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
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
mov dword [ebp - 0x14], 0x3e8
mov edi, dword [ebp - 0x1c]
dec edi
test edi, edi
jl 0x549200
inc edi
mov dword [ebp - 0x34], 0
mov eax, dword [0x559340]
cmp byte [eax], 1
je 0x549200
mov eax, dword [0x559800]
mov eax, dword [eax]
call fcn.00490fec
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x240]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegEnumKeyExA
cmp dword [ebp - 0xc], 0
jne 0x54905a
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x240]
mov dword [ebp - 0x248], eax
mov byte [ebp - 0x244], 6
lea edx, [ebp - 0x248]
xor ecx, ecx
mov eax, 0x549264
call fcn.00409e28
jmp 0x5490a1
push dword [ebp - 0xc]
push 0x549270
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x240]
mov dword [ebp - 0x248], eax
mov byte [ebp - 0x244], 6
lea edx, [ebp - 0x248]
xor ecx, ecx
mov eax, 0x549264
call fcn.00409e28
push dword [ebp - 0x24c]
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00404560
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x240]
mov dword [ebp - 0x248], eax
mov byte [ebp - 0x244], 6
lea edx, [ebp - 0x248]
xor ecx, ecx
mov eax, 0x549264
call fcn.00409e28
inc dword [0xbce4f4]
mov eax, dword [0xbce4f4]
mov ecx, 0xc8
cdq
idiv ecx
test edx, edx
jne 0x5490eb
mov edx, dword [ebp - 0x38]
mov eax, esi
call fcn.004711a8
mov eax, dword [0xbce4ec]
mov eax, dword [eax + 0x46c]
mov edx, 0x54927c
call fcn.004045ec
jne 0x549117
mov edx, dword [ebp - 0x38]
mov eax, 0x549288
call fcn.004047e4
test eax, eax
jg 0x5491f6
mov eax, dword [ebp - 0x38]
mov edx, 0x5492c4
call fcn.004045ec
je 0x5491f6
lea edx, [ebp - 0x250]
mov eax, dword [ebp - 0x38]
call fcn.0040863c
mov eax, dword [ebp - 0x250]
push eax
lea edx, [ebp - 0x254]
mov eax, 0x549300
call fcn.0040863c
mov eax, dword [ebp - 0x254]
pop edx
call fcn.004047e4
mov ebx, eax
test ebx, ebx
jle 0x5491b1
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x38]
call fcn.004044a0
mov ecx, eax
lea edx, [ebx + 0xc]
mov eax, dword [ebp - 0x38]
call fcn.00404700
lea edx, [ebp - 0x258]
mov eax, dword [ebp - 0x40]
call fcn.0040863c
mov eax, dword [ebp - 0x258]
push eax
lea edx, [ebp - 0x25c]
mov eax, 0x549300
call fcn.0040863c
mov eax, dword [ebp - 0x25c]
pop edx
call fcn.004047e4
mov ebx, eax
test ebx, ebx
jg 0x5491f6
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push esi
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0054a544
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push esi
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00548efc
mov dword [ebp - 0x14], 0x3e8
inc dword [ebp - 0x34]
dec edi
jne 0x548fef
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x549250
lea eax, [ebp - 0x25c]
mov edx, 5
call fcn.00404204
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00404204
lea eax, [ebp - 0xc]
call fcn.004041e0
lea eax, [ebp + 0x10]
mov edx, 3
call fcn.00404204
ret