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

Disassembly:
push 0x3cc
mov eax, 0x5b04a8
call fcn.004a42a6
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3d8], ebx
call fcn.004cc848
call fcn.004a6f49
push eax
lea ecx, [ebp - 0x94]
call fcn.004b0080
and dword [ebp - 4], 0
call fcn.004a6f55
mov ecx, eax
call fcn.004b0892
test al, al
je 0x4cc53c
push ebx
lea ecx, [ebp - 0x94]
call fcn.004b030a
xor ebx, ebx
lea ecx, [ebp - 0x94]
push ebx
push 0x80
push 3
push ebx
push 1
push Ordinal_1
call fcn.004b06da
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebp - 0x3d0], eax
push ebx
cmp eax, 0xffffffff
jne 0x4cc498
push str.Error_opening_file
jmp 0x4cc5cb
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, eax
test edi, edi
jne 0x4cc4b0
push ebx
push str.File_is_empty
jmp 0x4cc5cb
cmp edi, 0x400000
jbe 0x4cc4c3
push ebx
push 0x5bd518
jmp 0x4cc5cb
push edi
mov dword [ebp - 0x3d4], ebx
call fcn.004a400d
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 0x4cc51d
push ebx
call fcn.004a3db3
pop ecx
mov ecx, esi
call fcn.004cc848
push 0
push str.Could_not_read_file
jmp 0x4cc5cb
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.004cc6fd
push dword [ebp - 0x3d8]
mov bl, al
call fcn.004a3db3
pop ecx
jmp 0x4cc6e8
call fcn.004a6f55
push eax
lea ecx, [ebp - 0x94]
call fcn.004b02ed
call fcn.004a71ed
test al, al
je 0x4cc55f
call fcn.004a6f5b
mov edi, eax
jmp 0x4cc5c1
call fcn.004a6f61
push eax
lea ecx, [ebp - 0x19c]
call fcn.004b0080
push 0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.004b06da
push eax
call fcn.004ac1bc
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x94]
push ebx
call fcn.004b06da
push eax
call fcn.004cedd1
mov edi, eax
pop ecx
pop ecx
test ebx, ebx
je 0x4cc5ac
push ebx
call fcn.004a3db3
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.004b01a7
mov ebx, dword [ebp - 0x3d8]
test edi, edi
jne 0x4cc5d9
push edi
push str.Error_opening_zip_file
mov ecx, esi
call fcn.004cc873
mov bl, al
jmp 0x4cc6e8
and dword [ebp - 0x3d4], 0
lea ecx, [ebp - 0x118]
push 0xffffffffffffffff
push ebx
call fcn.004b00a5
push 0x5ba45c
push 0x5ba460
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.004b0a4e
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.004b06da
push eax
push edi
call fcn.004ce79f
add esp, 0x14
test eax, eax
je 0x4cc639
push 0
push str.Could_not_find_ziped_file
jmp 0x4cc6a7
mov ebx, dword [ebp - 0x1a0]
test ebx, ebx
jne 0x4cc64b
push ebx
push str.File_is_empty
jmp 0x4cc6a7
cmp ebx, 0x400000
jbe 0x4cc65c
push 0
push 0x5bd518
jmp 0x4cc6a7
push ebx
call fcn.004a400d
push ebx
push eax
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.004cf210
add esp, 0x14
test eax, eax
je 0x4cc6b2
cmp eax, 0x600
je 0x4cc6b2
push dword [ebp - 0x3d0]
call fcn.004a3db3
pop ecx
call fcn.004a71ed
test al, al
jne 0x4cc6a0
push edi
call fcn.004ce582
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.004cc873
mov bl, al
jmp 0x4cc6dd
call fcn.004a71ed
test al, al
jne 0x4cc6c2
push edi
call fcn.004ce582
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x3d0]
mov ecx, esi
push ebx
push edi
call fcn.004cc6fd
push edi
mov bl, al
call fcn.004a3db3
pop ecx
lea ecx, [ebp - 0x118]
call fcn.004b01a7
lea ecx, [ebp - 0x94]
call fcn.004b01a7
mov al, bl
call fcn.004a4261
ret 8