DownloadFileAbort
function · net · orchestration
- Address
0x5b0b20· 64 bytes, up to0x5b0b5f- Signature
void __thiscall (void *this)- Meaning
- Sets state 3 with error 3 under the lock, writes the trailer and closes the file, keeping it for a resume
- Confidence
- verified, proof one
- Finding
- net/download#download-file-object
Finding: Download file object in net: download
0x5b03f0 clears the object: +0 the file object, +0x134 whether the file is the .partial, +0x138 the state, +0x13c the error and +0x144 the bytes fed, then writes the kept trailer at +8: the magic DInf (0x44496e66), a zero dword, the expected MD5 at +0x10, the bytes received at +0x20 and the total at +0x28. The final path is at +0x30, 0x104 bytes. The state is 2 when complete and 3 when failed, with error 1 for a write or create, 2 for a resize, which stores the MiB it wanted at +0x148, and 3 for an abort.
The derivation is in the doc.
Callers 2
- CancelSurveyDownload glue
- CancelPatchDownload glue
Callees 4
- DownloadFileRelease net
- DownloadFileWriteTrailer net
- SCritSect::Enter storm
- SCritSect::Leave storm
Calls and jumps by a bare address, from tables/calls.tsv.