Every person who is directly or indirectly the beneficial owner of more than 10 percent of any class of any equity security (other than an exempted security) which is registered pursuant to section 78l of this title, or who is a director or an officer of the issuer of such security, shall file the statements required by this subsection with the Commission.
For the purpose of preventing the unfair use of information which may have been obtained by such beneficial owner, director, or officer by reason of his relationship to the issuer, any profit realized by him from any purchase and sale, or any sale and purchase, of any equity security of such issuer (other than an exempted security) or a security-based swap agreement involving any such equity security within any period of less than six months, unless such security or security-based swap agreement was acquired in good faith in connection with a debt previously contracted, shall inure to and be recoverable by the issuer, irrespective of any intention on the part of such beneficial owner, director, or officer in entering into such transaction of holding the security or security-based swap agreement purchased or of not repurchasing the security or security-based swap agreement sold for a period exceeding six months. Suit to recover such profit may be instituted at law or in equity in any court of competent jurisdiction by the issuer, or by the owner of any security of the issuer in the name and in behalf of the issuer if the issuer shall fail or refuse to bring such suit within sixty days after request or shall fail diligently to prosecute the same thereafter; but no such suit shall be brought more than two years after the date such profit was realized. This subsection shall not be construed to cover any transaction where such beneficial owner was not such both at the time of the purchase and sale, or the sale and purchase, of the security or security-based swap agreement or a security-based swap involved, or any transaction or transactions which the Commission by rules and regulations may exempt as not comprehended within the purpose of this subsection.
It shall be unlawful for any such beneficial owner, director, or officer, directly or indirectly, to sell any equity security of such issuer (other than an exempted security), if the person selling the security or his principal (1) does not own the security sold, or (2) if owning the security, does not deliver it against such sale within twenty days thereafter, or does not within five days after such sale deposit it in the mails or other usual channels of transportation; but no person shall be deemed to have violated this subsection if he proves that notwithstanding the exercise of good faith he was unable to make such delivery or deposit within such time, or that to do so would cause undue inconvenience or expense.
The provisions of subsection (b) of this section shall not apply to any purchase and sale, or sale and purchase, and the provisions of subsection (c) of this section shall not apply to any sale, of an equity security not then or theretofore held by him in an investment account, by a dealer in the ordinary course of his business and incident to the establishment or maintenance by him of a primary or secondary market (otherwise than on a national securities exchange or an exchange exempted from registration under section 78e of this title) for such security. The Commission may, by such rules and regulations as it deems necessary or appropriate in the public interest, define and prescribe terms and conditions with respect to securities held in an investment account and transactions made in the ordinary course of business and incident to the establishment or maintenance of a primary or secondary market.