Function at 0x18001adc0
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 0x18001ae9c
cmp byte [rcx + 0x69], 0
je 0x18001ae9c
xor edx, edx
lea ecx, [rdx + 2]
lea r8d, [rdx + 1]
call fcn.180019820
mov edx, 0x13
lea ecx, [rdx - 0x11]
lea r8d, [rdx - 0x12]
call fcn.180019820
mov ecx, 2
mov edx, 0x8c
lea r8d, [rcx - 1]
call fcn.180019820
mov edx, 0x14
lea ecx, [rdx - 0x12]
lea r8d, [rdx - 0x13]
call fcn.180019820
mov edx, 0x1b
lea ecx, [rdx - 0x19]
lea r8d, [rdx - 0x1a]
call fcn.180019820
mov edx, 0x50
lea ecx, [rdx - 0x4e]
lea r8d, [rdx - 0x4f]
call fcn.180019820
mov ecx, 2
mov edx, 0x151
lea r8d, [rcx - 1]
call fcn.180019820
mov edx, 0x1b
lea ecx, [rdx - 0x19]
lea r8d, [rdx - 0x1a]
call fcn.180019820
mov edx, 0x55
lea ecx, [rdx - 0x53]
lea r8d, [rdx - 0x54]
call fcn.180019820
mov edx, 0x4a
lea ecx, [rdx - 0x48]
lea r8d, [rdx - 0x49]
call fcn.180019820
mov rax, qword gs:[0x58]
mov ecx, dword [0x1800ac048]
mov edx, 4
mov r15, qword [rax + rcx*8]
add r15, rdx
mov eax, dword [r15]
cmp dword [0x1800abd1c], eax
jg 0x18001b7e9
xor r12d, r12d
lea rbx, str.SELECT
movabs r13, 0xe2587f8cbbd87b1d
cmp byte [rdi + 0x24c], r12b
je 0x18001aef7
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1800abd18]
cmp eax, dword [rdi + 0x188]
jae 0x18001af71
mov rcx, r13
call fcn.18001c0a0
mov rcx, r12
call fcn.18001c0c0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xe3
mov rcx, qword [rbp + 0x30]
call fcn.18001c0c0
call fcn.18001c030
cmp dword [rax], r12d
je 0x18001afac
mov rcx, r13
call fcn.18001c0a0
mov rcx, r12
call fcn.18001c0c0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xaf
mov rcx, qword [rbp + 0x30]
call fcn.18001c0c0
call fcn.18001c030
cmp dword [rax], r12d
je 0x18001afac
cmp byte [rdi + 0x69], r12b
je 0x18001afac
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1800abd18]
cmp eax, dword [rdi + 0x188]
jb 0x18001afac
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1800abd18], eax
movzx eax, byte [rdi + 0x50]
xor al, 1
mov byte [rdi + 0x50], al
cmp byte [rdi + 0x68], r12b
je 0x18001afac
test al, al
lea rdx, str.BACK
lea r8, str.HUD_FRONTEND_DEFAULT_SOUNDSET
cmovne rdx, rbx
xor r9d, r9d
lea ecx, [r9 - 1]
call fcn.18001bfa0
mov eax, dword [r15]
cmp dword [0x1800abd30], eax
jg 0x18001b81f
movsxd rax, dword [rdi + 0x18c]
movabs r14, 0x67c540aa08e4a6f5
imul rcx, rax, 0xf4240
mov qword [0x1800abd28], rcx
cmp byte [rdi + 0x50], r12b
je 0x18001b794
cmp byte [rdi + 0x24d], r12b
je 0x18001b016
lea rcx, [rbp + 0x30]
call fcn.180004a40
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800abd20]
cmp rax, qword [0x1800abd28]
jl 0x18001b016
mov qword [0x1800abd20], rcx
jmp 0x18001b083
cmp byte [rdi + 0x50], r12b
je 0x18001b794
mov rcx, r13
call fcn.18001c0a0
mov rcx, r12
call fcn.18001c0c0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xca
mov rcx, qword [rbp + 0x30]
call fcn.18001c0c0
call fcn.18001c030
cmp dword [rax], r12d
je 0x18001b0f6
cmp byte [rdi + 0x69], r12b
je 0x18001b0f6
lea rcx, [rbp + 0x30]
call fcn.180004a40
mov rdx, qword [rbp + 0x30]
mov rax, rdx
sub rax, qword [0x1800abd20]
cmp rax, qword [0x1800abd28]
jl 0x18001b0f6
mov qword [0x1800abd20], rdx
cmp byte [rdi + 0x68], r12b
je 0x18001b0ca
mov rcx, r14
call fcn.18001c0a0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rcx, qword [rbp + 0x30]
call fcn.18001c0c0
lea rcx, str.BACK
call fcn.18001c0c0
lea rcx, str.HUD_FRONTEND_DEFAULT_SOUNDSET
call fcn.18001c0c0
mov rcx, r12
call fcn.18001c0c0
call fcn.18001c030
mov rcx, qword [rdi + 0x278]
mov rax, rcx
sub rax, qword [rdi + 0x270]
sar rax, 3
cmp rax, 1
ja 0x18001b0eb
mov byte [rdi + 0x50], r12b
jmp 0x18001b0f6
lea rax, [rcx - 8]
mov qword [rdi + 0x278], rax
cmp byte [rdi + 0x50], r12b
je 0x18001b794
mov qword [rsp + 0x58], rsi
mov rsi, qword [rdi + 0x278]
cmp qword [rdi + 0x270], rsi
je 0x18001b78f
mov eax, dword [r15]
cmp dword [0x1800abd48], eax
mov rsi, qword [rsi - 8]
jg 0x18001b85c
movsxd rax, dword [rdi + 0x190]
imul rcx, rax, 0xf4240
mov qword [0x1800abd40], rcx
cmp byte [rdi + 0x24e], r12b
je 0x18001b181
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18001b181
lea rcx, [rbp + 0x30]
call fcn.180004a40
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800abd38]
cmp rax, qword [0x1800abd40]
jl 0x18001b181
mov qword [0x1800abd38], rcx
jmp 0x18001b1f6
mov rcx, r13
call fcn.18001c0a0
mov rcx, r12
call fcn.18001c0c0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xc9
mov rcx, qword [rbp + 0x30]
call fcn.18001c0c0
call fcn.18001c030
cmp dword [rax], r12d
je 0x18001b265
cmp byte [rdi + 0x69], r12b
je 0x18001b265
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18001b265
lea rcx, [rbp + 0x30]
call fcn.180004a40
mov rdx, qword [rbp + 0x30]
mov rax, rdx
sub rax, qword [0x1800abd38]
cmp rax, qword [0x1800abd40]
jl 0x18001b265
mov qword [0x1800abd38], rdx
cmp byte [rdi + 0x68], r12b
je 0x18001b239
mov rcx, r14
call fcn.18001c0a0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rcx, qword [rbp + 0x30]
call fcn.18001c0c0
mov rcx, rbx
call fcn.18001c0c0
lea rcx, str.HUD_FRONTEND_DEFAULT_SOUNDSET
call fcn.18001c0c0
mov rcx, r12
call fcn.18001c0c0
call fcn.18001c030
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 0x18001b265
mov rcx, qword [rax]
mov edx, 2
mov r8, qword [rcx + 0x20]
mov rcx, rax
call r8
mov eax, dword [r15]
cmp dword [0x1800abd60], eax
jg 0x18001b899
movsxd rax, dword [rdi + 0x194]
imul rcx, rax, 0xf4240
mov qword [0x1800abd58], rcx
cmp byte [rdi + 0x24f], r12b
je 0x18001b2c0
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18001b2c0
lea rcx, [rbp + 0x30]
call fcn.180004a40
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800abd50]
cmp rax, qword [0x1800abd58]
jge 0x18001b32e
mov rcx, r13
call fcn.18001c0a0
mov rcx, r12
call fcn.18001c0c0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xbc
mov rcx, qword [rbp + 0x30]
call fcn.18001c0c0
call fcn.18001c030
cmp dword [rax], r12d
je 0x18001b3a5
cmp byte [rdi + 0x69], r12b
je 0x18001b3a5
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18001b3a5
lea rcx, [rbp + 0x30]
call fcn.180004a40
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800abd50]
cmp rax, qword [0x1800abd58]
jl 0x18001b3a5
mov qword [0x1800abd50], rcx
cmp byte [rdi + 0x68], r12b
je 0x18001b37c
mov rcx, r14
call fcn.18001c0a0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rcx, qword [rbp + 0x30]
call fcn.18001c0c0
lea rcx, str.NAV_UP_DOWN
call fcn.18001c0c0
lea rcx, str.HUD_FRONTEND_DEFAULT_SOUNDSET
call fcn.18001c0c0
mov rcx, r12
call fcn.18001c0c0
call fcn.18001c030
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 0x18001b399
call qword [rdx + 0x38]
jmp 0x18001b39c
call qword [rdx + 0x30]
lea rdx, [rax - 1]
mov rcx, rsi
call rbx
mov eax, dword [r15]
cmp dword [0x1800abd78], eax
jg 0x18001b8d6
movsxd rax, dword [rdi + 0x194]
imul rcx, rax, 0xf4240
mov qword [0x1800abd70], rcx
cmp byte [rdi + 0x250], r12b
je 0x18001b409
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18001b409
lea rcx, [rbp + 0x30]
call fcn.180004a40
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800abd68]
cmp rax, qword [0x1800abd70]
jl 0x18001b409
mov qword [0x1800abd68], rcx
jmp 0x18001b482
mov rcx, r13
call fcn.18001c0a0
mov rcx, r12
call fcn.18001c0c0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xbb
mov rcx, qword [rbp + 0x30]
call fcn.18001c0c0
call fcn.18001c030
cmp dword [rax], r12d
je 0x18001b509
cmp byte [rdi + 0x69], r12b
je 0x18001b509
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18001b509
lea rcx, [rbp + 0x30]
call fcn.180004a40
mov rdx, qword [rbp + 0x30]
mov rax, rdx
sub rax, qword [0x1800abd68]
cmp rax, qword [0x1800abd70]
jl 0x18001b509
mov qword [0x1800abd68], rdx
cmp byte [rdi + 0x68], r12b
je 0x18001b4c9
mov rcx, r14
call fcn.18001c0a0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rcx, qword [rbp + 0x30]
call fcn.18001c0c0
lea rcx, str.NAV_UP_DOWN
call fcn.18001c0c0
lea rcx, str.HUD_FRONTEND_DEFAULT_SOUNDSET
call fcn.18001c0c0
mov rcx, r12
call fcn.18001c0c0
call fcn.18001c030
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 0x18001b4fa
call qword [rdx + 0x38]
mov rcx, rsi
lea rdx, [rax + 1]
jmp 0x18001b4fc
xor edx, edx
call r14
movabs r14, 0x67c540aa08e4a6f5
mov eax, dword [r15]
cmp dword [0x1800abd90], eax
jg 0x18001b913
movsxd rax, dword [rdi + 0x198]
imul rcx, rax, 0xf4240
mov qword [0x1800abd88], rcx
cmp byte [rdi + 0x251], r12b
je 0x18001b564
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18001b564
lea rcx, [rbp + 0x30]
call fcn.180004a40
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800abd80]
cmp rax, qword [0x1800abd88]
jge 0x18001b5d2
mov rcx, r13
call fcn.18001c0a0
mov rcx, r12
call fcn.18001c0c0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xae
mov rcx, qword [rbp + 0x30]
call fcn.18001c0c0
call fcn.18001c030
cmp dword [rax], r12d
je 0x18001b649
cmp byte [rdi + 0x69], r12b
je 0x18001b649
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18001b649
lea rcx, [rbp + 0x30]
call fcn.180004a40
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800abd80]
cmp rax, qword [0x1800abd88]
jl 0x18001b649
mov qword [0x1800abd80], rcx
cmp byte [rdi + 0x68], r12b
je 0x18001b620
mov rcx, r14
call fcn.18001c0a0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rcx, qword [rbp + 0x30]
call fcn.18001c0c0
lea rcx, str.NAV_LEFT_RIGHT
call fcn.18001c0c0
lea rcx, str.HUD_FRONTEND_DEFAULT_SOUNDSET
call fcn.18001c0c0
mov rcx, r12
call fcn.18001c0c0
call fcn.18001c030
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 0x18001b649
mov rcx, qword [rax]
xor edx, edx
mov r8, qword [rcx + 0x20]
mov rcx, rax
call r8
mov eax, dword [r15]
cmp dword [0x1800abda8], eax
jg 0x18001b7ac
movsxd rax, dword [rdi + 0x198]
imul rcx, rax, 0xf4240
mov qword [0x1800abda0], rcx
cmp byte [rdi + 0x252], r12b
je 0x18001b6ad
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18001b6ad
lea rcx, [rbp + 0x30]
call fcn.180004a40
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800abd98]
cmp rax, qword [0x1800abda0]
jl 0x18001b6ad
mov qword [0x1800abd98], rcx
jmp 0x18001b722
mov rcx, r13
call fcn.18001c0a0
mov rcx, r12
call fcn.18001c0c0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xaf
mov rcx, qword [rbp + 0x30]
call fcn.18001c0c0
call fcn.18001c030
cmp dword [rax], r12d
je 0x18001b78f
cmp byte [rdi + 0x69], r12b
je 0x18001b78f
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18001b78f
lea rcx, [rbp + 0x30]
call fcn.180004a40
mov rdx, qword [rbp + 0x30]
mov rax, rdx
sub rax, qword [0x1800abd98]
cmp rax, qword [0x1800abda0]
jl 0x18001b78f
mov qword [0x1800abd98], rdx
cmp byte [rdi + 0x68], r12b
je 0x18001b769
mov rcx, r14
call fcn.18001c0a0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rcx, qword [rbp + 0x30]
call fcn.18001c0c0
lea rcx, str.NAV_LEFT_RIGHT
call fcn.18001c0c0
lea rcx, str.HUD_FRONTEND_DEFAULT_SOUNDSET
call fcn.18001c0c0
mov rcx, r12
call fcn.18001c0c0
call fcn.18001c030
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 0x18001b78f
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, [0x1800abda8]
call fcn.18004c6ec
cmp dword [0x1800abda8], 0xffffffff
jne 0x18001b658
lea rcx, [0x1800abd98]
call fcn.180004a40
lea rcx, [0x1800abda8]
mov qword [0x1800abda0], r12
call fcn.18004c680
jmp 0x18001b658
lea rcx, [0x1800abd1c]
call fcn.18004c6ec
cmp dword [0x1800abd1c], 0xffffffff
jne 0x18001aec6
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [0x1800abd1c]
mov dword [0x1800abd18], eax
call fcn.18004c680
jmp 0x18001aec6
lea rcx, [0x1800abd30]
call fcn.18004c6ec
cmp dword [0x1800abd30], 0xffffffff
jne 0x18001afbb
lea rcx, [0x1800abd20]
call fcn.180004a40
lea rcx, [0x1800abd30]
mov qword [0x1800abd28], r12
call fcn.18004c680
jmp 0x18001afbb
lea rcx, [0x1800abd48]
call fcn.18004c6ec
cmp dword [0x1800abd48], 0xffffffff
jne 0x18001b12c
lea rcx, [0x1800abd38]
call fcn.180004a40
lea rcx, [0x1800abd48]
mov qword [0x1800abd40], r12
call fcn.18004c680
jmp 0x18001b12c
lea rcx, [0x1800abd60]
call fcn.18004c6ec
cmp dword [0x1800abd60], 0xffffffff
jne 0x18001b274
lea rcx, [0x1800abd50]
call fcn.180004a40
lea rcx, [0x1800abd60]
mov qword [0x1800abd58], r12
call fcn.18004c680
jmp 0x18001b274
lea rcx, [0x1800abd78]
call fcn.18004c6ec
cmp dword [0x1800abd78], 0xffffffff
jne 0x18001b3b4
lea rcx, [0x1800abd68]
call fcn.180004a40
lea rcx, [0x1800abd78]
mov qword [0x1800abd70], r12
call fcn.18004c680
jmp 0x18001b3b4
lea rcx, [0x1800abd90]
call fcn.18004c6ec
cmp dword [0x1800abd90], 0xffffffff
jne 0x18001b518
lea rcx, [0x1800abd80]
call fcn.180004a40
lea rcx, [0x1800abd90]
mov qword [0x1800abd88], r12
call fcn.18004c680
jmp 0x18001b518