Function at 0x10016d00
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, edx
mov edx, dword [0x10043a6c]
mov dword [ebp - 0xc], edx
push edi
mov edi, ecx
test esi, esi
jne 0x10016d29
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x10016d20
sub esi, ecx
test edx, edx
je 0x10016d33
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 0x10016ecc
nop dword [eax]
mov al, byte [ecx]
cmp al, 0xa
je 0x10016efa
cmp al, 0xd
je 0x10016efa
mov esi, ecx
cmp ecx, ebx
jae 0x10016d97
mov al, byte [esi]
cmp al, 0xa
je 0x10016d97
cmp al, 0xd
je 0x10016d97
inc esi
cmp esi, ebx
jb 0x10016d88
mov byte [esi], 0
mov al, byte [ecx]
cmp al, 0x3b
je 0x10016ebe
cmp al, 0x5b
jne 0x10016e9d
cmp esi, ecx
jbe 0x10016e9d
cmp byte [esi - 1], 0x5d
lea ebx, [esi - 1]
jne 0x10016e9a
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 0x10016eb8
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 0x10016eb8
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov ebx, dword [0x10043a6c]
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 0x10016e4e
or ebx, 0xffffffff
cmp cl, 0x23
jne 0x10016e2f
cmp byte [edi], cl
jne 0x10016e2f
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 + 0x1003b898]
test cl, cl
jne 0x10016e20
mov ebx, dword [0x10043a6c]
mov edi, dword [ebx + 0x2d44]
xor ecx, ecx
not eax
test edi, edi
jle 0x10016e71
mov ebx, dword [ebx + 0x2d4c]
lea edx, [ebx + 4]
cmp dword [edx], eax
je 0x10016e7a
inc ecx
add edx, 0x18
cmp ecx, edi
jl 0x10016e65
xor edi, edi
xor edx, edx
mov dword [ebp - 4], edx
jmp 0x10016ebb
lea eax, [ecx + ecx*2]
lea edi, [ebx + eax*8]
test edi, edi
je 0x10016e73
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 0x10016ebb
mov ebx, dword [ebp - 8]
test edi, edi
je 0x10016ebe
test edx, edx
je 0x10016ebe
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 0x10016ebe
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
lea ecx, [esi + 1]
cmp ecx, ebx
jb 0x10016d70
mov esi, dword [ebp - 0x10]
pop ebx
test esi, esi
je 0x10016ee0
mov eax, dword [0x10043a6c]
test eax, eax
je 0x10016ee0
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 + 0x2d30], 1
pop esi
mov esp, ebp
pop ebp
ret
inc ecx
jmp 0x10016d70