Function at 0x100ddfa0
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10250069
push eax
mov dword fs:[0], esp
lea eax, [ebp - 0x3bc]
sub esp, 0x3b0
push eax
push 0
push 0
push 0x24
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x100ddfe7
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x110
lea eax, [ebp - 0x1b0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1b4], 0x114
lea eax, [ebp - 0x1b4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x3bc]
mov dword [ebp - 0x48], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100de042
sub ecx, edx
lea eax, [ebp - 0x3bc]
push esi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.1001a600
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1b0]
cmp eax, 0xa
jne 0x100de11a
cmp dword [ebp - 0x1a8], 0x55f0
jb 0x100de111
push str.WinSxSFusion_amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_none_751bbd257fdbc4228.08.0.50727.6195msvcp80.dll
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x28]
call fcn.1001e9d0
add esp, 4
lea ecx, [ebp - 0x40]
push eax
call fcn.1001a270
lea ecx, [ebp - 0x28]
call fcn.1001a5a0
lea eax, [ebp - 0x40]
push eax
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::IsExists_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 4
test al, al
jne 0x100de678
push str.WinSxSFusion_amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_none_751bbd257fdbc4228.0_
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x88]
call fcn.1001e9d0
add esp, 4
push str.8.0.
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.1001a2f0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x88]
push eax
call sym.WMCommon.dll_private:_static_bool___cdecl_WM::GMSoftwareDetect::FindOtherVersionVC2005FileByWin11_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x70]
call fcn.1001a5a0
lea ecx, [ebp - 0x88]
jmp 0x100de713
cmp dword [ebp - 0x1ac], 0
jmp 0x100de12a
cmp eax, 6
jne 0x100de424
cmp dword [ebp - 0x1ac], 1
jne 0x100de424
push str.WinSxS_amd64_microsoft.vc80.atl_1fc8b3b9a1e18e3b_8.0.50727.6195_none_8a1dd9552ed7f8d8
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x28]
call fcn.1001e9d0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x100de177
mov ecx, eax
call fcn.1001a5a0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [esi + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
movq qword [ebp - 0x30], xmm0
mov word [esi], ax
lea ecx, [ebp - 0x28]
call fcn.1001a5a0
lea eax, [ebp - 0x40]
push eax
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::IsExists_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 4
lea ecx, [ebp - 0x28]
test al, al
je 0x100de390
push str.ATL80.dll
lea edx, [ebp - 0x40]
call fcn.1001e9d0
push eax
mov byte [ebp - 4], 4
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::IsExistsFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.1001a5a0
cmp byte [ebp - 0xd], 0
je 0x100de66f
push str.WinSxS_amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6195_none_88e41e092fab0294
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x28]
call fcn.1001e9d0
add esp, 4
lea ecx, [ebp - 0x40]
push eax
call fcn.1001a270
lea ecx, [ebp - 0x28]
call fcn.1001a5a0
push str.msvcm80.dll
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.1001e9d0
push eax
mov byte [ebp - 4], 5
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::IsExistsFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.1001a5a0
cmp byte [ebp - 0xd], 0
je 0x100de66f
push str.msvcp80.dll
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.1001e9d0
push eax
mov byte [ebp - 4], 6
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::IsExistsFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.1001a5a0
cmp byte [ebp - 0xd], 0
je 0x100de66f
push str.msvcr80.dll
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.1001e9d0
push eax
mov byte [ebp - 4], 7
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::IsExistsFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.1001a5a0
cmp byte [ebp - 0xd], 0
je 0x100de66f
push str.WinSxS_amd64_microsoft.vc80.mfc_1fc8b3b9a1e18e3b_8.0.50727.6195_none_8448b2bd328df189
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x28]
call fcn.1001e9d0
add esp, 4
lea ecx, [ebp - 0x40]
push eax
call fcn.1001a270
lea ecx, [ebp - 0x28]
call fcn.1001a5a0
push str.mfc80.dll
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.1001e9d0
push eax
mov byte [ebp - 4], 8
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::IsExistsFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.1001a5a0
cmp byte [ebp - 0xd], 0
je 0x100de66f
push str.mfc80u.dll
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.1001e9d0
push eax
mov byte [ebp - 4], 9
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::IsExistsFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.1001a5a0
cmp byte [ebp - 0xd], 0
je 0x100de66f
push str.mfcm80.dll
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.1001e9d0
push eax
mov byte [ebp - 4], 0xa
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::IsExistsFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.1001a5a0
cmp byte [ebp - 0xd], 0
je 0x100de66f
push str.mfcm80u.dll
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.1001e9d0
push eax
mov byte [ebp - 4], 0xb
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::IsExistsFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x28]
call fcn.1001a5a0
cmp byte [ebp - 0xd], 0
jne 0x100de678
mov byte [ebp - 0xd], 0
jmp 0x100de718
push str.WinSxS_
lea edx, [ebp - 0x58]
call fcn.1001e9d0
add esp, 4
push str.amd64_Microsoft.VC80.MFC_1fc8b3b9a1e18e3b_8.0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xc
call fcn.1001a2f0
push str.amd64_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xd
call fcn.1001a2f0
push str.amd64_Microsoft.VC80.ATL_1fc8b3b9a1e18e3b_8.0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xe
call fcn.1001a2f0
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x28]
push eax
call sym.WMCommon.dll_private:_static_bool___cdecl_WM::GMSoftwareDetect::FindOtherVersionVC2005File_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 0x10
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x88]
call fcn.1001a5a0
lea ecx, [ebp - 0x70]
call fcn.1001a5a0
lea ecx, [ebp - 0xa0]
call fcn.1001a5a0
lea ecx, [ebp - 0x28]
jmp 0x100de713
push str.WinSxS_amd64_Microsoft.VC80.ATL_1fc8b3b9a1e18e3b_8.0.50727.6195_x_ww_d6cffeda
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x28]
call fcn.1001e9d0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x100de46b
mov ecx, eax
call fcn.1001a5a0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [esi + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
movq qword [ebp - 0x30], xmm0
mov word [esi], ax
lea ecx, [ebp - 0x28]
call fcn.1001a5a0
lea eax, [ebp - 0x40]
push eax
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::IsExists_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 4
test al, al
je 0x100de681
push str.ATL80.dll
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.1001e9d0
push eax
mov byte [ebp - 4], 0x10
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::IsExistsFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.1001a5a0
cmp byte [ebp - 0xd], 0
je 0x100de66f
push str.WinSxS_amd64_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.6195_x_ww_76301166
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x28]
call fcn.1001e9d0
add esp, 4
lea ecx, [ebp - 0x40]
push eax
call fcn.1001a270
lea ecx, [ebp - 0x28]
call fcn.1001a5a0
push str.msvcm80.dll
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.1001e9d0
push eax
mov byte [ebp - 4], 0x11
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::IsExistsFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.1001a5a0
cmp byte [ebp - 0xd], 0
je 0x100de66f
push str.msvcp80.dll
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.1001e9d0
push eax
mov byte [ebp - 4], 0x12
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::IsExistsFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.1001a5a0
cmp byte [ebp - 0xd], 0
je 0x100de66f
push str.msvcr80.dll
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.1001e9d0
push eax
mov byte [ebp - 4], 0x13
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::IsExistsFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.1001a5a0
cmp byte [ebp - 0xd], 0
je 0x100de66f
push str.WinSxS_amd64_Microsoft.VC80.MFC_1fc8b3b9a1e18e3b_8.0.50727.6195_x_ww_4716846b
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x28]
call fcn.1001e9d0
add esp, 4
lea ecx, [ebp - 0x40]
push eax
call fcn.1001a270
lea ecx, [ebp - 0x28]
call fcn.1001a5a0
push str.mfc80.dll
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.1001e9d0
push eax
mov byte [ebp - 4], 0x14
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::IsExistsFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.1001a5a0
cmp byte [ebp - 0xd], 0
je 0x100de66f
push str.mfc80u.dll
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.1001e9d0
push eax
mov byte [ebp - 4], 0x15
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::IsExistsFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.1001a5a0
cmp byte [ebp - 0xd], 0
je 0x100de66f
push str.mfcm80.dll
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.1001e9d0
push eax
mov byte [ebp - 4], 0x16
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::IsExistsFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.1001a5a0
cmp byte [ebp - 0xd], 0
je 0x100de66f
push str.mfcm80u.dll
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.1001e9d0
push eax
mov byte [ebp - 4], 0x17
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::IsExistsFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x28]
call fcn.1001a5a0
cmp byte [ebp - 0xd], 0
jne 0x100de678
mov byte [ebp - 0xd], 0
jmp 0x100de718
mov byte [ebp - 0xd], 1
jmp 0x100de718
push str.WinSxS_
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x70]
call fcn.1001e9d0
add esp, 4
push str.amd64_Microsoft.VC80.MFC_1fc8b3b9a1e18e3b_8.0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x18
call fcn.1001a2f0
push str.amd64_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x19
call fcn.1001a2f0
push str.amd64_Microsoft.VC80.ATL_1fc8b3b9a1e18e3b_8.0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x1a
call fcn.1001a2f0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
call sym.WMCommon.dll_private:_static_bool___cdecl_WM::GMSoftwareDetect::FindOtherVersionVC2005File_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 0x10
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x28]
call fcn.1001a5a0
lea ecx, [ebp - 0xa0]
call fcn.1001a5a0
lea ecx, [ebp - 0x88]
call fcn.1001a5a0
lea ecx, [ebp - 0x70]
call fcn.1001a5a0
lea ecx, [ebp - 0x58]
call fcn.1001a5a0
lea ecx, [ebp - 0x40]
call fcn.1001a5a0
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret