Function at 0x403290
Capabilities:
Hash data using djb2

Disassembly:
mov eax, 0xffffffff
test ecx, ecx
je 0x403404
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, edx
test edx, edx
je 0x4033fd
mov dword [esp], ecx
cmp dword [esp + 0x38], 0
je 0x4033fd
push esi
call fcn.00409550
add esp, 4
test eax, eax
je 0x4032ea
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x4032f1
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x4032d0
jmp 0x4032f3
mov ebp, 0x1505
jmp 0x4032f3
mov ebp, ecx
mov dword [esp + 4], esi
mov ecx, dword [esp]
mov ebx, dword [ecx + 0x20]
mov esi, ebx
sub esi, 1
jae 0x403357
mov eax, 0xffffffff
mov edx, dword [ecx + 0x18]
cmp edx, dword [ecx + 0x1c]
mov ebx, dword [esp + 0x38]
jae 0x4033e9
mov esi, dword [ecx + 0xc]
mov edi, ecx
mov edx, dword [ecx + 0x18]
mov ecx, dword [esp + 4]
mov dword [esi + edx*4], ecx
mov ecx, dword [edi + 4]
mov edx, dword [edi + 0x18]
mov dword [ecx + eax*4], edx
mov ecx, dword [edi + 0x10]
mov dword [ecx + edx*4], ebx
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
mov dword [ecx + edx*4], eax
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0x18]
mov dword [eax + ecx*4], ebp
inc dword [edi + 0x18]
mov eax, dword [edi]
mov dword [ebx], eax
xor eax, eax
jmp 0x4033fd
mov dword [esp + 8], eax
and esi, ebp
mov eax, ebx
xor eax, 1
mov edx, ebx
and edx, 0xfffffffe
add edx, edx
sub edx, eax
mov dword [esp + 0xc], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
mov edi, esi
not edi
inc esi
jmp 0x403389
dec edi
inc esi
dec ebx
je 0x403304
mov eax, dword [esp + 0xc]
or eax, edi
add eax, esi
mov edx, dword [esp + 0x14]
mov edx, dword [edx + eax*4]
cmp edx, 0xffffffff
je 0x403309
mov eax, dword [ecx + 8]
cmp dword [eax + edx*4], ebp
jne 0x403380
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edx*4]
mov dword [esp + 0x10], eax
push eax
call fcn.00409550
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 8]
jne 0x403380
push dword [esp + 8]
push dword [esp + 0x14]
push dword [esp + 0xc]
call fcn.00409570
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x403380
mov eax, 0xffffffff
jmp 0x4033fd
call fcn.004034f0
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 4]
je 0x403405
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
push ecx
call fcn.00409550
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, dword [esp]
mov edi, dword [ecx + 0x20]
mov edx, edi
sub edx, 1
jae 0x403429
mov eax, 0xffffffff
jmp 0x403319
and edx, ebp
mov eax, edi
xor eax, 1
mov esi, edi
and esi, 0xfffffffe
add esi, esi
sub esi, eax
mov dword [esp + 8], esi
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
mov esi, edx
not esi
mov dword [esp + 0x1c], edx
lea ebx, [edx + 1]
xor eax, eax
jmp 0x40346e
mov eax, dword [esp + 0xc]
inc eax
dec esi
inc ebx
mov edi, dword [esp + 0x14]
dec edi
je 0x4034d9
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edi
mov edi, dword [esp + 8]
or edi, esi
lea eax, [ebx + edi]
mov edx, dword [esp + 0x10]
mov edx, dword [edx + eax*4]
cmp edx, 0xffffffff
je 0x4034de
mov eax, dword [ecx + 8]
cmp dword [eax + edx*4], ebp
jne 0x403460
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edx*4]
mov dword [esp + 0x20], eax
push eax
call fcn.00409550
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 0x18]
jne 0x403460
push dword [esp + 0x18]
push dword [esp + 0x24]
push dword [esp + 0xc]
call fcn.00409570
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x403460
mov eax, dword [esp + 0xc]
add eax, dword [esp + 0x1c]
add eax, edi
inc eax
jmp 0x4034de
mov eax, 0xffffffff
mov ebx, dword [esp + 0x38]
jmp 0x403319