Function at 0x476600
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e3086
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push esi
push edi
mov eax, dword [0x658aa8]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
cmp ebx, 1
jne 0x4768fc
mov eax, dword [esi + 4]
push 0
lea edi, [esi + 0x14]
push eax
mov byte [esi + 0x3f0], bl
call fcn.0042b0f0
push ebx
mov eax, edi
call fcn.0042b2f0
push 0x440
call fcn.0048fcc0
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0xb0], 0
test eax, eax
je 0x476683
call fcn.00471780
jmp 0x476685
xor eax, eax
mov dword [esp + 0xb0], 0xffffffff
push 1
mov dword [esi + 0x56c], eax
mov edx, dword [eax]
push 0
mov ecx, eax
mov eax, dword [edx + 0x20]
push edi
call eax
mov ecx, dword [esi + 0x568]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
add eax, 0x494
push 1
push eax
mov eax, str.VerticalLayout
call fcn.004296b0
test eax, eax
jne 0x4766dc
push 1
push 0x66bef4
mov eax, str.VerticalLayout
call fcn.004296b0
test eax, eax
je 0x4766ee
mov eax, dword [eax]
test eax, eax
je 0x4766ee
mov ecx, dword [esi + 0x56c]
push eax
call fcn.0043cd00
mov ecx, dword [esi + 0x56c]
mov ebx, dword [ecx]
mov edx, 1
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edi, edx
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov edx, dword [ebx + 0x17c]
call edx
mov eax, dword [esi + 0x56c]
or ebx, 0xffffffff
cmp dword [eax + 0x264], ebx
je 0x476731
mov dword [eax + 0x264], ebx
call fcn.0043b730
mov eax, dword [esi + 0x56c]
mov ecx, 0xffc6c7d2
cmp dword [eax + 0x2fc], ecx
je 0x47674f
mov dword [eax + 0x2fc], ecx
call fcn.0043b730
mov eax, dword [esi + 0x56c]
cmp dword [eax + 0x308], edi
je 0x476768
mov dword [eax + 0x308], edi
call fcn.0043b730
mov ecx, dword [esi + 0x56c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x19c]
push 0
call edx
mov ecx, dword [esi + 0x56c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1f8]
push 0
push edi
call edx
mov eax, dword [esi + 0x568]
push eax
lea eax, [esp + 0x64]
call fcn.00477b90
mov dword [esp + 0xb0], edi
mov eax, dword [eax]
mov ecx, dword [esi + 0x56c]
push eax
call fcn.0043cd00
mov dword [esp + 0xb0], ebx
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x64]
cmp eax, ecx
je 0x4767ce
push eax
call fcn.0049b045
add esp, 4
mov eax, dword [esi + 0x568]
mov edx, dword [eax + 0x350]
lea ecx, [eax + 0x350]
mov eax, dword [edx + 0xc]
xor ebx, ebx
call eax
test eax, eax
jle 0x47683f
jmp 0x4767f0
mov ecx, dword [esi + 0x56c]
mov eax, dword [esi + 0x568]
mov edi, dword [ecx + 0x350]
mov edx, dword [eax + 0x350]
lea ecx, [eax + 0x350]
mov eax, dword [edx]
push ebx
add edi, 0x10
call eax
mov ecx, dword [esi + 0x56c]
mov edx, dword [edi]
push eax
add ecx, 0x350
call edx
mov eax, dword [esi + 0x568]
lea ecx, [eax + 0x350]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
inc ebx
call edx
cmp ebx, eax
jl 0x4767f0
mov ecx, dword [esi + 0x568]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
add eax, 0x4b8
lea edi, [esi + 0x4cc]
push eax
call fcn.004448e0
mov eax, dword [esi + 0x568]
mov cl, byte [eax + 0x44d]
mov edx, dword [esi + 0x56c]
push edx
lea eax, [esi + 0x14]
mov byte [esi + 0x4de], cl
call fcn.0042e4c0
inc dword [esi + 0x334]
mov ecx, dword [esi + 0x334]
mov eax, dword [esi + 0x338]
cmp ecx, eax
lea ebx, [esi + 0x10]
jl 0x4768ca
lea edi, [eax + eax]
test edi, edi
jne 0x4768a3
mov edi, 0xb
mov ecx, dword [esi + 0x330]
lea eax, [edi*4]
push eax
push ecx
call fcn.0049b1ec
add esp, 8
test eax, eax
je 0x4768f4
mov dword [esi + 0x338], edi
mov dword [esi + 0x330], eax
mov edx, dword [esi + 0x334]
mov eax, dword [esi + 0x330]
mov dword [eax + edx*4 - 4], ebx
xor eax, eax
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
dec dword [esi + 0x334]
jmp 0x4768da
cmp ebx, 0x10
jne 0x4769c2
mov eax, dword [esi + 0x568]
mov ebx, dword [eax]
mov edx, dword [ebx + 0x24]
mov edi, eax
push 0
mov ecx, edi
call edx
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
mov ecx, edi
call edx
mov ecx, dword [esi + 0x568]
push eax
mov eax, dword [ebx + 0x20]
call eax
mov eax, dword [esi + 0x568]
mov edx, dword [eax + 0x350]
lea ecx, [eax + 0x350]
mov eax, dword [edx + 0xc]
xor ebx, ebx
xor edi, edi
call eax
test eax, eax
jle 0x4769aa
lea ecx, [ecx]
mov eax, dword [esi + 0x568]
mov edx, dword [eax + 0x350]
lea ecx, [eax + 0x350]
mov eax, dword [edx]
push edi
call eax
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
push 1
sub esp, 0x10
mov edx, esp
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [edx], eax
mov eax, dword [esp + 0x28]
mov dword [edx + 4], ebx
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
mov edx, dword [eax + 0x5c]
call edx
mov eax, dword [esi + 0x568]
lea ecx, [eax + 0x350]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
inc edi
call edx
cmp edi, eax
jl 0x476950
mov ecx, dword [esi + 0x568]
mov eax, dword [ecx]
mov edx, dword [eax + 0x128]
call edx
mov ebx, dword [ebp + 8]
jmp 0x476c0f
cmp ebx, 0x201
jne 0x476a0d
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi + 0x88]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov edx, esi
call fcn.00476570
mov byte [esi + 0x574], al
jmp 0x476c0f
cmp ebx, 0x202
jne 0x476a74
lea edx, [esp + 0x14]
xor edi, edi
push edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esi + 0x88]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp byte [esi + 0x574], 0
je 0x476a68
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
mov edx, esi
call fcn.00476570
test al, al
je 0x476a68
mov ecx, dword [esi + 4]
push edi
push edi
push 8
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov byte [esi + 0x574], 0
jmp 0x476c0f
cmp ebx, 0x100
jne 0x476b1c
mov eax, dword [ebp + 0xc]
cmp eax, 0xd
je 0x476b0d
cmp eax, 0x1b
je 0x476ae5
mov ecx, dword [esi + 0x568]
mov byte [esp + 0x54], al
mov dword [esp + 0x40], 3
mov edx, dword [ecx]
mov edx, dword [edx + 0x144]
lea eax, [esp + 0x40]
push eax
call edx
mov eax, dword [esi + 0x568]
lea ecx, [eax + 0x418]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
push eax
call fcn.00476c80
xor eax, eax
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x568]
mov edx, dword [esi + 0x570]
lea ecx, [eax + 0x418]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
push 1
push edx
call eax
mov ecx, dword [esi + 0x570]
push ecx
call fcn.00476c80
mov edx, dword [esi + 4]
push 0
push 0
push 8
push edx
jmp 0x476c09
cmp ebx, 0x20a
jne 0x476bf5
mov edx, dword [ebp + 0x10]
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
shr eax, 0x10
test ax, ax
setl cl
mov dword [esp + 0x20], 0x15
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x568]
mov dword [esp + 0x28], eax
cmp byte [ecx + 0x604], 0
je 0x476bc6
mov eax, dword [ecx]
mov eax, dword [eax + 0x144]
lea edx, [esp + 0x20]
push edx
call eax
mov eax, dword [esi + 0x568]
mov edx, dword [eax + 0x418]
lea ecx, [eax + 0x418]
mov eax, dword [edx + 8]
call eax
push eax
call fcn.00476c80
xor eax, eax
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esi + 0x56c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x144]
lea eax, [esp + 0x20]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp ebx, 8
jne 0x476c0f
mov eax, dword [esi + 4]
cmp eax, dword [ebp + 0xc]
je 0x476c0f
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edi
push eax
lea ecx, [esi + 0x14]
push ecx
lea ecx, [esp + 0x28]
mov edx, ebx
mov dword [esp + 0x28], 0
call fcn.0042b640
test al, al
je 0x476c4e
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
push edi
push edx
push ebx
push eax
push ecx
call dword [sym.imp.USER32.dll_CallWindowProcA]
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc