Function at 0x40256a
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, 0x201
cmp edi, esi
je 0x40259a
cmp edi, 0x200
je 0x40259a
cmp edi, 0x202
je 0x40259a
cmp edi, 0x215
jne 0x402b85
push ebx
push 0
push dword [ebp + 8]
push 0x45280c
call fcn.0040fe94
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x402b84
cmp edi, esi
jne 0x4026f0
test byte [0x4527c4], 0x18
jne 0x402b84
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.00411b1d
push dword [ebx + 0x10]
mov dword [0x452448], eax
call fcn.00411bd6
add esp, 0xc
cmp dword [0x452448], eax
jne 0x402678
test byte [ebx + 8], 2
jne 0x402b84
push 0x28
xor esi, esi
push esi
mov edi, 0x4524c0
push edi
call fcn.0042e40a
add esp, 0xc
push edi
push ebx
push 0x41f
push dword [0x4527bc]
mov eax, 0xfffffff
mov dword [0x4524d8], esi
mov dword [0x4524dc], esi
mov dword [0x4524e0], eax
mov dword [0x4524e4], eax
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [0x452448]
call fcn.00411b9b
mov esi, 0x452420
push esi
push edi
lea eax, [ebp - 8]
push eax
push ebx
call fcn.0041ae6b
push esi
call fcn.004119c9
push 8
push dword [ebp + 8]
call fcn.004117b6
add esp, 0x20
push 1
jmp 0x4026e5
test byte [ebx + 8], 4
je 0x402b84
lea esi, [ebx + 0x24]
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x18]
push eax
movsd dword es:[edi], dword [esi]
push dword [ebx + 0xc]
call fcn.00411ca5
test eax, eax
pop ecx
pop ecx
je 0x402b84
push dword [ebp - 4]
lea eax, [ebp - 0x18]
push dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x402b84
and dword [0x4524fc], 0
push 0x10
push dword [ebp + 8]
mov dword [0x4524a8], ebx
mov dword [0x452444], ebx
mov dword [0x4524ec], 4
call fcn.004117b6
pop ecx
pop ecx
push 2
push ebx
push 0x420
jmp 0x402b78
cmp edi, 0x200
jne 0x402998
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0x4527c4]
mov ecx, eax
and ecx, 8
jne 0x402756
test al, 0x10
jne 0x402756
test byte [ebx + 8], 2
jne 0x402b84
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.00411b1d
push dword [ebx + 0x10]
mov dword [0x452448], eax
call fcn.00411bd6
mov ecx, dword [0x452448]
add esp, 0xc
cmp ecx, eax
jne 0x402b84
push ecx
call fcn.00411b9b
pop ecx
jmp 0x402b84
test ecx, ecx
je 0x402783
mov esi, 0x452420
push esi
call fcn.004119c9
push esi
push 0x4524c0
lea eax, [ebp - 8]
push eax
push ebx
call fcn.0041ae6b
push esi
call fcn.004119c9
add esp, 0x18
jmp 0x402b84
test al, 0x10
je 0x402b84
cmp dword [0x4524ec], 0
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, 0x452430
jle 0x4027cc
dec dword [0x4524ec]
jne 0x402b84
mov eax, dword [0x452444]
push esi
push dword [eax + 0xc]
call edi
push esi
call fcn.004119c9
push 0
call fcn.00411b9b
cmp dword [0x4524ec], 0
pop ecx
pop ecx
jne 0x402b84
lea eax, [ebp - 8]
push eax
push 0x45280c
call fcn.0040ff21
test eax, eax
pop ecx
pop ecx
je 0x40285e
test byte [eax + 8], 8
jne 0x40285e
cmp eax, dword [0x452444]
je 0x402b84
mov edx, dword [eax + 0x10]
cmp edx, 1
mov ecx, dword [0x4524a8]
jne 0x40280c
test byte [ecx + 8], 0x10
je 0x402835
cmp edx, 3
jne 0x402817
test byte [ecx + 8], 0x40
je 0x402835
cmp edx, 2
jne 0x402822
test byte [ecx + 8], 0x20
je 0x402835
cmp edx, 4
jne 0x402b84
test byte [ecx + 8], 0x80
jne 0x402b84
and dword [0x4524fc], 0
push esi
mov dword [0x452444], eax
call fcn.004119c9
mov eax, dword [0x452444]
pop ecx
push esi
push dword [eax + 0xc]
call edi
push esi
call fcn.004119c9
jmp 0x402750
mov esi, 0x453e50
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
push eax
push dword [0x4527bc]
movsd dword es:[edi], dword [esi]
call fcn.00411ca5
test eax, eax
pop ecx
pop ecx
je 0x402b84
push dword [ebp - 4]
lea eax, [ebp - 0x18]
push dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x402b84
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
xor edi, edi
inc edi
cmp eax, ecx
jl 0x4028c0
lea edx, [ecx + 0x1e]
cmp eax, edx
jg 0x4028c0
mov eax, dword [0x4524a8]
mov edx, dword [eax + 0x1c]
add edx, ecx
mov dword [ebp - 0x10], edx
mov ecx, edi
jmp 0x402923
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
cmp edx, ecx
jl 0x4028e2
lea esi, [ecx + 0x1e]
cmp edx, esi
jg 0x4028e2
mov eax, dword [0x4524a8]
mov edx, dword [eax + 0x20]
add edx, ecx
mov dword [ebp - 0xc], edx
push 3
jmp 0x402922
mov ecx, dword [ebp - 0x10]
cmp eax, ecx
jg 0x4028ff
lea esi, [ecx - 0x1e]
cmp eax, esi
jl 0x4028ff
mov eax, dword [0x4524a8]
sub ecx, dword [eax + 0x1c]
push 2
mov dword [ebp - 0x18], ecx
jmp 0x402922
mov ecx, dword [ebp - 0xc]
cmp edx, ecx
jg 0x402b84
lea eax, [ecx - 0x1e]
cmp edx, eax
jl 0x402b84
mov eax, dword [0x4524a8]
sub ecx, dword [eax + 0x20]
push 4
mov dword [ebp - 0x14], ecx
pop ecx
cmp ecx, dword [0x4524fc]
je 0x402b84
cmp ecx, dword [eax + 0x10]
je 0x402b84
cmp ecx, edi
jne 0x402942
test byte [eax + 8], 0x10
je 0x40296b
cmp ecx, 3
jne 0x40294d
test byte [eax + 8], 0x40
je 0x40296b
cmp ecx, 2
jne 0x402958
test byte [eax + 8], 0x20
je 0x40296b
cmp ecx, 4
jne 0x402b84
test byte [eax + 8], 0x80
jne 0x402b84
and dword [0x452444], 0
mov ebx, 0x452430
push ebx
mov dword [0x4524fc], ecx
call fcn.004119c9
lea esi, [ebp - 0x18]
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
call fcn.004119c9
pop ecx
jmp 0x402750
cmp edi, 0x202
jne 0x402b1d
mov eax, dword [0x4527c4]
mov ecx, eax
and ecx, 8
jne 0x4029b8
test al, 0x10
je 0x402b84
test ecx, ecx
je 0x402a4b
mov esi, 0x452420
push esi
call fcn.004119c9
push 8
call fcn.004117d4
push esi
push dword [0x4527bc]
call fcn.00411c6e
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
xor edi, edi
add esp, 0x10
inc edi
test eax, eax
je 0x402a37
mov eax, dword [ebx + 0x10]
cmp eax, edi
je 0x402a0f
cmp eax, 2
je 0x402a0f
cmp eax, 3
je 0x402a04
cmp eax, 4
jne 0x402a18
mov ecx, dword [0x45242c]
mov dword [ebx + 0x20], ecx
jmp 0x402a18
mov ecx, dword [0x452428]
mov dword [ebx + 0x1c], ecx
mov dword [0x452818], eax
mov dword [0x45281c], edi
call fcn.0041a95d
push edi
push ebx
push 0x422
push dword [0x4527bc]
call esi
push edi
push ebx
push 0x421
push dword [0x4527bc]
call esi
jmp 0x402b84
test al, 0x10
je 0x402b84
cmp dword [0x4524ec], 0
jne 0x402a67
push 0x452430
call fcn.004119c9
pop ecx
push 0x10
call fcn.004117d4
mov eax, dword [0x452444]
cmp eax, dword [0x4524a8]
pop ecx
je 0x402b70
test eax, eax
je 0x402a8c
mov eax, dword [eax + 0x10]
mov dword [0x4524fc], eax
mov esi, 0x452430
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
push eax
push dword [0x4527bc]
movsd dword es:[edi], dword [esi]
call fcn.00411c6e
test eax, eax
pop ecx
pop ecx
je 0x402b70
mov eax, dword [0x4524fc]
cmp eax, 1
mov ecx, dword [0x4524a8]
je 0x402ad8
cmp eax, 2
je 0x402ad8
cmp eax, 3
je 0x402ad0
cmp eax, 4
jne 0x402ade
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x18], edx
jmp 0x402ade
mov edx, dword [ebp - 0x18]
mov dword [ecx + 0x14], edx
push eax
push ecx
push 0x45280c
call fcn.0040fe17
mov eax, dword [0x4524a8]
mov eax, dword [eax + 0x10]
add esp, 0xc
push 2
pop esi
mov dword [0x452818], eax
mov dword [0x45281c], esi
call fcn.0041a95d
push esi
push ebx
push 0x422
push dword [0x4527bc]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x402b70
cmp edi, 0x215
jne 0x402b84
mov eax, dword [0x4527c4]
mov ecx, eax
and ecx, 8
jne 0x402b35
test al, 0x10
je 0x402b84
test ecx, ecx
je 0x402b50
push 0x452420
call fcn.004119c9
push 8
call fcn.004117d4
pop ecx
pop ecx
push 1
jmp 0x402b72
test al, 0x10
je 0x402b84
cmp dword [0x4524ec], 0
jne 0x402b68
push 0x452430
call fcn.004119c9
pop ecx
push 0x10
call fcn.004117d4
pop ecx
push 2
push ebx
push 0x421
push dword [0x4527bc]
call dword [sym.imp.USER32.dll_SendMessageA]
pop ebx
pop edi
xor eax, eax
pop esi
leave
ret 0x14