Function at 0x14000a410
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 - 0x1380]
mov eax, 0x1480
call fcn.14006d560
sub rsp, rax
movaps xmmword [rsp + 0x1470], xmm6
mov rax, qword [0x1400950c0]
xor rax, rsp
mov qword [rbp + 0x1360], rax
mov r15, rdx
mov rbx, rcx
mov qword [rbp - 0x60], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
movups xmm0, xmmword [0x1400720a0]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x1400720b0]
movups xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [0x1400720c0]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x1400720d0]
movups xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [0x1400720e0]
movups xmmword [rbp - 0x80], xmm0
mov eax, dword [0x1400720f0]
mov dword [rbp - 0x70], eax
movzx eax, word [0x1400720f4]
mov word [rbp - 0x6c], ax
mov r8d, edi
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14000a605
movdqa xmm5, xmmword [0x1400721f0]
movdqa xmm4, xmmword [0x140072720]
movdqa xmm6, xmmword [0x140072210]
movdqa xmm0, xmmword [0x140072600]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x44]
mov edx, dword [rsp + 0x30]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140072320]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140072320]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x50
jl 0x14000a500
cmp r8d, 0x56
jge 0x14000a640
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x56
jl 0x14000a610
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], rdi
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14000a660
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x58]
call fcn.140002fa0
nop
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov edx, eax
mov dword [rbp + 0x1354], 0xffffffff
mov dword [rbp - 0x2c], eax
mov ecx, 1
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rbp + rcx*4 - 0x2c], edx
inc rcx
cmp rcx, 0x270
jb 0x14000a691
mov dword [rbp - 0x30], 0x270
mov r14d, dword [rbp - 0x48]
dec r14d
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov dword [rsp + 0x20], 1
mov r13, qword [rbp - 0x40]
mov r12, qword [rbp - 0x58]
test r15, r15
je 0x14000a7a1
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
cmp r14d, 0xffffffff
jne 0x14000a709
call fcn.140006ae0
mov ecx, eax
jmp 0x14000a748
lea edi, [r14 + 1]
call fcn.140006ae0
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x14000a744
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x14000a744
nop dword [rax]
lea rcx, [rsp + 0x30]
call fcn.140006ae0
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x14000a730
shr rcx, 0x20
lea rdx, [rbp - 0x58]
cmp r13, 0xf
cmova rdx, r12
movsxd rax, ecx
movzx r9d, byte [rax + rdx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14000a788
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14000a77d
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000a797
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140003fd0
sub r15, 1
jne 0x14000a6f5
cmp r13, 0xf
jbe 0x14000a7dc
lea rdx, [r13 + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x14000a7d4
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a7d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.14006d208
mov rax, rbx
mov rcx, qword [rbp + 0x1360]
xor rcx, rsp
call fcn.14006d5c0
lea r11, [rsp + 0x1480]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret