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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0xa10
mov rax, qword [0x18010c020]
xor rax, rsp
mov qword [rsp + 0xa00], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor ebp, ebp
mov dword [rsp + 0x24], ebp
mov ecx, dword [0x1801109a4]
mov rax, qword gs:[0x58]
mov edx, 4
mov rsi, qword [rax + rcx*8]
add rsi, rdx
mov eax, dword [rsi]
cmp dword [0x180112968], eax
jle 0x18009119b
lea rcx, [0x180112968]
call fcn.1800d2d6c
cmp dword [0x180112968], 0xffffffff
jne 0x18009119b
lea rcx, [0x180112968]
call fcn.1800d2d0c
mov eax, dword [rsi]
cmp dword [0x180114be0], eax
jle 0x180091278
lea rcx, [0x180114be0]
call fcn.1800d2d6c
cmp dword [0x180114be0], 0xffffffff
jne 0x180091278
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x180114290], xmm0
mov qword [0x1801142a0], rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x28], eax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x2c], eax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x30], eax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x34], eax
xorps xmm0, xmm0
movdqu xmmword [0x180114290], xmm0
mov rcx, rbp
mov qword [0x1801142a0], rcx
lea rdi, [rsp + 0x28]
nop word [rax + rax]
mov eax, dword [rdi]
mov dword [rsp + 0x20], eax
mov rdx, qword [0x180114298]
cmp rdx, rcx
je 0x18009123e
mov dword [rdx], eax
add qword [0x180114298], 4
jmp 0x180091248
lea r8, [rsp + 0x20]
call fcn.1800d06e0
add rdi, 4
lea rax, [rsp + 0x38]
cmp rdi, rax
je 0x18009125f
mov rcx, qword [0x1801142a0]
jmp 0x180091220
lea rcx, [0x1800de4c0]
call fcn.1800d2a14
nop
lea rcx, [0x180114be0]
call fcn.1800d2d0c
lea r14, [0x180112ea0]
mov eax, dword [rsi]
cmp dword [0x180114774], eax
jle 0x180091363
lea rcx, [0x180114774]
call fcn.1800d2d6c
cmp dword [0x180114774], 0xffffffff
jne 0x180091363
mov dword [0x180114224], 0xffffffff
mov edx, 0x1571
mov dword [0x180112ea4], edx
mov ecx, 1
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [r14 + rcx*4 + 4], edx
inc rcx
cmp rcx, 0x270
jb 0x1800912c0
mov dword [0x180112ea0], 0x270
lea r8, [rsp + 0xa00]
lea rdx, [rsp + 0x40]
call fcn.1800cc7d0
mov edx, ebp
mov r8, rbp
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [rsp + r8*4 + 0x40]
mov dword [r14 + r8*4 + 4], ecx
mov eax, ecx
or eax, edx
mov edx, ecx
shr edx, 0x1f
test r8, r8
cmovne edx, eax
inc r8
cmp r8, 0x270
jb 0x180091310
mov eax, dword [0x180112ea4]
mov r8d, 0x80000000
test edx, edx
cmove eax, r8d
mov dword [0x180112ea4], eax
mov dword [0x180112ea0], 0x270
lea rcx, [0x180114774]
call fcn.1800d2d0c
mov qword [rbx], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov dword [rsp + 0x24], 1
mov edi, 0xa
movabs rsi, 0x842108421084211
lea rbp, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
mov rcx, r14
call fcn.1800b6790
mov ecx, eax
mov rax, rsi
mul rcx
mov eax, ecx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
imul rax, rax, 0x3e
sub rcx, rax
movzx r9d, byte [rcx + rbp]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1800913ea
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1800913df
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1800913f2
mov rcx, rbx
call fcn.180058320
sub rdi, 1
jne 0x180091393
mov rax, rbx
mov rcx, qword [rsp + 0xa00]
xor rcx, rsp
call fcn.1800d2580
lea r11, [rsp + 0xa10]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret