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

Disassembly:
push 0x3d4
mov eax, 0x501134
call fcn.004da051
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3d4], ecx
call fcn.00471324
call fcn.0043b925
push eax
lea ecx, [ebp - 0x118]
call fcn.0043afad
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.0043b92b
mov ecx, eax
call fcn.0043ac95
test al, al
je 0x471e8a
push edi
lea ecx, [ebp - 0x118]
call fcn.0043ad2e
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
lea ecx, [ebp - 0x118]
call fcn.0043ab14
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d8], eax
push ebx
cmp eax, 0xffffffff
jne 0x471df1
push str.Error_opening_file
mov ecx, dword [ebp - 0x3d4]
call fcn.004714fe
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.0043ab6a
mov al, bl
call fcn.004da0d4
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
jne 0x471e06
push ebx
push str.File_is_empty
jmp 0x471dcb
cmp esi, 0x400000
jbe 0x471e16
push ebx
push 0x5119d4
jmp 0x471dcb
push esi
mov dword [ebp - 0x3e0], ebx
call fcn.004d4af2
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 0x471e6c
push edi
call fcn.004d69c1
pop ecx
mov ecx, dword [ebp - 0x3d4]
call fcn.00471324
push ebx
push str.Could_not_read_file
jmp 0x471dcb
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x3d4]
push esi
push edi
call fcn.00471bf2
push edi
mov bl, al
call fcn.004d69c1
pop ecx
jmp 0x471dd8
call fcn.0043b92b
push eax
lea ecx, [ebp - 0x118]
call fcn.0043ad11
call fcn.0043b937
test al, al
je 0x471eb1
call fcn.0043b93d
mov dword [ebp - 0x3d8], eax
jmp 0x471f0f
call fcn.0043b931
push eax
lea ecx, [ebp - 0x19c]
call fcn.0043afad
push ebx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.0043ab14
push eax
call fcn.0043d695
pop ecx
pop ecx
mov esi, eax
push esi
lea ecx, [ebp - 0x118]
call fcn.0043ab14
push eax
call fcn.0046cbb1
pop ecx
pop ecx
mov dword [ebp - 0x3d8], eax
cmp esi, ebx
je 0x471f01
push esi
call fcn.004d69c1
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], bl
call fcn.0043ab6a
cmp dword [ebp - 0x3d8], ebx
jne 0x471f22
push ebx
push str.Error_opening_zip_file
jmp 0x471dcb
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x3dc], ebx
call fcn.0043af89
push 0x50ab0c
push 0x50ab08
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.0043b10d
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3dc]
push eax
push 1
lea ecx, [ebp - 0x94]
call fcn.0043ab14
push eax
push dword [ebp - 0x3d8]
call fcn.0046b12b
add esp, 0x14
test eax, eax
je 0x471fad
push ebx
push str.Could_not_find_ziped_file
mov ecx, dword [ebp - 0x3d4]
call fcn.004714fe
mov byte [ebp - 0x3cd], al
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], bl
call fcn.0043ab6a
mov bl, byte [ebp - 0x3cd]
jmp 0x471dd8
mov eax, dword [ebp - 0x1a0]
mov edi, eax
cmp eax, ebx
jne 0x471fc1
push ebx
push str.File_is_empty
jmp 0x471f83
cmp eax, 0x400000
jbe 0x471fd0
push ebx
push 0x5119d4
jmp 0x471f83
push eax
call fcn.004d4af2
push edi
mov esi, eax
push esi
push dword [ebp - 0x3dc]
push dword [ebp - 0x3d8]
call fcn.0046cc18
add esp, 0x14
cmp eax, ebx
je 0x472020
cmp eax, 0x600
je 0x472020
push esi
call fcn.004d69c1
pop ecx
call fcn.0043b937
test al, al
jne 0x472015
push dword [ebp - 0x3d8]
call fcn.0046cc33
pop ecx
push ebx
push str.Could_not_unzip_file
jmp 0x471f83
call fcn.0043b937
test al, al
jne 0x472035
push dword [ebp - 0x3d8]
call fcn.0046cc33
pop ecx
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x3d4]
push edi
push esi
call fcn.00471bf2
push esi
mov byte [ebp - 0x3cd], al
call fcn.004d69c1
pop ecx
jmp 0x471f94