Function at 0x1400018f0
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
push rdi
mov eax, 0x1430
call fcn.140005080
sub rsp, rax
movaps xmmword [rsp + 0x1420], xmm6
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rsp + 0x1410], rax
lea rcx, [0x1400068b4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movdqa xmm6, xmmword [0x140006b60]
movdqu xmmword [rsp + 0x50], xmm6
mov byte [rsp + 0x40], 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, [rsp + 0x40]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.1400034f0
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.1400036d0
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400012b0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1400019fa
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400019ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400019ed
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 [rsp + 0x30], xmm6
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x60]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
cmp rsi, 0xf
cmova rcx, rdi
mov r8, qword [rsp + 0x70]
cmp r8, 0xe
jne 0x140001ad7
lea rdx, str.Invalid_Cookie
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140001ad7
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]
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
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.1400032d0
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 [rsp + 0x1404], 0xffffffff
mov dword [rsp + 0x84], eax
mov edx, 1
nop dword [rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x84], eax
inc rdx
cmp rdx, 0x270
jb 0x140001b20
mov dword [rsp + 0x80], 0x270
lea rcx, [rsp + 0x80]
call fcn.140003f00
mov ecx, eax
imul rbx, rcx, 0x2328
cmp ebx, 0x14af
ja 0x140001b8e
nop dword [rax + rax]
lea rcx, [rsp + 0x80]
call fcn.140003f00
mov ecx, eax
imul rbx, rcx, 0x2328
cmp ebx, 0x14b0
jb 0x140001b70
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.1400032d0
mov edx, 0xa
mov rcx, qword [0x140009798]
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 [0x140009798]
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.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
cmp rsi, 0xf
jbe 0x140001c6f
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140001c66
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001c66
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14000418c
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140001caf
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001caa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001caa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000418c
mov rcx, qword [rsp + 0x1410]
xor rcx, rsp
call fcn.140004130
lea r11, [rsp + 0x1430]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rdi
ret