Function at 0x1400700f0
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400e6870]
xor rax, rsp
mov qword [rbp - 8], rax
xor r13d, r13d
lea rcx, [rbp - 0x28]
mov qword [rbp - 0x28], r13
mov r12, r8
mov r15d, edx
call fcn.14001bb58
mov ebx, eax
test eax, eax
jns 0x14007015b
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
cmp rcx, rax
je 0x1400701dd
lea esi, [r13 + 1]
test byte [rcx + 0x1c], sil
je 0x1400701dd
lea edx, [rsi + 0x4f]
jmp 0x1400701ca
lea rdx, [rbp - 0x2f]
lea rcx, str.S_1_5_80_3232712927_1625117661_2590453128_1738570065_3637376297
call fcn.140081ac8
mov ebx, eax
test eax, eax
jns 0x140070194
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
cmp rcx, rax
je 0x1400701dd
mov esi, 1
test byte [rcx + 0x1c], sil
je 0x1400701dd
lea edx, [rsi + 0x50]
jmp 0x1400701ca
mov cl, byte [rbp - 0x2f]
mov al, cl
neg al
sbb ebx, ebx
not ebx
and ebx, 0x80070005
test cl, cl
jne 0x140070207
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
cmp rcx, rax
je 0x1400701dd
mov esi, 1
test byte [rcx + 0x1c], sil
je 0x1400701dd
lea edx, [rsi + 0x51]
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400be6f0]
mov r9d, ebx
call fcn.14000a9b0
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140070200
mov rdx, qword [rcx]
movsxd rdx, dword [rdx + 4]
add rdx, rcx
mov rcx, qword [rdx]
mov rax, qword [rcx + 8]
mov rcx, rdx
call qword [case.0x1400ad4ce.0]
mov eax, ebx
jmp 0x140070478
mov rax, qword [rbp - 0x28]
test rax, rax
je 0x140070227
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400ad4ce.0]
mov qword [rbp - 0x20], r13
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop dword [rax + rax]
lea r8, [rbp - 0x28]
mov qword [rbp - 0x28], r13
mov rcx, rax
mov edx, 0x20
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_OpenProcessToken]
nop dword [rax + rax]
test eax, eax
jne 0x140070264
call fcn.1400a2828
mov r14d, eax
mov rbx, r13
jmp 0x14007026b
mov rbx, qword [rbp - 0x28]
mov r14d, r13d
test r14d, r14d
jns 0x14007029e
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
cmp rcx, rax
je 0x140070461
mov esi, 1
test byte [rcx + 0x1c], sil
je 0x140070461
lea edx, [rsi + 0x52]
jmp 0x140070358
mov esi, 1
mov qword [rbp - 0x14], r13
lea r8, [rbp - 0x14]
mov dword [rbp - 0x18], esi
lea rdx, str.SeDebugPrivilege
mov dword [rbp - 0xc], 2
xor ecx, ecx
call qword [sym.imp.api_ms_win_security_lsalookup_l2_1_0.dll_LookupPrivilegeValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140070300
call fcn.1400a8fb0
mov r14d, eax
test eax, eax
jns 0x140070300
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
cmp rcx, rax
je 0x140070461
test byte [rcx + 0x1c], sil
je 0x140070461
lea edx, [rsi + 0x53]
jmp 0x140070358
mov qword [rsp + 0x28], r13
lea r8, [rbp - 0x18]
xor r9d, r9d
mov qword [rsp + 0x20], r13
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_AdjustTokenPrivileges]
nop dword [rax + rax]
test eax, eax
jne 0x140070370
call fcn.1400a8fb0
mov r14d, eax
test eax, eax
jns 0x140070370
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
cmp rcx, rax
je 0x140070461
test byte [rcx + 0x1c], sil
je 0x140070461
mov edx, 0x55
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400be6f0]
mov r9d, r14d
call fcn.14000a9b0
jmp 0x140070461
mov r8d, r15d
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x1400703c3
mov ecx, r15d
call fcn.1400a2784
mov r14d, eax
test eax, eax
jns 0x1400703c3
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
cmp rcx, rax
je 0x14007044d
test byte [rcx + 0x1c], sil
je 0x14007044d
lea edx, [rdi + 0x56]
jmp 0x140070418
mov r9d, esi
mov byte [rbp - 0x30], r13b
lea r8, [rbp - 0x30]
mov qword [rsp + 0x20], r13
mov edx, 0x3d
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
nop dword [rax + rax]
mov r14d, eax
bts r14d, 0x1c
test eax, eax
cmovns r14d, r13d
test r14d, r14d
jns 0x14007042d
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
cmp rcx, rax
je 0x14007044d
test byte [rcx + 0x1c], sil
je 0x14007044d
mov edx, 0x57
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400be6f0]
mov r9d, r14d
call fcn.14000a9b0
jmp 0x14007044d
mov al, byte [rbp - 0x30]
mov cl, al
and cl, 7
sub cl, sil
cmp cl, sil
ja 0x140070443
and al, 0xf0
cmp al, 0x30
je 0x140070446
mov esi, r13d
mov dword [r12], esi
mov r14d, r13d
test rdi, rdi
je 0x140070461
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test rbx, rbx
je 0x140070475
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov eax, r14d
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400abb00
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret