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

Disassembly:
push 0x3cc
mov eax, 0x53cf92
call fcn.0050d349
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3d8], ebx
call fcn.004ccd74
call fcn.0049ff55
push eax
lea ecx, [ebp - 0x94]
call fcn.0049c2b3
and dword [ebp - 4], 0
call fcn.0049ff61
mov ecx, eax
call fcn.0049cb87
test al, al
je 0x4cca5e
push ebx
lea ecx, [ebp - 0x94]
call fcn.0049c530
xor ebx, ebx
lea ecx, [ebp - 0x94]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
call fcn.0049c4cf
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d0], eax
push ebx
cmp eax, 0xffffffff
jne 0x4cc9ba
push 0x545984
jmp 0x4ccaed
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x4cc9d2
push ebx
push str.File_is_empty
jmp 0x4ccaed
cmp edi, 0x400000
jbe 0x4cc9e5
push ebx
push 0x5459c8
jmp 0x4ccaed
push edi
mov dword [ebp - 0x3d4], ebx
call fcn.004f13e5
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 0x4cca3f
push ebx
call fcn.00508e1f
pop ecx
mov ecx, esi
call fcn.004ccd74
push 0
push str.Could_not_read_file
jmp 0x4ccaed
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.004ccc27
push dword [ebp - 0x3d8]
mov bl, al
call fcn.00508e1f
pop ecx
jmp 0x4ccc0e
call fcn.0049ff61
push eax
lea ecx, [ebp - 0x94]
call fcn.0049c513
call fcn.004a01c9
test al, al
je 0x4cca81
call fcn.0049ff67
mov edi, eax
jmp 0x4ccae3
call fcn.0049ff6d
push eax
lea ecx, [ebp - 0x19c]
call fcn.0049c2b3
push 0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.0049c4cf
push eax
call fcn.004cd52e
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x94]
push ebx
call fcn.0049c4cf
push eax
call fcn.004cf60c
mov edi, eax
pop ecx
pop ecx
test ebx, ebx
je 0x4ccace
push ebx
call fcn.00508e1f
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.0049c3db
mov ebx, dword [ebp - 0x3d8]
test edi, edi
jne 0x4ccafb
push edi
push str.Error_opening_zip_file
mov ecx, esi
call fcn.004ccd9f
mov bl, al
jmp 0x4ccc0e
and dword [ebp - 0x3d4], 0
lea ecx, [ebp - 0x118]
push 0xffffffffffffffff
push ebx
call fcn.0049c2d8
push 0x540de4
push 0x540de8
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.0049cd51
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.0049c4cf
push eax
push edi
call fcn.004cefe3
add esp, 0x14
test eax, eax
je 0x4ccb5b
push 0
push str.Could_not_find_ziped_file
jmp 0x4ccbc9
mov ebx, dword [ebp - 0x1a0]
test ebx, ebx
jne 0x4ccb6d
push ebx
push str.File_is_empty
jmp 0x4ccbc9
cmp ebx, 0x400000
jbe 0x4ccb7e
push 0
push 0x5459c8
jmp 0x4ccbc9
push ebx
call fcn.004f13e5
push ebx
push eax
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.004cfa43
add esp, 0x14
test eax, eax
je 0x4ccbd4
cmp eax, 0x600
je 0x4ccbd4
push dword [ebp - 0x3d0]
call fcn.00508e1f
pop ecx
call fcn.004a01c9
test al, al
jne 0x4ccbc2
push edi
call fcn.004cedcb
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.004ccd9f
mov bl, al
jmp 0x4ccbff
call fcn.004a01c9
test al, al
jne 0x4ccbe4
push edi
call fcn.004cedcb
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x3d0]
mov ecx, esi
push ebx
push edi
call fcn.004ccc27
push edi
mov bl, al
call fcn.00508e1f
pop ecx
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0
call fcn.0049c3db
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.0049c3db
mov al, bl
call fcn.0050d2f8
ret 8