Function at 0x14003aa54
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov r12, rcx
mov qword [rbp - 0x29], rcx
mov esi, reloc.WS2_32.dll_ntohs
mov edx, esi
lea rcx, [rbp + 0x17]
call fcn.14003a8d0
mov rdi, rax
movups xmm0, xmmword [0x14030a040]
movups xmmword [rbp - 0x21], xmm0
mov eax, dword [0x14030a050]
mov dword [rbp - 0x11], eax
mov al, byte [0x14030a054]
mov byte [rbp - 0xd], al
xor r13d, r13d
mov r8d, r13d
lea r9, [rbp - 0x21]
mov eax, 0x24924925
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
mov al, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 0x15
jl 0x14003aab8
lea rax, [rbp - 0x21]
or r15, 0xffffffffffffffff
mov rbx, r15
inc rbx
cmp byte [rax + rbx], r13b
jne 0x14003aaf3
mov r8, qword [rdi + 0x10]
mov rax, qword [rdi + 0x18]
sub rax, r8
cmp rbx, rax
ja 0x14003ab9a
lea rax, [r8 + rbx]
mov qword [rdi + 0x10], rax
mov rsi, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14003ab25
mov rsi, qword [rdi]
lea rax, [rbp - 0x21]
add rax, rbx
cmp rax, rsi
jbe 0x14003ab58
lea rax, [rsi + r8]
lea rcx, [rbp - 0x21]
cmp rcx, rax
ja 0x14003ab58
lea rax, [rbp - 0x21]
cmp rsi, rax
ja 0x14003ab4c
mov r14, r13
jmp 0x14003ab5b
lea rax, [rbp - 0x21]
mov r14, rsi
sub r14, rax
jmp 0x14003ab5b
mov r14, rbx
lea rcx, [rsi + rbx]
inc r8
mov rdx, rsi
call fcn.14012dc80
mov r8, r14
lea rdx, [rbp - 0x21]
mov rcx, rsi
call fcn.14012dc80
lea rcx, [rsi + r14]
mov r8, rbx
sub r8, r14
lea rax, [r14 + rbx]
lea rdx, [rbp - 0x21]
add rdx, rax
call fcn.14012dc80
mov esi, reloc.WS2_32.dll_ntohs
jmp 0x14003abb6
mov qword [rsp + 0x28], rbx
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rdi
call fcn.1400594e4
mov rdi, rax
mov qword [rbp - 9], r13
mov qword [rbp + 7], r13
mov qword [rbp + 0xf], r13
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp + 7], xmm1
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], rsi
mov byte [rdi], r13b
mov eax, dword [0x14030a690]
mov dword [rbp - 0x29], eax
mov al, byte [0x14030a694]
mov byte [rbp - 0x25], al
mov r8d, r13d
lea r9, [rbp - 0x29]
mov eax, 0x24924925
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x38
mov al, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 5
jl 0x14003abf5
lea rax, [rbp - 0x29]
inc r15
cmp byte [rax + r15], r13b
jne 0x14003ac29
mov r8, r15
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.1400483c4
mov qword [r12], r13
mov qword [r12 + 0x10], r13
mov qword [r12 + 0x18], r13
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r12 + 0x10], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], rsi
mov byte [rax], r13b
mov ebx, 0x1000
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x14003aca5
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, rbx
jb 0x14003aca0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ad0e
call fcn.14005e360
mov qword [rbp + 7], r13
mov qword [rbp + 0xf], rsi
mov byte [rbp - 9], r13b
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x14003ace4
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, rbx
jb 0x14003acdf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ad08
call fcn.14005e360
mov rax, r12
lea r11, [rsp + 0x90]
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.14015e7b0
nop
call fcn.14015e7b0
nop