Function at 0x14009a190
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
lea rbp, [rsp - 0x1300]
mov eax, 0x1400
call fcn.1400ff690
sub rsp, rax
mov rax, qword [0x140131080]
xor rax, rsp
mov qword [rbp + 0x12f0], rax
mov r14, rcx
mov qword [rsp + 0x30], rcx
xor ebx, ebx
mov dword [rsp + 0x24], ebx
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
lea r8d, [rbx + 0x3e]
lea rdx, str.0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
lea rcx, [rsp + 0x38]
call fcn.14008d560
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbp + 0x12e4], 0xffffffff
mov dword [rsp + 0x64], eax
lea ecx, [rbx + 1]
nop dword [rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x64], edx
inc rcx
cmp rcx, 0x270
jb 0x14009a220
mov esi, 0x270
mov dword [rsp + 0x60], esi
mov r15d, dword [rsp + 0x48]
dec r15d
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rbx
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], 0
mov dword [rsp + 0x24], 1
mov r12d, ebx
mov dword [rsp + 0x28], r15d
mov r13, qword [rsp + 0x38]
movzx ebx, byte [rsp + 0x20]
movzx edi, byte [rsp + 0x20]
test r12d, r12d
je 0x14009a2c8
mov rcx, qword [r14 + 0x10]
mov rdx, qword [r14 + 0x18]
cmp rcx, rdx
jae 0x14009a2b4
lea rax, [rcx + 1]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp rdx, 0xf
jbe 0x14009a2ac
mov rax, qword [r14]
mov word [rax + rcx], reloc.WLDAP32.dll_Ordinal_32
jmp 0x14009a2c8
mov r9b, reloc.WLDAP32.dll_Ordinal_32
movzx r8d, bl
mov edx, 1
mov rcx, r14
call fcn.14008d660
cmp r15d, 0xffffffff
jne 0x14009a462
cmp esi, 0x270
jne 0x14009a332
lea r8, [rsp + 0x68]
mov r9d, esi
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 0x14009a2f0
mov esi, dword [rsp + 0x60]
jmp 0x14009a428
cmp esi, 0x4e0
jb 0x14009a428
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 0x14009a360
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 0x14009a3b0
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 esi, esi
mov dword [rsp + 0x60], esi
mov eax, esi
mov edx, dword [rsp + rax*4 + 0x64]
inc esi
mov dword [rsp + 0x60], esi
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 0x14009a4b1
lea esi, [r15 + 1]
lea rcx, [rsp + 0x60]
call fcn.14009dec0
mov r15d, esi
mov ecx, eax
imul rcx, r15
cmp ecx, esi
jae 0x14009a4a4
mov eax, esi
neg eax
xor edx, edx
div esi
mov esi, edx
cmp ecx, edx
jae 0x14009a4a4
nop dword [rax + rax]
lea rcx, [rsp + 0x60]
call fcn.14009dec0
mov ecx, eax
imul rcx, r15
cmp ecx, esi
jb 0x14009a490
shr rcx, 0x20
mov esi, dword [rsp + 0x60]
mov r15d, dword [rsp + 0x28]
lea rdx, [rsp + 0x38]
mov r8, qword [rsp + 0x50]
cmp r8, 0xf
cmova rdx, r13
movsxd rax, ecx
movzx r9d, byte [rax + rdx]
mov rcx, qword [r14 + 0x10]
mov rdx, qword [r14 + 0x18]
cmp rcx, rdx
jae 0x14009a4f7
lea rax, [rcx + 1]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp rdx, 0xf
jbe 0x14009a4ec
mov rax, qword [r14]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14009a50d
movzx r8d, dil
mov edx, 1
mov rcx, r14
call fcn.14008d660
mov r8, qword [rsp + 0x50]
inc r12d
cmp r12d, 0x10
jl 0x14009a286
cmp r8, 0xf
jbe 0x14009a554
lea rdx, [r8 + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x14009a54c
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009a54c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.1400fee2c
mov rax, r14
mov rcx, qword [rbp + 0x12f0]
xor rcx, rsp
call fcn.1400feaa0
lea r11, [rsp + 0x1400]
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