Function at 0x4cfcf0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x820
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x81c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x82c]
mov eax, dword [ebp + 0x4c]
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], 0
lea edx, [esp + 0x28]
mov esi, 0x7ff
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
test cl, cl
je 0x4cfd3f
dec esi
jne 0x4cfd30
jmp 0x4cfd43
test esi, esi
jne 0x4cfd4d
mov byte [edx], 0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4cfd46
mov eax, 0x800
lea edi, [esp + 0x28]
call fcn.004eed30
mov eax, 0x92503c
mov ecx, edi
call fcn.0051fd20
mov esi, eax
test esi, esi
je 0x4cfdd0
push 2
push 0
push esi
call fcn.0065c165
add esp, 0xc
push esi
call fcn.0065c076
add esp, 4
push 0
push 0
push esi
mov edi, eax
call fcn.0065c165
add esp, 0xc
push edi
push ebx
push ebp
call fcn.004ce890
add esp, 0xc
push esi
mov ebx, eax
mov edx, dword [ebx + 0xc]
push edi
push 1
push edx
call fcn.0065ba5f
push esi
call fcn.0065a7dd
add esp, 0x14
mov eax, ebx
mov ecx, dword [esp + 0x82c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0065865c
add esp, 0x820
ret
xor ebp, ebp
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x4c]
push ebp
push eax
push edx
lea eax, [esp + 0x34]
push str._s_s___d_.piece
push eax
call fcn.0065cd4e
add esp, 0x14
push 0x72
push 0x92503c
call fcn.0065aab0
add esp, 8
test eax, eax
je 0x4cfe25
lea ecx, [esp + 0x28]
push 0x92503c
push ecx
call fcn.0065a64d
mov esi, eax
add esp, 8
test esi, esi
jne 0x4cff46
lea eax, [esp + 0x28]
call fcn.0051fbf0
mov ebx, eax
test ebx, ebx
je 0x4cfe72
mov eax, 0x92503c
call fcn.0051fbf0
mov edi, eax
test edi, edi
jne 0x4cfe4f
push ebx
call fcn.00658a01
add esp, 4
jmp 0x4cfe72
push edi
push ebx
call fcn.0065c29f
push ebx
mov esi, eax
call fcn.00658a01
add esp, 0xc
push edi
call fcn.00658a01
add esp, 4
test esi, esi
jne 0x4cff46
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x4c]
push ebp
push edx
push ecx
lea edx, [esp + 0x34]
push str._s_s___d_.last.piece
push edx
call fcn.0065cd4e
add esp, 0x14
push 0x72
push 0x92503c
call fcn.0065aab0
add esp, 8
test eax, eax
je 0x4cfebf
lea eax, [esp + 0x28]
push 0x92503c
push eax
call fcn.0065a64d
add esp, 8
test eax, eax
je 0x4cfebf
mov esi, eax
jmp 0x4cff0a
lea eax, [esp + 0x28]
call fcn.0051fbf0
mov ebx, eax
test ebx, ebx
jne 0x4cfed2
xor esi, esi
jmp 0x4cff0a
mov eax, 0x92503c
call fcn.0051fbf0
mov edi, eax
test edi, edi
jne 0x4cfeef
push ebx
call fcn.00658a01
add esp, 4
xor esi, esi
jmp 0x4cff0a
push edi
push ebx
call fcn.0065c29f
push ebx
mov esi, eax
call fcn.00658a01
add esp, 0xc
push edi
call fcn.00658a01
add esp, 4
xor ecx, ecx
test esi, esi
setne cl
mov edi, ecx
mov dword [esp + 0x24], edi
test esi, esi
jne 0x4cff4a
mov dword [esp + 0x1c], ebp
test edi, edi
jne 0x4cff7a
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x48]
push edx
push str.cannot_find_all_pieces_for_part__s
push 1
push 0x1fe
push str..mupdf_sourcexpsxps_zip.c
push ecx
call fcn.004b35a0
mov edi, dword [esp + 0x24]
push 2
push 0
push esi
inc ebp
call fcn.0065c165
add esp, 0xc
push esi
call fcn.0065c076
add dword [esp + 0x24], eax
add esp, 4
push esi
call fcn.0065a7dd
add esp, 4
test edi, edi
je 0x4cfdd6
mov dword [esp + 0x1c], ebp
test ebp, ebp
je 0x4d0053
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
call fcn.004ce890
xor ebx, ebx
add esp, 0xc
xor esi, esi
mov ebp, eax
cmp dword [esp + 0x1c], ebx
jle 0x4d0022
mov eax, dword [esp + 0x1c]
dec eax
push esi
cmp esi, eax
jge 0x4cffc8
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x4c]
push edx
push ecx
push str._s_s___d_.piece
lea edx, [esp + 0x38]
push edx
jmp 0x4cffdf
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x4c]
push eax
push edx
push str._s_s___d_.last.piece
lea eax, [esp + 0x38]
push eax
call fcn.0065cd4e
add esp, 0x14
mov eax, 0x92503c
lea ecx, [esp + 0x28]
call fcn.0051fd20
mov edi, eax
test edi, edi
je 0x4d0029
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0xc]
push edi
sub ecx, ebx
push ecx
add edx, ebx
push 1
push edx
call fcn.0065ba5f
push edi
add ebx, eax
call fcn.0065a7dd
inc esi
add esp, 0x14
cmp esi, dword [esp + 0x1c]
jl 0x4cffa5
mov eax, ebp
jmp 0x4cfdb7
mov ebx, dword [esp + 0x14]
mov edi, ebp
call fcn.004ce920
mov ecx, dword [ebx + 0x48]
lea eax, [esp + 0x28]
push eax
push str.cannot_open_file__s
push 1
push 0x20f
push str..mupdf_sourcexpsxps_zip.c
push ecx
call fcn.004b35a0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x48]
push edx
push str.cannot_find_part__s
push 1
push 0x218
push str..mupdf_sourcexpsxps_zip.c
push ecx
call fcn.004b35a0
int3