title: Stuck with Disassembly
body: <p>Need some help with one function, I think it's not hard, could someone translate this to C so I can pick up the logic from there? </p>
  
  <pre><code>0x004011cf mov al, byte [esi]
  
  | : 0x004011d1 and eax, 0xff
  
  | : 0x004011d6 mul ebx
  
  | : 0x004011d8 inc esi
  
  | : 0x004011d9 add edi, eax
  
  | : 0x004011db inc ebx
  
  | : 0x004011dc dec ecx
  
  | `=&lt; 0x004011dd jne 0x4011cf
  </code></pre>