Function at 0x4273b0
Capabilities:
Check if file exists
Get common file path
Get file version info
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3065
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x521284]
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 dword [ebp - 0x2e8], ecx
xor eax, eax
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x29c], 7
mov word [ebp - 0x2b0], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov dword [ebp - 0x298], eax
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], 7
mov word [ebp - 0x298], ax
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x2b4], 7
mov word [ebp - 0x2c8], ax
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], 7
mov word [ebp - 0x280], ax
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 4
call fcn.00416550
lea ecx, [ebp - 0x244]
call fcn.00422d30
push 7
push str.UNKNOWN
lea ecx, [ebp - 0x234]
call fcn.00402a90
mov eax, dword [ebp - 0x244]
add eax, 0xfffffffc
cmp eax, 6
ja case.0x4274c0.7
jmp dword [eax*4 + 0x427d2c]
push 0xa
push str.Windows_10
jmp 0x42756e
mov eax, dword [ebp - 0x240]
cmp eax, 3
jne 0x4274ea
push 0xb
push str.Windows_8.1
jmp 0x42756e
cmp eax, 2
jne 0x4274f8
push 9
push str.Windows_8
jmp 0x42756e
cmp eax, 1
jne 0x427506
push 9
push str.Windows_7
jmp 0x42756e
test eax, eax
jne 0x427579
push 0xd
push str.Windows_Vista
jmp 0x42756e
mov eax, dword [ebp - 0x240]
cmp eax, 2
je 0x427530
cmp eax, 1
je 0x427530
test eax, eax
jne 0x427579
push 0xc
push str.Windows_2000
jmp 0x42756e
push 0xa
push str.Windows_XP
jmp 0x42756e
mov eax, dword [ebp - 0x240]
cmp eax, 0x5a
jne 0x42754d
push 0xa
push str.Windows_ME
jmp 0x42756e
cmp eax, 0xa
jne 0x42755a
push eax
push str.Windows_98
jmp 0x42756e
test eax, eax
jne 0x427579
push 0xa
push str.Windows_95
jmp 0x42756e
push 7
push str.UNKNOWN
lea ecx, [ebp - 0x234]
call fcn.00402a90
lea edx, [ebp - 0x2b0]
lea ecx, [ebp - 0x244]
call fcn.00427d50
lea edx, [ebp - 0x2cc]
lea ecx, [ebp - 0x304]
call fcn.00422b40
push dword [ebp - 0x304]
lea eax, [ebp - 0x210]
push 0x50f304
push 0x100
push eax
call fcn.00402da0
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x300], 0
add esp, 0x10
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2ec], 7
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4275e1
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x300]
call fcn.00402a90
lea ecx, [ebp - 0x300]
call fcn.00402a30
xor eax, eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
xor edi, edi
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
lea edx, [ebp - 0x2cc]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x21c]
call fcn.00422b40
cmp dword [ebp - 0x2cc], 2
jne 0x42767f
lea ecx, [ebp - 0x268]
call fcn.00415530
jmp 0x4276d4
push 0
push 0x26
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4276d4
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4276a0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x268]
call fcn.00402a90
push 0x1b
push str.AdobeAdobe_Creative_Cloud
lea ecx, [ebp - 0x268]
call fcn.00403260
push 0x16
xor eax, eax
mov dword [ebp - 0x2e4], 0
push 0x5109f8
lea ecx, [ebp - 0x2e4]
mov dword [ebp - 0x2d4], 0
mov dword [ebp - 0x2d0], 7
mov word [ebp - 0x2e4], ax
call fcn.00402a90
push 0
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.004157c0
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2e4]
call fcn.00402a30
cmp dword [ebp - 0x254], 8
lea eax, [ebp - 0x268]
cmovae eax, dword [ebp - 0x268]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x427943
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x2e4]
call fcn.00402eb0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x238]
xor bl, bl
mov dword [ebp - 0x238], 0
cmp dword [ebp - 0x2d0], 8
lea eax, [ebp - 0x2e4]
push ecx
cmovae eax, dword [ebp - 0x2e4]
push eax
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x2cc], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
push 0x208
mov esi, eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004ce0b0
add esp, 0xc
test esi, esi
je 0x4278a7
push esi
call fcn.004cc608
add esp, 4
lea ecx, [ebp - 0x2e4]
cmp dword [ebp - 0x2d0], 8
mov edi, eax
cmovae ecx, dword [ebp - 0x2e4]
push edi
push esi
push dword [ebp - 0x238]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x427898
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 0x50cd8c
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x427898
cmp dword [ebp - 0x21c], 0
je 0x427898
mov eax, dword [ebp - 0x2cc]
cmp dword [eax], 0xfeef04bd
jne 0x427898
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 - 0x218]
push 0x104
push eax
call fcn.00402da0
lea ecx, [ebp - 0x218]
add esp, 0x1c
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427874
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x250]
call fcn.00402a90
mov bl, 1
push edi
call fcn.004cc603
mov edi, dword [ebp - 0x240]
add esp, 4
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 6
call fcn.00402a30
test bl, bl
je 0x427943
push 0xd
xor eax, eax
mov dword [ebp - 0x2e4], 0
push str.ACC_Version:
lea ecx, [ebp - 0x2e4]
mov dword [ebp - 0x2d4], 0
mov dword [ebp - 0x2d0], 7
mov word [ebp - 0x2e4], ax
call fcn.00402a90
mov ecx, dword [ebp - 0x2e8]
lea eax, [ebp - 0x2e4]
push eax
add ecx, 0xac
mov byte [ebp - 4], 9
call fcn.004068e0
lea ecx, [ebp - 0x250]
cmp eax, ecx
je 0x427934
cmp dword [ebp - 0x23c], 8
push edi
cmovae ecx, dword [ebp - 0x250]
push ecx
mov ecx, eax
call fcn.00402a90
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 6
call fcn.00402a30
mov edi, dword [ebp - 0x2e8]
push 0x4e
push 0x510a48
lea ecx, [edi + 0x94]
call fcn.00402a90
push 9
xor eax, eax
mov dword [ebp - 0x2e4], 0
push str.OS_Name:
lea ecx, [ebp - 0x2e4]
mov dword [ebp - 0x2d4], 0
mov dword [ebp - 0x2d0], 7
mov word [ebp - 0x2e4], ax
call fcn.00402a90
mov byte [ebp - 4], 0xa
lea esi, [ebp - 0x234]
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x2e4]
push eax
cmovae esi, dword [ebp - 0x234]
add edi, 0xac
mov ecx, edi
call fcn.004068e0
mov edx, esi
lea ebx, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4279c5
sub edx, ebx
mov ecx, eax
sar edx, 1
push edx
push esi
call fcn.00402a90
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 6
call fcn.00402a30
push 0xc
xor eax, eax
mov dword [ebp - 0x2e4], 0
push str.OS_Version:
lea ecx, [ebp - 0x2e4]
mov dword [ebp - 0x2d4], 0
mov dword [ebp - 0x2d0], 7
mov word [ebp - 0x2e4], ax
call fcn.00402a90
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x2e4]
cmp dword [ebp - 0x29c], 8
lea esi, [ebp - 0x2b0]
push eax
cmovae esi, dword [ebp - 0x2b0]
mov ecx, edi
call fcn.004068e0
mov edx, esi
lea ebx, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x427a50
sub edx, ebx
mov ecx, eax
sar edx, 1
push edx
push esi
call fcn.00402a90
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 6
call fcn.00402a30
push 0xb
xor eax, eax
mov dword [ebp - 0x2e4], 0
push str.OS_Locale:
lea ecx, [ebp - 0x2e4]
mov dword [ebp - 0x2d4], 0
mov dword [ebp - 0x2d0], 7
mov word [ebp - 0x2e4], ax
call fcn.00402a90
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x2e4]
cmp dword [ebp - 0x284], 8
lea esi, [ebp - 0x298]
push eax
cmovae esi, dword [ebp - 0x298]
mov ecx, edi
call fcn.004068e0
mov edx, esi
lea ebx, [edx + 2]
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x427ae0
sub edx, ebx
mov ecx, eax
sar edx, 1
push edx
push esi
call fcn.00402a90
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 6
call fcn.00402a30
push 5
xor eax, eax
mov dword [ebp - 0x300], 0
push str.Bit:
lea ecx, [ebp - 0x300]
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2ec], 7
mov word [ebp - 0x300], ax
call fcn.00402a90
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x210]
push dword [ebp - 0x304]
push 0x50f304
push 0x100
push eax
call fcn.00402da0
add esp, 0x10
mov dword [ebp - 0x2e4], 0
xor eax, eax
mov dword [ebp - 0x2d4], 0
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x2d0], 7
mov word [ebp - 0x2e4], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427b93
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2e4]
call fcn.00402a90
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x300]
cmp dword [ebp - 0x2d0], 8
lea esi, [ebp - 0x2e4]
push eax
cmovae esi, dword [ebp - 0x2e4]
mov ecx, edi
call fcn.004068e0
mov edx, esi
lea ebx, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x427be0
sub edx, ebx
mov ecx, eax
sar edx, 1
push edx
push esi
call fcn.00402a90
lea ecx, [ebp - 0x2e4]
call fcn.00402a30
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 6
call fcn.00402a30
lea ecx, [ebp - 0x280]
call fcn.00422f80
push 0x12
xor eax, eax
mov dword [ebp - 0x300], 0
push str.OS_Build_Version:
lea ecx, [ebp - 0x300]
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2ec], 7
mov word [ebp - 0x300], ax
call fcn.00402a90
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x300]
cmp dword [ebp - 0x26c], 8
lea esi, [ebp - 0x280]
push eax
cmovae esi, dword [ebp - 0x280]
mov ecx, edi
call fcn.004068e0
mov edx, esi
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x427c81
sub edx, edi
mov ecx, eax
sar edx, 1
push edx
push esi
call fcn.00402a90
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 6
call fcn.00402a30
mov ecx, dword [ebp - 0x2e8]
push 0x4e
push 0x510a48
add ecx, 0xb4
call fcn.00402a90
lea ecx, [ebp - 0x250]
call fcn.00402a30
lea ecx, [ebp - 0x268]
call fcn.00402a30
lea ecx, [ebp - 0x280]
call fcn.00402a30
lea ecx, [ebp - 0x2c8]
call fcn.00402a30
lea ecx, [ebp - 0x298]
call fcn.00402a30
lea ecx, [ebp - 0x234]
call fcn.00402a30
lea ecx, [ebp - 0x2b0]
call fcn.00402a30
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.004cc21a
mov esp, ebp
pop ebp
ret