Function at 0x140024420
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1400
call fcn.1400390e0
sub rsp, rax
mov rax, qword [0x140051040]
xor rax, rsp
mov qword [rsp + 0x13f0], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x20], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x3e
lea rdx, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
lea rcx, [rsp + 0x40]
call fcn.14000a910
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov r8d, 0xffffffff
mov dword [rsp + 0x13e4], r8d
mov dword [rsp + 0x64], eax
mov r14d, 1
mov ecx, r14d
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x64], edx
inc rcx
cmp rcx, 0x270
jb 0x1400244b0
mov dword [rsp + 0x60], 0x270
mov ecx, 0x40
mov rsi, 0xffffffffffffffff
lea rcx, [rcx - 1]
shr rsi, 1
cmp rsi, r8
ja 0x1400244e3
lea r8, [rsp + 0x40]
mov r9, qword [rsp + 0x40]
mov r10, qword [rsp + 0x58]
cmp r10, 0xf
cmova r8, r9
mov rdx, qword [rsp + 0x50]
add r8, rdx
mov qword [rsp + 0x30], r8
lea r13, [rsp + 0x40]
cmp r10, 0xf
cmova r13, r9
cmp r13, r8
je 0x140024614
lea rax, [r13 + 1]
cmp rax, r8
je 0x140024614
lea rbp, [rcx - 1]
mov rax, r14
sub rax, r13
mov qword [rsp + 0x20], rax
nop word [rax + rax]
lea r12, [r14 + r13]
lea r15, [r12 + rax]
nop dword [rax + rax]
xor ebx, ebx
xor edi, edi
test r14, r14
je 0x1400245a5
nop dword [rax]
mov rcx, rbp
shl rbx, cl
add rbx, rbx
nop dword [rax]
lea rcx, [rsp + 0x60]
call fcn.140025d50
mov eax, eax
cmp rax, rsi
ja 0x140024580
or rbx, rax
mov rcx, rbp
shl rdi, cl
add rdi, rdi
or rdi, rsi
cmp rdi, r14
jb 0x140024570
xor edx, edx
mov rax, rdi
div r15
mov rcx, rax
xor edx, edx
mov rax, rbx
div r15
cmp rax, rcx
jb 0x1400245ca
xor edx, edx
mov rax, rdi
div r15
cmp rdx, r14
jne 0x140024560
xor edx, edx
mov rax, rbx
div r15
cmp rdx, r14
je 0x1400245e9
movzx ecx, byte [r12]
movzx eax, byte [rdx + r13]
mov byte [r12], al
mov byte [rdx + r13], cl
inc r14
lea rax, [r14 + r13]
cmp rax, qword [rsp + 0x30]
mov rax, qword [rsp + 0x20]
jne 0x140024550
mov r10, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov r9, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov r8d, 0x10
cmp rdx, r8
cmovb r8, rdx
lea rdx, [rsp + 0x40]
cmp r10, 0xf
cmova rdx, r9
mov rcx, rbx
call fcn.14000a910
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14002468d
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024688
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140024688
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140038024
mov rax, rbx
mov rcx, qword [rsp + 0x13f0]
xor rcx, rsp
call fcn.140037d80
lea r11, [rsp + 0x1400]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret