Function at 0x14005ca60
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 - 0x1320]
mov eax, 0x1420
call fcn.1400d63a0
sub rsp, rax
movaps xmmword [rsp + 0x1410], xmm6
mov rax, qword [0x1401080c0]
xor rax, rsp
mov qword [rbp + 0x1300], rax
mov rsi, rcx
mov qword [rsp + 0x20], rcx
xor edi, edi
movups xmm0, xmmword [0x1400f1ce0]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [0x1400f1cf0]
movups xmmword [rsp + 0x58], xmm1
movzx eax, byte [0x1400f1d00]
mov byte [rsp + 0x68], al
mov r8d, edi
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14005cc17
movdqa xmm5, xmmword [0x1400f4ab0]
movdqa xmm4, xmmword [0x1400f4c70]
movdqa xmm6, xmmword [0x1400f4ae0]
movdqa xmm0, xmmword [str.33333333333333337777777777777777]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x4c]
mov edx, dword [rsp + 0x20]
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 [0x1400f4b90]
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 [0x1400f4b90]
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, 0x20
jl 0x14005cb12
cmp r8d, 0x21
jge 0x14005cc60
movsxd rax, r8d
lea r9, [rsp + 0x48]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x21
jl 0x14005cc30
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rax, [rsp + 0x48]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], dil
jne 0x14005cc80
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x20]
call fcn.1400045d0
nop
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rdx, qword [rsp + 0x20]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
nop dword [rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x14005ccc0
mov r8, rbx
lea rcx, [rsp + 0x48]
call fcn.1400045d0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14005cd17
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005cd12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005cd12
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d56e4
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbp + 0x12f4], 0xffffffff
mov dword [rsp + 0x74], eax
mov ecx, 1
nop dword [rax]
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x74], edx
inc rcx
cmp rcx, 0x270
jb 0x14005cd40
mov dword [rsp + 0x70], 0x270
mov r14, qword [rsp + 0x58]
dec r14
xor r8d, r8d
lea edx, [r8 + 4]
mov rcx, rsi
call fcn.140046360
mov rcx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x14005cd90
mov rcx, qword [rsi]
mov rdx, rcx
jmp 0x14005cd93
mov rdx, rsi
mov rdi, rcx
mov r12, qword [rsi + 0x10]
add r12, rdx
mov r13, qword [rsp + 0x60]
mov r15, qword [rsp + 0x48]
cmp rcx, r12
je 0x14005ce0d
nop dword [rax]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
cmp r14, 0xffffffffffffffff
jne 0x14005cde1
lea rcx, [rsp + 0x70]
call fcn.140073d40
mov ebx, eax
shl rbx, 0x20
lea rcx, [rsp + 0x70]
call fcn.140073d40
mov eax, eax
or rbx, rax
jmp 0x14005cdf2
lea rdx, [r14 + 1]
lea rcx, [rsp + 0x20]
call fcn.140073b90
mov rbx, rax
lea rax, [rsp + 0x48]
cmp r13, 0xf
cmova rax, r15
movzx eax, byte [rbx + rax]
mov byte [rdi], al
inc rdi
cmp rdi, r12
jne 0x14005cdb0
cmp r13, 0xf
jbe 0x14005ce47
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x14005ce3f
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ce3f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.1400d56e4
mov rax, rsi
mov rcx, qword [rbp + 0x1300]
xor rcx, rsp
call fcn.1400d5680
lea r11, [rsp + 0x1420]
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