Function at 0x14007f490
Capabilities:
Get token membership

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp + 0x17], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402a98a8]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, rcx
mov qword [rbp + 0x1f], rcx
xor r13d, r13d
mov qword [rcx], r13
mov qword [rcx + 8], r13
add rcx, 0x10
call fcn.140047820
nop
mov qword [r14 + 0x1c8], r13
mov qword [r14 + 0x1d0], r13
mov qword [r14 + 0x1d8], r13
lea rcx, [r14 + 0x1e0]
lea rdx, [r14 + 0x6f0]
call fcn.14007e820
nop
lea rcx, [r14 + 0x328]
lea rdx, [r14 + 0x650]
call fcn.14007e820
nop
lea rcx, [r14 + 0x470]
lea rdx, [r14 + 0xc78]
call fcn.1400a1bd0
lea r12, [r14 + 0x478]
mov qword [r12], r13
mov dword [r12 + 8], r13d
mov byte [r12 + 0xc], r13b
mov qword [r12 + 0x10], r13
lea rcx, [r14 + 0x490]
call fcn.14007e940
nop
lea rcx, [r14 + 0x568]
call fcn.14007e940
nop
mov qword [r14 + 0x640], r13
mov qword [r14 + 0x648], r13
lea rcx, [r14 + 0x650]
call fcn.1400803a0
nop
lea rcx, [r14 + 0x6f0]
call fcn.1400803a0
nop
lea rcx, [r14 + 0x790]
call fcn.1400803a0
nop
lea rcx, [r14 + 0x830]
call fcn.1400803a0
nop
mov qword [r14 + 0x8d0], r13
mov qword [r14 + 0x8d8], r13
mov qword [r14 + 0x8e0], r13
mov qword [r14 + 0x8f0], r13
mov qword [r14 + 0x8f8], r13
mov qword [r14 + 0x900], r13
lea rax, vtable.SplitterContainer.0
mov qword [r14 + 0x8e8], rax
mov qword [r14 + 0x908], r13
mov qword [r14 + 0x910], r13
mov qword [r14 + 0x920], r13
mov qword [r14 + 0x928], r13
mov qword [r14 + 0x930], r13
lea rax, vtable.Splitter.0
mov qword [r14 + 0x918], rax
xor eax, eax
mov qword [r14 + 0x938], rax
mov qword [r14 + 0x940], rax
mov qword [r14 + 0x948], r13
mov dword [r14 + 0x950], r13d
mov word [r14 + 0x954], ax
mov dword [r14 + 0x958], r13d
mov byte [r14 + 0x95c], al
mov qword [r14 + 0x980], r13
mov qword [r14 + 0x988], r13
mov qword [r14 + 0x990], r13
mov dword [r14 + 0x998], 0x38
mov byte [r14 + 0x99c], al
lea rax, [r14 + 0x9a0]
mov qword [rbp + 7], rax
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
mov qword [rax + 0x20], r13
lea rax, [r14 + 0x9c8]
mov qword [rbp + 7], rax
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
mov qword [rax + 0x20], r13
lea rax, [r14 + 0x9f0]
mov qword [rbp + 7], rax
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
mov qword [rax + 0x20], r13
lea r15, [r14 + 0xa18]
mov qword [rbp + 7], r15
mov qword [r15 + 8], r13
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], r13
lea rax, vtable.ToolBar.0
mov qword [r15], rax
mov qword [r15 + 0x20], r13
lea rax, [r15 + 0x28]
mov qword [rbp + 0x27], rax
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
mov qword [rax + 0x20], r13
mov qword [rax + 0x28], r13
mov dword [rax + 0x30], r13d
mov dword [r15 + 0x60], r13d
mov qword [r15 + 0x68], r13
mov qword [r15 + 0x70], r13
mov qword [r15 + 0x78], r13
mov qword [r15 + 0x80], r13
mov qword [r15 + 0x88], r13
mov qword [r15 + 0x90], r13
mov qword [r15 + 0x98], r13
mov qword [r15 + 0xa0], r13
mov qword [r15 + 0x128], r13
mov qword [r15 + 0x130], r13
mov qword [r15 + 0x138], r13
mov qword [r15 + 0x140], r13
mov qword [r14 + 0xb60], r13
mov qword [r14 + 0xb68], r13
mov qword [r14 + 0xb70], r13
mov qword [r14 + 0xb78], r13
mov qword [r14 + 0xb80], r13
mov qword [r14 + 0xb88], r13
mov qword [r14 + 0xb90], r13
mov qword [r14 + 0xb98], r13
lea rax, [r14 + 0xba0]
mov qword [rbp + 7], rax
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
lea rcx, vtable.StatusBar.0
mov qword [rax], rcx
mov qword [rax + 0x20], r13
mov qword [rax + 0x28], r13
mov qword [rax + 0x30], r13
mov qword [rax + 0x38], r13
mov qword [rax + 0x50], r13
mov qword [rax + 0x58], 7
mov word [rax + 0x40], r13w
mov byte [r14 + 0xc00], r13b
lea rcx, [r14 + 0xc08]
mov qword [rbp + 7], rcx
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], r13
lea r8, vtable.ReBar.0
mov qword [rcx], r8
mov qword [rcx + 0x20], r13
mov qword [rcx + 0x28], r13
mov qword [rcx + 0x30], r13
mov rax, qword [rcx + 0x20]
mov qword [rcx + 0x28], rax
lea rdx, [r14 + 0xc40]
mov qword [rbp + 7], rdx
mov qword [rdx + 8], r13
mov qword [rdx + 0x10], r13
mov qword [rdx + 0x18], r13
mov qword [rdx], r8
mov qword [rdx + 0x20], r13
mov qword [rdx + 0x28], r13
mov qword [rdx + 0x30], r13
mov rax, qword [rdx + 0x20]
mov qword [rdx + 0x28], rax
lea rcx, [r14 + 0xc78]
call fcn.14007ef90
nop
lea rax, [r14 + 0x16a0]
mov qword [rbp + 7], rax
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
lea rsi, vtable.StaticDialog.0
mov qword [rax], rsi
lea rcx, vtable.FindInFinderDlg.0
mov qword [rax], rcx
mov qword [rax + 0x30], r13
add rax, 0x38
mov qword [rbp + 0x27], rax
mov dword [rax], 0x1010101
mov qword [rax + 4], r13
mov word [rax + 0xc], r13w
mov byte [rax + 0xe], r13b
mov qword [rax + 0x20], r13
mov qword [rax + 0x28], 7
mov word [rax + 0x10], r13w
mov qword [rax + 0x40], r13
mov qword [rax + 0x48], 7
mov word [rax + 0x30], r13w
mov qword [rax + 0x60], r13
mov qword [rax + 0x68], 7
mov word [rax + 0x50], r13w
mov qword [rax + 0x80], r13
mov qword [rax + 0x88], 7
mov word [rax + 0x70], r13w
mov dword [rax + 0x90], 1
mov word [rax + 0x94], r13w
mov byte [rax + 0x96], 1
lea rax, [r14 + 0x1770]
mov qword [rbp + 7], rax
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
mov qword [rax], rsi
lea rcx, vtable.FindIncrementDlg.0
mov qword [rax], rcx
mov byte [rax + 0x30], r13b
mov qword [rax + 0x38], r13
mov dword [rax + 0x40], r13d
mov qword [rax + 0x48], r13
lea rbx, [r14 + 0x1840]
mov qword [rbp + 7], rbx
mov qword [rbx + 8], r13
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r13
mov qword [rbx], rsi
lea rax, vtable.AboutDlg.0
mov qword [rbx], rax
lea rcx, [rbx + 0x30]
call fcn.140080510
nop
lea rcx, [rbx + 0xa8]
call fcn.140080510
nop
lea rcx, [r14 + 0x1960]
mov qword [rbp + 7], rcx
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], r13
mov qword [rcx], rsi
lea rax, vtable.DebugInfoDlg.0
mov qword [rcx], rax
mov qword [rcx + 0x40], r13
mov qword [rcx + 0x48], 7
mov word [rcx + 0x30], r13w
mov byte [rcx + 0x50], r13b
mov qword [rcx + 0x68], r13
mov qword [rcx + 0x70], 7
mov word [rcx + 0x58], r13w
add rcx, 0x78
call fcn.140080510
nop
lea rcx, [r14 + 0x1a50]
mov qword [rbp + 7], rcx
lea rax, [rcx + 0x30]
mov qword [rbp + 0x27], rax
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], r13
mov qword [rcx], rsi
lea rax, vtable.RunDlg.0
mov qword [rcx], rax
lea rax, [r14 + 0x1aa0]
mov qword [rbp + 7], rax
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
mov qword [rax], rsi
lea rdx, vtable.HashFromFilesDlg.0
mov qword [rax], rdx
mov dword [rax + 0x30], r13d
mov qword [rax + 0x38], r13
mov qword [rax + 0x40], r13
lea rax, [r14 + 0x1ae8]
mov qword [rbp + 7], rax
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
mov qword [rax], rsi
lea rcx, vtable.HashFromTextDlg.0
mov qword [rax], rcx
mov dword [rax + 0x30], r13d
mov qword [rax + 0x38], r13
mov qword [rax + 0x40], r13
lea rax, [r14 + 0x1b30]
mov qword [rbp + 7], rax
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
mov qword [rax], rsi
mov qword [rax], rdx
mov dword [rax + 0x30], r13d
mov qword [rax + 0x38], r13
mov qword [rax + 0x40], r13
lea rax, [r14 + 0x1b78]
mov qword [rbp + 7], rax
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
mov qword [rax], rsi
mov qword [rax], rcx
mov dword [rax + 0x30], r13d
mov qword [rax + 0x38], r13
mov qword [rax + 0x40], r13
lea rax, [r14 + 0x1bc0]
mov qword [rbp + 7], rax
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
mov qword [rax], rsi
lea rcx, vtable.GoToLineDlg.0
mov qword [rax], rcx
mov dword [rax + 0x30], r13d
mov qword [rax + 0x38], r13
lea rax, [r14 + 0x1c00]
mov qword [rbp + 7], rax
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
mov qword [rax], rsi
lea rcx, vtable.ColumnEditorDlg.0
mov qword [rax], rcx
mov qword [rax + 0x30], r13
lea rcx, [r14 + 0x1c38]
call fcn.140080590
nop
lea rcx, [r14 + 0x65978]
call fcn.140080000
nop
lea rax, [r14 + 0x97650]
mov qword [rbp + 7], rax
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
mov qword [rax], rsi
lea rcx, vtable.FindCharsInRangeDlg.0
mov qword [rax], rcx
mov qword [rax + 0x30], r13
lea rcx, [r14 + 0x97688]
call fcn.1400380b0
nop
lea rax, [r14 + 0x97900]
mov qword [rbp + 7], rax
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
mov qword [rax], rsi
lea rcx, vtable.DocumentPeeker.0
mov qword [rax], rcx
mov qword [rax + 0x30], r13
mov qword [r14 + 0x97938], r13
mov qword [r14 + 0x97940], r13
mov qword [r14 + 0x97948], r13
lea rbx, [r14 + 0x97950]
mov qword [rbp + 7], rbx
mov qword [rbp + 0x27], rbx
mov qword [rbx], r13
mov qword [rbx + 8], r13
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r13
mov qword [rbx + 0x20], r13
lea ecx, [r13 + 0x10]
call fcn.140181288
mov qword [rbx], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov rax, qword [rbx]
mov qword [rax], rbx
mov qword [rbx + 0x28], r13
mov qword [rbx + 0x30], r13
mov rdi, 0xffffffffffffffff
mov dword [rbx + 0x38], edi
mov qword [rbx + 0x40], r13
mov qword [rbx + 0x48], r13
mov qword [rbx + 0x50], rdi
xor eax, eax
mov qword [rbx + 0x58], rax
mov qword [rbx + 0x60], rax
mov qword [rbx + 0x68], rax
mov qword [rbx + 0x70], rax
call fcn.14000c990
mov ecx, dword [rax + 0xcf4]
mov dword [rbx + 0x30], ecx
lea rcx, [r14 + 0x979c8]
call fcn.14014b430
nop
mov qword [r14 + 0x979d0], r13
mov word [r14 + 0x979d8], r13w
mov word [r14 + 0x979e0], r13w
mov byte [r14 + 0x979e2], 1
mov qword [r14 + 0x979e8], 0x2cf0000
mov word [r14 + 0x979f0], 1
mov byte [r14 + 0x979f2], 1
xor eax, eax
mov qword [r14 + 0x979f4], rax
mov qword [r14 + 0x979fc], rax
mov qword [r14 + 0x97a04], rax
mov qword [r14 + 0x97a0c], rax
mov qword [r14 + 0x97a14], rax
mov dword [r14 + 0x97a1c], eax
mov qword [r14 + 0x97a20], r13
mov qword [r14 + 0x97a28], r13
mov qword [r14 + 0x97a30], r13
mov word [r14 + 0x97a38], ax
mov byte [r14 + 0x97a3a], al
lea rax, [r14 + 0x97a40]
mov qword [rbp + 7], rax
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
mov qword [rax], rsi
lea rcx, vtable.RunMacroDlg.0
mov qword [rax], rcx
mov dword [rax + 0x30], 1
mov qword [rax + 0x34], 1
mov qword [r14 + 0x97a80], r13
mov word [r14 + 0x97a88], 1
mov qword [r14 + 0x97a94], r13
mov word [r14 + 0x97a9c], r13w
mov byte [r14 + 0x97aa0], r13b
mov qword [r14 + 0x97aa8], r13
mov dword [r14 + 0x97ab0], r13d
mov qword [r14 + 0x97ab8], r13
mov qword [r14 + 0x97ac0], r13
mov qword [r14 + 0x97ac8], r13
mov qword [r14 + 0x97ad0], r13
mov qword [r14 + 0x97ad8], r13
mov qword [r14 + 0x97ae0], r13
mov dword [r14 + 0x97ae8], r13d
lea rax, [r14 + 0x97af0]
mov qword [rbp + 7], rax
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
mov qword [rax + 0x20], r13
lea rbx, [r14 + 0x97b18]
mov qword [rbp + 7], rbx
mov qword [rbx + 0x18], r13
mov qword [rbx + 0x20], r13
mov qword [rbx + 0x28], r13
mov qword [rbx + 0x30], r13
mov qword [rbx + 0x38], r13
mov qword [rbx + 0x40], r13
mov qword [rbx + 0x48], r13
mov qword [rbx + 0x50], r13
mov qword [rbx + 0x58], r13
mov qword [rbx + 0x60], r13
mov byte [rbx + 0x68], r13b
lea rcx, [rbx + 0x6c]
mov edx, 0x59d8
mov r8d, 0x61a7
call fcn.140075680
lea rcx, [rbx + 0x78]
lea edx, [rdi + 4]
lea r8d, [r13 + 0x13]
call fcn.140075680
mov byte [rbx + 0x84], r13b
lea rax, [r14 + 0x97ba0]
mov qword [rbp + 7], rax
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
mov qword [rax], rsi
lea rcx, vtable.ButtonDlg.0
mov qword [rax], rcx
mov dword [rax + 0x30], r13d
mov word [r14 + 0x97bd8], r13w
mov byte [r14 + 0x97bda], r13b
lea rax, [r14 + 0x97be0]
mov qword [rbp + 7], rax
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
mov qword [rax + 0x20], r13
mov qword [r14 + 0x97c08], r13
mov qword [r14 + 0x97c10], r13
mov qword [r14 + 0x97c18], r13
lea rbx, [r14 + 0x97c20]
mov qword [rbp + 7], rbx
lea rax, [0x14004e4a0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400804d0]
lea edx, [rdi + 0x41]
lea r8d, [r13 + 0x1e]
mov rcx, rbx
call fcn.140181e24
nop
mov dword [rbx + 0x780], r13d
mov qword [r14 + 0x983a8], r13
mov qword [r14 + 0x983b0], r13
mov qword [r14 + 0x983b8], r13
mov qword [r14 + 0x983c0], r13
mov qword [r14 + 0x983c8], r13
mov qword [r14 + 0x983d0], r13
mov qword [r14 + 0x983d8], r13
mov qword [r14 + 0x983e0], r13
mov qword [r14 + 0x983e8], r13
mov qword [r14 + 0x983f0], r13
mov qword [r14 + 0x983f8], r13
mov qword [r14 + 0x98400], r13
mov byte [r14 + 0x98408], r13b
mov dword [r14 + 0x9840c], r13d
xor eax, eax
mov qword [r14 + 0x97a8c], rax
call fcn.14000c990
mov rbx, rax
xor r8d, r8d
mov rdx, qword [rax + 0x68]
mov rcx, r12
call fcn.14007c010
mov rdx, qword [r14 + 0x488]
test rdx, rdx
je 0x14007fefd
inc rdi
cmp byte [rdx + rdi], 0
jne 0x14007fee5
lea rcx, [rbx + 0x32f98]
mov r8, rdi
call fcn.140006c20
mov qword [rbx + 0x33390], r12
mov rdx, qword [rbx + 0x50]
test rdx, rdx
je 0x14007ff15
mov rcx, r15
call fcn.14013be70
call fcn.14000c990
mov ecx, dword [rax + 0x33384]
cmp ecx, 0xa
jge 0x14007ff31
test ecx, ecx
je 0x14007ff31
mov eax, r13d
mov dword [rbp + 0xf], eax
jmp 0x14007ffad
mov dword [rbp + 0x27], 0
mov word [rbp + 0x2b], 0x500
lea rax, [rbp + 7]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], r13d
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
mov r9d, 0x220
mov r8d, 0x20
mov dl, 2
lea rcx, [rbp + 0x27]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rbp + 0xf], eax
test eax, eax
je 0x14007ffad
lea r8, [rbp + 0xf]
mov rdx, qword [rbp + 7]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov ecx, dword [rbp + 0xf]
test eax, eax
cmove ecx, r13d
mov dword [rbp + 0xf], ecx
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rbp + 0xf]
cmp eax, 1
sete cl
mov byte [rbx + 0x33421], cl
cmp dword [rbp + 0xf], 0
setne cl
mov byte [r14 + 0x97bd9], cl
mov rax, r14
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1401813e0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret