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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
cmp byte [rcx + 0x50], 0
mov rdi, rcx
je 0x1800202a0
cmp byte [rcx + 0x69], 0
je 0x1800202a0
xor edx, edx
mov ecx, 2
mov r8d, 1
call fcn.18001ead0
mov edx, 0x13
mov ecx, 2
mov r8d, 1
call fcn.18001ead0
mov edx, 0x8c
mov ecx, 2
mov r8d, 1
call fcn.18001ead0
mov edx, 0x14
mov ecx, 2
mov r8d, 1
call fcn.18001ead0
mov edx, 0x1b
mov ecx, 2
mov r8d, 1
call fcn.18001ead0
mov edx, 0x50
mov ecx, 2
mov r8d, 1
call fcn.18001ead0
mov edx, 0x151
mov ecx, 2
mov r8d, 1
call fcn.18001ead0
mov edx, 0x1b
mov ecx, 2
mov r8d, 1
call fcn.18001ead0
mov edx, 0x55
mov ecx, 2
mov r8d, 1
call fcn.18001ead0
mov edx, 0x4a
mov ecx, 2
mov r8d, 1
call fcn.18001ead0
mov rax, qword gs:[0x58]
mov ecx, dword [0x1800a8b70]
mov edx, 4
mov r15, qword [rax + rcx*8]
add r15, rdx
mov eax, dword [r15]
cmp dword [0x1800a8864], eax
jg 0x180020bca
xor r12d, r12d
lea rbx, str.SELECT
movabs r13, 0xe2587f8cbbd87b1d
cmp byte [rdi + 0x248], r12b
je 0x1800202fb
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1800a8860]
cmp eax, dword [rdi + 0x188]
jae 0x180020375
mov rcx, r13
call fcn.180021510
mov rcx, r12
call fcn.180021530
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xe3
mov rcx, qword [rbp + 0x30]
call fcn.180021530
call fcn.1800214a0
cmp dword [rax], r12d
je 0x1800203b1
mov rcx, r13
call fcn.180021510
mov rcx, r12
call fcn.180021530
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xaf
mov rcx, qword [rbp + 0x30]
call fcn.180021530
call fcn.1800214a0
cmp dword [rax], r12d
je 0x1800203b1
cmp byte [rdi + 0x69], r12b
je 0x1800203b1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1800a8860]
cmp eax, dword [rdi + 0x188]
jb 0x1800203b1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1800a8860], eax
movzx eax, byte [rdi + 0x50]
xor al, 1
mov byte [rdi + 0x50], al
cmp byte [rdi + 0x68], r12b
je 0x1800203b1
test al, al
lea rdx, str.BACK
lea r8, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov ecx, 0xffffffff
cmovne rdx, rbx
xor r9d, r9d
call fcn.180021410
mov eax, dword [r15]
cmp dword [0x1800a8878], eax
jg 0x180020c00
movsxd rax, dword [rdi + 0x18c]
movabs r14, 0x67c540aa08e4a6f5
imul rcx, rax, 0xf4240
mov qword [0x1800a8870], rcx
cmp byte [rdi + 0x50], r12b
je 0x180020b75
cmp byte [rdi + 0x249], r12b
je 0x180020412
lea rcx, [rbp + 0x30]
call fcn.180004a20
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x1800a8868]
cmp rcx, qword [0x1800a8870]
jge 0x180020478
cmp byte [rdi + 0x50], r12b
je 0x180020b75
mov rcx, r13
call fcn.180021510
mov rcx, r12
call fcn.180021530
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xca
mov rcx, qword [rbp + 0x30]
call fcn.180021530
call fcn.1800214a0
cmp dword [rax], r12d
je 0x1800204f2
cmp byte [rdi + 0x69], r12b
je 0x1800204f2
lea rcx, [rbp + 0x30]
call fcn.180004a20
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x1800a8868]
cmp rcx, qword [0x1800a8870]
jl 0x1800204f2
mov qword [0x1800a8868], rax
cmp byte [rdi + 0x68], r12b
je 0x1800204c6
mov rcx, r14
call fcn.180021510
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rcx, qword [rbp + 0x30]
call fcn.180021530
lea rcx, str.BACK
call fcn.180021530
lea rcx, str.HUD_FRONTEND_DEFAULT_SOUNDSET
call fcn.180021530
mov rcx, r12
call fcn.180021530
call fcn.1800214a0
mov rcx, qword [rdi + 0x278]
mov rax, rcx
sub rax, qword [rdi + 0x270]
sar rax, 3
cmp rax, 1
ja 0x1800204e7
mov byte [rdi + 0x50], r12b
jmp 0x1800204f2
lea rax, [rcx - 8]
mov qword [rdi + 0x278], rax
cmp byte [rdi + 0x50], r12b
je 0x180020b75
mov qword [rsp + 0x58], rsi
mov rsi, qword [rdi + 0x278]
cmp qword [rdi + 0x270], rsi
je 0x180020b70
mov eax, dword [r15]
cmp dword [0x1800a8890], eax
mov rsi, qword [rsi - 8]
jg 0x180020c3d
movsxd rax, dword [rdi + 0x190]
imul rcx, rax, 0xf4240
mov qword [0x1800a8888], rcx
cmp byte [rdi + 0x24a], r12b
je 0x180020574
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180020574
lea rcx, [rbp + 0x30]
call fcn.180004a20
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x1800a8880]
cmp rcx, qword [0x1800a8888]
jge 0x1800205e2
mov rcx, r13
call fcn.180021510
mov rcx, r12
call fcn.180021530
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xc9
mov rcx, qword [rbp + 0x30]
call fcn.180021530
call fcn.1800214a0
cmp dword [rax], r12d
je 0x180020658
cmp byte [rdi + 0x69], r12b
je 0x180020658
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180020658
lea rcx, [rbp + 0x30]
call fcn.180004a20
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x1800a8880]
cmp rcx, qword [0x1800a8888]
jl 0x180020658
mov qword [0x1800a8880], rax
cmp byte [rdi + 0x68], r12b
je 0x18002062c
mov rcx, r14
call fcn.180021510
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rcx, qword [rbp + 0x30]
call fcn.180021530
mov rcx, rbx
call fcn.180021530
lea rcx, str.HUD_FRONTEND_DEFAULT_SOUNDSET
call fcn.180021530
mov rcx, r12
call fcn.180021530
call fcn.1800214a0
mov rax, qword [rsi]
mov rcx, rsi
mov rbx, qword [rax + 0x28]
call qword [rax + 0x38]
mov rdx, rax
mov rcx, rsi
call rbx
test rax, rax
je 0x180020658
mov rcx, qword [rax]
mov edx, 2
mov r8, qword [rcx + 0x20]
mov rcx, rax
call r8
mov eax, dword [r15]
cmp dword [0x1800a88a8], eax
jg 0x180020c7a
movsxd rax, dword [rdi + 0x194]
imul rcx, rax, 0xf4240
mov qword [0x1800a88a0], rcx
cmp byte [rdi + 0x24b], r12b
je 0x1800206b3
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x1800206b3
lea rcx, [rbp + 0x30]
call fcn.180004a20
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x1800a8898]
cmp rcx, qword [0x1800a88a0]
jge 0x180020721
mov rcx, r13
call fcn.180021510
mov rcx, r12
call fcn.180021530
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xbc
mov rcx, qword [rbp + 0x30]
call fcn.180021530
call fcn.1800214a0
cmp dword [rax], r12d
je 0x180020798
cmp byte [rdi + 0x69], r12b
je 0x180020798
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180020798
lea rcx, [rbp + 0x30]
call fcn.180004a20
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x1800a8898]
cmp rcx, qword [0x1800a88a0]
jl 0x180020798
mov qword [0x1800a8898], rax
cmp byte [rdi + 0x68], r12b
je 0x18002076f
mov rcx, r14
call fcn.180021510
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rcx, qword [rbp + 0x30]
call fcn.180021530
lea rcx, str.NAV_UP_DOWN
call fcn.180021530
lea rcx, str.HUD_FRONTEND_DEFAULT_SOUNDSET
call fcn.180021530
mov rcx, r12
call fcn.180021530
call fcn.1800214a0
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
mov rdx, qword [rsi]
mov rcx, rsi
mov rbx, qword [rdx + 0x40]
test rax, rax
je 0x18002078c
call qword [rdx + 0x38]
jmp 0x18002078f
call qword [rdx + 0x30]
lea rdx, [rax - 1]
mov rcx, rsi
call rbx
mov eax, dword [r15]
cmp dword [0x1800a88c0], eax
jg 0x180020cb7
movsxd rax, dword [rdi + 0x194]
imul rcx, rax, 0xf4240
mov qword [0x1800a88b8], rcx
cmp byte [rdi + 0x24c], r12b
je 0x1800207f3
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x1800207f3
lea rcx, [rbp + 0x30]
call fcn.180004a20
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x1800a88b0]
cmp rcx, qword [0x1800a88b8]
jge 0x180020865
mov rcx, r13
call fcn.180021510
mov rcx, r12
call fcn.180021530
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xbb
mov rcx, qword [rbp + 0x30]
call fcn.180021530
call fcn.1800214a0
cmp dword [rax], r12d
je 0x1800208f3
cmp byte [rdi + 0x69], r12b
je 0x1800208f3
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x1800208f3
lea rcx, [rbp + 0x30]
call fcn.180004a20
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x1800a88b0]
cmp rcx, qword [0x1800a88b8]
jl 0x1800208f3
mov qword [0x1800a88b0], rax
cmp byte [rdi + 0x68], r12b
je 0x1800208b3
mov rcx, r14
call fcn.180021510
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rcx, qword [rbp + 0x30]
call fcn.180021530
lea rcx, str.NAV_UP_DOWN
call fcn.180021530
lea rcx, str.HUD_FRONTEND_DEFAULT_SOUNDSET
call fcn.180021530
mov rcx, r12
call fcn.180021530
call fcn.1800214a0
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 rdx, qword [rsi]
mov rcx, rsi
mov r14, qword [rdx + 0x40]
cmp rax, rbx
jae 0x1800208e4
call qword [rdx + 0x38]
mov rcx, rsi
lea rdx, [rax + 1]
jmp 0x1800208e6
xor edx, edx
call r14
movabs r14, 0x67c540aa08e4a6f5
mov eax, dword [r15]
cmp dword [0x1800a88d8], eax
jg 0x180020cf4
movsxd rax, dword [rdi + 0x198]
imul rcx, rax, 0xf4240
mov qword [0x1800a88d0], rcx
cmp byte [rdi + 0x24d], r12b
je 0x18002094e
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002094e
lea rcx, [rbp + 0x30]
call fcn.180004a20
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x1800a88c8]
cmp rcx, qword [0x1800a88d0]
jge 0x1800209bc
mov rcx, r13
call fcn.180021510
mov rcx, r12
call fcn.180021530
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xae
mov rcx, qword [rbp + 0x30]
call fcn.180021530
call fcn.1800214a0
cmp dword [rax], r12d
je 0x180020a33
cmp byte [rdi + 0x69], r12b
je 0x180020a33
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180020a33
lea rcx, [rbp + 0x30]
call fcn.180004a20
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x1800a88c8]
cmp rcx, qword [0x1800a88d0]
jl 0x180020a33
mov qword [0x1800a88c8], rax
cmp byte [rdi + 0x68], r12b
je 0x180020a0a
mov rcx, r14
call fcn.180021510
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rcx, qword [rbp + 0x30]
call fcn.180021530
lea rcx, str.NAV_LEFT_RIGHT
call fcn.180021530
lea rcx, str.HUD_FRONTEND_DEFAULT_SOUNDSET
call fcn.180021530
mov rcx, r12
call fcn.180021530
call fcn.1800214a0
mov rax, qword [rsi]
mov rcx, rsi
mov rbx, qword [rax + 0x28]
call qword [rax + 0x38]
mov rdx, rax
mov rcx, rsi
call rbx
test rax, rax
je 0x180020a33
mov rcx, qword [rax]
xor edx, edx
mov r8, qword [rcx + 0x20]
mov rcx, rax
call r8
mov eax, dword [r15]
cmp dword [0x1800a88f0], eax
jg 0x180020b8d
movsxd rax, dword [rdi + 0x198]
imul rcx, rax, 0xf4240
mov qword [0x1800a88e8], rcx
cmp byte [rdi + 0x24e], r12b
je 0x180020a8e
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180020a8e
lea rcx, [rbp + 0x30]
call fcn.180004a20
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x1800a88e0]
cmp rcx, qword [0x1800a88e8]
jge 0x180020afc
mov rcx, r13
call fcn.180021510
mov rcx, r12
call fcn.180021530
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xaf
mov rcx, qword [rbp + 0x30]
call fcn.180021530
call fcn.1800214a0
cmp dword [rax], r12d
je 0x180020b70
cmp byte [rdi + 0x69], r12b
je 0x180020b70
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180020b70
lea rcx, [rbp + 0x30]
call fcn.180004a20
mov rax, qword [rbp + 0x30]
mov rdx, rax
sub rdx, qword [0x1800a88e0]
cmp rdx, qword [0x1800a88e8]
jl 0x180020b70
mov qword [0x1800a88e0], rax
cmp byte [rdi + 0x68], r12b
je 0x180020b4a
mov rcx, r14
call fcn.180021510
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rcx, qword [rbp + 0x30]
call fcn.180021530
lea rcx, str.NAV_LEFT_RIGHT
call fcn.180021530
lea rcx, str.HUD_FRONTEND_DEFAULT_SOUNDSET
call fcn.180021530
mov rcx, r12
call fcn.180021530
call fcn.1800214a0
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 0x180020b70
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8 + 0x20]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [0x1800a88f0]
call fcn.18004e47c
cmp dword [0x1800a88f0], 0xffffffff
jne 0x180020a42
lea rcx, [0x1800a88e0]
call fcn.180004a20
lea rcx, [0x1800a88f0]
mov qword [0x1800a88e8], r12
call fcn.18004e410
jmp 0x180020a42
lea rcx, [0x1800a8864]
call fcn.18004e47c
cmp dword [0x1800a8864], 0xffffffff
jne 0x1800202ca
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [0x1800a8864]
mov dword [0x1800a8860], eax
call fcn.18004e410
jmp 0x1800202ca
lea rcx, [0x1800a8878]
call fcn.18004e47c
cmp dword [0x1800a8878], 0xffffffff
jne 0x1800203c0
lea rcx, [0x1800a8868]
call fcn.180004a20
lea rcx, [0x1800a8878]
mov qword [0x1800a8870], r12
call fcn.18004e410
jmp 0x1800203c0
lea rcx, [0x1800a8890]
call fcn.18004e47c
cmp dword [0x1800a8890], 0xffffffff
jne 0x180020528
lea rcx, [0x1800a8880]
call fcn.180004a20
lea rcx, [0x1800a8890]
mov qword [0x1800a8888], r12
call fcn.18004e410
jmp 0x180020528
lea rcx, [0x1800a88a8]
call fcn.18004e47c
cmp dword [0x1800a88a8], 0xffffffff
jne 0x180020667
lea rcx, [0x1800a8898]
call fcn.180004a20
lea rcx, [0x1800a88a8]
mov qword [0x1800a88a0], r12
call fcn.18004e410
jmp 0x180020667
lea rcx, [0x1800a88c0]
call fcn.18004e47c
cmp dword [0x1800a88c0], 0xffffffff
jne 0x1800207a7
lea rcx, [0x1800a88b0]
call fcn.180004a20
lea rcx, [0x1800a88c0]
mov qword [0x1800a88b8], r12
call fcn.18004e410
jmp 0x1800207a7
lea rcx, [0x1800a88d8]
call fcn.18004e47c
cmp dword [0x1800a88d8], 0xffffffff
jne 0x180020902
lea rcx, [0x1800a88c8]
call fcn.180004a20
lea rcx, [0x1800a88d8]
mov qword [0x1800a88d0], r12
call fcn.18004e410
jmp 0x180020902