Function at 0x4ee9a2
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push ebx
push esi
push edi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x90], 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
jne 0x4ee9ef
xor eax, eax
jmp 0x4eeeaa
mov eax, dword [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb4]
mov dword [ebp - 0x2c], eax
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movzx eax, ax
xor ecx, ecx
mov cl, ah
mov dword [ebp - 0x88], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc8]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xb0]
cmp dword [eax + 0xc4], ecx
jne 0x4eec45
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xb0]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x9c], eax
jmp 0x4eec21
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c0], 2
jne 0x4eea7b
mov eax, dword [ebp - 4]
test byte [eax], 8
je 0x4eea8c
push 2
mov eax, dword [ebp - 4]
push eax
call fcn.004f0e37
add esp, 8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4eea9b
jmp 0x4eee7f
cmp dword [ebp - 0x30], 0
je 0x4eeb69
lea eax, [ebp - 0x94]
push eax
mov eax, dword [ebp - 0x30]
dec eax
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004ebc28
add esp, 0x10
cmp dword [ebp - 0x88], 0
je 0x4eeae0
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004eabb0
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xfc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*4]
shl eax, 4
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x18]
cmp dword [eax + ecx + 0x2c], edx
jne 0x4eeb40
mov eax, dword [ebp - 0x94]
lea eax, [eax + eax*4]
shl eax, 4
add eax, dword [ebp - 0x84]
lea edi, [ebp - 0x80]
mov esi, eax
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x90], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xfc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 4]
add eax, 0xc4
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004ee412
add esp, 0xc
jmp 0x4eec40
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c0], 2
jne 0x4eeb8a
mov eax, dword [ebp - 4]
test byte [eax], 8
je 0x4eeb9b
push 2
mov eax, dword [ebp - 4]
push eax
call fcn.004f0e37
add esp, 8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4eebaa
jmp 0x4eee7f
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x30]
cmp dword [eax + 0xec], ecx
jle 0x4eec17
lea eax, [ebp - 0x94]
push eax
mov eax, dword [ebp - 0x30]
inc eax
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004ebc28
add esp, 0x10
cmp dword [ebp - 0x88], 0
je 0x4eebf7
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.004eabb0
add esp, 0xc
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
add eax, 0xb0
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004ee412
add esp, 0xc
jmp 0x4eec40
cmp dword [ebp - 0x9c], 8
je 0x4eea5f
cmp dword [ebp - 0x9c], 0x2e
je 0x4eeb6e
jmp 0x4eec40
jmp 0x4eecd6
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xa0], eax
jmp 0x4eec99
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c0], 2
jne 0x4eec6f
mov eax, dword [ebp - 4]
test byte [eax], 8
je 0x4eec80
push 2
mov eax, dword [ebp - 4]
push eax
call fcn.004f0e37
add esp, 8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4eec8f
jmp 0x4eee7f
jmp 0x4eecb8
cmp dword [ebp - 0xa0], 8
je 0x4eec53
cmp dword [ebp - 0xa0], 0x2e
je 0x4eec53
jmp 0x4eecb8
mov eax, dword [ebp - 4]
add eax, 0xc4
push eax
mov eax, dword [ebp - 4]
add eax, 0xb0
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004ee412
add esp, 0xc
test byte [ebp + 0x10], 1
je 0x4eedff
dec dword [ebp - 0x2c]
jns 0x4eecf0
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x98]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004e7be0
add esp, 0x14
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4eed21
jmp 0x4eee7f
test byte [ebp + 0x11], 1
jne 0x4eed67
mov eax, dword [ebp - 4]
test byte [eax], 2
jne 0x4eed43
mov eax, dword [ebp - 4]
test byte [eax], 4
je 0x4eed5b
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004e9022
add esp, 8
mov dword [ebp - 0x24], eax
jmp 0x4eed62
mov dword [ebp - 0x24], 0
jmp 0x4eed6e
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0
je 0x4eedb3
mov dword [ebp - 0x8c], 1
mov eax, dword [ebp - 0x24]
shr eax, 0x10
and eax, 0xffff
movzx eax, ax
test eax, eax
jne 0x4eeda5
mov eax, dword [ebp - 4]
test byte [eax + 1], 1
je 0x4eedb3
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], 0x7fff
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004ebd3e
add esp, 8
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004eaa3a
add esp, 0xc
cmp dword [ebp - 0x90], 0
je 0x4eedff
lea esi, [ebp - 0x80]
mov edi, dword [ebp - 4]
add edi, 0x5c
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
mov dword [eax + 0xac], 0xffffffff
test byte [ebp + 0x10], 2
je 0x4eee55
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4eee55
mov eax, dword [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004ea15b
add esp, 0x14
mov eax, dword [ebp - 4]
add eax, 0xb0
push eax
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004ebe0b
add esp, 0x10
mov eax, dword [ebp - 4]
cmp dword [eax + 0xec], 0
jne 0x4eee7f
push 0
push 0
push 0x47d
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x28], 0
je 0x4eee95
mov eax, dword [ebp - 4]
push eax
call fcn.004f11f2
add esp, 4
mov eax, dword [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x28]
jmp 0x4eeeaa
pop edi
pop esi
pop ebx
leave
ret