From 841aa24d800f4a482bbf12cfc9b990865b5face3 Mon Sep 17 00:00:00 2001 From: xerox Date: Sun, 26 Jul 2020 01:57:00 +0000 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b0d5173..a22079a 100644 --- a/README.md +++ b/README.md @@ -24,9 +24,9 @@ __int64 __usercall apc_callback@(char _CL@, char _BH@, __int64 *a3@ Registeration of APCS: ```cpp - current_thread_id = PsLookupThreadByThreadId(thread_id, &some_pethread); + status = PsLookupThreadByThreadId(thread_id, &some_pethread); v17 = 0; - if ( (int)current_thread_id >= 0 ) + if ( (int)status >= 0 ) { allocated_pool = ExAllocatePool(0x200i64, 0x878i64); allocated_pool_1 = allocated_pool; @@ -39,4 +39,4 @@ Registeration of APCS: LOBYTE(v77) = 0; KeInitializeApc(allocated_pool_2, some_pethread, 0i64, j_apc_callback, 0i64, 0i64, v77, 0i64); if ( (unsigned __int8)KeInsertQueueApc(allocated_pool_2, allocated_pool_2, 0i64, 2i64) ) - ``` \ No newline at end of file +``` \ No newline at end of file