Function at 0x1400016d8
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 sym.__main
call dbg.checkAllDebug()
cmp dword [rbp + 0x10], 2
je 0x14000171a
mov rax, qword [rbp + 0x18]
mov rax, qword [rax]
mov rdx, rax
lea rax, str.Usage:__s__process_name__n
mov rcx, rax
call dbg.printf(char const*, ::)
mov eax, 1
jmp 0x1400019e3
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
cmp qword [rbp - 0x10], 0
jne 0x140001758
lea rax, str.Error:_Unable_to_get_handle_to_Kernel32.dll_n
mov rcx, rax
call dbg.printf(char const*, ::)
mov eax, 1
jmp 0x1400019e3
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 qword [rbp - 0x18], 0
jne 0x140001793
lea rax, str.Error:_Unable_to_get_address_of_LoadLibraryA_n
mov rcx, rax
call dbg.printf(char const*, ::)
mov eax, 1
jmp 0x1400019e3
mov rax, qword [rbp + 0x18]
add rax, 8
mov rax, qword [rax]
mov rcx, rax
call dbg.findMyProc(char const*)
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0x1400017c8
lea rax, str.PID_not_found_:__Exiting..._n
mov rcx, rax
call dbg.printf(char const*, ::)
mov eax, 1
jmp 0x1400019e3
mov eax, dword [rbp - 4]
mov edx, eax
lea rax, str.PID___d_n
mov rcx, rax
call dbg.printf(char const*, ::)
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 0x140001819
lea rax, str.Error:_Unable_to_open_process_n
mov rcx, rax
call dbg.printf(char const*, ::)
mov eax, 1
jmp 0x1400019e3
mov eax, dword [0x14003e040]
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 0x14000187b
lea rax, str.Error:_Unable_to_allocate_memory_in_remote_process_n
mov rcx, rax
call dbg.printf(char const*, ::)
mov rax, qword [rbp - 0x20]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 1
jmp 0x1400019e3
mov eax, dword [0x14003e040]
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:Usersjohn_artziCLionProjects_bulbulun017libMyLibrary.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call rax
test eax, eax
sete al
test al, al
je 0x1400018fc
lea rax, str.Error:_Unable_to_write_to_remote_process_memory_n
mov rcx, rax
call dbg.printf(char const*, ::)
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, 1
jmp 0x1400019e3
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 0x140001989
lea rax, str.Error:_Unable_to_create_remote_thread_n
mov rcx, rax
call dbg.printf(char const*, ::)
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, 1
jmp 0x1400019e3
mov rax, qword [rbp - 0x30]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp - 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
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, 0
add rsp, 0x70
pop rbp
ret