Function at 0x1000f4408
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, [0x1000391a8]
mov qword [r11 - 0x278], rax
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x48], rdi
lea r12, [0x100022760]
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, [0x100038090]
mov qword [r11 - 0x258], r14
lea rsi, [0x100038fc0]
mov qword [r11 - 0x250], rsi
lea r15, [0x100038070]
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, [0x100038f90]
lea rdx, [rsp + 0xa0]
mov rcx, r13
call fcn.1000e8e14
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 0x1000f4548
mov dword [rsp + 0x58], 1
jmp 0x1000f45b2
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 0x1000f45b2
lea r14, [0x100008440]
mov qword [rsp + 0x20], r14
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
mov rcx, r13
call fcn.1000e826c
nop
mov qword [rsp + 0x40], r12
mov rcx, qword [rsp + 0x48]
cmp rcx, rdi
je 0x1000f45ab
call sub.NETAPI32.dll_NetApiBufferFree
nop
xor al, al
jmp 0x1000f4e1b
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 0x1000f4c18
cmp ebx, edi
jne 0x1000f4c18
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 0x1000f463f
mov dword [rsp + 0x90], 0x8007000e
lea rdx, [0x100172740]
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 0x1000f467c
mov dword [rsp + 0x98], 0x8007000e
lea rdx, [0x100172740]
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 0x1000f47cd
lea r8, [rsp + 0xa0]
mov qword [rsp + 0xa0], r14
lea rax, [0x100038fc0]
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 0x1000f472f
movzx eax, cx
mov qword [r8 + rax*8 + 0x28], rdi
add cx, dx
jmp 0x1000f471c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, [0x100039090]
lea rdx, [rsp + 0xa0]
mov rcx, r13
call fcn.1000e8e14
lea r14, [0x100008440]
mov qword [rsp + 0x20], r14
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
mov rcx, r13
call fcn.1000e826c
nop
mov qword [rsp + 0x40], r12
mov rcx, qword [rsp + 0x48]
cmp rcx, rdi
je 0x1000f478c
call sub.NETAPI32.dll_NetApiBufferFree
mov qword [rsp + 0x48], rdi
lea rax, [0x10000d450]
mov qword [rsp + 0x40], rax
cmp rbx, rdi
je 0x1000f47ab
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x70], rdi
cmp rsi, rdi
je 0x1000f47be
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x88], rdi
xor al, al
jmp 0x1000f4e1b
mov rcx, qword [rsp + 0x48]
cmp rcx, rdi
je 0x1000f47dc
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 0x1000f489b
lea r14, [0x100008440]
mov qword [rsp + 0x20], r14
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
mov rcx, r13
call fcn.1000e826c
nop
mov qword [rsp + 0x40], r12
mov rcx, qword [rsp + 0x48]
cmp rcx, rdi
je 0x1000f4864
call sub.NETAPI32.dll_NetApiBufferFree
mov qword [rsp + 0x48], rdi
lea rax, [0x10000d450]
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 0x1000f4e1b
cmp eax, edi
je 0x1000f4ae1
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov r11, rax
mov rcx, qword [rsp + 0x300]
cmp qword [rcx + 0x70], rdi
je 0x1000f48d7
sub rax, qword [rcx + 0x70]
cmp rax, 0x36ee80
ja 0x1000f48d7
lea rsi, [0x100038fc0]
mov r12d, dword [rsp + 0x5c]
jmp 0x1000f4a4c
mov qword [rcx + 0x70], r11
lea r10, [rsp + 0xa0]
mov qword [rsp + 0xa0], r14
lea rsi, [0x100038fc0]
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 0x1000f4955
movzx eax, cx
mov qword [r10 + rax*8 + 0x28], rdi
add cx, dx
jmp 0x1000f4942
mov r12d, dword [rsp + 0x5c]
movzx r8d, r12w
or r8d, 0x80070000
cmp r12d, edi
cmovle r8d, r12d
mov qword [rsp + 0x20], rbx
lea r9, [0x1000390f8]
mov rdx, r10
mov rcx, r13
call fcn.1000ec9dc
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 0x1000f49f1
movzx eax, cx
mov qword [rsp + rax*8 + 0xc8], rdi
add cx, dx
jmp 0x1000f49db
mov r8, rbx
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0xa0]
call fcn.1000e7a68
mov r8d, r12d
lea rdx, [rsp + 0x218]
mov rcx, rax
call fcn.1000e7740
mov r9d, 2
mov r8, rax
mov edx, 0x2026
mov rcx, r13
call fcn.1000eb278
lea rcx, [rsp + 0x170]
call fcn.1000e7688
lea rcx, [rsp + 0xa0]
call fcn.1000e7688
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 0x1000f4abf
movzx eax, cx
mov qword [r10 + rax*8 + 0x28], rdi
add cx, dx
jmp 0x1000f4aac
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rbx
lea r9, [0x100039140]
mov r8d, 0x80042302
mov rdx, r10
mov rcx, r13
call fcn.1000e8ff8
mov r15, qword [rsp + 0x48]
cmp r15, rdi
jne 0x1000f4b5f
lea r14, [0x100008440]
mov qword [rsp + 0x20], r14
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
mov rcx, r13
call fcn.1000e826c
nop
mov qword [rsp + 0x40], r12
mov rcx, qword [rsp + 0x48]
cmp rcx, rdi
je 0x1000f4b28
call sub.NETAPI32.dll_NetApiBufferFree
mov qword [rsp + 0x48], rdi
lea rax, [0x10000d450]
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 0x1000f4e1b
mov r14d, edi
cmp r14d, dword [rsp + 0x78]
jae 0x1000f4c13
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 0x1000f4c0b
lea rcx, [0x100008430]
mov qword [rsp + 0x20], rcx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
mov rcx, r13
call fcn.1000e826c
nop
mov qword [rsp + 0x40], r12
mov rcx, qword [rsp + 0x48]
cmp rcx, rdi
je 0x1000f4bc7
call sub.NETAPI32.dll_NetApiBufferFree
mov qword [rsp + 0x48], rdi
lea rax, [0x10000d450]
mov qword [rsp + 0x40], rax
cmp rbx, rdi
je 0x1000f4be6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x70], rdi
cmp rsi, rdi
je 0x1000f4bf9
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x88], rdi
mov eax, 1
jmp 0x1000f4e1b
inc r14d
jmp 0x1000f4b62
jmp 0x1000f4dae
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 0x1000f4c8b
movzx eax, cx
mov qword [r10 + rax*8 + 0x28], rdi
add cx, dx
jmp 0x1000f4c78
lea rcx, [0x100008430]
lea r14, [0x100008440]
mov rax, r14
cmp ebx, edi
cmovne rax, rcx
mov qword [rsp + 0x20], rax
lea r8, [0x100039020]
mov rdx, r10
mov rcx, r13
call fcn.1000e8e14
mov qword [rsp + 0x20], r14
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
mov rcx, r13
call fcn.1000e826c
nop
mov qword [rsp + 0x40], r12
mov rcx, qword [rsp + 0x48]
cmp rcx, rdi
je 0x1000f4cef
call sub.NETAPI32.dll_NetApiBufferFree
mov qword [rsp + 0x48], rdi
lea rax, [0x10000d450]
mov qword [rsp + 0x40], rax
cmp rdi, rdi
je 0x1000f4d0e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x70], rdi
cmp rdi, rdi
je 0x1000f4d21
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x88], rdi
xor al, al
jmp 0x1000f4e1b
lea r14, [0x100008440]
mov qword [rsp + 0x20], r14
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
mov rcx, r13
call fcn.1000e826c
nop
mov qword [rsp + 0x40], r12
mov rcx, qword [rsp + 0x48]
cmp rcx, rdi
je 0x1000f4deb
call sub.NETAPI32.dll_NetApiBufferFree
mov qword [rsp + 0x48], rdi
lea rax, [0x10000d450]
mov qword [rsp + 0x40], rax
cmp rbx, rdi
je 0x1000f4e0b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
cmp rsi, rdi
je 0x1000f4e19
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