Function at 0x40deff
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, eax
cmp dword [esi + 0x340], 0
push edi
je 0x40df58
mov eax, dword [esi + 0x3b0]
cmp eax, 0xa
jb 0x40df58
cmp eax, 0x11
ja 0x40df58
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 + 0x3b0]
push 0xa1
push dword [esi + 4]
jmp 0x40e1b2
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 0x40e0d9
push ebx
call fcn.0042a435
mov edi, eax
mov eax, dword [edi]
mov ecx, edi
mov dword [esp], str.button
call dword [eax + 4]
test eax, eax
jne 0x40e107
mov eax, dword [edi]
push str.imgbtn
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x40e107
mov eax, dword [edi]
push str.dlgbtn
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x40e107
mov eax, dword [edi]
push str.dlgbtnEx2
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x40e107
mov eax, dword [edi]
push str.tabctrl
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x40e107
mov eax, dword [edi]
push str.link
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x40e107
mov eax, dword [edi]
push str.skinbtn
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x40e107
mov eax, dword [edi]
push str.imgbtnsized
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x40e107
mov eax, dword [edi]
push str.check
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x40e107
mov eax, dword [edi]
push str.radio
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x40e107
mov eax, dword [edi]
push str.slider
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x40e107
mov eax, dword [edi]
push str.imgradio
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x40e107
mov eax, dword [edi]
push str.listwnd
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x40e107
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
test eax, eax
jne 0x40e107
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
test eax, 0x40000000
jne 0x40e107
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 0x40e1b8
cmp dword [esi + 0x310], 0
je 0x40e1b8
push 0
push 0xf012
push 0x112
push dword [esi + 4]
jmp 0x40e1b2
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x110]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ebx, eax
test ebx, ebx
jne 0x40e107
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x1f8]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ebx, eax
push ebx
call fcn.0042a435
mov edi, eax
test edi, edi
pop ecx
je 0x40e1b8
call fcn.0042a3ff
test eax, eax
jne 0x40e1b8
cmp dword [esi + 0x30c], eax
jne 0x40e1b8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetCapture]
lea eax, [esi + 0x2f4]
cmp ebx, dword [eax]
mov dword [esi + 0x30c], 1
je 0x40e150
mov dword [eax], ebx
push 0
mov dword [esi + 0x2f8], 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 0x40e175
push 1
push edi
push esi
call fcn.0040c1b6
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.0042a6c3
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