Function at 0x4b5004
Capabilities:
Inspect section memory permissions

Disassembly:
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0x69], 0
jne 0x4b52a9
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x24]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x4b52a9
mov ebx, dword [esi + 0x70]
lea edx, [esp + 0x10]
add ecx, 4
mov dword [esp + 0x10], 0
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4b5235
lea edx, [esp + 0x14]
mov dword [esp + 0x18], 0
push edx
lea edx, [esp + 0x1c]
mov dword [esp + 0x20], 0
push edx
mov dword [esp + 0x1c], 0
mov eax, dword [ecx]
push 1
push ecx
call dword [eax + 0xc]
test eax, eax
jne 0x4b522b
lea esp, [esp]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4b520d
lea edx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov eax, dword [ecx]
push edx
push 0x51b740
push ecx
call dword [eax]
test eax, eax
js 0x4b5203
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4b5203
test bl, 1
je 0x4b50d1
mov edx, str.GotFocus
call fcn.004b4fcb
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x74], eax
test bl, 2
je 0x4b50e7
mov edx, str.LostFocus
call fcn.004b4fcb
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x78], eax
test bl, 4
je 0x4b50fd
mov edx, str.Click
call fcn.004b4fcb
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x7c], eax
test bl, 8
je 0x4b5116
mov edx, str.KeyDown
call fcn.004b4fcb
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x80], eax
test bl, 0x10
je 0x4b512f
mov edx, str.KeyUp
call fcn.004b4fcb
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x84], eax
test bl, 0x20
je 0x4b5148
mov edx, str.KeyPress
call fcn.004b4fcb
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x88], eax
test bl, 0x40
je 0x4b5161
mov edx, str.MouseMove
call fcn.004b4fcb
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x8c], eax
test bl, bl
jns 0x4b5179
mov edx, str.MouseDown
call fcn.004b4fcb
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x90], eax
test ebx, 0x100
je 0x4b5195
mov edx, str.MouseUp
call fcn.004b4fcb
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x94], eax
test ebx, 0x200
je 0x4b51c5
mov edx, str.DragDrop
call fcn.004b4fcb
mov ecx, dword [esp + 0xc]
mov edx, str.DragOver
mov dword [esi + 0x98], eax
call fcn.004b4fcb
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x9c], eax
test ebx, 0x400
je 0x4b51e1
mov edx, str.Validate
call fcn.004b4fcb
mov ecx, dword [esp + 0xc]
mov dword [esi + 0xa0], eax
test ebx, 0x800
je 0x4b51fd
mov edx, str.DblClick
call fcn.004b4fcb
mov ecx, dword [esp + 0xc]
mov dword [esi + 0xa4], eax
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x1c]
push edx
mov eax, dword [ecx]
push 1
push ecx
call dword [eax + 0xc]
test eax, eax
je 0x4b5084
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test ebx, 0x40000000
je 0x4b5245
mov eax, dword [esi]
push 0
push esi
call dword [eax + 0x54]
test ebx, 0x20000000
je 0x4b5255
mov eax, dword [esi]
push 0xffffffffffffffff
push esi
call dword [eax + 0x54]
test ebx, ebx
jns 0x4b525f
mov eax, dword [esi]
push esi
call dword [eax + 0x48]
test ebx, 0x8000000
je 0x4b526d
mov eax, dword [esi]
push esi
call dword [eax + 0x58]
test ebx, 0x10000000
je 0x4b5280
mov eax, dword [esi]
push 0xffffffffffffffff
push esi
call dword [eax + 0x80]
test ebx, 0x4000000
je 0x4b5297
test dword [esi + 0x50], 0x10000
je 0x4b5297
mov eax, dword [esi]
push esi
call dword [eax + 0x40]
test ebx, 0x2000000
je 0x4b52a5
mov eax, dword [esi]
push esi
call dword [eax + 0x7c]
mov byte [esi + 0x69], 1
pop esi
xor eax, eax
pop ebx
add esp, 0x1c
ret