Disassembly: 
  L1: 8b ff ?? mov edi, edi
   55 ?? push ebp
   8b ec ?? mov ebp, esp
   83 ec 10 ?? sub esp, 0x10<16>
   ff 75 08 ?? push dword ss:[ebp + 8]
   8d 4d f0 ?? lea ecx, ss:[ebp + 0xf0<240,-16>]
   e8 67 ea ff ff ?? call function 0x004082a9
  
  L2: 0f b6 45 0c ?? movzx eax, byte ss:[ebp + 12]
   8b 4d f4 ?? mov ecx, dword ss:[ebp + 0xf4<244,-12>]
   8a 55 14 ?? mov dl, byte ss:[ebp + 0x14<20>]
   84 54 01 1d ?? test byte ds:[ecx + eax + 0x1d<29>], dl
   75 1e ?? jne basic block L7
  
  L3: 83 7d 10 00 ?? cmp dword ss:[ebp + 0x10<16>], 0
   74 12 ?? je basic block L5
  
  L4: 8b 4d f0 ?? mov ecx, dword ss:[ebp + 0xf0<240,-16>]
   8b 89 c8 00 00 00 ?? mov ecx, dword ds:[ecx + 0x000000c8<200>]
   0f b7 04 41 ?? movzx eax, word ds:[ecx + eax * 2]
   23 45 10 ?? and eax, dword ss:[ebp + 0x10<16>]
   eb 02 ?? jmp basic block L6
  
  L5: 33 c0 ?? xor eax, eax
  
  L6: 85 c0 ?? test eax, eax
   74 03 ?? je basic block L8
  
  L7: 33 c0 ?? xor eax, eax
   40 ?? inc eax
  
  L8: 80 7d fc 00 ?? cmp byte ss:[ebp + 0xfc<252,-4>], 0
   74 07 ?? je basic block L10
  
  L9: 8b 4d f8 ?? mov ecx, dword ss:[ebp + 0xf8<248,-8>]
   83 61 70 fd ?? and dword ds:[ecx + 0x70<112>], 0xfd<253,-3>
  
  L10: c9 ?? leave
   c3 ?? ret
  
  