Function at 0x140002c00
Capabilities:
Encode data using xor
Execute command
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1370]
mov eax, 0x1470
call fcn.1400081b0
sub rsp, rax
movaps xmmword [rsp + 0x1460], xmm6
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rbp + 0x1350], rax
lea rcx, [0x140009b34]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movdqa xmm6, xmmword [0x140009f60]
movdqu xmmword [rsp + 0x70], xmm6
mov byte [rsp + 0x60], 0
call fcn.1400020e0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rax
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x70], xmm1
xor r8d, r8d
lea rdx, [0x140009559]
lea rcx, [rbp - 0x80]
call fcn.140004890
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x50], xmm1
mov r8d, 0x12
lea rdx, str.Enter_the_cookie:
lea rcx, [rbp - 0x60]
call fcn.140004890
nop
lea rdi, [rbp - 0x80]
lea rbx, [rbp - 0x40]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], 0
mov ecx, 0x40
call fcn.140007190
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea rcx, [rax + 0x40]
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x40], rcx
lea r9, [rsp + 0x48]
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call fcn.140005000
mov qword [rsp + 0x50], rax
lea r9, [fcn.140003de0]
mov edx, 0x20
mov r8d, 2
lea rcx, [rbp - 0x80]
call fcn.1400071cc
lea rcx, [rsp + 0x48]
call fcn.140001fe0
lea rdx, [rsp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140004520
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.1400041a0
nop
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140002410
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140002db4
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002da7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002da7
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 [rsp + 0x30], xmm6
mov byte [rsp + 0x20], 0
lea rcx, [rbp - 0x80]
mov rdi, qword [rbp - 0x80]
mov rsi, qword [rbp - 0x68]
cmp rsi, 0xf
cmova rcx, rdi
mov r8, qword [rbp - 0x70]
cmp r8, 0xe
jne 0x140002e68
lea rdx, str.Invalid_Cookie
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140002e68
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.140004300
mov rcx, rax
lea rdx, [0x1400044e0]
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
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str._nChecking_for_pincode..
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004300
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x1344], 0xffffffff
mov dword [rbp - 0x3c], eax
mov ecx, 1
nop dword [rax]
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, ecx
mov dword [rbp + rcx*4 - 0x3c], eax
inc rcx
cmp rcx, 0x270
jb 0x140002eb0
mov dword [rbp - 0x40], 0x270
lea rcx, [rbp - 0x40]
call fcn.140005330
mov ecx, eax
imul rbx, rcx, 0x2328
cmp ebx, 0x14af
ja 0x140002f0a
lea rcx, [rbp - 0x40]
call fcn.140005330
mov ecx, eax
imul rbx, rcx, 0x2328
cmp ebx, 0x14b0
jb 0x140002ef0
shr rbx, 0x20
add ebx, 0x800003e8
btc ebx, 0x1f
lea rdx, str._n_nPincode:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004300
mov edx, 0xa
mov rcx, qword [0x14000d7f0]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov edx, ebx
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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 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
nop
cmp rsi, 0xf
jbe 0x140002fca
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140002fc1
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002fc1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14000729c
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000302e
mov rdx, qword [rsp + 0x50]
call fcn.140004990
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003017
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003017
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 [rsp + 0x48], xmm0
mov qword [rsp + 0x58], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14000306e
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003069
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003069
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 + 0x1350]
xor rcx, rsp
call fcn.140007170
lea r11, [rsp + 0x1470]
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