
L1: 55 ?? push ebp
 8b ec ?? mov ebp, esp
 6a fe ?? push 0xfe<254,-2>
 68 08 55 40 00 ?? push 0x00405508
 68 09 1b 40 00 ?? push function 0x00401b09
 64 a1 00 00 00 00 ?? mov eax, dword fs:[0]
 50 ?? push eax
 83 ec 08 ?? sub esp, 8
 53 ?? push ebx
 56 ?? push esi
 57 ?? push edi
 a1 18 60 40 00 ?? mov eax, dword ds:[0x00406018]
 31 45 f8 ?? xor dword ss:[ebp + 0xf8<248,-8>], eax
 33 c5 ?? xor eax, ebp
 50 ?? push eax
 8d 45 f0 ?? lea eax, ss:[ebp + 0xf0<240,-16>]
 64 a3 00 00 00 00 ?? mov dword fs:[0], eax
 89 65 e8 ?? mov dword ss:[ebp + 0xe8<232,-24>], esp
 c7 45 fc 00 00 00 00 ?? mov dword ss:[ebp + 0xfc<252,-4>], 0
 68 00 00 40 00 ?? push 0x00400000
 e8 7c 00 00 00 ?? call function 0x00401830

L2: 83 c4 04 ?? add esp, 4
 85 c0 ?? test eax, eax
 74 54 ?? je basic block L8

L3: 8b 45 08 ?? mov eax, dword ss:[ebp + 8]
 2d 00 00 40 00 ?? sub eax, 0x00400000
 50 ?? push eax
 68 00 00 40 00 ?? push 0x00400000
 e8 52 ff ff ff ?? call function 0x00401720

L4: 83 c4 08 ?? add esp, 8
 85 c0 ?? test eax, eax
 74 3a ?? je basic block L8

L5: 8b 40 24 ?? mov eax, dword ds:[eax + 0x24<36>]
 c1 e8 1f ?? shr eax, 0x1f<31>
 f7 d0 ?? not eax
 83 e0 01 ?? and eax, 1
 c7 45 fc fe ff ff ff ?? mov dword ss:[ebp + 0xfc<252,-4>], 0xfffffffe<4294967294,-2>
 8b 4d f0 ?? mov ecx, dword ss:[ebp + 0xf0<240,-16>]
 64 89 0d 00 00 00 00 ?? mov dword fs:[0], ecx
 59 ?? pop ecx
 5f ?? pop edi
 5e ?? pop esi
 5b ?? pop ebx
 8b e5 ?? mov esp, ebp
 5d ?? pop ebp
 c3 ?? ret

L6: 8b 45 ec ?? mov eax, dword ss:[ebp + 0xec<236,-20>]
 8b 00 ?? mov eax, dword ds:[eax]
 33 c9 ?? xor ecx, ecx
 81 38 05 00 00 c0 ?? cmp dword ds:[eax], 0xc0000005
 0f 94 c1 ?? sete cl
 8b c1 ?? mov eax, ecx
 c3 ?? ret

L7: 8b 65 e8 ?? mov esp, dword ss:[ebp + 0xe8<232,-24>]

L8: c7 45 fc fe ff ff ff ?? mov dword ss:[ebp + 0xfc<252,-4>], 0xfffffffe<4294967294,-2>
 33 c0 ?? xor eax, eax
 8b 4d f0 ?? mov ecx, dword ss:[ebp + 0xf0<240,-16>]
 64 89 0d 00 00 00 00 ?? mov dword fs:[0], ecx
 59 ?? pop ecx
 5f ?? pop edi
 5e ?? pop esi
 5b ?? pop ebx
 8b e5 ?? mov esp, ebp
 5d ?? pop ebp
 c3 ?? ret

