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

Disassembly:
push rbp
push rbx
push rdi
push r12
push r15
mov rbp, rsp
sub rsp, 0x20
cmp byte [rcx + 0x59], 0
mov rdi, rcx
je 0x1800381ac
cmp byte [rcx + 0x99], 0
je 0x1800381ac
xor edx, edx
mov ecx, 2
call fcn.180037780
mov edx, 0x13
mov ecx, 2
call fcn.180037780
mov edx, 0x8c
mov ecx, 2
call fcn.180037780
mov edx, 0x14
mov ecx, 2
call fcn.180037780
mov edx, 0x1b
mov ecx, 2
call fcn.180037780
mov edx, 0x50
mov ecx, 2
call fcn.180037780
mov edx, 0x151
mov ecx, 2
call fcn.180037780
mov edx, 0x1b
mov ecx, 2
call fcn.180037780
mov edx, 0x55
mov ecx, 2
call fcn.180037780
mov edx, 0x4a
mov ecx, 2
call fcn.180037780
mov rax, qword gs:[0x58]
mov ecx, dword [0x1801dca7c]
mov edx, 0x18
mov r15, qword [rax + rcx*8]
add r15, rdx
mov eax, dword [r15]
cmp dword [0x1801dd280], eax
jle 0x1800381ff
lea rcx, [0x1801dd280]
call fcn.180123ef8
cmp dword [0x1801dd280], 0xffffffff
jne 0x1800381ff
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [0x1801dd280]
mov dword [0x1801dd284], eax
call fcn.180123e8c
cmp byte [rdi + 0x2d8], 0
lea rbx, str.SELECT
je 0x180038223
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1801dd284]
cmp eax, dword [rdi + 0x9c]
jae 0x18003825c
mov edx, 0xe3
call fcn.180037720
test eax, eax
je 0x18003828c
mov edx, 0xaf
call fcn.180037720
test eax, eax
je 0x18003828c
cmp byte [rdi + 0x99], 0
je 0x18003828c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1801dd284]
cmp eax, dword [rdi + 0x9c]
jb 0x18003828c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1801dd284], eax
movzx eax, byte [rdi + 0x59]
xor al, 1
cmp byte [rdi + 0x98], 0
mov byte [rdi + 0x59], al
je 0x18003828c
test al, al
lea rdx, str.BACK
cmovne rdx, rbx
call fcn.180037010
mov eax, dword [r15]
xor r12d, r12d
cmp dword [0x1801dd288], eax
jle 0x1800382ce
lea rcx, [0x1801dd288]
call fcn.180123ef8
cmp dword [0x1801dd288], 0xffffffff
jne 0x1800382ce
lea rcx, [0x1801dd290]
call fcn.18001dad0
lea rcx, [0x1801dd288]
mov qword [0x1801dd298], r12
call fcn.180123e8c
movsxd rax, dword [rdi + 0xa0]
imul rcx, rax, 0xf4240
mov qword [0x1801dd298], rcx
cmp byte [rdi + 0x59], r12b
je 0x180038938
cmp byte [rdi + 0x2d9], r12b
je 0x180038316
lea rcx, [rbp + 0x30]
call fcn.18001dad0
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x1801dd290]
cmp rcx, qword [0x1801dd298]
jge 0x180038357
cmp byte [rdi + 0x59], r12b
je 0x180038938
mov edx, 0xca
call fcn.180037720
test eax, eax
je 0x180038399
cmp byte [rdi + 0x99], r12b
je 0x180038399
lea rcx, [rbp + 0x30]
call fcn.18001dad0
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x1801dd290]
cmp rcx, qword [0x1801dd298]
jl 0x180038399
mov qword [0x1801dd290], rax
cmp byte [rdi + 0x98], r12b
je 0x180038373
lea rdx, str.BACK
call fcn.180037010
mov rax, qword [rdi + 0x2c8]
sub rax, qword [rdi + 0x2c0]
sar rax, 3
cmp rax, 1
ja 0x180038391
mov byte [rdi + 0x59], r12b
jmp 0x180038399
add qword [rdi + 0x2c8], 0xfffffffffffffff8
cmp byte [rdi + 0x59], r12b
je 0x180038938
mov rax, qword [rdi + 0x2c8]
cmp qword [rdi + 0x2c0], rax
je 0x180038938
mov qword [rsp + 0x58], rsi
mov rsi, qword [rax - 8]
mov eax, dword [r15]
cmp dword [0x1801dd2a0], eax
jle 0x1800383ff
lea rcx, [0x1801dd2a0]
call fcn.180123ef8
cmp dword [0x1801dd2a0], 0xffffffff
jne 0x1800383ff
lea rcx, [0x1801dd2a8]
call fcn.18001dad0
lea rcx, [0x1801dd2a0]
mov qword [0x1801dd2b0], r12
call fcn.180123e8c
movsxd rax, dword [rdi + 0xa4]
imul rcx, rax, 0xf4240
mov qword [0x1801dd2b0], rcx
cmp byte [rdi + 0x2da], r12b
je 0x18003844b
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18003844b
lea rcx, [rbp + 0x30]
call fcn.18001dad0
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x1801dd2a8]
cmp rcx, qword [0x1801dd2b0]
jge 0x180038490
mov edx, 0xc9
call fcn.180037720
test eax, eax
je 0x1800384ce
cmp byte [rdi + 0x99], r12b
je 0x1800384ce
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x1800384ce
lea rcx, [rbp + 0x30]
call fcn.18001dad0
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x1801dd2a8]
cmp rcx, qword [0x1801dd2b0]
jl 0x1800384ce
mov qword [0x1801dd2a8], rax
cmp byte [rdi + 0x98], r12b
je 0x1800384a8
mov rdx, rbx
call fcn.180037010
mov rbx, qword [rsi]
mov rcx, rsi
call qword [rbx + 0x38]
mov rdx, rax
mov rcx, rsi
call qword [rbx + 0x28]
test rax, rax
je 0x1800384ce
mov r8, qword [rax]
mov edx, 2
mov rcx, rax
call qword [r8 + 0x28]
mov eax, dword [r15]
cmp dword [0x1801dd2b8], eax
jle 0x18003850d
lea rcx, [0x1801dd2b8]
call fcn.180123ef8
cmp dword [0x1801dd2b8], 0xffffffff
jne 0x18003850d
lea rcx, [0x1801dd2c0]
call fcn.18001dad0
lea rcx, [0x1801dd2b8]
mov qword [0x1801dd2c8], r12
call fcn.180123e8c
movsxd rax, dword [rdi + 0xa8]
imul rcx, rax, 0xf4240
mov qword [0x1801dd2c8], rcx
cmp byte [rdi + 0x2db], r12b
je 0x180038559
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180038559
lea rcx, [rbp + 0x30]
call fcn.18001dad0
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x1801dd2c0]
cmp rcx, qword [0x1801dd2c8]
jge 0x18003859e
mov edx, 0xbc
call fcn.180037720
test eax, eax
je 0x1800385e0
cmp byte [rdi + 0x99], r12b
je 0x1800385e0
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x1800385e0
lea rcx, [rbp + 0x30]
call fcn.18001dad0
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x1801dd2c0]
cmp rcx, qword [0x1801dd2c8]
jl 0x1800385e0
mov qword [0x1801dd2c0], rax
cmp byte [rdi + 0x98], r12b
je 0x1800385ba
lea rdx, str.NAV_UP_DOWN
call fcn.180037010
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
mov rbx, qword [rsi]
mov rcx, rsi
test rax, rax
je 0x1800385d3
call qword [rbx + 0x38]
jmp 0x1800385d6
call qword [rbx + 0x30]
lea rdx, [rax - 1]
mov rcx, rsi
call qword [rbx + 0x40]
mov eax, dword [r15]
cmp dword [0x1801dd2d0], eax
jle 0x18003861f
lea rcx, [0x1801dd2d0]
call fcn.180123ef8
cmp dword [0x1801dd2d0], 0xffffffff
jne 0x18003861f
lea rcx, [0x1801dd2d8]
call fcn.18001dad0
lea rcx, [0x1801dd2d0]
mov qword [0x1801dd2e0], r12
call fcn.180123e8c
movsxd rax, dword [rdi + 0xa8]
imul rcx, rax, 0xf4240
mov qword [0x1801dd2e0], rcx
cmp byte [rdi + 0x2dc], r12b
je 0x18003866b
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18003866b
lea rcx, [rbp + 0x30]
call fcn.18001dad0
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x1801dd2d8]
cmp rcx, qword [0x1801dd2e0]
jge 0x1800386b8
mov edx, 0xbb
call fcn.180037720
test eax, eax
je 0x180038712
cmp byte [rdi + 0x99], r12b
je 0x180038712
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180038712
lea rcx, [rbp + 0x30]
call fcn.18001dad0
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x1801dd2d8]
cmp rcx, qword [0x1801dd2e0]
jl 0x180038712
mov qword [0x1801dd2d8], rax
mov qword [rsp + 0x60], r14
cmp byte [rdi + 0x98], r12b
je 0x1800386d9
lea rdx, str.NAV_UP_DOWN
call fcn.180037010
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
mov rdx, qword [rsi]
mov rcx, rsi
lea rbx, [rax - 1]
call qword [rdx + 0x38]
mov r14, qword [rsi]
mov rcx, rsi
cmp rax, rbx
jae 0x180038707
call qword [r14 + 0x38]
mov rcx, rsi
lea rdx, [rax + 1]
jmp 0x180038709
xor edx, edx
call qword [r14 + 0x40]
mov r14, qword [rsp + 0x60]
mov eax, dword [r15]
cmp dword [0x1801dd2e8], eax
jle 0x180038751
lea rcx, [0x1801dd2e8]
call fcn.180123ef8
cmp dword [0x1801dd2e8], 0xffffffff
jne 0x180038751
lea rcx, [0x1801dd2f0]
call fcn.18001dad0
lea rcx, [0x1801dd2e8]
mov qword [0x1801dd2f8], r12
call fcn.180123e8c
movsxd rax, dword [rdi + 0xac]
imul rcx, rax, 0xf4240
mov qword [0x1801dd2f8], rcx
cmp byte [rdi + 0x2dd], r12b
je 0x18003879d
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18003879d
lea rcx, [rbp + 0x30]
call fcn.18001dad0
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x1801dd2f0]
cmp rcx, qword [0x1801dd2f8]
jge 0x1800387e2
mov edx, 0xae
call fcn.180037720
test eax, eax
je 0x180038821
cmp byte [rdi + 0x99], r12b
je 0x180038821
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180038821
lea rcx, [rbp + 0x30]
call fcn.18001dad0
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x1801dd2f0]
cmp rcx, qword [0x1801dd2f8]
jl 0x180038821
mov qword [0x1801dd2f0], rax
cmp byte [rdi + 0x98], r12b
je 0x1800387fe
lea rdx, str.NAV_LEFT_RIGHT
call fcn.180037010
mov rbx, qword [rsi]
mov rcx, rsi
call qword [rbx + 0x38]
mov rdx, rax
mov rcx, rsi
call qword [rbx + 0x28]
test rax, rax
je 0x180038821
mov r8, qword [rax]
xor edx, edx
mov rcx, rax
call qword [r8 + 0x28]
mov eax, dword [r15]
cmp dword [0x1801dd300], eax
jle 0x180038860
lea rcx, [0x1801dd300]
call fcn.180123ef8
cmp dword [0x1801dd300], 0xffffffff
jne 0x180038860
lea rcx, [0x1801dd308]
call fcn.18001dad0
lea rcx, [0x1801dd300]
mov qword [0x1801dd310], r12
call fcn.180123e8c
movsxd rax, dword [rdi + 0xac]
imul rcx, rax, 0xf4240
mov qword [0x1801dd310], rcx
cmp byte [rdi + 0x2de], r12b
je 0x1800388ac
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x1800388ac
lea rcx, [rbp + 0x30]
call fcn.18001dad0
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x1801dd308]
cmp rcx, qword [0x1801dd310]
jge 0x1800388f1
mov edx, 0xaf
call fcn.180037720
test eax, eax
je 0x180038933
cmp byte [rdi + 0x99], r12b
je 0x180038933
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180038933
lea rcx, [rbp + 0x30]
call fcn.18001dad0
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x1801dd308]
cmp rcx, qword [0x1801dd310]
jl 0x180038933
mov qword [0x1801dd308], rax
cmp byte [rdi + 0x98], r12b
je 0x18003890d
lea rdx, str.NAV_LEFT_RIGHT
call fcn.180037010
mov rbx, qword [rsi]
mov rcx, rsi
call qword [rbx + 0x38]
mov rdx, rax
mov rcx, rsi
call qword [rbx + 0x28]
test rax, rax
je 0x180038933
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8 + 0x28]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r12
pop rdi
pop rbx
pop rbp
ret