Function at 0x45a3a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6c88
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebp + 0x10]
mov ebx, 0x80004001
movzx eax, dx
shr edx, 0x10
cmp dword [ebp + 8], 0x20a
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
jne 0x45a3f7
lea eax, [ebp - 0x18]
push eax
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp byte [ebp + 0x14], 0
je 0x45a45c
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00459f30
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
sub dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
sub dword [ebp - 0x14], eax
push ecx
mov ecx, edi
call fcn.0045a2a0
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xa8]
add dword [ebp + 8], 0x160
mov esi, eax
test esi, esi
je 0x45a44c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x50]
xor ecx, ecx
test eax, eax
cmovne ebx, ecx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2c], vtable.URect.0
jmp 0x45a474
push ecx
mov ecx, edi
call fcn.0045a1d0
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xa8]
mov esi, eax
test esi, esi
je 0x45a491
mov eax, dword [esi]
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [eax + 0x100]
test eax, eax
cmovne ebx, eax
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 0x68]
mov edx, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [ebp - 0x30], ecx
cmp eax, 0x201
jne 0x45a4b4
mov eax, dword [edi]
mov ecx, edi
push esi
mov dword [edi + 0x68], esi
call dword [eax + 0x4c]
jmp 0x45a4df
cmp eax, 0x202
jne 0x45a4c4
mov dword [edi + 0x68], 0
jmp 0x45a4e5
test ecx, ecx
je 0x45a4e5
push 1
call edx
test ax, ax
js 0x45a4df
mov dword [edi + 0x68], 0
mov dword [ebp + 8], 0x202
mov edx, dword [sym.imp.USER32.dll_GetKeyState]
mov eax, dword [edi + 0x68]
test eax, eax
je 0x45a4f0
cmp esi, eax
jne 0x45a4ff
push 1
call edx
test ax, ax
jns 0x45a501
cmp dword [edi + 0x68], 0
jne 0x45a501
xor esi, esi
mov ecx, dword [edi + 0x64]
mov dword [ebp - 0x34], ecx
mov dword [edi + 0x64], esi
test ecx, ecx
je 0x45a523
cmp esi, ecx
je 0x45a523
lea eax, [ebp - 0x18]
push eax
push str.mouseout
call fcn.0045dd10
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp + 8]
cmp eax, 0x201
jne 0x45a541
mov eax, dword [edi + 0x68]
test eax, eax
je 0x45a560
lea ecx, [ebp - 0x18]
push ecx
push str.press
mov ecx, eax
jmp 0x45a57f
cmp eax, 0x202
jne 0x45a560
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x45a560
cmp eax, esi
jne 0x45a560
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
push str.click
jmp 0x45a57f
test esi, esi
je 0x45a584
cmp esi, ecx
je 0x45a584
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
cmp esi, dword [edi + 0x68]
jne 0x45a57a
push str.press
jmp 0x45a57f
push str.mousein
call fcn.0045dd10
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret 0x10