Function at 0x14001e410
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
movsxd rbx, ecx
xor edx, edx
mov rdi, rbx
shl rdi, 6
lea r14, [0x14002b780]
mov r9d, dword [rdi + r14 + 0xc]
test r9d, r9d
jle 0x14001e47e
mov r10, qword [rdi + r14 + 0x28]
xor ecx, ecx
lea rax, [rcx + r10]
lea r8, [rax + 0x20]
cmp qword [rax + 0x38], 0xf
jbe 0x14001e463
mov r8, qword [rax + 0x20]
cmp qword [rax + 0x30], 4
jne 0x14001e473
cmp dword [r8], 0xf5cda7c4
je 0x14001e499
inc edx
add rcx, 0x70
cmp edx, r9d
jl 0x14001e450
xor al, al
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
cmp ebx, 1
jne 0x14001e673
lea rcx, [0x1400244e0]
call fcn.1400010a0
lea rax, [rbp - 0x19]
mov qword [rbp + 0x6f], rax
mov eax, dword [0x14002d170]
mov dword [rbp - 0x19], eax
mov eax, dword [0x14002d174]
mov dword [rbp - 0x15], eax
mov eax, dword [0x14002d178]
mov dword [rbp - 0x11], eax
mov eax, dword [0x14002d17c]
mov dword [rbp - 0xd], eax
mov eax, dword [0x14002d180]
mov dword [rbp - 9], eax
mov eax, dword [0x14002d184]
mov dword [rbp - 5], eax
movzx eax, byte [0x14002d188]
mov byte [rbp - 1], al
lea rdx, [0x14002d190]
lea rcx, [rbp + 7]
call fcn.140016ed0
nop
lea rdx, [0x14002d1b0]
lea rcx, [rbp + 0x27]
call fcn.140016ed0
mov rax, qword [0x14002d1d0]
mov qword [rbp + 0x47], rax
mov rax, qword [0x14002d1d8]
mov qword [rbp + 0x4f], rax
lea rcx, [rbp - 0x19]
call fcn.140019650
lea rcx, [0x1400244f0]
call fcn.1400010a0
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
cmp al, 0x79
je 0x14001e568
nop dword [rax]
cmp al, 0x59
je 0x14001e568
sub al, 0x4e
test al, 0xdf
je 0x14001e75a
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
cmp al, 0x79
jne 0x14001e550
inc dword [0x14002b7c0]
call fcn.1400179c0
lea rcx, [0x140024678]
call fcn.1400010a0
lea rax, [rbp - 0x19]
mov qword [rbp + 0x6f], rax
mov eax, dword [0x14002d170]
mov dword [rbp - 0x19], eax
mov eax, dword [0x14002d174]
mov dword [rbp - 0x15], eax
mov eax, dword [0x14002d178]
mov dword [rbp - 0x11], eax
mov eax, dword [0x14002d17c]
mov dword [rbp - 0xd], eax
mov eax, dword [0x14002d180]
mov dword [rbp - 9], eax
mov eax, dword [0x14002d184]
mov dword [rbp - 5], eax
movzx eax, byte [0x14002d188]
mov byte [rbp - 1], al
lea rdx, [0x14002d190]
lea rcx, [rbp + 7]
call fcn.140016ed0
nop
lea rdx, [0x14002d1b0]
lea rcx, [rbp + 0x27]
call fcn.140016ed0
mov rax, qword [0x14002d1d0]
mov qword [rbp + 0x47], rax
mov rax, qword [0x14002d1d8]
mov qword [rbp + 0x4f], rax
lea rcx, [rbp - 0x19]
call fcn.140019650
lea rcx, [0x140026878]
call fcn.1400010a0
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov eax, dword [0x14002b754]
cmp dword [0x14002b7c0], eax
jne 0x14001e649
mov dword [0x14002b750], 1
mov dword [0x14002b768], 0
mov al, 1
jmp 0x14001e480
mov ecx, 1
call fcn.14001d8d0
cmp dword [0x14002b768], 0
je 0x14001e75a
mov ecx, 1
xor edx, edx
call fcn.14001ce80
mov al, 1
jmp 0x14001e480
inc dword [rdi + r14]
call fcn.1400179c0
mov edx, ebx
lea rcx, [0x140025158]
call fcn.1400010a0
lea rax, [rbp - 0x19]
mov qword [rbp + 0x6f], rax
mov eax, dword [0x14002d170]
mov dword [rbp - 0x19], eax
mov eax, dword [0x14002d174]
mov dword [rbp - 0x15], eax
mov eax, dword [0x14002d178]
mov dword [rbp - 0x11], eax
mov eax, dword [0x14002d17c]
mov dword [rbp - 0xd], eax
mov eax, dword [0x14002d180]
mov dword [rbp - 9], eax
mov eax, dword [0x14002d184]
mov dword [rbp - 5], eax
movzx eax, byte [0x14002d188]
mov byte [rbp - 1], al
lea rdx, [0x14002d190]
lea rcx, [rbp + 7]
call fcn.140016ed0
nop
lea rdx, [0x14002d1b0]
lea rcx, [rbp + 0x27]
call fcn.140016ed0
mov rax, qword [0x14002d1d0]
mov qword [rbp + 0x47], rax
mov rax, qword [0x14002d1d8]
mov qword [rbp + 0x4f], rax
lea rcx, [rbp - 0x19]
call fcn.140019650
lea rcx, [0x140026878]
call fcn.1400010a0
mov eax, dword [0x14002b754]
cmp dword [rdi + r14], eax
jne 0x14001e741
mov dword [0x14002b750], ebx
mov dword [0x14002b768], 0
mov al, 1
jmp 0x14001e480
mov ecx, ebx
call fcn.14001d8d0
cmp dword [0x14002b768], 0
je 0x14001e75a
mov ecx, ebx
xor edx, edx
call fcn.14001ce80
mov al, 1
jmp 0x14001e480