The affiliate of Hong Kong-listed Kingsoft Corp. raised $510 million in its initial public offering, pricing its shares at the midpoint of a $16 to $18 targeted range. The shares closed at $23.84 in New York trading Friday, giving the company a market value of $4.77 billion.