Function at 0x14001fd20
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
lea rbp, [rsp - 0x13f0]
mov eax, 0x14f0
call fcn.1400aba00
sub rsp, rax
mov rax, qword [0x140119740]
xor rax, rsp
mov qword [rbp + 0x13e0], rax
mov rbx, rcx
mov qword [rbp + 0x48], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
call fcn.1400aa144
mov edx, eax
mov dword [rbp + 0x13d4], 0xffffffff
mov dword [rbp + 0x54], eax
lea eax, [rsi + 1]
nop word [rax + rax]
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [rbp + rax*4 + 0x54], edx
inc rax
cmp rax, 0x270
jb 0x14001fd80
mov dword [rbp + 0x50], 0x270
lea rcx, [rsp + 0x30]
call fcn.140025130
nop
mov edi, 8
nop word [rax + rax]
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x58]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rsp + rcx + 0x58], eax
lea rcx, [rbp + 0x50]
call fcn.140028f60
mov edx, eax
shl rdx, 4
shr rdx, 0x20
lea rcx, [rsp + 0x40]
call fcn.140025390
sub rdi, 1
jne 0x14001fdc0
lea rdx, [0x1400fef7c]
lea rcx, [rsp + 0x40]
call fcn.140027400
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x58]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rsp + rcx + 0x58], eax
lea rcx, [rbp + 0x50]
call fcn.140028f60
mov edx, eax
shl rdx, 4
shr rdx, 0x20
lea rcx, [rsp + 0x40]
call fcn.140025390
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x58]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rsp + rcx + 0x58], eax
lea rcx, [rbp + 0x50]
call fcn.140028f60
mov edx, eax
shl rdx, 4
shr rdx, 0x20
lea rcx, [rsp + 0x40]
call fcn.140025390
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x58]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rsp + rcx + 0x58], eax
lea rcx, [rbp + 0x50]
call fcn.140028f60
mov edx, eax
shl rdx, 4
shr rdx, 0x20
lea rcx, [rsp + 0x40]
call fcn.140025390
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x58]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rsp + rcx + 0x58], eax
lea rcx, [rbp + 0x50]
call fcn.140028f60
mov edx, eax
shl rdx, 4
shr rdx, 0x20
lea rcx, [rsp + 0x40]
call fcn.140025390
lea rdx, [0x1400fef80]
lea rcx, [rsp + 0x40]
call fcn.140027400
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x58]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rsp + rcx + 0x58], eax
lea rcx, [rbp + 0x50]
call fcn.140028f60
mov edx, eax
shl rdx, 4
shr rdx, 0x20
lea rcx, [rsp + 0x40]
call fcn.140025390
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x58]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rsp + rcx + 0x58], eax
lea rcx, [rbp + 0x50]
call fcn.140028f60
mov edx, eax
shl rdx, 4
shr rdx, 0x20
lea rcx, [rsp + 0x40]
call fcn.140025390
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x58]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rsp + rcx + 0x58], eax
lea rcx, [rbp + 0x50]
call fcn.140028f60
mov edx, eax
shl rdx, 4
shr rdx, 0x20
lea rcx, [rsp + 0x40]
call fcn.140025390
lea rdx, [0x1400fef84]
lea rcx, [rsp + 0x40]
call fcn.140027400
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x58]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rsp + rcx + 0x58], eax
lea rcx, [rbp + 0x50]
call fcn.140028f60
mov edx, eax
shl rdx, 4
shr rdx, 0x20
lea rcx, [rsp + 0x40]
call fcn.140025390
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x58]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rsp + rcx + 0x58], eax
lea rcx, [rbp + 0x50]
call fcn.140028f60
mov edx, eax
shl rdx, 4
shr rdx, 0x20
lea rcx, [rsp + 0x40]
call fcn.140025390
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x58]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rsp + rcx + 0x58], eax
lea rcx, [rbp + 0x50]
call fcn.140028f60
mov edx, eax
shl rdx, 4
shr rdx, 0x20
lea rcx, [rsp + 0x40]
call fcn.140025390
lea rdx, [0x1400fef7c]
lea rcx, [rsp + 0x40]
call fcn.140027400
mov edi, recv
nop dword [rax]
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x58]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rsp + rcx + 0x58], eax
lea rcx, [rbp + 0x50]
call fcn.140028f60
mov edx, eax
shl rdx, 4
shr rdx, 0x20
lea rcx, [rsp + 0x40]
call fcn.140025390
sub rdi, 1
jne 0x140020070
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
mov dword [rsp + 0x20], 4
movups xmmword [rbp + 0x30], xmm0
mov rcx, qword [rbp - 0x48]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400200ff
mov rax, qword [rbp - 0x78]
mov r8, qword [rax]
test r8, r8
je 0x1400200ff
mov rax, qword [rsp + 0x68]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x50]
cmovb r8, qword [rbp - 0x50]
sub r8, rdx
sar r8, 1
jmp 0x140020133
test cl, 4
jne 0x14002012b
mov rax, qword [rbp - 0x80]
mov r8, qword [rax]
test r8, r8
je 0x14002012b
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x68]
movsxd rcx, dword [rax]
lea r8, [r8 + rcx*2]
sub r8, rdx
sar r8, 1
jmp 0x140020133
mov r8, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x30]
test rdx, rdx
je 0x140020141
mov rcx, rbx
call fcn.1400081f0
nop
lea rcx, [rsp + 0x30]
call fcn.14001f7f0
mov rax, rbx
mov rcx, qword [rbp + 0x13e0]
xor rcx, rsp
call fcn.1400ab2e0
lea r11, [rsp + 0x14f0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret