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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1024ff70
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 0x100dd847
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 0x100dd8a2
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 0x100dd97a
cmp dword [ebp - 0x1a8], 0x55f0
jb 0x100dd971
push str.WinSxSFusion_amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_none_a28692199dcba4719.09.0.30729.6161msvcp90.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 0x100dded8
push str.WinSxSFusion_amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_none_a28692199dcba4719.0_
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x88]
call fcn.1001e9d0
add esp, 4
push str.9.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::FindOtherVersionVC2008FileByWin11_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 0x100ddf73
cmp dword [ebp - 0x1ac], 0
jmp 0x100dd98a
cmp eax, 6
jne 0x100ddc84
cmp dword [ebp - 0x1ac], 1
jne 0x100ddc84
push str.WinSxS_amd64_microsoft.vc90.atl_1fc8b3b9a1e18e3b_9.0.30729.6161_none_0a1fd3a3a768b895
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 0x100dd9d7
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 0x100ddbf0
push str.ATL90.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 0x100ddecf
push str.WinSxS_amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_08e61857a83bc251
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.msvcm90.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 0x100ddecf
push str.msvcp90.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 0x100ddecf
push str.msvcr90.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 0x100ddecf
push str.WinSxS_amd64_microsoft.vc90.mfc_1fc8b3b9a1e18e3b_9.0.30729.6161_none_044aad0bab1eb146
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.mfc90.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 0x100ddecf
push str.mfc90u.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 0x100ddecf
push str.mfcm90.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 0x100ddecf
push str.mfcm90u.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 0x100dded8
mov byte [ebp - 0xd], 0
jmp 0x100ddf78
push str.WinSxS_
lea edx, [ebp - 0x58]
call fcn.1001e9d0
add esp, 4
push str.amd64_Microsoft.VC90.MFC_1fc8b3b9a1e18e3b_9.0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xc
call fcn.1001a2f0
push str.amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xd
call fcn.1001a2f0
push str.amd64_Microsoft.VC90.ATL_1fc8b3b9a1e18e3b_9.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::FindOtherVersionVC2008File_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 0x100ddf73
push str.WinSxS_amd64_Microsoft.VC90.ATL_1fc8b3b9a1e18e3b_9.0.30729.6161_x_ww_c44f2197
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 0x100ddccb
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 0x100ddee1
push str.ATL90.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 0x100ddecf
push str.WinSxS_amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.6161_x_ww_63af3423
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.msvcm90.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 0x100ddecf
push str.msvcp90.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 0x100ddecf
push str.msvcr90.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 0x100ddecf
push str.WinSxS_amd64_Microsoft.VC90.MFC_1fc8b3b9a1e18e3b_9.0.30729.6161_x_ww_3495a728
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.mfc90.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 0x100ddecf
push str.mfc90u.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 0x100ddecf
push str.mfcm90.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 0x100ddecf
push str.mfcm90u.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 0x100dded8
mov byte [ebp - 0xd], 0
jmp 0x100ddf78
mov byte [ebp - 0xd], 1
jmp 0x100ddf78
push str.WinSxS_
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x70]
call fcn.1001e9d0
add esp, 4
push str.amd64_Microsoft.VC90.MFC_1fc8b3b9a1e18e3b_9.0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x18
call fcn.1001a2f0
push str.amd64_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x19
call fcn.1001a2f0
push str.amd64_Microsoft.VC90.ATL_1fc8b3b9a1e18e3b_9.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::FindOtherVersionVC2008File_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