Function at 0x140003340
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 - 0x1370]
mov eax, 0x1470
call fcn.1400074c0
sub rsp, rax
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rbp + 0x1360], rax
mov r15, rcx
mov qword [rsp + 0x20], rcx
xor r12d, r12d
movaps xmm0, xmmword [str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
movaps xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [0x140008a00]
movaps xmmword [rsp + 0x40], xmm1
movaps xmm0, xmmword [0x140008a10]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm1, xmmword [0x140008a20]
movaps xmmword [rsp + 0x60], xmm1
movaps xmm0, xmmword [0x140008a30]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm1, xmmword [0x140008a40]
movaps xmmword [rbp - 0x80], xmm1
movaps xmm0, xmmword [0x140008a50]
movaps xmmword [rbp - 0x70], xmm0
movsd xmm0, qword [0x140008a60]
movsd qword [rbp - 0x60], xmm0
mov eax, dword [0x140008a68]
mov dword [rbp - 0x58], eax
movzx eax, word [0x140008a6c]
mov word [rbp - 0x54], ax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov ebx, r12d
mov qword [rbp - 0x40], rbx
mov r14d, 7
mov edi, r14d
mov qword [rbp - 0x38], r14
mov word [rbp - 0x50], r12w
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbp + 0x1354], 0xffffffff
mov dword [rbp - 0x2c], eax
mov ecx, 1
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 - 0x2c], edx
inc rcx
cmp rcx, 0x270
jb 0x140003440
mov dword [rbp - 0x30], 0x270
mov esi, 0xc
mov r13d, 0x80000000
lea rcx, [rbp - 0x30]
call fcn.140005e60
mov ecx, eax
imul rax, rcx, 0x3e
cmp eax, 3
ja 0x140003499
lea rcx, [rbp - 0x30]
call fcn.140005e60
mov ecx, eax
imul rax, rcx, 0x3e
cmp eax, 4
jb 0x140003485
shr rax, 0x20
sub rax, r13
xor rax, 0xffffffff80000000
movzx r9d, word [rsp + rax*2 + 0x30]
cmp rbx, rdi
jae 0x1400034d3
lea rax, [rbx + 1]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x50]
cmp rdi, 7
cmova rax, qword [rbp - 0x50]
mov word [rax + rbx*2], r9w
mov word [rax + rbx*2 + 2], r12w
jmp 0x1400034dc
lea rcx, [rbp - 0x50]
call fcn.140005780
sub rsi, 1
mov rbx, qword [rbp - 0x40]
je 0x1400034ec
mov rdi, qword [rbp - 0x38]
jmp 0x140003471
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, rbx
cmp rax, 4
jb 0x140003672
lea rdx, [rbp - 0x50]
mov rsi, qword [rbp - 0x50]
mov r13, qword [rbp - 0x38]
cmp r13, 7
cmova rdx, rsi
mov qword [rsp + 0x20], rdx
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], r12
mov qword [r15 + 0x18], r12
lea r12, [rbx + 4]
mov rdi, r15
cmp r12, 7
jbe 0x1400035d0
mov r14, r12
or r14, 7
cmp r14, rcx
jbe 0x14000358d
mov r14, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x1400035c0
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000366c
mov rcx, rax
call fcn.140006674
test rax, rax
je 0x1400035b9
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400035c8
mov eax, 0xa
cmp r14, rax
cmovb r14, rax
lea rcx, [r14 + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14000366c
add rcx, rcx
jne 0x14000355c
xor edi, edi
jmp 0x1400035cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006674
mov rdi, rax
mov rdx, qword [rsp + 0x20]
mov qword [r15], rdi
mov qword [r15 + 0x10], r12
mov qword [r15 + 0x18], r14
add rbx, rbx
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movabs rax, 0x67006e0070002e
mov qword [rdi + rbx], rax
xor eax, eax
mov word [rdi + r12*2], ax
cmp r13, 7
jbe 0x140003639
lea rdx, [r13*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140003631
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003631
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1400068f0
mov rax, r15
mov rcx, qword [rbp + 0x1360]
xor rcx, rsp
call fcn.1400062d0
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 fcn.140001130
nop
call fcn.1400011d0
int3