Function at 0x48a480
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x624500]
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 0x48a67b
cmp dword [esi + 0x338], 0
je 0x48a67b
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 fcn.00474970
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 fcn.00480b10
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 0x48a673
nop dword [eax + eax]
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax]
mov esi, eax
test esi, esi
je 0x48a660
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x134]
call edx
test al, al
je 0x48a660
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 0x48a660
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 fcn.00480ae0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x48a5f2
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x48a5f2
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 0x48a660
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 0x48a63a
lea eax, [ebp - 0x4c]
push eax
call fcn.004880c0
mov ecx, dword [ebp - 0x38]
add esp, 0x10
mov eax, dword [ecx + 0x354]
cmp dword [ebp - 0x4c], eax
sete al
jmp 0x48a655
lea eax, [ebp - 0x50]
push eax
call fcn.004880c0
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 0x48a540
mov ecx, dword [ebp - 0x38]
call fcn.00484110
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053a175
mov esp, ebp
pop ebp
ret