Employees work at Alibaba’s headquarters in Hangzhou. The Chinese firm is preparing what is expected to be the biggest tech sector IPO since Facebook’s in 2012.

If Yahoo appears back in favour, it can thank Alibaba, the Chinese Web giant in which it holds a big stake and which is set for a public stock offering.

Yahoo shares soared 7.3% to $36.71 at the opening yesterday on the heels of a better-than-expected quarterly report, but some were more focused on the Alibaba financial results buried in the document.

“The salient point of Yahoo’s first quarter results was the very strong December quarter results from Alibaba,” said Jordan Rohan, analyst at the brokerage Stifel.

“Alibaba’s results paint a favourable picture for a favourable IPO despite the recent period of weakness in the Internet sector.”

The Chinese firm has not yet released details on its finances, but Yahoo’s figures showed Alibaba with a 2013 fourth quarter profit of $1.35bn on some $3bn in revenues. That indicates 66% growth, up from 51% in the past quarter.

The data from Alibaba “gives us decent conviction that the valuation will ultimately be higher than $200bn,” Rohan said, dwarfing Yahoo’s market value of around $36bn.  Other analysts say a more realistic value for Alibaba could be in the range of $130-150bn.

Yahoo holds a 24% stake in Alibaba and under the latest plans is expected to sell about 10% of the capital in the Chinese group in the initial public offering.

The US firm bought 40% of Alibaba in 2005 for $1bn and now stands to reap a handsome profit from that. Yahoo sold part of its stake in 2012, getting a gain of $7.6bn.

Collin Gillis, analyst at BCG, said the agreement could make Yahoo the majority seller on the IPO “and potentially reduce Alibaba’s incentive to aggressively price the offering.”

Gillis said the IPO would give Yahoo a fresh cash infusion, adding: “We expect the cash proceeds to primarily be used to repurchase shares and to pursue acquisitions.”

Alibaba is preparing what is expected to be the biggest tech sector IPO since Facebook’s in 2012. It comes amid intense activity in the Web sector, but also concerns about excessive valuations.

But the transaction could give new momentum to Yahoo, which has struggled since losing its position as the leading Web search engine but is refocusing under chief executive Marissa Mayer.

Mayer, a former Google executive, said her efforts are showing signs of turning things around.

“If you look at our core businesses, which we define as search and display, you see an important shift,” Mayer said in an earnings call. “Our search revenue grew 9% year-over-year, marking our ninth consecutive quarter of growth.”  Mayer said Yahoo’s mobile service was attracting more than 430mn monthly users. “More than half of Yahoo’s total monthly audience joins us on a mobile device,” she said.

Analyst Brian Pitz at Jefferies suggested the stars are lining up for Mayer and Yahoo, and said the firm is a “compelling” stock to buy.

“The core business is showing slow signs of an inflection, cash flow is being used to buy stock, and the Asian investments are showing strong performance, so we think the stock has compelling risk/reward,” Pitz said in a note to clients.

Yahoo’s future remains clouded by an uncertain outlook for growth, and it is unclear whether Mayer will be aggressive in areas like video programming or simply conserve capital and buy back shares.

Some say the company has yet to show it has turned a corner, and data this week from comScore showed a new low point in its search engine market share of 10.1%.