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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1300]
mov eax, 0x1400
call fcn.1400142a0
sub rsp, rax
mov rax, qword [0x14001d040]
xor rax, rsp
mov qword [rbp + 0x12f0], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
xor r12d, r12d
mov dword [rsp + 0x20], r12d
lea r13, [0x14001dea0]
mov qword [rsp + 0x30], r13
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
lea r8d, [r12 + 0xa]
lea rdx, str.0123456789
lea rcx, [rsp + 0x38]
call fcn.140009a30
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x12e4], 0xffffffff
mov dword [rsp + 0x64], eax
lea edx, [r12 + 1]
nop
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x64], eax
inc rdx
cmp rdx, 0x270
jb 0x140005840
mov edx, 0x270
mov dword [rsp + 0x60], edx
mov r14, qword [rsp + 0x48]
dec r14
xorps xmm0, xmm0
movups xmmword [0x14001dea0], xmm0
mov qword [0x14001deb0], r12
mov qword [0x14001deb8], 0xf
mov byte [0x14001dea0], 0
mov dword [rsp + 0x20], 1
mov esi, 6
mov r15, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x38]
nop word [rax + rax]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
cmp r14, 0xffffffffffffffff
jne 0x140005be4
cmp edx, 0x270
jne 0x140005925
lea rax, [rsp + 0x68]
mov r9d, edx
nop dword [rax]
nop dword [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
xor edx, dword [rax + 0x630]
shr r8d, 1
xor edx, r8d
mov dword [rax + 0x9bc], edx
lea rax, [rax + 4]
sub r9, 1
jne 0x1400058e0
mov edx, dword [rsp + 0x60]
jmp 0x140005a16
cmp edx, 0x4e0
jb 0x140005a16
lea r9, [rbp + 0x924]
mov r11d, 0xe3
mov r10d, dword [rbp + 0x924]
nop word [rax + rax]
mov eax, r10d
mov r10d, dword [r9 + 4]
mov edx, r10d
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 r11, 1
jne 0x140005950
lea r9, [rbp + 0xcb0]
mov r11d, 0x18c
mov r10d, dword [rbp + 0xcb0]
mov eax, r10d
mov r10d, dword [r9 + 4]
mov edx, r10d
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 r11, 1
jne 0x1400059a0
mov edx, dword [rbp + 0x12e0]
xor edx, dword [rsp + 0x64]
btr edx, 0x1f
xor edx, dword [rbp + 0x12e0]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [rbp + 0x594]
mov dword [rbp + 0x920], ecx
mov dword [rsp + 0x60], r12d
mov edx, r12d
mov eax, edx
mov ecx, dword [rsp + rax*4 + 0x64]
inc edx
mov dword [rsp + 0x60], edx
mov eax, ecx
shr eax, 0xb
and eax, dword [rbp + 0x12e4]
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 ebx, ecx
shr ebx, 0x12
xor ebx, ecx
shl rbx, 0x20
cmp edx, 0x270
jne 0x140005ab2
lea r8, [rsp + 0x68]
mov r9d, edx
nop dword [rax]
nop word [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, dword [r8 - 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x630]
shr edx, 1
xor ecx, edx
mov dword [r8 + 0x9bc], ecx
lea r8, [r8 + 4]
sub r9, 1
jne 0x140005a70
mov edx, dword [rsp + 0x60]
jmp 0x140005ba6
cmp edx, 0x4e0
jb 0x140005ba6
lea r9, [rbp + 0x924]
mov r10d, 0xe3
mov r11d, dword [rbp + 0x924]
nop dword [rax]
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 0x140005ae0
lea r9, [rbp + 0xcb0]
mov r10d, 0x18c
mov r11d, dword [rbp + 0xcb0]
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 - 0xd4c]
mov dword [r9 - 0x9c0], ecx
lea r9, [r9 + 4]
sub r10, 1
jne 0x140005b30
mov edx, dword [rbp + 0x12e0]
xor edx, dword [rsp + 0x64]
btr edx, 0x1f
xor edx, dword [rbp + 0x12e0]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [rbp + 0x594]
mov dword [rbp + 0x920], ecx
mov dword [rsp + 0x60], r12d
mov edx, r12d
mov eax, edx
mov ecx, dword [rsp + rax*4 + 0x64]
lea eax, [rdx + 1]
mov dword [rsp + 0x60], eax
mov eax, ecx
shr eax, 0xb
and eax, dword [rbp + 0x12e4]
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
or rbx, rax
jmp 0x140005bf5
lea rdx, [r14 + 1]
lea rcx, [rsp + 0x28]
call fcn.14000b500
mov rbx, rax
lea rcx, [rsp + 0x38]
cmp r15, 0xf
cmova rcx, rdi
movzx r9d, byte [rbx + rcx]
mov rcx, qword [0x14001deb0]
mov rdx, qword [0x14001deb8]
cmp rcx, rdx
jae 0x140005c3f
lea rax, [rcx + 1]
mov qword [0x14001deb0], rax
mov rax, r13
cmp rdx, 0xf
cmova rax, qword [0x14001dea0]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140005c47
mov rcx, r13
call fcn.140009d00
sub rsi, 1
je 0x140005c56
mov edx, dword [rsp + 0x60]
jmp 0x1400058b0
cmp r15, 0xf
jbe 0x140005c90
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140005c88
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005c88
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140013898
mov rax, r13
mov rcx, qword [rbp + 0x12f0]
xor rcx, rsp
call fcn.140013450
lea r11, [rsp + 0x1400]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret