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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x14], eax
push edi
test esi, esi
jne 0x408925
mov eax, 0xffffff9a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b999
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x60]
or eax, dword [esi + 0x64]
je 0x40890f
cmp dword [esi + 0xe0], 0
je 0x40893b
call fcn.00408f40
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x18]
call fcn.00408680
add esp, 8
test eax, eax
je 0x40896a
mov eax, 0xffffff99
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b999
mov esp, ebp
pop ebp
ret
push 0xd0
call fcn.0040c42d
mov edi, eax
add esp, 4
test edi, edi
je 0x4089c3
push 0x4000
call fcn.0040c42d
mov ecx, dword [ebp - 0x28]
add esp, 4
mov dword [edi + 0x50], ecx
mov ecx, dword [ebp - 0x24]
mov dword [edi + 0x54], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [edi], eax
mov dword [edi + 0x58], ecx
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0xc8], 0
test eax, eax
jne 0x4089d9
push edi
call fcn.0040bbdc
add esp, 4
mov eax, 0xffffff98
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b999
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x48], 0
mov eax, dword [esi + 0x94]
mov dword [edi + 0x74], eax
mov dword [edi + 0x70], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov eax, dword [esi + 0x8c]
mov dword [edi + 0xb8], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0xb4], eax
movdqu xmm0, xmmword [esi]
movdqu xmmword [edi + 0x88], xmm0
movdqu xmm0, xmmword [esi + 0x10]
movdqu xmmword [edi + 0x98], xmm0
movq xmm0, qword [esi + 0x20]
movq qword [edi + 0xa8], xmm0
mov eax, dword [esi + 0x28]
mov dword [edi + 0xb0], eax
mov eax, dword [esi + 0x48]
mov dword [edi + 0xc0], eax
mov eax, dword [esi + 0x4c]
mov dword [edi + 0xc4], eax
mov dword [edi + 0x18], 0
mov eax, dword [esi + 0x8c]
cmp eax, 0xc
jne 0x408bc3
mov dword [edi + 0xc8], 1
mov eax, dword [esi + 0x98]
xor ecx, ecx
mov dword [edi + 0x78], eax
mov eax, dword [esi + 0x9c]
mov dword [edi + 0x7c], eax
mov eax, dword [esi + 0xa0]
mov dword [edi + 0x80], eax
mov eax, dword [esi + 0xa4]
mov dword [edi + 0x84], eax
mov eax, dword [ebp - 0x18]
add eax, dword [esi + 0xd8]
adc ecx, dword [esi + 0xdc]
add eax, 0x1e
mov dword [edi + 0x40], eax
mov eax, dword [ebp - 0x14]
adc ecx, 0
mov dword [edi + 0x44], ecx
mov dword [edi + 8], 0
mov dword [esi + 0xe0], edi
mov dword [esi + 0xe4], 0
test eax, eax
je 0x408bb0
push 0x4262e0
lea edx, [esi + 0xec]
mov dword [esi + 0xf8], 0x4262e0
mov ecx, eax
call fcn.00407200
mov ecx, dword [esi + 0xe0]
add esp, 4
mov edx, dword [ecx + 0xc0]
add edx, dword [ecx + 0x40]
mov eax, dword [ecx + 0xc4]
adc eax, dword [ecx + 0x44]
mov ecx, esi
push 0
push eax
push edx
mov edx, dword [esi + 0x30]
call fcn.00408fd0
add esp, 0xc
test eax, eax
jne 0x4089c3
push 0xc
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x30]
mov eax, dword [esi + 4]
push dword [esi + 0x1c]
call eax
add esp, 0x10
cmp eax, 0xc
jb 0x4089c3
xor edi, edi
lea esp, [esp]
mov eax, dword [esi + 0xf4]
mov edx, dword [esi + 0xf8]
and eax, 0xfffd
or eax, 2
mov ecx, eax
xor ecx, 1
imul ecx, eax
movsx eax, byte [ebp + edi - 0x10]
shr ecx, 8
and ecx, 0xff
xor ecx, eax
movsx eax, cl
mov byte [ebp + edi - 0x10], cl
lea ecx, [esi + 0xec]
push eax
call fcn.004071b0
inc edi
add esp, 4
cmp edi, 0xc
jl 0x408b50
mov eax, dword [esi + 0xe0]
add dword [eax + 0x40], 0xc
adc dword [eax + 0x44], 0
mov dword [esi + 0xe4], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b999
mov esp, ebp
pop ebp
ret
cmp eax, 8
jne 0x408a74
sub esp, 8
mov dword [edi + 0x24], 0
lea ecx, [edi + 4]
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [ecx], 0
mov dword [edi + 8], 0
call fcn.00409510
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x408c0e
mov dword [edi + 0x48], 8
jmp 0x408a74
push edi
call fcn.0040bbdc
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0040b999
mov esp, ebp
pop ebp
ret