Function at 0x1400704b0
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x1400e6870]
xor rax, rsp
mov qword [rbp + 0x180], rax
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x38]
mov r15, r8
mov r14d, edx
call fcn.14001bb58
mov ebx, eax
test eax, eax
jns 0x140070520
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
cmp rcx, rax
je 0x14007059e
test byte [rcx + 0x1c], 1
je 0x14007059e
mov edx, 0x58
jmp 0x14007058b
lea rdx, [rsp + 0x30]
lea rcx, str.S_1_5_80_3232712927_1625117661_2590453128_1738570065_3637376297
call fcn.140081ac8
mov ebx, eax
test eax, eax
jns 0x140070557
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
cmp rcx, rax
je 0x14007059e
test byte [rcx + 0x1c], 1
je 0x14007059e
mov edx, 0x59
jmp 0x14007058b
mov cl, byte [rsp + 0x30]
mov al, cl
neg al
sbb ebx, ebx
not ebx
and ebx, 0x80070005
test cl, cl
jne 0x1400705c9
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
cmp rcx, rax
je 0x14007059e
test byte [rcx + 0x1c], 1
je 0x14007059e
mov edx, 0x5a
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400be6f0]
mov r9d, ebx
call fcn.14000a9b0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400705c2
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 0x140070892
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1400705ea
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]
and qword [rsp + 0x50], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop dword [rax + rax]
and qword [rsp + 0x48], 0
lea r8, [rsp + 0x48]
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 0x14007062a
call fcn.1400a2828
mov esi, eax
xor edi, edi
jmp 0x140070631
mov rdi, qword [rsp + 0x48]
xor esi, esi
test esi, esi
jns 0x140070660
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
cmp rcx, rax
je 0x14007087c
test byte [rcx + 0x1c], 1
je 0x14007087c
mov edx, 0x5b
jmp 0x140070721
and qword [rsp + 0x5c], 0
lea r8, [rsp + 0x5c]
lea rdx, str.SeDebugPrivilege
mov dword [rsp + 0x58], 1
xor ecx, ecx
mov dword [rsp + 0x64], 2
call qword [sym.imp.api_ms_win_security_lsalookup_l2_1_0.dll_LookupPrivilegeValueW]
nop dword [rax + rax]
test eax, eax
jne 0x1400706c7
call fcn.1400a8fb0
mov esi, eax
test eax, eax
jns 0x1400706c7
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
cmp rcx, rax
je 0x14007087c
test byte [rcx + 0x1c], 1
je 0x14007087c
mov edx, 0x5c
jmp 0x140070721
and qword [rsp + 0x28], 0
lea r8, [rsp + 0x58]
and qword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_AdjustTokenPrivileges]
nop dword [rax + rax]
test eax, eax
jne 0x140070739
call fcn.1400a8fb0
mov esi, eax
test eax, eax
jns 0x140070739
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
cmp rcx, rax
je 0x14007087c
test byte [rcx + 0x1c], 1
je 0x14007087c
mov edx, 0x5d
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400be6f0]
mov r9d, esi
call fcn.14000a9b0
jmp 0x14007087c
mov r8d, r14d
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x14007078b
mov ecx, r14d
call fcn.1400a2784
mov esi, eax
test eax, eax
jns 0x14007078b
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
cmp rcx, rax
je 0x140070868
test byte [rcx + 0x1c], 1
je 0x140070868
lea edx, [rbx + 0x5e]
jmp 0x1400707e3
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], 0x104
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_psapi_l1_1_0.dll_QueryFullProcessImageNameW]
nop dword [rax + rax]
test eax, eax
jne 0x1400707f8
call fcn.1400a8fb0
mov esi, eax
test eax, eax
jns 0x1400707f8
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
cmp rcx, rax
je 0x140070868
test byte [rcx + 0x1c], 1
je 0x140070868
mov edx, 0x5f
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400be6f0]
mov r9d, esi
call fcn.14000a9b0
jmp 0x140070868
and qword [rsp + 0x38], 0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.1400a8b10
mov esi, eax
test eax, eax
jns 0x14007084b
mov rcx, qword [0x1400df278]
lea rax, [0x1400df278]
cmp rcx, rax
je 0x140070844
test byte [rcx + 0x1c], 1
je 0x140070844
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400be6f0]
mov edx, 0x60
mov r9d, esi
call fcn.14000a9b0
mov rcx, qword [rsp + 0x38]
jmp 0x140070857
mov rax, qword [rsp + 0x38]
xor ecx, ecx
mov qword [r15], rax
xor esi, esi
test rcx, rcx
je 0x140070868
call qword [sym.imp.OLE32.dll_CoTaskMemFree]
nop dword [rax + rax]
test rbx, rbx
je 0x14007087c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test rdi, rdi
je 0x140070890
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov eax, esi
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400abb00
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x290
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret