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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], 0
mov esi, edx
xor ebx, ebx
mov dword [ebp - 0xc], esi
mov edx, dword [edi + 0x10904]
lea eax, [edi + 0x10980]
push eax
call fcn.004a2990
add esp, 4
test eax, eax
jne 0x49f60d
movzx ecx, word [edi + 0x10986]
mov edx, 0x4000
mov eax, ecx
and eax, 0xf000
cmp ax, dx
sete bl
je 0x49f60d
mov eax, dword [edi + 0x10994]
and ecx, 0x40
push 0x8000
push dword [edi + 0x10904]
mov dword [edi + 0x1090c], eax
mov dword [ebp - 4], ecx
call fcn.004e1194
add esp, 8
mov dword [edi + 0x10908], eax
cmp eax, 0xffffffff
jne 0x49eee8
call fcn.004e1649
push 0x401
lea esi, [edi + 0x8dc]
push dword [eax]
call fcn.004e16fc
push eax
push dword [edi + 0x10904]
push str.error:__cannot_open_zipfile____s___n_________s_n
push esi
call fcn.0041e8c0
add esp, 0x14
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
mov eax, 9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x108dc], 0
jne 0x49ef3f
cmp dword [0x558f78], 0
je 0x49ef35
xor esi, esi
nop dword [eax]
mov edx, esi
mov ebx, 8
mov ecx, edx
mov eax, edx
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
and al, 1
cmove edx, ecx
sub ebx, 1
jne 0x49ef07
mov dword [esi*4 + 0x58a330], edx
inc esi
cmp esi, 0x100
jl 0x49ef00
mov dword [0x558f78], ebx
mov dword [edi + 0x108dc], 0x58a330
mov edx, dword [edi + 4]
test edx, edx
je 0x49ef97
cmp dword [edi + 0x80], 0
je 0x49ef97
xor eax, eax
mov ecx, edi
cmp dword [edi + 0x1c], eax
push 0
sete al
mov dword [edi + 0x7c], eax
call fcn.004a2000
mov esi, eax
add esp, 4
cmp esi, 0x200
jle 0x49ef97
push dword [edi + 0x10908]
call fcn.004deee9
xor eax, eax
add esp, 4
cmp esi, 0xa00
sete al
lea eax, [eax*2 + 2]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0xc], 0
mov eax, dword [edi + 0x108e4]
mov dword [edi + 0x10910], 0
mov dword [edi + 0x108e8], eax
je 0x49f038
mov edx, dword [edi + 0x1090c]
mov ecx, edi
call fcn.0049f6c0
mov ebx, eax
test ebx, ebx
jne 0x49efd8
mov ecx, edi
call fcn.004a4f40
mov ebx, eax
cmp ebx, 1
jle 0x49f03b
push dword [edi + 0x10908]
call fcn.004deee9
add esp, 4
cmp word [ebp - 4], 0
je 0x49f018
push 0x401
push ecx
push dword [edi + 0x10904]
lea esi, [edi + 0x8dc]
push str.note:___s_may_be_a_plain_executable__not_an_archive_n
push esi
call fcn.0041e8c0
add esp, 0x10
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
cmp dword [ebp - 0xc], 0
jne 0x49f0ea
mov dword [edi + 0x109d4], 1
mov eax, 9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0xc]
cmp dword [edi + 0xc], 0
jne 0x49f0d0
mov eax, dword [edi + 0x1090c]
mov edx, 0x101d0
cmp eax, edx
mov ecx, edi
cmovl edx, eax
call fcn.0049f6c0
mov ebx, eax
test ebx, ebx
jne 0x49efd8
cmp dword [edi + 0x98], ebx
jne 0x49f083
mov ecx, dword [edi + 0x10b68]
test ecx, ecx
je 0x49f083
mov ax, word [edi + 0x10978]
mov word [ecx + 0x28], ax
movzx eax, word [edi + 0x10978]
test ax, ax
je 0x49f0d0
cmp dword [edi + 0x60], ebx
jle 0x49f0d0
push 1
mov edx, eax
mov ecx, edi
call fcn.004a4ab0
add esp, 4
test eax, eax
je 0x49f0d0
push 0x401
push ecx
lea esi, [edi + 0x8dc]
push 0x53b10c
push esi
call fcn.0041e8c0
add esp, 0xc
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
mov ebx, 1
cmp dword [edi + 0x60], 0
jle 0x49f0f3
cmp dword [edi + 0xc], 0
jne 0x49f0f3
push dword [edi + 0x10908]
call fcn.004deee9
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x49f13c
cmp word [edi + 0x10968], ax
je 0x49f138
push 0x401
push ecx
push dword [edi + 0x10904]
lea esi, [edi + 0x8dc]
push str.warning___s_:__zipfile_claims_to_be_last_disk_of_a_multi_part_archive__n__attempting_to_process_anyway__assuming_all_parts_have_been_concatenated_n__together_in_order.__Expect__errors__and_warnings...true_multi_part_support_n__doesnt_exist_yet__coming_soon_._n
push esi
call fcn.0041e8c0
add esp, 0x10
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
mov ebx, 1
jmp 0x49f1bf
test eax, eax
je 0x49f1b9
movzx eax, word [edi + 0x10968]
mov ecx, eax
mov dword [ebp - 4], ecx
movzx ecx, word [edi + 0x1096a]
mov edx, ecx
mov dword [ebp - 0xc], edx
cmp ax, cx
je 0x49f1b9
push 0x401
push ecx
movzx ebx, dx
lea esi, [edi + 0x8dc]
mov edx, dword [edi + 0x10904]
mov ecx, eax
push ebx
movzx eax, cx
push eax
push edx
jbe 0x49f19b
push str._n_____s_:_n_____Zipfile_is_disk__u_of_a_multi_disk_archive__and_this_is_not_the_disk_on_n_____which_the_central_zipfile_directory_begins__disk__u_._n
push esi
call fcn.0041e8c0
add esp, 0x18
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
mov ebx, 0xb
jmp 0x49f492
push str._nwarning___s_:__end_of_central_directory_record_claims_this_n__is_disk__u_but_that_the_central_directory_starts_on_disk__u__this_is_a_n__contradiction.__Attempting_to_process_anyway._n
push esi
call fcn.0041e8c0
add esp, 0x18
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
mov ebx, 1
lea esi, [edi + 0x8dc]
mov ecx, dword [edi + 0x88]
mov edx, 0x518188
sub ecx, dword [edi + 0x8c]
mov dword [edi + 0x10914], ecx
jns 0x49f20a
push 0x401
neg ecx
push ecx
push ecx
push dword [edi + 0x10904]
push str.error___s_:__missing__ld_bytes_in_zipfile_n___attempting_to_process_anyway__n
push esi
call fcn.0041e8c0
add esp, 0x14
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
mov ebx, 2
jmp 0x49f29f
test ecx, ecx
jle 0x49f2a4
cmp dword [edi + 0x10974], 0
jne 0x49f266
cmp dword [edi + 0x10970], 0
je 0x49f266
push 0x401
push ecx
push dword [edi + 0x10904]
push str.error___s_:__NULL_central_directory_offset_n___attempting_to_process_anyway__n
push esi
call fcn.0041e8c0
add esp, 0x10
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
mov eax, dword [edi + 0x10914]
mov ebx, 2
mov dword [edi + 0x10974], eax
mov dword [edi + 0x10914], 0
jmp 0x49f29f
push 0x401
mov eax, edx
cmp ecx, 1
push ecx
mov edx, 0x54e864
cmovne eax, edx
push eax
push ecx
push dword [edi + 0x10904]
push str.warning___s_:___ld_extra_byte_s_at_beginning_or_within_zipfile_n___attempting_to_process_anyway__n
push esi
call fcn.0041e8c0
add esp, 0x18
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
mov ebx, 1
mov edx, 0x518188
cmp dword [edi + 0x8c], 0
jne 0x49f317
cmp dword [edi + 0x10970], 0
jne 0x49f317
cmp dword [edi + 0xc], 0
je 0x49f2d3
cmp dword [edi + 0x28], 9
mov eax, 0x54e86c
push 0
push ecx
cmovle eax, edx
push eax
push str._sEmpty_zipfile._n
jmp 0x49f2e4
push 0x401
push ecx
push dword [edi + 0x10904]
push str.warning___s_:__zipfile_is_empty_n
push esi
call fcn.0041e8c0
add esp, 0x10
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
push dword [edi + 0x10908]
call fcn.004deee9
mov eax, 1
add esp, 4
cmp ebx, eax
cmovg eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x10974]
mov ecx, edi
call fcn.004a3f60
cmp eax, 3
jne 0x49f343
push dword [edi + 0x10908]
call fcn.004deee9
add esp, 4
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x49f37b
lea edx, [edi + 0xc8]
mov ecx, edi
push 4
call fcn.004a3d50
add esp, 4
test eax, eax
je 0x49f37b
push 4
lea eax, [edi + 0xc8]
push 0x558acc
push eax
call fcn.004d5610
add esp, 0xc
test eax, eax
je 0x49f40d
mov eax, dword [edi + 0x10914]
mov ecx, edi
mov edx, dword [edi + 0x10974]
mov dword [ebp - 0xc], eax
mov dword [edi + 0x10914], 0
call fcn.004a3f60
mov ebx, eax
test ebx, ebx
jne 0x49f5bf
lea edx, [edi + 0xc8]
mov ecx, edi
push 4
call fcn.004a3d50
add esp, 4
test eax, eax
je 0x49f5c4
push 4
lea eax, [edi + 0xc8]
push 0x558acc
push eax
call fcn.004d5610
add esp, 0xc
test eax, eax
jne 0x49f5c4
mov eax, dword [ebp - 0xc]
push 0x401
push ecx
neg eax
push eax
push dword [edi + 0x10904]
push str.error___s_:__reported_length_of_central_directory_is_n___ld_bytes_too_long__Atari_STZip_zipfile___J.H.Holm_ZIPSPLIT_1.1_n__zipfile__.__Compensating..._n
push esi
call fcn.0041e8c0
add esp, 0x14
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
mov ebx, 2
mov edx, dword [edi + 0x10974]
mov ecx, edi
call fcn.004a3f60
mov dword [ebp - 0xc], eax
test eax, eax
je 0x49f439
push dword [edi + 0x10908]
call fcn.004deee9
mov eax, dword [ebp - 0xc]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x98], 0
jne 0x49f48c
cmp dword [edi + 0xc], 0
je 0x49f451
mov ecx, edi
call fcn.004a5250
jmp 0x49f48c
cmp dword [edi + 0x48], 0
je 0x49f46a
lea eax, [ebp - 8]
mov ecx, edi
push eax
lea edx, [ebp - 0x18]
call fcn.004a35e0
add esp, 4
jmp 0x49f48c
cmp dword [edi + 0x50], 0
je 0x49f485
cmp dword [edi + 0x44], 0
jne 0x49f485
cmp dword [edi + 0x14], 0
jne 0x49f485
mov ecx, edi
call fcn.004a2f50
jmp 0x49f48c
mov ecx, edi
call fcn.004a8020
cmp eax, ebx
jle 0x49f492
mov ebx, eax
push dword [edi + 0x10908]
call fcn.004deee9
add esp, 4
cmp dword [edi + 0x48], 0
je 0x49f5b6
cmp dword [edi + 0xc], 0
jne 0x49f5b6
cmp dword [ebp - 8], 0
jbe 0x49f5b6
mov eax, dword [edi + 0x10904]
mov ecx, edi
mov edx, eax
mov dword [ebp - 0xc], eax
call fcn.004a0f50
test eax, eax
je 0x49f4df
mov eax, dword [edi + 0x10b98]
mov dword [ebp - 8], eax
jmp 0x49f4e6
mov dword [ebp - 8], 0
push 0
push 0x80
push 3
push 0
push 2
push 0x40000000
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x49f581
cmp dword [ebp - 8], 0
je 0x49f522
push dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push dword [ebp - 0x18]
call fcn.004a06b0
add esp, 8
jmp 0x49f551
mov ecx, dword [ebp - 0x18]
mov edx, 0x989680
mov eax, dword [ebp - 0x14]
add ecx, 0xb6109100
adc eax, 2
mul edx
mov esi, eax
mov eax, ecx
mov ecx, 0x989680
mul ecx
add esi, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
lea esi, [edi + 0x8dc]
lea eax, [ebp - 0x20]
push eax
push eax
push 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 4]
or ecx, 0xffffffff
test eax, eax
mov eax, 0
cmove eax, ecx
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x49f5b6
cmp dword [edi + 0x38], 3
jge 0x49f5ac
push 0x201
push ecx
push dword [edi + 0x10904]
push str.warning:__cannot_set_time_for__s_n
push esi
call fcn.0041e8c0
add esp, 0x10
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
mov eax, 1
cmp ebx, eax
cmovl ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 3
je 0x49f5ee
push 0x401
push ecx
push 0x53ab48
push dword [edi + 0x10904]
push str.error___s_:__start_of_central_directory_not_found__n__zipfile_corrupt._n_s
push esi
call fcn.0041e8c0
add esp, 0x14
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
push dword [edi + 0x10908]
call fcn.004deee9
add esp, 4
mov eax, 3
test ebx, ebx
cmovne eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x49f6a0
cmp dword [edi + 0x38], 3
jge 0x49f6a0
cmp dword [edi + 0x109d4], 0
lea esi, [edi + 0x8dc]
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 0x10904]
mov edx, dword [edi + 0x10900]
push 0x401
push ecx
push eax
je 0x49f676
test ecx, ecx
mov dword [ebp - 0xc], 0x518188
mov eax, 0x54e868
cmove eax, dword [ebp - 0xc]
push eax
push edx
mov edx, str.UnZip_DLL
mov eax, str.zipinfo
cmove eax, edx
push eax
push str._s:__cannot_find_zipfile_directory_in__s__n_________sand_cannot_find__s__period._n
push esi
call fcn.0041e8c0
add esp, 0x1c
jmp 0x49f695
push edx
test ecx, ecx
mov edx, str.UnZip_DLL
mov eax, str.zipinfo
cmove eax, edx
push eax
push str._s:__cannot_find_either__s_or__s._n
push esi
call fcn.0041e8c0
add esp, 0x18
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
pop edi
test ebx, ebx
mov eax, 9
mov ecx, 0x4c
pop esi
cmovne eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret