Hi,
Try to put the following code before exiting the process:
.Data
szBuffer DB "Press <Enter> to exit", 0
.Code
Invoke GetStdHandle, STD_INPUT_HANDLE
Mov Rcx, Rax
Invoke ReadConsole, Rcx, Addr szBuffer, 21, Addr lpOuput, NULL ; 21 = length of szBuffer