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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1340]
mov eax, 0x1440
call fcn.18004fa20
sub rsp, rax
mov rax, qword [0x180064040]
xor rax, rsp
mov qword [rbp + 0x1330], rax
mov r14, r8
mov qword [rsp + 0x38], r8
mov rdi, rcx
mov qword [rbp - 0x78], rcx
mov dword [rsp + 0x30], 0
movups xmm0, xmmword [str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [0x1800518a0]
movups xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [0x1800518b0]
movups xmmword [rsp + 0x68], xmm0
movsd xmm0, qword [0x1800518c0]
movsd qword [rsp + 0x78], xmm0
mov eax, dword [0x1800518c8]
mov dword [rbp - 0x80], eax
movzx eax, word [0x1800518cc]
mov word [rbp - 0x7c], ax
movzx eax, byte [0x1800518ce]
mov byte [rbp - 0x7a], al
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov ecx, 0x40
call fcn.18004ec30
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 0x70], rax
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov ebx, 1
mov dword [rsp + 0x30], ebx
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov ecx, eax
mov dword [rbp + 0x1324], 0xffffffff
mov dword [rbp - 0x5c], eax
nop dword [rax + rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, ebx
mov dword [rbp + rbx*4 - 0x5c], ecx
inc rbx
cmp rbx, 0x270
jb 0x180002430
mov dword [rbp - 0x60], 0x270
mov esi, 0x80000000
nop dword [rax + rax]
mov rcx, qword [rdi + 0x10]
cmp rcx, 0xa
jb 0x180002485
mov qword [rdi + 0x10], 0xa
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x18000247f
mov rax, qword [rdi]
mov byte [rax + 0xa], 0
jmp 0x1800024da
mov esi, 0xa
sub rsi, rcx
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x1800024c7
mov qword [rdi + 0x10], 0xa
mov rax, rdi
cmp rdx, 0xf
jbe 0x1800024b0
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8, rsi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + rsi], 0
jmp 0x1800024d5
mov r9, rsi
mov rdx, rsi
mov rcx, rdi
call fcn.180002970
mov esi, 0x80000000
xor ebx, ebx
nop dword [rax]
lea rcx, [rbp - 0x60]
call fcn.180001400
mov ecx, eax
imul rax, rcx, 0x3e
cmp eax, 3
ja 0x180002508
lea rcx, [rbp - 0x60]
call fcn.180001400
mov ecx, eax
imul rax, rcx, 0x3e
cmp eax, 4
jb 0x1800024f4
shr rax, 0x20
sub rax, rsi
xor rax, 0xffffffff80000000
movzx ecx, byte [rsp + rax + 0x48]
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x180002527
mov rax, qword [rdi]
mov byte [rbx + rax], cl
inc rbx
cmp rbx, 0xa
jl 0x1800024e0
mov rsi, qword [r14 + 0x10]
mov r9, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x180002544
mov r9, qword [r14]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x180002583
lea rax, [rcx + rsi]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x18000256b
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x180002593
mov qword [rsp + 0x20], rsi
mov rdx, rsi
mov rcx, rdi
call fcn.180002b00
mov r13, qword [rbp - 0x70]
mov rbx, qword [r13 + 8]
mov r15, r13
cmp byte [rbx + 0x19], 0
jne 0x1800025fc
mov r14, qword [rdi + 0x10]
mov r12, qword [rdi + 0x18]
nop dword [rax]
lea rcx, [rbx + 0x20]
mov rdx, rdi
cmp r12, 0xf
jbe 0x1800025c0
mov rdx, qword [rdi]
mov rsi, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x1800025ce
mov rcx, qword [rcx]
mov r8, rsi
cmp r14, rsi
cmovb r8, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180002686
js 0x18000268f
mov r15, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x1800025b0
mov r14, qword [rsp + 0x38]
cmp byte [r15 + 0x19], 0
jne 0x180002613
lea r8, [r15 + 0x20]
mov rdx, rdi
call fcn.180002fb0
test al, al
je 0x180002616
mov r15, r13
cmp r15, r13
mov esi, 0x80000000
jne 0x180002460
mov r8, rdi
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x70]
call fcn.1800027f0
nop
mov r8, qword [rbp - 0x70]
mov r8, qword [r8 + 8]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.180002c90
mov edx, 0x40
mov rcx, qword [rbp - 0x70]
call fcn.18004ec28
mov rax, rdi
mov rcx, qword [rbp + 0x1330]
xor rcx, rsp
call fcn.18004e890
mov rbx, qword [rsp + 0x1488]
add rsp, 0x1440
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp rsi, r14
jae 0x1800025eb
mov rbx, qword [rbx + 0x10]
jmp 0x1800025f1