Function at 0x1400928fc
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 [0x1400dc7a8]
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 0x1400929a8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x3f0
jne 0x140092a2f
mov qword [rsp + 0x48], r14
mov r15d, r13d
lea rcx, [rsp + 0x58]
call fcn.14006bc30
nop
lea rcx, [rsp + 0x60]
call fcn.14006bbfc
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 0x140092a0f
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
test rbx, rbx
je 0x140092a1d
mov rcx, rbx
call fcn.14002523c
nop
test rdi, rdi
je 0x140092a2a
mov rcx, rdi
call fcn.14002523c
mov rbx, qword [rsp + 0x38]
test esi, esi
js 0x140092a3f
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoRevertToSelf]
nop dword [rax + rax]
test r15d, r15d
je 0x140092d90
cmp dword [rsp + 0x40], r14d
jne 0x140092a5a
cmp dword [rsp + 0x44], r14d
je 0x140092d90
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, [0x1400dd9f8]
lea rcx, [rsp + 0xc0]
call fcn.140019adc
nop
lea rdx, [0x1400dd9f8]
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, [0x1400ddb40]
lea rcx, [rsp + 0x90]
call fcn.140090150
test eax, eax
js 0x140092d83
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x90]
call fcn.14000bfa8
mov r15, rax
test rax, rax
je 0x140092c61
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 0x140092b7b
cmp rax, qword [rbx]
jne 0x140092b7b
lock inc dword [rbx + 0x10]
jmp 0x140092bc9
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 0x140092cb8
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 0x140092c13
mov rax, qword [0x1400ddb68]
mov r8d, dword [rax - 0x10]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
call fcn.140019218
or r12d, 1
mov rdx, qword [0x1400ddb68]
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 0x140092c16
mov dil, 1
test r12b, 1
je 0x140092c2e
and r12d, 0xfffffffe
mov rcx, qword [rsp + 0x78]
add rcx, 0xffffffffffffffe8
call fcn.140016150
test dil, dil
je 0x140092c45
lea rdx, [r13 + 0x40]
lea rcx, [rsp + 0x90]
call fcn.140091b2c
nop
lea rcx, [rbx - 0x18]
call fcn.140016150
test r15, r15
jne 0x140092b2a
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x50]
lea rdx, [rsp + 0x90]
mov rcx, rbx
call fcn.14008dfdc
nop
lea rdx, [0x1400dd9f8]
lea rcx, [rsp + 0x38]
call fcn.140019adc
nop
mov r8, rdi
lea rdx, [0x1400ddb58]
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 0x140092cd6
call fcn.14005ef48
nop
jmp 0x140092cc0
xor r14d, r14d
cmp dword [rsp + 0x30], r14d
jl 0x140092d74
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.140010e54
test eax, eax
js 0x140092d65
mov rdx, qword [rsi]
lea rcx, [rsp + 0xe0]
call fcn.1400684c0
nop
lea rcx, [rsp + 0xe0]
call fcn.140012244
jmp 0x140092d79
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.140024b20
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