No need to bypass this in a CTF – just run the binary under a debugger; the two calls return 0 when no debugger is attached.
: One of the key features of DOSPRN is its ability to make DOS applications compatible with a wide range of modern printers, including those that are not directly supported by DOS. dosprn crack
Share your printer on the network (e.g., name it MyPrinter ). Open Command Prompt as an Administrator. No need to bypass this in a CTF