Function at 0x670daa01
Capabilities:
Inspect section memory permissions

Disassembly:
push 0x78
mov eax, 0x671b1551
call fcn.671a2b36
cmp dword [sym.Qt5Core.dll_int_qt_ntfs_permission_lookup], 0
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x54], esi
jle 0x670daced
mov eax, dword [0x67535f5c]
cmp eax, 0xfffffffe
jle 0x670daa32
call fcn.670db4ad
lea eax, [ebp - 0x54]
mov ecx, esi
push eax
call fcn.670c1b4c
xor ecx, ecx
lea eax, [ebp - 0x50]
push eax
push ecx
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], ecx
push eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x5c], ecx
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x60], ecx
push eax
xor ebx, ebx
lea ecx, [ebp - 0x54]
push 7
inc ebx
push ebx
call sym.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
test eax, eax
jne 0x670dace5
mov eax, 0x700
or esi, 0xffffffff
test dword [ebp + 0x10], eax
je 0x670dabe0
cmp dword [0x67535f90], 0
je 0x670dab9e
or dword [edi], eax
lea eax, [ebp - 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_MapGenericMask]
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x20], 0x120089
push eax
mov dword [ebp - 0x1c], 0x120116
mov dword [ebp - 0x18], 0x1200a0
mov dword [ebp - 0x14], 0x1f01ff
mov dword [ebp - 0x3c], 0x80000000
call esi
lea eax, [ebp - 0x48]
mov dword [ebp - 0x44], 0x14
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x3c]
push dword [0x67535f90]
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_AccessCheck]
test eax, eax
je 0x670dab07
cmp dword [ebp - 0x48], 0
je 0x670dab07
or dword [edi + 4], 0x400
lea eax, [ebp - 0x20]
mov dword [ebp - 0x44], 0x14
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x40000000
push eax
call esi
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x3c]
push dword [0x67535f90]
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_AccessCheck]
test eax, eax
je 0x670dab56
cmp dword [ebp - 0x48], 0
je 0x670dab56
or dword [edi + 4], 0x200
lea eax, [ebp - 0x20]
mov dword [ebp - 0x44], 0x14
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x20000000
push eax
call esi
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x3c]
push dword [0x67535f90]
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_AccessCheck]
test eax, eax
je 0x670dabe0
cmp dword [ebp - 0x48], 0
jmp 0x670dabd7
or dword [edi], eax
lea eax, [ebp - 0x38]
push eax
push 0x67535f60
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_GetEffectiveRightsFromAclW]
mov ecx, dword [ebp - 0x38]
test eax, eax
cmovne ecx, esi
mov dword [ebp - 0x38], ecx
test bl, cl
je 0x670dabc8
or dword [edi + 4], 0x400
test cl, 2
je 0x670dabd4
or dword [edi + 4], 0x200
test cl, 0x20
je 0x670dabe0
or dword [edi + 4], 0x100
mov esi, dword [sym.imp.ADVAPI32.dll_BuildTrusteeWithSidW]
mov eax, 0x7000
test dword [ebp + 0x10], eax
je 0x670dac43
or dword [edi], eax
lea eax, [ebp - 0x84]
push dword [ebp - 0x5c]
push eax
call esi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_GetEffectiveRightsFromAclW]
mov ecx, dword [ebp - 0x38]
test eax, eax
push 0xffffffffffffffff
pop eax
cmovne ecx, eax
mov dword [ebp - 0x38], ecx
test bl, cl
je 0x670dac2b
or dword [edi + 4], 0x4000
test cl, 2
je 0x670dac37
or dword [edi + 4], 0x2000
test cl, 0x20
je 0x670dac43
or dword [edi + 4], 0x1000
test byte [ebp + 0x10], 0x70
je 0x670dac96
push dword [ebp - 0x60]
or dword [edi], 0x70
lea eax, [ebp - 0x84]
push eax
call esi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_GetEffectiveRightsFromAclW]
mov ecx, dword [ebp - 0x38]
test eax, eax
push 0xffffffffffffffff
pop esi
cmovne ecx, esi
mov dword [ebp - 0x38], ecx
test bl, cl
je 0x670dac82
or dword [edi + 4], 0x40
test cl, 2
je 0x670dac8b
or dword [edi + 4], 0x20
test cl, 0x20
je 0x670dac99
or dword [edi + 4], 0x10
jmp 0x670dac99
or esi, 0xffffffff
test byte [ebp + 0x10], 7
je 0x670dacdc
or dword [edi], 7
lea eax, [ebp - 0x38]
push eax
push 0x67535f74
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_GetEffectiveRightsFromAclW]
mov ecx, dword [ebp - 0x38]
test eax, eax
cmovne ecx, esi
mov dword [ebp - 0x38], ecx
test bl, cl
je 0x670dacc7
or dword [edi + 4], 4
test cl, 2
je 0x670dacd0
or dword [edi + 4], 2
test cl, 0x20
je 0x670dacdc
or dword [edi + 4], 0x1000
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x54]
jmp 0x670dae78
mov eax, dword [edi + 4]
xor ebx, ebx
or eax, 0x4044
inc ebx
mov dword [edi + 4], eax
test byte [edi + 0x10], bl
jne 0x670dad08
or eax, 0x2022
mov dword [edi + 4], eax
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
call fcn.670c171e
push 4
lea eax, [ebp - 0x68]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x64]
call sym.Qt5Core.dll_public:_class_QString___thiscall_QString::right_int_
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call sym.Qt5Core.dll_private:_static_class_QString___cdecl_QString::toLower_helper_class_QString__
pop ecx
pop ecx
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
test dword [edi + 4], 0x40000
jne 0x670dadcf
mov ebx, str..exe
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
push ebx
push eax
lea ecx, [ebp - 0x40]
call sym.Qt5Core.dll_public:_bool___thiscall_QString::operator_class_QLatin1String_const
test al, al
jne 0x670dadcf
mov ebx, str..com
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
push ebx
push eax
lea ecx, [ebp - 0x40]
call sym.Qt5Core.dll_public:_bool___thiscall_QString::operator_class_QLatin1String_const
test al, al
jne 0x670dadcf
mov ebx, str..bat
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
push ebx
push eax
lea ecx, [ebp - 0x40]
call sym.Qt5Core.dll_public:_bool___thiscall_QString::operator_class_QLatin1String_const
test al, al
jne 0x670dadcf
mov ebx, str..pif
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
push ebx
push eax
lea ecx, [ebp - 0x40]
call sym.Qt5Core.dll_public:_bool___thiscall_QString::operator_class_QLatin1String_const
test al, al
jne 0x670dadcf
mov ebx, str..cmd
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
push ebx
push eax
lea ecx, [ebp - 0x40]
call sym.Qt5Core.dll_public:_bool___thiscall_QString::operator_class_QLatin1String_const
test al, al
je 0x670dadd6
or dword [edi + 4], 0x1111
or dword [edi], 0x7177
mov eax, dword [ebp + 0x10]
mov ebx, dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
test eax, 0x400
je 0x670dae2e
lea eax, [ebp - 0x6c]
mov ecx, esi
push eax
call fcn.670c1b4c
push 4
mov ecx, eax
mov byte [ebp - 4], 5
call sym.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
call ebx
pop ecx
pop ecx
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 4
mov esi, eax
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
test esi, esi
jne 0x670dae22
or dword [edi + 4], 0x400
or dword [edi], 0x400
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp - 0x54]
test eax, 0x200
je 0x670dae6d
lea eax, [ebp - 0x70]
mov ecx, esi
push eax
call fcn.670c1b4c
push 2
mov ecx, eax
mov byte [ebp - 4], 6
call sym.Qt5Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
call ebx
pop ecx
pop ecx
lea ecx, [ebp - 0x70]
mov esi, eax
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
test esi, esi
jne 0x670dae67
or dword [edi + 4], 0x200
or dword [edi], 0x200
lea ecx, [ebp - 0x40]
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
lea ecx, [ebp - 0x64]
call sym.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_
mov eax, dword [edi]
and eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0x10]
sete al
call fcn.671a2af1
ret