Function at 0x4014d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4056e8
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x40a018]
xor eax, esp
mov dword [esp + 0x238], eax
push edi
mov eax, dword [0x40a018]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
lea ecx, [esp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
push str.Adobe_LC_Designer_AppDataPath
lea ecx, [esp + 0xc]
mov dword [esp + 0x254], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_2692]
test eax, eax
je 0x40167e
mov eax, dword [esp + 8]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.jfutility.dll_public:_void___thiscall_jfString::constructor_wchar_t_const__]
lea ecx, [esp + 0x18]
mov byte [esp + 0x250], 1
call dword [sym.imp.jfutility.dll_public:_char___thiscall_jfString::LastChar_void_const]
cmp al, 0x5c
je 0x40156e
push 0x407464
lea ecx, [esp + 0x1c]
call dword [sym.imp.jfutility.dll_public:_class_jfString_const____thiscall_jfString::operator_char_const__]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x24]
call dword [sym.imp.jfutility.dll_public:_void___thiscall_jfFileId::constructor_class_jfString_const__]
lea ecx, [esp + 0x20]
mov byte [esp + 0x250], 2
call dword [sym.imp.jfutility.dll_public:_int___thiscall_jfFileId::ExistsLocally_void_const]
test eax, eax
lea ecx, [esp + 0x20]
je 0x40165e
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.jfutility.dll_public:_class_jfString___thiscall_jfFileId::LocPath_void_]
push 0x407468
lea ecx, [esp + 0x10]
mov byte [esp + 0x254], 3
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov edi, eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x250], 4
call dword [sym.imp.jfutility.dll_public:_char_const____thiscall_jfString::operator_char_const__void_const]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_287]
lea ecx, [esp + 0x14]
push edi
push ecx
mov ecx, eax
mov byte [esp + 0x258], 5
call fcn.00403360
add esp, 8
push eax
mov ecx, esi
mov byte [esp + 0x254], 6
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x250], 2
call dword [sym.imp.jfutility.dll_public:_void___thiscall_jfString::destructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0x250], 1
call dword [sym.imp.jfutility.dll_public:_void___thiscall_jfFileId::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x250], 0
call dword [sym.imp.jfutility.dll_public:_void___thiscall_jfString::destructor_void_]
jmp 0x40170d
mov byte [esp + 0x250], 1
call dword [sym.imp.jfutility.dll_public:_void___thiscall_jfFileId::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x250], 0
call dword [sym.imp.jfutility.dll_public:_void___thiscall_jfString::destructor_void_]
push 1
push 0x1a
lea edx, [esp + 0x3c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40170d
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
push str.Adobe_
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
mov byte [esp + 0x254], 7
call fcn.00403480
push eax
lea edx, [esp + 0x14]
push edx
mov edi, str.Designer
mov byte [esp + 0x25c], 8
call fcn.004033e0
add esp, 0xc
push eax
mov ecx, esi
mov byte [esp + 0x254], 9
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.00404ad0
mov esp, ebp
pop ebp
ret