flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Garthower 28 Jul 2008, 07:43
Try this code:
Code: format PE64 GUI DLL entry DllMain include 'C:\fasm\INCLUDE\win64a.inc' section '.code' code readable executable proc DllMain hinstDLL equ rcx fdwReasonequ equ edx lpvReserved equ r8 mov eax,TRUE ret endp section '.idata' import data readable writeable library kernel,'KERNEL32.DLL' import kernel,\ ExitProcess,'ExitProcess', \ GetCurrentProcess,'GetCurrentProcess',\ WriteProcessMemory,'WriteProcessMemory' section '.edata' export data readable export 'StackableSub.dll',\ DllMain,'DllMain' section '.reloc' fixups data discardable |
|||
![]() |
|
roxaz 28 Jul 2008, 07:56
freakin works :O thx.
EDIT: cool, i forgot code section.. what an idiot... |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.