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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20ac
call fcn.10017a00
mov eax, dword [0x10023210]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp - 0x181e]
push ecx
mov dword [ebp - 0x205c], 1
mov word [ebp - 0x1820], ax
call fcn.10014cd0
xor edx, edx
push 0x3fe
push edx
lea eax, [ebp - 0x81e]
push eax
mov word [ebp - 0x820], dx
call fcn.10014cd0
xor ecx, ecx
push 0x3fe
push ecx
lea edx, [ebp - 0xc1e]
push edx
mov word [ebp - 0xc20], cx
call fcn.10014cd0
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp - 0x101e]
push ecx
mov word [ebp - 0x1020], ax
call fcn.10014cd0
xor edx, edx
push 0x3fe
push edx
lea eax, [ebp - 0x41e]
push eax
mov word [ebp - 0x420], dx
call fcn.10014cd0
xor ecx, ecx
push 0x3fe
push ecx
lea edx, [ebp - 0x141e]
push edx
mov word [ebp - 0x1420], cx
call fcn.10014cd0
add esp, 0x48
push 0x400
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
xor eax, eax
test edi, edi
je 0x10009011
push 0x3fe
push eax
lea ecx, [ebp - 0x1c1e]
mov byte [edi], 0x22
push ecx
mov dword [ebp - 0x2070], 0x200
mov word [ebp - 0x1c20], ax
call fcn.10014cd0
add esp, 0xc
lea edx, [ebp - 0x2064]
push edx
push 0x20019
push 0
push 0x1001fc00
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000900f
push eax
mov ecx, dword [ebp - 0x2064]
push eax
push eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x2070]
push eax
push 0
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x10008a8a
cmp dword [ebp - 0x2070], 0
mov dword [ebp - 0x2060], 0
jle 0x10008a8a
mov ecx, dword [ebp - 0x2060]
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x2054]
push edx
mov edx, dword [ebp - 0x2064]
lea eax, [ebp - 0x1c20]
push eax
push ecx
push edx
mov dword [ebp - 0x2054], 0x200
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edx, dword [ebp - 0x2064]
lea eax, [ebp - 0x206c]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x1c20]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10008a71
push 0x200
push eax
lea eax, [ebp - 0x820]
push eax
mov dword [ebp - 0x2054], 0x200
call fcn.10014cd0
add esp, 0xc
lea ecx, [ebp - 0x2054]
push ecx
mov ecx, dword [ebp - 0x206c]
lea edx, [ebp - 0x820]
push edx
lea eax, [ebp - 0x2074]
push eax
push 0
push str.DisplayName
push ecx
call ebx
push 0x200
lea edx, [ebp - 0x1820]
push 0
push edx
mov dword [ebp - 0x2054], 0x200
call fcn.10014cd0
add esp, 0xc
lea eax, [ebp - 0x2054]
push eax
mov eax, dword [ebp - 0x206c]
lea ecx, [ebp - 0x1820]
push ecx
lea edx, [ebp - 0x2074]
push edx
push 0
push str.ParentKeyName
push eax
call ebx
lea ecx, [ebp - 0x820]
push ecx
call esi
test eax, eax
je 0x10008a71
push str.OperatingSystem
lea edx, [ebp - 0x1820]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10008a71
push 0x200
lea eax, [ebp - 0xc20]
push 0
push eax
mov dword [ebp - 0x2054], 0x200
call fcn.10014cd0
add esp, 0xc
lea ecx, [ebp - 0x2054]
push ecx
mov ecx, dword [ebp - 0x206c]
lea edx, [ebp - 0xc20]
push edx
lea eax, [ebp - 0x2074]
push eax
push 0
push str.Publisher
push ecx
call ebx
push 0x200
lea edx, [ebp - 0x1020]
push 0
push edx
mov dword [ebp - 0x2054], 0x200
call fcn.10014cd0
add esp, 0xc
lea eax, [ebp - 0x2054]
push eax
mov eax, dword [ebp - 0x206c]
lea ecx, [ebp - 0x1020]
push ecx
lea edx, [ebp - 0x2074]
push edx
push 0
push str.DisplayVersion
push eax
call ebx
push 0x200
lea ecx, [ebp - 0x420]
push 0
push ecx
mov dword [ebp - 0x2054], 0x200
call fcn.10014cd0
add esp, 0xc
lea edx, [ebp - 0x2054]
push edx
mov edx, dword [ebp - 0x206c]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x2074]
push ecx
push 0
push str.InstallDate
push edx
call ebx
test eax, eax
je 0x100088d4
mov ecx, dword [ebp - 0x206c]
lea eax, [ebp - 0x207c]
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_RegQueryInfoKeyW]
lea edx, [ebp - 0x2030]
push edx
lea eax, [ebp - 0x207c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea ecx, [ebp - 0x2040]
push ecx
lea edx, [ebp - 0x2030]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp - 0x201e]
push ecx
mov word [ebp - 0x2020], ax
call fcn.10014cd0
movzx edx, word [ebp - 0x203a]
movzx eax, word [ebp - 0x203e]
movzx ecx, word [ebp - 0x2040]
push edx
push eax
push ecx
lea edx, [ebp - 0x2020]
push str._d_02d_02d
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
lea eax, [ebp - 0x2020]
push eax
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x200
lea edx, [ebp - 0x1420]
push 0
push edx
mov dword [ebp - 0x2054], 0x200
call fcn.10014cd0
add esp, 0xc
lea eax, [ebp - 0x2054]
push eax
mov eax, dword [ebp - 0x206c]
lea ecx, [ebp - 0x1420]
push ecx
lea edx, [ebp - 0x2074]
push edx
push 0
push str.UninstallString
push eax
call ebx
lea ecx, [ebp - 0x1420]
push ecx
call esi
lea edx, [ebp - 0x420]
push edx
mov ebx, eax
call esi
add ebx, eax
lea eax, [ebp - 0x1020]
push eax
call esi
lea ecx, [ebp - 0xc20]
push ecx
add ebx, eax
call esi
lea edx, [ebp - 0x820]
push edx
add ebx, eax
call esi
add eax, ebx
mov ebx, dword [ebp - 0x205c]
lea eax, [eax + eax + 0xb]
add eax, ebx
push edi
mov dword [ebp - 0x205c], eax
call dword [sym.imp.KERNEL32.dll_LocalSize]
mov ecx, dword [ebp - 0x205c]
cmp eax, ecx
jae 0x1000897f
push 0x42
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edi, eax
lea eax, [ebp - 0x820]
push eax
call esi
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x820]
push edx
lea eax, [ebx + edi]
push eax
call fcn.10014d50
add esp, 0xc
lea ecx, [ebp - 0x820]
push ecx
call esi
lea edx, [ebp - 0xc20]
push edx
lea ebx, [ebx + eax*2 + 2]
call esi
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0xc20]
push ecx
lea edx, [ebx + edi]
push edx
call fcn.10014d50
add esp, 0xc
lea eax, [ebp - 0xc20]
push eax
call esi
lea ecx, [ebp - 0x1020]
push ecx
lea ebx, [ebx + eax*2 + 2]
call esi
lea edx, [eax + eax + 2]
push edx
lea eax, [ebp - 0x1020]
push eax
lea ecx, [ebx + edi]
push ecx
call fcn.10014d50
add esp, 0xc
lea edx, [ebp - 0x1020]
push edx
call esi
lea ebx, [ebx + eax*2 + 2]
lea eax, [ebp - 0x420]
push eax
call esi
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x420]
push edx
lea eax, [ebx + edi]
push eax
call fcn.10014d50
add esp, 0xc
lea ecx, [ebp - 0x420]
push ecx
call esi
lea edx, [ebp - 0x1420]
push edx
lea ebx, [ebx + eax*2 + 2]
call esi
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x1420]
push ecx
lea edx, [ebx + edi]
push edx
call fcn.10014d50
add esp, 0xc
lea eax, [ebp - 0x1420]
push eax
call esi
lea ecx, [ebx + eax*2 + 2]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x205c], ecx
mov eax, dword [ebp - 0x2060]
inc eax
mov dword [ebp - 0x2060], eax
cmp eax, dword [ebp - 0x2070]
jl 0x1000863d
mov edx, dword [ebp - 0x2064]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1001fbb4
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
cmp eax, ecx
je 0x10008fee
mov dword [ebp - 0x20a0], ecx
mov dword [ebp - 0x209c], ecx
mov dword [ebp - 0x2098], ecx
mov dword [ebp - 0x2094], ecx
mov dword [ebp - 0x2090], ecx
mov dword [ebp - 0x208c], ecx
mov dword [ebp - 0x2088], ecx
mov dword [ebp - 0x2084], ecx
mov dword [ebp - 0x2080], ecx
lea ecx, [ebp - 0x20a0]
push ecx
call eax
mov eax, dword [ebp - 0x20a0]
cmp ax, 6
je 0x10008b0d
cmp ax, 9
jne 0x10008fee
lea edx, [ebp - 0x2064]
push edx
push 0x20119
push 0
push 0x1001fc00
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000900f
push eax
mov ecx, dword [ebp - 0x2064]
push eax
push eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x2070]
push eax
push 0
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x10008fe1
mov dword [ebp - 0x2078], eax
cmp dword [ebp - 0x2070], eax
jle 0x10008fe1
mov ecx, dword [ebp - 0x2078]
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x2058]
push edx
mov edx, dword [ebp - 0x2064]
lea eax, [ebp - 0x1c20]
push eax
push ecx
push edx
mov dword [ebp - 0x2058], 0x200
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edx, dword [ebp - 0x2064]
lea eax, [ebp - 0x2068]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x1c20]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10008fc8
push 0x200
push eax
lea eax, [ebp - 0x820]
push eax
mov dword [ebp - 0x2058], 0x200
call fcn.10014cd0
add esp, 0xc
lea ecx, [ebp - 0x2058]
push ecx
mov ecx, dword [ebp - 0x2068]
lea edx, [ebp - 0x820]
push edx
lea eax, [ebp - 0x2060]
push eax
push 0
push str.DisplayName
push ecx
call ebx
push 0x200
lea edx, [ebp - 0x1820]
push 0
push edx
mov dword [ebp - 0x2058], 0x200
call fcn.10014cd0
add esp, 0xc
lea eax, [ebp - 0x2058]
push eax
mov eax, dword [ebp - 0x2068]
lea ecx, [ebp - 0x1820]
push ecx
lea edx, [ebp - 0x2060]
push edx
push 0
push str.ParentKeyName
push eax
call ebx
lea ecx, [ebp - 0x820]
push ecx
call esi
test eax, eax
je 0x10008fc8
push str.OperatingSystem
lea edx, [ebp - 0x1820]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10008fc8
push 0x200
lea eax, [ebp - 0xc20]
push 0
push eax
mov dword [ebp - 0x2058], 0x200
call fcn.10014cd0
add esp, 0xc
lea ecx, [ebp - 0x2058]
push ecx
mov ecx, dword [ebp - 0x2068]
lea edx, [ebp - 0xc20]
push edx
lea eax, [ebp - 0x2060]
push eax
push 0
push str.Publisher
push ecx
call ebx
push 0x200
lea edx, [ebp - 0x1020]
push 0
push edx
mov dword [ebp - 0x2058], 0x200
call fcn.10014cd0
add esp, 0xc
lea eax, [ebp - 0x2058]
push eax
mov eax, dword [ebp - 0x2068]
lea ecx, [ebp - 0x1020]
push ecx
lea edx, [ebp - 0x2060]
push edx
push 0
push str.DisplayVersion
push eax
call ebx
push 0x200
lea ecx, [ebp - 0x420]
push 0
push ecx
mov dword [ebp - 0x2058], 0x200
call fcn.10014cd0
add esp, 0xc
lea edx, [ebp - 0x2058]
push edx
mov edx, dword [ebp - 0x2068]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x2060]
push ecx
push 0
push str.InstallDate
push edx
call ebx
test eax, eax
jne 0x10008dac
push 5
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x203c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 3
lea edx, [ebp - 0x418]
push edx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 3
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x203c]
push edx
push str._s__s__s
lea eax, [ebp - 0x420]
push eax
jmp 0x10008e22
mov edx, dword [ebp - 0x2068]
lea ecx, [ebp - 0x20a8]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
lea eax, [ebp - 0x2050]
push eax
lea ecx, [ebp - 0x20a8]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea edx, [ebp - 0x2030]
push edx
lea eax, [ebp - 0x2050]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
movzx ecx, word [ebp - 0x202a]
movzx edx, word [ebp - 0x202e]
movzx eax, word [ebp - 0x2030]
push ecx
push edx
push eax
push str._d__02d__02d
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
push 0x200
lea edx, [ebp - 0x1420]
push 0
push edx
mov dword [ebp - 0x2058], 0x200
call fcn.10014cd0
add esp, 0xc
lea eax, [ebp - 0x2058]
push eax
mov eax, dword [ebp - 0x2068]
lea ecx, [ebp - 0x1420]
push ecx
lea edx, [ebp - 0x2060]
push edx
push 0
push str.UninstallString
push eax
call ebx
lea ecx, [ebp - 0x1420]
push ecx
call esi
lea edx, [ebp - 0x420]
push edx
mov ebx, eax
call esi
add ebx, eax
lea eax, [ebp - 0x1020]
push eax
call esi
lea ecx, [ebp - 0xc20]
push ecx
add ebx, eax
call esi
lea edx, [ebp - 0x820]
push edx
add ebx, eax
call esi
add eax, ebx
mov ebx, dword [ebp - 0x205c]
lea eax, [eax + eax + 0xb]
add eax, ebx
push edi
mov dword [ebp - 0x205c], eax
call dword [sym.imp.KERNEL32.dll_LocalSize]
mov ecx, dword [ebp - 0x205c]
cmp eax, ecx
jae 0x10008ed6
push 0x42
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edi, eax
lea eax, [ebp - 0x820]
push eax
call esi
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x820]
push edx
lea eax, [ebx + edi]
push eax
call fcn.10014d50
add esp, 0xc
lea ecx, [ebp - 0x820]
push ecx
call esi
lea edx, [ebp - 0xc20]
push edx
lea ebx, [ebx + eax*2 + 2]
call esi
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0xc20]
push ecx
lea edx, [ebx + edi]
push edx
call fcn.10014d50
add esp, 0xc
lea eax, [ebp - 0xc20]
push eax
call esi
lea ecx, [ebp - 0x1020]
push ecx
lea ebx, [ebx + eax*2 + 2]
call esi
lea edx, [eax + eax + 2]
push edx
lea eax, [ebp - 0x1020]
push eax
lea ecx, [ebx + edi]
push ecx
call fcn.10014d50
add esp, 0xc
lea edx, [ebp - 0x1020]
push edx
call esi
lea ebx, [ebx + eax*2 + 2]
lea eax, [ebp - 0x420]
push eax
call esi
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x420]
push edx
lea eax, [ebx + edi]
push eax
call fcn.10014d50
add esp, 0xc
lea ecx, [ebp - 0x420]
push ecx
call esi
lea edx, [ebp - 0x1420]
push edx
lea ebx, [ebx + eax*2 + 2]
call esi
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x1420]
push ecx
lea edx, [ebx + edi]
push edx
call fcn.10014d50
add esp, 0xc
lea eax, [ebp - 0x1420]
push eax
call esi
lea ecx, [ebx + eax*2 + 2]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x205c], ecx
mov eax, dword [ebp - 0x2078]
inc eax
mov dword [ebp - 0x2078], eax
cmp eax, dword [ebp - 0x2070]
jl 0x10008b6e
mov edx, dword [ebp - 0x2064]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x205c]
push 0x42
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000ee72
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000ee72
mov esp, ebp
pop ebp
ret