Function at 0x4acbd0
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 0x4acc49
shl eax, 2
push eax
call fcn.0051f3c3
mov ecx, eax
add esp, 4
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x4acc49
xor eax, eax
cmp dword [esi + 0x6c], eax
jbe 0x4acc49
nop dword [eax + eax]
mov dword [ecx + eax*4], edi
inc eax
cmp eax, dword [esi + 0x6c]
jb 0x4acc40
mov eax, dword [esi + 0x70]
test eax, eax
je 0x4acc79
shl eax, 2
push eax
call fcn.0051f3c3
mov ebx, eax
add esp, 4
mov dword [ebp - 0x28], ebx
test ebx, ebx
je 0x4acc79
xor eax, eax
cmp dword [esi + 0x70], eax
jbe 0x4acc79
nop dword [eax]
mov dword [ebx + eax*4], edi
inc eax
cmp eax, dword [esi + 0x70]
jb 0x4acc70
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.004a81c0
add esp, 4
test eax, eax
je 0x4acfc7
push 4
lea eax, [esi + 0xc8]
push 0x5b0bd4
push eax
call fcn.005274a0
add esp, 0xc
test eax, eax
jne 0x4acf48
mov ecx, esi
call fcn.004a3c30
test eax, eax
jne 0x4acf41
movzx edx, word [esi + 0x10954]
mov ecx, esi
push 2
call fcn.004a8fc0
add esp, 4
test eax, eax
je 0x4acd10
cmp eax, edi
cmovg edi, eax
mov dword [ebp - 4], edi
cmp eax, 1
jg 0x4aceb0
movzx ebx, word [esi + 0x10956]
test ebx, ebx
je 0x4acda3
mov eax, dword [esi + 0x10918]
test eax, eax
je 0x4acd32
push eax
call fcn.0051d799
add esp, 4
push ebx
call fcn.0051f3c3
add esp, 4
mov dword [esi + 0x10918], eax
test eax, eax
jne 0x4acd8e
push 0x401
push ecx
push ebx
lea edi, [esi + 0x8dc]
push str.warning:__extra_field_too_long___d_.__Ignoring..._n
push edi
call fcn.004a2840
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.004a8410
jmp 0x4acda3
push ebx
mov edx, eax
mov ecx, esi
call fcn.004a81c0
add esp, 4
test eax, eax
je 0x4acef4
movzx eax, word [esi + 0x10958]
test eax, eax
je 0x4acdcf
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.004a8410
cmp dword [esi + 0x74], 0
je 0x4acdf7
mov ecx, esi
call fcn.004ad4f0
mov ecx, dword [ebp - 0xc]
test eax, eax
mov eax, dword [ebp - 8]
je 0x4acdf2
inc eax
add ecx, 0x20
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
jmp 0x4ace3b
inc dword [ebp - 0x18]
jmp 0x4ace3b
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x4ace61
xor edi, edi
test eax, eax
je 0x4ace35
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.004a6d70
add esp, 4
cmp eax, 1
je 0x4ace53
inc edi
cmp edi, dword [esi + 0x6c]
jb 0x4ace10
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 0x4acfd6
jmp 0x4acc99
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4ace61
mov dword [eax + edi*4], 1
xor edi, edi
cmp dword [esi + 0x70], edi
jbe 0x4acdd5
nop dword [eax]
mov eax, dword [esi + 0xc4]
lea edx, [esi + 0x109f0]
push dword [esi + 0x18]
mov ecx, dword [eax + edi*4]
call fcn.004a6d70
add esp, 4
cmp eax, 1
je 0x4ace9a
inc edi
cmp edi, dword [esi + 0x70]
jb 0x4ace70
jmp 0x4acdd5
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ebx, ebx
je 0x4ace3b
mov dword [ebx + edi*4], 1
jmp 0x4ace3b
push 0x401
push ecx
push 0x5a6050
lea edx, [esi + 0x88dc]
lea ecx, [esi + 0x109f0]
lea edi, [esi + 0x8dc]
call fcn.004afcf0
push eax
push str._s:__bad_filename_length___s__n
push edi
call fcn.004a2840
add esp, 0x14
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov edi, dword [ebp - 4]
jmp 0x4acfcf
push 0x401
push ecx
push 0x5a6050
lea edx, [esi + 0x88dc]
lea ecx, [esi + 0x109f0]
lea edi, [esi + 0x8dc]
call fcn.004afcf0
push eax
push str._s:__bad_extra_field_length___s__n
push edi
call fcn.004a2840
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 0x4acfcc
mov edi, eax
jmp 0x4acfcc
cmp bx, word [esi + 0x1096e]
jne 0x4acf72
push 4
lea eax, [esi + 0xc8]
push 0x5b0bd0
push eax
call fcn.005274a0
add esp, 0xc
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x38], eax
jmp 0x4acfcf
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.004a2840
add esp, 0x10
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
push 0x401
push ecx
push 0x58c958
push edi
call fcn.004a2840
add esp, 0xc
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov edi, 3
jmp 0x4acfcc
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.004ad800
add esp, 0x18
test eax, eax
je 0x4ad02a
cmp eax, edi
cmovg edi, eax
cmp dword [esi + 0x109c0], 1
mov dword [ebp - 4], edi
jg 0x4ad07e
cmp edi, 0x50
je 0x4ad07e
push 0
push ebx
push dword [esi + 0x10908]
call fcn.00531a61
add esp, 0xc
mov dword [esi + 0x10910], eax
push 0x2000
push dword [esi + 0x108e4]
push dword [esi + 0x10908]
call fcn.00530fe3
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 0x4ad085
mov ebx, dword [ebp - 0x34]
jmp 0x4acc89
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4ad1e3
shl eax, 2
push eax
call fcn.0051f3c3
mov edi, eax
add esp, 4
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x4ad0ef
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.004a2840
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 0x4ad1e3
mov eax, dword [ecx]
push ecx
mov dword [ebp - 0x14], eax
call fcn.0051d799
mov ecx, dword [ebp - 0x14]
add esp, 4
test ecx, ecx
jne 0x4ad0d5
jmp 0x4ad1e3
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], 0
cmp eax, 1
jne 0x4ad105
mov eax, dword [ebp - 0x14]
mov dword [edi], eax
jmp 0x4ad134
xor ecx, ecx
test eax, eax
je 0x4ad123
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 0x4ad110
push 0x4afd50
push 4
push eax
push edi
call fcn.0051d7c0
add esp, 0x10
xor ebx, ebx
cmp dword [ebp - 0x1c], ebx
jbe 0x4ad1a4
nop dword [eax + eax]
mov eax, dword [edi + ebx*4]
mov ecx, esi
mov edx, eax
mov dword [ebp - 0x30], eax
call fcn.004a4eb0
mov dword [ebp - 0x40], eax
test eax, eax
je 0x4ad193
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.004a2840
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.0051d799
inc ebx
add esp, 4
cmp ebx, dword [ebp - 0x1c]
jb 0x4ad140
push edi
call fcn.0051d799
add esp, 4
cmp dword [esi + 0x44], 0
jne 0x4ad1e3
cmp dword [esi + 0x38], 0
jne 0x4ad1e3
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4ad1e3
push 0
push ecx
push eax
lea edi, [esi + 0x8dc]
push str._____failed_setting_attrib_times_for__lu_dir_entries
push edi
call fcn.004a2840
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 0x4ad271
cmp dword [ebp - 0x10], 0
je 0x4ad268
xor ebx, ebx
cmp dword [esi + 0x6c], ebx
jbe 0x4ad268
lea ecx, [ebx + 0xb]
nop
cmp dword [eax + ebx*4], 0
jne 0x4ad262
cmp dword [esi + 0xa0], 0
jne 0x4ad24d
cmp dword [esi + 0xa4], 0
jne 0x4ad24d
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.004a2840
add esp, 0x10
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov ecx, 0xb
jmp 0x4ad253
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 0x4ad200
push eax
call fcn.0051d799
add esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4ad2cb
cmp dword [ebp - 0x10], 0
je 0x4ad2c2
xor ebx, ebx
cmp dword [esi + 0x70], ebx
jbe 0x4ad2c2
cmp dword [eax + ebx*4], 0
jne 0x4ad2bc
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.004a2840
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 0x4ad285
push eax
call fcn.0051d799
add esp, 4
cmp dword [ebp - 0x10], 0
jne 0x4ad2db
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x38], 0
je 0x4ad334
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.004a2840
add esp, 0xc
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
push 0x401
push ecx
push 0x58c958
push edi
call fcn.004a2840
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 0x4ad337
mov ebx, dword [ebp - 4]
cmp dword [esi + 0x44], 0
mov eax, dword [ebp - 0x20]
je 0x4ad479
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
cmp dword [esi + 0x38], 2
jge 0x4ad479
mov edx, 0x569fe8
test ebx, ebx
je 0x4ad38a
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.004a2840
add esp, 0x14
jmp 0x4ad401
test ecx, ecx
jne 0x4ad3ac
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.004a2840
add esp, 0x10
jmp 0x4ad401
cmp dword [esi + 0x74], 0
je 0x4ad3d5
add eax, dword [ebp - 0x18]
jne 0x4ad3d5
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.004a2840
add esp, 0x10
jmp 0x4ad401
push 0
mov eax, edx
lea edi, [esi + 0x8dc]
push ecx
cmp ecx, 1
mov edx, 0x5a5ab4
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.004a2840
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 0x4ad441
push 0
cmp ecx, 1
mov edx, 0x5a5ab4
push ecx
mov eax, 0x569fe8
cmovne eax, edx
push eax
push ecx
push str._lu_file_s_skipped_because_of_unsupported_compression_or_encoding._n
push edi
call fcn.004a2840
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 0x4ad479
push 0
cmp eax, 1
mov edx, 0x5a5ab4
mov ecx, 0x569fe8
cmovne ecx, edx
push ecx
push ecx
push eax
push str._lu_file_s_skipped_because_of_incorrect_password._n
push edi
call fcn.004a2840
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 0x4ad49a
cmp ebx, 1
jg 0x4ad49a
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 0x4ad4b2
cmp ebx, 1
jg 0x4ad4b2
mov ebx, 0x52
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x18], 0
je 0x4ad4cb
cmp ebx, 1
jg 0x4ad4cb
mov ebx, 0x51
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x4ad4d9
test ebx, ebx
mov eax, 1
cmove ebx, eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret