Function at 0x1002d844
Capabilities:
Inspect section memory permissions

Disassembly:
push 0x38
mov eax, 0x1006d805
call fcn.1006c23a
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], edi
test cl, 4
je 0x1002d867
or ecx, 3
test cl, 1
je 0x1002d873
mov dword [ebp + 0xc], 0x40000000
test cl, 2
je 0x1002d87f
or dword [ebp + 0xc], 0x80000000
test cl, 8
je 0x1002d88b
or dword [ebp + 0xc], 0x10000
test cl, 0x10
je 0x1002d894
or dword [ebp + 0xc], 0x40
test ecx, 0x400
je 0x1002d8a3
or dword [ebp + 0xc], 0x20000000
test ecx, 0x800
je 0x1002d8b2
or dword [ebp + 0xc], 0x40000
test ecx, 0x1000
je 0x1002d8c1
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.1002ce50
test eax, eax
je 0x1002d8e1
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
cmp dword [ebp - 0x10], edi
jne 0x1002d902
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.1006c312
ret 0xc
push 0xffffffffffffffff
push edi
mov ecx, 0x100d2fac
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 0x1002d959
push dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1002d8e6
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 0x1002d946
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 0x1002d9e7
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 0x1002d8fa
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor edi, edi
inc edi
jmp 0x1002d9ce