Function at 0x180021dc0
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 + 0x51], r15b
je 0x1800221fe
cmp byte [rcx + 0x69], r15b
je 0x1800221fe
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 [0x180098770], rax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
mov qword [0x180098780], rax
mov dword [0x1800986a8], r15d
mov qword [0x1800dabb8], rbx
mov qword [0x180098778], r15
mov dword [0x180098698], 3
call fcn.1800243b0
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x180098770], rax
mov dword [rsp + 0x50], 0x13
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x180098778], rax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
mov qword [0x180098780], rax
mov dword [0x1800986a8], r15d
mov qword [0x1800dabb8], rbx
mov dword [0x180098698], 3
call fcn.1800243b0
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x180098770], rax
mov dword [rsp + 0x50], 0x8c
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x180098778], rax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
mov qword [0x180098780], rax
mov dword [0x1800986a8], r15d
mov qword [0x1800dabb8], rbx
mov dword [0x180098698], 3
call fcn.1800243b0
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x180098770], rax
mov dword [rsp + 0x50], 0x14
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x180098778], rax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
mov qword [0x180098780], rax
mov dword [0x1800986a8], r15d
mov qword [0x1800dabb8], rbx
mov dword [0x180098698], 3
call fcn.1800243b0
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x180098770], rax
mov dword [rsp + 0x50], 0x1b
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x180098778], rax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
mov qword [0x180098780], rax
mov dword [0x1800986a8], r15d
mov qword [0x1800dabb8], rbx
mov dword [0x180098698], 3
call fcn.1800243b0
mov dword [0x1800986a8], r15d
mov qword [0x1800dabb8], rbx
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x180098770], rax
mov dword [rsp + 0x50], 0x50
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x180098778], rax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
mov qword [0x180098780], rax
mov dword [0x180098698], 3
call fcn.1800243b0
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x180098770], rax
mov dword [rsp + 0x50], 0x151
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x180098778], rax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
mov qword [0x180098780], rax
mov dword [0x1800986a8], r15d
mov qword [0x1800dabb8], rbx
mov dword [0x180098698], 3
call fcn.1800243b0
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x180098770], rax
mov dword [rsp + 0x50], 0x1b
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x180098778], rax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
mov qword [0x180098780], rax
mov dword [0x1800986a8], r15d
mov qword [0x1800dabb8], rbx
mov dword [0x180098698], 3
call fcn.1800243b0
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x180098770], rax
mov dword [rsp + 0x50], 0x55
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x180098778], rax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
mov qword [0x180098780], rax
mov dword [0x1800986a8], r15d
mov qword [0x1800dabb8], rbx
mov dword [0x180098698], 3
call fcn.1800243b0
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 2
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x180098770], rax
mov dword [rsp + 0x50], 0x4a
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov qword [0x180098778], rax
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
mov qword [0x180098780], rax
mov dword [0x1800986a8], r15d
mov qword [0x1800dabb8], rbx
mov dword [0x180098698], 3
call fcn.1800243b0
mov rax, qword gs:[0x58]
mov ecx, dword [0x1800d7afc]
mov edx, 4
mov r14, qword [rax + rcx*8]
add r14, rdx
mov eax, dword [r14]
cmp dword [0x1800dadb0], eax
jle 0x180022251
lea rcx, [0x1800dadb0]
call fcn.18004f018
cmp dword [0x1800dadb0], 0xffffffff
jne 0x180022251
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [0x1800dadb0]
mov dword [0x1800dadb4], eax
call fcn.18004efb8
lea rbp, str.SELECT
movabs r13, 0x67c540aa08e4a6f5
lea rsi, str.BACK
movabs r12, 0xe2587f8cbbd87b1d
lea rbx, str.HUD_FRONTEND_DEFAULT_SOUNDSET
cmp byte [rdi + 0x128], r15b
je 0x180022298
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1800dadb4]
cmp eax, dword [rdi + 0x6c]
jae 0x18002233f
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xe3
mov rax, qword [rsp + 0x50]
mov qword [0x180098778], rax
mov dword [0x1800986a8], r15d
mov qword [0x1800dabb8], r12
mov qword [0x180098770], r15
mov dword [0x180098698], 2
call fcn.1800243b0
cmp dword [rax], r15d
je 0x1800223af
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xaf
mov rax, qword [rsp + 0x50]
mov qword [0x180098778], rax
mov dword [0x1800986a8], r15d
mov qword [0x1800dabb8], r12
mov qword [0x180098770], r15
mov dword [0x180098698], 2
call fcn.1800243b0
cmp dword [rax], r15d
je 0x1800223af
cmp byte [rdi + 0x69], r15b
je 0x1800223af
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1800dadb4]
cmp eax, dword [rdi + 0x6c]
jb 0x1800223af
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movzx ecx, byte [rdi + 0x51]
xor cl, 1
mov dword [0x1800dadb4], eax
mov byte [rdi + 0x51], cl
cmp byte [rdi + 0x68], r15b
je 0x1800223af
mov qword [rsp + 0x50], r15
test cl, cl
mov dword [rsp + 0x50], 0xffffffff
mov rax, qword [rsp + 0x50]
mov qword [0x180098770], rax
mov rax, rsi
cmovne rax, rbp
mov dword [0x1800986a8], r15d
mov qword [0x180098778], rax
mov qword [0x1800dabb8], r13
mov qword [0x180098780], rbx
mov qword [0x180098788], r15
mov dword [0x180098698], 4
call fcn.1800243b0
mov eax, dword [r14]
cmp dword [0x1800dadb8], eax
jle 0x1800223ee
lea rcx, [0x1800dadb8]
call fcn.18004f018
cmp dword [0x1800dadb8], 0xffffffff
jne 0x1800223ee
lea rcx, [0x1800dadc0]
call fcn.180002f60
lea rcx, [0x1800dadb8]
mov qword [0x1800dadc8], r15
call fcn.18004efb8
movsxd rax, dword [rdi + 0x70]
imul rcx, rax, 0xf4240
mov qword [0x1800dadc8], rcx
cmp byte [rdi + 0x51], r15b
je 0x180022f9a
cmp byte [rdi + 0x129], r15b
je 0x180022466
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 0x180022431
imul rax, rax, 0x64
jmp 0x18002244f
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 [0x1800dadc0]
cmp rcx, qword [0x1800dadc8]
jge 0x180022513
cmp byte [rdi + 0x51], r15b
je 0x180022f9a
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xca
mov rax, qword [rsp + 0x50]
mov qword [0x180098778], rax
mov dword [0x1800986a8], r15d
mov qword [0x1800dabb8], r12
mov qword [0x180098770], r15
mov dword [0x180098698], 2
call fcn.1800243b0
cmp dword [rax], r15d
je 0x180022598
cmp byte [rdi + 0x69], r15b
je 0x180022598
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 0x1800224de
imul rax, rax, 0x64
jmp 0x1800224fc
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 [0x1800dadc0]
cmp rcx, qword [0x1800dadc8]
jl 0x180022598
mov qword [0x1800dadc0], rax
cmp byte [rdi + 0x68], r15b
je 0x180022572
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xffffffff
mov rax, qword [rsp + 0x50]
mov qword [0x180098770], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x180098780], rax
mov dword [0x1800986a8], r15d
mov qword [0x1800dabb8], r13
mov qword [0x180098778], rsi
mov qword [0x180098788], r15
mov dword [0x180098698], 4
call fcn.1800243b0
mov rax, qword [rdi + 0x158]
sub rax, qword [rdi + 0x150]
sar rax, 3
cmp rax, 1
ja 0x180022590
mov byte [rdi + 0x51], r15b
jmp 0x180022598
add qword [rdi + 0x158], 0xfffffffffffffff8
cmp byte [rdi + 0x51], r15b
je 0x180022f9a
mov rax, qword [rdi + 0x158]
cmp qword [rdi + 0x150], rax
je 0x180022f9a
mov rsi, qword [rax - 8]
mov eax, dword [r14]
cmp dword [0x1800dadd0], eax
jle 0x1800225f9
lea rcx, [0x1800dadd0]
call fcn.18004f018
cmp dword [0x1800dadd0], 0xffffffff
jne 0x1800225f9
lea rcx, [0x1800dadd8]
call fcn.180002f60
lea rcx, [0x1800dadd0]
mov qword [0x1800dade0], r15
call fcn.18004efb8
movsxd rax, dword [rdi + 0x74]
imul rcx, rax, 0xf4240
mov qword [0x1800dade0], rcx
cmp byte [rdi + 0x12a], r15b
je 0x180022675
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180022675
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 0x180022640
imul rax, rax, 0x64
jmp 0x18002265e
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 [0x1800dadd8]
cmp rcx, qword [0x1800dade0]
jge 0x18002272a
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xc9
mov rax, qword [rsp + 0x50]
mov qword [0x180098778], rax
mov dword [0x1800986a8], r15d
mov qword [0x1800dabb8], r12
mov qword [0x180098770], r15
mov dword [0x180098698], 2
call fcn.1800243b0
cmp dword [rax], r15d
je 0x1800227af
cmp byte [rdi + 0x69], r15b
je 0x1800227af
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x1800227af
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 0x1800226f5
imul rax, rax, 0x64
jmp 0x180022713
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 [0x1800dadd8]
cmp rcx, qword [0x1800dade0]
jl 0x1800227af
mov qword [0x1800dadd8], rax
cmp byte [rdi + 0x68], r15b
je 0x180022789
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xffffffff
mov rax, qword [rsp + 0x50]
mov qword [0x180098770], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x180098780], rax
mov dword [0x1800986a8], r15d
mov qword [0x1800dabb8], r13
mov qword [0x180098778], rbp
mov qword [0x180098788], r15
mov dword [0x180098698], 4
call fcn.1800243b0
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 0x1800227af
mov r8, qword [rax]
mov edx, 2
mov rcx, rax
call qword [r8 + 0x20]
mov eax, dword [r14]
cmp dword [0x1800dade8], eax
jle 0x1800227ee
lea rcx, [0x1800dade8]
call fcn.18004f018
cmp dword [0x1800dade8], 0xffffffff
jne 0x1800227ee
lea rcx, [0x1800dadf0]
call fcn.180002f60
lea rcx, [0x1800dade8]
mov qword [0x1800dadf8], r15
call fcn.18004efb8
movsxd rax, dword [rdi + 0x78]
lea rbp, str.NAV_UP_DOWN
imul rcx, rax, 0xf4240
mov qword [0x1800dadf8], rcx
cmp byte [rdi + 0x12b], r15b
je 0x180022871
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180022871
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 0x18002283c
imul rax, rax, 0x64
jmp 0x18002285a
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 [0x1800dadf0]
cmp rcx, qword [0x1800dadf8]
jge 0x180022926
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xbc
mov rax, qword [rsp + 0x50]
mov qword [0x180098778], rax
mov dword [0x1800986a8], r15d
mov qword [0x1800dabb8], r12
mov qword [0x180098770], r15
mov dword [0x180098698], 2
call fcn.1800243b0
cmp dword [rax], r15d
je 0x1800229ab
cmp byte [rdi + 0x69], r15b
je 0x1800229ab
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x1800229ab
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 0x1800228f1
imul rax, rax, 0x64
jmp 0x18002290f
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 [0x1800dadf0]
cmp rcx, qword [0x1800dadf8]
jl 0x1800229ab
mov qword [0x1800dadf0], rax
cmp byte [rdi + 0x68], r15b
je 0x180022985
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xffffffff
mov rax, qword [rsp + 0x50]
mov qword [0x180098770], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x180098780], rax
mov dword [0x1800986a8], r15d
mov qword [0x1800dabb8], r13
mov qword [0x180098778], rbp
mov qword [0x180098788], r15
mov dword [0x180098698], 4
call fcn.1800243b0
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
mov rbx, qword [rsi]
mov rcx, rsi
test rax, rax
je 0x18002299e
call qword [rbx + 0x38]
jmp 0x1800229a1
call qword [rbx + 0x30]
lea rdx, [rax - 1]
mov rcx, rsi
call qword [rbx + 0x40]
mov eax, dword [r14]
cmp dword [0x1800dae00], eax
jle 0x1800229ea
lea rcx, [0x1800dae00]
call fcn.18004f018
cmp dword [0x1800dae00], 0xffffffff
jne 0x1800229ea
lea rcx, [0x1800dae08]
call fcn.180002f60
lea rcx, [0x1800dae00]
mov qword [0x1800dae10], r15
call fcn.18004efb8
movsxd rax, dword [rdi + 0x78]
imul rcx, rax, 0xf4240
mov qword [0x1800dae10], rcx
cmp byte [rdi + 0x12c], r15b
je 0x180022a66
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180022a66
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 0x180022a31
imul rax, rax, 0x64
jmp 0x180022a4f
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 [0x1800dae08]
cmp rcx, qword [0x1800dae10]
jge 0x180022b1b
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xbb
mov rax, qword [rsp + 0x50]
mov qword [0x180098778], rax
mov dword [0x1800986a8], r15d
mov qword [0x1800dabb8], r12
mov qword [0x180098770], r15
mov dword [0x180098698], 2
call fcn.1800243b0
cmp dword [rax], r15d
je 0x180022bac
cmp byte [rdi + 0x69], r15b
je 0x180022bac
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180022bac
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 0x180022ae6
imul rax, rax, 0x64
jmp 0x180022b04
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 [0x1800dae08]
cmp rcx, qword [0x1800dae10]
jl 0x180022bac
mov qword [0x1800dae08], rax
cmp byte [rdi + 0x68], r15b
je 0x180022b7a
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xffffffff
mov rax, qword [rsp + 0x50]
mov qword [0x180098770], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x180098780], rax
mov dword [0x1800986a8], r15d
mov qword [0x1800dabb8], r13
mov qword [0x180098778], rbp
mov qword [0x180098788], r15
mov dword [0x180098698], 4
call fcn.1800243b0
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 0x180022ba7
call qword [rbp + 0x38]
mov rcx, rsi
lea rdx, [rax + 1]
jmp 0x180022ba9
xor edx, edx
call qword [rbp + 0x40]
mov eax, dword [r14]
cmp dword [0x1800dae18], eax
jle 0x180022beb
lea rcx, [0x1800dae18]
call fcn.18004f018
cmp dword [0x1800dae18], 0xffffffff
jne 0x180022beb
lea rcx, [0x1800dae20]
call fcn.180002f60
lea rcx, [0x1800dae18]
mov qword [0x1800dae28], r15
call fcn.18004efb8
movsxd rax, dword [rdi + 0x7c]
lea rbp, str.NAV_LEFT_RIGHT
imul rcx, rax, 0xf4240
mov qword [0x1800dae28], rcx
cmp byte [rdi + 0x12d], r15b
je 0x180022c6e
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180022c6e
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 0x180022c39
imul rax, rax, 0x64
jmp 0x180022c57
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 [0x1800dae20]
cmp rcx, qword [0x1800dae28]
jge 0x180022d23
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xae
mov rax, qword [rsp + 0x50]
mov qword [0x180098778], rax
mov dword [0x1800986a8], r15d
mov qword [0x1800dabb8], r12
mov qword [0x180098770], r15
mov dword [0x180098698], 2
call fcn.1800243b0
cmp dword [rax], r15d
je 0x180022da5
cmp byte [rdi + 0x69], r15b
je 0x180022da5
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180022da5
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 0x180022cee
imul rax, rax, 0x64
jmp 0x180022d0c
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 [0x1800dae20]
cmp rcx, qword [0x1800dae28]
jl 0x180022da5
mov qword [0x1800dae20], rax
cmp byte [rdi + 0x68], r15b
je 0x180022d82
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xffffffff
mov rax, qword [rsp + 0x50]
mov qword [0x180098770], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x180098780], rax
mov dword [0x1800986a8], r15d
mov qword [0x1800dabb8], r13
mov qword [0x180098778], rbp
mov qword [0x180098788], r15
mov dword [0x180098698], 4
call fcn.1800243b0
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 0x180022da5
mov r8, qword [rax]
xor edx, edx
mov rcx, rax
call qword [r8 + 0x20]
mov eax, dword [r14]
cmp dword [0x1800dae30], eax
jle 0x180022de4
lea rcx, [0x1800dae30]
call fcn.18004f018
cmp dword [0x1800dae30], 0xffffffff
jne 0x180022de4
lea rcx, [0x1800dae38]
call fcn.180002f60
lea rcx, [0x1800dae30]
mov qword [0x1800dae40], r15
call fcn.18004efb8
movsxd rax, dword [rdi + 0x7c]
imul rcx, rax, 0xf4240
mov qword [0x1800dae40], rcx
cmp byte [rdi + 0x12e], r15b
je 0x180022e60
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180022e60
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 0x180022e2b
imul rax, rax, 0x64
jmp 0x180022e49
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 [0x1800dae38]
cmp rcx, qword [0x1800dae40]
jge 0x180022f15
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xaf
mov rax, qword [rsp + 0x50]
mov qword [0x180098778], rax
mov dword [0x1800986a8], r15d
mov qword [0x1800dabb8], r12
mov qword [0x180098770], r15
mov dword [0x180098698], 2
call fcn.1800243b0
cmp dword [rax], r15d
je 0x180022f9a
cmp byte [rdi + 0x69], r15b
je 0x180022f9a
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180022f9a
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 0x180022ee0
imul rax, rax, 0x64
jmp 0x180022efe
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 [0x1800dae38]
cmp rcx, qword [0x1800dae40]
jl 0x180022f9a
mov qword [0x1800dae38], rax
cmp byte [rdi + 0x68], r15b
je 0x180022f74
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], 0xffffffff
mov rax, qword [rsp + 0x50]
mov qword [0x180098770], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x180098780], rax
mov dword [0x1800986a8], r15d
mov qword [0x1800dabb8], r13
mov qword [0x180098778], rbp
mov qword [0x180098788], r15
mov dword [0x180098698], 4
call fcn.1800243b0
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 0x180022f9a
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