Function at 0x140092e3c
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 [0x1400de7a8]
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 0x140092ee8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x3f0
jne 0x140092f6f
mov qword [rsp + 0x48], r14
mov r15d, r13d
lea rcx, [rsp + 0x58]
call fcn.14006c120
nop
lea rcx, [rsp + 0x60]
call fcn.14006c0ec
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 0x140092f4f
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
test rbx, rbx
je 0x140092f5d
mov rcx, rbx
call fcn.14002532c
nop
test rdi, rdi
je 0x140092f6a
mov rcx, rdi
call fcn.14002532c
mov rbx, qword [rsp + 0x38]
test esi, esi
js 0x140092f7f
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoRevertToSelf]
nop dword [rax + rax]
test r15d, r15d
je 0x1400932d0
cmp dword [rsp + 0x40], r14d
jne 0x140092f9a
cmp dword [rsp + 0x44], r14d
je 0x1400932d0
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, [0x1400df9f8]
lea rcx, [rsp + 0xc0]
call fcn.140019adc
nop
lea rdx, [0x1400df9f8]
lea rcx, [rsp + 0xc8]
call fcn.140019adc
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, [0x1400dfb40]
lea rcx, [rsp + 0x90]
call fcn.140090690
test eax, eax
js 0x1400932c3
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x90]
call fcn.14000bfa8
mov r15, rax
test rax, rax
je 0x1400931a1
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 0x1400930bb
cmp rax, qword [rbx]
jne 0x1400930bb
lock inc dword [rbx + 0x10]
jmp 0x140093109
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 0x1400931f8
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 0x140093153
mov rax, qword [0x1400dfb68]
mov r8d, dword [rax - 0x10]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
call fcn.140019218
or r12d, 1
mov rdx, qword [0x1400dfb68]
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 0x140093156
mov dil, 1
test r12b, 1
je 0x14009316e
and r12d, 0xfffffffe
mov rcx, qword [rsp + 0x78]
add rcx, 0xffffffffffffffe8
call fcn.140016150
test dil, dil
je 0x140093185
lea rdx, [r13 + 0x40]
lea rcx, [rsp + 0x90]
call fcn.14009206c
nop
lea rcx, [rbx - 0x18]
call fcn.140016150
test r15, r15
jne 0x14009306a
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x50]
lea rdx, [rsp + 0x90]
mov rcx, rbx
call fcn.14008e51c
nop
lea rdx, [0x1400df9f8]
lea rcx, [rsp + 0x38]
call fcn.140019adc
nop
mov r8, rdi
lea rdx, [0x1400dfb58]
lea rcx, [rsp + 0x50]
call fcn.14001c824
nop
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14000b560
nop
mov rcx, qword [rsp + 0x50]
add rcx, 0xffffffffffffffe8
call fcn.140016150
nop
jmp 0x140093216
call fcn.14005f438
nop
jmp 0x140093200
xor r14d, r14d
cmp dword [rsp + 0x30], r14d
jl 0x1400932b4
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, [0x1400ac888]
mov qword [rsp + 0xe8], rax
lea rax, [0x1400ac7e8]
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.140010e54
test eax, eax
js 0x1400932a5
mov rdx, qword [rsi]
lea rcx, [rsp + 0xe0]
call fcn.1400689b0
nop
lea rcx, [rsp + 0xe0]
call fcn.140012244
jmp 0x1400932b9
mov rbx, qword [rsp + 0x38]
lea rcx, [rbx - 0x18]
call fcn.140016150
nop
lea rcx, [rsp + 0x90]
call fcn.14001c748
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140024c10
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