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

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x1801be118]
xor rax, rsp
mov qword [rsp + 0x20], rax
mov rax, qword gs:[0x58]
mov rdi, rcx
mov edx, dword [0x1802235ac]
mov ecx, 4
mov r14, qword [rax + rdx*8]
add r14, rcx
mov eax, dword [r14]
cmp dword [0x180259d78], eax
jle 0x1800d9ee3
lea rcx, [0x180259d78]
call fcn.1801325f8
cmp dword [0x180259d78], 0xffffffff
jne 0x1800d9ee3
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [0x180259d78]
mov dword [0x180259d7c], eax
call fcn.18013258c
cmp byte [rdi + 0x271], 0
lea rbp, str.SELECT
je 0x1800d9f37
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x180259d7c]
cmp eax, dword [rdi + 0x88]
jb 0x1800d9f37
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x180259d7c], eax
movzx eax, byte [rdi + 0x50]
xor al, 1
cmp byte [rdi + 0x87], 0
mov byte [rdi + 0x50], al
je 0x1800d9f37
test al, al
lea rdx, str.BACK
cmovne rdx, rbp
call fcn.1800ddf50
mov eax, dword [r14]
xor r15d, r15d
cmp dword [0x180259d80], eax
mov qword [rsp + 0x58], rbx
jle 0x1800d9fb5
lea rcx, [0x180259d80]
call fcn.1801325f8
cmp dword [0x180259d80], 0xffffffff
jne 0x1800d9fb5
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1800d9f7d
imul rax, rax, 0x64
jmp 0x1800d9f9b
cqo
idiv rbx
mov r8, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
imul rdx, r8, 0x3b9aca00
add rax, rdx
lea rcx, [0x180259d80]
mov qword [0x180259d88], rax
mov qword [0x180259d90], r15
call fcn.18013258c
movsxd rax, dword [rdi + 0x8c]
imul rcx, rax, 0xf4240
mov qword [0x180259d90], rcx
cmp byte [rdi + 0x50], r15b
je 0x1800da6ca
cmp byte [rdi + 0x272], r15b
je 0x1800da072
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1800d9fff
imul rax, rax, 0x64
jmp 0x1800da01d
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
mov rcx, rax
sub rcx, qword [0x180259d88]
cmp rcx, qword [0x180259d90]
jl 0x1800da072
mov qword [0x180259d88], rax
cmp byte [rdi + 0x87], r15b
je 0x1800da04c
lea rdx, str.BACK
call fcn.1800ddf50
mov rax, qword [rdi + 0x261]
sub rax, qword [rdi + 0x259]
sar rax, 3
cmp rax, 1
ja 0x1800da06a
mov byte [rdi + 0x50], r15b
jmp 0x1800da072
add qword [rdi + 0x261], 0xfffffffffffffff8
cmp byte [rdi + 0x50], r15b
je 0x1800da6ca
mov rax, qword [rdi + 0x261]
cmp qword [rdi + 0x259], rax
je 0x1800da6ca
mov qword [rsp + 0x60], rsi
mov rsi, qword [rax - 8]
mov eax, dword [r14]
cmp dword [0x180259d98], eax
jle 0x1800da10f
lea rcx, [0x180259d98]
call fcn.1801325f8
cmp dword [0x180259d98], 0xffffffff
jne 0x1800da10f
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1800da0d7
imul rax, rax, 0x64
jmp 0x1800da0f5
cqo
idiv rbx
mov r8, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
imul rdx, r8, 0x3b9aca00
add rax, rdx
lea rcx, [0x180259d98]
mov qword [0x180259da0], rax
mov qword [0x180259da8], r15
call fcn.18013258c
movsxd rax, dword [rdi + 0x90]
imul rcx, rax, 0xf4240
mov qword [0x180259da8], rcx
cmp byte [rdi + 0x273], r15b
je 0x1800da1d0
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + Ordinal_50]
test rax, rax
je 0x1800da1d0
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1800da161
imul rax, rax, 0x64
jmp 0x1800da17f
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
mov rcx, rax
sub rcx, qword [0x180259da0]
cmp rcx, qword [0x180259da8]
jl 0x1800da1d0
mov qword [0x180259da0], rax
cmp byte [rdi + 0x87], r15b
je 0x1800da1aa
mov rdx, rbp
call fcn.1800ddf50
mov rbx, qword [rsi]
mov rcx, rsi
call qword [rbx + gethostname]
mov rdx, rax
mov rcx, rsi
call qword [rbx + Ordinal_41]
test rax, rax
je 0x1800da1d0
mov r8, qword [rax]
mov edx, 2
mov rcx, rax
call qword [r8 + reloc.WLDAP32.dll_Ordinal_32]
mov eax, dword [r14]
cmp dword [0x180259db0], eax
jle 0x1800da246
lea rcx, [0x180259db0]
call fcn.1801325f8
cmp dword [0x180259db0], 0xffffffff
jne 0x1800da246
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1800da20e
imul rax, rax, 0x64
jmp 0x1800da22c
cqo
idiv rbx
mov r8, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
imul rdx, r8, 0x3b9aca00
add rax, rdx
lea rcx, [0x180259db0]
mov qword [0x180259db8], rax
mov qword [0x180259dc0], r15
call fcn.18013258c
movsxd rax, dword [rdi + 0x94]
imul rcx, rax, 0xf4240
mov qword [0x180259dc0], rcx
cmp byte [rdi + 0x274], r15b
je 0x1800da30b
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + Ordinal_50]
test rax, rax
je 0x1800da30b
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1800da298
imul rax, rax, 0x64
jmp 0x1800da2b6
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
mov rcx, rax
sub rcx, qword [0x180259db8]
cmp rcx, qword [0x180259dc0]
jl 0x1800da30b
mov qword [0x180259db8], rax
cmp byte [rdi + 0x87], r15b
je 0x1800da2e5
lea rdx, str.NAV_UP_DOWN
call fcn.1800ddf50
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + gethostname]
mov rbx, qword [rsi]
mov rcx, rsi
test rax, rax
je 0x1800da2fe
call qword [rbx + gethostname]
jmp 0x1800da301
call qword [rbx + Ordinal_50]
lea rdx, [rax - 1]
mov rcx, rsi
call qword [rbx + 0x40]
mov eax, dword [r14]
cmp dword [0x180259dc8], eax
jle 0x1800da381
lea rcx, [0x180259dc8]
call fcn.1801325f8
cmp dword [0x180259dc8], 0xffffffff
jne 0x1800da381
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1800da349
imul rax, rax, 0x64
jmp 0x1800da367
cqo
idiv rbx
mov r8, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
imul rdx, r8, 0x3b9aca00
add rax, rdx
lea rcx, [0x180259dc8]
mov qword [0x180259dd0], rax
mov qword [0x180259dd8], r15
call fcn.18013258c
movsxd rax, dword [rdi + 0x94]
imul rcx, rax, 0xf4240
mov qword [0x180259dd8], rcx
cmp byte [rdi + 0x275], r15b
je 0x1800da452
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + Ordinal_50]
test rax, rax
je 0x1800da452
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1800da3d3
imul rax, rax, 0x64
jmp 0x1800da3f1
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
mov rcx, rax
sub rcx, qword [0x180259dd0]
cmp rcx, qword [0x180259dd8]
jl 0x1800da452
mov qword [0x180259dd0], rax
cmp byte [rdi + 0x87], r15b
je 0x1800da420
lea rdx, str.NAV_UP_DOWN
call fcn.1800ddf50
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + Ordinal_50]
mov rdx, qword [rsi]
mov rcx, rsi
lea rbx, [rax - 1]
call qword [rdx + gethostname]
mov rbp, qword [rsi]
mov rcx, rsi
cmp rax, rbx
jae 0x1800da44d
call qword [rbp + gethostname]
mov rcx, rsi
lea rdx, [rax + 1]
jmp 0x1800da44f
xor edx, edx
call qword [rbp + 0x40]
mov eax, dword [r14]
cmp dword [0x180259de0], eax
jle 0x1800da4c8
lea rcx, [0x180259de0]
call fcn.1801325f8
cmp dword [0x180259de0], 0xffffffff
jne 0x1800da4c8
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1800da490
imul rax, rax, 0x64
jmp 0x1800da4ae
cqo
idiv rbx
mov r8, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
imul rdx, r8, 0x3b9aca00
add rax, rdx
lea rcx, [0x180259de0]
mov qword [0x180259de8], rax
mov qword [0x180259df0], r15
call fcn.18013258c
movsxd rax, dword [rdi + 0x98]
imul rcx, rax, 0xf4240
mov qword [0x180259df0], rcx
cmp byte [rdi + 0x276], r15b
je 0x1800da58a
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + Ordinal_50]
test rax, rax
je 0x1800da58a
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1800da51a
imul rax, rax, 0x64
jmp 0x1800da538
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
mov rcx, rax
sub rcx, qword [0x180259de8]
cmp rcx, qword [0x180259df0]
jl 0x1800da58a
mov qword [0x180259de8], rax
cmp byte [rdi + 0x87], r15b
je 0x1800da567
lea rdx, str.NAV_LEFT_RIGHT
call fcn.1800ddf50
mov rbx, qword [rsi]
mov rcx, rsi
call qword [rbx + gethostname]
mov rdx, rax
mov rcx, rsi
call qword [rbx + Ordinal_41]
test rax, rax
je 0x1800da58a
mov r8, qword [rax]
xor edx, edx
mov rcx, rax
call qword [r8 + reloc.WLDAP32.dll_Ordinal_32]
mov eax, dword [r14]
cmp dword [0x180259df8], eax
jle 0x1800da600
lea rcx, [0x180259df8]
call fcn.1801325f8
cmp dword [0x180259df8], 0xffffffff
jne 0x1800da600
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1800da5c8
imul rax, rax, 0x64
jmp 0x1800da5e6
cqo
idiv rbx
mov r8, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
imul rdx, r8, 0x3b9aca00
add rax, rdx
lea rcx, [0x180259df8]
mov qword [0x180259e00], rax
mov qword [0x180259e08], r15
call fcn.18013258c
movsxd rax, dword [rdi + 0x98]
imul rcx, rax, 0xf4240
mov qword [0x180259e08], rcx
cmp byte [rdi + 0x277], r15b
je 0x1800da6c5
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + Ordinal_50]
test rax, rax
je 0x1800da6c5
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1800da652
imul rax, rax, 0x64
jmp 0x1800da670
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
mov rcx, rax
sub rcx, qword [0x180259e00]
cmp rcx, qword [0x180259e08]
jl 0x1800da6c5
mov qword [0x180259e00], rax
cmp byte [rdi + 0x87], r15b
je 0x1800da69f
lea rdx, str.NAV_LEFT_RIGHT
call fcn.1800ddf50
mov rbx, qword [rsi]
mov rcx, rsi
call qword [rbx + gethostname]
mov rdx, rax
mov rcx, rsi
call qword [rbx + Ordinal_41]
test rax, rax
je 0x1800da6c5
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8 + reloc.WLDAP32.dll_Ordinal_32]
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.180132140
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret