Disassembly: 
  L1: 8b ff ?? mov edi, edi
   55 ?? push ebp
   8b ec ?? mov ebp, esp
   a1 b0 98 42 00 ?? mov eax, dword ds:[0x004298b0]
   83 ec 0c ?? sub esp, 12
   53 ?? push ebx
   56 ?? push esi
   8b 35 30 a2 42 00 ?? mov esi, dword ds:[0x0042a230]
   57 ?? push edi
   33 db ?? xor ebx, ebx
   33 ff ?? xor edi, edi
   3b c3 ?? cmp eax, ebx
   75 2e ?? jne basic block L9
  
  L2: ff d6 ?? call esi
  
  L3: 8b f8 ?? mov edi, eax
   3b fb ?? cmp edi, ebx
   74 0c ?? je basic block L5
  
  L4: c7 05 b0 98 42 00 01 00 ?? mov dword ds:[0x004298b0], 1
   00 00
   eb 23 ?? jmp basic block L10
  
  L5: ff 15 bc a1 42 00 ?? call dword ds:[0x0042a1bc]
  
  L6: 83 f8 78 ?? cmp eax, 0x78<120>
   75 0a ?? jne basic block L8
  
  L7: 6a 02 ?? push 2
   58 ?? pop eax
   a3 b0 98 42 00 ?? mov dword ds:[0x004298b0], eax
   eb 05 ?? jmp basic block L9
  
  L8: a1 b0 98 42 00 ?? mov eax, dword ds:[0x004298b0]
  
  L9: 83 f8 01 ?? cmp eax, 1
   0f 85 81 00 00 00 ?? jne basic block L28
  
  L10: 3b fb ?? cmp edi, ebx
   75 0f ?? jne basic block L14
  
  L11: ff d6 ?? call esi
  
  L12: 8b f8 ?? mov edi, eax
   3b fb ?? cmp edi, ebx
   75 07 ?? jne basic block L14
  
  L13: 33 c0 ?? xor eax, eax
   e9 ca 00 00 00 ?? jmp basic block L42
  
  L14: 8b c7 ?? mov eax, edi
   66 39 1f ?? cmp word ds:[edi], bx
   74 0e ?? je basic block L17
  
  L15: 40 ?? inc eax
   40 ?? inc eax
   66 39 18 ?? cmp word ds:[eax], bx
   75 f9 ?? jne basic block L15
  
  L16: 40 ?? inc eax
   40 ?? inc eax
   66 39 18 ?? cmp word ds:[eax], bx
   75 f2 ?? jne basic block L15
  
  L17: 8b 35 2c a2 42 00 ?? mov esi, dword ds:[0x0042a22c]
   53 ?? push ebx
   53 ?? push ebx
   53 ?? push ebx
   2b c7 ?? sub eax, edi
   53 ?? push ebx
   d1 f8 ?? sar eax, 1
   40 ?? inc eax
   50 ?? push eax
   57 ?? push edi
   53 ?? push ebx
   53 ?? push ebx
   89 45 f4 ?? mov dword ss:[ebp + 0xf4<244,-12>], eax
   ff d6 ?? call esi
  
  L18: 89 45 f8 ?? mov dword ss:[ebp + 0xf8<248,-8>], eax
   3b c3 ?? cmp eax, ebx
   74 2f ?? je basic block L26
  
  L19: 50 ?? push eax
   e8 29 1f 00 00 ?? call function 0x004066a3
  
  L20: 59 ?? pop ecx
   89 45 fc ?? mov dword ss:[ebp + 0xfc<252,-4>], eax
   3b c3 ?? cmp eax, ebx
   74 21 ?? je basic block L26
  
  L21: 53 ?? push ebx
   53 ?? push ebx
   ff 75 f8 ?? push dword ss:[ebp + 0xf8<248,-8>]
   50 ?? push eax
   ff 75 f4 ?? push dword ss:[ebp + 0xf4<244,-12>]
   57 ?? push edi
   53 ?? push ebx
   53 ?? push ebx
   ff d6 ?? call esi
  
  L22: 85 c0 ?? test eax, eax
   75 0c ?? jne basic block L25
  
  L23: ff 75 fc ?? push dword ss:[ebp + 0xfc<252,-4>]
   e8 0b d2 ff ff ?? call function 0x004019a7
  
  L24: 59 ?? pop ecx
   89 5d fc ?? mov dword ss:[ebp + 0xfc<252,-4>], ebx
  
  L25: 8b 5d fc ?? mov ebx, dword ss:[ebp + 0xfc<252,-4>]
  
  L26: 57 ?? push edi
   ff 15 28 a2 42 00 ?? call dword ds:[0x0042a228]
  
  L27: 8b c3 ?? mov eax, ebx
   eb 5c ?? jmp basic block L42
  
  L28: 83 f8 02 ?? cmp eax, 2
   74 04 ?? je basic block L30
  
  L29: 3b c3 ?? cmp eax, ebx
   75 82 ?? jne basic block L13
  
  L30: ff 15 24 a2 42 00 ?? call dword ds:[0x0042a224]
  
  L31: 8b f0 ?? mov esi, eax
   3b f3 ?? cmp esi, ebx
   0f 84 72 ff ff ff ?? je basic block L13
  
  L32: 38 1e ?? cmp byte ds:[esi], bl
   74 0a ?? je basic block L35
  
  L33: 40 ?? inc eax
   38 18 ?? cmp byte ds:[eax], bl
   75 fb ?? jne basic block L33
  
  L34: 40 ?? inc eax
   38 18 ?? cmp byte ds:[eax], bl
   75 f6 ?? jne basic block L33
  
  L35: 2b c6 ?? sub eax, esi
   40 ?? inc eax
   50 ?? push eax
   89 45 f8 ?? mov dword ss:[ebp + 0xf8<248,-8>], eax
   e8 c2 1e 00 00 ?? call function 0x004066a3
  
  L36: 8b f8 ?? mov edi, eax
   59 ?? pop ecx
   3b fb ?? cmp edi, ebx
   75 0c ?? jne basic block L39
  
  L37: 56 ?? push esi
   ff 15 20 a2 42 00 ?? call dword ds:[0x0042a220]
  
  L38: e9 45 ff ff ff ?? jmp basic block L13
  
  L39: ff 75 f8 ?? push dword ss:[ebp + 0xf8<248,-8>]
   56 ?? push esi
   57 ?? push edi
   e8 f2 52 00 00 ?? call function 0x00409af0
  
  L40: 83 c4 0c ?? add esp, 12
   56 ?? push esi
   ff 15 20 a2 42 00 ?? call dword ds:[0x0042a220]
  
  L41: 8b c7 ?? mov eax, edi
  
  L42: 5f ?? pop edi
   5e ?? pop esi
   5b ?? pop ebx
   c9 ?? leave
   c3 ?? ret
  
  