Function at 0x18005ea80
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 + 0x51], r12b
je 0x18005ee6a
cmp byte [rcx + 0x69], r12b
je 0x18005ee6a
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 [0x1800a50e8], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1800a50f8], rax
mov dword [0x1800a5020], r12d
mov qword [0x1800b1ad8], rbx
mov qword [0x1800a50f0], r12
mov dword [0x1800a5010], 3
call fcn.18005d4e0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800a50e8], rax
mov dword [rbp + 0x30], 0x13
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800a50f0], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1800a50f8], rax
mov dword [0x1800a5020], r12d
mov qword [0x1800b1ad8], rbx
mov dword [0x1800a5010], 3
call fcn.18005d4e0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800a50e8], rax
mov dword [rbp + 0x30], 0x8c
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800a50f0], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1800a50f8], rax
mov dword [0x1800a5020], r12d
mov qword [0x1800b1ad8], rbx
mov dword [0x1800a5010], 3
call fcn.18005d4e0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800a50e8], rax
mov dword [rbp + 0x30], 0x14
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800a50f0], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1800a50f8], rax
mov dword [0x1800a5020], r12d
mov qword [0x1800b1ad8], rbx
mov dword [0x1800a5010], 3
call fcn.18005d4e0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800a50e8], rax
mov dword [rbp + 0x30], 0x1b
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800a50f0], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1800a50f8], rax
mov dword [0x1800a5020], r12d
mov qword [0x1800b1ad8], rbx
mov dword [0x1800a5010], 3
call fcn.18005d4e0
mov dword [0x1800a5020], r12d
mov qword [0x1800b1ad8], rbx
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800a50e8], rax
mov dword [rbp + 0x30], 0x50
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800a50f0], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1800a50f8], rax
mov dword [0x1800a5010], 3
call fcn.18005d4e0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800a50e8], rax
mov dword [rbp + 0x30], 0x151
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800a50f0], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1800a50f8], rax
mov dword [0x1800a5020], r12d
mov qword [0x1800b1ad8], rbx
mov dword [0x1800a5010], 3
call fcn.18005d4e0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800a50e8], rax
mov dword [rbp + 0x30], 0x1b
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800a50f0], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1800a50f8], rax
mov dword [0x1800a5020], r12d
mov qword [0x1800b1ad8], rbx
mov dword [0x1800a5010], 3
call fcn.18005d4e0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800a50e8], rax
mov dword [rbp + 0x30], 0x55
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800a50f0], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1800a50f8], rax
mov dword [0x1800a5020], r12d
mov qword [0x1800b1ad8], rbx
mov dword [0x1800a5010], 3
call fcn.18005d4e0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800a50e8], rax
mov dword [rbp + 0x30], 0x4a
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800a50f0], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1800a50f8], rax
mov dword [0x1800a5020], r12d
mov qword [0x1800b1ad8], rbx
mov dword [0x1800a5010], 3
call fcn.18005d4e0
mov rax, qword gs:[0x58]
mov ecx, dword [0x1800afb9c]
mov edx, 4
mov r15, qword [rax + rcx*8]
add r15, rdx
mov eax, dword [r15]
cmp dword [0x1800b1c98], eax
jle 0x18005eebd
lea rcx, [0x1800b1c98]
call fcn.180065e60
cmp dword [0x1800b1c98], 0xffffffff
jne 0x18005eebd
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [0x1800b1c98]
mov dword [0x1800b1c9c], eax
call fcn.180065df4
lea rbx, str.BACK
movabs r14, 0x67c540aa08e4a6f5
lea rsi, [0x180078870]
movabs r13, 0xe2587f8cbbd87b1d
cmp byte [rdi + 0x128], r12b
je 0x18005eefd
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1800b1c9c]
cmp eax, dword [rdi + 0x6c]
jae 0x18005ef9e
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xe3
mov rax, qword [rbp + 0x30]
mov qword [0x1800a50f0], rax
mov dword [0x1800a5020], r12d
mov qword [0x1800b1ad8], r13
mov qword [0x1800a50e8], r12
mov dword [0x1800a5010], 2
call fcn.18005d4e0
cmp dword [rax], r12d
je 0x18005f012
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xaf
mov rax, qword [rbp + 0x30]
mov qword [0x1800a50f0], rax
mov dword [0x1800a5020], r12d
mov qword [0x1800b1ad8], r13
mov qword [0x1800a50e8], r12
mov dword [0x1800a5010], 2
call fcn.18005d4e0
cmp dword [rax], r12d
je 0x18005f012
cmp byte [rdi + 0x69], r12b
je 0x18005f012
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1800b1c9c]
cmp eax, dword [rdi + 0x6c]
jb 0x18005f012
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movzx ecx, byte [rdi + 0x51]
xor cl, 1
mov dword [0x1800b1c9c], eax
mov byte [rdi + 0x51], cl
cmp byte [rdi + 0x68], r12b
je 0x18005f012
test cl, cl
mov qword [rbp + 0x30], r12
lea rcx, str.SELECT
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x1800a50e8], rax
mov rax, rbx
cmovne rax, rcx
mov dword [0x1800a5020], r12d
mov qword [0x1800a50f0], rax
mov qword [0x1800b1ad8], r14
mov qword [0x1800a50f8], rsi
mov qword [0x1800a5100], r12
mov dword [0x1800a5010], 4
call fcn.18005d4e0
mov eax, dword [r15]
cmp dword [0x1800b1c88], eax
jle 0x18005f051
lea rcx, [0x1800b1c88]
call fcn.180065e60
cmp dword [0x1800b1c88], 0xffffffff
jne 0x18005f051
lea rcx, [0x1800b1cc0]
call fcn.180003160
lea rcx, [0x1800b1c88]
mov qword [0x1800b1cc8], r12
call fcn.180065df4
movsxd rax, dword [rdi + 0x70]
imul rcx, rax, 0xf4240
mov qword [0x1800b1cc8], rcx
cmp byte [rdi + 0x51], r12b
je 0x18005f9c7
cmp byte [rdi + 0x129], r12b
je 0x18005f096
lea rcx, [rbp + 0x30]
call fcn.180003160
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800b1cc0]
cmp rax, qword [0x1800b1cc8]
jge 0x18005f10d
cmp byte [rdi + 0x51], r12b
je 0x18005f9c7
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xca
mov rax, qword [rbp + 0x30]
mov qword [0x1800a50f0], rax
mov dword [0x1800a5020], r12d
mov qword [0x1800b1ad8], r13
mov qword [0x1800a50e8], r12
mov dword [0x1800a5010], 2
call fcn.18005d4e0
cmp dword [rax], r12d
je 0x18005f188
cmp byte [rdi + 0x69], r12b
je 0x18005f188
lea rcx, [rbp + 0x30]
call fcn.180003160
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800b1cc0]
cmp rax, qword [0x1800b1cc8]
jl 0x18005f188
mov qword [0x1800b1cc0], rcx
cmp byte [rdi + 0x68], r12b
je 0x18005f162
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x1800a50e8], rax
mov dword [0x1800a5020], r12d
mov qword [0x1800b1ad8], r14
mov qword [0x1800a50f0], rbx
mov qword [0x1800a50f8], rsi
mov qword [0x1800a5100], r12
mov dword [0x1800a5010], 4
call fcn.18005d4e0
mov rax, qword [rdi + 0x158]
sub rax, qword [rdi + 0x150]
sar rax, 3
cmp rax, 1
ja 0x18005f180
mov byte [rdi + 0x51], r12b
jmp 0x18005f188
add qword [rdi + 0x158], 0xfffffffffffffff8
cmp byte [rdi + 0x51], r12b
je 0x18005f9c7
mov rax, qword [rdi + 0x158]
cmp qword [rdi + 0x150], rax
je 0x18005f9c7
mov rsi, qword [rax - 8]
mov eax, dword [r15]
cmp dword [0x1800b1c94], eax
jle 0x18005f1e9
lea rcx, [0x1800b1c94]
call fcn.180065e60
cmp dword [0x1800b1c94], 0xffffffff
jne 0x18005f1e9
lea rcx, [0x1800b1c50]
call fcn.180003160
lea rcx, [0x1800b1c94]
mov qword [0x1800b1c58], r12
call fcn.180065df4
movsxd rax, dword [rdi + 0x74]
imul rcx, rax, 0xf4240
mov qword [0x1800b1c58], rcx
cmp byte [rdi + 0x12a], r12b
je 0x18005f236
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18005f236
lea rcx, [rbp + 0x30]
call fcn.180003160
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800b1c50]
cmp rax, qword [0x1800b1c58]
jge 0x18005f2b9
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xc9
mov rax, qword [rbp + 0x30]
mov qword [0x1800a50f0], rax
mov dword [0x1800a5020], r12d
mov qword [0x1800b1ad8], r13
mov qword [0x1800a50e8], r12
mov dword [0x1800a5010], 2
call fcn.18005d4e0
cmp dword [rax], r12d
je 0x18005f342
cmp byte [rdi + 0x69], r12b
je 0x18005f342
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18005f342
lea rcx, [rbp + 0x30]
call fcn.180003160
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800b1c50]
cmp rax, qword [0x1800b1c58]
jl 0x18005f342
mov qword [0x1800b1c50], rcx
cmp byte [rdi + 0x68], r12b
je 0x18005f31c
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x1800a50e8], rax
lea rax, str.SELECT
mov qword [0x1800a50f0], rax
lea rax, [0x180078870]
mov qword [0x1800a50f8], rax
mov dword [0x1800a5020], r12d
mov qword [0x1800b1ad8], r14
mov qword [0x1800a5100], r12
mov dword [0x1800a5010], 4
call fcn.18005d4e0
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 0x18005f342
mov r8, qword [rax]
mov edx, 2
mov rcx, rax
call qword [r8 + 0x20]
mov eax, dword [r15]
cmp dword [0x1800b1c90], eax
jle 0x18005f381
lea rcx, [0x1800b1c90]
call fcn.180065e60
cmp dword [0x1800b1c90], 0xffffffff
jne 0x18005f381
lea rcx, [0x1800b1cb0]
call fcn.180003160
lea rcx, [0x1800b1c90]
mov qword [0x1800b1cb8], r12
call fcn.180065df4
movsxd rax, dword [rdi + 0x78]
lea r14, str.NAV_UP_DOWN
imul rcx, rax, 0xf4240
mov qword [0x1800b1cb8], rcx
cmp byte [rdi + 0x12b], r12b
je 0x18005f3d5
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18005f3d5
lea rcx, [rbp + 0x30]
call fcn.180003160
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800b1cb0]
cmp rax, qword [0x1800b1cb8]
jge 0x18005f458
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xbc
mov rax, qword [rbp + 0x30]
mov qword [0x1800a50f0], rax
mov dword [0x1800a5020], r12d
mov qword [0x1800b1ad8], r13
mov qword [0x1800a50e8], r12
mov dword [0x1800a5010], 2
call fcn.18005d4e0
cmp dword [rax], r12d
je 0x18005f4e4
cmp byte [rdi + 0x69], r12b
je 0x18005f4e4
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18005f4e4
lea rcx, [rbp + 0x30]
call fcn.180003160
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800b1cb0]
cmp rax, qword [0x1800b1cb8]
jl 0x18005f4e4
mov qword [0x1800b1cb0], rcx
cmp byte [rdi + 0x68], r12b
je 0x18005f4be
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x1800b1ad8], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x1800a50e8], rax
lea rax, [0x180078870]
mov qword [0x1800a50f8], rax
mov dword [0x1800a5020], r12d
mov qword [0x1800a50f0], r14
mov qword [0x1800a5100], r12
mov dword [0x1800a5010], 4
call fcn.18005d4e0
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
mov rbx, qword [rsi]
mov rcx, rsi
test rax, rax
je 0x18005f4d7
call qword [rbx + 0x38]
jmp 0x18005f4da
call qword [rbx + 0x30]
lea rdx, [rax - 1]
mov rcx, rsi
call qword [rbx + 0x40]
mov eax, dword [r15]
cmp dword [0x1800b1c48], eax
jle 0x18005f523
lea rcx, [0x1800b1c48]
call fcn.180065e60
cmp dword [0x1800b1c48], 0xffffffff
jne 0x18005f523
lea rcx, [0x1800b1c78]
call fcn.180003160
lea rcx, [0x1800b1c48]
mov qword [0x1800b1c80], r12
call fcn.180065df4
movsxd rax, dword [rdi + 0x78]
imul rcx, rax, 0xf4240
mov qword [0x1800b1c80], rcx
cmp byte [rdi + 0x12c], r12b
je 0x18005f570
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18005f570
lea rcx, [rbp + 0x30]
call fcn.180003160
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800b1c78]
cmp rax, qword [0x1800b1c80]
jge 0x18005f5f3
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xbb
mov rax, qword [rbp + 0x30]
mov qword [0x1800a50f0], rax
mov dword [0x1800a5020], r12d
mov qword [0x1800b1ad8], r13
mov qword [0x1800a50e8], r12
mov dword [0x1800a5010], 2
call fcn.18005d4e0
cmp dword [rax], r12d
je 0x18005f68d
cmp byte [rdi + 0x69], r12b
je 0x18005f68d
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18005f68d
lea rcx, [rbp + 0x30]
call fcn.180003160
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800b1c78]
cmp rax, qword [0x1800b1c80]
jl 0x18005f68d
mov qword [0x1800b1c78], rcx
cmp byte [rdi + 0x68], r12b
je 0x18005f659
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x1800b1ad8], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x1800a50e8], rax
lea rax, [0x180078870]
mov qword [0x1800a50f8], rax
mov dword [0x1800a5020], r12d
mov qword [0x1800a50f0], r14
mov qword [0x1800a5100], r12
mov dword [0x1800a5010], 4
call fcn.18005d4e0
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 0x18005f687
call qword [r14 + 0x38]
mov rcx, rsi
lea rdx, [rax + 1]
jmp 0x18005f689
xor edx, edx
call qword [r14 + 0x40]
mov eax, dword [r15]
cmp dword [0x1800b1c70], eax
jle 0x18005f6cc
lea rcx, [0x1800b1c70]
call fcn.180065e60
cmp dword [0x1800b1c70], 0xffffffff
jne 0x18005f6cc
lea rcx, [0x1800b1ca0]
call fcn.180003160
lea rcx, [0x1800b1c70]
mov qword [0x1800b1ca8], r12
call fcn.180065df4
movsxd rax, dword [rdi + 0x7c]
lea r14, str.NAV_LEFT_RIGHT
imul rcx, rax, 0xf4240
mov qword [0x1800b1ca8], rcx
cmp byte [rdi + 0x12d], r12b
je 0x18005f720
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18005f720
lea rcx, [rbp + 0x30]
call fcn.180003160
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800b1ca0]
cmp rax, qword [0x1800b1ca8]
jge 0x18005f7a3
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xae
mov rax, qword [rbp + 0x30]
mov qword [0x1800a50f0], rax
mov dword [0x1800a5020], r12d
mov qword [0x1800b1ad8], r13
mov qword [0x1800a50e8], r12
mov dword [0x1800a5010], 2
call fcn.18005d4e0
cmp dword [rax], r12d
je 0x18005f82c
cmp byte [rdi + 0x69], r12b
je 0x18005f82c
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18005f82c
lea rcx, [rbp + 0x30]
call fcn.180003160
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800b1ca0]
cmp rax, qword [0x1800b1ca8]
jl 0x18005f82c
mov qword [0x1800b1ca0], rcx
cmp byte [rdi + 0x68], r12b
je 0x18005f809
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x1800b1ad8], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x1800a50e8], rax
lea rax, [0x180078870]
mov qword [0x1800a50f8], rax
mov dword [0x1800a5020], r12d
mov qword [0x1800a50f0], r14
mov qword [0x1800a5100], r12
mov dword [0x1800a5010], 4
call fcn.18005d4e0
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 0x18005f82c
mov r8, qword [rax]
xor edx, edx
mov rcx, rax
call qword [r8 + 0x20]
mov eax, dword [r15]
cmp dword [0x1800b1c8c], eax
jle 0x18005f86b
lea rcx, [0x1800b1c8c]
call fcn.180065e60
cmp dword [0x1800b1c8c], 0xffffffff
jne 0x18005f86b
lea rcx, [0x1800b1c60]
call fcn.180003160
lea rcx, [0x1800b1c8c]
mov qword [0x1800b1c68], r12
call fcn.180065df4
movsxd rax, dword [rdi + 0x7c]
imul rcx, rax, 0xf4240
mov qword [0x1800b1c68], rcx
cmp byte [rdi + 0x12e], r12b
je 0x18005f8b8
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18005f8b8
lea rcx, [rbp + 0x30]
call fcn.180003160
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800b1c60]
cmp rax, qword [0x1800b1c68]
jge 0x18005f93b
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xaf
mov rax, qword [rbp + 0x30]
mov qword [0x1800a50f0], rax
mov dword [0x1800a5020], r12d
mov qword [0x1800b1ad8], r13
mov qword [0x1800a50e8], r12
mov dword [0x1800a5010], 2
call fcn.18005d4e0
cmp dword [rax], r12d
je 0x18005f9c7
cmp byte [rdi + 0x69], r12b
je 0x18005f9c7
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18005f9c7
lea rcx, [rbp + 0x30]
call fcn.180003160
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800b1c60]
cmp rax, qword [0x1800b1c68]
jl 0x18005f9c7
mov qword [0x1800b1c60], rcx
cmp byte [rdi + 0x68], r12b
je 0x18005f9a1
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x1800b1ad8], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x1800a50e8], rax
lea rax, [0x180078870]
mov qword [0x1800a50f8], rax
mov dword [0x1800a5020], r12d
mov qword [0x1800a50f0], r14
mov qword [0x1800a5100], r12
mov dword [0x1800a5010], 4
call fcn.18005d4e0
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 0x18005f9c7
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