

;
; release date: 22/1/97
;
;
; this is something lame for you to play with...
;
;
;
;
; * Code ripped from loader32.exe ;-)
; 
;
; To Compile:
;  TASM32 /ml /m3 wice-dw,,;
;  TLINK32 /Tpe /aa /c wice-dw,wice-dw,, import32.lib
;
;
; BTW: *MY* WinICE can not be detected using the following method.
;
;
;

.386P
Locals
jumps

.Model Flat ,StdCall


;Define the needed external functions and constants here.
Extrn           ExitProcess:PROC
Extrn           MessageBoxA:PROC                
Extrn           CreateFileA:PROC                

.Data                                        
Title1          db 'FUCK !',0
Message1        db 0dh,0ah,' WinICE for Win95 / NT not detected ! ',0dh,0ah,0

DetectedTitle   db ' WinICE is loaded ! ',0
WI_Detected     db 'Debugger type: SoftICE for Win95',0
NTI_Detected    db 'Debugger type: SoftICE-NT',0


WinICE_Handle   db '\\.\SICE',0
NTICE_Handle    db '\\.\NTICE',0
stringme        db 30 dup (0)

.Code                                  
;컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴
Main:
     Push 0
     Push 80h
     Push 3

 	mov esi, 745d19f2h
	xor esi, 5555h
	mov eax, 7157a00h
	mov ecx,7h
moreloop:
	xor esi, eax
	shr eax,3
	loop moreloop

	mov eax,esi
	call WRITE_DECIMAL_NUMBER
	jmp Exit_Proc




Exit_Proc:
     Push LARGE-1
     Call ExitProcess

include wrtdec.inc
;컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴
End Main

