Function at 0x1004ec40
Capabilities:
Hash data with crc32

Disassembly:
sub esp, 0x1c
push ebp
mov ebp, dword [0x101541b4]
mov eax, ecx
push esi
mov esi, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ebp
push edi
test esi, esi
jne 0x1004ec72
mov esi, eax
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1004ec65
sub esi, edx
mov dword [esp + 0x18], esi
lea edi, [esi + 1]
mov esi, dword [ebp + 0x2e9c]
push ebx
cmp edi, esi
jle 0x1004eca9
test esi, esi
je 0x1004ec91
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x1004ec96
mov ecx, 8
cmp ecx, edi
mov eax, edi
cmovg eax, ecx
lea ecx, [ebp + 0x2e98]
push eax
call fcn.10051960
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x2e98], edi
mov ecx, dword [ebp + 0x2ea0]
push eax
push dword [esp + 0x28]
mov dword [esp + 0x28], ecx
lea edi, [ecx + eax]
push ecx
mov dword [esp + 0x1c], edi
call fcn.100fe460
xor esi, esi
mov byte [edi], 0
add esp, 0xc
cmp dword [ebp + 0x2ea4], esi
jle 0x1004ed04
xor edi, edi
mov edx, dword [ebp + 0x2eac]
add edx, edi
mov eax, dword [edx + 0xc]
test eax, eax
je 0x1004ecf4
mov ecx, ebp
call eax
inc esi
add edi, 0x24
cmp esi, dword [ebp + 0x2ea4]
jl 0x1004ece1
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x14], edx
mov ecx, eax
cmp eax, edi
jae 0x1004ee88
nop word [eax + eax]
mov al, byte [ecx]
cmp al, 0xa
je 0x1004eed6
cmp al, 0xd
je 0x1004eed6
mov esi, ecx
cmp ecx, edi
jae 0x1004ed47
mov al, byte [esi]
cmp al, 0xa
je 0x1004ed47
cmp al, 0xd
je 0x1004ed47
inc esi
cmp esi, edi
jb 0x1004ed38
mov byte [esi], 0
mov al, byte [ecx]
cmp al, 0x3b
je 0x1004ee79
cmp al, 0x5b
jne 0x1004ee54
cmp esi, ecx
jbe 0x1004ee54
cmp byte [esi - 1], 0x5d
lea edi, [esi - 1]
jne 0x1004ee50
lea ebp, [ecx + 1]
mov byte [edi], 0
mov eax, edi
sub eax, ebp
push eax
push 0x5d
push ebp
call fcn.100fe9e0
add esp, 0xc
mov dword [esp + 0x28], eax
test eax, eax
je 0x1004ee6d
lea ecx, [eax + 1]
sub edi, ecx
push edi
push 0x5b
push ecx
call fcn.100fe9e0
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x1004ee6d
mov eax, dword [esp + 0x28]
lea edi, [ebp + 1]
mov ebx, dword [0x101541b4]
mov byte [eax], 0
lea eax, [ecx + 1]
mov cl, byte [ebp]
mov dword [esp + 0x28], eax
or eax, 0xffffffff
test cl, cl
je 0x1004ee00
or ebx, 0xffffffff
cmp cl, 0x23
jne 0x1004ede1
cmp byte [edi], cl
jne 0x1004ede1
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 + 0x10138340]
test cl, cl
jne 0x1004edd2
mov ebx, dword [0x101541b4]
mov edi, dword [ebx + 0x2ea4]
xor ecx, ecx
not eax
test edi, edi
jle 0x1004ee23
mov ebx, dword [ebx + 0x2eac]
lea edx, [ebx + 4]
cmp dword [edx], eax
je 0x1004ee2d
inc ecx
add edx, 0x24
cmp ecx, edi
jl 0x1004ee17
xor ebx, ebx
xor edx, edx
mov dword [esp + 0x14], edx
jmp 0x1004ee71
lea eax, [ecx + ecx*8]
lea ebx, [ebx + eax*4]
test ebx, ebx
je 0x1004ee25
push dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov edx, ebx
mov eax, dword [ebx + 0x10]
mov ecx, ebp
call eax
mov edx, eax
mov dword [esp + 0x14], edx
jmp 0x1004ee75
mov edi, dword [esp + 0x10]
test ebx, ebx
je 0x1004ee79
test edx, edx
je 0x1004ee79
mov eax, dword [ebx + 0x14]
push ecx
push edx
mov edx, ebx
mov ecx, ebp
call eax
mov edx, dword [esp + 0x14]
jmp 0x1004ee79
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
lea ecx, [esi + 1]
cmp ecx, edi
jb 0x1004ed20
mov eax, dword [esp + 0x20]
push dword [esp + 0x1c]
mov byte [ebp + 0x2e91], 1
push dword [esp + 0x28]
push eax
call fcn.100fe460
add esp, 0xc
xor esi, esi
pop ebx
cmp dword [ebp + 0x2ea4], esi
jle 0x1004eecf
xor edi, edi
nop dword [eax]
mov edx, dword [ebp + 0x2eac]
add edx, edi
mov eax, dword [edx + 0x18]
test eax, eax
je 0x1004eec3
mov ecx, ebp
call eax
inc esi
add edi, 0x24
cmp esi, dword [ebp + 0x2ea4]
jl 0x1004eeb0
pop edi
pop esi
pop ebp
add esp, 0x1c
ret
inc ecx
jmp 0x1004ed20