2009 Apr 1, 6:19"The first four parameters to a function are passed in rcx, rdx, r8 and r9. Any further parameters are pushed on the stack. Furthermore, space for the register parameters is reserved on the stack, in
case the called function wants to spill them; this is important if the function is variadic."
amd64 calling-convention debug x64 msdn raymond-chen assembly