Function at 0x41e210
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 + 0x4491f8], eax
inc edi
cmp edi, 0x100
jb 0x41e225
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x41e2cc
mov dword [eax], 0
mov ebx, dword [ebp + 0xc]
push 0x4b0
call fcn.004237fe
add esp, 4
mov esi, eax
test ebx, ebx
jne 0x41e37c
test esi, esi
je 0x41e46f
push 0x6f28
mov dword [esi + 0x20], ebx
call fcn.004237fe
add esp, 4
test eax, eax
jne 0x41e31a
mov dword [esi + 0x4a8], 0
push esi
call fcn.004235fd
add esp, 4
jmp 0x41e46f
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.00420360
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 0x41e418
test esi, esi
je 0x41e46f
push 0x6f28
mov dword [esi + 0x20], 2
call fcn.004237fe
add esp, 4
test eax, eax
je 0x41e302
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.00420360
push 0x1000
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0xc
mov dword [ebp - 0x14], 0x1000
call fcn.004237fe
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x41e444
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x41e48b
push 0x1000
mov byte [ebp - 5], 1
call fcn.004237fe
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x41e48b
test ebx, ebx
je 0x41e444
push edi
call fcn.004235fd
add esp, 4
mov edi, dword [esi + 0x4a8]
cmp dword [edi + 0x3c], 0
je 0x41e460
mov eax, dword [edi + 0x18]
test eax, eax
je 0x41e460
push eax
call fcn.004235fd
add esp, 4
push edi
call fcn.004235fd
push esi
call fcn.004235fd
add esp, 8
push str.XZ_decompressor_ran_out_of_memory
push 0x43ae74
call fcn.00414230
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 0x41e4b4
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.0041d430
mov edi, eax
jmp 0x41e50c
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.0041d430
mov ebx, dword [ebp - 0x18]
mov edi, eax
cmp ebx, dword [ebp - 0x14]
je 0x41e4d0
test edi, edi
je 0x41e4b4
test ebx, ebx
je 0x41e4ef
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 0x41e4b4
cmp byte [ebp - 5], 0
je 0x41e501
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004235fd
add esp, 4
push dword [ebp - 0x1c]
call fcn.004235fd
add esp, 4
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x41e518
mov eax, dword [ebp - 0x24]
add dword [ecx], eax
mov ebx, dword [esi + 0x4a8]
cmp dword [ebx + 0x3c], 0
je 0x41e534
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x41e534
push eax
call fcn.004235fd
add esp, 4
push ebx
call fcn.004235fd
push esi
call fcn.004235fd
dec edi
add esp, 8
cmp edi, 7
ja case.0x41e549.2
jmp dword [edi*4 + 0x41e590]
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 0x41e474
mov eax, str.Input_is_not_in_the_XZ_format__wrong_magic_bytes_
push eax
jmp 0x41e474
mov eax, str.Input_was_encoded_with_settings_that_are_not_supported_by_this_XZ_decoder
push eax
jmp 0x41e474
mov eax, str.XZ_compressed_data_is_corrupt
push eax
jmp 0x41e474
mov eax, str.Bug_in_the_XZ_decompressor
push eax
jmp 0x41e474