Is this any use ? This is about the simplest example I can think of. Attached file has the build batch file.
; ¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
include \masm32\include64\masm64rt.inc
.code
; ¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
entry_point proc
conout "Arrrrgh, G'Day",lf,lf
waitkey
invoke ExitProcess,0
ret
entry_point endp
; ¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
end
comment *
.text:0000000140001000 C8800000 enter 0x80, 0x0
.text:0000000140001004 4883EC60 sub rsp, 0x60
.text:0000000140001008 488B0D60100000 mov rcx, qword ptr [0x14000206f]
.text:000000014000100f E84C000000 call sub_140001060
.text:0000000140001014 488B0D5F100000 mov rcx, qword ptr [0x14000207a]
.text:000000014000101b E840000000 call sub_140001060
.text:0000000140001020 488B0D5E100000 mov rcx, qword ptr [0x140002085]
.text:0000000140001027 E834000000 call sub_140001060
.text:000000014000102c 488B0D7A100000 mov rcx, qword ptr [0x1400020ad]
.text:0000000140001033 E828000000 call sub_140001060
.text:0000000140001038 488B0D79100000 mov rcx, qword ptr [0x1400020b8]
.text:000000014000103f E81C000000 call sub_140001060
.text:0000000140001044 E897000000 call sub_1400010e0
.text:0000000140001049 48C7C100000000 mov rcx, 0x0
.text:0000000140001050 FF15CA110000 call qword ptr [ExitProcess]
.text:0000000140001056 C9 leave
.text:0000000140001057 C3 ret
.text:0000000140001058 CC int3
.text:0000000140001059 CC int3
.text:000000014000105a CC int3
.text:000000014000105b CC int3
.text:000000014000105c CC int3
.text:000000014000105d CC int3
.text:000000014000105e CC int3
.text:000000014000105f CC int3
sub_140001060 proc
.text:0000000140001060 local local_1: qword ; [rsp+0x20]
.text:0000000140001060
.text:0000000140001060 C8800000 enter 0x80, 0x0
.text:0000000140001064 4883EC70 sub rsp, 0x70
.text:0000000140001068 4C8925AD100000 mov qword ptr [0x14000211c], r12
.text:000000014000106f 4C892DAE100000 mov qword ptr [0x140002124], r13
.text:0000000140001076 4C8935AF100000 mov qword ptr [0x14000212c], r14
.text:000000014000107d 4C8BE1 mov r12, rcx
.text:0000000140001080 48C7C1F5FFFFFF mov rcx, -0xb
.text:0000000140001087 FF159B110000 call qword ptr [GetStdHandle]
.text:000000014000108d 4C8BE8 mov r13, rax
.text:0000000140001090 498BC4 mov rax, r12
.text:0000000140001093 4883E801 sub rax, 0x1
.text:0000000140001097
.text:0000000140001097 0x140001097:
.text:0000000140001097 4883C001 add rax, 0x1
.text:000000014000109b 803800 cmp byte ptr [rax], 0x0
.text:000000014000109e 75F7 jne 0x140001097
.text:00000001400010a0 492BC4 sub rax, r12
.text:00000001400010a3 4C8BF0 mov r14, rax
.text:00000001400010a6 498BCD mov rcx, r13
.text:00000001400010a9 498BD4 mov rdx, r12
.text:00000001400010ac 4D8BC6 mov r8, r14
.text:00000001400010af 4C8D4D90 lea r9, [rbp-0x70]
.text:00000001400010b3 48C744242000000000 mov qword ptr [local_1], 0x0
.text:00000001400010bc FF156E110000 call qword ptr [WriteFile]
.text:00000001400010c2 488B4590 mov rax, qword ptr [rbp-0x70]
.text:00000001400010c6 4C8B254F100000 mov r12, qword ptr [0x14000211c]
.text:00000001400010cd 4C8B2D50100000 mov r13, qword ptr [0x140002124]
.text:00000001400010d4 4C8B3551100000 mov r14, qword ptr [0x14000212c]
.text:00000001400010db C9 leave
.text:00000001400010dc C3 ret
sub_140001060 endp
; --------------------------------------------------------------------------
; sub_1400010e0
; --------------------------------------------------------------------------
sub_1400010e0 proc
.text:00000001400010e0 C8800000 enter 0x80, 0x0
.text:00000001400010e4 4883EC60 sub rsp, 0x60
.text:00000001400010e8 48C7C1F6FFFFFF mov rcx, -0xa
.text:00000001400010ef FF1533110000 call qword ptr [GetStdHandle]
.text:00000001400010f5 488BC8 mov rcx, rax
.text:00000001400010f8 FF153A110000 call qword ptr [FlushConsoleInputBuffer]
.text:00000001400010fe
.text:00000001400010fe 0x1400010fe:
.text:00000001400010fe 48C7C101000000 mov rcx, 0x1
.text:0000000140001105 48C7C200000000 mov rdx, 0x0
.text:000000014000110c FF152E110000 call qword ptr [SleepEx]
.text:0000000140001112 FF1538110000 call qword ptr [_kbhit]
.text:0000000140001118 4885C0 test rax, rax
.text:000000014000111b 74E1 je 0x1400010fe
.text:000000014000111d FF1535110000 call qword ptr [_getch]
.text:0000000140001123 C9 leave
.text:0000000140001124 C3 ret
sub_1400010e0 endp
*