Function at 0x140176700
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 0x140176741
cmp qword [rsp + 0x78], 0
jne 0x140176748
xor al, al
jmp 0x14017696b
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 0x14017676f
xor al, al
jmp 0x14017696b
xor eax, eax
mov word [rsp + 0x40], ax
jmp 0x140176786
movzx eax, word [rsp + 0x40]
add ax, 1
mov word [rsp + 0x40], ax
movzx eax, word [rsp + 0x40]
cmp eax, dword [rsp + 0x28]
jae 0x140176969
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 0x1401767b0
jmp 0x140176778
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 0x1401767ce
jmp 0x140176778
mov rax, qword [rsp + 0x68]
movzx ecx, byte [rax]
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax]
cmp ecx, eax
je 0x1401767e4
jmp 0x140176778
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.140175190
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.140175190
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x3c], eax
je 0x140176837
jmp 0x140176778
movzx eax, byte [rsp + 0x70]
test eax, eax
je 0x14017694b
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 1]
and eax, 1
test eax, eax
jne 0x140176869
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 1]
and eax, 2
test eax, eax
jne 0x140176869
jmp 0x140176778
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 1]
and eax, 4
test eax, eax
je 0x1401768c2
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 1
test eax, eax
jne 0x1401768c0
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 2
test eax, eax
jne 0x1401768c0
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 8
test eax, eax
jne 0x1401768c0
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 4
test eax, eax
jne 0x1401768c0
mov al, 1
jmp 0x14017696b
jmp 0x1401768e5
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 0x1401768e5
mov al, 1
jmp 0x14017696b
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 1]
and eax, 8
test eax, eax
je 0x140176949
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 1]
and eax, 2
test eax, eax
je 0x140176949
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 1
test eax, eax
jne 0x140176949
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 2
test eax, eax
jne 0x140176949
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 8
test eax, eax
jne 0x140176949
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 4
test eax, eax
jne 0x140176949
mov al, 1
jmp 0x14017696b
jmp 0x140176964
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 1]
and eax, 1
test eax, eax
jne 0x140176960
jmp 0x140176778
mov al, 1
jmp 0x14017696b
jmp 0x140176778
xor al, al
add rsp, 0x58
ret