Function at 0x1800026c0
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.1800503f0
sub rsp, rax
mov rax, qword [0x180065040]
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 [0x1800528c8]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [0x1800528d8]
movups xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [0x1800528e8]
movups xmmword [rsp + 0x68], xmm0
movsd xmm0, qword [0x1800528f8]
movsd qword [rsp + 0x78], xmm0
mov eax, dword [0x180052900]
mov dword [rbp - 0x80], eax
movzx eax, word [0x180052904]
mov word [rbp - 0x7c], ax
movzx eax, byte [0x180052906]
mov byte [rbp - 0x7a], al
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov ecx, 0x40
call fcn.18004f600
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 0x1800027d0
mov dword [rbp - 0x60], 0x270
mov esi, 0x80000000
nop dword [rax + rax]
mov rcx, qword [rdi + 0x10]
cmp rcx, 0xa
jb 0x180002825
mov qword [rdi + 0x10], 0xa
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x18000281f
mov rax, qword [rdi]
mov byte [rax + 0xa], 0
jmp 0x18000287a
mov esi, 0xa
sub rsi, rcx
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x180002867
mov qword [rdi + 0x10], 0xa
mov rax, rdi
cmp rdx, 0xf
jbe 0x180002850
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 0x180002875
mov r9, rsi
mov rdx, rsi
mov rcx, rdi
call fcn.180002d10
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 0x1800028a8
lea rcx, [rbp - 0x60]
call fcn.180001400
mov ecx, eax
imul rax, rcx, 0x3e
cmp eax, 4
jb 0x180002894
shr rax, 0x20
sub rax, rsi
xor rax, 0xffffffff80000000
movzx ecx, byte [rsp + rax + 0x48]
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1800028c7
mov rax, qword [rdi]
mov byte [rbx + rax], cl
inc rbx
cmp rbx, 0xa
jl 0x180002880
mov rsi, qword [r14 + 0x10]
mov r9, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x1800028e4
mov r9, qword [r14]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x180002923
lea rax, [rcx + rsi]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x18000290b
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 0x180002933
mov qword [rsp + 0x20], rsi
mov rdx, rsi
mov rcx, rdi
call fcn.180002ea0
mov r13, qword [rbp - 0x70]
mov rbx, qword [r13 + 8]
mov r15, r13
cmp byte [rbx + 0x19], 0
jne 0x18000299c
mov r14, qword [rdi + 0x10]
mov r12, qword [rdi + 0x18]
nop dword [rax]
lea rcx, [rbx + 0x20]
mov rdx, rdi
cmp r12, 0xf
jbe 0x180002960
mov rdx, qword [rdi]
mov rsi, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x18000296e
mov rcx, qword [rcx]
mov r8, rsi
cmp r14, rsi
cmovb r8, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180002a26
js 0x180002a2f
mov r15, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x180002950
mov r14, qword [rsp + 0x38]
cmp byte [r15 + 0x19], 0
jne 0x1800029b3
lea r8, [r15 + 0x20]
mov rdx, rdi
call fcn.180003350
test al, al
je 0x1800029b6
mov r15, r13
cmp r15, r13
mov esi, 0x80000000
jne 0x180002800
mov r8, rdi
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x70]
call fcn.180002b90
nop
mov r8, qword [rbp - 0x70]
mov r8, qword [r8 + 8]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.180003030
mov edx, 0x40
mov rcx, qword [rbp - 0x70]
call fcn.18004f5f8
mov rax, rdi
mov rcx, qword [rbp + 0x1330]
xor rcx, rsp
call fcn.18004f260
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 0x18000298b
mov rbx, qword [rbx + 0x10]
jmp 0x180002991