Function at 0x10111540
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10245dd8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x102c6474]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ecx + 0xbc]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x38], eax
test edx, edx
jne 0x1011159e
mov ecx, dword [0x11c]
mov eax, dword [ecx + 0x2c]
cmp eax, dword [ecx + 0x30]
je 0x10111730
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x11c]
mov edx, dword [eax + 0x2c]
cmp edx, dword [eax + 0x30]
je 0x101115ba
cmp byte [edx + 4], 0
je 0x101115ba
mov edi, dword [ecx + 0xc4]
jmp 0x101115c0
mov edi, dword [ecx + 0xc8]
test edi, edi
je 0x10111730
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x18]
mov esi, dword [esi + 0xc]
push ecx
mov ecx, edi
sub esi, dword [eax + 4]
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x2c], eax
add eax, ecx
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x18]
lea eax, [edx + esi]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x18]
call eax
lea ecx, [ebp - 0x58]
mov edx, eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10111480
add esp, 4
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
movups xmmword [ebp - 0x48], xmm0
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], 0
cmp byte [eax + 0x81], 0
jne 0x1011164f
mov eax, dword [eax + 0x88]
test eax, eax
jne 0x10111637
jmp 0x101116e9
test eax, eax
je 0x101116e9
mov eax, dword [eax + 0xb8]
mov esi, dword [eax]
test esi, esi
je 0x101116e9
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
mov dword [ebp - 0x14], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
call eax
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x18]
call fcn.100c6870
mov ecx, dword [ebp - 0x14]
mov esi, eax
call fcn.100c6870
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
call fcn.100bebd0
push dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
push dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x101116e9
mov esi, 1
push esi
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
mov eax, 2
cmovne esi, eax
mov dword [ebp - 0x30], esi
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x1c], esi
mov eax, dword [esi]
mov ecx, dword [eax]
test ecx, ecx
je 0x10111706
mov eax, dword [ecx]
push dword [ebp - 0x38]
call dword [eax + 0x24]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x30]
mov eax, dword [edi]
push ecx
push esi
mov ecx, edi
call dword [eax + 0x14]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
mov ecx, dword [eax]
test ecx, ecx
je 0x10111730
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101e48f0
mov esp, ebp
pop ebp
ret 0xc