It's called "cash out refinance". Within 6 month, you can only get up to 75% of purchasing price; after 6 monthes, you'll get 75%-80% of new appraisal value.
It depends on your property; the average loan cost is about $2000 (a little more if it is rental). Tere may be so called "np cost" loan, it just hides the loan cost at point or loan balance.