Function at 0x140040f00
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov r15, rdx
mov r14, rcx
mov ebx, 0x1505
mov r9, qword [r8]
movzx eax, byte [r9]
test al, al
je 0x140040f57
nop word [rax + rax]
imul rbx, rbx, 0x21
movsx rax, al
add rbx, rax
lea r9, [r9 + 1]
movzx eax, byte [r9]
test al, al
jne 0x140040f40
mov rax, rbx
and rax, qword [rcx + 0x30]
add rax, rax
mov rsi, qword [rcx + 0x18]
mov rdi, qword [rsi + rax*8 + 8]
add rcx, 8
mov rbp, qword [rcx]
lea r8, [0x1400561a3]
cmp rdi, rbp
je 0x140040fc4
mov rsi, qword [rsi + rax*8]
mov rax, qword [rdi + 0x10]
mov rdx, r8
test rax, rax
cmovne rdx, rax
mov rax, qword [r12]
mov rcx, r8
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
test eax, eax
je 0x1400411e8
cmp rdi, rsi
je 0x140040fbd
mov rdi, qword [rdi + 8]
lea r8, [0x1400561a3]
jmp 0x140040f81
mov rbp, rdi
lea rcx, [r14 + 8]
movabs rax, 0x7ffffffffffffff
cmp qword [r14 + 0x10], rax
jne 0x140040fe2
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov qword [rsp + 0x20], rcx
xor edi, edi
mov qword [rsp + 0x28], rdi
lea ecx, [rdi + 0x20]
call fcn.140002c30
mov rsi, rax
mov qword [rsp + 0x28], rax
mov qword [rax + 0x10], rdi
mov rdx, r12
lea rcx, [rax + 0x10]
call fcn.14003d2d0
mov rcx, qword [r12 + 8]
mov qword [rsi + 0x18], rcx
mov rdx, qword [r14 + 0x10]
lea rcx, [rdx + 1]
movss xmm3, dword [r14]
xorps xmm0, xmm0
test rcx, rcx
js 0x140041033
cvtsi2ss xmm0, rcx
jmp 0x140041048
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rdi, qword [r14 + 0x38]
xorps xmm2, xmm2
test rdi, rdi
js 0x14004105b
cvtsi2ss xmm2, rdi
jmp 0x140041073
mov rcx, rdi
shr rcx, 1
mov rax, rdi
and eax, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm1, xmm0
divss xmm1, xmm2
comiss xmm1, xmm3
seta al
test al, al
je 0x140041192
divss xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
xor ecx, ecx
movss xmm1, dword [0x140059010]
comiss xmm0, xmm1
jb 0x1400410b6
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1400410b6
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdi, rcx
jae 0x1400410e8
cmp rdi, 0x200
jae 0x1400410e5
lea rdi, [rdi*8]
cmp rdi, rcx
jae 0x1400410e8
mov rdi, rcx
mov rdx, rdi
mov rcx, r14
call fcn.140041390
mov rbp, rbx
and rbp, qword [r14 + 0x30]
add rbp, rbp
mov rcx, qword [r14 + 0x18]
mov rdi, qword [rcx + rbp*8 + 8]
mov rax, qword [r14 + 8]
cmp rdi, rax
jne 0x14004111a
mov qword [rsp + 0x28], 0
jmp 0x140041179
mov rbp, qword [rcx + rbp*8]
lea r12, [0x1400561a3]
nop word [rax + rax]
mov rax, qword [rdi + 0x10]
mov rdx, r12
test rax, rax
cmovne rdx, rax
mov rax, qword [rsi + 0x10]
mov rcx, r12
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
test eax, eax
je 0x140041171
cmp rdi, rbp
je 0x140041161
mov rdi, qword [rdi + 8]
jmp 0x140041130
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], 0
jmp 0x14004117e
mov rax, qword [rdi]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov rdx, qword [r14 + 0x10]
mov rbp, qword [rsp + 0x20]
mov rcx, qword [rbp + 8]
lea rax, [rdx + 1]
mov qword [r14 + 0x10], rax
mov qword [rsi], rbp
mov qword [rsi + 8], rcx
mov qword [rcx], rsi
mov qword [rbp + 8], rsi
mov rax, qword [r14 + 0x18]
and rbx, qword [r14 + 0x30]
add rbx, rbx
mov rdx, qword [rax + rbx*8]
cmp rdx, qword [r14 + 8]
jne 0x1400411c7
mov qword [rax + rbx*8], rsi
jmp 0x1400411d9
cmp rdx, rbp
jne 0x1400411d2
mov qword [rax + rbx*8], rsi
jmp 0x1400411de
cmp qword [rax + rbx*8 + 8], rcx
jne 0x1400411de
mov qword [rax + rbx*8 + 8], rsi
mov qword [r15], rsi
mov byte [r15 + 8], 1
jmp 0x1400411f0
mov qword [r15], rdi
mov byte [r15 + 8], 0
mov rax, r15
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret