Function at 0x441010
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebx, dword [ebp + 0x14]
cmp dword [0x55b0d4], 0x7ff
jbe 0x441033
mov eax, dword [ebp + 0x18]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0x10]
lea esi, [ebp - 0x38]
mov ecx, esi
mov dword [esp], eax
call fcn.00478830
mov eax, dword [ebp + 0xc]
mov ecx, esi
sub esp, 4
mov dword [esp], eax
call fcn.00478c10
mov eax, dword [ebp + 8]
mov ecx, esi
sub esp, 4
mov dword [esp], eax
call fcn.00478c10
mov edx, 0x55b0d8
mov eax, 0x55b0dc
mov ecx, esi
sub esp, 4
test bl, bl
cmove eax, edx
mov dword [esp], eax
call fcn.00478c10
mov eax, dword [ebp - 0x38]
mov edx, 0x1505
lea ecx, [eax + 2]
movzx eax, word [eax]
sub esp, 4
test ax, ax
je 0x4410aa
mov ebx, edx
add ecx, 2
shl ebx, 5
add eax, ebx
add edx, eax
movzx eax, word [ecx - 2]
test ax, ax
jne 0x441095
lea edi, [ebp - 0x34]
mov ebx, 0x55b0c4
mov ecx, edi
mov dword [esp], esi
mov dword [ebp - 0x3c], edx
call fcn.00478830
mov ecx, dword [0x55b0c8]
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
sub esp, 4
test ecx, ecx
jne 0x4410e0
jmp 0x441130
mov ebx, ecx
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x4410ec
cmp edx, dword [ecx + 0x10]
jbe 0x4410d7
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x4410e0
cmp ebx, 0x55b0c4
je 0x441130
cmp edx, dword [ebx + 0x10]
jb 0x441130
lea eax, [ebx + 0x14]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [esp], edi
call fcn.004789e0
mov edx, dword [ebp - 0x30]
mov ecx, edi
mov dword [ebx + 0x18], edx
sub esp, 4
call fcn.004789b0
mov ecx, esi
call fcn.004789b0
mov eax, dword [ebp + 0x18]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x3c], edx
call fcn.004787e0
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
mov dword [esp], eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], edx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x3c], edx
call fcn.00478830
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], ecx
mov ecx, 0x55b0c0
sub esp, 4
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.005157f0
sub esp, 8
test edx, edx
mov ebx, edx
je 0x441210
test eax, eax
mov dword [ebp - 0x40], 1
je 0x44121a
mov dword [esp], 0x1c
call fcn.00521100
cmp eax, 0xfffffff0
je 0x44123a
mov ecx, dword [ebp - 0x24]
lea edx, [eax + 0x14]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], edx
mov dword [eax + 0x10], ecx
lea eax, [ebp - 0x20]
mov ecx, edx
mov dword [esp], eax
call fcn.00478830
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x18], ecx
sub esp, 4
mov dword [esp + 4], eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x55b0c4
mov dword [esp], eax
call fcn.0051c2a0
mov eax, dword [ebp - 0x44]
add dword [0x55b0d4], 1
mov ebx, eax
lea ecx, [ebp - 0x20]
call fcn.004789b0
lea ecx, [ebp - 0x2c]
call fcn.004789b0
jmp 0x4410ff
lea edx, [eax + 0x14]
mov ebx, eax
mov dword [ebp - 0x3c], edx
jmp 0x4411f5
cmp ebx, 0x55b0c4
je 0x44118e
mov eax, dword [ebx + 0x10]
cmp dword [ebp - 0x24], eax
setb al
movzx eax, al
mov dword [ebp - 0x40], eax
jmp 0x44118e
lea edx, [eax + 0x14]
mov dword [ebp - 0x3c], edx
jmp 0x4411cb