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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push 0x100af40
mov dword [esi], ebx
push SysStringLen
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov dword [edi], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1083918
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x1083918
mov eax, dword [ebp - 0xc]
inc dword [ebp - 8]
imul eax, eax, 0x10c
push eax
call sub.msvcrt.dll_malloc
cmp eax, ebx
pop ecx
mov dword [esi], eax
je 0x1083918
mov eax, dword [ebp - 0xc]
push dword [ebp - 8]
mov dword [edi], eax
call sub.msvcrt.dll_malloc
cmp dword [ebp - 0xc], ebx
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp + 0xc], ebx
jbe 0x1083918
xor edi, edi
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [esi]
mov dword [ebp - 0x14], 0x104
mov dword [eax + edi + 0x104], ebx
mov eax, dword [esi]
mov dword [eax + edi + 0x108], ebx
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp dword [ebp + 0x10], ebx
je 0x1083829
push dword [ebp - 0x10]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1083903
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
mov eax, dword [esi]
jne 0x1083900
mov dword [eax + edi + 0x108], 1
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
push ebx
push 0x1010d0c
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10838f5
cmp dword [ebp + 0x10], ebx
je 0x1083892
mov eax, dword [esi]
push dword [ebp + 0x10]
add eax, edi
push eax
call sub.msvcrt.dll_strstr
test eax, eax
pop ecx
pop ecx
je 0x1083892
mov eax, dword [esi]
mov dword [eax + edi + 0x108], ebx
jmp 0x10838f5
inc dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push 0x102a310
push dword [ebp + 8]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10838cd
cmp dword [ebp - 0x18], ebx
jne 0x10838f5
mov eax, dword [esi]
mov dword [eax + edi + 0x104], 1
cmp dword [ebp - 0x18], ebx
jne 0x10838f5
push ebx
push ebx
push ebx
push ebx
push 0x100ae94
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10838f5
mov eax, dword [esi]
mov dword [eax + edi + 0x104], 1
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1083903
mov byte [edi + eax], bl
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
add edi, 0x10c
cmp eax, dword [ebp - 0xc]
jb 0x10837d7
cmp dword [ebp - 4], ebx
pop edi
pop esi
pop ebx
je 0x1083929
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x1c]
leave
ret 0xc