All pastes #556765 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-06-10 19:04 UTC
rendered paste body
.386
.model flat, stdcall
option casemap:none
include \masm32\include\windows.inc
include \masm32\include\kernel32.inc
includelib \masm32\lib\kernel32.lib
include \masm32\include\user32.inc
includelib \masm32\lib\user32.lib

.data
MsgBoxCaption db "warning", 0
MsgBoxText db "i am cool!", 0
Source db "C:\\lol.txt", 0
Destination db "C:\\omg.txt", 0

.code
start:
 invoke MessageBox, NULL, addr MsgBoxText, addr MsgBoxCaption, MB_OK
 invoke CopyFile, addr Source, addr Destination, NULL
 invoke ExitProcess, NULL
end start