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

Disassembly:
push 0xffffffffffffffff
push 0x100bf5bc
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x100fc018]
xor eax, esp
mov dword [esp + 0x424], eax
push ebp
push esi
push edi
mov eax, dword [0x100fc018]
xor eax, esp
push eax
lea eax, [esp + 0x43c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44c]
lea ecx, [esp + 0x10]
push ecx
or eax, 0x20019
push eax
xor edi, edi
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push 0x80000002
mov dword [esp + 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x10038051
mov eax, 0x1b58
jmp 0x100381ad
mov eax, dword [esp + 0x10]
push 0x104
lea edx, [esp + 0x28]
push edx
push edi
push eax
mov dword [esp + 0x24], edi
mov ebp, 0x270f
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x100381a0
jmp 0x10038082
xor edi, edi
inc dword [esp + 0x14]
push 1
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x3c], esp
mov ecx, esi
mov dword [esp + 0x3c], esi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
mov dword [esp + 0x468], edi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov edi, ebx
mov dword [esp + 0x464], 0xffffffff
call fcn.100385b0
cmp eax, 0x270f
je 0x100380e5
cmp ebp, 0x270f
jne 0x100380e5
lea edx, [esp + 0x24]
lea ecx, [ebx + 0x810]
push edx
mov ebp, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push 0x20019
push 0
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003817e
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x230]
push ecx
push 0
push 0
push str.DisplayName
push edx
mov dword [esp + 0x38], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10038173
push 1
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x3c], esp
push eax
lea edi, [esp + 0x250]
call fcn.10039bd0
mov edi, ebx
call fcn.100385b0
cmp eax, 0x270f
je 0x10038173
cmp ebp, 0x270f
jne 0x10038173
lea ecx, [esp + 0x24]
push ecx
lea ecx, [ebx + 0x810]
mov ebp, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 0x104
lea eax, [esp + 0x28]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x10038080
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
mov ecx, dword [esp + 0x43c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x424]
xor ecx, esp
call fcn.100ba2f9
add esp, 0x438
ret 4