Function at 0x5665a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5eab45
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x689140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x3c], esi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], eax
lea eax, [esi + 0x44]
push eax
movlpd qword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x38]
test eax, eax
je 0x5665f3
lock inc dword [eax + 4]
mov ebx, dword [esi + 0x34]
lea eax, [esi + 0x44]
mov edi, dword [esi + 0x38]
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0x6a4928
push 0x6a495c
push 0
push ebx
mov dword [ebp - 4], 0
call fcn.005cb0ec
mov edx, dword [esi + 0x98]
add esp, 0x14
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov eax, edx
shr eax, 0x18
mov dword [ebp - 0x38], eax
mov eax, edx
shr eax, 0x10
mov dword [ebp - 0x34], eax
mov eax, edx
shr eax, 8
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x30], eax
call fcn.00549880
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x38]
mov byte [ebp - 0x24], cl
mov byte [ebp - 0x25], cl
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 0x26], cl
mov byte [ebp - 0x27], cl
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 0x22], al
mov byte [ebp - 0x23], al
mov byte [ebp - 0x28], dl
mov byte [ebp - 0x21], dl
test ecx, ecx
je 0x5666b0
mov ecx, dword [ecx + 8]
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
mov byte [ebp - 0x22], al
mov byte [ebp - 0x23], al
mov byte [ebp - 0x2c], al
mov eax, dword [ebp - 0x30]
shr ecx, 2
mov byte [ebp - 0x24], al
mov byte [ebp - 0x25], al
mov eax, dword [ebp - 0x34]
mov byte [ebp - 0x26], al
mov byte [ebp - 0x27], al
mov byte [ebp - 0x28], dl
mov byte [ebp - 0x21], dl
test cl, 1
jne 0x56672f
call fcn.0055ac00
mov ecx, eax
call fcn.004520d0
mov ecx, eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x5666cb
lea eax, [ecx + 8]
push dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x5f2510]
mov ecx, dword [ebp - 0x14]
call esi
push 2
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edx, dword [ebp - 0x2c]
test edx, edx
movzx eax, byte [ebp - 0x23]
movzx ecx, byte [ebp - 0x22]
cmove ecx, eax
movzx eax, byte [ebp - 0x25]
mov dword [ebp - 0x2c], ecx
movzx ecx, byte [ebp - 0x24]
cmove ecx, eax
movzx eax, byte [ebp - 0x27]
mov byte [ebp - 0x30], cl
movzx ecx, byte [ebp - 0x26]
cmove ecx, eax
movzx eax, byte [ebp - 0x21]
mov byte [ebp - 0x34], cl
movzx ecx, byte [ebp - 0x28]
cmove ecx, eax
mov byte [ebp - 0x38], cl
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
call fcn.00566d10
mov ecx, eax
call fcn.004520d0
push eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, 1
mov byte [ebp - 0x21], al
mov byte [ebp - 0x14], al
mov byte [ebp - 4], al
call fcn.00566d10
mov ecx, eax
call fcn.004520d0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
movzx ecx, al
mov eax, dword [ebp - 0x38]
xor ecx, 0x811c9dc5
imul edx, ecx, 0x1000193
mov ecx, dword [ebp - 0x30]
movzx ecx, cl
movzx eax, al
xor edx, ecx
mov ecx, dword [ebp - 0x34]
imul edx, edx, 0x1000193
movzx ecx, cl
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [ebp - 0x14]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x30]
and ecx, eax
mov eax, dword [edx + 0x24]
mov esi, dword [eax + ecx*8 + 4]
lea ecx, [eax + ecx*8]
cmp esi, dword [edx + 0x1c]
jne 0x5667c1
xor esi, esi
jmp 0x5667e3
mov eax, dword [ebp - 0x40]
mov edx, dword [ecx]
cmp eax, dword [esi + 8]
je 0x5667e0
nop dword [eax + eax]
cmp esi, edx
je 0x5667de
mov esi, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x5667d0
jmp 0x5667e0
xor esi, esi
mov edx, dword [ebp - 0x14]
test esi, esi
je 0x56682f
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x566804
cmp eax, esi
jne 0x5667fc
mov eax, dword [edx + 0x1c]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x56680c
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x56680c
cmp eax, esi
jne 0x56680c
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
dec dword [edx + 0x20]
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea ecx, [esi + 0xc]
call fcn.00568660
push 0x20
push esi
call fcn.0059886a
add esp, 8
mov byte [ebp - 4], 0
cmp byte [ebp - 0x21], 0
je 0x566842
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5f2510]
mov ecx, ebx
call esi
test edi, edi
je 0x56688c
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x56688c
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x5f2510]
mov ecx, edi
call esi
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x56688c
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5f2510]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059860b
mov esp, ebp
pop ebp
ret 4