Function at 0x140053c60
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.1400691d0
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 [str._b_b_b_b_b_b_b_bxx]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x14007b438]
movups xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [0x14007b448]
movups xmmword [rbp - 0x80], xmm0
movsd xmm0, qword [0x14007b458]
movsd qword [rbp - 0x70], xmm0
movzx eax, word [0x14007b460]
mov word [rbp - 0x68], ax
xor r8d, r8d
lea r15d, [r8 + 1]
cmp dword [0x140087018], 2
jl 0x140053e53
movdqa xmm5, xmmword [0x14007ba30]
movdqa xmm4, xmmword [0x14007ba80]
movd xmm6, r15d
movdqa xmm7, xmmword [0x14007ba50]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [0x14007ba90]
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
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
andps xmm2, xmmword [0x14007ba70]
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 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
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
andps xmm2, xmmword [0x14007ba70]
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 0x140053d50
cmp r8d, 0x3a
jge 0x140053e8f
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x3a
jl 0x140053e60
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
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140053eb0
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x60]
call fcn.140054640
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 rcx, r15
nop dword [rax]
nop word [rax + 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 0x140053ef0
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 0x140053f50
cmp r11, rdx
je 0x1400541c8
lea rax, [r11 + 1]
cmp rax, rdx
je 0x1400541c8
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 0x140054150
nop dword [rax]
lea rcx, [r13 - 1]
shl rdi, cl
add rdi, rdi
nop word [rax + rax]
cmp r8d, 0x270
jne 0x140054005
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
shr r8d, 1
xor edx, r8d
xor edx, dword [rax + 0x630]
mov dword [rax + 0x9bc], edx
lea rax, [rax + 4]
sub r9, 1
jne 0x140053fc0
mov r8d, dword [rbp - 0x40]
jmp 0x1400540f4
cmp r8d, 0x4e0
jb 0x1400540f4
lea r9, [rbp + 0x984]
mov r11d, 0xe3
mov r10d, dword [rbp + 0x984]
nop word [rax + rax]
mov eax, r10d
mov r10d, dword [r9 + 4]
mov edx, eax
xor edx, r10d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
shr edx, 1
xor ecx, edx
mov dword [r9 - 0x9c0], ecx
lea r9, [r9 + 4]
sub r11, 1
jne 0x140054030
lea r9, [rbp + 0xd10]
mov r11d, 0x18c
mov r10d, dword [rbp + 0xd10]
mov eax, r10d
mov r10d, dword [r9 + 4]
mov edx, eax
xor edx, r10d
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 r11, 1
jne 0x140054080
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 0x140053fb0
or rdi, rax
lea rcx, [r13 - 1]
shl rbx, cl
add rbx, rbx
or rbx, rsi
cmp rbx, r15
jb 0x140053fa0
xor edx, edx
mov rax, rbx
div r12
mov rcx, rax
xor edx, edx
mov rax, rdi
div r12
cmp rax, rcx
jb 0x140054179
xor edx, edx
mov rax, rbx
div r12
cmp rdx, r15
jne 0x140053f90
xor edx, edx
mov rax, rdi
div r12
mov r11, qword [rsp + 0x28]
cmp rdx, r15
je 0x1400541a0
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 0x140053f80
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.140054640
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x14005423d
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054238
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054238
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140068190
mov rax, rbx
mov rcx, qword [rbp + 0x1350]
xor rcx, rsp
call fcn.1400680a0
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