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

Disassembly:
push rbx
sub rsp, 0xd0
mov rax, qword [0x140023040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbx, rdx
call fcn.140001810
test eax, eax
jne 0x1400026f0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.____Unable_to_find_the_process_
call fcn.140003a60
mov rcx, rax
lea rdx, [0x14001aa94]
call fcn.140003a60
lea rdx, [0x140003c30]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor eax, eax
jmp 0x1400028f8
mov r8d, eax
mov qword [rsp + 0xc0], rdi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x14000271c
lea rdx, str.____Unable_to_open_the_process_
jmp 0x14000294b
mov edx, 0x5c
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
test rax, rax
jne 0x14000273b
lea rdx, str.____The_provided_path_is_invalid_
jmp 0x14000294b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140002944
shr eax, 4
not eax
bt eax, 0
jae 0x140002944
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
test rax, rax
je 0x140002782
lea rdx, str..dll
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x14000293b
mov r9d, 1
mov dword [rsp + 0x20], 1
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.imagehlp.dll_MapAndLoad]
test eax, eax
je 0x14000293b
lea rcx, [rsp + 0x50]
mov qword [rsp + 0xf0], rbp
call qword [sym.imp.imagehlp.dll_UnMapAndLoad]
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x104
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbp, rax
test rax, rax
jne 0x140002824
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.____Unable_to_allocate_memory_within_the_remote_process_
call fcn.140003a60
mov rcx, rax
lea rdx, [0x14001aa94]
call fcn.140003a60
lea rdx, [0x140003c30]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400028e8
mov qword [rsp + 0xc8], rsi
mov r9, 0xffffffffffffffff
inc r9
cmp byte [rbx + r9], 0
jne 0x140002833
xor esi, esi
inc r9
mov r8, rbx
mov qword [rsp + 0x20], rsi
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140002863
lea rdx, str.____Unable_to_write_to_the_remote_process_memory_
jmp 0x140002899
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
mov qword [rsp + 0x30], rsi
xor edx, edx
mov dword [rsp + 0x28], esi
mov rcx, rdi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
test rax, rax
jne 0x140002911
lea rdx, str.____Unable_to_create_a_remote_thread_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003a60
mov rcx, rax
lea rdx, [0x14001aa94]
call fcn.140003a60
lea rdx, [0x140003c30]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rsi, qword [rsp + 0xc8]
mov rbp, qword [rsp + 0xf0]
mov rdi, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400176b0
add rsp, 0xd0
pop rbx
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov sil, 1
mov eax, esi
jmp 0x1400028e0
lea rdx, str.____The_provided_file_is_not_a_DLL_
jmp 0x14000294b
lea rdx, str.____The_provided_file_in_path_does_not_exist_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003a60
mov rcx, rax
lea rdx, [0x14001aa94]
call fcn.140003a60
lea rdx, [0x140003c30]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor eax, eax
jmp 0x1400028f0