Function at 0x1401763c0
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, 0x78
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x60], 0
cmp qword [rsp + 0x88], 0
je 0x14017641e
cmp qword [rsp + 0xa0], 0
jne 0x140176425
xor al, al
jmp 0x1401766f5
mov r9d, 2
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_GetAclInformation]
test eax, eax
jne 0x14017644f
xor al, al
jmp 0x1401766f5
mov r9d, 2
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_GetAclInformation]
test eax, eax
jne 0x140176479
xor al, al
jmp 0x1401766f5
xor eax, eax
mov word [rsp + 0x68], ax
jmp 0x140176490
movzx eax, word [rsp + 0x68]
add ax, 1
mov word [rsp + 0x68], ax
movzx eax, word [rsp + 0x68]
cmp eax, dword [rsp + 0x30]
jae 0x1401766f3
movzx edx, word [rsp + 0x68]
lea r8, [rsp + 0x28]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
jne 0x1401764bd
jmp 0x140176482
movzx eax, byte [rsp + 0x90]
test eax, eax
je 0x1401764ed
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 1]
and eax, 1
test eax, eax
jne 0x1401764eb
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 1]
and eax, 2
test eax, eax
jne 0x1401764eb
jmp 0x140176482
jmp 0x1401764ff
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 1]
and eax, 1
test eax, eax
jne 0x1401764ff
jmp 0x140176482
mov rcx, qword [rsp + 0x28]
add rcx, 8
mov rdx, qword [rsp + 0x80]
mov rdx, qword [rdx + 0x1b0]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x14017653c
movzx eax, byte [rsp + 0x90]
test eax, eax
jne 0x14017653c
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x60], rax
jmp 0x14017654a
mov rax, qword [rsp + 0x28]
add rax, 8
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x20], 0
xor eax, eax
mov word [rsp + 0x6c], ax
jmp 0x140176566
movzx eax, word [rsp + 0x6c]
add ax, 1
mov word [rsp + 0x6c], ax
movzx eax, word [rsp + 0x6c]
cmp eax, dword [rsp + 0x40]
jae 0x1401766e1
movzx edx, word [rsp + 0x6c]
lea r8, [rsp + 0x58]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
jne 0x140176593
jmp 0x140176558
mov rcx, qword [rsp + 0x58]
add rcx, 8
mov rdx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x1401765ad
jmp 0x140176558
mov rax, qword [rsp + 0x58]
movzx ecx, byte [rax]
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp ecx, eax
je 0x1401765c3
jmp 0x140176558
mov rax, qword [rsp + 0x80]
mov r8d, dword [rax + 0x98]
mov rax, qword [rsp + 0x58]
mov edx, dword [rax + 4]
mov rcx, qword [rsp + 0x80]
call fcn.140175190
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x80]
mov r8d, dword [rax + 0x98]
mov rax, qword [rsp + 0x28]
mov edx, dword [rax + 4]
mov rcx, qword [rsp + 0x80]
call fcn.140175190
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x54], eax
je 0x140176622
jmp 0x140176558
movzx eax, byte [rsp + 0x90]
test eax, eax
je 0x1401766d5
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 1]
and eax, 4
test eax, eax
je 0x14017668b
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 1]
and eax, 1
test eax, eax
jne 0x140176689
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 1]
and eax, 2
test eax, eax
jne 0x140176689
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 1]
and eax, 8
test eax, eax
jne 0x140176689
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 1]
and eax, 4
test eax, eax
jne 0x140176689
mov byte [rsp + 0x20], 1
jmp 0x1401766e1
jmp 0x1401766d3
mov rax, qword [rsp + 0x58]
movzx ecx, byte [rax + 1]
and ecx, 3
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 1]
and eax, 3
cmp ecx, eax
jne 0x1401766d3
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 1]
and eax, 8
test eax, eax
je 0x1401766cc
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 1]
and eax, 8
test eax, eax
jne 0x1401766cc
jmp 0x140176558
mov byte [rsp + 0x20], 1
jmp 0x1401766e1
jmp 0x1401766dc
mov byte [rsp + 0x20], 1
jmp 0x1401766e1
jmp 0x140176558
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1401766ee
mov al, 1
jmp 0x1401766f5
jmp 0x140176482
xor al, al
add rsp, 0x78
ret