Disassembly: 
  L1: 55 ?? push ebp
   8b ec ?? mov ebp, esp
   6a ff ?? push 0xff<255,-1>
   68 60 42 40 00 ?? push 0x00404260
   64 a1 00 00 00 00 ?? mov eax, dword fs:[0]
   50 ?? push eax
   53 ?? push ebx
   56 ?? push esi
   57 ?? push edi
   a1 04 80 40 00 ?? mov eax, dword ds:[0x00408004]
   33 c5 ?? xor eax, ebp
   50 ?? push eax
   8d 45 f4 ?? lea eax, ss:[ebp + 0xf4<244,-12>]
   64 a3 00 00 00 00 ?? mov dword fs:[0], eax
   8b f9 ?? mov edi, ecx
   8b 5d 08 ?? mov ebx, dword ss:[ebp + 8]
   f6 c3 02 ?? test bl, 2
   74 40 ?? je basic block L7
  
  L2: 68 49 12 40 00 ?? push 0x00401249
   ff 77 fc ?? push dword ds:[edi + 0xfc<252,-4>]
   8d 77 fc ?? lea esi, ds:[edi + 0xfc<252,-4>]
   6a 20 ?? push 0x20<32>
   57 ?? push edi
   e8 cd fb ff ff ?? call function 0x0040114f
  
  L3: f6 c3 01 ?? test bl, 1
   74 12 ?? je basic block L6
  
  L4: 8b 0e ?? mov ecx, dword ds:[esi]
   c1 e1 05 ?? shl ecx, 5
   83 c1 04 ?? add ecx, 4
   51 ?? push ecx
   56 ?? push esi
   e8 7e fa ff ff ?? call function 0x00401014
  
  L5: 83 c4 08 ?? add esp, 8
  
  L6: 8b c6 ?? mov eax, esi
   8b 4d f4 ?? mov ecx, dword ss:[ebp + 0xf4<244,-12>]
   64 89 0d 00 00 00 00 ?? mov dword fs:[0], ecx
   59 ?? pop ecx
   5f ?? pop edi
   5e ?? pop esi
   5b ?? pop ebx
   8b e5 ?? mov esp, ebp
   5d ?? pop ebp
   c2 04 00 ?? ret 4
  
  L7: 8b 47 1c ?? mov eax, dword ds:[edi + 0x1c<28>]
   8d 77 08 ?? lea esi, ds:[edi + 8]
   83 f8 10 ?? cmp eax, 0x10<16>
   72 0e ?? jb basic block L10
  
  L8: 6a 01 ?? push 1
   40 ?? inc eax
   50 ?? push eax
   ff 36 ?? push dword ds:[esi]
   e8 2a fc ff ff ?? call function 0x004011ef
  
  L9: 83 c4 0c ?? add esp, 12
  
  L10: c7 46 14 0f 00 00 00 ?? mov dword ds:[esi + 0x14<20>], 15
   83 7e 14 10 ?? cmp dword ds:[esi + 0x14<20>], 0x10<16>
   c7 46 10 00 00 00 00 ?? mov dword ds:[esi + 0x10<16>], 0
   72 02 ?? jb basic block L12
  
  L11: 8b 36 ?? mov esi, dword ds:[esi]
  
  L12: c6 06 00 ?? mov byte ds:[esi], 0
   f6 c3 01 ?? test bl, 1
   74 0b ?? je basic block L15
  
  L13: 6a 20 ?? push 0x20<32>
   57 ?? push edi
   e8 44 fa ff ff ?? call function 0x00401032
  
  L14: 83 c4 08 ?? add esp, 8
  
  L15: 8b c7 ?? mov eax, edi
   8b 4d f4 ?? mov ecx, dword ss:[ebp + 0xf4<244,-12>]
   64 89 0d 00 00 00 00 ?? mov dword fs:[0], ecx
   59 ?? pop ecx
   5f ?? pop edi
   5e ?? pop esi
   5b ?? pop ebx
   8b e5 ?? mov esp, ebp
   5d ?? pop ebp
   c2 04 00 ?? ret 4
  
  