Function at 0x180011614
Capabilities:
Get token membership

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x98]
sub rsp, 0x190
mov rax, qword [0x180034040]
xor rax, rsp
mov qword [rbp + 0x80], rax
xor esi, esi
mov dword [rbp + 0x58], esi
mov dword [rbp + 0x60], esi
mov word [rbp + 0x64], 0x500
mov qword [rbp + 0x68], rsi
lea rax, [rbp + 0x68]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8d, [rsi + 0x12]
mov dl, 1
lea rcx, [rbp + 0x60]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x18001169d
lea r8, [rbp + 0x58]
mov rdx, qword [rbp + 0x68]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
cmp dword [rbp + 0x58], esi
setne bl
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x1800116b2
call qword [sym.imp.ADVAPI32.dll_FreeSid]
test bl, bl
jne 0x1800119a1
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov rcx, qword [rbp + 0x98]
test eax, eax
js 0x1800119ce
mov qword [rbp + 0x68], rsi
lea rcx, [rbp + 0x68]
call fcn.180013240
mov rbx, qword [rbp + 0x68]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x50]
lea rcx, [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rbp - 0x50], xmm0
movsd xmm0, qword [rsp + 0x78]
movsd qword [rbp - 0x80], xmm0
lea rcx, [rbp + 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
movups xmm0, xmmword [rbp + 0x40]
movups xmmword [rbp - 0x30], xmm0
movsd xmm0, qword [rbp + 0x50]
movsd qword [rbp - 0x78], xmm0
lea rcx, [rbp + 0x28]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
movups xmm0, xmmword [rbp + 0x28]
movups xmmword [rbp - 0x10], xmm0
movsd xmm0, qword [rbp + 0x38]
movsd qword [rsp + 0x60], xmm0
lea rcx, [rbp + 0x10]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
movups xmm0, xmmword [rbp - 0x50]
movaps xmmword [rbp - 0x50], xmm0
movsd xmm0, qword [rbp - 0x80]
movsd qword [rbp - 0x40], xmm0
movups xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp - 0x30], xmm0
movsd xmm0, qword [rbp - 0x78]
movsd qword [rbp - 0x20], xmm0
movups xmm0, xmmword [rbp - 0x10]
movaps xmmword [rbp - 0x10], xmm0
movsd xmm0, qword [rsp + 0x60]
movsd qword [rbp], xmm0
movups xmm0, xmmword [rbp + 0x10]
movaps xmmword [rbp - 0x70], xmm0
movsd xmm1, qword [rbp + 0x20]
movsd qword [rbp - 0x60], xmm1
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x70]
mov rcx, rbx
call rdi
mov ebx, eax
lea rcx, [rbp + 0x10]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp + 0x28]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp + 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
test ebx, ebx
jns 0x1800117f2
mov rcx, qword [rbp + 0x98]
mov edx, ebx
call fcn.18000211c
jmp 0x180011987
mov rbx, qword [rbp + 0x68]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x38]
mov qword [rbp + 0x70], rsi
lea rcx, [rsp + 0x60]
call fcn.180013574
mov rdx, qword [rax]
test rdx, rdx
je 0x180011818
mov rdx, qword [rdx]
jmp 0x18001181b
mov rdx, rsi
lea r8, [rbp + 0x70]
mov rcx, rbx
call rdi
mov ebx, eax
lea rcx, [rsp + 0x60]
call fcn.180013500
test ebx, ebx
jns 0x180011847
mov rcx, qword [rbp + 0x98]
mov edx, ebx
call fcn.18000211c
jmp 0x180011977
mov rbx, qword [rbp + 0x70]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x68]
mov qword [rbp + 0x60], rsi
lea rdx, str.OpenGlass_Legacy_Host
lea rcx, [rsp + 0x60]
call fcn.180013470
mov rdx, qword [rax]
test rdx, rdx
je 0x180011874
mov rdx, qword [rdx]
jmp 0x180011877
mov rdx, rsi
lea r8, [rbp + 0x60]
mov rcx, rbx
call rdi
mov ebx, eax
lea rcx, [rsp + 0x60]
call fcn.180013500
cmp ebx, 0x80070002
jne 0x18001189b
mov ebx, 0x80070424
jmp 0x1800118c6
test ebx, ebx
js 0x1800118c6
mov word [rbp + 0x58], si
mov rcx, qword [rbp + 0x60]
mov rax, qword [rcx]
lea rdx, [rbp + 0x58]
call qword [rax + 0x50]
mov ebx, eax
test eax, eax
jns 0x1800118bb
mov edx, eax
jmp 0x1800118c8
cmp word [rbp + 0x58], si
jne 0x1800118d9
mov ebx, 0x80041326
mov edx, ebx
mov rcx, qword [rbp + 0x98]
call fcn.18000211c
jmp 0x180011967
mov rbx, qword [rbp + 0x60]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x68]
mov qword [rbp + 0x78], rsi
mov qword [rsp + 0x60], rsi
lea rcx, [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
movups xmm0, xmmword [rsp + 0x68]
movaps xmmword [rbp - 0x70], xmm0
movsd xmm1, qword [rsp + 0x78]
movsd qword [rbp - 0x60], xmm1
lea rax, [rbp + 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8d, [r9 + 2]
lea rdx, [rbp - 0x70]
mov rcx, rbx
call rdi
mov ebx, eax
lea rcx, [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rsp + 0x60]
call fcn.180013500
test ebx, ebx
jns 0x180011955
mov rcx, qword [rbp + 0x98]
mov edx, ebx
call fcn.18000211c
jmp 0x180011957
mov ebx, esi
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x180011967
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x180011977
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x180011987
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x180011997
mov rdx, qword [rcx]
call qword [rdx + 0x10]
nop
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
jmp 0x1800119a6
call fcn.18000ea0c
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.180021870
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov edx, eax
call fcn.180009de0
int3