Function at 0x14020b2f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1390]
mov eax, 0x1490
call fcn.1402f8180
sub rsp, rax
mov rax, qword [0x14038c0c0]
xor rax, rsp
mov qword [rbp + 0x1380], rax
mov r12, rcx
mov qword [rbp - 0x18], rcx
mov dword [rsp + 0x24], 0
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbp + 0x1374], 0xffffffff
mov dword [rbp - 0xc], eax
mov ecx, 1
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rbp + rcx*4 - 0xc], edx
inc rcx
cmp rcx, 0x270
jb 0x14020b360
mov dword [rbp - 0x10], 0x270
lea r13, str.0123456789ABCDEF
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xor edi, edi
mov qword [rsp + 0x78], rdi
mov r15d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x80], r15
mov byte [rsp + 0x68], dil
mov dword [rsp + 0x24], 2
mov r14d, 0xa
mov esi, r14d
movzx ebx, byte [rsp + 0x20]
lea rcx, [rbp - 0x10]
call fcn.140201e30
mov eax, eax
shl rax, 4
shr rax, 0x20
add eax, 0x80000000
movsxd rcx, eax
xor rcx, 0xffffffff80000000
movzx r9d, byte [rcx + r13]
cmp rdi, r15
jae 0x14020b410
lea rax, [rdi + 1]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x68]
cmp r15, 0xf
cmova rax, qword [rsp + 0x68]
mov byte [rax + rdi], r9b
mov byte [rax + rdi + 1], 0
jmp 0x14020b423
movzx r8d, bl
mov edx, 1
lea rcx, [rsp + 0x68]
call fcn.14021f610
sub rsi, 1
je 0x14020b434
mov r15, qword [rbp - 0x80]
mov rdi, qword [rsp + 0x78]
jmp 0x14020b3c1
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xor edi, edi
mov qword [rsp + 0x58], rdi
mov r15d, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x60], r15
mov byte [rsp + 0x48], dil
mov dword [rsp + 0x24], 6
mov rsi, r14
movzx ebx, byte [rsp + 0x20]
lea rcx, [rbp - 0x10]
call fcn.140201e30
mov eax, eax
shl rax, 4
shr rax, 0x20
add eax, 0x80000000
movsxd rcx, eax
xor rcx, 0xffffffff80000000
movzx r9d, byte [rcx + r13]
cmp rdi, r15
jae 0x14020b4b2
lea rax, [rdi + 1]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
cmp r15, 0xf
cmova rax, qword [rsp + 0x48]
mov byte [rax + rdi], r9b
mov byte [rax + rdi + 1], 0
jmp 0x14020b4c5
movzx r8d, bl
mov edx, 1
lea rcx, [rsp + 0x48]
call fcn.14021f610
sub rsi, 1
je 0x14020b4d7
mov r15, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
jmp 0x14020b463
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xor esi, esi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], sil
mov edi, reloc.WS2_32.dll_ntohl
mov dword [rsp + 0x24], edi
movzx ebx, byte [rsp + 0x20]
lea rcx, [rbp - 0x10]
call fcn.140201e30
mov eax, eax
shl rax, 4
shr rax, 0x20
add eax, 0x80000000
movsxd rcx, eax
xor rcx, 0xffffffff80000000
movzx r9d, byte [rcx + r13]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
cmp rcx, rdx
jae 0x14020b55b
lea rax, [rcx + 1]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x28]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x28]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], sil
jmp 0x14020b56e
movzx r8d, bl
mov edx, 1
lea rcx, [rsp + 0x28]
call fcn.14021f610
sub r14, 1
jne 0x14020b502
mov r8d, 1
lea rdx, [0x140367fec]
lea rcx, [rsp + 0x28]
call fcn.140219080
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rax + 0x10], rsi
mov byte [rax], sil
or edi, 0x10
mov dword [rsp + 0x24], edi
lea r9, [rsp + 0x48]
lea r8, [rbp - 0x38]
movzx edx, byte [rsp + 0x20]
lea rcx, [rbp - 0x78]
call fcn.140221280
or edi, 0x20
mov dword [rsp + 0x24], edi
mov r8d, 1
lea rdx, [0x140367fec]
lea rcx, [rbp - 0x78]
call fcn.140219080
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r14b
or edi, 0x40
mov dword [rsp + 0x24], edi
lea r9, [rsp + 0x68]
lea r8, [rbp - 0x58]
movzx edx, byte [rsp + 0x20]
mov rcx, r12
call fcn.140221280
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x14020b65f
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14020b659
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14020b659
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402f7b14
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x14020b69d
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14020b698
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14020b698
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402f7b14
movdqa xmm0, xmmword [0x14036ebe0]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x14020b6ed
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14020b6e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14020b6e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402f7b14
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14020b72d
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14020b728
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14020b728
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402f7b14
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14020b781
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14020b77b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14020b77b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402f7b14
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x14020b7c0
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14020b7bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14020b7bb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402f7b14
mov rax, r12
mov rcx, qword [rbp + 0x1380]
xor rcx, rsp
call fcn.1402f73e0
lea r11, [rsp + 0x1490]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret