Function at 0x10019780
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
lea ebp, [esp - 0x304]
sub esp, 0x304
push 0xffffffffffffffff
push 0x1003d007
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10047810]
xor eax, ebp
mov dword [ebp + 0x300], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov ecx, dword [ebp + 0x310]
mov eax, dword [ebp + 0x30c]
mov dword [ebp - 0x18], eax
cmp ecx, 0x8000
jb 0x10019979
cmp dword [edi + 0x10], 2
jb 0x10019979
cmp dword [edi + 0xc], 0
jne 0x10019821
push 0x338
call fcn.1003089a
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1001980f
push 8
mov ecx, eax
call fcn.10022a80
jmp 0x10019811
xor eax, eax
mov ecx, dword [ebp + 0x310]
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0xc], eax
mov esi, dword [edi + 0x10]
xor edx, edx
mov eax, ecx
mov dword [ebp - 0x10], esi
div esi
mov ebx, eax
cmp ebx, 0x4000
jae 0x10019844
mov esi, ecx
mov ebx, 0x4000
shr esi, 0xe
mov dword [ebp - 0x10], esi
xor edx, edx
test esi, esi
je 0x1001996f
xor edi, edi
lea esi, [ebp]
mov eax, dword [ebp - 0x18]
add eax, edi
mov dword [esi], eax
lea eax, [edx + 1]
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp - 0x10]
jne 0x1001986b
mov eax, ecx
sub eax, edi
jmp 0x1001986d
mov eax, ebx
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x14]
push esi
push 0x10019200
mov ecx, dword [eax + 0xc]
call fcn.10022c20
mov edx, dword [ebp - 0x1c]
add edi, ebx
mov ecx, dword [ebp + 0x310]
add esi, 0xc
cmp edx, dword [ebp - 0x10]
jb 0x10019853
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi + 0xc]
call fcn.10022e10
mov edi, dword [ebp + 4]
mov ecx, esi
lea eax, [edi*8]
push eax
call fcn.100199b0
mov ebx, dword [esi + 4]
mov ecx, eax
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
nop
mov eax, dword [eax - 4]
cmp eax, edi
jne 0x100198cb
mov edi, ecx
jmp 0x100198d8
shl eax, 3
mov ecx, esi
push eax
call fcn.100199b0
mov edi, eax
xor edx, edx
xor esi, esi
lea esp, [esp]
mov eax, ebx
mov ecx, 0x1f
sub ecx, esi
shr ebx, 1
and eax, 1
inc esi
shl eax, cl
or edx, eax
cmp esi, 0x20
jb 0x100198e0
xor esi, esi
test edx, edx
je 0x10019925
mov edi, edi
test edi, edi
je 0x10019925
mov eax, edi
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edi, 1
and eax, edx
xor esi, eax
mov eax, edx
sar eax, 0x1f
add edx, edx
and eax, 0x4c11db7
xor edx, eax
jne 0x10019900
xor edi, edi
xor edx, edx
lea esp, [esp]
mov eax, esi
mov ecx, 0x1f
sub ecx, edx
shr esi, 1
and eax, 1
inc edx
shl eax, cl
or edi, eax
cmp edx, 0x20
jb 0x10019930
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [eax]
add eax, 0xc
xor ebx, edi
mov dword [ebp - 0x18], eax
sub dword [ebp - 0x10], 1
mov edi, dword [ebp + 4]
jne 0x100198c0
mov eax, esi
mov dword [eax + 4], ebx
jmp 0x10019989
mov ecx, dword [edi + 0xc]
call fcn.10022e10
jmp 0x10019989
push ecx
push eax
push dword [edi + 4]
call fcn.1000aba0
add esp, 0xc
mov dword [edi + 4], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x300]
xor ecx, ebp
call fcn.100308d8
lea esp, [ebp + 0x304]
pop ebp
ret 8