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

Disassembly:
push 0xffffffffffffffff
push 0x1001aeb1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x330
mov eax, dword [0x100215e0]
mov dword [esp + 0x32c], eax
push ebx
mov ecx, dword [str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall]
lea eax, [esp + 8]
push eax
push 0x20019
xor ebx, ebx
push ebx
push ecx
push 0x80000002
mov dword [esp + 0x350], ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x10002f2d
mov edx, dword [esp + 8]
push ebp
push esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], ebx
push edi
lea esp, [esp]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x1c]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x48]
push edx
push eax
push ecx
mov dword [esp + 0x40], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov edi, eax
cmp edi, ebx
jne 0x10002f19
mov edx, dword [0x10034220]
mov ecx, 0x10034220
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov ecx, dword [str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall]
lea eax, [esp + 0x34]
push eax
push ecx
lea edx, [esp + 0x24]
push str._s_s
push edx
mov byte [esp + 0x358], 1
call fcn.10001ad4
add esp, 0x10
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
push 0x20019
push ebx
push esi
push 0x80000002
mov byte [esp + 0x35c], 2
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x10002eb0
mov ebp, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x140]
push ecx
push str.DisplayName
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x1c], 0x200
call fcn.10001777
cmp eax, ebx
jne 0x10002e7b
mov eax, dword [esp + 0x350]
push 1
push eax
lea ecx, [esp + 0x144]
push ecx
call fcn.1000a195
add esp, 0xc
test al, al
jne 0x10002ec9
cmp ebp, ebx
je 0x10002e86
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov byte [esp + 0x348], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10002ea7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
inc dword [esp + 0x18]
jmp 0x10002d90
lea eax, [esi - 0x10]
mov byte [esp + 0x348], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x10002e9d
lea eax, [esp + 0x34]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10002ed0
mov ecx, dword [esp + 0x354]
sub eax, edx
push eax
lea eax, [esp + 0x38]
push eax
call fcn.10001eb0
xor edi, edi
cmp ebp, ebx
je 0x10002ef8
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov byte [esp + 0x348], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10002f19
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x10002f28
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x334]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x330]
pop ebx
call fcn.1000e24e
add esp, 0x33c
ret