anchor.diff:  :: JOB: MBAM (Malwarebytes Anti-Malware)
   title Tron v%TRON_VERSION% [stage_3_disinfect] [Malwarebytes Anti-Malware]
   set EXISTING_MBAM=no
  -:: The path in v3 changed from v2, so we only check for a v3 installation and skip installing if it exists. If v2 exists, we 
  +:: The path in v3 changed from v2, so we only check for a v3 installation and skip installing if it exists. If v2 exists, we
   :: run the v3 installation to get it up-to-date. tl;dr we consider an MBAM v2 installation "not installed" for the purposes of Tron
   if exist "%ProgramFiles%\Malwarebytes\Anti-Malware\mbam.exe" set EXISTING_MBAM=yes
   if exist "%ProgramFiles(x86)%\Malwarebytes\Anti-Malware\mbam.exe" set EXISTING_MBAM=yes
  
positive.code: :::::::::::::::::::::
  :: PREP AND CHECKS ::
  :::::::::::::::::::::
  set STAGE_3_SCRIPT_VERSION=1.2.2
  set STAGE_3_SCRIPT_DATE=2018-08-29
  
  :: Check for standalone vs. Tron execution and build the environment if running in standalone mode
  if /i "%LOGFILE%"=="" (
  
negative.code: 		if /i %NETWORK_AVAILABLE%==no (
  			copy /a /y stage_3_disinfect\sophos_virus_remover\config_network_connected_no.xml stage_3_disinfect\sophos_virus_remover\config.xml >> "%LOGPATH%\%LOGFILE%" 2>&1
  		) else (
  			copy /a /y stage_3_disinfect\sophos_virus_remover\config_network_connected_yes.xml stage_3_disinfect\sophos_virus_remover\config.xml >> "%LOGPATH%\%LOGFILE%" 2>&1
  		)
  
  		if exist "%ProgramData%\Sophos\Sophos Virus Removal Tool\Logs\SophosVirusRemovalTool.log" del /f /q "%ProgramData%\Sophos\Sophos Virus Removal Tool\Logs\SophosVirusRemovalTool.log" >nul 2>&1
  		if /i %VERBOSE%==no	(
  			stage_3_disinfect\sophos_virus_remover\svrtcli.exe -yes
  		) else (
  			stage_3_disinfect\sophos_virus_remover\svrtcli.exe -yes -debug
  		)
  		type "%ProgramData%\Sophos\Sophos Virus Removal Tool\Logs\SophosVirusRemovalTool.log" >> "%LOGPATH%\%LOGFILE%" 2>&1
  		if exist "%ProgramData%\Sophos\Sophos Virus Removal Tool\Logs\SophosVirusRemovalTool.log" del /f /q "%ProgramData%\Sophos\Sophos Virus Removal Tool\Logs\SophosVirusRemovalTool.log" >nul 2>&1
  		del /f /q stage_3_disinfect\sophos_virus_remover\config.xml >> "%LOGPATH%\%LOGFILE%" 2>&1
  	)
  	call functions\log_with_date.bat "   Done."
  )
  