Function at 0x11056020
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x38], ecx
mov dword [ebp - 4], 0
jmp 0x1105603b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xd0
call sym.DuiLib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp dword [ebp - 4], eax
jge 0x11056097
mov byte [ebp - 9], 0
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0xd0
call sym.DuiLib.dll_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
mov dword [ebp - 0x3c], eax
lea edx, [ebp - 9]
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 - 0x3c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx]
call eax
mov dword [ebp - 8], eax
movzx ecx, byte [ebp - 9]
test ecx, ecx
je 0x11056095
mov al, 1
jmp 0x11056255
jmp 0x11056032
mov edx, dword [ebp + 8]
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0x100
je 0x110560c5
cmp dword [ebp - 0x40], 0x104
je 0x110561e2
cmp dword [ebp - 0x40], 0x106
je 0x11056176
jmp 0x11056253
cmp dword [ebp + 0xc], 9
jne 0x11056171
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x54], 0
je 0x11056150
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x54]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x54]
mov edx, dword [edx]
mov eax, dword [edx + 0xc8]
call eax
movzx ecx, al
test ecx, ecx
je 0x11056150
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x54]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 0x54]
mov edx, dword [eax]
mov eax, dword [edx + 0xd4]
call eax
movzx ecx, al
test ecx, ecx
je 0x11056150
push str.RichEditUI
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x54]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 0x54]
mov edx, dword [eax]
mov eax, dword [edx + 0xc]
call eax
push eax
call fcn.11068a93
add esp, 8
test eax, eax
je 0x11056150
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 0x54]
call sym.DuiLib.dll_public:_bool___thiscall_DuiLib::CRichEditUI::IsWantTab_void_
movzx edx, al
test edx, edx
je 0x11056150
xor al, al
jmp 0x11056255
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
setge cl
movzx edx, cl
push edx
mov ecx, dword [ebp - 0x38]
call sym.DuiLib.dll_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetNextTabControl_bool_
mov al, 1
jmp 0x11056255
jmp 0x11056253
xor eax, eax
mov word [ebp - 0x10], ax
xor ecx, ecx
mov word [ebp - 0xe], cx
mov edx, dword [ebp + 0xc]
push edx
call fcn.1106b04b
add esp, 4
mov word [ebp - 0x10], ax
push 0x8000000a
lea eax, [ebp - 0x10]
push eax
push sym.DuiLib.dll_private:_static_class_DuiLib::CControlUI____stdcall_DuiLib::CPaintManagerUI::__FindControlFromShortcut_class_DuiLib::CControlUI___void__
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x50]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x50]
mov edx, dword [edx]
mov eax, dword [edx + 0xfc]
call eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x110561e0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0xf0]
call eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x18]
call eax
mov al, 1
jmp 0x11056255
jmp 0x11056253
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + 0x54], 0
je 0x11056253
mov dword [ebp - 0x34], 0
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x34], 6
mov ax, word [ebp + 0xc]
mov word [ebp - 0x20], ax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x64]
mov eax, dword [ecx + 0x68]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
call fcn.11056260
mov word [ebp - 0x1e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x54]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 0x54]
mov edx, dword [eax]
mov eax, dword [edx + 0x108]
call eax
xor al, al
mov esp, ebp
pop ebp
ret 0x10