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

Disassembly:
push 0x3cc
mov eax, 0x513171
call fcn.004a5358
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3d8], ebx
call fcn.004671b0
call fcn.0045abb4
push eax
lea ecx, [ebp - 0x94]
call fcn.0045800b
and dword [ebp - 4], 0
call fcn.0045abc0
mov ecx, eax
call fcn.0045882e
test al, al
je 0x466ea5
push ebx
lea ecx, [ebp - 0x94]
call fcn.0045829a
xor ebx, ebx
lea ecx, [ebp - 0x94]
push ebx
push 0x80
push 3
push ebx
push 1
push accept
call fcn.00403280
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d0], eax
push ebx
cmp eax, 0xffffffff
jne 0x466e01
push str.Error_opening_file
jmp 0x466f31
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x466e19
push ebx
push str.File_is_empty
jmp 0x466f31
cmp edi, 0x400000
jbe 0x466e2c
push ebx
push 0x521170
jmp 0x466f31
push edi
mov dword [ebp - 0x3d4], ebx
call fcn.004a4c93
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 0x466e86
push ebx
call fcn.004a4c9c
pop ecx
mov ecx, esi
call fcn.004671b0
push 0
push str.Could_not_read_file
jmp 0x466f31
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.00467063
push dword [ebp - 0x3d8]
mov bl, al
call fcn.004a4c9c
pop ecx
jmp 0x46704e
call fcn.0045abc0
push eax
lea ecx, [ebp - 0x94]
call fcn.0045827d
call fcn.0045aede
test al, al
je 0x466ec8
call fcn.0045abc6
mov edi, eax
jmp 0x466f27
call fcn.0045abcc
push eax
lea ecx, [ebp - 0x19c]
call fcn.0045800b
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.00403280
push eax
call fcn.004810eb
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x94]
push ebx
call fcn.00403280
push eax
call fcn.0046adc8
mov edi, eax
pop ecx
pop ecx
test ebx, ebx
je 0x466f12
push ebx
call fcn.004a4c9c
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.00458132
mov ebx, dword [ebp - 0x3d8]
test edi, edi
jne 0x466f3f
push edi
push str.Error_opening_zip_file
mov ecx, esi
call fcn.004671d8
mov bl, al
jmp 0x46704e
and dword [ebp - 0x3d4], 0
lea ecx, [ebp - 0x118]
push 0xffffffffffffffff
push ebx
call fcn.00458030
push 0x51fe80
push 0x53f780
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.004589fb
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.00403280
push eax
push edi
call fcn.0046a79f
add esp, 0x14
test eax, eax
je 0x466f9f
push 0
push str.Could_not_find_ziped_file
jmp 0x46700d
mov ebx, dword [ebp - 0x1a0]
test ebx, ebx
jne 0x466fb1
push ebx
push str.File_is_empty
jmp 0x46700d
cmp ebx, 0x400000
jbe 0x466fc2
push 0
push 0x521170
jmp 0x46700d
push ebx
call fcn.004a4c93
push ebx
push eax
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.0046b202
add esp, 0x14
test eax, eax
je 0x467018
cmp eax, 0x600
je 0x467018
push dword [ebp - 0x3d0]
call fcn.004a4c9c
pop ecx
call fcn.0045aede
test al, al
jne 0x467006
push edi
call fcn.0046a57e
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.004671d8
mov bl, al
jmp 0x467043
call fcn.0045aede
test al, al
jne 0x467028
push edi
call fcn.0046a57e
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x3d0]
mov ecx, esi
push ebx
push edi
call fcn.00467063
push edi
mov bl, al
call fcn.004a4c9c
pop ecx
lea ecx, [ebp - 0x118]
call fcn.00458132
lea ecx, [ebp - 0x94]
call fcn.00458132
mov al, bl
call fcn.004a5313
ret 8