format PE GUI 4.0
entry start
include 'win32a.inc'
section '.data' readable writable
title db 'FASM',0
message db 'Thank you Tomasz and revolution for making this possible!',0
section '.code' code readable writable executable
start:
push 0x40
push title
push message
push 0
call [MessageBox]
push eax
call [ExitProcess]
section '.idata' import readable writable
library kernel,'KERNEL32.DLL',\
user,'USER32.DLL'
import kernel,\
ExitProcess,'ExitProcess'
import user,\
MessageBox,'MessageBoxA'
section '.rsrc' resource data readable
directory 24,manifest
resource manifest,\
1, LANG_NEUTRAL, winxp
resdata winxp
; file 'manifest.xml'
db '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>',13,10
db '<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">',13,10
db '<assemblyIdentity',13,10
db 'version="1.0.0.0"',13,10
db 'processorArchitecture="X86"',13,10
db 'name="CompanyName.ProductName.Application"',13,10
db 'type="win32"',13,10
db '/>',13,10
db '<description>Your application description here.</description>',13,10
db '<dependency>',13,10
db '<dependentAssembly>',13,10
db '<assemblyIdentity',13,10
db 'type="win32"',13,10
db 'name="Microsoft.Windows.Common-Controls"',13,10
db 'version="6.0.0.0"',13,10
db 'processorArchitecture="X86"',13,10
db 'publicKeyToken="6595b64144ccf1df"',13,10
db 'language="*"',13,10
db '/>',13,10
db '</dependentAssembly>',13,10
db '</dependency>',13,10
db '</assembly>'
endres