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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov r13, rcx
mov qword [rbp - 0x39], rcx
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [rbp + 0xf]
call fcn.14003cd38
mov rdi, rax
movups xmm0, xmmword [0x140312900]
movups xmmword [rbp - 0x31], xmm0
mov eax, dword [0x140312910]
mov dword [rbp - 0x21], eax
mov al, byte [0x140312914]
mov byte [rbp - 0x1d], al
xor r8d, r8d
lea r9, [rbp - 0x31]
mov eax, 0x51eb851f
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x32
mov al, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 0x15
jl 0x14003cf2e
lea rax, [rbp - 0x31]
or r15, 0xffffffffffffffff
mov rbx, r15
inc rbx
cmp byte [rax + rbx], 0
jne 0x14003cf60
mov r8, qword [rdi + 0x10]
mov rax, qword [rdi + 0x18]
sub rax, r8
cmp rbx, rax
ja 0x14003d002
lea rax, [r8 + rbx]
mov qword [rdi + 0x10], rax
mov rsi, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14003cf92
mov rsi, qword [rdi]
lea rax, [rbp - 0x31]
add rax, rbx
cmp rax, rsi
jbe 0x14003cfc5
lea rax, [rsi + r8]
lea rcx, [rbp - 0x31]
cmp rcx, rax
ja 0x14003cfc5
lea rax, [rbp - 0x31]
cmp rsi, rax
ja 0x14003cfb9
xor r14d, r14d
jmp 0x14003cfc8
lea rax, [rbp - 0x31]
mov r14, rsi
sub r14, rax
jmp 0x14003cfc8
mov r14, rbx
lea rcx, [rsi + rbx]
inc r8
mov rdx, rsi
call fcn.14012e970
mov r8, r14
lea rdx, [rbp - 0x31]
mov rcx, rsi
call fcn.14012e970
lea rcx, [rsi + r14]
mov r8, rbx
sub r8, r14
lea rax, [r14 + rbx]
lea rdx, [rbp - 0x31]
add rdx, rax
call fcn.14012e970
jmp 0x14003d01e
mov qword [rsp + 0x28], rbx
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rdi
call fcn.14005b40c
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp - 9], xmm1
and qword [rdi + 0x10], 0
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov eax, dword [0x14031399c]
mov dword [rbp - 0x39], eax
mov al, byte [0x1403139a0]
mov byte [rbp - 0x35], al
xor r8d, r8d
lea r9, [rbp - 0x39]
mov eax, 0x51eb851f
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x32
mov al, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 5
jl 0x14003d065
lea rax, [rbp - 0x39]
inc r15
cmp byte [rax + r15], 0
jne 0x14003d090
mov r8, r15
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x19]
call fcn.140048bd4
xorps xmm0, xmm0
movups xmmword [r13], xmm0
and qword [r13 + 0x10], 0
and qword [r13 + 0x18], 0
movups xmm0, xmmword [rax]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r13 + 0x10], xmm1
and qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov ebx, 0x1000
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x14003d115
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, rbx
jb 0x14003d110
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d17e
call fcn.140060290
movdqa xmm0, xmmword [0x1403143f0]
movdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp + 0x27]
cmp rdx, 0x10
jb 0x14003d159
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, rbx
jb 0x14003d154
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d178
call fcn.140060290
mov rax, r13
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
call fcn.140165210
nop
call fcn.140165210
nop