Disassembly: 
  L1: 55 ?? push ebp
   8b ec ?? mov ebp, esp
   83 ec 0c ?? sub esp, 12
   a1 f0 b6 40 00 ?? mov eax, dword ds:[0x0040b6f0]
   50 ?? push eax
   e8 e9 d7 ff ff ?? call function 0x004010fa
  
  L2: 83 c4 04 ?? add esp, 4
   89 45 f4 ?? mov dword ss:[ebp + 0xf4<244,-12>], eax
   83 7d f4 ff ?? cmp dword ss:[ebp + 0xf4<244,-12>], 0xff<255,-1>
   75 26 ?? jne basic block L9
  
  L3: 8b 4d 08 ?? mov ecx, dword ss:[ebp + 8]
   51 ?? push ecx
   e8 f0 16 00 00 ?? call function 0x00405016
  
  L4: 83 c4 04 ?? add esp, 4
   85 c0 ?? test eax, eax
   75 08 ?? jne basic block L6
  
  L5: 8b 55 08 ?? mov edx, dword ss:[ebp + 8]
   89 55 fc ?? mov dword ss:[ebp + 0xfc<252,-4>], edx
   eb 07 ?? jmp basic block L7
  
  L6: c7 45 fc 00 00 00 00 ?? mov dword ss:[ebp + 0xfc<252,-4>], 0
  
  L7: 8b 45 fc ?? mov eax, dword ss:[ebp + 0xfc<252,-4>]
   eb 29 ?? jmp basic block L14
  
  L8: eb 27 ?? jmp basic block L14
  
  L9: 8b 45 08 ?? mov eax, dword ss:[ebp + 8]
   50 ?? push eax
   68 f0 b6 40 00 ?? push 0x0040b6f0
   e8 b9 16 00 00 ?? call function 0x0040500a
  
  L10: 83 c4 08 ?? add esp, 8
   85 c0 ?? test eax, eax
   75 08 ?? jne basic block L12
  
  L11: 8b 4d 08 ?? mov ecx, dword ss:[ebp + 8]
   89 4d f8 ?? mov dword ss:[ebp + 0xf8<248,-8>], ecx
   eb 07 ?? jmp basic block L13
  
  L12: c7 45 f8 00 00 00 00 ?? mov dword ss:[ebp + 0xf8<248,-8>], 0
  
  L13: 8b 45 f8 ?? mov eax, dword ss:[ebp + 0xf8<248,-8>]
  
  L14: 8b e5 ?? mov esp, ebp
   5d ?? pop ebp
   c3 ?? ret
  
  