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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x10], edx
xor edi, edi
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], 0
mov esi, edi
mov eax, edi
shr eax, 1
and esi, 1
neg esi
and esi, 0xedb88320
xor esi, eax
mov eax, esi
shr esi, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, esi
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [edi*4 + 0x44b228], eax
inc edi
cmp edi, 0x100
jb 0x41ee55
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x41eefc
mov dword [eax], 0
mov ebx, dword [ebp + 0xc]
push 0x4b0
call fcn.0042442e
add esp, 4
mov esi, eax
test ebx, ebx
jne 0x41efac
test esi, esi
je 0x41f09f
push 0x6f28
mov dword [esi + 0x20], ebx
call fcn.0042442e
add esp, 4
test eax, eax
jne 0x41ef4a
mov dword [esi + 0x4a8], 0
push esi
call fcn.0042422d
add esp, 4
jmp 0x41f09f
mov dword [eax + 0x3c], 0
mov dword [eax + 0x34], 0
push 0x60
mov dword [esi + 0x4a8], eax
lea eax, [esi + 0x40]
push 0
push eax
mov dword [esi], 0
mov byte [esi + 0x24], 0
mov dword [esi + 4], 0
mov dword [esi + 0x18], 0
call fcn.00420f90
mov edi, dword [ebp + 0x10]
add esp, 0xc
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0xc
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], 0xffffffff
jmp 0x41f048
test esi, esi
je 0x41f09f
push 0x6f28
mov dword [esi + 0x20], 2
call fcn.0042442e
add esp, 4
test eax, eax
je 0x41ef32
mov dword [eax + 0x3c], 2
mov dword [eax + 0x34], 0xffffffff
mov dword [eax + 0x18], 0
mov dword [eax + 0x38], 0
push 0x60
mov dword [esi + 0x4a8], eax
lea eax, [esi + 0x40]
push 0
push eax
mov dword [esi], 0
mov byte [esi + 0x24], 0
mov dword [esi + 4], 0
mov dword [esi + 0x18], 0
call fcn.00420f90
push 0x1000
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0xc
mov dword [ebp - 0x14], 0x1000
call fcn.0042442e
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x41f074
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x41f0bb
push 0x1000
mov byte [ebp - 5], 1
call fcn.0042442e
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x41f0bb
test ebx, ebx
je 0x41f074
push edi
call fcn.0042422d
add esp, 4
mov edi, dword [esi + 0x4a8]
cmp dword [edi + 0x3c], 0
je 0x41f090
mov eax, dword [edi + 0x18]
test eax, eax
je 0x41f090
push eax
call fcn.0042422d
add esp, 4
push edi
call fcn.0042422d
push esi
call fcn.0042422d
add esp, 8
push str.XZ_decompressor_ran_out_of_memory
push 0x43be74
call fcn.00414ac0
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0
test ebx, ebx
jne 0x41f0e4
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.0041e060
mov edi, eax
jmp 0x41f13c
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.0041e060
mov ebx, dword [ebp - 0x18]
mov edi, eax
cmp ebx, dword [ebp - 0x14]
je 0x41f100
test edi, edi
je 0x41f0e4
test ebx, ebx
je 0x41f11f
push ebx
push dword [ebp - 0x1c]
call dword [ebp + 0xc]
add esp, 8
mov dword [ebp - 0x18], 0
cmp eax, ebx
mov eax, 8
cmovne edi, eax
test edi, edi
je 0x41f0e4
cmp byte [ebp - 5], 0
je 0x41f131
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0042422d
add esp, 4
push dword [ebp - 0x1c]
call fcn.0042422d
add esp, 4
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x41f148
mov eax, dword [ebp - 0x24]
add dword [ecx], eax
mov ebx, dword [esi + 0x4a8]
cmp dword [ebx + 0x3c], 0
je 0x41f164
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x41f164
push eax
call fcn.0042422d
add esp, 4
push ebx
call fcn.0042422d
push esi
call fcn.0042422d
dec edi
add esp, 8
cmp edi, 7
ja case.0x41f179.2
jmp dword [edi*4 + 0x41f1c0]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, str.XZ_decompressor_ran_out_of_memory
push eax
jmp 0x41f0a4
mov eax, str.Input_is_not_in_the_XZ_format__wrong_magic_bytes_
push eax
jmp 0x41f0a4
mov eax, str.Input_was_encoded_with_settings_that_are_not_supported_by_this_XZ_decoder
push eax
jmp 0x41f0a4
mov eax, str.XZ_compressed_data_is_corrupt
push eax
jmp 0x41f0a4
mov eax, str.Bug_in_the_XZ_decompressor
push eax
jmp 0x41f0a4