Function at 0x641640
Capabilities:
Hash data using djb2

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
lea rsi, [0x006da4e0]
mov r15, qword [rcx + 8]
mov r13, r8
mov r8, qword [rcx + 0x10]
mov rdi, rcx
mov r14, rdx
mov r12, r9
lea rbp, [rcx + 0x18]
mov r10, qword [rsi + r8*8]
cmp qword [rcx], r10
jae 0x641740
movsx rdx, byte [r14]
test rdx, rdx
je 0x6418d0
mov rcx, r14
mov esi, 0x1505
nop word cs:[rax + rax]
nop dword [rax]
mov rax, rsi
inc rcx
shl rax, 5
add rax, rdx
movsx rdx, byte [rcx]
add rsi, rax
test rdx, rdx
jne 0x6416a0
mov rax, rsi
xor edx, edx
div r10
shl rdx, 4
add r15, rdx
mov rbx, qword [r15]
cmp rbx, rbp
jne 0x6416ee
jmp 0x6418a0
cmp rbx, qword [r15 + 8]
je 0x641830
mov rbx, qword [rbx + 8]
mov r8, qword [rbx - 8]
cmp rsi, r8
jne 0x6416e0
lea rcx, [rbx + 0x20]
mov rdx, r14
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x6416e0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x641727
mov rdx, qword [rcx + 8]
cmp rdx, 0xffffffffffffffff
je 0x641727
dec rdx
mov qword [rcx + 8], rdx
je 0x6418b0
mov qword [rbx + 0x10], r12
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, r15
call fcn.00643d10
mov rax, qword [rdi + 0x10]
inc rax
mov rbx, qword [rsi + rax*8]
mov qword [rdi + 0x10], rax
mov rcx, rbx
shl rcx, 4
call fcn.00643cf0
mov r15, rax
mov qword [rdi + 8], rax
test rax, rax
je 0x64190d
mov r8, qword [rdi + 0x10]
mov r10, qword [rsi + r8*8]
test r10, r10
je 0x6418ff
mov rdx, r10
vmovq xmm1, rbp
vpunpcklqdq xmm0, xmm1, xmm1
shl rdx, 4
add rdx, rax
nop word [rax + rax]
vmovups xmmword [rax], xmm0
add rax, 0x10
cmp rax, rdx
jne 0x6417a0
mov r11, qword [rdi + 0x20]
vmovups xmmword [rdi + 0x18], xmm0
cmp r11, rbp
jne 0x6417e0
jmp 0x64167c
mov rsi, qword [rax]
mov qword [rcx + 8], rax
mov qword [rcx], rsi
mov rsi, qword [rax]
mov qword [rsi + 8], rcx
mov qword [rax], rcx
mov qword [rdx], rcx
cmp r11, rbp
je 0x64167c
mov rcx, r11
xor edx, edx
mov r11, qword [r11 + 8]
mov rax, qword [rcx - 8]
div rbx
shl rdx, 4
add rdx, r15
mov rax, qword [rdx]
cmp rax, rbp
jne 0x6417c0
cmp qword [rdx + 8], rbp
jne 0x6417c0
mov rax, qword [rdi + 0x18]
vmovq xmm3, rcx
vpunpcklqdq xmm0, xmm3, xmm3
mov qword [rcx + 8], rbp
mov qword [rcx], rax
mov rax, qword [rdi + 0x18]
mov qword [rax + 8], rcx
mov qword [rdi + 0x18], rcx
vmovups xmmword [rdx], xmm0
jmp 0x6417d7
mov rcx, r14
call sub.msvcrt.dll_strlen
lea rcx, [rax + 0x29]
call fcn.00643cf0
mov rbx, rax
test rax, rax
je 0x64190d
mov rdx, r14
mov qword [rax], rsi
mov qword [rax + 0x20], r13
lea rcx, [rax + 0x28]
call sub.msvcrt.dll_strcpy
lea rdx, [rbx + 8]
mov qword [rbx + 0x18], r12
vmovq xmm2, rdx
vpunpcklqdq xmm0, xmm2, xmm2
vmovups xmmword [rbx + 8], xmm0
mov rax, qword [r15]
cmp rax, rbp
je 0x6418da
mov rcx, qword [rax]
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rcx
mov rcx, qword [rax]
mov qword [rcx + 8], rdx
mov qword [rax], rdx
mov qword [r15], rdx
inc qword [rdi]
xor eax, eax
jmp 0x64172b
cmp qword [r15 + 8], rbp
je 0x641830
mov rbx, rbp
jmp 0x6416f2
mov dword [rsp + 0x2c], eax
call fcn.00645080
mov eax, dword [rsp + 0x2c]
jmp 0x641727
mov esi, 0x1505
jmp 0x6416b9
cmp qword [r15 + 8], rbp
jne 0x64187e
mov rax, qword [rdi + 0x18]
mov qword [rbx + 0x10], rbp
mov qword [rbx + 8], rax
mov rax, qword [rdi + 0x18]
mov qword [rax + 8], rdx
mov qword [rdi + 0x18], rdx
vmovups xmmword [r15], xmm0
jmp 0x641896
vmovq xmm4, rbp
vpunpcklqdq xmm0, xmm4, xmm4
jmp 0x6417ad
mov eax, 0xffffffff
jmp 0x64172b