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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov edi, edx
mov esi, ecx
mov ecx, 8
mov rax, qword gs:[0x58]
mov rax, qword [rax]
lea rbp, [0x1400f5bb0]
mov ebx, 0x270
mov eax, dword [rcx + rax]
cmp dword [0x1400f5b80], eax
jle 0x140074d2f
lea rcx, [0x1400f5b80]
call fcn.14008fe78
cmp dword [0x1400f5b80], 0xffffffff
jne 0x140074d2f
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [0x1400f6f34], 0xffffffff
mov dword [0x1400f5bb4], eax
mov r8d, 1
nop word [rax + rax]
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, r8d
mov dword [rbp + r8*4 + 4], eax
inc r8
cmp r8, rbx
jb 0x140074d00
mov dword [0x1400f5bb0], ebx
lea rcx, [0x1400f5b80]
call fcn.14008fe0c
lea eax, [rsi - 0x80000000]
mov r15d, 0x80000000
lea r14d, [rsi + r15]
cmp esi, r15d
cmovae r14d, eax
lea eax, [rdi - 0x80000000]
lea ecx, [rdi + r15]
cmp edi, r15d
cmovae ecx, eax
sub ecx, r14d
cmp ecx, 0xffffffff
jne 0x140074ee8
mov eax, dword [0x1400f5bb0]
cmp eax, ebx
jne 0x140074dc4
lea r8, [0x1400f5bb8]
nop dword [rax]
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 rbx, 1
jne 0x140074d80
mov eax, dword [0x1400f5bb0]
jmp 0x140074eab
cmp eax, 0x4e0
jb 0x140074eab
mov r9d, 0x9c4
lea r10, [0x1400f5bb4]
lea r11, [0x1400f61e4]
mov r8d, 0xd50
nop dword [rax]
mov edx, dword [r9 + rbp]
xor edx, dword [r10 + r9]
btr edx, 0x1f
xor edx, dword [r9 + rbp]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r11 + r9]
shr edx, 1
xor ecx, edx
mov dword [r9 + rbp - 0x9c0], ecx
add r9, 4
cmp r9, r8
jb 0x140074df0
nop word [rax + rax]
mov edx, dword [r8 + rbp]
xor edx, dword [r10 + r8]
btr edx, 0x1f
xor edx, dword [r8 + rbp]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r8 + rbp - 0xd4c]
shr edx, 1
xor ecx, edx
mov dword [r8 + rbp - 0x9c0], ecx
add r8, 4
cmp r8, 0x1380
jb 0x140074e30
mov edx, dword [0x1400f6f30]
xor edx, dword [0x1400f5bb4]
btr edx, 0x1f
xor edx, dword [0x1400f6f30]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [0x1400f61e4]
mov dword [0x1400f6570], ecx
xor eax, eax
mov dword [0x1400f5bb0], eax
mov ecx, dword [rbp + rax*4 + 4]
inc eax
mov dword [0x1400f5bb0], eax
mov eax, ecx
shr eax, 0xb
and eax, dword [0x1400f6f34]
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 r8d, ecx
shr r8d, 0x12
xor r8d, ecx
jmp 0x140074f28
lea ebx, [rcx + 1]
mov rcx, rbp
call fcn.14007ce70
mov edi, ebx
mov r8d, eax
imul r8, rdi
cmp r8d, ebx
jae 0x140074f24
mov eax, ebx
neg eax
xor edx, edx
div ebx
mov ebx, edx
cmp r8d, edx
jae 0x140074f24
mov rcx, rbp
call fcn.14007ce70
mov r8d, eax
imul r8, rdi
cmp r8d, ebx
jb 0x140074f10
shr r8, 0x20
lea edx, [r14 + r8]
lea ecx, [rdx - 0x80000000]
lea eax, [rdx + r15]
cmp edx, r15d
cmovae eax, ecx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret