Function at 0x42edc3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x478b78]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
and dword [ebp - 0x1c], 0
push 4
push eax
mov dword [ebp - 0x28], ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x42efce
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push eax
call esi
mov ebx, eax
push dword [ebx + 0x1d6]
call esi
mov edi, eax
push dword [edi + 0x50]
call esi
push dword [edi + 0x58]
mov dword [ebp - 0x18], eax
call esi
push dword [edi + 0x40]
mov dword [ebp - 0x38], eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x40]
mov dword [ebp - 0x24], esi
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.GDI32.dll_LPtoDP]
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
xor ecx, ecx
movzx eax, al
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], ecx
cmp dword [eax + 0x10], ecx
jle 0x42ef85
mov ecx, dword [ebp - 0x18]
add eax, 0x14
mov dword [ebp - 0x34], eax
mov eax, dword [eax]
xor dl, dl
imul esi, eax, 0xd0
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + esi + 0x88]
push dword [esi + ecx + 0x20]
and al, 0x20
push dword [esi + ecx + 0x1c]
cmp dl, al
push dword [ebp - 0x28]
sbb eax, eax
neg eax
mov dword [ebp - 0x44], eax
mov eax, dword [esi + ecx + 0x24]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + ecx + 0x28]
mov dword [ebp - 0x3c], eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x42ef20
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x42ef20
cmp dword [ebp - 0x44], 0
jne 0x42ef20
cmp dword [ebp - 0x2c], 0
je 0x42ef0c
mov eax, dword [ebp - 0x18]
add eax, 0x88
add eax, esi
xor esi, esi
test byte [eax], 1
jne 0x42ef38
inc esi
push esi
push esi
push eax
call fcn.0046bad9
inc dword [edi + 0x60]
lea eax, [ebp - 0x14]
push 0
push dword [ebp - 0x20]
push esi
push eax
push dword [ebx + 0x1d6]
push 0
push dword [ebp - 0x24]
call fcn.00431134
mov dword [ebp - 0x1c], esi
jmp 0x42ef64
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + 0x88]
add eax, esi
test byte [eax], 1
jne 0x42ef67
xor esi, esi
jmp 0x42eee1
cmp dword [ebp - 0x2c], 0
jne 0x42ef64
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + 0x88]
add eax, esi
test byte [eax], 1
je 0x42ef67
xor esi, esi
push esi
push 1
push eax
call fcn.0046bad9
dec dword [edi + 0x60]
lea eax, [ebp - 0x14]
push esi
push dword [ebp - 0x20]
push 1
push eax
push dword [ebx + 0x1d6]
push esi
push dword [ebp - 0x24]
call fcn.00431134
mov dword [ebp - 0x1c], 1
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x38]
inc edx
mov eax, dword [ebp - 0x34]
add eax, 4
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], eax
cmp edx, dword [esi + 0x10]
jl 0x42ee6f
xor ecx, ecx
cmp dword [edi + 0x60], ecx
jge 0x42ef8d
mov dword [edi + 0x60], ecx
cmp dword [ebp - 0x1c], 0
je 0x42efae
push ecx
push ecx
push dword [edi + 0x40]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0x4000
lea eax, [ebx + 0x22]
push eax
call fcn.0046bad9
push dword [edi + 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call esi
push dword [edi + 0x58]
call esi
push dword [ebx + 0x1d6]
call esi
push dword [ebp - 0x48]
call esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00475d95
mov esp, ebp
pop ebp
ret 8