Function at 0x180002690
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.180070eb0
sub rsp, rax
mov rax, qword [0x1800aa010]
xor rax, rsp
mov qword [rsp + 0x13f0], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
mov r8d, 0x3e
lea rdx, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
lea rcx, [rsp + 0x38]
call fcn.18000c890
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
nop
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 0x180002730
mov dword [rsp + 0x60], 0x270
lea rdx, [rsp + 0x38]
mov r9, qword [rsp + 0x38]
mov r10, qword [rsp + 0x50]
cmp r10, 0x10
cmovae rdx, r9
mov rcx, qword [rsp + 0x48]
add rdx, rcx
mov qword [rsp + 0x28], rdx
lea r13, [rsp + 0x38]
cmp r10, 0x10
cmovae r13, r9
mov rsi, 0xffffffffffffffff
mov r15d, 0x40
nop word [rax + rax]
lea r15, [r15 - 1]
shr rsi, 1
cmp rsi, r8
ja 0x1800027a0
cmp r13, rdx
je 0x180002880
lea rax, [r13 + 1]
cmp rax, rdx
je 0x180002880
mov rcx, r14
sub rcx, r13
mov qword [rsp + 0x20], rcx
nop dword [rax]
lea r12, [r14 + r13]
add r12, rcx
xor ebx, ebx
xor edi, edi
test r14, r14
je 0x180002816
lea rcx, [r15 - 1]
shl rbx, cl
add rbx, rbx
nop word [rax + rax]
lea rcx, [rsp + 0x60]
call fcn.18000f710
mov eax, eax
cmp rax, rsi
ja 0x1800027f0
or rbx, rax
lea rcx, [r15 - 1]
shl rdi, cl
add rdi, rdi
or rdi, rsi
cmp rdi, r14
jb 0x1800027e0
xor edx, edx
mov rax, rdi
div r12
mov r8, rdx
mov rcx, rax
xor edx, edx
mov rax, rbx
div r12
cmp rax, rcx
jb 0x180002836
cmp r8, r14
jne 0x1800027d7
xor edx, edx
mov rax, rbx
div r12
cmp rdx, r14
je 0x180002855
movzx ecx, byte [r14 + r13]
movzx eax, byte [rdx + r13]
mov byte [r14 + r13], al
mov byte [rdx + r13], cl
inc r14
lea rax, [r14 + r13]
cmp rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
jne 0x1800027d0
mov r10, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov r9, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov qword [rbx], 0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov r8d, 0x20
cmp rcx, r8
cmovb r8, rcx
lea rdx, [rsp + 0x38]
cmp r10, 0x10
cmovae rdx, r9
mov rcx, rbx
call fcn.18000c890
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x1800028fd
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800028f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800028f8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800700e4
mov rax, rbx
mov rcx, qword [rsp + 0x13f0]
xor rcx, rsp
call fcn.18006fa70
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