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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0xa10
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r14d, r14d
mov dword [rsp + 0x28], r14d
mov eax, dword [0x1803907bc]
lea rsi, [rax*8]
mov r15d, 8
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rsi]
mov eax, dword [r15 + rcx]
cmp dword [0x1803937e4], eax
jle 0x1800c66c8
lea rcx, [0x1803937e4]
call fcn.1801cba90
cmp dword [0x1803937e4], 0xffffffff
jne 0x1800c66c8
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x1803923d8], xmm0
mov qword [0x1803923e8], rax
call fcn.1801caffc
mov dword [rsp + 0x30], eax
call fcn.1801caffc
mov dword [rsp + 0x34], eax
call fcn.1801caffc
mov dword [rsp + 0x38], eax
call fcn.1801caffc
mov dword [rsp + 0x3c], eax
xorps xmm0, xmm0
movdqu xmmword [0x1803923d8], xmm0
mov ecx, r14d
mov qword [0x1803923e8], rcx
lea rbx, [rsp + 0x30]
nop word [rax + rax]
mov eax, dword [rbx]
mov dword [rsp + 0x24], eax
mov rdx, qword [0x1803923e0]
cmp rdx, rcx
je 0x1800c668e
mov dword [rdx], eax
add qword [0x1803923e0], 4
jmp 0x1800c6698
lea r8, [rsp + 0x24]
call fcn.180103740
add rbx, 4
lea rax, [rsp + 0x40]
cmp rbx, rax
je 0x1800c66af
mov rcx, qword [0x1803923e8]
jmp 0x1800c6670
lea rcx, [0x180212380]
call fcn.1801cbe9c
nop
lea rcx, [0x1803937e4]
call fcn.1801cba24
mov rax, qword gs:[0x58]
mov rax, qword [rax + rsi]
lea rbp, [0x180392400]
mov eax, dword [r15 + rax]
cmp dword [0x180392314], eax
jle 0x1800c67b9
lea rcx, [0x180392314]
call fcn.1801cba90
cmp dword [0x180392314], 0xffffffff
jne 0x1800c67b9
mov dword [0x180393784], 0xffffffff
mov edx, 0x1571
mov dword [0x180392404], edx
mov ecx, 1
nop
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rbp + rcx*4 + 4], edx
inc rcx
cmp rcx, 0x270
jb 0x1800c6720
mov dword [0x180392400], 0x270
lea r8, [rsp + 0xa10]
lea rdx, [rsp + 0x50]
call fcn.1800fdfb0
mov edx, r14d
mov r8, r14
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [rsp + r8*4 + 0x50]
mov dword [rbp + 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 0x1800c6770
test edx, edx
jne 0x1800c67a3
mov dword [0x180392404], 0x80000000
mov dword [0x180392400], 0x270
lea rcx, [0x180392314]
call fcn.1801cba24
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov dword [rsp + 0x28], 1
mov esi, reloc.WS2_32.dll_recv
movabs r14, 0x842108421084211
lea r15, [0x180250408]
movzx ebx, byte [rsp + 0x20]
mov rcx, rbp
call fcn.1800c0d00
mov ecx, eax
mov rax, r14
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 + r15]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1800c6848
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1800c683d
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1800c6859
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.180008f10
sub rsi, 1
jne 0x1800c67f1
mov rax, rdi
lea r11, [rsp + 0xa10]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret