DownloadFileVerify
function · net · orchestration
- Address
0x5b0920· 69 bytes, up to0x5b0964- Signature
bool __thiscall (void *this, uint64_t length)- Meaning
- Returns whether the MD5 of the file's first length bytes equals the expected digest
- Confidence
- verified, proof one
- Finding
- net/download#download-trailer
Finding: Download trailer in net: download
0x5b09b0 accepts a file one trailer longer than the total when its last 40 bytes hold the magic, a zero dword, the kept MD5 and the kept total. It keeps that trailer, and calls it complete when the trailer says every byte arrived and the data's MD5 matches; a mismatch then fails. A file exactly the total long is accepted, and complete, when its MD5 matches (0x5b0970). 0x5b0b70 writes the kept trailer at the total's low dword; a failed write sets state 3, error 1. 0x5b0880 hashes the file in 32 KiB reads, or gives zeros when a read fails, over start to end - start: the start is subtracted twice, harmless since every caller passes 0.
The derivation is in the doc.
Callers 2
Callees 1
- DigestFileRange net
Calls and jumps by a bare address, from tables/calls.tsv.