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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x12e0]
mov eax, 0x13e0
call fcn.180012730
sub rsp, rax
mov rsi, rcx
xor edi, edi
mov dword [rsp + 0x20], edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
lea r8d, [rdi + 0x24]
lea rdx, str.abcdefghijklmnopqrstuvwxyz0123456789
lea rcx, [rsp + 0x28]
call fcn.18000ca80
nop
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], 7
mov word [rsi], di
mov dword [rsp + 0x20], 1
mov r12d, 0xa
mov edx, r12d
mov rcx, rsi
call fcn.18000c750
mov qword [rsi + 0x10], rdi
xor ecx, ecx
call fcn.180021234
mov dword [rbp + 0x12d4], 0xffffffff
mov dword [rsp + 0x54], eax
lea edx, [rdi + 1]
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul ecx, ecx, 0x6c078965
add ecx, edx
mov dword [rsp + rdx*4 + 0x54], ecx
mov eax, ecx
inc rdx
cmp rdx, 0x270
jb 0x1800061e0
mov ebx, 0x270
mov dword [rsp + 0x50], ebx
mov r15d, dword [rsp + 0x38]
dec r15d
mov r13, qword [rsp + 0x40]
mov r14, qword [rsp + 0x28]
nop dword [rax]
cmp r15d, 0xffffffff
jne 0x180006397
cmp ebx, 0x270
jne 0x180006282
lea r8, [rsp + 0x58]
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
xor ecx, dword [r8 + 0x630]
shr edx, 1
xor ecx, edx
mov dword [r8 + 0x9bc], ecx
lea r8, [r8 + 4]
sub r9, 1
jne 0x180006240
mov ebx, dword [rsp + 0x50]
jmp 0x18000635d
cmp ebx, 0x4e0
jb 0x18000635d
mov r8, rdi
mov eax, dword [rbp + r8*4 + 0x914]
mov edx, eax
xor edx, dword [rbp + r8*4 + 0x918]
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 + 0xf48]
shr edx, 1
xor ecx, edx
mov dword [rsp + r8*4 + 0x54], ecx
inc r8
cmp r8, 0xe3
jb 0x180006291
mov r8d, 0xe3
nop word [rax + rax]
mov eax, dword [rbp + r8*4 + 0x914]
mov edx, eax
xor edx, dword [rbp + r8*4 + 0x918]
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 - 0x438]
mov dword [rsp + r8*4 + 0x54], ecx
inc r8
cmp r8, 0x26f
jb 0x1800062e0
mov edx, dword [rbp + 0x12d0]
and edx, 0x80000000
mov eax, dword [rsp + 0x54]
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 + 0x584]
mov dword [rbp + 0x910], ecx
mov ebx, edi
mov dword [rsp + 0x50], ebx
mov eax, ebx
mov edx, dword [rsp + rax*4 + 0x54]
inc ebx
mov dword [rsp + 0x50], ebx
mov eax, edx
shr eax, 0xb
and eax, dword [rbp + 0x12d4]
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 0x1800063de
lea ebx, [r15 + 1]
lea rcx, [rsp + 0x50]
call fcn.18000f150
mov edi, ebx
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jae 0x1800063d4
mov eax, ebx
neg eax
xor edx, edx
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x1800063d4
nop
lea rcx, [rsp + 0x50]
call fcn.18000f150
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x1800063c0
shr rcx, 0x20
mov ebx, dword [rsp + 0x50]
xor edi, edi
lea rdx, [rsp + 0x28]
cmp r13, 7
cmova rdx, r14
movsxd rax, ecx
movzx r9d, word [rdx + rax*2]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x180006420
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 7
jbe 0x180006414
mov rax, qword [rsi]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], di
jmp 0x18000642f
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rsi
call fcn.18000c8d0
sub r12, 1
jne 0x180006220
cmp r13, 7
jbe 0x180006470
lea rdx, [r13*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x180006468
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000648e
mov rcx, r14
call fcn.180011de8
mov rax, rsi
mov rbx, qword [rsp + 0x1430]
add rsp, 0x13e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180021c30
int3