Function at 0x14009201c
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b0
mov rax, qword [0x1400dc7b8]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor r14d, r14d
mov r12d, r14d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x44], 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 + 0x30], 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 + 0x48]
lea r13d, [r14 + 1]
mov r8d, r13d
lea edx, [r14 + 8]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_OpenThreadToken]
nop dword [rax + rax]
mov r15d, eax
test eax, eax
jne 0x1400920c8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x3f0
jne 0x14009214f
mov qword [rsp + 0x48], r14
mov r15d, r13d
lea rcx, [rsp + 0x58]
call fcn.14006b2a0
nop
lea rcx, [rsp + 0x60]
call fcn.14006b26c
lea r8, [rsp + 0x40]
mov rdi, qword [rsp + 0x58]
mov rdx, rdi
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_CheckTokenMembership]
nop dword [rax + rax]
lea r8, [rsp + 0x44]
mov rbx, qword [rsp + 0x60]
mov rdx, rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_CheckTokenMembership]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14009212f
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
test rbx, rbx
je 0x14009213d
mov rcx, rbx
call fcn.1400250ac
nop
test rdi, rdi
je 0x14009214a
mov rcx, rdi
call fcn.1400250ac
mov rbx, qword [rsp + 0x38]
test esi, esi
js 0x14009215f
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoRevertToSelf]
nop dword [rax + rax]
test r15d, r15d
je 0x1400924b0
cmp dword [rsp + 0x40], r14d
jne 0x14009217a
cmp dword [rsp + 0x44], r14d
je 0x1400924b0
mov qword [rsp + 0x90], r14
mov qword [rsp + 0x98], r14
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], 0xa
mov qword [rsp + 0xb8], r14
lea rdx, [0x1400dd9d8]
lea rcx, [rsp + 0xc0]
call fcn.140019a9c
nop
lea rdx, [0x1400dd9d8]
lea rcx, [rsp + 0xc8]
call fcn.140019a9c
nop
lea rdi, [rbx + 0x58]
mov qword [rsp + 0x50], rdi
mov rdx, rdi
lea rcx, [rsp + 0xc0]
call fcn.14000b560
lea rsi, [rbx + 0x50]
mov qword [rsp + 0x80], rsi
mov rdx, rsi
lea rcx, [rsp + 0xc8]
call fcn.14000b560
nop
mov r8b, r13b
lea rdx, [0x1400ddb20]
lea rcx, [rsp + 0x90]
call fcn.14008f870
test eax, eax
js 0x1400924a3
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x90]
call fcn.14000bfa8
mov r15, rax
test rax, rax
je 0x140092381
mov r13, r15
mov rdx, r15
lea rcx, [rsp + 0x90]
call fcn.14000b6c0
mov r15, rax
mov rax, qword [r13 + 0x40]
mov qword [rsp + 0x68], rax
lea rbx, [rax - 0x18]
mov rcx, qword [rbx]
mov rax, qword [rcx]
movabs r10, 0xb3651e715a5ef170
mov rax, qword [rax + 0x20]
call qword [case.0x140001f80.0]
mov rcx, rax
cmp dword [rbx + 0x10], r14d
jl 0x14009229b
cmp rax, qword [rbx]
jne 0x14009229b
lock inc dword [rbx + 0x10]
jmp 0x1400922e9
mov rax, qword [rax]
lea rdi, [rbx + 8]
movabs r10, 0x9230265a36d2c270
mov r8d, 2
mov edx, dword [rdi]
mov rax, qword [rax]
call qword [case.0x140001f80.0]
mov rbx, rax
test rax, rax
je 0x1400923d8
mov ecx, dword [rdi]
mov dword [rax + 8], ecx
lea rcx, [rax + 0x18]
mov edx, dword [rdi]
inc edx
movsxd rdx, edx
add rdx, rdx
mov r9, rdx
mov r8, qword [rsp + 0x68]
call fcn.14000b934
add rbx, 0x18
mov qword [rsp + 0x70], rbx
cmp dword [r13 + 0x5c], r14d
jne 0x140092333
mov rax, qword [0x1400ddb48]
mov r8d, dword [rax - 0x10]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
call fcn.1400191d8
or r12d, 1
mov rdx, qword [0x1400ddb48]
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
nop dword [rax + rax]
test eax, eax
mov dil, r14b
je 0x140092336
mov dil, 1
test r12b, 1
je 0x14009234e
and r12d, 0xfffffffe
mov rcx, qword [rsp + 0x78]
add rcx, 0xffffffffffffffe8
call fcn.140016110
test dil, dil
je 0x140092365
lea rdx, [r13 + 0x40]
lea rcx, [rsp + 0x90]
call fcn.14009124c
nop
lea rcx, [rbx - 0x18]
call fcn.140016110
test r15, r15
jne 0x14009224a
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x50]
lea rdx, [rsp + 0x90]
mov rcx, rbx
call fcn.14008d6fc
nop
lea rdx, [0x1400dd9d8]
lea rcx, [rsp + 0x38]
call fcn.140019a9c
nop
mov r8, rdi
lea rdx, [0x1400ddb38]
lea rcx, [rsp + 0x50]
call fcn.14001c7e4
nop
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14000b560
nop
mov rcx, qword [rsp + 0x50]
add rcx, 0xffffffffffffffe8
call fcn.140016110
nop
jmp 0x1400923f6
call fcn.14005e618
nop
jmp 0x1400923e0
xor r14d, r14d
cmp dword [rsp + 0x30], r14d
jl 0x140092494
mov rsi, qword [rsp + 0x80]
lea rax, [rsp + 0x100]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], 0x41
mov word [rsp + 0x100], r14w
lea rax, [0x1400ab888]
mov qword [rsp + 0xe8], rax
lea rax, [0x1400ab7e8]
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0x188], r14d
mov qword [rsp + 0x190], r14
mov qword [rsp + 0x20], r14
mov r9d, 0x2001f
mov rbx, qword [rsp + 0x38]
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0xe0]
call fcn.140010e14
test eax, eax
js 0x140092485
mov rdx, qword [rsi]
lea rcx, [rsp + 0xe0]
call fcn.140067b30
nop
lea rcx, [rsp + 0xe0]
call fcn.140012204
jmp 0x140092499
mov rbx, qword [rsp + 0x38]
lea rcx, [rbx - 0x18]
call fcn.140016110
nop
lea rcx, [rsp + 0x90]
call fcn.14001c708
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140024990
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret