title: How to get the function located at a memory address in Windows
body: <p>I am trying to get the function located at a particular address in a dll.</p>
  
  <p>I have tried viewing the disassembly of the dll but there are no debugging symbols.</p>
  
  <pre><code>auto lib = LoadLibrary("lib.dll");
  auto proc = GetProcAddress(lib, "proc1"); // Getting the address of the function.
  
  </code></pre>
  
  <p>How do I get "proc1" (the function name) back from proc (the address) without calling GetProcAddress for every function in the dll? There does not seem to be a function for this purpose. Is there any other way to get the function name?</p>