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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x7286bc]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
push edi
test esi, esi
jne 0x40eb92
mov eax, 0xffffff9a
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00609802
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x60]
or eax, dword [esi + 0x64]
je 0x40eb7b
cmp dword [esi + 0xe0], 0
je 0x40ebac
push esi
call fcn.0040f3d0
add esp, 4
lea eax, [esp + 0x10]
mov ecx, esi
push eax
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x20]
call fcn.0040e8e0
add esp, 8
test eax, eax
je 0x40ebdf
mov eax, 0xffffff99
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00609802
mov esp, ebp
pop ebp
ret
push 0xd0
call fcn.0063cd98
mov edi, eax
add esp, 4
test edi, edi
je 0x40ec3a
push 0x4000
call fcn.0063cd98
mov ecx, dword [esp + 0x24]
add esp, 4
mov dword [edi + 0x50], ecx
mov ecx, dword [esp + 0x24]
mov dword [edi + 0x54], ecx
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x58], ecx
mov ecx, dword [ebp + 0xc]
mov dword [edi], eax
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0xc8], ecx
test eax, eax
jne 0x40ec51
push edi
call fcn.006183af
add esp, 4
mov eax, 0xffffff98
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00609802
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x14]
mov dword [edi + 0x48], 0
test edx, edx
je 0x40ec68
mov eax, dword [esi + 0x8c]
mov dword [edx], eax
test ebx, ebx
je 0x40eca0
mov dword [ebx], 6
mov eax, dword [esi + 0x88]
and eax, 6
sub eax, 2
je 0x40ec9a
sub eax, 2
je 0x40ec92
sub eax, 2
jne 0x40eca0
mov dword [ebx], 1
jmp 0x40eca0
mov dword [ebx], 2
jmp 0x40eca0
mov dword [ebx], 9
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
movups xmm0, xmmword [esi]
movups xmmword [edi + 0x88], xmm0
movups xmm0, xmmword [esi + 0x10]
movups 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 0x40ee85
test ecx, ecx
jne 0x40ee85
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 [esp + 0x18]
add eax, dword [esi + 0xd8]
adc ecx, dword [esi + 0xdc]
add eax, 0x1e
mov dword [edi + 0x40], eax
mov eax, dword [esp + 0x1c]
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 0x40ee71
push 0x6e97e0
lea edx, [esi + 0xec]
mov dword [esi + 0xf8], 0x6e97e0
mov ecx, eax
call fcn.0040cb80
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.0040fd20
add esp, 0xc
test eax, eax
jne 0x40ec3a
push 0xc
lea eax, [esp + 0x2c]
push eax
push dword [esi + 0x30]
mov eax, dword [esi + 4]
push dword [esi + 0x1c]
call eax
add esp, 0x10
cmp eax, 0xc
jb 0x40ec3a
xor edi, edi
mov ecx, dword [esi + 0xf4]
mov edx, dword [esi + 0xf8]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
movzx ecx, al
movsx eax, byte [esp + edi + 0x28]
xor ecx, eax
movsx eax, cl
mov byte [esp + edi + 0x28], cl
lea ecx, [esi + 0xec]
push eax
call fcn.0040cb30
inc edi
add esp, 4
cmp edi, 0xc
jl 0x40ee13
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 [esp + 0x28]
xor ecx, esp
call fcn.00609802
mov esp, ebp
pop ebp
ret
cmp eax, 8
jne 0x40ed38
test ecx, ecx
jne 0x40ed38
mov dword [edi + 0x24], ecx
lea edx, [eax - 0x17]
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], ecx
lea ecx, [edi + 4]
push 0x38
push str.1.2.5
mov dword [ecx], 0
mov dword [edi + 8], 0
call fcn.00412df0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x40eed3
mov dword [edi + 0x48], 8
jmp 0x40ed38
push edi
call fcn.006183af
mov ecx, dword [esp + 0x38]
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00609802
mov esp, ebp
pop ebp
ret