Function at 0x471648
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push 0x34
mov eax, 0x48d3c2
call fcn.0047ebf1
mov edi, ecx
push ecx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call fcn.0047171d
test eax, eax
jne 0x47170b
mov ecx, dword [edi + 0x20]
xor edx, edx
push 3
pop esi
xor ebx, ebx
lea eax, [ecx + ecx]
div esi
inc eax
cmp dword [edi], eax
jae 0x4c3886
mov esi, dword [ebp - 0x14]
mov eax, dword [edi + 0x1c]
mov ebx, dword [eax + esi*4]
test ebx, ebx
jne 0x4716bd
push 0xc
pop ecx
call fcn.0043d6d0
mov ebx, eax
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x471719
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
test ebx, ebx
je 0x471719
mov eax, dword [edi + 0x1c]
mov dword [eax + esi*4], ebx
lea eax, [ebp + 8]
lea ecx, [edi + 4]
push eax
call fcn.0046ffad
test eax, eax
je 0x471719
lea eax, [ebp + 0xc]
push eax
lea ecx, [edi + 0x10]
call fcn.0046ffad
test eax, eax
je 0x471719
mov esi, dword [edi + 8]
xor edx, edx
mov eax, dword [edi + 0x14]
dec esi
dec eax
mov dword [ebp - 0x20], esi
or edx, eax
mov ecx, ebx
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], edx
push eax
call fcn.0044d360
test eax, eax
je 0x471719
inc dword [edi]
xor eax, eax
inc eax
call fcn.0047ebbf
ret 8
mov edx, dword [edi + 0x10]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [edx + eax*4], ecx
jmp 0x471700
xor eax, eax
jmp 0x471703
cmp ecx, 0x401e825f
jae 0x47168b
mov eax, ebx
cmp ecx, dword [eax*4 + 0x417a30]
jb 0x4c38a3
inc eax
cmp eax, 0x16
jb 0x4c3894
mov esi, dword [eax*4 + 0x417a30]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
push esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
call fcn.00471945
test eax, eax
jne 0x4c38de
cmp dword [ebp - 0x30], eax
je 0x471719
push dword [ebp - 0x30]
jmp 0x4c38d2
push esi
call dword [sym.imp.tbbmalloc.dll_scalable_free]
pop ecx
jmp 0x471719
mov eax, esi
mov esi, dword [ebp - 0x30]
shl eax, 2
push eax
push ebx
push esi
call sub.VCRUNTIME140.dll_memset
or dword [ebp - 0x38], 0xffffffff
add esp, 0xc
or dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x40], 0x41aff4
mov dword [ebp - 0x3c], edi
lea ecx, [ebp - 0x40]
call fcn.004da3cf
test eax, eax
je 0x4c39c0
mov ecx, dword [ebp - 0x3c]
lea ebx, [ebp - 0x10]
mov eax, dword [ebp - 0x38]
push 4
pop esi
mov ecx, dword [ecx + 0x1c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x34]
mov edx, dword [ecx + eax*8]
mov ecx, dword [ecx + eax*8 + 4]
mov eax, dword [edi + 4]
mov dword [ebp - 0x18], edx
or edx, 0xffffffff
mov dword [ebp - 0x1c], ecx
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x10], eax
movzx eax, byte [ebx]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x4120f0]
inc ebx
sub esi, 1
jne 0x4c3943
mov eax, edx
mov esi, dword [ebp - 0x30]
xor edx, edx
div dword [ebp - 0x2c]
mov ebx, edx
mov ecx, dword [esi + ebx*4]
test ecx, ecx
jne 0x4c3990
push 0xc
pop ecx
call fcn.0043d6d0
mov ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x4c39b3
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov dword [ecx + 4], eax
test ecx, ecx
je 0x4c39b3
mov dword [esi + ebx*4], ecx
mov edx, dword [ebp - 0x1c]
xor eax, eax
or eax, dword [ebp - 0x18]
xor ebx, ebx
mov dword [ebp - 0x24], eax
or edx, ebx
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], edx
push eax
call fcn.0044d360
test eax, eax
jne 0x4c3903
test esi, esi
je 0x471719
jmp 0x4c38d1
cmp dword [edi + 0x20], 0
mov ecx, ebx
mov dword [ebp - 0x10], ecx
lea ebx, [edi + 0x1c]
jbe 0x4c39f1
mov eax, dword [ebx]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x4c39e8
push ecx
mov ecx, eax
call fcn.0046f14d
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x10]
and dword [eax + ecx*4], 0
inc ecx
mov dword [ebp - 0x10], ecx
cmp ecx, dword [edi + 0x20]
jb 0x4c39ce
mov ecx, ebx
call fcn.0046f084
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebx]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x28]
or dword [ebp - 4], 0xffffffff
mov dword [ebx], esi
mov dword [ebx + 8], eax
test ecx, ecx
je 0x4c3a18
push ecx
call dword [sym.imp.tbbmalloc.dll_scalable_free]
pop ecx
push ecx
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call fcn.0047171d
jmp 0x47168b