Disassembly: 
  L1: 8b ff ?? mov edi, edi
   55 ?? push ebp
   8b ec ?? mov ebp, esp
   51 ?? push ecx
   8b 45 08 ?? mov eax, dword ss:[ebp + 8]
   53 ?? push ebx
   56 ?? push esi
   57 ?? push edi
   6a 3e ?? push 0x3e<62>
   33 d2 ?? xor edx, edx
   59 ?? pop ecx
   f7 f1 ?? div ecx
   33 f6 ?? xor esi, esi
   8d 04 95 58 5f 44 00 ?? lea eax, ds:[0x00445f58 + edx * 4]
   89 45 fc ?? mov dword ss:[ebp + 0xfc<252,-4>], eax
  
  L2: 8b 45 fc ?? mov eax, dword ss:[ebp + 0xfc<252,-4>]
   8b 38 ?? mov edi, dword ds:[eax]
   8b df ?? mov ebx, edi
   85 ff ?? test edi, edi
   74 0e ?? je basic block L5
  
  L3: 8b 43 04 ?? mov eax, dword ds:[ebx + 4]
   3b 45 08 ?? cmp eax, dword ss:[ebp + 8]
   74 45 ?? je basic block L15
  
  L4: 8b 1b ?? mov ebx, dword ds:[ebx]
   85 db ?? test ebx, ebx
   75 f2 ?? jne basic block L3
  
  L5: 85 f6 ?? test esi, esi
   75 22 ?? jne basic block L11
  
  L6: 6a 0c ?? push 12
   e8 12 60 00 00 ?? call function 0x0040f4c0
  
  L7: 8b f0 ?? mov esi, eax
   59 ?? pop ecx
   85 f6 ?? test esi, esi
   74 4d ?? je basic block L22
  
  L8: 8b 5d 08 ?? mov ebx, dword ss:[ebp + 8]
   53 ?? push ebx
   e8 6b ff ff ff ?? call function 0x00409429
  
  L9: 59 ?? pop ecx
   89 46 08 ?? mov dword ds:[esi + 8], eax
   85 c0 ?? test eax, eax
   74 35 ?? je basic block L20
  
  L10: 89 5e 04 ?? mov dword ds:[esi + 4], ebx
  
  L11: 57 ?? push edi
   56 ?? push esi
   ff 75 fc ?? push dword ss:[ebp + 0xfc<252,-4>]
   89 3e ?? mov dword ds:[esi], edi
   ff 15 1c 92 44 00 ?? call dword ds:[0x0044921c]
  
  L12: 3b c7 ?? cmp eax, edi
   75 b0 ?? jne basic block L2
  
  L13: 8b 46 08 ?? mov eax, dword ds:[esi + 8]
  
  L14: 5f ?? pop edi
   5e ?? pop esi
   5b ?? pop ebx
   c9 ?? leave
   c3 ?? ret
  
  L15: 85 f6 ?? test esi, esi
   74 10 ?? je basic block L19
  
  L16: ff 76 08 ?? push dword ds:[esi + 8]
   e8 d2 3c 00 00 ?? call function 0x0040d1c0
  
  L17: 56 ?? push esi
   e8 ca 13 00 00 ?? call function 0x0040a8be
  
  L18: 59 ?? pop ecx
   59 ?? pop ecx
  
  L19: 8b 43 08 ?? mov eax, dword ds:[ebx + 8]
   eb e2 ?? jmp basic block L14
  
  L20: 56 ?? push esi
   e8 bd 13 00 00 ?? call function 0x0040a8be
  
  L21: 59 ?? pop ecx
  
  L22: 33 c0 ?? xor eax, eax
   eb d7 ?? jmp basic block L14
  
  