Function at 0x14000c320
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.1401e1c30
sub rsp, rax
movaps xmmword [rsp + 0x1430], xmm6
mov rax, qword [0x1402cbc00]
xor rax, rsp
mov qword [rbp + 0x1320], rax
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor ebx, ebx
mov dword [rsp + 0x24], ebx
movups xmm0, xmmword [str.XXXXXXX________88888888___]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [0x140285f00]
movups xmmword [rsp + 0x38], xmm1
movups xmm0, xmmword [0x140285f10]
movups xmmword [rsp + 0x48], xmm0
movsd xmm0, qword [0x140285f20]
movsd qword [rsp + 0x58], xmm0
mov eax, dword [0x140285f28]
mov dword [rsp + 0x60], eax
movzx eax, word [0x140285f2c]
mov word [rsp + 0x64], ax
movzx eax, byte [0x140285f2e]
mov byte [rsp + 0x66], al
mov r8d, ebx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14000c4f7
movdqa xmm4, xmmword [0x14029dc40]
movdqa xmm3, xmmword [0x14029dd00]
movdqa xmm5, xmmword [str.4444]
movdqa xmm0, xmmword [0x14029dce0]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x2c]
movdqa xmm6, xmmword [0x14029dcb0]
mov edx, dword [rsp + 0x70]
nop
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
psrad xmm1, 4
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
psrad xmm1, 4
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 0x14000c410
cmp r8d, 0x3f
jge 0x14000c540
movsxd rax, r8d
lea r9, [rsp + 0x28]
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, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x3f
jl 0x14000c510
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 dword [rax]
inc r8
cmp byte [rax + r8], bl
jne 0x14000c560
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x70]
call fcn.140039b70
nop
call fcn.1401c0c14
mov edx, eax
mov dword [rbp + 0x1314], 0xffffffff
mov dword [rbp - 0x6c], 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 [rbp + rcx*4 - 0x6c], edx
inc rcx
cmp rcx, 0x270
jb 0x14000c5a0
mov dword [rbp - 0x70], 0x270
mov r15d, dword [rbp - 0x80]
dec r15d
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
mov eax, 0x80000000
xor r15d, eax
mov r12d, reloc.WS2_32.dll_recv
mov r13, qword [rbp - 0x78]
movzx ebx, byte [rsp + 0x20]
lea rcx, [rbp - 0x70]
cmp r15d, 0x7fffffff
jne 0x14000c617
call fcn.14003fc30
mov ecx, eax
jmp 0x14000c657
lea esi, [r15 - 0x7fffffff]
call fcn.14003fc30
mov r14d, esi
mov ecx, eax
imul rcx, r14
cmp ecx, esi
jae 0x14000c653
mov eax, esi
neg eax
xor edx, edx
div esi
mov esi, edx
cmp ecx, edx
jae 0x14000c653
nop
lea rcx, [rbp - 0x70]
call fcn.14003fc30
mov ecx, eax
imul rcx, r14
cmp ecx, esi
jb 0x14000c640
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 0x14000c6a6
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x14000c69b
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000c6b7
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.14003a880
sub r12, 1
jne 0x14000c601
lea rcx, [rsp + 0x70]
call fcn.140034ac0
mov rax, rdi
mov rcx, qword [rbp + 0x1320]
xor rcx, rsp
call fcn.1401e1190
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