Function at 0x578a50
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 0x578f3f
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x8072c0]
mov ecx, edi
call esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov ebx, dword [0x82082c]
cmp ebx, 1
jbe 0x578ef7
push ebx
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x578d6a
mov eax, dword [0x82082c]
cmp eax, 1
jbe 0x578eb6
mov esi, dword [0x820834]
test esi, esi
je 0x578e9a
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 0x578d62
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 0x578d76
mov ebx, eax
cmp eax, edi
jb 0x578b5e
xor edx, edx
div edi
mov ebx, edx
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x578b96
mov esi, dword [eax]
test esi, esi
je 0x578b96
cmp ecx, 2
jb 0x578e3a
mov eax, dword [esi + 4]
cmp eax, dword [ebp - 0x10]
je 0x578c54
cmp eax, edi
jb 0x578b8c
xor edx, edx
div edi
mov eax, edx
cmp eax, ebx
jne 0x578b96
mov esi, dword [esi]
test esi, esi
jne 0x578b76
push 0x18
call fcn.005c8b59
add esp, 4
test eax, eax
je 0x578f3d
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 [0x791630]
por xmm0, xmm2
subsd xmm0, xmm2
cvtsd2ss xmm0, xmm0
movss xmm1, dword [ecx + 0x10]
test edi, edi
je 0x578d85
movd xmm3, edi
por xmm3, xmm2
subsd xmm3, xmm2
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm3
mulss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x578d85
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx]
mov eax, dword [ecx + ebx*4]
test eax, eax
jne 0x578c6d
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 0x578c76
mov eax, dword [eax + 4]
lea ecx, [edi - 1]
test edi, ecx
je 0x578e70
cmp eax, edi
jb 0x578c4a
xor edx, edx
div edi
mov eax, edx
shl eax, 2
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx]
jmp 0x578c74
mov eax, dword [esi + 8]
xor eax, dword [ebp - 0x1c]
mov ecx, dword [esi + 0xc]
xor ecx, dword [ebp - 0x18]
or ecx, eax
jne 0x578b90
mov ebx, dword [ebp + 8]
jmp 0x578c7c
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 0x578ca7
mov dword [esi + 0x10], ebx
mov edi, dword [0x820834]
mov esi, dword [edi + 0x18]
test esi, esi
jne 0x578cca
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 0x578c93
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [ebx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x8072c0]
mov ecx, ebx
push 1
call esi
mov eax, edi
jmp 0x578c9f
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 0x578f42
mov eax, dword [ebp - 0x10]
mov ecx, eax
cmp eax, esi
jb 0x578d18
xor edx, edx
div esi
mov ecx, edx
mov eax, dword [edi + 0x14]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x578c93
mov edi, dword [eax]
test edi, edi
je 0x578c93
cmp ebx, 2
jb 0x578f4d
mov eax, dword [edi + 4]
cmp dword [ebp - 0x10], eax
je 0x578e77
cmp eax, esi
jb 0x578d4f
xor edx, edx
div esi
mov eax, edx
cmp eax, ecx
jne 0x578c93
mov edi, dword [edi]
test edi, edi
jne 0x578d39
jmp 0x578c93
xor ebx, ebx
dec ebx
jmp 0x578b96
mov ecx, ebx
call fcn.0054e320
jmp 0x578a99
lea ebx, [edi - 1]
and ebx, eax
jmp 0x578b5e
xor ebx, ebx
inc ebx
jmp 0x578dd0
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.005fb940
add esp, 8
fstp dword [ebp - 0x28]
movss xmm0, dword [ebp - 0x28]
cvttss2si ecx, xmm0
mov edx, ecx
sar edx, 0x1f
subss xmm0, dword [0x791638]
cvttss2si eax, xmm0
and eax, edx
or eax, ecx
lea ecx, [edi + edi]
cmp edi, 3
jb 0x578d80
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 0x578e2b
lea eax, [ebx - 1]
test ebx, eax
je 0x578df4
push ebx
call fcn.00545b70
add esp, 4
mov ebx, eax
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 4]
cmp ebx, edi
jbe 0x578f76
mov eax, dword [ebp - 0x14]
mov edi, eax
mov ecx, eax
push ebx
call fcn.005794f0
mov eax, edi
mov edi, dword [eax + 4]
lea ebx, [edi - 1]
test edi, ebx
je 0x578e32
mov eax, dword [ebp - 0x10]
cmp eax, edi
jb 0x578f6f
xor edx, edx
div edi
mov ebx, edx
jmp 0x578c0f
mov ebx, 2
jmp 0x578df4
and ebx, dword [ebp - 0x10]
jmp 0x578c0f
lea eax, [edi - 1]
mov ecx, dword [esi + 4]
cmp ecx, dword [ebp - 0x10]
je 0x578e5a
and ecx, eax
cmp ecx, ebx
jne 0x578b96
mov esi, dword [esi]
test esi, esi
jne 0x578e3d
jmp 0x578b96
mov ecx, dword [esi + 8]
xor ecx, dword [ebp - 0x1c]
mov edx, dword [esi + 0xc]
xor edx, dword [ebp - 0x18]
or edx, ecx
je 0x578c68
jmp 0x578e4f
and eax, ecx
jmp 0x578c4a
mov eax, dword [edi + 8]
xor eax, dword [ebp - 0x1c]
mov edx, dword [edi + 0xc]
xor edx, dword [ebp - 0x18]
or edx, eax
jne 0x578d57
mov ecx, dword [ebp + 8]
push 0x20
call fcn.0055cd90
jmp 0x578c93
push 0x58
call fcn.005c8b59
add esp, 4
mov ecx, eax
call fcn.004e48d0
mov esi, dword [0x820834]
jmp 0x578ab5
push 0x82082c
call fcn.004d6450
add esp, 4
test al, al
je 0x579053
xor esi, esi
mov dword [0x820830], esi
mov edi, 0x82082c
mov ecx, 0x820830
call fcn.0054e310
push edi
push esi
push 0x820830
push edi
call fcn.004d6520
add esp, 0x10
jmp 0x578aa7
push 0x82082c
call fcn.004d6450
add esp, 4
test al, al
je 0x579048
xor esi, esi
mov dword [0x820830], esi
mov edi, 0x82082c
mov ebx, 0x820830
mov ecx, 0x820830
call fcn.0054e310
push edi
push esi
push 0x820830
push edi
call fcn.004d6520
add esp, 0x10
jmp 0x578a8a
ud2
int3
lea ecx, [esi - 1]
and ecx, dword [ebp - 0x10]
jmp 0x578d18
dec esi
mov eax, dword [edi + 4]
cmp dword [ebp - 0x10], eax
je 0x57905d
and eax, esi
cmp eax, ecx
jne 0x578c93
mov edi, dword [edi]
test edi, edi
jne 0x578f4e
jmp 0x578c93
mov ebx, eax
jmp 0x578c0f
mov eax, dword [ebp - 0x14]
jae 0x578e0b
movss xmm0, dword [eax + 0xc]
orpd xmm0, xmmword [0x791640]
subsd xmm0, qword [0x791630]
cvtsd2ss xmm0, xmm0
divss xmm0, dword [eax + 0x10]
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
call fcn.005fb940
add esp, 8
fstp dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x24]
cvttss2si eax, xmm0
mov ecx, eax
subss xmm0, dword [0x791638]
cvttss2si edx, xmm0
sar ecx, 0x1f
and edx, ecx
or edx, eax
cmp edi, 3
jb 0x57902a
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 0x57902a
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 0x579033
push edx
call fcn.00545b70
add esp, 4
cmp ebx, eax
cmovbe ebx, eax
cmp ebx, edi
mov eax, dword [ebp - 0x14]
jb 0x578dff
jmp 0x578e0b
mov ebx, dword [0x82082c]
jmp 0x578a8a
mov eax, dword [0x82082c]
jmp 0x578aa7
mov eax, dword [edi + 8]
xor eax, dword [ebp - 0x1c]
mov edx, dword [edi + 0xc]
xor edx, dword [ebp - 0x18]
or edx, eax
je 0x578e8b
jmp 0x578f64