⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pex_main.asm

📁 加密pe文件源代码!一个非常好的加壳程序源代码!编译环境masm
💻 ASM
字号:
;	PeX v0.99
;
;	Known bugs and things to fix up:
;	- no resources compression support
;	- command line handling doeasn't work correctly in WindowsNT
;	- sometimes decompression routine hangs up(small data size to decompress)
;	- compression routine doesn't work in thread
;	- no real antidebugging code,only shit that's compatibile with Win95/98/NT
;
;	bart^CrackPl
;	cryogen@poland.com
;	cryogen@kki.net.pl
	
	.586					; access to all opcodes
	.MMX					; even MMX stuff :)
	.model flat,stdcall

	extern		aP_pack		:near
	_aP_pack	equ aP_pack

	extern		wsprintfA	:proc
	_wsprintfA	equ wsprintfA

	includelib	e:\dev\masm\lib\kernel32.lib
	includelib	e:\dev\masm\lib\user32.lib
	includelib	e:\dev\masm\lib\comdlg32.lib
	includelib	e:\dev\masm\lib\comctl32.lib
	includelib	e:\dev\masm\lib\advapi32.lib
	includelib	aplib.lib		; compression library

	include		e:\dev\masm\include\kernel32.inc
	include		e:\dev\masm\include\user32.inc
	include		e:\dev\masm\include\comdlg32.inc
	include		e:\dev\masm\include\comctl32.inc
	include		e:\dev\masm\include\advapi32.inc
	include		pex_stuff.inc		; PE Header equates,macros...
	include		pex_win.inc

	option		casemap	:none
	assume		fs	:flat

	STRIP_RELOC	equ	00000000000000000000000000000001b
	ALIGN_PE	equ	00000000000000000000000000000010b
	LDR_ALIGN	equ	00000000000000000000000000000100b
	BACKUP		equ	00000000000000000000000000001000b

	IMPORT_PROT	equ	00000000000000010000000000000000b
	BPX_PROT	equ	00000000000000100000000000000000b

	ALL_PARAMS	equ	STRIP_RELOC or ALIGN_PE or LDR_ALIGN or IMPORT_PROT or BPX_PROT or BACKUP

	CONSOLE		equ	10000000000000000000000000000000b


	RSRC		equ	0
	SECTION_FLAGS	equ	0C0000040h	; same flag for all sections

	IDD_DIALOG1	equ	103
	IDD_DIALOG2	equ	104

	IDC_ABOUTEXIT	equ	321
	IDC_TEXTABOUT	equ	301

	IDC_EDIT1	equ	104
	IDC_EXIT	equ	12
	IDC_ABOUT	equ	11
	IDC_COMPRESS	equ	10
	IDC_SELECT	equ	13

	IDC_STATUS1	equ	140
	IDC_PROGRESS	equ	170

	IDI_ICON1	equ	999

	IDC_WIPERELOC	equ	113
	IDC_EXTRAALIGN	equ	114
	IDC_LOADERALIGN	equ	115
.data
;圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -