Found some very old tool for Umineko but without the available source - the repo was deleted some time in/after 2018. After some scouring, I have found the binaries.
As I am extremely unskilled when it comes to debugging and disassembly - I ask You for Your help (explanation of flags/literals/codeword in this implementation), to port for using in a Noesis script for KonoSuba graphic files. Samples (compressed and decompressed) from the recent KonoSuba dungeon crawler/VN.