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

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1380]
mov eax, 0x1480
call fcn.140031460
sub rsp, rax
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x14b8], rbx
mov qword [rsp + 0x14c0], rsi
mov rax, qword [0x14007b080]
xor rax, rsp
mov qword [rbp + 0x1370], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
movaps xmm0, xmmword [str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]
movaps xmmword [rbp + 0x12f0], xmm0
movaps xmm1, xmmword [0x14006dde0]
movaps xmmword [rbp + 0x1300], xmm1
movaps xmm0, xmmword [0x14006ddf0]
movaps xmmword [rbp + 0x1310], xmm0
movaps xmm1, xmmword [0x14006de00]
movaps xmmword [rbp + 0x1320], xmm1
movaps xmm0, xmmword [0x14006de10]
movaps xmmword [rbp + 0x1330], xmm0
movaps xmm1, xmmword [0x14006de20]
movaps xmmword [rbp + 0x1340], xmm1
movaps xmm0, xmmword [0x14006de30]
movaps xmmword [rbp + 0x1350], xmm0
movsd xmm1, qword [0x14006de40]
movsd qword [rbp + 0x1360], xmm1
mov eax, dword [0x14006de48]
mov dword [rbp + 0x1368], eax
movzx eax, word [0x14006de4c]
mov word [rbp + 0x136c], ax
call fcn.14000f9b4
mov ecx, eax
mov dword [rbp + 0x12e4], 0xffffffff
mov dword [rsp + 0x64], eax
mov r8d, 1
mov edx, r8d
nop dword [rax]
nop word [rax + rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, r8d
mov dword [rsp + rdx*4 + 0x64], ecx
inc r8d
inc rdx
cmp rdx, 0x270
jl 0x140003fd0
mov dword [rsp + 0x60], 0x270
mov rdi, r15
mov qword [rsp + 0x48], r15
mov esi, 7
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x38], r15w
lea r14d, [rsi + 3]
mov r12d, 0x80000000
nop dword [rax]
lea rcx, [rsp + 0x60]
call fcn.140008490
mov ecx, eax
mov eax, 0x8421085
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
cmp eax, 0x4210842
jae 0x140004020
mov eax, 0x8421085
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
imul eax, eax, 0x3e
sub ecx, eax
lea edx, [rcx + r12]
lea eax, [rdx + r12]
lea ecx, [rdx - 0x80000000]
cmp edx, r12d
cmovae ecx, eax
movsxd rax, ecx
movzx r9d, word [rbp + rax*2 + 0x12f0]
cmp rdi, rsi
jae 0x1400040a6
lea rax, [rdi + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rsi, 8
cmovae rax, qword [rsp + 0x38]
mov word [rax + rdi*2], r9w
mov word [rax + rdi*2 + 2], r15w
jmp 0x1400040b0
lea rcx, [rsp + 0x38]
call fcn.1400079d0
sub r14, 1
je 0x1400040c5
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
jmp 0x140004020
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov dword [rsp + 0x20], 2
mov r14, qword [rsp + 0x48]
lea rax, [r14 + 4]
mov rsi, qword [rbx + 0x10]
cmp rsi, rax
ja 0x140004175
mov rcx, qword [rbx + 0x18]
cmp rcx, rax
je 0x140004175
jae 0x140004112
sub rax, rsi
mov rdx, rax
mov rcx, rbx
call fcn.140008180
mov qword [rbx + 0x10], rsi
jmp 0x140004175
cmp rax, 8
jae 0x140004175
cmp rcx, 8
jb 0x140004175
mov rdi, qword [rbx]
lea r8, [rsi*2 + 2]
mov rdx, rdi
mov rcx, rbx
call fcn.140032990
mov rax, qword [rbx + 0x18]
lea rdx, [rax*2 + 2]
cmp rdx, 0x1000
jb 0x140004165
add rdx, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x140004213
mov rdi, rcx
mov rcx, rdi
call fcn.140030d20
mov qword [rbx + 0x18], 7
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
mov r8, r14
mov rcx, rbx
call fcn.140008080
mov r8d, 4
lea rdx, str..jpg
mov rcx, rbx
call fcn.140008080
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1400041e5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400041e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004219
call fcn.140030d20
mov rax, rbx
mov rcx, qword [rbp + 0x1370]
xor rcx, rsp
call fcn.140030cc0
lea r11, [rsp + 0x1480]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14003523c
nop
call fcn.14003523c
int3