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

Disassembly:
push 0x3cc
mov eax, 0x536f2a
call fcn.005078e4
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3d8], ebx
call fcn.004c7285
call fcn.0049a3dc
push eax
lea ecx, [ebp - 0x94]
call fcn.004967f6
and dword [ebp - 4], 0
call fcn.0049a3e8
mov ecx, eax
call fcn.004970c6
test al, al
je 0x4c6f6f
push ebx
lea ecx, [ebp - 0x94]
call fcn.00496a80
xor ebx, ebx
lea ecx, [ebp - 0x94]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
call fcn.00496f15
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d0], eax
push ebx
cmp eax, 0xffffffff
jne 0x4c6ecb
push 0x53f984
jmp 0x4c6ffe
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x4c6ee3
push ebx
push str.File_is_empty
jmp 0x4c6ffe
cmp edi, 0x400000
jbe 0x4c6ef6
push ebx
push 0x53f9c8
jmp 0x4c6ffe
push edi
mov dword [ebp - 0x3d4], ebx
call fcn.004eb821
pop ecx
mov ebx, eax
lea eax, [ebp - 0x3d4]
push 0
push eax
push edi
push ebx
push dword [ebp - 0x3d0]
mov dword [ebp - 0x3d8], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x3d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x3d4], edi
je 0x4c6f50
push ebx
call fcn.005033af
pop ecx
mov ecx, esi
call fcn.004c7285
push 0
push str.Could_not_read_file
jmp 0x4c6ffe
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.004c7138
push dword [ebp - 0x3d8]
mov bl, al
call fcn.005033af
pop ecx
jmp 0x4c711f
call fcn.0049a3e8
push eax
lea ecx, [ebp - 0x94]
call fcn.00496a63
call fcn.0049a650
test al, al
je 0x4c6f92
call fcn.0049a3ee
mov edi, eax
jmp 0x4c6ff4
call fcn.0049a3f4
push eax
lea ecx, [ebp - 0x19c]
call fcn.004967f6
push 0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.00496f15
push eax
call fcn.0049f5cb
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x94]
push ebx
call fcn.00496f15
push eax
call fcn.004c9ab8
mov edi, eax
pop ecx
pop ecx
test ebx, ebx
je 0x4c6fdf
push ebx
call fcn.005033af
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.0049691e
mov ebx, dword [ebp - 0x3d8]
test edi, edi
jne 0x4c700c
push edi
push str.Error_opening_zip_file
mov ecx, esi
call fcn.004c72b0
mov bl, al
jmp 0x4c711f
and dword [ebp - 0x3d4], 0
lea ecx, [ebp - 0x118]
push 0xffffffffffffffff
push ebx
call fcn.0049681b
push 0x53ade4
push 0x53ade8
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.00497290
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.00496f15
push eax
push edi
call fcn.004c948f
add esp, 0x14
test eax, eax
je 0x4c706c
push 0
push str.Could_not_find_ziped_file
jmp 0x4c70da
mov ebx, dword [ebp - 0x1a0]
test ebx, ebx
jne 0x4c707e
push ebx
push str.File_is_empty
jmp 0x4c70da
cmp ebx, 0x400000
jbe 0x4c708f
push 0
push 0x53f9c8
jmp 0x4c70da
push ebx
call fcn.004eb821
push ebx
push eax
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.004c9eef
add esp, 0x14
test eax, eax
je 0x4c70e5
cmp eax, 0x600
je 0x4c70e5
push dword [ebp - 0x3d0]
call fcn.005033af
pop ecx
call fcn.0049a650
test al, al
jne 0x4c70d3
push edi
call fcn.004c9277
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.004c72b0
mov bl, al
jmp 0x4c7110
call fcn.0049a650
test al, al
jne 0x4c70f5
push edi
call fcn.004c9277
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x3d0]
mov ecx, esi
push ebx
push edi
call fcn.004c7138
push edi
mov bl, al
call fcn.005033af
pop ecx
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0
call fcn.0049691e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.0049691e
mov al, bl
call fcn.00507893
ret 8