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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x920]
sub rsp, 0xa20
mov rax, qword [0x14000c070]
xor rax, rsp
mov qword [rbp + 0x910], rax
mov r15, rcx
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x40], 0x1571
mov edx, 1
mov qword [rbp + 0x900], rdx
mov eax, dword [rsp + rdx*4 + 0x3c]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, dword [rbp + 0x900]
mov dword [rsp + rdx*4 + 0x40], eax
mov rdx, qword [rbp + 0x900]
inc rdx
mov qword [rbp + 0x900], rdx
cmp rdx, 0x270
jb 0x140002e10
mov edx, dword [rbp + 0x570]
xor edx, dword [rbp + 0x8fc]
jge 0x140002e60
xor edx, 0x1908b0df
add edx, edx
or edx, 1
jmp 0x140002e62
add edx, edx
mov ecx, dword [rsp + 0x40]
mov eax, ecx
xor eax, edx
btr eax, 0x1f
xor ecx, eax
mov dword [rsp + 0x40], ecx
xor eax, eax
cmp dword [rsp + rax*4 + 0x40], 0
jne 0x140002e90
inc rax
cmp rax, 0x270
jb 0x140002e76
mov dword [rsp + 0x40], 0x80000000
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov dword [rsp + 0x40], eax
mov edx, 1
mov qword [rbp + 0x900], rdx
nop dword [rax + rax]
mov eax, dword [rsp + rdx*4 + 0x3c]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, dword [rbp + 0x900]
mov dword [rsp + rdx*4 + 0x40], eax
mov rdx, qword [rbp + 0x900]
inc rdx
mov qword [rbp + 0x900], rdx
cmp rdx, 0x270
jb 0x140002eb0
mov edx, dword [rbp + 0x570]
xor edx, dword [rbp + 0x8fc]
jge 0x140002f00
xor edx, 0x1908b0df
add edx, edx
or edx, 1
jmp 0x140002f02
add edx, edx
mov ecx, dword [rsp + 0x40]
mov eax, ecx
xor eax, edx
btr eax, 0x1f
xor ecx, eax
mov dword [rsp + 0x40], ecx
xor eax, eax
cmp dword [rsp + rax*4 + 0x40], 0
jne 0x140002f30
inc rax
cmp rax, 0x270
jb 0x140002f16
mov dword [rsp + 0x40], 0x80000000
mov ecx, 0x18
call fcn.140006164
mov rdi, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140002f75
lea rax, vtable.boost::uuids::basic_random_generator_class_boost::random::mersenne_twister_engine_unsigned_int__32__624__397__31___1727483681__11___1__7___1658038656__15___272236544__18__1812433253__::impl.0
mov qword [rdi], rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x2c], 0xffffffff
lea rax, [rsp + 0x40]
mov qword [rdi + 8], rax
mov rax, qword [rsp + 0x28]
mov qword [rdi + 0x10], rax
jmp 0x140002f77
xor edi, edi
mov qword [rsp + 0x28], rdi
xor esi, esi
movzx r9d, byte [rsp + 0x20]
mov r8d, dword [rdi + 0x14]
mov edx, dword [rdi + 0x10]
mov rcx, qword [rdi + 8]
call fcn.140001cc0
mov edx, eax
lea r14, [rsp + 0x30]
movzx ebx, byte [rsp + 0x20]
cmp esi, 4
jne 0x140002fbd
movzx r9d, bl
mov r8d, dword [rdi + 0x14]
mov edx, dword [rdi + 0x10]
mov rcx, qword [rdi + 8]
call fcn.140001cc0
mov edx, eax
xor esi, esi
lea ecx, [rsi*8]
mov eax, edx
shr eax, cl
mov byte [r14], al
inc esi
inc r14
lea rax, [rsp + 0x40]
cmp r14, rax
jne 0x140002fa0
movzx eax, byte [rsp + 0x38]
and al, 0x3f
or al, 0x80
mov byte [rsp + 0x38], al
movzx r8d, byte [rsp + 0x36]
and r8b, 0xf
or r8b, 0x40
mov byte [rsp + 0x36], r8b
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.140004c80
nop
test rdi, rdi
je 0x140003026
mov r8, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [r8]
mov rax, r15
mov rcx, qword [rbp + 0x910]
xor rcx, rsp
call fcn.140006780
lea r11, [rsp + 0xa20]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret