Function at 0x1400c7218
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, 0x2c0
mov qword [r11 - 0x198], 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 [r11 - 0x268], r14
lea rax, [0x1400f6248]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], r14
lea rax, [0x1400f63f8]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x48], 7
mov qword [r11 - 0x1a0], r14
mov dword [rsp + 0x4c], r14d
mov dword [r11 - 0x258], r14d
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x44], r14d
mov dword [r11 + 8], r14d
lea rax, str.base_stor_vssmodules_sec_security.cxx
mov qword [r11 - 0x250], rax
lea rax, str.CVssSidCollection::ExpandForVerification
mov qword [r11 - 0x248], rax
lea rax, str.SECSECRC
mov qword [r11 - 0x240], rax
mov dword [rsp + 0xb0], 0x763
mov dword [rsp + reloc.VssTrace.DLL_Ordinal_114], 0xb
mov dword [rsp + 0xb8], 0xff
mov dword [rsp + 0x138], 0x1000000
xor edx, edx
lea r8d, [r14 + 0x78]
lea rcx, [r11 - 0x228]
call sub.msvcrt.dll_memset
lea r8, str.ExpandForVerification__
lea rdx, [rsp + 0x98]
mov rcx, rdi
call fcn.140009fb0
mov rcx, r15
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_GetSidSubAuthorityCount]
nop dword [rax + rax]
mov rbx, rax
mov rcx, qword [r13 + 0x68]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_GetSidSubAuthorityCount]
nop dword [rax + rax]
cmp rbx, rax
jae 0x1400c735b
mov dword [rsp + 0x2f0], 1
jmp 0x1400c7384
lea r8, [rsp + 0x2f0]
mov rdx, qword [r13 + 0x68]
mov rcx, r15
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_EqualDomainSid]
nop dword [rax + rax]
cmp dword [rsp + 0x2f0], r14d
je 0x1400c7987
lea rax, [rsp + 0x48]
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_0.dll_LookupAccountSidLocalW]
nop dword [rax + rax]
mov ebx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
cmp eax, 0x7a
jne 0x1400c78aa
test ebx, ebx
jne 0x1400c78ae
mov ebx, dword [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.1400313a4
lea rdx, [rbx*2 + 2]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
nop dword [rax + rax]
mov r14, rax
mov qword [rsp + 0x80], rax
test rax, rax
jne 0x1400c7425
mov dword [rsp + 0x88], 0x8007000e
lea rdx, [0x140159b90]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll__CxxThrowException
mov ebx, dword [rsp + 0x44]
lea rcx, [rsp + 0x68]
call fcn.1400313a4
lea rdx, [rbx*2 + 2]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
nop dword [rax + rax]
mov rsi, rax
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x1400c7475
mov dword [rsp + 0x8c], 0x8007000e
lea rdx, [0x140159b90]
lea rcx, [rsp + 0x8c]
call sub.msvcrt.dll__CxxThrowException
lea rax, [rsp + 0x48]
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_0.dll_LookupAccountSidLocalW]
nop dword [rax + rax]
xor r14d, r14d
test eax, eax
jne 0x1400c7573
lea r15, str.base_stor_vssmodules_sec_security.cxx
mov qword [rsp + 0x98], r15
lea r12, str.CVssSidCollection::ExpandForVerification
mov qword [rsp + 0xa0], r12
lea r13, str.SECSECRC
mov qword [rsp + 0xa8], r13
mov dword [rsp + 0xb0], 0x795
mov dword [rsp + reloc.VssTrace.DLL_Ordinal_114], 0xb
mov dword [rsp + 0xb8], 0xff
mov dword [rsp + 0x138], 0x1000000
xor edx, edx
lea r8d, [r14 + 0x78]
lea rcx, [rsp + 0xc0]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r9d, eax
lea r8, str.LookupAccountSid_fails_unexpectedly__winerror__d.
lea rdx, [rsp + 0x98]
mov rcx, rdi
call fcn.140009fb0
xor edx, edx
mov rcx, rdi
call fcn.140031dac
mov bl, al
lea rcx, [rsp + 0x58]
call fcn.140080c5c
nop
lea rcx, [rsp + 0x68]
call fcn.14002e4c8
nop
lea rcx, [rsp + 0x78]
call fcn.14002e4c8
mov al, bl
jmp 0x1400c79b5
lea rcx, [rsp + 0x58]
call fcn.140083514
lea rax, [rsp + 0x148]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
or dword [rsp + 0x20], 0xffffffff
lea r9, [rsp + 0x60]
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.samcli.dll_NetLocalGroupGetMembers]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0x8ac
jne 0x1400c75fb
xor edx, edx
mov rcx, rdi
call fcn.140031dac
mov bl, al
lea rcx, [rsp + 0x58]
call fcn.140080c5c
nop
lea rcx, [rsp + 0x68]
call fcn.14002e4c8
nop
lea rcx, [rsp + 0x78]
call fcn.14002e4c8
mov al, bl
jmp 0x1400c79b5
test ebx, ebx
je 0x1400c780f
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
nop dword [rax + rax]
cmp qword [r13 + 0x70], r14
je 0x1400c7629
mov rcx, rax
sub rcx, qword [r13 + 0x70]
cmp rcx, 0x36ee80
jbe 0x1400c777d
mov qword [r13 + 0x70], rax
lea r15, str.base_stor_vssmodules_sec_security.cxx
mov qword [rsp + 0x98], r15
lea r12, str.CVssSidCollection::ExpandForVerification
mov qword [rsp + 0xa0], r12
lea r13, str.SECSECRC
mov qword [rsp + 0xa8], r13
mov dword [rsp + 0xb0], 0x7b8
mov dword [rsp + reloc.VssTrace.DLL_Ordinal_114], 0xb
mov dword [rsp + 0xb8], 0xff
mov dword [rsp + 0x138], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xc0]
call sub.msvcrt.dll_memset
test ebx, ebx
jg 0x1400c76a2
mov r8d, ebx
jmp 0x1400c76ad
movzx r8d, bx
or r8d, 0x80070000
mov qword [rsp + 0x20], rsi
lea r9, str.NetLocalGroupGetMemebers__s_
lea rdx, [rsp + 0x98]
mov rcx, rdi
call fcn.1400bfb28
mov qword [rsp + 0x98], r15
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0xa8], r13
mov dword [rsp + 0xb0], 0x7bd
mov dword [rsp + reloc.VssTrace.DLL_Ordinal_114], 0xb
mov dword [rsp + 0xb8], 0xff
mov dword [rsp + 0x138], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xc0]
call sub.msvcrt.dll_memset
mov r8, rsi
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x98]
call fcn.1400bf0cc
mov r8d, ebx
lea rdx, [rsp + 0x168]
mov rcx, rax
call fcn.1400bef74
mov r9d, 2
mov r8, rax
mov edx, 0x2026
mov rcx, rdi
call fcn.1400c09a4
lea rcx, [rsp + 0x210]
call fcn.1400bed5c
lea rcx, [rsp + 0x98]
call fcn.1400bed5c
jmp 0x1400c7792
lea r15, str.base_stor_vssmodules_sec_security.cxx
lea r12, str.CVssSidCollection::ExpandForVerification
lea r13, str.SECSECRC
mov qword [rsp + 0x98], r15
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0xa8], r13
mov dword [rsp + 0xb0], 0x7c1
mov dword [rsp + reloc.VssTrace.DLL_Ordinal_114], 0xb
mov dword [rsp + 0xb8], 0xff
mov dword [rsp + 0x138], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xc0]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rsi
lea r9, str.NetLocalGroupGetMembers___failed_for___s__with__d
mov r8d, 0x80042302
lea rdx, [rsp + 0x98]
mov rcx, rdi
call fcn.1400c2090
mov rsi, qword [rsp + 0x60]
test rsi, rsi
jne 0x1400c784c
xor edx, edx
mov rcx, rdi
call fcn.140031dac
mov bl, al
lea rcx, [rsp + 0x58]
call fcn.140080c5c
nop
lea rcx, [rsp + 0x68]
call fcn.14002e4c8
nop
lea rcx, [rsp + 0x78]
call fcn.14002e4c8
mov al, bl
jmp 0x1400c79b5
mov ebx, r14d
cmp ebx, dword [rsp + 0x4c]
jae 0x1400c78a5
mov ecx, ebx
mov rdx, r12
mov rcx, qword [rsi + rcx*8]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_EqualSid]
nop dword [rax + rax]
test eax, eax
je 0x1400c78a1
mov dl, 1
mov rcx, rdi
call fcn.140031dac
mov bl, al
lea rcx, [rsp + 0x58]
call fcn.140080c5c
nop
lea rcx, [rsp + 0x68]
call fcn.14002e4c8
nop
lea rcx, [rsp + 0x78]
call fcn.14002e4c8
mov al, bl
jmp 0x1400c79b5
inc ebx
jmp 0x1400c784f
jmp 0x1400c7987
test ebx, ebx
je 0x1400c78b7
lea rbx, str.TRUE
jmp 0x1400c78be
lea rbx, str.FALSE
lea r15, str.base_stor_vssmodules_sec_security.cxx
mov qword [rsp + 0x98], r15
lea r12, str.CVssSidCollection::ExpandForVerification
mov qword [rsp + 0xa0], r12
lea r13, str.SECSECRC
mov qword [rsp + 0xa8], r13
mov dword [rsp + 0xb0], 0x786
mov dword [rsp + reloc.VssTrace.DLL_Ordinal_114], 0xb
mov dword [rsp + 0xb8], 0xff
mov dword [rsp + 0x138], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xc0]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x20], rbx
mov r9d, esi
lea r8, str.LookupAccountSid_returned_with_winerror__d__bRes__s.
lea rdx, [rsp + 0x98]
mov rcx, rdi
call fcn.140009fb0
xor edx, edx
mov rcx, rdi
call fcn.140031dac
mov bl, al
lea rcx, [rsp + 0x58]
call fcn.140080c5c
nop
lea rcx, [rsp + 0x68]
call fcn.14002e4c8
nop
lea rcx, [rsp + 0x78]
call fcn.14002e4c8
mov al, bl
jmp 0x1400c79b5
xor edx, edx
mov rcx, rdi
call fcn.140031dac
mov bl, al
lea rcx, [rsp + 0x58]
call fcn.140080c5c
nop
lea rcx, [rsp + 0x68]
call fcn.14002e4c8
nop
lea rcx, [rsp + 0x78]
call fcn.14002e4c8
mov al, bl
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret