Function at 0x1037b07
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, 0xac
mov eax, dword [0x1099a38]
push ebx
push esi
push edi
push 0xd
pop ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push 0xd
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x98], eax
mov esi, 0x100cc6c
lea edi, [ebp - 0x6c]
rep movsd dword es:[edi], dword [esi]
pop ecx
lea eax, [ebp - 0x84]
push eax
push 0x2001f
xor ebx, ebx
push ebx
lea eax, [ebp - 0x6c]
push eax
mov esi, 0x100af40
lea edi, [ebp - 0x38]
push SysStringLen
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x7c], 0x1000
mov dword [ebp - 0x88], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1037dde
mov esi, dword [sym.imp.msvcrt.dll_malloc]
mov edi, 0x1001
push edi
call esi
cmp eax, ebx
pop ecx
mov dword [ebp - 0x70], eax
jne 0x1037ba1
push 0x100cc28
call fcn.01071aad
jmp 0x1037dd2
push edi
call esi
cmp eax, ebx
pop ecx
mov dword [ebp - 0x74], eax
jne 0x1037bbb
push 0x100cbe4
call fcn.01071aad
jmp 0x1037dc8
push edi
call esi
cmp eax, ebx
pop ecx
mov dword [ebp - 0x78], eax
jne 0x1037bd5
push 0x100cba0
call fcn.01071aad
jmp 0x1037dbe
lea eax, [ebp - 0xac]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x70]
push ebx
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x1037db4
mov eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x6c]
sub eax, ecx
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x6c]
mov cl, byte [eax]
mov edx, dword [ebp - 0xa0]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x1037c0c
mov edi, dword [ebp - 0x74]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x1037c20
mov eax, dword [ebp - 0x70]
mov esi, 0x10094ec
movsw word es:[edi], word [esi]
mov ecx, eax
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1037c34
mov edi, dword [ebp - 0x74]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x1037c43
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x80]
push eax
push 0x20019
push ebx
push dword [ebp - 0x74]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, SysStringLen
push edi
call esi
test eax, eax
jne 0x1037d7c
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xa4]
push eax
push ebx
push 0x100a3b8
push dword [ebp - 0x80]
mov dword [ebp - 0x8c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
push dword [ebp - 0x80]
jne 0x1037d76
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
shr eax, 8
cmp dword [ebp - 0x94], eax
ja 0x1037d7c
lea eax, [ebp - 0x90]
push eax
push 0x2001f
push ebx
lea eax, [ebp - 0x38]
push eax
push edi
call esi
test eax, eax
jne 0x1037d7c
mov edi, dword [ebp - 0x78]
lea eax, [ebp - 0x38]
mov edx, edi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x1037cf5
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x1037d00
mov eax, dword [ebp - 0x70]
mov esi, 0x10094ec
movsw word es:[edi], word [esi]
mov ecx, eax
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1037d14
mov edi, dword [ebp - 0x78]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x1037d23
push dword [ebp - 0x78]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.msvcrt.dll__strdup]
cmp eax, ebx
pop ecx
je 0x1037d66
push dword [ebp - 0x98]
push dword [ebp - 0x9c]
push ebx
push eax
push 0x100cb94
push SysStringLen
call fcn.010309fa
jmp 0x1037d70
push 0x100cb50
call fcn.01071aad
push dword [ebp - 0x90]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x88]
lea eax, [ebp - 0xac]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], 0x1000
push dword [ebp - 0x88]
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x1037c09
push dword [ebp - 0x78]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
push dword [ebp - 0x74]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
push dword [ebp - 0x70]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0106bc50
leave
ret 0xc