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

Disassembly:
push 0x234
mov eax, 0x4b372b
call fcn.004696cc
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.00414cf1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [0x516010], ebx
jne 0x44c94c
xor eax, eax
jmp 0x44cc98
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 0x44c9ca
push 0x4cdd44
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.0044cde2
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 0x44cc98
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.00402829
push 0x515ff4
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 3
push str.AdobeARMUpgradeCache_
push eax
call fcn.004023f1
add esp, 0xc
push 0x4cdd40
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 [0x515f94]
mov dword [ebp - 0x240], eax
cmp eax, 1
jge 0x44ca89
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.00414cf1
pop ecx
mov ecx, dword [ebp - 0x220]
jmp 0x44cc80
push ebx
push dword [ebp - 0x234]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov esi, eax
cmp esi, 0xa1
je 0x44cc51
cmp esi, 3
je 0x44cc51
mov esi, ebx
push esi
mov ecx, 0x515f8c
call fcn.0040a0ef
mov edi, eax
mov ecx, dword [edi]
test ecx, ecx
je 0x44cc03
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 0x44cb55
mov eax, dword [edi]
mov ecx, 0x515f84
add eax, 4
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00440b6d
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.0042f189
mov byte [ebp - 0x221], bl
pop ecx
test eax, eax
je 0x44cb5c
mov byte [ebp - 0x221], 1
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x230]
test al, 1
je 0x44cb84
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 0x44cbf1
cmp dword [ebp - 0x23c], 0
je 0x44cba1
lea ecx, [ebp - 0x22c]
call fcn.004492b3
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 0x44cc12
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.004145c0
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 0x44cab0
jmp 0x44cc88
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.0044cde2
pop ecx
mov ecx, dword [ebp - 0x228]
mov ebx, eax
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x22c]
jmp 0x44cc80
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.0044cde2
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.00469676
ret