Function at 0x54e7da
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 0x54e81c
mov eax, dword [esi]
sub eax, 9
cmp eax, 0xc
ja 0x54e81c
mov ecx, dword [ebx + 0x48]
push esi
test ecx, ecx
je 0x54e810
mov eax, dword [ecx]
call dword [eax + 0x150]
jmp 0x54eb04
mov ecx, ebx
call sym.360huabao.exe_public_virtual:_void___thiscall_DuiLib::CVerticalLayoutUI::DoEvent_struct_DuiLib::tagTEventUI__
jmp 0x54eb04
cmp dword [esi], 0x18
jne 0x54e82d
mov byte [ebx + 0x19d], 1
jmp 0x54eb04
cmp dword [esi], 0x17
jne 0x54e83e
mov byte [ebx + 0x19d], 0
jmp 0x54eb04
cmp dword [esi], 3
push edi
je 0x54e93a
cmp dword [esi], 0x15
jne 0x54ea18
cmp byte [ebx + 0x6ed], 0
je 0x54e8b5
lea edi, [ebx + 0x6e8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
test al, al
jne 0x54e8b5
movzx eax, word [esi + 0x18]
sub eax, 0
je 0x54e895
sub eax, 1
jne 0x54ea18
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 0x54e8ab
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 0x54e9f8
mov ecx, dword [ebx + 0x710]
test ecx, ecx
je 0x54ea18
mov eax, dword [ecx]
call dword [eax + 0x208]
test eax, eax
je 0x54ea18
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 0x54ea18
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 0x54ea18
mov ecx, dword [ebx + 0x710]
call sym.360huabao.exe_public:_bool___thiscall_DuiLib::CContainerUI::IsVScrollDelay_void_const
test al, al
je 0x54ea18
mov ecx, dword [ebx + 0x710]
push esi
mov eax, dword [ecx]
call dword [eax + 0x150]
jmp 0x54eb03
movzx eax, word [esi + 0x14]
cmp eax, 0x24
ja 0x54ea04
je 0x54e9df
sub eax, 0xd
je 0x54e9b9
sub eax, 0x14
je 0x54e9aa
sub eax, 1
je 0x54e99b
sub eax, 1
jne 0x54ea18
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 0x54eb03
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1e0]
jmp 0x54eb03
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1dc]
jmp 0x54eb03
mov edx, dword [ebx + 0x6f0]
cmp edx, 0xffffffff
je 0x54eb03
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 0x54eb03
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 0x54eb03
sub eax, 0x26
je 0x54eac9
dec eax
sub eax, 1
je 0x54ea66
sub eax, 0x19
je 0x54ea25
push esi
mov ecx, ebx
call sym.360huabao.exe_public_virtual:_void___thiscall_DuiLib::CVerticalLayoutUI::DoEvent_struct_DuiLib::tagTEventUI__
jmp 0x54eb03
mov eax, dword [ebx + 0x6e8]
lea ecx, [ebx + 0x6e8]
call dword [eax + 0x38]
test al, al
je 0x54eb03
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x54eb03
mov eax, dword [ebx + 0x6e8]
lea ecx, [ebx + 0x6e8]
call dword [eax + 0x3c]
jmp 0x54eb03
lea ecx, [ebx + 0x6f8]
call sym.360huabao.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x54eb03
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 0x54eabf
lea ecx, [ebx + 0x558]
mov eax, dword [ecx]
call dword [eax + 0xc]
dec eax
push 1
push eax
jmp 0x54eac2
push 1
push edx
mov ecx, esi
call dword [edi + 0xc]
jmp 0x54eb03
lea ecx, [ebx + 0x6f8]
call sym.360huabao.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x54eb03
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 0x54eaff
push esi
jmp 0x54eb01
push 0
call eax
pop edi
pop esi
pop ebx
leave
ret 4