Function at 0x140092ea8
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r13
push r14
push r15
sub rsp, 0x200
mov rax, qword [0x1400dc7a8]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov r13, rcx
xor r14d, r14d
mov dword [rsp + 0x3c], r14d
mov dword [rsp + 0x40], 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 + 0x38], 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 r15d, eax
test eax, eax
jne 0x140092f48
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x3f0
jne 0x140092fcb
mov qword [rsp + 0x30], r14
mov r15d, ebx
lea rcx, [rsp + 0x48]
call fcn.14006bc30
nop
lea rcx, [rsp + 0x50]
call fcn.14006bbfc
lea r8, [rsp + 0x3c]
mov rbx, qword [rsp + 0x48]
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 + 0x40]
mov rdi, qword [rsp + 0x50]
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 0x140092faf
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
test rdi, rdi
je 0x140092fbd
mov rcx, rdi
call fcn.14002523c
nop
test rbx, rbx
je 0x140092fcb
mov rcx, rbx
call fcn.14002523c
nop
test esi, esi
js 0x140092fdb
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoRevertToSelf]
nop dword [rax + rax]
test r15d, r15d
je 0x140093330
cmp dword [rsp + 0x3c], r14d
jne 0x140092ff6
cmp dword [rsp + 0x40], r14d
je 0x140093330
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
mov ebx, 0xa
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], r14
lea r15, [0x1400dd9f8]
mov rdx, r15
lea rcx, [rsp + 0x90]
call fcn.140019adc
nop
mov rdx, r15
lea rcx, [rsp + 0x98]
call fcn.140019adc
nop
lea rsi, [r13 + 0x58]
mov rdx, rsi
lea rcx, [rsp + 0x90]
call fcn.14000b560
lea rdi, [r13 + 0x50]
mov qword [rsp + 0x48], rdi
mov rdx, rdi
lea rcx, [rsp + 0x98]
call fcn.14000b560
nop
mov qword [rsp + 0xe0], r14
mov qword [rsp + 0xe8], r14
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xf0], xmm0
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0x108], r14
mov rdx, r15
lea rcx, [rsp + 0x110]
call fcn.140019adc
nop
mov rdx, r15
lea rcx, [rsp + 0x118]
call fcn.140019adc
nop
mov rdx, rsi
lea rcx, [rsp + 0x110]
call fcn.14000b560
mov rdx, rdi
lea rcx, [rsp + 0x118]
call fcn.14000b560
nop
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0xa8], r14
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xb0], xmm0
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0xc8], r14
mov rdx, r15
lea rcx, [rsp + 0xd0]
call fcn.140019adc
nop
mov rdx, r15
lea rcx, [rsp + 0xd8]
call fcn.140019adc
nop
mov rdx, rsi
lea rcx, [rsp + 0xd0]
call fcn.14000b560
mov rdx, rdi
lea rcx, [rsp + 0xd8]
call fcn.14000b560
nop
lea rcx, [rsp + 0x60]
call fcn.14008fec8
test eax, eax
js 0x14009330a
xor r8d, r8d
lea rdx, [0x1400ddb38]
lea rcx, [rsp + 0xa0]
call fcn.140090150
test eax, eax
js 0x14009330a
xor r8d, r8d
lea rdx, [0x1400ddb40]
lea rcx, [rsp + 0xe0]
call fcn.140090150
test eax, eax
js 0x14009330a
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.14000bd3c
mov rbx, rax
test rax, rax
je 0x1400931e5
mov r10, rbx
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.14000bce8
mov rbx, rax
lea r8, [r10 + 8]
mov rdx, qword [r10]
mov rcx, qword [r13 + 0xa0]
call fcn.1400194fc
test rbx, rbx
jne 0x1400931ba
lea rdx, [rsp + 0xa0]
mov rcx, r13
call fcn.14008dfdc
lea rdx, [rsp + 0xe0]
mov rcx, r13
call fcn.14008dfdc
nop
mov rdx, r15
lea rcx, [rsp + 0x30]
call fcn.140019adc
nop
mov r8, rsi
lea rdx, [0x1400ddb50]
lea rcx, [rsp + 0x50]
call fcn.14001c824
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14000b560
nop
mov rcx, qword [rsp + 0x50]
add rcx, 0xffffffffffffffe8
call fcn.140016150
nop
jmp 0x14009325d
lea rax, [rsp + 0x150]
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x148], 0x41
mov word [rsp + 0x150], r14w
lea rax, [0x1400ab888]
mov qword [rsp + 0x138], rax
lea rax, [0x1400ab7e8]
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.140010e54
test eax, eax
js 0x1400932ec
mov rdx, qword [rdi]
lea rcx, [rsp + 0x130]
call fcn.1400684c0
nop
lea rcx, [rsp + 0x130]
call fcn.140012244
jmp 0x140093300
lea rcx, [rbx - 0x18]
call fcn.140016150
nop
lea rcx, [rsp + 0xa0]
call fcn.14001c748
nop
lea rcx, [rsp + 0xe0]
call fcn.14001c748
nop
lea rcx, [rsp + 0x60]
call fcn.14001c69c
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.140024b20
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 r13
ret