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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x1308]
mov eax, 0x1408
call fcn.18002a7f0
sub rsp, rax
mov rdi, rcx
mov dword [rsp + 0x20], 0
call qword [sym.imp.libmwservices.dll_private:_static_class_std::shared_ptr_class_lmgr::config::ServiceInterface_const_____cdecl_lmgr::detail::MicroService_RestrictedAccess::getMicroService_void_]
mov ebx, 1
mov dword [rsp + 0x20], ebx
cmp qword [rdi], 0
je 0x180018483
lea rax, vtable.std::_Func_impl_no_alloc_class__class_std::shared_ptr_class_lmgr::config::ServiceInterface_const_____cdecl_lmgr::detail::getMethodsNoCache_void_::_3::_lambda_1___void___.0
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0x28]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x28]
mov qword [rbp + 0x1348], rax
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
movsxd rcx, eax
lea rax, [rbp + 0x1338]
imul rcx, rax
lea rax, [0x180019ac0]
xor rcx, rax
mov qword [rbp + 0x1338], rcx
call qword [sym.imp.libmwservices.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_mw::shutdown::errorStatus_void_]
mov rsi, rax
mov rcx, qword [rbp + 0x1338]
mov qword [rax], rcx
movabs rax, 0x5555555555555555
mov qword [rbp + 0x12f8], rax
mov r10, qword [rbp + 0x1338]
mov qword [rsp + 0x78], r10
mov rcx, r10
movabs rdx, 0x5851f42d4c957f2d
nop dword [rax + rax]
mov rax, rcx
shr rax, 0x3e
xor rcx, rax
imul rcx, rdx
add rcx, rbx
mov qword [rsp + rbx*8 + 0x78], rcx
inc rbx
cmp rbx, 0x138
jb 0x180018270
mov eax, 0x138
mov dword [rsp + 0x70], eax
shr r10, 8
and r10d, 0xf
jbe 0x180018412
movabs r11, 0xb5026f5aa96619e9
cmp eax, 0x138
jne 0x180018316
lea rax, [rbp - 0x80]
mov r9d, 0x138
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rax - 8]
xor r8d, dword [rax]
btr r8d, 0x1f
xor r8, qword [rax - 8]
movzx ecx, r8b
and cl, 1
neg cl
sbb rdx, rdx
and rdx, r11
xor rdx, qword [rax + 0x4d8]
shr r8, 1
xor rdx, r8
mov qword [rax + 0x9b8], rdx
lea rax, [rax + 8]
sub r9, 1
jne 0x1800182d0
mov eax, dword [rsp + 0x70]
jmp 0x180018402
cmp eax, 0x270
jb 0x180018402
xor r8d, r8d
nop dword [rax]
nop dword [rax + rax]
mov edx, dword [rbp + r8*8 + 0x940]
xor edx, dword [rbp + r8*8 + 0x938]
btr edx, 0x1f
xor rdx, qword [rbp + r8*8 + 0x938]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
and rcx, r11
xor rcx, qword [rbp + r8*8 + 0xe18]
shr rdx, 1
xor rcx, rdx
mov qword [rsp + r8*8 + 0x78], rcx
inc r8
cmp r8, 0x9c
jb 0x180018330
mov r8d, 0x9c
nop
mov edx, dword [rbp + r8*8 + 0x940]
xor edx, dword [rbp + r8*8 + 0x938]
btr edx, 0x1f
xor rdx, qword [rbp + r8*8 + 0x938]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
and rcx, r11
xor rcx, qword [rbp + r8*8 - 0x568]
shr rdx, 1
xor rcx, rdx
mov qword [rsp + r8*8 + 0x78], rcx
inc r8
cmp r8, 0x137
jb 0x180018380
mov rdx, qword [rbp + 0x12f0]
xor rdx, qword [rsp + 0x78]
btr edx, 0x1f
xor rdx, qword [rbp + 0x12f0]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
and rcx, r11
shr rdx, 1
xor rcx, rdx
xor rcx, qword [rbp + 0x450]
mov qword [rbp + 0x930], rcx
xor eax, eax
inc eax
mov dword [rsp + 0x70], eax
sub r10, 1
jne 0x1800182b3
lea rax, [rsp + 0x70]
mov qword [rbp + 0x1340], rax
lea rcx, [rbp + 0x1340]
call fcn.180012620
mov rbx, rax
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x18001849e
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x60]
cmp qword [rsi], rbx
jne 0x18001846d
test rcx, rcx
je 0x18001845e
mov rax, qword [rcx]
lea rdx, [rsp + 0x28]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rax, rdi
add rsp, 0x1408
pop rdi
pop rsi
pop rbx
pop rbp
ret
test rcx, rcx
je 0x180018483
mov rax, qword [rcx]
lea rdx, [rsp + 0x28]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov byte [rbp + 0x1338], 0
lea rdx, [0x18003f370]
lea rcx, [rbp + 0x1338]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3