Function at 0x4dde81
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x738
mov eax, 0x553d7c
call fcn.00518bb5
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x508]
call fcn.004b5f13
xor ebx, ebx
lea ecx, [ebp - 0x508]
push ebx
push ebx
push esi
mov dword [ebp - 4], ebx
call fcn.004ba8ad
lea eax, [ebp - 0x400]
push eax
lea ecx, [ebp - 0x19c]
call fcn.004bdb46
mov byte [ebp - 4], 1
mov esi, ebx
mov edi, ebx
call fcn.004b78af
push eax
lea ecx, [ebp - 0x94]
call fcn.004bdb46
mov byte [ebp - 4], 2
call fcn.004b78bb
mov ecx, eax
call fcn.004be332
test al, al
je 0x4ddf92
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x94]
call fcn.004bdd88
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.004be17d
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4ddf43
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.004bdc6e
jmp 0x4de10c
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x4ddf2f
and dword [ebp - 0x744], 0
push edi
call fcn.005071d2
pop ecx
push 0
mov esi, eax
lea eax, [ebp - 0x744]
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x744], edi
je 0x4de0f9
push esi
call fcn.0050bf8c
pop ecx
xor esi, esi
jmp 0x4ddf2f
call fcn.004b78bb
push eax
lea ecx, [ebp - 0x94]
call fcn.004bdd88
call fcn.004b7b52
test al, al
je 0x4ddfb5
call fcn.004b78c1
mov ebx, eax
jmp 0x4de01a
call fcn.004b78c7
push eax
lea ecx, [ebp - 0x220]
call fcn.004bdb46
push ebx
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 3
call fcn.004be17d
push eax
call fcn.004d0b09
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x73c], eax
call fcn.004be17d
push eax
call sym.XFPDFEditor.exe_struct_HZIP______cdecl_OpenZip_wchar_t_const___char_const__
mov ebx, eax
mov eax, dword [ebp - 0x73c]
pop ecx
pop ecx
test eax, eax
je 0x4de00b
push eax
call fcn.0050bf8c
pop ecx
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 2
call fcn.004bdc6e
test ebx, ebx
je 0x4ddf2f
and dword [ebp - 0x740], 0
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x118]
call fcn.004bdb46
push 0x5642a4
push 0x5642a8
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 4
call fcn.004be4fc
lea eax, [ebp - 0x738]
push eax
lea eax, [ebp - 0x740]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.004be17d
push eax
push ebx
call sym.XFPDFEditor.exe_unsigned_long_int___cdecl_FindZipItem_struct_HZIP_____wchar_t_const___bool__int___struct_ZIPENTRY__
add esp, 0x14
test eax, eax
je 0x4de091
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.004bdc6e
jmp 0x4ddf2f
mov edi, dword [ebp - 0x50c]
test edi, edi
je 0x4de07d
push edi
call fcn.005071d2
push edi
mov esi, eax
push esi
push dword [ebp - 0x740]
push ebx
call sym.XFPDFEditor.exe_unsigned_long_int___cdecl_UnzipItem_struct_HZIP_____int__void___unsigned_int_
add esp, 0x14
test eax, eax
je 0x4de0da
cmp eax, 0x600
je 0x4de0da
push esi
call fcn.0050bf8c
pop ecx
xor esi, esi
call fcn.004b7b52
test al, al
jne 0x4de07d
push ebx
call sym.XFPDFEditor.exe_unsigned_long_int___cdecl_CloseZipU_struct_HZIP____
pop ecx
jmp 0x4de07d
call fcn.004b7b52
test al, al
jne 0x4de0ea
push ebx
call sym.XFPDFEditor.exe_unsigned_long_int___cdecl_CloseZipU_struct_HZIP____
pop ecx
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.004bdc6e
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.004bdc6e
test esi, esi
jne 0x4de180
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x19c]
call fcn.004be17d
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4de180
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x4de180
and dword [ebp - 0x73c], 0
push edi
call fcn.005071d2
pop ecx
push 0
mov esi, eax
lea eax, [ebp - 0x73c]
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x73c], edi
je 0x4de180
push esi
call fcn.0050bf8c
pop ecx
xor esi, esi
xor ebx, ebx
test esi, esi
je 0x4de198
push edi
push esi
call fcn.004dde16
push esi
mov ebx, eax
call fcn.0050bf8c
add esp, 0xc
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.004bdc6e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x508]
call fcn.004b638f
mov eax, ebx
call fcn.00518b64
ret