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

Disassembly:
cmp rcx, rdx
je 0x140039c16
push r15
mov qword [rsp], r14
sub rsp, 0x20
lea rax, [rcx + 0x20]
mov qword [rsp + 8], r13
mov qword [rsp + 0x30], rax
xchg rcx, r14
mov rcx, r8
xchg r14, rcx
mov r9, rdx
mov r10, rcx
mov r13d, 0x3fa79199
sub r13d, 0x2b34cda2
sub r13d, 0x28a65f3
add r13d, 0x5518e7c1
sub r13d, 0x35491c17
add r13d, 0x27b73e09
add r13d, 0x65ebb89
sub r13d, 0x5fce233f
cmp rax, rdx
je 0x140039bfe
xchg rbp, rbx
mov qword [rsp + 0x38], rbp
xchg rbp, rbx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
xchg rbx, rdi
mov qword [rsp + 0x18], rbx
xchg rbx, rdi
mov qword [rsp + 0x10], r12
xchg r8, r15
mov qword [rsp], r8
xchg r15, r8
lea r12, [r13 + 1]
nop word [rax + rax]
xor ebp, ebp
xor r15d, r15d
test r13, r13
je 0x140039af4
nop
movzx ecx, byte [r14 + 8]
neg cl
add cl, 1
neg cl
shl rbp, cl
add rbp, rbp
nop
mov rbx, qword [r14]
mov ecx, dword [rbx]
cmp ecx, 0x270
jne 0x1400398dc
lea rax, [rbx + 8]
mov r11d, ecx
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r11, 1
jne 0x140039895
mov ecx, dword [rbx]
jmp 0x140039a47
cmp ecx, 0x4e0
jb 0x140039a47
lea rdi, [rbx + 0x9c4]
mov esi, 0x459c9f6a
sub esi, 0x14e33f72
xor esi, 0x1ee6fe08
xor esi, 0x7665a40e
add esi, 0xa8f3cf1
xor esi, 0x351f7c0a
add esi, 0x21dd1331
sub esi, 0x79b35133
mov eax, dword [rdi]
nop dword [rax]
mov edx, dword [rdi + 4]
lea r8, [rdi + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [rdi + 0x634]
xor ecx, edx
mov dword [rdi - 0x9c0], ecx
lea rdi, [r8]
sub rsi, 1
jne 0x140039923
lea rdi, [rbx + 0xd50]
mov esi, 0x2b662e84
xor esi, 0x1cd05cc4
add esi, 0x28777df2
sub esi, 0x444f20a0
add esi, 0x223cc353
add esi, 0x2270f382
xor esi, 0xf0d84e9
xor esi, 0x6f810302
mov eax, dword [rdi]
nop word [rax + rax]
mov edx, dword [rdi + 4]
lea r8, [rdi + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [rdi - 0xd4c]
xor ecx, edx
mov dword [rdi - 0x9c0], ecx
lea rdi, [r8]
sub rsi, 1
jne 0x1400399a1
mov edx, dword [rbx + 0x1380]
xor edx, dword [rbx + 4]
btr edx, 0x1f
xor edx, dword [rbx + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [rbx + 0x634]
xor ecx, edx
mov dword [rbx + 0x9c0], ecx
xor ecx, ecx
mov dword [rbx], 0x201fcca5
add dword [rbx], 0x53687c1d
sub dword [rbx], 0x70e16099
xor dword [rbx], 0x4e9059e5
xor dword [rbx], 0x75667748
sub dword [rbx], 0x144b9bf6
add dword [rbx], 0x395f1849
sub dword [rbx], 0x371feff9
sub dword [rbx], 0x274452de
mov eax, ecx
mov edx, dword [rbx + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [rbx], eax
mov ecx, edx
mov eax, dword [rbx + 0x1384]
shr ecx, 4
shr ecx, 7
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 4
shl eax, 2
shl eax, 1
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 2
shl eax, 6
shl eax, 5
shl eax, 1
shl eax, 1
xor edx, eax
mov ecx, edx
shr rcx, 6
shr rcx, 7
shr rcx, 4
shr rcx, 1
mov eax, edx
xchg r10, rdx
mov r10, qword [r14 + 0x10]
xchg rdx, r10
push rcx
xor ecx, eax
push rcx
xor rcx, qword [rsp + 8]
shr rcx, 0x20
ror rax, 0x20
xor ecx, eax
ror rax, 0x20
shl rcx, 0x20
or rcx, qword [rsp]
add rsp, 0x10
cmp rcx, rdx
ja 0x140039871
or rbp, rcx
movzx ecx, byte [r14 + 8]
add cl, 0x6c
sub cl, 0x6d
shl r15, cl
add r15, r15
or r15, rdx
cmp r15, r13
jb 0x14003985d
xor edx, edx
xchg r10, r15
mov rax, r10
xchg r10, r15
div r12
xor edx, edx
mov rcx, rax
xchg r8, rbp
mov rax, r8
xchg rbp, r8
div r12
cmp rax, rcx
jb 0x140039b33
xor edx, edx
xchg r15, r8
mov rax, r8
xchg r15, r8
div r12
cmp rdx, r13
jne 0x14003984d
xor edx, edx
xchg rbx, rax
mov rbx, rbp
xchg rbx, rax
div r12
xchg rsi, rax
mov rsi, qword [rsp + 0x30]
xchg rsi, rax
cmp rdx, r13
je 0x140039ba8
shl rdx, 4
shl rdx, 1
add rdx, r10
cmp rax, rdx
je 0x140039ba8
xchg rcx, rdx
movups xmm0, xmmword [rcx]
xchg rdx, rcx
xchg r12, rax
movups xmm2, xmmword [r12]
xchg r12, rax
xchg r9, rax
movups xmm3, xmmword [r9 + 0x10]
xchg r9, rax
xchg r9, rax
movups xmmword [r9], xmm0
xchg r9, rax
xchg rcx, rdx
movups xmm1, xmmword [rcx + 0x10]
xchg rdx, rcx
xchg r11, rax
movups xmmword [r11 + 0x10], xmm1
xchg r11, rax
xchg rbp, rdx
movups xmmword [rbp], xmm2
xchg rdx, rbp
movups xmmword [rdx + 0x10], xmm3
add rax, 0x20
xchg r13, rdx
mov rdx, r12
xchg rdx, r13
mov qword [rsp + 0x30], rax
cmp rax, r9
jne 0x14003983f
xchg rdx, r15
mov rdx, qword [rsp]
xchg r15, rdx
xchg rcx, r12
mov rcx, qword [rsp + 0x10]
xchg rcx, r12
mov rdi, qword [rsp + 0x18]
xchg rbx, rsi
mov rbx, qword [rsp + 0x48]
xchg rbx, rsi
xchg rcx, rbp
mov rcx, qword [rsp + 0x40]
xchg rcx, rbp
xchg rdx, rbx
mov rdx, qword [rsp + 0x38]
xchg rbx, rdx
mov r13, qword [rsp + 8]
add rsp, 0x20
push rcx
push rcx
push rax
xchg qword [rsp + 0x18], r14
pop rax
pop rcx
pop rcx
add rsp, 8
nop
add rsp, 8
jmp qword [rsp - 8]