Function at 0x14006b0f0
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 - 0x1350]
mov eax, 0x1450
call fcn.14010fee0
sub rsp, rax
mov rax, qword [0x14015d040]
xor rax, rsp
mov qword [rbp + 0x1340], rax
mov rsi, rcx
mov qword [rbp - 0x80], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
movdqa xmm0, xmmword [0x140136560]
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [0x140137ad0]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmm0, xmmword [0x140133020]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x140132600]
movdqa xmmword [rsp + 0x60], xmm1
mov dword [rsp + 0x70], 0x272f2d
mov byte [rsp + 0x74], 1
mov ecx, edi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0x43
jb 0x14006b190
mov byte [rsp + 0x74], dil
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], rdi
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x14006b1c0
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x78]
call fcn.14002c630
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbp + 0x1334], 0xffffffff
mov dword [rbp - 0x4c], 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 - 0x4c], edx
inc rcx
cmp rcx, 0x270
jb 0x14006b200
mov ebx, 0x270
mov dword [rbp - 0x50], ebx
mov r14d, dword [rbp - 0x68]
dec r14d
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov dword [rsp + 0x20], 1
mov r15d, 0xa
mov r12, qword [rbp - 0x60]
mov r13, qword [rbp - 0x78]
nop dword [rax]
cmp r14d, 0xffffffff
jne 0x14006b3d4
cmp ebx, 0x270
jne 0x14006b2c1
lea r8, [rbp - 0x48]
mov r9d, ebx
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
shr edx, 1
xor ecx, edx
xor ecx, dword [r8 + 0x630]
mov dword [r8 + 0x9bc], ecx
lea r8, [r8 + 4]
sub r9, 1
jne 0x14006b280
mov ebx, dword [rbp - 0x50]
jmp 0x14006b39b
cmp ebx, 0x4e0
jb 0x14006b39b
mov r8, rdi
mov eax, dword [rbp + r8*4 + 0x974]
mov edx, eax
xor edx, dword [rbp + r8*4 + 0x978]
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 + 0xfa8]
shr edx, 1
xor ecx, edx
mov dword [rbp + r8*4 - 0x4c], ecx
inc r8
cmp r8, 0xe3
jb 0x14006b2d0
mov r8d, 0xe3
nop dword [rax]
mov eax, dword [rbp + r8*4 + 0x974]
mov edx, eax
xor edx, dword [rbp + r8*4 + 0x978]
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 - 0x3d8]
shr edx, 1
xor ecx, edx
mov dword [rbp + r8*4 - 0x4c], ecx
inc r8
cmp r8, 0x26f
jb 0x14006b320
mov edx, dword [rbp + 0x1330]
and edx, 0x80000000
mov eax, dword [rbp - 0x4c]
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 + 0x5e4]
mov dword [rbp + 0x970], ecx
mov ebx, edi
mov dword [rbp - 0x50], ebx
mov eax, ebx
mov edx, dword [rbp + rax*4 - 0x4c]
inc ebx
mov dword [rbp - 0x50], ebx
mov eax, edx
shr eax, 0xb
and eax, dword [rbp + 0x1334]
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 0x14006b41c
lea ebx, [r14 + 1]
lea rcx, [rbp - 0x50]
call fcn.1400c9c10
mov edi, ebx
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jae 0x14006b413
mov eax, ebx
neg eax
xor edx, edx
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x14006b413
nop dword [rax + rax]
lea rcx, [rbp - 0x50]
call fcn.1400c9c10
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x14006b400
shr rcx, 0x20
mov ebx, dword [rbp - 0x50]
xor edi, edi
lea rdx, [rbp - 0x78]
cmp r12, 0xf
cmova rdx, r13
movsxd rax, ecx
movzx r9d, byte [rax + rdx]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x14006b45c
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0xf
jbe 0x14006b451
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14006b464
mov rcx, rsi
call fcn.14002c840
sub r15, 1
jne 0x14006b260
lea rcx, [rbp - 0x78]
call fcn.14002b140
mov rax, rsi
mov rcx, qword [rbp + 0x1340]
xor rcx, rsp
call fcn.14010ee40
lea r11, [rsp + 0x1450]
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