Function at 0x4084f0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460819
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x47bb04]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0xf
jne 0x408526
jmp 0x40881d
push 0
push 0x465018
mov ecx, dword [ebp - 0x48]
add ecx, 0x8c
call fcn.00401940
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x408549
jmp 0x40881d
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x48]
add ecx, 0x8c
call fcn.00401a40
mov dword [ebp - 4], 0
push str..ctb
lea ecx, [ebp - 0x20]
call fcn.0040c0c0
lea ecx, [ebp - 0x14]
call fcn.00402690
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x88]
push edx
push 0x465024
lea eax, [ebp - 0x14]
push eax
call fcn.00404bc0
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea edx, [ebp - 0x20]
push edx
call fcn.004026b0
mov dword [ebp - 0x4c], eax
call fcn.004037a0
add esp, 4
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x4085e1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004026d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004026d0
jmp 0x40881d
push 0x464c63
lea ecx, [ebp - 0x1c]
call fcn.00403f50
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1c]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.RoamableRootFolder
call fcn.00403f50
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 fcn.004026b0
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 0x465044
call fcn.00403f50
mov dword [ebp - 0x64], eax
push 0
mov byte [ebp - 4], 2
call fcn.00403130
add esp, 0x14
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.004026b0
mov byte [ebp - 4], 5
push 0
push str.Autodesk
lea ecx, [ebp - 0x1c]
call fcn.00401940
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x4086b3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004026d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004026d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004026d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004026d0
jmp 0x40881d
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401a40
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 - 0x18]
call fcn.004026f0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x38]
call fcn.004026d0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0x12
jge 0x40870c
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push str._sPlot_Styles_s
lea eax, [ebp - 0x1c]
push eax
call fcn.00404bc0
add esp, 0x10
jmp 0x408725
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push str._sPlottersPlot_Styles_s
lea eax, [ebp - 0x1c]
push eax
call fcn.00404bc0
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
lea edx, [ebp - 0x1c]
push edx
call fcn.004026b0
mov dword [ebp - 0x70], eax
call fcn.004037a0
add esp, 4
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jne 0x4087ea
mov dword [ebp - 0x24], 1
push 0x80
lea ecx, [ebp - 0x18]
call fcn.00402770
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x408799
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x18]
push eax
push 0x46509c
lea ecx, [ebp - 0x18]
push ecx
call fcn.00404bc0
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x18]
call fcn.00402770
push eax
call fcn.004293db
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
lea edx, [ebp - 0x1c]
push edx
call fcn.004026b0
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 fcn.004026b0
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x48]
call fcn.00408830
cmp dword [ebp - 0x24], 0
je 0x4087ea
push 2
lea ecx, [ebp - 0x18]
call fcn.00402770
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004026d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004026d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004026d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004026d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4