Function at 0x140003380
Capabilities:
Execute command

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rbp - 8], rax
lea rcx, [0x140009934]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
movdqa xmm6, xmmword [0x140009d60]
movdqu xmmword [rbp - 0x18], xmm6
mov byte [rbp - 0x28], 0
call fcn.1400020e0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x30], xmm1
xor r8d, r8d
lea rdx, [0x140009559]
lea rcx, [rsp + 0x20]
call fcn.1400047e0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x50], xmm1
mov r8d, 0x12
lea rdx, str.Enter_the_cookie:
lea rcx, [rsp + 0x40]
call fcn.1400047e0
nop
lea rdi, [rsp + 0x20]
lea rbx, [rsp + 0x60]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
xor esi, esi
mov qword [rbp - 0x68], rsi
mov ecx, 0x40
call fcn.1400070f0
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
lea rcx, [rax + 0x40]
mov qword [rbp - 0x68], rcx
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x60], rcx
lea r9, [rbp - 0x78]
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call fcn.140004f50
mov qword [rbp - 0x70], rax
lea r9, [fcn.140003d30]
mov edx, 0x20
mov r8d, 2
lea rcx, [rsp + 0x20]
call fcn.14000712c
lea rcx, [rbp - 0x78]
call fcn.140001fe0
lea rdx, [rbp - 0x28]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140004470
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r8, [rbp - 0x28]
lea rcx, [rsp + 0x68]
call fcn.1400040f0
nop
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.140002360
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140003524
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003517
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003517
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400071fc
movdqa xmm6, xmmword [0x140009d60]
movdqu xmmword [rsp + 0x78], xmm6
mov byte [rsp + 0x68], 0
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0xf
cmova rcx, qword [rbp - 0x48]
mov r8, qword [rbp - 0x38]
cmp r8, 0xe
jne 0x1400035d7
lea rdx, str.Invalid_Cookie
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400035d7
mov edx, 0xc
mov rcx, qword [0x14000d7f0]
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.140004250
mov rcx, rax
lea rdx, [0x140004430]
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.140004250
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
lea rcx, [0x140009934]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.1400020e0
call fcn.1400038e0
jmp 0x140003798
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.140004250
mov rcx, rax
lea rdx, [0x140004430]
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]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rax
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x30], xmm1
xor r8d, r8d
lea rdx, [0x140009559]
lea rcx, [rsp + 0x20]
call fcn.1400047e0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x50], xmm1
mov r8d, 0x11
lea rdx, str.Refreshed_cookie:
lea rcx, [rsp + 0x40]
call fcn.1400047e0
nop
lea rdi, [rsp + 0x20]
lea rbx, [rsp + 0x60]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rsi
mov ecx, 0x40
call fcn.1400070f0
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
lea rcx, [rax + 0x40]
mov qword [rbp - 0x50], rcx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x60], rcx
lea r9, [rbp - 0x60]
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call fcn.140004f50
mov qword [rbp - 0x58], rax
lea r9, [fcn.140003d30]
mov edx, 0x20
mov r8d, 2
lea rcx, [rsp + 0x20]
call fcn.14000712c
lea rcx, [rbp - 0x60]
call fcn.140001fe0
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0xf
cmova rdx, qword [rbp - 0x48]
mov r8, qword [rbp - 0x38]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004d90
lea rdx, [0x140004430]
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.140004250
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
lea rcx, [0x140009934]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.1400020e0
call fcn.1400038e0
nop
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x140003798
mov rdx, qword [rbp - 0x58]
call fcn.1400048e0
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x60]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003793
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003793
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400071fc
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.140004250
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
lea rcx, [0x140009934]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.1400020e0
call fcn.1400038e0
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140003807
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003802
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003802
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400071fc
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140003871
mov rdx, qword [rbp - 0x70]
call fcn.1400048e0
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x78]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003860
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003860
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400071fc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rsi
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x1400038af
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400038aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400038aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400071fc
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400070d0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret