Function at 0x1400c23dc
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, [0x1400ef1c8]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], r14
lea rax, [0x1400ef440]
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.140006ed0
mov rcx, r15
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_GetSidSubAuthorityCount]
mov rbx, rax
mov rcx, qword [r13 + 0x68]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_GetSidSubAuthorityCount]
cmp rbx, rax
jae 0x1400c2513
mov dword [rsp + 0x2f0], 1
jmp 0x1400c2536
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]
cmp dword [rsp + 0x2f0], r14d
je 0x1400c2b03
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]
mov ebx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
cmp eax, 0x7a
jne 0x1400c2a26
test ebx, ebx
jne 0x1400c2a2a
mov ebx, dword [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.14002db8c
lea rdx, [rbx*2 + 2]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
mov r14, rax
mov qword [rsp + 0x80], rax
test rax, rax
jne 0x1400c25c5
mov dword [rsp + 0x88], 0x8007000e
lea rdx, [0x140151ca0]
lea rcx, [rsp + 0x88]
call sub.msvcrt.dll__CxxThrowException
mov ebx, dword [rsp + 0x44]
lea rcx, [rsp + 0x68]
call fcn.14002db8c
lea rdx, [rbx*2 + 2]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
mov rsi, rax
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x1400c260f
mov dword [rsp + 0x8c], 0x8007000e
lea rdx, [0x140151ca0]
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]
xor r14d, r14d
test eax, eax
jne 0x1400c2701
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]
mov r9d, eax
lea r8, str.LookupAccountSid_fails_unexpectedly__winerror__d.
lea rdx, [rsp + 0x98]
mov rcx, rdi
call fcn.140006ed0
xor edx, edx
mov rcx, rdi
call fcn.14002e56c
mov bl, al
lea rcx, [rsp + 0x58]
call fcn.14007c93c
nop
lea rcx, [rsp + 0x68]
call fcn.14002ad0c
nop
lea rcx, [rsp + 0x78]
call fcn.14002ad0c
mov al, bl
jmp 0x1400c2b31
lea rcx, [rsp + 0x58]
call fcn.14007f1b0
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]
mov ebx, eax
cmp eax, 0x8ac
jne 0x1400c2783
xor edx, edx
mov rcx, rdi
call fcn.14002e56c
mov bl, al
lea rcx, [rsp + 0x58]
call fcn.14007c93c
nop
lea rcx, [rsp + 0x68]
call fcn.14002ad0c
nop
lea rcx, [rsp + 0x78]
call fcn.14002ad0c
mov al, bl
jmp 0x1400c2b31
test ebx, ebx
je 0x1400c2991
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
cmp qword [r13 + 0x70], r14
je 0x1400c27ab
mov rcx, rax
sub rcx, qword [r13 + 0x70]
cmp rcx, 0x36ee80
jbe 0x1400c28ff
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 0x1400c2824
mov r8d, ebx
jmp 0x1400c282f
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.1400bafd8
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.1400ba5bc
mov r8d, ebx
lea rdx, [rsp + 0x168]
mov rcx, rax
call fcn.1400ba478
mov r9d, 2
mov r8, rax
mov edx, 0x2026
mov rcx, rdi
call fcn.1400bbde8
lea rcx, [rsp + 0x210]
call fcn.1400ba280
lea rcx, [rsp + 0x98]
call fcn.1400ba280
jmp 0x1400c2914
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.1400bd424
mov rsi, qword [rsp + 0x60]
test rsi, rsi
jne 0x1400c29ce
xor edx, edx
mov rcx, rdi
call fcn.14002e56c
mov bl, al
lea rcx, [rsp + 0x58]
call fcn.14007c93c
nop
lea rcx, [rsp + 0x68]
call fcn.14002ad0c
nop
lea rcx, [rsp + 0x78]
call fcn.14002ad0c
mov al, bl
jmp 0x1400c2b31
mov ebx, r14d
cmp ebx, dword [rsp + 0x4c]
jae 0x1400c2a21
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]
test eax, eax
je 0x1400c2a1d
mov dl, 1
mov rcx, rdi
call fcn.14002e56c
mov bl, al
lea rcx, [rsp + 0x58]
call fcn.14007c93c
nop
lea rcx, [rsp + 0x68]
call fcn.14002ad0c
nop
lea rcx, [rsp + 0x78]
call fcn.14002ad0c
mov al, bl
jmp 0x1400c2b31
inc ebx
jmp 0x1400c29d1
jmp 0x1400c2b03
test ebx, ebx
je 0x1400c2a33
lea rbx, str.TRUE
jmp 0x1400c2a3a
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.140006ed0
xor edx, edx
mov rcx, rdi
call fcn.14002e56c
mov bl, al
lea rcx, [rsp + 0x58]
call fcn.14007c93c
nop
lea rcx, [rsp + 0x68]
call fcn.14002ad0c
nop
lea rcx, [rsp + 0x78]
call fcn.14002ad0c
mov al, bl
jmp 0x1400c2b31
xor edx, edx
mov rcx, rdi
call fcn.14002e56c
mov bl, al
lea rcx, [rsp + 0x58]
call fcn.14007c93c
nop
lea rcx, [rsp + 0x68]
call fcn.14002ad0c
nop
lea rcx, [rsp + 0x78]
call fcn.14002ad0c
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