Function at 0x4a1770
Capabilities:
Check for unmoving mouse cursor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov ecx, dword [esi + 0x30]
cmp ecx, ebp
jne 0x4a178e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3c
ret 8
call fcn.0049d8a0
mov ebx, dword [esp + 0x54]
test eax, eax
jne 0x4a1941
mov ecx, dword [esi + 0x30]
push 0xffffffffffffffff
call fcn.0049e510
test eax, eax
jne 0x4a1941
lea ecx, [esp + 0x1c]
call fcn.0049c390
mov eax, dword [esi + 0x700]
mov edi, 1
cmp eax, edi
jne 0x4a1813
mov ecx, dword [esi + 0x30]
push 0xffffffffffffffff
call fcn.0049dfa0
mov dword [esp + 0x54], eax
fild dword [esp + 0x54]
fmul qword [esi + 0x58]
fadd qword [0x4d6e18]
call fcn.004a7d38
mov ecx, dword [esi + 0x30]
push 0xffffffffffffffff
mov dword [esp + 0x20], eax
call fcn.0049e050
mov dword [esp + 0x54], eax
fild dword [esp + 0x54]
fmul qword [esi + 0x58]
fadd qword [0x4d6e18]
call fcn.004a7d38
mov dword [esp + 0x20], eax
jmp 0x4a1821
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x64]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.00470ad0
cmp eax, 8
mov dword [esp + 0x24], eax
jne 0x4a1838
mov edx, dword [esi + 0x68]
mov dword [esp + 0x28], edx
jmp 0x4a184a
cmp eax, 0x10
jne 0x4a1846
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x28], eax
jmp 0x4a184a
mov dword [esp + 0x28], ebp
mov eax, dword [esi + 0x6c8]
mov ecx, dword [esi + 0x78]
cmp eax, ebp
mov dword [esp + 0x38], ecx
je 0x4a186b
mov ecx, dword [esi + 0x30]
call fcn.0049dd40
test eax, eax
mov dword [esp + 0x3c], edi
jne 0x4a186f
mov dword [esp + 0x3c], ebp
mov edx, dword [esi + 0x70]
mov eax, dword [esi + 0x74]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x80]
xor ecx, ecx
cmp edx, ebp
sete cl
lea edx, [esp + 0x1c]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x30]
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], ebp
call fcn.0049d210
test eax, eax
jne 0x4a18ad
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 8
mov eax, dword [esi + 0x6d0]
mov ecx, dword [esi + 0x30]
push eax
call fcn.0049ddc0
cmp eax, ebp
je 0x4a18d6
test byte [eax + 0x18], 0x20
je 0x4a18d6
cmp ebx, ebp
je 0x4a18d6
mov ecx, dword [esi + 0x50]
push ebp
push ebp
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [esi + 0x6c8], ebp
je 0x4a1920
mov ecx, dword [esi + 0x30]
cmp ecx, ebp
je 0x4a1920
call fcn.0049dd40
test eax, eax
je 0x4a1920
mov ecx, dword [esi + 0x30]
push ebp
call fcn.0049ddc0
cmp eax, ebp
je 0x4a1920
mov dword [esi + 0x6d0], ebp
mov eax, dword [eax + 0x38]
cmp eax, ebp
jne 0x4a190d
mov eax, 0x64
mov edx, dword [esi + 0x50]
push ebp
push eax
push edi
push edx
mov dword [esi + 0x6c4], ebp
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [esi + 0x700], ebp
jne 0x4a193a
mov eax, dword [esi + 0x6d0]
mov ecx, dword [esi + 0x30]
push eax
call fcn.0049daf0
fstp qword [esi + 0x58]
mov ecx, esi
call fcn.004a1df0
mov ecx, dword [esi + 0x30]
call fcn.0049e950
mov edx, dword [esi + 0x6d0]
xor ecx, ecx
cmp eax, edx
mov eax, dword [esp + 0x50]
sete cl
cmp eax, 0x64
mov edi, ecx
jb 0x4a1966
mov eax, 0x64
lea edx, [esi + 0x84]
lea ecx, [esp + 0x10]
push edx
push ecx
mov ecx, dword [esi + 0x30]
push eax
mov dword [esp + 0x1c], ebp
call fcn.0049d560
mov edx, dword [esi + 0x50]
push ebp
push ebp
mov ebp, dword [sym.imp.USER32.dll_PostMessageA]
push 0x400
push edx
mov dword [esp + 0x64], eax
call ebp
test ebx, ebx
je 0x4a1b26
test edi, edi
je 0x4a1b26
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4a1b26
mov ebx, dword [sym.imp.USER32.dll_OffsetRect]
dec eax
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x6d0]
mov ecx, dword [esi + 0x30]
push eax
call fcn.0049daf0
fdivr qword [esi + 0x58]
fmul qword [0x4db2a8]
fadd qword [0x4d6e18]
call fcn.004a7d38
mov edx, dword [esp + 0x10]
mov ecx, eax
shl edx, 4
mov eax, 0x68db8bad
lea edi, [edx + esi + 0x84]
mov edx, dword [edx + esi + 0x84]
imul edx, ecx
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x68db8bad
mov dword [edi], edx
mov edx, dword [esp + 0x10]
shl edx, 4
lea edi, [edx + esi + 0x88]
mov edx, dword [edx + esi + 0x88]
imul edx, ecx
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp ecx, 0x2710
mov dword [edi], edx
mov edx, dword [esp + 0x10]
jle 0x4a1a89
shl edx, 4
mov eax, 0x68db8bad
lea edi, [edx + esi + 0x8c]
mov edx, dword [edx + esi + 0x8c]
inc edx
imul edx, ecx
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x68db8bad
mov dword [edi], edx
mov edx, dword [esp + 0x10]
add edx, 9
shl edx, 4
lea edi, [edx + esi]
mov edx, dword [edx + esi]
inc edx
imul edx, ecx
imul edx
jmp 0x4a1acf
shl edx, 4
mov eax, 0x68db8bad
lea edi, [edx + esi + 0x8c]
mov edx, ecx
imul edx, dword [edi]
add edx, 0x270f
imul edx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x68db8bad
mov dword [edi], edx
mov edx, dword [esp + 0x10]
add edx, 9
shl edx, 4
imul ecx, dword [edx + esi]
lea edi, [edx + esi]
add ecx, 0x270f
imul ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [edi], edx
mov ecx, dword [esi + 0x14]
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x10]
neg ecx
shl eax, 4
push ecx
neg edx
lea ecx, [eax + esi + 0x84]
push edx
push ecx
call ebx
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x50]
shl edx, 4
push 0
lea eax, [edx + esi + 0x84]
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x10]
mov edx, eax
dec eax
test edx, edx
mov dword [esp + 0x10], eax
jne 0x4a19bd
mov ecx, dword [esi + 0x30]
call fcn.0049d830
mov edi, dword [sym.imp.USER32.dll_GetCursorPos]
mov ebx, dword [sym.imp.USER32.dll_SetCursorPos]
test eax, eax
je 0x4a1b6a
mov ecx, dword [esi + 0x30]
push 0
call fcn.0049d720
mov eax, dword [esi + 0x50]
push 0
push 1
push 0x401
push eax
call ebp
lea ecx, [esp + 0x14]
push ecx
call edi
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
call ebx
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x4a1baa
mov ecx, dword [esi + 0x30]
push 0
call fcn.0049d720
lea ecx, [esp + 0x14]
push ecx
call edi
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
call ebx
mov ecx, dword [esi + 0x50]
push 0
push 0
push 0x401
push ecx
call ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3c
ret 8
mov eax, dword [esi + 0x6c4]
test eax, eax
je 0x4a1be4
mov ecx, dword [esi + 0x30]
call fcn.0049e950
mov edx, dword [esi + 0x6d0]
inc edx
cmp eax, edx
jg 0x4a1bd5
mov ecx, dword [esi + 0x30]
push 0xffffffffffffffff
call fcn.0049e510
test eax, eax
je 0x4a1be4
mov eax, dword [esi + 0x50]
push 0
push 1
push 0x113
push eax
call ebp
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x3c
ret 8