Function at 0x1400013c0
Capabilities:
Acquire debug privileges
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
sub rsp, 0x278
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rcx, str.Enter_the_username_for_the_process_owner:
call fcn.140001020
mov r8d, 0x100
lea rdx, [rsp + 0x60]
lea rcx, str._255s
call fcn.140001080
cmp eax, 1
je 0x14000142a
lea rcx, str.Failed_to_read_input_for_username._n
call fcn.140001020
mov eax, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140001780
add rsp, 0x278
ret
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x270], rdi
call fcn.1400010e0
mov edi, eax
test eax, eax
jne 0x14000145d
lea rdx, [rsp + 0x60]
lea rcx, str.No_matching_process_found_for_user:__s_n
call fcn.140001020
mov eax, 1
jmp 0x140001742
mov qword [rsp + 0x280], rbx
mov qword [rsp + 0x288], rbp
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x40]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
xor ebp, ebp
test eax, eax
je 0x14000151f
mov rbx, qword [rsp + 0x40]
lea r8, [rsp + 0x48]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x1400014bc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.LookupPrivilegeValue_error:__u_n
jmp 0x14000150d
mov rax, qword [rsp + 0x48]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x28], rbp
mov r9d, 0x10
xor edx, edx
mov qword [rsp + 0x54], rax
mov rcx, rbx
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x5c], 2
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140001514
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.AdjustTokenPrivileges_error:__u_n
mov edx, eax
call fcn.140001020
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x14000154d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_open_process_for_termination._Error:__ld_n
call fcn.140001020
jmp 0x1400015b6
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x140001568
lea rcx, str.Failed_to_load_ntdll.dll_n
jmp 0x1400015a8
lea rdx, str.ZwTerminateProcess
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140001586
lea rcx, str.Failed_to_get_ZwTerminateProcess_n
jmp 0x1400015a8
xor edx, edx
mov rcx, rbx
call rax
test eax, eax
je 0x1400015a1
mov edx, eax
lea rcx, str.ZwTerminateProcess_failed_with_status:__lx_n
call fcn.140001020
jmp 0x1400015ad
lea rcx, str.Process_terminated_using_ZwTerminateProcess._n
call fcn.140001020
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, edi
mov dword [rsp + 0x48], edi
xor edx, edx
mov ecx, 0x42a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x1400015eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_open_process_for_remote_thread_creation._Error:__ld_n
call fcn.140001020
jmp 0x140001719
lea rcx, str.kernel32.dll
mov qword [rsp + 0x290], rsi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x140003840]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x140001629
lea rcx, str.Failed_to_get_TerminateProcess_address._n
call fcn.140001020
jmp 0x140001708
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
jne 0x140001669
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_allocate_memory_in_target_process._Error:__ld_n
call fcn.140001020
jmp 0x140001708
mov r9d, 4
mov qword [rsp + 0x20], rbp
lea r8, [rsp + 0x48]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000169f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_write_to_memory_in_target_process._Error:__ld_n
call fcn.140001020
jmp 0x1400016f3
mov qword [rsp + 0x30], rbp
mov r9, rsi
mov dword [rsp + 0x28], ebp
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rsi, rax
test rax, rax
jne 0x1400016dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_create_remote_thread._Error:__ld_n
call fcn.140001020
jmp 0x1400016f3
mov edx, 0xffffffff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x290]
lea rcx, str.Press_Enter_to_exit..._n
call fcn.140001020
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbp, qword [rsp + 0x288]
xor eax, eax
mov rbx, qword [rsp + 0x280]
mov rdi, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140001780
add rsp, 0x278
ret