Function at 0x140001d30
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rdi, rcx
mov rbp, rdx
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x140005520]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
jne 0x140001d9e
lea rcx, str.Could_note_locate_real_address_of_LoadLibraryA__n
call fcn.140001020
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.LastError_:_0X_x_n
call fcn.140001020
xor al, al
mov rbp, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
mov qword [rsp + 0x50], rbx
lea rcx, str.LoadLibraryA_is_located_at_real_address:_0X_p_n
mov rdx, r14
mov qword [rsp + 0x58], rsi
call fcn.140001020
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rdi + r8], 0
jne 0x140001dd0
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x1000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
jne 0x140001e22
lea rcx, str.Could_not_allocate_Memory_in_target_process_n
call fcn.140001020
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.LastError_:_0X_x_n
call fcn.140001020
xor al, al
jmp 0x140001f52
mov rdx, rsi
lea rcx, str.Dll_path_memory_allocated_at:_0X_p_n
call fcn.140001020
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop dword [rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140001e40
mov r9, rbx
mov r8, rdi
xor ebx, ebx
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001e8d
lea rcx, str.Could_not_write_into_the_allocated_memory_n
call fcn.140001020
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.LastError_:_0X_x_n
call fcn.140001020
xor al, al
jmp 0x140001f52
mov rdx, rsi
lea rcx, str.Dll_path_memory_was_written_at_address_:_0x_p_n
call fcn.140001020
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x30], rbx
mov r9, r14
mov dword [rsp + 0x28], ebx
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
test rax, rax
jne 0x140001ef2
lea rcx, str.Could_not_open_Thread_with_CreatRemoteThread_API_n
call fcn.140001020
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.LastError_:_0X_x_n
call fcn.140001020
xor al, al
jmp 0x140001f52
lea rcx, str.Thread_started_with_CreateRemoteThread_n
call fcn.140001020
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
je 0x140001f47
lea rcx, str.Memory_was_freed_in_target_process_n
call fcn.140001020
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret