Link to this headingWindows
Link to this headingSyscalls
Check syscall number from this site.
Sample Syscall:
section .text
; NtTerminateProcess for Win 10 build 22000
mov eax, 0x2C
; HANDLE -1 = This process
mov r10, -1
; exit code
mov rdx, 77
syscall