Function at 0x18002ff70
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 0x18003035a
cmp byte [rcx + 0x69], r12b
je 0x18003035a
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 [0x1801195a0], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1801195b0], rax
mov dword [0x1801194d8], r12d
mov qword [0x180141108], rbx
mov qword [0x1801195a8], r12
mov dword [0x1801194c8], 3
call fcn.180032480
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1801195a0], rax
mov dword [rbp + 0x30], 0x13
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1801195a8], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1801195b0], rax
mov dword [0x1801194d8], r12d
mov qword [0x180141108], rbx
mov dword [0x1801194c8], 3
call fcn.180032480
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1801195a0], rax
mov dword [rbp + 0x30], 0x8c
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1801195a8], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1801195b0], rax
mov dword [0x1801194d8], r12d
mov qword [0x180141108], rbx
mov dword [0x1801194c8], 3
call fcn.180032480
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1801195a0], rax
mov dword [rbp + 0x30], 0x14
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1801195a8], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1801195b0], rax
mov dword [0x1801194d8], r12d
mov qword [0x180141108], rbx
mov dword [0x1801194c8], 3
call fcn.180032480
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1801195a0], rax
mov dword [rbp + 0x30], 0x1b
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1801195a8], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1801195b0], rax
mov dword [0x1801194d8], r12d
mov qword [0x180141108], rbx
mov dword [0x1801194c8], 3
call fcn.180032480
mov dword [0x1801194d8], r12d
mov qword [0x180141108], rbx
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1801195a0], rax
mov dword [rbp + 0x30], 0x50
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1801195a8], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1801195b0], rax
mov dword [0x1801194c8], 3
call fcn.180032480
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1801195a0], rax
mov dword [rbp + 0x30], 0x151
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1801195a8], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1801195b0], rax
mov dword [0x1801194d8], r12d
mov qword [0x180141108], rbx
mov dword [0x1801194c8], 3
call fcn.180032480
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1801195a0], rax
mov dword [rbp + 0x30], 0x1b
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1801195a8], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1801195b0], rax
mov dword [0x1801194d8], r12d
mov qword [0x180141108], rbx
mov dword [0x1801194c8], 3
call fcn.180032480
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1801195a0], rax
mov dword [rbp + 0x30], 0x55
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1801195a8], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1801195b0], rax
mov dword [0x1801194d8], r12d
mov qword [0x180141108], rbx
mov dword [0x1801194c8], 3
call fcn.180032480
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1801195a0], rax
mov dword [rbp + 0x30], 0x4a
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1801195a8], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1801195b0], rax
mov dword [0x1801194d8], r12d
mov qword [0x180141108], rbx
mov dword [0x1801194c8], 3
call fcn.180032480
mov rax, qword gs:[0x58]
mov ecx, dword [0x18013e474]
mov edx, 4
mov r15, qword [rax + rcx*8]
add r15, rdx
mov eax, dword [r15]
cmp dword [0x1801417e0], eax
jle 0x1800303ad
lea rcx, [0x1801417e0]
call fcn.1800a97a8
cmp dword [0x1801417e0], 0xffffffff
jne 0x1800303ad
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [0x1801417e0]
mov dword [0x1801417e4], eax
call fcn.1800a973c
lea rbx, str.BACK
movabs r14, 0x67c540aa08e4a6f5
lea rsi, str.HUD_FRONTEND_DEFAULT_SOUNDSET
movabs r13, 0xe2587f8cbbd87b1d
cmp byte [rdi + 0x150], r12b
je 0x1800303ed
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1801417e4]
cmp eax, dword [rdi + 0x6c]
jae 0x18003048e
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xe3
mov rax, qword [rbp + 0x30]
mov qword [0x1801195a8], rax
mov dword [0x1801194d8], r12d
mov qword [0x180141108], r13
mov qword [0x1801195a0], r12
mov dword [0x1801194c8], 2
call fcn.180032480
cmp dword [rax], r12d
je 0x180030502
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xaf
mov rax, qword [rbp + 0x30]
mov qword [0x1801195a8], rax
mov dword [0x1801194d8], r12d
mov qword [0x180141108], r13
mov qword [0x1801195a0], r12
mov dword [0x1801194c8], 2
call fcn.180032480
cmp dword [rax], r12d
je 0x180030502
cmp byte [rdi + 0x69], r12b
je 0x180030502
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1801417e4]
cmp eax, dword [rdi + 0x6c]
jb 0x180030502
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movzx ecx, byte [rdi + 0x50]
xor cl, 1
mov dword [0x1801417e4], eax
mov byte [rdi + 0x50], cl
cmp byte [rdi + 0x68], r12b
je 0x180030502
test cl, cl
mov qword [rbp + 0x30], r12
lea rcx, str.SELECT
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x1801195a0], rax
mov rax, rbx
cmovne rax, rcx
mov dword [0x1801194d8], r12d
mov qword [0x1801195a8], rax
mov qword [0x180141108], r14
mov qword [0x1801195b0], rsi
mov qword [0x1801195b8], r12
mov dword [0x1801194c8], 4
call fcn.180032480
mov eax, dword [r15]
cmp dword [0x1801417e8], eax
jle 0x180030541
lea rcx, [0x1801417e8]
call fcn.1800a97a8
cmp dword [0x1801417e8], 0xffffffff
jne 0x180030541
lea rcx, [0x1801417f0]
call fcn.180002d30
lea rcx, [0x1801417e8]
mov qword [0x1801417f8], r12
call fcn.1800a973c
movsxd rax, dword [rdi + 0x70]
imul rcx, rax, 0xf4240
mov qword [0x1801417f8], rcx
cmp byte [rdi + 0x50], r12b
je 0x180030eb7
cmp byte [rdi + 0x151], r12b
je 0x180030586
lea rcx, [rbp + 0x30]
call fcn.180002d30
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x1801417f0]
cmp rcx, qword [0x1801417f8]
jge 0x1800305fd
cmp byte [rdi + 0x50], r12b
je 0x180030eb7
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xca
mov rax, qword [rbp + 0x30]
mov qword [0x1801195a8], rax
mov dword [0x1801194d8], r12d
mov qword [0x180141108], r13
mov qword [0x1801195a0], r12
mov dword [0x1801194c8], 2
call fcn.180032480
cmp dword [rax], r12d
je 0x180030678
cmp byte [rdi + 0x69], r12b
je 0x180030678
lea rcx, [rbp + 0x30]
call fcn.180002d30
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x1801417f0]
cmp rcx, qword [0x1801417f8]
jl 0x180030678
mov qword [0x1801417f0], rax
cmp byte [rdi + 0x68], r12b
je 0x180030652
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x1801195a0], rax
mov dword [0x1801194d8], r12d
mov qword [0x180141108], r14
mov qword [0x1801195a8], rbx
mov qword [0x1801195b0], rsi
mov qword [0x1801195b8], r12
mov dword [0x1801194c8], 4
call fcn.180032480
mov rax, qword [rdi + 0x180]
sub rax, qword [rdi + 0x178]
sar rax, 3
cmp rax, 1
ja 0x180030670
mov byte [rdi + 0x50], r12b
jmp 0x180030678
add qword [rdi + 0x180], 0xfffffffffffffff8
cmp byte [rdi + 0x50], r12b
je 0x180030eb7
mov rax, qword [rdi + 0x180]
cmp qword [rdi + 0x178], rax
je 0x180030eb7
mov rsi, qword [rax - 8]
mov eax, dword [r15]
cmp dword [0x180141800], eax
jle 0x1800306d9
lea rcx, [0x180141800]
call fcn.1800a97a8
cmp dword [0x180141800], 0xffffffff
jne 0x1800306d9
lea rcx, [0x180141808]
call fcn.180002d30
lea rcx, [0x180141800]
mov qword [0x180141810], r12
call fcn.1800a973c
movsxd rax, dword [rdi + 0x74]
imul rcx, rax, 0xf4240
mov qword [0x180141810], rcx
cmp byte [rdi + 0x152], r12b
je 0x180030726
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180030726
lea rcx, [rbp + 0x30]
call fcn.180002d30
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x180141808]
cmp rcx, qword [0x180141810]
jge 0x1800307a9
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xc9
mov rax, qword [rbp + 0x30]
mov qword [0x1801195a8], rax
mov dword [0x1801194d8], r12d
mov qword [0x180141108], r13
mov qword [0x1801195a0], r12
mov dword [0x1801194c8], 2
call fcn.180032480
cmp dword [rax], r12d
je 0x180030832
cmp byte [rdi + 0x69], r12b
je 0x180030832
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180030832
lea rcx, [rbp + 0x30]
call fcn.180002d30
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x180141808]
cmp rcx, qword [0x180141810]
jl 0x180030832
mov qword [0x180141808], rax
cmp byte [rdi + 0x68], r12b
je 0x18003080c
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x1801195a0], rax
lea rax, str.SELECT
mov qword [0x1801195a8], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x1801195b0], rax
mov dword [0x1801194d8], r12d
mov qword [0x180141108], r14
mov qword [0x1801195b8], r12
mov dword [0x1801194c8], 4
call fcn.180032480
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 0x180030832
mov r8, qword [rax]
mov edx, 2
mov rcx, rax
call qword [r8 + 0x20]
mov eax, dword [r15]
cmp dword [0x180141818], eax
jle 0x180030871
lea rcx, [0x180141818]
call fcn.1800a97a8
cmp dword [0x180141818], 0xffffffff
jne 0x180030871
lea rcx, [0x180141820]
call fcn.180002d30
lea rcx, [0x180141818]
mov qword [0x180141828], r12
call fcn.1800a973c
movsxd rax, dword [rdi + 0x78]
lea r14, str.NAV_UP_DOWN
imul rcx, rax, 0xf4240
mov qword [0x180141828], rcx
cmp byte [rdi + 0x153], r12b
je 0x1800308c5
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x1800308c5
lea rcx, [rbp + 0x30]
call fcn.180002d30
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x180141820]
cmp rcx, qword [0x180141828]
jge 0x180030948
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xbc
mov rax, qword [rbp + 0x30]
mov qword [0x1801195a8], rax
mov dword [0x1801194d8], r12d
mov qword [0x180141108], r13
mov qword [0x1801195a0], r12
mov dword [0x1801194c8], 2
call fcn.180032480
cmp dword [rax], r12d
je 0x1800309d4
cmp byte [rdi + 0x69], r12b
je 0x1800309d4
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x1800309d4
lea rcx, [rbp + 0x30]
call fcn.180002d30
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x180141820]
cmp rcx, qword [0x180141828]
jl 0x1800309d4
mov qword [0x180141820], rax
cmp byte [rdi + 0x68], r12b
je 0x1800309ae
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x180141108], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x1801195a0], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x1801195b0], rax
mov dword [0x1801194d8], r12d
mov qword [0x1801195a8], r14
mov qword [0x1801195b8], r12
mov dword [0x1801194c8], 4
call fcn.180032480
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
mov rbx, qword [rsi]
mov rcx, rsi
test rax, rax
je 0x1800309c7
call qword [rbx + 0x38]
jmp 0x1800309ca
call qword [rbx + 0x30]
lea rdx, [rax - 1]
mov rcx, rsi
call qword [rbx + 0x40]
mov eax, dword [r15]
cmp dword [0x180141830], eax
jle 0x180030a13
lea rcx, [0x180141830]
call fcn.1800a97a8
cmp dword [0x180141830], 0xffffffff
jne 0x180030a13
lea rcx, [0x180141838]
call fcn.180002d30
lea rcx, [0x180141830]
mov qword [0x180141840], r12
call fcn.1800a973c
movsxd rax, dword [rdi + 0x78]
imul rcx, rax, 0xf4240
mov qword [0x180141840], rcx
cmp byte [rdi + 0x154], r12b
je 0x180030a60
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180030a60
lea rcx, [rbp + 0x30]
call fcn.180002d30
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x180141838]
cmp rcx, qword [0x180141840]
jge 0x180030ae3
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xbb
mov rax, qword [rbp + 0x30]
mov qword [0x1801195a8], rax
mov dword [0x1801194d8], r12d
mov qword [0x180141108], r13
mov qword [0x1801195a0], r12
mov dword [0x1801194c8], 2
call fcn.180032480
cmp dword [rax], r12d
je 0x180030b7d
cmp byte [rdi + 0x69], r12b
je 0x180030b7d
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180030b7d
lea rcx, [rbp + 0x30]
call fcn.180002d30
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x180141838]
cmp rcx, qword [0x180141840]
jl 0x180030b7d
mov qword [0x180141838], rax
cmp byte [rdi + 0x68], r12b
je 0x180030b49
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x180141108], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x1801195a0], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x1801195b0], rax
mov dword [0x1801194d8], r12d
mov qword [0x1801195a8], r14
mov qword [0x1801195b8], r12
mov dword [0x1801194c8], 4
call fcn.180032480
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 0x180030b77
call qword [r14 + 0x38]
mov rcx, rsi
lea rdx, [rax + 1]
jmp 0x180030b79
xor edx, edx
call qword [r14 + 0x40]
mov eax, dword [r15]
cmp dword [0x180141848], eax
jle 0x180030bbc
lea rcx, [0x180141848]
call fcn.1800a97a8
cmp dword [0x180141848], 0xffffffff
jne 0x180030bbc
lea rcx, [0x180141850]
call fcn.180002d30
lea rcx, [0x180141848]
mov qword [0x180141858], r12
call fcn.1800a973c
movsxd rax, dword [rdi + 0x7c]
lea r14, str.NAV_LEFT_RIGHT
imul rcx, rax, 0xf4240
mov qword [0x180141858], rcx
cmp byte [rdi + 0x155], r12b
je 0x180030c10
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180030c10
lea rcx, [rbp + 0x30]
call fcn.180002d30
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x180141850]
cmp rcx, qword [0x180141858]
jge 0x180030c93
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xae
mov rax, qword [rbp + 0x30]
mov qword [0x1801195a8], rax
mov dword [0x1801194d8], r12d
mov qword [0x180141108], r13
mov qword [0x1801195a0], r12
mov dword [0x1801194c8], 2
call fcn.180032480
cmp dword [rax], r12d
je 0x180030d1c
cmp byte [rdi + 0x69], r12b
je 0x180030d1c
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180030d1c
lea rcx, [rbp + 0x30]
call fcn.180002d30
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x180141850]
cmp rcx, qword [0x180141858]
jl 0x180030d1c
mov qword [0x180141850], rax
cmp byte [rdi + 0x68], r12b
je 0x180030cf9
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x180141108], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x1801195a0], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x1801195b0], rax
mov dword [0x1801194d8], r12d
mov qword [0x1801195a8], r14
mov qword [0x1801195b8], r12
mov dword [0x1801194c8], 4
call fcn.180032480
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 0x180030d1c
mov r8, qword [rax]
xor edx, edx
mov rcx, rax
call qword [r8 + 0x20]
mov eax, dword [r15]
cmp dword [0x180141860], eax
jle 0x180030d5b
lea rcx, [0x180141860]
call fcn.1800a97a8
cmp dword [0x180141860], 0xffffffff
jne 0x180030d5b
lea rcx, [0x180141868]
call fcn.180002d30
lea rcx, [0x180141860]
mov qword [0x180141870], r12
call fcn.1800a973c
movsxd rax, dword [rdi + 0x7c]
imul rcx, rax, 0xf4240
mov qword [0x180141870], rcx
cmp byte [rdi + 0x156], r12b
je 0x180030da8
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180030da8
lea rcx, [rbp + 0x30]
call fcn.180002d30
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x180141868]
cmp rcx, qword [0x180141870]
jge 0x180030e2b
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xaf
mov rax, qword [rbp + 0x30]
mov qword [0x1801195a8], rax
mov dword [0x1801194d8], r12d
mov qword [0x180141108], r13
mov qword [0x1801195a0], r12
mov dword [0x1801194c8], 2
call fcn.180032480
cmp dword [rax], r12d
je 0x180030eb7
cmp byte [rdi + 0x69], r12b
je 0x180030eb7
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180030eb7
lea rcx, [rbp + 0x30]
call fcn.180002d30
mov rax, qword [rbp + 0x30]
mov rcx, rax
sub rcx, qword [0x180141868]
cmp rcx, qword [0x180141870]
jl 0x180030eb7
mov qword [0x180141868], rax
cmp byte [rdi + 0x68], r12b
je 0x180030e91
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x180141108], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x1801195a0], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x1801195b0], rax
mov dword [0x1801194d8], r12d
mov qword [0x1801195a8], r14
mov qword [0x1801195b8], r12
mov dword [0x1801194c8], 4
call fcn.180032480
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 0x180030eb7
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