Function at 0x54930c
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 + 0x14]
call fcn.00404690
mov eax, dword [ebp + 0x10]
call fcn.00404690
xor eax, eax
push ebp
push 0x549649
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5597ec]
cmp byte [eax], 0
je 0x549384
mov ebx, 0x20119
jmp 0x549389
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 0x549600
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 0x549600
inc edi
mov dword [ebp - 0x34], 0
mov eax, dword [0x559340]
cmp byte [eax], 1
je 0x549600
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 0x549462
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, 0x549664
call fcn.00409e28
jmp 0x5494a9
push dword [ebp - 0xc]
push 0x549670
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, 0x549664
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, 0x549664
call fcn.00409e28
inc dword [0xbce4f4]
mov eax, dword [0xbce4f4]
mov ecx, 0xc8
cdq
idiv ecx
test edx, edx
jne 0x5494f3
mov edx, dword [ebp - 0x38]
mov eax, esi
call fcn.004711a8
mov eax, dword [0xbce4ec]
mov eax, dword [eax + 0x46c]
mov edx, 0x54967c
call fcn.004045ec
jne 0x54951f
mov edx, dword [ebp - 0x38]
mov eax, 0x549688
call fcn.004047e4
test eax, eax
jg 0x5495f6
mov eax, dword [ebp - 0x38]
mov edx, 0x5496c4
call fcn.004045ec
je 0x5495f6
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, 0x549700
call fcn.0040863c
mov eax, dword [ebp - 0x254]
pop edx
call fcn.004047e4
mov ebx, eax
test ebx, ebx
jle 0x5495b9
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, 0x549700
call fcn.0040863c
mov eax, dword [ebp - 0x25c]
pop edx
call fcn.004047e4
mov ebx, eax
test ebx, ebx
jg 0x5495f6
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.0054c208
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.0054930c
mov dword [ebp - 0x14], 0x3e8
inc dword [ebp - 0x34]
dec edi
jne 0x5493f7
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 0x549650
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, 2
call fcn.00404204
ret