Function at 0x140048090
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 rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14024b028]
xor rax, rsp
mov qword [rbp - 8], rax
mov r12, rcx
mov qword [rbp - 0x40], rcx
xor r13d, r13d
lea esi, [r13 + 0xf]
mov rax, qword gs:[0x58]
mov r14, qword [rax]
mov r15d, 0x14
mov eax, dword [r15 + r14]
mov edi, 0x20
test al, 1
jne 0x14004814a
or eax, 1
mov dword [r15 + r14], eax
call fcn.14007e420
mov edx, eax
mov dword [r14 + rdi + 0x1384], 0xffffffff
mov dword [r14 + rdi + 4], eax
lea ecx, [rsi - 0xe]
lea r8, [rdi + 8]
add r8, r14
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [r8], edx
inc rcx
lea r8, [r8 + 4]
cmp rcx, 0x270
jb 0x140048120
mov dword [r14 + rdi], 0x270
mov eax, dword [r15 + r14]
mov ebx, 0x13a8
test al, 2
jne 0x14004816b
or eax, 2
mov dword [r15 + r14], eax
mov qword [r14 + rbx], r13
mov qword [r14 + rbx + 8], 0x19
mov qword [rbp - 0x30], r13
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], r13
mov ecx, 0x10
call fcn.1400760c0
mov qword [rax + 8], r13
mov qword [rbp - 0x30], rax
lea rcx, [rbp - 0x30]
mov qword [rax], rcx
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov edx, 0xf
lea rcx, [rbp - 0x30]
call fcn.140058430
lea r15, [r14 + rbx]
add r14, rdi
lea r13, [0x14022b938]
nop dword [rax]
nop word [rax + rax]
dec rsi
mov rdx, qword [r15 + 8]
mov rdi, qword [r15]
mov qword [rbp - 0x40], r14
sub rdx, rdi
cmp rdx, 0xffffffffffffffff
jne 0x140048204
mov rcx, r14
call fcn.14006d7e0
mov ebx, eax
shl rbx, 0x20
mov rcx, r14
call fcn.14006d7e0
mov eax, eax
or rbx, rax
jmp 0x140048213
inc rdx
lea rcx, [rbp - 0x40]
call fcn.14006aed0
mov rbx, rax
lea rax, [rbx + rdi]
movzx r9d, byte [rax + r13]
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
cmp rcx, rdx
jae 0x140048249
lea rax, [rcx + 1]
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x28]
cmp rdx, 0x10
cmovae rax, qword [rbp - 0x28]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140048259
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp - 0x30]
call fcn.14005fba0
test rsi, rsi
jne 0x1400481d0
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp - 0x18]
sub rax, rcx
cmp rax, 4
mov r13, rsi
jb 0x1400483bc
lea r9, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae r9, qword [rbp - 0x28]
mov qword [rsp + 0x30], 4
lea rax, [0x14022b8b8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, r12
call fcn.140061880
nop
lea edx, [rsi + 3]
lea rcx, [rbp - 0x40]
call fcn.1400785c0
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400482df
mov rax, qword [rcx + 8]
mov qword [rcx + 8], rsi
test rax, rax
je 0x1400482df
mov qword [rax], r13
mov rax, qword [rax + 8]
test rax, rax
jne 0x1400482d3
lea rcx, [rbp - 0x40]
call fcn.1400786a0
mov rax, qword [rbp - 0x10]
cmp rax, 0x10
jb 0x14004836a
mov rdi, qword [rbp - 0x28]
lea rbx, [rax + 1]
test rdi, rdi
jne 0x14004835f
test rbx, rbx
je 0x14004835f
lea rax, [0x14022c188]
mov qword [rsp + 0x28], rax
lea rax, [0x14022b1ec]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x3c7
lea rdx, [0x14022b1f0]
lea ecx, [rdi + 2]
call fcn.1401885f0
cmp eax, 1
jne 0x14004833a
int3
mov qword [rsp + 0x20], r13
mov r9d, 0x3c7
lea r8, [0x14022b260]
lea rdx, [0x14022b324]
lea rcx, [0x14022c1c0]
call fcn.140188f20
mov rdx, rbx
mov rcx, rdi
call fcn.140060010
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov rcx, qword [rbp - 0x30]
mov qword [rbp - 0x30], r13
mov edx, 0x10
call fcn.140075fd0
mov rax, r12
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140075760
lea r11, [rsp + 0x80]
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 fcn.140038890
nop
int3