Function at 0x1004c790
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101038eb
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10155700]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
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, 0x10114221
mov al, 0x57
or edi, 0xffffffff
cmp al, 0x23
jne 0x1004c7e3
cmp byte [esi], al
jne 0x1004c7e3
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 + 0x10113c30]
test al, al
jne 0x1004c7d5
mov esi, dword [ebp + 8]
not edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], 0x10057e20
mov dword [ebp - 0x30], 0x10057f70
mov edi, dword [esi + 0x2f70]
mov ecx, dword [esi + 0x2f74]
mov dword [ebp - 0x2c], 0x10057ea0
mov dword [ebp - 0x28], 0x10057d50
mov dword [ebp - 0x24], 0x10057fb0
cmp edi, ecx
jne 0x1004c8de
inc edi
test ecx, ecx
je 0x1004c84b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1004c850
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x1004c8de
mov eax, dword [0x10156a5c]
test eax, eax
je 0x1004c86c
inc dword [eax + 0x36c]
push dword [0x10156a64]
lea eax, [edi + edi*8]
shl eax, 2
push eax
call dword [0x101522f8]
mov edx, dword [esi + 0x2f78]
add esp, 8
mov dword [ebp - 0x14], eax
test edx, edx
je 0x1004c8d2
mov ecx, dword [esi + 0x2f70]
lea ecx, [ecx + ecx*8]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 0x2f78]
add esp, 0xc
test ecx, ecx
je 0x1004c8bf
mov eax, dword [0x10156a5c]
test eax, eax
je 0x1004c8bf
dec dword [eax + 0x36c]
push dword [0x10156a64]
push ecx
call dword [0x101522fc]
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [esi + 0x2f78], eax
mov dword [esi + 0x2f74], edi
mov eax, dword [esi + 0x2f70]
movups xmm0, xmmword [ebp - 0x40]
push esi
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x2f78]
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 + 0x2f70]
call fcn.1006d3a0
mov eax, dword [0x10156a5c]
add esp, 4
test eax, eax
je 0x1004c924
inc dword [eax + 0x36c]
push dword [0x10156a64]
push 0x98
call dword [0x101522f8]
mov edi, eax
add esp, 8
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x15]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x1004ca62
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 - 0x48], eax
push 0x10045390
push 0x10043520
push 2
push 0xc
push eax
call fcn.100b222e
mov byte [ebp - 4], 2
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
mov byte [ebp - 4], 0
jmp 0x1004ca64
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 0x1d48]
mov eax, dword [esi + 0x1d4c]
cmp ecx, eax
jne 0x1004cb30
inc ecx
test eax, eax
je 0x1004ca93
cdq
sub eax, edx
mov edx, dword [esi + 0x1d4c]
sar eax, 1
add eax, edx
jmp 0x1004ca9e
mov edx, dword [esi + 0x1d4c]
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov dword [ebp - 0x1c], ecx
cmp ecx, edx
jle 0x1004cb30
mov eax, dword [0x10156a5c]
test eax, eax
je 0x1004cabd
inc dword [eax + 0x36c]
push dword [0x10156a64]
lea eax, [ecx*4]
push eax
call dword [0x101522f8]
mov edx, dword [esi + 0x1d50]
add esp, 8
mov dword [ebp - 0x14], eax
test edx, edx
je 0x1004cb21
mov ecx, dword [esi + 0x1d48]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 0x1d50]
add esp, 0xc
test ecx, ecx
je 0x1004cb0e
mov eax, dword [0x10156a5c]
test eax, eax
je 0x1004cb0e
dec dword [eax + 0x36c]
push dword [0x10156a64]
push ecx
call dword [0x101522fc]
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [esi + 0x1d50], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x1d4c], eax
mov ecx, dword [esi + 0x1d48]
mov eax, dword [esi + 0x1d50]
mov dword [eax + ecx*4], edi
inc dword [esi + 0x1d48]
mov byte [esi], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b18d1
mov esp, ebp
pop ebp
ret