Function at 0x640470
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, [0x006da020]
mov r15, qword [rcx + 8]
mov r13, r8
mov r8, qword [rcx + 0x10]
mov rbp, rcx
mov r14, rdx
mov r12, r9
lea rdi, [rcx + 0x18]
mov r10, qword [rsi + r8*8]
cmp qword [rcx], r10
jae 0x640560
movsx rdx, byte [r14]
test rdx, rdx
je 0x640740
mov rcx, r14
mov esi, 0x1505
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 0x6404c8
mov rax, rsi
xor edx, edx
div r10
shl rdx, 4
add r15, rdx
mov rbx, qword [r15]
cmp rbx, rdi
jne 0x64050e
jmp 0x640708
cmp rbx, qword [r15 + 8]
je 0x640690
mov rbx, qword [rbx + 8]
mov r8, qword [rbx - 8]
cmp rsi, r8
jne 0x640500
lea rcx, [rbx + 0x20]
mov rdx, r14
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x640500
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x640547
mov rdx, qword [rcx + 8]
cmp rdx, 0xffffffffffffffff
je 0x640547
dec rdx
mov qword [rcx + 8], rdx
je 0x640720
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.00642b20
mov rax, qword [rbp + 0x10]
inc rax
mov rbx, qword [rsi + rax*8]
mov qword [rbp + 0x10], rax
mov rcx, rbx
shl rcx, 4
call fcn.00642b00
mov qword [rbp + 8], rax
mov r15, rax
test rax, rax
je 0x640784
mov r8, qword [rbp + 0x10]
mov r10, qword [rsi + r8*8]
test r10, r10
je 0x64076f
cmp r10, 1
je 0x64077d
mov rdx, r10
vmovq xmm3, rdi
shr rdx, 1
vpbroadcastq ymm0, xmm3
shl rdx, 5
add rdx, rax
nop dword [rax]
vmovdqu ymmword [rax], ymm0
add rax, 0x20
cmp rax, rdx
jne 0x6405c8
mov rax, r10
vmovq xmm4, rdi
and rax, 0xfffffffffffffffe
vpunpcklqdq xmm0, xmm4, xmm4
test r10b, 1
je 0x640732
vzeroupper
vmovq xmm1, rdi
shl rax, 4
vpunpcklqdq xmm0, xmm1, xmm1
vmovups xmmword [r15 + rax], xmm0
mov r11, qword [rbp + 0x20]
vmovups xmmword [rbp + 0x18], xmm0
cmp r11, rdi
jne 0x640640
jmp 0x6404ac
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, rdi
je 0x6404ac
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, rdi
jne 0x640620
cmp qword [rdx + 8], rdi
jne 0x640620
mov rax, qword [rbp + 0x18]
vmovq xmm5, rcx
mov qword [rcx + 8], rdi
vpunpcklqdq xmm0, xmm5, xmm5
mov qword [rcx], rax
mov rax, qword [rbp + 0x18]
mov qword [rax + 8], rcx
mov qword [rbp + 0x18], rcx
vmovups xmmword [rdx], xmm0
jmp 0x640637
mov rcx, r14
call sub.msvcrt.dll_strlen
lea rcx, [rax + 0x29]
call fcn.00642b00
mov rbx, rax
test rax, rax
je 0x640784
mov qword [rax], rsi
mov rdx, r14
lea rcx, [rax + 0x28]
mov qword [rax + 0x20], r13
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, rdi
je 0x64074a
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 [rbp]
xor eax, eax
jmp 0x64054b
cmp qword [r15 + 8], rdi
je 0x640690
mov rbx, rdi
jmp 0x640512
mov dword [rsp + 0x2c], eax
call fcn.00643db0
mov eax, dword [rsp + 0x2c]
jmp 0x640547
vzeroupper
jmp 0x640605
mov esi, 0x1505
jmp 0x6404e1
cmp qword [r15 + 8], rdi
jne 0x6406de
mov rax, qword [rbp + 0x18]
mov qword [rbx + 0x10], rdi
mov qword [rbx + 8], rax
mov rax, qword [rbp + 0x18]
mov qword [rax + 8], rdx
mov qword [rbp + 0x18], rdx
vmovups xmmword [r15], xmm0
jmp 0x6406f6
vmovq xmm5, rdi
vpunpcklqdq xmm0, xmm5, xmm5
jmp 0x640605
xor eax, eax
jmp 0x6405f2
mov eax, 0xffffffff
jmp 0x64054b