Function at 0x4ffc40
Capabilities:
Hash data with crc32

Disassembly:
sub esp, 0x30
mov eax, dword [0x66d4f4]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x4c]
push ebx
push ebp
mov ebp, dword [esp + 0x40]
push edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x78]
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], eax
jne 0x4ffc98
pop edi
pop ebp
lea eax, [ebx - 0x66]
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.005bd2d7
add esp, 0x30
ret
push esi
mov esi, dword [esp + 0x64]
cmp esi, ebx
je 0x4ffcbe
cmp esi, 8
je 0x4ffcbe
pop esi
pop edi
pop ebp
mov eax, 0xffffff9a
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.005bd2d7
add esp, 0x30
ret
cmp dword [edi + 0x2c], 1
jne 0x4ffcd5
push edi
call fcn.005005b0
add esp, 4
cmp eax, ebx
jne 0x50037a
cmp ebp, ebx
jne 0x4ffce2
mov ebp, 0x63b7c4
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x60]
cmp eax, ebx
jne 0x4ffcf0
mov dword [esp + 0x18], ebx
jmp 0x4ffd02
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4ffcf3
sub eax, edx
mov dword [esp + 0x18], eax
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4ffd07
sub eax, edx
mov edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x1c], eax
jne 0x4ffd26
mov dword [edi + 0x4088], ebx
jmp 0x4ffd38
mov eax, dword [edx + 0x18]
cmp eax, ebx
jne 0x4ffd32
call fcn.004ff550
mov dword [edi + 0x4088], eax
mov eax, dword [esp + 0x68]
cmp eax, 8
mov dword [edi + 0x7c], ebx
je 0x4ffd49
cmp eax, 9
jne 0x4ffd50
mov dword [edi + 0x7c], 2
cmp eax, 2
jne 0x4ffd5b
or dword [edi + 0x7c], 4
jmp 0x4ffd64
cmp eax, 1
jne 0x4ffd64
or dword [edi + 0x7c], 6
cmp dword [esp + 0x28], ebx
je 0x4ffd6e
or dword [edi + 0x7c], 1
mov edx, dword [edi + 0x20]
mov ecx, dword [esp + 0x6c]
mov eax, dword [edi + 0x1c]
push edx
mov dword [edi + 0x84], ecx
mov ecx, dword [edi + 0xc]
push eax
mov dword [edi + 0x408c], ebx
mov dword [edi + 0x80], esi
mov dword [edi + 0x4090], ebx
mov dword [edi + 0x68], ebx
mov dword [edi + 0x6c], ebx
call ecx
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [edi + 0x70], eax
mov eax, dword [esp + 0x24]
add edx, eax
lea eax, [edx + ecx + 0x2e]
push eax
mov dword [edi + 0x78], eax
call fcn.005becf6
mov dword [edi + 0x74], eax
mov byte [eax], 0x50
mov byte [eax + 1], 0x4b
mov byte [eax + 2], 1
mov byte [eax + 3], 2
mov eax, dword [edi + 0x74]
mov byte [eax + 4], bl
mov byte [eax + 5], bl
add eax, 4
mov eax, dword [edi + 0x74]
add eax, 6
mov byte [eax], 0x14
mov byte [eax + 1], bl
mov ecx, dword [edi + 0x74]
mov eax, dword [edi + 0x7c]
add ecx, 8
mov byte [ecx], al
shr eax, 8
add esp, 0xc
mov byte [ecx + 1], al
shr eax, 8
je 0x4ffe03
mov word [ecx], 0xffff
mov ecx, dword [edi + 0x74]
mov eax, dword [edi + 0x80]
add ecx, 0xa
mov byte [ecx], al
shr eax, 8
mov byte [ecx + 1], al
shr eax, 8
je 0x4ffe21
mov word [ecx], 0xffff
mov ecx, dword [edi + 0x74]
mov eax, dword [edi + 0x4088]
add ecx, 0xc
mov byte [ecx], al
shr eax, 8
mov byte [ecx + 1], al
shr eax, 8
mov byte [ecx + 2], al
shr eax, 8
mov byte [ecx + 3], al
shr eax, 8
je 0x4ffe4c
mov dword [ecx], 0xffffffff
mov eax, dword [edi + 0x74]
mov edx, dword [esp + 0x1c]
mov byte [eax + 0x10], bl
mov byte [eax + 0x11], bl
mov byte [eax + 0x12], bl
mov byte [eax + 0x13], bl
add eax, 0x10
mov eax, dword [edi + 0x74]
add eax, 0x14
mov byte [eax], bl
mov byte [eax + 1], bl
mov byte [eax + 2], bl
mov byte [eax + 3], bl
mov eax, dword [edi + 0x74]
add eax, 0x18
mov byte [eax], bl
mov byte [eax + 1], bl
mov byte [eax + 2], bl
mov byte [eax + 3], bl
mov eax, dword [edi + 0x74]
mov ebp, edx
shr ebp, 8
add eax, 0x1c
mov ecx, ebp
mov byte [eax + 1], cl
shr ecx, 8
mov byte [eax], dl
mov dword [esp + 0x20], ebp
je 0x4ffea4
mov word [eax], 0xffff
mov ecx, dword [esp + 0x14]
mov esi, dword [edi + 0x74]
add esi, 0x1e
mov eax, ecx
shr eax, 8
mov byte [esi + 1], al
shr eax, 8
mov byte [esi], cl
je 0x4ffec2
mov word [esi], 0xffff
mov esi, dword [edi + 0x74]
mov eax, dword [esp + 0x18]
add esi, 0x20
mov byte [esi], al
shr eax, 8
mov byte [esi + 1], al
shr eax, 8
je 0x4ffede
mov word [esi], 0xffff
mov eax, dword [edi + 0x74]
add eax, 0x22
cmp dword [esp + 0x10], ebx
mov byte [eax], bl
mov byte [eax + 1], bl
jne 0x4fff10
mov eax, dword [edi + 0x74]
add eax, 0x24
mov byte [eax], bl
mov byte [eax + 1], bl
mov eax, dword [edi + 0x74]
add eax, 0x26
mov byte [eax], bl
mov byte [eax + 1], bl
mov byte [eax + 2], bl
mov byte [eax + 3], bl
jmp 0x4fff5b
mov esi, dword [edi + 0x74]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x1c]
add esi, 0x24
mov byte [esi], al
shr eax, 8
mov byte [esi + 1], al
shr eax, 8
je 0x4fff2f
mov word [esi], 0xffff
mov esi, dword [edi + 0x74]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x20]
add esi, 0x26
mov byte [esi], al
shr eax, 8
mov byte [esi + 1], al
shr eax, 8
mov byte [esi + 2], al
shr eax, 8
mov byte [esi + 3], al
shr eax, 8
je 0x4fff5b
mov dword [esi], 0xffffffff
mov eax, dword [edi + 0x70]
sub eax, dword [edi + 0x40ac]
mov esi, dword [edi + 0x74]
add esi, 0x2a
mov byte [esi], al
shr eax, 8
mov byte [esi + 1], al
shr eax, 8
mov byte [esi + 2], al
shr eax, 8
mov byte [esi + 3], al
shr eax, 8
je 0x4fff89
mov dword [esi], 0xffffffff
xor eax, eax
cmp edx, ebx
jbe 0x4fffb1
nop
mov esi, dword [esp + 0x24]
mov ecx, dword [edi + 0x74]
mov dword [esp + 0x10], ebx
mov bl, byte [esi + eax]
mov byte [ecx + eax + 0x2e], bl
mov ebx, dword [esp + 0x10]
add eax, 1
cmp eax, edx
jb 0x4fff90
mov ecx, dword [esp + 0x14]
xor esi, esi
cmp ecx, ebx
jbe 0x4fffda
mov eax, dword [edi + 0x74]
mov ebp, dword [esp + 0x58]
add eax, esi
mov dword [esp + 0x14], ebx
mov bl, byte [esi + ebp]
add esi, 1
cmp esi, ecx
mov byte [eax + edx + 0x2e], bl
mov ebx, dword [esp + 0x14]
jb 0x4fffb7
mov ebp, dword [esp + 0x20]
xor esi, esi
cmp dword [esp + 0x18], ebx
jbe 0x500009
mov eax, dword [edi + 0x74]
mov ebp, dword [esp + 0x60]
add eax, ecx
add eax, esi
mov dword [esp + 0x14], ecx
mov cl, byte [esi + ebp]
add esi, 1
cmp esi, dword [esp + 0x18]
mov byte [eax + edx + 0x2e], cl
mov ecx, dword [esp + 0x14]
jb 0x4fffe2
mov ebp, dword [esp + 0x20]
or esi, 0xffffffff
cmp dword [edi + 0x74], ebx
jne 0x500027
lea eax, [esi - 0x67]
pop esi
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.005bd2d7
add esp, 0x30
ret
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x1c]
push 4
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, dword [edi + 8]
push edx
mov byte [esp + 0x20], 0x50
mov byte [esp + 0x21], 0x4b
mov byte [esp + 0x22], 3
mov byte [esp + 0x23], 4
call eax
add esp, 0x10
cmp eax, 4
jne 0x50028a
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x1c]
push 2
lea ecx, [esp + 0x24]
push ecx
push eax
mov eax, dword [edi + 8]
push edx
mov byte [esp + 0x30], 0x14
mov byte [esp + 0x31], bl
call eax
add esp, 0x10
cmp eax, 2
jne 0x50028a
mov eax, dword [edi + 0x7c]
mov ecx, dword [edi + 0x20]
mov byte [esp + 0x14], al
shr eax, 8
mov byte [esp + 0x15], al
shr eax, 8
je 0x50009f
mov word [esp + 0x14], si
mov eax, dword [edi + 0x1c]
push 2
lea edx, [esp + 0x18]
push edx
push ecx
mov ecx, dword [edi + 8]
push eax
call ecx
add esp, 0x10
cmp eax, 2
jne 0x50028a
mov eax, dword [edi + 0x80]
mov ecx, dword [edi + 0x20]
mov byte [esp + 0x14], al
shr eax, 8
mov byte [esp + 0x15], al
shr eax, 8
je 0x5000da
mov word [esp + 0x14], si
mov eax, dword [edi + 0x1c]
push 2
lea edx, [esp + 0x18]
push edx
push ecx
mov ecx, dword [edi + 8]
push eax
call ecx
add esp, 0x10
cmp eax, 2
jne 0x50028a
mov eax, dword [edi + 0x4088]
mov ecx, dword [edi + 0x20]
mov byte [esp + 0x18], al
shr eax, 8
mov byte [esp + 0x19], al
shr eax, 8
mov byte [esp + 0x1a], al
shr eax, 8
mov byte [esp + 0x1b], al
shr eax, 8
je 0x500122
mov dword [esp + 0x18], esi
mov eax, dword [edi + 0x1c]
push 4
lea edx, [esp + 0x1c]
push edx
push ecx
mov ecx, dword [edi + 8]
push eax
call ecx
add esp, 0x10
cmp eax, 4
jne 0x50028a
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 8]
push 4
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [edi + 0x1c]
push eax
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], bl
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], bl
call ecx
add esp, 0x10
cmp eax, 4
jne 0x50028a
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 8]
push 4
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [edi + 0x1c]
push eax
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], bl
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], bl
call ecx
add esp, 0x10
cmp eax, 4
jne 0x50028a
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 8]
push 4
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [edi + 0x1c]
push eax
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], bl
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], bl
call ecx
add esp, 0x10
cmp eax, 4
jne 0x50028a
mov dl, byte [esp + 0x1c]
mov ecx, dword [edi + 0x20]
mov eax, ebp
mov byte [esp + 0x15], al
shr eax, 8
mov byte [esp + 0x14], dl
je 0x5001ea
mov word [esp + 0x14], si
mov edx, dword [edi + 8]
push 2
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, dword [edi + 0x1c]
push ecx
call edx
add esp, 0x10
cmp eax, 2
jne 0x50028a
mov eax, dword [esp + 0x54]
mov ecx, dword [edi + 0x20]
mov byte [esp + 0x14], al
shr eax, 8
mov byte [esp + 0x15], al
shr eax, 8
je 0x500223
mov word [esp + 0x14], si
mov edx, dword [edi + 8]
push 2
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, dword [edi + 0x1c]
push ecx
call edx
add esp, 0x10
cmp eax, 2
jne 0x50028a
xor ebp, ebp
cmp dword [esp + 0x1c], ebx
jbe 0x500264
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov edx, dword [edi + 0x20]
push eax
mov eax, dword [edi + 0x1c]
push ecx
mov ecx, dword [edi + 8]
push edx
push eax
call ecx
add esp, 0x10
cmp eax, dword [esp + 0x1c]
jne 0x50028a
cmp dword [esp + 0x54], ebx
jbe 0x50028d
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x2c]
mov ecx, dword [edi + 0x20]
push edx
mov edx, dword [edi + 0x1c]
push eax
mov eax, dword [edi + 8]
push ecx
push edx
call eax
add esp, 0x10
cmp eax, dword [esp + 0x54]
je 0x50028d
or ebp, 0xffffffff
cmp ebp, ebx
lea ecx, [edi + 0x88]
mov dword [edi + 0x34], ebx
mov dword [edi + 0x40], 0x4000
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x44], ebx
jne 0x5002f6
cmp dword [edi + 0x80], 8
jne 0x5002f6
cmp dword [edi + 0x84], ebx
jne 0x5002f6
mov eax, dword [esp + 0x70]
cmp eax, ebx
mov dword [edi + 0x50], ebx
mov dword [edi + 0x54], ebx
mov dword [edi + 0x58], ebx
jle 0x5002ce
neg eax
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x6c]
push ecx
push eax
push edx
lea eax, [edi + 0x30]
call fcn.005027d0
mov ebp, eax
add esp, 0x10
cmp ebp, ebx
jne 0x5002f6
mov dword [edi + 0x68], 1
cmp ebp, ebx
mov dword [edi + 0x40a4], ebx
jne 0x500378
cmp dword [esp + 0x28], ebx
je 0x500371
mov eax, dword [esp + 0x80]
push eax
lea ecx, [esp + 0x34]
mov edx, 0x6148a8
push ecx
mov ecx, dword [esp + 0x30]
lea esi, [edi + 0x4094]
mov dword [edi + 0x4090], 1
mov dword [edi + 0x40a0], edx
call fcn.004ff080
mov ecx, dword [edi + 0x1c]
mov esi, eax
mov eax, dword [edi + 0x20]
push esi
lea edx, [esp + 0x3c]
push edx
mov edx, dword [edi + 8]
push eax
push ecx
mov dword [edi + 0x40a4], esi
call edx
add esp, 0x18
cmp eax, esi
je 0x500371
pop esi
or ebp, 0xffffffff
pop edi
mov eax, ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.005bd2d7
add esp, 0x30
ret
mov dword [edi + 0x2c], 1
mov eax, ebp
mov ecx, dword [esp + 0x3c]
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.005bd2d7
add esp, 0x30
ret