@echo offclscd /D "%AppData%\Macromedia\Flash Player\#SharedObjects"FOR /F "tokens=*" %%a in ('dir /B') do @SET randomword=%%aif %processor_architecture%==x64 goto 64bitif %processor_architecture%==AMD64 goto 64bitFOR /F "tokens=2,*" %%a in ('REG QUERY "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Machinarium" /v UninstallString') DO @SET entry=%%bgoto next:64bitFOR /F "tokens=2,*" %%a in ('REG QUERY "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Machinarium" /v UninstallString') DO @SET entry=%%b:nextset apppath=%entry:~0,-11%set "savepath=%AppData%\Macromedia\Flash Player\#SharedObjects\%randomword%\localhost\%entry:~3,-11%\machinarium.exe\Machinarium.sol"cd /D %apppath%if not exist Machinarium.sol goto nosolcopy /V /Y Machinarium.sol "%savepath%":nosolmachinarium.execopy /V /Y "%savepath%" Machinarium.sol:end