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

Disassembly:
push 0x3d4
mov eax, 0x486b17
call fcn.0041ca69
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3d4], ecx
call fcn.00451dd5
call fcn.004345b2
push eax
lea ecx, [ebp - 0x118]
call fcn.0043162b
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.004345b8
mov ecx, eax
call fcn.00431314
test al, al
je 0x45293b
push edi
lea ecx, [ebp - 0x118]
call fcn.004313b0
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
lea ecx, [ebp - 0x118]
call fcn.0043133d
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d8], eax
push ebx
cmp eax, 0xffffffff
jne 0x4528a2
push str.Error_opening_file
mov ecx, dword [ebp - 0x3d4]
call fcn.00451faf
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.004311e9
mov al, bl
call fcn.0041cab3
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
jne 0x4528b7
push ebx
push str.File_is_empty
jmp 0x45287c
cmp esi, 0x400000
jbe 0x4528c7
push ebx
push str.File_too_large
jmp 0x45287c
push esi
mov dword [ebp - 0x3e0], ebx
call fcn.00482b18
pop ecx
push ebx
mov edi, eax
lea eax, [ebp - 0x3e0]
push eax
push esi
push edi
push dword [ebp - 0x3d8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x3d8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x3e0], esi
je 0x45291d
push edi
call fcn.0041a6e5
pop ecx
mov ecx, dword [ebp - 0x3d4]
call fcn.00451dd5
push ebx
push str.Could_not_read_file
jmp 0x45287c
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x3d4]
push esi
push edi
call fcn.004526a3
push edi
mov bl, al
call fcn.0041a6e5
pop ecx
jmp 0x452889
call fcn.004345b8
push eax
lea ecx, [ebp - 0x118]
call fcn.00431393
call fcn.004345c4
test al, al
je 0x452962
call fcn.004345ca
mov dword [ebp - 0x3d8], eax
jmp 0x4529c0
call fcn.004345be
push eax
lea ecx, [ebp - 0x19c]
call fcn.0043162b
push ebx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.0043133d
push eax
call fcn.0044f074
pop ecx
pop ecx
mov esi, eax
push esi
lea ecx, [ebp - 0x118]
call fcn.0043133d
push eax
call fcn.0045a47c
pop ecx
pop ecx
mov dword [ebp - 0x3d8], eax
cmp esi, ebx
je 0x4529b2
push esi
call fcn.0041a6e5
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], bl
call fcn.004311e9
cmp dword [ebp - 0x3d8], ebx
jne 0x4529d3
push ebx
push str.Error_opening_zip_file
jmp 0x45287c
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x3dc], ebx
call fcn.00431607
push 0x4a1b00
push 0x4a1578
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.004317fd
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3dc]
push eax
push 1
lea ecx, [ebp - 0x94]
call fcn.0043133d
push eax
push dword [ebp - 0x3d8]
call fcn.004589f6
add esp, 0x14
test eax, eax
je 0x452a5e
push ebx
push str.Could_not_find_ziped_file
mov ecx, dword [ebp - 0x3d4]
call fcn.00451faf
mov byte [ebp - 0x3cd], al
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], bl
call fcn.004311e9
mov bl, byte [ebp - 0x3cd]
jmp 0x452889
mov eax, dword [ebp - 0x1a0]
mov edi, eax
cmp eax, ebx
jne 0x452a72
push ebx
push str.File_is_empty
jmp 0x452a34
cmp eax, 0x400000
jbe 0x452a81
push ebx
push str.File_too_large
jmp 0x452a34
push eax
call fcn.00482b18
push edi
mov esi, eax
push esi
push dword [ebp - 0x3dc]
push dword [ebp - 0x3d8]
call fcn.0045a4e3
add esp, 0x14
cmp eax, ebx
je 0x452ad1
cmp eax, 0x600
je 0x452ad1
push esi
call fcn.0041a6e5
pop ecx
call fcn.004345c4
test al, al
jne 0x452ac6
push dword [ebp - 0x3d8]
call fcn.0045a4fe
pop ecx
push ebx
push str.Could_not_unzip_file
jmp 0x452a34
call fcn.004345c4
test al, al
jne 0x452ae6
push dword [ebp - 0x3d8]
call fcn.0045a4fe
pop ecx
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x3d4]
push edi
push esi
call fcn.004526a3
push esi
mov byte [ebp - 0x3cd], al
call fcn.0041a6e5
pop ecx
jmp 0x452a45