Function at 0x4c5ca0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x5d7008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
push 0x1004
mov dword [ebp - 0x4c], ebx
call fcn.0054cef5
mov edi, eax
add esp, 4
test edi, edi
je 0x4c69b1
push 2
lea esi, [edi + 0x1000]
mov word [esi + 1], 0
push 0xfffff000
push ebx
mov byte [esi + 3], 0
call fcn.00555bb3
add esp, 0xc
test eax, eax
jne 0x4c5e53
push ebx
call fcn.00556b1e
add esp, 4
add eax, 0x1000
mov dword [0x654d6c], eax
nop word [eax + eax]
cmp eax, 0x1000
jb 0x4c5db6
sub eax, 0x1000
mov dword [0x654d6c], eax
movzx eax, byte [esi + 1]
push ebx
mov byte [edi + 0x1000], al
movzx eax, byte [esi + 2]
push 0x1000
mov byte [edi + 0x1001], al
movzx eax, byte [esi + 3]
push 1
push edi
mov byte [edi + 0x1002], al
call fcn.005563eb
push 1
push 0xffffe000
push ebx
call fcn.00555bb3
lea esi, [edi + 0xfff]
add esp, 0x1c
cmp esi, edi
jae 0x4c5d72
mov eax, dword [0x654d6c]
jmp 0x4c5d10
movzx ecx, byte [esi + 3]
movzx eax, byte [esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
cmp ecx, 0x6054b50
je 0x4c5da7
dec esi
cmp esi, edi
jae 0x4c5d72
mov eax, dword [0x654d6c]
jmp 0x4c5d10
mov edx, dword [0x654d6c]
sub edx, edi
add edx, esi
jmp 0x4c5ee2
test eax, eax
jne 0x4c5e5d
push edi
call fcn.005417da
add esp, 4
cmp dword [0x5d7bd0], 0
je 0x4c5e3d
push 0x584fd8
push str.missing_end_signature__probably_not_a_zip_file__did_you
push str._tzip_warning:__s_s_n
push 2
call fcn.0054d4c0
add esp, 4
push eax
call fcn.004535a0
push 2
call fcn.0054d4c0
add esp, 0x14
push eax
call fcn.0055321c
add esp, 4
cmp dword [0x5d7bd0], 0
je 0x4c5e3d
push 0x584fd8
push str.remember_to_use_binary_mode_when_you_transferred_it__
push str._tzip_warning:__s_s_n
push 2
call fcn.0054d4c0
add esp, 4
push eax
call fcn.004535a0
push 2
call fcn.0054d4c0
add esp, 0x14
push eax
call fcn.0055321c
add esp, 4
mov eax, 3
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d630
mov esp, ebp
pop ebp
ret
mov dword [0x654d6c], 0x1000
push 0
push 0
push ebx
call fcn.00555bb3
add esp, 0xc
push ebx
call fcn.00556b29
add esp, 4
push ebx
push dword [0x654d6c]
push 1
push edi
call fcn.005563eb
add esp, 0x10
lea ecx, [eax + edi]
movzx eax, byte [esi + 1]
mov byte [ecx], al
lea edx, [ecx - 1]
movzx eax, byte [esi + 2]
mov byte [ecx + 1], al
movzx eax, byte [esi + 3]
mov byte [ecx + 2], al
cmp edx, edi
jb 0x4c5dbe
nop word [eax + eax]
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
cmp ecx, 0x6054b50
je 0x4c5ee0
dec edx
cmp edx, edi
jae 0x4c5eb0
jmp 0x4c5dbe
sub edx, edi
lea ecx, [edx + 4]
mov dword [0x654d6c], edx
push 0
mov eax, ebx
push ecx
push eax
call fcn.00555bb3
add esp, 0xc
push edi
call fcn.005417da
add esp, 4
lea eax, [ebp - 0x30]
push ebx
push 1
push 0x12
push eax
call fcn.005563eb
add esp, 0x10
cmp eax, 1
jne 0x4c5fce
movzx ecx, byte [ebp - 0x2f]
movzx eax, byte [ebp - 0x30]
shl cx, 8
or cx, ax
jne 0x4c5f61
movzx ecx, byte [ebp - 0x2d]
movzx eax, byte [ebp - 0x2e]
shl cx, 8
or cx, ax
jne 0x4c5f61
movzx edx, byte [ebp - 0x29]
movzx eax, byte [ebp - 0x2a]
movzx ecx, byte [ebp - 0x2b]
shl dx, 8
or dx, ax
shl cx, 8
movzx eax, byte [ebp - 0x2c]
or cx, ax
cmp cx, dx
je 0x4c5f70
mov edx, 0x584fd8
mov ecx, str.multiple_disk_information_ignored
call fcn.004bebd0
movzx eax, byte [ebp - 0x1f]
shl ax, 8
movzx ecx, ax
movzx eax, byte [ebp - 0x20]
or ecx, eax
mov dword [0x6548e0], ecx
je 0x4c5ff2
push ecx
call fcn.0054cef5
add esp, 4
mov dword [0x5e7d00], eax
test eax, eax
je 0x4c69b1
push ebx
push 1
push dword [0x6548e0]
push eax
call fcn.005563eb
add esp, 0x10
cmp eax, 1
je 0x4c5ff2
push dword [0x5e7d00]
call fcn.005417da
mov dword [0x5e7d00], 0
add esp, 4
push ebx
call fcn.00555825
add esp, 4
neg eax
sbb eax, eax
and eax, 9
add eax, 2
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d630
mov esp, ebp
pop ebp
ret
movzx eax, byte [ebp - 0x25]
mov esi, dword [0x654d6c]
shl ax, 8
movzx ecx, ax
movzx eax, byte [ebp - 0x26]
or ecx, eax
movzx eax, byte [ebp - 0x27]
shl ax, 8
shl ecx, 0x10
movzx eax, ax
or ecx, eax
movzx eax, byte [ebp - 0x28]
or ecx, eax
sub esi, ecx
cmp dword [0x5e7cf4], 0
mov dword [0x654d64], esi
je 0x4c605d
movzx eax, byte [ebp - 0x21]
mov edi, esi
shl ax, 8
movzx edx, ax
movzx eax, byte [ebp - 0x22]
or edx, eax
movzx eax, byte [ebp - 0x23]
shl ax, 8
movzx ecx, ax
movzx eax, byte [ebp - 0x24]
shl edx, 0x10
or ecx, eax
or edx, ecx
sub edi, edx
jmp 0x4c605f
xor edi, edi
push 0
push esi
push ebx
mov dword [ebp - 0x48], edi
call fcn.00555bb3
add esp, 0xc
test eax, eax
je 0x4c6095
push str.fseek
call fcn.00555851
add esp, 4
mov eax, 3
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d630
mov esp, ebp
pop ebp
ret
push ebx
push 1
lea eax, [ebp - 0x30]
mov dword [ebp - 0x44], 0x5e7cd4
push 4
push eax
call fcn.005563eb
add esp, 0x10
cmp eax, 1
jne 0x4c5fce
movzx eax, byte [ebp - 0x2d]
shl ax, 8
movzx ecx, ax
movzx eax, byte [ebp - 0x2e]
or ecx, eax
movzx eax, byte [ebp - 0x2f]
shl ax, 8
shl ecx, 0x10
movzx eax, ax
or ecx, eax
movzx eax, byte [ebp - 0x30]
or ecx, eax
cmp ecx, 0x2014b50
jne 0x4c639c
nop dword [eax]
push ebx
push 1
lea eax, [ebp - 0x30]
push 0x2a
push eax
call fcn.005563eb
add esp, 0x10
cmp eax, 1
jne 0x4c5fce
push 0x60
call fcn.0054cef5
mov esi, eax
add esp, 4
test esi, esi
je 0x4c69b1
movzx edx, byte [ebp - 0x2f]
movzx ecx, byte [ebp - 0x30]
shl dx, 8
or dx, cx
lea ecx, [esi + 2]
mov word [esi], dx
lea eax, [ecx + 0x15]
lea edx, [ebp - 0x19]
cmp ecx, edx
ja 0x4c6163
lea edx, [ebp - 0x2e]
cmp eax, edx
jb 0x4c6163
mov edi, edx
mov edx, 0x16
sub edi, ecx
nop dword [eax]
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edx, 1
jne 0x4c6150
mov edi, dword [ebp - 0x48]
jmp 0x4c6178
movups xmm0, xmmword [ebp - 0x2e]
mov eax, dword [ebp - 0x1e]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov ax, word [ebp - 0x1a]
mov word [ecx + 0x14], ax
movzx eax, byte [ebp - 0x17]
shl ax, 8
movzx ecx, ax
movzx eax, byte [ebp - 0x18]
or ecx, eax
mov dword [esi + 0x18], ecx
movzx eax, byte [ebp - 0x15]
shl ax, 8
movzx ecx, ax
movzx eax, byte [ebp - 0x16]
or ecx, eax
mov dword [esi + 0x20], ecx
movzx eax, byte [ebp - 0x13]
shl ax, 8
movzx ecx, ax
movzx eax, byte [ebp - 0x14]
or ecx, eax
mov dword [esi + 0x24], ecx
movzx ecx, byte [ebp - 0x11]
movzx eax, byte [ebp - 0x12]
shl cx, 8
or cx, ax
mov word [esi + 0x28], cx
movzx ecx, byte [ebp - 0xf]
movzx eax, byte [ebp - 0x10]
shl cx, 8
or cx, ax
mov word [esi + 0x2a], cx
movzx eax, byte [ebp - 0xb]
shl ax, 8
movzx ecx, ax
movzx eax, byte [ebp - 0xc]
or ecx, eax
movzx eax, byte [ebp - 0xd]
shl ax, 8
movzx eax, ax
shl ecx, 0x10
or ecx, eax
movzx eax, byte [ebp - 0xe]
or ecx, eax
mov dword [esi + 0x30], ecx
movzx eax, byte [ebp - 7]
shl ax, 8
movzx ecx, ax
movzx eax, byte [ebp - 8]
or ecx, eax
movzx eax, byte [ebp - 9]
shl ax, 8
movzx eax, ax
shl ecx, 0x10
or ecx, eax
movzx eax, byte [ebp - 0xa]
or ecx, eax
mov dword [esi + 0x44], 0
add ecx, edi
mov dword [esi + 0x40], 0
mov eax, 0xff00
mov dword [esi + 0x34], ecx
test word [esi], ax
mov eax, 0
mov dword [esi + 0x3c], 0
sete al
mov dword [esi + 0x48], 0
mov dword [esi + 0x58], eax
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x38], 0
mov dword [esi + 0x4c], 0
mov dword [eax], esi
lea eax, [esi + 0x5c]
mov dword [ebp - 0x44], eax
mov dword [eax], 0
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4c6905
inc eax
push eax
call fcn.0054cef5
add esp, 4
mov dword [esi + 0x48], eax
test eax, eax
je 0x4c69b1
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4c62b9
push eax
call fcn.0054cef5
add esp, 4
mov dword [esi + 0x40], eax
test eax, eax
je 0x4c69b1
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4c62d4
push eax
call fcn.0054cef5
add esp, 4
mov dword [esi + 0x44], eax
test eax, eax
je 0x4c69b1
push ebx
push 1
push dword [esi + 0x18]
push dword [esi + 0x48]
call fcn.005563eb
add esp, 0x10
cmp eax, 1
jne 0x4c5fce
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4c630d
push ebx
push 1
push eax
push dword [esi + 0x40]
call fcn.005563eb
add esp, 0x10
cmp eax, 1
jne 0x4c5fce
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4c632c
push ebx
push 1
push eax
push dword [esi + 0x44]
call fcn.005563eb
add esp, 0x10
cmp eax, 1
jne 0x4c5fce
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x18]
push ebx
push 1
push 4
mov byte [ecx + eax], 0
lea eax, [ebp - 0x30]
mov ecx, dword [0x654d6c]
cmp dword [esi + 0x34], ecx
push eax
cmovb ecx, dword [esi + 0x34]
inc dword [0x654d60]
mov dword [0x654d6c], ecx
call fcn.005563eb
add esp, 0x10
cmp eax, 1
jne 0x4c5fce
movzx eax, byte [ebp - 0x2d]
shl ax, 8
movzx ecx, ax
movzx eax, byte [ebp - 0x2e]
or ecx, eax
movzx eax, byte [ebp - 0x2f]
shl ax, 8
shl ecx, 0x10
movzx eax, ax
or ecx, eax
movzx eax, byte [ebp - 0x30]
or ecx, eax
cmp ecx, 0x2014b50
je 0x4c60f0
mov esi, dword [0x5e7cd4]
test esi, esi
je 0x4c68b1
nop word [eax + eax]
push 0
push dword [esi + 0x34]
push ebx
call fcn.00555bb3
add esp, 0xc
test eax, eax
jne 0x4c5fce
push ebx
push 1
lea eax, [ebp - 0x30]
push 4
push eax
call fcn.005563eb
add esp, 0x10
cmp eax, 1
jne 0x4c5fce
movzx eax, byte [ebp - 0x2d]
shl ax, 8
movzx ecx, ax
movzx eax, byte [ebp - 0x2e]
or ecx, eax
movzx eax, byte [ebp - 0x2f]
shl ax, 8
shl ecx, 0x10
movzx eax, ax
or ecx, eax
movzx eax, byte [ebp - 0x30]
or ecx, eax
cmp ecx, 0x4034b50
jne 0x4c69f5
push ebx
push 1
lea eax, [ebp - 0x30]
push 0x1a
push eax
call fcn.005563eb
add esp, 0x10
cmp eax, 1
jne 0x4c5fce
movzx ecx, byte [ebp - 0x2d]
movzx eax, byte [ebp - 0x2e]
shl cx, 8
or cx, ax
mov word [esi + 0x2c], cx
movzx eax, byte [ebp - 0x19]
shl ax, 8
movzx edx, ax
movzx eax, byte [ebp - 0x1a]
or edx, eax
movzx eax, byte [ebp - 0x17]
shl ax, 8
movzx ecx, ax
movzx eax, byte [ebp - 0x18]
or ecx, eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], ecx
cmp edx, eax
jne 0x4c69d2
push eax
call fcn.0054cef5
mov edi, eax
add esp, 4
mov dword [ebp - 0x44], edi
test edi, edi
je 0x4c69b1
push ebx
push 1
push dword [esi + 0x18]
push edi
call fcn.005563eb
add esp, 0x10
cmp eax, 1
jne 0x4c69c7
mov edx, dword [esi + 0x48]
mov ecx, edi
mov edi, dword [esi + 0x18]
sub edi, 4
jb 0x4c64c1
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4c64c6
add ecx, 4
add edx, 4
sub edi, 4
jae 0x4c64b0
cmp edi, 0xfffffffc
je 0x4c6503
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4c694c
cmp edi, 0xfffffffd
je 0x4c6503
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4c694c
cmp edi, 0xfffffffe
je 0x4c6503
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4c694c
cmp edi, 0xffffffff
je 0x4c6503
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x4c694c
push dword [ebp - 0x44]
call fcn.005417da
mov eax, dword [esi + 0x1c]
add esp, 4
test eax, eax
je 0x4c65ac
push eax
call fcn.0054cef5
add esp, 4
mov dword [esi + 0x3c], eax
test eax, eax
je 0x4c69b1
push ebx
push 1
push dword [esi + 0x1c]
push eax
call fcn.005563eb
add esp, 0x10
cmp eax, 1
jne 0x4c697a
mov edi, dword [esi + 0x1c]
cmp edi, dword [esi + 0x20]
jne 0x4c65ac
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
sub edi, 4
jb 0x4c6569
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4c656e
add ecx, 4
add edx, 4
sub edi, 4
jae 0x4c6558
cmp edi, 0xfffffffc
je 0x4c659b
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4c65ac
cmp edi, 0xfffffffd
je 0x4c659b
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4c65ac
cmp edi, 0xfffffffe
je 0x4c659b
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4c65ac
cmp edi, 0xffffffff
je 0x4c659b
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x4c65ac
push dword [esi + 0x3c]
call fcn.005417da
mov eax, dword [esi + 0x40]
add esp, 4
mov dword [esi + 0x3c], eax
test byte [esi + 0x2c], 8
je 0x4c667f
movzx eax, byte [ebp - 0x1f]
shl ax, 8
movzx edx, ax
movzx eax, byte [ebp - 0x20]
or edx, eax
movzx eax, byte [ebp - 0x21]
shl ax, 8
shl edx, 0x10
movzx eax, ax
or edx, eax
movzx eax, byte [ebp - 0x22]
or edx, eax
jne 0x4c65fe
movzx edx, byte [esi + 0x13]
movzx eax, byte [esi + 0x12]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 0x11]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 0x10]
shl edx, 8
or edx, eax
mov ecx, dword [esi + 0x1c]
add edx, 0x1e
add ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x34]
add ecx, edx
push 0
add eax, ecx
push eax
push ebx
call fcn.00555bb3
add esp, 0xc
test eax, eax
jne 0x4c5fce
push ebx
push 1
lea eax, [ebp - 0x40]
push 0x10
push eax
call fcn.005563eb
add esp, 0x10
cmp eax, 1
jne 0x4c5fce
movzx eax, byte [ebp - 0x3d]
shl ax, 8
movzx ecx, ax
movzx eax, byte [ebp - 0x3e]
or ecx, eax
movzx eax, byte [ebp - 0x3f]
shl ax, 8
shl ecx, 0x10
movzx eax, ax
or ecx, eax
movzx eax, byte [ebp - 0x40]
or ecx, eax
cmp ecx, 0x8074b50
jne 0x4c6987
movq xmm0, qword [ebp - 0x3c]
mov eax, dword [ebp - 0x34]
movq qword [ebp - 0x26], xmm0
mov dword [ebp - 0x1e], eax
mov dl, byte [esi + 5]
xor ebx, ebx
movzx eax, byte [esi + 4]
xor edi, edi
movzx ecx, dl
and dl, 0x1f
shl cx, 8
or cx, ax
mov byte [esi + 5], dl
and byte [ebp - 0x2d], 0x1f
lea edx, [esi + 2]
movzx eax, cx
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x30]
sub edx, eax
mov dword [ebp - 0x44], edx
nop
lea ecx, [ebp - 0x30]
add ecx, edi
mov al, byte [ecx]
cmp al, byte [ecx + edx]
je 0x4c6769
test ebx, ebx
jne 0x4c6709
cmp dword [0x5d7bd0], ebx
je 0x4c6704
push dword [esi + 0x4c]
push str.local_and_central_headers_differ_for
push str._tzip_warning:__s_s_n
push 2
call fcn.0054d4c0
add esp, 4
push eax
call fcn.004535a0
push 2
call fcn.0054d4c0
add esp, 0x14
push eax
call fcn.0055321c
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x30]
add esp, 4
add ecx, edi
mov ebx, 1
cmp dword [0x5d7bd0], 0
je 0x4c6769
movzx eax, byte [ecx + edx]
push eax
movzx eax, byte [ecx]
push eax
push edi
push str._offset__u__local___02x__central___02x
push 0x654900
call fcn.0048d4b0
add esp, 0x14
cmp dword [0x5d7bd0], 0
je 0x4c6769
push 0x584fd8
push 0x654900
push str._tzip_warning:__s_s_n
push 2
call fcn.0054d4c0
add esp, 4
push eax
call fcn.004535a0
push 2
call fcn.0054d4c0
add esp, 0x14
push eax
call fcn.0055321c
add esp, 4
mov edx, dword [ebp - 0x44]
inc edi
cmp edi, 0x16
jb 0x4c66b0
mov dword [ebp - 0x44], ebx
cmp dword [ebp - 0x44], 0
mov ebx, dword [ebp - 0x4c]
je 0x4c678f
cmp dword [0x5e7cf4], 0
je 0x4c5e3d
movzx ecx, byte [esi + 0x17]
movzx eax, byte [esi + 0x16]
shl ecx, 8
or ecx, eax
mov edi, dword [esi + 0x48]
movzx eax, byte [esi + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x14]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x14], ecx
movzx ecx, byte [esi + 0x13]
movzx eax, byte [esi + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x10]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x10], ecx
movzx ecx, byte [esi + 0xf]
movzx eax, byte [esi + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xc]
shl ecx, 8
or ecx, eax
mov dword [esi + 0xc], ecx
movzx ecx, byte [esi + 0xb]
movzx eax, byte [esi + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 8]
shl ecx, 8
or ecx, eax
mov dword [esi + 8], ecx
movzx ecx, byte [esi + 7]
movzx eax, byte [esi + 6]
shl cx, 8
or cx, ax
mov eax, dword [ebp - 0x48]
mov word [esi + 6], cx
mov word [esi + 4], ax
movzx ecx, byte [esi + 3]
movzx eax, byte [esi + 2]
shl cx, 8
or cx, ax
mov dword [esi + 0x50], 0
mov word [esi + 2], cx
mov ecx, edi
mov dword [esi + 0x54], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c6860
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.0054cef5
mov edx, eax
add esp, 4
test edx, edx
je 0x4c69aa
mov ecx, edx
sub ecx, edi
mov al, byte [edi]
lea edi, [edi + 1]
mov byte [edi + ecx - 1], al
test al, al
jne 0x4c6883
cmp dword [0x5e7ce4], 0
mov dword [esi + 0x4c], edx
mov dword [esi + 0x38], edx
je 0x4c68a6
mov ecx, esi
call fcn.004c5160
mov esi, dword [esi + 0x5c]
test esi, esi
jne 0x4c63b0
mov eax, dword [0x654d6c]
test eax, eax
je 0x4c68f2
cmp dword [0x5d7bd0], 0
je 0x4c68f2
cmp dword [0x5e7cf4], 0
mov ecx, str.found
push eax
mov eax, str.adjusting_offsets_for
cmove eax, ecx
push eax
push dword [0x654d54]
push str._s:__s_a_preamble_of__lu_bytes_n
push dword [0x654d5c]
call fcn.004535a0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d630
mov esp, ebp
pop ebp
ret
mov eax, dword [0x654d60]
inc eax
push eax
push 0x5ce628
push 0x654900
call fcn.0048d4b0
add esp, 0xc
mov edx, 0x654900
mov ecx, str.zero_length_name_for_entry_
call fcn.004bebd0
push esi
call fcn.005417da
add esp, 4
mov eax, 3
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d630
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x44]
call fcn.005417da
mov edx, dword [esi + 0x48]
add esp, 4
mov ecx, str.names_in_local_and_central_differ_for
call fcn.004bebd0
mov eax, 3
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d630
mov esp, ebp
pop ebp
ret
push dword [esi + 0x3c]
call fcn.005417da
jmp 0x4c5fcb
mov edx, dword [esi + 0x48]
mov ecx, str.extended_local_header_not_found_for
call fcn.004bebd0
mov eax, 3
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d630
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x4c], 0
mov eax, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d630
mov esp, ebp
pop ebp
ret
push edi
call fcn.005417da
jmp 0x4c5fcb
mov edx, dword [esi + 0x48]
mov ecx, str.name_lengths_in_local_and_central_differ_for
call fcn.004bebd0
mov eax, 3
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d630
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x48]
mov ecx, str.local_header_not_found_for
call fcn.004bebd0
mov ecx, dword [ebp - 4]
mov eax, 3
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053d630
mov esp, ebp
pop ebp
ret