Function at 0x14017b150
Capabilities:
Compare security identifiers

Disassembly:
mov qword [rsp + 0x20], r9
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x38], 0
cmp qword [rsp + 0x68], 0
je 0x14017b191
cmp qword [rsp + 0x78], 0
jne 0x14017b198
xor al, al
jmp 0x14017b3bb
mov r9d, 2
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_GetAclInformation]
test eax, eax
jne 0x14017b1bf
xor al, al
jmp 0x14017b3bb
xor eax, eax
mov word [rsp + 0x40], ax
jmp 0x14017b1d6
movzx eax, word [rsp + 0x40]
add ax, 1
mov word [rsp + 0x40], ax
movzx eax, word [rsp + 0x40]
cmp eax, dword [rsp + 0x28]
jae 0x14017b3b9
movzx edx, word [rsp + 0x40]
lea r8, [rsp + 0x20]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
jne 0x14017b200
jmp 0x14017b1c8
mov rdx, qword [rsp + 0x20]
add rdx, 8
mov rcx, qword [rsp + 0x68]
add rcx, 8
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x14017b21e
jmp 0x14017b1c8
mov rax, qword [rsp + 0x68]
movzx ecx, byte [rax]
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax]
cmp ecx, eax
je 0x14017b234
jmp 0x14017b1c8
mov rax, qword [rsp + 0x60]
mov r8d, dword [rax + 0x98]
mov rax, qword [rsp + 0x68]
mov edx, dword [rax + 4]
mov rcx, qword [rsp + 0x60]
call fcn.140179be0
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x60]
mov r8d, dword [rax + 0x98]
mov rax, qword [rsp + 0x20]
mov edx, dword [rax + 4]
mov rcx, qword [rsp + 0x60]
call fcn.140179be0
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x3c], eax
je 0x14017b287
jmp 0x14017b1c8
movzx eax, byte [rsp + 0x70]
test eax, eax
je 0x14017b39b
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 1]
and eax, 1
test eax, eax
jne 0x14017b2b9
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 1]
and eax, 2
test eax, eax
jne 0x14017b2b9
jmp 0x14017b1c8
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 1]
and eax, 4
test eax, eax
je 0x14017b312
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 1
test eax, eax
jne 0x14017b310
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 2
test eax, eax
jne 0x14017b310
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 8
test eax, eax
jne 0x14017b310
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 4
test eax, eax
jne 0x14017b310
mov al, 1
jmp 0x14017b3bb
jmp 0x14017b335
mov rax, qword [rsp + 0x68]
movzx ecx, byte [rax + 1]
and ecx, 0xb
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 1]
and eax, 0xb
cmp ecx, eax
jne 0x14017b335
mov al, 1
jmp 0x14017b3bb
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 1]
and eax, 8
test eax, eax
je 0x14017b399
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 1]
and eax, 2
test eax, eax
je 0x14017b399
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 1
test eax, eax
jne 0x14017b399
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 2
test eax, eax
jne 0x14017b399
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 8
test eax, eax
jne 0x14017b399
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 4
test eax, eax
jne 0x14017b399
mov al, 1
jmp 0x14017b3bb
jmp 0x14017b3b4
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 1]
and eax, 1
test eax, eax
jne 0x14017b3b0
jmp 0x14017b1c8
mov al, 1
jmp 0x14017b3bb
jmp 0x14017b1c8
xor al, al
add rsp, 0x58
ret