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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1400
call fcn.14004bde0
sub rsp, rax
mov rax, qword [0x14005c010]
xor rax, rsp
mov qword [rsp + 0x13f0], rax
mov dword [rsp + 0x28], edx
lea rbx, [0x14005ce48]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], send
mov byte [rsp + 0x38], 0
mov r8d, 0x24
lea rdx, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
lea rcx, [rsp + 0x38]
call fcn.140005130
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov r8d, 0xffffffff
mov dword [rsp + 0x13e4], r8d
mov dword [rsp + 0x64], eax
mov r14d, 1
mov edx, r14d
nop dword [rax + rax]
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 0x1400019b0
mov dword [rsp + 0x60], 0x270
lea rax, [rsp + 0x38]
mov r9, qword [rsp + 0x38]
mov r10, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
cmp r10, 0x10
jb 0x1400019fa
mov r13, r9
lea rdx, [r9 + rcx]
jmp 0x140001a03
lea rdx, [rax + rcx]
lea r13, [rsp + 0x38]
mov qword [rsp + 0x20], rdx
mov rsi, 0xffffffffffffffff
mov r15d, 0x40
nop word [rax + rax]
lea r15, [r15 - 1]
shr rsi, 1
cmp rsi, r8
ja 0x140001a20
cmp r13, rdx
je 0x140001b02
lea rax, [r13 + 1]
cmp rax, rdx
je 0x140001b02
mov rcx, r14
sub rcx, r13
mov qword [rsp + 0x30], rcx
nop dword [rax]
lea r12, [r14 + r13]
add r12, rcx
xor ebx, ebx
xor edi, edi
test r14, r14
je 0x140001a96
lea rcx, [r15 - 1]
shl rbx, cl
add rbx, rbx
nop word [rax + rax]
lea rcx, [rsp + 0x60]
call fcn.140005810
mov eax, eax
cmp rax, rsi
ja 0x140001a70
or rbx, rax
lea rcx, [r15 - 1]
shl rdi, cl
add rdi, rdi
or rdi, rsi
cmp rdi, r14
jb 0x140001a60
xor edx, edx
mov rax, rdi
div r12
mov r8, rdx
mov rcx, rax
xor edx, edx
mov rax, rbx
div r12
cmp rax, rcx
jb 0x140001ab6
cmp r8, r14
jne 0x140001a57
xor edx, edx
mov rax, rbx
div r12
cmp rdx, r14
je 0x140001ad5
movzx ecx, byte [r14 + r13]
movzx eax, byte [rdx + r13]
mov byte [r14 + r13], al
mov byte [rdx + r13], cl
inc r14
lea rax, [r14 + r13]
cmp rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
jne 0x140001a50
mov r10, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov r9, qword [rsp + 0x38]
lea rbx, [0x14005ce48]
mov qword [0x14005ce48], 0
mov qword [0x14005ce58], 0
mov qword [0x14005ce60], 0xf
movsxd r8, dword [rsp + 0x28]
cmp rcx, r8
cmovb r8, rcx
lea rdx, [rsp + 0x38]
cmp r10, 0x10
cmovae rdx, r9
mov rcx, rbx
call fcn.140005130
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140001b85
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001b80
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004b10c
mov rax, rbx
mov rcx, qword [rsp + 0x13f0]
xor rcx, rsp
call fcn.14004abc0
lea r11, [rsp + 0x1400]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret