Function at 0x1400410f0
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.1400c1c10
sub rsp, rax
movaps xmmword [rsp + 0x1430], xmm6
mov rax, qword [0x1401290c0]
xor rax, rsp
mov qword [rbp + 0x1320], rax
mov rsi, rcx
mov qword [rsp + 0x68], rcx
xor r14d, r14d
mov dword [rsp + 0x24], r14d
movups xmm0, xmmword [str._b_b_b_b_b_b_b_bxx]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [0x140115b10]
movups xmmword [rsp + 0x38], xmm1
movups xmm0, xmmword [0x140115b20]
movups xmmword [rsp + 0x48], xmm0
movsd xmm0, qword [0x140115b30]
movsd qword [rsp + 0x58], xmm0
mov eax, dword [0x140115b38]
mov dword [rsp + 0x60], eax
movzx eax, word [0x140115b3c]
mov word [rsp + 0x64], ax
movzx eax, byte [0x140115b3e]
mov byte [rsp + 0x66], al
mov r8d, r14d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400412ed
movdqa xmm5, xmmword [0x140116110]
movdqa xmm4, xmmword [0x1401162f0]
movdqa xmm6, xmmword [0x140116140]
movdqa xmm0, xmmword [str.8888888888888888]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x2c]
mov edx, dword [rsp + 0x70]
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
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 [0x1401161e0]
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 [0x1401161e0]
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 0x1400411e0
cmp r8d, 0x3f
jge 0x140041333
movsxd rax, r8d
lea r9, [rsp + 0x28]
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, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x3f
jl 0x140041300
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
lea rax, [rsp + 0x28]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], r14b
jne 0x140041350
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x70]
call fcn.14004f2f0
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
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 0x140041390
mov edi, 0x270
mov dword [rbp - 0x70], edi
mov r15d, dword [rbp - 0x80]
dec r15d
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov dword [rsp + 0x24], 1
mov r13d, reloc.WLDAP32.dll_Ordinal_32
mov r12, qword [rsp + 0x70]
movzx ebx, byte [rsp + 0x20]
nop dword [rax + rax]
cmp r15d, 0xffffffff
jne 0x140041566
cmp edi, 0x270
jne 0x140041451
lea r8, [rbp - 0x68]
mov r9d, edi
nop dword [rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, dword [r8 - 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x630]
shr edx, 1
xor ecx, edx
mov dword [r8 + 0x9bc], ecx
lea r8, [r8 + 4]
sub r9, 1
jne 0x140041410
mov edi, dword [rbp - 0x70]
jmp 0x14004152d
cmp edi, 0x4e0
jb 0x14004152d
mov r8, r14
mov eax, dword [rbp + r8*4 + 0x954]
mov edx, eax
xor edx, dword [rbp + r8*4 + 0x958]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [rbp + r8*4 + 0xf88]
shr edx, 1
xor ecx, edx
mov dword [rbp + r8*4 - 0x6c], ecx
inc r8
cmp r8, 0xe3
jb 0x140041460
mov r8d, 0xe3
nop dword [rax]
mov eax, dword [rbp + r8*4 + 0x954]
mov edx, eax
xor edx, dword [rbp + r8*4 + 0x958]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [rbp + r8*4 - 0x3f8]
shr edx, 1
xor ecx, edx
mov dword [rbp + r8*4 - 0x6c], ecx
inc r8
cmp r8, 0x26f
jb 0x1400414b0
mov edx, dword [rbp + 0x1310]
and edx, 0x80000000
mov eax, dword [rbp - 0x6c]
btr eax, 0x1f
or edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [rbp + 0x5c4]
mov dword [rbp + 0x950], ecx
mov edi, r14d
mov dword [rbp - 0x70], r14d
mov eax, edi
mov edx, dword [rbp + rax*4 - 0x6c]
inc edi
mov dword [rbp - 0x70], edi
mov eax, edx
shr eax, 0xb
and eax, dword [rbp + 0x1314]
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
jmp 0x1400415ad
lea edi, [r15 + 1]
lea rcx, [rbp - 0x70]
call fcn.140056fc0
mov r14d, edi
mov ecx, eax
imul rcx, r14
cmp ecx, edi
jae 0x1400415a3
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x1400415a3
nop
lea rcx, [rbp - 0x70]
call fcn.140056fc0
mov ecx, eax
imul rcx, r14
cmp ecx, edi
jb 0x140041590
shr rcx, 0x20
mov edi, dword [rbp - 0x70]
xor r14d, r14d
lea rdx, [rsp + 0x70]
mov r8, qword [rbp - 0x78]
cmp r8, 0xf
cmova rdx, r12
movsxd rax, ecx
movzx r9d, byte [rax + rdx]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x1400415f2
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0xf
jbe 0x1400415e7
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140041607
movzx r8d, bl
mov edx, 1
mov rcx, rsi
call fcn.14003d020
mov r8, qword [rbp - 0x78]
sub r13, 1
jne 0x1400413f0
cmp r8, 0xf
jbe 0x14004164c
lea rdx, [r8 + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x140041644
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041644
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.1400c146c
mov rax, rsi
mov rcx, qword [rbp + 0x1320]
xor rcx, rsp
call fcn.1400c11b0
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