Function at 0x412c40
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x5dbcc8]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
cmp eax, 0x113
jne 0x412dff
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 0xe3c]
jne 0x412ea7
mov ebx, dword [sym.imp.USER32.dll_GetCursorPos]
xor edi, edi
cmp dword [0x5ee538], edi
jne 0x412c95
cmp dword [0x5ee53c], edi
jne 0x412c95
push 0x5ee538
call ebx
lea ecx, [esp + 0xc]
push ecx
call ebx
mov eax, dword [0x5ee538]
sub eax, dword [esp + 0xc]
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x412cc2
mov eax, dword [0x5ee53c]
sub eax, dword [esp + 0x10]
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jle 0x412d1a
cmp dword [esi + 0xe24], edi
je 0x412d1a
mov ecx, dword [esi + 0xe18]
cmp ecx, edi
je 0x412d1a
cmp dword [esi + 0xe1c], edi
je 0x412d1a
cmp dword [esi + 0xe20], edi
je 0x412d1a
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
push 1
call eax
mov ecx, dword [esi + 0xe1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
push 1
call eax
mov ecx, dword [esi + 0xe20]
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
push 1
call eax
mov dword [esi + 0xe40], edi
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
mov dword [0x5ee538], ecx
mov dword [0x5ee53c], edx
mov ecx, dword [esi + 4]
push eax
push ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 4]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x10]
cmp eax, 0x32
jle 0x412ea7
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x18]
sub ecx, 0x3c
cmp eax, ecx
jge 0x412ea7
mov eax, dword [esi + 0xe40]
cmp eax, 0x4b
jge 0x412ea7
cmp dword [esi + 0xe24], edi
je 0x412ea7
inc eax
mov dword [esi + 0xe40], eax
cmp eax, 0x4b
jne 0x412ea7
mov ecx, dword [esi + 0xe18]
cmp ecx, edi
je 0x412ea7
cmp dword [esi + 0xe1c], edi
je 0x412ea7
cmp dword [esi + 0xe20], edi
je 0x412ea7
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
push edi
call eax
mov ecx, dword [esi + 0xe1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
push edi
call eax
mov ecx, dword [esi + 0xe20]
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
push edi
call eax
jmp 0x412ea7
cmp eax, 0x100
jne 0x412ea7
mov eax, dword [ebp + 0xc]
cmp eax, 0x27
jne 0x412e59
xor edi, edi
cmp dword [esi + 0x350], edi
je 0x412ea7
mov eax, dword [esi + 0x358]
cmp eax, edi
je 0x412ea7
add dword [esi + 0x35c], 0xa
cmp dword [esi + 0x35c], eax
jle 0x412e3f
mov dword [esi + 0x35c], eax
mov ecx, dword [esi + 0x35c]
mov edx, dword [esi + 0x344]
push eax
push ecx
push edx
call dword [sym.imp.WasabiDLL.dll_WSB_Player_Seek]
add esp, 0xc
jmp 0x412ea7
cmp eax, 0x25
jne 0x412e9b
xor edi, edi
cmp dword [esi + 0x350], edi
je 0x412ea7
mov eax, dword [esi + 0x358]
cmp eax, edi
je 0x412ea7
add dword [esi + 0x35c], 0xfffffff6
jns 0x412e81
mov dword [esi + 0x35c], edi
mov ecx, dword [esi + 0x344]
push eax
mov eax, dword [esi + 0x35c]
push eax
push ecx
call dword [sym.imp.WasabiDLL.dll_WSB_Player_Seek]
add esp, 0xc
jmp 0x412ea7
cmp eax, 0x20
jne 0x412ea7
mov eax, esi
call fcn.004154a0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
mov ecx, esi
call dword [sym.imp.DuiLib_u.dll_public_virtual:_long_int___thiscall_DuiLib::WindowImplBase::HandleMessage_unsigned_int__unsigned_int__long_int_]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00545eb2
mov esp, ebp
pop ebp
ret 0xc