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

Disassembly:
push 0x3d4
mov eax, 0x4a54ce
call fcn.00441168
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3d4], ecx
call fcn.0045cbc9
call fcn.0045587e
push eax
lea ecx, [ebp - 0x118]
call fcn.00453ff7
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00455884
mov ecx, eax
call fcn.00453ce3
test al, al
je 0x45d72f
push edi
lea ecx, [ebp - 0x118]
call fcn.00453d7c
push ebx
push 0x80
push 3
push ebx
push 1
push bind
lea ecx, [ebp - 0x118]
call fcn.00453bcf
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d8], eax
push ebx
cmp eax, 0xffffffff
jne 0x45d696
push str.Error_opening_file
mov ecx, dword [ebp - 0x3d4]
call fcn.0045cda3
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.00453bb5
mov al, bl
call fcn.004411b2
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
jne 0x45d6ab
push ebx
push str.File_is_empty
jmp 0x45d670
cmp esi, 0x400000
jbe 0x45d6bb
push ebx
push str.File_too_large
jmp 0x45d670
push esi
mov dword [ebp - 0x3e0], ebx
call fcn.0043b876
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 0x45d711
push edi
call fcn.0043d0ae
pop ecx
mov ecx, dword [ebp - 0x3d4]
call fcn.0045cbc9
push ebx
push str.Could_not_read_file
jmp 0x45d670
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x3d4]
push esi
push edi
call fcn.0045d497
push edi
mov bl, al
call fcn.0043d0ae
pop ecx
jmp 0x45d67d
call fcn.00455884
push eax
lea ecx, [ebp - 0x118]
call fcn.00453d5f
call fcn.00455890
test al, al
je 0x45d756
call fcn.00455896
mov dword [ebp - 0x3d8], eax
jmp 0x45d7b4
call fcn.0045588a
push eax
lea ecx, [ebp - 0x19c]
call fcn.00453ff7
push ebx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.00453bcf
push eax
call fcn.0046c868
pop ecx
pop ecx
mov esi, eax
push esi
lea ecx, [ebp - 0x118]
call fcn.00453bcf
push eax
call fcn.00477f39
pop ecx
pop ecx
mov dword [ebp - 0x3d8], eax
cmp esi, ebx
je 0x45d7a6
push esi
call fcn.0043d0ae
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], bl
call fcn.00453bb5
cmp dword [ebp - 0x3d8], ebx
jne 0x45d7c7
push ebx
push str.Error_opening_zip_file
jmp 0x45d670
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x3dc], ebx
call fcn.00453fd3
push 0x4b3fec
push 0x4c3930
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.00454157
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3dc]
push eax
push 1
lea ecx, [ebp - 0x94]
call fcn.00453bcf
push eax
push dword [ebp - 0x3d8]
call fcn.004764b3
add esp, 0x14
test eax, eax
je 0x45d852
push ebx
push str.Could_not_find_ziped_file
mov ecx, dword [ebp - 0x3d4]
call fcn.0045cda3
mov byte [ebp - 0x3cd], al
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], bl
call fcn.00453bb5
mov bl, byte [ebp - 0x3cd]
jmp 0x45d67d
mov eax, dword [ebp - 0x1a0]
mov edi, eax
cmp eax, ebx
jne 0x45d866
push ebx
push str.File_is_empty
jmp 0x45d828
cmp eax, 0x400000
jbe 0x45d875
push ebx
push str.File_too_large
jmp 0x45d828
push eax
call fcn.0043b876
push edi
mov esi, eax
push esi
push dword [ebp - 0x3dc]
push dword [ebp - 0x3d8]
call fcn.00477fa0
add esp, 0x14
cmp eax, ebx
je 0x45d8c5
cmp eax, 0x600
je 0x45d8c5
push esi
call fcn.0043d0ae
pop ecx
call fcn.00455890
test al, al
jne 0x45d8ba
push dword [ebp - 0x3d8]
call fcn.00477fbb
pop ecx
push ebx
push str.Could_not_unzip_file
jmp 0x45d828
call fcn.00455890
test al, al
jne 0x45d8da
push dword [ebp - 0x3d8]
call fcn.00477fbb
pop ecx
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x3d4]
push edi
push esi
call fcn.0045d497
push esi
mov byte [ebp - 0x3cd], al
call fcn.0043d0ae
pop ecx
jmp 0x45d839