Okay. Patport is just the name for the Astro 25 CPS, so yours will be different. So, exit the cps and start Winhex. Now start CPS and open your codeplug. When the CPS asks for your password, use Open RAM in Winhex and go all the way to the bottom, as that will be the last program that you opened (CPS) and click on the "+" on that program. Next, single-click "Primary Memory", (NOT "Entire Memory") and press OK.
Now, use the search feature and search for your password. You will only see it once. At this point, look at the phrase that follows it. Mine for Astro 25 CPS is \Microsoft\Windows\CurrentVersion, but again, yours may be different. Once you have that data, close that codeplug and open the unknown one and repeat the steps above. On Astro 25 CPS, I have to hit the F3 key 5 times before it finds the password.