Locate the exported function you want to analyse
Here I am using PEbear but you can use any other PE tool.
We will use the function DllRegisterServer with the ordinal 1.
Start debugging rundll32.exe with x64dbg
Rundll32.exe is a Windows system file used to load and run dynamic-link libraries (DLLs).
The first step is to load rundll32.exe into x64dbg.
Select “Change Command Line”
Enter the path of your DLL with the exported function
Go to Option -> Preferences and select “DLL Entry Point”
Run F9 until you reach the DLL you want to analyse
Check the name of the module you reach on the top of the Window.
That’s it! You can now debug your dll. I will occasionally post some tips like that on my medium. For more stuff such as this one you can follow me on Twitter @fr0gger_