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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdac
push ebx
push esi
push edi
xor ebx, 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 + 0xc]
mov eax, dword [ebp - 0xc]
call fcn.00404690
mov eax, dword [ebp + 0x18]
call fcn.00404690
mov eax, dword [ebp + 0x14]
call fcn.00404690
xor eax, eax
push ebp
push 0x551635
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00492c68
test al, al
je 0x551387
mov edi, 0x20119
jmp 0x55138c
mov edi, 0x20019
cmp byte [ebp + 8], 0
je 0x5513a4
mov edi, 0x20019
call fcn.00492c68
test al, al
je 0x5515f5
lea eax, [ebp - 0x10]
push eax
push edi
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 0x5515ec
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 0x5515ec
inc edi
mov dword [ebp - 0x34], 0
mov eax, dword [0x55e354]
cmp byte [eax], 1
je 0x5515ec
mov eax, dword [0x55e810]
mov eax, dword [eax]
call fcn.0048fe70
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 0x55147d
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, 0x551650
call fcn.00409e10
jmp 0x5514c4
push dword [ebp - 0xc]
push 0x55165c
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, 0x551650
call fcn.00409e10
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, 0x551650
call fcn.00409e10
inc dword [0xbd356c]
mov eax, dword [0xbd356c]
mov ecx, 0xc8
cdq
idiv ecx
test edx, edx
jne 0x55150e
mov edx, dword [ebp - 0x38]
mov eax, esi
call fcn.0047002c
mov eax, dword [0xbd3564]
mov eax, dword [eax + 0x460]
mov edx, 0x551668
call fcn.004045ec
jne 0x55153a
mov edx, dword [ebp - 0x38]
mov eax, 0x551674
call fcn.004047e4
test eax, eax
jg 0x5515e2
mov eax, dword [ebp - 0x38]
mov edx, 0x5516b0
call fcn.004045ec
je 0x5515e2
test ebx, ebx
jle 0x5515a1
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 - 0x250]
mov eax, dword [ebp - 0x40]
call fcn.00408624
mov eax, dword [ebp - 0x250]
push eax
lea edx, [ebp - 0x254]
mov eax, 0x5516ec
call fcn.00408624
mov eax, dword [ebp - 0x254]
pop edx
call fcn.004047e4
mov ebx, eax
test ebx, ebx
jg 0x5515e2
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
push esi
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00553c48
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
push esi
mov al, byte [ebp + 8]
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0055131c
mov dword [ebp - 0x14], 0x3e8
inc dword [ebp - 0x34]
dec edi
jne 0x551412
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 0x55163c
lea eax, [ebp - 0x254]
mov edx, 3
call fcn.00404204
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00404204
lea eax, [ebp - 0xc]
call fcn.004041e0
lea eax, [ebp + 0x14]
mov edx, 2
call fcn.00404204
ret