Function at 0x140060f4c
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov ebx, dword [rsp + 0x138]
mov r12d, 0
mov esi, r9d
mov ecx, ebx
mov eax, ebx
mov r14d, ebx
and ecx, 0x40
and eax, 0x10
and r14d, 0x20
mov dword [rsp + 0x5c], ecx
mov ecx, ebx
mov ebp, r12d
and ecx, 0x80
mov dword [rsp + 0x138], eax
mov dword [rsp + 0x58], ecx
mov ecx, ebx
and ecx, 4
mov dword [rsp + 0x60], ecx
mov ecx, ebx
and ecx, 8
mov dword [rsp + 0x50], ecx
mov ecx, ebx
and ecx, 0x100
sete bpl
mov dword [rsp + 0x54], ecx
and ebp, ebx
and ebx, 1
and ebp, 0x200
cmp eax, r12d
je 0x140060fe8
lea r15d, [r12 + 1]
cmp r14d, r12d
jne 0x140060feb
mov r15d, r12d
lea r13, [0x14012e0b8]
mov edi, r12d
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x14012d2c0], r12
je 0x140061017
movsx eax, byte [0x14012d2d3]
cmp eax, ebx
je 0x140061017
call fcn.1400580ac
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx r11d, word [0x14012d39c]
test r11b, 2
je 0x140061088
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movzx r11d, word [0x14012d39c]
test r11b, 2
je 0x140061059
mov ax, word [0x14012d39c]
and eax, 0xfffffffc
add eax, 6
mov word [0x14012d39c], ax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x14006107a
xor r9d, r9d
lea rcx, [0x14012d0c0]
xor r8d, r8d
lea edx, [r9 + 1]
call fcn.14001ec3c
movzx r11d, word [0x14012d39c]
test r11b, 2
jne 0x140061064
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r13, qword [0x14012d2c0]
mov word [0x14012d39c], r12w
movsxd r12, dword [rsp + 0x130]
mov qword [rsp + 0x68], rax
test r13, r13
jne 0x1400610de
mov ecx, r15d
mov edx, 0x514
neg ecx
sbb ecx, ecx
and ecx, 2
or ecx, ebx
call fcn.140058008
mov r13, qword [0x14012d2c0]
test r13, r13
je 0x140061376
xor edx, edx
lea rcx, [rsp + 0x74]
lea r8d, [rdx + 0x44]
call fcn.1400f3900
mov rax, qword [rsp + 0x100]
lea r9, [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x140]
xor r8d, r8d
mov edx, 0x432
mov rcx, r13
mov dword [rsp + 0x70], 0x2c
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x74], 0x123
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x14012d2c0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x411
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x14012d2c0]
xor r9d, r9d
mov edx, 0x413
mov r8d, 0xe0f0f0
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11, qword [rsp + 0x108]
mov rcx, qword [0x14012d2c0]
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, 0x439
mov qword [rsp + 0xa0], r11
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd r8, dword [rsp + 0x128]
mov r9, qword [rsp + 0x110]
mov rcx, qword [0x14012d2c0]
mov edx, 0x421
call qword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [rsp + 0x120]
xor eax, eax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x4c], eax
cmp r15d, eax
jne 0x1400611f3
movzx ecx, bx
movzx eax, si
xor r8d, r8d
shl ecx, 0x10
mov edx, 0x412
or ecx, eax
movsxd r9, ecx
mov rcx, qword [0x14012d2c0]
call qword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov rcx, qword [0x14012d2c0]
mov r13d, 0x13
xor r9d, r9d
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], eax
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x14012d2c0]
mov dword [rsp + 0x30], r13d
and dword [rsp + 0x28], edi
and dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
or rdx, 0xffffffffffffffff
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x14012d2c0]
lea r9, [rsp + 0x70]
lea r8d, [r13 - 0x12]
mov edx, 0x411
call qword [sym.imp.USER32.dll_SendMessageW]
mov r13, qword [rsp + 0x100]
mov edx, 0xabb
mov rcx, r13
call qword [sym.imp.USER32.dll_KillTimer]
test r12d, r12d
jle 0x1400612a0
lea r9, [0x1400581ac]
mov r8d, r12d
mov edx, 0xabb
mov rcx, r13
call qword [sym.imp.USER32.dll_SetTimer]
test eax, eax
je 0x1400612a0
neg ebp
sbb edi, edi
neg edi
inc edi
mov word [0x14012d39c], di
mov ecx, 0x3d
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0x3e
mov ebp, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rcx, qword [0x14012d2c0]
lea rdx, [rsp + 0x40]
mov r13d, eax
call qword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [rsp + 0x138], 0
je 0x1400612f6
test r14d, r14d
je 0x1400612ea
mov ecx, dword [rsp + 0x40]
sub ecx, dword [rsp + 0x48]
add ecx, ebp
add esi, ecx
jmp 0x1400612ff
mov eax, dword [rsp + 0x40]
sub eax, dword [rsp + 0x48]
add esi, eax
jmp 0x1400612ff
cmp dword [rsp + 0x60], 0
je 0x1400612ff
add esi, ebp
xor ebp, ebp
cmp dword [rsp + 0x5c], ebp
je 0x14006131c
mov eax, dword [rsp + 0x44]
sub eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x58], ebp
je 0x140061318
add eax, r13d
add ebx, eax
jmp 0x140061325
cmp dword [rsp + 0x50], ebp
je 0x140061325
add ebx, r13d
cmp r15d, ebp
jne 0x14006134f
movzx ecx, bx
movzx eax, si
xor r8d, r8d
shl ecx, 0x10
mov edx, 0x412
or ecx, eax
movsxd r9, ecx
mov rcx, qword [0x14012d2c0]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x140061378
mov rcx, qword [0x14012d2c0]
mov dword [rsp + 0x30], 0x15
mov r9d, ebx
mov r8d, esi
xor edx, edx
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x140061378
xor ebp, ebp
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
test dil, 2
je 0x1400613bd
lea rax, [0x14012c9d0]
mov r8d, 0x10000
lea rcx, [0x1400580f0]
mov rdx, r12
mov r9d, r8d
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call fcn.14005783c
cmp rax, rbp
je 0x1400613bd
inc dword [0x14012d788]
lea rcx, [0x14012e0b8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [rsp + 0x54], ebp
je 0x14006142c
cmp qword [0x14012d2c0], rbp
je 0x14006142c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movzx ecx, word [0x14012d39c]
mov ebx, eax
cmp edi, ecx
jne 0x14006142c
mov cl, byte [0x14012a25f]
cmp cl, bpl
jle 0x14006142c
cmp r12d, ebp
jle 0x14006142c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, r12d
jae 0x14006142c
xor r9d, r9d
lea rcx, [0x14012d0c0]
xor r8d, r8d
lea edx, [r9 + 1]
call fcn.14001ec3c
movzx r11d, word [0x14012d39c]
cmp edi, r11d
je 0x1400613ec
lea rcx, [0x14012e060]
mov rbx, qword [rsp + 0x118]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]