Function at 0x10028460
Capabilities:
Hash data with crc32

Disassembly:
sub esp, 0x1c
push ebp
mov ebp, dword [0x1005be30]
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 0x10028492
mov esi, eax
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10028485
sub esi, edx
mov dword [esp + 0x18], esi
lea edi, [esi + 1]
mov esi, dword [ebp + 0x2ea8]
push ebx
cmp edi, esi
jle 0x100284c9
test esi, esi
je 0x100284b1
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x100284b6
mov ecx, 8
cmp ecx, edi
mov eax, edi
cmovg eax, ecx
lea ecx, [ebp + 0x2ea4]
push eax
call fcn.100299a0
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x2ea4], edi
mov edi, dword [ebp + 0x2eac]
push eax
push dword [esp + 0x28]
mov dword [esp + 0x28], 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 + 0x2eb0], esi
jle 0x10028527
xor edi, edi
mov eax, dword [ebp + 0x2eb8]
add eax, edi
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x10028517
push eax
push ebp
call ecx
add esp, 8
inc esi
add edi, 0x24
cmp esi, dword [ebp + 0x2eb0]
jl 0x10028501
mov edi, dword [esp + 0x20]
xor edx, edx
xor esi, esi
mov dword [esp + 0x10], edx
mov ecx, edi
cmp edi, ebx
jae 0x100286a2
nop dword [eax]
mov al, byte [ecx]
cmp al, 0xa
je 0x100286f9
cmp al, 0xd
je 0x100286f9
mov edi, ecx
cmp ecx, ebx
jae 0x10028567
mov al, byte [edi]
cmp al, 0xa
je 0x10028567
cmp al, 0xd
je 0x10028567
inc edi
cmp edi, ebx
jb 0x10028558
mov byte [edi], 0
mov al, byte [ecx]
cmp al, 0x3b
je 0x10028693
cmp al, 0x5b
jne 0x1002866d
cmp edi, ecx
jbe 0x1002866d
cmp byte [edi - 1], 0x5d
lea ebx, [edi - 1]
jne 0x10028669
lea ebp, [ecx + 1]
mov byte [ebx], 0
mov eax, ebx
sub eax, ebp
push eax
push 0x5d
push ebp
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
mov dword [esp + 0x28], eax
test eax, eax
je 0x10028687
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 0x10028687
mov eax, dword [esp + 0x28]
lea esi, [ebp + 1]
mov ebx, dword [0x1005be30]
mov byte [eax], 0
lea eax, [ecx + 1]
mov cl, byte [ebp]
mov dword [esp + 0x28], eax
or eax, 0xffffffff
test cl, cl
je 0x10028620
or ebx, 0xffffffff
cmp cl, 0x23
jne 0x10028601
cmp byte [esi], cl
jne 0x10028601
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 + 0x10050120]
test cl, cl
jne 0x100285f2
mov ebx, dword [0x1005be30]
mov edx, dword [ebx + 0x2eb0]
xor ecx, ecx
not eax
test edx, edx
jle 0x10028641
mov esi, dword [ebx + 0x2eb8]
cmp dword [esi + 4], eax
je 0x1002864b
inc ecx
add esi, 0x24
cmp ecx, edx
jl 0x10028634
xor esi, esi
xor edx, edx
mov dword [esp + 0x10], edx
jmp 0x1002868b
test esi, esi
je 0x10028643
push dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi + 0x10]
push esi
push ebp
call eax
mov edx, eax
add esp, 0xc
mov dword [esp + 0x10], edx
jmp 0x1002868f
mov ebx, dword [esp + 0x14]
test esi, esi
je 0x10028693
test edx, edx
je 0x10028693
mov eax, dword [esi + 0x14]
push ecx
push edx
push esi
push ebp
call eax
mov edx, dword [esp + 0x20]
add esp, 0x10
jmp 0x10028693
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
lea ecx, [edi + 1]
cmp ecx, ebx
jb 0x10028540
mov edi, dword [esp + 0x20]
push dword [esp + 0x1c]
mov byte [ebp + 0x2e9d], 1
push dword [esp + 0x28]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor esi, esi
pop ebx
cmp dword [ebp + 0x2eb0], esi
jle 0x100286f2
xor edi, edi
nop word [eax + eax]
mov eax, dword [ebp + 0x2eb8]
add eax, edi
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x100286e6
push eax
push ebp
call ecx
add esp, 8
inc esi
add edi, 0x24
cmp esi, dword [ebp + 0x2eb0]
jl 0x100286d0
pop edi
pop esi
pop ebp
add esp, 0x1c
ret
inc ecx
jmp 0x10028540