ViXdvGetFuncAddress
UINT64 *__stdcall ViXdvGetFuncAddress(VOID *DllBase, _IMAGE_EXPORT_DIRECTORY *ExportDirectory, UINT64 NameIndex){
char *v3;
v3 = (char *)DllBase + ExportDirectory->AddressOfNameOrdinals;
if( *(unsigned __int16 *)&v3[2 * (unsigned int)NameIndex] < ExportDirectory->NumberOfFunctions )
return(UINT64 *)((char *)DllBase
+ *(unsigned int *)((char *)DllBase
+ 4 * *(unsigned __int16 *)&v3[2 * (unsigned int)NameIndex]
+ ExportDirectory->AddressOfFunctions));
else
return 0i64;
}Referenced by:
ViXdvDriverLoadImage