Function at 0x40386e
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
test byte [0x44bf3d], 1
jne 0x40389b
or byte [0x44bf3d], 1
push 0
mov ecx, 0x44bf40
call fcn.0040194d
push 0x403b79
call fcn.00432a81
pop ecx
push ebx
push esi
push edi
push 2
pop ebx
test byte [0x44bf3d], bl
jne 0x4038c4
or byte [0x44bf3d], bl
mov ecx, 0x44bf50
call fcn.00402cbe
push fcn.0040cfbf
call fcn.00432a81
pop ecx
test byte [0x44bf3d], 4
jne 0x4038ed
or byte [0x44bf3d], 4
mov edi, 0x44bf58
mov ecx, edi
call fcn.00402cbe
push fcn.0040cfbf
call fcn.00432a81
pop ecx
jmp 0x4038f2
mov edi, 0x44bf58
test byte [0x44bf3d], 8
jne 0x403919
or byte [0x44bf3d], 8
push ebx
push ebx
mov ecx, 0x44bf60
call fcn.00402add
push fcn.0040cfbf
call fcn.00432a81
pop ecx
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0
jne 0x403930
cmp dword [ebx + 4], 0x113
jne 0x403930
mov byte [ebp - 2], 1
jmp 0x403934
and byte [ebp - 2], 0
mov esi, 0x200
mov byte [ebp + 0xb], 1
cmp dword [ebx + 4], esi
jne 0x403956
mov ecx, 0x44bf40
call fcn.00401a25
cmp dword [ebx], eax
je 0x403956
mov byte [ebp - 1], 1
jmp 0x40395a
and byte [ebp - 1], 0
mov eax, dword [ebx + 4]
cmp eax, esi
jb 0x40397e
cmp eax, 0x201
jbe 0x403976
cmp eax, 0x204
je 0x403976
cmp eax, 0x207
jne 0x40397e
mov eax, dword [ebx + 8]
mov dword [0x44ad04], eax
cmp byte [ebp - 2], 0
je 0x403ab4
xor esi, esi
cmp dword [0x44bf45], esi
je 0x4039c8
mov ecx, edi
call fcn.00411826
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x4039c8
lea eax, [ebp - 0x1c]
push 0x44bf58
push eax
mov ecx, 0x44bf40
call fcn.00402f9a
mov ecx, eax
call fcn.00402b95
test al, al
je 0x4039c8
mov byte [ebp + 0xb], 1
jmp 0x4039cc
and byte [ebp + 0xb], 0
lea eax, [ebp - 0xc]
push 0x44bf50
push eax
mov ecx, edi
call fcn.00403b59
mov eax, dword [0x44bf58]
cmp dword [0x44ad04], esi
mov dword [0x44bf50], eax
mov eax, dword [0x44bf5c]
mov dword [0x44bf54], eax
jne 0x403a9c
cmp dword [0x44ad00], esi
je 0x403adb
cmp byte [ebp + 0xb], 0
je 0x403a9c
push dword [ebp - 0xc]
call fcn.00432c28
cmp eax, dword [0x44bf60]
pop ecx
jg 0x403a9c
push dword [ebp - 8]
call fcn.00432c28
cmp eax, dword [0x44bf64]
pop ecx
jg 0x403a9c
mov eax, dword [ebx + 0x10]
sub eax, dword [0x44ad00]
add dword [0x44acfc], eax
mov eax, dword [0x44acfc]
cmp eax, dword [0x446318]
jb 0x403adb
mov ecx, 0x44bf40
call fcn.00401a25
mov ecx, edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0x2a1
mov dword [ebp - 0x20], esi
call fcn.00403b50
mov dword [ebp - 0x1c], eax
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
and dword [0x44ad00], 0
and dword [0x44acfc], 0
mov edi, 0x44bf58
jmp 0x403adb
cmp dword [0x44ad00], esi
je 0x403adb
mov dword [0x44acfc], esi
mov eax, dword [ebx + 0x10]
mov dword [0x44ad00], eax
jmp 0x403adb
cmp byte [ebp - 1], 0
je 0x403b4b
and dword [0x44acfc], 0
mov eax, dword [ebx + 0x10]
mov ecx, edi
mov dword [0x44ad00], eax
call fcn.00411826
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp byte [ebp - 1], 0
jne 0x403aed
cmp byte [ebp - 2], 0
je 0x403b4b
cmp byte [ebp + 0xb], 0
jne 0x403b4b
mov esi, 0x44bf40
mov ecx, esi
call fcn.00401a25
test eax, eax
je 0x403b44
mov ecx, esi
call fcn.00401a25
mov esi, eax
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, esi
je 0x403b44
mov ecx, 0x44bf40
call fcn.00401a25
and dword [ebp - 0x20], 0
mov ecx, edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0x2a3
call fcn.00403b50
mov dword [ebp - 0x1c], eax
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov eax, dword [ebx]
mov dword [0x44bf45], eax
pop edi
pop esi
pop ebx
leave
ret