SFileReadSectors
function · storm · orchestration
- Address
0x651450· 1615 bytes, up to0x651a9e- Meaning
- Reads a file's sectors: offset table, decryption, then copy or codec dispatch; any other compression mask fails
- Confidence
- verified, proof two
- Finding
- storm/format#block-flags-and-sectors
Finding: Block flags and sectors in storm: the archive format
Flags: 0x100 imploded, 0x200 compressed, 0x10000 encrypted, 0x20000 key adjusted by position, 0x1000000
one unit, 0x2000000 delete marker, 0x80000000 exists. A one-unit file is one sector; any other is cut into
sectors of the sector size. A compressed or imploded file starts with count + 1 offsets (dwords) relative to
the file; sector i lies between table[i] and table[i + 1]. A sector whose packed size is not below its
unpacked size is stored as it is; otherwise 0x200 alone runs the codec dispatch. There is no explode path: any other value of the flags and 0xff00, 0x100 and 0x300 included, fails the sector read.
The derivation is in the doc.
Callers 1
- 0x6513d0 storm
Callees 7
- SMemAlloc storm
- SMemFree storm
- SErrSetLastError storm
- DecryptBlock storm
- 0x651ca0 storm
- 0x651d90 storm
- SCompDecompress storm
Calls and jumps by a bare address, from tables/calls.tsv.