The esp register is the CPU stack pointer, which is used to address the stack’s top location.
On Intel systems, the stack starts at the end and grows toward the beginning of the memory
area. Right after switching from User Mode to Kernel Mode, the kernel stack of a process is
always empty, and therefore the esp register points to the byte immediately following
the memory area.