Function at 0x140040820
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov r12, r9
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x1400a2318]
xor rax, rsp
mov qword [rsp + 0x30], rax
movzx eax, byte [r8]
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rcx, rax
movzx edx, byte [r8 + 1]
xor rdx, rcx
imul rdx, rax
movzx ecx, byte [r8 + 2]
xor rcx, rdx
imul rcx, rax
movzx edi, byte [r8 + 3]
xor rdi, rcx
imul rdi, rax
and rdi, qword [rbx + 0x30]
mov rbp, qword [rbx + 8]
mov rdx, qword [rbx + 0x18]
lea rax, [rdi + rdi]
shl rdi, 4
mov rcx, qword [rdx + rdi]
mov rsi, rbp
cmp rcx, rbp
je 0x1400408be
lea rdi, [rax*8]
or rdi, 8
mov rdi, qword [rdx + rdi]
mov rsi, qword [rdi]
mov edi, dword [r8]
nop word cs:[rax + rax]
nop dword [rax + rax]
cmp rcx, rsi
je 0x14004092f
mov rsi, qword [rsi + 8]
cmp edi, dword [rsi + 0x10]
jne 0x1400408d0
mov rax, qword [r12]
mov rcx, qword [r12 + 8]
mov qword [rcx], rax
mov rax, qword [r12]
mov rcx, qword [r12 + 8]
mov qword [rax + 8], rcx
add qword [rbx + 0x10], 0xffffffffffffffff
mov rcx, qword [r12 + 0x18]
test rcx, rcx
je 0x14004091a
lock sub dword [rcx + 8], 1
jne 0x14004091a
add rcx, 8
add rcx, 0xfffffffffffffff8
call fcn.14004c130
mov edx, 0x20
mov rcx, r12
call fcn.14005a6e0
xor r13d, r13d
jmp 0x140040af1
mov rdi, qword [r12]
cmp rdi, rcx
je 0x140040970
mov rdx, qword [r12 + 8]
mov qword [rdx], rdi
mov rdx, qword [rdi + 8]
mov qword [rdx], rcx
mov rdx, qword [rcx + 8]
mov qword [rdx], r12
mov rdx, qword [rcx + 8]
mov rbp, qword [rdi + 8]
mov qword [rcx + 8], rbp
mov rbp, qword [r12 + 8]
mov qword [rdi + 8], rbp
mov qword [r12 + 8], rdx
mov rbp, qword [rbx + 8]
mov rdx, qword [rbx + 0x18]
lea rdi, [rdx + rax*8]
mov rsi, qword [rdx + rax*8]
cmp rsi, rbp
je 0x1400409ab
mov rbp, r12
cmp rsi, rcx
je 0x1400409c0
or rax, 1
mov rcx, qword [rdx + rax*8]
mov rcx, qword [rcx]
mov qword [rdx + rax*8], rcx
cmp rcx, r12
je 0x1400409c3
mov rcx, qword [rbx + 0x18]
lea rdi, [rcx + rax*8]
mov rax, qword [rcx + rax*8]
mov rbp, qword [rax + 8]
jmp 0x1400409c0
mov qword [rdi], r12
shl rax, 3
or rax, 8
add rax, qword [rbx + 0x18]
mov rdi, rax
mov rbp, r12
mov qword [rdi], rbp
mov rax, qword [rbx + 0x10]
mov rdi, qword [rbx + 0x38]
test rax, rax
js 0x1400409f3
cvtsi2ss xmm0, rax
test rdi, rdi
jns 0x140040a0d
mov rax, rdi
shr rax, 1
mov ecx, edi
and ecx, 1
or rcx, rax
cvtsi2ss xmm1, rcx
addss xmm1, xmm1
jmp 0x140040a12
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
test rdi, rdi
js 0x1400409da
cvtsi2ss xmm1, rdi
divss xmm0, xmm1
mov r13b, 1
ucomiss xmm0, dword [rbx]
jbe 0x140040aee
movabs rax, 0xfffffffffffffff
cmp rdi, rax
setb al
mov cl, 3
cmp rdi, 0x200
jb 0x140040a3f
mov ecx, eax
shl rdi, cl
lea r15, [rbx + 0x18]
lea rsi, [rdi + rdi]
mov rax, qword [rbx + 0x28]
sub rax, qword [rbx + 0x18]
sar rax, 3
cmp rax, rsi
jae 0x140040a73
mov rax, rsi
shr rax, 0x3d
jne 0x140040b19
mov rcx, r15
mov rdx, rsi
call fcn.140015f80
mov rax, qword [rbx + 8]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x20]
mov rcx, r15
mov rdx, rsi
call fcn.1400158c0
lea rax, [rdi - 1]
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x38], rdi
mov rax, qword [rbx + 8]
mov rsi, qword [rax]
cmp rsi, rax
je 0x140040aee
mov rbp, qword [rax + 8]
lea r8, [rsi + 0x10]
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov r9, rsi
call fcn.140040820
cmp rbp, rsi
je 0x140040aee
lea rsi, [rsp + 0x20]
nop word cs:[rax + rax]
mov rax, qword [rbx + 8]
mov rdi, qword [rax]
lea r8, [rdi + 0x10]
mov rcx, rbx
mov rdx, rsi
mov r9, rdi
call fcn.140040820
cmp rbp, rdi
jne 0x140040ad0
mov rsi, r12
mov qword [r14], rsi
mov byte [r14 + 8], r13b
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14005aa40
mov rax, r14
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140002ec0
ud2