Function at 0x14005fa80
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 - 0x1350]
mov eax, 0x1450
call fcn.140061b90
sub rsp, rax
mov rax, qword [0x140078038]
xor rax, rsp
mov qword [rbp + 0x1340], rax
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov r15, qword [rcx]
mov rsi, qword [rcx + 8]
mov qword [rsp + 0x38], rsi
cmp r15, rsi
je 0x14005fd9f
lea rbx, [r15 + 0x20]
mov qword [rsp + 0x40], rbx
nop dword [rax]
nop dword [rax + rax]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, r15
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x78]
call fcn.14005f5c0
nop
mov r13, qword [rbp - 0x60]
mov r14, qword [rbp - 0x78]
mov rdi, qword [rbp - 0x68]
test rdi, rdi
je 0x14005fd52
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
lea rsi, [rbp - 0x78]
cmp r13, 8
cmovae rsi, r14
cmp rdi, 8
jae 0x14005fb5b
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x78], 7
jmp 0x14005fb9e
mov rbx, rdi
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x60]
call fcn.140013940
mov qword [rsp + 0x60], rax
lea r8, [rdi*2 + 2]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], rdi
or r12d, 1
mov dword [rsp + 0x30], r12d
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov dword [rbp + 0x1334], 0xffffffff
mov dword [rbp - 0x4c], eax
mov edx, 1
nop dword [rax]
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 - 0x4c], eax
inc rdx
cmp rdx, 0x270
jb 0x14005fbd0
mov dword [rbp - 0x50], 0x270
lea rbx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rbx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
cmovae rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x70]
lea rdi, [rcx + rax*2]
cmp rbx, rdi
je 0x14005fcdf
mov r13d, 0x5b
nop word [rax + rax]
movzx ecx, word [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
test eax, eax
je 0x14005fc6f
lea rax, [rbp - 0x50]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0x20
mov dword [rsp + 0x58], 0xffffffff
mov edx, 0xa
lea rcx, [rsp + 0x48]
call fcn.140009e10
add ax, 0x30
mov word [rbx], ax
jmp 0x14005fcce
movzx ecx, word [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
test eax, eax
je 0x14005fcce
movzx ecx, word [rbx]
lea eax, [rcx - 0x41]
cmp ax, 5
jbe 0x14005fc92
sub cx, 0x61
cmp cx, 5
ja 0x14005fcce
lea rax, [rbp - 0x50]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0x20
mov dword [rsp + 0x58], 0xffffffff
mov edx, 6
lea rcx, [rsp + 0x48]
call fcn.140009e10
mov ecx, 0x41
cmp eax, 6
cmovge cx, r13w
add cx, ax
mov word [rbx], cx
add rbx, 2
cmp rbx, rdi
jne 0x14005fc30
mov r13, qword [rbp - 0x60]
mov eax, dword [rbp - 0x80]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x60]
mov rbx, qword [rsp + 0x40]
mov r8, rbx
mov rdx, r15
mov rcx, 0xffffffff80000002
call fcn.140060710
and r12d, 0xfffffffe
mov dword [rsp + 0x30], r12d
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14005fd4d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005fd48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005fdcf
call fcn.1400612e0
mov rsi, qword [rsp + 0x38]
cmp r13, 8
jb 0x14005fd89
lea rdx, [r13*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x14005fd81
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005fdd6
mov rcx, r14
call fcn.1400612e0
add r15, 0x40
add rbx, 0x40
mov qword [rsp + 0x40], rbx
cmp r15, rsi
jne 0x14005faf0
mov rcx, qword [rbp + 0x1340]
xor rcx, rsp
call fcn.140061400
lea r11, [rsp + 0x1450]
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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3