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

Disassembly:
push 0x3cc
mov eax, 0x538473
call fcn.00508cc4
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3d8], ebx
call fcn.004c866e
call fcn.0049b6fe
push eax
lea ecx, [ebp - 0x94]
call fcn.00497a4e
and dword [ebp - 4], 0
call fcn.0049b70a
mov ecx, eax
call fcn.00498322
test al, al
je 0x4c8358
push ebx
lea ecx, [ebp - 0x94]
call fcn.00497cc8
xor ebx, ebx
lea ecx, [ebp - 0x94]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
call fcn.0049816d
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d0], eax
push ebx
cmp eax, 0xffffffff
jne 0x4c82b4
push 0x540984
jmp 0x4c83e7
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x4c82cc
push ebx
push str.File_is_empty
jmp 0x4c83e7
cmp edi, 0x400000
jbe 0x4c82df
push ebx
push 0x5409c8
jmp 0x4c83e7
push edi
mov dword [ebp - 0x3d4], ebx
call fcn.004eca81
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 0x4c8339
push ebx
call fcn.0050478f
pop ecx
mov ecx, esi
call fcn.004c866e
push 0
push str.Could_not_read_file
jmp 0x4c83e7
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.004c8521
push dword [ebp - 0x3d8]
mov bl, al
call fcn.0050478f
pop ecx
jmp 0x4c8508
call fcn.0049b70a
push eax
lea ecx, [ebp - 0x94]
call fcn.00497cab
call fcn.0049b972
test al, al
je 0x4c837b
call fcn.0049b710
mov edi, eax
jmp 0x4c83dd
call fcn.0049b716
push eax
lea ecx, [ebp - 0x19c]
call fcn.00497a4e
push 0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.0049816d
push eax
call fcn.004a08ed
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x94]
push ebx
call fcn.0049816d
push eax
call fcn.004caea1
mov edi, eax
pop ecx
pop ecx
test ebx, ebx
je 0x4c83c8
push ebx
call fcn.0050478f
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.00497b76
mov ebx, dword [ebp - 0x3d8]
test edi, edi
jne 0x4c83f5
push edi
push str.Error_opening_zip_file
mov ecx, esi
call fcn.004c8699
mov bl, al
jmp 0x4c8508
and dword [ebp - 0x3d4], 0
lea ecx, [ebp - 0x118]
push 0xffffffffffffffff
push ebx
call fcn.00497a73
push 0x53bde4
push 0x53bde8
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.004984ec
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.0049816d
push eax
push edi
call fcn.004ca878
add esp, 0x14
test eax, eax
je 0x4c8455
push 0
push str.Could_not_find_ziped_file
jmp 0x4c84c3
mov ebx, dword [ebp - 0x1a0]
test ebx, ebx
jne 0x4c8467
push ebx
push str.File_is_empty
jmp 0x4c84c3
cmp ebx, 0x400000
jbe 0x4c8478
push 0
push 0x5409c8
jmp 0x4c84c3
push ebx
call fcn.004eca81
push ebx
push eax
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.004cb2d8
add esp, 0x14
test eax, eax
je 0x4c84ce
cmp eax, 0x600
je 0x4c84ce
push dword [ebp - 0x3d0]
call fcn.0050478f
pop ecx
call fcn.0049b972
test al, al
jne 0x4c84bc
push edi
call fcn.004ca660
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.004c8699
mov bl, al
jmp 0x4c84f9
call fcn.0049b972
test al, al
jne 0x4c84de
push edi
call fcn.004ca660
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x3d0]
mov ecx, esi
push ebx
push edi
call fcn.004c8521
push edi
mov bl, al
call fcn.0050478f
pop ecx
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0
call fcn.00497b76
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00497b76
mov al, bl
call fcn.00508c73
ret 8