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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r15d, r15d
mov rdi, rcx
cmp byte [rcx + 0x50], r15b
je 0x18002aaae
cmp byte [rcx + 0x69], r15b
je 0x18002aaae
mov qword [rsp + 0x50], r15
movabs rbx, 0xfe99b66d079cf6bc
mov dword [rsp + 0x50], 2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x1800cd770], rax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
mov qword [0x1800cd780], rax
mov dword [0x1800cd6a8], r15d
mov qword [0x18011d858], rbx
mov qword [0x1800cd778], r15
mov dword [0x1800cd698], 3
call fcn.18002ce10
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x1800cd770], rax
mov dword [rsp + 0x50], 0x13
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x1800cd778], rax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
mov qword [0x1800cd780], rax
mov dword [0x1800cd6a8], r15d
mov qword [0x18011d858], rbx
mov dword [0x1800cd698], 3
call fcn.18002ce10
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x1800cd770], rax
mov dword [rsp + 0x50], 0x8c
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x1800cd778], rax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
mov qword [0x1800cd780], rax
mov dword [0x1800cd6a8], r15d
mov qword [0x18011d858], rbx
mov dword [0x1800cd698], 3
call fcn.18002ce10
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x1800cd770], rax
mov dword [rsp + 0x50], 0x14
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x1800cd778], rax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
mov qword [0x1800cd780], rax
mov dword [0x1800cd6a8], r15d
mov qword [0x18011d858], rbx
mov dword [0x1800cd698], 3
call fcn.18002ce10
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x1800cd770], rax
mov dword [rsp + 0x50], 0x1b
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x1800cd778], rax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
mov qword [0x1800cd780], rax
mov dword [0x1800cd6a8], r15d
mov qword [0x18011d858], rbx
mov dword [0x1800cd698], 3
call fcn.18002ce10
mov dword [0x1800cd6a8], r15d
mov qword [0x18011d858], rbx
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x1800cd770], rax
mov dword [rsp + 0x50], 0x50
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x1800cd778], rax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
mov qword [0x1800cd780], rax
mov dword [0x1800cd698], 3
call fcn.18002ce10
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x1800cd770], rax
mov dword [rsp + 0x50], 0x151
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x1800cd778], rax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
mov qword [0x1800cd780], rax
mov dword [0x1800cd6a8], r15d
mov qword [0x18011d858], rbx
mov dword [0x1800cd698], 3
call fcn.18002ce10
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x1800cd770], rax
mov dword [rsp + 0x50], 0x1b
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x1800cd778], rax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
mov qword [0x1800cd780], rax
mov dword [0x1800cd6a8], r15d
mov qword [0x18011d858], rbx
mov dword [0x1800cd698], 3
call fcn.18002ce10
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x1800cd770], rax
mov dword [rsp + 0x50], 0x55
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x1800cd778], rax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
mov qword [0x1800cd780], rax
mov dword [0x1800cd6a8], r15d
mov qword [0x18011d858], rbx
mov dword [0x1800cd698], 3
call fcn.18002ce10
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x1800cd770], rax
mov dword [rsp + 0x50], 0x4a
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x1800cd778], rax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
mov qword [0x1800cd780], rax
mov dword [0x1800cd6a8], r15d
mov qword [0x18011d858], rbx
mov dword [0x1800cd698], 3
call fcn.18002ce10
mov rax, qword gs:[0x58]
mov ecx, dword [0x18011a38c]
mov edx, 4
mov r14, qword [rax + rcx*8]
add r14, rdx
mov eax, dword [r14]
cmp dword [0x18011dbf0], eax
jle 0x18002ab01
lea rcx, [0x18011dbf0]
call fcn.180072558
cmp dword [0x18011dbf0], 0xffffffff
jne 0x18002ab01
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [0x18011dbf0]
mov dword [0x18011dbf4], eax
call fcn.1800724f8
lea rbp, str.SELECT
movabs r13, 0x67c540aa08e4a6f5
lea rsi, str.BACK
movabs r12, 0xe2587f8cbbd87b1d
lea rbx, str.HUD_FRONTEND_DEFAULT_SOUNDSET
cmp byte [rdi + 0x17c], r15b
je 0x18002ab48
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x18011dbf4]
cmp eax, dword [rdi + 0x6c]
jae 0x18002abef
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xe3
mov rax, qword [rsp + 0x50]
mov qword [0x1800cd778], rax
mov dword [0x1800cd6a8], r15d
mov qword [0x18011d858], r12
mov qword [0x1800cd770], r15
mov dword [0x1800cd698], 2
call fcn.18002ce10
cmp dword [rax], r15d
je 0x18002ac5f
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xaf
mov rax, qword [rsp + 0x50]
mov qword [0x1800cd778], rax
mov dword [0x1800cd6a8], r15d
mov qword [0x18011d858], r12
mov qword [0x1800cd770], r15
mov dword [0x1800cd698], 2
call fcn.18002ce10
cmp dword [rax], r15d
je 0x18002ac5f
cmp byte [rdi + 0x69], r15b
je 0x18002ac5f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x18011dbf4]
cmp eax, dword [rdi + 0x6c]
jb 0x18002ac5f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movzx ecx, byte [rdi + 0x50]
xor cl, 1
mov dword [0x18011dbf4], eax
mov byte [rdi + 0x50], cl
cmp byte [rdi + 0x68], r15b
je 0x18002ac5f
mov qword [rsp + 0x50], r15
test cl, cl
mov dword [rsp + 0x50], 0xffffffff
mov rax, qword [rsp + 0x50]
mov qword [0x1800cd770], rax
mov rax, rsi
cmovne rax, rbp
mov dword [0x1800cd6a8], r15d
mov qword [0x1800cd778], rax
mov qword [0x18011d858], r13
mov qword [0x1800cd780], rbx
mov qword [0x1800cd788], r15
mov dword [0x1800cd698], 4
call fcn.18002ce10
mov eax, dword [r14]
cmp dword [0x18011dbf8], eax
jle 0x18002ac9e
lea rcx, [0x18011dbf8]
call fcn.180072558
cmp dword [0x18011dbf8], 0xffffffff
jne 0x18002ac9e
lea rcx, [0x18011dc00]
call fcn.180002f60
lea rcx, [0x18011dbf8]
mov qword [0x18011dc08], r15
call fcn.1800724f8
movsxd rax, dword [rdi + 0x70]
imul rcx, rax, 0xf4240
mov qword [0x18011dc08], rcx
cmp byte [rdi + 0x50], r15b
je 0x18002b84a
cmp byte [rdi + 0x17d], r15b
je 0x18002ad16
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 0x18002ace1
imul rax, rax, 0x64
jmp 0x18002acff
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 [0x18011dc00]
cmp rcx, qword [0x18011dc08]
jge 0x18002adc3
cmp byte [rdi + 0x50], r15b
je 0x18002b84a
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xca
mov rax, qword [rsp + 0x50]
mov qword [0x1800cd778], rax
mov dword [0x1800cd6a8], r15d
mov qword [0x18011d858], r12
mov qword [0x1800cd770], r15
mov dword [0x1800cd698], 2
call fcn.18002ce10
cmp dword [rax], r15d
je 0x18002ae48
cmp byte [rdi + 0x69], r15b
je 0x18002ae48
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 0x18002ad8e
imul rax, rax, 0x64
jmp 0x18002adac
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 [0x18011dc00]
cmp rcx, qword [0x18011dc08]
jl 0x18002ae48
mov qword [0x18011dc00], rax
cmp byte [rdi + 0x68], r15b
je 0x18002ae22
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xffffffff
mov rax, qword [rsp + 0x50]
mov qword [0x1800cd770], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x1800cd780], rax
mov dword [0x1800cd6a8], r15d
mov qword [0x18011d858], r13
mov qword [0x1800cd778], rsi
mov qword [0x1800cd788], r15
mov dword [0x1800cd698], 4
call fcn.18002ce10
mov rax, qword [rdi + 0x1a8]
sub rax, qword [rdi + 0x1a0]
sar rax, 3
cmp rax, 1
ja 0x18002ae40
mov byte [rdi + 0x50], r15b
jmp 0x18002ae48
add qword [rdi + 0x1a8], 0xfffffffffffffff8
cmp byte [rdi + 0x50], r15b
je 0x18002b84a
mov rax, qword [rdi + 0x1a8]
cmp qword [rdi + 0x1a0], rax
je 0x18002b84a
mov rsi, qword [rax - 8]
mov eax, dword [r14]
cmp dword [0x18011dc10], eax
jle 0x18002aea9
lea rcx, [0x18011dc10]
call fcn.180072558
cmp dword [0x18011dc10], 0xffffffff
jne 0x18002aea9
lea rcx, [0x18011dc18]
call fcn.180002f60
lea rcx, [0x18011dc10]
mov qword [0x18011dc20], r15
call fcn.1800724f8
movsxd rax, dword [rdi + 0x74]
imul rcx, rax, 0xf4240
mov qword [0x18011dc20], rcx
cmp byte [rdi + 0x17e], r15b
je 0x18002af25
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002af25
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 0x18002aef0
imul rax, rax, 0x64
jmp 0x18002af0e
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 [0x18011dc18]
cmp rcx, qword [0x18011dc20]
jge 0x18002afda
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xc9
mov rax, qword [rsp + 0x50]
mov qword [0x1800cd778], rax
mov dword [0x1800cd6a8], r15d
mov qword [0x18011d858], r12
mov qword [0x1800cd770], r15
mov dword [0x1800cd698], 2
call fcn.18002ce10
cmp dword [rax], r15d
je 0x18002b05f
cmp byte [rdi + 0x69], r15b
je 0x18002b05f
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002b05f
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 0x18002afa5
imul rax, rax, 0x64
jmp 0x18002afc3
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 [0x18011dc18]
cmp rcx, qword [0x18011dc20]
jl 0x18002b05f
mov qword [0x18011dc18], rax
cmp byte [rdi + 0x68], r15b
je 0x18002b039
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xffffffff
mov rax, qword [rsp + 0x50]
mov qword [0x1800cd770], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x1800cd780], rax
mov dword [0x1800cd6a8], r15d
mov qword [0x18011d858], r13
mov qword [0x1800cd778], rbp
mov qword [0x1800cd788], r15
mov dword [0x1800cd698], 4
call fcn.18002ce10
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 0x18002b05f
mov r8, qword [rax]
mov edx, 2
mov rcx, rax
call qword [r8 + 0x20]
mov eax, dword [r14]
cmp dword [0x18011dc28], eax
jle 0x18002b09e
lea rcx, [0x18011dc28]
call fcn.180072558
cmp dword [0x18011dc28], 0xffffffff
jne 0x18002b09e
lea rcx, [0x18011dc30]
call fcn.180002f60
lea rcx, [0x18011dc28]
mov qword [0x18011dc38], r15
call fcn.1800724f8
movsxd rax, dword [rdi + 0x78]
lea rbp, str.NAV_UP_DOWN
imul rcx, rax, 0xf4240
mov qword [0x18011dc38], rcx
cmp byte [rdi + 0x17f], r15b
je 0x18002b121
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002b121
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 0x18002b0ec
imul rax, rax, 0x64
jmp 0x18002b10a
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 [0x18011dc30]
cmp rcx, qword [0x18011dc38]
jge 0x18002b1d6
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xbc
mov rax, qword [rsp + 0x50]
mov qword [0x1800cd778], rax
mov dword [0x1800cd6a8], r15d
mov qword [0x18011d858], r12
mov qword [0x1800cd770], r15
mov dword [0x1800cd698], 2
call fcn.18002ce10
cmp dword [rax], r15d
je 0x18002b25b
cmp byte [rdi + 0x69], r15b
je 0x18002b25b
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002b25b
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 0x18002b1a1
imul rax, rax, 0x64
jmp 0x18002b1bf
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 [0x18011dc30]
cmp rcx, qword [0x18011dc38]
jl 0x18002b25b
mov qword [0x18011dc30], rax
cmp byte [rdi + 0x68], r15b
je 0x18002b235
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xffffffff
mov rax, qword [rsp + 0x50]
mov qword [0x1800cd770], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x1800cd780], rax
mov dword [0x1800cd6a8], r15d
mov qword [0x18011d858], r13
mov qword [0x1800cd778], rbp
mov qword [0x1800cd788], r15
mov dword [0x1800cd698], 4
call fcn.18002ce10
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
mov rbx, qword [rsi]
mov rcx, rsi
test rax, rax
je 0x18002b24e
call qword [rbx + 0x38]
jmp 0x18002b251
call qword [rbx + 0x30]
lea rdx, [rax - 1]
mov rcx, rsi
call qword [rbx + 0x40]
mov eax, dword [r14]
cmp dword [0x18011dc40], eax
jle 0x18002b29a
lea rcx, [0x18011dc40]
call fcn.180072558
cmp dword [0x18011dc40], 0xffffffff
jne 0x18002b29a
lea rcx, [0x18011dc48]
call fcn.180002f60
lea rcx, [0x18011dc40]
mov qword [0x18011dc50], r15
call fcn.1800724f8
movsxd rax, dword [rdi + 0x78]
imul rcx, rax, 0xf4240
mov qword [0x18011dc50], rcx
cmp byte [rdi + 0x180], r15b
je 0x18002b316
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002b316
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 0x18002b2e1
imul rax, rax, 0x64
jmp 0x18002b2ff
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 [0x18011dc48]
cmp rcx, qword [0x18011dc50]
jge 0x18002b3cb
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xbb
mov rax, qword [rsp + 0x50]
mov qword [0x1800cd778], rax
mov dword [0x1800cd6a8], r15d
mov qword [0x18011d858], r12
mov qword [0x1800cd770], r15
mov dword [0x1800cd698], 2
call fcn.18002ce10
cmp dword [rax], r15d
je 0x18002b45c
cmp byte [rdi + 0x69], r15b
je 0x18002b45c
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002b45c
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 0x18002b396
imul rax, rax, 0x64
jmp 0x18002b3b4
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 [0x18011dc48]
cmp rcx, qword [0x18011dc50]
jl 0x18002b45c
mov qword [0x18011dc48], rax
cmp byte [rdi + 0x68], r15b
je 0x18002b42a
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xffffffff
mov rax, qword [rsp + 0x50]
mov qword [0x1800cd770], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x1800cd780], rax
mov dword [0x1800cd6a8], r15d
mov qword [0x18011d858], r13
mov qword [0x1800cd778], rbp
mov qword [0x1800cd788], r15
mov dword [0x1800cd698], 4
call fcn.18002ce10
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 rbp, qword [rsi]
mov rcx, rsi
cmp rax, rbx
jae 0x18002b457
call qword [rbp + 0x38]
mov rcx, rsi
lea rdx, [rax + 1]
jmp 0x18002b459
xor edx, edx
call qword [rbp + 0x40]
mov eax, dword [r14]
cmp dword [0x18011dc58], eax
jle 0x18002b49b
lea rcx, [0x18011dc58]
call fcn.180072558
cmp dword [0x18011dc58], 0xffffffff
jne 0x18002b49b
lea rcx, [0x18011dc60]
call fcn.180002f60
lea rcx, [0x18011dc58]
mov qword [0x18011dc68], r15
call fcn.1800724f8
movsxd rax, dword [rdi + 0x7c]
lea rbp, str.NAV_LEFT_RIGHT
imul rcx, rax, 0xf4240
mov qword [0x18011dc68], rcx
cmp byte [rdi + 0x181], r15b
je 0x18002b51e
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002b51e
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 0x18002b4e9
imul rax, rax, 0x64
jmp 0x18002b507
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 [0x18011dc60]
cmp rcx, qword [0x18011dc68]
jge 0x18002b5d3
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xae
mov rax, qword [rsp + 0x50]
mov qword [0x1800cd778], rax
mov dword [0x1800cd6a8], r15d
mov qword [0x18011d858], r12
mov qword [0x1800cd770], r15
mov dword [0x1800cd698], 2
call fcn.18002ce10
cmp dword [rax], r15d
je 0x18002b655
cmp byte [rdi + 0x69], r15b
je 0x18002b655
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002b655
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 0x18002b59e
imul rax, rax, 0x64
jmp 0x18002b5bc
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 [0x18011dc60]
cmp rcx, qword [0x18011dc68]
jl 0x18002b655
mov qword [0x18011dc60], rax
cmp byte [rdi + 0x68], r15b
je 0x18002b632
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xffffffff
mov rax, qword [rsp + 0x50]
mov qword [0x1800cd770], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x1800cd780], rax
mov dword [0x1800cd6a8], r15d
mov qword [0x18011d858], r13
mov qword [0x1800cd778], rbp
mov qword [0x1800cd788], r15
mov dword [0x1800cd698], 4
call fcn.18002ce10
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 0x18002b655
mov r8, qword [rax]
xor edx, edx
mov rcx, rax
call qword [r8 + 0x20]
mov eax, dword [r14]
cmp dword [0x18011dc70], eax
jle 0x18002b694
lea rcx, [0x18011dc70]
call fcn.180072558
cmp dword [0x18011dc70], 0xffffffff
jne 0x18002b694
lea rcx, [0x18011dc78]
call fcn.180002f60
lea rcx, [0x18011dc70]
mov qword [0x18011dc80], r15
call fcn.1800724f8
movsxd rax, dword [rdi + 0x7c]
imul rcx, rax, 0xf4240
mov qword [0x18011dc80], rcx
cmp byte [rdi + 0x182], r15b
je 0x18002b710
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002b710
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 0x18002b6db
imul rax, rax, 0x64
jmp 0x18002b6f9
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 [0x18011dc78]
cmp rcx, qword [0x18011dc80]
jge 0x18002b7c5
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xaf
mov rax, qword [rsp + 0x50]
mov qword [0x1800cd778], rax
mov dword [0x1800cd6a8], r15d
mov qword [0x18011d858], r12
mov qword [0x1800cd770], r15
mov dword [0x1800cd698], 2
call fcn.18002ce10
cmp dword [rax], r15d
je 0x18002b84a
cmp byte [rdi + 0x69], r15b
je 0x18002b84a
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002b84a
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 0x18002b790
imul rax, rax, 0x64
jmp 0x18002b7ae
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 [0x18011dc78]
cmp rcx, qword [0x18011dc80]
jl 0x18002b84a
mov qword [0x18011dc78], rax
cmp byte [rdi + 0x68], r15b
je 0x18002b824
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xffffffff
mov rax, qword [rsp + 0x50]
mov qword [0x1800cd770], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x1800cd780], rax
mov dword [0x1800cd6a8], r15d
mov qword [0x18011d858], r13
mov qword [0x1800cd778], rbp
mov qword [0x1800cd788], r15
mov dword [0x1800cd698], 4
call fcn.18002ce10
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 0x18002b84a
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8 + 0x20]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret