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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x1400bc060]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov dword [rsp + 0x40], r9d
mov r13, r8
mov rdi, rdx
mov r15, rcx
mov qword [rsp + 0x68], rdx
mov rbx, qword [rbp + 0x98]
call fcn.14001f250
mov rsi, rax
mov r14, qword [r15]
xor r12d, r12d
mov qword [rsp + 0x70], r12
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r12w
xor r8d, r8d
lea rdx, [0x1400ac4a4]
lea rcx, [rsp + 0x70]
call fcn.140007120
nop
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r12w
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rbx + r8*2], 0
jne 0x140017810
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140007120
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x70]
call fcn.14001b200
nop
mov qword [rsp + 0x30], 0xffffffffffffffff
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x70]
mov r8, rax
mov rdx, r13
mov rcx, rsi
call fcn.14001f3f0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x1400178a2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001789d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017bc9
call fcn.14004afd0
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r12w
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1400178f5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400178f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017bcf
call fcn.14004afd0
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r12w
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14001794a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017945
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017bbd
call fcn.14004afd0
mov esi, dword [rbp + 0x90]
cmp esi, 2
jne 0x140017967
mov rax, qword [r15]
mov rcx, qword [rax + 0x10]
mov esi, r12d
cmp byte [rcx + 0x15], r12b
sete sil
lea r12, [r15 + 0x58]
mov qword [rsp + 0x68], r12
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rdx, r13
lea rcx, [rbp]
call fcn.140006730
mov dword [rbp + 0x20], esi
lea r8, [rbp]
cmp qword [rbp + 0x18], 8
cmovae r8, qword [rbp]
movabs rbx, 0xcbf29ce484222325
mov rcx, rbx
mov rax, qword [rbp + 0x10]
lea r9, [rax + rax]
xor r13d, r13d
mov edx, r13d
movabs r10, 0x100000001b3
test r9, r9
je 0x1400179d5
movzx eax, byte [rdx + r8]
xor rcx, rax
imul rcx, r10
inc rdx
cmp rdx, r9
jb 0x1400179c1
movsxd r9, esi
xor r9, rcx
lea r8, [rbp]
lea rdx, [rbp - 0x40]
lea rcx, [r15 + 0x18]
call fcn.14000a680
cmp qword [rax + 8], r13
je 0x140017aba
lea r8, [rbp]
lea rdx, [rbp - 0x30]
lea rcx, [r15 + 0x18]
call fcn.14001aed0
mov rax, qword [rax]
mov rax, qword [rax + 0x38]
cmp byte [rax + 0x58], r13b
jne 0x140017a3b
lea r8, [rbp]
lea rdx, [rbp - 0x20]
lea rcx, [r15 + 0x18]
call fcn.14001aed0
mov rdx, qword [rax]
mov rdx, qword [rdx + 0x38]
mov rdx, qword [rdx]
mov rcx, r15
call fcn.140019f20
test al, al
je 0x140017aba
lea rdx, [rbp - 0x50]
lea r8, [rbp]
lea rcx, [r15 + 0x18]
call fcn.14001aed0
mov rcx, qword [rax]
mov qword [rdi], r13
mov qword [rdi + 8], r13
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x140017a63
lock inc dword [rax + 8]
mov rax, qword [rcx + 0x38]
mov qword [rdi], rax
mov rax, qword [rcx + 0x40]
mov qword [rdi + 8], rax
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x140017b78
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017b73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017bc3
jmp 0x140017b73
mov r8d, esi
mov edx, dword [rsp + 0x40]
mov rcx, r15
call fcn.14001a650
lea rdx, [rbp]
mov r10, qword [rbp]
mov rsi, qword [rbp + 0x18]
cmp rsi, 8
cmovae rdx, r10
mov rax, qword [rbp + 0x10]
lea r8, [rax + rax]
mov rcx, r13
test r8, r8
je 0x140017b13
movabs r9, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor rbx, rax
imul rbx, r9
inc rcx
cmp rcx, r8
jb 0x140017b00
movsxd r9, dword [rbp + 0x20]
xor r9, rbx
lea r8, [rbp]
lea rdx, [rbp - 0x50]
lea rcx, [r15 + 0x18]
call fcn.14000a680
cmp qword [rax + 8], r13
je 0x140017b3a
lea rdx, [rbp - 0x10]
jmp 0x140017a3f
mov qword [rdi], r13
mov qword [rdi + 8], r13
cmp rsi, 8
jb 0x140017b78
lea rdx, [rsi*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x140017b70
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017bc3
mov rcx, r10
call fcn.14004afd0
movdqa xmm0, xmmword [0x1400adad0]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], r13w
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, rdi
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.14004afb0
mov rbx, qword [rsp + 0x188]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140058230
nop
call fcn.140058230
nop
call fcn.140058230
nop
call fcn.140058230
int3