PeSpin MACROS Help
Posted: Sat Aug 20, 2005 3:28 pm
PeSpin (an executable packer / criptor) support Macro code to encript zones in you code, i've converted it a bit, but i need help on this one to convert the MASM code into FASM code 
PeSpin home:
http://pespin.w.interia.pl/
Can anyone help ???
The original code in the include:

PeSpin home:
http://pespin.w.interia.pl/
Can anyone help ???
Code: Select all
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;CRYPT_markers
;this macro is for define start of block for encryption (it will decoded before use and encrypted again after use)
!macro CRYPT_START
!{
!db 0EBh,08h
!db 6 dup(0FCh)
!db 27h,54h
!}
!macro CRYPT_END
!{
!db 0EBh,08h
!db 6 dup(0FDh)
!db 54h,37h
!}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
!CRYPT_START
MessageRequester("Hi!", "I'm encripted inside the code!")
!CRYPT_END
MessageRequester("Hum...", "I'm not encripted ;)")
Code: Select all
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;CRYPT_markers
;this macro is for define start of block for encryption (it will decoded before use and encrypted again after use)
CRYPT_START macro
db 0EBh,08h
db 6 dup(0FCh)
db 27h,54h
endm
CRYPT_END macro
db 0EBh,08h
db 6 dup(0FDh)
db 54h,37h
endm
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;