Function at 0x140005d40
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1390]
mov eax, 0x1490
call fcn.14007ac60
sub rsp, rax
mov rax, qword [0x1401fc340]
xor rax, rsp
mov qword [rbp + 0x1380], rax
mov r14, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_1]
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbp + 0x1374], 0xffffffff
mov dword [rbp - 0xc], eax
mov ecx, 1
nop dword [rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rbp + rcx*4 - 0xc], edx
inc rcx
cmp rcx, 0x270
jb 0x140005db0
mov dword [rbp - 0x10], 0x270
mov rax, qword [0x1401fd918]
mov rcx, qword [rax]
mov qword [rbp - 0x40], rcx
mov r13d, dword [0x1401fd920]
dec r13d
btc r13d, 0x1f
lea rcx, [rbp - 0x10]
cmp r13d, 0x7fffffff
jne 0x140005e09
call fcn.140011b60
mov ecx, eax
jmp 0x140005e47
lea ebx, [r13 - 0x7fffffff]
call fcn.140011b60
mov edi, ebx
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jae 0x140005e43
mov eax, ebx
neg eax
xor edx, edx
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x140005e43
nop
lea rcx, [rbp - 0x10]
call fcn.140011b60
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x140005e30
shr rcx, 0x20
lea edx, [rcx - 0x80000000]
xor edx, 0x80000000
lea rcx, [rbp - 0x40]
call fcn.14000e2a0
mov rbx, qword [rbp - 0x40]
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x30]
call fcn.14000c970
nop
mov r15, qword [rbx + 0x40]
mov r12, qword [rbx + 0x48]
sub r12, r15
sar r12, 5
dec r12d
btc r12d, 0x1f
lea rcx, [rbp - 0x10]
cmp r12d, 0x7fffffff
jne 0x140005e9b
call fcn.140011b60
mov ecx, eax
jmp 0x140005edb
lea edi, [r12 - 0x7fffffff]
call fcn.140011b60
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140005ed5
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140005ed5
lea rcx, [rbp - 0x10]
call fcn.140011b60
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140005ec2
shr rcx, 0x20
xor esi, esi
lea eax, [rcx - 0x80000000]
movsxd rdx, eax
xor rdx, 0xffffffff80000000
shl rdx, 5
add rdx, r15
lea rcx, [rbp - 0x60]
call fcn.14000c970
nop
lea r8, [0x14008f75c]
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x28]
call fcn.14000dc90
nop
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
mov rcx, rax
call fcn.14000c870
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r14 + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov r15d, 5
mov dword [rsp + 0x20], r15d
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x140005faa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005fa5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005fa5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007a72c
movabs r10, 0x100000001b3
movabs rax, 0xcbf29ce484222325
nop
mov r8, qword [r14 + 0x10]
mov rdx, r14
cmp qword [r14 + 0x18], 7
jbe 0x140005fd1
mov rdx, qword [r14]
mov r9, rax
add r8, r8
mov rcx, rsi
je 0x140005ff3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140005fe0
mov r8, r14
lea rdx, [rsp + 0x28]
call fcn.1400110a0
mov rcx, qword [rax + 8]
mov rax, qword [0x1401fd978]
test rcx, rcx
cmovne rax, rcx
cmp rax, qword [0x1401fd978]
je 0x140006321
mov rax, qword [0x1401fd918]
mov rcx, qword [rax]
mov qword [rbp - 0x40], rcx
lea rcx, [rbp - 0x10]
cmp r13d, 0x7fffffff
jne 0x140006043
call fcn.140011b60
mov ecx, eax
jmp 0x140006087
lea edi, [r13 - 0x7fffffff]
call fcn.140011b60
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140006083
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140006083
nop dword [rax]
lea rcx, [rbp - 0x10]
call fcn.140011b60
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140006070
shr rcx, 0x20
lea edx, [rcx - 0x80000000]
xor edx, 0x80000000
lea rcx, [rbp - 0x40]
call fcn.14000e2a0
mov r9, qword [rbp - 0x40]
add r9, 0x20
lea rax, [rbp - 0x30]
cmp rax, r9
je 0x1400060f8
mov rdx, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 7
jbe 0x1400060bb
mov r9, qword [r9]
mov rax, qword [rbp - 0x18]
cmp rdx, rax
ja 0x1400060ef
lea rsi, [rbp - 0x30]
cmp rax, 7
cmova rsi, qword [rbp - 0x30]
mov qword [rbp - 0x20], rdx
lea rdi, [rdx + rdx]
mov r8, rdi
mov rdx, r9
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
xor eax, eax
mov word [rsi + rdi], ax
jmp 0x1400060f8
lea rcx, [rbp - 0x30]
call fcn.14000f4d0
lea rcx, [rbp - 0x10]
cmp r12d, 0x7fffffff
jne 0x14000610e
call fcn.140011b60
mov ecx, eax
jmp 0x14000614c
lea edi, [r12 - 0x7fffffff]
call fcn.140011b60
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140006148
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140006148
lea rcx, [rbp - 0x10]
call fcn.140011b60
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140006135
shr rcx, 0x20
add ecx, 0x80000000
movsxd r9, ecx
xor r9, 0xffffffff80000000
shl r9, 5
add r9, qword [rbx + 0x40]
lea rax, [rbp - 0x60]
cmp rax, r9
je 0x1400061b8
mov rdx, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 7
jbe 0x14000617b
mov r9, qword [r9]
mov rax, qword [rbp - 0x48]
cmp rdx, rax
ja 0x1400061af
lea rsi, [rbp - 0x60]
cmp rax, 7
cmova rsi, qword [rbp - 0x60]
mov qword [rbp - 0x50], rdx
lea rdi, [rdx + rdx]
mov r8, rdi
mov rdx, r9
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
xor eax, eax
mov word [rsi + rdi], ax
jmp 0x1400061b8
lea rcx, [rbp - 0x60]
call fcn.14000f4d0
lea r8, [0x14008f75c]
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x60]
call fcn.14000dc90
nop
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
mov rcx, rax
call fcn.14000c870
movups xmm1, xmmword [rax]
movups xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm0
xor esi, esi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
or r15d, 2
mov dword [rsp + 0x20], r15d
lea rax, [rbp - 0x80]
cmp r14, rax
je 0x140006276
mov rdx, qword [r14 + 0x18]
cmp rdx, 7
jbe 0x140006263
mov rcx, qword [r14]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140006255
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000631a
mov rcx, r8
call fcn.14007a72c
movups xmm0, xmmword [rbp - 0x40]
movups xmm1, xmmword [rsp + 0x50]
mov qword [r14 + 0x18], 7
movups xmmword [r14], xmm1
movups xmmword [r14 + 0x10], xmm0
jmp 0x1400062ba
psrldq xmm0, 8
movq rdx, xmm0
cmp rdx, 7
jbe 0x1400062ba
lea rdx, [rdx*2 + 2]
movq rcx, xmm1
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400062b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000631a
call fcn.14007a72c
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
movabs rax, 0xcbf29ce484222325
movabs r10, 0x100000001b3
jbe 0x140005fc0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005fa5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005fa5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r8, r14
lea rdx, [rsp + 0x28]
call fcn.14000ee50
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_2]
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x140006379
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006373
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006373
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007a72c
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x1400063bc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400063b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400063b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007a72c
mov rax, r14
mov rcx, qword [rbp + 0x1380]
xor rcx, rsp
call fcn.14007a3c0
lea r11, [rsp + 0x1490]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret