Function at 0x140003610
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.14000ce50
sub rsp, rax
mov rax, qword [0x140013040]
xor rax, rsp
mov qword [rbp + 0x12f0], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
lea r8d, [rax + 0x34]
lea rdx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
lea rcx, [rsp + 0x40]
call fcn.1400014d0
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x12e4], 0xffffffff
mov dword [rsp + 0x64], eax
mov edx, 1
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 0x140003691
mov ebx, 0x270
mov dword [rsp + 0x60], ebx
mov r15d, dword [rsp + 0x50]
dec r15d
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor esi, esi
mov qword [rsp + 0x30], rsi
mov r14d, select
mov qword [rsp + 0x38], r14
mov byte [rsp + 0x20], sil
lea r12d, [rsi + 0xd]
mov r13, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x58]
nop
cmp r15d, 0xffffffff
jne 0x140003882
cmp ebx, 0x270
jne 0x140003752
lea r8, [rsp + 0x68]
mov r9d, ebx
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 0x140003710
mov ebx, dword [rsp + 0x60]
jmp 0x140003848
cmp ebx, 0x4e0
jb 0x140003848
xor r8d, r8d
lea r9, [rbp + 0x924]
lea r10, [rbp + 0xf58]
lea r11, [rsp + 0x64]
nop dword [rax]
nop dword [rax + rax]
mov edx, dword [r9 + r8*4]
xor edx, dword [rbp + r8*4 + 0x928]
btr edx, 0x1f
xor edx, dword [r9 + r8*4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r10 + r8*4]
shr edx, 1
xor ecx, edx
mov dword [r11 + r8*4], ecx
inc r8
cmp r8, 0xe3
jb 0x140003780
mov r8d, 0xe3
lea r9, [rbp + 0x928]
lea r10, [rsp + 0x64]
nop dword [rax]
mov eax, dword [rbp + r8*4 + 0x924]
mov edx, eax
xor edx, dword [r9 + r8*4]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [rbp + r8*4 - 0x428]
shr edx, 1
xor ecx, edx
mov dword [r10 + r8*4], ecx
inc r8
cmp r8, 0x26f
jb 0x1400037d0
mov edx, dword [rbp + 0x12e0]
and edx, 0x80000000
mov eax, dword [rsp + 0x64]
btr eax, 0x1f
or 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 [rbp + 0x594]
mov dword [rbp + 0x920], ecx
xor ebx, ebx
mov dword [rsp + 0x60], ebx
mov eax, ebx
mov edx, dword [rsp + rax*4 + 0x64]
inc ebx
mov dword [rsp + 0x60], ebx
mov eax, edx
shr eax, 0xb
and eax, dword [rbp + 0x12e4]
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
jmp 0x1400038d1
lea ebx, [r15 + 1]
lea rcx, [rsp + 0x60]
call fcn.140003c50
mov edi, ebx
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jae 0x1400038c4
mov eax, ebx
neg eax
xor edx, edx
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x1400038c4
nop word [rax + rax]
lea rcx, [rsp + 0x60]
call fcn.140003c50
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x1400038b0
shr rcx, 0x20
mov ebx, dword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
lea rdx, [rsp + 0x40]
cmp rdi, 0xf
cmova rdx, r13
movsxd rax, ecx
movzx r9d, byte [rax + rdx]
cmp rsi, r14
jae 0x14000390e
lea rax, [rsi + 1]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
cmp r14, 0xf
cmova rax, qword [rsp + 0x20]
mov byte [rax + rsi], r9b
mov byte [rax + rsi + 1], 0
jmp 0x140003918
lea rcx, [rsp + 0x20]
call fcn.140003af0
sub r12, 1
je 0x14000392d
mov r14, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
jmp 0x1400036f0
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov rbx, rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140003987
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003982
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003982
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000c01c
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], select
mov byte [rsp + 0x20], 0
cmp rdi, 0xf
jbe 0x1400039d8
lea rdx, [rdi + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x1400039d0
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400039d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.14000c01c
mov rax, rbx
mov rcx, qword [rbp + 0x12f0]
xor rcx, rsp
call fcn.14000bd80
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