Function at 0x453f00
Capabilities:
Check for unmoving mouse cursor
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x3c
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
mov ecx, 0xf
rep stosd dword es:[edi], eax
pop edi
pop ecx
mov dword [ebp - 0x40], ecx
cmp byte [0x5667b8], 0
jne 0x45422b
push dword [ebp - 0x40]
call fcn.004993d0
pop ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
sub eax, 0x20
je 0x4541c4
sub eax, 0x81
je 0x453f94
sub eax, 1
je 0x4541bb
sub eax, 1
cmp eax, 1
jbe 0x453f94
sub eax, 2
je 0x4541bb
sub eax, 1
je 0x453f94
sub eax, 0x15a
je 0x45416c
sub eax, 1
je 0x453f94
sub eax, 2
cmp eax, 1
jbe 0x453f94
sub eax, 2
je 0x4541bb
sub eax, 1
je 0x453f94
jmp 0x45422b
mov dword [ebp - 0x34], 0
test dword [ebp + 0xc], 8
je 0x453fab
or dword [ebp - 0x34], 0x1000
test dword [ebp + 0xc], 4
je 0x453fbb
or dword [ebp - 0x34], 0x200
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
cmp ax, 0
jge 0x453fd0
or dword [ebp - 0x34], 0x800
mov byte [0x5667b8], 1
cmp dword [ebp + 8], 0x203
je 0x453fe9
cmp dword [ebp + 8], 0x206
jne 0x453ff5
mov dword [0x5667bc], 0x203
jmp 0x453fff
mov dword [0x5667bc], 0x201
cmp dword [ebp + 8], 0x201
je 0x454023
cmp dword [ebp + 8], 0x203
je 0x454023
cmp dword [ebp + 8], 0xa1
je 0x454023
cmp dword [ebp + 8], 0xa3
jne 0x45402c
mov byte [0x54a810], 0
jmp 0x454033
mov byte [0x54a810], 1
mov byte [0x5661da], 0
cmp dword [ebp + 8], 0x201
je 0x45405e
cmp dword [ebp + 8], 0x204
je 0x45405e
cmp dword [ebp + 8], 0x203
je 0x45405e
cmp dword [ebp + 8], 0x206
jne 0x454098
push dword [ebp - 0x34]
mov edx, dword [ebp + 0x10]
shr edx, 0x10
movsx edx, dx
mov eax, dword [ebp - 0x40]
movsx ecx, word [eax + 0xc]
add edx, ecx
push edx
mov eax, dword [ebp - 0x40]
movsx ecx, word [eax + 0xe]
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movsx edx, dx
add ecx, edx
push ecx
mov edx, dword [ebp - 0x30]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x24]
jmp 0x454109
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movsx edx, dx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
movsx edx, dx
mov dword [ebp - 8], edx
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x40]
push dword [eax + 0x58]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x40]
call fcn.00454350
mov dword [ebp - 0x34], 0
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x40]
movsx edx, word [eax + 0xc]
add edx, dword [ebp - 8]
mov eax, dword [ebp - 0x40]
add edx, dword [eax + 0x78]
add edx, 1
push edx
mov eax, dword [ebp - 0x40]
movsx edx, word [eax + 0xe]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x40]
add edx, dword [eax + 0x78]
add edx, 1
push edx
mov edx, dword [ebp - 0x30]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x24]
mov byte [0x5667b8], 0
call fcn.004755a0
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x45415f
cmp byte [0x5661da], 0
je 0x45415f
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x30]
push dword [eax + 0x58]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov byte [0x5661da], 0
call fcn.00475600
push dword [ebp - 0x10]
push dword [ebp - 0x14]
mov edx, dword [ebp - 0x38]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x38]
mov eax, 1
lea esp, [ebp - 4]
pop esi
pop ebp
ret 0xc
mov eax, dword [ebp - 0x40]
movsx ecx, word [eax + 0xe]
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movsx edx, dx
add ecx, edx
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
movsx edx, dx
mov eax, dword [ebp - 0x40]
movsx ecx, word [eax + 0xc]
add edx, ecx
mov dword [ebp - 0x18], edx
mov byte [0x5667b8], 1
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x34]
mov byte [0x5667b8], 0
jmp 0x45422b
mov dword [ebp + 8], 0x202
jmp 0x45422b
mov eax, dword [ebp + 0x10]
and eax, 0xffffffff
cmp ax, 1
je 0x4541dd
mov eax, 0
lea esp, [ebp - 4]
pop esi
pop ebp
ret 0xc
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
call dword [sym.imp.USER32.dll_GetMessagePos]
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
and edx, 0xffff
movsx edx, dx
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x3c]
shr edx, 0x10
movsx edx, dx
mov dword [ebp - 0x2c], edx
push 0x7f00
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.004a78a0
add esp, 0x10
mov eax, eax
lea esp, [ebp - 4]
pop esi
pop ebp
ret 0xc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [ebp - 0x40]
push dword [eax + 0x58]
mov eax, dword [ebp - 0x40]
push dword [eax + 0x1dc]
call fcn.005300e0
add esp, 0x14
mov eax, eax
lea esp, [ebp - 4]
pop esi
pop ebp
ret 0xc