Function at 0x1400030a0
Capabilities:
Execute command

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rbp + 0x37], rax
lea rcx, [0x140009b34]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
movdqa xmm6, xmmword [0x140009f60]
movdqu xmmword [rbp - 0x19], xmm6
mov byte [rbp - 0x29], 0
call fcn.1400020e0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], rax
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 7], xmm1
xor r8d, r8d
lea rdx, [0x140009559]
lea rcx, [rbp - 9]
call fcn.140004890
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x27], xmm1
mov r8d, 0x12
lea rdx, str.Enter_the_cookie:
lea rcx, [rbp + 0x17]
call fcn.140004890
nop
lea rdi, [rbp - 9]
lea rbx, [rbp + 0x37]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], 0
mov ecx, 0x40
call fcn.140007190
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x39], rax
lea rcx, [rax + 0x40]
mov qword [rbp - 0x31], rcx
lea rcx, [rbp - 0x41]
mov qword [rbp - 0x49], rcx
lea r9, [rbp - 0x41]
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call fcn.140005000
mov qword [rbp - 0x39], rax
lea r9, [fcn.140003de0]
mov edx, 0x20
mov r8d, 2
lea rcx, [rbp - 9]
call fcn.1400071cc
lea rcx, [rbp - 0x41]
call fcn.140001fe0
lea rdx, [rbp - 0x29]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140004520
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r8, [rbp - 0x29]
lea rcx, [rbp - 0x69]
call fcn.1400041a0
nop
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.140002410
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0xf
jbe 0x140003236
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003229
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003229
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000729c
movdqa xmm6, xmmword [0x140009f60]
movdqu xmmword [rbp - 0x59], xmm6
mov byte [rbp - 0x69], 0
lea rcx, [rbp - 9]
mov rbx, qword [rbp - 9]
mov rdi, qword [rbp + 0xf]
cmp rdi, 0xf
cmova rcx, rbx
mov r8, qword [rbp + 7]
cmp r8, 0xe
jne 0x140003288
lea rdx, str.Invalid_Cookie
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140003288
mov edx, 0xc
mov rcx, qword [0x14000d7f0]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._nInvalid_cookie_
jmp 0x1400032a1
mov edx, 0xa
mov rcx, qword [0x14000d7f0]
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.140004300
lea rdx, [0x1400044e0]
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 [0x14000d7f0]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
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.140004300
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
lea rcx, [0x140009b34]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.1400020e0
call fcn.140003990
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.140004300
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
lea rcx, [0x140009b34]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.1400020e0
call fcn.140003990
nop
cmp rdi, 0xf
jbe 0x14000336b
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140003362
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003362
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14000729c
nop
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x1400033c9
mov rdx, qword [rbp - 0x39]
call fcn.140004990
mov rdx, qword [rbp - 0x31]
mov rcx, qword [rbp - 0x41]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400033b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400033b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000729c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x140003407
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003402
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003402
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000729c
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140007170
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret