
L1: 56 ?? push esi
 e8 80 e7 ff ff ?? call function 0x004010af

L2: 85 c0 ?? test eax, eax
 74 20 ?? je basic block L6

L3: 64 a1 18 00 00 00 ?? mov eax, dword fs:[0x00000018<24>]
 be 10 87 40 00 ?? mov esi, 0x00408710
 8b 50 04 ?? mov edx, dword ds:[eax + 4]
 eb 04 ?? jmp basic block L5

L4: 3b d0 ?? cmp edx, eax
 74 10 ?? je basic block L7

L5: 33 c0 ?? xor eax, eax
 8b ca ?? mov ecx, edx
 f0 0f b1 0e ?? lock cmpxchg dword ds:[esi], ecx
 85 c0 ?? test eax, eax
 75 f0 ?? jne basic block L4

L6: 32 c0 ?? xor al, al
 5e ?? pop esi
 c3 ?? ret

L7: b0 01 ?? mov al, 1
 5e ?? pop esi
 c3 ?? ret

