Function at 0x1400095a0
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x140097050]
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
lea r8d, [r15 + 0x20]
mov dl, 2
lea rcx, [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x14000965a
mov dword [rsp + 0x60], r15d
lea r8, [rsp + 0x60]
mov rdx, qword [rbp - 0x80]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov edx, dword [rsp + 0x60]
test eax, eax
cmove edx, r15d
mov dword [rsp + 0x60], edx
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rsp + 0x60], 1
je 0x140009670
cmp byte [rdi + 0x138], 5
jb 0x140009670
mov rcx, rdi
call fcn.1400020b0
jmp 0x140009f37
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x14008da30]
movdqa xmmword [rbp - 0x30], xmm1
mov word [rbp - 0x40], r15w
movups xmmword [rbp - 0x20], xmm0
movdqa xmmword [rbp - 0x10], xmm1
mov word [rbp - 0x20], r15w
movups xmmword [rbp], xmm0
movdqa xmmword [rbp + 0x10], xmm1
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 + 0xb8]
lea rax, [rbp - 0x40]
cmp rax, rbx
je 0x140009725
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x140009706
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009701
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009f81
call fcn.14003ac6c
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 + 0x88]
lea rax, [rbp + 0x20]
cmp rax, rsi
je 0x140009806
mov rbx, qword [rbp + 0x20]
test rbx, rbx
je 0x1400097e4
mov r14, qword [rbp + 0x28]
cmp rbx, r14
je 0x1400097ac
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14000978f
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000978a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140009f81
mov rcx, r8
call fcn.14003ac6c
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
add rbx, 0x20
cmp rbx, r14
jne 0x140009750
mov rbx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x30]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400097dc
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009f81
mov rcx, rbx
call fcn.14003ac6c
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 + 0x78], 0
je 0x14000981c
lea rdx, [rdi + 0x68]
lea rcx, [rbp + 0x48]
call fcn.140003030
jmp 0x140009828
lea rdx, [rbp + 0x48]
mov rcx, rdi
call fcn.140005570
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x140009868
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009863
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009f81
call fcn.14003ac6c
movups xmm0, xmmword [rbp + 0x48]
movaps xmmword [rbp], xmm0
movups xmm1, xmmword [rbp + 0x58]
movaps xmmword [rbp + 0x10], xmm1
lea rbx, [rdi + 0xd8]
lea rax, [rbp - 0x20]
cmp rax, rbx
je 0x1400098e7
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x1400098c8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400098c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009f81
call fcn.14003ac6c
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 + 0x139]
mov byte [rbp + 0x3d], al
movzx eax, byte [rdi + 0x138]
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.140037990
test al, al
jne 0x140009afd
mov ecx, 2
call fcn.1400410c4
mov rbx, rax
mov ecx, 6
mov word [rbp - 0x68], cx
lea rcx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 8
cmovae 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
movdqa xmm1, xmmword [0x14008da30]
movdqu xmmword [rbp + 0x78], xmm1
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.14002b5c0
test al, al
jne 0x140009a4f
xorps xmm0, xmm0
movups xmmword [rbp + 0x48], xmm0
mov rcx, r15
mov qword [rbp + 0x58], rcx
mov edx, 7
mov qword [rbp + 0x60], rdx
mov word [rbp + 0x48], r15w
mov rax, qword [rbp + 0x80]
cmp rax, 8
jb 0x140009a40
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009a33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009f69
call fcn.14003ac6c
mov rdx, qword [rbp + 0x60]
mov rcx, qword [rbp + 0x58]
movdqa xmm0, xmmword [0x14008da30]
movdqu xmmword [rbp + 0x78], xmm0
jmp 0x140009a7f
movups xmm0, xmmword [rbp + 0x68]
movups xmmword [rbp + 0x48], xmm0
movups xmm1, xmmword [rbp + 0x78]
movups xmmword [rbp + 0x58], xmm1
movdqa xmm0, xmmword [0x14008da30]
movdqu xmmword [rbp + 0x78], xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rdx, xmm0
movq rcx, xmm1
mov word [rbp + 0x68], r15w
lea rax, [rbp + 0x48]
cmp rdx, 8
cmovae rax, qword [rbp + 0x48]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rcx
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.14002f040
nop
mov rdx, qword [rbp + 0x60]
cmp rdx, 8
jb 0x140009d3f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009af3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009f6f
call fcn.14003ac6c
jmp 0x140009d3f
lea rax, str.AppContainer
lea rdx, [0x14006f4a0]
movzx ecx, byte [rbp + 0x3c]
nop
cmp byte [rax + 8], cl
je 0x140009b2c
add rax, 0x10
cmp rax, rdx
jne 0x140009b10
lea rsi, str.UNKNOWN_Level
mov ebx, 0xd
jmp 0x140009b40
mov rsi, qword [rax]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x140009b36
mov ecx, 2
call fcn.1400410c4
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 + 0x48], xmm0
movdqa xmm1, xmmword [0x14008da30]
movdqu xmmword [rbp + 0x58], xmm1
mov word [rbp + 0x48], r15w
lea rax, [rbp + 0x48]
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.14002b5c0
test al, al
jne 0x140009c48
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
mov rcx, r15
mov qword [rbp + 0x78], rcx
mov edx, 7
mov qword [rbp + 0x80], rdx
mov word [rbp + 0x68], r15w
mov rax, qword [rbp + 0x60]
cmp rax, 8
jb 0x140009c39
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009c29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009f75
call fcn.14003ac6c
mov rdx, qword [rbp + 0x80]
mov rcx, qword [rbp + 0x78]
movdqa xmm0, xmmword [0x14008da30]
movdqu xmmword [rbp + 0x58], xmm0
jmp 0x140009c78
movups xmm0, xmmword [rbp + 0x48]
movups xmmword [rbp + 0x68], xmm0
movups xmm1, xmmword [rbp + 0x58]
movups xmmword [rbp + 0x78], xmm1
movdqa xmm0, xmmword [0x14008da30]
movdqu xmmword [rbp + 0x58], xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rdx, xmm0
movq rcx, xmm1
mov word [rbp + 0x48], r15w
lea rax, [rbp + 0x68]
cmp rdx, 8
cmovae rax, qword [rbp + 0x68]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rcx
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.14002f040
nop
mov rdx, qword [rbp + 0x80]
cmp rdx, 8
jb 0x140009cf0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009ceb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009f7b
call fcn.14003ac6c
cmp byte [rdi + 0x13d], 0
jne 0x140009d30
cmp byte [rdi + 0x13c], 0
jne 0x140009d14
cmp byte [rdi + 0x13e], 0
je 0x140009d30
cmp byte [rdi + 0x139], 0
jne 0x140009d30
mov rdx, qword [rbp + 0x20]
lea rcx, str.command__s_waitable
call fcn.140003660
mov ecx, dword [rbp + 0x38]
call fcn.1400016c0
mov esi, eax
jmp 0x140009d3f
lea rcx, str.Process_not_waitable
call fcn.140005c80
mov esi, r15d
mov rdx, qword [rbp + 0xa0]
cmp rdx, 8
jb 0x140009d85
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009d80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009f81
call fcn.14003ac6c
mov qword [rbp + 0x98], r15
mov qword [rbp + 0xa0], 7
mov word [rbp + 0x88], r15w
mov rbx, qword [rbp + 0x20]
test rbx, rbx
je 0x140009e55
mov rdi, qword [rbp + 0x28]
cmp rbx, rdi
je 0x140009e11
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140009df4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140009def
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140009f63
mov rcx, r8
call fcn.14003ac6c
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
add rbx, 0x20
cmp rbx, rdi
jne 0x140009db5
mov rbx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x30]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x140009e41
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009f63
mov rcx, rbx
call fcn.14003ac6c
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r15
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x140009e95
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009e90
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009f63
call fcn.14003ac6c
movdqa xmm0, xmmword [0x14008da30]
movdqa xmmword [rbp + 0x10], xmm0
mov word [rbp], r15w
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140009ee7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009ee2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009f63
call fcn.14003ac6c
movdqa xmm0, xmmword [0x14008da30]
movdqa xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], r15w
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x140009f35
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009f30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009f63
call fcn.14003ac6c
mov eax, esi
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14003ac10
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140041558
nop
call fcn.140041558
nop
call fcn.140041558
int3
call fcn.140041558
int3
call fcn.140041558
nop
call fcn.140041558
int3