Function at 0x472550
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51ffcb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x56e754]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, edx
mov dword [ebp - 0x70], ecx
mov edx, dword [ebx + 0x10]
mov edi, dword [ebx + 8]
mov esi, dword [0x585b48]
movzx eax, dx
mov dword [ebp - 0x74], eax
mov eax, edx
shr eax, 0x10
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x78], eax
cmp edi, 0xa0
je 0x4725ce
cmp edi, 0xa1
je 0x4725ce
cmp edi, 0xa2
jne 0x4725f8
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
push ecx
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x20]
mov edx, dword [ebx + 0x10]
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
cmp edi, 0x84
ja 0x4727b7
je case.0x472619.20
lea eax, [edi - 2]
cmp eax, 0x51
ja case.0x472619.3
movzx eax, byte [eax + 0x472b40]
jmp dword [eax*4 + 0x472b24]
mov eax, 1
jmp 0x472afa
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x47275a
call eax
xor eax, eax
jmp 0x472afa
mov eax, dword [esi + 0x2c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x70]
call dword [sym.imp.USER32.dll_BeginPaint]
push eax
mov dword [ebp - 0x74], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esi + 8]
mov edi, eax
push dword [esi + 4]
mov dword [ebp - 0x78], edi
push dword [ebp - 0x74]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [ebp - 0x80], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esi + 0x18]
xor edx, edx
mov dword [ebp - 0x88], eax
mov eax, dword [esi + 0x1c]
mov edi, eax
sub edi, ecx
add edi, 3
shr edi, 2
cmp ecx, eax
cmova edi, edx
test edi, edi
je 0x4726bc
mov eax, dword [ecx]
cmp byte [eax + 0x37], 0
je 0x4726b1
movups xmm0, xmmword [eax + 0x1c]
movups xmmword [eax + 0x38], xmm0
inc edx
add ecx, 4
cmp edx, edi
jne 0x4726a1
mov eax, dword [esi + 0x1c]
mov edi, dword [esi + 0x18]
xor ecx, ecx
sub eax, edi
add eax, 3
shr eax, 2
cmp edi, dword [esi + 0x1c]
cmova eax, ecx
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x4726f9
xor esi, esi
nop dword [eax + eax]
push dword [ebp - 0x78]
mov ecx, dword [edi]
call fcn.00471a40
inc esi
lea edi, [edi + 4]
cmp esi, dword [ebp - 0x7c]
jne 0x4726e0
mov esi, dword [ebp - 0x90]
mov edi, dword [ebp - 0x78]
push 0xcc0020
push 0
push 0
push edi
push dword [esi + 8]
push dword [esi + 4]
push 0
push 0
push dword [ebp - 0x74]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x88]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x80]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x70]
call dword [sym.imp.USER32.dll_EndPaint]
mov eax, dword [esi + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
jmp 0x472afa
cmp dword [esi + 0x34], 0
je case.0x472619.3
xor eax, eax
jmp 0x472afa
push edx
push dword [ebx + 0xc]
push edi
push ecx
jmp 0x472af4
cmp byte [esi + 0x94], 0
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x8c], 0
mov byte [ebp - 0x88], 0
mov dword [esi + 0x90], eax
jne 0x472796
mov byte [esi + 0x94], 1
lea ecx, [ebp - 0x8c]
call fcn.0041a520
xor eax, eax
jmp 0x472afa
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
xor eax, eax
jmp 0x472afa
cmp edi, 0x201
ja 0x4729e5
je 0x472903
cmp edi, 0x113
je 0x4728d7
cmp edi, 0x200
jne case.0x472619.3
cmp byte [esi + 0x38], 0
je 0x472823
lea eax, [ebp - 0x84]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x84], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x48]
sub eax, dword [esi + 0x40]
add eax, dword [ebp - 0x80]
push 0x15
push 0
push 0
push eax
mov eax, dword [esi + 0x44]
sub eax, dword [esi + 0x3c]
add eax, dword [ebp - 0x84]
push eax
push 0
push dword [ebp - 0x70]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x1c]
xor edx, edx
mov edi, dword [esi + 0x18]
mov ecx, eax
sub ecx, edi
xor esi, esi
add ecx, 3
shr ecx, 2
cmp edi, eax
cmova ecx, edx
mov dword [ebp - 0x70], ecx
test ecx, ecx
je 0x47275a
mov eax, ecx
nop dword [eax]
mov ecx, dword [edi]
mov dword [ebp - 0x88], ecx
cmp byte [ecx + 0x36], 0
je 0x4728c8
cmp byte [ecx + 0x34], 0
je 0x47288d
movups xmm0, xmmword [ecx + 0x38]
mov edx, dword [ebp - 0x74]
movd eax, xmm0
movups xmmword [ebp - 0x24], xmm0
cmp edx, eax
jl 0x47288d
cmp edx, dword [ebp - 0x1c]
jge 0x47288d
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x20]
jl 0x47288d
cmp eax, dword [ebp - 0x18]
jge 0x47288d
mov al, 1
jmp 0x47288f
xor al, al
mov ecx, dword [ecx + 0x94]
xor edx, edx
movzx eax, al
cmp dword [ecx + 0x34], edx
mov ecx, dword [ebp - 0x88]
cmove edx, eax
cmp byte [ecx + 0x48], dl
je 0x4728c5
mov eax, dword [ecx + 0x94]
push 0
push 0
mov byte [ecx + 0x48], dl
mov byte [ecx + 0x37], 1
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 0x70]
inc esi
add edi, 4
cmp esi, eax
jne 0x472850
xor eax, eax
jmp 0x472afa
cmp dword [esi + 0x54], 0
je 0x4728f3
push 0
push 0
push 2
push dword [esi + 0xc]
mov dword [esi + 0x54], 0
call dword [sym.imp.USER32.dll_PostMessageW]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push 0x113
jmp 0x472af1
push ecx
call dword [sym.imp.USER32.dll_SetCapture]
cmp dword [esi + 0x34], 0
mov al, 1
mov byte [ebp - 0x69], al
jne 0x4729b1
mov edi, dword [ebp - 0x78]
lea eax, [ebp - 0x9c]
or dword [esi + 0x24], 1
push ecx
push edi
push dword [ebp - 0x74]
mov ecx, esi
push eax
call fcn.00472470
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x9c]
sub eax, edx
test eax, 0xfffffffc
je 0x47294c
mov eax, dword [edx]
jmp 0x47294e
xor eax, eax
mov dword [esi + 0x28], eax
test eax, eax
je 0x472977
mov byte [eax + 0x49], 1
mov eax, dword [esi + 0x28]
push 0
push 0
mov byte [ebp - 0x69], 0
mov byte [eax + 0x37], 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [ebp - 0x9c]
test edx, edx
je 0x4729ae
mov ecx, dword [ebp - 0x94]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4729a4
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x472b1a
push ecx
push edx
call fcn.004ca782
add esp, 8
mov al, byte [ebp - 0x69]
mov byte [esi + 0x38], al
test al, al
je 0x47275a
lea eax, [esi + 0x3c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esi + 0x44]
mov esi, dword [ebp - 0x70]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push 0x201
push esi
jmp 0x472af4
mov eax, edi
sub eax, 0x202
je 0x4729ff
sub eax, 0x13
jne case.0x472619.3
mov byte [esi + 0x38], al
jmp 0x472afa
call dword [sym.imp.USER32.dll_ReleaseCapture]
cmp dword [esi + 0x34], 0
mov byte [ebp - 0x69], 1
jne 0x472ae6
mov edi, dword [ebp - 0x78]
lea eax, [ebp - 0xa8]
push ecx
push edi
push dword [ebp - 0x74]
mov ecx, esi
push eax
call fcn.00472470
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa8]
sub eax, edx
test eax, 0xfffffffc
je 0x472a49
mov ecx, dword [edx]
jmp 0x472a4b
xor ecx, ecx
mov eax, dword [esi + 0x28]
test eax, eax
je 0x472a9e
mov byte [ebp - 0x69], 0
cmp eax, ecx
jne 0x472a80
lea eax, [esi + 0x34]
lock inc dword [eax]
mov eax, dword [ecx + 0x94]
mov eax, dword [eax + 0x58]
test eax, eax
je 0x472a77
push edi
push dword [ebp - 0x74]
push ecx
call eax
add esp, 0xc
lea eax, [esi + 0x34]
lock dec dword [eax]
mov eax, dword [esi + 0x28]
mov byte [eax + 0x49], 0
mov eax, dword [esi + 0x28]
push 0
push 0
mov byte [eax + 0x37], 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [ebp - 0xa8]
and dword [esi + 0x24], 0xfffffffe
mov dword [esi + 0x28], 0
test edx, edx
je 0x472adc
mov ecx, dword [ebp - 0xa0]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x472ad2
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x472b1f
push ecx
push edx
call fcn.004ca782
add esp, 8
cmp byte [ebp - 0x69], 0
je 0x47275a
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push 0x202
push dword [ebp - 0x70]
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ca771
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.004eefc0
call fcn.004eefc0
test al, 0x27
inc edi
add byte [esi], bh
inc edi
add byte [edi + 0x47], dl
add byte [edi + 0x47], ch
add byte [eax], ah
inc edi
add byte [edx], ch
inc edi
add byte [ecx + 0x27], ah
inc edi
add byte [eax], al
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
add dword [edx], eax
push es
add eax, dword [esi]
add al, 6
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
push es
add eax, -858993460
int3