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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x12f0]
mov eax, 0x13f0
call fcn.140242000
sub rsp, rax
mov rax, qword [0x140284028]
xor rax, rsp
mov qword [rbp + 0x12e0], rax
mov rdi, r8
mov rbx, rdx
mov r15, rcx
mov qword [rsp + 0x20], rcx
xor esi, esi
mov dword [rsp + 0x28], esi
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
lea rdx, [rbp + 0x1328]
movabs rcx, 0xff00ff00ff00ff00
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdx
mov rax, qword [rdx]
xor rax, rcx
mov qword [rsp + 0x38], rax
mov qword [rdx], rsi
lea rcx, [0x14028f6b0]
mov qword [rsp + 0x30], rcx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1401c462a
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
mov rdx, rbx
mov rcx, r15
call fcn.140218140
mov r13d, 1
mov dword [rsp + 0x28], r13d
mov rcx, rsi
cmp qword [rbx + 0x10], rsi
jbe 0x1401c4698
nop dword [rax]
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1401c465d
mov rax, qword [rbx]
lea r9, [rax + rcx]
mov r8, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1401c466e
mov r8, qword [rdi]
xor edx, edx
mov rax, rcx
div qword [rdi + 0x10]
movzx eax, byte [r9]
xor al, byte [rdx + r8]
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x1401c468c
mov rdx, qword [r15]
mov byte [rdx + rcx], al
inc rcx
cmp rcx, qword [rbx + 0x10]
jb 0x1401c4650
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbp + 0x12d4], 0xffffffff
mov dword [rsp + 0x54], eax
mov rcx, r13
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 0x1401c46b1
mov dword [rsp + 0x50], 0x270
mov dword [rsp + 0x20], esi
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1401c46fa
imul rax, rax, 0x64
jmp 0x1401c4715
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
lea r14, [rax + 0x5f5e100]
mov r12d, 0x80000000
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1401c4740
imul rax, rax, 0x64
jmp 0x1401c475b
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, r14
jge 0x1401c4910
mov esi, 0x186a0
nop dword [rax]
lea rcx, [rsp + 0x50]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x63
ja 0x1401c47a8
nop dword [rax + rax]
lea rcx, [rsp + 0x50]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401c4790
shr rax, 0x20
lea ecx, [rax + 0x7fffff9c]
lea eax, [rcx + r12]
lea ebx, [rcx - 0x80000000]
cmp ecx, r12d
cmovae ebx, eax
test ebx, ebx
cmove ebx, r13d
lea rcx, [rsp + 0x50]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
mov edi, ebx
cmp eax, 0xc9
jae 0x1401c4808
cmp eax, 0x64
jae 0x1401c4808
nop dword [rax]
lea rcx, [rsp + 0x50]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401c47f0
shr rax, 0x20
lea ecx, [rax + 0x7fffff9c]
lea eax, [rcx + r12]
lea edx, [rcx - 0x80000000]
cmp ecx, r12d
cmovae edx, eax
mov eax, dword [rsp + 0x20]
add edx, eax
mov dword [rsp + 0x20], edx
lea rcx, [rsp + 0x50]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
mov ebx, edi
cmp eax, 0xc9
jae 0x1401c4868
cmp eax, 0x64
jae 0x1401c4868
nop dword [rax]
lea rcx, [rsp + 0x50]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401c4850
shr rax, 0x20
lea ecx, [rax + 0x7fffff9c]
lea eax, [rcx + r12]
lea edx, [rcx - 0x80000000]
cmp ecx, r12d
cmovae edx, eax
mov eax, dword [rsp + 0x20]
imul edx, eax
mov dword [rsp + 0x20], edx
lea rcx, [rsp + 0x50]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
mov edi, ebx
cmp eax, 0xc9
jae 0x1401c48c8
cmp eax, 0x64
jae 0x1401c48c8
nop
lea rcx, [rsp + 0x50]
call fcn.140226f00
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401c48b0
shr rax, 0x20
lea edx, [rax + 0x7fffff9c]
lea eax, [rdx + r12]
lea ecx, [rdx - 0x80000000]
cmp edx, r12d
cmovae ecx, eax
mov eax, dword [rsp + 0x20]
sub eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cdq
idiv edi
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cdq
idiv edi
mov dword [rsp + 0x20], edx
sub rsi, r13
jne 0x1401c4770
jmp 0x1401c4722
mov ecx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
nop
mov rdx, qword [rsp + 0x40]
xor rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
mov qword [rcx], rdx
mov rax, r15
mov rcx, qword [rbp + 0x12e0]
xor rcx, rsp
call fcn.140240c60
mov rbx, qword [rsp + 0x1440]
add rsp, 0x13f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret