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

Disassembly:
push 0x3cc
mov eax, 0x51e6db
call fcn.004ecf31
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3d8], ebx
call fcn.004c93e0
call fcn.0049d99f
push eax
lea ecx, [ebp - 0x94]
call fcn.004a66ac
and dword [ebp - 4], 0
call fcn.0049d9ab
mov ecx, eax
call fcn.004a6f9a
test al, al
je 0x4c90e0
push ebx
lea ecx, [ebp - 0x94]
call fcn.004a6a10
xor ebx, ebx
lea ecx, [ebp - 0x94]
push ebx
push 0x80
push 3
push ebx
push 1
push connect
call fcn.004a6953
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d0], eax
cmp eax, 0xffffffff
jne 0x4c9041
mov eax, str.Error_opening_file
jmp 0x4c90ba
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x4c9056
mov eax, str.File_is_empty
jmp 0x4c90ba
cmp edi, 0x400000
jbe 0x4c9065
mov eax, 0x531b24
jmp 0x4c90ba
push edi
mov dword [ebp - 0x3d4], ebx
call fcn.004ec357
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 0x4c90c1
push ebx
call fcn.004ec0d1
pop ecx
mov ecx, esi
call fcn.004c93e0
mov eax, str.Could_not_read_file
xor ebx, ebx
push ebx
push eax
jmp 0x4c916f
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.004c929d
push dword [ebp - 0x3d8]
mov bl, al
call fcn.004ec0d1
pop ecx
jmp 0x4c9288
call fcn.0049d9ab
push eax
lea ecx, [ebp - 0x94]
call fcn.004a698d
call fcn.0049dc14
test al, al
je 0x4c9103
call fcn.0049d9b1
mov edi, eax
jmp 0x4c9165
call fcn.0049d9b7
push eax
lea ecx, [ebp - 0x19c]
call fcn.004a66ac
push 0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.004a6953
push eax
call fcn.004a2bdd
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x94]
push ebx
call fcn.004a6953
push eax
call fcn.004aa83b
mov edi, eax
pop ecx
pop ecx
test ebx, ebx
je 0x4c9150
push ebx
call fcn.004ec0d1
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.004a67d3
mov ebx, dword [ebp - 0x3d8]
test edi, edi
jne 0x4c917d
push edi
push str.Error_opening_zip_file
mov ecx, esi
call fcn.004c940b
mov bl, al
jmp 0x4c9288
and dword [ebp - 0x3d4], 0
lea ecx, [ebp - 0x118]
push 0xffffffffffffffff
push ebx
call fcn.004a66d1
push 0x52bc0c
push 0x52bc10
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.004a7158
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.004a6953
push eax
push edi
call fcn.004aa209
add esp, 0x14
test eax, eax
je 0x4c91db
mov eax, str.Could_not_find_ziped_file
jmp 0x4c9244
mov ebx, dword [ebp - 0x1a0]
test ebx, ebx
jne 0x4c91ec
mov eax, str.File_is_empty
jmp 0x4c9244
cmp ebx, 0x400000
jbe 0x4c91fb
mov eax, 0x531b24
jmp 0x4c9244
push ebx
call fcn.004ec357
push ebx
push eax
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.004aac8d
add esp, 0x14
test eax, eax
je 0x4c9252
cmp eax, 0x600
je 0x4c9252
push dword [ebp - 0x3d0]
call fcn.004ec0d1
pop ecx
call fcn.0049dc14
test al, al
jne 0x4c923f
push edi
call fcn.004a9fee
pop ecx
mov eax, str.Could_not_unzip_file
push 0
push eax
mov ecx, esi
call fcn.004c940b
mov bl, al
jmp 0x4c927d
call fcn.0049dc14
test al, al
jne 0x4c9262
push edi
call fcn.004a9fee
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x3d0]
mov ecx, esi
push ebx
push edi
call fcn.004c929d
push edi
mov bl, al
call fcn.004ec0d1
pop ecx
lea ecx, [ebp - 0x118]
call fcn.004a67d3
lea ecx, [ebp - 0x94]
call fcn.004a67d3
mov al, bl
call fcn.004eceef
ret 8