Function at 0x597730
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, [0x0062c1a0]
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 0x597820
movsx rdx, byte [r14]
test rdx, rdx
je 0x5979a8
mov rcx, r14
mov esi, 0x1505
nop dword [rax]
mov rax, rsi
add rcx, 1
shl rax, 5
add rax, rdx
movsx rdx, byte [rcx]
add rsi, rax
test rdx, rdx
jne 0x597788
mov rax, rsi
xor edx, edx
div r10
shl rdx, 4
add r15, rdx
mov rbx, qword [r15]
cmp rbx, rbp
jne 0x5977ce
jmp 0x597980
cmp rbx, qword [r15 + 8]
je 0x597910
mov rbx, qword [rbx + 8]
mov r8, qword [rbx - 8]
cmp rsi, r8
jne 0x5977c0
lea rcx, [rbx + 0x20]
mov rdx, r14
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x5977c0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x597808
mov rdx, qword [rcx + 8]
cmp rdx, 0xffffffffffffffff
je 0x597808
sub rdx, 1
mov qword [rcx + 8], rdx
je 0x597990
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.00599d40
mov rax, qword [rdi + 0x10]
add rax, 1
mov rbx, qword [rsi + rax*8]
mov qword [rdi + 0x10], rax
mov rcx, rbx
shl rcx, 4
call fcn.00599d20
mov qword [rdi + 8], rax
mov r15, rax
test rax, rax
je 0x5979d6
mov r8, qword [rdi + 0x10]
movq xmm0, rbp
punpcklqdq xmm0, xmm0
mov r10, qword [rsi + r8*8]
test r10, r10
je 0x597884
mov rdx, r10
shl rdx, 4
add rdx, rax
nop dword [rax]
movups xmmword [rax], xmm0
add rax, 0x10
cmp rax, rdx
jne 0x597878
mov r11, qword [rdi + 0x20]
movups xmmword [rdi + 0x18], xmm0
cmp r11, rbp
jne 0x5978c0
jmp 0x59776c
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 0x59776c
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 0x5978a0
cmp qword [rdx + 8], rbp
jne 0x5978a0
mov rax, qword [rdi + 0x18]
movq xmm0, rcx
mov qword [rcx + 8], rbp
punpcklqdq xmm0, xmm0
mov qword [rcx], rax
mov rax, qword [rdi + 0x18]
mov qword [rax + 8], rcx
mov qword [rdi + 0x18], rcx
movups xmmword [rdx], xmm0
jmp 0x5978b7
mov rcx, r14
call sub.msvcrt.dll_strlen
lea rcx, [rax + 0x29]
call fcn.00599d20
mov rbx, rax
test rax, rax
je 0x5979d6
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
movq xmm0, rdx
punpcklqdq xmm0, xmm0
movups xmmword [rbx + 8], xmm0
mov rax, qword [r15]
cmp rax, rbp
je 0x5979b2
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
add qword [rdi], 1
xor eax, eax
jmp 0x59780c
cmp qword [r15 + 8], rbp
je 0x597910
mov rbx, rbp
jmp 0x5977d2
mov dword [rsp + 0x2c], eax
call fcn.0059afa0
mov eax, dword [rsp + 0x2c]
jmp 0x597808
mov esi, 0x1505
jmp 0x5977a2
cmp qword [r15 + 8], rbp
jne 0x59795d
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
movups xmmword [r15], xmm0
jmp 0x597975
mov eax, 0xffffffff
jmp 0x59780c