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

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xc8
mov rbp, rsp
mov qword [rbp + 0x38], rcx
mov qword [rbp + 0x30], r8
mov rsi, r9
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0x98], 0
lea rdi, [rbp + 0xaf]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsb byte [rdi], byte [rsi]
mov qword [rbp + 0xf8], rdx
mov rcx, qword [rbp + 0xf8]
call fcn.0040e240
nop
mov rax, qword [rbp + 0x30]
movzx rax, byte [rax]
cmp rax, 0x1f
jg 0x686a35
cmp rax, 0x1f
je 0x686de8
sub rax, 1
test rax, rax
je 0x686a61
sub rax, 1
test rax, rax
je 0x686c96
sub rax, 0x1c
test rax, rax
jne 0x68705e
jmp 0x686d89
sub rax, 0x20
test rax, rax
je 0x686e3e
sub rax, 8
test rax, rax
je 0x686ee7
sub rax, 1
test rax, rax
jne 0x68705e
jmp 0x686fbd
lea rcx, [0x006870dc]
mov rdx, qword [rbp + 0xf8]
call fcn.00685220
cmp al, 1
jne 0x686c27
mov rcx, qword [0x009b4cb8]
mov rax, qword [rbp + 0x30]
mov rdx, qword [rax + 8]
call fcn.00410a70
mov ebx, eax
test ebx, ebx
jle 0x686c0c
mov rax, qword [rbp + 0x30]
mov rax, qword [rax + 8]
xor rcx, rcx
test rax, rax
je 0x686aae
mov ecx, dword [rax - 4]
mov rax, qword [rbp + 0x30]
lea rax, [rax + 8]
mov edx, ebx
mov r8d, ecx
sub r8d, ebx
sub r8d, 1
mov rcx, rax
call fcn.0040f3f0
mov ebx, 3
mov rax, qword [rbp + 0x30]
mov rax, qword [rax + 8]
xor rcx, rcx
test rax, rax
je 0x686ae3
mov ecx, dword [rax - 4]
cmp ebx, ecx
jge 0x686b8d
mov rax, qword [rbp + 0x30]
mov rax, qword [rax + 8]
movsxd rcx, ebx
cmp byte [rax + rcx - 1], 0x2e
jne 0x686b85
lea rcx, [rbp + 0x98]
mov rax, qword [rbp + 0x30]
mov rax, qword [rax + 8]
movsxd rdx, ebx
movzx rdx, byte [rax + rdx - 3]
xor r8, r8
call fcn.0040ed10
mov rcx, qword [rbp + 0x98]
mov rdx, qword [0x009b4ca0]
call fcn.0040f2f0
test eax, eax
jne 0x686b85
lea rcx, [rbp + 0x90]
mov rax, qword [rbp + 0x30]
mov rax, qword [rax + 8]
movsxd rdx, ebx
movzx rdx, byte [rax + rdx - 2]
xor r8, r8
call fcn.0040ed10
mov rcx, qword [rbp + 0x90]
mov rdx, qword [0x009b4ca8]
call fcn.0040f2f0
test eax, eax
jne 0x686b85
mov rax, qword [rbp + 0x30]
lea rcx, [rax + 8]
mov edx, ebx
mov r8d, 1
call fcn.0040f3f0
add ebx, 1
jmp 0x686ad0
nop
lea rcx, [rbp + 0x88]
mov rdx, qword [0x009b4ca8]
lea r8, [0x006870ec]
call fcn.0040ef90
mov rcx, qword [rbp + 0x88]
mov rax, qword [rbp + 0x30]
mov rdx, qword [rax + 8]
call fcn.00410a70
test eax, eax
jne 0x686c0c
lea rcx, [rbp + 0x80]
mov rdx, qword [0x009b4ca0]
lea r8, [0x006870ec]
call fcn.0040ef90
mov rcx, qword [rbp + 0x80]
mov rax, qword [rbp + 0x30]
mov rdx, qword [rax + 8]
call fcn.00410a70
test eax, eax
jne 0x686c0c
mov rcx, qword [rbp + 0x38]
mov dl, 0x4f
mov r8d, dword [rbp + 0x110]
mov rax, qword [rbp + 0x30]
mov r9, qword [rax + 8]
call fcn.00685de0
mov rax, qword [rbp + 0x30]
mov byte [rax], 0
lea rcx, [rax + 8]
call fcn.0040e0d0
mov rax, qword [rbp + 0x30]
mov dword [rax + 4], 0
lea rcx, [0x00687110]
mov rdx, qword [rbp + 0xf8]
call fcn.00685220
cmp al, 1
jne 0x686c5a
mov rax, qword [rbp + 0x30]
mov byte [rax], 0
lea rcx, [rax + 8]
call fcn.0040e0d0
mov rax, qword [rbp + 0x30]
mov dword [rax + 4], 0
lea rcx, [0x00687120]
mov rdx, qword [rbp + 0xf8]
call fcn.00685220
cmp al, 1
jne 0x68705e
mov rax, qword [rbp + 0x30]
mov byte [rax], 0
lea rcx, [rax + 8]
call fcn.0040e0d0
mov rax, qword [rbp + 0x30]
mov dword [rax + 4], 0
jmp 0x68705e
lea rcx, [0x006870dc]
mov rdx, qword [rbp + 0xf8]
call fcn.00685220
cmp al, 1
jne 0x686d1a
mov rcx, qword [rbp + 0x38]
lea rdx, [rbp + 0x70]
lea r8, [rbp + 0xaf]
call fcn.00685ca0
lea rcx, [rbp + 0x78]
mov edx, 3
mov r8, qword [rbp + 0x70]
mov r9, qword [0x009b4cb0]
mov rax, qword [rbp + 0x30]
mov rax, qword [rax + 8]
mov qword [rsp + 0x20], rax
call fcn.0040f220
mov rcx, qword [rbp + 0x38]
mov dl, 0x4e
mov r8d, dword [rbp + 0x110]
mov r9, qword [rbp + 0x78]
call fcn.00685de0
mov rax, qword [rbp + 0x30]
mov byte [rax], 0
lea rcx, [rax + 8]
call fcn.0040e0d0
mov rax, qword [rbp + 0x30]
mov dword [rax + 4], 0
lea rcx, [0x00687110]
mov rdx, qword [rbp + 0xf8]
call fcn.00685220
cmp al, 1
jne 0x686d4d
mov rax, qword [rbp + 0x30]
mov byte [rax], 0
lea rcx, [rax + 8]
call fcn.0040e0d0
mov rax, qword [rbp + 0x30]
mov dword [rax + 4], 0
lea rcx, [0x00687120]
mov rdx, qword [rbp + 0xf8]
call fcn.00685220
cmp al, 1
jne 0x68705e
mov rax, qword [rbp + 0x30]
mov byte [rax], 0
lea rcx, [rax + 8]
call fcn.0040e0d0
mov rax, qword [rbp + 0x30]
mov dword [rax + 4], 0
jmp 0x68705e
lea rcx, [0x00687130]
mov rdx, qword [rbp + 0xf8]
call fcn.00685220
cmp al, 1
jne 0x686dc8
mov rax, qword [rbp + 0x30]
mov byte [rax], 0x1f
lea rcx, [rax + 8]
call fcn.0040e0d0
call sub.kernel32.dll_GetTickCount_1
add eax, 0xea60
mov rcx, qword [rbp + 0x30]
mov dword [rcx + 4], eax
jmp 0x68705e
mov rax, qword [rbp + 0x30]
mov byte [rax], 0
lea rcx, [rax + 8]
call fcn.0040e0d0
mov rax, qword [rbp + 0x30]
mov dword [rax + 4], 0
jmp 0x68705e
lea rcx, [0x00687130]
mov rdx, qword [rbp + 0xf8]
call fcn.00685220
cmp al, 1
jne 0x686e1e
mov rax, qword [rbp + 0x30]
mov byte [rax], 0x20
call sub.kernel32.dll_GetTickCount_1
add eax, 0xea60
mov rcx, qword [rbp + 0x30]
mov dword [rcx + 4], eax
jmp 0x68705e
mov rax, qword [rbp + 0x30]
mov byte [rax], 0
lea rcx, [rax + 8]
call fcn.0040e0d0
mov rax, qword [rbp + 0x30]
mov dword [rax + 4], 0
jmp 0x68705e
lea rcx, [0x006870dc]
mov rdx, qword [rbp + 0xf8]
call fcn.00685220
cmp al, 1
jne 0x686ec7
mov rcx, qword [rbp + 0x38]
lea rdx, [rbp + 0x60]
lea r8, [rbp + 0xaf]
call fcn.00685ca0
lea rcx, [rbp + 0x68]
mov edx, 3
mov r8, qword [rbp + 0x60]
mov r9, qword [0x009b4cb0]
mov rax, qword [rbp + 0x30]
mov rax, qword [rax + 8]
mov qword [rsp + 0x20], rax
call fcn.0040f220
mov rcx, qword [rbp + 0x38]
mov dl, 0x4e
mov r8d, dword [rbp + 0x110]
mov r9, qword [rbp + 0x68]
call fcn.00685de0
mov rax, qword [rbp + 0x30]
mov byte [rax], 0
lea rcx, [rax + 8]
call fcn.0040e0d0
mov rax, qword [rbp + 0x30]
mov dword [rax + 4], 0
jmp 0x68705e
mov rax, qword [rbp + 0x30]
mov byte [rax], 0
lea rcx, [rax + 8]
call fcn.0040e0d0
mov rax, qword [rbp + 0x30]
mov dword [rax + 4], 0
jmp 0x68705e
lea rcx, [0x00687130]
mov rdx, qword [rbp + 0xf8]
call fcn.00685220
cmp al, 1
jne 0x686f9d
mov rax, qword [rbp + 0x30]
mov byte [rax], 0x29
mov rcx, qword [0x009b4c98]
mov rdx, qword [rbp + 0xf8]
call fcn.00410a70
mov ebx, eax
mov rcx, qword [0x009b4ca0]
mov rdx, qword [rbp + 0xf8]
call fcn.00410a70
mov esi, eax
mov rcx, qword [0x009b4c98]
mov rdx, qword [rbp + 0xf8]
call fcn.00410a70
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0xf8]
mov r8d, ebx
add r8d, 1
mov r9d, esi
sub r9d, eax
sub r9d, 1
call fcn.0040f370
lea rcx, [rbp + 0x58]
mov rdx, qword [rbp + 0x50]
call fcn.00619c50
mov rax, qword [rbp + 0x30]
lea rcx, [rax + 8]
mov rdx, qword [rbp + 0x58]
call fcn.0040e810
call sub.kernel32.dll_GetTickCount_1
add eax, 0xea60
mov rcx, qword [rbp + 0x30]
mov dword [rcx + 4], eax
jmp 0x68705e
mov rax, qword [rbp + 0x30]
mov byte [rax], 0
lea rcx, [rax + 8]
call fcn.0040e0d0
mov rax, qword [rbp + 0x30]
mov dword [rax + 4], 0
jmp 0x68705e
lea rcx, [0x006870dc]
mov rdx, qword [rbp + 0xf8]
call fcn.00685220
cmp al, 1
jne 0x687043
mov rcx, qword [rbp + 0x38]
lea rdx, [rbp + 0x40]
lea r8, [rbp + 0xaf]
call fcn.00685ca0
lea rcx, [rbp + 0x48]
mov edx, 3
mov r8, qword [rbp + 0x40]
mov r9, qword [0x009b4cb0]
mov rax, qword [rbp + 0x30]
mov rax, qword [rax + 8]
mov qword [rsp + 0x20], rax
call fcn.0040f220
mov rcx, qword [rbp + 0x38]
mov dl, 0x4e
mov r8d, dword [rbp + 0x110]
mov r9, qword [rbp + 0x48]
call fcn.00685de0
mov rax, qword [rbp + 0x30]
mov byte [rax], 0
lea rcx, [rax + 8]
call fcn.0040e0d0
mov rax, qword [rbp + 0x30]
mov dword [rax + 4], 0
jmp 0x68705e
mov rax, qword [rbp + 0x30]
mov byte [rax], 0
lea rcx, [rax + 8]
call fcn.0040e0d0
mov rax, qword [rbp + 0x30]
mov dword [rax + 4], 0
nop
lea rcx, [rbp + 0x40]
mov edx, 0xc
call fcn.0040e190
lea rcx, [rbp + 0xf8]
call fcn.0040e0d0
lea rsp, [rbp + 0xc8]
pop rbx
pop rsi
pop rdi
pop rbp
ret