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

Disassembly:
push 0x3cc
mov eax, 0x536d81
call fcn.005078a4
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3d8], ebx
call fcn.004c7118
call fcn.0049a282
push eax
lea ecx, [ebp - 0x94]
call fcn.00496685
and dword [ebp - 4], 0
call fcn.0049a28e
mov ecx, eax
call fcn.00496f55
test al, al
je 0x4c6e02
push ebx
lea ecx, [ebp - 0x94]
call fcn.004968ff
xor ebx, ebx
lea ecx, [ebp - 0x94]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
call fcn.00496da4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d0], eax
push ebx
cmp eax, 0xffffffff
jne 0x4c6d5e
push 0x53f984
jmp 0x4c6e91
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x4c6d76
push ebx
push str.File_is_empty
jmp 0x4c6e91
cmp edi, 0x400000
jbe 0x4c6d89
push ebx
push 0x53f9c8
jmp 0x4c6e91
push edi
mov dword [ebp - 0x3d4], ebx
call fcn.004eb6b1
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 0x4c6de3
push ebx
call fcn.0050335f
pop ecx
mov ecx, esi
call fcn.004c7118
push 0
push str.Could_not_read_file
jmp 0x4c6e91
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.004c6fcb
push dword [ebp - 0x3d8]
mov bl, al
call fcn.0050335f
pop ecx
jmp 0x4c6fb2
call fcn.0049a28e
push eax
lea ecx, [ebp - 0x94]
call fcn.004968e2
call fcn.0049a4f6
test al, al
je 0x4c6e25
call fcn.0049a294
mov edi, eax
jmp 0x4c6e87
call fcn.0049a29a
push eax
lea ecx, [ebp - 0x19c]
call fcn.00496685
push 0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.00496da4
push eax
call fcn.004c78d2
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x94]
push ebx
call fcn.00496da4
push eax
call fcn.004c99b0
mov edi, eax
pop ecx
pop ecx
test ebx, ebx
je 0x4c6e72
push ebx
call fcn.0050335f
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.004967ad
mov ebx, dword [ebp - 0x3d8]
test edi, edi
jne 0x4c6e9f
push edi
push str.Error_opening_zip_file
mov ecx, esi
call fcn.004c7143
mov bl, al
jmp 0x4c6fb2
and dword [ebp - 0x3d4], 0
lea ecx, [ebp - 0x118]
push 0xffffffffffffffff
push ebx
call fcn.004966aa
push 0x53ade4
push 0x53ade8
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.0049711f
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.00496da4
push eax
push edi
call fcn.004c9387
add esp, 0x14
test eax, eax
je 0x4c6eff
push 0
push str.Could_not_find_ziped_file
jmp 0x4c6f6d
mov ebx, dword [ebp - 0x1a0]
test ebx, ebx
jne 0x4c6f11
push ebx
push str.File_is_empty
jmp 0x4c6f6d
cmp ebx, 0x400000
jbe 0x4c6f22
push 0
push 0x53f9c8
jmp 0x4c6f6d
push ebx
call fcn.004eb6b1
push ebx
push eax
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.004c9de7
add esp, 0x14
test eax, eax
je 0x4c6f78
cmp eax, 0x600
je 0x4c6f78
push dword [ebp - 0x3d0]
call fcn.0050335f
pop ecx
call fcn.0049a4f6
test al, al
jne 0x4c6f66
push edi
call fcn.004c916f
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.004c7143
mov bl, al
jmp 0x4c6fa3
call fcn.0049a4f6
test al, al
jne 0x4c6f88
push edi
call fcn.004c916f
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x3d0]
mov ecx, esi
push ebx
push edi
call fcn.004c6fcb
push edi
mov bl, al
call fcn.0050335f
pop ecx
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0
call fcn.004967ad
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004967ad
mov al, bl
call fcn.00507853
ret 8