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

Disassembly:
push 0x3cc
mov eax, 0x4a2190
call fcn.0047c4d6
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3d8], ebx
call fcn.00456cc2
call fcn.0042dc11
push eax
lea ecx, [ebp - 0x94]
call fcn.0042abff
and dword [ebp - 4], 0
call fcn.0042dc17
mov ecx, eax
call fcn.0042b530
test al, al
je 0x4569c2
push ebx
lea ecx, [ebp - 0x94]
call fcn.0042af69
xor ebx, ebx
lea ecx, [ebp - 0x94]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
call fcn.0042ae8b
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d0], eax
cmp eax, 0xffffffff
jne 0x456923
mov eax, str.Error_opening_file
jmp 0x45699c
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x456938
mov eax, str.File_is_empty
jmp 0x45699c
cmp edi, 0x400000
jbe 0x456947
mov eax, str.File_too_large
jmp 0x45699c
push edi
mov dword [ebp - 0x3d4], ebx
call fcn.0047b8bf
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 0x4569a3
push ebx
call fcn.0047b8c8
pop ecx
mov ecx, esi
call fcn.00456cc2
mov eax, str.Could_not_read_file
xor ebx, ebx
push ebx
push eax
jmp 0x456a51
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.00456b7f
push dword [ebp - 0x3d8]
mov bl, al
call fcn.0047b8c8
pop ecx
jmp 0x456b6a
call fcn.0042dc17
push eax
lea ecx, [ebp - 0x94]
call fcn.0042aee6
call fcn.0042de80
test al, al
je 0x4569e5
call fcn.0042dc1d
mov edi, eax
jmp 0x456a47
call fcn.0042dc23
push eax
lea ecx, [ebp - 0x19c]
call fcn.0042abff
push 0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.0042ae8b
push eax
call fcn.00432d68
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x94]
push ebx
call fcn.0042ae8b
push eax
call fcn.00439b21
mov edi, eax
pop ecx
pop ecx
test ebx, ebx
je 0x456a32
push ebx
call fcn.0047b8c8
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.0042ad0b
mov ebx, dword [ebp - 0x3d8]
test edi, edi
jne 0x456a5f
push edi
push str.Error_opening_zip_file
mov ecx, esi
call fcn.00456ced
mov bl, al
jmp 0x456b6a
and dword [ebp - 0x3d4], 0
lea ecx, [ebp - 0x118]
push 0xffffffffffffffff
push ebx
call fcn.0042ac24
push 0x4ac230
push 0x4ac234
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.0042b6ee
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.0042ae8b
push eax
push edi
call fcn.004394ea
add esp, 0x14
test eax, eax
je 0x456abd
mov eax, str.Could_not_find_ziped_file
jmp 0x456b26
mov ebx, dword [ebp - 0x1a0]
test ebx, ebx
jne 0x456ace
mov eax, str.File_is_empty
jmp 0x456b26
cmp ebx, 0x400000
jbe 0x456add
mov eax, str.File_too_large
jmp 0x456b26
push ebx
call fcn.0047b8bf
push ebx
push eax
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.00439f73
add esp, 0x14
test eax, eax
je 0x456b34
cmp eax, 0x600
je 0x456b34
push dword [ebp - 0x3d0]
call fcn.0047b8c8
pop ecx
call fcn.0042de80
test al, al
jne 0x456b21
push edi
call fcn.004392cf
pop ecx
mov eax, str.Could_not_unzip_file
push 0
push eax
mov ecx, esi
call fcn.00456ced
mov bl, al
jmp 0x456b5f
call fcn.0042de80
test al, al
jne 0x456b44
push edi
call fcn.004392cf
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x3d0]
mov ecx, esi
push ebx
push edi
call fcn.00456b7f
push edi
mov bl, al
call fcn.0047b8c8
pop ecx
lea ecx, [ebp - 0x118]
call fcn.0042ad0b
lea ecx, [ebp - 0x94]
call fcn.0042ad0b
mov al, bl
call fcn.0047c494
ret 8