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

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x3e0]
sub rsp, 0x4e0
mov rax, qword [0x140159080]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
movups xmm0, xmmword [str.InjectedDLL.dll]
xor eax, eax
xor ebx, ebx
movups xmm1, xmmword [0x14013f100]
lea rdi, [rsp + 0x60]
mov ecx, 0x238
rep stosb byte [rdi], al
lea ecx, [rbx + 2]
xor edx, edx
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm1
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14008c765
lea rcx, [0x140141c68]
call fcn.14008f300
jmp 0x14008ca66
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x14008c793
lea rcx, str.Process32First
call fcn.14008f300
mov rcx, rdi
jmp 0x14008ca60
lea rdx, str.notepad.exe
lea rcx, [rbp - 0x74]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x14008c7ef
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14008c7e7
nop word [rax + rax]
lea rdx, str.notepad.exe
lea rcx, [rbp - 0x74]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x14008c7ef
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14008c7c0
mov rcx, rdi
jmp 0x14008ca60
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [rsp + 0x68]
test edi, edi
je 0x14008ca66
mov qword [rsp + 0x4c], rbx
mov qword [rsp + 0x40], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x40]
mov edx, Ordinal_41
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x14008c83c
lea rcx, [0x140141be8]
call fcn.14008f300
jmp 0x14008ca66
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 0x14008ca4f
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]
test eax, eax
jne 0x14008c897
lea rcx, [0x140141c10]
jmp 0x14008ca56
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x500], rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
jne 0x14008c8dd
lea rcx, [0x14013f2a8]
call fcn.14008f300
mov rsi, qword [rsp + 0x500]
mov eax, ebx
jmp 0x14008ca68
lea rcx, [0x14013f178]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x14008c900
lea rcx, str.GetModuleHandle
call fcn.14008f300
jmp 0x14008ca3a
lea rdx, [0x14013f218]
mov qword [rsp + 0x510], r15
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test rax, rax
jne 0x14008c931
lea rcx, [0x14013f228]
call fcn.14008f300
jmp 0x14008ca32
xor r9d, r9d
mov qword [rsp + 0x508], r14
lea r8, [rbp + 0x1c0]
mov edx, 0x104
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea rax, [rbp + 0x1c0]
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], bx
jne 0x14008c963
add rdi, rdi
mov dword [rsp + 0x20], 4
mov r8, rdi
mov r9d, 0x3000
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
test rax, rax
je 0x14008ca2a
mov r9, rdi
mov qword [rsp + 0x20], rbx
lea r8, [rbp + 0x1c0]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14008c9c4
lea rcx, [0x14013f3a8]
call fcn.14008f300
jmp 0x14008ca15
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 0x14008c9f9
lea rcx, [0x14013fa20]
call fcn.14008f300
jmp 0x14008ca15
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 + 0x508]
mov r15, qword [rsp + 0x510]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x500]
mov eax, ebx
jmp 0x14008ca68
lea rcx, str.LookupPrivilegeValue
call fcn.14008f300
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.1400f48b0
add rsp, 0x4e0
pop rdi
pop rbx
pop rbp
ret