Function at 0x480140
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x3f4], 0
je 0x48019f
mov eax, dword [edi + 0x46c]
sub eax, 0xa
cmp eax, 7
ja 0x48019f
lea eax, [ebp - 0xc]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0xc], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
movzx ecx, word [ebp - 8]
movzx eax, word [ebp - 0xc]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [edi + 0x46c]
push 0xa1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x28]
lea ecx, [edi + 0x28]
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [eax + 0x30]
mov ebx, eax
mov dword [ebp - 8], ebx
test ebx, ebx
je 0x480335
mov ecx, ebx
call fcn.00429930
mov esi, eax
push str.button
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 4]
test eax, eax
jne 0x480371
mov edx, dword [esi]
mov ecx, esi
push str.imgbtn
call dword [edx + 4]
test eax, eax
jne 0x480371
mov eax, dword [esi]
mov ecx, esi
push str.dlgbtn
call dword [eax + 4]
test eax, eax
jne 0x480371
mov eax, dword [esi]
mov ecx, esi
push str.dlgbtnEx2
call dword [eax + 4]
test eax, eax
jne 0x480371
mov eax, dword [esi]
mov ecx, esi
push str.tabctrl
call dword [eax + 4]
test eax, eax
jne 0x480371
mov eax, dword [esi]
mov ecx, esi
push str.link
call dword [eax + 4]
test eax, eax
jne 0x480371
mov eax, dword [esi]
mov ecx, esi
push str.skinbtn
call dword [eax + 4]
test eax, eax
jne 0x480371
mov eax, dword [esi]
mov ecx, esi
push str.imgbtnsized
call dword [eax + 4]
test eax, eax
jne 0x480371
mov eax, dword [esi]
mov ecx, esi
push str.check
call dword [eax + 4]
test eax, eax
jne 0x480371
mov eax, dword [esi]
mov ecx, esi
push str.radio
call dword [eax + 4]
test eax, eax
jne 0x480371
mov eax, dword [esi]
mov ecx, esi
push str.slider
call dword [eax + 4]
test eax, eax
jne 0x480371
mov eax, dword [esi]
mov ecx, esi
push str.imgradio
call dword [eax + 4]
test eax, eax
jne 0x480371
mov eax, dword [esi]
mov ecx, esi
push str.listwnd
call dword [eax + 4]
test eax, eax
jne 0x480371
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
test eax, eax
jne 0x480371
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
test eax, 0x40000000
jne 0x480371
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x20000000
jne 0x480472
cmp dword [edi + 0x3c4], 0
je 0x480472
push 0
push 0xf012
push 0x112
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x14c]
lea ecx, [edi + 0x14c]
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [eax + 0x30]
mov ebx, eax
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x480371
mov eax, dword [edi + 0x270]
lea ecx, [edi + 0x270]
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [eax + 0x30]
mov ebx, eax
mov dword [ebp - 8], eax
mov ecx, ebx
call fcn.00429930
mov ebx, eax
test ebx, ebx
je 0x480472
test byte [ebx + 0x38], 0x10
jne 0x480472
mov ecx, dword [ebx + 0xc]
call fcn.00429930
mov esi, eax
test esi, esi
je 0x4803bf
nop word [eax + eax]
push 0
mov ecx, esi
call fcn.0042a080
test eax, eax
jne 0x480472
mov ecx, dword [esi + 0xc]
call fcn.00429930
mov esi, eax
test esi, esi
jne 0x4803a0
cmp dword [edi + 0x3c0], 0
jne 0x480472
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [ebp - 8]
mov dword [edi + 0x3c0], 1
cmp eax, dword [edi + 0x3a8]
je 0x4803f0
mov dword [edi + 0x3a8], eax
mov dword [edi + 0x3ac], eax
mov ecx, ebx
mov eax, dword [ebx]
push 0
push 2
call dword [eax + 0x28]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
test eax, eax
je 0x480415
push ecx
push ebx
mov ecx, edi
call fcn.0047fa20
mov edx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov dword [ebx + 0xfc], 0
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0xc]
shl ecx, 0x10
or ecx, eax
mov dword [ebp - 8], 0
push ecx
push dword [ebp + 8]
mov ecx, ebx
push 0x201
push 0
call dword [edx + 0x4c]
mov eax, dword [ebx + 0x14]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
push 0xffffffffffffffff
push 0x4e
push ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], 0xffffffff
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc