Conversation

For one I don't see what this has anything to do with import resolution, you could replace any function like this. Second, you could simply use SEH and __debugbreak instead of the blatant AddVectoredExceptionHandler usage and easy-to-xref wrapper function.
1
7
That's a valid point, it's not exclusive to import hashing but I found this is a suitable use for it. It'd be a lot better if the wrapper function was inlined. I used __debugbreak orig but switched.I didn't use SEH as I haven't been able to get it working standalone without crt.
1
1
An in-lined version is available now, it still doesn't have try except, but it should be trivial to use. I appreciate the feedback
Quote Tweet
In-lined edition of resolving APIs through EH is now available. It's now also possible to break the IDA disassembly as our code is inlined. Code is available at github.com/rad9800/VehApi Kudos to @anthonyprintup for helping out and teaching me a lot of cool, new tricks!!
Image
Image
1
Ideally what I wanted to do next is at compile time, randomize the pairs of registers being used so that it makes it possibly harder to RE. I'll have a look at those docs, thanks
1