Function at 0x52ba1b
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 0x52ba5d
mov eax, dword [esi]
sub eax, 9
cmp eax, 0xc
ja 0x52ba5d
mov ecx, dword [ebx + 0x48]
push esi
test ecx, ecx
je 0x52ba51
mov eax, dword [ecx]
call dword [eax + 0x150]
jmp 0x52bd45
mov ecx, ebx
call sym.yuntun.exe_public_virtual:_void___thiscall_DuiLib::CVerticalLayoutUI::DoEvent_struct_DuiLib::tagTEventUI__
jmp 0x52bd45
cmp dword [esi], 0x18
jne 0x52ba6e
mov byte [ebx + 0x19d], 1
jmp 0x52bd45
cmp dword [esi], 0x17
jne 0x52ba7f
mov byte [ebx + 0x19d], 0
jmp 0x52bd45
cmp dword [esi], 3
push edi
je 0x52bb7b
cmp dword [esi], 0x15
jne 0x52bc59
cmp byte [ebx + 0x6ed], 0
je 0x52baf6
lea edi, [ebx + 0x6e8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
test al, al
jne 0x52baf6
movzx eax, word [esi + 0x18]
sub eax, 0
je 0x52bad6
sub eax, 1
jne 0x52bc59
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 0x52baec
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 0x52bc39
mov ecx, dword [ebx + 0x710]
test ecx, ecx
je 0x52bc59
mov eax, dword [ecx]
call dword [eax + 0x208]
test eax, eax
je 0x52bc59
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 0x52bc59
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 0x52bc59
mov ecx, dword [ebx + 0x710]
call sym.yuntun.exe_public:_bool___thiscall_DuiLib::CContainerUI::IsVScrollDelay_void_const
test al, al
je 0x52bc59
mov ecx, dword [ebx + 0x710]
push esi
mov eax, dword [ecx]
call dword [eax + 0x150]
jmp 0x52bd44
movzx eax, word [esi + 0x14]
cmp eax, 0x24
ja 0x52bc45
je 0x52bc20
sub eax, 0xd
je 0x52bbfa
sub eax, 0x14
je 0x52bbeb
sub eax, 1
je 0x52bbdc
sub eax, 1
jne 0x52bc59
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 0x52bd44
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1e0]
jmp 0x52bd44
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1dc]
jmp 0x52bd44
mov edx, dword [ebx + 0x6f0]
cmp edx, 0xffffffff
je 0x52bd44
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 0x52bd44
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 0x52bd44
sub eax, 0x26
je 0x52bd0a
dec eax
sub eax, 1
je 0x52bca7
sub eax, 0x19
je 0x52bc66
push esi
mov ecx, ebx
call sym.yuntun.exe_public_virtual:_void___thiscall_DuiLib::CVerticalLayoutUI::DoEvent_struct_DuiLib::tagTEventUI__
jmp 0x52bd44
mov eax, dword [ebx + 0x6e8]
lea ecx, [ebx + 0x6e8]
call dword [eax + 0x38]
test al, al
je 0x52bd44
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x52bd44
mov eax, dword [ebx + 0x6e8]
lea ecx, [ebx + 0x6e8]
call dword [eax + 0x3c]
jmp 0x52bd44
lea ecx, [ebx + 0x6f8]
call sym.yuntun.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x52bd44
mov ecx, ebx
call sym.yuntun.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 0x52bd00
lea ecx, [ebx + 0x558]
mov eax, dword [ecx]
call dword [eax + 0xc]
dec eax
push 1
push eax
jmp 0x52bd03
push 1
push edx
mov ecx, esi
call dword [edi + 0xc]
jmp 0x52bd44
lea ecx, [ebx + 0x6f8]
call sym.yuntun.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x52bd44
mov ecx, ebx
call sym.yuntun.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 0x52bd40
push esi
jmp 0x52bd42
push 0
call eax
pop edi
pop esi
pop ebx
leave
ret 4