Function at 0x1000f40b0
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, [0x100038090]
mov qword [rsp + 0x50], rax
lea rax, [0x100038eb0]
mov qword [rsp + 0x58], rax
lea rax, [0x100038070]
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.1000e7c38
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 0x1000f4255
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 0x1000f4208
cmp ecx, ebx
jne 0x1000f4245
cmp ebp, r15d
jne 0x1000f41ea
lea rdx, [r9 + 8]
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_EqualSid]
cmp eax, r15d
jne 0x1000f4261
jmp 0x1000f4245
add r9, 8
mov r8, r13
lea rdx, [rsp + 0x100]
mov rcx, r14
call fcn.1000f4408
cmp al, r15b
jne 0x1000f4266
jmp 0x1000f4245
cmp ebp, r15d
jne 0x1000f4224
lea rdx, [r9 + 8]
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_EqualSid]
cmp eax, r15d
je 0x1000f4245
mov sil, bl
jmp 0x1000f4245
add r9, 8
mov r8, r13
lea rdx, [rsp + 0x100]
mov rcx, r14
call fcn.1000f4408
movzx esi, sil
cmp al, r15b
cmovne esi, ebx
add r12d, ebx
mov eax, dword [rsp + 0x30]
cmp r12d, eax
jb 0x1000f41a7
add ebp, ebx
cmp ebp, 2
jae 0x1000f4269
jmp 0x1000f419b
mov dil, bl
jmp 0x1000f4269
mov dil, bl
mov edx, dword [rsp + 0x124]
lea rcx, [rsp + 0x100]
call fcn.1000e7e30
cmp eax, r15d
je 0x1000f4389
lea rax, [0x1000391a8]
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 0x1000f436d
cmp sil, r15b
je 0x1000f42c0
cmp dil, r15b
jne 0x1000f42c0
lea r12, [0x100038f00]
jmp 0x1000f42c7
lea r12, [0x100038f10]
cmp sil, r15b
jne 0x1000f42da
cmp dil, r15b
jne 0x1000f42da
lea rbp, [0x100038f38]
jmp 0x1000f42e1
lea rbp, [0x100038f20]
lea rax, [0x100038090]
mov qword [rsp + 0x50], rax
lea rax, [0x100038eb0]
mov qword [rsp + 0x58], rax
lea rax, [0x100038070]
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, [0x100038f50]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x100]
call fcn.1000e8e14
lea rax, [0x1000391a8]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x48]
cmp rcx, r15
je 0x1000f4389
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp sil, r15b
je 0x1000f4393
cmp dil, r15b
je 0x1000f4396
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.1000e826c
nop
lea rcx, [rsp + 0x100]
call fcn.1000e7d24
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