Within hours of Superstorm Sandy slamming the East Coast two years ago, Americans opened their wallets to help — donating millions to the first charity that came to mind: the American Red Cross.

President Obama, like most elected officials and celebrities, vouched for the organization, encouraging people to give.

In the months after the disaster, the Red Cross touted its success in delivering food, clothes and shelter to tens of thousands of people left homeless by the storm. Gail McGovern, the Red Cross president and CEO, told NBC News two weeks after the storm: "I think that we are near flawless so far in this operation."

The truth, however, is different.

The venerable charity's track record in dealing with the megastorm is now being challenged by an unusual cadre of critics — its own employees and records.

Multiple internal documents obtained by NPR and ProPublica along with interviews with top Red Cross officials reveal an organization that struggled to meet the basic needs of victims in the first weeks after the storm. The documents and interviews also depict an organization so consumed with public relations that it hindered the charity's ability to provide disaster services.

In an interview, the Red Cross officials stood behind their work overall, especially during Sandy.

"I'm very proud of the services we provided," says Trevor Riggen, a vice president at the Red Cross. "I think the volume of services and the speed at which we provided it speaks to the quality of service of the volunteers and staff on the ground. I think there are details both in the documents you have and other documents you haven't seen that help us learn from our processes."

Riggen says the Red Cross served 17 million meals, provided millions of supplies and housed tens of thousands of people in its shelters. He says the organization would never put public affairs over the needs of clients in that storm or any other.

"I don't believe that's the way our leadership has used resources on the ground or that that was a driving factor in their decisions," he says.

Among NPR and ProPublica's findings:

* The Red Cross national headquarters in Washington "diverted assets for public relations purposes." A former Red Cross official managing the Sandy effort says 40 percent of available trucks were assigned to serve as backdrops for news conferences.

* Distribution of relief was "politically driven instead of [Red Cross] planned."

* Food waste was "excessive," due to factors including inexperienced staff, poor communication and "political pressures."

* In one shelter, "sex offenders were placed in a special area off of dorm, but they weren't there, they were all over, including playing in children's area," according to a confidential "lessons learned" memo from the Red Cross.

* "We didn't have the kind of sophistication needed for this size job," concluded one senior Red Cross official, describing the agency's logistics operations in notes from an after-action report five weeks after the storm. Added another official: "Multiple systems failed."

* Relief organizers were ordered to produce 200,000 additional meals one day — to drive up numbers. They did it at extraordinary cost, even though there was no one to deliver them to and most went to waste.

* "It was just clear to me that they weren't interested in doing mass care; they were interested in the illusion of mass care," says Richard Rieckenberg, who helped lead the Red Cross' response to Sandy and Hurricane Isaac.

* It wasn't just Sandy. When Isaac hit Mississippi and Louisiana earlier in 2012, Rieckenberg says: "We didn't have food in the shelters, we didn't have cots, we didn't have blankets in the shelters, which to me was incredible because we saw this hurricane coming a long way away."

* Also during Isaac, one Red Cross official had 80 trucks drive around empty or largely empty "just to be seen," as one of the drivers recalls.

* "Our experience with the Red Cross is they're a little late to the game," says Police Lt. Matthew Tiedemann, the emergency management coordinator for Bergen County, N.J., who says the Red Cross failed to provide volunteers and resources to open shelters after Sandy. "The reality set in that I was in the sheltering business. It was pretty time-consuming, considering I was putting together cots when I should have been managing an emergency," he says.

Read more of the investigation at propublica.org/redcross. Can you help? Share a tip or join ProPublica's reporters this Friday for a live chat.