Function at 0x454fa6
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 0x40], 0
mov dword [ebp - 8], 0
push 4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x454fdd
xor eax, eax
jmp 0x45531d
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x1d6]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.GDI32.dll_LPtoDP]
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movzx eax, ax
xor ecx, ecx
mov cl, ah
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x34], 0
jmp 0x45506f
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x34]
cmp dword [eax + 0x10], ecx
jle 0x45529a
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx + eax*4 + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, eax
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
shl eax, 4
add eax, dword [ebp - 0x14]
add eax, 0x14
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x30]
mov ecx, eax
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
shl eax, 4
mov ecx, dword [ebp - 0x14]
test byte [eax + ecx + 0x88], 0x20
jbe 0x4550cd
mov dword [ebp - 0x28], 1
jmp 0x4550d4
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
push ecx
push eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x45523a
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
push ecx
push eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x45523a
cmp dword [ebp - 0x28], 0
jne 0x45523a
cmp dword [ebp - 0x50], 0
je 0x4551df
mov eax, dword [ebp - 0x2c]
test byte [eax + 0x74], 1
je 0x455196
push 0
push 1
mov eax, dword [ebp - 0x2c]
add eax, 0x74
push eax
call fcn.004e43fc
add esp, 0xc
mov eax, dword [ebp - 4]
dec dword [eax + 0x60]
push 0
mov eax, dword [ebp - 0x30]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x1d6]
push eax
push 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.00457b63
add esp, 0x1c
mov dword [ebp - 0x40], 1
jmp 0x4551da
push 1
push 1
mov eax, dword [ebp - 0x2c]
add eax, 0x74
push eax
call fcn.004e43fc
add esp, 0xc
mov eax, dword [ebp - 4]
inc dword [eax + 0x60]
push 0
mov eax, dword [ebp - 0x30]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x1d6]
push eax
push 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.00457b63
add esp, 0x1c
mov dword [ebp - 0x40], 1
jmp 0x455235
mov eax, dword [ebp - 0x2c]
test byte [eax + 0x74], 1
je 0x4551f1
jmp 0x455235
push 1
push 1
mov eax, dword [ebp - 0x2c]
add eax, 0x74
push eax
call fcn.004e43fc
add esp, 0xc
mov eax, dword [ebp - 4]
inc dword [eax + 0x60]
push 0
mov eax, dword [ebp - 0x30]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x1d6]
push eax
push 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.00457b63
add esp, 0x1c
mov dword [ebp - 0x40], 1
jmp 0x455295
cmp dword [ebp - 0x50], 0
jne 0x455295
mov eax, dword [ebp - 0x2c]
test byte [eax + 0x74], 1
je 0x455295
push 0
push 1
mov eax, dword [ebp - 0x2c]
add eax, 0x74
push eax
call fcn.004e43fc
add esp, 0xc
mov eax, dword [ebp - 4]
dec dword [eax + 0x60]
push 0
mov eax, dword [ebp - 0x30]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x1d6]
push eax
push 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.00457b63
add esp, 0x1c
mov dword [ebp - 0x40], 1
jmp 0x45506c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x60], 0
jge 0x4552b1
mov eax, dword [ebp - 4]
mov dword [eax + 0x60], 0
cmp dword [ebp - 0x40], 0
je 0x4552e2
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0x4000
mov eax, dword [ebp - 0x44]
add eax, 0x22
push eax
call fcn.004e43fc
add esp, 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x1d6]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
jmp 0x45531d
pop edi
pop esi
pop ebx
leave
ret