Function at 0x4798e0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c21e5
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x4eb018]
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 0x479d2a
push 1
mov ecx, dword [ebp - 0xc8]
add ecx, 0x14
call fcn.00431d90
push 0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0xc8]
add ecx, 0x14
call fcn.0042a5f0
push 0x628
call fcn.004252e9
add esp, 4
mov dword [ebp - 0xd8], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0xd8], 0
je 0x47997b
mov ecx, dword [ebp - 0xd8]
call fcn.0046a3a0
mov dword [ebp - 0xdc], eax
jmp 0x479985
mov dword [ebp - 0xdc], 0
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0x108], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0x108]
mov dword [eax + 0x81c], ecx
push 1
push 0
mov edx, dword [ebp - 0xc8]
add edx, 0x14
push edx
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x81c]
mov edx, dword [ebp - 0xc8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x81c]
mov edx, dword [eax + 0x20]
call edx
push str.HScrollBar
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x818]
mov edx, dword [ebp - 0xc8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x818]
mov edx, dword [eax + 0x1c]
call edx
mov ecx, eax
call fcn.00429910
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
je 0x479a2d
push 0
mov eax, dword [ebp - 0xcc]
push eax
push str.HScrollBar
mov ecx, dword [ebp - 0xc8]
add ecx, 0x14
call fcn.00428520
push str.VScrollBar
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x818]
mov eax, dword [ebp - 0xc8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x818]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call fcn.00429910
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
je 0x479a83
push 0
mov ecx, dword [ebp - 0xcc]
push ecx
push str.VScrollBar
mov ecx, dword [ebp - 0xc8]
add ecx, 0x14
call fcn.00428520
push str.VerticalLayout
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x818]
mov ecx, dword [ebp - 0xc8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x818]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call fcn.00429910
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0
je 0x479ad5
mov ecx, dword [ebp - 0xe0]
push ecx
mov edx, dword [ebp - 0xc8]
mov ecx, dword [edx + 0x81c]
call fcn.004353e0
push 1
push 1
push 1
push 1
lea ecx, [ebp - 0x40]
call fcn.00439690
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x14], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x81c]
mov edx, dword [ebp - 0xc8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x81c]
mov edx, dword [eax + 0x168]
call edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x81c]
call fcn.00438890
push 0xffc6c7d2
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 0x81c]
call fcn.00438930
push 1
mov edx, dword [ebp - 0xc8]
mov ecx, dword [edx + 0x81c]
call fcn.004389a0
push 0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x81c]
mov edx, dword [ebp - 0xc8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x81c]
mov edx, dword [eax + 0x188]
call edx
push 0
push 1
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x81c]
mov edx, dword [ebp - 0xc8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x81c]
mov edx, dword [eax + 0x1e4]
call edx
lea eax, [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 0x818]
call fcn.00479730
mov dword [ebp - 0x10c], eax
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x110], edx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x110]
call fcn.00439b90
push eax
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x81c]
call fcn.004353e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.00439920
mov dword [ebp - 0xd0], 0
jmp 0x479c3b
mov ecx, dword [ebp - 0xd0]
add ecx, 1
mov dword [ebp - 0xd0], ecx
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x818]
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 0x818]
add ecx, 0x4b8
mov edx, dword [eax + 0x4b8]
mov eax, dword [edx + 0xc]
call eax
cmp dword [ebp - 0xd0], eax
jge 0x479cca
mov ecx, dword [ebp - 0xd0]
push ecx
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x818]
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 0x818]
add ecx, 0x4b8
mov edx, dword [eax + 0x4b8]
mov eax, dword [edx]
call eax
push eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x81c]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x81c]
add ecx, 0x4b8
mov edx, dword [edx + 0x4b8]
mov eax, dword [edx + 0x10]
call eax
jmp 0x479c2c
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x81c]
push edx
mov ecx, dword [ebp - 0xc8]
add ecx, 0x14
call fcn.00429340
cmp dword [ebp - 0xc8], 0
je 0x479cff
mov eax, dword [ebp - 0xc8]
add eax, 0x10
mov dword [ebp - 0xe4], eax
jmp 0x479d09
mov dword [ebp - 0xe4], 0
mov ecx, dword [ebp - 0xe4]
push ecx
mov ecx, dword [ebp - 0xc8]
add ecx, 0x14
call fcn.00428fa0
xor eax, eax
jmp 0x47a25b
cmp dword [ebp + 8], 0x10
jne 0x479e82
push 0
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x818]
mov ecx, dword [ebp - 0xc8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x818]
mov eax, dword [edx + 0x24]
call eax
push eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x818]
mov eax, dword [ebp - 0xc8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x818]
mov eax, dword [edx + 0x1c]
call eax
push eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x818]
mov eax, dword [ebp - 0xc8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x818]
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 - 0xd4], 0
jmp 0x479dbe
mov edx, dword [ebp - 0xd4]
add edx, 1
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x818]
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x818]
add eax, 0x4b8
mov edx, dword [ecx + 0x4b8]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
cmp dword [ebp - 0xd4], eax
jge 0x479e5b
mov ecx, dword [ebp - 0xd4]
push ecx
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x818]
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 0x818]
add ecx, 0x4b8
mov edx, dword [eax + 0x4b8]
mov eax, dword [edx]
call eax
mov dword [ebp - 0xe8], 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 - 0xe8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xe8]
mov eax, dword [edx + 0x54]
call eax
jmp 0x479daf
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x818]
mov eax, dword [ebp - 0xc8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x818]
mov eax, dword [edx + 0x114]
call eax
jmp 0x47a20a
cmp dword [ebp + 8], 0x201
jne 0x479eec
xor ecx, ecx
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0xf8], ecx
lea edx, [ebp - 0xfc]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0xfc]
push eax
mov ecx, dword [ebp - 0xc8]
add ecx, 0x14
call fcn.0042a460
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0xf8]
push ecx
mov edx, dword [ebp - 0xfc]
push edx
mov ecx, dword [ebp - 0xc8]
call fcn.0047a5b0
mov ecx, dword [ebp - 0xc8]
mov byte [ecx + 0x824], al
jmp 0x47a20a
cmp dword [ebp + 8], 0x202
jne 0x479f84
xor edx, edx
mov dword [ebp - 0x104], edx
mov dword [ebp - 0x100], edx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea ecx, [ebp - 0x104]
push ecx
mov ecx, dword [ebp - 0xc8]
add ecx, 0x14
call fcn.0042a460
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp - 0xc8]
movzx eax, byte [edx + 0x824]
test eax, eax
je 0x479f72
mov ecx, dword [ebp - 0x100]
push ecx
mov edx, dword [ebp - 0x104]
push edx
mov ecx, dword [ebp - 0xc8]
call fcn.0047a5b0
movzx eax, al
test eax, eax
je 0x479f72
push 0
push 0
push 8
mov ecx, dword [ebp - 0xc8]
call fcn.0043d6e0
mov ecx, dword [ebp - 0xc8]
mov byte [ecx + 0x824], 0
jmp 0x47a20a
cmp dword [ebp + 8], 0x100
jne 0x47a090
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xec], edx
cmp dword [ebp - 0xec], 0xd
je 0x479ffe
cmp dword [ebp - 0xec], 0x1b
je 0x479fae
jmp 0x47a011
push 1
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x820]
push ecx
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x818]
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 0x818]
add ecx, 0x600
mov edx, dword [eax + 0x600]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x820]
push edx
mov ecx, dword [ebp - 0xc8]
call fcn.004794e0
push 0
push 0
push 8
mov ecx, dword [ebp - 0xc8]
call fcn.0043d6e0
jmp 0x47a08b
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 + 0x818]
mov ecx, dword [ebp - 0xc8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x818]
mov eax, dword [edx + 0x130]
call eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x818]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x818]
add ecx, 0x600
mov edx, dword [edx + 0x600]
mov eax, dword [edx + 8]
call eax
push eax
mov ecx, dword [ebp - 0xc8]
call fcn.004794e0
xor eax, eax
jmp 0x47a25b
jmp 0x47a20a
cmp dword [ebp + 8], 0x20a
jne 0x47a1e5
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 0x47a103
mov dword [ebp - 0xf0], 1
jmp 0x47a10d
mov dword [ebp - 0xf0], 0
mov ecx, dword [ebp - 0xf0]
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 + 0x818]
call fcn.00479830
movzx edx, al
test edx, edx
je 0x47a1b6
lea eax, [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x818]
mov eax, dword [ebp - 0xc8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x818]
mov eax, dword [edx + 0x130]
call eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 0x818]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x818]
add ecx, 0x600
mov edx, dword [edx + 0x600]
mov eax, dword [edx + 8]
call eax
push eax
mov ecx, dword [ebp - 0xc8]
call fcn.004794e0
xor eax, eax
jmp 0x47a25b
lea ecx, [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x81c]
mov ecx, dword [ebp - 0xc8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x81c]
mov eax, dword [edx + 0x130]
call eax
xor eax, eax
jmp 0x47a25b
cmp dword [ebp + 8], 8
jne 0x47a20a
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + 4]
cmp edx, dword [ebp + 0xc]
je 0x47a20a
push 0
push 0
push 0x10
mov ecx, dword [ebp - 0xc8]
call fcn.0043d6e0
mov dword [ebp - 0xf4], 0
lea eax, [ebp - 0xf4]
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.0042ac50
movzx ecx, al
test ecx, ecx
je 0x47a244
mov eax, dword [ebp - 0xf4]
jmp 0x47a25b
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.0043d500
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004250ca
mov esp, ebp
pop ebp
ret 0xc