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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5055f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, ecx
mov dword [ebp - 0x18], eax
test esi, esi
jne 0x41f781
mov eax, 0xffffff9a
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049ad54
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x38], 0
je 0x41f76d
cmp dword [esi + 0x9c], 0
je 0x41f795
call fcn.0041fc90
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x14]
mov ecx, esi
call fcn.0041f550
add esp, 8
test eax, eax
je 0x41f7c2
mov eax, 0xffffff99
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049ad54
mov esp, ebp
pop ebp
ret
push edi
push 0x90
call fcn.004a06c3
mov edi, eax
add esp, 4
test edi, edi
je 0x41f80f
push 0x4000
call fcn.004a06c3
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0x44], ecx
mov ecx, dword [ebp - 0x20]
add esp, 4
mov dword [edi], eax
mov dword [edi + 0x48], ecx
mov dword [edi + 0x4c], 0
mov dword [edi + 0x8c], 0
test eax, eax
jne 0x41f824
push edi
call fcn.0049c7cd
add esp, 4
pop edi
mov eax, 0xffffff98
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049ad54
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x40], 0
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x54], eax
mov dword [edi + 0x50], 0
mov eax, dword [esi + 0x54]
mov dword [edi + 0x84], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x80], eax
movq xmm0, qword [esi]
movq qword [edi + 0x60], xmm0
movq xmm0, qword [esi + 8]
movq qword [edi + 0x68], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x70], xmm0
movq xmm0, qword [esi + 0x18]
movq qword [edi + 0x78], xmm0
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x88], eax
mov dword [edi + 0x18], 0
mov eax, dword [esi + 0x54]
push ebx
cmp eax, 0xc
jne 0x41f944
mov dword [edi + 0x8c], 1
mov eax, dword [esi + 0x60]
mov dword [edi + 0x58], eax
mov eax, dword [esi + 0x64]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp - 0x14]
add eax, 0x1e
add eax, dword [esi + 0x98]
mov dword [edi + 8], 0
mov dword [edi + 0x3c], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], 0
test eax, eax
je 0x41fa0c
push 0x4ef238
lea edx, [esi + 0xa4]
mov ecx, eax
mov dword [esi + 0xb0], 0x4ef238
call fcn.0041ec60
mov ecx, dword [esi + 0x9c]
push 0
mov eax, dword [ecx + 0x88]
add eax, dword [ecx + 0x3c]
push eax
push dword [esi + 0x20]
mov eax, dword [esi + 0x10]
push dword [esi + 0x1c]
call eax
add esp, 0x14
test eax, eax
jne 0x41f92e
push 0xc
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x20]
mov eax, dword [esi + 4]
push dword [esi + 0x1c]
call eax
add esp, 0x10
cmp eax, 0xc
jae 0x41f9ab
pop ebx
pop edi
mov eax, 0xffffff98
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049ad54
mov esp, ebp
pop ebp
ret
cmp eax, 8
jne 0x41f898
lea ecx, [edi + 4]
sub esp, 8
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [ecx], 0
mov dword [edi + 8], 0
call fcn.00420da0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x41f98f
mov dword [edi + 0x40], 8
jmp 0x41f898
push edi
call fcn.0049c7cd
add esp, 4
mov eax, ebx
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049ad54
mov esp, ebp
pop ebp
ret
xor edi, edi
lea ecx, [ecx]
mov eax, dword [esi + 0xac]
and eax, 0xfffd
mov edx, dword [esi + 0xb0]
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
push eax
lea ecx, [esi + 0xa4]
call fcn.0041ec10
inc edi
add esp, 4
cmp edi, 0xc
jl 0x41f9b0
mov eax, dword [esi + 0x9c]
add dword [eax + 0x3c], 0xc
mov dword [esi + 0xa0], 1
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0049ad54
mov esp, ebp
pop ebp
ret