Function at 0x140032970
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 - 0x1398]
mov eax, 0x1470
call fcn.140034ef0
sub rsp, rax
mov rax, qword [0x140080040]
xor rax, rsp
mov qword [rbp + 0x1360], rax
mov rbx, rcx
mov qword [rsp + 0x70], rcx
and dword [rsp + 0x28], 0
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x140080a08], eax
jle 0x140032c09
lea rcx, [0x140080a08]
call fcn.140034040
cmp dword [0x140080a08], 0xffffffff
jne 0x140032c09
movabs rax, 0xe7a8c4c8cab247d4
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rax, 0x866a66498abfecab
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x38], rax
movabs rax, 0xfb72062a9371ac06
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x40], rax
movabs rax, 0xd124a81d942f62c5
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x48], rax
movabs rax, 0xcaafa1821c69958e
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x50], rax
movabs rax, 0xacfea0530c947af9
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x58], rax
movabs rax, 0x2ab9a10bf73d80dc
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x60], rax
movabs rax, 0xa8e35d32e43c17f4
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x68], rax
movabs rax, 0x8fcfa2adaed125b5
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rbp + 0x1320], rax
movabs rax, 0xf6050824e6d486c2
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rbp + 0x1328], rax
movabs rax, 0x8305705fe702de77
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rbp + 0x1330], rax
movabs rax, 0x9761ec5ed66e18bc
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rbp + 0x1338], rax
movabs rax, 0x84e2edc95620ddc9
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rbp + 0x1340], rax
movabs rax, 0xfaabf4005ec52ab6
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rbp + 0x1348], rax
movabs rax, 0x198b903bad64d88b
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rbp + 0x1350], rax
movabs rax, 0xa8e3640ad30a22c0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rbp + 0x1358], rax
movdqa xmm0, xmmword [rsp + 0x30]
xorps xmm0, xmmword [rbp + 0x1320]
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [rsp + 0x40]
xorps xmm1, xmmword [rbp + 0x1330]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmm0, xmmword [rsp + 0x50]
xorps xmm0, xmmword [rbp + 0x1340]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [rsp + 0x60]
xorps xmm1, xmmword [rbp + 0x1350]
movdqa xmmword [rsp + 0x60], xmm1
lea rdx, [rsp + 0x30]
lea rcx, [0x140080a38]
call fcn.140033984
lea rcx, [0x14003558c]
call fcn.14003445c
nop
lea rcx, [0x140080a08]
call fcn.140033fd4
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov ecx, eax
or dword [rbp + 0x1314], 0xffffffff
mov dword [rbp - 0x6c], eax
mov r8d, 1
mov edx, r8d
mov r9d, 0x270
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [rbp + rdx*4 - 0x6c], ecx
add rdx, r8
cmp rdx, r9
jb 0x140032c2a
mov dword [rbp - 0x70], r9d
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
and qword [rbx + 0x10], 0
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov dword [rsp + 0x28], r8d
xor r13d, r13d
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
movabs rsi, 0x7fffffffffffffff
lea rcx, [rsp + 0x20]
call fcn.140033c88
mov rcx, rax
mov eax, 0x1f
mul rcx
mov r8, rax
mov eax, eax
cmp rax, 0x1f
jae 0x140032cc2
cmp rax, 4
jae 0x140032cc2
lea rcx, [rsp + 0x20]
call fcn.140033c88
mov rcx, rax
mov eax, 0x1f
mul rcx
mov r8, rax
cmp eax, 4
jb 0x140032ca5
mov ecx, 0x20
shrd r8, rdx, cl
lea rax, [0x140080a38]
cmp qword [0x140080a50], 0xf
cmova rax, qword [0x140080a38]
mov r12b, byte [r8 + rax]
mov r14, qword [rbx + 0x10]
mov r15, qword [rbx + 0x18]
cmp r14, r15
jae 0x140032d16
lea rax, [r14 + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp r15, 0xf
jbe 0x140032d07
mov rax, qword [rbx]
mov byte [rax + r14], r12b
mov byte [rax + r14 + 1], 0
jmp 0x140032e27
mov rax, rsi
sub rax, r14
cmp rax, 1
jb 0x140032e74
lea rdi, [r14 + 1]
or rdi, 0xf
cmp rdi, rsi
ja 0x140032d44
mov rcx, r15
shr rcx, 1
mov rax, rsi
sub rax, rcx
cmp r15, rax
jbe 0x140032d57
mov rdi, rsi
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x140032d7c
lea rax, [r15 + rcx]
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x140032d9b
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140032e6e
mov rcx, rax
call fcn.140034474
test rax, rax
je 0x140032e67
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140032dac
test rcx, rcx
je 0x140032daa
call fcn.140034474
mov rsi, rax
jmp 0x140032dac
xor esi, esi
lea rax, [r14 + 1]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rdi
mov r8, r14
mov rcx, rsi
cmp r15, 0xf
jbe 0x140032e08
mov rdi, qword [rbx]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + r14], r12b
mov byte [rsi + r14 + 1], 0
lea rdx, [r15 + 1]
cmp rdx, 0x1000
jb 0x140032dfe
add rdx, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x140032e67
mov rdi, rcx
mov rcx, rdi
call fcn.140033f20
jmp 0x140032e1a
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + r14], r12b
mov byte [rsi + r14 + 1], 0
mov qword [rbx], rsi
movabs rsi, 0x7fffffffffffffff
inc r13
cmp r13, 0x10
jb 0x140032c7f
mov rax, rbx
mov rcx, qword [rbp + 0x1360]
xor rcx, rsp
call fcn.140033e30
lea r11, [rsp + 0x1470]
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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140032014
int3
call fcn.1400320b4
int3