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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0xc], edx
push edi
mov dword [ebp - 8], ebx
xor edi, edi
mov byte [ebp - 1], 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 + 0x454c70], eax
inc edi
cmp edi, 0x100
jb 0x414917
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4149be
mov dword [eax], 0
push 0x4b0
call fcn.0042475b
mov edi, eax
add esp, 4
test edi, edi
je 0x414acb
push 0x6f28
mov dword [edi + 0x20], 2
call fcn.0042475b
add esp, 4
test eax, eax
jne 0x414a01
mov dword [edi + 0x4a8], eax
push edi
call fcn.00424740
add esp, 4
jmp 0x414acb
mov dword [eax + 0x3c], 2
mov dword [eax + 0x34], 0xffffffff
mov dword [eax + 0x18], 0
mov dword [eax + 0x38], 0
push 0x60
mov dword [edi + 0x4a8], eax
lea eax, [edi + 0x40]
push 0
push eax
mov dword [edi], 0
mov byte [edi + 0x24], 0
mov dword [edi + 4], 0
mov dword [edi + 0x18], 0
call fcn.00423b10
push 0x1000
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0xc
mov dword [ebp - 0x10], 0x1000
call fcn.0042475b
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x18], esi
test esi, esi
je 0x414aa0
test ebx, ebx
jne 0x414ae9
push 0x1000
mov byte [ebp - 1], 1
call fcn.0042475b
mov ebx, eax
mov dword [ebp - 8], eax
add esp, 4
test ebx, ebx
jne 0x414ae9
push esi
call fcn.00424740
add esp, 4
mov esi, dword [edi + 0x4a8]
cmp dword [esi + 0x3c], 0
je 0x414abc
mov eax, dword [esi + 0x18]
test eax, eax
je 0x414abc
push eax
call fcn.00424740
add esp, 4
push esi
call fcn.00424740
push edi
call fcn.00424740
add esp, 8
push str.XZ_decompressor_ran_out_of_memory
push 0x44a584
push 1
call fcn.00401a20
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x24]
mov ecx, edi
call fcn.00413b20
mov ebx, dword [ebp - 0x14]
mov esi, eax
mov dword [ebp - 0xc], esi
cmp ebx, dword [ebp - 0x10]
je 0x414b1f
test esi, esi
je 0x414b00
test ebx, ebx
je 0x414b4f
mov eax, dword [0x453b48]
mov esi, dword [0x453b44]
add eax, esi
push ebx
push dword [ebp - 0x18]
push eax
call fcn.004241c0
add esi, ebx
mov dword [ebp - 0x14], 0
mov dword [0x453b44], esi
add esp, 0xc
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x414b00
cmp byte [ebp - 1], 0
je 0x414b60
push dword [ebp - 8]
call fcn.00424740
add esp, 4
push dword [ebp - 0x18]
call fcn.00424740
mov ecx, dword [ebp + 0x14]
add esp, 4
test ecx, ecx
je 0x414b77
mov eax, dword [ebp - 0x20]
add dword [ecx], eax
mov ebx, dword [edi + 0x4a8]
cmp dword [ebx + 0x3c], 0
je 0x414b93
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x414b93
push eax
call fcn.00424740
add esp, 4
push ebx
call fcn.00424740
push edi
call fcn.00424740
dec esi
add esp, 8
cmp esi, 7
ja case.0x414ba8.2
jmp dword [esi*4 + 0x414bf0]
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 0x414ad0
mov eax, str.Input_is_not_in_the_XZ_format__wrong_magic_bytes_
push eax
jmp 0x414ad0
mov eax, str.Input_was_encoded_with_settings_that_are_not_supported_by_this_XZ_decoder
push eax
jmp 0x414ad0
mov eax, str.XZ_compressed_data_is_corrupt
push eax
jmp 0x414ad0
mov eax, str.Bug_in_the_XZ_decompressor
push eax
jmp 0x414ad0