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

Disassembly:
push 0x3dc
mov eax, 0x5bcc87
call fcn.005718de
mov esi, ecx
mov edi, dword [ebp + 8]
call fcn.004e0dfa
push 0x84
xor ebx, ebx
lea eax, [ebp - 0xa4]
push ebx
push eax
call fcn.00589540
add esp, 0xc
lea ecx, [ebp - 0xa4]
push 0x632140
call fcn.004bb669
mov dword [ebp - 4], ebx
mov eax, dword [0x6321c8]
cmp word [eax], bx
jne 0x4e0c2c
test edi, edi
je 0x4e0b67
push edi
lea ecx, [ebp - 0xa4]
call fcn.004bb68e
push ebx
push 0x80
push 3
push ebx
push 1
push closesocket
push dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
push 0
cmp ebx, 0xffffffff
jne 0x4e0b96
push 0x604724
jmp 0x4e0cc1
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x4e0bae
push eax
push str.File_is_empty
jmp 0x4e0cc1
cmp edi, 0x400000
jbe 0x4e0bc2
push 0
push str.File_too_large
jmp 0x4e0cc1
and dword [ebp - 0x18], 0
push edi
call fcn.005708f2
pop ecx
push 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x3e8], eax
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 - 0x18], edi
je 0x4e0c0e
mov edi, dword [ebp - 0x3e8]
push edi
call fcn.005708e4
pop ecx
mov ecx, esi
call fcn.004e0dfa
push 0
push str.Could_not_read_file
jmp 0x4e0cc1
push ecx
push edi
mov edi, dword [ebp - 0x3e8]
mov ecx, esi
push edi
call fcn.004e0a69
push edi
mov bl, al
call fcn.005708e4
pop ecx
jmp 0x4e0de5
push eax
lea ecx, [ebp - 0xa4]
call fcn.004bb68e
cmp byte [0x630b39], 0
je 0x4e0c49
mov ebx, dword [0x63a01c]
jmp 0x4e0cb7
push 0x84
lea eax, [ebp - 0x1b4]
push ebx
push eax
call fcn.00589540
add esp, 0xc
lea ecx, [ebp - 0x1b4]
push 0x632250
call fcn.004bb669
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1b4]
call fcn.004c2684
mov ecx, dword [ebp - 0xa4]
xor edx, edx
push eax
push 2
mov dword [ebp - 0x3e8], eax
call fcn.004c7ecc
mov ebx, eax
mov eax, dword [ebp - 0x3e8]
pop ecx
pop ecx
test eax, eax
je 0x4e0ca8
push eax
call fcn.005708e4
pop ecx
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 0
call fcn.00403943
test ebx, ebx
jne 0x4e0ccf
push ebx
push str.Error_opening_zip_file
mov ecx, esi
call fcn.004e1505
mov bl, al
jmp 0x4e0de5
and dword [ebp - 0x3e8], 0
lea eax, [ebp - 0x12c]
push 0x84
push 0
push eax
call fcn.00589540
add esp, 0xc
lea ecx, [ebp - 0x12c]
push 0xffffffffffffffff
push edi
call fcn.004bb645
push 0x5fa6d8
push 0x5f5a10
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.004bba41
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0x3e4]
push eax
lea eax, [ebp - 0x3e8]
push eax
push ecx
mov ecx, ebx
call fcn.004c7fc2
add esp, 0xc
test eax, eax
je 0x4e0d3f
push 0
push str.Could_not_find_ziped_file
jmp 0x4e0da9
mov edi, dword [ebp - 0x1b8]
test edi, edi
jne 0x4e0d51
push edi
push str.File_is_empty
jmp 0x4e0da9
cmp edi, 0x400000
jbe 0x4e0d62
push 0
push str.File_too_large
jmp 0x4e0da9
push edi
call fcn.005708f2
mov edx, dword [ebp - 0x3e8]
mov ecx, ebx
push edi
push eax
mov dword [ebp - 0x18], eax
call fcn.004c7ff5
add esp, 0xc
test eax, eax
je 0x4e0db4
cmp eax, 0x600
je 0x4e0db4
mov edi, dword [ebp - 0x18]
push edi
call fcn.005708e4
cmp byte [0x630b39], 0
pop ecx
jne 0x4e0da2
mov ecx, ebx
call fcn.004c8026
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.004e1505
mov bl, al
jmp 0x4e0dda
cmp byte [0x630b39], 0
jne 0x4e0dc4
mov ecx, ebx
call fcn.004c8026
push ecx
push edi
mov edi, dword [ebp - 0x18]
mov ecx, esi
push edi
call fcn.004e0a69
push edi
mov bl, al
call fcn.005708e4
pop ecx
lea ecx, [ebp - 0x12c]
call fcn.00403943
lea ecx, [ebp - 0xa4]
call fcn.00403943
mov al, bl
call fcn.00571888
ret 8