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

Disassembly:
push 0x3cc
mov eax, 0x538483
call fcn.00508cd4
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3d8], ebx
call fcn.004c8673
call fcn.0049b702
push eax
lea ecx, [ebp - 0x94]
call fcn.00497a52
and dword [ebp - 4], 0
call fcn.0049b70e
mov ecx, eax
call fcn.00498326
test al, al
je 0x4c835d
push ebx
lea ecx, [ebp - 0x94]
call fcn.00497ccc
xor ebx, ebx
lea ecx, [ebp - 0x94]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
call fcn.00498171
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d0], eax
push ebx
cmp eax, 0xffffffff
jne 0x4c82b9
push 0x540984
jmp 0x4c83ec
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x4c82d1
push ebx
push str.File_is_empty
jmp 0x4c83ec
cmp edi, 0x400000
jbe 0x4c82e4
push ebx
push 0x5409c8
jmp 0x4c83ec
push edi
mov dword [ebp - 0x3d4], ebx
call fcn.004eca91
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 0x4c833e
push ebx
call fcn.0050479f
pop ecx
mov ecx, esi
call fcn.004c8673
push 0
push str.Could_not_read_file
jmp 0x4c83ec
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.004c8526
push dword [ebp - 0x3d8]
mov bl, al
call fcn.0050479f
pop ecx
jmp 0x4c850d
call fcn.0049b70e
push eax
lea ecx, [ebp - 0x94]
call fcn.00497caf
call fcn.0049b976
test al, al
je 0x4c8380
call fcn.0049b714
mov edi, eax
jmp 0x4c83e2
call fcn.0049b71a
push eax
lea ecx, [ebp - 0x19c]
call fcn.00497a52
push 0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.00498171
push eax
call fcn.004a08f1
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x94]
push ebx
call fcn.00498171
push eax
call fcn.004caea6
mov edi, eax
pop ecx
pop ecx
test ebx, ebx
je 0x4c83cd
push ebx
call fcn.0050479f
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.00497b7a
mov ebx, dword [ebp - 0x3d8]
test edi, edi
jne 0x4c83fa
push edi
push str.Error_opening_zip_file
mov ecx, esi
call fcn.004c869e
mov bl, al
jmp 0x4c850d
and dword [ebp - 0x3d4], 0
lea ecx, [ebp - 0x118]
push 0xffffffffffffffff
push ebx
call fcn.00497a77
push 0x53bde4
push 0x53bde8
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.004984f0
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.00498171
push eax
push edi
call fcn.004ca87d
add esp, 0x14
test eax, eax
je 0x4c845a
push 0
push str.Could_not_find_ziped_file
jmp 0x4c84c8
mov ebx, dword [ebp - 0x1a0]
test ebx, ebx
jne 0x4c846c
push ebx
push str.File_is_empty
jmp 0x4c84c8
cmp ebx, 0x400000
jbe 0x4c847d
push 0
push 0x5409c8
jmp 0x4c84c8
push ebx
call fcn.004eca91
push ebx
push eax
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.004cb2dd
add esp, 0x14
test eax, eax
je 0x4c84d3
cmp eax, 0x600
je 0x4c84d3
push dword [ebp - 0x3d0]
call fcn.0050479f
pop ecx
call fcn.0049b976
test al, al
jne 0x4c84c1
push edi
call fcn.004ca665
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.004c869e
mov bl, al
jmp 0x4c84fe
call fcn.0049b976
test al, al
jne 0x4c84e3
push edi
call fcn.004ca665
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x3d0]
mov ecx, esi
push ebx
push edi
call fcn.004c8526
push edi
mov bl, al
call fcn.0050479f
pop ecx
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0
call fcn.00497b7a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00497b7a
mov al, bl
call fcn.00508c83
ret 8