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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10250447
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 0x100dfa37
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x3bc]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100dfa54
sub ecx, edx
lea eax, [ebp - 0x3bc]
push esi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.1001a600
push 0x110
lea eax, [ebp - 0x1b0]
mov dword [ebp - 4], 0
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 byte [ebp - 4], 1
mov eax, dword [ebp - 0x1b0]
cmp eax, 5
jne 0x100dfdc3
push str.WinSxSx86_Microsoft.VC90.ATL_1fc8b3b9a1e18e3b_9.0.30729.6161_x_ww_92453bb7
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 0x100dfb16
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 0x100dfd2f
push str._atl90.dll
lea edx, [ebp - 0x40]
call fcn.1001e9d0
push eax
mov byte [ebp - 4], 2
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 0x100e00aa
push str.WinSxSx86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.6161_x_ww_31a54e43
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], 3
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 0x100e00aa
push str.msvcp90.dll
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
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 0x100e00aa
push str.msvcr90.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 0x100e00aa
push str.WinSxSx86_Microsoft.VC90.MFC_1fc8b3b9a1e18e3b_9.0.30729.6161_x_ww_028bc148
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], 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 0x100e00aa
push str.mfc90u.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 0x100e00aa
push str.mfcm90.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 0x100e00aa
push str.mfcm90u.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]
call fcn.1001a5a0
cmp byte [ebp - 0xd], 0
jne 0x100e00b3
mov byte [ebp - 0xd], 0
jmp 0x100e0153
push str.WinSxS_
lea edx, [ebp - 0x58]
call fcn.1001e9d0
add esp, 4
push str.x86_Microsoft.VC90.MFC_1fc8b3b9a1e18e3b_9.0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xa
call fcn.1001a2f0
push str.x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xb
call fcn.1001a2f0
push str.x86_Microsoft.VC90.ATL_1fc8b3b9a1e18e3b_9.0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xc
call fcn.1001a2f0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0xa0]
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 - 0xa0]
call fcn.1001a5a0
lea ecx, [ebp - 0x70]
call fcn.1001a5a0
lea ecx, [ebp - 0x28]
jmp 0x100e014e
cmp eax, 0xa
jne 0x100dfe5f
cmp dword [ebp - 0x1a8], 0x55f0
jb 0x100dfe5f
push str.WinSxSFusionx86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_none_ea33c8f0b247cd779.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 0x100e00b3
push str.WinSxSFusionx86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_none_ea33c8f0b247cd779.0_
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x70]
call fcn.1001e9d0
add esp, 4
push str.9.0.
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xe
call fcn.1001a2f0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x70]
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 - 0x28]
call fcn.1001a5a0
lea ecx, [ebp - 0x70]
jmp 0x100e014e
push str.WinSxSx86_microsoft.vc90.atl_1fc8b3b9a1e18e3b_9.0.30729.6161_none_51cd0a7abbe4e19b
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 0x100dfea6
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 0x100e00bc
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 0x100e00aa
push str.WinSxSx86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57
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 0x100e00aa
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 0x100e00aa
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 0x100e00aa
push str.WinSxSx86_microsoft.vc90.mfc_1fc8b3b9a1e18e3b_9.0.30729.6161_none_4bf7e3e2bf9ada4c
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 0x100e00aa
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 0x100e00aa
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 0x100e00aa
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 0x100e00b3
mov byte [ebp - 0xd], 0
jmp 0x100e0153
mov byte [ebp - 0xd], 1
jmp 0x100e0153
push str.WinSxS_
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x88]
call fcn.1001e9d0
add esp, 4
push str.x86_Microsoft.VC90.MFC_1fc8b3b9a1e18e3b_9.0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x18
call fcn.1001a2f0
push str.x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x19
call fcn.1001a2f0
push str.x86_Microsoft.VC90.ATL_1fc8b3b9a1e18e3b_9.0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x1a
call fcn.1001a2f0
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x88]
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 - 0x70]
call fcn.1001a5a0
lea ecx, [ebp - 0xa0]
call fcn.1001a5a0
lea ecx, [ebp - 0x88]
call fcn.1001a5a0
lea ecx, [ebp - 0x40]
call fcn.1001a5a0
lea ecx, [ebp - 0x58]
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