Function at 0x4abe94
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
lea ebx, [ebp - 0x39]
mov esi, 0x4b441c
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x1d]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowRect
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x1d]
push eax
call sub.user32.dll_PtInRect
test eax, eax
jne 0x4abf08
lea eax, [ebp - 0x1d]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetClientRect
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x1d]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4abf08
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ClientToScreen
test eax, eax
je 0x4ac111
push 1
call sub.user32.dll_GetKeyState
movsx eax, ax
test ah, 0x80
jne 0x4abf2a
push 2
call sub.user32.dll_GetKeyState
movsx eax, ax
test ah, 0x80
je 0x4ac111
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1d], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x19], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x15], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x11], eax
push 0x45
call sub.user32.dll_GetSystemMetrics
push eax
push 0x44
call sub.user32.dll_GetSystemMetrics
push eax
lea eax, [ebp - 0x1d]
push eax
call sub.user32.dll_InflateRect
call sub.winmm.dll_timeGetTime
mov edi, eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SetCapture
xor eax, eax
push ebp
push 0x4ac10a
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.user32.dll_GetCapture
cmp eax, dword [ebp - 4]
je 0x4ac0e3
call fcn.0040435c
jmp 0x4ac111
push 0
push 0x202
push 0x201
push 0
push ebx
call sub.user32.dll_PeekMessageA
test eax, eax
jne 0x4abfd9
push 0
push 0x205
push 0x204
push 0
push ebx
call sub.user32.dll_PeekMessageA
test eax, eax
jne 0x4abfd9
push 0
push 0x208
push 0x207
push 0
push ebx
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x4ac011
call fcn.0040435c
jmp 0x4ac111
push 7
mov eax, dword [esi]
push eax
push 0
push 0
push 0
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 0x102
jne 0x4ac011
cmp byte [0x4b4420], 0
je 0x4ac011
mov byte [ebp - 0xd], 1
call fcn.0040435c
jmp 0x4ac111
push 0
push 0x202
push 0x201
push 0
push ebx
call sub.user32.dll_PeekMessageA
test eax, eax
jne 0x4ac07c
push 0
push 0x205
push 0x204
push 0
push ebx
call sub.user32.dll_PeekMessageA
test eax, eax
jne 0x4ac07c
push 0
push 0x208
push 0x207
push 0
push ebx
call sub.user32.dll_PeekMessageA
test eax, eax
jne 0x4ac07c
push 0x30001
push 0
push 0
push 0
push ebx
call sub.user32.dll_PeekMessageA
test eax, eax
jne 0x4ac07c
call sub.user32.dll_GetCapture
cmp eax, dword [ebp - 4]
je 0x4abfe3
call sub.user32.dll_GetCapture
cmp eax, dword [ebp - 4]
jne 0x4ac0ed
mov eax, dword [ebx + 4]
sub eax, 0x12
je 0x4ac0d3
sub eax, 0xd
je 0x4ac0ed
sub eax, 0xe1
je 0x4ac0cb
sub eax, 0x100
jne 0x4ac0e3
push dword [ebx + 0x18]
push dword [ebx + 0x14]
lea eax, [ebp - 0x1d]
push eax
call sub.user32.dll_PtInRect
test eax, eax
jne 0x4ac0c0
mov eax, dword [0x4b4418]
add eax, edi
cmp eax, dword [ebx + 0x10]
jbe 0x4ac0c4
xor eax, eax
jmp 0x4ac0c6
mov al, 1
mov byte [ebp - 0xd], al
jmp 0x4ac0e3
cmp dword [ebx + 8], 0x1b
je 0x4ac0ed
jmp 0x4ac0e3
mov eax, dword [ebx + 8]
push eax
call sub.user32.dll_PostQuitMessage
call fcn.0040435c
jmp 0x4ac111
cmp byte [ebp - 0xd], 0
je 0x4abf91
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac111
call sub.user32.dll_GetCapture
cmp eax, dword [ebp - 4]
jne 0x4ac109
call sub.user32.dll_ReleaseCapture
ret
mov al, byte [ebp - 0xd]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret