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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rbx, rcx
xor r13d, r13d
mov dword [rbp - 0x39], r13d
lea r12d, [r13 + 8]
mov edx, dword [0x180150bb4]
mov rax, qword gs:[0x58]
mov r14, qword [rax + rdx*8]
mov eax, 0x10
mov eax, dword [rax + r14]
cmp dword [0x180151448], eax
jg 0x18000db85
mov esi, 0x14
mov eax, dword [rsi + r14]
mov ecx, 0x20
mov r15d, 1
test r15b, al
jne 0x18000d7ba
or eax, r15d
mov dword [rsi + r14], eax
mov edi, ecx
add rdi, r14
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
or dword [rdi + 0x1384], 0xffffffff
mov dword [rdi + 4], eax
mov edx, r15d
lea r8, [rdi + 8]
mov r9d, 0x270
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [r8], eax
add rdx, r15
lea r8, [r8 + 4]
cmp rdx, r9
jb 0x18000d799
mov dword [rdi], r9d
mov eax, dword [rsi + r14]
mov ecx, 0x13a8
test al, 2
jne 0x18000d7de
or eax, 2
mov dword [rsi + r14], eax
mov qword [rcx + r14], r13
mov rax, qword [0x180151460]
mov qword [rcx + r14 + 8], rax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r13b
mov dword [rbp - 0x39], r15d
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r13
mov qword [rbp - 1], r13
mov qword [rbp - 9], r13
mov r15d, 7
mov qword [rbp - 1], r15
mov word [rbp - 0x19], r13w
lea esi, [r15 - 2]
mov dword [rbp - 0x39], esi
mov edi, 0x105
mov edx, edi
mov rcx, qword [rbp - 9]
sub rdx, rcx
mov rax, qword [rbp - 1]
sub rax, rcx
cmp rdx, rax
ja 0x18000d865
mov qword [rbp - 9], rdi
lea r8, [rbp - 0x19]
cmp qword [rbp - 1], r15
cmova r8, qword [rbp - 0x19]
lea rdi, [r8 + rcx*2]
test rdx, rdx
je 0x18000d85b
movzx eax, r13w
mov rcx, rdx
rep stosw word [rdi], ax
mov word [r8 + 0x20a], r13w
jmp 0x18000d871
mov r9, rdx
lea rcx, [rbp - 0x19]
call fcn.18000f8f0
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], r15
cmova rcx, qword [rbp - 0x19]
call fcn.1800194bc
mov qword [rbp + 0x6f], rax
mov ecx, eax
mov r8, qword [rbp - 9]
cmp rcx, r8
ja 0x18000d8aa
mov qword [rbp - 9], rcx
lea rax, [rbp - 0x19]
cmp qword [rbp - 1], r15
cmova rax, qword [rbp - 0x19]
mov word [rax + rcx*2], r13w
jmp 0x18000d8f7
mov rdx, rcx
sub rdx, r8
mov rax, qword [rbp - 1]
sub rax, r8
cmp rdx, rax
ja 0x18000d8eb
mov qword [rbp - 9], rcx
lea r9, [rbp - 0x19]
cmp qword [rbp - 1], r15
cmova r9, qword [rbp - 0x19]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x18000d8e0
movzx eax, r13w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r13w
jmp 0x18000d8f7
mov r9, rdx
lea rcx, [rbp - 0x19]
call fcn.18000f8f0
mov ecx, dword [rbp + 0x73]
cmp ecx, 0xffffffff
jne 0x18000d90e
mov ecx, 0x14
mov dword [rbp - 0x29], ecx
call fcn.180010d9c
jmp 0x18000d916
mov dword [rbp - 0x29], ecx
call fcn.180010e5c
mov qword [rbp - 0x21], rax
movaps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x29], xmm0
and esi, 0xfffffffb
mov dword [rbp - 0x39], esi
or esi, 2
mov dword [rbp - 0x39], esi
test ecx, ecx
jne 0x18000db77
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x19]
call fcn.1800111d8
nop
and esi, 0xfffffffd
mov dword [rbp - 0x39], esi
mov rdx, qword [rbp - 1]
cmp rdx, r15
jbe 0x18000d98d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000d988
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000d988
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180019af4
mov qword [rbp - 9], r13
mov qword [rbp - 1], r15
mov word [rbp - 0x19], r13w
mov rdi, qword [rbp + 0x17]
lea rdx, [rdi + 0xa]
mov rax, qword [rbx + 0x18]
mov rcx, rax
cmp rax, rdx
jae 0x18000d9cc
mov rdi, qword [rbx + 0x10]
sub rdx, rdi
mov rcx, rbx
call fcn.18000d1c0
mov qword [rbx + 0x10], rdi
mov rax, qword [rbx + 0x18]
mov rcx, rax
mov rdi, qword [rbp + 0x17]
lea rdx, [rbp + 7]
cmp rbx, rdx
je 0x18000da17
lea r9, [rbp + 7]
cmp qword [rbp + 0x1f], 0xf
cmova r9, qword [rbp + 7]
cmp rdi, rax
ja 0x18000da0c
mov rsi, rbx
cmp rcx, 0xf
jbe 0x18000d9f4
mov rsi, qword [rbx]
mov qword [rbx + 0x10], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rsi], r13b
jmp 0x18000da17
mov rdx, rdi
mov rcx, rbx
call fcn.18000d500
mov esi, 0x13a8
add rsi, r14
mov r15d, 0x20
add r15, r14
dec r12
mov rdx, qword [rsi + 8]
mov r14, qword [rsi]
mov qword [rbp + 0x6f], r15
sub rdx, r14
lea rcx, [rbp + 0x6f]
cmp rdx, 0xffffffffffffffff
jne 0x18000da5d
call fcn.18000f6e0
mov rdi, rax
lea rcx, [rbp + 0x6f]
call fcn.18000f6e0
shl rdi, 0x20
or rax, rdi
jmp 0x18000da65
inc rdx
call fcn.18000f58c
lea rcx, [rax + r14]
lea rax, [0x180151450]
cmp qword [0x180151468], 0xf
cmova rax, qword [0x180151450]
mov r9b, byte [rcx + rax]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x18000daae
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x18000daa3
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], r13b
jmp 0x18000dab6
mov rcx, rbx
call fcn.180010094
test r12, r12
jne 0x18000da28
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx + 0x18]
sub rax, rcx
lea edx, [r12 + 2]
cmp rax, rdx
jb 0x18000daf6
lea rax, [rcx + 2]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x18000dae9
mov rax, qword [rbx]
mov word [rax + rcx], 0x612e
mov byte [rax + rcx + 2], r13b
jmp 0x18000db0b
mov qword [rsp + 0x20], rdx
lea r9, [0x18003e588]
mov rcx, rbx
call fcn.18000feac
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x18000db49
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000db44
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000db44
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180019af4
mov qword [rbp + 0x17], r13
mov qword [rbp + 0x1f], 0xf
mov byte [rbp + 7], r13b
mov rax, rbx
mov rbx, qword [rsp + 0xe0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x29]
call fcn.1800108dc
nop
lea rcx, [0x180151448]
call fcn.18001970c
cmp dword [0x180151448], 0xffffffff
jne 0x18000d757
xorps xmm0, xmm0
movups xmmword [0x180151450], xmm0
mov qword [0x180151460], r13
mov qword [0x180151468], r13
mov ecx, 0x40
call fcn.180019b04
mov rdx, rax
mov qword [0x180151450], rax
mov qword [0x180151460], 0x3e
mov qword [0x180151468], 0x3f
movups xmm0, xmmword [str.0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x18003e558]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x18003e568]
movups xmmword [rax + 0x20], xmm0
movsd xmm0, qword [0x18003e578]
movsd qword [rax + 0x30], xmm0
mov eax, dword [0x18003e580]
mov dword [rdx + 0x38], eax
movzx eax, word [0x18003e584]
mov word [rdx + 0x3c], ax
mov byte [rdx + 0x3e], r13b
lea rcx, [0x18001b228]
call fcn.180019adc
nop
lea rcx, [0x180151448]
call fcn.1800196a0
jmp 0x18000d757