Function at 0x180001ca0
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, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rdx
mov rdi, rcx
mov eax, dword [0x18029f2b0]
mov ecx, dword [0x180560358]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x180001f8d
mov qword [rbp - 0x38], rdi
mov eax, dword [rdi + 0xc]
mov dword [rbp - 4], eax
lea rcx, [0x18029f270]
lea rdi, [rbp - 0x30]
lea r8, [rbp - 4]
mov rdx, rdi
call fcn.18004a5e0
mov r15, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0x10
mov r12, rsi
jb 0x180001d1a
mov r12, qword [rsi]
mov r11, qword [rbp - 0x30]
test r15, r15
je 0x180001d47
mov eax, r15d
and eax, 3
movabs rcx, 0x100000001b3
cmp r15, 4
jae 0x180001d56
movabs r8, 0xcbf29ce484222325
xor edx, edx
jmp 0x180001dac
movabs r9, 0xcbf29ce484222325
jmp 0x180001dd7
mov r9, r15
and r9, 0xfffffffffffffffc
movabs r8, 0xcbf29ce484222325
xor edx, edx
nop dword [rax]
movzx r10d, byte [r12 + rdx]
xor r10, r8
imul r10, rcx
movzx r8d, byte [r12 + rdx + 1]
xor r8, r10
imul r8, rcx
movzx r10d, byte [r12 + rdx + 2]
xor r10, r8
imul r10, rcx
movzx r8d, byte [r12 + rdx + 3]
xor r8, r10
imul r8, rcx
add rdx, 4
cmp r9, rdx
jne 0x180001d70
mov r9, r8
test rax, rax
je 0x180001dd7
add rdx, r12
xor r10d, r10d
nop word [rax + rax]
movzx r9d, byte [rdx + r10]
xor r9, r8
imul r9, rcx
inc r10
mov r8, r9
cmp rax, r10
jne 0x180001dc0
and r9, qword [r11 + 0x48]
mov r13, qword [r11 + 0x20]
mov qword [rbp - 0x10], r11
mov rax, qword [r11 + 0x30]
mov rcx, r9
shl rcx, 4
mov r14, qword [rax + rcx + 8]
cmp r14, r13
je 0x180001e52
add r9, r9
mov rbx, qword [rax + r9*8]
cmp r15, qword [r14 + 0x20]
jne 0x180001e33
nop word cs:[rax + rax]
cmp qword [r14 + 0x28], 0x10
jb 0x180001e20
mov rdx, qword [r14 + 0x10]
jmp 0x180001e24
lea rdx, [r14 + 0x10]
mov rcx, r12
mov r8, r15
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180001e44
cmp r14, rbx
je 0x180001e52
mov r14, qword [r14 + 8]
cmp r15, qword [r14 + 0x20]
je 0x180001e10
jmp 0x180001e33
cmp r14, r13
je 0x180001e52
mov r14d, dword [r14 + 0x30]
jmp 0x180001f73
mov rcx, qword [rbp - 0x38]
call fcn.1800016c0
mov r14d, 0xffffffff
test rax, rax
je 0x180001f73
mov r15, rax
add qword [rbp - 0x10], 0x18
jmp 0x180001e94
movsxd rax, dword [0x18005f054]
mov r15, qword [rax + r15]
test r15, r15
je 0x180001f73
movsxd rax, dword [0x18005f05c]
mov r12, qword [rax + r15]
test r12, r12
je 0x180001e80
nop word cs:[rax + rax]
mov rcx, r12
mov rdx, rdi
call section..text
mov r8, qword [rsi + 0x10]
mov r13, qword [rbp - 0x18]
cmp qword [rbp - 0x20], r8
jne 0x180001f00
mov rcx, rdi
cmp r13, 0x10
jb 0x180001ed6
mov rcx, qword [rbp - 0x30]
cmp qword [rsi + 0x18], 0x10
mov rdx, rsi
jb 0x180001ee3
mov rdx, qword [rsi]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
sete bl
cmp r13, 0x10
jae 0x180001f08
jmp 0x180001f39
xor ebx, ebx
cmp r13, 0x10
jb 0x180001f39
mov rcx, qword [rbp - 0x30]
lea rdx, [r13 + 1]
cmp rdx, 0x1000
jb 0x180001f34
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x180001f87
add r13, 0x28
mov rdx, r13
mov rcx, rax
call fcn.18004d234
test bl, bl
jne 0x180001f50
mov r12, qword [r12 + 0x18]
test r12, r12
jne 0x180001eb0
jmp 0x180001e80
movsxd rax, dword [0x18005f064]
mov r14d, dword [rax + r12]
lea rdx, [rbp - 0x30]
mov rcx, qword [rbp - 0x10]
mov r8, rsi
call fcn.18004ad30
mov rax, qword [rbp - 0x30]
mov dword [rax + 0x30], r14d
mov eax, r14d
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea rcx, [0x18029f2b0]
call fcn.18004d270
cmp dword [0x18029f2b0], 0xffffffff
jne 0x180001ce8
mov dword [rbp - 0x30], 0
lea rcx, [0x18029f270]
lea rdx, [rbp - 0x30]
lea r8, [rbp - 4]
call fcn.18004a480
lea rcx, [0x180002020]
call fcn.18004d3f0
lea rcx, [0x18029f2b0]
call fcn.18004d324
jmp 0x180001ce8