Function at 0x140010c10
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
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1468]
mov eax, 0x1568
call fcn.1400132a0
sub rsp, rax
mov rsi, rdx
mov r15, qword [rdx + 0x10]
mov rbx, rdx
mov r12, qword [rdx + 0x18]
cmp r12, 0x10
jb 0x140010c4d
mov rbx, qword [rdx]
mov r13, 0xffffffffffffffff
test r15, r15
je 0x140010cc7
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x28], eax
xor edx, edx
mov r8d, 0xa3
lea rcx, [rbp + 0x2d]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + 0x2c], 1
lea rax, [r15 - 1]
mov rdi, r13
cmp rax, r13
cmovb rdi, rax
add rdi, rbx
movzx eax, byte [rdi]
cmp byte [rbp + rax - 0x30], 0
jne 0x140010cc2
nop dword [rax]
cmp rdi, rbx
je 0x140010cc7
dec rdi
movzx eax, byte [rdi]
cmp byte [rbp + rax - 0x30], 0
je 0x140010cb0
sub rdi, rbx
jmp 0x140010cca
mov rdi, r13
mov r14, rsi
cmp r12, 0x10
jb 0x140010cd6
mov r14, qword [rsi]
test r15, r15
je 0x140010d27
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp - 2], 1
lea rax, [r15 - 1]
mov rbx, r13
cmp rax, rbx
cmovb rbx, rax
add rbx, r14
movzx eax, byte [rbx]
cmp byte [rbp + rax - 0x30], 0
jne 0x140010d22
nop dword [rax + rax]
cmp rbx, r14
je 0x140010d27
dec rbx
movzx eax, byte [rbx]
cmp byte [rbp + rax - 0x30], 0
je 0x140010d10
sub rbx, r14
jmp 0x140010d2a
mov rbx, r13
cmp rdi, r13
je 0x1400112ff
cmp rbx, r13
je 0x1400112ff
cmp rbx, rdi
jbe 0x1400112ff
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xor eax, eax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
lea r14, [rdi + 1]
mov r8, r14
cmp r15, r14
cmovb r8, r15
mov rdx, rsi
cmp r12, 0x10
jb 0x140010d70
mov rdx, qword [rsi]
lea rcx, [rbp - 0x80]
call fcn.140009020
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov rcx, qword [rsi + 0x10]
cmp rcx, r14
jb 0x14001132f
mov r8, rbx
sub r8, rdi
dec r8
sub rcx, r14
cmp rcx, r8
cmovb r8, rcx
mov rax, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140010db8
mov rax, qword [rsi]
lea rdx, [rax + r14]
lea rcx, [rsp + 0x40]
call fcn.140009020
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xor edi, edi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
mov rax, qword [rsi + 0x10]
cmp rax, rbx
jb 0x140011335
sub rax, rbx
mov r8, r13
cmp rax, r13
cmovb r8, rax
cmp qword [rsi + 0x18], 0x10
jb 0x140010dff
mov rsi, qword [rsi]
lea rdx, [rsi + rbx]
lea rcx, [rsp + 0x60]
call fcn.140009020
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov ebx, 0xffffffff
mov dword [rbp + 0x1454], ebx
mov dword [rbp + 0xd4], eax
mov r14d, 1
mov edx, r14d
nop
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 + 0xd4], eax
inc rdx
cmp rdx, 0x270
jb 0x140010e30
mov r8d, 0x270
mov dword [rbp + 0xd0], r8d
lea r11, [rsp + 0x40]
mov rdx, qword [rsp + 0x40]
mov r10, qword [rsp + 0x58]
cmp r10, 0x10
cmovae r11, rdx
mov rcx, qword [rsp + 0x50]
add r11, rcx
mov qword [rbp + 0x14c8], r11
lea r9, [rsp + 0x40]
cmp r10, 0x10
cmovae r9, rdx
mov qword [rbp + 0x14b8], r9
mov r12d, 0x40
nop
lea r12, [r12 - 1]
shr r13, 1
cmp r13, rbx
ja 0x140010ea0
cmp r9, r11
je 0x14001113a
lea rax, [r9 + 1]
cmp rax, r11
je 0x14001113a
mov rcx, r14
sub rcx, r9
mov qword [rbp - 0x58], rcx
nop dword [rax]
lea rax, [r14 + r9]
mov qword [rbp + 0x14c0], rax
lea r15, [rax + rcx]
nop
xor edi, edi
xor ebx, ebx
test r14, r14
je 0x1400110bd
nop dword [rax]
lea rcx, [r12 - 1]
shl rdi, cl
add rdi, rdi
nop dword [rax + rax]
cmp r8d, 0x270
jne 0x140010f68
lea rax, [rbp + 0xd8]
mov r9d, r8d
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
btr r8d, 0x1f
xor r8d, dword [rax - 4]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
and edx, 0x9908b0df
shr r8d, 1
xor edx, r8d
xor edx, dword [rax + 0x630]
mov dword [rax + 0x9bc], edx
lea rax, [rax + 4]
sub r9, 1
jne 0x140010f20
mov r8d, dword [rbp + 0xd0]
jmp 0x14001105a
cmp r8d, 0x4e0
jb 0x14001105a
lea r9, [rbp + 0xa94]
mov r10d, 0xe3
mov r11d, dword [rbp + 0xa94]
nop dword [rax]
mov eax, r11d
mov r11d, dword [r9 + 4]
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [r9 + 0x634]
mov dword [r9 - 0x9c0], ecx
lea r9, [r9 + 4]
sub r10, 1
jne 0x140010f90
lea r9, [rbp + 0xe20]
mov r10d, 0x18c
mov r11d, dword [rbp + 0xe20]
mov eax, r11d
mov r11d, dword [r9 + 4]
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r9 - 0xd4c]
shr edx, 1
xor ecx, edx
mov dword [r9 - 0x9c0], ecx
lea r9, [r9 + 4]
sub r10, 1
jne 0x140010fe0
mov edx, dword [rbp + 0x1450]
xor edx, dword [rbp + 0xd4]
btr edx, 0x1f
xor edx, dword [rbp + 0x1450]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [rbp + 0x704]
mov dword [rbp + 0xa90], ecx
xor r8d, r8d
mov dword [rbp + 0xd0], r8d
mov eax, r8d
mov ecx, dword [rbp + rax*4 + 0xd4]
inc r8d
mov dword [rbp + 0xd0], r8d
mov eax, ecx
shr eax, 0xb
and eax, dword [rbp + 0x1454]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
cmp rax, r13
ja 0x140010f00
or rdi, rax
lea rcx, [r12 - 1]
shl rbx, cl
add rbx, rbx
or rbx, r13
cmp rbx, r14
jb 0x140010ef0
xor edx, edx
mov rax, rbx
div r15
mov rcx, rax
xor edx, edx
mov rax, rdi
div r15
cmp rax, rcx
jb 0x1400110e6
xor edx, edx
mov rax, rbx
div r15
cmp rdx, r14
jne 0x140010ee0
xor edx, edx
mov rax, rdi
div r15
mov r9, qword [rbp + 0x14b8]
cmp rdx, r14
je 0x140011111
mov r10, qword [rbp + 0x14c0]
movzx ecx, byte [r10]
movzx eax, byte [rdx + r9]
mov byte [r10], al
mov byte [rdx + r9], cl
inc r14
lea rax, [r14 + r9]
cmp rax, qword [rbp + 0x14c8]
mov rcx, qword [rbp - 0x58]
jne 0x140010ed0
mov r10, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x40]
xor edi, edi
movabs rax, 0x7fffffffffffffff
mov r8, qword [rbp - 0x70]
sub rax, r8
cmp rax, rcx
jb 0x140011329
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae r9, qword [rbp - 0x80]
lea rax, [rsp + 0x40]
cmp r10, 0x10
cmovae rax, rdx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
lea rcx, [rbp - 0x50]
call fcn.140009bf0
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
lea rcx, [rbp - 0x50]
call fcn.140007c70
xorps xmm0, xmm0
mov rbx, qword [rbp + 0x14b0]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140011217
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011212
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011212
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400122e8
movdqa xmm0, xmmword [0x1400167f0]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140011269
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011263
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011263
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400122e8
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400112a9
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400112a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400112a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400122e8
movdqa xmm0, xmmword [0x1400167f0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x1400112fa
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400112f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400112f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400122e8
mov rax, rbx
jmp 0x140011315
mov rdx, rsi
mov rcx, qword [rbp + 0x14b0]
call fcn.140007980
mov rax, qword [rbp + 0x14b0]
add rsp, 0x1568
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400018b0
nop
call fcn.140007d10
nop
call fcn.140007d10
int3