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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e82b1
mov eax, dword fs:[0]
push eax
sub esp, 0x3c8
mov eax, dword [0x526060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3d0], ebx
call fcn.004850f0
call fcn.004517c0
push eax
lea ecx, [ebp - 0x94]
call fcn.00457ff0
mov dword [ebp - 4], 0
call fcn.004517e0
mov ecx, eax
call fcn.00458b40
test al, al
je 0x484d6b
push ebx
lea ecx, [ebp - 0x94]
call fcn.00458330
push 0
push 0x80
push 3
push 0
push 1
push closesocket
lea ecx, [ebp - 0x94]
call fcn.004e3050
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
push 0
cmp ebx, 0xffffffff
jne 0x484ca6
push str.Error_opening_file
mov ecx, esi
call fcn.00485130
mov bl, al
jmp 0x484f4a
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x484cc7
push eax
push str.File_is_empty
mov ecx, esi
call fcn.00485130
mov bl, al
jmp 0x484f4a
cmp edi, 0x400000
jbe 0x484ce4
push 0
push 0x4fcd60
mov ecx, esi
call fcn.00485130
mov bl, al
jmp 0x484f4a
push edi
mov dword [ebp - 0x3d0], 0
call fcn.004130ee
add esp, 4
mov dword [ebp - 0x3d4], eax
lea ecx, [ebp - 0x3d0]
push 0
push ecx
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x3d0], edi
je 0x484d49
mov edi, dword [ebp - 0x3d4]
push edi
call fcn.004130e9
add esp, 4
mov ecx, esi
call fcn.004850f0
push 0
push str.Could_not_read_file
mov ecx, esi
call fcn.00485130
mov bl, al
jmp 0x484f4a
push dword [ebp + 0xc]
mov ecx, esi
push edi
mov edi, dword [ebp - 0x3d4]
push edi
call fcn.00484f80
push edi
mov bl, al
call fcn.004130e9
add esp, 4
jmp 0x484f4a
call fcn.004517e0
push eax
lea ecx, [ebp - 0x94]
call fcn.00458310
call fcn.00451b80
test al, al
je 0x484d8e
call fcn.004517f0
mov edi, eax
jmp 0x484df4
call fcn.00451800
push eax
lea ecx, [ebp - 0x19c]
call fcn.00457ff0
push 0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.004e3050
push eax
call fcn.0047b560
add esp, 8
lea ecx, [ebp - 0x94]
mov ebx, eax
push ebx
call fcn.004e3050
push eax
call fcn.00460e50
add esp, 8
mov edi, eax
test ebx, ebx
je 0x484ddf
push ebx
call fcn.004130e9
add esp, 4
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.00458180
mov ebx, dword [ebp - 0x3d0]
test edi, edi
jne 0x484e0c
push edi
push str.Error_opening_zip_file
mov ecx, esi
call fcn.00485130
mov bl, al
jmp 0x484f4a
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x3d4], 0
call fcn.00458020
push 0x4f6da8
push 0x515260
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.00458d90
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.004e3050
push eax
push edi
call fcn.00460710
add esp, 0x14
test eax, eax
je 0x484e7b
push 0
push str.Could_not_find_ziped_file
mov ecx, esi
call fcn.00485130
mov bl, al
jmp 0x484f3f
mov ebx, dword [ebp - 0x1a0]
test ebx, ebx
jne 0x484e99
push ebx
push str.File_is_empty
mov ecx, esi
call fcn.00485130
mov bl, al
jmp 0x484f3f
cmp ebx, 0x400000
jbe 0x484eb6
push 0
push 0x4fcd60
mov ecx, esi
call fcn.00485130
mov bl, al
jmp 0x484f3f
push ebx
call fcn.004130ee
push ebx
push eax
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.004613a0
add esp, 0x14
test eax, eax
je 0x484f10
cmp eax, 0x600
je 0x484f10
push dword [ebp - 0x3d0]
call fcn.004130e9
add esp, 4
call fcn.00451b80
test al, al
jne 0x484efe
push edi
call fcn.00460430
add esp, 4
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.00485130
mov bl, al
jmp 0x484f3f
call fcn.00451b80
test al, al
jne 0x484f22
push edi
call fcn.00460430
add esp, 4
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x3d0]
mov ecx, esi
push ebx
push edi
call fcn.00484f80
push edi
mov bl, al
call fcn.004130e9
add esp, 4
lea ecx, [ebp - 0x118]
call fcn.00458180
lea ecx, [ebp - 0x94]
call fcn.00458180
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00412aed
mov esp, ebp
pop ebp
ret 8