Function at 0x46e500
Capabilities:
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dcbb8
mov eax, dword fs:[0]
push eax
sub esp, 0x314
mov eax, dword [0x66c214]
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
push str.Storing_XML_Started
push 0
push 4
mov dword [ebp - 4], 0
push str.AdobeGCUpdaterXMLWrapper
push dword [0x679bf8]
call fcn.00496770
add esp, 0x14
cmp dword [ebp + 0x18], 0
je 0x46e727
lea eax, [ebp - 0x31c]
push eax
push 0
push 0
push 0x2e
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x46e720
push 0x104
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.005935c3
push SysReAllocString
push 0x63f8f0
call fcn.0058ed2a
push eax
push 0x63f8f0
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0058e895
push 7
push 0x646bd8
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0058e895
lea edi, [ebp - 0x31c]
add esp, 0x34
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x46e5e0
mov eax, dword [0x6409e8]
lea ecx, [ebp - 0x31c]
mov dword [edi], eax
add ecx, 0xfffffffe
nop dword [eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x46e600
mov eax, dword [str.AdobeGC]
mov dword [ecx], eax
mov eax, dword [0x646ccc]
mov dword [ecx + 4], eax
mov eax, dword [0x646cd0]
mov dword [ecx + 8], eax
mov eax, dword [0x646cd4]
mov dword [ecx + 0xc], eax
lea eax, [ebp - 0x114]
push eax
call fcn.00442a40
mov edi, eax
push 0
push edi
call fcn.0058d125
push edi
mov esi, eax
call fcn.0058d115
add esp, 0x10
test esi, esi
je 0x46e682
lea eax, [ebp - 0x114]
push eax
call fcn.00442fc0
add esp, 4
mov esi, eax
lea eax, [ebp - 0x31c]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test esi, esi
je 0x46e682
push str.Could_not_retreive_path_to_folder
push 0
push 5
jmp 0x46e74c
push SysReAllocString
push 0x63f8f0
call fcn.0058ed2a
push eax
push 0x63f8f0
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0058e895
push 0xe
push str.adobegc_XXXXXX
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0058e895
lea eax, [ebp - 0x320]
mov dword [ebp - 0x320], 0
push eax
lea ecx, [ebp - 0x114]
call fcn.00442e00
add esp, 0x2c
test eax, eax
je 0x46e743
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
mov esi, dword [ebp - 0x320]
cmovae eax, dword [ebp + 8]
push eax
push 0x63ef18
push esi
call fcn.0046e080
add esp, 0xc
test eax, eax
jle 0x46e715
lea eax, [ebp - 0x114]
mov ecx, ebx
push eax
call fcn.00433620
push esi
call fcn.00581e19
add esp, 4
jmp 0x46e743
push str.Could_not_retreive_path_to_directory
jmp 0x46e72c
push str.No_data_to_write
push 0
push 5
push str.AdobeGCUpdaterXMLWrapper
push dword [0x679bf8]
call fcn.00496770
add esp, 0x14
push str.Storing_XML_Ended
push 0
push 4
push str.AdobeGCUpdaterXMLWrapper
push dword [0x679bf8]
call fcn.00496770
mov eax, dword [ebp + 0x1c]
add esp, 0x14
cmp eax, 0x10
jb 0x46e774
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00430ec0
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.00562e44
mov esp, ebp
pop ebp
ret