x64뉴비라 잘 모르겠음..

 

 

[ENABLE]
alloc(call_func, 4096, cshell.dll)

call_func:
   sub rsp, 0x20

   mov r8d, 1
   mov edx, 3

   mov rcx, cshell.dll+0xStack_Offset
   mov rcx, [rcx]
   mov rax, [rcx]

   call qword ptr [rax+0x380]
   add rsp, 0x20
   ret

createThread(call_func)
[DISABLE]