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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404690
mov eax, dword [ebp + 0x10]
call fcn.00404690
xor eax, eax
push ebp
push 0x551863
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5597ec]
cmp byte [eax], 0
je 0x5515c7
mov ebx, 0x20119
jmp 0x5515cc
mov ebx, 0x20019
lea eax, [ebp - 8]
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
call fcn.004046a0
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x55181f
push 0
push 0
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
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x138]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
mov dword [ebp - 0xc], 0x3e8
mov ebx, dword [ebp - 0x14]
dec ebx
test ebx, ebx
jl 0x55181f
inc ebx
mov dword [ebp - 0x2c], 0
mov eax, dword [0x559340]
cmp byte [eax], 1
je 0x55181f
mov eax, dword [0x559800]
mov eax, dword [eax]
call fcn.00490fec
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x238]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumKeyExA
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x240], eax
mov byte [ebp - 0x23c], 6
lea edx, [ebp - 0x240]
xor ecx, ecx
mov eax, 0x55187c
call fcn.00409e28
cmp dword [ebp - 4], 0
jne 0x5516cb
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x240], eax
mov byte [ebp - 0x23c], 6
lea edx, [ebp - 0x240]
xor ecx, ecx
mov eax, 0x55187c
call fcn.00409e28
jmp 0x551712
push dword [ebp - 4]
push 0x551888
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x240], eax
mov byte [ebp - 0x23c], 6
lea edx, [ebp - 0x240]
xor ecx, ecx
mov eax, 0x55187c
call fcn.00409e28
push dword [ebp - 0x244]
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404560
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x240], eax
mov byte [ebp - 0x23c], 6
lea edx, [ebp - 0x240]
xor ecx, ecx
mov eax, 0x55187c
call fcn.00409e28
inc dword [0xbce4f4]
mov eax, dword [0xbce4f4]
mov ecx, 0xc8
cdq
idiv ecx
test edx, edx
jne 0x55175d
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp + 8]
call fcn.004711a8
mov eax, dword [0xbce4ec]
mov eax, dword [eax + 0x46c]
mov edx, 0x551894
call fcn.004045ec
jne 0x551789
mov edx, dword [ebp - 0x30]
mov eax, 0x5518a0
call fcn.004047e4
test eax, eax
jg 0x551815
mov eax, dword [ebp - 0x30]
mov edx, 0x5518dc
call fcn.004045ec
je 0x551815
mov edx, dword [ebp - 0x30]
mov eax, 0x551918
call fcn.004047e4
test eax, eax
jg 0x551815
lea edx, [ebp - 0x248]
mov eax, dword [ebp - 0x30]
call fcn.0040863c
mov eax, dword [ebp - 0x248]
push eax
lea edx, [ebp - 0x24c]
mov eax, 0x551974
call fcn.0040863c
mov eax, dword [ebp - 0x24c]
pop edx
call fcn.004047e4
test eax, eax
jg 0x551815
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x30]
mov edx, edi
mov eax, esi
call fcn.00551980
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x30]
mov edx, edi
mov eax, esi
call fcn.00551568
mov dword [ebp - 0xc], 0x3e8
inc dword [ebp - 0x2c]
dec ebx
jne 0x551637
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55186a
lea eax, [ebp - 0x24c]
mov edx, 3
call fcn.00404204
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00404204
lea eax, [ebp - 4]
call fcn.004041e0
lea eax, [ebp + 0x10]
call fcn.004041e0
ret