Function at 0x1001c720
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, edx
mov edx, dword [0x1004e688]
mov dword [ebp - 0xc], edx
push edi
mov edi, ecx
test esi, esi
jne 0x1001c749
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x1001c740
sub esi, ecx
test edx, edx
je 0x1001c753
inc dword [edx + 0x374]
lea eax, [esi + 1]
push ebx
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push esi
push edi
push eax
lea ebx, [eax + esi]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ebx
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [ebp - 0x10]
xor edx, edx
add esp, 0x10
mov byte [ebx], 0
xor edi, edi
mov dword [ebp - 4], edx
mov ecx, esi
cmp esi, ebx
jae 0x1001c8ec
nop dword [eax]
mov al, byte [ecx]
cmp al, 0xa
je 0x1001c91a
cmp al, 0xd
je 0x1001c91a
mov esi, ecx
cmp ecx, ebx
jae 0x1001c7b7
mov al, byte [esi]
cmp al, 0xa
je 0x1001c7b7
cmp al, 0xd
je 0x1001c7b7
inc esi
cmp esi, ebx
jb 0x1001c7a8
mov byte [esi], 0
mov al, byte [ecx]
cmp al, 0x3b
je 0x1001c8de
cmp al, 0x5b
jne 0x1001c8bd
cmp esi, ecx
jbe 0x1001c8bd
cmp byte [esi - 1], 0x5d
lea ebx, [esi - 1]
jne 0x1001c8ba
inc ecx
mov byte [ebx], 0
mov eax, ebx
mov dword [ebp - 0x18], ecx
sub eax, ecx
push eax
push 0x5d
push ecx
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1001c8d8
lea ecx, [eax + 1]
sub ebx, ecx
push ebx
push 0x5b
push ecx
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x1001c8d8
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov ebx, dword [0x1004e688]
mov byte [eax], 0
lea eax, [ecx + 1]
mov cl, byte [edi]
inc edi
mov dword [ebp - 0x14], eax
or eax, 0xffffffff
test cl, cl
je 0x1001c86e
or ebx, 0xffffffff
cmp cl, 0x23
jne 0x1001c84f
cmp byte [edi], cl
jne 0x1001c84f
cmp byte [edi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [edi]
inc edi
xor eax, dword [edx*4 + 0x10043630]
test cl, cl
jne 0x1001c840
mov ebx, dword [0x1004e688]
mov edi, dword [ebx + 0x2da0]
xor ecx, ecx
not eax
test edi, edi
jle 0x1001c891
mov ebx, dword [ebx + 0x2da8]
lea edx, [ebx + 4]
cmp dword [edx], eax
je 0x1001c89a
inc ecx
add edx, 0x18
cmp ecx, edi
jl 0x1001c885
xor edi, edi
xor edx, edx
mov dword [ebp - 4], edx
jmp 0x1001c8db
lea eax, [ecx + ecx*2]
lea edi, [ebx + eax*8]
test edi, edi
je 0x1001c893
push dword [ebp - 0x14]
mov eax, dword [edi + 8]
push edi
push dword [ebp - 0xc]
call eax
mov edx, eax
add esp, 0xc
mov dword [ebp - 4], edx
jmp 0x1001c8db
mov ebx, dword [ebp - 8]
test edi, edi
je 0x1001c8de
test edx, edx
je 0x1001c8de
mov eax, dword [edi + 0xc]
push ecx
push edx
push edi
push dword [ebp - 0xc]
call eax
mov edx, dword [ebp - 4]
add esp, 0x10
jmp 0x1001c8de
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
lea ecx, [esi + 1]
cmp ecx, ebx
jb 0x1001c790
mov esi, dword [ebp - 0x10]
pop ebx
test esi, esi
je 0x1001c900
mov eax, dword [0x1004e688]
test eax, eax
je 0x1001c900
dec dword [eax + 0x374]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebp - 0xc]
add esp, 4
pop edi
mov byte [eax + 0x2d8c], 1
pop esi
mov esp, ebp
pop ebp
ret
inc ecx
jmp 0x1001c790