Function at 0x10027e75
Capabilities:
Inspect section memory permissions

Disassembly:
push 0x38
mov eax, 0x1005b318
call fcn.100596da
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], edi
test cl, 4
je 0x10027e98
or ecx, 3
test cl, 1
je 0x10027ea4
mov dword [ebp + 0xc], 0x40000000
test cl, 2
je 0x10027eb0
or dword [ebp + 0xc], 0x80000000
test cl, 8
je 0x10027ebc
or dword [ebp + 0xc], 0x10000
test cl, 0x10
je 0x10027ec5
or dword [ebp + 0xc], 0x40
test ecx, 0x400
je 0x10027ed4
or dword [ebp + 0xc], 0x20000000
test ecx, 0x800
je 0x10027ee3
or dword [ebp + 0xc], 0x40000
test ecx, 0x1000
je 0x10027ef2
or dword [ebp + 0xc], 0x80000
neg eax
sbb eax, eax
and eax, 3
lea esi, [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], edi
xor ebx, ebx
call fcn.10027481
test eax, eax
je 0x10027f12
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
cmp dword [ebp - 0x10], edi
jne 0x10027f33
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
call fcn.100597b2
ret 0xc
push 0xffffffffffffffff
push edi
mov ecx, 0x100ab5ac
call sub.mfc90u.dll_CStringArray::SetSize
lea eax, [ebp - 0x24]
push eax
push edi
lea eax, [ebp - 0x20]
push eax
push edi
push edi
push 4
push 1
mov esi, 0x104
push esi
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer_1]
push eax
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
push esi
lea ecx, [ebp + 8]
mov dword [ebp - 0x18], eax
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
cmp dword [ebp - 0x18], edi
je 0x10027f8a
push dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10027f17
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x44]
push eax
push 1
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
jne 0x10027f77
push edi
push dword [ebp - 0x14]
lea ecx, [ebp + 8]
push edi
push edi
push 4
push 1
push esi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer_1]
push eax
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
push esi
lea ecx, [ebp + 8]
mov ebx, eax
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
push dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp ebx, edi
je 0x10028018
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, edi
jmp 0x10027f2b
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor edi, edi
inc edi
jmp 0x10027fff