Function at 0x1418c8df0
Capabilities:
Inspect section memory permissions

Disassembly:
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x1a8], rbx
mov rax, qword [0x1419e93b0]
xor rax, rsp
mov qword [rbp + 0x58], rax
mov rbx, rdx
mov r14, rcx
xor r15d, r15d
cmp dword [0x1419ed40c], r15d
jle 0x1418c91d6
cmp dword [0x1419ed408], 0xfffffffe
jle 0x1418c8e4a
call fcn.1418c9ff0
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.1418c47d0
nop
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
lea rcx, [rbp - 0x80]
call fcn.14188e360
mov rcx, rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x70]
mov edx, 1
lea r8d, [rdx + 6]
call qword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
test eax, eax
jne 0x1418c91a6
mov eax, dword [rbp + 0xa0]
or edi, 0xffffffff
and eax, 0x700
je 0x1418c908c
cmp qword [0x1419ed400], 0
je 0x1418c903e
mov dword [rbp + 0x30], 0x120089
mov dword [rbp + 0x34], 0x120116
mov dword [rbp + 0x38], 0x1200a0
mov dword [rbp + 0x3c], 0x1f01ff
or dword [rbx], 0x700
mov dword [rsp + 0x44], 0x80000000
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x44]
call qword [sym.imp.ADVAPI32.dll_MapGenericMask]
mov dword [rsp + 0x48], 0x14
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x30]
mov r8d, dword [rsp + 0x44]
mov rdx, qword [0x1419ed400]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_AccessCheck]
test eax, eax
je 0x1418c8f5f
cmp dword [rsp + 0x4c], 0
je 0x1418c8f5f
or dword [rbx + 4], 0x400
mov dword [rsp + 0x48], 0x14
mov dword [rsp + 0x44], 0x40000000
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x44]
call qword [sym.imp.ADVAPI32.dll_MapGenericMask]
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x30]
mov r8d, dword [rsp + 0x44]
mov rdx, qword [0x1419ed400]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_AccessCheck]
test eax, eax
je 0x1418c8fd2
cmp dword [rsp + 0x4c], 0
je 0x1418c8fd2
or dword [rbx + 4], 0x200
mov dword [rsp + 0x48], 0x14
mov dword [rsp + 0x44], 0x20000000
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x44]
call qword [sym.imp.ADVAPI32.dll_MapGenericMask]
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x30]
mov r8d, dword [rsp + 0x44]
mov rdx, qword [0x1419ed400]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_AccessCheck]
test eax, eax
je 0x1418c908c
cmp dword [rsp + 0x4c], 0
jmp 0x1418c9083
or dword [rbx], 0x700
lea r8, [rsp + 0x40]
lea rdx, [0x1419ed410]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_GetEffectiveRightsFromAclW]
mov ecx, dword [rsp + 0x40]
test eax, eax
cmovne ecx, edi
mov dword [rsp + 0x40], ecx
test cl, 1
je 0x1418c9074
or dword [rbx + 4], 0x400
test cl, 2
je 0x1418c9080
or dword [rbx + 4], 0x200
test cl, 0x20
je 0x1418c908c
or dword [rbx + 4], 0x100
mov eax, dword [rbp + 0xa0]
and eax, 0x7000
je 0x1418c90f2
or dword [rbx], 0x7000
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp + 0x10]
call qword [sym.imp.ADVAPI32.dll_BuildTrusteeWithSidW]
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x10]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_GetEffectiveRightsFromAclW]
mov ecx, dword [rsp + 0x40]
test eax, eax
cmovne ecx, edi
mov dword [rsp + 0x40], ecx
test cl, 1
je 0x1418c90da
or dword [rbx + 4], 0x4000
test cl, 2
je 0x1418c90e6
or dword [rbx + 4], 0x2000
test cl, 0x20
je 0x1418c90f2
or dword [rbx + 4], 0x1000
mov eax, dword [rbp + 0xa0]
and eax, 0x70
je 0x1418c914a
or dword [rbx], 0x70
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp + 0x10]
call qword [sym.imp.ADVAPI32.dll_BuildTrusteeWithSidW]
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x10]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_GetEffectiveRightsFromAclW]
mov ecx, dword [rsp + 0x40]
test eax, eax
cmovne ecx, edi
mov dword [rsp + 0x40], ecx
test cl, 1
je 0x1418c9138
or dword [rbx + 4], 0x40
test cl, 2
je 0x1418c9141
or dword [rbx + 4], 0x20
test cl, 0x20
je 0x1418c914a
or dword [rbx + 4], 0x10
mov eax, dword [rbp + 0xa0]
and eax, 7
je 0x1418c919a
or dword [rbx], 7
lea r8, [rsp + 0x40]
lea rdx, [0x1419ed430]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_GetEffectiveRightsFromAclW]
mov ecx, dword [rsp + 0x40]
test eax, eax
cmovne ecx, edi
mov dword [rsp + 0x40], ecx
test cl, 1
je 0x1418c9185
or dword [rbx + 4], 4
test cl, 2
je 0x1418c918e
or dword [rbx + 4], 2
test cl, 0x20
je 0x1418c919a
or dword [rbx + 4], 0x1000
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov rcx, qword [rbp - 0x80]
mov eax, dword [rcx]
test eax, eax
je 0x1418c9488
cmp eax, 0xffffffff
je 0x1418c9497
or edi, 0xffffffff
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x1418c9497
mov rcx, qword [rbp - 0x80]
jmp 0x1418c9488
or dword [rdx + 4], 0x4044
test byte [rdx + 0x10], 1
jne 0x1418c91ea
or dword [rdx + 4], 0x2022
lea rdx, [rbp - 0x78]
call fcn.1418c4140
nop
mov r8d, 4
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x78]
call fcn.14188c5f0
nop
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.141894ec0
nop
mov rcx, qword [rbp - 0x60]
mov eax, dword [rcx]
or edi, 0xffffffff
test eax, eax
je 0x1418c9236
cmp eax, edi
je 0x1418c9244
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1418c9244
mov rcx, qword [rbp - 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
mov eax, dword [rbx + 4]
and eax, 0x40000
jne 0x1418c934a
mov dword [rsp + 0x60], 4
lea rax, [0x14004be10]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x40], xmm0
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x58]
call fcn.1418846a0
test al, al
jne 0x1418c934a
mov dword [rsp + 0x60], 4
lea rax, [0x14004be18]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x30], xmm0
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x58]
call fcn.1418846a0
test al, al
jne 0x1418c934a
mov dword [rsp + 0x60], 4
lea rax, [0x14004be20]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x20], xmm0
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.1418846a0
test al, al
jne 0x1418c934a
mov dword [rsp + 0x60], 4
lea rax, [0x14004be28]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x10], xmm0
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x58]
call fcn.1418846a0
test al, al
jne 0x1418c934a
mov dword [rsp + 0x60], 4
lea rax, [0x14004be30]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp], xmm0
lea rdx, [rbp]
lea rcx, [rsp + 0x58]
call fcn.1418846a0
test al, al
je 0x1418c9351
or dword [rbx + 4], 0x1111
or dword [rbx], 0x7177
mov eax, dword [rbp + 0xa0]
and eax, 0x400
je 0x1418c93ca
lea rdx, [rbp - 0x58]
mov rcx, r14
call fcn.1418c47d0
nop
mov rcx, rax
call fcn.14188e360
mov rcx, rax
mov edx, 4
call fcn.14199726c
test eax, eax
sete sil
mov rcx, qword [rbp - 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x1418c93aa
cmp eax, 0xffffffff
je 0x1418c93b8
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1418c93b8
mov rcx, qword [rbp - 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
test sil, sil
je 0x1418c93c4
or dword [rbx + 4], 0x400
or dword [rbx], 0x400
mov eax, dword [rbp + 0xa0]
and eax, 0x200
je 0x1418c943d
lea rdx, [rbp - 0x50]
mov rcx, r14
call fcn.1418c47d0
nop
mov rcx, rax
call fcn.14188e360
mov rcx, rax
mov edx, 2
call fcn.14199726c
test eax, eax
sete sil
mov rcx, qword [rbp - 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x1418c941d
cmp eax, 0xffffffff
je 0x1418c942b
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1418c942b
mov rcx, qword [rbp - 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
test sil, sil
je 0x1418c9437
or dword [rbx + 4], 0x200
or dword [rbx], 0x200
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x1418c945d
cmp eax, 0xffffffff
je 0x1418c946c
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1418c946c
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
nop
mov rcx, qword [rbp - 0x78]
mov eax, dword [rcx]
test eax, eax
je 0x1418c9488
cmp eax, 0xffffffff
je 0x1418c9497
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x1418c9497
mov rcx, qword [rbp - 0x78]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.1418993e0
mov edx, dword [rbx]
and edx, dword [rbp + 0xa0]
cmp edx, dword [rbp + 0xa0]
sete al
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.14196a0d0
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x160
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret