Function at 0x1003286c
Capabilities:
Inspect section memory permissions

Disassembly:
push 0x38
mov eax, 0x100767bc
call fcn.100751fa
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], edi
test cl, 4
je 0x1003288f
or ecx, 3
test cl, 1
je 0x1003289b
mov dword [ebp + 0xc], 0x40000000
test cl, 2
je 0x100328a7
or dword [ebp + 0xc], 0x80000000
test cl, 8
je 0x100328b3
or dword [ebp + 0xc], 0x10000
test cl, 0x10
je 0x100328bc
or dword [ebp + 0xc], 0x40
test ecx, 0x400
je 0x100328cb
or dword [ebp + 0xc], 0x20000000
test ecx, 0x800
je 0x100328da
or dword [ebp + 0xc], 0x40000
test ecx, 0x1000
je 0x100328e9
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.10031e78
test eax, eax
je 0x10032909
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
cmp dword [ebp - 0x10], edi
jne 0x1003292a
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.100752d2
ret 0xc
push 0xffffffffffffffff
push edi
mov ecx, 0x100ea05c
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 0x10032981
push dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1003290e
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 0x1003296e
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 0x10032a0f
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 0x10032922
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor edi, edi
inc edi
jmp 0x100329f6