Function at 0x14003d710
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
mov eax, 0x1530
call fcn.140052d60
sub rsp, rax
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x140126040]
xor rax, rsp
mov qword [rbp + 0x14e0], rax
mov rdi, rcx
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x30], rcx
xor r13d, r13d
mov dword [rbp + 8], r13d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r13
mov esi, 0xf
mov qword [rcx + 0x18], rsi
mov byte [rcx], r13b
mov r12d, 1
mov dword [rbp + 8], r12d
movabs rax, 0x31995791cd5107f5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0x5ed1c867bdebe0ce
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
movabs rax, 0x589d1f80ca3c7648
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
movabs rax, 0x1ff4c6e912a13837
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
movabs rax, 0x858a2788fa99111e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
movabs rax, 0x4c28644144cd94bf
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
movabs rax, 0x1a2c0e7e513d0a6e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb0], rax
movabs rax, 0xefff01573621da49
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb8], rax
movabs rax, 0xb812765b9c0aa6ae
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xc0], rax
movabs rcx, 0x578591cbba8161e
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0xc8], rax
movabs rax, 0x6af62a5fe6336c5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1480], rax
movabs rax, 0x18948c24ffaad9f6
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1488], rax
movabs rax, 0x16d053cb80753e0f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1490], rax
movabs rax, 0x49a192ba40f06878
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1498], rax
movabs rax, 0xe1e945e9a0c04949
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x14a0], rax
movabs rax, 0x20430e282caaf2da
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x14a8], rax
movabs rax, 0x6e5f7c0f21526403
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x14b0], rax
movabs rax, 0xafde7b2e4e56ac3c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x14b8], rax
movabs rax, 0xb8125c7dc22f828d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x14c0], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x14c8], rax
vmovdqu ymm0, ymmword [rbp + 0x80]
vpxor ymm1, ymm0, ymmword [rbp + 0x1480]
vmovdqa ymmword [rbp + 0x80], ymm1
vmovdqu ymm0, ymmword [rbp + 0xa0]
vpxor ymm1, ymm0, ymmword [rbp + 0x14a0]
vmovdqa ymmword [rbp + 0xa0], ymm1
vmovdqa xmm0, xmmword [rbp + 0xc0]
vxorps xmm0, xmm0, xmmword [rbp + 0x14c0]
vmovdqa xmmword [rbp + 0xc0], xmm0
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x38], xmm0
vxorps xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0x48], xmm1
lea rax, [rbp + 0x80]
mov r14, 0xffffffffffffffff
mov r8, r14
vzeroupper
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14003d9e0
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x38]
call fcn.140002010
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov r15d, 0xffffffff
mov dword [rbp + 0x1464], r15d
mov dword [rbp + 0xe4], eax
mov rcx, r12
nop dword [rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rbp + rcx*4 + 0xe4], edx
inc rcx
cmp rcx, 0x270
jb 0x14003da20
mov ebx, 0x270
mov dword [rbp + 0xe0], ebx
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ecx, eax
mov eax, 0x30c30c31
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x15
sub ecx, eax
add ecx, 0xa
mov dword [rbp + 0xc], ecx
lea r11, [rbp + 0x38]
mov r9, qword [rbp + 0x38]
mov r10, qword [rbp + 0x50]
cmp r10, 0xf
cmova r11, r9
mov rdx, qword [rbp + 0x48]
add r11, rdx
mov qword [rbp + 0x18], r11
lea r8, [rbp + 0x38]
cmp r10, 0xf
cmova r8, r9
mov qword [rbp], r8
mov ecx, 0x40
nop word [rax + rax]
lea rcx, [rcx - 1]
shr r14, 1
cmp r14, r15
ja 0x14003dab0
cmp r8, r11
je 0x14003dd50
lea rax, [r8 + 1]
cmp rax, r11
je 0x14003dd50
lea r15, [rcx - 1]
mov rcx, r12
sub rcx, r8
mov qword [rbp + 0x20], rcx
lea rax, [r12 + r8]
mov qword [rbp + 0x10], rax
lea r13, [rax + rcx]
nop dword [rax]
xor esi, esi
xor edi, edi
test r12, r12
je 0x14003dcd8
nop dword [rax]
mov rcx, r15
shl rsi, cl
add rsi, rsi
nop dword [rax]
cmp ebx, 0x270
jne 0x14003db77
lea rax, [rbp + 0xe8]
mov r9d, ebx
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
btr r8d, 0x1f
xor r8d, dword [rax - 4]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
and edx, 0x9908b0df
xor edx, dword [rax + 0x630]
shr r8d, 1
xor edx, r8d
mov dword [rax + 0x9bc], edx
lea rax, [rax + 4]
sub r9, 1
jne 0x14003db30
mov ebx, dword [rbp + 0xe0]
jmp 0x14003dc7a
cmp ebx, 0x4e0
jb 0x14003dc7a
lea r9, [rbp + 0xaa4]
mov r11d, 0xe3
mov r10d, dword [rbp + 0xaa4]
nop word [rax + rax]
mov eax, r10d
mov r8, r9
add r9, 4
mov r10d, dword [r9]
mov edx, eax
xor edx, r10d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
shr edx, 1
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub r11, 1
jne 0x14003dba0
lea r9, [rbp + 0xe30]
mov r11d, 0x18c
mov r10d, dword [rbp + 0xe30]
nop dword [rax]
nop word [rax + rax]
mov eax, r10d
mov r8, r9
add r9, 4
mov r10d, dword [r9]
mov edx, r10d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
shr edx, 1
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub r11, 1
jne 0x14003dc00
mov edx, dword [rbp + 0x1460]
xor edx, dword [rbp + 0xe4]
btr edx, 0x1f
xor edx, dword [rbp + 0x1460]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [rbp + 0x714]
mov dword [rbp + 0xaa0], ecx
xor ebx, ebx
mov dword [rbp + 0xe0], ebx
mov eax, ebx
mov ecx, dword [rbp + rax*4 + 0xe4]
inc ebx
mov dword [rbp + 0xe0], ebx
mov eax, ecx
shr eax, 0xb
and eax, dword [rbp + 0x1464]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
cmp rax, r14
ja 0x14003db10
or rsi, rax
mov rcx, r15
shl rdi, cl
add rdi, rdi
or rdi, r14
cmp rdi, r12
jb 0x14003db00
xor edx, edx
mov rax, rdi
div r13
mov rcx, rax
xor edx, edx
mov rax, rsi
div r13
cmp rax, rcx
jb 0x14003dd01
xor edx, edx
mov rax, rdi
div r13
cmp rdx, r12
jne 0x14003daf0
xor edx, edx
mov rax, rsi
div r13
mov r8, qword [rbp]
cmp rdx, r12
je 0x14003dd26
mov r9, qword [rbp + 0x10]
movzx ecx, byte [r9]
movzx eax, byte [rdx + r8]
mov byte [r9], al
mov byte [rdx + r8], cl
inc r12
lea rax, [r12 + r8]
cmp rax, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x20]
jne 0x14003dae0
mov r10, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x48]
mov r9, qword [rbp + 0x38]
mov rdi, qword [rbp + 0x28]
mov esi, 0xf
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x68], xmm1
movsxd r8, dword [rbp + 0xc]
cmp rdx, r8
cmovb r8, rdx
lea rdx, [rbp + 0x38]
cmp r10, 0xf
cmova rdx, r9
lea rcx, [rbp + 0x58]
call fcn.140002010
lea rax, [rbp + 0x58]
cmp rdi, rax
je 0x14003ddd6
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14003ddbe
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14003ddb9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003de09
mov rcx, r8
call fcn.14005207c
mov byte [rdi], 0
movups xmm0, xmmword [rbp + 0x58]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 0x68]
movups xmmword [rdi + 0x10], xmm1
mov byte [rbp + 0x58], 0
jmp 0x14003ddda
mov rsi, qword [rbp + 0x70]
cmp rsi, 0xf
jbe 0x14003de16
lea rdx, [rsi + 1]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003de10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003de10
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005207c
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x14003de54
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003de4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003de4f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005207c
mov rax, rdi
mov rcx, qword [rbp + 0x14e0]
xor rcx, rsp
call fcn.140051cc0
lea r11, [rsp + 0x1530]
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