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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52810b
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x581980]
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 edi, ecx
mov eax, dword [edi]
mov ebx, edx
mov dword [ebp - 0x2d4], edi
mov dword [ebp - 0x2d8], ebx
test eax, eax
je 0x42d93d
push eax
call fcn.004f3161
add esp, 4
mov eax, dword [edi + 4]
test eax, eax
je 0x42d94d
push eax
call fcn.004f3161
add esp, 4
mov dword [edi], 0
mov dword [edi + 4], 0
mov edx, dword [0x583040]
lea eax, [ebp - 0x94]
mov dword [ebp - 0x98], eax
xor ecx, ecx
push edx
or eax, 0xffffffff
lea esi, [ebp - 0x98]
mov word [ebp - 0x94], cx
call fcn.0040a8e0
mov dword [ebp - 4], 0
mov eax, dword [0x5830c8]
cmp word [eax], 0
jne 0x42db13
test ebx, ebx
je 0x42d9a6
push ebx
mov ebx, esi
call fcn.0040a790
mov eax, dword [ebp - 0x98]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2cc], eax
cmp eax, 0xffffffff
jne 0x42da19
push 0x63
push 0x5690b4
lea ecx, [edi + 0x10]
push ecx
call fcn.004f3504
add esp, 0xc
push 0x31
push 0x5641f8
add edi, 0xd8
push edi
call fcn.004f3504
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
add esp, 0xc
cmp eax, edx
je 0x42da12
push eax
call fcn.004f3161
add esp, 4
xor al, al
jmp 0x42dc69
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
jne 0x42da61
push 0x63
push str.File_is_empty
lea eax, [edi + 0x10]
push eax
call fcn.004f3504
add esp, 0xc
push 0x31
push 0x5641f8
add edi, 0xd8
push edi
call fcn.004f3504
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x94]
add esp, 0xc
cmp eax, ecx
jmp 0x42da07
cmp esi, 0x400000
jbe 0x42da76
push 0x63
push str.File_too_large
lea edx, [edi + 0x10]
push edx
jmp 0x42da33
push esi
mov dword [ebp - 0x2d4], 0
call fcn.004f1ede
add esp, 4
push 0
lea edx, [ebp - 0x2d4]
push edx
mov ebx, eax
mov eax, dword [ebp - 0x2cc]
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x2cc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2d4], esi
je 0x42dad8
push ebx
call fcn.004f391e
add esp, 4
mov esi, edi
call fcn.00410c20
push 0x63
push str.Could_not_read_file
lea edx, [edi + 0x10]
push edx
jmp 0x42da33
push esi
mov eax, ebx
call fcn.0042d840
push ebx
mov byte [ebp - 0x2cd], al
call fcn.004f391e
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
add esp, 4
cmp eax, edx
je 0x42db08
push eax
call fcn.004f3161
add esp, 4
mov al, byte [ebp - 0x2cd]
jmp 0x42dc69
push eax
lea ebx, [ebp - 0x98]
call fcn.0040a790
cmp byte [0x5875c1], 0
je 0x42db35
mov eax, dword [0x5875fc]
mov dword [ebp - 0x2cc], eax
jmp 0x42db51
mov eax, dword [ebp - 0x98]
push 0
push eax
mov ebx, 2
call fcn.00420460
add esp, 8
mov dword [ebp - 0x2cc], eax
test eax, eax
jne 0x42db61
push 0x63
push str.Error_opening_zip_file
jmp 0x42d9d7
lea ecx, [ebp - 0x2c8]
push ecx
mov ecx, dword [ebp - 0x2d8]
push eax
lea edx, [ebp - 0x2d8]
call fcn.004204d0
add esp, 8
test eax, eax
je 0x42db91
push 0x63
push str.Could_not_find_ziped_file
lea edx, [edi + 0x10]
push edx
jmp 0x42da33
mov eax, dword [ebp - 0x9c]
mov ebx, eax
test eax, eax
jne 0x42dbad
push 0x63
push str.File_is_empty
lea edx, [edi + 0x10]
push edx
jmp 0x42da33
cmp eax, 0x400000
jbe 0x42dbc4
push 0x63
push str.File_too_large
lea edx, [edi + 0x10]
push edx
jmp 0x42da33
push eax
call fcn.004f1ede
mov edx, dword [ebp - 0x2d8]
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x2cc]
push ebx
push edx
mov edx, esi
call fcn.004205f0
add esp, 8
test eax, eax
je 0x42dc21
cmp eax, 0x600
je 0x42dc21
push esi
call fcn.004f391e
add esp, 4
cmp byte [0x5875c1], 0
jne 0x42dc15
mov edi, dword [ebp - 0x2cc]
call fcn.00420630
mov edi, dword [ebp - 0x2d4]
push 0x63
push str.Could_not_unzip_file
jmp 0x42da2f
cmp byte [0x5875c1], 0
jne 0x42dc3b
mov edi, dword [ebp - 0x2cc]
call fcn.00420630
mov edi, dword [ebp - 0x2d4]
push ebx
mov eax, esi
call fcn.0042d840
push esi
mov bl, al
call fcn.004f391e
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
add esp, 4
cmp eax, edx
je 0x42dc67
push eax
call fcn.004f3161
add esp, 4
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.004f2889
mov esp, ebp
pop ebp
ret