Function at 0x405aae
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41cc4c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0xf
jne 0x405ada
jmp 0x405dc8
push 0
push 0x424364
mov ecx, dword [ebp - 0x48]
add ecx, 0x78
call sub.MFC42.DLL_CString::Find_3
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x405afa
jmp 0x405dc8
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x48]
add ecx, 0x78
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 4], 0
push str..ctb
lea ecx, [ebp - 0x20]
call fcn.0041bc98
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x74]
push edx
push 0x424370
lea eax, [ebp - 0x14]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea edx, [ebp - 0x20]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x4c], eax
call fcn.004026f3
add esp, 4
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x405b8c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
jmp 0x405dc8
push 0x425ac8
lea ecx, [ebp - 0x10]
call fcn.0041bc20
mov byte [ebp - 4], 2
lea eax, [ebp - 0x10]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.RoamableRootFolder
call fcn.0041bc20
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x58], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp + 8]
add edx, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x424390
call fcn.0041bc20
mov dword [ebp - 0x64], eax
push 0
mov byte [ebp - 4], 2
call fcn.00402112
add esp, 0x14
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 5
push 0
push str.Autodesk
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Find_3
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x405c5e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
jmp 0x405dc8
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::operator_2
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0x12
jge 0x405cb7
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push str._sPlot_Styles_s
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
jmp 0x405cd0
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push str._sPlottersPlot_Styles_s
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
lea edx, [ebp - 0x10]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x70], eax
call fcn.004026f3
add esp, 4
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jne 0x405d95
mov dword [ebp - 0x24], 1
push 0x80
lea ecx, [ebp - 0x1c]
call fcn.00401ee0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x405d44
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x1c]
push eax
push 0x4243e8
lea ecx, [ebp - 0x1c]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x1c]
call fcn.00401ee0
push eax
call sub.MFC42.DLL_AfxMessageBox
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
lea edx, [ebp - 0x10]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 7
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
lea edx, [ebp - 0x14]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.00405dd8
cmp dword [ebp - 0x24], 0
je 0x405d95
push 2
lea ecx, [ebp - 0x1c]
call fcn.00401ee0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4