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

Disassembly:
push 0x3d4
mov eax, 0x501011
call fcn.004da01f
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3d4], ecx
call fcn.00470ff3
call fcn.0043b8cb
push eax
lea ecx, [ebp - 0x118]
call fcn.0043af84
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.0043b8d1
mov ecx, eax
call fcn.0043ac70
test al, al
je 0x471bbc
push edi
lea ecx, [ebp - 0x118]
call fcn.0043ad09
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
lea ecx, [ebp - 0x118]
call fcn.0043ab5c
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d8], eax
push ebx
cmp eax, 0xffffffff
jne 0x471b23
push str.Error_opening_file
mov ecx, dword [ebp - 0x3d4]
call fcn.004711cd
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.0043ab42
mov al, bl
call fcn.004da0a2
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
jne 0x471b38
push ebx
push str.File_is_empty
jmp 0x471afd
cmp esi, 0x400000
jbe 0x471b48
push ebx
push 0x511a0c
jmp 0x471afd
push esi
mov dword [ebp - 0x3e0], ebx
call fcn.004d4abd
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 0x471b9e
push edi
call fcn.004d6991
pop ecx
mov ecx, dword [ebp - 0x3d4]
call fcn.00470ff3
push ebx
push str.Could_not_read_file
jmp 0x471afd
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x3d4]
push esi
push edi
call fcn.00471924
push edi
mov bl, al
call fcn.004d6991
pop ecx
jmp 0x471b0a
call fcn.0043b8d1
push eax
lea ecx, [ebp - 0x118]
call fcn.0043acec
call fcn.0043b8dd
test al, al
je 0x471be3
call fcn.0043b8e3
mov dword [ebp - 0x3d8], eax
jmp 0x471c41
call fcn.0043b8d7
push eax
lea ecx, [ebp - 0x19c]
call fcn.0043af84
push ebx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.0043ab5c
push eax
call fcn.00471209
pop ecx
pop ecx
mov esi, eax
push esi
lea ecx, [ebp - 0x118]
call fcn.0043ab5c
push eax
call fcn.0046c874
pop ecx
pop ecx
mov dword [ebp - 0x3d8], eax
cmp esi, ebx
je 0x471c33
push esi
call fcn.004d6991
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], bl
call fcn.0043ab42
cmp dword [ebp - 0x3d8], ebx
jne 0x471c54
push ebx
push str.Error_opening_zip_file
jmp 0x471afd
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x3dc], ebx
call fcn.0043af60
push 0x50ab28
push 0x50ab24
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.0043b0e4
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3dc]
push eax
push 1
lea ecx, [ebp - 0x94]
call fcn.0043ab5c
push eax
push dword [ebp - 0x3d8]
call fcn.0046adee
add esp, 0x14
test eax, eax
je 0x471cdf
push ebx
push str.Could_not_find_ziped_file
mov ecx, dword [ebp - 0x3d4]
call fcn.004711cd
mov byte [ebp - 0x3cd], al
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], bl
call fcn.0043ab42
mov bl, byte [ebp - 0x3cd]
jmp 0x471b0a
mov eax, dword [ebp - 0x1a0]
mov edi, eax
cmp eax, ebx
jne 0x471cf3
push ebx
push str.File_is_empty
jmp 0x471cb5
cmp eax, 0x400000
jbe 0x471d02
push ebx
push 0x511a0c
jmp 0x471cb5
push eax
call fcn.004d4abd
push edi
mov esi, eax
push esi
push dword [ebp - 0x3dc]
push dword [ebp - 0x3d8]
call fcn.0046c8db
add esp, 0x14
cmp eax, ebx
je 0x471d52
cmp eax, 0x600
je 0x471d52
push esi
call fcn.004d6991
pop ecx
call fcn.0043b8dd
test al, al
jne 0x471d47
push dword [ebp - 0x3d8]
call fcn.0046c8f6
pop ecx
push ebx
push str.Could_not_unzip_file
jmp 0x471cb5
call fcn.0043b8dd
test al, al
jne 0x471d67
push dword [ebp - 0x3d8]
call fcn.0046c8f6
pop ecx
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x3d4]
push edi
push esi
call fcn.00471924
push esi
mov byte [ebp - 0x3cd], al
call fcn.004d6991
pop ecx
jmp 0x471cc6