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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6974c8
mov eax, dword fs:[0]
push eax
sub esp, 0x314
mov eax, dword [0x7994f4]
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, dword [ebp + 0x20]
push str.Storing_XML_Started
push 0
push 4
push dword [0x780178]
mov dword [ebp - 4], 0
push dword [0x7ae520]
call fcn.0049dca0
add esp, 0x14
cmp dword [ebp + 0x18], 0
je 0x4c40cf
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 0x4c40c8
push 0x104
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.0061e86a
push 0x6dc158
call fcn.0049ea60
push eax
push 0x6dc158
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0049ea00
push 7
push 0x6e3138
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0049ea00
lea edi, [ebp - 0x31c]
add esp, 0x30
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4c3f80
mov eax, dword [0x6de3e0]
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 0x4c3fa0
mov eax, dword [str.AdobeGC]
mov dword [ecx], eax
mov eax, dword [0x6e323c]
mov dword [ecx + 4], eax
mov eax, dword [0x6e3240]
mov dword [ecx + 8], eax
mov eax, dword [0x6e3244]
mov dword [ecx + 0xc], eax
lea eax, [ebp - 0x114]
push eax
call fcn.0049e250
add esp, 4
test eax, eax
jne 0x4c4010
lea eax, [ebp - 0x114]
push eax
call fcn.0049e320
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 0x4c4010
push str.Could_not_retreive_path_to_folder
push 0
push 5
jmp 0x4c40f5
push 0x6dc158
call fcn.0049ea60
push eax
push 0x6dc158
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0049ea00
push 0xe
push str.adobegc_XXXXXX
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0049ea00
lea eax, [ebp - 0x320]
mov dword [ebp - 0x320], 0
push eax
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0049e650
add esp, 0x30
test eax, eax
je 0x4c40ec
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0x6dcb08
push dword [ebp - 0x320]
call fcn.004c4160
add esp, 0xc
test eax, eax
jle 0x4c40b8
lea edx, [ebp - 0x114]
lea esi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x4c40a0
sub edx, esi
lea eax, [ebp - 0x114]
push edx
push eax
mov ecx, ebx
call fcn.0048bc90
push dword [ebp - 0x320]
call fcn.0061a7df
add esp, 4
jmp 0x4c40ec
push str.Could_not_retreive_path_to_directory
jmp 0x4c40d4
push str.No_data_to_write
push 0
push 5
push dword [0x780178]
push dword [0x7ae520]
call fcn.0049dca0
add esp, 0x14
push str.Storing_XML_Ended
push 0
push 4
push dword [0x780178]
push dword [0x7ae520]
call fcn.0049dca0
mov edx, dword [ebp + 0x1c]
add esp, 0x14
cmp edx, 0x10
jb 0x4c4139
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c412f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c4155
push edx
push ecx
call fcn.006051f2
add esp, 8
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.0060565a
mov esp, ebp
pop ebp
ret
call fcn.00611192
int3