Function at 0x518b50
Capabilities:
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov edi, dword [ebp + 8]
test edi, edi
je 0x51903f
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x74e248]
mov ecx, edi
call esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov ebx, dword [0x767e40]
cmp ebx, 1
jbe 0x518ff7
push ebx
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x518e6a
mov eax, dword [0x767e40]
cmp eax, 1
jbe 0x518fb6
mov esi, dword [0x767e48]
test esi, esi
je 0x518f9a
imul eax, dword [ebp - 0x1c], 0x5bd1e995
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul eax, dword [ebp - 0x18], 0x5bd1e995
mov edx, eax
shr edx, 0x18
xor edx, eax
imul eax, ecx, 0x5bd1e995
xor eax, 0xde8f4ca8
imul ecx, edx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, ecx
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
mov edi, dword [esi + 4]
test edi, edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], ebx
je 0x518e62
mov ecx, edi
shr ecx, 1
and ecx, 0x55555555
mov edx, edi
sub edx, ecx
mov ecx, edx
and ecx, 0x33333333
shr edx, 2
and edx, 0x33333333
add edx, ecx
mov ecx, edx
shr ecx, 4
add ecx, edx
and ecx, 0xf0f0f0f
imul ecx, ecx, 0x1010101
shr ecx, 0x18
cmp ecx, 1
jbe 0x518e76
mov ebx, eax
cmp eax, edi
jb 0x518c5e
xor edx, edx
div edi
mov ebx, edx
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x518c96
mov esi, dword [eax]
test esi, esi
je 0x518c96
cmp ecx, 2
jb 0x518f3a
mov eax, dword [esi + 4]
cmp eax, dword [ebp - 0x10]
je 0x518d54
cmp eax, edi
jb 0x518c8c
xor edx, edx
div edi
mov eax, edx
cmp eax, ebx
jne 0x518c96
mov esi, dword [esi]
test esi, esi
jne 0x518c76
push 0x18
call fcn.0054fbd9
add esp, 4
test eax, eax
je 0x51903d
mov esi, eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0xc]
inc eax
movd xmm0, eax
movq xmm2, qword [0x6d7910]
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [ecx + 0x10]
test edi, edi
je 0x518e85
movd xmm3, edi
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x518e85
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx]
mov eax, dword [ecx + ebx*4]
test eax, eax
jne 0x518d6d
mov eax, dword [edx + 8]
mov dword [esi], eax
lea eax, [edx + 8]
mov dword [edx + 8], esi
mov dword [ecx + ebx*4], eax
mov eax, dword [esi]
test eax, eax
mov ebx, dword [ebp + 8]
je 0x518d76
mov eax, dword [eax + 4]
lea ecx, [edi - 1]
test edi, ecx
je 0x518f70
cmp eax, edi
jb 0x518d4a
xor edx, edx
div edi
mov eax, edx
shl eax, 2
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx]
jmp 0x518d74
mov eax, dword [esi + 8]
xor eax, dword [ebp - 0x1c]
mov ecx, dword [esi + 0xc]
xor ecx, dword [ebp - 0x18]
or ecx, eax
jne 0x518c90
mov ebx, dword [ebp + 8]
jmp 0x518d7c
mov ecx, dword [eax]
mov dword [esi], ecx
mov ebx, dword [ebp + 8]
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
inc dword [eax + 0xc]
mov edi, dword [esi + 0x10]
test edi, edi
jne 0x518da7
mov dword [esi + 0x10], ebx
mov edi, dword [0x767e48]
mov esi, dword [edi + 0x18]
test esi, esi
jne 0x518dca
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [ebp + 8]
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
cmp edi, ebx
je 0x518d93
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [ebx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x74e248]
mov ecx, ebx
push 1
call esi
mov eax, edi
jmp 0x518d9f
mov ecx, esi
shr ecx, 1
and ecx, 0x55555555
mov eax, esi
sub eax, ecx
mov ecx, eax
and ecx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, ecx
mov ecx, eax
shr ecx, 4
add ecx, eax
and ecx, 0xf0f0f0f
imul ebx, ecx, 0x1010101
shr ebx, 0x18
cmp ebx, 1
jbe 0x519042
mov eax, dword [ebp - 0x10]
mov ecx, eax
cmp eax, esi
jb 0x518e18
xor edx, edx
div esi
mov ecx, edx
mov eax, dword [edi + 0x14]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x518d93
mov edi, dword [eax]
test edi, edi
je 0x518d93
cmp ebx, 2
jb 0x51904d
mov eax, dword [edi + 4]
cmp dword [ebp - 0x10], eax
je 0x518f77
cmp eax, esi
jb 0x518e4f
xor edx, edx
div esi
mov eax, edx
cmp eax, ecx
jne 0x518d93
mov edi, dword [edi]
test edi, edi
jne 0x518e39
jmp 0x518d93
xor ebx, ebx
dec ebx
jmp 0x518c96
mov ecx, ebx
call fcn.004fa290
jmp 0x518b99
lea ebx, [edi - 1]
and ebx, eax
jmp 0x518c5e
xor ebx, ebx
inc ebx
jmp 0x518ed0
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.00580d70
add esp, 8
fstp dword [ebp - 0x28]
movss xmm0, dword [ebp - 0x28]
cvttss2si ecx, xmm0
mov edx, ecx
sar edx, 0x1f
subss xmm0, dword [0x6d7918]
cvttss2si eax, xmm0
and eax, edx
or eax, ecx
lea ecx, [edi + edi]
cmp edi, 3
jb 0x518e80
lea edx, [edi - 1]
xor ebx, ebx
test edi, edx
setne bl
or ebx, ecx
cmp ebx, eax
cmovbe ebx, eax
cmp ebx, 1
je 0x518f2b
lea eax, [ebx - 1]
test ebx, eax
je 0x518ef4
push ebx
call fcn.004f32c0
add esp, 4
mov ebx, eax
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 4]
cmp ebx, edi
jbe 0x519076
mov eax, dword [ebp - 0x14]
mov edi, eax
mov ecx, eax
push ebx
call fcn.005195f0
mov eax, edi
mov edi, dword [eax + 4]
lea ebx, [edi - 1]
test edi, ebx
je 0x518f32
mov eax, dword [ebp - 0x10]
cmp eax, edi
jb 0x51906f
xor edx, edx
div edi
mov ebx, edx
jmp 0x518d0f
mov ebx, 2
jmp 0x518ef4
and ebx, dword [ebp - 0x10]
jmp 0x518d0f
lea eax, [edi - 1]
mov ecx, dword [esi + 4]
cmp ecx, dword [ebp - 0x10]
je 0x518f5a
and ecx, eax
cmp ecx, ebx
jne 0x518c96
mov esi, dword [esi]
test esi, esi
jne 0x518f3d
jmp 0x518c96
mov ecx, dword [esi + 8]
xor ecx, dword [ebp - 0x1c]
mov edx, dword [esi + 0xc]
xor edx, dword [ebp - 0x18]
or edx, ecx
je 0x518d68
jmp 0x518f4f
and eax, ecx
jmp 0x518d4a
mov eax, dword [edi + 8]
xor eax, dword [ebp - 0x1c]
mov edx, dword [edi + 0xc]
xor edx, dword [ebp - 0x18]
or edx, eax
jne 0x518e57
mov ecx, dword [ebp + 8]
push 0x20
call fcn.00504b40
jmp 0x518d93
push 0x58
call fcn.0054fbd9
add esp, 4
mov ecx, eax
call fcn.004ac360
mov esi, dword [0x767e48]
jmp 0x518bb5
push 0x767e40
call fcn.004a7180
add esp, 4
test al, al
je 0x519153
xor esi, esi
mov dword [0x767e44], esi
mov edi, 0x767e40
mov ecx, 0x767e44
call fcn.004fa280
push edi
push esi
push 0x767e44
push edi
call fcn.004a7250
add esp, 0x10
jmp 0x518ba7
push 0x767e40
call fcn.004a7180
add esp, 4
test al, al
je 0x519148
xor esi, esi
mov dword [0x767e44], esi
mov edi, 0x767e40
mov ebx, 0x767e44
mov ecx, 0x767e44
call fcn.004fa280
push edi
push esi
push 0x767e44
push edi
call fcn.004a7250
add esp, 0x10
jmp 0x518b8a
ud2
int3
lea ecx, [esi - 1]
and ecx, dword [ebp - 0x10]
jmp 0x518e18
dec esi
mov eax, dword [edi + 4]
cmp dword [ebp - 0x10], eax
je 0x51915d
and eax, esi
cmp eax, ecx
jne 0x518d93
mov edi, dword [edi]
test edi, edi
jne 0x51904e
jmp 0x518d93
mov ebx, eax
jmp 0x518d0f
mov eax, dword [ebp - 0x14]
jae 0x518f0b
movss xmm0, dword [eax + 0xc]
orpd xmm0, xmmword [0x6d7900]
subsd xmm0, qword [0x6d7910]
cvtsd2ss xmm0, xmm0
divss xmm0, dword [eax + 0x10]
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.00580d70
add esp, 8
fstp dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x24]
cvttss2si eax, xmm0
mov ecx, eax
subss xmm0, dword [0x6d7918]
cvttss2si edx, xmm0
sar ecx, 0x1f
and edx, ecx
or edx, eax
cmp edi, 3
jb 0x51912a
mov ecx, edi
shr ecx, 1
and ecx, 0x55555555
mov eax, edi
sub eax, ecx
mov ecx, eax
and ecx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, ecx
mov ecx, eax
shr ecx, 4
add ecx, eax
and ecx, 0xf0f0f0f
imul eax, ecx, 0x1010101
shr eax, 0x18
cmp eax, 1
ja 0x51912a
lea eax, [edx - 1]
bsr ecx, eax
xor ecx, 0x1f
neg cl
xor eax, eax
inc eax
shl eax, cl
cmp edx, 2
cmovb eax, edx
jmp 0x519133
push edx
call fcn.004f32c0
add esp, 4
cmp ebx, eax
cmovbe ebx, eax
cmp ebx, edi
mov eax, dword [ebp - 0x14]
jb 0x518eff
jmp 0x518f0b
mov ebx, dword [0x767e40]
jmp 0x518b8a
mov eax, dword [0x767e40]
jmp 0x518ba7
mov eax, dword [edi + 8]
xor eax, dword [ebp - 0x1c]
mov edx, dword [edi + 0xc]
xor edx, dword [ebp - 0x18]
or edx, eax
je 0x518f8b
jmp 0x519064