Function at 0x4a4ab0
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
push edi
xor edi, edi
mov dword [ebp - 4], edi
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 - 0x18], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], edi
mov dword [esi + 0x84], 1
mov dword [esi + 0x109bc], edi
test eax, eax
je 0x4a4b29
shl eax, 2
push eax
call fcn.00517363
mov ecx, eax
add esp, 4
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x4a4b29
xor eax, eax
cmp dword [esi + 0x6c], eax
jbe 0x4a4b29
nop dword [eax + eax]
mov dword [ecx + eax*4], edi
inc eax
cmp eax, dword [esi + 0x6c]
jb 0x4a4b20
mov eax, dword [esi + 0x70]
test eax, eax
je 0x4a4b59
shl eax, 2
push eax
call fcn.00517363
mov ebx, eax
add esp, 4
mov dword [ebp - 0x28], ebx
test ebx, ebx
je 0x4a4b59
xor eax, eax
cmp dword [esi + 0x70], eax
jbe 0x4a4b59
nop dword [eax]
mov dword [ebx + eax*4], edi
inc eax
cmp eax, dword [esi + 0x70]
jb 0x4a4b50
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x30], ebx
lea ecx, [esi + 0xd8]
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], ecx
lea eax, [esi + 0xc8]
mov dword [esi + 0x8d8], ecx
push 4
mov edx, eax
mov ecx, esi
call fcn.004a00a0
add esp, 4
test eax, eax
je 0x4a4ea7
push 4
lea eax, [esi + 0xc8]
push 0x5a6ad8
push eax
call fcn.0051ddd0
add esp, 0xc
test eax, eax
jne 0x4a4e28
mov ecx, esi
call fcn.0049bb10
test eax, eax
jne 0x4a4e21
movzx edx, word [esi + 0x10954]
mov ecx, esi
push 2
call fcn.004a0ea0
add esp, 4
test eax, eax
je 0x4a4bf0
cmp eax, edi
cmovg edi, eax
mov dword [ebp - 4], edi
cmp eax, 1
jg 0x4a4d90
movzx ebx, word [esi + 0x10956]
test ebx, ebx
je 0x4a4c83
mov eax, dword [esi + 0x10918]
test eax, eax
je 0x4a4c12
push eax
call fcn.00515679
add esp, 4
push ebx
call fcn.00517363
add esp, 4
mov dword [esi + 0x10918], eax
test eax, eax
jne 0x4a4c6e
push 0x401
push ecx
push ebx
lea edi, [esi + 0x8dc]
push str.warning:__extra_field_too_long___d_.__Ignoring..._n
push edi
call fcn.0047daf0
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.004a02f0
jmp 0x4a4c83
push ebx
mov edx, eax
mov ecx, esi
call fcn.004a00a0
add esp, 4
test eax, eax
je 0x4a4dd4
movzx eax, word [esi + 0x10958]
test eax, eax
je 0x4a4caf
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.004a02f0
cmp dword [esi + 0x74], 0
je 0x4a4cd7
mov ecx, esi
call fcn.004a53d0
mov ecx, dword [ebp - 0xc]
test eax, eax
mov eax, dword [ebp - 8]
je 0x4a4cd2
inc eax
add ecx, 0x20
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
jmp 0x4a4d1b
inc dword [ebp - 0x18]
jmp 0x4a4d1b
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x4a4d41
xor edi, edi
test eax, eax
je 0x4a4d15
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [esi + 0xc0]
lea edx, [esi + 0x109f0]
push dword [esi + 0x18]
mov ecx, dword [eax + edi*4]
call fcn.0049ec50
add esp, 4
cmp eax, 1
je 0x4a4d33
inc edi
cmp edi, dword [esi + 0x6c]
jb 0x4a4cf0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x34]
mov edi, dword [ebp - 4]
inc ebx
mov dword [ebp - 0x34], ebx
cmp eax, 0x40
jae 0x4a4eb6
jmp 0x4a4b79
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4a4d41
mov dword [eax + edi*4], 1
xor edi, edi
cmp dword [esi + 0x70], edi
jbe 0x4a4cb5
nop dword [eax]
mov eax, dword [esi + 0xc4]
lea edx, [esi + 0x109f0]
push dword [esi + 0x18]
mov ecx, dword [eax + edi*4]
call fcn.0049ec50
add esp, 4
cmp eax, 1
je 0x4a4d7a
inc edi
cmp edi, dword [esi + 0x70]
jb 0x4a4d50
jmp 0x4a4cb5
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ebx, ebx
je 0x4a4d1b
mov dword [ebx + edi*4], 1
jmp 0x4a4d1b
push 0x401
push ecx
push 0x59be44
lea edx, [esi + 0x88dc]
lea ecx, [esi + 0x109f0]
lea edi, [esi + 0x8dc]
call fcn.004a7bd0
push eax
push str._s:__bad_filename_length___s__n
push edi
call fcn.0047daf0
add esp, 0x14
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov edi, dword [ebp - 4]
jmp 0x4a4eaf
push 0x401
push ecx
push 0x59be44
lea edx, [esi + 0x88dc]
lea ecx, [esi + 0x109f0]
lea edi, [esi + 0x8dc]
call fcn.004a7bd0
push eax
push str._s:__bad_extra_field_length___s__n
push edi
call fcn.0047daf0
add esp, 0x14
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov edi, 0x33
cmp dword [ebp - 4], edi
cmovge edi, dword [ebp - 4]
jmp 0x4a4eac
mov edi, eax
jmp 0x4a4eac
cmp bx, word [esi + 0x1096e]
jne 0x4a4e52
push 4
lea eax, [esi + 0xc8]
push 0x5a6ad4
push eax
call fcn.0051ddd0
add esp, 0xc
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x38], eax
jmp 0x4a4eaf
mov eax, dword [ebp - 8]
lea edi, [esi + 0x8dc]
mov ecx, dword [ebp - 0x30]
inc eax
push 0x401
push ecx
add eax, ecx
push eax
push str.error:__expected_central_file_header_signature_not_found__file__lu_._n
push edi
call fcn.0047daf0
add esp, 0x10
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
push 0x401
push ecx
push 0x583708
push edi
call fcn.0047daf0
add esp, 0xc
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov edi, 3
jmp 0x4a4eac
mov edi, 0x33
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], 1
mov eax, dword [esi + 0x108e8]
mov ecx, esi
mov edx, dword [ebp - 8]
mov ebx, dword [esi + 0x10910]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x108ec]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x14]
push edi
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.004a56e0
add esp, 0x18
test eax, eax
je 0x4a4f0a
cmp eax, edi
cmovg edi, eax
cmp dword [esi + 0x109c0], 1
mov dword [ebp - 4], edi
jg 0x4a4f5e
cmp edi, 0x50
je 0x4a4f5e
push 0
push ebx
push dword [esi + 0x10908]
call fcn.005283ea
add esp, 0xc
mov dword [esi + 0x10910], eax
push 0x2000
push dword [esi + 0x108e4]
push dword [esi + 0x10908]
call fcn.0052796c
mov eax, dword [ebp - 0xc]
add esp, 0xc
add dword [ebp - 0x30], 0x40
cmp dword [ebp - 0x10], 0
mov dword [esi + 0x108e8], eax
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x108ec], eax
jne 0x4a4f65
mov ebx, dword [ebp - 0x34]
jmp 0x4a4b69
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4a50c3
shl eax, 2
push eax
call fcn.00517363
mov edi, eax
add esp, 4
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x4a4fcf
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.0047daf0
add esp, 0xc
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4a50c3
mov eax, dword [ecx]
push ecx
mov dword [ebp - 0x14], eax
call fcn.00515679
mov ecx, dword [ebp - 0x14]
add esp, 4
test ecx, ecx
jne 0x4a4fb5
jmp 0x4a50c3
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], 0
cmp eax, 1
jne 0x4a4fe5
mov eax, dword [ebp - 0x14]
mov dword [edi], eax
jmp 0x4a5014
xor ecx, ecx
test eax, eax
je 0x4a5003
mov edx, dword [ebp - 0x14]
nop
mov dword [edi + ecx*4], edx
inc ecx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], edx
cmp ecx, eax
jb 0x4a4ff0
push 0x4a7c30
push 4
push eax
push edi
call fcn.005156a0
add esp, 0x10
xor ebx, ebx
cmp dword [ebp - 0x1c], ebx
jbe 0x4a5084
nop dword [eax + eax]
mov eax, dword [edi + ebx*4]
mov ecx, esi
mov edx, eax
mov dword [ebp - 0x30], eax
call fcn.0049cd90
mov dword [ebp - 0x40], eax
test eax, eax
je 0x4a5073
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.0047daf0
add esp, 0x10
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov eax, dword [ebp - 4]
test eax, eax
mov edi, dword [ebp - 0xc]
cmove eax, dword [ebp - 0x40]
mov dword [ebp - 4], eax
push dword [ebp - 0x30]
call fcn.00515679
inc ebx
add esp, 4
cmp ebx, dword [ebp - 0x1c]
jb 0x4a5020
push edi
call fcn.00515679
add esp, 4
cmp dword [esi + 0x44], 0
jne 0x4a50c3
cmp dword [esi + 0x38], 0
jne 0x4a50c3
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4a50c3
push 0
push ecx
push eax
lea edi, [esi + 0x8dc]
push str._____failed_setting_attrib_times_for__lu_dir_entries
push edi
call fcn.0047daf0
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 0x4a5151
cmp dword [ebp - 0x10], 0
je 0x4a5148
xor ebx, ebx
cmp dword [esi + 0x6c], ebx
jbe 0x4a5148
lea ecx, [ebx + 0xb]
nop
cmp dword [eax + ebx*4], 0
jne 0x4a5142
cmp dword [esi + 0xa0], 0
jne 0x4a512d
cmp dword [esi + 0xa4], 0
jne 0x4a512d
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.0047daf0
add esp, 0x10
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov ecx, 0xb
jmp 0x4a5133
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 0x4a50e0
push eax
call fcn.00515679
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4a51ab
cmp dword [ebp - 0x10], 0
je 0x4a51a2
xor ebx, ebx
cmp dword [esi + 0x70], ebx
jbe 0x4a51a2
cmp dword [eax + ebx*4], 0
jne 0x4a519c
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.0047daf0
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 0x4a5165
push eax
call fcn.00515679
add esp, 4
cmp dword [ebp - 0x10], 0
jne 0x4a51bb
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x38], 0
je 0x4a5214
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.0047daf0
add esp, 0xc
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
push 0x401
push ecx
push 0x583708
push edi
call fcn.0047daf0
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 0x4a5217
mov ebx, dword [ebp - 4]
cmp dword [esi + 0x44], 0
mov eax, dword [ebp - 0x20]
je 0x4a5359
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
cmp dword [esi + 0x38], 2
jge 0x4a5359
mov edx, 0x560f28
test ebx, ebx
je 0x4a526a
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.0047daf0
add esp, 0x14
jmp 0x4a52e1
test ecx, ecx
jne 0x4a528c
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.0047daf0
add esp, 0x10
jmp 0x4a52e1
cmp dword [esi + 0x74], 0
je 0x4a52b5
add eax, dword [ebp - 0x18]
jne 0x4a52b5
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.0047daf0
add esp, 0x10
jmp 0x4a52e1
push 0
mov eax, edx
lea edi, [esi + 0x8dc]
push ecx
cmp ecx, 1
mov edx, 0x59b8a0
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.0047daf0
add esp, 0x18
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4a5321
push 0
cmp ecx, 1
mov edx, 0x59b8a0
push ecx
mov eax, 0x560f28
cmovne eax, edx
push eax
push ecx
push str._lu_file_s_skipped_because_of_unsupported_compression_or_encoding._n
push edi
call fcn.0047daf0
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 0x4a5359
push 0
cmp eax, 1
mov edx, 0x59b8a0
mov ecx, 0x560f28
cmovne ecx, edx
push ecx
push ecx
push eax
push str._lu_file_s_skipped_because_of_incorrect_password._n
push edi
call fcn.0047daf0
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 0x4a537a
cmp ebx, 1
jg 0x4a537a
xor eax, eax
cmp eax, dword [ebp - 0x18]
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 0x4a5392
cmp ebx, 1
jg 0x4a5392
mov ebx, 0x52
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x18], 0
je 0x4a53ab
cmp ebx, 1
jg 0x4a53ab
mov ebx, 0x51
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x4a53b9
test ebx, ebx
mov eax, 1
cmove ebx, eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret