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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
xor r12d, r12d
mov rdi, rcx
cmp byte [rcx + 0x50], r12b
je 0x18002af6a
cmp byte [rcx + 0x69], r12b
je 0x18002af6a
mov qword [rbp + 0x30], r12
movabs rbx, 0xfe99b66d079cf6bc
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011b950], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18011b960], rax
mov dword [0x18011b888], r12d
mov qword [0x180178278], rbx
mov qword [0x18011b958], r12
mov dword [0x18011b878], 3
call fcn.18002d5f0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011b950], rax
mov dword [rbp + 0x30], 0x13
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011b958], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18011b960], rax
mov dword [0x18011b888], r12d
mov qword [0x180178278], rbx
mov dword [0x18011b878], 3
call fcn.18002d5f0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011b950], rax
mov dword [rbp + 0x30], 0x8c
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011b958], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18011b960], rax
mov dword [0x18011b888], r12d
mov qword [0x180178278], rbx
mov dword [0x18011b878], 3
call fcn.18002d5f0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011b950], rax
mov dword [rbp + 0x30], 0x14
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011b958], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18011b960], rax
mov dword [0x18011b888], r12d
mov qword [0x180178278], rbx
mov dword [0x18011b878], 3
call fcn.18002d5f0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011b950], rax
mov dword [rbp + 0x30], 0x1b
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011b958], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18011b960], rax
mov dword [0x18011b888], r12d
mov qword [0x180178278], rbx
mov dword [0x18011b878], 3
call fcn.18002d5f0
mov dword [0x18011b888], r12d
mov qword [0x180178278], rbx
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011b950], rax
mov dword [rbp + 0x30], 0x50
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011b958], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18011b960], rax
mov dword [0x18011b878], 3
call fcn.18002d5f0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011b950], rax
mov dword [rbp + 0x30], 0x151
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011b958], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18011b960], rax
mov dword [0x18011b888], r12d
mov qword [0x180178278], rbx
mov dword [0x18011b878], 3
call fcn.18002d5f0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011b950], rax
mov dword [rbp + 0x30], 0x1b
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011b958], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18011b960], rax
mov dword [0x18011b888], r12d
mov qword [0x180178278], rbx
mov dword [0x18011b878], 3
call fcn.18002d5f0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011b950], rax
mov dword [rbp + 0x30], 0x55
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011b958], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18011b960], rax
mov dword [0x18011b888], r12d
mov qword [0x180178278], rbx
mov dword [0x18011b878], 3
call fcn.18002d5f0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011b950], rax
mov dword [rbp + 0x30], 0x4a
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011b958], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18011b960], rax
mov dword [0x18011b888], r12d
mov qword [0x180178278], rbx
mov dword [0x18011b878], 3
call fcn.18002d5f0
mov rax, qword gs:[0x58]
mov ecx, dword [0x180175064]
mov edx, 4
mov r15, qword [rax + rcx*8]
add r15, rdx
mov eax, dword [r15]
cmp dword [0x1801789a0], eax
jle 0x18002afbd
lea rcx, [0x1801789a0]
call fcn.1800aa558
cmp dword [0x1801789a0], 0xffffffff
jne 0x18002afbd
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [0x1801789a0]
mov dword [0x1801789a4], eax
call fcn.1800aa4ec
lea rbx, str.BACK
movabs r14, 0x67c540aa08e4a6f5
lea rsi, str.HUD_FRONTEND_DEFAULT_SOUNDSET
movabs r13, 0xe2587f8cbbd87b1d
cmp byte [rdi + 0x170], r12b
je 0x18002affd
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1801789a4]
cmp eax, dword [rdi + 0x6c]
jae 0x18002b09e
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xe3
mov rax, qword [rbp + 0x30]
mov qword [0x18011b958], rax
mov dword [0x18011b888], r12d
mov qword [0x180178278], r13
mov qword [0x18011b950], r12
mov dword [0x18011b878], 2
call fcn.18002d5f0
cmp dword [rax], r12d
je 0x18002b112
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xaf
mov rax, qword [rbp + 0x30]
mov qword [0x18011b958], rax
mov dword [0x18011b888], r12d
mov qword [0x180178278], r13
mov qword [0x18011b950], r12
mov dword [0x18011b878], 2
call fcn.18002d5f0
cmp dword [rax], r12d
je 0x18002b112
cmp byte [rdi + 0x69], r12b
je 0x18002b112
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1801789a4]
cmp eax, dword [rdi + 0x6c]
jb 0x18002b112
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movzx ecx, byte [rdi + 0x50]
xor cl, 1
mov dword [0x1801789a4], eax
mov byte [rdi + 0x50], cl
cmp byte [rdi + 0x68], r12b
je 0x18002b112
test cl, cl
mov qword [rbp + 0x30], r12
lea rcx, str.SELECT
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x18011b950], rax
mov rax, rbx
cmovne rax, rcx
mov dword [0x18011b888], r12d
mov qword [0x18011b958], rax
mov qword [0x180178278], r14
mov qword [0x18011b960], rsi
mov qword [0x18011b968], r12
mov dword [0x18011b878], 4
call fcn.18002d5f0
mov eax, dword [r15]
cmp dword [0x1801789a8], eax
jle 0x18002b151
lea rcx, [0x1801789a8]
call fcn.1800aa558
cmp dword [0x1801789a8], 0xffffffff
jne 0x18002b151
lea rcx, [0x1801789b0]
call fcn.180002ef0
lea rcx, [0x1801789a8]
mov qword [0x1801789b8], r12
call fcn.1800aa4ec
movsxd rax, dword [rdi + 0x70]
imul rcx, rax, 0xf4240
mov qword [0x1801789b8], rcx
cmp byte [rdi + 0x50], r12b
je 0x18002bac7
cmp byte [rdi + 0x171], r12b
je 0x18002b196
lea rcx, [rbp + 0x30]
call fcn.180002ef0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1801789b0]
cmp rax, qword [0x1801789b8]
jge 0x18002b20d
cmp byte [rdi + 0x50], r12b
je 0x18002bac7
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xca
mov rax, qword [rbp + 0x30]
mov qword [0x18011b958], rax
mov dword [0x18011b888], r12d
mov qword [0x180178278], r13
mov qword [0x18011b950], r12
mov dword [0x18011b878], 2
call fcn.18002d5f0
cmp dword [rax], r12d
je 0x18002b288
cmp byte [rdi + 0x69], r12b
je 0x18002b288
lea rcx, [rbp + 0x30]
call fcn.180002ef0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1801789b0]
cmp rax, qword [0x1801789b8]
jl 0x18002b288
mov qword [0x1801789b0], rcx
cmp byte [rdi + 0x68], r12b
je 0x18002b262
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x18011b950], rax
mov dword [0x18011b888], r12d
mov qword [0x180178278], r14
mov qword [0x18011b958], rbx
mov qword [0x18011b960], rsi
mov qword [0x18011b968], r12
mov dword [0x18011b878], 4
call fcn.18002d5f0
mov rax, qword [rdi + 0x1a0]
sub rax, qword [rdi + 0x198]
sar rax, 3
cmp rax, 1
ja 0x18002b280
mov byte [rdi + 0x50], r12b
jmp 0x18002b288
add qword [rdi + 0x1a0], 0xfffffffffffffff8
cmp byte [rdi + 0x50], r12b
je 0x18002bac7
mov rax, qword [rdi + 0x1a0]
cmp qword [rdi + 0x198], rax
je 0x18002bac7
mov rsi, qword [rax - 8]
mov eax, dword [r15]
cmp dword [0x1801789c0], eax
jle 0x18002b2e9
lea rcx, [0x1801789c0]
call fcn.1800aa558
cmp dword [0x1801789c0], 0xffffffff
jne 0x18002b2e9
lea rcx, [0x1801789c8]
call fcn.180002ef0
lea rcx, [0x1801789c0]
mov qword [0x1801789d0], r12
call fcn.1800aa4ec
movsxd rax, dword [rdi + 0x74]
imul rcx, rax, 0xf4240
mov qword [0x1801789d0], rcx
cmp byte [rdi + 0x172], r12b
je 0x18002b336
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002b336
lea rcx, [rbp + 0x30]
call fcn.180002ef0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1801789c8]
cmp rax, qword [0x1801789d0]
jge 0x18002b3b9
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xc9
mov rax, qword [rbp + 0x30]
mov qword [0x18011b958], rax
mov dword [0x18011b888], r12d
mov qword [0x180178278], r13
mov qword [0x18011b950], r12
mov dword [0x18011b878], 2
call fcn.18002d5f0
cmp dword [rax], r12d
je 0x18002b442
cmp byte [rdi + 0x69], r12b
je 0x18002b442
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002b442
lea rcx, [rbp + 0x30]
call fcn.180002ef0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1801789c8]
cmp rax, qword [0x1801789d0]
jl 0x18002b442
mov qword [0x1801789c8], rcx
cmp byte [rdi + 0x68], r12b
je 0x18002b41c
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x18011b950], rax
lea rax, str.SELECT
mov qword [0x18011b958], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x18011b960], rax
mov dword [0x18011b888], r12d
mov qword [0x180178278], r14
mov qword [0x18011b968], r12
mov dword [0x18011b878], 4
call fcn.18002d5f0
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 0x18002b442
mov r8, qword [rax]
mov edx, 2
mov rcx, rax
call qword [r8 + 0x20]
mov eax, dword [r15]
cmp dword [0x1801789d8], eax
jle 0x18002b481
lea rcx, [0x1801789d8]
call fcn.1800aa558
cmp dword [0x1801789d8], 0xffffffff
jne 0x18002b481
lea rcx, [0x1801789e0]
call fcn.180002ef0
lea rcx, [0x1801789d8]
mov qword [0x1801789e8], r12
call fcn.1800aa4ec
movsxd rax, dword [rdi + 0x78]
lea r14, str.NAV_UP_DOWN
imul rcx, rax, 0xf4240
mov qword [0x1801789e8], rcx
cmp byte [rdi + 0x173], r12b
je 0x18002b4d5
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002b4d5
lea rcx, [rbp + 0x30]
call fcn.180002ef0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1801789e0]
cmp rax, qword [0x1801789e8]
jge 0x18002b558
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xbc
mov rax, qword [rbp + 0x30]
mov qword [0x18011b958], rax
mov dword [0x18011b888], r12d
mov qword [0x180178278], r13
mov qword [0x18011b950], r12
mov dword [0x18011b878], 2
call fcn.18002d5f0
cmp dword [rax], r12d
je 0x18002b5e4
cmp byte [rdi + 0x69], r12b
je 0x18002b5e4
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002b5e4
lea rcx, [rbp + 0x30]
call fcn.180002ef0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1801789e0]
cmp rax, qword [0x1801789e8]
jl 0x18002b5e4
mov qword [0x1801789e0], rcx
cmp byte [rdi + 0x68], r12b
je 0x18002b5be
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x180178278], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x18011b950], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x18011b960], rax
mov dword [0x18011b888], r12d
mov qword [0x18011b958], r14
mov qword [0x18011b968], r12
mov dword [0x18011b878], 4
call fcn.18002d5f0
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
mov rbx, qword [rsi]
mov rcx, rsi
test rax, rax
je 0x18002b5d7
call qword [rbx + 0x38]
jmp 0x18002b5da
call qword [rbx + 0x30]
lea rdx, [rax - 1]
mov rcx, rsi
call qword [rbx + 0x40]
mov eax, dword [r15]
cmp dword [0x1801789f0], eax
jle 0x18002b623
lea rcx, [0x1801789f0]
call fcn.1800aa558
cmp dword [0x1801789f0], 0xffffffff
jne 0x18002b623
lea rcx, [0x1801789f8]
call fcn.180002ef0
lea rcx, [0x1801789f0]
mov qword [0x180178a00], r12
call fcn.1800aa4ec
movsxd rax, dword [rdi + 0x78]
imul rcx, rax, 0xf4240
mov qword [0x180178a00], rcx
cmp byte [rdi + 0x174], r12b
je 0x18002b670
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002b670
lea rcx, [rbp + 0x30]
call fcn.180002ef0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1801789f8]
cmp rax, qword [0x180178a00]
jge 0x18002b6f3
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xbb
mov rax, qword [rbp + 0x30]
mov qword [0x18011b958], rax
mov dword [0x18011b888], r12d
mov qword [0x180178278], r13
mov qword [0x18011b950], r12
mov dword [0x18011b878], 2
call fcn.18002d5f0
cmp dword [rax], r12d
je 0x18002b78d
cmp byte [rdi + 0x69], r12b
je 0x18002b78d
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002b78d
lea rcx, [rbp + 0x30]
call fcn.180002ef0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1801789f8]
cmp rax, qword [0x180178a00]
jl 0x18002b78d
mov qword [0x1801789f8], rcx
cmp byte [rdi + 0x68], r12b
je 0x18002b759
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x180178278], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x18011b950], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x18011b960], rax
mov dword [0x18011b888], r12d
mov qword [0x18011b958], r14
mov qword [0x18011b968], r12
mov dword [0x18011b878], 4
call fcn.18002d5f0
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 r14, qword [rsi]
mov rcx, rsi
cmp rax, rbx
jae 0x18002b787
call qword [r14 + 0x38]
mov rcx, rsi
lea rdx, [rax + 1]
jmp 0x18002b789
xor edx, edx
call qword [r14 + 0x40]
mov eax, dword [r15]
cmp dword [0x180178a08], eax
jle 0x18002b7cc
lea rcx, [0x180178a08]
call fcn.1800aa558
cmp dword [0x180178a08], 0xffffffff
jne 0x18002b7cc
lea rcx, [0x180178a10]
call fcn.180002ef0
lea rcx, [0x180178a08]
mov qword [0x180178a18], r12
call fcn.1800aa4ec
movsxd rax, dword [rdi + 0x7c]
lea r14, str.NAV_LEFT_RIGHT
imul rcx, rax, 0xf4240
mov qword [0x180178a18], rcx
cmp byte [rdi + 0x175], r12b
je 0x18002b820
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002b820
lea rcx, [rbp + 0x30]
call fcn.180002ef0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180178a10]
cmp rax, qword [0x180178a18]
jge 0x18002b8a3
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xae
mov rax, qword [rbp + 0x30]
mov qword [0x18011b958], rax
mov dword [0x18011b888], r12d
mov qword [0x180178278], r13
mov qword [0x18011b950], r12
mov dword [0x18011b878], 2
call fcn.18002d5f0
cmp dword [rax], r12d
je 0x18002b92c
cmp byte [rdi + 0x69], r12b
je 0x18002b92c
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002b92c
lea rcx, [rbp + 0x30]
call fcn.180002ef0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180178a10]
cmp rax, qword [0x180178a18]
jl 0x18002b92c
mov qword [0x180178a10], rcx
cmp byte [rdi + 0x68], r12b
je 0x18002b909
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x180178278], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x18011b950], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x18011b960], rax
mov dword [0x18011b888], r12d
mov qword [0x18011b958], r14
mov qword [0x18011b968], r12
mov dword [0x18011b878], 4
call fcn.18002d5f0
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 0x18002b92c
mov r8, qword [rax]
xor edx, edx
mov rcx, rax
call qword [r8 + 0x20]
mov eax, dword [r15]
cmp dword [0x180178a20], eax
jle 0x18002b96b
lea rcx, [0x180178a20]
call fcn.1800aa558
cmp dword [0x180178a20], 0xffffffff
jne 0x18002b96b
lea rcx, [0x180178a28]
call fcn.180002ef0
lea rcx, [0x180178a20]
mov qword [0x180178a30], r12
call fcn.1800aa4ec
movsxd rax, dword [rdi + 0x7c]
imul rcx, rax, 0xf4240
mov qword [0x180178a30], rcx
cmp byte [rdi + 0x176], r12b
je 0x18002b9b8
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002b9b8
lea rcx, [rbp + 0x30]
call fcn.180002ef0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180178a28]
cmp rax, qword [0x180178a30]
jge 0x18002ba3b
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xaf
mov rax, qword [rbp + 0x30]
mov qword [0x18011b958], rax
mov dword [0x18011b888], r12d
mov qword [0x180178278], r13
mov qword [0x18011b950], r12
mov dword [0x18011b878], 2
call fcn.18002d5f0
cmp dword [rax], r12d
je 0x18002bac7
cmp byte [rdi + 0x69], r12b
je 0x18002bac7
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002bac7
lea rcx, [rbp + 0x30]
call fcn.180002ef0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180178a28]
cmp rax, qword [0x180178a30]
jl 0x18002bac7
mov qword [0x180178a28], rcx
cmp byte [rdi + 0x68], r12b
je 0x18002baa1
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x180178278], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x18011b950], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x18011b960], rax
mov dword [0x18011b888], r12d
mov qword [0x18011b958], r14
mov qword [0x18011b968], r12
mov dword [0x18011b878], 4
call fcn.18002d5f0
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 0x18002bac7
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8 + 0x20]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rbp
ret