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

Disassembly:
jmp 0x14004cf40
push rbp
push rsi
push rdi
sub rsp, 0x550
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0xe4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1400a6e78]
xor rax, rbp
mov qword [rbp + 0x508], rax
lea rcx, [0x1400b3190]
call fcn.140020883
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0xa8], 0
lea rax, [rbp + 0xc8]
lea rcx, str.InjectedDLL.dll
mov rdi, rax
mov rsi, rcx
mov ecx, 0x20
rep movsb byte [rdi], byte [rsi]
mov dword [rbp + 0x354], 0
lea rcx, str.notepad.exe
call fcn.14001f50a
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jne 0x14004cfda
xor eax, eax
jmp 0x14004d26c
mov edx, dword [rbp + 4]
lea rcx, str._t___Getting_proc_id:__u_n
call fcn.14001f0d7
call fcn.14001fa00
mov dword [rbp + 0x374], eax
mov edx, dword [rbp + 0x374]
lea rcx, str._t___Setting_Debug_Privileges___d__n
call fcn.14001f0d7
cmp dword [rbp + 0x374], 0
jne 0x14004d016
xor eax, eax
jmp 0x14004d26c
mov r8d, dword [rbp + 4]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14004d048
lea rcx, str.OpenProcess
call fcn.14001fd66
jmp 0x14004d231
lea rcx, [0x140069eb8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x14004d076
lea rcx, str.GetModuleHandle
call fcn.14001fd66
jmp 0x14004d231
lea rcx, str._t___Looking_for_LoadLibrary_in_kernel32_n
call fcn.14001f0d7
lea rdx, str.LoadLibraryW
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jne 0x14004d0ba
lea rcx, str.GetProcAddress
call fcn.14001fd66
jmp 0x14004d231
mov rdx, qword [rbp + 0x88]
lea rcx, str._t___Found_at_0x_p_n
call fcn.14001f0d7
xor r9d, r9d
lea r8, [rbp + 0x110]
mov edx, 0x104
lea rcx, [rbp + 0xc8]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea rdx, [rbp + 0x110]
lea rcx, str._t___Full_DLL_Path:__s_n
call fcn.14001f0d7
lea rcx, [rbp + 0x110]
call qword [sym.imp.ucrtbased.dll_wcslen]
shl rax, 1
mov qword [rbp + 0x338], rax
lea rcx, str._t___Allocating_space_for_the_path_of_the_DLL_n
call fcn.14001f0d7
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8, qword [rbp + 0x338]
xor edx, edx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x14004d167
lea rcx, str.VirtualAllocEx
call fcn.14001fd66
jmp 0x14004d231
mov rdx, qword [rbp + 0xa8]
lea rcx, str._t___Writing_into_the_current_process_space_at_0x_p_n
call fcn.14001fae1
mov qword [rsp + 0x20], 0
mov r9, qword [rbp + 0x338]
lea r8, [rbp + 0x110]
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14004d1b6
lea rcx, str.WriteProcessMemory
call fcn.14001fd66
jmp 0x14004d231
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rbp + 0xa8]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x88]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x14004d202
lea rcx, str.CreateRemoteThread
call fcn.14001fd66
jmp 0x14004d231
lea rcx, str.Remote_thread_has_been_created_successfully_..._n
call fcn.14001f0d7
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp + 0x354], 1
cmp qword [rbp + 0xa8], 0
je 0x14004d255
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
cmp qword [rbp + 0x28], 0
je 0x14004d266
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x354]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.1400203ce
mov rax, rdi
mov rcx, qword [rbp + 0x508]
xor rcx, rbp
call fcn.14001fb4f
lea rsp, [rbp + 0x510]
pop rdi
pop rsi
pop rbp
ret