Function at 0x1400586d0
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
mov eax, 0x14b0
call fcn.1400f2790
sub rsp, rax
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x14014b0c0]
xor rax, rsp
mov qword [rbp + 0x1460], rax
mov rdi, rcx
mov qword [rbp + 0x60], rcx
xor r12d, r12d
mov dword [rbp + 8], r12d
movabs rax, 0x6409eb0e1c8ba18c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
movabs rax, 0x921d13f32b53f55f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
movabs rax, 0x6edf9dcc74a5ae4e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
movabs rax, 0x55fab5efdc045ea9
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
movabs rax, 0x37d362a436b5a7c6
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0x3b2b66417b6ec4b5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rax, 0xa18fca3d4ac1e8e4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
movabs rax, 0xbd3f3408bfdb7600
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
movabs rax, 0xc6e8d6b78e8c3ed
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1420], rax
movabs rax, 0xe2727d9e47389f36
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1428], rax
movabs rax, 0x16a8ebb900d6dc3f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1430], rax
movabs rax, 0x13bff1ac9e4524d0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1438], rax
movabs rax, 0x799e2eef7cfcef81
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1440], rax
movabs rax, 0x6d7e3212293f94fa
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1448], rax
movabs rax, 0x92bdfb0d1098b0b3
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1450], rax
movabs rax, 0xbd3f0d3088ed4334
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1458], rax
vmovdqu ymm0, ymmword [rbp + 0x20]
vpxor ymm1, ymm0, ymmword [rbp + 0x1420]
vmovdqa ymmword [rbp + 0x20], ymm1
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0x1440]
vmovdqa ymmword [rbp + 0x40], ymm1
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x68], xmm0
mov qword [rbp + 0x78], r12
mov qword [rbp + 0x80], r12
lea rax, [rbp + 0x20]
mov r8, 0xffffffffffffffff
vzeroupper
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x1400588e0
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x68]
call fcn.14004ebe0
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbp + 0x1414], 0xffffffff
mov dword [rbp + 0x94], eax
mov ecx, 1
nop dword [rax]
nop dword [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rbp + rcx*4 + 0x94], edx
inc rcx
cmp rcx, 0x270
jb 0x140058920
mov dword [rbp + 0x90], 0x270
mov r15, qword [rbp + 0x78]
dec r15
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov dword [rbp + 8], 1
mov esi, reloc.WS2_32.dll_recv
mov edx, esi
mov rcx, rdi
call fcn.1400647b0
mov r13, qword [rbp + 0x80]
mov r14, qword [rbp + 0x68]
nop dword [rax]
lea rax, [rbp + 0x90]
mov qword [rbp], rax
cmp r15, 0xffffffffffffffff
jne 0x140058cef
mov edx, dword [rbp + 0x90]
cmp edx, 0x270
jne 0x140058a07
lea rax, [rbp + 0x98]
mov r9d, edx
nop dword [rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
btr r8d, 0x1f
xor r8d, dword [rax - 4]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
and edx, 0x9908b0df
xor edx, dword [rax + 0x630]
shr r8d, 1
xor edx, r8d
mov dword [rax + 0x9bc], edx
lea rax, [rax + 4]
sub r9, 1
jne 0x1400589c0
mov edx, dword [rbp + 0x90]
jmp 0x140058b0c
cmp edx, 0x4e0
jb 0x140058b0c
lea r9, [rbp + 0xa54]
mov r11d, 0xe3
mov r10d, dword [rbp + 0xa54]
nop word [rax + rax]
mov eax, r10d
mov r8, r9
add r9, 4
mov r10d, dword [r9]
mov edx, r10d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
shr edx, 1
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub r11, 1
jne 0x140058a30
lea r9, [rbp + 0xde0]
mov r11d, 0x18c
mov r10d, dword [rbp + 0xde0]
nop dword [rax]
nop word [rax + rax]
mov eax, r10d
mov r8, r9
add r9, 4
mov r10d, dword [r9]
mov edx, r10d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
shr edx, 1
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub r11, 1
jne 0x140058a90
mov edx, dword [rbp + 0x1410]
xor edx, dword [rbp + 0x94]
btr edx, 0x1f
xor edx, dword [rbp + 0x1410]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [rbp + 0x6c4]
mov dword [rbp + 0xa50], ecx
mov dword [rbp + 0x90], r12d
mov edx, r12d
mov eax, edx
mov ecx, dword [rbp + rax*4 + 0x94]
inc edx
mov dword [rbp + 0x90], edx
mov eax, ecx
shr eax, 0xb
and eax, dword [rbp + 0x1414]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov ebx, ecx
shr ebx, 0x12
xor ebx, ecx
shl rbx, 0x20
cmp edx, 0x270
jne 0x140058ba4
lea r8, [rbp + 0x98]
mov r9d, edx
nop
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
shr edx, 1
xor ecx, edx
xor ecx, dword [r8 + 0x630]
mov dword [r8 + 0x9bc], ecx
lea r8, [r8 + 4]
sub r9, 1
jne 0x140058b60
mov edx, dword [rbp + 0x90]
jmp 0x140058cac
cmp edx, 0x4e0
jb 0x140058cac
lea r9, [rbp + 0xa54]
mov r11d, 0xe3
mov r10d, dword [rbp + 0xa54]
nop dword [rax]
nop dword [rax + rax]
mov eax, r10d
mov r8, r9
add r9, 4
mov r10d, dword [r9]
mov edx, eax
xor edx, r10d
btr edx, 0x1f
xor 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 [r8 + 0x634]
mov dword [r8 - 0x9c0], ecx
sub r11, 1
jne 0x140058bd0
lea r9, [rbp + 0xde0]
mov r11d, 0x18c
mov r10d, dword [rbp + 0xde0]
nop dword [rax]
nop word [rax + rax]
mov eax, r10d
mov r8, r9
add r9, 4
mov r10d, dword [r9]
mov edx, eax
xor edx, r10d
btr edx, 0x1f
xor 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 [r8 - 0xd4c]
mov dword [r8 - 0x9c0], ecx
sub r11, 1
jne 0x140058c30
mov edx, dword [rbp + 0x1410]
xor edx, dword [rbp + 0x94]
btr edx, 0x1f
xor edx, dword [rbp + 0x1410]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [rbp + 0x6c4]
mov dword [rbp + 0xa50], ecx
mov dword [rbp + 0x90], r12d
mov edx, r12d
mov eax, edx
mov ecx, dword [rbp + rax*4 + 0x94]
lea eax, [rdx + 1]
mov dword [rbp + 0x90], eax
mov eax, ecx
shr eax, 0xb
and eax, dword [rbp + 0x1414]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
or rbx, rax
jmp 0x140058cff
lea rdx, [r15 + 1]
lea rcx, [rbp]
call fcn.140070d20
mov rbx, rax
lea rax, [rbp + 0x68]
cmp r13, 0xf
cmova rax, r14
movzx r9d, byte [rbx + rax]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x140058d3c
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x140058d31
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140058d4b
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rdi
call fcn.14004ece0
sub rsi, 1
jne 0x140058990
cmp r13, 0xf
jbe 0x140058d8f
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140058d87
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058d87
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.1400f1e50
mov rax, rdi
mov rcx, qword [rbp + 0x1460]
xor rcx, rsp
call fcn.1400f1a00
lea r11, [rsp + 0x14b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret