; Slayer - a desktop anti-virus for RISC OS
; Copyright (C) 1996 - 2000 Kiwi Software (UK)
;
; This program is free software; you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation; either version 2 of the License, or
; any later version.
;
; This program is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
; GNU General Public License for more details.
;
; You should have received a copy of the GNU General Public License
; along with this program; if not, write to the Free Software
; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
;
; info@kiwisoft.co.uk
; -------------------------------------------------------------------------



; slightly modified version of vcheck which is not dependant on filetype, as that
; cannot be reliably detected from filehandle?

.scan4All		teq		filelength,#730		;satani
 			bleq		satani_check

 			teq		filelength,#1517       ;vandamme
			bleq		vandamme_check

 			teq		filelength,#5036       ;5036 Nitemare
 			bleq		nitemare_check

 			teq		filelength,#2096	;2096 icon
 			bleq		icon2096_check

 			teq		filelength,#2127	;2127 icon
 			bleq		icon2127_check

 			teq		filelength,#2218	;2218 icon
 			bleq		icon2218_check

 			teq		filelength,#2616	;2616 icon
 			teqne		filelength,#2618	;2618 icon
 			teqne		filelength,#2644	;2644 icon
 			bleq		icon26xx_check

			teq		filelength,#2696	;2696 icon
			bleq		icon2696_check

			teq		filelength,#3639	;3639 icon
			bleq		icon3639_check

			teq		filelength,#5587	;5587 icon
			teqne		filelength,#5592	;5592 icon
			bleq		icon5587_5592_check

			teq		filelength,#5859	;5859 icon
			bleq		icon5859_check

 			teq		filelength,#7463       ;7463 icon
 			bleq		icon7463_check

 			teq		filelength,#7696       ;7696 icon
 			bleq		icon7696_check

 			teq		filelength,#7933       ;7933 icon
 			bleq		icon7933_check

			teq		filelength,#5574       ;5574 icon
			bleq		icon5574_check

 			teq		filelength,#5580       ;5580 bigfoot
 			teqne		filelength,#5535       ;5535 bigfoot
 			bleq		bigfoot_check

			teq		filelength,#2195       ;2195 honey
			bleq		honey_check

			teq		filelength,#2438       ;2438 datadqm
			teqne		filelength,#2311       ;2311 datadqm
			bleq		datadqm_check

			teq		filelength,#2173
			bleq		diehard_check

			teq		filelength,#940
			bleq		extend_irqfix_check

			teq		filelength,#2355	;MonitorDat 1
			teqne		filelength,#2168	;MonitorDat 2
			bleq		monitordat_check

			teq		filelength,#9619	;NetStatus
			bleq		netstatus_check

			teq		filelength,#460		;Simple
			bleq		simple_check

			teq		filelength,#468		;Simple
			bleq		simple_468_check

 			cmp		filelength,#1208+1024  ; could
 			blle		thunder_check	       ; be thunder1
 							       ; that is easy
 							       ; to detect

			cmp		filelength,#1215+1024  ; thunder2?
			bllt		thunder2_check

 			;now filetypes
 			cmp		filelength,#952
 			blgt		module_check
 			blgt		millenium_check	;horrid use of bl

 			cmp		filelength,#1216	;smallest
 			blgt		breakfast_check
 			blgt		link_check
 			blgt		bbceconet_check

 			cmp		filelength,#2060	;jester
 			blgt		jester_check

			bl		htmljava_check
			bl		htmlworm_check
 			bl		htmlprep_check

			bl		sbrew_check

; finished all scans, any virus detected will have branched out
; therefore by process of logical deduction no virus was found
			mov		r0,#no_virus
			ldmfd		r13!,{pc}
