Function at 0x18000f6b0
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 0x18000fa9a
cmp byte [rcx + 0x69], r12b
je 0x18000fa9a
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 [0x18004bc50], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18004bc60], rax
mov dword [0x18004bb88], r12d
mov qword [0x180050cf8], rbx
mov qword [0x18004bc58], r12
mov dword [0x18004bb78], 3
call fcn.180012130
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18004bc50], rax
mov dword [rbp + 0x30], 0x13
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18004bc58], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18004bc60], rax
mov dword [0x18004bb88], r12d
mov qword [0x180050cf8], rbx
mov dword [0x18004bb78], 3
call fcn.180012130
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18004bc50], rax
mov dword [rbp + 0x30], 0x8c
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18004bc58], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18004bc60], rax
mov dword [0x18004bb88], r12d
mov qword [0x180050cf8], rbx
mov dword [0x18004bb78], 3
call fcn.180012130
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18004bc50], rax
mov dword [rbp + 0x30], 0x14
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18004bc58], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18004bc60], rax
mov dword [0x18004bb88], r12d
mov qword [0x180050cf8], rbx
mov dword [0x18004bb78], 3
call fcn.180012130
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18004bc50], rax
mov dword [rbp + 0x30], 0x1b
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18004bc58], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18004bc60], rax
mov dword [0x18004bb88], r12d
mov qword [0x180050cf8], rbx
mov dword [0x18004bb78], 3
call fcn.180012130
mov dword [0x18004bb88], r12d
mov qword [0x180050cf8], rbx
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18004bc50], rax
mov dword [rbp + 0x30], 0x50
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18004bc58], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18004bc60], rax
mov dword [0x18004bb78], 3
call fcn.180012130
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18004bc50], rax
mov dword [rbp + 0x30], 0x151
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18004bc58], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18004bc60], rax
mov dword [0x18004bb88], r12d
mov qword [0x180050cf8], rbx
mov dword [0x18004bb78], 3
call fcn.180012130
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18004bc50], rax
mov dword [rbp + 0x30], 0x1b
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18004bc58], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18004bc60], rax
mov dword [0x18004bb88], r12d
mov qword [0x180050cf8], rbx
mov dword [0x18004bb78], 3
call fcn.180012130
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18004bc50], rax
mov dword [rbp + 0x30], 0x55
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18004bc58], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18004bc60], rax
mov dword [0x18004bb88], r12d
mov qword [0x180050cf8], rbx
mov dword [0x18004bb78], 3
call fcn.180012130
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18004bc50], rax
mov dword [rbp + 0x30], 0x4a
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18004bc58], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18004bc60], rax
mov dword [0x18004bb88], r12d
mov qword [0x180050cf8], rbx
mov dword [0x18004bb78], 3
call fcn.180012130
mov rax, qword gs:[0x58]
mov ecx, dword [0x18004f8e4]
mov edx, 4
mov r15, qword [rax + rcx*8]
add r15, rdx
mov eax, dword [r15]
cmp dword [0x180050ec0], eax
jle 0x18000faed
lea rcx, [0x180050ec0]
call fcn.180022fd4
cmp dword [0x180050ec0], 0xffffffff
jne 0x18000faed
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [0x180050ec0]
mov dword [0x180050ec4], eax
call fcn.180022f68
lea rbx, str.BACK
movabs r14, 0x67c540aa08e4a6f5
lea rsi, str.HUD_FRONTEND_DEFAULT_SOUNDSET
movabs r13, 0xe2587f8cbbd87b1d
cmp byte [rdi + 0x12c], r12b
je 0x18000fb2d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x180050ec4]
cmp eax, dword [rdi + 0x6c]
jae 0x18000fbce
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xe3
mov rax, qword [rbp + 0x30]
mov qword [0x18004bc58], rax
mov dword [0x18004bb88], r12d
mov qword [0x180050cf8], r13
mov qword [0x18004bc50], r12
mov dword [0x18004bb78], 2
call fcn.180012130
cmp dword [rax], r12d
je 0x18000fc42
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xaf
mov rax, qword [rbp + 0x30]
mov qword [0x18004bc58], rax
mov dword [0x18004bb88], r12d
mov qword [0x180050cf8], r13
mov qword [0x18004bc50], r12
mov dword [0x18004bb78], 2
call fcn.180012130
cmp dword [rax], r12d
je 0x18000fc42
cmp byte [rdi + 0x69], r12b
je 0x18000fc42
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x180050ec4]
cmp eax, dword [rdi + 0x6c]
jb 0x18000fc42
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movzx ecx, byte [rdi + 0x50]
xor cl, 1
mov dword [0x180050ec4], eax
mov byte [rdi + 0x50], cl
cmp byte [rdi + 0x68], r12b
je 0x18000fc42
test cl, cl
mov qword [rbp + 0x30], r12
lea rcx, str.SELECT
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x18004bc50], rax
mov rax, rbx
cmovne rax, rcx
mov dword [0x18004bb88], r12d
mov qword [0x18004bc58], rax
mov qword [0x180050cf8], r14
mov qword [0x18004bc60], rsi
mov qword [0x18004bc68], r12
mov dword [0x18004bb78], 4
call fcn.180012130
mov eax, dword [r15]
cmp dword [0x180050ec8], eax
jle 0x18000fc81
lea rcx, [0x180050ec8]
call fcn.180022fd4
cmp dword [0x180050ec8], 0xffffffff
jne 0x18000fc81
lea rcx, [0x180050ed0]
call fcn.180002890
lea rcx, [0x180050ec8]
mov qword [0x180050ed8], r12
call fcn.180022f68
movsxd rax, dword [rdi + 0x70]
imul rcx, rax, 0xf4240
mov qword [0x180050ed8], rcx
cmp byte [rdi + 0x50], r12b
je 0x1800105f7
cmp byte [rdi + 0x12d], r12b
je 0x18000fcc6
lea rcx, [rbp + 0x30]
call fcn.180002890
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180050ed0]
cmp rax, qword [0x180050ed8]
jge 0x18000fd3d
cmp byte [rdi + 0x50], r12b
je 0x1800105f7
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xca
mov rax, qword [rbp + 0x30]
mov qword [0x18004bc58], rax
mov dword [0x18004bb88], r12d
mov qword [0x180050cf8], r13
mov qword [0x18004bc50], r12
mov dword [0x18004bb78], 2
call fcn.180012130
cmp dword [rax], r12d
je 0x18000fdb8
cmp byte [rdi + 0x69], r12b
je 0x18000fdb8
lea rcx, [rbp + 0x30]
call fcn.180002890
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180050ed0]
cmp rax, qword [0x180050ed8]
jl 0x18000fdb8
mov qword [0x180050ed0], rcx
cmp byte [rdi + 0x68], r12b
je 0x18000fd92
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x18004bc50], rax
mov dword [0x18004bb88], r12d
mov qword [0x180050cf8], r14
mov qword [0x18004bc58], rbx
mov qword [0x18004bc60], rsi
mov qword [0x18004bc68], r12
mov dword [0x18004bb78], 4
call fcn.180012130
mov rax, qword [rdi + 0x158]
sub rax, qword [rdi + 0x150]
sar rax, 3
cmp rax, 1
ja 0x18000fdb0
mov byte [rdi + 0x50], r12b
jmp 0x18000fdb8
add qword [rdi + 0x158], 0xfffffffffffffff8
cmp byte [rdi + 0x50], r12b
je 0x1800105f7
mov rax, qword [rdi + 0x158]
cmp qword [rdi + 0x150], rax
je 0x1800105f7
mov rsi, qword [rax - 8]
mov eax, dword [r15]
cmp dword [0x180050ee0], eax
jle 0x18000fe19
lea rcx, [0x180050ee0]
call fcn.180022fd4
cmp dword [0x180050ee0], 0xffffffff
jne 0x18000fe19
lea rcx, [0x180050ee8]
call fcn.180002890
lea rcx, [0x180050ee0]
mov qword [0x180050ef0], r12
call fcn.180022f68
movsxd rax, dword [rdi + 0x74]
imul rcx, rax, 0xf4240
mov qword [0x180050ef0], rcx
cmp byte [rdi + 0x12e], r12b
je 0x18000fe66
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18000fe66
lea rcx, [rbp + 0x30]
call fcn.180002890
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180050ee8]
cmp rax, qword [0x180050ef0]
jge 0x18000fee9
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xc9
mov rax, qword [rbp + 0x30]
mov qword [0x18004bc58], rax
mov dword [0x18004bb88], r12d
mov qword [0x180050cf8], r13
mov qword [0x18004bc50], r12
mov dword [0x18004bb78], 2
call fcn.180012130
cmp dword [rax], r12d
je 0x18000ff72
cmp byte [rdi + 0x69], r12b
je 0x18000ff72
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18000ff72
lea rcx, [rbp + 0x30]
call fcn.180002890
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180050ee8]
cmp rax, qword [0x180050ef0]
jl 0x18000ff72
mov qword [0x180050ee8], rcx
cmp byte [rdi + 0x68], r12b
je 0x18000ff4c
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x18004bc50], rax
lea rax, str.SELECT
mov qword [0x18004bc58], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x18004bc60], rax
mov dword [0x18004bb88], r12d
mov qword [0x180050cf8], r14
mov qword [0x18004bc68], r12
mov dword [0x18004bb78], 4
call fcn.180012130
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 0x18000ff72
mov r8, qword [rax]
mov edx, 2
mov rcx, rax
call qword [r8 + 0x20]
mov eax, dword [r15]
cmp dword [0x180050ef8], eax
jle 0x18000ffb1
lea rcx, [0x180050ef8]
call fcn.180022fd4
cmp dword [0x180050ef8], 0xffffffff
jne 0x18000ffb1
lea rcx, [0x180050f00]
call fcn.180002890
lea rcx, [0x180050ef8]
mov qword [0x180050f08], r12
call fcn.180022f68
movsxd rax, dword [rdi + 0x78]
lea r14, str.NAV_UP_DOWN
imul rcx, rax, 0xf4240
mov qword [0x180050f08], rcx
cmp byte [rdi + 0x12f], r12b
je 0x180010005
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180010005
lea rcx, [rbp + 0x30]
call fcn.180002890
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180050f00]
cmp rax, qword [0x180050f08]
jge 0x180010088
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xbc
mov rax, qword [rbp + 0x30]
mov qword [0x18004bc58], rax
mov dword [0x18004bb88], r12d
mov qword [0x180050cf8], r13
mov qword [0x18004bc50], r12
mov dword [0x18004bb78], 2
call fcn.180012130
cmp dword [rax], r12d
je 0x180010114
cmp byte [rdi + 0x69], r12b
je 0x180010114
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180010114
lea rcx, [rbp + 0x30]
call fcn.180002890
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180050f00]
cmp rax, qword [0x180050f08]
jl 0x180010114
mov qword [0x180050f00], rcx
cmp byte [rdi + 0x68], r12b
je 0x1800100ee
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x180050cf8], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x18004bc50], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x18004bc60], rax
mov dword [0x18004bb88], r12d
mov qword [0x18004bc58], r14
mov qword [0x18004bc68], r12
mov dword [0x18004bb78], 4
call fcn.180012130
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
mov rbx, qword [rsi]
mov rcx, rsi
test rax, rax
je 0x180010107
call qword [rbx + 0x38]
jmp 0x18001010a
call qword [rbx + 0x30]
lea rdx, [rax - 1]
mov rcx, rsi
call qword [rbx + 0x40]
mov eax, dword [r15]
cmp dword [0x180050f10], eax
jle 0x180010153
lea rcx, [0x180050f10]
call fcn.180022fd4
cmp dword [0x180050f10], 0xffffffff
jne 0x180010153
lea rcx, [0x180050f18]
call fcn.180002890
lea rcx, [0x180050f10]
mov qword [0x180050f20], r12
call fcn.180022f68
movsxd rax, dword [rdi + 0x78]
imul rcx, rax, 0xf4240
mov qword [0x180050f20], rcx
cmp byte [rdi + 0x130], r12b
je 0x1800101a0
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x1800101a0
lea rcx, [rbp + 0x30]
call fcn.180002890
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180050f18]
cmp rax, qword [0x180050f20]
jge 0x180010223
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xbb
mov rax, qword [rbp + 0x30]
mov qword [0x18004bc58], rax
mov dword [0x18004bb88], r12d
mov qword [0x180050cf8], r13
mov qword [0x18004bc50], r12
mov dword [0x18004bb78], 2
call fcn.180012130
cmp dword [rax], r12d
je 0x1800102bd
cmp byte [rdi + 0x69], r12b
je 0x1800102bd
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x1800102bd
lea rcx, [rbp + 0x30]
call fcn.180002890
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180050f18]
cmp rax, qword [0x180050f20]
jl 0x1800102bd
mov qword [0x180050f18], rcx
cmp byte [rdi + 0x68], r12b
je 0x180010289
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x180050cf8], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x18004bc50], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x18004bc60], rax
mov dword [0x18004bb88], r12d
mov qword [0x18004bc58], r14
mov qword [0x18004bc68], r12
mov dword [0x18004bb78], 4
call fcn.180012130
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 0x1800102b7
call qword [r14 + 0x38]
mov rcx, rsi
lea rdx, [rax + 1]
jmp 0x1800102b9
xor edx, edx
call qword [r14 + 0x40]
mov eax, dword [r15]
cmp dword [0x180050f28], eax
jle 0x1800102fc
lea rcx, [0x180050f28]
call fcn.180022fd4
cmp dword [0x180050f28], 0xffffffff
jne 0x1800102fc
lea rcx, [0x180050f30]
call fcn.180002890
lea rcx, [0x180050f28]
mov qword [0x180050f38], r12
call fcn.180022f68
movsxd rax, dword [rdi + 0x7c]
lea r14, str.NAV_LEFT_RIGHT
imul rcx, rax, 0xf4240
mov qword [0x180050f38], rcx
cmp byte [rdi + 0x131], r12b
je 0x180010350
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180010350
lea rcx, [rbp + 0x30]
call fcn.180002890
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180050f30]
cmp rax, qword [0x180050f38]
jge 0x1800103d3
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xae
mov rax, qword [rbp + 0x30]
mov qword [0x18004bc58], rax
mov dword [0x18004bb88], r12d
mov qword [0x180050cf8], r13
mov qword [0x18004bc50], r12
mov dword [0x18004bb78], 2
call fcn.180012130
cmp dword [rax], r12d
je 0x18001045c
cmp byte [rdi + 0x69], r12b
je 0x18001045c
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18001045c
lea rcx, [rbp + 0x30]
call fcn.180002890
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180050f30]
cmp rax, qword [0x180050f38]
jl 0x18001045c
mov qword [0x180050f30], rcx
cmp byte [rdi + 0x68], r12b
je 0x180010439
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x180050cf8], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x18004bc50], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x18004bc60], rax
mov dword [0x18004bb88], r12d
mov qword [0x18004bc58], r14
mov qword [0x18004bc68], r12
mov dword [0x18004bb78], 4
call fcn.180012130
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 0x18001045c
mov r8, qword [rax]
xor edx, edx
mov rcx, rax
call qword [r8 + 0x20]
mov eax, dword [r15]
cmp dword [0x180050f40], eax
jle 0x18001049b
lea rcx, [0x180050f40]
call fcn.180022fd4
cmp dword [0x180050f40], 0xffffffff
jne 0x18001049b
lea rcx, [0x180050f48]
call fcn.180002890
lea rcx, [0x180050f40]
mov qword [0x180050f50], r12
call fcn.180022f68
movsxd rax, dword [rdi + 0x7c]
imul rcx, rax, 0xf4240
mov qword [0x180050f50], rcx
cmp byte [rdi + 0x132], r12b
je 0x1800104e8
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x1800104e8
lea rcx, [rbp + 0x30]
call fcn.180002890
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180050f48]
cmp rax, qword [0x180050f50]
jge 0x18001056b
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xaf
mov rax, qword [rbp + 0x30]
mov qword [0x18004bc58], rax
mov dword [0x18004bb88], r12d
mov qword [0x180050cf8], r13
mov qword [0x18004bc50], r12
mov dword [0x18004bb78], 2
call fcn.180012130
cmp dword [rax], r12d
je 0x1800105f7
cmp byte [rdi + 0x69], r12b
je 0x1800105f7
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x1800105f7
lea rcx, [rbp + 0x30]
call fcn.180002890
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180050f48]
cmp rax, qword [0x180050f50]
jl 0x1800105f7
mov qword [0x180050f48], rcx
cmp byte [rdi + 0x68], r12b
je 0x1800105d1
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x180050cf8], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x18004bc50], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x18004bc60], rax
mov dword [0x18004bb88], r12d
mov qword [0x18004bc58], r14
mov qword [0x18004bc68], r12
mov dword [0x18004bb78], 4
call fcn.180012130
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 0x1800105f7
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