Function at 0x140175b00
Capabilities:
Compare security identifiers

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov byte [rsp + 0x2c], 0
cmp dword [rsp + 0x88], 1
jne 0x140175b56
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 8]
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x2c], 0
jmp 0x140175b82
cmp dword [rsp + 0x88], 2
jne 0x140175b78
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x2c], 1
jmp 0x140175b82
mov eax, 3
jmp 0x140175eba
cmp qword [rsp + 0x20], 0
jne 0x140175b93
mov eax, dword [rsp + 0x30]
jmp 0x140175eba
mov r9d, 2
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_GetAclInformation]
test eax, eax
jne 0x140175bd2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r11d, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], r11d
mov eax, 0x1d
jmp 0x140175eba
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x50], 0
jmp 0x140175bef
mov eax, dword [rsp + 0x50]
add eax, 1
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x50], eax
jae 0x140175eb6
lea r8, [rsp + 0x38]
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
jne 0x140175c34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r11d, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], r11d
mov eax, 0x1d
jmp 0x140175eba
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 1]
and eax, 0x10
test eax, eax
je 0x140175c46
jmp 0x140175be4
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x48]
add rcx, 0x10
call fcn.1400314b0
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x140175eb1
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x48]
add rcx, 0x10
lea rdx, [rsp + 0x58]
call fcn.1400122e0
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
movzx eax, byte [rsp + 0x2c]
test eax, eax
je 0x140175ca6
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x25]
test eax, eax
jne 0x140175ca6
jmp 0x140175c60
movzx eax, byte [rsp + 0x2c]
test eax, eax
jne 0x140175cbe
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x24]
test eax, eax
jne 0x140175cbe
jmp 0x140175c60
mov rcx, qword [rsp + 0x38]
add rcx, 8
mov rdx, qword [rsp + 0x60]
mov rdx, qword [rdx + 0x18]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x140175eac
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x20]
and eax, 0x200
test eax, eax
je 0x140175d45
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_DeleteAce]
test eax, eax
jne 0x140175d2a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r11d, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], r11d
mov eax, 0x1e
jmp 0x140175eba
mov eax, dword [rsp + 0x28]
sub eax, 1
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x50]
sub eax, 1
mov dword [rsp + 0x50], eax
jmp 0x140175e14
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x20]
and eax, 0x100
test eax, eax
je 0x140175da8
mov r9, qword [rsp + 0x60]
mov r9, qword [r9 + 0x28]
mov r9, qword [r9 + 0x18]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call fcn.1401756f0
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x140175da6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r11d, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], r11d
mov eax, 0x1f
jmp 0x140175eba
jmp 0x140175e14
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x20]
and eax, 0x400
test eax, eax
je 0x140175e14
mov r9, qword [rsp + 0x60]
mov r9, qword [r9 + 0x28]
mov r9, qword [r9 + 0x18]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call fcn.140175420
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x140175e09
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r11d, eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x30], r11d
mov eax, 0x1f
jmp 0x140175eba
mov eax, dword [rsp + 0x28]
add eax, 1
mov dword [rsp + 0x28], eax
cmp qword [rsp + 0x68], 0
je 0x140175eaa
cmp dword [rsp + 0x88], 1
jne 0x140175e39
mov rcx, qword [rsp + 0x80]
call fcn.140175080
jmp 0x140175e50
cmp dword [rsp + 0x88], 2
jne 0x140175e50
mov rcx, qword [rsp + 0x80]
call fcn.140175020
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
cmp dword [rsp + 0x88], 1
jne 0x140175e83
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x20]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x51], 1
jmp 0x140175eaa
cmp dword [rsp + 0x88], 2
jne 0x140175eaa
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x20]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x52], 1
jmp 0x140175eb1
jmp 0x140175c60
jmp 0x140175be4
mov eax, dword [rsp + 0x30]
add rsp, 0x78
ret