Function at 0x557330
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 0x55762a
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00492c68
test al, al
je 0x55738e
mov ebx, 0x20119
jmp 0x557393
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 0x5575e6
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 0x5575e6
inc ebx
mov dword [ebp - 0x2c], 0
mov eax, dword [0x55e354]
cmp byte [eax], 1
je 0x5575e6
mov eax, dword [0x55e810]
mov eax, dword [eax]
call fcn.0048fe70
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, 0x557644
call fcn.00409e10
cmp dword [ebp - 4], 0
jne 0x557492
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, 0x557644
call fcn.00409e10
jmp 0x5574d9
push dword [ebp - 4]
push 0x557650
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, 0x557644
call fcn.00409e10
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, 0x557644
call fcn.00409e10
inc dword [0xbd356c]
mov eax, dword [0xbd356c]
mov ecx, 0xc8
cdq
idiv ecx
test edx, edx
jne 0x557524
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp + 8]
call fcn.0047002c
mov eax, dword [0xbd3564]
mov eax, dword [eax + 0x460]
mov edx, 0x55765c
call fcn.004045ec
jne 0x557550
mov edx, dword [ebp - 0x30]
mov eax, 0x557668
call fcn.004047e4
test eax, eax
jg 0x5575dc
mov eax, dword [ebp - 0x30]
mov edx, 0x5576a4
call fcn.004045ec
je 0x5575dc
mov edx, dword [ebp - 0x30]
mov eax, 0x5576e0
call fcn.004047e4
test eax, eax
jg 0x5575dc
lea edx, [ebp - 0x248]
mov eax, dword [ebp - 0x30]
call fcn.00408624
mov eax, dword [ebp - 0x248]
push eax
lea edx, [ebp - 0x24c]
mov eax, 0x55773c
call fcn.00408624
mov eax, dword [ebp - 0x24c]
pop edx
call fcn.004047e4
test eax, eax
jg 0x5575dc
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.00557748
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.00557330
mov dword [ebp - 0xc], 0x3e8
inc dword [ebp - 0x2c]
dec ebx
jne 0x5573fe
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 0x557631
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