Function at 0x14008c1f8
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x200
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov r15, rcx
mov qword [rsp + 0x58], rcx
xor r14d, r14d
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x3c], r14d
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoImpersonateClient]
nop dword [rax + rax]
mov esi, eax
mov dword [rsp + 0x40], eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThread]
nop dword [rax + rax]
mov rcx, rax
lea r9, [rsp + 0x30]
lea ebx, [r14 + 1]
mov r8d, ebx
lea edx, [rbx + 7]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_OpenThreadToken]
nop dword [rax + rax]
mov r12d, eax
test eax, eax
jne 0x14008c29d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x3f0
jne 0x14008c320
mov qword [rsp + 0x30], r14
mov r12d, ebx
lea rcx, [rsp + 0x50]
call fcn.140030d20
nop
lea rcx, [rsp + 0x48]
call fcn.140030cec
lea r8, [rsp + 0x38]
mov rbx, qword [rsp + 0x50]
mov rdx, rbx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_CheckTokenMembership]
nop dword [rax + rax]
lea r8, [rsp + 0x3c]
mov rdi, qword [rsp + 0x48]
mov rdx, rdi
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_CheckTokenMembership]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14008c304
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
test rdi, rdi
je 0x14008c312
mov rcx, rdi
call fcn.1400372ac
nop
test rbx, rbx
je 0x14008c320
mov rcx, rbx
call fcn.1400372ac
nop
test esi, esi
js 0x14008c330
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoRevertToSelf]
nop dword [rax + rax]
test r12d, r12d
je 0x14008c67f
cmp dword [rsp + 0x38], r14d
jne 0x14008c34b
cmp dword [rsp + 0x3c], r14d
je 0x14008c67f
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
mov esi, 0xa
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], r14
lea r12, [0x1400d2518]
mov rdx, r12
lea rcx, [rsp + 0x90]
call fcn.14001a960
nop
mov rdx, r12
lea rcx, [rsp + 0x98]
call fcn.14001a960
nop
lea rdi, [r15 + 0x58]
mov rdx, rdi
lea rcx, [rsp + 0x90]
call fcn.1400202e0
lea rbx, [r15 + 0x50]
mov rdx, rbx
lea rcx, [rsp + 0x98]
call fcn.1400202e0
nop
mov qword [rsp + 0xe0], r14
mov qword [rsp + 0xe8], r14
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xf0], xmm0
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], r14
mov rdx, r12
lea rcx, [rsp + 0x110]
call fcn.14001a960
nop
mov rdx, r12
lea rcx, [rsp + 0x118]
call fcn.14001a960
nop
mov rdx, rdi
lea rcx, [rsp + 0x110]
call fcn.1400202e0
mov rdx, rbx
lea rcx, [rsp + 0x118]
call fcn.1400202e0
nop
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0xa8], r14
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xb0], xmm0
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xc8], r14
mov rdx, r12
lea rcx, [rsp + 0xd0]
call fcn.14001a960
nop
mov rdx, r12
lea rcx, [rsp + 0xd8]
call fcn.14001a960
nop
mov rdx, rdi
lea rcx, [rsp + 0xd0]
call fcn.1400202e0
mov rdx, rbx
lea rcx, [rsp + 0xd8]
call fcn.1400202e0
nop
lea rcx, [rsp + 0x60]
call fcn.140089448
test eax, eax
js 0x14008c659
xor r8d, r8d
lea rdx, [0x1400d25e8]
lea rcx, [rsp + 0xa0]
call fcn.140089694
test eax, eax
js 0x14008c659
xor r8d, r8d
lea rdx, [0x1400d25f0]
lea rcx, [rsp + 0xe0]
call fcn.140089694
test eax, eax
js 0x14008c659
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.140021914
mov rbx, rax
test rax, rax
je 0x14008c535
mov r10, rbx
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.1400218c0
mov rbx, rax
lea r8, [r10 + 8]
mov rdx, qword [r10]
mov rcx, qword [r15 + 0xa0]
call fcn.14001b9f8
test rbx, rbx
jne 0x14008c50a
lea rdx, [rsp + 0xa0]
mov rcx, r15
call fcn.140087710
lea rdx, [rsp + 0xe0]
mov rcx, r15
call fcn.140087710
nop
mov rdx, r12
lea rcx, [rsp + 0x30]
call fcn.14001a960
nop
mov r8, rdi
lea rdx, [0x1400d2600]
lea rcx, [rsp + 0x48]
call fcn.14001e718
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400202e0
nop
mov rcx, qword [rsp + 0x48]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
nop
jmp 0x14008c5ab
lea rax, [rsp + 0x150]
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x148], 0x41
mov word [rsp + 0x150], r14w
lea rax, [0x1400a2bc8]
mov qword [rsp + 0x138], rax
lea rax, [0x1400a2b08]
mov qword [rsp + 0x130], rax
mov dword [rsp + 0x1d8], r14d
mov qword [rsp + 0x1e0], r14
mov qword [rsp + 0x20], r14
mov r9d, 0x2001f
mov rbx, qword [rsp + 0x30]
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x130]
call fcn.140013564
test eax, eax
js 0x14008c63b
mov rdx, qword [r15 + 0x50]
lea rcx, [rsp + 0x130]
call fcn.14006a1e0
nop
lea rcx, [rsp + 0x130]
call fcn.140014d5c
jmp 0x14008c64f
lea rcx, [rbx - 0x18]
call fcn.1400182a0
nop
lea rcx, [rsp + 0xa0]
call fcn.1400125e8
nop
lea rcx, [rsp + 0xe0]
call fcn.1400125e8
nop
lea rcx, [rsp + 0x60]
call fcn.14001253c
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.140036b90
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret