Function at 0x51e4d0
Capabilities:
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x64a040]
xor eax, ebp
mov dword [esp + 0x38], eax
test ebx, ebx
je 0x51e660
mov eax, ebx
and eax, 0xffe00000
mov esi, dword [eax + 0x1000]
prefetcht0 byte [ebx]
mov ecx, ebx
shr ecx, 9
mov edx, ecx
and edx, 0xfe0
lea edi, [eax + edx]
add edi, 0x1000
movzx edx, byte [eax + edx + 0x101e]
and edx, 0x3f
shl edx, 5
sub edi, edx
mov edx, esi
prefetcht0 byte [edi]
cmp byte [esi + 4], 0
mov dword [esp], edi
je 0x51e58e
test ebx, 0xfff
je 0x51e673
cmp byte [0x6507e4], 0
je 0x51eade
mov eax, dword [edi + 8]
mov eax, dword [eax + 0xc]
lea esi, [ebx + eax]
add esi, 0xfffffffc
mov eax, dword [esi]
and eax, 0x3fffffff
cmp eax, 1
jne 0x51ea1b
mov eax, dword [esi]
nop dword [eax]
mov ecx, eax
and ecx, 0xfffffffe
lock cmpxchg dword [esi], ecx
jne 0x51e570
test al, 1
je 0x51eaf3
test eax, 0x3ffffffe
jne 0x51ea63
cmp byte [edx + 3], 0
je 0x51e6b8
mov eax, dword [0x64d82c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x90], 0
je 0x51eae5
mov eax, dword [0x64d82c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov esi, dword [eax + 0xc8]
cmp esi, 2
jb 0x51e6b8
mov eax, edi
mov edi, ebx
mov ebx, dword [eax + 8]
lea eax, [edx + 0x48]
lea ecx, [edx + 0x1148]
cmp ecx, ebx
setae cl
cmp eax, ebx
ja 0x51ead7
test cl, cl
je 0x51e68f
sub ebx, eax
sar ebx, 5
add dword [esi + 0x30], 1
adc dword [esi + 0x34], 0
movzx eax, word [0x64c140]
cmp ebx, eax
ja 0x51e687
mov eax, dword [esi + ebx*8 + 0x78]
bswap eax
mov dword [edi], eax
mov dword [esi + ebx*8 + 0x78], edi
inc byte [esi + ebx*8 + 0x7c]
movzx eax, word [esi + ebx*8 + 0x7e]
add dword [esi], eax
add dword [esi + 0x38], 1
adc dword [esi + 0x3c], 0
movzx eax, byte [esi + ebx*8 + 0x7d]
cmp byte [esi + ebx*8 + 0x7c], al
ja 0x51e744
movzx eax, byte [esi + 4]
test al, 1
jne 0x51eab2
movzx eax, word [esi + ebx*8 + 0x7e]
sub eax, dword [edx + 0x10]
add dword [esi + 0x68], 1
adc dword [esi + 0x6c], 0
add dword [esi + 0x70], eax
adc dword [esi + 0x74], 0
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.005810d5
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
and ecx, 0xff8
lea esi, [ecx + eax]
add esi, 0x2000
jmp 0x51e55b
add dword [esi + 0x40], 1
adc dword [esi + 0x44], 0
mov eax, dword [esp]
test byte [eax + 0xf], 8
jne 0x51ea90
mov eax, dword [eax + 8]
add eax, 0xc
mov ebx, edi
mov eax, dword [eax]
sub eax, dword [edx + 0x10]
add dword [esi + 0x68], 1
adc dword [esi + 0x6c], 0
add dword [esi + 0x70], eax
adc dword [esi + 0x74], 0
mov dword [ebx], 0
lea esi, [edx + 0x40]
push esi
mov edi, ebx
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x51ea98
mov edx, dword [esp]
mov eax, dword [edx + 8]
mov eax, dword [eax + 0xc]
sub dword [ebx + 0x117c], eax
mov eax, dword [edx]
cmp eax, edi
je 0x51eb08
bswap eax
mov dword [edi], eax
mov dword [edx], edi
mov eax, dword [edx + 0xc]
mov ecx, eax
and ecx, 0xefffffff
mov dword [edx + 0xc], ecx
test eax, 0x3ffe
je 0x51eb0b
mov ecx, edx
lea edi, [eax + 0x3ffe]
and edi, 0x3ffe
mov edx, eax
and edx, 0xefffc001
or edx, edi
mov dword [ecx + 0xc], edx
test al, 1
jne 0x51e73b
test edi, edi
je 0x51e73b
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x51e660
push 1
call fcn.0051ec40
jmp 0x51e72f
mov dword [esp + 8], edx
movzx edi, al
mov dword [esp], edi
shr edi, 1
mov ecx, dword [esi + ebx*8 + 0x78]
movzx eax, word [esi + ebx*8 + 0x7e]
push eax
call fcn.0051ebc0
movzx eax, byte [esi + ebx*8 + 0x7c]
cmp byte [esp], 1
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], eax
jbe 0x51e913
mov ecx, dword [esi + ebx*8 + 0x78]
movzx eax, word [esi + ebx*8 + 0x7e]
mov dword [esp + 0xc], eax
mov edx, edi
cmp dl, 1
je 0x51e7ad
lea eax, [edx - 1]
mov edi, ecx
mov ecx, dword [ecx]
test ecx, ecx
je 0x51eafb
bswap ecx
test ecx, 0x1fc000
je 0x51eb38
prefetcht0 byte [ecx]
dec eax
jne 0x51e78d
mov eax, dword [ecx]
test eax, eax
mov dword [esp + 0x10], ecx
je 0x51ead0
bswap eax
test eax, 0x1fc000
je 0x51eb0e
mov edi, eax
prefetcht0 byte [eax]
mov eax, dword [esi + 0x2f8]
add eax, 0x40
mov dword [esp + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x51eaa4
test edi, edi
je 0x51e8e0
mov edx, edi
jmp 0x51e80a
xor edi, edi
jmp 0x51e821
push 1
call fcn.0051ec40
mov edx, edi
test edi, edi
je 0x51e8e0
mov edi, dword [edx]
test edi, edi
je 0x51e7f5
bswap edi
test edi, 0x1fc000
je 0x51eb24
prefetcht0 byte [edi]
mov eax, dword [esi + 0x2f8]
mov dword [esp + 0x14], eax
mov ecx, edx
and ecx, 0xffe00000
mov dword [esp], edx
mov edx, dword [esp]
shr edx, 9
and edx, 0x1fe0
or edx, ecx
mov ecx, edx
or ecx, 0x1000
or edx, 0x101e
movzx edx, byte [edx]
and edx, 0x3f
shl edx, 5
sub ecx, edx
mov edx, dword [ecx + 8]
mov edx, dword [edx + 0xc]
mov eax, dword [esp + 0x14]
sub dword [eax + 0x117c], edx
mov edx, dword [esp]
mov eax, dword [ecx]
cmp eax, edx
je 0x51eb02
bswap eax
mov dword [edx], eax
mov dword [ecx], edx
mov eax, dword [ecx + 0xc]
mov edx, eax
and edx, 0xefffffff
mov dword [ecx + 0xc], edx
test eax, 0x3ffe
je 0x51eb05
lea edx, [eax + 0x3ffe]
and edx, 0x3ffe
mov dword [esp], eax
mov eax, dword [esp]
and eax, 0xefffc001
or eax, edx
mov dword [ecx + 0xc], eax
test byte [esp], 1
jne 0x51e7f9
test edx, edx
jne 0x51e800
jmp 0x51e7f9
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov dword [esi + ebx*8 + 0x78], 0
jmp 0x51e8f4
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esp + 0x10]
mov dword [eax], 0
mov ecx, dword [esp + 0x1c]
mov byte [esi + ebx*8 + 0x7c], cl
sub ecx, dword [esp + 0x18]
movzx eax, word [esi + ebx*8 + 0x7e]
imul eax, ecx
add dword [esi], eax
mov edx, dword [esp + 8]
jmp 0x51e63d
movzx eax, word [esi + ebx*8 + 0x7e]
mov dword [esp + 0x10], eax
mov edi, dword [esi + ebx*8 + 0x78]
mov eax, dword [esi + 0x2f8]
add eax, 0x40
mov dword [esp + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x51eac2
test edi, edi
je 0x51e8cc
mov edx, edi
jmp 0x51e959
xor edi, edi
jmp 0x51e970
push 1
call fcn.0051ec40
mov edx, edi
test edi, edi
je 0x51e8cc
mov edi, dword [edx]
test edi, edi
je 0x51e944
bswap edi
test edi, 0x1fc000
je 0x51eb6c
prefetcht0 byte [edi]
mov eax, dword [esi + 0x2f8]
mov dword [esp + 0x14], eax
mov ecx, edx
and ecx, 0xffe00000
mov dword [esp], edx
mov edx, dword [esp]
shr edx, 9
and edx, 0x1fe0
or edx, ecx
mov ecx, edx
or ecx, 0x1000
or edx, 0x101e
movzx edx, byte [edx]
and edx, 0x3f
shl edx, 5
sub ecx, edx
mov edx, dword [ecx + 8]
mov edx, dword [edx + 0xc]
mov eax, dword [esp + 0x14]
sub dword [eax + 0x117c], edx
mov edx, dword [esp]
mov eax, dword [ecx]
cmp eax, edx
je 0x51eb66
bswap eax
mov dword [edx], eax
mov dword [ecx], edx
mov eax, dword [ecx + 0xc]
mov edx, eax
and edx, 0xefffffff
mov dword [ecx + 0xc], edx
test eax, 0x3ffe
je 0x51eb69
lea edx, [eax + 0x3ffe]
and edx, 0x3ffe
mov dword [esp], eax
mov eax, dword [esp]
and eax, 0xefffc001
or eax, edx
mov dword [ecx + 0xc], eax
test byte [esp], 1
jne 0x51e948
test edx, edx
jne 0x51e94f
jmp 0x51e948
test byte [edi + 0xf], 8
mov eax, edi
mov edi, ebx
jne 0x51eb9a
mov eax, dword [eax + 8]
add eax, 0xc
mov ebx, dword [eax]
mov dword [esp + 8], edx
sub ebx, dword [edx + 0x10]
mov ecx, dword [0x65c7ac]
test ecx, ecx
jne 0x51eba2
push ebx
push 0xef
mov ebx, edi
push edi
call fcn.00582870
add esp, 0xc
mov edx, dword [esp + 8]
mov edi, dword [esp]
jmp 0x51e56b
mov eax, dword [edi + 8]
mov eax, dword [eax + 0xc]
lock add dword [edx + 0x1198], eax
lock inc dword [edx + 0x119c]
mov eax, dword [edi + 8]
mov eax, dword [eax + 0xc]
lock add dword [edx + 0x11a0], eax
lock inc dword [edx + 0x11a4]
jmp 0x51e660
add eax, 0x20
jmp 0x51e6a2
mov ecx, esi
call fcn.00531150
jmp 0x51e6d4
mov ecx, dword [esp + 4]
call fcn.00531150
jmp 0x51e7e9
mov ecx, esi
mov edi, edx
call fcn.0051f260
mov edx, edi
jmp 0x51e649
mov ecx, dword [esp + 4]
call fcn.00531150
jmp 0x51e93c
xor edi, edi
jmp 0x51e7cd
xor ecx, ecx
jmp 0x51e5ef
xor eax, eax
jmp 0x51e555
mov esi, edx
call fcn.00580c14
mov edx, esi
jmp 0x51e5b4
mov ecx, esi
push eax
call fcn.005b6a70
xor ecx, ecx
jmp 0x51e7aa
int3
int3
int3
int3
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x20]
movdqa xmmword [esi], xmm0
mov eax, ecx
mov ecx, esi
push 0
push dword [eax]
jmp 0x51eb4a
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x20]
movdqa xmmword [esi], xmm0
mov ecx, esi
push 0
push dword [edx]
jmp 0x51eb4a
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x20]
movdqa xmmword [esi], xmm0
mov ecx, esi
push 0
push dword [edi]
push str.first
call fcn.005b6a00
push esi
call fcn.00405d50
add esp, 4
push dword [esp + 0xc]
call fcn.005f55f0
int3
int3
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x20]
movdqa xmmword [esi], xmm0
mov ecx, esi
push 0
push dword [edx]
push str.first
call fcn.005b6a00
push esi
call fcn.00405d50
add esp, 4
push dword [esp + 0x10]
call fcn.005f55f0
add eax, 0x20
jmp 0x51ea2f
call dword [0x6445dc]
push ebx
mov ebx, edi
push edi
call ecx
add esp, 8
jmp 0x51ea57