Function at 0x10036d60
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 0x48
mov eax, dword [0x102632d4]
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 0x10036f15
je case.0x10036d9d.160
sub eax, 0x7b
cmp eax, 0x98
ja case.0x10036f2c.518
movzx eax, byte [eax + 0x100376d4]
jmp dword [eax*4 + 0x100376a4]
mov edi, dword [esi + 0xc]
test edi, edi
je case.0x10036f2c.518
mov eax, dword [ebx]
nop dword [eax]
cmp dword [edi + 0x14], eax
je 0x10036dd3
mov edi, dword [edi + 0x2c]
test edi, edi
jne 0x10036db0
xor al, al
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.101912fd
add esp, 0x48
ret 4
mov eax, dword [ebx + 8]
cmp eax, 0x10
jne 0x10036de9
cmp dword [edi + 0x44], eax
jne 0x10036de9
push edi
call fcn.10036330
mov eax, dword [ebx + 8]
cmp eax, 0x11
jne 0x10036dfe
cmp dword [edi + 0x48], eax
jne 0x10036dfe
push edi
mov ecx, esi
call fcn.10036570
mov eax, dword [ebx + 8]
push dword [ebx + 0xc]
mov ecx, edi
push eax
push 0x113
call fcn.1002edd0
mov ecx, edi
call fcn.1002f270
test al, al
sete al
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.101912fd
add esp, 0x48
ret 4
cmp byte [esi + 0x1d], 0
jne case.0x10036f2c.522
mov dword [esi + 0x18], 1
mov ecx, dword [ebx + 8]
lea eax, [ecx - 3]
cmp eax, 0x76
ja case.0x10036e52.4
movzx eax, byte [eax + 0x10037778]
jmp dword [eax*4 + 0x10037770]
push ecx
mov ecx, esi
call fcn.10036310
push eax
mov ecx, esi
call fcn.10035fc0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.101912fd
add esp, 0x48
ret 4
push dword [ebx + 8]
call fcn.10036310
push eax
mov ecx, esi
call fcn.10036190
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.101912fd
add esp, 0x48
ret 4
cmp dword [ebx + 8], 0x5d
je case.0x10036f2c.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.101912fd
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 0x10036ef1
mov eax, dword [ebx + 8]
push eax
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.10035a40
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.101912fd
add esp, 0x48
ret 4
sub eax, 0x201
cmp eax, 0xa0
ja case.0x10036f2c.518
movzx eax, byte [eax + 0x10037810]
jmp dword [eax*4 + 0x100377f0]
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.10037c70
cmp byte [esi + 0x1c], 0
jne 0x10036f99
test eax, eax
jne 0x10036fd2
push ecx
push 0
push 0
mov ecx, esi
call fcn.10036620
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.101912fd
add esp, 0x48
ret 4
test eax, eax
jne 0x10036fc4
cmp dword [esp + 0x10], eax
jne 0x10036fd2
push ecx
push eax
push eax
mov ecx, esi
call fcn.10036620
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.101912fd
add esp, 0x48
ret 4
push ecx
push dword [esp + 0x14]
push ecx
push eax
mov ecx, esi
call fcn.100358f0
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.0x10036f2c.522
mov eax, dword [esp + 0x2c]
cmp eax, edi
jne case.0x10036f2c.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.101912fd
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.10037c70
test eax, eax
jne case.0x10036f2c.522
push ecx
push eax
push eax
mov ecx, esi
call fcn.10036620
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.101912fd
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.10037c70
mov edi, eax
test edi, edi
je 0x10036f76
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.0x10036f2c.522
mov eax, dword [edi]
mov ecx, edi
push 1
push ebx
mov eax, dword [eax + 0x8c]
call eax
test al, al
je case.0x10036f2c.522
push ebx
mov ecx, edi
call fcn.1002efb0
mov edi, eax
test edi, edi
je case.0x10036f2c.522
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x94]
mov ebx, eax
cmp ebx, 0xffffffff
je case.0x10036f2c.522
test ebx, ebx
js case.0x10036f2c.522
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x110]
cmp ebx, eax
jge case.0x10036f2c.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.10036620
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.101912fd
add esp, 0x48
ret 4
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x10037178
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.10037c70
mov edi, eax
mov eax, dword [esp + 0x10]
test edi, edi
jne 0x100371d1
test eax, eax
je 0x10036f76
mov dword [esi + 0x30], edi
test edi, edi
je 0x100371e3
push ecx
push eax
push ecx
push edi
mov ecx, esi
call fcn.100358f0
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 0x1003722a
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jne 0x1003722a
push 1
push eax
push eax
push 0
lea eax, [esp + 0x38]
push eax
call esi
xor ebp, ebp
test edi, edi
je case.0x10036f2c.522
mov esi, dword [esp + 0x10]
cmp esi, 0xffffffff
je 0x10037269
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 0x10037262
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 0x100372fa
mov esi, dword [ecx + ebx*4]
test esi, esi
je 0x100372de
cmp ebp, esi
je 0x100372de
mov ecx, dword [esi + 0x460]
test ecx, ecx
je 0x100372de
mov edx, dword [esi + 0x30]
test edx, edx
je 0x100372de
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 0x100372de
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 0x100372e4
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 0x10037286
test ebp, ebp
je case.0x10036f2c.522
cmp dword [ebp + 0x460], 0
je case.0x10036f2c.522
cmp dword [ebp + 0x30], 0
je case.0x10036f2c.522
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax]
test eax, eax
je case.0x10036f2c.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.0x10036f2c.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.101912fd
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.10037c70
cmp byte [esi + 0x1c], 0
mov edi, eax
jne 0x10037431
test edi, edi
je 0x10037422
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.0x10036f2c.522
jmp 0x10036fd2
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 0x10037478
mov eax, dword [esp + 0x2c]
cmp eax, ebp
jne 0x10037478
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 0x1003748d
push dword [esp + 0x10]
push ecx
push edi
mov ecx, esi
call fcn.100359a0
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.101912fd
add esp, 0x48
ret 4
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x100374b4
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.10037c70
cmp byte [esi + 0x1d], 0
mov ebx, eax
jne 0x10037516
test ebx, ebx
je case.0x10036f2c.522
push 0
mov ecx, ebx
call fcn.10032a90
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.101912fd
add esp, 0x48
ret 4
test ebx, ebx
jne 0x10037523
cmp byte [esi + 0x1f], bl
je 0x10036f76
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 0x1003766f
mov ebp, dword [esp + 0x10]
cmp ebp, 0xffffffff
je 0x10037577
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 0x1003756a
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.10032a90
test edi, edi
je 0x10037656
cmp dword [edi + 0x460], 0
je 0x1003765e
cmp dword [edi + 0x30], 0
je 0x1003765e
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
test eax, eax
je 0x10037656
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 0x10037648
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 0x1003766f
mov byte [esp + 0x17], al
jmp 0x1003765e
mov al, byte [esp + 0x16]
test al, al
jne 0x1003766f
push dword [esp + 0x10]
push ecx
push ebx
mov ecx, esi
call fcn.100359a0
mov al, byte [esp + 0x16]
cmp byte [esp + 0x17], 0
mov byte [esi + 0x1d], 0
je case.0x10036f2c.522
test al, al
je case.0x10036f2c.522
push ecx
push 0
push 0
mov ecx, esi
call fcn.10036620
mov ecx, dword [esp + 0x54]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101912fd
add esp, 0x48
ret 4