Function at 0x51c1e0
Capabilities:
Check for time delay via gettickcount
Check for unmoving mouse cursor
Get memory capacity
Print debug messages

Disassembly:
push rbp
push rbx
sub rsp, 0xd8
mov rbp, rsp
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], 0
nop
lea rcx, [rbp + 0x48]
xor rdx, rdx
call fcn.00406690
lea rcx, [rbp + 0x78]
mov rdx, qword [rbp + 0x48]
mov r8b, 1
call fcn.0051ba10
lea rcx, [rbp + 0x40]
xor rdx, rdx
call fcn.00406690
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0x40]
mov r8b, 2
call fcn.0051ba10
lea rcx, [rbp + 0x38]
xor rdx, rdx
call fcn.00406690
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x38]
mov r8b, 3
call fcn.0051ba10
lea rcx, [rbp + 0x30]
xor rdx, rdx
call fcn.00406690
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x30]
mov r8b, 4
call fcn.0051ba10
lea rcx, [rbp + 0x28]
xor rdx, rdx
call fcn.00406690
lea rcx, [rbp + 0x58]
mov rdx, qword [rbp + 0x28]
call fcn.00424930
xor rax, rax
cmp qword [rbp + 0x78], 0
je 0x51c2d7
mov rax, qword [rbp + 0x78]
mov eax, dword [rax - 4]
test eax, eax
jle 0x51c309
mov rcx, qword [rbp + 0x78]
mov rdx, qword [rbp + 0x58]
mov r8d, 1
call fcn.0040cc00
test eax, eax
jle 0x51c309
lea rcx, [0x0051c5f8]
call sub.KERNEL32.DLL_OutputDebugStringW
call fcn.0051c160
jmp 0x51c56c
xor rax, rax
cmp qword [rbp + 0x70], 0
je 0x51c31a
mov rax, qword [rbp + 0x70]
mov eax, dword [rax - 4]
test eax, eax
jle 0x51c34c
mov rcx, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x58]
mov r8d, 1
call fcn.0040cc00
test eax, eax
jle 0x51c34c
lea rcx, [0x0051c5fe]
call sub.KERNEL32.DLL_OutputDebugStringW
call fcn.0051c160
jmp 0x51c56c
xor rax, rax
cmp qword [rbp + 0x68], 0
je 0x51c35d
mov rax, qword [rbp + 0x68]
mov eax, dword [rax - 4]
test eax, eax
jle 0x51c38f
mov rcx, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x58]
mov r8d, 1
call fcn.0040cc00
test eax, eax
jle 0x51c38f
lea rcx, [0x0051c604]
call sub.KERNEL32.DLL_OutputDebugStringW
call fcn.0051c160
jmp 0x51c56c
xor rax, rax
cmp qword [rbp + 0x60], 0
je 0x51c3a0
mov rax, qword [rbp + 0x60]
mov eax, dword [rax - 4]
test eax, eax
jle 0x51c3d2
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x58]
mov r8d, 1
call fcn.0040cc00
out dx, eax
invalid
test eax, eax
jle 0x51c3d2
lea rcx, [0x0051c60a]
call fcn.0051b460
test al, al
je 0x51c3f1
lea rcx, [0x0051c610]
call sub.KERNEL32.DLL_OutputDebugStringW
out dx, eax
invalid
call fcn.0051c160
jmp 0x51c56c
call fcn.0051b3c0
test al, al
je 0x51c410
lea rcx, [0x0051c616]
call sub.KERNEL32.DLL_OutputDebugStringW
call fcn.0051c160
jmp 0x51c56c
call fcn.0051b500
test al, al
je 0x51c42f
lea rcx, [0x0051c61c]
call sub.KERNEL32.DLL_OutputDebugStringW
call fcn.0051c160
jmp 0x51c56c
lea rcx, [rbp + 0xc8]
mov edx, 8
xor r8, r8
call fcn.00407510
lea rcx, [rbp + 0xc0]
mov edx, 8
xor r8, r8
call fcn.00407510
lea rcx, [rbp + 0xc8]
call sub.user32.dll_GetCursorPos
lea rcx, [rbp + 0xc0]
call sub.user32.dll_GetCursorPos
mov eax, dword [rbp + 0xc8]
cmp eax, dword [rbp + 0xc0]
jne 0x51c48d
mov eax, dword [rbp + 0xcc]
cmp eax, dword [rbp + 0xc4]
je 0x51c4a3
lea rcx, [0x0051c622]
call sub.KERNEL32.DLL_OutputDebugStringW
call fcn.0051c160
jmp 0x51c56c
call sub.KERNEL32.DLL_GetTickCount
mov ebx, eax
mov ebx, ebx
mov ecx, 0xbb8
call fcn.00518dd0
call sub.KERNEL32.DLL_GetTickCount
mov eax, eax
neg rbx
neg ebx