Function at 0x10021c80
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100518bd
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x1005f424]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
or edx, 0xffffffff
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x40], str.Window
mov esi, 0x100549f9
mov al, 0x57
or edi, 0xffffffff
cmp al, 0x23
jne 0x10021cd0
cmp byte [esi], al
jne 0x10021cd0
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x100543c8]
test al, al
jne 0x10021cc2
mov esi, dword [ebp + 8]
not edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], 0x1002ca00
mov dword [ebp - 0x30], 0x1002cb30
mov edi, dword [esi + 0x2d7c]
mov ecx, dword [esi + 0x2d80]
mov dword [ebp - 0x2c], 0x1002ca80
mov dword [ebp - 0x28], 0x1002c930
mov dword [ebp - 0x24], 0x1002cb70
cmp edi, ecx
jne 0x10021dcb
inc edi
test ecx, ecx
je 0x10021d38
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10021d3d
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x10021dcb
mov eax, dword [0x1005fdc0]
test eax, eax
je 0x10021d59
inc dword [eax + 0x370]
push dword [0x1005fdc8]
lea eax, [edi + edi*8]
shl eax, 2
push eax
call dword [0x1005f260]
mov edx, dword [esi + 0x2d84]
add esp, 8
mov dword [ebp + 8], eax
test edx, edx
je 0x10021dbf
mov ecx, dword [esi + 0x2d7c]
lea ecx, [ecx + ecx*8]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 0x2d84]
add esp, 0xc
test ecx, ecx
je 0x10021dac
mov eax, dword [0x1005fdc0]
test eax, eax
je 0x10021dac
dec dword [eax + 0x370]
push dword [0x1005fdc8]
push ecx
call dword [0x1005f264]
mov eax, dword [ebp + 8]
add esp, 8
mov dword [esi + 0x2d84], eax
mov dword [esi + 0x2d80], edi
mov eax, dword [esi + 0x2d7c]
movups xmm0, xmmword [ebp - 0x40]
push esi
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x2d84]
movups xmmword [eax + ecx*4], xmm0
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [eax + ecx*4 + 0x10], xmm0
mov dword [eax + ecx*4 + 0x20], 0
inc dword [esi + 0x2d7c]
call fcn.1004e5d0
mov eax, dword [0x1005fdc0]
add esp, 4
test eax, eax
je 0x10021e11
inc dword [eax + 0x370]
push dword [0x1005fdc8]
push 0x98
call dword [0x1005f260]
mov edi, eax
add esp, 8
mov dword [ebp - 0x14], edi
lea eax, [ebp + 0xb]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x10021f47
mov dword [edi + 8], 0
lea eax, [edi + 0x34]
mov dword [edi + 4], 0
xorps xmm0, xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
movups xmmword [edi], xmm0
push 0x2c
movups xmmword [edi + 0x10], xmm0
mov dword [edi + 0x20], 0
push 0
push eax
mov dword [eax + 0x18], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x24], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [edi + 0x60]
mov dword [ebp - 0x1c], eax
push 0x1001a4a0
push 0x10018870
push 2
push 0xc
push eax
call fcn.1004ef1c
mov dword [edi + 0x7c], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x28], 0xffffffff
mov dword [edi + 0x24], 0xffffffff
mov dword [edi + 0x30], 0
mov dword [edi + 0x2c], 0
jmp 0x10021f49
xor edi, edi
mov ecx, dword [esi + 0x1bc4]
mov eax, dword [esi + 0x1bc8]
mov dword [ebp - 4], 0xffffffff
cmp ecx, eax
jne 0x10022015
inc ecx
test eax, eax
je 0x10021f78
cdq
sub eax, edx
mov edx, dword [esi + 0x1bc8]
sar eax, 1
add eax, edx
jmp 0x10021f83
mov edx, dword [esi + 0x1bc8]
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov dword [ebp - 0x14], ecx
cmp ecx, edx
jle 0x10022015
mov eax, dword [0x1005fdc0]
test eax, eax
je 0x10021fa2
inc dword [eax + 0x370]
push dword [0x1005fdc8]
lea eax, [ecx*4]
push eax
call dword [0x1005f260]
mov edx, dword [esi + 0x1bcc]
add esp, 8
mov dword [ebp - 0x10], eax
test edx, edx
je 0x10022006
mov ecx, dword [esi + 0x1bc4]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 0x1bcc]
add esp, 0xc
test ecx, ecx
je 0x10021ff3
mov eax, dword [0x1005fdc0]
test eax, eax
je 0x10021ff3
dec dword [eax + 0x370]
push dword [0x1005fdc8]
push ecx
call dword [0x1005f264]
mov eax, dword [ebp - 0x10]
add esp, 8
mov dword [esi + 0x1bcc], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x1bc8], eax
mov ecx, dword [esi + 0x1bc4]
mov eax, dword [esi + 0x1bcc]
mov dword [eax + ecx*4], edi
inc dword [esi + 0x1bc4]
mov byte [esi], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret