Function at 0x10070390
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3c], edi
mov eax, dword [esi + 0x260]
mov ebx, dword [eax + 8]
lea eax, [ebp - 0x38]
push eax
push ebx
mov dword [ebp - 0x44], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [esi + 0x25e], 0
je 0x10070542
cmp byte [esi + 0x10b], 0
jne 0x1007054f
mov eax, dword [esi + 0x260]
mov byte [esi + 0x10b], 1
mov ecx, dword [eax + 0xc]
movzx eax, byte [esi + 0x128]
push eax
push 1
mov edx, dword [ecx]
push 2
call dword [edx + 0xa0]
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.1006d860
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push 0x410
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
push ebx
call fcn.1006d790
mov eax, dword [esi + 0x124]
movd xmm0, dword [eax]
cvtdq2pd xmm0, xmm0
movsd qword [esi + 0x170], xmm0
movd xmm0, dword [eax + 4]
mov eax, dword [esi + 0x1bc]
mov byte [esi + 0x198], 1
cvtdq2pd xmm0, xmm0
movsd qword [esi + 0x178], xmm0
test eax, eax
je 0x10070475
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esi + 0x1bc], 0
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x1007048e
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_ClipCursor]
push 0
call dword [sym.imp.USER32.dll_ShowCursor]
cmp byte [esi + 0x108], 0
jne 0x100704ac
cmp byte [esi + 0x109], 0
je 0x10070670
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x48]
push eax
mov eax, dword [esi + 0x260]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x48]
mov ecx, dword [esi + 0x260]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.1001f220
cmp byte [esi + 0x108], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], eax
je 0x1007051d
lea eax, [ebp - 0x18]
mov byte [esi + 0x108], 0
push eax
mov ecx, edi
mov dword [ebp - 0x18], 1
call fcn.10030dc0
cmp byte [esi + 0x109], 0
je 0x10070670
mov byte [esi + 0x109], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 2
mov ecx, edi
jmp 0x1007066a
cmp byte [esi + 0x10b], 0
je 0x10070670
mov eax, dword [esi + 0x260]
mov byte [esi + 0x10b], 0
mov ecx, dword [eax + 0xc]
movzx eax, byte [esi + 0x128]
push eax
push 0
mov edx, dword [ecx]
push 2
call dword [edx + 0xa0]
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.1006d860
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 0x410
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
push ebx
call fcn.1006d790
mov eax, dword [esi + 0x124]
movd xmm0, dword [eax]
cvtdq2pd xmm0, xmm0
movsd qword [esi + 0x170], xmm0
movd xmm0, dword [eax + 4]
mov eax, dword [esi + 0x1bc]
cvtdq2pd xmm0, xmm0
movsd qword [esi + 0x178], xmm0
test eax, eax
je 0x100705e1
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esi + 0x1bc], 0
push 0
call dword [sym.imp.USER32.dll_ClipCursor]
mov ebx, dword [sym.imp.USER32.dll_ShowCursor]
push 1
call ebx
mov edi, eax
test edi, edi
jns 0x10070611
lea esp, [esp]
push 1
call ebx
lea ecx, [edi + 1]
cmp eax, ecx
jne 0x10070611
mov edi, eax
test eax, eax
js 0x10070600
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x44]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 0x260]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.1001f220
movzx eax, byte [esi + 0x128]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x1c], 0
push eax
call fcn.10030dc0
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ab974
mov esp, ebp
pop ebp
ret 4