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

Disassembly:
push 0xffffffffffffffff
push 0x10040c28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x14], edi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
lea ecx, [esp + 0x1c]
mov dword [esp + 0x4c], edi
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
push 0x20019
push edi
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x5c], 1
mov dword [esp + 0x38], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x1002e8c3
lea ecx, [esp + 0x14]
call fcn.10017250
mov ecx, dword [esp + 0x24]
cmp eax, edi
mov dword [esp + 0x14], ecx
je 0x1002e8fa
jmp 0x1002e8c7
mov ecx, dword [esp + 0x14]
cmp ecx, edi
je 0x1002e8d6
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x48], 0xffffffff
call fcn.10017250
jmp 0x1002ed4f
mov ebp, dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov dword [esp + 0x24], edi
push 0x101
mov dword [esp + 0x30], 0x100
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x28]
add esp, 4
lea edx, [esp + 0x38]
mov esi, eax
push edx
mov edx, dword [esp + 0x18]
push edi
push edi
lea eax, [esp + 0x38]
push edi
push eax
push esi
push ecx
push edx
mov dword [esp + 0x3c], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, edi
jne 0x1002ec9a
mov dword [esp + 0x10], edi
lea eax, [esp + 0x18]
push 0x1005460c
lea ecx, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0x54], 2
call sub.MFC42.DLL_operator
push esi
lea edx, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x54], 3
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x28]
push ecx
push 0x20019
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x5c], 4
mov dword [esp + 0x3c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x1002e9ac
lea ecx, [esp + 0x10]
call fcn.10017250
mov edx, dword [esp + 0x28]
cmp eax, edi
mov dword [esp + 0x10], edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 3
setne bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x48], 2
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x1002ec28
mov edx, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x28]
push eax
push edi
push ecx
push edi
push str.DisplayName
push edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], edi
call ebx
cmp eax, edi
jne 0x1002ec32
mov eax, dword [esp + 0x20]
inc eax
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
lea ecx, [esp + 0x20]
mov esi, eax
mov eax, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x2c]
push esi
push edx
push edi
push str.DisplayName
push eax
mov dword [esp + 0x40], edi
call ebx
cmp eax, edi
jne 0x1002ec55
push 0x29
mov ecx, 0x10056110
call fcn.1000b570
mov eax, dword [eax + 4]
cmp eax, edi
jne 0x1002ea4d
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push esi
call ebp
test eax, eax
jne 0x1002ece8
push 0x2a
mov ecx, 0x10056110
call fcn.1000b570
mov eax, dword [eax + 4]
cmp eax, edi
jne 0x1002ea71
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push esi
call ebp
test eax, eax
jne 0x1002ece8
push 0x2b
mov ecx, 0x10056110
call fcn.1000b570
mov eax, dword [eax + 4]
cmp eax, edi
jne 0x1002ea95
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push esi
call ebp
test eax, eax
jne 0x1002ece8
push 0x2c
mov ecx, 0x10056110
call fcn.1000b570
mov eax, dword [eax + 4]
cmp eax, edi
jne 0x1002eab9
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push esi
call ebp
test eax, eax
jne 0x1002ece8
push 0x2d
mov ecx, 0x10056110
call fcn.1000b570
mov eax, dword [eax + 4]
cmp eax, edi
jne 0x1002eadd
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push esi
call ebp
test eax, eax
jne 0x1002ece8
push 0x2e
mov ecx, 0x10056110
call fcn.1000b570
mov eax, dword [eax + 4]
cmp eax, edi
jne 0x1002eb01
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push esi
call ebp
test eax, eax
jne 0x1002ece8
push 0x2f
mov ecx, 0x10056110
call fcn.1000b570
mov eax, dword [eax + 4]
cmp eax, edi
jne 0x1002eb25
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push esi
call ebp
test eax, eax
jne 0x1002ece8
push 0x30
mov ecx, 0x10056110
call fcn.1000b570
mov eax, dword [eax + 4]
cmp eax, edi
jne 0x1002eb49
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push esi
call ebp
test eax, eax
jne 0x1002ece8
push 0x31
mov ecx, 0x10056110
call fcn.1000b570
mov eax, dword [eax + 4]
cmp eax, edi
jne 0x1002eb6d
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push esi
call ebp
test eax, eax
jne 0x1002ece8
push 0x32
mov ecx, 0x10056110
call fcn.1000b570
mov eax, dword [eax + 4]
cmp eax, edi
jne 0x1002eb91
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push esi
call ebp
test eax, eax
jne 0x1002ece8
push 0x33
mov ecx, 0x10056110
call fcn.1000b570
mov eax, dword [eax + 4]
cmp eax, edi
jne 0x1002ebb5
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push esi
call ebp
test eax, eax
jne 0x1002ece8
push 0x34
mov ecx, 0x10056110
call fcn.1000b570
mov eax, dword [eax + 4]
cmp eax, edi
jne 0x1002ebd9
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push esi
call ebp
test eax, eax
jne 0x1002ece8
push 0x35
mov ecx, 0x10056110
call fcn.1000b570
mov eax, dword [eax + 4]
cmp eax, edi
jne 0x1002ebfd
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push esi
call ebp
test eax, eax
jne 0x1002ece8
push esi
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x14]
add esp, 4
cmp eax, edi
mov byte [esp + 0x48], 1
je 0x1002ec7f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1002ec7f
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x1002ec45
jmp 0x1002ec3a
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x1002ec45
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], edi
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 1
call fcn.10017250
jmp 0x1002ec83
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x1002ec68
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], edi
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 1
call fcn.10017250
mov esi, dword [esp + 0x1c]
push esi
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x28]
add esp, 4
inc eax
mov dword [esp + 0x24], eax
jmp 0x1002e904
push esi
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, edi
je 0x1002ecb6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x1002ecd3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x1002ecff
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call ebx
mov dword [esp + 0x10], edi
jmp 0x1002ed05
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x1002ed14
push eax
call ebx
mov dword [esp + 0x14], edi
push esi
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x20]
push ecx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x18]
add esp, 8
cmp eax, edi
je 0x1002ed36
push eax
call ebx
mov dword [esp + 0x10], edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x1002ed4f
push eax
call ebx
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret