Function at 0x14001128f
Capabilities:
Manipulate console buffer
Read file on windows

Disassembly:
jmp 0x140016330
push rbp
push rdi
sub rsp, 0x5a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xfe
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001e300]
xor rax, rbp
mov qword [rbp + 0x560], rax
lea rcx, [0x1400240a4]
call fcn.1400113ac
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp + 8], rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp + 0x28], rax
mov eax, 4
mov word [rbp + 0x44], ax
xor eax, eax
mov word [rbp + 0x46], ax
mov dword [rbp + 0x64], 0
mov byte [rbp + 0x84], 1
mov dword [rbp + 0xa4], 0
xor eax, eax
cmp eax, 1
je 0x140016b38
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp + 0xc4], eax
movsx rax, word [rbp + 0x46]
imul rax, rax, 0x28
lea rcx, [0x14001e4c0]
add rcx, rax
mov rax, rcx
movsx rcx, word [rbp + 0x44]
cmp dword [rax + rcx*4], 0
je 0x140016489
xor eax, eax
mov word [rbp + 0xe4], ax
mov eax, 0x14
mov word [rbp + 0xe6], ax
mov edx, dword [rbp + 0xe4]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
lea rcx, [0x14001b100]
call fcn.1400111b3
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x224]
mov r8d, 0xff
lea rdx, [rbp + 0x110]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14001644f
jmp 0x140016b38
mov eax, 1
imul rax, rax, 0
movsx eax, byte [rbp + rax + 0x110]
cmp eax, 0x79
jne 0x140016484
mov eax, 4
mov word [rbp + 0x44], ax
xor eax, eax
mov word [rbp + 0x46], ax
mov dword [rbp + 0x64], 0
mov byte [rbp + 0x84], 1
jmp 0x140016489
jmp 0x140016b38
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x1400164b4
mov r8d, 0x258
lea rdx, section..data
lea rcx, [0x14001e4c0]
call fcn.1400111d6
mov byte [rbp + 0x84], 0
call fcn.140011294
mov dword [rbp + 0x244], 0
jmp 0x1400164d3
mov eax, dword [rbp + 0x244]
inc eax
mov dword [rbp + 0x244], eax
cmp dword [rbp + 0x244], 0xf
jge 0x1400165bc
mov dword [rbp + 0x264], 0
jmp 0x1400164fa
mov eax, dword [rbp + 0x264]
inc eax
mov dword [rbp + 0x264], eax
cmp dword [rbp + 0x264], 0xa
jge 0x1400165ab
mov eax, dword [rbp + 0x264]
shl eax, 1
mov word [rbp + 0x284], ax
movzx eax, word [rbp + 0x244]
mov word [rbp + 0x286], ax
mov edx, dword [rbp + 0x284]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
movsxd rax, dword [rbp + 0x244]
imul rax, rax, 0x28
lea rcx, [0x14001e4c0]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rbp + 0x264]
cmp dword [rax + rcx*4], 0
jne 0x140016567
lea rcx, [0x14001b0f0]
call fcn.1400111b3
jmp 0x1400165a6
movsxd rax, dword [rbp + 0x244]
imul rax, rax, 0x28
lea rcx, [0x14001e4c0]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rbp + 0x264]
cmp dword [rax + rcx*4], 2
jne 0x14001659a
lea rcx, [0x14001b0f4]
call fcn.1400111b3
jmp 0x1400165a6
lea rcx, [0x14001b0f8]
call fcn.1400111b3
jmp 0x1400164ec
lea rcx, [0x14001b0fc]
call fcn.1400111b3
jmp 0x1400164c5
call qword [sym.imp.ucrtbased.dll__kbhit]
test eax, eax
je 0x140016888
call qword [sym.imp.ucrtbased.dll__getch]
mov dword [rbp + 0x2a4], eax
mov eax, dword [rbp + 0x2a4]
mov dword [rbp + 0x554], eax
cmp dword [rbp + 0x554], 0x20
je 0x14001660a
cmp dword [rbp + 0x554], 0x4b
je 0x140016816
cmp dword [rbp + 0x554], 0x4d
je 0x140016850
jmp 0x140016888
xor eax, eax
cmp eax, 1
je 0x140016814
movsx eax, word [rbp + 0x46]
inc eax
cdqe
imul rax, rax, 0x28
lea rcx, [0x14001e4c0]
add rcx, rax
mov rax, rcx
movsx rcx, word [rbp + 0x44]
cmp dword [rax + rcx*4], 0
jne 0x140016649
movzx eax, word [rbp + 0x46]
inc ax
mov word [rbp + 0x46], ax
jmp 0x14001680f
movsx eax, word [rbp + 0x46]
inc eax
cdqe
imul rax, rax, 0x28
lea rcx, [0x14001e4c0]
add rcx, rax
mov rax, rcx
movsx rcx, word [rbp + 0x44]
cmp dword [rax + rcx*4], 0
je 0x14001680f
movsx rax, word [rbp + 0x46]
imul rax, rax, 0x28
lea rcx, [0x14001e4c0]
add rcx, rax
mov rax, rcx
movsx rcx, word [rbp + 0x44]
mov dword [rax + rcx*4], 2
mov dword [rbp + 0x2c4], 1
jmp 0x1400166ad
mov eax, dword [rbp + 0x2c4]
inc eax
mov dword [rbp + 0x2c4], eax
cmp dword [rbp + 0x2c4], 9
jge 0x1400167f7
movsx rax, word [rbp + 0x46]
imul rax, rax, 0x28
lea rcx, [0x14001e4c0]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rbp + 0x2c4]
cmp dword [rax + rcx*4], 0
jne 0x1400166e2
jmp 0x1400167f7
cmp dword [rbp + 0x2c4], 8
jne 0x1400167f2
movsx rax, word [rbp + 0x46]
shl rax, 2
imul rax, rax, 0xa
mov ecx, 0x28
imul rcx, rcx, 0
lea rdx, [0x14001e4c0]
add rdx, rcx
mov rcx, rdx
mov edx, 4
imul rdx, rdx, 0
add rcx, rdx
mov edx, 0x28
imul rdx, rdx, 1
lea r8, [0x14001e4c0]
add r8, rdx
mov rdx, r8
mov r8d, 4
imul r8, r8, 0
add rdx, r8
mov qword [rbp + 0x558], rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rbp + 0x558]
mov rcx, rax
call fcn.140011429
mov eax, 0x28
imul rax, rax, 0
lea rcx, [0x14001e4c0]
add rcx, rax
mov rax, rcx
mov ecx, 4
imul rcx, rcx, 0
mov dword [rax + rcx], 1
mov eax, 0x28
imul rax, rax, 0
lea rcx, [0x14001e4c0]
add rcx, rax
mov rax, rcx
mov ecx, 4
imul rcx, rcx, 9
mov dword [rax + rcx], 1
mov dword [rbp + 0x2e4], 1
jmp 0x1400167c3
mov eax, dword [rbp + 0x2e4]
inc eax
mov dword [rbp + 0x2e4], eax
cmp dword [rbp + 0x2e4], 8
jge 0x1400167f2
mov eax, 0x28
imul rax, rax, 0
lea rcx, [0x14001e4c0]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rbp + 0x2e4]
mov dword [rax + rcx*4], 0
jmp 0x1400167b5
jmp 0x14001669f
mov eax, 4
mov word [rbp + 0x44], ax
xor eax, eax
mov word [rbp + 0x46], ax
mov dword [rbp + 0x64], 1
jmp 0x140016814
jmp 0x14001660a
jmp 0x140016888
movsx eax, word [rbp + 0x44]
cmp eax, 1
jle 0x14001684e
movsx rax, word [rbp + 0x46]
imul rax, rax, 0x28
lea rcx, [0x14001e4c0]
add rcx, rax
mov rax, rcx
movsx ecx, word [rbp + 0x44]
dec ecx
movsxd rcx, ecx
cmp dword [rax + rcx*4], 0
jne 0x14001684e
movsx eax, word [rbp + 0x44]
dec eax
mov word [rbp + 0x44], ax
jmp 0x140016888
movsx eax, word [rbp + 0x44]
cmp eax, 8
jge 0x140016888
movsx rax, word [rbp + 0x46]
imul rax, rax, 0x28
lea rcx, [0x14001e4c0]
add rcx, rax
mov rax, rcx
movsx ecx, word [rbp + 0x44]
inc ecx
movsxd rcx, ecx
cmp dword [rax + rcx*4], 0
jne 0x140016888
movsx eax, word [rbp + 0x44]
inc eax
mov word [rbp + 0x44], ax
mov eax, dword [rbp + 0x64]
cdq
mov ecx, 0xa
idiv ecx
mov eax, edx
test eax, eax
jne 0x140016a95
movsx eax, word [rbp + 0x46]
inc eax
cdqe
imul rax, rax, 0x28
lea rcx, [0x14001e4c0]
add rcx, rax
mov rax, rcx
movsx rcx, word [rbp + 0x44]
cmp dword [rax + rcx*4], 0
jne 0x1400168d1
movzx eax, word [rbp + 0x46]
inc ax
mov word [rbp + 0x46], ax
jmp 0x140016a95
movsx eax, word [rbp + 0x46]
inc eax
cdqe
imul rax, rax, 0x28
lea rcx, [0x14001e4c0]
add rcx, rax
mov rax, rcx
movsx rcx, word [rbp + 0x44]
cmp dword [rax + rcx*4], 0
je 0x140016a95
movsx rax, word [rbp + 0x46]
imul rax, rax, 0x28
lea rcx, [0x14001e4c0]
add rcx, rax
mov rax, rcx
movsx rcx, word [rbp + 0x44]
mov dword [rax + rcx*4], 2
mov dword [rbp + 0x304], 1
jmp 0x140016935
mov eax, dword [rbp + 0x304]
inc eax
mov dword [rbp + 0x304], eax
cmp dword [rbp + 0x304], 9
jge 0x140016a7f
movsx rax, word [rbp + 0x46]
imul rax, rax, 0x28
lea rcx, [0x14001e4c0]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rbp + 0x304]
cmp dword [rax + rcx*4], 0
jne 0x14001696a
jmp 0x140016a7f
cmp dword [rbp + 0x304], 8
jne 0x140016a7a
movsx rax, word [rbp + 0x46]
shl rax, 2
imul rax, rax, 0xa
mov ecx, 0x28
imul rcx, rcx, 0
lea rdx, [0x14001e4c0]
add rdx, rcx
mov rcx, rdx
mov edx, 4
imul rdx, rdx, 0
add rcx, rdx
mov edx, 0x28
imul rdx, rdx, 1
lea r8, [0x14001e4c0]
add r8, rdx
mov rdx, r8
mov r8d, 4
imul r8, r8, 0
add rdx, r8
mov qword [rbp + 0x558], rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rbp + 0x558]
mov rcx, rax
call fcn.140011429
mov eax, 0x28
imul rax, rax, 0
lea rcx, [0x14001e4c0]
add rcx, rax
mov rax, rcx
mov ecx, 4
imul rcx, rcx, 0
mov dword [rax + rcx], 1
mov eax, 0x28
imul rax, rax, 0
lea rcx, [0x14001e4c0]
add rcx, rax
mov rax, rcx
mov ecx, 4
imul rcx, rcx, 9
mov dword [rax + rcx], 1
mov dword [rbp + 0x324], 1
jmp 0x140016a4b
mov eax, dword [rbp + 0x324]
inc eax
mov dword [rbp + 0x324], eax
cmp dword [rbp + 0x324], 8
jge 0x140016a7a
mov eax, 0x28
imul rax, rax, 0
lea rcx, [0x14001e4c0]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rbp + 0x324]
mov dword [rax + rcx*4], 0
jmp 0x140016a3d
jmp 0x140016927
mov eax, 4
mov word [rbp + 0x44], ax
xor eax, eax
mov word [rbp + 0x46], ax
mov dword [rbp + 0x64], 0
movsx eax, word [rbp + 0x44]
shl eax, 1
mov word [rbp + 0x344], ax
movzx eax, word [rbp + 0x344]
mov word [rbp + 0x524], ax
movzx eax, word [rbp + 0x46]
mov word [rbp + 0x526], ax
mov edx, dword [rbp + 0x524]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
lea rcx, [0x14001b128]
call fcn.1400111b3
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbp + 0xc4]
mov dword [rbp + 0x364], eax
mov eax, 0x1e
mov word [rbp + 0x544], ax
xor eax, eax
mov word [rbp + 0x546], ax
mov edx, dword [rbp + 0x544]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov edx, dword [rbp + 0x364]
lea rcx, str.elapsed_t_:__d
call fcn.1400111b3
mov ecx, 0x10
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
jmp 0x1400163b2
xor eax, eax
mov word [rbp + 0x384], ax
mov eax, 0x15
mov word [rbp + 0x386], ax
mov edx, dword [rbp + 0x384]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
lea rcx, [0x14001ad30]
call fcn.1400111b3
call qword [sym.imp.ucrtbased.dll__getch]
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001b0c0]
call fcn.140011343
mov eax, edi
mov rcx, qword [rbp + 0x560]
xor rcx, rbp
call fcn.1400111d1
lea rsp, [rbp + 0x578]
pop rdi
pop rbp
ret