Function at 0x10041040
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
or edx, 0xffffffff
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], str.Window
mov esi, 0x1015d459
mov al, 0x57
or edi, 0xffffffff
cmp al, 0x23
jne 0x10041072
cmp byte [esi], al
jne 0x10041072
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 + 0x1015ca00]
test al, al
jne 0x10041064
mov esi, dword [ebp + 8]
not edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], 0x10046a20
mov dword [ebp - 0x14], 0x10046aa0
mov edi, dword [esi + 0x3758]
mov ecx, dword [esi + 0x375c]
mov dword [ebp - 0x10], 0x10046ae0
mov dword [ebp - 0xc], 0x10046ba0
mov dword [ebp - 8], 0x10046c40
cmp edi, ecx
jne 0x10041166
inc edi
test ecx, ecx
je 0x100410da
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x100410df
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x10041166
mov eax, dword [0x10240b04]
test eax, eax
je 0x100410f7
inc dword [eax + 0x370]
push dword [0x10240b0c]
lea eax, [edi + edi*8]
shl eax, 2
push eax
call dword [0x1023e6b0]
mov ebx, eax
add esp, 8
mov eax, dword [esi + 0x3760]
test eax, eax
je 0x1004115a
mov ecx, dword [esi + 0x3758]
lea ecx, [ecx + ecx*8]
shl ecx, 2
push ecx
push eax
push ebx
call fcn.100ec200
mov ecx, dword [esi + 0x3760]
add esp, 0xc
test ecx, ecx
je 0x1004114a
mov eax, dword [0x10240b04]
nop
test eax, eax
je 0x1004114a
dec dword [eax + 0x370]
push dword [0x10240b0c]
push ecx
call dword [0x1023e6b4]
add esp, 8
mov dword [esi + 0x3760], ebx
mov dword [esi + 0x375c], edi
mov eax, dword [esi + 0x3758]
movups xmm0, xmmword [ebp - 0x24]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x3760]
movups xmmword [eax + ecx*4], xmm0
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [eax + ecx*4 + 0x10], xmm0
mov dword [eax + ecx*4 + 0x20], 0
inc dword [esi + 0x3758]
mov eax, dword [0x10240b04]
test eax, eax
je 0x100411a3
inc dword [eax + 0x370]
push dword [0x10240b0c]
push 0x98
call dword [0x1023e6b0]
mov edi, eax
add esp, 8
test edi, edi
je 0x1004129d
mov dword [edi + 8], 0
lea eax, [edi + 0x34]
mov dword [edi + 0x10], 0
xorps xmm0, xmm0
mov dword [edi + 0x18], 0
mov dword [edi + 0x20], 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 fcn.100ec0a0
add esp, 0xc
lea eax, [edi + 0x60]
mov ecx, 2
nop word [eax + eax]
mov dword [eax + 4], 0
lea eax, [eax + 0xc]
mov dword [eax - 0xc], 0
mov dword [eax - 4], 0
sub ecx, 1
jne 0x10041240
mov dword [edi + 0x7c], ecx
mov dword [edi + 0x78], ecx
mov dword [edi + 0x84], ecx
mov dword [edi + 0x80], ecx
mov dword [edi + 0x8c], ecx
mov dword [edi + 0x88], ecx
mov dword [edi + 0x94], ecx
mov dword [edi + 0x90], ecx
mov dword [edi + 0x28], 0xffffffff
mov dword [edi + 0x24], 0xffffffff
mov dword [edi + 0x30], ecx
mov dword [edi + 0x2c], ecx
jmp 0x1004129f
xor edi, edi
mov ebx, dword [esi + 0x1e34]
mov ecx, dword [esi + 0x1e38]
cmp ebx, ecx
jne 0x10041358
inc ebx
test ecx, ecx
je 0x100412c3
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x100412c8
mov eax, 8
cmp eax, ebx
cmovg ebx, eax
cmp ebx, ecx
jle 0x10041358
mov eax, dword [0x10240b04]
test eax, eax
je 0x100412e4
inc dword [eax + 0x370]
push dword [0x10240b0c]
lea eax, [ebx*4]
push eax
call dword [0x1023e6b0]
mov edx, dword [esi + 0x1e3c]
add esp, 8
mov dword [ebp + 8], eax
test edx, edx
je 0x1004134c
mov ecx, dword [esi + 0x1e34]
shl ecx, 2
push ecx
push edx
push eax
call fcn.100ec200
mov ecx, dword [esi + 0x1e3c]
add esp, 0xc
test ecx, ecx
je 0x10041335
mov eax, dword [0x10240b04]
test eax, eax
je 0x10041335
dec dword [eax + 0x370]
push dword [0x10240b0c]
push ecx
call dword [0x1023e6b4]
mov eax, dword [ebp + 8]
add esp, 8
mov dword [esi + 0x1e3c], eax
mov dword [esi + 0x1e38], ebx
mov ecx, dword [esi + 0x1e34]
mov eax, dword [esi + 0x1e3c]
mov dword [eax + ecx*4], edi
inc dword [esi + 0x1e34]
pop edi
mov byte [esi], 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret