An example of how x64 kernel shellcode can dynamically find and use APIs Tested on Windows 10 x64 (1903)
https://github.com/rapid7/metasploit-framework/blob/master/external/source/shellcode/windows/multi_arch_kernel_queue_apc.asm