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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e82f1
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.00484de0
call fcn.004517c0
push eax
lea ecx, [ebp - 0x94]
call fcn.00458020
mov dword [ebp - 4], 0
call fcn.004517e0
mov ecx, eax
call fcn.00458b90
test al, al
je 0x484a5b
push ebx
lea ecx, [ebp - 0x94]
call fcn.00458370
push 0
push 0x80
push 3
push 0
push 1
push closesocket
lea ecx, [ebp - 0x94]
call fcn.00458900
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
push 0
cmp ebx, 0xffffffff
jne 0x484996
push str.Error_opening_file
mov ecx, esi
call fcn.00484e20
mov bl, al
jmp 0x484c3a
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x4849b7
push eax
push str.File_is_empty
mov ecx, esi
call fcn.00484e20
mov bl, al
jmp 0x484c3a
cmp edi, 0x400000
jbe 0x4849d4
push 0
push 0x4fcd50
mov ecx, esi
call fcn.00484e20
mov bl, al
jmp 0x484c3a
push edi
mov dword [ebp - 0x3d0], 0
call fcn.00413112
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 0x484a39
mov edi, dword [ebp - 0x3d4]
push edi
call fcn.0041310d
add esp, 4
mov ecx, esi
call fcn.00484de0
push 0
push str.Could_not_read_file
mov ecx, esi
call fcn.00484e20
mov bl, al
jmp 0x484c3a
push dword [ebp + 0xc]
mov ecx, esi
push edi
mov edi, dword [ebp - 0x3d4]
push edi
call fcn.00484c70
push edi
mov bl, al
call fcn.0041310d
add esp, 4
jmp 0x484c3a
call fcn.004517e0
push eax
lea ecx, [ebp - 0x94]
call fcn.00458350
call fcn.00451b80
test al, al
je 0x484a7e
call fcn.004517f0
mov edi, eax
jmp 0x484ae4
call fcn.00451800
push eax
lea ecx, [ebp - 0x19c]
call fcn.00458020
push 0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.00458900
push eax
call fcn.00485810
add esp, 8
lea ecx, [ebp - 0x94]
mov ebx, eax
push ebx
call fcn.00458900
push eax
call fcn.00460e30
add esp, 8
mov edi, eax
test ebx, ebx
je 0x484acf
push ebx
call fcn.0041310d
add esp, 4
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.004581b0
mov ebx, dword [ebp - 0x3d0]
test edi, edi
jne 0x484afc
push edi
push str.Error_opening_zip_file
mov ecx, esi
call fcn.00484e20
mov bl, al
jmp 0x484c3a
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x3d4], 0
call fcn.00458050
push 0x4f6da8
push 0x515274
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.00458de0
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.00458900
push eax
push edi
call fcn.004606f0
add esp, 0x14
test eax, eax
je 0x484b6b
push 0
push str.Could_not_find_ziped_file
mov ecx, esi
call fcn.00484e20
mov bl, al
jmp 0x484c2f
mov ebx, dword [ebp - 0x1a0]
test ebx, ebx
jne 0x484b89
push ebx
push str.File_is_empty
mov ecx, esi
call fcn.00484e20
mov bl, al
jmp 0x484c2f
cmp ebx, 0x400000
jbe 0x484ba6
push 0
push 0x4fcd50
mov ecx, esi
call fcn.00484e20
mov bl, al
jmp 0x484c2f
push ebx
call fcn.00413112
push ebx
push eax
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.00461380
add esp, 0x14
test eax, eax
je 0x484c00
cmp eax, 0x600
je 0x484c00
push dword [ebp - 0x3d0]
call fcn.0041310d
add esp, 4
call fcn.00451b80
test al, al
jne 0x484bee
push edi
call fcn.00460410
add esp, 4
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.00484e20
mov bl, al
jmp 0x484c2f
call fcn.00451b80
test al, al
jne 0x484c12
push edi
call fcn.00460410
add esp, 4
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x3d0]
mov ecx, esi
push ebx
push edi
call fcn.00484c70
push edi
mov bl, al
call fcn.0041310d
add esp, 4
lea ecx, [ebp - 0x118]
call fcn.004581b0
lea ecx, [ebp - 0x94]
call fcn.004581b0
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.00412b06
mov esp, ebp
pop ebp
ret 8