Function at 0x100519d0
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, 0x101ad509
mov al, 0x57
or ebp, 0xffffffff
nop
cmp al, 0x23
jne 0x10051a0e
cmp byte [esi], al
jne 0x10051a0e
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 + 0x10188d38]
test al, al
jne 0x10051a00
lea eax, [esp + 0x10]
mov dword [esp + 0x18], 0x1005e1b0
not edx
mov dword [esp + 0x20], 0x1005e220
push eax
lea ecx, [edi + 0x2f30]
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], 0x1005e260
mov dword [esp + 0x2c], 0x1005e320
mov dword [esp + 0x30], 0x1005e3e0
call fcn.1005e800
mov dword [esp + 0x1c], 0
or edx, 0xffffffff
mov dword [esp + 0x30], 0
mov esi, 0x101adcc1
mov dword [esp + 0x10], str.Table
mov al, 0x54
cmp al, 0x23
jne 0x10051a95
cmp byte [esi], al
jne 0x10051a95
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 + 0x10188d38]
test al, al
jne 0x10051a87
lea eax, [esp + 0x10]
mov dword [esp + 0x18], 0x10067b70
not edx
mov dword [esp + 0x20], 0x10067c40
push eax
lea ecx, [edi + 0x2f30]
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], 0x10067cd0
mov dword [esp + 0x2c], 0x10067bf0
mov dword [esp + 0x30], 0x10067f20
call fcn.1005e800
mov eax, dword [0x101bf8f4]
test eax, eax
je 0x10051afb
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 0x10051be1
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 0x10051b84
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 0x10051be3
xor esi, esi
mov ebx, dword [edi + 0x1d38]
mov ecx, dword [edi + 0x1d3c]
cmp ebx, ecx
jne 0x10051c80
inc ebx
test ecx, ecx
je 0x10051c07
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10051c0c
mov eax, 8
cmp eax, ebx
cmovg ebx, eax
cmp ebx, ecx
jle 0x10051c80
mov eax, dword [0x101bf8f4]
test eax, eax
je 0x10051c24
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 0x10051c74
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 0x10051c6a
mov eax, dword [0x101bf8f4]
test eax, eax
je 0x10051c6a
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