Function at 0x14003fcc0
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 r14
sub rsp, 0xa10
mov rax, qword [0x1400a8010]
xor rax, rsp
mov qword [rsp + 0xa00], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x24], 0
mov esi, 8
mov rax, qword gs:[0x58]
add rsi, qword [rax]
mov eax, dword [rsi]
cmp dword [0x14015b0a4], eax
jle 0x14003fd36
lea rcx, [0x14015b0a4]
call fcn.14008423c
cmp dword [0x14015b0a4], 0xffffffff
jne 0x14003fd36
lea rcx, [0x14015b0a4]
call fcn.1400841dc
mov eax, dword [rsi]
cmp dword [0x14015c620], eax
jle 0x14003fe18
lea rcx, [0x14015c620]
call fcn.14008423c
cmp dword [0x14015c620], 0xffffffff
jne 0x14003fe18
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x14015c4f8], xmm0
mov qword [0x14015c508], 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 [0x14015c4f8], xmm0
xor ecx, ecx
mov qword [0x14015c508], rcx
lea rdi, [rsp + 0x28]
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rdi]
mov dword [rsp + 0x20], eax
mov rdx, qword [0x14015c500]
cmp rdx, rcx
je 0x14003fdde
mov dword [rdx], eax
add qword [0x14015c500], 4
jmp 0x14003fde8
lea r8, [rsp + 0x20]
call fcn.14007d390
add rdi, 4
lea rax, [rsp + 0x38]
cmp rdi, rax
je 0x14003fdff
mov rcx, qword [0x14015c508]
jmp 0x14003fdc0
lea rcx, [0x140088ca0]
call fcn.140084584
nop
lea rcx, [0x14015c620]
call fcn.1400841dc
lea r14, [0x140000000]
mov eax, dword [rsi]
cmp dword [0x14015c584], eax
jle 0x14003feff
lea rcx, [0x14015c584]
call fcn.14008423c
cmp dword [0x14015c584], 0xffffffff
jne 0x14003feff
mov edi, 0xffffffff
mov dword [0x14015c4f4], edi
mov edx, 0x1571
mov dword [0x14015b174], 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 + 0x15b174], edx
inc rcx
cmp rcx, 0x270
jb 0x14003fe61
mov dword [0x14015b170], 0x270
lea r8, [rsp + 0xa00]
lea rdx, [rsp + 0x40]
call fcn.14007baf0
xor edx, edx
xor r8d, r8d
nop word [rax + rax]
mov ecx, dword [rsp + r8*4 + 0x40]
mov dword [r14 + r8*4 + 0x15b174], 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 0x14003feb0
mov eax, dword [0x14015b174]
test edx, edx
cmove eax, edi
mov dword [0x14015b174], eax
mov dword [0x14015b170], 0x270
lea rcx, [0x14015c584]
call fcn.1400841dc
mov qword [rbx], 0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov dword [rsp + 0x24], 1
mov edi, reloc.WS2_32.dll_recv
movabs rsi, 0x842108421084211
call fcn.14006b1d0
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 + r14 + 0x95168]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14003ff88
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14003ff7d
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14003ff90
mov rcx, rbx
call fcn.140073910
sub rdi, 1
jne 0x14003ff30
mov rax, rbx
mov rcx, qword [rsp + 0xa00]
xor rcx, rsp
call fcn.140083df0
lea r11, [rsp + 0xa10]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret