Function at 0x53834d
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 0x538375
push dword [ebx + 4]
call fcn.005379a9
mov dword [ebx + 0x2c4], eax
xor eax, eax
jmp 0x53860b
cmp esi, 0x10
jne 0x5383e4
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.005097ff
mov esi, dword [ebp + 8]
jmp 0x5385dd
cmp esi, 0x200
jne 0x5384aa
cmp byte [ebx + 0x2e0], 0
je 0x5385dd
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.0050766f
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 8]
lea ecx, [ebx + 0x18]
push dword [ebp - 0xc]
call fcn.00509190
mov edi, eax
test edi, edi
je 0x5385dd
mov eax, dword [edi]
push 0x59d310
mov ecx, edi
call dword [eax + 8]
push eax
call fcn.0054449d
pop ecx
pop ecx
test eax, eax
jne 0x5385dd
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x394]
test al, al
je 0x5385dd
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x174]
cmp eax, 1
je 0x53849b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x174]
cmp eax, 2
je 0x53849b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x174]
cmp eax, 3
jne 0x5385dd
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1a4]
jmp 0x5385dd
cmp esi, 0x202
jne 0x53856e
cmp byte [ebx + 0x2e0], 0
je 0x5385dd
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.0050766f
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 8]
lea ecx, [ebx + 0x18]
push dword [ebp - 0xc]
call fcn.00509190
mov edi, eax
test edi, edi
je 0x5385dd
mov eax, dword [edi]
push 0x59d310
mov ecx, edi
call dword [eax + 8]
push eax
call fcn.0054449d
pop ecx
pop ecx
test eax, eax
jne 0x5385dd
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x394]
test al, al
je 0x5385dd
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x174]
cmp eax, 1
je 0x538564
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x174]
cmp eax, 2
je 0x538564
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x174]
cmp eax, 3
jne 0x5385dd
push 0
push 0
push 8
mov ecx, ebx
jmp 0x5385d8
cmp esi, 0x20a
jne 0x5385c5
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 [0x577248]
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 0x53836e
cmp esi, 8
jne 0x5385dd
mov eax, dword [ebx + 4]
cmp eax, dword [ebp + 0xc]
je 0x5385dd
push 0
push 0
push 0x10
call fcn.004fa68a
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.00509d03
test al, al
je 0x5385fd
mov eax, dword [ebp - 4]
jmp 0x53860b
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
push esi
call fcn.004fa75e
pop edi
pop esi
pop ebx
leave
ret 0xc