Function at 0x140006890
Capabilities:
Manipulate console buffer

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov r8, qword [0x1400b6910]
xor r15d, r15d
movaps xmmword [rax - 0x38], xmm6
mov r14, rdx
movaps xmmword [rax - 0x48], xmm7
mov rdi, rcx
movaps xmmword [rax - 0x58], xmm8
xorps xmm6, xmm6
mov dword [rbp + 0x77], r15d
test r8, r8
js 0x1400068de
cvtsi2ss xmm6, r8
jmp 0x1400068f4
mov rax, r8
and r8d, 1
shr rax, 1
or rax, r8
cvtsi2ss xmm6, rax
addss xmm6, xmm6
mov rcx, qword [0x1400b6928]
xorps xmm0, xmm0
test rcx, rcx
js 0x14000690a
cvtsi2ss xmm0, rcx
jmp 0x14000691f
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
movss xmm8, dword [0x1400aa8bc]
xor eax, eax
movss xmm7, dword [0x1400aa8c8]
movabs rsi, 0x8000000000000000
divss xmm6, xmm0
mulss xmm6, xmm8
movaps xmm0, xmm6
comiss xmm0, xmm7
jb 0x140006959
subss xmm0, xmm7
comiss xmm0, xmm7
jae 0x140006959
mov rax, rsi
mov r9d, dword [rbp + 0x77]
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [0x1400b6958]
cvttss2si rbx, xmm0
mov dword [rbp + 0x77], r9d
add rbx, rax
lea rax, [rbp + 0x7f]
mov r8d, ebx
mov qword [rsp + 0x20], rax
mov word [rbp + 0x77], bx
call qword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
mov r9d, dword [rbp + 0x77]
lea rax, [rbp + 0x7f]
mov rcx, qword [0x1400b6958]
mov r8d, reloc.WLDAP32.dll_Ordinal_60
sub r8d, ebx
mov qword [rsp + 0x20], rax
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
divss xmm6, xmm8
movss xmm8, dword [0x1400aa8c0]
mulss xmm6, xmm8
cvttss2si rbx, xmm6
cmp ebx, dword [0x1400b5308]
je 0x1400069fc
mov rcx, qword [0x1400b6958]
mov edx, 0x3d
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov edx, ebx
call fcn.1400026f0
mov rcx, rax
mov dl, 0x25
call fcn.140003f30
mov dword [0x1400b5308], ebx
mov rcx, qword [0x1400b6958]
mov edx, 0x10000
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov rax, qword [0x1400b6a20]
lea rcx, [0x1400b6a10]
mov rdx, qword [0x1400b6910]
mov qword [0x1400b6a30], rax
mov byte [0x1400b6a42], 1
mov qword [0x1400b6a20], 0x1e
call fcn.140002050
cmp qword [0x1400b6940], r15
jne 0x140006a72
mov dl, 0x2f
lea rcx, [0x1400b6a10]
call fcn.140003f30
mov rdx, qword [0x1400b6928]
mov rcx, rax
call fcn.140002050
mov qword [0x1400b6940], 1
mov rcx, qword [0x1400b6958]
mov edx, 0x20000
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov rax, qword [0x1400b6a20]
lea rcx, [0x1400b6a10]
mov rdx, rdi
mov qword [0x1400b6a30], rax
mov byte [0x1400b6a42], 1
mov qword [0x1400b6a20], 0x1e
call fcn.140002050
cmp qword [0x1400b6900], r15
jne 0x140006ae4
mov dl, 0x2f
lea rcx, [0x1400b6a10]
call fcn.140003f30
mov rdx, qword [0x1400b6918]
mov rcx, rax
call fcn.140002050
mov qword [0x1400b6900], 1
mov rcx, qword [0x1400b6958]
mov edx, 0x30000
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov rcx, qword [0x1400b6930]
xorps xmm0, xmm0
test rcx, rcx
js 0x140006b0c
cvtsi2ss xmm0, rcx
jmp 0x140006b21
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x1400b6950]
xorps xmm1, xmm1
test rcx, rcx
js 0x140006b37
cvtsi2ss xmm1, rcx
jmp 0x140006b4c
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
movss xmm6, dword [0x1400aa8c4]
lea rax, str.Avg._Speed:
mov rcx, qword [0x1400b6a10]
lea rdx, [rbp - 0x19]
divss xmm0, xmm1
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], recv
divss xmm6, xmm0
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov r9d, dword [rbp - 0x15]
mov r12d, reloc.WLDAP32.dll_Ordinal_32
movsx ebx, word [rbp - 0x19]
mov edx, r12d
mov rcx, qword [0x1400b6a10]
movsx eax, r9w
sub ebx, eax
lea rax, [rbp + 0x77]
mov r8d, ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterW]
mov r9d, dword [rbp - 0x15]
lea rax, [rbp + 0x77]
movzx edx, word [rbp - 0x11]
mov r8d, ebx
mov rcx, qword [0x1400b6a10]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
xor eax, eax
movaps xmm0, xmm6
comiss xmm0, xmm7
jb 0x140006be7
subss xmm0, xmm7
comiss xmm0, xmm7
jae 0x140006be7
mov rax, rsi
cvttss2si rbx, xmm0
lea rdx, [rbp - 0x59]
lea rcx, [0x1400b6a10]
add rbx, rax
call fcn.140004130
mov rcx, rax
mov rdx, rbx
call fcn.140002050
mov rcx, rax
mov dl, reloc.WLDAP32.dll_Ordinal_46
call fcn.140003f30
movzx ecx, byte [0x1400b6a42]
lea rax, str._scr_s
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], 6
test cl, cl
je 0x140006c47
movzx eax, word [0x1400b6a44]
mov word [0x1400b6a46], ax
mov byte [0x1400b6a43], 1
mov eax, Ordinal_50
test cl, cl
mov word [0x1400b6a44], ax
movaps xmm0, xmm6
mov rax, qword [0x1400b6a30]
xorps xmm1, xmm1
cmovne rax, qword [0x1400b6a20]
mov qword [0x1400b6a30], rax
mov qword [0x1400b6a20], 2
mulss xmm0, xmm8
test rbx, rbx
js 0x140006c8d
cvtsi2ss xmm1, rbx
jmp 0x140006ca2
mov rax, rbx
and ebx, 1
shr rax, 1
or rax, rbx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
mulss xmm1, xmm8
xor eax, eax
subss xmm0, xmm1
comiss xmm0, xmm7
jb 0x140006cbe
subss xmm0, xmm7
comiss xmm0, xmm7
jae 0x140006cbe
mov rax, rsi
cvttss2si rdx, xmm0
lea rcx, [0x1400b6a10]
add rdx, rax
call fcn.140002050
lea rdx, [rbp - 0x59]
mov rcx, rax
mov qword [rax + 0x10], r15
mov word [rax + 0x34], r12w
mov qword [rax + 0x18], r15
call fcn.140004130
mov rcx, qword [0x1400b6958]
mov edx, 0x40000
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov rcx, qword [0x1400b6928]
xorps xmm0, xmm0
sub rcx, qword [0x1400b6910]
js 0x140006d17
cvtsi2ss xmm0, rcx
jmp 0x140006d2c
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, xmm6
xor eax, eax
comiss xmm0, xmm7
jb 0x140006d43
subss xmm0, xmm7
comiss xmm0, xmm7
jae 0x140006d43
mov rax, rsi
cvttss2si rsi, xmm0
add rsi, rax
cmp rsi, 0xffffffffffffffff
je 0x140006f58
mov rcx, qword [0x1400b6a10]
lea rdx, [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov r9d, dword [rbp - 0x15]
mov edx, r12d
movsx ebx, word [rbp - 0x19]
mov rcx, qword [0x1400b6a10]
movsx eax, r9w
sub ebx, eax
lea rax, [rbp + 0x77]
mov r8d, ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterW]
mov r9d, dword [rbp - 0x15]
lea rax, [rbp + 0x77]
movzx edx, word [rbp - 0x11]
mov r8d, ebx
mov rcx, qword [0x1400b6a10]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
lea rax, str._sec
lea rcx, [0x1400b6a10]
cmp rsi, 0x3c
jae 0x140006e01
mov qword [rbp - 0x49], rax
lea rdx, [rbp - 0x59]
lea rax, str._Time_Left:
mov qword [rbp - 0x41], 4
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], recv
call fcn.140004130
mov rcx, rax
mov rdx, rsi
call fcn.140002050
lea rdx, [rbp - 0x49]
jmp 0x140006f50
mov qword [rbp - 0x51], 5
cmp rsi, 0xe10
jae 0x140006e8b
mov qword [rbp - 0x39], rax
lea rax, str._min
mov qword [rbp - 0x59], rax
lea rax, str._Time_Left:
mov qword [rbp - 0x49], rax
movabs rax, 0x8888888888888889
mul rsi
mov qword [rbp - 0x31], 4
mov rbx, rdx
mov qword [rbp - 0x41], recv
shr rbx, 5
lea rdx, [rbp - 0x49]
imul rax, rbx, 0x3c
sub rsi, rax
call fcn.140004130
mov rcx, rax
mov rdx, rbx
call fcn.140002050
mov rcx, rax
lea rdx, [rbp - 0x59]
call fcn.140004130
mov rcx, rax
mov rdx, rsi
call fcn.140002050
lea rdx, [rbp - 0x39]
jmp 0x140006f50
mov qword [rbp - 0x19], rax
mov rdi, rsi
lea rax, str._min
mov qword [rbp - 0x11], 4
mov qword [rbp - 0x59], rax
lea rax, str._hrs
mov qword [rbp - 0x49], rax
lea rax, str._Time_Left:
mov qword [rbp - 0x39], rax
movabs rax, 0x23456789abcdf013
mul rsi
mov qword [rbp - 0x41], 5
sub rdi, rdx
mov qword [rbp - 0x31], recv
shr rdi, 1
add rdi, rdx
shr rdi, 0xb
imul rax, rdi, 0xe10
sub rsi, rax
movabs rax, 0x8888888888888889
mul rsi
mov rbx, rdx
lea rdx, [rbp - 0x39]
shr rbx, 5
imul rax, rbx, 0x3c
sub rsi, rax
call fcn.140004130
mov rcx, rax
mov rdx, rdi
call fcn.140002050
mov rcx, rax
lea rdx, [rbp - 0x49]
call fcn.140004130
mov rcx, rax
mov rdx, rbx
call fcn.140002050
mov rcx, rax
lea rdx, [rbp - 0x59]
call fcn.140004130
mov rcx, rax
mov rdx, rsi
call fcn.140002050
lea rdx, [rbp - 0x19]
mov rcx, rax
call fcn.140004130
mov rcx, qword [0x1400b6958]
mov edx, 0x50000
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov rcx, qword [0x1400b6a10]
lea rax, str.Just_saved:
lea rdx, [rbp - 0x39]
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], recv
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov r9d, dword [rbp - 0x35]
mov edx, r12d
movsx ebx, word [rbp - 0x39]
mov rcx, qword [0x1400b6a10]
movsx eax, r9w
sub ebx, eax
lea rax, [rbp + 0x77]
mov r8d, ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterW]
mov r9d, dword [rbp - 0x35]
lea rax, [rbp + 0x77]
movzx edx, word [rbp - 0x31]
mov r8d, ebx
mov rcx, qword [0x1400b6a10]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
lea rdx, [rbp - 0x19]
lea rcx, [0x1400b6a10]
call fcn.140004130
mov rcx, rax
mov rdx, r14
call fcn.1400045d0
mov rcx, qword [0x1400b6958]
mov edx, 0x70000
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret