Function at 0x140046a50
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbp
push rdi
push r12
push r13
push r15
sub rsp, 0x40
mov r12, r9
mov r15, r8
mov r13, rdx
mov rdi, rcx
lock inc dword [0x14009984c]
add rcx, 8
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rdx, r13
mov rcx, rdi
call fcn.1400467f0
mov qword [rsp + 0x20], rax
mov rbp, rax
test rax, rax
je 0x140046aa5
cmp qword [rax + 0x10], r15
je 0x140046d0e
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x38], rsi
xor esi, esi
mov qword [rsp + 0x30], r14
mov r14d, dword [rdi + 0x24]
test r14, r14
je 0x140046ad6
mov eax, dword [rdi + 0x20]
xor edx, edx
shl eax, 8
div r14
cmp rax, 0xc0
jl 0x140046bbe
mov rax, qword [rdi + 0x10]
mov ecx, r14d
mov r15, qword [rdi + 0x28]
mov qword [rsp + 0x70], rax
mov eax, r14d
shr eax, 0x10
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, 0x40
mov r12d, ecx
shr r12d, 1
or r12d, ecx
inc r12d
cmp r12, rax
cmovb r12d, eax
mov ebx, r12d
shl rbx, 6
lea rcx, [rbx + 8]
call fcn.140058a4c
mov rcx, qword [rsp + 0x70]
mov qword [rax], rbx
lock add qword [rcx], rbx
lea rbx, [rax + 8]
xor edx, edx
mov rcx, rbx
lea r8, [r12*8]
call fcn.14004e520
mov r11, rsi
test r14, r14
je 0x140046b88
mov r9, qword [r15 + r11*8]
test r9, r9
je 0x140046b80
nop
mov r8, qword [r9 + 0x28]
lea edx, [r12 - 1]
and edx, dword [r9]
mov rcx, qword [rbx + rdx*8]
mov qword [r9 + 0x28], rcx
mov qword [rbx + rdx*8], r9
mov r9, r8
test r8, r8
jne 0x140046b60
inc r11
cmp r11, r14
jb 0x140046b55
mov dword [rdi + 0x24], r12d
mov qword [rdi + 0x28], rbx
test r15, r15
je 0x140046bae
mov rax, qword [r15 - 8]
lea rcx, [r15 - 8]
mov rdx, qword [rsp + 0x70]
neg rax
lock add qword [rdx], rax
call fcn.140058710
mov r12, qword [rsp + 0x88]
mov r15, qword [rsp + 0x80]
mov r14d, dword [rdi + 0x24]
dec r14d
and r14d, dword [r13]
cmp rbp, 0
jne 0x140046c2a
mov rbx, qword [rdi + 0x18]
mov rax, qword [rbx + 8]
mov rcx, rax
mov rdx, qword [rax + 0x18]
add rdx, 7
and rdx, 0xfffffffffffffff8
lea rax, [rdx + 0x30]
cmp rax, qword [rcx + 0x10]
jbe 0x140046bfe
lea edx, [rbp + 0x30]
mov rcx, rbx
call fcn.14003b680
mov rdx, rsi
mov rax, qword [rbx + 8]
lea rcx, [rdx + 0x30]
mov rbp, qword [rax + 0x28]
mov qword [rax + 0x18], rcx
add rbp, rdx
mov rax, qword [rbx + 8]
mov rdx, qword [rax + 0x20]
add rdx, qword [rax + 0x18]
mov qword [rbx + 0x10], rdx
movups xmm0, xmmword [r13]
movups xmmword [rbp], xmm0
movsxd rbx, dword [rsp + 0x90]
mov dword [rbp + 0x18], ebx
mov rdx, rbx
mov qword [rbp + 0x10], r15
mov rcx, qword [rdi + 0x18]
call fcn.1400476e0
mov qword [rbp + 0x20], rax
mov r15, rbx
test ebx, ebx
jle 0x140046ce0
mov rbx, rsi
nop word [rax + rax]
mov rdx, qword [r12 + rsi*8]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140046c70
mov rcx, qword [rdi + 0x18]
call fcn.14001f6c0
mov rcx, qword [rbp + 0x20]
mov r8d, 0x1505
mov qword [rbx + rcx], rax
mov r9, qword [r12 + rsi*8]
movzx eax, byte [r9]
inc r9
test eax, eax
je 0x140046cc0
lea ecx, [rax - 0x41]
cmp ecx, 0x1a
lea edx, [rax + 0x20]
lea r9, [r9 + 1]
cmovb eax, edx
imul r8d, r8d, 0x21
add r8d, eax
movzx eax, byte [r9 - 1]
test eax, eax
jne 0x140046ca0
mov rax, qword [rbp + 0x20]
test r8d, r8d
mov ecx, 1
cmovne ecx, r8d
inc rsi
mov dword [rbx + rax + 8], ecx
add rbx, 0x10
cmp rsi, r15
jl 0x140046c60
cmp qword [rsp + 0x20], 0
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x78]
jne 0x140046d09
mov rax, qword [rdi + 0x28]
mov rcx, qword [rax + r14*8]
mov qword [rbp + 0x28], rcx
mov rax, qword [rdi + 0x28]
mov qword [rax + r14*8], rbp
inc dword [rdi + 0x20]
mov r14, qword [rsp + 0x30]
lea rcx, [rdi + 8]
add rsp, 0x40
pop r15
pop r13
pop r12
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]