Disassembly: 
  L1: 8b ff ?? mov edi, edi
   55 ?? push ebp
   8b ec ?? mov ebp, esp
   51 ?? push ecx
   51 ?? push ecx
   53 ?? push ebx
   56 ?? push esi
   33 f6 ?? xor esi, esi
   57 ?? push edi
   8b 3d 74 94 42 00 ?? mov edi, dword ds:[0x00429474]
   89 75 fc ?? mov dword ss:[ebp + 0xfc<252,-4>], esi
   8b 07 ?? mov eax, dword ds:[edi]
   3b c6 ?? cmp eax, esi
   74 65 ?? je basic block L15
  
  L2: 8b 1d 2c a2 42 00 ?? mov ebx, dword ds:[0x0042a22c]
  
  L3: 56 ?? push esi
   56 ?? push esi
   56 ?? push esi
   56 ?? push esi
   6a ff ?? push 0xff<255,-1>
   50 ?? push eax
   56 ?? push esi
   56 ?? push esi
   ff d3 ?? call ebx
  
  L4: 89 45 f8 ?? mov dword ss:[ebp + 0xf8<248,-8>], eax
   3b c6 ?? cmp eax, esi
   74 54 ?? je basic block L17
  
  L5: 6a 01 ?? push 1
   50 ?? push eax
   e8 44 e3 fe ff ?? call function 0x004066e8
  
  L6: 59 ?? pop ecx
   59 ?? pop ecx
   89 45 fc ?? mov dword ss:[ebp + 0xfc<252,-4>], eax
   3b c6 ?? cmp eax, esi
   74 43 ?? je basic block L17
  
  L7: 56 ?? push esi
   56 ?? push esi
   ff 75 f8 ?? push dword ss:[ebp + 0xf8<248,-8>]
   50 ?? push eax
   6a ff ?? push 0xff<255,-1>
   ff 37 ?? push dword ds:[edi]
   56 ?? push esi
   56 ?? push esi
   ff d3 ?? call ebx
  
  L8: 85 c0 ?? test eax, eax
   74 36 ?? je basic block L18
  
  L9: 8d 45 fc ?? lea eax, ss:[ebp + 0xfc<252,-4>]
   56 ?? push esi
   50 ?? push eax
   e8 94 06 00 00 ?? call function 0x00418a5d
  
  L10: 59 ?? pop ecx
   59 ?? pop ecx
   85 c0 ?? test eax, eax
   7d 11 ?? jge basic block L14
  
  L11: 39 75 fc ?? cmp dword ss:[ebp + 0xfc<252,-4>], esi
   74 0c ?? je basic block L14
  
  L12: ff 75 fc ?? push dword ss:[ebp + 0xfc<252,-4>]
   e8 cb 95 fe ff ?? call function 0x004019a7
  
  L13: 59 ?? pop ecx
   89 75 fc ?? mov dword ss:[ebp + 0xfc<252,-4>], esi
  
  L14: 83 c7 04 ?? add edi, 4
   8b 07 ?? mov eax, dword ds:[edi]
   3b c6 ?? cmp eax, esi
   75 a1 ?? jne basic block L3
  
  L15: 33 c0 ?? xor eax, eax
  
  L16: 5f ?? pop edi
   5e ?? pop esi
   5b ?? pop ebx
   c9 ?? leave
   c3 ?? ret
  
  L17: 83 c8 ff ?? or eax, 0xff<255,-1>
   eb f6 ?? jmp basic block L16
  
  L18: ff 75 fc ?? push dword ss:[ebp + 0xfc<252,-4>]
   e8 aa 95 fe ff ?? call function 0x004019a7
  
  L19: 59 ?? pop ecx
   eb f0 ?? jmp basic block L17
  
  