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

Disassembly:
push 0x3cc
mov eax, 0x4c7346
call fcn.0048b203
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3d8], ebx
call fcn.0045a960
call fcn.0043f32f
push eax
lea ecx, [ebp - 0x94]
call fcn.00436690
and dword [ebp - 4], 0
call fcn.0043f33b
mov ecx, eax
call fcn.00436eb0
test al, al
je 0x45a654
push ebx
lea ecx, [ebp - 0x94]
call fcn.00436923
xor ebx, ebx
lea ecx, [ebp - 0x94]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
call fcn.00408300
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d0], eax
push ebx
cmp eax, 0xffffffff
jne 0x45a5b0
push str.Error_opening_file
jmp 0x45a6e3
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x45a5c8
push ebx
push str.File_is_empty
jmp 0x45a6e3
cmp edi, 0x400000
jbe 0x45a5db
push ebx
push str.File_too_large
jmp 0x45a6e3
push edi
mov dword [ebp - 0x3d4], ebx
call fcn.0048b1a0
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 0x45a635
push ebx
call fcn.0048b19b
pop ecx
mov ecx, esi
call fcn.0045a960
push 0
push str.Could_not_read_file
jmp 0x45a6e3
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.0045a815
push dword [ebp - 0x3d8]
mov bl, al
call fcn.0048b19b
pop ecx
jmp 0x45a800
call fcn.0043f33b
push eax
lea ecx, [ebp - 0x94]
call fcn.00436906
call fcn.0043f5d3
test al, al
je 0x45a677
call fcn.0043f341
mov edi, eax
jmp 0x45a6d9
call fcn.0043f347
push eax
lea ecx, [ebp - 0x19c]
call fcn.00436690
push 0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.00408300
push eax
call fcn.00444cf5
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x94]
push ebx
call fcn.00408300
push eax
call fcn.00474bca
mov edi, eax
pop ecx
pop ecx
test ebx, ebx
je 0x45a6c4
push ebx
call fcn.0048b19b
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.004367b7
mov ebx, dword [ebp - 0x3d8]
test edi, edi
jne 0x45a6f1
push edi
push str.Error_opening_zip_file
mov ecx, esi
call fcn.0045a98b
mov bl, al
jmp 0x45a800
and dword [ebp - 0x3d4], 0
lea ecx, [ebp - 0x118]
push 0xffffffffffffffff
push ebx
call fcn.004366b5
push 0x4ccf20
push 0x4eb494
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.0043706c
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.00408300
push eax
push edi
call fcn.00474598
add esp, 0x14
test eax, eax
je 0x45a751
push 0
push str.Could_not_find_ziped_file
jmp 0x45a7bf
mov ebx, dword [ebp - 0x1a0]
test ebx, ebx
jne 0x45a763
push ebx
push str.File_is_empty
jmp 0x45a7bf
cmp ebx, 0x400000
jbe 0x45a774
push 0
push str.File_too_large
jmp 0x45a7bf
push ebx
call fcn.0048b1a0
push ebx
push eax
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.00475009
add esp, 0x14
test eax, eax
je 0x45a7ca
cmp eax, 0x600
je 0x45a7ca
push dword [ebp - 0x3d0]
call fcn.0048b19b
pop ecx
call fcn.0043f5d3
test al, al
jne 0x45a7b8
push edi
call fcn.0047437b
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.0045a98b
mov bl, al
jmp 0x45a7f5
call fcn.0043f5d3
test al, al
jne 0x45a7da
push edi
call fcn.0047437b
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x3d0]
mov ecx, esi
push ebx
push edi
call fcn.0045a815
push edi
mov bl, al
call fcn.0048b19b
pop ecx
lea ecx, [ebp - 0x118]
call fcn.004367b7
lea ecx, [ebp - 0x94]
call fcn.004367b7
mov al, bl
call fcn.0048b1be
ret 8