Function at 0x404048
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 8], ebx
je 0x40431b
cmp dword [ebp + 8], ebx
je 0x40431b
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x40431b
push edi
lea ecx, [ebp - 0x14]
push dword [ebp + 8]
call fcn.004146d0
push ebx
lea ecx, [ebp - 0x14]
call fcn.00414ce0
lea ecx, [ebp - 0x14]
mov edi, eax
call fcn.00414740
test eax, eax
jbe 0x4040b1
cmp byte [ebx + edi], 0x2f
jne 0x4040a4
mov byte [ebx + edi], 0x5c
lea ecx, [ebp - 0x14]
inc ebx
call fcn.00414740
cmp ebx, eax
jb 0x40409a
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00414d20
mov eax, dword [esi + 4]
push 1
pop ebx
cmp dword [eax + 0x24], ebx
jne 0x4040d0
xor ecx, ecx
cmp dword [eax + 0x37c], ebx
jmp 0x4040d9
xor ecx, ecx
cmp dword [eax + 0x37c], 2
sete cl
test ecx, ecx
mov edi, str._pagefirst
jne 0x4040ea
mov edi, 0x441880
add eax, 0x38
push str.RUP_
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00414850
add esp, 0xc
lea eax, [ebp - 0x14]
push edi
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00414810
add esp, 0xc
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00414850
mov ecx, dword [esi + 4]
add esp, 0xc
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00406c40
lea ecx, [ebp - 0x2c]
call fcn.004146c0
lea ecx, [ebp - 0x34]
call fcn.004146c0
lea ecx, [ebp - 0xc]
call fcn.004146c0
cmp byte [ebp - 0x15], 0xff
lea eax, [ebp - 0x1c]
jne 0x404152
mov eax, dword [ebp - 0x1c]
push eax
push dword [esi + 0xc]
call fcn.00401609
pop ecx
test eax, eax
pop ecx
jge 0x40416b
mov esi, 0x8000aaa4
jmp 0x404306
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x404179
xor esi, esi
jmp 0x404306
mov eax, dword [esi + 4]
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
cmp dword [eax + 0x24], 2
jne 0x40419b
cmp dword [esi + 0x28], edi
jne 0x40419b
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ebx
jmp 0x4041ab
push 0x181
push edi
push edi
push dword [esi + 8]
call dword [sym.imp.USER32.dll_RedrawWindow]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 4]
push eax
call dword [sym.imp.MSVCRT.dll_time]
mov eax, dword [ebp - 4]
pop ecx
cdq
mov ecx, 0x15180
push 6
idiv ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x50], edi
pop ecx
lea edi, [ebp - 0x4c]
mov dword [ebp - 4], eax
xor eax, eax
rep stosd dword es:[edi], eax
xor edi, edi
cmp dword [esi + 0x10], edi
jne 0x4042f3
cmp dword [esi + 0x24], edi
je 0x404249
cmp dword [ebp - 8], edi
jne 0x40421a
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x2c]
jne 0x40420d
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x28]
je 0x404249
push ebx
mov ecx, esi
mov dword [ebp - 8], ebx
call fcn.00403bc9
jmp 0x404249
lea eax, [ebp + 8]
push eax
call dword [sym.imp.MSVCRT.dll_time]
mov eax, dword [ebp + 8]
pop ecx
cdq
mov ecx, 0x15180
idiv ecx
mov dword [ebp + 8], eax
sub eax, dword [ebp - 4]
cmp eax, 0xf
jl 0x404249
push ebx
mov ecx, esi
call fcn.00403bc9
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [esi + 0x18], edi
jne 0x4042a9
cmp dword [esi + 0x1c], edi
je 0x40429c
push ebx
push dword [esi + 8]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetFocus]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0x181
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_RedrawWindow]
push dword [esi + 0xc]
call edi
push 0x181
push 0
push 0
push dword [esi + 8]
call edi
xor edi, edi
jmp 0x4042a6
push edi
push dword [esi + 8]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esi + 0x18], ebx
push ebx
push edi
push edi
lea eax, [ebp - 0x50]
push edi
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
cmp eax, edi
je 0x4042e6
lea eax, [ebp - 0x50]
push eax
push dword [esi + 0xc]
call fcn.004016e8
pop ecx
test eax, eax
pop ecx
jne 0x4042d7
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x4041e0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4041e0
push ebx
push dword [esi + 8]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, esi
call fcn.00403ff8
mov esi, eax
lea ecx, [ebp - 0x1c]
call fcn.004146c0
lea ecx, [ebp - 0x14]
call fcn.004146c0
mov eax, esi
pop edi
jmp 0x404320
mov eax, 0x80004005
pop esi
pop ebx
leave
ret 4