Function at 0x14000132c
Capabilities:
Create thread
Inject thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x158]
sub rsp, 0x250
mov rax, qword [0x140007010]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov esi, 0x104
mov r8d, esi
lea rdx, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x78]
call fcn.140001720
nop
lea rcx, [rbp - 0x78]
call fcn.140001630
mov r9, rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x78]
call fcn.140001610
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.1400016dc
lea rcx, [rsp + 0x40]
call fcn.1400016d4
lea rdx, str.LoadLibrary_Injector_by_morganlewiswall_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001f48
lea rdx, str.Please_ensure_your_DLL_and_the_injector_are_in_the_same_folder._n_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001f48
lea rdx, str.DLL_Name:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001f48
lea rcx, [rbp + 8]
call fcn.140001748
nop
lea rdx, [rbp + 8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140002148
lea rdx, str.Target_Process:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001f48
lea rcx, [rbp - 0x18]
call fcn.140001748
nop
lea rdx, [rbp - 0x18]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140002148
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x40]
call fcn.140001760
mov rcx, rax
call fcn.140002c34
mov ebx, eax
lea rdx, str._nProcess_Found___ID:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001f48
mov rcx, rax
mov edx, ebx
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___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x14000453c]
call fcn.140001f48
mov r8d, ebx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x1400014a5
lea rdx, str.Failed_to_get_a_handle_to_the_process__n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001f48
lea ebx, [rdi + 1]
jmp 0x1400015c7
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8, rsi
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
jne 0x1400014e4
lea rdx, str.Failed_VirtualAlloc__n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001f48
lea ebx, [rsi + 2]
jmp 0x1400015c7
lea rdx, [0x140004598]
lea rcx, [rbp - 0x38]
call fcn.140001720
nop
lea rcx, [rbp - 0x38]
call fcn.1400016c8
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x68]
call fcn.140002160
nop
lea r8, [rbp + 8]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400021c8
nop
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.1400021fc
nop
lea rcx, [rsp + 0x40]
call fcn.1400016d4
nop
lea rcx, [rsp + 0x68]
call fcn.1400016d4
lea rcx, [rbp - 0x58]
call fcn.140001664
mov r9d, 1
add r9, rax
lea rcx, [rbp - 0x58]
call fcn.14000166c
mov r8, rax
and qword [rsp + 0x20], 0
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov qword [rsp + 0x20], rsi
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
je 0x1400015a8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
lea rcx, [rbp - 0x58]
call fcn.1400016d4
nop
lea rcx, [rbp - 0x38]
call fcn.1400016d4
nop
lea rcx, [rbp - 0x18]
call fcn.1400016d4
nop
lea rcx, [rbp + 8]
call fcn.1400016d4
nop
lea rcx, [rbp - 0x78]
call fcn.1400016d4
mov eax, ebx
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140002df0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret