Function at 0x18002cd70
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, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
cmp rdx, r8
je 0x18002cdd9
mov rsi, r8
mov rdi, rcx
mov r8, qword [rdx + 0x20]
cmp qword [rdx + 0x28], 0x10
jb 0x18002cde1
mov rax, qword [rdx + 0x10]
mov rcx, qword [rdi + 0x18]
mov qword [rbp - 8], rcx
test r8, r8
je 0x18002cdf2
mov ecx, r8d
and ecx, 3
movabs rbx, 0x100000001b3
cmp r8, 4
jae 0x18002cdfe
movabs r9, 0xcbf29ce484222325
xor r10d, r10d
jmp 0x18002ce4c
mov rsi, rdx
jmp 0x18002d142
lea rax, [rdx + 0x10]
mov rcx, qword [rdi + 0x18]
mov qword [rbp - 8], rcx
test r8, r8
jne 0x18002cdb4
movabs r12, 0xcbf29ce484222325
jmp 0x18002ce77
and r8, 0xfffffffffffffffc
movabs r9, 0xcbf29ce484222325
xor r10d, r10d
nop
movzx r11d, byte [rax + r10]
xor r11, r9
imul r11, rbx
movzx r9d, byte [rax + r10 + 1]
xor r9, r11
imul r9, rbx
movzx r11d, byte [rax + r10 + 2]
xor r11, r9
imul r11, rbx
movzx r9d, byte [rax + r10 + 3]
xor r9, r11
imul r9, rbx
add r10, 4
cmp r8, r10
jne 0x18002ce10
mov r12, r9
test rcx, rcx
je 0x18002ce77
add rax, r10
xor r8d, r8d
nop word [rax + rax]
movzx r12d, byte [rax + r8]
xor r12, r9
imul r12, rbx
inc r8
mov r9, r12
cmp rcx, r8
jne 0x18002ce60
mov rax, qword [rdi + 8]
mov qword [rbp - 0x18], rax
and r12, qword [rdi + 0x30]
mov rax, qword [rdx + 8]
mov qword [rbp - 0x20], rax
lea rax, [r12 + r12]
mov rcx, r12
shl rcx, 4
mov r8, qword [rbp - 8]
lea r14, [r8 + rcx]
mov rcx, qword [r8 + rcx]
mov r13, qword [r8 + rax*8 + 8]
mov qword [rbp - 0x28], rcx
cmp rcx, rdx
mov qword [rbp - 0x10], rdx
mov rbx, rdx
je 0x18002cef9
nop word [rax + rax]
mov r15, rbx
mov rbx, qword [rbx]
lea rcx, [r15 + 0x10]
call fcn.18000c1c0
mov edx, 0x50
mov rcx, r15
call fcn.1800a77d0
dec qword [rdi + 0x10]
cmp r15, r13
je 0x18002cf1e
cmp rbx, rsi
jne 0x18002cec0
jmp 0x18002d137
cmp rbx, rsi
je 0x18002d134
mov r15, rbx
mov rbx, qword [rbx]
lea rcx, [r15 + 0x10]
call fcn.18000c1c0
mov edx, 0x50
mov rcx, r15
call fcn.1800a77d0
dec qword [rdi + 0x10]
cmp r15, r13
jne 0x18002cef0
lea rax, [r12*2 + 1]
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x28]
cmp rdx, qword [rbp - 0x10]
je 0x18002cf46
mov rdx, qword [rbp - 8]
mov qword [rdx + rax*8], rcx
cmp rbx, rsi
jne 0x18002cf5e
jmp 0x18002d137
mov rcx, qword [rbp - 0x18]
mov qword [r14], rcx
mov rdx, qword [rbp - 8]
mov qword [rdx + rax*8], rcx
cmp rbx, rsi
je 0x18002d137
movabs r8, 0xcbf29ce484222325
movabs r15, 0x100000001b3
cmp qword [rbx + 0x28], 0x10
jb 0x18002cf8e
mov rax, qword [rbx + 0x10]
mov rcx, qword [rbx + 0x20]
mov r14, r8
test rcx, rcx
jne 0x18002cfa2
jmp 0x18002d027
lea rax, [rbx + 0x10]
mov rcx, qword [rbx + 0x20]
mov r14, r8
test rcx, rcx
je 0x18002d027
cmp rcx, 4
jae 0x18002cfac
xor edx, edx
jmp 0x18002cffc
mov r9, rcx
and r9, 0xfffffffffffffffc
xor edx, edx
nop word cs:[rax + rax]
movzx r10d, byte [rax + rdx]
xor r10, r8
imul r10, r15
movzx r8d, byte [rax + rdx + 1]
xor r8, r10
imul r8, r15
movzx r10d, byte [rax + rdx + 2]
xor r10, r8
imul r10, r15
movzx r8d, byte [rax + rdx + 3]
xor r8, r10
imul r8, r15
add rdx, 4
cmp r9, rdx
jne 0x18002cfc0
mov r14, r8
and ecx, 3
je 0x18002d027
add rax, rdx
xor edx, edx
nop dword [rax]
movzx r14d, byte [rax + rdx]
xor r14, r8
imul r14, r15
inc rdx
mov r8, r14
cmp rcx, rdx
jne 0x18002d010
and r14, qword [rdi + 0x30]
lea rax, [r14 + r14]
lea rcx, [r14*2 + 1]
mov qword [rbp - 0x10], rcx
shl r14, 4
mov rcx, qword [rbp - 8]
add r14, rcx
mov r13, qword [rcx + rax*8 + 8]
nop dword [rax + rax]
mov r12, qword [rbx]
mov rax, qword [rbx + 0x48]
cmp rax, 0x10
jb 0x18002d092
mov rcx, qword [rbx + 0x30]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x18002d08d
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x18002d156
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.1800a77d0
mov qword [rbx + 0x40], 0
mov qword [rbx + 0x48], recvfrom
mov byte [rbx + 0x30], 0
mov rax, qword [rbx + 0x28]
cmp rax, 0x10
jb 0x18002d0e5
mov rcx, qword [rbx + 0x10]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x18002d0e0
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x18002d15b
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.1800a77d0
mov edx, 0x50
mov rcx, rbx
call fcn.1800a77d0
dec qword [rdi + 0x10]
cmp rbx, r13
je 0x18002d109
mov rbx, r12
cmp r12, rsi
jne 0x18002d050
jmp 0x18002d134
mov rcx, qword [rbp - 0x18]
mov qword [r14], rcx
mov rax, qword [rbp - 8]
mov rdx, qword [rbp - 0x10]
mov qword [rax + rdx*8], rcx
mov rbx, r12
cmp r12, rsi
movabs r8, 0xcbf29ce484222325
jne 0x18002cf72
jmp 0x18002d137
mov qword [r14], rsi
mov rax, qword [rbp - 0x20]
mov qword [rax], rsi
mov qword [rsi + 8], rax
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.1800b109c
call fcn.1800b109c
int3