Function at 0x40e42e
Capabilities:
Inspect section memory permissions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x14]
and byte [esi], 0
test ebx, 0x10000
je 0x40e450
push str._StdDel
push esi
call fcn.00411120
pop ecx
pop ecx
and ebx, 0xfffeffff
test ebx, 0x20000
je 0x40e46b
push str._StdRdCtl
push esi
call fcn.00411120
pop ecx
pop ecx
and ebx, 0xfffdffff
test ebx, 0x40000
je 0x40e486
push str._StdWrDac
push esi
call fcn.00411120
pop ecx
pop ecx
and ebx, 0xfffbffff
test ebx, 0x80000
je 0x40e4a1
push str._StdWrOwner
push esi
call fcn.00411120
pop ecx
pop ecx
and ebx, 0xfff7ffff
test ebx, 0x100000
je 0x40e4bc
push str._StdSynch
push esi
call fcn.00411120
pop ecx
pop ecx
and ebx, 0xffefffff
test ebx, 0x1000000
je 0x40e4d7
push str._AccSysSec
push esi
call fcn.00411120
pop ecx
pop ecx
and ebx, 0xfeffffff
test ebx, 0x2000000
je 0x40e4f2
push str._MaxAllowed
push esi
call fcn.00411120
pop ecx
pop ecx
and ebx, 0xfdffffff
test ebx, 0x80000000
je 0x40e50d
push str._GenRd
push esi
call fcn.00411120
pop ecx
pop ecx
and ebx, 0x7fffffff
test ebx, 0x40000000
je 0x40e528
push str._GenWr
push esi
call fcn.00411120
pop ecx
pop ecx
and ebx, 0xbfffffff
test ebx, 0x20000000
je 0x40e543
push str._GenExe
push esi
call fcn.00411120
pop ecx
pop ecx
and ebx, 0xdfffffff
test ebx, 0x10000000
je 0x40e55e
push str._GenAll
push esi
call fcn.00411120
pop ecx
pop ecx
mov eax, dword [esp + 0x10]
and ebx, 0xefffffff
dec eax
je 0x40e5fb
sub eax, 3
jne 0x40e6b8
test bl, 1
je 0x40e58a
push str._KeyQueVal
push esi
call fcn.00411120
pop ecx
pop ecx
and ebx, 0xfffffffe
test bl, 2
je 0x40e59f
push str._KeySetVal
push esi
call fcn.00411120
pop ecx
pop ecx
and ebx, 0xfffffffd
test bl, 4
je 0x40e5b4
push str._KeyCreaSub
push esi
call fcn.00411120
pop ecx
pop ecx
and ebx, 0xfffffffb
test bl, 8
je 0x40e5c9
push str._KeyEnumSub
push esi
call fcn.00411120
pop ecx
pop ecx
and ebx, 0xfffffff7
test bl, 0x10
je 0x40e5de
push str._KeyNotif
push esi
call fcn.00411120
pop ecx
pop ecx
and ebx, 0xffffffef
test bl, 0x20
je 0x40e5f3
push str._KeyCreaLnk
push esi
call fcn.00411120
pop ecx
pop ecx
and ebx, 0xffffffdf
jmp 0x40e6b8
test bl, 1
je 0x40e60d
push str._FlRd
push esi
call fcn.00411120
pop ecx
pop ecx
and ebx, 0xfffffffe
test bl, 2
je 0x40e622
push str._FlWr
push esi
call fcn.00411120
pop ecx
pop ecx
and ebx, 0xfffffffd
test bl, 4
je 0x40e637
push str._FlApp
push esi
call fcn.00411120
pop ecx
pop ecx
and ebx, 0xfffffffb
test bl, 8
je 0x40e64c
push str._FlRdEa
push esi
call fcn.00411120
pop ecx
pop ecx
and ebx, 0xfffffff7
test bl, 0x10
je 0x40e661
push str._FlWrEa
push esi
call fcn.00411120
pop ecx
pop ecx
and ebx, 0xffffffef
test bl, 0x20
je 0x40e676
push str._FlExe
push esi
call fcn.00411120
pop ecx
pop ecx
and ebx, 0xffffffdf
test bl, 0x40
je 0x40e68b
push str._FlDelChild
push esi
call fcn.00411120
pop ecx
pop ecx
and ebx, 0xffffffbf
test bl, 0x80
je 0x40e6a0
push str._FlRdAttr
push esi
call fcn.00411120
pop ecx
pop ecx
and bl, 0x7f
test bh, 1
je 0x40e6b5
push str._FlWrAttr
push esi
call fcn.00411120
pop ecx
pop ecx
and bh, 0xfe
test ebx, ebx
je 0x40e6d4
push ebx
push str.__08X
push esi
call fcn.00411260
pop ecx
add eax, esi
push eax
call fcn.00411908
add esp, 0xc
cmp byte [esi], 0
jne 0x40e6e6
push str._None
push esi
call fcn.00411110
pop ecx
pop ecx
mov eax, esi
pop esi
pop ebx
ret