Function at 0x5198b0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
xor ebx, ebx
push esi
push edi
mov eax, dword [ebp + 4]
mov esi, ecx
cmp eax, 0x100
ja 0x5198e1
je case.0x519900.260
lea ecx, [eax - 0xa0]
cmp ecx, 5
ja case.default.0x519a3b
jmp dword [ecx*4 + 0x519c94]
cmp eax, 0x113
ja 0x519a2c
je 0x5199c0
add eax, 0xfffffeff
cmp eax, 5
ja case.default.0x519a3b
jmp dword [eax*4 + 0x519cac]
mov eax, dword [esi + 4]
xor ebx, ebx
cmp eax, ebx
je 0x51991f
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
mov dword [esi], 1
mov eax, dword [ebp + 8]
lea ecx, [eax - 3]
cmp ecx, 0x76
ja case.0x519900.257
xor edx, edx
mov dl, byte [ecx + 0x519cd0]
jmp dword [edx*4 + 0x519cc4]
push eax
mov ecx, esi
call fcn.00518c00
push eax
mov ecx, esi
call fcn.00519200
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
mov eax, dword [esi + 0x14]
cmp dword [eax + 0x5c], ebx
je case.0x519900.257
push eax
mov ecx, esi
call fcn.00518bf0
test eax, eax
jne case.0x519900.257
mov ecx, esi
call fcn.00518ee0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
mov eax, dword [ebp + 8]
mov ecx, esi
push eax
call fcn.00518c00
push eax
mov ecx, esi
call fcn.00519670
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
push ebp
call dword [sym.imp.USER32.dll_TranslateMessage]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
mov ecx, dword [ebp]
push ecx
mov ecx, esi
call fcn.005190a0
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je case.default.0x519a3b
mov ecx, dword [ebp + 8]
mov eax, 0xacc
cmp ecx, eax
jne 0x5199f6
cmp dword [edi + 0x84], eax
jne 0x5199f6
push edi
mov ecx, esi
mov dword [edi + 0x64], ebx
call fcn.00518830
mov ecx, dword [ebp + 8]
mov eax, 0xabb
cmp ecx, eax
jne 0x519c76
cmp dword [edi + 0x80], eax
jne 0x519c76
push edi
mov ecx, esi
mov dword [edi + 0x64], ebx
call fcn.00518b30
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
lea ecx, [eax - 0x200]
cmp ecx, 5
ja case.default.0x519a3b
jmp dword [ecx*4 + 0x519d48]
mov eax, dword [esi + 0x30]
xor ebx, ebx
cmp eax, ebx
jne case.0x519a3b.515
lea edx, [esp + 0x10]
mov dword [esi], ebx
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esi + 0x14]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00518180
test eax, eax
jne 0x519a90
mov ecx, esi
call fcn.00518ee0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
mov ecx, dword [ebp + 4]
push ecx
mov ecx, esi
call fcn.005190d0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esi + 0x14]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00518180
cmp eax, ebx
jne 0x519aed
mov ecx, esi
call fcn.00518ee0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
mov ecx, dword [esp + 0x1c]
push ecx
push eax
mov ecx, esi
call fcn.00518dd0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
lea edx, [esp + 0x10]
xor ebx, ebx
push edx
mov dword [esi], ebx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esi + 0x14]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00518180
mov edi, eax
cmp edi, ebx
jne 0x519b58
cmp dword [esp + 0x1c], ebx
jne 0x519b58
mov ecx, esi
call fcn.00518ee0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
cmp edi, dword [esi + 0x18]
jne 0x519b64
mov ecx, esi
call fcn.00519870
cmp edi, ebx
je 0x519b77
mov ecx, dword [esp + 0x1c]
push 1
push ecx
push edi
mov ecx, esi
call fcn.00518e40
mov edx, dword [ebp + 4]
mov ecx, esi
push edx
call fcn.005190d0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
cmp dword [esi + 0x30], ebx
jne case.0x519a3b.514
cmp dword [esi + 4], ebx
je case.0x519900.261
push eax
mov ecx, esi
call fcn.005190d0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
cmp dword [esi + 4], ebx
jne 0x519bca
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi + 0x14]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00518180
mov edx, dword [esi + 0x14]
cmp dword [edx + 0x5c], ebx
je 0x519c15
cmp eax, ebx
jne 0x519c3b
mov ecx, esi
call fcn.00518ee0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
cmp eax, ebx
jne 0x519c34
cmp dword [esi + 0x3c], ebx
jne 0x519c34
mov ecx, esi
call fcn.00518ee0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
cmp eax, ebx
mov dword [esi + 0x3c], ebx
je 0x519c48
mov ecx, dword [esp + 0x1c]
push ecx
push eax
mov ecx, esi
call fcn.00518d10
mov dword [esi + 4], ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.00518fc0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4