Function at 0x14004c9c0
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, 0x108
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x80], 0xfffffffffffffffe
mov qword [rbp + 0x68], r8
mov qword [rbp + 0x70], rdx
mov rsi, rcx
mov byte [rbp + 0x7f], 1
call fcn.14004b440
cmp dword [rsi], 2
jne 0x14004ca7c
movdqu xmm0, xmmword [rsi + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmmword [rbp], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x14013d4b0]
movdqa xmmword [rbp + 0x10], xmm1
movdqa xmmword [rbp + 0x20], xmm0
pxor xmm0, xmm0
movdqa xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], 0
mov rbx, qword [rbp + 0x70]
mov rdi, qword [rbx]
xor eax, eax
test rdi, rdi
setne al
mov qword [rbp - 0x30], rax
mov rcx, rbp
lea rdx, [rbp - 0x30]
mov r8d, 8
call fcn.1400077a0
test rdi, rdi
je 0x14004cb04
mov rdx, qword [rbx + 8]
mov r8, qword [rbx + 0x10]
mov rcx, rbp
jmp 0x14004cb19
mov r11, qword [rbp + 0x70]
mov rcx, qword [r11]
xor eax, eax
test rcx, rcx
setne al
movabs rbx, 0xcbf29ce484222325
xor rbx, rax
movabs rax, 0x1efac7090aef4a21
imul rbx, rax
test rcx, rcx
je 0x14004cc0f
mov r8, qword [r11 + 0x10]
test r8, r8
je 0x14004cc97
mov rax, qword [r11 + 8]
mov r9, r8
movabs rcx, 0x100000001b3
and r9, 7
je 0x14004cc1d
mov r10, rbx
mov rdx, rax
nop dword [rax]
movzx ebx, byte [rdx]
inc rdx
xor rbx, r10
imul rbx, rcx
mov r10, rbx
dec r9
jne 0x14004cae0
cmp r8, 8
jae 0x14004cc26
jmp 0x14004cc97
movzx eax, byte [rbx + 8]
mov qword [rbp - 0x30], rax
mov rcx, rbp
lea rdx, [rbp - 0x30]
mov r8d, 8
call fcn.1400077a0
mov rax, qword [rbp + 0x10]
mov r9, qword [rbp + 0x30]
shl r9, 0x38
or r9, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x18]
mov r8, qword [rbp]
add r8, rax
rol rax, 0xd
xor rcx, r9
xor rax, r8
rol r8, 0x20
mov rdx, qword [rbp + 8]
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
mov r11, qword [rbp + 0x70]
jmp 0x14004cc97
movzx ecx, byte [r11 + 8]
xor rbx, rcx
imul rbx, rax
jmp 0x14004cc97
mov rdx, rax
cmp r8, 8
jb 0x14004cc97
add rax, r8
nop dword [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 0x14004cc30
and ebx, 0x7fff
movzx eax, word [rsi + 0x58]
mov r14d, ebx
and r14d, eax
lea r15, [rsi + 0x28]
xor r13d, r13d
jmp 0x14004ccc6
movzx eax, byte [rcx + 8]
cmp al, byte [r11 + 8]
je 0x14004cd6c
nop
inc r13
inc r14
cmp r14, qword [rsi + 0x20]
jb 0x14004ccd8
mov rax, qword [rsi + 0x20]
test rax, rax
je 0x14004ccd0
xor r14d, r14d
mov rax, qword [rsi + 0x18]
movzx r12d, word [rax + r14*4]
cmp r12, 0xffff
je 0x14004ce55
movzx eax, word [rax + r14*4 + 2]
movzx ecx, word [rsi + 0x58]
mov edx, eax
and edx, ecx
mov r8d, r14d
sub r8d, edx
and r8d, ecx
cmp r8, r13
jb 0x14004cf52
cmp ax, bx
jne 0x14004ccc0
mov rdx, qword [rsi + 0x38]
cmp rdx, r12
jbe 0x14004d071
mov rax, qword [r15]
imul rdi, r12, 0x68
mov r8, qword [rax + rdi + 0x40]
test r8, r8
setne cl
cmp qword [r11], 0
sete r9b
cmp cl, r9b
je 0x14004ccc0
lea rcx, [rax + rdi]
add rcx, 0x40
test r8, r8
je 0x14004ccb0
mov byte [rbp + 0x7f], 1
mov rdx, r11
call fcn.140076b60
test al, al
mov r11, qword [rbp + 0x70]
je 0x14004ccc0
mov rdx, qword [rsi + 0x38]
cmp rdx, r12
jbe 0x14004d09b
mov rax, qword [rsi + 0x28]
lea r15, [rax + rdi]
lea r13, [rsi + 0x40]
cmp qword [rax + rdi], 0
je 0x14004cfcc
mov rbx, qword [r15 + 0x10]
mov r14, qword [rsi + 0x50]
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx + 0x20]
mov qword [rbp + 0x40], rax
movdqu xmm0, xmmword [rcx]
movdqu xmm1, xmmword [rcx + 0x10]
movdqu xmmword [rbp + 0x30], xmm1
movdqu xmmword [rbp + 0x20], xmm0
mov qword [rbp], 1
mov qword [rbp + 8], rbx
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], r12
mov rax, r14
cmp r14, qword [rsi + 0x48]
jne 0x14004cde3
mov rcx, r13
mov rdx, r14
call fcn.140005cc0
mov rax, qword [rsi + 0x50]
mov rcx, qword [rsi + 0x40]
lea rax, [rax + rax*8]
movdqu xmm0, xmmword [rbp]
movdqu xmm1, xmmword [rbp + 0x10]
movups xmm2, xmmword [rbp + 0x20]
movups xmm3, xmmword [rbp + 0x30]
mov rdx, qword [rbp + 0x40]
mov qword [rcx + rax*8 + 0x40], rdx
movups xmmword [rcx + rax*8 + 0x30], xmm3
movups xmmword [rcx + rax*8 + 0x20], xmm2
movdqu xmmword [rcx + rax*8 + 0x10], xmm1
movdqu xmmword [rcx + rax*8], xmm0
mov rdx, qword [rsi + 0x50]
inc rdx
mov qword [rsi + 0x50], rdx
cmp rbx, rdx
jae 0x14004d0b0
mov rax, qword [r13]
lea rcx, [rbx + rbx*8]
mov qword [rax + rcx*8 + 0x10], 1
mov qword [rax + rcx*8 + 0x18], r14
mov qword [r15], 1
mov qword [r15 + 0x10], r14
jmp 0x14004d06a
mov r12, qword [rsi + 0x38]
mov byte [rbp + 0x7f], 1
lea rcx, [rbp - 0x50]
mov rdx, r11
call fcn.1400720c0
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx + 0x20]
mov qword [rbp - 0x10], rax
movdqu xmm0, xmmword [rcx]
movdqu xmm1, xmmword [rcx + 0x10]
movdqa xmmword [rbp - 0x20], xmm1
movdqa xmmword [rbp - 0x30], xmm0
mov rdx, qword [rsi + 0x38]
cmp rdx, 0x8000
jae 0x14004d0c5
movups xmm0, xmmword [rbp - 0x50]
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [rbp + 0x50], xmm1
movups xmmword [rbp + 0x40], xmm0
movdqu xmm0, xmmword [rcx]
movdqu xmm1, xmmword [rcx + 0x10]
movdqu xmmword [rbp + 0x18], xmm0
movdqu xmmword [rbp + 0x28], xmm1
mov rax, qword [rcx + 0x20]
mov qword [rbp + 0x38], rax
mov word [rbp + 0x60], bx
mov qword [rbp], 0
cmp rdx, qword [rsi + 0x30]
jne 0x14004cee6
mov rcx, r15
mov qword [rbp + 0x70], rdx
call fcn.140005e50
mov rdx, qword [rsi + 0x38]
mov rax, qword [rsi + 0x28]
imul rcx, rdx, 0x68
movdqu xmm0, xmmword [rbp]
movdqu xmm1, xmmword [rbp + 0x10]
movups xmm2, xmmword [rbp + 0x20]
movups xmm3, xmmword [rbp + 0x30]
movups xmm4, xmmword [rbp + 0x40]
movups xmm5, xmmword [rbp + 0x50]
mov rdx, qword [rbp + 0x60]
mov qword [rax + rcx + 0x60], rdx
movups xmmword [rax + rcx + 0x50], xmm5
movups xmmword [rax + rcx + 0x40], xmm4
movups xmmword [rax + rcx + 0x30], xmm3
movups xmmword [rax + rcx + 0x20], xmm2
movdqu xmmword [rax + rcx + 0x10], xmm1
movdqu xmmword [rax + rcx], xmm0
inc qword [rsi + 0x38]
mov rdx, qword [rsi + 0x20]
cmp r14, rdx
jae 0x14004d086
mov rax, qword [rsi + 0x18]
mov word [rax + r14*4], r12w
mov word [rax + r14*4 + 2], bx
jmp 0x14004cfb6
mov rdi, qword [rsi]
mov byte [rbp + 0x7f], 1
lea rcx, [rbp - 0x30]
mov rdx, r11
call fcn.1400720c0
cmp r13, 0x200
setae al
cmp rdi, 2
setne cl
and cl, al
mov rdx, qword [rbp + 0x68]
mov rax, qword [rdx + 0x20]
mov qword [rbp + 0x20], rax
movdqu xmm0, xmmword [rdx]
movdqu xmm1, xmmword [rdx + 0x10]
movdqa xmmword [rbp + 0x10], xmm1
movdqa xmmword [rbp], xmm0
mov byte [rbp + 0x7f], 0
mov byte [rsp + 0x28], cl
mov qword [rsp + 0x20], r14
lea rdx, [rbp - 0x30]
mov r8, rbp
mov rcx, rsi
mov r9d, ebx
call fcn.14004bde0
xor eax, eax
add rsp, 0x108
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rbx, qword [rsi + 0x50]
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx + 0x20]
mov qword [rbp + 0x40], rax
movdqu xmm0, xmmword [rcx]
movdqu xmm1, xmmword [rcx + 0x10]
movdqu xmmword [rbp + 0x30], xmm1
movdqu xmmword [rbp + 0x20], xmm0
mov qword [rbp], 0
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], r12
mov rax, rbx
cmp rbx, qword [rsi + 0x48]
jne 0x14004d01f
mov rcx, r13
mov rdx, rbx
call fcn.140005cc0
mov rax, qword [rsi + 0x50]
mov rcx, qword [rsi + 0x40]
lea rax, [rax + rax*8]
movdqu xmm0, xmmword [rbp]
movdqu xmm1, xmmword [rbp + 0x10]
movups xmm2, xmmword [rbp + 0x20]
movups xmm3, xmmword [rbp + 0x30]
mov rdx, qword [rbp + 0x40]
mov qword [rcx + rax*8 + 0x40], rdx
movups xmmword [rcx + rax*8 + 0x30], xmm3
movups xmmword [rcx + rax*8 + 0x20], xmm2
movdqu xmmword [rcx + rax*8 + 0x10], xmm1
movdqu xmmword [rcx + rax*8], xmm0
inc qword [rsi + 0x50]
mov qword [r15], 1
mov qword [r15 + 8], rbx
mov qword [r15 + 0x10], rbx
mov al, 1
jmp 0x14004cfb8
mov byte [rbp + 0x7f], 1
lea r8, [0x1401460f0]
mov rcx, r12
call fcn.14013a730
jmp 0x14004d0e1
mov byte [rbp + 0x7f], 0
lea r8, [0x140146120]
mov rcx, r14
call fcn.14013a730
jmp 0x14004d0e1
mov byte [rbp + 0x7f], 1
lea r8, [0x140146108]
mov rcx, r12
call fcn.14013a730
jmp 0x14004d0e1
mov byte [rbp + 0x7f], 0
lea r8, [0x140145ed8]
mov rcx, rbx
call fcn.14013a730
jmp 0x14004d0e1
mov qword [rbp + 0x70], rdx
lea rcx, [0x140145f80]
lea r8, [0x140145f98]
mov edx, socket
call fcn.140137640
ud2