Function at 0x14003d240
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.140051c90
sub rsp, rax
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x140125040]
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, 0x95b2a5e0be022a8f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0x1a9b9852e26edfd0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0x8f6b964d4f8f4496
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rax, 0xb57d4a78b90f5b8d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
movabs rax, 0xb4a53e210de01214
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0x889bd3641b823f19
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
movabs rax, 0x90034f5315814088
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
movabs rax, 0xb4bc5dae009bc7c3
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
movabs rax, 0xb31f519af9b8c084
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
movabs rcx, 0xe8104ef912604550
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
movabs rax, 0xa28490d48d301bbf
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1480], rax
movabs rax, 0x5cdedc11a02fe6e8
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1488], rax
movabs rax, 0xc126da0605c60cd1
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1490], rax
movabs rax, 0xe3281e2beb5e0bc2
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1498], rax
movabs rax, 0xd0c65c4057b94a43
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x14a0], rax
movabs rax, 0xe4f0b90d73e5597c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x14a8], rax
movabs rax, 0xe4703d2265ee2ee5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x14b0], rax
movabs rax, 0xf49d27d778ecb1b6
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x14b8], rax
movabs rax, 0xb31f7bbca79de4a7
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 0x14003d500
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0xc8]
call fcn.140001fe0
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 0x14003d540
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 + 0x38], rdx
lea r13, [rbp + 0xc8]
cmp r10, 0xf
cmova r13, r9
mov eax, 0xffffffff
mov r14d, 0x40
dec r14
shr rsi, 1
cmp rsi, rax
ja 0x14003d5d5
cmp r13, rdx
je 0x14003d6bf
lea rax, [r13 + 1]
cmp rax, rdx
je 0x14003d6bf
mov rcx, r15
sub rcx, r13
mov qword [rbp + 0x10], rcx
lea r12, [r15 + r13]
add r12, rcx
xor edi, edi
xor ebx, ebx
test r15, r15
je 0x14003d648
lea rcx, [r14 - 1]
shl rdi, cl
add rdi, rdi
nop word [rax + rax]
lea rcx, [rbp + 0xf0]
call fcn.14003ef20
mov eax, eax
cmp rax, rsi
ja 0x14003d620
or rdi, rax
lea rcx, [r14 - 1]
shl rbx, cl
add rbx, rbx
or rbx, rsi
cmp rbx, r15
jb 0x14003d610
xor edx, edx
mov rax, rbx
div r12
mov rcx, rax
xor edx, edx
mov rax, rdi
div r12
cmp rax, rcx
jb 0x14003d66d
xor edx, edx
mov rax, rbx
div r12
cmp rdx, r15
jne 0x14003d607
xor edx, edx
mov rax, rdi
div r12
cmp rdx, r15
je 0x14003d68c
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 + 0x38]
mov rcx, qword [rbp + 0x10]
jne 0x14003d600
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 + 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x28], xmm1
movsxd r8, dword [rbp]
cmp rcx, r8
cmovb r8, rcx
lea rdx, [rbp + 0xc8]
cmp r10, 0xf
cmova rdx, r9
lea rcx, [rbp + 0x18]
call fcn.140001fe0
lea rax, [rbp + 0x18]
cmp rbx, rax
je 0x14003d748
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14003d730
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14003d72b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003d77b
mov rcx, r8
call fcn.140050e7c
mov byte [rbx], 0
movups xmm0, xmmword [rbp + 0x18]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x28]
movups xmmword [rbx + 0x10], xmm1
mov byte [rbp + 0x18], 0
jmp 0x14003d74c
mov rdi, qword [rbp + 0x30]
cmp rdi, 0xf
jbe 0x14003d788
lea rdx, [rdi + 1]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d782
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003d782
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140050e7c
nop
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0xf
jbe 0x14003d7cc
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d7c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003d7c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140050e7c
mov rax, rbx
mov rcx, qword [rbp + 0x14e0]
xor rcx, rsp
call fcn.140050ac0
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