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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x477d82
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x4bfd60]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push esi
push edi
mov eax, dword [0x4bfd60]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
xor ebx, ebx
push str.SetupUpgradeCache...
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], ebx
call fcn.004020a6
push ebx
lea eax, [esp + 0x18]
push eax
push 2
mov dword [esp + 0x264], ebx
call fcn.004152d1
or dword [esp + 0x264], 0xffffffff
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
cmp dword [0x4c4878], ebx
jne 0x445df3
xor eax, eax
jmp 0x446142
lea eax, [esp + 0x3c]
push eax
push ebx
push ebx
push 0x8023
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
cmp esi, ebx
jge 0x445e65
push 0x483438
lea ecx, [esp + 0x24]
call fcn.004020a6
push str.SHGetFolderPath_failed
lea ecx, [esp + 0x18]
mov dword [esp + 0x25c], 1
call fcn.004020a6
push esi
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x264], 2
call fcn.004462a4
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
mov esi, eax
call fcn.004025d2
mov ecx, dword [esp + 0x20]
jmp 0x446138
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x2c]
call fcn.004020a6
push 3
pop esi
push 0x4c485c
lea eax, [esp + 0x30]
push str.AdobeARMUpgradeCache_
push eax
mov dword [esp + 0x264], esi
call fcn.00401e40
add esp, 0xc
push 0x48415c
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x264], 4
call fcn.0040adb6
add esp, 0xc
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x25c], 5
call fcn.00401ec7
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.004025d2
mov byte [esp + 0x258], 3
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffff0
call fcn.004025d2
mov eax, dword [0x4c47fc]
cmp eax, 1
mov dword [esp + 0x1c], eax
jge 0x445f34
push str.no_upgrade_files_to_cache
lea ecx, [esp + 0x18]
call fcn.004020a6
push ebx
lea eax, [esp + 0x18]
push eax
push 2
mov byte [esp + 0x264], 6
call fcn.004152d1
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.004025d2
mov eax, ebx
jmp 0x446142
push ebx
push dword [esp + 0x2c]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov edi, eax
cmp edi, 0xa1
je 0x4460fd
cmp edi, esi
je 0x4460fd
cmp dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
jle 0x4460a6
push dword [esp + 0x14]
mov ecx, 0x4c47f4
call fcn.0040b035
mov esi, eax
mov eax, dword [esi]
mov dword [esp + 0x30], esi
cmp eax, ebx
je 0x446094
add eax, 4
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00401de9
add esp, 0xc
mov byte [esp + 0x258], 8
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [esp + 0x34], ecx
cmp ecx, ebx
je 0x445ff7
mov eax, dword [esi]
add eax, 4
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0041aaea
mov byte [esp + 0x258], 9
mov ecx, dword [esi]
mov eax, dword [eax]
mov edi, dword [ecx + 0x14]
mov esi, dword [esp + 0x24]
or dword [esp + 0x20], 1
mov ebx, eax
call fcn.004289ab
mov esi, dword [esp + 0x30]
xor ebx, ebx
mov byte [esp + 0x1b], bl
test eax, eax
je 0x445ffc
mov byte [esp + 0x1b], 1
push 8
pop edi
mov dword [esp + 0x258], edi
test byte [esp + 0x20], 1
je 0x44601e
mov ecx, dword [esp + 0x38]
and dword [esp + 0x20], 0xfffffffe
add ecx, 0xfffffff0
call fcn.004025d2
cmp byte [esp + 0x1b], bl
je 0x446080
cmp dword [esp + 0x34], ebx
je 0x446033
lea ecx, [esp + 0x24]
call fcn.0044254b
mov eax, dword [esi]
push ebx
push dword [esp + 0x28]
add eax, edi
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4460b7
push str.Success_caching:
lea ecx, [esp + 0x30]
call fcn.004020a6
push ebx
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x34]
push eax
push 2
mov byte [esp + 0x268], 0xb
call fcn.00414e01
mov ecx, dword [esp + 0x3c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
mov byte [esp + 0x258], 3
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.004025d2
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x1c]
jl 0x445f64
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.004025d2
jmp 0x445dec
push str.CopyFile_failed:
lea ecx, [esp + 0x20]
call fcn.004020a6
mov byte [esp + 0x258], 0xa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004462a4
mov ecx, dword [esp + 0x28]
add esp, 0xc
add ecx, 0xfffffff0
mov ebx, eax
call fcn.004025d2
mov ecx, dword [esp + 0x24]
jmp 0x445f19
push str.SHCreateDirectoryEx_failed:
lea ecx, [esp + 0x20]
call fcn.004020a6
push edi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x264], 7
call fcn.004462a4
mov ecx, dword [esp + 0x28]
add esp, 0xc
add ecx, 0xfffffff0
mov esi, eax
call fcn.004025d2
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.004025d2
mov eax, esi
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.00458e0e
mov esp, ebp
pop ebp
ret