By Jack Kim and Ju-min Park

SEOUL (Reuters) - South Korean President Park Geun-hye said on Tuesday she will withdraw her nominee for prime minister if parliament recommends a candidate and is willing to let the new premier control the cabinet, seeking to defuse a crisis rocking her presidency.

Park's comments at a meeting with the speaker of parliament indicated she was willing to relinquish some control over state affairs - a key demand by opposition parties to resolve the scandal stemming from allegations that her friend improperly wielded influence using her ties to the president.

"If parliament recommends a good person with an agreement between the ruling and opposition parties, I will appoint that person as prime minister and allow him to essentially take control over the cabinet," Park told the speaker, Chung Sye-kyun.

The position of prime minister is usually a figurehead in South Korea, with most power concentrated in the presidential office.

Park has been severely bruised by the scandal involving her friend, Choi Soon-sil, who is alleged to have used her closeness to the president to meddle in state affairs and wield influence in the sports and cultural communities.

Choi has been charged with abuse of power and fraud while a former aide has been charged with abuse of power and extortion after they helped raise 77.4 billion won ($68 million) from dozens of the country's biggest conglomerates on behalf of two foundations.

Park nominated Kim Byong-joon, a former cabinet minister under a liberal ex-president, as premier last week but the move, which requires a parliamentary approval, drew anger from the opposition as a bid to divert attention from the crisis and yet another example of her heavy-handed approach.

Park's visit to parliament was brief and she did not meet the leaders of opposition parties despite news reports that said she had hoped to do so.

Instead she was met with some opposition members inside the building who held signs that said she should relinquish authority and even some that called on her to step down.

Park has publicly apologized twice for the scandal but her approval rating has plunged to 5 percent according to a Gallup poll released on Friday, the lowest since such polling began in 1988.

No South Korean president has failed to finish their five-year term, but Park has faced growing pressure from the public and some hardline political opponents to quit. Park's term is due to end in early 2018.

SAMSUNG RAIDED

South Korean prosecutors raided the offices of Samsung Electronics earlier on Tuesday as part of a probe over the scandal involving Choi, a prosecution official told Reuters but declined to comment further.

South Korea's Yonhap News Agency reported prosecutors are looking into whether Samsung improperly provided financial assistance to Choi's daughter.

Samsung Electronics, reeling from a $5.4 billion profit hit after it was forced to discontinue its fire-prone Galaxy Note 7 smartphone, said prosecutors visited its office but declined to comment further.

Prosecutors have been investigating an allegation that Samsung provided 2.8 million euros ($3.1 million) to a company co-owned by Choi and her daughter, who was previously a member of the South Korean national equestrian team, Yonhap reported.

Park Sang-jin, a Samsung Electronics president for corporate relations, is currently head of Korea Equestrian Federation. Yonhap said his office was part of the prosecutor's raid Tuesday morning. Park Sang-jin could not be reached for comment.

Prosecutors have already questioned a Samsung executive as part of the probe, according to a prosecution source.

Yonhap reported prosecutors were also raiding the offices of the Korea Equestrian Federation and the Korea Horse Affairs Association.

The Korea Equestrian Federation declined to comment on Yonhap report, and the Korea Horse Affairs Association did not immediately comment.

(Additional reporting by Se Young Lee; Editing by Lincoln Feast)