Function at 0x488ee0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
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 0x488f56
mov edx, dword [ebp + 8]
cmp dword [edx], 8
jle 0x488f56
mov eax, dword [ebp + 8]
cmp dword [eax], 0x16
jge 0x488f56
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x6f8], 0
je 0x488f45
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x6f8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x6f8]
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 0x488f51
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call sym.360pic.exe_public_virtual:_void___thiscall_DuiLib::CContainerUI::DoEvent_struct_DuiLib::tagTEventUI__
jmp 0x489360
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0x13
jne 0x488f8f
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x118]
call edx
movzx eax, al
test eax, eax
je 0x488f8a
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [ebp - 8]
call sym.360pic.exe_public:_void___thiscall_DuiLib::CListContainerElementUI::Invalidate_void_
jmp 0x489360
mov ecx, dword [ebp + 8]
cmp dword [ecx], 3
jne 0x488fd4
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x118]
call edx
movzx eax, al
test eax, eax
je 0x488fd4
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x14]
cmp edx, 0xd
jne 0x488fd4
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [ebp - 8]
call sym.360pic.exe_public:_void___thiscall_DuiLib::CListContainerElementUI::Invalidate_void_
jmp 0x489360
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0xd
jne 0x489085
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x118]
call edx
movzx eax, al
test eax, eax
je 0x489080
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x48905e
mov edx, dword [ebp - 8]
add edx, 0x6e8
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x6e8]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp - 8]
add ecx, 0x6e8
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x6e8]
mov eax, dword [edx + 0x10]
call eax
movzx ecx, al
test ecx, ecx
jne 0x48904d
mov byte [ebp - 1], 1
jmp 0x489051
mov byte [ebp - 1], 0
movzx edx, byte [ebp - 1]
push edx
mov ecx, dword [ebp - 0x14]
call dword [ebp - 0x18]
jmp 0x489080
mov eax, dword [ebp - 8]
add eax, 0x6e8
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x6e8]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x20], eax
push 1
mov ecx, dword [ebp - 0x1c]
call dword [ebp - 0x20]
jmp 0x489360
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0xf
jne 0x4890ea
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x118]
call edx
movzx eax, al
test eax, eax
je 0x4890e5
mov ecx, dword [ebp - 8]
add ecx, 0x6e8
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x6e8]
mov edx, dword [eax + 0x10]
call edx
movzx eax, al
test eax, eax
jne 0x4890e5
mov ecx, dword [ebp - 8]
add ecx, 0x6e8
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x6e8]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x28], ecx
push 1
mov ecx, dword [ebp - 0x24]
call dword [ebp - 0x28]
jmp 0x489360
mov edx, dword [ebp - 8]
cmp dword [edx + 0x6f8], 0
je 0x4891d3
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x6f8]
mov edx, dword [ebp - 8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x6f8]
mov edx, dword [eax + 4]
call edx
movzx eax, byte [eax + 0x458]
test eax, eax
je 0x4891d3
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0xf
jne 0x4891d3
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x118]
call edx
movzx eax, al
test eax, eax
je 0x4891ce
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x4891ac
mov edx, dword [ebp - 8]
add edx, 0x6e8
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x6e8]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x30], edx
mov ecx, dword [ebp - 8]
add ecx, 0x6e8
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x6e8]
mov eax, dword [edx + 0x10]
call eax
movzx ecx, al
test ecx, ecx
jne 0x48919b
mov byte [ebp - 2], 1
jmp 0x48919f
mov byte [ebp - 2], 0
movzx edx, byte [ebp - 2]
push edx
mov ecx, dword [ebp - 0x2c]
call dword [ebp - 0x30]
jmp 0x4891ce
mov eax, dword [ebp - 8]
add eax, 0x6e8
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x6e8]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x38], eax
push 1
mov ecx, dword [ebp - 0x34]
call dword [ebp - 0x38]
jmp 0x489360
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0xe
jne 0x489217
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x118]
call edx
movzx eax, al
test eax, eax
je 0x489212
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x3c], edx
push 0
push 0
push 0
push str.itemclick
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x3c]
call sym.360pic.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
jmp 0x489360
mov ecx, dword [ebp + 8]
cmp dword [ecx], 9
jne 0x489224
jmp 0x489360
mov edx, dword [ebp + 8]
cmp dword [edx], 0xb
jne 0x489265
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 0x489260
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x6f4]
or eax, 8
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x6f4], eax
mov ecx, dword [ebp - 8]
call sym.360pic.exe_public:_void___thiscall_DuiLib::CListContainerElementUI::Invalidate_void_
jmp 0x489360
mov edx, dword [ebp + 8]
cmp dword [edx], 0xa
jne 0x48929d
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x6f4]
and ecx, 8
je 0x489298
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x6f4]
and eax, 0xfffffff7
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x6f4], eax
mov ecx, dword [ebp - 8]
call sym.360pic.exe_public:_void___thiscall_DuiLib::CListContainerElementUI::Invalidate_void_
jmp 0x489360
mov edx, dword [ebp + 8]
cmp dword [edx], 0x1b
jne 0x4892d4
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x44]
mov dword [ebp - 0x40], ecx
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
push edx
push str.timer
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x40]
call sym.360pic.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
jmp 0x489360
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0x14
jne 0x48931f
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0xf4]
call edx
movzx eax, al
test eax, eax
je 0x48931f
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x44], edx
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push eax
push str.menu
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x44]
call sym.360pic.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
jmp 0x489360
mov edx, dword [ebp - 8]
cmp dword [edx + 0x6f8], 0
je 0x489354
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x6f8]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x6f8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x48]
call dword [ebp - 0x4c]
jmp 0x489360
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 8]
call sym.360pic.exe_public_virtual:_void___thiscall_DuiLib::CControlUI::DoEvent_struct_DuiLib::tagTEventUI__
mov esp, ebp
pop ebp
ret 4