It is a well known fact that Osama bin Laden was trained by the CIA to fight against the Russian during the Soviet Union's occupation of Afghanistan. Osama, when on to plot the 911 WTC incident and committed terrorism against the US's installations and citizens all over the world.
It won't be a surprise that the CIA funded HHDL and the TGIE/CTA and trained guerillas to fight China in the 1950s and 1960s at the height of communism and the cold war and I think the CIA would most certainly have offered the funding as it is one of their function to fight communism. Not sure though HHDL accepted it or not but it won't be a surprise. Currently, both the Soviets and Chinese communism have more or less evolved into capitalistic socialism, the will of the CIA to fund this kind of groups have somewhat diminished.
My point is, the CIA does what the CIA does more for the control rather than for the freedom of humanity.