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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x624a71
mov eax, dword fs:[0]
push eax
sub esp, 0x3c8
mov eax, dword [0x6c6060]
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.005bec60
call fcn.005979d0
push eax
lea ecx, [ebp - 0x94]
call fcn.0059e6e0
mov dword [ebp - 4], 0
call fcn.005979f0
mov ecx, eax
call fcn.0059f230
test al, al
je 0x5be8db
push ebx
lea ecx, [ebp - 0x94]
call fcn.0059ea30
push 0
push 0x80
push 3
push 0
push 1
push accept
lea ecx, [ebp - 0x94]
call fcn.0061e850
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
push 0
cmp ebx, 0xffffffff
jne 0x5be816
push str.Error_opening_file
mov ecx, esi
call fcn.005beca0
mov bl, al
jmp 0x5beaba
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x5be837
push eax
push str.File_is_empty
mov ecx, esi
call fcn.005beca0
mov bl, al
jmp 0x5beaba
cmp edi, 0x400000
jbe 0x5be854
push 0
push 0x69b180
mov ecx, esi
call fcn.005beca0
mov bl, al
jmp 0x5beaba
push edi
mov dword [ebp - 0x3d0], 0
call fcn.0045b6ad
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 0x5be8b9
mov edi, dword [ebp - 0x3d4]
push edi
call fcn.0045b6a8
add esp, 4
mov ecx, esi
call fcn.005bec60
push 0
push str.Could_not_read_file
mov ecx, esi
call fcn.005beca0
mov bl, al
jmp 0x5beaba
push dword [ebp + 0xc]
mov ecx, esi
push edi
mov edi, dword [ebp - 0x3d4]
push edi
call fcn.005beaf0
push edi
mov bl, al
call fcn.0045b6a8
add esp, 4
jmp 0x5beaba
call fcn.005979f0
push eax
lea ecx, [ebp - 0x94]
call fcn.0059ea10
call fcn.00597d90
test al, al
je 0x5be8fe
call fcn.00597a00
mov edi, eax
jmp 0x5be964
call fcn.00597a10
push eax
lea ecx, [ebp - 0x19c]
call fcn.0059e6e0
push 0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.0061e850
push eax
call fcn.0059dc70
add esp, 8
lea ecx, [ebp - 0x94]
mov ebx, eax
push ebx
call fcn.0061e850
push eax
call fcn.005a7e30
add esp, 8
mov edi, eax
test ebx, ebx
je 0x5be94f
push ebx
call fcn.0045b6a8
add esp, 4
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.0059e860
mov ebx, dword [ebp - 0x3d0]
test edi, edi
jne 0x5be97c
push edi
push str.Error_opening_zip_file
mov ecx, esi
call fcn.005beca0
mov bl, al
jmp 0x5beaba
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x3d4], 0
call fcn.0059e710
push 0x695a08
push 0x6b38b4
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.0059f480
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.0061e850
push eax
push edi
call fcn.005a76f0
add esp, 0x14
test eax, eax
je 0x5be9eb
push 0
push str.Could_not_find_ziped_file
mov ecx, esi
call fcn.005beca0
mov bl, al
jmp 0x5beaaf
mov ebx, dword [ebp - 0x1a0]
test ebx, ebx
jne 0x5bea09
push ebx
push str.File_is_empty
mov ecx, esi
call fcn.005beca0
mov bl, al
jmp 0x5beaaf
cmp ebx, 0x400000
jbe 0x5bea26
push 0
push 0x69b180
mov ecx, esi
call fcn.005beca0
mov bl, al
jmp 0x5beaaf
push ebx
call fcn.0045b6ad
push ebx
push eax
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.005a8380
add esp, 0x14
test eax, eax
je 0x5bea80
cmp eax, 0x600
je 0x5bea80
push dword [ebp - 0x3d0]
call fcn.0045b6a8
add esp, 4
call fcn.00597d90
test al, al
jne 0x5bea6e
push edi
call fcn.005a7410
add esp, 4
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.005beca0
mov bl, al
jmp 0x5beaaf
call fcn.00597d90
test al, al
jne 0x5bea92
push edi
call fcn.005a7410
add esp, 4
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x3d0]
mov ecx, esi
push ebx
push edi
call fcn.005beaf0
push edi
mov bl, al
call fcn.0045b6a8
add esp, 4
lea ecx, [ebp - 0x118]
call fcn.0059e860
lea ecx, [ebp - 0x94]
call fcn.0059e860
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.0045b08a
mov esp, ebp
pop ebp
ret 8