Function at 0x180034820
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.180056360
sub rsp, rax
mov rax, qword [0x18008d040]
xor rax, rsp
mov qword [rbp + 0x12f0], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x20], rcx
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea r8d, [r14 + 0x3e]
lea rdx, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
lea rcx, [rsp + 0x40]
call fcn.18003ba80
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov edi, 0xffffffff
mov dword [rbp + 0x12e4], edi
mov dword [rsp + 0x64], eax
mov r15d, 1
mov ecx, r15d
nop word [rax + 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 0x1800348c0
mov r8d, 0x270
mov dword [rsp + 0x60], r8d
lea r11, [rsp + 0x40]
mov r9, qword [rsp + 0x40]
mov r10, qword [rsp + 0x58]
cmp r10, 0xf
cmova r11, r9
mov rdx, qword [rsp + 0x50]
add r11, rdx
mov qword [rsp + 0x30], r11
lea r13, [rsp + 0x40]
cmp r10, 0xf
cmova r13, r9
mov ecx, 0x40
mov rsi, 0xffffffffffffffff
nop word [rax + rax]
lea rcx, [rcx - 1]
shr rsi, 1
cmp rsi, rdi
ja 0x180034930
cmp r13, r11
je 0x180034bca
lea rax, [r13 + 1]
cmp rax, r11
je 0x180034bca
lea r14, [rcx - 1]
mov rcx, r15
sub rcx, r13
mov qword [rsp + 0x20], rcx
lea r12, [r15 + r13]
add r12, rcx
nop dword [rax + rax]
xor edi, edi
xor ebx, ebx
test r15, r15
je 0x180034b54
nop dword [rax]
mov rcx, r14
shl rdi, cl
add rdi, rdi
nop dword [rax]
cmp r8d, 0x270
jne 0x1800349f6
lea rax, [rsp + 0x68]
mov r9d, r8d
nop dword [rax]
nop word [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 0x1800349b0
mov r8d, dword [rsp + 0x60]
jmp 0x180034af8
cmp r8d, 0x4e0
jb 0x180034af8
lea r10, [rbp + 0x924]
mov r9d, 0xe3
mov r11d, dword [rbp + 0x924]
nop word [rax + rax]
mov eax, r11d
mov r8, r10
add r10, 4
mov r11d, dword [r10]
mov edx, eax
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
shr edx, 1
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub r9, 1
jne 0x180034a20
lea r10, [rbp + 0xcb0]
mov r9d, 0x18c
mov r11d, dword [rbp + 0xcb0]
nop dword [rax]
nop word [rax + rax]
mov eax, r11d
mov r8, r10
add r10, 4
mov r11d, dword [r10]
mov edx, eax
xor edx, r11d
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 [r8 - 0xd4c]
mov dword [r8 - 0x9c0], ecx
sub r9, 1
jne 0x180034a80
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
xor r8d, r8d
mov dword [rsp + 0x60], r8d
mov eax, r8d
mov ecx, dword [rsp + rax*4 + 0x64]
inc r8d
mov dword [rsp + 0x60], r8d
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
cmp rax, rsi
ja 0x180034990
or rdi, rax
mov rcx, r14
shl rbx, cl
add rbx, rbx
or rbx, rsi
cmp rbx, r15
jb 0x180034980
xor edx, edx
mov rax, rbx
div r12
mov rcx, rax
xor edx, edx
mov rax, rdi
div r12
cmp rax, rcx
jb 0x180034b7d
xor edx, edx
mov rax, rbx
div r12
cmp rdx, r15
jne 0x180034970
xor edx, edx
mov rax, rdi
div r12
cmp rdx, r15
je 0x180034b9c
movzx ecx, byte [r15 + r13]
movzx eax, byte [rdx + r13]
mov byte [r15 + r13], al
mov byte [rdx + r13], cl
inc r15
lea rax, [r15 + r13]
cmp rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
jne 0x180034961
mov r10, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov r9, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov r8d, 0x20
cmp rdx, r8
cmovb r8, rdx
lea rdx, [rsp + 0x40]
cmp r10, 0xf
cmova rdx, r9
mov rcx, rbx
call fcn.18003ba80
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x180034c3b
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180034c36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180034c36
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800555d0
mov rax, rbx
mov rcx, qword [rbp + 0x12f0]
xor rcx, rsp
call fcn.180055050
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