Function at 0x140013a50
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.14007f190
sub rsp, rax
mov rax, qword [0x14009f080]
xor rax, rsp
mov qword [rbp + 0x1370], rax
mov r13, rcx
mov qword [rsp + 0x48], rcx
movdqa xmm0, xmmword [0x140092f10]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x140092f70]
movdqa xmmword [rsp + 0x70], xmm1
movdqa xmm0, xmmword [0x140092ef0]
movdqa xmmword [rbp - 0x80], xmm0
mov dword [rbp - 0x70], 0xc9cbc9c7
mov dword [rbp - 0x6c], 0x83858785
mov dword [rbp - 0x68], 0x838d8f8d
mov dword [rbp - 0x64], 0x1008d85
xor edi, edi
mov ecx, edi
nop
lea eax, [rcx - 0x80]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0x3e
jb 0x140013ae0
mov byte [rbp - 0x61], dil
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x40], dil
lea rax, [rsp + 0x60]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], dil
jne 0x140013b17
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.14001a780
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbp + 0x1364], 0xffffffff
mov dword [rbp - 0x1c], eax
mov ecx, 1
nop dword [rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rbp + rcx*4 - 0x1c], edx
inc rcx
cmp rcx, 0x270
jb 0x140013b50
mov dword [rbp - 0x20], 0x270
mov qword [rsp + 0x48], rdi
mov rax, qword [rbp - 0x30]
dec rax
mov qword [rsp + 0x50], rax
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14007e780
mov rdi, rax
mov r12d, Ordinal_26
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], Ordinal_32
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
lea r14, [rdi + 0x18]
mov byte [r14], al
mov qword [rsp + 0x60], rdi
mov r15, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x40]
cmp rdi, r14
je 0x140013c05
nop dword [rax]
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x48]
call fcn.14001ac00
mov rcx, rax
lea rax, [rbp - 0x40]
cmp r15, 0x10
cmovae rax, rsi
movzx eax, byte [rax + rcx]
mov byte [rdi], al
inc rdi
cmp rdi, r14
jne 0x140013bd0
mov r12, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x60]
movdqa xmm0, xmmword [0x140092de0]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x58], 1
xor edx, edx
mov ecx, edx
nop dword [rax]
lea eax, [rcx - 0x80]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 0xf
jb 0x140013c20
mov byte [rsp + 0x58], dl
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x50], rdx
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], dl
lea rax, [rsp + 0x48]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], dl
jne 0x140013c50
mov r8, rbx
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x60]
call fcn.14001a780
nop
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp - 0x50]
sub rax, rcx
cmp rax, r12
jb 0x140013daf
lea r9, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae r9, qword [rbp - 0x60]
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rax, rdi
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp - 0x60]
movzx edx, byte [rsp + 0x40]
mov rcx, r13
call fcn.14001b5d0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x140013d01
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013cfb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013cfb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e7bc
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140013d42
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013d3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013d3c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e7bc
nop
cmp r15, 0x10
jb 0x140013d7c
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140013d74
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013d74
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14007e7bc
mov rax, r13
mov rcx, qword [rbp + 0x1370]
xor rcx, rsp
call fcn.14007e760
lea r11, [rsp + 0x1480]
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
call fcn.140002640
nop
int3