Function at 0x140170db0
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 0x140170df1
cmp qword [rsp + 0x78], 0
jne 0x140170df8
xor al, al
jmp 0x14017101b
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 0x140170e1f
xor al, al
jmp 0x14017101b
xor eax, eax
mov word [rsp + 0x40], ax
jmp 0x140170e36
movzx eax, word [rsp + 0x40]
add ax, 1
mov word [rsp + 0x40], ax
movzx eax, word [rsp + 0x40]
cmp eax, dword [rsp + 0x28]
jae 0x140171019
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 0x140170e60
jmp 0x140170e28
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 0x140170e7e
jmp 0x140170e28
mov rax, qword [rsp + 0x68]
movzx ecx, byte [rax]
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax]
cmp ecx, eax
je 0x140170e94
jmp 0x140170e28
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.14016f840
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.14016f840
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x3c], eax
je 0x140170ee7
jmp 0x140170e28
movzx eax, byte [rsp + 0x70]
test eax, eax
je 0x140170ffb
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 1]
and eax, 1
test eax, eax
jne 0x140170f19
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 1]
and eax, 2
test eax, eax
jne 0x140170f19
jmp 0x140170e28
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 1]
and eax, 4
test eax, eax
je 0x140170f72
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 1
test eax, eax
jne 0x140170f70
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 2
test eax, eax
jne 0x140170f70
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 8
test eax, eax
jne 0x140170f70
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 4
test eax, eax
jne 0x140170f70
mov al, 1
jmp 0x14017101b
jmp 0x140170f95
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 0x140170f95
mov al, 1
jmp 0x14017101b
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 1]
and eax, 8
test eax, eax
je 0x140170ff9
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 1]
and eax, 2
test eax, eax
je 0x140170ff9
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 1
test eax, eax
jne 0x140170ff9
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 2
test eax, eax
jne 0x140170ff9
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 8
test eax, eax
jne 0x140170ff9
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 1]
and eax, 4
test eax, eax
jne 0x140170ff9
mov al, 1
jmp 0x14017101b
jmp 0x140171014
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 1]
and eax, 1
test eax, eax
jne 0x140171010
jmp 0x140170e28
mov al, 1
jmp 0x14017101b
jmp 0x140170e28
xor al, al
add rsp, 0x58
ret