The easiest solution is probably x64dbg with the trace logger plugin from Kurapica
https://github.com/KurapicaBS/x64_tracer
Works under all operating systems..
Release x32 and x64 from Kurapica:
https://mega.nz/file/CEEFUCaA#D4361O3y8V9f2d_Lu_tcX5RLMPGeUrPPoFR3bq1jfyg