Function at 0x524ef0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58dd31
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 0x68], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc0], ecx
cmp dword [ebp + 0xc], 0
jne 0x524f2e
xor eax, eax
jmp 0x5255f2
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x10], ecx
push 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [ebp - 0xc0]
add ecx, 0x167c
call fcn.0041ca90
mov eax, dword [ebp - 0xc0]
mov byte [eax + 0x159a], 1
mov byte [ebp - 0x1d], 0
mov byte [ebp - 0x1e], 0
mov dword [ebp - 0x28], 0xffffffff
push 0
mov ecx, dword [ebp - 0xc0]
call fcn.00519130
movzx ecx, al
test ecx, ecx
je 0x524fa6
mov ecx, dword [ebp - 0xc0]
call fcn.005119c0
mov dword [ebp - 0x28], eax
jmp 0x524fc7
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [eax + 0x2c]
call edx
cmp eax, 5
jne 0x524fc7
mov ecx, dword [ebp - 0xc0]
call fcn.005119c0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc0]
mov ecx, dword [ecx + 0x16dc]
call fcn.0041f120
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x28], 0xffffffff
jne 0x5250bd
cmp dword [ebp - 0x10], 0
je 0x52500c
push 1
mov edx, dword [ebp + 0xc]
push edx
push 0x82d
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x5250b1
mov edx, dword [ebp - 0xc0]
cmp dword [edx + 0x1684], 0
jne 0x52503d
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0xc0]
add ecx, 0x167c
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx + 0x167c]
push ecx
mov ecx, dword [eax + 0x14]
call ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [eax + 0x2c]
call edx
cmp eax, 2
jne 0x5250a2
push 0x44
push 0x5a1460
push 0x5a127c
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x5250a2
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx + 0x1680]
push eax
mov ecx, dword [ebp - 0xc0]
add ecx, 0x167c
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx + 0x167c]
push ecx
mov ecx, dword [eax + 0x18]
call ecx
mov byte [ebp - 0x1d], 1
jmp 0x525163
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0xc0]
call fcn.00519ae0
mov dword [ebp - 0x1c], 0
jmp 0x52515b
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 0x16dc]
call fcn.0041f280
cmp dword [ebp - 0x24], eax
je 0x5250d8
jmp 0x525163
cmp dword [ebp - 0x10], 0
jne 0x525106
mov byte [ebp - 0x1e], 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0xc0]
add edx, 0x167c
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 0x167c]
push edx
mov edx, dword [ecx + 0x18]
call edx
jmp 0x525163
push 0
mov eax, dword [ebp + 0xc]
push eax
push 0x82d
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x10
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov edx, dword [ebp + 0xc]
push edx
push 0x7ef
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x16e8], eax
xor ecx, ecx
jne 0x524f7b
push 1
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0xc0]
add ecx, 0x167c
call fcn.0041ca90
cmp dword [ebp - 0x1c], 0
je 0x525195
push 1
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp - 0xc0]
mov byte [eax + 0x159a], 0
cmp dword [ebp - 0x10], 0
je 0x5251be
push 0
push 0
push 0x830
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0xc0]
call fcn.0051a460
mov dword [ebp - 0x2c], 0
jmp 0x5251db
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0xc0]
mov ecx, dword [ecx + 0x16dc]
call fcn.0041f280
cmp dword [ebp - 0x2c], eax
jge 0x52521b
push 0
push 0
push 0x82e
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 0x16dc]
call fcn.0041f170
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x5251d2
movzx edx, byte [ebp - 0x1e]
test edx, edx
je 0x525557
mov eax, dword [ebp - 0xc0]
cmp dword [eax + 0x1870], 0
je 0x525557
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 0x1870]
push edx
call fcn.00427260
mov ecx, dword [eax]
mov dword [ebp - 0x88], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x84], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x80], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x7c], edx
push 0
mov ecx, dword [ebp - 0xc0]
call fcn.0050f080
mov ecx, dword [ebp - 0xc0]
call fcn.0050dc10
mov ecx, dword [ebp - 0xc0]
call fcn.00510030
mov ecx, dword [ebp - 0xc0]
call fcn.00510990
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 0x1870]
push ecx
call fcn.00427260
mov edx, dword [eax]
mov dword [ebp - 0x78], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x74], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x70], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0xb0]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x78]
add eax, dword [ebp - 0x70]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x6c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0xa8]
call fcn.00529ba0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00529ba0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x58]
sub edx, dword [ebp - 0xb0]
mov dword [ebp - 0xc4], edx
fild dword [ebp - 0xc4]
fstp dword [ebp - 0x38]
fld dword [ebp - 0x38]
fcomp qword [0x5a1720]
fnstsw ax
test ah, 5
jp 0x525348
fld dword [ebp - 0x38]
fcomp qword [0x5a1718]
fnstsw ax
test ah, 0x41
jne 0x525348
fld dword [0x5a1710]
fstp dword [ebp - 0x38]
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0xac]
mov dword [ebp - 0xc8], eax
fild dword [ebp - 0xc8]
fdiv dword [ebp - 0x38]
fstp dword [ebp - 0x90]
fild dword [ebp - 0xb0]
fmul dword [ebp - 0x90]
fchs
fiadd dword [ebp - 0xac]
fstp dword [ebp - 0x8c]
mov ecx, 1
test ecx, ecx
je 0x525428
mov edx, dword [ebp - 0xb0]
sub edx, dword [ebp - 0x58]
cmp edx, 2
jge 0x5253ab
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp - 0x58]
cmp eax, 0xfffffffe
jle 0x5253ab
jmp 0x525428
mov ecx, dword [ebp - 0xac]
sub ecx, dword [ebp - 0x54]
cmp ecx, 2
jge 0x5253c9
mov edx, dword [ebp - 0xac]
sub edx, dword [ebp - 0x54]
cmp edx, 0xfffffffe
jle 0x5253c9
jmp 0x525428
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0x58]
jge 0x5253e5
mov ecx, dword [ebp - 0xb0]
add ecx, 1
mov dword [ebp - 0xb0], ecx
jmp 0x5253f4
mov edx, dword [ebp - 0xb0]
sub edx, 1
mov dword [ebp - 0xb0], edx
fild dword [ebp - 0xb0]
fmul dword [ebp - 0x90]
fadd dword [ebp - 0x8c]
call fcn.00555360
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00529c00
jmp 0x525380
mov ecx, dword [ebp - 0x80]
sub ecx, dword [ebp - 0x88]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x7c]
sub edx, dword [ebp - 0x84]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x30]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x34]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 0xa8]
call fcn.00529bc0
movzx eax, al
test eax, eax
jne 0x5254d5
mov ecx, dword [ebp - 0x64]
and ecx, 0x80000003
jns 0x52547f
dec ecx
or ecx, 0xfffffffc
inc ecx
mov edx, dword [ebp - 0x64]
add edx, 1
mov dword [ebp - 0x64], edx
test ecx, ecx
jne 0x5254c8
lea ecx, [ebp - 0xa8]
call fcn.00529be0
mov eax, dword [eax]
sub eax, dword [ebp - 0x60]
mov dword [ebp - 0xb8], eax
lea ecx, [ebp - 0xa8]
call fcn.00529be0
mov ecx, dword [eax + 4]
sub ecx, dword [ebp - 0x5c]
mov dword [ebp - 0xb4], ecx
lea edx, [ebp - 0xb8]
push edx
lea ecx, [ebp - 0x50]
call fcn.00529c00
lea ecx, [ebp - 0xa8]
call fcn.00529c20
jmp 0x52545d
lea ecx, [ebp - 0x50]
call fcn.00529bc0
movzx eax, al
test eax, eax
jne 0x525539
lea ecx, [ebp - 0x50]
call fcn.00529be0
mov dword [ebp - 0xbc], eax
push 0xd
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx + 0x1870]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
lea ecx, [ebp - 0x50]
call fcn.00529c20
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x5254d5
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.005298d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.005298d0
mov ecx, dword [ebp - 0xc0]
mov dword [ecx + 0x1870], 0
push 1
mov ecx, dword [ebp - 0xc0]
call fcn.0050f080
mov ecx, dword [ebp - 0xc0]
call fcn.0050dc10
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0xc0]
call fcn.0050f670
mov ecx, dword [ebp - 0xc0]
call fcn.00510030
mov ecx, dword [ebp - 0xc0]
call fcn.005101f0
push 1
push 1
mov ecx, dword [ebp - 0xc0]
call fcn.005112b0
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc0]
push ecx
mov edx, dword [eax + 0x20]
call edx
push 0
push 0
push 0x7ea
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x68]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret 0x10