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

Disassembly:
push 0x450
mov eax, 0x4c5e16
call fcn.004a9047
mov esi, dword [ebp + 8]
mov dword [ebp - 0x454], ecx
call fcn.0042a0c8
call fcn.004210de
push eax
lea ecx, [ebp - 0x94]
call fcn.00426f24
xor edi, edi
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], edi
call fcn.00426aaa
mov byte [ebp - 4], 1
cmp dword [ebp + 0xc], edi
je 0x42ab71
sub esp, 0x84
mov ecx, esp
mov dword [ebp - 0x45c], esp
push 0xffffffffffffffff
push esi
call fcn.00426f00
lea eax, [ebp - 0x19c]
push eax
call fcn.00420e01
add esp, 0x88
push eax
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.00426c51
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.00426ad2
jmp 0x42ab7d
push esi
lea ecx, [ebp - 0x118]
call fcn.00426c70
call fcn.004210e4
mov ecx, eax
call fcn.00426c11
test al, al
je 0x42ad14
push esi
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x94]
call fcn.00426f72
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.00426f49
push edi
mov ebx, 0x80
push ebx
push 3
push edi
push 1
mov edi, closesocket
push edi
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 4
call fcn.00426af4
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
call esi
mov dword [ebp - 0x458], eax
cmp eax, 0xffffffff
jne 0x42ac73
push 0
push ebx
push 3
push 0
push 1
push edi
lea ecx, [ebp - 0x19c]
call fcn.00426af4
push eax
call esi
mov dword [ebp - 0x458], eax
cmp eax, 0xffffffff
jne 0x42ac73
push 0
push str.Error_opening_file
mov ecx, dword [ebp - 0x454]
call fcn.0042a2a0
mov bl, al
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 3
call fcn.00426ad2
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.00426ad2
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0
call fcn.00426ad2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00426ad2
mov al, bl
call fcn.004a9091
ret 0xc
xor ebx, ebx
push ebx
push dword [ebp - 0x458]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
jne 0x42ac90
push ebx
push str.File_is_empty
jmp 0x42ac20
cmp esi, 0x400000
jbe 0x42aca0
push ebx
push 0x4cd5c4
jmp 0x42ac20
push esi
mov dword [ebp - 0x45c], ebx
call fcn.004a6b98
pop ecx
push ebx
mov edi, eax
lea eax, [ebp - 0x45c]
push eax
push esi
push edi
push dword [ebp - 0x458]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x458]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x45c], esi
je 0x42acf6
push edi
call fcn.004a8370
pop ecx
mov ecx, dword [ebp - 0x454]
call fcn.0042a0c8
push ebx
push str.Could_not_read_file
jmp 0x42ac20
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x454]
push esi
push edi
call fcn.0042a98e
push edi
mov bl, al
call fcn.004a8370
pop ecx
jmp 0x42ac2d
call fcn.004210e4
push eax
lea ecx, [ebp - 0x94]
call fcn.00426c94
call fcn.004210ea
test al, al
je 0x42ad35
call fcn.004210f0
jmp 0x42ad4c
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.00426af4
push eax
call fcn.00433657
add esp, 0xc
mov ebx, eax
cmp ebx, edi
jne 0x42ad6a
push edi
push str.Error_opening_zip_file
mov ecx, dword [ebp - 0x454]
call fcn.0042a2a0
mov bl, al
jmp 0x42ac4b
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x458]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.00426af4
push eax
push ebx
call fcn.00431cac
add esp, 0x14
test eax, eax
je 0x42adb9
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x458]
push eax
push 1
push esi
push ebx
call fcn.00431cac
add esp, 0x14
test eax, eax
je 0x42adb9
push edi
push str.Could_not_find_ziped_file
jmp 0x42ad58
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x45c], eax
cmp eax, edi
jne 0x42add1
push edi
push str.File_is_empty
jmp 0x42ad58
cmp eax, 0x400000
jbe 0x42ade3
push edi
push 0x4cd5c4
jmp 0x42ad58
push eax
call fcn.004a6b98
push 3
push dword [ebp - 0x45c]
mov esi, eax
push esi
push dword [ebp - 0x458]
push ebx
call fcn.004336b5
add esp, 0x18
cmp eax, edi
je 0x42ae30
cmp eax, 0x600
je 0x42ae30
push esi
call fcn.004a8370
pop ecx
call fcn.004210ea
test al, al
jne 0x42ae25
push ebx
call fcn.004336ed
pop ecx
push edi
push str.Could_not_unzip_file
jmp 0x42ad58
call fcn.004210ea
test al, al
jne 0x42ae40
push ebx
call fcn.004336ed
pop ecx
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x454]
push dword [ebp - 0x45c]
push esi
call fcn.0042a98e
push esi
mov bl, al
call fcn.004a8370
pop ecx
jmp 0x42ac4b