How do insurance company's value cars?

How do insurance company's value cars?

Are there any motor  insurance    companies in mother that buy OEM components?
"Could I cancel motor  insurance   of purchasing in nyc on the usedcar I used to be thinking