Function at 0x140070f44
Capabilities:
Get token privileges

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x430
mov qword [r11 - 0x3b0], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov rbx, rdx
mov rdi, rcx
xor r13d, r13d
mov dword [rsp + 0x34], r13d
mov dword [rsp + 0x38], 0x78
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x34]
lea rdx, str._Application::DisplayPrivilege_
lea rcx, [r11 - 0x2b8]
call fcn.14003fda0
nop
mov rcx, qword [0x1402de630]
test rcx, rcx
je 0x1400710ea
mov rax, qword [rcx]
mov edx, 0x7d0
call qword [rax + 0x10]
test eax, eax
je 0x1400710ea
lea edx, [r13 + 2]
lea r8d, [r13 + 1]
lea rcx, [rsp + 0xb0]
call fcn.140040070
nop
call fcn.14010ab78
mov r8, rax
mov rax, qword [rsp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0xb0]
add rcx, rax
lea rdx, [rsp + 0x40]
call fcn.140040f30
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140071031
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140071031
mov r8, qword [rax]
lea edx, [r13 + 1]
mov rcx, rax
call qword [r8]
nop
lea rdx, str._Application::DisplayPrivilege_
lea rcx, [rsp + 0xb0]
call fcn.140043d80
mov rcx, rax
lea rdx, str.Privilege:
call fcn.140043d80
mov rcx, rax
mov rdx, rbx
call fcn.140043d80
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0xb0]
call fcn.14003ffc0
nop
lea r8, [rsp + 0x1b8]
cmp qword [rsp + 0x1d0], 8
cmovae r8, qword [rsp + 0x1b8]
mov rcx, qword [0x1402de630]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x1c8]
mov edx, 0x7d0
call qword [rax + 0x20]
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x1b8]
call fcn.140006e40
nop
lea rcx, [rsp + 0x138]
call fcn.14003fff0
nop
lea r12, vtable.std::ios_base.0
mov qword [rsp + 0x138], r12
lea rcx, [rsp + 0x138]
call fcn.14010acb0
nop
jmp 0x1400710f1
lea r12, vtable.std::ios_base.0
mov dword [rsp + 0x30], r13d
lea r8, [rsp + 0x40]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x140071131
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, str.LookupPrivilegeValue
mov qword [rsp + 0x70], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x68]
call fcn.14012ccc0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea esi, [r9 + 3]
mov edx, esi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
mov eax, dword [rsp + 0x30]
jne 0x140071186
test eax, eax
jne 0x140071186
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x78], eax
lea rax, [0x14021c5a0]
mov qword [rsp + 0x80], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x78]
call fcn.14012ccc0
lea r14, vtable.SpeedBit::Utils::StackBufferEx_512_.0
mov qword [rsp + 0x200], r14
mov qword [rsp + 0x408], r13
mov qword [rsp + 0x410], r13
mov edx, eax
lea rcx, [rsp + 0x200]
call fcn.140072764
test eax, eax
jne 0x1400711e6
mov dword [rsp + 0x88], 8
lea rax, str.Utils::StackBufferEx::resize
mov qword [rsp + 0x90], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x88]
call fcn.14012ccc0
lea rcx, [rsp + 0x200]
mov rax, qword [rsp + 0x200]
call qword [rax + 0x10]
mov rbx, rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x30]
mov r8, rbx
mov edx, esi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x14007124d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x98], eax
lea rax, [0x14021c5a0]
mov qword [rsp + 0xa0], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x98]
call fcn.14012ccc0
mov rsi, r13
mov r9d, r13d
cmp dword [rbx], r13d
je 0x14007128f
lea r8, [rbx + 4]
mov rax, qword [rsp + 0x40]
mov r10d, dword [rsp + 0x44]
cmp dword [r8 + 4], r10d
jne 0x140071283
cmp dword [r8], eax
jne 0x140071283
movsxd rcx, r9d
lea rsi, [rcx*2 + 1]
add rsi, rcx
lea rsi, [rbx + rsi*4]
inc r9d
add r8, 0xc
cmp r9d, dword [rbx]
jne 0x140071266
mov qword [rsp + 0x1d0], 7
mov rax, r13
mov qword [rsp + 0x1c8], rax
mov word [rsp + 0x1b8], r13w
test rsi, rsi
je 0x140071405
lea rdi, [0x14025d868]
test byte [rsi + 8], 1
je 0x1400712f5
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x1b8]
call fcn.140009880
mov r8d, 0x12
lea rdx, str.ENABLED_BY_DEFAULT
mov rcx, rax
call fcn.140009880
mov rax, qword [rsp + 0x1c8]
lea r14, [0x14025f59c]
test byte [rsi + 8], 2
je 0x140071359
test rax, rax
sete al
mov rdx, rdi
test al, al
cmove rdx, r14
or rbx, 0xffffffffffffffff
cmp word [rdx], r13w
jne 0x140071320
mov r8, r13
jmp 0x14007132d
mov r8, rbx
inc r8
cmp word [rdx + r8*2], r13w
jne 0x140071323
lea rcx, [rsp + 0x1b8]
call fcn.140009880
mov r8d, 7
lea rdx, str.ENABLED
mov rcx, rax
call fcn.140009880
mov rax, qword [rsp + 0x1c8]
jmp 0x14007135d
or rbx, 0xffffffffffffffff
test byte [rsi + 8], 4
je 0x1400713b4
test rax, rax
sete al
mov rdx, rdi
test al, al
cmove rdx, r14
cmp word [rdx], r13w
jne 0x14007137d
mov r8, r13
jmp 0x14007138a
mov r8, rbx
inc r8
cmp word [rdx + r8*2], r13w
jne 0x140071380
lea rcx, [rsp + 0x1b8]
call fcn.140009880
mov r8d, 7
lea rdx, str.REMOVED
mov rcx, rax
call fcn.140009880
mov rax, qword [rsp + 0x1c8]
cmp dword [rsi + 8], r13d
jne 0x140071421
test rax, rax
sete al
test al, al
cmove rdi, r14
cmp word [rdi], r13w
jne 0x1400713d1
mov rbx, r13
jmp 0x1400713db
inc rbx
cmp word [rdi + rbx*2], r13w
jne 0x1400713d1
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x1b8]
call fcn.140009880
mov r8d, 8
lea rdx, str.DISABLED
mov rcx, rax
call fcn.140009880
jmp 0x140071421
mov r8d, ntohs
lea rdx, str.NOT_ASSIGNED
lea rcx, [rsp + 0x1b8]
call fcn.140007090
jmp 0x140071428
lea r14, vtable.SpeedBit::Utils::StackBufferEx_512_.0
mov rcx, qword [0x1402de630]
test rcx, rcx
je 0x140071565
mov rax, qword [rcx]
mov edx, 0x7d0
call qword [rax + 0x10]
test eax, eax
je 0x140071565
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rsp + 0xb0]
call fcn.140040070
nop
call fcn.14010ab78
mov rcx, qword [rsp + 0xb0]
movsxd rdx, dword [rcx + 4]
lea rcx, [rsp + 0xb0]
add rcx, rdx
mov r8, rax
lea rdx, [rsp + 0x58]
call fcn.140040f30
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400714b0
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400714b0
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
lea rdx, str._Application::DisplayPrivilege_
lea rcx, [rsp + 0xb0]
call fcn.140043d80
lea rdx, str.Attributes:
mov rcx, rax
call fcn.140043a10
lea rdx, [rsp + 0x1b8]
mov rcx, rax
call fcn.140044070
lea rdx, [rsp + 0x1d8]
lea rcx, [rsp + 0xb0]
call fcn.14003ffc0
nop
lea r8, [rsp + 0x1d8]
cmp qword [rsp + 0x1f0], 8
cmovae r8, qword [rsp + 0x1d8]
mov rcx, qword [0x1402de630]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x1e8]
mov edx, 0x7d0
call qword [rax + 0x20]
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x1d8]
call fcn.140006e40
nop
lea rcx, [rsp + 0x138]
call fcn.14003fff0
nop
mov qword [rsp + 0x138], r12
lea rcx, [rsp + 0x138]
call fcn.14010acb0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x1b8]
call fcn.140006e40
nop
mov qword [rsp + 0x200], r14
lea rax, [rsp + 0x208]
mov rcx, qword [rsp + 0x408]
cmp rcx, rax
je 0x1400715a1
test rcx, rcx
je 0x1400715a1
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov ebx, dword [rsp + 0x34]
lea rcx, [rsp + 0x1a0]
call fcn.14003fbb0
nop
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.14012a1e0
mov rbx, qword [rsp + 0x470]
add rsp, 0x430
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret