CopyWardenId
function · warden · orchestration
- Address
0x6ca810· 38 bytes, up to0x6ca835- Signature
uint32_t * __thiscall (uint32_t *this, const uint32_t *id)- Meaning
- Copies a 16-byte id of four dwords
- Confidence
- verified, proof two
- Finding
- warden/wire#the-service-table
Finding: The service table in warden: the wire and the services
The module receives 0xce8954, whose dword points at the table 0x811434: seven stdcall services, in this
order. The service functions take no lock and none reads ecx before writing it, so what a module passes there is
unused. A service called from inside a module slot runs under the client's lock, which every call into a slot
holds (inferred: a call from another thread would run without it).
| slot | function | arguments | does |
|---|---|---|---|
| 0 | 0x6ca6a0 | bytes, length | sends the bytes as message 0x2e7 |
| 1 | 0x6ca770 | id16, key16 | looks the 16-byte id up in the cache; if found, frees the pending module and decodes the record with the key into the pending slot; returns whether it did |
| 2 | 0x6ca840 | id16, bytes, length | removes the id's record, then stores a copy of the bytes under it |
| 3 | 0x6ca8c0 | size | allocates, returns the pointer |
| 4 | 0x6ca8e0 | pointer | frees |
| 5 | 0x6ca900 | bytes, length | replaces the handover buffer with a copy |
| 6 | 0x6ca960 | destination, length pointer | copies out up to the length, stores the count, frees the buffer; returns 0 with no buffer |
The derivation is in the doc.
Callers 1
- WardenLoadCachedModule warden
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.