Function at 0x4115e0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push edi
lea edi, [ebp - 0x88]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0
call fcn.00411590
add esp, 0xc
lea ecx, [ebp - 0x30]
push ecx
push 0
push 1
call fcn.00411590
add esp, 0xc
mov edx, 4
imul eax, edx, 0
cmp dword [ebp + eax - 0x18], 7
jl 0x411696
lea ecx, [ebp - 0x48]
push ecx
push 0
push 7
call fcn.00411590
add esp, 0xc
mov edx, 4
imul eax, edx, 3
mov ecx, dword [ebp + eax - 0x30]
and ecx, 0x4000000
je 0x4116b3
mov dword [ebp - 0x50], 0x20
jmp 0x4116ba
mov dword [ebp - 0x50], 0
mov edx, 4
shl edx, 1
mov eax, dword [ebp + edx - 0x30]
and eax, 0x200
je 0x4116d5
mov dword [ebp - 0x54], 0x40
jmp 0x4116dc
mov dword [ebp - 0x54], 0
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + ecx - 0x30]
and edx, 0x80000
je 0x4116f8
mov dword [ebp - 0x58], 0x80
jmp 0x4116ff
mov dword [ebp - 0x58], 0
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + eax - 0x30]
and ecx, 0x100000
je 0x41171b
mov dword [ebp - 0x5c], 0x100
jmp 0x411722
mov dword [ebp - 0x5c], 0
mov edx, 4
shl edx, 0
mov eax, dword [ebp + edx - 0x48]
and eax, 0x200
je 0x41173e
mov dword [ebp - 0x60], 0x800
jmp 0x411745
mov dword [ebp - 0x60], 0
mov ecx, dword [ebp - 0x50]
or ecx, 0x10
or ecx, dword [ebp - 0x54]
or ecx, dword [ebp - 0x58]
or ecx, dword [ebp - 0x5c]
or ecx, dword [ebp - 0x60]
mov dword [ebp - 4], ecx
mov edx, 4
shl edx, 1
mov eax, dword [ebp + edx - 0x30]
and eax, 0x1c000000
cmp eax, 0x1c000000
jne 0x411953
call fcn.004115b0
and eax, 6
cmp eax, 6
jne 0x411953
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + ecx - 0x48]
and edx, 0x20
je 0x4117a0
mov dword [ebp - 0x64], 0x400
jmp 0x4117a7
mov dword [ebp - 0x64], 0
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + eax - 0x30]
and ecx, 0x1000
je 0x4117c3
mov dword [ebp - 0x68], 0x1000
jmp 0x4117ca
mov dword [ebp - 0x68], 0
mov edx, 4
shl edx, 1
mov eax, dword [ebp + edx - 0x30]
and eax, 0x20000000
je 0x4117e5
mov dword [ebp - 0x6c], 0x2000
jmp 0x4117ec
mov dword [ebp - 0x6c], 0
mov ecx, dword [ebp - 0x64]
or ecx, 0x200
or ecx, dword [ebp - 0x68]
or ecx, dword [ebp - 0x6c]
or ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
call fcn.004115b0
and eax, 0xe0
cmp eax, 0xe0
jne 0x411953
mov edx, 4
shl edx, 0
mov eax, dword [ebp + edx - 0x48]
and eax, 0x40000000
je 0x411832
mov dword [ebp - 0x70], 0x8000
jmp 0x411839
mov dword [ebp - 0x70], 0
mov ecx, dword [ebp - 4]
or ecx, dword [ebp - 0x70]
mov dword [ebp - 4], ecx
mov edx, 4
shl edx, 0
mov eax, dword [ebp + edx - 0x48]
and eax, 0x80000000
je 0x41185e
mov dword [ebp - 0x74], 0x10000
jmp 0x411865
mov dword [ebp - 0x74], 0
mov ecx, dword [ebp - 4]
or ecx, dword [ebp - 0x74]
mov dword [ebp - 4], ecx
mov edx, 4
shl edx, 1
mov eax, dword [ebp + edx - 0x48]
and eax, 2
je 0x411887
mov dword [ebp - 0x78], 0x20000
jmp 0x41188e
mov dword [ebp - 0x78], 0
mov ecx, dword [ebp - 4]
or ecx, dword [ebp - 0x78]
mov dword [ebp - 4], ecx
mov edx, 4
shl edx, 1
mov eax, dword [ebp + edx - 0x48]
and eax, 0x40
je 0x4118b0
mov dword [ebp - 0x7c], 0x40000
jmp 0x4118b7
mov dword [ebp - 0x7c], 0
mov ecx, dword [ebp - 4]
or ecx, dword [ebp - 0x7c]
mov dword [ebp - 4], ecx
mov edx, 4
shl edx, 1
mov eax, dword [ebp + edx - 0x48]
and eax, 0x1000
je 0x4118db
mov dword [ebp - 0x80], 0x80000
jmp 0x4118e2
mov dword [ebp - 0x80], 0
mov ecx, dword [ebp - 4]
or ecx, dword [ebp - 0x80]
mov dword [ebp - 4], ecx
mov edx, 4
shl edx, 1
mov eax, dword [ebp + edx - 0x48]
and eax, 0x4000
je 0x411909
mov dword [ebp - 0x84], 0x100000
jmp 0x411913
mov dword [ebp - 0x84], 0
mov ecx, dword [ebp - 4]
or ecx, dword [ebp - 0x84]
mov dword [ebp - 4], ecx
mov edx, 4
shl edx, 1
mov eax, dword [ebp + edx - 0x48]
and eax, 0x100
je 0x41193d
mov dword [ebp - 0x88], 0x4000
jmp 0x411947
mov dword [ebp - 0x88], 0
mov ecx, dword [ebp - 4]
or ecx, dword [ebp - 0x88]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
or edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push edx
mov ecx, ebp
push eax
lea edx, [0x411984]
call fcn.00440496
pop eax
pop edx
pop edi
add esp, 0x88
cmp ebp, esp
call fcn.004404ea
mov esp, ebp
pop ebp
ret