Function at 0x140106af0
Capabilities:
Compare security identifiers
List user accounts for group

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2b0
mov qword [r11 - 0x180], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov r15, r9
mov r12, r8
mov rdi, rdx
mov r13, rcx
xor r14d, r14d
mov qword [rsp + 0x68], r14
lea rax, [0x140001d20]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x58], r14
lea rax, [0x14000d150]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x4c], 7
mov qword [r11 - 0x1a0], r14
mov dword [rsp + 0x48], r14d
mov dword [r11 - 0x254], r14d
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x44], r14d
mov dword [r11 + 8], r14d
lea rax, [0x1400052e0]
mov qword [r11 - 0x248], rax
lea rax, [0x14003dde0]
mov qword [r11 - 0x240], rax
lea rax, [0x140005298]
mov qword [r11 - 0x238], rax
mov dword [rsp + 0xa8], 0x74c
mov dword [rsp + 0xac], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0xb0], 0xff
mov dword [rsp + 0x130], 0x1000000
xor edx, edx
lea r8d, [r14 + 0x78]
lea rcx, [r11 - 0x220]
call sub.msvcrt.dll_memset
lea r8, [0x14003dcf8]
lea rdx, [rsp + 0x90]
mov rcx, rdi
call fcn.1400510b0
mov rcx, qword [r13 + 0x68]
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_GetSidSubAuthorityCount]
mov rbx, rax
mov rcx, r15
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_GetSidSubAuthorityCount]
cmp rax, rbx
jae 0x140106c25
mov dword [rsp + 0x2e0], 1
jmp 0x140106c48
lea r8, [rsp + 0x2e0]
mov rdx, qword [r13 + 0x68]
mov rcx, r15
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_EqualDomainSid]
cmp dword [rsp + 0x2e0], r14d
je 0x140107212
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x44]
xor edx, edx
mov rcx, r15
call qword [sym.imp.api_ms_win_security_lsalookup_l1_1_1.dll_LookupAccountSidLocalW]
mov ebx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov esi, eax
cmp eax, 0x7a
jne 0x140107135
test ebx, ebx
jne 0x140107139
mov ebx, dword [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140073d14
lea rdx, [rbx*2 + 2]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r14, rax
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x140106cd4
mov dword [rsp + 0x88], 0x8007000e
lea rdx, [0x140153178]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll__CxxThrowException
mov ebx, dword [rsp + 0x44]
lea rcx, [rsp + 0x70]
call fcn.140073d14
lea rdx, [rbx*2 + 2]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
mov qword [rsp + 0x78], rax
test rax, rax
jne 0x140106d1e
mov dword [rsp + 0x80], 0x8007000e
lea rdx, [0x140153178]
lea rcx, [rsp + 0x80]
call sub.msvcrt.dll__CxxThrowException
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, r14
lea r8, [rsp + 0x44]
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.api_ms_win_security_lsalookup_l1_1_1.dll_LookupAccountSidLocalW]
xor r14d, r14d
test eax, eax
jne 0x140106e10
lea r15, [0x1400052e0]
mov qword [rsp + 0x90], r15
lea r12, [0x14003dde0]
mov qword [rsp + 0x98], r12
lea r13, [0x140005298]
mov qword [rsp + 0xa0], r13
mov dword [rsp + 0xa8], 0x77e
mov dword [rsp + 0xac], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0xb0], 0xff
mov dword [rsp + 0x130], 0x1000000
xor edx, edx
lea r8d, [r14 + 0x78]
lea rcx, [rsp + 0xb8]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov r9d, eax
lea r8, [0x14003de80]
lea rdx, [rsp + 0x90]
mov rcx, rdi
call fcn.1400510b0
xor edx, edx
mov rcx, rdi
call fcn.140074628
mov bl, al
lea rcx, [rsp + 0x50]
call fcn.1400c1678
nop
lea rcx, [rsp + 0x70]
call fcn.140070d4c
nop
lea rcx, [rsp + 0x60]
call fcn.140070d4c
mov al, bl
jmp 0x140107240
lea rcx, [rsp + 0x50]
call fcn.1400c3f28
lea rax, [rsp + 0x138]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x84]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
or dword [rsp + 0x20], 0xffffffff
lea r9, [rsp + 0x58]
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.samcli.dll_NetLocalGroupGetMembers]
mov ebx, eax
cmp eax, 0x8ac
jne 0x140106e92
xor edx, edx
mov rcx, rdi
call fcn.140074628
mov bl, al
lea rcx, [rsp + 0x50]
call fcn.1400c1678
nop
lea rcx, [rsp + 0x70]
call fcn.140070d4c
nop
lea rcx, [rsp + 0x60]
call fcn.140070d4c
mov al, bl
jmp 0x140107240
test eax, eax
je 0x1401070a0
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount64]
cmp qword [r13 + 0x70], r14
je 0x140106eba
mov rcx, rax
sub rcx, qword [r13 + 0x70]
cmp rcx, 0x36ee80
jbe 0x14010700e
mov qword [r13 + 0x70], rax
lea r15, [0x1400052e0]
mov qword [rsp + 0x90], r15
lea r12, [0x14003dde0]
mov qword [rsp + 0x98], r12
lea r13, [0x140005298]
mov qword [rsp + 0xa0], r13
mov dword [rsp + 0xa8], 0x7a1
mov dword [rsp + 0xac], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0xb0], 0xff
mov dword [rsp + 0x130], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xb8]
call sub.msvcrt.dll_memset
test ebx, ebx
jg 0x140106f33
mov r8d, ebx
jmp 0x140106f3e
movzx r8d, bx
or r8d, 0x80070000
mov qword [rsp + 0x20], rsi
lea r9, [0x14003de38]
lea rdx, [rsp + 0x90]
mov rcx, rdi
call fcn.14010047c
mov qword [rsp + 0x90], r15
mov qword [rsp + 0x98], r12
mov qword [rsp + 0xa0], r13
mov dword [rsp + 0xa8], 0x7a6
mov dword [rsp + 0xac], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0xb0], 0xff
mov dword [rsp + 0x130], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xb8]
call sub.msvcrt.dll_memset
mov r8, rsi
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x90]
call fcn.1400ffa98
mov r8d, ebx
lea rdx, [rsp + 0x208]
mov rcx, rax
call fcn.1400ff950
mov r9d, 2
mov r8, rax
mov edx, 0x2026
mov rcx, rdi
call fcn.14004a830
lea rcx, [rsp + 0x160]
call fcn.1400ff75c
lea rcx, [rsp + 0x90]
call fcn.1400ff75c
jmp 0x140107023
lea r15, [0x1400052e0]
lea r12, [0x14003dde0]
lea r13, [0x140005298]
mov qword [rsp + 0x90], r15
mov qword [rsp + 0x98], r12
mov qword [rsp + 0xa0], r13
mov dword [rsp + 0xa8], 0x7aa
mov dword [rsp + 0xac], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0xb0], 0xff
mov dword [rsp + 0x130], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xb8]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rsi
lea r9, [0x14003def0]
mov r8d, 0x80042302
lea rdx, [rsp + 0x90]
mov rcx, rdi
call fcn.140101d5c
mov rsi, qword [rsp + 0x58]
test rsi, rsi
jne 0x1401070dd
xor edx, edx
mov rcx, rdi
call fcn.140074628
mov bl, al
lea rcx, [rsp + 0x50]
call fcn.1400c1678
nop
lea rcx, [rsp + 0x70]
call fcn.140070d4c
nop
lea rcx, [rsp + 0x60]
call fcn.140070d4c
mov al, bl
jmp 0x140107240
mov ebx, r14d
cmp ebx, dword [rsp + 0x48]
jae 0x140107130
mov ecx, ebx
mov rdx, r12
mov rcx, qword [rsi + rcx*8]
call qword [sym.imp.api_ms_win_security_base_l1_2_0.dll_EqualSid]
test eax, eax
je 0x14010712c
mov dl, 1
mov rcx, rdi
call fcn.140074628
mov bl, al
lea rcx, [rsp + 0x50]
call fcn.1400c1678
nop
lea rcx, [rsp + 0x70]
call fcn.140070d4c
nop
lea rcx, [rsp + 0x60]
call fcn.140070d4c
mov al, bl
jmp 0x140107240
inc ebx
jmp 0x1401070e0
jmp 0x140107212
test ebx, ebx
je 0x140107142
lea rbx, [0x140002b68]
jmp 0x140107149
lea rbx, [0x140002b78]
lea r15, [0x1400052e0]
mov qword [rsp + 0x90], r15
lea r12, [0x14003dde0]
mov qword [rsp + 0x98], r12
lea r13, [0x140005298]
mov qword [rsp + 0xa0], r13
mov dword [rsp + 0xa8], 0x76f
mov dword [rsp + 0xac], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0xb0], 0xff
mov dword [rsp + 0x130], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xb8]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x20], rbx
mov r9d, esi
lea r8, [0x14003dd70]
lea rdx, [rsp + 0x90]
mov rcx, rdi
call fcn.1400510b0
xor edx, edx
mov rcx, rdi
call fcn.140074628
mov bl, al
lea rcx, [rsp + 0x50]
call fcn.1400c1678
nop
lea rcx, [rsp + 0x70]
call fcn.140070d4c
nop
lea rcx, [rsp + 0x60]
call fcn.140070d4c
mov al, bl
jmp 0x140107240
xor edx, edx
mov rcx, rdi
call fcn.140074628
mov bl, al
lea rcx, [rsp + 0x50]
call fcn.1400c1678
nop
lea rcx, [rsp + 0x70]
call fcn.140070d4c
nop
lea rcx, [rsp + 0x60]
call fcn.140070d4c
mov al, bl
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret