Function at 0x54ccea
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx]
call dword [eax + 0x120]
mov esi, dword [ebp + 8]
test al, al
jne 0x54cd2c
mov eax, dword [esi]
sub eax, 9
cmp eax, 0xc
ja 0x54cd2c
mov ecx, dword [ebx + 0x48]
push esi
test ecx, ecx
je 0x54cd20
mov eax, dword [ecx]
call dword [eax + 0x150]
jmp 0x54d014
mov ecx, ebx
call sym.360huabao.exe_public_virtual:_void___thiscall_DuiLib::CVerticalLayoutUI::DoEvent_struct_DuiLib::tagTEventUI__
jmp 0x54d014
cmp dword [esi], 0x18
jne 0x54cd3d
mov byte [ebx + 0x19d], 1
jmp 0x54d014
cmp dword [esi], 0x17
jne 0x54cd4e
mov byte [ebx + 0x19d], 0
jmp 0x54d014
cmp dword [esi], 3
push edi
je 0x54ce4a
cmp dword [esi], 0x15
jne 0x54cf28
cmp byte [ebx + 0x6ed], 0
je 0x54cdc5
lea edi, [ebx + 0x6e8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
test al, al
jne 0x54cdc5
movzx eax, word [esi + 0x18]
sub eax, 0
je 0x54cda5
sub eax, 1
jne 0x54cf28
mov eax, dword [edi]
push 1
mov esi, dword [eax + 0xc]
mov eax, dword [ebx]
mov edx, dword [eax + 0x1bc]
mov eax, dword [ebx + 0x6f0]
inc eax
jmp 0x54cdbb
mov eax, dword [edi]
push 0
mov esi, dword [eax + 0xc]
mov eax, dword [ebx]
mov edx, dword [eax + 0x1bc]
mov eax, dword [ebx + 0x6f0]
dec eax
push eax
mov ecx, ebx
call edx
jmp 0x54cf08
mov ecx, dword [ebx + 0x710]
test ecx, ecx
je 0x54cf28
mov eax, dword [ecx]
call dword [eax + 0x208]
test eax, eax
je 0x54cf28
mov ecx, dword [ebx + 0x710]
mov eax, dword [ecx]
call dword [eax + 0x208]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10c]
test al, al
je 0x54cf28
mov ecx, dword [ebx + 0x710]
mov eax, dword [ecx]
call dword [eax + 0x208]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x118]
test al, al
je 0x54cf28
mov ecx, dword [ebx + 0x710]
call sym.360huabao.exe_public:_bool___thiscall_DuiLib::CContainerUI::IsVScrollDelay_void_const
test al, al
je 0x54cf28
mov ecx, dword [ebx + 0x710]
push esi
mov eax, dword [ecx]
call dword [eax + 0x150]
jmp 0x54d013
movzx eax, word [esi + 0x14]
cmp eax, 0x24
ja 0x54cf14
je 0x54ceef
sub eax, 0xd
je 0x54cec9
sub eax, 0x14
je 0x54ceba
sub eax, 1
je 0x54ceab
sub eax, 1
jne 0x54cf28
mov eax, dword [ebx + 0x6e8]
mov ecx, ebx
mov edi, dword [eax + 0xc]
mov eax, dword [ecx]
add ecx, 0x558
mov esi, dword [eax + 0x1bc]
mov eax, dword [ecx]
call dword [eax + 0xc]
dec eax
mov ecx, ebx
push 1
push eax
call esi
push 1
push eax
lea ecx, [ebx + 0x6e8]
call edi
jmp 0x54d013
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1e0]
jmp 0x54d013
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1dc]
jmp 0x54d013
mov edx, dword [ebx + 0x6f0]
cmp edx, 0xffffffff
je 0x54d013
lea ecx, [ebx + 0x558]
mov eax, dword [ecx]
push edx
call dword [eax]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x18]
jmp 0x54d013
lea edi, [ebx + 0x6e8]
mov ecx, ebx
mov eax, dword [edi]
push 0
push 0
mov esi, dword [eax + 0xc]
mov eax, dword [ebx]
call dword [eax + 0x1bc]
push 1
push eax
mov ecx, edi
call esi
jmp 0x54d013
sub eax, 0x26
je 0x54cfd9
dec eax
sub eax, 1
je 0x54cf76
sub eax, 0x19
je 0x54cf35
push esi
mov ecx, ebx
call sym.360huabao.exe_public_virtual:_void___thiscall_DuiLib::CVerticalLayoutUI::DoEvent_struct_DuiLib::tagTEventUI__
jmp 0x54d013
mov eax, dword [ebx + 0x6e8]
lea ecx, [ebx + 0x6e8]
call dword [eax + 0x38]
test al, al
je 0x54d013
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x54d013
mov eax, dword [ebx + 0x6e8]
lea ecx, [ebx + 0x6e8]
call dword [eax + 0x3c]
jmp 0x54d013
lea ecx, [ebx + 0x6f8]
call sym.360huabao.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x54d013
mov ecx, ebx
call sym.360huabao.exe_protected:_int___thiscall_DuiLib::CListUI::GetMaxSelItemIndex_void_
lea esi, [ebx + 0x6e8]
inc eax
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp + 8], eax
call dword [edx + 0x40]
mov ecx, dword [ebx + 0x710]
add ecx, 0x558
mov edx, dword [ecx]
call dword [edx + 0xc]
mov edx, dword [ebp + 8]
mov edi, dword [esi]
lea ecx, [edx + 1]
cmp ecx, eax
jle 0x54cfcf
lea ecx, [ebx + 0x558]
mov eax, dword [ecx]
call dword [eax + 0xc]
dec eax
push 1
push eax
jmp 0x54cfd2
push 1
push edx
mov ecx, esi
call dword [edi + 0xc]
jmp 0x54d013
lea ecx, [ebx + 0x6f8]
call sym.360huabao.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x54d013
mov ecx, ebx
call sym.360huabao.exe_protected:_int___thiscall_DuiLib::CListUI::GetMinSelItemIndex_void_
add ebx, 0x6e8
mov ecx, ebx
lea esi, [eax - 1]
mov edx, dword [ebx]
call dword [edx + 0x40]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov eax, dword [edx + 0xc]
test esi, esi
jle 0x54d00f
push esi
jmp 0x54d011
push 0
call eax
pop edi
pop esi
pop ebx
leave
ret 4