Function at 0x4599f4
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [ebp + 8]
push ebx
push esi
cmp eax, 0x14
push edi
mov esi, ecx
jg 0x45a127
je 0x45a0ac
sub eax, 3
je 0x459f34
sub eax, 9
je 0x459d25
dec eax
je 0x459bf9
sub eax, 3
je 0x459b3d
dec eax
jne 0x45a14e
cmp dword [esi + 0x5cec8], 0xd
jne 0x459b36
mov edi, 0x50ade8
mov ecx, edi
call fcn.00495c11
mov ecx, edi
mov ebx, eax
call fcn.00495c18
cmp eax, ebx
jl 0x459a80
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
xor ebx, ebx
push ebx
push ebx
push 0xff0000
push 0x7d5
push 0x277b
jmp 0x45a496
push dword [esi + 0x5cec4]
mov ecx, edi
call fcn.00492a9d
xor ebx, ebx
cmp eax, ebx
je 0x459aa6
mov eax, dword [eax + 4]
cmp eax, dword [esi + 0x5cec0]
jne 0x459aa6
push eax
mov ecx, edi
call fcn.00495cc0
mov dword [esi + 0x5cea8], ebx
or dword [0x5043d4], 0xffffffff
push ebx
lea ecx, [esi + 0xee70]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x546e4]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x1b43c]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x133e8]
call fcn.00449dd2
push ebx
push ebx
lea ecx, [esi + 0x7b9c]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x22558]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x22b0c]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x2d01c]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x407c4]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x2f2f8]
call fcn.0042ec40
jmp 0x459bed
push 1
jmp 0x45a46d
xor ebx, ebx
mov dword [esi + 0x5cea8], ebx
or dword [0x5043d4], 0xffffffff
cmp dword [esi + 0x5cec8], 0xd
jne 0x459bbd
push dword [esi + 0x5cec4]
mov edi, 0x50ade8
mov ecx, edi
call fcn.00492a9d
push eax
mov ecx, edi
call fcn.004a8d45
push ebx
push ebx
lea ecx, [esi + 0x7b9c]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x22558]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x22b0c]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x2d01c]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x407c4]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x2f2f8]
call fcn.0042ec40
push ebx
lea ecx, [esi + 0xee70]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x546e4]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x1b43c]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x1dcf0]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x18358]
jmp 0x45a473
xor ebx, ebx
mov dword [esi + 0x5cea8], ebx
or dword [0x5043d4], 0xffffffff
mov eax, dword [esi + 0x5cec8]
cmp eax, 0xc
jne 0x459c4c
mov ecx, 0x50f3f8
call fcn.0049c7d6
push dword [esi + 0x5cebc]
test eax, eax
je 0x459c35
push 0x44e
call fcn.0048869b
pop ecx
pop ecx
jmp 0x459c3f
mov ecx, 0x50ade8
call fcn.0049312a
lea ecx, [esi + 0x1b43c]
call fcn.0044d07f
jmp 0x459c96
cmp eax, 0xd
jne 0x459c96
lea edi, [esi + 0xee70]
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.0044cfc9
mov dl, byte [esi + 0x5cecd]
push 1
push edx
push ebx
push dword [esi + 0x5cec4]
mov ecx, eax
mov eax, dword [ecx]
push dword [esi + 0x5cebc]
mov ecx, dword [ecx + 4]
push eax
push ecx
mov ecx, edi
call fcn.0044cb31
push dword [esi + 0x5cec0]
mov ecx, edi
push eax
call fcn.0044d18b
push ebx
lea ecx, [esi + 0x1b43c]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x546e4]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x133e8]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x1dcf0]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x18358]
call fcn.00449dd2
push ebx
push ebx
lea ecx, [esi + 0x7b9c]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x22558]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x22b0c]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x2d01c]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x407c4]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x2f2f8]
call fcn.0042ec40
jmp 0x45a611
xor ebx, ebx
mov dword [esi + 0x5cea8], ebx
or dword [0x5043d4], 0xffffffff
mov eax, dword [esi + 0x5cec8]
cmp eax, 0xd
jne 0x459eda
push 0x64
push ebx
push ebx
push ebx
push ebx
push str.Sound_Sell.wav
call dword [sym.imp.NDSound.dll__DXPlaySound_24]
push dword [esi + 0x5cec4]
mov edi, 0x50ade8
mov ecx, edi
call fcn.00492a9d
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x459e8a
mov ecx, dword [eax + 0xc]
cmp ecx, 0xaae60
jb 0x459d99
cmp ecx, 0xaaec4
ja 0x459d99
push 0xa
mov eax, ecx
xor edx, edx
pop ecx
div ecx
cmp edx, 1
ja 0x459e6f
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
xor edx, edx
mov ecx, 0x186a0
div ecx
cmp eax, 0xa
jae 0x459dc0
mov eax, dword [ebp + 8]
push 0xa
xor edx, edx
pop ecx
mov eax, dword [eax + 0xc]
div ecx
cmp edx, 7
jae 0x459e6f
mov ecx, dword [ebp + 8]
call fcn.00460121
test eax, eax
jne 0x459e6f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
cmp ecx, 0x109a02
je 0x459e6f
cmp ecx, 0x109a01
je 0x459e6f
cmp ecx, 0x109a00
je 0x459e6f
cmp ecx, 0xb0265
je 0x459e6f
cmp ecx, 0xb0266
je 0x459e6f
cmp ecx, 0xb0267
je 0x459e6f
cmp ecx, 0x10c8e3
je 0x459e6f
cmp ecx, 0x10c8e6
je 0x459e6f
cmp ecx, 0x10c8e9
je 0x459e6f
cmp byte [eax + 0x4f], bl
ja 0x459e6f
cmp dword [eax + 0x12c], ebx
ja 0x459e6f
cmp dword [eax + 0x130], ebx
ja 0x459e6f
cmp dword [eax + 0x134], ebx
ja 0x459e6f
test byte [eax + 0x5a], 1
jne 0x459e6f
push dword [esi + 0x5cec4]
mov ecx, edi
call fcn.00492a9d
cmp eax, ebx
je 0x459e8a
mov eax, dword [eax + 4]
cmp eax, dword [esi + 0x5cec0]
jne 0x459e8a
push eax
mov ecx, edi
call fcn.004931cd
jmp 0x459e8a
mov eax, dword [esi + 0x5cec4]
push ebx
push ebx
push 0xf
lea ecx, [esi + 0x56f48]
mov dword [esi + 0x5cf6c], eax
call fcn.004127d2
push ebx
push ebx
lea ecx, [esi + 0x7b9c]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x22558]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x22b0c]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x2d01c]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x407c4]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x2f2f8]
call fcn.0042ec40
jmp 0x459f10
cmp eax, 0xc
jne 0x459f10
lea edi, [esi + 0x1b43c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, edi
call fcn.0044cfc9
push 1
push ebx
push ebx
mov ecx, eax
push dword [esi + 0x5cec4]
mov eax, dword [ecx]
push dword [esi + 0x5cebc]
mov ecx, dword [ecx + 4]
push eax
push ecx
mov ecx, edi
call fcn.0044cb31
push ebx
lea ecx, [esi + 0x546e4]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0xee70]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x133e8]
jmp 0x45a473
mov eax, dword [esi + 0x5cec8]
cmp eax, 0xd
jne 0x45a022
xor ebx, ebx
lea edi, [esi + 0x546e4]
lea eax, [ebp - 0x24]
mov dword [esi + 0x5cea8], ebx
or dword [0x5043d4], 0xffffffff
push eax
mov ecx, edi
call fcn.0044cfc9
push 1
push ebx
push ebx
mov ecx, eax
push dword [esi + 0x5cec4]
mov eax, dword [ecx]
push dword [esi + 0x5cebc]
mov ecx, dword [ecx + 4]
push eax
push ecx
mov ecx, edi
call fcn.0044cb31
lea edi, [esi + 0xee70]
mov ecx, edi
call fcn.0044d07f
push ebx
mov ecx, edi
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x1b43c]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x133e8]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x1dcf0]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x18358]
call fcn.00449dd2
push ebx
push ebx
lea ecx, [esi + 0x7b9c]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x22558]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x22b0c]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x2d01c]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x407c4]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x2f2f8]
call fcn.0042ec40
mov ecx, esi
call fcn.0045d8a5
jmp 0x45a611
cmp eax, 3
jne 0x45a611
xor ebx, ebx
lea edi, [esi + 0x546e4]
lea eax, [ebp - 0x2c]
mov dword [esi + 0x5cea8], ebx
or dword [0x5043d4], 0xffffffff
push eax
mov ecx, edi
call fcn.0044cfc9
push 1
push ebx
push ebx
mov ecx, eax
push dword [esi + 0x5cec4]
mov eax, dword [ecx]
push dword [esi + 0x5cebc]
mov ecx, dword [ecx + 4]
push eax
push ecx
mov ecx, edi
call fcn.0044cb31
push ebx
lea ecx, [esi + 0xee70]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x1b43c]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x133e8]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x1dcf0]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x18358]
call fcn.00449dd2
jmp 0x45a016
xor ebx, ebx
cmp dword [esi + 0x5cea8], ebx
je 0x45a611
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x54]
push eax
push dword [esi + 0x54704]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 8]
lea eax, [ebp - 0x54]
push dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x45a604
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x50]
sub eax, dword [ebp - 0x54]
lea edi, [esi + 0x546e4]
push ecx
mov dword [ebp - 0xc], eax
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 8], ecx
push eax
mov ecx, edi
call fcn.0044c63d
mov ecx, eax
push ebx
push ebx
push 1
mov eax, dword [ecx]
mov dword [ebp - 0xc], eax
mov ecx, dword [ecx + 4]
mov dword [ebp - 8], ecx
jmp 0x45a59e
sub eax, 0x15
je 0x45a52a
sub eax, 0x10
je 0x45a4b2
sub eax, 5
je 0x45a36d
dec eax
je 0x45a266
sub eax, 0xc
je 0x45a1b5
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.004c6e60
pop ecx
xor ebx, ebx
cmp dword [esi + 0x5cec8], 0xd
pop ecx
mov dword [ebp + 8], ebx
mov edi, 0x50ade8
jne 0x45a1a0
push dword [esi + 0x5cec4]
mov ecx, edi
call fcn.00492a9d
cmp eax, ebx
je 0x45a187
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
mov dword [esi + 0x5cea8], ebx
or dword [0x5043d4], 0xffffffff
push ebx
lea ecx, [esi + 0xee70]
call fcn.00449dd2
push dword [ebp - 4]
mov ecx, edi
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.00492e86
jmp 0x45a611
xor ebx, ebx
lea ecx, [esi + 0xee70]
mov dword [esi + 0x5cea8], ebx
or dword [0x5043d4], 0xffffffff
push ebx
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x546e4]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x1b43c]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x133e8]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x1dcf0]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x18358]
call fcn.00449dd2
push ebx
push ebx
lea ecx, [esi + 0x7b9c]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x22558]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x22b0c]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x2d01c]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x407c4]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x2f2f8]
call fcn.0042ec40
push ebx
lea ecx, [esi + 0x41408]
jmp 0x45a473
cmp dword [esi + 0x5cec8], 0xd
jne 0x45a366
push dword [esi + 0x5cec4]
mov ecx, 0x50ade8
call fcn.00492a9d
xor ebx, ebx
cmp eax, ebx
je 0x45a2a0
mov eax, dword [eax + 4]
cmp eax, dword [esi + 0x5cec0]
jne 0x45a2a0
push eax
lea ecx, [esi + 0x410ec]
call fcn.0041f4c0
mov dword [esi + 0x5cea8], ebx
or dword [0x5043d4], 0xffffffff
push ebx
lea ecx, [esi + 0xee70]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x546e4]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x1b43c]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x133e8]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x1dcf0]
call fcn.00449dd2
push ebx
push ebx
lea ecx, [esi + 0x7b9c]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x22558]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x22b0c]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x2d01c]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x407c4]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x2f2f8]
call fcn.0042ec40
push ebx
lea ecx, [esi + 0x18358]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x41408]
call fcn.00449dd2
push ebx
push 0x3eb
push 0x464
mov ecx, esi
call fcn.0045b22f
jmp 0x45a611
push 1
jmp 0x45a25b
cmp dword [esi + 0x5cec8], 0xd
jne 0x45a4ab
mov edi, 0x50ade8
mov ecx, edi
call fcn.00495c11
mov ecx, edi
mov ebx, eax
call fcn.00495c18
cmp eax, ebx
jge 0x459a60
push dword [esi + 0x5cec4]
mov ecx, edi
call fcn.00492a9d
xor ebx, ebx
cmp eax, ebx
je 0x45a3e1
mov ecx, dword [eax + 4]
cmp ecx, dword [esi + 0x5cec0]
jne 0x45a3e1
mov eax, dword [eax + 0xc]
cmp eax, 0x10c8e3
je 0x45a47d
cmp eax, 0x10c8e6
je 0x45a47d
cmp eax, 0x10c8e9
je 0x45a47d
push ecx
mov ecx, edi
call fcn.00495cc0
mov dword [esi + 0x5cea8], ebx
or dword [0x5043d4], 0xffffffff
push ebx
lea ecx, [esi + 0xee70]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x546e4]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x1b43c]
call fcn.00449dd2
push ebx
lea ecx, [esi + 0x133e8]
call fcn.00449dd2
push ebx
push ebx
lea ecx, [esi + 0x7b9c]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x22558]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x22b0c]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x2d01c]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x407c4]
call fcn.00410f98
push ebx
push ebx
lea ecx, [esi + 0x2f2f8]
call fcn.0042ec40
push ebx
lea ecx, [esi + 0x1dcf0]
call fcn.00449dd2
jmp 0x45a611
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
push ebx
push ebx
push 0xff0000
push 0x7d5
push 0x28c9
mov ecx, eax
call dword [edx + 0x3c]
push eax
mov ecx, 0x508d10
call fcn.00462ce8
jmp 0x45a611
push 1
jmp 0x459bee
xor ebx, ebx
cmp dword [esi + 0x5cea8], ebx
je 0x45a611
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x54]
push eax
push dword [esi + 0x54704]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 8]
lea eax, [ebp - 0x54]
push dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x45a604
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x50]
sub eax, dword [ebp - 0x54]
lea edi, [esi + 0x546e4]
push ecx
mov dword [ebp - 0xc], eax
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 8], ecx
push eax
mov ecx, edi
call fcn.0044c63d
mov ecx, eax
push ebx
push ebx
push 3
mov eax, dword [ecx]
mov dword [ebp - 0xc], eax
mov ecx, dword [ecx + 4]
mov dword [ebp - 8], ecx
jmp 0x45a59e
xor ebx, ebx
cmp dword [esi + 0x5cea8], ebx
je 0x45a611
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x54]
push eax
push dword [esi + 0x54704]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 8]
mov edi, dword [sym.imp.USER32.dll_PtInRect]
lea eax, [ebp - 0x54]
push dword [ebp - 0xc]
push eax
call edi
test eax, eax
je 0x45a5b0
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x50]
sub eax, dword [ebp - 0x54]
lea edi, [esi + 0x546e4]
push ecx
mov dword [ebp - 0xc], eax
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 8], ecx
push eax
mov ecx, edi
call fcn.0044c63d
mov ecx, eax
push ebx
push ebx
push 2
mov eax, dword [ecx]
mov dword [ebp - 0xc], eax
mov ecx, dword [ecx + 4]
mov dword [ebp - 8], ecx
push ebx
push dword [esi + 0x5cebc]
push eax
push ecx
mov ecx, edi
call fcn.0044cb31
jmp 0x45a604
lea eax, [ebp - 0x54]
push eax
push dword [esi + 0x56e44]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [esi + 0x5ceac]
mov eax, dword [esi + 0x5ceb0]
push eax
lea eax, [ebp - 0x54]
push eax
call edi
test eax, eax
je 0x45a604
push dword [ebp - 8]
lea eax, [ebp - 0x54]
push dword [ebp - 0xc]
push eax
call edi
test eax, eax
jne 0x45a604
lea ecx, [esi + 0x56e24]
call fcn.0044d573
mov dword [esi + 0x5cedc], ebx
mov dword [esi + 0x5ced0], ebx
mov dword [esi + 0x5ced8], ebx
mov dword [esi + 0x5cea8], ebx
or dword [0x5043d4], 0xffffffff
pop edi
pop esi
pop ebx
leave
ret 4