Function at 0x415bd0
Capabilities:
Hash data using djb2

Disassembly:
push 0xffffffffffffffff
push 0x460ca5
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x47c824]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47c824]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xe4]
mov ebp, dword [esp + 0xe0]
mov edi, edx
push 0x481200
mov esi, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0xd8], 0
cmp byte [ebp + 0x7c], 0
jne 0x415c59
push 0x481200
mov dword [edi], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x415ff7
push 0x3f
lea ecx, [esp + 0x90]
push esi
push ecx
call fcn.00443ea0
lea edx, [esp + 0x98]
add esp, 0xc
push edx
call fcn.0045d407
lea eax, [esp + 0x90]
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x415c86
sub eax, edx
mov ecx, 0x1505
mov edx, 0
je 0x415cba
lea ecx, [ecx]
movzx esi, byte [esp + edx + 0x8c]
mov edi, ecx
shl edi, 5
add edi, ecx
add esi, edi
add edx, 1
cmp edx, eax
mov ecx, esi
jb 0x415ca0
mov edi, dword [ebp + 0x5c]
lea esi, [ebp + 0x58]
lea ebx, [esp + 0x20]
lea eax, [esp + 0x24]
mov dword [esp + 0x20], ecx
call fcn.004172c0
mov ebx, eax
mov eax, dword [ebx]
test eax, eax
je 0x415cdd
cmp eax, esi
je 0x415ce2
call fcn.00441eb0
cmp dword [ebx + 4], edi
je 0x415dce
lea ecx, [esp + 0x20]
mov edx, esi
call fcn.004171e0
mov edi, eax
mov eax, dword [edi + 4]
mov ebx, dword [eax]
lea ecx, [ecx]
lea ecx, [esp + 0x20]
mov edx, esi
call fcn.004171e0
cmp edi, eax
mov ecx, dword [eax + 4]
mov dword [esp + 0x28], ecx
je 0x415d1b
call fcn.00441eb0
cmp ebx, dword [esp + 0x28]
je 0x415dce
cmp ebx, dword [edi + 4]
jne 0x415d2f
call fcn.00441eb0
push 0x3f
lea edx, [esp + 0x90]
push edx
lea eax, [ebx + 9]
push eax
call fcn.00443d74
add esp, 0xc
test eax, eax
je 0x415d57
cmp ebx, dword [edi + 4]
jne 0x415d53
call fcn.00441eb0
mov ebx, dword [ebx]
jmp 0x415d00
cmp ebx, dword [edi + 4]
jne 0x415d61
call fcn.00441eb0
lea esi, [ebx + 8]
mov ecx, 0x17
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 0x74]
test ebx, ebx
jne 0x415e3a
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x70]
mov dword [edx], edi
mov ecx, dword [ebp + 0x90]
xor edx, edx
add ecx, dword [esp + 0x78]
lea eax, [esp + 0x1c]
adc edx, dword [esp + 0x7c]
push eax
push edx
push ecx
mov eax, edi
mov ecx, ebp
mov dword [esp + 0x28], ebx
call fcn.004161a0
mov esi, eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x415dea
mov ecx, dword [esp + 0x18]
add eax, 0xffffff9c
push 0x481200
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x415ff7
mov ecx, dword [esp + 0x18]
push 0x481200
mov dword [ecx], 0xfffffffe
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x415ff7
test esi, esi
jne 0x415e0a
mov edx, dword [esp + 0x18]
push 0x481200
mov dword [edx], 0xfffffffd
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x415ff7
mov edx, edi
call fcn.00415730
cmp eax, dword [esp + 0x84]
push 0x481200
je 0x415fe5
mov eax, dword [esp + 0x1c]
mov dword [eax], 0xfffffff6
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x415ff7
mov esi, dword [esp + 0x70]
lea edi, [esi + 0x10000]
cmp edi, dword [ebp + 0x54]
jbe 0x415e68
mov eax, dword [ebp + 0x50]
test eax, eax
je 0x415e59
push eax
call fcn.00442af7
add esp, 4
push edi
call fcn.00442a34
add esp, 4
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x54], edi
cmp dword [ebp + 0x4c], 0
jne 0x415e8a
mov edx, dword [esp + 0x18]
push 0x481200
mov dword [edx], 0xfffffffc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x415ff7
mov ecx, dword [ebp + 0x90]
xor edx, edx
add ecx, dword [esp + 0x78]
lea eax, [esp + 0x24]
adc edx, dword [esp + 0x7c]
push eax
push edx
push ecx
mov eax, ebx
mov ecx, ebp
call fcn.004161a0
cmp dword [esp + 0x80], 0
mov edi, eax
je 0x415eef
mov edx, ebx
mov esi, edi
call fcn.00415730
cmp eax, dword [esp + 0x80]
je 0x415eeb
mov eax, dword [esp + 0x18]
push edi
push ebp
mov dword [eax], 0xfffffff6
call fcn.004162e0
push 0x481200
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x415ff7
mov esi, dword [esp + 0x70]
mov edx, dword [ebp + 0x50]
mov eax, dword [ebp + 0x54]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [ebp + 0x4c]
push edx
push eax
push edi
push ebx
mov dword [esp + 0x34], 0
call ecx
add esp, 0x14
test eax, eax
je 0x415f36
mov edx, dword [esp + 0x18]
push edi
add eax, 0xffffff38
push ebp
mov dword [edx], eax
call fcn.004162e0
push 0x481200
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x415ff7
cmp dword [esp + 0x20], esi
je 0x415f65
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push edi
mov dword [eax], 0xfffffff4
push ebp
mov dword [ecx], esi
call fcn.004162e0
push 0x481200
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x415ff7
mov ebx, dword [esp + 0x84]
test ebx, ebx
je 0x415fa2
mov edx, esi
mov esi, dword [ebp + 0x50]
call fcn.00415730
cmp eax, ebx
je 0x415f9e
push edi
push ebp
call fcn.004162e0
mov edx, dword [esp + 0x18]
push 0x481200
mov dword [edx], 0xfffffff5
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x415ff7
mov esi, dword [esp + 0x70]
push esi
call fcn.00442a34
mov ecx, dword [ebp + 0x50]
mov esi, eax
mov eax, dword [esp + 0x74]
add esp, 4
push eax
push ecx
push esi
mov dword [esp + 0x30], esi
call fcn.00449d00
add esp, 0xc
lea ebx, [ebp + 0x70]
lea eax, [esp + 0x24]
call fcn.004173d0
push edi
push ebp
call fcn.004162e0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x70]
mov dword [edx], eax
push 0x481200
mov ecx, dword [esp + 0x1c]
mov dword [ecx], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.00441b4d
add esp, 0xc8
ret 8