Function at 0x4314a0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
push 0x20
call fcn.00521f77
mov esi, eax
add esi, esi
push 0x1e
call fcn.00521f77
add esi, eax
push 0x20
call fcn.00521f77
sar eax, 1
jns 0x4314ce
adc eax, 0
add esi, eax
inc esi
mov dword [ebp - 8], esi
push 0x21
call fcn.00521f77
mov esi, eax
push 4
call fcn.00521f77
add esi, eax
push 0xf
call fcn.00521f77
add esi, eax
push 0x21
call fcn.00521f77
add esi, eax
push 0x21
call fcn.00521f77
sar eax, 1
jns 0x431506
adc eax, 0
add esi, eax
inc esi
mov dword [ebp - 0xc], esi
push dword [ebp + 8]
call sub.USER32.dll_GetParent
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x431525
mov eax, dword [0x55f2b0]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x431534
mov edx, dword [0x56413c]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x431547
push 0xfffffffffffffff8
push dword [ebp + 8]
call sub.USER32.dll_GetWindowLongA
mov dword [ebp - 0x10], eax
cmp ebx, 0x10
je 0x431556
cmp ebx, 0x11
je 0x431556
cmp ebx, 0x1e
jne 0x43155b
mov esi, dword [ebp - 0x10]
jmp 0x4315a1
cmp ebx, 3
jle 0x43159b
cmp ebx, 0x12
jge 0x43159b
cmp dword [0x56f024], 0
je 0x431594
push dword [0x56f024]
call sub.USER32.dll_IsIconic
test eax, eax
jne 0x431594
push dword [0x56f024]
call sub.USER32.dll_IsWindowVisible
test eax, eax
je 0x431594
mov esi, dword [0x56f024]
jmp 0x4315a1
xor ebx, ebx
mov esi, dword [ebp - 0x10]
jmp 0x4315a1
mov esi, dword [0x56f018]
mov eax, dword [0x563368]
test eax, eax
je 0x4315c7
mov edx, dword [eax + 0xc8]
cmp edx, dword [ebp + 8]
jne 0x4315bd
mov esi, dword [eax + 0xcc]
xor ebx, ebx
mov eax, dword [eax + 0x1018]
test eax, eax
jne 0x4315aa
mov eax, dword [0x56c1fc]
test eax, eax
je 0x4315ed
cmp eax, dword [ebp - 0x10]
jne 0x4315ed
xor ebx, ebx
push 0x69
push eax
call sub.USER32.dll_GetDlgItem
mov esi, eax
test esi, esi
jne 0x43160e
mov esi, dword [0x56c1fc]
jmp 0x43160e
test esi, esi
je 0x431605
push esi
call sub.USER32.dll_IsIconic
test eax, eax
jne 0x431605
push esi
call sub.USER32.dll_IsWindowVisible
test eax, eax
jne 0x43160e
xor ebx, ebx
call sub.USER32.dll_GetDesktopWindow
mov esi, eax
call sub.USER32.dll_GetDesktopWindow
cmp esi, eax
jne 0x43162c
push 0
lea eax, [ebp - 0x28]
push eax
push 0
push dword [0x56f018]
call fcn.004d56b4
jmp 0x431636
lea edx, [ebp - 0x28]
push edx
push esi
call sub.USER32.dll_GetWindowRect
lea ecx, [ebp - 0x38]
push ecx
push dword [ebp + 8]
call sub.USER32.dll_GetWindowRect
test ebx, ebx
je 0x431655
cmp ebx, 4
je 0x431655
cmp ebx, 5
je 0x431655
cmp ebx, 0x1e
jne 0x4316b7
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
sub edi, eax
sar edi, 1
jns 0x431664
adc edi, 0
add edi, eax
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0x38]
sar edx, 1
jns 0x431673
adc edx, 0
sub edi, edx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
sub ecx, eax
sar ecx, 1
jns 0x431684
adc ecx, 0
add ecx, eax
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x34]
sar edx, 1
jns 0x431693
adc edx, 0
sub ecx, edx
mov dword [ebp - 4], ecx
mov eax, dword [0x56c1fc]
test eax, eax
je 0x431744
cmp eax, dword [ebp - 0x10]
jne 0x431744
sub dword [ebp - 4], 0xa
jmp 0x431744
mov edi, dword [ebp - 0x28]
add edi, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
lea edx, [ebp - 0x18]
push edx
call sub.USER32.dll_GetCursorPos
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x38]
sar ecx, 1
jns 0x4316dc
adc ecx, 0
mov eax, dword [ebp - 0x18]
sub eax, ecx
cmp edi, eax
jle 0x4316e7
mov eax, edi
cmp ebx, 7
jne 0x431707
mov edx, dword [ebp - 8]
sar edx, 1
jns 0x4316f6
adc edx, 0
sub edi, edx
mov ecx, dword [ebp - 0xc]
sar ecx, 1
jns 0x431702
adc ecx, 0
sub dword [ebp - 4], ecx
jmp 0x431744
cmp ebx, 0x12
jne 0x431710
mov edi, eax
jmp 0x431744
cmp ebx, 0x13
jne 0x431719
mov edi, eax
jmp 0x431744
cmp ebx, 0x14
jne 0x431722
mov edi, eax
jmp 0x431744
cmp ebx, 0x15
jne 0x43172b
mov edi, eax
jmp 0x431744
cmp ebx, 0x16
jne 0x431734
mov edi, eax
jmp 0x431744
cmp ebx, 0x17
jne 0x43173d
mov edi, eax
jmp 0x431744
cmp ebx, 0x18
jne 0x431744
mov edi, eax
cmp dword [0x55f824], 0
je 0x4317d1
cmp dword [0x55efc0], 3
jne 0x4317d1
lea eax, [ebp - 0x18]
push eax
call sub.USER32.dll_GetCursorPos
push 0
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x18]
push ecx
push 0
call fcn.004d56b4
lea eax, [ebp - 0x18]
push eax
call sub.USER32.dll_GetCursorPos
push 1
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x18]
push ecx
push 0
call fcn.004d56b4
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x44]
jle 0x4317a0
mov edi, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4317fd
mov edx, dword [ebp - 0x28]
cmp edx, dword [ebp - 0x48]
jle 0x4317b2
xor edi, edi
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
jmp 0x4317fd
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x3c]
jge 0x4317c2
mov edi, dword [ebp - 0x20]
mov dword [ebp - 4], eax
jmp 0x4317fd
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x40]
jge 0x4317fd
mov edi, edx
mov dword [ebp - 4], eax
jmp 0x4317fd
call sub.USER32.dll_GetDesktopWindow
cmp esi, eax
jne 0x4317ef
push 0
lea eax, [ebp - 0x28]
push eax
push 0
push dword [0x56f018]
call fcn.004d56b4
jmp 0x4317fd
push 0
lea edx, [ebp - 0x28]
push edx
push 0
push esi
call fcn.004d56b4
cmp dword [0x55efc0], 3
jne 0x43180e
xor ecx, ecx
mov dword [0x55efc0], ecx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffffe
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
add eax, edi
cmp edx, eax
jge 0x431824
sub eax, edx
sub edi, eax
mov eax, dword [ebp - 0x28]
add eax, 2
cmp edi, eax
jge 0x431830
mov edi, eax
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffffe
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
add eax, dword [ebp - 4]
cmp edx, eax
jge 0x431848
sub eax, edx
sub dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add eax, 2
cmp eax, dword [ebp - 4]
jle 0x431856
mov dword [ebp - 4], eax
push 0x15
push 0
push 0
push dword [ebp - 4]
push edi
push 0
push dword [ebp + 8]
call sub.USER32.dll_SetWindowPos
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8