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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x12b0]
mov eax, 0x13b0
call fcn.1400ca500
sub rsp, rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x12a4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x24], eax
nop
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x24], eax
inc rdx
cmp rdx, 0x270
jb 0x140060890
mov ecx, dword [0x1401ad840]
mov r12d, 0x80000000
cmp ecx, r12d
mov edx, 0x270
mov dword [rsp + 0x20], edx
mov r13d, 0xffffffff
lea eax, [rcx - 0x80000000]
lea r14d, [rcx + r12]
mov ecx, dword [0x1401ad87c]
cmovae r14d, eax
lea esi, [rdx - 0x7c]
cmp ecx, r12d
lea eax, [rcx - 0x80000000]
lea r15d, [rcx + r12]
cmovae r15d, eax
nop word [rax + rax]
cmp r14d, 0x7fffffff
jne 0x140060a77
cmp edx, 0x270
jne 0x140060962
lea r8, [rsp + 0x28]
mov r9d, edx
nop dword [rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140060920
mov edx, dword [rsp + 0x20]
jmp 0x140060a3a
cmp edx, 0x4e0
jb 0x140060a3a
xor r8d, r8d
mov eax, dword [rbp + r8*4 + 0x8e4]
mov edx, eax
xor edx, dword [rbp + r8*4 + 0x8e8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [rbp + r8*4 + 0xf18]
xor ecx, edx
mov dword [rsp + r8*4 + 0x24], ecx
inc r8
cmp r8, 0xe3
jb 0x140060971
mov r8d, 0xe3
nop word [rax + rax]
mov eax, dword [rbp + r8*4 + 0x8e4]
mov edx, eax
xor edx, dword [rbp + r8*4 + 0x8e8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [rbp + r8*4 - 0x468]
xor ecx, edx
mov dword [rsp + r8*4 + 0x24], ecx
inc r8
cmp r8, 0x26f
jb 0x1400609c0
mov edx, dword [rbp + 0x12a0]
mov eax, dword [rsp + 0x24]
and edx, r12d
btr eax, 0x1f
or edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, edx
xor ecx, dword [rbp + 0x554]
xor edx, edx
mov dword [rbp + 0x8e0], ecx
mov dword [rsp + 0x20], edx
mov eax, edx
inc edx
mov ecx, dword [rsp + rax*4 + 0x24]
mov eax, ecx
shr eax, 0xb
and eax, dword [rbp + 0x12a4]
xor ecx, eax
mov dword [rsp + 0x20], edx
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 r8d, ecx
shr r8d, 0x12
xor r8d, ecx
jmp 0x140060abf
lea rcx, [rsp + 0x20]
lea ebx, [r14 - 0x7fffffff]
call fcn.140067020
mov r8d, eax
mov edi, ebx
imul r8, rdi
cmp r8d, ebx
jae 0x140060abb
mov eax, ebx
xor edx, edx
neg eax
div ebx
mov ebx, edx
cmp r8d, edx
jae 0x140060abb
lea rcx, [rsp + 0x20]
call fcn.140067020
mov r8d, eax
imul r8, rdi
cmp r8d, ebx
jb 0x140060aa5
shr r8, 0x20
movd xmm1, r8d
lea rcx, [rsp + 0x20]
cvtdq2ps xmm1, xmm1
cmp r15d, 0x7fffffff
jne 0x140060ade
call fcn.140067020
mov ecx, eax
jmp 0x140060b1c
lea ebx, [r15 - 0x7fffffff]
call fcn.140067020
mov ecx, eax
mov edi, ebx
imul rcx, rdi
cmp ecx, ebx
jae 0x140060b18
mov eax, ebx
xor edx, edx
neg eax
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x140060b18
lea rcx, [rsp + 0x20]
call fcn.140067020
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x140060b04
shr rcx, 0x20
mov rdx, qword [0x1401ad850]
cmp rdx, qword [0x1401ad858]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rbp + 0x12fc], xmm1
movss dword [rbp + 0x12f8], xmm0
je 0x140060b5c
unpcklps xmm0, xmm1
movsd qword [rdx], xmm0
add qword [0x1401ad850], 8
movsd qword [rbp + 0x12f8], xmm0
jmp 0x140060b6f
lea r8, [rbp + 0x12f8]
lea rcx, [0x1401ad848]
call fcn.140066a50
lea rcx, [rsp + 0x20]
call fcn.140067020
mov eax, eax
lea rcx, [rsp + 0x20]
add rax, rax
shr rax, 0x20
lea eax, [rax*2 - 1]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.140067020
mov rdx, qword [0x1401ad868]
mov ecx, eax
mov eax, 1
add rcx, rcx
movss dword [rbp + 0x1304], xmm1
shr rcx, 0x20
test ecx, ecx
cmove eax, r13d
cmp rdx, qword [0x1401ad870]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp + 0x1300], xmm0
je 0x140060bee
unpcklps xmm0, xmm1
movsd qword [rdx], xmm0
add qword [0x1401ad868], 8
movsd qword [rbp + 0x1300], xmm0
jmp 0x140060c01
lea r8, [rbp + 0x1300]
lea rcx, [0x1401ad860]
call fcn.140066a50
mov rdx, qword [0x1401adb30]
cmp rdx, qword [0x1401adb38]
mov dword [rbp + 0x12f0], 3
je 0x140060c2b
mov dword [rdx], 3
add qword [0x1401adb30], 4
jmp 0x140060c37
lea r8, [rbp + 0x12f0]
call fcn.1400668a0
sub rsi, 1
je 0x140060c46
mov edx, dword [rsp + 0x20]
jmp 0x140060900
mov rbx, qword [rsp + 0x1408]
add rsp, 0x13b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret