Advanced C++ Windows Tool to Capture a Secured Electron Application

Job ID: 39530125

Budget: ₹1,500 – ₹12,500 INR

I am looking to hire an expert C++ Windows developer to build a desktop application capable of reliably capturing the screen content of a specific, highly secure Electron.js application.

This is an advanced project that requires deep knowledge of the Windows API and process manipulation. Standard screen capture methods will not work.

The Core Challenge:

The target application is CodeTantra SEA, a secure educational/exam application built on Electron.js. We have already attempted numerous standard and advanced capture methods, and all of them have failed, resulting in a black screen or capturing the desktop behind the application.

What we have tried (and has FAILED):

GDI/BitBlt: Captures the screen behind the application.
DXGI Desktop Duplication: Captures the screen behind the application.
Windows Graphics Capture (WGC): Even professional tools like OBS Studio using the modern WGC API (Windows 10 1903 and up mode) result in a black screen capture.
PrintScreen Simulation: The application appears to block the PrintScreen command, as no image is placed on the clipboard.
Command-Line Flags: Launching the Electron app with flags like --disable-gpu does not disable the protection.
Log File Evidence: We have captured logs from the application itself which explicitly state {"allowScreenCapture":false} upon startup.
The Crucial Clue (The Path to a Solution):

We have confirmed that a working C++ solution is possible. We know of a similar tool that successfully captures this application. The key insight is that the working tool launches the target Electron application itself as a child process.

This strongly suggests the solution involves controlling the process from the moment of its creation.

Required Technical Approach:

This project is NOT about finding another screen capture API. It is about advanced process manipulation to bypass the application's internal security before it can activate. The successful freelancer will need to implement a solution likely involving one of the following techniques:

Runtime Memory Patching: The primary proposed method. This involves:

Launching the target process in a suspended state (CreateProcess with the CREATE_SUSPENDED flag).
Finding the memory address of the anti-capture function(s) within the suspended process.
Overwriting these security functions in memory with benign instructions (NOPs) using WriteProcessMemory.
Resuming the main thread (ResumeThread) of the now-unprotected application.
DLL Injection / API Hooking: As an alternative, injecting a custom DLL at process startup to hook and neutralize the relevant security APIs (e.g., SetWindowDisplayAffinity or internal JavaScript functions) from within the target process's memory space.

Final Deliverable:

The deliverable is the complete, well-commented C++ source code for a Windows desktop application that:

Successfully launches the target application (CodeTantra SEA.exe).
Applies the necessary patches/hooks to disable its screen capture protection.
Provides a simple mechanism (e.g., a hotkey) to capture the now-visible content of the application window and save it as an image file (e.g., PNG).
What skills are required?
C++ (Expert Level)
Windows API / Win32 (Expert Level)
Reverse Engineering (Required skill to find the code to patch)
DLL Injection
Memory Management / Process Manipulation