Function at 0x140086090
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 - 0x1340]
mov eax, 0x1440
call fcn.140200060
sub rsp, rax
movaps xmmword [rsp + 0x1430], xmm6
mov rax, qword [0x14025a0c0]
xor rax, rsp
mov qword [rbp + 0x1320], rax
mov r12, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor ebx, ebx
mov dword [rsp + 0x24], ebx
movups xmm0, xmmword [0x140236778]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [0x140236788]
movups xmmword [rsp + 0x38], xmm1
movups xmm0, xmmword [0x140236798]
movups xmmword [rsp + 0x48], xmm0
movsd xmm0, qword [0x1402367a8]
movsd qword [rsp + 0x58], xmm0
mov eax, dword [0x1402367b0]
mov dword [rsp + 0x60], eax
movzx eax, word [0x1402367b4]
mov word [rsp + 0x64], ax
movzx eax, byte [0x1402367b6]
mov byte [rsp + 0x66], al
mov r8d, ebx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140086270
movdqa xmm4, xmmword [0x14023e780]
movdqa xmm3, xmmword [0x14023eca0]
movdqa xmm5, xmmword [str.9999]
movdqa xmm0, xmmword [0x14023e850]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x2c]
movdqa xmm6, xmmword [0x14023e800]
mov edx, dword [rsp + 0x70]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
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 xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
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, 0x38
jl 0x140086181
cmp r8d, 0x3f
jge 0x1400862b3
movsxd rax, r8d
lea r9, [rsp + 0x28]
add r9, rax
nop dword [rax + rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x3f
jl 0x140086280
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
lea rax, [rsp + 0x28]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], bl
jne 0x1400862d0
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x70]
call fcn.1400b2060
nop
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov dword [rsp + 0x24], 1
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
mov dword [rbp + 0x1314], 0xffffffff
mov dword [rbp - 0x6c], eax
mov edx, 1
nop dword [rax]
nop word [rax + rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [rbp + rdx*4 - 0x6c], ecx
inc rdx
cmp rdx, 0x270
jb 0x140086330
mov dword [rbp - 0x70], 0x270
mov r15d, dword [rbp - 0x80]
dec r15d
test r12, r12
je 0x140086441
mov eax, 0x80000000
xor r15d, eax
mov r13, qword [rbp - 0x78]
movzx ebx, byte [rsp + 0x20]
nop word [rax + rax]
lea rcx, [rbp - 0x70]
cmp r15d, 0x7fffffff
jne 0x140086396
call fcn.1400b46a0
mov ecx, eax
jmp 0x1400863d7
lea esi, [r15 - 0x7fffffff]
call fcn.1400b46a0
mov r14d, esi
mov ecx, eax
imul rcx, r14
cmp ecx, esi
jae 0x1400863d3
mov eax, esi
neg eax
xor edx, edx
div esi
mov esi, edx
cmp ecx, edx
jae 0x1400863d3
nop dword [rax]
lea rcx, [rbp - 0x70]
call fcn.1400b46a0
mov ecx, eax
imul rcx, r14
cmp ecx, esi
jb 0x1400863c0
shr rcx, 0x20
mov r8d, 0x80000000
lea eax, [rcx + r8]
xor eax, r8d
lea rcx, [rsp + 0x70]
cmp r13, 0xf
cmova rcx, qword [rsp + 0x70]
cdqe
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x140086426
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x14008641b
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140086437
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.1400b23a0
sub r12, 1
jne 0x140086380
lea rcx, [rsp + 0x70]
call fcn.1400b02e0
mov rax, rdi
mov rcx, qword [rbp + 0x1320]
xor rcx, rsp
call fcn.1401ff5f0
lea r11, [rsp + 0x1440]
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