Suicide Squad” has topped the $500 million mark at the worldwide box office after its first 13 days in theaters.

Warner Bros. announced Thursday that the DC Entertainment supervillain mashup, which has overcome mostly dismal reviews, has totaled $509 million and will help drive the overall August box office to a record high.

Veronika Kwan Vandenberg, president of worldwide distribution, said, “It is incredibly rewarding to see audiences around the world coming out in such a big way for ‘Suicide Squad.’ We have several major markets yet to open, and expect to continue seeing strong returns at the box office for the weeks to come.”

Sue Kroll, president of worldwide marketing and distribution, added, “We’re thrilled with the huge numbers on ‘Suicide Squad,’ and to be coming out of an already highly successful summer with such a big win for our slate. The film is in position for another terrific weekend as our overseas expansion continues.”

The domestic box office total now stands at more than $238 million and the international figure is $271 million, with the film opening in Germany this weekend and in Japan on Sept. 10.

However, “Suicide Squad” does not appear to be getting a release in China as authorities are opposed to the film’s dark tone.

The third weekend of “Suicide Squad” is battling for the top spot at the domestic box office against the openings of Warner’s action-comedy “War Dogs” and MGM-Paramount’s “Ben-Hur” remake. “Suicide Squad” is set to earn $20 million this weekend.

David Ayer directed “Suicide Squad” from his own script about a secret government agency that recruits imprisoned villains to save the world in exchange for clemency. The film stars Will Smith, Jared Leto, Margot Robbie, Joel Kinnaman, Viola Davis, Jai Courtney, Jay Hernandez, Adewale Akinnuoye-Agbaje, Ike Barinholtz, Scott Eastwood, and Cara Delevingne.

“Squad” carries a $175 million price tag and is a crucial part of Warner’s strategy to expand the DC Universe of interlocking stories.