Function at 0x40a2a9
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, eax
cmp dword [esi + 0x300], 0
push edi
je 0x40a302
mov eax, dword [esi + 0x370]
cmp eax, 0xa
jb 0x40a302
cmp eax, 0x11
ja 0x40a302
and dword [ebp - 0xc], 0
xor eax, eax
lea edi, [ebp - 8]
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
movzx eax, word [ebp - 8]
movzx ecx, word [ebp - 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [esi + 0x370]
push 0xa1
push dword [esi + 4]
jmp 0x40a546
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x28]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ebx, eax
test ebx, ebx
je 0x40a46d
push ebx
call fcn.004246dd
mov edi, eax
mov eax, dword [edi]
mov ecx, edi
mov dword [esp], str.button
call dword [eax + 4]
test eax, eax
jne 0x40a49b
mov eax, dword [edi]
push str.imgbtn
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x40a49b
mov eax, dword [edi]
push str.dlgbtn
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x40a49b
mov eax, dword [edi]
push str.dlgbtnEx2
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x40a49b
mov eax, dword [edi]
push str.tabctrl
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x40a49b
mov eax, dword [edi]
push str.link
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x40a49b
mov eax, dword [edi]
push str.skinbtn
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x40a49b
mov eax, dword [edi]
push str.imgbtnsized
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x40a49b
mov eax, dword [edi]
push str.check
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x40a49b
mov eax, dword [edi]
push str.radio
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x40a49b
mov eax, dword [edi]
push str.slider
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x40a49b
mov eax, dword [edi]
push str.listwnd
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x40a49b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
test eax, eax
jne 0x40a49b
test dword [esi + 0x2e8], 0x40000000
jne 0x40a49b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x20000000
jne 0x40a54c
cmp dword [esi + 0x2d0], 0
je 0x40a54c
push 0
push 0xf012
push 0x112
push dword [esi + 4]
jmp 0x40a546
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0xfc]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ebx, eax
test ebx, ebx
jne 0x40a49b
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x1d0]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ebx, eax
push ebx
call fcn.004246dd
mov edi, eax
test edi, edi
pop ecx
je 0x40a54c
call fcn.004246a7
test eax, eax
jne 0x40a54c
cmp dword [esi + 0x2cc], eax
jne 0x40a54c
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetCapture]
lea eax, [esi + 0x2b8]
cmp ebx, dword [eax]
mov dword [esi + 0x2cc], 1
je 0x40a4e4
mov dword [eax], ebx
push 0
mov dword [esi + 0x2bc], ebx
mov eax, dword [edi]
push 2
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x40a509
push 1
push edi
push esi
call fcn.004083ce
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x201
call fcn.0042491e
mov eax, dword [edi + 0x10]
mov esi, dword [esi + 4]
or dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
push 0xffffffffffffffff
push 0x4e
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x20], esi
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
leave
ret 0xc