Function at 0x140009970
Capabilities:
Get token membership

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1d0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x140098080]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rdi, rcx
xor r15d, r15d
mov dword [rbp + 0x40], r15d
mov word [rbp + 0x44], 0x500
lea rax, [rbp - 0x80]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
mov r9d, 0x220
mov r8d, 0x20
mov dl, 2
lea rcx, [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140009a2a
mov dword [rsp + 0x60], r15d
lea r8, [rsp + 0x60]
mov rdx, qword [rbp - 0x80]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x140009a19
mov dword [rsp + 0x60], r15d
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rsp + 0x60], 1
je 0x140009a40
cmp byte [rdi + 0x130], 5
jb 0x140009a40
mov rcx, rdi
call fcn.140002030
jmp 0x14000a29e
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
movdqa xmm6, xmmword [0x14008ea00]
movdqa xmmword [rbp - 0x30], xmm6
mov word [rbp - 0x40], r15w
movups xmmword [rbp - 0x20], xmm0
movdqa xmmword [rbp - 0x10], xmm6
mov word [rbp - 0x20], r15w
movups xmmword [rbp], xmm0
movdqa xmmword [rbp + 0x10], xmm6
mov word [rbp], r15w
movdqa xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r15
mov dword [rbp + 0x38], r15d
mov byte [rbp + 0x3c], 4
lea rbx, [rdi + 0xb0]
lea rax, [rbp - 0x40]
cmp rax, rbx
je 0x140009aff
movdqa xmm0, xmm6
psrldq xmm0, 8
movq rdx, xmm0
cmp rdx, 7
jbe 0x140009ae0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009adb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a2ed
call fcn.14003bb8c
movups xmm0, xmmword [rbx]
movaps xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rbp - 0x30], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
lea rsi, [rdi + 0x80]
lea rax, [rbp + 0x20]
cmp rax, rsi
je 0x140009be6
mov rbx, qword [rbp + 0x20]
test rbx, rbx
je 0x140009bc4
mov r14, qword [rbp + 0x28]
cmp rbx, r14
je 0x140009b8c
nop dword [rax]
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x140009b6f
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140009b6a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000a2ed
mov rcx, r8
call fcn.14003bb8c
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
add rbx, 0x20
cmp rbx, r14
jne 0x140009b30
mov rbx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x30]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x140009bbc
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a2ed
mov rcx, rbx
call fcn.14003bb8c
mov rax, qword [rsi]
mov qword [rbp + 0x20], rax
mov rax, qword [rsi + 8]
mov qword [rbp + 0x28], rax
mov rax, qword [rsi + 0x10]
mov qword [rbp + 0x30], rax
mov qword [rsi], r15
mov qword [rsi + 8], r15
mov qword [rsi + 0x10], r15
cmp qword [rdi + 0x70], 0
je 0x140009bfc
lea rdx, [rdi + 0x60]
lea rcx, [rbp + 0x68]
call fcn.140002d60
jmp 0x140009c08
lea rdx, [rbp + 0x68]
mov rcx, rdi
call fcn.140005a50
mov rdx, qword [rbp + 0x18]
cmp rdx, 7
jbe 0x140009c48
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009c43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a2ed
call fcn.14003bb8c
movups xmm0, xmmword [rbp + 0x68]
movaps xmmword [rbp], xmm0
movups xmm1, xmmword [rbp + 0x78]
movaps xmmword [rbp + 0x10], xmm1
lea rbx, [rdi + 0xd0]
lea rax, [rbp - 0x20]
cmp rax, rbx
je 0x140009cc7
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x140009ca8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009ca3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a2ed
call fcn.14003bb8c
movups xmm0, xmmword [rbx]
movaps xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rbp - 0x10], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
movzx eax, byte [rdi + 0x131]
mov byte [rbp + 0x3d], al
movzx eax, byte [rdi + 0x130]
mov byte [rbp + 0x3c], al
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
mov qword [rbp + 0x98], r15
mov qword [rbp + 0xa0], 7
mov word [rbp + 0x88], r15w
mov dword [rbp + 0xa8], r15d
lea rdx, [rbp + 0x88]
lea rcx, [rbp - 0x40]
call fcn.140038940
test al, al
jne 0x140009ea7
mov ecx, 2
call fcn.1400415a8
mov rbx, rax
mov ecx, 6
mov word [rbp - 0x68], cx
lea rcx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 7
cmova rcx, qword [rbp + 0x88]
mov qword [rbp - 0x78], rcx
mov rcx, qword [rbp + 0x98]
mov qword [rbp - 0x70], rcx
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
movdqu xmmword [rbp + 0x78], xmm6
mov word [rbp + 0x68], r15w
lea rax, [rbp + 0x68]
mov qword [rbp - 0x80], rax
lea rax, str.wsudo:_e_31m_se_0m_n
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0x13
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
mov esi, 1
mov r9d, esi
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.14002c160
test al, al
jne 0x140009e19
xorps xmm0, xmm0
movups xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], r15
mov qword [rbp + 0x60], r15
xor r8d, r8d
lea rdx, [0x1400665d0]
lea rcx, [rbp + 0x48]
call fcn.140003be0
nop
mov rdx, qword [rbp + 0x80]
cmp rdx, 7
jbe 0x140009e29
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009e12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a2d5
call fcn.14003bb8c
jmp 0x140009e29
movups xmm0, xmmword [rbp + 0x68]
movups xmmword [rbp + 0x48], xmm0
movups xmm1, xmmword [rbp + 0x78]
movups xmmword [rbp + 0x58], xmm1
lea rax, [rbp + 0x48]
cmp qword [rbp + 0x60], 7
cmova rax, qword [rbp + 0x48]
mov qword [rsp + 0x70], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.14002ffa0
nop
mov rdx, qword [rbp + 0x60]
cmp rdx, 7
jbe 0x14000a0b3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009e9d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a2db
call fcn.14003bb8c
jmp 0x14000a0b3
lea rax, str.AppContainer
lea rdx, [0x140070470]
movzx ecx, byte [rbp + 0x3c]
nop dword [rax]
cmp byte [rax + 8], cl
je 0x140009edc
add rax, 0x10
cmp rax, rdx
jne 0x140009ec0
lea rsi, str.UNKNOWN_Level
mov ebx, 0xd
jmp 0x140009ef0
mov rsi, qword [rax]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x140009ee6
mov ecx, 2
call fcn.1400415a8
mov r14, rax
mov ecx, 6
mov word [rbp - 0x68], cx
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], rbx
mov eax, 4
mov word [rbp - 0x50], ax
mov ecx, dword [rbp + 0x38]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
movdqu xmmword [rbp + 0x78], xmm6
mov word [rbp + 0x68], r15w
lea rax, [rbp + 0x68]
mov qword [rbp - 0x80], rax
lea rax, str.e_32mnew_e_36m_se_32m_process_is_running:__de_0m_n
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0x31
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
mov r9d, 2
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.14002c160
test al, al
jne 0x140009fdf
xorps xmm0, xmm0
movups xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], r15
mov qword [rbp + 0x60], r15
xor r8d, r8d
lea rdx, [0x1400665d0]
lea rcx, [rbp + 0x48]
call fcn.140003be0
nop
mov rdx, qword [rbp + 0x80]
cmp rdx, 7
jbe 0x140009fef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009fd8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a2e1
call fcn.14003bb8c
jmp 0x140009fef
movups xmm0, xmmword [rbp + 0x68]
movups xmmword [rbp + 0x48], xmm0
movups xmm1, xmmword [rbp + 0x78]
movups xmmword [rbp + 0x58], xmm1
lea rax, [rbp + 0x48]
cmp qword [rbp + 0x60], 7
cmova rax, qword [rbp + 0x48]
mov qword [rsp + 0x70], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.14002ffa0
nop
mov rdx, qword [rbp + 0x60]
cmp rdx, 7
jbe 0x14000a064
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a05f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a2e7
call fcn.14003bb8c
cmp byte [rdi + 0x135], 0
jne 0x14000a0a4
cmp byte [rdi + 0x134], 0
jne 0x14000a088
cmp byte [rdi + 0x136], 0
je 0x14000a0a4
cmp byte [rdi + 0x131], 0
jne 0x14000a0a4
mov rdx, qword [rbp + 0x20]
lea rcx, str.command__s_waitable
call fcn.1400036b0
mov ecx, dword [rbp + 0x38]
call fcn.140001670
mov esi, eax
jmp 0x14000a0b3
lea rcx, str.Process_not_waitable
call fcn.140006090
mov esi, r15d
mov rdx, qword [rbp + 0xa0]
cmp rdx, 7
jbe 0x14000a0f9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a0f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a2ed
call fcn.14003bb8c
mov qword [rbp + 0x98], r15
mov qword [rbp + 0xa0], 7
mov word [rbp + 0x88], r15w
mov rbx, qword [rbp + 0x20]
test rbx, rbx
je 0x14000a1d0
mov rdi, qword [rbp + 0x28]
cmp rbx, rdi
je 0x14000a18c
nop dword [rax]
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x14000a16f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000a16a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000a2cf
mov rcx, r8
call fcn.14003bb8c
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
add rbx, 0x20
cmp rbx, rdi
jne 0x14000a130
mov rbx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x30]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000a1bc
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a2cf
mov rcx, rbx
call fcn.14003bb8c
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r15
mov rdx, qword [rbp + 0x18]
cmp rdx, 7
jbe 0x14000a210
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a20b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a2cf
call fcn.14003bb8c
movdqa xmmword [rbp + 0x10], xmm6
mov word [rbp], r15w
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x14000a256
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a251
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a2cf
call fcn.14003bb8c
movdqa xmmword [rbp - 0x10], xmm6
mov word [rbp - 0x20], r15w
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x14000a29c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a297
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a2cf
call fcn.14003bb8c
mov eax, esi
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14003bb30
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140041a3c
nop
call fcn.140041a3c
nop
call fcn.140041a3c
int3
call fcn.140041a3c
int3
call fcn.140041a3c
nop
call fcn.140041a3c
int3