Disassembly: 
  L1: 8b ff ?? mov edi, edi
   55 ?? push ebp
   8b ec ?? mov ebp, esp
   56 ?? push esi
   8b 75 08 ?? mov esi, dword ss:[ebp + 8]
   56 ?? push esi
   e8 40 d4 fe ff ?? call function 0x00415073
  
  L2: 50 ?? push eax
   e8 4c ab ff ff ?? call function 0x00422785
  
  L3: 59 ?? pop ecx
   59 ?? pop ecx
   85 c0 ?? test eax, eax
   74 7c ?? je basic block L17
  
  L4: e8 70 3c fe ff ?? call function 0x0040b8b4
  
  L5: 83 c0 20 ?? add eax, 0x20<32>
   3b f0 ?? cmp esi, eax
   75 04 ?? jne basic block L7
  
  L6: 33 c0 ?? xor eax, eax
   eb 0f ?? jmp basic block L10
  
  L7: e8 60 3c fe ff ?? call function 0x0040b8b4
  
  L8: 83 c0 40 ?? add eax, 0x40<64>
   3b f0 ?? cmp esi, eax
   75 60 ?? jne basic block L17
  
  L9: 33 c0 ?? xor eax, eax
   40 ?? inc eax
  
  L10: ff 05 7c 60 44 00 ?? inc dword ds:[0x0044607c]
   f7 46 0c 0c 01 00 00 ?? test dword ds:[esi + 12], 0x0000010c<268>
   75 4e ?? jne basic block L17
  
  L11: 53 ?? push ebx
   57 ?? push edi
   8d 3c 85 3c 6b 44 00 ?? lea edi, ds:[0x00446b3c + eax * 4]
   83 3f 00 ?? cmp dword ds:[edi], 0
   bb 00 10 00 00 ?? mov ebx, 0x00001000<4096>
   75 20 ?? jne basic block L15
  
  L12: 53 ?? push ebx
   e8 3a 78 fe ff ?? call function 0x0040f4c0
  
  L13: 59 ?? pop ecx
   89 07 ?? mov dword ds:[edi], eax
   85 c0 ?? test eax, eax
   75 13 ?? jne basic block L15
  
  L14: 8d 46 14 ?? lea eax, ds:[esi + 0x14<20>]
   6a 02 ?? push 2
   89 46 08 ?? mov dword ds:[esi + 8], eax
   89 06 ?? mov dword ds:[esi], eax
   58 ?? pop eax
   89 46 18 ?? mov dword ds:[esi + 0x18<24>], eax
   89 46 04 ?? mov dword ds:[esi + 4], eax
   eb 0d ?? jmp basic block L16
  
  L15: 8b 3f ?? mov edi, dword ds:[edi]
   89 7e 08 ?? mov dword ds:[esi + 8], edi
   89 3e ?? mov dword ds:[esi], edi
   89 5e 18 ?? mov dword ds:[esi + 0x18<24>], ebx
   89 5e 04 ?? mov dword ds:[esi + 4], ebx
  
  L16: 81 4e 0c 02 11 00 00 ?? or dword ds:[esi + 12], 0x00001102<4354>
   33 c0 ?? xor eax, eax
   5f ?? pop edi
   40 ?? inc eax
   5b ?? pop ebx
   eb 02 ?? jmp basic block L18
  
  L17: 33 c0 ?? xor eax, eax
  
  L18: 5e ?? pop esi
   5d ?? pop ebp
   c3 ?? ret
  
  