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

Disassembly:
push rbp
sub rsp, 0xa0
mov rbp, rsp
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x58], r8
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x98], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0xb8], rdx
mov rcx, qword [rbp + 0xb8]
call fcn.0040e240
nop
mov rax, qword [rbp + 0x58]
movzx rax, byte [rax]
cmp rax, 0x1f
jg 0x68643b
cmp rax, 0x1f
je 0x686647
sub rax, 1
cmp rax, 0xffffffffffffffff
je 0x68645a
test rax, rax
jne 0x686838
jmp 0x68661c
sub rax, 0x20
test rax, rax
je 0x6866b3
sub rax, 9
test rax, rax
jne 0x686838
jmp 0x686771
lea rcx, [rbp + 0x88]
lea rdx, [0x006868ac]
mov r8, qword [0x009b4cb0]
call fcn.0040ef90
mov rcx, qword [rbp + 0x88]
mov rdx, qword [rbp + 0xb8]
call fcn.00685220
cmp al, 1
jne 0x6864bc
mov rax, qword [rbp + 0x60]
cmp byte [rax + 9], 0
je 0x686839
mov rax, qword [rbp + 0x58]
mov byte [rax], 1
lea rcx, [rax + 8]
call fcn.0040e0d0
call sub.kernel32.dll_GetTickCount_1
add eax, 0xea60
mov rcx, qword [rbp + 0x58]
mov dword [rcx + 4], eax
lea rcx, [0x006868c0]
mov rdx, qword [rbp + 0xb8]
call fcn.00685220
cmp al, 1
jne 0x686583
mov rax, qword [rbp + 0x60]
cmp byte [rax + 8], 0
je 0x686839
mov rax, qword [rbp + 0x58]
mov byte [rax], 2
call sub.kernel32.dll_GetTickCount_1
add eax, 0xea60
mov rcx, qword [rbp + 0x58]
mov dword [rcx + 4], eax
mov rcx, qword [rbp + 0xb8]
lea rdx, [rbp + 0x98]
lea r8, [rbp + 0x90]
call fcn.006860b0
mov rax, qword [rbp + 0x60]
cmp word [rax + 0x3000a0], 0
jne 0x686556
mov rax, qword [rbp + 0x58]
lea rcx, [rax + 8]
mov edx, 3
mov r8, qword [rbp + 0x98]
mov r9, qword [0x009b4cb0]
mov rax, qword [0x009b4cc0]
mov qword [rsp + 0x20], rax
call fcn.0040f220
jmp 0x686583
mov rax, qword [rbp + 0x58]
lea rcx, [rax + 8]
mov edx, 3
mov r8, qword [rbp + 0x98]
mov r9, qword [0x009b4cb0]
mov rax, qword [rbp + 0x90]
mov qword [rsp + 0x20], rax
call fcn.0040f220
lea rcx, [0x006868d8]
mov rdx, qword [rbp + 0xb8]
call fcn.00685220
cmp al, 1
jne 0x6865cb
mov rax, qword [rbp + 0x60]
cmp byte [rax + 8], 0
je 0x686839
mov rax, qword [rbp + 0x58]
mov byte [rax], 0x1e
lea rcx, [rax + 8]
call fcn.0040e0d0
call sub.kernel32.dll_GetTickCount_1
add eax, 0xea60
mov rcx, qword [rbp + 0x58]
mov dword [rcx + 4], eax
lea rcx, [0x006868f0]
mov rdx, qword [rbp + 0xb8]
call fcn.00685220
cmp al, 1
jne 0x686838
mov rax, qword [rbp + 0x60]
cmp byte [rax + 8], 0
je 0x686839
mov rax, qword [rbp + 0x58]
mov byte [rax], 0x28
lea rcx, [rax + 8]
call fcn.0040e0d0
call sub.kernel32.dll_GetTickCount_1
add eax, 0xea60
mov rcx, qword [rbp + 0x58]
mov dword [rcx + 4], eax
jmp 0x686838
mov rax, qword [rbp + 0x58]
lea rcx, [rax + 8]
mov rdx, qword [rbp + 0xb8]
call fcn.0040eea0
call sub.kernel32.dll_GetTickCount_1
add eax, 0xea60
mov rcx, qword [rbp + 0x58]
mov dword [rcx + 4], eax
jmp 0x686838
mov rcx, qword [0x009b4ca0]
mov rdx, qword [rbp + 0xb8]
call fcn.00410a70
lea rcx, [rbp + 0x78]
mov rdx, qword [rbp + 0xb8]
mov r8d, 1
mov r9d, eax
sub r9d, 1
call fcn.0040f370
lea rcx, [rbp + 0x80]
mov rdx, qword [rbp + 0x78]
call fcn.00619c50
mov rax, qword [rbp + 0x58]
lea rcx, [rax + 8]
mov rdx, qword [rbp + 0x80]
call fcn.0040e810
call sub.kernel32.dll_GetTickCount_1
add eax, 0xea60
mov rcx, qword [rbp + 0x58]
mov dword [rcx + 4], eax
jmp 0x686838
mov rax, qword [rbp + 0x60]
cmp word [rax + 0x3000a0], 0
jne 0x6866f1
mov rax, qword [rbp + 0x58]
lea rcx, [rax + 8]
mov edx, 3
mov rax, qword [rbp + 0x58]
mov r8, qword [rax + 8]
mov r9, qword [0x009b4cb0]
mov rax, qword [0x009b4cc0]
mov qword [rsp + 0x20], rax
call fcn.0040f220
jmp 0x68675a
mov rcx, qword [0x009b4ca0]
mov rdx, qword [rbp + 0xb8]
call fcn.00410a70
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0xb8]
mov r8d, 1
mov r9d, eax
sub r9d, 1
call fcn.0040f370
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0x68]
call fcn.00619c50
mov rax, qword [rbp + 0x58]
lea rcx, [rax + 8]
mov edx, 3
mov rax, qword [rbp + 0x58]
mov r8, qword [rax + 8]
mov r9, qword [0x009b4cb0]
mov rax, qword [rbp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.0040f220
call sub.kernel32.dll_GetTickCount_1
add eax, 0xea60
mov rcx, qword [rbp + 0x58]
mov dword [rcx + 4], eax
jmp 0x686838
mov rcx, qword [rbp + 0xb8]
lea rdx, [rbp + 0x98]
lea r8, [rbp + 0x90]
call fcn.00686260
mov rax, qword [rbp + 0x60]
cmp word [rax + 0x3000a0], 0
jne 0x6867c8
mov rax, qword [rbp + 0x58]
lea rcx, [rax + 8]
mov edx, 3
mov r8, qword [rbp + 0x98]
mov r9, qword [0x009b4cb0]
mov rax, qword [0x009b4cc0]
mov qword [rsp + 0x20], rax
call fcn.0040f220
jmp 0x686826
mov rax, qword [rbp + 0x58]
lea rcx, [rax + 8]
mov edx, 7
mov r8, qword [rbp + 0x98]
mov r9, qword [0x009b4cb0]
lea rax, [0x0068690c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x90]
mov qword [rsp + 0x28], rax
lea rax, [0x00686924]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x58]
mov rax, qword [rax + 8]
mov qword [rsp + 0x38], rax
lea rax, [0x00686940]
mov qword [rsp + 0x40], rax
call fcn.0040f220
call sub.kernel32.dll_GetTickCount_1
add eax, 0xea60
mov rcx, qword [rbp + 0x58]
mov dword [rcx + 4], eax
nop
lea rcx, [rbp + 0x68]
mov edx, 7
call fcn.0040e190
lea rcx, [rbp + 0xb8]
call fcn.0040e0d0
lea rsp, [rbp + 0xa0]
pop rbp
ret