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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
mov rax, qword [rdx + 0x10]
mov rax, qword [rax]
mov r13, rcx
mov qword [rcx], rax
mov rsi, rdx
test al, 1
jne 0x1400795c0
mov rbx, qword [rsi + 8]
mov byte [r13 + 8], 7
test rbx, rbx
jne 0x140079468
lea rax, [0x1406a3a40]
mov qword [r13 + 0x10], rax
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [r13]
mov rcx, rax
and rcx, 0xfffffffffffffffc
test rax, rax
lea rax, [0x140548480]
cmove rcx, rax
lea rax, [rbx + rbx*4]
cmp rbx, 0x12
ja 0x1400795d0
lea rdx, [rax*8 + 0x10]
mov rax, qword [rcx]
mov r8d, 0x10
call qword [rax + 0x10]
mov dword [rax + 4], ebx
mov rbp, rax
lea rdi, [rax + 0x10]
mov rbx, qword [rsi]
mov qword [rax + 8], rax
mov qword [r13 + 0x10], rax
mov rax, qword [rsi + 8]
mov qword [rsi], 0
lea r14, [rax + rax*2]
shl r14, 4
add r14, rbx
mov dword [rbp], 0
lea r12, [rsp + 0x60]
lea rbp, [rsp + 0x50]
cmp r14, rbx
jne 0x140079579
jmp 0x140079451
and rcx, 0xfffffffffffffffc
mov rax, 0xffffffffffffffff
lock xadd qword [rcx + 8], rax
test rcx, rcx
je 0x140079518
cmp rax, 1
jne 0x140079518
mov rax, qword [rcx]
call qword [rax + 8]
nop word [rax + rax]
mov rdx, qword [rbx + 0x10]
mov eax, dword [rbx + 0xc]
mov byte [rbx + 8], 0x85
mov r8, rbp
mov rcx, r12
add rbx, 0x30
mov qword [rdi + 0x18], rdx
mov dword [rdi + 0x20], eax
mov qword [rsp + 0x50], rdx
mov rdx, r13
mov qword [rsp + 0x58], rax
call fcn.14044f5b0
mov rsi, qword [rsp + 0x60]
test rsi, rsi
je 0x1400795b0
mov rcx, rsi
call fcn.14044ed30
movdqu xmm4, xmmword [rdi]
movups xmmword [rsi], xmm4
movdqu xmm5, xmmword [rdi + 0x10]
movups xmmword [rsi + 0x10], xmm5
mov rax, qword [rdi + 0x20]
mov qword [rsi + 0x20], rax
cmp rbx, r14
je 0x140079451
movdqu xmm3, xmmword [rbx + 0x18]
movups xmmword [rdi], xmm3
mov rax, qword [rbx + 0x28]
mov qword [rdi + 0x10], rax
mov rcx, qword [rbx]
mov qword [rbx + 0x18], 0
mov byte [rbx + 0x20], 0
test cl, 1
je 0x140079518
jmp 0x1400794f0
mov rax, qword [r13 + 0x10]
add rdi, 0x28
add dword [rax], 1
jmp 0x140079570
and rax, 0xfffffffffffffffc
lock add qword [rax + 8], 1
jmp 0x140079438
lea rax, [rbx + rax*2]
mov r8d, 0x10
lea rdx, [rax*4 + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov dword [rax + 4], ebx
mov ebx, ebx
mov rbp, rax
mov edx, 0xff
lea r8, [rbx*4]
lea rdi, [rbp + 0x10]
add rbx, r8
lea rcx, [rax + rbx*8 + 0x10]
call sub.msvcrt.dll_memset
mov edx, dword [rbp + 4]
mov rbx, qword [rsi]
mov qword [rbp + 8], rbp
mov rax, qword [rsi + 8]
mov qword [r13 + 0x10], rbp
mov qword [rsi], 0
lea r14, [rax + rax*2]
shl r14, 4
add r14, rbx
cmp edx, 0x12
jbe 0x1400794ce
cmp rbx, r14
je 0x140079882
movabs r15, 0xcbf29ce484222325
mov qword [rsp + 0x28], r14
movabs rbp, 0x100000001b3
nop dword [rax]
movdqu xmm0, xmmword [rbx + 0x18]
movups xmmword [rdi], xmm0
mov rax, qword [rbx + 0x28]
mov qword [rdi + 0x10], rax
mov rcx, qword [rbx]
mov qword [rbx + 0x18], 0
mov byte [rbx + 0x20], 0
test cl, 1
jne 0x140079850
mov r8d, dword [rbx + 0xc]
mov r9, qword [rbx + 0x10]
mov byte [rbx + 8], 0x85
add rbx, 0x30
mov r12, qword [r13 + 0x10]
lea r10, [r9 + r8]
mov qword [rdi + 0x18], r9
mov rax, qword [r12 + 8]
mov dword [rdi + 0x20], r8d
add rax, r15
cmp r10, r9
je 0x1400796d4
mov rcx, r9
nop dword [rax + rax]
movsx rdx, byte [rcx]
add rcx, 1
xor rax, rdx
imul rax, rbp
cmp r10, rcx
jne 0x1400796c0
mov ecx, dword [r12 + 4]
xor edx, edx
mov rsi, r8
div rcx
lea r10, [rcx + rcx*4]
lea rax, [rdx*4]
lea r10, [rax + r10*8 + 0x10]
add r10, r12
mov r11d, dword [r10]
mov eax, r11d
mov r14d, r11d
cmp r11d, 0xffffffff
je 0x140079726
lea rax, [rax + rax*4]
lea r11, [r12 + rax*8 + 0x10]
mov eax, dword [r11 + 0x20]
mov rcx, qword [r11 + 0x18]
cmp rsi, rax
je 0x140079780
mov eax, dword [r11 + 0x24]
cmp eax, 0xffffffff
jne 0x140079704
mov r11d, r14d
mov rax, rdi
add r12, 0x10
mov dword [rdi + 0x24], r11d
add rdi, 0x28
movabs rdx, 0xcccccccccccccccd
sub rax, r12
sar rax, 3
imul rax, rdx
mov dword [r10], eax
cmp qword [rsp + 0x28], rbx
jne 0x140079660
nop dword [rax + rax]
mov rbp, qword [r13 + 0x10]
lea rax, [rbp + 0x10]
sub rdi, rax
sar rdi, 3
imul eax, edi, 0xcccccccd
mov dword [rbp], eax
jmp 0x140079451
mov qword [rsp + 0x30], r10
test rsi, rsi
je 0x1400797c0
mov rdx, r9
mov r8, rsi
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x38], rcx
call sub.msvcrt.dll_memcmp
mov rcx, qword [rsp + 0x38]
mov r9, qword [rsp + 0x40]
test eax, eax
mov r11, qword [rsp + 0x48]
mov r10, qword [rsp + 0x30]
jne 0x14007971a
mov eax, dword [r11 + 0x24]
mov rsi, r11
mov dword [rdi + 0x24], eax
mov rax, qword [r11]
mov rdx, rax
and edx, 3
cmp rdx, 2
je 0x140079878
lea rdx, [0x140565f68]
cmp rcx, rdx
je 0x140079878
mov r10, rax
mov edx, dword [r11 + 0x20]
mov r9d, 1
and r10, 0xfffffffffffffffc
test rax, rax
lea rax, [0x140548480]
cmove r10, rax
lea r8d, [rdx + 1]
mov rdx, rcx
mov rax, qword [r10]
mov rcx, r10
call qword [rax + 0x18]
mov rcx, rsi
call fcn.140078250
movdqu xmm1, xmmword [rdi]
movups xmmword [rsi], xmm1
movdqu xmm2, xmmword [rdi + 0x10]
movups xmmword [rsi + 0x10], xmm2
mov rax, qword [rdi + 0x20]
mov qword [rsi + 0x20], rax
cmp qword [rsp + 0x28], rbx
jne 0x140079660
jmp 0x140079760
and rcx, 0xfffffffffffffffc
lock sub qword [rcx + 8], 1
jne 0x140079688
test rcx, rcx
je 0x140079688
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x140079688
mov rcx, rsi
call fcn.140078250
jmp 0x140079824
xor eax, eax
jmp 0x140079775