Function at 0x18005a3a0
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 - 0x12d0]
mov eax, 0x13d0
call fcn.180061400
sub rsp, rax
mov rax, qword [0x180076040]
xor rax, rsp
mov qword [rbp + 0x12c0], rax
mov rsi, rcx
mov qword [rsp + 0x28], rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
mov ecx, dword [0x180076eac]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x180077360], ecx
jle 0x18005a4ce
lea rcx, [0x180077360]
call fcn.1800603a0
cmp dword [0x180077360], 0xffffffff
jne 0x18005a4ce
xorps xmm0, xmm0
movups xmmword [0x180077340], xmm0
mov qword [0x180077350], r12
mov qword [0x180077358], r12
lea ecx, [r12 + 0x40]
call fcn.180060280
mov rdx, rax
mov qword [0x180077340], rax
mov qword [0x180077350], 0x3e
mov qword [0x180077358], 0x3f
movups xmm0, xmmword [str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x18006b4a8]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x18006b4b8]
movups xmmword [rax + 0x20], xmm0
movsd xmm0, qword [0x18006b4c8]
movsd qword [rax + 0x30], xmm0
mov eax, dword [0x18006b4d0]
mov dword [rdx + 0x38], eax
movzx eax, word [0x18006b4d4]
mov word [rdx + 0x3c], ax
mov byte [rdx + 0x3e], r12b
lea rcx, [0x180061ff0]
call fcn.1800609bc
nop
lea rcx, [0x180077360]
call fcn.180060334
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbp + 0x12b4], 0xffffffff
mov dword [rsp + 0x34], eax
mov ecx, 1
nop dword [rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x34], edx
inc rcx
cmp rcx, 0x270
jb 0x18005a4f0
mov ebx, 0x270
mov dword [rsp + 0x30], ebx
mov r14d, dword [0x180077350]
dec r14d
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov dword [rsp + 0x20], 1
mov r15d, 5
lea r13, [0x180077340]
nop dword [rax]
mov eax, r14d
cmp r14d, 0x80000000
cmovae eax, r14d
cmp eax, 0xffffffff
jne 0x18005a6d8
cmp ebx, 0x270
jne 0x18005a5c2
lea r8, [rsp + 0x38]
mov r9d, ebx
nop word [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, dword [r8 - 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [r8 + 0x630]
mov dword [r8 + 0x9bc], ecx
lea r8, [r8 + 4]
sub r9, 1
jne 0x18005a580
mov ebx, dword [rsp + 0x30]
jmp 0x18005a69e
cmp ebx, 0x4e0
jb 0x18005a69e
mov r8, r12
mov eax, dword [rbp + r8*4 + 0x8f4]
mov edx, eax
xor edx, dword [rbp + r8*4 + 0x8f8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [rbp + r8*4 + 0xf28]
shr edx, 1
xor ecx, edx
mov dword [rsp + r8*4 + 0x34], ecx
inc r8
cmp r8, 0xe3
jb 0x18005a5d1
mov r8d, 0xe3
nop word [rax + rax]
mov eax, dword [rbp + r8*4 + 0x8f4]
mov edx, eax
xor edx, dword [rbp + r8*4 + 0x8f8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [rbp + r8*4 - 0x458]
mov dword [rsp + r8*4 + 0x34], ecx
inc r8
cmp r8, 0x26f
jb 0x18005a620
mov edx, dword [rbp + 0x12b0]
and edx, 0x80000000
mov eax, dword [rsp + 0x34]
btr eax, 0x1f
or edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [rbp + 0x564]
mov dword [rbp + 0x8f0], ecx
mov ebx, r12d
mov dword [rsp + 0x30], ebx
mov eax, ebx
mov edx, dword [rsp + rax*4 + 0x34]
inc ebx
mov dword [rsp + 0x30], ebx
mov eax, edx
shr eax, 0xb
and eax, dword [rbp + 0x12b4]
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
jmp 0x18005a71c
lea ebx, [rax + 1]
lea rcx, [rsp + 0x30]
call fcn.18005c630
mov edi, ebx
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jae 0x18005a714
mov eax, ebx
neg eax
xor edx, edx
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x18005a714
nop
lea rcx, [rsp + 0x30]
call fcn.18005c630
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x18005a700
shr rcx, 0x20
mov ebx, dword [rsp + 0x30]
mov rdx, r13
cmp qword [0x180077358], 0xf
cmova rdx, qword [0x180077340]
movsxd rax, ecx
movzx r9d, byte [rax + rdx]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x18005a763
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0xf
jbe 0x18005a758
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x18005a76b
mov rcx, rsi
call fcn.18005c190
sub r15, 1
jne 0x18005a550
mov rax, rsi
mov rcx, qword [rbp + 0x12c0]
xor rcx, rsp
call fcn.180060260
lea r11, [rsp + 0x13d0]
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