Function at 0x1400ec100
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.1401473a0
sub rsp, rax
movaps xmmword [rsp + 0x1470], xmm6
mov rax, qword [0x14018c080]
xor rax, rsp
mov qword [rbp + 0x1360], rax
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rsi
mov r15d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x60], r15
mov byte [rbp - 0x78], sil
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbp + 0x1354], 0xffffffff
mov dword [rbp - 0x2c], eax
lea ecx, [rsi + 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 - 0x2c], edx
inc rcx
cmp rcx, 0x270
jb 0x1400ec190
mov dword [rbp - 0x30], 0x270
movups xmm0, xmmword [str.xxxxxxx_b_b_b_b_b_b_b_b]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x140175120]
movups xmmword [rsp + 0x70], xmm1
mov eax, dword [0x140175130]
mov dword [rbp - 0x80], eax
movzx eax, byte [0x140175134]
mov byte [rbp - 0x7c], al
mov r8d, esi
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400ec32d
movdqa xmm5, xmmword [0x140176070]
movdqa xmm4, xmmword [0x140176390]
movdqa xmm6, xmmword [0x1401760b0]
movdqa xmm0, xmmword [0x140176220]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x64]
mov edx, dword [rsp + 0x40]
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x1401761c0]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x1401761c0]
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 0x1400ec220
cmp r8d, 0x25
jge 0x1400ec373
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x25
jl 0x1400ec340
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], rsi
lea rax, [rsp + 0x60]
mov r14, 0xffffffffffffffff
mov r8, r14
inc r8
cmp byte [rax + r8], 0
jne 0x1400ec391
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x58]
call fcn.1400591d0
nop
mov r13d, dword [rbp - 0x48]
dec r13d
mov r12d, 0xa
nop word [rax + rax]
lea rcx, [rbp - 0x30]
cmp r13d, 0xffffffff
jne 0x1400ec3d3
call fcn.14008a7b0
mov ecx, eax
jmp 0x1400ec40d
lea ebx, [r13 + 1]
call fcn.14008a7b0
mov edi, ebx
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jae 0x1400ec409
mov eax, ebx
neg eax
xor edx, edx
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x1400ec409
lea rcx, [rbp - 0x30]
call fcn.14008a7b0
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x1400ec3f6
shr rcx, 0x20
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rdx, qword [rbp - 0x58]
movsxd rax, ecx
movzx r9d, byte [rax + rdx]
cmp rsi, r15
jae 0x1400ec448
lea rax, [rsi + 1]
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x78]
cmp r15, 0xf
cmova rax, qword [rbp - 0x78]
mov byte [rax + rsi], r9b
mov byte [rax + rsi + 1], 0
jmp 0x1400ec451
lea rcx, [rbp - 0x78]
call fcn.140060790
sub r12, 1
je 0x1400ec464
mov r15, qword [rbp - 0x60]
mov rsi, qword [rbp - 0x68]
jmp 0x1400ec3c0
mov eax, dword [0x14017568c]
mov dword [rsp + 0x40], eax
movzx eax, byte [0x140175690]
mov byte [rsp + 0x40], Ordinal_79
xor byte [rsp + 0x41], 0x3a
xor byte [rsp + 0x42], 0x3b
xor byte [rsp + 0x43], 0x3c
xor al, 0x3d
mov byte [rsp + 0x44], al
lea rax, [rsp + 0x40]
inc r14
cmp byte [rax + r14], 0
jne 0x1400ec494
movabs rax, 0x7fffffffffffffff
mov rdx, qword [rbp - 0x68]
sub rax, rdx
cmp rax, r14
jb 0x1400ec52e
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rcx, qword [rbp - 0x78]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
call fcn.1400619a0
nop
lea rcx, [rbp - 0x58]
call fcn.14003d760
nop
lea rcx, [rbp - 0x78]
call fcn.14003d760
mov rax, qword [rsp + 0x58]
mov rcx, qword [rbp + 0x1360]
xor rcx, rsp
call fcn.140146930
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
call fcn.140050a90
nop
int3