Function at 0x499c40
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e91c5
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x5180e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc8], ecx
cmp dword [ebp + 8], 1
jne 0x49a05f
push 1
mov ecx, dword [ebp - 0xc8]
add ecx, 0x14
call fcn.00439750
push 0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0xc8]
add ecx, 0x14
call fcn.00431a10
push 1
mov ecx, dword [ebp - 0xc8]
add ecx, 0x14
call fcn.00439820
push 0x6c0
call fcn.004c10e2
add esp, 4
mov dword [ebp - 0xd4], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0xd4], 0
je 0x499ceb
mov ecx, dword [ebp - 0xd4]
call fcn.00489c70
mov dword [ebp - 0xd8], eax
jmp 0x499cf5
mov dword [ebp - 0xd8], 0
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0x104], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0x104]
mov dword [eax + 0x754], ecx
push 1
push 0
mov edx, dword [ebp - 0xc8]
add edx, 0x14
push edx
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x754]
mov edx, dword [ebp - 0xc8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x754]
mov edx, dword [eax + 0x20]
call edx
push str.VerticalLayout
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x750]
mov edx, dword [ebp - 0xc8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x750]
mov edx, dword [eax + 0x1c]
call edx
mov ecx, eax
call fcn.00430d30
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
je 0x499d99
mov eax, dword [ebp - 0xdc]
push eax
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 0x754]
call fcn.0043bc40
push 1
push 1
push 1
push 1
lea ecx, [ebp - 0x40]
call fcn.0042c040
mov edx, dword [eax]
mov dword [ebp - 0x20], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x18], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x14], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x20]
mov dword [ecx], edx
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x18]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x754]
mov eax, dword [ebp - 0xc8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x754]
mov eax, dword [edx + 0x17c]
call eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 0x754]
call fcn.0043f400
push 0xffc6c7d2
mov edx, dword [ebp - 0xc8]
mov ecx, dword [edx + 0x754]
call fcn.0043f490
push 1
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x754]
call fcn.0043f500
push 0
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x754]
mov eax, dword [ebp - 0xc8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x754]
mov eax, dword [edx + 0x19c]
call eax
push 0
push 1
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x754]
mov eax, dword [ebp - 0xc8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x754]
mov eax, dword [edx + 0x1f8]
call eax
lea ecx, [ebp - 0xc4]
push ecx
mov edx, dword [ebp - 0xc8]
mov ecx, dword [edx + 0x750]
call fcn.00499a50
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x10c], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x10c]
call fcn.0042c5d0
push eax
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 0x754]
call fcn.0043bc40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.0042c2d0
mov dword [ebp - 0xcc], 0
jmp 0x499eff
mov edx, dword [ebp - 0xcc]
add edx, 1
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x750]
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x750]
add eax, 0x550
mov edx, dword [ecx + 0x550]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
cmp dword [ebp - 0xcc], eax
jge 0x499f8f
mov ecx, dword [ebp - 0xcc]
push ecx
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x750]
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 0x750]
add ecx, 0x550
mov edx, dword [eax + 0x550]
mov eax, dword [edx]
call eax
push eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x754]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x754]
add ecx, 0x550
mov edx, dword [edx + 0x550]
mov eax, dword [edx + 0x10]
call eax
jmp 0x499ef0
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x750]
mov eax, dword [ebp - 0xc8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x750]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call fcn.00431970
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0xc8]
add ecx, 0x14
call fcn.00431970
push eax
mov ecx, dword [ebp - 0x110]
call fcn.0044e870
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 0x750]
call fcn.0049a9b0
movzx edx, al
push edx
mov ecx, dword [ebp - 0xc8]
add ecx, 0x14
call fcn.00431970
mov ecx, eax
call fcn.004507f0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x754]
push ecx
mov ecx, dword [ebp - 0xc8]
add ecx, 0x14
call fcn.00430910
cmp dword [ebp - 0xc8], 0
je 0x49a034
mov edx, dword [ebp - 0xc8]
add edx, 0x10
mov dword [ebp - 0xe0], edx
jmp 0x49a03e
mov dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xe0]
push eax
mov ecx, dword [ebp - 0xc8]
add ecx, 0x14
call fcn.004305f0
xor eax, eax
jmp 0x49a590
cmp dword [ebp + 8], 0x10
jne 0x49a1b7
push 0
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x750]
mov eax, dword [ebp - 0xc8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x750]
mov eax, dword [edx + 0x24]
call eax
push eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x750]
mov eax, dword [ebp - 0xc8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x750]
mov eax, dword [edx + 0x1c]
call eax
push eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x750]
mov eax, dword [ebp - 0xc8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x750]
mov eax, dword [edx + 0x20]
call eax
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0xd0], 0
jmp 0x49a0f3
mov edx, dword [ebp - 0xd0]
add edx, 1
mov dword [ebp - 0xd0], edx
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x750]
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x750]
add eax, 0x550
mov edx, dword [ecx + 0x550]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
cmp dword [ebp - 0xd0], eax
jge 0x49a190
mov ecx, dword [ebp - 0xd0]
push ecx
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x750]
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 0x750]
add ecx, 0x550
mov edx, dword [eax + 0x550]
mov eax, dword [edx]
call eax
mov dword [ebp - 0xe4], eax
push 1
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x30]
mov dword [ecx], edx
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x28]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x24]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0xe4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xe4]
mov eax, dword [edx + 0x5c]
call eax
jmp 0x49a0e4
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x750]
mov eax, dword [ebp - 0xc8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x750]
mov eax, dword [edx + 0x128]
call eax
jmp 0x49a53f
cmp dword [ebp + 8], 0x201
jne 0x49a221
xor ecx, ecx
mov dword [ebp - 0xf8], ecx
mov dword [ebp - 0xf4], ecx
lea edx, [ebp - 0xf8]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0xf8]
push eax
mov ecx, dword [ebp - 0xc8]
add ecx, 0x14
call fcn.00431890
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0xf4]
push ecx
mov edx, dword [ebp - 0xf8]
push edx
mov ecx, dword [ebp - 0xc8]
call fcn.0049a920
mov ecx, dword [ebp - 0xc8]
mov byte [ecx + 0x75c], al
jmp 0x49a53f
cmp dword [ebp + 8], 0x202
jne 0x49a2b9
xor edx, edx
mov dword [ebp - 0x100], edx
mov dword [ebp - 0xfc], edx
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea ecx, [ebp - 0x100]
push ecx
mov ecx, dword [ebp - 0xc8]
add ecx, 0x14
call fcn.00431890
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp - 0xc8]
movzx eax, byte [edx + 0x75c]
test eax, eax
je 0x49a2a7
mov ecx, dword [ebp - 0xfc]
push ecx
mov edx, dword [ebp - 0x100]
push edx
mov ecx, dword [ebp - 0xc8]
call fcn.0049a920
movzx eax, al
test eax, eax
je 0x49a2a7
push 0
push 0
push 8
mov ecx, dword [ebp - 0xc8]
call fcn.0043aee0
mov ecx, dword [ebp - 0xc8]
mov byte [ecx + 0x75c], 0
jmp 0x49a53f
cmp dword [ebp + 8], 0x100
jne 0x49a3c5
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xe8], edx
cmp dword [ebp - 0xe8], 0xd
je 0x49a333
cmp dword [ebp - 0xe8], 0x1b
je 0x49a2e3
jmp 0x49a346
push 1
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x758]
push ecx
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x750]
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 0x750]
add ecx, 0x698
mov edx, dword [eax + 0x698]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x758]
push edx
mov ecx, dword [ebp - 0xc8]
call fcn.00499790
push 0
push 0
push 8
mov ecx, dword [ebp - 0xc8]
call fcn.0043aee0
jmp 0x49a3c0
mov dword [ebp - 0x154], 3
mov ax, word [ebp + 0xc]
mov word [ebp - 0x140], ax
lea ecx, [ebp - 0x154]
push ecx
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x750]
mov ecx, dword [ebp - 0xc8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x750]
mov eax, dword [edx + 0x144]
call eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x750]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x750]
add ecx, 0x698
mov edx, dword [edx + 0x698]
mov eax, dword [edx + 8]
call eax
push eax
mov ecx, dword [ebp - 0xc8]
call fcn.00499790
xor eax, eax
jmp 0x49a590
jmp 0x49a53f
cmp dword [ebp + 8], 0x20a
jne 0x49a51a
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x114], edx
xor eax, eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x134], 0x15
cmp dword [ebp - 0x114], 0
jge 0x49a438
mov dword [ebp - 0xec], 1
jmp 0x49a442
mov dword [ebp - 0xec], 0
mov ecx, dword [ebp - 0xec]
and ecx, 0xffff
movzx edx, cx
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x118], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 0x750]
call fcn.00499b90
movzx edx, al
test edx, edx
je 0x49a4eb
lea eax, [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x750]
mov eax, dword [ebp - 0xc8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x750]
mov eax, dword [edx + 0x144]
call eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x750]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x750]
add ecx, 0x698
mov edx, dword [edx + 0x698]
mov eax, dword [edx + 8]
call eax
push eax
mov ecx, dword [ebp - 0xc8]
call fcn.00499790
xor eax, eax
jmp 0x49a590
lea ecx, [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x754]
mov ecx, dword [ebp - 0xc8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x754]
mov eax, dword [edx + 0x144]
call eax
xor eax, eax
jmp 0x49a590
cmp dword [ebp + 8], 8
jne 0x49a53f
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 4]
cmp edx, dword [ebp + 0xc]
je 0x49a53f
push 0
push 0
push 0x10
mov ecx, dword [ebp - 0xc8]
call fcn.0043aee0
mov dword [ebp - 0xf0], 0
lea eax, [ebp - 0xf0]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc8]
add ecx, 0x14
call fcn.00431f60
movzx ecx, al
test ecx, ecx
je 0x49a579
mov eax, dword [ebp - 0xf0]
jmp 0x49a590
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0xc8]
call fcn.0043acf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c1cc2
mov esp, ebp
pop ebp
ret 0xc