Function at 0x10120870
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 0x48
mov eax, dword [0x101fb008]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
mov ebx, dword [esp + 0x50]
push ebp
push esi
push edi
mov eax, dword [ebx + 4]
mov esi, ecx
cmp eax, 0x200
ja 0x10120a25
je case.0x101208ad.160
sub eax, 0x7b
cmp eax, 0x98
ja case.0x10120a3c.518
movzx eax, byte [eax + 0x101211e4]
jmp dword [eax*4 + 0x101211b4]
mov edi, dword [esi + 0xc]
test edi, edi
je case.0x10120a3c.518
mov eax, dword [ebx]
nop dword [eax]
cmp dword [edi + 0x14], eax
je 0x101208e3
mov edi, dword [edi + 0x2c]
test edi, edi
jne 0x101208c0
xor al, al
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.10147fe4
add esp, 0x48
ret 4
mov eax, dword [ebx + 8]
cmp eax, 0x10
jne 0x101208f9
cmp dword [edi + 0x44], eax
jne 0x101208f9
push edi
call fcn.1011fe40
mov eax, dword [ebx + 8]
cmp eax, 0x11
jne 0x1012090e
cmp dword [edi + 0x48], eax
jne 0x1012090e
push edi
mov ecx, esi
call fcn.10120080
mov eax, dword [ebx + 8]
push dword [ebx + 0xc]
mov ecx, edi
push eax
push 0x113
call fcn.10118f20
mov ecx, edi
call fcn.101193c0
test al, al
sete al
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.10147fe4
add esp, 0x48
ret 4
cmp byte [esi + 0x1d], 0
jne case.0x10120a3c.522
mov dword [esi + 0x18], 1
mov ecx, dword [ebx + 8]
lea eax, [ecx - 3]
cmp eax, 0x76
ja case.0x10120962.4
movzx eax, byte [eax + 0x10121288]
jmp dword [eax*4 + 0x10121280]
push ecx
mov ecx, esi
call fcn.1011fe20
push eax
mov ecx, esi
call fcn.1011fad0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.10147fe4
add esp, 0x48
ret 4
push dword [ebx + 8]
call fcn.1011fe20
push eax
mov ecx, esi
call fcn.1011fca0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.10147fe4
add esp, 0x48
ret 4
cmp dword [ebx + 8], 0x5d
je case.0x10120a3c.522
push ebx
call dword [sym.imp.USER32.dll_TranslateMessage]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.10147fe4
add esp, 0x48
ret 4
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x1c], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
xor eax, eax
cmp dword [ebx + 4], 0x200
jne 0x10120a01
mov eax, dword [ebx + 8]
push eax
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.1011f550
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.10147fe4
add esp, 0x48
ret 4
sub eax, 0x201
cmp eax, 0xa0
ja case.0x10120a3c.518
movzx eax, byte [eax + 0x10121320]
jmp dword [eax*4 + 0x10121300]
lea eax, [esp + 0x18]
mov dword [esi + 0x18], 0
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x1c], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push dword [esi + 0xc]
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.10121780
cmp byte [esi + 0x1c], 0
jne 0x10120aa9
test eax, eax
jne 0x10120ae2
push ecx
push 0
push 0
mov ecx, esi
call fcn.10120130
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.10147fe4
add esp, 0x48
ret 4
test eax, eax
jne 0x10120ad4
cmp dword [esp + 0x10], eax
jne 0x10120ae2
push ecx
push eax
push eax
mov ecx, esi
call fcn.10120130
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.10147fe4
add esp, 0x48
ret 4
push ecx
push dword [esp + 0x14]
push ecx
push eax
mov ecx, esi
call fcn.1011f400
mov edi, dword [ebx + 4]
lea eax, [esp + 0x28]
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
xorps xmm0, xmm0
push 2
push 0
push 0
push 0
push eax
movups xmmword [esp + 0x3c], xmm0
mov dword [esp + 0x54], 0
movq qword [esp + 0x4c], xmm0
call esi
test eax, eax
je case.0x10120a3c.522
mov eax, dword [esp + 0x2c]
cmp eax, edi
jne case.0x10120a3c.522
push 1
push eax
push eax
push 0
lea eax, [esp + 0x38]
push eax
call esi
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.10147fe4
add esp, 0x48
ret 4
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x1c], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push dword [esi + 0xc]
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.10121780
test eax, eax
jne case.0x10120a3c.522
push ecx
push eax
push eax
mov ecx, esi
call fcn.10120130
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.10147fe4
add esp, 0x48
ret 4
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x1c], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push dword [esi + 0xc]
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.10121780
mov edi, eax
test edi, edi
je 0x10120a86
mov eax, dword [edi]
mov ecx, edi
mov ebx, dword [esp + 0x10]
push 1
push ebx
mov eax, dword [eax + 0x6c]
call eax
test al, al
jne case.0x10120a3c.522
mov eax, dword [edi]
mov ecx, edi
push 1
push ebx
mov eax, dword [eax + 0x8c]
call eax
test al, al
je case.0x10120a3c.522
push ebx
mov ecx, edi
call fcn.10119100
mov edi, eax
test edi, edi
je case.0x10120a3c.522
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x94]
mov ebx, eax
cmp ebx, 0xffffffff
je case.0x10120a3c.522
test ebx, ebx
js case.0x10120a3c.522
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x110]
cmp ebx, eax
jge case.0x10120a3c.522
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x5c]
push ecx
push eax
push 0x111
mov ecx, esi
call fcn.10120130
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.10147fe4
add esp, 0x48
ret 4
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x10120c88
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x18]
mov dword [esi + 0x18], 0
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x1c], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x18]
mov ecx, esi
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x48], eax
lea eax, [esp + 0x10]
push 0
push eax
push dword [esi + 0xc]
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0
push eax
call fcn.10121780
mov edi, eax
mov eax, dword [esp + 0x10]
test edi, edi
jne 0x10120ce1
test eax, eax
je 0x10120a86
mov dword [esi + 0x30], edi
test edi, edi
je 0x10120cf3
push ecx
push eax
push ecx
push edi
mov ecx, esi
call fcn.1011f400
mov ebx, dword [ebx + 4]
lea eax, [esp + 0x28]
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
xorps xmm0, xmm0
push 2
push 0
push 0
push 0
push eax
movups xmmword [esp + 0x3c], xmm0
mov dword [esp + 0x54], 0
movq qword [esp + 0x4c], xmm0
call esi
test eax, eax
je 0x10120d3a
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jne 0x10120d3a
push 1
push eax
push eax
push 0
lea eax, [esp + 0x38]
push eax
call esi
xor ebp, ebp
test edi, edi
je case.0x10120a3c.522
mov esi, dword [esp + 0x10]
cmp esi, 0xffffffff
je 0x10120d79
lea ebx, [edi + 0xd4]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0xf8]
mov ecx, dword [edi + 0xf4]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x10120d72
mov ebp, dword [ecx + esi*4]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 0xf8]
xor ebx, ebx
mov ecx, dword [edi + 0xf4]
sub eax, ecx
mov esi, dword [sym.imp.USER32.dll_UpdateWindow]
test eax, 0xfffffffc
jle 0x10120e0a
mov esi, dword [ecx + ebx*4]
test esi, esi
je 0x10120dee
cmp ebp, esi
je 0x10120dee
mov ecx, dword [esi + 0x460]
test ecx, ecx
je 0x10120dee
mov edx, dword [esi + 0x30]
test edx, edx
je 0x10120dee
mov edx, dword [edx + 0x14]
mov eax, dword [ecx]
push edx
push dword [esi + 0x2c]
mov dword [esp + 0x28], edx
push dword [esi + 4]
mov eax, dword [eax + 0x18]
call eax
test al, al
je 0x10120dee
push 0
lea eax, [esi + 0x38]
mov byte [esi + 0x464], 1
mov esi, dword [esp + 0x24]
push eax
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
push esi
mov esi, dword [sym.imp.USER32.dll_UpdateWindow]
call esi
jmp 0x10120df4
mov esi, dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [edi + 0xf8]
inc ebx
mov ecx, dword [edi + 0xf4]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jl 0x10120d96
test ebp, ebp
je case.0x10120a3c.522
cmp dword [ebp + 0x460], 0
je case.0x10120a3c.522
cmp dword [ebp + 0x30], 0
je case.0x10120a3c.522
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax]
test eax, eax
je case.0x10120a3c.522
xorps xmm0, xmm0
lea ecx, [esp + 0x44]
movups xmmword [esp + 0x44], xmm0
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0xfc]
mov eax, dword [ebp + 0x30]
mov edi, dword [eax + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.USER32.dll_ScreenToClient]
movups xmm0, xmmword [ebp + 0x38]
mov eax, dword [ebp + 0x40]
lea ebx, [ebp + 0x38]
sub eax, dword [esp + 0x4c]
lea edx, [esp + 0x20]
mov ecx, dword [ebp + 0x460]
push edx
movups xmmword [esp + 0x2c], xmm0
mov dword [esp + 0x34], eax
lea edx, [esp + 0x2c]
mov eax, dword [esp + 0x48]
push edx
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
push edi
push dword [ebp + 0x2c]
push dword [ebp + 4]
mov eax, dword [eax + 0x10]
call eax
test al, al
je case.0x10120a3c.522
push 0
push ebx
push edi
mov byte [ebp + 0x464], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
push edi
call esi
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.10147fe4
add esp, 0x48
ret 4
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x1c], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push dword [esi + 0xc]
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.10121780
cmp byte [esi + 0x1c], 0
mov edi, eax
jne 0x10120f41
test edi, edi
je 0x10120f32
push edi
push dword [esp + 0x14]
push 0x207b
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [esi + 0x1d], 0
je case.0x10120a3c.522
jmp 0x10120ae2
mov ebp, dword [ebx + 4]
lea eax, [esp + 0x28]
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
xorps xmm0, xmm0
push 2
push 0
push 0
push 0
push eax
movups xmmword [esp + 0x3c], xmm0
mov dword [esp + 0x54], 0
movq qword [esp + 0x4c], xmm0
call ebx
test eax, eax
je 0x10120f88
mov eax, dword [esp + 0x2c]
cmp eax, ebp
jne 0x10120f88
push 1
push eax
push eax
push 0
lea eax, [esp + 0x38]
push eax
call ebx
mov byte [esi + 0x1f], 0
test edi, edi
je 0x10120f9d
push dword [esp + 0x10]
push ecx
push edi
mov ecx, esi
call fcn.1011f4b0
mov byte [esi + 0x1d], 0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.10147fe4
add esp, 0x48
ret 4
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x10120fc4
mov eax, dword [ecx]
call dword [eax + 8]
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x1c], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push dword [esi + 0xc]
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.10121780
cmp byte [esi + 0x1d], 0
mov ebx, eax
jne 0x10121026
test ebx, ebx
je case.0x10120a3c.522
push 0
mov ecx, ebx
call fcn.1011cc90
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.10147fe4
add esp, 0x48
ret 4
test ebx, ebx
jne 0x10121033
cmp byte [esi + 0x1f], bl
je 0x10120a86
xor al, al
mov byte [esi + 0x1f], 0
xor edi, edi
mov byte [esp + 0x17], 0
mov byte [esp + 0x16], al
test ebx, ebx
je 0x1012117f
mov ebp, dword [esp + 0x10]
cmp ebp, 0xffffffff
je 0x10121087
lea eax, [ebx + 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0xf8]
mov ecx, dword [ebx + 0xf4]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jae 0x1012107a
mov edi, dword [ecx + ebp*4]
lea eax, [ebx + 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
mov ecx, ebx
call fcn.1011cc90
test edi, edi
je 0x10121166
cmp dword [edi + 0x460], 0
je 0x1012116e
cmp dword [edi + 0x30], 0
je 0x1012116e
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
test eax, eax
je 0x10121166
xorps xmm0, xmm0
lea ecx, [esp + 0x28]
movups xmmword [esp + 0x28], xmm0
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0xfc]
mov eax, dword [edi + 0x30]
mov ebp, dword [eax + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
push ebp
call dword [sym.imp.USER32.dll_ScreenToClient]
movups xmm0, xmmword [edi + 0x38]
mov eax, dword [edi + 0x40]
lea edx, [esp + 0x16]
sub eax, dword [esp + 0x30]
mov ecx, dword [edi + 0x460]
push edx
lea edx, [esp + 0x1b]
push edx
lea edx, [esp + 0x28]
push edx
movups xmmword [esp + 0x50], xmm0
mov dword [esp + 0x58], eax
lea edx, [esp + 0x50]
mov eax, dword [esp + 0x34]
push edx
mov dword [esp + 0x54], eax
mov eax, dword [ecx]
push ebp
push dword [edi + 0x2c]
push dword [edi + 4]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x10121158
push 0
lea eax, [edi + 0x38]
mov byte [edi + 0x464], 1
push eax
push ebp
call dword [sym.imp.USER32.dll_InvalidateRect]
push ebp
call dword [sym.imp.USER32.dll_UpdateWindow]
mov al, byte [esp + 0x16]
test al, al
jne 0x1012117f
mov byte [esp + 0x17], al
jmp 0x1012116e
mov al, byte [esp + 0x16]
test al, al
jne 0x1012117f
push dword [esp + 0x10]
push ecx
push ebx
mov ecx, esi
call fcn.1011f4b0
mov al, byte [esp + 0x16]
cmp byte [esp + 0x17], 0
mov byte [esi + 0x1d], 0
je case.0x10120a3c.522
test al, al
je case.0x10120a3c.522
push ecx
push 0
push 0
mov ecx, esi
call fcn.10120130
mov ecx, dword [esp + 0x54]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10147fe4
add esp, 0x48
ret 4