Function at 0x1004a970
Capabilities:
Hash data with crc32

Disassembly:
sub esp, 0x1c
push ebp
mov ebp, dword [0x10132b9c]
mov eax, ecx
push esi
mov esi, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
push edi
test esi, esi
jne 0x1004a99e
mov esi, eax
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1004a991
sub esi, edx
mov dword [esp + 0x14], esi
lea edi, [esi + 1]
mov esi, dword [ebp + 0x2f28]
push ebx
cmp edi, esi
jle 0x1004a9d5
test esi, esi
je 0x1004a9bd
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x1004a9c2
mov ecx, 8
cmp ecx, edi
mov eax, edi
cmovg eax, ecx
lea ecx, [ebp + 0x2f24]
push eax
call fcn.1004bcb0
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x2f24], edi
mov edi, dword [ebp + 0x2f2c]
push eax
push dword [esp + 0x24]
mov dword [esp + 0x24], edi
lea ebx, [edi + eax]
push edi
mov dword [esp + 0x20], ebx
call sub.VCRUNTIME140.dll_memcpy
xor esi, esi
mov byte [ebx], 0
add esp, 0xc
cmp dword [ebp + 0x2f30], esi
jle 0x1004aa36
xor edi, edi
nop dword [eax]
mov eax, dword [ebp + 0x2f38]
add eax, edi
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x1004aa26
push eax
push ebp
call ecx
add esp, 8
inc esi
add edi, 0x24
cmp esi, dword [ebp + 0x2f30]
jl 0x1004aa10
mov edi, dword [esp + 0x1c]
xor edx, edx
xor esi, esi
mov dword [esp + 0x10], edx
mov ecx, edi
cmp edi, ebx
jae 0x1004abad
nop dword [eax + eax]
mov al, byte [ecx]
cmp al, 0xa
je 0x1004abfb
cmp al, 0xd
je 0x1004abfb
mov edi, ecx
cmp ecx, ebx
jae 0x1004aa77
mov al, byte [edi]
cmp al, 0xa
je 0x1004aa77
cmp al, 0xd
je 0x1004aa77
inc edi
cmp edi, ebx
jb 0x1004aa68
mov byte [edi], 0
mov al, byte [ecx]
cmp al, 0x3b
je 0x1004ab9e
cmp al, 0x5b
jne 0x1004ab7c
cmp edi, ecx
jbe 0x1004ab7c
cmp byte [edi - 1], 0x5d
lea ebx, [edi - 1]
jne 0x1004ab78
inc ecx
mov byte [ebx], 0
mov eax, ebx
mov dword [esp + 0x28], ecx
sub eax, ecx
push eax
push 0x5d
push ecx
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
mov dword [esp + 0x24], eax
test eax, eax
je 0x1004ab96
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 0x1004ab96
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov ebx, dword [0x10132b9c]
mov byte [eax], 0
lea eax, [ecx + 1]
mov cl, byte [esi]
inc esi
mov dword [esp + 0x24], eax
or eax, 0xffffffff
test cl, cl
je 0x1004ab33
or ebx, 0xffffffff
cmp cl, 0x23
jne 0x1004ab14
cmp byte [esi], cl
jne 0x1004ab14
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x1011be58]
test cl, cl
jne 0x1004ab05
mov ebx, dword [0x10132b9c]
mov edx, dword [ebx + 0x2f30]
xor ecx, ecx
not eax
test edx, edx
jle 0x1004ab54
mov esi, dword [ebx + 0x2f38]
cmp dword [esi + 4], eax
je 0x1004ab5e
inc ecx
add esi, 0x24
cmp ecx, edx
jl 0x1004ab47
xor esi, esi
xor edx, edx
mov dword [esp + 0x10], edx
jmp 0x1004ab9a
test esi, esi
je 0x1004ab56
push dword [esp + 0x24]
mov eax, dword [esi + 0x10]
push esi
push ebp
call eax
mov edx, eax
add esp, 0xc
mov dword [esp + 0x10], edx
jmp 0x1004ab9a
mov ebx, dword [esp + 0x14]
test esi, esi
je 0x1004ab9e
test edx, edx
je 0x1004ab9e
mov eax, dword [esi + 0x14]
push ecx
push edx
push esi
push ebp
call eax
mov edx, dword [esp + 0x20]
add esp, 0x10
jmp 0x1004ab9e
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
lea ecx, [edi + 1]
cmp ecx, ebx
jb 0x1004aa50
mov edi, dword [esp + 0x1c]
push dword [esp + 0x18]
mov byte [ebp + 0x2f1d], 1
push dword [esp + 0x24]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor esi, esi
pop ebx
cmp dword [ebp + 0x2f30], esi
jle 0x1004abf4
xor edi, edi
mov eax, dword [ebp + 0x2f38]
add eax, edi
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x1004abe8
push eax
push ebp
call ecx
add esp, 8
inc esi
add edi, 0x24
cmp esi, dword [ebp + 0x2f30]
jl 0x1004abd2
pop edi
pop esi
pop ebp
add esp, 0x1c
ret
inc ecx
jmp 0x1004aa50