The JNO, XOR and PUSH/POP instructions can be removed. The ret will always be executed, means you don’t need to use RBX GPR. Also in 64-bit mode, when moving data to a 32-bit register (i.e, EAX) or 64-bit register (i.e., RAX), the register will be cleaned before the operation.
1
2
13
Appreciate it ! Yeah I’m diving into this just now so there’s a lot i still have to wrap my head around.
2
0
1




