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

Disassembly:
push 0x3d4
mov eax, 0x486c81
call fcn.0041cc69
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3d4], ecx
call fcn.00451f23
call fcn.00434700
push eax
lea ecx, [ebp - 0x118]
call fcn.0043182b
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00434706
mov ecx, eax
call fcn.00431514
test al, al
je 0x452a89
push edi
lea ecx, [ebp - 0x118]
call fcn.004315b0
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
lea ecx, [ebp - 0x118]
call fcn.0043153d
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d8], eax
push ebx
cmp eax, 0xffffffff
jne 0x4529f0
push str.Error_opening_file
mov ecx, dword [ebp - 0x3d4]
call fcn.004520fd
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.004313e9
mov al, bl
call fcn.0041ccb3
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
jne 0x452a05
push ebx
push str.File_is_empty
jmp 0x4529ca
cmp esi, 0x400000
jbe 0x452a15
push ebx
push str.File_too_large
jmp 0x4529ca
push esi
mov dword [ebp - 0x3e0], ebx
call fcn.00482d18
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 0x452a6b
push edi
call fcn.0041a8e5
pop ecx
mov ecx, dword [ebp - 0x3d4]
call fcn.00451f23
push ebx
push str.Could_not_read_file
jmp 0x4529ca
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x3d4]
push esi
push edi
call fcn.004527f1
push edi
mov bl, al
call fcn.0041a8e5
pop ecx
jmp 0x4529d7
call fcn.00434706
push eax
lea ecx, [ebp - 0x118]
call fcn.00431593
call fcn.00434712
test al, al
je 0x452ab0
call fcn.00434718
mov dword [ebp - 0x3d8], eax
jmp 0x452b0e
call fcn.0043470c
push eax
lea ecx, [ebp - 0x19c]
call fcn.0043182b
push ebx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.0043153d
push eax
call fcn.0044f1c2
pop ecx
pop ecx
mov esi, eax
push esi
lea ecx, [ebp - 0x118]
call fcn.0043153d
push eax
call fcn.0045a5ca
pop ecx
pop ecx
mov dword [ebp - 0x3d8], eax
cmp esi, ebx
je 0x452b00
push esi
call fcn.0041a8e5
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], bl
call fcn.004313e9
cmp dword [ebp - 0x3d8], ebx
jne 0x452b21
push ebx
push str.Error_opening_zip_file
jmp 0x4529ca
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x3dc], ebx
call fcn.00431807
push 0x4a2b00
push 0x4a2578
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.004319fd
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3dc]
push eax
push 1
lea ecx, [ebp - 0x94]
call fcn.0043153d
push eax
push dword [ebp - 0x3d8]
call fcn.00458b44
add esp, 0x14
test eax, eax
je 0x452bac
push ebx
push str.Could_not_find_ziped_file
mov ecx, dword [ebp - 0x3d4]
call fcn.004520fd
mov byte [ebp - 0x3cd], al
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], bl
call fcn.004313e9
mov bl, byte [ebp - 0x3cd]
jmp 0x4529d7
mov eax, dword [ebp - 0x1a0]
mov edi, eax
cmp eax, ebx
jne 0x452bc0
push ebx
push str.File_is_empty
jmp 0x452b82
cmp eax, 0x400000
jbe 0x452bcf
push ebx
push str.File_too_large
jmp 0x452b82
push eax
call fcn.00482d18
push edi
mov esi, eax
push esi
push dword [ebp - 0x3dc]
push dword [ebp - 0x3d8]
call fcn.0045a631
add esp, 0x14
cmp eax, ebx
je 0x452c1f
cmp eax, 0x600
je 0x452c1f
push esi
call fcn.0041a8e5
pop ecx
call fcn.00434712
test al, al
jne 0x452c14
push dword [ebp - 0x3d8]
call fcn.0045a64c
pop ecx
push ebx
push str.Could_not_unzip_file
jmp 0x452b82
call fcn.00434712
test al, al
jne 0x452c34
push dword [ebp - 0x3d8]
call fcn.0045a64c
pop ecx
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x3d4]
push edi
push esi
call fcn.004527f1
push esi
mov byte [ebp - 0x3cd], al
call fcn.0041a8e5
pop ecx
jmp 0x452b93