Function at 0x100c9110
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024ec8d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x204
xor eax, eax
mov dword [ebp - 0x64], 0
push esi
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], 7
mov word [ebp - 0xf4], ax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], eax
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0xbc]
push esi
mov byte [ebp - 4], 1
call fcn.1001a380
xor eax, eax
mov byte [ebp - 4], 2
cmp dword [esi + 0x10], eax
jne 0x100c919c
mov esi, dword [ebp + 8]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x100c9627
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
mov eax, dword [0x103213c4]
test eax, eax
jne 0x100c9210
push 0x118
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x210], 0x11c
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100c93e0
mov eax, dword [ebp - 0x20c]
mov dword [0x103213c4], eax
cmp eax, 6
jb 0x100c93e0
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
mov byte [ebp - 4], 5
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x100c923b
mov eax, dword [esi]
cmp word [eax], 0x2e
lea ecx, [ebp - 0xa4]
push esi
jne 0x100c9279
call fcn.1001a380
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 6
push eax
call sym.WMCommon.dll_public:_static_void___cdecl_WM::GMStringUtils::MakeLower_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____
cmp dword [ebp - 0x90], 8
lea eax, [ebp - 0xa4]
cmovae eax, dword [ebp - 0xa4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_sUserChoice
jmp 0x100c92a8
call fcn.1001a380
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 7
push eax
call sym.WMCommon.dll_public:_static_void___cdecl_WM::GMStringUtils::MakeLower_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____
cmp dword [ebp - 0x90], 8
lea eax, [ebp - 0xa4]
cmovae eax, dword [ebp - 0xa4]
push eax
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociations_sUserChoice
lea eax, [ebp - 0xd4]
push eax
call sym.WMCommon.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_WM::GMStringUtils::FormatResult_wchar_t_const__
add esp, 0x10
lea ecx, [ebp - 0x24]
push eax
call fcn.1001a270
lea ecx, [ebp - 0xd4]
call fcn.1001a5a0
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 5
call fcn.1001a5a0
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
push 0
cmovae eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x5c]
push 0x20119
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
jne 0x100c9337
lea ecx, [ebp - 0x24]
call fcn.1001a5a0
lea ecx, [ebp - 0x3c]
call fcn.1001a5a0
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x100c9323
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x40], 0
call fcn.1001a5a0
jmp 0x100c95f1
lea eax, [ebp - 0x3c]
push eax
push str.ProgId
lea ecx, [ebp - 0x5c]
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____
test al, al
je 0x100c93a5
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x8c]
push str._s_shellopencommand
push eax
call sym.WMCommon.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_WM::GMStringUtils::FormatResult_wchar_t_const__
add esp, 0xc
mov byte [ebp - 4], 8
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
lea ecx, [ebp - 0x5c]
push 0
cmovae eax, dword [ebp - 0x8c]
push 0x20019
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
jne 0x100c93ad
lea ecx, [ebp - 0x8c]
call fcn.1001a5a0
lea ecx, [ebp - 0x24]
jmp 0x100c95dc
lea eax, [ebp - 0x3c]
push eax
push 0x10255fec
lea ecx, [ebp - 0x5c]
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____
lea ecx, [ebp - 0x8c]
test al, al
je 0x100c93a0
jmp 0x100c950a
lea ecx, [ebp - 0x24]
call fcn.1001a5a0
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
mov byte [ebp - 4], 9
lea eax, [ebp - 0xbc]
cmp dword [ebp - 0xa8], 8
lea ecx, [ebp - 0x5c]
push 0
cmovae eax, dword [ebp - 0xbc]
push 0x20019
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 0x100c950f
lea eax, [ebp - 0x24]
push eax
push 0x10255fec
lea ecx, [ebp - 0x5c]
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____
test al, al
je 0x100c950f
cmp dword [ebp - 0x14], 0
je 0x100c9492
lea edx, [ebp - 0xbc]
lea ecx, [ebp - 0x24]
call fcn.1003b690
test al, al
je 0x100c9492
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
push 0
cmovae eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x5c]
push 0x20019
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 0x100c9492
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0xbc]
call sym.WMCommon.dll_public:_class_WM::GMIniFile____thiscall_WM::GMIniFile::operator_class_WM::GMIniFile_const__
jmp 0x100c93cd
push str._shellopencommand
lea edx, [ebp - 0xbc]
lea ecx, [ebp - 0x8c]
call fcn.1001e9d0
add esp, 4
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
lea ecx, [ebp - 0x5c]
push 0
cmovae eax, dword [ebp - 0x8c]
push 0x20019
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 0x100c9504
lea eax, [ebp - 0x24]
push eax
push 0x10255fec
lea ecx, [ebp - 0x5c]
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____
lea ecx, [ebp - 0x8c]
test al, al
je 0x100c950a
cmp dword [ebp - 0x14], 0
je 0x100c950a
call fcn.1001a5a0
jmp 0x100c93cd
lea ecx, [ebp - 0x8c]
call fcn.1001a5a0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.1001a5a0
cmp dword [ebp - 0x2c], 0
je 0x100c95e1
cmp byte [ebp + 0x10], 0
lea eax, [ebp - 0x3c]
jne 0x100c9577
mov ecx, dword [ebp + 8]
push eax
call fcn.1001a2b0
lea ecx, [ebp - 0x3c]
call fcn.1001a5a0
lea ecx, [ebp - 0x5c]
call sym.WMCommon.dll_public:_void___thiscall_WM::GMRegFile::destructor_void_
lea ecx, [ebp - 0xbc]
call fcn.1001a5a0
lea ecx, [ebp - 0xf4]
call sym.WMCommon.dll_public:_void___thiscall_WM::GMRegFile::destructor_void_
lea ecx, [ebp - 0x74]
call fcn.1001a5a0
mov eax, dword [ebp + 8]
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x28], 8
lea ecx, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
cmp word [eax], 0x22
jne 0x100c95aa
push 1
push 0x22
call fcn.1001ce80
cmp eax, 0xffffffff
jne 0x100c95a4
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x74]
call sym.WMCommon.dll_public:_class_WM::GMIniFile____thiscall_WM::GMIniFile::operator_class_WM::GMIniFile_const__
jmp 0x100c95e1
dec eax
push eax
push 1
jmp 0x100c95be
push 0
push sym.WMCommon.dll_int_const__public:_static_bool___cdecl_WM::GMUtf8::ConvertFromUcs_wchar_t_const___int__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____::_2::BUF_SIZE
call fcn.1001cee0
cmp eax, 0xffffffff
je 0x100c9596
push eax
push 0
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x3c]
call fcn.1001ce30
push eax
lea ecx, [ebp - 0x74]
call fcn.1001a270
lea ecx, [ebp - 0xd4]
call fcn.1001a5a0
lea ecx, [ebp - 0x3c]
call fcn.1001a5a0
lea ecx, [ebp - 0x5c]
call sym.WMCommon.dll_public:_void___thiscall_WM::GMRegFile::destructor_void_
mov esi, dword [ebp + 8]
xor eax, eax
movups xmm0, xmmword [ebp - 0x74]
mov word [ebp - 0x74], ax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x64]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
lea ecx, [ebp - 0xbc]
call fcn.1001a5a0
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xd8], 0
call fcn.1001a5a0
lea ecx, [ebp - 0x74]
call fcn.1001a5a0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret