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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x1e8], 0
jne 0x4423af
cmp byte [edi + 0x1f5], 0
mov ebx, dword [0x531490]
je 0x4420c0
push 0x17
call ebx
neg eax
sbb eax, eax
neg eax
inc eax
push eax
call dword [0x5314b0]
shr eax, 0xf
test al, 1
je 0x4420c0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
mov esi, edi
call fcn.00443670
mov ecx, eax
call fcn.00450d20
test al, al
je 0x4420c0
cmp byte [edi + 0x1f4], 0
jne 0x4420c0
call fcn.00443670
mov edx, dword [ebp + 0x10]
sub edx, dword [eax + 0xc]
mov ecx, dword [ebp + 0xc]
sub ecx, dword [eax + 8]
push edx
push ecx
mov eax, edi
call fcn.004434f0
mov edx, dword [ebp + 0xc]
xor esi, esi
mov dword [edi + 0x2a0], esi
cmp edx, dword [edi + 0x284]
jne 0x4420f5
mov eax, dword [ebp + 0x10]
cmp eax, dword [edi + 0x288]
jne 0x4420f5
mov edx, dword [edi]
mov eax, dword [edx + 0x84]
push 1
mov ecx, edi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
or eax, 0xffffffff
cmp byte [edi + 0x1f4], 0
mov dword [edi + 0x288], eax
mov dword [edi + 0x284], eax
jne 0x44222c
cmp dword [edi + 8], esi
jle 0x442135
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + esi*4]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
call edx
inc esi
cmp esi, dword [edi + 8]
jl 0x442119
mov ebx, 1
cmp dword [edi + 0x1f8], ebx
je 0x4423af
mov ecx, dword [ebp + 0x10]
mov eax, dword [edi]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 0x64]
push 0
push ecx
push edx
mov ecx, edi
call eax
test eax, eax
je 0x44220c
cmp byte [edi + 0x38], 0
jne 0x442173
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
mov byte [edi + 0x38], bl
call eax
cmp byte [0x589678], 0
jne 0x4423af
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ecx
push edx
call fcn.004406d0
test eax, eax
jge 0x4421cd
cmp byte [edi + 0x1f4], 0
je 0x4421b7
push 0x7f86
push 0
call dword [0x5314b8]
push eax
call dword [0x531504]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x2e8]
push eax
call dword [0x531504]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [edi + 4]
mov eax, dword [ecx + eax*4]
test eax, eax
je 0x4423af
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x94]
call eax
test al, al
je 0x4423af
push 0x7f89
push 0
call dword [0x5314b8]
push eax
call dword [0x531504]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [edi + 0x38], 0
je 0x4423af
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
mov byte [edi + 0x38], 0
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [edi + 0x1f8], esi
je 0x44226b
push 0x17
call ebx
neg eax
sbb eax, eax
neg eax
inc eax
push eax
call dword [0x5314b0]
shr eax, 0xf
test al, 1
jne 0x44226b
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [edi]
mov edx, dword [edx + 0x1c]
push eax
mov eax, dword [ebp + 8]
push ecx
push eax
mov ecx, edi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
mov esi, edi
call fcn.004434a0
mov esi, eax
call fcn.004516e0
test al, al
je 0x4422c5
cmp byte [edi + 0x228], 0
jne 0x442296
mov eax, dword [edi + 0x1ec]
jmp 0x44229c
mov eax, dword [edi + 0x1f0]
mov edx, dword [edi + 0x1fc]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x200]
mov dword [esp + 0x14], edx
mov edx, dword [edi]
mov edx, dword [edx + 0xb0]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call edx
xor eax, eax
cmp byte [edi + 0x230], al
sete al
mov esi, eax
mov eax, dword [edi + 0x1f8]
test al, 2
je 0x442320
lea ebx, [edi + 0x204]
push ebx
call dword [0x531450]
lea ecx, [esp + 0x10]
mov eax, edi
call fcn.00440650
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [edi]
mov edx, dword [edx + 0x54]
push esi
push eax
mov eax, dword [edi + 0x208]
sub eax, dword [edi + 0x200]
push ecx
mov ecx, dword [ebx]
sub ecx, dword [edi + 0x1fc]
push eax
push ecx
mov ecx, edi
call edx
jmp 0x442374
test al, 1
je 0x4423af
lea ebx, [edi + 0x204]
push ebx
call dword [0x531450]
lea ecx, [esp + 0x10]
mov eax, edi
mov dword [edi + 0x1f8], 2
call fcn.00440650
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [edi]
mov eax, dword [eax + 0x54]
push esi
push ecx
mov ecx, dword [edi + 0x208]
sub ecx, dword [edi + 0x200]
push edx
mov edx, dword [ebx]
sub edx, dword [edi + 0x1fc]
push ecx
push edx
mov ecx, edi
call eax
cmp byte [edi + 0x230], 0
je 0x4423af
lea eax, [esp + 0x10]
mov edx, edi
call fcn.00440570
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push esi
sub ecx, ebx
push ecx
sub eax, edx
push eax
push ebx
push edx
mov eax, edi
call fcn.00441ee0
push eax
call dword [0x531464]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc