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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1025053d
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 0x100e01c7
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 0x100e0222
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, 5
jne 0x100e0549
push str.WinSxSx86_Microsoft.VC80.ATL_1fc8b3b9a1e18e3b_8.0.50727.6195_x_ww_a4c618fa
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 0x100e029c
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 0x100e04b5
push str.ATL80.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 0x100e0830
push str.WinSxSx86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.6195_x_ww_44262b86
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], 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 0x100e0830
push str.msvcp80.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 0x100e0830
push str.msvcr80.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 0x100e0830
push str.WinSxSx86_Microsoft.VC80.MFC_1fc8b3b9a1e18e3b_8.0.50727.6195_x_ww_150c9e8b
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], 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 0x100e0830
push str.mfc80u.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 0x100e0830
push str.mfcm80.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 0x100e0830
push str.mfcm80u.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 0x100e0839
mov byte [ebp - 0xd], 0
jmp 0x100e08d9
push str.WinSxS_
lea edx, [ebp - 0x58]
call fcn.1001e9d0
add esp, 4
push str.x86_microsoft.vc80.mfc_1fc8b3b9a1e18e3b_8.0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xa
call fcn.1001a2f0
push str.x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xb
call fcn.1001a2f0
push str.x86_microsoft.vc80.atl_1fc8b3b9a1e18e3b_8.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::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 - 0xa0]
call fcn.1001a5a0
lea ecx, [ebp - 0x70]
call fcn.1001a5a0
lea ecx, [ebp - 0x28]
jmp 0x100e08d4
cmp eax, 0xa
jne 0x100e05e5
cmp dword [ebp - 0x1a8], 0x55f0
jb 0x100e05e5
push str.WinSxSFusionx86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_none_bcc8f3fc9457ed288.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 0x100e0839
push str.WinSxSFusionx86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_none_bcc8f3fc9457ed288.0_
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x70]
call fcn.1001e9d0
add esp, 4
push str.8.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::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 - 0x28]
call fcn.1001a5a0
lea ecx, [ebp - 0x70]
jmp 0x100e08d4
push str.WinSxSx86_microsoft.vc80.atl_1fc8b3b9a1e18e3b_8.0.50727.6195_none_d1cb102c435421de
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 0x100e062c
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 0x100e0842
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 0x100e0830
push str.WinSxSx86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6195_none_d09154e044272b9a
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 0x100e0830
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 0x100e0830
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 0x100e0830
push str.WinSxSx86_microsoft.vc80.mfc_1fc8b3b9a1e18e3b_8.0.50727.6195_none_cbf5e994470a1a8f
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 0x100e0830
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 0x100e0830
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 0x100e0830
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 0x100e0839
mov byte [ebp - 0xd], 0
jmp 0x100e08d9
mov byte [ebp - 0xd], 1
jmp 0x100e08d9
push str.WinSxS_
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x88]
call fcn.1001e9d0
add esp, 4
push str.x86_microsoft.vc80.mfc_1fc8b3b9a1e18e3b_8.0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x18
call fcn.1001a2f0
push str.x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x19
call fcn.1001a2f0
push str.x86_microsoft.vc80.atl_1fc8b3b9a1e18e3b_8.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::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 - 0x70]
call fcn.1001a5a0
lea ecx, [ebp - 0xa0]
call fcn.1001a5a0
lea ecx, [ebp - 0x88]
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