While I have not peeked into PB compiled code, I believe VARPTR() and STRPTR() are not functions but generate inline instructions.
A simple VARPTR translates to
lea eax,var
whereas STRPTR becomes
mov eax,var
Then assigning the result to a local variable would be something like:
mov [ebp-8],eax
Charles