Function at 0x140004340
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 - 0x1310]
mov eax, 0x1410
call fcn.14001b2e0
sub rsp, rax
mov rax, qword [0x14002e020]
xor rax, rsp
mov qword [rbp + 0x1300], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x28], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 0x48
lea rdx, str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789______
lea rcx, [rsp + 0x50]
call fcn.140006f30
nop
mov edi, 0xffffffff
mov dword [rbp + 0x12f4], edi
mov edx, 0x30b4
mov dword [rsp + 0x74], edx
mov r15d, 1
mov ecx, r15d
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x74], edx
inc rcx
cmp rcx, 0x270
jb 0x1400043d1
mov r8d, 0x270
mov dword [rsp + 0x70], r8d
lea rdx, [rsp + 0x50]
mov r9, qword [rsp + 0x50]
mov r10, qword [rsp + 0x68]
cmp r10, 0x10
cmovae rdx, r9
mov rcx, qword [rsp + 0x60]
add rdx, rcx
mov qword [rsp + 0x40], rdx
lea r11, [rsp + 0x50]
cmp r10, 0x10
cmovae r11, r9
mov qword [rsp + 0x20], r11
mov rsi, 0xffffffffffffffff
mov r13d, 0x40
nop
lea r13, [r13 - 1]
shr rsi, 1
cmp rsi, rdi
ja 0x140004440
cmp r11, rdx
je 0x1400046cd
lea rax, [r11 + 1]
cmp rax, rdx
je 0x1400046cd
mov rcx, r15
sub rcx, r11
mov qword [rsp + 0x28], rcx
nop dword [rax]
lea rax, [r15 + r11]
mov qword [rsp + 0x38], rax
lea r12, [rax + rcx]
nop dword [rax]
xor edi, edi
xor ebx, ebx
test r15, r15
je 0x140004652
nop dword [rax]
lea rcx, [r13 - 1]
shl rdi, cl
add rdi, rdi
nop word [rax + rax]
cmp r8d, 0x270
jne 0x140004506
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
xor edx, dword [rax + 0x630]
shr r8d, 1
xor edx, r8d
mov dword [rax + 0x9bc], edx
lea rax, [rax + 4]
sub r9, 1
jne 0x1400044c0
mov r8d, dword [rsp + 0x70]
jmp 0x1400045f5
cmp r8d, 0x4e0
jb 0x1400045f5
lea r10, [rbp + 0x934]
mov r11d, 0xe3
mov eax, dword [rbp + 0x934]
nop word [rax + rax]
lea r8, [r10 + 4]
mov edx, dword [r8]
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 [r10 + 0x634]
shr edx, 1
xor ecx, edx
mov dword [r10 - 0x9c0], ecx
lea r10, [r8]
sub r11, 1
mov eax, dword [r8]
jne 0x140004530
lea r10, [rbp + 0xcc0]
mov r11d, 0x18c
mov eax, dword [rbp + 0xcc0]
nop
lea r8, [r10 + 4]
mov edx, dword [r8]
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 [r10 - 0xd4c]
shr edx, 1
xor ecx, edx
mov dword [r10 - 0x9c0], ecx
lea r10, [r8]
sub r11, 1
mov eax, dword [r8]
jne 0x140004580
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 0x1400044a0
or rdi, rax
lea rcx, [r13 - 1]
shl rbx, cl
add rbx, rbx
or rbx, rsi
cmp rbx, r15
jb 0x140004490
xor edx, edx
mov rax, rbx
div r12
mov rcx, rax
xor edx, edx
mov rax, rdi
div r12
cmp rax, rcx
jb 0x14000467b
xor edx, edx
mov rax, rbx
div r12
cmp rdx, r15
jne 0x140004480
xor edx, edx
mov rax, rdi
div r12
mov r11, qword [rsp + 0x20]
cmp rdx, r15
je 0x1400046a2
mov r9, qword [rsp + 0x38]
movzx ecx, byte [r9]
movzx eax, byte [rdx + r11]
mov byte [r9], al
mov byte [rdx + r11], cl
inc r15
lea rax, [r15 + r11]
cmp rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
jne 0x140004470
mov r10, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov r9, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov r8d, 0x10
cmp rcx, r8
cmovb r8, rcx
lea rdx, [rsp + 0x50]
cmp r10, 0x10
cmovae rdx, r9
mov rcx, rbx
call fcn.140006f30
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14000473f
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000473a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004772
call fcn.140008430
mov rax, rbx
mov rcx, qword [rbp + 0x1300]
xor rcx, rsp
call fcn.140008410
lea r11, [rsp + 0x1410]
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 fcn.14000f210
int3