Disassembly: 
  L1: 55 ?? push ebp
   8b ec ?? mov ebp, esp
   83 ec 10 ?? sub esp, 0x10<16>
   89 7d fc ?? mov dword ss:[ebp + 0xfc<252,-4>], edi
   8b 45 08 ?? mov eax, dword ss:[ebp + 8]
   99 ?? cdq
   8b f8 ?? mov edi, eax
   33 fa ?? xor edi, edx
   2b fa ?? sub edi, edx
   83 e7 0f ?? and edi, 15
   33 fa ?? xor edi, edx
   2b fa ?? sub edi, edx
   85 ff ?? test edi, edi
   75 3c ?? jne basic block L7
  
  L2: 8b 4d 10 ?? mov ecx, dword ss:[ebp + 0x10<16>]
   8b d1 ?? mov edx, ecx
   83 e2 7f ?? and edx, 0x7f<127>
   89 55 f4 ?? mov dword ss:[ebp + 0xf4<244,-12>], edx
   3b ca ?? cmp ecx, edx
   74 12 ?? je basic block L5
  
  L3: 2b ca ?? sub ecx, edx
   51 ?? push ecx
   50 ?? push eax
   e8 73 ff ff ff ?? call function 0x00416068
  
  L4: 83 c4 08 ?? add esp, 8
   8b 45 08 ?? mov eax, dword ss:[ebp + 8]
   8b 55 f4 ?? mov edx, dword ss:[ebp + 0xf4<244,-12>]
  
  L5: 85 d2 ?? test edx, edx
   74 45 ?? je basic block L9
  
  L6: 03 45 10 ?? add eax, dword ss:[ebp + 0x10<16>]
   2b c2 ?? sub eax, edx
   89 45 f8 ?? mov dword ss:[ebp + 0xf8<248,-8>], eax
   33 c0 ?? xor eax, eax
   8b 7d f8 ?? mov edi, dword ss:[ebp + 0xf8<248,-8>]
   8b 4d f4 ?? mov ecx, dword ss:[ebp + 0xf4<244,-12>]
   f3 aa ?? rep_stosb
   8b 45 08 ?? mov eax, dword ss:[ebp + 8]
   eb 2e ?? jmp basic block L9
  
  L7: f7 df ?? neg edi
   83 c7 10 ?? add edi, 0x10<16>
   89 7d f0 ?? mov dword ss:[ebp + 0xf0<240,-16>], edi
   33 c0 ?? xor eax, eax
   8b 7d 08 ?? mov edi, dword ss:[ebp + 8]
   8b 4d f0 ?? mov ecx, dword ss:[ebp + 0xf0<240,-16>]
   f3 aa ?? rep_stosb
   8b 45 f0 ?? mov eax, dword ss:[ebp + 0xf0<240,-16>]
   8b 4d 08 ?? mov ecx, dword ss:[ebp + 8]
   8b 55 10 ?? mov edx, dword ss:[ebp + 0x10<16>]
   03 c8 ?? add ecx, eax
   2b d0 ?? sub edx, eax
   52 ?? push edx
   6a 00 ?? push 0
   51 ?? push ecx
   e8 7e ff ff ff ?? call basic block L1
  
  L8: 83 c4 0c ?? add esp, 12
   8b 45 08 ?? mov eax, dword ss:[ebp + 8]
  
  L9: 8b 7d fc ?? mov edi, dword ss:[ebp + 0xfc<252,-4>]
   8b e5 ?? mov esp, ebp
   5d ?? pop ebp
   c3 ?? ret
  
  