Author Topic: sprintf_s plus printf  (Read 663 times)

Offline alCoPaUL

  • Jr. Member
  • *
  • Posts: 73
  • Country: ph
    • Webpage
sprintf_s plus printf
« on: May 15, 2024, 09:22:14 PM »
Code: [Select]
;r9 //      sprintf_s + printf
;r8 //      by alCoPaUL [GIMO]
;rdx //         5/15/2024
;rcx //    Brigada Ocho [b8] Productions
;call // rax
global m
extern printf
extern sprintf_s
section .text
m:sub rsp,28h
lea r8,x
lea rdx,i
lea rcx,b
call sprintf_s
mov r8, rax
lea rdx,b
lea rcx,i
call printf
add rsp,28h
ret
section .data
x:db 'Revelation 13'
......
.....
....

Full file attached with the msvcrt.lib for win64asm..