Function at 0x10052040
Capabilities:
Hash data with crc32

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
or edx, 0xffffffff
mov dword [esp + 0x1c], 0
mov edi, ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x10], str.Window
mov esi, 0x101af505
mov al, 0x57
or ebp, 0xffffffff
nop
cmp al, 0x23
jne 0x1005207e
cmp byte [esi], al
jne 0x1005207e
cmp byte [esi + 1], al
cmove edx, ebp
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x1018ad40]
test al, al
jne 0x10052070
lea eax, [esp + 0x10]
mov dword [esp + 0x18], 0x1005f140
not edx
mov dword [esp + 0x20], 0x1005f1b0
push eax
lea ecx, [edi + 0x2f30]
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], 0x1005f1f0
mov dword [esp + 0x2c], 0x1005f2b0
mov dword [esp + 0x30], 0x1005f370
call fcn.1005f790
mov dword [esp + 0x1c], 0
or edx, 0xffffffff
mov dword [esp + 0x30], 0
mov esi, 0x101afcd5
mov dword [esp + 0x10], str.Table
mov al, 0x54
cmp al, 0x23
jne 0x10052105
cmp byte [esi], al
jne 0x10052105
cmp byte [esi + 1], al
cmove edx, ebp
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x1018ad40]
test al, al
jne 0x100520f7
lea eax, [esp + 0x10]
mov dword [esp + 0x18], 0x10069370
not edx
mov dword [esp + 0x20], 0x10069440
push eax
lea ecx, [edi + 0x2f30]
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], 0x100694d0
mov dword [esp + 0x2c], 0x100693f0
mov dword [esp + 0x30], 0x10069720
call fcn.1005f790
mov eax, dword [0x101c18e4]
test eax, eax
je 0x1005216b
inc dword [eax + 0x370]
mov ebp, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push 0x98
call ebp
mov esi, eax
add esp, 4
test esi, esi
je 0x10052251
mov dword [esi + 8], 0
lea eax, [esi + 0x34]
mov dword [esi + 0x10], 0
xorps xmm0, xmm0
mov dword [esi + 0x18], 0
mov dword [esi + 0x20], 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 sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esi + 0x60]
mov ecx, 2
mov dword [eax + 4], 0
lea eax, [eax + 0xc]
mov dword [eax - 0xc], 0
mov dword [eax - 4], 0
sub ecx, 1
jne 0x100521f4
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x78], ecx
mov dword [esi + 0x84], ecx
mov dword [esi + 0x80], ecx
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x88], ecx
mov dword [esi + 0x94], ecx
mov dword [esi + 0x90], ecx
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x24], 0xffffffff
mov dword [esi + 0x30], ecx
mov dword [esi + 0x2c], ecx
jmp 0x10052253
xor esi, esi
mov ebx, dword [edi + 0x1d38]
mov ecx, dword [edi + 0x1d3c]
cmp ebx, ecx
jne 0x100522f0
inc ebx
test ecx, ecx
je 0x10052277
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1005227c
mov eax, 8
cmp eax, ebx
cmovg ebx, eax
cmp ebx, ecx
jle 0x100522f0
mov eax, dword [0x101c18e4]
test eax, eax
je 0x10052294
inc dword [eax + 0x370]
lea eax, [ebx*4]
push eax
call ebp
mov ebp, eax
add esp, 4
mov eax, dword [edi + 0x1d40]
test eax, eax
je 0x100522e4
mov ecx, dword [edi + 0x1d38]
shl ecx, 2
push ecx
push eax
push ebp
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0x1d40]
add esp, 0xc
test ecx, ecx
je 0x100522da
mov eax, dword [0x101c18e4]
test eax, eax
je 0x100522da
dec dword [eax + 0x370]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [edi + 0x1d40], ebp
mov dword [edi + 0x1d3c], ebx
mov ecx, dword [edi + 0x1d38]
mov eax, dword [edi + 0x1d40]
mov dword [eax + ecx*4], esi
inc dword [edi + 0x1d38]
mov byte [edi], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret