Function at 0x402920
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
push 8
push 0x4327a8
push 0xffffffffffffffff
push 0x42c448
push 2
xor edi, edi
push edi
call esi
push 8
push 0x4327d0
push 0xffffffffffffffff
push str.f___1
push 2
push edi
call esi
push 8
push 0x4327f8
push 0xffffffffffffffff
push str.f___2
push 2
push edi
call esi
push 8
push 0x432820
push 0xffffffffffffffff
push str.f___3
push 2
push edi
call esi
push 8
push 0x432848
push 0xffffffffffffffff
push str.f___4
push 2
push edi
call esi
push 8
push 0x432870
push 0xffffffffffffffff
push str.f___5
push 2
push edi
call esi
push 8
push 0x432898
push 0xffffffffffffffff
push str.f___6
push 2
push edi
call esi
push 8
push 0x4328c0
push 0xffffffffffffffff
push str.f___7
push 2
push edi
call esi
push 8
push 0x4328e8
push 0xffffffffffffffff
push str.f___8
push 2
push edi
call esi
push 8
push 0x432910
push 0xffffffffffffffff
push str.f___9
push 2
push edi
call esi
push 8
push 0x432938
push 0xffffffffffffffff
push str.f__10
push 2
push edi
call esi
push 0xa
push 0x432960
push 0xffffffffffffffff
push 0x42c3c4
push 2
push edi
call esi
push 0xa
push 0x432988
push 0xffffffffffffffff
push 0x42c3b8
push 2
push edi
call esi
push 0xa
push 0x4329b0
push 0xffffffffffffffff
push 0x42c3ac
push 2
push edi
call esi
push 0xa
push 0x4329d8
push 0xffffffffffffffff
push 0x42c3a0
push 2
push edi
call esi
mov eax, dword [0xc26fb8]
push 0xff00
push 0x82
push 0xbe
push eax
call fcn.00406210
mov ebp, fcn.004015b0
add esp, 0x10
mov dword [0x908dd0], ebp
call fcn.00405ca0
mov dword [0x433e9c], edi
mov ebx, 1
mov dword [0x4341d4], edi
mov dword [0x4341d0], edi
mov dword [0x4341cc], edi
mov dword [0x4341c8], edi
cmp dword [0xc27124], ebx
je case.0x402ac7.27
call fcn.00405ca0
call fcn.0041f360
add eax, 3
cmp eax, 0x2b
ja case.0x402ac7.1
movzx ecx, byte [eax + 0x4030e4]
jmp dword [ecx*4 + 0x4030c0]
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [0x4596d8]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x14]
cmp eax, 0x20a
jle 0x402a8a
cmp eax, 0x258
jge 0x402a8a
mov eax, dword [esp + 0x18]
cmp eax, 0xae
jle 0x402bcc
cmp eax, 0xd7
jge 0x402bcc
cmp dword [0x430bb0], edi
je 0x402b50
cmp dword [0x4596d4], edi
je 0x402b2e
push str.gmusic2.mid
jmp 0x402b33
push str.gmusic.mid
call fcn.004014d0
mov edx, dword [0x4596d8]
add esp, 4
push edx
push eax
mov dword [0x432a08], eax
call fcn.00401520
add esp, 8
mov eax, dword [0x433e98]
push eax
mov dword [0xc25000], ebx
call fcn.00401e10
mov esi, eax
mov eax, dword [0x430bb0]
add esp, 4
cmp eax, edi
je 0x402b85
mov ecx, dword [0x4596d8]
mov edx, dword [0x432a08]
push ecx
push edx
call fcn.00401560
add esp, 8
cmp esi, 0xffffffff
mov dword [0xc25000], edi
je case.0x402ac7.27
push edi
push esi
call fcn.00401080
call fcn.00401000
mov eax, dword [0xc26fb8]
push 0xff00
push 0x82
push 0xbe
push eax
call fcn.00406210
add esp, 0x18
mov dword [0x908dd0], ebp
call fcn.00405ca0
mov eax, dword [esp + 0x18]
cmp eax, 0xe6
jle 0x402c98
cmp eax, 0x110
jge 0x402c98
cmp dword [0x430bb0], edi
je 0x402c1b
cmp dword [0x4596d4], edi
je 0x402bf9
push str.gmusic2.mid
jmp 0x402bfe
push str.gmusic.mid
call fcn.004014d0
mov ecx, dword [0x4596d8]
add esp, 4
push ecx
push eax
mov dword [0x432a08], eax
call fcn.00401520
add esp, 8
mov edx, dword [0x433e98]
push edx
mov dword [0xc25000], ebx
call fcn.004156c0
mov esi, eax
mov eax, dword [0x430bb0]
add esp, 4
cmp eax, edi
mov dword [0xc25000], edi
je 0x402c56
mov eax, dword [0x4596d8]
mov ecx, dword [0x432a08]
push eax
push ecx
call fcn.00401560
add esp, 8
cmp esi, 0xffffffff
je case.0x402ac7.27
push ebx
push esi
call fcn.00401080
call fcn.00401000
mov edx, dword [0xc26fb8]
push 0xff00
push 0x82
push 0xbe
push edx
call fcn.00406210
add esp, 0x18
mov dword [0x908dd0], ebp
call fcn.00405ca0
mov eax, dword [esp + 0x18]
cmp eax, 0x11d
jle 0x402cd9
cmp eax, 0x145
jge 0x402cd9
push edi
push edi
call fcn.00401080
mov eax, dword [0xc26fb8]
push 0xff00
push 0x82
push 0xbe
push eax
call fcn.00406210
add esp, 0x18
mov dword [0x908dd0], ebp
call fcn.00405ca0
mov eax, dword [esp + 0x18]
cmp eax, 0x154
jle 0x402a8a
cmp eax, 0x17c
jge 0x402a8a
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0x4596d8]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov esi, dword [esp + 0x14]
cmp esi, 0xf0
jle 0x402e62
cmp esi, 0x1e3
jge 0x402e62
mov ecx, dword [esp + 0x18]
lea edx, [ecx - 0xc2]
mov eax, 0x38e38e39
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
js 0x402e66
cmp eax, 0xa
jge 0x402e66
mov edx, dword [0x433e98]
cmp eax, edx
jne 0x402f03
cmp dword [0x430bb0], edi
je 0x402da6
cmp dword [0x4596d4], edi
je 0x402d7e
push str.gmusic2.mid
jmp 0x402d83
push str.gmusic.mid
call fcn.004014d0
mov ecx, dword [0x4596d8]
add esp, 4
push ecx
push eax
mov dword [0x432a08], eax
call fcn.00401520
mov edx, dword [0x433e98]
add esp, 8
cmp dword [0x433e9c], ebx
push edx
mov dword [0xc25000], ebx
jne 0x402def
call fcn.004156c0
mov esi, eax
mov eax, dword [0x430bb0]
add esp, 4
cmp eax, edi
je 0x402ddd
mov edx, dword [0x4596d8]
mov eax, dword [0x432a08]
push edx
push eax
call fcn.00401560
add esp, 8
cmp esi, 0xffffffff
mov dword [0xc25000], edi
je case.0x402ac7.27
push ebx
jmp 0x402e28
call fcn.00401e10
mov esi, eax
mov eax, dword [0x430bb0]
add esp, 4
cmp eax, edi
je 0x402e18
mov ecx, dword [0x4596d8]
mov edx, dword [0x432a08]
push ecx
push edx
call fcn.00401560
add esp, 8
cmp esi, 0xffffffff
mov dword [0xc25000], edi
je case.0x402ac7.27
push edi
push esi
call fcn.00401080
add esp, 8
call fcn.00401000
mov eax, dword [0xc26fb8]
push 0xff00
push 0x82
push 0xbe
push eax
call fcn.00406210
add esp, 0x10
mov dword [0x908dd0], ebp
call fcn.00405ca0
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp esi, 0x20a
jle case.0x402ac7.1
cmp esi, 0x258
jge case.0x402ac7.1
cmp ecx, 0xae
jle 0x402e9d
cmp ecx, 0xd7
jge 0x402e9d
mov dword [0x4341c8], ebx
call fcn.004015b0
mov ecx, dword [esp + 0x18]
cmp ecx, 0xe6
jle 0x402ebc
cmp ecx, 0x110
jge 0x402ebc
mov dword [0x4341cc], ebx
call fcn.004015b0
mov ecx, dword [esp + 0x18]
cmp ecx, 0x11d
jle 0x402edb
cmp ecx, 0x145
jge 0x402edb
mov dword [0x4341d0], ebx
call fcn.004015b0
mov ecx, dword [esp + 0x18]
cmp ecx, 0x154
jle case.0x402ac7.1
cmp ecx, 0x17c
jge case.0x402ac7.1
mov dword [0x4341d4], ebx
call fcn.004015b0
jmp case.0x402ac7.1
mov dword [0x433e98], eax
jmp 0x402e66
mov ecx, dword [0x433e9c]
inc ecx
and ecx, reloc.WS2_32.dll_closesocket
jns 0x402f21
dec ecx
or ecx, 0xfffffffc
inc ecx
mov dword [0x433e9c], ecx
jmp case.0x402ac7.1
mov edx, dword [0x433e9c]
add edx, 3
and edx, reloc.WS2_32.dll_closesocket
jns 0x402f42
dec edx
or edx, 0xfffffffc
inc edx
mov dword [0x433e9c], edx
jmp case.0x402ac7.1
mov eax, dword [0x433e98]
add eax, 9
cdq
mov ecx, 0xa
idiv ecx
mov dword [0x433e98], edx
jmp case.0x402ac7.1
mov eax, dword [0x433e98]
inc eax
cdq
mov ecx, 0xa
idiv ecx
mov dword [0x433e98], edx
jmp case.0x402ac7.1
mov eax, dword [0x433e9c]
cmp eax, 3
je case.0x402ac7.27
cmp eax, 2
jne 0x402f9e
push edi
push edi
call fcn.00401080
add esp, 8
cmp dword [0x430bb0], edi
je 0x402feb
cmp dword [0x4596d4], edi
je 0x402fb5
push str.gmusic2.mid
jmp 0x402fba
push str.gmusic.mid
call fcn.004014d0
mov edx, dword [0x4596d8]
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
push ebx
push 0x806
push eax
mov dword [0x432a08], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call dword [sym.imp.WINMM.dll_mciSendCommandA]
cmp dword [0x433e9c], edi
mov dword [0xc25000], ebx
jne 0x40303f
mov edx, dword [0x433e98]
push edx
call fcn.00401e10
mov esi, eax
mov eax, dword [0x430bb0]
add esp, 4
cmp eax, edi
je 0x403026
mov eax, dword [0x432a08]
push edi
push edi
push 0x804
push eax
call dword [sym.imp.WINMM.dll_mciSendCommandA]
cmp esi, 0xffffffff
mov dword [0xc25000], edi
je case.0x402ac7.27
push edi
push esi
call fcn.00401080
add esp, 8
cmp dword [0x433e9c], ebx
jne 0x40308e
mov ecx, dword [0x433e98]
push ecx
call fcn.004156c0
mov esi, eax
mov eax, dword [0x430bb0]
add esp, 4
cmp eax, edi
je 0x403075
mov edx, dword [0x432a08]
push edi
push edi
push 0x804
push edx
call dword [sym.imp.WINMM.dll_mciSendCommandA]
cmp esi, 0xffffffff
mov dword [0xc25000], edi
je case.0x402ac7.27
push ebx
push esi
call fcn.00401080
add esp, 8
call fcn.00401000
mov eax, dword [0xc26fb8]
push 0xff00
push 0x82
push 0xbe
push eax
call fcn.00406210
add esp, 0x10
mov dword [0x908dd0], ebp
call fcn.00405ca0
jmp case.0x402ac7.1