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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
movaps xmmword [rsp + 0xc0], xmm6
mov rax, qword [0x1400fff00]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r15, rdx
mov rdi, rcx
mov qword [rbp - 0x31], rcx
xor r12d, r12d
mov dword [rsp + 0x24], r12d
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
lea rcx, [rbp + 0x5f]
movabs rdx, 0xff00ff00ff00ff00
mov qword [rbp - 1], rdx
mov qword [rbp + 7], rcx
mov rax, qword [rcx]
xor rax, rdx
mov qword [rbp - 0x61], rax
mov qword [rbp - 9], rax
mov qword [rcx], r12
movups xmm0, xmmword [0x1400ecb58]
movups xmmword [rbp - 0x59], xmm0
movups xmm1, xmmword [0x1400ecb68]
movups xmmword [rbp - 0x49], xmm1
mov eax, dword [0x1400ecb78]
mov dword [rbp - 0x39], eax
movzx eax, byte [0x1400ecb7c]
mov byte [rbp - 0x35], al
mov ecx, r12d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140005810
movdqa xmm4, xmmword [0x1400ecd30]
movdqa xmm3, xmmword [0x1400ecd90]
movdqa xmm5, xmmword [0x1400ecd60]
movdqa xmm0, xmmword [0x1400ecd80]
movdqa xmmword [rbp - 0x79], xmm0
lea rdx, [rbp - 0x59]
mov r8d, 4
movdqa xmm6, xmmword [0x1400ecd70]
mov r9d, dword [rbp - 0x79]
nop word [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r9d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r9d
paddb xmm2, xmm0
movd xmm0, dword [rdx + 4]
xorps xmm2, xmm0
movd dword [rdx + 4], xmm2
add ecx, 8
lea rdx, [rdx + 8]
add r8d, 8
cmp ecx, 0x20
jl 0x140005720
cmp ecx, 0x25
jge 0x140005850
movsxd rax, ecx
lea r8, [rbp - 0x59]
add r8, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x39
add dl, cl
xor byte [r8], dl
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x25
jl 0x140005820
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x11], r12
lea rax, [rbp - 0x59]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140005870
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x29]
call fcn.140024860
nop
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov qword [rbp - 0x79], rsi
mov r14d, 0x13b8
mov eax, dword [r14 + rsi]
mov r13d, 0x30
test al, 1
jne 0x140005908
or eax, 1
mov dword [r14 + rsi], eax
mov ebx, r13d
add rbx, rsi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov ecx, eax
mov dword [rbx + 0x1384], 0xffffffff
mov dword [rbx + 4], eax
mov edx, 1
lea r8, [rbx + 8]
nop word [rax + rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [r8], ecx
inc rdx
lea r8, [r8 + 4]
cmp rdx, 0x270
jb 0x1400058e0
mov dword [rbx], 0x270
mov eax, dword [r14 + rsi]
mov ecx, 0x18
mov qword [rsp + 0x28], rcx
test al, 2
jne 0x140005933
or eax, 2
mov dword [r14 + rsi], eax
mov rax, qword [rbp - 0x19]
dec rax
mov qword [rcx + rsi], r12
mov qword [rcx + rsi + 8], rax
jmp 0x140005938
mov qword [rsp + 0x28], rcx
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov dword [rsp + 0x24], 1
cmp r15, 0xf
jbe 0x14000596f
mov rdx, r15
mov rcx, rdi
call fcn.140024710
mov qword [rdi + 0x10], r12
mov rcx, qword [rsp + 0x28]
mov r14d, r13d
add r14, rsi
mov r13, qword [rbp - 0x29]
movzx ebx, byte [rsp + 0x20]
nop
dec r15
mov rdx, qword [rcx + rsi + 8]
mov r12, qword [rcx + rsi]
mov qword [rbp - 0x69], r14
sub rdx, r12
cmp rdx, 0xffffffffffffffff
jne 0x1400059b6
mov rcx, r14
call fcn.140025f00
mov esi, eax
shl rsi, 0x20
mov rcx, r14
call fcn.140025f00
mov eax, eax
or rsi, rax
jmp 0x1400059c5
inc rdx
lea rcx, [rbp - 0x69]
call fcn.140025d10
mov rsi, rax
lea rcx, [rsi + r12]
lea rax, [rbp - 0x29]
mov r8, qword [rbp - 0x11]
cmp r8, 0xf
cmova rax, r13
movzx r9d, byte [rcx + rax]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x140005a0a
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1400059ff
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140005a1f
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.140024bb0
mov r8, qword [rbp - 0x11]
test r15, r15
mov rsi, qword [rbp - 0x79]
mov rcx, qword [rsp + 0x28]
jne 0x140005980
cmp r8, 0xf
jbe 0x140005a6c
lea rdx, [r8 + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x140005a63
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005a63
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.1400c66e0
nop
mov rax, qword [rbp - 0x61]
movabs rcx, 0xff00ff00ff00ff00
xor rax, rcx
lea rcx, [rbp + 0x5f]
mov qword [rcx], rax
mov rax, rdi
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1400c60a0
mov rbx, qword [rsp + 0x120]
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret