Function at 0x46dddf
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 0x46de21
mov eax, dword [esi]
sub eax, 9
cmp eax, 0xc
ja 0x46de21
mov ecx, dword [ebx + 0x48]
push esi
test ecx, ecx
je 0x46de15
mov eax, dword [ecx]
call dword [eax + 0x150]
jmp 0x46e109
mov ecx, ebx
call sym.360huabaosetup.exe_public_virtual:_void___thiscall_DuiLib::CVerticalLayoutUI::DoEvent_struct_DuiLib::tagTEventUI__
jmp 0x46e109
cmp dword [esi], 0x18
jne 0x46de32
mov byte [ebx + 0x19d], 1
jmp 0x46e109
cmp dword [esi], 0x17
jne 0x46de43
mov byte [ebx + 0x19d], 0
jmp 0x46e109
cmp dword [esi], 3
push edi
je 0x46df3f
cmp dword [esi], 0x15
jne 0x46e01d
cmp byte [ebx + 0x6ed], 0
je 0x46deba
lea edi, [ebx + 0x6e8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
test al, al
jne 0x46deba
movzx eax, word [esi + 0x18]
sub eax, 0
je 0x46de9a
sub eax, 1
jne 0x46e01d
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 0x46deb0
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 0x46dffd
mov ecx, dword [ebx + 0x710]
test ecx, ecx
je 0x46e01d
mov eax, dword [ecx]
call dword [eax + 0x208]
test eax, eax
je 0x46e01d
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 0x46e01d
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 0x46e01d
mov ecx, dword [ebx + 0x710]
call sym.360huabaosetup.exe_public:_bool___thiscall_DuiLib::CContainerUI::IsVScrollDelay_void_const
test al, al
je 0x46e01d
mov ecx, dword [ebx + 0x710]
push esi
mov eax, dword [ecx]
call dword [eax + 0x150]
jmp 0x46e108
movzx eax, word [esi + 0x14]
cmp eax, 0x24
ja 0x46e009
je 0x46dfe4
sub eax, 0xd
je 0x46dfbe
sub eax, 0x14
je 0x46dfaf
sub eax, 1
je 0x46dfa0
sub eax, 1
jne 0x46e01d
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 0x46e108
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1e0]
jmp 0x46e108
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1dc]
jmp 0x46e108
mov edx, dword [ebx + 0x6f0]
cmp edx, 0xffffffff
je 0x46e108
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 0x46e108
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 0x46e108
sub eax, 0x26
je 0x46e0ce
dec eax
sub eax, 1
je 0x46e06b
sub eax, 0x19
je 0x46e02a
push esi
mov ecx, ebx
call sym.360huabaosetup.exe_public_virtual:_void___thiscall_DuiLib::CVerticalLayoutUI::DoEvent_struct_DuiLib::tagTEventUI__
jmp 0x46e108
mov eax, dword [ebx + 0x6e8]
lea ecx, [ebx + 0x6e8]
call dword [eax + 0x38]
test al, al
je 0x46e108
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x46e108
mov eax, dword [ebx + 0x6e8]
lea ecx, [ebx + 0x6e8]
call dword [eax + 0x3c]
jmp 0x46e108
lea ecx, [ebx + 0x6f8]
call sym.360huabaosetup.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x46e108
mov ecx, ebx
call sym.360huabaosetup.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 0x46e0c4
lea ecx, [ebx + 0x558]
mov eax, dword [ecx]
call dword [eax + 0xc]
dec eax
push 1
push eax
jmp 0x46e0c7
push 1
push edx
mov ecx, esi
call dword [edi + 0xc]
jmp 0x46e108
lea ecx, [ebx + 0x6f8]
call sym.360huabaosetup.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x46e108
mov ecx, ebx
call sym.360huabaosetup.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 0x46e104
push esi
jmp 0x46e106
push 0
call eax
pop edi
pop esi
pop ebx
leave
ret 4