Function at 0x1400012c0
Capabilities:
Create thread
Inject dll
Inject thread
Link function at runtime on windows

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
mov eax, 0x890
call fcn.140002880
sub rsp, rax
mov rax, qword [0x140014010]
xor rax, rsp
mov qword [rsp + 0x870], rax
mov rax, qword [0x14000c570]
xor r14d, r14d
mov rbx, rdx
mov qword [rsp + 0x58], rax
mov rax, qword [0x14000c578]
mov r15d, ecx
mov qword [rsp + 0x60], rax
movzx eax, word [0x14000c580]
mov qword [rsp + 0x50], r14
mov word [rsp + 0x68], ax
movzx eax, byte [0x14000c582]
mov dword [rsp + 0x40], r14d
mov byte [rsp + 0x6a], al
or rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp byte [rdx + rdi], r14b
jne 0x140001330
inc rdi
call fcn.1400010b0
mov ecx, 2
call fcn.1400018e0
lea rcx, str._n_nStarting_the_Inject_DLL_Operation...
call fcn.1400023c0
lea rdx, [rsp + 0x70]
mov r8d, 0x400
mov ecx, r15d
call fcn.140001110
lea rcx, str._n_t__Process_ID___d
mov edx, r15d
call fcn.1400023c0
lea rdx, [rsp + 0x70]
lea rcx, str._n_t__Process_Name___s
call fcn.1400023c0
lea rcx, str._n_t__Inject_DLL___s
mov rdx, rbx
call fcn.1400023c0
lea rdx, [rsp + 0x58]
lea rcx, str._n_t__Injection_Method___s
call fcn.1400023c0
lea rcx, str._n_n_nStep_1___Opening_target_process___d__for_DLL_Injection
mov edx, r15d
call fcn.1400023c0
mov r8d, r15d
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
jne 0x1400013f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str._n_n_t_Error:_Failed_to_open_the_process__d__Error_Code__0x_.8x_n_n
mov edx, r15d
mov r8d, eax
mov ebx, eax
call fcn.140001780
mov eax, ebx
jmp 0x14000172d
lea rcx, str._n_t__Success
mov qword [rsp + 0x8d0], rbp
call fcn.1400023c0
lea rcx, str._n_n_nStep_2___Writing_DLL_Path_Name___s__into_target_process
mov rdx, rbx
call fcn.1400023c0
mov r9d, 0x1000
mov r8, rdi
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbp, rax
test rax, rax
jne 0x14000145f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str._n_n_t_Error:_VirtualAllocEx_failed_to_allocate_memory_on_target_process__Error__0x_.8x_n_n
mov edx, eax
mov ebx, eax
call fcn.140001780
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x140001725
lea rax, [rsp + 0x50]
mov r9, rdi
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400014ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str._n_n_t_Error:_WriteProcessMemory_failed_to_write_DLL_name_into_target_process__Error__0x_.8x_n_n
mov edx, eax
mov ebx, eax
call fcn.140001780
mov r9d, 0x8000
mov r8, rdi
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x140001725
lea rcx, str._n_t__Success
mov qword [rsp + 0x880], r13
call fcn.1400023c0
lea rcx, str._n_n_nStep_3____Defeat_ASLR__Calculating_LoadLibrary_function_address_on_target_process
call fcn.1400023c0
lea rcx, [0x14000c808]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r13, rax
test rax, rax
jne 0x14000152a
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str._n_n_t_Error:_Failed_to_get_the_handle_of_Kernel32.dll_in_current_process__Error__0x_.8x_n_n
mov edx, eax
mov ebx, eax
call fcn.140001780
mov r9d, 0x8000
mov r8, rdi
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x14000171d
lea rdx, [0x14000c808]
mov ecx, r15d
mov qword [rsp + 0x888], r12
call fcn.1400011e0
lea rdx, str.LoadLibraryA
mov rcx, r13
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x140001582
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str._n_t__Unable_to_get_address_of_Kernel32.dll_from_target_process__using_Local_Address__May_Fail_if_ASLR_enabled_
mov r12, rax
call fcn.1400023c0
lea rcx, str._n_t__Address_of_Kernel32.dll__Local_Process___0x_016p
mov rdx, r13
call fcn.1400023c0
lea rcx, str._n_t__Address_of_LoadLibrary__Local_Process___0x_016p
jmp 0x1400015ba
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str._n_t__Successfully_got_the_address_of_Kernel32.dll_on_target_process
mov r12, rax
mov rax, qword [rsp + 0x48]
sub rax, r13
add r12, rax
call fcn.1400023c0
mov rdx, qword [rsp + 0x48]
lea rcx, str._n_t__Address_of_Kernel32.dll__Target_Process___0x_016p
call fcn.1400023c0
lea rcx, str._n_t__Address_of_LoadLibrary__Target_Process___0x_016p
mov rdx, r12
call fcn.1400023c0
lea rdx, [rsp + 0x58]
lea rcx, str._n_n_nStep_4___Injecting_DLL_into_target_process_using_the_method__s
call fcn.1400023c0
mov qword [rsp + 0x30], r14
mov r9, r12
xor r8d, r8d
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov r12, rax
test rax, rax
jne 0x14000163c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rsp + 0x58]
lea rcx, str._n_n_t_Error:_DLL_Injection_using_Method__s_failed__Error__0x_.8x_n_n
mov r8d, eax
mov ebx, eax
call fcn.140001780
mov r9d, 0x8000
mov r8, rdi
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x140001715
lea rcx, str._n_t__Waiting_for_Remote_Thread_to_Terminate...
call fcn.1400023c0
or edx, 0xffffffff
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov edx, 0x5c
mov rcx, rbx
call fcn.140001e80
test rax, rax
je 0x14000169d
lea r8, [rax + 1]
lea rcx, [rsp + 0x470]
mov edx, 0x400
call fcn.140001bb0
lea rdx, [rsp + 0x470]
mov ecx, r15d
call fcn.1400011e0
mov r14, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
mov r8, rdi
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14, r14
jne 0x1400016dd
lea rcx, str._n_n_t_Error:_LoadLibrary_on_remote_process___d__failed._Try_running_RemoteDll_as_Administrator_n_n
mov edx, r15d
call fcn.140001780
or eax, 0xffffffff
jmp 0x140001715
lea rcx, str._n_t__Address_of_Injected_DLL___s__in_target_process__0x_016p
mov r8, r14
mov rdx, rbx
call fcn.1400023c0
lea rcx, [0x14000cba0]
call fcn.1400023c0
lea rcx, str.Successfully_Injected_the_DLL_into_target_process____
call fcn.1400023c0
lea rcx, [0x14000c510]
call fcn.1400023c0
xor eax, eax
mov r12, qword [rsp + 0x888]
mov r13, qword [rsp + 0x880]
mov rbp, qword [rsp + 0x8d0]
mov rcx, qword [rsp + 0x870]
xor rcx, rsp
call fcn.1400028e0
add rsp, 0x890
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret