In his blog, he writes that he is the Director of WHO DID THIS. The company he works for, Altrucell, advertises itself as the world's largest producer of the felt covers of tennis balls; however, Future Ted implies that the company's main profits come from other, less innocent sources, such as logging, oil drilling, small arms, tobacco farming and missile construction. Barney states in "Cupcake" that, as a lawyer for Altrucell, Marshall would make more money in three months than he and Lily make in a year because his company has so many lawsuits against it. In the season 3 episode "The Bracket," he says that he is good enough at lying to avoid perjury charges. As of Season 4, his company is involved in a hostile takeover of Goliath National Bank (GNB) and consequently shifts him to the management team of the bank, but he remains a powerful executive and continues to use the same office he has had since it was first shown in Season 1. Despite this, he has suggested there is the possibility he will one day wash up on shore with no teeth or fingerprints and supposedly has come under attack by ninjas in the past during work. In Season 4, during the episode "Happily Ever After", Barney states to a woman that he is an "Attorney in Law", though this was probably just part of a pick-up line as he immediately followed it with "Let's talk about getting you off". His video resume was published in Season 4 episode "The Possimpible". In a season 8 episode, it was implied that the full extent of Barney's career might never be revealed.

Answer this question based on the passage: what does barney work as in how i met your mother? Let's have some stream of consciousness first.
To answer the above question, the relevant sentence is: The company he works for, Altrucell, advertises itself as the world's largest producer of the felt covers of tennis balls; however, Future Ted implies that the company's main profits come from other, less innocent sources, such as logging, oil drilling, small arms, tobacco farming and missile construction. So, the answer is Altrucell.