Function at 0x14001137a
Capabilities:
Manipulate console buffer

Disassembly:
jmp 0x1400127a0
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x140
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
lea rcx, [0x140025177]
call fcn.1400113ca
xor ecx, ecx
call fcn.140013910
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_srand]
mov ecx, 0x20
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 8], rax
mov eax, dword [0x14001f174]
mov dword [rbp + 0x114], eax
mov eax, dword [0x14001f174]
inc eax
mov dword [0x14001f174], eax
cmp dword [rbp + 0x114], 0x14
jge 0x140012826
mov dword [rbp + 0x118], 1
jmp 0x140012830
mov dword [rbp + 0x118], 0
cmp dword [rbp + 0x118], 0
je 0x14001283e
jmp 0x1400129e7
mov rax, qword [rbp + 8]
mov byte [rax], 1
mov rax, qword [rbp + 8]
mov dword [rax + 4], 0x4e
call qword [sym.imp.ucrtbased.dll_rand]
cdq
mov ecx, 0xe
idiv ecx
mov eax, edx
add eax, 6
mov rcx, qword [rbp + 8]
mov dword [rcx + 8], eax
call qword [sym.imp.ucrtbased.dll_rand]
cdq
and eax, 1
xor eax, edx
sub eax, edx
inc eax
mov dword [rbp + 0x114], eax
cmp dword [rbp + 0x114], 1
je 0x140012894
cmp dword [rbp + 0x114], 2
je 0x1400128cd
jmp 0x140012904
mov rax, qword [rbp + 8]
mov dword [rax + 0x1c], 1
mov rax, qword [rbp + 8]
mov dword [rax + 0xc], 2
mov rax, qword [rbp + 8]
mov dword [rax + 0x10], 1
mov rax, qword [rbp + 8]
mov dword [rax + 0x14], 1
mov rax, qword [rbp + 8]
mov dword [rax + 0x18], 0xa
jmp 0x140012904
mov rax, qword [rbp + 8]
mov dword [rax + 0x1c], 2
mov rax, qword [rbp + 8]
mov dword [rax + 0xc], 1
mov rax, qword [rbp + 8]
mov dword [rax + 0x10], 2
mov rax, qword [rbp + 8]
mov dword [rax + 0x14], 2
mov rax, qword [rbp + 8]
mov dword [rax + 0x18], 0x14
mov dword [rbp + 0x24], 0
jmp 0x140012915
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0x1e
jge 0x140012958
movsxd rax, dword [rbp + 0x24]
imul rax, rax, 0x20
mov rcx, qword [rbp + 0x140]
movzx eax, byte [rcx + rax]
test eax, eax
jne 0x140012934
jmp 0x140012958
cmp dword [rbp + 0x24], 0x1d
jne 0x140012956
movsxd rax, dword [rbp + 0x24]
imul rax, rax, 0x20
mov rcx, qword [rbp + 0x140]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x140012956
jmp 0x1400129e7
jmp 0x14001290d
mov rax, qword [rbp + 8]
movzx eax, word [rax + 4]
mov word [rbp + 0x44], ax
mov rax, qword [rbp + 8]
movzx eax, word [rax + 8]
mov word [rbp + 0x46], ax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, dword [rbp + 0x44]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov rax, qword [rbp + 8]
cmp dword [rax + 0x1c], 1
jne 0x14001299f
lea rcx, [0x14001c708]
call fcn.1400111b8
jmp 0x1400129b5
mov rax, qword [rbp + 8]
cmp dword [rax + 0x1c], 2
jne 0x1400129b5
lea rcx, [0x14001c70c]
call fcn.1400111b8
movsxd rax, dword [rbp + 0x24]
imul rax, rax, 0x20
mov rcx, qword [rbp + 0x140]
lea rdi, [rcx + rax]
mov rsi, qword [rbp + 8]
mov ecx, 0x20
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_free]
mov dword [0x14001f174], 0
lea rcx, [rbp - 0x20]
lea rdx, [0x14001c3d0]
call fcn.140011357
lea rsp, [rbp + 0x120]
pop rdi
pop rsi
pop rbp
ret