Function at 0x140002590
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
push r14
push r15
lea rbp, [rsp - 0x13f0]
mov eax, 0x14f0
call fcn.140008110
sub rsp, rax
movaps xmmword [rsp + 0x14e0], xmm6
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rbp + 0x13d0], rax
lea rcx, [0x140009934]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
movdqa xmm6, xmmword [0x140009d60]
movdqu xmmword [rbp - 0x10], xmm6
mov byte [rbp - 0x20], 0
call fcn.1400020e0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rax
movups xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x10], xmm1
xor r8d, r8d
lea rdx, [0x140009559]
lea rcx, [rbp]
call fcn.1400047e0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x30], xmm1
mov r8d, 0x12
lea rdx, str.Enter_the_cookie:
lea rcx, [rbp + 0x20]
call fcn.1400047e0
nop
lea rdi, [rbp]
lea rbx, [rbp + 0x40]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
xor r15d, r15d
mov qword [rbp - 0x28], r15
mov ecx, 0x40
call fcn.1400070f0
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
lea rcx, [rax + 0x40]
mov qword [rbp - 0x28], rcx
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x38]
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call fcn.140004f50
mov qword [rbp - 0x30], rax
lea r9, [fcn.140003d30]
mov edx, 0x20
mov r8d, 2
lea rcx, [rbp]
call fcn.14000712c
lea rcx, [rbp - 0x38]
call fcn.140001fe0
lea rdx, [rbp - 0x20]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140004470
lea r8, [rbp - 0x20]
lea rcx, [rsp + 0x28]
call fcn.1400040f0
nop
mov rdx, rax
lea rcx, [rbp]
call fcn.140002360
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140002737
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000272a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000272a
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 + 0x38], xmm6
mov byte [rsp + 0x28], 0
lea rcx, [rbp]
mov rdi, qword [rbp]
mov rsi, qword [rbp + 0x18]
cmp rsi, 0xf
cmova rcx, rdi
mov r8, qword [rbp + 0x10]
cmp r8, 0xe
jne 0x1400027eb
lea rdx, str.Invalid_Cookie
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400027eb
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
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rax
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x60], xmm1
xor r8d, r8d
lea rdx, [0x140009559]
lea rcx, [rsp + 0x50]
call fcn.1400047e0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x80], xmm1
mov r8d, 0x23
lea rdx, str.Checking_for_pending_2FA_requests..
lea rcx, [rsp + 0x70]
call fcn.1400047e0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x60], xmm1
mov r8d, 0x4a
lea rdx, str._WARNING__If_there_is_no_pending_2FA_request__an_old_one_will_be_returned_
lea rcx, [rbp - 0x70]
call fcn.1400047e0
nop
lea r14, [rsp + 0x50]
lea rbx, [rbp - 0x50]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r15
mov ecx, 0x60
call fcn.1400070f0
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
lea rcx, [rax + 0x60]
mov qword [rbp - 0x40], rcx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x50]
mov r8, rax
mov rdx, rbx
mov rcx, r14
call fcn.140004f50
mov qword [rbp - 0x48], rax
lea r9, [fcn.140003d30]
mov edx, 0x20
mov r8d, 3
lea rcx, [rsp + 0x50]
call fcn.14000712c
lea rcx, [rbp - 0x50]
call fcn.140001fe0
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 + 0x13c4], 0xffffffff
mov dword [rbp + 0x44], eax
mov edx, 1
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 + 0x44], eax
inc rdx
cmp rdx, 0x270
jb 0x140002910
mov dword [rbp + 0x40], 0x270
lea rcx, [rbp + 0x40]
call fcn.140005280
mov ecx, eax
imul rbx, rcx, 0xdbba0
cmp ebx, 0x28d7f
ja 0x14000296a
lea rcx, [rbp + 0x40]
call fcn.140005280
mov ecx, eax
imul rbx, rcx, 0xdbba0
cmp ebx, 0x28d80
jb 0x140002950
shr rbx, 0x20
add ebx, 0x800186a0
btc ebx, 0x1f
lea rdx, str._n_n2FA_Code:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004250
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.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 - 0x50]
test rcx, rcx
je 0x140002a49
mov rdx, qword [rbp - 0x48]
call fcn.1400048e0
mov rdx, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x50]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a38
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002a38
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 - 0x50], xmm0
mov qword [rbp - 0x40], r15
cmp rsi, 0xf
jbe 0x140002a84
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140002a7b
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002a7b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400071fc
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140002ade
mov rdx, qword [rbp - 0x30]
call fcn.1400048e0
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x38]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002acd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002acd
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 - 0x38], xmm0
mov qword [rbp - 0x28], r15
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x140002b1c
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002b17
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 + 0x13d0]
xor rcx, rsp
call fcn.1400070d0
lea r11, [rsp + 0x14f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret