Function at 0x535c54
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5360eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov byte [eax], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
call fcn.00476680
test al, al
je 0x5360cd
mov eax, dword [ebp - 4]
call fcn.00536880
mov eax, dword [ebp - 4]
call fcn.00536940
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
mov edx, dword [eax + 0x288]
mov eax, dword [0x5ddd8c]
call fcn.00532038
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
mov edx, dword [eax + 0x288]
mov eax, dword [0x574240]
mov eax, dword [eax]
call fcn.00489164
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
mov edx, dword [eax + 0x288]
mov eax, dword [0x5ddd8c]
call fcn.00532ce4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
mov edx, dword [eax + 0x288]
mov eax, dword [0x5ddd8c]
call fcn.00533390
mov eax, dword [0x574114]
cmp byte [eax], 0
je 0x535df8
lea eax, [ebp - 0x20]
mov edx, dword [0x57400c]
add edx, 4
call fcn.00404e50
mov eax, dword [ebp - 0x20]
mov edx, dword [0x574288]
mov edx, dword [edx]
call fcn.00404ff8
je 0x535d58
mov edx, dword [0x57400c]
movzx edx, word [edx + 0x1a]
mov eax, dword [0x573be8]
mov eax, dword [eax]
call fcn.0047e974
mov dword [ebp - 0x14], eax
jmp 0x535d6c
mov eax, dword [0x573be8]
mov eax, dword [eax]
mov edx, 0x73
call fcn.0047e974
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x535df8
lea eax, [ebp - 0x10]
push eax
call sub.user32.dll_GetCursorPos
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0043c414
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x14]
call fcn.00471c08
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 1
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x14]
call fcn.00471c08
mov eax, dword [ebp - 0x3c]
sar eax, 1
jns 0x535dc3
adc eax, 0
mov edx, dword [ebp - 0xc]
sub edx, eax
push edx
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x14]
call fcn.00471c08
mov eax, dword [ebp - 0x50]
sar eax, 1
jns 0x535dde
adc eax, 0
mov edx, dword [ebp - 0x10]
sub edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
mov eax, dword [eax + 0x288]
pop ecx
call fcn.00471474
mov eax, dword [0x574018]
cmp byte [eax], 0
je 0x535ee4
lea eax, [ebp - 0x5c]
mov edx, dword [0x573ee0]
add edx, 4
call fcn.00404e50
mov eax, dword [ebp - 0x5c]
mov edx, dword [0x574288]
mov edx, dword [edx]
call fcn.00404ff8
je 0x535e44
mov edx, dword [0x573ee0]
movzx edx, word [edx + 0x1a]
mov eax, dword [0x573be8]
mov eax, dword [eax]
call fcn.0047e974
mov dword [ebp - 0x14], eax
jmp 0x535e58
mov eax, dword [0x573be8]
mov eax, dword [eax]
mov edx, 0x73
call fcn.0047e974
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x535ee4
lea eax, [ebp - 0x10]
push eax
call sub.user32.dll_GetCursorPos
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0043c414
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x14]
call fcn.00471c08
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 1
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x14]
call fcn.00471c08
mov eax, dword [ebp - 0x3c]
sar eax, 1
jns 0x535eaf
adc eax, 0
mov edx, dword [ebp - 0xc]
sub edx, eax
push edx
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x14]
call fcn.00471c08
mov eax, dword [ebp - 0x50]
sar eax, 1
jns 0x535eca
adc eax, 0
mov edx, dword [ebp - 0x10]
sub edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
mov eax, dword [eax + 0x288]
pop ecx
call fcn.00471474
mov eax, dword [0x5739b4]
cmp byte [eax], 0
je 0x535f43
mov eax, dword [0x57397c]
cmp dword [eax], 1
jge 0x535f03
mov eax, dword [0x57397c]
mov dword [eax], 1
mov edx, dword [0x57397c]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
mov eax, dword [eax + 0x288]
call fcn.004816ec
mov eax, dword [0x57397c]
cmp dword [eax], 1
jg 0x535f36
mov eax, dword [0x5739b4]
mov byte [eax], 0
jmp 0x535fe9
mov eax, dword [0x57397c]
sub dword [eax], 2
jmp 0x535fe9
mov eax, dword [0x573e04]
cmp byte [eax], 0
je 0x535f9c
mov eax, dword [0x57397c]
cmp dword [eax], 0x1d
jle 0x535f62
mov eax, dword [0x57397c]
mov dword [eax], 0x1d
mov edx, dword [0x57397c]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
mov eax, dword [eax + 0x288]
call fcn.004816ec
mov eax, dword [0x57397c]
cmp dword [eax], 0x1d
jl 0x535f92
mov eax, dword [0x573e04]
mov byte [eax], 0
jmp 0x535fe9
mov eax, dword [0x57397c]
add dword [eax], 2
jmp 0x535fe9
mov eax, dword [0x573ba0]
cmp byte [eax], 0
je 0x535fe9
mov eax, dword [0x57397c]
cmp dword [eax], 1
jge 0x535fbb
mov eax, dword [0x57397c]
mov dword [eax], 1
mov edx, dword [0x57397c]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
mov eax, dword [eax + 0x288]
call fcn.004816ec
mov eax, dword [0x57397c]
cmp dword [eax], 1
jle 0x535fe9
mov eax, dword [0x57397c]
sub dword [eax], 4
mov eax, dword [0x5743f8]
mov eax, dword [eax]
mov eax, dword [eax + 0x8bc]
cmp byte [eax + 0x26c], 0
jne 0x5360bf
mov eax, dword [0x573dbc]
cmp byte [eax], 0
jne 0x5360bf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
mov eax, dword [eax + 0x288]
call fcn.00471bd0
mov dword [ebp - 0x18], eax
push 1
mov eax, dword [ebp - 0x18]
call fcn.0042513c
push eax
call sub.gdi32.dll_SetBkMode
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov edx, 0x93f4f2
call fcn.004240d4
push 0x536100
mov ecx, 0x217
mov edx, 0x168
mov eax, dword [ebp - 0x18]
call fcn.00424e2c
push 0x536118
mov ecx, 0x229
mov edx, 0xbe
mov eax, dword [ebp - 0x18]
call fcn.00424e2c
push 0x536168
mov ecx, 0x23b
mov edx, 0xbe
mov eax, dword [ebp - 0x18]
call fcn.00424e2c
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov edx, 0xff00
call fcn.004240d4
mov eax, dword [0x5741b0]
mov eax, dword [eax]
push eax
mov ecx, 0x249
mov edx, 0x2b2
mov eax, dword [ebp - 0x18]
call fcn.00424e2c
mov eax, dword [ebp - 0x18]
call fcn.00470940
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
call fcn.00476644
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5360f2
lea eax, [ebp - 0x5c]
call fcn.00404bec
lea eax, [ebp - 0x20]
call fcn.00404bec
ret