Function at 0x1400536d0
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 - 0x1370]
mov eax, 0x1470
call fcn.140069030
sub rsp, rax
movaps xmmword [rsp + 0x1460], xmm6
mov rax, qword [0x140087040]
xor rax, rsp
mov qword [rbp + 0x1350], rax
mov dword [rsp + 0x20], edx
mov rbx, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x30], rcx
xor edi, edi
movups xmm0, xmmword [str._b_b_b_b_b_b_b_bxx]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [0x14007b338]
movups xmmword [rsp + 0x68], xmm1
movups xmm0, xmmword [0x14007b348]
movups xmmword [rsp + 0x78], xmm0
movsd xmm0, qword [0x14007b358]
movsd qword [rbp - 0x78], xmm0
movzx eax, word [0x14007b360]
mov word [rbp - 0x70], ax
mov r8d, edi
cmp dword [0x140087090], 2
jl 0x140053897
movdqa xmm4, xmmword [0x14007b750]
movdqa xmm3, xmmword [0x14007c2b0]
movdqa xmm5, xmmword [0x14007b770]
movdqa xmm0, xmmword [0x14007b810]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x5c]
movdqa xmm6, xmmword [0x14007b780]
mov edx, dword [rsp + 0x30]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x38
jl 0x1400537b0
cmp r8d, 0x3a
jge 0x1400538e0
movsxd rax, r8d
lea r9, [rsp + 0x58]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x3a
jl 0x1400538b0
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
lea rax, [rsp + 0x58]
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop
inc r8
cmp byte [rax + r8], dil
jne 0x140053900
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.140054040
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov r10d, 0xffffffff
mov dword [rbp + 0x1344], r10d
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 0x140053940
mov dword [rbp - 0x40], 0x270
lea r8, [rbp - 0x68]
mov rcx, qword [rbp - 0x68]
mov r9, qword [rbp - 0x50]
cmp r9, 0xf
cmova r8, rcx
mov rdx, qword [rbp - 0x58]
add r8, rdx
mov qword [rsp + 0x48], r8
lea r13, [rbp - 0x68]
cmp r9, 0xf
cmova r13, rcx
mov r14d, 0x40
nop dword [rax + rax]
lea r14, [r14 - 1]
shr rsi, 1
cmp rsi, r10
ja 0x1400539a0
cmp r13, r8
je 0x140053a83
lea rax, [r13 + 1]
cmp rax, r8
je 0x140053a83
mov rcx, r15
sub rcx, r13
mov qword [rsp + 0x30], rcx
nop dword [rax]
lea r12, [r15 + r13]
add r12, rcx
xor edi, edi
xor ebx, ebx
test r15, r15
je 0x140053a15
lea rcx, [r14 - 1]
shl rdi, cl
add rdi, rdi
nop word [rax + rax]
lea rcx, [rbp - 0x40]
call fcn.140065500
mov eax, eax
cmp rax, rsi
ja 0x1400539f0
or rdi, rax
lea rcx, [r14 - 1]
shl rbx, cl
add rbx, rbx
or rbx, rsi
cmp rbx, r15
jb 0x1400539e0
xor edx, edx
mov rax, rbx
div r12
mov rcx, rax
xor edx, edx
mov rax, rdi
div r12
cmp rax, rcx
jb 0x140053a3a
xor edx, edx
mov rax, rbx
div r12
cmp rdx, r15
jne 0x1400539d7
xor edx, edx
mov rax, rdi
div r12
cmp rdx, r15
je 0x140053a59
movzx ecx, byte [r15 + r13]
movzx eax, byte [rdx + r13]
mov byte [r15 + r13], al
mov byte [rdx + r13], cl
inc r15
lea rax, [r15 + r13]
cmp rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
jne 0x1400539d0
mov r9, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x68]
mov rbx, qword [rsp + 0x50]
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movsxd r8, dword [rsp + 0x20]
cmp rdx, r8
cmovb r8, rdx
lea rdx, [rbp - 0x68]
cmp r9, 0xf
cmova rdx, rcx
mov rcx, rbx
call fcn.140054040
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x140053af0
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053aeb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140053aeb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140067ed0
mov rax, rbx
mov rcx, qword [rbp + 0x1350]
xor rcx, rsp
call fcn.140067de0
mov rbx, qword [rsp + 0x14c0]
movaps xmm6, xmmword [rsp + 0x1460]
add rsp, 0x1470
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret