So after reversing an x64 binary I found this sequence at the beginning of a function:
mov [rsp+8], rbx
mov [rsp+0x10], rbp
mov [rsp+0x18], rsi
push rdi
Now I've never really quite done this in assembly (am only experienced in x86). For me that would just be a local variable initialization.
Any idea why one would have such a code as the function prologue?