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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2c0
mov qword [rsp + 0x168], 0xfffffffffffffffe
mov r13, rdx
mov rbx, rcx
xor edi, edi
lea rax, [0x10000d460]
mov qword [r11 - 0x278], rax
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x48], rdi
lea r12, [0x1000228b0]
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x60], 7
mov qword [r11 - 0x1a8], rdi
mov dword [rsp + 0x78], edi
mov dword [rsp + 0x94], edi
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x54], edi
mov dword [rsp + 0x58], edi
lea r14, [0x1000381e0]
mov qword [r11 - 0x258], r14
lea rsi, [0x100039110]
mov qword [r11 - 0x250], rsi
lea r15, [0x1000381c0]
mov qword [r11 - 0x248], r15
mov dword [rsp + 0xb8], 0x75a
mov dword [rsp + 0xbc], 0xb
mov dword [rsp + 0xc0], 0xff
mov word [rsp + 0x140], di
mov byte [rsp + 0x142], dil
lea eax, [rdi + 1]
mov byte [rsp + 0x143], al
xor edx, edx
lea r8d, [rdi + 0x78]
lea rcx, [r11 - 0x230]
call sub.msvcrt.dll_memset
lea r8, [0x1000390e0]
lea rdx, [rsp + 0xa0]
mov rcx, r13
call fcn.1000e91dc
mov rcx, qword [rbx + 0x68]
call qword [sym.imp.ADVAPI32.dll_GetSidSubAuthorityCount]
mov rbx, rax
mov rcx, qword [rsp + 0x318]
call qword [sym.imp.ADVAPI32.dll_GetSidSubAuthorityCount]
cmp rax, rbx
jae 0x1000f48dc
mov dword [rsp + 0x58], 1
jmp 0x1000f4946
lea r8, [rsp + 0x58]
mov rdx, qword [rsp + 0x300]
mov rdx, qword [rdx + 0x68]
mov rcx, qword [rsp + 0x318]
call qword [sym.imp.ADVAPI32.dll_EqualDomainSid]
cmp dword [rsp + 0x58], edi
jne 0x1000f4946
lea r14, [0x100008440]
mov qword [rsp + 0x20], r14
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
mov rcx, r13
call fcn.1000e8634
nop
mov qword [rsp + 0x40], r12
mov rcx, qword [rsp + 0x48]
cmp rcx, rdi
je 0x1000f493f
call sub.NETAPI32.dll_NetApiBufferFree
nop
xor al, al
jmp 0x1000f51af
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x54]
xor r8d, r8d
mov rdx, qword [rsp + 0x318]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
cmp eax, 0x7a
jne 0x1000f4fac
cmp ebx, edi
jne 0x1000f4fac
mov edx, dword [rsp + 0x50]
lea rdx, [rdx + rdx + 2]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
mov qword [rsp + 0x88], rax
cmp rax, rdi
jne 0x1000f49d3
mov dword [rsp + 0x90], 0x8007000e
lea rdx, [0x100172be0]
lea rcx, [rsp + 0x90]
call sub.msvcrt.dll__CxxThrowException
mov edx, dword [rsp + 0x54]
lea rdx, [rdx + rdx + 2]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
mov qword [rsp + 0x70], rax
cmp rax, rdi
jne 0x1000f4a10
mov dword [rsp + 0x98], 0x8007000e
lea rdx, [0x100172be0]
lea rcx, [rsp + 0x98]
call sub.msvcrt.dll__CxxThrowException
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x54]
mov r8, rbx
mov rdx, qword [rsp + 0x318]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
cmp eax, edi
jne 0x1000f4b61
lea r8, [rsp + 0xa0]
mov qword [rsp + 0xa0], r14
lea rax, [0x100039110]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], r15
mov dword [rsp + 0xb8], 0x78c
mov dword [rsp + 0xbc], 0xb
mov dword [rsp + 0xc0], 0xff
mov word [rsp + 0x140], di
mov byte [rsp + 0x142], dil
mov edx, 1
mov byte [rsp + 0x143], dl
movzx ecx, di
cmp cx, 0xf
jae 0x1000f4ac3
movzx eax, cx
mov qword [r8 + rax*8 + 0x28], rdi
add cx, dx
jmp 0x1000f4ab0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, [0x1000391e0]
lea rdx, [rsp + 0xa0]
mov rcx, r13
call fcn.1000e91dc
lea r14, [0x100008440]
mov qword [rsp + 0x20], r14
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
mov rcx, r13
call fcn.1000e8634
nop
mov qword [rsp + 0x40], r12
mov rcx, qword [rsp + 0x48]
cmp rcx, rdi
je 0x1000f4b20
call sub.NETAPI32.dll_NetApiBufferFree
mov qword [rsp + 0x48], rdi
lea rax, [0x10003a7e0]
mov qword [rsp + 0x40], rax
cmp rbx, rdi
je 0x1000f4b3f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x70], rdi
cmp rsi, rdi
je 0x1000f4b52
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x88], rdi
xor al, al
jmp 0x1000f51af
mov rcx, qword [rsp + 0x48]
cmp rcx, rdi
je 0x1000f4b70
call sub.NETAPI32.dll_NetApiBufferFree
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 0x150]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x94]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
or dword [rsp + 0x20], 0xffffffff
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call sub.NETAPI32.dll_NetLocalGroupGetMembers
mov dword [rsp + 0x5c], eax
cmp eax, 0x8ac
jne 0x1000f4c2f
lea r14, [0x100008440]
mov qword [rsp + 0x20], r14
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
mov rcx, r13
call fcn.1000e8634
nop
mov qword [rsp + 0x40], r12
mov rcx, qword [rsp + 0x48]
cmp rcx, rdi
je 0x1000f4bf8
call sub.NETAPI32.dll_NetApiBufferFree
mov qword [rsp + 0x48], rdi
lea rax, [0x10003a7e0]
mov qword [rsp + 0x40], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x70], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x88], rdi
xor al, al
jmp 0x1000f51af
cmp eax, edi
je 0x1000f4e75
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov r11, rax
mov rcx, qword [rsp + 0x300]
cmp qword [rcx + 0x70], rdi
je 0x1000f4c6b
sub rax, qword [rcx + 0x70]
cmp rax, 0x36ee80
ja 0x1000f4c6b
lea rsi, [0x100039110]
mov r12d, dword [rsp + 0x5c]
jmp 0x1000f4de0
mov qword [rcx + 0x70], r11
lea r10, [rsp + 0xa0]
mov qword [rsp + 0xa0], r14
lea rsi, [0x100039110]
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xb0], r15
mov dword [rsp + 0xb8], 0x7af
mov dword [rsp + 0xbc], 0xb
mov dword [rsp + 0xc0], 0xff
mov word [rsp + 0x140], di
mov byte [rsp + 0x142], dil
mov edx, 1
mov byte [rsp + 0x143], dl
movzx ecx, di
cmp cx, 0xf
jae 0x1000f4ce9
movzx eax, cx
mov qword [r10 + rax*8 + 0x28], rdi
add cx, dx
jmp 0x1000f4cd6
mov r12d, dword [rsp + 0x5c]
movzx r8d, r12w
or r8d, 0x80070000
cmp r12d, edi
cmovle r8d, r12d
mov qword [rsp + 0x20], rbx
lea r9, [0x100039248]
mov rdx, r10
mov rcx, r13
call fcn.1000ecda4
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xb0], r15
mov dword [rsp + 0xb8], 0x7b4
mov dword [rsp + 0xbc], 0xb
mov dword [rsp + 0xc0], 0xff
mov word [rsp + 0x140], di
mov byte [rsp + 0x142], dil
mov edx, 1
mov byte [rsp + 0x143], dl
movzx ecx, di
cmp cx, 0xf
jae 0x1000f4d85
movzx eax, cx
mov qword [rsp + rax*8 + 0xc8], rdi
add cx, dx
jmp 0x1000f4d6f
mov r8, rbx
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0xa0]
call fcn.1000e7e30
mov r8d, r12d
lea rdx, [rsp + 0x218]
mov rcx, rax
call fcn.1000e7b08
mov r9d, 2
mov r8, rax
mov edx, 0x2026
mov rcx, r13
call fcn.1000eb640
lea rcx, [rsp + 0x170]
call fcn.1000e7a50
lea rcx, [rsp + 0xa0]
call fcn.1000e7a50
lea r10, [rsp + 0xa0]
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xb0], r15
mov dword [rsp + 0xb8], 0x7b8
mov dword [rsp + 0xbc], 0xb
mov dword [rsp + 0xc0], 0xff
mov word [rsp + 0x140], di
mov byte [rsp + 0x142], dil
mov edx, 1
mov byte [rsp + 0x143], dl
movzx ecx, di
cmp cx, 0xf
jae 0x1000f4e53
movzx eax, cx
mov qword [r10 + rax*8 + 0x28], rdi
add cx, dx
jmp 0x1000f4e40
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rbx
lea r9, [0x100039290]
mov r8d, 0x80042302
mov rdx, r10
mov rcx, r13
call fcn.1000e93c0
mov r15, qword [rsp + 0x48]
cmp r15, rdi
jne 0x1000f4ef3
lea r14, [0x100008440]
mov qword [rsp + 0x20], r14
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
mov rcx, r13
call fcn.1000e8634
nop
mov qword [rsp + 0x40], r12
mov rcx, qword [rsp + 0x48]
cmp rcx, rdi
je 0x1000f4ebc
call sub.NETAPI32.dll_NetApiBufferFree
mov qword [rsp + 0x48], rdi
lea rax, [0x10003a7e0]
mov qword [rsp + 0x40], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x70], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x88], rdi
xor al, al
jmp 0x1000f51af
mov r14d, edi
cmp r14d, dword [rsp + 0x78]
jae 0x1000f4fa7
mov ecx, r14d
mov rdx, qword [rsp + 0x310]
mov rcx, qword [r15 + rcx*8]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
cmp eax, edi
je 0x1000f4f9f
lea rcx, [0x100008430]
mov qword [rsp + 0x20], rcx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
mov rcx, r13
call fcn.1000e8634
nop
mov qword [rsp + 0x40], r12
mov rcx, qword [rsp + 0x48]
cmp rcx, rdi
je 0x1000f4f5b
call sub.NETAPI32.dll_NetApiBufferFree
mov qword [rsp + 0x48], rdi
lea rax, [0x10003a7e0]
mov qword [rsp + 0x40], rax
cmp rbx, rdi
je 0x1000f4f7a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x70], rdi
cmp rsi, rdi
je 0x1000f4f8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x88], rdi
mov eax, 1
jmp 0x1000f51af
inc r14d
jmp 0x1000f4ef6
jmp 0x1000f5142
lea r10, [rsp + 0xa0]
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xb0], r15
mov dword [rsp + 0xb8], 0x77d
mov dword [rsp + 0xbc], 0xb
mov dword [rsp + 0xc0], 0xff
mov word [rsp + 0x140], di
mov byte [rsp + 0x142], dil
mov edx, 1
mov byte [rsp + 0x143], dl
movzx ecx, di
cmp cx, 0xf
jae 0x1000f501f
movzx eax, cx
mov qword [r10 + rax*8 + 0x28], rdi
add cx, dx
jmp 0x1000f500c
lea rcx, [0x100008430]
lea r14, [0x100008440]
mov rax, r14
cmp ebx, edi
cmovne rax, rcx
mov qword [rsp + 0x20], rax
lea r8, [0x100039170]
mov rdx, r10
mov rcx, r13
call fcn.1000e91dc
mov qword [rsp + 0x20], r14
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
mov rcx, r13
call fcn.1000e8634
nop
mov qword [rsp + 0x40], r12
mov rcx, qword [rsp + 0x48]
cmp rcx, rdi
je 0x1000f5083
call sub.NETAPI32.dll_NetApiBufferFree
mov qword [rsp + 0x48], rdi
lea rax, [0x10003a7e0]
mov qword [rsp + 0x40], rax
cmp rdi, rdi
je 0x1000f50a2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x70], rdi
cmp rdi, rdi
je 0x1000f50b5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x88], rdi
xor al, al
jmp 0x1000f51af
lea r14, [0x100008440]
mov qword [rsp + 0x20], r14
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
mov rcx, r13
call fcn.1000e8634
nop
mov qword [rsp + 0x40], r12
mov rcx, qword [rsp + 0x48]
cmp rcx, rdi
je 0x1000f517f
call sub.NETAPI32.dll_NetApiBufferFree
mov qword [rsp + 0x48], rdi
lea rax, [0x10003a7e0]
mov qword [rsp + 0x40], rax
cmp rbx, rdi
je 0x1000f519f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
cmp rsi, rdi
je 0x1000f51ad
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor al, al
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret