# claudiopizzillo/conti_v3 architecture

> Architecture diagram of the GitHub repository claudiopizzillo/conti_v3, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/claudiopizzillo/conti_v3
- Repository: https://github.com/claudiopizzillo/conti_v3

## Overview

Conti V3 is a Windows file-encryption and recovery codebase, with executable and DLL variants of the encryptor plus a separate decryptor. The encryptor workflow parses mode and path options, prepares worker pools, and schedules local or network work; file traversal filters files and hands them to encryption logic. The decryptor similarly scans drives and dispatches matching files for recovery. Major security and process-management capabilities are visible in the entry-point references, but their implementation details were not sampled; the README provides no additional feature documentation.

Main entry points: [`cryptor/main.cpp`](https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor/main.cpp) (Encryptor entry), [`cryptor_dll/main.cpp`](https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor_dll/main.cpp) (DLL entry), [`decryptor/main.cpp`](https://github.com/claudiopizzillo/conti_v3/blob/master/decryptor/main.cpp) (Decryptor entry), [`cryptor/cryptor.cpp`](https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor/cryptor.cpp) (Encrypt files)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_enc["Encryption variants"]
  node_enc_main["Encryptor entry<br/>[main.cpp]"]
  node_dll_main["DLL entry<br/>[main.cpp]"]
  node_crypt_logic["Encrypt files<br/>[cryptor.cpp]"]
  node_dll_crypt_logic["DLL encryption<br/>[cryptor.cpp]"]
end

subgraph group_dec["Recovery"]
  node_decrypt_main["Decryptor entry<br/>[main.cpp]"]
  node_decrypt_search["Recovery traversal<br/>[search.cpp]"]
  node_decrypt_drives["Drive enumeration<br/>[disks.cpp]"]
  node_decrypt_network["Network discovery"]
  node_decrypt_pool["Recovery workers<br/>[threadpool.cpp]"]
  node_decrypt_logic["Decrypt files<br/>[decryptor.cpp]"]
end

subgraph group_work["Discovery and workers"]
  node_enc_search["File traversal<br/>[search.cpp]"]
  node_dll_search["DLL traversal<br/>[search.cpp]"]
  node_enc_drives["Drive enumeration<br/>[disks.cpp]"]
  node_dll_drives["DLL drive enumeration<br/>[disks.cpp]"]
  node_enc_network["Network discovery"]
  node_dll_network["DLL network discovery"]
  node_enc_pool["Worker pools<br/>[threadpool.cpp]"]
  node_dll_pool["DLL worker pools<br/>[threadpool.cpp]"]
end

subgraph group_core["Shared runtime"]
  node_settings["Mode settings"]
  node_dll_settings["DLL mode settings"]
  node_api["Dynamic API access<br/>[getapi.cpp]"]
  node_dll_api["DLL API access<br/>[getapi.cpp]"]
  node_process["Process controls<br/>[prockiller.cpp]"]
end

node_operator(("Operator"))

node_operator -->|"sets options"| node_enc_main
node_enc_main -->|"sets mode"| node_settings
node_enc_main -->|"creates and waits"| node_enc_pool
node_enc_main -.->|"enumerates drives"| node_enc_drives
node_enc_main -.->|"starts discovery"| node_enc_network
node_enc_main -->|"gets whitelist"| node_process
node_enc_main -.->|"configures encryption"| node_crypt_logic
node_enc_search -->|"encrypts matches"| node_crypt_logic
node_enc_main -.->|"shares behavior"| node_dll_main
node_operator -->|"supplies arguments"| node_dll_main
node_dll_main -->|"sets mode"| node_dll_settings
node_dll_main -->|"creates and waits"| node_dll_pool
node_dll_main -.->|"configures encryption"| node_dll_crypt_logic
node_dll_search -->|"encrypts matches"| node_dll_crypt_logic
node_dll_main -->|"gets whitelist"| node_process
node_decrypt_main -->|"creates and waits"| node_decrypt_pool
node_decrypt_main -->|"enumerates drives"| node_decrypt_drives
node_decrypt_main -->|"starts discovery"| node_decrypt_network
node_decrypt_main -->|"schedules drive paths"| node_decrypt_pool
node_decrypt_search -->|"decrypts matches"| node_decrypt_logic
node_enc_main -.->|"uses API wrappers"| node_api
node_dll_main -.->|"uses API wrappers"| node_dll_api

click node_enc_main "https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor/main.cpp"
click node_dll_main "https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor_dll/main.cpp"
click node_crypt_logic "https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor/cryptor.cpp"
click node_dll_crypt_logic "https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor_dll/cryptor.cpp"
click node_enc_search "https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor/filesystem/search.cpp"
click node_dll_search "https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor_dll/filesystem/search.cpp"
click node_enc_drives "https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor/filesystem/disks.cpp"
click node_dll_drives "https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor_dll/filesystem/disks.cpp"
click node_enc_network "https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor/network_scanner/network_scanner.cpp"
click node_dll_network "https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor_dll/network_scanner/network_scanner.cpp"
click node_enc_pool "https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor/threadpool/threadpool.cpp"
click node_dll_pool "https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor_dll/threadpool/threadpool.cpp"
click node_decrypt_main "https://github.com/claudiopizzillo/conti_v3/blob/master/decryptor/main.cpp"
click node_decrypt_search "https://github.com/claudiopizzillo/conti_v3/blob/master/decryptor/filesystem/search.cpp"
click node_decrypt_drives "https://github.com/claudiopizzillo/conti_v3/blob/master/decryptor/filesystem/disks.cpp"
click node_decrypt_network "https://github.com/claudiopizzillo/conti_v3/blob/master/decryptor/network_scanner/network_scanner.cpp"
click node_decrypt_pool "https://github.com/claudiopizzillo/conti_v3/blob/master/decryptor/threadpool/threadpool.cpp"
click node_decrypt_logic "https://github.com/claudiopizzillo/conti_v3/blob/master/decryptor/decryptor.cpp"
click node_settings "https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor/global/global_parameters.cpp"
click node_dll_settings "https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor_dll/global/global_parameters.cpp"
click node_api "https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor/api/getapi.cpp"
click node_dll_api "https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor_dll/api/getapi.cpp"
click node_process "https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor/prockiller/prockiller.cpp"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_enc_main,node_dll_main,node_crypt_logic,node_dll_crypt_logic toneBlue
class node_decrypt_main,node_decrypt_search,node_decrypt_drives,node_decrypt_network,node_decrypt_pool,node_decrypt_logic toneAmber
class node_enc_search,node_dll_search,node_enc_drives,node_dll_drives,node_enc_network,node_dll_network,node_enc_pool,node_dll_pool toneMint
class node_settings,node_dll_settings,node_api,node_dll_api,node_process toneRose
class node_operator toneIndigo
```

## Components

### Encryption variants

- [Encryptor entry](https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor/main.cpp): `cryptor/main.cpp`
- [DLL entry](https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor_dll/main.cpp): `cryptor_dll/main.cpp`
- [Encrypt files](https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor/cryptor.cpp): `cryptor/cryptor.cpp`
- [DLL encryption](https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor_dll/cryptor.cpp): `cryptor_dll/cryptor.cpp`

### Recovery

- [Decryptor entry](https://github.com/claudiopizzillo/conti_v3/blob/master/decryptor/main.cpp): `decryptor/main.cpp`
- [Recovery traversal](https://github.com/claudiopizzillo/conti_v3/blob/master/decryptor/filesystem/search.cpp): `decryptor/filesystem/search.cpp`
- [Drive enumeration](https://github.com/claudiopizzillo/conti_v3/blob/master/decryptor/filesystem/disks.cpp): `decryptor/filesystem/disks.cpp`
- [Network discovery](https://github.com/claudiopizzillo/conti_v3/blob/master/decryptor/network_scanner/network_scanner.cpp): `decryptor/network_scanner/network_scanner.cpp`
- [Recovery workers](https://github.com/claudiopizzillo/conti_v3/blob/master/decryptor/threadpool/threadpool.cpp): `decryptor/threadpool/threadpool.cpp`
- [Decrypt files](https://github.com/claudiopizzillo/conti_v3/blob/master/decryptor/decryptor.cpp): `decryptor/decryptor.cpp`

### Discovery and workers

- [File traversal](https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor/filesystem/search.cpp): `cryptor/filesystem/search.cpp`
- [DLL traversal](https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor_dll/filesystem/search.cpp): `cryptor_dll/filesystem/search.cpp`
- [Drive enumeration](https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor/filesystem/disks.cpp): `cryptor/filesystem/disks.cpp`
- [DLL drive enumeration](https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor_dll/filesystem/disks.cpp): `cryptor_dll/filesystem/disks.cpp`
- [Network discovery](https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor/network_scanner/network_scanner.cpp): `cryptor/network_scanner/network_scanner.cpp`
- [DLL network discovery](https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor_dll/network_scanner/network_scanner.cpp): `cryptor_dll/network_scanner/network_scanner.cpp`
- [Worker pools](https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor/threadpool/threadpool.cpp): `cryptor/threadpool/threadpool.cpp`
- [DLL worker pools](https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor_dll/threadpool/threadpool.cpp): `cryptor_dll/threadpool/threadpool.cpp`

### Shared runtime

- [Mode settings](https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor/global/global_parameters.cpp): `cryptor/global/global_parameters.cpp`
- [DLL mode settings](https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor_dll/global/global_parameters.cpp): `cryptor_dll/global/global_parameters.cpp`
- [Dynamic API access](https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor/api/getapi.cpp): `cryptor/api/getapi.cpp`
- [DLL API access](https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor_dll/api/getapi.cpp): `cryptor_dll/api/getapi.cpp`
- [Process controls](https://github.com/claudiopizzillo/conti_v3/blob/master/cryptor/prockiller/prockiller.cpp): `cryptor/prockiller/prockiller.cpp`

### Other components

- **Operator**

## Connections

- Operator → Encryptor entry: sets options (evidence: `cryptor/main.cpp`)
- Encryptor entry → Mode settings: sets mode (evidence: `cryptor/main.cpp`)
- Encryptor entry → Worker pools: creates and waits (evidence: `cryptor/main.cpp`)
- Encryptor entry → Drive enumeration: enumerates drives
- Encryptor entry → Network discovery: starts discovery
- Encryptor entry → Process controls: gets whitelist (evidence: `cryptor/main.cpp`)
- Encryptor entry → Encrypt files: configures encryption
- File traversal → Encrypt files: encrypts matches (evidence: `cryptor/filesystem/search.cpp`)
- Encryptor entry → DLL entry: shares behavior
- Operator → DLL entry: supplies arguments (evidence: `cryptor_dll/main.cpp`)
- DLL entry → DLL mode settings: sets mode (evidence: `cryptor_dll/main.cpp`)
- DLL entry → DLL worker pools: creates and waits (evidence: `cryptor_dll/main.cpp`)
- DLL entry → DLL encryption: configures encryption
- DLL traversal → DLL encryption: encrypts matches (evidence: `cryptor_dll/filesystem/search.cpp`)
- DLL entry → Process controls: gets whitelist (evidence: `cryptor_dll/main.cpp`)
- Decryptor entry → Recovery workers: creates and waits (evidence: `decryptor/main.cpp`)
- Decryptor entry → Drive enumeration: enumerates drives (evidence: `decryptor/main.cpp`)
- Decryptor entry → Network discovery: starts discovery (evidence: `decryptor/main.cpp`)
- Decryptor entry → Recovery workers: schedules drive paths (evidence: `decryptor/main.cpp`)
- Recovery traversal → Decrypt files: decrypts matches (evidence: `decryptor/filesystem/search.cpp`)
- Encryptor entry → Dynamic API access: uses API wrappers
- DLL entry → DLL API access: uses API wrappers
