Function at 0x140015f10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov r14, rdx
mov rax, qword [rcx + 0x38]
mov qword [rbp - 0x18], rax
test rax, rax
je 0x140015fd2
mov rdi, rcx
cmp dword [rcx], 2
mov qword [rbp + 8], r14
jne 0x140015fe9
movdqu xmm0, xmmword [rdi + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [0x14117aa90]
movdqa xmmword [rbp - 0x60], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x14117aaa0]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmmword [rbp - 0x40], xmm0
pxor xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
mov rsi, qword [r14]
xor eax, eax
test rsi, rsi
setne al
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x60]
lea rdx, [rbp - 0x10]
mov r8d, 8
call fcn.1400164a0
test rsi, rsi
je 0x140016074
mov rdx, qword [r14 + 8]
mov r8, qword [r14 + 0x10]
lea rcx, [rbp - 0x60]
jmp 0x14001608b
xor eax, eax
mov qword [rbp], rax
mov rax, qword [r14]
test rax, rax
jne 0x140016305
jmp 0x140016314
mov rcx, qword [r14]
xor eax, eax
test rcx, rcx
setne al
movabs rbx, 0xcbf29ce484222325
xor rbx, rax
movabs rax, 0x1efac7090aef4a21
imul rbx, rax
test rcx, rcx
je 0x14001617d
mov r8, qword [r14 + 0x10]
test r8, r8
je 0x140016207
mov rax, qword [r14 + 8]
mov r9, r8
movabs rcx, 0x100000001b3
and r9, 7
je 0x14001618b
mov r10, rbx
mov rdx, rax
nop word cs:[rax + rax]
movzx ebx, byte [rdx]
inc rdx
xor rbx, r10
imul rbx, rcx
mov r10, rbx
dec r9
jne 0x140016050
cmp r8, 8
jae 0x140016194
jmp 0x140016207
movzx eax, byte [r14 + 8]
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x60]
lea rdx, [rbp - 0x10]
mov r8d, 8
call fcn.1400164a0
mov rax, qword [rbp - 0x50]
mov r9, qword [rbp - 0x30]
shl r9, 0x38
or r9, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x48]
mov r8, qword [rbp - 0x60]
add r8, rax
rol rax, 0xd
xor rcx, r9
xor rax, r8
rol r8, 0x20
mov rdx, qword [rbp - 0x58]
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
add r8, rcx
rol rcx, 0x15
add rdx, rax
rol rax, 0x11
xor rcx, r8
xor rax, rdx
rol rdx, 0x20
xor r8, r9
add r8, rax
rol rax, 0xd
xor rax, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
add r8, rcx
rol rcx, 0x15
add rdx, rax
rol rax, 0x11
xor rax, rdx
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
xor rax, r8
rol r8, 0x20
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
add r8, rcx
rol rcx, 0x15
add rdx, rax
rol rax, 0x11
xor rax, rdx
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
xor rax, r8
add rdx, rcx
shl rcx, 0x10
xor rcx, rdx
shr rcx, 0x2b
add rdx, rax
shr rax, 0x2f
xor rax, rcx
mov rbx, rdx
shr rbx, 0x20
xor rbx, rdx
xor rbx, rax
jmp 0x140016207
movzx ecx, byte [r14 + 8]
xor rbx, rcx
imul rbx, rax
jmp 0x140016207
mov rdx, rax
cmp r8, 8
jb 0x140016207
add rax, r8
nop word [rax + rax]
movzx r8d, byte [rdx]
xor r8, rbx
imul r8, rcx
movzx r9d, byte [rdx + 1]
xor r9, r8
imul r9, rcx
movzx r8d, byte [rdx + 2]
xor r8, r9
imul r8, rcx
movzx r9d, byte [rdx + 3]
xor r9, r8
imul r9, rcx
movzx r8d, byte [rdx + 4]
xor r8, r9
imul r8, rcx
movzx r9d, byte [rdx + 5]
xor r9, r8
imul r9, rcx
movzx r8d, byte [rdx + 6]
xor r8, r9
imul r8, rcx
movzx ebx, byte [rdx + 7]
add rdx, 8
xor rbx, r8
imul rbx, rcx
cmp rdx, rax
jne 0x1400161a0
and ebx, 0x7fff
movzx r14d, word [rdi + 0x58]
mov r15d, ebx
and r15d, r14d
mov r12, qword [rdi + 0x18]
mov rsi, qword [rdi + 0x20]
mov rax, qword [rdi + 0x28]
mov qword [rbp - 8], rax
xor eax, eax
mov qword [rbp], rax
xor r13d, r13d
jmp 0x140016256
movzx eax, byte [rcx + 8]
mov rcx, qword [rbp + 8]
cmp al, byte [rcx + 8]
je 0x1400162ea
nop word cs:[rax + rax]
inc r13
inc r15
cmp r15, rsi
mov eax, 0
cmovae r15, rax
jb 0x14001626d
test rsi, rsi
je 0x140016330
movzx ecx, word [r12 + r15*4]
cmp rcx, 0xffff
je 0x1400162f9
movzx eax, word [r12 + r15*4 + 2]
mov edx, eax
and edx, r14d
mov r8d, r15d
sub r8d, edx
and r8d, r14d
cmp r13, r8
ja 0x1400162f9
cmp ax, bx
jne 0x140016250
cmp qword [rbp - 0x18], rcx
jbe 0x140016332
imul rdi, rcx, 0x68
mov rax, qword [rbp - 8]
mov rax, qword [rax + rdi + 0x40]
test rax, rax
setne cl
mov rdx, qword [rbp + 8]
cmp qword [rdx], 0
sete dl
cmp cl, dl
je 0x140016250
mov rcx, qword [rbp - 8]
add rcx, rdi
add rcx, 0x40
test rax, rax
je 0x140016233
mov rdx, qword [rbp + 8]
call fcn.14018f620
test al, al
je 0x140016250
mov rax, qword [rbp - 8]
add rax, rdi
add rax, 0x18
mov qword [rbp], rax
mov r14, qword [rbp + 8]
mov rax, qword [r14]
test rax, rax
je 0x140016314
lea rcx, [r14 + 0x18]
mov rdx, qword [r14 + 8]
mov r8, qword [r14 + 0x10]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [rbp]
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
jmp 0x140016330
lea r8, [0x14117ab38]
mov rdx, qword [rbp - 0x18]
call fcn.1401d9280
ud2