Function at 0x1400016d0
Capabilities:
Create thread
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x1360]
mov eax, 0x1500
call fcn.140003980
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1350], rax
xor edi, edi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x1344], 0xffffffff
mov dword [rbp - 0x3c], eax
lea edx, [rdi + 1]
nop dword [rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 - 0x3c], eax
inc rdx
cmp rdx, 0x270
jb 0x140001720
mov dword [rbp - 0x40], 0x270
lea rcx, [rbp - 0x40]
call fcn.140002950
mov ecx, eax
imul rax, rcx, 0x65
cmp eax, 0x43
ja 0x140001774
nop word [rax + rax]
lea rcx, [rbp - 0x40]
call fcn.140002950
mov ecx, eax
imul rax, rcx, 0x65
cmp eax, 0x44
jb 0x140001760
shr rax, 0x20
mov dword [rsp + 0x110], eax
mov byte [rsp + 0x108], 0x82
mov byte [rsp + 0x100], 0x50
mov byte [rsp + 0xf8], 0xe6
call fcn.1400011c0
mov rbx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002590
mov rcx, rax
mov rdx, rbx
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___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x140002740]
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 ecx, 8
call fcn.140002b48
lea rcx, [0x1400019e0]
mov qword [rax], rcx
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140002ae0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x60], rax
test rax, rax
je 0x1400019c6
mov ecx, 8
call fcn.140002b48
lea rcx, [0x140001ae0]
mov qword [rax], rcx
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140002ae0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x70], rax
test rax, rax
je 0x1400019b7
mov ecx, 8
call fcn.140002b48
lea rcx, [0x140001c70]
mov qword [rax], rcx
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140002ae0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x1400019a8
cmp dword [rbp - 0x58], 0
je 0x14000199c
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 0x58], eax
je 0x140001990
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x80], xmm0
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x140001984
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
cmp dword [rbp - 0x68], eax
je 0x14000199c
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 0x68], eax
je 0x140001990
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x80], xmm0
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x140001984
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
cmp dword [rbp - 0x48], eax
je 0x14000199c
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 0x48], eax
je 0x140001990
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x80], xmm0
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x140001984
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
cmp dword [rbp - 0x68], eax
je 0x140001951
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp dword [rbp - 0x58], 0
je 0x14000195e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor eax, eax
mov rcx, qword [rbp + 0x1350]
xor rcx, rsp
call fcn.140002b20
lea r11, [rsp + 0x1500]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x48], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x68], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x58], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3