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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1390]
mov eax, 0x1490
call fcn.140068b80
sub rsp, rax
movaps xmmword [rsp + 0x1480], xmm6
movaps xmmword [rsp + 0x1470], xmm7
movaps xmmword [rsp + 0x1460], xmm8
mov rax, qword [0x140087010]
xor rax, rsp
mov qword [rbp + 0x1350], rax
mov dword [rsp + 0x20], edx
mov rbx, rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x30], rcx
movups xmm0, xmmword [0x14007b588]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x14007b598]
movups xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [str._a_t_v_t_ntq_tstttc__]
movups xmmword [rbp - 0x80], xmm0
movsd xmm1, qword [0x14007b5b8]
movsd qword [rbp - 0x70], xmm1
movzx eax, word [0x14007b5c0]
mov word [rbp - 0x68], ax
xor r8d, r8d
cmp dword [0x140087018], 2
jl 0x1400533df
movdqa xmm5, xmmword [0x14007b940]
movdqa xmm4, xmmword [0x14007c5c0]
mov eax, 5
movd xmm6, eax
movdqa xmm7, xmmword [0x14007b960]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [0x14007ba10]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x64]
mov edx, dword [rsp + 0x30]
nop dword [rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14007b980]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14007b980]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x38
jl 0x1400532d0
cmp r8d, 0x3a
jge 0x140053423
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x3a
jl 0x1400533f0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea rax, [rsp + 0x60]
mov rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x140053441
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x60]
call fcn.140053e90
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov edi, 0xffffffff
mov dword [rbp + 0x1344], edi
mov dword [rbp - 0x3c], eax
mov r15d, 1
mov ecx, r15d
nop dword [rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rbp + rcx*4 - 0x3c], edx
inc rcx
cmp rcx, 0x270
jb 0x140053480
mov r8d, 0x270
mov dword [rbp - 0x40], r8d
lea rdx, [rbp - 0x60]
mov r9, qword [rbp - 0x60]
mov r10, qword [rbp - 0x48]
cmp r10, 0x10
cmovae rdx, r9
mov rcx, qword [rbp - 0x50]
add rdx, rcx
mov qword [rsp + 0x50], rdx
lea r11, [rbp - 0x60]
cmp r10, 0x10
cmovae r11, r9
mov qword [rsp + 0x28], r11
mov r13d, 0x40
lea r13, [r13 - 1]
shr rsi, 1
cmp rsi, rdi
ja 0x1400534e0
cmp r11, rdx
je 0x140053757
lea rax, [r11 + 1]
cmp rax, rdx
je 0x140053757
mov rcx, r15
sub rcx, r11
mov qword [rsp + 0x30], rcx
nop dword [rax]
lea rax, [r15 + r11]
mov qword [rsp + 0x48], rax
lea r12, [rax + rcx]
nop dword [rax]
xor edi, edi
xor ebx, ebx
test r15, r15
je 0x1400536df
nop dword [rax]
lea rcx, [r13 - 1]
shl rdi, cl
add rdi, rdi
nop word [rax + rax]
cmp r8d, 0x270
jne 0x140053595
lea rax, [rbp - 0x38]
mov r9d, r8d
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 0x140053550
mov r8d, dword [rbp - 0x40]
jmp 0x140053683
cmp r8d, 0x4e0
jb 0x140053683
lea r10, [rbp + 0x984]
mov r11d, 0xe3
mov eax, dword [rbp + 0x984]
nop word [rax + rax]
lea r8, [r10 + 4]
mov edx, eax
xor edx, dword [r8]
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 [r10 + 0x634]
mov dword [r10 - 0x9c0], ecx
lea r10, [r8]
sub r11, 1
mov eax, dword [r8]
jne 0x1400535c0
lea r10, [rbp + 0xd10]
mov r11d, 0x18c
mov eax, dword [rbp + 0xd10]
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 0x140053610
mov edx, dword [rbp + 0x1340]
xor edx, dword [rbp - 0x3c]
btr edx, 0x1f
xor edx, dword [rbp + 0x1340]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [rbp + 0x5f4]
mov dword [rbp + 0x980], ecx
xor r8d, r8d
mov dword [rbp - 0x40], r8d
mov eax, r8d
mov ecx, dword [rbp + rax*4 - 0x3c]
inc r8d
mov dword [rbp - 0x40], r8d
mov eax, ecx
shr eax, 0xb
and eax, dword [rbp + 0x1344]
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 0x140053540
or rdi, rax
lea rcx, [r13 - 1]
shl rbx, cl
add rbx, rbx
or rbx, rsi
cmp rbx, r15
jb 0x140053530
xor edx, edx
mov rax, rbx
div r12
mov rcx, rax
xor edx, edx
mov rax, rdi
div r12
cmp rax, rcx
jb 0x140053708
xor edx, edx
mov rax, rbx
div r12
cmp rdx, r15
jne 0x140053520
xor edx, edx
mov rax, rdi
div r12
mov r11, qword [rsp + 0x28]
cmp rdx, r15
je 0x14005372f
mov r9, qword [rsp + 0x48]
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 + 0x50]
mov rcx, qword [rsp + 0x30]
jne 0x140053510
mov r10, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
mov r9, qword [rbp - 0x60]
mov rbx, qword [rsp + 0x58]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
movsxd r8, dword [rsp + 0x20]
cmp rcx, r8
cmovb r8, rcx
lea rdx, [rbp - 0x60]
cmp r10, 0x10
cmovae rdx, r9
mov rcx, rbx
call fcn.140053e90
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x1400537cc
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400537c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400537c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400679d0
mov rax, rbx
mov rcx, qword [rbp + 0x1350]
xor rcx, rsp
call fcn.1400678e0
lea r11, [rsp + 0x1490]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret