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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov dword [rbp + 0x10], ecx
mov qword [rbp + 0x18], rdx
call fcn.140001500
mov dword [rbp - 4], 0
lea rax, str.Kernel32
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
lea rdx, str.LoadLibraryA
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp - 0x18], rax
cmp dword [rbp + 0x10], 1
jg 0x140007e16
mov rax, qword [rbp + 0x18]
mov rax, qword [rax]
mov rdx, rax
lea rax, str.Usage:__s__process_name__n
mov rcx, rax
call fcn.140007d40
mov eax, 1
jmp 0x140008012
mov rax, qword [rbp + 0x18]
add rax, 8
mov rax, qword [rax]
mov rcx, rax
call fcn.140007c20
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
je 0x140007e6c
mov eax, dword [rbp - 4]
mov edx, eax
lea rax, str.PID___d_n
mov rcx, rax
call fcn.140007d40
mov eax, dword [rbp - 4]
mov r8d, eax
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
jne 0x140007e9f
jmp 0x140007e85
lea rax, str.PID_not_found_:__exiting..._n
mov rcx, rax
call fcn.140007d40
mov eax, 0xffffffff
jmp 0x140008012
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.OpenProcess_failed__lu_n
mov rcx, rax
call fcn.140007d40
mov eax, dword [0x1400090c0]
mov edx, eax
mov rax, qword [rbp - 0x20]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8, rdx
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
call rax
mov qword [rbp - 0x28], rax
cmp qword [rbp - 0x28], 0
jne 0x140007f0c
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.VirtualAllocEx_failed:__lu_n
mov rcx, rax
call fcn.140007d40
mov rax, qword [rbp - 0x20]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0xffffffff
jmp 0x140008012
mov eax, dword [0x1400090c0]
mov ecx, eax
mov rdx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
mov qword [rsp + 0x20], 0
mov r9, rcx
lea r8, str.C:dllPath.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call rax
test eax, eax
sete al
test al, al
je 0x140007f95
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.WriteProcessMemory_failed:__lu_n
mov rcx, rax
call fcn.140007d40
mov rdx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
mov r9d, 0x8000
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
call rax
mov rax, qword [rbp - 0x20]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0xffffffff
jmp 0x140008012
mov rcx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x20]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rdx, qword [rbp - 0x28]
mov qword [rsp + 0x20], rdx
mov r9, rcx
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
call rax
mov qword [rbp - 0x30], rax
cmp qword [rbp - 0x30], 0
jne 0x14000800d
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.CreateRemoteThread_failed:__lu_n
mov rcx, rax
call fcn.140007d40
mov rax, qword [rbp - 0x20]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0xffffffff
jmp 0x140008012
mov eax, 0
add rsp, 0x70
pop rbp
ret