Function at 0x10108c30
Capabilities:
Check if file exists
Check os version
Get common file path
Get file version info
Get program files directory
Get startup folder

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10185660
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x508
mov eax, dword [0x101e42fc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4fc], ecx
xor eax, eax
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0x4ac], 7
mov word [ebp - 0x4c0], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x42c], 7
mov word [ebp - 0x440], ax
mov dword [ebp - 0x498], eax
mov dword [ebp - 0x494], 7
mov word [ebp - 0x4a8], ax
mov dword [ebp - 0x4c8], eax
mov dword [ebp - 0x4c4], 7
mov word [ebp - 0x4d8], ax
mov dword [ebp - 0x480], eax
mov dword [ebp - 0x47c], 7
mov word [ebp - 0x490], ax
lea ecx, [ebp - 0x4a8]
mov byte [ebp - 4], 4
call fcn.1010c6b0
lea ecx, [ebp - 0x4ec]
call fcn.100f3830
push 7
push str.UNKNOWN
lea ecx, [ebp - 0x440]
call fcn.10001c20
mov eax, dword [ebp - 0x4ec]
add eax, 0xfffffffc
cmp eax, 6
ja case.0x10108d31.7
jmp dword [eax*4 + 0x1010957c]
push 0xa
push str.Windows_10
jmp 0x10108ddf
mov eax, dword [ebp - 0x4e8]
cmp eax, 3
jne 0x10108d5b
push 0xb
push str.Windows_8.1
jmp 0x10108ddf
cmp eax, 2
jne 0x10108d69
push 9
push str.Windows_8
jmp 0x10108ddf
cmp eax, 1
jne 0x10108d77
push 9
push str.Windows_7
jmp 0x10108ddf
test eax, eax
jne 0x10108dea
push 0xd
push str.Windows_Vista
jmp 0x10108ddf
mov eax, dword [ebp - 0x4e8]
cmp eax, 2
je 0x10108da1
cmp eax, 1
je 0x10108da1
test eax, eax
jne 0x10108dea
push 0xc
push str.Windows_2000
jmp 0x10108ddf
push 0xa
push str.Windows_XP
jmp 0x10108ddf
mov eax, dword [ebp - 0x4e8]
cmp eax, 0x5a
jne 0x10108dbe
push 0xa
push str.Windows_ME
jmp 0x10108ddf
cmp eax, 0xa
jne 0x10108dcb
push eax
push str.Windows_98
jmp 0x10108ddf
test eax, eax
jne 0x10108dea
push 0xa
push str.Windows_95
jmp 0x10108ddf
push 7
push str.UNKNOWN
lea ecx, [ebp - 0x440]
call fcn.10001c20
lea edx, [ebp - 0x4c0]
lea ecx, [ebp - 0x4ec]
call fcn.100fa7e0
lea ecx, [ebp - 0x500]
call fcn.100f37a0
mov edx, dword [ebp - 0x500]
lea ecx, [ebp - 0x460]
call fcn.100fae60
lea ecx, [ebp - 0x460]
call fcn.10001bc0
xor eax, eax
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 7
mov word [ebp - 0x478], ax
xor edi, edi
mov dword [ebp - 0x44c], 7
mov dword [ebp - 0x450], edi
mov word [ebp - 0x460], ax
push edi
push 0x26
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 6
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x10108eb4
lea ecx, [ebp - 0x428]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10108e80
sub ecx, edx
lea eax, [ebp - 0x428]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x478]
call fcn.10001c20
push 0x1b
push str.AdobeAdobe_Creative_Cloud
lea ecx, [ebp - 0x478]
call fcn.10001d30
push 0x16
xor eax, eax
mov dword [ebp - 0x4e8], 0
push 0x101cadc4
lea ecx, [ebp - 0x4f8]
mov dword [ebp - 0x4e4], 7
mov word [ebp - 0x4f8], ax
call fcn.10001c20
push 0
lea eax, [ebp - 0x4f8]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x478]
push eax
call fcn.100e1150
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4f8]
call fcn.10001bc0
cmp dword [ebp - 0x464], 8
lea eax, [ebp - 0x478]
cmovae eax, dword [ebp - 0x478]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1010911b
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebp - 0x4f8]
call fcn.10004390
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x444]
cmp dword [ebp - 0x4e4], 8
lea eax, [ebp - 0x4f8]
push ecx
cmovae eax, dword [ebp - 0x4f8]
push eax
mov byte [ebp - 0x4dd], 0
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x4dc], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
push 0x208
mov esi, eax
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.10150b00
add esp, 0xc
test esi, esi
je 0x10109088
push esi
call fcn.1014d543
add esp, 4
lea ecx, [ebp - 0x4f8]
cmp dword [ebp - 0x4e4], 8
mov edi, eax
cmovae ecx, dword [ebp - 0x4f8]
push edi
push esi
push dword [ebp - 0x444]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x10109079
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x4dc]
push eax
push 0x101a4ae8
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x10109079
cmp dword [ebp - 0x448], 0
je 0x10109079
mov eax, dword [ebp - 0x4dc]
cmp dword [eax], 0xfeef04bd
jne 0x10109079
movzx esi, word [eax + 0xa]
movzx edx, word [eax + 8]
movzx ecx, word [eax + 0xe]
movzx eax, word [eax + 0xc]
push eax
push ecx
push edx
push esi
push str._d._d._d._d
lea eax, [ebp - 0x220]
push 0x104
push eax
call fcn.100dfbb0
lea ecx, [ebp - 0x220]
add esp, 0x1c
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10109050
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x460]
call fcn.10001c20
mov byte [ebp - 0x4dd], 1
push edi
call fcn.1014d1e6
mov edi, dword [ebp - 0x450]
add esp, 4
lea ecx, [ebp - 0x4f8]
mov byte [ebp - 4], 6
call fcn.10001bc0
cmp byte [ebp - 0x4dd], 0
je 0x1010911b
push 0xd
xor eax, eax
mov dword [ebp - 0x4e8], 0
push str.ACC_Version:
lea ecx, [ebp - 0x4f8]
mov dword [ebp - 0x4e4], 7
mov word [ebp - 0x4f8], ax
call fcn.10001c20
mov ecx, dword [ebp - 0x4fc]
lea eax, [ebp - 0x4f8]
push eax
mov byte [ebp - 4], 9
lea ecx, [ecx + 0xac]
call fcn.1000a240
lea ecx, [ebp - 0x460]
cmp eax, ecx
je 0x1010910c
cmp dword [ebp - 0x44c], 8
push edi
cmovae ecx, dword [ebp - 0x460]
push ecx
mov ecx, eax
call fcn.10001c20
lea ecx, [ebp - 0x4f8]
mov byte [ebp - 4], 6
call fcn.10001bc0
mov edi, dword [ebp - 0x4fc]
push 0x4e
push 0x101cadf8
lea ecx, [edi + 0x94]
call fcn.10001c20
push 9
xor eax, eax
mov dword [ebp - 0x4e8], 0
push str.OS_Name:
lea ecx, [ebp - 0x4f8]
mov dword [ebp - 0x4e4], 7
mov word [ebp - 0x4f8], ax
call fcn.10001c20
mov byte [ebp - 4], 0xa
lea esi, [ebp - 0x440]
cmp dword [ebp - 0x42c], 8
lea eax, [ebp - 0x4f8]
push eax
cmovae esi, dword [ebp - 0x440]
add edi, 0xac
mov ecx, edi
call fcn.1000a240
mov edx, esi
lea ecx, [edx + 2]
mov dword [ebp - 0x4dc], ecx
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x101091a0
sub edx, dword [ebp - 0x4dc]
mov ecx, eax
sar edx, 1
push edx
push esi
call fcn.10001c20
lea ecx, [ebp - 0x4f8]
mov byte [ebp - 4], 6
call fcn.10001bc0
push 0xc
xor eax, eax
mov dword [ebp - 0x4e8], 0
push str.OS_Version:
lea ecx, [ebp - 0x4f8]
mov dword [ebp - 0x4e4], 7
mov word [ebp - 0x4f8], ax
call fcn.10001c20
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x4f8]
cmp dword [ebp - 0x4ac], 8
lea esi, [ebp - 0x4c0]
push eax
cmovae esi, dword [ebp - 0x4c0]
mov ecx, edi
call fcn.1000a240
mov edx, esi
lea ecx, [edx + 2]
mov dword [ebp - 0x4dc], ecx
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x10109230
sub edx, dword [ebp - 0x4dc]
mov ecx, eax
sar edx, 1
push edx
push esi
call fcn.10001c20
lea ecx, [ebp - 0x4f8]
mov byte [ebp - 4], 6
call fcn.10001bc0
push 0xb
xor eax, eax
mov dword [ebp - 0x4e8], 0
push str.OS_Locale:
lea ecx, [ebp - 0x4f8]
mov dword [ebp - 0x4e4], 7
mov word [ebp - 0x4f8], ax
call fcn.10001c20
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x4f8]
cmp dword [ebp - 0x494], 8
lea esi, [ebp - 0x4a8]
push eax
cmovae esi, dword [ebp - 0x4a8]
mov ecx, edi
call fcn.1000a240
mov edx, esi
lea ecx, [edx + 2]
mov dword [ebp - 0x4dc], ecx
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x101092c0
sub edx, dword [ebp - 0x4dc]
mov ecx, eax
sar edx, 1
push edx
push esi
call fcn.10001c20
lea ecx, [ebp - 0x4f8]
mov byte [ebp - 4], 6
call fcn.10001bc0
push 5
xor eax, eax
mov dword [ebp - 0x4e8], 0
push str.Bit:
lea ecx, [ebp - 0x4f8]
mov dword [ebp - 0x4e4], 7
mov word [ebp - 0x4f8], ax
call fcn.10001c20
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x518]
mov edx, dword [ebp - 0x500]
call fcn.100fae60
mov esi, eax
mov byte [ebp - 4], 0xe
cmp dword [esi + 0x14], 8
jb 0x1010933d
mov esi, dword [esi]
lea eax, [ebp - 0x4f8]
mov ecx, edi
push eax
call fcn.1000a240
mov edx, esi
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x10109350
sub edx, edi
mov ecx, eax
sar edx, 1
push edx
push esi
call fcn.10001c20
lea ecx, [ebp - 0x518]
call fcn.10001bc0
lea ecx, [ebp - 0x4f8]
mov byte [ebp - 4], 6
call fcn.10001bc0
lea eax, [ebp - 0x138]
mov dword [ebp - 0x138], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1010946a
push 0x208
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.10150b00
add esp, 0xc
lea eax, [ebp - 0x428]
push dword [ebp - 0x12c]
push 0x101c67ac
push eax
call fcn.100f3770
add esp, 0xc
mov dword [ebp - 0x4e8], 0
xor eax, eax
mov dword [ebp - 0x4e4], 7
lea ecx, [ebp - 0x428]
mov word [ebp - 0x4f8], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x101093f7
sub ecx, edx
lea eax, [ebp - 0x428]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x4f8]
call fcn.10001c20
lea ecx, [ebp - 0x490]
call fcn.10001bc0
movups xmm0, xmmword [ebp - 0x4f8]
xor eax, eax
lea ecx, [ebp - 0x4f8]
mov word [ebp - 0x4f8], ax
movups xmmword [ebp - 0x490], xmm0
movq xmm0, qword [ebp - 0x4e8]
movq qword [ebp - 0x480], xmm0
mov dword [ebp - 0x4e8], 0
mov dword [ebp - 0x4e4], 7
call fcn.10001bc0
push 0x12
xor eax, eax
mov dword [ebp - 0x4e8], 0
push str.OS_Build_Version:
lea ecx, [ebp - 0x4f8]
mov dword [ebp - 0x4e4], 7
mov word [ebp - 0x4f8], ax
call fcn.10001c20
mov ecx, dword [ebp - 0x4fc]
lea eax, [ebp - 0x4f8]
mov byte [ebp - 4], 0xf
lea esi, [ebp - 0x490]
cmp dword [ebp - 0x47c], 8
push eax
cmovae esi, dword [ebp - 0x490]
lea ecx, [ecx + 0xac]
call fcn.1000a240
mov edx, esi
lea edi, [edx + 2]
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x101094d0
sub edx, edi
mov ecx, eax
sar edx, 1
push edx
push esi
call fcn.10001c20
lea ecx, [ebp - 0x4f8]
mov byte [ebp - 4], 6
call fcn.10001bc0
mov ecx, dword [ebp - 0x4fc]
push 0x4e
push 0x101cadf8
lea ecx, [ecx + 0xb4]
call fcn.10001c20
lea ecx, [ebp - 0x460]
call fcn.10001bc0
lea ecx, [ebp - 0x478]
call fcn.10001bc0
lea ecx, [ebp - 0x490]
call fcn.10001bc0
lea ecx, [ebp - 0x4d8]
call fcn.10001bc0
lea ecx, [ebp - 0x4a8]
call fcn.10001bc0
lea ecx, [ebp - 0x440]
call fcn.10001bc0
lea ecx, [ebp - 0x4c0]
call fcn.10001bc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret