Function at 0x10040580
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e09d3
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x10122064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
or edx, 0xffffffff
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x24], 0
mov esi, 0x1010ab91
mov dword [ebp - 0x44], str.Window
mov al, 0x57
or edi, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x100405de
cmp byte [esi], al
jne 0x100405de
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 + 0x10104c08]
test al, al
jne 0x100405d0
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x44]
not edx
mov dword [ebp - 0x3c], 0x1004bf40
push ecx
mov dword [ebp - 0x40], edx
lea ecx, [edi + 0x2d7c]
mov dword [ebp - 0x34], 0x1004bfc0
mov dword [ebp - 0x30], 0x1004c060
mov dword [ebp - 0x2c], 0x1004c110
mov dword [ebp - 0x28], 0x1004c220
call fcn.1004c6b0
or edx, 0xffffffff
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x24], 0
mov esi, 0x1010ae95
mov dword [ebp - 0x44], str.Table
mov al, 0x54
or edi, 0xffffffff
cmp al, 0x23
jne 0x10040661
cmp byte [esi], al
jne 0x10040661
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 + 0x10104c08]
test al, al
jne 0x10040653
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x44]
not edx
mov dword [ebp - 0x3c], 0x1005bf00
push eax
mov dword [ebp - 0x40], edx
lea ecx, [edi + 0x2d7c]
mov dword [ebp - 0x34], 0x1005bfc0
mov dword [ebp - 0x30], 0x1005c050
mov dword [ebp - 0x2c], 0x1005bf80
mov dword [ebp - 0x28], 0x1005c270
call fcn.1004c6b0
mov eax, dword [0x101273e8]
test eax, eax
je 0x100406c3
inc dword [eax + 0x370]
push dword [0x101273e0]
push 0x98
call fcn.1003af30
mov esi, eax
add esp, 8
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0xd]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x100407f8
mov dword [esi + 8], 0
lea eax, [esi + 0x34]
mov dword [esi + 4], 0
xorps xmm0, xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
movups xmmword [esi], xmm0
push 0x2c
movups xmmword [esi + 0x10], xmm0
mov dword [esi + 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.1008d070
add esp, 0xc
lea eax, [esi + 0x60]
mov dword [ebp - 0x20], eax
push 0x1004c650
push 0x1004cdf0
push 2
push 0xc
push eax
call fcn.1008ac00
mov dword [esi + 0x7c], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x24], 0xffffffff
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0
jmp 0x100407fa
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [edi + 0x1bc4]
mov eax, dword [edi + 0x1bc8]
cmp ecx, eax
jne 0x100408c4
inc ecx
test eax, eax
je 0x10040829
cdq
sub eax, edx
mov edx, dword [edi + 0x1bc8]
sar eax, 1
add eax, edx
jmp 0x10040834
mov edx, dword [edi + 0x1bc8]
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov dword [ebp - 0x18], ecx
cmp ecx, edx
jle 0x100408c4
mov eax, dword [0x101273e8]
test eax, eax
je 0x10040853
inc dword [eax + 0x370]
push dword [0x101273e0]
lea eax, [ecx*4]
push eax
call fcn.1003af30
mov edx, dword [edi + 0x1bcc]
add esp, 8
mov dword [ebp - 0x14], eax
test edx, edx
je 0x100408b5
mov ecx, dword [edi + 0x1bc4]
shl ecx, 2
push ecx
push edx
push eax
call fcn.1008caf0
mov ecx, dword [edi + 0x1bcc]
add esp, 0xc
test ecx, ecx
je 0x100408a3
mov eax, dword [0x101273e8]
test eax, eax
je 0x100408a3
dec dword [eax + 0x370]
push dword [0x101273e0]
push ecx
call fcn.1003af40
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [edi + 0x1bcc], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x1bc8], eax
mov ecx, dword [edi + 0x1bc4]
mov eax, dword [edi + 0x1bcc]
mov dword [eax + ecx*4], esi
inc dword [edi + 0x1bc4]
mov byte [edi], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret