Function at 0x1400010c4
Capabilities:
Execute command
Manipulate console buffer

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 8], rax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor ecx, ecx
mov qword [rbp - 0x58], rax
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
lea rcx, [rbp - 0x28]
mov qword [rbp - 0x28], rax
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
mov r15, rax
mov qword [rbp - 0x48], rax
cmp dword [rax + 0x14], 0x7b
mov esi, dword [rax]
jne 0x14000142b
mov ebx, dword [rbp - 0x60]
mov edi, dword [rbp - 0x60]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movsx eax, word [rbp - 0x36]
xor ecx, ecx
movsx r14d, word [rbp - 0x32]
movsx r13d, word [rbp - 0x30]
sub r14d, eax
movsx eax, word [rbp - 0x34]
inc r14d
sub r13d, eax
mov dword [rbp - 0x3c], 0x20000
inc r13d
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x20], rax
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
mov r12, rax
cmp dword [rax], esi
jne 0x14000119a
cmp ebx, r14d
jne 0x14000119a
cmp edi, r13d
je 0x14000133a
lea rcx, [0x140003300]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Road_to_New_year_n
call fcn.140001578
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov eax, 0x3c
mov edx, 0x1f
mov ebx, eax
sub edx, dword [r12 + 0xc]
mov edi, eax
sub ebx, dword [r12 + 4]
mov esi, 0x17
sub edi, dword [r12]
sub esi, dword [r12 + 8]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, str.days
call fcn.140001578
cmp esi, 0xa
jge 0x140001214
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.0:_n
call fcn.140001578
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, esi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x140003328]
call fcn.140001578
cmp ebx, 0xa
jge 0x14000124a
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.0:_n
call fcn.140001578
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x140003328]
call fcn.140001578
cmp edi, 0xa
jge 0x140001280
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.0:_n
call fcn.140001578
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, edi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x14000332c]
call fcn.140001578
lea eax, [r13 - 4]
test eax, eax
jle 0x1400012c1
mov ebx, eax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x14000332c]
call fcn.140001578
sub rbx, 1
jne 0x1400012a8
lea eax, [r14 - 7]
test eax, eax
jle 0x1400012e4
mov ebx, eax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x140003330]
call fcn.140001578
sub rbx, 1
jne 0x1400012cb
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.by_m0d1_n
call fcn.140001578
lea eax, [r14 - 0x14]
test eax, eax
jle 0x14000131a
mov ebx, eax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x140003330]
call fcn.140001578
sub rbx, 1
jne 0x140001301
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Happy_New_Year_1_1__
call fcn.140001578
mov edx, dword [rbp - 0x3c]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
lea rcx, [rbp - 0x50]
call section..text
mov rbx, qword [rbp - 0x50]
movabs rax, 0x7ffffffffff0bdbf
cmp rbx, rax
jge 0x14000135f
add rbx, 0xf4240
jmp 0x140001369
movabs rbx, 0x7fffffffffffffff
lea rcx, [rbp - 0x60]
call section..text
mov rdi, qword [rbp - 0x60]
cmp rdi, rbx
jge 0x140001416
movabs r15, 0x311cdad160000
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
imul r8, rax, 0x64
xorps xmm0, xmm0
mov rax, rbx
sub rax, rdi
lea rcx, [r8 + r15]
cvtsi2sd xmm0, rax
comisd xmm0, xmmword [0x140003380]
seta r9b
test r9b, r9b
jne 0x1400013ba
lea rcx, [rax + r8]
test r9b, r9b
mov rdx, r15
cmove rdx, rax
movabs rax, 0x112e0be826d694b3
add rdx, r8
imul rdx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0x3b9aca00
mov qword [rbp - 0x18], rdx
sub ecx, eax
mov dword [rbp - 0x10], ecx
lea rcx, [rbp - 0x18]
call qword [sym.imp.MSVCP140.dll__Thrd_sleep]
lea rcx, [rbp - 0x60]
call section..text
mov rdi, qword [rbp - 0x60]
cmp rdi, rbx
jl 0x140001389
mov r15, qword [rbp - 0x48]
cmp dword [r15 + 0x14], 0x7b
mov ebx, r14d
mov esi, dword [r12]
mov edi, r13d
je 0x140001132
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.New_year_is_going.._n
call fcn.140001578
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140001700
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret