Function at 0x1400093d0
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, r8d
mov esi, edx
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
lea rbp, [0x14001fd60]
mov ebx, 0x270
mov eax, dword [rcx + rax]
cmp dword [0x1400225e0], eax
jle 0x14000947f
lea rcx, [0x1400225e0]
call fcn.14001251c
cmp dword [0x1400225e0], 0xffffffff
jne 0x14000947f
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [0x1400210e4], 0xffffffff
mov dword [0x14001fd64], 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 0x140009450
mov dword [0x14001fd60], ebx
lea rcx, [0x1400225e0]
call fcn.1400124b0
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 0x140009638
mov eax, dword [0x14001fd60]
cmp eax, ebx
jne 0x140009514
lea r8, [0x14001fd68]
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 0x1400094d0
mov eax, dword [0x14001fd60]
jmp 0x1400095fb
cmp eax, 0x4e0
jb 0x1400095fb
mov r9d, 0x9c4
lea r10, [0x14001fd64]
lea r11, [0x140020394]
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 0x140009540
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 0x140009580
mov edx, dword [0x1400210e0]
xor edx, dword [0x14001fd64]
btr edx, 0x1f
xor edx, dword [0x1400210e0]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [0x140020394]
mov dword [0x140020720], ecx
xor eax, eax
mov dword [0x14001fd60], eax
mov ecx, dword [rbp + rax*4 + 4]
inc eax
mov dword [0x14001fd60], eax
mov eax, ecx
shr eax, 0xb
and eax, dword [0x1400210e4]
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 0x140009678
lea ebx, [rcx + 1]
mov rcx, rbp
call fcn.140012120
mov edi, ebx
mov r8d, eax
imul r8, rdi
cmp r8d, ebx
jae 0x140009674
mov eax, ebx
neg eax
xor edx, edx
div ebx
mov ebx, edx
cmp r8d, edx
jae 0x140009674
mov rcx, rbp
call fcn.140012120
mov r8d, eax
imul r8, rdi
cmp r8d, ebx
jb 0x140009660
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