//
//
//
//
//
//
//
//
//
//
软件Tags:
易语言dll加载接口模块源码
系统结构:test,MessageBox,加载,释放,取函数,取入口,取基址,CheckDataValide,CalcTotalImageSize,GetAlignedSize,CopyDllDatas,DoRelocation,FillRavAddress,mAlloc,mFree,取低字,取高字,RtlMoveMemory,RtlMoveMemory_整数_1,RtlMoveMemory_整数_2,RtlMoveMemory_字节集_1,RtlMoveMemory_字节集_2,RtlMoveMemory_数组_整数_1,RtlMoveMemory_数组_整数_2,RtlMoveMemory_数组_短整_1,RtlMoveMemory_数组_短整_2,RtlMoveMemory_IMAGE_DOS_HEADER_1,RtlMoveMemory_IMAGE_DOS_HEADER_2,RtlMoveMemory_IMAGE_NT_HEADERS_1,RtlMoveMemory_IMAGE_NT_HEADERS_2,RtlMoveMemory_IMAGE_SECTION_HEADER_1,RtlMoveMemory_IMAGE_SECTION_HEADER_2,RtlMoveMemory_IMAGE_BASE_RELOCATION_1,RtlMoveMemory_IMAGE_BASE_RELOCATION_2,RtlMoveMemory_IMAGE_IMPORT_DESCRIPTOR_1,RtlMoveMemory_IMAGE_IMPORT_DESCRIPTOR_2,RtlMoveMemory_IMAGE_IMPORT_BY_NAME_1,RtlMoveMemory_IMAGE_IMPORT_BY_NAME_2,RtlMoveMemory_IMAGE_EXPORT_DIRECTORY_1,RtlMoveMemory_IMAGE_EXPORT_DIRECTORY_2,lstrcpyn_字节集,VirtualAlloc,VirtualFree,GetProcAddress,LoadLibrary,FreeLibrary,VirtualProtect,Call,
======PELoader
| |
| |------ _启动子程序
| |
| |------ _临时子程序
| |
| |------ test
| |
| |
======调用的Dll
| |
| |---[dll]------ MessageBox
======PELoader
| |
| |------ _初始化
| |
| |------ _销毁
| |
| |------ 加载
| |
| |------ 释放
| |
| |------ 取函数
| |
| |------ 取入口
| |
| |------ 取基址
| |
| |------ CheckDataValide
| |
| |------ CalcTotalImageSize
| |
| |------ GetAlignedSize
| |
| |------ CopyDllDatas
| |
| |------ DoRelocation
| |
| |------ FillRavAddress
| |
| |
======help
| |
| |------ mAlloc
| |
| |------ mFree
| |
| |------ 取低字
| |
| |------ 取高字
| |
| |
======程序集1
| |
| |------ _启动子程序
| |
| |
======调用的Dll
| |
| |---[dll]------ RtlMoveMemory
| |
| |---[dll]------ RtlMoveMemory_整数_1
| |
| |---[dll]------ RtlMoveMemory_整数_2
| |
| |---[dll]------ RtlMoveMemory_字节集_1
| |
| |---[dll]------ RtlMoveMemory_字节集_2
| |
| |---[dll]------ RtlMoveMemory_数组_整数_1
| |
| |---[dll]------ RtlMoveMemory_数组_整数_2
| |
| |---[dll]------ RtlMoveMemory_数组_短整_1
| |
| |---[dll]------ RtlMoveMemory_数组_短整_2
| |
| |---[dll]------ RtlMoveMemory_IMAGE_DOS_HEADER_1
| |
| |---[dll]------ RtlMoveMemory_IMAGE_DOS_HEADER_2
| |
| |---[dll]------ RtlMoveMemory_IMAGE_NT_HEADERS_1
| |
| |---[dll]------ RtlMoveMemory_IMAGE_NT_HEADERS_2
| |
| |---[dll]------ RtlMoveMemory_IMAGE_SECTION_HEADER_1
| |
| |---[dll]------ RtlMoveMemory_IMAGE_SECTION_HEADER_2
| |
| |---[dll]------ RtlMoveMemory_IMAGE_BASE_RELOCATION_1
| |
| |---[dll]------ RtlMoveMemory_IMAGE_BASE_RELOCATION_2
| |
| |---[dll]------ RtlMoveMemory_IMAGE_IMPORT_DESCRIPTOR_1
| |
| |---[dll]------ RtlMoveMemory_IMAGE_IMPORT_DESCRIPTOR_2
| |
| |---[dll]------ RtlMoveMemory_IMAGE_IMPORT_BY_NAME_1
| |
| |---[dll]------ RtlMoveMemory_IMAGE_IMPORT_BY_NAME_2
| |
| |---[dll]------ RtlMoveMemory_IMAGE_EXPORT_DIRECTORY_1
| |
| |---[dll]------ RtlMoveMemory_IMAGE_EXPORT_DIRECTORY_2
| |
| |---[dll]------ lstrcpyn_字节集
| |
| |---[dll]------ VirtualAlloc
| |
| |---[dll]------ VirtualFree
| |
| |---[dll]------ GetProcAddress
| |
| |---[dll]------ LoadLibrary
| |
| |---[dll]------ FreeLibrary
| |
| |---[dll]------ VirtualProtect
======窗口程序集1
| |
| |------ _按钮1_被单击
| |
| |------ Call
调用的DLL命令:
.DLL命令 MessageBox, 整数型, , "MessageBoxA"
.参数 hWnd, 整数型
.参数 lpText, 整数型
.参数 lpCaption, 整数型
.参数 uType, 整数型
调用的DLL命令:
.DLL命令 RtlMoveMemory
.参数 Destination, 整数型
.参数 Source, 整数型
.参数 Length, 整数型
.DLL命令 RtlMoveMemory_整数_1, , , "RtlMoveMemory"
.参数 Destination, 整数型, 传址
.参数 Source, 整数型
.参数 Length, 整数型
.DLL命令 RtlMoveMemory_整数_2, , , "RtlMoveMemory"
.参数 Destination, 整数型
.参数 Source, 整数型, 传址
.参数 Length, 整数型
.DLL命令 RtlMoveMemory_字节集_1, , , "RtlMoveMemory"
.参数 Destination, 字节集
.参数 Source, 整数型
.参数 Length, 整数型
.DLL命令 RtlMoveMemory_字节集_2, , , "RtlMoveMemory"
.参数 Destination, 整数型
.参数 Source, 字节集
.参数 Length, 整数型
.DLL命令 RtlMoveMemory_数组_整数_1, , , "RtlMoveMemory"
.参数 Destination, 整数型, 数组
.参数 Source, 整数型
.参数 Length, 整数型
.DLL命令 RtlMoveMemory_数组_整数_2, , , "RtlMoveMemory"
.参数 Destination, 整数型
.参数 Source, 整数型, 数组
.参数 Length, 整数型
.DLL命令 RtlMoveMemory_数组_短整_1, , , "RtlMoveMemory"
.参数 Destination, 短整数型, 数组
.参数 Source, 整数型
.参数 Length, 整数型
.DLL命令 RtlMoveMemory_数组_短整_2, , , "RtlMoveMemory"
.参数 Destination, 整数型
.参数 Source, 短整数型, 数组
.参数 Length, 整数型
.DLL命令 RtlMoveMemory_IMAGE_DOS_HEADER_1, , , "RtlMoveMemory"
.参数 Destination, IMAGE_DOS_HEADER
.参数 Source, 整数型
.参数 Length, 整数型
.DLL命令 RtlMoveMemory_IMAGE_DOS_HEADER_2, , , "RtlMoveMemory"
.参数 Destination, 整数型
.参数 Source, IMAGE_DOS_HEADER
.参数 Length, 整数型
.DLL命令 RtlMoveMemory_IMAGE_NT_HEADERS_1, , , "RtlMoveMemory"
.参数 Destination, IMAGE_NT_HEADERS
.参数 Source, 整数型
.参数 Length, 整数型
.DLL命令 RtlMoveMemory_IMAGE_NT_HEADERS_2, , , "RtlMoveMemory"
.参数 Destination, 整数型
.参数 Source, IMAGE_NT_HEADERS
.参数 Length, 整数型
.DLL命令 RtlMoveMemory_IMAGE_SECTION_HEADER_1, , , "RtlMoveMemory"
.参数 Destination, IMAGE_SECTION_HEADER
.参数 Source, 整数型
.参数 Length, 整数型
.DLL命令 RtlMoveMemory_IMAGE_SECTION_HEADER_2, , , "RtlMoveMemory"
.参数 Destination, 整数型
.参数 Source, IMAGE_SECTION_HEADER
.参数 Length, 整数型
.DLL命令 RtlMoveMemory_IMAGE_BASE_RELOCATION_1, , , "RtlMoveMemory"
.参数 Destination, IMAGE_BASE_RELOCATION
.参数 Source, 整数型
.参数 Length, 整数型
.DLL命令 RtlMoveMemory_IMAGE_BASE_RELOCATION_2, , , "RtlMoveMemory"
.参数 Destination, 整数型
.参数 Source, IMAGE_BASE_RELOCATION
.参数 Length, 整数型
.DLL命令 RtlMoveMemory_IMAGE_IMPORT_DESCRIPTOR_1, , , "RtlMoveMemory"
.参数 Destination, IMAGE_IMPORT_DESCRIPTOR
.参数 Source, 整数型
.参数 Length, 整数型
.DLL命令 RtlMoveMemory_IMAGE_IMPORT_DESCRIPTOR_2, , , "RtlMoveMemory"
.参数 Destination, 整数型
.参数 Source, IMAGE_IMPORT_DESCRIPTOR
.参数 Length, 整数型
.DLL命令 RtlMoveMemory_IMAGE_IMPORT_BY_NAME_1, , , "RtlMoveMemory"
.参数 Destination, IMAGE_IMPORT_BY_NAME
.参数 Source, 整数型
.参数 Length, 整数型
.DLL命令 RtlMoveMemory_IMAGE_IMPORT_BY_NAME_2, , , "RtlMoveMemory"
.参数 Destination, 整数型
.参数 Source, IMAGE_IMPORT_BY_NAME
.参数 Length, 整数型
.DLL命令 RtlMoveMemory_IMAGE_EXPORT_DIRECTORY_1, , , "RtlMoveMemory"
.参数 Destination, IMAGE_EXPORT_DIRECTORY
.参数 Source, 整数型
.参数 Length, 整数型
.DLL命令 RtlMoveMemory_IMAGE_EXPORT_DIRECTORY_2, , , "RtlMoveMemory"
.参数 Destination, 整数型
.参数 Source, IMAGE_EXPORT_DIRECTORY
.参数 Length, 整数型
.DLL命令 lstrcpyn_字节集, 整数型, , "lstrcpynA"
.参数 lpString1, 字节集
.参数 lpString2, 字节集
.参数 iMaxLength, 整数型
.DLL命令 VirtualAlloc, 整数型
.参数 lpAddress, 整数型
.参数 dwSize, 整数型
.参数 flAllocationType, 整数型
.参数 flProtect, 整数型
.DLL命令 VirtualFree, 逻辑型
.参数 lpAddress, 整数型
.参数 dwSize, 整数型
.参数 dwFreeType, 整数型
.DLL命令 GetProcAddress, 整数型
.参数 hModule, 整数型
.参数 lpProcName, 整数型
.DLL命令 LoadLibrary, 整数型, , "LoadLibraryA"
.参数 lpLibFileName, 整数型
.DLL命令 FreeLibrary, 逻辑型
.参数 hLibModule, 整数型
.DLL命令 VirtualProtect, 逻辑型
.参数 lpAddress, 整数型
.参数 dwSize, 整数型
.参数 flNewProtect, 整数型
.参数 lpflOldProtect, 整数型
