...the software does not function as expected and I believe a refund is possible.
Software is generally non-refundable. This drives me potty when people apply the same consumer rights to software as they would to, say, an external USB drive.
Buy boxed software from a retailer, open, activate and attempt to return the opened box and most - if not all - retailers will refuse a refund. There's a good reason for this, that they can't resell your software. It's activated, used and, effectively, registered in your name.
Buy downloadable software from a retailer, from the App Store and other locations and it's non-refundable. Apple made a special case for Final Cut Pro X, but it was an exception to the rule.
I own various online stores and the number of people who download software, use for many weeks and then demand a full refund, is quite frankly, baffling. We've had people use software for 6 months and then claim it's "not up to standard" or similar. Worse, we've had people order multiple software products, claim one isn't up to standard, then want a refund for the entire purchase. They don't get the refund.
You take a risk on purchasing software. Most software is available as a trial for you to test first, but we're amazed how many people do not bother. They see a deal, a discounted price, purchase, use for some weeks, then decide it's not for them. As if they can simply buy and "rent" software then get a refund.