Function at 0x1400034c0
Capabilities:
Check if file exists
Create thread
Get file attributes
Inject dll
Inject thread

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140047020]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov esi, ecx
mov rdi, rdx
mov rcx, rdx
call fcn.140003b70
lea rbp, [rax*2 + 2]
test esi, esi
jne 0x14000351c
lea rdx, str.Invalid_Process_ID:
lea rcx, [0x140048690]
call fcn.140006c10
xor edx, edx
mov rcx, rax
call fcn.140003830
mov rcx, rax
call fcn.140003a70
xor al, al
jmp 0x140003790
mov rcx, rdi
call fcn.140003b80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000356e
lea rdx, str.DLL_file:
lea rcx, [0x140048690]
call fcn.140006c10
mov rcx, rax
mov rdx, rdi
call fcn.1400072e0
mov rcx, rax
lea rdx, str._does_not_exists
call fcn.140006c10
mov rcx, rax
call fcn.140003a70
xor al, al
jmp 0x140003790
mov rcx, rdi
mov qword [rsp + 0x88], r14
call fcn.140003360
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.LoadLibraryW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
jne 0x1400035c5
lea rdx, str.Unable_to_find_LoadLibraryW_procedure
lea rcx, [0x140048690]
call fcn.140006c10
mov rcx, rax
call fcn.140003a70
xor al, al
jmp 0x140003788
mov r8d, esi
mov qword [rsp + 0x80], rbx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x140003620
lea rdx, str.Unable_to_open_process_ID
lea rcx, [0x140048690]
call fcn.140006c10
mov edx, esi
mov rcx, rax
call fcn.140003830
mov rcx, rax
lea rdx, str._for_writing
call fcn.140006c10
mov rcx, rax
call fcn.140003a70
xor al, al
jmp 0x140003780
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
mov r8, rbp
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
jne 0x14000366f
lea rdx, str.Unable_to_remotely_allocate_memory
lea rcx, [0x140048690]
call fcn.140006c10
mov rcx, rax
call fcn.140003a70
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x140003780
mov rcx, rdi
mov qword [rsp + 0x40], 0
call fcn.140003b80
mov r8, rax
mov r9, rbp
lea rax, [rsp + 0x40]
mov rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400036cb
lea rdx, str.Unable_to_write_process_memory
lea rcx, [0x140048690]
call fcn.140006c10
mov rcx, rax
call fcn.140003a70
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x140003780
cmp qword [rsp + 0x40], rbp
je 0x1400036fd
lea rdx, str.Failed_to_write_remote_DLL_path_name
lea rcx, [0x140048690]
call fcn.140006c10
mov rcx, rax
call fcn.140003a70
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x140003780
mov qword [rsp + 0x30], 0
mov r9, r14
mov dword [rsp + 0x28], 0
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rdi, rax
test rax, rax
je 0x140003745
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140003760
lea rdx, str.Unable_to_create_remote_thread
lea rcx, [0x140048690]
call fcn.140006c10
mov rcx, rax
call fcn.140003a70
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rbx, qword [rsp + 0x80]
mov r14, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000da70
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret