Function at 0x11056b00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x112194bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x38], esi
test dword [esi + 0x2e4], 0x40
je 0x11056cfb
cmp dword [esi + 0x338], 0
je 0x11056cfb
lea eax, [ebp - 0x44]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x44], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esi + 0x68]
lea eax, [ebp - 0x44]
push eax
call sym.DuiLib.dll_public:_struct_HWND______thiscall_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ebx, dword [esi + 0x2e0]
mov edi, ebx
mov ecx, dword [ebp - 0x40]
cmp ecx, ebx
mov esi, dword [esi + 0x2dc]
mov edx, esi
mov eax, dword [ebp - 0x44]
cmovg edi, ecx
cmp eax, esi
push edi
cmovg edx, eax
cmp ecx, ebx
push edx
cmovl ebx, ecx
cmp eax, esi
push ebx
cmovl esi, eax
lea ecx, [ebp - 0x14]
push esi
call sym.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiRect::constructor_int__int__int__int_
mov eax, dword [ebp - 0x38]
xor ebx, ebx
movups xmm0, xmmword [ebp - 0x14]
mov dword [ebp - 0x3c], ebx
lea edi, [eax + 0x288]
movups xmmword [eax + 0x2b0], xmm0
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 0x48], edi
call dword [eax + 0xc]
test eax, eax
jle 0x11056cf3
nop dword [eax + eax]
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax]
mov esi, eax
test esi, esi
je 0x11056ce0
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x134]
call edx
test al, al
je 0x11056ce0
mov eax, dword [esi]
sub esp, 8
mov ecx, esi
mov edx, dword [eax + 0x10]
mov eax, esp
mov dword [eax], str.ListItem
mov dword [eax + 4], 8
call edx
mov esi, eax
test esi, esi
je 0x11056ce0
mov eax, dword [edi]
xorps xmm0, xmm0
push ebx
mov ecx, edi
movups xmmword [ebp - 0x34], xmm0
call dword [eax]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x68]
push eax
lea ecx, [ebp - 0x24]
call sym.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiRect::constructor_struct_tagRECT_const__
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x11056c72
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x11056c72
mov eax, dword [esi]
mov edi, dword [eax + 0x1c]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
mov ecx, esi
setne al
push eax
call edi
mov edi, dword [ebp - 0x48]
jmp 0x11056ce0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
mov edx, dword [ebp - 0x38]
test eax, eax
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [edx + 0x354]
mov edx, dword [edx + 0x350]
push ecx
push edx
je 0x11056cba
lea eax, [ebp - 0x4c]
push eax
call fcn.110548a0
mov ecx, dword [ebp - 0x38]
add esp, 0x10
mov eax, dword [ecx + 0x354]
cmp dword [ebp - 0x4c], eax
sete al
jmp 0x11056cd5
lea eax, [ebp - 0x50]
push eax
call fcn.110548a0
mov ecx, dword [ebp - 0x38]
add esp, 0x10
mov eax, dword [ecx + 0x354]
cmp dword [ebp - 0x50], eax
setne al
mov edx, dword [esi]
mov ecx, esi
movzx eax, al
push eax
call dword [edx + 0x1c]
mov eax, dword [edi]
inc ebx
mov ecx, edi
mov dword [ebp - 0x3c], ebx
call dword [eax + 0xc]
cmp ebx, eax
jl 0x11056bc0
mov ecx, dword [ebp - 0x38]
call sym.DuiLib.dll_public:_void___thiscall_DuiLib::CControlUI::Invalidate_void_
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.110d0a88
mov esp, ebp
pop ebp
ret