Wouldn’t it require one of the users of the pirated version to fill a complaint? If the software wasn’t doing anything nefarious to regular users, just had potentially dangerous code sitting in a dll in a directory, it is hard to justify any damage. Kind of like if I had a function to format the C drive in one of my binaries. It never gets executed but would I be liable for having that function in a binary I distributed.