Function at 0x140170e80
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 0x140170ec1
cmp qword [rsp + 0x78], 0
jne 0x140170ec8
xor al, al
jmp 0x1401710eb
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 0x140170eef
xor al, al
jmp 0x1401710eb
xor eax, eax
mov word [rsp + 0x40], ax
jmp 0x140170f06
movzx eax, word [rsp + 0x40]
add ax, 1
mov word [rsp + 0x40], ax
movzx eax, word [rsp + 0x40]
cmp eax, dword [rsp + 0x28]
jae 0x1401710e9
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 0x140170f30
jmp 0x140170ef8
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 0x140170f4e
jmp 0x140170ef8
mov rax, qword [rsp + 0x68]
movzx ecx, byte [rax]
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax]
cmp ecx, eax
je 0x140170f64
jmp 0x140170ef8
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.14016f910
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.14016f910
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x3c], eax
je 0x140170fb7
jmp 0x140170ef8
movzx eax, byte [rsp + 0x70]
test eax, eax
je 0x1401710cb
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 1]
and eax, 1
test eax, eax
jne 0x140170fe9
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 1]
and eax, 2
test eax, eax
jne 0x140170fe9
jmp 0x140170ef8
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 1]
and eax, 4
test eax, eax
je 0x140171042
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 1
test eax, eax
jne 0x140171040
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 2
test eax, eax
jne 0x140171040
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 8
test eax, eax
jne 0x140171040
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 4
test eax, eax
jne 0x140171040
mov al, 1
jmp 0x1401710eb
jmp 0x140171065
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 0x140171065
mov al, 1
jmp 0x1401710eb
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 1]
and eax, 8
test eax, eax
je 0x1401710c9
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 1]
and eax, 2
test eax, eax
je 0x1401710c9
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 1
test eax, eax
jne 0x1401710c9
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 2
test eax, eax
jne 0x1401710c9
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 8
test eax, eax
jne 0x1401710c9
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 4
test eax, eax
jne 0x1401710c9
mov al, 1
jmp 0x1401710eb
jmp 0x1401710e4
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 1]
and eax, 1
test eax, eax
jne 0x1401710e0
jmp 0x140170ef8
mov al, 1
jmp 0x1401710eb
jmp 0x140170ef8
xor al, al
add rsp, 0x58
ret