Function at 0x10028a3f
Capabilities:
Inspect section memory permissions

Disassembly:
push 0x38
mov eax, 0x100526b4
call fcn.100514bc
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], edi
test cl, 4
je 0x10028a62
or ecx, 3
test cl, 1
je 0x10028a6e
mov dword [ebp + 0xc], 0x40000000
test cl, 2
je 0x10028a7a
or dword [ebp + 0xc], 0x80000000
test cl, 8
je 0x10028a86
or dword [ebp + 0xc], 0x10000
test cl, 0x10
je 0x10028a8f
or dword [ebp + 0xc], 0x40
test ecx, 0x400
je 0x10028a9e
or dword [ebp + 0xc], 0x20000000
test ecx, 0x800
je 0x10028aad
or dword [ebp + 0xc], 0x40000
test ecx, 0x1000
je 0x10028abc
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.1002804b
test eax, eax
je 0x10028adc
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
cmp dword [ebp - 0x10], edi
jne 0x10028afd
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.10051594
ret 0xc
push 0xffffffffffffffff
push edi
mov ecx, 0x100893c8
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 0x10028b54
push dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10028ae1
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 0x10028b41
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 0x10028be2
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 0x10028af5
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor edi, edi
inc edi
jmp 0x10028bc9