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

Disassembly:
push 0x3cc
mov eax, 0x5b3f13
call fcn.004a7792
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3d8], ebx
call fcn.004cfc91
call fcn.004aa408
push eax
lea ecx, [ebp - 0x94]
call fcn.004b34dc
and dword [ebp - 4], 0
call fcn.004aa414
mov ecx, eax
call fcn.004b3cee
test al, al
je 0x4cf985
push ebx
lea ecx, [ebp - 0x94]
call fcn.004b3759
xor ebx, ebx
lea ecx, [ebp - 0x94]
push ebx
push 0x80
push 3
push ebx
push 1
push Ordinal_1
call fcn.004b3701
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebp - 0x3d0], eax
push ebx
cmp eax, 0xffffffff
jne 0x4cf8e1
push str.Error_opening_file
jmp 0x4cfa14
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, eax
test edi, edi
jne 0x4cf8f9
push ebx
push str.File_is_empty
jmp 0x4cfa14
cmp edi, 0x400000
jbe 0x4cf90c
push ebx
push 0x5c1528
jmp 0x4cfa14
push edi
mov dword [ebp - 0x3d4], ebx
call fcn.004a74f9
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 0x4cf966
push ebx
call fcn.004a729f
pop ecx
mov ecx, esi
call fcn.004cfc91
push 0
push str.Could_not_read_file
jmp 0x4cfa14
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.004cfb46
push dword [ebp - 0x3d8]
mov bl, al
call fcn.004a729f
pop ecx
jmp 0x4cfb31
call fcn.004aa414
push eax
lea ecx, [ebp - 0x94]
call fcn.004b373c
call fcn.004aa6ac
test al, al
je 0x4cf9a8
call fcn.004aa41a
mov edi, eax
jmp 0x4cfa0a
call fcn.004aa420
push eax
lea ecx, [ebp - 0x19c]
call fcn.004b34dc
push 0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.004b3701
push eax
call fcn.004d0499
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x94]
push ebx
call fcn.004b3701
push eax
call fcn.004d2266
mov edi, eax
pop ecx
pop ecx
test ebx, ebx
je 0x4cf9f5
push ebx
call fcn.004a729f
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.004b3603
mov ebx, dword [ebp - 0x3d8]
test edi, edi
jne 0x4cfa22
push edi
push str.Error_opening_zip_file
mov ecx, esi
call fcn.004cfcbc
mov bl, al
jmp 0x4cfb31
and dword [ebp - 0x3d4], 0
lea ecx, [ebp - 0x118]
push 0xffffffffffffffff
push ebx
call fcn.004b3501
push 0x5be46c
push 0x5be470
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.004b3eaa
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.004b3701
push eax
push edi
call fcn.004d1c34
add esp, 0x14
test eax, eax
je 0x4cfa82
push 0
push str.Could_not_find_ziped_file
jmp 0x4cfaf0
mov ebx, dword [ebp - 0x1a0]
test ebx, ebx
jne 0x4cfa94
push ebx
push str.File_is_empty
jmp 0x4cfaf0
cmp ebx, 0x400000
jbe 0x4cfaa5
push 0
push 0x5c1528
jmp 0x4cfaf0
push ebx
call fcn.004a74f9
push ebx
push eax
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.004d26a5
add esp, 0x14
test eax, eax
je 0x4cfafb
cmp eax, 0x600
je 0x4cfafb
push dword [ebp - 0x3d0]
call fcn.004a729f
pop ecx
call fcn.004aa6ac
test al, al
jne 0x4cfae9
push edi
call fcn.004d1a17
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.004cfcbc
mov bl, al
jmp 0x4cfb26
call fcn.004aa6ac
test al, al
jne 0x4cfb0b
push edi
call fcn.004d1a17
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x3d0]
mov ecx, esi
push ebx
push edi
call fcn.004cfb46
push edi
mov bl, al
call fcn.004a729f
pop ecx
lea ecx, [ebp - 0x118]
call fcn.004b3603
lea ecx, [ebp - 0x94]
call fcn.004b3603
mov al, bl
call fcn.004a774d
ret 8