Disassembly: 
  L1: 55 ?? push ebp
   8b ec ?? mov ebp, esp
   8b 45 08 ?? mov eax, dword ss:[ebp + 8]
   85 c0 ?? test eax, eax
   75 08 ?? jne basic block L3
  
  L2: 33 c9 ?? xor ecx, ecx
   8b c1 ?? mov eax, ecx
   5d ?? pop ebp
   c2 04 00 ?? ret 4
  
  L3: 3d 00 10 00 00 ?? cmp eax, 0x00001000<4096>
   72 25 ?? jb basic block L8
  
  L4: 8d 48 23 ?? lea ecx, ds:[eax + 0x23<35>]
   3b c8 ?? cmp ecx, eax
   77 06 ?? ja basic block L6
  
  L5: ff 15 84 40 40 00 ?? call dword ds:[0x00404084<".L@">]
  
  L6: 51 ?? push ecx
   e8 09 04 00 00 ?? call function 0x004021f5
  
  L7: 83 c4 04 ?? add esp, 4
   8d 48 23 ?? lea ecx, ds:[eax + 0x23<35>]
   83 e1 e0 ?? and ecx, 0xe0<224,-32>
   89 41 fc ?? mov dword ds:[ecx + 0xfc<252,-4>], eax
   8b c1 ?? mov eax, ecx
   5d ?? pop ebp
   c2 04 00 ?? ret 4
  
  L8: 50 ?? push eax
   e8 f1 03 00 00 ?? call function 0x004021f5
  
  L9: 83 c4 04 ?? add esp, 4
   8b c8 ?? mov ecx, eax
   5d ?? pop ebp
   c2 04 00 ?? ret 4
  
  