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

Disassembly:
sub esp, 0x77c
push ebx
push ebp
push esi
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x58d]
mov byte [esp + 0x58c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x18d]
mov byte [esp + 0x18c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x38d]
mov byte [esp + 0x38c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x48d]
mov byte [esp + 0x48c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x8d]
mov byte [esp + 0x8c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x28d]
mov byte [esp + 0x28c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x400
push 0x40
mov dword [esp + 0x18], 1
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je 0x1002f9a8
mov byte [ebx], 0x8e
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x68d]
mov byte [esp + 0x68c], 0
mov esi, 0x100
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x20]
mov dword [esp + 0x34], esi
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1002f9a8
push eax
push eax
mov edx, dword [esp + 0x28]
push eax
push eax
push eax
push eax
lea ecx, [esp + 0x4c]
push eax
push ecx
push eax
push eax
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x1002f4db
mov ecx, dword [esp + 0x34]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x24], eax
jle 0x1002f4db
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x69c]
push ecx
push edx
push eax
mov eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x30]
push ecx
push 0x20019
lea edx, [esp + 0x694]
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1002f4c6
mov ecx, 0x40
lea edi, [esp + 0x18c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18c]
push ecx
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x3c]
push edx
push eax
push 0
push str.DisplayName
push ecx
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x58c]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x58c]
push edx
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x3c]
push eax
push ecx
push 0
push str.ParentKeyName
push edx
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x18c]
push eax
call ebp
test eax, eax
je 0x1002f4c6
lea ecx, [esp + 0x58c]
push str.OperatingSystem
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x1002f4c6
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x38c]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x38c]
push edx
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x3c]
push eax
push ecx
push 0
push str.Publisher
push edx
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x48c]
lea edx, [esp + 0x38]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x48c]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push 0
push str.DisplayVersion
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x8c]
lea edx, [esp + 0x8c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
lea eax, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push 0
push str.InstallDate
push ecx
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1002f28a
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea edx, [esp + 0x8c]
push 5
lea eax, [esp + 0x1c]
push edx
push eax
call edi
lea ecx, [esp + 0x90]
push 3
lea edx, [esp + 0x2c]
push ecx
push edx
call edi
lea eax, [esp + 0x92]
push 3
lea ecx, [esp + 0x40]
push eax
push ecx
call edi
lea edx, [esp + 0x3c]
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
lea edx, [esp + 0x98]
push str._s__s__s
push edx
jmp 0x1002f2fd
lea eax, [esp + 0x44]
mov ecx, dword [esp + 0x30]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
lea edx, [esp + 0x5c]
lea eax, [esp + 0x44]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x5c]
push ecx
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
mov eax, dword [esp + 0x72]
mov ecx, dword [esp + 0x6e]
mov edx, dword [esp + 0x6c]
and eax, 0xffff
and ecx, 0xffff
push eax
and edx, 0xffff
push ecx
push edx
lea eax, [esp + 0x98]
push str._d__02d__02d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x2a0]
add esp, 0x14
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
lea edx, [esp + 0x28c]
push ecx
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x3c]
push edx
push eax
push 0
push str.UninstallString
push ecx
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x28c]
push edx
call ebp
mov esi, eax
lea eax, [esp + 0x8c]
push eax
call ebp
lea ecx, [esp + 0x48c]
add esi, eax
push ecx
call ebp
lea edx, [esp + 0x38c]
add esi, eax
push edx
call ebp
add esi, eax
lea eax, [esp + 0x18c]
push eax
call ebp
mov ecx, dword [esp + 0x10]
lea eax, [esi + eax + 6]
push ebx
lea esi, [eax + ecx]
call dword [sym.imp.KERNEL32.dll_LocalSize]
cmp eax, esi
jae 0x1002f39a
push 0x42
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov ebx, eax
lea edx, [esp + 0x18c]
push edx
call ebp
mov ecx, eax
mov eax, dword [esp + 0x10]
inc ecx
lea esi, [esp + 0x18c]
mov edx, ecx
lea edi, [eax + ebx]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x18c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x38c]
push edx
lea edi, [ecx + eax + 1]
mov dword [esp + 0x14], edi
call ebp
mov ecx, eax
lea esi, [esp + 0x38c]
inc ecx
add edi, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x38c]
push ecx
call ebp
mov edx, dword [esp + 0x10]
lea edi, [edx + eax + 1]
lea eax, [esp + 0x48c]
push eax
mov dword [esp + 0x14], edi
call ebp
mov ecx, eax
lea esi, [esp + 0x48c]
inc ecx
add edi, ebx
mov edx, ecx
lea eax, [esp + 0x48c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebp
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x8c]
push edx
lea edi, [ecx + eax + 1]
mov dword [esp + 0x14], edi
call ebp
mov ecx, eax
lea esi, [esp + 0x8c]
inc ecx
add edi, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x8c]
push ecx
call ebp
mov edx, dword [esp + 0x10]
lea edi, [edx + eax + 1]
lea eax, [esp + 0x28c]
push eax
mov dword [esp + 0x14], edi
call ebp
mov ecx, eax
inc ecx
lea esi, [esp + 0x28c]
mov edx, ecx
add edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x28c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
mov ecx, dword [esp + 0x10]
mov esi, 0x100
lea edx, [ecx + eax + 1]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x1002f0a0
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.1001c350
test eax, eax
je 0x1002f98f
lea ecx, [esp + 0x20]
push ecx
push 0x20119
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1002f9a8
push eax
push eax
push eax
push eax
push eax
push eax
lea edx, [esp + 0x4c]
push eax
push edx
push eax
push eax
push eax
mov eax, dword [esp + 0x4c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x1002f984
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
test ecx, ecx
jle 0x1002f984
push 0
push 0
push 0
lea ecx, [esp + 0x24]
push 0
lea edx, [esp + 0x69c]
push ecx
push edx
push eax
mov eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x38], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x28]
push ecx
push 0x20019
lea edx, [esp + 0x694]
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1002f96f
mov ecx, 0x40
lea edi, [esp + 0x18c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
lea edx, [esp + 0x18c]
push ecx
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x28]
push edx
push eax
push 0
push str.DisplayName
push ecx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x58c]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x58c]
push edx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x28]
push eax
push ecx
push 0
push str.ParentKeyName
push edx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x18c]
push eax
call ebp
test eax, eax
je 0x1002f96f
lea ecx, [esp + 0x58c]
push str.OperatingSystem
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x1002f96f
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x38c]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x38c]
push edx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x28]
push eax
push ecx
push 0
push str.Publisher
push edx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x48c]
lea edx, [esp + 0x24]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x48c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push 0
push str.DisplayVersion
push eax
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x8c]
lea edx, [esp + 0x8c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
lea eax, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push 0
push str.InstallDate
push ecx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1002f733
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea edx, [esp + 0x8c]
push 5
lea eax, [esp + 0x48]
push edx
push eax
call edi
lea ecx, [esp + 0x90]
push 3
lea edx, [esp + 0x50]
push ecx
push edx
call edi
lea eax, [esp + 0x92]
push 3
lea ecx, [esp + 0x58]
push eax
push ecx
call edi
lea edx, [esp + 0x54]
lea eax, [esp + 0x4c]
push edx
lea ecx, [esp + 0x48]
push eax
push ecx
lea edx, [esp + 0x98]
push str._s__s__s
push edx
jmp 0x1002f7a6
lea eax, [esp + 0x6c]
mov ecx, dword [esp + 0x28]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
lea edx, [esp + 0x7c]
lea eax, [esp + 0x6c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x7c]
push ecx
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
mov eax, dword [esp + 0x62]
mov ecx, dword [esp + 0x5e]
mov edx, dword [esp + 0x5c]
and eax, 0xffff
and ecx, 0xffff
push eax
and edx, 0xffff
push ecx
push edx
lea eax, [esp + 0x98]
push str._d__02d__02d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x2a0]
add esp, 0x14
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
lea edx, [esp + 0x28c]
push ecx
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x28]
push edx
push eax
push 0
push str.UninstallString
push ecx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x28c]
push edx
call ebp
mov esi, eax
lea eax, [esp + 0x8c]
push eax
call ebp
lea ecx, [esp + 0x48c]
add esi, eax
push ecx
call ebp
lea edx, [esp + 0x38c]
add esi, eax
push edx
call ebp
add esi, eax
lea eax, [esp + 0x18c]
push eax
call ebp
mov ecx, dword [esp + 0x10]
lea eax, [esi + eax + 6]
push ebx
lea esi, [eax + ecx]
call dword [sym.imp.KERNEL32.dll_LocalSize]
cmp eax, esi
jae 0x1002f843
push 0x42
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov ebx, eax
lea edx, [esp + 0x18c]
push edx
call ebp
mov ecx, eax
mov eax, dword [esp + 0x10]
inc ecx
lea esi, [esp + 0x18c]
mov edx, ecx
lea edi, [eax + ebx]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x18c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x38c]
push edx
lea edi, [ecx + eax + 1]
mov dword [esp + 0x14], edi
call ebp
mov ecx, eax
lea esi, [esp + 0x38c]
inc ecx
add edi, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x38c]
push ecx
call ebp
mov edx, dword [esp + 0x10]
lea edi, [edx + eax + 1]
lea eax, [esp + 0x48c]
push eax
mov dword [esp + 0x14], edi
call ebp
mov ecx, eax
lea esi, [esp + 0x48c]
inc ecx
add edi, ebx
mov edx, ecx
lea eax, [esp + 0x48c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebp
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x8c]
push edx
lea edi, [ecx + eax + 1]
mov dword [esp + 0x14], edi
call ebp
mov ecx, eax
lea esi, [esp + 0x8c]
inc ecx
add edi, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x8c]
push ecx
call ebp
mov edx, dword [esp + 0x10]
lea edi, [edx + eax + 1]
lea eax, [esp + 0x28c]
push eax
mov dword [esp + 0x14], edi
call ebp
mov ecx, eax
inc ecx
lea esi, [esp + 0x28c]
mov edx, ecx
add edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x28c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
mov ecx, dword [esp + 0x10]
mov esi, 0x100
lea edx, [ecx + eax + 1]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x3c], eax
jl 0x1002f549
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10]
push 0x42
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x77c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x77c
ret