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

Disassembly:
push 0x3cc
mov eax, 0x4d6dcb
call fcn.004a8e62
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3d8], ebx
call fcn.0048243f
call fcn.0045a72f
push eax
lea ecx, [ebp - 0x94]
call fcn.00457b17
and dword [ebp - 4], 0
call fcn.0045a735
mov ecx, eax
call fcn.004583ea
test al, al
je 0x48213f
push ebx
lea ecx, [ebp - 0x94]
call fcn.00457e60
xor ebx, ebx
lea ecx, [ebp - 0x94]
push ebx
push 0x80
push 3
push ebx
push 1
push connect
call fcn.00457da3
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d0], eax
cmp eax, 0xffffffff
jne 0x4820a0
mov eax, str.Error_opening_file
jmp 0x482119
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x4820b5
mov eax, str.File_is_empty
jmp 0x482119
cmp edi, 0x400000
jbe 0x4820c4
mov eax, 0x4edfbc
jmp 0x482119
push edi
mov dword [ebp - 0x3d4], ebx
call fcn.004a7f0e
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 0x482120
push ebx
call fcn.004a7f17
pop ecx
mov ecx, esi
call fcn.0048243f
mov eax, str.Could_not_read_file
xor ebx, ebx
push ebx
push eax
jmp 0x4821ce
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.004822fc
push dword [ebp - 0x3d8]
mov bl, al
call fcn.004a7f17
pop ecx
jmp 0x4822e7
call fcn.0045a735
push eax
lea ecx, [ebp - 0x94]
call fcn.00457ddd
call fcn.0045a99e
test al, al
je 0x482162
call fcn.0045a73b
mov edi, eax
jmp 0x4821c4
call fcn.0045a741
push eax
lea ecx, [ebp - 0x19c]
call fcn.00457b17
push 0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.00457da3
push eax
call fcn.0045f7ce
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x94]
push ebx
call fcn.00457da3
push eax
call fcn.00462ea6
mov edi, eax
pop ecx
pop ecx
test ebx, ebx
je 0x4821af
push ebx
call fcn.004a7f17
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.00457c23
mov ebx, dword [ebp - 0x3d8]
test edi, edi
jne 0x4821dc
push edi
push str.Error_opening_zip_file
mov ecx, esi
call fcn.0048246a
mov bl, al
jmp 0x4822e7
and dword [ebp - 0x3d4], 0
lea ecx, [ebp - 0x118]
push 0xffffffffffffffff
push ebx
call fcn.00457b3c
push 0x4e8ea0
push 0x4e8ea4
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.004585a8
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.00457da3
push eax
push edi
call fcn.00462874
add esp, 0x14
test eax, eax
je 0x48223a
mov eax, str.Could_not_find_ziped_file
jmp 0x4822a3
mov ebx, dword [ebp - 0x1a0]
test ebx, ebx
jne 0x48224b
mov eax, str.File_is_empty
jmp 0x4822a3
cmp ebx, 0x400000
jbe 0x48225a
mov eax, 0x4edfbc
jmp 0x4822a3
push ebx
call fcn.004a7f0e
push ebx
push eax
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.004632f8
add esp, 0x14
test eax, eax
je 0x4822b1
cmp eax, 0x600
je 0x4822b1
push dword [ebp - 0x3d0]
call fcn.004a7f17
pop ecx
call fcn.0045a99e
test al, al
jne 0x48229e
push edi
call fcn.00462659
pop ecx
mov eax, str.Could_not_unzip_file
push 0
push eax
mov ecx, esi
call fcn.0048246a
mov bl, al
jmp 0x4822dc
call fcn.0045a99e
test al, al
jne 0x4822c1
push edi
call fcn.00462659
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x3d0]
mov ecx, esi
push ebx
push edi
call fcn.004822fc
push edi
mov bl, al
call fcn.004a7f17
pop ecx
lea ecx, [ebp - 0x118]
call fcn.00457c23
lea ecx, [ebp - 0x94]
call fcn.00457c23
mov al, bl
call fcn.004a8e20
ret 8