Function at 0x140002350
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
lea rbp, [rsp - 0x12f0]
mov eax, 0x13f0
call fcn.140009b00
sub rsp, rax
mov rax, qword [0x140010040]
xor rax, rsp
mov qword [rbp + 0x12e0], rax
mov rdi, rcx
mov qword [rsp + 0x20], rcx
xor ebx, ebx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
lea r8d, [rbx + 0x20]
lea rdx, str.ABCDEFGHIJKLMNOPRSTUVZ1234567890
lea rcx, [rsp + 0x30]
call fcn.140007900
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbp + 0x12d4], 0xffffffff
mov dword [rsp + 0x54], eax
lea ecx, [rbx + 1]
nop dword [rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x54], edx
inc rcx
cmp rcx, 0x270
jb 0x1400023e0
mov edx, 0x270
mov dword [rsp + 0x50], edx
mov r15, qword [rsp + 0x40]
dec r15
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 4
mov qword [rdi + 0x18], 0xf
xor eax, eax
mov dword [rdi], eax
mov byte [rdi + 4], al
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14000243f
mov rcx, qword [rdi]
mov r8, rcx
jmp 0x140002442
mov r8, rdi
mov rsi, rcx
mov r12, qword [rdi + 0x10]
add r12, r8
mov r13, qword [rsp + 0x48]
mov r14, qword [rsp + 0x30]
cmp rcx, r12
je 0x1400027ec
nop
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
cmp r15, 0xffffffffffffffff
jne 0x1400027b5
cmp edx, 0x270
jne 0x1400024d5
lea rax, [rsp + 0x58]
mov r9d, edx
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
btr r8d, 0x1f
xor r8d, dword [rax - 4]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
and edx, 0x9908b0df
xor edx, dword [rax + 0x630]
shr r8d, 1
xor edx, r8d
mov dword [rax + 0x9bc], edx
lea rax, [rax + 4]
sub r9, 1
jne 0x140002490
mov edx, dword [rsp + 0x50]
jmp 0x1400025d6
cmp edx, 0x4e0
jb 0x1400025d6
lea r9, [rbp + 0x914]
mov r11d, 0xe3
mov r10d, dword [rbp + 0x914]
nop word [rax + rax]
mov eax, r10d
mov r8, r9
add r9, 4
mov r10d, dword [r9]
mov edx, r10d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
shr edx, 1
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub r11, 1
jne 0x140002500
lea r9, [rbp + 0xca0]
mov r11d, 0x18c
mov r10d, dword [rbp + 0xca0]
nop dword [rax]
nop word [rax + rax]
mov eax, r10d
mov r8, r9
add r9, 4
mov r10d, dword [r9]
mov edx, r10d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
shr edx, 1
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub r11, 1
jne 0x140002560
mov edx, dword [rbp + 0x12d0]
xor edx, dword [rsp + 0x54]
btr edx, 0x1f
xor edx, dword [rbp + 0x12d0]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [rbp + 0x584]
mov dword [rbp + 0x910], ecx
mov dword [rsp + 0x50], ebx
mov edx, ebx
mov eax, edx
mov ecx, dword [rsp + rax*4 + 0x54]
inc edx
mov dword [rsp + 0x50], edx
mov eax, ecx
shr eax, 0xb
and eax, dword [rbp + 0x12d4]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov ebx, ecx
shr ebx, 0x12
xor ebx, ecx
shl rbx, 0x20
cmp edx, 0x270
jne 0x140002672
lea r8, [rsp + 0x58]
mov r9d, edx
nop dword [rax]
nop word [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, dword [r8 - 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x630]
shr edx, 1
xor ecx, edx
mov dword [r8 + 0x9bc], ecx
lea r8, [r8 + 4]
sub r9, 1
jne 0x140002630
mov edx, dword [rsp + 0x50]
jmp 0x140002777
cmp edx, 0x4e0
jb 0x140002777
lea r10, [rbp + 0x914]
mov r9d, 0xe3
mov r11d, dword [rbp + 0x914]
nop dword [rax]
nop word [rax + rax]
mov eax, r11d
mov r8, r10
add r10, 4
mov r11d, dword [r10]
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
shr edx, 1
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub r9, 1
jne 0x1400026a0
lea r10, [rbp + 0xca0]
mov r9d, 0x18c
mov r11d, dword [rbp + 0xca0]
nop dword [rax]
nop word [rax + rax]
mov eax, r11d
mov r8, r10
add r10, 4
mov r11d, dword [r10]
mov edx, eax
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [r8 - 0xd4c]
mov dword [r8 - 0x9c0], ecx
sub r9, 1
jne 0x140002700
mov edx, dword [rbp + 0x12d0]
xor edx, dword [rsp + 0x54]
btr edx, 0x1f
xor edx, dword [rbp + 0x12d0]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [rbp + 0x584]
mov dword [rbp + 0x910], ecx
mov dword [rsp + 0x50], r9d
xor edx, edx
mov eax, edx
mov ecx, dword [rsp + rax*4 + 0x54]
lea eax, [rdx + 1]
mov dword [rsp + 0x50], eax
mov eax, ecx
shr eax, 0xb
and eax, dword [rbp + 0x12d4]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
or rbx, rax
jmp 0x1400027c6
lea rdx, [r15 + 1]
lea rcx, [rsp + 0x20]
call fcn.140008400
mov rbx, rax
lea rax, [rsp + 0x30]
cmp r13, 0xf
cmova rax, r14
movzx eax, byte [rbx + rax]
mov byte [rsi], al
inc rsi
cmp rsi, r12
je 0x1400027ec
mov edx, dword [rsp + 0x50]
xor ebx, ebx
jmp 0x140002460
cmp r13, 0xf
jbe 0x140002826
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14000281e
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000281e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.140008eb8
mov rax, rdi
mov rcx, qword [rbp + 0x12e0]
xor rcx, rsp
call fcn.140008cb0
lea r11, [rsp + 0x13f0]
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