Function at 0x10006de5
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x10026351
call fcn.100255f0
sub esp, 0x3ec
push ebx
mov ebx, ecx
push esi
push edi
and byte [ebx + 4], 0
and dword [ebx + 8], 0
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x60], ebx
mov edi, dword [ebp + 8]
and dword [ebp - 4], 0
lea esi, [ebx + 0xc]
push dword [edi]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
push dword [edi]
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [esi], eax
and dword [ebx + 0x10], 0
lea ecx, [ebx + 0x10]
push esi
mov byte [ebp - 4], 2
mov dword [ebx], 0x10029970
call fcn.10006179
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.100071c7
mov esi, eax
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x2c]
lea edi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop ecx
and dword [ebp - 0x34], 0
pop ecx
lea eax, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x70]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
mov dword [ebp - 0x18], eax
jge 0x10006ef1
mov al, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x2c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov esi, str.CLSID_is_not_known_in_registry
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
lea eax, [ebp - 0x18]
push 0x10037500
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.10002582
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x5c]
push eax
call fcn.10002cf0
pop ecx
lea eax, [ebp - 0x5c]
pop ecx
push eax
lea ecx, [ebp - 0xc8]
call fcn.1000254f
lea eax, [ebp - 0xc8]
push 0x1002e1f0
push eax
call sub.MSVCRT.dll__CxxThrowException
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.CLSID_
call esi
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x34]
call esi
mov edi, eax
mov dword [ebp - 0x14], edi
push edi
mov byte [ebp - 4], 5
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.1000186b
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
push str.VersionIndependentProgID
call esi
mov dword [ebp - 0x14], eax
push eax
mov byte [ebp - 4], 6
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x14]
call fcn.1000186b
push dword [ebp - 0x14]
mov byte [ebp - 4], 4
call edi
push dword [ebp - 0x34]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x1c]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
xor ecx, ecx
mov dword [ebp - 0x18], eax
cmp eax, ecx
je 0x10006ff3
mov al, byte [ebp + 0xb]
push ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x2c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov esi, str.Module_has_not_been_correctly_registered
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
lea eax, [ebp - 0x18]
push 0x10037500
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.10002582
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x5c]
push eax
call fcn.10002cf0
pop ecx
lea eax, [ebp - 0x5c]
pop ecx
push eax
lea ecx, [ebp - 0xec]
call fcn.1000254f
lea eax, [ebp - 0xec]
push 0x1002e1f0
push eax
call sub.MSVCRT.dll__CxxThrowException
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x1f0]
push eax
lea eax, [ebp - 0x38]
push eax
push ecx
push ecx
mov dword [ebp - 0x14], 0x104
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x100070ad
mov al, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x2c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov esi, str.Can_not_find_the_VersionIndependentProgID_key_from_module
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
lea eax, [ebp - 0x18]
push 0x10037500
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.10002582
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x5c]
push eax
call fcn.10002cf0
pop ecx
pop ecx
push str._in_registry
push eax
call fcn.10002cf0
pop ecx
lea eax, [ebp - 0x5c]
pop ecx
push eax
lea ecx, [ebp - 0xa4]
call fcn.1000254f
lea eax, [ebp - 0xa4]
push 0x1002e1f0
push eax
call sub.MSVCRT.dll__CxxThrowException
push dword [ebp - 0x14]
lea eax, [ebp - 0x1f0]
push eax
lea eax, [ebp - 0x3f8]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [ebp - 0x14]
add esp, 0xc
and word [ebp + eax*2 - 0x3f8], 0
lea eax, [ebp - 0x3f8]
push eax
call esi
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
lea ecx, [ebx + 0x10]
push eax
mov byte [ebp - 4], 0xa
call fcn.10006179
push dword [ebp + 8]
mov byte [ebp - 4], 8
call edi
mov ecx, ebx
call fcn.100071aa
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x1c]
call edi
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4