Function at 0x140001fd0
Capabilities:
Execute command

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rbp + 0x37], rax
lea rcx, [0x1400068b4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
movdqa xmm6, xmmword [0x140006b60]
movdqu xmmword [rbp + 0x27], xmm6
mov byte [rbp + 0x17], 0
lea rdx, str._ndP____dP__________dP_______________________888888ba_________________________________________________nY8.__.8P__________88_______________________88_____8b________________________________________________n_Y8aa8P__88d888b._88_.d8888b._88d888b.____a88aaaa8P_.d8888b._dP___.dP_.d8888b._88d8b.d8b._88d888b._nd8___8b_88___88_88_88___88_88___88_____88____8b._88ooood8_88___d8_88___88_88_88_88_88___88_n88____88_88.__.88_88_88.__.88_88___________88_____88_88.__..._88_.88__88.__.88_88__88__88_88.__.88_ndP____dP_88Y888P_dP__88888P_dP___________dP_____dP__88888P_8888P____88888P8_dP__dP__dP_88Y888P_n_________88________________________________________________________________________________88_______n_________dP________________________________________________________________________________dP_______n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400032d0
lea rdx, str.___________________________________________________________________________________________n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400032d0
lea rdx, str._nEnter_the_cookie:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400032d0
lea rdx, [rbp + 0x17]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.1400034f0
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r8, [rbp + 0x17]
lea rcx, [rbp - 0x29]
call fcn.1400036d0
nop
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.1400012b0
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x1400020ce
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400020c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400020c1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000418c
movdqa xmm6, xmmword [0x140006b60]
movdqu xmmword [rbp - 0x19], xmm6
mov byte [rbp - 0x29], 0
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova rcx, qword [rbp - 9]
mov r8, qword [rbp + 7]
cmp r8, 0xe
jne 0x14000214b
lea rdx, str.Invalid_Cookie
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000214b
mov edx, 0xc
mov rcx, qword [0x140009798]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._nInvalid_cookie_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400032d0
lea rdx, [0x1400034b0]
mov rcx, rax
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov edx, 7
mov rcx, qword [0x140009798]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
jmp 0x1400021e3
mov edx, 0xa
mov rcx, qword [0x140009798]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._nCookie_is_valid_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400032d0
lea rdx, [0x1400034b0]
mov rcx, rax
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov edx, 7
mov rcx, qword [0x140009798]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._nRefreshed_cookie:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400032d0
lea rdx, [0x1400034b0]
mov rcx, rax
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova rdx, qword [rbp - 9]
mov r8, qword [rbp + 7]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003d40
lea rdx, [0x1400034b0]
mov rcx, rax
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, str._nPress_any_key_to_continue..
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400032d0
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
lea rcx, [0x1400068b4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str._ndP____dP__________dP_______________________888888ba_________________________________________________nY8.__.8P__________88_______________________88_____8b________________________________________________n_Y8aa8P__88d888b._88_.d8888b._88d888b.____a88aaaa8P_.d8888b._dP___.dP_.d8888b._88d8b.d8b._88d888b._nd8___8b_88___88_88_88___88_88___88_____88____8b._88ooood8_88___d8_88___88_88_88_88_88___88_n88____88_88.__.88_88_88.__.88_88___________88_____88_88.__..._88_.88__88.__.88_88__88__88_88.__.88_ndP____dP_88Y888P_dP__88888P_dP___________dP_____dP__88888P_8888P____88888P8_dP__dP__dP_88Y888P_n_________88________________________________________________________________________________88_______n_________dP________________________________________________________________________________dP_______n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400032d0
lea rdx, str.___________________________________________________________________________________________n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400032d0
call fcn.140002340
lea rdx, str._nPress_any_key_to_continue..
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400032d0
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
lea rcx, [0x1400068b4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str._ndP____dP__________dP_______________________888888ba_________________________________________________nY8.__.8P__________88_______________________88_____8b________________________________________________n_Y8aa8P__88d888b._88_.d8888b._88d888b.____a88aaaa8P_.d8888b._dP___.dP_.d8888b._88d8b.d8b._88d888b._nd8___8b_88___88_88_88___88_88___88_____88____8b._88ooood8_88___d8_88___88_88_88_88_88___88_n88____88_88.__.88_88_88.__.88_88___________88_____88_88.__..._88_.88__88.__.88_88__88__88_88.__.88_ndP____dP_88Y888P_dP__88888P_dP___________dP_____dP__88888P_8888P____88888P8_dP__dP__dP_88Y888P_n_________88________________________________________________________________________________88_______n_________dP________________________________________________________________________________dP_______n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400032d0
lea rdx, str.___________________________________________________________________________________________n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400032d0
call fcn.140002340
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x1400022c4
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400022bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400022bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000418c
mov qword [rbp + 7], 0
mov qword [rbp + 0xf], 0xf
mov byte [rbp - 9], 0
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x140002316
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002311
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002311
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000418c
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140004130
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rbp
ret