Function at 0x100e16b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x78
push 0xffffffffffffffff
push 0x102506ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
xor eax, eax
mov dword [ebp + 0x58], 0
push esi
mov esi, ecx
mov dword [ebp + 0x5c], 7
mov word [ebp + 0x48], ax
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], eax
push eax
push 9
push str.InstallerProducts
push accept
lea ecx, [ebp + 0x48]
mov dword [ebp - 4], eax
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMRegFile::OpenKey_struct_HKEY_____wchar_t_const___unsigned_long_int__bool_
test al, al
je 0x100e1b2f
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 0x48]
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMRegFile::EnumKeyValueName_class_std::vector_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_std::allocator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_______class_std::vector_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_std::allocator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______
test al, al
je 0x100e1b1f
xor eax, eax
mov dword [ebp - 0x40], 0
push ebx
push edi
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
xor edi, edi
mov dword [ebp + 0x74], eax
mov dword [ebp + 0x10], edi
mov dword [ebp], edi
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
push edi
push 9
push str.SoftwareMicrosoftInstallerProducts
push reloc.WS2_32.dll_accept
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 5
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMRegFile::OpenKey_struct_HKEY_____wchar_t_const___unsigned_long_int__bool_
test al, al
je 0x100e17c2
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x48]
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMRegFile::EnumKeyValueName_class_std::vector_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_std::allocator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_______class_std::vector_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_std::allocator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______
mov eax, dword [ebp + 4]
mov edi, dword [ebp]
mov dword [ebp + 0x74], eax
mov dword [ebp + 0x10], edi
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
mov ebx, dword [ebp - 0x18]
add esi, 4
sub ecx, ebx
imul ecx
mov eax, 0x2aaaaaab
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp + 0x74]
sub edx, edi
mov dword [ebp + 0x68], ecx
imul edx
push esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp + 0xc], eax
add eax, ecx
push eax
mov ecx, esi
call fcn.100497f0
cmp dword [ebp + 0x68], 0
mov dword [ebp + 0x14], 0
jbe 0x100e197e
xor edi, edi
nop dword [eax + eax]
push 0x13
xor eax, eax
mov dword [ebp + 0x28], 0
push str.InstallerProducts_
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x2c], 7
mov word [ebp + 0x18], ax
call fcn.1001a600
mov byte [ebp - 4], 6
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x100e1851
mov eax, dword [ebx]
push dword [ebx + 0x10]
lea ecx, [ebp + 0x18]
push eax
call fcn.1001a7c0
cmp dword [ebp + 0x2c], 8
lea eax, [ebp + 0x18]
push 0
cmovae eax, dword [ebp + 0x18]
lea ecx, [ebp + 0x48]
push 1
push eax
push accept
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMRegFile::OpenKey_struct_HKEY_____wchar_t_const___unsigned_long_int__bool_
test al, al
je 0x100e1959
xor eax, eax
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 7
mov word [ebp + 0x30], ax
lea eax, [ebp + 0x30]
mov byte [ebp - 4], 7
push eax
push 0x1026714c
lea ecx, [ebp + 0x48]
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMRegFile::GetValue_wchar_t_const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____
mov ecx, dword [esi]
lea eax, [ebp + 0x30]
add ecx, edi
cmp ecx, eax
je 0x100e18c7
cmp dword [ebp + 0x44], 8
push dword [ebp + 0x40]
cmovae eax, dword [ebp + 0x30]
push eax
call fcn.1001a600
lea eax, [ebp + 0x70]
mov dword [ebp + 0x6c], 4
push eax
lea eax, [ebp + 0x74]
mov dword [ebp + 0x70], 4
push eax
lea eax, [ebp + 0x6c]
mov dword [ebp + 0x74], 0
push eax
push 0
push str.Version
push dword [ebp + 0x60]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 0x64]
test eax, eax
mov dword [ebp + 0x70], 4
cmovne ecx, eax
mov dword [ebp + 0x6c], 4
mov eax, dword [ebp + 0x74]
mov dword [ebp + 0x64], ecx
mov ecx, dword [esi]
mov dword [ecx + edi + 0x1c], eax
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp + 0x74]
mov dword [ebp + 0x74], 0
push eax
lea eax, [ebp + 0x70]
push eax
push 0
push str.Language
push dword [ebp + 0x60]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 0x64]
test eax, eax
cmovne ecx, eax
mov eax, dword [ebp + 0x74]
mov dword [ebp + 0x64], ecx
mov ecx, dword [esi]
mov dword [ecx + edi + 0x18], eax
lea ecx, [ebp + 0x30]
call fcn.1001a5a0
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 5
call fcn.1001a5a0
mov eax, dword [ebp + 0x14]
add ebx, 0x18
inc eax
add edi, 0x20
mov dword [ebp + 0x14], eax
cmp eax, dword [ebp + 0x68]
jb 0x100e1820
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x100e1afe
xor ebx, ebx
test eax, eax
je 0x100e1afe
push 0x26
xor eax, eax
mov dword [ebp + 0x40], 0
push str.SoftwareMicrosoftInstallerProducts_
lea ecx, [ebp + 0x30]
mov dword [ebp + 0x44], 7
mov word [ebp + 0x30], ax
call fcn.1001a600
mov byte [ebp - 4], 8
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x100e19c4
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp + 0x30]
push eax
call fcn.1001a7c0
cmp dword [ebp + 0x44], 8
lea eax, [ebp + 0x30]
push 0
cmovae eax, dword [ebp + 0x30]
lea ecx, [ebp + 0x48]
push 1
push eax
push reloc.WS2_32.dll_accept
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMRegFile::OpenKey_struct_HKEY_____wchar_t_const___unsigned_long_int__bool_
test al, al
je 0x100e1ae5
xor eax, eax
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], 7
mov word [ebp + 0x18], ax
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 9
push eax
push 0x1026714c
lea ecx, [ebp + 0x48]
call sym.WMCommon.dll_public:_bool___thiscall_WM::GMRegFile::GetValue_wchar_t_const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____
mov ecx, dword [ebp + 0x68]
lea eax, [ebp + 0x18]
lea ecx, [ecx + ebx]
shl ecx, 5
add ecx, dword [esi]
cmp ecx, eax
je 0x100e1a41
cmp dword [ebp + 0x2c], 8
push dword [ebp + 0x28]
cmovae eax, dword [ebp + 0x18]
push eax
call fcn.1001a600
lea eax, [ebp + 0x6c]
mov dword [ebp + 0x70], 4
push eax
lea eax, [ebp + 0x74]
mov dword [ebp + 0x6c], 4
push eax
lea eax, [ebp + 0x70]
mov dword [ebp + 0x74], 0
push eax
push 0
push str.Version
push dword [ebp + 0x60]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 0x64]
test eax, eax
mov edx, dword [ebp + 0x68]
cmovne ecx, eax
mov dword [ebp + 0x70], 4
mov eax, dword [ebp + 0x74]
mov dword [ebp + 0x64], ecx
mov ecx, dword [esi]
lea edx, [edx + ebx]
shl edx, 5
mov dword [ebp + 0x6c], 4
mov dword [edx + ecx + 0x1c], eax
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp + 0x74]
mov dword [ebp + 0x74], 0
push eax
lea eax, [ebp + 0x70]
push eax
push 0
push str.Language
push dword [ebp + 0x60]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 0x64]
test eax, eax
mov edx, dword [ebp + 0x68]
cmovne ecx, eax
mov eax, dword [ebp + 0x74]
mov dword [ebp + 0x64], ecx
mov ecx, dword [esi]
lea edx, [edx + ebx]
shl edx, 5
mov dword [edx + ecx + 0x18], eax
lea ecx, [ebp + 0x18]
call fcn.1001a5a0
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 5
call fcn.1001a5a0
inc ebx
add edi, 0x18
cmp ebx, dword [ebp + 0xc]
jb 0x100e1993
lea ecx, [ebp - 0x24]
call fcn.1001d100
lea ecx, [ebp]
call fcn.1001d100
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x34], 0
call fcn.1001a5a0
pop edi
pop ebx
lea ecx, [ebp - 0x30]
call fcn.1001d100
lea ecx, [ebp - 0x18]
call fcn.1001d100
mov eax, dword [ebp + 0x60]
pop esi
test eax, eax
je 0x100e1b45
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0x60], 0
lea ecx, [ebp + 0x48]
mov dword [ebp + 0x64], 0
call fcn.1001a5a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
lea esp, [ebp + 0x78]
pop ebp
ret