Somewhat related: &quot;Why do Windows functions all begin with a pointless MOV EDI, EDI instruction?&quot; <a href="https:&#x2F;&#x2F;blogs.msdn.microsoft.com&#x2F;oldnewthing&#x2F;20110921-00&#x2F;?p=9583" rel="nofollow">https:&#x2F;&#x2F;blogs.msdn.microsoft.com&#x2F;oldnewthing&#x2F;20110921-00&#x2F;?p=...</a>