I don't know if you are using window or linux but the general solution i can think of is this.
Every new allocate buffer must call through function such as VirtualAlloc or NtAllocateVirtualMemory (low ...
From the disassembly window:
1- Choose the start of your data that you want to copy
2- Use the mouse wheel or trackpad to go up or down in the disassembly window
you can also use the arrow keys ↑ ↓ ...
You can use symload/loadsym command.
In the x64dbg console type:
With the last argument, you can control if the validation of ...
Based on the following sample:
The unpacked Quakbot payload is this: