Function at 0x412836
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, eax
cmp dword [esi + 0x4a0], 0
push edi
je 0x41288f
mov eax, dword [esi + 0x510]
cmp eax, 0xa
jb 0x41288f
cmp eax, 0x11
ja 0x41288f
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 + 0x510]
push 0xa1
push dword [esi + 4]
jmp 0x412ae9
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x2c]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x44]
mov ebx, eax
test ebx, ebx
je 0x412a10
push ebx
call fcn.004334e5
mov edi, eax
mov eax, dword [edi]
mov ecx, edi
mov dword [esp], str.button
call dword [eax + 4]
test eax, eax
jne 0x412a3e
mov eax, dword [edi]
push str.imgbtn
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x412a3e
mov eax, dword [edi]
push str.dlgbtn
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x412a3e
mov eax, dword [edi]
push str.dlgbtnEx2
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x412a3e
mov eax, dword [edi]
push str.tabctrl
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x412a3e
mov eax, dword [edi]
push str.link
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x412a3e
mov eax, dword [edi]
push str.skinbtn
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x412a3e
mov eax, dword [edi]
push str.imgbtnsized
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x412a3e
mov eax, dword [edi]
push str.check
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x412a3e
mov eax, dword [edi]
push str.radio
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x412a3e
mov eax, dword [edi]
push str.slider
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x412a3e
mov eax, dword [edi]
push str.imgradio
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x412a3e
mov eax, dword [edi]
push str.listwnd
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x412a3e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
test eax, eax
jne 0x412a3e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
test eax, 0x40000000
jne 0x412a3e
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 0x412aef
cmp dword [esi + 0x470], 0
je 0x412aef
push 0
push 0xf012
push 0x112
push dword [esi + 4]
jmp 0x412ae9
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x188]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x44]
mov ebx, eax
test ebx, ebx
jne 0x412a3e
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x2e4]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x44]
mov ebx, eax
push ebx
call fcn.004334e5
mov edi, eax
test edi, edi
pop ecx
je 0x412aef
call fcn.004334af
test eax, eax
jne 0x412aef
cmp dword [esi + 0x46c], eax
jne 0x412aef
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetCapture]
lea eax, [esi + 0x454]
cmp ebx, dword [eax]
mov dword [esi + 0x46c], 1
je 0x412a87
mov dword [eax], ebx
push 0
mov dword [esi + 0x458], ebx
mov eax, dword [edi]
push 2
mov ecx, edi
call dword [eax + 0x38]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x48]
test eax, eax
je 0x412aac
push 1
push edi
push esi
call fcn.0040f600
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.00433773
mov eax, dword [edi + 0xc]
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