I've been examining the PE file structure graph located [here](http://www.openrce.org/reference_library/files/reference/PE%20Format.pdf). The following is written there about the export directory: 

> 
> If a symbol N is exported by ordinal and name then:  
> 
>  -Its name will be located at AddressOfNames[N]
> 
> 
> -Its ordinal at AddressOfNameOrdinals[N]
> 
> 
> -And its address\* will be
>  AddressOfFunctions[AddressOfNameOrdinals[N]]
> 
> 
> 

I thought that the address would be `AddressOfFunctions[AddressOfNameOrdinals[N] - _IMAGE_EXPORT_DIRECTORY.Base]` because Base is the number that we subtract from the ordinal to get the index into the `AddressOfFunctions` array. 

For example, if we have `Base = 8`, the minimal entry in `AddressOfNameOrdinals` will be 8. The first index of the `AddressOfFunctions` array is zero, so to get the address of the function with the ordinal equal to 8, we subtract the base from the ordinal and get 0.

Where have I made a mistake?