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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1803bc678]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, r9
mov r13, r8
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0x20], rcx
mov r8, qword [r8 + 0x10]
mov r9, r13
mov r10, qword [r13 + 0x18]
cmp r10, 0x10
jb 0x18016504e
mov r9, qword [r13]
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
test r8, r8
je 0x180165084
movabs r11, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + r9]
xor rdx, rax
imul rdx, r11
inc rcx
cmp rcx, r8
jb 0x180165070
mov r15, qword [rsi + 0x30]
and r15, rdx
mov rbx, qword [rsi + 8]
shl r15, 4
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax + r15]
mov qword [rsp + 0x40], rcx
cmp rcx, rbx
je 0x1801650ad
mov rbx, qword [rax + r15 + 8]
mov rbx, qword [rbx]
mov r12, rbx
cmp rbx, rcx
je 0x18016511c
nop word [rax + rax]
mov rbx, qword [rbx + 8]
mov r12, rbx
lea rdx, [rbx + 0x10]
cmp qword [rbx + 0x28], 0x10
jb 0x1801650d6
mov rdx, qword [rbx + 0x10]
mov rcx, r13
cmp r10, 0x10
jb 0x1801650e3
mov rcx, qword [r13]
cmp r8, qword [rbx + 0x20]
jne 0x180165115
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18016510d
mov rdx, rdi
mov rcx, rsi
call fcn.180166e50
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x18016524f
mov r8, qword [r13 + 0x10]
mov r10, qword [r13 + 0x18]
cmp rbx, qword [rsp + 0x40]
jne 0x1801650c0
mov qword [rsp + 0x40], rdi
mov rdx, qword [rdi]
cmp r12, rdx
je 0x180165156
mov rax, qword [rdi + 8]
mov qword [rax], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rbx
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov rcx, qword [rbx + 8]
mov rax, qword [rdx + 8]
mov qword [rbx + 8], rax
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
mov qword [rdi + 8], rcx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r15]
cmp rax, qword [rsi + 8]
jne 0x180165173
mov qword [rdx + r15], rdi
mov rax, qword [rsi + 0x18]
mov qword [rax + r15 + 8], rdi
jmp 0x1801651a2
cmp rax, r12
jne 0x18016517e
mov qword [rdx + r15], rdi
jmp 0x1801651a2
mov rax, qword [rdx + r15 + 8]
mov rcx, qword [rax]
mov qword [rdx + r15 + 8], rcx
cmp rcx, rdi
je 0x1801651a2
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r15 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r15 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x18034213c]
test rax, rax
jns 0x1801651c3
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x1801651d4
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x180165244
cmp rdx, 0x200
jae 0x1801651f0
lea rdx, [rdx*8]
jmp 0x180165202
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x180165202
add rdx, rdx
mov rcx, rsi
call fcn.18010ddf0
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x180165244
mov rbx, qword [rax + 8]
nop word [rax + rax]
mov r9, qword [rsi + 8]
mov r9, qword [r9]
cmp r9, rbx
sete r15b
lea r8, [r9 + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.180165000
test r15b, r15b
je 0x180165220
mov qword [r14], rdi
mov byte [r14 + 8], 1
mov rax, r14
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1801e5c70
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret