Function at 0x646df0
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x707465
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2e4], ebx
xor eax, eax
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 7
mov word [ebp - 0x2a8], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
mov dword [ebp - 0x2b0], eax
mov dword [ebp - 0x2ac], 7
mov word [ebp - 0x2c0], ax
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 4
call fcn.006240a0
lea ecx, [ebp - 0x224]
call fcn.0060c0f0
lea edx, [ebp - 0x290]
lea ecx, [ebp - 0x224]
call fcn.0060c450
lea edx, [ebp - 0x2a8]
lea ecx, [ebp - 0x224]
call fcn.006244b0
lea edx, [ebp - 0x2e0]
lea ecx, [ebp - 0x2dc]
call fcn.0060bf00
mov edx, dword [ebp - 0x2dc]
lea ecx, [ebp - 0x2d8]
call fcn.006184d0
lea ecx, [ebp - 0x2d8]
call fcn.0042fd70
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ebp - 0x2e0]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2e8]
call fcn.0060bf00
cmp dword [ebp - 0x2e0], 2
jne 0x646f6a
lea ecx, [ebp - 0x248]
call fcn.0060d810
jmp 0x646fc4
push 0
push 0x26
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x646fc4
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x646f90
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.0042fe00
push 0x1b
push str.AdobeAdobe_Creative_Cloud
lea ecx, [ebp - 0x248]
call fcn.0042ff20
push 0x16
xor eax, eax
mov dword [ebp - 0x2c8], 0
push str.ACCCreative_Cloud.exe
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 0x2c4], 7
mov word [ebp - 0x2d8], ax
call fcn.0042fe00
push ecx
lea edx, [ebp - 0x2d8]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x248]
call fcn.0060e1d0
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2d8]
call fcn.0042fd70
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x6470db
sub esp, 0x18
lea eax, [ebp - 0x248]
mov ecx, esp
push eax
call fcn.0042fc50
lea ecx, [ebp - 0x230]
call fcn.00610250
add esp, 0x18
test al, al
je 0x6470db
push 0xd
xor eax, eax
mov dword [ebp - 0x2c8], 0
push str.ACC_Version:
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 0x2c4], 7
mov word [ebp - 0x2d8], ax
call fcn.0042fe00
lea eax, [ebp - 0x2d8]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebx + 0xac]
call fcn.00440a30
lea ecx, [ebp - 0x230]
cmp eax, ecx
je 0x6470cc
cmp dword [ebp - 0x21c], 8
push dword [ebp - 0x220]
cmovae ecx, dword [ebp - 0x230]
push ecx
mov ecx, eax
call fcn.0042fe00
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 6
call fcn.0042fd70
push 0x4e
push 0x7da928
lea ecx, [ebx + 0x94]
call fcn.0042fe00
push 9
xor eax, eax
mov dword [ebp - 0x2c8], 0
push str.OS_Name:
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 0x2c4], 7
mov word [ebp - 0x2d8], ax
call fcn.0042fe00
mov byte [ebp - 4], 9
lea eax, [ebp - 0x2d8]
cmp dword [ebp - 0x27c], 8
lea edi, [ebx + 0xac]
lea esi, [ebp - 0x290]
mov ecx, edi
cmovae esi, dword [ebp - 0x290]
push eax
call fcn.00440a30
mov edx, esi
lea ebx, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x647150
sub edx, ebx
mov ecx, eax
sar edx, 1
push edx
push esi
call fcn.0042fe00
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 6
call fcn.0042fd70
push 0xc
xor eax, eax
mov dword [ebp - 0x2c8], 0
push str.OS_Version:
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 0x2c4], 7
mov word [ebp - 0x2d8], ax
call fcn.0042fe00
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x2d8]
cmp dword [ebp - 0x294], 8
lea esi, [ebp - 0x2a8]
push eax
cmovae esi, dword [ebp - 0x2a8]
mov ecx, edi
call fcn.00440a30
mov edx, esi
lea ebx, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x6471d1
sub edx, ebx
mov ecx, eax
sar edx, 1
push edx
push esi
call fcn.0042fe00
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 6
call fcn.0042fd70
push 0xb
xor eax, eax
mov dword [ebp - 0x2c8], 0
push str.OS_Locale:
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 0x2c4], 7
mov word [ebp - 0x2d8], ax
call fcn.0042fe00
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x2d8]
cmp dword [ebp - 0x264], 8
lea esi, [ebp - 0x278]
push eax
cmovae esi, dword [ebp - 0x278]
mov ecx, edi
call fcn.00440a30
mov edx, esi
lea ebx, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x647252
sub edx, ebx
mov ecx, eax
sar edx, 1
push edx
push esi
call fcn.0042fe00
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 6
call fcn.0042fd70
push 5
xor eax, eax
mov dword [ebp - 0x2c8], 0
push str.Bit:
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 0x2c4], 7
mov word [ebp - 0x2d8], ax
call fcn.0042fe00
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x300]
mov edx, dword [ebp - 0x2dc]
call fcn.006184d0
mov esi, eax
mov byte [ebp - 4], 0xd
cmp dword [esi + 0x14], 8
jb 0x6472cb
mov esi, dword [esi]
lea eax, [ebp - 0x2d8]
mov ecx, edi
push eax
call fcn.00440a30
mov edx, esi
lea ebx, [edx + 2]
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x6472e0
sub edx, ebx
mov ecx, eax
sar edx, 1
push edx
push esi
call fcn.0042fe00
lea ecx, [ebp - 0x300]
call fcn.0042fd70
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 6
call fcn.0042fd70
lea ecx, [ebp - 0x260]
call fcn.0060c330
push 0x12
xor eax, eax
mov dword [ebp - 0x2c8], 0
push str.OS_Build_Version:
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 0x2c4], 7
mov word [ebp - 0x2d8], ax
call fcn.0042fe00
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x2d8]
cmp dword [ebp - 0x24c], 8
lea esi, [ebp - 0x260]
push eax
cmovae esi, dword [ebp - 0x260]
mov ecx, edi
call fcn.00440a30
mov edx, esi
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x647377
sub edx, edi
mov ecx, eax
sar edx, 1
push edx
push esi
call fcn.0042fe00
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 6
call fcn.0042fd70
mov ecx, dword [ebp - 0x2e4]
push 0x4e
push 0x7da928
add ecx, 0xb4
call fcn.0042fe00
lea ecx, [ebp - 0x230]
call fcn.0042fd70
lea ecx, [ebp - 0x248]
call fcn.0042fd70
lea ecx, [ebp - 0x260]
call fcn.0042fd70
lea ecx, [ebp - 0x2c0]
call fcn.0042fd70
lea ecx, [ebp - 0x278]
call fcn.0042fd70
lea ecx, [ebp - 0x290]
call fcn.0042fd70
lea ecx, [ebp - 0x2a8]
call fcn.0042fd70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret