Function at 0x4cbd80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
mov eax, dword [eax + 0xe0]
call eax
mov edi, dword [ebp + 8]
test al, al
jne 0x4cbdcc
mov eax, dword [edi]
cmp eax, 8
jle 0x4cbdcc
cmp eax, 0x13
jge 0x4cbdcc
mov ecx, dword [esi + 0xb9c]
push edi
test ecx, ecx
je 0x4cbdbd
mov eax, dword [ecx]
call dword [eax + 0xc]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
call sym.WnPicViewer.exe_public_virtual:_void___thiscall_UiLib::CListLabelElementUI::DoEvent_struct_UiLib::tagTEventUI__
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp dword [edi], 0x17
push ebx
jne 0x4cbe0c
xor ebx, ebx
cmp dword [esi + 0x6f4], ebx
jle 0x4cbe0c
lea eax, [esi + 0x6f8]
mov dword [ebp + 8], eax
push dword [edi + 0x10]
push dword [edi + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4cbeaf
mov eax, dword [ebp + 8]
inc ebx
add eax, 0x10
mov dword [ebp + 8], eax
cmp ebx, dword [esi + 0x6f4]
jl 0x4cbde5
cmp dword [edi], 0xe
jne 0x4cbe5b
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xd0]
call eax
test al, al
je 0x4cbe5b
xor ebx, ebx
cmp dword [esi + 0x6f4], ebx
jle 0x4cbe5b
lea eax, [esi + 0x6f8]
mov dword [ebp + 8], eax
push dword [edi + 0x10]
push dword [edi + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4cbecc
mov eax, dword [ebp + 8]
inc ebx
add eax, 0x10
mov dword [ebp + 8], eax
cmp ebx, dword [esi + 0x6f4]
jl 0x4cbe34
mov eax, dword [esi + 0x6f4]
test eax, eax
jle 0x4cbf08
cmp dword [edi], 9
jne 0x4cbf08
or ecx, 0xffffffff
xor ebx, ebx
mov dword [ebp - 4], ecx
test eax, eax
jle 0x4cbef0
lea eax, [esi + 0x6f8]
mov dword [ebp + 8], eax
push dword [edi + 0x10]
push dword [edi + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4cbeeb
mov eax, dword [ebp + 8]
inc ebx
add eax, 0x10
mov dword [ebp + 8], eax
cmp ebx, dword [esi + 0x6f4]
jl 0x4cbe87
or ecx, 0xffffffff
jmp 0x4cbef0
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x170]
push 0
push 0
push ebx
push str.link
push esi
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CPaintManagerUI::SendNotify_class_UiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0xb98], ecx
je 0x4cbf08
mov ecx, esi
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CListContainerElementUI::Invalidate_void_
mov eax, dword [ebp - 4]
mov dword [esi + 0xb98], eax
cmp dword [esi + 0x6f4], 0
jle 0x4cbf30
cmp dword [edi], 0xa
jne 0x4cbf30
cmp dword [esi + 0xb98], 0xffffffff
je 0x4cbf30
mov ecx, esi
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CListContainerElementUI::Invalidate_void_
mov dword [esi + 0xb98], 0xffffffff
mov eax, dword [edi]
cmp eax, 0xd
je 0x4cbf84
cmp eax, 0xf
je 0x4cbf84
mov ecx, esi
cmp eax, 0xe
jne 0x4cbf75
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
call eax
test al, al
je 0x4cc043
mov ecx, dword [esi + 0x170]
push 0
push 0
push 0
push 0x645bc0
push esi
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CPaintManagerUI::SendNotify_class_UiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push edi
call sym.WnPicViewer.exe_public_virtual:_void___thiscall_UiLib::CListLabelElementUI::DoEvent_struct_UiLib::tagTEventUI__
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xd0]
call eax
test al, al
je 0x4cc037
mov ecx, dword [esi + 0xb9c]
test ecx, ecx
je 0x4cc030
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
test al, al
jne 0x4cc008
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4cbff8
mov eax, dword [esi + 0x6e0]
lea ecx, [esi + 0x6e0]
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [esi + 0xb9c]
test al, al
mov eax, dword [ecx]
je 0x4cbfeb
push dword [esi + 0x6e4]
call dword [eax + 0x34]
jmp 0x4cc030
push 0
push dword [esi + 0x6e4]
call dword [eax + 0x28]
jmp 0x4cc030
mov ecx, dword [esi + 0xb9c]
mov eax, dword [ecx]
call dword [eax + 0x40]
cmp eax, 1
jne 0x4cc01d
mov eax, dword [esi + 0x6e0]
lea ecx, [esi + 0x6e0]
mov eax, dword [eax + 0x10]
call eax
test al, al
jne 0x4cc030
mov ecx, dword [esi + 0xb9c]
push 0
push dword [esi + 0x6e4]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, esi
call sym.WnPicViewer.exe_public:_void___thiscall_UiLib::CListContainerElementUI::Invalidate_void_
mov ecx, dword [esi + 0xb9c]
push edi
mov eax, dword [ecx]
call dword [eax + 0xc]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4