Function at 0x1400adc50
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 [0x140198858]
xor rax, rsp
mov qword [rbp + 0x150], rax
xor esi, esi
mov qword [rsp + 0x40], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x40]
lea edx, [rsi + 0x28]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400add3b
mov dword [rbp - 0x78], esi
mov rbx, qword [rsp + 0x40]
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 0x1400add2d
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 + 0x40]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1400add2d
lea r9, str.ProcessKiller::TryObtainDebugPrivilege:_Debug_Priveldge_obtained.
lea edx, [rsi + 0xe]
mov ecx, 0x3ce620
lea r8d, [rsi + 0x64]
call sub.Mso20Win32Client.dll_Ordinal_203
test rbx, rbx
je 0x1400adf1a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400adf1a
test rbx, rbx
je 0x1400add3b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x70]
call fcn.140016d14
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 0x1400add88
or edx, 0xffffffff
lock xadd dword [rbx + 8], edx
cmp edx, 1
jne 0x1400add88
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400add88
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
test dil, dil
je 0x1400adf1a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x48], 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 + 0x48]
lea rcx, [rbp + 0xc0]
call fcn.14000df40
mov rbx, rax
lea rcx, [rbp + 0x30]
call fcn.1400f6db0
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.14000b4a8
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0xa0]
call fcn.140007eb8
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x80]
call fcn.140007eb8
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x58]
call fcn.140007eb8
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x38]
call fcn.140007eb8
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x130]
call fcn.140007eb8
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x110]
call fcn.140007eb8
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0xf0]
call fcn.140007eb8
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0xd0]
call fcn.140007eb8
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x50]
call fcn.140007eb8
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x30]
call fcn.140007eb8
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x10]
call fcn.140007eb8
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x10]
call fcn.140007eb8
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.140022430
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