Function at 0x180039ec0
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 0x18003a2fe
cmp byte [rcx + 0x69], r15b
je 0x18003a2fe
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 [0x18014c770], rax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
mov qword [0x18014c780], rax
mov dword [0x18014c6a8], r15d
mov qword [0x1801b1910], rbx
mov qword [0x18014c778], r15
mov dword [0x18014c698], 3
call fcn.18003c7d0
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x18014c770], rax
mov dword [rsp + 0x50], 0x13
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x18014c778], rax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
mov qword [0x18014c780], rax
mov dword [0x18014c6a8], r15d
mov qword [0x1801b1910], rbx
mov dword [0x18014c698], 3
call fcn.18003c7d0
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x18014c770], rax
mov dword [rsp + 0x50], 0x8c
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x18014c778], rax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
mov qword [0x18014c780], rax
mov dword [0x18014c6a8], r15d
mov qword [0x1801b1910], rbx
mov dword [0x18014c698], 3
call fcn.18003c7d0
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x18014c770], rax
mov dword [rsp + 0x50], 0x14
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x18014c778], rax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
mov qword [0x18014c780], rax
mov dword [0x18014c6a8], r15d
mov qword [0x1801b1910], rbx
mov dword [0x18014c698], 3
call fcn.18003c7d0
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x18014c770], rax
mov dword [rsp + 0x50], 0x1b
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x18014c778], rax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
mov qword [0x18014c780], rax
mov dword [0x18014c6a8], r15d
mov qword [0x1801b1910], rbx
mov dword [0x18014c698], 3
call fcn.18003c7d0
mov dword [0x18014c6a8], r15d
mov qword [0x1801b1910], rbx
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x18014c770], rax
mov dword [rsp + 0x50], 0x50
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x18014c778], rax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
mov qword [0x18014c780], rax
mov dword [0x18014c698], 3
call fcn.18003c7d0
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x18014c770], rax
mov dword [rsp + 0x50], 0x151
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x18014c778], rax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
mov qword [0x18014c780], rax
mov dword [0x18014c6a8], r15d
mov qword [0x1801b1910], rbx
mov dword [0x18014c698], 3
call fcn.18003c7d0
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x18014c770], rax
mov dword [rsp + 0x50], 0x1b
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x18014c778], rax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
mov qword [0x18014c780], rax
mov dword [0x18014c6a8], r15d
mov qword [0x1801b1910], rbx
mov dword [0x18014c698], 3
call fcn.18003c7d0
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x18014c770], rax
mov dword [rsp + 0x50], 0x55
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x18014c778], rax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
mov qword [0x18014c780], rax
mov dword [0x18014c6a8], r15d
mov qword [0x1801b1910], rbx
mov dword [0x18014c698], 3
call fcn.18003c7d0
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x18014c770], rax
mov dword [rsp + 0x50], 0x4a
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x18014c778], rax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
mov qword [0x18014c780], rax
mov dword [0x18014c6a8], r15d
mov qword [0x1801b1910], rbx
mov dword [0x18014c698], 3
call fcn.18003c7d0
mov rax, qword gs:[0x58]
mov ecx, dword [0x1801ad20c]
mov edx, 4
mov r14, qword [rax + rcx*8]
add r14, rdx
mov eax, dword [r14]
cmp dword [0x1801b1cf8], eax
jle 0x18003a351
lea rcx, [0x1801b1cf8]
call fcn.1800ce118
cmp dword [0x1801b1cf8], 0xffffffff
jne 0x18003a351
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [0x1801b1cf8]
mov dword [0x1801b1cfc], eax
call fcn.1800ce0b8
lea rbp, str.SELECT
movabs r13, 0x67c540aa08e4a6f5
lea rsi, str.BACK
movabs r12, 0xe2587f8cbbd87b1d
lea rbx, str.HUD_FRONTEND_DEFAULT_SOUNDSET
cmp byte [rdi + 0x150], r15b
je 0x18003a398
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1801b1cfc]
cmp eax, dword [rdi + 0x6c]
jae 0x18003a43f
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xe3
mov rax, qword [rsp + 0x50]
mov qword [0x18014c778], rax
mov dword [0x18014c6a8], r15d
mov qword [0x1801b1910], r12
mov qword [0x18014c770], r15
mov dword [0x18014c698], 2
call fcn.18003c7d0
cmp dword [rax], r15d
je 0x18003a4af
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xaf
mov rax, qword [rsp + 0x50]
mov qword [0x18014c778], rax
mov dword [0x18014c6a8], r15d
mov qword [0x1801b1910], r12
mov qword [0x18014c770], r15
mov dword [0x18014c698], 2
call fcn.18003c7d0
cmp dword [rax], r15d
je 0x18003a4af
cmp byte [rdi + 0x69], r15b
je 0x18003a4af
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1801b1cfc]
cmp eax, dword [rdi + 0x6c]
jb 0x18003a4af
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movzx ecx, byte [rdi + 0x50]
xor cl, 1
mov dword [0x1801b1cfc], eax
mov byte [rdi + 0x50], cl
cmp byte [rdi + 0x68], r15b
je 0x18003a4af
mov qword [rsp + 0x50], r15
test cl, cl
mov dword [rsp + 0x50], 0xffffffff
mov rax, qword [rsp + 0x50]
mov qword [0x18014c770], rax
mov rax, rsi
cmovne rax, rbp
mov dword [0x18014c6a8], r15d
mov qword [0x18014c778], rax
mov qword [0x1801b1910], r13
mov qword [0x18014c780], rbx
mov qword [0x18014c788], r15
mov dword [0x18014c698], 4
call fcn.18003c7d0
mov eax, dword [r14]
cmp dword [0x1801b1d00], eax
jle 0x18003a4ee
lea rcx, [0x1801b1d00]
call fcn.1800ce118
cmp dword [0x1801b1d00], 0xffffffff
jne 0x18003a4ee
lea rcx, [0x1801b1d08]
call fcn.1800033a0
lea rcx, [0x1801b1d00]
mov qword [0x1801b1d10], r15
call fcn.1800ce0b8
movsxd rax, dword [rdi + 0x70]
imul rcx, rax, 0xf4240
mov qword [0x1801b1d10], rcx
cmp byte [rdi + 0x50], r15b
je 0x18003b09a
cmp byte [rdi + 0x151], r15b
je 0x18003a566
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 0x18003a531
imul rax, rax, 0x64
jmp 0x18003a54f
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 [0x1801b1d08]
cmp rcx, qword [0x1801b1d10]
jge 0x18003a613
cmp byte [rdi + 0x50], r15b
je 0x18003b09a
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xca
mov rax, qword [rsp + 0x50]
mov qword [0x18014c778], rax
mov dword [0x18014c6a8], r15d
mov qword [0x1801b1910], r12
mov qword [0x18014c770], r15
mov dword [0x18014c698], 2
call fcn.18003c7d0
cmp dword [rax], r15d
je 0x18003a698
cmp byte [rdi + 0x69], r15b
je 0x18003a698
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 0x18003a5de
imul rax, rax, 0x64
jmp 0x18003a5fc
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 [0x1801b1d08]
cmp rcx, qword [0x1801b1d10]
jl 0x18003a698
mov qword [0x1801b1d08], rax
cmp byte [rdi + 0x68], r15b
je 0x18003a672
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xffffffff
mov rax, qword [rsp + 0x50]
mov qword [0x18014c770], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x18014c780], rax
mov dword [0x18014c6a8], r15d
mov qword [0x1801b1910], r13
mov qword [0x18014c778], rsi
mov qword [0x18014c788], r15
mov dword [0x18014c698], 4
call fcn.18003c7d0
mov rax, qword [rdi + 0x180]
sub rax, qword [rdi + 0x178]
sar rax, 3
cmp rax, 1
ja 0x18003a690
mov byte [rdi + 0x50], r15b
jmp 0x18003a698
add qword [rdi + 0x180], 0xfffffffffffffff8
cmp byte [rdi + 0x50], r15b
je 0x18003b09a
mov rax, qword [rdi + 0x180]
cmp qword [rdi + 0x178], rax
je 0x18003b09a
mov rsi, qword [rax - 8]
mov eax, dword [r14]
cmp dword [0x1801b1d18], eax
jle 0x18003a6f9
lea rcx, [0x1801b1d18]
call fcn.1800ce118
cmp dword [0x1801b1d18], 0xffffffff
jne 0x18003a6f9
lea rcx, [0x1801b1d20]
call fcn.1800033a0
lea rcx, [0x1801b1d18]
mov qword [0x1801b1d28], r15
call fcn.1800ce0b8
movsxd rax, dword [rdi + 0x74]
imul rcx, rax, 0xf4240
mov qword [0x1801b1d28], rcx
cmp byte [rdi + 0x152], r15b
je 0x18003a775
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18003a775
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 0x18003a740
imul rax, rax, 0x64
jmp 0x18003a75e
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 [0x1801b1d20]
cmp rcx, qword [0x1801b1d28]
jge 0x18003a82a
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xc9
mov rax, qword [rsp + 0x50]
mov qword [0x18014c778], rax
mov dword [0x18014c6a8], r15d
mov qword [0x1801b1910], r12
mov qword [0x18014c770], r15
mov dword [0x18014c698], 2
call fcn.18003c7d0
cmp dword [rax], r15d
je 0x18003a8af
cmp byte [rdi + 0x69], r15b
je 0x18003a8af
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18003a8af
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 0x18003a7f5
imul rax, rax, 0x64
jmp 0x18003a813
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 [0x1801b1d20]
cmp rcx, qword [0x1801b1d28]
jl 0x18003a8af
mov qword [0x1801b1d20], rax
cmp byte [rdi + 0x68], r15b
je 0x18003a889
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xffffffff
mov rax, qword [rsp + 0x50]
mov qword [0x18014c770], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x18014c780], rax
mov dword [0x18014c6a8], r15d
mov qword [0x1801b1910], r13
mov qword [0x18014c778], rbp
mov qword [0x18014c788], r15
mov dword [0x18014c698], 4
call fcn.18003c7d0
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 0x18003a8af
mov r8, qword [rax]
mov edx, 2
mov rcx, rax
call qword [r8 + 0x20]
mov eax, dword [r14]
cmp dword [0x1801b1d30], eax
jle 0x18003a8ee
lea rcx, [0x1801b1d30]
call fcn.1800ce118
cmp dword [0x1801b1d30], 0xffffffff
jne 0x18003a8ee
lea rcx, [0x1801b1d38]
call fcn.1800033a0
lea rcx, [0x1801b1d30]
mov qword [0x1801b1d40], r15
call fcn.1800ce0b8
movsxd rax, dword [rdi + 0x78]
lea rbp, str.NAV_UP_DOWN
imul rcx, rax, 0xf4240
mov qword [0x1801b1d40], rcx
cmp byte [rdi + 0x153], r15b
je 0x18003a971
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18003a971
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 0x18003a93c
imul rax, rax, 0x64
jmp 0x18003a95a
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 [0x1801b1d38]
cmp rcx, qword [0x1801b1d40]
jge 0x18003aa26
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xbc
mov rax, qword [rsp + 0x50]
mov qword [0x18014c778], rax
mov dword [0x18014c6a8], r15d
mov qword [0x1801b1910], r12
mov qword [0x18014c770], r15
mov dword [0x18014c698], 2
call fcn.18003c7d0
cmp dword [rax], r15d
je 0x18003aaab
cmp byte [rdi + 0x69], r15b
je 0x18003aaab
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18003aaab
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 0x18003a9f1
imul rax, rax, 0x64
jmp 0x18003aa0f
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 [0x1801b1d38]
cmp rcx, qword [0x1801b1d40]
jl 0x18003aaab
mov qword [0x1801b1d38], rax
cmp byte [rdi + 0x68], r15b
je 0x18003aa85
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xffffffff
mov rax, qword [rsp + 0x50]
mov qword [0x18014c770], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x18014c780], rax
mov dword [0x18014c6a8], r15d
mov qword [0x1801b1910], r13
mov qword [0x18014c778], rbp
mov qword [0x18014c788], r15
mov dword [0x18014c698], 4
call fcn.18003c7d0
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
mov rbx, qword [rsi]
mov rcx, rsi
test rax, rax
je 0x18003aa9e
call qword [rbx + 0x38]
jmp 0x18003aaa1
call qword [rbx + 0x30]
lea rdx, [rax - 1]
mov rcx, rsi
call qword [rbx + 0x40]
mov eax, dword [r14]
cmp dword [0x1801b1d48], eax
jle 0x18003aaea
lea rcx, [0x1801b1d48]
call fcn.1800ce118
cmp dword [0x1801b1d48], 0xffffffff
jne 0x18003aaea
lea rcx, [0x1801b1d50]
call fcn.1800033a0
lea rcx, [0x1801b1d48]
mov qword [0x1801b1d58], r15
call fcn.1800ce0b8
movsxd rax, dword [rdi + 0x78]
imul rcx, rax, 0xf4240
mov qword [0x1801b1d58], rcx
cmp byte [rdi + 0x154], r15b
je 0x18003ab66
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18003ab66
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 0x18003ab31
imul rax, rax, 0x64
jmp 0x18003ab4f
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 [0x1801b1d50]
cmp rcx, qword [0x1801b1d58]
jge 0x18003ac1b
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xbb
mov rax, qword [rsp + 0x50]
mov qword [0x18014c778], rax
mov dword [0x18014c6a8], r15d
mov qword [0x1801b1910], r12
mov qword [0x18014c770], r15
mov dword [0x18014c698], 2
call fcn.18003c7d0
cmp dword [rax], r15d
je 0x18003acac
cmp byte [rdi + 0x69], r15b
je 0x18003acac
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18003acac
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 0x18003abe6
imul rax, rax, 0x64
jmp 0x18003ac04
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 [0x1801b1d50]
cmp rcx, qword [0x1801b1d58]
jl 0x18003acac
mov qword [0x1801b1d50], rax
cmp byte [rdi + 0x68], r15b
je 0x18003ac7a
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xffffffff
mov rax, qword [rsp + 0x50]
mov qword [0x18014c770], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x18014c780], rax
mov dword [0x18014c6a8], r15d
mov qword [0x1801b1910], r13
mov qword [0x18014c778], rbp
mov qword [0x18014c788], r15
mov dword [0x18014c698], 4
call fcn.18003c7d0
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 0x18003aca7
call qword [rbp + 0x38]
mov rcx, rsi
lea rdx, [rax + 1]
jmp 0x18003aca9
xor edx, edx
call qword [rbp + 0x40]
mov eax, dword [r14]
cmp dword [0x1801b1d60], eax
jle 0x18003aceb
lea rcx, [0x1801b1d60]
call fcn.1800ce118
cmp dword [0x1801b1d60], 0xffffffff
jne 0x18003aceb
lea rcx, [0x1801b1d68]
call fcn.1800033a0
lea rcx, [0x1801b1d60]
mov qword [0x1801b1d70], r15
call fcn.1800ce0b8
movsxd rax, dword [rdi + 0x7c]
lea rbp, str.NAV_LEFT_RIGHT
imul rcx, rax, 0xf4240
mov qword [0x1801b1d70], rcx
cmp byte [rdi + 0x155], r15b
je 0x18003ad6e
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18003ad6e
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 0x18003ad39
imul rax, rax, 0x64
jmp 0x18003ad57
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 [0x1801b1d68]
cmp rcx, qword [0x1801b1d70]
jge 0x18003ae23
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xae
mov rax, qword [rsp + 0x50]
mov qword [0x18014c778], rax
mov dword [0x18014c6a8], r15d
mov qword [0x1801b1910], r12
mov qword [0x18014c770], r15
mov dword [0x18014c698], 2
call fcn.18003c7d0
cmp dword [rax], r15d
je 0x18003aea5
cmp byte [rdi + 0x69], r15b
je 0x18003aea5
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18003aea5
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 0x18003adee
imul rax, rax, 0x64
jmp 0x18003ae0c
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 [0x1801b1d68]
cmp rcx, qword [0x1801b1d70]
jl 0x18003aea5
mov qword [0x1801b1d68], rax
cmp byte [rdi + 0x68], r15b
je 0x18003ae82
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xffffffff
mov rax, qword [rsp + 0x50]
mov qword [0x18014c770], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x18014c780], rax
mov dword [0x18014c6a8], r15d
mov qword [0x1801b1910], r13
mov qword [0x18014c778], rbp
mov qword [0x18014c788], r15
mov dword [0x18014c698], 4
call fcn.18003c7d0
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 0x18003aea5
mov r8, qword [rax]
xor edx, edx
mov rcx, rax
call qword [r8 + 0x20]
mov eax, dword [r14]
cmp dword [0x1801b1d78], eax
jle 0x18003aee4
lea rcx, [0x1801b1d78]
call fcn.1800ce118
cmp dword [0x1801b1d78], 0xffffffff
jne 0x18003aee4
lea rcx, [0x1801b1d80]
call fcn.1800033a0
lea rcx, [0x1801b1d78]
mov qword [0x1801b1d88], r15
call fcn.1800ce0b8
movsxd rax, dword [rdi + 0x7c]
imul rcx, rax, 0xf4240
mov qword [0x1801b1d88], rcx
cmp byte [rdi + 0x156], r15b
je 0x18003af60
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18003af60
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 0x18003af2b
imul rax, rax, 0x64
jmp 0x18003af49
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 [0x1801b1d80]
cmp rcx, qword [0x1801b1d88]
jge 0x18003b015
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xaf
mov rax, qword [rsp + 0x50]
mov qword [0x18014c778], rax
mov dword [0x18014c6a8], r15d
mov qword [0x1801b1910], r12
mov qword [0x18014c770], r15
mov dword [0x18014c698], 2
call fcn.18003c7d0
cmp dword [rax], r15d
je 0x18003b09a
cmp byte [rdi + 0x69], r15b
je 0x18003b09a
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18003b09a
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 0x18003afe0
imul rax, rax, 0x64
jmp 0x18003affe
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 [0x1801b1d80]
cmp rcx, qword [0x1801b1d88]
jl 0x18003b09a
mov qword [0x1801b1d80], rax
cmp byte [rdi + 0x68], r15b
je 0x18003b074
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xffffffff
mov rax, qword [rsp + 0x50]
mov qword [0x18014c770], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x18014c780], rax
mov dword [0x18014c6a8], r15d
mov qword [0x1801b1910], r13
mov qword [0x18014c778], rbp
mov qword [0x18014c788], r15
mov dword [0x18014c698], 4
call fcn.18003c7d0
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 0x18003b09a
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