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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x12f0]
mov eax, 0x13f0
call fcn.7ff674cf3860
sub rsp, rax
mov rax, qword [0x7ff675045040]
xor rax, rsp
mov qword [rbp + 0x12e0], rax
mov r14, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
mov dword [rsp + 0x24], esi
lea rdx, [0x7ff67500aa50]
lea rcx, [rsp + 0x30]
call fcn.7ff6749ddba0
nop
call fcn.7ff674aa9928
mov edx, eax
mov dword [rbp + 0x12d4], 0xffffffff
mov dword [rsp + 0x54], eax
lea ecx, [rsi + 1]
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x54], edx
inc rcx
cmp rcx, 0x270
jb 0x7ff674a37860
mov edi, 0x270
mov dword [rsp + 0x50], edi
mov r13d, dword [rsp + 0x40]
dec r13d
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], 7
mov word [r14], si
mov dword [rsp + 0x24], 1
mov r12d, 0xa
mov edx, r12d
mov rcx, r14
call fcn.7ff674a36990
mov qword [r14 + 0x10], rsi
mov r15, qword [rsp + 0x30]
movzx ebx, byte [rsp + 0x20]
nop
cmp r13d, 0xffffffff
jne 0x7ff674a37a47
cmp edi, 0x270
jne 0x7ff674a37932
lea r8, [rsp + 0x58]
mov r9d, edi
nop word [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, dword [r8 - 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x630]
shr edx, 1
xor ecx, edx
mov dword [r8 + 0x9bc], ecx
lea r8, [r8 + 4]
sub r9, 1
jne 0x7ff674a378f0
mov edi, dword [rsp + 0x50]
jmp 0x7ff674a37a0d
cmp edi, 0x4e0
jb 0x7ff674a37a0d
mov r8, rsi
mov eax, dword [rbp + r8*4 + 0x914]
mov edx, eax
xor edx, dword [rbp + r8*4 + 0x918]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [rbp + r8*4 + 0xf48]
shr edx, 1
xor ecx, edx
mov dword [rsp + r8*4 + 0x54], ecx
inc r8
cmp r8, 0xe3
jb 0x7ff674a37941
mov r8d, 0xe3
nop word [rax + rax]
mov eax, dword [rbp + r8*4 + 0x914]
mov edx, eax
xor edx, dword [rbp + r8*4 + 0x918]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [rbp + r8*4 - 0x438]
shr edx, 1
xor ecx, edx
mov dword [rsp + r8*4 + 0x54], ecx
inc r8
cmp r8, 0x26f
jb 0x7ff674a37990
mov edx, dword [rbp + 0x12d0]
and edx, 0x80000000
mov eax, dword [rsp + 0x54]
btr eax, 0x1f
or 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 [rbp + 0x584]
mov dword [rbp + 0x910], ecx
mov edi, esi
mov dword [rsp + 0x50], esi
mov eax, edi
mov edx, dword [rsp + rax*4 + 0x54]
inc edi
mov dword [rsp + 0x50], edi
mov eax, edx
shr eax, 0xb
and eax, dword [rbp + 0x12d4]
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
jmp 0x7ff674a37a8e
lea edi, [r13 + 1]
lea rcx, [rsp + 0x50]
call fcn.7ff674a39340
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x7ff674a37a84
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x7ff674a37a84
nop
lea rcx, [rsp + 0x50]
call fcn.7ff674a39340
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x7ff674a37a70
shr rcx, 0x20
mov edi, dword [rsp + 0x50]
xor esi, esi
lea rdx, [rsp + 0x30]
mov r8, qword [rsp + 0x48]
cmp r8, 7
cmova rdx, r15
movsxd rax, ecx
movzx r9d, word [rdx + rax*2]
mov rcx, qword [r14 + 0x10]
mov rdx, qword [r14 + 0x18]
cmp rcx, rdx
jae 0x7ff674a37ad5
lea rax, [rcx + 1]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp rdx, 7
jbe 0x7ff674a37ac9
mov rax, qword [r14]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], si
jmp 0x7ff674a37aeb
movzx r8d, bl
mov edx, 1
mov rcx, r14
call fcn.7ff674a36b10
mov r8, qword [rsp + 0x48]
sub r12, 1
jne 0x7ff674a378d0
cmp r8, 7
jbe 0x7ff674a37b2c
lea rdx, [r8*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x7ff674a37b24
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff674a37b5f
mov rcx, r15
call fcn.7ff674a3e32c
mov rax, r14
mov rcx, qword [rbp + 0x12e0]
xor rcx, rsp
call fcn.7ff674a3df50
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.7ff674cd5b3c
int3