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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1308]
mov eax, 0x1408
call fcn.1400a6930
sub rsp, rax
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], SafeArrayGetLBound
mov byte [rsp + 0x40], 0
lea rcx, [0x140118dc0]
cmp qword [0x140118dd8], 0x10
cmovae rcx, qword [0x140118dc0]
mov r8, qword [0x140118dd0]
test r8, r8
jne 0x14000744b
lea rdx, [rsp + 0x40]
call fcn.1400a9040
test eax, eax
jne 0x14000744b
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], SafeArrayGetLBound
mov r13d, 0x40
mov ecx, r13d
call fcn.1400a5fd0
mov rcx, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], 0x3e
mov qword [rsp + 0x38], 0x3f
movups xmm0, xmmword [str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400f2578]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1400f2588]
movups xmmword [rax + 0x20], xmm0
movsd xmm0, qword [0x1400f2598]
movsd qword [rax + 0x30], xmm0
mov eax, dword [0x1400f25a0]
mov dword [rcx + 0x38], eax
movzx eax, word [0x1400f25a4]
mov word [rcx + 0x3c], ax
mov byte [rcx + 0x3e], 0
call fcn.1400823bc
mov edi, 0xffffffff
mov dword [rbp + 0x12f4], edi
mov dword [rsp + 0x74], eax
mov r15d, 1
mov edx, r15d
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x74], eax
inc rdx
cmp rdx, 0x270
jb 0x140007070
mov r8d, 0x270
mov dword [rsp + 0x70], r8d
lea r11, [rsp + 0x20]
mov rcx, qword [rsp + 0x20]
mov r9, qword [rsp + 0x38]
cmp r9, 0x10
cmovae r11, rcx
mov rdx, qword [rsp + 0x30]
add r11, rdx
mov qword [rbp + 0x1368], r11
lea r10, [rsp + 0x20]
cmp r9, 0x10
cmovae r10, rcx
mov qword [rbp + 0x1358], r10
mov rsi, 0xffffffffffffffff
nop dword [rax + rax]
lea r13, [r13 - 1]
shr rsi, 1
cmp rsi, rdi
ja 0x1400070e0
cmp r10, r11
je 0x140007376
lea rax, [r10 + 1]
cmp rax, r11
je 0x140007376
mov rcx, r15
sub rcx, r10
mov qword [rsp + 0x68], rcx
nop dword [rax]
lea rax, [r15 + r10]
mov qword [rbp + 0x1360], rax
lea r12, [rax + rcx]
nop
xor edi, edi
xor ebx, ebx
test r15, r15
je 0x1400072f3
nop dword [rax]
lea rcx, [r13 - 1]
shl rdi, cl
add rdi, rdi
nop word [rax + rax]
cmp r8d, 0x270
jne 0x1400071a6
lea rax, [rsp + 0x78]
mov r9d, r8d
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
btr r8d, 0x1f
xor r8d, dword [rax - 4]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
and edx, 0x9908b0df
shr r8d, 1
xor edx, r8d
xor edx, dword [rax + 0x630]
mov dword [rax + 0x9bc], edx
lea rax, [rax + 4]
sub r9, 1
jne 0x140007160
mov r8d, dword [rsp + 0x70]
jmp 0x140007296
cmp r8d, 0x4e0
jb 0x140007296
lea r9, [rbp + 0x934]
mov r10d, 0xe3
mov r11d, dword [rbp + 0x934]
nop word [rax + rax]
mov eax, r11d
mov r11d, dword [r9 + 4]
mov edx, r11d
xor edx, eax
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 [r9 + 0x634]
mov dword [r9 - 0x9c0], ecx
lea r9, [r9 + 4]
sub r10, 1
jne 0x1400071d0
lea r9, [rbp + 0xcc0]
mov r10d, 0x18c
mov r11d, dword [rbp + 0xcc0]
mov eax, r11d
mov r11d, dword [r9 + 4]
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r9 - 0xd4c]
shr edx, 1
xor ecx, edx
mov dword [r9 - 0x9c0], ecx
lea r9, [r9 + 4]
sub r10, 1
jne 0x140007220
mov edx, dword [rbp + 0x12f0]
xor edx, dword [rsp + 0x74]
btr edx, 0x1f
xor edx, dword [rbp + 0x12f0]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [rbp + 0x5a4]
mov dword [rbp + 0x930], ecx
xor r8d, r8d
mov dword [rsp + 0x70], r8d
mov eax, r8d
mov ecx, dword [rsp + rax*4 + 0x74]
inc r8d
mov dword [rsp + 0x70], r8d
mov eax, ecx
shr eax, 0xb
and eax, dword [rbp + 0x12f4]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
cmp rax, rsi
ja 0x140007140
or rdi, rax
lea rcx, [r13 - 1]
shl rbx, cl
add rbx, rbx
or rbx, rsi
cmp rbx, r15
jb 0x140007130
xor edx, edx
mov rax, rbx
div r12
mov rcx, rax
xor edx, edx
mov rax, rdi
div r12
cmp rax, rcx
jb 0x14000731c
xor edx, edx
mov rax, rbx
div r12
cmp rdx, r15
jne 0x140007120
xor edx, edx
mov rax, rdi
div r12
mov r10, qword [rbp + 0x1358]
cmp rdx, r15
je 0x140007347
mov r9, qword [rbp + 0x1360]
movzx ecx, byte [r9]
movzx eax, byte [rdx + r10]
mov byte [r9], al
mov byte [rdx + r10], cl
inc r15
lea rax, [r15 + r10]
cmp rax, qword [rbp + 0x1368]
mov rcx, qword [rsp + 0x68]
jne 0x140007110
mov r9, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
mov rbx, qword [rbp + 0x1350]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov r8d, 0xa
cmp rdx, r8
cmovb r8, rdx
lea rdx, [rsp + 0x20]
cmp r9, 0x10
cmovae rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.140018dd0
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
lea rcx, [0x140118dc0]
call fcn.140018950
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140007412
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000740c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007477
call fcn.1400a632c
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14000744b
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007446
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007471
call fcn.1400a632c
lea rdx, [0x140118dc0]
mov rcx, rbx
call fcn.140017fb0
mov rax, rbx
add rsp, 0x1408
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400bb588
nop
call fcn.1400bb588
nop
int3