Function at 0x14003d240
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 r12
push r13
push r14
push r15
mov eax, 0x1530
call fcn.140051cd0
sub rsp, rax
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x140125040]
xor rax, rsp
mov qword [rbp + 0x14e0], rax
mov rbx, rcx
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0xc0], rcx
xor r12d, r12d
mov dword [rbp + 8], r12d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r12
mov edi, 0xf
mov qword [rcx + 0x18], rdi
mov byte [rcx], r12b
mov r15d, 1
mov dword [rbp + 8], r15d
movabs rax, 0x1f2795317560f3f5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0x2080d4e7929c0d5a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0xb25b8f9498ee3cc0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rax, 0x76b310fd26853f73
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
movabs rax, 0x8ece66f0b97ac3de
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0x24b7b1f92a9f2d43
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
movabs rax, 0x3fc0897ae93e10a6
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
movabs rax, 0x1b4d5b4367d7af95
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
movabs rax, 0x5368c17b0acef2ae
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
movabs rcx, 0x1ba8b19c1d79bdaa
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
movabs rax, 0x2811a0054652c2c5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1480], rax
movabs rax, 0x66c590a4d0dd3462
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1488], rax
movabs rax, 0xfc16c3dfd2a77487
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1490], rax
movabs rax, 0x20e644ae74d46f3c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1498], rax
movabs rax, 0xeaad0491e3239b89
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x14a0], rax
movabs rax, 0x48dcdb9042f84b26
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x14a8], rax
movabs rax, 0x4bb3fb0b99517ecb
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x14b0], rax
movabs rax, 0x5b6c213a1fa0d9e0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x14b8], rax
movabs rax, 0x5368eb5d54ebd68d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x14c0], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x14c8], rax
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0x1480]
vmovdqa ymmword [rbp + 0x60], ymm1
vmovdqu ymm0, ymmword [rbp + 0x80]
vpxor ymm1, ymm0, ymmword [rbp + 0x14a0]
vmovdqa ymmword [rbp + 0x80], ymm1
vmovdqa xmm0, xmmword [rbp + 0xa0]
vxorps xmm0, xmm0, xmmword [rbp + 0x14c0]
vmovdqa xmmword [rbp + 0xa0], xmm0
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0xc8], xmm0
vxorps xmm1, xmm1, xmm1
vmovdqu xmmword [rbp + 0xd8], xmm1
lea rax, [rbp + 0x60]
mov rsi, 0xffffffffffffffff
mov r8, rsi
vzeroupper
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14003d500
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0xc8]
call fcn.140001fe0
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov eax, 0xffffffff
mov dword [rbp + 0x1474], eax
mov dword [rbp + 0xf4], edx
mov rcx, r15
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rbp + rcx*4 + 0xf4], edx
inc rcx
cmp rcx, 0x270
jb 0x14003d540
mov dword [rbp + 0xf0], 0x270
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ecx, eax
mov eax, 0x30c30c31
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x15
sub ecx, eax
add ecx, 0xa
mov dword [rbp], ecx
lea rdx, [rbp + 0xc8]
mov r9, qword [rbp + 0xc8]
mov r10, qword [rbp + 0xe0]
cmp r10, 0xf
cmova rdx, r9
mov rcx, qword [rbp + 0xd8]
add rdx, rcx
mov qword [rbp + 0x38], rdx
lea r13, [rbp + 0xc8]
cmp r10, 0xf
cmova r13, r9
mov eax, 0xffffffff
mov r14d, 0x40
dec r14
shr rsi, 1
cmp rsi, rax
ja 0x14003d5d5
cmp r13, rdx
je 0x14003d6bf
lea rax, [r13 + 1]
cmp rax, rdx
je 0x14003d6bf
mov rcx, r15
sub rcx, r13
mov qword [rbp + 0x10], rcx
lea r12, [r15 + r13]
add r12, rcx
xor edi, edi
xor ebx, ebx
test r15, r15
je 0x14003d648
lea rcx, [r14 - 1]
shl rdi, cl
add rdi, rdi
nop word [rax + rax]
lea rcx, [rbp + 0xf0]
call fcn.14003ef20
mov eax, eax
cmp rax, rsi
ja 0x14003d620
or rdi, rax
lea rcx, [r14 - 1]
shl rbx, cl
add rbx, rbx
or rbx, rsi
cmp rbx, r15
jb 0x14003d610
xor edx, edx
mov rax, rbx
div r12
mov rcx, rax
xor edx, edx
mov rax, rdi
div r12
cmp rax, rcx
jb 0x14003d66d
xor edx, edx
mov rax, rbx
div r12
cmp rdx, r15
jne 0x14003d607
xor edx, edx
mov rax, rdi
div r12
cmp rdx, r15
je 0x14003d68c
movzx ecx, byte [r15 + r13]
movzx eax, byte [rdx + r13]
mov byte [r15 + r13], al
mov byte [rdx + r13], cl
inc r15
lea rax, [r15 + r13]
cmp rax, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x10]
jne 0x14003d600
mov r10, qword [rbp + 0xe0]
mov rcx, qword [rbp + 0xd8]
mov r9, qword [rbp + 0xc8]
mov rbx, qword [rbp + 0x40]
mov edi, 0xf
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x28], xmm1
movsxd r8, dword [rbp]
cmp rcx, r8
cmovb r8, rcx
lea rdx, [rbp + 0xc8]
cmp r10, 0xf
cmova rdx, r9
lea rcx, [rbp + 0x18]
call fcn.140001fe0
lea rax, [rbp + 0x18]
cmp rbx, rax
je 0x14003d748
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14003d730
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14003d72b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003d77b
mov rcx, r8
call fcn.140050ebc
mov byte [rbx], 0
movups xmm0, xmmword [rbp + 0x18]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x28]
movups xmmword [rbx + 0x10], xmm1
mov byte [rbp + 0x18], 0
jmp 0x14003d74c
mov rdi, qword [rbp + 0x30]
cmp rdi, 0xf
jbe 0x14003d788
lea rdx, [rdi + 1]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d782
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003d782
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140050ebc
nop
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0xf
jbe 0x14003d7cc
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d7c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003d7c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140050ebc
mov rax, rbx
mov rcx, qword [rbp + 0x14e0]
xor rcx, rsp
call fcn.140050b00
lea r11, [rsp + 0x1530]
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