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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1380]
mov eax, 0x1480
call fcn.14000e4f0
sub rsp, rax
mov rax, qword [0x140015040]
xor rax, rsp
mov qword [rbp + 0x1370], rax
mov rbx, rdx
mov r15, rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x40], rcx
xor r12d, r12d
lea rdx, [0x14000f91c]
mov rcx, rbx
call fcn.1400040e0
mov r14, rax
lea rdx, [0x1400101e0]
mov rcx, rbx
call fcn.1400040e0
mov rdi, rax
cmp r14, 0xffffffffffffffff
je 0x14000cf49
cmp rax, 0xffffffffffffffff
je 0x14000cf49
cmp rax, r14
jbe 0x14000cf49
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r12
lea rsi, [r14 + 1]
mov r8, rsi
cmp qword [rbx + 0x10], rsi
cmovb r8, qword [rbx + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000ca06
mov rdx, qword [rbx]
lea rcx, [rbp - 0x40]
call fcn.140004e00
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov rcx, qword [rbx + 0x10]
cmp rcx, rsi
jb 0x14000cf87
mov r8, rdi
sub r8, r14
dec r8
sub rcx, rsi
cmp rcx, r8
cmovb r8, rcx
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000ca4c
mov rax, qword [rbx]
lea rdx, [rax + rsi]
lea rcx, [rbp - 0x80]
call fcn.140004e00
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
mov rax, qword [rbx + 0x10]
cmp rax, rdi
jb 0x14000cf8d
sub rax, rdi
mov rsi, 0xffffffffffffffff
mov r8, rsi
cmp rax, rsi
cmovb r8, rax
cmp qword [rbx + 0x18], 0xf
jbe 0x14000ca94
mov rbx, qword [rbx]
lea rdx, [rbx + rdi]
lea rcx, [rbp - 0x60]
call fcn.140004e00
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov ebx, 0xffffffff
mov dword [rbp + 0x1364], ebx
mov dword [rbp - 0x1c], 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 - 0x1c], edx
inc rcx
cmp rcx, 0x270
jb 0x14000cac0
mov r8d, 0x270
mov dword [rbp - 0x20], r8d
lea r11, [rbp - 0x80]
mov rdx, qword [rbp - 0x80]
mov r10, qword [rbp - 0x68]
cmp r10, 0xf
cmova r11, rdx
mov rcx, qword [rbp - 0x70]
add r11, rcx
mov qword [rsp + 0x40], r11
lea r9, [rbp - 0x80]
cmp r10, 0xf
cmova r9, rdx
mov qword [rsp + 0x50], r9
mov eax, 0x40
nop
lea rax, [rax - 1]
shr rsi, 1
cmp rsi, rbx
ja 0x14000cb20
cmp r9, r11
je 0x14000cd90
lea r12, [r9 + 1]
cmp r12, r11
je 0x14000cd8d
lea r14, [rax - 1]
mov r13d, 2
nop dword [rax]
lea r15, [r13 - 1]
nop dword [rax]
nop dword [rax + rax]
xor ebx, ebx
xor edi, edi
test r15, r15
je 0x14000cd1f
nop dword [rax]
mov rcx, r14
shl rbx, cl
add rbx, rbx
nop dword [rax]
cmp r8d, 0x270
jne 0x14000cbd5
lea rax, [rbp - 0x18]
mov r9d, r8d
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
xor edx, dword [rax + 0x630]
shr r8d, 1
xor edx, r8d
mov dword [rax + 0x9bc], edx
lea rax, [rax + 4]
sub r9, 1
jne 0x14000cb90
mov r8d, dword [rbp - 0x20]
jmp 0x14000ccc4
cmp r8d, 0x4e0
jb 0x14000ccc4
lea r9, [rbp + 0x9a4]
mov r10d, 0xe3
mov r11d, dword [rbp + 0x9a4]
nop word [rax + 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
xor ecx, dword [r9 + 0x634]
shr edx, 1
xor ecx, edx
mov dword [r9 - 0x9c0], ecx
lea r9, [r9 + 4]
sub r10, 1
jne 0x14000cc00
lea r9, [rbp + 0xd30]
mov r10d, 0x18c
mov r11d, dword [rbp + 0xd30]
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 0x14000cc50
mov edx, dword [rbp + 0x1360]
xor edx, dword [rbp - 0x1c]
btr edx, 0x1f
xor edx, dword [rbp + 0x1360]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [rbp + 0x614]
mov dword [rbp + 0x9a0], ecx
xor r8d, r8d
mov dword [rbp - 0x20], r8d
mov eax, r8d
mov ecx, dword [rbp + rax*4 - 0x1c]
inc r8d
mov dword [rbp - 0x20], r8d
mov eax, ecx
shr eax, 0xb
and eax, dword [rbp + 0x1364]
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, rsi
ja 0x14000cb80
or rbx, rax
mov rcx, r14
shl rdi, cl
add rdi, rdi
or rdi, rsi
cmp rdi, r15
jb 0x14000cb70
xor edx, edx
mov rax, rdi
div r13
mov r9, rdx
mov rcx, rax
xor edx, edx
mov rax, rbx
div r13
cmp rax, rcx
jb 0x14000cd43
cmp r9, r15
jne 0x14000cb60
xor edx, edx
mov rax, rbx
div r13
lea rax, [r13 - 1]
cmp rdx, rax
je 0x14000cd6b
movzx ecx, byte [r12]
mov r9, qword [rsp + 0x50]
movzx eax, byte [rdx + r9]
mov byte [r12], al
mov byte [rdx + r9], cl
inc r12
inc r13
cmp r12, qword [rsp + 0x40]
jne 0x14000cb50
mov r10, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x80]
mov r15, qword [rsp + 0x58]
xor r12d, r12d
movabs rax, 0x7fffffffffffffff
mov r8, qword [rbp - 0x30]
sub rax, r8
cmp rax, rcx
jb 0x14000cf81
lea r9, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova r9, qword [rbp - 0x40]
lea rax, [rbp - 0x80]
cmp r10, 0xf
cmova rax, rdx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
lea rcx, [rsp + 0x60]
call fcn.1400057f0
nop
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
lea rcx, [rsp + 0x60]
call fcn.1400043a0
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], r12
mov qword [r15 + 0x18], r12
movups xmm0, xmmword [rax]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r15 + 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14000ce68
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ce63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ce63
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d5c8
movdqa xmm0, xmmword [0x140010230]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x14000ceba
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ceb4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ceb4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d5c8
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x14000cef8
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cef3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cef3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d5c8
movdqa xmm0, xmmword [0x140010230]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14000cf54
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cf42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cf42
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000d5c8
jmp 0x14000cf54
mov rdx, rbx
mov rcx, r15
call fcn.140004220
mov rax, r15
mov rcx, qword [rbp + 0x1370]
xor rcx, rsp
call fcn.14000d5a0
mov rbx, qword [rsp + 0x14d0]
add rsp, 0x1480
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400017e0
nop
call fcn.1400044a0
nop
call fcn.1400044a0
int3