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

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb8
mov rbp, rsp
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x38], r8
mov rsi, r9
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x80], 0
lea rdi, [rbp + 0x9f]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsb byte [rdi], byte [rsi]
mov qword [rbp + 0xe8], rdx
mov rcx, qword [rbp + 0xe8]
call fcn.0040e240
nop
mov rax, qword [rbp + 0x38]
movzx rax, byte [rax]
cmp rax, 2
jg 0x688a4a
cmp rax, 2
je 0x688dc7
sub rax, 1
cmp rax, 0xffffffffffffffff
je 0x688a69
test rax, rax
jne 0x688edd
jmp 0x688cdf
sub rax, 4
test rax, rax
je 0x688e2d
sub rax, 4
test rax, rax
jne 0x688edd
jmp 0x688e86
mov rax, qword [rbp + 0x30]
cmp byte [rax + 0x11], 0
jne 0x688a81
mov rax, qword [rbp + 0x30]
cmp byte [rax + 0x12], 0
je 0x688ede
mov rax, qword [rbp + 0x38]
lea rcx, [rax + 8]
mov rdx, qword [rbp + 0xe8]
call fcn.0040eea0
call sub.kernel32.dll_GetTickCount_1
add eax, 0xea60
mov rcx, qword [rbp + 0x38]
mov dword [rcx + 4], eax
mov rax, qword [rbp + 0x38]
mov rcx, qword [rax + 8]
call fcn.00687d90
mov ebx, eax
test ebx, ebx
je 0x688ede
lea rcx, [rbp + 0x90]
mov rax, qword [rbp + 0x38]
mov rdx, qword [rax + 8]
mov r8d, 1
mov r9d, ebx
call fcn.0040f370
mov rcx, qword [rbp + 0x90]
call fcn.00687e80
mov esi, eax
test esi, esi
jg 0x688b06
mov rax, qword [rbp + 0x38]
lea rcx, [rax + 8]
mov edx, 1
mov r8d, ebx
call fcn.0040f3f0
jmp 0x688aa7
nop
mov rax, qword [rbp + 0x38]
mov rax, qword [rax + 8]
xor rcx, rcx
test rax, rax
je 0x688b1a
mov ecx, dword [rax - 4]
mov eax, ebx
add eax, esi
cmp ecx, eax
jl 0x688ede
mov rax, qword [rbp + 0x38]
lea rcx, [rax + 8]
mov edx, 1
mov r8d, ebx
call fcn.0040f3f0
lea rcx, [rbp + 0x90]
mov rax, qword [rbp + 0x38]
mov rdx, qword [rax + 8]
mov r8d, 1
mov r9d, esi
call fcn.0040f370
mov rax, qword [rbp + 0x38]
lea rcx, [rax + 8]
mov edx, 1
mov r8d, esi
call fcn.0040f3f0
lea rcx, [rbp + 0x78]
mov rdx, qword [0x009b4cb0]
mov r8, qword [0x009b4cb0]
call fcn.0040ef90
mov rcx, qword [rbp + 0x78]
mov rdx, qword [rbp + 0x90]
call fcn.00410a70
test eax, eax
je 0x688ede
mov ecx, eax
add ecx, 4
cmp ecx, esi
jge 0x688ede
lea rcx, [rbp + 0x80]
mov rdx, qword [rbp + 0x90]
mov r8d, 1
mov r9d, eax
call fcn.0040f370
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x80]
call fcn.00410000
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0x68]
call fcn.0042acd0
lea rcx, [rbp + 0x80]
mov rdx, qword [rbp + 0x70]
xor r8, r8
call fcn.0040f6a0
lea rcx, [rbp + 0x60]
mov rdx, qword [0x009b4ca8]
lea r8, [0x00688fac]
call fcn.0040ef90
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x80]
call fcn.00410a70
test eax, eax
jg 0x688ede
lea rcx, [0x00688fd0]
mov rdx, qword [rbp + 0x80]
call fcn.00410a70
cmp eax, 1
je 0x688c58
lea rcx, [0x00688fe4]
mov rdx, qword [rbp + 0x80]
call fcn.00410a70
cmp eax, 1
jne 0x688c84
mov rax, qword [rbp + 0x30]
cmp byte [rax + 0x12], 1
jne 0x688edd
mov rcx, qword [rbp + 0x30]
mov dl, 0x7b
mov r8d, dword [rbp + 0x100]
mov r9, qword [rbp + 0x90]
call fcn.00685de0
jmp 0x688edd
lea rcx, [rbp + 0x58]
mov rdx, qword [0x009b4ca8]
lea r8, [0x00688ffc]
call fcn.0040ef90
mov rcx, qword [rbp + 0x58]
mov rdx, qword [rbp + 0x80]
call fcn.00410a70
test eax, eax
je 0x688ede
mov rax, qword [rbp + 0x30]
cmp byte [rax + 0x11], 1
jne 0x688edd
mov rcx, qword [rbp + 0x30]
mov dl, 0x66
mov r8d, dword [rbp + 0x100]
mov r9, qword [rbp + 0x90]
call fcn.00685de0
jmp 0x688edd
mov rcx, qword [0x009b4c98]
mov rdx, qword [rbp + 0xe8]
call fcn.00410a70
test eax, eax
je 0x688ede
mov rcx, qword [0x009b4c98]
mov rdx, qword [rbp + 0xe8]
call fcn.00410a70
lea rcx, [rbp + 0x88]
mov rdx, qword [rbp + 0xe8]
mov r8d, 1
mov r9d, eax
call fcn.0040f370
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0x88]
lea r8, [0x00689010]
call fcn.0040ef90
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0xe8]
call fcn.00685220
cmp al, 1
jne 0x688da7
mov rcx, qword [rbp + 0x30]
lea rdx, [rbp + 0x40]
lea r8, [rbp + 0x9f]
call fcn.00685ca0
lea rcx, [rbp + 0x48]
mov edx, 3
mov r8, qword [rbp + 0x40]
mov r9, qword [0x009b4cb0]
mov rax, qword [rbp + 0x38]
mov rax, qword [rax + 8]
mov qword [rsp + 0x20], rax
call fcn.0040f220
mov rcx, qword [rbp + 0x30]
mov dl, 0x65
mov r8d, dword [rbp + 0x100]
mov r9, qword [rbp + 0x48]
call fcn.00685de0
mov rax, qword [rbp + 0x38]
mov byte [rax], 0
lea rcx, [rax + 8]
call fcn.0040e0d0
mov rax, qword [rbp + 0x38]
mov dword [rax + 4], 0
jmp 0x688edd
lea rcx, [0x00689020]
mov rdx, qword [rbp + 0xe8]
call fcn.00685220
cmp al, 1
jne 0x688e0d
mov rax, qword [rbp + 0x38]
mov byte [rax], 3
lea rcx, [rax + 8]
mov rdx, qword [rbp + 0xe8]
call fcn.0040e810
call sub.kernel32.dll_GetTickCount_1
add eax, 0xea60
mov rcx, qword [rbp + 0x38]
mov dword [rcx + 4], eax
jmp 0x688edd
mov rax, qword [rbp + 0x38]
mov byte [rax], 0
lea rcx, [rax + 8]
call fcn.0040e0d0
mov rax, qword [rbp + 0x38]
mov dword [rax + 4], 0
jmp 0x688edd
lea rcx, [0x00689020]
mov rdx, qword [rbp + 0xe8]
call fcn.00685220
cmp al, 1
jne 0x688e69
mov rax, qword [rbp + 0x38]
mov byte [rax], 5
lea rcx, [rax + 8]
call fcn.0040e0d0
call sub.kernel32.dll_GetTickCount_1
add eax, 0xea60
mov rcx, qword [rbp + 0x38]
mov dword [rcx + 4], eax
jmp 0x688edd
mov rax, qword [rbp + 0x38]
mov byte [rax], 0
lea rcx, [rax + 8]
call fcn.0040e0d0
mov rax, qword [rbp + 0x38]
mov dword [rax + 4], 0
jmp 0x688edd
lea rcx, [0x00689020]
mov rdx, qword [rbp + 0xe8]
call fcn.00685220
cmp al, 1
jne 0x688ec2
mov rax, qword [rbp + 0x38]
mov byte [rax], 8
lea rcx, [rax + 8]
call fcn.0040e0d0
call sub.kernel32.dll_GetTickCount_1
add eax, 0xea60
mov rcx, qword [rbp + 0x38]
mov dword [rcx + 4], eax
jmp 0x688edd
mov rax, qword [rbp + 0x38]
mov byte [rax], 0
lea rcx, [rax + 8]
call fcn.0040e0d0
mov rax, qword [rbp + 0x38]
mov dword [rax + 4], 0
nop
lea rcx, [rbp + 0x40]
mov edx, 5
call fcn.0040e190
lea rcx, [rbp + 0x68]
mov edx, 2
call fcn.0040e160
lea rcx, [rbp + 0x78]
mov edx, 4
call fcn.0040e190
lea rcx, [rbp + 0xe8]
call fcn.0040e0d0
lea rsp, [rbp + 0xb8]
pop rbx
pop rsi
pop rdi
pop rbp
ret