Function at 0x1005be66
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0x31c]
call sym.UserAndPayClient.dll_public:_struct_HWND______thiscall_xx_DuiLib::CWindowWnd::operator_struct_HWND____void_const
mov edi, dword [ebp + 8]
test eax, eax
jle 0x1005bebc
push ebx
lea ecx, [esi + 0x31c]
mov byte [ebp + 0xb], 0
call sym.UserAndPayClient.dll_public:_void____thiscall_xx_DuiLib::CStdPtrArray::operator___int_const
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x1005bf1c
lea ecx, [esi + 0x31c]
inc ebx
call sym.UserAndPayClient.dll_public:_struct_HWND______thiscall_xx_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp ebx, eax
jl 0x1005be85
sub edi, 0x100
je 0x1005bf82
sub edi, 4
je 0x1005bf20
dec edi
sub edi, 1
jne 0x1005bf77
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.100e1c58
pop ecx
mov ecx, dword [esi + 0x268]
lea edx, [ebp + 8]
push 0x80000012
mov word [ebp + 8], ax
push edx
mov eax, dword [ecx]
push sym.UserAndPayClient.dll_private:_static_class_xx_DuiLib::CControlUI____stdcall_xx_DuiLib::CPaintManagerUI::__FindControlFromShortcut_class_xx_DuiLib::CControlUI___void__
call dword [eax + 0x138]
mov esi, eax
test esi, esi
je 0x1005bf77
mov edx, dword [esi]
mov ecx, esi
call dword [edx + pe_nt_image_headers32]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x1005bf79
cmp dword [esi + 0x26c], 0
je 0x1005bf77
xor eax, eax
lea edi, [ebp - 0x1c]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0x27c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x280]
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call fcn.100592ea
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x26c]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x144]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x1005bf77
mov ecx, dword [esi + 0x26c]
test ecx, ecx
je 0x1005bfdb
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x1005bfdb
mov ecx, dword [esi + 0x26c]
mov eax, dword [ecx]
call dword [eax + 0x10c]
test al, al
je 0x1005bfdb
mov ecx, dword [esi + 0x26c]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.100be4cf
pop ecx
pop ecx
test eax, eax
je 0x1005bfdb
mov ecx, dword [esi + 0x26c]
call sym.UserAndPayClient.dll_public:_bool___thiscall_xx_DuiLib::CRichEditUI::IsWantTab_void_
test al, al
jne 0x1005bf77
mov ecx, dword [esi + 0x26c]
test ecx, ecx
je 0x1005c023
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x1005c023
mov ecx, dword [esi + 0x26c]
mov eax, dword [ecx]
call dword [eax + 0x10c]
test al, al
je 0x1005c023
mov ecx, dword [esi + 0x26c]
push str.WkeWebkitUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.100be4cf
pop ecx
pop ecx
test eax, eax
jne 0x1005bf77
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call sym.UserAndPayClient.dll_public:_bool___thiscall_xx_DuiLib::CPaintManagerUI::SetNextTabControl_bool_
jmp 0x1005bf1c