Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .MODEL FLAT, STDCALL
- OPTION NOKEYWORD:<size>
- OPTION PROLOGUE:NONE
- OPTION EPILOGUE:NONE
- .CODE
- __MyMemcpy PROC _dest : DWORD, _source : DWORD, _size : DWORD
- PUSH ESI
- PUSH EDI
- MOV EDI, DWORD PTR [ESP + 0CH]
- MOV ESI, DWORD PTR [ESP + 10H]
- MOV ECX, DWORD PTR [ESP + 14H]
- __AGAIN:
- LODSB
- STOSB
- LOOP __AGAIN
- POP EDI
- POP ESI
- RETN 0CH
- __MyMemcpy ENDP
- END
Add Comment
Please, Sign In to add comment