Function at 0x10020740
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100502ed
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x1005e424]
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, 0x10053c51
mov al, 0x57
or edi, 0xffffffff
cmp al, 0x23
jne 0x10020790
cmp byte [esi], al
jne 0x10020790
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 + 0x10053620]
test al, al
jne 0x10020782
mov esi, dword [ebp + 8]
not edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], 0x1002b8b0
mov dword [ebp - 0x30], 0x1002b9e0
mov edi, dword [esi + 0x2d7c]
mov ecx, dword [esi + 0x2d80]
mov dword [ebp - 0x2c], 0x1002b930
mov dword [ebp - 0x28], 0x1002b7e0
mov dword [ebp - 0x24], 0x1002ba50
cmp edi, ecx
jne 0x1002088b
inc edi
test ecx, ecx
je 0x100207f8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x100207fd
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x1002088b
mov eax, dword [0x1005edc0]
test eax, eax
je 0x10020819
inc dword [eax + 0x370]
push dword [0x1005edc8]
lea eax, [edi + edi*8]
shl eax, 2
push eax
call dword [0x1005e260]
mov edx, dword [esi + 0x2d84]
add esp, 8
mov dword [ebp + 8], eax
test edx, edx
je 0x1002087f
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 0x1002086c
mov eax, dword [0x1005edc0]
test eax, eax
je 0x1002086c
dec dword [eax + 0x370]
push dword [0x1005edc8]
push ecx
call dword [0x1005e264]
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.1004cce0
mov eax, dword [0x1005edc0]
add esp, 4
test eax, eax
je 0x100208d1
inc dword [eax + 0x370]
push dword [0x1005edc8]
push 0x98
call dword [0x1005e260]
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 0x10020a07
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 0x10018e80
push 0x10017280
push 2
push 0xc
push eax
call fcn.1004d62c
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 0x10020a09
xor edi, edi
mov ecx, dword [esi + 0x1bc4]
mov eax, dword [esi + 0x1bc8]
mov dword [ebp - 4], 0xffffffff
cmp ecx, eax
jne 0x10020ad5
inc ecx
test eax, eax
je 0x10020a38
cdq
sub eax, edx
mov edx, dword [esi + 0x1bc8]
sar eax, 1
add eax, edx
jmp 0x10020a43
mov edx, dword [esi + 0x1bc8]
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov dword [ebp - 0x14], ecx
cmp ecx, edx
jle 0x10020ad5
mov eax, dword [0x1005edc0]
test eax, eax
je 0x10020a62
inc dword [eax + 0x370]
push dword [0x1005edc8]
lea eax, [ecx*4]
push eax
call dword [0x1005e260]
mov edx, dword [esi + 0x1bcc]
add esp, 8
mov dword [ebp - 0x10], eax
test edx, edx
je 0x10020ac6
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 0x10020ab3
mov eax, dword [0x1005edc0]
test eax, eax
je 0x10020ab3
dec dword [eax + 0x370]
push dword [0x1005edc8]
push ecx
call dword [0x1005e264]
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