Function at 0x140047520
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.140045e50
cmp dword [rsi], 2
jne 0x1400475dc
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 [0x14012cf10]
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.140009e80
test rdi, rdi
je 0x140047664
mov rdx, qword [rbx + 8]
mov r8, qword [rbx + 0x10]
mov rcx, rbp
jmp 0x140047679
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 0x14004776f
mov r8, qword [r11 + 0x10]
test r8, r8
je 0x1400477f7
mov rax, qword [r11 + 8]
mov r9, r8
movabs rcx, 0x100000001b3
and r9, 7
je 0x14004777d
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 0x140047640
cmp r8, 8
jae 0x140047786
jmp 0x1400477f7
movzx eax, byte [rbx + 8]
mov qword [rbp - 0x30], rax
mov rcx, rbp
lea rdx, [rbp - 0x30]
mov r8d, 8
call fcn.140009e80
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 0x1400477f7
movzx ecx, byte [r11 + 8]
xor rbx, rcx
imul rbx, rax
jmp 0x1400477f7
mov rdx, rax
cmp r8, 8
jb 0x1400477f7
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 0x140047790
and ebx, 0x7fff
movzx eax, word [rsi + 0x58]
mov r14d, ebx
and r14d, eax
lea r15, [rsi + 0x28]
xor r13d, r13d
jmp 0x140047826
movzx eax, byte [rcx + 8]
cmp al, byte [r11 + 8]
je 0x1400478cc
nop
inc r13
inc r14
cmp r14, qword [rsi + 0x20]
jb 0x140047838
mov rax, qword [rsi + 0x20]
test rax, rax
je 0x140047830
xor r14d, r14d
mov rax, qword [rsi + 0x18]
movzx r12d, word [rax + r14*4]
cmp r12, 0xffff
je 0x1400479b5
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 0x140047ac8
cmp ax, bx
jne 0x140047820
mov rdx, qword [rsi + 0x38]
cmp rdx, r12
jbe 0x140047bf7
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 0x140047820
lea rcx, [rax + rdi]
add rcx, 0x40
test r8, r8
je 0x140047810
mov byte [rbp + 0x7f], 1
mov rdx, r11
call fcn.140089580
test al, al
mov r11, qword [rbp + 0x70]
je 0x140047820
mov rdx, qword [rsi + 0x38]
cmp rdx, r12
jbe 0x140047c21
mov rax, qword [rsi + 0x28]
lea r15, [rax + rdi]
lea r13, [rsi + 0x40]
cmp qword [rax + rdi], 0
je 0x140047b52
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 0x140047943
mov rcx, r13
mov rdx, r14
call fcn.14003e670
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 0x140047c36
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 0x140047bf0
cmp r13, 0x1ff
jbe 0x1400479ca
mov byte [rbp + 0x7f], 1
mov rcx, rsi
call fcn.1400848c0
mov r12, qword [rsi + 0x38]
mov byte [rbp + 0x7f], 1
lea rcx, [rbp - 0x50]
mov rdx, qword [rbp + 0x70]
call fcn.1400850e0
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, 0x7fff
ja 0x140047c4b
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 0x140047a5c
mov rcx, r15
mov qword [rbp + 0x70], rdx
call fcn.14003e8d0
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 0x140047c0c
mov rax, qword [rsi + 0x18]
mov word [rax + r14*4], r12w
mov word [rax + r14*4 + 2], bx
jmp 0x140047b3c
cmp r13, 0x1ff
jbe 0x140047aea
mov byte [rbp + 0x7f], 1
mov rcx, rsi
call fcn.1400848c0
mov r15d, eax
xor r15b, 1
mov r11, qword [rbp + 0x70]
jmp 0x140047aed
xor r15d, r15d
mov byte [rbp + 0x7f], 1
lea rcx, [rbp - 0x30]
mov rdx, r11
call fcn.1400850e0
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx + 0x20]
mov qword [rbp + 0x20], rax
movdqu xmm0, xmmword [rcx]
movdqu xmm1, xmmword [rcx + 0x10]
movdqa xmmword [rbp + 0x10], xmm1
movdqa xmmword [rbp], xmm0
mov byte [rbp + 0x7f], 0
mov byte [rsp + 0x28], r15b
mov qword [rsp + 0x20], r14
lea rdx, [rbp - 0x30]
mov r8, rbp
mov rcx, rsi
mov r9d, ebx
call fcn.140046980
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 0x140047ba5
mov rcx, r13
mov rdx, rbx
call fcn.14003e670
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 0x140047b3e
mov byte [rbp + 0x7f], 1
lea r8, [0x140133e30]
mov rcx, r12
call fcn.14012aa90
jmp 0x140047c67
mov byte [rbp + 0x7f], 0
lea r8, [0x140133e60]
mov rcx, r14
call fcn.14012aa90
jmp 0x140047c67
mov byte [rbp + 0x7f], 1
lea r8, [0x140133e48]
mov rcx, r12
call fcn.14012aa90
jmp 0x140047c67
mov byte [rbp + 0x7f], 0
lea r8, [0x140133c18]
mov rcx, rbx
call fcn.14012aa90
jmp 0x140047c67
mov qword [rbp + 0x70], rdx
lea rcx, [0x140133cc0]
lea r8, [0x140133cd8]
mov edx, socket
call fcn.140126a70
ud2