Function at 0x100bb090
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10181a0a
mov eax, dword fs:[0]
push eax
sub esp, 0x314
mov eax, dword [0x101e6040]
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 edi, ecx
mov dword [ebp - 0x31c], edi
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x320], eax
cmp ebx, 0x8000
jb 0x100bb356
cmp dword [edi + 0x10], 2
jb 0x100bb356
cmp dword [edi + 0xc], 0
jne 0x100bb1a7
push 0x338
call fcn.1015144f
mov esi, eax
add esp, 4
mov dword [ebp - 0x314], esi
push 0x338
push 0
push esi
mov dword [ebp - 4], 0
call fcn.10152e30
add esp, 0xc
mov dword [esi], 8
lea eax, [esi + 0x320]
mov dword [esi + 0x104], 0
mov byte [esi + 0x314], 0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0x40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
push 0
push 1
push 1
push 0
mov dword [esi + 0x318], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp dword [esi + 0x318], 0
mov dword [esi + 0x31c], eax
je 0x100bb38d
test eax, eax
je 0x100bb38d
mov dword [esi + 0x30c], 0
mov dword [esi + 0x310], 0
mov dword [esi + 0x108], 0
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0xc], esi
xor edx, edx
mov eax, ebx
div dword [edi + 0x10]
mov esi, 0x4000
cmp eax, esi
mov edx, eax
cmovb edx, esi
mov dword [ebp - 0x314], edx
mov edx, ebx
shr edx, 0xe
cmp eax, esi
cmovae edx, dword [edi + 0x10]
xor ebx, ebx
mov dword [ebp - 0x318], edx
test edx, edx
je 0x100bb229
xor edi, edi
lea esi, [ebp - 0x310]
nop
mov eax, dword [ebp - 0x320]
inc ebx
add eax, edi
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
sub eax, edi
cmp ebx, edx
push esi
cmovne eax, dword [ebp - 0x314]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x31c]
push 0x100bb060
mov ecx, dword [eax + 0xc]
call fcn.1010f520
add edi, dword [ebp - 0x314]
add esi, 0xc
mov edx, dword [ebp - 0x318]
cmp ebx, edx
jb 0x100bb1e0
mov edi, dword [ebp - 0x31c]
mov esi, dword [edi + 0xc]
cmp dword [esi + 0x108], 0
je 0x100bb26c
push dword [esi + 0x31c]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
push dword [esi + 0x108]
push dword [esi + 0x318]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push 0xffffffffffffffff
push dword [esi + 0x31c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x100bb387
mov ebx, dword [ebp - 0x30c]
lea eax, [ebx*8]
push eax
call fcn.100bb3a0
cmp dword [ebp - 0x318], 0
mov ecx, eax
mov dword [ebp - 0x320], ecx
jbe 0x100bb369
mov edi, dword [edi + 4]
lea eax, [ebp - 0x308]
mov dword [ebp - 0x314], eax
mov eax, dword [eax - 4]
cmp eax, ebx
jne 0x100bb2ae
mov ebx, ecx
jmp 0x100bb2b9
shl eax, 3
push eax
call fcn.100bb3a0
mov ebx, eax
xor edx, edx
xor esi, esi
nop dword [eax]
mov eax, edi
mov ecx, 0x1f
sub ecx, esi
shr edi, 1
and eax, 1
inc esi
shl eax, cl
or edx, eax
cmp esi, 0x20
jb 0x100bb2c0
xor esi, esi
test edx, edx
je 0x100bb303
nop
test ebx, ebx
je 0x100bb303
test bl, 1
mov eax, 0
cmovne eax, edx
shr ebx, 1
xor esi, eax
mov eax, edx
sar eax, 0x1f
add edx, edx
and eax, 0x4c11db7
xor edx, eax
jne 0x100bb2e0
xor ebx, ebx
xor edx, edx
mov eax, esi
mov ecx, 0x1f
sub ecx, edx
shr esi, 1
and eax, 1
inc edx
shl eax, cl
or ebx, eax
cmp edx, 0x20
jb 0x100bb307
mov eax, dword [ebp - 0x314]
mov ecx, dword [ebp - 0x320]
mov edi, dword [eax]
add eax, 0xc
xor edi, ebx
mov dword [ebp - 0x314], eax
sub dword [ebp - 0x318], 1
mov ebx, dword [ebp - 0x30c]
jne 0x100bb2a3
mov eax, dword [ebp - 0x31c]
mov dword [eax + 4], edi
jmp 0x100bb369
mov ecx, dword [edi + 4]
mov edx, eax
push 0x101eb0a8
push ebx
call fcn.10108970
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 - 0x10]
xor ecx, ebp
call fcn.10151433
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 2
call fcn.100ace80
int3