
L1: 55 ?? push ebp
 8b ec ?? mov ebp, esp
 6a ff ?? push 0xff<255,-1>
 68 2e 97 42 00 ?? push 0x0042972e
 64 a1 00 00 00 00 ?? mov eax, dword fs:[0]
 50 ?? push eax
 81 ec d0 00 00 00 ?? sub esp, 0x000000d0<208>
 a1 f0 43 43 00 ?? mov eax, dword ds:[0x004343f0]
 33 c5 ?? xor eax, ebp
 50 ?? push eax
 8d 45 f4 ?? lea eax, ss:[ebp + 0xf4<244,-12>]
 64 a3 00 00 00 00 ?? mov dword fs:[0], eax
 89 8d 24 ff ff ff ?? mov dword ss:[ebp + 0xffffff24<4294967076,-220>], ecx
 8b 45 08 ?? mov eax, dword ss:[ebp + 8]
 83 e0 17 ?? and eax, 0x17<23>
 8b 8d 24 ff ff ff ?? mov ecx, dword ss:[ebp + 0xffffff24<4294967076,-220>]
 89 41 08 ?? mov dword ds:[ecx + 8], eax
 8b 95 24 ff ff ff ?? mov edx, dword ss:[ebp + 0xffffff24<4294967076,-220>]
 8b 85 24 ff ff ff ?? mov eax, dword ss:[ebp + 0xffffff24<4294967076,-220>]
 8b 4a 08 ?? mov ecx, dword ds:[edx + 8]
 23 48 0c ?? and ecx, dword ds:[eax + 12]
 75 05 ?? jne basic block L3

L2: e9 1a 01 00 00 ?? jmp basic block L22

L3: 0f b6 55 0c ?? movzx edx, byte ss:[ebp + 12]
 85 d2 ?? test edx, edx
 74 0e ?? je basic block L6

L4: 6a 00 ?? push 0
 6a 00 ?? push 0
 e8 12 46 00 00 ?? call function 0x00406179

L5: e9 04 01 00 00 ?? jmp basic block L22

L6: 8b 85 24 ff ff ff ?? mov eax, dword ss:[ebp + 0xffffff24<4294967076,-220>]
 8b 8d 24 ff ff ff ?? mov ecx, dword ss:[ebp + 0xffffff24<4294967076,-220>]
 8b 50 08 ?? mov edx, dword ds:[eax + 8]
 23 51 0c ?? and edx, dword ds:[ecx + 12]
 83 e2 04 ?? and edx, 4
 74 42 ?? je basic block L12

L7: 68 24 e0 42 00 ?? push 0x0042e024<"ios_base::badbit set">
 8d 4d b0 ?? lea ecx, ss:[ebp + 0xb0<176,-80>]
 e8 0f f6 ff ff ?? call function 0x0040119f

L8: c7 45 fc 00 00 00 00 ?? mov dword ss:[ebp + 0xfc<252,-4>], 0
 8d 45 b0 ?? lea eax, ss:[ebp + 0xb0<176,-80>]
 50 ?? push eax
 8d 4d cc ?? lea ecx, ss:[ebp + 0xcc<204,-52>]
 e8 b7 f4 ff ff ?? call function 0x0040105a

L9: 68 88 24 43 00 ?? push 0x00432488
 8d 4d cc ?? lea ecx, ss:[ebp + 0xcc<204,-52>]
 51 ?? push ecx
 e8 c8 45 00 00 ?? call function 0x00406179

L10: c7 45 fc ff ff ff ff ?? mov dword ss:[ebp + 0xfc<252,-4>], 0xffffffff<4294967295,-1>
 8d 4d b0 ?? lea ecx, ss:[ebp + 0xb0<176,-80>]
 e8 85 f5 ff ff ?? call function 0x00401145

L11: e9 ab 00 00 00 ?? jmp basic block L22

L12: 8b 95 24 ff ff ff ?? mov edx, dword ss:[ebp + 0xffffff24<4294967076,-220>]
 8b 85 24 ff ff ff ?? mov eax, dword ss:[ebp + 0xffffff24<4294967076,-220>]
 8b 4a 08 ?? mov ecx, dword ds:[edx + 8]
 23 48 0c ?? and ecx, dword ds:[eax + 12]
 83 e1 02 ?? and ecx, 2
 74 48 ?? je basic block L18

L13: 68 08 e0 42 00 ?? push 0x0042e008<"ios_base::failbit set">
 8d 8d 6c ff ff ff ?? lea ecx, ss:[ebp + 0xffffff6c<4294967148,-148>]
 e8 b3 f5 ff ff ?? call function 0x0040119f

L14: c7 45 fc 01 00 00 00 ?? mov dword ss:[ebp + 0xfc<252,-4>], 1
 8d 95 6c ff ff ff ?? lea edx, ss:[ebp + 0xffffff6c<4294967148,-148>]
 52 ?? push edx
 8d 4d 88 ?? lea ecx, ss:[ebp + 0x88<136,-120>]
 e8 58 f4 ff ff ?? call function 0x0040105a

L15: 68 88 24 43 00 ?? push 0x00432488
 8d 45 88 ?? lea eax, ss:[ebp + 0x88<136,-120>]
 50 ?? push eax
 e8 69 45 00 00 ?? call function 0x00406179

L16: c7 45 fc ff ff ff ff ?? mov dword ss:[ebp + 0xfc<252,-4>], 0xffffffff<4294967295,-1>
 8d 8d 6c ff ff ff ?? lea ecx, ss:[ebp + 0xffffff6c<4294967148,-148>]
 e8 23 f5 ff ff ?? call function 0x00401145

L17: eb 4c ?? jmp basic block L22

L18: 68 ec df 42 00 ?? push 0x0042dfec<"ios_base::eofbit set">
 8d 8d 28 ff ff ff ?? lea ecx, ss:[ebp + 0xffffff28<4294967080,-216>]
 e8 6b f5 ff ff ?? call function 0x0040119f

L19: c7 45 fc 02 00 00 00 ?? mov dword ss:[ebp + 0xfc<252,-4>], 2
 8d 8d 28 ff ff ff ?? lea ecx, ss:[ebp + 0xffffff28<4294967080,-216>]
 51 ?? push ecx
 8d 8d 44 ff ff ff ?? lea ecx, ss:[ebp + 0xffffff44<4294967108,-188>]
 e8 0d f4 ff ff ?? call function 0x0040105a

L20: 68 88 24 43 00 ?? push 0x00432488
 8d 95 44 ff ff ff ?? lea edx, ss:[ebp + 0xffffff44<4294967108,-188>]
 52 ?? push edx
 e8 1b 45 00 00 ?? call function 0x00406179

L21: c7 45 fc ff ff ff ff ?? mov dword ss:[ebp + 0xfc<252,-4>], 0xffffffff<4294967295,-1>
 8d 8d 28 ff ff ff ?? lea ecx, ss:[ebp + 0xffffff28<4294967080,-216>]
 e8 d5 f4 ff ff ?? call function 0x00401145

L22: 8b 4d f4 ?? mov ecx, dword ss:[ebp + 0xf4<244,-12>]
 64 89 0d 00 00 00 00 ?? mov dword fs:[0], ecx
 59 ?? pop ecx
 8b e5 ?? mov esp, ebp
 5d ?? pop ebp
 c2 08 00 ?? ret 8

