Disassembly: 
  L1: 55 ?? push ebp
   8b ec ?? mov ebp, esp
   83 ec 08 ?? sub esp, 8
   89 4d f8 ?? mov dword ss:[ebp + 0xf8<248,-8>], ecx
   c7 45 fc 00 00 00 00 ?? mov dword ss:[ebp + 0xfc<252,-4>], 0
   8b 45 f8 ?? mov eax, dword ss:[ebp + 0xf8<248,-8>]
   8b 08 ?? mov ecx, dword ds:[eax]
   83 c1 18 ?? add ecx, 0x18<24>
   51 ?? push ecx
   8b 4d 08 ?? mov ecx, dword ss:[ebp + 8]
   e8 23 d3 ff ff ?? call function 0x004012e4
  
  L2: 8b 55 fc ?? mov edx, dword ss:[ebp + 0xfc<252,-4>]
   83 ca 01 ?? or edx, 1
   89 55 fc ?? mov dword ss:[ebp + 0xfc<252,-4>], edx
   8b 45 08 ?? mov eax, dword ss:[ebp + 8]
   8b e5 ?? mov esp, ebp
   5d ?? pop ebp
   c2 04 00 ?? ret 4
  
  