I did this exercise in order to learn about internal hacking using DLL injection and interfacing ASM with Rust.
This code will not compile by itself, you need to create the rust structure which should look something like this
dll
├── Cargo.toml
├── build.rs
└── src
├── interceptor.asm
└── lib.rs