Function at 0x140009570
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 [0x140095050]
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 0x14000962a
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 0x140009640
cmp byte [rdi + 0x130], 5
jb 0x140009640
mov rcx, rdi
call fcn.1400020b0
jmp 0x140009f07
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x14008c410]
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 + 0xb0]
lea rax, [rbp - 0x40]
cmp rax, rbx
je 0x1400096f5
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x1400096d6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400096d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009f51
call fcn.14003a23c
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 0x1400097d6
mov rbx, qword [rbp + 0x20]
test rbx, rbx
je 0x1400097b4
mov r14, qword [rbp + 0x28]
cmp rbx, r14
je 0x14000977c
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14000975f
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000975a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140009f51
mov rcx, r8
call fcn.14003a23c
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
add rbx, 0x20
cmp rbx, r14
jne 0x140009720
mov rbx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x30]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400097ac
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009f51
mov rcx, rbx
call fcn.14003a23c
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 0x1400097ec
lea rdx, [rdi + 0x60]
lea rcx, [rbp + 0x48]
call fcn.140003030
jmp 0x1400097f8
lea rdx, [rbp + 0x48]
mov rcx, rdi
call fcn.140005560
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x140009838
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009833
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009f51
call fcn.14003a23c
movups xmm0, xmmword [rbp + 0x48]
movaps xmmword [rbp], xmm0
movups xmm1, xmmword [rbp + 0x58]
movaps xmmword [rbp + 0x10], xmm1
lea rbx, [rdi + 0xd0]
lea rax, [rbp - 0x20]
cmp rax, rbx
je 0x1400098b7
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140009898
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009893
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009f51
call fcn.14003a23c
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.140037450
test al, al
jne 0x140009acd
mov ecx, 2
call fcn.140040694
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 [0x14008c410]
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.14002b080
test al, al
jne 0x140009a1f
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 0x140009a10
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009a03
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009f39
call fcn.14003a23c
mov rdx, qword [rbp + 0x60]
mov rcx, qword [rbp + 0x58]
movdqa xmm0, xmmword [0x14008c410]
movdqu xmmword [rbp + 0x78], xmm0
jmp 0x140009a4f
movups xmm0, xmmword [rbp + 0x68]
movups xmmword [rbp + 0x48], xmm0
movups xmm1, xmmword [rbp + 0x78]
movups xmmword [rbp + 0x58], xmm1
movdqa xmm0, xmmword [0x14008c410]
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.14002eb00
nop
mov rdx, qword [rbp + 0x60]
cmp rdx, 8
jb 0x140009d0f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009ac3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009f3f
call fcn.14003a23c
jmp 0x140009d0f
lea rax, str.AppContainer
lea rdx, [0x14006de80]
movzx ecx, byte [rbp + 0x3c]
nop
cmp byte [rax + 8], cl
je 0x140009afc
add rax, 0x10
cmp rax, rdx
jne 0x140009ae0
lea rsi, str.UNKNOWN_Level
mov ebx, 0xd
jmp 0x140009b10
mov rsi, qword [rax]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x140009b06
mov ecx, 2
call fcn.140040694
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 [0x14008c410]
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.14002b080
test al, al
jne 0x140009c18
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 0x140009c09
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009bf9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009f45
call fcn.14003a23c
mov rdx, qword [rbp + 0x80]
mov rcx, qword [rbp + 0x78]
movdqa xmm0, xmmword [0x14008c410]
movdqu xmmword [rbp + 0x58], xmm0
jmp 0x140009c48
movups xmm0, xmmword [rbp + 0x48]
movups xmmword [rbp + 0x68], xmm0
movups xmm1, xmmword [rbp + 0x58]
movups xmmword [rbp + 0x78], xmm1
movdqa xmm0, xmmword [0x14008c410]
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.14002eb00
nop
mov rdx, qword [rbp + 0x80]
cmp rdx, 8
jb 0x140009cc0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009cbb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009f4b
call fcn.14003a23c
cmp byte [rdi + 0x135], 0
jne 0x140009d00
cmp byte [rdi + 0x134], 0
jne 0x140009ce4
cmp byte [rdi + 0x136], 0
je 0x140009d00
cmp byte [rdi + 0x131], 0
jne 0x140009d00
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 0x140009d0f
lea rcx, str.Process_not_waitable
call fcn.140005c70
mov esi, r15d
mov rdx, qword [rbp + 0xa0]
cmp rdx, 8
jb 0x140009d55
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009d50
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009f51
call fcn.14003a23c
mov qword [rbp + 0x98], r15
mov qword [rbp + 0xa0], 7
mov word [rbp + 0x88], r15w
mov rbx, qword [rbp + 0x20]
test rbx, rbx
je 0x140009e25
mov rdi, qword [rbp + 0x28]
cmp rbx, rdi
je 0x140009de1
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140009dc4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140009dbf
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140009f33
mov rcx, r8
call fcn.14003a23c
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
add rbx, 0x20
cmp rbx, rdi
jne 0x140009d85
mov rbx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x30]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x140009e11
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009f33
mov rcx, rbx
call fcn.14003a23c
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r15
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x140009e65
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009e60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009f33
call fcn.14003a23c
movdqa xmm0, xmmword [0x14008c410]
movdqa xmmword [rbp + 0x10], xmm0
mov word [rbp], r15w
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140009eb7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009eb2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009f33
call fcn.14003a23c
movdqa xmm0, xmmword [0x14008c410]
movdqa xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], r15w
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x140009f05
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009f00
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009f33
call fcn.14003a23c
mov eax, esi
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14003a1e0
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.140040b2c
nop
call fcn.140040b2c
nop
call fcn.140040b2c
int3
call fcn.140040b2c
int3
call fcn.140040b2c
nop
call fcn.140040b2c
int3