Function at 0x468149
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4ba700]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [0x5244b4]
mov edi, ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], esi
call fcn.0046a30a
add esp, 0x10
mov dword [ebp - 0x44], 0x4bd6e4
mov dword [ebp - 0x34], esi
jmp 0x468190
cmp eax, 0x50
je 0x46819c
inc dword [ebp - 0x34]
push edi
call fcn.0048267d
pop ecx
cmp eax, 0xffffffff
jne 0x468188
push edi
push 1
mov byte [ebp - 0x30], al
lea eax, [ebp - 0x2f]
push 3
push eax
call fcn.004833f1
add esp, 0x10
cmp eax, 1
jne 0x468215
movzx ax, byte [ebp - 0x2d]
movzx ecx, byte [ebp - 0x2e]
shl ax, 8
movzx eax, ax
or eax, ecx
movzx cx, byte [ebp - 0x2f]
shl cx, 8
movzx ecx, cx
shl eax, 0x10
or eax, ecx
movzx ecx, byte [ebp - 0x30]
or eax, ecx
mov dword [ebp - 0x38], eax
cmp eax, 0x4034b50
je 0x468215
cmp eax, 0x6054b50
je 0x468215
push 1
push 0xfffffffffffffffd
push edi
call fcn.00480b87
add esp, 0xc
test eax, eax
je 0x46818d
push edi
call fcn.00481076
neg eax
sbb eax, eax
and eax, 9
inc eax
pop ecx
inc eax
jmp 0x46831a
mov eax, dword [ebp - 0x34]
movzx ecx, byte [ebp - 0x2e]
mov dword [0x524914], eax
movzx ax, byte [ebp - 0x2d]
shl ax, 8
movzx eax, ax
or eax, ecx
movzx cx, byte [ebp - 0x2f]
shl cx, 8
movzx ecx, cx
shl eax, 0x10
or eax, ecx
movzx ecx, byte [ebp - 0x30]
or eax, ecx
push ebx
cmp eax, 0x4034b50
je 0x46832b
mov eax, dword [ebp - 0x34]
movzx ecx, byte [ebp - 0x2e]
mov dword [ebp - 0x38], eax
movzx ax, byte [ebp - 0x2d]
shl ax, 8
movzx eax, ax
or eax, ecx
movzx cx, byte [ebp - 0x2f]
shl cx, 8
movzx ecx, cx
shl eax, 0x10
or eax, ecx
movzx ecx, byte [ebp - 0x30]
or eax, ecx
cmp eax, 0x2014b50
je 0x4682e3
cmp dword [0x4ba078], 0
je 0x4682e3
cmp dword [0x4bd6bc], 1
mov eax, str.has_been
jg 0x4682a4
mov eax, str.would_be
push eax
push dword [0x5244b4]
push str.zip_warning:__s__s_truncated._n
push dword [0x5244a4]
call fcn.0047edb3
add esp, 0x10
cmp dword [0x4bd6bc], 1
jne 0x4682e3
push str.Retry_with_option__qF_to_truncate__with__FF_to_attempt_full_recovery_n
push dword [0x5244a4]
call fcn.0047edb3
push 0
push 3
call fcn.0046528a
add esp, 0x10
mov eax, dword [ebp - 0x38]
mov dword [0x5244ac], eax
mov eax, dword [0x524914]
test eax, eax
je 0x468317
cmp dword [0x4ba078], 0
je 0x468317
push eax
push dword [0x5244b4]
push str._s:_adjusting_offsets_for_a_preamble_of__lu_bytes_n
push dword [0x5244a4]
call fcn.0047edb3
add esp, 0x10
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0047c3ff
leave
ret
mov edi, dword [ebp - 0x3c]
push 0x60
call fcn.0047da45
mov esi, eax
pop ecx
test esi, esi
je 0x46890f
mov eax, dword [0x524920]
lea ecx, [eax + 1]
cmp ecx, eax
jb 0x46890f
push edi
push 1
lea eax, [ebp - 0x30]
push 0x1a
push eax
call fcn.004833f1
add esp, 0x10
cmp eax, 1
jne 0x4688af
movzx ax, byte [ebp - 0x2f]
movzx cx, byte [ebp - 0x30]
shl ax, 8
or ax, cx
mov word [esi + 2], ax
mov eax, dword [0x4bd6b4]
neg eax
sbb eax, eax
and eax, 0xfffff4fd
add eax, 0xb17
mov word [esi], ax
mov eax, dword [0x4bd6b4]
mov dword [esi + 0x58], eax
movzx ax, byte [ebp - 0x2d]
movzx cx, byte [ebp - 0x2e]
shl ax, 8
or ax, cx
mov word [esi + 0x2c], ax
mov word [esi + 4], ax
movzx cx, byte [ebp - 0x2c]
movzx ebx, ax
movzx ax, byte [ebp - 0x2b]
shl ax, 8
or ax, cx
mov word [esi + 6], ax
movzx ax, byte [ebp - 0x27]
movzx ecx, byte [ebp - 0x28]
shl ax, 8
movzx eax, ax
or eax, ecx
movzx cx, byte [ebp - 0x29]
shl eax, 0x10
shl cx, 8
movzx ecx, cx
or eax, ecx
movzx ecx, byte [ebp - 0x2a]
or eax, ecx
mov dword [esi + 8], eax
movzx ax, byte [ebp - 0x23]
movzx ecx, byte [ebp - 0x24]
shl ax, 8
movzx eax, ax
or eax, ecx
movzx cx, byte [ebp - 0x25]
shl eax, 0x10
shl cx, 8
movzx ecx, cx
or eax, ecx
movzx ecx, byte [ebp - 0x26]
or eax, ecx
mov dword [esi + 0xc], eax
movzx ax, byte [ebp - 0x1f]
movzx ecx, byte [ebp - 0x20]
shl ax, 8
movzx eax, ax
or eax, ecx
movzx cx, byte [ebp - 0x21]
shl eax, 0x10
shl cx, 8
movzx ecx, cx
or eax, ecx
movzx ecx, byte [ebp - 0x22]
or eax, ecx
mov dword [esi + 0x10], eax
movzx ax, byte [ebp - 0x1b]
movzx ecx, byte [ebp - 0x1c]
shl ax, 8
movzx eax, ax
or eax, ecx
movzx cx, byte [ebp - 0x1d]
shl cx, 8
shl eax, 0x10
movzx ecx, cx
or eax, ecx
movzx ecx, byte [ebp - 0x1e]
or eax, ecx
mov dword [esi + 0x14], eax
movzx ax, byte [ebp - 0x19]
shl ax, 8
movzx edi, ax
movzx eax, byte [ebp - 0x1a]
or edi, eax
mov dword [esi + 0x18], edi
movzx ax, byte [ebp - 0x17]
movzx ecx, byte [ebp - 0x18]
shl ax, 8
movzx eax, ax
or eax, ecx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x24], ecx
mov word [esi + 0x28], ax
mov word [esi + 0x2a], ax
movzx eax, byte [ebp - 0x40]
cmp dword [0x4bd6b4], ecx
jne 0x4684c6
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x30], eax
mov dword [esi + 0x50], ecx
mov dword [esi + 0x54], ecx
cmp dword [0x4bd6bc], 1
jle 0x4684dd
mov dword [ebp - 0x38], ecx
jmp 0x4684e3
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x44], ecx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x48], ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x4c], ecx
mov dword [eax], esi
lea eax, [esi + 0x5c]
mov dword [eax], ecx
mov dword [ebp - 0x44], eax
cmp edi, ecx
je 0x4688bb
lea eax, [edi + 1]
push eax
call fcn.0047da45
pop ecx
mov dword [esi + 0x48], eax
test eax, eax
je 0x46890f
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x468538
push eax
call fcn.0047da45
pop ecx
mov dword [esi + 0x3c], eax
test eax, eax
je 0x46890f
push dword [ebp - 0x3c]
push 1
push edi
push dword [esi + 0x48]
call fcn.004833f1
add esp, 0x10
cmp eax, 1
jne 0x4688f8
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x468573
push dword [ebp - 0x3c]
push 1
push eax
push dword [esi + 0x3c]
call fcn.004833f1
add esp, 0x10
cmp eax, 1
jne 0x4688f8
cmp dword [ebp - 0x38], 0
je 0x468591
push 1
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.00480b87
add esp, 0xc
test eax, eax
jne 0x4688f8
mov eax, dword [esi + 0x48]
mov byte [edi + eax], 0
push dword [esi + 0x48]
call fcn.0046a2df
pop ecx
mov dword [esi + 0x4c], eax
test eax, eax
je 0x46890f
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x38], eax
mov dword [esi + 0x40], ecx
cmp dword [0x4ba078], 0
je 0x4685d2
push eax
push str.zip:_reading__s_n
push dword [0x5244a4]
call fcn.0047edb3
add esp, 0xc
mov eax, dword [ebp - 0x34]
mov ecx, dword [esi + 0x1c]
add ecx, edi
mov dword [esi + 0x34], eax
add ecx, dword [ebp - 0x38]
inc dword [0x524920]
lea eax, [eax + ecx + 0x1e]
mov dword [ebp - 0x34], eax
test bl, 8
je 0x4687de
cmp dword [ebp - 0x38], 0
jne 0x4686c1
mov edi, dword [ebp - 0x3c]
push edi
call fcn.0048267d
pop ecx
cmp eax, 0xffffffff
je 0x468614
cmp eax, 0x50
jne 0x468600
push edi
push 1
mov byte [ebp - 0x30], al
lea eax, [ebp - 0x2f]
push 0xf
push eax
call fcn.004833f1
add esp, 0x10
cmp eax, 1
jne 0x468674
movzx ax, byte [ebp - 0x2d]
movzx ecx, byte [ebp - 0x2e]
shl ax, 8
movzx eax, ax
or eax, ecx
movzx cx, byte [ebp - 0x2f]
shl cx, 8
movzx ecx, cx
shl eax, 0x10
or eax, ecx
movzx ecx, byte [ebp - 0x30]
or eax, ecx
cmp eax, 0x8074b50
je 0x468674
push 1
push 0xfffffffffffffff1
push edi
call fcn.00480b87
add esp, 0xc
test eax, eax
je 0x468600
push edi
jmp 0x4688fb
movzx ax, byte [ebp - 0x25]
movzx ecx, byte [ebp - 0x26]
shl ax, 8
movzx eax, ax
or eax, ecx
movzx cx, byte [ebp - 0x27]
shl cx, 8
movzx ecx, cx
shl eax, 0x10
or eax, ecx
movzx ecx, byte [ebp - 0x28]
or eax, ecx
add dword [ebp - 0x34], eax
push edi
mov dword [ebp - 0x38], eax
call fcn.00483669
pop ecx
mov ecx, dword [ebp - 0x34]
add ecx, 0x10
cmp eax, ecx
je 0x468727
push dword [esi + 0x4c]
push str.bad_extended_local_header_for
jmp 0x4688ea
push 0
push eax
push dword [ebp - 0x3c]
call fcn.00480b87
add esp, 0xc
test eax, eax
jne 0x4688f8
push dword [ebp - 0x3c]
lea eax, [ebp - 0x30]
push 1
push 0x10
push eax
call fcn.004833f1
add esp, 0x10
cmp eax, 1
jne 0x4688f8
movzx ax, byte [ebp - 0x2d]
movzx ecx, byte [ebp - 0x2e]
shl ax, 8
movzx eax, ax
or eax, ecx
movzx cx, byte [ebp - 0x2f]
shl cx, 8
movzx ecx, cx
shl eax, 0x10
or eax, ecx
movzx ecx, byte [ebp - 0x30]
or eax, ecx
cmp eax, 0x8074b50
jne 0x4688e2
movzx ax, byte [ebp - 0x29]
movzx ecx, byte [ebp - 0x2a]
shl ax, 8
movzx eax, ax
or eax, ecx
movzx cx, byte [ebp - 0x2b]
shl cx, 8
shl eax, 0x10
movzx ecx, cx
or eax, ecx
movzx ecx, byte [ebp - 0x2c]
or eax, ecx
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x10], eax
movzx ax, byte [ebp - 0x21]
movzx ecx, byte [ebp - 0x22]
shl ax, 8
movzx eax, ax
or eax, ecx
movzx cx, byte [ebp - 0x23]
shl cx, 8
movzx ecx, cx
shl eax, 0x10
or eax, ecx
movzx ecx, byte [ebp - 0x24]
or eax, ecx
add dword [ebp - 0x34], 0x10
mov dword [esi + 0x14], eax
push dword [ebp - 0x3c]
lea eax, [ebp - 0x30]
push 1
push 4
push eax
call fcn.004833f1
add esp, 0x10
cmp eax, 1
jne 0x468252
movzx ax, byte [ebp - 0x2d]
movzx ecx, byte [ebp - 0x2e]
shl ax, 8
movzx eax, ax
or eax, ecx
movzx cx, byte [ebp - 0x2f]
shl cx, 8
movzx ecx, cx
shl eax, 0x10
or eax, ecx
movzx ecx, byte [ebp - 0x30]
or eax, ecx
cmp eax, 0x4034b50
je 0x468328
jmp 0x468252
cmp dword [0x4bd6bc], 1
jle 0x468789
mov ebx, dword [ebp - 0x3c]
jmp 0x4687f4
cmp eax, 0x50
je 0x468800
inc dword [ebp - 0x34]
push ebx
call fcn.0048267d
pop ecx
cmp eax, 0xffffffff
jne 0x4687ec
push ebx
push 1
mov byte [ebp - 0x30], al
lea eax, [ebp - 0x2f]
push 3
push eax
call fcn.004833f1
add esp, 0x10
cmp eax, 1
jne 0x468870
movzx ax, byte [ebp - 0x2d]
movzx ecx, byte [ebp - 0x2e]
shl ax, 8
movzx eax, ax
or eax, ecx
movzx cx, byte [ebp - 0x2f]
shl cx, 8
movzx ecx, cx
shl eax, 0x10
or eax, ecx
movzx ecx, byte [ebp - 0x30]
or eax, ecx
mov dword [ebp - 0x38], eax
cmp eax, 0x4034b50
je 0x468870
cmp eax, 0x2014b50
je 0x468870
push 1
push 0xfffffffffffffffd
push ebx
call fcn.00480b87
add esp, 0xc
test eax, eax
jne 0x4688f5
inc dword [ebp - 0x34]
jmp 0x4687e7
mov eax, dword [ebp - 0x34]
sub eax, dword [esi + 0x34]
sub eax, dword [esi + 0x1c]
sub eax, edi
sub eax, 0x1e
mov dword [ebp - 0x38], eax
mov ecx, dword [esi + 0x10]
cmp eax, ecx
je 0x4687a5
push dword [esi + 0x4c]
push eax
push ecx
push str._compressed_size__ld__actual_size__ld_for__s_n
push dword [0x5244a4]
call fcn.0047edb3
mov eax, dword [ebp - 0x38]
add esp, 0x14
mov dword [esi + 0x10], eax
jmp 0x4687a5
push esi
call fcn.0047d643
pop ecx
jmp 0x468252
mov eax, dword [0x524920]
inc eax
push eax
push 0x49d600
mov esi, 0x5244c0
push esi
call fcn.0047c59e
push esi
push str.zero_length_name_for_entry_
call fcn.00465443
add esp, 0x14
jmp 0x4688f1
push dword [esi + 0x4c]
push str.extended_local_header_not_found_for
call fcn.00465443
pop ecx
pop ecx
push 3
jmp 0x468911
push ebx
jmp 0x4688fb
push dword [ebp - 0x3c]
call fcn.00481076
neg eax
sbb eax, eax
and eax, 9
inc eax
pop ecx
inc eax
jmp 0x468319
push 4
pop eax
jmp 0x468319