Function at 0x1008ab70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 0
jmp 0x1008ab8b
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
add ecx, 0x104
call sym.DTLUI.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp dword [ebp - 0x10], eax
jge 0x1008abe7
mov byte [ebp - 1], 0
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 8]
add ecx, 0x104
call sym.DTLUI.dll_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 1]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x20], eax
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x1008abe5
mov al, 1
jmp 0x1008adfb
jmp 0x1008ab82
mov edx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
sub eax, 0x100
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x18
ja case.0x1008ac0c.1
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0x1008ae18]
jmp dword [edx*4 + 0x1008ae04]
cmp dword [ebp + 0xc], 9
jne 0x1008ace5
mov eax, dword [ebp - 8]
cmp dword [eax + 0x84], 0
je 0x1008acba
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x84]
mov eax, dword [ebp - 8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x84]
mov eax, dword [edx + 0xe4]
call eax
movzx ecx, al
test ecx, ecx
je 0x1008acba
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x84]
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x84]
mov eax, dword [edx + 0xf0]
call eax
movzx ecx, al
test ecx, ecx
je 0x1008acba
push str.RichEditUI
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x84]
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x84]
mov eax, dword [edx + 0xc]
call eax
push eax
call fcn.100cbf3d
add esp, 8
test eax, eax
je 0x1008acba
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x84]
call sym.DTLUI.dll_public:_bool___thiscall_DuiLib::CRichEditUI::IsWantTab_void_
movzx edx, al
test edx, edx
je 0x1008acba
xor al, al
jmp 0x1008adfb
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jl 0x1008accd
mov byte [ebp - 2], 1
jmp 0x1008acd1
mov byte [ebp - 2], 0
movzx ecx, byte [ebp - 2]
push ecx
mov ecx, dword [ebp - 8]
call sym.DTLUI.dll_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetNextTabControl_bool_
mov al, 1
jmp 0x1008adfb
jmp case.0x1008ac0c.1
xor edx, edx
mov word [ebp - 0x18], dx
xor eax, eax
mov word [ebp - 0x16], ax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.100d30f9
add esp, 4
mov word [ebp - 0x18], ax
push 0x8000000a
lea edx, [ebp - 0x18]
push edx
push sym.DTLUI.dll_private:_static_class_DuiLib::CControlUI____stdcall_DuiLib::CPaintManagerUI::__FindControlFromShortcut_class_DuiLib::CControlUI___void__
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x80]
mov edx, dword [ebp - 8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x80]
mov edx, dword [eax + 0x118]
call edx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1008ad5d
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10c]
call eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + 0x18]
call eax
mov al, 1
jmp 0x1008adfb
jmp case.0x1008ac0c.1
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x84], 0
je 0x1008ade2
mov dword [ebp - 0x40], 0
xor edx, edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x40], 6
mov ax, word [ebp + 0xc]
mov word [ebp - 0x2c], ax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x94]
mov eax, dword [ecx + 0x98]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], eax
call fcn.100891e0
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x84]
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x84]
mov eax, dword [edx + 0x124]
call eax
jmp case.0x1008ac0c.1
push 0
push 0
push 0x8bba
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
xor al, al
mov esp, ebp
pop ebp
ret 0x10