Function at 0x10126270
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
cmp edx, 0x296
jne 0x101266dc
push dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.10125330
mov esi, eax
cmp esi, 0x200
jne 0x101262c7
cmp dword [edi + 0x6c], 0xe
je 0x10126afa
push 0
push 0
push 0x20
push dword [edi + 0x28]
mov dword [edi + 0x6c], 0xe
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp esi, 0x100
jge 0x10126416
mov edx, esi
mov ecx, edi
call fcn.10126060
cmp dword [edi + 0x2c], 1
jne 0x10126416
dec esi
cmp esi, 0x7f
ja case.0x101262f7.3
movzx eax, byte [esi + 0x10126b60]
jmp dword [eax*4 + 0x10126b3c]
push 0
push 0xf004
push 0x112
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
push 0xf003
push 0x112
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
push 0xf005
push 0x112
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
push 0xf002
push 0x112
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
push 0xf008
push 0x112
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
push 0xf006
push 0x112
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
push 0xf007
push 0x112
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
push 0xf001
push 0x112
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp esi, 0x1000
jne 0x101264b3
cmp byte [edi + 0x1ac], 0
jne 0x10126489
test byte [edi + 0x17c], 1
je 0x10126489
cmp dword [edi + 0x6c], 8
je 0x10126450
push 0
push 0
push 0x20
push dword [edi + 0x28]
mov dword [edi + 0x6c], 8
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 0x2c], 1
jne 0x101265bd
push 0
push 0xf012
push 0x112
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, 0x1000
mov ecx, edi
call fcn.10126060
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 0x6c], 7
je case.0x101262f7.3
mov dword [edi + 0x6c], 7
push 0
push 0
push 0x20
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp esi, 0x400
jne 0x10126538
cmp byte [edi + 0x1ac], 0
jne 0x10126522
test byte [edi + 0x17c], 2
je 0x10126522
cmp dword [edi + 0x6c], 2
je 0x101264e9
push 0
push 0
push 0x20
push dword [edi + 0x28]
mov dword [edi + 0x6c], 2
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 0x2c], 1
jne 0x101265bd
push 0
push 0xf012
push 0x112
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, 0x400
mov ecx, edi
call fcn.10126060
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 0x6c], 1
je case.0x101262f7.3
mov dword [edi + 0x6c], 1
jmp 0x10126496
cmp esi, 0x800
jne 0x101265b9
cmp byte [edi + 0x1ac], 0
jne 0x101265a3
test byte [edi + 0x17c], 4
je 0x101265a3
cmp dword [edi + 0x6c], 5
je 0x1012656e
push 0
push 0
push 0x20
push dword [edi + 0x28]
mov dword [edi + 0x6c], 5
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 0x2c], 1
jne 0x101265bd
push 0
push 0xf012
push 0x112
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, 0x800
mov ecx, edi
call fcn.10126060
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 0x6c], 4
je case.0x101262f7.3
mov dword [edi + 0x6c], 4
jmp 0x10126496
cmp dword [edi + 0x2c], 1
jle case.0x101262f7.3
lea eax, [ebp - 8]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 8], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10161668]
mov eax, dword [ebp - 8]
mov ecx, dword [edi + 0x50]
mov dword [edi + 0x1f0], eax
mov eax, dword [ebp - 4]
mov dword [edi + 0x1f4], eax
mov eax, dword [edi + 0x48]
mov dword [edi + 0x1fc], eax
mov eax, dword [edi + 0x4c]
mov dword [edi + 0x200], eax
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x1012661b
cvtdq2pd xmm0, xmm0
jmp 0x1012663d
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
fstp qword [ebp - 0x10]
movsd xmm0, qword [ebp - 0x10]
add esp, 8
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10161668]
mov ecx, dword [edi + 0x54]
cvttsd2si eax, xmm0
movd xmm0, ecx
mov dword [edi + 0x204], eax
lahf
test ah, 0x44
jp 0x10126669
cvtdq2pd xmm0, xmm0
jmp 0x1012668b
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
fstp qword [ebp - 0x10]
movsd xmm0, qword [ebp - 0x10]
add esp, 8
cmp dword [edi + 0x2c], 1
cvttsd2si eax, xmm0
mov dword [edi + 0x208], eax
jle 0x101266b9
mov eax, dword [edi + 0x40]
test eax, eax
je 0x101266b9
push 0
push 0
push dword [edi + 0x1e8]
push 0x2a3
push 0x2a2
push edi
call eax
push dword [edi + 0x28]
mov dword [edi + 0x1f8], esi
mov dword [0x10177418], edi
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp edx, 0x29c
jne 0x10126b05
cmp dword [edi + 0x2c], 1
jle 0x10126ad8
cmp dword [edi + 0x1f8], 0
jle 0x10126ad8
lea eax, [ebp - 8]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 8], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [edi + 0x1f8]
cmp eax, 0x10
jg 0x10126977
je 0x1012690f
dec eax
cmp eax, 7
ja case.0x10126730.3
jmp dword [eax*4 + 0x10126be0]
mov ecx, dword [edi + 0x1f0]
mov edx, dword [edi + 0x204]
mov eax, dword [edi + 0x1e8]
mov ebx, dword [edi + 0x1fc]
sub edx, dword [ebp - 8]
sub ebx, ecx
add ebx, dword [ebp - 8]
add edx, ecx
mov ecx, dword [eax + 0x18]
cmp edx, ecx
jge 0x10126768
sub edx, ecx
add ebx, edx
mov edx, ecx
jmp 0x10126775
mov eax, dword [eax + 0x20]
cmp edx, eax
jle 0x10126775
sub edx, eax
add ebx, edx
mov edx, eax
mov ecx, dword [edi + 0x1f4]
mov esi, dword [edi + 0x200]
mov eax, dword [edi + 0x1e8]
sub esi, ecx
add esi, dword [ebp - 4]
mov dword [ebp + 0xc], esi
mov esi, dword [edi + 0x208]
sub esi, dword [ebp - 4]
add esi, ecx
mov ecx, dword [eax + 0x1c]
cmp esi, ecx
jl 0x101267a8
mov ecx, dword [eax + 0x24]
cmp esi, ecx
jle 0x101267af
sub esi, ecx
add dword [ebp + 0xc], esi
mov esi, ecx
mov eax, dword [ebp + 0xc]
push esi
push edx
push eax
push ebx
push edi
call sym.ExuiKrnln_X32.dll_ControlSetRect
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [edi + 0x208]
mov ecx, dword [edi + 0x1f4]
sub esi, dword [ebp - 4]
mov edx, dword [edi + 0x200]
add esi, ecx
sub edx, ecx
mov ecx, dword [edi + 0x1e8]
add edx, dword [ebp - 4]
mov dword [ebp + 0xc], edx
mov eax, dword [ecx + 0x1c]
cmp esi, eax
jl 0x101267fd
mov eax, dword [ecx + 0x24]
cmp esi, eax
jle 0x10126806
sub esi, eax
add edx, esi
mov esi, eax
mov dword [ebp + 0xc], edx
mov ebx, dword [edi + 0x1fc]
mov eax, dword [ebp + 0xc]
jmp 0x10126aba
mov ecx, dword [edi + 0x204]
mov eax, dword [edi + 0x1e8]
sub ecx, dword [edi + 0x1f0]
add ecx, dword [ebp - 8]
mov edx, dword [eax + 0x18]
cmp ecx, edx
jl 0x10126839
cmp ecx, dword [eax + 0x20]
mov edx, ecx
cmovg edx, dword [eax + 0x20]
mov ecx, dword [edi + 0x1f4]
mov esi, dword [edi + 0x208]
mov eax, dword [edi + 0x1e8]
mov ebx, dword [edi + 0x200]
sub esi, dword [ebp - 4]
sub ebx, ecx
add ebx, dword [ebp - 4]
add esi, ecx
mov ecx, dword [eax + 0x1c]
mov dword [ebp + 0xc], ebx
cmp esi, ecx
jge 0x1012688f
sub esi, ecx
add ebx, esi
mov esi, ecx
push esi
push edx
mov dword [ebp + 0xc], ebx
mov eax, dword [ebp + 0xc]
mov ebx, dword [edi + 0x1fc]
push eax
push ebx
push edi
call sym.ExuiKrnln_X32.dll_ControlSetRect
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [eax + 0x24]
cmp esi, eax
jle 0x1012689f
sub esi, eax
add ebx, esi
mov esi, eax
mov dword [ebp + 0xc], ebx
mov eax, dword [ebp + 0xc]
mov ebx, dword [edi + 0x1fc]
push esi
push edx
push eax
push ebx
push edi
call sym.ExuiKrnln_X32.dll_ControlSetRect
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [edi + 0x204]
mov eax, dword [edi + 0x1e8]
sub ecx, dword [edi + 0x1f0]
add ecx, dword [ebp - 8]
mov edx, dword [eax + 0x18]
cmp ecx, edx
jl 0x101268e5
cmp ecx, dword [eax + 0x20]
mov edx, ecx
cmovg edx, dword [eax + 0x20]
mov esi, dword [edi + 0x208]
mov eax, dword [edi + 0x200]
mov ebx, dword [edi + 0x1fc]
push esi
push edx
push eax
push ebx
push edi
call sym.ExuiKrnln_X32.dll_ControlSetRect
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [edi + 0x204]
mov ebx, dword [edi + 0x1e8]
sub ecx, dword [edi + 0x1f0]
add ecx, dword [ebp - 8]
mov edx, dword [ebx + 0x18]
cmp ecx, edx
jl 0x10126934
cmp ecx, dword [ebx + 0x20]
mov edx, ecx
cmovg edx, dword [ebx + 0x20]
mov ecx, dword [edi + 0x208]
sub ecx, dword [edi + 0x1f4]
add ecx, dword [ebp - 4]
mov esi, dword [ebx + 0x1c]
cmp ecx, esi
jl 0x10126953
cmp ecx, dword [ebx + 0x24]
mov esi, ecx
cmovg esi, dword [ebx + 0x24]
mov eax, dword [edi + 0x200]
mov ebx, dword [edi + 0x1fc]
push esi
push edx
push eax
push ebx
push edi
call sym.ExuiKrnln_X32.dll_ControlSetRect
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x80
jg case.0x10126730.3
je 0x10126a3c
cmp eax, 0x20
je 0x10126a09
cmp eax, 0x40
jne case.0x10126730.3
mov ecx, dword [edi + 0x1f0]
mov edx, dword [edi + 0x204]
mov eax, dword [edi + 0x1e8]
mov ebx, dword [edi + 0x1fc]
sub edx, dword [ebp - 8]
sub ebx, ecx
add ebx, dword [ebp - 8]
add edx, ecx
mov ecx, dword [eax + 0x18]
cmp edx, ecx
jl 0x101269c6
mov ecx, dword [eax + 0x20]
cmp edx, ecx
jle 0x101269cc
sub edx, ecx
add ebx, edx
mov edx, ecx
mov ecx, dword [edi + 0x208]
sub ecx, dword [edi + 0x1f4]
add ecx, dword [ebp - 4]
mov esi, dword [eax + 0x1c]
cmp ecx, esi
jl 0x101269eb
cmp ecx, dword [eax + 0x24]
mov esi, ecx
cmovg esi, dword [eax + 0x24]
mov eax, dword [edi + 0x200]
push esi
push edx
push eax
push ebx
push edi
call sym.ExuiKrnln_X32.dll_ControlSetRect
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [edi + 0x208]
mov eax, dword [edi + 0x1e8]
sub ecx, dword [edi + 0x1f4]
add ecx, dword [ebp - 4]
mov esi, dword [eax + 0x1c]
cmp ecx, esi
jl 0x10126a2e
cmp ecx, dword [eax + 0x24]
mov esi, ecx
cmovg esi, dword [eax + 0x24]
mov ebx, dword [edi + 0x1fc]
mov eax, dword [edi + 0x200]
jmp 0x10126aba
mov edx, dword [edi + 0x204]
mov ecx, dword [edi + 0x1f0]
sub edx, dword [ebp - 8]
mov ebx, dword [edi + 0x1fc]
add edx, ecx
sub ebx, ecx
mov ecx, dword [edi + 0x1e8]
add ebx, dword [ebp - 8]
mov eax, dword [ecx + 0x18]
cmp edx, eax
jl 0x10126a6c
mov eax, dword [ecx + 0x20]
cmp edx, eax
jle 0x10126a72
sub edx, eax
add ebx, edx
mov edx, eax
mov esi, dword [edi + 0x208]
mov eax, dword [edi + 0x200]
push esi
push edx
push eax
push ebx
push edi
call sym.ExuiKrnln_X32.dll_ControlSetRect
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [edi + 0x1fc]
sub ebx, dword [edi + 0x1f0]
mov eax, dword [edi + 0x200]
sub eax, dword [edi + 0x1f4]
add ebx, dword [ebp - 8]
mov esi, dword [edi + 0x208]
add eax, dword [ebp - 4]
mov edx, dword [edi + 0x204]
push esi
push edx
push eax
push ebx
push edi
call sym.ExuiKrnln_X32.dll_ControlSetRect
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.10125330
mov esi, eax
mov ecx, edi
mov edx, esi
call fcn.10126060
cmp esi, 0x200
jne case.0x101262f7.3
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp edx, 0x298
jne case.0x101262f7.3
push dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.10125330
mov esi, eax
mov ecx, edi
mov edx, esi
call fcn.10126060
xor eax, eax
cmp esi, 0x200
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret 8