Function at 0x1400a8db0
Capabilities:
Acquire debug privileges

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x168]
sub rsp, 0x260
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1401d4618]
xor rax, rsp
mov qword [rbp + 0x150], rax
xor esi, esi
mov qword [rsp + 0x48], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x48]
lea edx, [rsi + 0x28]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400a8e9b
mov dword [rbp - 0x78], esi
mov rbx, qword [rsp + 0x48]
mov dword [rbp - 0x60], 1
lea r8, [rbp - 0x5c]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1400a8e8d
mov dword [rbp - 0x54], 2
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9d, [rsi + 0x10]
lea r8, [rbp - 0x60]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1400a8e8d
lea r9, str.ProcessKiller::TryObtainDebugPrivilege:_Debug_Priveldge_obtained.
lea edx, [rsi + 0xe]
mov ecx, 0x3ce620
lea r8d, [rsi + 0x64]
call sub.Mso20Win32Client.dll_Ordinal_489
test rbx, rbx
je 0x1400a9079
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400a9079
test rbx, rbx
je 0x1400a8e9b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x70]
call fcn.140015344
nop
mov rcx, qword [rax]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov dil, al
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x1400a8ee7
or edx, 0xffffffff
lock xadd dword [rbx + 8], edx
cmp edx, 1
jne 0x1400a8ee7
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400a8ee7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test dil, dil
je 0x1400a9079
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov eax, 7
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x20], rsi
mov word [rbp + 0x10], si
mov qword [rbp + 8], rax
mov qword [rbp], rsi
mov word [rbp - 0x10], si
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], rsi
mov word [rbp - 0x50], si
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xc0]
call fcn.1400354c0
mov rbx, rax
lea rcx, [rbp + 0x30]
call fcn.1400f27cc
lea rcx, vtable.Mso::Logging::StructuredObject_wchar_t_const____ptr64__1_.0
mov qword [rsp + 0x50], rcx
lea rcx, str.ContextData
mov qword [rsp + 0x58], rcx
lea rcx, str.Failed_to_obtain_Debug_Priveldge.
mov qword [rsp + 0x60], rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
lea r9, str.ProcessKiller::TryObtainDebugPrivilege
mov edx, 0x3ae
mov ecx, 0x3ce621
mov r8d, 0xa
call fcn.14000ba08
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0xa0]
call fcn.14000867c
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x80]
call fcn.14000867c
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x58]
call fcn.14000867c
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x38]
call fcn.14000867c
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x130]
call fcn.14000867c
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x110]
call fcn.14000867c
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0xf0]
call fcn.14000867c
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0xd0]
call fcn.14000867c
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x50]
call fcn.14000867c
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x30]
call fcn.14000867c
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x10]
call fcn.14000867c
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x10]
call fcn.14000867c
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.140121d80
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret