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

Disassembly:
push 0x3cc
mov eax, 0x534873
call fcn.00505804
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3d8], ebx
call fcn.004b2934
call fcn.004983b6
push eax
lea ecx, [ebp - 0x94]
call fcn.004946ff
and dword [ebp - 4], 0
call fcn.004983c2
mov ecx, eax
call fcn.00494fd7
test al, al
je 0x4b261e
push ebx
lea ecx, [ebp - 0x94]
call fcn.0049498c
xor ebx, ebx
lea ecx, [ebp - 0x94]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
call fcn.0049492b
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d0], eax
push ebx
cmp eax, 0xffffffff
jne 0x4b257a
push str.Error_opening_file
jmp 0x4b26ad
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x4b2592
push ebx
push str.File_is_empty
jmp 0x4b26ad
cmp edi, 0x400000
jbe 0x4b25a5
push ebx
push 0x53bbd8
jmp 0x4b26ad
push edi
mov dword [ebp - 0x3d4], ebx
call fcn.004e9741
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 0x4b25ff
push ebx
call fcn.005012cf
pop ecx
mov ecx, esi
call fcn.004b2934
push 0
push str.Could_not_read_file
jmp 0x4b26ad
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.004b27e7
push dword [ebp - 0x3d8]
mov bl, al
call fcn.005012cf
pop ecx
jmp 0x4b27ce
call fcn.004983c2
push eax
lea ecx, [ebp - 0x94]
call fcn.0049496f
call fcn.0049862a
test al, al
je 0x4b2641
call fcn.004983c8
mov edi, eax
jmp 0x4b26a3
call fcn.004983ce
push eax
lea ecx, [ebp - 0x19c]
call fcn.004946ff
push 0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.0049492b
push eax
call fcn.0049d5a5
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x94]
push ebx
call fcn.0049492b
push eax
call fcn.004b5167
mov edi, eax
pop ecx
pop ecx
test ebx, ebx
je 0x4b268e
push ebx
call fcn.005012cf
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.00494827
mov ebx, dword [ebp - 0x3d8]
test edi, edi
jne 0x4b26bb
push edi
push str.Error_opening_zip_file
mov ecx, esi
call fcn.004b295f
mov bl, al
jmp 0x4b27ce
and dword [ebp - 0x3d4], 0
lea ecx, [ebp - 0x118]
push 0xffffffffffffffff
push ebx
call fcn.00494724
push 0x537e08
push 0x537e0c
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.004951a1
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.0049492b
push eax
push edi
call fcn.004b4b3e
add esp, 0x14
test eax, eax
je 0x4b271b
push 0
push str.Could_not_find_ziped_file
jmp 0x4b2789
mov ebx, dword [ebp - 0x1a0]
test ebx, ebx
jne 0x4b272d
push ebx
push str.File_is_empty
jmp 0x4b2789
cmp ebx, 0x400000
jbe 0x4b273e
push 0
push 0x53bbd8
jmp 0x4b2789
push ebx
call fcn.004e9741
push ebx
push eax
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.004b559e
add esp, 0x14
test eax, eax
je 0x4b2794
cmp eax, 0x600
je 0x4b2794
push dword [ebp - 0x3d0]
call fcn.005012cf
pop ecx
call fcn.0049862a
test al, al
jne 0x4b2782
push edi
call fcn.004b4926
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.004b295f
mov bl, al
jmp 0x4b27bf
call fcn.0049862a
test al, al
jne 0x4b27a4
push edi
call fcn.004b4926
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x3d0]
mov ecx, esi
push ebx
push edi
call fcn.004b27e7
push edi
mov bl, al
call fcn.005012cf
pop ecx
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0
call fcn.00494827
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00494827
mov al, bl
call fcn.005057b3
ret 8