Function at 0x44be79
Capabilities:
Check if file exists
Copy file
Create directory
Get common file path
Get file attributes

Disassembly:
push 0x234
mov eax, 0x4b2b4b
call fcn.00468c4c
xor ebx, ebx
lea ecx, [ebp - 0x220]
mov eax, ebx
push str.SetupUpgradeCache...
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x238], eax
call fcn.00402829
push ebx
push 2
lea edx, [ebp - 0x220]
mov dword [ebp - 4], ebx
pop ecx
call fcn.00414ca1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [0x514010], ebx
jne 0x44bedc
xor eax, eax
jmp 0x44c228
lea eax, [ebp - 0x21c]
push eax
push ebx
push ebx
push 0x8023
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
jns 0x44bf5a
push 0x4ccd0c
lea ecx, [ebp - 0x230]
call fcn.00402829
push str.SHGetFolderPath_failed
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], 1
call fcn.00402829
push esi
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x220]
call fcn.0044c372
pop ecx
mov ecx, dword [ebp - 0x220]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00402e64
mov ecx, dword [ebp - 0x230]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, esi
jmp 0x44c228
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.00402829
push 0x513ff4
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 3
push str.AdobeARMUpgradeCache_
push eax
call fcn.004023f1
add esp, 0xc
push 0x4ccd08
push eax
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 4
push eax
call fcn.00402459
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x234]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.004025c6
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [0x513f94]
mov dword [ebp - 0x240], eax
cmp eax, 1
jge 0x44c019
push str.no_upgrade_files_to_cache
lea ecx, [ebp - 0x220]
call fcn.00402829
push ebx
push 2
lea edx, [ebp - 0x220]
mov byte [ebp - 4], 6
pop ecx
call fcn.00414ca1
pop ecx
mov ecx, dword [ebp - 0x220]
jmp 0x44c210
push ebx
push dword [ebp - 0x234]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov esi, eax
cmp esi, 0xa1
je 0x44c1e1
cmp esi, 3
je 0x44c1e1
mov esi, ebx
push esi
mov ecx, 0x513f8c
call fcn.0040a0bf
mov edi, eax
mov ecx, dword [edi]
test ecx, ecx
je 0x44c193
add ecx, 4
lea eax, [ebp - 0x234]
push ecx
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.004024b8
add esp, 0xc
mov byte [ebp - 4], 8
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [ebp - 0x23c], ecx
je 0x44c0e5
mov eax, dword [edi]
mov ecx, 0x513f84
add eax, 4
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00440107
mov eax, dword [ebp - 0x230]
or eax, 2
mov byte [ebp - 4], 9
or eax, 1
mov edx, dword [edi]
push dword [ebp - 0x220]
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x230], eax
mov edx, dword [edx + 0x14]
mov dword [ebp - 0x238], eax
call fcn.0042f13c
mov byte [ebp - 0x221], bl
pop ecx
test eax, eax
je 0x44c0ec
mov byte [ebp - 0x221], 1
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x230]
test al, 1
je 0x44c114
mov ecx, dword [ebp - 0x220]
and eax, 0xfffffffe
mov dword [ebp - 0x230], eax
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp byte [ebp - 0x221], 0
je 0x44c181
cmp dword [ebp - 0x23c], 0
je 0x44c131
lea ecx, [ebp - 0x22c]
call fcn.0044884d
mov eax, dword [edi]
push ebx
push dword [ebp - 0x22c]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x228]
test eax, eax
je 0x44c1a2
push str.Success_caching:
call fcn.00402829
push ebx
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0xb
push eax
push 2
lea edx, [ebp - 0x228]
pop ecx
call fcn.00414570
pop ecx
pop ecx
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x22c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
inc esi
cmp esi, dword [ebp - 0x240]
jl 0x44c040
jmp 0x44c218
push str.CopyFile_failed:
call fcn.00402829
mov byte [ebp - 4], 0xa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x22c]
lea ecx, [ebp - 0x228]
call fcn.0044c372
pop ecx
mov ecx, dword [ebp - 0x228]
mov ebx, eax
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x22c]
jmp 0x44c210
push str.SHCreateDirectoryEx_failed:
lea ecx, [ebp - 0x228]
call fcn.00402829
push esi
lea edx, [ebp - 0x234]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x228]
call fcn.0044c372
pop ecx
mov ecx, dword [ebp - 0x228]
mov ebx, eax
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x234]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, ebx
call fcn.00468bf6
ret