Function at 0x50bec7
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, ecx
cmp esi, 1
jne 0x50beef
push dword [ebx + 4]
call fcn.0050b523
mov dword [ebx + 0x2c4], eax
xor eax, eax
jmp 0x50c185
cmp esi, 0x10
jne 0x50bf5e
mov eax, dword [ebx + 0x2c0]
mov esi, dword [eax]
mov edi, eax
push 0
mov ecx, edi
call dword [esi + 0x20]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
mov ecx, dword [ebx + 0x2c0]
push eax
call dword [esi + 0x1c]
mov ecx, dword [ebx + 0x2c0]
mov eax, dword [ecx]
mov dword [ebp - 8], eax
call dword [eax + 0xc4]
mov ecx, dword [ebx + 0x2c0]
sub esp, 0x10
mov esi, eax
mov eax, dword [ebp - 8]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0xc8]
mov ecx, dword [ebx + 0x2c0]
mov eax, dword [ecx]
push 0
call dword [eax + 0x18]
mov ecx, eax
call fcn.004dd425
mov esi, dword [ebp + 8]
jmp 0x50c157
cmp esi, 0x200
jne 0x50c024
cmp byte [ebx + 0x2e0], 0
je 0x50c157
and dword [ebp - 0xc], 0
xor eax, eax
lea edi, [ebp - 8]
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebx + 0x18]
call fcn.004db295
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 8]
lea ecx, [ebx + 0x18]
push dword [ebp - 0xc]
call fcn.004dcdb6
mov edi, eax
test edi, edi
je 0x50c157
mov eax, dword [edi]
push 0x56d770
mov ecx, edi
call dword [eax + 8]
push eax
call fcn.0051801d
pop ecx
pop ecx
test eax, eax
jne 0x50c157
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x394]
test al, al
je 0x50c157
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x174]
cmp eax, 1
je 0x50c015
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x174]
cmp eax, 2
je 0x50c015
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x174]
cmp eax, 3
jne 0x50c157
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1a4]
jmp 0x50c157
cmp esi, 0x202
jne 0x50c0e8
cmp byte [ebx + 0x2e0], 0
je 0x50c157
and dword [ebp - 0xc], 0
xor eax, eax
lea edi, [ebp - 8]
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
mov byte [ebx + 0x2e0], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebx + 0x18]
call fcn.004db295
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 8]
lea ecx, [ebx + 0x18]
push dword [ebp - 0xc]
call fcn.004dcdb6
mov edi, eax
test edi, edi
je 0x50c157
mov eax, dword [edi]
push 0x56d770
mov ecx, edi
call dword [eax + 8]
push eax
call fcn.0051801d
pop ecx
pop ecx
test eax, eax
jne 0x50c157
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x394]
test al, al
je 0x50c157
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x174]
cmp eax, 1
je 0x50c0de
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x174]
cmp eax, 2
je 0x50c0de
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x174]
cmp eax, 3
jne 0x50c157
push 0
push 0
push 8
mov ecx, ebx
jmp 0x50c152
cmp esi, 0x20a
jne 0x50c13f
xor eax, eax
push 8
pop ecx
mov byte [ebp - 0x30], 0
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
shr eax, 0x10
xor ecx, ecx
test ax, ax
mov eax, dword [ebp + 0x10]
sets cl
mov dword [ebp - 0x2c], 0x18
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x2c4]
add ecx, 8
lea edx, [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x1dc]
jmp 0x50bee8
cmp esi, 8
jne 0x50c157
mov eax, dword [ebx + 4]
cmp eax, dword [ebp + 0xc]
je 0x50c157
push 0
push 0
push 0x10
call fcn.004ce2b2
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
lea ecx, [ebx + 0x18]
push dword [ebp + 0xc]
push esi
call fcn.004dd929
test al, al
je 0x50c177
mov eax, dword [ebp - 4]
jmp 0x50c185
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
push esi
call fcn.004ce386
pop edi
pop esi
pop ebx
leave
ret 0xc