Function at 0x14005a410
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.14005fd60
sub rsp, rax
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x140090040]
xor rax, rsp
mov qword [rbp + 0x14e0], rax
mov rbx, rcx
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0xc0], rcx
xor r12d, r12d
mov dword [rbp + 8], r12d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r12
mov edi, 0xf
mov qword [rcx + 0x18], rdi
mov byte [rcx], r12b
mov r15d, 1
mov dword [rbp + 8], r15d
movabs rax, 0xf6a4fc6dc6e72c5d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0x97b378ab28b1d25e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0x7de34fa405c42ad0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rax, 0xef1eb8d5d5bcad67
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
movabs rax, 0xd2a197dc66c454a6
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0x887ed775520edcff
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
movabs rax, 0xd30d7c22389ae2d6
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
movabs rax, 0x56136ad3cd118349
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
movabs rax, 0x666a3c0755ce8696
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
movabs rcx, 0x95381710cd87a0ae
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
movabs rax, 0xc192c959f5d51d6d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1480], rax
movabs rax, 0xd1f63ce86af0eb66
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1488], rax
movabs rax, 0x33ae03ef4f8d6297
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1490], rax
movabs rax, 0xb94bec8687edfd28
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1498], rax
movabs rax, 0xb6c2f5bd3c9d0cf1
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x14a0], rax
movabs rax, 0xe415bd1c3a69ba9a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x14a8], rax
movabs rax, 0xa77e0e5348f58cbb
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x14b0], rax
movabs rax, 0x163210aab566f53c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x14b8], rax
movabs rax, 0x666a16210beba2b5
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 + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0x1480]
vmovdqa ymmword [rbp + 0x60], ymm1
vmovdqu ymm0, ymmword [rbp + 0x80]
vpxor ymm1, ymm0, ymmword [rbp + 0x14a0]
vmovdqa ymmword [rbp + 0x80], ymm1
vmovdqa xmm0, xmmword [rbp + 0xa0]
vxorps xmm0, xmm0, xmmword [rbp + 0x14c0]
vmovdqa xmmword [rbp + 0xa0], xmm0
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0xc8], xmm0
vxorps xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0xd8], xmm1
lea rax, [rbp + 0x60]
mov rsi, 0xffffffffffffffff
mov r8, rsi
vzeroupper
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14005a6d0
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0xc8]
call fcn.140004a70
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov eax, 0xffffffff
mov dword [rbp + 0x1474], eax
mov dword [rbp + 0xf4], edx
mov rcx, r15
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 + 0xf4], edx
inc rcx
cmp rcx, 0x270
jb 0x14005a710
mov dword [rbp + 0xf0], 0x270
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], ecx
lea rdx, [rbp + 0xc8]
mov r9, qword [rbp + 0xc8]
mov r10, qword [rbp + 0xe0]
cmp r10, 0xf
cmova rdx, r9
mov rcx, qword [rbp + 0xd8]
add rdx, rcx
mov qword [rbp + 0x30], rdx
lea r13, [rbp + 0xc8]
cmp r10, 0xf
cmova r13, r9
mov eax, 0xffffffff
mov r14d, 0x40
nop word [rax + rax]
lea r14, [r14 - 1]
shr rsi, 1
cmp rsi, rax
ja 0x14005a7b0
cmp r13, rdx
je 0x14005a89f
lea rax, [r13 + 1]
cmp rax, rdx
je 0x14005a89f
mov rcx, r15
sub rcx, r13
mov qword [rbp + 0x38], rcx
nop dword [rax]
lea r12, [r15 + r13]
add r12, rcx
xor edi, edi
xor ebx, ebx
test r15, r15
je 0x14005a828
lea rcx, [r14 - 1]
shl rdi, cl
add rdi, rdi
nop word [rax + rax]
lea rcx, [rbp + 0xf0]
call fcn.14005ddd0
mov eax, eax
cmp rax, rsi
ja 0x14005a800
or rdi, rax
lea rcx, [r14 - 1]
shl rbx, cl
add rbx, rbx
or rbx, rsi
cmp rbx, r15
jb 0x14005a7f0
xor edx, edx
mov rax, rbx
div r12
mov rcx, rax
xor edx, edx
mov rax, rdi
div r12
cmp rax, rcx
jb 0x14005a84d
xor edx, edx
mov rax, rbx
div r12
cmp rdx, r15
jne 0x14005a7e7
xor edx, edx
mov rax, rdi
div r12
cmp rdx, r15
je 0x14005a86c
movzx ecx, byte [r15 + r13]
movzx eax, byte [rdx + r13]
mov byte [r15 + r13], al
mov byte [rdx + r13], cl
inc r15
lea rax, [r15 + r13]
cmp rax, qword [rbp + 0x30]
mov rcx, qword [rbp + 0x38]
jne 0x14005a7e0
mov r10, qword [rbp + 0xe0]
mov rcx, qword [rbp + 0xd8]
mov r9, qword [rbp + 0xc8]
mov rbx, qword [rbp + 0x40]
mov edi, 0xf
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
movsxd r8, dword [rbp]
cmp rcx, r8
cmovb r8, rcx
lea rdx, [rbp + 0xc8]
cmp r10, 0xf
cmova rdx, r9
lea rcx, [rbp + 0x10]
call fcn.140004a70
lea rax, [rbp + 0x10]
cmp rbx, rax
je 0x14005a928
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14005a910
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14005a90b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005a95b
mov rcx, r8
call fcn.14005ef5c
mov byte [rbx], 0
movups xmm0, xmmword [rbp + 0x10]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x20]
movups xmmword [rbx + 0x10], xmm1
mov byte [rbp + 0x10], 0
jmp 0x14005a92c
mov rdi, qword [rbp + 0x28]
cmp rdi, 0xf
jbe 0x14005a968
lea rdx, [rdi + 1]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a962
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a962
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005ef5c
nop
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0xf
jbe 0x14005a9ac
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a9a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a9a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005ef5c
mov rax, rbx
mov rcx, qword [rbp + 0x14e0]
xor rcx, rsp
call fcn.14005eba0
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