Is there any way to simulate the reading and writing of ISO files by means of a driver? Or intercept the process of reading and writing. For example, a folder is simulated as an ISO file.

Suppose you create a file of the same size as the target file in a certain file on drive d. But his content is empty. Only the file size is set to be the same.And then if the third party process needs to read, um, change the file. For example, read from an exe pe resource file, or read an encrypted file from zip and then decompress it, and send the corresponding data to him.

I don't know if the function of virtual file can be realized by driver.
Simply put, it's like an MP3 player. He prereads the memory in chunks at a time.
Suppose a file is encrypted into 10 parts. If MP3 is currently reading part of the 4th encrypted block.This part of the main body is complete, and he still needs a little bit of the fifth part of the document.The fifth encryption block is then clipped to memory, and the corresponding bytes are returned to the virtual driver as needed.

Simply put, how to virtualize a file.
If you are only in the same process, you can use the hook API.
File-driven approach. Can his request be targeted at different processes?