Function at 0x4898d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x120]
call eax
movzx ecx, al
test ecx, ecx
jne 0x489946
mov edx, dword [ebp + 8]
cmp dword [edx], 8
jle 0x489946
mov eax, dword [ebp + 8]
cmp dword [eax], 0x16
jge 0x489946
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x568], 0
je 0x489935
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x568]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x568]
mov eax, dword [edx]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0xc]
call dword [ebp - 0x10]
jmp 0x489941
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call sym.360pic.exe_public_virtual:_void___thiscall_DuiLib::CListElementUI::DoEvent_struct_DuiLib::tagTEventUI__
jmp 0x489bad
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x568], 0
je 0x489a2f
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x568]
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x568]
mov eax, dword [edx + 4]
call eax
movzx ecx, byte [eax + 0x458]
test ecx, ecx
je 0x489a2f
mov edx, dword [ebp + 8]
cmp dword [edx], 0xf
jne 0x489a2f
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x118]
call eax
movzx ecx, al
test ecx, ecx
je 0x489a2a
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x489a07
mov eax, dword [ebp - 8]
add eax, 0x558
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x558]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
add ecx, 0x558
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x558]
mov edx, dword [eax + 0x10]
call edx
movzx eax, al
test eax, eax
jne 0x4899f6
mov byte [ebp - 1], 1
jmp 0x4899fa
mov byte [ebp - 1], 0
movzx ecx, byte [ebp - 1]
push ecx
mov ecx, dword [ebp - 0x14]
call dword [ebp - 0x18]
jmp 0x489a2a
mov edx, dword [ebp - 8]
add edx, 0x558
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x558]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x20], edx
push 1
mov ecx, dword [ebp - 0x1c]
call dword [ebp - 0x20]
jmp 0x489bad
mov eax, dword [ebp + 8]
cmp dword [eax], 0xd
jne 0x489ae0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x118]
call eax
movzx ecx, al
test ecx, ecx
je 0x489adb
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x489ab8
mov eax, dword [ebp - 8]
add eax, 0x558
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x558]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 8]
add ecx, 0x558
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x558]
mov edx, dword [eax + 0x10]
call edx
movzx eax, al
test eax, eax
jne 0x489aa7
mov byte [ebp - 2], 1
jmp 0x489aab
mov byte [ebp - 2], 0
movzx ecx, byte [ebp - 2]
push ecx
mov ecx, dword [ebp - 0x24]
call dword [ebp - 0x28]
jmp 0x489adb
mov edx, dword [ebp - 8]
add edx, 0x558
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x558]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x30], edx
push 1
mov ecx, dword [ebp - 0x2c]
call dword [ebp - 0x30]
jmp 0x489bad
mov eax, dword [ebp + 8]
cmp dword [eax], 0xe
jne 0x489b24
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x118]
call eax
movzx ecx, al
test ecx, ecx
je 0x489b1f
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x44]
mov dword [ebp - 0x34], eax
push 0
push 0
push 0
push str.itemclick
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x34]
call sym.360pic.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
jmp 0x489bad
mov edx, dword [ebp + 8]
cmp dword [edx], 9
jne 0x489b2e
jmp 0x489bad
mov eax, dword [ebp + 8]
cmp dword [eax], 0xb
jne 0x489b6c
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x118]
call eax
movzx ecx, al
test ecx, ecx
je 0x489b6a
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x564]
or eax, 8
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x564], eax
mov ecx, dword [ebp - 8]
call sym.360pic.exe_public:_void___thiscall_DuiLib::CListContainerElementUI::Invalidate_void_
jmp 0x489bad
mov edx, dword [ebp + 8]
cmp dword [edx], 0xa
jne 0x489ba1
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x564]
and ecx, 8
je 0x489b9f
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x564]
and eax, 0xfffffff7
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x564], eax
mov ecx, dword [ebp - 8]
call sym.360pic.exe_public:_void___thiscall_DuiLib::CListContainerElementUI::Invalidate_void_
jmp 0x489bad
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 8]
call sym.360pic.exe_public_virtual:_void___thiscall_DuiLib::CListElementUI::DoEvent_struct_DuiLib::tagTEventUI__
mov esp, ebp
pop ebp
ret 4