Function at 0x4a08d5
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x30], edi
je 0x4a0ce7
mov eax, dword [esi + 0x3c]
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
cmp eax, edi
je 0x4a092b
mov dword [esi + 0x3c], edi
call dword [0x4d66dc]
mov edx, dword [esp + 0x3c]
mov eax, ebp
and eax, 0xffff
mov ecx, ebx
shl eax, 0x10
and ecx, 0xffff
and edx, 0xffff
or eax, ecx
push eax
mov eax, dword [esi + 0x50]
push edx
push 0x200
push eax
call dword [0x4d67a0]
cmp dword [esi + 0x40], edi
je 0x4a0c7c
cmp dword [esi + 0x3c], edi
jne 0x4a0c7c
call dword [0x4d66dc]
lea ecx, [esp + 0x34]
mov dword [esi + 0x40], edi
push ecx
call dword [0x4d6748]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push edx
push eax
call dword [0x4d67f0]
mov eax, dword [esi + 0x6e4]
mov ecx, dword [esi + 0x6e8]
sub esp, 0x10
mov dword [esp + 0x24], ecx
mov edx, esp
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
mov dword [edx], eax
mov eax, ebp
mov dword [edx + 4], ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [edx + 8], ebx
mov dword [edx + 0xc], eax
call fcn.00472e50
mov edi, eax
add esp, 0x14
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov edi, dword [edi + 0xc]
mov dword [esp + 0x18], edx
mov edx, dword [esi + 0x50]
mov dword [esp + 0x10], eax
push edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], edi
call dword [0x4d67ac]
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
call dword [0x4d67ec]
mov ecx, dword [esi + 0x50]
push edi
push ecx
call dword [0x4d67b4]
mov edx, dword [esi + 0x6e4]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x6e8]
lea edi, [esi + 0x6ec]
push ecx
mov dword [esi + 0x6f0], eax
mov dword [edi], edx
mov edx, dword [esi + 0x10]
push edx
push edi
mov dword [esi + 0x6f4], ebx
mov dword [esi + 0x6f8], ebp
call dword [0x4d66a0]
mov ecx, dword [esi + 0x30]
push 0xffffffffffffffff
call fcn.0049e050
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
fmul qword [esi + 0x58]
fadd qword [0x4d6e18]
call fcn.004a7d38
mov ecx, dword [esi + 0x30]
push eax
push 0xffffffffffffffff
call fcn.0049dfa0
mov dword [esp + 0x40], eax
fild dword [esp + 0x40]
fmul qword [esi + 0x58]
fadd qword [0x4d6e18]
call fcn.004a7d38
push eax
push 0
push 0
sub esp, 0x10
mov eax, edi
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x40]
push ecx
call fcn.00472e90
mov ebx, eax
mov ebp, edi
add esp, 0x24
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], ebx
mov edx, dword [esi + 0x6f4]
mov ecx, dword [edi]
mov ebx, 0x7fff
sub edx, ecx
cmp edx, 2
jg 0x4a0be4
mov eax, dword [esi + 0x6f8]
mov edx, dword [esi + 0x6f0]
sub eax, edx
cmp eax, 2
jg 0x4a0be4
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x4a0ae0
mov eax, dword [esi + 0x6e0]
test eax, eax
je 0x4a0b91
lea ecx, [esp + 0x34]
push ecx
call dword [0x4d6748]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push edx
push eax
call dword [0x4d67f0]
mov edx, dword [esi + 0x6e4]
mov ebx, dword [esi + 0x6e8]
sub esp, 0x10
mov eax, dword [esi + 0x44]
mov ebp, esp
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], edx
mov dword [ebp], edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], eax
mov dword [ebp + 4], ebx
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
lea ecx, [esp + 0x30]
push ecx
call fcn.00472e50
mov ebx, eax
add esp, 0x14
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
mov dword [esp + 0x18], edx
mov edx, dword [esi + 0x50]
mov dword [esp + 0x10], eax
push edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ebx
call dword [0x4d67ac]
mov ebx, eax
lea eax, [esp + 0x10]
push eax
push ebx
call dword [0x4d67ec]
mov ecx, dword [esi + 0x50]
push ebx
push ecx
call dword [0x4d67b4]
mov dword [esi + 0x40], 0
mov dword [esi + 0x6e0], 0
mov ebx, 0x7fff
push 0
mov ecx, esi
call fcn.004a1040
mov edx, dword [esi + 0x50]
push edx
call dword [0x4d67a4]
push edi
call dword [0x4d6838]
mov dword [esi + 0x6e4], ebx
mov dword [esi + 0x6e8], ebx
call dword [0x4d6588]
cmp eax, dword [esi + 0x50]
jne 0x4a0c64
call dword [0x4d66dc]
mov dword [esi + 0x6e4], ebx
mov dword [esi + 0x6e8], ebx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
push 1
mov ecx, esi
mov dword [esi + 0x40], 0
call fcn.004a1040
fild dword [edi]
fdiv qword [esi + 0x58]
fadd qword [0x4d6e18]
call fcn.004a7d38
fild dword [esi + 0x6f0]
mov dword [edi], eax
fdiv qword [esi + 0x58]
fadd qword [0x4d6e18]
call fcn.004a7d38
fild dword [esi + 0x6f4]
mov dword [esi + 0x6f0], eax
fdiv qword [esi + 0x58]
fadd qword [0x4d6e18]
call fcn.004a7d38
fild dword [esi + 0x6f8]
mov dword [esi + 0x6f4], eax
fdiv qword [esi + 0x58]
fadd qword [0x4d6e18]
call fcn.004a7d38
push 0
mov ecx, esi
mov dword [esi + 0x6f8], eax
call fcn.004a1040
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov dword [esi + 0x6e4], ebx
mov dword [esi + 0x6e8], ebx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
lea eax, [esi + 0x6ec]
push eax
mov dword [esp + 0x38], eax
call dword [0x4d6634]
test eax, eax
jne 0x4a0ce7
lea ecx, [esp + 0x10]
push edi
push ecx
mov ecx, esi
call fcn.004a1190
push ebp
lea edx, [esp + 0x14]
push ebx
push edx
call dword [0x4d66d4]
test eax, eax
je 0x4a0cc2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
test byte [esp + 0x3c], 4
jne 0x4a0cd3
cmp dword [esi + 8], edi
jne 0x4a0ce7
cmp dword [esi + 0xc], edi
jne 0x4a0ce7
push 1
mov ecx, esi
call fcn.004a1040
mov ecx, dword [esp + 0x34]
push ecx
call dword [0x4d6838]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 0xc