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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x12d0]
mov eax, 0x13d0
call fcn.7ff60542b960
sub rsp, rax
mov rax, qword [0x7ff60566c600]
xor rax, rsp
mov qword [rbp + 0x12c0], rax
mov rbx, rdx
mov rdi, rcx
call qword [sym.imp.msvcp140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x12b4], 0xffffffff
mov r9d, 1
mov dword [rsp + 0x34], eax
mov r10d, 0x270
nop word [rax + rax]
mov r8d, eax
shr r8d, 0x1e
xor r8d, eax
imul eax, r8d, 0x6c078965
add eax, r9d
mov dword [rsp + r9*4 + 0x34], eax
inc r9
cmp r9, r10
jb 0x7ff6051cf320
sub rbx, rdi
mov dword [rsp + 0x30], r10d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
cmp rbx, 0xffffffffffffffff
jne 0x7ff6051cf586
lea r8, [rsp + 0x38]
mov r9, r10
nop word [rax + 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 0x7ff6051cf370
mov eax, dword [rsp + 0x30]
mov edx, dword [rsp + rax*4 + 0x34]
lea r8d, [rax + 1]
mov eax, edx
mov dword [rsp + 0x30], r8d
shr eax, 0xb
and eax, dword [rbp + 0x12b4]
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov ecx, edx
and edx, 0xffffdf8c
shl edx, 0xf
mov eax, edx
xor rax, rcx
mov rbx, rax
shr rbx, 0x12
xor rbx, rax
shl rbx, 0x20
cmp r8d, r10d
jne 0x7ff6051cf443
lea r8, [rsp + 0x38]
nop dword [rax + 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 r10, 1
jne 0x7ff6051cf400
mov r8d, dword [rsp + 0x30]
jmp 0x7ff6051cf549
cmp r8d, 0x4e0
jb 0x7ff6051cf549
mov r10d, dword [rbp + 0x8f4]
lea r9, [rbp + 0x8f4]
mov r11d, 0xe3
nop dword [rax]
nop dword [rax + rax]
mov eax, r10d
mov r8, r9
mov r10d, dword [r9 + 4]
mov edx, eax
xor edx, r10d
add r9, 4
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 [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub r11, 1
jne 0x7ff6051cf470
mov r10d, dword [rbp + 0xc80]
lea r9, [rbp + 0xc80]
mov r11d, 0x18c
nop dword [rax]
nop word [rax + rax]
mov eax, r10d
mov r8, r9
mov r10d, dword [r9 + 4]
mov edx, eax
xor edx, r10d
add r9, 4
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 [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub r11, 1
jne 0x7ff6051cf4d0
mov edx, dword [rbp + 0x12b0]
xor edx, dword [rsp + 0x34]
btr edx, 0x1f
xor edx, dword [rbp + 0x12b0]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, edx
xor ecx, dword [rbp + 0x564]
xor r8d, r8d
mov dword [rbp + 0x8f0], ecx
mov dword [rsp + 0x30], r8d
mov eax, r8d
mov ecx, dword [rsp + rax*4 + 0x34]
mov eax, ecx
shr eax, 0xb
and eax, dword [rbp + 0x12b4]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and ecx, 0xffffdf8c
shl ecx, 0xf
xor rcx, rax
mov rax, rcx
shr rax, 0x12
xor rax, rcx
or rax, rbx
jmp 0x7ff6051cf594
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x20]
call fcn.7ff6051da430
add rax, rdi
mov rcx, qword [rbp + 0x12c0]
xor rcx, rsp
call fcn.7ff60542acb0
lea r11, [rsp + 0x13d0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret