I want to use the GetThreadContext function which requires a threadHandle as first parameter. I searched for hours, iterated over all threads in the program to find the main thread but it seems like nothing really works. So I don't need an answer on how to use GetThreadContext but on how to get the right thread handle to call the function correctly. Btw. I want to read and set the EIP to debug on of my programs. And please don't start recommending x64dbg or ida...