Function at 0x4b6de0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x2c], 0
xor ebx, ebx
push edi
xor edi, edi
mov dword [ebp - 4], ebx
lea eax, [esi + 0xd8]
mov dword [ebp - 0x24], edi
mov dword [esi + 0x8d8], eax
mov eax, dword [esi + 0x6c]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [esi + 0x84], 1
mov dword [esi + 0x109bc], ebx
test eax, eax
je 0x4b6e51
shl eax, 2
push eax
call fcn.0054cef5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
test edi, edi
je 0x4b6e51
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x4b6e51
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x70]
test eax, eax
je 0x4b6e78
shl eax, 2
push eax
call fcn.0054cef5
mov edi, eax
add esp, 4
mov dword [ebp - 0x28], edi
test edi, edi
je 0x4b6e78
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x4b6e78
xor eax, eax
rep stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0xc], eax
lea edi, [esi + 0xd8]
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], edi
lea eax, [esi + 0xc8]
mov dword [esi + 0x8d8], edi
push 4
mov edx, eax
mov ecx, esi
call fcn.004b23e0
add esp, 4
test eax, eax
je 0x4b71d4
push 4
lea eax, [esi + 0xc8]
push 0x5d7bcc
push eax
call fcn.00547b10
add esp, 0xc
test eax, eax
jne 0x4b7152
mov ecx, esi
call fcn.004ade50
test eax, eax
jne 0x4b714b
movzx edx, word [esi + 0x10954]
mov ecx, esi
push 2
call fcn.004b31e0
add esp, 4
test eax, eax
je 0x4b6f0d
cmp eax, ebx
cmovg ebx, eax
mov dword [ebp - 4], ebx
cmp eax, 1
jg 0x4b70bd
movzx ebx, word [esi + 0x10956]
test ebx, ebx
je 0x4b6fa3
mov eax, dword [esi + 0x10918]
test eax, eax
je 0x4b6f2f
push eax
call fcn.005417da
add esp, 4
push ebx
call fcn.0054cef5
add esp, 4
mov dword [esi + 0x10918], eax
test eax, eax
jne 0x4b6f8e
push 0x401
push ecx
push ebx
lea edi, [esi + 0x8dc]
push str.warning:__extra_field_too_long___d_.__Ignoring..._n
push edi
call fcn.0048d4b0
add esp, 0x10
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov edx, dword [esi + 0x10910]
mov ecx, esi
sub edx, dword [esi + 0x10914]
sub edx, dword [esi + 0x108e4]
add edx, dword [esi + 0x108e8]
add edx, ebx
call fcn.004b2630
mov edi, dword [ebp - 0x10]
jmp 0x4b6fa3
push ebx
mov edx, eax
mov ecx, esi
call fcn.004b23e0
add esp, 4
test eax, eax
je 0x4b70fe
movzx eax, word [esi + 0x10958]
test eax, eax
je 0x4b6fcf
mov edx, dword [esi + 0x10910]
mov ecx, esi
sub edx, dword [esi + 0x10914]
sub edx, dword [esi + 0x108e4]
add edx, dword [esi + 0x108e8]
add edx, eax
call fcn.004b2630
cmp dword [esi + 0x74], 0
je 0x4b6fe6
mov ecx, esi
call fcn.004b7700
jmp 0x4b708f
inc dword [ebp - 0x14]
jmp 0x4b702b
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x4b704d
xor edi, edi
test eax, eax
je 0x4b7025
nop dword [eax]
nop word [eax + eax]
mov eax, dword [esi + 0xc0]
lea edx, [esi + 0x109f0]
push dword [esi + 0x18]
mov ecx, dword [eax + edi*4]
call fcn.004b0f90
add esp, 4
cmp eax, 1
je 0x4b703f
inc edi
cmp edi, dword [esi + 0x6c]
jb 0x4b7000
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
inc dword [ebp - 0x30]
mov ebx, dword [ebp - 4]
cmp eax, 0x40
jae 0x4b71e3
jmp 0x4b6e96
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4b704d
mov dword [eax + edi*4], 1
xor edi, edi
cmp dword [esi + 0x70], edi
jbe 0x4b7085
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [esi + 0xc4]
lea edx, [esi + 0x109f0]
push dword [esi + 0x18]
mov ecx, dword [eax + edi*4]
call fcn.004b0f90
add esp, 4
cmp eax, 1
je 0x4b70a6
inc edi
cmp edi, dword [esi + 0x70]
jb 0x4b7060
mov ecx, esi
call fcn.004b7700
mov edi, dword [ebp - 0x10]
test eax, eax
mov eax, dword [ebp - 8]
je 0x4b6fe1
inc eax
add edi, 0x20
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], edi
jmp 0x4b702b
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4b7025
mov dword [eax + edi*4], 1
jmp 0x4b7025
push 0x401
push ecx
push 0x5cd4e4
lea edx, [esi + 0x88dc]
lea ecx, [esi + 0x109f0]
lea edi, [esi + 0x8dc]
call fcn.004b9f00
push eax
push str._s:__bad_filename_length___s__n
push edi
call fcn.0048d4b0
add esp, 0x14
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
jmp 0x4b71dc
push 0x401
push ecx
push 0x5cd4e4
lea edx, [esi + 0x88dc]
lea ecx, [esi + 0x109f0]
lea edi, [esi + 0x8dc]
call fcn.004b9f00
push eax
push str._s:__bad_extra_field_length___s__n
push edi
call fcn.0048d4b0
add esp, 0x14
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov ebx, 0x33
cmp dword [ebp - 4], ebx
cmovge ebx, dword [ebp - 4]
jmp 0x4b71d9
mov ebx, eax
jmp 0x4b71d9
mov eax, dword [ebp - 0x30]
cmp ax, word [esi + 0x1096e]
jne 0x4b717f
push 4
lea eax, [esi + 0xc8]
push 0x5d7bc4
push eax
call fcn.00547b10
add esp, 0xc
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x38], eax
jmp 0x4b71dc
mov eax, dword [ebp - 8]
lea edi, [esi + 0x8dc]
mov ecx, dword [ebp - 0x34]
inc eax
push 0x401
push ecx
add eax, ecx
push eax
push 0x5a7918
push edi
call fcn.0048d4b0
add esp, 0x10
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
push 0x401
push ecx
push str.___please_check_that_you_have_transferred_or_created_the_zipfile_in_the_n__appropriate_BINARY_mode_and_that_you_have_compiled_UnZip_properly__n
push edi
call fcn.0048d4b0
add esp, 0xc
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov ebx, 3
jmp 0x4b71d9
mov ebx, 0x33
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], 1
mov eax, dword [esi + 0x108e8]
mov ecx, esi
mov edx, dword [ebp - 8]
mov edi, dword [esi + 0x10910]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x108ec]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x18]
push ebx
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004b7a10
add esp, 0x18
test eax, eax
je 0x4b7237
cmp eax, ebx
cmovg ebx, eax
cmp dword [esi + 0x109c0], 1
mov dword [ebp - 4], ebx
jg 0x4b7288
cmp ebx, 0x50
je 0x4b7288
push 0
push edi
push dword [esi + 0x10908]
call fcn.00551a98
add esp, 0xc
mov dword [esi + 0x10910], eax
push 0x2000
push dword [esi + 0x108e4]
push dword [esi + 0x10908]
call fcn.005510cc
mov eax, dword [ebp - 0x10]
add esp, 0xc
add dword [ebp - 0x34], 0x40
cmp dword [ebp - 0xc], 0
mov dword [esi + 0x108e8], eax
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x108ec], eax
jne 0x4b728f
jmp 0x4b6e86
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4b73f6
shl eax, 2
push eax
call fcn.0054cef5
mov edi, eax
add esp, 4
mov dword [ebp - 8], edi
test edi, edi
jne 0x4b72fa
push 0x401
push ecx
lea edi, [esi + 0x8dc]
push str.warning:__cannot_alloc_memory_to_sort_dir_times_perms_etc._n
push edi
call fcn.0048d4b0
add esp, 0xc
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4b73f6
nop
mov eax, dword [ecx]
push ecx
mov dword [ebp - 0x18], eax
call fcn.005417da
mov ecx, dword [ebp - 0x18]
add esp, 4
test ecx, ecx
jne 0x4b72e0
jmp 0x4b73f6
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], 0
cmp edx, 1
jne 0x4b7310
mov eax, dword [ebp - 0x18]
mov dword [edi], eax
jmp 0x4b7344
xor ecx, ecx
test edx, edx
je 0x4b732d
mov eax, dword [ebp - 0x18]
nop dword [eax]
mov dword [edi + ecx*4], eax
inc ecx
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
cmp ecx, edx
jb 0x4b7320
push 0x4b9f60
push 4
push edx
push edi
call fcn.005540d0
add esp, 0x10
cmp dword [ebp - 0x1c], 0
jbe 0x4b73b7
xor eax, eax
mov dword [ebp - 0x10], eax
nop dword [eax]
mov eax, dword [edi + eax*4]
mov ecx, esi
mov edx, eax
mov dword [ebp - 0x30], eax
call fcn.004af0d0
mov dword [ebp - 0x40], eax
test eax, eax
je 0x4b739d
mov eax, dword [ebp - 0x30]
lea edi, [esi + 0x8dc]
inc dword [ebp - 0x34]
push 0x201
push ecx
push dword [eax + 4]
push str.warning:__set_times_attribs_failed_for__s_n
push edi
call fcn.0048d4b0
add esp, 0x10
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov edi, dword [ebp - 8]
test ebx, ebx
cmove ebx, dword [ebp - 0x40]
push dword [ebp - 0x30]
call fcn.005417da
mov eax, dword [ebp - 0x10]
add esp, 4
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 0x1c]
jb 0x4b7350
mov dword [ebp - 4], ebx
push edi
call fcn.005417da
add esp, 4
cmp dword [esi + 0x44], 0
jne 0x4b73f6
cmp dword [esi + 0x38], 0
jne 0x4b73f6
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4b73f6
push 0
push ecx
push eax
lea edi, [esi + 0x8dc]
push str._____failed_setting_attrib_times_for__lu_dir_entries
push edi
call fcn.0048d4b0
add esp, 0x10
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4b7482
cmp dword [ebp - 0xc], 0
je 0x4b7479
xor ebx, ebx
cmp dword [esi + 0x6c], ebx
jbe 0x4b7479
lea ecx, [ebx + 0xb]
cmp dword [eax + ebx*4], 0
jne 0x4b7473
cmp dword [esi + 0xa0], 0
jne 0x4b745e
cmp dword [esi + 0xa4], 0
jne 0x4b745e
mov eax, dword [esi + 0xc0]
lea edi, [esi + 0x8dc]
push 0x401
push ecx
push dword [eax + ebx*4]
push str.caution:_filename_not_matched:___s_n
push edi
call fcn.0048d4b0
add esp, 0x10
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov ecx, 0xb
jmp 0x4b7464
inc dword [esi + 0x9c]
mov eax, dword [ebp - 4]
cmp eax, 1
cmovle eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
inc ebx
cmp ebx, dword [esi + 0x6c]
jb 0x4b7411
push eax
call fcn.005417da
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4b74dc
cmp dword [ebp - 0xc], 0
je 0x4b74d3
xor ebx, ebx
cmp dword [esi + 0x70], ebx
jbe 0x4b74d3
cmp dword [eax + ebx*4], 0
jne 0x4b74cd
mov eax, dword [esi + 0xc4]
lea edi, [esi + 0x8dc]
push 0x401
push ecx
push dword [eax + ebx*4]
push str.caution:_excluded_filename_not_matched:___s_n
push edi
call fcn.0048d4b0
add esp, 0x10
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov eax, dword [ebp - 0x28]
inc ebx
cmp ebx, dword [esi + 0x70]
jb 0x4b7496
push eax
call fcn.005417da
add esp, 4
cmp dword [ebp - 0xc], 0
jne 0x4b74ec
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x38], 0
je 0x4b7545
push 0x401
push ecx
lea edi, [esi + 0x8dc]
push str._nnote:__didnt_find_end_of_central_dir_signature_at_end_of_central_dir._n
push edi
call fcn.0048d4b0
add esp, 0xc
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
push 0x401
push ecx
push str.___please_check_that_you_have_transferred_or_created_the_zipfile_in_the_n__appropriate_BINARY_mode_and_that_you_have_compiled_UnZip_properly__n
push edi
call fcn.0048d4b0
add esp, 0xc
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov ebx, dword [ebp - 4]
mov eax, 1
test ebx, ebx
cmove ebx, eax
jmp 0x4b7548
mov ebx, dword [ebp - 4]
cmp dword [esi + 0x44], 0
mov eax, dword [ebp - 0x20]
je 0x4b768a
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
cmp dword [esi + 0x38], 2
jge 0x4b768a
mov edx, 0x584fd8
test ebx, ebx
je 0x4b759b
push 0
push ecx
push dword [esi + 0x10904]
cmp ebx, 1
lea edi, [esi + 0x8dc]
mov eax, str.warning_
cmovne eax, edx
push eax
push str.At_least_one__serror_was_detected_in__s._n
push edi
call fcn.0048d4b0
add esp, 0x14
jmp 0x4b7612
test ecx, ecx
jne 0x4b75bd
push ecx
push ecx
push dword [esi + 0x10904]
lea edi, [esi + 0x8dc]
push str.Caution:__zero_files_tested_in__s._n
push edi
call fcn.0048d4b0
add esp, 0x10
jmp 0x4b7612
cmp dword [esi + 0x74], 0
je 0x4b75e6
add eax, dword [ebp - 0x14]
jne 0x4b75e6
push eax
push ecx
push dword [esi + 0x10904]
lea edi, [esi + 0x8dc]
push str.No_errors_detected_in_compressed_data_of__s._n
push edi
call fcn.0048d4b0
add esp, 0x10
jmp 0x4b7612
push 0
mov eax, edx
lea edi, [esi + 0x8dc]
push ecx
cmp ecx, 1
mov edx, 0x5ccf44
cmovne eax, edx
push eax
push ecx
push dword [esi + 0x10904]
push str.No_errors_detected_in__s_for_the__lu_file_s_tested._n
push edi
call fcn.0048d4b0
add esp, 0x18
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4b7652
push 0
cmp ecx, 1
mov edx, 0x5ccf44
push ecx
mov eax, 0x584fd8
cmovne eax, edx
push eax
push ecx
push str._lu_file_s_skipped_because_of_unsupported_compression_or_encoding._n
push edi
call fcn.0048d4b0
add esp, 0x14
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4b768a
push 0
cmp eax, 1
mov edx, 0x5ccf44
mov ecx, 0x584fd8
cmovne ecx, edx
push ecx
push ecx
push eax
push str._lu_file_s_skipped_because_of_incorrect_password._n
push edi
call fcn.0048d4b0
add esp, 0x14
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x2c], 0
jne 0x4b76ab
cmp ebx, 1
jg 0x4b76ab
xor eax, eax
cmp eax, dword [ebp - 0x14]
sbb ebx, ebx
and ebx, 0x46
add ebx, 0xb
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x2c], eax
jne 0x4b76c3
cmp ebx, 1
jg 0x4b76c3
mov ebx, 0x52
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x14], 0
je 0x4b76dc
cmp ebx, 1
jg 0x4b76dc
mov ebx, 0x51
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x4b76ea
test ebx, ebx
mov eax, 1
cmove ebx, eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret