Function at 0x180188970
Capabilities:
Inspect section memory permissions

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x1b0], rbx
mov rax, qword [0x1805858b8]
xor rax, rsp
mov qword [rbp + 0x68], rax
mov ebx, r8d
mov rdi, rdx
mov r15, rcx
cmp dword [sym.Qt5Core.dll_int_qt_ntfs_permission_lookup], 0
jle 0x180188d3d
mov eax, dword [0x18058b32c]
cmp eax, 0xfffffffe
jle 0x1801889c8
call fcn.18018a110
lea rdx, [rbp - 0x78]
mov rcx, r15
call fcn.180158900
nop
xor esi, esi
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], rsi
lea rcx, [rbp - 0x78]
call sym.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rcx, rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x50]
lea edx, [rsi + 1]
lea r8d, [rsi + 7]
call qword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
test eax, eax
jne 0x180188d0b
mov esi, 0xffffffff
test ebx, 0x700
je 0x180188c03
cmp qword [0x18058b380], 0
je 0x180188bb5
mov dword [rbp + 0x40], 0x120089
mov dword [rbp + 0x44], 0x120116
mov dword [rbp + 0x48], 0x1200a0
mov dword [rbp + 0x4c], 0x1f01ff
or dword [rdi], 0x700
mov dword [rsp + 0x44], 0x80000000
lea rdx, [rbp + 0x40]
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 + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x40]
mov r8d, dword [rsp + 0x44]
mov rdx, qword [0x18058b380]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_AccessCheck]
test eax, eax
je 0x180188ad8
cmp dword [rsp + 0x4c], 0
je 0x180188ad8
or dword [rdi + 4], 0x400
mov dword [rsp + 0x48], 0x14
mov dword [rsp + 0x44], 0x40000000
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x44]
call qword [sym.imp.ADVAPI32.dll_MapGenericMask]
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x40]
mov r8d, dword [rsp + 0x44]
mov rdx, qword [0x18058b380]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_AccessCheck]
test eax, eax
je 0x180188b4a
cmp dword [rsp + 0x4c], 0
je 0x180188b4a
or dword [rdi + 4], 0x200
mov dword [rsp + 0x48], 0x14
mov dword [rsp + 0x44], 0x20000000
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x44]
call qword [sym.imp.ADVAPI32.dll_MapGenericMask]
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x40]
mov r8d, dword [rsp + 0x44]
mov rdx, qword [0x18058b380]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_AccessCheck]
test eax, eax
je 0x180188c03
cmp dword [rsp + 0x4c], 0
jmp 0x180188bfa
or dword [rdi], 0x700
lea r8, [rsp + 0x40]
lea rdx, [0x18058b330]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_GetEffectiveRightsFromAclW]
mov ecx, dword [rsp + 0x40]
test eax, eax
cmovne ecx, esi
mov dword [rsp + 0x40], ecx
test cl, 1
je 0x180188beb
or dword [rdi + 4], 0x400
test cl, 2
je 0x180188bf7
or dword [rdi + 4], 0x200
test cl, 0x20
je 0x180188c03
or dword [rdi + 4], 0x100
test ebx, 0x7000
je 0x180188c64
or dword [rdi], 0x7000
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_BuildTrusteeWithSidW]
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x20]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_GetEffectiveRightsFromAclW]
mov ecx, dword [rsp + 0x40]
test eax, eax
cmovne ecx, esi
mov dword [rsp + 0x40], ecx
test cl, 1
je 0x180188c4c
or dword [rdi + 4], 0x4000
test cl, 2
je 0x180188c58
or dword [rdi + 4], 0x2000
test cl, 0x20
je 0x180188c64
or dword [rdi + 4], 0x1000
test bl, 0x70
je 0x180188cb6
or dword [rdi], 0x70
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_BuildTrusteeWithSidW]
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x20]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_GetEffectiveRightsFromAclW]
mov ecx, dword [rsp + 0x40]
test eax, eax
cmovne ecx, esi
mov dword [rsp + 0x40], ecx
test cl, 1
je 0x180188ca4
or dword [rdi + 4], 0x40
test cl, 2
je 0x180188cad
or dword [rdi + 4], 0x20
test cl, 0x20
je 0x180188cb6
or dword [rdi + 4], 0x10
test bl, 7
je 0x180188d00
or dword [rdi], 7
lea r8, [rsp + 0x40]
lea rdx, [0x18058b350]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_GetEffectiveRightsFromAclW]
mov ecx, dword [rsp + 0x40]
test eax, eax
cmovne ecx, esi
mov dword [rsp + 0x40], ecx
test cl, 1
je 0x180188ceb
or dword [rdi + 4], 4
test cl, 2
je 0x180188cf4
or dword [rdi + 4], 2
test cl, 0x20
je 0x180188d00
or dword [rdi + 4], 0x1000
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov rax, qword [rbp - 0x78]
mov ecx, dword [rax]
test ecx, ecx
je 0x180188d34
cmp ecx, 0xffffffff
je 0x18018900d
mov esi, 0xffffffff
mov rax, qword [rbp - 0x78]
lock xadd dword [rax], esi
cmp esi, 1
jne 0x18018900d
mov rcx, qword [rbp - 0x78]
jmp 0x180188ffe
mov eax, dword [rdx + 4]
or eax, 0x4044
mov dword [rdx + 4], eax
test byte [rdx + 0x10], 1
jne 0x180188d56
or eax, 0x2022
mov dword [rdx + 4], eax
lea rdx, [rbp - 0x70]
call fcn.180158200
nop
mov r8d, 4
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x70]
call sym.Qt5Core.dll_public:_class_QString___cdecl_QString::right_int____ptr64
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call sym.Qt5Core.dll_private:_static_class_QString___cdecl_QString::toLower_helper_class_QString____ptr64_
nop
mov rax, qword [rbp - 0x68]
mov ecx, dword [rax]
mov esi, 0xffffffff
test ecx, ecx
je 0x180188da4
cmp ecx, esi
je 0x180188db6
mov ecx, esi
mov rax, qword [rbp - 0x68]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x180188db6
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x68]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
test dword [rdi + 4], 0x40000
jne 0x180188ebb
mov dword [rsp + 0x60], 4
lea rax, str..exe
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x30], xmm0
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x50]
call sym.Qt5Core.dll_public:_bool___cdecl_QString::operator_class_QLatin1String_const___ptr64
test al, al
jne 0x180188ebb
mov dword [rsp + 0x60], 4
lea rax, str..com
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x20], xmm0
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x50]
call sym.Qt5Core.dll_public:_bool___cdecl_QString::operator_class_QLatin1String_const___ptr64
test al, al
jne 0x180188ebb
mov dword [rsp + 0x60], 4
lea rax, str..bat
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x10], xmm0
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x50]
call sym.Qt5Core.dll_public:_bool___cdecl_QString::operator_class_QLatin1String_const___ptr64
test al, al
jne 0x180188ebb
mov dword [rsp + 0x60], 4
lea rax, str..pif
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp], xmm0
lea rdx, [rbp]
lea rcx, [rsp + 0x50]
call sym.Qt5Core.dll_public:_bool___cdecl_QString::operator_class_QLatin1String_const___ptr64
test al, al
jne 0x180188ebb
mov dword [rsp + 0x60], 4
lea rax, str..cmd
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp + 0x10], xmm0
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x50]
call sym.Qt5Core.dll_public:_bool___cdecl_QString::operator_class_QLatin1String_const___ptr64
test al, al
je 0x180188ec2
or dword [rdi + 4], 0x1111
or dword [rdi], 0x7177
bt ebx, 0xa
jae 0x180188f39
lea rdx, [rbp - 0x60]
mov rcx, r15
call fcn.180158900
nop
mov rcx, rax
call sym.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rcx, rax
mov edx, 4
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
test eax, eax
sete r14b
mov rax, qword [rbp - 0x60]
mov ecx, dword [rax]
test ecx, ecx
je 0x180188f15
cmp ecx, 0xffffffff
je 0x180188f27
mov ecx, esi
mov rax, qword [rbp - 0x60]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x180188f27
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x60]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
test r14b, r14b
je 0x180188f33
or dword [rdi + 4], 0x400
or dword [rdi], 0x400
bt ebx, 9
jae 0x180188faa
lea rdx, [rbp - 0x58]
mov rcx, r15
call fcn.180158900
nop
mov rcx, rax
call sym.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rcx, rax
mov edx, 2
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
test eax, eax
sete r14b
mov rax, qword [rbp - 0x58]
mov ecx, dword [rax]
test ecx, ecx
je 0x180188f86
cmp ecx, 0xffffffff
je 0x180188f98
mov ecx, esi
mov rax, qword [rbp - 0x58]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x180188f98
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x58]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
test r14b, r14b
je 0x180188fa4
or dword [rdi + 4], 0x200
or dword [rdi], 0x200
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax]
test ecx, ecx
je 0x180188fca
cmp ecx, 0xffffffff
je 0x180188fde
mov ecx, esi
mov rax, qword [rsp + 0x50]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x180188fde
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x50]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
nop
mov rax, qword [rbp - 0x70]
mov ecx, dword [rax]
test ecx, ecx
je 0x180188ffa
cmp ecx, 0xffffffff
je 0x18018900d
mov rax, qword [rbp - 0x70]
lock xadd dword [rax], esi
cmp esi, 1
jne 0x18018900d
mov rcx, qword [rbp - 0x70]
mov r8d, 8
lea edx, [r8 - 6]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
mov eax, ebx
and eax, dword [rdi]
cmp eax, ebx
sete al
mov rcx, qword [rbp + 0x68]
xor rcx, rsp
call fcn.1802e1ba0
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x170
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret