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

Disassembly:
push rsi
push r14
mov eax, 0x1428
call fcn.7ff8c3a84780
sub rsp, rax
movaps xmmword [rsp + 0x1410], xmm6
movaps xmmword [rsp + 0x13f0], xmm8
mov rax, qword [0x7ff8c3aba080]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
mov qword [rsp + 0x20], rcx
call qword [sym.imp.msvcp140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13b4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x34], eax
nop dword [rax]
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x34], eax
inc rdx
cmp rdx, 0x270
jb 0x7ff8c39c20d0
mov rax, qword [0x7ff8c3abb7a0]
xor esi, esi
mov r14, qword [0x7ff8c3abbb28]
mov dword [rsp + 0x30], 0x270
mov rcx, qword [rax + 0x1d18]
mov rax, qword [0x7ff8c3abbb30]
sub rax, r14
sar rax, 3
movss xmm8, dword [rcx + 0x58]
movss xmm6, dword [rcx + 0x5c]
test rax, rax
je 0x7ff8c39c2354
movss xmm4, dword [0x7ff8c3aa6e40]
xorps xmm5, xmm5
mov qword [rsp + 0x1448], rbx
mov ebx, esi
mov qword [rsp + 0x1450], rbp
mov ebp, esi
mov qword [rsp + 0x1458], rdi
mov rdi, qword [0x7ff8c3abbb40]
mov qword [rsp + 0x1420], r15
mov r15, qword [0x7ff8c3abbb58]
movaps xmmword [rsp + 0x1400], xmm7
movss xmm7, dword [rsp + 0x24]
movaps xmmword [rsp + 0x13e0], xmm9
movss xmm9, dword [rsp + 0x20]
movaps xmmword [rsp + 0x13d0], xmm10
movsd xmm10, qword [0x7ff8c3aa6bd8]
nop dword [rax]
movss xmm1, dword [rdi + rbx]
xorps xmm2, xmm2
mov eax, dword [r15 + rbp]
movss xmm0, dword [r14 + rbx]
cvtps2pd xmm1, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm1, xmm10
cvtsi2ss xmm2, eax
addsd xmm1, xmm0
movss xmm0, dword [r14 + rbx + 4]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm3, xmm1
movss dword [r14 + rbx], xmm3
movss xmm1, dword [rdi + rbx + 4]
cvtps2pd xmm1, xmm1
mulsd xmm1, xmm10
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movaps xmm1, xmm3
subss xmm1, xmm2
movss dword [r14 + rbx + 4], xmm0
comiss xmm5, xmm1
ja 0x7ff8c39c221f
movaps xmm1, xmm2
movaps xmm0, xmm8
addss xmm1, xmm3
addss xmm0, xmm9
comiss xmm1, xmm0
ja 0x7ff8c39c221f
movss xmm1, dword [rdi + rbx + 4]
jmp 0x7ff8c39c2277
movss xmm0, dword [rdi + rbx]
lea rcx, [rsp + 0x30]
xorps xmm0, xmm4
movss dword [rdi + rbx], xmm0
call fcn.7ff8c39c34c0
mov ecx, eax
imul rax, rcx, 0x169
cmp eax, 0x77
ja 0x7ff8c39c225c
lea rcx, [rsp + 0x30]
call fcn.7ff8c39c34c0
mov ecx, eax
imul rax, rcx, 0x169
cmp eax, 0x78
jb 0x7ff8c39c2244
shr rax, 0x20
and eax, 1
lea eax, [rax*2 - 1]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [rdi + rbx + 4], xmm1
movss xmm3, dword [r14 + rbx + 4]
movaps xmm0, xmm3
subss xmm0, xmm2
comiss xmm5, xmm0
ja 0x7ff8c39c229a
movaps xmm0, xmm6
addss xmm2, xmm3
addss xmm0, xmm7
comiss xmm2, xmm0
jbe 0x7ff8c39c22f2
xorps xmm1, xmm4
lea rcx, [rsp + 0x30]
movss dword [rdi + rbx + 4], xmm1
call fcn.7ff8c39c34c0
mov ecx, eax
imul rax, rcx, 0x169
cmp eax, 0x77
ja 0x7ff8c39c22d8
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
call fcn.7ff8c39c34c0
mov ecx, eax
imul rax, rcx, 0x169
cmp eax, 0x78
jb 0x7ff8c39c22c0
shr rax, 0x20
and eax, 1
lea eax, [rax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + rbx], xmm0
mov rcx, qword [0x7ff8c3abbb30]
inc esi
sub rcx, qword [0x7ff8c3abbb28]
add rbx, 8
sar rcx, 3
add rbp, 4
movsxd rax, esi
cmp rax, rcx
jb 0x7ff8c39c21a0
movaps xmm10, xmmword [rsp + 0x13d0]
movaps xmm9, xmmword [rsp + 0x13e0]
movaps xmm7, xmmword [rsp + 0x1400]
mov r15, qword [rsp + 0x1420]
mov rdi, qword [rsp + 0x1458]
mov rbp, qword [rsp + 0x1450]
mov rbx, qword [rsp + 0x1448]
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.7ff8c3a839f0
movaps xmm6, xmmword [rsp + 0x1410]
movaps xmm8, xmmword [rsp + 0x13f0]
add rsp, 0x1428
pop r14
pop rsi
ret