Function at 0x1400118d0
Capabilities:
Acquire debug privileges
Create thread
Enumerate processes
Inject dll
Inject thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x3e0]
sub rsp, 0x4e0
mov rax, qword [0x140027040]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
movups xmm0, xmmword [0x1400206c8]
xor eax, eax
lea rdi, [rsp + 0x60]
movups xmm1, xmmword [0x1400206d8]
mov ecx, 0x238
xor edx, edx
rep stosb byte [rdi], al
mov ecx, 2
xor ebx, ebx
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm1
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140011948
lea rcx, [0x140021de0]
call fcn.140012ff0
jmp 0x140011977
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x14001199b
lea rcx, str.Process32First
call fcn.140012ff0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.140016050
mov rbx, qword [rsp + 0x510]
add rsp, 0x4e0
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.notepad.exe
lea rcx, [rbp - 0x74]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov rcx, rdi
test eax, eax
je 0x1400119eb
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14001196e
lea rdx, str.notepad.exe
lea rcx, [rbp - 0x74]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov rcx, rdi
test eax, eax
je 0x1400119eb
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400119c2
jmp 0x14001196e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [rsp + 0x68]
test edi, edi
je 0x140011977
mov edx, edi
lea rcx, str._t___Getting_proc_id:__u_n
call fcn.140008d70
mov qword [rsp + 0x4c], rbx
mov esi, ebx
mov qword [rsp + 0x40], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x40]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140011a53
lea rcx, [0x140021d30]
call fcn.140012ff0
xor edx, edx
lea rcx, str._t___Setting_Debug_Privileges___d__n
call fcn.140008d70
jmp 0x140011977
lea r8, [rsp + 0x4c]
mov dword [rsp + 0x48], 1
lea rdx, str.SeDebugPrivilege
mov dword [rsp + 0x54], 2
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x140011aa9
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x48]
mov qword [rsp + 0x28], rbx
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov esi, eax
test eax, eax
jne 0x140011ab5
lea rcx, [0x140021d80]
jmp 0x140011ab0
lea rcx, str.LookupPrivilegeValue
call fcn.140012ff0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, esi
lea rcx, str._t___Setting_Debug_Privileges___d__n
call fcn.140008d70
test esi, esi
je 0x140011977
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
jne 0x140011b01
lea rcx, [0x140020788]
call fcn.140012ff0
mov eax, ebx
jmp 0x140011979
lea rcx, [0x14001c1e8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
jne 0x140011b32
lea rcx, str.GetModuleHandle
call fcn.140012ff0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x140011979
lea rcx, str._t___Looking_for_LoadLibrary_in_kernel32_n
mov qword [rsp + 0x508], r15
call fcn.140008d70
lea rdx, [0x1400207f8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test rax, rax
jne 0x140011b6f
lea rcx, [0x140020808]
call fcn.140012ff0
jmp 0x140011cc6
mov rdx, r15
mov qword [rsp + 0x500], r14
lea rcx, str._t___Found_at_0x_p_n
call fcn.140008d70
xor r9d, r9d
lea r8, [rbp + 0x1c0]
mov edx, 0x104
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea rdx, [rbp + 0x1c0]
lea rcx, str._t___Full_DLL_Path:__s_n
call fcn.140008d70
lea rax, [rbp + 0x1c0]
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], bx
jne 0x140011bc3
lea rcx, str._t___Allocating_space_for_the_path_of_the_DLL_n
add rdi, rdi
call fcn.140008d70
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
mov r8, rdi
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
test rax, rax
jne 0x140011c10
lea rcx, [0x1400208e0]
call fcn.140012ff0
jmp 0x140011cbe
mov rdx, r14
lea rcx, str._t___Writing_into_the_current_process_space_at_0x_p_n
call fcn.140008d00
mov r9, rdi
mov qword [rsp + 0x20], rbx
lea r8, [rbp + 0x1c0]
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140011c4c
lea rcx, [0x140020938]
call fcn.140012ff0
jmp 0x140011ca9
mov qword [rsp + 0x30], rbx
mov r9, r15
mov dword [rsp + 0x28], ebx
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rdi, rax
test rax, rax
jne 0x140011c81
lea rcx, [0x140020960]
call fcn.140012ff0
jmp 0x140011ca9
lea rcx, str.Remote_thread_has_been_created_successfully_..._n
call fcn.140008d70
mov edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 1
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r14, qword [rsp + 0x500]
mov r15, qword [rsp + 0x508]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x140011979