Disassembly: 
  L1: 8b ff ?? mov edi, edi
   55 ?? push ebp
   8b ec ?? mov ebp, esp
   8b 4d 08 ?? mov ecx, dword ss:[ebp + 8]
   eb 07 ?? jmp basic block L4
  
  L2: 49 ?? dec ecx
   80 38 00 ?? cmp byte ds:[eax], 0
   74 06 ?? je basic block L6
  
  L3: 40 ?? inc eax
  
  L4: 85 c9 ?? test ecx, ecx
   75 f5 ?? jne basic block L2
  
  L5: 49 ?? dec ecx
  
  L6: 8b 45 08 ?? mov eax, dword ss:[ebp + 8]
   2b c1 ?? sub eax, ecx
   48 ?? dec eax
   5d ?? pop ebp
   c3 ?? ret
  
  