Function at 0x1000f4a2c
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, [0x100038350]
mov qword [rsp + 0x50], rax
lea rax, [0x100039170]
mov qword [rsp + 0x58], rax
lea rax, [0x100038330]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x6dc
mov dword [rsp + 0x6c], reloc.VssTrace.DLL_Ordinal_11
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.1000e842c
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 0x1000f4bd1
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 0x1000f4b84
cmp ecx, ebx
jne 0x1000f4bc1
cmp ebp, r15d
jne 0x1000f4b66
lea rdx, [r9 + 8]
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_EqualSid]
cmp eax, r15d
jne 0x1000f4bdd
jmp 0x1000f4bc1
add r9, 8
mov r8, r13
lea rdx, [rsp + 0x100]
mov rcx, r14
call fcn.1000f4d84
cmp al, r15b
jne 0x1000f4be2
jmp 0x1000f4bc1
cmp ebp, r15d
jne 0x1000f4ba0
lea rdx, [r9 + 8]
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_EqualSid]
cmp eax, r15d
je 0x1000f4bc1
mov sil, bl
jmp 0x1000f4bc1
add r9, 8
mov r8, r13
lea rdx, [rsp + 0x100]
mov rcx, r14
call fcn.1000f4d84
movzx esi, sil
cmp al, r15b
cmovne esi, ebx
add r12d, ebx
mov eax, dword [rsp + 0x30]
cmp r12d, eax
jb 0x1000f4b23
add ebp, ebx
cmp ebp, 2
jae 0x1000f4be5
jmp 0x1000f4b17
mov dil, bl
jmp 0x1000f4be5
mov dil, bl
mov edx, dword [rsp + 0x124]
lea rcx, [rsp + 0x100]
call fcn.1000e8624
cmp eax, r15d
je 0x1000f4d05
lea rax, [0x100039468]
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 0x1000f4ce9
cmp sil, r15b
je 0x1000f4c3c
cmp dil, r15b
jne 0x1000f4c3c
lea r12, [0x1000391c0]
jmp 0x1000f4c43
lea r12, [0x1000391d0]
cmp sil, r15b
jne 0x1000f4c56
cmp dil, r15b
jne 0x1000f4c56
lea rbp, [0x1000391f8]
jmp 0x1000f4c5d
lea rbp, [0x1000391e0]
lea rax, [0x100038350]
mov qword [rsp + 0x50], rax
lea rax, [0x100039170]
mov qword [rsp + 0x58], rax
lea rax, [0x100038330]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x736
mov dword [rsp + 0x6c], reloc.VssTrace.DLL_Ordinal_11
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, [0x100039210]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x100]
call fcn.1000e9608
lea rax, [0x100039468]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x48]
cmp rcx, r15
je 0x1000f4d05
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp sil, r15b
je 0x1000f4d0f
cmp dil, r15b
je 0x1000f4d12
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.1000e8a60
nop
lea rcx, [rsp + 0x100]
call fcn.1000e8518
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