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

Disassembly:
push 0x3cc
mov eax, 0x53e738
call fcn.004d5b87
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3d8], ebx
call fcn.0049bcdd
call fcn.004863cf
push eax
lea ecx, [ebp - 0x94]
call fcn.00482cfa
and dword [ebp - 4], 0
call fcn.004863db
mov ecx, eax
call fcn.0048358a
test al, al
je 0x49b9d1
push ebx
lea ecx, [ebp - 0x94]
call fcn.00483001
xor ebx, ebx
lea ecx, [ebp - 0x94]
push ebx
push 0x80
push 3
push ebx
push 1
push accept
call fcn.00482f38
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d0], eax
push ebx
cmp eax, 0xffffffff
jne 0x49b92d
push str.Error_opening_file
jmp 0x49ba60
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x49b945
push ebx
push str.File_is_empty
jmp 0x49ba60
cmp edi, 0x400000
jbe 0x49b958
push ebx
push 0x55eae8
jmp 0x49ba60
push edi
mov dword [ebp - 0x3d4], ebx
call fcn.004d521a
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 0x49b9b2
push ebx
call fcn.004d5223
pop ecx
mov ecx, esi
call fcn.0049bcdd
push 0
push str.Could_not_read_file
jmp 0x49ba60
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.0049bb92
push dword [ebp - 0x3d8]
mov bl, al
call fcn.004d5223
pop ecx
jmp 0x49bb7d
call fcn.004863db
push eax
lea ecx, [ebp - 0x94]
call fcn.00482fe4
call fcn.00486789
test al, al
je 0x49b9f4
call fcn.004863e1
mov edi, eax
jmp 0x49ba56
call fcn.004863e7
push eax
lea ecx, [ebp - 0x19c]
call fcn.00482cfa
push 0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.00482f38
push eax
call fcn.0048ba7b
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x94]
push ebx
call fcn.00482f38
push eax
call fcn.0049cde0
mov edi, eax
pop ecx
pop ecx
test ebx, ebx
je 0x49ba41
push ebx
call fcn.004d5223
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.00482e21
mov ebx, dword [ebp - 0x3d8]
test edi, edi
jne 0x49ba6e
push edi
push str.Error_opening_zip_file
mov ecx, esi
call fcn.0049bd08
mov bl, al
jmp 0x49bb7d
and dword [ebp - 0x3d4], 0
lea ecx, [ebp - 0x118]
push 0xffffffffffffffff
push ebx
call fcn.00482d1f
push 0x55bbec
push 0x54a8bc
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.00483746
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.00482f38
push eax
push edi
call fcn.0049c7ae
add esp, 0x14
test eax, eax
je 0x49bace
push 0
push str.Could_not_find_ziped_file
jmp 0x49bb3c
mov ebx, dword [ebp - 0x1a0]
test ebx, ebx
jne 0x49bae0
push ebx
push str.File_is_empty
jmp 0x49bb3c
cmp ebx, 0x400000
jbe 0x49baf1
push 0
push 0x55eae8
jmp 0x49bb3c
push ebx
call fcn.004d521a
push ebx
push eax
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.0049d21f
add esp, 0x14
test eax, eax
je 0x49bb47
cmp eax, 0x600
je 0x49bb47
push dword [ebp - 0x3d0]
call fcn.004d5223
pop ecx
call fcn.00486789
test al, al
jne 0x49bb35
push edi
call fcn.0049c591
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.0049bd08
mov bl, al
jmp 0x49bb72
call fcn.00486789
test al, al
jne 0x49bb57
push edi
call fcn.0049c591
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x3d0]
mov ecx, esi
push ebx
push edi
call fcn.0049bb92
push edi
mov bl, al
call fcn.004d5223
pop ecx
lea ecx, [ebp - 0x118]
call fcn.00482e21
lea ecx, [ebp - 0x94]
call fcn.00482e21
mov al, bl
call fcn.004d5b31
ret 8