Solution by 0xThiebaut: This took me more time than I'd like to admit... TIL that an std basic string is more than just a string. No wonder dumping the registers before the comparison didn't yield zero-terminated strings...
Solution by J_Tanzanite: I'm new to reverse engineering, and although I've experimented a little with Ghidra, I've never tested C++ binaries. This is my first time doing so.
Anyway, hope my solution isn't too much of a mess.
Solution by Shadorain: Here is a simple solution for this simple crackme, should be explained well. If you want a rendered markdown pretty solution: https://shadorain.github.io/blog/Security/Reversing/Crackme_easyAF