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

Disassembly:
push 0xffffffffffffffff
push 0x1003fb31
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x330
mov eax, dword [0x1004caec]
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 reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x350], ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x1002b4dd
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 0x1002b4c9
mov edx, dword [0x10060b24]
mov ecx, 0x10060b24
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 0x10044e9c
push edx
mov byte [esp + 0x358], 1
call fcn.10007645
add esp, 0x10
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
push 0x20019
push ebx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x35c], 2
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x1002b460
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.1000d356
cmp eax, ebx
jne 0x1002b42b
mov eax, dword [esp + 0x350]
push 1
push eax
lea ecx, [esp + 0x144]
push ecx
call fcn.100161c6
add esp, 0xc
test al, al
jne 0x1002b479
cmp ebp, ebx
je 0x1002b436
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 0x1002b457
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
inc dword [esp + 0x18]
jmp 0x1002b340
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 0x1002b44d
lea eax, [esp + 0x34]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1002b480
mov ecx, dword [esp + 0x354]
sub eax, edx
push eax
lea eax, [esp + 0x38]
push eax
call fcn.10003ae1
xor edi, edi
cmp ebp, ebx
je 0x1002b4a8
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 0x1002b4c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x1002b4d8
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.10030334
add esp, 0x33c
ret