Function at 0x1000f4444
Capabilities:
Compare security identifiers

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x170
mov qword [rsp + 0xf8], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov r13, rdx
mov r14, rcx
lea rax, [0x1000381e0]
mov qword [rsp + 0x50], rax
lea rax, [0x100039000]
mov qword [rsp + 0x58], rax
lea rax, [0x1000381c0]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x6dc
mov dword [rsp + 0x6c], 0xb
mov dword [rsp + 0x70], 0xff
xor r15d, r15d
mov word [r11 - 0xa8], r15w
mov byte [r11 - 0xa6], r15b
lea ebx, [r15 + 1]
mov byte [rsp + 0xf3], bl
xor edx, edx
lea r8d, [r15 + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x100]
call fcn.1000e8000
nop
mov dword [rsp + 0x30], r15d
xor eax, eax
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x1a0], r15
mov dil, r15b
mov sil, r15b
lea r9d, [r15 + 2]
lea r8d, [r15 + 0xc]
lea rdx, [rsp + 0x30]
mov rcx, qword [r14 + 0x20]
call qword [sym.imp.ADVAPI32.dll_GetAclInformation]
mov ebp, r15d
mov eax, dword [rsp + 0x30]
mov r12d, r15d
cmp eax, r15d
jbe 0x1000f45e9
lea r8, [rsp + 0x1a0]
mov edx, r12d
mov rcx, qword [r14 + 0x20]
call qword [sym.imp.ADVAPI32.dll_GetAce]
mov r9, qword [rsp + 0x1a0]
movzx ecx, byte [r9]
cmp ecx, r15d
je 0x1000f459c
cmp ecx, ebx
jne 0x1000f45d9
cmp ebp, r15d
jne 0x1000f457e
lea rdx, [r9 + 8]
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_EqualSid]
cmp eax, r15d
jne 0x1000f45f5
jmp 0x1000f45d9
add r9, 8
mov r8, r13
lea rdx, [rsp + 0x100]
mov rcx, r14
call fcn.1000f479c
cmp al, r15b
jne 0x1000f45fa
jmp 0x1000f45d9
cmp ebp, r15d
jne 0x1000f45b8
lea rdx, [r9 + 8]
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_EqualSid]
cmp eax, r15d
je 0x1000f45d9
mov sil, bl
jmp 0x1000f45d9
add r9, 8
mov r8, r13
lea rdx, [rsp + 0x100]
mov rcx, r14
call fcn.1000f479c
movzx esi, sil
cmp al, r15b
cmovne esi, ebx
add r12d, ebx
mov eax, dword [rsp + 0x30]
cmp r12d, eax
jb 0x1000f453b
add ebp, ebx
cmp ebp, 2
jae 0x1000f45fd
jmp 0x1000f452f
mov dil, bl
jmp 0x1000f45fd
mov dil, bl
mov edx, dword [rsp + 0x124]
lea rcx, [rsp + 0x100]
call fcn.1000e81f8
cmp eax, r15d
je 0x1000f471d
lea rax, [0x10000d460]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r15
lea rdx, [rsp + 0x48]
mov rcx, r13
call sub.ADVAPI32.dll_ConvertSidToStringSidW
cmp eax, r15d
je 0x1000f4701
cmp sil, r15b
je 0x1000f4654
cmp dil, r15b
jne 0x1000f4654
lea r12, [0x100039050]
jmp 0x1000f465b
lea r12, [0x100039060]
cmp sil, r15b
jne 0x1000f466e
cmp dil, r15b
jne 0x1000f466e
lea rbp, [0x100039088]
jmp 0x1000f4675
lea rbp, [0x100039070]
lea rax, [0x1000381e0]
mov qword [rsp + 0x50], rax
lea rax, [0x100039000]
mov qword [rsp + 0x58], rax
lea rax, [0x1000381c0]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x736
mov dword [rsp + 0x6c], 0xb
mov dword [rsp + 0x70], 0xff
mov word [rsp + 0xf0], r15w
mov byte [rsp + 0xf2], r15b
mov byte [rsp + 0xf3], bl
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rbp
mov r9, qword [rsp + 0x48]
lea r8, [0x1000390a0]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x100]
call fcn.1000e91dc
lea rax, [0x10000d460]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x48]
cmp rcx, r15
je 0x1000f471d
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp sil, r15b
je 0x1000f4727
cmp dil, r15b
je 0x1000f472a
mov bl, r15b
lea rax, [0x100008430]
lea rcx, [0x100008440]
cmp bl, r15b
cmovne rcx, rax
mov qword [rsp + 0x20], rcx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0x100]
call fcn.1000e8634
nop
lea rcx, [rsp + 0x100]
call fcn.1000e80ec
mov al, bl
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret